(()=>{var I={BUILD_TIME:"2026-04-02T09:30:09.000Z",VERSION:"1.27.3",PROD:"1",PROD_API:"1",BETA:"0",userscript_domains:'["google.com","translate.googleapis.com","api-edge.cognitive.microsofttranslator.com","edge.microsoft.com","transmart.qq.com","translate.yandex.net","tmt.tencentcloudapi.com","www2.deepl.com","w.deepl.com","immersive-translate.owenyoung.com","generativelanguage.googleapis.com","chat.openai.com","bing.com","www.bing.com","open.volcengineapi.com","fanyi.baidu.com","api.fanyi.baidu.com","api.interpreter.caiyunai.com","api-free.deepl.com","api.deepl.com","api.openl.club","openapi.youdao.com","translate.volcengine.com","api.niutrans.com","immersivetranslate.com","imtintl.com","test-api2.immersivetranslate.com","api2.immersivetranslate.com","api2.imtintl.com","config.immersivetranslate.com","config.imtintl.com","app.immersivetranslate.com","dash.immersivetranslate.com","api.immersivetranslate.com","immersive-translate.deno.dev","www.googleapis.com","www.google-analytics.com","translate-pa.googleapis.com","api.cognitive.microsofttranslator.com","api.groq.com","api.x.ai","api.papago-chrome.com","api.openai.com","api.interpreter.caiyunai.com","api.cognitive.microsofttranslator.com","aidemo.youdao.com","dict.youdao.com","openai.azure.com","mt.aliyuncs.com","subhub.weixin.so","api.anthropic.com","localhost","127.0.0.1","ai.immersivetranslate.com","test-ai.immersivetranslate.com","ai.imtintl.com","openrouter.ai","dashscope.aliyuncs.com","api.deepseek.com","aip.baidubce.com","ark.cn-beijing.volces.com","hunyuan.tencentcloudapi.com","public-beta-api.siliconflow.cn","api.siliconflow.cn","open.bigmodel.cn","store.immersivetranslate.com","qianfan.baidubce.com","aigw1.immersivetranslate.com","aigw1.imtintl.com"]',INSTALL_FROM:"chrome_zip",LOCAL_HTTPS:"0",MOCK:"0",DEBUG:"0","base.css":`/** \u57FA\u7840\u8272\u9636\u5B9A\u4E49 **/
:root,
#mount[data-theme="light"],
#mount:not([data-theme="dark"]) {
  /* \u4E2D\u6027\u7070\u9636\uFF08light\uFF09 */
  --c-00: #000000;
  --c-22: #222222;
  --c-33: #333333;
  --c-66: #666666;
  --c-83: #838383;
  --c-99: #999999;
  --c-c7: #c7c7c7;
  --c-cc: #cccccc;
  --c-e6: #e6e6e6;
  --c-f5: #f5f5f5;
  --c-ff: #ffffff;
  /* \u54C1\u724C\u4E3B\u8272\u9636\uFF08light\uFF09 */
  --p-main: #ea4c89;
  --p-hover: #ec5e95;
  --p-active: #e34a85;
  --p-special: #ee71a2;
  --p-disabled: #f4a5c4;
  --p-text-disabled: #f9c9dc;
  --p-weak: #fdedf3;
  /* Surface \u5C42\u7EA7\uFF08light\uFF0CTC \u586B\u5145-1\uFF09 */
  --s-1: #f3f5f6;
  --s-1-hover: #f6f8f9;
  --s-1-active: #edf1f2;
  --s-1-weak: #fafbfb;
  /* \u8F93\u5165/\u8FB9\u6846\uFF08light\uFF0CTC \u586B\u5145-2\uFF09 */
  --input-bg-base: #fafbfc;
  --input-border: #ecf0f7;
  --input-border-strong: #e0e0e6;
  --input-bg-strong: #fafdff;
}

:root[data-theme="dark"],
[data-theme="dark"] {
  /* \u4E2D\u6027\u7070\u9636\uFF08dark\uFF09 */
  --c-00: #ffffff;
  --c-22: #dbdbdb;
  --c-33: #dbdbdb;
  --c-66: #b3b3b3;
  --c-83: #838383;
  --c-99: #707070;
  --c-c7: #666666;
  --c-cc: #5c5c5c;
  --c-e6: #3b3b3b;
  --c-f5: #262626;
  --c-ff: #222222;
  /* \u54C1\u724C\u4E3B\u8272\u9636\uFF08dark\uFF09 */
  --p-main: #e23c7c;
  --p-hover: #ea4c89;
  --p-active: #d5467d;
  --p-special: #a93a65;
  --p-disabled: #7e2f4d;
  --p-text-disabled: #522335;
  --p-weak: #26171d;
  /* Surface \u5C42\u7EA7\uFF08dark\uFF0CTC \u586B\u5145-1\uFF09 */
  --s-1: #2d2e2f;
  --s-1-hover: #323434;
  --s-1-active: #202121;
  --s-1-weak: #262627;
  /* \u8F93\u5165/\u8FB9\u6846\uFF08dark\uFF0CTC \u586B\u5145-2\uFF09 */
  --input-bg-base: #2b2d30;
  --input-border: #3e434b;
  --input-border-strong: #43474b;
  --input-bg-strong: #1f2123;
}

:root,
#mount [data-theme] {
  /* \u4E1A\u52A1/\u901A\u7528\u53D8\u91CF\u5F15\u7528\u8272\u9636\uFF08\u5168\u5C40\u53EF\u89C1\uFF0C\u542B Shadow DOM\uFF09 */
  --primary: var(--p-main);
  --primary-hover: var(--p-hover);
  --primary-inverse: #fff;
  --modal-background: var(--s-1);
  --modal-border: var(--input-border);
  --modal-text: var(--c-22);
  --modal-text-secondary: var(--c-66);
  --modal-error: var(--p-main);
  --modal-required: #f53f3f;
  --modal-success: #68cd52;
  --modal-button-background: var(--p-main);
  --modal-button-text: var(--c-ff);
  --modal-input-background: var(--input-bg-base);
  --modal-check-color: var(--p-main);
  --background-color: var(--c-ff);
  --background-light-green: var(--s-1-weak, #f5f7f9);
  --text-black-2: var(--c-22);
  --text-gray-2: var(--c-22);
  --text-gray-6: var(--c-66);
  --text-gray-9: var(--c-99);
  --text-gray-c2: var(--c-c7);
  --switch-background-color: var(--c-c7, hsl(205deg, 16%, 77%));
  --float-ball-more-button-border-color: var(--c-f5, #f6f6f6);
  --float-ball-more-button-background-color: var(--c-ff);
  --float-ball-more-button-hover-color: var(--p-weak);
  --float-ball-more-button-svg-color: #6c6f73;
  --service-bg-hover: var(--s-1-hover, #f7faff);
  --service-bg: var(--s-1-weak, #fafbfb);
}

#mount {
  --font-family: system-ui, -apple-system, "Segoe UI", "Roboto", "Ubuntu",
    "Cantarell", "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
  /* PC/H5 \u517C\u5BB9\u7684\u5B57\u53F7\u3001\u95F4\u8DDD\u3001\u5706\u89D2\u3001\u9634\u5F71\u53D8\u91CF */
  --f-12: 12px;
  --f-14: 14px;
  --f-15: 15px;
  --f-16: 16px;
  --f-18: 18px;
  --f-20: 20px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-18: 18px;
  --space-24: 24px;
  --radius-8: 8px;
  --radius-12: 12px;
  --radius-16: 16px;
  --control-height-lg: 44px;
  --width-28: 28px;
  --width-24: 24px;
  --width-20: 20px;
  --width-18: 18px;
  --width-16: 16px;
  --width-label-md: 56px;
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.12);

  /* \u5E38\u89C4\u53D8\u91CF */
  --line-height: 1.5;
  --font-weight: 400;
  --font-size: 16px;
  --border-radius: 4px;
  --border-width: 2px;
  --outline-width: 3px;
  --spacing: 16px;
  --typography-spacing-vertical: 24px;
  --block-spacing-vertical: calc(var(--spacing) * 2);
  --block-spacing-horizontal: var(--spacing);
  --grid-spacing-vertical: 0;
  --grid-spacing-horizontal: var(--spacing);
  --form-element-spacing-vertical: 12px;
  --form-element-spacing-horizontal: 16px;
  --nav-element-spacing-vertical: 16px;
  --nav-element-spacing-horizontal: 8px;
  --nav-link-spacing-vertical: 8px;
  --nav-link-spacing-horizontal: 8px;
  --form-label-font-weight: var(--font-weight);
  --transition: 0.2s ease-in-out;
  --modal-overlay-backdrop-filter: blur(4px);
  --switch-color: var(--primary-inverse);
  --switch-checked-background-color: var(--primary);
  --icon-xia: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkZyYW1lIj4KPHBhdGggaWQ9IlZlY3RvciIgZD0iTTguMDAyOTEgOS42Nzk4M0wzLjgzMzM5IDUuNTEyMjFMMy4wMjUzOSA2LjMxOTgzTDguMDAzMjkgMTEuMjk1MUwxMi45NzYyIDYuMzE5ODNMMTIuMTY3OSA1LjUxMjIxTDguMDAyOTEgOS42Nzk4M1oiIGZpbGw9IiM4MzgzODMiLz4KPC9nPgo8L3N2Zz4K");
  /* \u517C\u5BB9\u65E7\u53D8\u91CF\uFF1A\u4E3B\u8272\u76F4\u63A5\u5F15\u7528\u54C1\u724C\u4E3B\u8272\u9636 */
  --primary: var(--p-main);
  --primary-hover: var(--p-hover);
  --primary-inverse: #fff;
  /* Modal \u4E1A\u52A1\u53D8\u91CF\u5F15\u7528\u8272\u9636 */
  --modal-background: var(--s-1);
  --modal-border: var(--input-border);
  --modal-text: var(--c-22);
  --modal-text-secondary: var(--c-66);
  --modal-error: var(--p-main);
  --modal-required: #f53f3f;
  --modal-success: #68cd52;
  --modal-button-background: var(--p-main);
  --modal-button-text: var(--c-ff);
  --modal-input-background: var(--input-bg-base);
  --modal-check-color: var(--p-main);
  --background-color: var(--c-ff);
  --background-light-green: var(--s-1-weak, #f5f7f9);
  --text-black-2: var(--c-22);
  --text-gray-2: var(--c-22);
  --text-gray-6: var(--c-66);
  --text-gray-9: var(--c-99);
  --text-gray-c2: var(--c-c7);
  --switch-background-color: var(--c-c7, hsl(205deg, 16%, 77%));
  --float-ball-more-button-border-color: var(--c-f5, #f6f6f6);
  --float-ball-more-button-background-color: var(--c-ff);
  --float-ball-more-button-hover-color: var(--p-weak);
  --float-ball-more-button-svg-color: #6c6f73;
  --service-bg-hover: var(--s-1-hover, #f7faff);
  --service-bg: var(--s-1-weak, #fafbfb);
  line-height: var(--line-height);
  font-family: var(--font-family);
  font-size: var(--font-size);
}

@media (max-width: 480px) {
  :root,
  #mount {
    --f-12: 10px;
    --f-14: 12px;
    --f-15: 13px;
    --f-16: 14px;
    --f-18: 16px;
    --f-20: 18px;
    --space-4: 4px;
    --space-6: 4px;
    --space-8: 6px;
    --space-12: 8px;
    --space-16: 12px;
    --space-18: 14px;
    --space-24: 18px;
    --radius-8: 6px;
    --radius-12: 10px;
    --radius-16: 12px;
    --control-height-lg: 38px;
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);
    --width-28: 24px;
    --width-24: 20px;
    --width-20: 16px;
    --width-18: 14px;
    --width-16: 12px;
    --width-label-md: 52px;
  }
}

#mount * {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}
`,"tailwind-compat.css":`:where(#mount) a,
:where(#mount) [role="link"] {
  --color: var(--primary);
  --background-color: transparent;
  outline: none;
  background-color: var(--background-color);
  color: var(--color);
  -webkit-text-decoration: var(--text-decoration);
  text-decoration: var(--text-decoration);
  transition: background-color var(--transition), color var(--transition),
    box-shadow var(--transition), -webkit-text-decoration var(--transition);
  transition: background-color var(--transition), color var(--transition),
    text-decoration var(--transition), box-shadow var(--transition);
  transition: background-color var(--transition), color var(--transition),
    text-decoration var(--transition), box-shadow var(--transition),
    -webkit-text-decoration var(--transition);
}
:where(#mount) a:is([aria-current], :hover, :active, :focus),
:where(#mount) [role="link"]:is([aria-current], :hover, :active, :focus) {
  --color: var(--primary-hover);
  --text-decoration: underline;
}

:where(#mount) label {
  font-size: 13px;
  line-height: 1.3;
  color: var(--text-gray-2, #222222);
}

:where(#mount) button {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.3;
  min-height: 44px;
  border-radius: 12px;
  padding: 0 14px;
  border: none;
  background-color: var(--primary, #ea4c89);
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

:where(#mount) button:hover {
  background-color: var(--primary-hover, #f082ac);
}

:where(#mount) button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

:where(#mount) select,
:where(#mount) input,
:where(#mount) textarea {
  font-family: inherit;
  color: var(--text-gray-2, #222222);
}

:where(#mount) select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: inherit;
  color: var(--text-gray-2, inherit);
  font-size: 13px;
  line-height: 1.3;
  outline: none;
  padding: 8px 16px;
  border: none;
  border-radius: 12px;
  background-color: var(--popup-item-background-color, transparent);
  background-image: var(--icon-xia, none);
  background-repeat: no-repeat;
  background-position: center right 12px;
  background-size: 16px auto;
  cursor: pointer;
}

:where(#mount) input[type="checkbox"] {
  accent-color: var(--primary, #ea4c89);
}

[type="checkbox"],
[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 1.25em;
  height: 1.25em;
  margin-top: -0.125em;
  margin-right: 0.375em;
  margin-left: 0;
  -webkit-margin-start: 0;
  margin-inline-start: 0;
  -webkit-margin-end: 0.375em;
  margin-inline-end: 0.375em;
  border-width: var(--border-width);
  font-size: inherit;
  vertical-align: middle;
  cursor: pointer;
}
[type="checkbox"]::-ms-check,
[type="radio"]::-ms-check {
  display: none;
}
[type="checkbox"]:checked,
[type="checkbox"]:checked:active,
[type="checkbox"]:checked:focus,
[type="radio"]:checked,
[type="radio"]:checked:active,
[type="radio"]:checked:focus {
  --background-color: var(--primary);
  --border-color: var(--primary);
  background-image: var(--icon-checkbox);
  background-position: center;
  background-size: 0.75em auto;
  background-repeat: no-repeat;
}
[type="checkbox"] ~ label,
[type="radio"] ~ label {
  display: inline-block;
  margin-right: 0.375em;
  margin-bottom: 0;
  cursor: pointer;
}

[type="checkbox"]:indeterminate {
  --background-color: var(--primary);
  --border-color: var(--primary);
  background-image: var(--icon-minus);
  background-position: center;
  background-size: 0.75em auto;
  background-repeat: no-repeat;
}

[type="radio"] {
  border-radius: 50%;
}
[type="radio"]:checked,
[type="radio"]:checked:active,
[type="radio"]:checked:focus {
  --background-color: var(--primary-inverse);
  border-width: 0.35em;
  background-image: none;
}

:where(#mount) [type="checkbox"][role="switch"] {
  --background-color: var(--switch-background-color);
  --border-color: var(--switch-background-color);
  --color: var(--switch-color);
  width: 2.25em;
  height: 1.25em;
  border: var(--border-width) solid var(--border-color);
  border-radius: 1.25em;
  background-color: var(--background-color);
  line-height: 1.25em;
}
:where(#mount) [type="checkbox"][role="switch"]:focus {
  --background-color: var(--switch-background-color);
  --border-color: var(--switch-background-color);
}
:where(#mount) [type="checkbox"][role="switch"]:checked {
  --background-color: var(--switch-checked-background-color);
  --border-color: var(--switch-checked-background-color);
}
:where(#mount) [type="checkbox"][role="switch"]:before {
  display: block;
  width: calc(1.25em - (var(--border-width) * 2));
  height: 100%;
  border-radius: 50%;
  background-color: var(--color);
  content: "";
  transition: margin 0.1s ease-in-out;
}
:where(#mount) [type="checkbox"][role="switch"]:checked {
  background-image: none;
}
:where(#mount) [type="checkbox"][role="switch"]:checked::before {
  margin-left: calc(1.125em - var(--border-width));
  -webkit-margin-start: calc(1.125em - var(--border-width));
  margin-inline-start: calc(1.125em - var(--border-width));
}

:where(#mount) [type="checkbox"][aria-invalid="false"],
:where(#mount) [type="checkbox"]:checked[aria-invalid="false"],
:where(#mount) [type="radio"][aria-invalid="false"],
:where(#mount) [type="radio"]:checked[aria-invalid="false"],
:where(#mount) [type="checkbox"][role="switch"][aria-invalid="false"],
:where(#mount) [type="checkbox"][role="switch"]:checked[aria-invalid="false"] {
  --border-color: var(--form-element-valid-border-color);
}
:where(#mount) [type="checkbox"][aria-invalid="true"],
:where(#mount) [type="checkbox"]:checked[aria-invalid="true"],
:where(#mount) [type="radio"][aria-invalid="true"],
:where(#mount) [type="radio"]:checked[aria-invalid="true"],
:where(#mount) [type="checkbox"][role="switch"][aria-invalid="true"],
:where(#mount) [type="checkbox"][role="switch"]:checked[aria-invalid="true"] {
  --border-color: var(--form-element-invalid-border-color);
}

.text-black {
  color: var(--text-black-2);
}

.text-gray-2 {
  color: var(--text-gray-2);
}

.text-gray-6 {
  color: var(--text-gray-6);
}

.text-gray-9 {
  color: var(--text-gray-9);
}

.text-gray-c2 {
  color: var(--text-gray-c2);
}

.pt-4 {
  padding-top: 16px;
}

.p-2 {
  padding: 8px;
}

.pl-5 {
  padding-left: 48px;
}

.p-0 {
  padding: 0;
}

.pl-2 {
  padding-left: 8px;
}

.pl-4 {
  padding-left: 24px;
}

.pt-2 {
  padding-top: 8px;
}

.pb-2 {
  padding-bottom: 8px;
}

.pb-4 {
  padding-bottom: 16px;
}

.pb-5 {
  padding-bottom: 20px;
}

.pr-5 {
  padding-right: 48px;
}

.text-sm {
  font-size: 13px;
}

.text-base {
  font-size: 16px;
}

.w-full {
  width: 100%;
}

.flex {
  display: flex;
}

.flex-row {
  flex-direction: row;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-end {
  justify-content: flex-end;
}

.flex-grow {
  flex-grow: 1;
}

.justify-between {
  justify-content: space-between;
}

.mb-0 {
  margin-bottom: 0px;
}

.mb-2 {
  margin-bottom: 8px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-3 {
  margin-bottom: 12px;
}

.inline-block {
  display: inline-block;
}

.py-2 {
  padding-top: 8px;
  padding-bottom: 8px;
}

.py-2-5 {
  padding-top: 6px;
  padding-bottom: 6px;
}

.mt-0 {
  margin-top: 0;
}

.mt-2 {
  margin-top: 8px;
}

.mt-3 {
  margin-top: 12px;
}

.mt-4 {
  margin-top: 16px;
}

.mt-5 {
  margin-top: 20px;
}

.mt-6 {
  margin-top: 24px;
}

.mb-1 {
  margin-bottom: 4px;
}

.ml-4 {
  margin-left: 24px;
}

.ml-3 {
  margin-left: 16px;
}

.ml-2 {
  margin-left: 8px;
}

.ml-1 {
  margin-left: 4px;
}

.mr-1 {
  margin-right: 4px;
}

.mr-2 {
  margin-right: 8px;
}

.mr-3 {
  margin-right: 16px;
}

.mx-2 {
  margin-left: 8px;
  margin-right: 8px;
}

.pl-3 {
  padding-left: 12px;
}

.pr-3 {
  padding-right: 12px;
}

.p-3 {
  padding: 12px;
}

.px-1 {
  padding-left: 4px;
  padding-right: 4px;
}

.px-3 {
  padding-left: 12px;
  padding-right: 12px;
}

.pt-3 {
  padding-top: 12px;
}

.px-6 {
  padding-left: 18px;
  padding-right: 18px;
}

.px-4 {
  padding-left: 16px;
  padding-right: 16px;
}

.pt-6 {
  padding-top: 20px;
}

.py-3 {
  padding-top: 12px;
  padding-bottom: 12px;
}

.py-0 {
  padding-top: 0;
  padding-bottom: 0;
}

.left-auto {
  left: auto !important;
}

.max-h-28 {
  max-height: 112px;
}

.max-h-30 {
  max-height: 120px;
}

.overflow-y-scroll {
  overflow-y: scroll;
}

.text-xs {
  font-size: 12px;
}

.inline-flex {
  display: inline-flex;
}

.flex-1 {
  flex: 1;
}

.flex-3 {
  flex: 3;
}

.flex-4 {
  flex: 4;
}

.flex-2 {
  flex: 2;
}

.items-center {
  align-items: center;
}

.max-content {
  width: max-content;
}

.justify-center {
  justify-content: center;
}

.items-end {
  align-items: flex-end;
}

.items-baseline {
  align-items: baseline;
}

.my-5 {
  margin-top: 48px;
  margin-bottom: 48px;
}

.my-4 {
  margin-top: 24px;
  margin-bottom: 24px;
}

.my-3 {
  margin-top: 16px;
  margin-bottom: 16px;
}

.pt-3 {
  padding-top: 12px;
}

.px-3 {
  padding-left: 12px;
  padding-right: 12px;
}

.pt-2 {
  padding-top: 8px;
}

.px-2 {
  padding-left: 8px;
  padding-right: 8px;
}

.pt-1 {
  padding-top: 4px;
}

.px-1 {
  padding-left: 4px;
  padding-right: 4px;
}

.pb-2 {
  padding-bottom: 8px;
}

.justify-end {
  justify-content: flex-end;
}

.w-auto {
  width: auto;
}

.shrink-0 {
  flex-shrink: 0;
}

.text-right {
  text-align: right;
}

.clickable {
  cursor: pointer;
}

.close {
  cursor: pointer;
  width: 16px;
  height: 16px;
  background-image: var(--icon-close);
  background-position: center;
  background-size: auto 1rem;
  background-repeat: no-repeat;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.padding-two-column {
  padding-left: 40px;
  padding-right: 40px;
}

.muted {
  color: #999;
}

.text-label {
  color: #666;
}

.display-none {
  display: none;
}

/* dark use #18232c */
@media (prefers-color-scheme: dark) {
  .text-label {
    color: #9ca3af;
  }
}

.text-decoration-none {
  text-decoration: none;
}

.text-decoration-none:is([aria-current], :hover, :active, :focus),
[role="link"]:is([aria-current], :hover, :active, :focus) {
  --text-decoration: none !important;
  background-color: transparent !important;
}

.text-overflow-ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.max-w-20 {
  max-width: 180px;
  white-space: nowrap;
}
`,"popup.css":`[data-theme="light"],
#mount:not([data-theme="dark"]) {
  --popup-footer-background-color: #e8eaeb;
  --popup-content-background-color: #ffffff;
  --popup-item-background-color: #f3f5f6;
  --popup-item-hover-background-color: #eaeced;
  --popup-trial-pro-background-color: #f9fbfc;
  --service-select-content-shadow: 0px 2px 12px 0px rgba(75, 76, 77, 0.2);
  --service-select-border-color: #fafafa;
  --service-select-selected-background-color: #f3f5f6;
  --download-app-background: #f3f5f6;
}

[data-theme="dark"] {
  --popup-footer-background-color: #0d0d0d;
  --popup-content-background-color: #191919;
  --popup-item-background-color: #272727;
  --popup-item-hover-background-color: #333333;
  --popup-trial-pro-background-color: #222222;
  --service-select-content-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.9);
  --service-select-border-color: #2c2c2c;
  --service-select-selected-background-color: #333333;
  --download-app-background: #333;
}

#mount {
  min-width: 268px;
}

body {
  padding: 0;
  margin: 0 auto;
  min-width: 268px;
  border-radius: 10px;
}

.popup-container {
  font-size: 16px;
  --font-size: 16px;
  color: #666;
  background-color: var(--popup-footer-background-color);
  width: 316px;
  min-width: 316px;
}

.popup-content {
  background-color: var(--popup-content-background-color);
  border-radius: 0px 0px 12px 12px;
  padding: 16px 20px;
}

.immersive-translate-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  touch-action: none;
}

.immersive-translate-popup-wrapper {
  background: var(--background-color);
  border-radius: 10px;
  border: 1px solid var(--muted-border-color);
}

.main-button {
  font-size: 15px;
  vertical-align: middle;
  border-radius: 12px;
  padding: unset;
  height: 44px;
  line-height: 44px;
}

select.language-select,
select.translate-service,
select.min-select {
  --form-element-spacing-horizontal: 0;
  margin-bottom: 0px;
  max-width: unset;
  flex: 1;
  overflow: hidden;
  font-size: 13px;
  border: none;
  border-radius: 8px;
  padding-right: 30px;
  padding-left: 0px;
  background-position: center right 12px;
  background-size: 16px auto;
  background-image: var(--icon-xia);
  text-overflow: ellipsis;
  color: var(--text-gray-2);
  background-color: transparent;
  box-shadow: unset !important;
  cursor: pointer;
}

select.more {
  background-position: center right;
  padding-right: 20px;
}

select.translate-service {
  color: var(--text-black-2);
}

.min-select-container.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.popup-footer {
  background-color: var(--popup-footer-background-color);
  height: 40px;
}

.language-select-container {
  position: relative;
  width: 100%;
  background-color: var(--popup-item-background-color);
  height: 55px;
  border-radius: 12px;
}

select.language-select {
  color: var(--text-black-2);
  font-size: 14px;
  padding: 8px 24px 24px 16px;
  position: absolute;
  border-radius: 12px;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.language-select-container label {
  position: absolute;
  bottom: 10px;
  left: 16px;
  font-size: 12px;
  color: var(--text-gray-9);
  line-height: 12px;
  margin: 0;
}

.translation-service-container {
  background-color: var(--popup-item-background-color);
  border-radius: 12px;
}

.min-select-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 44px;
  background-color: var(--popup-item-background-color);
  padding-left: 16px;
}

.min-select-container:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.min-select-container:last-child {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.min-select-container:only-child {
  border-radius: 10px;
}

.translate-mode {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background-color: var(--popup-item-background-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

.translate-mode svg {
  fill: var(--text-gray-2);
}

.widgets-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  gap: 9px;
}

/* \u5F53\u53EA\u6709\u4E24\u4E2A\u5C0F\u7EC4\u4EF6\u65F6\u7684\u6837\u5F0F\u4F18\u5316 */
.widgets-container.widgets-two-items {
  gap: 16px;
}

.widgets-container.widgets-two-items .widget-item {
  flex: 0 1 auto;
  min-width: 93px;
  max-width: 120px;
}

.widget-item {
  display: flex;
  max-width: 93px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: var(--popup-item-background-color);
  font-size: 12px;
  min-height: 44px;
  height: 100%;
  border-radius: 8px;
  cursor: pointer;
  flex: 1;
  padding: 8px 4px;
  text-align: center;
}

.widget-icon-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-gray-2);
}

.widgets-container svg {
  fill: var(--text-gray-2);
  color: var(--text-gray-2);
}

.share-button-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 2px 3px 0 8px;
}

.share-button-container svg {
  fill: var(--text-gray-9);
}

.min-select-container:hover,
.language-select-container:hover,
.widget-item:hover,
.translate-mode:hover {
  background-color: var(--popup-item-hover-background-color);
}

.main-button:hover {
  background-color: #f5508f;
}

.share-button-container:hover {
  background-color: var(--popup-item-background-color);
  border-radius: 6px;
}

.error-boundary {
  background: #fff2f0;
  border: 1px solid #ffccc7;
  display: flex;
  padding: 12px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.88);
  word-break: break-all;
  margin: 12px;
  border-radius: 12px;
  flex-direction: column;
}

.upgrade-pro {
  border-radius: 11px;
  background: linear-gradient(57deg, #272727 19.8%, #696969 82.2%);
  padding: 2px 8px;
  transform: scale(0.85);
}

.upgrade-pro span {
  background: linear-gradient(180deg, #ffeab4 17.65%, #f8c235 85.29%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 12px;
  margin-left: 4px;
}

.upgrade-pro svg {
  margin-top: -2px;
}

.upgrade-pro:hover {
  background: linear-gradient(57deg, #3d3d3d 19.8%, #949494 82.2%);
}

.border-bottom-radius-0 {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.trial-pro-container {
  border-radius: 0px 0px 12px 12px;
  background: var(--popup-trial-pro-background-color);
  display: flex;
  align-items: center;
  height: 44px;
  padding-left: 16px;
  padding-right: 12px;
  font-size: 12px;
}

.trial-pro-container label {
  line-height: 13px;
  color: var(--text-black-2);
}

.trial-pro-container img {
  margin-left: 5px;
}

.cursor-pointer {
  cursor: pointer;
}

.upgrade-pro-discount-act {
  height: 25px;
  display: flex;
  padding: 0 4px;
  align-items: center;
  border-radius: 15px;
  background: linear-gradient(
    90deg,
    #cefbfa 11.33%,
    #d7f56f 63.75%,
    #fccd5e 100%
  );
  transform: scale(0.9);
  box-shadow: 0px 1.8px 3.6px 0px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.upgrade-pro-discount-act span {
  font-size: 12px;
  font-weight: 700;
  margin-left: 4px;
  color: #222222;
}

.upgrade-pro-discount-act:hover {
  text-decoration: unset;
  background: linear-gradient(
    90deg,
    #e2fffe 11.33%,
    #e6ff91 63.75%,
    #ffdf93 100%
  );
}

.custom-select-container {
  width: 200px;
  position: relative;
  flex: 1;
}

#translation-service-select {
  padding-right: 12px;
  padding-left: 6px;
}

.custom-select-content {
  border-radius: 12px;
  background: var(--popup-content-background-color);
  box-shadow: var(--service-select-content-shadow);
  border: 1px solid var(--service-select-border-color);
  padding: 8px;
  position: absolute;
  left: -68px;
  right: 0;
  z-index: 100;
  overflow-y: auto;
}

.custom-select-item.default {
  width: 100%;
  padding: 0;
}

.custom-select-item {
  font-size: 14px;
  padding: 5px 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--text-black-2);
  width: auto;
  overflow: hidden;
  height: 30px;
  line-height: 30px;
}

.custom-select-item-img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

@media (prefers-color-scheme: dark) {
  .custom-select-item-img {
    margin-right: 6px;
  }
}

.custom-select-content .custom-select-item.selected,
.custom-select-content .custom-select-item:hover {
  background: var(--service-select-selected-background-color);
}

.custom-select-item > span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-select-item-pro {
  font-size: 12px;
  margin-left: 6px;
  display: flex;
}

.custom-select-item-pro img {
  margin: 0 3px;
  width: 20px;
  flex-shrink: 0;
}

.service-select-inline-sponsor-container {
  width: 40px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.service-select-inline-sponsor-marquee {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  column-gap: 12px;
  animation: service-select-inline-sponsor-scroll 10s linear infinite;
}

.service-select-inline-sponsor-track {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@keyframes service-select-inline-sponsor-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 6px));
  }
}

.custom-select-group-header {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-gray-9);
  padding: 6px 8px 4px;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

.more-container {
  position: relative;
}

.new-menu-indicator {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: #ef3434;
  border-radius: 50%;
  right: 18px;
  top: 4px;
}

.download-app {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 8px;
  background: var(--download-app-background);
  padding: 4px 8px;
  color: var(--text-gray-6);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

/* Popup \u52A8\u753B\u6548\u679C */
@keyframes popup-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes popup-fade-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }
}

.popup-generic-content {
  animation: popup-fade-in 0.2s ease-out;
}

.popup-generic-content.hiding {
  animation: popup-fade-out 0.15s ease-in;
}

select.min-select {
  --form-element-spacing-horizontal: 0;
  max-width: 128px;
  overflow: hidden;
  color: var(--primary);
  font-size: 13px;
  border: none;
  padding: 0;
  padding-right: 20px;
  text-overflow: ellipsis;
  color: var(--color);
}
select.min-select-secondary {
  color: var(--color);
}
select.min-select:focus {
  outline: none;
  border: none;
  --box-shadow: none;
}

select.min-select-left {
  padding-right: 0px;
  /* padding-left: 24px; */
  /* background-position: center left 0; */
  text-overflow: ellipsis;
  text-align: left;
}

select.transform-padding-left {
  padding-left: 12px;
  transform: translateX(-12px);
  background-position: center right 0px;
}

select.text-gray-6 {
  color: var(--text-gray-6);
}

/* dark use black, for windows */
@media (prefers-color-scheme: dark) {
  select.language-select option,
  select.translate-service option,
  select.min-select option {
    background-color: #666666;
  }
}

select.min-select-no-arrow {
  background-image: none;
  padding-right: 0;
}



.activity-tips {
  border-radius: 8px;
  padding: 0px 8px;
  min-height: 28px;
  background: linear-gradient(83deg, #FACCDE -0.87%, #FCE7EF 43.13%, #FBD6E4 72.08%, #FFB3D1 96.34%);  gap: 2px;
  color: #333;
  cursor: pointer;
  gap: 4px;
}

.activity-tips-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.countdown-container {
  min-width: 50px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.01em;
}

.activity-tips-text {
  font-weight: 600;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
`,"float_ball.css":`html {
  font-size: 17px;
}

@media print {
  .imt-fb-container {
    display: none !important;
  }
}

#mount {
  position: absolute;
  display: none;
  min-width: 250px;
  height: auto;
  --font-size: 17px;
  font-size: 17px;
}

/* float-ball */
.imt-fb-container {
  position: fixed;
  padding: 0;
  top: 335px;
  width: fit-content;
  display: flex;
  flex-direction: column;
  display: none;
  direction: ltr;
  background-color: transparent !important;
}

.imt-fb-container:hover .imt-manga-button {
  opacity: 1;
}

.imt-fb-container.left {
  align-items: flex-start;
  left: 0;
}

.imt-fb-container.right {
  align-items: flex-end;
  right: 0;
}

.imt-fb-btn {
  cursor: pointer;
  background: var(--float-ball-more-button-background-color);
  height: 36px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.08);
}

.imt-fb-btn.left {
  border-top-right-radius: 36px;
  border-bottom-right-radius: 36px;
  padding-left: 3px;
}

.imt-fb-btn.right {
  border-top-left-radius: 36px;
  border-bottom-left-radius: 36px;
  padding-right: 3px;
}

.imt-fb-btn.mini.left {
  transform: translateX(-22px);
}

.imt-fb-btn.mini.right {
  transform: translateX(22px);
}

.imt-fb-btn.mini.active {
  transform: translateX(0);
}

.imt-fb-btn div {
  height: 36px;
  display: inline-flex;
  align-items: center;
  position: relative;
}

.imt-fb-btn .imt-fb-hit-area {
  position: absolute;
  top: 0;
  height: 36px;
  bottom: -6px;
  left: -6px;
  right: -6px;
  background: transparent;
}

.imt-fb-btn.mini.right .imt-fb-hit-area {
  left: -10px;
}

.imt-fb-btn.mini.left .imt-fb-hit-area {
  right: -10px;
}

.imt-fb-btn.left div {
  border-top-right-radius: 34px;
  border-bottom-right-radius: 34px;
  justify-content: flex-end;
}

.imt-fb-btn.right div {
  border-top-left-radius: 34px;
  border-bottom-left-radius: 34px;
}

.imt-fb-logo-img {
  width: 20px;
  height: 20px;
  margin: 0 10px;
}

.imt-fb-logo-img-big-bg {
  width: 28px;
  height: 28px;
  margin: 0;
  background-color: #ed6d8f;
  border-radius: 50%;
  margin: 0 5px;
}

.imt-float-ball-translated {
  position: absolute;
  width: 11px;
  height: 11px;
  bottom: 4px;
  right: 4px;
}

.btn-animate {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transition: -webkit-transform ease-out 250ms;
  transition: -webkit-transform ease-out 250ms;
  transition: transform ease-out 250ms;
  transition: transform ease-out 250ms, -webkit-transform ease-out 250ms;
}

.imt-fb-setting-btn {
  margin-right: 18px;
  width: 28px;
  height: 28px;
}

.immersive-translate-popup-wrapper {
  background: var(--background-color);
  border-radius: 20px;
  box-shadow: 2px 10px 24px 0px #0e121614;
  border: none;
}

.popup-container {
  border-radius: 20px;
}

.popup-content {
  border-radius: 20px 20px 12px 12px;
}
.popup-footer {
  border-radius: 20px;
}

.imt-fb-close-button {
  cursor: pointer;
  position: absolute;
  left: -10px;
  bottom: -20px;
}
.imt-fb-container.left .imt-fb-close-button {
  left: auto;
  right: -10px;
}

.imt-fb-close-content {
  padding: 22px;
  width: 320px;
  pointer-events: all;
}

.imt-fb-close-title {
  font-weight: 500;
  color: var(--text-black-2);
}

.imt-fb-close-radio-content {
  background-color: var(--background-light-green);
  padding: 8px 20px;
}

.imt-fb-radio-sel,
.imt-fb-radio-nor {
  width: 16px;
  height: 16px;
  border-radius: 8px;
  flex-shrink: 0;
}

.imt-fb-radio-sel {
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.imt-fb-radio-sel div {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background-color: var(--primary);
}

.imt-fb-radio-nor {
  border: 2px solid var(--input-border-strong);
}

.imt-fb-primary-btn {
  background-color: var(--primary);
  width: 72px;
  height: 32px;
  color: white;
  border-radius: 8px;
  text-align: center;
  line-height: 32px;
  font-size: 16px;
  cursor: pointer;
}

.imt-fb-default-btn {
  border: 1px solid var(--primary);
  width: 72px;
  height: 32px;
  border-radius: 8px;
  color: var(--primary);
  line-height: 32px;
  text-align: center;
  font-size: 16px;
  cursor: pointer;
}

.imt-fb-guide-container {
  width: 312px;
  transform: translateY(-45%);
}

.imt-fb-guide-bg {
  position: absolute;
  left: 30px;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  height: 100%;
  width: 90%;
}

.imt-fb-guide-bg.left {
  transform: scaleX(-1);
}

.imt-fb-guide-content {
  margin: 16px -30px 80px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.imt-fb-guide-content.left {
  margin: 16px 21px 60px 32px;
}

.imt-fb-guide-img {
  width: 220px;
  height: 112px;
}

.imt-fb-guide-message {
  font-size: 14px;
  line-height: 28px;
  color: #333333;
  white-space: pre-wrap;
  text-align: center;
  font-weight: 700;
  margin-bottom: 20px;
}

.imt-manga-guide-message {
  font-size: 16px;
  line-height: 24px;
  color: #333333;
  text-align: center;
  font-weight: 500;
  margin-bottom: 12px;
}

.imt-fb-guide-button {
  margin-top: 16px;
  line-height: 40px;
  height: 40px;
  padding: 0 20px;
  width: unset;
}

.imt-fb-side {
  border-radius: 50%;
  cursor: pointer;
  pointer-events: all;
  position: relative;
}

.imt-fb-side {
  margin: 10px 0;
}

.imt-fb-side::before,
.imt-manga-button::before,
.imt-fb-round-button::before {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  bottom: 2px;
  left: 2px;
  border-radius: 50%;
  background-color: transparent;
  transition: background-color 0.15s ease;
}

.imt-fb-side:hover::before,
.imt-manga-button:hover::before,
.imt-fb-round-button:hover::before {
  background-color: var(--float-ball-more-button-hover-color);
}

.imt-fb-new-badge {
  width: 26px;
  height: 14px;
  padding: 3px;
  background-color: #f53f3f;
  border-radius: 4px;
  position: absolute;
  top: -5px;
  right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.imt-fb-side * {
  pointer-events: all;
}

.imt-fb-pin-icon {
  position: absolute;
  left: -16px;
  bottom: -12px;
  opacity: 0;
  cursor: pointer;
}
.imt-fb-container.left .imt-fb-pin-icon {
  left: auto;
  right: -16px;
}

.imt-fb-side:hover .imt-fb-pin-icon {
  opacity: 1;
}

.imt-fb-more-button {
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
/* Sheet.css */
.immersive-translate-sheet {
  position: fixed;
  transform: translateY(100%);
  /* Start off screen */
  left: 0;
  right: 0;
  background-color: var(--background-color);
  transition: transform 0.3s ease-out;
  /* Smooth slide transition */
  box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
  /* Ensure it's above other content */
  bottom: 0;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  overflow: hidden;
}

.immersive-translate-sheet.visible {
  transform: translateY(0);
}

.immersive-translate-sheet-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.immersive-translate-sheet-backdrop.visible {
  opacity: 1;
}

.popup-container-sheet {
  max-width: 100vw;
  width: 100vw;
}

.imt-no-events svg * {
  pointer-events: none !important;
}

.imt-manga-button {
  width: 36px;
  height: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  margin: 0 0 10px 0;
  background-color: var(--float-ball-more-button-background-color);
  border-radius: 50%;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.08);
  right: 8px;
}

.imt-manga-feedback {
  cursor: pointer;
  margin-bottom: 10px;
}

.imt-fb-round-button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--float-ball-more-button-background-color);
  border-radius: 50%;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.08);
  position: relative;
}

.imt-fb-round-button > svg {
  z-index: 1;
}

.imt-fb-upgrade-button {
  cursor: pointer;
  margin-top: 10px;
}

.imt-manga-translated {
  position: absolute;
  left: 24px;
  top: 20px;
}

.imt-float-ball-loading {
  animation: imt-loading-animation 0.6s infinite linear !important;
}

.imt-manga-guide-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  width: 100%;
  transform: translateY(-50%);
}
.imt-manga-guide-content {
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  margin: 0 40px 0;
}

.img-manga-guide-button {
  width: fit-content;
  margin: 0 auto;
}

.img-manga-close {
  position: absolute;
  bottom: -200px;
  width: 32px;
  height: 32px;
  left: 0;
  right: 0;
  margin: auto;
  cursor: pointer;
}

.imt-fb-container.dragging .imt-manga-button,
.imt-fb-container.dragging .btn-animate:not(.imt-fb-btn) {
  display: none !important;
}

.imt-fb-container.dragging .imt-fb-btn {
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  cursor: move !important;
}

.imt-fb-container.dragging .imt-fb-btn div {
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
}

.imt-fb-container.dragging .imt-fb-btn.left,
.imt-fb-container.dragging .imt-fb-btn.right {
  border-radius: 50% !important;
}

.imt-fb-container.dragging .imt-fb-btn.left div,
.imt-fb-container.dragging .imt-fb-btn.right div {
  border-radius: 50% !important;
}

.imt-fb-container.dragging .imt-fb-logo-img {
  margin: 0 !important;
}

.imt-fb-container.dragging .imt-float-ball-translated {
  right: 2px !important;
  bottom: 2px !important;
}

@-webkit-keyframes imt-loading-animation {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(359deg);
  }
}

@keyframes imt-loading-animation {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(359deg);
  }
}

.imt-fb-icon {
  color: #666666;
}

[data-theme="dark"] .imt-fb-icon {
  color: #b3b3b3;
}

[data-theme="light"] .imt-fb-icon {
  color: #666666;
}

/* \u60AC\u6D6E\u7403\u8BBE\u7F6E\u5F39\u7A97\u6837\u5F0F */
.imt-fb-setting-wrapper {
  border-radius: 12px;
  box-shadow: 2px 10px 24px 0px rgba(0, 0, 0, 0.06);
}

.imt-fb-setting-content {
  padding: 16px;
  width: 350px;
  pointer-events: all;
}

.imt-fb-setting-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-black-2);
}

.imt-fb-setting-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px 0;
}

.imt-fb-preview-wrapper {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
}

.imt-fb-preview-item {
  width: 99px;
  height: 57px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.imt-fb-preview-item.light {
  background-color: #f3f5f6;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.imt-fb-preview-item.dark {
  background-color: #444;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.imt-fb-preview-ball {
  height: 36px;
  display: flex;
  align-items: center;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.imt-fb-preview-ball.light {
  background-color: #fff;
  border-top-left-radius: 36px;
  border-bottom-left-radius: 36px;
}

.imt-fb-preview-ball.dark {
  background-color: #111;
  border-top-left-radius: 36px;
  border-bottom-left-radius: 36px;
}

.imt-fb-preview-ball.full {
  width: 41px;
  justify-content: center;
}

.imt-fb-preview-ball.mini {
  width: 41px;
  justify-content: center;
  transform: translateX(21px);
}

.imt-fb-preview-ball .imt-fb-preview-logo {
  flex-shrink: 0;
}

/* \u9009\u9879\u533A\u57DF */
.imt-fb-setting-options {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.imt-fb-setting-option-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
}

.imt-fb-setting-option-label {
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  color: var(--text-black-2);
}

/* Toggle \u5F00\u5173\u6837\u5F0F */
.imt-fb-toggle {
  width: 30px;
  height: 18px;
  background-color: var(--switch-background-color);
  border-radius: 24px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.imt-fb-toggle.checked {
  background-color: var(--primary);
}

.imt-fb-toggle.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.imt-fb-toggle-thumb {
  width: 14px;
  height: 14px;
  background-color: var(--switch-color);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.2s ease;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.08);
}

.imt-fb-toggle.checked .imt-fb-toggle-thumb {
  transform: translateX(12px);
}

.imt-fb-setting-hide-options {
  background-color: var(--background-light-green);
  padding: 8px 20px;
  border-radius: 8px;
  margin-top: 8px;
}

.imt-fb-setting-save-btn {
  background-color: var(--primary);
  color: white;
  border-radius: 8px;
  text-align: center;
  line-height: 45px;
  height: 45px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 16px;
  transition: opacity 0.2s ease;
}

.imt-fb-setting-save-btn:hover {
  opacity: 0.9;
}

.imt-fb-setting-save-btn:active {
  opacity: 0.8;
}
`,"side-panel.css":`.imt-side-panel {
  --font-family: system-ui, -apple-system, "Segoe UI", "Roboto", "Ubuntu",
    "Cantarell", "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
  font-family: var(--font-family);
  min-height: 95vh;
  position: relative;
}

.imt-side-panel textarea {
  font-family: var(--font-family);
}

.panel-close-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 0;
}

/* \u7FFB\u8BD1\u7ED3\u679C */
.divider {
  width: 100%;
  height: 1px;
  background: #ecf0f7;
}

.results-container {
  margin: 0 20px;
}

.service-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 14px;
  color: #999;
  margin-top: 24px;
  position: relative;
}

.service-wrapper .icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 8px;
}

.service-wrapper span {
  flex: 1;
}

.service-wrapper-container .close-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: none;
}

.service-wrapper-container:hover .close-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-container {
  margin: 8px 12px 16px;
}

.result-lang {
  color: #ccc;
  font-size: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 8px;
}

.result-container pre {
  font-size: 16px;
  color: #333;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  white-space: pre-line;
  font-family: var(--font-family);
}

.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: pointer;
  background-color: #f3f5f6;
  width: 21px;
  height: 21px;
  margin-right: 8px;
  color: #666;
}

/* \u7FFB\u8BD1\u8F93\u5165 */

.translate-area {
  display: flex;
  flex-direction: column;
  margin: 18px 20px 16px;
}

.translate-main {
  border-radius: 12px;
  border: 0.5px solid #ecf0f7;
  display: flex;
  flex-direction: column;
  position: relative;
}

.translate-main header {
  display: flex;
  flex-direction: row;
  border-radius: 12px 12px 0 0;
  background-color: #fafbfc;
  padding: 12px 0px;
  align-items: center;
  gap: 8px;
}

.translate-main textarea {
  margin: 8px 12px;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  border: none;
  outline: none;
  background-color: white;

  /* \u65B9\u68481: \u5141\u8BB8\u7528\u6237\u62D6\u62FD\u8C03\u6574\u5927\u5C0F */
  resize: vertical; /* \u53EA\u5141\u8BB8\u5782\u76F4\u65B9\u5411\u8C03\u6574\u5927\u5C0F */
  min-height: 120px; /* \u8BBE\u7F6E\u6700\u5C0F\u9AD8\u5EA6 */
  max-height: 400px; /* \u8BBE\u7F6E\u6700\u5927\u9AD8\u5EA6\uFF0C\u907F\u514D\u8FC7\u5927 */
  height: 120px; /* \u8BBE\u7F6E\u521D\u59CB\u9AD8\u5EA6 */
  width: calc(100% - 24px); /* \u51CF\u53BB\u5DE6\u53F3margin\u7684\u5BBD\u5EA6 */
}

.translate-main textarea::placeholder {
  color: #999;
  font-size: 14px;
}

.translate-main footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 12px;
}

.translate-button {
  border-radius: 8px;
  background-color: #ea4c89;
  padding: 8px 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  border: none;
  cursor: pointer;
}

.translate-button svg {
  margin-left: 4px;
}

.delete-button {
  width: 24px;
  height: 24px;
}

.convert-icon {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

/* \u8BED\u8A00\u9009\u62E9 */
.source-language {
  text-align: left;
  padding-left: 24px;
}

.target-languages {
  justify-content: end;
}

.select-languages {
  color: #222;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  margin-right: 24px;
}

.arrow-down {
  margin-left: 4px;
  flex-shrink: 0;
}

.select-languages-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
  width: 100%;
}

.select-languages-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* LangsTag \u591A\u9009\u7684\u6570\u91CF\u663E\u793A */
.langs-tag {
  padding: 4px;
  border-radius: 50%;
  border: 0.5px solid #e6e6e6;
  background: #fff;
  width: fit-content;
  display: inline-flex;
  margin-left: 4px;
}

.langs-tag-inner {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  font-family: "Noto Sans SC";
  line-height: 1.5;
  color: white;
  background-color: #ea4c89;
  border-radius: 50%;
}

/* Checkbox Styles */
.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-imt: none; /* Prevent text imtion when clicking label */
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-mark {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1px solid #ecf0f7;
  border-radius: 4px;
  margin-right: 8px;
  position: relative;
  flex-shrink: 0; /* Prevent shrinking if label text is long */
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-mark {
  background-color: #ea4c89;
  border-color: #ea4c89;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-mark::after {
  content: "";
  position: absolute;
  display: block;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* \u9009\u62E9\u7FFB\u8BD1\u670D\u52A1 */
.select-services {
  display: flex;
  flex-direction: row;
  align-items: center;
  border-radius: 8px;
  background-color: #fafbfc;
  padding: 4px 8px;
  width: fit-content;
  margin-bottom: 12px;
  position: relative;
}

.select-services-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
}

.service-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
}

.service-icon img {
  width: 24px;
  height: 24px;
}

.close-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
  color: #666;
}

/* \u5E95\u90E8\u529F\u80FD\u533A */

.side-footer {
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #fff;
}

.side-footer a {
  text-decoration: none;
}

.side-footer-preview {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 8px 20px;
}

.upgrade {
  color: #666;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
  display: flex;
  align-items: center;
}

.upgrade svg {
  margin-right: 4px;
}

.action-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.empty-space {
  flex: 1;
}

.side-footer-preview .action-buttons {
  right: 20px;
  bottom: 8px;
}

.action-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  cursor: pointer;
}

.action-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
}

.reward-center-text {
  font-size: 12px;
  color: #ea4c89;
}

/* \u5956\u52B1\u4E2D\u5FC3\u5F39\u8DF3\u52A8\u753B */
@keyframes bounce-reward {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  10% {
    transform: translateY(-8px);
  }
  30% {
    transform: translateY(-6px);
  }
  60% {
    transform: translateY(-4px);
  }
}

.action-icon.bounce-animate {
  animation: bounce-reward 1.2s ease-in-out;
}

.footer-expand {
  display: flex;
  width: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  background: #f3f5f6;
  margin: auto;
  cursor: pointer;
  height: 16px;
  margin-bottom: 4px;
  margin-top: 4px;
  color: #999;
}

.footer-area-title {
  margin: 8px 0;
  color: #999;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.footer-area {
  display: flex;
  flex-direction: column;
  margin: 0 16px;
}

.footer-area-buttons-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.footer-area-button {
  display: flex;
  text-wrap: nowrap;
  padding: 8px;
  align-items: center;
  border-radius: 8px;
  border: 1px solid #ecf0f7;
  cursor: pointer;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.footer-area-button svg {
  margin-right: 4px;
}

/* \u9519\u8BEF\u7ED3\u679C */
.error-result {
  display: flex;
  padding: 8px 12px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border-radius: 8px;
  position: relative;
  padding-bottom: 16px;
}

.error-result a {
  color: #ea4c89;
  text-decoration: underline;
}

.error-warning {
  background-color: #feecec;
}

.error-info {
  background-color: #fafbfb;
}

.error-message {
  color: #999;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.retry-button {
  width: 20px;
  height: 20px;
  cursor: pointer;
  position: absolute;
  right: 8px;
  bottom: 8px;
}

.upgrade-button {
  display: flex;
  padding: 6px 16px;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #222222 0%, #696969 100%);
  border: none;
  border-radius: 8px;
  color: #ffc736;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  margin: 16px auto 0;
}

.upgrade-button svg {
  margin-right: 4px;
}

/* \u4E0B\u62C9\u5217\u8868 */

.imt-search-box {
  display: flex;
  padding: 5px 8px;
  align-items: center;
  background-color: #fafbfc;
  border-radius: 8px;
  border: 1px solid #ecf0f7;
  margin-bottom: 8px;
  width: 100%;
}

.imt-search-box input {
  flex: 1;
  color: #ccc;
  font-family: "Noto Sans SC";
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  background-color: unset;
  border: none;
}

.imt-search-box input:focus {
  outline: none;
}

.imt-search-icon {
  margin-right: 4px;
}

.imt-dropdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 100%;
  background-color: #fff;
  border-radius: 12px;
  border: 1px solid #fafbfb;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.08);
  padding: 12px 16px;
  display: none;
}

.imt-dropdown ul {
  max-height: 550px;
  overflow-y: auto;
  text-align: left;
  padding: 0;
  margin: 0;
  width: 100%;
  /* Firefox */
  scrollbar-width: none;
  /* IE 10+ */
  -ms-overflow-style: none;
}

.imt-dropdown ul::-webkit-scrollbar {
  display: none;
}

.imt-dropdown li {
  flex: 1;
  display: flex;
  align-items: center;
  list-style: none;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  color: #333;
  padding: 5px 8px;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
  margin: 4px 0;
}

.imt-dropdown li:hover {
  background-color: #fafbfb;
}

.imt-dropdown li.active {
  background-color: #fafbfb;
}

.imt-dropdown li.disabled {
  background-color: white;
  color: #999;
  font-size: 12px;
}

/* Skeleton Loader Styles */
.skeleton-loader {
  padding: 0.5em 0;
}

.skeleton-text-line {
  background-color: #e0e0e0; /* Light gray background */
  border-radius: 4px;
  height: 1em; /* Approximate height of a line of text */
  margin-bottom: 0.75em; /* Space between lines */
  animation: pulse 1.5s infinite ease-in-out;
}

.skeleton-text-line:last-child {
  margin-bottom: 0;
}

/* Optional: Shorter line for variety */
.skeleton-text-line.short {
  width: 75%;
}

.skeleton-text-line.medium {
  width: 90%;
}

@keyframes pulse {
  0% {
    background-color: #e0e0e0;
  }
  50% {
    background-color: #d0d0d0; /* Slightly darker gray for pulse effect */
  }
  100% {
    background-color: #e0e0e0;
  }
}

/* \u81EA\u5B9A\u4E49\u62D6\u62FD\u624B\u67C4 (\u53EF\u9009\u4F7F\u7528) */
.textarea-resize-handle {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  background: linear-gradient(
    -45deg,
    transparent 0%,
    transparent 40%,
    #ccc 40%,
    #ccc 50%,
    transparent 50%,
    transparent 90%,
    #ccc 90%
  );
  cursor: nw-resize;
  border-bottom-right-radius: 12px;
}

.textarea-resize-handle:hover {
  background: linear-gradient(
    -45deg,
    transparent 0%,
    transparent 40%,
    #999 40%,
    #999 50%,
    transparent 50%,
    transparent 90%,
    #999 90%
  );
}

/* \u5982\u679C\u4F7F\u7528\u81EA\u5B9A\u4E49\u624B\u67C4\uFF0C\u9700\u8981\u4E3A translate-main \u6DFB\u52A0\u76F8\u5BF9\u5B9A\u4F4D */
.translate-main {
  border-radius: 12px;
  border: 0.5px solid #ecf0f7;
  display: flex;
  flex-direction: column;
  position: relative; /* \u4E3A\u4E86\u652F\u6301\u81EA\u5B9A\u4E49\u62D6\u62FD\u624B\u67C4\u7684\u7EDD\u5BF9\u5B9A\u4F4D */
}

.reward-center-popup {
  position: absolute;
  right: 4px;
  bottom: 45px;
  background-color: #333;
  color: #fff;
  font-family: "Noto Sans SC";
  border-radius: 8px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.25), 0 4px 8px 0 #fff;
  font-size: 14px;
}

.reward-center-triangle {
  position: absolute;
  right: 45%;
}

.popup-content {
  padding: 12px;
  position: relative;
  display: flex;
}

.popup-close-icon-wrapper {
  cursor: pointer;
  border-radius: 50%;
  background: var(--Brand-Grays-Gray3, #e6e6e6);
  position: absolute;
  right: -8px;
  top: -8px;
  display: flex;
  width: 14px;
  height: 14px;
  padding: 3.646px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
}
`,subscriptionActCss:`
.imt-sub-act-card {
  border-radius: 32px;
  background: #fff;
  font-family: var(--font-family, system-ui, "Noto Sans SC", sans-serif);
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 44px;
  left: 24px;
  width: 300px;
  z-index: 1000;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.10);
}

.imt-sub-act-banner {
  position: relative;
  min-height: 157px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 32px 32px 0 0;
}

.imt-sub-act-banner-bg {
  background: radial-gradient(60.32% 60.32% at 0% 100%, #E0C4F7 0%, rgba(224, 196, 247, 0.00) 100%), radial-gradient(71.16% 82.84% at 100% 0%, #E0C4F6 0%, rgba(224, 196, 246, 0.00) 100%), radial-gradient(54.76% 54.76% at 0% 6.8%, #AED5FF 0%, rgba(174, 213, 255, 0.00) 100%), radial-gradient(70.71% 70.71% at 50% 50%, #757ED8 0%, #8685D6 100%), #FFF;
  box-shadow: 0 -5px 30px 20px #FFF inset;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.imt-sub-act-banner-left,
.imt-sub-act-banner-right {
  position: absolute;
  pointer-events: none;
}

.imt-sub-act-banner-left {
  left: 16px;
  top: 20px;
}

.imt-sub-act-banner-right {
  right: 0;
}

.imt-sub-act-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.imt-sub-act-countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 16px;
}

.imt-sub-act-countdown-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #333;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
}

.imt-sub-act-countdown-item-separator {
  display: inline-flex;
  color: #333;
  font-weight: bold;
}

.imt-sub-act-banner-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 18px;
  font-weight: 600;
  color: #1b0a2c;
}

.imt-sub-act-banner-discount {
  font-size: 20px;
  color: #ff71b9;
}

.imt-sub-act-body {
  padding: 0 26px 26px;
  background: #fff;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  display: flex;
  flex-direction: column;
}

.imt-sub-act-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  flex-direction: column;
}

.imt-sub-act-price-month {
  font-size: 32px;
  font-weight: 700;
  color: #333;
}

.imt-sub-act-price-month span {
  background: linear-gradient(90deg, #00A6FF 0%, #C369FF 52.4%, #FF4590 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 32px;
}

.imt-sub-act-price-month .imt-sub-act-price-unit {
  font-size: 16px;
}

.imt-sub-act-price-yearly {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  font-size: 14px;
  color: #333;
  line-height: 1.2;
  gap: 4px;
}

.imt-sub-act-price-original {
  text-decoration: line-through;
  color: #8A8A8A;
}

.imt-sub-act-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.imt-sub-act-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
}

.imt-sub-act-point-icon {
  width: 16px;
  height: 16px;
}

.imt-sub-act-cta {
  border: none;
  padding: 12px 0;
  border-radius: 50px;
  background: linear-gradient(66deg, #333 19%, #666 94.25%);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  margin-top: 24px;
}

.imt-sub-act-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.imt-sub-act-cta-icon {
  width: 16px;
  height: 16px;
}


.imt-sub-act-close {
  position: absolute;
  top: -25px;
  right: -25px;
  padding: 8px;
  cursor: pointer;
}

.imt-sub-act-close img {
  width: 24px;
  height: 24px;
}
`,"reward-center.css":`.reward-center-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.reward-center-overlay.visible {
  opacity: 1;
}

.reward-center-drawer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80%;
  background-color: #F3F5F6;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  will-change: transform;
}

.reward-center-fixed-header {
  flex-shrink: 0; /* \u9632\u6B62\u5934\u90E8\u88AB\u538B\u7F29 */
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: inherit; /* \u7EE7\u627F\u80CC\u666F\u8272 */
  padding: 16px 16px 0 16px;
}

.reward-center-scrollable-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  margin-right: 4px; /* \u6EDA\u52A8\u6761\u4E0E\u53F3\u8FB9\u754C\u7684\u8DDD\u79BB */
}

/* \u7F8E\u5316\u6EDA\u52A8\u6761 */
.reward-center-scrollable-content::-webkit-scrollbar {
  width: 6px;
}

.reward-center-scrollable-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
}

.reward-center-scrollable-content::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  transition: background 0.3s ease;
}

.reward-center-scrollable-content::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}

/* Firefox \u6EDA\u52A8\u6761\u6837\u5F0F */
.reward-center-scrollable-content {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.05);
}

.reward-center-drawer.visible {
  transform: translateY(0);
}

.reward-center-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  margin-bottom: 8px;
}

.reward-center-header-left {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

.reward-center-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  line-height: 1.5;
  margin-left: 8px;
}

.reward-center-close-icon {
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  padding: 4px;
}

.reward-center-close-icon:hover {
  background-color: #F6F8F9;
}

.reward-center-description {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

.reward-center-card {
  padding: 16px;
  border-radius: 12px;
  background: #FFF;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.reward-center-card:last-child {
  margin-bottom: 0;
}

.reward-card-title {
  color: #333;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
  padding-bottom: 12px;
  border-bottom: 1px solid #ECF0F7;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reward-task-subtitle {
  color: #999;
  font-size: 12px;
  font-weight: 400;
  margin-left: 4px;
}

.reward-card-content {
  display: flex;
  flex-direction: column;
}

/* \u83B7\u5956\u8FDB\u5EA6\u9879\u6837\u5F0F */
.reward-progress-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.reward-progress-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reward-progress-label {
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}

.reward-progress-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reward-progress-value {
  color: #999;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}

.reward-progress-bar {
  width: 80px;
  height: 6px;
  border-radius: 4px;
  background-color: #F3F5F6;
  overflow: hidden;
}

.reward-progress-fill {
  height: 100%;
  background-color: #EA4C89;
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* \u4EFB\u52A1\u9879\u6837\u5F0F */
.reward-task-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.reward-task-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.reward-task-item.completed .reward-task-content {
  opacity: 0.3;
}

.reward-task-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
}

.reward-task-title {
  color: #333;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.reward-task-reward {
  color: #666;
  font-size: 12px;
  line-height: 1.5;
}

.reward-amount {
  background: linear-gradient(90deg, #FF9500 0%, #FF4545 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  margin:0 4px;
}

.reward-amount-advanced {
  background: linear-gradient(90deg, #00A6FF 0%, #C369FF 50%, #FF4590 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  margin:0 4px;
}

.reward-additional {
  color: #666;
}

/* \u4EFB\u52A1\u6309\u94AE\u6837\u5F0F */
.reward-task-button {
  background: #333;
  color: #FFF;
  border: none;
  border-radius: 20px;
  padding: 4px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 60px;
  display: flex;
  gap: 4px;
}

.reward-task-button:hover {
  background: #555;
}

.reward-task-button.disabled {
  background: #CCC;
  cursor: not-allowed;
}

.reward-task-button.disabled:hover {
  background: #CCC;
}

/* \u9886\u53D6\u6309\u94AE\u7279\u6B8A\u6837\u5F0F */
.reward-task-item .reward-task-button.claim {
  background: #EA4C89;
}

/* \u5DF2\u5B8C\u6210\u6309\u94AE\u6837\u5F0F */
.reward-task-item .reward-task-button.completed {
  background: #E8E8E8;
  color: #999;
  cursor: default;
}

/* \u5DF2\u5B8C\u6210\u4EFB\u52A1\u5206\u9694\u7B26\u6837\u5F0F */
.completed-tasks-divider {
  color: #ccc;
  font-size: 12px;
  padding: 8px 0;
  border-top: 1px solid #ECF0F7;
  position: relative;
  gap: 4px;
  display: flex;
  align-items: center;
}

.completed-tasks-divider.clickable {
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}

.completed-tasks-divider.clickable:hover {
  color: #666;
}

.completed-tasks-text {
  font-weight: 500;
}

.completed-tasks-arrow {
  transition: transform 0.2s ease;
}

.completed-tasks-arrow.expanded {
  transform: rotate(-180deg);
}

.reward-center-loading {
  --loading-color: #f78fb6;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: block;
  margin: 12px auto;
  position: relative;
  color: white;
  left: -100px;
  box-sizing: border-box;
  animation: ShadowRolling 1.5s linear infinite;
}

@keyframes ShadowRolling {
  0%, 100% {
    box-shadow: 0 0 rgba(255, 255, 255, 0);
  }
  12% {
    box-shadow: 100px 0 var(--loading-color);
  }
  25% {
    box-shadow: 110px 0 var(--loading-color), 100px 0 var(--loading-color);
  }
  36% {
    box-shadow: 120px 0 var(--loading-color), 110px 0 var(--loading-color), 100px 0 var(--loading-color);
  }
  50% {
    box-shadow: 130px 0 var(--loading-color), 120px 0 var(--loading-color), 110px 0 var(--loading-color), 100px 0 var(--loading-color);
  }
  62% {
    box-shadow: 130px 0 var(--loading-color), 120px 0 var(--loading-color), 110px 0 var(--loading-color);
  }
  75% {
    box-shadow: 130px 0 var(--loading-color), 120px 0 var(--loading-color);
  }
  87% {
    box-shadow: 130px 0 var(--loading-color);
  }
}

.reward-center-error {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 16px;
  word-break: break-all;
  color: #EA4C89;
}

.reward-center-footer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.reward-center-footer-text {
  font-size: 12px;
  color: #999;
  line-height: 1.5;
  cursor: pointer;
}

/* \u4EFB\u52A1 Loading \u8F6C\u5708\u52A8\u753B */
.reward-task-loading {
  display: flex;
  align-items: center;
  justify-content: center;
}

.reward-task-loading::before {
  content: '';
  width: 8px;
  height: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  animation: reward-task-spin 1s linear infinite;
}

@keyframes reward-task-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
`,"inject.css":`:root {
  --immersive-translate-theme-underline-borderColor: #72ece9;
  --immersive-translate-theme-nativeUnderline-borderColor: #72ece9;
  --immersive-translate-theme-nativeDashed-borderColor: #72ece9;
  --immersive-translate-theme-nativeDotted-borderColor: #72ece9;
  --immersive-translate-theme-highlight-backgroundColor: #ffff00;
  --immersive-translate-theme-dashed-borderColor: #59c1bd;
  --immersive-translate-theme-blockquote-borderColor: #cc3355;
  --immersive-translate-theme-thinDashed-borderColor: #ff374f;
  --immersive-translate-theme-dashedBorder-borderColor: #94a3b8;
  --immersive-translate-theme-dashedBorder-borderRadius: 0;
  --immersive-translate-theme-solidBorder-borderColor: #94a3b8;
  --immersive-translate-theme-solidBorder-borderRadius: 0;
  --immersive-translate-theme-dotted-borderColor: #94a3b8;
  --immersive-translate-theme-wavy-borderColor: #72ece9;
  --immersive-translate-theme-dividingLine-borderColor: #94a3b8;
  --immersive-translate-theme-grey-textColor: #2f4f4f;
  --immersive-translate-theme-marker-backgroundColor: #fbda41;
  --immersive-translate-theme-marker-backgroundColor-rgb: 251, 218, 65;
  --immersive-translate-theme-marker2-backgroundColor: #ffff00;
  --immersive-translate-theme-background-backgroundColor: #dbafaf;
  --immersive-translate-theme-background-backgroundColor-rgb: 219, 175, 175;
  --immersive-translate-theme-background-backgroundOpacity: 12;
  --immersive-translate-theme-opacity-opacity: 10;
}

[imt-state="dual"] .immersive-translate-target-translation-pre-whitespace {
  white-space: pre-wrap !important;
}

[imt-state="dual"] .immersive-translate-pdf-target-container {
  position: absolute;
  background-color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    sans-serif;
  top: 0;
  width: 600px;
  height: 100%;
  z-index: 2;
  line-height: 1.3;
  font-size: 16px;
}
[imt-state="dual"] .immersive-translate-target-wrapper[dir="rtl"] {
  text-align: right;
}

.immersive-translate-target-wrapper {
  font-feature-settings: normal;
}

[imt-state="dual"]
  .immersive-translate-pdf-target-container
  .immersive-translate-target-wrapper {
  color: rgb(0, 0, 0);
  white-space: normal;
  position: absolute;
}

[imt-state="dual"]
  .immersive-translate-pdf-target-container
  .immersive-translate-target-wrapper
  font {
  color: inherit;
  white-space: inherit;
  position: unset;
}

[imt-state="translation"] .immersive-translate-target-wrapper > br {
  display: none;
}

[imt-state="translation"]
  .immersive-translate-target-translation-block-wrapper {
  margin: 0 !important;
}

[imt-state="dual"] .immersive-translate-target-translation-block-wrapper {
  margin: 8px 0 !important;
  display: inline-block;
}

[imt-trans-position="before"]
  .immersive-translate-target-translation-block-wrapper {
  display: block;
}

[imt-trans-position="before"]
  .immersive-translate-target-translation-block-wrapper {
  margin-top: 0 !important;
}

[imt-state="dual"] .immersive-translate-target-translation-pdf-block-wrapper {
  margin: 0 !important;
  display: inline-block;
}

[imt-state="dual"] .immersive-translate-target-translation-theme-grey-inner {
  color: var(--immersive-translate-theme-grey-textColor);
}

[imt-state="dual"]
  .immersive-translate-target-translation-theme-underline-inner {
  border-bottom: 1px solid
    var(--immersive-translate-theme-underline-borderColor) !important;
}

[imt-state="dual"]
  .immersive-translate-target-translation-theme-nativeUnderline-inner {
  text-decoration: underline !important;
  text-decoration-color: var(
    --immersive-translate-theme-nativeUnderline-borderColor
  ) !important;
}

[imt-state="dual"]
  .immersive-translate-target-translation-block-wrapper-theme-dashedBorder {
  border: 1px dashed var(--immersive-translate-theme-dashedBorder-borderColor) !important;
  border-radius: var(
    --immersive-translate-theme-dashedBorder-borderRadius
  ) !important;
  padding: 6px;
  margin-top: 2px;
  display: inline-block;
}

[imt-state="dual"]
  .immersive-translate-target-translation-inline-wrapper-theme-dashedBorder {
  border: 1px dashed var(--immersive-translate-theme-dashedBorder-borderColor) !important;
  border-radius: var(
    --immersive-translate-theme-dashedBorder-borderRadius
  ) !important;
  padding: 2px;
}

[imt-state="dual"]
  .immersive-translate-target-translation-block-wrapper-theme-solidBorder {
  border: 1px solid var(--immersive-translate-theme-solidBorder-borderColor) !important;
  border-radius: var(
    --immersive-translate-theme-solidBorder-borderRadius
  ) !important;
  padding: 6px;
  margin-top: 2px;
  display: inline-block;
}

[imt-state="dual"]
  .immersive-translate-target-translation-inline-wrapper-theme-solidBorder {
  border: 1px solid var(--immersive-translate-theme-solidBorder-borderColor) !important;
  border-radius: var(
    --immersive-translate-theme-solidBorder-borderRadius
  ) !important;
  padding: 2px;
}

[imt-state="dual"]
  .immersive-translate-target-translation-theme-nativeDashed-inner {
  text-decoration: underline !important;
  text-decoration-color: var(
    --immersive-translate-theme-nativeDashed-borderColor
  ) !important;
  text-decoration-style: dashed !important;
}

[imt-state="dual"]
  .immersive-translate-target-translation-theme-thinDashed-inner {
  border-bottom: 1px dashed
    var(--immersive-translate-theme-thinDashed-borderColor) !important;
}

[imt-state="dual"] .immersive-translate-target-translation-theme-dotted-inner {
  background-image: linear-gradient(
    to right,
    var(--immersive-translate-theme-dotted-borderColor) 30%,
    rgba(255, 255, 255, 0) 0%
  );
  background-position: bottom;
  background-size: 5px 1px;
  background-repeat: repeat-x;
  padding-bottom: 3px;
}

[imt-state="dual"]
  .immersive-translate-target-translation-theme-nativeDotted-inner {
  text-decoration: underline !important;
  text-decoration-color: var(
    --immersive-translate-theme-nativeDotted-borderColor
  ) !important;
  text-decoration-style: dotted !important;
}

[imt-state="dual"] .immersive-translate-target-translation-theme-wavy-inner {
  text-decoration: underline !important;
  text-decoration-color: var(
    --immersive-translate-theme-wavy-borderColor
  ) !important;
  text-decoration-style: wavy !important;
}

[imt-state="dual"] .immersive-translate-target-translation-theme-dashed-inner {
  background: linear-gradient(
      to right,
      var(--immersive-translate-theme-dashed-borderColor) 0%,
      var(--immersive-translate-theme-dashed-borderColor) 50%,
      transparent 50%,
      transparent 100%
    )
    repeat-x left bottom;
  background-size: 8px 2px;
  padding-bottom: 2px;
}

[imt-state="dual"]
  .immersive-translate-target-translation-block-wrapper-theme-dividingLine::before {
  content: "";
  display: block;
  max-width: 80px;
  width: 10%;
  border-top: 1px dashed
    var(--immersive-translate-theme-dividingLine-borderColor);
  padding-top: 8px;
}

[imt-state="dual"]
  .immersive-translate-target-translation-inline-wrapper-theme-dividingLine::before {
  content: "";
  border-left: 1px dashed
    var(--immersive-translate-theme-dividingLine-borderColor);
  max-height: 16px;
  height: 16px;
  padding-left: 8px;
}

[imt-state="dual"]
  .immersive-translate-target-translation-theme-highlight-inner {
  background: var(--immersive-translate-theme-highlight-backgroundColor);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

[imt-state="dual"]
  .immersive-translate-target-translation-block-wrapper-theme-marker {
  line-height: 1.5em;
}

[imt-state="dual"] .immersive-translate-target-translation-theme-marker2-inner {
  font-weight: bold;
  text-shadow: 10px 0px 3px
      var(--immersive-translate-theme-marker2-backgroundColor),
    16px 3px 9px var(--immersive-translate-theme-marker2-backgroundColor),
    2px 0px 6px var(--immersive-translate-theme-marker2-backgroundColor),
    -12px 0px 12px var(--immersive-translate-theme-marker2-backgroundColor) !important;
}

[imt-state="dual"] .immersive-translate-target-translation-theme-marker-inner {
  /* TODO: add more texture */
  background: linear-gradient(
    to right,
    rgba(var(--immersive-translate-theme-marker-backgroundColor-rgb), 0.1),
    rgba(var(--immersive-translate-theme-marker-backgroundColor-rgb), 0.9) 3%,
    rgba(var(--immersive-translate-theme-marker-backgroundColor-rgb), 0.9) 35%,
    rgba(var(--immersive-translate-theme-marker-backgroundColor-rgb), 0.9) 70%,
    rgba(var(--immersive-translate-theme-marker-backgroundColor-rgb), 0.8) 95%,
    rgba(var(--immersive-translate-theme-marker-backgroundColor-rgb), 0.3)
  );
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

[imt-state="dual"] .immersive-translate-target-translation-theme-weakening {
  opacity: 0.618 !important;
}

[imt-state="dual"] .immersive-translate-target-translation-theme-italic {
  font-style: italic !important;
}

[imt-state="dual"] .immersive-translate-target-translation-theme-bold {
  font-weight: bold !important;
}

[imt-state="dual"]
  .immersive-translate-target-translation-block-wrapper-theme-paper {
  margin: 8px 0;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  padding: 16px 32px;
  display: inline-block;
}

[imt-state="dual"]
  .immersive-translate-target-translation-block-wrapper-theme-blockquote {
  border-left: 4px solid var(--immersive-translate-theme-blockquote-borderColor) !important;
  padding-left: 12px !important;
  margin-top: 4px;
  margin-bottom: 4px;
  padding-top: 4px;
  padding-bottom: 4px;
  display: inline-block;
}

[imt-state="dual"] .immersive-translate-target-translation-theme-mask-inner {
  filter: blur(5px) !important;
  transition: filter 0.3s ease !important;
  border-radius: 10px;
  display: inline-block;
}

[data-immersive-translate-root-translation-theme="none"]
  .immersive-translate-target-translation-theme-mask-inner {
  filter: none !important;
}

[data-immersive-translate-root-translation-theme="mask"]
  .immersive-translate-target-inner {
  filter: blur(5px) !important;
  transition: filter 0.3s ease !important;
  border-radius: 10px;
  display: inline-block;
}

/* opacity theme start */

[imt-state="dual"] .immersive-translate-target-translation-theme-opacity-inner {
  filter: opacity(
    calc(var(--immersive-translate-theme-opacity-opacity) * 1%)
  ) !important;
  transition: filter 0.3s ease !important;
  border-radius: 10px;
  display: inline-block;
}

[data-immersive-translate-root-translation-theme="none"]
  .immersive-translate-target-translation-theme-opacity-inner {
  filter: none !important;
}
[data-immersive-translate-root-translation-theme="opacity"]
  .immersive-translate-target-inner,
[imt-state="dual"]
  .immersive-translate-target-translation-theme-opacity-inner:hover {
  filter: opacity(
    calc(var(--immersive-translate-theme-opacity-opacity) * 1%)
  ) !important;
  transition: filter 0.3s ease !important;
  border-radius: 10px;
  display: inline-block;
}

[imt-state="dual"]
  .immersive-translate-target-translation-theme-opacity-inner:hover {
  filter: none !important;
}

[imt-state="dual"]
  .immersive-translate-target-translation-theme-mask-inner:hover {
  filter: none !important;
}
[data-immersive-translate-root-translation-theme="opacity"]
  .immersive-translate-target-inner:hover {
  filter: none !important;
}

[data-immersive-translate-root-translation-theme="mask"]
  .immersive-translate-target-inner:hover {
  filter: none !important;
}

/* opacity theme end */

/* background theme start */
[imt-state="dual"]
  .immersive-translate-target-translation-block-wrapper-theme-background {
  margin: 8px 0;
  background: rgba(
    var(--immersive-translate-theme-background-backgroundColor-rgb),
    calc(var(--immersive-translate-theme-background-backgroundOpacity) * 1%)
  );
  border-radius: 4px;
  box-shadow: unset !important;
  padding: 12px;
  display: inline-block;
}
[imt-state="dual"]
  .immersive-translate-target-translation-theme-background-inner {
  background: rgba(
    var(--immersive-translate-theme-background-backgroundColor-rgb),
    calc(var(--immersive-translate-theme-background-backgroundOpacity) * 1%)
  );
  padding-left: 6px;
  padding-right: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
[imt-state="dual"]
  .immersive-translate-target-translation-block-wrapper
  .immersive-translate-target-translation-theme-background-inner {
  background: unset;
  padding-left: unset;
  padding-right: unset;
}
/* background theme end */

/* vertical css , please remain it in the last one. */
.immersive-translate-target-translation-vertical-block-wrapper {
  margin: 0px 8px !important;
}

.immersive-translate-text {
  font-size: 15px !important;
}

.immersive-translate-error-toast {
  position: fixed;
  top: 5%;
  z-index: 99999999;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 300px;
  padding: 16px;
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

@media all and (min-width: 750px) {
  .immersive-translate-error-toast {
    max-width: 400px;
  }
}

.immersive-translate-clickable-button {
  cursor: pointer;
}

.immersive-translate-help-button {
  cursor: pointer;
}

.immersive-translate-loading-text:before {
  content: "...";
}

/* dark mode for loading */

@media only screen and (prefers-color-scheme: dark) {
  .immersive-translate-loading {
    border: 2px rgba(255, 255, 255, 0.25) solid !important;
    border-top: 2px rgba(255, 255, 255, 1) solid !important;
  }
}

.immersive-translate-error-wrapper {
  position: relative;
  display: inline-flex;
  padding: 6px;
  margin: 0 12px;
  white-space: nowrap;
  font-size: 0.9em;
}
[lang="zh-CN"] .immersive-translate-error-wrapper {
  font-size: 0.75em;
}
[lang="zh-TW"] .immersive-translate-error-wrapper {
  font-size: 0.75em;
}

.immersive-translate-tooltip {
  position: relative;
  display: inline-flex;
  /* little indicater to indicate it's hoverable */
}

.immersive-translate-tooltip-content {
  /* here's the magic */
  position: absolute;
  z-index: 100000000000;

  left: 50%;
  bottom: 0;
  transform: translate(-50%, 110%);
  line-height: 1;
  /* and add a small left margin */

  /* basic styles */
  width: max-content;
  max-width: 250px;
  word-wrap: break-word;
  white-space: pre-line;
  padding: 10px;
  border-radius: 10px;
  background: #000c;
  color: #fff;
  text-align: center;
  font-size: 14px;
  display: none;
  /* hide by default */
}

.immersive-translate-tooltip:hover .immersive-translate-tooltip-content {
  display: inline-block;
}

.immersive-translate-tooltip:hover + .immersive-translate-tooltip-content {
  display: inline-block;
}

.immersive-translate-tooltip-content-table {
  left: unset !important;
  bottom: unset !important;
  transform: translate(-10%, 50%) !important;
}

.immersive-translate-tooltip:hover:before {
  display: inline-block;
}

.immersive-translate-loading-spinner {
  vertical-align: middle !important;
  width: 10px !important;
  height: 10px !important;
  display: inline-block !important;
  margin: 0 4px !important;
  border: 2px rgba(221, 244, 255, 0.6) solid !important;
  border-top: 2px rgba(0, 0, 0, 0.375) solid !important;
  border-left: 2px rgba(0, 0, 0, 0.375) solid !important;
  border-radius: 50% !important;
  padding: 0 !important;
  -webkit-animation: immersive-translate-loading-animation 0.6s infinite linear !important;
  animation: immersive-translate-loading-animation 0.6s infinite linear !important;
}

@-webkit-keyframes immersive-translate-loading-animation {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(359deg);
  }
}

@keyframes immersive-translate-loading-animation {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(359deg);
  }
}

.imt-image-status {
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--bg-2, #fff);
  font-size: 14px;
}
`,"input.css":`.immersive-translate-input {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 2147483647;
  display: flex;
  justify-content: center;
  align-items: center;
}
.immersive-translate-attach-loading::after {
  content: " ";

  --loading-color: #f78fb6;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: block;
  margin: 12px auto;
  position: relative;
  color: white;
  left: -100px;
  box-sizing: border-box;
  animation: immersiveTranslateShadowRolling 1.5s linear infinite;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-2000%, -50%);
  z-index: 100;
}

.immersive-translate-loading-spinner {
  vertical-align: middle !important;
  width: 10px !important;
  height: 10px !important;
  display: inline-block !important;
  margin: 0 4px !important;
  border: 2px rgba(221, 244, 255, 0.6) solid !important;
  border-top: 2px rgba(0, 0, 0, 0.375) solid !important;
  border-left: 2px rgba(0, 0, 0, 0.375) solid !important;
  border-radius: 50% !important;
  padding: 0 !important;
  -webkit-animation: immersive-translate-loading-animation 0.6s infinite linear !important;
  animation: immersive-translate-loading-animation 0.6s infinite linear !important;
}

@-webkit-keyframes immersive-translate-loading-animation {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(359deg);
  }
}

@keyframes immersive-translate-loading-animation {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(359deg);
  }
}

.immersive-translate-input-loading {
  --loading-color: #f78fb6;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: block;
  margin: 12px auto;
  position: relative;
  color: white;
  left: -100px;
  box-sizing: border-box;
  animation: immersiveTranslateShadowRolling 1.5s linear infinite;
}

@keyframes immersiveTranslateShadowRolling {
  0% {
    box-shadow: 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0),
      0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0);
  }

  12% {
    box-shadow: 100px 0 var(--loading-color), 0px 0 rgba(255, 255, 255, 0),
      0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0);
  }

  25% {
    box-shadow: 110px 0 var(--loading-color), 100px 0 var(--loading-color),
      0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0);
  }

  36% {
    box-shadow: 120px 0 var(--loading-color), 110px 0 var(--loading-color),
      100px 0 var(--loading-color), 0px 0 rgba(255, 255, 255, 0);
  }

  50% {
    box-shadow: 130px 0 var(--loading-color), 120px 0 var(--loading-color),
      110px 0 var(--loading-color), 100px 0 var(--loading-color);
  }

  62% {
    box-shadow: 200px 0 rgba(255, 255, 255, 0), 130px 0 var(--loading-color),
      120px 0 var(--loading-color), 110px 0 var(--loading-color);
  }

  75% {
    box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0),
      130px 0 var(--loading-color), 120px 0 var(--loading-color);
  }

  87% {
    box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0),
      200px 0 rgba(255, 255, 255, 0), 130px 0 var(--loading-color);
  }

  100% {
    box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0),
      200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0);
  }
}

.immersive-translate-modal {
  position: fixed;
  z-index: 2147483647;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  font-size: 15px;
}

.immersive-translate-modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 40px 24px 24px;
  border-radius: 12px;
  width: 350px;
  font-family: system-ui, -apple-system, "Segoe UI", "Roboto", "Ubuntu",
    "Cantarell", "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
  position: relative;
}

@media screen and (max-width: 768px) {
  .immersive-translate-modal-content {
    margin: 25% auto !important;
  }
}

@media screen and (max-width: 480px) {
  .immersive-translate-modal-content {
    width: 80vw !important;
    margin: 20vh auto !important;
    padding: 20px 12px 12px !important;
  }

  .immersive-translate-modal-title {
    font-size: 14px !important;
  }

  .immersive-translate-modal-body {
    font-size: 13px !important;
    max-height: 60vh !important;
  }

  .immersive-translate-btn {
    font-size: 13px !important;
    padding: 8px 16px !important;
    margin: 0 4px !important;
  }

  .immersive-translate-modal-footer {
    gap: 6px !important;
    margin-top: 16px !important;
  }
}

.immersive-translate-modal .immersive-translate-modal-content-in-input {
  max-width: 500px;
}
.immersive-translate-modal-content-in-input .immersive-translate-modal-body {
  text-align: left;
  max-height: unset;
}

.immersive-translate-modal-title {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #333333;
}

.immersive-translate-modal-body {
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  color: #333333;
  margin-top: 24px;
}

@media screen and (max-width: 768px) {
  .immersive-translate-modal-body {
    max-height: 250px;
    overflow-y: auto;
  }
}

.immersive-translate-close {
  color: #666666;
  position: absolute;
  right: 16px;
  top: 16px;
  font-size: 20px;
  font-weight: bold;
}

.immersive-translate-close:hover,
.immersive-translate-close:focus {
  text-decoration: none;
  cursor: pointer;
}

.immersive-translate-modal-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.immersive-translate-btn {
  width: fit-content;
  color: #fff;
  background-color: #ea4c89;
  border: none;
  font-size: 14px;
  margin: 0 8px;
  padding: 9px 30px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.immersive-translate-btn-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.immersive-translate-btn:hover {
  background-color: #f082ac;
}
.immersive-translate-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.immersive-translate-btn:disabled:hover {
  background-color: #ea4c89;
}

.immersive-translate-link-btn {
  background-color: transparent;
  color: #ea4c89;
  border: none;
  cursor: pointer;
  height: 30px;
  line-height: 30px;
}

.immersive-translate-cancel-btn {
  /* gray color */
  background-color: rgb(89, 107, 120);
}

.immersive-translate-cancel-btn:hover {
  background-color: hsl(205, 20%, 32%);
}

.immersive-translate-action-btn {
  background-color: transparent;
  color: #ea4c89;
  border: 1px solid #ea4c89;
}

.immersive-translate-btn svg {
  margin-right: 5px;
}

.immersive-translate-link {
  cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;
  text-decoration: none;
  color: #ea4c89;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

.immersive-translate-primary-link {
  cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;
  text-decoration: none;
  color: #ea4c89;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

.immersive-translate-modal input[type="radio"] {
  margin: 0 6px;
  cursor: pointer;
}

.immersive-translate-modal label {
  cursor: pointer;
}

.immersive-translate-close-action {
  position: absolute;
  top: 2px;
  right: 0px;
  cursor: pointer;
}

.imt-primary-button {
  display: flex;
  padding: 12px 80px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: #ea4c89;
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  border: none;
  cursor: pointer;
}

.imt-retry-text {
  color: #999;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px;
  cursor: pointer;
}

.imt-action-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.imt-modal-content-text {
  text-align: left;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.imt-linear-gradient-text {
  background: linear-gradient(90deg, #00a6ff 0%, #c369ff 52.4%, #ff4590 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.imt-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.imt-linear-black-btn {
  border-radius: 50px;
  background: linear-gradient(66deg, #222 19%, #696969 94.25%);
  height: 48px;
  width: 100%;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  cursor: pointer;
  justify-content: center;
}
`,"image_tools.css":`.imt-image-tools {
  display: flex;
  position: fixed;
  flex-direction: row;
  align-items: center;
  z-index: 2147483647;
}

.imt-image-translate-button {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background-color: #00000099;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  cursor: pointer;
}

.imt-fb-logo-img {
  width: 14px;
  height: 14px;
  margin: 0;
}

.close-button {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 24px;
  height: 24px;
  padding: 5px;
  line-height: 0;
  display: none;
  cursor: pointer;
}

.imt-image-tools:hover .close-button {
  display: block;
}

.translated-icon {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 8px;
  height: 8px;
}

.immersive-translate-loading-spinner {
  vertical-align: middle !important;
  width: 10px !important;
  height: 10px !important;
  display: inline-block !important;
  margin: 0 4px !important;
  border: 2px rgba(221, 244, 255, 0.6) solid !important;
  border-top: 2px rgba(0, 0, 0, 0.375) solid !important;
  border-left: 2px rgba(0, 0, 0, 0.375) solid !important;
  border-radius: 50% !important;
  padding: 0 !important;
  -webkit-animation: immersive-translate-loading-animation 0.6s infinite linear !important;
  animation: immersive-translate-loading-animation 0.6s infinite linear !important;
}

@-webkit-keyframes immersive-translate-loading-animation {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(359deg);
  }
}

@keyframes immersive-translate-loading-animation {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(359deg);
  }
}
`,"attach_subtitle.css":`.imt-caption-container {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 2147483647;
}

.imt-caption-window {
  pointer-events: auto;
  position: absolute;
  width: 90%;
  left: 5%;
  bottom: 30px;
  cursor: move;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.imt-captions-text {
  display: flex;
  bottom: 20px;
  color: white;
  border-radius: 6px;
  text-align: center;
  white-space: pre-wrap;
  line-height: 1.5;
  align-items: center;
}

.imt-cue {
  padding: 0 12px;
  cursor: text;
  user-select: text;
  -webkit-user-select:text;
}

.imt-translation-style-mask {
  filter: blur(5px);
  transition: filter 0.3s ease;
}

.imt-translation-style-mask:hover {
  filter: none;
}

@media (max-width: 768px) {
  .imt-cue {
    cursor: unset;
  }
}
`,videoSubtitleInject:'(()=>{var m="imt-subtitle-inject",p=class{from;to;constructor(t,r){this.from=t,this.to=r}sendMessages(t){globalThis.postMessage({eventType:m,to:this.to,from:this.from,type:t.type,data:t.data,id:t.id||new Date().getTime(),isAsync:!1})}getRandomId(){return(new Date().getTime()+Math.random())*Math.random()}sendAsyncMessages({type:t,data:r}){return new Promise(e=>{let n=this.getRandomId();globalThis.postMessage({eventType:m,to:this.to,from:this.from,type:t,data:r,id:n,isAsync:!0});let i=a=>{let u=a.data;m===u.eventType&&u.id===n&&u.to===this.from&&(e(u.data),globalThis.removeEventListener("message",i))};globalThis.addEventListener("message",i)})}handleMessageOnce(t){return new Promise(r=>{let e=n=>{let i=n.data;m===i.eventType&&i.type===t&&i.to===this.from&&(r(i.data),globalThis.removeEventListener("message",e))};globalThis.addEventListener("message",e)})}handleMessage(t,r){let e=n=>{let i=n.data;m===i.eventType&&i.type===t&&i.to===this.from&&r(i)};return globalThis.addEventListener("message",e),()=>{globalThis.removeEventListener("message",e)}}handleMessages(t){let r=({data:e})=>{m===e.eventType&&e.to===this.from&&t(e)};return globalThis.addEventListener("message",r),()=>{globalThis.removeEventListener("message",r)}}},_=new p("content-script","inject"),f=new p("inject","content-script"),E={get(s,t,r){return t in s?(...e)=>{let n=s[t];return typeof n=="function"?n.apply(s,e):Reflect.get(s,t,r)}:e=>s.sendAsyncMessages({type:t,data:e})}},y=new Proxy(f,E),C=new Proxy(_,E);function g(s){if(!s)return null;try{let t=s;return s.startsWith("//")?t=globalThis.location.protocol+s:s.startsWith("/")?t=`${globalThis.location.protocol}//${globalThis.location.host}${s}`:s.startsWith("http")||(t=`${globalThis.location.protocol}//${s}`),new URL(t).toString()}catch{return s}}var o=class{content=y;config;constructor(t){this.config=t,f.handleMessages(async({type:r,id:e,data:n})=>{let i=this[r];if(!i)return;let a=i.apply(this,[n]);a instanceof Promise&&(a=await a),f.sendMessages({id:e,data:a})})}triggerSubtitle(t){}async translateSubtitle(t){let r=await this.content.requestSubtitle({url:g(t._url)});if(r){if(this.config.responseType=="document"){let n=new DOMParser().parseFromString(r,"text/xml");Object.defineProperty(t,"responseXML",{value:n,writable:!1}),Object.defineProperty(t,"response",{value:n,writable:!1});return}let e=r;(t.responseType=="arraybuffer"||this.config.responseType=="arraybuffer")&&typeof r=="string"&&(e=new TextEncoder().encode(r).buffer),Object.defineProperty(t,"responseText",{value:e,writable:!1}),Object.defineProperty(t,"response",{value:e,writable:!1})}}async translateSubtitleWithResponse(t,r){return await this.content.requestSubtitle({url:g(t),responseText:r})}startRequestSubtitle(t){this.content.startRequestSubtitle({url:g(t)})}subtitleRequestError(t){this.content.subtitleRequestError({...t,url:g(t.url)})}async isOnlyResponse(){return this.config.hookType.includes("xhr_response")}async translateSubtitleWithFetch(t,r){let e={...r},n;return typeof t=="string"?n={url:t,method:"GET",headers:{}}:n=await D(t),e?.body&&(e.body=I(e.body)),this.content.requestSubtitle({fetchInfo:JSON.stringify({input:n,options:e})})}async getVideoMeta(t){}getCurrentTime(){return null}getCurrentDuration(){return null}isSubtitleRequest(t){return!this.config||!this.config.subtitleUrlRegExp||!t?!1:new RegExp(this.config.subtitleUrlRegExp).test(t||"")}};function D(s){if(s instanceof URL)return{url:s.href,method:"GET",headers:{}};let t=s.clone(),r={url:s.url,method:s.method,headers:Object.fromEntries(s.headers.entries())};if(t.body){let e=I(t.body);if(t.body!==e)return t.text().then(n=>(r.body=n,r));r.body=e}return Promise.resolve(r)}function I(s){if(!s)return s;if(s instanceof FormData||s instanceof URLSearchParams){let t={};for(let[r,e]of s.entries())t[r]=e;return t._formatBodyType="FormData",t}return s}var b=class extends o{timer=null;triggerSubtitle({force:t}){setTimeout(()=>{if(this.config?.subtitleButtonSelector){let r=document.querySelector(this.config.subtitleButtonSelector);if(r){let e=r.getAttribute("aria-pressed")==="true";e&&t?(r.click(),setTimeout(()=>{r.click()},100)):e||r.click();return}}if(this.config?.videoPlayerSelector){let r=document.querySelector(this.config.videoPlayerSelector);r?.toggleSubtitles(),setTimeout(()=>{r?.toggleSubtitles()},100)}},1e3)}async getVideoMeta(){if(!this.config.videoPlayerSelector)return null;try{return await this.sleep(100),document.querySelector(this.config.videoPlayerSelector)?.getPlayerResponse()}catch{return null}}async isOnlyResponse(){let t=await super.isOnlyResponse();return!t||(await this.getVideoMeta())?.videoDetails?.isLive?!1:t}getCurrentTime(){try{return this.config.videoPlayerSelector?document.querySelector(this.config.videoPlayerSelector)?.getCurrentTime():null}catch{return null}}getCurrentDuration(){try{return this.config.videoPlayerSelector?document.querySelector(this.config.videoPlayerSelector)?.getDuration():null}catch{return null}}sleep(t){return new Promise(r=>{setTimeout(()=>{r(null)},t)})}};var S=class extends o{timer=null;videoMeta={};lastVideoMeta=null;constructor(t){super(t),this.hookJSON()}hookJSON(){let t=JSON.parse;JSON.parse=r=>{let e=t(r);try{e&&e.result&&e.result.timedtexttracks&&e.result.movieId&&(this.videoMeta[e.result.movieId]=e.result,this.lastVideoMeta=e.result)}catch{}return e}}getVideoMeta(t){return this.lastVideoMeta}};var R=class extends o{timer=null;videoMeta={};constructor(t){super(t),this.hookJSON()}hookJSON(){let t=JSON.parse;JSON.parse=r=>{let e=t(r);try{e?.asset?.captions?.length?this.videoMeta[e.id]=e?.asset:e?.previews&&e?.course&&e?.previews?.forEach(n=>{this.videoMeta[n.id]=n})}catch{}return e}}getVideoMeta(t){return this.videoMeta[t]}};var v=class extends o{timer=null;videoMeta={};constructor(t){super(t),this.hookJSON()}hookJSON(){let t=JSON.parse;JSON.parse=r=>{let e=t(r);try{if(e?.stream?.sources?.length&&e?.stream?.sources[0]?.complete?.url){let n=window.location.pathname.split("/");n.length>2&&n[n.length-2]==="video"&&(this.videoMeta[n[n.length-1]]=e.stream.sources[0].complete.url)}}catch{}return e}}getVideoMeta(t){return this.videoMeta[t]}};var M=class extends o{constructor(t){super(t)}async translateSubtitleWithFetch(t,r){this.main(t,r)}async main(t,r){let e=globalThis.__originalFetch;if(!e)return;let n=t;t instanceof Request&&(n=t.clone());let i=await e(n,r);if(!i.ok)return;let a=await i.json();a.transcripts_urls&&this.requestSubtitle(a.transcripts_urls)}async requestSubtitle(t){await l(),await this.content.requestSubtitle(t)}};var T=class extends o{constructor(t){super(t)}lang="";async translateSubtitleWithFetch(t,r){this.main(t,r)}async main(t,r){let e=globalThis.__originalFetch;if(!e)return;let n=this.getUrl(t);return/textstream_/.test(n)?this.parseLang(n):this.parseAllSubs(t,r,e)}getUrl(t){return t.toString()}async parseLang(t){let e=t.match(/textstream_(\\w+)=/)?.[1];return!e||e==this.lang||(this.lang=e,await l(),this.content.changeLang(e)),null}async parseAllSubs(t,r,e){if(!e)return;let n=t;t instanceof Request&&(n=t.clone());let i=await e(n,r);if(!i.ok)return;let a=await i.json();a.text_track_urls&&this.requestSubtitle(a.text_track_urls)}async requestSubtitle(t){await l(),await this.content.requestSubtitle(t)}};var w=class extends o{requestedSubtitleUrls=new Set;constructor(t){super(t),t.id=="ted"&&this.ted()}ted(){try{let r=document.querySelector("#__NEXT_DATA__")?.textContent;if(!r)return;let n=JSON.parse(r)?.props?.pageProps?.videoData;if(!n)return;let i=n.playerData;if(!i)return;let a=typeof i=="string"?JSON.parse(i):i,u=a?.resources?.hls?.metadata,h=a?.languages;if(!u||!Array.isArray(h))return;let c=new URL(u,window.location.href);h.forEach(({languageCode:q})=>{if(!q)return;let j=q.toLowerCase(),L=c.pathname.replace(/metadata\\.json$/,`subtitles/${j}/full.vtt`);if(L===c.pathname)return;let P=`${c.origin}${L}${c.search}`;this.requestedSubtitleUrls.has(P)||(this.requestedSubtitleUrls.add(P),this.requestSubtitle(P).catch(k=>{}))})}catch{}}async requestSubtitle(t){await l(),await this.translateSubtitleWithFetch(t)}};var O={hookRequest:()=>{}};async function U(){let s=await f.sendAsyncMessages({type:"getConfig"});if(!s)return;let r={youtube:b,netflix:S,webvtt:o,khanacademy:o,udemy:R,general:o,ebutt:o,hulu:M,mubi:T,edx:o,disneyplus:v,"fmp4.xml":o,multi_attach_vtt:w,twitter:o,subsrt:o,xml:o,text_track_dynamic:o,av:o}[s.type||""];if(!r)return;let e=new r(s);O.hookRequest(e,s)}O.hookRequest=(s,t)=>{if(t.hookType.includes("xhr")){let r=XMLHttpRequest.prototype.open,e=XMLHttpRequest.prototype.send,n=function(){return this._url=typeof arguments[1]=="string"?arguments[1]:arguments[1]?.href,r.apply(this,arguments)},i=async function(){let a=this._url,u=s.isSubtitleRequest(a);return!a||!u?e.apply(this,arguments):(await s.isOnlyResponse()?(s.startRequestSubtitle(a),this.onreadystatechange=async()=>{let c=XMLHttpRequest.DONE;typeof c>"u"&&(c=4),this.readyState===c&&this.status===429&&s.subtitleRequestError({url:a,responseStatus:this.status}),this.readyState===c&&this.status===200&&await l()&&s.translateSubtitleWithResponse(a,this.responseText)}):await l()&&await s.translateSubtitle(this),e.apply(this,arguments))};Object.defineProperty(XMLHttpRequest.prototype,"open",{value:n,writable:!0}),Object.defineProperty(XMLHttpRequest.prototype,"send",{value:i,writable:!0})}if(t.hookType.includes("fetch")){let r=globalThis.fetch;globalThis.__originalFetch=r,globalThis.fetch=async function(e,n){let i=typeof e=="string"?e:e.url||e.href;if(!s.isSubtitleRequest(i))return r(e,n);if(await l()){let h=await s.translateSubtitleWithFetch(e,n);return h?new Response(h):r(e,n)}return r(e,n)}}};var x=!1;function l(){if(!x){let s=f.handleMessageOnce("contentReady").then(()=>(x=!0,!0));return y.isContentReady(),Promise.race([s,new Promise(t=>{setTimeout(()=>{t(!1)},5e3)})])}return Promise.resolve(x)}l();U();})();\n',imageInject:`(()=>{URL.revokeObjectURL=function(t){return!0};var c=CanvasRenderingContext2D.prototype.drawImage,r={};CanvasRenderingContext2D.prototype.drawImage=function(...t){if(t[1]+t[2]+t[3]+t[4]==0)return null;let n=this.canvas;if(t[0]instanceof HTMLCanvasElement){let e=t[0].url,i=t[0].args;n.args=i,n.url=e;let a=t[0].width,s=t[0].height;e&&i&&setTimeout(()=>{let o={url:e,args:i,width:a,height:s};n.setAttribute("data",btoa(JSON.stringify(o)))},1e3)}else if(t[0]instanceof HTMLImageElement){let e=t[0].src;if(this.canvas.url==e){let i=[...this.canvas.args,t.slice(1)];this.canvas.args=i}else this.canvas.url=e,this.canvas.args=[t.slice(1)];clearTimeout(r[e]),r[e]=setTimeout(()=>{let i=n.args,a=n.url;if(i.length<2)return null;let s={url:a,args:i,width:n.width,height:n.height};n.setAttribute("data",btoa(JSON.stringify(s)))},1e3)}return c.apply(this,t)};})();
`};var rB=Object.create,Z1=Object.defineProperty,iB=Object.getOwnPropertyDescriptor,c5=Object.getOwnPropertyNames,aB=Object.getPrototypeOf,oB=Object.prototype.hasOwnProperty,sB=(e,t)=>function(){return t||(0,e[c5(e)[0]])((t={exports:{}}).exports,t),t.exports},uB=(e,t)=>{for(var n in t)Z1(e,n,{get:t[n],enumerable:!0})},Y1=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of c5(t))!oB.call(e,i)&&i!==n&&Z1(e,i,{get:()=>t[i],enumerable:!(r=iB(t,i))||r.enumerable});return e},lB=(e,t,n)=>(Y1(e,t,"default"),n&&Y1(n,t,"default")),d5=(e,t,n)=>(n=e!=null?rB(aB(e)):{},Y1(t||!e||!e.__esModule?Z1(n,"default",{value:e,enumerable:!0}):n,e)),g5=sB({"../esmd/npm/webextension-polyfill@0.10.0/node_modules/.pnpm/webextension-polyfill@0.10.0/node_modules/webextension-polyfill/dist/browser-polyfill.js"(e,t){(function(n,r){if(typeof define=="function"&&define.amd)define("webextension-polyfill",["module"],r);else if(typeof e<"u")r(t);else{var i={exports:{}};r(i),n.browser=i.exports}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:e,function(n){"use strict";if(!globalThis.chrome?.runtime?.id)throw new Error("This script should only be loaded in a browser extension.");if(typeof globalThis.browser>"u"||Object.getPrototypeOf(globalThis.browser)!==Object.prototype){let r="The message port closed before a response was received.",i=a=>{let o={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0},elements:{createSidebarPane:{minArgs:1,maxArgs:1}}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},goBack:{minArgs:0,maxArgs:1},goForward:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(Object.keys(o).length===0)throw new Error("api-metadata.json has not been included in browser-polyfill");class s extends WeakMap{constructor(E,A=void 0){super(A),this.createItem=E}get(E){return this.has(E)||this.set(E,this.createItem(E)),super.get(E)}}let u=S=>S&&typeof S=="object"&&typeof S.then=="function",l=(S,E)=>(...A)=>{a.runtime.lastError?S.reject(new Error(a.runtime.lastError.message)):E.singleCallbackArg||A.length<=1&&E.singleCallbackArg!==!1?S.resolve(A[0]):S.resolve(A)},c=S=>S==1?"argument":"arguments",d=(S,E)=>function(M,...P){if(P.length<E.minArgs)throw new Error(`Expected at least ${E.minArgs} ${c(E.minArgs)} for ${S}(), got ${P.length}`);if(P.length>E.maxArgs)throw new Error(`Expected at most ${E.maxArgs} ${c(E.maxArgs)} for ${S}(), got ${P.length}`);return new Promise((B,O)=>{if(E.fallbackToNoCallback)try{M[S](...P,l({resolve:B,reject:O},E))}catch{M[S](...P),E.fallbackToNoCallback=!1,E.noCallback=!0,B()}else E.noCallback?(M[S](...P),B()):M[S](...P,l({resolve:B,reject:O},E))})},g=(S,E,A)=>new Proxy(E,{apply(M,P,B){return A.call(P,S,...B)}}),f=Function.call.bind(Object.prototype.hasOwnProperty),p=(S,E={},A={})=>{let M=Object.create(null),P={has(O,R){return R in S||R in M},get(O,R,_){if(R in M)return M[R];if(!(R in S))return;let F=S[R];if(typeof F=="function")if(typeof E[R]=="function")F=g(S,S[R],E[R]);else if(f(A,R)){let L=d(R,A[R]);F=g(S,S[R],L)}else F=F.bind(S);else if(typeof F=="object"&&F!==null&&(f(E,R)||f(A,R)))F=p(F,E[R],A[R]);else if(f(A,"*"))F=p(F,E[R],A["*"]);else return Object.defineProperty(M,R,{configurable:!0,enumerable:!0,get(){return S[R]},set(L){S[R]=L}}),F;return M[R]=F,F},set(O,R,_,F){return R in M?M[R]=_:S[R]=_,!0},defineProperty(O,R,_){return Reflect.defineProperty(M,R,_)},deleteProperty(O,R){return Reflect.deleteProperty(M,R)}},B=Object.create(S);return new Proxy(B,P)},h=S=>({addListener(E,A,...M){E.addListener(S.get(A),...M)},hasListener(E,A){return E.hasListener(S.get(A))},removeListener(E,A){E.removeListener(S.get(A))}}),C=new s(S=>typeof S!="function"?S:function(A){let M=p(A,{},{getContent:{minArgs:0,maxArgs:0}});S(M)}),y=new s(S=>typeof S!="function"?S:function(A,M,P){let B=!1,O,R=new Promise(D=>{O=function(w){B=!0,D(w)}}),_;try{_=S(A,M,O)}catch(D){_=Promise.reject(D)}let F=_!==!0&&u(_);if(_!==!0&&!F&&!B)return!1;let L=D=>{D.then(w=>{P(w)},w=>{let N;w&&(w instanceof Error||typeof w.message=="string")?N=w.message:N="An unexpected error occurred",P({__mozWebExtensionPolyfillReject__:!0,message:N})}).catch(w=>{})};return L(F?_:R),!0}),v=({reject:S,resolve:E},A)=>{a.runtime.lastError?a.runtime.lastError.message===r?E():S(new Error(a.runtime.lastError.message)):A&&A.__mozWebExtensionPolyfillReject__?S(new Error(A.message)):E(A)},b=(S,E,A,...M)=>{if(M.length<E.minArgs)throw new Error(`Expected at least ${E.minArgs} ${c(E.minArgs)} for ${S}(), got ${M.length}`);if(M.length>E.maxArgs)throw new Error(`Expected at most ${E.maxArgs} ${c(E.maxArgs)} for ${S}(), got ${M.length}`);return new Promise((P,B)=>{let O=v.bind(null,{resolve:P,reject:B});M.push(O),A.sendMessage(...M)})},x={devtools:{network:{onRequestFinished:h(C)}},runtime:{onMessage:h(y),onMessageExternal:h(y),sendMessage:b.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:b.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},T={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return o.privacy={network:{"*":T},services:{"*":T},websites:{"*":T}},p(a,x,o)};n.exports=i(chrome)}else n.exports=globalThis.browser})}}),m5={};uB(m5,{default:()=>Md});var cB=d5(g5());lB(m5,d5(g5()));var{default:l5,...dB}=cB,Md=l5!==void 0?l5:dB;globalThis.immersiveTranslateBrowserAPI=Md;var gB=`
  .toastify {
    padding: 12px 20px;
    color: #ffffff;
    display: inline-block;
    box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.12), 0 10px 36px -4px rgba(77, 96, 232, 0.3);
    background: -webkit-linear-gradient(315deg, #73a5ff, #5477f5);
    background: linear-gradient(135deg, #73a5ff, #5477f5);
    position: fixed;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    max-width: calc(50% - 20px);
    z-index: 2147483647;
    font-family: system-ui, -apple-system, "Segoe UI", "Roboto", "Ubuntu",
    "Cantarell", "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 0.875rem;

  }

  .toastify.on {
      opacity: 1;
  }

  .toast-close {
      background: transparent;
      border: 0;
      color: white;
      cursor: pointer;
      font-family: inherit;
      font-size: 1em;
      opacity: 0.4;
      padding: 0 5px;
  }

  .toastify-right {
      right: 15px;
  }

  .toastify-left {
      left: 15px;
  }

  .toastify-top {
      top: -150px;
  }

  .toastify-bottom {
      bottom: -150px;
  }

  .toastify-rounded {
      border-radius: 25px;
  }

  .toastify-avatar {
      width: 1.5em;
      height: 1.5em;
      margin: -7px 5px;
      border-radius: 2px;
  }

  .toastify-center {
      margin-left: auto;
      margin-right: auto;
      left: 0;
      right: 0;
      max-width: fit-content;
      max-width: -moz-fit-content;
  }

  @media only screen and (max-width: 360px) {
      .toastify-right, .toastify-left {
          margin-left: auto;
          margin-right: auto;
          left: 0;
          right: 0;
          max-width: fit-content;
      }
  }
`,J1="immersive-translate-toastify-shadow-root",X1=class{defaults={oldestFirst:!0,text:"Toastify is awesome!",node:void 0,duration:3e3,selector:void 0,callback:function(){},destination:void 0,newWindow:!1,close:!1,gravity:"toastify-top",positionLeft:!1,position:"",backgroundColor:"",avatar:"",className:"",stopOnFocus:!0,onClick:function(){},offset:{x:0,y:0},escapeMarkup:!0,ariaLive:"polite",style:{background:""}};constructor(t){this.version="1.12.0",this.options={},this.toastElement=null,this._rootElement=document.body,this._init(t)}showToast(){if(this.toastElement=this._buildToast(),typeof this.options.selector=="string")this._rootElement=document.getElementById(this.options.selector);else if(this.options.selector instanceof HTMLElement||this.options.selector instanceof ShadowRoot)this._rootElement=this.options.selector;else if(document.getElementById(J1)){let t=document.getElementById(J1);this._rootElement=t.shadowRoot}else{let t=document.createElement("div");t.setAttribute("translate","no"),t.className="no-translate immersive-translate-toastify-shadow-root",t.id=J1,t.style.all="initial",t.style.zIndex="2147483647",document.body.appendChild(t);let n=t.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=gB,n.appendChild(r),this._rootElement=n}if(!this._rootElement)throw"Root element is not defined";return this._rootElement.insertBefore(this.toastElement,this._rootElement.firstChild),this._reposition(),this.options.duration>0&&(this.toastElement.timeOutValue=window.setTimeout(()=>{this._removeElement(this.toastElement)},this.options.duration)),this}hideToast(){this.toastElement.timeOutValue&&clearTimeout(this.toastElement.timeOutValue),this._removeElement(this.toastElement)}_init(t){this.options=Object.assign(this.defaults,t),this.options.backgroundColor,this.toastElement=null,this.options.gravity=t.gravity==="bottom"?"toastify-bottom":"toastify-top",this.options.stopOnFocus=t.stopOnFocus===void 0?!0:t.stopOnFocus,t.backgroundColor&&(this.options.style.background=t.backgroundColor)}_buildToast(){if(!this.options)throw"Toastify is not initialized";let t=document.createElement("div");t.className=`toastify on ${this.options.className}`,t.className+=` toastify-${this.options.position}`,t.className+=` ${this.options.gravity}`;for(let n in this.options.style)t.style[n]=this.options.style[n];if(this.options.ariaLive&&t.setAttribute("aria-live",this.options.ariaLive),this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE)t.appendChild(this.options.node);else if(this.options.escapeMarkup?t.innerText=this.options.text:t.innerHTML=this.options.text,this.options.avatar!==""){let n=document.createElement("img");n.src=this.options.avatar,n.className="toastify-avatar",this.options.position=="left"?t.appendChild(n):t.insertAdjacentElement("afterbegin",n)}if(this.options.close===!0){let n=document.createElement("button");n.type="button",n.setAttribute("aria-label","Close"),n.className="toast-close",n.innerHTML="&#10006;",n.addEventListener("click",i=>{i.stopPropagation(),this._removeElement(this.toastElement),window.clearTimeout(this.toastElement.timeOutValue)});let r=window.innerWidth>0?window.innerWidth:screen.width;this.options.position=="left"&&r>360?t.insertAdjacentElement("afterbegin",n):t.appendChild(n)}if(this.options.stopOnFocus&&this.options.duration>0&&(t.addEventListener("mouseover",n=>{window.clearTimeout(t.timeOutValue)}),t.addEventListener("mouseleave",()=>{t.timeOutValue=window.setTimeout(()=>{this._removeElement(t)},this.options.duration)})),typeof this.options.destination<"u"&&t.addEventListener("click",n=>{n.stopPropagation(),this.options.newWindow===!0?window.open(this.options.destination,"_blank"):window.location=this.options.destination}),typeof this.options.onClick=="function"&&typeof this.options.destination>"u"&&t.addEventListener("click",n=>{n.stopPropagation(),this.options.onClick()}),typeof this.options.offset=="object"){let n=this._getAxisOffsetAValue("x",this.options),r=this._getAxisOffsetAValue("y",this.options),i=this.options.position=="left"?n:`-${n}`,a=this.options.gravity=="toastify-top"?r:`-${r}`;t.style.transform=`translate(${i},${a})`}return t}_removeElement(t){t.className=t.className.replace(" on",""),window.setTimeout(()=>{this.options.node&&this.options.node.parentNode&&this.options.node.parentNode.removeChild(this.options.node),t.parentNode&&t.parentNode.removeChild(t),this.options.callback.call(t),this._reposition()},400)}_reposition(){let t={top:15,bottom:15},n={top:15,bottom:15},r={top:15,bottom:15},i=this._rootElement.querySelectorAll(".toastify"),a;for(let o=0;o<i.length;o++){i[o].classList.contains("toastify-top")===!0?a="toastify-top":a="toastify-bottom";let s=i[o].offsetHeight;a=a.substr(9,a.length-1);let u=15;(window.innerWidth>0?window.innerWidth:screen.width)<=360?(i[o].style[a]=`${r[a]}px`,r[a]+=s+u):i[o].classList.contains("toastify-left")===!0?(i[o].style[a]=`${t[a]}px`,t[a]+=s+u):(i[o].style[a]=`${n[a]}px`,n[a]+=s+u)}}_getAxisOffsetAValue(t,n){return n.offset[t]?isNaN(n.offset[t])?n.offset[t]:`${n.offset[t]}px`:"0px"}};function Id(e){e=e||{},new X1({gravity:"bottom",duration:1500,style:{background:"#222",color:"#f2f2f2"},...e}).showToast()}function lt(){return typeof process>"u"&&typeof Deno<"u"?Deno.env.toObject():I}var It=lt();function Me(e){return e&&globalThis?.document?.querySelector("meta[name=immersive-translate-options]")?!!globalThis.document?.getElementById("immersive-translate-manifest")?.value?.includes("_isUserscript"):It.IMMERSIVE_TRANSLATE_USERSCRIPT==="1"}function Oo(){return It.PROD==="1"}function f5(){return It.PROD_API==="1"}function p5(){return It.HAS_CSP_ERROR=="1"}function Ot(){if(It.IMMERSIVE_TRANSLATE_SAFARI==="1")return!0;if(typeof globalThis.immersiveTranslateBrowserAPI<"u"&&globalThis.immersiveTranslateBrowserAPI.runtime&&globalThis.immersiveTranslateBrowserAPI.runtime.getManifest){let t=globalThis.immersiveTranslateBrowserAPI.runtime.getManifest();return!!(t&&t._isSafari)}else return!1}var Tae=lt().PROD==="1",Mr=lt().PROD!=="1";function la(){return It.IMMERSIVE_TRANSLATE_JSSDK==="1"||It.IMMERSIVE_TRANSLATE_OFFICIAL_SDK==="1"}var{Deno:h5}=globalThis,mB=typeof h5?.noColor=="boolean"?h5.noColor:!0,fB=!mB;function Ld(e,t){return{open:`\x1B[${e.join(";")}m`,close:`\x1B[${t}m`,regexp:new RegExp(`\\x1b\\[${t}m`,"g")}}function Dd(e,t){return fB?`${t.open}${e.replace(t.regexp,t.open)}${t.close}`:e}function $1(e){return Dd(e,Ld([2],22))}function Pd(e){return Dd(e,Ld([31],39))}function eh(e){return Dd(e,Ld([32],39))}function th(e){return Dd(e,Ld([33],39))}var wae=new RegExp(["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|"),"g");var b5=["translationService","inputTranslationService","mouseHoverTranslationService","clientImageTranslationService","subtitleTranslateService"];function Dt(e,t){let n=_s(e),r=_s(t);return n>=r}function _s(e){let t=e.split(".").reverse(),n=0,r=1;for(let i=0;i<3;i++)n+=r*Number(t[i]||"0"),r*=100;return n}var pB="";function mi(){return pB||globalThis.navigator.userAgent}function Ze(){let e=mi();return e.includes("ImtFxiOS")||e.includes("ImtiOS")}function ec(){let e=mi();if(e.includes("ImtiOS"))return!0;if(!e.includes("ImtFxiOS"))return!1;let t=Pi();return t?Dt(t,"2.0.0"):!1}function Pi(){let e=mi();if(e.includes("ImtiOS")){let r=e.match(/ImtiOS\/(\d+\.\d+\.\d+)/);return r?r[1]:null}let t=e.match(/ImtFxiOS\/(\d+\.\d+\.\d+)/);return t?t[1]:null}function kt(){let e=mi();return e.includes("ImtFxAndroid")||e.includes("ImtFxAOS")}function v5(){if(!kt())return!1;let e=mi();return e.endsWith("official_cn")||e.includes("mainlandStore")}function x5(){return Ze()?mi().includes("mainland"):!1}function C5(){let e=mi();return/ImtFxAndroid\/(\d+\.\d+\.\d+)\/google/.test(e)}function _o(){let e=mi();if(e.includes("ImtFxAndroid")){let t=e.match(/ImtFxAndroid\/(\d+\.\d+\.\d+)/);return t?t[1]:null}if(e.includes("ImtFxAOS")){let t=e.match(/ImtFxAOS\/(\d+\.\d+\.\d+)/);return t?t[1]:null}return null}function T5(){let e=mi();if(Ze()||kt()){let t=e.match(/Imt[\w/.]+/);if(t){let n=t[0].split("/"),r=n[0];return n[2]&&(r+="_"+n[2]),{name:r,version:n[1]}}}return null}function nh(){let e=mi();if(!e.includes("iPhone"))return null;let t=e.match(/Version\/(\d+(?:\.\d+)?)/);return t?t[1]:null}function S5(){try{let e=nh();return e?parseFloat(e):0}catch{return 0}}function E5(){let e=mi();if(!e.includes("iPhone"))return null;let t=e.match(/iPhone OS (\d+(?:_\d+){1,2})/);return t&&t?t[1]:null}var hB="2.2.0",yB="1.1.9",bB="2.3.2";function tc(){if(!kt()&&!Ze())return!1;if(kt()){let e=_o();return e?Dt(e,bB):!1}if(ec()){let e=Pi();return e?Dt(e,hB):!1}if(Ze()){let e=Pi();return e?Dt(e,yB):!1}return!1}var rh=/iPhone/i,w5=/iPod/i,A5=/iPad/i,k5=/\biOS-universal(?:.+)Mac\b/i,ih=/\bAndroid(?:.+)Mobile\b/i,M5=/Android/i,Us=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,Rd=/Silk/i,ca=/Windows Phone/i,I5=/\bWindows(?:.+)ARM\b/i,L5=/BlackBerry/i,D5=/BB10/i,P5=/Opera Mini/i,R5=/\b(CriOS|Chrome)(?:.+)Mobile/i,N5=/Mobile(?:.+)Firefox\b/i,F5=e=>typeof e<"u"&&e.platform==="MacIntel"&&typeof e.maxTouchPoints=="number"&&e.maxTouchPoints>1&&typeof globalThis.MSStream>"u";function vB(e){return t=>t.test(e)}function Pe(e){let t={userAgent:"",platform:"",maxTouchPoints:0};!e&&typeof navigator<"u"?t={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0}:typeof e=="string"?t.userAgent=e:e&&e.userAgent&&(t={userAgent:e.userAgent,platform:e.platform,maxTouchPoints:e.maxTouchPoints||0});let n=t.userAgent,r=n.split("[FBAN");typeof r[1]<"u"&&(n=r[0]),r=n.split("Twitter"),typeof r[1]<"u"&&(n=r[0]);let i=vB(n),a={apple:{phone:i(rh)&&!i(ca),ipod:i(w5),tablet:!i(rh)&&(i(A5)||F5(t))&&!i(ca),universal:i(k5),device:(i(rh)||i(w5)||i(A5)||i(k5)||F5(t))&&!i(ca)},amazon:{phone:i(Us),tablet:!i(Us)&&i(Rd),device:i(Us)||i(Rd)},android:{phone:!i(ca)&&i(Us)||!i(ca)&&i(ih),tablet:!i(ca)&&!i(Us)&&!i(ih)&&(i(Rd)||i(M5)),device:!i(ca)&&(i(Us)||i(Rd)||i(ih)||i(M5))||i(/\bokhttp\b/i)},windows:{phone:i(ca),tablet:i(I5),device:i(ca)||i(I5)},other:{blackberry:i(L5),blackberry10:i(D5),opera:i(P5),firefox:i(N5),chrome:i(R5),device:i(L5)||i(D5)||i(P5)||i(N5)||i(R5)},any:!1,phone:!1,tablet:!1};return a.any=a.apple.device||a.android.device||a.windows.device||a.other.device,a.phone=a.apple.phone||a.android.phone||a.windows.phone,a.tablet=a.apple.tablet||a.android.tablet||a.windows.tablet,a}var ah="DENO",nc="CHROME",Nd="FIREFOX";function sh(e){let t;try{let n=navigator?.userAgent||"";/firefox/i.test(n)||typeof InstallTrigger<"u"?t=Nd:/deno/i.test(n)?t=ah:/chrome/i.test(n)&&(t=nc)}catch{}return e===nc&&t===nc||e===Nd&&t===Nd||e===ah&&t===ah}function da(){return navigator.userAgent.indexOf("Edg")!==-1}function ga(){return navigator.userAgent.indexOf("Valve Steam")!==-1}function qn(){return sh(nc)}function gt(e=!1){let t=lt();return v5()||x5()?!0:!e&&t.region_plugin?t.region_plugin==="mainland":sh(nc)&&t.IMMERSIVE_TRANSLATE_CN_CHROME==="1"}function Fd(){return typeof Deno<"u"}function On(){return lt().IMMERSIVE_TRANSLATE_FIREFOX==="1"?!0:sh(Nd)}function _n(e){return!rc(e)}var oh;function rc(e){return e?.confirmSupportMouse!=null?e?.confirmSupportMouse:oh?!0:!!navigator.maxTouchPoints||"ontouchstart"in document.documentElement?!1:!!globalThis.matchMedia("(pointer:fine)").matches}function uh(e){return oh!=null?!1:(oh=e,!0)}function B5(){let e=globalThis.innerWidth,t=!!navigator.maxTouchPoints||"ontouchstart"in document.documentElement;return e<768&&t}var ge="immersiveTranslate",Uo="Immersive Translate",U="immersive-translate",ma="imt",O5="immersivetranslate";var _5=ge+"DeeplGlobalState",lh=ge+"BingGlobalState",Gae=ge+"YandexGlobalState",ch=ge+"BaiduQianfanGlobalConfigStorageKey",dh=ge+"SiliconCloudGlobalConfigStorageKey",gh=ge+"IMT_COMMON_JWT_TOKEN",mh=ge+"ZhipuGlobalConfigStorageKey";var U5=ge+"GoogleAccessToken",Wae=ge+"AuthFlow",qae=U+"-config-latest.json",Kae=ge+"AuthState",Qae=ge+"IframeMessage",Yae=ge+"WaitForRateLimit",j5=ge+"YoutubeIframePlayer",z5=ge+"DocumentMessageAsk",tn=ge+"DocumentMessageTellThirdParty",js=ge+"DocumentMessageThirdPartyTell",H5=ge+"DocumentMessageEventUpload",Zae=ge+"DocumentMessageTypeStopJsSDK",fh=ge+"DocumentMessageHandler",Bd=ge+"DocumentSetFloatBallActive",Jae=`${ge}Share`,Od=`${ge}ShowFloatBallGuide`,_d=`${ge}ShowPopupModalGuide`,zs=ge+"DocumentMessageTempEnableSubtitleChanged",Ud=ge+"DocumentMessageUpdateQuickButtonAiSubtitle",ic=`${ge}ToggleMouseHoverTranslateDirectly`,Xae=`${ge}ReqDraft`,$ae=`${ge}ResDraft`,xB=`${ge}Container`,V5=`${ge}SpecifiedContainer`,G5="buildinConfig",ph="localConfig",hh="openOptionsPage",W5="translateMangaMenuId",yh="openAboutPage";var _a=`${ge}PageTranslatedStatus`,Ua=`${ge}MangaTranslatedStatus`,eoe=`${ge}PageUrlChanged`,q5=ge+"LastUseMouseHoverTime",bh=ge+"LastUseInputTime",fi=ge+"LastUseManualTranslatePageTime",toe=`${ge}PopupReceiveMessage`,noe=`${ge}SidePanelReceiveMessage`,jo=ge+"DocumentMessageEventTogglePopup",roe=`${ge}Mark`,lr=`${ge}Root`,K5=`${ge}Walked`,ioe=`data-${U}-walked`,jd=`${ge}Paragraph`,aoe=`data-${U}-paragraph`,Hs=`data-${U}-translation-element-mark`,Q5=`${ge}TranslationElementMark`,ja="data-imt-translation-only",ooe=`${ge}TranslatedMark`,zd=`${U}-input-injected-css`,Y5=`${ge}LoadingId`,vh=`data-${U}-loading-id`,Z5=`${ge}ErrorId`,ac=`data-${U}-error-id`,CB=`${ge}AtomicBlockMark`,J5=`${ge}ExcludeMark`,soe=`data-${U}-exclude-mark`,TB=`${ge}StayOriginalMark`,uoe=`${ge}PreWhitespaceMark`,loe=`${ge}InlineMark`,coe=`${ge}BlockMark`,doe=`${ge}Left`,goe=`${ge}Right`,moe=`${ge}Width`,foe=`${ge}Height`,poe=`${ge}Top`,hoe=`${ge}FontSize`,xh="lastRunTime";var yoe=`${ge}GlobalStyleMark`,Vs=["@","#"],Hd=" --- ",X5=`
`,ft=`${U}-target-wrapper`,boe=`${U}-pdf-target-container`,$5=`${U}-target-inner`,voe=`${U}-source-wrapper`,e8=`${U}-target-translation-block-wrapper`,xoe=`${U}-root-translation-theme`,Gs=`${ge}RootTranslationTheme`,t8=`${U}-target-translation-vertical-block-wrapper`,Coe=`${U}-target-translation-pdf-block-wrapper`,n8=`${U}-target-translation-pre-whitespace`,r8=`${U}-target-translation-inline-wrapper`;var i8={underline:[{name:"borderColor",required:!1,type:"color"}],nativeUnderline:[{name:"borderColor",required:!1,type:"color"}],nativeDashed:[{name:"borderColor",required:!1,type:"color"}],nativeDotted:[{name:"borderColor",required:!1,type:"color"}],dotted:[{name:"borderColor",required:!1,type:"color"}],dividingLine:[{name:"borderColor",required:!1,type:"color"}],highlight:[{name:"backgroundColor",required:!1,type:"color"}],marker:[{name:"backgroundColor",required:!1,type:"color"}],dashed:[{name:"borderColor",required:!1,type:"color"}],blockquote:[{name:"borderColor",required:!1,type:"color"}],thinDashed:[{name:"borderColor",required:!1,type:"color"}],dashedBorder:[{name:"borderRadius",required:!1,type:"number",default:"0"},{name:"borderColor",required:!1,type:"color"}],solidBorder:[{name:"borderRadius",required:!1,type:"number",default:"0"},{name:"borderColor",required:!1,type:"color"}],marker2:[{name:"backgroundColor",required:!1,type:"color"}],wavy:[{name:"borderColor",required:!1,type:"color"}],opacity:[{name:"opacity",required:!1,type:"number",default:10}],background:[{name:"backgroundColor",required:!1,type:"color"},{name:"backgroundOpacity",required:!1,type:"number",default:12}]};var a8=[{name:"touch",shortcuts:[{command:"touchShortcutsToggleTranslatePage",type:"finger"},{command:"touchShortcutsToggleTranslationMask",type:"finger"},{command:"touchShortcutsToggleTranslatePageOnlyTranslation",type:"finger"},{command:"touchShortcutsToggleTranslateTouchElement",type:"finger"},{command:"touchShortcutsInputTranslate",type:"finger"}]},{name:"main",shortcuts:["toggleTranslatePage","translateInputBox","toggleSidePanel","openAiWritingModal"]},{name:"mouse",shortcuts:[{command:"mouseHoverHoldKey",type:"mouseHoverHoldKey"},"toggleMouseHoverTranslateDirectly"]},{name:"others",shortcuts:["toggleTranslationMask","toggleTranslateToThePageEndImmediately","toggleTranslateTheMainPage","toggleOnlyTransation","toggleTranslateTheWholePage","toggleVideoSubtitlePreTranslation"]},{name:"shortcutsForTranslationServices",shortcuts:gt()?[{command:"translateWithCustom1",type:"translateWithCustom"},{command:"translateWithCustom2",type:"translateWithCustom"},{command:"translateWithCustom3",type:"translateWithCustom"}]:["translateWithDeepL","translateWithGoogle","translateWithOpenAI","translateWithBing","translateWithTransmart","translateWithGemini","translateWithClaude",{command:"translateWithCustom1",type:"translateWithCustom"},{command:"translateWithCustom2",type:"translateWithCustom"},{command:"translateWithCustom3",type:"translateWithCustom"}]}],Ch="zh-CN",o8={type:ge+"ChildFrameToRootFrameIdentifier"},Th=["youtube","netflix","webvtt","khanacademy","udemy","hulu","mubi","text_track","text_track_dynamic","general","live","ebutt","disneyplus","fmp4.xml","multi_attach_vtt","twitter","subsrt","xml","av"],Ws=["Ctrl","Shift","Alt","MouseHoldKeyPressHold","Auto","Off","OtherCustom","Other"],s8=["ctrl","alt","shift","cmd","command","option","control"],Vd={ctrl:17,alt:18,shift:16,cmd:91,command:91,option:18,control:17},Gd=["Ctrl","Alt","Shift"];var Sh="user_from_plugin";var qs="region_plugin";var u8="G-BHWL0KMJB8",l8="7pr-olTJR6GKAjIW48UD0Q";var Eh="G-V5H2F5MJFJ",wh="UBjpGOLISEaY5LVXNj3WvQ";var c8=50*1e4,d8=`[${ma}-ctx-divider]`,Wd=`${ma}_context_preview`;var oc=`\u200B
\u200C`,sc="fullLocalUserConfig",Ah="fullLocalUserConfigMobileApp",kh="termsLastSyncTimestamp",Mh="activeTabTranslatedUrl",Kn=2147483647,g8="1.1.8";var Ks=`${ge}_selection_update_params`,qd=`data-${U}-subtitle-type`,uc=`data-${U}-ai-subtitle-url`,Kd=`data-${U}-has-subtitle`;var Ih=["google","bing","siliconcloud","zhipu"],Lh=["deepseek","openai","claude","gemini","zhipu-pro","deepl","qwen-pro"],m8=["deepseek","zhipu-pro","qwen-pro"],SB=["openai","claude","gemini"],Qd=[...Ih,...Lh,...SB];var Toe=U+"-large-cache";var f8=580,Dh="imt_setting_secret_key";var Yd="__PII",Qs="data-imt-split-line",zo="data-imt-split-divider",Zd=4,Jd="not_show_upgrade_image";var Xd=100;var Ph="usage_limit_stats";var Ys=console,Rh=class{#e=performance.now();reset(){this.#e=performance.now()}stop(t){let n=performance.now(),r=Math.round(n-this.#e),i=eh;r>1e4?i=Pd:r>1e3&&(i=th),Ys.debug($1(Uo+" TIMING:"),t,"in",i(r+"ms")),this.#e=n}},Nh=class{#e=1;get level(){return this.#e}setLevel(t){switch(t){case"debug":this.#e=0;break;case"info":this.#e=1;break;case"warn":this.#e=2;break;case"error":this.#e=3;break;case"fatal":this.#e=4;break}}debug(...t){this.#e<=0&&Ys.log($1(Uo+" DEBUG:"),...t)}v(...t){this.#e<=0}info(...t){this.#e<=1&&Ys.log(eh(Uo+" INFO:"),...t)}l(...t){this.#e<=1}warn(...t){this.#e<=2&&Ys.warn(th(Uo+" WARN:"),...t)}error(...t){this.#e<=3&&Ys.error(Pd(Uo+" ERROR:"),...t)}fatal(...t){this.#e<=4&&Ys.error(Pd(Uo+" FATAL:"),...t)}timing(){return this.level===0?new Rh:{reset:()=>{},stop:()=>{}}}},k=new Nh;var p8={addListener:()=>{},removeListener:()=>{},hasListener:()=>{}},h8={permissions:{contains:()=>{},request:()=>{}},runtime:{onMessage:p8,openOptionsPage:()=>{},lastError:{message:""}},storage:{sync:{get:()=>{},set:()=>{}},local:{map:new Map,timers:new Set,get(e){return new Promise(t=>{let n=setTimeout(()=>{let r=this.map.get(e);t({[e]:r}),this.timers.delete(n)},100);this.timers.add(n)})},set(e,t){return new Promise(n=>{let r=setTimeout(()=>{this.map.set(e,t),n(""),this.timers.delete(r)},100);this.timers.add(r)})},clearAllTimers(){this.timers.forEach(e=>clearTimeout(e)),this.timers.clear()}}},tabs:{onUpdated:p8,query:()=>{},sendMessage:()=>{}}};var Be;Fd()?Be=h8:Be=globalThis.immersiveTranslateBrowserAPI;var Ooe=b8(2),y8=b8(3);function b8(e){if(typeof e!="number"||Number.isNaN(e)||e<1||e===Number.POSITIVE_INFINITY)throw new Error("`"+e+"` is not a valid argument for `n-gram`");return t;function t(n){let r=[];if(n==null)return r;let i=typeof n.slice=="function"?n:String(n),a=i.length-e+1;if(a<1)return r;for(;a--;)r[a]=i.slice(a,a+e);return r}}var EB=/\s+/g,wB=/[\t\n\v\f\r ]+/g;function v8(e,t){t?typeof t=="string"&&(t={style:t}):t={};let n=t.preserveLineEndings?AB:kB;return String(e).replace(t.style==="html"?wB:EB,t.trim?MB(n):n)}function AB(e){let t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function kB(){return" "}function MB(e){return t;function t(n,r,i){return r===0||r+n.length===i.length?"":e(n)}}var x8={}.hasOwnProperty;function IB(e){return e==null?"":v8(String(e).replace(/[\u0021-\u0040]+/g," ")).trim().toLowerCase()}function LB(e){return y8(" "+IB(e)+" ")}function DB(e){let t=LB(e),n={},r=-1;for(;++r<t.length;)x8.call(n,t[r])?n[t[r]]++:n[t[r]]=1;return n}function C8(e){let t=DB(e),n=[],r;for(r in t)x8.call(t,r)&&n.push([r,t[r]]);return n.sort(PB),n}function PB(e,t){return e[1]-t[1]}var RB={cmn:/[\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u3005\u3007\u3021-\u3029\u3038-\u303B\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFA6D\uFA70-\uFAD9]|\uD81B[\uDFE2\uDFE3\uDFF0\uDFF1]|[\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF]/g,Latin:/[A-Za-z\u00AA\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02B8\u02E0-\u02E4\u1D00-\u1D25\u1D2C-\u1D5C\u1D62-\u1D65\u1D6B-\u1D77\u1D79-\u1DBE\u1E00-\u1EFF\u2071\u207F\u2090-\u209C\u212A\u212B\u2132\u214E\u2160-\u2188\u2C60-\u2C7F\uA722-\uA787\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA7FF\uAB30-\uAB5A\uAB5C-\uAB64\uAB66-\uAB69\uFB00-\uFB06\uFF21-\uFF3A\uFF41-\uFF5A]|\uD801[\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]/g,Cyrillic:/[\u0400-\u0484\u0487-\u052F\u1C80-\u1C88\u1D2B\u1D78\u2DE0-\u2DFF\uA640-\uA69F\uFE2E\uFE2F]|\uD838[\uDC30-\uDC6D\uDC8F]/g,Arabic:/[\u0600-\u0604\u0606-\u060B\u060D-\u061A\u061C-\u061E\u0620-\u063F\u0641-\u064A\u0656-\u066F\u0671-\u06DC\u06DE-\u06FF\u0750-\u077F\u0870-\u088E\u0890\u0891\u0898-\u08E1\u08E3-\u08FF\uFB50-\uFBC2\uFBD3-\uFD3D\uFD40-\uFD8F\uFD92-\uFDC7\uFDCF\uFDF0-\uFDFF\uFE70-\uFE74\uFE76-\uFEFC]|\uD803[\uDE60-\uDE7E\uDEFD-\uDEFF]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB\uDEF0\uDEF1]/g,ben:/[\u0980-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09FE]/g,Devanagari:/[\u0900-\u0950\u0955-\u0963\u0966-\u097F\uA8E0-\uA8FF]|\uD806[\uDF00-\uDF09]/g,jpn:/[\u3041-\u3096\u309D-\u309F]|\uD82C[\uDC01-\uDD1F\uDD32\uDD50-\uDD52]|\uD83C\uDE00|[\u30A1-\u30FA\u30FD-\u30FF\u31F0-\u31FF\u32D0-\u32FE\u3300-\u3357\uFF66-\uFF6F\uFF71-\uFF9D]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00\uDD20-\uDD22\uDD55\uDD64-\uDD67]|[㐀-䶵一-龯]/g,jav:/[\uA980-\uA9CD\uA9D0-\uA9D9\uA9DE\uA9DF]/g,kor:/[\u1100-\u11FF\u302E\u302F\u3131-\u318E\u3200-\u321E\u3260-\u327E\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/g,tel:/[\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C66-\u0C6F\u0C77-\u0C7F]/g,tam:/[\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BFA]|\uD807[\uDFC0-\uDFF1\uDFFF]/g,guj:/[\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AF1\u0AF9-\u0AFF]/g,kan:/[\u0C80-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1-\u0CF3]/g,mal:/[\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4F\u0D54-\u0D63\u0D66-\u0D7F]/g,mya:/[\u1000-\u109F\uA9E0-\uA9FE\uAA60-\uAA7F]/g,pan:/[\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A76]/g,amh:/[\u1200-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u137C\u1380-\u1399\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]/g,tha:/[\u0E01-\u0E3A\u0E40-\u0E5B]/g,sin:/[\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF4]|\uD804[\uDDE1-\uDDF4]/g,ell:/[\u0370-\u0373\u0375-\u0377\u037A-\u037D\u037F\u0384\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03E1\u03F0-\u03FF\u1D26-\u1D2A\u1D5D-\u1D61\u1D66-\u1D6A\u1DBF\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FC4\u1FC6-\u1FD3\u1FD6-\u1FDB\u1FDD-\u1FEF\u1FF2-\u1FF4\u1FF6-\u1FFE\u2126\uAB65]|\uD800[\uDD40-\uDD8E\uDDA0]|\uD834[\uDE00-\uDE45]/g},Fh={Latin:{spa:" de|de |os | la| a |la | y |\xF3n |i\xF3n|es |ere|rec|ien|o a|der|ci\xF3|a p|cho|ech|en |ent|a l|aci|e d|el |ona|na | co|as |al |da | to|ene|e l| en| el| pe|nte|tod|ho | su|per|ad | ti|a t|ers|tie| se|rso| pr|son|e s|te |oda|cia|n d|o d|dad|ida| in|ne | es|ion|cio|s d|con|est|a e| po|men| li|res|nci|su |to |tra| re|n e| lo|tad| na|los|a s| o |ia |que| pa|r\xE1 |pro| un|s y|ual|s e|lib|nac|do |ra |er |nal|ue | qu|e e|a d|ar |nes|ica|a c|sta|ser|or |ter|se |por|cci|io |des|ado|les|one|a a|del|l d|ndi| so| cu|s p|ale|s n|ame|par|ici|oci|una|ber|s t|rta|com| di|e a|imi|o s|e c|ert|o e|dos|las|o p|ant|dic|nto| al|ara|ibe|enc|cas| as|e p|ten|ali|o t|soc|y l|n c|s l|l t|pre|nta|so |tos|y a|ria|n t|die|a u| fu|no |l p|ial|qui|dis|s o|hos|gua|igu| ig| ca|sar| ma|l e| ac|tiv|s a|re |nad|vid|era| tr|ier|cua|n p|cla|ade|bre|s s|esa|ntr|ecc|a i| le|lid|das|d d|ido|ari|ind|ada|nda|fun|mie|ca |tic|eli|ta |y d|nid|e i|n l|ios|o y|esp|iva|y e|mat|bli|r a|dr\xE1|tri|cti|tal|rim|ont|er\xE1|us |sus|end|pen|tor|ito|ond|ori|uie|lig|n a|ist|rac|lar|rse|tar|mo |omo|ibr|odo|edi|med| me|nio|a y|eda|isf|lo |aso|l m|ias|ico|lic|ple|ste|act|tec|ote|rot|ele|ura| ni|ie |adi|u p|seg|s i|un |und|a n|lqu|alq|o i|inc|sti| si|n s|ern",eng:"the| th| an|he |nd |ion|and| to|to |tio| of|on |of | in|al |ati|or |ght|igh|rig| ri|ne |ent|one|ll |is |as |ver|ed | be|e r|in |t t|all|eve|ht | or|ery|s t|ty | ev|e h|yon| ha|ryo|e a|be |his| fr|ng |d t|has| sh|ing| hi|sha| pr| co| re|hal|nal|y a|s a|n t|ce |men|ree|fre|e s|l b|nat|for|ts |nt |n a|ity|ry |her|nce|ect|d i| pe|pro|n o|cti| fo|e e|ly |es | no|ona|ny |any|er |re |f t|e o| de|s o| wi|ter|nte|e i|ons| en| ar|res|ers|y t|per|d f| a | on|ith|l a|e t|oci|soc|lit| as| se|dom|edo|eed|nti|s e|t o|oth|wit| di|equ|t a|ted|st |y o|int|e p| ma| so| na|l o|e c|ch |d a|enc|th |are|ns |ic | un| fu|tat|ial|cia| ac|hts|nit|qua| eq| al|om |e w|d o|f h|ali|ote|n e| wh|r t|sta|ge |thi|o a|tit|ual|an |te |ess| ch|le |ary|e f|by | by|y i|tec|uni|o t|o o| li|no | la|s r| su|inc|led|rot|con| pu| he|ere|imi|r a|ntr| st| ot|eli|age|dis|s d|tle|itl|hou|son|duc|edu| wo|ate|ble|ces|at | at| fa|com|ive|o s|eme|o e|aw |law|tra|und|pen|nde|unt|oun|n s|s f|f a|tho|ms | is|act|cie|cat|uca| ed|anc|wor|ral|t i| me|o f|ily|pri|ren|ose|s c|en |d n|l c|ful|rar|nta|nst| ag|l p|min|din|sec|y e| tr|rso|ich|hic|whi|cou|ern|uri|r o|tic|iti|igi|lig|rat|rth|t f|oms|rit|d r|ee |e b|era|rou|se |ay |rs | ho|abl|e u",por:"de | de| se|\xE3o |os |to |em | e |do |o d| di|er |ito|eit|ser|ent|\xE7\xE3o| a |dir|ire|rei|o s|ade|dad|uma|as |no |e d| to|nte| co|o t|tod| ou|men|que|s e|man| pr| in| qu|es | te|hum|odo|e a|da | hu|ano|te |al |tem|o e|s d|ida|m d| pe| re|o a|ou |r h|e s|cia|a e| li|o p| es|res| do| da| \xE0 |ual| em| su|a\xE7\xE3|dos|a p|tra|est|ia |con|pro|ar |e p|is | na|r\xE1 |qua|a d| pa|com|ais|o c|ame|er\xE1| po|uer|sta|ber|ter| o |ess|ra |e e|das|o \xE0|nto|nal|o o|a c|ido|rda|erd| as|nci|sua|ona|des|ibe|lib|e t|ado|s n|ua |s t|ue | so|ica|ma |lqu|alq|tos|m s|a l|per|ada|oci|soc|cio|a n|par|aci|s a|pre|ont|m o|ura|a s| um|ion|e o|or |e r|pel|nta|ntr|a i|io |nac|\xEAnc|str|ali|ria|nst| tr|a q|int|o n|a o|ca |ela|u\xE7\xE3|lid|e l| at|sen|ese|r d|s p|egu|seg|vid|pri|sso|\xE9m |ime|tic|dis|ra\xE7|eci|ara| ca|nid|tru|\xF5es|ass|seu|por|a a|m p| ex|so |r i|e\xE7\xE3|te\xE7|ote|rot| le| ma|ing|a t|ran|era|rio|l d|eli|\xE7a |sti| ne|cid|ern|utr|out|r e|e c|tad|gua|igu| ig| os|s o|ru\xE7|ins|\xE7\xF5e|ios| fa|e n|sse| no|re |art|r p|rar|u p|inc|lei|cas|ico|u\xE9m|gu\xE9|ngu|nin| ni|gur|la |pen|n\xE7a|na |i\xE7\xE3|i\xE3o|cie|ist|sem|ta |ele|e f|om |tro| ao|rel|m a|s s|tar|eda|ied|uni|e m|s i|a f|ias| cu| ac|r a|\xE1 a|rem|ei |omo|rec|for|s f|esc|ant|\xE0 s| vi|o q|ver|a u|nda|und|fun",ind:"an |ang|ng | da|ak | pe|ata| se| ke| me|dan| di| be|ber|kan|ran|hak|per|yan| ya|nga|nya|gan| at|ara| ha|eng|asa|ora|men|n p|n k|erh|rha|n d|ya |ap |at |as |tan|n b|ala|a d| or|a s|san|tas|eti|uk |pen|g b|set|ntu|n y|tia|iap|k m|eba|aan| un|n s|tuk|k a|p o|am |lam| ma|unt| de|ter|bas|beb|dak|end|i d|pun|mem|tau|dal|ama|keb|aka|ika|n m| ba|di |ma | sa|den|au |nda|n h|eri| ti|ela|k d|un |n a|ebe|ana|ah |ra |ida|uka| te|al |ada|ri |ole|tid|ngg|lak|leh|dap|a p|dil|g d|ena|eh |gar|na |ert|apa|um |tu |atu|a m|sam|ila|har|n t|asi|ban|erl|t d|bat|uat|ta |lan|adi|h d|neg| ne|kum|mas|nan|pat|aha| in|l d|emp|sem|rus|sua|ser|uan|era|ari|erb|kat|man|a b|g s|rta|ai |nny|n u|ung|ndi|han|uku|huk| hu|sa |ers|in | la|ka | su|ann|car|kes|aku|dip|i s|a a|erk|n i|lai|rga|aru|k h|i m|rka|a u|us |nak|emb|gga|nta|iba| pu|ind|s p|ent|mel|ina|min|ian|dar|ni |rma|lua|rik|ndu|lin|sia|rbu|g p|k s|da |aya|ese|u d|ega|nas|ar |ipe|yar|sya|ik |aga| ta|ain|ua |arg|uar|iny|pem|ut |si |dun|eor|seo|rak|ngs|ami|kel|ini|g t|dik|mer|emu|aks|rat|uru|ewa|il |enu|any|kep|pel|asu|rli|ia |dir|jam|mba|mat|pan|g m|ses|sar|das|kuk|bol|ili|u k|gsa|u p|a k|ern|ant|raa|t p|ema|mua|idi|did|t s|i k|rin|erm|esu|ger|elu|nja|enj|ga |dit",fra:" de|es |de |ion|nt |tio|et |ne |on | et|ent|le |oit|e d| la|e p|la |it | \xE0 |t d|roi|dro| dr| le|t\xE9 |e s|ati|te |re | to|s d|men|tou|e l|ns | pe| co|son|que| au| so|e a|onn|out| un| qu| sa| pr|ute|eme| l\u2019|t \xE0| a |e e|con|des| pa|ue |ers|e c| li|a d|per|ont|s e|t l|les|ts |tre|s l|ant| ou|cti|rso|ou |ce |ux |\xE0 l|nne|ons|it\xE9|en |un | en|er |une|n d|sa |lle| in|nte|e t| se|lib|res|a l|ire| d\u2019| re|\xE9 d|nat|iqu|ur |r l|t a|s s|aux|par|nal|a p|ans|dan|qui|t p| d\xE9|pro|s p|air| ne| fo|ert|s a|nce|au |ui |ect|du |ond|ale|lit| po|san| ch|\xE9s | na|us |com|our|ali|tra| ce|al |e o|e n|rt\xE9|ber|ibe|tes|r d|e r|its| di|\xEAtr|pou|\xE9t\xE9|s c|\xE0 u|ell|int|fon|oci|soc|ut |ter| da|aut|ien|rai| do|iss|s n| ma|bli|ge |est|s o| du|ona|n p|pri|rs |\xE9ga| \xEAt|ous|ens|ar |age|s t| su|cia|u d|cun|rat| es|ir |n c|e m| \xE9t|t \xEA|a c| ac|ote|n t|ein| tr|a s|ndi|e q|sur|\xE9e |ser|l n| pl|anc|lig|t s|n e|s i|t e| \xE9g|ain|omm|act|ntr|tec|gal|ul | nu| vi|me |nda|ind|soi|st | te|pay|tat|era|il |rel|n a|dis|n s|pr\xE9|peu|rit|\xE9 e|t \xE9|bre|sen|ill|l\u2019a|d\u2019a| mo|ass|lic|art| pu|abl|nta|t c|rot| on| lo|ure|l\u2019e|ava|ten|nul|ivi|t i|ess|ys |ays| fa|ine|eur|r\xE9s|cla|t\xE9s|oir|eut|e f|utr|doi|ibr|ais|ins|\xE9ra|\u2019en|i\xE9t|l e|s \xE9|nt\xE9| r\xE9|ssi| as|nse|ces|\xE9 a",deu:"en |er |der|ein| un|nd |und|ung|cht|ich| de|sch|ng | ge|ine|ech|gen|rec|che|ie | re|eit| au|ht |die| di| ha|ch | da|ver| zu|lic|t d|in |auf| ei| in| be|hen|nde|n d|uf |ede| ve|it |ten|n s|sei|at |jed| je| se|and|rei|s r|den|ter|ne |hat|t a|r h|zu |das|ode| od|as |es | an|fre|nge| we|n u|run| fr|ere|e u|lle|ner|nte|hei|ese| so|rde|wer|ige| al|ers|n g|hte|d d| st|n j|lei|all|n a|nen|ege|ent|bei|g d|erd|t u|ren|nsc|chu| gr|kei|ens|le |ben|aft|haf|cha|tli|ges|e s| si|men| vo|lun|em |r s|ion|te |len|gru|gun|tig|unt|uch|spr|n e|ft |ei |e f| wi| sc|r d|n n|geh|r g|dar|sta|erk| er|r e|sen|eic|gle| gl|lie|e e|tz |fen|n i|nie|f g|t w|des|chl|ite|ihe|eih|ies|ruc|st |ist|n w|h a|n z|e a| ni|ang|rf |arf|gem|ale|ati|on |he |t s|ach| na|end|n o|pru|ans|sse|ern|aat|taa|ehe|e d|hli|hre|int|tio|her|nsp|de |mei| ar|r a|ffe|e b|wie|erf|abe|hab|ndl|n v|sic|t i|han|ema|nat|ber|ied|geg|d s|nun|d f|ind| me|gke|igk|ie\xDF| fa|igu|hul|r v|dig|rch|urc|dur| du|utz|hut|tra|aus|alt|bes|str|ell|ste|ger|r o|esc|e g|rbe|arb|ohn|r b|mit|d g|r w|ntl|sow|n h|nne|etz|raf|dlu| ih|lte|man|iem|erh|eru| is|dem|lan|rt |son|isc|eli|rel|n r|e i|rli|r i| mi|e m|ild|bil| bi|eme| en|ins|f\xFCr| f\xFC|gel|\xF6ff| \xF6f|owi|ill|wil|e v|ric|f e",jav:"ng |an | ka|ang|ing|kan| sa|ak |lan| la|hak| pa| ha|ara|ne |abe| in|n k|ngg|ong|ane|nga|ant|won|uwo| an| uw|nin|ata|n u|en |ra |tan| da|ran|ana| ma|nth|ake|ben|beb|hi |ke |sab|nda| ng|adi|thi|nan|a k| ba|san|asa|ni |e h|e k|g k| ut|pan|awa| be|eba|gan|g p|dan| wa|bas|aka|dha|yan|sa |arb|man| di|wa |g d| na|g n|ban| tu|n s|ung|wen|g s|rbe|dar|dak|di |g u|ora|aya|be |ah |a s|eni| or|han|as | pr|a n|na |iya|a a|kar|at |a l|mar|uwe|duw|uta|und|n p|asi|pa | si|ala|n n| un|kab|oni|ya |i h|gar|g b|yat|tum|ta |n m|i k|apa|taw| li|ani| ke|al |ka |kal|ngk|ega| ne|nal|n i|g a|ggo|ina|we |ena|dad|iba|awi|aga|a p| ta|sar|adh|awe|and|uju|ind|min|sin|ndu|uwa|gge|n l|ggu|ngs|n b|a b|pra|iji|n a|ha | bi|kat|go | ku|e p|ron|kak|ngu|a u|gsa|war|nya|g t|pad|bis|k b|i w|ae |wae| nd|ali|a m|er |sak|e s|ku |liy|ama|i l|eh |isa|arg|n t|a d|kap|i s|ayo|gay| pe|ndh|bad|pri|neg|tow|uto|eda|bed|il |ih | ik|ur |k k|rta|art|i p|rga|lak|ami|ro |aro|yom|r k|e d|a w|kon|rib|eng|ger|g l|ras|dil| ti|k l|rap|mra|uma| pi|k h|n d|gaw|wat|ga |k n|ar |per| we|oma|k p|jro|ajr|saj|ase|ini|ken|saw|ona|nas|kas|h k|i t| um|tin|wo | me|aba|rak|pag|yar|sya|t k| te| mu|ngl| ni|i b|men|ate|a i|aku|ebu|a t| du|g m|owo|mat| lu|amp",vie:"ng |\u0323c |\u0301c | qu|a\u0300 | th|nh | ng|\u0323i |\u0300n |va\u0300| va| nh|uy\xEA| ph|quy| ca|\xEA\u0300n|y\xEA\u0300|\u0300nh|\u0300i |\u0323t | ch|o\u0301 | tr|ng\u01B0|i n| gi|g\u01B0\u01A1|\u01A1\u0300i|\u01B0\u01A1\u0300|\u0301t | co|\u01B0\u01A1\u0323| cu|a\u0301c|\u01B0\u0323 |\u01A1\u0323c| kh| \u0111\u01B0|\u0111\u01B0\u01A1| t\u01B0|co\u0301| ha|\xF4ng|c t| \u0111\xEA|n t|i \u0111|i\u0300n|\u0300u |ca\u0301|gia|\u0301i |o\u0323i|mo\u0323| mo|\xEA\u0300u|i\xEA\u0323|\u0111\xEA\u0300|u c|nh\u01B0|pha| ba| bi|\xE2\u0301t|\u0309a |u\u0309a|cu\u0309|h\xF4n| \u0111\xF4|g t|\u0301 q|\u0303ng| ti|t\u01B0\u0323|t c|\u0323n | la|n \u0111|n c|n n|hi\xEA|ch |ay |hay| vi|\xE2n | \u0111i| na|ba\u0309| ho|do | do| t\xF4| hi|\xF4\u0323i|ha\u0301|i\u0323 |na\u0300|\u0300 t|\u01A1\u0301i|h\xE2n| m\xF4|\u0301p |a\u0300n|\u0323 d|\u0301ch|\u0323p |\u0300o |a\u0300o|kh\xF4|\u0301n |\xF4\u0323t|m\xF4\u0323| h\xF4|ia |\xF4\u0301c|c h|h\u01B0\u0303|i v|g n|\u0301ng|u\xF4\u0301|qu\xF4|h t|\xF4n |\xEAn |n v|nh\xE2|\u0323 t| b\xE2|i c|g v|\u0309ng|i\xEA\u0301|c c|\xE2\u0323t|th\u01B0|h\u01B0 |\u01B0\u01A1\u0301|\u0309n | v\u01A1| c\xF4|c \u0111| \u0111o| s\u01B0|t t|\xF4\u0323c|\u01B0\u0303n|v\u01A1\u0301| v\xEA|a\u0309 |\u0323ng|g \u0111|\u0309o |a\u0309o|u\xE2\u0323| \u0111a|bi\u0323|la\u0300|s\u01B0\u0323|b\xE2\u0301|ha\u0300|h\xF4\u0323|i t|a\u0309n|h\u01B0\u01A1|\u0300ng|tro|\u0309m |o v| mi|\xEA\u0309 |u\u0323c|i h|\u01B0\u0301c|a\u0301p|g c|\u0303 h|ia\u0301|n b|\u0309i |a m|h c|c\xF4n|\xEA\u0323n|\u01A1\u0301c|ha\u0323|\u0111\xF4\u0323| du| c\u01B0|a c|n h|tha|a\u0303 | xa|\u0301o |a\u0301o|i\u0301n|\u0300y |g b| h\u01B0|g h|ong|ron|\u0300 c|cho|\u0300 n|mi\u0300|\u01B0\u0323c|h v|c b| lu|i b|\xEA\u0323 |ai |\xEA\u0301 |\u0323 c|xa\u0303|kha|c q|i\xEA\u0309|t\xF4\u0323|\xF4\u0301i|\u0111\xF4\u0301|a\u0301 |hoa|o h|h \u0111|ca\u0309|n l|ho\u0323|ti\xEA|y t|\u0309 c|a\u0323i|a\u0301n|\u0300 \u0111|oa\u0300|y \u0111|chi|\u0309 n|ph\xE2|\xEA\u0300 |thu|i\xEAn|du\u0323|o c|i m|lu\xE2|c p|\xF4\u0301n|c l|\u0301 c|u\u0303n|cu\u0303|c g|c n|qua|n g|c m|o n|a\u0309i|ha\u0309|\u0301 t|ho |v\xEA\u0300| t\xE2| h\u01A1|o t|\u01A1\u0309 |h\u01B0\u0301|hi\u0300|vi\xEA|\u0300m |\u0309 t|\u0111o\u0301|th\xF4|\u01B0\u0301 |c\u01B0\u0301|hi\u0301|\u0301nh|a\u0300y|\u01A1\u0309n|\u01B0\u01A1\u0309| b\u0103|tri| ta|m v|c v|\u01A1\u0323p|h\u01A1\u0323|h m| n\u01B0|\xEA\u0301t|thi|\u0103\u0323c|ngh|uy ",ita:" di|to | in|ion|la | de|di |re |e d|ne | e |zio|rit|a d|one|o d|ni |le |lla|itt|ess| al|iri|dir|tto|ent|ell|i i|del|ndi|ere|ind|o a| co|te |t\xE0 |ti |a s|uo |e e|gni|azi| pr|idu|ivi|duo|vid|div|ogn| og| es|i e| ha|all|ale|nte|e a|men|ser| su| ne|e l|za |i d|per|a p|ha | pe| un|con|no |sse|li |e i| o | so| li| la|pro|ia |o i|e p|o s|i s|in |ato|o h|na |e s|a l|e o|nza|ali|tti|o p|ta |so |ber|ibe|lib|o e|un | a | ri|ua |il | il|nto|pri|el | po|una|are|ame| qu|a c|ro |oni|nel|e n| ad|ual|gli|sua|ond| re|a a|i c|ri |o o|sta|ita|i o| le|ad |i a|ers|enz|ssi|\xE0 e|it\xE0|gua|i p|e c|io | pa|ter|soc|nal|ona|naz|ist|cia|rso|ver|a e|i r|tat|lle|sia| si|rio|tra|che| se|rt\xE0|ert|anz|eri|tut|\xE0 d|he | da|al |ant|qua|on |ari|o c| st|oci|er |dis|tri|si |ed | ed|ono| tu|ei |dei|uzi|com|att|a n|opr|rop|par|nes|i l|zza|ese|res|ien|son| eg|n c|ont|nti|pos|int|ico|r\xE0 |sun|ial|lit|sen|pre|tta|dev|nit|era|eve|ll |l i| l |nda|ina|non| no|o n|ria|str|d a|art|se |ssu|ica|raz|ett|sci|gio|ati|egu| na|i u|utt|ve | ma|do |e r|ssa|sa |a f|n p|fon| ch|d u|rim| fo|a t| sc|tr\xE0|otr|pot|n i| cu|l p|ra |ezz|a o|ini|sso|dic|ltr|uni|cie| ra|i n|ruz|tru|ste| is|der|l m|a r|pie|lia|est|dal|nta| at|tal|ntr| pu|nno|ann|ten|vit|a v",tur:" ve| ha|ve |ir |ler|hak| he|her|in |lar|r h|bir|ya |er |ak |kk\u0131|akk|eti| ka| bi|eya|an |eri|iye|yet|ara|ek | ol|de |vey|\u0131n |\u0131r |nda|ar\u0131|esi|\u0131n\u0131|d\u0131r| ta|tle|e h|as\u0131|etl|e k| va|\u0131 v|s\u0131n|ile|ne |rke|erk|ard|ine| sa|\u0131nd|ini|k h|k\u0131n|ama|le |tin|rd\u0131|var|a v| me|e m|na |sin|ere|k v| \u015Fa| bu|lan|kes|dir|rin|dan| ma|k\u0131 |mak|\u015Fah|da | te|mek| ge|n\u0131 | hi|nin|en |n h| se|lik|rle|ana|lma|e a|\u0131 h|r \u015F|ill|si | de|aya|zdi|izd|aiz|hai|ret|hi\xE7|\u0131na| i\u015F|e b| ba|kla|et | h\xFC|r\u0131n|n k|ola|nma|e t| ya|eme|riy|n v|e i|a h|li |mil|eli|ket|ik |kar|irl|h\xFCr|im |evl|mes|e d|ahs|ma |rak|ala|let|lle|un | ed|rri|\xFCrr|bu | mi|i v|dil| il| e\u015F|n i|la |el |mal| m\xFC| ko|e g|se | ki|mas|lek|mle|mem|n b|ili|e e|ser| i\xE7|n s|din| di|es |mel|eke|tir|\u015Fit|e\u015Fi|r b|akl|yla|n m|len| ke|edi|oru|nde|re |ele|ni |t\xFCr|a k|eye|\u0131k |ken|u\u011Fu| uy|eml|erd|ede|ame| g\xF6|e s|i m|tim|i b|rde|r\u015F\u0131|ar\u015F|a s|it |t v|siy|ar |rme|est|bes|rbe|erb|te |al\u0131| an|ndi|end|hs\u0131|unm|r\u0131 |kor|n\u0131n| ce|maz|mse|ims|kim|i\xE7 | ay|a m|lam|ri |s\u0131z|a b|ade|n t|nam|lme|ilm|k g|il |tme|etm|r v|e v|n e|\u011Fre|\xF6\u011Fr| \xF6\u011F|al |\u0131yl|olm|vle|\u015Fma|i s|ger|me | da|ind|lem|i o|may|cak|\xE7in|i\xE7i|nun|kan|ye |e y|r t|az |\xE7 k|ece|s\u0131 |eni| mu|ulu|und|den|lun| fa|\u015F\u0131 |ahi|l v|r a|san|kat| so|enm| ev|i\u015F ",pol:" pr|nie|pra| i |nia|ie |go |ani|raw|ia | po|ego| do|wie|iek|awo| ni|owi|ch |ek |do | ma|wo |a p|\u015Bci|ci |ej | cz| za| w |ych|o\u015Bc|rze|prz| ka|wa |eni| na| je|a\u017Cd|ka\u017C|ma |z\u0142o|cz\u0142|no\u015B|o d|\u0142ow|y c|dy |\u017Cdy|i p|wol| lu|ny |oln| wy|stw| wo|ub |lub|lno|rod|k m|twa|dzi|na | sw|rzy|aj\u0105|ecz|czn|sta| sp|owa|o p|spo|i w|kie|a w|zys|obo|est|neg|a\u0107 |mi |cze|e w|nyc|nic|jak| ja|wsz| z |jeg|wan|\u0144st|o s|a i|awa|e p|yst|pos|pow| r\xF3|o o|j\u0105c|ony|nej|owo|dow|\xF3w | ko|kol|aki|bez|rac|sze|iej| in|zen|pod|i i|ni | ro|cy |o w|zan|e\u0144s|no |zne|a s|lwi|olw|ez |odn|r\xF3w|odz|o u|ne |i n|i k|czy| be|acj|wob|inn| ob|\xF3wn|zie| ws|aln|orz|nik|o n|icz|zyn|\u0142ec|o\u0142e|po\u0142|aro|nar|a j|i z|t\u0119p|st\u0119|ien|cza|o z|ym |zec|ron|i l|ami| os|kra| kr|owe| od|ji |cji|mie|a z|bod|swo|dni|zes|e\u0142n|pe\u0142|iu |edn|iko|a n|raj| st|odo|zna|wyc|em |lni|szy|wia|nym|\u0105 p|j\u0105 |ze\u0144|iec|pie|st |jes| to|sob|kt\xF3|ale|y w|ieg|och|du |ini|war|zaw|nny|roz|i o|wej|i\u0119 |si\u0119| si|nau| or|o r|kor|e s|pop|zas|niu|z p|owy|w k|ywa| ta|ymi|hro|chr| oc|jed|ki |o t|ogo|oby|ran|any|oso|a o|t\xF3r| kt|w z|dne|to |tan|h i|nan|ejs|ada|a k|iem|aw |h p|wni|ucz|ora|a d| w\u0142|ian| dz| mo|e m|awi|\u0107 s|gan|zez|mu |taw|dst|wi\u0105|w c|y p|kow|o j|i m|y s|bow|kog|by |j o|ier|mow|sza|b o|ju |yna",swh:"a k| ya|na |wa |ya | ku|a m| na| ha|i y| wa|a h|a n|ana|aki|ki |la |hak| ka|kwa|tu | kw| ma|li |a a|ila|i k| ki|ni |a w|ali|a u| an| mt|ke |mtu|a y|ake|ati|kil|ka |ika|kat|ili|te |ote|we |a s|e k|ia |zi |u a|za |azi|ifa|ma |yak|yo |i n|ama| yo|au | au|e a|kut|amb|o y|ha |asi|fa |u w|hal|ara|sha|ish|ata|ayo| as|tik|u k| za|i z|ina|u n|mba|uhu|hi |hur|cha|yot|ru |uru|wat| ch|eri|ngi|e y|u y|i a|aif|tai| sh|nay|chi|ra |ani| bi| uh|sa | hi|i h|awa|iwa|a j|ti |mu |o k|ja |kan|uli|iwe|any|i w| am|e n|end|atu|kaz|o h|ria|her|she|shi|nch| nc|uta|ye |wak|ii |ele|ami|adh|eza| wo|iki|oja|moj|jam| ja|aka|bu |kam|kul|mat|fan|a l|agu|ind|ne |iri|lim|wen|da |kup|uto|i m|a b|ini|wan|bil| ta|sta|dha| sa| ni|ao | hu|e w|wot| zi|rik|kuf|aji|ta |wez|nya|har| ye|e m|si |lin| ut|ine|gin|ing| la|a t|zim|imu|ima|tak|e b|uni|ibu|azo|kos|yan|nye|uba|ari|ahi|nde|asa|ri |ham|dhi|eli|hir|ush|pat| nd|kus|maa|di |nda|oa |bar|bo |mbo|oka|tok|ndw|ala|wal| si|uzi|hii|tah|i s|o n|liw| el|upa|zin|hag|a c|ndi|ais|mai|eny|mwe|aa |ewe| al|ndo|e h|lo |umi|kuh|jib|osa|mam|a z|ufu|dwa|u i| in|iyo|nyi| ny|u m|sil|ang|o w|guz|zwa|uwa|kuw|hil|saw|uch|ufa|laz|und|aha|ua | mw|bal| lo|o l|a i|del|nun|anu|nji| ba|lik|le |uku|i i",sun:"an |na |eun|ng | ka|ana| sa| di|ang|ung|un |nga|ak | ha|keu| ba|a b| an|nu |hak| bo|anu|ata|nan|a h|ina| je|aha|ga |ah |awa|jeu| na|ara|ing|oga|bog|gan| ng|asa|kan|a s|ha |ae |bae|n k|a k| pa|a p|sah|g s|sar| si|sin|a n|din|n s|ma | at|aga|a a|tan| ku| ma|n a|san|man|wa |lah|pan|taw|u d|ra |ari|eu | pi|gar| pe|kat| te|n p|sa |per|a d|a m|e b|aan|ban|ran|ala|ike|n n|kum| ti|ama|a j|pik|ima|n d|al |at | ja|ila|ta |nda|bas|rim|teu|n b|eba|beb|udu|aya|ika|ngg|nag|kab|rta|art| me|ola|k n|uma|atu|aba|g k|adi|aca| po|ngt|nar|una|ate|oh |boh|awe|di |tin|asi|uku|n h|dan|aka|iba|car|sac|gaw|are|ent|um |jen|abe|u s|dil|pol|ar |ku |kud|u m|upa|han| hu|ake|bar|ur |hna|aru|h s|a t|sak|wat|kaw| so|n t|pa |mpa|du |ngk|g d|ena|huk| mi|mas|ngs|ti |n j|ka |aku|ren|n m| ta|law|isa| tu|und|a u|h a|tay|ula|aja|ali|nte|gsa|en |gam| wa|ieu|ere|k h|jal|h b|il |dit|ngu|lan|asu|yun|ayu|gta|k d|a r|g n|mah|uda|dip|kas|rup|geu| be|ter|sej|min|ri |ern|u p|k k|amp|ura|kal|e a|k a|ut |g b|nak|bis| bi|k p|tes|end|we |h k|tun|uan| un| de|u n|h t|ksa|u k|ian|wil|u b|ona|nas|uka|rak|eje| se|ami| ke|war| ra| ie|k j|eh |ya |lma|alm|pen|tur|wan|lak|h j|g a|ean|up |rga|arg|r k|u t| ne|deu|gal|gke|e t|h p| ge|g t| da|i n",ron:" de|re | \xEEn|\u0219i |are|de | \u0219i|te |ul | sa|rep|e d|ea |ept|dre|tul|e a| dr|ie |\xEEn |ptu|le |ate|la |e p| la| pe|ori| pr|ce |e s| or|au |tat| ar|ice|ii |or |a s| fi| a |ric|ale|per| co|n\u0103 |\u0103 a|rea|ers|i s| li|sau| ca|rso|ent|lor|a\u021Bi|al |a d|e o|men|l l|ei |e c|pri|an\u0103| ac| re|uri|ber|ibe|lib|a p|oan|soa| in|i l|ter| al| s\u0103|tea|l\u0103 |car|t\u0103\u021B|s\u0103 |tur|i a|i d|nal| ni|ri |ita|e \xEE|e \u0219|se |ilo|in |ia |\u021Bie|pre|fie|\u021Bii|\u0103\u021Bi|con|ere|e f|a o|eni|nte| nu| se|ace|ire|ici| cu|i \xEE|a c|i n|a l|pen|ui |nu |\u0103ri|al\u0103|ona|l d|r\u0103 |ert|ril| su|ntr|n c|rin| as|ni |i o|eri|t\u0103 |c\u0103 |ile|\u0103 d|i c|e n|ele|sa | mo|i p|fi |sal|tor|va |oci|soc|nic|pro| un| tr|est|in\u021B|a \xEE|uni|n m|a a| di|ecu|lui|sta|lit| po|tre|gal|ega|oat|ra |act|\u0103 \xEE|leg|u d|e l|nde|int|a f|n a| so|na\u021B|ara|i f|uie|iun| to|tar|ste|ces|rar|at | ce|eme|i \u0219|rec|dep| c\u0103| o | \xEEm|bui|ebu|reb| eg| na|m\xE2n|ntu|ili|v\u0103\u021B|\xE2nd|iei|r \u0219|bil|pli|od |mod|res|din|e e|c\u021Bi| au|ali|\u0103 p|\u0103 f|\xEEmp|ial|cia|ion|\u0103 c|dec|nta| om|it\u0103| fa|\u021B\u0103 |cu |tra|\u0103\u021B\u0103|nv\u0103|\xEEnv|\xE2t |ite|i i|lic| pu| ex|riv|tri|rot|\u021Ba |\u021Bi |l c|rta|imi|ulu|\u021Bio|ic\u0103|lig|rel|ta |cla|t \xEE|nt |nit|e m|\xE2nt|\u0103m\xE2|\u021B\u0103m|ger|n\u021Ba|ru |tru|gur|u c|bli|abi|at\u0103|art|par|ar |rim|iva|l \u0219| sc|ime|nim|era|sup|ind|u a|dic|ic | st| va|ini|igi|e r",hau:"da | da|in |a k|ya |a d| ya|an |a a| ko| wa|na | a |sa | ha|kin|wan|ta | ba|a s| ta|a y|a h|wa |ko | na|n d|a t|ba |ma |n a| ma|iya|hak|asa| sa|ar |ata|yan| za|akk|a w|ama| ka|i d|iki|a m|owa|a b| ci| mu| sh|anc|nci|kow|a z|ai |nsa|a c|shi| \u0199a|cik|ne |ana|i k|ci |kki|e d|a \u0199| ku|su |n y|uma|ka |uwa|kum|hi |a n|utu| yi|ani| ga| ra|aka|ali|mut|\u2018ya|tar| do|\u0257an|ars| \u2018y|sam|\u0199as|nda|ane|man|tum|i a|yi |ni | du|ada| su|and|a g|cin| ad|a i|ke | \u0257a|n k|yin|um |e m| ab|ins|nan|ki |mi |ami|yar|min|oka|re |i b|kam|mas|i y|mat|za |ann|en |a\u0257a| ja|m n|li |duk|dai|e s|n s|ra |n w|n h|aik| ai|ida|ga |san|rsa|aba|sar|ce |nin| la|o n|ban|nna|kan|abi|una|dam|me |ara|i m|hal|a r|add|are|n j|abu| ne|zai|a \u0257|wat|ari| \u0199u|on |ans|wa\u0257|ame|ake|kar|din|zam| fa|a l|\u0199un|buw|r d| hu|oki|kok|a \u2018|u d|n t|abb|aur| id|rin|yak|dok|kiy|ray|jam|n b|ubu|bub|n m|i s| an|am |ili|bba|omi|dan|gam|ayu|ash|nce|tsa|ayi|har|yya|ika|bin|han|kko|rsu|aif|imi|fa | am|i i|dom| ki|yuw|dun|o a|fan|n \u0199|aya|fi |n r|she|uni|bay|riy|n \u2018|sab| iy|bat|tab|aga| ir|mar|o w|i w|sha|awa| ak|uns|unc|tun|u k| il|\u0257in|mfa|amf|aci|ewa|kas|lin|n n|don|n i|ure|ifi|lai|dda| ts|iri|aye|un |tan|wad|gwa|afi| ay|ace|mba|amb|aid|nta|ant|war|lim|kya| al|a\u0257i",fuv:"de | e |e n| ha|nde|la | wa|ina| ka|akk| nd|\u0257o |na | in|e e|hak|al |di |i h|kke|ii |um |ko |ala|ndi| mu| ne|lla| jo|wal|e\u0257\u0257|ne\u0257|all|mum| fo|kal|jog|ke |aaw|taa| ko|eed|\u0257\u0257o|aa | le|ji |ade|aad|laa|o k| ng|e h| ta|re |ogi|a j|e w|e m|nnd|gii|e l|ley|awa|aag|ede|waa|e k|gu |e d| go|gal|\u0253e |ti |fot|aan|eyd|ydi|\u0257e |ee | re|ol |oto|i e|oti|m e|taw|nga|a i|kee|to |ann|eji|am |ni | wo|een|goo|eej|e f| he|enn|gol|agu|pot| po|dee|ay | fa|ka |a k|ond|oot| de|a f|o f|a n|wa |maa|ota|le |hay|i k|o n|ngo|e j|o t| ja|\xF1aa|hee|nka|i w|awi|a w|ngu|der| to|e t|dim|i n|fof|i f|e g|tee|naa|aak| do|too|a e|ndo|ren|dii|oor|er |o e|i m|of | sa| so|gaa|ani|kam| ma| \xF1a|o w|i l|u m|kaa|ima|dir| ba|igg|lig| li|aar| \u0253e|o i|e s| o |e r|so |ooj| nj| la|won|awo|dow|woo|faw|and|e i|ore|nge|nan|are|a t|tin|aam| mo|\u0257ee|ita|ira|aa\u0257|e p|nng|ma |ank|yan|nda|oo |e \u0253|njo|ude|nee|e y|e a|je | ya|en |ine|iin| di|ral| na|\u0257i |und| hu|inn|\u014Bde|a\u014Bd|ja\u014B|a d|den| fe| te|go | su|a h|haa|tal|e\u0257e|e b|y g|baa|tde| yi|\u0257\u0257a|o h|ii\u0257|ow | da|do |l n|alt| ho|l e|aga|mii| aa|a a|ama|nna|m t| ke|edd|oga|m w|l m|o j|a\u0257e|ree|oje|yee| no|ele|ne |ago| pa| al|guu|wi |ge |aa\u0253|daa|ind|dew|i j|jey| je|ent|tan|o \u0257|ge\u0257| ge|\xF1ee|a l| \u0257u|kko|mak|a s| ga",bos:" pr| i |je |rav|na |ma |pra| na|ima| sv|a s|da |a p|vo |nje|ko |ako|anj|o i| po|avo|ja |e s|a i|ti | im| da| u |sva|no |ju | za|o n|va |i p|ili|vak|li | ko|ne | il|koj| ne|nja| dr|ost| sl|van|im |i s|u s|i i|a n|ava|ije|a u| bi|stv|se |a d|om |jed|bod|obo|lob|slo| se| ra|ih |sti| ob| je|pri|enj|dru|u i|o d|iti|voj|raz|ova|dje| os|e i|lo |e p| nj|uje|i d|bra|tre| tr| su|jeg|i n|u z|a k|og |u p|oje|cij|reb|a o|a b|lju|i u|ran|mij|ni |nos|jen|ba |edn|svo| iz|jel|pro|e d|\u017Eav|bit| ni|i o|sta|a z|avn|vje| ka|bil|ovo|a j|aju|ist|nih|tu |red|gov| od|e o|oji| sm|lje|o k|ilo|ji |aci|e u|e n|pre|o p|eba|u o|su |vim|i\u010Dn| sa|u n| dj|a t|ija|\u010Dno|jem|r\u017Ea|dr\u017E|elj|stu|dna|odn|eni|za |iva|olj|\u0161ti|nom|em |du |vno|smi|jer|e b|de |pos|m i| do|u d|nak|a r|obr| mo|lja|nim|ego| kr|tit|kri|ve |nju|an |iko|nik|nu |i m|nog|eno|sno| st|e k|tup|rug|ka |oda|riv|vol|aln|m s|itu|a\u0161t|za\u0161|ani|sam|akv|ovi|osn|rod|aro| mi|tva|dno|nst|jan|ak |ite|vi\u010D|rad|u m| ta|dst|tiv|nac|rim|kon|ku |odu|\u017Eiv|amo|tvo|tel|pod|g p|nov|ina|nar| vj|o s|i b|oj | ov|ave|vu |ans|oja|zov|azo|ude|bud| bu|e t|i v|din|edi|nic|tan|nap|mje| is|jal|slu|pun|eds|o o|zak|jav|i k|m p|tno|ivo|ere|ni\u010D|m n|jim|kak|ada|vni|ugi| ro|mov|ven|pol|to |te | vr",hrv:" pr| i |ma |rav|ima|pra|je |na | sv|ti | na|a p|vo |vat|ko |a s|nje| po|anj|avo|o i|tko| im|a i|sva|no |i p|e s|ja |o n| za|ju |ili| u |va |li | bi|ne |i s|atk| il|iti|da | ne| ko| dr| sl|van|nja|koj|ije| ra|ova| os|u s|i i|ost|bod|obo|lob|slo|pri|a n|om |jed|ati|ih |im |voj|ava| ob|stv|se | mo|i u|bit|dru| je| se|dje|i o|enj| ka|i n|sti|lo |u i|svo|mij|ni |e i|raz|a o|e n|bra|o p| su|a b|u p|ran|a k|og |i d|bil|ako|e p|a d|edn|aju|mor|eni| nj|iva|jel|\u017Eav| ni|a z|avn|ovi|eno|ra |oje|a j| da|a u|ora|jeg| iz|nih|r\u017Ea|dr\u017E|oji|sno|nit|jen|vje|ilo|cij|oda|nim| dj|pro|tit|u z|e d|red|nom|jem| od|nos|sta|nov|osn| sm|lje|o s|ji |ovo|stu|pos|vim| do|odn|rad|ist| sa|e o|tu |nju|em |gov|o d|rod|i m|jer|aci|oj |pre|m i|nak|dna|a r|lju|uje|e m|obr|za |olj|ve |o o|m s|an |nu |du |aro|vno|smi|aln|e k|o k|i b|e u|tva|u u|tup|rug|dno|u o|su |u d|ka |vol| ta|ija|itu|\u0161ti|a\u0161t|za\u0161|itk|\u017Eiv|ani|sam|elj| st|sob|oso|nar|akv|ada| mi|te |ona|nst|jan|lja|i v|ite|ego|elo|rim|ku |odu|amo|tvo|tel|jim|pod|nog|vi |ina| vj|to |e b|ans|zov|azo|ak | sk|edi|tan|oju|pun|pot|oti|kon|zak|i k|m p|tno|ivo|ere|ni\u010D|kak|vni|ugi| ro|mov|ven|\u0161tv| be|ara|kla|ave|u b|avi|oja|jal|u m|dni|mje|rak|din|\u0107i |ju\u010D|klj|nic|u k|nap|obi|atn",nld:"en |an |de | de| he|ing|cht| en|der|van| va|ng |een|et |ech| ge| ee|n e|rec| re|n v|n d|nde|ver| be|er |ede|den| op|het|n i| te|lij|gen|zij| zi|ht |ijk|eli| in|t o| ve|op |and|ten|ke |ijn|e v|jn |ied| on|eft| ie|sch|n z|n o|aan|ft |eid|te |oor| we|ond|eef|ere|hee|id |in |rde|n w|t r|aar|rij|ord|wor|ens|of | of|hei|n g| vr| vo| aa|r h|hte| wo|n h|al |nd |vri|e o|ren|le |or |n a|jke|lle|eni|n b|ij |e e|g v| st|ige|die|e g|men|nge|t h|e b| za|e s|om |t e|ati|wel|erk|sta|ers| al| om|n t|zal|dig| me|ste|voo|ter|gin|re |ege|ge |g e|bes|nat| na|eke|che|ig |gel|nie|nst|e a|nig|est|e w|erw|r d|end|ona|d v|jhe|ijh|d e|ele| di|ie | do|del|n n|at |it | da|tie|e r|elk|ich|jk |vol|ijd|tel|min|len|str|lin|n s|per|t d|han| zo|hap|cha|wet| to|ven| ni|aat|ion|tio|taa|lke|eze|met|ard|waa|uit|sti|e n|doo|pen|eve|el |toe|ale|ien|ach|st |ns | wa|eme|nin|e d|bij| gr|n m|p v|esc|t w|ont|ite|man|ema| ma|nal|g o|rin|hed|t a|t v|beg|all|ijs|wij|rwi|e h| bi|gro|p d|rmi|erm|her|oon| pe|eit|kin|t z|iet|iem|e i|gem|igi| an|d o|r e|ete|e m|js | hu|oep|g z|edi|arb|zen|tin|ron|daa|teg|g t|raf|tra|eri|soo|nsc|t b| er|lan| la|ern|ar |lit|zon|d z|ze |dez|eho|d m|tig|loo|mee|ger|ali|gev|ije|ezi|gez|nli|l v|tij|eer| ar",srp:" pr| i |rav|na |pra| na|ma | sv|ima|da |ja |a p|vo |je |ko |ti |avo| po|a i|ako|a s| za| u |ju |o i| im|nje|i p|va |sva|anj|vak| da|o n|nja|e s|ost| ko|a n|li |ili|ne |om | ne|i s| sl| il| dr|no |koj|u s|ava| ra|og |slo|im |enj|sti|bod|obo|lob|iti|a o|stv|i u|a d|ni |jed|u p|pri|edn| bi|i i|a k|o d|sta|ih |dru|a u| je| os| ni|nos|pro|aju|i o|ran| de| su|u i|se |van|ova|i d|cij| ob|uje|red|\u017Eav|e i|i n|voj|e p|a j|dna| se| od|ve | ka|eni|r\u017Ea|dr\u017E|a z|avn|aci|ovo|u u|m i|oja| iz|lja| nj|ija|u z|e o|rod|jen|lje|e b|raz|jan|lju|svo|za |gov|i\u010Dn| st|nov|sno|osn|du |ji |pre| tr|su |vu |odn|a b|jeg|nim|nih|tu |tit|\u0161ti|ku |nom|bit|e d|me |iko|\u010Dno|oji|lo |vno|nik|e n|\u0111en|ika|bez|ara|de |u o|vim|nak| sa|u n|riv|ave|an |olj|vol| kr|o p|sme|e k|nog| ov|e u|tva|bra|rug|reb|tre|u d|oda| mo| vr|vlj|avl|ego|jav|del|m s|kri|o k|a\u0161t|za\u0161|nju| sm|ani| li|dno|e\u0111u|aln|la |akv|oj |\u0161en|kom|stu|ugi|avi|a r|ka |rad|oju|tan|odi|vi\u010D|tav|itu|ude|bud| bu|pot|odu|\u017Eiv|ere|m n|tvo|ilo|bil|aro|ovi|por|eno|\u0161tv|nac|ove|m p|tup|pos|rem|dni|ba |nst|a t|ast|iva|e m|vre|nu |be\u0111|ist|pun|en |te |dst|rot|zak|ao |kao|i k|ju\u0107|o s|st |sam|ter|nar| me|i m|kol|e r|u\u0161t|ru\u0161|ver|kak| be|i b|kla|ada|eba|ena|ona| on|tvu|ans| do|rak|slu",ckb:" he| \xFB |\xEAn | bi| ma|na |in |maf| di|an |xwe| xw|ku | ku|kes| de| ji|her|kir|iya|ya |rin|iri|ji |bi |es | ne|ye |y\xEAn|e b|er |af\xEA|tin|ke | an|iy\xEA|eye|rke|erk|we | be|e h|de | we|hey|f\xEA |i b|y\xEA |ina| b\xEA| li|diy|ber|li |re |\xEE \xFB|n\xEA |\xEA d| se| ci|eke|di |w\xEE | na|\xEE y|af |ete|hem| w\xEE|sti| ki|r\xEE |k\xEE |\xEE a|yek|n d|kar| te|ne |y\xEE |i h|e k|t\xEE |t\xEA |a w|e d|\xEE b|s m|ast|n b|be |yan|ser|tew|net| tu| ew|hev|aza|ara|\xFB b|n k|adi|ev |zad| az|ras|est|an\xEA| ya|n h|n \xFB|wed| t\xEA|wek|bat|bo | bo| y\xEA|st |n n|\xEA k|dan|\xEA h|ema|\xEA b|iye|\xEE h|din|b\xFBn|r k|ek\xEE| me|par|\xFBna|ta |wle|ewl|\xEE m| ke|nav|ewe|man|\xEA t|d\xEE |\xFB m|m\xFB |em\xFB|a m|ika|e \xFB|n w|a x|\xEA m|e n| ta|ela|n j|ey\xEA|n x|civ|wey|ana| re|khe|ekh|bik|k\xEA |j\xEE |f h|er\xEE| pa|\xEEna|bin|erb|vak|iva|a s| ni|cih|v\xEA |e j|ari| p\xEA|\xEE d|n\xEAn|ike|e t|a k|\xEA x| ye|n a|ey\xEE|n e|ama|b\xEA |ar |ewa|at\xEA|bes|rbe|av |ibe|ist|m\xEE |tem|awa|are|h\xEE |geh|nge|ing|nek|n\xFBn|an\xFB|qan| qa|v\xEE |rti|uke|tuk| \u015Fe|eza| da|u d|\xFB a|f \xFB|edi| ra|tu |tiy|t\xEAn| mi|xeb| ge|h\xEEn| h\xEE|et\xEA|\xEE j|st\xEE|mal|bib|ra |i d|e m|mam|i a|nik|i m|\xEE k| wi|\xFBn | ko|a \u015F|\xEA j|riy|lat|wel|e e|ine|ane|\xFB h|\xEEn |a d|siy|end|aye| za|ija|a n|\xEE n|ek |tek|yet|mbe|emb|\xFB d|rov|iro|mir|eba| xe|m\xEAn| \xEAn| hu|n\xEEn|an\xEE|t \xFB|ten|n m|dem|\xEA \xFB|en\xEA|te |art|i r| j\xEE|u j|ek\xEA|dew",yor:" n\xED|ti |\u1ECD\u0301 |n\xED | l\xE1| \u1EB9\u0300|\xE0n |\u1EB9\u0301 |kan|t\xED | t\xED|an |\u1EB9\u0300 |t\u1ECD\u0301|\u1ECD\u0300 | \u1EB9n|\u1ECDn |w\u1ECDn|\xED \u1EB9|b\xED |\xE1ti|l\xE1t|\u0300t\u1ECD|\u1EB9\u0300t| gb| \xE0t| \xE0w|n l|\xE0ti| a |l\u1EB9\u0300|\u1EB9n\xEC| \xF3 |k\u1ECD\u0300| l\xF3|\xEC k|s\xED |\u1ECD\u0300k| k\u1ECD|ra |ni |\xE0b\xED|t\xE0b| t\xE0|n\xEC | s\xED|\u0300ka|\u1ECD\u0300\u1ECD|n \u1EB9|\xE0w\u1ECD|n t|\xF3 n|\u0300\u1ECD\u0300|\xEDl\u1EB9|or\xED|l\xF3 | w\u1ECD|t\xF3 |d\xE8 |\xECy\xE0|\xFAn | t\xF3| or|\xED \xEC|\xE8d\xE8|k\xF2 |\u2010\xE8d|\u0300\u2010\xE8|\u1EB9\u0300\u2010|r\xEDl|\xED \xF3|r\u1EB9\u0300|\xED \xE0| s\xEC|y\xE0n|gbo|\u1E63e | k\xF2|\xED a| r\u1EB9| j\u1EB9|s\xEC | b\xE1|r\xE0n| \u1E63e|w\u1ECD\u0301|n\xECy|f\xFAn| f\xFA|n \xE0|ba |n n|gb\xE0|gb\u1ECD|j\u1EB9\u0301|un |\xEC\xED | k\xED|gba|\xE8n\xEC| \xE8n|b\xE1 |\u0301 l|a k| ka|d\u1ECD\u0300|k\xED | \xF2m|in | fi|b\xF2 |fi |b\u1EB9\u0301|\u1ECDd\u1ECD|b\u1ECDd|\u0301 s|hun|n\xFA |n\xEDn|w\xE0 |ira|nir|\xF2m\xEC|\xECgb| \xECg|\u0301 t|\u1EB9ni|\xEDn\xFA|i l|\xECni|m\xECn|b\xE0 |\xE1\xE0 |i \xEC|ohu| oh|\xED i|ara| ti|bo |\xF2 l| p\xE9|r\xFA |\xEDr\xE0| \u1ECD\u0300|\xED \xF2|ogb|k\u1ECD\u0301|p\u1ECD\u0300|\xF3 b|\xE0 t|i n|l\u1ECD\u0301|\u1EB9\u0301n| \xECb|y\xEC\xED|gb\xE9|g\u1EB9\u0301|bog|\xF3\xF2 |y\xF3\xF2| y\xF3|n k|p\xE9 |d\xE1 |\u0301w\u1ECD|\u1ECD\u0301w|\xE0 l|\xED k| w\xE0|n o|j\u1ECD | ir|\u1ECD\u0300r|\xFA \xEC|\u0301 \xE0|\xF3 s|i t|\u1E63\u1EB9\u0301|\u0300k\u1ECD|\xED t|y\xE9 |l\xE8 | l\xE8|fin|\xE0b\xF2| l\u1ECD|\xE0 n|\xF9j\u1ECD|w\xF9j|ir\xFA|\xF3 j| ar|\xED w|a w| \xECm|\xFA \xE0|\u0300 t|\xF2fi| \xF2f| \xE0\xE0|f\u1EB9\u0301|\xE0w\xF9|\u0301ni|w\xF9 |\xEC\xEDr|m\xEC\xED| m\xEC|l\xE1\xEC| y\xEC|\xED g|\u1ECD\u0301n|n s|i \u1EB9|\u1EB9\u0300k|\xE0gb|\xEDgb|n\xEDg|a n| k\xFA|l\xE1\xE0|\xED o|n\xE1\xE0| n\xE1|k\u1EB9\u0301|\xEDpa|n\xEDp|\xECn | \xECk|b\xE9 |i g|\u1ECDm\u1ECD| \u1ECDm|i \xE0|i\u1E63\u1EB9|\u0300 \xE0|\xECm\u1ECD|n a|n f|j\u1EB9 |y\xED |\u0301 \u1ECD|\xF3 d|\u0301 \xF2| d\xE1| m\xFA|\xE0\xE0b|\xE1b\u1EB9|l\xE1b|\xECb\xE1|\xF2 g|j\xFA |i o|l\xFA | \xE8t|\u0300 \u1EB9|t\u1ECD\u0300|de |\u0300 n|i \xF2| \xECy|k\xE0n|\u0301n | b\xED| i\u1E63|m\u1ECD\u0300|e \u1EB9|\u0300 l| f\xE0|\xE8y\xED| \xE8y| \xECd|m\u1ECD\u0301|d\xE9 |\u0300 k|\u0301 p|\xF2 t|m\xFA | f\u1EB9| \xECj|r\xED |\xECk\u1EB9|n\xECk|\xECn\xED|n \xEC|n \xE8|s\xECn|\xE8 \u1EB9| i |r\u1ECD\u0300| \xE0n|\u0301 b|\xF9n |\u0301gb|\u1ECD\u0301g|d\u1ECD\u0301| d\u1ECD|\xED n|rin|\u0300 j",uzn:"ish|an |lar|ga |ir | bi|ar | va|da |iga| hu|va |bir|sh |uqu|quq|huq| ha|shi| bo|r b|gan|a e|ida| ta|ini|lis|adi|ng |dir|lik|iy |ili|o\u02BBl|har|ari| o\u02BB|uqi|ins|lan|hi |ing|dan|nin|kin| yo|son|nso| in| mu|on |qig| ma|ega|r i|bo\u02BB| eg|o\u02BBz|ni |gad|ash|i b|ki |oki|ila|yok|a b|n b|osh|ala|at |in |r h|erk| er|lga| qa|rki|h h| sh|i h|ara|n m| ba|nis|ik |igi|lig|bos|ri |qil|a t|bil|las|eti| et|n o|ani|nli|kla|i v|a q|a h|a o|yat| qo|im |a s|i m|iya|atl|oli|osi|siy|qla|cha|til| ol|ati|a y|mas|qar|inl|lat| qi|ta\u02BC|ham|gi |ib |\u02BBli|mla|h v|\u02BBz |hun|n e|mum| da| bu| to|un |mki|umk|sha|tla|ris|iro|ha |rch|bar|iri|oya|ali| be|i o|asi|aro| ke|i t|rla| te|arc|hda|shu|tis|n h|tga| sa| xa|rak|lin|ada|ola|imo|hqa|shq|li | tu|aml|lla|sid| as|nid|a i| ki|ch |n t|nda|k b|era|siz|or |hla|a m|r v|eng|ten|mat|mda|amd|lim|miy|y t|ayo|i a|ino|ilg|tni| is|ana|as |ema| em|ech|a a|tar|kat|aka|ak |rat| de|aza|ill| si| so|g\u02BBi|uql|n q|oda|\u02BCli|a\u02BCl|nik| ni|tda|uch|gin|a u|him|uni|sit|ay |qon| ja|atn|kim|h k|hec| he|\u02BBzi|lak|ker|ikl| ch|liy|lli|chi|ur |zar|shl|rig|irl|dam|koh|iko|a d|am |n v|rti|tib|yot|tal|chu| uc|sla|rin|sos|aso| un|na | ka|muh|dig|asl|lma|ra |bu |ush|xal|\u02BBlg|i k|ekl|r d|qat|aga|i q|oiy|mil| mi|qa |i s|jin",zlm:"an |ang| ke|ng | se| da|ada|ara|dan| pe|ran| be|ak |ber|hak|ata|ala|a s|ah |nya| me|da |per|n s|ya | di|kan|lah|n k|aan|gan|dal|pad|kep|a p|n d|erh|eba|nga|yan|rha| ya|nda|ora|tia|asa| ha|ama|epa| or|iap|ap |a b| at| ma|eti|ra |tau|n a|set|au | ba|pa | ad|n p|tan|p o|eng|a d|men|apa|h b|h d|dak|man|a a|ter| te|k k| sa|n b|ana|g a|end|leh|ole|a k|am |n y|aka|eh |lam|bas|beb|n m| un|pen|sa |keb|sam|n t| ti|ela|san|car|uan|ma |di |han|ega|ban|eri|at |sia|a m|ika|kes|ian|gar|seb|ta |mas|und|neg|nan|ngs|i d|erl|na |epe|emb|bar| la|atu|kla|pem|mem|emu|eca|sec|ngg|nny|any|bol|al |aha|gsa|ebe|ind|akl|n h|erk|ung|ena| bo|a t| ap|ers| de|in |tu |pun|as |agi|ann|g b|bag| ne|ain|hen| he|era|rat|sem| su|adi|lan|g s|dia|mat|ses|iad| ta|iha|g t|tin|k m|k h|i k|gi |i s|ing|uka|enu|den|lai|k d|ert|ti |rka|aja|rga|lua|ker|mel|dun|ndu|lin|rli|nak|ntu|esi|aya|un |uat|jua| in|rma|erm|ai |emp|kem|ri |dil|ua |uk |h m|l d|g m|mba|kat|ese|tik|ni |ini| an|mpu|ka |dar|mar|rja|erj|arg|u k|sua| ol|esa|dap|ar |g u|si |ent|g d| pu|awa|iri|dir|sal|gam|mbe|n i|har|a h|raa|ema|tar|i a|saa|ira|ari|pel|jar|laj|uju|tuj|rak|ura|uar|elu|t d|unt|il |wen|asi|gga|ipa|ksa|tuk|ula|sek|sas|ibu|rta|sep|rsa|nta|ati|ila|mua|yar",ibo:"a n|e n|ke | na| \u1ECD |na | b\u1EE5|\u1ECD b|nwe|nye|ere|re | n |ya |la | nk|ye | nw| ma|e \u1ECD| ya| ik|a o|a \u1ECD|ma |\u1EE5la|b\u1EE5l|ike| on|nke|e i|a m|ony|\u1EE5 n|kik|iki|b\u1EE5 | a |ka |wer|ta |i n|do |di | nd| ga|a a|e a|a i|he |kwa| ok| ob|e o|hi |any|ga\u2010|ha |d\u1EE5 | mm|ndi|\u1ECD n|wa |r\u1EE5 |e m|che|a e|oke|wu |aka|ite|o n|a g|odo|bod|obo| d\u1ECB| ez|ara|we | ih|a\u2010e|h\u1ECB |ri |n o|zi |mma|chi|d\u1ECB |ghi|\u1EE5ta|iri|ihe| an| oh|a y|gba|\u1EE5 \u1ECD| \u1ECDz| ak| iw|nya|te |iwu| nt|ro |oro|e \u1ECB|z\u1ECD |ezi|me |e e|u n|her|ohe| si|a\u2010a|i m|ala|\u1EE5 i| ka|akw| in|gh\u1ECB|kpe|n e|p\u1EE5t| e |i i|i o|ide|inw|\u1EE5 o|h\u1EE5 |ah\u1EE5|weg|ra |o i|kpa|ad\u1EE5|mad|si |sit|a s| me|sor|i \u1ECD|gid|edo|u o|e y|n a| en|tar|ozu|toz|bi |be |\u1EE5 m|\u1EE5r\u1EE5|\u1ECDr\u1EE5| \u1ECDr|mak|uso|ama|de |\u1ECB o| \u1ECDn|\u1ECDz\u1ECD|ch\u1ECB|egh|enw|ap\u1EE5|ru | to|i a|a \u1EE5|osi|r\u1ECB |wet|hed|nch| nc| eb| al|n\u1ECDd|\u1ECDn\u1ECD|uru|sir| kw|yer|ji |eny| mk|\u1ECBr\u1ECB|eta| us|tu |\u1ECD d|u \u1ECD| o |ba | mb|\u1ECDd\u1EE5|\u1ECBch| ch|a d|pa | ag|kwe| ha|a u|e s|mkp|n u|nta|ebe|n \u1ECD|o m|kwu|nkw|nwa|obi| \u1ECBk|esi|i e|nha| nh|le |ile|nil| ni|eme| og|e k|n i|ch\u1ECD|o y|as\u1ECB|otu| ot|ram|u m|\u1ECBgh|d\u1ECBg|zu |n\u1ECD |mba| gb|e g|\u1ECB m|\u1ECDch|ich|pe |agb|i \u1ECB|uch|z\u1EE5z|uny|wun|\u1ECDr\u1ECD| nn|na\u2010| di|ge |oge|iji| ij|\u1ECDha| \u1ECDh|ikp|egi|meg|o o|\u1EE5h\u1EE5|h\u1EE5h|mah|n \u1EE5|\u1ECD g|\u1ECDta|ek\u1ECD|\u1ECB n|kw\u1EE5|agh|\u1EE5m\u1EE5|ban|kpu|okp| ah|\u1ECBkp|a k|ime| im|z\u1EE5 |\u1EE5z\u1EE5|\u1ECDz\u1EE5| \u1EE5z|lit|ali|nat",ceb:"sa | sa|ng |ang| ka| pa|an |ga |nga| ma|pag| ng|on |a p|od |kat|ay | an|g m|a k|ug |ana| ug|ung|ata|ngo|atu|n s|ala|san|d s|tun|ag |a m|god|g s|a a|a s|g k|g p|yon|n u|ong|tag|usa|pan|ing|una|mat|g u|mga| mg|y k| us|ali|syo| o |aga|tan|iya|kin|dun|nay|man|nan|a i| na|ina|nsa|isa|bis|a b|adu| ad|n n| bi|asy|asa|lay|awa|lan|non|a n|nas|o s|al |agp|lin|nal|wal| wa|ili|was|gaw|han| iy| ki|nah|ban|nag|yan|ahi|n k|gan| gi|him| di|a u| ba| un|ini|ama|ya |kas|asu|n a|g a|gka|agk|kan|ags|agt|l n|a g|kag| ta|imo|uns|sam| su|g n|n o|gal|kal|og |taw|aho|uka|gpa|ipo|ika|o p|a t| og| si|gsa|g t|aba|ano|gla|y s|o a|aki|hat|kau|sud|gpi|a w|g i|aha|ot |ran|i s|n m|bal|lip|gon|ud | ga|li |uba|ig |ara|g d|na |kab|aka|gba|ngl|ayo| la| hu|a h|ati|d a|d n| pu| in|uga|ok |ihi|d u|ma |may|awo|agb|ami|say|apa|pod|uha|t n|agh|buh|ins|ad | ub| bu|at |iin|a d|ip |uta|sal|hon|wo |ho |tra|lak|iko|as |aod|bah|mo |aug|ona|dil|gik|sos|lih|pin| pi|k s|nin|oon|abu|la |rab|hun| ti|mah|tar|t s|ngb|uma|hin|bat|lao|mak|it | at|s s|sno|asn|ni |aan|ahu| hi|agi|n p|inu|ulo|y p| ni|iha|mag|o n|duk|edu| ed|a e|til|ura|tin|kip|agl|gay|g h|g b|ato|ghi|nab|kon|in |ter|o u|o o|yal|sya|osy| so|tik| re| tr|hig|a o|ha |but|pak|aya",tgl:"ng |ang| pa|an |sa | ka| sa|at | ma| ng|apa|ala|ata|g p|pan|pag|ay | an| na|ara| at|tan|a p|pat|n a| ba|ga |awa|rap|kar|g k|aya|lan|g m|n n|g b|nga|mga| mg|a k|na |ama|n s|a a|gan|yan|gka| ta|may|tao|agk|asa|man|aka|ao |y m|ana|g a|nan|aha|kan|y k|baw|kal|a m|g n|ing|wat| y |t t|pam|a n|o y|ban| la|ali|san|wal|mag| o |g i|aga|lay|any|g s|in |nya|yon|kas|a s|isa|una|ong|aan|kat|t p| wa|ina|tay|ya |on |o m|ila|ag |nta|t n|aba|ili| ay|o a| ga|no |a i|gal|ant|han|t s|kap|kak|lah|ari|agt|agp|ran|g l|lin|as |lal|gaw|ans|to |ito| it|hay|wa |t m| is|pap|mam|nsa|ahi|nag|bat|lip|gta| di|gay|gpa|pin| si|ngk|ung|aki|y n|iti|tat|ano|yaa|y s|mal|hat|kai|sal|hin|uma|mak|di |agi|pun|ihi|a l|i a|ira|gga|nah|s n|ap | ha|usa|nin|o p|gin|ipu|ika|ngi|i n|lag|la |y p|ini|g t|uka|nap| tu|a g|tas|aru|ipa| ip|li |al |n o|a o|t k|alo| pi|sin|syo|asy|ita|aho|nar|par|o s|pak|t a|uha|sas|gsa|ags|kin|a h|iba|lit|ula|o n|nak|a t| bu|duk|kab|sam|g e|ain|ami|mas|lab|ani|kil|it | al|agb|buh|a b|g g|ba | ib|iyo|ri |yag|ad | da|edu| ed|anl|ma |ais|iga|mba|tun|ipi| ki|od |ayu| li|lih|sar|gi |g w|pah|wir|oob|loo|agg|nli|bay|map|git|mil|ok |hon|ngg|sah|iya|pas|g h|agl|tar|ngu|amb|uku|ayo|s a|p n|n m|rus|i m|l a|abu| aa",hun:"en | sz| va| a |\xE9s |min|ek | \xE9s| mi|jog| jo|an |ind|nek|sze|s\xE1g|nde|a v|den|oga|sza|val|ga |m\xE9l|ala|em\xE9|gy |n a|van|zem|ele| me|egy|\xE9ly| eg|zab|t\xE1s| az|n s|bad|aba|ni |az |gye| el|ak | se|meg|sen|\xE9ny|s\xE9g|k j|yne|lyn| ne|ben|lam|tt |t a|et |agy|oz |hoz|vag|zet| te|n m|ez |nak|int|re |et\xE9|tet|mel|tel|s a|em |ely|let|hez| al|s s| ki|ete|at\xE1|z a| le|yen|es |ra |t\xE9s|ell|nt |sem|t s|len|nem|a s|ese|nki|enk|a m|\xE1s\xE1|i m|ban|kin|k m|szt| \xE1l|ame|k\xF6z|k a|ds\xE1|ads|l\xF3 | k\xF6|\xE1s |ly |on |\xE9be|tat|a t|n v|\xE1ll|m\xE9n| v\xE9|nye|k\xFCl|l\u0151 |a n| cs|i \xE9|ok |\xE9sz|\xE9rt|lla|lap|\xE1go|gok|nyi|tek| ke|nd |\xE9te|ami|z\xE9s|yes|szo|t m|a a|het|fel|lat|lem|lle|el |z e|s e|k \xE9|mbe|emb|el\xE9|ot |lis|vet|kor|\xE1g |olg| am|sz\xE1|ehe|leh|ogo|ott|\xFCl |nte|\xE9le|i v|ogy|hog| ho|kel|n k|tes|nl\u0151|enl|ss\xE1|\xE1za|h\xE1z|\xE9g |vel|\xE1ba|lek|\xE9ge| ha|a h|r\xE9s| fe|\xE1ny|del|el\u0151|\xE1t |al\xE1|art|tar|zto|z\xE1s|t\u0151 |yil|koz|tko|al\xF3|s k|i e|\xE1rs|t\xE1r|mze|emz| ny|m\xE1s|ett|ny |fej|ass|zas| h\xE1|d a|t \xE9|is |\xE9s\xE9|ez\xE9|t\xE9b| mu|\xE1so|s\xEDt|lye|elm|\xE9de|v\xE9d|ine|t k|os |it |izt|biz| bi|y a|m l|tot|a j|atk|n\xE9l|t n|ti | m\xE1|ai |l\xE1s|eve|nev|zte| b\xE1|sel|ll |al |ere|n e|unk|mun|t e| ak|ife|kif|ako|s \xE9| \xE9r|\xE1na| es|s t|got|s\xFCl| be|v\xE1l|csa|se |\xE9se|ad |ges|tos|ja | gy|asz|ten|lm\xE9| t\xE1|eze|\xE1rm|b\xE1r|ess|l s|\xFCle",azj:" v\u0259|v\u0259 |\u0259r |ir | h\u0259| bi| h\xFC| ol|\xFCqu|h\xFCq|quq|na |in |lar|h\u0259r|d\u0259 | \u015F\u0259|bir|l\u0259r|lik|mal|r b|lma|r h| t\u0259|\u0259xs|\u015F\u0259x|\u0259n |dir|uqu|una|an |ali|a m| ma|ikd|ini|r \u015F|d\u0259n|ar |il\u0259|qun|aq |as\u0131| ya|m\u0259k|y\u0259t| m\u0259| m\xFC|kdi|\u0259si|\u0259k |ilm|nin|nd\u0259|olm|\u0259ti|\u0259 y|sin|xs |nda|lm\u0259|yy\u0259|i v| qa| az|olu|iyy|ya |ind|zad|qla|\xFCn |ni |l\u0259 |tin|n m|aza|ar\u0131|\u0259t |n t|maq|lun|l\u0131q|\u0259 b|un |nun|q v|n h|dan|\u0131n | et|tm\u0259|\u0259r\u0259| \xF6z|da |\u0259 v| on|\u0259 a|\u0131na|\u0131n\u0131|bil|a b|s\u0131 |il |\u0259mi|ara|si | di|\u0259 m|\u0259ri|rl\u0259| va|\u0259 h|etm|\u0131\u011F\u0131|ama|dl\u0131|adl|rin|b\u0259r|r\u0131n|n i|m\xFCd|n\u0131n| he|mas|ik |n a|dil|al\u0131|irl|\u0259l\u0259|\xFCda|s\u0131n|\u0131nd|xsi|li |\u0259 d|n\u0259 | b\u0259|\u0259ya| in|\u0259 i|l\u0259t| s\u0259|n\u0131 | i\u015F|an\u0131|e\xE7 |he\xE7|q h|eyn|\u0259 e|d\u0131r| da|asi|r\u0131 |i\u015F |ifa|l\u0131\u011F|i s|fi\u0259|afi|daf| ed|m\u0259z|u v|kil| ha|ola|n v|\u0259ni|\u0131r |uq |unm| bu| as|sia|osi|sos|ili|\u0131d\u0131|l\u0131d|nma|\u0131q |in\u0259|\u0259ra|sil|xil|axi|dax|ad\u0259|man|a h|\u0259 o|onu|a q|\u0259z | ki|se\xE7| se|\u0131 h|min|lan|\u0259d\u0259|bu |raq|l\u0131 |\u0131l\u0131|al |\u0259 q|r v|nla|hsi|\u0259hs|t\u0259h|\xF6z |ist| is|m\u0259s| \u0259s|ina|\u0259 t|\u0259tl|a v|i\u0259 |n b|t\u0259r| ta| c\u0259|edi|ala|kim|qu |i t|ulm|m\u0259h|n o|aya|\u0131 o|ial| so|ill|siy| d\u0259|var|ins|mi |\u011F\u0131 |nik|r i|aql|k h|t\u0259m|tam|\xE7\xFCn|\xFC\xE7\xFC| \xFC\xE7|\u011F\u0131n|sas|\u0259sa|z h|\u0259m\u0259|zam| za|sti|r\u0259f|n e|r a|ild|h\u0259m|\u0131ql|yan|may|n \u0259|m\u0259n|mil| mi|\u0259qi|din|n d|t\xFCn| d\xF6|miy|kah|ika| ni|fad|tif|l o|s\u0259r|yni| ey|ana|l\u0259n|am |ril|ay\u0259|a\u015F\u0131",ces:" pr|n\xED | a | ne|pr\xE1|r\xE1v|na |ost| po|ho | sv|o n| na|vo |neb|\xE1vo|bo |ebo|nos|m\xE1 | m\xE1|a\u017Ed|ka\u017E| ka| ro|ch |d\xFD |\u017Ed\xFD|ti |ou |a s| p\u0159| za|\xE1n\xED|\xE1 p| je| v |svo|\xE9ho| st|\xFD m|sti|n\u011B | by|obo|vob|ter|pro|en\xED|bod| z\xE1| sp|\xED a|rod|kte|by |mu |u p|o p| n\xE1|v\xE1n|jak| ja|a p|o v|\xED n|ov\xE1|oli|v\xED |spo|roz| kt|mi |\xED p|ny | ma|\xEDm |i a|do | so|odn|\xE1ro|n\xE1r|li |n\xE9 |tv\xED|at |\xFDch|a z| vy|byl|vol|en |\xFDt |b\xFDt| b\xFD|t s|tn\xED|stn|o s|\xED b|to | do|sv\xE9|v\xE9 |ran|ejn|z\xE1k|eho|jeh|nes|p\u0159\xED|m\xED |\u010Din|kol|aj\xED|sou| v\u0161|\xEDch|it |n\xFDm|\xFDm |nu |hra|nou|u s|\xE9mu| k |du |\u017Een|pod| ze|kla|a v|stv|pol|dn\xED|er\xE9|m p|st\xE1|je |ci |e\u010Dn| ni|n\xE9h|a n|ak\xE9|\xE1va|maj|em |rov|\xED m|k\xE9 |ole|n\xFDc|ova| ve|ako| ta|i k|chr|och| oc|kon|i p|\xED v|sm\xED|esm|kdo|st |i n|o z|ave|odu|bez| to|sta|ech|j\xED |o d|sob|se | se|\xED s|\xFDmi|i s| i |i v| vz|n\xEDm|pra|ln\u011B|p\u0159i|t\xE1t|ste|a j|aby| ab| s |oln|a o|m n|\u010Den|slu|\u0159\xEDs| os|zem|mez| \u010Di|ln\xED|\xE1ln|oci|jin| ji|y b|\xED z|y s|va |v\u0161e|t v|ovn|chn|d\u011Bl|n\xEDc|le\u010D| pl|vat| vo|vin|rav|vou|lad|inn|\xE9 v|anu|tej|u k|stu|est| tr|ky |ikd|nik|ivo|nit|zen|u o|n\xE9m|nez|i\xE1l|\xEDho|len|ens|o\u017Ee|oko|k\xE9h|rac|ven|\xED k|e s|l\xE1n|\u011Bl\xE1|zd\u011B|vzd|t k|din|odi|t\xED | od|r\xE9 |tup|pov|pln|\u0161t\u011B|\xE1kl|nno|tak|er\xE1|\u0159ed|o a|a t|res|j\xEDc| mu|u z|rok| ob|\u010Dno|u a|y k|i j|\xE9 n|lu\u0161|\xEDsl|oso|ci\xE1|soc|n\xEDh|o j|ck\xE9",run:"ra |we |wa |e a| mu|a k|se | n | um| ku|ira|ash|tu |ntu|a i|mu |umu|mun|unt|ere|zwa|ege|ye |ora|teg|a n|a a|ing|ko | bi|sho|iri| ar| we|shi|aba|e n|ese|go |a m|o a|gu |uba|ngo|nga|hir| ca|ugu|obo|hob|za |ndi|ish|gih| at|ara|wes| kw|ger|ate|a b| ba| gu|e k|can|ama|ung|bor|u w|mwe|di | ab|nke|ke |kwi|ka |ank|yo |ezw|n u|na |iwe|e m|rez|ri |a g|gir| am|igi|e i|ro |a u|ngi|e b|ban| ak| in|ari|n i|hug|ihu|e u|riz|ang|nta| vy|ata| ub|and|aka|rwa| nt|kur|ta |iki|kan|iza|u b|ran|sha|o n|i n| ig|ivy| iv|ahi|bah|u n|ana| bu| as|aku|ga |uko|o u|ho | ka|ose|ubu|ako|guk|ite|o y|ba |i b|any|kir|o k|aho|iye|kub|amw|nye|aha| ng|o m|nya| it|re | im|o b|izw|kun|hin|e c|vyo|o i|vyi|ngu|uri|imi|imw|gin|ene|u m|zi |ha |kug|bur|uru|jwe| zi|u g|era|aga|ron|abi| y |e y| uk|gek|ani| gi|eye|ind|wo |u a|i a| ib|i i|ras|bat|gan|amb|n a|onk|rik|ne |ihe|agi|kor| ic|ze |tun|ibi|wub|nge|o z|tse|nka|he |rek|twa|gen|eko|mat|ber| ah|ni |ush|umw| bw|mak|bik|ury|yiw|bwo| nk|ma |no |kiz|uro|gis|aro|ika| ya|gus|y i|wir|ugi|uki| ki|a c|ryo|bir| ma| yi|iro|bwa|mur|eng|ukw|hat|tan|utu|wit|w i| mw|y a|mbe| ha|uza|ham|rah| is|irw|o v|umv|ura|eny|him|eka|bak|bun| ny|bo |yig|kuv|wab|key|eke|yer|vye|i y|ita|ya |a r| ko|kwa|o c",plt:"ny |na |ana| ny|a n|sy |y f|a a|aha|ra | ma|nan|n n|any|y n|a m|y m|y a| fi|an |tra|han|ara| fa| am|ka | ts| na|in |ami| mi|a t|olo|min|man|iza|lon| iz|fan| ol| ha| sy|aka|a i|reh|ay |ian|tsy|ina| ar|on |o a|etr|het|ona|y o|o h|zan|y t|a h|ala| hi|a f|y h|ehe|ira|a s|zo |y i|ndr|jo | jo|n j| an| az|ran|dia| dr|y s|fah|ena|ire|tan|dre| zo|mba| ka|m p|afa| di|n d|and|azo|zy |amp|ia |ren|iny|rah|y z|ry |ika|oan|ao |amb|lal|ho | ho|isy|ony|tsa|asa|a d|ha |fia|mis|ava|ray| pi|am |dra| to|rin| ta|ant|eo |zay|rai|tsi|itr|sa | fo| ra|van|ova|nen|azy| vo|mpi|ari|o f|tok|a k| ir|kan|oto|mah|ly |sia| la|n i|voa|haf|a r|ito|y k|oka|y r|y l|ano|ita|ene|its|ial|zon|aza|ain| re| as|fot|aro|fit|nat|nin|aly|har| ko|ham| no|fa |ary|atr|ila|ata|iha|nam|kon|oko| sa|elo|nja|anj|ive|isa|oa |dy |y d|o m|nto|ank|o n|otr|pan|fir|air|sir|ty |a v|sam|o s|tov|mit|rak|reo|o t|pia|tao| ao|no |y v|iar|a e|a z|hit|hoa| it|to |za |ton|eha|end|vy |idi|tin|ati|adi|lna|aln|rov|ban| za|nga|hah|oni|osi|sos|vah|ino|ity| at|hia|pir|ifa|omb|ame|era|vel|kar|va |tso|jak|fid|ifi|ais|o i|idy|la |ama|ba | pa|tot|ani|rar|mpa|haz|kam| eo| il|iva|aho|nao|n k|ato|lah|ovy| te|dro|lan|ela| mo| si|fin|miv|san|koa| he|aso| mb|sak|kav",qug:"ta | ka|ka |na |una|cha|ash|ari|a k|ana|pak|ish|ach|hka|shk|mi |kta|hay|man| ch|apa|ak |rin|ata|kun|har|akt|ita| ha|ami|lla| pa|ama|pas|shp| ma|tak|ay\xF1|y\xF1i|in |sh |ina|uku|nka|chi|aka|a c|yta|kuy|all|tap|a h|kan| tu|\xF1it|tuk| ru|run|chu|an |pay|ayt|ris| ki|aku|hpa|ank|a p|kam| sh|nam|a s|uy |i k|ayp|nak|pi |nta|a m| li|ay |lia|hin|kaw|nap|ant|tam|a t|iri|nat| wa|y r|kay|aws| ya|n t|ypa|wsa|pa |lak|shi|a a|lli|iku|hu |n k|iak|yay|kis| al|shu|a w|ipa| sa| il|api|kas|yku|yac|kat|a r|huk|i c|wan|hik|a i|ill|ush| ti|ayk|hpi| ku|kac|say|hun|uya|ila|ika|yuy|pir|ich|mac|ima|a y|yll|ayl|i p|kin|a l| wi|kus| yu|lan|tan|llu|kpi| ta| pi|aya|la |yan|awa| ni|kak|lat|rik|war|ull|kll|li |ink|nch|un |akp|n s|may| ay|uch|i s|nac|sha|iki|kik|h m|ukt|pip|tin|n p|iya|nal|aki| ri|ura|tik|mak|ypi|i m|i w|n m|his|k i|riy|iwa|y h| hu|han|akl|k t|mas|pik|kap| \xF1a|u t|nmi|nis|k a|i y|k l|kar| im|i i|wil|yma|aym|ksi|iks|uma| su|h k|has| ak|unk|huc|kir|anc|k m|pal|k k|ik |i\xF1i| i\xF1|ma |n y|mun| mu|mam|tac|a n|i t|k r|sam|ian|asi|k h|was|ywa|iyt|llp|san|sum|ray|si |pan|nki|tar| ii|u k|\xF1ik|uk |i\xF1a|kuk|wpa|awp|akk|a u|wat|uri| mi|yar|uyk|ayw|h c|ha |tay|rmi|arm|uta|las|yka|llk|kul|wi\xF1|ati|ska| ll|kit|n h|uti|kic|mat",mad:"an |eng|ng |ban| sa| ka|dha|ren| se| ba|ak | ha|adh|hak| dh|ang|se | pa|aba|a s|na |aga|ha | or|n s|ore|ara| ag|gad|are|ana|n o|ngg|ale|gan|a k|ala|dhu|tab|sar|ota|asa|eba| ot| ke|sab|ba |wi |uwi|abb|i h|huw|aan|n k|a b|bba| ta| ma|pan|hal|bas|ako|dhi|ra |kab|em |beb|ka |lak|gi |lem|g a|eka|n b|ama|nga|san|at |ong|ran|nge|a o|ggu|sa |a d|ane|n p|ken|par|aja|man|gar|ata|nek|apa| na|agi|abe| ga|e e|sal|a a|tan|g s|al |kal|gen|ta |i s|aka|e a|a p|a e| la| pe|nan| an|era|e d| e | be|n a| al|ena|uy |guy|n n|ate| bi|mas|e k|kat|uan|oan|kon|k k|a m|i d|g e|n t|g k|ada|koa|lan|ela| da|bad|ma |ne |as |lab|ega| mo|ar |car|one|i p|bi |kaa|bat|ri |on |pon| so|e b|le |ah |abi|ase|adi|epa| ep|k h|and|pam|te |ok |ste|aon|om |oko|aha|ari|ona|asi|ter| di|di |pad|e s|sad|yar|neg|ton|set|rga|ost|mos|gap|nda|a l|har|i k|ina| a | ng|kom|isa|si |a t|a h| kl|jan|daj|iga|hig|idh|hid|ndh|n m|ngs|tto|ett|arg|la |k b|ler|k d|nna| to|nao|n d|mat| ca|tad|bis|aya|epo|aen| po|bin|nya|kas|k s|n h|sya|nta|gsa|en |ant|n g|kar|i e|das|e t|e p|iba| pr|g p| ho| el|i a|hi |os |sao|uwa|tes| ja|nag|nas|lae|sia|t s|k o|nto|int|yat|arn|m p|duw|adu|eta| ko|i b|ni |g n|kla|rak|ame|mpo|jua|sok|aso|ggi|eja|pel|jam|ele| et|dil",nya:"ali|ndi|a m|a k| nd|wa |na | al|yen| ku|nth|ra |di |se |nse| mu|a n|thu|hu |nga| wa|la |mun|u a|unt|iye| ka|ce |ace| lo|a l|ang|e a| la| pa|liy|a u|ens| ma|idw|ons|dwa|e m|i n|ala|kha|lo |li |ira|era|ene|ga |ana|za |o m| mo|yo |o w| ci|we |dzi|ko |o l|and|dan|hal|zik|chi|oyo|pa |ner|ulu|ena|moy| um|a p| da|ape|kap|ka |iko| an|pen|a c|to |ito|hit|nch| nc|iri|lir|wac|umo|e k|lu |a a|aye| dz|kuk|a z|dwe|tha|mal| za|ing|ufu|mu |ro |ful| uf|o c|i d|lin|e l|zo |edw| zo|o a|mwa|u w|iro|o n|lan|amu|ere| mw|nzi|dza|alo|ri | li|fun|lid|gan|so | ca|kul|ofu|nso|o z|ulo|unz|o k|mul|lam|i c|san|a b|kwa| na|a d| a |una|u k|i l|nkh|ant|aku|ca |cit|oli|ipo|dip|ama|lac|wir|han|yan|osa|uli|tsa|i m|pon|kup|u d|ti |gwi|ukh|ung|hun|lon|ank|nda|iki|ina| ko|ao |diz|phu|ati|oma|i a|tsi|pat|iya|siy|kut| ya|zid|eze|ma |i k|mer|ome|mol|u n|u o|aph|ogw|izo|mba|sid|ku |sam|awi|adz| ad|izi|ula|say|e n|khu| kh|rez|vom|bvo|okh|lok|win|akh|o o| am| on|zir|map| zi|eza|ja |go |ngo|ika|its|ats|osi|gwe| co|isa|ya |haw|ani|o p|zi |ndu|kho|ezo|kir|uni|i u| ay|lal|gal|sa |bom| bo|ola|amb|wak|ha |ba |nja|anj|ban| ba|iza| bu|udz|ngw|bun|oye|o d|nal|kus|i p|i o|i y|wi | nt|e p| si|aka|ne |men|jir|nji|sed|ets|end|eka|uma|du ",zyb:"bou|iz |aeu|enz|eng|uz | bo|ih |oux|nz | di|ing|z g|ux |uq |dih|ngh| ca|ng |gen|ung|z c| mi|miz|ij |cae|z d| gi| de| ge|euq|you| ci|ngz|ouj|aen|uj | yi|ien|gya| gu|ngj|mbo| mb|zli|dae|gij|cin|ang|j d|nae| se| ba|z y|euz| cu|de |x m|oz |j g|ouz|x b|li |z b|h g| da| yo|nj |xna|oxn|rox| ro|h c|nzl|vei|yau|wz |z m|ix | si|i c|iq |gh |j b| cw|nda|yin| hi| nd|dan|vun|inh| ga|can|ei |cun|yie|q g|hoz|bau| li| gy|wyo|cwy|z h|gue|gz |gun|faz|unz|yen|uh |den|ciz| go|q c|gj | bi|ej |aej| fa|hin|zci| wn|j n|goz|gai|au |z s|q d| vu|h m|gva|hu |auj|ouq|az |h d|ya |uek|ci |nh |u d|ou |sou|jso|gjs|din|awz|enj| do|h s|eve|sev|z r|nq |sin|nhy|g g|g b|liz|kgy|ekg|sen|eix|wng|lij|ngq|bin|i d|ghc| ha|bae|hix|h y|j c|ghg|i b|ouh|en |n d|h f|j s|z v|j y|law|hci|anh|inz|q y|nei|anj|ozc|ez |enh|q s|aiq|uen|zsi|zda|hye|ujc|e c|siz|eiz|anz|g y|i g|q n|bie| ne| ae|giz|u c|hgy|g d|gda|ngd|cou| la|z l|auy|ai |in |iuz|zdi|jhu|ujh|yuz| du|j m| fu|cuz|eiq|g c|gzd| co|uyu|coz|zbi|biu| dw|i s|i n|aw |dun|yun|izy|daw| he|nho| ho|enq|x l|cie|q b|cij|uzl|x d|iuj|awj| ya|eij|dei|nde|sae|izc|wnq|wnh|sei|h b|aih|gzs|bwn|a d|u g|ngg|jca|e b|ran| ra|hcu| me|iet|van| bu|guh|hen|si |wnj| ve|u b|azl|inj|gak|gan|ozg|siu|yaw|i m",kin:"ra | ku|se | mu|a k|ntu|tu |nga|umu|ye | um|unt|mun|e n| gu|we |ira|a n| n |wa |ere|mu |ko |gom|a b|e a| ab|li |e k|mba|a a|e b|aba|ga |e u|ba |omb|o k| ba|a u|ose|u b|o a| cy|ash|eng| ag|kwi| bu|za |gih|ren|ndi| ub|ang|yo |aka|gu |igi| ib|a g|a m| nt|uli|o b|ama|ihu|e i|nta| ak|ago|ro |ora| ka|ugu|hug|di |iye|ban| am|cya|ku |ta | bw|and|sha|re | ig|gan|ubu|na | kw|obo| by| bi|a i|yan|ka |sho|kub|era|ese| we|kan|aga|hob|bor|ana|byo|ura|uru|ibi|rwa|wes|u w|no |uko|i m|mo |u a|ure|ili|uba|o n|uha|uga|n a| im|ish|bwa|bwo|wiy|ali|ber|ze |ne |ush|are|o i|u m|ger|bur|ran| ki| no|ane|bye| y |ege|teg|guh| uk|n i|rag|i a|ya |u g|e m|anz|bo |abo|gar|wo |y i|ho |age|ind|o m|eke|a s|ara|zir|ite|kug|kim|aci| as|u n|ani|kir|mbe| gi|yos|kur|ugo|gir|e c|iza|aho|i b|tur|ata|o u| se|u u|zo |i i|aha|nge|mwe|iro|akw|any|eza|uki|imi|o y|ate|u k|iki|atu|bat| in|go |tan|n u|bos| bo| na|hak|iby| at|ihe|ung|ha |bul|kar|eye|eko|gek|nya|o g|shy|e y|awe|ngo|bit|mul|nzi|rer|bag|ge |imw|bah|cir|gac|bak|je |gez|imu|eze|tse|ets|mat| ru|irw|he | ni| ur| yi|ako|ngi| ng|i n|rez|ubi|gus|fit|afi|ugi|uka|amb|o c|utu|ufa|ruk|mug|bas|bis|uku|hin|e g|ige|amo|ing| af|yem|ni | ry|a r|gaz|te |erw|bwe|ubw|hwa|iko| al|ant|zi ",zul:"nge|oku| ng|a n|lo |ung|nga|la |le | no|elo|lun| um|e n|wa |we |gel|e u|ele|nel|thi|ke |nom|ezi|ma |ntu|oma|hi |o n|ngo|tu |nke|onk|o l|uth|ni |a u|lek|unt| wo|o e| lo|mun|umu|pha| ku|ang|ho |kwe|ulu| ne|won|une|lul|elu| un|a i|gok|kul|ath|hla|lok|khe|eni|tho|ela|zwe|akh|kel|a k|enz|ana|ban|aka|u u|ing|ule|elw|kho|uku|ala|lwa|gen| uk|wen|ama|na |e k|ko |gan|a e|he |zin|enk|o y| ez|kat| kw|lan|eth|het|o o| ok|okw|i n|nzi|aba|e a|hak|lel|lwe|eko|ane|ka |so |yo |ayo|o a|uhl|nku|nye| na|thu|mph|do |ben|ise|kut|ike|kun| is| im|hol|obu|fan|i k|e w|nhl|nok|ini|and|kuh|ukh|kuk| ak|e i|isi|aph|zi |ile|eki|ekh| ba|eka|the|a a| le| ye|kwa|e e|fut| fu|za |mal| ab|ebe|isa| em|o w|kub|mth|i w|ndl|emp|any|olo|ga | ko|nen|nis|alu|ith|eli|ndo|seb|nda| ya|i i|eke|vik|ake|uba|abe|ezw|yok|ba |ale|zo |olu|ume|ye |esi|kil|khu|yen|emi|nez|hlo|a l|ase|ula|kek|a o|iph|o u|no |azw|kan|mel|uny|ne |ufa|ahl|lin|hul|ant|und|sa |enh|kus|kuv|lak| in|o i|din|kom|amb|zis|ind|ola|uph|wez|eng|yez|phe|phi|mba|nya|han|kuf|nem|isw|ani|iyo| iy|fun| yo|uvi|i a|ene|izi| el|cal|i e|eze|ano|nay|hwe|kup|lal|uyo|ubu|kol|oko|ulo| la|e l|tha|nan|mfu|hon|nza|hin| ey|omp|da |bo |ilu|wak|lon|iso|kug|nka|ink|i l|sek|eku| ek|thw|gez",swe:"ar |er |tt |ch |och| oc|ing|\xE4tt|ill|r\xE4t|en | ti|til|f\xF6r|ll | r\xE4|nde| f\xF6|var|et |and| en|ell| ha|om |het|lle|lig|de |nin| de|ng | in| fr|as |ler| el|gen|nva|und|att|env|r h| i |r r|ska|fri| so|har|der| at|\xF6r |ter|all|t t| ut|den|ka |lla|som|av |sam|ghe|ga | sk| vi| av|ete|la |ens|t a| si|r s|iga|igh|tig| va|ig |a s| st|ion|ra |tti|a o| \xE4r|ten|ns |t e|na | be|han| un| an| sa|a f| la| gr| m\xE5|nge|n s|vis|lan|m\xE5 |ati|nat| \xE5t|an |nna| li| al|t f|ans|nsk|sni|gru|\xE4ll|tio|ad | me|isk|kli|s f|t i|st\xE4|t s|ri |med|sta|h r|lik|da |dig|ta |r o|run|on | re|lag|tta|\xE4r |kap|a i|a r|\xE4nd|erv|n e|kte|n f|rvi|nom|itt|id | mo|sky|r e|ver|\xE4ns|vil|gt |igt| na|tan|uta|dra|t o|ro |isn| fa|kal|ihe|rih|erk|r u|e s|per|l v|vid|one|rel|ber|ran|ot |mot|ndl|d f|ed |ika|m\xE4n|l s|bet|t b|dd |ydd|kyd|n o|s s|str|n m|tet|sin|r f| om|rna|int|r i|end|nad|l a|ap |ers|nda|t v|ent|rbe|arb| h\xE4|ets|h\xE4l|amh|ckl|gar|nga|r m|je |rje|arj|n i|s e|lin|r t|i s|r\xE4n| pe|ilk|t l|ern|p\xE5 | p\xE5|t\xE4l|d e|dom|ege|g e|tni|r a|lit|ras| s\xE5|lln|kil|ski|enn|i o|a d|er\xE4|n a|ara| ge|\xE4ro|a m| ar|t d|ilj|els|yck| ve|g o|fr\xE5|nas|tra|ess|del|m s|liv|l l|in |v s|g a|ast|e e|val|son|rso|e t|age|nd | eg|ial|cia|oci|soc|upp|igi|eli|g s|rkl|gad|ndr|nte|\xF6ra",lin:"na | na| ya|ya |a m| mo|to | ko|li |a b| li|o n| bo|i n|a y|a n|ki |a l|kok|la | ma|zal|i y|oki| pe|ngo|ali|pe |so |nso|oto|ons| ba|ala|mot|a k|eng|nyo|eko|o e|nge|yon| ny|kol|lik|iko|a e|o y|ang|ye | ye|oko|ma |o a|go | ek|ko |e m|aza|te |olo|sal|ama|si | az|mak|e b|lo | te|ta |isa|ako|amb|sen|ong|e n|ela|oyo|i k|ani| es|o m|ni |osa| to|ban|bat|a t|mba|ing|yo | oy|eli|a p|mbo|o p|mi | mi| nd|ba |i m|bok|i p|isi|mok|lis|nga|ge |nde|koz|bo |gel|ato|o t|mos|aka|oba|ese|lam|kop| ez|lon|den|omb|o b|ota|sa |ga |e a|e y|eza|kos|lin|esa|e e|kob|e k|sam|kot|kan|bot|ika|ngi|kam|ka | po|gom|oli|ope|yan|elo| lo|ata| el|bon|oka|po |bik|ate| bi|a s|i t|i b|omi|pes|wa | se|oza|lok|bom|oke|som|zwa|mis|i e|bek|iki| at|ola|ti |ozw|lib|o l|osu|oso|e t|nda|ase|ele|kel|omo|bos|su |usu|sus|bal|i l|ami|o o|bak| nz|pon|tel|mob|mu | ep|nza|asi|mbi|ati|kat|le |gi |ana|oti|ndi|tan|a o|wan|obe|kum|nya|mab|bis|nis|opo|tal|mat| ka|bol|and|aye|baz|u y|eta| ta|ne |ene|emb|sem|e l|gis|ben| ak| en|mal|obo|gob|ike|se |ibo|\u2019te| \u2019t|umb| so|mik|oku|be |mbe|bi |i a|eni|i o| mb|tey|san| et|abo|ebe|geb|eba|yeb|bu | as|ote|sik|ema|eya|ibe|mib|ai |pai|mwa|kes|da |may|boz|amu|a a|kom|mel|ona|ebi|ia |ina|tin| ti|bwa|sol|son",som:" ka|ka |ay |uu |an |yo |oo |aan|aha| wa|da | qo| in| u |sha| xa|a i|ada|iyo| iy|ma |ama| ah| la|qof|aa |hay|ga |a a|a w|ah | dh|a s| da|in |xaq| oo|a d|aad|yah|eey| le|isa|lee|u l|q u|aq | si|taa|eya|ast|la |of |iya|sa |y i|u x|sta|kas|xuu|uxu|wux| wu|iis|nuu|inu|ro | am| ma|a q|wax|dha|ala|kal|nay|f k|a k|le |ku | ku| sh|o i|a l|ta |maa|a u|dii|loo| lo|o a|ale|ara|ana|iga|o d| uu|ha |lo |o m|o x|doo|aro|kar|yaa|gu |si |ima|na | xo| fa|adk|do |a x|ad |aas| qa| so|a o| ba|lag| aa| he|dka|adi|soo|o k|aqa| is|ash|u d|had| ga|eed|san|u k|a m|iin|i k| ca|u s|n l|yad|rka|axa|elo|hel|aga|hii|o h|o q| ha|id |n k| mi|baa| xu|har|xor|aar|ax |mad|add|nta|mid|aal|waa|haa|ina|qaa|daa|agu|ark|o w|nka|u h|dad|ihi| bu| ho|naa|n a|ays|haq|a h|o l| gu|o s|aya|saa|lka| ee| sa|dda|ab |nim|quu|gga|ank|kii|rci|arc|n s|a g| ji|gel| ge|eli|ysa|a f|siy|int|laa|uuq|uqu|xuq| mu|i a|uur|mar|ra |iri|o u| ci|riy|ya |ado|alk|dal|ee |al |rri|ayn|asa| di|ooc|aam|ofk|oon|to |ayo|dar| xi|dhi|jee|a c| ay|yih|a j|ban|caa|lad|sho|d k|ida|uqd|agg|sag|ras|bar|ar | ko| ra|o f|gaa|gal|fal|u a| de| ya|o c|ii |xay|eel|aab|sig|aba|orr|hoo|u q|y d|ed |ho |sad|qda|h q|fka|n i|xag|n x|qay|lsh|uls|bul|u w|jin| do|raa| ug|ido|ood",hms:"ang|gd |ngd|ib | na|nan|ex | ji|eb |id |d n|b n|ud | li|nl |ad | le|jid|leb|l l| ga|ot | me|x n|anl|aot|mex|d g|b l|d d|ob |gs |ngs|jan| ne|ul | ni|nja| nj|lib|ong|nd | zh|jex| je|b j| sh|ngb| gh|gb | gu|gao|l n|han| ad|gan| da|t n| wu|il |x g|nb |b m| nh|she|is |l j|d l|nha|l g|d j|b g|el |end|wud|nex|gho|d s|d z|oul|hob|ub |nis| ch| ya|it |b y|eib| gi|s g|lie| yo| zi|oud|s j|d b|nx | de|es |d y| hu|uel|gue|ies|aob|you| ba|d m|chu|gia|dao|b d|s n|zib| go|zha|eit|hei|al |hud| do|nt |ol | fa|t g|hen|ut |gx |ngx|ab |fal|x j|b z|ian|d h|don|b w|t j|iad|nen| xi|gou|d c|b h|hao|x z|nib|anx|ant|gua| mi|s z|dan|ox |inl|hib|lil|uan|and| xa|b x| se|x m|uib|hui|d x|anb|enl| we|od |enb| du|at |ix |s m|bao| ho|hub| ng|zhi|jil|l s|yad|t m|t l|yan| ze| ju|heb|had|os |aos|t h|l d|nga| he|b a|xan|b s|sen|xin|dud|jul|d a|lou| lo|dei|d w| bi|b c| di|zhe|gt |ngt|x l|bad|x b| ja|hon|zho|blo| bl|d k| ma|deb|l z|wei| yi| qi|b b|x d|d p|eud| ge|x a|can| ca|t w|lol| si|hol|s w|aod|pao| pa|ren| re|x s|eut|pud| pu|aox|mis|gl |ngl|x w|zei|gon|enx|gha|s a|b f|l y|oub|eab|hea| to|did| ko|unb|ghu|t p|x c|geu|t s|x x|jao|ed |t c|l m|l h|jib|ax |l c|d f|nia| pi|eul|d r| no|min|l t|heu|ux |tou|ns |s y|iel|s l|hun",hnj:"it | zh| ni|ab |at |ang| sh|nit| do|uat|os |ax |ox |ol |nx |ob | nd|t d|zhi|nf |x n|if |uax| mu|d n|tab| ta| cu|mua|cua|as |ad |ef |uf |id |dos|gd |ngd|hit|ib |us |enx|f n|she|s d|t l|nb |ux |x z|ed |inf|b n|l n|t n|aob|b z| lo|ong|ix |dol| go|zhe|f g| ho| yi|t z|d z|b d| le|euf|d s|ut |yao| yo| zi|gb |ngb|ndo|enb|len| dr|zha|uab|dro|hox| ge|nen| ne|han| ja|das|x d|x c|x j|f z|shi|f h|il | da|oux|nda|s n|nd |s z|b g| ny|heu| de|gf |ngf| du|od |gox| na|uad| gu|inx|b c| ya|uef| xa| ji|ous| ua| hu|xan|hen|zhu|nil|jai|rou|t g|f d| la|enf|ged|ik | bu|nya|you|f y|lob|af |bua|uk |is |yin|out|of |l m|ud |hua| qi|ot |t s| ba|ait| kh|s s|nad| di|aib|x l|lol| id|dou|ex |aod|bao| re| ga|d d|b y|las|hed|b h|b s|f b|t y|jua| ju| dl|x s|hue|b l| xi|zif|dus|b b|x g|hif|x y|hai| nz|sha| li|x t| be|d j|und|hun|ren|d y|hef|xin| ib|b t|l d|aos|s l| ha|gai|nzh|gx |ngx| ao|s b|s x|el |gt |ngt|hik|aid|s t|x m|f l|f t| pi|aof|t r|eb | gh|s y|d l|gua| bi| za| fu|t h| zu|hou|deu|lb | lb|d g| mo|b k| bo|iao|ros|gon|eut|x h|al |uaf|hab|t t|k n|f x|hix|pin|yua| no|t b|ak | zo|s m| nb| we|d b|gha|f s|mol|euk|dax|l b|nof| ko|lou|guk|end|uas|t k|dis|dan|yol|uan|d t|x b|lan|t m| ch|jix|x x| hl|aox|zis|x i|et | ro",ilo:"ti |iti|an |nga|ga | ng| it| pa|en | ma| ka| a | ke| ti|ana|pan|ken|ang|a n|agi|a k|n a|gan|a m|a a|lin|ali|aya|man|int|teg|n t|i p|nte| na|awa|a p|na |kal|ng |dag|git|ega|sa |da |add|way|n i|n n|no |ysa|al |dda|n k|ada|aba|nag|nna|ngg|eys| me|a i|i a|mey|ann|pag|wen|i k|gal|gga| tu|enn| da| sa|nno| we|ung| ad|tun|mai| ba|l m| ag|ya |i s|i n|yan|nan|ata|nak| si|aka|kad|aan|kas|asa|wan|ami|aki|ay |li |i m|apa|yaw|a t|mak| an|i t|g k|a s|ina|eng|ala|ika|ama|ong|ara|ili|dad| aw|gpa|nai|et |yon|ani|aik|on |at |oma|sin|bal|ipa|n d|uma|g i|ket|ag |in |aen|n p|ram|sab|aga|nom|ino|lya|ily|syo|i b| ki|nia|agp|gim|kab|asi|kin|iam|ags|bab|oy |toy|n m|agt| ta|bag|sia|g a|gil|mil| um|o p|ngi|n w|i i|pad|pap|daa|iwa|naa|eg |ias|ed |nat|bae|o k|saa|san|pam|gsa|ta |kit|ma |dum|yto|tan|i e|t n|uka|t k|apu|lan|sta|sal| li|a b|ari|g n|den|mid|ad |o i|y a|ida|ar |aar|y n|dey| de| wa|a d|ak |bia|ao |tao|min|asy|mon|imo| gi|maa|sap|abi|i u|aib|kni|i l|gin|ged|o a| ar|kap|pul|eyt|abs|ibi| am|akn|i g|kip|isu|g t|bas|nay|ing|i d|kar|ban|iba|nib|t i|as |d n|y i|ura|a w|nal|aad|i w|lak|adu|kai|bsa|duk|edu| ed|may|agb|agk|tra|gge|sol|aso|agr|ngs|ian|ila|dde|edd|tal|aip|kua|umi|pay|sas|ita|pak|g d|ulo|inn|aw "},Cyrillic:{rus:" \u043F\u0440| \u0438 |\u0440\u0430\u0432| \u043D\u0430|\u043F\u0440\u0430|\u0441\u0442\u0432|\u0433\u043E |\u0435\u043D\u0438|\u0432\u043E |\u043E\u0432\u0435| \u043A\u0430|\u043D\u0430 |\u0442\u044C | \u043F\u043E|\u0438\u044F |\u043E \u043D| \u043E\u0431|\u0435\u0442 | \u0432 |\u0441\u0432\u043E| \u0441\u0432|\u0430\u0432\u043E|\u0430\u043D\u0438|\u043E\u0441\u0442|\u043E\u0433\u043E|\u044B\u0439 |\u0430\u0436\u0434|\u043B\u043E\u0432|\u0442 \u043F| \u0438\u043C|\u043D\u0438\u044F| \u0447\u0435| \u0441\u043E|\u0435\u043B\u043E|\u0438\u043C\u0435| \u043D\u0435|\u043B\u044C\u043D|\u043B\u0438 |\u0447\u0435\u043B|\u043A\u0430\u0436|\u0435\u0441\u0442|\u0432\u0435\u043A|\u0430\u0442\u044C|\u043E\u0432\u0430|\u0438\u043B\u0438| \u0440\u0430|\u0435\u043A |\u0439 \u0447|\u0434\u044B\u0439|\u0436\u0434\u044B| \u0434\u043E|\u0438\u0435 |\u0435\u0435\u0442|\u043C\u0435\u0435|\u043D\u043E | \u0438\u043B|\u0438\u0438 |\u0441\u044F |\u0435\u0433\u043E|\u043E\u0431\u043E|\u0438 \u043F|\u043D\u0438\u0435|\u043A \u0438| \u0431\u044B|\u0438 \u0441|\u0438 \u0438|\u043C\u0438 |\u0431\u043E\u0434|\u0432\u043E\u0431|\u0432\u0430\u043D| \u0437\u0430|\u043E\u0439 |\u044B\u0445 |\u043E\u043C |\u043B\u0435\u043D|\u0430\u0446\u0438|\u0435\u043D\u043D|\u043E \u0441|\u043E \u043F|\u044C\u043D\u043E|\u0442\u0432\u0430|\u0442\u0432\u043E|\u043F\u0440\u0438|\u043D\u043E\u0433|\u0430\u043B\u044C|\u0430\u043A\u043E|\u0432\u0430 |\u0438 \u043D|\u0441\u0442\u0438|\u043D\u044B\u0445|\u0442\u043E |\u0431\u0440\u0430|\u043E\u043B\u0436|\u0434\u043E\u043B|\u0441\u0442\u043E|\u0438 \u0432|\u043D\u044B\u043C|\u043E\u0435 | \u0435\u0433|\u043D\u043E\u0432|\u0438\u0445 |\u0435\u043B\u044C|\u0442\u0435\u043B|\u0442\u0438 |\u043D\u043E\u0441|\u043D\u0435 |\u043F\u043E\u043B|\u0440\u0430\u0437| \u0432\u0441|\u0438 \u043E| \u043B\u0438|\u0438 \u0440|\u044B\u0442\u044C|\u0431\u044B\u0442|\u0432\u043B\u0435|\u0440\u0435\u0434|\u0438\u044E |\u0442\u043E\u0440| \u043E\u0441|\u044C\u0441\u044F|\u0442\u044C\u0441|\u043E\u0434\u0438|\u0449\u0435\u0441|\u044F \u0438|\u043A\u0430\u043A|\u043F\u0440\u043E|\u0436\u0435\u043D|\u044B\u043C |\u043F\u0440\u0435|\u0430 \u0441|\u0441\u043D\u043E|\u0435 \u0434|\u043D\u043D\u043E|\u043E \u0438|\u0438\u0439 | \u043A\u043E|\u043E \u0432| \u043D\u0438| \u0434\u0435|\u0441\u0442\u0443|\u043B\u0436\u043D|\u0441\u043E\u0432|\u0435 \u0432|\u043D\u043E\u043C|\u043E\u043B\u044C|\u0440\u0430\u043D|\u043E\u0436\u0435|\u0438\u0447\u0435|\u0435\u0439 |\u0430\u0441\u0442|\u043D\u043D\u044B| \u043E\u0442|\u0442\u0443\u043F|\u043C \u0438|\u043E\u0434\u043D|\u0437\u043E\u0432|\u0440\u0435\u0441| \u043C\u043E|\u043E\u0441\u0443|\u043B\u044F |\u043E\u0441\u043D|\u0430 \u043E|\u0432\u0435\u043D| \u0442\u043E|\u043E \u0431|\u0448\u0435\u043D|\u0442\u0432\u0435|\u043E\u0431\u0449|\u0430 \u0438|\u0435 \u043C|\u044C\u043D\u044B|\u043E\u0431\u0440|\u0432\u0435\u0440|\u0447\u0435\u043D|\u044F \u043D|\u0436\u043D\u043E|\u0447\u0435\u0441|\u0430\u043A |\u043B\u0438\u0447|\u043D\u0438\u0438|\u0435 \u0438|\u0432\u0441\u0435|\u0431\u0449\u0435|\u0432\u0430\u0442|\u0435\u0441\u043F|\u043C\u043E\u0436|\u0439 \u0438|\u043D\u043E\u0435|\u043E \u0434|\u0431\u0435\u0441| \u0432\u043E|\u044F \u0432|\u0434\u0443 | \u0441\u0442|\u0434\u043D\u043E|\u043E\u043D\u0430|\u043D\u0430\u0446|\u0434\u0435\u043D|\u0435\u0436\u0434|\u0445 \u0438| \u0431\u0435|\u0438 \u0434|\u043D\u044B |\u0434\u043E\u0441|\u0434\u043B\u044F| \u0434\u043B| \u0442\u0430|\u043B\u044C\u0441|\u0430\u0442\u0435|\u0446\u0438\u0438|\u044F \u043F|\u0443\u044E |\u0438\u0442\u0435|\u0435 \u043E|\u043D\u043E\u0439|\u043F\u043E\u0434|\u043E\u0442\u043E|\u0441\u0442\u0440|\u0441\u0442\u0430| \u043C\u0435|\u0435\u043B\u0438| \u0440\u0435|\u044F \u043A|\u0442\u043E\u044F|\u0430\u043C\u0438|\u0435\u043D |\u044C \u0432|\u044E \u0438|\u0430\u0437\u043E|\u0433\u043E\u0441|\u043C \u043F|\u044C \u043F|\u0442 \u0431|\u0436\u0435\u0442|\u0443\u0447\u0430|\u0441\u0443\u0434|\u044C\u0441\u0442|\u0434\u0441\u0442|\u0449\u0438\u0442|\u0430\u0449\u0438|\u0437\u0430\u0449|\u043A\u043E\u043D|\u043D\u0438\u044E|\u0430\u043C |\u043E\u0434\u0443|\u0435\u0440\u0435|\u0433\u0440\u0430|\u043F\u0435\u0447|\u043E \u043E|\u043E\u0440\u043E|\u043A\u043E\u0442|\u0438 \u043A|\u0442\u0440\u0430|\u043D\u0438\u043A|\u0443\u0449\u0435|\u0446\u0438\u0430|\u043E\u0446\u0438|\u0441\u043E\u0446|\u043D\u0430\u043B|\u0435\u0441\u043A|\u043E \u0440|\u043A\u043E\u0433|\u0434\u0440\u0443| \u0434\u0440|\u043D\u0438 |\u0430\u0432\u0430|\u043D\u0441\u0442|\u0435\u043C |\u0430\u0432\u043D|\u044B\u043C\u0438|\u0435\u0434\u0441|\u0434\u0438\u043D|\u0434\u043E\u0432| \u0433\u043E| \u0432\u044B|\u0432 \u043A|\u044B\u0435 |\u043E\u0431\u0435|\u043C\u0443 |\u044F \u0435|\u0441\u043B\u0443|\u0443\u0434\u0430|\u0442\u0430\u043A|\u043A\u043E\u0439|\u0442\u0443 |\u0438\u0442\u0443|\u0437\u0430\u043A|\u0445\u043E\u0434|\u0432\u043E\u043B|\u0440\u0430\u0431|\u043A\u0442\u043E|\u0438\u043A\u0442|\u0438\u0447\u043D|\u043D\u0438\u0447|\u043E\u0442 |\u0438\u043D\u0430| \u043A |\u0442\u0435\u0440|\u0440\u043E\u0434|\u043D\u0430\u0440",ukr:"\u043D\u0430 | \u043F\u0440|\u043F\u0440\u0430| \u0456 |\u0440\u0430\u0432| \u043D\u0430| \u043F\u043E|\u043D\u044F |\u043D\u043D\u044F| \u0437\u0430|\u043E\u0433\u043E|\u0442\u0438 |\u0432\u043E |\u0433\u043E | \u043A\u043E|\u0430\u0432\u043E| \u043C\u0430|\u043B\u044E\u0434|\u043E \u043D| \u043D\u0435| \u043B\u044E|\u044E\u0434\u0438|\u043E\u0436\u043D|\u043A\u043E\u0436|\u043B\u044C\u043D|\u0436\u043D\u0430|\u0434\u0438\u043D|\u0430\u0442\u0438|\u0430\u0454 |\u0438\u0445 |\u0438\u043D\u0430|\u043F\u043E\u0432|\u0441\u0432\u043E| \u0441\u0432|\u0430\u043D\u043D|\u0454 \u043F|\u043C\u0430\u0454|\u0430\u0431\u043E|\u0430 \u043B| \u0431\u0443|\u043D\u0435 |\u0435\u043D\u043D|\u0431\u043E | \u0430\u0431|\u0430 \u043C|\u043E\u0432\u0438|\u043D\u0456 | \u0432\u0438| \u043E\u0441|\u0430\u0446\u0456|\u0432\u0438\u043D| \u0442\u0430|\u0431\u0435\u0437|\u043E\u0431\u043E| \u0432\u0456| \u044F\u043A|\u0435\u0440\u0435| \u0434\u043E|\u0456 \u043F|\u0443\u0432\u0430|\u043E \u043F|\u0430\u043B\u044C|\u043D\u0438\u0445|\u043E\u043C |\u043C\u0438 |\u0456\u043B\u044C|\u043D\u043E\u0433|\u0442\u0430 |\u0438\u0439 |\u043F\u0440\u0438|\u043E\u044E |\u0442\u044C |\u0441\u0442\u0430| \u043E\u0431|\u0432\u0430\u043D|\u0438\u043D\u043D|\u0442\u0456 |\u043E\u0441\u0442| \u0443 |\u0441\u044F |\u0432\u0430\u0442|\u0431\u0443\u0442|\u0438\u0441\u0442| \u043C\u043E|\u0435\u0437\u043F|\u0443\u0442\u0438|\u043D\u043E\u0432|\u043F\u0435\u0440|\u0456\u0457 |\u0438 \u043F|\u0431\u043E\u0434|\u0432\u043E\u0431|\u0441\u0442\u0432| \u0432 |\u043E \u0432|\u0432\u0456\u0434| \u0431\u0435|\u0430\u043A\u043E|\u043F\u0456\u0434|\u0442\u0438\u0441|\u043A\u043E\u043D|\u043D\u043E |\u0432\u0430 |\u043D\u043D\u0456|\u0456 \u0441|\u0430 \u043F|\u0441\u0442\u0456| \u0441\u043F|\u043D\u0438\u0439|\u0434\u0443 |\u044C\u043D\u043E|\u043E\u043D\u0430| \u0456\u043D|\u0434\u043D\u043E|\u043D\u0438\u043C|\u0456\u0439 |\u0430 \u0437|\u043D\u0443 |\u043C\u043E\u0436|\u0457\u0457 | \u0457\u0457|\u043B\u044F |\u0441\u043E\u0431|\u043C\u0443 |\u043E\u0457 |\u044F\u043A\u043E| \u043F\u0435| \u0440\u0430|\u0456\u0434 | \u0434\u0435|\u0456 \u0432|\u0438 \u0456|\u0447\u0438\u043D|\u0432\u043D\u043E|\u043E\u043C\u0443|\u043D\u043E\u043C|\u0443 \u043F|\u0456 \u043D|\u0430 \u0441| \u0441\u0443|\u0430 \u043E|\u043D\u0435\u043D|\u0438\u0441\u044F|\u043E\u0432\u043E|\u043D\u0430\u043D|\u043E\u0434\u043D|\u0443 \u0432|\u0456 \u0434|\u0430\u0432\u0430|\u0456\u0434\u043D|\u0440\u0456\u0432| \u0440\u0456|\u0456 \u0440|\u0438\u043C\u0438|\u0432\u0456\u043B|\u0438\u043C |\u0446\u0456\u0457|\u043E \u0434|\u0430 \u0432|\u0441\u0442\u0443|\u043E\u0434\u0443|\u0431\u0443\u0434|\u043E\u0432\u0430| \u043F\u0456| \u043D\u0456|\u044F \u043D|\u0435 \u043F|\u043D\u0430\u0446|\u0438 \u0441|\u043D\u043D\u0430| \u043E\u0434| \u0440\u043E|\u043D\u043E\u0441|\u044C\u043D\u0438|\u044E\u0442\u044C|\u0438 \u0437|\u043A\u0438 |\u0456 \u0437|\u0430 \u0431|\u0441\u043F\u0440|\u0447\u0435\u043D|\u0436\u0435 |\u043E\u0436\u0435|\u0435 \u043C|\u043E\u0432\u043D|\u0440\u0438\u043C|\u0435 \u0431|\u0442\u043E |\u043D\u0456\u0445|\u043E\u0441\u043E|\u0443\u0434\u044C|\u0432\u0456 | \u0440\u0435| \u0441\u0442|\u0440\u0430\u0446|\u0434\u043E | \u0441\u043E|\u0440\u043E\u0437|\u043B\u0435\u043D|\u0432\u043D\u0438|\u0456\u0432\u043D|\u0440\u043E\u0434| \u0432\u0441|\u0441\u043F\u0456|\u043A\u043E\u0432|\u0437\u043F\u0435|\u0456\u0432 |\u0434\u043B\u044F| \u0434\u043B|\u0457 \u043E|\u0445\u0438\u0441|\u0430\u0445\u0438|\u0437\u0430\u0445|\u2010\u044F\u043A|\u044C\u2010\u044F|\u0434\u044C\u2010|\u044F \u0456|\u0442\u0430\u043A|\u0437\u043D\u0430|\u0437\u0430\u0431|\u0441\u0442\u044C|\u0442\u0443 |\u043D\u043E\u044E|\u0430 \u043D|\u0442\u043E\u0440|\u0441\u043D\u043E|\u043E \u0441|\u0436\u0435\u043D|\u0446\u0456\u0430|\u043E\u0446\u0456|\u0441\u043E\u0446|\u0456\u043D\u0448|\u0456 \u043C|\u043A\u043B\u0430|\u0438 \u0432|\u0442\u0435\u0440| \u0434\u0456|\u0456\u0441\u0442|\u043E\u0432\u0456|\u0443 \u0441|\u044F \u0432|\u0430\u0440\u043E|\u0441\u0456 |\u0432\u0456\u0442|\u0441\u0432\u0456|\u043E\u0441\u0432|\u0440\u043E\u0431|\u043F\u0456\u043B|\u0440\u0435\u0441|\u0437\u0430 |\u043F\u0435\u0447|\u0430\u0431\u0435|\u043A\u0443 |\u043B\u0438\u0432|\u0435\u0440\u0436|\u0434\u0435\u0440|\u0432 \u0456|\u0430\u0432\u043D|\u0442\u0430\u0432|\u0430\u0432 |\u0430\u043C\u0438|\u043A\u043E\u043C|\u0432\u043B\u0435|\u043E \u0431|\u044C \u043F| \u0449\u043E|\u0457\u0445 |\u0442\u0432\u043E|\u0445\u0442\u043E|\u0456\u0445\u0442|\u043A\u043E\u0433| \u043A\u0440|\u0430\u043D\u043E|\u0442\u0430\u043D|\u0456\u0430\u043B|\u043D\u0430\u043B|\u043D\u044C |\u0445 \u043F|\u0436\u043D\u043E|\u043B\u0435\u0436|\u0430\u043B\u0435|\u043F\u0440\u043E|\u0442\u0432\u0430|\u0440\u0430\u0442|\u043E \u043E|\u0445 \u0432|\u043D\u0430\u0440|\u043B\u044C\u0441|\u0446\u0456\u0439|\u043A\u043E\u0440|\u0447\u0430\u0441|\u0440\u0436\u0430|\u0457 \u0441|\u0438\u043D\u0443|\u0434\u0441\u0442|\u043E \u0437|\u0440\u0430\u0437|\u043C\u0456\u043D|\u0430 \u0440|\u0437\u0430\u043A",bos:" \u043F\u0440| \u0438 |\u0440\u0430\u0432|\u043D\u0430 |\u043C\u0430 |\u043F\u0440\u0430| \u043D\u0430|\u0438\u043C\u0430| \u0441\u0432|\u0430 \u0441|\u0434\u0430 |\u0430 \u043F|\u0432\u043E |\u0458\u0435 |\u043A\u043E |\u0430\u043A\u043E|\u043E \u0438| \u043F\u043E|\u0430\u0432\u043E|\u0435 \u0441|\u0430 \u0438|\u0442\u0438 | \u0438\u043C| \u0434\u0430| \u0443 |\u0441\u0432\u0430|\u043D\u043E | \u0437\u0430|\u043E \u043D|\u0432\u0430 |\u0438 \u043F|\u0438\u043B\u0438|\u0432\u0430\u043A|\u043B\u0438 | \u043A\u043E|\u043D\u0435 | \u0438\u043B|\u043A\u043E\u0458| \u043D\u0435| \u0434\u0440|\u043E\u0441\u0442| \u0441\u043B|\u045A\u0430 |\u0438\u043C |\u0438 \u0441|\u0443 \u0441|\u0438 \u0438|\u0430\u0432\u0430|\u0438\u0458\u0435|\u0430 \u0443| \u0431\u0438|\u0441\u0442\u0432|\u0441\u0435 |\u0432\u0430\u045A|\u0430 \u0434|\u043E\u043C |\u0458\u0435\u0434|\u0431\u043E\u0434|\u043E\u0431\u043E|\u043B\u043E\u0431|\u0441\u043B\u043E| \u0441\u0435| \u0440\u0430|\u0438\u0445 |\u0441\u0442\u0438|\u0430 \u043D|\u045A\u0435 | \u043E\u0431| \u0458\u0435|\u043F\u0440\u0438|\u0434\u0440\u0443|\u0443 \u0438|\u0458\u0443 |\u043E \u0434|\u0438\u0442\u0438|\u0432\u043E\u0458|\u0440\u0430\u0437|\u0430\u045A\u0435|\u043E\u0432\u0430|\u0434\u0458\u0435| \u043E\u0441|\u0435 \u0438|\u043B\u043E |\u0435 \u043F|\u0430\u045A\u0430|\u0443\u0458\u0435|\u0438 \u0434|\u0431\u0440\u0430|\u0442\u0440\u0435| \u0442\u0440| \u0441\u0443|\u0443 \u0437|\u0430 \u043A|\u043E\u0433 |\u0443 \u043F|\u043E\u0458\u0435|\u0446\u0438\u0458|\u0440\u0435\u0431|\u0430 \u043E|\u0430 \u0431| \u045A\u0435|\u0438 \u0443|\u043C\u0438\u0458|\u043D\u0438 |\u043D\u043E\u0441|\u0431\u0430 |\u0435\u0434\u043D|\u0441\u0432\u043E|\u045A\u0435\u0433| \u0438\u0437|\u043F\u0440\u043E|\u0435 \u0434|\u0436\u0430\u0432|\u0431\u0438\u0442| \u043D\u0438|\u0438 \u043E|\u0441\u0442\u0430|\u0430 \u0437|\u0430\u0432\u043D|\u0432\u0458\u0435| \u043A\u0430|\u0431\u0438\u043B|\u043E\u0432\u043E|\u0430 \u0458|\u0430\u0458\u0443|\u0438\u0441\u0442|\u0438 \u043D|\u043D\u0438\u0445|\u0458\u0435\u043B|\u0442\u0443 |\u0440\u0435\u0434|\u0433\u043E\u0432| \u043E\u0434|\u0435 \u043E|\u043E\u0458\u0438| \u0441\u043C|\u0458\u0430 |\u043E \u043A|\u0438\u043B\u043E|\u0430\u0446\u0438|\u0435 \u0443|\u043F\u0440\u0435|\u043E \u043F|\u0435\u0431\u0430|\u0443 \u043E|\u0441\u0443 |\u0432\u0438\u043C|\u0438\u0447\u043D| \u0441\u0430| \u0434\u0458|\u0430 \u0442|\u0438\u0458\u0430|\u0448\u0442\u0438|\u0447\u043D\u043E|\u0440\u0436\u0430|\u0434\u0440\u0436|\u0441\u0442\u0443|\u0434\u043D\u0430|\u043E\u0434\u043D|\u0435\u043D\u0438|\u0437\u0430 |\u0438\u0432\u0430|\u043D\u043E\u043C|\u0435\u043C |\u0434\u0443 |\u0440\u0430\u043D|\u0432\u043D\u043E|\u0441\u043C\u0438|\u0458\u0435\u0440|\u0435 \u0431|\u0435 \u043D|\u0434\u0435 |\u043F\u043E\u0441|\u043C \u0438| \u0434\u043E|\u0443 \u0434|\u043D\u0430\u043A|\u0430 \u0440|\u043E\u0431\u0440| \u043C\u043E|\u043D\u0438\u043C|\u0435\u0433\u043E| \u043A\u0440|\u0442\u0438\u0442|\u043A\u0440\u0438|\u0432\u0435 |\u0430\u043D |\u0438\u043A\u043E|\u043D\u0438\u043A|\u043D\u0443 |\u0438 \u043C|\u043D\u043E\u0433|\u0435\u043D\u043E|\u0441\u043D\u043E|\u0435 \u043A|\u0442\u0443\u043F|\u0440\u0443\u0433|\u043A\u0430 |\u043E\u0434\u0430|\u0440\u0438\u0432|\u0432\u043E\u0459|\u0430\u043B\u043D|\u043C \u0441|\u0438\u0442\u0443|\u0430\u0448\u0442|\u0437\u0430\u0448|\u0430\u043D\u0438|\u0441\u0430\u043C| \u0441\u0442|\u0430\u043A\u0432|\u043E\u0432\u0438|\u043E\u0441\u043D|\u0440\u043E\u0434|\u0430\u0440\u043E| \u043C\u0438|\u0458\u0438 |\u0442\u0432\u0430|\u0434\u043D\u043E|\u043D\u0441\u0442|\u0430\u043A |\u0438\u0442\u0435|\u0459\u0443 |\u0432\u0438\u0447|\u0440\u0430\u0434|\u0443 \u043D|\u0443 \u043C| \u0442\u0430|\u0434\u0441\u0442|\u0442\u0438\u0432|\u043D\u0430\u0446|\u0440\u0438\u043C|\u043A\u043E\u043D|\u043A\u0443 |\u045A\u0443 |\u043E\u0434\u0443|\u0436\u0438\u0432|\u0430\u043C\u043E|\u0442\u0432\u043E|\u0442\u0435\u0459|\u043F\u043E\u0434|\u0435\u0452\u0443|\u0433 \u043F|\u043D\u043E\u0432|\u0438\u043D\u0430|\u043D\u0430\u0440| \u0432\u0458|\u0438 \u0431|\u043E\u0458 | \u043E\u0432|\u0430\u0432\u0435|\u0432\u0443 |\u0430\u043D\u0441|\u043E\u0458\u0430|\u0437\u043E\u0432|\u0430\u0437\u043E|\u0443\u0434\u0435|\u0431\u0443\u0434| \u0431\u0443|\u0435 \u0442|\u0438 \u0432|\u0435\u045A\u0430|\u0435\u0434\u0438|\u043D\u0438\u0446|\u043D\u0430\u043F|\u043C\u0458\u0435| \u0438\u0441|\u0441\u043B\u0443|\u0435\u0434\u0441|\u043E \u043E|\u0437\u0430\u043A|\u0438 \u043A|\u043C \u043F|\u0442\u043D\u043E|\u0438\u0432\u043E|\u0435\u0440\u0435|\u043D\u0438\u0447|\u043A\u0430\u043A|\u0430\u0434\u0430|\u0432\u043D\u0438|\u0443\u0433\u0438| \u0440\u043E|\u043C\u043E\u0432|\u0432\u0435\u043D|\u043E \u0441|\u0442\u043E |\u0442\u0435 | \u0432\u0440| \u0431\u0435|\u0430\u0440\u0430|\u043A\u043B\u0430| \u0431\u0440|\u0443 \u0431|\u0443 \u0443|\u0438 \u0442|\u043E\u043D\u0430| \u043E\u043D|\u0430\u0432\u0438|\u0458\u0430\u043B|\u0434\u043D\u0438| \u0441\u043A",srp:" \u043F\u0440| \u0438 |\u0440\u0430\u0432|\u043D\u0430 |\u043F\u0440\u0430| \u043D\u0430|\u043C\u0430 | \u0441\u0432|\u0438\u043C\u0430|\u0434\u0430 |\u0430 \u043F|\u0432\u043E |\u043A\u043E |\u0442\u0438 |\u0430\u0432\u043E| \u043F\u043E|\u0430 \u0438|\u0430\u043A\u043E|\u0430 \u0441| \u0437\u0430| \u0443 |\u043E \u0438| \u0438\u043C|\u0438 \u043F|\u0432\u0430 |\u0441\u0432\u0430|\u0432\u0430\u043A| \u0434\u0430|\u043E \u043D|\u0435 \u0441|\u043E\u0441\u0442| \u043A\u043E|\u045A\u0430 |\u043B\u0438 |\u0438\u043B\u0438|\u043D\u0435 |\u043E\u043C | \u043D\u0435|\u0430 \u043D| \u0441\u043B| \u0438\u043B|\u0458\u0435 | \u0434\u0440|\u0438 \u0441|\u043D\u043E |\u043A\u043E\u0458|\u0443 \u0441|\u0430\u0432\u0430| \u0440\u0430|\u043E\u0433 |\u0441\u043B\u043E|\u0458\u0443 |\u0438\u043C |\u0441\u0442\u0438|\u0431\u043E\u0434|\u043E\u0431\u043E|\u043B\u043E\u0431|\u0438\u0442\u0438|\u0430 \u043E|\u0441\u0442\u0432|\u0438 \u0443|\u0430 \u0434|\u043D\u0438 |\u0458\u0435\u0434|\u0443 \u043F|\u043F\u0440\u0438|\u0435\u0434\u043D| \u0431\u0438|\u0438 \u0438|\u0430 \u043A|\u043E \u0434|\u0441\u0442\u0430|\u0438\u0445 |\u0434\u0440\u0443|\u0430 \u0443| \u0458\u0435|\u0430\u045A\u0430| \u043E\u0441| \u043D\u0438|\u043D\u043E\u0441|\u043F\u0440\u043E|\u0430\u0458\u0443|\u0438 \u043E| \u0434\u0435| \u0441\u0443|\u0443 \u0438|\u0441\u0435 |\u045A\u0435 |\u0458\u0430 |\u043E\u0432\u0430|\u0438 \u0434|\u0446\u0438\u0458| \u043E\u0431|\u0443\u0458\u0435|\u0440\u0435\u0434|\u0436\u0430\u0432|\u0435 \u0438|\u0435 \u043F|\u0430 \u0458|\u0434\u043D\u0430| \u0441\u0435| \u043E\u0434|\u0432\u0435 | \u043A\u0430|\u0435\u043D\u0438|\u0440\u0436\u0430|\u0434\u0440\u0436|\u0430 \u0437|\u0430\u0432\u043D|\u0435\u045A\u0430|\u0430\u0446\u0438|\u0432\u043E\u0458|\u043E\u0432\u043E|\u0443 \u0443|\u043C \u0438|\u043E\u0458\u0430|\u0432\u0430\u045A| \u0438\u0437|\u0438\u0458\u0430|\u0443 \u0437|\u0430\u045A\u0435|\u0440\u0430\u043D|\u0435 \u043E|\u0440\u043E\u0434|\u0438 \u043D|\u0435 \u0431|\u0440\u0430\u0437|\u0437\u0430 | \u045A\u0435|\u0433\u043E\u0432|\u0438\u0447\u043D| \u0441\u0442|\u043D\u043E\u0432|\u0441\u043D\u043E|\u043E\u0441\u043D|\u0434\u0443 |\u043F\u0440\u0435| \u0442\u0440|\u0441\u0443 |\u0432\u0443 |\u043E\u0434\u043D|\u0430 \u0431|\u0441\u0432\u043E|\u045A\u0435\u0433|\u043D\u0438\u043C|\u043D\u0438\u0445|\u0442\u0443 |\u0442\u0438\u0442|\u0448\u0442\u0438|\u043A\u0443 |\u043D\u043E\u043C|\u0431\u0438\u0442|\u0435 \u0434|\u043C\u0435 |\u0438\u043A\u043E|\u0447\u043D\u043E|\u043E\u0458\u0438|\u043B\u043E |\u0432\u043D\u043E|\u043D\u0438\u043A|\u0438\u043A\u0430|\u0431\u0435\u0437|\u0430\u0440\u0430|\u0434\u0435 |\u0443 \u043E|\u0432\u0438\u043C|\u043D\u0430\u043A| \u0441\u0430|\u0440\u0438\u0432|\u0430\u0432\u0435|\u0430\u043D |\u0432\u043E\u0459| \u043A\u0440|\u043E \u043F|\u0441\u043C\u0435|\u0435 \u043A|\u043D\u043E\u0433|\u0458\u0438 | \u043E\u0432|\u0435 \u0443|\u0442\u0432\u0430|\u0431\u0440\u0430|\u0440\u0443\u0433|\u0440\u0435\u0431|\u0442\u0440\u0435|\u0443 \u0434|\u043E\u0434\u0430| \u043C\u043E| \u0432\u0440|\u0430\u0432\u0459|\u0443 \u043D|\u0435\u0433\u043E|\u0434\u0435\u043B|\u043C \u0441|\u043A\u0440\u0438|\u043E \u043A|\u0430\u0448\u0442|\u0437\u0430\u0448|\u045A\u0443 | \u0441\u043C|\u0430\u043D\u0438| \u043B\u0438|\u0434\u043D\u043E|\u0435\u0452\u0443|\u0430\u043B\u043D|\u043B\u0430 |\u0430\u043A\u0432|\u043E\u0458 |\u043A\u043E\u043C|\u0441\u0442\u0443|\u0443\u0433\u0438|\u0430\u0432\u0438|\u0430 \u0440|\u043A\u0430 |\u0440\u0430\u0434|\u043E\u0434\u0438|\u0432\u0438\u0447|\u0442\u0430\u0432|\u0438\u0442\u0443|\u0443\u0434\u0435|\u0431\u0443\u0434| \u0431\u0443|\u043F\u043E\u0442|\u043E\u0434\u0443|\u0436\u0438\u0432|\u0435\u0440\u0435|\u0442\u0432\u043E|\u0438\u043B\u043E|\u0431\u0438\u043B|\u0430\u0440\u043E|\u0435 \u043D|\u043E\u0432\u0438|\u043F\u043E\u0440|\u0435\u043D\u043E|\u0448\u0442\u0432|\u043D\u0430\u0446|\u043E\u0432\u0435|\u043C \u043F|\u0442\u0443\u043F|\u043F\u043E\u0441|\u0440\u0435\u043C|\u0434\u043D\u0438|\u0431\u0430 |\u043D\u0441\u0442|\u0430 \u0442|\u043E\u0458\u0443|\u0430\u0441\u0442|\u0438\u0432\u0430|\u0435 \u043C|\u0432\u0440\u0435|\u0432\u0459\u0430|\u043D\u0443 |\u0431\u0435\u0452|\u0438\u0441\u0442|\u0435\u043D |\u0442\u0435 |\u0434\u0441\u0442|\u0440\u043E\u0442|\u0437\u0430\u043A|\u0430\u043E |\u043A\u0430\u043E|\u0438 \u043A|\u0458\u0443\u045B|\u043E \u0441|\u0441\u0442 |\u0441\u0430\u043C|\u043C \u043D|\u0442\u0435\u0440|\u043D\u0430\u0440| \u043C\u0435|\u0438 \u043C|\u043A\u043E\u043B|\u0435 \u0440|\u0443\u0448\u0442|\u0440\u0443\u0448|\u0432\u0435\u0440|\u043A\u0430\u043A| \u0431\u0435|\u0438 \u0431|\u043A\u043B\u0430|\u0430\u0434\u0430|\u0435\u0431\u0430|\u0435\u043D\u0430|\u043E\u043D\u0430| \u043E\u043D|\u0442\u0432\u0443|\u0430\u043D\u0441| \u0434\u043E|\u0440\u0430\u043A|\u0441\u043B\u0443|\u0438 \u0432|\u043D\u0438\u0446|\u0443 \u043A|\u043C\u0435\u043D|\u0432\u0440\u0448|\u0435\u043C\u0435|\u0435\u0434\u0441|\u0438\u0432\u0438|\u043E \u043E|\u0458\u0430\u0432",uzn:"\u0430\u043D |\u043B\u0430\u0440|\u0433\u0430 |\u0438\u0440 | \u0431\u0438|\u0430\u0440 | \u0432\u0430|\u0434\u0430 |\u0438\u0433\u0430| \u04B3\u0443|\u0432\u0430 |\u0431\u0438\u0440|\u0443\u049B\u0443|\u049B\u0443\u049B|\u04B3\u0443\u049B| \u04B3\u0430|\u0440 \u0431|\u0433\u0430\u043D|\u0438\u0448 |\u0438\u0434\u0430| \u0442\u0430|\u0430 \u044D|\u0438\u043D\u0438|\u0430\u0434\u0438|\u043D\u0433 |\u0434\u0438\u0440|\u0438\u0448\u0438|\u043B\u0438\u043A|\u043B\u0438\u0448|\u0438\u0439 |\u0438\u043B\u0438|\u0430\u0440\u0438|\u0443\u049B\u0438|\u04B3\u0430\u0440|\u043B\u0430\u043D|\u0438\u043D\u0433|\u0448\u0438 |\u0434\u0430\u043D|\u043D\u0438\u043D|\u0438\u043D\u0441|\u043A\u0438\u043D|\u0441\u043E\u043D|\u043D\u0441\u043E| \u0438\u043D| \u043C\u0443|\u049B\u0438\u0433| \u043C\u0430|\u043E\u043D |\u0440 \u0438| \u0431\u045E|\u044D\u0433\u0430| \u044D\u0433| \u045E\u0437|\u043D\u0438 |\u0431\u045E\u043B|\u0433\u0430\u0434|\u0438 \u0431|\u043A\u0438 |\u0438\u043B\u0430|\u0451\u043A\u0438| \u0451\u043A|\u0430 \u0431|\u043D \u0431|\u0438\u043D |\u0440 \u04B3|\u0430\u043B\u0430|\u044D\u0440\u043A| \u044D\u0440|\u043B\u0433\u0430| \u049B\u0430|\u0440\u043A\u0438|\u0448 \u04B3|\u0438 \u04B3|\u043D \u043C| \u0431\u043E| \u0431\u0430|\u0438\u043A |\u0430\u0440\u0430|\u0438\u0433\u0438|\u043B\u0438\u0433|\u0440\u0438 |\u049B\u0438\u043B|\u0430 \u0442|\u0431\u0438\u043B| \u044D\u0442|\u043D\u0438\u0448|\u043D\u043B\u0438|\u043A\u043B\u0430|\u0438 \u0432|\u0431\u043E\u0448|\u044D\u0442\u0438|\u0430\u043D\u0438|\u0438\u043C |\u0438 \u043C|\u043E\u043B\u0438|\u049B\u043B\u0430|\u0430 \u04B3|\u043B\u0430\u0448|\u0430\u0442\u043B|\u0442\u0438\u043B|\u0430 \u049B| \u043E\u043B|\u043E\u0441\u0438|\u043C\u0430\u0441|\u049B\u0430\u0440|\u0438\u043D\u043B|\u043B\u0430\u0442| \u049B\u0438|\u0442\u0430\u044A|\u04B3\u0430\u043C|\u0433\u0438 |\u0438\u0431 |\u043C\u043B\u0430|\u045E\u0437 |\u043D \u044D|\u043C\u0443\u043C| \u0434\u0430| \u0431\u0443|\u0430\u0442 |\u0448 \u0432|\u0443\u043D |\u0430\u0442\u0438|\u043C\u043A\u0438|\u0443\u043C\u043A|\u0442\u043B\u0430|\u0438\u0440\u043E|\u045E\u043B\u0438|\u0431\u0430\u0440|\u0438\u0440\u0438|\u0440\u0438\u0448|\u0438\u044F\u0442|\u0430\u043B\u0438| \u0431\u0435| \u049B\u043E|\u0430 \u0448|\u0430\u0440\u043E| \u043A\u0435|\u0438 \u0442|\u0440\u043B\u0430| \u0442\u0435|\u0447\u0430 |\u0440\u0447\u0430|\u0430\u0440\u0447|\u0430 \u045E| \u0448\u0443|\u0442\u0438\u0448|\u043D \u04B3|\u0442\u0433\u0430| \u0441\u0430|\u0430\u0441\u0438| \u0445\u0430|\u0440\u0430\u043A|\u043B\u0438\u043D|\u043E\u043B\u0430|\u0438\u043C\u043E|\u0448\u049B\u0430|\u043B\u0438 | \u0442\u0443|\u0430\u043C\u043B|\u043B\u043B\u0430|\u0441\u0438\u0434|\u043D \u045E| \u0430\u0441|\u043D\u0438\u0434|\u0430 \u0438| \u043A\u0438|\u043D \u0442|\u043D\u0434\u0430|\u043A \u0431|\u0435\u0440\u0430|\u043E\u0448\u049B|\u0441\u0438\u0437|\u043E\u0440 |\u0430 \u043C|\u0440 \u0432|\u0435\u043D\u0433|\u0442\u0435\u043D|\u043C\u0430\u0442|\u043C\u0434\u0430|\u0430\u043C\u0434|\u043B\u0438\u043C|\u0439 \u0442|\u044F\u0442 |\u0438 \u0430|\u0438\u043D\u043E|\u0438\u043B\u0433| \u0442\u043E|\u0442\u043D\u0438|\u0430\u043D\u0430|\u0430\u0441 |\u044D\u043C\u0430| \u044D\u043C|\u0430 \u0451| \u0448\u0430|\u0430\u0448 |\u0430 \u0430|\u0442\u0430\u0440|\u043A\u0430\u0442|\u0430\u043A\u0430|\u0430\u043A | \u0434\u0435|\u0430\u0437\u0430|\u0438\u043B\u043B|\u0441\u0438\u0439| \u0441\u0438| \u0441\u043E|\u0443\u049B\u043B|\u043D \u049B|\u043E\u0434\u0430|\u044A\u043B\u0438|\u0430\u044A\u043B|\u043D\u0438\u043A|\u0430\u0434\u0430| \u043D\u0438|\u0442\u0434\u0430|\u0433\u0438\u043D|\u0443\u043D\u0438|\u0441\u0438\u0442|\u0430\u0439 |\u049B\u043E\u043D|\u043D \u043E| \u0436\u0430|\u043A\u0438\u043C|\u0435\u0447 |\u04B3\u0435\u0447| \u04B3\u0435|\u045E\u0437\u0438|\u043B\u0430\u043A|\u043A\u0435\u0440|\u0438\u043A\u043B|\u043B\u043B\u0438|\u0443\u0440 |\u0437\u0430\u0440|\u0448\u043B\u0430|\u0440\u0438\u0433|\u0438\u0440\u043B|\u0434\u0430\u043C|\u043A\u043E\u04B3|\u0438\u043A\u043E|\u0430 \u0434|\u0430\u043C |\u043D \u0432|\u0440\u0442\u0438|\u0442\u0438\u0431|\u0442\u0430\u043B| \u0438\u0448|\u0447\u0443\u043D|\u0443\u0447\u0443| \u0443\u0447|\u0441\u043B\u0430|\u0430 \u0443|\u0440\u0438\u043D|\u0441\u043E\u0441|\u0430\u0441\u043E| \u0443\u043D|\u043D\u0430 | \u043A\u0430|\u043C\u0443\u04B3|\u0434\u0438\u0433|\u0447 \u043A|\u0430\u0441\u043B|\u043B\u043C\u0430|\u0440\u0430 |\u0431\u0443 |\u0445\u0430\u043B|\u045E\u043B\u0433|\u0438 \u043A|\u0435\u043A\u043B|\u0440 \u0434|\u049B\u0430\u0442|\u0430\u0433\u0430|\u0438 \u049B|\u043E\u0438\u0439|\u043C\u0438\u043B| \u043C\u0438|\u049B\u0430 |\u0438 \u0441|\u0436\u0438\u043D| \u0436\u0438|\u0441\u0438\u043D|\u0440\u043E\u0440|\u0430 \u0432|\u043B\u0430\u0434|\u0430 \u043E|\u0442\u043B\u0438|\u043C\u0438\u044F|\u043D \u0438|\u0430\u0431 |\u0442\u0438\u0440|\u0437 \u043C|\u0434\u0430\u0432|\u0440\u0433\u0430|\u0430\u0433\u0438|\u0430 \u043A|\u043D\u043B\u0430|\u0430\u049B\u0442|\u0432\u0430\u049B|\u0430\u0440\u0442|\u0430\u0451\u0442|\u043B\u0430\u0431",azj:" \u0432\u04D9|\u0432\u04D9 |\u04D9\u0440 |\u0438\u0440 | \u04BB\u04D9| \u0431\u0438| \u04BB\u04AF| \u043E\u043B|\u04AF\u0433\u0443|\u04BB\u04AF\u0433|\u0433\u0443\u0433|\u043D\u0430 |\u0438\u043D |\u043B\u0430\u0440|\u04BB\u04D9\u0440|\u0434\u04D9 | \u0448\u04D9|\u0431\u0438\u0440|\u043B\u04D9\u0440|\u043B\u0438\u043A|\u043C\u0430\u043B|\u0440 \u0431|\u043B\u043C\u0430|\u0440 \u04BB| \u0442\u04D9|\u04D9\u0445\u0441|\u0448\u04D9\u0445|\u04D9\u043D |\u0434\u0438\u0440|\u0443\u0433\u0443|\u0443\u043D\u0430|\u0430\u043D |\u0430\u043B\u0438|\u0430 \u043C| \u043C\u0430|\u0438\u043A\u0434|\u0438\u043D\u0438|\u0440 \u0448|\u0434\u04D9\u043D|\u0430\u0440 |\u0438\u043B\u04D9|\u0433\u0443\u043D|\u0430\u0433 |\u0430\u0441\u044B| \u0458\u0430|\u043C\u04D9\u043A|\u0458\u04D9\u0442| \u043C\u04D9| \u043C\u04AF|\u043A\u0434\u0438|\u04D9\u0441\u0438|\u04D9\u043A |\u0438\u043B\u043C|\u043D\u0438\u043D|\u043D\u0434\u04D9|\u043E\u043B\u043C|\u04D9\u0442\u0438|\u04D9 \u0458|\u0441\u0438\u043D|\u0445\u0441 |\u043D\u0434\u0430|\u043B\u043C\u04D9|\u0458\u0458\u04D9|\u0438 \u0432| \u0433\u0430| \u0430\u0437|\u043E\u043B\u0443|\u0438\u0458\u0458|\u0458\u0430 |\u0438\u043D\u0434|\u0437\u0430\u0434|\u0433\u043B\u0430|\u04AF\u043D |\u043D\u0438 |\u043B\u04D9 |\u0442\u0438\u043D|\u043D \u043C|\u0430\u0437\u0430|\u0430\u0440\u044B|\u04D9\u0442 |\u043D \u0442|\u043C\u0430\u0433|\u043B\u0443\u043D|\u043B\u044B\u0433|\u04D9 \u0431|\u0443\u043D |\u043D\u0443\u043D|\u0433 \u0432|\u043D \u04BB|\u0434\u0430\u043D|\u044B\u043D | \u0435\u0442|\u0442\u043C\u04D9|\u04D9\u0440\u04D9| \u04E9\u0437|\u0434\u0430 |\u04D9 \u0432| \u043E\u043D|\u04D9 \u0430|\u044B\u043D\u0430|\u044B\u043D\u044B|\u0431\u0438\u043B|\u0430 \u0431|\u0441\u044B |\u0438\u043B |\u04D9\u043C\u0438|\u0430\u0440\u0430|\u0441\u0438 | \u0434\u0438|\u04D9 \u043C|\u04D9\u0440\u0438|\u0440\u043B\u04D9| \u0432\u0430|\u04D9 \u04BB|\u0435\u0442\u043C|\u044B\u0493\u044B|\u0430\u043C\u0430|\u0434\u043B\u044B|\u0430\u0434\u043B|\u0440\u0438\u043D|\u0431\u04D9\u0440|\u0440\u044B\u043D|\u043D \u0438|\u043C\u04AF\u0434|\u043D\u044B\u043D| \u04BB\u0435|\u043C\u0430\u0441|\u0438\u043A |\u043D \u0430|\u0434\u0438\u043B|\u0430\u043B\u044B|\u0438\u0440\u043B|\u04D9\u043B\u04D9|\u04AF\u0434\u0430|\u0441\u044B\u043D|\u044B\u043D\u0434|\u0445\u0441\u0438|\u043B\u0438 |\u04D9 \u0434|\u043D\u04D9 | \u0431\u04D9|\u04D9\u0458\u0430| \u0438\u043D|\u04D9 \u0438|\u043B\u04D9\u0442| \u0441\u04D9|\u043D\u044B | \u0438\u0448|\u0430\u043D\u044B|\u0435\u0447 |\u04BB\u0435\u0447|\u0433 \u04BB|\u0435\u0458\u043D|\u04D9 \u0435|\u0434\u044B\u0440| \u0434\u0430|\u0430\u0441\u0438|\u0440\u044B |\u0438\u0448 |\u0438\u0444\u0430|\u043B\u044B\u0493|\u0438 \u0441|\u0444\u0438\u04D9|\u0430\u0444\u0438|\u0434\u0430\u0444| \u0435\u0434|\u043C\u04D9\u0437|\u0443 \u0432|\u043A\u0438\u043B| \u04BB\u0430|\u043E\u043B\u0430|\u043D \u0432|\u04D9\u043D\u0438|\u044B\u0440 |\u0443\u0433 |\u0443\u043D\u043C| \u0431\u0443| \u0430\u0441|\u0441\u0438\u0430|\u043E\u0441\u0438|\u0441\u043E\u0441|\u0438\u043B\u0438|\u044B\u0434\u044B|\u043B\u044B\u0434|\u043D\u043C\u0430|\u044B\u0433 |\u0438\u043D\u04D9|\u04D9\u0440\u0430|\u0441\u0438\u043B|\u0445\u0438\u043B|\u0430\u0445\u0438|\u0434\u0430\u0445|\u0430\u0434\u04D9|\u043C\u0430\u043D|\u0430 \u04BB|\u04D9 \u043E|\u043E\u043D\u0443|\u0430 \u0433|\u04D9\u0437 | \u043A\u0438|\u0441\u0435\u0447| \u0441\u0435|\u044B \u04BB|\u043C\u0438\u043D|\u043B\u0430\u043D|\u04D9\u0434\u04D9|\u0431\u0443 |\u0440\u0430\u0433|\u043B\u044B |\u044B\u043B\u044B|\u0430\u043B |\u04D9 \u0433|\u0440 \u0432|\u043D\u043B\u0430|\u04BB\u0441\u0438|\u04D9\u04BB\u0441|\u0442\u04D9\u04BB|\u04E9\u0437 |\u0438\u0441\u0442| \u0438\u0441|\u043C\u04D9\u0441| \u04D9\u0441|\u0438\u043D\u0430|\u04D9 \u0442|\u04D9\u0442\u043B|\u0430 \u0432|\u0438\u04D9 |\u043D \u0431|\u0442\u04D9\u0440| \u0442\u0430| \u04B9\u04D9|\u0435\u0434\u0438|\u0430\u043B\u0430|\u043A\u0438\u043C|\u0433\u0443 |\u0438 \u0442|\u0443\u043B\u043C|\u043C\u04D9\u04BB|\u043D \u043E|\u0430\u0458\u0430|\u044B \u043E|\u0438\u0430\u043B| \u0441\u043E|\u0438\u043B\u043B|\u0441\u0438\u0458| \u0434\u04D9|\u0432\u0430\u0440|\u0438\u043D\u0441|\u043C\u0438 |\u0493\u044B |\u043D\u0438\u043A|\u0440 \u0438|\u0430\u0433\u043B|\u043A \u04BB|\u0442\u04D9\u043C|\u0442\u0430\u043C|\u0447\u04AF\u043D|\u04AF\u0447\u04AF| \u04AF\u0447|\u0493\u044B\u043D|\u0441\u0430\u0441|\u04D9\u0441\u0430|\u0437 \u04BB|\u04D9\u043C\u04D9|\u0437\u0430\u043C| \u0437\u0430|\u0441\u0442\u0438|\u0440\u04D9\u0444|\u043D \u0435|\u0440 \u0430|\u0438\u043B\u0434|\u04BB\u04D9\u043C|\u044B\u0433\u043B|\u0458\u0430\u043D|\u043C\u0430\u0458|\u043D \u04D9|\u043C\u04D9\u043D|\u043C\u0438\u043B| \u043C\u0438|\u04D9\u0433\u0438|\u0434\u0438\u043D|\u043D \u0434|\u0442\u04AF\u043D| \u0434\u04E9|\u043C\u0438\u0458|\u043A\u0430\u04BB|\u0438\u043A\u0430| \u043D\u0438|\u0444\u0430\u0434|\u0442\u0438\u0444|\u043B \u043E|\u0441\u04D9\u0440|\u0458\u043D\u0438| \u0435\u0458|\u0430\u043D\u0430|\u043B\u04D9\u043D|\u0430\u043C |\u0440\u0438\u043B|\u0430\u0458\u04D9|\u0430\u0448\u044B",koi:"\u043D\u044B |\u04E7\u043D | \u0431\u044B|\u0434\u0430 | \u043F\u0440|\u043B\u04E7\u043D|\u0440\u0430\u0432| \u043C\u043E|\u043F\u0440\u0430| \u0434\u0430|\u0431\u044B\u0434| \u0432\u0435|\u043E\u0440\u0442|\u043B\u04E7 |\u04E7\u0439 |\u043C\u043E\u0440|\u04E7\u043C |\u0430\u0432\u043E| \u043D\u0435|\u0432\u043E |\u044B\u0434 |\u044B\u0441 |\u043D\u04E7\u0439|\u044B\u043D |\u043C \u043F|\u0434 \u043C|\u044B\u043D\u044B|\u0442\u043D\u044B| \u0430\u0441|\u0442\u04E7\u043C|\u043B\u044C\u043D| \u044D\u043C|\u0432\u0435\u0440|\u0441\u044C |\u044C\u043D\u04E7|\u044D\u043C |\u043D \u044D|\u0442\u043B\u04E7| \u043A\u044B|\u0441\u04E7 | \u043F\u043E|\u0435\u0440\u043C|\u0441\u044C\u04E7|\u0440\u0442\u043B|\u0430\u043B\u044C| \u043A\u04E7|\u044D\u0437 | \u04E7\u0442|\u04E7 \u0432|\u0442\u043E |\u0435\u0442\u043E|\u043D\u0435\u0442|\u044B\u043B\u04E7| \u043A\u043E|\u0442\u0448\u04E7| \u043E\u0442| \u0438 |\u044B \u0441|\u0431\u044B |\u04E7 \u0431|\u0441\u0442\u0432|\u043A\u04E7\u0440| \u0432\u04E7|\u0448\u04E7\u043C|\u043A\u044B\u0442|\u0442\u0430 |\u043D\u0430 |\u0437 \u0432| \u0441\u0435| \u0434\u043E|\u0432\u043E\u043B|\u04E7\u0441 | \u0441\u044B|\u044B \u0430|\u043E\u043B\u0430|\u0440\u043C\u04E7|\u0430\u0441 |\u043E\u0437 | \u043E\u0437| \u0441\u0456|\u0430 \u0441|\u0442\u0432\u043E|\u0441 \u043E| \u0432\u044B|\u043B\u0456\u0441|\u04E7 \u043A|\u044B\u0442\u0448|\u04E7 \u0434|\u0438\u0441 |\u0456\u0441\u044C|\u04E7\u0442\u043D|\u0430\u0441\u044C| \u043E\u043B| \u043D\u0430|\u0430\u0446\u0438| \u044D\u0442|\u0430 \u0432|\u0437\u043B\u04E7|\u0441\u0435\u0442| \u0432\u043E| \u0447\u0443|\u043B\u0430\u0441|\u043B\u0430\u043D|\u043C\u04E7 |\u0442\u044B\u0441|\u0440\u0442\u044B|\u04E7\u0440\u0442|\u044B \u043F|\u04E7\u0442\u043B|\u043E \u0441|\u044D\u0442\u0430|\u0434\u0437 |\u043A\u04E7\u0442|\u04E7\u0434\u043D|\u0432\u043D\u044B| \u043C\u044B|\u043D \u043D|\u0443\u0434\u0436| \u0443\u0434|\u0432\u044B\u043B|\u04E7 \u043C|\u0440\u0442\u0456|\u043E\u0440\u0439|\u0438\u0441\u044C| \u0441\u043E|\u0432\u043E\u044D|\u044B\u0434\u04E7|\u0439 \u043E|\u043A\u043E\u043B| \u0433\u043E|\u0441 \u0441|\u0441\u0441\u0438|\u0441\u044B\u043B|\u044B\u0441\u043B|\u0439\u044B\u043D|\u043A\u0438\u043D|\u043E\u043B\u04E7|\u0442\u04E7\u043D| \u0441\u044C|\u0430\u043D\u0430|\u04E7\u0440 |\u0446\u0438\u044F|\u0430 \u0434|\u04E7\u043C\u04E7| \u0432\u0438|\u0437 \u043A| \u044D\u0437|\u044B \u0431|\u0442\u04E7\u0433|\u04E7\u0442 |\u043C\u04E7\u0434|\u0435\u0441\u0442|\u043E\u0441\u0442|\u04E7\u043D\u044B|\u0442\u0438\u0440|\u043E\u0442\u0438|\u0443\u043A\u04E7|\u0447\u0443\u043A|\u043D \u043F|\u043E\u043D\u0434|\u043F\u043E\u043D|\u0441\u043B\u04E7|\u043A\u0435\u0440| \u043A\u0435| \u043E\u0431|\u0441\u0438\u0441|\u0441\u0443\u0434|\u0430 \u043D|\u0434\u043E\u0440|\u043A\u043E\u043D|\u043D\u0435\u043A|\u043D \u0431|\u043B\u04E7\u0442|\u0441 \u0432|\u0442\u0456 |\u044C\u04E7\u0440|\u0442\u0440\u0430| \u0441\u0442|\u043D\u0430\u043B|\u043E\u043D\u0430|\u043D\u0430\u0446|\u043D \u043A|\u043A\u04E7\u0434|\u04E7\u0433 |\u0441\u043A\u04E7|\u0442\u044C |\u0435\u0442\u04E7|\u0434\u04E7\u0441|\u0431\u044B\u0442|\u0440\u043D\u044B|\u04E7 \u043D|\u0442\u0441\u04E7|\u0440\u0440\u0435|\u0430 \u0431|\u043D\u0434\u0430|\u0441 \u0434|\u0430\u0441\u0441|\u044B \u043A|\u0430\u0441\u043B| \u043B\u043E|\u044C\u043D\u044B|\u0441\u044C\u043D|\u044B \u043C|\u0435\u043A\u0438|\u044B \u0434| \u043C\u04E7|\u044C \u043C|\u044B \u043D|\u044B\u0442\u04E7| \u043C\u0435|\u0440\u0439\u04E7|\u0438\u0430\u043B|\u0439 \u0434|\u0438\u0442\u04E7|\u0430 \u043A|\u04E7\u0441\u044C|\u043C\u04E7\u0441|\u043E\u0432\u043D|\u0437\u044B\u043D|\u0430 \u043F|\u043E\u0442\u0441| \u043B\u0438|\u043E\u043B\u044F|\u04E7 \u0430|\u043E\u0441\u0443|\u04E7\u044F |\u043D\u04E7\u044F|\u0435\u0437\u043B|\u0440\u0435\u0437|\u043C\u0435\u0434|\u0441 \u043C| \u0441\u044D|\u044C \u043A|\u0440\u0439\u044B|\u0430\u043A\u043E|\u0437\u0430\u043A| \u0437\u0430|\u044C\u044B\u043D|\u043D\u043D\u0451|\u043C\u04E7\u043B|\u0443\u043C\u04E7| \u0443\u043C|\u044B \u0443|\u043D \u0432|\u043C \u0434|\u043D \u0441| \u0434\u0437|\u043D \u043E|\u0440\u0430\u043D|\u0441\u0442\u0440|\u043E\u0437\u044C|\u043F\u043E\u0437|\u0437 \u043F|\u043E \u0434|\u0446\u0438\u0430|\u043E\u0446\u0438|\u0441\u043E\u0446|\u0438\u043E\u043D|\u0430 \u043C|\u0435\u0441\u043A|\u0447\u0435\u0441|\u043D\u04E7 |\u0437 \u0434|\u0442\u0441\u044C|\u0431\u04E7\u0440| \u0431\u04E7| \u043E\u0432|\u0432\u0435\u0441|\u043A\u044B\u0434|\u04E7 \u0441|\u0432\u043E\u044B|\u043A\u043E\u0434|\u0442\u043A\u043E|\u04E7\u0442\u043A|\u043E\u043B\u044C|\u0434\u0431\u044B|\u0435\u0434\u0431|\u0441\u044C\u044B|\u0447\u044B\u043D|\u0442\u0447\u044B|\u04E7\u0442\u0447|\u0442\u043B\u0430|\u043C\u04E7\u043D|\u0441\u043B\u0430|\u0439\u04E7\u0437| \u0439\u04E7|\u0442 \u0432|\u044B \u0438|\u0435\u0437 |\u043E \u0432|\u043E\u043D\u044B|\u0439\u04E7 |\u0430\u043D\u043D|\u04E7\u043B\u044C| \u043F\u044B|\u0430\u043D |\u043D\u04E7\u0441|\u043D\u0438\u0442| \u0441\u0443|\u043C \u0441",bel:" \u043F\u0440|\u043F\u0440\u0430| \u0456 |\u0430\u0432\u0430|\u043D\u0430 |\u0440\u0430\u0432| \u043D\u0430| \u043F\u0430|\u043D\u044B |\u0432\u0430 |\u0430\u0431\u043E|\u0446\u044C | \u0430\u0431|\u0430\u0435 | \u043C\u0430|\u0430\u0432\u0435|\u0430\u043D\u043D|\u0430\u0446\u044B|\u0441\u0432\u0430| \u0441\u0432|\u0435 \u043F|\u043B\u044C\u043D| \u0447\u0430|\u043D\u0435 |\u043D\u043D\u044F|\u0430\u043B\u0430|\u0430 \u043D|\u0430\u0439 |\u043B\u0430\u0432|\u0447\u0430\u043B| \u043A\u043E| \u0430\u0434| \u043D\u0435|\u0433\u0430 |\u043E\u0436\u043D|\u043A\u043E\u0436|\u0432\u0435\u043A|\u043D\u044F | \u044F\u043A|\u0436\u043D\u044B|\u044B \u0447|\u043C\u0430\u0435|\u0430 \u043F|\u0430\u0433\u0430|\u0431\u043E |\u0435\u043A |\u0430 \u0430|\u0446\u0430 |\u0446\u0446\u0430| \u045E | \u0437\u0430|\u044B\u0445 |\u043F\u0430\u0432|\u0430 \u0441|\u0433\u043E |\u0432\u0456\u043D|\u0434\u043D\u0430|\u0431\u043E\u0434|\u043C\u0456 |\u0432\u0430\u0431|\u0432\u0430\u043D|\u0430\u043C | \u0432\u044B| \u0441\u0430| \u0434\u0430|\u0441\u0442\u0430|\u0430\u0432\u0456|\u043D\u043D\u0435|\u0430\u0441\u0446|\u043D\u0430\u0439|\u0446\u044B\u044F|\u043D\u0430\u0433|\u0430\u0440\u0430|\u0456 \u043D|\u043A \u043C|\u044F\u0433\u043E| \u044F\u0433|\u044C\u043D\u0430|\u043F\u0440\u044B|\u0430\u0446\u044C|\u0456 \u043F|\u043E\u0434\u043D|\u0441\u0442\u0432|\u0430\u043C\u0430|\u043D\u044B\u0445| \u0431\u044B|\u0442\u0432\u0430|\u0434\u0437\u0435|\u0430\u043B\u044C| \u0440\u0430|\u043D\u0456 |\u0456 \u0441|\u0456 \u0430|\u044B\u0446\u044C|\u0430 \u0431|\u0435\u043D\u043D|\u043B\u0435\u043D|\u0446\u0456 |\u043E\u045E\u043D|\u044B\u043C |\u0440\u0430\u0446|\u0456\u043D\u043D|\u0456\u0445 | \u0430\u0441| \u0442\u0430|\u0442\u043E |\u043D\u0430\u0441|\u044F\u043A\u0456| \u0434\u0437|\u0447\u044B\u043D|\u043E\u043B\u044C|\u0456 \u0434|\u0430\u0432\u043E|\u0430\u0434 | \u043D\u0456|\u0441\u0446\u0456|\u044B\u043C\u0456|\u043D\u044B\u043C|\u0431\u044B\u0446|\u044F \u043F|\u044C\u043D\u044B|\u044B\u044F |\u0430\u0440\u043E|\u0430\u043D\u0430|\u0456\u043D\u0430|\u0456 \u0456|\u0440\u0430\u0434| \u0433\u0440|\u043B\u044F |\u045E\u043B\u0435|\u043E \u043F|\u0430 \u045E|\u0440\u044B\u043C|\u043F\u0430\u0434|\u044B\u0456 | \u0456\u043D|\u0430\u043C\u0456|\u0434\u0437\u044F|\u0440\u0430\u043C|\u0446\u044B\u0456|\u0430\u0431\u0430|\u0430 \u0456|\u0434\u0443 |\u0436\u043D\u0430|\u045E\u043D\u0430|\u043D\u0430\u043B|\u043D\u0430\u0446|\u0440\u044B |\u044D\u0442\u0430|\u0433\u044D\u0442| \u0433\u044D|\u043D\u0435\u043D|\u0434\u0430 |\u0430\u0445 |\u0433\u0440\u0430|\u043A\u0430\u0446|\u0443\u043A\u0430|\u0430 \u0437|\u043A\u0456 |\u0430\u0434\u0441|\u045E \u0456|\u043D\u0441\u0442|\u044D\u043D\u043D|\u044F \u0430|\u043D\u043D\u0456|\u043E\u0434\u0443|\u0430 \u0440|\u043D\u043D\u0430|\u0445\u043E\u0434|\u043D\u0430\u043D|\u043F\u0435\u0440|\u0445 \u043F| \u0443 |\u0430\u0434\u0437|\u0456 \u0440|\u043C\u0430\u0434|\u043C \u043F|\u0435 \u043C|\u0430\u0434\u0443|\u0434\u0441\u0442|\u0434\u043B\u044F| \u0434\u043B|\u043E\u045E |\u043D\u0430\u0435|\u0456 \u043C|\u0430\u043A\u043E| \u043A\u0430|\u044B \u045E|\u0431\u0430\u0440|\u0435 \u0430|\u0430\u0446\u0446|\u0443\u044E |\u044B\u0446\u0446|\u0441\u0430\u043C|\u044F\u045E\u043B|\u0430\u043B\u0435|\u0440\u043E\u0434|\u0440\u0430\u0431| \u043F\u0435|\u0448\u0442\u043E| \u045E\u0441|\u0430\u0434\u043D| \u0441\u0443|\u0440\u043E\u045E| \u0440\u043E|\u0434\u0443\u043A|\u043B\u044E\u0431|\u044C \u0441| \u0448\u043B|\u0440\u0430\u0437|\u043D\u0430\u0432|\u0437\u043D\u0430|\u0432\u043E\u043B|\u0443\u0434\u0437|\u0430\u0434\u0430|\u0436\u044B\u0446|\u0447\u043D\u0430|\u0432\u0435 |\u0430 \u0442|\u0430\u0441\u043D|\u0441\u0430\u0446|\u0435\u0440\u0430| \u0440\u044D|\u044F\u043A\u043E|\u043A\u043B\u0430|\u0430\u043D\u044B| \u0448\u0442|\u044C \u0443|\u0430\u044E\u0446|\u043D\u0430\u0440| \u0443\u0441|\u0441\u043E\u0431|\u0430\u0441\u043E|\u043F\u0430\u043C|\u044F \u045E|\u0430\u0432\u044F|\u0447\u044D\u043D|\u0432\u043E\u045E|\u0442\u0430\u043A|\u043D\u0443 |\u044E \u0430|\u044C \u043F|\u0437\u0430\u043A|\u043A\u0430\u0440|\u0435 \u0456|\u044C \u0430|\u0431\u0435\u0441|\u0456\u044F |\u043A\u0456\u044F|\u0445 \u0456|\u0437\u0430\u0431|\u0430\u0441\u0430|\u0456\u043C |\u0436\u0430\u0432|\u0456 \u0437|\u043B\u0435\u0436|\u0442\u0430\u043D|\u0430\u0445\u043E|\u044F\u043B\u044C|\u044B\u044F\u043B|\u043E \u0441|\u044F\u043D\u0430|\u043A\u0430\u043D|\u0430\u043A\u0430|\u0456\u043D\u0448|\u0430\u043B\u0456|\u0432\u044B | \u043C\u043E|\u043D\u0430\u0445|\u044F \u044F|\u043C \u043D|\u043E\u0433\u0430| \u0431\u0435|\u0439 \u0434|\u043E \u0430| \u0441\u0442|\u0435\u043D\u044B|\u0456 \u045E|\u0430 \u0434|\u0435\u0441\u043F|\u0448\u043B\u044E|\u0446\u0446\u044F|\u044B \u0456|\u044B\u0441\u0442|\u0440\u044B\u0441|\u043B\u044E\u0447|\u043A\u043B\u044E|\u0442\u0430\u0446|\u0443\u043B\u044C|\u044B\u043D\u0441|\u0430\u0447\u044B|\u0441\u043F\u0440| \u0441\u043F|\u0430\u045E |\u044B\u043C\u0430|\u0430\u0440\u044B|\u043A\u0430\u043C|\u0435 \u045E|\u0456 \u043A|\u043A\u043E\u043D",bul:" \u043D\u0430|\u043D\u0430 | \u043F\u0440|\u0442\u043E | \u0438 |\u0440\u0430\u0432|\u0434\u0430 | \u0434\u0430|\u043F\u0440\u0430|\u0441\u0442\u0432|\u0432\u0430 |\u0430 \u0441|\u0430 \u043F|\u0432\u043E |\u043D\u043E |\u0438\u0442\u0435|\u0442\u0430 |\u043E \u0438|\u0435\u043D\u0438| \u0437\u0430|\u043D\u0435 | \u043D\u0435| \u0432\u0441|\u0432\u0430\u043D|\u0430\u0432\u043E|\u0430 \u043D|\u043E\u0442\u043E|\u0435 \u043D|\u043E \u043D|\u0430 \u0438|\u043A\u0438 |\u0438\u0435 |\u0442\u0435 |\u043D\u0438 |\u0438\u043C\u0430| \u0438\u043C|\u043B\u0438 |\u0438\u043B\u0438|\u0438\u044F | \u043F\u043E|\u043E\u0432\u0435|\u0430\u043D\u0435|\u0447\u043E\u0432|\u043C\u0430 | \u0447\u043E|\u0438 \u0447|\u0430 \u0434|\u043D\u0438\u0435|\u0430\u043D\u0438|\u0438 \u0434|\u0435\u0441\u0442| \u0438\u043B|\u0432\u0435\u043A|\u0432\u0441\u0435| \u043E\u0431|\u0435\u043A |\u0435\u043A\u0438|\u0441\u0435\u043A|\u0430\u0432\u0430|\u0442\u0432\u043E|\u0441\u0432\u043E| \u0441\u0432|\u0432\u043E\u0442|\u0430 \u0432|\u0438 \u0441|\u043E\u0441\u0442| \u0440\u0430|\u043E\u0432\u0430|\u0430 \u043E|\u0435 \u0438|\u0432\u0430\u0442|\u0438 \u043D|\u0435 \u043F|\u043A \u0438|\u0430 \u0431| \u0432 |\u0438 \u043F|\u043B\u043D\u043E|\u043E \u0434| \u0441\u0435| \u0431\u044A|\u043F\u0440\u0438|\u0440\u0430\u0437|\u0435\u0442\u043E|\u044A\u0434\u0435|\u0431\u044A\u0434|\u0430\u0442\u0430| \u043A\u043E| \u0442\u0440| \u043E\u0441|\u0430\u0446\u0438| \u0441\u044A|\u0431\u043E\u0434|\u043E\u0431\u043E|\u0432\u043E\u0431|\u0430\u0442 |\u0437\u0430 |\u0442\u0435\u043B| \u0435 |\u043E \u0441|\u0434\u0435 |\u043E \u043F|\u0435\u043D |\u0438 \u0432| \u043E\u0442|\u0441\u0435 |\u043D\u0438\u044F|\u0440\u0430\u043D|\u0430\u043B\u043D| \u0434\u0435|\u0431\u0440\u0430|\u0435\u0433\u043E|\u043D\u0435\u0433| \u0438\u0437|\u043E\u0442 |\u044F\u0442\u0430|\u043A\u0430\u043A|\u043E\u0434\u0438|\u0435 \u0441|\u0438 \u0438|\u0434\u0435\u043D|\u043F\u0440\u0435|\u0431\u0432\u0430|\u044F\u0431\u0432|\u0440\u044F\u0431|\u0442\u0440\u044F|\u043D\u0438\u0442| \u043A\u0430|\u044F\u0432\u0430|\u043F\u0440\u043E|\u0441\u0442 |\u0430 \u0437|\u0433\u043E\u0432|\u0432\u0435\u043D|\u0442\u0432\u0435|\u043E \u043E|\u0430 \u0440|\u0430\u043A\u0432|\u043E \u0432|\u0438 \u0437|\u0440\u0435\u0434|\u043D\u043E\u0441|\u0438\u044F\u0442|\u0435 \u0434|\u0449\u0435\u0441|\u043D\u043E\u0432| \u043D\u0438|\u0446\u0438\u044F| \u0434\u043E|\u0439\u0441\u0442|\u043E \u0442|\u0435 \u0442|\u0440\u0436\u0430|\u044A\u0440\u0436|\u0434\u044A\u0440|\u0435\u043D\u043E|\u043F\u043E\u043B| \u0441 |\u043E\u0431\u0440|\u0442\u0432\u0430|\u043D\u043E\u0442|\u0440\u0435\u0441|\u0435\u0439\u0441|\u0438 \u043E|\u0435 \u0432|\u043A\u043E\u0439|\u043E\u0431\u0449|\u043B\u0435\u043D|\u043E\u043D\u0430|\u043D\u0430\u0446|\u0438\u0447\u0435|\u0435\u0437 |\u0431\u0435\u0437| \u0431\u0435|\u0435\u0436\u0434|\u0443\u0432\u0430|\u0432\u0438\u0442|\u0440\u0438 |\u0437\u0430\u043A|\u0438 \u043A| \u043B\u0438|\u0430 \u0435|\u043F\u043E\u0434|\u0435\u043B\u0438|\u043D\u0438\u043A|\u0441\u0438 |\u0435 \u043E|\u0430 \u0442|\u0438 \u0440|\u0442 \u0441|\u043A\u0430 |\u043E\u0435\u0442|\u0435\u043B\u043D|\u043D\u0435\u043D|\u043E\u0439 |\u0433\u0440\u0430|\u0436\u0435\u043D|\u0434\u0440\u0443| \u0440\u0435|\u0430 \u043A|\u0441\u043D\u043E|\u043E\u0441\u043D|\u043B\u0438\u0447|\u0437\u0438 | \u0442\u0430|\u0441\u0430 |\u043D\u0441\u0442|\u0430\u0432\u043D|\u0447\u043A\u0438|\u0438\u0447\u043A|\u0441\u0438\u0447|\u0432\u0441\u0438|\u043B\u044E\u0447|\u043A\u043B\u044E|\u0434\u043D\u043E| \u043C\u043E|\u0435\u043C\u0435|\u0442\u044A\u043F|\u0430 \u0443|\u0438\u0437\u0432|\u0442\u0432\u0438|\u0434\u0435\u0439|\u044F \u043D|\u043A\u0440\u0438|\u0430\u0442\u043E|\u043E \u0440|\u0439 \u043D|\u0438\u043A\u043E|\u0438\u0447\u043D|\u0436\u0430\u0432| \u0434\u044A| \u0442\u043E|\u0431\u0449\u0435| \u0441\u043E|\u043B\u0438\u0442|\u0442 \u043D| \u0441\u0438|\u0442 \u0438|\u0432\u043D\u0438|\u043E\u0434\u043D|\u0436\u0434\u0430|\u0437\u043E\u0432|\u0430\u0437\u043E|\u0443\u0447\u0430| \u0433\u0440|\u043A\u043E\u0435|\u0441\u0442\u044A|\u0432\u043E\u043B|\u043B\u043D\u0438|\u0441\u0440\u0435| \u0441\u0440|\u043A\u0432\u0430|\u043A\u043E\u043D|\u0442\u043D\u043E|\u0430\u043A\u0430|\u0438 \u0443|\u043A\u043E |\u0433\u0430\u043D|\u043E\u0434\u0430|\u0447\u0435\u043D|\u043B\u0441\u0442|\u0435\u043B\u0441|\u0441\u0442\u0440| \u043A\u044A|\u0441\u0442\u0430|\u0440\u043E\u0434|\u043D\u0430\u0440|\u0438 \u043C|\u0438\u0430\u043B|\u043D\u0430\u043B|\u0440\u0443\u0433| \u0434\u0440|\u0447\u0435\u0441|\u0434\u0438 | \u0441\u0430| \u0442\u0435|\u0441\u0442\u043E|\u0434\u043E\u0441|\u0440\u0430\u0436|\u0440\u0435\u0437|\u0447\u0440\u0435|\u0433\u0430\u0442|\u0435\u043E\u0431|\u0430 \u043C|\u043E \u0435|\u0438\u043D\u0435|\u0430\u0441\u0442|\u043E\u0432\u043E|\u0447\u043D\u043E|\u0430\u0432\u0435|\u043C\u0443 | \u043C\u0443|\u0430\u043D\u043E|\u0438\u0442\u0430|\u0438\u043C\u0438|\u0430\u043A\u043E|\u043D\u0430\u043A|\u043B\u0430\u0433|\u043E\u0432\u0438|\u0430\u043D ",kaz:"\u043D\u0435 | \u049B\u04B1|\u0435\u043D |\u04B1\u049B\u044B| \u0431\u0430| \u049B\u0430|\u049B\u04B1\u049B|\u044B\u049B |\u0493\u0430 | \u0436\u04D9|\u04D9\u043D\u0435|\u0436\u04D9\u043D| \u043D\u0435| \u0431\u043E|\u0434\u0435 |\u0434\u0430\u043C|\u0430\u0434\u0430|\u0430 \u049B|\u0442\u0430\u0440|\u044B\u043D\u0430| \u0430\u0434|\u044B\u043B\u044B| \u04D9\u0440|\u044B\u04A3 |\u0430\u043D |\u0456\u043D |\u049B\u044B\u043B|\u0430\u0440 |\u0435\u043C\u0435|\u043D\u0430 |\u0440 \u0430|\u043B\u044B\u049B|\u0443\u0493\u0430|\u0430\u043B\u0430|\u044B\u049B\u0442| \u04E9\u0437|\u043C\u0435\u0441|\u04D9\u0440 | \u0436\u0430|\u043C\u0435\u043D|\u044B\u0493\u044B|\u043B\u044B | \u0434\u0435|\u049B\u0442\u0430|\u043D\u044B\u04A3|\u043D \u049B|\u0493\u0430\u043D|\u0456\u043D\u0435|\u0431\u0430\u0441|\u0430\u0440\u044B| \u043C\u0435| \u049B\u043E|\u0435\u043A\u0435|\u044B\u043D |\u0434\u0430 |\u0435 \u049B|\u0434\u044B |\u0430\u0441\u044B|\u0441\u0435 |\u0435\u0441\u0435|\u0430\u043C |\u0431\u043E\u043B|\u0430\u043D\u0434|\u043D\u0435\u043C| \u0431\u0456|\u0430\u0440\u0430|\u044B \u0431|\u0441\u0442\u0430|\u0442\u0430\u043D|\u043D\u0434\u044B|\u043D \u0431|\u0456\u04A3 |\u0435 \u0431|\u0456\u043B\u0456|\u0442\u0438\u0456| \u0442\u0438|\u0431\u0430\u0440|\u0493\u044B |\u043D\u0434\u0435|\u0435\u0442\u0442|\u0438\u0456\u0441|\u049B\u044B\u0493|\u0456\u0441 |\u043B\u0430\u0440|\u0433\u0435 |\u044B \u0442|\u0456\u043D\u0434|\u0456\u043A |\u0431\u0456\u0440| \u0431\u0435| \u043A\u0435|\u0430\u043B\u0443|\u0435 \u0430|\u0430\u043B\u044B|\u043B\u0443\u044B|\u0430 \u0436|\u0435\u0440\u0456|\u043E\u043B\u044B| \u0442\u0435|\u049B\u044B\u049B|\u043D \u043A| \u0442\u0430|\u043D \u0436|\u0493\u044B\u043D|\u0442\u0442\u0456|\u0456\u043D\u0456|\u0442\u044B\u043D| \u0435\u0440|\u043D\u0434\u0430|\u0456\u043C | \u0441\u0430|\u0435 \u0436|\u0430\u0442\u044B| \u0430\u0440|\u0440\u0493\u0430|\u0435\u0442\u0456|\u0430\u043D\u0430|\u044B \u04D9|\u0443\u044B\u043D|\u043B\u0493\u0430|\u04E9\u0437\u0456|\u043E\u0441\u0442|\u0435\u0433\u0456|\u0442\u0456\u043A|\u049B\u0430 |\u0441\u049B\u0430|\u0440\u044B\u043D|\u043A\u0456\u043D|\u043B\u0443\u0493|\u04A3 \u049B|\u043D\u0456\u04A3|\u0443\u044B |\u0431\u043E\u0441|\u0430\u0441\u049B|\u049B\u0430\u0440|\u0434\u044B\u049B|\u043D\u0430\u043D|\u043C\u044B\u0441|\u043C\u043D\u044B|\u0430\u043C\u043D|\u044B \u043C|\u0430\u0439\u0434|\u043A\u0435 | \u0436\u0435|\u0437\u0456\u043D|\u0440\u0434\u0435|\u0440\u0456\u043D|\u0435 \u0442|\u0433\u0435\u043D|\u044B\u043F |\u0440\u044B |\u0442\u0456 |\u0441\u044B\u043D|\u049B\u0430\u043C|\u0434\u0435\u043D|\u0456 \u0431|\u0433\u0456\u0437|\u0440\u0430\u043B|\u0435 \u04E9|\u043B\u0430\u043D|\u0441\u044B |\u0430\u043C\u0430|\u0442\u0442\u0430|\u0442\u044B\u049B|\u0431\u0435\u0440|\u0434\u0456 |\u0431\u0456\u043B|\u0440\u043A\u0456|\u04E9\u0437 |\u0437\u0434\u0435|\u043A\u0435\u0442|\u049B\u043E\u0440|\u0434\u0430\u0439|\u0443\u0433\u0435|\u044B \u0435|\u044B\u043D\u0434|\u043D\u0435\u0433|\u043E\u043D\u044B|\u0435\u0439 |\u043C\u0435\u0442|\u0430\u043D\u044B|\u0430 \u0442|\u0436\u0430\u0441|\u0430\u0443\u044B|\u043B\u0433\u0435|\u0430\u0441\u0430|\u0435\u0433\u0435|\u0434\u0430\u0440|\u0440\u0443 |\u0430\u0443 |\u0435\u0440\u043A|\u044B \u0436|\u0440\u044B\u043B| \u0442\u043E|\u043D \u043D|\u0435 \u043D|\u0442\u0456\u043D|\u0456\u0440 |\u0441\u0456\u0437|\u0442\u0435\u0440|\u043B\u043C\u0430|\u0456 \u0442|\u043A\u0456\u043C| \u0430\u043B|\u0440 \u043C|\u043B\u0456\u043A| \u043C\u04AF|\u0435 \u043C|\u0442\u04AF\u0440| \u0442\u04AF|\u043A\u0435\u043B|\u043B\u044B\u043F|\u0435\u04A3 |\u0442\u0435\u04A3|\u0440\u043B\u044B|\u043B\u0456\u043C|\u0440\u0434\u044B|\u0430\u0440\u0434|\u0430\u0442\u0442|\u0441 \u0431|\u044B\u0440\u044B|\u0441\u044B\u0437|\u044B\u0441 |\u0435\u043B\u0433|\u0434\u0430\u043B|\u0439\u0434\u0430|\u043E\u0440\u0493|\u0440\u049B\u044B|\u0430\u0440\u049B| \u0436\u04AF|\u0442\u0430\u043B|\u044B\u043B\u043C|\u0430 \u0431|\u0456\u0433\u0456|\u043B\u0434\u0435|\u0456\u0437 |\u049B\u0442\u044B| \u0435\u0448|\u0434\u0435\u0439|\u0430\u0439 |\u0436\u0430\u0493|\u043A\u0442\u0456|\u0456\u043A\u0442|\u0433\u0456\u043D| \u04D9\u043B|\u0442\u0442\u044B|\u04B1\u043B\u0442| \u04B1\u043B|\u0435 \u0434|\u044B\u043D\u044B|\u043B\u0456\u043D|\u0440 \u0431|\u0435\u043B\u0435|\u043A\u04B1\u049B| \u043A\u04B1|\u0430\u043C\u0434|\u043C \u0431| \u0435\u0442|\u043E\u0493\u0430|\u049B\u04B1\u0440| \u043A\u04E9|\u0430\u0493\u0430|\u0442\u043E\u043B|\u0448\u0456\u043D|\u0430\u0439\u044B| \u049B\u044B|\u049B\u0430\u043B|\u0436\u0435\u043A|\u0456 \u043D|\u0435\u0441 |\u0430\u0493\u044B|\u0435 \u043E|\u0435\u043B\u0456| \u0435\u043B|\u043D \u0435|\u0437\u0456 |\u0448\u043A\u0456|\u0435\u0448\u043A|\u043E\u043B\u0443|\u0446\u0438\u044F|\u043C\u0430\u0441|\u0493\u0434\u0430|\u0430\u0493\u0434|\u043B\u0442\u0442|\u0456\u043C\u0434|\u043D\u044B\u043C| \u0434\u0430|\u0430 \u0434|\u04D9\u0441\u0456|\u0441 \u04D9|\u049B\u0430\u0442|\u0456\u0440\u0456| \u0441\u043E|\u04A3 \u0431|\u0430\u0437\u0430|\u043C\u0434\u0430|\u0430\u0439\u043B| \u0430\u0441|\u0493\u0430\u043C|\u049B\u043E\u0493"},Arabic:{arb:" \u0627\u0644|\u064A\u0629 |\u0641\u064A | \u0641\u064A|\u0627\u0644\u062D| \u0623\u0648|\u0623\u0648 | \u0648\u0627|\u0648\u0627\u0644|\u062D\u0642 |\u0629 \u0627|\u0644\u062D\u0642|\u0627\u0644\u062A|\u0643\u0644 |\u0627\u0644\u0645|\u0644\u0643\u0644| \u0644\u0643|\u0644\u0649 |\u0642 \u0641|\u062A\u0647 |\u0648 \u0627|\u0629 \u0648|\u0634\u062E\u0635|\u0629 \u0644|\u0627\u062A |\u0627\u0644\u0623|\u064A \u0623|\u0648\u0646 | \u0634\u062E|\u0645 \u0627|\u0623\u064A | \u0623\u064A|\u0627\u0646 |\u0623\u0646 |\u0645\u0629 |\u064A \u0627|\u0627\u0644\u0627|\u0644\u0627 |\u0647\u0627 |\u0627\u0621 | \u0623\u0646| \u0639\u0644|\u062E\u0635 |\u0646 \u0627| \u0644\u0644|\u062F \u0627|\u0645\u0646 |\u0641\u0631\u062F|\u0645\u0627 |\u0627\u0644\u0639|\u062A \u0627|\u062D\u0631\u064A|\u0639\u0644\u0649|\u0644 \u0641|\u0631\u062F |\u0644 \u0634| \u0644\u0627|\u0631\u064A\u0629| \u0625\u0644|\u0629 \u0623|\u0627 \u0627|\u0646 \u064A| \u0648\u0644|\u0627 \u0644|\u0627 \u064A| \u0641\u0631| \u0645\u0646|\u0629 \u0645|\u0627\u0644\u0642|\u062C\u062A\u0645|\u0646 \u0623|\u0642 \u0627|\u0627\u0644\u0625| \u062D\u0631|\u0644\u0647 |\u0647 \u0644|\u0627\u064A\u0629|\u0644\u0643 |\u0647 \u0627| \u062F\u0648|\u062F\u0629 |\u0627\u064B |\u064A\u0646 |\u0647 \u0648|\u0644\u0629 |\u064A \u062D| \u0639\u0646|\u0645\u0627\u0639|\u064A \u062A|\u0630\u0627 | \u062D\u0642|\u0642\u0648\u0642|\u062D\u0642\u0648|\u060C \u0648|\u0646 \u062A|\u0645\u0639 |\u0635 \u0627|\u0627\u0645 |\u062F \u0623| \u0643\u0627|\u0647\u0630\u0627|\u0627\u0644\u0648| \u0625\u0646|\u0645\u0644 |\u0627\u0645\u0629|\u0639 \u0627|\u0625\u0644\u0649|\u0629 \u0639|\u0645\u0627\u064A|\u062D\u0645\u0627|\u0646 \u0648|\u0644\u062A\u0639| \u0648\u064A|\u064A\u0631 |\u0646\u0648\u0646|\u064A \u0648|\u0627\u0633\u064A|\u0627\u0644\u062C| \u0647\u0630|\u0646\u0633\u0627|\u0648\u0642 |\u062A\u0631\u0627|\u0639\u064A\u0629|\u0647 \u0623| \u0644\u0647|\u0633\u064A\u0629| \u064A\u062C| \u0628\u0627|\u062F\u0648\u0644|\u0627\u0646\u0648|\u0642\u0627\u0646|\u0644\u0642\u0627|\u0629 \u0628|\u0629 \u062A|\u062A\u0645\u0627|\u0627\u0644\u062F|\u064A\u0627\u062A|\u0639 \u0628|\u0633\u0627\u0646|\u0625\u0646\u0633|\u0647\u0645 |\u0639\u0644\u064A| \u0645\u062A|\u0644\u0645\u062C|\u0630\u0644\u0643|\u0639\u0645\u0644|\u0644\u0623\u0633|\u0648\u0632 |\u062C\u0648\u0632|\u064A\u062C\u0648|\u0628\u0627\u0644|\u063A\u064A\u0631|\u0643 \u0627|\u0643\u0627\u0646|\u0633\u0627\u0633|\u0623\u0633\u0627|\u062F\u0645 |\u0644\u0627\u062F|\u0627\u0639\u064A|\u0627\u0644\u0631|\u062A\u0645\u064A|\u062F\u0648\u0646|\u062A\u0645\u062A|\u0644\u062A\u0645| \u064A\u0639|\u0644\u064A\u0647|\u0633\u0627\u0648|\u0627\u062C\u062A|\u064A \u0645|\u0644\u0639\u0627|\u0644\u062C\u0645|\u062A\u0639\u0644|\u0631 \u0648|\u062A\u0645\u0639|\u0645\u062C\u062A| \u0645\u0639|\u064A\u0647 |\u0649 \u0623|\u0641\u064A\u0647|\u0649 \u0627| \u0643\u0644|\u0644\u0627\u062A|\u0645\u0644\u0627|\u0648\u062F |\u0627\u0646\u062A|\u0627\u0644\u0641|\u064A\u0647\u0627|\u064A \u0625|\u062A\u064A |\u0627\u0644\u0628|\u0644\u064A |\u0642\u062F\u0645|\u0627\u0644 |\u0627\u062F |\u0644 \u0627|\u064A\u0632 |\u064A\u064A\u0632|\u0645\u064A\u064A| \u062A\u0645|\u0644\u062D\u0631|\u062A\u0639 |\u0645\u062A\u0639|\u0627 \u0628|\u0639\u0627\u0645|\u0627 \u0648|\u0642 \u0648|\u0631\u0627\u0645|\u0644 \u0644|\u0644\u0627\u062C|\u0631\u0627 |\u0627\u0644\u0634| \u0648\u0625|\u064A\u0645 |\u0644\u064A\u0645|\u0634\u062A\u0631|\u0627 \u062D|\u0648\u0627\u062C|\u0644\u0632\u0648|\u0648\u0644 |\u0627 \u0641|\u0648\u0644\u0629|\u0644\u062D\u0645|\u0623\u0633\u0631| \u0630\u0644|\u0647 \u0641|\u0627\u062A\u0647|\u0645\u0633\u0627|\u0644\u0645\u0633| \u062A\u0639|\u0639\u0646 |\u0647 \u0639|\u0648\u0644\u0647|\u064A\u062A\u0647|\u0646 \u0644|\u0631\u0629 | \u0648\u0633|\u0627\u0629 |\u064A\u062F | \u062A\u062D| \u0645\u0633|\u064A \u064A|\u0644\u062A\u064A|\u0639\u0629 |\u0648\u0644\u064A|\u0644\u062F\u0648| \u0623\u0633| \u0648\u0641|\u0644 \u0648|\u0623\u064A\u0629|\u0646\u064A |\u0627\u0644\u0633|\u0644\u0627\u0646|\u0644\u0625\u0639|\u0629 \u0641|\u0631\u064A\u0627|\u0644 \u0625|\u0645 \u0628|\u0627\u0645\u0644|\u0643\u0631\u0627|\u062A\u0633\u0627|\u0645\u064A\u0639|\u062C\u0645\u064A| \u062C\u0645|\u0623\u0648\u0644|\u0628\u064A\u0629|\u0639\u064A\u0634|\u062A\u062D\u0642|\u0627\u062F\u0629|\u0633 \u0627| \u0645\u0645|\u0645\u0639\u064A|\u062C\u0645\u0627|\u0639\u0627\u062A|\u0627\u0639\u0627|\u0627\u0631\u0633|\u0645\u0627\u0631|\u0645\u0645\u0627|\u0645 \u0648|\u0631\u0627\u0643|\u0627\u0634\u062A|\u0627\u0644\u0637|\u0627\u062C |\u0632\u0648\u0627|\u0627\u0644\u0632| \u0648\u0645|\u062D\u062F\u0629|\u062A\u062D\u062F|\u0644\u0645\u062A|\u0645\u0645 |\u0644\u0623\u0645|\u062F\u0647 |\u0628\u0644\u0627| \u0628\u0644|\u0627\u0631 |\u064A\u0627\u0631|\u062A\u064A\u0627|\u062E\u062A\u064A|\u0627\u062E\u062A|\u0646 \u0645| \u0645\u0631",urd:"\u0648\u0631 | \u0627\u0648|\u0627\u0648\u0631|\u06A9\u06D2 | \u06A9\u06D2| \u06A9\u06CC| \u06A9\u0627|\u06CC\u06BA | \u062D\u0642|\u06A9\u06CC |\u06A9\u0627 | \u06A9\u0648|\u0626\u06D2 |\u06D2 \u06A9|\u06CC\u0627 |\u0633\u06D2 |\u06A9\u0648 |\u0634\u062E\u0635| \u0634\u062E|\u0646\u06D2 | \u0627\u0633| \u06C1\u06D2|\u0645\u06CC\u06BA|\u062D\u0642 | \u06C1\u0648| \u0645\u06CC|\u062E\u0635 |\u06D2 \u0627| \u062C\u0627|\u0627\u0633 | \u0633\u06D2| \u06CC\u0627|\u06C1\u0631 |\u06CC \u0627| \u06A9\u0631| \u06C1\u0631|\u06D2\u06D4 |\u0633\u06CC |\u06C1\u06CC\u06BA|\u0627 \u062D|\u0635 \u06A9|\u0648\u06BA |\u06D2 \u0645| \u0627\u0646|\u0631 \u0634|\u06D4 \u06C1|\u0627\u0626\u06D2|\u0632\u0627\u062F|\u0622\u0632\u0627| \u0622\u0632|\u0627\u0645 |\u0631 \u0627|\u0642 \u06C1|\u0627\u062F\u06CC|\u062C\u0627\u0626|\u06BA \u06A9|\u06C1\u06D2\u06D4|\u0645 \u06A9| \u06A9\u0633|\u0627 \u062C|\u06CC \u06A9|\u0633 \u06A9|\u06A9\u0633\u06CC| \u067E\u0631|\u06D2 \u06AF|\u06C1\u06D2 |\u0627\u0631 |\u062A \u06A9|\u062F\u06CC |\u067E\u0631 |\u0648 \u0627| \u062D\u0627| \u062C\u0648| \u06C1\u06CC|\u0627\u0646 |\u06CC \u062C|\u0631\u06CC | \u0646\u06C1| \u0645\u0639|\u062C\u0648 |\u0644 \u06A9|\u06CC \u062A|\u0646 \u06A9|\u06A9\u0631\u0646|\u0626\u06CC |\u0644 \u06C1|\u062A\u06CC |\u06C1\u0648 |\u06C1 \u0627| \u0627\u06CC|\u0635\u0644 |\u0627\u0635\u0644|\u062D\u0627\u0635|\u0631\u0646\u06D2|\u06CC \u0634|\u0646\u06C1 |\u06D4 \u0627|\u06BA\u06D4 |\u06CC\u06BA\u06D4|\u0631 \u06A9|\u0631 \u0645| \u0645\u0644|\u0648\u06C1 |\u0645\u0639\u0627|\u0631\u06D2 |\u06BA \u0627|\u0646\u06C1\u06CC|\u06D2 \u06C1|\u06D2 \u0628|\u0627\u06CC\u0633|\u06D2 \u0644| \u062A\u0639| \u06AF\u0627|\u06CC\u062A |\u06CC \u062D|\u0627 \u0627|\u06CC \u0645|\u0627\u067E\u0646| \u0627\u067E|\u06A9\u06CC\u0627|\u0645\u06CC |\u06CC \u0633| \u062C\u0633|\u06C1 \u06A9|\u0646\u06CC |\u0627\u0634\u0631|\u0639\u0627\u0634| \u062F\u0648|\u0644\u0626\u06D2| \u0644\u0626|\u0627\u0646\u06C1|\u0648\u0642 |\u0642\u0648\u0642|\u062D\u0642\u0648|\u0645\u0644 | \u0642\u0627|\u06A9\u06C1 | \u06AF\u06CC|\u0631 \u0628|\u06C1 \u0645| \u0648\u06C1| \u0628\u0646|\u06CC \u0628|\u0645\u0644\u06A9|\u062C\u0633 |\u0627\u06D4 |\u0631\u06CC\u0642|\u0631 \u0646|\u06D2 \u062C|\u0627\u062F |\u0627\u062A |\u06AF\u06CC |\u062F \u06A9|\u06D2 \u062D|\u062F\u0627\u0631|\u0631 \u06C1|\u06AF\u0627\u06D4|\u0642\u0648\u0645| \u0642\u0648|\u06D2\u060C |\u0627 \u0633|\u062F\u0648\u0633|\u0631 \u067E| \u0648 | \u0634\u0627|\u06CC \u0622|\u06BA \u0645|\u0642 \u062D| \u067E\u0648| \u0628\u0627|\u062E\u0644\u0627|\u0627\u0646\u06D2|\u06CC\u0645 |\u0644\u06CC\u0645|\u0648 \u062A|\u0648\u0646 | \u06A9\u06C1|\u06CC\u060C |\u06D4 \u06A9|\u0627 \u067E|\u0646 \u0627|\u0644\u06A9 |\u0639\u0644\u0627|\u0627 \u0645|\u0642 \u06A9|\u0627\u0626\u06CC|\u0648\u0633\u0631|\u06CC \u06C1|\u0648\u0626\u06CC|\u06CC\u0631 |\u0627 \u06C1|\u0639\u0644\u06CC|\u0648 \u06AF|\u0648\u0631\u06CC|\u062F\u06AF\u06CC|\u0646\u062F\u06AF|\u0648 \u06A9|\u06CC\u0633\u06D2| \u0645\u0646|\u0627\u0626\u062F|\u0631\u0627\u0626| \u0645\u0631|\u067E\u0648\u0631| \u0637\u0631|\u0648\u0645\u06CC|\u06D2 \u062E|\u0633\u0628 |\u0646\u0648\u0646|\u0627\u0646\u0648|\u0642\u0627\u0646| \u0633\u06A9|\u0648\u0627\u0645|\u06CC\u0646 | \u0631\u06A9|\u062A\u0639\u0644|\u0644\u0627\u0642|\u063A\u06CC\u0631|\u062F\u0627\u0646|\u060C \u0627| \u0628\u06CC| \u0645\u0633|\u06CC\u0648\u06BA|\u0646\u0627 | \u0628\u06BE| \u0628\u0631|\u0631\u062A\u06CC|\u0627\u062F\u0627|\u0627\u0645\u0644|\u06CC\u06C1 | \u06CC\u06C1|\u06C1 \u0648| \u0639\u0627|\u06CC \u067E| \u0628\u0686|\u0627\u0641 |\u0644\u0627\u0641| \u062E\u0644|\u06CC\u06D4 |\u06AF\u06CC\u06D4| \u062F\u06CC|\u06BE\u06CC |\u0628\u06BE\u06CC|\u062F\u06C1 |\u062C\u0627 |\u067E\u0646\u06CC|\u0642\u0648\u0627|\u0627\u0642\u0648|\u0631\u06A9\u06BE|\u06D2 \u06CC| \u0639\u0644|\u06A9\u0648\u0626|\u060C \u0645| \u0686\u0627|\u06D2 \u0633|\u0631 \u0639| \u067E\u06CC|\u0628\u0631\u0627|\u0631 \u0633|\u0631 \u062D|\u0633\u0627\u0646|\u0645 \u0627|\u06A9\u0627\u0645|\u0634\u0631\u062A| \u0631\u0627|\u0634\u0627\u0645|\u0645\u0646 |\u0632\u0646\u062F| \u0632\u0646|\u0628 \u06A9|\u062A \u0645|\u0627\u06C1 |\u0627\u0631\u06CC|\u0633 \u0645|\u0631 \u062C| \u0645\u062D|\u0648\u0631\u0627|\u06D2 \u067E|\u0637\u0631\u06CC|\u06C1\u0648\u06BA|\u0627\u0644 |\u06BA \u0633|\u06CC \u0646|\u06A9\u0631\u06D2| \u0645\u0642|\u062A \u0633|\u062A\u062D\u0641| \u062A\u062D|\u0648\u06D4 |\u06C1\u0648\u06D4|\u0628\u0646\u062F| \u0627\u0642|\u062F \u06C1| \u0627\u0645|\u0627\u0645\u06CC|\u0627\u0644\u0627|\u0644\u062A |\u0634\u0631\u06D2|\u06D2 \u0639|\u0627 \u06A9|\u0641\u0631\u06CC",pes:" \u0648 | \u062D\u0642| \u0628\u0627|\u0646\u062F |\u0631\u062F |\u062F\u0627\u0631| \u062F\u0627|\u06A9\u0647 |\u0647\u0631 | \u062F\u0631| \u06A9\u0647|\u062F\u0631 | \u0647\u0631|\u0631 \u06A9|\u062D\u0642 |\u062F \u0647|\u0627\u0632 |\u06CC\u062A | \u0627\u0632|\u06CC\u0627 |\u06A9\u0633 |\u0648\u062F |\u0627\u0631\u062F| \u06CC\u0627| \u06A9\u0633|\u0627\u06CC |\u062F \u0648| \u0628\u0631| \u062E\u0648|\u0642 \u062F|\u0628\u0627\u0634|\u0634\u062F |\u062F \u06A9|\u0627\u0631 |\u062F \u0628| \u0631\u0627|\u0647 \u0628|\u0627\u0646 |\u0622\u0632\u0627| \u0622\u0632|\u0631\u0627 |\u0627\u0634\u062F|\u06CC \u0648|\u0647 \u0627|\u06CC\u0646 |\u06CC\u062F |\u0632\u0627\u062F|\u0633 \u062D|\u062E\u0648\u062F|\u06CC \u0628| \u0627\u0633|\u062F\u0647 |\u062F\u06CC |\u0648\u0631 |\u0627\u06CC\u062F|\u0647 \u062F|\u0631\u06CC |\u0648 \u0627|\u062A\u0645\u0627|\u0627\u062A | \u0646\u0645|\u06CC \u06A9|\u0627\u062F\u06CC|\u0646\u0647 |\u0631\u0627\u06CC|\u062F \u0627| \u0622\u0646|\u0627\u0633\u062A|\u0631 \u0627|\u0631 \u0645| \u0627\u062C|\u0645\u0627\u06CC|\u0648\u0646 |\u0642\u0648\u0642|\u062D\u0642\u0648|\u0648 \u0645| \u0627\u0646|\u0627\u0646\u0647| \u0647\u0645|\u0648\u0642 |\u0627\u06CC\u062A| \u0634\u0648|\u06CC \u0627| \u0645\u0648| \u0628\u06CC|\u0628\u0627 | \u062A\u0627|\u0648\u0631\u062F|\u0627\u0646\u0648|\u0633\u062A |\u0648\u0627\u0646|\u0628\u0631\u0627|\u0627\u0645 |\u0634\u0648\u062F|\u0622\u0646 |\u062C\u062A\u0645|\u06CC \u06CC| \u06A9\u0646|\u0631 \u0628|\u06A9\u0646\u062F| \u0645\u0631|\u062A \u0645|\u0647\u0627\u06CC|\u062A \u0627| \u0645\u0633|\u06CC\u060C |\u0645\u0627\u0639|\u0627\u062C\u062A|\u062A\u0648\u0627|\u06CC\u06AF\u0631|\u0648 \u0628|\u062F\u0627\u0646|\u062A \u0648|\u0627 \u0645| \u0628\u062F|\u0639\u06CC |\u06A9\u0627\u0631| \u0645\u0646|\u0645\u0648\u0631| \u0645\u0642|\u06CC \u062F| \u0632\u0646|\u06CC \u0645|\u0646 \u0628|\u0631 \u062E|\u0627\u0647 |\u0627 \u0628|\u0627\u0631\u06CC|\u062F \u0622|\u0645\u0644 | \u0628\u0647|\u0627\u0639\u06CC|\u062F\u060C |\u062F\u06CC\u06AF|\u062A \u0628|\u0628\u0627\u06CC|\u0627\u06CC\u0646| \u0645\u06CC|\u0646 \u0648|\u0642 \u0645| \u0639\u0645| \u06A9\u0627|\u0646 \u0627|\u0648 \u0622| \u062D\u0645|\u0646\u0648\u0646|\u0647 \u0648|\u0648 \u062F|\u062F \u0634| \u0627\u06CC|\u0634\u0648\u0631|\u06A9\u0634\u0648| \u06A9\u0634|\u0644\u06CC |\u0646\u06CC |\u0647 \u0645|\u0628\u0639\u06CC|\u0631 \u0634|\u06CC\u0647 | \u0645\u0644|\u0645\u06CC\u062A|\u06CC \u0631|\u0631\u0646\u062F| \u0634\u0631|\u0645\u06CC |\u0648\u06CC |\u0633\u0627\u0648|\u0642\u0627\u0646| \u0642\u0627|\u0645\u0642\u0627|\u0627\u0648 | \u0627\u0648|\u062F \u0645|\u06AF\u06CC |\u0646\u0645\u06CC| \u0627\u062D| \u0645\u062D|\u0645\u06CC\u0646|\u0626\u06CC |\u0627\u062F\u0627| \u0622\u0645|\u062E\u0648\u0627|\u06AF\u0631\u062F| \u06AF\u0631|\u0645\u0646\u062F| \u0634\u062F|\u0627\u0626\u06CC| \u062F\u06CC|\u0632 \u062D|\u0647\u06CC\u0686| \u0647\u06CC|\u0627\u062F\u0647| \u0645\u062A|\u0646\u0645\u0627|\u062A \u06A9|\u0631\u0627\u0646| \u0628\u0645|\u0646 \u062D|\u0631 \u062A|\u062D\u0645\u0627|\u0627\u0631\u0646|\u0645\u0633\u0627|\u062F\u06AF\u06CC|\u0648\u0645\u06CC|\u0646 \u062A|\u0645\u0644\u0644|\u0628\u0631 |\u0647\u062F |\u0648\u0627\u0647|\u0628\u0647\u0631| \u0627\u0639|\u200C\u0647\u0627|\u0642 \u0648|\u060C \u0627|\u0639\u06CC\u062A|\u06CC\u062A\u0648|\u0627 \u0631|\u0646 \u0645| \u0639\u0642|\u0647\u0645\u0647|\u0627 \u0647|\u0632\u0634 |\u0648\u0632\u0634|\u0645\u0648\u0632|\u0622\u0645\u0648|\u0627\u0646\u062A|\u062A\u06CC |\u062C\u0627\u0645|\u0645\u0648\u0645|\u0639\u0645\u0648|\u062A\u062E\u0627| \u0641\u0631|\u0637\u0648\u0631|\u062F \u062F|\u0647 \u062D|\u0631\u062F\u0627|\u0627\u0648\u06CC|\u0646\u0648\u0627|\u0627\u0646\u06CC|\u0631\u0627\u0631| \u0645\u062C|\u06CC \u0646|\u062D\u062F\u06CC|\u0627\u062D\u062F|\u0646\u062F\u06AF|\u0632\u0646\u062F|\u0634\u062E\u0635| \u0634\u062E|\u200C\u0645\u0646|\u0647\u200C\u0645|\u0631\u0647\u200C|\u0647\u0631\u0647|\u0634\u062F\u0647|\u0639 \u0627|\u0648 \u0647|\u0627\u0633\u06CC|\u0647\u0654 |\u06CC\u062F\u0647|\u0639\u0642\u06CC|\u0627 \u0627|\u0645\u0647 | \u0628\u0634|\u0627\u062F |\u062F\u06CC\u0647|\u0627 \u062F|\u062F\u0648\u0627|\u06CC \u062D|\u0627\u0628\u0639|\u06CC \u062A|\u062E\u0627\u0628|\u0646\u062A\u062E|\u0631\u0648\u0631|\u0648 \u0631|\u0634\u0631\u0627| \u062E\u0627|\u0654\u0645\u06CC|\u0627\u0654\u0645|\u062A\u0627\u0654|\u0627\u064B |\u0627\u0645\u0644|\u0644\u0647 |\u062F \u0631|\u0627\u0633\u0627|\u062E\u0648\u0631|\u0628\u0644 |\u0627\u0628\u0644|\u0642\u0627\u0628|\u06CC\u06A9 |\u0633\u0627\u0646|\u0642\u0631\u0627|\u0627 \u0646|\u062E\u0635\u06CC| \u0627\u0645| \u0628\u0648|\u06CC\u0631 |\u0627\u0644\u0645|\u0628\u06CC\u0646|\u0627\u0647\u062F|\u062A\u0628\u0639| \u062A\u0628",zlm:" \u062F\u0627|\u0627\u0646 |\u062F\u0627\u0646| \u0628\u0631| \u0627\u0648|\u0646 \u0633|\u0631\u06A0 |\u062F\u0627\u0644| \u06A4\u0631|\u0644\u0647 |\u0643\u0646 | \u0643\u06A4|\u0646 \u0627|\u0646 \u0643|\u0646 \u062F|\u064A\u06A0 | \u064A\u06A0|\u06A4\u062F |\u062D\u0642 |\u0648\u0631\u06A0|\u062A\u064A\u0627|\u064A\u0627\u06A4|\u0627\u0631\u0627|\u0643\u06A4\u062F|\u0627\u0648\u0631|\u0631\u062D\u0642|\u0628\u0631\u062D|\u0627\u0644\u0647|\u0623\u0646 |\u0648\u0644\u064A| \u0627\u062A|\u0627\u062A\u0627|\u06A0\u0646 |\u062A\u0627\u0648|\u0627\u06A4 |\u0633\u062A\u064A|\u0644\u064A\u0647|\u0627\u0648 | \u0633\u062A|\u06A4 \u0627|\u064A\u0647 |\u0631\u0627 |\u0647 \u0628|\u0647 \u062F|\u0639\u062F\u0627| \u0639\u062F|\u0646 \u06A4|\u0646 \u0628|\u064A\u0646 | \u062A\u0631|\u0642 \u0643|\u0646 \u064A|\u064A\u0628\u0633|\u0628\u064A\u0628| \u062A\u064A| \u0633\u0648| \u0643\u0628| \u0633\u0627|\u0646 \u0645|\u0646 \u062A|\u0644\u0645 |\u0627\u0644\u0645|\u062F \u0633|\u06A0 \u0639| \u0645\u0646|\u0686\u0627\u0631|\u062F \u06A4|\u0631\u0646 |\u0633\u0627\u0645| \u0645\u0627|\u06BD \u0633|\u0646\u060C | \u0628\u0648| \u0627\u064A|\u0646\u062F\u0642| \u062D\u0642|\u06AC\u0627\u0631|\u0646\u06AC\u0627|\u0628\u0648\u0644|\u0633\u0628\u0627| \u0633\u0628|\u0627\u062A\u0648|\u0627 \u0633|\u0642\u0644\u0647| \u06A4\u0645| \u0645\u0645|\u0648\u0627\u0646|\u0633\u0686\u0627| \u0633\u0686| \u0643\u0633|\u0627 \u0628|\u0633\u0646 | \u0633\u0645|\u06A4\u0631\u0644|\u0627\u0648\u0646|\u0646\u06BD |\u062A\u0646 | \u0628\u0627|\u0647\u0646 |\u0633\u064A\u0627|\u0627 \u06A4|\u0627\u0631\u06A0|\u0628\u0627\u0631|\u06A4\u0627 |\u0628\u0633\u0646|\u0643\u0628\u064A|\u0627\u0645 |\u064A\u0646\u062F|\u064A \u062F|\u0627\u06AC\u064A|\u06A0 \u0628|\u0628\u0627\u06AC|\u064A \u0627|\u0645\u0627\u0646| \u0644\u0627| \u062F |\u062F\u0642\u0644|\u0647\u0646\u062F| \u0647\u0646|\u062A \u062F|\u0627\u062F\u064A|\u0648\u064A\u0646|\u064A\u0643\u0646| \u0646\u06AC|\u060C \u0643|\u0646\u0662 | \u06A4\u0648|\u0628\u06A0\u0633|\u0642\u0662 |\u0627\u062A |\u0627\u0648\u0644|\u0627\u0643\u0646|\u0627\u06BD | \u0633\u0633|\u0648\u0646 |\u0627\u062F | \u0643\u0648|\u0627\u064A\u0646|\u062F\u06A0\u0646| \u062F\u06A0|\u0627\u0626\u0646|\u062A\u0648 |\u062A\u064A |\u0646 \u0647|\u06AC\u064A |\u0633\u064A |\u0642 \u0645|\u0648\u06A0\u0646|\u062F\u0648\u06A0|\u0646\u062F\u0648|\u0644\u064A\u0646|\u0631\u0644\u064A|\u0646\u062A\u0648|\u06A4\u0648\u0646|\u0648\u0627\u062A|\u064A\u0627\u062F|\u062A\u064A\u0643|\u06A0\u0633\u0627|\u06A4\u0645\u0628|\u062A\u0631\u0645|\u0662 \u062F|\u062D\u0642\u0662|\u0648\u0627 |\u0644\u0648\u0627|\u0645\u0627\u0633|\u0648\u0642 |\u0647 \u0645|\u0644 \u062F| \u0645\u0644|\u0648\u0646\u062F| \u06A4\u06A0|\u0627\u060C |\u060C \u062A|\u0644\u0627\u0626|\u0627\u064A |\u0645\u06A4\u0648|\u064A\u0643 |\u064A \u0643|\u0631\u0627\u062A|\u0645\u0631\u0627| \u0628\u064A|\u0633\u0645\u0648|\u0648 \u0643|\u060C \u062F|\u0633\u0648\u0627|\u06A0 \u0645|\u06A0 \u0633|\u06A0\u0662 |\u06A4\u0631\u064A|\u064A\u0631\u064A|\u062F\u064A\u0631|\u0627 \u0627|\u0627\u0633\u0627|\u06A4\u0662 |\u062A\u0627 |\u0633\u0648\u0633|\u060C \u0633|\u062C\u0648\u0627|\u06A0 \u062A|\u0631\u0623\u0646| \u0627\u0646|\u0633\u0623\u0646|\u0631\u064A\u0643|\u064A\u0623\u0646|\u0631\u064A | \u062F\u0631|\u0627\u0645\u0631|\u0643\u0631\u062C| \u06A4\u0644|\u0627 \u062F|\u062C\u0631\u0646|\u0627\u062C\u0631|\u0627\u0631\u0643|\u0644\u0627\u062C|\u062F \u0643|\u0648\u0627\u0631|\u0628\u0631\u0633|\u0648\u0646\u062A|\u0645\u0646\u0648|\u0633\u0627\u0644|\u064A\u0646\u06A0|\u062F\u06A0\u0662|\u0646\u062F\u06A0| \u0645\u06A0|\u0627\u06A4\u0627|\u0633\u0633\u064A|\u0633\u0627\u0633|\u0646\u0646 |\u06A4\u0648\u0644|\u0627\u06AC\u0627| \u0628\u06A0| \u0633\u06A4|\u0645\u0628\u064A| \u0627\u06A4|\u06A0 \u0627|\u0627\u0631\u0623|\u06A4\u0631\u0627|\u064A \u0633|\u0628\u0633 | \u062F\u0644|\u0627 \u0645|\u0645\u0648\u0627|\u06A4\u0644\u0627|\u0645\u0644\u0627|\u06A4\u0631\u0643|\u0643\u0648\u0631|\u0648\u0628\u0648| \u0643\u0623|\u0648\u0643\u0646|\u0623\u0646\u06BD|\u0643\u0633\u0627|\u06A0\u06AC\u0648|\u0627\u062F\u06A4|\u0647\u0627\u062F|\u0631\u0647\u0627|\u062A\u0631\u0647|\u0643\u0648\u0645|\u062A\u0648\u0642|\u0645 \u0633|\u06A0 \u062F|\u062F\u064A | \u062F\u064A|\u0662 \u0633|\u0646\u062F\u064A|\u0627\u0633 |\u0627\u062F\u0627|\u0628\u0648\u0627| \u062F\u0628|\u06A0 \u06A4|\u06BD\u060C |\u0627\u06A4\u0662|\u0631\u062A\u0627|\u0627\u0644 |\u064A\u0627\u0644|\u0648\u0633\u064A| \u0643\u062A|\u0623\u0646\u060C|\u0646\u06A4\u0627|\u062A\u0646\u06A4| \u062A\u0646|\u0645 \u06A4|\u0631\u0633\u0627|\u0645\u0645\u06A4| \u0645\u0631|\u0646 \u062D| \u0643\u0645|\u0646\u0633\u064A|\u062C\u0623\u0646|\u0624\u064A |\u0644\u0624\u064A|\u0627\u0644\u0624|\u0644\u0627\u0644|\u0643\u06A4\u0631|\u0643\u062A |\u0631\u0643\u062A|\u0634\u0627\u0631|\u0645\u0634\u0627| \u0645\u0634|\u062C\u0627\u062F|\u0631\u06AC\u0627",skr:"\u062A\u06D2 |\u0627\u06BA |\u062F\u06CC |\u062F\u06D2 | \u06D4 |\u0648\u06BA | \u062A\u06D2| \u062F\u0627| \u06A9\u0648|\u06A9\u0648\u06BA| \u062D\u0642|\u062F\u0627 | \u062F\u06CC|\u06CC\u0627\u06BA| \u062F\u06D2|\u06CC\u06BA |\u06D2 \u0627|\u0634\u062E\u0635| \u0634\u062E|\u06C1\u0631 |\u06D2 \u06D4|\u0627\u0635\u0644| \u062D\u0627|\u062D\u0642 |\u062E\u0635 | \u06C1\u0631|\u0635\u0644 |\u062D\u0627\u0635|\u06C1\u06D2 | \u06C1\u06D2|\u0627\u0644 |\u0642 \u062D|\u0644 \u06C1| \u0646\u0627| \u06A9\u06CC| \u0648\u0686|\u06D4 \u06C1|\u06CC\u0627 |\u0633\u06CC |\u06D2 \u0645| \u0627\u0648|\u0648\u0686 |\u0627\u062A\u06D2|\u06A9\u06CC\u062A|\u0627 \u062D|\u0627\u062F\u06CC|\u0646\u0627\u0644|\u0635 \u06A9| \u0627\u062A|\u0631 \u0634|\u06C1\u06CC\u06BA| \u06CC\u0627|\u06BA \u062F| \u0627\u06CC|\u06CC\u0633\u06CC| \u0645\u0644|\u0648\u0646\u062F|\u06A9\u06C1\u06CC| \u06A9\u06C1|\u06CC \u062A|\u0632\u0627\u062F|\u0627\u0632\u0627| \u0627\u0632|\u0646\u062F\u06D2|\u06BA \u06A9|\u0627\u0631 | \u0648\u06CC|\u06D2 \u06A9|\u0626\u06D2 | \u0627\u0646|\u06BB \u062F|\u0646\u06C1 | \u06A9\u0631|\u0627\u0648\u0646|\u06D2 \u0648|\u062F\u06CC\u0627|\u06CC \u062F|\u06BA \u0627|\u06D2 \u0628|\u0648\u06CC\u0633|\u0648\u06BB |\u06CC \u0646| \u06C1\u0648|\u062A\u06CC |\u06CC \u06D4| \u0646\u06C1|\u06CC \u0627|\u06CC\u0646\u062F|\u0648 \u0684|\u0622\u067E\u06BB| \u0622\u067E|\u0627 \u0648|\u06D2 \u062C| \u06A9\u0646|\u06D2 \u0646|\u0646\u062F\u06CC|\u062A \u062F|\u06D2 \u062D|\u06CC \u06A9|\u0626\u06CC |\u0645\u0644\u06A9|\u06CC\u062A\u06D2|\u0646 \u06D4|\u062A\u06BE\u06CC| \u062A\u06BE|\u0648\u0646 |\u06BA \u0645| \u0628\u0686|\u06D4 \u0627|\u0646\u0648\u06BA|\u06A9\u0646\u0648|\u06BB\u06D2 |\u0627\u0631\u06CC|\u0627 \u0627|\u06D2 \u06C1|\u0644 \u062A| \u0684\u0626|\u0648\u0642 |\u0642\u0648\u0642|\u062D\u0642\u0648|\u0644 \u06A9|\u062E\u0644\u0627| \u062C\u06CC|\u0644\u06A9 |\u062F\u0627\u0631|\u06CC\u062A |\u06A9\u0631\u06BB|\u0627\u0646\u06C1|\u06A9\u0648 |\u06C1\u06A9\u0648| \u06C1\u06A9|\u0646 \u0627|\u0645\u0644 | \u0648\u0633|\u06BA \u0648|\u067E\u06BB\u06D2| \u062A\u0639|\u06CC \u0645|\u0627\u0641 |\u06D2 \u062E|\u0646\u0648\u0646|\u0642\u0646\u0648| \u0642\u0646| \u0644\u0648|\u06D4 \u06A9|\u0631\u06CC |\u0644\u06D2 |\u062A\u0627 |\u06CC\u062A\u0627| \u0642\u0648| \u0686\u0627|\u06C1\u0627\u06BA|\u0684\u0626\u06D2|\u0642 \u062A|\u0627\u06CC\u06C1|\u0631\u06BB |\u06D2 \u062F|\u0631 \u06A9| \u0648 |\u0644\u0627\u0641| \u062E\u0644| \u062C\u0648|\u06CC \u0648|\u0627\u0648 |\u06C1\u0648 |\u0626\u0648 |\u0686\u0626\u0648|\u0628\u0686\u0626|\u06CC\u0631 |\u06C1\u0648\u0648|\u0627 \u0645|\u06CC \u062C|\u0627\u0644\u0627|\u06CC\u0646 | \u062C\u0627|\u0645\u06CC |\u0646\u06C1\u0627|\u0627\u0646 |\u0627\u062A |\u0633\u06B1\u062F| \u0633\u06B1|\u06CC\u0628 |\u0633\u06CC\u0628|\u0648\u0633\u06CC| \u0634\u0627|\u0628 \u062F|\u06CC\u0648\u06BB|\u0627\u0645 |\u0627\u0648\u06BB|\u06D2 \u062A|\u06BB \u06A9| \u0645\u0637|\u06BA \u062A| \u0648\u0646| \u06A9\u0645|\u0646 \u062F|\u0631\u06A9\u06BE| \u0631\u06A9|\u06BB\u06CC |\u06BA \u0622|\u0631\u06CC\u0627|\u06CC \u06C1|\u0627\u062F |\u06CC\u0627\u062F|\u0639\u0644\u0627|\u0631 \u06C1|\u06BA \u0633|\u06CC \u062D|\u062C\u06BE\u06CC|\u0627\u0626\u062F|\u06C1\u06CC |\u0644\u0648\u06A9| \u068B\u0648| \u0633\u0645| \u0633\u0627| \u0645\u0646| \u0645\u0639|\u0628\u0642 |\u0627\u0628\u0642|\u0637\u0627\u0628|\u0645\u0637\u0627|\u06BE\u06CC\u0648|\u06BA \u0641|\u06C1\u0646 | \u06C1\u0646|\u062C\u0648 |\u0648 \u06A9|\u06BA \u0634|\u0631 \u062A|\u06A9\u0627\u0631|\u0645 \u062F|\u06BE\u06CC\u0627| \u067B\u0627|\u063A\u06CC\u0631|\u0648 \u0644|\u0648\u0626\u06CC|\u062C\u06CC\u0627|\u0648\u0627\u0645|\u0642\u0648\u0627|\u06CC \u0633| \u062C\u06BE|\u0644 \u0627|\u0642\u0648\u0645| \u0633\u06CC|\u0630\u06C1\u0628|\u0645\u0630\u06C1| \u0645\u0630|\u0627\u06D2 | \u0627\u06D2|\u062F\u0646 |\u0627 \u062A|\u0633\u0627\u0646|\u0646\u0633\u0627|\u0627\u0646\u0633|\u0631\u06D2 |\u0644\u06CC\u0645|\u0639\u0644\u06CC|\u062A\u0639\u0644|\u0627\u0645\u0644|\u06C1 \u062F|\u06D2 \u0631|\u062F \u0627|\u06A9\u0645 |\u06CC\u06C1\u0648|\u0641\u0627\u0626|\u0686 \u0627| \u06A9\u06BE|\u0645 \u062A|\u0631\u0627 |\u0648\u0631\u0627|\u067E\u0648\u0631|\u06BA \u0628|\u0642 \u062F|\u06D2 \u0642|\u0648\u06A9\u0648|\u06A9\u06BE\u06CC|\u0627 \u06A9|\u0648 \u062F|\u06D2 \u0630|\u067E\u06BB\u06CC|\u0628\u0646\u062F| \u0641\u0631|\u06A9\u0648\u0626|\u0627\u0645\u06CC|\u06CC \u06CC|\u0627\u0626\u06CC|\u0644\u0627\u0642|\u0627\u06CC\u06BA|\u06C1 \u0627| \u0646\u0638|\u0633\u0645\u0627|\u0648\u0645\u06CC|\u06CC\u060C |\u06D2 \u0633|\u062A \u0648|\u06BE\u06CC\u0646|\u06D2 \u0639|\u06CC\u0645 |\u0633\u06C1\u0648| \u0633\u06C1",pbu:" \u062F | \u0627\u0648|\u0627\u0648 |\u067E\u0647 | \u067E\u0647|\u064A\u06D4 | \u062D\u0642|\u0686\u06D0 | \u0686\u06D0|\u0631\u0647 |\u064A \u0627|\u06D0 \u062F| \u0647\u0631|\u0646\u0647 |\u0647\u0631 |\u062D\u0642 | \u0685\u0648|\u0648\u06A9 |\u0685\u0648\u06A9|\u0648 \u0627|\u0647 \u062F|\u0647 \u0627|\u06D4 \u0647|\u0647 \u0648| \u0634\u064A| \u0644\u0631|\u064A \u0686|\u0648 \u062F|\u0631\u064A |\u0644\u0631\u064A|\u0642 \u0644| \u06A9\u069A|\u0648\u064A |\u069A\u06D0 |\u06A9\u069A\u06D0|\u0647 \u06A9|\u063A\u0647 |\u0644\u0648 |\u0631 \u0685|\u0633\u0631\u0647| \u0633\u0631|\u0647 \u067E| \u067C\u0648|\u0648 \u067E|\u0644\u0647 |\u064A\u062A |\u067C\u0648\u0644|\u064A\u0627 |\u06A9\u0693\u064A| \u06A9\u0648|\u062E\u0647 |\u064A\u060C |\u062F\u064A | \u0644\u0647| \u0627\u0632|\u062F \u0645| \u0647\u064A| \u0648\u0627| \u064A\u0627| \u0685\u062E|\u0627\u0632\u0627|\u062F \u0627|\u0648\u0644\u0648|\u0647 \u062A|\u0685\u062E\u0647| \u06A9\u0693|\u0648\u0644 |\u0647\u063A\u0647|\u0647 \u0634|\u064A \u062F| \u0647\u063A|\u06A9\u0648\u0644|\u0632\u0627\u062F|\u0646\u0648 | \u0648\u064A|\u0648 \u064A|\u0647 \u0628|\u0634\u064A\u06D4|\u062F\u06D0 |\u064A\u0648 | \u062F\u064A|\u062A\u0647 |\u062E\u067E\u0644| \u067E\u0631|\u0627\u062F |\u062F \u062F|\u06A9 \u062D| \u062A\u0648|\u0647 \u0645|\u06AB\u0647 |\u0647 \u0647|\u0642\u0648\u0642|\u062D\u0642\u0648|\u0648 \u0645|\u0647 \u062D|\u062F \u0647| \u062A\u0631| \u0645\u0633|\u0634\u064A | \u0646\u0647|\u0693\u064A\u06D4|\u0646\u064A |\u062F \u067E|\u0648\u0627\u062F|\u06D0 \u067E|\u0627\u062F\u064A|\u0648\u0644\u0646| \u064A\u0648|\u062F \u062A|\u0648\u0646\u0648|\u0648\u06AB\u0647|\u064A \u0648|\u0644\u064A | \u062F\u0627|\u064A\u062F | \u0628\u0627|\u062A\u0648\u0646| \u062E\u067E|\u064A \u067E|\u062A\u0648\u06AB|\u0627\u0631 |\u0627\u0646\u062F|\u064A\u0648\u0627|\u06D0 \u0648|\u062F\u0627\u0646| \u0628\u0631|\u0693\u064A | \u0639\u0645|\u0627\u0646\u0647| \u062F\u0647|\u064A\u0685 |\u0647\u064A\u0685|\u0627\u0645\u064A|\u0644\u0646\u064A|\u0628\u0639\u064A|\u0689\u0648\u0644| \u0689\u0648|\u0647 \u0644|\u0627\u064A\u062F|\u0628\u0627\u064A|\u0627\u062A\u0648|\u0647 \u06AB| \u062A\u0627|\u067E\u0644 | \u0645\u0644|\u0627\u064A\u062A|\u0648\u0645 |\u0648\u0646 | \u0644\u0627|\u0647\u064A\u0648| \u0634\u0648| \u062F\u063A|\u0645 \u062F|\u062F\u0647 |\u06D0 \u0627|\u0627\u0646 | \u062A\u0647|\u06A9\u0627\u0631|\u062A\u0648 |\u0645\u064A |\u0627\u0631\u0647|\u0627\u0648\u064A|\u0633\u0627\u0648|\u0645\u0633\u0627|\u0646\u0648\u0646|\u062F\u0647\u063A|\u0648 \u062A|\u064A \u0634|\u0627\u0646\u0648| \u0645\u062D|\u064A\u0646 |\u0627\u062E\u0644| \u06AB\u067C|\u0634\u0648\u064A|\u062F\u063A\u0647|\u0648 \u062D|\u0648\u064A\u060C|\u0646\u064A\u0632|\u0633\u064A |\u0627\u0633\u064A|\u0648\u0646\u062F|\u0642\u0648 |\u0648\u0642\u0648|\u0648 \u06A9|\u0648\u0646\u0647|\u0648\u0645\u064A| \u0648\u06A9|\u064A \u062A| \u0627\u0646|\u0642\u0627\u0646|\u0646\u062F\u06D0|\u0648 \u0631|\u06A9 \u062F|\u0647 \u064A|\u0645\u064A\u0646|\u067E\u0631 |\u067C\u0647 |\u0644\u0627\u0645|\u063A\u0648 |\u0647\u063A\u0648|\u062F \u067C|\u0648 \u0647|\u0644 \u062A|\u0644\u06D2 |\u0648\u0644\u06D2|\u0648\u0648\u0646|\u06A9\u064A |\u0631\u0648 |\u0646 \u06A9|\u0645\u0648\u0645|\u0648\u06A9\u0693|\u067E\u0627\u0631|\u0646 \u0634|\u0645\u0646 | \u0646\u0648| \u0648\u0693| \u0642\u0627|\u06D0 \u0686| \u0648\u0633|\u0685 \u0685|\u0634\u062E\u0635| \u0634\u062E|\u0698\u0648\u0646| \u0698\u0648|\u062A\u0631 |\u06AB\u067C\u0647|\u0648 \u0685|\u0647\u0645 |\u0639\u0642\u064A|\u0631\u062A\u0647| \u0648\u0631|\u0628\u0644 | \u0628\u0644|\u0648 \u0628|\u0647 \u0633|\u069A\u0648\u0648| \u069A\u0648| \u06A9\u0627|\u06D0 \u06A9|\u0648 \u0633|\u0627\u062F\u0647|\u0648\u0646\u06A9| \u063A\u0648|\u062F\u0648 |\u0648 \u0646|\u062A \u06A9|\u0645\u0644 |\u0639\u0645\u0648|\u0644 \u0647| \u067E\u064A|\u0648\u0633\u064A|\u0693\u0627\u0646|\u0648\u0693\u0627|\u064A\u0632 |\u062E\u0635\u064A|\u064A \u0645|\u0627 \u0628|\u0627\u062F\u0627|\u0647 \u0646|\u062E\u0644\u064A|\u0648\u0627\u062E|\u062F\u064A\u0648|\u060C \u062F|\u062F \u0642| \u0647\u0645|\u0627 \u062F| \u0628\u064A|\u062A\u0628\u0639| \u062A\u0628|\u0647 \u0686| \u0639\u0642|\u067E\u0644\u0648|\u0648 \u0644| \u0631\u0627|\u062F \u0628|\u0631\u0627\u064A| \u062F\u062E|\u0646\u06D0 |\u0646\u06A9\u064A|\u062A \u062F|\u0627\u0628\u0639| \u0645\u0642|\u062F \u062E|\u0648\u0631\u0647|\u0634\u0631\u0627| \u0634\u0631|\u0631 \u0645|\u0631\u0633\u0631|\u062A\u0627\u0645|\u0647 \u067C| \u0645\u0646|\u0637\u0647 |\u0633\u0637\u0647|\u0627\u0633\u0637|\u0648\u0627\u0633|\u0644\u06D0 | \u0627\u0633|\u06D4 \u062F|\u0628\u0631\u062E|\u06D0 \u0646"},Devanagari:{hin:"\u0915\u0947 |\u092A\u094D\u0930| \u092A\u094D| \u0915\u093E| \u0915\u0947| \u0964 |\u0914\u0930 | \u0914\u0930|\u0915\u093E | \u0915\u094B|\u0915\u093E\u0930|\u093E\u0930 |\u0924\u093F |\u092F\u093E |\u0915\u094B |\u0928\u0947 |\u094B\u0902 |\u093F\u0915\u093E|\u094D\u0930\u0924| \u0939\u0948| \u0915\u093F|\u0902 \u0915|\u0939\u0948 |\u0927\u093F\u0915|\u0935\u094D\u092F|\u0905\u0927\u093F| \u0905\u0927|\u094D\u0924\u093F| \u0938\u092E|\u094D\u092F\u0915|\u093F \u0915|\u0915\u094D\u0924|\u093E \u0905|\u0915\u0940 |\u093E \u0915| \u0935\u094D|\u0947\u0902 | \u0939\u094B|\u092F\u0915\u094D|\u0938\u0940 |\u0938\u0947 |\u0947 \u0915| \u092F\u093E| \u0915\u0940|\u092E\u0947\u0902|\u0928\u094D\u0924| \u092E\u0947|\u0924\u094D\u092F|\u0948 \u0964|\u0924\u093E |\u0930\u0924\u094D|\u0915\u094D\u0937|\u0947\u0915 |\u092F\u0947\u0915|\u094D\u092F\u0947|\u093F\u0915 |\u0930 \u0939|\u092D\u0940 |\u0915\u093F\u0938| \u091C\u093E| \u0938\u094D|\u0915 \u0935|\u093E \u091C|\u093F\u0938\u0940|\u092E\u093E\u0928| \u0935\u093F|\u0930 \u0938|\u0924\u094D\u0930|\u0940 \u0938|\u0964 \u092A| \u0915\u0930|\u094D\u0930\u093E|\u0917\u093E |\u093F\u0924 | \u0905\u092A| \u092A\u0930|\u0938\u094D\u0935|\u0940 \u0915| \u0938\u0947|\u093E \u0938|\u094D\u092F | \u0905\u0928|\u094D\u0924\u094D|\u093F\u092F\u093E|\u093E \u0939| \u0938\u093E|\u0928\u093E |\u094D\u0924 |\u092A\u094D\u0924|\u0938\u092E\u093E|\u093E\u0928 |\u0930 \u0915|\u093E\u092A\u094D|\u0924\u0928\u094D| \u092D\u0940| \u0909\u0938|\u0930\u093E\u092A|\u0935\u0924\u0928|\u094D\u0935\u0924|\u0930\u094B\u0902|\u0935\u093E\u0930|\u0947 \u0938|\u0925\u093E |\u0939\u094B |\u0947 \u0905|\u093E \u0964|\u0928 \u0915| \u0928 |\u0926\u0947\u0936| \u0930\u093E|\u0937\u093E |\u0905\u0928\u094D|\u0924 \u0939|\u094D\u0937\u093E|\u094D\u0935\u093E|\u091C\u093E\u090F|\u0940 \u092A|\u0915\u0930\u0928|\u093E \u092A|\u0905\u092A\u0928|\u0937\u094D\u091F| \u0938\u0902|\u0947 \u0935|\u0939\u094B\u0917|\u093F\u0935\u093E|\u091F\u094D\u0930|\u094D\u091F\u094D|\u093E\u0937\u094D|\u0930\u093E\u0937|\u0938\u0915\u0947| \u092E\u093E|\u0913\u0902 |\u093E\u0913\u0902|\u0930\u0940 |\u0915 \u0938|\u0947 \u092A| \u0928\u093F|\u0940\u092F |\u0930\u0915\u094D|\u094B \u0938|\u093E\u090F\u0917|\u0930\u0928\u0947| \u0907\u0938|\u0935 \u0915|\u092A\u0930 |\u0930\u0924\u093E|\u0930 \u0905| \u0938\u092D|\u0924\u0925\u093E| \u0924\u0925| \u0910\u0938|\u0930\u093E |\u092A\u0928\u0947|\u094D\u0930\u0940|\u093F\u0915\u094D|\u0915\u093F\u092F|\u093E \u0935|\u092E\u093E\u091C|\u0902 \u0914|\u0930 \u0909|\u0926\u094D\u0927|\u0938\u092D\u0940|\u0936\u094D\u092F| \u091C\u093F|\u093E\u0928\u0947|\u093E\u0930\u094D|\u093E\u0930\u093E|\u0926\u094D\u0935| \u0926\u094D|\u090F\u0917\u093E|\u0938\u092E\u094D|\u0947\u0936 |\u093F\u090F |\u093E\u0935 |\u0930 \u092A| \u0926\u0947|\u094D\u0924\u0930|\u093E \u0914|\u093E\u0930\u094B|\u092F\u094B\u0902|\u092A\u0930\u093E|\u092A\u0942\u0930|\u091A\u093F\u0924|\u094D\u0927 |\u0930\u0942\u092A| \u0930\u0942| \u0938\u0941| \u0932\u093F|\u0924 \u0915|\u094B \u092A|\u0902 \u0938|\u0947 \u0932|\u0936\u093F\u0915| \u0936\u093F|\u0935\u093E\u0939|\u0947 \u0914|\u091C\u094B |\u0930\u093E\u0927|\u091C\u093F\u0938|\u0942\u0930\u094D|\u0940 \u092D|\u0942\u092A |\u094B\u0917\u093E|\u0938\u094D\u0925|\u0930\u0940\u092F|\u0924\u093F\u0915|\u094D\u0930 |\u0964 \u0907|\u0907\u0938 | \u0909\u0928|\u0932\u0947 |\u0947 \u092E|\u0932\u093F\u090F|\u092E \u0915|\u0915\u0924\u093E|\u0947 \u092F| \u091C\u094B|\u0928 \u092E|\u0905\u092A\u0930| \u092A\u0942|\u094B \u0915|\u093E \u0909|\u093E\u0939 |\u0928\u0942\u0928|\u093E\u0928\u0942|\u0917\u0940 |\u0926\u0940 |\u093E\u0930\u0940|\u0902 \u092E|\u0964 \u0915|\u0924\u0930\u094D|\u0940 \u0930|\u0936 \u0915|\u092A\u0930\u093F|\u0938\u094D\u0924|\u094B\u0908 |\u0915\u094B\u0908|\u0930\u094D\u092F|\u0940 \u0905|\u0939\u093F\u0924|\u092D\u093E\u0935| \u092D\u093E|\u0924\u093E\u0913|\u093E\u0938 |\u0938\u093E\u092E|\u0935\u093F\u0915|\u0935\u093F\u0935|\u092E\u094D\u092E| \u0938\u0915|\u0915\u0930 |\u093E\u0928\u093E|\u0927 \u0915|\u0928\u093F\u0915|\u092F \u0915|\u0909\u0938\u0915|\u0915\u0943\u0924| \u0958\u093E|\u0928 \u0938|\u091C\u0940\u0935|\u094D\u092F\u093E|\u0930\u0915\u093E|\u094D\u0930\u0915|\u093E\u091C |\u0928\u094D\u092F|\u094D\u092E |\u0930\u094D\u0923|\u0958 \u0939|\u0939\u0958 | \u0939\u0958|\u0940 \u092E|\u091C\u093F\u0915|\u093E\u091C\u093F|\u093E\u092E\u093E|\u0915 \u0914|\u092E\u093F\u0932|\u0947\u0928\u0947|\u0932\u0947\u0928| \u0932\u0947|\u092F\u0947 |\u094B \u0905|\u0947 \u091C|\u0930\u093F\u0935|\u092E\u092F |\u0938\u092E\u092F|\u0935\u0936\u094D|\u0906\u0935\u0936| \u0906\u0935|\u0910\u0938\u0940|\u093E\u0927 |\u0930 \u0926|\u0930\u094D\u0935|\u0938\u093E\u0930|\u092A \u0938|\u092C\u0928\u094D| \u0938\u0939|\u093F\u0927\u093E|\u0935\u093F\u0927|\u0940 \u0928|\u0942\u0928 |\u0958\u093E\u0928",mar:"\u094D\u092F\u093E|\u092F\u093E |\u0924\u094D\u092F|\u092F\u093E\u091A|\u091A\u093E |\u0923\u094D\u092F|\u093E\u091A\u093E| \u0935 |\u0915\u093E\u0930|\u092A\u094D\u0930| \u092A\u094D|\u093F\u0915\u093E|\u0927\u093F\u0915|\u093E\u0930 | \u0905\u0927|\u0905\u0927\u093F|\u091A\u094D\u092F|\u0906\u0939\u0947| \u0906\u0939|\u093E \u0905|\u0939\u0947 |\u093E \u0915|\u093E\u0938 |\u0935\u093E |\u094D\u092F\u0947|\u094D\u0930\u0924| \u0938\u094D|\u0924\u093E |\u093E \u0938| \u0905\u0938| \u0915\u0930|\u0938\u094D\u0935| \u0915\u093E|\u0932\u094D\u092F|\u0930\u0924\u094D|\u093E\u0939\u093F|\u0915\u094B\u0923| \u0915\u094B|\u093F\u0915 |\u092F\u0947\u0915|\u094D\u0935\u093E|\u093E \u0935| \u0924\u094D|\u0930 \u0906|\u094D\u092F |\u0924\u094D\u0930|\u0947\u0915\u093E|\u0915\u094D\u0937|\u093E \u0928| \u0938\u0902|\u093E\u092E\u093E|\u093E\u091A\u094D|\u0902\u0935\u093E|\u093F\u0902\u0935|\u0915\u093F\u0902| \u0915\u093F|\u093E\u0924 |\u0937\u094D\u091F|\u0915\u093E\u0938| \u092F\u093E|\u092F\u093E\u0902|\u093E\u0902\u091A|\u0930\u094D\u092F|\u092E\u093F\u0933| \u092E\u093F| \u0938\u093E|\u0935\u094D\u092F|\u094B\u0923\u0924|\u0928\u0947 |\u0947 \u092A|\u0915\u093E\u092E| \u0938\u092E|\u0902\u0924\u094D|\u092F\u0947 | \u0930\u093E|\u0938\u092E\u093E|\u0924\u0902\u0924|\u0915\u0930\u0923|\u093E \u0906|\u0947 \u0915|\u0939\u093F |\u0947 \u0938|\u0928\u093E |\u093F\u0933\u0923|\u0942\u0928 |\u093E \u092A|\u091F\u094D\u0930|\u094D\u091F\u094D|\u093E\u0937\u094D|\u0930\u093E\u0937|\u0940\u092F |\u0935 \u0938|\u0915\u094D\u0924|\u092E\u093E\u0928|\u0930\u094D\u0935| \u0906\u092A|\u0933\u0923\u094D|\u094D\u0930\u094D|\u093E\u0924\u0902|\u0935\u093E\u0924|\u091A\u0947 | \u0935\u093F|\u094D\u0937\u0923|\u0930\u0923\u094D| \u0926\u0947| \u0935\u094D|\u0906\u092A\u0932|\u0939\u0940 |\u093E\u0930\u094D|\u0928\u092F\u0947| \u0928\u092F|\u092E\u093E |\u092F\u093E\u0938| \u091C\u093E|\u0932\u0947\u0932| \u0928\u093F|\u0947 \u0905| \u092A\u093E|\u093E \u092E|\u0932\u0947 |\u093E\u0939\u0940|\u092C\u0902\u0927|\u0947 \u0935|\u094D\u092F\u0915| \u092E\u093E|\u0936\u093F\u0915| \u0936\u093F|\u0926\u0947\u0936|\u093E \u0926|\u092E\u093E\u091C|\u094D\u0930\u0940|\u0932\u0940 |\u093E\u0928 |\u093E\u0902\u0928|\u092A\u0932\u094D| \u0939\u094B|\u093E \u0939|\u0937\u0923 |\u091C\u0947 |\u093F\u091C\u0947|\u0939\u093F\u091C|\u092A\u093E\u0939|\u093E\u0930\u093E|\u092F\u093E\u0924|\u0938\u0930\u094D| \u0938\u0930|\u0930\u093E\u0902|\u0905\u0938\u0932|\u0902\u092C\u0902|\u0938\u0902\u092C|\u093F\u0915\u094D|\u0940 \u092A|\u0902\u091A\u094D|\u0930\u0915\u094D|\u0923\u0924\u094D| \u0906\u0923|\u0932\u093E |\u0938\u094D\u0925|\u0930\u0940\u092F|\u0940\u0924 |\u0902\u0928\u093E|\u0924 \u0935|\u094D\u0935 |\u0915 \u0935|\u0923\u0947 |\u093E\u091A\u0947|\u0928 \u0915|\u0924 \u0915|\u0930\u0924\u093E|\u094D\u0930\u093E|\u092F\u093E\u0939|\u094D\u0924 |\u091A\u0940 |\u092F \u0915|\u0926\u094D\u0927|\u094D\u0935\u0924|\u092F\u0915\u094D|\u0923\u093F |\u0906\u0923\u093F|\u0938 \u0938|\u0902\u0927\u093E|\u0915 \u0938|\u091A\u094D\u091B|\u092F \u0905|\u0924 \u0938|\u0940\u0928\u0947|\u094B\u0923\u093E|\u0915\u0930\u0924|\u0924\u094D\u0935|\u0940\u0932 |\u0940 \u0905|\u0938\u093E\u0930|\u0930 \u0935|\u092D\u093E\u0935|\u0935 \u0924|\u0925\u0935\u093E|\u0905\u0925\u0935| \u0905\u0925|\u0947 \u0924|\u0947 \u091C|\u092F\u093E\u092F|\u0902\u091A\u093E|\u0947\u0932\u094D|\u093E\u0928\u0947|\u0947\u0923\u094D|\u0915 \u0906|\u0915\u094D\u0915|\u0939\u0915\u094D| \u0939\u0915|\u0923 \u092E|\u0902\u0930\u0915|\u0938\u0902\u0930|\u0928\u094D\u092F|\u093E\u092F\u0926|\u093E \u0924|\u0924 \u0906| \u0909\u092A|\u0935\u0938\u094D|\u093F\u0935\u093E|\u0947\u0936\u093E|\u0938\u093E\u092E|\u0947 \u092F|\u0947 \u0906|\u0940 \u0935|\u0935 \u092E|\u0924\u0940\u0928|\u0935 \u0906|\u0927\u094D\u092F| \u0905\u0936|\u0927\u093E\u0924|\u0915\u0943\u0924|\u094D\u0915 |\u0926\u094D\u092F|\u093F\u0924 |\u0938\u0932\u0947|\u0947\u0936 |\u0924\u094B |\u0947\u0932 |\u0924\u0940 |\u094D\u0924\u0940|\u0905\u0938\u0947|\u0907\u0924\u0930| \u0907\u0924|\u0938\u094D\u0924|\u0930\u094D\u0923|\u093E \u092C|\u0947\u0932\u0947| \u0915\u0947|\u0939\u0940\u0930|\u091C\u093E\u0939|\u093E \u091C|\u0947\u0924 |\u0942\u0930\u094D|\u092A\u0942\u0930|\u0947\u091A | \u0935\u093E|\u093E\u091C\u093E|\u0940 \u0938|\u0936\u093E |\u092F \u0935| \u0928\u094D|\u092F\u093E\u0935|\u0926\u094D\u0926|\u094D\u0927 |\u0930\u0942\u0928|\u092F\u0926\u094D|\u0915\u093E\u092F|\u093E \u0936|\u0917\u0923\u094D|\u0915 \u0915|\u0930\u093E\u0927| \u0936\u093E|\u092F\u0924\u094D|\u0932 \u0905|\u094D\u092F\u0935|\u0940 \u0915|\u093E\u0935 |\u093E \u092F|\u0924\u094D\u0924|\u091C\u093F\u0915|\u093E\u091C\u093F|\u0930\u0923\u093E| \u0927\u0930|\u093E \u0927|\u092D\u0947\u0926| \u092C\u093E|\u0930\u0915\u093E|\u094D\u0930\u0915|\u0915\u0947\u0932|\u093F \u0935|\u093F\u0937\u094D|\u0924\u0940\u0932|\u092F\u094B\u0917|\u0938\u093E\u0927|\u093E\u0902\u0924|\u0935\u093F\u0935|\u0936\u094D\u0930| \u0927\u0947| \u092E\u0941|\u0935\u0924\u0903",mai:"\u093E\u0915 |\u092A\u094D\u0930|\u0915\u093E\u0930| \u092A\u094D|\u093E\u0930 |\u093F\u0915\u093E|\u094D\u092F\u0915|\u0927\u093F\u0915|\u0915 \u0905|\u094D\u0930\u0924|\u094D\u0924\u093F|\u0935\u094D\u092F| \u0905\u0927|\u0947\u0901 |\u0905\u0927\u093F|\u093F\u0915 | \u0935\u094D|\u0906\u02BC | \u0906\u02BC|\u0915\u094D\u0924|\u092F\u0915\u094D|\u0924\u093F\u0915|\u0915\u0947\u0901|\u0915 \u0935|\u092C\u093E\u0915|\u0915 \u0938|\u091B\u0948\u0915| \u091B\u0948|\u0924\u094D\u092F|\u092E\u0947 |\u0947\u0915 | \u0938\u092E|\u0915\u094D\u0937|\u0939\u093F |\u0930\u0924\u094D|\u0930 \u091B|\u092F\u0947\u0915|\u094D\u092F\u0947|\u0928\u094D\u0924|\u0935\u093E |\u093F\u0915\u0947|\u0915\u0964 |\u0948\u0915\u0964|\u0964 \u092A| \u0905\u092A| \u0938\u094D| \u0935\u093F| \u091C\u093E|\u093F\u0924 |\u0938\u0901 | \u0939\u094B|\u0915\u094B\u0928| \u0915\u094B|\u0924\u094D\u0930|\u0938\u094D\u0935| \u0935\u093E|\u0915 \u0906|\u0937\u094D\u091F| \u0915\u0930|\u0905\u092A\u0928|\u092E\u093E\u0928| \u0915\u093E| \u0905\u0928|\u0924\u093F |\u094D\u0924\u094D|\u0928\u094B |\u0928\u0939\u093F| \u092A\u0930|\u091F\u094D\u0930|\u094D\u092F | \u090F\u0939|\u093F \u0915|\u094D\u091F\u094D|\u093E\u0937\u094D|\u0930\u093E\u0937| \u0930\u093E|\u0938\u092E\u093E|\u094B\u0928\u094B|\u0932 \u091C| \u0928\u0939|\u0924\u093E\u0915|\u093E\u0930\u094D|\u092A\u0928 |\u0924\u0928\u094D|\u0935\u0924\u0928|\u094D\u0935\u0924|\u094D\u0937\u093E| \u0915\u090F| \u0938\u093E|\u094D\u0930\u0940| \u0928\u093F|\u093E \u0906|\u093F\u0935\u093E| \u0938\u0902| \u0926\u0947|\u091C\u093E\u090F|\u0940\u092F |\u0915\u0930\u092C|\u0925\u093E |\u090F\u092C\u093E|\u093E \u092A|\u0928\u093E |\u094D\u0935\u093E|\u0926\u0947\u0936|\u0924\u0964 |\u0930\u0915 |\u0915 \u0939|\u0901 \u0905| \u0938\u092D| \u0906 |\u0924 \u0915|\u091A\u093F\u0924|\u094D\u0924 |\u0935\u093E\u0930|\u0924\u093E |\u093E\u0930\u0915|\u092E\u093E\u091C|\u093E \u0938|\u0930\u0940\u092F|\u0928\u094D\u092F|\u0930\u0924\u093E|\u093E\u0928 |\u094D\u0930\u093E|\u094D\u092F\u093E|\u0930\u0915\u094D|\u093E\u0930\u0923|\u092A\u0930\u093F|\u090F\u0932 |\u0915\u090F\u0932|\u0905\u0928\u094D|\u0930\u092C\u093E|\u0915 \u092A|\u0913\u0930 |\u0906\u0913\u0930| \u0906\u0913|\u0905\u091B\u093F| \u0905\u091B|\u093F\u0930\u094D|\u093E\u0928\u094D|\u0928\u0915 |\u0939\u094B\u090F|\u0915\u0930 |\u0927\u093E\u0930|\u0938\u094D\u0925|\u093E \u0905|\u093F\u092E\u0947|\u0930 \u0906|\u090F\u0939\u093F| \u090F\u0915|\u0947 \u0938|\u0924\u0925\u093E| \u0924\u0925| \u092E\u093E|\u093F\u0915\u094D|\u0936\u093F\u0915| \u0936\u093F|\u092A\u094D\u0924|\u0930\u094D\u0935|\u0928\u093F\u0930|\u091A\u094D\u091B|\u0930\u094D\u092F|\u0901 \u0938|\u0915 \u0915|\u0939\u094B |\u093E\u0939\u093F|\u090F\u0924\u0964|\u0930 \u092A|\u093E\u092E\u093E|\u0938\u093E\u092E|\u0937\u093E |\u02BC \u0938|\u0901 \u090F|\u0948\u0915 |\u0926\u094D\u0927|\u0930 \u0905|\u0915 \u091C|\u0938\u094D\u0924|\u093E\u092A\u094D|\u0901 \u0915| \u0938\u0915|\u092F\u0915 |\u0915\u093E\u0928|\u0939\u0928 |\u090F\u0939\u0928|\u0947\u0932 |\u094B\u090F\u0924|\u0924 \u0906|\u093E \u0935|\u0964 \u0915|\u094D\u0924\u0930|\u093E\u090F\u0924|\u094D\u0930\u0915|\u0939\u0941 |\u0915 \u0909|\u092A\u0942\u0930|\u0935\u093F\u0935|\u02BC \u0905|\u091B\u093F | \u0932\u0947|\u0928 \u092A|\u093E\u0938 |\u0930\u093E\u092A|\u0927\u0915 |\u092A\u090F\u092C| \u092A\u090F|\u0930\u093E |\u092F\u0924\u093E|\u0930\u0942\u092A|\u0928 \u0935| \u0915\u0947|\u0937\u093E\u0915|\u092F \u092A|\u0924 \u0939|\u091C\u093E\u0939| \u0913 |\u092D\u093E\u0935|\u092A\u0930 |\u0925\u0935\u093E|\u0905\u0925\u0935| \u0905\u0925|\u0938\u092E\u094D|\u091C\u093F\u0915|\u093E\u091C\u093F|\u0942\u0930\u094D|\u0930\u0924\u093F| \u0926\u094B|\u0938\u092D\u0915|\u0964 \u0938| \u091C\u0928|\u0938\u092D |\u092C\u093E\u0927|\u0905\u0928\u0941|\u093F\u0938\u0901| \u0938\u0939|\u0901 \u0935|\u090F \u0938|\u0930\u093F\u0935|\u0924\u0941 |\u0947\u0924\u0941|\u0939\u0947\u0924| \u0939\u0947|\u093E\u0927 |\u0947\u092C\u093E|\u0928 \u0938|\u093F\u0937\u094D|\u0930\u093E\u0927| \u0905\u0935|\u093F\u0924\u094D|\u0935\u093E\u0938|\u091A\u093E\u0930| \u0909\u091A|\u093E\u0930\u093E|\u0928 \u0915|\u0935\u0915 |\u093E \u0915|\u0928\u0942\u0928|\u093E\u0928\u0942|\u090F\u0924 |\u0930\u0940 |\u0947\u0913 |\u0915\u0947\u0913|\u0930\u0923 |\u094D\u0930\u0938|\u093F \u0926|\u0913 \u0935| \u092D\u0947|\u0928\u0939\u0941|\u094B\u0928\u0939|\u094D\u0925\u093F|\u092A\u0924\u094D|\u092E\u094D\u092A|\u0930\u093E\u091C| \u092D\u093E|\u0939\u093F\u092E| \u0939\u0915|\u093E\u092E\u0947|\u094D\u0923 |\u0930\u094D\u0923|\u0939\u093E\u0930|\u093F \u0938|\u0915 \u0926|\u0928 \u0905|\u0924 \u0905|\u0932\u0947\u092C| \u0905\u092D|\u093F\u0936\u094D|\u091C\u0915 |\u093E\u091C\u0915|\u0928 \u0906|\u0935\u093E\u0939|\u0915\u093E\u091C|\u0936\u094D\u092F|\u0935\u0938\u094D|\u0913\u0939\u093F| \u0913\u0939|\u092F\u094B\u0917|\u0964 \u090F|\u0915\u090F |\u0947 \u0913|\u0905\u092A\u0930",bho:" \u0915\u0947|\u0915\u0947 |\u0947 \u0915|\u093E\u0930 |\u0915\u093E\u0930|\u093F\u0915\u093E|\u0927\u093F\u0915|\u0905\u0927\u093F| \u0905\u0927|\u0913\u0930 |\u0906\u0913\u0930| \u0906\u0913|\u0947 \u0905|\u0947 \u0938|\u093E \u0915| \u0938\u0902|\u093F\u0915 |\u0930 \u0939|\u093E \u0938| \u0939\u094B|\u0930 \u0938|\u0947\u0902 |\u092E\u0947\u0902| \u092E\u0947| \u0915\u0930| \u0938\u0947|\u0928\u094B |\u0915\u094D\u0937|\u0938\u0947 | \u0915\u093E|\u0964 \u0938|\u0916\u0947 |\u093E\u0964 |\u0930\u093E | \u0938\u092E| \u0938\u092C|\u094D\u0930\u093E| \u0938\u0915|\u0930 \u0915|\u0928 \u0915|\u0935\u0947 |\u094C\u0928\u094B|\u0915\u094C\u0928| \u0915\u094C|\u091A\u093E\u0939| \u091A\u093E| \u092C\u093E|\u092A\u094D\u0930| \u092A\u094D|\u0925\u093E |\u093F \u0915|\u0924\u093F | \u091C\u093E| \u0938\u093E|\u0947 \u0906|\u092A\u0928 |\u0915\u0930\u0947|\u0924\u093E |\u0939\u094B\u0916|\u0924 \u0915|\u0947\u0964 |\u0947 \u092C|\u0924\u0925\u093E| \u0924\u0925| \u0906\u092A|\u0915\u0947\u0932|\u0938\u0915\u0947| \u0938\u094D|\u0930\u0947 |\u0938\u092C\u0939|\u0915\u0930 |\u0906\u092A\u0928|\u0947 \u0913|\u091C\u093E | \u092A\u0930|\u0937\u094D\u091F| \u0930\u093E|\u0928\u093E |\u0939\u0935\u0947| \u0939\u0935|\u0932\u093E |\u0947\u0932\u093E|\u092C\u0939\u093F| \u0913\u0915|\u094B\u0916\u0947|\u0930 \u092C|\u0939\u0964 | \u0939\u0964|\u0928 \u0938|\u093E\u0937\u094D|\u0930\u093E\u0937|\u094D\u0924 | \u0914\u0930|\u0947 \u091A|\u0964 \u0915|\u0938\u0902\u0917|\u0930 \u0906|\u091F\u094D\u0930|\u094D\u091F\u094D|\u0937\u093E |\u092E\u093E\u0928|\u093E \u0906|\u0902 \u0915|\u093E \u092A|\u094D\u0937\u093E|\u0930\u0915\u094D|\u0939\u0947 |\u093E\u0939\u0947|\u093E\u0924\u093F|\u093E\u0935\u0947| \u091C\u0947|\u0939\u0940 |\u0913\u0915\u0930|\u092E\u093F\u0932|\u093F\u0924 |\u094B \u0938|\u0932 \u091C|\u0907\u0916\u0947|\u0928\u0907\u0916| \u0928\u0907|\u0924\u094D\u0930|\u092E\u093E\u091C| \u092C\u093F|\u0935\u0947\u0964|\u0947 \u091C|\u0915 \u0938|\u093F\u0902 |\u0939\u093F\u0902|\u0915\u0930\u093E|\u0914\u0930 |\u0947 \u092E|\u0938\u092E\u093E|\u0939\u0941 | \u0913 |\u092A\u0930 |\u0947 \u0928|\u0938\u094D\u0925|\u0930\u0940\u092F|\u094D\u0930\u0940|\u0932\u093E\u0964|\u093E\u091C |\u093E\u0928 |\u0915\u093E\u0928|\u0947 \u0924|\u093F\u0930 |\u0924\u093F\u0930|\u0916\u093E\u0924| \u0916\u093E|\u0947 \u0909|\u0928\u0942\u0928|\u093E\u0928\u0942|\u093E\u092E | \u0938\u0941| \u0926\u0947|\u0940 \u0915| \u092E\u093E|\u0930 \u092E|\u092A\u094D\u0924|\u093F\u092F\u093E|\u093E\u0939\u0940|\u092C\u093E\u0964|\u092F\u094B\u0917|\u0940 \u0938|\u0932 \u0939|\u0942\u0928 |\u0935\u094D\u092F|\u0941 \u0915|\u090F \u0915|\u0947 \u0935|\u0902\u0924\u094D|\u0938\u094D\u0935|\u0915\u0947\u0939|\u0940\u092F |\u0916\u0932 |\u0938\u093E\u092E|\u092F\u0924\u093E|\u0924\u093F\u0915|\u0947 \u0939|\u093E\u092A\u094D|\u0930\u093E\u092A|\u0930 \u092A|\u0930 \u0905| \u0932\u094B| \u0938\u0939|\u091C\u0947 |\u094B\u0917 |\u092E \u0915|\u0932\u0947 | \u0928\u093F|\u0947\u0915\u0930|\u093E \u0939|\u092A\u0942\u0930|\u0930 \u0928|\u0947\u0939\u0941|\u094D\u092F |\u092F\u093E | \u092F\u093E|\u0926\u0947\u0936|\u0926\u0940 |\u093E \u092E|\u093E\u0935 | \u0926\u094B|\u0947 \u0926| \u092A\u093E|\u0939\u093F |\u093F\u0915\u094D|\u0936\u093F\u0915| \u0936\u093F|\u092C\u093E |\u093F\u0932 | \u0909\u092A|\u094D\u0930\u0924| \u0935\u093F| \u0939\u0940| \u0932\u0947|\u0930\u094B |\u0947 \u0916|\u0920\u0928 |\u0917\u0920\u0928|\u0902\u0917\u0920| \u092E\u093F|\u0937\u0923 |\u094D\u0937\u0923|\u0902\u0930\u0915|\u0938\u0902\u0930| \u0906\u0926| \u090F\u0915|\u0928\u0947 | \u0905\u092A|\u0924\u0902\u0924|\u0935\u0924\u0902|\u094D\u0935\u0924|\u094D\u0924\u0930|\u094D\u092F\u093E|\u0947\u0936 |\u093E\u0926\u0940|\u094D\u0924\u093F|\u091C\u093F\u0915|\u093E\u091C\u093F|\u0915 \u0906|\u094D\u092E |\u091A\u093E\u0930| \u0909\u091A| \u0936\u093E|\u0930\u0940 |\u093E\u0939 |\u092F\u093E\u0939|\u092C\u093F\u092F|\u091A\u093F\u0924|\u0915\u094D\u0924|\u092A\u092F\u094B|\u0909\u092A\u092F|\u0930\u0924\u093E|\u0930 \u0935|\u0928 \u092E|\u0932\u094B\u0917|\u0939 \u0915|\u0928 \u092A|\u0915\u093E\u092E| \u092A\u0942| \u0907 |\u0906\u0926\u093F|\u0908\u0932 | \u0915\u0908| \u0935\u094D|\u092E\u0940 |\u0941\u0930\u0915|\u0938\u0941\u0930| \u091C\u0940|\u0927\u093E\u0930|\u092F \u0938|\u0924\u0930\u094D|\u092D\u0947 |\u0938\u092D\u0947| \u0938\u092D|\u092D\u093E\u0935|\u094D\u0925\u093F|\u093E\u092E\u093E|\u0938\u0930 |\u0930\u094D\u092E| \u0915\u094B| \u092C\u0947|\u094B\u0938\u0930|\u0926\u094B\u0938|\u0923 \u0915|\u093E\u0938 |\u0947 \u092A|\u091C\u093E\u0926|\u0906\u091C\u093E| \u0906\u091C|\u0909\u091A\u093F|\u0917 \u0915|\u093E\u0930\u0940| \u091C\u0930|\u0917\u0947 |\u091C \u0915|\u0940 \u092C|\u0938\u0928 |\u0939\u094B |\u093E \u0924",npi:"\u0915\u094B |\u0928\u0947 | \u0930 |\u093E\u0930 |\u0915\u094D\u0924|\u0915\u093E\u0930|\u092A\u094D\u0930| \u092A\u094D|\u094D\u092F\u0915|\u0935\u094D\u092F| \u0917\u0930|\u093F\u0915\u093E| \u0935\u094D|\u094D\u0930\u0924|\u0927\u093F\u0915|\u094D\u0924\u093F|\u092F\u0915\u094D|\u0905\u0927\u093F| \u0905\u0927|\u093E\u0908 |\u092E\u093E |\u0932\u093E\u0908|\u0924\u094D\u092F|\u093F\u0915 | \u0964 | \u0938\u092E|\u0935\u093E | \u0935\u093E|\u0915 \u0935|\u094D\u0928\u0947|\u0930\u094D\u0928|\u0917\u0930\u094D|\u0928\u094D\u0924|\u091B \u0964|\u0924\u093F\u0932|\u0930\u0924\u094D|\u0924\u094D\u0930|\u0947\u0915 |\u092F\u0947\u0915|\u094D\u092F\u0947|\u093F\u0932\u093E|\u0930 \u0938|\u094B \u0938| \u0938\u094D|\u092E\u093E\u0928|\u0915\u094D\u0937| \u0935\u093F|\u0939\u0941\u0928|\u093E \u0938| \u0939\u0941| \u091B |\u0930 \u091B|\u094D\u0924\u094D|\u0938\u092E\u093E|\u0938\u094D\u0935|\u0964 \u092A| \u0938\u0902|\u0928\u0947\u091B|\u0941\u0928\u0947|\u0939\u0930\u0941|\u0924\u0928\u094D|\u0935\u0924\u0928|\u0947 \u0905|\u093F\u0928\u0947|\u094B \u0905|\u094D\u0935\u0924| \u0915\u093E|\u0947 \u091B|\u0917\u0930\u093F| \u0930\u093E|\u094D\u0930 |\u0924\u093F |\u093E\u0915\u094B| \u0915\u0941|\u0937\u094D\u091F|\u0928\u093E |\u0938\u094D\u0924|\u0915 \u0938|\u0941\u0928\u0948|\u0915\u0941\u0928|\u091F\u094D\u0930|\u0932\u0947 | \u0928\u093F|\u093E\u0928 |\u091B\u0948\u0928| \u091B\u0948|\u094D\u091F\u094D|\u093E\u0937\u094D|\u0930\u093E\u0937|\u0924\u093F\u0915|\u091B\u0964 |\u093E\u0930\u094D|\u0924\u093E |\u093F\u0924 |\u0928\u0948 |\u093E \u0905| \u0938\u093E|\u093E \u0935|\u0930\u0941 | \u092E\u093E| \u0905\u0928|\u093E \u0930|\u0930\u0924\u093E|\u0930 \u0930|\u0939\u0930\u0942|\u0947\u091B |\u093E \u092A|\u0930\u0915\u094D|\u094D\u0924 | \u092A\u0930|\u0925\u093E | \u0932\u093E|\u092A\u0930\u093F|\u0926\u0947\u0936|\u0938\u0915\u094B| \u092F\u0938|\u092E\u093E\u091C|\u093E\u092E\u093E|\u094D\u0930\u093E|\u093F\u0935\u093E|\u093E\u0939\u0930|\u094B \u092A|\u094D\u092F |\u0935\u093E\u0930|\u0928 \u0938|\u0964 \u0915|\u0928\u093F |\u094D\u0937\u093E| \u0924\u094D|\u0926\u094D\u0927|\u0930 \u0939|\u0924\u0925\u093E| \u0924\u0925|\u092F\u0938\u094D|\u094D\u092F\u0938|\u0930\u0940 |\u0930 \u0935|\u092A\u0928\u093F|\u0930\u093F\u0928|\u0902\u0930\u0915|\u0938\u0902\u0930|\u092D\u093E\u0935|\u0948 \u0935|\u0938\u092C\u0948| \u0938\u092C| \u0936\u093F| \u0938\u0939|\u0924\u093E\u0915|\u0947 \u0930|\u0924 \u0930|\u0932\u093E\u0917| \u0938\u0941|\u094D\u0937\u0923|\u0926\u094D\u0926| \u0905\u092A|\u0948\u0928 |\u094B \u0935|\u093F\u0915\u094D|\u093E\u0935 |\u0927\u093E\u0930|\u094D\u092F\u093E|\u094D\u0930\u093F|\u093E \u092D|\u090F\u0915\u094B|\u0930 \u092E|\u0928 \u0905|\u094B \u0932| \u0909\u0938|\u0936\u093F\u0915|\u093E\u0924\u094D|\u0938\u094D\u0925|\u0935\u093E\u0939|\u0942\u0930\u094D|\u0936\u094D\u092F|\u093F\u0924\u094D|\u0930\u0915\u094B|\u093E\u0930\u0915|\u0941\u0926\u094D|\u0924\u094B |\u094D\u0924\u094B|\u093E\u0909\u0928|\u0915\u093E\u0928|\u093F\u090F\u0915|\u093E \u0928| \u092A\u0928|\u0928\u0964 |\u0948\u0928\u0964|\u0915\u093E |\u0947\u091B\u0964| \u092D\u0947|\u0930\u094D\u092F|\u0938\u092E\u094D|\u0924\u094D\u092A|\u0938\u093E\u092E|\u0930\u093F\u092F|\u091A\u093E\u0930|\u0928\u093F\u091C|\u0941\u0928 |\u0917\u093F |\u093E\u0917\u093F|\u0909\u0938\u0915| \u092E\u0924| \u0905\u092D|\u092A\u0942\u0930|\u0930 \u0924| \u0938\u0915|\u0938\u093E\u0930|\u0930\u093E\u0927|\u092A\u0930\u093E|\u0905\u092A\u0930|\u0941\u0915\u094D|\u091C\u0915\u094B| \u0909\u092A|\u0930\u093E |\u093E\u0930\u093E|\u094D\u0935\u093E|\u0935\u093F\u0927|\u094D\u0928 |\u093E \u0924|\u0928 \u0917|\u0923\u0915\u094B| \u092A\u093E| \u0926\u093F|\u0915 \u0930|\u0930 \u092A|\u0905\u0928\u094D|\u092D\u0947\u0926|\u093E\u0930\u092E|\u094B \u0906| \u0905\u0930|\u091C\u093F\u0915|\u093E\u091C\u093F|\u093F\u092F |\u0937\u093E |\u093E\u091F |\u092C\u093E\u091F| \u092C\u093E|\u093F \u0930| \u091B\u0964|\u0924\u094D\u0935|\u0924 \u0938|\u0930\u0942 |\u091B \u0930|\u0930\u0915\u093E|\u0935\u093F\u0915|\u0930 \u0909|\u094B\u0917 |\u094D\u0926\u0947|\u0930\u093F\u0935|\u0938\u0915\u093F|\u0948 \u092A|\u0930\u0924\u093F|\u0905\u0928\u0941| \u0906\u0935|\u092F\u0941\u0915|\u093E \u0917|\u0928\u092E\u093E|\u092F\u094B\u0917|\u0917 \u0917|\u0915 \u0905|\u0926\u094D\u0935|\u094D\u0927 |\u0930\u0941\u0926| \u092C\u093F|\u0964 \u0938|\u0909\u0928\u0947|\u093E\u0928\u094D|\u093E \u092E|\u093F\u0915\u094B|\u0930\u094D\u0926|\u093E\u0930\u0940|\u094D\u0924\u0930|\u094B \u0939|\u0939\u093F\u0924| \u0926\u0947|\u0930\u093F\u0915|\u093E \u0915| \u0906\u0927|\u0930\u093E\u091C|\u0930\u094D\u092E|\u094D\u0923 |\u0930\u094D\u0923|\u093F \u0935|\u094D\u092F\u0935|\u0935\u093F\u091A|\u092C\u0948 |\u0938\u0939\u093F|\u0930\u094B\u091C|\u0930\u094D\u0938|\u0908 \u0909|\u094D\u092A |\u0930\u093E\u0924|\u0928\u093F\u0915|\u092E\u093F\u0915|\u091A\u094D\u091B|\u094D\u0925\u093E|\u0935\u093F\u0935|\u0915\u0924\u093E|\u0905\u092D\u093F|\u094D\u0927\u093E",mag:" \u0915\u0947|\u0915\u0947 |\u093E\u0930 | \u0939\u0908|\u0915\u093E\u0930|\u0908\u0964 |\u0939\u0908\u0964|\u093F\u0915\u093E|\u0947 \u0905|\u0927\u093F\u0915|\u0905\u0927\u093F| \u0905\u0927|\u0930 \u0939|\u0947 \u0915|\u0914\u0930 | \u0914\u0930|\u093E \u0915|\u0947 \u0938|\u0938\u092C | \u0938\u092C| \u0915\u0930|\u0947\u0902 |\u0925\u093E |\u092E\u0947\u0902| \u092E\u0947|\u0924\u0925\u093E| \u0924\u0925|\u093F\u0915 | \u0939\u094B| \u0938\u092E|\u0915\u094D\u0937|\u0928\u093E |\u092C \u0915|\u0930 \u0938| \u0938\u0902|\u093E \u0938|\u0915\u0930 | \u092D\u0940|\u0964 \u0938| \u0938\u093E| \u0938\u0947| \u0915\u093E| \u0905\u092A|\u094D\u0930\u093E|\u092A\u094D\u0930| \u092A\u094D|\u0938\u0947 |\u092D\u0940 | \u0915\u094B|\u0924 \u0915| \u092A\u0930|\u0930\u093E |\u0915 \u0939|\u092A\u0928 |\u0905\u092A\u0928| \u0938\u0915|\u092F\u093E |\u0924\u093F |\u0930 \u0915|\u0940 \u0915| \u092F\u093E|\u0915\u0930\u0947| \u091C\u093E|\u0930\u0947 | \u0913\u0915|\u094D\u0924 |\u0938\u0915 |\u0928\u094B |\u093E\u0928 |\u092E\u093E\u0928|\u0913\u0915\u0930|\u093E \u092A|\u0928 \u0915|\u0947\u0932 | \u0928\u093E|\u0964 \u0915|\u0930\u0915\u094D| \u0938\u094D|\u0939\u0940 |\u0939\u094B\u090F| \u090F\u0915|\u092A\u0930 |\u0926\u0940 |\u091F\u094D\u0930|\u0924\u093E |\u0935\u094D\u092F|\u0939\u0908 | \u0936\u093E|\u0947 \u0909| \u0926\u0947|\u0924\u094D\u0930|\u093E\u0926\u0940| \u0930\u093E| \u0939\u0940|\u0915\u093E\u0928|\u093F\u0924 |\u092E \u0915|\u0932 \u091C|\u093E\u092E |\u0940 \u0938|\u0947 \u092D|\u0928 \u0938|\u092E\u093E\u091C|\u0937\u094D\u091F|\u0937\u093E | \u0932\u0947|\u0915 \u0938|\u092C\u0947 |\u0935\u0947 |\u093E\u0935\u0947|\u092E\u093F\u0932|\u0930 \u092E|\u094D\u092F |\u093E \u0939|\u0932\u093E |\u092A\u094D\u0924|\u0928\u0942\u0928|\u093E\u0928\u0942|\u091C\u093E |\u0947\u0915\u0930|\u094D\u0937\u093E|\u094D\u0930\u0924|\u0902\u0924\u094D|\u0930 \u0914|\u094B\u0908 |\u0915\u094B\u0908|\u094D\u091F\u094D|\u093E\u0937\u094D|\u0930\u093E\u0937| \u092E\u093E|\u0930\u094B | \u091C\u0947|\u0915\u0930\u093E|\u094B\u090F |\u093E\u092A\u094D|\u0930\u093E\u092A|\u0938\u092E\u093E|\u0942\u0928 |\u094B \u0938|\u0938\u094D\u0935|\u094D\u0924\u093F|\u0938\u093E\u092E|\u094B\u0928\u094B|\u0915\u094B\u0928| \u0935\u094D|\u0930 \u0905|\u094D\u092E | \u0935\u093F| \u0938\u0939|\u0947 \u092E|\u0915\u094D\u0924|\u092F\u094B\u0917|\u0930 \u0935|\u0915\u093E\u092E|\u0932 \u0939| \u0928\u093F|\u0926\u0947\u0936|\u092A\u0942\u0930|\u0935\u093E\u0930| \u0907 |\u0902\u0930\u0915|\u0938\u0902\u0930|\u090F \u0915|\u0930 \u092A| \u0938\u0941|\u0924\u0902\u0924|\u0935\u0924\u0902|\u094D\u0935\u0924|\u093E \u092E|\u0935 \u0915|\u0947 \u0935|\u093E\u0925 |\u0938\u093E\u0925| \u0926\u094B|\u0939\u094B\u092C| \u092A\u093E|\u094B \u0915|\u0947 \u092C|\u094B\u0917 | \u0909\u092A|\u0938\u094D\u0924|\u092A\u0930\u093F|\u0928 \u092A|\u0947 \u0924|\u094D\u0924\u0930|\u0932\u0947\u0932|\u0947 \u0913|\u091A\u093E\u0939| \u091A\u093E|\u092F \u0915|\u0935\u093E |\u0947\u0936 |\u092F \u0938|\u0928 \u0939|\u0937\u0923 |\u093E \u092C|\u0964 \u0924|\u090F\u0915 |\u090F\u0932 |\u0940\u092F |\u0915\u0947\u0915|\u0947 \u0939|\u0930 \u0906|\u093F \u0915|\u0938\u094D\u0925|\u091C\u093F\u0915|\u093E\u091C\u093F|\u093E\u092E\u093E|\u0930\u0940\u092F|\u094D\u0930\u0940|\u0924\u093F\u0915|\u093E\u0924\u093F| \u092C\u093F|\u091A\u093E\u0930|\u0947 \u0906|\u093E\u0938 | \u0909\u091A|\u093E \u0924|\u092F\u0915\u094D|\u094D\u092F\u0915|\u093F\u0932 |\u092E\u092F |\u0938\u092E\u092F|\u0936\u093E\u0926|\u092A\u092F\u094B|\u0909\u092A\u092F|\u0947 \u0916|\u0930\u093F\u0935| \u092A\u0942|\u0947 \u0932|\u0947 \u091A|\u094C\u0928\u094B|\u0915\u094C\u0928| \u0915\u094C|\u0902 \u0915|\u0938\u0902\u0917|\u0928 \u0926|\u0902 \u0938|\u0923 \u092A|\u094D\u0937\u0923|\u0930 \u0928|\u0947 \u0928|\u094B \u092D|\u0915\u0930\u094B|\u093E \u0914|\u0930\u0924\u093E|\u093E\u0935 |\u092D\u093E\u0935|\u0915 \u0914|\u0930\u094D\u092E|\u094B\u0938\u0930|\u0926\u094B\u0938|\u0923 \u0915|\u0947 \u092A|\u0928 \u0914|\u092C \u0939|\u093F\u0915\u094D|\u0936\u093F\u0915| \u0936\u093F|\u093E\u092C\u0947|\u0928\u093F\u092F|\u091A\u093F\u0924|\u0909\u091A\u093F|\u093F\u0924\u094D|\u0917 \u0915|\u0947\u0964 |\u0924 \u0938|\u0940 \u0936|\u0902 \u0936|\u090F\u0915\u0930|\u0964 \u090F|\u0924\u0928 | \u0913 |\u0930\u0940 |\u094D\u0930 |\u091C\u0947 |\u0915 \u0915| \u0938\u0940|\u0938\u0928 |\u093F\u0935\u093E| \u0905\u0928|\u0942\u0930\u093E| \u092C\u091A|\u090F\u0964 | \u092C\u0947|\u0924 \u0939| \u0924\u0915| \u092E\u093F|\u0927\u093E\u0930|\u0925\u0935\u093E|\u0905\u0925\u0935| \u0905\u0925|\u093F\u0932\u093E|\u094D\u0935\u093E|\u093F \u092E| \u0906\u0926|\u0928\u0947 |\u0915\u090F\u0932| \u0915\u090F|\u094D\u092F\u093E"}},NB=2048,FB=10,T8=300,$d={}.hasOwnProperty,lc,eg={};for(lc in Fh)if($d.call(Fh,lc)){let e=Fh[lc],t;eg[lc]={};for(t in e)if($d.call(e,t)){let n=e[t].split("|"),r={},i=n.length;for(;i--;)r[n[i]]=i;eg[lc][t]=r}}function S8(e,t={}){let n=[...t.whitelist||[],...t.only||[]],r=[...t.blacklist||[],...t.ignore||[]],i=t.minLength!==null&&t.minLength!==void 0?t.minLength:FB;if(!e||e.length<i)return Bh();e=e.slice(0,NB);let a=OB(e,RB);return!a[0]||!(a[0]in eg)?!a[0]||a[1]===0||!E8(a[0],n,r)?Bh():w8(a[0]):BB(e,UB(C8(e),eg[a[0]],n,r))}function BB(e,t){let n=t[0][1],r=e.length*T8-n,i=-1;for(;++i<t.length;)t[i][1]=1-(t[i][1]-n)/r||0;return t}function OB(e,t){let n=-1,r,i;for(i in t)if($d.call(t,i)){let a=_B(e,t[i]);a>n&&(n=a,r=i)}return[r,n]}function _B(e,t){let n=e.match(t);return(n?n.length:0)/e.length||0}function UB(e,t,n,r){t=zB(t,n,r);let i=[],a;if(t)for(a in t)$d.call(t,a)&&i.push([a,jB(e,t[a])]);return i.length===0?Bh():i.sort(HB)}function jB(e,t){let n=0,r=-1;for(;++r<e.length;){let i=e[r],a=T8;i[0]in t&&(a=i[1]-t[i[0]]-1,a<0&&(a=-a)),n+=a}return n}function zB(e,t,n){if(t.length===0&&n.length===0)return e;let r={},i;for(i in e)E8(i,t,n)&&(r[i]=e[i]);return r}function E8(e,t,n){return t.length===0&&n.length===0?!0:(t.length===0||t.includes(e))&&!n.includes(e)}function Bh(){return w8("und")}function w8(e){return[[e,1]]}function HB(e,t){return e[1]-t[1]}var VB=[["afr","af"],["amh","am"],["arb","ar"],["azj","az"],["bel","be"],["bul","bg"],["ben","bn"],["bos","bs"],["cat","ca"],["ceb","ceb"],["ces","cs"],["dan","da"],["deu","de"],["ell","el"],["eng","en"],["epo","eo"],["spa","es"],["est","et"],["fas","fa"],["fin","fi"],["fra","fr"],["gax","ga"],["glg","gl"],["guj","gu"],["hau","ha"],["heb","he"],["hin","hi"],["hrv","hr"],["hun","hu"],["hye","hy"],["ind","id"],["ibo","ig"],["ita","it"],["jpn","ja"],["jav","jw"],["kat","ka"],["kaz","kk"],["khm","km"],["kan","kn"],["kor","ko"],["ckb","ku"],["lao","lo"],["lit","lt"],["lav","lv"],["min","mi"],["mkd","mk"],["mal","ml"],["mar","mr"],["mya","my"],["nep","ne"],["nld","nl"],["nob","no"],["nya","ny"],["pan","pa"],["pol","pl"],["pbu","ps"],["por","pt"],["ron","ro"],["rus","ru"],["sin","si"],["slk","sk"],["slv","sl"],["sna","sn"],["som","so"],["als","sq"],["srp","sr"],["sun","su"],["swe","sv"],["swh","sw"],["tam","ta"],["tel","te"],["tgk","tg"],["tha","th"],["toi","to"],["tur","tr"],["ukr","uk"],["urd","ur"],["uzn","uz"],["vie","vi"],["xho","xh"],["ydd","yi"],["yor","yo"],["cmn","zh-CN"],["zul","zu"]],A8=new Map(VB);function k8(e,t){if(!e)return"auto";try{!t&&t!==0&&(t=25);let n={minLength:t,whitelist:[...A8.keys()]},r=S8(e,n);return r?.[0]?.[0]&&A8.get(r[0][0])||"auto"}catch(n){k.error(n)}return"auto"}var GB=["api2","test-api2","aigw1","analytics","config","ai","lang-detect"],M8=["immersivetranslate.com","immersivetranslate.cn","imtintl.com"];function Zs(){return gt()?"immersivetranslate.cn":"immersivetranslate.com"}function tg(e){let t=Zs(),n=new Set;return(e||[]).forEach(r=>{if(!r||typeof r!="string")return;let i=r.trim().toLowerCase();i&&n.add(i)}),n.size||n.add(t),[...n]}function WB(e,t){try{let n=new URL(e),r=GB.find(o=>n.hostname.startsWith(`${o}.`));if(!r)return null;let i=n.hostname.slice(r.length+1);return(t?.length?tg(t):[...M8]).includes(i)?{urlObj:n,subdomain:r,hostName:i}:null}catch{return null}}function I8(e,t){if(!e)return!1;if(WB(e,t))return!0;try{let{hostname:r}=new URL(e);return(t?.length?tg(t):[...M8]).some(a=>r===a||r.endsWith(`.${a}`))}catch{return!1}}var Oh=class{hostName="";staticHostName="";isProd=!1;cache=new Map;cacheVersion=0;envVariables=new Map;constructor(){this.isProd=Oo()||f5(),this.updateEnv()}updateHostName(t){this.hostName!==t&&(this.hostName=t,this.staticHostName=t,this.updateEnvironmentVariables(),this.invalidateCache())}updateStaticHostName(t){this.staticHostName!==t&&(this.staticHostName=t,this.updateEnvironmentVariables(),this.invalidateCache())}updateEnv(){this.hostName=Zs(),this.staticHostName=this.hostName,this.updateEnvironmentVariables()}updateIsProd(t){this.isProd!==t&&(this.isProd=t,this.updateEnvironmentVariables(),this.invalidateCache())}updateEnvironmentVariables(){this.envVariables.set("HOST_NAME",this.hostName),this.envVariables.set("S_HOST_NAME",this.staticHostName||this.hostName),this.envVariables.set("env",this.isProd?"":"test-"),this.envVariables.set("OFFICIAL_URL",this.isProd?`https://${this.hostName}`:`https://test.${this.hostName}`)}resolveURL(t){let n=this.getCacheKey(t),r=this.cache.get(n);if(r&&this.isCacheValid(r))return r.value;let i=this.resolvePlaceholders(t);return this.cache.set(n,{value:i,timestamp:Date.now(),cacheVersion:this.cacheVersion,dependencies:this.extractDependencies(t)}),i}resolvePlaceholders(t){let n=new Set,r=this.resolveRecursive(t,n);return this.applyUrlEncoding(r)}applyUrlEncoding(t){let n=/([?&](?:url|return_url|redirect_url|callback_url)=)([^&]*?)(?=&|$)/g,r=[],i;for(;(i=n.exec(t))!==null;)r.push({full:i[0],prefix:i[1],value:i[2],index:r.length});if(r.length===0)return t;let a=t;for(let o=0;o<r.length;o++)a=a.replace(r[o].full,`__URL_PARAM_PLACEHOLDER_${o}__`);for(let o=0;o<r.length;o++){let s=this.encodeUrlParamValue(r[o].value);a=a.replace(`__URL_PARAM_PLACEHOLDER_${o}__`,r[o].prefix+s)}return a}encodeUrlParamValue(t){let n=t.indexOf("#");if(n===-1)return encodeURIComponent(t);{let r=t.substring(0,n),i=t.substring(n);return encodeURIComponent(r)+i}}resolveRecursive(t,n){let r=/\{\{([^}]+)\}\}/g,i=t,a=!0,o=10;for(;a&&o>0;)a=!1,o--,i=i.replace(r,(s,u)=>{if(n.has(u))throw new Error(`Circular dependency detected: ${u}`);let l=this.resolveSinglePlaceholder(u,n);return l!==s&&(a=!0),l});return i}resolveSinglePlaceholder(t,n){if(n.has(t))throw new Error(`Circular dependency detected: ${t}`);n.add(t);try{let r=this.envVariables.get(t);if(r!==void 0)return this.resolveRecursive(r,n);let i=L8[t];return typeof i=="function"&&(i=i()),i?i===`{{${t}}}`?this.envVariables.get(t)||`{{${t}}}`:this.resolveRecursive(i,n):`{{${t}}}`}finally{n.delete(t)}}getCacheKey(t){return`${t}_${this.hostName}_${this.staticHostName}_${this.isProd}`}isCacheValid(t){let r=Date.now()-t.timestamp>3e5,i=t.cacheVersion===this.cacheVersion;return!r&&i}extractDependencies(t){let n=new Set,r=/\{\{([^}]+)\}\}/g,i;for(;(i=r.exec(t))!==null;)n.add(i[1]);return n}invalidateCache(){this.cacheVersion++;for(let[t,n]of this.cache.entries())this.isCacheValid(n)||this.cache.delete(t)}clearCache(){this.cache.clear(),this.cacheVersion++}getCacheStats(){return{size:this.cache.size,version:this.cacheVersion}}getEnvVariables(){return this.envVariables}},L8={HOST_NAME:"{{HOST_NAME}}",S_HOST_NAME:"{{S_HOST_NAME}}",BASE_SITE:"https://{{HOST_NAME}}/",BASE_API:"https://{{env}}api2.{{HOST_NAME}}/",BASE_AIGW1_URL:"https://{{env}}aigw1.{{HOST_NAME}}/",BASE_AI_URL:"https://{{env}}ai.{{HOST_NAME}}/",APP_BASE_URL:"https://{{env}}app.{{HOST_NAME}}/",DASH_BASE_URL:"https://{{env}}dash.{{HOST_NAME}}/",CONFIG_BASE_URL:"https://{{env}}config.{{HOST_NAME}}/",GITHUB_BASE:"https://github.com/immersive-translate/immersive-translate/",REDIRECT_URL:"{{DASH_BASE_URL}}auth-done/",SHARE_DRAFT_URL:"https://{{env}}{{HOST_NAME}}/preview",GUIDE_BASE:"https://{{env}}onboarding.{{HOST_NAME}}/",BASE_ASSETS_URL:"https://assets.{{HOST_NAME}}/",ASSETS_BASE_URL:"https://s.{{S_HOST_NAME}}/static/extension/",BASE_OSS_URL:"https://s.{{S_HOST_NAME}}/assets/r2-uploads/",OPTIONS_URL:"{{DASH_BASE_URL}}",DASH_SETTING_PROD_URL:"{{DASH_BASE_URL}}#general",USER_LOGIN_URL:"{{OFFICIAL_URL}}/accounts/login?from=plugin",USER_PROFILE_URL:"{{OFFICIAL_URL}}/profile/",AUTH_PRICING_URL:()=>Ot()?"{{OFFICIAL_URL}}/accounts/safari-iap":"{{OFFICIAL_URL}}/auth/pricing/",PRICING_URL:()=>Ot()?"{{OFFICIAL_URL}}/accounts/safari-iap":"{{OFFICIAL_URL}}/pricing/",USER_LOGIN_URL_WITH_RETURN_DASH:"{{OFFICIAL_URL}}/accounts/login?from=plugin&return_url={{DASH_BASE_URL}}#general",USER_LOGIN_URL_FROM_ERROR:"{{OFFICIAL_URL}}/accounts/login?from=plugin&utm_source=extension&utm_medium=extension&utm_campaign=error_modal",USER_LOGIN_URL_FROM_PRO_SERVICE_TRIAL_ERROR:"{{OFFICIAL_URL}}/accounts/login?from=plugin&utm_source=extension&utm_medium=extension&utm_campaign=error_modal_pro_service_trial",USER_LOGIN_URL_FROM_FREE_AI_SUBTITLE:"{{OFFICIAL_URL}}/accounts/login?from=plugin&utm_source=extension&utm_medium=extension&utm_campaign=free_ai_subtitle",GO_UPGRADE_FOR_ERROR_DIALOG:"{{OFFICIAL_URL}}/pricing/?utm_source=extension&utm_medium=extension&utm_campaign=error_modal",GO_UPGRADE_FOR_MAX:"{{OFFICIAL_URL}}/pricing/?utm_source=extension&utm_medium=extension&utm_campaign=max_",GO_UPGRADE_FOR_FLOAT_BALL:"{{OFFICIAL_URL}}/pricing/?utm_source=extension&utm_medium=extension&utm_campaign=float_ball",GO_UPGRADE_FROM_TRIAL:"{{OFFICIAL_URL}}/profile/?utm_source=extension&utm_medium=extension&utm_campaign=error_modal&upgradeFromTrial=true",GO_PRO_SYNC_CONFIG:"{{OFFICIAL_URL}}/pricing/?utm_source=extension&utm_medium=extension&utm_campaign=option_sync_config",GO_MANGA_URL:"{{OFFICIAL_URL}}/auth/pricing/?utm_source=extension&utm_medium=extension&utm_campaign=manga_intro",GO_IMAGE_PRICING_URL:"{{OFFICIAL_URL}}/auth/pricing/?utm_source=extension&utm_medium=extension&utm_campaign=image_intro",GO_CLIENT_IMAGE_PRICING_URL:"{{OFFICIAL_URL}}/auth/pricing/?utm_source=extension&utm_medium=extension&utm_campaign=image_client",GO_FREE_IMAGE_PRICING_URL:"{{OFFICIAL_URL}}/auth/pricing/?utm_source=extension&utm_medium=extension&utm_campaign=free_image_quota_exhausted",GO_USER_PROFILE_WITH_YT_AI_ASR:"{{OFFICIAL_URL}}/auth/pricing/?utm_source=extension&utm_medium=extension&utm_campaign=yt_ai_asr",GO_USER_PROFILE_WITH_YT_AI_SUBTITLE:"{{OFFICIAL_URL}}/auth/pricing/?utm_source=extension&utm_medium=extension&utm_campaign=dash_ai_subtitle",GO_USER_PROFILE_WITH_FEATURE:"{{OFFICIAL_URL}}/auth/pricing/?utm_source=extension&utm_medium=extension&utm_campaign=",GO_ACCOUNT_USAGE_URL:"{{OFFICIAL_URL}}/accounts/usage",GO_AUTH_PRICING_FOR_MANGA_GUIDE:"{{OFFICIAL_URL}}/auth/pricing/?utm_source=extension&utm_medium=extension&utm_campaign=manga_guide",GO_AUTH_PRICING_FOR_FREE_IMAGE_GUIDE:"{{OFFICIAL_URL}}/auth/pricing/?utm_source=extension&utm_medium=extension&utm_campaign=free_image_tips",GO_AUTH_PRICING_FOR_FREE_IMAGE_ERROR:"{{OFFICIAL_URL}}/auth/pricing/?utm_source=extension&utm_medium=extension&utm_campaign=freeImageError",GO_AUTH_PRICING_FOR_YOUTUBE_LIVE:"{{OFFICIAL_URL}}/auth/pricing/?utm_source=extension&utm_medium=extension&utm_campaign=live_subtitle_btn",GO_AUTH_PRICING_FOR_NO_SUBTITLE_QUICK_BUTTON:"{{OFFICIAL_URL}}/auth/pricing/?utm_source=extension&utm_medium=extension&utm_campaign=no_subtitle_quick_button",GO_PROFILE_UPGRADE_FOR_ERROR_DIALOG:"{{OFFICIAL_URL}}/profile/?utm_source=extension&utm_medium=extension&utm_campaign=error_modal",GO_AUTH_PRICING_FOR_SUBTITLE_DOWNLOAD:"{{OFFICIAL_URL}}/auth/pricing/?utm_source=extension&utm_medium=extension&utm_campaign=subtitle_download",GO_AUTH_PRICING_FOR_AI_SUBTITLE:"{{OFFICIAL_URL}}/auth/pricing/?utm_source=extension&utm_medium=extension&utm_campaign=error_modal_ai_subtitle",GO_UPGRADE_FROM_TRIAL_FOR_AI_SUBTITLE:"{{OFFICIAL_URL}}/profile/?utm_source=extension&utm_medium=extension&utm_campaign=error_modal_ai_subtitle&upgradeFromTrial=true",QUOTA_BASE_URL:"{{OFFICIAL_URL}}/topup",MANGA_QUOTA_URL:"{{OFFICIAL_URL}}/topup?type=comics&",AI_SUBTITLE_QUOTA_URL:"{{OFFICIAL_URL}}/topup?type=asr",QUOTA_URL:"{{OFFICIAL_URL}}/topup?utm_source=extension&utm_medium=extension&utm_campaign=error_modal",GO_DEEPL_FOR_ERROR_DIALOG:"{{OFFICIAL_URL}}/topup?type=deepl&utm_source=extension&utm_medium=extension&utm_campaign=error_modal",DOC_USAGE_URL:"{{OFFICIAL_URL}}/docs/usage/",DOC_COMMUNITIES:"{{OFFICIAL_URL}}/docs/communities/",TERMS_URL:"{{OFFICIAL_URL}}/docs/TERMS/",PRIVACY_URL:"{{OFFICIAL_URL}}/docs/PRIVACY/",TERMS_URL_BY_PRIVACY_MODAL:"{{OFFICIAL_URL}}/docs/TERMS?utm_source=extension&utm_medium=extension&utm_campaign=privacy_modal",PRIVACY_URL_BY_PRIVACY_MODAL:"{{OFFICIAL_URL}}/docs/PRIVACY?utm_source=extension&utm_medium=extension&utm_campaign=privacy_modal",TUTORIAL_URL:"{{OFFICIAL_URL}}/docs/usage/",DOWNLOAD_URL:"{{OFFICIAL_URL}}/download/",DOWNLOAD_SUBTITLE_URL:"{{APP_BASE_URL}}download-subtitle/",DOWNLOAD_FROM_OPTIONS_NAV:"{{OFFICIAL_URL}}/download/?utm_source=extension&utm_medium=extension&utm_campaign=options_nav",PDF_PRO_URL:"{{APP_BASE_URL}}pdf-pro/",TEXT_URL:"{{APP_BASE_URL}}text/",EBOOK_VIEWER_URL:"{{APP_BASE_URL}}ebook/",EBOOK_BUILDER_URL:"{{APP_BASE_URL}}ebook/make/",PDF_VIEWER_URL:"{{APP_BASE_URL}}pdf/",BABELDOC_URL:"{{APP_BASE_URL}}babel-doc/",SUBTITLE_BUILDER_URL:"{{APP_BASE_URL}}subtitle/",HTML_VIEWER_URL:"{{APP_BASE_URL}}html/",TEXT_TRANSLATE_URL:"{{APP_BASE_URL}}text/",BABELDOC_URL_BY_FEEDBACK_MODAL:"{{APP_BASE_URL}}babel-doc?utm_source=extension&utm_medium=extension&utm_campaign=feedback_modal",TRANSLATE_FILE_FROM_OPTIONS_NAV:"{{APP_BASE_URL}}?utm_source=extension&utm_medium=extension&utm_campaign=options_nav",TRANSLATE_FILE_FROM_FLOAT_BALL:"{{APP_BASE_URL}}?utm_source=extension&utm_medium=extension&utm_campaign=float_ball",SELF_SERVICE_COLLECT_URL:"https://analytics.{{HOST_NAME}}/collect",SELF_SERVICE_LANG_DETECT_COLLECT_URL:"https://analytics.{{HOST_NAME}}/internal",buildinConfigSyncUrl:"{{CONFIG_BASE_URL}}default_config.json",PRICING_COMPONENTS_IMAGE:"https://{{HOST_NAME}}/activities/components/image-pro",Chrome_Store_Url:"https://chromewebstore.google.com/detail/immersive-translate-trans/bpoadfkcbjbfhfodiogcnhhhpibjhbnh/reviews",Edge_Store_Url:"https://microsoftedge.microsoft.com/addons/detail/immersive-translate-tra/amkbmndfnliijdhojkpoglbnaaahippg",Firefox_Store_Url:"https://addons.mozilla.org/zh-CN/firefox/addon/immersive-translate/reviews/",GitHub_BASE:"https://github.com/immersive-translate/immersive-translate/",OSS_BASE:"https://s.{{S_HOST_NAME}}/",REWARD_TASK_YOUTUBE_URL:"https://www.youtube.com/watch?v=AEZ3queYSRw",ARROW_ANIMATION_URL:"https://s.{{S_HOST_NAME}}/assets/r2-uploads/spiral_arrowa_animation.json",R2_UPLOADS_BASE_URL:"https://s.{{S_HOST_NAME}}/assets/r2-uploads",PRICING_WORKER_BASE_URL:"https://{{env}}worker.{{HOST_NAME}}"},za=new Oh;var j=new Proxy(L8,{get(e,t){let n=e[t],r=n;return typeof n=="function"&&(r=n()),typeof r=="string"?za.resolveURL(r):n}}),D8=["https://immersive-translate.owenyoung.com/options/","https://immersive-translate.owenyoung.com/auth-done/",j.DASH_BASE_URL,j.DASH_BASE_URL+"auth-done/","http://localhost:8000/dist/userscript/options/","http://localhost:8000/auth-done/","http://192.168.50.9:8000/dist/userscript/options/","http://192.168.31.51:8000/dist/userscript/options/","http://192.168.1.72:8000/dist/userscript/options/","https://www.deepl.com/translator","translate.google.com","http://localhost:8000/options/","http://192.168.50.9:8000/options/","http://192.168.31.51:8000/options/","http://192.168.1.72:8000/options/"];function P8(){return gt()?[]:la()?[`https://www.google-analytics.com/mp/collect?measurement_id=${u8}&api_secret=${l8}`]:Oo?[`https://www.google-analytics.com/mp/collect?measurement_id=${Eh}&api_secret=${wh}`]:[`https://www.google-analytics.com/debug/mp/collect?measurement_id=${Eh}&api_secret=${wh}`]}var _h={};async function R8(){try{_h=await Uh()}catch{}}function N8(){return _h}async function ng(e){_h=await Uh(e)}var qB="margin: 8px 0; padding-left: 22px; line-height: 1.6;",KB="margin: 4px 0;",QB="<br />",YB="color: var(--primary, #ec4c8c); font-weight: 600;";function Js(e,t){return t?` ${e}="${t}"`:""}function ZB(e){return e.replaceAll("&","&amp;").replaceAll("<","&lt;").replaceAll(">","&gt;").replaceAll('"',"&quot;").replaceAll("'","&#39;")}function rg(e,t){let{highlightClassName:n,highlightStyle:r}=t,i="",a=0,o=s=>{s>a&&(i+=ZB(e.slice(a,s)),a=s)};for(;a<e.length;){if(e.startsWith("**",a)){let d=e.indexOf("**",a+2);if(d!==-1){let g=e.slice(a+2,d);i+=`<strong>${rg(g,t)}</strong>`,a=d+2;continue}}if(e.startsWith("==",a)){let d=e.indexOf("==",a+2);if(d!==-1){let g=e.slice(a+2,d),f=Js("class",n),p=Js("style",r);i+=`<span${f}${p}>${rg(g,t)}</span>`,a=d+2;continue}}let s=e.indexOf("**",a),u=e.indexOf("==",a),l=[s,u].filter(d=>d!==-1),c=l.length?Math.min(...l):e.length;o(c)}return i}function F8(e,t){if(!e)return"";let{listClassName:n,listItemClassName:r,listStyle:i=qB,listItemStyle:a=KB,lineBreakTag:o=QB,highlightClassName:s,highlightStyle:u=YB}=t||{},l=e.split(/\r?\n/),c=[],d=!1,g=!1,f=0,p=!1,h=()=>{let y=Js("class",n),v=Js("style",i);c.push(`<ul${y}${v}>`),d=!0,f=0,p=g},C=()=>{d&&(c.push("</ul>"),d=!1)};return l.forEach((y,v)=>{let b=y.match(/^\s*-\s+(.*)$/);if(b){let S=rg(b[1]??"",{highlightClassName:s,highlightStyle:u});d||h();let E=Js("class",r),A=Js("style",a),M=f===0&&p?`<strong>${S}</strong>`:S;c.push(`<li${E}${A}>${M}</li>`),f+=1;return}C();let x=rg(y,{highlightClassName:s,highlightStyle:u});c.push(x),x.trim()&&(g=!0),v===l.length-1||c.push(o)}),C(),c.join("")}function JB(e,t){let n=e;return t&&Object.keys(t).forEach(r=>{let i=t[r];if(i===void 0)return;let a=$B(r);if(typeof i=="object"||a){let o=i;a&&typeof o=="string"&&(o={tag:"a",href:o,target:"_blank",class:U+"-link"});let s=`<${r}>`,u=n.indexOf(s);if(u!==-1){let l=o.tag||"a",c=n.indexOf(`</${r}>`);if(c!==-1){let d=n.substring(u+s.length,c),g=Object.keys(o).filter(f=>f!=="tag").map(f=>`${f}="${o[f]}"`).join(" ");n=n.replace(`${s}${d}</${r}>`,`<${l} ${g}>${d}</${l}>`)}}}else if(i){let o=new RegExp("{"+r+"}","gm");n=n.replace(o,i.toString())}}),n}function XB(e,t){if(!e)return t;if(!t)return"";let n=t.split("."),r="";do{r+=n.shift();let i=e[r];i!==void 0&&(typeof i=="object"||!n.length)?(e=i,r=""):n.length?r+=".":e=t}while(n.length);return e}function B8(e,t){let n=N8(),r=XB(n,e);return JB(r,t)}function $B(e){if(typeof e=="number")return!0;if(e){let t=parseInt(e);return!isNaN(t)}else return!1}function oe(e,t,{markdown:n}={}){return n?F8(B8(e,t)):B8(e,t)}function ig(e,t){let n=new Date(e),r=n.getFullYear().toString(),i=(n.getMonth()+1).toString().padStart(2,"0"),a=n.getDate().toString().padStart(2,"0"),o=n.getHours().toString().padStart(2,"0"),s=n.getMinutes().toString().padStart(2,"0"),u=n.getSeconds().toString().padStart(2,"0");return t.replace("YYYY",r).replace("MM",i).replace("DD",a).replace("HH",o).replace("mm",s).replace("ss",u)}function O8(e){return new Date(e).getTime()}var Yt="free-model",eO=[{serviceType:"siliconcloud",legacyServiceId:"siliconcloud-free",preferredProvider:"siliconflow"},{serviceType:"zhipu",legacyServiceId:"zhipu-free",preferredProvider:"glm"},{serviceType:"babel-lite",legacyServiceId:"babel-lite-free",preferredProvider:"babellite"},{serviceType:"hymt",legacyServiceId:"hymt-free",preferredProvider:"hymt"}],tO="zhipu-free";function ag(e){return e?.[Yt]??{}}function cc(e){let t=ag(e).subServices;return Array.isArray(t)&&t.length>0?t:eO}function _8(e){let t=ag(e).fallbackService;return typeof t=="string"?t:null}function U8(e){let t=ag(e).streamFallbackService;return typeof t=="string"?t:null}function nO(e){let t=ag(e).serviceWhenFreeModelHidden,n=cc(e);return typeof t=="string"&&n.some(r=>r.legacyServiceId===t)?t:n[0]?.legacyServiceId||tO}function j8(e,t){return cc(t).some(n=>n.legacyServiceId===e)}function z8(e,t){return e&&(t.isFreeModelMode?j8(e,t.translationServices)?Yt:e:e===Yt?nO(t.translationServices):e)}function og(e,t){return e.isFreeModelMode?j8(t,e.translationServices):t===Yt}var V8=["caiyun","cai"],H8=[{type:"select",name:"codename",labelKey:"field.translationEngine",default:"youdao",required:!1,options:[{label:"translationServices.google",value:"google"},{label:"translationServices.deepl",value:"deepl"},{label:"translationServices.youdao",value:"youdao"},{label:"translationServices.tencent",value:"tencent"},{label:"translationServices.aliyun",value:"aliyun"},{label:"translationServices.baidu",value:"baidu"},{label:"translationServices.caiyun",value:"caiyun"},{label:"translationServices.wechat",value:"wechat"},{label:"translationServices.ibm",value:"ibm"},{label:"translationServices.azure",value:"azure"},{label:"translationServices.aws",value:"aws"}]}],jh=[{name:"enableAIContext",labelKey:"field.enableAIContext",descriptionKey:"description.enableAIContext",required:!1,type:"boolean",default:!1,optional:!1},{name:"maxTextLengthPerRequest",required:!1,labelKey:"field.maxTextLengthPerRequest",descriptionKey:"description.maxTextLengthPerRequest",type:"number",default:1200,optional:!0},{name:"maxTextGroupLengthPerRequest",required:!1,labelKey:"field.maxTextGroupLengthPerRequest",descriptionKey:"description.maxTextGroupLengthPerRequest",type:"number",default:1,optional:!0},{name:"enableRichTranslate",labelKey:"field.enableRichTranslate",descriptionKey:"description.enableRichTranslate",required:!1,type:"boolean",default:!1,optional:!0},{name:"systemPrompt",label:"System Prompt",required:!1,descriptionKey:"description.systemPrompt",placeholderKey:"description.systemPromptPlaceholder",type:"textarea",optional:!0,default:"You are a translation engine, you can only translate text and cannot interpret it, and do not explain."},{name:"prompt",label:"Prompt",required:!1,descriptionKey:"description.prompt",type:"textarea",default:`Translate the text to {{to}}, please do not explain any sentences, just translate or leave them as they are.:

{{text}}`,optional:!0},{name:"multiplePrompt",label:"Multiple Prompt",required:!1,descriptionKey:"description.multiplePrompt",type:"textarea",default:"",optional:!0},{name:"maxTextGroupLengthPerRequestForSubtitle",required:!1,labelKey:"field.maxTextGroupLengthPerRequestForSubtitle",default:5,type:"number",optional:!0},{name:"subtitlePrompt",label:"Subtitle Prompt",required:!1,descriptionKey:"description.subtitlePrompt",type:"textarea",default:"",optional:!0},{name:"temperature",descriptionKey:"description.temperature",label:"Temperature",required:!1,type:"number",default:"0",optional:!0}];function dc({serviceKey:e,defaultApiUrl:t}){return Ri({authOptions:[{name:"APIKEY",required:!0,type:"password",sensitive:!0,direction:"column",providers:["custom"]},{name:"apiUrl",direction:"column",labelKey:"field.apiUrl",required:!1,type:"text",default:t,descriptionKey:"description.apiUrl",descriptionLink1:j.BASE_SITE+"docs/services/"+e+"/",optional:!0,providers:["custom"]}]})}function Ri({authOptions:e}={authOptions:[]}){return[{name:"name",labelKey:"field.name",placeholderKey:"field.namePlaceholder",required:!0,type:"text",direction:"column",providers:["custom"]},...e,{name:"model",labelKey:"field.model",descriptionKey:"description.model",required:!1,type:"model-select",providers:["custom"],options:[]},{name:"limit",required:!1,labelKey:"field.limitPerSecond",descriptionKey:"description.generalLimitPerSecond",type:"number",default:5,optional:!0,providers:["custom"]},...jh].filter(t=>Object.keys(t).length>0)}var Ho={ai:!0,name:"Custom AI",homepage:"https://openai.com/api/",allProps:Ri({authOptions:[{name:"apiUrl",direction:"column",labelKey:"field.apiUrl",required:!1,type:"text",descriptionKey:"description.apiUrl",descriptionLink1:j.BASE_SITE+"docs/services/ai/",default:"https://api.openai.com/v1/chat/completions"},{name:"APIKEY",required:!0,type:"password",sensitive:!0,direction:"column"}]})},Qn={bing:{name:"\u5FAE\u8F6F\u7FFB\u8BD1",homepage:"https://www.bing.com/translator"},google:{name:"Google",homepage:"https://translate.google.com/"},[Yt]:{ai:!0,name:Yt,homepage:j.BASE_SITE,tipTextKey:"freeModelAutoSelectTooltip"},"babel-lite":{name:"Babel Lite",homepage:"https://immersivetranslate.com/",allProps:[{name:"enableRichTranslate",labelKey:"field.enableRichTranslate",descriptionKey:"description.enableRichTranslate",required:!1,type:"boolean",default:!1,optional:!0}]},hymt:{name:"HY-MT",homepage:"https://cloud.tencent.com/document/product/1729/104753",docUrl:"https://github.com/Tencent-Hunyuan/HY-MT/blob/main/README_CN.md"},zhipu:{ai:!0,name:"zhipu",homepage:"https://open.bigmodel.cn/",link1:"",link2:"",allProps:Ri({authOptions:[{name:"APIKEY",required:!0,type:"password",sensitive:!0,direction:"column",descriptionKey:"description.zhipuCustomAPIKey",descriptionLink1:"https://open.bigmodel.cn/",descriptionLink2:j.BASE_SITE+"zh-Hans/docs/services/zhipu/"}]})},deepl:{name:"DeepL",homepage:"https://www.deepl.com/translator",docUrl:j.BASE_SITE+"docs/services/deepL/",link1:"https://www.deepl.com/blog/next-gen-language-model",link2:j.BASE_SITE+"pricing/?utm_source=extension&utm_medium=settings&utm_campaign=service_deepl",providers:[{name:"pro",nameKey:"deepLProName",descriptionKey:"deepLProDescription",descriptionKeyForNormal:"deeplProDescriptionForNormal",descriptionLink1:j.AUTH_PRICING_URL+"?utm_campaign=services"},{name:"custom",nameKey:"deepLCustomName",descriptionKey:"deepLCustomDescription",descriptionLink1:"https://www.deepl.com/translator",descriptionLink2:j.BASE_SITE+"docs/services/deepL/"}],allProps:[{name:"name",labelKey:"field.name",placeholderKey:"field.namePlaceholder",required:!0,type:"text",direction:"column",providers:["custom"]},{name:"authKey",providers:["custom"],label:"Auth Key",required:!0,type:"password",sensitive:!0,direction:"column"},{name:"enableRichTranslate",labelKey:"field.enableRichTranslate",descriptionKey:"description.enableRichTranslate",required:!1,type:"boolean",default:!1,optional:!1}]},deepseek:{ai:!0,name:"deepseek",homepage:"https://www.deepseek.com/",docUrl:j.BASE_SITE+"docs/services/deepseek/",link1:"",link2:"",providers:[{name:"pro",nameKey:"serviceProName",descriptionKey:"serviceProDescription",descriptionKeyForNormal:"serviceProDescriptionForNormal",descriptionLink1:j.AUTH_PRICING_URL+"?utm_campaign=services"},{name:"custom",nameKey:"openaiCustomName",descriptionKey:"deepseekCustomDescription",descriptionLink1:"https://www.deepseek.com/",descriptionLink2:j.BASE_SITE+"docs/services/deepseek/"}],allProps:dc({serviceKey:"deepseek",defaultApiUrl:"https://api.deepseek.com/chat/completions"})},openai:{ai:!0,name:"Open AI",homepage:"https://openai.com/api/",docUrl:j.BASE_SITE+"docs/services/openai/",link1:"https://readit.plus/a/GKQas/understanding-chatgpt",link2:j.BASE_SITE+"pricing/?utm_source=extension&utm_medium=settings&utm_campaign=service_openai",providers:[{name:"pro",nameKey:"openaiProName",descriptionKey:"openaiProDescription",descriptionKeyForNormal:"openaiProDescriptionForNormal",descriptionLink1:j.AUTH_PRICING_URL+"?utm_campaign=services"},{name:"custom",nameKey:"openaiCustomName",descriptionKey:"openaiCustomDescription",descriptionLink1:j.BASE_SITE+"docs/services/openai/"}],allProps:dc({serviceKey:"openai",defaultApiUrl:"https://api.openai.com/v1/chat/completions"})},gemini:{ai:!0,name:"Gemini",homepage:"https://ai.google.dev/aistudio/",docUrl:j.BASE_SITE+"docs/services/gemini/",link2:j.BASE_SITE+"pricing/?utm_source=extension&utm_medium=settings&utm_campaign=service_gemini",providers:[{name:"pro",nameKey:"serviceProName",descriptionKey:"serviceProDescription",descriptionKeyForNormal:"serviceProDescriptionForNormal",descriptionLink1:j.AUTH_PRICING_URL+"?utm_campaign=services"},{name:"custom",nameKey:"serviceCustomName",descriptionKey:"geminiCustomDescription",descriptionLink1:"https://ai.google.dev/aistudio/",descriptionLink2:j.BASE_SITE+"docs/services/gemini/"}],allProps:dc({serviceKey:"gemini",defaultApiUrl:"https://generativelanguage.googleapis.com/v1beta/models/{model}:generateContent?key={key}"})},claude:{ai:!0,name:"Claude",homepage:"https://www.anthropic.com/",docUrl:j.BASE_SITE+"docs/services/claude/",link2:j.BASE_SITE+"pricing/?utm_source=extension&utm_medium=settings&utm_campaign=service_claude",providers:[{name:"pro",nameKey:"serviceProName",descriptionKey:"serviceProDescription",descriptionKeyForNormal:"serviceProDescriptionForNormal",descriptionLink1:j.AUTH_PRICING_URL+"?utm_campaign=services"},{name:"custom",nameKey:"serviceCustomName",descriptionKey:"claudeCustomDescription",descriptionLink1:"https://www.anthropic.com/",descriptionLink2:j.BASE_SITE+"docs/services/claude/"}],allProps:dc({serviceKey:"claude",defaultApiUrl:"https://api.anthropic.com/v1/messages"})},"zhipu-pro":{ai:!0,name:"Gemini",homepage:"https://open.bigmodel.cn/",docUrl:"",link2:j.BASE_SITE+"pricing/?utm_source=extension&utm_medium=settings&utm_campaign=service_zhipu_pro",providers:[{name:"pro",nameKey:"serviceProName",descriptionKey:"serviceProDescription",descriptionKeyForNormal:"translationServices.proOnly",descriptionLink1:j.AUTH_PRICING_URL+"?utm_campaign=services"}],allProps:jh},siliconcloud:{ai:!0,name:"siliconcloud",homepage:"https://cloud.siliconflow.cn/",introductionPlaceholder:`<picture style='display: block; width: 100px;height: 20px;'><source srcset='${j.BASE_OSS_URL}siliconFlow-dark.png' media='(prefers-color-scheme: dark)' /><img src='${j.BASE_OSS_URL}siliconFlow-light.png' /></picture>`,allProps:Ri({authOptions:[{name:"APIKEY",descriptionKey:"description.siliconcloudCustomAPIKey",descriptionLink1:"https://siliconflow.cn/",providers:["custom"],required:!0,type:"password",sensitive:!0,direction:"column"}]})},kimi:{ai:!0,name:"deepseek",homepage:"https://platform.moonshot.cn/",docUrl:j.BASE_SITE+"docs/services/kimi/",link1:"",link2:"",allProps:dc({serviceKey:"kimi",defaultApiUrl:"https://api.moonshot.cn/v1"})},yandex:{name:"Yandex",homepage:"https://translate.yandex.com/"},transmart:{name:"Transmart",homepage:"https://transmart.qq.com/"},grok:{ai:!0,name:"grok",homepage:"https://x.ai/",docUrl:j.BASE_SITE+"docs/services/grok/",link1:"",link2:"",allProps:Ri({authOptions:[{name:"APIKEY",required:!0,type:"password",sensitive:!0,direction:"column",providers:["custom"]},{name:"apiUrl",direction:"column",labelKey:"field.apiUrl",required:!1,type:"text",descriptionKey:"description.apiUrl",descriptionLink1:j.BASE_SITE+"docs/services/ai/",default:"https://api.x.ai/v1/chat/completions",providers:["custom"]}]})},ollama:{...Ho,name:"ollama",homepage:"https://ollama.com/",runningDocUrl:j.BASE_SITE+"docs/services/ollama/"},"azure-openai":{...Ho,name:"azure-openai",homepage:"https://learn.microsoft.com/zh-cn/azure/cognitive-services/openai/chatgpt-quickstart?tabs=command-line&pivots=rest-api",docUrl:j.BASE_SITE+"docs/services/azure-openai/"},doubao:{ai:!0,name:"doubao",homepage:"https://www.volcengine.com/product/doubao",docUrl:j.BASE_SITE+"docs/services/doubao/",link1:"",link2:"",allProps:[{name:"name",labelKey:"field.name",placeholderKey:"field.namePlaceholder",required:!0,type:"text",direction:"column",providers:["custom"]},{name:"APIKEY",required:!0,type:"password",sensitive:!0,direction:"column"},{name:"model",labelKey:"field.model",descriptionKey:"description.model",placeholder:" ",required:!0,type:"model-select",options:[],providers:["custom"]},{name:"limit",required:!1,labelKey:"field.limitPerSecond",descriptionKey:"description.generalLimitPerSecond",type:"number",default:10},...jh]},"aliyun-bailian":{ai:!0,name:"aliyun-bailian",homepage:"https://bailian.console.aliyun.com/",docUrl:j.BASE_SITE+"docs/services/aliyun-bailian/",link1:"",link2:"",allProps:Ri({authOptions:[{name:"APIKEY",required:!0,type:"password",sensitive:!0,direction:"column"}]})},qwen:{ai:!0,name:"Qwen",homepage:"https://bailian.console.aliyun.com/",docUrl:j.BASE_SITE+"docs/services/aliyun-bailian/",link1:"",link2:"",allProps:Ri({authOptions:[{name:"APIKEY",required:!0,type:"password",sensitive:!0,direction:"column",providers:["custom"]}]})},"qwen-mt":{name:"QwenMT",homepage:"https://help.aliyun.com/zh/model-studio/machine-translation",docUrl:j.BASE_SITE+"docs/services/qwen-mt/",allProps:[{name:"name",labelKey:"field.name",placeholderKey:"field.namePlaceholder",required:!0,type:"text",direction:"column",providers:["custom"]},{name:"apiKey",required:!0,type:"password",sensitive:!0,direction:"column",providers:["custom"]},{name:"model",labelKey:"field.model",descriptionKey:"description.model",required:!0,type:"model-select",providers:["custom"],options:[]},{name:"domains",labelKey:"labelKey.domains",required:!1,placeholderKey:"description.qwenMtDomains",type:"textarea",optional:!0,default:""},{name:"limit",required:!1,labelKey:"field.limitPerSecond",descriptionKey:"description.generalLimitPerSecond",type:"number",default:10,providers:["custom"],optional:!0},{name:"maxTextLengthPerRequest",required:!1,labelKey:"field.maxTextLengthPerRequest",descriptionKey:"description.maxTextLengthPerRequest",type:"number",default:1200,optional:!0},{name:"maxTextGroupLengthPerRequest",required:!1,labelKey:"field.maxTextGroupLengthPerRequest",descriptionKey:"description.maxTextGroupLengthPerRequest",type:"number",default:10,optional:!0}]},qianfan2:{...Ho,name:"baidu-qianfan2",homepage:"https://console.bce.baidu.com/qianfan/overview",docUrl:j.BASE_SITE+"docs/services/baidu-qianfan/"},hunyuan:{ai:!0,name:"hunyuan",homepage:"https://hunyuan.tencent.com/",docUrl:j.BASE_SITE+"docs/services/tencent-hunyuan/",allProps:Ri({authOptions:[{label:"Secret ID",name:"secret_id",placeholder:"Secret ID",required:!0,type:"text",sensitive:!0,direction:"column",providers:["custom"]},{label:"Secret Key",name:"secret_key",placeholder:"Secret Key",required:!0,type:"password",sensitive:!0,direction:"column",providers:["custom"]}]})},lingyiwanwu:{ai:!0,name:"lingyiwanwu",homepage:"https://platform.lingyiwanwu.com/docs",docUrl:j.BASE_SITE+"docs/services/lingyiwanwu/",link1:"",link2:"",allProps:Ri({authOptions:[{name:"APIKEY",required:!0,type:"password",sensitive:!0,direction:"column"}]})},groq:{ai:!0,name:"groq",homepage:"https://groq.com/",docUrl:j.BASE_SITE+"docs/services/groq/",link1:"",link2:"",allProps:Ri({authOptions:[{name:"APIKEY",required:!0,type:"password",sensitive:!0,direction:"column"},{name:"apiUrl",direction:"column",labelKey:"field.apiUrl",required:!1,type:"text",descriptionKey:"description.apiUrl",descriptionLink1:j.BASE_SITE+"docs/services/ai/",default:"https://api.groq.com/openai/v1/chat/completions"}]})},azure:{name:"azure",homepage:"https://learn.microsoft.com/en-us/azure/cognitive-services/translator/text-translation-overview",docUrl:j.BASE_SITE+"docs/services/azure/",allProps:[{name:"name",labelKey:"field.name",placeholderKey:"field.namePlaceholder",required:!0,type:"text",direction:"column",providers:["custom"]},{name:"region",required:!1,default:"eastasia",type:"text"},{name:"APIKEY",required:!0,type:"password",sensitive:!0,direction:"column"},{name:"apiUrl",direction:"column",labelKey:"field.apiUrl",required:!1,type:"text",default:"https://api.cognitive.microsofttranslator.com/",descriptionKey:"description.azureApiUrl",optional:!0},{name:"enableRichTranslate",labelKey:"field.enableRichTranslate",descriptionKey:"description.enableRichTranslate",required:!1,type:"boolean",default:!1,optional:!0}]},volc:{name:"Volc",homepage:"https://www.volcengine.com/",docUrl:j.BASE_SITE+"docs/services/volcano/",allProps:[{name:"name",labelKey:"field.name",placeholderKey:"field.namePlaceholder",required:!0,type:"text",direction:"column",providers:["custom"]},{name:"accessKeyId",required:!0,type:"text",sensitive:!0,direction:"column"},{name:"secretAccessKey",required:!0,type:"password",sensitive:!0,direction:"column"},{name:"limit",required:!1,labelKey:"field.limitPerSecond",descriptionKey:"description.generalLimitPerSecond",type:"number",default:5,optional:!0},{name:"maxTextLengthPerRequest",required:!1,labelKey:"field.maxTextLengthPerRequest",descriptionKey:"description.maxTextLengthPerRequest",type:"number",default:1800,optional:!0},{name:"maxTextGroupLengthPerRequest",required:!1,labelKey:"field.maxTextGroupLengthPerRequest",descriptionKey:"description.maxTextGroupLengthPerRequest",type:"number",default:8,optional:!0}]},aliyun:{name:"Aliyun",homepage:"https://translate.alibaba.com/",docUrl:j.BASE_SITE+"docs/services/aliyun/",allProps:[{name:"name",labelKey:"field.name",placeholderKey:"field.namePlaceholder",required:!0,type:"text",direction:"column",providers:["custom"]},{name:"AccessKeyID",required:!0,type:"text",sensitive:!0,direction:"column"},{name:"AccessKeySecret",required:!0,type:"password",sensitive:!0,direction:"column"},{name:"scene",labelKey:"field.scene",descriptionKey:"description.scene",descriptionLink1:"https://help.aliyun.com/document_detail/158267.html",required:!1,optional:!0,type:"text",default:"general"}]},baidu:{name:"Baidu",homepage:"https://fanyi.baidu.com/",docUrl:j.BASE_SITE+"docs/services/baidu/",allProps:[{name:"name",labelKey:"field.name",placeholderKey:"field.namePlaceholder",required:!0,type:"text",direction:"column",providers:["custom"]},{name:"appid",required:!0,type:"text",sensitive:!0,direction:"column"},{name:"key",required:!0,type:"password",sensitive:!0,direction:"column"},{name:"limit",required:!1,labelKey:"field.limitPerSecond",descriptionKey:"description.generalLimitPerSecond",type:"number",default:1,optional:!0},{name:"maxTextLengthPerRequest",required:!1,labelKey:"field.maxTextLengthPerRequest",descriptionKey:"description.maxTextLengthPerRequest",type:"number",default:1800,optional:!0},{name:"maxTextGroupLengthPerRequest",required:!1,labelKey:"field.maxTextGroupLengthPerRequest",descriptionKey:"description.maxTextGroupLengthPerRequest",type:"number",default:8,optional:!0},{name:"action",required:!1,labelKey:"field.baiduAction",descriptionKey:"description.baiduAction",descriptionLink1:"https://fanyi-api.baidu.com/doc/21",type:"boolean",default:!1,optional:!0},{name:"domain",required:!1,labelKey:"field.domain",descriptionKey:"description.baiduField",descriptionLink1:"https://fanyi-api.baidu.com/doc/22",type:"text",default:"",optional:!0}]},tencent:{name:"Tencent",homepage:"https://fanyi.qq.com/translateapi",docUrl:j.BASE_SITE+"docs/services/tencent/",allProps:[{name:"name",labelKey:"field.name",placeholderKey:"field.namePlaceholder",required:!0,type:"text",direction:"column",providers:["custom"]},{name:"secretId",required:!0,type:"text",sensitive:!0,direction:"column"},{name:"secretKey",required:!0,type:"password",sensitive:!0,direction:"column"}]},"youdao-ziyue":{name:"YoudaoZiyue",homepage:"https://fanyi.youdao.com/#/AITranslate",docUrl:j.BASE_SITE+"docs/services/youdao-ziyue/",allProps:[{name:"name",labelKey:"field.name",placeholderKey:"field.namePlaceholder",required:!0,type:"text",direction:"column",providers:["custom"]},{name:"appKey",required:!0,type:"text",sensitive:!0,direction:"column"},{name:"appSecret",required:!0,type:"password",sensitive:!0,direction:"column"},{name:"prompt",labelKey:"Prompt",required:!1,placeholderKey:"description.ziyuePromptMaxLength",type:"textarea",optional:!0,default:""},{name:"limit",required:!1,labelKey:"field.limitPerSecond",descriptionKey:"description.generalLimitPerSecond",type:"number",default:1,optional:!0},{name:"maxTextLengthPerRequest",required:!1,labelKey:"field.maxTextLengthPerRequest",descriptionKey:"description.maxTextLengthPerRequest",type:"number",default:1200,optional:!0},{name:"maxTextGroupLengthPerRequest",required:!1,labelKey:"field.maxTextGroupLengthPerRequest",descriptionKey:"description.maxTextGroupLengthPerRequest",type:"number",default:10,optional:!0}]},youdao:{name:"Youdao",homepage:"https://youdao.com/",docUrl:j.BASE_SITE+"docs/services/youdao/",allProps:[{name:"name",labelKey:"field.name",placeholderKey:"field.namePlaceholder",required:!0,type:"text",direction:"column",providers:["custom"]},{name:"appId",required:!0,type:"text",sensitive:!0,direction:"column"},{name:"appSecret",required:!0,type:"password",sensitive:!0,direction:"column"},{name:"limit",required:!1,labelKey:"field.limitPerSecond",descriptionKey:"description.generalLimitPerSecond",type:"number",default:5,optional:!0},{name:"maxTextLengthPerRequest",required:!1,labelKey:"field.maxTextLengthPerRequest",descriptionKey:"description.maxTextLengthPerRequest",type:"number",default:1200,optional:!0},{name:"maxTextGroupLengthPerRequest",required:!1,labelKey:"field.maxTextGroupLengthPerRequest",descriptionKey:"description.maxTextGroupLengthPerRequest",type:"number",default:200,optional:!0},{name:"domain",required:!1,labelKey:"field.domain",descriptionKey:"description.domain",descriptionLink1:"https://fanyi.youdao.com/openapi/",type:"text",default:"general",optional:!0},{name:"vocabId",required:!1,labelKey:"field.vocabId",descriptionKey:"description.vocabId",type:"text",default:"",optional:!0}]},openrouter:{...Ho,name:"OpenRouter",homepage:"https://openrouter.ai/",docUrl:j.BASE_SITE+"docs/services/openrouter/"},caiyun:{name:"Caiyun",homepage:"https://fanyi.caiyunapp.com/",docUrl:j.BASE_SITE+"docs/services/caiyun/",allProps:[{name:"name",labelKey:"field.name",placeholderKey:"field.namePlaceholder",required:!0,type:"text",direction:"column",providers:["custom"]},{name:"token",required:!0,type:"password",sensitive:!0,direction:"column"}]},"custom-ai":Ho,openl:{name:"Openl",homepage:"https://openl.club/",docUrl:j.BASE_SITE+"docs/services/openL/",beta:!0,allProps:[{name:"name",labelKey:"field.name",placeholderKey:"field.namePlaceholder",required:!0,type:"text",direction:"column",providers:["custom"]},...H8,{type:"password",name:"apikey",required:!0,sensitive:!0,direction:"column"}],props:H8},deeplx:{name:"DeepLX (Beta)",beta:!0,homepage:"https://www.deepl.com/translator",allProps:[{name:"name",labelKey:"field.name",placeholderKey:"field.namePlaceholder",required:!0,type:"text",direction:"column",providers:["custom"]},{name:"url",label:"API URL",required:!0,type:"text"},{name:"limit",required:!1,labelKey:"field.limitPerSecond",descriptionKey:"description.generalLimitPerSecond",type:"number",default:5,optional:!0},{name:"maxTextLengthPerRequest",required:!1,labelKey:"field.maxTextLengthPerRequest",descriptionKey:"description.maxTextLengthPerRequest",type:"number",default:1200,optional:!0},{name:"maxTextGroupLengthPerRequest",required:!1,labelKey:"field.maxTextGroupLengthPerRequest",descriptionKey:"description.maxTextGroupLengthPerRequest",type:"number",default:1,optional:!0},{name:"enableRichTranslate",labelKey:"field.enableRichTranslate",descriptionKey:"description.enableRichTranslate",required:!1,type:"boolean",default:!1,optional:!0}]},niu:{name:"niutrans",homepage:"https://niutrans.com/",docUrl:j.BASE_SITE+"docs/services/niu/",allProps:[{name:"name",labelKey:"field.name",placeholderKey:"field.namePlaceholder",required:!0,type:"text",direction:"column",providers:["custom"]},{name:"APIKEY",required:!0,type:"password",sensitive:!0,direction:"column"}]},custom:{name:"Custom",beta:!0,homepage:j.BASE_SITE+"docs/services/custom/",docUrl:j.BASE_SITE+"docs/services/custom/",titleKey:"description.custom",allProps:[{name:"name",labelKey:"field.name",placeholderKey:"field.namePlaceholder",required:!0,type:"text",direction:"column",providers:["custom"]},{name:"url",label:"API URL",required:!0,type:"text"},{name:"langs",required:!1,labelKey:"field.langs",type:"textarea",default:"zh-CN,en",optional:!0},{name:"placeholderDelimiters",required:!1,labelKey:"field.placeholderDelimiters",type:"text",default:Vs,optional:!0},{name:"limit",required:!1,labelKey:"field.limitPerSecond",descriptionKey:"description.generalLimitPerSecond",type:"number",default:5,optional:!0},{name:"maxTextLengthPerRequest",required:!1,labelKey:"field.maxTextLengthPerRequest",descriptionKey:"description.maxTextLengthPerRequest",type:"number",default:1200,optional:!0},{name:"maxTextGroupLengthPerRequest",required:!1,labelKey:"field.maxTextGroupLengthPerRequest",descriptionKey:"description.maxTextGroupLengthPerRequest",type:"number",default:1,optional:!0}]},tenAlpha:{name:"TenAlpha",homepage:"https://fanyi.qq.com/",alpha:!0},cai:{name:"Cai",homepage:"https://fanyi.caiyunapp.com/",alpha:!0},you:{name:"You",alpha:!0,homepage:"https://youdao.com/"},volcAlpha:{name:"Volc Alpha",alpha:!0,homepage:"https://www.volcengine.com/"},d:{name:"D () ",canary:!0,homepage:"https://www.deepl.com/translator"},dpro:{name:"DPro (Canary) ",canary:!0,homepage:"https://www.deepl.com/translator"},papago:{name:"Papago",homepage:"https://translate.google.com/",canary:!0},mock:{name:"Mock",homepage:"https://www.google.com"},mock2:{name:"Mock2",homepage:"https://www.google.com"}};function G8(e){let t=lt().DEBUG==="1";return e.debug=t,e.alpha=t,e.beta=t,e.cache=!t,e.translationServices?.mock&&(e.translationServices.mock.visible=t),e}var zh;async function sg(){if(zh)return;let e=Be.runtime.getURL("default_config.content.json");zh=await(await fetch(e)).json()}function bn(){let e={...zh,buildinConfigUpdatedAt:It.BUILD_TIME},t={...e,targetLanguage:Ch,interfaceLanguage:"en",translationUrlPattern:{matches:[],excludeMatches:[]},translationBodyAreaPattern:{matches:[],excludeMatches:[],selectorMatches:[],excludeSelectorMatches:[]},translationTheme:"none",inputTranslationService:"inherit",mouseHoverTranslationService:"inherit",subtitleTranslateService:"inherit",translationArea:"main",translationStartMode:"dynamic",monkeyH5FloatBall:{...e.monkeyH5FloatBall},pcFloatBall:{...e.pcFloatBall},generalRule:{...e.generalRule}};return G8(t),t}function Hh(e,t,n){if(!t||!e||Object.keys(e).length===0)return e;let i=(n||bn()).translationServices||{},a=Object.values(i).filter(s=>s?.group==="pro").map(s=>s?.type),o=Object.values(i).filter(s=>s?.group==="free").map(s=>s?.type);return e.translationServices&&Object.keys(e.translationServices).forEach(s=>{if(s==="zhipu-pro"||s.startsWith("mock")||!e.translationServices)return;let u=e.translationServices?.[s];if(!u)return;let l=u?.provider==="custom";if(u={...u},delete u.provider,u.type==="custom-ai"){e.translationServices[s]={...u,group:"custom"};return}let c=Qn[s];if(!c)return;let d=c.allProps?.filter(v=>v.sensitive===!0).map(v=>v.name)||[],g=o.includes(s),f=!0;if(g&&!e.translationServices[`${s}-free`]){let v=JSON.parse(JSON.stringify(u));d.forEach(b=>{delete v[b]}),delete v.name,v.model&&(f=i[s]?.freeModels?.includes(v.model)),!f&&v.model&&delete v.model,Object.keys(v).length>0&&(e.translationServices[`${s}-free`]={...v,migrateFrom:s})}let p=a.includes(s);if(p&&!e.translationServices[`${s}-pro`]){let v=JSON.parse(JSON.stringify(u));d.forEach(b=>{delete v[b]}),delete v.name,Object.keys(v).length>0&&(e.translationServices[`${s}-pro`]={...v,migrateFrom:s})}let h=d.some(v=>u[v]),C=!p&&!(g&&f)||h||l,y=e.translationServices[`${s}-custom`];C&&!y?.extends&&s!=="ai"&&(e.translationServices[`${s}-custom`]={...u,migrateFrom:s,extends:s,visible:!0,group:"custom",type:s})}),e}function W8(e,t){return Vo(e,[t])[0]||t}function Vo(e,t){let n=e.translationServices||{},r=Object.values(n).filter(o=>o?.group==="max").map(o=>o),i=Object.values(n).filter(o=>o?.group==="pro").map(o=>o),a=Object.values(n).filter(o=>o?.group==="free").map(o=>o);return t.map(o=>o.includes("-")?o:i.find(s=>s.type===o)?o==="zhipu-pro"?o:`${o}-pro`:a.find(s=>s.type===o)?`${o}-free`:r.find(s=>s.type===o)?`${o}-max`:o)}function Ha(e,t,n){let{config:r}=e,i=r.defaultTranslationServicesOrder;return Vo(r,t).filter(o=>{let s=r.translationServices?.[o];return s?.visible==!1||n?.filterHiddenFreeModel&&og(r,o)?!1:i?.length&&s?.visible==null?i.includes(o):!0})}function Yn(e,t){let n=e.translationServices?.[t],r=oe.bind(null),i=n?.type||t,a=`translationServices.${i}`,o=r(a);return o==a&&(o=""),n?.group?n?.name||o||i:o||n?.name||i}function Xs(e,t){let n=e.translationServices?.[t];return n?.group==="pro"||n?.group==="max"}function ug(e,t){return e.translationServices?.[t]?.group==="pro"}function lg(e,t){return e.translationServices?.[t]?.group==="max"}function cr(e){return e.prompt?.trim().length>0}function cg(e){return cr(e)||e.withTerms}function Vh(e,t){return e.translationServices?.[t]?.group}function dg(e,t){switch(t){case"pro":return e.isPro||e.isMax;case"max":return e.isMax;case"free":return!0;case"custom":default:return!1}}var gg={max:"Max",pro:"Pro"};function mg(){return gt()?m8:Lh}function rO(){let e=new Map;return{get:function(n,r){let i=e.has(n)?e.get(n):void 0;return i===void 0&&arguments.length>=2?Promise.resolve(r):Promise.resolve(i)},getAll(){let n={};for(let[r,i]of e.entries())n[r]=i;return Promise.resolve(n)},set(n,r){return e.set(n,r),Promise.resolve()},remove(n){return(Array.isArray(n)?n:[n]).forEach(i=>e.delete(i)),Promise.resolve()},clear(){return e.clear(),Promise.resolve()},refresh(){return Promise.resolve()}}}function Gh(e){let t=()=>{let u=Be?.storage?.[e];if(!u)throw new Error(`Storage API not available: ${e}`);return u};return{get:function(u,l){return t().get(u).then(c=>{let d=c?.[u];return d===void 0&&arguments.length>=2?l:d})},getAll:()=>t().get(null).then(u=>u??{}),set:(u,l)=>t().set({[u]:l}),remove:u=>t().remove(u),clear:()=>{let u=t();return u.get(null).then(async l=>{let c=Object.keys(l??{});c.length>0&&await u.remove(c)})},refresh:()=>{try{let l=t().refresh;if(typeof l=="function")return Promise.resolve(l()).catch(()=>{})}catch{}return Promise.resolve()}}}var iO={local:Gh("local"),sync:Gh("sync"),session:Gh("session"),memory:rO()};var Ie=iO;var q8=ge+"SyncStoreKey_";function _t(e,t){let n=q8+e;return Ie.sync.get(n,t)}function Tt(e,t){let n=q8+e;return Ie.sync.set(n,t)}var Un=["auto","zh-CN","zh-TW","zh-HK","en","ja","ko","es","de","fr","pt","pt-br","ru","yue","ar","it","ms","id","vi","af","th","ur","zh-CN-NE","bo","wyw","am","az","be","ber-Latn","ber-Tfng","bg","bn","bs","ca","ceb","co","cs","cy","da","nl","el","eo","et","eu","fa","fi","fil","fj","fy","ga","gd","gl","gu","ha","haw","he","hi","hmn","hr","ht","hu","hy","ig","is","jw","ka","kk","km","kn","ku","ky","la","lb","lo","lt","lv","mg","mi","mk","ml","mn","mr","mt","mww","my","ne","no","ny","otq","pa","pl","ps","ro","sa","sd","si","sk","sl","sm","sn","so","sq","sr","sr-Cyrl","sr-Latn","st","su","sv","sw","ta","te","tg","tlh","tlh-Qaak","to","tr","ty","ug","uk","uz","xh","yi","yo","yua","zu","ur-roman"],gc={af:"Afrikaans",am:"Amharic",ar:"Arabic",auto:"Auto Detect",az:"Azerbaijani",be:"Belarusian","ber-Latn":"Tamazight","ber-Tfng":"Tamazight (Tifinagh)",bg:"Bulgarian",tn:"Zana",bn:"Bengali",bs:"Bosnian",bo:"Tibetan",ca:"Catalan",ceb:"Cebuano",co:"Corsican",cs:"Czech",cy:"Welsh",da:"Danish",de:"German",el:"Greek",en:"English",eo:"Esperanto",es:"Spanish",et:"Estonian",eu:"Basque",sa:"Sanskrit",fa:"Persian",fi:"Finnish",fil:"Filipino",fj:"Fijian",fr:"French",fy:"Frisian",ga:"Irish",gd:"Scottish Gaelic",gl:"Galician",gu:"Gujarati",ha:"Hausa",haw:"Hawaiian",he:"Hebrew",hi:"Hindi",hmn:"Hmong",hr:"Croatian",ht:"Haitian Creole",hu:"Hungarian",hy:"Armenian",id:"Indonesian",ig:"Igbo",is:"Icelandic",it:"Italian",ja:"Japanese",jw:"Javanese",ka:"Georgian",kk:"Kazakh",km:"Khmer",kn:"Kannada",ko:"Korean",ku:"Kurdish",ky:"Kyrgyz",la:"Latin",lb:"Luxembourgish",lo:"Lao",lt:"Lithuanian",lv:"Latvian",mg:"Malagasy",mi:"Maori",mk:"Macedonian",ml:"Malayalam",mn:"Mongolian",mr:"Marathi",ms:"Malay",mt:"Maltese",mww:"Hmong Daw",my:"Burmese",ne:"Nepali",nl:"Dutch",no:"Norwegian",ny:"Chichewa",otq:"Quer\xE9taro Otomi",pa:"Punjabi",pl:"Polish",ps:"Pashto",pt:"Portuguese","pt-br":"Portuguese (Brazil)","pt-BR":"Portuguese (Brazil)","pt-PT":"Portuguese (Portugal)",ro:"Romanian",ru:"Russian",sd:"Sindhi",si:"Sinhala",sk:"Slovak",sl:"Slovenian",sm:"Samoan",sn:"Shona",so:"Somali",sq:"Albanian",sr:"Serbian","sr-Cyrl":"Serbian (Cyrillic)","sr-Latn":"Serbian (Latin)",st:"Sesotho",su:"Sundanese",sv:"Swedish",sw:"Swahili",ta:"Tamil",te:"Telugu",tg:"Tajik",th:"Thai",tlh:"Klingon","tlh-Qaak":"Klingon (piqaD)",to:"Tongan",tr:"Turkish",ty:"Tahitian",ug:"Uyghur",uk:"Ukrainian",ur:"Urdu",uz:"Uzbek",vi:"Vietnamese",wyw:"Classical Chinese",xh:"Xhosa",placeholder:"Please Select",yi:"Yiddish",yo:"Yoruba",yua:"Yucatec Maya",yue:"Cantonese (Traditional)","zh-CN":"Simplified Chinese","zh-TW":"Traditional Chinese (Taiwan)","zh-HK":"Traditional Chinese (Hong Kong)","zh-CN-NE":"Northeastern Chinese",zu:"Zulu","<all>":"All Languages","ur-roman":"Roman Urdu"},K8={af:"Afrikaans",am:"\u12A0\u121B\u122D\u129B",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",auto:"Auto Detect",az:"Az\u0259rbaycanca",be:"\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u043A\u0430\u044F","ber-Latn":"Tamazight","ber-Tfng":"\u2D5C\u2D30\u2D4E\u2D30\u2D63\u2D49\u2D56\u2D5C",bg:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",tn:"Setswana",bn:"\u09AC\u09BE\u0982\u09B2\u09BE",bs:"Bosanski",bo:"\u0F56\u0F7C\u0F51\u0F0B\u0F61\u0F72\u0F42",ca:"Catal\xE0",ceb:"Binisaya",co:"Corsu",cs:"\u010Ce\u0161tina",cy:"Cymraeg",da:"Dansk",de:"Deutsch",el:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",en:"English",eo:"Esperanto",es:"Espa\xF1ol",et:"Eesti",eu:"Euskara",sa:"\u0938\u0902\u0938\u094D\u0915\u0943\u0924\u092E\u094D",fa:"\u0641\u0627\u0631\u0633\u06CC",fi:"Suomi",fil:"Filipino",fj:"Na Vosa Vakaviti",fr:"Fran\xE7ais",fy:"Frysk",ga:"Gaeilge",gd:"G\xE0idhlig",gl:"Galego",gu:"\u0A97\u0AC1\u0A9C\u0AB0\u0ABE\u0AA4\u0AC0",ha:"Hausa",haw:"\u02BB\u014Clelo Hawai\u02BBi",he:"\u05E2\u05D1\u05E8\u05D9\u05EA",hi:"\u0939\u093F\u0928\u094D\u0926\u0940",hmn:"Hmoob",hr:"Hrvatski",ht:"Krey\xF2l Ayisyen",hu:"Magyar",hy:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",id:"Bahasa Indonesia",ig:"As\u1EE5s\u1EE5 Igbo",is:"\xCDslenska",it:"Italiano",ja:"\u65E5\u672C\u8A9E",jw:"Basa Jawa",ka:"\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8",kk:"\u049A\u0430\u0437\u0430\u049B \u0422\u0456\u043B\u0456",km:"\u1797\u17B6\u179F\u17B6\u1781\u17D2\u1798\u17C2\u179A",kn:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",ko:"\uD55C\uAD6D\uC5B4",ku:"Kurd\xEE",ky:"\u041A\u044B\u0440\u0433\u044B\u0437\u0447\u0430",la:"Latina",lb:"L\xEBtzebuergesch",lo:"\u0EA5\u0EB2\u0EA7",lt:"Lietuvi\u0173",lv:"Latvie\u0161u",mg:"Malagasy",mi:"M\u0101ori",mk:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438",ml:"\u0D2E\u0D32\u0D2F\u0D3E\u0D33\u0D02",mn:"\u041C\u043E\u043D\u0433\u043E\u043B",mr:"\u092E\u0930\u093E\u0920\u0940",ms:"Bahasa Melayu",mt:"Malti",mww:"Hmong Daw",my:"\u1019\u103C\u1014\u103A\u1019\u102C\u1005\u102C",ne:"\u0928\u0947\u092A\u093E\u0932\u0940",nl:"Nederlands",no:"Norsk",ny:"Chichewa",otq:"H\xF1\xE4h\xF1u",pa:"\u0A2A\u0A70\u0A1C\u0A3E\u0A2C\u0A40",pl:"Polski",ps:"\u067E\u069A\u062A\u0648",pt:"Portugu\xEAs","pt-br":"Portugu\xEAs (Brasil)","pt-BR":"Portugu\xEAs (Brasil)","pt-PT":"Portugu\xEAs (Portugal)",ro:"Rom\xE2n\u0103",ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",sd:"\u0633\u0646\u068C\u064A",si:"\u0DC3\u0DD2\u0D82\u0DC4\u0DBD",sk:"Sloven\u010Dina",sl:"Sloven\u0161\u010Dina",sm:"Gagana Samoa",sn:"ChiShona",so:"Soomaali",sq:"Shqip",sr:"\u0421\u0440\u043F\u0441\u043A\u0438","sr-Cyrl":"\u0421\u0440\u043F\u0441\u043A\u0438 (\u040B\u0438\u0440\u0438\u043B\u0438\u0446\u0430)","sr-Latn":"Srpski (Latinica)",st:"Sesotho",su:"Basa Sunda",sv:"Svenska",sw:"Kiswahili",ta:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",te:"\u0C24\u0C46\u0C32\u0C41\u0C17\u0C41",tg:"\u0422\u043E\u04B7\u0438\u043A\u04E3",th:"\u0E44\u0E17\u0E22",tlh:"tlhIngan Hol","tlh-Qaak":"tlhIngan Hol (pIqaD)",to:"lea fakatonga",tr:"T\xFCrk\xE7e",ty:"Reo Tahiti",ug:"\u0626\u06C7\u064A\u063A\u06C7\u0631\u0686\u06D5",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",ur:"\u0627\u0631\u062F\u0648",uz:"O\u02BBzbek",vi:"Ti\u1EBFng Vi\u1EC7t",wyw:"\u6587\u8A00\u6587",xh:"isiXhosa",placeholder:"Please Select",yi:"\u05D9\u05D9\u05B4\u05D3\u05D9\u05E9",yo:"\xC8d\xE8 Yor\xF9b\xE1",yua:"M\xE0aya T'\xE0an",yue:"\u7CB5\u8A9E","zh-CN":"\u7B80\u4F53\u4E2D\u6587","zh-TW":"\u7E41\u9AD4\u4E2D\u6587-\u53F0\u6E7E","zh-HK":"\u7E41\u9AD4\u4E2D\u6587-\u9999\u6E2F","zh-CN-NE":"\u6771\u5317\u5B98\u8A71",zu:"isiZulu","<all>":"All Languages","ur-roman":"Roman Urdu"},mc={placeholder:"\u8BF7\u9009\u62E9",af:"\u5357\u975E\u8377\u5170\u8BED",am:"\u963F\u59C6\u54C8\u62C9\u8BED",ar:"\u963F\u62C9\u4F2F\u8BED",auto:"\u81EA\u52A8\u68C0\u6D4B",az:"\u963F\u585E\u62DC\u7586\u8BED",be:"\u767D\u4FC4\u7F57\u65AF\u8BED","ber-Latn":"\u5854\u9A6C\u9F50\u683C\u7279\u8BED","ber-Tfng":"\u5854\u9A6C\u9F50\u683C\u7279\u8BED\uFF08\u63D0\u975E\u7EB3\u6587\uFF09",bg:"\u4FDD\u52A0\u5229\u4E9A\u8BED",tn:"\u8D5E\u7EB3\u8BED",bn:"\u5B5F\u52A0\u62C9\u8BED",bs:"\u6CE2\u65AF\u5C3C\u4E9A\u8BED",bo:"\u85CF\u8BED",ca:"\u52A0\u6CF0\u7F57\u5C3C\u4E9A\u8BED",ceb:"\u5BBF\u52A1\u8BED",co:"\u79D1\u897F\u5609\u8BED",cs:"\u6377\u514B\u8BED",cy:"\u5A01\u5C14\u58EB\u8BED",da:"\u4E39\u9EA6\u8BED",de:"\u5FB7\u8BED",el:"\u5E0C\u814A\u8BED",en:"\u82F1\u8BED",eo:"\u4E16\u754C\u8BED",es:"\u897F\u73ED\u7259\u8BED",et:"\u7231\u6C99\u5C3C\u4E9A\u8BED",eu:"\u5DF4\u65AF\u514B\u8BED",sa:"\u68B5\u8BED",fa:"\u6CE2\u65AF\u8BED",fi:"\u82AC\u5170\u8BED",fil:"\u83F2\u5F8B\u5BBE\u8BED",fj:"\u6590\u6D4E\u8BED",fr:"\u6CD5\u8BED",fy:"\u5F17\u91CC\u65AF\u5170\u8BED",ga:"\u7231\u5C14\u5170\u8BED",gd:"\u82CF\u683C\u5170\u76D6\u5C14\u8BED",gl:"\u52A0\u5229\u897F\u4E9A\u8BED",gu:"\u53E4\u5409\u62C9\u7279\u8BED",ha:"\u8C6A\u8428\u8BED",haw:"\u590F\u5A01\u5937\u8BED",he:"\u5E0C\u4F2F\u6765\u8BED",hi:"\u5370\u5730\u8BED",hmn:"\u82D7\u8BED",hr:"\u514B\u7F57\u5730\u4E9A\u8BED",ht:"\u6D77\u5730\u514B\u91CC\u5965\u5C14\u8BED",hu:"\u5308\u7259\u5229\u8BED",hy:"\u4E9A\u7F8E\u5C3C\u4E9A\u8BED",id:"\u5370\u5EA6\u5C3C\u897F\u4E9A\u8BED",ig:"\u4F0A\u535A\u8BED",is:"\u51B0\u5C9B\u8BED",it:"\u610F\u5927\u5229\u8BED",ja:"\u65E5\u8BED",jw:"\u722A\u54C7\u8BED",ka:"\u683C\u9C81\u5409\u4E9A\u8BED",kk:"\u54C8\u8428\u514B\u8BED",km:"\u9AD8\u68C9\u8BED",kn:"\u5361\u7EB3\u8FBE\u8BED",ko:"\u97E9\u8BED",ku:"\u5E93\u5C14\u5FB7\u8BED",ky:"\u5409\u5C14\u5409\u65AF\u8BED",la:"\u62C9\u4E01\u8BED",lb:"\u5362\u68EE\u5821\u8BED",lo:"\u8001\u631D\u8BED",lt:"\u7ACB\u9676\u5B9B\u8BED",lv:"\u62C9\u8131\u7EF4\u4E9A\u8BED",mg:"\u9A6C\u62C9\u52A0\u65AF\u8BED",mi:"\u6BDB\u5229\u8BED",mk:"\u9A6C\u5176\u987F\u8BED",ml:"\u9A6C\u62C9\u96C5\u62C9\u59C6\u8BED",mn:"\u8499\u53E4\u8BED",mr:"\u9A6C\u62C9\u5730\u8BED",ms:"\u9A6C\u6765\u8BED",mt:"\u9A6C\u8033\u4ED6\u8BED",mww:"\u767D\u82D7\u8BED",my:"\u7F05\u7538\u8BED",ne:"\u5C3C\u6CCA\u5C14\u8BED",nl:"\u8377\u5170\u8BED",no:"\u632A\u5A01\u8BED",ny:"\u9F50\u5207\u74E6\u8BED\uFF08\u5C3C\u626C\u8D3E\u8BED\uFF09",otq:"\u514B\u96F7\u5854\u7F57\u5965\u6258\u7C73\u8BED",pa:"\u65C1\u906E\u666E\u8BED",pl:"\u6CE2\u5170\u8BED",ps:"\u666E\u4EC0\u56FE\u8BED",pt:"\u8461\u8404\u7259\u8BED","pt-br":"\u8461\u8404\u7259\u8BED\uFF08\u5DF4\u897F\uFF09","pt-BR":"\u8461\u8404\u7259\u8BED\uFF08\u5DF4\u897F\uFF09","pt-PT":"\u8461\u8404\u7259\u8BED\uFF08\u8461\u8404\u7259\uFF09",ro:"\u7F57\u9A6C\u5C3C\u4E9A\u8BED",ru:"\u4FC4\u8BED",sd:"\u4FE1\u5FB7\u8BED",si:"\u50E7\u4F3D\u7F57\u8BED",sk:"\u65AF\u6D1B\u4F10\u514B\u8BED",sl:"\u65AF\u6D1B\u6587\u5C3C\u4E9A\u8BED",sm:"\u8428\u6469\u4E9A\u8BED",sn:"\u4FEE\u7EB3\u8BED",so:"\u7D22\u9A6C\u91CC\u8BED",sq:"\u963F\u5C14\u5DF4\u5C3C\u4E9A\u8BED",sr:"\u585E\u5C14\u7EF4\u4E9A\u8BED","sr-Cyrl":"\u585E\u5C14\u7EF4\u4E9A\u8BED\uFF08\u897F\u91CC\u5C14\u6587\uFF09","sr-Latn":"\u585E\u5C14\u7EF4\u4E9A\u8BED\uFF08\u62C9\u4E01\u6587\uFF09",st:"\u585E\u7D22\u6258\u8BED",su:"\u5DFD\u4ED6\u8BED",sv:"\u745E\u5178\u8BED",sw:"\u65AF\u74E6\u5E0C\u91CC\u8BED",ta:"\u6CF0\u7C73\u5C14\u8BED",te:"\u6CF0\u5362\u56FA\u8BED",tg:"\u5854\u5409\u514B\u8BED",th:"\u6CF0\u8BED",tlh:"\u514B\u6797\u8D21\u8BED","tlh-Qaak":"\u514B\u6797\u8D21\u8BED\uFF08piqaD\uFF09",to:"\u6C64\u52A0\u8BED",tr:"\u571F\u8033\u5176\u8BED",ty:"\u5854\u5E0C\u63D0\u8BED",ug:"\u7EF4\u543E\u5C14\u8BED",uk:"\u4E4C\u514B\u5170\u8BED",ur:"\u4E4C\u5C14\u90FD\u8BED",uz:"\u4E4C\u5179\u522B\u514B\u8BED",vi:"\u8D8A\u5357\u8BED",wyw:"\u6587\u8A00\u6587",xh:"\u73ED\u56FE\u8BED",yi:"\u610F\u7B2C\u7EEA\u8BED",yo:"\u7EA6\u9C81\u5DF4\u8BED",yua:"\u5C24\u5361\u5766\u739B\u96C5\u8BED",yue:"\u7CA4\u8BED","zh-CN":"\u7B80\u4F53\u4E2D\u6587","zh-TW":"\u7E41\u4F53\u4E2D\u6587-\u53F0\u6E7E","zh-HK":"\u7E41\u4F53\u4E2D\u6587-\u9999\u6E2F","zh-CN-NE":"\u4E1C\u5317\u8BDD",zu:"\u7956\u9C81\u8BED","<all>":"\u6240\u6709\u8BED\u8A00","ur-roman":"\u7F57\u9A6C\u4E4C\u5C14\u90FD\u8BED"},fc={placeholder:"\u8ACB\u9078\u64C7",af:"\u963F\u975E\u5229\u5361\u8A9E",am:"\u963F\u59C6\u54C8\u62C9\u8A9E",ar:"\u963F\u62C9\u4F2F\u8A9E",auto:"\u81EA\u52D5\u6AA2\u6E2C",az:"\u963F\u585E\u62DC\u7586\u8A9E",be:"\u767D\u4FC4\u7F85\u65AF\u8A9E","ber-Latn":"\u5854\u99AC\u9F4A\u683C\u7279\u8A9E","ber-Tfng":"\u5854\u99AC\u9F4A\u683C\u7279\u8A9E\uFF08\u63D0\u975E\u7D0D\u6587\uFF09",bg:"\u4FDD\u52A0\u5229\u4E9E\u8A9E",tn:"\u8D0A\u7D0D\u8A9E",bn:"\u5B5F\u52A0\u62C9\u8A9E",bs:"\u6CE2\u65AF\u5C3C\u4E9E\u8A9E",bo:"\u85CF\u8A9E",ca:"\u52A0\u6CF0\u862D\u8A9E",ceb:"\u5BBF\u9727\u8A9E",co:"\u79D1\u897F\u5609\u8A9E",cs:"\u6377\u514B\u8A9E",cy:"\u5A01\u723E\u65AF\u8A9E",da:"\u4E39\u9EA5\u8A9E",de:"\u5FB7\u8A9E",el:"\u5E0C\u81D8\u8A9E",en:"\u82F1\u8A9E",eo:"\u4E16\u754C\u8A9E",es:"\u897F\u73ED\u7259\u8A9E",et:"\u611B\u6C99\u5C3C\u4E9E\u8A9E",eu:"\u5DF4\u65AF\u514B\u8A9E",sa:"\u68B5\u8A9E",fa:"\u6CE2\u65AF\u8A9E",fi:"\u82AC\u862D\u8A9E",fil:"\u83F2\u5F8B\u8CD3\u8A9E",fj:"\u6590\u6FDF\u8A9E",fr:"\u6CD5\u8A9E",fy:"\u5F17\u91CC\u897F\u8A9E",ga:"\u611B\u723E\u862D\u8A9E",gd:"\u8607\u683C\u862D\u84CB\u723E\u8A9E",gl:"\u52A0\u5229\u897F\u4E9E\u8A9E",gu:"\u53E4\u5409\u62C9\u7279\u8A9E",ha:"\u8C6A\u6492\u8A9E",haw:"\u590F\u5A01\u5937\u8A9E",he:"\u5E0C\u4F2F\u4F86\u8A9E",hi:"\u5370\u5730\u8A9E",hmn:"\u82D7\u8A9E",hr:"\u514B\u7F85\u5730\u4E9E\u8A9E",ht:"\u6D77\u5730\u514B\u91CC\u5967\u723E\u8A9E",hu:"\u5308\u7259\u5229\u8A9E",hy:"\u4E9E\u7F8E\u5C3C\u4E9E\u8A9E",id:"\u5370\u5C3C\u8A9E",ig:"\u4F0A\u535A\u8A9E",is:"\u51B0\u5CF6\u8A9E",it:"\u610F\u5927\u5229\u8A9E",ja:"\u65E5\u8A9E",jw:"\u722A\u54C7\u8A9E",ka:"\u55AC\u6CBB\u4E9E\u8A9E",kk:"\u54C8\u85A9\u514B\u8A9E",km:"\u9AD8\u68C9\u8A9E",kn:"\u574E\u7D0D\u9054\u8A9E",ko:"\u97D3\u8A9E",ku:"\u5EAB\u723E\u5FB7\u8A9E",ky:"\u5409\u723E\u5409\u65AF\u8A9E",la:"\u62C9\u4E01\u8A9E",lb:"\u76E7\u68EE\u5821\u8A9E",lo:"\u8001\u64BE\u8A9E",lt:"\u7ACB\u9676\u5B9B\u8A9E",lv:"\u62C9\u812B\u7DAD\u4E9E\u8A9E",mg:"\u99AC\u62C9\u52A0\u65AF\u8A9E",mi:"\u6BDB\u5229\u8A9E",mk:"\u99AC\u5176\u9813\u8A9E",ml:"\u99AC\u62C9\u96C5\u62C9\u59C6\u8A9E",mn:"\u8499\u53E4\u8A9E",mr:"\u99AC\u62C9\u5730\u8A9E",ms:"\u99AC\u4F86\u8A9E",mt:"\u99AC\u723E\u4ED6\u8A9E",mww:"\u767D\u82D7\u8A9E",my:"\u7DEC\u7538\u8A9E",ne:"\u5C3C\u6CCA\u723E\u8A9E",nl:"\u8377\u862D\u8A9E",no:"\u632A\u5A01\u8A9E",ny:"\u9F4A\u5207\u74E6\u8A9E",otq:"\u594E\u96F7\u5854\u7F85\u5967\u6258\u7C73\u8A9E",pa:"\u65C1\u906E\u666E\u8A9E",pl:"\u6CE2\u862D\u8A9E",ps:"\u666E\u4EC0\u5716\u8A9E",pt:"\u8461\u8404\u7259\u8A9E","pt-br":"\u8461\u8404\u7259\u8A9E\uFF08\u5DF4\u897F\uFF09","pt-BR":"\u8461\u8404\u7259\u8A9E\uFF08\u5DF4\u897F\uFF09","pt-PT":"\u8461\u8404\u7259\u8A9E\uFF08\u8461\u8404\u7259\uFF09",ro:"\u7F85\u99AC\u5C3C\u4E9E\u8A9E",ru:"\u4FC4\u8A9E",sd:"\u4FE1\u5FB7\u8A9E",si:"\u50E7\u4F3D\u7F85\u8A9E",sk:"\u65AF\u6D1B\u4F10\u514B\u8A9E",sl:"\u65AF\u6D1B\u7DAD\u5C3C\u4E9E\u8A9E",sm:"\u85A9\u6469\u4E9E\u8A9E",sn:"\u7D39\u7D0D\u8A9E",so:"\u7D22\u99AC\u91CC\u8A9E",sq:"\u963F\u723E\u5DF4\u5C3C\u4E9E\u8A9E",sr:"\u585E\u723E\u7DAD\u4E9E\u8A9E","sr-Cyrl":"\u585E\u723E\u7DAD\u4E9E\u8A9E (\u897F\u91CC\u723E\u6587)","sr-Latn":"\u585E\u723E\u7DAD\u4E9E\u8A9E (\u62C9\u4E01\u6587)",st:"\u585E\u7D22\u6258\u8A9E",su:"\u5DFD\u4ED6\u8A9E",sv:"\u745E\u5178\u8A9E",sw:"\u65AF\u74E6\u5E0C\u91CC\u8A9E",ta:"\u6CF0\u7C73\u723E\u8A9E",te:"\u6CF0\u76E7\u56FA\u8A9E",tg:"\u5854\u5409\u514B\u8A9E",th:"\u6CF0\u8A9E",tlh:"\u514B\u6797\u8CA2\u8A9E","tlh-Qaak":"\u514B\u6797\u8CA2\u8A9E (piqaD)",to:"\u6771\u52A0\u8A9E",tr:"\u571F\u8033\u5176\u8A9E",ty:"\u5854\u5E0C\u63D0\u8A9E",ug:"\u7DAD\u543E\u723E\u8A9E",uk:"\u70CF\u514B\u862D\u8A9E",ur:"\u70CF\u723E\u90FD\u8A9E",uz:"\u70CF\u8332\u5225\u514B\u8A9E",vi:"\u8D8A\u5357\u8A9E",wyw:"\u6587\u8A00\u6587",xh:"\u79D1\u85A9\u8A9E",yi:"\u610F\u7B2C\u7DD2\u8A9E",yo:"\u7D04\u9B6F\u5DF4\u8A9E",yua:"\u5C24\u52A0\u6566\u99AC\u96C5\u8A9E",yue:"\u5EE3\u6771\u8A71 (\u50B3\u7D71)","zh-CN":"\u7C21\u9AD4\u4E2D\u6587","zh-TW":"\u7E41\u9AD4\u4E2D\u6587-\u53F0\u7063","zh-HK":"\u7E41\u9AD4\u4E2D\u6587-\u9999\u6E2F","zh-CN-NE":"\u6771\u5317\u8A71",zu:"\u7956\u9B6F\u8A9E","<all>":"\u6240\u6709\u8A9E\u8A00","ur-roman":"\u7F57\u9A6C\u4E4C\u723E\u90FD\u8A9E"},Ni=["zh-CN","zh-TW","ja","th","lo","km","my","bo","vi","sa","su","jw","ug","haw","ko"],$s=[["auto","auto"],["zh-CN","Simplified Chinese"],["zh-TW","Traditional Chinese (Taiwan)"],["zh-HK","Traditional Chinese (Hong Kong)"],["zh-CN-NE","Northeastern Chinese"],["en","English"],["yue","Cantonese"],["bo","\u85CF\u8BED"],["wyw","Classical Chinese"],["ja","Japanese"],["ko","Korean"],["fr","French"],["de","German"],["es","Spanish"],["it","Italian"],["ru","Russian"],["pt","Portuguese"],["pt-br","Portuguese (Brazil)"],["nl","Dutch"],["pl","Polish"],["ar","Arabic"],["af","Afrikaans"],["am","Amharic"],["az","Azerbaijani"],["be","Belarusian"],["bg","Bulgarian"],["bn","Bengali"],["bs","Bosnian"],["ca","Catalan"],["ceb","Cebuano"],["co","Corsican"],["no","Norwegian"],["cs","Czech"],["cy","Welsh"],["da","Danish"],["el","Greek"],["eo","Esperanto"],["et","Estonian"],["eu","Basque"],["fa","Persian"],["fi","Finnish"],["fj","Fijian"],["fil","Filipino"],["fy","Western Frisian"],["ga","Irish"],["gd","Scottish Gaelic"],["gl","Galician"],["gu","Gujarati"],["ha","Hausa"],["haw","Hawaiian"],["he","Hebrew"],["hi","Hindi"],["hmn","Hmong"],["hr","Croatian"],["ht","Haitian Creole"],["hu","Hungarian"],["hy","Armenian"],["id","Indonesian"],["ig","Igbo"],["is","Icelandic"],["jw","Javanese"],["ka","Georgian"],["kk","Kazakh"],["km","Khmer"],["kn","Kannada"],["ku","Kurdish"],["ky","Kyrgyz"],["la","Lao"],["lb","Luxembourgish"],["lo","Lao"],["lt","Lithuanian"],["lv","Latvian"],["mg","Malagasy"],["mi","Maori"],["mk","Macedonian"],["ml","Malayalam"],["mn","Mongolian"],["mr","Marathi"],["ms","Malay"],["mt","Maltese"],["my","Burmese"],["pa","Punjabi"],["ps","Pashto"],["ro","Romanian"],["si","Sinhala"],["sk","Slovak"],["sl","Slovene"],["sa","Sanskrit"],["sm","Samoan"],["sn","Shona"],["so","Somali"],["sq","Albanian"],["sr","Serbian"],["sr-Cyrl","Serbian (Cyrillic)"],["sr-Latn","Serbian (Latin)"],["st","Southern Sotho"],["su","Sundanese"],["sv","Swedish"],["sw","Swahili"],["ta","Tamil"],["te","Telugu"],["tg","Tajik"],["th","Thai"],["tr","Turkish"],["ug","Uyghur"],["uk","Ukrainian"],["ur","Urdu"],["ur-roman","Roman Urdu"],["uz","Uzbek"],["vi","Vietnamese"],["xh","Xhosa"],["yi","Yiddish"],["yo","Yoruba"],["zu","Zulu"]];function ye(e){if(typeof e!="string")return"auto";let t=e.toLowerCase();if(t==="und")return"auto";if(t==="zh"||t.startsWith("zh-hans"))return"zh-CN";if(t.startsWith("zh-hk"))return"zh-HK";if(t.startsWith("zh-hant")||t.startsWith("zh-tw")||t.startsWith("yue"))return"zh-TW";if(t.startsWith("zh-"))return"zh-CN";if(t==="iw")return"he";if(t==="jv")return"jw";let n=Un.map(i=>i.toLowerCase()),r=n.indexOf(t);if(r===-1)if(t.indexOf("-")>=0){t=t.split("-")[0];let i=n.indexOf(t);return i===-1?"auto":Un[i]}else return"auto";else return Un[r]}function Q8(){return ye(document?.documentElement?.lang||"auto")}var hc="user_info",fg="user_token",Go=ge+"CacheKey_",pg=Go+hc;async function pc(e,t,n){let r=Go+e;if(n){let i=await Ie.local.get(e,t);if(i!=null)return i}return await Ie.local.get(r,t)}function aO(){Ie.local.refresh()}function oO(e,t){let n=Go+e;return Ie.local.get(n).then(r=>{if(r==null)return t;let{value:i,expired:a}=r;return a&&a<Date.now()?t:i})}function sO(e,t,n){let r=Go+e,i=Date.now()+n;return Ie.local.set(r,{value:t,expired:i})}function Y8(e,t,n){let r=Go+e;return n?Ie.local.set(e,t):Ie.local.set(r,t)}function Wh(e,t){let n=Go+e;return t&&Ie.local.remove(e),Ie.local.remove(n)}async function uO(){let e=await Ie.local.getAll();for(let t in e)t.startsWith(Go)&&await Ie.local.remove(t)}async function lO(){let t=Ze()?await Ie.local.get(pg,null):await pc(hc,null,!0);return t&&!t.token&&(t.token=await qh()),t}async function cO(e){let t=e.token||await qh();e.token=t,Ze()&&await Ie.local.set(pg,e),await Ie.local.set(hc,e),await Ie.local.set(fg,t)}function dO(e){return Ie.local.set(fg,e)}async function qh(){if(Ze()){let n=await Ie.local.get(pg,null);if(n?.token)return n.token}let e=await pc(fg,"",!0);return e||(await pc(hc,null,!0))?.token||""}async function gO(){Ze()&&await Ie.local.remove(pg),await Wh(hc,!0),await Wh(fg,!0)}async function mO(){return await pc(qs,null,!0)}function fO(e){return Y8(qs,e,!0)}var pO={getUserInfo:lO,saveUserInfo:cO,setUserToken:dO,getUserToken:qh,clearUserInfo:gO,getPluginRegion:mO,setPluginRegion:fO,setValue:Y8,getValue:pc,getExpired:oO,setExpired:sO,remove:Wh,clear:uO,refresh:aO},le=pO;function Mt(e){return!!(e&&e.subscription&&e.subscription.subscriptionStatus==="active")}function hg(e){return e?.subscription?.memberShip==="max"||e?.subscription?.memberType==="team"}function Z8(e){if(e){let t=new Date(e.createTime),n=hO(t),r="free",i="unknown";return e.subscription&&e.subscription.subscriptionStatus==="active"&&(r=e.subscription.subscriptionType),e.subscription&&e.subscription.subscriptionId&&(e.subscription.subscriptionId.startsWith("sub_")?i="stripe":i="admin"),e.subscription?.isTrial&&(r="trial"),{user_type:r,user_register_day:n,subscription_from:i}}else return null}function hO(e){try{let n=e.toLocaleString("en-US",{timeZone:"Asia/Shanghai"}).split(" ")[0];n.endsWith(",")&&(n=n.slice(0,-1));let[r,i,a]=n.split("/");return n=`${a}-${r}-${i}`,n}catch{return"unknown"}}async function Kh(e){if(e?.isPro)return!0;let t=await le.getUserInfo();return Mt(t)}async function Ir(){let e=await le.getUserInfo();return Mt(e)}async function Va(e){let t=e.user||await le.getUserInfo();if(Mt(t))return!0;if(!e.rule.imageRule.enableFreeCredit||!t)return!1;let n=t.comicsFreeCredit;return n?(n.comicsFreeCreditLimit||0)-(n.comicsFreeCreditUsed||0)>0:!1}var J8=ge+"StoreKey_";function Qr(e,t){let n=J8+e;return Ie.local.get(n,t)}function Ga(e,t){let n=J8+e;return Ie.local.set(n,t)}var yg={manifest_version:3,name:"__MSG_brandName__",description:"__MSG_brandDescription__",version:"1.27.3",default_locale:"en",background:{service_worker:"background.js"},web_accessible_resources:["styles/inject.css","pdf/index.html","video-subtitle/inject.js","image/inject.js","tesseract/worker.min.js","tesseract/tesseract-core-simd-lstm.wasm.js","browser-bridge/inject.js","side-panel.html","default_config.json","default_config.content.json","locales.json"],content_security_policy:{extension_pages:"script-src 'self' 'wasm-unsafe-eval'; object-src 'self'"},content_scripts:[{matches:["<all_urls>","file:///*","*://*/*"],js:["content_script.js"],run_at:"document_start",all_frames:!0}],commands:{toggleTranslatePage:{suggested_key:{default:"Alt+A"},description:"__MSG_toggleTranslatePageOfficialPage__"},toggleTranslateTheWholePage:{suggested_key:{default:"Alt+W"},description:"__MSG_toggleTranslateTheWholePage__"},toggleOnlyTransation:{description:"__MSG_toggleOnlyTransation__"},toggleTranslateToThePageEndImmediately:{description:"__MSG_toggleTranslateToThePageEndImmediately__"},toggleTranslateTheMainPage:{description:"__MSG_toggleTranslateTheMainPage__"},toggleTranslationMask:{description:"__MSG_toggleTranslationMask__"},toggleMouseHoverTranslateDirectly:{description:"__MSG_toggleMouseHoverTranslateDirectly__"},translateWithOpenAI:{description:"__MSG_translateWithOpenAI__"},translateWithDeepL:{description:"__MSG_translateWithDeepL__"},translateWithGoogle:{description:"__MSG_translateWithGoogle__"},translateWithTransmart:{description:"__MSG_translateWithTransmart__"},translateWithGemini:{description:"__MSG_translateWithGemini__"},translateWithBing:{description:"__MSG_translateWithBing__"},translateWithClaude:{description:"__MSG_translateWithClaude__"},translateInputBox:{suggested_key:{default:"Alt+I"},description:"__MSG_translateInputBox__"},toggleSidePanel:{suggested_key:{default:"Alt+S"},description:"__MSG_toggleSidePanel__"},openAiWritingModal:{description:"__MSG_openAiWritingModal__"},translateWithCustom1:{description:"__MSG_translateWithCustom1__"},translateWithCustom2:{description:"__MSG_translateWithCustom2__"},translateWithCustom3:{description:"__MSG_translateWithCustom3__"},toggleVideoSubtitlePreTranslation:{description:"__MSG_toggleVideoSubtitlePreTranslation__"}},options_page:"options.html",options_ui:{page:"options.html",open_in_tab:!0,browser_style:!1},permissions:["storage","activeTab","contextMenus","webRequest","webRequestBlocking","declarativeNetRequestWithHostAccess","declarativeNetRequestFeedback","declarativeNetRequest","offscreen","sidePanel"],host_permissions:["<all_urls>"],declarative_net_request:{rule_resources:[{id:"ruleset_1",enabled:!0,path:"request_modifier_rule.json"}]},action:{default_popup:"popup.html",default_icon:{"32":"icons/32.png","48":"icons/48.png","64":"icons/64.png","128":"icons/128.png","256":"icons/256.png"}},browser_action:{default_icon:"icons/32.png",default_popup:"popup.html",theme_icons:[{dark:"icons/32.png",light:"icons/dark-32.png",size:32},{dark:"icons/48.png",light:"icons/dark-48.png",size:48},{dark:"icons/64.png",light:"icons/dark-64.png",size:64},{dark:"icons/128.png",light:"icons/dark-128.png",size:128},{dark:"icons/256.png",light:"icons/dark-256.png",size:256}]},icons:{"32":"icons/32.png","48":"icons/48.png","64":"icons/64.png","128":"icons/128.png","256":"icons/256.png"},browser_specific_settings:{gecko:{id:"{5efceaa7-f3a2-4e59-a54b-85319448e305}",strict_min_version:"63.0"},gecko_android:{strict_min_version:"113.0"}},key:"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA7JPn78UfqI3xIIOPPLPS74UTzLfJL1gQM8hlk/deKWvFP/WqUBnPJPdhQeF45sFpI1OjO70nFqdATT4/RwYAiZK7G/E6m27MDVnhHjszfzReOuoAEn9J3RnE2xEx5pFhRFcelhnwTTLrrn90aaPcaMtNsgXtZA1Ggz/SnX9I4ZygqpJYjx3Ql2t6SyNK222oRQiKMT93Rrjgyc8RFA7FKXsWglG0TvseRjbmG5Jk5gDx+2/YTcWGqCDotQnWnkPj/dBO23UAX7IpyJK3FGYdkvWFih6OVClHIIWY8mfCjjwSGbXNQNesaa9F2hrzBZ5MRTj4m7yj76mGxuPHPIE8mwIDAQAB"};var bO="";function vn(){return bO||yg.version}function Wa(){return Be.runtime.getManifest().version}function X8(e){let t=Wa();return t==e.releaseVersion,t}function bg(e){return Array.isArray(e)?e:e?[e]:[]}function eu(e,t){return t?(Array.isArray(t)||(t=[t]),Array.from(new Set([...t,e]))):[e]}function vg(e,t){return t?(Array.isArray(e)||(e=[e]),Array.isArray(t)||(t=[t]),t.filter(n=>!e.includes(n))):[]}function $8(e,t){let n=[...e];for(let r of t)r.startsWith("[+]")&&!n.includes(r.slice(3))?n.push(r.slice(3)):r.startsWith("[-]")?n=n.filter(i=>i!==r.slice(3)):n.includes(r)||n.push(r);return n}function tu(e,t){let n={...e};return nv(n,t),vO(n,t),n}function vO(e,t){if(!t.condition)return;let n=t.condition.enableSubtitle?.true||{},r=t.condition.enableSubtitle?.false||{},i=e.enableSubtitle?n:r;nv(e,i)}function xO(e){return Object.keys(e).sort((t,n)=>{let[r,i,a]=xg(t),[o,s,u]=xg(n);return r!==o?t.localeCompare(n):a&&u?Dt(a,u)?1:-1:a?1:u?-1:t.localeCompare(n)})}function br({rule:e,getMergedValue:t,valueIsArray:n,onMergedResult:r},i){xO(e).forEach(o=>{let[s,u,l]=xg(o);if(s=="rich"){if(!i)return r(o,e[o]);let[f,p,h,C]=xg(o);s=f+"."+p,u=h,l=C}if(!s||e[o]===void 0)return;let c=e[o];n(s)&&(c=bg(e[o]));let d=t(s);if(d==null){r(s,c);return}let g;if(u=="add_v"){if(!ev(l))return;g=Qh(d,c)}else if(u=="remove_v"){if(!ev(l))return;g=tv(d,c)}else u==="add"?g=Qh(d,c):u=="remove"&&(g=tv(d,c));if(g||u=="remove_v"||u=="remove"){r(s,g);return}Array.isArray(e[s])&&s.startsWith("additional")?g=Qh(d,c):g=c,r(s,g)})}function nv(e,t){return br({rule:t,valueIsArray:n=>Array.isArray(e[n]),getMergedValue:n=>e[n],onMergedResult:(n,r)=>{e[n]=r}}),e}function Qh(e,t){let n;if(Array.isArray(e)){let r=bg(t);n=[...e,...r],n=Array.from(new Set(n))}else typeof e=="object"&&typeof t=="object"?n={...e,...t}:n=t;return n}function xg(e){let t=e.lastIndexOf("["),n="",r=e;return t>0&&(n=e.slice(t+1,e.length-1),r=e.slice(0,t-1)),[...r.split("."),n]}function ev(e){let t=vn();return e&&Dt(t,e)}function tv(e,t){if(Array.isArray(e)){let n=bg(t);return e=e.filter(r=>!n.includes(r)),Array.from(new Set(e))}else if(typeof e=="object"&&typeof t=="object")Object.keys(t).forEach(n=>{delete e[n]});else return;return e}var rv=["*://*/*","*","*://*"],av="immersive-translate-wildcard-placeholder.com";function Yh(e,t){try{let n=[];if(!t||(t&&!Array.isArray(t)?n=[t]:n=t,n.length===0))return null;if(n.some(s=>rv.includes(s)))return e;let r=new URL(e);r.hash="",r.search="";let i=r.href,a=r.hostname,o=r.port;if(n&&n.length>0){let s=n.find(u=>{if(!u)return!1;if(u===a)return!0;if(rv.includes(u))return!0;if(!u.includes("*")&&u.includes("://")){try{let l=new URL(u);if(l.pathname==="/"&&!u.endsWith("/")){let c=l.hostname===a,d=l.port===o;return l.port?c&&d:c}else return TO(i,u)}catch{}return!1}else{let l,c=u;if(u.includes("://")){let C=u.split("://");l=C[0],l==="*"&&C.length>1&&(l="*",u="https://"+C[1])}else l="*",u="https://"+u;let d=u.replace(/\*/g,av),g;try{g=new URL(d)}catch{return k.debug("invalid match pattern",d,"raw match value:",c),!1}let f=g.host,p=g.pathname;p==="/"&&(c.replace("://","").includes("/")||(p="/*"));let h=CO(l+":",iv(f),iv(p));return h?h.test(e):!1}});if(s)return s}return null}catch{return null}}function iv(e){return e.replaceAll(av,"*")}function CO(e,t,n){let r="^";return e==="*:"?r+="(http:|https:|file:)":r+=e,r+="//",t&&(e==="file:"||(t==="*"?r+="[^/]+?":(t.match(/^\*\./)&&(r+="[^/]*?",t=t.substring(1)),r+=t.replace(/\./g,"\\.").replace(/\*/g,"[^/]*")))),n?n==="*"||n==="/*"?r+="(/.*)?":n.includes("*")?(r+=n.replace(/\*/g,".*?"),r+="/?"):r+=n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):r+="/?",r+="$",new RegExp(r)}function Ke(e,t){return Yh(e,t)!==null}function TO(e,t){let n=new URL(e),r=new URL(t);return n.hostname===r.hostname&&n.pathname===r.pathname&&n.protocol===r.protocol&&n.port===r.port}function ov(e,t){return t?t.some(n=>new RegExp(n).test(e)):!1}function Cg(e,t){return sv(e,n=>{let r=[],i,a;function o(){i=Zh(r[0],t),a=r[1]?.trim(),typeof i=="boolean"&&(a=a=="true")}if(r=n.split(/\s*==\s*/),o(),r.length>1)return i==a;if(r=n.split(/\s*!=\s*/),o(),r.length>1)return i!=a;if(r=n.split(/\s*>\s*/),o(),r.length>1){let s=Zh(r[0],t);return typeof s=="number"?s>Number(a):typeof s=="string"?s>String(a??""):typeof s=="boolean"?Number(s)>Number(a):!1}if(r=n.split(/\s*<\s*/),o(),r.length>1){let s=Zh(r[0],t);return typeof s=="number"?s<Number(a):typeof s=="string"?s<String(a??""):typeof s=="boolean"?Number(s)<Number(a):!1}return n=="true"})}function sv(e,t){let n=!0;e=e.replace(/\((.+?)\)/g,(u,l)=>sv(l,t)+"");let r=[],i=[],a,o=0,s=/ (&&|\|\|) /g;for(;(a=s.exec(e))!==null;)i.push(e.substring(o,a.index)),r.push(a[0]),o=a.index+a[0].length;if(r.length>0){i.length==r.length&&i.push(e.substring(o));for(let u=0;u<i.length;u++){let l=(r[u-1]||" && ").trim();l=="&&"?n=n&&t(i[u]):l=="||"&&(n=n||t(i[u]))}return n}return t(e)}function Zh(e,t){if(!e)return;let n=[],r=/[^.[\]]+|\[(\d+)\]/g,i;for(;(i=r.exec(e))!==null;)i[1]!==void 0?n.push(Number(i[1])):n.push(i[0]);let a=t;for(let o of n){if(a==null)return;if(typeof o=="number"){if(!Array.isArray(a))return;a=a[o]}else{if(typeof a!="object")return;a=a[o]}}return a}function uv(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}function SO(e,t,n=!1){let r=[];for(let u=0;u<e.length;u++){r[u]=[];for(let l=0;l<t.length;l++)r[u].push({length:0,previous:[-1,-1],character:null})}let i=[[-1,0],[0,-1]];function a(u,l){return u>=0&&u<e.length&&l>=0&&l<t.length}for(let u=0;u<e.length;u++)for(let l=0;l<t.length;l++){let c={length:0,previous:[-1,-1],character:null};for(let d of i){let g=u+d[0],f=l+d[1];if(a(g,f)){let p=r[g][f];p.length>c.length&&(c.length=p.length,c.previous=[g,f])}}(e[u]===t[l]||n&&e[u].toLowerCase()===t[l].toLowerCase())&&(u>0&&l>0&&r[u-1][l-1].length+1>c.length?(c.length=r[u-1][l-1].length+1,c.previous=[u-1,l-1],c.character=t[l]):(u==0||l==0)&&(c.character=t[l],c.length=1,c.previous=[-1,-1])),r[u][l]=c}let o=r[e.length-1][t.length-1],s="";for(;o.length!==0&&(o.character!==null&&(s=o.character+s),o.previous[0]!=-1);)o=r[o.previous[0]][o.previous[1]];return s}function lv(e,t,n=!1){let r=SO(e,t,n),i=[],a=0,o=0,s=0;for(;a<e.length||o<t.length||s<r.length;)a<e.length&&(!n&&e[a]!==r[s]||n&&e[a].toLowerCase()!==r[s].toLowerCase())?(i.push({character:e[a],wasAdded:!1,wasRemoved:!0}),a++):o<t.length&&(!n&&t[o]!==r[s]||n&&t[o].toLowerCase()!==r[s].toLowerCase())?(i.push({character:t[o],wasAdded:!0,wasRemoved:!1}),o++):(i.push({character:r[s],wasAdded:!1,wasRemoved:!1}),a++,o++,s++);return i}function Tg(e,t){try{let n=e.replace(/\s+$/,"");if(!n||!t.maxLength)return[];let r=cv(n,t.languageCode),i=kO(n,r),a=LO(t.customAbbreviations),o=DO(i,n,a),s=RO(o);return NO(n,s,t.maxLength,t)}catch(n){return k.debug("splitLongText error",n),[e]}}var EO=["(Fig|Tab|No)\\.\\d+","\\d+(\\.\\d+)?\\s*(wt\\.?%|%|percent)","(Mr|Mrs|Ms|Dr|Prof|Sr|Jr|Inc|Ltd|Co|St|U\\.S|U\\.K)\\s*\\.","(i\\.e|e\\.g|etc|et al|vs|P\\.S|N\\.B|a\\.m|p\\.m)\\s*\\.","(kg|g|mg|ml|l|cm|mm|m|km|Hz|MHz|GHz|V|A|W|J|N|Pa|K|\xB0C|\xB0F)\\s*\\."];function cv(e,t){return t?wO(t):AO(e)}function wO(e){return e.startsWith("zh")||e==="yue"||e==="wyw"?{primary:"chinese",punctuation:["\u3002","\uFF1F","\uFF01","\uFF0C","\uFF1B"]}:e==="en"?{primary:"english",punctuation:[".","?","!",",",";"]}:{primary:"mixed",punctuation:["\u3002","\uFF1F","\uFF01","\uFF0C","\uFF1B",".","?","!",",",";"]}}function AO(e){let t=/[\u4e00-\u9fff]/g,n=/[a-zA-Z]/g,r=e.match(t)?.length||0,i=e.match(n)?.length||0,a=e.length;return r/a>.3?{primary:"chinese",punctuation:["\u3002","\uFF1F","\uFF01","\uFF0C","\uFF1B"]}:i/a>.5?{primary:"english",punctuation:[".","?","!",",",";"]}:{primary:"mixed",punctuation:["\u3002","\uFF1F","\uFF01","\uFF0C","\uFF1B",".","?","!",",",";"]}}function kO(e,t){let n=[];if(t.primary==="chinese"||t.primary==="mixed")for(let r=0;r<e.length;r++){let i=e[r];if(/[。？！，；]/.test(i)){let a=MO(i);n.push({position:r+1,priority:a,punctuation:i})}}if(t.primary==="english"||t.primary==="mixed")for(let r=0;r<e.length;r++){let i=e[r];if(/[.?!,;]/.test(i)){let a=IO(i);n.push({position:r+1,priority:a,punctuation:i})}}return n}function MO(e){return/[。？！]/.test(e)?3:/[；]/.test(e)?2:(/[，]/.test(e),1)}function IO(e){return/[.?!]/.test(e)?3:/[;]/.test(e)?2:(/[,]/.test(e),1)}function LO(e){let t=[...EO];return e&&e.forEach(n=>{n.split("|").map(i=>i.trim()).forEach(i=>{t.includes(i)||t.push(i)})}),t}function DO(e,t,n){return e.filter(r=>{let i=Math.max(0,r.position-15),a=Math.min(t.length,r.position+5),o=t.slice(i,a);return!PO(o,n)})}function PO(e,t){return["etc.","Mr."].some(i=>new RegExp(`\\b${i.replace(".","\\.")}$`,"i").test(e))?!0:t.some(i=>{try{return i.includes("%")?new RegExp(i,"i").test(e):i.includes("i\\.e|e\\.g|etc|et al|vs|P\\.S|N\\.B|a\\.m|p\\.m")?new RegExp(i,"i").test(e):new RegExp(`^.*${i}$`,"i").test(e)}catch{return!1}})}function RO(e){return e.sort((t,n)=>t.position!==n.position?t.position-n.position:n.priority-t.priority)}function NO(e,t,n,r){let i=[],a=0,o=[...t];for(;a<e.length;){let s=null;if(r.strictMode===!0){let l=null,c=null;for(let d of o)if(d.priority===3&&d.position>a){let g=d.position-a;if(g<=n)if(!l)l=d;else{let f=Math.abs(g-n),p=Math.abs(l.position-a-n);f<p&&(l=d)}else if(!c)c=d;else{let f=Math.abs(g-n),p=Math.abs(c.position-a-n);f<p&&(c=d)}}s=l||c}else for(let l of o)l.priority===3&&l.position>a&&l.position-a<=n&&(!s||l.position>s.position)&&(s=l);if(!s&&r.strictMode!==!0){for(let l of o)if((l.priority===2||l.priority===1)&&l.position>a){let c=l.position-a;if(!s)s=l;else{let d=Math.abs(c-n),g=Math.abs(s.position-a-n);d<g&&(s=l)}}}if(!s&&r.strictMode!==!0){for(let l of o)if(l.position>a){s=l;break}}if(!s){if(r.strictMode!==!0){let l=cv(e.slice(a),r.languageCode);if(Ni.includes(l.primary)){let d=e.slice(a);if(d.length<=n)i.push(d);else for(let g=0;g<d.length;g+=n){let f=d.slice(g,g+n);f&&i.push(f)}}else{let g=e.slice(a).split(/\s+/),f="";for(let p of g){if(!p)continue;let h=f?`${f} ${p}`:p;h.length<=n?f=h:f?(i.push(f),f=p):i.push(p)}f&&i.push(f)}}else{let l=e.slice(a);l&&i.push(l)}break}let u=e.slice(a,s.position);u&&i.push(u),a=s.position}return i}var Wo=null,Jh=null;async function Qe(){let e=await le.getPluginRegion(),t=lt();t&&(t[qs]=e||"oversea",za.updateEnv());let n=gt();return Wo&&Jh===n||(Wo=null,Wo=await he("background",{method:"getConfig",data:{userAgent:globalThis.navigator.userAgent,url:window.location.href}}),Jh=n,Wo.rawUserConfig?.DEBUG&&za.updateIsProd(!1)),Wo}function Lr(){Wo=null,Jh=null}async function Sg(e,t){return await he("background",{method:"getMatchRule",data:e})}function yc(e,t){if(!e||e.beta||t)return!1;if(Ot()&&e.spVersion)return Dt(Wa(),e.spVersion);if(C5()&&e.gspVersion){let n=_o();if(n)return Dt(n,e.gspVersion)}if(Ze()&&e.ispVersion){let n=Pi();if(n)return Dt(n,e.ispVersion)}return!1}async function dv(e){let n=(await Qe())?.interfaceLanguage||"zh-CN",r;switch(n){case"zh-TW":r="/zh-TW";break;case"zh-HK":r="/zh-HK";break;case"zh-CN":r="";break;default:r="/en"}let i=new URL(e);i.pathname=r+i.pathname,i.searchParams.set("force","1"),tt(i.toString())}function qo(){return Ze()?Ze()&&Dt(Pi()||"",g8):!0}function Xh(e,t){let n=e?.name;return n===e?.type&&["free","pro"].includes(e?.group)&&(n=""),n||t("translationServices."+e?.type)}function FO(e){let t=["SUPER_ADMIN","ADMIN"];return!!(e&&e.teamUserRoleCode&&t.includes(e.teamUserRoleCode))}function gv(e){return e?.subscription?.memberType==="team"||FO(e)}var BO={more:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAAAclBMVEUAAADm5ubn5+ff39/m5ubm5ubm5ubm5ubm5ubl5eXl5eXm5ubn5+fn5+fk5OTn5+fn5+f///8zMzPm5uZNTU35+fns7Oz19fXy8vJAQEDp6emAgIBmZmaZmZnMzMzZ2dmzs7NZWVmmpqZzc3O/v7+MjIwtOcgWAAAAEXRSTlMA3yAQ759Qz7+QgK9wYGBAfzNtP58AAAQESURBVFjDzVntlpowFAQJgmhrcfgIAirqvv8rNiHbZGOuV13bczo/ejj0MDvJ3I/kGj1AstykeRxDQWR5WmyTiAdPtooRIE6X3yPdrgUUGtm2dV1q1HUrG2iky5fF/RKarK3LAHWrSeOfi1fp9tJyhJx7Rfnrab4fsRJXlyzaRqt8im6Rs3ROplK5fmLdGwG05VNQCxePRCYrJa98FrUEVvxys1AeLxLIFgxfjD21e/xOxguGj3SDZ2wsI8VXfgO0Rp6Pxx2NGc/Ha8zCerHy/HjZmVWQboDie4Nxc7OBIoy/1+JR+Nu4dhv4XWNyb8HcBsqPqZoGjR73GYGvaR0zC0a1s+iOzKJj5/Qv7Mu76HdfMHCLLlxIcw5PSlg1o1OMjNMQid1BzpHK6uo1ISuR30HjwHnnEVYnTqLhW5I7OHa7bpTHaucRasrj2NG8e2xnwpQSOJqPjRW9eXetdg4HIr6wnqs+lXT46qz79jrYtxXRZY0tSzR0rAzmQ1/KSavs9D8jZcvyzopPmglQtP2tEPXygoNmBRHcuuhQQagVnDTxuQyhs+VD7yzhc6y2kPD4rAWWHGRH+gIk0RYNKfDofX8Yx/FwGwUDuYkFArsOt+s5d8afE/dHTeBsKE+O+uuRKg/uJQZqzS3SKKc88fSMO4dPk+Q4a5YhYR5lBKFOOCsAJrhxmHSsGI6T0UvaLEDVhXmV+n9MhHzMTxcr8ai5qZBShAgI7cfmabDUUj1drOqebgQhoaPx66F5nMzTW4QuyLs/3PJlQjlYEy/WnqulOZp9JQnJfnKYbYbLQ/xpf1cb+hXppiAJr197ppzJ+/HSuQw/3+mpNbIoJ6qXoZAucQxcycKF7qk1cir1pKurfumvnKZTp+VSqbdBWMu7m/KJfq7To/R7xER0lSLsAHT5xE00TGTqNdjaAsuWT7pHlGSBtTZT5RM9wo/OtkeQLSBaETabD6Tira632nSXH80OEp7ca6NzWzN12oq08WKAe200ESBz2cJRHuxbMpVrIDHHYeoQMMvrKhN/Xuk29Rz0ijW2vs+uaXQDyrFzhP3O1NXT5TJK8rD0OYoQzmdKqkf4IblDcWRQ8AdOjxDMgdMe2xNGoskJdyRmJhv6xsdLtFY4TNyFr3CDAe5aIZ++VvgXH8aWflCYqmrqj9xtz5tn5O9ezSTW//byGG1euC6TSffzr17AG2J8k7wxImiQ3R1i/A9jkSbge38Q9LdHVewwbf/mMC2MnleW3QCr5NG8VPgieXli88TIdA23k7wbyBfPD3Xbh3T+UJdHEUMtnBnl7AFRvDJwX/yI2cE4TcdjmeJzdO8m95+je7HefvPHhZT6cWG1fOsXi22R5pmYmeI83Twk+w2VbF9Avb3n0wAAAABJRU5ErkJggg==",deepseek:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAA1VBMVEUAAADn5+fm5ubm5ubm5ubm5ubm5ubf39/k5OTq6urm5ubn5+fm5ubm5ubn5+fk5OTm5ubm5ubo6Ojk5OT///9Na/7m5ub8/Pzv7+/9/f7p6en19fXx8fFQbf7s7Oz6+vr7+//u8f/39/f4+f9Ucf67xv9fev5YdP7c4v/X3v9jff7y9P/h5v+ntv9rg/5ngf7r7//J0v+1wf+isv+Tpf/19v/By/9vh//M1f+DmP99k/96kP+Oof7m6v+uu/+Zqv+InP5yiv5cd/7G0P+fr//Q2P/w8PDZ0W2fAAAAFHRSTlMAIN/vcL+fEJAwz0CPr2BggFBvMFZSutkAAAWXSURBVGjezZppd6IwFIYFcdfazoQAIogb474vVTtau/3/nzQBlGBJAgKnZ55POs7x7b3vzc0lMRWW3JNQrhT5NESk+UymLJRyqSThhCwPCfCVaiEZhVLZEdDraqshKQChSI2WWtcdoWwprkLusQgRsioBAg1Vrlk6VS6GRKFsWVBvAAYNWycbVYbLWElqgEBaclSZXNkKQgKhkKLJ/EojCdvl8DJ89e5M6TiK0DIZ7q4wai1wN2oNpoU73PhiZIodTDlcqooQqiAiKnKGC6HBw5oEIiPVQqgU0lBXQAwkHaYLgRpfICYyVqFp1EFs6kwVDmvEVeEYnn+BRJDp7vNQBwmhwyJ53yzj2o2NUiOvyl8QSiAxJAgFoukqSBCVZH4GyiBRZJj5rvGADUnOFsFXvSpImBZM31ZYFiUrcfTbCuPIlRW/wjh2IMm0l0wygYyaDO8hLEQNZNjvD93X5ooZSj5SIL2PsyiKf/rAYSFO2gxXcIE9BAUymy/Gy4/xYt4/DkQL8xNcOIhil1lgj273bbGS/jEQvzMHF9roTWfptaW5+gSYBiw6GiVYo0v8fdVEP033K+23nQ/D/YeJ+AI8QFgKtH3TEQngDA2d9/YXG7PRaIOiPpGs5yF1ch9rIpHOQgEOf0SHT2Mx1fBf4MkXb2n8pmdrLFLZzYDNy+X9fu9+NAK3+eKYtfWsiXQGf4HFu++DiXHb8e1eXIEqxXOUCpbKyC6vKcUvvHllWZa8imxMe0F2v4W7V76vR2RKjmZJXwziTw8glqKXqa+VQZhLlWhz0F4Mp6KMPWV+aBIW/VNKoAyNTS1Iwm1hGzeMjUJqkkIqT/G9K4ah8+7+1/24Rxlb8mhKaVFtX22eP9+Pr28MFe3UBAf7VY+61VeQCLm4tih64GD0/D3yzdSur14cT/rAh9sjecpeghbJAGe43Z3caLysjd7uVvYvcPHVcBoqgMDa+hvXANO+WRD75zZQljc1sKbuwekUhOTislyd3e6JU68X1lJcebsJoAEhTWSN9yYcDE7Qtj04IbO2WOQUQQRYyVmCW4yldk3OThxbweEUbqKImNb6ZW0wHwBxchdMmyFCMx6csSkYrw2DmbfB7QCgG08t4RVu216GE6yyGY5WntGCUcJFymJc2P4a/l3Gs/47bvJMerYaaFatENoKHhGeQza1MesJIkNtkMDOy5lg2AuhG2PzSA2S2urB0V5z74QY/dsyrnVyq3+ibVprO/mmryURhodpmzmplvD2SxmItkZgwjRKl8fbL7WGQdup1lflmqbB4b2NP8H4qsM/3WWpj6R9p0JXnp65c7LX89pyDHieryARgT4KL6+bh7uPiebCmfs6uDMqAY/zVSTC0cdUY3cx1pk8505gTXutatcFOTeYIjVYCBi4m9vLOhgPLU3TaSd9W8WNZbqcsS2xyMM6CFIRzd1xsb9W09HOGPZFe13Ts5UNfggaEofVc7c3VHqeGuvSs+U8BOEeSeSoUYeu5eHy2ZaWsBbKlsMj+8RudCZrnFE5tEef83m/yVju1YtILh3wiP1MkHnbhD/4wNazMDZWYjDadOyzmmX75YlOAQHM5qf91DTNweSw6o6MCCc4mZDnwYqBvz1cID92FIVd0RPXwIHgAmslraH6jrkFivexblKqP3Fk+9OHzzhhSR+jE8gjWxI0JE+++ismebXB0y9p5KQvaX7+uin5izOmipzQFSBbRY9VyYqONP6Ha1lHJc4Fc5GtgVcllCMFo8gQ5nOpcAjpSMG0fJf+7JRl7g9G0vHPF0LywN8no9QhDiN8MFkYXkaqQ+xGBJkQu3JDhzhT0WRqcoOpYAWRzhdS0eEeeFtHJQpJqgwRxcdcKialLPunV/lSKhEKDxXyj8iyApdKklxJyGcy15/DFSt54Sl0kv4BCnmYT2kofh0AAAAASUVORK5CYII=",zhipu:"data:image/png;base64, ",claude:"data:image/png;base64, ",deeplx:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAAilBMVEUAAADn5+fm5ubm5ubl5eXn5+fm5ubq6urf39/n5+fl5eXn5+fm5ubm5ubn5+fk5OTl5eXm5ubm5ubl5eX///8cNlPm5uf5+fnw8PD19fXp6ens7OzGzdQ4T2mNmqnx8vVxgZObp7RHW3NVaH4qQ16qtL/U2d9jdYnU2t+cp7SAjp64wMl/jp/U2d4Ydh2WAAAAFHRSTlMAIN/vkHC/MBBAn6DPr2Bgz4BQsFLCjcYAAAQ6SURBVGje1ZrZepswEIVZBAbHW9JhQCxm8dbE7fu/XsHQTNIKSzIiX3su8jm5yO85Z5CEJEtVwYvH1jvHxVau4/vMCwPLpGxv6aBAznq7MEMIWQ/IEs7jGG6KY86TrActw6mE4HmFrRIeg0AxT9KOs7UnIBbM7QgEEIFunOWjGNvvTIpBKp49igmYoIjxch7CeG6LAJIKxtlqOkVG6WB8W6uMlIO2eIqup5wGOaVfDFOzaofI4UFxRMdWYDiYxvCw4lSBsnAxgymKM3QXUkYCE5UQRcKYj2ITYyrFHs+cGBMp4+k7lPlUZbgLhAxGvTtdqfip9BBNMOh58YShczAoLgrfp9BNhe//ydhQIKZEhlH3klnmDPvcYU+YgHFlnzvMFndWXhWRkprqLOowRFtayD7S0F6cvayQ75GWcgEFcSEppNKDVMJSmCSRRg9SiFKhBtuIB8ZIU+IGe34ffflckBhXPSPEFOaCAGJIsc8DoegdjHUgxz0CNqqQGJ2OscAUNCAFQgmAqhDon/oNJhqQI8IlOkGpDEluY/EauQZkD6coqiFXhnBcUiRqkAKg6aqpVCAUSjAWCYgL+dkV8hopQwAxsELMNCAINZmlBsnwxfIwUYIcDsebW6fvVIcEQskz5CqQH93Yn1+7n4dIC8KRWb4apKhzRARAQihDvrWQWDmTA0A+MMvh0wmgIMjYGOloQC5tJDTbvvUz1T6SQRzLRVCG/PjwL89QFl23ocwuQNdCDUjdff1BDcC1q6eQQ1AH0gVw+bg8IbMMQnKAA/12BgCMjEPOAMfPj85eCaIVPEL5aWKBLnyF4LVauH84KKBD/wd5C680IAD1++db6G8Ab3KIT3OWHNIAVGTWLfS8NUwC4S2EqUMuw1NBw0nHzaUQJh/qSTX8JLOGAf+1NUw+1L8oTVrH4th2MLmlNWmF96dfWmm1yj80sOb0K19INHjd13kJrfBU6EBodfckWRIVWH58yfleq86MNGdZ48m/jx7lpbWshrfiFaFTme8vDZl52OfNvcXdtoXYkmVqdfN1mNovJ4RBmHfCEiA/3KkkxYXKgvv1DHglj5pLnZ9L6GvCa10dFRbcFnvs1aEojkqvDsv5X4LS4SWIxkjzEN661et5zhfT7QAJXGEphR6jkWx8sHk2Cyj28Te6XA9ylu3g+HNt4CzlW1E/q0aNUFT5nUQolQxMiwqhBjO/PfjXNrcnyH7yzvD267ds5998JsNMbqMjeiMHAuYY2cgxXbAyebThfOkhzdcfN9HB2f9wPNczJJQsnpZ5y/gXjmV7ypQD5l3HkIvRvQXtOJAF/86hfyvb1y8mzuj6gqI2jiYmQSpDWfaT3pUSSkMfk3Elo8ipxzBpEkuLcNmU21H2xuk44xeWsNXuObAmKny6f/WKhZYRLTZr8SWypWdbJhWEHvP939fhVmvmvSib9AuSIXmd+u06yAAAAABJRU5ErkJggg==",doubao:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAACcFBMVEUAAADn5+fm5ubm5ubm5ubm5ubm5ubq6urf39/k5OTn5+fm5ubm5ubm5ubn5+fk5OTl5eXm5ubm5ubo6Oj///8Abv8A3OXm5ub8/PwQd//v7+/P5P/19fXx8fHp6en9/f3n5+fs7OwAav/5+fn39/fS5v8Abf8Cb/8A2+T4+/8A2+X9/f+71P8AZ//+///7/f8AbP/t+vzr6+v4//8Wdf+i8fTo6Oga3+f1+P/z/f5r6O4R4OkH3ufv9f/H2f8bff/c/f5sq/77///o/v/x9//q9f/q8P/l8P/Y5P/A2/93pv9Fiv8eeP8NdP8HdP8Ecf/7+/vD+fv6+voZ5e0q4+sA1ucQ3eXv///z9//i7//N4v/G3v/O3f/E1f+x0P+tyf+Ww/+bvf+Ctv9Mmf9Glf82i/8rhv87hf8nhP8ggP8le/8Vev8kdP8Ibv8JbP/k/f7q/P7U/P238/Zi7/UAqPFf6/Ay5u1f5+xJ4+o84un6+//n7f/f6f/V5//S4P+72P+gyf+jwf+Rwf+Vuv+Qtv93sv9ypf9inv9Unv9Ylf8zi/8ygf8qev8leP8bdP8Mb//H/P7R+f6nzv5Yn/46j/7t/P0Afvua9vqJ9voAhPrO9/mX9fl+8/hv8vhp8fa98/UAmfWZ8PR38PSQ7fFO7PF76vBC6O8Av+xW5esi4+sAw+sM4OgA0Oi3/P/3+f/U4//I4P+vzP+fwP97tP98qv9kp/9fn/9rnv9TlP9Lj/8/iv8Kaf89kf4Qff3e+frZ+PoAkPfF8/aR8fYAkfaq8vUQqPRo7PE86fAArfAAr+8qye0H4usQ1ulC4OgX4OgA2uX2cmfLAAAAFHRSTlMAIN/vcL+fMBCQQI+vz2Bgz4BQb5vSjyAAAAaUSURBVGjezZplc9tAEIbNlJRXOsc1pXHt2m6TtkmaJmVmZmZmZmZmZmZmZqa/VFmtu7Jyp0i2pu3zLcmM3uy+e7s3d2dQi6O6JSu7qslMBMwmqzXL4nIY9MRosZkIBVN2Fbs+Cq4sUSCY6/OGersDIBBw54W8vtygKGRzZargqFYpIeDxuoFCb6/Hn9CpYsxAwp5lFhR8eaBAnqhjS1fGaCWE5KICk5AnXRlHViIIN6jCnZ5MDSFRPtFl1TKCN5ozlYtRqJaxGjWF4Q+BZrx+YrZocMODmdIYTJa6VFUlQS+kiTdITEYVGibid0PauP0qVOxm0jAAGeBuSMz2CjU8kCEeVGFp+CBjfIoqRtTIVMWo4LkHdMHDdt9EGoJONCRV6XMzC2s3YwJ++qqsQYJu0A13kFiopntBR7w0861oul7mW+UalTUbMmjI4LYV2GKRV6+2ZDUbOa5FzpQWe1YUAJMQMadWmE1bsmpP5H7RrZVCNLmpFWYkREuylk3hkkQ2RtkVRogx7UAKxnBI9+FK7cWadiCdIpyEsc3Y3geJXX0g+YWSGdN4Dyel+0qlUJwqAymcdXDBxQUHX+QnA8nhUhhbwHYFC6yyYiBtTjfhEzSd1+aXI/e4VHKGKBVYtT/dNwRMZp7nk8xvKZbvJE5GK2CSRyoZRFzED2yO8sgcEBjJyWnRAZgEiati21t+55Er1wDabebkRNZVbL2J5AGT97yUswCrsX7RlahCvkzi5kEpWwO+8Cm0jI7nKIxUypexgtrKP8CncrpTD5rIuPbsji/24myF/jujr0ykz2OORmS3wvCyiZb0BBZHeBmXa3FUxjKbsTthioM0AhatP8hFTnJ0ug1WMMUhrJJcYLGzqUyjH4fUryWNqtVi9qKvbrCwN42F83gZc8Ncklrrh4+YIFmQzN7iE5x3sn3v1UQeyH78atehEF9TH39ex3beabCSEMuR43yS/iUlvMAnTFD4oZCfgdMlobRjjvpsg5W53mdd+iNyqvREf57/IQlk+lAQeMAho4FOb6FHmpiz5DUvUEekGF71r1NHWr9dGkPjOAyrh7+ZNJBdw2YSYHSURIYWNRCJQrRBg3bjOLT9NkDn5gBbsBJ6MCZkgJgNhCgtxG+ANN+BItvaw9KunQFGTMPf7QU6hDBFWs9PiJSUlRVD6ZmysrJzpRvCaPvaOIyqtX0JNO4qGfYrNIv0+rUQY7GFpXAuFotdrD1Zki3h813C9QWvO0uqeKNmkT9Tt+lsmFHC9z+8VvK5TQB1u3Hc1jgM3S5pk8sYIizjd+ISXBSFE3VOtZ+KX6s3DPI7b5s8eWpziN8Ps4Y9Gs8q4eMo0rQY8osLV0nqtygK+cs7CrQXIpJYn9OMUcKVqJ1+wBUeKZkNcH2LpDWOAmTgBA65U0AbwFZDNrWtHOORWF9BJCWQZtB2WF2R5gWwRvKXiYNobcVKb5Bt+qBEyYLDAPu6SPrvBoBRT+qJTG0GS7dyyG5qg6S3ehztC888z4fC4s+Sf7erYPeE8G/BERC/K7H+aZTa6qtThlbh/D8igukz3y7i3+B3wpsKYHk9SQ+7IbE+0okytFzU8durzh+Rsn3FC2N8v/qShXgLYD1247oQfcQhYwpo45dWw2d5RNQ7KclIpKioiEN6FBXtUBr2vcXdna2c823kG6GrPTjVtCrne7YgYim3uWvZhzLa1bI3Kt/cJQ5yjWgKQ+TqIU4942VbfD+xUzfcpbJ0fayvQWRzO9qGW1iOPsp6R/phICoYE5dlyyaKuMrla1fKXuhCRINGZLU8Wy6DSCV5vgqPSlvXy3D6loQS2RKpVm7Rz5wXw9LSEkjOTflyT14SOMzl1mPpnKbJZHXXoDFpeJx58IHWI73mXGrSpMnXd89y1DJl4mjs9Gh7EjtpFKDsV2bM2lWzAmpL6BBQPsGxYig6goHgwYfOYCDoChaY/oFggYVAZ7zljrktxB/QOVl+UuVvHNn+5cNnTFgjvY/RKTjRFj0McdKv/irpebVh+keXNPpfN/3bizP9rwDZl5kZVXIgcZn5P1zLiiqNMrlgrqqsgauSeNIKJuAhxOkwqMNiJv40ggnhpb8ajFbtwbhz8fmCSiqbtMkEfATDUI3RRtTLuH1BdCMNGRVTOS+XYKbSk/F7lJ/5JIIwO+2G9DFWNok63p7ULHk9ggKpWs1hyBCXDZ9e5SWfXvXEp1dOl0EX7JWz6Y/IbBajQU8cLovTak0+h6uU7bRUV52kn4RmD2WU15UVAAAAAElFTkSuQmCC",youdao:"data:image/png;base64, ","youdao-ziyue":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAmJSURBVHgB7Z3LchNHFIZbg8wdM1xCFb6Ux1XZZIXZZRfxBMAmy9g8AU7YE5x9EvMEmCyzAZ4A5QkinsDjsmNTXAph7jbYOX+7j2iNZ6SRpmemLfVXJY9mNIJy/z7ndJ/uOV0RlrO8vOwfOnSoVq1WAzqd8jwv2NnZCSqVir+7u+vTNT/ylSZ91qRjiBO6p0GHlS9fvjQ+f/7cmJ6ebgqLqQjLIAGCI0eOXKNGvUSnNWrQQJglJFEhziN635iYmGgIi7BCkNXV1RpZwVUS4VpUAGo8QdYhRkZGBN3TeuE6XvSdtn+Lvi/IggRZROuI1/b2tiAR5LUIIX2nTtfvT05O1kXJlCYIXNHRo0dvUmNco9MZvo5GJguRr8OHD8vGNwkL8+nTJ7G1tSXF0ghJmAW6p06uLRQlULgga2trM9Tos/R2Tij/DxGOHTsmSCApQpFAlPfv3+8Th/5QlujaQtHCFCbIxsZGQId79IvW+Boa/9SpU4WLkMTHjx/Fhw8f5JEpWpjcBYFrIvfzK72dxzlbw4kTJ4y7I1PAUt68eSPFYYoSJldBnj59epN88h2hXBNEgEVEA7GtxAgjYwz1zJZETuTSMlH3BJfk+761FtGNGGHq1Cm4kYe1GBdEtwoIMDo6KoP1IABBIIwK/hhgLoyNjS0KgxgTJBorjh8/LsU4KO4pLTHWskii/CwMYaS14KLIKh5Q46NLK06ePCnjxSDz7t078fbtWx5ohuTCrphwYZkFgRgUKx7T2wAu6ty5cwc2VvQKrOXly5fswoyIkkkQNciDGD5SGxBj0FxUNyDGq1evZAaAaJLFXMmSH+u79XQxEC9Onz4thplms8lxJZMofQmii4FYgeDtEGJzc1PGFpFBlJ4FUTHjX+HEiEUXhWLK5V5jitfLzVoA97lb62gHbYLUEIFhwGPM7/Ty/Z4E4d4UAviwx4xOICuBNiICylI8wBgt7XdTC7K+vv6nUF3bM2fOCEdnzp49K7v/GJupAXMqUgmCdAgd5jHoG6ZxRha4rXAk5ukPej7N97oGdT2Iwz8O+gjcNAjwCPQiZZBPYyH36OXzHIajN9BmWpC/1+3+joLQeGMOKXS4KMxjOPoDnkW5+Vo315XosvQcFXoNSmVHn2BaGCkWsee6ppPWh3WyEPQMAgjhxMiOtoDD79TrirUQZR3LeH/hwgXXqzIEEpHPnj2T75WVhNF7kixEKgjLcGKYA23JHaOkAL/PQpx15AsmtJ4/fy6P9LocTUDGWYizjhzhZVCKuejnbRaSh3Xs/vW32L1FGjc3RV9MTYrK7V9E5acfxaCgxZJ9PS4vcmMNR/QITFnH7m9/9C8GWFndE3SAQNtyj4uObeOSNkHInORvjtS6MahBM5NFUEvhgTYlH6/q11uC4JEAobK5WHnuyBdYiEo8zqi2l7QEqVars3yjoxg4uOO5GL7WEoSXfRp1V46O8IpOspSW25KCYNGCUO7KSguhnlbRoHe48813YmdkvP317ffyMxNobiugpOMU3rCFzPAN1uGPym5v0ST2Dg33+rR4fR0/qvjBJlNGMMf4ovL7gmx4q+jUOzTY64MRYD0XhQw85NpuIWpivlAqt2/ZJ0aBsBFQYK/h6KkVEQE/7Vo4UxNimOEniokAWngkgrSOUsRwSLjtyX3VPFKoNHfl2IPbntxW4KFMBU5cZrc8uO2hBSxERnfnssqDBUEdl9ZIfdie67AJzTtNwSyCyEWryDyfEsXC+RXVywK+p0oc6RetIvN8ShQL51c07+RDBT9y0S5MzKdEsWx+pc1ChMMqnCCW4QSxDAgiVzygEpuV5JF4LGF+pRNalbumpwpGxpW+swKZmjfZgCXNr3RCM4ZmlU6sthA5XzJAa7Li0CrZhXBZYeSio2B074Tk4greoDCkoxzYGEiLJzQm8UL9oqN4uO2hBVInIU5U8RRHCXDbo/q2t7W1VceJc1nlwW2PUugeVl5T1zfkKtAOkU/+LAFYBxdBgxZypE4X/sER1Z6HHko8ygxzQWih4gl+yGlCshA8xTOL6s7Gl5JipJ2UXS1pRaLR+ZWMoM0BGcVDHKWFkCDyJA8LSRxp27YisSRYEEI+2taaBNnY2FjGzgSozzHIK+CxPtcE3vZ/IisQAzUbiXBsbGxa/rv8IQV07KfRVvfckS/YBABguwy+pj+OIN2WXu/ckS9a/LjP11qCqM1MGuiCaX7NkRPwRFxeVt9Ipm2CiqxEui1Ubh5YTMyvGOgdsidCcX/9epsgZBmoY96M2XlmYMg8v2Kgd4i25ViN3Xz0z/YtNVlbW1ukJNdNV3E0P7jGL/YkGR8fv6F/FjenvoQf6gvCYRZYB7srbBAT/XyfIKr2BnYtG+xYUhLcprCO1NWAaOQuzQj1Al3C0RzdrAPECnLx4kVkf+/iPfydwwzdrAMkrsui6H9HqB6XG71nB6NyZR1hknWAREGQm+c+MsqcugDfP3BV2PwFoE07lYrtusJ6fX0dhTBrKAOBYpiO3tG2sqhTEvFKp3u7LiVVAb6Jf1BV/Xf0ANqM9xXBzm7d7u8qiArw0nXB7FyvKz26qyIW0mxdkWqxNY1NFtHrwtgE+XsXT7rD+1Op2op3026vl/opHbUtHuLJDB7jPX/+vHAk8+LFC54vb00+pSH14whqdQoKpIT4j9z4JBm0DYuBndt6+a7b8sgwhW55BFSQh+pNbSsGh9i/KVivYgAj2+a5MUrJ2+Yx0Y0lsRXSsJXoQI8TvanSN5Zk3NarFm29yuiiDOPmxPS7NyhheD2rGMBotQCe/sV7xBUUCx40a4GLev36tb5I4S4y40kbtPSK8fINJMq8qpAtN7iHtQxK6VlMQ6AndSA2uNdRLgz7Y9RwftCtBQKgF6WtV6sjUWjCRUXJtcAJNhVT1hLg/KAJA/eEWT4ty52LVejkXnEG1kJ+9g6lXWb5mu3CwCI4bc5PyJqOFUkUVgIoThiU2oY4XHK7bOCSYBGRpbS5uac4Cq/JFCcMlzhH8C/6UQheM6Bbg9gb4GEB9FKWQV4/lFYkC8JgAxk9xgAWh1+ma0HCHUEEPJyEl/7QPsYTdHiEJbV5u6YkrKhahv0zSJg5spofhCYO4ALPSM1ALC48zMdo4TUEYjVYk0+3QgC8kNrAeUxNFyRLH+FxDH0VellYV0ZO7dQwo+rRy10bhFlCPCBDQj4hC3lYVGxIi6V1/b6CmUpU30bBZ1nX1vMuqY8CsVeeMJpmbmov/PWvoEICCiTgmfyyXFFa/ge+yq4Qys7FsgAAAABJRU5ErkJggg==",aliyun:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAA7VBMVEUAAADn5+fm5ubm5ubl5eXn5+fm5ubq6urf39/m5ubn5+fl5eXn5+fm5ubn5+fk5OTm5ubl5eXl5eXn5+f////pTRLm5ub+/v3+///8/Pvu7u7w8PDpTRHsZC/xkGvs7Oz2tJnp6en9/f309PTn5+f508P6+vr50cHvgVj39/fqTRH1r5P0q47sXyn88u3o6Ojwh1/29vb2tp3++vn99fH87eb2uaLynHruc0PtazjrVRz76eH64tj51sj3ybb3wKv0p4rxjWf99/T539P5z733w7Dzo4Pznn3rYi3rUBX628/yl3Pve07rWyT2uqMvjnlOAAAAFHRSTlMAIN/vkHC/MBDPQJ+gr2BgUICwf1AE+HAAAAStSURBVGjezZp5W+IwEMZ704KIuxsmtBRrC7JbD8T1AO/11r2+/8fZgtWxmNRAU599/42PP9+ZSTpmoojKXjGNuqPpkEjXLMswq7YiU6pZ04Ahrd6oyCFUjSmgF7S7cd+NSKLI7cfddtCbgmrVogT7izMBeLsuYai/64UTTkMtgKgYekJo90mO+lNObVGMagFAgASuYm9RjG1MTLhESO5iGFMHaEciAMRojbkjFaALYYylzmUjjMnc2g1BN4WzgZGa34whFioHel2yoLo90FQBhgahSxaWGwpQKjoEESkgNwC98i6jTQrKQ4p0BqqdS1GRUZSi8nOOjGLy+NnXICCSFIBjMxkG1m5hRSF7V5rQQ0ZhuT0wmUnvEonqspJvgUekygNrlrGMCZGXFvNN9e4SyYpBz1bYksxgYR0bGSMArnyIC6CWZwSPF6ssI6ioB5XyjKAVoywjKBcLbFm+ESywTy+nr1j/05of0gfniVGFkPBEaetFNOItUD6+B1VMOxNwujXuvNI6Qf086qDG99fIYadeA3bnfvXr0W++0pASFF31N5qojdUDXry0afPAidZgPEGgtk8yNvf/ZFZ9XJ6Nl8qvLTrM/pLmJiUZ3T5OvKDGe5wT30wgdeb527rwEeD/GV7sz0S9RfduL7ebPv7YVov98apNU+KyIEcYp9HNgFJmZezfjDovf0rHZe/HJCk27LDWTjbSUI9OmWFAQ9db2ynmJycptlJl90HrzakeTjAGPAo9SF3/bbE3/YpiQjsHcie0y9eebK9xdoqpGNDNgWwKQQ5TCCfzhmJBXBjyvZkDieFzAumXC+mDgxXMhlAhiI8QZg3rEOVBcFMwJASJQFcAiBhk+G1G5y+QtbxwEYB3IFu4H46bMzokHwvxJUHoWwgVhugQiUHWv85o0MJw5SceS5gDEdHaeyXs5EJ+iEHyN6Ol1CEuDNnMP1YsPCDZEFoAggekCe3iEDyF2Uf9Su5H6zcVoNDV1AmnU63yPr/XaSdyP3iXsb+Zti0X3M8vp4YHzVTHv7+f7VGeh6vT78Pj587ogN/dLTEzT78994ZJy/UwPDx4E7cWPbi4fJh0ZE/yx5y8f57eRHgsyNljtrfbPm3NeD3ysetK5J9zmrtGAlHZSaGjZkYbw5moXs6sjyImJIRKXsN9N/NbzmnGaXbV/7WX13ArBueWi54f+ZmWevAqYFcdXEsS37mllBOtWvpP0A6ndqL1u9VXuiGos8tV1P3XtFNmRSsdrzgYL9mKk2g96RMEpCQF0Eghtp7dj9IvPjD1koVpT1WBnQhXyrrBsdBKGUbKv4pCGVhgJRjBAotlM7pvrrlNCCPJwQqh8eFXtuVfPmPAdsq8RseBQCQxIQZ79OfIHG1o/CGNV8KQpvxx08cPzpDilTgCREpQqJKjIGH8D2PZKWWnyIDZyWfgrgRvITORB2DYcwz9FzAT49BfRKo1vxk3wOcLglrW5sNEbUAb4maWQBzjtnuYjQUwscBoIQCM1GKY0OvnEiYmdKPI6yh1WZtyuuyL5V0vIYDzyS789GqJ8fTKxadXRlWRospynf2IrGaqikzZVdOwrOfncE7dMFeEg/QPIkmRuObwhUMAAAAASUVORK5CYII=",qwen:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAAjVBMVEUAAADn5+fm5ubm5ubl5eXn5+fm5ubm5ubq6urf39/m5ubn5+fm5ubn5+fk5OTm5ubm5ub///98Vuvm5ube1fr8/Pzw8PDv6v3OwPeMa+339/fp6emtlfP19fXs7Oz39f6dgPC9qvWMbO2EYe22oPStlvPWy/mli/GVdu/m3/zGtfa+q/WdgfCEYu3FtfY8OLe9AAAAEXRSTlMAIN/vkHC/nzAQz0CvYGCAUGOTB44AAATYSURBVGje1Vprc6JAEOSNgDFhhzcKikbNXZL///NOUYcizD4Aq1LXH+6qkqq0Pd07O+6upgrvzbaWvmHCBabhOJYdeNozoduuAQSM5WrxHIbAuhFUyaaI4zi8II6LYpNUNyI3mMvgvfpwQbKJQwLxJimvPCt9BsXCMq8MRShA0fK4U2l051okZBDwVFNpPOsqIg6VECeTaGwTKZRpjNXoSlVIoU7j6KNklEU4GpsSTFvdDazUeDGWWql8gE04ERsAQ1fgMKCMw8mISwWWhYmOT2SpwFxIOZJwJhJkmcoxn0VHjtksOt9z5JjLwnffgCp8Eirw6X3TGmR3VpItspcACDnqqEV2jJRYAGzKdMk6z9kDf5XWPmW+IzH9LzsjS6pmvvOT40ViSLrP6/2DZKtoiz1Ir7hYa5aF3yhFyZYCzH7CXEmxUna6/Lt9kJwVc2z1hEiSFZ5bHyKU8kcxYfoIIRlbt/+jlP36gfcWf6Tey4XkeXq3n3EQcaQs5EIwvt+4WDhoOFIsVSEpy7FsXOxoKRiwF6ik8W1R53ySr5oO2Ct230ISXyybAAd6rfg3jgBKSdNKH2wUxM0GIBDZnmY3HNgayybEp8h6ulpdWu/xDT+YBBFZL6MdHqCk3d5GN3yEd5JIiE+W0fXS22wllBAssiLSpknJerW9eEn23zN2dEW8s4yzebmtJTHRrJQ7OipvOF3yaooHJXevzdVJTqy1jjTF0wJquf9V7uio/J2/q7xpNiT8+O5rRZIGU0I6bxG+H7teoerIWTC2WJpDLMV6P+wVH3m+5/eRAzvyt/olSRLu2GAwGTaVde9jNTV3E/YxwTwpEfEz7DYddrihUBk2+ySD3Snvy+vw/cP6r5pHYmoA5K+2w8EEtyxyDUXcEAOQJDj9YIzxZ4hBE/lkkYhEIuVA/Iydurynj4/wOZokJWIcEfFNm5MkxgBovFKMD8P4HjCA9VdT08ZjhEfFOO+E4L6LMSYi7CPJiBjveksUJyYyxgU42hJXvHqM8x9drqkxxiQJNsgxMe7im6MyjDHRILHVU9jTMd4OK9rc8MUistW/4aZFbV1kjDvXc4W5u4KA3n7xT1Ax7sX3B4709ktnGINDxLgTMuB45wwSmjtwnvwTufBTYFEJ35eaxnX+xBD0UHEUC0HfV+1XoFKc3/O2xYkYm/ogR8gSFjhw80m2soaAyPgDt2ZBIvI9lWbvtGuR0QORK/oSlO6x31I4EE6Q1Qq0Fj4U3F6f84SQkaKr1eJ1sOixGXJnkLWakApWdxKPs3Ed+SP3cRAp0cEHWk/3+lPWRz2IL9otsv3+jS4WrhXEYbifSYTIj+3SqI8z+8D4qgpRP8FBadt+fNdyIR0sImB0qKJhfOVCMGC4ViRHkRhfmZDN4Jjblp4849hzJAZ7+qBzNfbIFlfoXtl1R/nwWbCL5CqHz9MKFmV3HGvJMfpvXQhonv/Mqw3jly5pnn/dJLs4+x+u564cv3+Z+bxrWTnLnAtmHzmEmHdV7ilf+k8SU+ClvxJ0Z7yYuMLnC6p4McY/xEAZ6mLccU9K0I2xNOqPY7BSE2lK2TMfADCthTYd+ovR8nAfLMEF/qunzUTgdk+visfTq7h7emUF2lOweFnSj8hcW9eeCS+wLcd5PIfzl5b9plykfyzdKISafIeqAAAAAElFTkSuQmCC",tencent:"data:image/png;base64, ",baidu:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAA/FBMVEUAAADn5+fm5ubm5ubl5eXm5ubm5ubm5ubq6urf39/n5+fm5ubm5ubn5+fk5OTl5eXm5ubm5ubo6Oj///8jGdzm5ub9/f0lG93v7+/p6enx8fHs7Oz6+vr19fXk4/uvq/MwJt76+v7r6vz39/daUuVKQuP39/5UTORFPOL19f6infB7dupORuNBOOHv7v2yr/M0Kt+5tvSdmPA5MOA9NOHEwvaopPFfV+YrId3z8/3Rz/iKhe1zben5+P5jXOa+u/Wrp/KZle+Vke9sZuhoYefw8P3V0/n29vaGgeyCfew3Lt/a2PnLyPeQi+13cerd2/rh3/re3frw8PDu7u5kosIuAAAAE3RSTlMAIN/vkHC/nzAQQK/PYGDPgFBvO1+5egAABeNJREFUaN7Fmmdf4kAQxiEkoVlvS0B6F5SOggIW7PVO/f7f5TZFBpTdTYDznhf3S87yd+aZndlk8blVeFdTo9tKgDAFFF1XtUjYt075taBCFkiJboXWQ4ioNiCxlyokKUVMlCYLqb2EDQpGViWEdzYIU+yOogVK3sXiJmfLvwIipJoW7CWRQEmLE1wW49fNJAGBq8LHspiwagZBkSvR2FKYXwFAuMUoW54zlQCEa4zu9xRGvIA86y5OApoHN94hDI/BqO5StU1ICi2pFHPG74KhkDhFS4vGXVBCAXB8OUqCBEJSxjtaUTGg8Bh7aGXtCSl+YKxK8Qs8f0drUYzvvkISaE1KkO3Fc1MV1a73SlYX9hJCgLE6hRBtoekptEalFpmvkxhaq2JE/8rYBEPWZ4v2rXrvZD90fDjovjTcUwokMF9hQWmy6NDATP0p5SbzOvwtqWN1LhB5ZTWxreucfX9bYTfZSyquML+nQBo97KhtM1rWjTEStxfdUyDH+FNnZijjQ+yoKQ4lJA8EdDWFZPPsdjK9rYhDUT0EQvfxVKcI5btwKzKfQoFtkg8k0Yn5W8GUDAZdiAtsZ9p9Cx4hrxh0Kdwpkw2bESFx+fKtz6XrGoOaSCRCImC7TGczxs9D0siN9QoR7dzL9EsJF3OQLqgufr4UkxESZCvXLPbqD0/sKt3CjjLsrgOQYySWveo3+dkaj7CpQY1dZwxsqZ+bQ1bG0o6vMUiU13/hDzaYufTAuty3LRhiW90n+fAKCi0Zl7Cj+gmjvOwPHg/yzpceDCuOP+y6+nSbpvy6NE0J8y05MuZX3Ek+Dz97Orx6bTP2yX09O8gW25RvStgX4e+D7sHePvd3jJyMTih30e/6NP6msQKQ+g1arAwG33grRfOp3E1KtQuQR87YpfCHHFZ5zqs+ndu4bh4B0p2B5BAo35ppN7xRH2WQpKhfQXnZeno5q/SHf5CjUwzq8HukQqh8UOGi/U35kWEb8OpE1sage34NB/iQc+NLP3+ugwNvzvYC9MAdXD5CEE/jytR3a4HcPmLQfv5rJEPuQgGIaDXWrGrr41mNxuZ3yDyRQ9B5zyote8J2bORcCv8YcH+0JAQ1MvfDtt1Mfg/wvLLPLLrS9LaX50LAeInSJQwCWy4M8J1vvAIQOaMymUwwqFJF9LPpn5UFbXiDJJFcT3bxHrDLWWfOGsz7UWW/dN2k/AGss5lVkDNue3ghBF9VzT5TrQqfIHRokAKdtjAHgvtV+WhUodULnn6yeAEEMgbitfpd2cN72dpktQ46tVrtyIS02IVp0WBSq40wrv+WPdJHYPxydNO3cg9bOGOf/VM010nanlk9WIW88SupYfpg1WoO8SE4eyHd3QWFzp8PnHlEO/1isbMQgo0jke9RBtFEW+Fqxerr7OrScIyfh8Do5W7uthjEzzMFWvnEeuzhQCSb1TgJyTbcD5+/4hYLIX2hJUyqYKUUP8fJmyGE9MrcbAWlD0GVzwCqJSGkledmK2JBoEfynn3q1B74ALl2CSmwbNna4S/6IUzWdLvZPDUh3TFCjfNms30CkHqOt9y3HEiYP7iOBvYQPJ1ZjMb5913qSPjiQ2J9ruSko5Yv52wZ+PGiUXZ0DI9fItudJzoqe93RKh3asrYWJUddp7gaskCYdG4o5SvsQi/CQOQvPtJ9OeNKFAhI5RdY9bLuzCkj2yveH7ePzi9ernswu1r3J5JAoMAK/JHynKl1OrXm81t55v86o8PWYNA7u0zz+u+319zav3jRufUTr2x/+uUzJGzNr9F/+EAAFN5Y59GGwj2kAfNXP6T5ieOm/3ZwBpTYOo4A//9h5r8/lgXKKgfM22IGrEoSW/6oPOxzJy2wVDAFOPR3I7/uPRiagI8vuNSm4g1D9wiE4T6YIAGMCwS44R3zUZAjkgkCmVoOE48lhQQziIAK628JzKZicVILQfQuRpi2d8K+FRUJij96pUZ8a1FoM7r4Q2RBze9bp8IRTdX1z4/DbURVbdd1kv4C2SuPZ2Cb8cQAAAAASUVORK5CYII=",caiyun:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAC7lBMVEUAAADn5+fm5ubm5ubl5eXn5+fm5ubm5ubf39/q6urm5ubn5+fm5ubm5ubl5eXm5ubl5eXk5OTn5+f////m5ub9/v77/PsAw3X9/f3u7u7y/fkAynQAunMAtXIAy3QAt3P+//8BvHT19fXx8fH///78/v0ByHUAyXQAnWvp6ekAoWsArW4BpW0A0XQAz3QAsXAAn2r6/v36+voBxXYAxXUAwXQAwHMAp20Ao2wAoGsAx3YAzXSt59Hs7OwA0HT39/cAs3EBsnEAsG8Ar24AqG0/35UDwnYB0nQAuXIAqW0AznQBvnQAq20q0qA+3JYDyJAExYEExH4Bs3IApG0x1KA105wA03MAtnMCrG4Am2oBmWkAlWgBx44Kq3jr6+s11Z8QzpgiyJMB13L1/Pnn+vLo6OgOzpYFx4UCwnoB1HMCsXAAo233/fpq7ccy050+4ZQAl2nd+O3W9OnC8uCu6NMh2acQz5MpyJICy5ACyYsFxHkLqHcHvHYB1nEDqm/m/PTk9u/N8OOx99u56Niw6dV278ug5Mpd7MVJ3rAp16Q11aMx1KIb16Ax0ZtI1pobyZMJy5IMyJEErHcLsnQFoG3z/vnt+/bw8PDW+ezO9uWr99ih9da04tSs8tGo6NGP8tBm6cKL48B90bNx3bFl2a1E26tsxahe0qUr06FTyp0r0pwq0ZsUx5IByY4ytYkmyogi0YQW13wRxXwUvXwQsHwStHkFwHYMqHDk+vHb9+vc8uvG+ea+7du28Nic9NSV8dCC8c6c78lj7smV58Vg5rx/2rd647Yt3K1m4aso3Ks11aRayKEt0p8q0Z4Z0J1Vv5sd05pJxJcRypM9wJAqwowtzIsbyIczsYYpu4UazIAhoXgbqXcHtXTM9+un89+I8c6o3cyZ28Zw6MJw472M1bxX5LuC5bpv0KxQ1p9P4p0S05slzZdEzJYwx5VFwJM0xo8BwIYMvIUe2H8hs38VwX0dsHwBsXsSrXUSo3EVmnClLwuZAAAAE3RSTlMAIN/vkHC/nxAwYECvz89QgDB/Jn3tuwAAB/tJREFUaN7NmmX40zAQxpkPl6ajQ8u2AsM3/jhjuLu7u7u7u7u7u7u7u7u76zcuWWFIE9YVu2ef93vee+8uaZJIoYY1pskYLYbegCAMerPZaIpqjfQ7Q2ey6JFC6KNFifx7CFGNAYDP6fB7bQIHIdi8fofTFwBZomolWONERxB2h41TCK/D7sacKDoNiMhGbIHTyzHCSziWcDE6M04SIbDDbw8XYzViETYupLCFhzEZAEFcDhkD3qjOlI+oUIcx61TJcPs51eFwI4NJhRsTGJliizGGlqoYCDm4MMMBzuhCYOiRm+0GW4w7BEpkA6oOqdJAqY4MkX/JmMBpDDumsBlOTnM4mRRdkKGVomN4TnKlPex09/WoOvebojqKobxuGoO1qzkEt3JXmhAKMjSHDSGToukO7jeGQ8l8M7JzakPkJImXBBevbL75R0aUMAxxicLELVsm9vCIvLItpp+q16FeCB+v9+QdO/td78ErUfzI8H2FWZA9nBqq23vKjH67m/W7JihRfN9XmC68yuJ7BCAzb7fhecUK02kVAhCspNmAZjP3zmstiErjxaxZCCiZvP0GgZyc61GQIiAUWYsQEVeXVHfy9p0DBtwbOK/T+bq8ohSjFiE8hORptePOvOPHFw453KBkH0mp74MFFgXZVSM88XpOnX1i+bNaS0vUL4YhfQVOscBifZ2+/tCrVpI8dXr2ujV/+cexySt16VBradWaC4cMBohi23tRdPnbALlDs0GEBNXt1f/B83cbUmXOnC558soAGVW1ZjE6hEMo6i9tF+HnEjn4e56P17rvvkVn141JWbFQ3lRNUmRJTpSMKlGzWNnBDUq1xRC69XrkZRsg2eq0arNnwYs1VxOWzpU2D4GUkSEjSlRlQrxIjxmxGdnicYLa9J8zfMX6rkkSFExcOmeu3LlTpsSQzCnSBSE1qBAOup5dWwLfatbwc6s7x42bIWOSBABJmBMrKVo0b6ZUAElXqRoUF4GULNVWoiz3ZBZHo85f3rPtUqL4ySIiMKQIVoLTBUqKFgpAklerdboElDAL4kAWYomNYro0aSUwkmZNTyBYSgWcrzwpQUmmzCmyfAfJTkmXDZtiRfWohu8vnC1RABI3YyBfBALOZ8pUJgAZJaerIUBoplihS3y08o03PE0ikJI1a9zvTMn9DWQEQOqzIT4UEzYpTpqSccXTZCP5kk0hkLRpQYrsPEBG/hLiBOeNyKECUgGcB4jsfJZqSwa1e1zzGBPigHY0Iz8NEq94DgIJ5KtIkiQJEidMmCtt4zwVi+aFTmmSJd3agQfaDV1YrHm5UnSIH0UDiJcBKZwofnyARHyBVIB8NV53ZPaZ7qmaZJYhg44yITAjcQUzIDhfSZNGfAvJNWZ6U2H8ERlyiA2Ra9iABDaEdEpE3Ayr3yYg7Vj6VFOB4zdtwIOl2iCAnDwGkPxUiIAMkRDi6JDUXyBxO8+d1HrWGux86UWwnPPjr4DzWUaPrF9/ZPvFTAg0ChtSAEOAEhH3YR2Rb7oPO5/zYk+Bt2XfAPkCSMdlndovGVauc/gQUFKYQNKn3yOJLn5r18S4HRdtbd3/DVlSRnfEkMUaITlgsGBIxH6BF4TpAAEpjcesq9g9byYwJVVoELbxBbDzBLKijcfT6ik4DxBoRwxJlSJFuvcvq0K6mpfLzzSeUcIurATylQhD4p6fO2dF1yQYQnoeIJnwtB/bZPSrJ8PK5V/PLOHoNIjLFS9fAWwK7hQYxPlJpxAlwUEMS3DllsmrnWUo8cJeNRp1rBAI6XkCyQCDmLRjQhkC6zymVG5ZpUrlouuzC9SxYmYNyHj5ysvOZ03/ZeHCzsMghnWeOE+kAKXK1T4SfUCyRj1R8sMgBkhwEH8DuTBeYoz6mNRFy4WVYFMIJCIAwaZ8C0kXyNenqQJ90YqKl18mhJgC+YqQl2AyiAkkL4GAksotL08FRxjLL65hOqQANgX3vAyRpz3ZF+HNV5Ys6SpVvjx/s+SiIOTdnQU5qJ50k03BEGIK3rHgfOUhO7xUY8deuTD/Zk8Pz/qej0ZOIuyhQNIHl+CEuRo3blyx+4flJ+722VzHI0ki8ywnCkB0NFNcAIF8yc6TdiSmJIbhdfHU7D6t6wi8yPM8xww3iixvuNkQ4rwMSdJ1zZkF/XvV9UgK5USzBMKInDRI7fLl5XzhGs6/+tyCWW1agQCJ51yhnnxZ5I+gelRII2IKnpGXhs+Z3mtjU0kUOTXhlj+CYEZ6qRCiJNvKg9s2NuUFCQxQF36cLRKxkE8Z0gIgYMrK+5ts8t+LKiE+FEWGWA3IRoM0KlDg4ESPCgGUgw+a9a5xGLJqV1OBVxCgyvbAF109QVlJt9fTPEDQLgTCjJzKkFXTPC6R57QIYZ/gAAQYQNAqJOiKTwHyaJeH9LV2IXKB/bzUi3UmeTgxfIbjp2NuE3L/5D0vSpymm5QooRzZiqKm83rzvzl8hoTV+9PH6BBGBVs0GGJUvvqL/juvNvT0Sxr777uk+RvXTf/24oxQ7H/6CpBQqmuqZKE6MP6Ha1lCqaflgjkGmxHsSmQPS4yAr8qtKi79wxDjx5f+ap4vqBdj86l7vgARRa8OIzgRRQZTjAWFjrEBgu0GG+MPYefuQ8FMhYdx271MAhZhMGp5HaUDb4BDebBkc9gRRIxYVs1PrywKT69swadXRvJtoD0iR4mm/IjMYmI5oT6sUU1Gs/nLc7jo0YymmCEn6TOjSOUdBiQt6gAAAABJRU5ErkJggg==",niu:"data:image/png;base64, ",openl:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAACuFBMVEUAAADn5+fm5ubm5ubl5eXn5+fm5ubf39/q6urm5ubn5+fl5eXn5+fm5ubn5+fk5OTm5ubl5eXk5OTn5+f////m5ub9/f35+fn29vb8/Pz7+/vu7u4bJpnw8PDy8vL19fVX0/z09PRDsvNY1v0dQKkeR64eQqtZ2P0fTLEeRK3p6ekibMcfTrNUz/tRy/lNw/dMwfcfU7YgVbdV0ftTzfpQyPk0l+wzlesdNqRPx/gxk+sljdwjfNEgWLk8pfAwkeotjOkkg9YkgNQkftMhZsMgWrvs7Owsiukrh+glj94khdcjec8gXbwphecmk+Elitsjd84dOqZArfElkd8jdMwhaMQfULQeSbAdPaccLp5OxfhHuPVFtfRCsPI/qvE7o/A1mu0icsstYL1SzPomluIicMkhZMEsXbz4+PhGtvQvj+ohYb8fUbU3nO1Kv/ZIuvU9p/Alh9kgYL4fSrBJvfZBrvI4n+7r6+s+qPHH1+/o6OhW0fs5oe6+w98liNkpWrwcNKHj7Pjt7e4vjukcMaCw3vCnzezq6up0n9qIkckjb8c6oe+q0u2lyes+pOmQseA2jd48idUwdc0bKpvx9vvI3PKu2e+s1e43nu47lN0lh9Y9gtAlfs88fMwkdcg7dcc6b8MibcM5aL4mU7k5XrcfTa4eRqnW4fGtyusol+M/m+AxhNqkr9cugdIjgdEtcM4uasUhXb0fVLPx9/zd7PS04fLi5e+vzew5meiYvuc9nuerweU0nuCCpdo+kNkwkNgsi9dzmNRZi9ElacgqaMgsZMI/Y7omSrAbJJds2/ul5Pe5zeuYweusxek/quk/rug2jOjP0edbredarec9qeYzjOOdteDAw992qd+DrN5ooNwwl9uvuNkqfNlak9dZk9cxfdVMi9OVo9Eqds55i8h6gMFVcL5uc7vJJRypAAAAFHRSTlMAIN/vkHC/EDDPQJ+gr2BgUIAwf8DI8DYAAAgaSURBVGjezZqD+9wwGMeHm70lTdrLrrt5N9u2bdu2bdu2bdu2vf0be5N0TNrt7qZPGz777fu875uk16QxfpV4yeP4kiSIFRsDsWPFjeuLkzBejN9JzDiJYmENsZIki/97FBL6pECF1EFKTAMBhkloMHUFKZQoYbQK8VIlwICfmkgDof4Q10kWMwqJ+D4egtQEeUCETqJIZWLG5U5SFFSoP1KZeD5uhIl+CTMymTixQcJACh4yEJuwPVVBWBGeTNyYYZkRoihsaAjHjhNGNLw85W2M79dcBTMjiCIkCJGJ+QsasXDIRBFjhn5BJX5sPNBAUWAOxLHj/1QjNYoSP6j8YQ0gtadKTEUjYpWY7jGXGtHjd49+LDwQ/SYG4gT656ZPGbuRY4T0szIOxib6bZgYx9EGPYh+I0Fd8ONiP/qt+HHcHzWSqgGJPixxlNFLf/pXPBmiJi/jSydvKlAc+/sRllh1lvEtsmVZpmXy3OQNcTmY8l99TwXs+84QZWTxP7QIIZYFSVxAJ9qJ0k4il0CFiBbpZHFBZYTF9DTEsAjl2DxxgsFgILWfM0ZkcMlSVlIHbMtUl5e4HoaAM/bdbfctmze325wmkweXr1DrR38ZGMfXGyJFyJ0aP1C3cs50nuyjhqGY4vOIiNVpS12gBqTPVC56LI0n+wPmjyLm1wGWVBMRuqXyDxQteipf3qFwSYYO/VqX3fuDFkLKAEvhiKhzxCB0S9EfqbnkZnaHfJCU2viAEhREcALn3QCHlCli0cU1f2DEiCVP8+Vr2zYfwIu2TiF6oAQRok5JjBO6TkRiL+7du/cInkTGiyVLdjTJ8S1tZfYZEEGAPvSxMFFELHtxFYXSO+4Vzl84v7whiQySw/jUGksIjsU1UoK3NO46UVqhzI6ThZs0KdwEEsBzxmRddGotQWLWy7GlBv5EGYWyy5b1zPmFJpAYg+wz2pggv1iLk2jWX7BkdlmFYsuqHsv1HYx901iQ2tKI2DiRCImlEbFnF1OpWmtZD0kbCWNOhfctCFhIxeRBiYeHII277NlVv3IQocOiUmvFjX4C9gO8D0QMbVDiwSypoGpwd9X6ymiE9m7nlXorTvYUdPzCRVYbct7nIlIBJ4cfKal1ltCl9b7wCDTQE1Ftv6Jp56bylkXnOawjlLy1UBt4lBoi78NBpIvJ0tZfmI82bULzRXXK6hnNBJ2bzZjB82YX2exmnTvzmotIEKZjXEz1Iu0/sxSh1y8ResHrU1ZvT+swku2CfAZr/Lljod5dFCcBEaIN/PKsnwErpmSdjw5PyZp1StbVq+ukbd48bdrmaWexQkJqJOTNed80aYlujYyFTY2ISb+ILEdoUtasj9G8ObxVv9zi/s2b92/ev3//xmxW8yOMHWkO8PZCmCcuYzg2NnTuosvrO0xCoyGfMw/N5K1yHVbUcdjFCs0AQ+r0rwM3AJYgDQaOHQNjpBVZWc5hNLrOi5lotGh26FOiBWdQixaFWHpW6BBUJNP0MUEYu4t0kJxBaOYk4DhCZ3i7a7VTvXr1GgRXr62MsTmywW+wJDwRYq/sKrmKvjBYdFSbUsJhFmONZ0HpAJagcEQQsVf1EaxEaONgCUK7eE+14gNaCuY0ZoVY41ctPzMhtelmCQReu6ys2l2NX0fR6GoOo9FMXpQvvn0YcGgkY2uHrWXs/LCpU6dCGjYBHlr6wLsMYcteVV4wGp0u7zATzTvPy+IdBiwasLUQYyMHDBgAUoV2LoLKogETAq5DOAG2tIFfU5xzGqFVxR3azEPHeZlnz6zu3bOwxue6c3YWYo0WiZqLCMFx9c8sLpKHsxEdhdzhARosyj1vW7U6t7ZgK8n9tTtlZUJAGxMKIvoFEkRyu5CnW4M9BXRMgMmoXyD5Uq8XadCgQbdu3UQSdONJtLKt31pQw/SA5bbUJ8cVkIpFL2RzJfP6s0U0TNdPxgo4oevjd11md9avH1tSBUTcHr9yDKvuWtcQ6Nuwr7gBWZOVDBuej+3CLwByWYydLlZh/a+7xNjWimTwYEOeUirTtYG3cRKxE+HXPU/WZXEn44YN1SsqHAya2tf5ZOIVaIhGhHzI6EH6RmcrKWykunkSwvF1P7ilvw5cSO9Bo27Vf+DWtQBxCwng088UQqkdFK+9gXeNvuHNAZva8CJcYeLEiUMmDgmFJg6cGBpYIXWAWtqfwonkS5B2EBumZRFBJ/tZ7c80qr2NdhK98qU7EAgGeGlTcbaiEoJZIkgA/lIxPkPo8NqF4Kpdu1Ah0LAMiWlaBBLczk6FToOCtyQpYNK7AyrDC31mG3X+M5EbTp239IyBsSWJF9tzOw1ERjlMpkpwVdSNDzX0qiWdho+ThKshw+6QEg8x3EVMMryxgGtEaggQVzFFFZkLGmZkhqgbH6pIp+FzAakRqSEyKhW8RhdjTGpEbogcYNRVxHp4ib0PMx6ArWxzx8Ehw03Fun3pIyFm+CcpyTy2bFVTxhDLiHrL1nvz2RBEvfksHTbE9JiRUW+jS3xKWKI62vLpj/4S/M6jjVjuhzT+33dI8zeOm/7pwZlU8f/pI0B5mGmiKDD4Yeb/cCwrVIZEc8CcQNXQz0rsj8gYgx+Vxwvj0N/+o4f+8vOF8I0xK4T3+QKQNFZ4MkZqrDfD25jE+NdlTJCQ0YhMhqKfQipgxVNhyoT8xFOBGxHbJ+ZfpDIQG65jW1ovUT8GEqQAR0VHwsSaT6+sr59e+RLG+C3ET5pE/xFZojhKJKIiXsI4vrhxP38OlyCJL07yX3bSJ5LpZW+NQ/JwAAAAAElFTkSuQmCC",lingyiwanwu:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAABXFBMVEUAAADn5+fm5ubm5ubl5eXn5+fm5ubq6urf39/m5ubn5+fl5eXn5+fm5ubn5+fk5OTm5ubl5eXn5+f///8ANSXm5ub8/Pzv7+/09fT6+vrx8fHn5+dAaFwSQTLp6emPp58AMyHv8vG/zclggXf29/fs7Ozp7ezf5uQlUkMvW04gTkD19vZ0kYgUPi3e5eOvwLtYe3EgT0GnuLOAmpJQdGkDNyafs64LPCzr6+ucsKltioDP2dVUeG1HbmIOQDEbQS4IOinc4+G5x8Ojt7Gfs62Wq6Rnhn02YFMgT0DT3Nmpu7WJoJh+lo1wjYQtV0kWRjgA/wC1xMBdfnRNcWY7ZFj3+Pjw8PDr7+7W3tvK1dLH08/Cz8yYrqeSp6GFnZR4lYxwjoVvjYRpgndUcmQbSjwAPSMAWh63w75cdmlDaV00WkwARyIA7gSuurIZQzEAMR4AdxoAiRcAqRAAyQpeVOdNAAAAE3RSTlMAIN/vkHC/MBDPQJ+gr2BgUIB/BTjjCAAABhhJREFUaN7lmldz2kAQgIWQRHGwk+ydkOiiGAjEVCcBbMfdie0kTu+99/b/Z3IIN+Q9SQgmeciXl8xg+5vdvVut7hDcEjwtS5GQ6KcMv6gokhwOCpPEJ0+JFEGMzAQmYwhLpiBeiGl5XVWBoap6XosV4qZoKjyuIXg21BdEKyog6JVoqu+Z8Y2hCEh+ZojpYINueqa8anwK++2CDo7ko141QakfhAquUL1pZJYoXMHXiDMjZ6qAKJw0im+kMFJ5GJlKivrlEapxDwnDXTCSu1SFaFwDj2hxKvpcOESaUsEzasqFJeCnl5hjDMsl6g84Ou7BmESZxcERg7GJ2Vp8iMOjxWdT83swEaL86ov0EkyISzSEPzclbO16X8kS2kto3N5h1NK5coMwGol2K2vYW+JURouu2RlaCWIhkZ4DPhpWfIVGgUs2QVASWbviK1bHNCuIvQLnXM2mLPKJ1VsBnGKC2JLjJS1P/cMr7BQ3WekkceDcOuAUhleYj1IVr/c14oIXnIRR6nMRiFEmrijPcdqL4hxI8QoZ8PHaRYeUzXE2SwAJBHeUVOhZLG92doctBh6K5BRI+fAvaABf58kxzmdBfTWcMTSUowU2jQdyrOYfdICdY7EsvwfQrruofoGeOey+2PyzTo6xCwCvDmP53gGAhQwZJo1NyjQ0cIRpilOQIzJPAdTX+392fgNA/2B1kCRW/DgN25Q9R4ZhCap8Ggh3gRUkg3Qym9KLFJnca8TCxasAc31LpgsAz+YJQhbLl2gOD2i2rhAr35ilkyGZ1yrABr5tEmi+fLy1lSUnuU7vdgl5rQE0B/3s8893zqFEzV4cwfov2nkzyxmyZQBklweOL3t77xxD0egUpyRFgmNWpjdwkHd7e3s/LJ8byH5kRQnSONLfeZLkLOglMuDtry+/31o+b2FFCbJdUsCyxZdo5wk50My7KH2BnhZkZGg0iIOEj4HsFFmQkCEl60Zya/s28gM1pPKSoCCNq+VCcv4+PEB2fRp51EcEBVlcbReSyxWYQyQ5tEeKyLMk4V1SRtewH5Fc8S45hz24BErhBMS7hMAJKP1/JalDiQYrbiUjFj7T0ZuDXrK8CmtuC48u4TLhW9i/AfPn0OcWuoRDVEee755pI5tRESJIW0l7l7SQtqKgDbLmXZJFGyTe6j2Dt/rT/IfWxoV92kPrJ3fAFhsuOuTGxpLDQytsPn7xXl9qrq2tzT5aW2uuH5+AbtTrj1frfbbIw20g5dn24uLi/mCcxh+/5hpG87VAb1UXervVau6+ZcyqdZJ9CFm5Ce3NqyvZh3d3iEmRM92dohqer8VFJnmyUK0uWFdbr9dsNh/C/JKxA/X25mxnw2jxR6IIk8j84W7p4+rqo42tZULupA9os4TdXei/KuiklF2ERunO1dqm8Zw/3M2Yr0BxQEOp1h7fvLW+ufv45nY7WTqAJem22j/8eK6xXd+F3u300+L1fBXtKYwUDRwN3FgobzqdZvP+U2KhuWpuu1mSvKnC0psH3W2ids1acQduth1jwFnFL1dLTx7csDjuqHcI48kKId06LD3q9krLZifKoYcfU6YkjOaraA7V9ZWVpLXPzlZZtZ7t6M/6iwO2bteq1W0osw+KaLbCpmS/R+IN7OKmdUpsbBJGt1o354YLbB0sVZ9vsf+vo0cfojDgDC3gL6Yj8RJ/MZ3ZlwT93Fds95SdDj7w0oPRcO9gBeGX3STAORksNrw58BMcBQ8Fim4PcAzgBIIcRXms/ksDHAMxq1IAnHXHlCXTAPaBHC2wPOAUHcaKRBFwtBPH3LLNQWetYaPI2hx0zvz9I1vnw+diOnHC0DIcDp+9HKNnW+3E4Bi9nEvXnI/R/9WFgBAMTfJqQ+Rf0kQnd0nzD6+bJn9xxrdEJ3EF+O8vMyd9Lcu3jHfBHEIc6K6kUe9X5cERLv09BJPHLv35+JTRg1ELyNcX7JkWR9OoMYqE4RjMKYprcEUcqYZ7Td5ZoRconin3mlRUtzX0g/BLAcE7vmnR9GioSK1EmYGGzgSFMQmfsv/qlRQWJkJgOoJ/iWxK9gmTJBiWJUU5+DpcKCLJp10n6Q9+yapgtI9s1wAAAABJRU5ErkJggg==",siliconcloud:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAAbFBMVEUAAADn5+fm5ubm5ubn5+fm5ubm5ubf39/k5OTq6urm5ubn5+fm5ubm5ubm5ubl5eXm5ubm5ubk5OT///9uKfXm5ub8/Pzw8PDbyf339/fp6en19fXs7OzSvPzt5P6kefmSX/eARPZ3N/b28f5a33/2AAAAE3RSTlMAIN/vcL+fEJAwYECPr8/PgFAwyaKKbwAAAwxJREFUaN7VmoF2ojAQRZMQIICgNk4wJNra/v8/rtjtzukaKYGMe/b+wD0zLyJkhs2l3MtNuxUZXMlEnm9kU7KUcFkICCDaukpjaDafAt87a4zRV4yx1vX+U1Q0aw3lroMrvTM6gHH9MHpqvkJRbbLRYPUE9uYplmp4PjYJDY89fqmm3IxFGD0L0y/SyAwVczWiju6UR8VsTc6jyhisjsYNkMmINLBTscVs5rVqC+D0QhyA4DMcAgajF2OGGZYqw8SXWTxk1Y+OXq+kR8uEg9bC0bHWwicyR8c6y+P0BXidCA/bMujY4NldjRnCv0oJYHQyDIAMhu50Qlwo/BxDTxV+/rejxkDSxSLvTq/TibGQfT9hBfQ6Of77CeN4shJiADhhIZg9YSFYSkVXCJaiqApBDB6wGrwmwsPuz9PXaiIsdOxGA4MmA6AhjB2jp+sW9kuMjpfYbp0uh4e8ne/7xcezFdmt8/thgrf7fsmrpI18/h4Pk9z/eRW3SAylxIyhlBgJiUQDlKwBTyvxsGcSeioJJq/A0UocKJaDpZVYaOklBjo8wXQSwbJYyWu0JGMAOsTHMcwJHdMSBOCB5PR+WMYlQnJZ6Hg/RUgO07yejmE+dFASDv4HR+QbCxMLJMc4iWAdtcRCzlqw9BIFjlbiQOGjPr0EH/V78LQSDw3+/VJJAEp8kUgvwRcJVoCjlDhoGQsn/zb5gDpH5V5fJTwUynnCcjnpCAaonvXCzRTtp0NB/xE0QMNudDT9wm6N7Cg/TOvfkjLwx5X04oMyeox95AUvu6gKwWs7qkLor6IQhQeMoBA8YDa1w91dc0uKi876+Ve29JfP2DCya3REpR0IKBai7FKONsTThzT046bw4Ox/GM+Njn8/zKQfy6JlzYB5y9kc1JpRuSojhv4LirE49J8Dz+OLMR7XF2ZSi+hFDCxjNryIWynBNCI1Ecsx2KlFmuGnNR8AyFTFlsNrMXoeLyzBle2uZCtpCly9sl+rVwZXr1TDklDVbXiJrJCcpaRspMrzr3W4rlVyP7tJvwCZPk/t1KobQwAAAABJRU5ErkJggg==",deepl:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAA/FBMVEUAAADn5+fm5ubm5ubm5ubm5ubq6urf39/k5OTn5+fl5eXm5ubm5ubm5ubn5+fk5OTl5eXm5ubn5+fm5ubm5ubo6Oj///8EK0jm5ub8/Pzv7+/19fXx8fIoSWPp6enHz9bk6Ov5+frn5+f39/fs7Ozu8fMVOVQJL0v6+/sOM0/r6+twhpcjRV/o6Ojd4+dheow/XXPp7fDK0tmvvMWOoK2Jm6k8WnEZPVjZ3+O9yM+1wMmerbiaqraEl6Y0VGsqS2QgQ1zV2+DBy9K5xM1sgpRnf5BbdYhXcIREYXcvT2jn6+3Q2N2ntb+hsLuVprJ+kqFPan5LZ3w2VW1JZXqjhMOgAAAAFnRSTlMAIN/vcL8wEJBAn4+vz2Bgz6CfgFBvyuvMXgAABPdJREFUaN7Fmudy2kAQgFGjY5zYuVtJhAASzWDcwL3g3hK3vP+7RJKx1yS600qQ5BuPf2jG/thyhTulqGSW9UJxUdXAQ1MNo6DnMql5ouh5FUJQi+X0fAy5QiBouBXbqZsm8zDNumNX3EYgyudmNWSWSr7Ask0WQt22qr6nrMygSBc0z1CpMwn1wJNPqlEMAHDRIMSxkmoyBT8Ik5Ewk2m+aACooGnUcuxMuaggawwlVhhVh8XGroKmx6iGhWHEDKZAS9UiNGyWELsBqkJwqFA1WWLMKsGS1mAFHUksK6ClIx0WmxELLSJHhc1MRWpR0DGrRZHU3GJzwRJXX4UVNidWYDF83SyQevd+/47WyYXQuQQa0Y69E87504BgaYAeWvTIcT74yQPaF2b02A8rvhFZ9OZjl7/R/0EovvG7YyGyIFt+ppDnQXRZ9D+6V56s05/8d3pNucUBbbrDPsuT1exhppD+odziTneYAiBL1uEOD+f4XpowAIUayOY6F9OrSacXgxbIxgWXsvMgHSxpQiDOqMWj+HomCSUbHcjeMadwVROFgg22IAiktsaJdEcdUYMtvc++Tqijz+msCXbKUHp15KDKwnjiH2ldr63LLIIx04CcrOzNNv/AzYY/s0i64EZeehXqocODf2DsOTzOJT0mypfqO9KCbH3jHxhNHh6TJZgvBXtLLjmfPLyMLbGCubgIdrTk++ThUWyJDfmgJJ1ICXbofj+mxPSLkoFVFinBfLHO0Q5NgkXJeKPEpUh2hnfm4OnSnz8G17EkLiyndKhESpDug+Pn7CSGpOJVPgs2RYL/bM/P2bDbGm4dHFMktjccDXDoEpxza8HE2yNIHCh6kjpNgrSO3j/XtkyCc6QKJlmC/3Efxw1KxD2sJZDguDmnSLQUAEsgeWavDKMlDCCJpOv9DF5H5svfkqyfrXu/mliSeUpwq/2tzfl4tHWwzWmSmIXvBhvgXVwhSYUnt/DjaXPreH3XH8IXbY6QWrgEHYpk//1vDmLOwnUwvDXLYTHWk02sA1HigEGcIPcmD0fTmSJOkMSp/m27i0tJrKl+GRctyZboYPLwVig5ES9aOfHy25z6nK8tuMWFbMuWX3EPT+1Kr/3d3VlLLBkx2e7uk6jym1NFHl/1nttix4ktrHvRk+jCb0Cnt5zKZU38db4cfAVaFQ7W4Q5J8bLHhFQhjRvucDbW2pGK1pB5yErikZWepN1H5Kx91ZQffuQDSc7Ll4TOQUviuN1kUqowuV4pYb5ifstuHTI5jp+tgCVwmZxvL+GSXRaBC+WJJIMLl5DDfpgEG1d68IGlj6DWiyvBsgekYdVkkZxuCyTEExyDdh78MCZKMBDyURRiX3bJEgwEq+IyErvbZAkGgg3mMBrfx0SJ/ccxt06/NWn22hSJWYVy/CNbZPeGILHAEB0+U3PWR0n04TOi42AhcPeIkuhjdCQb7zJrcONJJAXJhl/9lWJebfzoCyUroM7rkqZuSy5p/s910/wvzv7FFeD/v8z869eyaFmd5YJ5ER0ysrNclWepr8zoGlQTBOPgpT8FxYgfjOni6wtEFtR4GrMCGAYZ5ROgJlrRwGok0DiEKcwFzFQyTdWqSw1+EFoWx18CzYIaeOxOaJZsyzPA4lJm5levPoW8etXBV6+yudRcSC8Uw18iy+tKap5kcnrWMN5ehysVs/oyOUm/AJAdz9mDSbxUAAAAAElFTkSuQmCC",bing:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAAqFBMVEUAAADn5+fm5ubm5ubm5ubm5ubm5ubq6urf39/k5OTn5+fm5ubm5ubm5ubn5+fk5OTl5eXm5ubm5ubo6Oj////z8/MFpvDzUyX/ugiBvAbm5ubv7+/9/f1JvPH8ykvzgGD9wimRwyjp6ens7Oz6+vonsfEnsfChzEmhy0nzakPzakL39/f19fVfw/HzkHT70GF4zPLzoYn61nu513mu0mXzf16q0Fyhy0fx7mQ8AAAAFHRSTlMAIN/vcL+fMBCQQI+vz2Bgz4BQb5vSjyAAAAM8SURBVGje1doHctswEAVQEOykmh0g5RNuBFNJ2+m5/81iWcrs2AJlFqyT/Au8WX4MLWMphiY7jcrFRoYAEMo4LqMiEz4TRImEI3KxTv0IRbkDbKXbxhh1F2OaVld2ByXFXCE7WQJA1RnlSNNV9dZZBzOItAy3QqOOpLl3kqlMEAOwJPSmraYyWQmgMmpQzDTmRUjEUEauRz8pS8RgJg5GjVG3anS6GmE0uA16UuOHKYc9qg2g1cRoQAYDDInaqMkx9QAlDanxaYpFmD5pVGpmKlKOGLxKQMZcJejvnIyZSn/7ElZ5isUmcxql4+zOOMml810CkDFfASJn6Vp5jHaVH1PpvsqPHxsrKsRfLdHB6e0ejTsh6kFahNkDJEGlfCPKonwwCGAOkC8Xrtxo/f29K98OEAME7kEIuXjlyketr9648kHrnu5pEA7EAKljEE8IjZI/GoQBMXTAVqgUD6IsTvaIRMuFNFjujAK14kIUUFDtPAhVL9HwIQ3k1khRKz5EAQGdLS6kun8XL9BxIh0SqoQLMdtSMtSKE1FAJgpYXsTiVESouBBqPofmRTRyEaPlRVos7pCGC6F3pIThQugMh/xIKADVg9x8cuWH1r+uXPnZgyigHxmdfxe5fuvKmdbnl67c9iNHij976co7rS9fu3J+pHjJj0ixRMOLNIjFAi0v0t4hOTQXQi/ICBUXQq/6U1hexKKgP79cCJCJ7RnmQujXXYKOE+mwEIKa50EqrO+QADUnUiOlH9zeEapkmxwVH1IhoX+CuJAa+/XKEg0X0kKKXU5guRCL9R7JQhgGhC4+qHr/CNW+/4/OeEdoELq2Y0BokP6rqM9nrlxrfXvuytfeqyhqxXr/3UWD0AFrfSPdwTV3xHHRuX7+K1v+y2d6YGzX6JTc70Igd6/+lj5XG/LZlzT86yb34ux/WM9tjb+/zORfy5IyZ8G8IeNY8jmr8jwTwxKFqLvxRktL/yEJ4vHDGEufLwzMSo7+EIPGGJwgGfdJCbUxgWmfJhoLelLTmPqpz3wAhHkqpidYyXunc0Km2wrYnGRiZork+KdXeSG8JF0tJByRSRQIn8mKKI/jP5/DLRd5dDr4If0GDemh5W2BeAQAAAAASUVORK5CYII=",google:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAABqlBMVEUAAADn5+fm5ubm5ubl5eXm5ubm5ubf39/q6urm5ubn5+fl5eXm5ubm5ubl5eXm5ubn5+fm5ubl5eXo6Ojk5OTn5+f////m5ubb29vd3d1Li/VQjvVSkPVMjPXv7+9PjfVJivTh4eH7+/zf399IifRIV7pUkPVVkfXp6ellfozx8fHs7Ozg6/309PT9/f36+vr39/dnf46ClKDj4+ODrfRLYsXu7u50iZbBx8tYk/XFys2ImaRwhpT29vZkm/SOtPOgv/KcvfJ5jZlpgI5+qvRhmfR1pPPC1PG2zfHc4/DX4PDk5OTHzM+tuL1HVrqnsrmfq7KSoauqyPt0pvdtn/VdlvVVkPWbvPOLsvPH1/Hn6vDi5/Bnm/Dr7e+owOa5yePT1t3Y2tzV1tfO0NLJztCRmcuhrrWPn6hrgpHm7v240funxfZnnfTi5POWufK80PGKrutnmeqWtejJ0uCkq93Iy9hyfcq8w8daZ76cqrGbqLHv9f670/vr7PfJ2PHI2PCCqux7peyfuuats+B1idW5vdSordCHkM1hjMtddMl8hsdagrligqVlf5MIelvOAAAAFnRSTlMAIN/vkHC/EDBgQJ+vz8+gn1CAbzB/JOfehwAABhBJREFUaN7Nmuef0jAYxymUMo47d9N6ELyenpTKcIEnnuvce++99957b/9nkzT4qE1KA3zU7xve9cvz/J6mkDQWldS0pJ4biicQIRE3DD2ZTcX6iZYciCMB8Vwm3R9DVvcFXrlSrzlVk1B1avVK2fNFA9leDalZg4iAJxxTQG0Cl6gno/WgSOs0gnLNDKHGPAPdajSDNgkMUuqNbjUpnRbhmJFwcFeaGQmiYClH18Qzyp3yWBVqGkNTKqNUN5WZKKFEUiENzDulXowerVVDCFXMLqmQZLQIjjgqOWbXOKUIlnQCeVWzBxwPJdIdHdjsEQwWmaNs9kw51KKBo1eLFpI5NvsClqcfR57ZJzw0lBI6dJjdnqmWxHflDITA0TMOQklh6BWzj1RE4RsQer/CN/50ZCCQ/sWSDEzvhPk7z/bNJxwYGxvLc4YJe6Nb6ijx+4RNDTTrCjEEJITLKnOs/1ZIcLL2+hLuAMkepQnTRIUA4xLJOqXlxRAVAkCzwKHarypCaVEhIBmjCCR7lErRQwoBSf5PyV4FiQMDlkENUyLJA8Oc/FOlhXL6z9W3LpDkOSDhXFGQ1NCg78iikimQyBzFJaYCCGUh9gACB5fMP4p/o9FoeJ7XKDth0cdRTSSROYrFE6NbCYsJI5RRH3vEEfYrTh0zhd0yAw6QbLBtZuBQAQOJ+6Wx2cLhkvFDG482jry8sZ45COOnbXtEIBk1BWC2FufQRKhkwxbss/kQk9B+2cQSlNjih9cAi8QJk6w7TgVHMOEqcTBe2QRwhEocGkpKHIlJcqBRrDxKSlg1Pjy8ZMtq6mDkLbBIJRBKitwlnkTCuInxlpUQuk/hpE3hjg4SD02LJVE5RLISYxx0FG7ZjEiSMklel/xIGWasw/gw/Vy/xGc/cxTm25Szu3ZuH+0oqSA9ZqB6iGQNxqvp5yrss4o4KKxfyxZeWtRZUkc5IqmFSFb/IbnBHLRfTLJwRYgE1kg6wRIJv/gmmsa+gwfXrNmM8ZKCz/gywnYiWbZt27bllHNUIpvhBKqGSPZhfJzmwCCSlVwy+9vk5ELGZLPZXEFoySRVlIghZArhs3QY45v5IoPks6XtmP1p0U+azUWtVuuJTGIi1EmygQSxcT1dsEg8+FDbMfsYj8GyHk6uOAeZKEv49ycc3riRLiybuINykjusi+7a0V4kjIMNzNk0zh2UO7ubay0iOeu6O+0OEnnwxTbrN7E18sU6qIP2iwzwTlJIy22etiyqkAdPR1gmgWXk2oZrY6BgzLm7e+Glc9ZO191OVMwiH+FBiaRYIFcPAI45d8403bXLL7ktixFyMxqxHKpLJCIFOOYcs7ZNuq7bPGv5yJcVQ7pAFgUKcBBm37UuEMlyen2Ljpl8gZQu9QIDOBhvzqwlkl3tQqyQpX6a5KEVMICCc5s4FrnuBb8SguyhlZU+foPXBwfnOxHs5rVQk/zxK5thfnm5Yu7cr9vZDe8+bnfMlP66myJOvtBBQbhtUS5CLeLcc0SSRFg4XSIFOBinLALtWOuMVIJRhkg0cSj7RQZwME5YjCekYVJJCaXlP7j3BA2g4Ly2fB7ydkkioejiO+Vq4PJcARROtafX/xR2awD+BAlwFgh5t/Qnn0+BgCLsFj9eGST9is7beW0e3WcC8IgWrnjMZ7rSjt3zXx2dKvFQhktSCaXttAdc8h4E3CLf+ODRR+ee7/jAry2vBGLn/+iq0SXXmeM8U3ABR1IIx0BltX7tII5fKuHICoGND4V+7aAOO1DJiKQQSMVT6NeOLzYAEiwrBAasHt3y8bTAMfKnoxLY5k5Ksu/pJCXzN7Zs//bmMzSs39voAvQ+xuKUJMd0qcF+Hm3E/9ohzd8/bur/wdk/PAIEi9fTJFc94vgfjmV9Sy8HzEPgCIMelTtdtYoeladi0UgmuiqmrnDoT9AM9WIcj72+oEImrqaplhEtQxFtCoquccoI0lDXNOqdFTUPQae605RwLdRAi0jo6Vj3aJk481QcYZcmMCIMTU/FeiQ7RfDqlQOvXunZWF9IZ3Lil8gGklqsn6SySd0w2q/DDeb05LTITfoBng4pCD/g39QAAAAASUVORK5CYII=",openai:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAABC1BMVEUAAADn5+fm5ubm5ubl5eXn5+fm5ubm5ubq6urf39/m5ubm5ubn5+fm5ubm5ubl5eXn5+f///8AAADm5ubv7+/7+/thYWEQEBDf39/x8fHs7Oz9/f3p6ekgICD09PRAQED29vZJSUmAgIApKSn4+Pifn5+srKy/v78jIyNRUVFCQkIICAiWlpaDg4NGRkYcHBwMDAy8vLwEBATMzMyOjo51dXVxcXFlZWU0NDTo6OiIiIh5eXlqampWVlY+Pj7Pz8+jo6Nubm48PDwUFBSZmZmLi4s4ODgrKyvj4+PX19fIyMjCwsKxsbGnp6ehoaGQkJAvLy/a2trU1NS3t7d9fX1cXFxOTk5MTEzR0dEmKtMGAAAAEXRSTlMAIN/vkHC/nzAQz2BAr1CAf28vdC8AAAaASURBVGjezVp5X9pAEOVIwm272QRCEhCRQ1REsXhbtZfWo/Zuv/8n6exuwiJhQjD8/PX90bq18DLz3sxOsklERW5FVUr5VJoC0ilNU9RiLrFMJNVMis5AqlTILoehqAgCu1pvmKZDAI7ZatSrtiDKFOMy5F7nKcBomGQGzIbhMp5CMgZFVmESVFskBC3Ok3kuTVJjSZIMKBrGc2lyCgvCJJFgPo9GTQMFVzkyDWizcKZsNAqcRksuFIbbIAuj4dK0uoAahszUgsEo0VIFlVEnz0QdlElG4EhR1yTPhulGYMmmqe2QGDBtms7O5TBITBiSBeOoktiohrIkJUdclmSI5gZZCgxc/RS1yZJg0/zsfVOR3o0Nx51dlSqlkiM2TErVmaLXyRJRnyW+hogeQ3xtmqOACBJLFjXg3sbcS3v8U9N1vfLu4HO0zk/TTx2WmZss93RLH+PTfjQfK08Cmeush/f6E4ycSA5LLhJIU2dYv9ruXP7cEcEYUdqLhgSCcrzteivrjC03BvDHUe+hGqI9pdnIgezpgDdEoqNL7J5ZIaEoUQNp1J5yGAdb+iRqHVQVabDCnEA+wBedymW/ojN8Pdxun/SAH9DEDfbKI5lXIxtwseOW0/2qM2ze+ZnbkLkMokXzgqNIXYKjezWY+JLvm8Ja3WlXYIVDaXGu7BerOsc3IcaIi/H+ixPwXs0Jlz5F0cn9oy6wwVcnXIxhM2DaA1yWFk3x4QHNlnOgA7bg6lc5B+frWb6vT8ctzAD2dTRfyVBv/dQBZWPNI1mbLMi/q+x3PmEfFndIW+W9uIR56wsL456QMQmI4TvzwCvEpvisBT+fYJtXhktizv4tK4EfZIIE/uIwWKVUeqIQ24ShBmFh9Qii5OgxmYltcXVBknvGfmgQS9CsX8C/vdP1HVSUHFSJjZcgCZLcvtVhfSEKEeiENKvwb2jRryRUZGjch09vB0jsss5wcOOHK2hO4Yp+o01STSjIkPI4LkFJciTEGEKM27LtexihY4uS0BBzjcA7ZIpE98QoMylufZqeILlHt/pSQkPq/Rx2pKckO1KM/XX4+RerEilNB233edTBv+Bip0kGe8RHu8KkoROtoWLhHk5TB0vX1jTJJpGAWLg0sjlsYntwOkEpvlPdhpKslhmNFxwzdhcrFJTkm+isInGVzgySMvn+lVWJ7TeWtQVJRBFXDP75I/iCcytIwqSBFt3n6x777wuTtOGrr7wfa+znoxkkpOI3rQd0e6QUFZ4413Ircj4OYBFK4rIOgQgvLIw2Fr0/WdmVS7kPDKdICLskzMJ5ToLPjRsX3urzJ1jtiGK4A5mikrSoJvYsvNl7+5+U5tAiLogcIDGwwahBNbRBAn7rAlv9qj9YwGw/ONuFxH2Y1mQPKxRokLzV4yY+OpT7H4PF17sjIyA8VObQxlr9CrVDJsczYonme/1djHpMjDUr6C6rgvUVmxb59ouTHHIpfGncc29gCZKwFnOJbr+Yh0U/eif62IAnqQdiDNrOrDo5YT7EB4lEBlW+PO4UN1eeBZpiTZz+ZJ2ISdNCNsYSkKjocHcJn9zzFT8XDUxgrzZp4X0uWxMb7gpAkkRFMSoiXwL3p12/LMVozx03hGhDb1Fcmg0fuJuzBkNjpDMMHngy/Hu6R4IP3AwKWinG+8DeXW3yC6/0RY5/CI7fFv7wIyNugnATt3XARyLxw7OzX1t8bhldEBQuVAlHHr9BOeV3h776XXFL9PaWeLCGfDzF0YBsCbwSRY+z6LXzN+3t8kCIMVFzPZFOHDZ4SyCXDrnFflPRx5BiSGNcR3zwgUsP4POixP5EmV2x8pSSo7ILZOmxQ3BY7T/XrG3U+G3PjV+Q18jciD3B0WQoYWTcWsM/zU7n8QzcLbcpPBDsURSOG545iVqXzA9EQon4SPhyY8ID0C2jBSIN1iCRcHf4aRdyVjv/MIeC1AOPuVXqItrHOEkpvNQj25d/+AwJO17yY3TkQMBZniDIMV0uv8yjjdSLHdK8/HHT8g/OXvAIEGexYznZsYHjfziW5SzHcQ6Y8whHoCqp8axgHHZUnlvg0L8e89B/PpLa4sGYNvL6Ao5CajEap0rxMPBgMjQ6jQkUUo3FaSLsyi2bIpmKTOMarVAGFkRaycZ56aqQ4jx17IUlCsi/yiViopiRr161/FevTPnqlVJMLAXZQmn2S2QZNZlYJnJFVdE0/3W4fElRVyIn6R/bSlMcAJnwXgAAAABJRU5ErkJggg==",gemini:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAADAFBMVEUAAADn5+fm5ubm5ubm5ubm5ubq6urf39/k5OTn5+fl5eXm5ubm5ubm5ubn5+fk5OTl5eXm5ubn5+fm5ubm5ubo6Oj////n5+cxhv/8/Pzv7+/x8fHs7Oz6+vrp6en49/j6vBL09PQIuWMllNQxh/sqj+Qjl8z5RUMnkttucsUimcQZpKM9gvN2cL8fnL2BbLM4g/kuivQti+9IfulSe+AboauUZqIVqZOqX42xXYby+P9Nlv9DgO4rjepdeNYdnraIaq2NaKkXp5ufZJgTq4wRroXFV3QLtmzSUWfcTl+Yw//29vb19fVOfORYedplds17brkcn7H55KmZZJ0PsXwNs3XLVG7UsCXqtBvyuBcrkN9hdtJpdMqkYZO2WoK7Wn2/WHrmS1W+si3esx+y0v+z0f/l8f5+tP0vifik5cT7urovnbXovLQ6qIxlsGXuSU5ytk2At0f1RkfRmD3WpDDL4f+lyv/y+/X99fX9+/H96enE7tdPicj768dEnKs0p6U8pJmWdZcqrZROpJOnbopMq38qrn6KlXeqg3Ryo3NDtm9QsG4lt20YuGyek2cttWW0h2XHe2H4YWFMtV52r15ZtleKrFNmtlHPlFC2m02lpUrDmUaVsUStqz6gtjjDqDewti/KrS3hqS3lrSKLu/8+jf/7+vOtwvHh9u3+9+FGgt/90dDsxcY4l8SD3LBZj7CAeazA36YnoqXlmqT8oqGF1Z1fl5txjJuDgpmBkIn83oiRhoc+yIVnn4WhfIPPaoP7gH4ZsHw/rHy1b3tZq3kysHW9a3O8eWzGaGxYsWaFpGRAtWCnmVm0klmboVjIh1W5o0GMuT3tvTjNoDj7xzdlpP/g2uv09uWQzOJDnuKq3OChqN6o39fhwtIqlszEqcqKgMM6qr/E5Lq04LKD3LFph7Byga9pzq2l26n0pamOc6Osapjd25PitY7syIsnq4n93oh0mIi31IJap4Kudn2ZjHcqwnXlY2/91mzfWWeQnGa9i1f7zU2mw0zTwD/4viLmMlMtAAAAFnRSTlMAIN/vcL8wEJBAn4+vz2Bgz6CfgFBvyuvMXgAABf1JREFUaN7FmnOYG1EUxYOZZLJJu1u918kG3RSpbVu7tW3btm3btm3btm3zvZlp92ubTO5M0vb8n+/3nXvuQ+4bDVTGmIzZEqLTYyK9jmXNjMmoCaS0TJAOe5DOEmwIDMFkFgG20DCnnecREc/bnWGhNhEUZPKXYIwRBRNZw3nkQfZwq4NygrV+IAxmGkGoHcnILnCC1GK0LC2SHfmU06oWYzRTEzwCiVeHiaUHIyQMzUZxpWwCQhmG1Sqy4XAixQp3YD2jIA2rZEO5GTOsVCEYhyGVCiPJaAEMHXbwSLV4B4Bi0MskDqLYsN7gk2FFfspKKD4YochvhcpStAAGkKKVydyKAiKr9/R12IYCJBsO8XxumiG9C+9ks8e9BGMAA0zBmPEYehgKoMI8hc9CQ2/YEBo++zsjKjSQRW73ImgszB/dG45AWu12r0YgObH+1w6LDl4hI93u7eA+Nv9iBNxZHd1ud8uO4A7TqjKynTCaPQBvL6waI2hky2bNanxoD7ZiUGGkYctmNQoVKrgYbIVTY6RGjUIFC5bdBl33kQ0WFW6E2iibv3rVK+AGi/Fz9wXef9q/ExDVMmV8BPyFHUcRGSbsQDCtEm1kylil1DUEE8YmZbF3lGxUyVMqfa6zyqLXYTusWNvK5q9GbRBEzhTXncB66SjDAK3WKlIp0UbOFMWTJboErZdWQW81FmzQSgmMYtnnAXd8hkAsOBzE2C+kISEqV8qetgiIEoGDwJEs3r/3hw2CKJa9aNo0WZPWgaxHGooRY4iPEXt39Y60UTRtkTRJU8aO3RYUipGsEhuEsU9gUAS1USRNVsIgKgxZ9DE1jO9L49wnx0bse927hxg4tUERoupl9r1SGA3n85LSZfz4Y8P7b+3xMIUYOLURL/YPZanr89rCaVgfG1eHp61ajf9EIcuJDTFwyYak2fJmnNhCILLNVXJm61atJh0Z3n/T+uWJRBspJRuRZur42iN1mPfuouTJWTNbn5o04cjQN5vW3y0WaQOKkXpY7xWy4Pm3CuVFyOGh/Tasu9N5YRoR4QlTr673g0uDsee0N36OEycOgZRrPe24CFnWeaHI8MYp3MbLQvECKUkIAqRWuRnTjk88+rHfi7XLOldMTeKQUx31kCkTjx4csGVt1yUVs6WSp9QGQ6Rynf4BqTll4lgC6dV1Sdz4cpQzXsslF/z70xRSs+aUyWNHD3jVq2ujqwm9UuYUlgletoVRyZMEMn0qgTTd3at7o8RxE8ZPncpT5rUzy7ZwFB+L8SuFtCCQPt27NUpAKfX/cFFbfjGyGouvbeXx9KknWjRvOqhPk26NEksUZdsKC9ggz32hkAN9mnRfmZxQKv5KydIGsEFCtvqXLZqPOzBoZ5OVJQRKNmm5wLf6mJBDa0XzcWMIpGe6HISSUFou4EPLBDx+V4wbM2pg355JKIXEIlLgx6/Qw751k0D2PMtNKQl+UmqDb3fRcAQC6NaoQ3v6ZsidpIRISU0obWFXIguBMMDL3f1Dw/rmFShSIxcGXu6Cxb9ACKQ1wwbvyJshSTqJUg+B5MAGJRfudgMH78hHKUIjX8gMvnBTcdBJWqdhQ0rny5tbpNSFDj+CpD9BGAELNqRM6XwZhBY7j6DVMgkQYY+EFWxwAYlyIzN09KHTiIoBntg1cBUok4+22EXwH9NgCWKkBxdMb10FShNKN6R88EGjh1shlMtIWexUBgy10m4IpfRUbISKBVu57SKUe3AjqkZR812EMl+5ESoO3GCbXa7Nyo1IDQYdfSx1uZYikCL+GHMz0EFnJ5erE3TQGax6ZNugAXhk+3+Gzxrmr4/RqbjAPghwnp/+ogTyaUP3nx5pAv/c9H8ezgL/BPj/HzP/zbMspfj3wBxCGABx/jyVc9BPZhg9dkQoZzjhj/5UWla5Gd4mfb4AV1SdMgwfiiNtwM1EwxQDRkhpqMMATmW7DctUCoRxWO2yBGpCzxn8+eiKZEM5ER5BfLgVE4XEMPr96VU0+U+vOJMmIDJEtXj+iCyIgSQBl9HEcCz743O4KBaOiQku0ndVr6zA2onUVwAAAABJRU5ErkJggg==",yandex:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAABa1BMVEUAAADn5+fm5ubm5ubl5eXn5+fm5ubq6urf39/m5ubm5ubn5+fl5eXn5+fm5ubm5ubl5eXl5eXn5+f////m5uYAAAD+/f38Px38/Pzw8PDp6en09PTx8fH6+vrr6+sfHx9gYGD7+/uBgYH39/cUFBR1dXVWVlYICAgEBATz8/MhISFTU1M+Pj4aGhoQEBAMDAwwMDD29vZcXFxKSkpCQkIzMzPLy8tubm5HR0c3Nzft7e3g4OD+18+zs7Orq6tycnL9hnBRUVFOTk47OzssLCwqKir8Ryb/9vT/6ubj4+Pd3d3+zcS+vr6np6eHh4d7e3t4eHh2dnZjY2P9WDv8QB7/4t3Z2dnU1NTNzc3+xbuwsLD+sqShoaH+pZWSkpKNjY39lYN+fn79j3xpaWn9aE38SiskJCT8QSD/+/v/+fj/8/H/8OzExMT+uq7+q5v9oZD9eWH9cVf9YUX8UDH+z8i4uLikpKSgoKCbm5tJXk3BAAAAE3RSTlMAIN/vkHC/MBDPYECfoK9QgLB/PijmHQAABgFJREFUaN7Nmvdf2kAUwBlJWNaOd5dBSAyFFmodWMVZRx1ttdbR2r333vPP77sLcB1RgeT89PsDGPOBb957dy8hl1i7pA+rSm8mkSRIMqFpippLx6IkrvYkSACJ3mwqGkNO8QVuwS45pg6Ibjolu+D6op5cWEP6WIYg1ogJATgjVp55svEQipTCSlBwYA8c7unpVhPXWJIc2JfSdLeatMKCMKEtTKsrjZpEBa9y2xqsTceZcnkUnWm0eEdh5EvQMSN5klQ7qIYlMtVhMEp7qcKZYUOX2FiZeBuOBMmb0DVmvg1LKklcHUJguiSZ2tdhQUgstOzjKEBoCnta4sIR1hLfo+YWRIK1e/UTxIWIcEkm+LypiLEbGj0fPCtVQkyIDJMQNbDoNkSIHVR8TRQ9quJrfzuyoiDRlUX9Z/SOQMSUSPLPEXYIkxU57p8jLB48ssKPsLi8QER70SQHguiEpOQFIkJRJAeCmGKAZck0SMIlR1rdtwSScEjGd+RIHqRBSC6o7HJKnyAOSMMhCeZIYbYk4s/6LGZLIhbvxb3YfyVikx5ekiJIxGRFSTdK8nFn59kF8Dn7YmfnFuzPcUr79P2LksZZ4gLjlmEYH8DnsWFcfRmVxCWHY2rjolH/3Prm18+EL7ykgJVXmhcpl14YxjtgPDSM828ik9g4HbVm43r11DA+A3IBA3m4r0DX/5Do5u6n+qMoccDnDlblLL6/w0CuQfHGxmJ9Zcr7Bsic503YdxdrtcVZYBTnJvtXJtaaEvPy6ed99RNruGPb8zZZam56njfT6pGJ1rnkwlXD+KSDjhEtAJysUp+TAHCC0uEpvlW9zTJwhjKGTvoSC98ZlXWAB/h+HAMbo/SM3hrDSdLK6j0M5RJ8NYwXGNAyrfZN1ZlplkmQ6uAwvi75taD9o2jlEn0e9y2NltFaAmcM367DHKXlmeY5OBkjBJq8+mIYH2HBMJ7ixtL8jSLA+BCl876kdtM5VcPD1cHG76tboG/4kvEKHrwOb/EQ7gNcx63F4gqlm2Ki+BIRyvmzd96/Z5U5BZwxzBeXVNh0eoRfa8Isvq6zY+zjki08ajZ4Bigd88OsnqN00N5F8vq8YTwWm4Xx2bllSk9zSflUI09F2EQlb0VnuGTArxvb6jex0CuUcRuCJXyqf7nYGHl3lykjQILf9hwYW1zSj1XoRyp4+KzXvq34HxISUXjGNSz9PWCcOs1KPVSuBEgwGcvAeMQlg7RFmeVotUx5dUAUng1hARvFgPChOHFj2p4MjqQfGPNc0oebJ32usDnnMd3wzO9tOCM6faOjAPhVHABkNECyxccYco5LcGxMgmC9SqsY/1KxdQLWYr2NtiJmPW/4dUrP7Sa5jK/jbN4PcgnGM5wHDqr1JZyG25TSy622ookG2Wr4vPKLWEWMeK0PZX9LSBnDtECfaMyTIQyFWVY3MKIfqCRmHffkRYNkrV5wqSm5y/I6OcBm/OjfEthkO2vDtMIl/L/VlRq6arCG/3uArQs/6OmtVn+YuEESbD6Mwed40P9ICo2dG77EmaANRgHb2BQbSU9aCXNJjp9+BdcWFhbe+PW6P1ob2F797nlbvAs/YQPnNvZWk6Xg58DQ8vbMdWzOKAF9/Um9PDh1ZdZeveJ544BY+Mej1umXj2FJiKu7Q1h5idjkKEpU2Rd3WZTE5V6m5knqoC64cToWQBoW6ZH/IyiPs4STkZevEmbL5whxQRLTOLZ80kkp81Hc+JBZelH2xi86HRjyAkE0EYqcQOTfihJVcQGkBSIGWClqh/3PbW418tqbeZI9+Fu28m8+i4TJvo2OKFiWCAuiBC/9ZaJc2kgc/CKN/OUm+QtnB78EKCxuqJGsu+j4H5ZlfUuYBeYMOtqALZV3FYzOlsrTbS/6dxVMqYNFfySudR6M6Xb2+AKSTXSm0QtEhNF+MIdI+xoTFaIaHWum2zgrOy4RmepOk7ecPQ0siKSSCvPQVTbBPXYxMEsjFkEyR9KxkOQOBTx6VRSPXim5WCSksr3BD5H1qPFYlKRzqqJpzcfhMr2KerjtJP0CGZOb4mrrC0AAAAAASUVORK5CYII=",transmart:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAA/FBMVEUAAADn5+fm5ubm5ubl5eXn5+fm5ubm5ubq6urf39/m5ubn5+fm5ubn5+fk5OTm5ubl5eXn5+f///8AOJPm5ub9/f3u7u7w8PDp6ens7Oz6+vr39/f09PT6+/wCOpQvXaf19fUPRJoeT6D2+Pvq7/aPp9B4lcZSeLY8Z60VSJwGPZanutorWqbw8/ni6fPCz+aUrNKEn8tHcLFDbbAkVKMLQZjt8fjf5vHc5PHX4O7S3OzN2Op+mshqi8AnV6MaTJ4KQJejt9icstWKpM5jhb1egbtYfLhNdLM2Yqrl6/W0xd+sv9xzkcRwj8JAaq/H1Oi6yuKgtdd6l8fx9Pko+Yq1AAAAEnRSTlMAIN/vkHC/nzAQz0CvYGBQgH8Uak4vAAAFVklEQVRo3sWa51riQBSGk5CEEtTdySTUGKQXKQIWFMHedd3d+7+XlWR3k8EzBcjz+P4N+nHqHM5EEiW5o6nplBLDH8QUXVc1IylFiazFFQygpLcT0SgYqi+QyxQLectCH1hWvlDM5HyhuLGpQvJ7Cn9glywEkC/Z2YXOtryBREJdhCCTRwzynk58XRlZXzgpj7gU7HVlkurCCAsJYa0no8UACY6Msr2yp3KABE9Gl1cyI1tAK1PK4pgmHA3AU8LGqGKuSmFcRGtSxFiRBTQUnLXQ2lhZAZVEDI64uEoOxxJcjQzaEJtUgTU2JsNUkQONTVVkRswzKBJsevQVnEMRkcMp+NxUgdzdIJPBqtQwtlBkWBhrYNCLKEKKUPB1bCM2R++/7prlC9M8HDcb077DDb6+rLHFCYhzOWqZBK1hp8IJi/Ype0uIzsnrngmwN62yTmUcIzMsznJW9WXXpNA+6LLyWCUMYWXWVdkMuBjeNd4OzYByn5Vhspghjzfh/1jzwtCthePzckRvL7qQIb19M2B4jP5y7JoBox7dlISAIWdzM+ChEsrnsMrsmGqKyjfk9MIMmFeJR+F8a51QTAkSbItmyKRshnglH96Gn82qtAT79r/7FuCYP5hhJuTTH8TD5m94UsYpX8PAWQRyS1besivaxOMpAsHYYIb9ySQYLj93ice7fWboFZwH63xOigzQEi/k8/0u7C/FGx4o3qqbJF6akkEhGVD8JdNzq7rUr8afG/PeUrsETbG9XpzGJRFDaugTv+CPkJRw3AsJdPxUDk2CQ6CoT5aMLYP1uAhKEg7JpUlygwDuTZI+HJSkZMBz0HDp3DhFAH2Rb5LDO5IGDnROa/nPQRpLyeGAlaJJKi7yv2OrR2nSe2RBnoBjiyrpYOM6APIG4pz83E/wqE9/iOS5fnhwqCfsmPjgOaVHKuBZ8gY7i5fGDUoOx0CRWTiz3hGD57DKG3xwSRgjgFYommBPgluDCxcKRSSUNQcICauM1xPZ5WogK+hhM1iE4672NYKBE/4BFqEEfh8uEF65jODABykMtb4mEmTGTuEUdugzxJOoyNXfiRUsRl1Kg22l5p91FVGRrl8tHbCt6JQGeUbWFp+xlyY9uEHSWn2ZcDGfZlCLQKvfgQ+tuyBZIOB0PIcPLYN2/L57MQHncPpsc0o7fik5jOYrZdezN97Rp7s4PBJdB6MpH8elHVmohNPeJgIe7ryZ6EpMZEqdiJCNF4tcmTKmDrz+GFaxqj8ur+uvr/XrzlmX6F27fpFAZHGCMXB3Xf9EPfEdMhncE/Pe/K4zsTzpScNvQRZj4JZUypar71dx+77WuazPoJ/y7rRzWRtd+CPmKcVbcfaPoANzBQaI4i1D8kjB/kKVobjGjUVZfSiSzzfaxu5oX1TjoUL7YfrvkiDpHVwQx2UxDfeIt/jwQw/zKGRLs4cQI+w+Cfqy6+iOr3FbEdrg6PRdrXPdZktcDCzEM4S/ijpzWRqjU9FVlKSyVsLWzzlNovxMugo2JEiwAmLIXI3BpOo4rIuhT2tujbd5Pjt320Qo9usT3v55e/WVLeo91xujpus272+nT4+Iv7L9guUz5LDN1+hfdSEgJVNRXm0o9EsaO7pLmq+6bor+4oypYkdxBfj1l5nRXcvyVTa5YE4BGmBVYnv9q/LkCpf+pdU1CsSlPxdZX90YKwe8vsBmS1lNxspgwAwechwTMjwJIBriMgW+RD6HYU+Jy2TtPFNhYURM3eTtKHlL8XRKDuilko0/SH1LShtixIFXr5zg1SvVkCIhsZWGXyKLa7IUJUlDU3X93+twqbSq7Qg76Q+RUV4iwX3ziQAAAABJRU5ErkJggg==",azure:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAA6lBMVEUAAADn5+fm5ubm5ubm5ubm5ubq6urf39/k5OTn5+fl5eXm5ubn5+fm5ubm5ubn5+fk5OTl5eXm5ubl5eXo6Ojn5+f///8Aidbm5ubw8PD7+/v7/f/19fXs7Ozp6en9/f3n5+c3o9/5+fkMj9j39/cDi9cHjNf2+/4YlNonm91htubj8vu23vR3wekgmNsTktn5/P7v9/3f8frW7PnG5fa84PTo6OhZsuXy+f3S6/ih1PCWzu5FqeIunt7n9PvM5/eu2vKo1/GRzO6JyexwvehpuedPruNMrOLq9fxApuGY0O9/xOs6pODa7vkvVpHpAAAAFnRSTlMAIN/vcL8wEJBAn4+gr89gYM9QgG9/jIFk+AAABRFJREFUaN7VmtlW2zAQhr3EiZOQsLSVxmv2nQQogQBl3ynt+79OZRUqx7EsxXY57XeT+Mb/mflnRj6SFFlKO4VqbVvTgaBrhlEtlEtKnqiFigYxaLWtYj4K5SoVaHqW223bDURo2O2ua3lNKlQpZ1UofakHApZroxjaruUHOltqBoliVQ8U2iiBNtWppJVRDQDw2khI10srU6oGQdhICttKJfNZB7Coy/Iy2tbamfJYFNIyhrpWGH4XrY3rg16QdoOfKXEwVblUbUPTRSlxm6CpEhoa+DZKje1LqBR18BooA7YHelGoYaGMWExFUiN/FZVpZFVR+Z4zjYwqfPc18FBOeLAdv25WWe1mpuHHd+VnaNooN+wmFGJNd1GOuHHmG8z0vMw3ohqbzJD8bClEq1c+WYPvU6nB0wV9ucI25JN18ND5KlvH1aVAAGxZjfPemPxMZCoMQE0TiHN1gTtXCM1fHDnv0wRyvYfxgrz/ofddxvsmFNcPZNrBuDNH6GSGhxOpUMx1A3keY8LTPkK7PYzHMq6wAtuUG4w/X3DAEXFmQX77c6kC+/Rn+nYlLN+dUY0WcWQyxISXEySkDXWFUgYfibnrUI3eNfl/iwP635CYJpSlbd+f9jHlYkCeWpgyu5S3XoM2EvD1Cf+mf0aeTvEb9zL50ujHgzhbpyP8RuuAPN6/P3VOZfKl0toSZWt3D7/Ruw0GJJWkPDrifNFZXBPN30NaS8yRM2IPy54IFyrUEjvZ8zH+QzBLnEfMGAm9twNTSnCMEjnq4HeGgyCwGQ4xdcSmlJSyoN1DDuA7RPiGw3SuxE2/oxQEvofeOTtEhBe8xMKRcN5M9v3nMJQa2jJ4mf610HlTMRIHlxNyfY+uuq84QutAtNTXiEhb3CKUB1prFzjKqyOakckVfNIKWXxJVVmTsL4X1rAODcTlFjPGKODyHK/wmLwGg64AIC6XofLtHCLKZIaj9I5QEgBJIs5DOBDnvTmHOMrFQXqR+V5s0910VkK5Sy0yCKf/KdyfPRxheJgswjf+jJv2exxlnGg8v4RPwrlvLZv1tJKwq8QSrnNEGveY0T+KZPLHSt/v85vRUGqcsXIa7rofTnTRn0VD+cYfKwZvQO4vwm+45lUeYzjhD0jeqL9ZysWAO9UY44RRvwMeZ6li3PAXGkb/lLdoleOXX+cOhxgNYufBNNIuTw53+Y2t4cOlXJxxanwRCeWG/3W3AW6i63jEJlNyIQ+fY32vEZEY53eXEsEfTNGJfB/r+xYRUVdNWbRCnD+LP5fYcrCCD8X4D25nCc43+PX08WIY8f7cibWEYK634XEymd+OWyyEZO8tqFCRMsmXFM7X3duH81EH8xlFc+uTLqHUoS14+8FkfjZ9HA37WMRrdHBpym8+gYf+El5QW5SSDjbKH7bxwazPHWY7pQjHbA3OPxDxtl32QMQbH9kDYZiCAssWCCuwLsoZd2WbuwB+zt7bPmx9xJbtB28+s4Qd/7VtdIZJbMnREDP+6K+e59GG9qGHNB9/3MQOzv6H4zmRBlXxMlVywyMa/8KxLFU5znLAvE01hJgAlp0qVRaAWVLkKOjgpwimSw/9pVGN9YOxPXZ9QZJNjclIZoqFIY26AfIyttXkuyGW8bpISNsDlql0Mr7omg8JQjeLSnrUwBvwOReWbDdQgO1PJSUj5Y2Yq1c2u3pllpVcKG7W4i+RVQqqkielcsE0jPfrcPWaWdiRTtIvY9nMlpGXsBcAAAAASUVORK5CYII=",hunyuan:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAACTFBMVEUAAADn5+fm5ubm5ubm5ubm5ubm5ubq6urf39/k5OTn5+fm5ubm5ubm5ubn5+fk5OTl5eXm5ubm5ubo6Oj///8AU+Cz3fLm5uYquf/s7O78/Pzv7+/x8fH6+vrp6en9/f3s7OwLXOH39/f09PQCVeEpt/+53/IOXeL5/P73+v623vLy9v7k7fz+/v8foPcJWuH7/f8SYOICWeKpxvWfv/Pr7O7r6+saZeMWZOMUY+MjqPqh2fW/4fKw3PKq1vGOs/Ho6OgIZ+cEXOMHWOE4vf7v9P3q8f1JwfwkrPv29vb19fWt2PKayvDn6+8Tf+59s+1yqusLbug7fecxduZCvv3l8/vc8PrG2fit2vIZj/LR5fHE4vEYjfGczPCCq/CUxe+OwO9yoO5jn+sNdOpUk+lNj+g1eecGYuUnceQmr/zY5ftaxfvU4vpvy/nK2/iB0PijwvSm1PGJr/HZ5/DL4/DW5u98qO+Hu+53pO5rpetZj+sKa+c9guYdaOQwu//2+/7t9/7n7/0ns/3S4frP3/l0zfm40PfH5vaT1fa0zfaxyvUcmPW84fQakvOQtfLY5vAVhvDl6u/k6u/f6e/c5++CuO1kl+xmoutfk+sOd+tamOlEgektceUnbuUibOQFX+Tg6vuf3fvU7PjO6vfA1fe80veWuPKf0PHV5vDS5u+Ktu9un+1nme1Mh+lGiOhAheff8/+z4/1px/xPw/y92/qQyvl5zfg0pfemyfZttPWP0PQtm/Si0PAqhO1QiepHhekie+lVlehJieggbOP8nkxuAAAAFHRSTlMAIN/vcL+fMBCQQI+vz2Bgz4BQb5vSjyAAAAdgSURBVGjezZrnWxNBEMbTSUJVb7MpkAIJCSYUASkiICAoKBYsiB1QsVekY++999577738Y24udzkCs8dB8vD4fuPTj5l3ZnayezKp0o5WRcckKJSYSKlQq6NVeq0skpKrNAoMSBETHxUZgj46ALAnpiQnmW0Mkc2clJySaA+ANPpwCdpRsZjIUm1mACVVW6x+Trw8DERUtN+CxCRGREksRzNcjFztT5JAoCrZMlyMNtofhJmRJPPwMGOUBMG6LBlDvBlypuxgFOIYtXxIYViTmSGr2oqVqiG4YQEyJS2YaGmpSsA4hRmmUogzcgkMBbYCbkgOxiqBEqXEeSRVYVDysDJqUIaFCVMWnkJnJDJhK1GUIucZ4VPkIp5bmIjIQndfgfOYCCkPJ8DnZrRQu2HLZoW7cgzGhBEpmTFWgaanMBFUCmS+ejDTbZ6d8+4cnJhqMBiKim/ffv1q1850cfPV/Rlx4oake3bNP5hqCGps6qF1b96/2+0RtUU1oHqrRRg75909NpYHcJhFH+Z+/Pypih5NMlaGVphGLFlZ8+4KQQiU1qIpU79ezKlkaLKHVphcrLJ23TlmgJT6uGiKK+P7s40iFSaXFkh61UEDRRO3H5rsmjBjzuY06nhRSwokaz5vBpCwhWc3GI17mgs7vBTvMY6SEIhnPkFQteiMYa7RuKbb0eijhaIbPJAsgQHm61zthh1GV0aZo82XDroiFFgcttAYQlWB+XpkWjDZaHQtznY0VlEKbFRw+lL2n3nTlrcvLxGhLDQ9IvkyTpiNHKXwpoxjAww9tlIYT3pW31j9YuYCEcj4dQTiaihH+fcYSBjrRW33Pi1ARM6CizRG6naTaYMxEAq6WilmvQLDm3tpPgrIMYtm/FmTaZMf4prhRJlL4Xwp2OWBkq36OYhX5jRKCddyEOPRmwhd3wfnS06vLc/SChTUeWq2TPtZyNQyEnAH1PkWdhbHwPN3Xx0S1AkHcppA1rEQFzEFrapnBqoGa6iWZOW6kSDQlNRzhLFtrpEVMQU5lnqhfiSmaPEkBtCtLtRHy6BO3DaeQIomByCnshFCz9eCpmhJl9ghyMZ8JGjVAqCyWEYtsYRVgx+SfwRs+tEyFbg0enKdAmPc9IGpWnjGzzAZpnCQ436Is9QDdYpKpgOXFO8zgXFjeb88pbaerDWx2kbmY0CL/RDU5YPWFp1MDQ6uqlVCHOeLQ4NoPWPiVHuIOMJ54mTzuh466mMIBCouXwHPcF/ZEurFyfE842wRmyy+uogKN8IzUgGeJXsRr7rp/Y6QION0H4armYVUHE4Ha1iJbQDkSDBZncWhy0OQcXIT1yJcx7PK9QBnsFKGMQMoh4fMWTKgyVltL1rHec7PLlYn0qBGGQQy7mJx6OrANkfrgk1vWcsFS7IRq9LhQFaHOFLy8Mv+KZONoeLOkzAgPX0Ry1b+mmoEdbwciaYLNv4Ad5A0CYyHTb2oew3ImNqMOG3OgowXL2F3e5CxZIUboTIwkj2k3TkdgEs4FmzGW+5+U2vJSgf5uyUDgmSUBQu+HmpGtSwGHCu7A0dWIT9+t1zxM1D5YoCxptsZLHhwrKhpA/IC8quAYxTPLESsLu8ZCLksDOxL8ICkjvoQyDd+qShvcIUSXBMuo6CcpWnwqB8tdmgVcK04E/HqznCFMIgfgvIPg4eWnnb8+rpYT7gJvFL4Z5sJRQhjcYuAEDl+KTWc9sDtr5bA4T6tEAkqa1jDIxpmZ/dlOLZ6aNudBtcwgNZfFXbHZaivyptPHc3IyDg+Y3Y5CtG1++BKFEMgKni5S1uaiVDFCs6SUGXfbGlpKXeiUFVc8ILLXTyByGFTmL11/sJnF9RZSIquQ4EwVhwltnCfGEfKa6ZUiPjCLdNRbtIqL2WizN/TgHSBqquELz80LERPyRez7xo5UPz70HQJjN4DDJwtPQthZySozW6UeaWEK2FxOR5Qrj4UsoBGYTsM8Wx1o7/+tevFoIw22g/TeA6iVdJ+YldtdTt7yCrRXjEIo9EnevHBWw/Lu9VdsaLEsKVHvLAayc94mu28ovAkG4WSVtqLCKXdLcLI7/BKucFR0++DPTl17hVLSpocNITzGneBAwYi9SpqfeONl8umr6RQ8i/dk3gVRVyxM1R5j1z4M2s5SCn8kQv0IBAIV2BiTz++nI6mzs6C/onq7cpdm8XQVDPgmluFrTYRSpavPudJ08u+9meuaqv3ZYm+pMQP9co2Pc1beTi37efqCnKWXb/6NHftbq+UK9uRv3wmCZsU6Wt0QDrAljCetnTw019sJJ82FCP2SDPyz02Rfzgb4SdAmJIXViXb8gjjf3iWZSmTwnlgTgAYYFdiy7CCsVkw1kn9ZEalxNaaoTOS4Ud/+ucLQw/GbAc+XxBXnGJoGFsihsMQD0aDpWPMBAG4IRmTPDgiyY7hTEnHWC1JogR/EEpdOF9HyeMULKcGBJmrLZgoYZQ27E+vNOKfXun0sogoKi4G/ohMo5LLIimtXqVTq/nP4WJjdKrRkpP0Dx8sQKsIsoHLAAAAAElFTkSuQmCC","aliyun-bailian":"data:image/png;base64, ",qianfan:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAABlVBMVEUAAADn5+fm5ubm5ubm5ubm5ubf39/k5OTq6urn5+fl5eXm5ubn5+fm5ubm5ubn5+fk5OTl5eXm5ubm5ubo6Ojl5eXk5OT///8AYv//UC4A0mPm5ub8/Pzv7++/2P/19fXx8fH/7uvs7Ozp6en+/f3n5+f5+fn39/f9//8/iP/W5f//bE//08r7/v36+vol2Xro6OgF02YOa//u/PXb+ekM1Gv/d13/Xj/q8//f7P9zqv8XcP8HZv/q+/L/9PL/6ufM9uDG9d2z8tGZ7sH/w7eF6rVj5KBO4JNA3oow24EY13L/h2//VTT/UjD1+f/x9/9XmP8nev8fdf/2/fry/ffw8PDu7u7/18+n8Mr/zcJo5aNc45v/qZg33IX/l4Mg2HcQ1W3/aUv/WDfT5P/H3f+y0P+oyv+gxf+MuP9koP9JkP/1/fn/+vnj+u7/8e7W+Oe89Nau8c6f78WO67p86K9H34/Z6P+Fs/9po/9fnf83hP8ufv//5uH/492S7LyM67n/vbD/uax256v/qpr/oI3/fWP/blJ0WKayAAAAF3RSTlMAIN/vcL8QkDBAn4+gz69gYM+AUG+wMJ1qvdUAAAVLSURBVGje7Zrnd9JgFMYhgzCkUw1wE4NhBKtAW7Va69ZWq9bV7aht3XvvPf9uX1JDCnlXCHj84POt5/ScH/c+9x259w3xKtIvJbp6BRGQREGWE1IsEmqnwlJcAIyErp5oewixhA0omFnDqmh5FSmvFS0jaxZsUDwWlBDpS9YAuqGpGFUMPVfj9IQDIKIJERGyRZWios2Jt4oJywBgIgJL1lyrmEiiFoSmcknTW8JsFAGytsv8GKHHd6ZMNwpujBz2FUbOUn3LyIEo+XBjlpApdjAJvlT1QsFQW5RRACHMwRAgp6ktS8txUKIimHk1gDQTxCiTMasGlI4oDEZWDawslRJ2GMEpYYrns2pbpJPdF8BU2yQTevHnZsKt3cDK5/CrciMUuBj3Z7gquQAS1nSedV56Vq0eK/GsfZz5MugqW0cmM0iTh7nMl5sZ3TyGPLw0lLE1dHknjy1Sc/WykzXzYnemruXnTIwFYmOFbWAn6+m1TIOqR9l1nGgIBEBjmHEy49GJx4wKAwj7COThxO4MRkOXDjC2F5k7kNLzoQxBp46Vad4XIMoZyEKTGT6syYLCFcjjJjMw1uwiu+IWWDfMqQTtRCuDqaHxGXKB9dV3X8L9pzze5DfZGgKkCMk1RgxyeL+PVjG5OTI9/QSTwauEnaYAMartR05lmjX5pGTjF7z4yQNU6wUg3NwPTGQatOzWa/lbYyKXP5VJ+RJqjM0oWyQdvrrO3omG3WrX5XWMCfKiLEDYri2dtmNV3UIl/YKXu6g7voQgXdj9tx79/c+1xFQXSrgDrObataNl+uEVty2pqF5teTvgJubkeJmwjF68HJ92/pj/uRW7HpEpERhUcZDU8L6zqg8dWppKb8WbEkGrxMRDUqmLt0vcjO+r6TQeYkJ/SIIsAYL0fgsf4vgKQhAgWeS8AgYRgnR+lI34MIIARIgBSkgGiwZJDV9nhrGapkEs2IQgRRoExcKCjKSpkAokUQVrdMg2FmQ7CeLWsAj5zkLyIIYA1M5CVID/EF+Qv2L83ynhJFQ6CymCjM4sq7MQC0EUMDoLMUBxtvqgEPpW3w8mHXKBcXI92EOHmBAjH7+O9jP2+h11Bvn4tWuYBkndO0djHNxOh1RAsG+pBh2SeneDEsdKmg4xYBOCSKDTIShjb/YSriinXQIBokOP/Qk0yIAgDd85i8nUj6k0E5KDqHPhZkFQkd1Um/QFlRUd4l64QwpupdxIeXRvQF2neXS0c0B0iNuQGC5fpdtjXszdep1tPX3Gg1hZxGYrFrKVxF5Y9u7b76GM/cnZ11UP4swV/MYlhNbUR+jYjZ73UIbtMvuY9mjpEeHD1BkSRETSJ/aWC82UAWeRN2hkntX4cK3HWHNnmA3Zc9w5XHG2O9oMg86/saxxIa4ZD/g6ODKtHzywjQKZOn2I9ikX529F3bpIgows8reiQgq9JVx6PdYMcc1gB+IWGH30M3rXAzmzdJDeT/W0uSXIMSYar7a5EMcMxiSlx3/LtoSsqUN+LfK1bP03n8/tG1uD7LnC3XxuTtgguzM8ah8rjw7ytdExUjy2BBptKfjRX7Kdow2BPKTR2z2k6fy4qfODMypF7+AI0KWYWhBE3kSMf2Esa1MGgwyYe+kMd1WCrrWUKh1A4X0yI4mQayEYyx76cyss+w9GM53nC9zqFvxh8llww+APZgPwY7RsgewGGzNnsRFFE+iZYmNyepFKqAUhKtEgj666BZtjVLBZMnREgN6+SOCnVxvcp1dF5+lVxX16pcRCbVG0uwv/iCwuhUPtVCQmKbLsPIdLdilSP3eSfgOwPhJrcdcnSQAAAABJRU5ErkJggg==",qianfan2:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAABlVBMVEUAAADn5+fm5ubm5ubm5ubm5ubf39/k5OTq6urn5+fl5eXm5ubn5+fm5ubm5ubn5+fk5OTl5eXm5ubm5ubo6Ojl5eXk5OT///8AYv//UC4A0mPm5ub8/Pzv7++/2P/19fXx8fH/7uvs7Ozp6en+/f3n5+f5+fn39/f9//8/iP/W5f//bE//08r7/v36+vol2Xro6OgF02YOa//u/PXb+ekM1Gv/d13/Xj/q8//f7P9zqv8XcP8HZv/q+/L/9PL/6ufM9uDG9d2z8tGZ7sH/w7eF6rVj5KBO4JNA3oow24EY13L/h2//VTT/UjD1+f/x9/9XmP8nev8fdf/2/fry/ffw8PDu7u7/18+n8Mr/zcJo5aNc45v/qZg33IX/l4Mg2HcQ1W3/aUv/WDfT5P/H3f+y0P+oyv+gxf+MuP9koP9JkP/1/fn/+vnj+u7/8e7W+Oe89Nau8c6f78WO67p86K9H34/Z6P+Fs/9po/9fnf83hP8ufv//5uH/492S7LyM67n/vbD/uax256v/qpr/oI3/fWP/blJ0WKayAAAAF3RSTlMAIN/vcL8QkDBAn4+gz69gYM+AUG+wMJ1qvdUAAAVLSURBVGje7Zrnd9JgFMYhgzCkUw1wE4NhBKtAW7Va69ZWq9bV7aht3XvvPf9uX1JDCnlXCHj84POt5/ScH/c+9x259w3xKtIvJbp6BRGQREGWE1IsEmqnwlJcAIyErp5oewixhA0omFnDqmh5FSmvFS0jaxZsUDwWlBDpS9YAuqGpGFUMPVfj9IQDIKIJERGyRZWios2Jt4oJywBgIgJL1lyrmEiiFoSmcknTW8JsFAGytsv8GKHHd6ZMNwpujBz2FUbOUn3LyIEo+XBjlpApdjAJvlT1QsFQW5RRACHMwRAgp6ktS8txUKIimHk1gDQTxCiTMasGlI4oDEZWDawslRJ2GMEpYYrns2pbpJPdF8BU2yQTevHnZsKt3cDK5/CrciMUuBj3Z7gquQAS1nSedV56Vq0eK/GsfZz5MugqW0cmM0iTh7nMl5sZ3TyGPLw0lLE1dHknjy1Sc/WykzXzYnemruXnTIwFYmOFbWAn6+m1TIOqR9l1nGgIBEBjmHEy49GJx4wKAwj7COThxO4MRkOXDjC2F5k7kNLzoQxBp46Vad4XIMoZyEKTGT6syYLCFcjjJjMw1uwiu+IWWDfMqQTtRCuDqaHxGXKB9dV3X8L9pzze5DfZGgKkCMk1RgxyeL+PVjG5OTI9/QSTwauEnaYAMartR05lmjX5pGTjF7z4yQNU6wUg3NwPTGQatOzWa/lbYyKXP5VJ+RJqjM0oWyQdvrrO3omG3WrX5XWMCfKiLEDYri2dtmNV3UIl/YKXu6g7voQgXdj9tx79/c+1xFQXSrgDrObataNl+uEVty2pqF5teTvgJubkeJmwjF68HJ92/pj/uRW7HpEpERhUcZDU8L6zqg8dWppKb8WbEkGrxMRDUqmLt0vcjO+r6TQeYkJ/SIIsAYL0fgsf4vgKQhAgWeS8AgYRgnR+lI34MIIARIgBSkgGiwZJDV9nhrGapkEs2IQgRRoExcKCjKSpkAokUQVrdMg2FmQ7CeLWsAj5zkLyIIYA1M5CVID/EF+Qv2L83ynhJFQ6CymCjM4sq7MQC0EUMDoLMUBxtvqgEPpW3w8mHXKBcXI92EOHmBAjH7+O9jP2+h11Bvn4tWuYBkndO0djHNxOh1RAsG+pBh2SeneDEsdKmg4xYBOCSKDTIShjb/YSriinXQIBokOP/Qk0yIAgDd85i8nUj6k0E5KDqHPhZkFQkd1Um/QFlRUd4l64QwpupdxIeXRvQF2neXS0c0B0iNuQGC5fpdtjXszdep1tPX3Gg1hZxGYrFrKVxF5Y9u7b76GM/cnZ11UP4swV/MYlhNbUR+jYjZ73UIbtMvuY9mjpEeHD1BkSRETSJ/aWC82UAWeRN2hkntX4cK3HWHNnmA3Zc9w5XHG2O9oMg86/saxxIa4ZD/g6ODKtHzywjQKZOn2I9ikX529F3bpIgows8reiQgq9JVx6PdYMcc1gB+IWGH30M3rXAzmzdJDeT/W0uSXIMSYar7a5EMcMxiSlx3/LtoSsqUN+LfK1bP03n8/tG1uD7LnC3XxuTtgguzM8ah8rjw7ytdExUjy2BBptKfjRX7Kdow2BPKTR2z2k6fy4qfODMypF7+AI0KWYWhBE3kSMf2Esa1MGgwyYe+kMd1WCrrWUKh1A4X0yI4mQayEYyx76cyss+w9GM53nC9zqFvxh8llww+APZgPwY7RsgewGGzNnsRFFE+iZYmNyepFKqAUhKtEgj666BZtjVLBZMnREgN6+SOCnVxvcp1dF5+lVxX16pcRCbVG0uwv/iCwuhUPtVCQmKbLsPIdLdilSP3eSfgOwPhJrcdcnSQAAAABJRU5ErkJggg==","custom-ai":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAAclBMVEUAAADn5+fm5ubm5ubl5eXn5+fm5ubm5ubq6urf39/m5ubm5ubn5+fm5ubm5ubm5ub///8zMzPm5ub8/Pzz8/Pw8PBNTU34+PiZmZlmZmbp6enMzMyAgIDs7OympqZAQECMjIyzs7NZWVnZ2dm/v79zc3NU5GJAAAAAEHRSTlMAIN/vkHC/nzAQz2BAr4BQl4KpRAAABN1JREFUaN7Vmt22ojAMhZVfAZ0DoSLYgoL4/q84CDoZJQkorjVrcns8fGTvpC1tV3Mj+HGdXWjZ0IVteZ7jboPVN2Pt+hYQYe2izXcIW2cAlHt1OKRp3EWaHg5qXw4gf7uUEPwKoYv9IY2JOBz2xxsnWi9AbBy7J8RCDBz/U8zau4mEBJ5TfooJnFsSqJIY6f4jjGtTCBljRW8rVZIIGeOt30rjSHshe3ME253thqyUnIwzT6oQQMUfhgKw1jMYFhzlNORkjjMoGxsd/4xSgr2ZZOzjhbFHygLGMsoaGUspa95zZCyk8O5bUMZfihLCgGQ4RO0uqGSyK10AmaHayjRZ0kVWXHOtZAqAS5quJEJeJC9RVCD9A2W+J5mui4SI7CKb770yIjRERmAYNWWLO6pebmwHGpFcJ0d+sJ8rzGfFqk40I1Mz6th5SoStrHOCcTJV21cH6Mqg6VKFrWckohok5PqDxvemE4EMEZw6l1MtpbIhEmEYiCD0LKRUnKlEGrEf8EeKTwULLIJS8FzuB+h+oKUC+3WH0D1SP6QSEMOvzlKvhANjC0fSEIYB5zM8dZFoGcBWsN1gX4/+0Dwqq3i4VgvW82q1bF/f3n1IJU8wzqxeVr94INW6izXua510UY0gGZfK0PURpZZGQ6iaK+6uZ9irvF5uB9lRahXs6zX9Q+/PhMG5AqTJy+8tSYnq76Om+wJbY5DMyKNkZ0pAWVKxidR/fEZoG0sBEHRdUpJqMW94ffU5w+rgmv5n5RK+q6QPash6TGGAhdDEGEqRzjvEIkWzauWjCV4/leC1JZx3Vh5RXDmjlsY5DJsc/nqeSSqiHXc9hBR+9Ht1Tp5iNANfOn8MOUZakDK+66kVBQqFPdOQNWwTkAy9nVje1a8dlBEQewVEASZ9jFyi4vxaklSjzISQgJd8F0MosVCeBRA1Q6+zmgWRjceA6xjR6Hie8Rak1HBOjHt19ow4VcQwUZAlHBIQg83Id6NR1Mh9JZrRwzlr9HsjrSkzTb9ZTkHIAbId5KDmuQdEM0ZqaoCUhnpNUApu3XBJ+qCH+h9+0sr5sd4wPhbUpLWlp9980Euxy5iaUauip1+s4bFeOTs1AjP3A7O680ERerGpGFqVjFNLwa6DuO8t7mpyUZqzpbKHqP8EOvJVdCGUJB4G/Fr1CBt2wa3ZBXcxfpi692jLLrhXDuz5VMy4IbJTRS/GDLkU9qWPoBNrC2NIBqRa9+OVEPUaDWBIERjYO5RaQ/ySP0yvSkIoI30GlRDdIYENKb0dweuADj0mMHnjA60nikaWTOUJvohg+/2LbmLbI6tJxAkZUiLyth00uCwxL42pEZE0KpYTmd6KQk6loR+O2sqciDULmQiGgwVGLB/kwN7kEsECY7cHjQCQvkrVaJvbFTY620xAaGGjM1q+ZYsIedtu/uYzVMWIkKv5m8+yYBhK59di2EZvTNVOb6P/qwOBVRB+82jD+meHNN8/bpIPzv6H47kb498fZn73WFamLDlgDpEhxbKj8uCNQ3+19NB/WjKPTkZ2nLi+IEdkvX0Rg05DTsZ/70qJ4IaMmX85BpX6DHOcuuYDALazWXLpKrJ6jkpJlXoChL+CxVevfOLqVYpXr5zt6iuxiXb0JTLfXa++GcHWdTzvcR0u3Dnuz2yRfgMxZAQ0WCTcgAAAAABJRU5ErkJggg==",custom:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAAhFBMVEUAAADn5+fm5ubm5ubl5eXm5ubm5ubm5ubf39/q6urn5+fm5ubm5ubn5+fk5OTl5eXm5ubm5ubo6Ojk5OT///8AAADm5ubv7+/8/PxAQED39/eAgIAgICDp6enf39+/v7/s7OwQEBBwcHDz8/Ofn59gYGCQkJDPz89QUFCwsLB/f38wMDA/tQxLAAAAFHRSTlMAIN/vkHC/nxAwQK/PYGDPgFBvMNqdTJUAAAS8SURBVGje1ZrnlpswEIVNx303QQLRBJji8v7vFyGLlZ2YkTAke3L/+dirb2fuDEJlpSv/07G3R9PCTJbpuraz8VdLynA8E7+QuT2slyFs7DugCE9xFEUBUxTF8Sks7iBvM5fgf+wwUxhHwQtFcZj1nIMxA7G2LU4IAN053rsYw+2TJAgw512Mb/dBRIGWovcwPyyJ0MWYh8mZKiRCG+Mak8LI4mCy4gxbjrYbcKbgYGy9VB0xPgVv6sScMTQYJs6i4G1FmQZlbcGOqykFttZKRhjMVAhQAMaiFEMy5lIMwHPBmE0Zd9/ERbCQCnz0XzJsqHanV7L98lmCsWTMp2DsvDT9FCyo0yvzXWn6Uua7vzP20pDlbHH+qN44WFgxtp4rzNNMFiUlSptct47tp0A0KytBXGmnW2HG9EBqJFTmut5PDyRFgyrdUNZTA+nQl1LdMranBkKRlGYZywLbKwMJk8tzJCUvg1qjwD4ERNkjl/JuQvkFafqPBKW5sld2Ym2AMziMio1KAqb2C9IPHiKmREHBeKNje34TwzI1gnGVFlVq69XZynndEtF+1/4ToaJt+FeNIl9mz/gJZitMf/t3Oyp9yM/qWFjXK2uLDzNeRVfE1ML5chhkC2UrEQyYQsHJy+OWROOGCJcBNX3/A7mIelN8yBIijQVNS0BTfNYlBfQckf0G/agMoab/XDmA70QaoqiNBHbexifIkRQGDD8rIeftlTteXJUyEBkwBdpxC0F6S3PNKaACymsHVHDOn4tSXcmLIClZdkjO2r0dsl6ytII1bI1CLoOhMrCKJ4eLJog85isEJq4VxlC308fJN+X+EtTQS4rOD5AKNAVjBoF6uXv8WBFEe0jSD5s+QGqgQiCISMJTtroWNQJyRkRCZGLnQi7M27xvbYJuDfuqfoB0Cghg/LOdDSKUpqi+G1+2gYAITFsDxgMlzIaVfxmiuwg3vmNwDpECS3g3Cqnzxw+sN5hYbIRnRh8SY1fOWbDI8BbUvgOx9VZx7S3nAd0u7Tm/23C7ihe/M6ko/IB0oCk+rJOEKugl6lWBj/pPXCgGSHPFagKmFHgDTb/J8OLb6awmKDD9jtdwDi4UZK/DoUT87c4bc76SA1AoWCEy5vuWQUadJ3KAdtQ1JSTEB74EymAI9GCiynRleC1fuMF0XTSMz6EX7pU9ki8KGS/n5GE1MZYtTy6CwFBq5dKiHHMtY13CtcMxQOkHAEWTpA6h5QnXx2jT04qcr+HoarXRWJgeBMS31EvsJK3D3xDMjWrCxoe0Hmy6c90NRrSkfG4O2HaxopOhwE+PGyHkq2zLa6gZCLxtJ1eHf6rJA2Ug07ai8iZ9IqQyCjgQKVtnS5i251vZj39rWh6EbiCywOJgYZ3+2OZ2/sZG5+FfbNn+681nmbCFt9G/60Bg5e+WPNowv+2QZvnjJvjg7H84nusZ33+YueyxLEyZc8B8lAxI847K/ZWeHAsMBj7015bhTg8mKsT1BX3tzckXMWQY+sF4E6+UwG7AmFjDiwLDmVJjMpgT90FYNtB/asze5JzT2IUlzHT88GdfvfLk1at4uHoVyatX9ma1iNb77etLZJ5jrJaUv3Fs1x2uw+22tvOpnaRfIAx7iV31n+8AAAAASUVORK5CYII=","azure-openai":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAABC1BMVEUAAADn5+fm5ubm5ubl5eXn5+fm5ubm5ubq6urf39/m5ubm5ubn5+fm5ubm5ubl5eXn5+f///8AAADm5ubv7+/7+/thYWEQEBDf39/x8fHs7Oz9/f3p6ekgICD09PRAQED29vZJSUmAgIApKSn4+Pifn5+srKy/v78jIyNRUVFCQkIICAiWlpaDg4NGRkYcHBwMDAy8vLwEBATMzMyOjo51dXVxcXFlZWU0NDTo6OiIiIh5eXlqampWVlY+Pj7Pz8+jo6Nubm48PDwUFBSZmZmLi4s4ODgrKyvj4+PX19fIyMjCwsKxsbGnp6ehoaGQkJAvLy/a2trU1NS3t7d9fX1cXFxOTk5MTEzR0dEmKtMGAAAAEXRSTlMAIN/vkHC/nzAQz2BAr1CAf28vdC8AAAaASURBVGjezVp5X9pAEOVIwm272QRCEhCRQ1REsXhbtZfWo/Zuv/8n6exuwiJhQjD8/PX90bq18DLz3sxOsklERW5FVUr5VJoC0ilNU9RiLrFMJNVMis5AqlTILoehqAgCu1pvmKZDAI7ZatSrtiDKFOMy5F7nKcBomGQGzIbhMp5CMgZFVmESVFskBC3Ok3kuTVJjSZIMKBrGc2lyCgvCJJFgPo9GTQMFVzkyDWizcKZsNAqcRksuFIbbIAuj4dK0uoAahszUgsEo0VIFlVEnz0QdlElG4EhR1yTPhulGYMmmqe2QGDBtms7O5TBITBiSBeOoktiohrIkJUdclmSI5gZZCgxc/RS1yZJg0/zsfVOR3o0Nx51dlSqlkiM2TErVmaLXyRJRnyW+hogeQ3xtmqOACBJLFjXg3sbcS3v8U9N1vfLu4HO0zk/TTx2WmZss93RLH+PTfjQfK08Cmeush/f6E4ycSA5LLhJIU2dYv9ruXP7cEcEYUdqLhgSCcrzteivrjC03BvDHUe+hGqI9pdnIgezpgDdEoqNL7J5ZIaEoUQNp1J5yGAdb+iRqHVQVabDCnEA+wBedymW/ojN8Pdxun/SAH9DEDfbKI5lXIxtwseOW0/2qM2ze+ZnbkLkMokXzgqNIXYKjezWY+JLvm8Ja3WlXYIVDaXGu7BerOsc3IcaIi/H+ixPwXs0Jlz5F0cn9oy6wwVcnXIxhM2DaA1yWFk3x4QHNlnOgA7bg6lc5B+frWb6vT8ctzAD2dTRfyVBv/dQBZWPNI1mbLMi/q+x3PmEfFndIW+W9uIR56wsL456QMQmI4TvzwCvEpvisBT+fYJtXhktizv4tK4EfZIIE/uIwWKVUeqIQ24ShBmFh9Qii5OgxmYltcXVBknvGfmgQS9CsX8C/vdP1HVSUHFSJjZcgCZLcvtVhfSEKEeiENKvwb2jRryRUZGjch09vB0jsss5wcOOHK2hO4Yp+o01STSjIkPI4LkFJciTEGEKM27LtexihY4uS0BBzjcA7ZIpE98QoMylufZqeILlHt/pSQkPq/Rx2pKckO1KM/XX4+RerEilNB233edTBv+Bip0kGe8RHu8KkoROtoWLhHk5TB0vX1jTJJpGAWLg0sjlsYntwOkEpvlPdhpKslhmNFxwzdhcrFJTkm+isInGVzgySMvn+lVWJ7TeWtQVJRBFXDP75I/iCcytIwqSBFt3n6x777wuTtOGrr7wfa+znoxkkpOI3rQd0e6QUFZ4413Ircj4OYBFK4rIOgQgvLIw2Fr0/WdmVS7kPDKdICLskzMJ5ToLPjRsX3urzJ1jtiGK4A5mikrSoJvYsvNl7+5+U5tAiLogcIDGwwahBNbRBAn7rAlv9qj9YwGw/ONuFxH2Y1mQPKxRokLzV4yY+OpT7H4PF17sjIyA8VObQxlr9CrVDJsczYonme/1djHpMjDUr6C6rgvUVmxb59ouTHHIpfGncc29gCZKwFnOJbr+Yh0U/eif62IAnqQdiDNrOrDo5YT7EB4lEBlW+PO4UN1eeBZpiTZz+ZJ2ISdNCNsYSkKjocHcJn9zzFT8XDUxgrzZp4X0uWxMb7gpAkkRFMSoiXwL3p12/LMVozx03hGhDb1Fcmg0fuJuzBkNjpDMMHngy/Hu6R4IP3AwKWinG+8DeXW3yC6/0RY5/CI7fFv7wIyNugnATt3XARyLxw7OzX1t8bhldEBQuVAlHHr9BOeV3h776XXFL9PaWeLCGfDzF0YBsCbwSRY+z6LXzN+3t8kCIMVFzPZFOHDZ4SyCXDrnFflPRx5BiSGNcR3zwgUsP4POixP5EmV2x8pSSo7ILZOmxQ3BY7T/XrG3U+G3PjV+Q18jciD3B0WQoYWTcWsM/zU7n8QzcLbcpPBDsURSOG545iVqXzA9EQon4SPhyY8ID0C2jBSIN1iCRcHf4aRdyVjv/MIeC1AOPuVXqItrHOEkpvNQj25d/+AwJO17yY3TkQMBZniDIMV0uv8yjjdSLHdK8/HHT8g/OXvAIEGexYznZsYHjfziW5SzHcQ6Y8whHoCqp8axgHHZUnlvg0L8e89B/PpLa4sGYNvL6Ao5CajEap0rxMPBgMjQ6jQkUUo3FaSLsyi2bIpmKTOMarVAGFkRaycZ56aqQ4jx17IUlCsi/yiViopiRr161/FevTPnqlVJMLAXZQmn2S2QZNZlYJnJFVdE0/3W4fElRVyIn6R/bSlMcAJnwXgAAAABJRU5ErkJggg==",grok:"data:image/png;base64, ",groq:"data:image/png;base64, ",ollama:"data:image/png;base64, ",volc:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAACcFBMVEUAAADn5+fm5ubm5ubm5ubm5ubm5ubq6urf39/k5OTn5+fm5ubm5ubm5ubn5+fk5OTl5eXm5ubm5ubo6Oj///8Abv8A3OXm5ub8/PwQd//v7+/P5P/19fXx8fHp6en9/f3n5+fs7OwAav/5+fn39/fS5v8Abf8Cb/8A2+T4+/8A2+X9/f+71P8AZ//+///7/f8AbP/t+vzr6+v4//8Wdf+i8fTo6Oga3+f1+P/z/f5r6O4R4OkH3ufv9f/H2f8bff/c/f5sq/77///o/v/x9//q9f/q8P/l8P/Y5P/A2/93pv9Fiv8eeP8NdP8HdP8Ecf/7+/vD+fv6+voZ5e0q4+sA1ucQ3eXv///z9//i7//N4v/G3v/O3f/E1f+x0P+tyf+Ww/+bvf+Ctv9Mmf9Glf82i/8rhv87hf8nhP8ggP8le/8Vev8kdP8Ibv8JbP/k/f7q/P7U/P238/Zi7/UAqPFf6/Ay5u1f5+xJ4+o84un6+//n7f/f6f/V5//S4P+72P+gyf+jwf+Rwf+Vuv+Qtv93sv9ypf9inv9Unv9Ylf8zi/8ygf8qev8leP8bdP8Mb//H/P7R+f6nzv5Yn/46j/7t/P0Afvua9vqJ9voAhPrO9/mX9fl+8/hv8vhp8fa98/UAmfWZ8PR38PSQ7fFO7PF76vBC6O8Av+xW5esi4+sAw+sM4OgA0Oi3/P/3+f/U4//I4P+vzP+fwP97tP98qv9kp/9fn/9rnv9TlP9Lj/8/iv8Kaf89kf4Qff3e+frZ+PoAkPfF8/aR8fYAkfaq8vUQqPRo7PE86fAArfAAr+8qye0H4usQ1ulC4OgX4OgA2uX2cmfLAAAAFHRSTlMAIN/vcL+fMBCQQI+vz2Bgz4BQb5vSjyAAAAaUSURBVGjezZplc9tAEIbNlJRXOsc1pXHt2m6TtkmaJmVmZmZmZmZmZmZmZqa/VFmtu7Jyp0i2pu3zLcmM3uy+e7s3d2dQi6O6JSu7qslMBMwmqzXL4nIY9MRosZkIBVN2Fbs+Cq4sUSCY6/OGersDIBBw54W8vtygKGRzZargqFYpIeDxuoFCb6/Hn9CpYsxAwp5lFhR8eaBAnqhjS1fGaCWE5KICk5AnXRlHViIIN6jCnZ5MDSFRPtFl1TKCN5ozlYtRqJaxGjWF4Q+BZrx+YrZocMODmdIYTJa6VFUlQS+kiTdITEYVGibid0PauP0qVOxm0jAAGeBuSMz2CjU8kCEeVGFp+CBjfIoqRtTIVMWo4LkHdMHDdt9EGoJONCRV6XMzC2s3YwJ++qqsQYJu0A13kFiopntBR7w0861oul7mW+UalTUbMmjI4LYV2GKRV6+2ZDUbOa5FzpQWe1YUAJMQMadWmE1bsmpP5H7RrZVCNLmpFWYkREuylk3hkkQ2RtkVRogx7UAKxnBI9+FK7cWadiCdIpyEsc3Y3geJXX0g+YWSGdN4Dyel+0qlUJwqAymcdXDBxQUHX+QnA8nhUhhbwHYFC6yyYiBtTjfhEzSd1+aXI/e4VHKGKBVYtT/dNwRMZp7nk8xvKZbvJE5GK2CSRyoZRFzED2yO8sgcEBjJyWnRAZgEiati21t+55Er1wDabebkRNZVbL2J5AGT97yUswCrsX7RlahCvkzi5kEpWwO+8Cm0jI7nKIxUypexgtrKP8CncrpTD5rIuPbsji/24myF/jujr0ykz2OORmS3wvCyiZb0BBZHeBmXa3FUxjKbsTthioM0AhatP8hFTnJ0ug1WMMUhrJJcYLGzqUyjH4fUryWNqtVi9qKvbrCwN42F83gZc8Ncklrrh4+YIFmQzN7iE5x3sn3v1UQeyH78atehEF9TH39ex3beabCSEMuR43yS/iUlvMAnTFD4oZCfgdMlobRjjvpsg5W53mdd+iNyqvREf57/IQlk+lAQeMAho4FOb6FHmpiz5DUvUEekGF71r1NHWr9dGkPjOAyrh7+ZNJBdw2YSYHSURIYWNRCJQrRBg3bjOLT9NkDn5gBbsBJ6MCZkgJgNhCgtxG+ANN+BItvaw9KunQFGTMPf7QU6hDBFWs9PiJSUlRVD6ZmysrJzpRvCaPvaOIyqtX0JNO4qGfYrNIv0+rUQY7GFpXAuFotdrD1Zki3h813C9QWvO0uqeKNmkT9Tt+lsmFHC9z+8VvK5TQB1u3Hc1jgM3S5pk8sYIizjd+ISXBSFE3VOtZ+KX6s3DPI7b5s8eWpziN8Ps4Y9Gs8q4eMo0rQY8osLV0nqtygK+cs7CrQXIpJYn9OMUcKVqJ1+wBUeKZkNcH2LpDWOAmTgBA65U0AbwFZDNrWtHOORWF9BJCWQZtB2WF2R5gWwRvKXiYNobcVKb5Bt+qBEyYLDAPu6SPrvBoBRT+qJTG0GS7dyyG5qg6S3ehztC888z4fC4s+Sf7erYPeE8G/BERC/K7H+aZTa6qtThlbh/D8igukz3y7i3+B3wpsKYHk9SQ+7IbE+0okytFzU8durzh+Rsn3FC2N8v/qShXgLYD1247oQfcQhYwpo45dWw2d5RNQ7KclIpKioiEN6FBXtUBr2vcXdna2c823kG6GrPTjVtCrne7YgYim3uWvZhzLa1bI3Kt/cJQ5yjWgKQ+TqIU4942VbfD+xUzfcpbJ0fayvQWRzO9qGW1iOPsp6R/phICoYE5dlyyaKuMrla1fKXuhCRINGZLU8Wy6DSCV5vgqPSlvXy3D6loQS2RKpVm7Rz5wXw9LSEkjOTflyT14SOMzl1mPpnKbJZHXXoDFpeJx58IHWI73mXGrSpMnXd89y1DJl4mjs9Gh7EjtpFKDsV2bM2lWzAmpL6BBQPsGxYig6goHgwYfOYCDoChaY/oFggYVAZ7zljrktxB/QOVl+UuVvHNn+5cNnTFgjvY/RKTjRFj0McdKv/irpebVh+keXNPpfN/3bizP9rwDZl5kZVXIgcZn5P1zLiiqNMrlgrqqsgauSeNIKJuAhxOkwqMNiJv40ggnhpb8ajFbtwbhz8fmCSiqbtMkEfATDUI3RRtTLuH1BdCMNGRVTOS+XYKbSk/F7lJ/5JIIwO+2G9DFWNok63p7ULHk9ggKpWs1hyBCXDZ9e5SWfXvXEp1dOl0EX7JWz6Y/IbBajQU8cLovTak0+h6uU7bRUV52kn4RmD2WU15UVAAAAAElFTkSuQmCC",openrouter:"data:image/png;base64, ",kimi:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAqqSURBVHgB7Z3LbtvMFcfHinK/KRcEiBMgcpfdfG5fwDK66yY2+gB2iu7j9AUSv0Cb9AFqe18gMdBtYX2bLmtl1V3NAEYSBLkIudtJrJ7faEbfWCZFSiIpUuIPmJCibvH8dc6ZGc6cmVIZZ2dnp3Ly5MmanFal3OLYarWqU1NTFTm3xaVpimceN6Q8k9c3vn792piZmWmqDDOlMsaLFy+o8AUpP0kl1lRbiDjxpDQODg42T5w40bh27VpDZYhMCCIi1ESA23K6oLoEEFHU8ePHdTl27FinlEol/RxHF6loJZ+lfvz4oc85Ur59+6YLz3XhybW6fM7G9evX62rEjEwQXNGpU6fuYg3ycNZep5LluhI3peQXrCs/ThDl+/fvam9vT+3v72uxHDwRcVW+sy7ieGoEpC7Iq1evZqVCluR0WRn/jwhnzpzRQiBCmiDK58+fj4gjP5R1sZrVtIVJTRATG9bktGavUfnnz59PXYQgJOirL1++6KMlbWESF8S0ku7L6Yr+QmMNZ8+ejd0dxQWW8uHDBy2OJS1hEhXk5cuXd8UnP1DGNSHCuXPnjgTirOIjjI4xN2/eXFcJkYgg3e4Jl1SpVDJrEWH4CFMXS7+ThLXELohrFQhw4cIFHazHAQRBGBP86WCuTk9PP1QxEpsg3bGCOEHAzot7ioqPtTwUUe6pmIhFEFyUWMVjMeNZgjZCEC/GmU+fPmlhTEfTk797Pg4XNrQgJl5syWkVF3XlypXcxop+wVrevHljXVgsogzlT+jkiRjbclplaOPq1asTIwbYHyB/u2oPem5TJ2oIBrYQ0+PGMirEi4sXL6pJptls2rjSLJfL84MOWg4kiCsGsYKWVIFS79+/17FFDSFK34KYmIGbKsTwwRVFYspv+o0pfcUQJ4BrN1WIcRTq5PTp05xWqCvqrJ/39yWIbU0RxCY9ZvSCUQkb6OkO0EeL+t7Igjx//vyvyjRtL126pAp6c/nyZd0Ko29mOsyRiCQIwyFyWKHTN0n9jGFghIK6os6EFflBr0R5X2hQd4M4/nHce+BxQ4An0KuIQT7UQsyobYVAVYjRP9SZE+TXwl7fUxCxjmU51HBRjE8VDAaexbj5WpjrCnRZ7hgVrQajcsGAcFv43bt3nDb39vZmguaH9bIQWgZVhCjEGB5nAkelV6vL10KMdexwLt3/iWpVefIj/tu/5ZbgTvtxRe6tLf22XYaFUWEZdtLnEuBn/AJ8OeC9WkEsY5LE2PyvUn/8h/iUr4ev/7zTLn//gxoK6pIgT8vLBPj57tcccVnGOpY5jzuQLy4uKvGdgeXevXhuvN25c0e3/3sVXtPNn/95VAzLxn/aZViY5GH6JjW/oXo/C0nMOhii9jyv5/PDwuevr6+Hvm5paenQ4/r/5L0hX48gw7ouOoyMA2Il+/v7y8rc8u487z5I0jrSYnV1NfQ11WpV1Wq1Q9eevgh9m3oW07x5258TcZa6x7m6XVaNf2gR5DF2YGH1ej30dffvH23kBLmqJKBubYtLjsEWItbRcVd55MmTJz1dImAdy8vLR69HGC+9FXnMNhzrgSSe3HavdwRhSYAyo7l5nUcVxV35WQfc/nW7iduLOJq+FizEBPdZU/ca10KW7AvzCIE8zDoYceiOHZ3nRIz7vwt+LxY09ysVKwR3kP7Jgr3WEUTcVc19Ud7Y2NgIfc3CwoJ2WUG8++J/fW5GqX/9iTEkFSvWE0lw77gt3ezd3d2lPVx1gk2uwDIGDebd/OX3DG23CwLcuhTuygbFui3WTNLCpeeuBREhmF+VW3cVJXYQyHtZB/RyWUmBlTB9yKwke6hdllnfp5eR5Y1BO4JZwRoBi1w52hiiu/DmxnyuiBI7CORBwXzUWCMwK45VyfQUq3Tpy+Wyyht5tg4wEyE4raJFSXyYto68ihHW1MUy/DqCWcJ6JhIklMR35dZdhQVzgvjaWuht7JHj1H21dHBwUOUsb2NXNHN7Wcfs7Kza2toKbVllAVv3aFGW2PGTe3GUhA3Pu/QK5rgo2+fg87Iuiq17iSVVZiRuSWnJjfdW0og/Z7nRSIpYTEtiTksCZytryH2RFhpI2abZW3VVGlcajYa2nPn5+UhN5TRx1mFWOOukt5gEcGEI8+jRI5UVnLr/RZBxWy0bxsrKSqTxrzTotpCxhiH3IKKMgaXNWAtC05ch9yCwkKxYiWVsBaGp+/jx49DXbW5uqiyBIHouBdnXxgFcFH2Q7e3tSP2PqP2eJHHqvskAFoIwVV6NGsadotxECgIxcFP9EMdcsGFx6r4jiMqCIH7zpSYBJ5Odh8vyOCMPYcFocMMFg4vPOOlKBlmQIrbuRYun0icpee7FgvSxdY8WHZdF+tSC0WDrnuzbJRnlrfOgiCGjwwpCKvSSWevm2SzQBeniZNv20ML21H/mH7I9F6SLtQ4R5SlHK4hOI0R254J0sXUugjzhqAWRYKIfFBaSPlYQdmrgqAUxq0F1HCmsJD2cfPOeTXbWGe1lPw2Obt7zgmRhEwAQd1W31zqCyD117bbcfOcFyWK9EXuX2GsdQcxmJo3CbaUDnsi6K3cjme41htptkSC4IFmsuyK5v3v9kCBiGeQxb/rsPFMQI9StbdGym4/73CFB6CmKYtqfmcyaBQlgPZB4pPXufCd+U97XpdwluMe910fYGr+5uTkVN2GfmfY0U6zDNpzYIKb7ed/ZcUwvlUOtyMsbPzYDNtZx48aNIwlXfH/+bFbCEbdVxJL4CLMOfd3vIn5NYomea5mFSQDjQq/YYQkMEDIK+UCZFlfRex8emrnGOrwg64BAQcx9Ev1G0pyOy7ytUYCr+vjxoz6n39ErVWzolHcb4ElI02uebEEwzlYW9enp6flerw1t05oA3+QDi75J/1Bndl8R21jqRaggxry068LsilZXdOwGYoZIm1JG6vWxNRytLuIIey4V8SQcuz8V98upu6jb60VeNmW2xSOezNr9pgqCef36tb1f7okYM1HfF3lchFaX+MBFvoAvKvonwVA3Vgx2buvnvcWWRzGT6pZHoHM6lcuo3nS2YihQRzcFG2RPw1i2zSv6KCPeNs/iikKgZyukSdt9hxbn27dvbcwYSgwY6mYHX4yfVCbQO9uQTgT8rW5riroYRgyIbXPiltlrhBta3NiapM2JpTTk717MxObELru7uw/lP8YGYjoZM8mCx82F4aII3va+Bp0+RsaDNmjpl9jzaZgtfVi5qTe4x1rymnq2G25DIEYuNrh3MS5sTZlc8nm3FgSgFeXMV6szUBiHi+om0YwzbCrWaueTr/I4b8LgnhhQdUa5E7EKl8RTABlreaBMKnPIujBYBCJwl88uF487VgSRWk4mP2FIIow4WUn+j0ui5dQ1lTYx9+RH6kmy/ISxKc4J/mln17ZzBlxrEPSEQfm/rA/br+iXkWUtM9ta19wYA1YcW+JOX4s7QgSmciKEm8GC/oQcNplSm7RrCiITaeTYP6PV3mqJaYZV9zmyrTEsQ0EsCp1Pm4C4e2Ylgdh01vTKYgSg0Jt2Fli6MOVpk+UY7iz0UZG5vH6Mj0kFsjkA+ej1rg0qXjwWyIiYT1nKl1ZsiErmEy1yp5Ls21KJs+S1tWltVVuoiikuTafw639mslV4rMkflSuKyv8BzFvssCNAaK4AAAAASUVORK5CYII=","babel-lite":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAs6SURBVHgB7V1NbFtVFj5xfpsmrtNmMqQyqoOAmWFGaobN/CzAXcwMEosWzWgWs5gWiQViQcsCVlS0YoVYkLJAbIDCAtEFgi6QkFg0dIFgQZsKUYRA1BUmKaFNjdP82GlSzndzr7l9ebaf/d69fn5+n3Tzrp9jO7mfzzn3nHvvOV0Ucly6dCnV39+f5W6G2x5cb926lenq6kpxXzUdBdly8vEMt8v8+zOrq6szExMTBQoxuihkmJubw4Af4LaXBzFLm0QEiRy3mY2NjdN9fX0zY2NjMxQihIIQJiHLBOzn7gFyEMCkUG9vr2jd3d2VlkgkxHO46uCBJn4vWl9fF31c0dbW1kTDcw7k+N40v8+b4+Pj09RitIwQqKKBgYHDkAZ+OKnuY5D5PrGaIv4Gi8EPEiDl5s2bVCqVqFwuC7I05JjE4/yZ00xOjloA64TMz89P8oAc5O4hkvofJAwODgoiQIJNgJTl5eUt5PAX5SRLzXHbxFgjRNqGN7ibVfcw+MPDw9ZJqAY2+rSysiKuCraJMU6InCU9x90j4gOlNGzfvj1wdRQUICmLi4uCHAVbxBgl5MqVK4dZJx8jqZpAwtDQ0BZDHFa4ECNsTDqdPkmGYIQQp3qCSkqlUqGViHpwIWaaJf1RE9ISOCG6VICAZDIpjHUUAEJAjDT+cDCP7969e4oCRGCEOG0F7AQMdruoJ69wkZYpJuUpCgiBEAIVxVLxHovxJIw2iIC9iDKWlpYEMdLRzPH/vS8IFeabEGkvznA3AxW1a9eutrUVjQLScu3aNaXCAiHFlz6Bk8dknOduBqGN0dHRjiEDUF9A/O+0GfQ8jzEhH2haQqTHDclIwV7s2LGDOhmFQkHZlUJPT8++ZoOWTRGikwFbgZlUDKJisShsC/kgpWFCpM2AmorJcIFOCtuUPzdqUxqyIZoBF2oqJmMrMCbbtm1DN4Wxwpg18vqGCFGzKRixTrcZtYCohDL0cAfgo3l9rWdCZmdnXyI5tR0ZGaEYtbFz504xC4NvJh1mT/BECMIhfDkCp6+T/Aw/QIQCY4UxYxzhL/QRL6+ra9R1Iw79GHUPPGjAwMPQk0cj30N1IKO2KRiqIMm464s8JbsTdN9AL6X7uukfw4P0l6E+cS9KwJhh2Zh9lJQcy321fr+mhLB0HMKbmAiJgBAnQMY/kwP05FiSSar7XWkbYLPF1atXVYjlqVoR4qqE6DEqzBrkVC4wuBGi4zCTcvi30ZlWY1n4+vXr6BZKpdJEtf1htfQDZgYZEBE0GV5wYr5I//vuJ8qXb1IUoG3gSNWadblKiJSOS+iz+29kVlVPQhSgut6eGI2ECoPK4rCT6LOBn3Az8NUkRDAIyWj1FBcS8vjlBSqub1C7A2OpJkbSwG/BFkKkdBxCHwtNYcDF1TK9PF+kKACbPKRvknUL1btJSGikQ8frV2/Qp0slanfAYUQcECiXy4e2PK8/CKN06Hgmf52iAKW2mJyDzjiXU0Ky+IEZQRjDI7AnUZASjK2acfH1tpDKbYSwdFTUVVjx8o/RsCVKA7E92a/frxCCIwEko7lh3kcFCYnCjAsSIo37pBx7AV1CDqpfDDsurq5RFKCMO/snB9S9irfF6iqr/1KY8dXKGv11e3/l8QdfropWD8P9XXT/nX10z2+6xbXVgCZCNJiNO9SWsCWCkHw+j/lwRjM2oYYznDL38zqd+96b1Hz8bVlcx5Pd9NjfBwUx48nWRJiV2sKZScxw4bmLv4SJmFS/0A4obvi3IXPFdXr+w0V64lTBk3SZgrLX8iTZpg2R5/vEMbJOgyJm6swNagWUEOCQK65KVoWEyIX5jsQ751YEMbahhECeOKaE9BQzcOl7eqKzKNQMoLpskyI3QqCbARcJ1mFCOjqdDAWQ8s65ZbIJpZmQICHBuqvj1ZUTr32yTIur9pxPbewzCV7vzaAXb+35FYulW3Tq/ArZghp7cMGmI7FXv9mOuGeshx7+44Bo998ZjKSf+nzFmpSosWdbkqkYjnY+evbg3f2iKWAqO3VmiZ3A5iPDkJKz7EQ+/CfzcT2NkD1gIaPfjALghb+wP+lbWs7l7cTMNGFIoVdJbxE1HH3I3yLbNz/Z2fGijf2vhETttCwASfEjJYiR2YBTQiINP4FD2BHbiDwh7YaYkJABhIg9phsb7b8s2q7Qxr5QIcQl9V0MS9DGPiYkDNAy2YkVwxx6yEMYozXQzQWCi5fRcSSDjGERauyZiwsILub0mzHsQ409uKioLJyDi9EaqLFH9u1EqVSaxoPYhrQOihCkQk/Is245lQU6hl1o2bZz4EJ56h/jB7I9x7ALJR1MygVcFSEijRCyO8ewCzXmTMj7uApC2JiIB7GE2IciBJUacBWEyNOgwo7YkhI/GRuK63aiCveOmd0apeWbz6lkZ5VRQT0NXPW85yaR9LEg9pmlMyKmN2GjCACAchnqXuUTeU1dqC0937lJIK9JswAZNk7lPnC32b3OShuhdom6VyFEFjOZsaW2/jDgb6c9TuWeMHy8LagtRW6AJlLqSi8k4zxjKNQWEgSbxn9G/B8MQvqNB76+Qs/PFejdhWXRLq4E82UCGViTNwWlrpDcX79/GyEsGchSU3CpPBM4YNT1U1DNAod33mBpefqHBdE+KgZjAx/7m7m8YBhbNaNFNR/9udsIgafIjAl9JjNrGsWzu8OZtzHIHZBuUBoINUmc+U7cphEn8QPG3fSy7n1sRx4dHaIwYXzH5lE3U4B0qIkTCsQ4n99CSDqdxnx4GmTcuGH+VNHR8ZTIKhcWHP3XsFHbUUs6ANeJNoqV4Aq1ZSPg+OqeXZTubf35lKMPJY2qqnrSIe673QRzLCEn0EdOc9MQObHuGm0ZKTgu/cp/U2w7zPod9aQDqOqKchTyGMkZlw3vHaSc/f0d1tP6QSLe+v+IUckAMM2V0pGrJh1AVULkOol4IdKc2tq3hVyLZ393B/17xGwCAxAAqUAzaTMAqCplj+F31EoVW1NHIHvm7Ozsfn7DLEhBMkwbgLS8mN4pyPl0qcy+xTL9UF5vOqUGVNIQt3vHegURCInYTBag1a2arlfhLU6kbBiNJlKu+zWRbyBUF8QuXub1DlVATMJTUUpPcgvVhVkX7AhqLsX7gOtD1afCejnGzmt5Pc/HpmRZPCRWnlT1pmJUBzJZy/XyHJMx4fV1ni0bZl2sAx/BB+CDbPgn7QqMjSIDldsaeW1c8ihgWC15BOADUPAKH6jNIGLQ1qJgzdQ0DKRsHpJm2vJRwoqWls1T0EmBoUcppE5L0YEZ58LCgrIZvsgAfLmr+GDoSZKGXitD2hHA/6rPpjAWfsgAAitOrGqN4Mw18pt3UnFibjP8fz8SiuLEOvL5/BT/YSggJpIxI1lw1FQYVBSMt1rXgNOHyHi1Ai2NIvB8GrIaGTJkiwL3kJZ2SD3rBViGABltUeBeh1RhqI+RxeN2lxYQgFmUtl9tGquqQagoJ4xmnJFFxUTpJDxuN2LUvgJtB44RqdBhPAWQlJZjJFOZA2EnBhIBErDKp46LB20rqsFaTiY3YpBEGOSEJfk/VBJmTo6ttMbUkxusJ8lyI0alOIfxt51dW+0Z0KWBITYM8t9y0q9f0ShalrVMlrXO6jYGUOSoFnT6WqgjkICtnCBCz2ABf4Ivp7Gl1rRqqoZQpJFD/QxZaulB0sgBkG0NYRk0kIUG51MlIHYmXoMhls6aOFkMAtDgTWsHLHVgy9NpHMfQd6G3CqHL64f4GA/gpMxHL6o2ULDI4YAMk3kBR/ls2QavCH2iRaxUIvs2Ej7LvLZ75VMZ2kxP6AwzF7SGb/9lma0ihzP5rVJFXvELXU0G2C46iz8AAAAASUVORK5CYII=",free:"data:image/svg+xml;charset=utf-8;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzQ3MzkwXzk0NzQpIj4KPGNpcmNsZSBjeD0iMTYiIGN5PSIxNiIgcj0iMTUuNjgiIGZpbGw9IndoaXRlIiBzdHJva2U9IiNFNkU2RTYiIHN0cm9rZS13aWR0aD0iMC42NCIvPgo8cGF0aCBkPSJNMTYuMDUyNyA5LjAwMzI2VjEwLjAxMTJDMTYuMDUyNyAxMC4yMjAxIDE2LjIyMjEgMTAuMzg5NCAxNi40MzEgMTAuMzg5NEgxOS44MDQxQzIwLjY3NzkgMTAuMzg5NCAyMS4zODYyIDExLjA5NzcgMjEuMzg2MiAxMS45NzEzVjEzLjQxODRDMjEuMzg2MiAxMy42MjczIDIxLjU1NTYgMTMuNzk2NiAyMS43NjQ1IDEzLjc5NjZIMjIuNzcyN0MyMi45ODE2IDEzLjc5NjYgMjMuMTUwOSAxMy42MjczIDIzLjE1MDkgMTMuNDE4NFYxMS45NzEzQzIzLjE1MDkgMTAuMTIzMiAyMS42NTI1IDguNjI1IDE5LjgwNDEgOC42MjVIMTYuNDMxQzE2LjIyMjEgOC42MjUgMTYuMDUyNyA4Ljc5NDM1IDE2LjA1MjcgOS4wMDMyNloiIGZpbGw9IiNFQTRDODkiLz4KPHBhdGggZD0iTTguMzE3MzggMjAuNzE4MVYxNy45MTM0QzguMzE3MzggMTcuNzA0NSA4LjQ4Njc0IDE3LjUzNTIgOC42OTU2NCAxNy41MzUySDkuNzAzOEM5LjkxMjcxIDE3LjUzNTIgMTAuMDgyMSAxNy43MDQ1IDEwLjA4MjEgMTcuOTEzNFYyMC43MTgxQzEwLjA4MjEgMjEuNTkxNyAxMC43OTA0IDIyLjMgMTEuNjY0MiAyMi4zSDEzLjkwMjVDMTQuMTExNCAyMi4zIDE0LjI4MDggMjIuNDY5MyAxNC4yODA4IDIyLjY3ODJWMjMuNjg2MUMxNC4yODA4IDIzLjg5NSAxNC4xMTE0IDI0LjA2NDQgMTMuOTAyNSAyNC4wNjQ0SDExLjY2NDJDOS44MTU4IDI0LjA2NDQgOC4zMTczOCAyMi41NjYyIDguMzE3MzggMjAuNzE4MVoiIGZpbGw9IiNFQTRDODkiLz4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yNC4xNDE3IDI0LjA2MjhDMjQuNDA5MSAyNC4wNjI4IDI0LjU5MjEgMjMuNzkyOSAyNC40OTMgMjMuNTQ0NUwyMS4wODI4IDE0Ljk5MjFDMjEuMDI1NCAxNC44NDgzIDIwLjg4NjMgMTQuNzUzOSAyMC43MzE0IDE0Ljc1MzlIMTkuNDc5NUMxOS4zMjQ3IDE0Ljc1MzkgMTkuMTg1NSAxNC44NDgzIDE5LjEyODIgMTQuOTkyMUwxNS43MTc5IDIzLjU0NDVDMTUuNjE4OSAyMy43OTI5IDE1LjgwMTkgMjQuMDYyOCAxNi4wNjkzIDI0LjA2MjhIMTcuMTM4MUMxNy4yOTQ1IDI0LjA2MjggMTcuNDM0NyAyMy45NjY2IDE3LjQ5MSAyMy44MjA3TDE4LjI2NjMgMjEuODEwNEMxOC4zMjI2IDIxLjY2NDUgMTguNDYyOCAyMS41NjgzIDE4LjYxOTIgMjEuNTY4M0gyMS41OTE3QzIxLjc0ODEgMjEuNTY4MyAyMS44ODg0IDIxLjY2NDUgMjEuOTQ0NyAyMS44MTA0TDIyLjcyIDIzLjgyMDdDMjIuNzc2MiAyMy45NjY2IDIyLjkxNjUgMjQuMDYyOCAyMy4wNzI5IDI0LjA2MjhIMjQuMTQxN1pNMjAuODk1MSAxOS44MDM4QzIxLjAyNzkgMTkuODAzOCAyMS4xMTk0IDE5LjY3MDYgMjEuMDcxNiAxOS41NDY3TDIwLjI4MTkgMTcuNDk5MkMyMC4yMTk3IDE3LjMzNzggMTkuOTkxMyAxNy4zMzc4IDE5LjkyOSAxNy40OTkyTDE5LjEzOTQgMTkuNTQ2N0MxOS4wOTE2IDE5LjY3MDYgMTkuMTgzIDE5LjgwMzggMTkuMzE1OCAxOS44MDM4SDIwLjg5NTFaIiBmaWxsPSIjRUE0Qzg5Ii8+CjxwYXRoIGQ9Ik0xMS45NTY5IDcuNzc1NDlDMTIuMDU0NyA3LjM5NzQyIDEyLjU5MTYgNy4zOTc0MiAxMi42ODk0IDcuNzc1NDlMMTMuMjkwOSAxMC4xMDE2QzEzLjQ5NDggMTAuODg5OSAxNC4wNzU2IDExLjUyNjEgMTQuODQyMSAxMS44MDA3TDE2Ljg3MyAxMi41MjgyQzE3LjIwNzIgMTIuNjQ4IDE3LjIwNzIgMTMuMTIwNyAxNi44NzMgMTMuMjQwNEwxNC44NDIxIDEzLjk2OEMxNC4wNzU2IDE0LjI0MjUgMTMuNDk0OCAxNC44Nzg4IDEzLjI5MDkgMTUuNjY3TDEyLjY4OTQgMTcuOTkzMkMxMi41OTE2IDE4LjM3MTMgMTIuMDU0NyAxOC4zNzEzIDExLjk1NjkgMTcuOTkzMkwxMS4zNTU0IDE1LjY2N0MxMS4xNTE1IDE0Ljg3ODggMTAuNTcwNyAxNC4yNDI1IDkuODA0MiAxMy45NjhMNy43NzMzNCAxMy4yNDA0QzcuNDM5MDggMTMuMTIwNyA3LjQzOTA4IDEyLjY0OCA3Ljc3MzM0IDEyLjUyODJMOS44MDQyIDExLjgwMDdDMTAuNTcwNyAxMS41MjYxIDExLjE1MTUgMTAuODg5OSAxMS4zNTU0IDEwLjEwMTZMMTEuOTU2OSA3Ljc3NTQ5WiIgZmlsbD0iI0VBNEM4OSIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzQ3MzkwXzk0NzQiPgo8cmVjdCB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg=="};function vr(e){e==="zhipu-pro"&&(e="zhipu"),e==="hymt"&&(e="hunyuan"),e==="free-model"&&(e="free"),e=="qwen-mt"&&(e="qwen");let t=BO[e];return!t&&e!="mock"&&k.debug("icon",e,"not found"),t}var pv="reward_center_data_v1",hv=24*60*6e4,Bi=null,Fi=null,OO=0;function yv(e){return e?Date.now()-e>hv:!0}function bv(e){Bi&&Bi.token!==e&&(Bi=null),Fi&&Fi.token!==e&&(Fi=null)}async function _O(e){try{let t=await le.getExpired(pv,null);return!t||!t.token||t.token!==e||!t.data||yv(t.updatedAt)?null:t}catch{return null}}async function UO(e,t){let n={token:e,updatedAt:Date.now(),data:t};Bi=n;try{await le.setExpired(pv,n,hv)}catch{}}async function mv(e,t){if(bv(e),!t?.force&&Fi&&Fi.token===e)return await Fi.promise;let n=++OO,r=(async()=>{let i=await St.get("v1/novice-tasks");return await UO(e,i),i})().finally(()=>{Fi?.token===e&&Fi?.seq===n&&(Fi=null)});return Fi={token:e,seq:n,promise:r},await r}var $h=async e=>{let t=await le.getUserToken();if(bv(t),e?.forceRefresh)return await mv(t,{force:!0});if(Bi&&Bi.token===t)if(yv(Bi.updatedAt))Bi=null;else return Bi.data;let n=await _O(t);return n?(Bi=n,n.data):await mv(t)},jO=async e=>{await St.post(`v1/novice-tasks/${e}/complete`,{})},vv=async e=>{await St.post(`v1/novice-tasks/${e}/take-reward`,{})},xv=async()=>{try{return await St.get("v1/user")}catch(e){return k.error("checkIsLogin error",e),!1}},Cv=async()=>{try{if(!await le.getUserToken())return null;let t=await St.get("v1/user");return le.saveUserInfo(t),t}catch(e){return k.warn("updateUserInfo error",e),null}};function zO(e){let t=[j.EBOOK_VIEWER_URL,j.SUBTITLE_BUILDER_URL,j.HTML_VIEWER_URL,j.PDF_VIEWER_URL,j.EBOOK_BUILDER_URL].filter(r=>!!r),n=e.url;return!!t.find(r=>n.includes(r))}function HO(e){return!!e.url.includes(j.PDF_PRO_URL)}var Dr=async(e,t)=>{if(nu(t)||!!!await le.getUserToken())return!1;e==="translate_web_1"&&(zO(t)?Dr("translate_pdf_1",t):HO(t)?Dr("translate_pdf_2",t):ug(t.config,t.translationService)&&Dr("translate_web_2",t));try{let a=await $h(),o=null;for(let s of a.groupViews){for(let u of s.taskItems)if(u.taskConfig.taskKey===e){o=u;break}if(o)break}return o?o.enabled?o.completed?(k.debug(`[reward-center] Task ${e} is already completed`),!1):(await jO(e),k.debug(`[reward-center] Task ${e} completed successfully`),he({type:"side_panel",name:"reward_center"},{method:"refreshRewardCenter",data:{}},!0),!0):(k.debug(`[reward-center] Task ${e} is not enabled`),!1):(k.debug(`[reward-center] Task with key ${e} not found`),!1)}catch(a){return k.error(`Failed to complete task ${e}:`,a),!1}};function nu(e){try{if(e.isTeam||gt())return!0;let t=e.config.sidePanel?.rewardCenter?.disabledAt;return t?new Date(t).getTime()<Date.now():!1}catch{return!1}}var VO={noviceAITokenQuota:{totalField:"noviceAITokenQuota",usedField:"noviceAITokenUsedQuota"},noviceProPdfQuota:{totalField:"noviceProPdfQuota",usedField:"noviceProPdfUsedQuota"},noviceAsrAudioQuota:{totalField:"noviceAsrAudioQuota",usedField:"noviceAsrAudioUsedQuota"}};function GO(e,t){let n=VO[t],r=e[n.totalField]||0,i=e[n.usedField]||0;return Math.max(0,r-i)}function fv(e){return{hasQuota:e>0,quota:e}}function Ag({user:e,quotaType:t}){if(!e?.noviceQuota)return fv(0);let n=GO(e.noviceQuota,t);return fv(n)}var Tv=(e,t)=>{if(!t)return!1;for(let n of t.groupViews)if(n.groupName!=="\u9AD8\u7EA7\u4EFB\u52A1"){for(let r of n.taskItems)if(r.taskConfig.taskType===e.taskConfig.taskType)return r.taken}return!1};function Ko(e,t,n){return z8(n,e)||n}function Ev(e,t,n){let r=[],i=new Set;for(let a of n){let o=Ko(e,t,a);i.has(o)||(i.add(o),r.push(o))}return r}function wv(e,t,n,r=!1){let i=WO(e,t),a={};if(r)a.all=i;else for(let s of i){let u=`${s.from}->${s.to}`;a[u]||(a[u]=[]),a[u].push(s)}let o=[];for(let s in a){let u=a[s];if(u.length===0)continue;let l=u[0].from,c=u[0].to,d=u[0].fromByService,g=u[0].url,f=e[0].inArticleContext;if(s!=="all"){let C=s.split("->"),y=u.find(v=>v.from===C[0]&&v.to===C[1]);y&&(l=y.from,c=y.to,d=y.fromByService)}let p={from:l,fromByService:d,to:c,tempSentences:[],url:g,inArticleContext:f},h=0;for(let C of u)(h+C.text.length>t||p.tempSentences.length>=n)&&(p.tempSentences.length>0&&o.push(p),p={from:l,fromByService:d,to:c,tempSentences:[],url:g,inArticleContext:f},h=0),p.tempSentences.push(C),h+=C.text.length;p.tempSentences.length>0&&o.push(p)}return o}function WO(e,t){let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],{from:o,fromByService:s,to:u,text:l,url:c,xpath:d}=a,g=0,f=l.split(/\r?\n/),p=[],h="";for(let C=0;C<f.length;C++){let y=f[C];if(y.trim()===""){p.length>0?C<f.length-1&&(p[p.length-1].suffix+=`
`):h+=`
`;continue}else if(y.length>t){let b=[];qO(y,t,b);for(let x=0;x<b.length;x++){let T=b[x],{text:S,prefix:E,suffix:A}=T;g++,p.push({from:o,fromByService:s,to:u,text:S,prefix:E,suffix:A,index:i,url:c,sentenceTotalParts:g,partIndex:g-1,xpath:d,force:a.force||!1}),r[i]=g}}else g++,p.push({text:y,prefix:h,suffix:"",from:o,fromByService:s,to:u,index:i,url:c,sentenceTotalParts:g,partIndex:g-1,xpath:d,force:a.force||!1}),r[i]=g;p.length>0&&C<f.length-1&&(p[p.length-1].suffix+=`
`)}n.push(...p)}for(let i=0;i<n.length;i++){let a=n[i],{index:o}=a;a.sentenceTotalParts=r[o]}return n}function qa(e,t,n){let{ignoreZhCNandZhTW:r}=n,i=ye(e),a=ye(t),o=i===a;return o?!0:(r===!0&&(o=i.startsWith("zh")&&a.startsWith("zh")),o)}function qO(e,t,n){let r=Tg(e,{maxLength:t,strictMode:!1})||[],i=[];return r.forEach(a=>{let o=a.trim();i.push({text:o,prefix:a.slice(0,a.indexOf(o)),suffix:a.slice(a.indexOf(o)+o.length)})}),i.length==1&&e.length>t?Av(e,t,n):(n.push(...i),n)}function Av(e,t,n){if(e.length<t){let i=e.trim();return n.push({text:i,prefix:e.slice(0,e.indexOf(i)),suffix:e.slice(e.indexOf(i)+i.length)}),n}let r=!1;for(let i=t;i>0;i--)if(/\s/.test(e[i])&&(r=!0),r&&!/\s/.test(e[i])){let a=e.substring(0,i+1),o=a.trim();n.push({text:o,prefix:a.slice(0,a.indexOf(o)),suffix:a.slice(a.indexOf(o)+o.length)}),Av(e.substring(i+1),t,n);break}}function ct(e,t){let n=new URL(e);t.startsWith("http")||(t="https://"+t);let r=new URL(t);return r.pathname!=="/"?r.toString():(n.host=r.host,r.port&&(n.port=r.port),r.protocol&&(n.protocol=r.protocol),r.username&&(n.username=r.username),r.password&&(n.password=r.password),n.toString())}function KO(e){let{packageMaxAIQuota:t=0,packageMaxAIUsedCount:n=0}=e.user?.subscription||{};return t-n}function kg(e,t,n,r,i){let a=t==="inherit"?n.config.translationService:t,o=n.config.translationServices[a]||{},s=oe.bind(null);o.name=Xh(o,s);let u=i||Qn[o.type]||Qn[a],l=n.user,c=Mt(l);o.type==="custom-ai"&&(u={...Ho,name:o.name});let d=!0,g=o.provider||"";!g&&o.group==="custom"&&(g="custom");let f=u.allProps?.slice()||[],p=o.type===Yt||a===Yt;if(u.ai&&!p){let b=n.localConfig.aiAssistants?.map(x=>({label:x.i18n?.[r]?.name||x.name,value:x.id}))?.filter(x=>x.label&&x.value)||[];if(b.length>0){let x=[{label:"aiAssistant.common",value:"common"}];b.length>1&&x.push({label:"aiAssistant.auto",value:"auto"});let T={type:"select",name:"assistantId",labelKey:"field_label.assistant",default:"common",required:!1,optional:!1,options:ZO([...x,...b,{label:"aiAssistant.more",value:"more",action:"jumpOptions",args:[!0,"#ai"]}])};f.push(T),u.props=[T]}}let h=[],C=[];if(!c&&o.group==="pro"){let{quota:b}=Ag({user:n.user,quotaType:"noviceAITokenQuota"});b<100&&(d=!1)}let y=KO(n);if(!n.isMax&&o.group==="max"&&y<=100&&(d=!1),f.length>0){f.forEach(x=>{x.providers&&x.providers.length>0&&!x.providers.includes(g)||(x.optional?C.push(x):h.push(x))});let b=C.concat(h).filter(x=>x.name=="APIKEY"?!o.freeModels?.includes(o.model):x.required);if(b.length>0){for(let x of b)if(!o[x.name]){d=!1;break}}}let v=Ko(n.config,e,n[e])===t;return{...u,id:t,name:o.name,type:o.type||t,selected:v,ok:d,currentProvider:g,config:o,providers:u.providers||[],props:u.props||[],allProps:f,optionalProps:C,explicitProps:h}}var Mg=(e,t,n="en")=>{let{config:r}=e,i=r.debug,a=oe.bind(null),o=Ko(e.config,t,e[t]),s=Object.keys(e.config.translationServices).filter(u=>{let l=e.config.translationServices[u];return!!["free","pro","custom","max"].includes(l.group)});if(t!=="translationService"&&s.unshift("inherit"),!ru()){s=Object.keys(Qn),t!=="translationService"&&s.unshift("inherit");let u=Object.keys(e.config.translationServices).filter(l=>e.config.translationServices[l].type==="custom-ai");s=[...s,...u]}return s.filter(u=>og(r,u)?!1:u===o||u==="inherit"?!0:u.startsWith("mock")?i:u=="custom-ai"?!1:QO({serviceKey:u,ctx:e})).map(u=>{let l=kg(t,u,e,n),c=r.defaultTranslationServicesOrder;return l.order=XO(u,c),l.name=Lv(e.config,l,a,!0)||l.name,l.id!=="inherit"&&(l.icon=vr(l.config.type||l.id)),l.icon||(l.icon=vr("custom-ai")),l.visible=kv(l.config,n,c,l.id),l.id===o&&(l.visible=!0),l}).sort((u,l)=>(u.order||0)-(l.order||0))};function QO(e){let{serviceKey:t,ctx:n}=e,{config:r}=n,i=n.user,a=r.translationServices[t];if(!a||a.hidden)return!1;let o=Qn[a?.type]||Qn[t];if(!a||!o)return!1;let s=Mt(i);if(a.hiddenPro&&s&&n.translationService!==t)return!1;let u=r.alpha,l=r.beta,c=r.canary,d=a?.disabledAt,g=!!o.canary,f=!!o.alpha,p=!!o.beta;return t==="openai"&&Ot()?r.showOpenaiOnSafari||s?!0:!!(l||u||c||s):e4(d)||a.isDeleted?!1:g&&c||f&&(u||c)||p&&(l||u||c)?!0:!f&&!p&&!g}function Yr(e,t,n,r=[]){let i=oe.bind(null);return Mg(e,t,n).filter(a=>a.id=="inherit"||a.id==e[t]?!0:kv(a.config,n,e.config.defaultTranslationServicesOrder,a.id)||r.includes(a.id)).map(a=>(a.name=Lv(e.config,a,i,!0)||a.name,a.id=="inherit"?a.icon=vr(a.type):a.icon=vr(a.config.type||a.id),a.icon||(a.icon=vr("custom-ai")),a))}function Ka(e,t){if(!e.length)return[];let n=e.filter(o=>o.config.group==="free"&&o.id!=="inherit"),r=e.filter(o=>o.config.group==="pro"&&o.id!=="inherit"),i=e.filter(o=>o.config.group==="custom"&&o.id!=="inherit"),a=e.filter(o=>o.config.group==="max"&&o.id!=="inherit");return[{id:"free",name:t("freeUser"),services:n},{id:"pro",name:t("proModel"),services:r},{id:"max",name:t("maxModel"),services:a},{id:"custom",name:t("translationServicesGroup.custom"),services:gt()?[]:i}]}function kv(e,t,n,r){return e?.visible!=null?e?.visible:e?.hidden?!1:n?.length&&r?n.includes(r):e?.defaultVisible!=null?!(e?.defaultHiddenLangs||[]).find(i=>i==t):e.ok}function Mv(e,t,n="en",r,i){let a=i?.normalizeServiceId===!1?r:Ko(e.config,t,r);return i?.includeHiddenServices?e.config.translationServices?.[a]?kg(t,a,e,n):void 0:Mg(e,t,n).find(u=>u.id===a)}function Qo(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16))}function Iv(e,t,n){if(!n)return i(e);if(!t.startsWith("zh")||!/[a-zA-Z]/.test(e))return e;let r=YO(e);for(let a=0;a<r.length;a++){let o=r[a];if(o.isTag)continue;let s=r[a-1],u=a;for(;s?.isTag;)u--,s=r[u-1];let l=r[a+1],c=a;for(;l?.isTag;)c++,l=r[c+1];s?.endChinese&&!o.startChinese&&(s.text=s.text+" "),!o.endChinese&&l?.startChinese&&(l.text=" "+l.text),o.text=i(o.text)}return r.map(a=>a.text).join("");function i(a){return a.replace(/([a-zA-Z0-9]+)([\u4e00-\u9fa5]+)/g,"$1 $2").replace(/([\u4e00-\u9fa5]+)([a-zA-Z0-9]+)/g,"$1 $2")}}function YO(e){let t=[],n=!1,r="";for(let i=0;i<e.length;i++){let a=e[i];a==="<"&&!n?(r&&(t.push({text:r,isTag:!1,startChinese:/^[\u4e00-\u9fa5]/.test(r),endChinese:/[\u4e00-\u9fa5]$/.test(r)}),r=""),n=!0,r+=a):a===">"&&n?(r+=a,t.push({text:r,isTag:!0,startChinese:/^[\u4e00-\u9fa5]/.test(r),endChinese:/[\u4e00-\u9fa5]$/.test(r)}),r="",n=!1):r+=a}return r&&t.push({text:r,isTag:n,startChinese:/^[\u4e00-\u9fa5]/.test(r),endChinese:/[\u4e00-\u9fa5]$/.test(r)}),t}function Lv(e,t,n,r=!1){if(t.id==="inherit")return n("translationServices.inherit");let i=Xh(t.config,n);return!t.ok&&!r&&(Xs(e,t.id)||(i=`${i} ${n("needAction")}`)),ru()||(i=n("translationServices."+t.id),t.id.startsWith("custom-ai")&&(i=t.name)),i}function ZO(e){let t=[],n=[],r=[],i=[];for(let a of e)a.value==="auto"?n.push(a):a.value==="common"?t.push(a):a.value?.startsWith("custom")?r.push(a):i.push(a);return[...t,...n,...r,...i]}function JO(e,t){let n=lv(e,t),r="",i="";for(let o of n)o.wasAdded?i+=o.character:o.wasRemoved||(a(),r+=o.character);return a(),r;function a(){!i.trim()||r.trim().endsWith("{{")||r.trim().endsWith("<")?(r+=i,i=""):(r+=`<div style='color:red;display:inline;'>${i}</div>`,i="")}}function Ig(e,t){return e?`<div style="display:flex;flex-direction:row;">
  <div style="margin-right:6px;flex:1;border: 1px dashed #f78fb6;padding:6px;">${JO(t,e)}</div>
  <div style="margin-left:6px;flex:1;border: 1px dashed;padding:6px;">${t}</div></div>`:t}function Lg(e){let t=!1;if(typeof window<"u"&&typeof location<"u"&&(t=location.search.includes(Wd)),!e)return{queryEnable:t};let n=e.enableContextDiffPreview;return!t&&!n?null:{queryEnable:t,configEnable:n}}function e4(e){try{return e?new Date(e).getTime()<Date.now():!1}catch{return!1}}function Qa(e){let t=new Set,n=[];for(let r of e){let i=r.k.toLowerCase(),a=r.v??"",o=`${i}:${a}`;t.has(o)||(n.push(r),t.add(o))}return n}function Dg(e,t,n){if(!t.length||!n)return[];let r=[];n.lastIndex=0;let i=e.match(n);if(i){let a={};for(let o of t){let s=o.k.toLowerCase(),u=a[s]||[];u.push(o),a[s]=u}for(let o of i){let s=o.toLowerCase();a[s]&&r.push(...a[s])}}return r}function Dv(e){let{glossaries:t,text:n,delimiters:r,variables:i,counter:a,from:o}=e,s=n,u=Ni.includes(o);for(let l of t||[]){let c=new RegExp(u?l.k:`\\b${l.k}\\b`,"gi");s=s.replace(c,()=>{let d=a++;return i[`${d}`]=l.v||l.k,r.length>2?`<${r[2]}${d}></${r[2]}${d}>`:`${r[0]}${d}${r[1]}`})}return{text:s,variables:i}}function t4(e){let{text:t,delimiters:n,variables:r}=e,i=t;if(n.length>2){let a=n[2],o=new RegExp(`<${a}(\\d+)>(.*?)</${a}\\d+>`,"g"),s=new RegExp(`<${a}(\\d+)>`),u=t;return Object.keys(r).length>0&&(u=u.replace(o,c=>{let d=c.match(s);if(!d)return c;let g=d[1],f=Number(g);if(isNaN(f))return c;let p=r[g];return p||c})),u}else{let a=`${n[0]}(\\d+)${n[1]}`,o=new RegExp(a,"g");i=i.replace(o,s=>{let l=s.replace(new RegExp(n[0],"g"),"").replace(new RegExp(n[1],"g"),""),c=Number(l);return isNaN(c)?s:r[c]?r[c]:s})}return i}function Pg(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ru(){let e=Wa();return Dt(e,"1.18.2")}function Ya(e){let{state:t,config:n,serviceType:r,serviceId:i}=e,a={...t,translationServiceChangedbyUserAt:new Date().toISOString()},o=n.translationServices[i];return o?.type==="custom-ai"?a[r]=i:o?.type&&(a[r]=o?.type),ru()?a.userTranslationServices={...t.userTranslationServices,[r]:i}:a[r]=i,a}function Pv(e){let t=Ya(e),n=e.config.accurateConfigs;if(!n)return t;let r=Object.entries(n).find(([o,s])=>Ke(e.url,s.matches));if(!r)return t;let[i]=r,a=t["accurateConfigs.add"]??{};return{...t,"accurateConfigs.add":{...a,[i]:{...a?.[i],enable:!1}}}}function XO(e,t){if(t?.length){let n=t.indexOf(e);return n>=0?n:t.length+Sv(e)}return Sv(e)}function Sv(e){let t=0;if(e===Yt)return 99;e.includes("-free")?t+=100:e.includes("-pro")?t+=200:e.includes("-max")?t+=300:t+=400;for(let n=0;n<Qd.length;n++)if(!(e=="zhipu-pro"&&Qd[n]=="zhipu")&&e.includes(Qd[n]))return t+=n,t;return t+50}function iu(){let e,t="pending",n=new Promise((r,i)=>{e={async resolve(a){await a,t="fulfilled",r(a)},reject(a){t="rejected",i(a)}}});return Object.defineProperty(n,"state",{get:()=>t}),Object.assign(n,e)}var n4=class extends Error{constructor(){super("Deadline"),this.name="DeadlineError"}};function Rg(e,t){let n=iu(),r=setTimeout(()=>n.reject(new n4),t);return Promise.race([e,n]).finally(()=>clearTimeout(r))}function it(e,t={}){let{signal:n,persistent:r}=t;return n?.aborted?Promise.reject(new DOMException("Delay was aborted.","AbortError")):new Promise((i,a)=>{let o=()=>{clearTimeout(u),a(new DOMException("Delay was aborted.","AbortError"))},u=setTimeout(()=>{n?.removeEventListener("abort",o),i()},e);if(n?.addEventListener("abort",o,{once:!0}),r===!1)try{Deno.unrefTimer(u)}catch(l){if(!(l instanceof ReferenceError))throw l}})}var Rv=class{#e=0;#t=[];#n=[];#r=iu();add(t){++this.#e,this.#i(t[Symbol.asyncIterator]())}async#i(t){try{let{value:n,done:r}=await t.next();r?--this.#e:this.#t.push({iterator:t,value:n})}catch(n){this.#n.push(n)}this.#r.resolve()}async*iterate(){for(;this.#e>0;){await this.#r;for(let t=0;t<this.#t.length;t++){let{iterator:n,value:r}=this.#t[t];yield r,this.#i(n)}if(this.#n.length){for(let t of this.#n)throw t;this.#n.length=0}this.#t.length=0,this.#r=iu()}}[Symbol.asyncIterator](){return this.iterate()}};var fa=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","+","/"];function bc(e){let t=typeof e=="string"?new TextEncoder().encode(e):e instanceof Uint8Array?e:new Uint8Array(e),n="",r,i=t.length;for(r=2;r<i;r+=3)n+=fa[t[r-2]>>2],n+=fa[(t[r-2]&3)<<4|t[r-1]>>4],n+=fa[(t[r-1]&15)<<2|t[r]>>6],n+=fa[t[r]&63];return r===i+1&&(n+=fa[t[r-2]>>2],n+=fa[(t[r-2]&3)<<4],n+="=="),r===i&&(n+=fa[t[r-2]>>2],n+=fa[(t[r-2]&3)<<4|t[r-1]>>4],n+=fa[(t[r-1]&15)<<2],n+="="),n}var Ng=globalThis||(typeof window<"u"?window:self),$O=Object.create,i4=Object.defineProperty,e_=Object.getOwnPropertyDescriptor,t_=Object.getOwnPropertyNames,n_=Object.getPrototypeOf,r_=Object.prototype.hasOwnProperty,i_=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),a_=(e,t)=>{for(var n in t)i4(e,n,{get:t[n],enumerable:!0})},r4=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of t_(t))!r_.call(e,i)&&i!==n&&i4(e,i,{get:()=>t[i],enumerable:!(r=e_(t,i))||r.enumerable});return e},o_=(e,t,n)=>(r4(e,t,"default"),n&&r4(n,t,"default")),Fv=(e,t,n)=>(n=e!=null?$O(n_(e)):{},r4(t||!e||!e.__esModule?i4(n,"default",{value:e,enumerable:!0}):n,e)),Bv=i_((e,t)=>{var n="Expected a function",r=NaN,i="[object Symbol]",a=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt,c=typeof Ng=="object"&&Ng&&Ng.Object===Object&&Ng,d=typeof self=="object"&&self&&self.Object===Object&&self,g=c||d||Function("return this")(),f=Object.prototype,p=f.toString,h=Math.max,C=Math.min,y=function(){return g.Date.now()};function v(A,M,P){var B,O,R,_,F,L,D=0,w=!1,N=!1,V=!0;if(typeof A!="function")throw new TypeError(n);M=E(M)||0,x(P)&&(w=!!P.leading,N="maxWait"in P,R=N?h(E(P.maxWait)||0,M):R,V="trailing"in P?!!P.trailing:V);function H(ae){var ue=B,ce=O;return B=O=void 0,D=ae,_=A.apply(ce,ue),_}function q(ae){return D=ae,F=setTimeout(re,M),w?H(ae):_}function K(ae){var ue=ae-L,ce=ae-D,pe=M-ue;return N?C(pe,R-ce):pe}function J(ae){var ue=ae-L,ce=ae-D;return L===void 0||ue>=M||ue<0||N&&ce>=R}function re(){var ae=y();if(J(ae))return Q(ae);F=setTimeout(re,K(ae))}function Q(ae){return F=void 0,V&&B?H(ae):(B=O=void 0,_)}function ie(){F!==void 0&&clearTimeout(F),D=0,B=L=O=F=void 0}function xe(){return F===void 0?_:Q(y())}function be(){var ae=y(),ue=J(ae);if(B=arguments,O=this,L=ae,ue){if(F===void 0)return q(L);if(N)return F=setTimeout(re,M),H(L)}return F===void 0&&(F=setTimeout(re,M)),_}return be.cancel=ie,be.flush=xe,be}function b(A,M,P){var B=!0,O=!0;if(typeof A!="function")throw new TypeError(n);return x(P)&&(B="leading"in P?!!P.leading:B,O="trailing"in P?!!P.trailing:O),v(A,M,{leading:B,maxWait:M,trailing:O})}function x(A){var M=typeof A;return!!A&&(M=="object"||M=="function")}function T(A){return!!A&&typeof A=="object"}function S(A){return typeof A=="symbol"||T(A)&&p.call(A)==i}function E(A){if(typeof A=="number")return A;if(S(A))return r;if(x(A)){var M=typeof A.valueOf=="function"?A.valueOf():A;A=x(M)?M+"":M}if(typeof A!="string")return A===0?A:+A;A=A.replace(a,"");var P=s.test(A);return P||u.test(A)?l(A.slice(2),P?2:8):o.test(A)?r:+A}t.exports=b}),Ov={};a_(Ov,{default:()=>xn});var s_=Fv(Bv());o_(Ov,Fv(Bv()));var{default:Nv,...u_}=s_,xn=Nv!==void 0?Nv:u_;var Fg=globalThis||(typeof window<"u"?window:self),l_=Object.create,o4=Object.defineProperty,c_=Object.getOwnPropertyDescriptor,d_=Object.getOwnPropertyNames,g_=Object.getPrototypeOf,m_=Object.prototype.hasOwnProperty,f_=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),p_=(e,t)=>{for(var n in t)o4(e,n,{get:t[n],enumerable:!0})},a4=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of d_(t))!m_.call(e,i)&&i!==n&&o4(e,i,{get:()=>t[i],enumerable:!(r=c_(t,i))||r.enumerable});return e},h_=(e,t,n)=>(a4(e,t,"default"),n&&a4(n,t,"default")),Uv=(e,t,n)=>(n=e!=null?l_(g_(e)):{},a4(t||!e||!e.__esModule?o4(n,"default",{value:e,enumerable:!0}):n,e)),jv=f_((e,t)=>{var n="Expected a function",r=NaN,i="[object Symbol]",a=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt,c=typeof Fg=="object"&&Fg&&Fg.Object===Object&&Fg,d=typeof self=="object"&&self&&self.Object===Object&&self,g=c||d||Function("return this")(),f=Object.prototype,p=f.toString,h=Math.max,C=Math.min,y=function(){return g.Date.now()};function v(E,A,M){var P,B,O,R,_,F,L=0,D=!1,w=!1,N=!0;if(typeof E!="function")throw new TypeError(n);A=S(A)||0,b(M)&&(D=!!M.leading,w="maxWait"in M,O=w?h(S(M.maxWait)||0,A):O,N="trailing"in M?!!M.trailing:N);function V(be){var ae=P,ue=B;return P=B=void 0,L=be,R=E.apply(ue,ae),R}function H(be){return L=be,_=setTimeout(J,A),D?V(be):R}function q(be){var ae=be-F,ue=be-L,ce=A-ae;return w?C(ce,O-ue):ce}function K(be){var ae=be-F,ue=be-L;return F===void 0||ae>=A||ae<0||w&&ue>=O}function J(){var be=y();if(K(be))return re(be);_=setTimeout(J,q(be))}function re(be){return _=void 0,N&&P?V(be):(P=B=void 0,R)}function Q(){_!==void 0&&clearTimeout(_),L=0,P=F=B=_=void 0}function ie(){return _===void 0?R:re(y())}function xe(){var be=y(),ae=K(be);if(P=arguments,B=this,F=be,ae){if(_===void 0)return H(F);if(w)return _=setTimeout(J,A),V(F)}return _===void 0&&(_=setTimeout(J,A)),R}return xe.cancel=Q,xe.flush=ie,xe}function b(E){var A=typeof E;return!!E&&(A=="object"||A=="function")}function x(E){return!!E&&typeof E=="object"}function T(E){return typeof E=="symbol"||x(E)&&p.call(E)==i}function S(E){if(typeof E=="number")return E;if(T(E))return r;if(b(E)){var A=typeof E.valueOf=="function"?E.valueOf():E;E=b(A)?A+"":A}if(typeof E!="string")return E===0?E:+E;E=E.replace(a,"");var M=s.test(E);return M||u.test(E)?l(E.slice(2),M?2:8):o.test(E)?r:+E}t.exports=v}),zv={};p_(zv,{default:()=>Cn});var y_=Uv(jv());h_(zv,Uv(jv()));var{default:_v,...b_}=y_,Cn=_v!==void 0?_v:b_;var v_=Object.create,u4=Object.defineProperty,x_=Object.getOwnPropertyDescriptor,C_=Object.getOwnPropertyNames,T_=Object.getPrototypeOf,S_=Object.prototype.hasOwnProperty,E_=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),w_=(e,t)=>{for(var n in t)u4(e,n,{get:t[n],enumerable:!0})},s4=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of C_(t))!S_.call(e,i)&&i!==n&&u4(e,i,{get:()=>t[i],enumerable:!(r=x_(t,i))||r.enumerable});return e},A_=(e,t,n)=>(s4(e,t,"default"),n&&s4(n,t,"default")),Vv=(e,t,n)=>(n=e!=null?v_(T_(e)):{},s4(t||!e||!e.__esModule?u4(n,"default",{value:e,enumerable:!0}):n,e)),Gv=E_((e,t)=>{(function(n,r){typeof e=="object"&&typeof t=="object"?t.exports=r():typeof define=="function"&&define.amd?define([],r):typeof e=="object"?e.notie=r():n.notie=r()})(e,function(){return function(n){function r(a){if(i[a])return i[a].exports;var o=i[a]={i:a,l:!1,exports:{}};return n[a].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var i={};return r.m=n,r.c=i,r.i=function(a){return a},r.d=function(a,o,s){r.o(a,o)||Object.defineProperty(a,o,{configurable:!1,enumerable:!0,get:s})},r.n=function(a){var o=a&&a.__esModule?function(){return a.default}:function(){return a};return r.d(o,"a",o),o},r.o=function(a,o){return Object.prototype.hasOwnProperty.call(a,o)},r.p="",r(r.s=1)}([function(n,r){n.exports=function(i){return i.webpackPolyfill||(i.deprecate=function(){},i.paths=[],i.children||(i.children=[]),Object.defineProperty(i,"loaded",{enumerable:!0,get:function(){return i.l}}),Object.defineProperty(i,"id",{enumerable:!0,get:function(){return i.i}}),i.webpackPolyfill=1),i}},function(n,r,i){"use strict";(function(a){var o,s,u,l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c};(function(c,d){l(r)==="object"&&l(a)==="object"?a.exports=d():(s=[],o=d,u=typeof o=="function"?o.apply(r,s):o,u!==void 0&&(a.exports=u))})(void 0,function(){return function(c){function d(f){if(g[f])return g[f].exports;var p=g[f]={i:f,l:!1,exports:{}};return c[f].call(p.exports,p,p.exports,d),p.l=!0,p.exports}var g={};return d.m=c,d.c=g,d.i=function(f){return f},d.d=function(f,p,h){d.o(f,p)||Object.defineProperty(f,p,{configurable:!1,enumerable:!0,get:h})},d.n=function(f){var p=f&&f.__esModule?function(){return f.default}:function(){return f};return d.d(p,"a",p),p},d.o=function(f,p){return Object.prototype.hasOwnProperty.call(f,p)},d.p="",d(d.s=0)}([function(c,d,g){function f(q,K){var J={};for(var re in q)K.indexOf(re)>=0||Object.prototype.hasOwnProperty.call(q,re)&&(J[re]=q[re]);return J}Object.defineProperty(d,"__esModule",{value:!0});var p=typeof Symbol=="function"&&l(Symbol.iterator)==="symbol"?function(q){return typeof q>"u"?"undefined":l(q)}:function(q){return q&&typeof Symbol=="function"&&q.constructor===Symbol&&q!==Symbol.prototype?"symbol":typeof q>"u"?"undefined":l(q)},h=Object.assign||function(q){for(var K=1;K<arguments.length;K++){var J=arguments[K];for(var re in J)Object.prototype.hasOwnProperty.call(J,re)&&(q[re]=J[re])}return q},C={top:"top",bottom:"bottom"},y={alertTime:3,dateMonths:["January","February","March","April","May","June","July","August","September","October","November","December"],overlayClickDismiss:!0,overlayOpacity:.75,transitionCurve:"ease",transitionDuration:.3,transitionSelector:"all",classes:{container:"notie-container",textbox:"notie-textbox",textboxInner:"notie-textbox-inner",button:"notie-button",element:"notie-element",elementHalf:"notie-element-half",elementThird:"notie-element-third",overlay:"notie-overlay",backgroundSuccess:"notie-background-success",backgroundWarning:"notie-background-warning",backgroundError:"notie-background-error",backgroundInfo:"notie-background-info",backgroundNeutral:"notie-background-neutral",backgroundOverlay:"notie-background-overlay",alert:"notie-alert",inputField:"notie-input-field",selectChoiceRepeated:"notie-select-choice-repeated",dateSelectorInner:"notie-date-selector-inner",dateSelectorUp:"notie-date-selector-up"},ids:{overlay:"notie-overlay"},positions:{alert:C.top,force:C.top,confirm:C.top,input:C.top,select:C.bottom,date:C.top}},v=d.setOptions=function(q){y=h({},y,q,{classes:h({},y.classes,q.classes),ids:h({},y.ids,q.ids),positions:h({},y.positions,q.positions)})},b=function(){return new Promise(function(q){return setTimeout(q,0)})},x=function(q){return new Promise(function(K){return setTimeout(K,1e3*q)})},T=function(){document.activeElement&&document.activeElement.blur()},S=function(){var q="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(K){var J=16*Math.random()|0,re=K==="x"?J:3&J|8;return re.toString(16)});return"notie-"+q},E={1:y.classes.backgroundSuccess,success:y.classes.backgroundSuccess,2:y.classes.backgroundWarning,warning:y.classes.backgroundWarning,3:y.classes.backgroundError,error:y.classes.backgroundError,4:y.classes.backgroundInfo,info:y.classes.backgroundInfo,5:y.classes.backgroundNeutral,neutral:y.classes.backgroundNeutral},A=function(){return y.transitionSelector+" "+y.transitionDuration+"s "+y.transitionCurve},M=function(q){return q.keyCode===13},P=function(q){return q.keyCode===27},B=function(q,K){q.classList.add(y.classes.container),q.style[K]="-10000px",document.body.appendChild(q),q.style[K]="-"+q.offsetHeight+"px",q.listener&&window.addEventListener("keydown",q.listener),b().then(function(){q.style.transition=A(),q.style[K]=0})},O=function(q,K){var J=document.getElementById(q);J&&(J.style[K]="-"+J.offsetHeight+"px",J.listener&&window.removeEventListener("keydown",J.listener),x(y.transitionDuration).then(function(){J.parentNode&&J.parentNode.removeChild(J)}))},R=function(q,K){var J=document.createElement("div");J.id=y.ids.overlay,J.classList.add(y.classes.overlay),J.classList.add(y.classes.backgroundOverlay),J.style.opacity=0,q&&y.overlayClickDismiss&&(J.onclick=function(){O(q.id,K),_()}),document.body.appendChild(J),b().then(function(){J.style.transition=A(),J.style.opacity=y.overlayOpacity})},_=function(){var q=document.getElementById(y.ids.overlay);q.style.opacity=0,x(y.transitionDuration).then(function(){q.parentNode&&q.parentNode.removeChild(q)})},F=d.hideAlerts=function(q){var K=document.getElementsByClassName(y.classes.alert);if(K.length){for(var J=0;J<K.length;J++){var re=K[J];O(re.id,re.position)}q&&x(y.transitionDuration).then(function(){return q()})}},L=d.alert=function(q){var K=q.type,J=K===void 0?4:K,re=q.text,Q=q.time,ie=Q===void 0?y.alertTime:Q,xe=q.stay,be=xe!==void 0&&xe,ae=q.position,ue=ae===void 0?y.positions.alert||ue.top:ae;T(),F();var ce=document.createElement("div"),pe=S();ce.id=pe,ce.position=ue,ce.classList.add(y.classes.textbox),ce.classList.add(E[J]),ce.classList.add(y.classes.alert),ce.innerHTML='<div class="'+y.classes.textboxInner+'">'+re+"</div>",ce.onclick=function(){return O(pe,ue)},ce.listener=function(X){(M(X)||P(X))&&F()},B(ce,ue),ie&&ie<1&&(ie=1),!be&&ie&&x(ie).then(function(){return O(pe,ue)})},D=d.force=function(q,K){var J=q.type,re=J===void 0?5:J,Q=q.text,ie=q.buttonText,xe=ie===void 0?"OK":ie,be=q.callback,ae=q.position,ue=ae===void 0?y.positions.force||ue.top:ae;T(),F();var ce=document.createElement("div"),pe=S();ce.id=pe;var X=document.createElement("div");X.classList.add(y.classes.textbox),X.classList.add(y.classes.backgroundInfo),X.innerHTML='<div class="'+y.classes.textboxInner+'">'+Q+"</div>";var Ae=document.createElement("div");Ae.classList.add(y.classes.button),Ae.classList.add(E[re]),Ae.innerHTML=xe,Ae.onclick=function(){O(pe,ue),_(),be?be():K&&K()},ce.appendChild(X),ce.appendChild(Ae),ce.listener=function(fe){M(fe)&&Ae.click()},B(ce,ue),R()},w=d.confirm=function(q,K,J){var re=q.text,Q=q.submitText,ie=Q===void 0?"Yes":Q,xe=q.cancelText,be=xe===void 0?"Cancel":xe,ae=q.submitCallback,ue=q.cancelCallback,ce=q.position,pe=ce===void 0?y.positions.confirm||pe.top:ce;T(),F();var X=document.createElement("div"),Ae=S();X.id=Ae;var fe=document.createElement("div");fe.classList.add(y.classes.textbox),fe.classList.add(y.classes.backgroundInfo),fe.innerHTML='<div class="'+y.classes.textboxInner+'">'+re+"</div>";var ne=document.createElement("div");ne.classList.add(y.classes.button),ne.classList.add(y.classes.elementHalf),ne.classList.add(y.classes.backgroundSuccess),ne.innerHTML=ie,ne.onclick=function(){O(Ae,pe),_(),ae?ae():K&&K()};var te=document.createElement("div");te.classList.add(y.classes.button),te.classList.add(y.classes.elementHalf),te.classList.add(y.classes.backgroundError),te.innerHTML=be,te.onclick=function(){O(Ae,pe),_(),ue?ue():J&&J()},X.appendChild(fe),X.appendChild(ne),X.appendChild(te),X.listener=function(ve){M(ve)?ne.click():P(ve)&&te.click()},B(X,pe),R(X,pe)},N=function(q,K,J){var re=q.text,Q=q.submitText,ie=Q===void 0?"Submit":Q,xe=q.cancelText,be=xe===void 0?"Cancel":xe,ae=q.submitCallback,ue=q.cancelCallback,ce=q.position,pe=ce===void 0?y.positions.input||pe.top:ce,X=f(q,["text","submitText","cancelText","submitCallback","cancelCallback","position"]);T(),F();var Ae=document.createElement("div"),fe=S();Ae.id=fe;var ne=document.createElement("div");ne.classList.add(y.classes.textbox),ne.classList.add(y.classes.backgroundInfo),ne.innerHTML='<div class="'+y.classes.textboxInner+'">'+re+"</div>";var te=document.createElement("input");te.classList.add(y.classes.inputField),te.setAttribute("autocapitalize",X.autocapitalize||"none"),te.setAttribute("autocomplete",X.autocomplete||"off"),te.setAttribute("autocorrect",X.autocorrect||"off"),te.setAttribute("autofocus",X.autofocus||"true"),te.setAttribute("inputmode",X.inputmode||"verbatim"),te.setAttribute("max",X.max||""),te.setAttribute("maxlength",X.maxlength||""),te.setAttribute("min",X.min||""),te.setAttribute("minlength",X.minlength||""),te.setAttribute("placeholder",X.placeholder||""),te.setAttribute("spellcheck",X.spellcheck||"default"),te.setAttribute("step",X.step||"any"),te.setAttribute("type",X.type||"text"),te.value=X.value||"",X.allowed&&(te.oninput=function(){var ke=void 0;if(Array.isArray(X.allowed)){for(var Ye="",Ee=X.allowed,$e=0;$e<Ee.length;$e++)Ee[$e]==="an"?Ye+="0-9a-zA-Z":Ee[$e]==="a"?Ye+="a-zA-Z":Ee[$e]==="n"&&(Ye+="0-9"),Ee[$e]==="s"&&(Ye+=" ");ke=new RegExp("[^"+Ye+"]","g")}else p(X.allowed)==="object"&&(ke=X.allowed);te.value=te.value.replace(ke,"")});var ve=document.createElement("div");ve.classList.add(y.classes.button),ve.classList.add(y.classes.elementHalf),ve.classList.add(y.classes.backgroundSuccess),ve.innerHTML=ie,ve.onclick=function(){O(fe,pe),_(),ae?ae(te.value):K&&K(te.value)};var He=document.createElement("div");He.classList.add(y.classes.button),He.classList.add(y.classes.elementHalf),He.classList.add(y.classes.backgroundError),He.innerHTML=be,He.onclick=function(){O(fe,pe),_(),ue?ue(te.value):J&&J(te.value)},Ae.appendChild(ne),Ae.appendChild(te),Ae.appendChild(ve),Ae.appendChild(He),Ae.listener=function(ke){M(ke)?ve.click():P(ke)&&He.click()},B(Ae,pe),te.focus(),R(Ae,pe)};d.input=N;var V=d.select=function(q,K){var J=q.text,re=q.cancelText,Q=re===void 0?"Cancel":re,ie=q.cancelCallback,xe=q.choices,be=q.position,ae=be===void 0?y.positions.select||ae.top:be;T(),F();var ue=document.createElement("div"),ce=S();ue.id=ce;var pe=document.createElement("div");pe.classList.add(y.classes.textbox),pe.classList.add(y.classes.backgroundInfo),pe.innerHTML='<div class="'+y.classes.textboxInner+'">'+J+"</div>",ue.appendChild(pe),xe.forEach(function(Ae,fe){var ne=Ae.type,te=ne===void 0?1:ne,ve=Ae.text,He=Ae.handler,ke=document.createElement("div");ke.classList.add(E[te]),ke.classList.add(y.classes.button),ke.classList.add(y.classes.selectChoice);var Ye=xe[fe+1];Ye&&!Ye.type&&(Ye.type=1),Ye&&Ye.type===te&&ke.classList.add(y.classes.selectChoiceRepeated),ke.innerHTML=ve,ke.onclick=function(){O(ce,ae),_(),He()},ue.appendChild(ke)});var X=document.createElement("div");X.classList.add(y.classes.backgroundNeutral),X.classList.add(y.classes.button),X.innerHTML=Q,X.onclick=function(){O(ce,ae),_(),ie?ie():K&&K()},ue.appendChild(X),ue.listener=function(Ae){P(Ae)&&X.click()},B(ue,ae),R(ue,ae)},H=d.date=function(q,K,J){var re=q.value,Q=re===void 0?new Date:re,ie=q.submitText,xe=ie===void 0?"OK":ie,be=q.cancelText,ae=be===void 0?"Cancel":be,ue=q.submitCallback,ce=q.cancelCallback,pe=q.position,X=pe===void 0?y.positions.date||X.top:pe;T(),F();var Ae="&#9662",fe=document.createElement("div"),ne=document.createElement("div"),te=document.createElement("div"),ve=function(Gt){fe.innerHTML=y.dateMonths[Gt.getMonth()],ne.innerHTML=Gt.getDate(),te.innerHTML=Gt.getFullYear()},He=function(Gt){var At=new Date(Q.getFullYear(),Q.getMonth()+1,0).getDate(),kr=Gt.target.textContent.replace(/^0+/,"").replace(/[^\d]/g,"").slice(0,2);Number(kr)>At&&(kr=At.toString()),Gt.target.textContent=kr,Number(kr)<1&&(kr="1"),Q.setDate(Number(kr))},ke=function(Gt){var At=Gt.target.textContent.replace(/^0+/,"").replace(/[^\d]/g,"").slice(0,4);Gt.target.textContent=At,Q.setFullYear(Number(At))},Ye=function(Gt){ve(Q)},Ee=function(Gt){var At=new Date(Q.getFullYear(),Q.getMonth()+Gt+1,0).getDate();Q.getDate()>At&&Q.setDate(At),Q.setMonth(Q.getMonth()+Gt),ve(Q)},$e=function(Gt){Q.setDate(Q.getDate()+Gt),ve(Q)},qe=function(Gt){var At=Q.getFullYear()+Gt;At<0?Q.setFullYear(0):Q.setFullYear(Q.getFullYear()+Gt),ve(Q)},yt=document.createElement("div"),Vn=S();yt.id=Vn;var gi=document.createElement("div");gi.classList.add(y.classes.backgroundInfo);var en=document.createElement("div");en.classList.add(y.classes.dateSelectorInner);var Gn=document.createElement("div");Gn.classList.add(y.classes.button),Gn.classList.add(y.classes.elementThird),Gn.classList.add(y.classes.dateSelectorUp),Gn.innerHTML=Ae;var Wn=document.createElement("div");Wn.classList.add(y.classes.button),Wn.classList.add(y.classes.elementThird),Wn.classList.add(y.classes.dateSelectorUp),Wn.innerHTML=Ae;var Ar=document.createElement("div");Ar.classList.add(y.classes.button),Ar.classList.add(y.classes.elementThird),Ar.classList.add(y.classes.dateSelectorUp),Ar.innerHTML=Ae,fe.classList.add(y.classes.element),fe.classList.add(y.classes.elementThird),fe.innerHTML=y.dateMonths[Q.getMonth()],ne.classList.add(y.classes.element),ne.classList.add(y.classes.elementThird),ne.setAttribute("contentEditable",!0),ne.addEventListener("input",He),ne.addEventListener("blur",Ye),ne.innerHTML=Q.getDate(),te.classList.add(y.classes.element),te.classList.add(y.classes.elementThird),te.setAttribute("contentEditable",!0),te.addEventListener("input",ke),te.addEventListener("blur",Ye),te.innerHTML=Q.getFullYear();var aa=document.createElement("div");aa.classList.add(y.classes.button),aa.classList.add(y.classes.elementThird),aa.innerHTML=Ae;var oa=document.createElement("div");oa.classList.add(y.classes.button),oa.classList.add(y.classes.elementThird),oa.innerHTML=Ae;var Bo=document.createElement("div");Bo.classList.add(y.classes.button),Bo.classList.add(y.classes.elementThird),Bo.innerHTML=Ae,Gn.onclick=function(){return Ee(1)},Wn.onclick=function(){return $e(1)},Ar.onclick=function(){return qe(1)},aa.onclick=function(){return Ee(-1)},oa.onclick=function(){return $e(-1)},Bo.onclick=function(){return qe(-1)};var sr=document.createElement("div");sr.classList.add(y.classes.button),sr.classList.add(y.classes.elementHalf),sr.classList.add(y.classes.backgroundSuccess),sr.innerHTML=xe,sr.onclick=function(){O(Vn,X),_(),ue?ue(Q):K&&K(Q)};var sa=document.createElement("div");sa.classList.add(y.classes.button),sa.classList.add(y.classes.elementHalf),sa.classList.add(y.classes.backgroundError),sa.innerHTML=ae,sa.onclick=function(){O(Vn,X),_(),ce?ce(Q):J&&J(Q)},en.appendChild(Gn),en.appendChild(Wn),en.appendChild(Ar),en.appendChild(fe),en.appendChild(ne),en.appendChild(te),en.appendChild(aa),en.appendChild(oa),en.appendChild(Bo),gi.appendChild(en),yt.appendChild(gi),yt.appendChild(sr),yt.appendChild(sa),yt.listener=function(Gt){M(Gt)?sr.click():P(Gt)&&sa.click()},B(yt,X),R(yt,X)};d.default={alert:L,force:D,confirm:w,input:N,select:V,date:H,setOptions:v,hideAlerts:F}}])})}).call(r,i(0)(n))}])})}),Wv={};w_(Wv,{default:()=>Bg});var k_=Vv(Gv());A_(Wv,Vv(Gv()));var{default:Hv,...M_}=k_,Bg=Hv!==void 0?Hv:M_;var Og=typeof navigator<"u"?navigator.userAgent.toLowerCase().indexOf("firefox")>0:!1;function _g(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent(`on${t}`,n)}function au(e,t,n,r){e.removeEventListener?e.removeEventListener(t,n,r):e.detachEvent&&e.detachEvent(`on${t}`,n)}function l4(e,t){let n=t.slice(0,t.length-1);for(let r=0;r<n.length;r++)n[r]=e[n[r].toLowerCase()];return n}function c4(e){typeof e!="string"&&(e=""),e=e.replace(/\s/g,"");let t=e.split(","),n=t.lastIndexOf("");for(;n>=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}function qv(e,t){let n=e.length>=t.length?e:t,r=e.length>=t.length?t:e,i=!0;for(let a=0;a<n.length;a++)r.indexOf(n[a])===-1&&(i=!1);return i}var ou={backspace:8,"\u232B":8,tab:9,clear:12,enter:13,"\u21A9":13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"\u21EA":20,",":188,".":190,"/":191,"`":192,"-":Og?173:189,"=":Og?61:187,";":Og?59:186,"'":222,"[":219,"]":221,"\\":220},Zr={"\u21E7":16,shift:16,"\u2325":18,alt:18,option:18,"\u2303":17,ctrl:17,control:17,"\u2318":91,cmd:91,command:91},su={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},Tn={16:!1,18:!1,17:!1,91:!1},Ut={};for(let e=1;e<20;e++)ou[`f${e}`]=111+e;var jt=[],vc=null,Yv="all",pa=new Map,Cc=e=>ou[e.toLowerCase()]||Zr[e.toLowerCase()]||e.toUpperCase().charCodeAt(0),I_=e=>Object.keys(ou).find(t=>ou[t]===e),L_=e=>Object.keys(Zr).find(t=>Zr[t]===e);function Zv(e){Yv=e||"all"}function xc(){return Yv||"all"}function D_(){return jt.slice(0)}function P_(){return jt.map(e=>I_(e)||L_(e)||String.fromCharCode(e))}function R_(){let e=[];return Object.keys(Ut).forEach(t=>{Ut[t].forEach(({key:n,scope:r,mods:i,shortcut:a})=>{e.push({scope:r,shortcut:a,mods:i,keys:n.split("+").map(o=>Cc(o))})})}),e}function N_(e){let t=e.target||e.srcElement,{tagName:n}=t,r=!0,i=n==="INPUT"&&!["checkbox","radio","range","button","file","reset","submit","color"].includes(t.type);return(t.isContentEditable||(i||n==="TEXTAREA"||n==="SELECT")&&!t.readOnly)&&(r=!1),r}function F_(e){return typeof e=="string"&&(e=Cc(e)),jt.indexOf(e)!==-1}function B_(e,t){let n,r;e||(e=xc());for(let i in Ut)if(Object.prototype.hasOwnProperty.call(Ut,i))for(n=Ut[i],r=0;r<n.length;)n[r].scope===e?n.splice(r,1).forEach(({element:o})=>g4(o)):r++;xc()===e&&Zv(t||"all")}function O_(e){let t=e.keyCode||e.which||e.charCode,n=jt.indexOf(t);if(n>=0&&jt.splice(n,1),e.key&&e.key.toLowerCase()==="meta"&&jt.splice(0,jt.length),(t===93||t===224)&&(t=91),t in Tn){Tn[t]=!1;for(let r in Zr)Zr[r]===t&&(ha[r]=!1)}}function Jv(e,...t){if(typeof e>"u")Object.keys(Ut).forEach(n=>{Array.isArray(Ut[n])&&Ut[n].forEach(r=>Ug(r)),delete Ut[n]}),g4(null);else if(Array.isArray(e))e.forEach(n=>{n.key&&Ug(n)});else if(typeof e=="object")e.key&&Ug(e);else if(typeof e=="string"){let[n,r]=t;typeof n=="function"&&(r=n,n=""),Ug({key:e,scope:n,method:r,splitKey:"+"})}}var Ug=({key:e,scope:t,method:n,splitKey:r="+"})=>{c4(e).forEach(a=>{let o=a.split(r),s=o.length,u=o[s-1],l=u==="*"?"*":Cc(u);if(!Ut[l])return;t||(t=xc());let c=s>1?l4(Zr,o):[],d=[];Ut[l]=Ut[l].filter(g=>{let p=(n?g.method===n:!0)&&g.scope===t&&qv(g.mods,c);return p&&d.push(g.element),!p}),d.forEach(g=>g4(g))})};function Kv(e,t,n,r){if(t.element!==r)return;let i;if(t.scope===n||t.scope==="all"){i=t.mods.length>0;for(let a in Tn)Object.prototype.hasOwnProperty.call(Tn,a)&&(!Tn[a]&&t.mods.indexOf(+a)>-1||Tn[a]&&t.mods.indexOf(+a)===-1)&&(i=!1);(t.mods.length===0&&!Tn[16]&&!Tn[18]&&!Tn[17]&&!Tn[91]||i||t.shortcut==="*")&&(t.keys=[],t.keys=t.keys.concat(jt),t.method(e,t)===!1&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0)))}}function Qv(e,t){let n=Ut["*"],r=e.keyCode||e.which||e.charCode;if(!ha.filter.call(this,e))return;if((r===93||r===224)&&(r=91),jt.indexOf(r)===-1&&r!==229&&jt.push(r),["metaKey","ctrlKey","altKey","shiftKey"].forEach(s=>{let u=su[s];e[s]&&jt.indexOf(u)===-1?jt.push(u):!e[s]&&jt.indexOf(u)>-1?jt.splice(jt.indexOf(u),1):s==="metaKey"&&e[s]&&(jt=jt.filter(l=>l in su||l===r))}),r in Tn){Tn[r]=!0;for(let s in Zr)if(Object.prototype.hasOwnProperty.call(Zr,s)){let u=su[Zr[s]];ha[s]=e[u]}if(!n)return}for(let s in Tn)Object.prototype.hasOwnProperty.call(Tn,s)&&(Tn[s]=e[su[s]]);e.getModifierState&&!(e.altKey&&!e.ctrlKey)&&e.getModifierState("AltGraph")&&(jt.indexOf(17)===-1&&jt.push(17),jt.indexOf(18)===-1&&jt.push(18),Tn[17]=!0,Tn[18]=!0);let i=xc();if(n)for(let s=0;s<n.length;s++)n[s].scope===i&&(e.type==="keydown"&&n[s].keydown||e.type==="keyup"&&n[s].keyup)&&Kv(e,n[s],i,t);if(!(r in Ut))return;let a=Ut[r],o=a.length;for(let s=0;s<o;s++)if((e.type==="keydown"&&a[s].keydown||e.type==="keyup"&&a[s].keyup)&&a[s].key){let u=a[s],{splitKey:l}=u,c=u.key.split(l),d=[];for(let g=0;g<c.length;g++)d.push(Cc(c[g]));d.sort().join("")===jt.sort().join("")&&Kv(e,u,i,t)}}function ha(e,t,n){jt=[];let r=c4(e),i=[],a="all",o=document,s=0,u=!1,l=!0,c="+",d=!1,g=!1;for(n===void 0&&typeof t=="function"&&(n=t),Object.prototype.toString.call(t)==="[object Object]"&&(t.scope&&(a=t.scope),t.element&&(o=t.element),t.keyup&&(u=t.keyup),t.keydown!==void 0&&(l=t.keydown),t.capture!==void 0&&(d=t.capture),typeof t.splitKey=="string"&&(c=t.splitKey),t.single===!0&&(g=!0)),typeof t=="string"&&(a=t),g&&Jv(e,a);s<r.length;s++)e=r[s].split(c),i=[],e.length>1&&(i=l4(Zr,e)),e=e[e.length-1],e=e==="*"?"*":Cc(e),e in Ut||(Ut[e]=[]),Ut[e].push({keyup:u,keydown:l,scope:a,mods:i,shortcut:r[s],method:n,key:r[s],splitKey:c,element:o});if(typeof o<"u"&&window){if(!pa.has(o)){let f=(h=window.event)=>Qv(h,o),p=(h=window.event)=>{Qv(h,o),O_(h)};pa.set(o,{keydownListener:f,keyupListenr:p,capture:d}),_g(o,"keydown",f,d),_g(o,"keyup",p,d)}if(!vc){let f=()=>{jt=[]};vc={listener:f,capture:d},_g(window,"focus",f,d)}}}function __(e,t="all"){Object.keys(Ut).forEach(n=>{Ut[n].filter(i=>i.scope===t&&i.shortcut===e).forEach(i=>{i&&i.method&&i.method()})})}function g4(e){let t=Object.values(Ut).flat();if(t.findIndex(({element:r})=>r===e)<0){let{keydownListener:r,keyupListenr:i,capture:a}=pa.get(e)||{};r&&i&&(au(e,"keyup",i,a),au(e,"keydown",r,a),pa.delete(e))}if((t.length<=0||pa.size<=0)&&(Object.keys(pa).forEach(i=>{let{keydownListener:a,keyupListenr:o,capture:s}=pa.get(i)||{};a&&o&&(au(i,"keyup",o,s),au(i,"keydown",a,s),pa.delete(i))}),pa.clear(),Object.keys(Ut).forEach(i=>delete Ut[i]),vc)){let{listener:i,capture:a}=vc;au(window,"focus",i,a),vc=null}}var d4={getPressedKeyString:P_,setScope:Zv,getScope:xc,deleteScope:B_,getPressedKeyCodes:D_,getAllKeyCodes:R_,isPressed:F_,filter:N_,trigger:__,unbind:Jv,keyMap:ou,modifier:Zr,modifierMap:su};for(let e in d4)Object.prototype.hasOwnProperty.call(d4,e)&&(ha[e]=d4[e]);if(typeof window<"u"){let e=window.hotkeys;ha.noConflict=t=>(t&&window.hotkeys===ha&&(window.hotkeys=e),ha),window.hotkeys=ha}var Wt=ha;var U_={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},$v={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},nn={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},dr={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},Za={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"},me=class uu{static getFirstMatch(t,n){let r=n.match(t);return r&&r.length>0&&r[1]||""}static getSecondMatch(t,n){let r=n.match(t);return r&&r.length>1&&r[2]||""}static matchAndReturnConst(t,n,r){if(t.test(n))return r}static getWindowsVersionName(t){switch(t){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}static getMacOSVersionName(t){let n=t.split(".").splice(0,2).map(r=>parseInt(r,10)||0);if(n.push(0),n[0]===10)switch(n[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}}static getAndroidVersionName(t){let n=t.split(".").splice(0,2).map(r=>parseInt(r,10)||0);if(n.push(0),!(n[0]===1&&n[1]<5)){if(n[0]===1&&n[1]<6)return"Cupcake";if(n[0]===1&&n[1]>=6)return"Donut";if(n[0]===2&&n[1]<2)return"Eclair";if(n[0]===2&&n[1]===2)return"Froyo";if(n[0]===2&&n[1]>2)return"Gingerbread";if(n[0]===3)return"Honeycomb";if(n[0]===4&&n[1]<1)return"Ice Cream Sandwich";if(n[0]===4&&n[1]<4)return"Jelly Bean";if(n[0]===4&&n[1]>=4)return"KitKat";if(n[0]===5)return"Lollipop";if(n[0]===6)return"Marshmallow";if(n[0]===7)return"Nougat";if(n[0]===8)return"Oreo";if(n[0]===9)return"Pie"}}static getVersionPrecision(t){return t.split(".").length}static compareVersions(t,n,r=!1){let i=uu.getVersionPrecision(t),a=uu.getVersionPrecision(n),o=Math.max(i,a),s=0,u=uu.map([t,n],l=>{let c=o-uu.getVersionPrecision(l),d=l+new Array(c+1).join(".0");return uu.map(d.split("."),g=>new Array(20-g.length).join("0")+g).reverse()});for(r&&(s=o-Math.min(i,a)),o-=1;o>=s;){if(u[0][o]>u[1][o])return 1;if(u[0][o]===u[1][o]){if(o===s)return 0;o-=1}else if(u[0][o]<u[1][o])return-1}}static map(t,n){let r=[],i;if(Array.prototype.map)return Array.prototype.map.call(t,n);for(i=0;i<t.length;i+=1)r.push(n(t[i]));return r}static find(t,n){let r,i;if(Array.prototype.find)return Array.prototype.find.call(t,n);for(r=0,i=t.length;r<i;r+=1){let a=t[r];if(n(a,r))return a}}static assign(t,...n){let r=t,i,a;if(Object.assign)return Object.assign(t,...n);for(i=0,a=n.length;i<a;i+=1){let o=n[i];typeof o=="object"&&o!==null&&Object.keys(o).forEach(s=>{r[s]=o[s]})}return t}static getBrowserAlias(t){return U_[t]}static getBrowserTypeByAlias(t){return $v[t]||""}},Lt=/version\/(\d+(\.?_?\d+)+)/i,j_=[{test:[/googlebot/i],describe(e){let t={name:"Googlebot"},n=me.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||me.getFirstMatch(Lt,e);return n&&(t.version=n),t}},{test:[/opera/i],describe(e){let t={name:"Opera"},n=me.getFirstMatch(Lt,e)||me.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe(e){let t={name:"Opera"},n=me.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||me.getFirstMatch(Lt,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe(e){let t={name:"Samsung Internet for Android"},n=me.getFirstMatch(Lt,e)||me.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe(e){let t={name:"NAVER Whale Browser"},n=me.getFirstMatch(Lt,e)||me.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe(e){let t={name:"MZ Browser"},n=me.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||me.getFirstMatch(Lt,e);return n&&(t.version=n),t}},{test:[/focus/i],describe(e){let t={name:"Focus"},n=me.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||me.getFirstMatch(Lt,e);return n&&(t.version=n),t}},{test:[/swing/i],describe(e){let t={name:"Swing"},n=me.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||me.getFirstMatch(Lt,e);return n&&(t.version=n),t}},{test:[/coast/i],describe(e){let t={name:"Opera Coast"},n=me.getFirstMatch(Lt,e)||me.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe(e){let t={name:"Opera Touch"},n=me.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||me.getFirstMatch(Lt,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe(e){let t={name:"Yandex Browser"},n=me.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||me.getFirstMatch(Lt,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe(e){let t={name:"UC Browser"},n=me.getFirstMatch(Lt,e)||me.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe(e){let t={name:"Maxthon"},n=me.getFirstMatch(Lt,e)||me.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe(e){let t={name:"Epiphany"},n=me.getFirstMatch(Lt,e)||me.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe(e){let t={name:"Puffin"},n=me.getFirstMatch(Lt,e)||me.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe(e){let t={name:"Sleipnir"},n=me.getFirstMatch(Lt,e)||me.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe(e){let t={name:"K-Meleon"},n=me.getFirstMatch(Lt,e)||me.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe(e){let t={name:"WeChat"},n=me.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||me.getFirstMatch(Lt,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe(e){let t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=me.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||me.getFirstMatch(Lt,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe(e){let t={name:"Internet Explorer"},n=me.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe(e){let t={name:"Microsoft Edge"},n=me.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe(e){let t={name:"Microsoft Edge"},n=me.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe(e){let t={name:"Vivaldi"},n=me.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe(e){let t={name:"SeaMonkey"},n=me.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe(e){let t={name:"Sailfish"},n=me.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe(e){let t={name:"Amazon Silk"},n=me.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe(e){let t={name:"PhantomJS"},n=me.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe(e){let t={name:"SlimerJS"},n=me.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(e){let t={name:"BlackBerry"},n=me.getFirstMatch(Lt,e)||me.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe(e){let t={name:"WebOS Browser"},n=me.getFirstMatch(Lt,e)||me.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe(e){let t={name:"Bada"},n=me.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe(e){let t={name:"Tizen"},n=me.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||me.getFirstMatch(Lt,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe(e){let t={name:"QupZilla"},n=me.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||me.getFirstMatch(Lt,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe(e){let t={name:"Firefox"},n=me.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/electron/i],describe(e){let t={name:"Electron"},n=me.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MiuiBrowser/i],describe(e){let t={name:"Miui"},n=me.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe(e){let t={name:"Chromium"},n=me.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||me.getFirstMatch(Lt,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe(e){let t={name:"Chrome"},n=me.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe(e){let t={name:"Google Search"},n=me.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){let t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe(e){let t={name:"Android Browser"},n=me.getFirstMatch(Lt,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe(e){let t={name:"PlayStation 4"},n=me.getFirstMatch(Lt,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe(e){let t={name:"Safari"},n=me.getFirstMatch(Lt,e);return n&&(t.version=n),t}},{test:[/.*/i],describe(e){let t=/^(.*)\/(.*) /,n=/^(.*)\/(.*)[ \t]\((.*)/,r=e.search("\\(")!==-1?n:t;return{name:me.getFirstMatch(r,e),version:me.getSecondMatch(r,e)}}}],z_=j_,H_=[{test:[/Roku\/DVP/],describe(e){let t=me.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:dr.Roku,version:t}}},{test:[/windows phone/i],describe(e){let t=me.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:dr.WindowsPhone,version:t}}},{test:[/windows /i],describe(e){let t=me.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=me.getWindowsVersionName(t);return{name:dr.Windows,version:t,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(e){let t={name:dr.iOS},n=me.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return n&&(t.version=n),t}},{test:[/macintosh/i],describe(e){let t=me.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=me.getMacOSVersionName(t),r={name:dr.MacOS,version:t};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe(e){let t=me.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:dr.iOS,version:t}}},{test(e){let t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe(e){let t=me.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=me.getAndroidVersionName(t),r={name:dr.Android,version:t};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe(e){let t=me.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:dr.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(e){let t=me.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||me.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||me.getFirstMatch(/\bbb(\d+)/i,e);return{name:dr.BlackBerry,version:t}}},{test:[/bada/i],describe(e){let t=me.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:dr.Bada,version:t}}},{test:[/tizen/i],describe(e){let t=me.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:dr.Tizen,version:t}}},{test:[/linux/i],describe(){return{name:dr.Linux}}},{test:[/CrOS/],describe(){return{name:dr.ChromeOS}}},{test:[/PlayStation 4/],describe(e){let t=me.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:dr.PlayStation4,version:t}}}],V_=[{test:[/googlebot/i],describe(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe(e){let t=me.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:nn.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe(){return{type:nn.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe(){return{type:nn.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(){return{type:nn.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe(){return{type:nn.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe(){return{type:nn.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe(){return{type:nn.tablet}}},{test(e){let t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe(e){let t=me.getFirstMatch(/(ipod|iphone)/i,e);return{type:nn.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe(){return{type:nn.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe(){return{type:nn.mobile}}},{test(e){return e.getBrowserName(!0)==="blackberry"},describe(){return{type:nn.mobile,vendor:"BlackBerry"}}},{test(e){return e.getBrowserName(!0)==="bada"},describe(){return{type:nn.mobile}}},{test(e){return e.getBrowserName()==="windows phone"},describe(){return{type:nn.mobile,vendor:"Microsoft"}}},{test(e){let t=Number(String(e.getOSVersion()).split(".")[0]);return e.getOSName(!0)==="android"&&t>=3},describe(){return{type:nn.tablet}}},{test(e){return e.getOSName(!0)==="android"},describe(){return{type:nn.mobile}}},{test(e){return e.getOSName(!0)==="macos"},describe(){return{type:nn.desktop,vendor:"Apple"}}},{test(e){return e.getOSName(!0)==="windows"},describe(){return{type:nn.desktop}}},{test(e){return e.getOSName(!0)==="linux"},describe(){return{type:nn.desktop}}},{test(e){return e.getOSName(!0)==="playstation 4"},describe(){return{type:nn.tv}}},{test(e){return e.getOSName(!0)==="roku"},describe(){return{type:nn.tv}}}],G_=[{test(e){return e.getBrowserName(!0)==="microsoft edge"},describe(e){if(/\sedg\//i.test(e))return{name:Za.Blink};let t=me.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:Za.EdgeHTML,version:t}}},{test:[/trident/i],describe(e){let t={name:Za.Trident},n=me.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){return e.test(/presto/i)},describe(e){let t={name:Za.Presto},n=me.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){let t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe(e){let t={name:Za.Gecko},n=me.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe(){return{name:Za.Blink}}},{test:[/(apple)?webkit/i],describe(e){let t={name:Za.WebKit},n=me.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}],W_=class{constructor(e,t=!1){if(e==null||e==="")throw new Error("UserAgent parameter can't be empty");this._ua=e,this.parsedResult={},t!==!0&&this.parse()}getUA(){return this._ua}test(e){return e.test(this._ua)}parseBrowser(){this.parsedResult.browser={};let e=me.find(z_,t=>{if(typeof t.test=="function")return t.test(this);if(t.test instanceof Array)return t.test.some(n=>this.test(n));throw new Error("Browser's test function is not valid")});return e&&(this.parsedResult.browser=e.describe(this.getUA())),this.parsedResult.browser}getBrowser(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()}getBrowserName(e){return e?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""}getBrowserVersion(){return this.getBrowser().version}getOS(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()}parseOS(){this.parsedResult.os={};let e=me.find(H_,t=>{if(typeof t.test=="function")return t.test(this);if(t.test instanceof Array)return t.test.some(n=>this.test(n));throw new Error("Browser's test function is not valid")});return e&&(this.parsedResult.os=e.describe(this.getUA())),this.parsedResult.os}getOSName(e){let{name:t}=this.getOS();return e?String(t).toLowerCase()||"":t||""}getOSVersion(){return this.getOS().version}getPlatform(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()}getPlatformType(e=!1){let{type:t}=this.getPlatform();return e?String(t).toLowerCase()||"":t||""}parsePlatform(){this.parsedResult.platform={};let e=me.find(V_,t=>{if(typeof t.test=="function")return t.test(this);if(t.test instanceof Array)return t.test.some(n=>this.test(n));throw new Error("Browser's test function is not valid")});return e&&(this.parsedResult.platform=e.describe(this.getUA())),this.parsedResult.platform}getEngine(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()}getEngineName(e){return e?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""}parseEngine(){this.parsedResult.engine={};let e=me.find(G_,t=>{if(typeof t.test=="function")return t.test(this);if(t.test instanceof Array)return t.test.some(n=>this.test(n));throw new Error("Browser's test function is not valid")});return e&&(this.parsedResult.engine=e.describe(this.getUA())),this.parsedResult.engine}parse(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this}getResult(){return me.assign({},this.parsedResult)}satisfies(e){let t={},n=0,r={},i=0;if(Object.keys(e).forEach(a=>{let o=e[a];typeof o=="string"?(r[a]=o,i+=1):typeof o=="object"&&(t[a]=o,n+=1)}),n>0){let a=Object.keys(t),o=me.find(a,u=>this.isOS(u));if(o){let u=this.satisfies(t[o]);if(u!==void 0)return u}let s=me.find(a,u=>this.isPlatform(u));if(s){let u=this.satisfies(t[s]);if(u!==void 0)return u}}if(i>0){let a=Object.keys(r),o=me.find(a,s=>this.isBrowser(s,!0));if(o!==void 0)return this.compareVersion(r[o])}}isBrowser(e,t=!1){let n=this.getBrowserName().toLowerCase(),r=e.toLowerCase(),i=me.getBrowserTypeByAlias(r);return t&&i&&(r=i.toLowerCase()),r===n}compareVersion(e){let t=[0],n=e,r=!1,i=this.getBrowserVersion();if(typeof i=="string")return e[0]===">"||e[0]==="<"?(n=e.substr(1),e[1]==="="?(r=!0,n=e.substr(2)):t=[],e[0]===">"?t.push(1):t.push(-1)):e[0]==="="?n=e.substr(1):e[0]==="~"&&(r=!0,n=e.substr(1)),t.indexOf(me.compareVersions(i,n,r))>-1}isOS(e){return this.getOSName(!0)===String(e).toLowerCase()}isPlatform(e){return this.getPlatformType(!0)===String(e).toLowerCase()}isEngine(e){return this.getEngineName(!0)===String(e).toLowerCase()}is(e,t=!1){return this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)}some(e=[]){return e.some(t=>this.is(t))}},Xv=W_,q_=class{static getParser(e,t=!1){if(typeof e!="string")throw new Error("UserAgent should be a string");return new Xv(e,t)}static parse(e){return new Xv(e).getResult()}static get BROWSER_MAP(){return $v}static get ENGINE_MAP(){return Za}static get OS_MAP(){return dr}static get PLATFORMS_MAP(){return nn}},jg=q_;var{entries:sx,setPrototypeOf:ex,isFrozen:K_,getPrototypeOf:Q_,getOwnPropertyDescriptor:Y_}=Object,{freeze:gr,seal:yi,create:Z_}=Object,{apply:b4,construct:v4}=typeof Reflect<"u"&&Reflect;b4||(b4=function(e,t,n){return e.apply(t,n)});gr||(gr=function(e){return e});yi||(yi=function(e){return e});v4||(v4=function(e,t){return new e(...t)});var J_=Jr(Array.prototype.forEach),tx=Jr(Array.prototype.pop),Tc=Jr(Array.prototype.push),Vg=Jr(String.prototype.toLowerCase),m4=Jr(String.prototype.toString),X_=Jr(String.prototype.match),hi=Jr(String.prototype.replace),$_=Jr(String.prototype.indexOf),eU=Jr(String.prototype.trim),Pr=Jr(RegExp.prototype.test),Sc=tU(TypeError);function Jr(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return b4(e,t,r)}}function tU(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v4(e,n)}}function nt(e,t,n){var r;n=(r=n)!==null&&r!==void 0?r:Vg,ex&&ex(e,null);let i=t.length;for(;i--;){let a=t[i];if(typeof a=="string"){let o=n(a);o!==a&&(K_(t)||(t[i]=o),a=o)}e[a]=!0}return e}function lu(e){let t=Z_(null);for(let[n,r]of sx(e))t[n]=r;return t}function zg(e,t){for(;e!==null;){let r=Y_(e,t);if(r){if(r.get)return Jr(r.get);if(typeof r.value=="function")return Jr(r.value)}e=Q_(e)}function n(r){return null}return n}var nx=gr(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),f4=gr(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),p4=gr(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),nU=gr(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),h4=gr(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),rU=gr(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),rx=gr(["#text"]),ix=gr(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),y4=gr(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ax=gr(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Hg=gr(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),iU=yi(/\{\{[\w\W]*|[\w\W]*\}\}/gm),aU=yi(/<%[\w\W]*|[\w\W]*%>/gm),oU=yi(/\${[\w\W]*}/gm),sU=yi(/^data-[\-\w.\u00B7-\uFFFF]/),uU=yi(/^aria-[\-\w]+$/),ux=yi(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),lU=yi(/^(?:\w+script|data):/i),cU=yi(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),lx=yi(/^html$/i),ox=Object.freeze({__proto__:null,MUSTACHE_EXPR:iU,ERB_EXPR:aU,TMPLIT_EXPR:oU,DATA_ATTR:sU,ARIA_ATTR:uU,IS_ALLOWED_URI:ux,IS_SCRIPT_OR_DATA:lU,ATTR_WHITESPACE:cU,DOCTYPE_NAME:lx}),dU=()=>typeof window>"u"?null:window,gU=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let n=null,r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return null}};function cx(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:dU(),t=W=>cx(W);if(t.version="3.0.3",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;let n=e.document,r=n.currentScript,{document:i}=e,{DocumentFragment:a,HTMLTemplateElement:o,Node:s,Element:u,NodeFilter:l,NamedNodeMap:c=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:g,trustedTypes:f}=e,p=u.prototype,h=zg(p,"cloneNode"),C=zg(p,"nextSibling"),y=zg(p,"childNodes"),v=zg(p,"parentNode");if(typeof o=="function"){let W=i.createElement("template");W.content&&W.content.ownerDocument&&(i=W.content.ownerDocument)}let b,x="",{implementation:T,createNodeIterator:S,createDocumentFragment:E,getElementsByTagName:A}=i,{importNode:M}=n,P={};t.isSupported=typeof sx=="function"&&typeof v=="function"&&T&&T.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:B,ERB_EXPR:O,TMPLIT_EXPR:R,DATA_ATTR:_,ARIA_ATTR:F,IS_SCRIPT_OR_DATA:L,ATTR_WHITESPACE:D}=ox,{IS_ALLOWED_URI:w}=ox,N=null,V=nt({},[...nx,...f4,...p4,...h4,...rx]),H=null,q=nt({},[...ix,...y4,...ax,...Hg]),K=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),J=null,re=null,Q=!0,ie=!0,xe=!1,be=!0,ae=!1,ue=!1,ce=!1,pe=!1,X=!1,Ae=!1,fe=!1,ne=!0,te=!1,ve="user-content-",He=!0,ke=!1,Ye={},Ee=null,$e=nt({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),qe=null,yt=nt({},["audio","video","img","source","image","track"]),Vn=null,gi=nt({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),en="http://www.w3.org/1998/Math/MathML",Gn="http://www.w3.org/2000/svg",Wn="http://www.w3.org/1999/xhtml",Ar=Wn,aa=!1,oa=null,Bo=nt({},[en,Gn,Wn],m4),sr,sa=["application/xhtml+xml","text/html"],Gt="text/html",At,kr=null,JF=i.createElement("form"),$6=function(W){return W instanceof RegExp||W instanceof Function},q1=function(W){if(!(kr&&kr===W)){if((!W||typeof W!="object")&&(W={}),W=lu(W),sr=sa.indexOf(W.PARSER_MEDIA_TYPE)===-1?sr=Gt:sr=W.PARSER_MEDIA_TYPE,At=sr==="application/xhtml+xml"?m4:Vg,N="ALLOWED_TAGS"in W?nt({},W.ALLOWED_TAGS,At):V,H="ALLOWED_ATTR"in W?nt({},W.ALLOWED_ATTR,At):q,oa="ALLOWED_NAMESPACES"in W?nt({},W.ALLOWED_NAMESPACES,m4):Bo,Vn="ADD_URI_SAFE_ATTR"in W?nt(lu(gi),W.ADD_URI_SAFE_ATTR,At):gi,qe="ADD_DATA_URI_TAGS"in W?nt(lu(yt),W.ADD_DATA_URI_TAGS,At):yt,Ee="FORBID_CONTENTS"in W?nt({},W.FORBID_CONTENTS,At):$e,J="FORBID_TAGS"in W?nt({},W.FORBID_TAGS,At):{},re="FORBID_ATTR"in W?nt({},W.FORBID_ATTR,At):{},Ye="USE_PROFILES"in W?W.USE_PROFILES:!1,Q=W.ALLOW_ARIA_ATTR!==!1,ie=W.ALLOW_DATA_ATTR!==!1,xe=W.ALLOW_UNKNOWN_PROTOCOLS||!1,be=W.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ae=W.SAFE_FOR_TEMPLATES||!1,ue=W.WHOLE_DOCUMENT||!1,X=W.RETURN_DOM||!1,Ae=W.RETURN_DOM_FRAGMENT||!1,fe=W.RETURN_TRUSTED_TYPE||!1,pe=W.FORCE_BODY||!1,ne=W.SANITIZE_DOM!==!1,te=W.SANITIZE_NAMED_PROPS||!1,He=W.KEEP_CONTENT!==!1,ke=W.IN_PLACE||!1,w=W.ALLOWED_URI_REGEXP||ux,Ar=W.NAMESPACE||Wn,K=W.CUSTOM_ELEMENT_HANDLING||{},W.CUSTOM_ELEMENT_HANDLING&&$6(W.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(K.tagNameCheck=W.CUSTOM_ELEMENT_HANDLING.tagNameCheck),W.CUSTOM_ELEMENT_HANDLING&&$6(W.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(K.attributeNameCheck=W.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),W.CUSTOM_ELEMENT_HANDLING&&typeof W.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(K.allowCustomizedBuiltInElements=W.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ae&&(ie=!1),Ae&&(X=!0),Ye&&(N=nt({},[...rx]),H=[],Ye.html===!0&&(nt(N,nx),nt(H,ix)),Ye.svg===!0&&(nt(N,f4),nt(H,y4),nt(H,Hg)),Ye.svgFilters===!0&&(nt(N,p4),nt(H,y4),nt(H,Hg)),Ye.mathMl===!0&&(nt(N,h4),nt(H,ax),nt(H,Hg))),W.ADD_TAGS&&(N===V&&(N=lu(N)),nt(N,W.ADD_TAGS,At)),W.ADD_ATTR&&(H===q&&(H=lu(H)),nt(H,W.ADD_ATTR,At)),W.ADD_URI_SAFE_ATTR&&nt(Vn,W.ADD_URI_SAFE_ATTR,At),W.FORBID_CONTENTS&&(Ee===$e&&(Ee=lu(Ee)),nt(Ee,W.FORBID_CONTENTS,At)),He&&(N["#text"]=!0),ue&&nt(N,["html","head","body"]),N.table&&(nt(N,["tbody"]),delete J.tbody),W.TRUSTED_TYPES_POLICY){if(typeof W.TRUSTED_TYPES_POLICY.createHTML!="function")throw Sc('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof W.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Sc('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');b=W.TRUSTED_TYPES_POLICY,x=b.createHTML("")}else b===void 0&&(b=gU(f,r)),b!==null&&typeof x=="string"&&(x=b.createHTML(""));gr&&gr(W),kr=W}},e5=nt({},["mi","mo","mn","ms","mtext"]),t5=nt({},["foreignobject","desc","title","annotation-xml"]),XF=nt({},["title","style","font","a","script"]),Ad=nt({},f4);nt(Ad,p4),nt(Ad,nU);let K1=nt({},h4);nt(K1,rU);let $F=function(W){let De=v(W);(!De||!De.tagName)&&(De={namespaceURI:Ar,tagName:"template"});let Ce=Vg(W.tagName),Ct=Vg(De.tagName);return oa[W.namespaceURI]?W.namespaceURI===Gn?De.namespaceURI===Wn?Ce==="svg":De.namespaceURI===en?Ce==="svg"&&(Ct==="annotation-xml"||e5[Ct]):!!Ad[Ce]:W.namespaceURI===en?De.namespaceURI===Wn?Ce==="math":De.namespaceURI===Gn?Ce==="math"&&t5[Ct]:!!K1[Ce]:W.namespaceURI===Wn?De.namespaceURI===Gn&&!t5[Ct]||De.namespaceURI===en&&!e5[Ct]?!1:!K1[Ce]&&(XF[Ce]||!Ad[Ce]):!!(sr==="application/xhtml+xml"&&oa[W.namespaceURI]):!1},Bs=function(W){Tc(t.removed,{element:W});try{W.parentNode.removeChild(W)}catch{W.remove()}},Q1=function(W,De){try{Tc(t.removed,{attribute:De.getAttributeNode(W),from:De})}catch{Tc(t.removed,{attribute:null,from:De})}if(De.removeAttribute(W),W==="is"&&!H[W])if(X||Ae)try{Bs(De)}catch{}else try{De.setAttribute(W,"")}catch{}},n5=function(W){let De,Ce;if(pe)W="<remove></remove>"+W;else{let ur=X_(W,/^[\r\n\t ]+/);Ce=ur&&ur[0]}sr==="application/xhtml+xml"&&Ar===Wn&&(W='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+W+"</body></html>");let Ct=b?b.createHTML(W):W;if(Ar===Wn)try{De=new g().parseFromString(Ct,sr)}catch{}if(!De||!De.documentElement){De=T.createDocument(Ar,"template",null);try{De.documentElement.innerHTML=aa?x:Ct}catch{}}let ln=De.body||De.documentElement;return W&&Ce&&ln.insertBefore(i.createTextNode(Ce),ln.childNodes[0]||null),Ar===Wn?A.call(De,ue?"html":"body")[0]:ue?De.documentElement:ln},r5=function(W){return S.call(W.ownerDocument||W,W,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)},eB=function(W){return W instanceof d&&(typeof W.nodeName!="string"||typeof W.textContent!="string"||typeof W.removeChild!="function"||!(W.attributes instanceof c)||typeof W.removeAttribute!="function"||typeof W.setAttribute!="function"||typeof W.namespaceURI!="string"||typeof W.insertBefore!="function"||typeof W.hasChildNodes!="function")},kd=function(W){return typeof s=="object"?W instanceof s:W&&typeof W=="object"&&typeof W.nodeType=="number"&&typeof W.nodeName=="string"},ua=function(W,De,Ce){P[W]&&J_(P[W],Ct=>{Ct.call(t,De,Ce,kr)})},i5=function(W){let De;if(ua("beforeSanitizeElements",W,null),eB(W))return Bs(W),!0;let Ce=At(W.nodeName);if(ua("uponSanitizeElement",W,{tagName:Ce,allowedTags:N}),W.hasChildNodes()&&!kd(W.firstElementChild)&&(!kd(W.content)||!kd(W.content.firstElementChild))&&Pr(/<[/\w]/g,W.innerHTML)&&Pr(/<[/\w]/g,W.textContent))return Bs(W),!0;if(!N[Ce]||J[Ce]){if(!J[Ce]&&o5(Ce)&&(K.tagNameCheck instanceof RegExp&&Pr(K.tagNameCheck,Ce)||K.tagNameCheck instanceof Function&&K.tagNameCheck(Ce)))return!1;if(He&&!Ee[Ce]){let Ct=v(W)||W.parentNode,ln=y(W)||W.childNodes;if(ln&&Ct){let ur=ln.length;for(let yr=ur-1;yr>=0;--yr)Ct.insertBefore(h(ln[yr],!0),C(W))}}return Bs(W),!0}return W instanceof u&&!$F(W)||(Ce==="noscript"||Ce==="noembed")&&Pr(/<\/no(script|embed)/i,W.innerHTML)?(Bs(W),!0):(ae&&W.nodeType===3&&(De=W.textContent,De=hi(De,B," "),De=hi(De,O," "),De=hi(De,R," "),W.textContent!==De&&(Tc(t.removed,{element:W.cloneNode()}),W.textContent=De)),ua("afterSanitizeElements",W,null),!1)},a5=function(W,De,Ce){if(ne&&(De==="id"||De==="name")&&(Ce in i||Ce in JF))return!1;if(!(ie&&!re[De]&&Pr(_,De))&&!(Q&&Pr(F,De))){if(!H[De]||re[De]){if(!(o5(W)&&(K.tagNameCheck instanceof RegExp&&Pr(K.tagNameCheck,W)||K.tagNameCheck instanceof Function&&K.tagNameCheck(W))&&(K.attributeNameCheck instanceof RegExp&&Pr(K.attributeNameCheck,De)||K.attributeNameCheck instanceof Function&&K.attributeNameCheck(De))||De==="is"&&K.allowCustomizedBuiltInElements&&(K.tagNameCheck instanceof RegExp&&Pr(K.tagNameCheck,Ce)||K.tagNameCheck instanceof Function&&K.tagNameCheck(Ce))))return!1}else if(!Vn[De]&&!Pr(w,hi(Ce,D,""))&&!((De==="src"||De==="xlink:href"||De==="href")&&W!=="script"&&$_(Ce,"data:")===0&&qe[W])&&!(xe&&!Pr(L,hi(Ce,D,"")))&&Ce)return!1}return!0},o5=function(W){return W.indexOf("-")>0},s5=function(W){let De,Ce,Ct,ln;ua("beforeSanitizeAttributes",W,null);let{attributes:ur}=W;if(!ur)return;let yr={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:H};for(ln=ur.length;ln--;){De=ur[ln];let{name:yn,namespaceURI:Os}=De;if(Ce=yn==="value"?De.value:eU(De.value),Ct=At(yn),yr.attrName=Ct,yr.attrValue=Ce,yr.keepAttr=!0,yr.forceKeepAttr=void 0,ua("uponSanitizeAttribute",W,yr),Ce=yr.attrValue,yr.forceKeepAttr||(Q1(yn,W),!yr.keepAttr))continue;if(!be&&Pr(/\/>/i,Ce)){Q1(yn,W);continue}ae&&(Ce=hi(Ce,B," "),Ce=hi(Ce,O," "),Ce=hi(Ce,R," "));let u5=At(W.nodeName);if(a5(u5,Ct,Ce)){if(te&&(Ct==="id"||Ct==="name")&&(Q1(yn,W),Ce=ve+Ce),b&&typeof f=="object"&&typeof f.getAttributeType=="function"&&!Os)switch(f.getAttributeType(u5,Ct)){case"TrustedHTML":{Ce=b.createHTML(Ce);break}case"TrustedScriptURL":{Ce=b.createScriptURL(Ce);break}}try{Os?W.setAttributeNS(Os,yn,Ce):W.setAttribute(yn,Ce),tx(t.removed)}catch{}}}ua("afterSanitizeAttributes",W,null)},tB=function W(De){let Ce,Ct=r5(De);for(ua("beforeSanitizeShadowDOM",De,null);Ce=Ct.nextNode();)ua("uponSanitizeShadowNode",Ce,null),!i5(Ce)&&(Ce.content instanceof a&&W(Ce.content),s5(Ce));ua("afterSanitizeShadowDOM",De,null)};return t.sanitize=function(W){let De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ce,Ct,ln,ur;if(aa=!W,aa&&(W="<!-->"),typeof W!="string"&&!kd(W))if(typeof W.toString=="function"){if(W=W.toString(),typeof W!="string")throw Sc("dirty is not a string, aborting")}else throw Sc("toString is not a function");if(!t.isSupported)return W;if(ce||q1(De),t.removed=[],typeof W=="string"&&(ke=!1),ke){if(W.nodeName){let Os=At(W.nodeName);if(!N[Os]||J[Os])throw Sc("root node is forbidden and cannot be sanitized in-place")}}else if(W instanceof s)Ce=n5("<!---->"),Ct=Ce.ownerDocument.importNode(W,!0),Ct.nodeType===1&&Ct.nodeName==="BODY"||Ct.nodeName==="HTML"?Ce=Ct:Ce.appendChild(Ct);else{if(!X&&!ae&&!ue&&W.indexOf("<")===-1)return b&&fe?b.createHTML(W):W;if(Ce=n5(W),!Ce)return X?null:fe?x:""}Ce&&pe&&Bs(Ce.firstChild);let yr=r5(ke?W:Ce);for(;ln=yr.nextNode();)i5(ln)||(ln.content instanceof a&&tB(ln.content),s5(ln));if(ke)return W;if(X){if(Ae)for(ur=E.call(Ce.ownerDocument);Ce.firstChild;)ur.appendChild(Ce.firstChild);else ur=Ce;return(H.shadowroot||H.shadowrootmod)&&(ur=M.call(n,ur,!0)),ur}let yn=ue?Ce.outerHTML:Ce.innerHTML;return ue&&N["!doctype"]&&Ce.ownerDocument&&Ce.ownerDocument.doctype&&Ce.ownerDocument.doctype.name&&Pr(lx,Ce.ownerDocument.doctype.name)&&(yn="<!DOCTYPE "+Ce.ownerDocument.doctype.name+`>
`+yn),ae&&(yn=hi(yn,B," "),yn=hi(yn,O," "),yn=hi(yn,R," ")),b&&fe?b.createHTML(yn):yn},t.setConfig=function(W){q1(W),ce=!0},t.clearConfig=function(){kr=null,ce=!1},t.isValidAttribute=function(W,De,Ce){kr||q1({});let Ct=At(W),ln=At(De);return a5(Ct,ln,Ce)},t.addHook=function(W,De){typeof De=="function"&&(P[W]=P[W]||[],Tc(P[W],De))},t.removeHook=function(W){if(P[W])return tx(P[W])},t.removeHooks=function(W){P[W]&&(P[W]=[])},t.removeAllHooks=function(){P={}},t}var at=cx();var mU=Object.create,C4=Object.defineProperty,fU=Object.getOwnPropertyDescriptor,pU=Object.getOwnPropertyNames,hU=Object.getPrototypeOf,yU=Object.prototype.hasOwnProperty,T4=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),bU=(e,t)=>{for(var n in t)C4(e,n,{get:t[n],enumerable:!0})},x4=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of pU(t))!yU.call(e,i)&&i!==n&&C4(e,i,{get:()=>t[i],enumerable:!(r=fU(t,i))||r.enumerable});return e},vU=(e,t,n)=>(x4(e,t,"default"),n&&x4(n,t,"default")),gx=(e,t,n)=>(n=e!=null?mU(hU(e)):{},x4(t||!e||!e.__esModule?C4(n,"default",{value:e,enumerable:!0}):n,e)),xU=T4((e,t)=>{function n(r,i){if(i&&i.documentElement)r=i,i=arguments[2];else if(!r||!r.documentElement)throw new Error("First argument to Readability constructor should be a document object.");if(i=i||{},this._doc=r,this._docJSDOMParser=this._doc.firstChild.__JSDOMParser__,this._articleTitle=null,this._articleByline=null,this._articleDir=null,this._articleSiteName=null,this._attempts=[],this._debug=!!i.debug,this._maxElemsToParse=i.maxElemsToParse||this.DEFAULT_MAX_ELEMS_TO_PARSE,this._nbTopCandidates=i.nbTopCandidates||this.DEFAULT_N_TOP_CANDIDATES,this._charThreshold=i.charThreshold||this.DEFAULT_CHAR_THRESHOLD,this._classesToPreserve=this.CLASSES_TO_PRESERVE.concat(i.classesToPreserve||[]),this._keepClasses=!!i.keepClasses,this._serializer=i.serializer||function(a){return a.innerHTML},this._disableJSONLD=!!i.disableJSONLD,this._allowedVideoRegex=i.allowedVideoRegex||this.REGEXPS.videos,this._flags=this.FLAG_STRIP_UNLIKELYS|this.FLAG_WEIGHT_CLASSES|this.FLAG_CLEAN_CONDITIONALLY,this._debug){let a=function(o){if(o.nodeType==o.TEXT_NODE)return`${o.nodeName} ("${o.textContent}")`;let s=Array.from(o.attributes||[],function(u){return`${u.name}="${u.value}"`}).join(" ");return`<${o.localName} ${s}>`};this.log=function(){if(typeof console<"u")Array.from(arguments,u=>u&&u.nodeType==this.ELEMENT_NODE?a(u):u).unshift("Reader: (Readability)");else if(typeof dump<"u"){var o=Array.prototype.map.call(arguments,function(s){return s&&s.nodeName?a(s):s}).join(" ");dump("Reader: (Readability) "+o+`
`)}}}else this.log=function(){}}n.prototype={FLAG_STRIP_UNLIKELYS:1,FLAG_WEIGHT_CLASSES:2,FLAG_CLEAN_CONDITIONALLY:4,ELEMENT_NODE:1,TEXT_NODE:3,DEFAULT_MAX_ELEMS_TO_PARSE:0,DEFAULT_N_TOP_CANDIDATES:5,DEFAULT_TAGS_TO_SCORE:"section,h2,h3,h4,h5,h6,p,td,pre".toUpperCase().split(","),DEFAULT_CHAR_THRESHOLD:500,REGEXPS:{unlikelyCandidates:/-ad-|ai2html|banner|breadcrumbs|combx|comment|community|cover-wrap|disqus|extra|footer|gdpr|header|legends|menu|related|remark|replies|rss|shoutbox|sidebar|skyscraper|social|sponsor|supplemental|ad-break|agegate|pagination|pager|popup|yom-remote/i,okMaybeItsACandidate:/and|article|body|column|content|main|shadow/i,positive:/article|body|content|entry|hentry|h-entry|main|page|pagination|post|text|blog|story/i,negative:/-ad-|hidden|^hid$| hid$| hid |^hid |banner|combx|comment|com-|contact|foot|footer|footnote|gdpr|masthead|media|meta|outbrain|promo|related|scroll|share|shoutbox|sidebar|skyscraper|sponsor|shopping|tags|tool|widget/i,extraneous:/print|archive|comment|discuss|e[\-]?mail|share|reply|all|login|sign|single|utility/i,byline:/byline|author|dateline|writtenby|p-author/i,replaceFonts:/<(\/?)font[^>]*>/gi,normalize:/\s{2,}/g,videos:/\/\/(www\.)?((dailymotion|youtube|youtube-nocookie|player\.vimeo|v\.qq)\.com|(archive|upload\.wikimedia)\.org|player\.twitch\.tv)/i,shareElements:/(\b|_)(share|sharedaddy)(\b|_)/i,nextLink:/(next|weiter|continue|>([^\|]|$)|»([^\|]|$))/i,prevLink:/(prev|earl|old|new|<|«)/i,tokenize:/\W+/g,whitespace:/^\s*$/,hasContent:/\S$/,hashUrl:/^#.+/,srcsetUrl:/(\S+)(\s+[\d.]+[xw])?(\s*(?:,|$))/g,b64DataUrl:/^data:\s*([^\s;,]+)\s*;\s*base64\s*,/i,jsonLdArticleTypes:/^Article|AdvertiserContentArticle|NewsArticle|AnalysisNewsArticle|AskPublicNewsArticle|BackgroundNewsArticle|OpinionNewsArticle|ReportageNewsArticle|ReviewNewsArticle|Report|SatiricalArticle|ScholarlyArticle|MedicalScholarlyArticle|SocialMediaPosting|BlogPosting|LiveBlogPosting|DiscussionForumPosting|TechArticle|APIReference$/},UNLIKELY_ROLES:["menu","menubar","complementary","navigation","alert","alertdialog","dialog"],DIV_TO_P_ELEMS:new Set(["BLOCKQUOTE","DL","DIV","IMG","OL","P","PRE","TABLE","UL"]),ALTER_TO_DIV_EXCEPTIONS:["DIV","ARTICLE","SECTION","P"],PRESENTATIONAL_ATTRIBUTES:["align","background","bgcolor","border","cellpadding","cellspacing","frame","hspace","rules","style","valign","vspace"],DEPRECATED_SIZE_ATTRIBUTE_ELEMS:["TABLE","TH","TD","HR","PRE"],PHRASING_ELEMS:["ABBR","AUDIO","B","BDO","BR","BUTTON","CITE","CODE","DATA","DATALIST","DFN","EM","EMBED","I","IMG","INPUT","KBD","LABEL","MARK","MATH","METER","NOSCRIPT","OBJECT","OUTPUT","PROGRESS","Q","RUBY","SAMP","SCRIPT","SELECT","SMALL","SPAN","STRONG","SUB","SUP","TEXTAREA","TIME","VAR","WBR"],CLASSES_TO_PRESERVE:["page"],HTML_ESCAPE_MAP:{lt:"<",gt:">",amp:"&",quot:'"',apos:"'"},_postProcessContent:function(r){this._fixRelativeUris(r),this._simplifyNestedElements(r),this._keepClasses||this._cleanClasses(r)},_removeNodes:function(r,i){if(this._docJSDOMParser&&r._isLiveNodeList)throw new Error("Do not pass live node lists to _removeNodes");for(var a=r.length-1;a>=0;a--){var o=r[a],s=o.parentNode;s&&(!i||i.call(this,o,a,r))&&s.removeChild(o)}},_replaceNodeTags:function(r,i){if(this._docJSDOMParser&&r._isLiveNodeList)throw new Error("Do not pass live node lists to _replaceNodeTags");for(let a of r)this._setNodeTag(a,i)},_forEachNode:function(r,i){Array.prototype.forEach.call(r,i,this)},_findNode:function(r,i){return Array.prototype.find.call(r,i,this)},_someNode:function(r,i){return Array.prototype.some.call(r,i,this)},_everyNode:function(r,i){return Array.prototype.every.call(r,i,this)},_concatNodeLists:function(){var r=Array.prototype.slice,i=r.call(arguments),a=i.map(function(o){return r.call(o)});return Array.prototype.concat.apply([],a)},_getAllNodesWithTag:function(r,i){return r.querySelectorAll?r.querySelectorAll(i.join(",")):[].concat.apply([],i.map(function(a){var o=r.getElementsByTagName(a);return Array.isArray(o)?o:Array.from(o)}))},_cleanClasses:function(r){var i=this._classesToPreserve,a=(r.getAttribute("class")||"").split(/\s+/).filter(function(o){return i.indexOf(o)!=-1}).join(" ");for(a?r.setAttribute("class",a):r.removeAttribute("class"),r=r.firstElementChild;r;r=r.nextElementSibling)this._cleanClasses(r)},_fixRelativeUris:function(r){var i=this._doc.baseURI,a=this._doc.documentURI;function o(l){if(i==a&&l.charAt(0)=="#")return l;try{return new URL(l,i).href}catch{}return l}var s=this._getAllNodesWithTag(r,["a"]);this._forEachNode(s,function(l){var c=l.getAttribute("href");if(c)if(c.indexOf("javascript:")===0)if(l.childNodes.length===1&&l.childNodes[0].nodeType===this.TEXT_NODE){var d=this._doc.createTextNode(l.textContent);l.parentNode.replaceChild(d,l)}else{for(var g=this._doc.createElement("span");l.firstChild;)g.appendChild(l.firstChild);l.parentNode.replaceChild(g,l)}else l.setAttribute("href",o(c))});var u=this._getAllNodesWithTag(r,["img","picture","figure","video","audio","source"]);this._forEachNode(u,function(l){var c=l.getAttribute("src"),d=l.getAttribute("poster"),g=l.getAttribute("srcset");if(c&&l.setAttribute("src",o(c)),d&&l.setAttribute("poster",o(d)),g){var f=g.replace(this.REGEXPS.srcsetUrl,function(p,h,C,y){return o(h)+(C||"")+y});l.setAttribute("srcset",f)}})},_simplifyNestedElements:function(r){for(var i=r;i;){if(i.parentNode&&["DIV","SECTION"].includes(i.tagName)&&!(i.id&&i.id.startsWith("readability"))){if(this._isElementWithoutContent(i)){i=this._removeAndGetNext(i);continue}else if(this._hasSingleTagInsideElement(i,"DIV")||this._hasSingleTagInsideElement(i,"SECTION")){for(var a=i.children[0],o=0;o<i.attributes.length;o++)a.setAttribute(i.attributes[o].name,i.attributes[o].value);i.parentNode.replaceChild(a,i),i=a;continue}}i=this._getNextNode(i)}},_getArticleTitle:function(){var r=this._doc,i="",a="";try{i=a=r.title.trim(),typeof i!="string"&&(i=a=this._getInnerText(r.getElementsByTagName("title")[0]))}catch{}var o=!1;function s(f){return f.split(/\s+/).length}if(/ [\|\-\\\/>»] /.test(i))o=/ [\\\/>»] /.test(i),i=a.replace(/(.*)[\|\-\\\/>»] .*/gi,"$1"),s(i)<3&&(i=a.replace(/[^\|\-\\\/>»]*[\|\-\\\/>»](.*)/gi,"$1"));else if(i.indexOf(": ")!==-1){var u=this._concatNodeLists(r.getElementsByTagName("h1"),r.getElementsByTagName("h2")),l=i.trim(),c=this._someNode(u,function(f){return f.textContent.trim()===l});c||(i=a.substring(a.lastIndexOf(":")+1),s(i)<3?i=a.substring(a.indexOf(":")+1):s(a.substr(0,a.indexOf(":")))>5&&(i=a))}else if(i.length>150||i.length<15){var d=r.getElementsByTagName("h1");d.length===1&&(i=this._getInnerText(d[0]))}i=i.trim().replace(this.REGEXPS.normalize," ");var g=s(i);return g<=4&&(!o||g!=s(a.replace(/[\|\-\\\/>»]+/g,""))-1)&&(i=a),i},_prepDocument:function(){var r=this._doc;this._removeNodes(this._getAllNodesWithTag(r,["style"])),r.body&&this._replaceBrs(r.body),this._replaceNodeTags(this._getAllNodesWithTag(r,["font"]),"SPAN")},_nextNode:function(r){for(var i=r;i&&i.nodeType!=this.ELEMENT_NODE&&this.REGEXPS.whitespace.test(i.textContent);)i=i.nextSibling;return i},_replaceBrs:function(r){this._forEachNode(this._getAllNodesWithTag(r,["br"]),function(i){for(var a=i.nextSibling,o=!1;(a=this._nextNode(a))&&a.tagName=="BR";){o=!0;var s=a.nextSibling;a.parentNode.removeChild(a),a=s}if(o){var u=this._doc.createElement("p");for(i.parentNode.replaceChild(u,i),a=u.nextSibling;a;){if(a.tagName=="BR"){var l=this._nextNode(a.nextSibling);if(l&&l.tagName=="BR")break}if(!this._isPhrasingContent(a))break;var c=a.nextSibling;u.appendChild(a),a=c}for(;u.lastChild&&this._isWhitespace(u.lastChild);)u.removeChild(u.lastChild);u.parentNode.tagName==="P"&&this._setNodeTag(u.parentNode,"DIV")}})},_setNodeTag:function(r,i){if(this.log("_setNodeTag",r,i),this._docJSDOMParser)return r.localName=i.toLowerCase(),r.tagName=i.toUpperCase(),r;for(var a=r.ownerDocument.createElement(i);r.firstChild;)a.appendChild(r.firstChild);r.parentNode.replaceChild(a,r),r.readability&&(a.readability=r.readability);for(var o=0;o<r.attributes.length;o++)try{a.setAttribute(r.attributes[o].name,r.attributes[o].value)}catch{}return a},_prepArticle:function(r){this._cleanStyles(r),this._markDataTables(r),this._fixLazyImages(r),this._cleanConditionally(r,"form"),this._cleanConditionally(r,"fieldset"),this._clean(r,"object"),this._clean(r,"embed"),this._clean(r,"footer"),this._clean(r,"link"),this._clean(r,"aside");var i=this.DEFAULT_CHAR_THRESHOLD;this._forEachNode(r.children,function(a){this._cleanMatchedNodes(a,function(o,s){return this.REGEXPS.shareElements.test(s)&&o.textContent.length<i})}),this._clean(r,"iframe"),this._clean(r,"input"),this._clean(r,"textarea"),this._clean(r,"select"),this._clean(r,"button"),this._cleanHeaders(r),this._cleanConditionally(r,"table"),this._cleanConditionally(r,"ul"),this._cleanConditionally(r,"div"),this._replaceNodeTags(this._getAllNodesWithTag(r,["h1"]),"h2"),this._removeNodes(this._getAllNodesWithTag(r,["p"]),function(a){var o=a.getElementsByTagName("img").length,s=a.getElementsByTagName("embed").length,u=a.getElementsByTagName("object").length,l=a.getElementsByTagName("iframe").length,c=o+s+u+l;return c===0&&!this._getInnerText(a,!1)}),this._forEachNode(this._getAllNodesWithTag(r,["br"]),function(a){var o=this._nextNode(a.nextSibling);o&&o.tagName=="P"&&a.parentNode.removeChild(a)}),this._forEachNode(this._getAllNodesWithTag(r,["table"]),function(a){var o=this._hasSingleTagInsideElement(a,"TBODY")?a.firstElementChild:a;if(this._hasSingleTagInsideElement(o,"TR")){var s=o.firstElementChild;if(this._hasSingleTagInsideElement(s,"TD")){var u=s.firstElementChild;u=this._setNodeTag(u,this._everyNode(u.childNodes,this._isPhrasingContent)?"P":"DIV"),a.parentNode.replaceChild(u,a)}}})},_initializeNode:function(r){switch(r.readability={contentScore:0},r.tagName){case"DIV":r.readability.contentScore+=5;break;case"PRE":case"TD":case"BLOCKQUOTE":r.readability.contentScore+=3;break;case"ADDRESS":case"OL":case"UL":case"DL":case"DD":case"DT":case"LI":case"FORM":r.readability.contentScore-=3;break;case"H1":case"H2":case"H3":case"H4":case"H5":case"H6":case"TH":r.readability.contentScore-=5;break}r.readability.contentScore+=this._getClassWeight(r)},_removeAndGetNext:function(r){var i=this._getNextNode(r,!0);return r.parentNode.removeChild(r),i},_getNextNode:function(r,i){if(!i&&r.firstElementChild)return r.firstElementChild;if(r.nextElementSibling)return r.nextElementSibling;do r=r.parentNode;while(r&&!r.nextElementSibling);return r&&r.nextElementSibling},_textSimilarity:function(r,i){var a=r.toLowerCase().split(this.REGEXPS.tokenize).filter(Boolean),o=i.toLowerCase().split(this.REGEXPS.tokenize).filter(Boolean);if(!a.length||!o.length)return 0;var s=o.filter(l=>!a.includes(l)),u=s.join(" ").length/o.join(" ").length;return 1-u},_checkByline:function(r,i){if(this._articleByline)return!1;if(r.getAttribute!==void 0)var a=r.getAttribute("rel"),o=r.getAttribute("itemprop");return(a==="author"||o&&o.indexOf("author")!==-1||this.REGEXPS.byline.test(i))&&this._isValidByline(r.textContent)?(this._articleByline=r.textContent.trim(),!0):!1},_getNodeAncestors:function(r,i){i=i||0;for(var a=0,o=[];r.parentNode&&(o.push(r.parentNode),!(i&&++a===i));)r=r.parentNode;return o},_grabArticle:function(r){this.log("**** grabArticle ****");var i=this._doc,a=r!==null;if(r=r||this._doc.body,!r)return this.log("No body found in document. Abort."),null;for(var o=r.innerHTML;;){this.log("Starting grabArticle loop");var s=this._flagIsActive(this.FLAG_STRIP_UNLIKELYS),u=[],l=this._doc.documentElement;let pe=!0;for(;l;){l.tagName==="HTML"&&(this._articleLang=l.getAttribute("lang"));var c=l.className+" "+l.id;if(!this._isProbablyVisible(l)){this.log("Removing hidden node - "+c),l=this._removeAndGetNext(l);continue}if(l.getAttribute("aria-modal")=="true"&&l.getAttribute("role")=="dialog"){l=this._removeAndGetNext(l);continue}if(this._checkByline(l,c)){l=this._removeAndGetNext(l);continue}if(pe&&this._headerDuplicatesTitle(l)){this.log("Removing header: ",l.textContent.trim(),this._articleTitle.trim()),pe=!1,l=this._removeAndGetNext(l);continue}if(s){if(this.REGEXPS.unlikelyCandidates.test(c)&&!this.REGEXPS.okMaybeItsACandidate.test(c)&&!this._hasAncestorTag(l,"table")&&!this._hasAncestorTag(l,"code")&&l.tagName!=="BODY"&&l.tagName!=="A"){this.log("Removing unlikely candidate - "+c),l=this._removeAndGetNext(l);continue}if(this.UNLIKELY_ROLES.includes(l.getAttribute("role"))){this.log("Removing content with role "+l.getAttribute("role")+" - "+c),l=this._removeAndGetNext(l);continue}}if((l.tagName==="DIV"||l.tagName==="SECTION"||l.tagName==="HEADER"||l.tagName==="H1"||l.tagName==="H2"||l.tagName==="H3"||l.tagName==="H4"||l.tagName==="H5"||l.tagName==="H6")&&this._isElementWithoutContent(l)){l=this._removeAndGetNext(l);continue}if(this.DEFAULT_TAGS_TO_SCORE.indexOf(l.tagName)!==-1&&u.push(l),l.tagName==="DIV"){for(var d=null,g=l.firstChild;g;){var f=g.nextSibling;if(this._isPhrasingContent(g))d!==null?d.appendChild(g):this._isWhitespace(g)||(d=i.createElement("p"),l.replaceChild(d,g),d.appendChild(g));else if(d!==null){for(;d.lastChild&&this._isWhitespace(d.lastChild);)d.removeChild(d.lastChild);d=null}g=f}if(this._hasSingleTagInsideElement(l,"P")&&this._getLinkDensity(l)<.25){var p=l.children[0];l.parentNode.replaceChild(p,l),l=p,u.push(l)}else this._hasChildBlockElement(l)||(l=this._setNodeTag(l,"P"),u.push(l))}l=this._getNextNode(l)}var h=[];this._forEachNode(u,function(X){if(!(!X.parentNode||typeof X.parentNode.tagName>"u")){var Ae=this._getInnerText(X);if(!(Ae.length<25)){var fe=this._getNodeAncestors(X,5);if(fe.length!==0){var ne=0;ne+=1,ne+=Ae.split(",").length,ne+=Math.min(Math.floor(Ae.length/100),3),this._forEachNode(fe,function(te,ve){if(!(!te.tagName||!te.parentNode||typeof te.parentNode.tagName>"u")){if(typeof te.readability>"u"&&(this._initializeNode(te),h.push(te)),ve===0)var He=1;else ve===1?He=2:He=ve*3;te.readability.contentScore+=ne/He}})}}}});for(var C=[],y=0,v=h.length;y<v;y+=1){var b=h[y],x=b.readability.contentScore*(1-this._getLinkDensity(b));b.readability.contentScore=x,this.log("Candidate:",b,"with score "+x);for(var T=0;T<this._nbTopCandidates;T++){var S=C[T];if(!S||x>S.readability.contentScore){C.splice(T,0,b),C.length>this._nbTopCandidates&&C.pop();break}}}var E=C[0]||null,A=!1,M;if(E===null||E.tagName==="BODY"){for(E=i.createElement("DIV"),A=!0;r.firstChild;)this.log("Moving child out:",r.firstChild),E.appendChild(r.firstChild);r.appendChild(E),this._initializeNode(E)}else if(E){for(var P=[],B=1;B<C.length;B++)C[B].readability.contentScore/E.readability.contentScore>=.75&&P.push(this._getNodeAncestors(C[B]));var O=3;if(P.length>=O)for(M=E.parentNode;M.tagName!=="BODY";){for(var R=0,_=0;_<P.length&&R<O;_++)R+=Number(P[_].includes(M));if(R>=O){E=M;break}M=M.parentNode}E.readability||this._initializeNode(E),M=E.parentNode;for(var F=E.readability.contentScore,L=F/3;M.tagName!=="BODY";){if(!M.readability){M=M.parentNode;continue}var D=M.readability.contentScore;if(D<L)break;if(D>F){E=M;break}F=M.readability.contentScore,M=M.parentNode}for(M=E.parentNode;M.tagName!="BODY"&&M.children.length==1;)E=M,M=E.parentNode;E.readability||this._initializeNode(E)}var w=i.createElement("DIV");a&&(w.id="readability-content");var N=Math.max(10,E.readability.contentScore*.2);M=E.parentNode;for(var V=M.children,H=0,q=V.length;H<q;H++){var K=V[H],J=!1;if(this.log("Looking at sibling node:",K,K.readability?"with score "+K.readability.contentScore:""),this.log("Sibling has score",K.readability?K.readability.contentScore:"Unknown"),K===E)J=!0;else{var re=0;if(K.className===E.className&&E.className!==""&&(re+=E.readability.contentScore*.2),K.readability&&K.readability.contentScore+re>=N)J=!0;else if(K.nodeName==="P"){var Q=this._getLinkDensity(K),ie=this._getInnerText(K),xe=ie.length;(xe>80&&Q<.25||xe<80&&xe>0&&Q===0&&ie.search(/\.( |$)/)!==-1)&&(J=!0)}}J&&(this.log("Appending node:",K),this.ALTER_TO_DIV_EXCEPTIONS.indexOf(K.nodeName)===-1&&(this.log("Altering sibling:",K,"to div."),K=this._setNodeTag(K,"DIV")),w.appendChild(K),V=M.children,H-=1,q-=1)}if(this._debug&&this.log("Article content pre-prep: "+w.innerHTML),this._prepArticle(w),this._debug&&this.log("Article content post-prep: "+w.innerHTML),A)E.id="readability-page-1",E.className="page";else{var be=i.createElement("DIV");for(be.id="readability-page-1",be.className="page";w.firstChild;)be.appendChild(w.firstChild);w.appendChild(be)}this._debug&&this.log("Article content after paging: "+w.innerHTML);var ae=!0,ue=this._getInnerText(w,!0).length;if(ue<this._charThreshold)if(ae=!1,r.innerHTML=o,this._flagIsActive(this.FLAG_STRIP_UNLIKELYS))this._removeFlag(this.FLAG_STRIP_UNLIKELYS),this._attempts.push({articleContent:w,textLength:ue});else if(this._flagIsActive(this.FLAG_WEIGHT_CLASSES))this._removeFlag(this.FLAG_WEIGHT_CLASSES),this._attempts.push({articleContent:w,textLength:ue});else if(this._flagIsActive(this.FLAG_CLEAN_CONDITIONALLY))this._removeFlag(this.FLAG_CLEAN_CONDITIONALLY),this._attempts.push({articleContent:w,textLength:ue});else{if(this._attempts.push({articleContent:w,textLength:ue}),this._attempts.sort(function(X,Ae){return Ae.textLength-X.textLength}),!this._attempts[0].textLength)return null;w=this._attempts[0].articleContent,ae=!0}if(ae){var ce=[M,E].concat(this._getNodeAncestors(M));return this._someNode(ce,function(X){if(!X.tagName)return!1;var Ae=X.getAttribute("dir");return Ae?(this._articleDir=Ae,!0):!1}),w}}},_isValidByline:function(r){return typeof r=="string"||r instanceof String?(r=r.trim(),r.length>0&&r.length<100):!1},_unescapeHtmlEntities:function(r){if(!r)return r;var i=this.HTML_ESCAPE_MAP;return r.replace(/&(quot|amp|apos|lt|gt);/g,function(a,o){return i[o]}).replace(/&#(?:x([0-9a-z]{1,4})|([0-9]{1,4}));/gi,function(a,o,s){var u=parseInt(o||s,o?16:10);return String.fromCharCode(u)})},_getJSONLD:function(r){var i=this._getAllNodesWithTag(r,["script"]),a;return this._forEachNode(i,function(o){if(!a&&o.getAttribute("type")==="application/ld+json")try{var s=o.textContent.replace(/^\s*<!\[CDATA\[|\]\]>\s*$/g,""),u=JSON.parse(s);if(!u["@context"]||!u["@context"].match(/^https?\:\/\/schema\.org$/)||(!u["@type"]&&Array.isArray(u["@graph"])&&(u=u["@graph"].find(function(g){return(g["@type"]||"").match(this.REGEXPS.jsonLdArticleTypes)})),!u||!u["@type"]||!u["@type"].match(this.REGEXPS.jsonLdArticleTypes)))return;if(a={},typeof u.name=="string"&&typeof u.headline=="string"&&u.name!==u.headline){var l=this._getArticleTitle(),c=this._textSimilarity(u.name,l)>.75,d=this._textSimilarity(u.headline,l)>.75;d&&!c?a.title=u.headline:a.title=u.name}else typeof u.name=="string"?a.title=u.name.trim():typeof u.headline=="string"&&(a.title=u.headline.trim());u.author&&(typeof u.author.name=="string"?a.byline=u.author.name.trim():Array.isArray(u.author)&&u.author[0]&&typeof u.author[0].name=="string"&&(a.byline=u.author.filter(function(g){return g&&typeof g.name=="string"}).map(function(g){return g.name.trim()}).join(", "))),typeof u.description=="string"&&(a.excerpt=u.description.trim()),u.publisher&&typeof u.publisher.name=="string"&&(a.siteName=u.publisher.name.trim());return}catch(g){this.log(g.message)}}),a||{}},_getArticleMetadata:function(r){var i={},a={},o=this._doc.getElementsByTagName("meta"),s=/\s*(dc|dcterm|og|twitter)\s*:\s*(author|creator|description|title|site_name)\s*/gi,u=/^\s*(?:(dc|dcterm|og|twitter|weibo:(article|webpage))\s*[\.:]\s*)?(author|creator|description|title|site_name)\s*$/i;return this._forEachNode(o,function(l){var c=l.getAttribute("name"),d=l.getAttribute("property"),g=l.getAttribute("content");if(g){var f=null,p=null;d&&(f=d.match(s),f&&(p=f[0].toLowerCase().replace(/\s/g,""),a[p]=g.trim())),!f&&c&&u.test(c)&&(p=c,g&&(p=p.toLowerCase().replace(/\s/g,"").replace(/\./g,":"),a[p]=g.trim()))}}),i.title=r.title||a["dc:title"]||a["dcterm:title"]||a["og:title"]||a["weibo:article:title"]||a["weibo:webpage:title"]||a.title||a["twitter:title"],i.title||(i.title=this._getArticleTitle()),i.byline=r.byline||a["dc:creator"]||a["dcterm:creator"]||a.author,i.excerpt=r.excerpt||a["dc:description"]||a["dcterm:description"]||a["og:description"]||a["weibo:article:description"]||a["weibo:webpage:description"]||a.description||a["twitter:description"],i.siteName=r.siteName||a["og:site_name"],i.title=this._unescapeHtmlEntities(i.title),i.byline=this._unescapeHtmlEntities(i.byline),i.excerpt=this._unescapeHtmlEntities(i.excerpt),i.siteName=this._unescapeHtmlEntities(i.siteName),i},_isSingleImage:function(r){return r.tagName==="IMG"?!0:r.children.length!==1||r.textContent.trim()!==""?!1:this._isSingleImage(r.children[0])},_unwrapNoscriptImages:function(r){var i=Array.from(r.getElementsByTagName("img"));this._forEachNode(i,function(o){for(var s=0;s<o.attributes.length;s++){var u=o.attributes[s];switch(u.name){case"src":case"srcset":case"data-src":case"data-srcset":return}if(/\.(jpg|jpeg|png|webp)/i.test(u.value))return}o.parentNode.removeChild(o)});var a=Array.from(r.getElementsByTagName("noscript"));this._forEachNode(a,function(o){var s=r.createElement("div");if(s.innerHTML=o.innerHTML,!!this._isSingleImage(s)){var u=o.previousElementSibling;if(u&&this._isSingleImage(u)){var l=u;l.tagName!=="IMG"&&(l=u.getElementsByTagName("img")[0]);for(var c=s.getElementsByTagName("img")[0],d=0;d<l.attributes.length;d++){var g=l.attributes[d];if(g.value!==""&&(g.name==="src"||g.name==="srcset"||/\.(jpg|jpeg|png|webp)/i.test(g.value))){if(c.getAttribute(g.name)===g.value)continue;var f=g.name;c.hasAttribute(f)&&(f="data-old-"+f),c.setAttribute(f,g.value)}}o.parentNode.replaceChild(s.firstElementChild,u)}}})},_removeScripts:function(r){this._removeNodes(this._getAllNodesWithTag(r,["script","noscript"]))},_hasSingleTagInsideElement:function(r,i){return r.children.length!=1||r.children[0].tagName!==i?!1:!this._someNode(r.childNodes,function(a){return a.nodeType===this.TEXT_NODE&&this.REGEXPS.hasContent.test(a.textContent)})},_isElementWithoutContent:function(r){return r.nodeType===this.ELEMENT_NODE&&r.textContent.trim().length==0&&(r.children.length==0||r.children.length==r.getElementsByTagName("br").length+r.getElementsByTagName("hr").length)},_hasChildBlockElement:function(r){return this._someNode(r.childNodes,function(i){return this.DIV_TO_P_ELEMS.has(i.tagName)||this._hasChildBlockElement(i)})},_isPhrasingContent:function(r){return r.nodeType===this.TEXT_NODE||this.PHRASING_ELEMS.indexOf(r.tagName)!==-1||(r.tagName==="A"||r.tagName==="DEL"||r.tagName==="INS")&&this._everyNode(r.childNodes,this._isPhrasingContent)},_isWhitespace:function(r){return r.nodeType===this.TEXT_NODE&&r.textContent.trim().length===0||r.nodeType===this.ELEMENT_NODE&&r.tagName==="BR"},_getInnerText:function(r,i){i=typeof i>"u"?!0:i;var a=r.textContent.trim();return i?a.replace(this.REGEXPS.normalize," "):a},_getCharCount:function(r,i){return i=i||",",this._getInnerText(r).split(i).length-1},_cleanStyles:function(r){if(!(!r||r.tagName.toLowerCase()==="svg")){for(var i=0;i<this.PRESENTATIONAL_ATTRIBUTES.length;i++)r.removeAttribute(this.PRESENTATIONAL_ATTRIBUTES[i]);this.DEPRECATED_SIZE_ATTRIBUTE_ELEMS.indexOf(r.tagName)!==-1&&(r.removeAttribute("width"),r.removeAttribute("height"));for(var a=r.firstElementChild;a!==null;)this._cleanStyles(a),a=a.nextElementSibling}},_getLinkDensity:function(r){var i=this._getInnerText(r).length;if(i===0)return 0;var a=0;return this._forEachNode(r.getElementsByTagName("a"),function(o){var s=o.getAttribute("href"),u=s&&this.REGEXPS.hashUrl.test(s)?.3:1;a+=this._getInnerText(o).length*u}),a/i},_getClassWeight:function(r){if(!this._flagIsActive(this.FLAG_WEIGHT_CLASSES))return 0;var i=0;return typeof r.className=="string"&&r.className!==""&&(this.REGEXPS.negative.test(r.className)&&(i-=25),this.REGEXPS.positive.test(r.className)&&(i+=25)),typeof r.id=="string"&&r.id!==""&&(this.REGEXPS.negative.test(r.id)&&(i-=25),this.REGEXPS.positive.test(r.id)&&(i+=25)),i},_clean:function(r,i){var a=["object","embed","iframe"].indexOf(i)!==-1;this._removeNodes(this._getAllNodesWithTag(r,[i]),function(o){if(a){for(var s=0;s<o.attributes.length;s++)if(this._allowedVideoRegex.test(o.attributes[s].value))return!1;if(o.tagName==="object"&&this._allowedVideoRegex.test(o.innerHTML))return!1}return!0})},_hasAncestorTag:function(r,i,a,o){a=a||3,i=i.toUpperCase();for(var s=0;r.parentNode;){if(a>0&&s>a)return!1;if(r.parentNode.tagName===i&&(!o||o(r.parentNode)))return!0;r=r.parentNode,s++}return!1},_getRowAndColumnCount:function(r){for(var i=0,a=0,o=r.getElementsByTagName("tr"),s=0;s<o.length;s++){var u=o[s].getAttribute("rowspan")||0;u&&(u=parseInt(u,10)),i+=u||1;for(var l=0,c=o[s].getElementsByTagName("td"),d=0;d<c.length;d++){var g=c[d].getAttribute("colspan")||0;g&&(g=parseInt(g,10)),l+=g||1}a=Math.max(a,l)}return{rows:i,columns:a}},_markDataTables:function(r){for(var i=r.getElementsByTagName("table"),a=0;a<i.length;a++){var o=i[a],s=o.getAttribute("role");if(s=="presentation"){o._readabilityDataTable=!1;continue}var u=o.getAttribute("datatable");if(u=="0"){o._readabilityDataTable=!1;continue}var l=o.getAttribute("summary");if(l){o._readabilityDataTable=!0;continue}var c=o.getElementsByTagName("caption")[0];if(c&&c.childNodes.length>0){o._readabilityDataTable=!0;continue}var d=["col","colgroup","tfoot","thead","th"],g=function(p){return!!o.getElementsByTagName(p)[0]};if(d.some(g)){this.log("Data table because found data-y descendant"),o._readabilityDataTable=!0;continue}if(o.getElementsByTagName("table")[0]){o._readabilityDataTable=!1;continue}var f=this._getRowAndColumnCount(o);if(f.rows>=10||f.columns>4){o._readabilityDataTable=!0;continue}o._readabilityDataTable=f.rows*f.columns>10}},_fixLazyImages:function(r){this._forEachNode(this._getAllNodesWithTag(r,["img","picture","figure"]),function(i){if(i.src&&this.REGEXPS.b64DataUrl.test(i.src)){var a=this.REGEXPS.b64DataUrl.exec(i.src);if(a[1]==="image/svg+xml")return;for(var o=!1,s=0;s<i.attributes.length;s++){var u=i.attributes[s];if(u.name!=="src"&&/\.(jpg|jpeg|png|webp)/i.test(u.value)){o=!0;break}}if(o){var l=i.src.search(/base64\s*/i)+7,c=i.src.length-l;c<133&&i.removeAttribute("src")}}if(!((i.src||i.srcset&&i.srcset!="null")&&i.className.toLowerCase().indexOf("lazy")===-1)){for(var d=0;d<i.attributes.length;d++)if(u=i.attributes[d],!(u.name==="src"||u.name==="srcset"||u.name==="alt")){var g=null;if(/\.(jpg|jpeg|png|webp)\s+\d/.test(u.value)?g="srcset":/^\s*\S+\.(jpg|jpeg|png|webp)\S*\s*$/.test(u.value)&&(g="src"),g){if(i.tagName==="IMG"||i.tagName==="PICTURE")i.setAttribute(g,u.value);else if(i.tagName==="FIGURE"&&!this._getAllNodesWithTag(i,["img","picture"]).length){var f=this._doc.createElement("img");f.setAttribute(g,u.value),i.appendChild(f)}}}}})},_getTextDensity:function(r,i){var a=this._getInnerText(r,!0).length;if(a===0)return 0;var o=0,s=this._getAllNodesWithTag(r,i);return this._forEachNode(s,u=>o+=this._getInnerText(u,!0).length),o/a},_cleanConditionally:function(r,i){this._flagIsActive(this.FLAG_CLEAN_CONDITIONALLY)&&this._removeNodes(this._getAllNodesWithTag(r,[i]),function(a){var o=function(M){return M._readabilityDataTable},s=i==="ul"||i==="ol";if(!s){var u=0,l=this._getAllNodesWithTag(a,["ul","ol"]);this._forEachNode(l,M=>u+=this._getInnerText(M).length),s=u/this._getInnerText(a).length>.9}if(i==="table"&&o(a)||this._hasAncestorTag(a,"table",-1,o)||this._hasAncestorTag(a,"code"))return!1;var c=this._getClassWeight(a);this.log("Cleaning Conditionally",a);var d=0;if(c+d<0)return!0;if(this._getCharCount(a,",")<10){for(var g=a.getElementsByTagName("p").length,f=a.getElementsByTagName("img").length,p=a.getElementsByTagName("li").length-100,h=a.getElementsByTagName("input").length,C=this._getTextDensity(a,["h1","h2","h3","h4","h5","h6"]),y=0,v=this._getAllNodesWithTag(a,["object","embed","iframe"]),b=0;b<v.length;b++){for(var x=0;x<v[b].attributes.length;x++)if(this._allowedVideoRegex.test(v[b].attributes[x].value))return!1;if(v[b].tagName==="object"&&this._allowedVideoRegex.test(v[b].innerHTML))return!1;y++}var T=this._getLinkDensity(a),S=this._getInnerText(a).length,E=f>1&&g/f<.5&&!this._hasAncestorTag(a,"figure")||!s&&p>g||h>Math.floor(g/3)||!s&&C<.9&&S<25&&(f===0||f>2)&&!this._hasAncestorTag(a,"figure")||!s&&c<25&&T>.2||c>=25&&T>.5||y===1&&S<75||y>1;if(s&&E){for(var A=0;A<a.children.length;A++)if(a.children[A].children.length>1)return E;let M=a.getElementsByTagName("li").length;if(f==M)return!1}return E}return!1})},_cleanMatchedNodes:function(r,i){for(var a=this._getNextNode(r,!0),o=this._getNextNode(r);o&&o!=a;)i.call(this,o,o.className+" "+o.id)?o=this._removeAndGetNext(o):o=this._getNextNode(o)},_cleanHeaders:function(r){let i=this._getAllNodesWithTag(r,["h1","h2"]);this._removeNodes(i,function(a){let o=this._getClassWeight(a)<0;return o&&this.log("Removing header with low class weight:",a),o})},_headerDuplicatesTitle:function(r){if(r.tagName!="H1"&&r.tagName!="H2")return!1;var i=this._getInnerText(r,!1);return this.log("Evaluating similarity of header:",i,this._articleTitle),this._textSimilarity(this._articleTitle,i)>.75},_flagIsActive:function(r){return(this._flags&r)>0},_removeFlag:function(r){this._flags=this._flags&~r},_isProbablyVisible:function(r){return(!r.style||r.style.display!="none")&&!r.hasAttribute("hidden")&&(!r.hasAttribute("aria-hidden")||r.getAttribute("aria-hidden")!="true"||r.className&&r.className.indexOf&&r.className.indexOf("fallback-image")!==-1)},parse:function(){if(this._maxElemsToParse>0){var r=this._doc.getElementsByTagName("*").length;if(r>this._maxElemsToParse)throw new Error("Aborting parsing document; "+r+" elements found")}this._unwrapNoscriptImages(this._doc);var i=this._disableJSONLD?{}:this._getJSONLD(this._doc);this._removeScripts(this._doc),this._prepDocument();var a=this._getArticleMetadata(i);this._articleTitle=a.title;var o=this._grabArticle();if(!o)return null;if(this.log("Grabbed: "+o.innerHTML),this._postProcessContent(o),!a.excerpt){var s=o.getElementsByTagName("p");s.length>0&&(a.excerpt=s[0].textContent.trim())}var u=o.textContent;return{title:this._articleTitle,byline:a.byline||this._articleByline,dir:this._articleDir,lang:this._articleLang,content:this._serializer(o),textContent:u,length:u.length,excerpt:a.excerpt,siteName:a.siteName||this._articleSiteName}}},typeof t=="object"&&(t.exports=n)}),CU=T4((e,t)=>{var n={unlikelyCandidates:/-ad-|ai2html|banner|breadcrumbs|combx|comment|community|cover-wrap|disqus|extra|footer|gdpr|header|legends|menu|related|remark|replies|rss|shoutbox|sidebar|skyscraper|social|sponsor|supplemental|ad-break|agegate|pagination|pager|popup|yom-remote/i,okMaybeItsACandidate:/and|article|body|column|content|main|shadow/i};function r(a){return(!a.style||a.style.display!="none")&&!a.hasAttribute("hidden")&&(!a.hasAttribute("aria-hidden")||a.getAttribute("aria-hidden")!="true"||a.className&&a.className.indexOf&&a.className.indexOf("fallback-image")!==-1)}function i(a,o={}){typeof o=="function"&&(o={visibilityChecker:o});var s={minScore:20,minContentLength:140,visibilityChecker:r};o=Object.assign(s,o);var u=a.querySelectorAll("p, pre, article"),l=a.querySelectorAll("div > br");if(l.length){var c=new Set(u);[].forEach.call(l,function(g){c.add(g.parentNode)}),u=Array.from(c)}var d=0;return[].some.call(u,function(g){if(!o.visibilityChecker(g))return!1;var f=g.className+" "+g.id;if(n.unlikelyCandidates.test(f)&&!n.okMaybeItsACandidate.test(f)||g.matches("li p"))return!1;var p=g.textContent.trim().length;return p<o.minContentLength?!1:(d+=Math.sqrt(p-o.minContentLength),d>o.minScore)})}typeof t=="object"&&(t.exports=i)}),mx=T4((e,t)=>{var n=xU(),r=CU();t.exports={Readability:n,isProbablyReaderable:r}}),fx={};bU(fx,{Readability:()=>Gg,default:()=>yx,isProbablyReaderable:()=>hx});var px=gx(mx());vU(fx,gx(mx()));var{Readability:Gg,isProbablyReaderable:hx}=px,{default:dx,...TU}=px,yx=dx!==void 0?dx:TU;var SU=Object.create,E4=Object.defineProperty,EU=Object.getOwnPropertyDescriptor,wU=Object.getOwnPropertyNames,AU=Object.getPrototypeOf,kU=Object.prototype.hasOwnProperty,MU=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),IU=(e,t)=>{for(var n in t)E4(e,n,{get:t[n],enumerable:!0})},S4=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of wU(t))!kU.call(e,i)&&i!==n&&E4(e,i,{get:()=>t[i],enumerable:!(r=EU(t,i))||r.enumerable});return e},LU=(e,t,n)=>(S4(e,t,"default"),n&&S4(n,t,"default")),vx=(e,t,n)=>(n=e!=null?SU(AU(e)):{},S4(t||!e||!e.__esModule?E4(n,"default",{value:e,enumerable:!0}):n,e)),xx=MU(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parse=void 0;function t(b){if(b!==void 0){if(b===null)return null;if(b==="")return"";b=b.replace(/\\+$/,x=>x.length%2===0?x:x.slice(0,-1));try{return JSON.parse(b)}catch(x){let[T,S]=b.trimLeft()[0]===":"?n(b,x):n(b,x,f);if(t.lastParseReminding=S,t.onExtraToken&&S.length>0){let E=S.trimRight();t.lastParseReminding=E,E.length>0&&t.onExtraToken(b,T,E)}return T}}}e.parse=t,function(b){b.onExtraToken=(x,T,S)=>{}}(t=e.parse||(e.parse={}));function n(b,x,T){let S=i[b[0]]||T;if(!S)throw x;return S(b,x)}function r(b,x,T){return b[0]==='"'?c(b):b[0]==="'"?g(b):f(b,x,T)}var i={};function a(b){return b.trimLeft()}i[" "]=o,i["\r"]=o,i[`
`]=o,i["	"]=o;function o(b,x){return b=a(b),n(b,x)}i["["]=s;function s(b,x){b=b.substr(1);let T=[];for(b=a(b);b.length>0;){if(b[0]==="]"){b=b.substr(1);break}let S=n(b,x,(E,A)=>f(E,A,[",","]"]));T.push(S[0]),b=S[1],b=a(b),b[0]===","&&(b=b.substring(1),b=a(b))}return[T,b]}for(let b of"0123456789.-".slice())i[b]=u;function u(b){for(let x=0;x<b.length;x++){let T=b[x];if(i[T]===u)continue;let S=b.substring(0,x);return b=b.substring(x),[l(S),b]}return[l(b),""]}function l(b){if(b==="-")return-0;let x=+b;return Number.isNaN(x)?b:x}i['"']=c;function c(b){for(let x=1;x<b.length;x++){let T=b[x];if(T==="\\"){x++;continue}if(T==='"'){let S=d(b.substring(0,x+1));return b=b.substring(x+1),[JSON.parse(S),b]}}return[JSON.parse(d(b)+'"'),""]}function d(b){return b.replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r")}i["'"]=g;function g(b){for(let x=1;x<b.length;x++){let T=b[x];if(T==="\\"){x++;continue}if(T==="'"){let S=d(b.substring(0,x+1));return b=b.substring(x+1),[JSON.parse('"'+S.slice(1,-1)+'"'),b]}}return[JSON.parse('"'+d(b.slice(1))+'"'),""]}function f(b,x,T=[" "]){let S=Math.min(...T.map(M=>{let P=b.indexOf(M);return P===-1?b.length:P})),E=b.substring(0,S).trim(),A=b.substring(S);return[E,A]}i["{"]=p;function p(b,x){b=b.substr(1);let T={};for(b=a(b);b.length>0;){if(b[0]==="}"){b=b.substr(1);break}let S=r(b,x,[":","}"]),E=S[0];if(b=S[1],b=a(b),b[0]!==":"){T[E]=void 0;break}if(b=b.substr(1),b=a(b),b.length===0){T[E]=void 0;break}let A=n(b,x);T[E]=A[0],b=A[1],b=a(b),b[0]===","&&(b=b.substr(1),b=a(b))}return[T,b]}i.t=h;function h(b,x){return v(b,"true",!0,x)}i.f=C;function C(b,x){return v(b,"false",!1,x)}i.n=y;function y(b,x){return v(b,"null",null,x)}function v(b,x,T,S){for(let E=x.length;E>=1;E--)if(b.startsWith(x.slice(0,E)))return[T,b.slice(E)];{let E=JSON.stringify(b.slice(0,x.length));throw S}}}),Cx={};IU(Cx,{__esModule:()=>DU,default:()=>Sx,parse:()=>ya});var Tx=vx(xx());LU(Cx,vx(xx()));var{__esModule:DU,parse:ya}=Tx,{default:bx,...PU}=Tx,Sx=bx!==void 0?bx:PU;function RU(e,t){return e.endsWith(t)?e.length===t.length||e[e.length-t.length-1]===".":!1}function NU(e,t){let n=e.length-t.length-2,r=e.lastIndexOf(".",n);return r===-1?e:e.slice(r+1)}function FU(e,t,n){if(n.validHosts!==null){let i=n.validHosts;for(let a of i)if(RU(t,a))return a}let r=0;if(t.startsWith("."))for(;r<t.length&&t[r]===".";)r+=1;return e.length===t.length-r?null:NU(t,e)}function BU(e,t){return e.slice(0,-t.length-1)}function Ex(e,t){let n=0,r=e.length,i=!1;if(!t){if(e.startsWith("data:"))return null;for(;n<e.length&&e.charCodeAt(n)<=32;)n+=1;for(;r>n+1&&e.charCodeAt(r-1)<=32;)r-=1;if(e.charCodeAt(n)===47&&e.charCodeAt(n+1)===47)n+=2;else{let l=e.indexOf(":/",n);if(l!==-1){let c=l-n,d=e.charCodeAt(n),g=e.charCodeAt(n+1),f=e.charCodeAt(n+2),p=e.charCodeAt(n+3),h=e.charCodeAt(n+4);if(!(c===5&&d===104&&g===116&&f===116&&p===112&&h===115)&&!(c===4&&d===104&&g===116&&f===116&&p===112)&&!(c===3&&d===119&&g===115&&f===115)&&!(c===2&&d===119&&g===115))for(let C=n;C<l;C+=1){let y=e.charCodeAt(C)|32;if(!(y>=97&&y<=122||y>=48&&y<=57||y===46||y===45||y===43))return null}for(n=l+2;e.charCodeAt(n)===47;)n+=1}}let o=-1,s=-1,u=-1;for(let l=n;l<r;l+=1){let c=e.charCodeAt(l);if(c===35||c===47||c===63){r=l;break}else c===64?o=l:c===93?s=l:c===58?u=l:c>=65&&c<=90&&(i=!0)}if(o!==-1&&o>n&&o<r&&(n=o+1),e.charCodeAt(n)===91)return s!==-1?e.slice(n+1,s).toLowerCase():null;u!==-1&&u>n&&u<r&&(r=u)}for(;r>n+1&&e.charCodeAt(r-1)===46;)r-=1;let a=n!==0||r!==e.length?e.slice(n,r):e;return i?a.toLowerCase():a}function OU(e){if(e.length<7||e.length>15)return!1;let t=0;for(let n=0;n<e.length;n+=1){let r=e.charCodeAt(n);if(r===46)t+=1;else if(r<48||r>57)return!1}return t===3&&e.charCodeAt(0)!==46&&e.charCodeAt(e.length-1)!==46}function _U(e){if(e.length<3)return!1;let t=e.startsWith("[")?1:0,n=e.length;if(e[n-1]==="]"&&(n-=1),n-t>39)return!1;let r=!1;for(;t<n;t+=1){let i=e.charCodeAt(t);if(i===58)r=!0;else if(!(i>=48&&i<=57||i>=97&&i<=102||i>=65&&i<=90))return!1}return r}function UU(e){return _U(e)||OU(e)}function wx(e){return e>=97&&e<=122||e>=48&&e<=57||e>127}function Ax(e){if(e.length>255||e.length===0||!wx(e.charCodeAt(0))&&e.charCodeAt(0)!==46&&e.charCodeAt(0)!==95)return!1;let t=-1,n=-1,r=e.length;for(let i=0;i<r;i+=1){let a=e.charCodeAt(i);if(a===46){if(i-t>64||n===46||n===45||n===95)return!1;t=i}else if(!(wx(a)||a===45||a===95))return!1;n=a}return r-t-1<=63&&n!==45}function kx({allowIcannDomains:e=!0,allowPrivateDomains:t=!1,detectIp:n=!0,extractHostname:r=!0,mixedInputs:i=!0,validHosts:a=null,validateHostname:o=!0}){return{allowIcannDomains:e,allowPrivateDomains:t,detectIp:n,extractHostname:r,mixedInputs:i,validHosts:a,validateHostname:o}}var jU=kx({});function zU(e){return e===void 0?jU:kx(e)}function HU(e,t){return t.length===e.length?"":e.slice(0,-t.length-1)}function Mx(){return{domain:null,domainWithoutSuffix:null,hostname:null,isIcann:null,isIp:null,isPrivate:null,publicSuffix:null,subdomain:null}}function Ix(e){e.domain=null,e.domainWithoutSuffix=null,e.hostname=null,e.isIcann=null,e.isIp=null,e.isPrivate=null,e.publicSuffix=null,e.subdomain=null}function Lx(e,t,n,r,i){let a=zU(r);return typeof e!="string"||(a.extractHostname?a.mixedInputs?i.hostname=Ex(e,Ax(e)):i.hostname=Ex(e,!1):i.hostname=e,a.detectIp&&i.hostname!==null&&(i.isIp=UU(i.hostname),i.isIp))?i:a.validateHostname&&a.extractHostname&&i.hostname!==null&&!Ax(i.hostname)?(i.hostname=null,i):(t===0||i.hostname===null||(n(i.hostname,a,i),t===2||i.publicSuffix===null)||(i.domain=FU(i.publicSuffix,i.hostname,a),t===3||i.domain===null)||(i.subdomain=HU(i.hostname,i.domain),t===4)||(i.domainWithoutSuffix=BU(i.domain,i.publicSuffix)),i)}function Dx(e,t,n){if(!t.allowPrivateDomains&&e.length>3){let r=e.length-1,i=e.charCodeAt(r),a=e.charCodeAt(r-1),o=e.charCodeAt(r-2),s=e.charCodeAt(r-3);if(i===109&&a===111&&o===99&&s===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="com",!0;if(i===103&&a===114&&o===111&&s===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="org",!0;if(i===117&&a===100&&o===101&&s===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="edu",!0;if(i===118&&a===111&&o===103&&s===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="gov",!0;if(i===116&&a===101&&o===110&&s===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="net",!0;if(i===101&&a===100&&o===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="de",!0}return!1}var VU=function(){let e=[1,{}],t=[2,{}],n=[0,{city:e}];return[0,{ck:[0,{www:e}],jp:[0,{kawasaki:n,kitakyushu:n,kobe:n,nagoya:n,sapporo:n,sendai:n,yokohama:n}],dev:[0,{hrsn:[0,{psl:[0,{wc:[0,{ignored:t,sub:[0,{ignored:t}]}]}]}]}]}]}(),GU=function(){let e=[1,{}],t=[2,{}],n=[1,{com:e,edu:e,gov:e,net:e,org:e}],r=[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e}],i=[0,{"*":t}],a=[2,{s:i}],o=[0,{relay:t}],s=[2,{id:t}],u=[1,{gov:e}],l=[0,{"transfer-webapp":t}],c=[0,{notebook:t,studio:t}],d=[0,{labeling:t,notebook:t,studio:t}],g=[0,{notebook:t}],f=[0,{labeling:t,notebook:t,"notebook-fips":t,studio:t}],p=[0,{notebook:t,"notebook-fips":t,studio:t,"studio-fips":t}],h=[0,{"*":e}],C=[1,{co:t}],y=[0,{objects:t}],v=[2,{nodes:t}],b=[0,{my:i}],x=[0,{s3:t,"s3-accesspoint":t,"s3-website":t}],T=[0,{s3:t,"s3-accesspoint":t}],S=[0,{direct:t}],E=[0,{"webview-assets":t}],A=[0,{vfs:t,"webview-assets":t}],M=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:x,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":E,cloud9:A}],P=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:T,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":E,cloud9:A}],B=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:x,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"analytics-gateway":t,"aws-cloud9":E,cloud9:A}],O=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:x,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t}],R=[0,{s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t,"s3-website":t}],_=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:R,s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":E,cloud9:A}],F=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:R,s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-deprecated":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t,"analytics-gateway":t,"aws-cloud9":E,cloud9:A}],L=[0,{s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t}],D=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:L,s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t}],w=[0,{auth:t}],N=[0,{auth:t,"auth-fips":t}],V=[0,{"auth-fips":t}],H=[0,{apps:t}],q=[0,{paas:t}],K=[2,{eu:t}],J=[0,{app:t}],re=[0,{site:t}],Q=[1,{com:e,edu:e,net:e,org:e}],ie=[0,{j:t}],xe=[0,{dyn:t}],be=[1,{co:e,com:e,edu:e,gov:e,net:e,org:e}],ae=[0,{p:t}],ue=[0,{user:t}],ce=[0,{shop:t}],pe=[0,{cdn:t}],X=[0,{cust:t,reservd:t}],Ae=[0,{cust:t}],fe=[0,{s3:t}],ne=[1,{biz:e,com:e,edu:e,gov:e,info:e,net:e,org:e}],te=[0,{ipfs:t}],ve=[1,{framer:t}],He=[0,{forgot:t}],ke=[1,{gs:e}],Ye=[0,{nes:e}],Ee=[1,{k12:e,cc:e,lib:e}],$e=[1,{cc:e,lib:e}];return[0,{ac:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,drr:t,feedback:t,forms:t}],ad:e,ae:[1,{ac:e,co:e,gov:e,mil:e,net:e,org:e,sch:e}],aero:[1,{airline:e,airport:e,"accident-investigation":e,"accident-prevention":e,aerobatic:e,aeroclub:e,aerodrome:e,agents:e,"air-surveillance":e,"air-traffic-control":e,aircraft:e,airtraffic:e,ambulance:e,association:e,author:e,ballooning:e,broker:e,caa:e,cargo:e,catering:e,certification:e,championship:e,charter:e,civilaviation:e,club:e,conference:e,consultant:e,consulting:e,control:e,council:e,crew:e,design:e,dgca:e,educator:e,emergency:e,engine:e,engineer:e,entertainment:e,equipment:e,exchange:e,express:e,federation:e,flight:e,freight:e,fuel:e,gliding:e,government:e,groundhandling:e,group:e,hanggliding:e,homebuilt:e,insurance:e,journal:e,journalist:e,leasing:e,logistics:e,magazine:e,maintenance:e,marketplace:e,media:e,microlight:e,modelling:e,navigation:e,parachuting:e,paragliding:e,"passenger-association":e,pilot:e,press:e,production:e,recreation:e,repbody:e,res:e,research:e,rotorcraft:e,safety:e,scientist:e,services:e,show:e,skydiving:e,software:e,student:e,taxi:e,trader:e,trading:e,trainer:e,union:e,workinggroup:e,works:e}],af:n,ag:[1,{co:e,com:e,net:e,nom:e,org:e,obj:t}],ai:[1,{com:e,net:e,off:e,org:e,uwu:t,framer:t}],al:r,am:[1,{co:e,com:e,commune:e,net:e,org:e,radio:t}],ao:[1,{co:e,ed:e,edu:e,gov:e,gv:e,it:e,og:e,org:e,pb:e}],aq:e,ar:[1,{bet:e,com:e,coop:e,edu:e,gob:e,gov:e,int:e,mil:e,musica:e,mutual:e,net:e,org:e,seg:e,senasa:e,tur:e}],arpa:[1,{e164:e,home:e,"in-addr":e,ip6:e,iris:e,uri:e,urn:e}],as:u,asia:[1,{cloudns:t,daemon:t,dix:t}],at:[1,{ac:[1,{sth:e}],co:e,gv:e,or:e,funkfeuer:[0,{wien:t}],futurecms:[0,{"*":t,ex:i,in:i}],futurehosting:t,futuremailing:t,ortsinfo:[0,{ex:i,kunden:i}],biz:t,info:t,"123webseite":t,priv:t,myspreadshop:t,"12hp":t,"2ix":t,"4lima":t,"lima-city":t}],au:[1,{asn:e,com:[1,{cloudlets:[0,{mel:t}],myspreadshop:t}],edu:[1,{act:e,catholic:e,nsw:[1,{schools:e}],nt:e,qld:e,sa:e,tas:e,vic:e,wa:e}],gov:[1,{qld:e,sa:e,tas:e,vic:e,wa:e}],id:e,net:e,org:e,conf:e,oz:e,act:e,nsw:e,nt:e,qld:e,sa:e,tas:e,vic:e,wa:e}],aw:[1,{com:e}],ax:e,az:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,int:e,mil:e,name:e,net:e,org:e,pp:e,pro:e}],ba:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,rs:t}],bb:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,net:e,org:e,store:e,tv:e}],bd:h,be:[1,{ac:e,cloudns:t,webhosting:t,interhostsolutions:[0,{cloud:t}],kuleuven:[0,{ezproxy:t}],"123website":t,myspreadshop:t,transurl:i}],bf:u,bg:[1,{0:e,1:e,2:e,3:e,4:e,5:e,6:e,7:e,8:e,9:e,a:e,b:e,c:e,d:e,e,f:e,g:e,h:e,i:e,j:e,k:e,l:e,m:e,n:e,o:e,p:e,q:e,r:e,s:e,t:e,u:e,v:e,w:e,x:e,y:e,z:e,barsy:t}],bh:n,bi:[1,{co:e,com:e,edu:e,or:e,org:e}],biz:[1,{activetrail:t,"cloud-ip":t,cloudns:t,jozi:t,dyndns:t,"for-better":t,"for-more":t,"for-some":t,"for-the":t,selfip:t,webhop:t,orx:t,mmafan:t,myftp:t,"no-ip":t,dscloud:t}],bj:[1,{africa:e,agro:e,architectes:e,assur:e,avocats:e,co:e,com:e,eco:e,econo:e,edu:e,info:e,loisirs:e,money:e,net:e,org:e,ote:e,restaurant:e,resto:e,tourism:e,univ:e}],bm:n,bn:[1,{com:e,edu:e,gov:e,net:e,org:e,co:t}],bo:[1,{com:e,edu:e,gob:e,int:e,mil:e,net:e,org:e,tv:e,web:e,academia:e,agro:e,arte:e,blog:e,bolivia:e,ciencia:e,cooperativa:e,democracia:e,deporte:e,ecologia:e,economia:e,empresa:e,indigena:e,industria:e,info:e,medicina:e,movimiento:e,musica:e,natural:e,nombre:e,noticias:e,patria:e,plurinacional:e,politica:e,profesional:e,pueblo:e,revista:e,salud:e,tecnologia:e,tksat:e,transporte:e,wiki:e}],br:[1,{"9guacu":e,abc:e,adm:e,adv:e,agr:e,aju:e,am:e,anani:e,aparecida:e,app:e,arq:e,art:e,ato:e,b:e,barueri:e,belem:e,bet:e,bhz:e,bib:e,bio:e,blog:e,bmd:e,boavista:e,bsb:e,campinagrande:e,campinas:e,caxias:e,cim:e,cng:e,cnt:e,com:[1,{simplesite:t}],contagem:e,coop:e,coz:e,cri:e,cuiaba:e,curitiba:e,def:e,des:e,det:e,dev:e,ecn:e,eco:e,edu:e,emp:e,enf:e,eng:e,esp:e,etc:e,eti:e,far:e,feira:e,flog:e,floripa:e,fm:e,fnd:e,fortal:e,fot:e,foz:e,fst:e,g12:e,geo:e,ggf:e,goiania:e,gov:[1,{ac:e,al:e,am:e,ap:e,ba:e,ce:e,df:e,es:e,go:e,ma:e,mg:e,ms:e,mt:e,pa:e,pb:e,pe:e,pi:e,pr:e,rj:e,rn:e,ro:e,rr:e,rs:e,sc:e,se:e,sp:e,to:e}],gru:e,imb:e,ind:e,inf:e,jab:e,jampa:e,jdf:e,joinville:e,jor:e,jus:e,leg:[1,{ac:t,al:t,am:t,ap:t,ba:t,ce:t,df:t,es:t,go:t,ma:t,mg:t,ms:t,mt:t,pa:t,pb:t,pe:t,pi:t,pr:t,rj:t,rn:t,ro:t,rr:t,rs:t,sc:t,se:t,sp:t,to:t}],leilao:e,lel:e,log:e,londrina:e,macapa:e,maceio:e,manaus:e,maringa:e,mat:e,med:e,mil:e,morena:e,mp:e,mus:e,natal:e,net:e,niteroi:e,nom:h,not:e,ntr:e,odo:e,ong:e,org:e,osasco:e,palmas:e,poa:e,ppg:e,pro:e,psc:e,psi:e,pvh:e,qsl:e,radio:e,rec:e,recife:e,rep:e,ribeirao:e,rio:e,riobranco:e,riopreto:e,salvador:e,sampa:e,santamaria:e,santoandre:e,saobernardo:e,saogonca:e,seg:e,sjc:e,slg:e,slz:e,sorocaba:e,srv:e,taxi:e,tc:e,tec:e,teo:e,the:e,tmp:e,trd:e,tur:e,tv:e,udi:e,vet:e,vix:e,vlog:e,wiki:e,zlg:e}],bs:[1,{com:e,edu:e,gov:e,net:e,org:e,we:t}],bt:n,bv:e,bw:[1,{ac:e,co:e,gov:e,net:e,org:e}],by:[1,{gov:e,mil:e,com:e,of:e,mediatech:t}],bz:[1,{co:e,com:e,edu:e,gov:e,net:e,org:e,za:t,mydns:t,gsj:t}],ca:[1,{ab:e,bc:e,mb:e,nb:e,nf:e,nl:e,ns:e,nt:e,nu:e,on:e,pe:e,qc:e,sk:e,yk:e,gc:e,barsy:t,awdev:i,co:t,"no-ip":t,myspreadshop:t,box:t}],cat:e,cc:[1,{cleverapps:t,cloudns:t,ftpaccess:t,"game-server":t,myphotos:t,scrapping:t,twmail:t,csx:t,fantasyleague:t,spawn:[0,{instances:t}]}],cd:u,cf:e,cg:e,ch:[1,{square7:t,cloudns:t,cloudscale:[0,{cust:t,lpg:y,rma:y}],objectstorage:[0,{lpg:t,rma:t}],flow:[0,{ae:[0,{alp1:t}],appengine:t}],"linkyard-cloud":t,gotdns:t,dnsking:t,"123website":t,myspreadshop:t,firenet:[0,{"*":t,svc:i}],"12hp":t,"2ix":t,"4lima":t,"lima-city":t}],ci:[1,{ac:e,"xn--aroport-bya":e,a\u00E9roport:e,asso:e,co:e,com:e,ed:e,edu:e,go:e,gouv:e,int:e,net:e,or:e,org:e}],ck:h,cl:[1,{co:e,gob:e,gov:e,mil:e,cloudns:t}],cm:[1,{co:e,com:e,gov:e,net:e}],cn:[1,{ac:e,com:[1,{amazonaws:[0,{"cn-north-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:x,s3:t,"s3-accesspoint":t,"s3-deprecated":t,"s3-object-lambda":t,"s3-website":t}],"cn-northwest-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:T,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t}],compute:i,airflow:[0,{"cn-north-1":i,"cn-northwest-1":i}],eb:[0,{"cn-north-1":t,"cn-northwest-1":t}],elb:i}],sagemaker:[0,{"cn-north-1":c,"cn-northwest-1":c}]}],edu:e,gov:e,mil:e,net:e,org:e,"xn--55qx5d":e,\u516C\u53F8:e,"xn--od0alg":e,\u7DB2\u7D61:e,"xn--io0a7i":e,\u7F51\u7EDC:e,ah:e,bj:e,cq:e,fj:e,gd:e,gs:e,gx:e,gz:e,ha:e,hb:e,he:e,hi:e,hk:e,hl:e,hn:e,jl:e,js:e,jx:e,ln:e,mo:e,nm:e,nx:e,qh:e,sc:e,sd:e,sh:[1,{as:t}],sn:e,sx:e,tj:e,tw:e,xj:e,xz:e,yn:e,zj:e,"canva-apps":t,canvasite:b,myqnapcloud:t,quickconnect:S}],co:[1,{com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e,carrd:t,crd:t,otap:i,leadpages:t,lpages:t,mypi:t,xmit:i,firewalledreplit:s,repl:s,supabase:t}],com:[1,{a2hosted:t,cpserver:t,adobeaemcloud:[2,{dev:i}],africa:t,airkitapps:t,"airkitapps-au":t,aivencloud:t,alibabacloudcs:t,kasserver:t,amazonaws:[0,{"af-south-1":M,"ap-east-1":P,"ap-northeast-1":B,"ap-northeast-2":B,"ap-northeast-3":M,"ap-south-1":B,"ap-south-2":O,"ap-southeast-1":B,"ap-southeast-2":B,"ap-southeast-3":O,"ap-southeast-4":O,"ap-southeast-5":[0,{"execute-api":t,dualstack:x,s3:t,"s3-accesspoint":t,"s3-deprecated":t,"s3-object-lambda":t,"s3-website":t}],"ca-central-1":_,"ca-west-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:R,s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t}],"eu-central-1":B,"eu-central-2":O,"eu-north-1":P,"eu-south-1":M,"eu-south-2":O,"eu-west-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:x,s3:t,"s3-accesspoint":t,"s3-deprecated":t,"s3-object-lambda":t,"s3-website":t,"analytics-gateway":t,"aws-cloud9":E,cloud9:A}],"eu-west-2":P,"eu-west-3":M,"il-central-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:x,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":E,cloud9:[0,{vfs:t}]}],"me-central-1":O,"me-south-1":P,"sa-east-1":M,"us-east-1":[2,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:R,s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-deprecated":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t,"analytics-gateway":t,"aws-cloud9":E,cloud9:A}],"us-east-2":F,"us-gov-east-1":D,"us-gov-west-1":D,"us-west-1":_,"us-west-2":F,compute:i,"compute-1":i,airflow:[0,{"af-south-1":i,"ap-east-1":i,"ap-northeast-1":i,"ap-northeast-2":i,"ap-northeast-3":i,"ap-south-1":i,"ap-south-2":i,"ap-southeast-1":i,"ap-southeast-2":i,"ap-southeast-3":i,"ap-southeast-4":i,"ca-central-1":i,"ca-west-1":i,"eu-central-1":i,"eu-central-2":i,"eu-north-1":i,"eu-south-1":i,"eu-south-2":i,"eu-west-1":i,"eu-west-2":i,"eu-west-3":i,"il-central-1":i,"me-central-1":i,"me-south-1":i,"sa-east-1":i,"us-east-1":i,"us-east-2":i,"us-west-1":i,"us-west-2":i}],s3:t,"s3-1":t,"s3-ap-east-1":t,"s3-ap-northeast-1":t,"s3-ap-northeast-2":t,"s3-ap-northeast-3":t,"s3-ap-south-1":t,"s3-ap-southeast-1":t,"s3-ap-southeast-2":t,"s3-ca-central-1":t,"s3-eu-central-1":t,"s3-eu-north-1":t,"s3-eu-west-1":t,"s3-eu-west-2":t,"s3-eu-west-3":t,"s3-external-1":t,"s3-fips-us-gov-east-1":t,"s3-fips-us-gov-west-1":t,"s3-global":[0,{accesspoint:[0,{mrap:t}]}],"s3-me-south-1":t,"s3-sa-east-1":t,"s3-us-east-2":t,"s3-us-gov-east-1":t,"s3-us-gov-west-1":t,"s3-us-west-1":t,"s3-us-west-2":t,"s3-website-ap-northeast-1":t,"s3-website-ap-southeast-1":t,"s3-website-ap-southeast-2":t,"s3-website-eu-west-1":t,"s3-website-sa-east-1":t,"s3-website-us-east-1":t,"s3-website-us-gov-west-1":t,"s3-website-us-west-1":t,"s3-website-us-west-2":t,elb:i}],amazoncognito:[0,{"af-south-1":w,"ap-east-1":w,"ap-northeast-1":w,"ap-northeast-2":w,"ap-northeast-3":w,"ap-south-1":w,"ap-south-2":w,"ap-southeast-1":w,"ap-southeast-2":w,"ap-southeast-3":w,"ap-southeast-4":w,"ap-southeast-5":w,"ca-central-1":w,"ca-west-1":w,"eu-central-1":w,"eu-central-2":w,"eu-north-1":w,"eu-south-1":w,"eu-south-2":w,"eu-west-1":w,"eu-west-2":w,"eu-west-3":w,"il-central-1":w,"me-central-1":w,"me-south-1":w,"sa-east-1":w,"us-east-1":N,"us-east-2":N,"us-gov-east-1":V,"us-gov-west-1":V,"us-west-1":N,"us-west-2":N}],amplifyapp:t,awsapprunner:i,awsapps:t,elasticbeanstalk:[2,{"af-south-1":t,"ap-east-1":t,"ap-northeast-1":t,"ap-northeast-2":t,"ap-northeast-3":t,"ap-south-1":t,"ap-southeast-1":t,"ap-southeast-2":t,"ap-southeast-3":t,"ca-central-1":t,"eu-central-1":t,"eu-north-1":t,"eu-south-1":t,"eu-west-1":t,"eu-west-2":t,"eu-west-3":t,"il-central-1":t,"me-south-1":t,"sa-east-1":t,"us-east-1":t,"us-east-2":t,"us-gov-east-1":t,"us-gov-west-1":t,"us-west-1":t,"us-west-2":t}],awsglobalaccelerator:t,siiites:t,appspacehosted:t,appspaceusercontent:t,"on-aptible":t,myasustor:t,"balena-devices":t,boutir:t,bplaced:t,cafjs:t,"canva-apps":t,"cdn77-storage":t,br:t,cn:t,de:t,eu:t,jpn:t,mex:t,ru:t,sa:t,uk:t,us:t,za:t,"clever-cloud":[0,{services:i}],dnsabr:t,"ip-ddns":t,jdevcloud:t,wpdevcloud:t,"cf-ipfs":t,"cloudflare-ipfs":t,trycloudflare:t,co:t,devinapps:i,builtwithdark:t,datadetect:[0,{demo:t,instance:t}],dattolocal:t,dattorelay:t,dattoweb:t,mydatto:t,digitaloceanspaces:i,discordsays:t,discordsez:t,drayddns:t,dreamhosters:t,durumis:t,mydrobo:t,blogdns:t,cechire:t,dnsalias:t,dnsdojo:t,doesntexist:t,dontexist:t,doomdns:t,"dyn-o-saur":t,dynalias:t,"dyndns-at-home":t,"dyndns-at-work":t,"dyndns-blog":t,"dyndns-free":t,"dyndns-home":t,"dyndns-ip":t,"dyndns-mail":t,"dyndns-office":t,"dyndns-pics":t,"dyndns-remote":t,"dyndns-server":t,"dyndns-web":t,"dyndns-wiki":t,"dyndns-work":t,"est-a-la-maison":t,"est-a-la-masion":t,"est-le-patron":t,"est-mon-blogueur":t,"from-ak":t,"from-al":t,"from-ar":t,"from-ca":t,"from-ct":t,"from-dc":t,"from-de":t,"from-fl":t,"from-ga":t,"from-hi":t,"from-ia":t,"from-id":t,"from-il":t,"from-in":t,"from-ks":t,"from-ky":t,"from-ma":t,"from-md":t,"from-mi":t,"from-mn":t,"from-mo":t,"from-ms":t,"from-mt":t,"from-nc":t,"from-nd":t,"from-ne":t,"from-nh":t,"from-nj":t,"from-nm":t,"from-nv":t,"from-oh":t,"from-ok":t,"from-or":t,"from-pa":t,"from-pr":t,"from-ri":t,"from-sc":t,"from-sd":t,"from-tn":t,"from-tx":t,"from-ut":t,"from-va":t,"from-vt":t,"from-wa":t,"from-wi":t,"from-wv":t,"from-wy":t,getmyip:t,gotdns:t,"hobby-site":t,homelinux:t,homeunix:t,iamallama:t,"is-a-anarchist":t,"is-a-blogger":t,"is-a-bookkeeper":t,"is-a-bulls-fan":t,"is-a-caterer":t,"is-a-chef":t,"is-a-conservative":t,"is-a-cpa":t,"is-a-cubicle-slave":t,"is-a-democrat":t,"is-a-designer":t,"is-a-doctor":t,"is-a-financialadvisor":t,"is-a-geek":t,"is-a-green":t,"is-a-guru":t,"is-a-hard-worker":t,"is-a-hunter":t,"is-a-landscaper":t,"is-a-lawyer":t,"is-a-liberal":t,"is-a-libertarian":t,"is-a-llama":t,"is-a-musician":t,"is-a-nascarfan":t,"is-a-nurse":t,"is-a-painter":t,"is-a-personaltrainer":t,"is-a-photographer":t,"is-a-player":t,"is-a-republican":t,"is-a-rockstar":t,"is-a-socialist":t,"is-a-student":t,"is-a-teacher":t,"is-a-techie":t,"is-a-therapist":t,"is-an-accountant":t,"is-an-actor":t,"is-an-actress":t,"is-an-anarchist":t,"is-an-artist":t,"is-an-engineer":t,"is-an-entertainer":t,"is-certified":t,"is-gone":t,"is-into-anime":t,"is-into-cars":t,"is-into-cartoons":t,"is-into-games":t,"is-leet":t,"is-not-certified":t,"is-slick":t,"is-uberleet":t,"is-with-theband":t,"isa-geek":t,"isa-hockeynut":t,issmarterthanyou:t,"likes-pie":t,likescandy:t,"neat-url":t,"saves-the-whales":t,selfip:t,"sells-for-less":t,"sells-for-u":t,servebbs:t,"simple-url":t,"space-to-rent":t,"teaches-yoga":t,writesthisblog:t,ddnsfree:t,ddnsgeek:t,giize:t,gleeze:t,kozow:t,loseyourip:t,ooguy:t,theworkpc:t,mytuleap:t,"tuleap-partners":t,encoreapi:t,evennode:[0,{"eu-1":t,"eu-2":t,"eu-3":t,"eu-4":t,"us-1":t,"us-2":t,"us-3":t,"us-4":t}],onfabrica:t,"fastly-edge":t,"fastly-terrarium":t,"fastvps-server":t,mydobiss:t,firebaseapp:t,fldrv:t,forgeblocks:t,framercanvas:t,"freebox-os":t,freeboxos:t,freemyip:t,aliases121:t,gentapps:t,gentlentapis:t,githubusercontent:t,"0emm":i,appspot:[2,{r:i}],blogspot:t,codespot:t,googleapis:t,googlecode:t,pagespeedmobilizer:t,withgoogle:t,withyoutube:t,grayjayleagues:t,hatenablog:t,hatenadiary:t,herokuapp:t,gr:t,smushcdn:t,wphostedmail:t,wpmucdn:t,pixolino:t,"apps-1and1":t,"live-website":t,dopaas:t,"hosted-by-previder":q,hosteur:[0,{"rag-cloud":t,"rag-cloud-ch":t}],"ik-server":[0,{jcloud:t,"jcloud-ver-jpc":t}],jelastic:[0,{demo:t}],massivegrid:q,wafaicloud:[0,{jed:t,ryd:t}],webadorsite:t,joyent:[0,{cns:i}],lpusercontent:t,linode:[0,{members:t,nodebalancer:i}],linodeobjects:i,linodeusercontent:[0,{ip:t}],localtonet:t,lovableproject:t,barsycenter:t,barsyonline:t,modelscape:t,mwcloudnonprod:t,polyspace:t,mazeplay:t,miniserver:t,atmeta:t,fbsbx:H,meteorapp:K,routingthecloud:t,mydbserver:t,hostedpi:t,"mythic-beasts":[0,{caracal:t,customer:t,fentiger:t,lynx:t,ocelot:t,oncilla:t,onza:t,sphinx:t,vs:t,x:t,yali:t}],nospamproxy:[0,{cloud:[2,{o365:t}]}],"4u":t,nfshost:t,"3utilities":t,blogsyte:t,ciscofreak:t,damnserver:t,ddnsking:t,ditchyourip:t,dnsiskinky:t,dynns:t,geekgalaxy:t,"health-carereform":t,homesecuritymac:t,homesecuritypc:t,myactivedirectory:t,mysecuritycamera:t,myvnc:t,"net-freaks":t,onthewifi:t,point2this:t,quicksytes:t,securitytactics:t,servebeer:t,servecounterstrike:t,serveexchange:t,serveftp:t,servegame:t,servehalflife:t,servehttp:t,servehumour:t,serveirc:t,servemp3:t,servep2p:t,servepics:t,servequake:t,servesarcasm:t,stufftoread:t,unusualperson:t,workisboring:t,myiphost:t,observableusercontent:[0,{static:t}],simplesite:t,orsites:t,operaunite:t,"customer-oci":[0,{"*":t,oci:i,ocp:i,ocs:i}],oraclecloudapps:i,oraclegovcloudapps:i,"authgear-staging":t,authgearapps:t,skygearapp:t,outsystemscloud:t,ownprovider:t,pgfog:t,pagexl:t,gotpantheon:t,paywhirl:i,upsunapp:t,"postman-echo":t,prgmr:[0,{xen:t}],pythonanywhere:K,qa2:t,"alpha-myqnapcloud":t,"dev-myqnapcloud":t,mycloudnas:t,mynascloud:t,myqnapcloud:t,qualifioapp:t,ladesk:t,qbuser:t,quipelements:i,rackmaze:t,"readthedocs-hosted":t,rhcloud:t,onrender:t,render:J,"subsc-pay":t,"180r":t,dojin:t,sakuratan:t,sakuraweb:t,x0:t,code:[0,{builder:i,"dev-builder":i,"stg-builder":i}],salesforce:[0,{platform:[0,{"code-builder-stg":[0,{test:[0,{"001":i}]}]}]}],logoip:t,scrysec:t,"firewall-gateway":t,myshopblocks:t,myshopify:t,shopitsite:t,"1kapp":t,appchizi:t,applinzi:t,sinaapp:t,vipsinaapp:t,streamlitapp:t,"try-snowplow":t,"playstation-cloud":t,myspreadshop:t,"w-corp-staticblitz":t,"w-credentialless-staticblitz":t,"w-staticblitz":t,"stackhero-network":t,stdlib:[0,{api:t}],strapiapp:[2,{media:t}],"streak-link":t,streaklinks:t,streakusercontent:t,"temp-dns":t,dsmynas:t,familyds:t,mytabit:t,taveusercontent:t,"tb-hosting":re,reservd:t,thingdustdata:t,"townnews-staging":t,typeform:[0,{pro:t}],hk:t,it:t,"deus-canvas":t,vultrobjects:i,wafflecell:t,hotelwithflight:t,"reserve-online":t,cprapid:t,pleskns:t,remotewd:t,wiardweb:[0,{pages:t}],wixsite:t,wixstudio:t,messwithdns:t,"woltlab-demo":t,wpenginepowered:[2,{js:t}],xnbay:[2,{u2:t,"u2-local":t}],yolasite:t}],coop:e,cr:[1,{ac:e,co:e,ed:e,fi:e,go:e,or:e,sa:e}],cu:[1,{com:e,edu:e,gob:e,inf:e,nat:e,net:e,org:e}],cv:[1,{com:e,edu:e,id:e,int:e,net:e,nome:e,org:e,publ:e}],cw:Q,cx:[1,{gov:e,cloudns:t,ath:t,info:t,assessments:t,calculators:t,funnels:t,paynow:t,quizzes:t,researched:t,tests:t}],cy:[1,{ac:e,biz:e,com:[1,{scaleforce:ie}],ekloges:e,gov:e,ltd:e,mil:e,net:e,org:e,press:e,pro:e,tm:e}],cz:[1,{contentproxy9:[0,{rsc:t}],realm:t,e4:t,co:t,metacentrum:[0,{cloud:i,custom:t}],muni:[0,{cloud:[0,{flt:t,usr:t}]}]}],de:[1,{bplaced:t,square7:t,com:t,cosidns:xe,dnsupdater:t,"dynamisches-dns":t,"internet-dns":t,"l-o-g-i-n":t,ddnss:[2,{dyn:t,dyndns:t}],"dyn-ip24":t,dyndns1:t,"home-webserver":[2,{dyn:t}],"myhome-server":t,dnshome:t,fuettertdasnetz:t,isteingeek:t,istmein:t,lebtimnetz:t,leitungsen:t,traeumtgerade:t,frusky:i,goip:t,"xn--gnstigbestellen-zvb":t,g\u00FCnstigbestellen:t,"xn--gnstigliefern-wob":t,g\u00FCnstigliefern:t,"hs-heilbronn":[0,{it:[0,{pages:t,"pages-research":t}]}],"dyn-berlin":t,"in-berlin":t,"in-brb":t,"in-butter":t,"in-dsl":t,"in-vpn":t,iservschule:t,"mein-iserv":t,schulplattform:t,schulserver:t,"test-iserv":t,keymachine:t,"git-repos":t,"lcube-server":t,"svn-repos":t,barsy:t,webspaceconfig:t,"123webseite":t,rub:t,"ruhr-uni-bochum":[2,{noc:[0,{io:t}]}],logoip:t,"firewall-gateway":t,"my-gateway":t,"my-router":t,spdns:t,speedpartner:[0,{customer:t}],myspreadshop:t,"taifun-dns":t,"12hp":t,"2ix":t,"4lima":t,"lima-city":t,"dd-dns":t,"dray-dns":t,draydns:t,"dyn-vpn":t,dynvpn:t,"mein-vigor":t,"my-vigor":t,"my-wan":t,"syno-ds":t,"synology-diskstation":t,"synology-ds":t,uberspace:i,"virtual-user":t,virtualuser:t,"community-pro":t,diskussionsbereich:t}],dj:e,dk:[1,{biz:t,co:t,firm:t,reg:t,store:t,"123hjemmeside":t,myspreadshop:t}],dm:be,do:[1,{art:e,com:e,edu:e,gob:e,gov:e,mil:e,net:e,org:e,sld:e,web:e}],dz:[1,{art:e,asso:e,com:e,edu:e,gov:e,net:e,org:e,pol:e,soc:e,tm:e}],ec:[1,{com:e,edu:e,fin:e,gob:e,gov:e,info:e,k12:e,med:e,mil:e,net:e,org:e,pro:e,base:t,official:t}],edu:[1,{rit:[0,{"git-pages":t}]}],ee:[1,{aip:e,com:e,edu:e,fie:e,gov:e,lib:e,med:e,org:e,pri:e,riik:e}],eg:[1,{ac:e,com:e,edu:e,eun:e,gov:e,info:e,me:e,mil:e,name:e,net:e,org:e,sci:e,sport:e,tv:e}],er:h,es:[1,{com:e,edu:e,gob:e,nom:e,org:e,"123miweb":t,myspreadshop:t}],et:[1,{biz:e,com:e,edu:e,gov:e,info:e,name:e,net:e,org:e}],eu:[1,{airkitapps:t,cloudns:t,dogado:[0,{jelastic:t}],barsy:t,spdns:t,transurl:i,diskstation:t}],fi:[1,{aland:e,dy:t,"xn--hkkinen-5wa":t,h\u00E4kkinen:t,iki:t,cloudplatform:[0,{fi:t}],datacenter:[0,{demo:t,paas:t}],kapsi:t,"123kotisivu":t,myspreadshop:t}],fj:[1,{ac:e,biz:e,com:e,gov:e,info:e,mil:e,name:e,net:e,org:e,pro:e}],fk:h,fm:[1,{com:e,edu:e,net:e,org:e,radio:t,user:i}],fo:e,fr:[1,{asso:e,com:e,gouv:e,nom:e,prd:e,tm:e,avoues:e,cci:e,greta:e,"huissier-justice":e,"en-root":t,"fbx-os":t,fbxos:t,"freebox-os":t,freeboxos:t,goupile:t,"123siteweb":t,"on-web":t,"chirurgiens-dentistes-en-france":t,dedibox:t,aeroport:t,avocat:t,chambagri:t,"chirurgiens-dentistes":t,"experts-comptables":t,medecin:t,notaires:t,pharmacien:t,port:t,veterinaire:t,myspreadshop:t,ynh:t}],ga:e,gb:e,gd:[1,{edu:e,gov:e}],ge:[1,{com:e,edu:e,gov:e,net:e,org:e,pvt:e,school:e}],gf:e,gg:[1,{co:e,net:e,org:e,botdash:t,kaas:t,stackit:t,panel:[2,{daemon:t}]}],gh:[1,{com:e,edu:e,gov:e,mil:e,org:e}],gi:[1,{com:e,edu:e,gov:e,ltd:e,mod:e,org:e}],gl:[1,{co:e,com:e,edu:e,net:e,org:e,biz:t}],gm:e,gn:[1,{ac:e,com:e,edu:e,gov:e,net:e,org:e}],gov:e,gp:[1,{asso:e,com:e,edu:e,mobi:e,net:e,org:e}],gq:e,gr:[1,{com:e,edu:e,gov:e,net:e,org:e,barsy:t,simplesite:t}],gs:e,gt:[1,{com:e,edu:e,gob:e,ind:e,mil:e,net:e,org:e}],gu:[1,{com:e,edu:e,gov:e,guam:e,info:e,net:e,org:e,web:e}],gw:e,gy:be,hk:[1,{com:e,edu:e,gov:e,idv:e,net:e,org:e,"xn--ciqpn":e,\u4E2A\u4EBA:e,"xn--gmqw5a":e,\u500B\u4EBA:e,"xn--55qx5d":e,\u516C\u53F8:e,"xn--mxtq1m":e,\u653F\u5E9C:e,"xn--lcvr32d":e,\u654E\u80B2:e,"xn--wcvs22d":e,\u6559\u80B2:e,"xn--gmq050i":e,\u7B87\u4EBA:e,"xn--uc0atv":e,\u7D44\u7E54:e,"xn--uc0ay4a":e,\u7D44\u7EC7:e,"xn--od0alg":e,\u7DB2\u7D61:e,"xn--zf0avx":e,\u7DB2\u7EDC:e,"xn--mk0axi":e,\u7EC4\u7E54:e,"xn--tn0ag":e,\u7EC4\u7EC7:e,"xn--od0aq3b":e,\u7F51\u7D61:e,"xn--io0a7i":e,\u7F51\u7EDC:e,inc:t,ltd:t}],hm:e,hn:[1,{com:e,edu:e,gob:e,mil:e,net:e,org:e}],hr:[1,{com:e,from:e,iz:e,name:e,brendly:ce}],ht:[1,{adult:e,art:e,asso:e,com:e,coop:e,edu:e,firm:e,gouv:e,info:e,med:e,net:e,org:e,perso:e,pol:e,pro:e,rel:e,shop:e,rt:t}],hu:[1,{2e3:e,agrar:e,bolt:e,casino:e,city:e,co:e,erotica:e,erotika:e,film:e,forum:e,games:e,hotel:e,info:e,ingatlan:e,jogasz:e,konyvelo:e,lakas:e,media:e,news:e,org:e,priv:e,reklam:e,sex:e,shop:e,sport:e,suli:e,szex:e,tm:e,tozsde:e,utazas:e,video:e}],id:[1,{ac:e,biz:e,co:e,desa:e,go:e,mil:e,my:e,net:e,or:e,ponpes:e,sch:e,web:e,zone:t}],ie:[1,{gov:e,myspreadshop:t}],il:[1,{ac:e,co:[1,{ravpage:t,mytabit:t,tabitorder:t}],gov:e,idf:e,k12:e,muni:e,net:e,org:e}],"xn--4dbrk0ce":[1,{"xn--4dbgdty6c":e,"xn--5dbhl8d":e,"xn--8dbq2a":e,"xn--hebda8b":e}],\u05D9\u05E9\u05E8\u05D0\u05DC:[1,{\u05D0\u05E7\u05D3\u05DE\u05D9\u05D4:e,\u05D9\u05E9\u05D5\u05D1:e,\u05E6\u05D4\u05DC:e,\u05DE\u05DE\u05E9\u05DC:e}],im:[1,{ac:e,co:[1,{ltd:e,plc:e}],com:e,net:e,org:e,tt:e,tv:e}],in:[1,{"5g":e,"6g":e,ac:e,ai:e,am:e,bihar:e,biz:e,business:e,ca:e,cn:e,co:e,com:e,coop:e,cs:e,delhi:e,dr:e,edu:e,er:e,firm:e,gen:e,gov:e,gujarat:e,ind:e,info:e,int:e,internet:e,io:e,me:e,mil:e,net:e,nic:e,org:e,pg:e,post:e,pro:e,res:e,travel:e,tv:e,uk:e,up:e,us:e,cloudns:t,barsy:t,web:t,supabase:t}],info:[1,{cloudns:t,"dynamic-dns":t,"barrel-of-knowledge":t,"barrell-of-knowledge":t,dyndns:t,"for-our":t,"groks-the":t,"groks-this":t,"here-for-more":t,knowsitall:t,selfip:t,webhop:t,barsy:t,mayfirst:t,mittwald:t,mittwaldserver:t,typo3server:t,dvrcam:t,ilovecollege:t,"no-ip":t,forumz:t,nsupdate:t,dnsupdate:t,"v-info":t}],int:[1,{eu:e}],io:[1,{2038:t,co:e,com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e,"on-acorn":i,myaddr:t,apigee:t,"b-data":t,beagleboard:t,bitbucket:t,bluebite:t,boxfuse:t,brave:a,browsersafetymark:t,bubble:pe,bubbleapps:t,bigv:[0,{uk0:t}],cleverapps:t,cloudbeesusercontent:t,dappnode:[0,{dyndns:t}],darklang:t,definima:t,dedyn:t,"fh-muenster":t,shw:t,forgerock:[0,{id:t}],github:t,gitlab:t,lolipop:t,"hasura-app":t,hostyhosting:t,hypernode:t,moonscale:i,beebyte:q,beebyteapp:[0,{sekd1:t}],jele:t,webthings:t,loginline:t,barsy:t,azurecontainer:i,ngrok:[2,{ap:t,au:t,eu:t,in:t,jp:t,sa:t,us:t}],nodeart:[0,{stage:t}],pantheonsite:t,pstmn:[2,{mock:t}],protonet:t,qcx:[2,{sys:i}],qoto:t,vaporcloud:t,myrdbx:t,"rb-hosting":re,"on-k3s":i,"on-rio":i,readthedocs:t,resindevice:t,resinstaging:[0,{devices:t}],hzc:t,sandcats:t,scrypted:[0,{client:t}],"mo-siemens":t,lair:H,stolos:i,musician:t,utwente:t,edugit:t,telebit:t,thingdust:[0,{dev:X,disrec:X,prod:Ae,testing:X}],tickets:t,webflow:t,webflowtest:t,editorx:t,wixstudio:t,basicserver:t,virtualserver:t}],iq:r,ir:[1,{ac:e,co:e,gov:e,id:e,net:e,org:e,sch:e,"xn--mgba3a4f16a":e,\u0627\u06CC\u0631\u0627\u0646:e,"xn--mgba3a4fra":e,\u0627\u064A\u0631\u0627\u0646:e,arvanedge:t}],is:e,it:[1,{edu:e,gov:e,abr:e,abruzzo:e,"aosta-valley":e,aostavalley:e,bas:e,basilicata:e,cal:e,calabria:e,cam:e,campania:e,"emilia-romagna":e,emiliaromagna:e,emr:e,"friuli-v-giulia":e,"friuli-ve-giulia":e,"friuli-vegiulia":e,"friuli-venezia-giulia":e,"friuli-veneziagiulia":e,"friuli-vgiulia":e,"friuliv-giulia":e,"friulive-giulia":e,friulivegiulia:e,"friulivenezia-giulia":e,friuliveneziagiulia:e,friulivgiulia:e,fvg:e,laz:e,lazio:e,lig:e,liguria:e,lom:e,lombardia:e,lombardy:e,lucania:e,mar:e,marche:e,mol:e,molise:e,piedmont:e,piemonte:e,pmn:e,pug:e,puglia:e,sar:e,sardegna:e,sardinia:e,sic:e,sicilia:e,sicily:e,taa:e,tos:e,toscana:e,"trentin-sud-tirol":e,"xn--trentin-sd-tirol-rzb":e,"trentin-s\xFCd-tirol":e,"trentin-sudtirol":e,"xn--trentin-sdtirol-7vb":e,"trentin-s\xFCdtirol":e,"trentin-sued-tirol":e,"trentin-suedtirol":e,trentino:e,"trentino-a-adige":e,"trentino-aadige":e,"trentino-alto-adige":e,"trentino-altoadige":e,"trentino-s-tirol":e,"trentino-stirol":e,"trentino-sud-tirol":e,"xn--trentino-sd-tirol-c3b":e,"trentino-s\xFCd-tirol":e,"trentino-sudtirol":e,"xn--trentino-sdtirol-szb":e,"trentino-s\xFCdtirol":e,"trentino-sued-tirol":e,"trentino-suedtirol":e,"trentinoa-adige":e,trentinoaadige:e,"trentinoalto-adige":e,trentinoaltoadige:e,"trentinos-tirol":e,trentinostirol:e,"trentinosud-tirol":e,"xn--trentinosd-tirol-rzb":e,"trentinos\xFCd-tirol":e,trentinosudtirol:e,"xn--trentinosdtirol-7vb":e,trentinos\u00FCdtirol:e,"trentinosued-tirol":e,trentinosuedtirol:e,"trentinsud-tirol":e,"xn--trentinsd-tirol-6vb":e,"trentins\xFCd-tirol":e,trentinsudtirol:e,"xn--trentinsdtirol-nsb":e,trentins\u00FCdtirol:e,"trentinsued-tirol":e,trentinsuedtirol:e,tuscany:e,umb:e,umbria:e,"val-d-aosta":e,"val-daosta":e,"vald-aosta":e,valdaosta:e,"valle-aosta":e,"valle-d-aosta":e,"valle-daosta":e,valleaosta:e,"valled-aosta":e,valledaosta:e,"vallee-aoste":e,"xn--valle-aoste-ebb":e,"vall\xE9e-aoste":e,"vallee-d-aoste":e,"xn--valle-d-aoste-ehb":e,"vall\xE9e-d-aoste":e,valleeaoste:e,"xn--valleaoste-e7a":e,vall\u00E9eaoste:e,valleedaoste:e,"xn--valledaoste-ebb":e,vall\u00E9edaoste:e,vao:e,vda:e,ven:e,veneto:e,ag:e,agrigento:e,al:e,alessandria:e,"alto-adige":e,altoadige:e,an:e,ancona:e,"andria-barletta-trani":e,"andria-trani-barletta":e,andriabarlettatrani:e,andriatranibarletta:e,ao:e,aosta:e,aoste:e,ap:e,aq:e,aquila:e,ar:e,arezzo:e,"ascoli-piceno":e,ascolipiceno:e,asti:e,at:e,av:e,avellino:e,ba:e,balsan:e,"balsan-sudtirol":e,"xn--balsan-sdtirol-nsb":e,"balsan-s\xFCdtirol":e,"balsan-suedtirol":e,bari:e,"barletta-trani-andria":e,barlettatraniandria:e,belluno:e,benevento:e,bergamo:e,bg:e,bi:e,biella:e,bl:e,bn:e,bo:e,bologna:e,bolzano:e,"bolzano-altoadige":e,bozen:e,"bozen-sudtirol":e,"xn--bozen-sdtirol-2ob":e,"bozen-s\xFCdtirol":e,"bozen-suedtirol":e,br:e,brescia:e,brindisi:e,bs:e,bt:e,bulsan:e,"bulsan-sudtirol":e,"xn--bulsan-sdtirol-nsb":e,"bulsan-s\xFCdtirol":e,"bulsan-suedtirol":e,bz:e,ca:e,cagliari:e,caltanissetta:e,"campidano-medio":e,campidanomedio:e,campobasso:e,"carbonia-iglesias":e,carboniaiglesias:e,"carrara-massa":e,carraramassa:e,caserta:e,catania:e,catanzaro:e,cb:e,ce:e,"cesena-forli":e,"xn--cesena-forl-mcb":e,"cesena-forl\xEC":e,cesenaforli:e,"xn--cesenaforl-i8a":e,cesenaforl\u00EC:e,ch:e,chieti:e,ci:e,cl:e,cn:e,co:e,como:e,cosenza:e,cr:e,cremona:e,crotone:e,cs:e,ct:e,cuneo:e,cz:e,"dell-ogliastra":e,dellogliastra:e,en:e,enna:e,fc:e,fe:e,fermo:e,ferrara:e,fg:e,fi:e,firenze:e,florence:e,fm:e,foggia:e,"forli-cesena":e,"xn--forl-cesena-fcb":e,"forl\xEC-cesena":e,forlicesena:e,"xn--forlcesena-c8a":e,forl\u00ECcesena:e,fr:e,frosinone:e,ge:e,genoa:e,genova:e,go:e,gorizia:e,gr:e,grosseto:e,"iglesias-carbonia":e,iglesiascarbonia:e,im:e,imperia:e,is:e,isernia:e,kr:e,"la-spezia":e,laquila:e,laspezia:e,latina:e,lc:e,le:e,lecce:e,lecco:e,li:e,livorno:e,lo:e,lodi:e,lt:e,lu:e,lucca:e,macerata:e,mantova:e,"massa-carrara":e,massacarrara:e,matera:e,mb:e,mc:e,me:e,"medio-campidano":e,mediocampidano:e,messina:e,mi:e,milan:e,milano:e,mn:e,mo:e,modena:e,monza:e,"monza-brianza":e,"monza-e-della-brianza":e,monzabrianza:e,monzaebrianza:e,monzaedellabrianza:e,ms:e,mt:e,na:e,naples:e,napoli:e,no:e,novara:e,nu:e,nuoro:e,og:e,ogliastra:e,"olbia-tempio":e,olbiatempio:e,or:e,oristano:e,ot:e,pa:e,padova:e,padua:e,palermo:e,parma:e,pavia:e,pc:e,pd:e,pe:e,perugia:e,"pesaro-urbino":e,pesarourbino:e,pescara:e,pg:e,pi:e,piacenza:e,pisa:e,pistoia:e,pn:e,po:e,pordenone:e,potenza:e,pr:e,prato:e,pt:e,pu:e,pv:e,pz:e,ra:e,ragusa:e,ravenna:e,rc:e,re:e,"reggio-calabria":e,"reggio-emilia":e,reggiocalabria:e,reggioemilia:e,rg:e,ri:e,rieti:e,rimini:e,rm:e,rn:e,ro:e,roma:e,rome:e,rovigo:e,sa:e,salerno:e,sassari:e,savona:e,si:e,siena:e,siracusa:e,so:e,sondrio:e,sp:e,sr:e,ss:e,"xn--sdtirol-n2a":e,s\u00FCdtirol:e,suedtirol:e,sv:e,ta:e,taranto:e,te:e,"tempio-olbia":e,tempioolbia:e,teramo:e,terni:e,tn:e,to:e,torino:e,tp:e,tr:e,"trani-andria-barletta":e,"trani-barletta-andria":e,traniandriabarletta:e,tranibarlettaandria:e,trapani:e,trento:e,treviso:e,trieste:e,ts:e,turin:e,tv:e,ud:e,udine:e,"urbino-pesaro":e,urbinopesaro:e,va:e,varese:e,vb:e,vc:e,ve:e,venezia:e,venice:e,verbania:e,vercelli:e,verona:e,vi:e,"vibo-valentia":e,vibovalentia:e,vicenza:e,viterbo:e,vr:e,vs:e,vt:e,vv:e,"12chars":t,ibxos:t,iliadboxos:t,neen:[0,{jc:t}],"123homepage":t,"16-b":t,"32-b":t,"64-b":t,myspreadshop:t,syncloud:t}],je:[1,{co:e,net:e,org:e,of:t}],jm:h,jo:[1,{agri:e,ai:e,com:e,edu:e,eng:e,fm:e,gov:e,mil:e,net:e,org:e,per:e,phd:e,sch:e,tv:e}],jobs:e,jp:[1,{ac:e,ad:e,co:e,ed:e,go:e,gr:e,lg:e,ne:[1,{aseinet:ue,gehirn:t,ivory:t,"mail-box":t,mints:t,mokuren:t,opal:t,sakura:t,sumomo:t,topaz:t}],or:e,aichi:[1,{aisai:e,ama:e,anjo:e,asuke:e,chiryu:e,chita:e,fuso:e,gamagori:e,handa:e,hazu:e,hekinan:e,higashiura:e,ichinomiya:e,inazawa:e,inuyama:e,isshiki:e,iwakura:e,kanie:e,kariya:e,kasugai:e,kira:e,kiyosu:e,komaki:e,konan:e,kota:e,mihama:e,miyoshi:e,nishio:e,nisshin:e,obu:e,oguchi:e,oharu:e,okazaki:e,owariasahi:e,seto:e,shikatsu:e,shinshiro:e,shitara:e,tahara:e,takahama:e,tobishima:e,toei:e,togo:e,tokai:e,tokoname:e,toyoake:e,toyohashi:e,toyokawa:e,toyone:e,toyota:e,tsushima:e,yatomi:e}],akita:[1,{akita:e,daisen:e,fujisato:e,gojome:e,hachirogata:e,happou:e,higashinaruse:e,honjo:e,honjyo:e,ikawa:e,kamikoani:e,kamioka:e,katagami:e,kazuno:e,kitaakita:e,kosaka:e,kyowa:e,misato:e,mitane:e,moriyoshi:e,nikaho:e,noshiro:e,odate:e,oga:e,ogata:e,semboku:e,yokote:e,yurihonjo:e}],aomori:[1,{aomori:e,gonohe:e,hachinohe:e,hashikami:e,hiranai:e,hirosaki:e,itayanagi:e,kuroishi:e,misawa:e,mutsu:e,nakadomari:e,noheji:e,oirase:e,owani:e,rokunohe:e,sannohe:e,shichinohe:e,shingo:e,takko:e,towada:e,tsugaru:e,tsuruta:e}],chiba:[1,{abiko:e,asahi:e,chonan:e,chosei:e,choshi:e,chuo:e,funabashi:e,futtsu:e,hanamigawa:e,ichihara:e,ichikawa:e,ichinomiya:e,inzai:e,isumi:e,kamagaya:e,kamogawa:e,kashiwa:e,katori:e,katsuura:e,kimitsu:e,kisarazu:e,kozaki:e,kujukuri:e,kyonan:e,matsudo:e,midori:e,mihama:e,minamiboso:e,mobara:e,mutsuzawa:e,nagara:e,nagareyama:e,narashino:e,narita:e,noda:e,oamishirasato:e,omigawa:e,onjuku:e,otaki:e,sakae:e,sakura:e,shimofusa:e,shirako:e,shiroi:e,shisui:e,sodegaura:e,sosa:e,tako:e,tateyama:e,togane:e,tohnosho:e,tomisato:e,urayasu:e,yachimata:e,yachiyo:e,yokaichiba:e,yokoshibahikari:e,yotsukaido:e}],ehime:[1,{ainan:e,honai:e,ikata:e,imabari:e,iyo:e,kamijima:e,kihoku:e,kumakogen:e,masaki:e,matsuno:e,matsuyama:e,namikata:e,niihama:e,ozu:e,saijo:e,seiyo:e,shikokuchuo:e,tobe:e,toon:e,uchiko:e,uwajima:e,yawatahama:e}],fukui:[1,{echizen:e,eiheiji:e,fukui:e,ikeda:e,katsuyama:e,mihama:e,minamiechizen:e,obama:e,ohi:e,ono:e,sabae:e,sakai:e,takahama:e,tsuruga:e,wakasa:e}],fukuoka:[1,{ashiya:e,buzen:e,chikugo:e,chikuho:e,chikujo:e,chikushino:e,chikuzen:e,chuo:e,dazaifu:e,fukuchi:e,hakata:e,higashi:e,hirokawa:e,hisayama:e,iizuka:e,inatsuki:e,kaho:e,kasuga:e,kasuya:e,kawara:e,keisen:e,koga:e,kurate:e,kurogi:e,kurume:e,minami:e,miyako:e,miyama:e,miyawaka:e,mizumaki:e,munakata:e,nakagawa:e,nakama:e,nishi:e,nogata:e,ogori:e,okagaki:e,okawa:e,oki:e,omuta:e,onga:e,onojo:e,oto:e,saigawa:e,sasaguri:e,shingu:e,shinyoshitomi:e,shonai:e,soeda:e,sue:e,tachiarai:e,tagawa:e,takata:e,toho:e,toyotsu:e,tsuiki:e,ukiha:e,umi:e,usui:e,yamada:e,yame:e,yanagawa:e,yukuhashi:e}],fukushima:[1,{aizubange:e,aizumisato:e,aizuwakamatsu:e,asakawa:e,bandai:e,date:e,fukushima:e,furudono:e,futaba:e,hanawa:e,higashi:e,hirata:e,hirono:e,iitate:e,inawashiro:e,ishikawa:e,iwaki:e,izumizaki:e,kagamiishi:e,kaneyama:e,kawamata:e,kitakata:e,kitashiobara:e,koori:e,koriyama:e,kunimi:e,miharu:e,mishima:e,namie:e,nango:e,nishiaizu:e,nishigo:e,okuma:e,omotego:e,ono:e,otama:e,samegawa:e,shimogo:e,shirakawa:e,showa:e,soma:e,sukagawa:e,taishin:e,tamakawa:e,tanagura:e,tenei:e,yabuki:e,yamato:e,yamatsuri:e,yanaizu:e,yugawa:e}],gifu:[1,{anpachi:e,ena:e,gifu:e,ginan:e,godo:e,gujo:e,hashima:e,hichiso:e,hida:e,higashishirakawa:e,ibigawa:e,ikeda:e,kakamigahara:e,kani:e,kasahara:e,kasamatsu:e,kawaue:e,kitagata:e,mino:e,minokamo:e,mitake:e,mizunami:e,motosu:e,nakatsugawa:e,ogaki:e,sakahogi:e,seki:e,sekigahara:e,shirakawa:e,tajimi:e,takayama:e,tarui:e,toki:e,tomika:e,wanouchi:e,yamagata:e,yaotsu:e,yoro:e}],gunma:[1,{annaka:e,chiyoda:e,fujioka:e,higashiagatsuma:e,isesaki:e,itakura:e,kanna:e,kanra:e,katashina:e,kawaba:e,kiryu:e,kusatsu:e,maebashi:e,meiwa:e,midori:e,minakami:e,naganohara:e,nakanojo:e,nanmoku:e,numata:e,oizumi:e,ora:e,ota:e,shibukawa:e,shimonita:e,shinto:e,showa:e,takasaki:e,takayama:e,tamamura:e,tatebayashi:e,tomioka:e,tsukiyono:e,tsumagoi:e,ueno:e,yoshioka:e}],hiroshima:[1,{asaminami:e,daiwa:e,etajima:e,fuchu:e,fukuyama:e,hatsukaichi:e,higashihiroshima:e,hongo:e,jinsekikogen:e,kaita:e,kui:e,kumano:e,kure:e,mihara:e,miyoshi:e,naka:e,onomichi:e,osakikamijima:e,otake:e,saka:e,sera:e,seranishi:e,shinichi:e,shobara:e,takehara:e}],hokkaido:[1,{abashiri:e,abira:e,aibetsu:e,akabira:e,akkeshi:e,asahikawa:e,ashibetsu:e,ashoro:e,assabu:e,atsuma:e,bibai:e,biei:e,bifuka:e,bihoro:e,biratori:e,chippubetsu:e,chitose:e,date:e,ebetsu:e,embetsu:e,eniwa:e,erimo:e,esan:e,esashi:e,fukagawa:e,fukushima:e,furano:e,furubira:e,haboro:e,hakodate:e,hamatonbetsu:e,hidaka:e,higashikagura:e,higashikawa:e,hiroo:e,hokuryu:e,hokuto:e,honbetsu:e,horokanai:e,horonobe:e,ikeda:e,imakane:e,ishikari:e,iwamizawa:e,iwanai:e,kamifurano:e,kamikawa:e,kamishihoro:e,kamisunagawa:e,kamoenai:e,kayabe:e,kembuchi:e,kikonai:e,kimobetsu:e,kitahiroshima:e,kitami:e,kiyosato:e,koshimizu:e,kunneppu:e,kuriyama:e,kuromatsunai:e,kushiro:e,kutchan:e,kyowa:e,mashike:e,matsumae:e,mikasa:e,minamifurano:e,mombetsu:e,moseushi:e,mukawa:e,muroran:e,naie:e,nakagawa:e,nakasatsunai:e,nakatombetsu:e,nanae:e,nanporo:e,nayoro:e,nemuro:e,niikappu:e,niki:e,nishiokoppe:e,noboribetsu:e,numata:e,obihiro:e,obira:e,oketo:e,okoppe:e,otaru:e,otobe:e,otofuke:e,otoineppu:e,oumu:e,ozora:e,pippu:e,rankoshi:e,rebun:e,rikubetsu:e,rishiri:e,rishirifuji:e,saroma:e,sarufutsu:e,shakotan:e,shari:e,shibecha:e,shibetsu:e,shikabe:e,shikaoi:e,shimamaki:e,shimizu:e,shimokawa:e,shinshinotsu:e,shintoku:e,shiranuka:e,shiraoi:e,shiriuchi:e,sobetsu:e,sunagawa:e,taiki:e,takasu:e,takikawa:e,takinoue:e,teshikaga:e,tobetsu:e,tohma:e,tomakomai:e,tomari:e,toya:e,toyako:e,toyotomi:e,toyoura:e,tsubetsu:e,tsukigata:e,urakawa:e,urausu:e,uryu:e,utashinai:e,wakkanai:e,wassamu:e,yakumo:e,yoichi:e}],hyogo:[1,{aioi:e,akashi:e,ako:e,amagasaki:e,aogaki:e,asago:e,ashiya:e,awaji:e,fukusaki:e,goshiki:e,harima:e,himeji:e,ichikawa:e,inagawa:e,itami:e,kakogawa:e,kamigori:e,kamikawa:e,kasai:e,kasuga:e,kawanishi:e,miki:e,minamiawaji:e,nishinomiya:e,nishiwaki:e,ono:e,sanda:e,sannan:e,sasayama:e,sayo:e,shingu:e,shinonsen:e,shiso:e,sumoto:e,taishi:e,taka:e,takarazuka:e,takasago:e,takino:e,tamba:e,tatsuno:e,toyooka:e,yabu:e,yashiro:e,yoka:e,yokawa:e}],ibaraki:[1,{ami:e,asahi:e,bando:e,chikusei:e,daigo:e,fujishiro:e,hitachi:e,hitachinaka:e,hitachiomiya:e,hitachiota:e,ibaraki:e,ina:e,inashiki:e,itako:e,iwama:e,joso:e,kamisu:e,kasama:e,kashima:e,kasumigaura:e,koga:e,miho:e,mito:e,moriya:e,naka:e,namegata:e,oarai:e,ogawa:e,omitama:e,ryugasaki:e,sakai:e,sakuragawa:e,shimodate:e,shimotsuma:e,shirosato:e,sowa:e,suifu:e,takahagi:e,tamatsukuri:e,tokai:e,tomobe:e,tone:e,toride:e,tsuchiura:e,tsukuba:e,uchihara:e,ushiku:e,yachiyo:e,yamagata:e,yawara:e,yuki:e}],ishikawa:[1,{anamizu:e,hakui:e,hakusan:e,kaga:e,kahoku:e,kanazawa:e,kawakita:e,komatsu:e,nakanoto:e,nanao:e,nomi:e,nonoichi:e,noto:e,shika:e,suzu:e,tsubata:e,tsurugi:e,uchinada:e,wajima:e}],iwate:[1,{fudai:e,fujisawa:e,hanamaki:e,hiraizumi:e,hirono:e,ichinohe:e,ichinoseki:e,iwaizumi:e,iwate:e,joboji:e,kamaishi:e,kanegasaki:e,karumai:e,kawai:e,kitakami:e,kuji:e,kunohe:e,kuzumaki:e,miyako:e,mizusawa:e,morioka:e,ninohe:e,noda:e,ofunato:e,oshu:e,otsuchi:e,rikuzentakata:e,shiwa:e,shizukuishi:e,sumita:e,tanohata:e,tono:e,yahaba:e,yamada:e}],kagawa:[1,{ayagawa:e,higashikagawa:e,kanonji:e,kotohira:e,manno:e,marugame:e,mitoyo:e,naoshima:e,sanuki:e,tadotsu:e,takamatsu:e,tonosho:e,uchinomi:e,utazu:e,zentsuji:e}],kagoshima:[1,{akune:e,amami:e,hioki:e,isa:e,isen:e,izumi:e,kagoshima:e,kanoya:e,kawanabe:e,kinko:e,kouyama:e,makurazaki:e,matsumoto:e,minamitane:e,nakatane:e,nishinoomote:e,satsumasendai:e,soo:e,tarumizu:e,yusui:e}],kanagawa:[1,{aikawa:e,atsugi:e,ayase:e,chigasaki:e,ebina:e,fujisawa:e,hadano:e,hakone:e,hiratsuka:e,isehara:e,kaisei:e,kamakura:e,kiyokawa:e,matsuda:e,minamiashigara:e,miura:e,nakai:e,ninomiya:e,odawara:e,oi:e,oiso:e,sagamihara:e,samukawa:e,tsukui:e,yamakita:e,yamato:e,yokosuka:e,yugawara:e,zama:e,zushi:e}],kochi:[1,{aki:e,geisei:e,hidaka:e,higashitsuno:e,ino:e,kagami:e,kami:e,kitagawa:e,kochi:e,mihara:e,motoyama:e,muroto:e,nahari:e,nakamura:e,nankoku:e,nishitosa:e,niyodogawa:e,ochi:e,okawa:e,otoyo:e,otsuki:e,sakawa:e,sukumo:e,susaki:e,tosa:e,tosashimizu:e,toyo:e,tsuno:e,umaji:e,yasuda:e,yusuhara:e}],kumamoto:[1,{amakusa:e,arao:e,aso:e,choyo:e,gyokuto:e,kamiamakusa:e,kikuchi:e,kumamoto:e,mashiki:e,mifune:e,minamata:e,minamioguni:e,nagasu:e,nishihara:e,oguni:e,ozu:e,sumoto:e,takamori:e,uki:e,uto:e,yamaga:e,yamato:e,yatsushiro:e}],kyoto:[1,{ayabe:e,fukuchiyama:e,higashiyama:e,ide:e,ine:e,joyo:e,kameoka:e,kamo:e,kita:e,kizu:e,kumiyama:e,kyotamba:e,kyotanabe:e,kyotango:e,maizuru:e,minami:e,minamiyamashiro:e,miyazu:e,muko:e,nagaokakyo:e,nakagyo:e,nantan:e,oyamazaki:e,sakyo:e,seika:e,tanabe:e,uji:e,ujitawara:e,wazuka:e,yamashina:e,yawata:e}],mie:[1,{asahi:e,inabe:e,ise:e,kameyama:e,kawagoe:e,kiho:e,kisosaki:e,kiwa:e,komono:e,kumano:e,kuwana:e,matsusaka:e,meiwa:e,mihama:e,minamiise:e,misugi:e,miyama:e,nabari:e,shima:e,suzuka:e,tado:e,taiki:e,taki:e,tamaki:e,toba:e,tsu:e,udono:e,ureshino:e,watarai:e,yokkaichi:e}],miyagi:[1,{furukawa:e,higashimatsushima:e,ishinomaki:e,iwanuma:e,kakuda:e,kami:e,kawasaki:e,marumori:e,matsushima:e,minamisanriku:e,misato:e,murata:e,natori:e,ogawara:e,ohira:e,onagawa:e,osaki:e,rifu:e,semine:e,shibata:e,shichikashuku:e,shikama:e,shiogama:e,shiroishi:e,tagajo:e,taiwa:e,tome:e,tomiya:e,wakuya:e,watari:e,yamamoto:e,zao:e}],miyazaki:[1,{aya:e,ebino:e,gokase:e,hyuga:e,kadogawa:e,kawaminami:e,kijo:e,kitagawa:e,kitakata:e,kitaura:e,kobayashi:e,kunitomi:e,kushima:e,mimata:e,miyakonojo:e,miyazaki:e,morotsuka:e,nichinan:e,nishimera:e,nobeoka:e,saito:e,shiiba:e,shintomi:e,takaharu:e,takanabe:e,takazaki:e,tsuno:e}],nagano:[1,{achi:e,agematsu:e,anan:e,aoki:e,asahi:e,azumino:e,chikuhoku:e,chikuma:e,chino:e,fujimi:e,hakuba:e,hara:e,hiraya:e,iida:e,iijima:e,iiyama:e,iizuna:e,ikeda:e,ikusaka:e,ina:e,karuizawa:e,kawakami:e,kiso:e,kisofukushima:e,kitaaiki:e,komagane:e,komoro:e,matsukawa:e,matsumoto:e,miasa:e,minamiaiki:e,minamimaki:e,minamiminowa:e,minowa:e,miyada:e,miyota:e,mochizuki:e,nagano:e,nagawa:e,nagiso:e,nakagawa:e,nakano:e,nozawaonsen:e,obuse:e,ogawa:e,okaya:e,omachi:e,omi:e,ookuwa:e,ooshika:e,otaki:e,otari:e,sakae:e,sakaki:e,saku:e,sakuho:e,shimosuwa:e,shinanomachi:e,shiojiri:e,suwa:e,suzaka:e,takagi:e,takamori:e,takayama:e,tateshina:e,tatsuno:e,togakushi:e,togura:e,tomi:e,ueda:e,wada:e,yamagata:e,yamanouchi:e,yasaka:e,yasuoka:e}],nagasaki:[1,{chijiwa:e,futsu:e,goto:e,hasami:e,hirado:e,iki:e,isahaya:e,kawatana:e,kuchinotsu:e,matsuura:e,nagasaki:e,obama:e,omura:e,oseto:e,saikai:e,sasebo:e,seihi:e,shimabara:e,shinkamigoto:e,togitsu:e,tsushima:e,unzen:e}],nara:[1,{ando:e,gose:e,heguri:e,higashiyoshino:e,ikaruga:e,ikoma:e,kamikitayama:e,kanmaki:e,kashiba:e,kashihara:e,katsuragi:e,kawai:e,kawakami:e,kawanishi:e,koryo:e,kurotaki:e,mitsue:e,miyake:e,nara:e,nosegawa:e,oji:e,ouda:e,oyodo:e,sakurai:e,sango:e,shimoichi:e,shimokitayama:e,shinjo:e,soni:e,takatori:e,tawaramoto:e,tenkawa:e,tenri:e,uda:e,yamatokoriyama:e,yamatotakada:e,yamazoe:e,yoshino:e}],niigata:[1,{aga:e,agano:e,gosen:e,itoigawa:e,izumozaki:e,joetsu:e,kamo:e,kariwa:e,kashiwazaki:e,minamiuonuma:e,mitsuke:e,muika:e,murakami:e,myoko:e,nagaoka:e,niigata:e,ojiya:e,omi:e,sado:e,sanjo:e,seiro:e,seirou:e,sekikawa:e,shibata:e,tagami:e,tainai:e,tochio:e,tokamachi:e,tsubame:e,tsunan:e,uonuma:e,yahiko:e,yoita:e,yuzawa:e}],oita:[1,{beppu:e,bungoono:e,bungotakada:e,hasama:e,hiji:e,himeshima:e,hita:e,kamitsue:e,kokonoe:e,kuju:e,kunisaki:e,kusu:e,oita:e,saiki:e,taketa:e,tsukumi:e,usa:e,usuki:e,yufu:e}],okayama:[1,{akaiwa:e,asakuchi:e,bizen:e,hayashima:e,ibara:e,kagamino:e,kasaoka:e,kibichuo:e,kumenan:e,kurashiki:e,maniwa:e,misaki:e,nagi:e,niimi:e,nishiawakura:e,okayama:e,satosho:e,setouchi:e,shinjo:e,shoo:e,soja:e,takahashi:e,tamano:e,tsuyama:e,wake:e,yakage:e}],okinawa:[1,{aguni:e,ginowan:e,ginoza:e,gushikami:e,haebaru:e,higashi:e,hirara:e,iheya:e,ishigaki:e,ishikawa:e,itoman:e,izena:e,kadena:e,kin:e,kitadaito:e,kitanakagusuku:e,kumejima:e,kunigami:e,minamidaito:e,motobu:e,nago:e,naha:e,nakagusuku:e,nakijin:e,nanjo:e,nishihara:e,ogimi:e,okinawa:e,onna:e,shimoji:e,taketomi:e,tarama:e,tokashiki:e,tomigusuku:e,tonaki:e,urasoe:e,uruma:e,yaese:e,yomitan:e,yonabaru:e,yonaguni:e,zamami:e}],osaka:[1,{abeno:e,chihayaakasaka:e,chuo:e,daito:e,fujiidera:e,habikino:e,hannan:e,higashiosaka:e,higashisumiyoshi:e,higashiyodogawa:e,hirakata:e,ibaraki:e,ikeda:e,izumi:e,izumiotsu:e,izumisano:e,kadoma:e,kaizuka:e,kanan:e,kashiwara:e,katano:e,kawachinagano:e,kishiwada:e,kita:e,kumatori:e,matsubara:e,minato:e,minoh:e,misaki:e,moriguchi:e,neyagawa:e,nishi:e,nose:e,osakasayama:e,sakai:e,sayama:e,sennan:e,settsu:e,shijonawate:e,shimamoto:e,suita:e,tadaoka:e,taishi:e,tajiri:e,takaishi:e,takatsuki:e,tondabayashi:e,toyonaka:e,toyono:e,yao:e}],saga:[1,{ariake:e,arita:e,fukudomi:e,genkai:e,hamatama:e,hizen:e,imari:e,kamimine:e,kanzaki:e,karatsu:e,kashima:e,kitagata:e,kitahata:e,kiyama:e,kouhoku:e,kyuragi:e,nishiarita:e,ogi:e,omachi:e,ouchi:e,saga:e,shiroishi:e,taku:e,tara:e,tosu:e,yoshinogari:e}],saitama:[1,{arakawa:e,asaka:e,chichibu:e,fujimi:e,fujimino:e,fukaya:e,hanno:e,hanyu:e,hasuda:e,hatogaya:e,hatoyama:e,hidaka:e,higashichichibu:e,higashimatsuyama:e,honjo:e,ina:e,iruma:e,iwatsuki:e,kamiizumi:e,kamikawa:e,kamisato:e,kasukabe:e,kawagoe:e,kawaguchi:e,kawajima:e,kazo:e,kitamoto:e,koshigaya:e,kounosu:e,kuki:e,kumagaya:e,matsubushi:e,minano:e,misato:e,miyashiro:e,miyoshi:e,moroyama:e,nagatoro:e,namegawa:e,niiza:e,ogano:e,ogawa:e,ogose:e,okegawa:e,omiya:e,otaki:e,ranzan:e,ryokami:e,saitama:e,sakado:e,satte:e,sayama:e,shiki:e,shiraoka:e,soka:e,sugito:e,toda:e,tokigawa:e,tokorozawa:e,tsurugashima:e,urawa:e,warabi:e,yashio:e,yokoze:e,yono:e,yorii:e,yoshida:e,yoshikawa:e,yoshimi:e}],shiga:[1,{aisho:e,gamo:e,higashiomi:e,hikone:e,koka:e,konan:e,kosei:e,koto:e,kusatsu:e,maibara:e,moriyama:e,nagahama:e,nishiazai:e,notogawa:e,omihachiman:e,otsu:e,ritto:e,ryuoh:e,takashima:e,takatsuki:e,torahime:e,toyosato:e,yasu:e}],shimane:[1,{akagi:e,ama:e,gotsu:e,hamada:e,higashiizumo:e,hikawa:e,hikimi:e,izumo:e,kakinoki:e,masuda:e,matsue:e,misato:e,nishinoshima:e,ohda:e,okinoshima:e,okuizumo:e,shimane:e,tamayu:e,tsuwano:e,unnan:e,yakumo:e,yasugi:e,yatsuka:e}],shizuoka:[1,{arai:e,atami:e,fuji:e,fujieda:e,fujikawa:e,fujinomiya:e,fukuroi:e,gotemba:e,haibara:e,hamamatsu:e,higashiizu:e,ito:e,iwata:e,izu:e,izunokuni:e,kakegawa:e,kannami:e,kawanehon:e,kawazu:e,kikugawa:e,kosai:e,makinohara:e,matsuzaki:e,minamiizu:e,mishima:e,morimachi:e,nishiizu:e,numazu:e,omaezaki:e,shimada:e,shimizu:e,shimoda:e,shizuoka:e,susono:e,yaizu:e,yoshida:e}],tochigi:[1,{ashikaga:e,bato:e,haga:e,ichikai:e,iwafune:e,kaminokawa:e,kanuma:e,karasuyama:e,kuroiso:e,mashiko:e,mibu:e,moka:e,motegi:e,nasu:e,nasushiobara:e,nikko:e,nishikata:e,nogi:e,ohira:e,ohtawara:e,oyama:e,sakura:e,sano:e,shimotsuke:e,shioya:e,takanezawa:e,tochigi:e,tsuga:e,ujiie:e,utsunomiya:e,yaita:e}],tokushima:[1,{aizumi:e,anan:e,ichiba:e,itano:e,kainan:e,komatsushima:e,matsushige:e,mima:e,minami:e,miyoshi:e,mugi:e,nakagawa:e,naruto:e,sanagochi:e,shishikui:e,tokushima:e,wajiki:e}],tokyo:[1,{adachi:e,akiruno:e,akishima:e,aogashima:e,arakawa:e,bunkyo:e,chiyoda:e,chofu:e,chuo:e,edogawa:e,fuchu:e,fussa:e,hachijo:e,hachioji:e,hamura:e,higashikurume:e,higashimurayama:e,higashiyamato:e,hino:e,hinode:e,hinohara:e,inagi:e,itabashi:e,katsushika:e,kita:e,kiyose:e,kodaira:e,koganei:e,kokubunji:e,komae:e,koto:e,kouzushima:e,kunitachi:e,machida:e,meguro:e,minato:e,mitaka:e,mizuho:e,musashimurayama:e,musashino:e,nakano:e,nerima:e,ogasawara:e,okutama:e,ome:e,oshima:e,ota:e,setagaya:e,shibuya:e,shinagawa:e,shinjuku:e,suginami:e,sumida:e,tachikawa:e,taito:e,tama:e,toshima:e}],tottori:[1,{chizu:e,hino:e,kawahara:e,koge:e,kotoura:e,misasa:e,nanbu:e,nichinan:e,sakaiminato:e,tottori:e,wakasa:e,yazu:e,yonago:e}],toyama:[1,{asahi:e,fuchu:e,fukumitsu:e,funahashi:e,himi:e,imizu:e,inami:e,johana:e,kamiichi:e,kurobe:e,nakaniikawa:e,namerikawa:e,nanto:e,nyuzen:e,oyabe:e,taira:e,takaoka:e,tateyama:e,toga:e,tonami:e,toyama:e,unazuki:e,uozu:e,yamada:e}],wakayama:[1,{arida:e,aridagawa:e,gobo:e,hashimoto:e,hidaka:e,hirogawa:e,inami:e,iwade:e,kainan:e,kamitonda:e,katsuragi:e,kimino:e,kinokawa:e,kitayama:e,koya:e,koza:e,kozagawa:e,kudoyama:e,kushimoto:e,mihama:e,misato:e,nachikatsuura:e,shingu:e,shirahama:e,taiji:e,tanabe:e,wakayama:e,yuasa:e,yura:e}],yamagata:[1,{asahi:e,funagata:e,higashine:e,iide:e,kahoku:e,kaminoyama:e,kaneyama:e,kawanishi:e,mamurogawa:e,mikawa:e,murayama:e,nagai:e,nakayama:e,nanyo:e,nishikawa:e,obanazawa:e,oe:e,oguni:e,ohkura:e,oishida:e,sagae:e,sakata:e,sakegawa:e,shinjo:e,shirataka:e,shonai:e,takahata:e,tendo:e,tozawa:e,tsuruoka:e,yamagata:e,yamanobe:e,yonezawa:e,yuza:e}],yamaguchi:[1,{abu:e,hagi:e,hikari:e,hofu:e,iwakuni:e,kudamatsu:e,mitou:e,nagato:e,oshima:e,shimonoseki:e,shunan:e,tabuse:e,tokuyama:e,toyota:e,ube:e,yuu:e}],yamanashi:[1,{chuo:e,doshi:e,fuefuki:e,fujikawa:e,fujikawaguchiko:e,fujiyoshida:e,hayakawa:e,hokuto:e,ichikawamisato:e,kai:e,kofu:e,koshu:e,kosuge:e,"minami-alps":e,minobu:e,nakamichi:e,nanbu:e,narusawa:e,nirasaki:e,nishikatsura:e,oshino:e,otsuki:e,showa:e,tabayama:e,tsuru:e,uenohara:e,yamanakako:e,yamanashi:e}],"xn--ehqz56n":e,\u4E09\u91CD:e,"xn--1lqs03n":e,\u4EAC\u90FD:e,"xn--qqqt11m":e,\u4F50\u8CC0:e,"xn--f6qx53a":e,\u5175\u5EAB:e,"xn--djrs72d6uy":e,\u5317\u6D77\u9053:e,"xn--mkru45i":e,\u5343\u8449:e,"xn--0trq7p7nn":e,\u548C\u6B4C\u5C71:e,"xn--5js045d":e,\u57FC\u7389:e,"xn--kbrq7o":e,\u5927\u5206:e,"xn--pssu33l":e,\u5927\u962A:e,"xn--ntsq17g":e,\u5948\u826F:e,"xn--uisz3g":e,\u5BAE\u57CE:e,"xn--6btw5a":e,\u5BAE\u5D0E:e,"xn--1ctwo":e,\u5BCC\u5C71:e,"xn--6orx2r":e,\u5C71\u53E3:e,"xn--rht61e":e,\u5C71\u5F62:e,"xn--rht27z":e,\u5C71\u68A8:e,"xn--nit225k":e,\u5C90\u961C:e,"xn--rht3d":e,\u5CA1\u5C71:e,"xn--djty4k":e,\u5CA9\u624B:e,"xn--klty5x":e,\u5CF6\u6839:e,"xn--kltx9a":e,\u5E83\u5CF6:e,"xn--kltp7d":e,\u5FB3\u5CF6:e,"xn--c3s14m":e,\u611B\u5A9B:e,"xn--vgu402c":e,\u611B\u77E5:e,"xn--efvn9s":e,\u65B0\u6F5F:e,"xn--1lqs71d":e,\u6771\u4EAC:e,"xn--4pvxs":e,\u6803\u6728:e,"xn--uuwu58a":e,\u6C96\u7E04:e,"xn--zbx025d":e,\u6ECB\u8CC0:e,"xn--8pvr4u":e,\u718A\u672C:e,"xn--5rtp49c":e,\u77F3\u5DDD:e,"xn--ntso0iqx3a":e,\u795E\u5948\u5DDD:e,"xn--elqq16h":e,\u798F\u4E95:e,"xn--4it168d":e,\u798F\u5CA1:e,"xn--klt787d":e,\u798F\u5CF6:e,"xn--rny31h":e,\u79CB\u7530:e,"xn--7t0a264c":e,\u7FA4\u99AC:e,"xn--uist22h":e,\u8328\u57CE:e,"xn--8ltr62k":e,\u9577\u5D0E:e,"xn--2m4a15e":e,\u9577\u91CE:e,"xn--32vp30h":e,\u9752\u68EE:e,"xn--4it797k":e,\u9759\u5CA1:e,"xn--5rtq34k":e,\u9999\u5DDD:e,"xn--k7yn95e":e,\u9AD8\u77E5:e,"xn--tor131o":e,\u9CE5\u53D6:e,"xn--d5qv7z876c":e,\u9E7F\u5150\u5CF6:e,kawasaki:h,kitakyushu:h,kobe:h,nagoya:h,sapporo:h,sendai:h,yokohama:h,buyshop:t,fashionstore:t,handcrafted:t,kawaiishop:t,supersale:t,theshop:t,"0am":t,"0g0":t,"0j0":t,"0t0":t,mydns:t,pgw:t,wjg:t,usercontent:t,angry:t,babyblue:t,babymilk:t,backdrop:t,bambina:t,bitter:t,blush:t,boo:t,boy:t,boyfriend:t,but:t,candypop:t,capoo:t,catfood:t,cheap:t,chicappa:t,chillout:t,chips:t,chowder:t,chu:t,ciao:t,cocotte:t,coolblog:t,cranky:t,cutegirl:t,daa:t,deca:t,deci:t,digick:t,egoism:t,fakefur:t,fem:t,flier:t,floppy:t,fool:t,frenchkiss:t,girlfriend:t,girly:t,gloomy:t,gonna:t,greater:t,hacca:t,heavy:t,her:t,hiho:t,hippy:t,holy:t,hungry:t,icurus:t,itigo:t,jellybean:t,kikirara:t,kill:t,kilo:t,kuron:t,littlestar:t,lolipopmc:t,lolitapunk:t,lomo:t,lovepop:t,lovesick:t,main:t,mods:t,mond:t,mongolian:t,moo:t,namaste:t,nikita:t,nobushi:t,noor:t,oops:t,parallel:t,parasite:t,pecori:t,peewee:t,penne:t,pepper:t,perma:t,pigboat:t,pinoko:t,punyu:t,pupu:t,pussycat:t,pya:t,raindrop:t,readymade:t,sadist:t,schoolbus:t,secret:t,staba:t,stripper:t,sub:t,sunnyday:t,thick:t,tonkotsu:t,under:t,upper:t,velvet:t,verse:t,versus:t,vivian:t,watson:t,weblike:t,whitesnow:t,zombie:t,hateblo:t,hatenablog:t,hatenadiary:t,"2-d":t,bona:t,crap:t,daynight:t,eek:t,flop:t,halfmoon:t,jeez:t,matrix:t,mimoza:t,netgamers:t,nyanta:t,o0o0:t,rdy:t,rgr:t,rulez:t,sakurastorage:[0,{isk01:fe,isk02:fe}],saloon:t,sblo:t,skr:t,tank:t,"uh-oh":t,undo:t,webaccel:[0,{rs:t,user:t}],websozai:t,xii:t}],ke:[1,{ac:e,co:e,go:e,info:e,me:e,mobi:e,ne:e,or:e,sc:e}],kg:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,us:t}],kh:h,ki:ne,km:[1,{ass:e,com:e,edu:e,gov:e,mil:e,nom:e,org:e,prd:e,tm:e,asso:e,coop:e,gouv:e,medecin:e,notaires:e,pharmaciens:e,presse:e,veterinaire:e}],kn:[1,{edu:e,gov:e,net:e,org:e}],kp:[1,{com:e,edu:e,gov:e,org:e,rep:e,tra:e}],kr:[1,{ac:e,ai:e,co:e,es:e,go:e,hs:e,io:e,it:e,kg:e,me:e,mil:e,ms:e,ne:e,or:e,pe:e,re:e,sc:e,busan:e,chungbuk:e,chungnam:e,daegu:e,daejeon:e,gangwon:e,gwangju:e,gyeongbuk:e,gyeonggi:e,gyeongnam:e,incheon:e,jeju:e,jeonbuk:e,jeonnam:e,seoul:e,ulsan:e,c01:t,"eliv-dns":t}],kw:[1,{com:e,edu:e,emb:e,gov:e,ind:e,net:e,org:e}],ky:Q,kz:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,jcloud:t}],la:[1,{com:e,edu:e,gov:e,info:e,int:e,net:e,org:e,per:e,bnr:t}],lb:n,lc:[1,{co:e,com:e,edu:e,gov:e,net:e,org:e,oy:t}],li:e,lk:[1,{ac:e,assn:e,com:e,edu:e,gov:e,grp:e,hotel:e,int:e,ltd:e,net:e,ngo:e,org:e,sch:e,soc:e,web:e}],lr:n,ls:[1,{ac:e,biz:e,co:e,edu:e,gov:e,info:e,net:e,org:e,sc:e}],lt:u,lu:[1,{"123website":t}],lv:[1,{asn:e,com:e,conf:e,edu:e,gov:e,id:e,mil:e,net:e,org:e}],ly:[1,{com:e,edu:e,gov:e,id:e,med:e,net:e,org:e,plc:e,sch:e}],ma:[1,{ac:e,co:e,gov:e,net:e,org:e,press:e}],mc:[1,{asso:e,tm:e}],md:[1,{ir:t}],me:[1,{ac:e,co:e,edu:e,gov:e,its:e,net:e,org:e,priv:e,c66:t,craft:t,edgestack:t,filegear:t,glitch:t,"filegear-sg":t,lohmus:t,barsy:t,mcdir:t,brasilia:t,ddns:t,dnsfor:t,hopto:t,loginto:t,noip:t,webhop:t,soundcast:t,tcp4:t,vp4:t,diskstation:t,dscloud:t,i234:t,myds:t,synology:t,transip:re,nohost:t}],mg:[1,{co:e,com:e,edu:e,gov:e,mil:e,nom:e,org:e,prd:e}],mh:e,mil:e,mk:[1,{com:e,edu:e,gov:e,inf:e,name:e,net:e,org:e}],ml:[1,{ac:e,art:e,asso:e,com:e,edu:e,gouv:e,gov:e,info:e,inst:e,net:e,org:e,pr:e,presse:e}],mm:h,mn:[1,{edu:e,gov:e,org:e,nyc:t}],mo:n,mobi:[1,{barsy:t,dscloud:t}],mp:[1,{ju:t}],mq:e,mr:u,ms:[1,{com:e,edu:e,gov:e,net:e,org:e,minisite:t}],mt:Q,mu:[1,{ac:e,co:e,com:e,gov:e,net:e,or:e,org:e}],museum:e,mv:[1,{aero:e,biz:e,com:e,coop:e,edu:e,gov:e,info:e,int:e,mil:e,museum:e,name:e,net:e,org:e,pro:e}],mw:[1,{ac:e,biz:e,co:e,com:e,coop:e,edu:e,gov:e,int:e,net:e,org:e}],mx:[1,{com:e,edu:e,gob:e,net:e,org:e}],my:[1,{biz:e,com:e,edu:e,gov:e,mil:e,name:e,net:e,org:e}],mz:[1,{ac:e,adv:e,co:e,edu:e,gov:e,mil:e,net:e,org:e}],na:[1,{alt:e,co:e,com:e,gov:e,net:e,org:e}],name:[1,{her:He,his:He}],nc:[1,{asso:e,nom:e}],ne:e,net:[1,{adobeaemcloud:t,"adobeio-static":t,adobeioruntime:t,akadns:t,akamai:t,"akamai-staging":t,akamaiedge:t,"akamaiedge-staging":t,akamaihd:t,"akamaihd-staging":t,akamaiorigin:t,"akamaiorigin-staging":t,akamaized:t,"akamaized-staging":t,edgekey:t,"edgekey-staging":t,edgesuite:t,"edgesuite-staging":t,alwaysdata:t,myamaze:t,cloudfront:t,appudo:t,"atlassian-dev":[0,{prod:pe}],myfritz:t,onavstack:t,shopselect:t,blackbaudcdn:t,boomla:t,bplaced:t,square7:t,cdn77:[0,{r:t}],"cdn77-ssl":t,gb:t,hu:t,jp:t,se:t,uk:t,clickrising:t,"ddns-ip":t,"dns-cloud":t,"dns-dynamic":t,cloudaccess:t,cloudflare:[2,{cdn:t}],cloudflareanycast:pe,cloudflarecn:pe,cloudflareglobal:pe,ctfcloud:t,"feste-ip":t,"knx-server":t,"static-access":t,cryptonomic:i,dattolocal:t,mydatto:t,debian:t,definima:t,deno:t,"at-band-camp":t,blogdns:t,"broke-it":t,buyshouses:t,dnsalias:t,dnsdojo:t,"does-it":t,dontexist:t,dynalias:t,dynathome:t,endofinternet:t,"from-az":t,"from-co":t,"from-la":t,"from-ny":t,"gets-it":t,"ham-radio-op":t,homeftp:t,homeip:t,homelinux:t,homeunix:t,"in-the-band":t,"is-a-chef":t,"is-a-geek":t,"isa-geek":t,"kicks-ass":t,"office-on-the":t,podzone:t,"scrapper-site":t,selfip:t,"sells-it":t,servebbs:t,serveftp:t,thruhere:t,webhop:t,casacam:t,dynu:t,dynv6:t,twmail:t,ru:t,channelsdvr:[2,{u:t}],fastly:[0,{freetls:t,map:t,prod:[0,{a:t,global:t}],ssl:[0,{a:t,b:t,global:t}]}],fastlylb:[2,{map:t}],edgeapp:t,"keyword-on":t,"live-on":t,"server-on":t,"cdn-edges":t,heteml:t,cloudfunctions:t,"grafana-dev":t,iobb:t,moonscale:t,"in-dsl":t,"in-vpn":t,oninferno:t,botdash:t,"apps-1and1":t,ipifony:t,cloudjiffy:[2,{"fra1-de":t,"west1-us":t}],elastx:[0,{"jls-sto1":t,"jls-sto2":t,"jls-sto3":t}],massivegrid:[0,{paas:[0,{"fr-1":t,"lon-1":t,"lon-2":t,"ny-1":t,"ny-2":t,"sg-1":t}]}],saveincloud:[0,{jelastic:t,"nordeste-idc":t}],scaleforce:ie,kinghost:t,uni5:t,krellian:t,ggff:t,localcert:t,localhostcert:t,localto:i,barsy:t,luyani:t,memset:t,"azure-api":t,"azure-mobile":t,azureedge:t,azurefd:t,azurestaticapps:[2,{1:t,2:t,3:t,4:t,5:t,6:t,7:t,centralus:t,eastasia:t,eastus2:t,westeurope:t,westus2:t}],azurewebsites:t,cloudapp:t,trafficmanager:t,windows:[0,{core:[0,{blob:t}],servicebus:t}],mynetname:[0,{sn:t}],routingthecloud:t,bounceme:t,ddns:t,"eating-organic":t,mydissent:t,myeffect:t,mymediapc:t,mypsx:t,mysecuritycamera:t,nhlfan:t,"no-ip":t,pgafan:t,privatizehealthinsurance:t,redirectme:t,serveblog:t,serveminecraft:t,sytes:t,dnsup:t,hicam:t,"now-dns":t,ownip:t,vpndns:t,cloudycluster:t,ovh:[0,{hosting:i,webpaas:i}],rackmaze:t,myradweb:t,in:t,"subsc-pay":t,squares:t,schokokeks:t,"firewall-gateway":t,seidat:t,senseering:t,siteleaf:t,mafelo:t,myspreadshop:t,"vps-host":[2,{jelastic:[0,{atl:t,njs:t,ric:t}]}],srcf:[0,{soc:t,user:t}],supabase:t,dsmynas:t,familyds:t,ts:[2,{c:i}],torproject:[2,{pages:t}],vusercontent:t,"reserve-online":t,"community-pro":t,meinforum:t,yandexcloud:[2,{storage:t,website:t}],za:t}],nf:[1,{arts:e,com:e,firm:e,info:e,net:e,other:e,per:e,rec:e,store:e,web:e}],ng:[1,{com:e,edu:e,gov:e,i:e,mil:e,mobi:e,name:e,net:e,org:e,sch:e,biz:[2,{co:t,dl:t,go:t,lg:t,on:t}],col:t,firm:t,gen:t,ltd:t,ngo:t,plc:t}],ni:[1,{ac:e,biz:e,co:e,com:e,edu:e,gob:e,in:e,info:e,int:e,mil:e,net:e,nom:e,org:e,web:e}],nl:[1,{co:t,"hosting-cluster":t,gov:t,khplay:t,"123website":t,myspreadshop:t,transurl:i,cistron:t,demon:t}],no:[1,{fhs:e,folkebibl:e,fylkesbibl:e,idrett:e,museum:e,priv:e,vgs:e,dep:e,herad:e,kommune:e,mil:e,stat:e,aa:ke,ah:ke,bu:ke,fm:ke,hl:ke,hm:ke,"jan-mayen":ke,mr:ke,nl:ke,nt:ke,of:ke,ol:ke,oslo:ke,rl:ke,sf:ke,st:ke,svalbard:ke,tm:ke,tr:ke,va:ke,vf:ke,akrehamn:e,"xn--krehamn-dxa":e,\u00E5krehamn:e,algard:e,"xn--lgrd-poac":e,\u00E5lg\u00E5rd:e,arna:e,bronnoysund:e,"xn--brnnysund-m8ac":e,br\u00F8nn\u00F8ysund:e,brumunddal:e,bryne:e,drobak:e,"xn--drbak-wua":e,dr\u00F8bak:e,egersund:e,fetsund:e,floro:e,"xn--flor-jra":e,flor\u00F8:e,fredrikstad:e,hokksund:e,honefoss:e,"xn--hnefoss-q1a":e,h\u00F8nefoss:e,jessheim:e,jorpeland:e,"xn--jrpeland-54a":e,j\u00F8rpeland:e,kirkenes:e,kopervik:e,krokstadelva:e,langevag:e,"xn--langevg-jxa":e,langev\u00E5g:e,leirvik:e,mjondalen:e,"xn--mjndalen-64a":e,mj\u00F8ndalen:e,"mo-i-rana":e,mosjoen:e,"xn--mosjen-eya":e,mosj\u00F8en:e,nesoddtangen:e,orkanger:e,osoyro:e,"xn--osyro-wua":e,os\u00F8yro:e,raholt:e,"xn--rholt-mra":e,r\u00E5holt:e,sandnessjoen:e,"xn--sandnessjen-ogb":e,sandnessj\u00F8en:e,skedsmokorset:e,slattum:e,spjelkavik:e,stathelle:e,stavern:e,stjordalshalsen:e,"xn--stjrdalshalsen-sqb":e,stj\u00F8rdalshalsen:e,tananger:e,tranby:e,vossevangen:e,aarborte:e,aejrie:e,afjord:e,"xn--fjord-lra":e,\u00E5fjord:e,agdenes:e,akershus:Ye,aknoluokta:e,"xn--koluokta-7ya57h":e,\u00E1k\u014Boluokta:e,al:e,"xn--l-1fa":e,\u00E5l:e,alaheadju:e,"xn--laheadju-7ya":e,\u00E1laheadju:e,alesund:e,"xn--lesund-hua":e,\u00E5lesund:e,alstahaug:e,alta:e,"xn--lt-liac":e,\u00E1lt\u00E1:e,alvdal:e,amli:e,"xn--mli-tla":e,\u00E5mli:e,amot:e,"xn--mot-tla":e,\u00E5mot:e,andasuolo:e,andebu:e,andoy:e,"xn--andy-ira":e,and\u00F8y:e,ardal:e,"xn--rdal-poa":e,\u00E5rdal:e,aremark:e,arendal:e,"xn--s-1fa":e,\u00E5s:e,aseral:e,"xn--seral-lra":e,\u00E5seral:e,asker:e,askim:e,askoy:e,"xn--asky-ira":e,ask\u00F8y:e,askvoll:e,asnes:e,"xn--snes-poa":e,\u00E5snes:e,audnedaln:e,aukra:e,aure:e,aurland:e,"aurskog-holand":e,"xn--aurskog-hland-jnb":e,"aurskog-h\xF8land":e,austevoll:e,austrheim:e,averoy:e,"xn--avery-yua":e,aver\u00F8y:e,badaddja:e,"xn--bdddj-mrabd":e,b\u00E5d\u00E5ddj\u00E5:e,"xn--brum-voa":e,b\u00E6rum:e,bahcavuotna:e,"xn--bhcavuotna-s4a":e,b\u00E1hcavuotna:e,bahccavuotna:e,"xn--bhccavuotna-k7a":e,b\u00E1hccavuotna:e,baidar:e,"xn--bidr-5nac":e,b\u00E1id\u00E1r:e,bajddar:e,"xn--bjddar-pta":e,b\u00E1jddar:e,balat:e,"xn--blt-elab":e,b\u00E1l\u00E1t:e,balestrand:e,ballangen:e,balsfjord:e,bamble:e,bardu:e,barum:e,batsfjord:e,"xn--btsfjord-9za":e,b\u00E5tsfjord:e,bearalvahki:e,"xn--bearalvhki-y4a":e,bearalv\u00E1hki:e,beardu:e,beiarn:e,berg:e,bergen:e,berlevag:e,"xn--berlevg-jxa":e,berlev\u00E5g:e,bievat:e,"xn--bievt-0qa":e,biev\u00E1t:e,bindal:e,birkenes:e,bjarkoy:e,"xn--bjarky-fya":e,bjark\u00F8y:e,bjerkreim:e,bjugn:e,bodo:e,"xn--bod-2na":e,bod\u00F8:e,bokn:e,bomlo:e,"xn--bmlo-gra":e,b\u00F8mlo:e,bremanger:e,bronnoy:e,"xn--brnny-wuac":e,br\u00F8nn\u00F8y:e,budejju:e,buskerud:Ye,bygland:e,bykle:e,cahcesuolo:e,"xn--hcesuolo-7ya35b":e,\u010D\u00E1hcesuolo:e,davvenjarga:e,"xn--davvenjrga-y4a":e,davvenj\u00E1rga:e,davvesiida:e,deatnu:e,dielddanuorri:e,divtasvuodna:e,divttasvuotna:e,donna:e,"xn--dnna-gra":e,d\u00F8nna:e,dovre:e,drammen:e,drangedal:e,dyroy:e,"xn--dyry-ira":e,dyr\u00F8y:e,eid:e,eidfjord:e,eidsberg:e,eidskog:e,eidsvoll:e,eigersund:e,elverum:e,enebakk:e,engerdal:e,etne:e,etnedal:e,evenassi:e,"xn--eveni-0qa01ga":e,even\u00E1\u0161\u0161i:e,evenes:e,"evje-og-hornnes":e,farsund:e,fauske:e,fedje:e,fet:e,finnoy:e,"xn--finny-yua":e,finn\u00F8y:e,fitjar:e,fjaler:e,fjell:e,fla:e,"xn--fl-zia":e,fl\u00E5:e,flakstad:e,flatanger:e,flekkefjord:e,flesberg:e,flora:e,folldal:e,forde:e,"xn--frde-gra":e,f\u00F8rde:e,forsand:e,fosnes:e,"xn--frna-woa":e,fr\u00E6na:e,frana:e,frei:e,frogn:e,froland:e,frosta:e,froya:e,"xn--frya-hra":e,fr\u00F8ya:e,fuoisku:e,fuossko:e,fusa:e,fyresdal:e,gaivuotna:e,"xn--givuotna-8ya":e,g\u00E1ivuotna:e,galsa:e,"xn--gls-elac":e,g\u00E1ls\u00E1:e,gamvik:e,gangaviika:e,"xn--ggaviika-8ya47h":e,g\u00E1\u014Bgaviika:e,gaular:e,gausdal:e,giehtavuoatna:e,gildeskal:e,"xn--gildeskl-g0a":e,gildesk\u00E5l:e,giske:e,gjemnes:e,gjerdrum:e,gjerstad:e,gjesdal:e,gjovik:e,"xn--gjvik-wua":e,gj\u00F8vik:e,gloppen:e,gol:e,gran:e,grane:e,granvin:e,gratangen:e,grimstad:e,grong:e,grue:e,gulen:e,guovdageaidnu:e,ha:e,"xn--h-2fa":e,h\u00E5:e,habmer:e,"xn--hbmer-xqa":e,h\u00E1bmer:e,hadsel:e,"xn--hgebostad-g3a":e,h\u00E6gebostad:e,hagebostad:e,halden:e,halsa:e,hamar:e,hamaroy:e,hammarfeasta:e,"xn--hmmrfeasta-s4ac":e,h\u00E1mm\u00E1rfeasta:e,hammerfest:e,hapmir:e,"xn--hpmir-xqa":e,h\u00E1pmir:e,haram:e,hareid:e,harstad:e,hasvik:e,hattfjelldal:e,haugesund:e,hedmark:[0,{os:e,valer:e,"xn--vler-qoa":e,v\u00E5ler:e}],hemne:e,hemnes:e,hemsedal:e,hitra:e,hjartdal:e,hjelmeland:e,hobol:e,"xn--hobl-ira":e,hob\u00F8l:e,hof:e,hol:e,hole:e,holmestrand:e,holtalen:e,"xn--holtlen-hxa":e,holt\u00E5len:e,hordaland:[0,{os:e}],hornindal:e,horten:e,hoyanger:e,"xn--hyanger-q1a":e,h\u00F8yanger:e,hoylandet:e,"xn--hylandet-54a":e,h\u00F8ylandet:e,hurdal:e,hurum:e,hvaler:e,hyllestad:e,ibestad:e,inderoy:e,"xn--indery-fya":e,inder\u00F8y:e,iveland:e,ivgu:e,jevnaker:e,jolster:e,"xn--jlster-bya":e,j\u00F8lster:e,jondal:e,kafjord:e,"xn--kfjord-iua":e,k\u00E5fjord:e,karasjohka:e,"xn--krjohka-hwab49j":e,k\u00E1r\u00E1\u0161johka:e,karasjok:e,karlsoy:e,karmoy:e,"xn--karmy-yua":e,karm\u00F8y:e,kautokeino:e,klabu:e,"xn--klbu-woa":e,kl\u00E6bu:e,klepp:e,kongsberg:e,kongsvinger:e,kraanghke:e,"xn--kranghke-b0a":e,kr\u00E5anghke:e,kragero:e,"xn--krager-gya":e,krager\u00F8:e,kristiansand:e,kristiansund:e,krodsherad:e,"xn--krdsherad-m8a":e,kr\u00F8dsherad:e,"xn--kvfjord-nxa":e,kv\u00E6fjord:e,"xn--kvnangen-k0a":e,kv\u00E6nangen:e,kvafjord:e,kvalsund:e,kvam:e,kvanangen:e,kvinesdal:e,kvinnherad:e,kviteseid:e,kvitsoy:e,"xn--kvitsy-fya":e,kvits\u00F8y:e,laakesvuemie:e,"xn--lrdal-sra":e,l\u00E6rdal:e,lahppi:e,"xn--lhppi-xqa":e,l\u00E1hppi:e,lardal:e,larvik:e,lavagis:e,lavangen:e,leangaviika:e,"xn--leagaviika-52b":e,lea\u014Bgaviika:e,lebesby:e,leikanger:e,leirfjord:e,leka:e,leksvik:e,lenvik:e,lerdal:e,lesja:e,levanger:e,lier:e,lierne:e,lillehammer:e,lillesand:e,lindas:e,"xn--linds-pra":e,lind\u00E5s:e,lindesnes:e,loabat:e,"xn--loabt-0qa":e,loab\u00E1t:e,lodingen:e,"xn--ldingen-q1a":e,l\u00F8dingen:e,lom:e,loppa:e,lorenskog:e,"xn--lrenskog-54a":e,l\u00F8renskog:e,loten:e,"xn--lten-gra":e,l\u00F8ten:e,lund:e,lunner:e,luroy:e,"xn--lury-ira":e,lur\u00F8y:e,luster:e,lyngdal:e,lyngen:e,malatvuopmi:e,"xn--mlatvuopmi-s4a":e,m\u00E1latvuopmi:e,malselv:e,"xn--mlselv-iua":e,m\u00E5lselv:e,malvik:e,mandal:e,marker:e,marnardal:e,masfjorden:e,masoy:e,"xn--msy-ula0h":e,m\u00E5s\u00F8y:e,"matta-varjjat":e,"xn--mtta-vrjjat-k7af":e,"m\xE1tta-v\xE1rjjat":e,meland:e,meldal:e,melhus:e,meloy:e,"xn--mely-ira":e,mel\u00F8y:e,meraker:e,"xn--merker-kua":e,mer\u00E5ker:e,midsund:e,"midtre-gauldal":e,moareke:e,"xn--moreke-jua":e,mo\u00E5reke:e,modalen:e,modum:e,molde:e,"more-og-romsdal":[0,{heroy:e,sande:e}],"xn--mre-og-romsdal-qqb":[0,{"xn--hery-ira":e,sande:e}],"m\xF8re-og-romsdal":[0,{her\u00F8y:e,sande:e}],moskenes:e,moss:e,mosvik:e,muosat:e,"xn--muost-0qa":e,muos\u00E1t:e,naamesjevuemie:e,"xn--nmesjevuemie-tcba":e,n\u00E5\u00E5mesjevuemie:e,"xn--nry-yla5g":e,n\u00E6r\u00F8y:e,namdalseid:e,namsos:e,namsskogan:e,nannestad:e,naroy:e,narviika:e,narvik:e,naustdal:e,navuotna:e,"xn--nvuotna-hwa":e,n\u00E1vuotna:e,"nedre-eiker":e,nesna:e,nesodden:e,nesseby:e,nesset:e,nissedal:e,nittedal:e,"nord-aurdal":e,"nord-fron":e,"nord-odal":e,norddal:e,nordkapp:e,nordland:[0,{bo:e,"xn--b-5ga":e,b\u00F8:e,heroy:e,"xn--hery-ira":e,her\u00F8y:e}],"nordre-land":e,nordreisa:e,"nore-og-uvdal":e,notodden:e,notteroy:e,"xn--nttery-byae":e,n\u00F8tter\u00F8y:e,odda:e,oksnes:e,"xn--ksnes-uua":e,\u00F8ksnes:e,omasvuotna:e,oppdal:e,oppegard:e,"xn--oppegrd-ixa":e,oppeg\u00E5rd:e,orkdal:e,orland:e,"xn--rland-uua":e,\u00F8rland:e,orskog:e,"xn--rskog-uua":e,\u00F8rskog:e,orsta:e,"xn--rsta-fra":e,\u00F8rsta:e,osen:e,osteroy:e,"xn--ostery-fya":e,oster\u00F8y:e,ostfold:[0,{valer:e}],"xn--stfold-9xa":[0,{"xn--vler-qoa":e}],\u00F8stfold:[0,{v\u00E5ler:e}],"ostre-toten":e,"xn--stre-toten-zcb":e,"\xF8stre-toten":e,overhalla:e,"ovre-eiker":e,"xn--vre-eiker-k8a":e,"\xF8vre-eiker":e,oyer:e,"xn--yer-zna":e,\u00F8yer:e,oygarden:e,"xn--ygarden-p1a":e,\u00F8ygarden:e,"oystre-slidre":e,"xn--ystre-slidre-ujb":e,"\xF8ystre-slidre":e,porsanger:e,porsangu:e,"xn--porsgu-sta26f":e,pors\u00E1\u014Bgu:e,porsgrunn:e,rade:e,"xn--rde-ula":e,r\u00E5de:e,radoy:e,"xn--rady-ira":e,rad\u00F8y:e,"xn--rlingen-mxa":e,r\u00E6lingen:e,rahkkeravju:e,"xn--rhkkervju-01af":e,r\u00E1hkker\u00E1vju:e,raisa:e,"xn--risa-5na":e,r\u00E1isa:e,rakkestad:e,ralingen:e,rana:e,randaberg:e,rauma:e,rendalen:e,rennebu:e,rennesoy:e,"xn--rennesy-v1a":e,rennes\u00F8y:e,rindal:e,ringebu:e,ringerike:e,ringsaker:e,risor:e,"xn--risr-ira":e,ris\u00F8r:e,rissa:e,roan:e,rodoy:e,"xn--rdy-0nab":e,r\u00F8d\u00F8y:e,rollag:e,romsa:e,romskog:e,"xn--rmskog-bya":e,r\u00F8mskog:e,roros:e,"xn--rros-gra":e,r\u00F8ros:e,rost:e,"xn--rst-0na":e,r\u00F8st:e,royken:e,"xn--ryken-vua":e,r\u00F8yken:e,royrvik:e,"xn--ryrvik-bya":e,r\u00F8yrvik:e,ruovat:e,rygge:e,salangen:e,salat:e,"xn--slat-5na":e,s\u00E1lat:e,"xn--slt-elab":e,s\u00E1l\u00E1t:e,saltdal:e,samnanger:e,sandefjord:e,sandnes:e,sandoy:e,"xn--sandy-yua":e,sand\u00F8y:e,sarpsborg:e,sauda:e,sauherad:e,sel:e,selbu:e,selje:e,seljord:e,siellak:e,sigdal:e,siljan:e,sirdal:e,skanit:e,"xn--sknit-yqa":e,sk\u00E1nit:e,skanland:e,"xn--sknland-fxa":e,sk\u00E5nland:e,skaun:e,skedsmo:e,ski:e,skien:e,skierva:e,"xn--skierv-uta":e,skierv\u00E1:e,skiptvet:e,skjak:e,"xn--skjk-soa":e,skj\u00E5k:e,skjervoy:e,"xn--skjervy-v1a":e,skjerv\u00F8y:e,skodje:e,smola:e,"xn--smla-hra":e,sm\u00F8la:e,snaase:e,"xn--snase-nra":e,sn\u00E5ase:e,snasa:e,"xn--snsa-roa":e,sn\u00E5sa:e,snillfjord:e,snoasa:e,sogndal:e,sogne:e,"xn--sgne-gra":e,s\u00F8gne:e,sokndal:e,sola:e,solund:e,somna:e,"xn--smna-gra":e,s\u00F8mna:e,"sondre-land":e,"xn--sndre-land-0cb":e,"s\xF8ndre-land":e,songdalen:e,"sor-aurdal":e,"xn--sr-aurdal-l8a":e,"s\xF8r-aurdal":e,"sor-fron":e,"xn--sr-fron-q1a":e,"s\xF8r-fron":e,"sor-odal":e,"xn--sr-odal-q1a":e,"s\xF8r-odal":e,"sor-varanger":e,"xn--sr-varanger-ggb":e,"s\xF8r-varanger":e,sorfold:e,"xn--srfold-bya":e,s\u00F8rfold:e,sorreisa:e,"xn--srreisa-q1a":e,s\u00F8rreisa:e,sortland:e,sorum:e,"xn--srum-gra":e,s\u00F8rum:e,spydeberg:e,stange:e,stavanger:e,steigen:e,steinkjer:e,stjordal:e,"xn--stjrdal-s1a":e,stj\u00F8rdal:e,stokke:e,"stor-elvdal":e,stord:e,stordal:e,storfjord:e,strand:e,stranda:e,stryn:e,sula:e,suldal:e,sund:e,sunndal:e,surnadal:e,sveio:e,svelvik:e,sykkylven:e,tana:e,telemark:[0,{bo:e,"xn--b-5ga":e,b\u00F8:e}],time:e,tingvoll:e,tinn:e,tjeldsund:e,tjome:e,"xn--tjme-hra":e,tj\u00F8me:e,tokke:e,tolga:e,tonsberg:e,"xn--tnsberg-q1a":e,t\u00F8nsberg:e,torsken:e,"xn--trna-woa":e,tr\u00E6na:e,trana:e,tranoy:e,"xn--trany-yua":e,tran\u00F8y:e,troandin:e,trogstad:e,"xn--trgstad-r1a":e,tr\u00F8gstad:e,tromsa:e,tromso:e,"xn--troms-zua":e,troms\u00F8:e,trondheim:e,trysil:e,tvedestrand:e,tydal:e,tynset:e,tysfjord:e,tysnes:e,"xn--tysvr-vra":e,tysv\u00E6r:e,tysvar:e,ullensaker:e,ullensvang:e,ulvik:e,unjarga:e,"xn--unjrga-rta":e,unj\u00E1rga:e,utsira:e,vaapste:e,vadso:e,"xn--vads-jra":e,vads\u00F8:e,"xn--vry-yla5g":e,v\u00E6r\u00F8y:e,vaga:e,"xn--vg-yiab":e,v\u00E5g\u00E5:e,vagan:e,"xn--vgan-qoa":e,v\u00E5gan:e,vagsoy:e,"xn--vgsy-qoa0j":e,v\u00E5gs\u00F8y:e,vaksdal:e,valle:e,vang:e,vanylven:e,vardo:e,"xn--vard-jra":e,vard\u00F8:e,varggat:e,"xn--vrggt-xqad":e,v\u00E1rgg\u00E1t:e,varoy:e,vefsn:e,vega:e,vegarshei:e,"xn--vegrshei-c0a":e,veg\u00E5rshei:e,vennesla:e,verdal:e,verran:e,vestby:e,vestfold:[0,{sande:e}],vestnes:e,"vestre-slidre":e,"vestre-toten":e,vestvagoy:e,"xn--vestvgy-ixa6o":e,vestv\u00E5g\u00F8y:e,vevelstad:e,vik:e,vikna:e,vindafjord:e,voagat:e,volda:e,voss:e,co:t,"123hjemmeside":t,myspreadshop:t}],np:h,nr:ne,nu:[1,{merseine:t,mine:t,shacknet:t,enterprisecloud:t}],nz:[1,{ac:e,co:e,cri:e,geek:e,gen:e,govt:e,health:e,iwi:e,kiwi:e,maori:e,"xn--mori-qsa":e,m\u0101ori:e,mil:e,net:e,org:e,parliament:e,school:e,cloudns:t}],om:[1,{co:e,com:e,edu:e,gov:e,med:e,museum:e,net:e,org:e,pro:e}],onion:e,org:[1,{altervista:t,pimienta:t,poivron:t,potager:t,sweetpepper:t,cdn77:[0,{c:t,rsc:t}],"cdn77-secure":[0,{origin:[0,{ssl:t}]}],ae:t,cloudns:t,"ip-dynamic":t,ddnss:t,dpdns:t,duckdns:t,tunk:t,blogdns:t,blogsite:t,boldlygoingnowhere:t,dnsalias:t,dnsdojo:t,doesntexist:t,dontexist:t,doomdns:t,dvrdns:t,dynalias:t,dyndns:[2,{go:t,home:t}],endofinternet:t,endoftheinternet:t,"from-me":t,"game-host":t,gotdns:t,"hobby-site":t,homedns:t,homeftp:t,homelinux:t,homeunix:t,"is-a-bruinsfan":t,"is-a-candidate":t,"is-a-celticsfan":t,"is-a-chef":t,"is-a-geek":t,"is-a-knight":t,"is-a-linux-user":t,"is-a-patsfan":t,"is-a-soxfan":t,"is-found":t,"is-lost":t,"is-saved":t,"is-very-bad":t,"is-very-evil":t,"is-very-good":t,"is-very-nice":t,"is-very-sweet":t,"isa-geek":t,"kicks-ass":t,misconfused:t,podzone:t,readmyblog:t,selfip:t,sellsyourhome:t,servebbs:t,serveftp:t,servegame:t,"stuff-4-sale":t,webhop:t,accesscam:t,camdvr:t,freeddns:t,mywire:t,webredirect:t,twmail:t,eu:[2,{al:t,asso:t,at:t,au:t,be:t,bg:t,ca:t,cd:t,ch:t,cn:t,cy:t,cz:t,de:t,dk:t,edu:t,ee:t,es:t,fi:t,fr:t,gr:t,hr:t,hu:t,ie:t,il:t,in:t,int:t,is:t,it:t,jp:t,kr:t,lt:t,lu:t,lv:t,me:t,mk:t,mt:t,my:t,net:t,ng:t,nl:t,no:t,nz:t,pl:t,pt:t,ro:t,ru:t,se:t,si:t,sk:t,tr:t,uk:t,us:t}],fedorainfracloud:t,fedorapeople:t,fedoraproject:[0,{cloud:t,os:J,stg:[0,{os:J}]}],freedesktop:t,hatenadiary:t,hepforge:t,"in-dsl":t,"in-vpn":t,js:t,barsy:t,mayfirst:t,routingthecloud:t,bmoattachments:t,"cable-modem":t,collegefan:t,couchpotatofries:t,hopto:t,mlbfan:t,myftp:t,mysecuritycamera:t,nflfan:t,"no-ip":t,"read-books":t,ufcfan:t,zapto:t,dynserv:t,"now-dns":t,"is-local":t,httpbin:t,pubtls:t,jpn:t,"my-firewall":t,myfirewall:t,spdns:t,"small-web":t,dsmynas:t,familyds:t,teckids:fe,tuxfamily:t,diskstation:t,hk:t,us:t,toolforge:t,wmcloud:t,wmflabs:t,za:t}],pa:[1,{abo:e,ac:e,com:e,edu:e,gob:e,ing:e,med:e,net:e,nom:e,org:e,sld:e}],pe:[1,{com:e,edu:e,gob:e,mil:e,net:e,nom:e,org:e}],pf:[1,{com:e,edu:e,org:e}],pg:h,ph:[1,{com:e,edu:e,gov:e,i:e,mil:e,net:e,ngo:e,org:e,cloudns:t}],pk:[1,{ac:e,biz:e,com:e,edu:e,fam:e,gkp:e,gob:e,gog:e,gok:e,gop:e,gos:e,gov:e,net:e,org:e,web:e}],pl:[1,{com:e,net:e,org:e,agro:e,aid:e,atm:e,auto:e,biz:e,edu:e,gmina:e,gsm:e,info:e,mail:e,media:e,miasta:e,mil:e,nieruchomosci:e,nom:e,pc:e,powiat:e,priv:e,realestate:e,rel:e,sex:e,shop:e,sklep:e,sos:e,szkola:e,targi:e,tm:e,tourism:e,travel:e,turystyka:e,gov:[1,{ap:e,griw:e,ic:e,is:e,kmpsp:e,konsulat:e,kppsp:e,kwp:e,kwpsp:e,mup:e,mw:e,oia:e,oirm:e,oke:e,oow:e,oschr:e,oum:e,pa:e,pinb:e,piw:e,po:e,pr:e,psp:e,psse:e,pup:e,rzgw:e,sa:e,sdn:e,sko:e,so:e,sr:e,starostwo:e,ug:e,ugim:e,um:e,umig:e,upow:e,uppo:e,us:e,uw:e,uzs:e,wif:e,wiih:e,winb:e,wios:e,witd:e,wiw:e,wkz:e,wsa:e,wskr:e,wsse:e,wuoz:e,wzmiuw:e,zp:e,zpisdn:e}],augustow:e,"babia-gora":e,bedzin:e,beskidy:e,bialowieza:e,bialystok:e,bielawa:e,bieszczady:e,boleslawiec:e,bydgoszcz:e,bytom:e,cieszyn:e,czeladz:e,czest:e,dlugoleka:e,elblag:e,elk:e,glogow:e,gniezno:e,gorlice:e,grajewo:e,ilawa:e,jaworzno:e,"jelenia-gora":e,jgora:e,kalisz:e,karpacz:e,kartuzy:e,kaszuby:e,katowice:e,"kazimierz-dolny":e,kepno:e,ketrzyn:e,klodzko:e,kobierzyce:e,kolobrzeg:e,konin:e,konskowola:e,kutno:e,lapy:e,lebork:e,legnica:e,lezajsk:e,limanowa:e,lomza:e,lowicz:e,lubin:e,lukow:e,malbork:e,malopolska:e,mazowsze:e,mazury:e,mielec:e,mielno:e,mragowo:e,naklo:e,nowaruda:e,nysa:e,olawa:e,olecko:e,olkusz:e,olsztyn:e,opoczno:e,opole:e,ostroda:e,ostroleka:e,ostrowiec:e,ostrowwlkp:e,pila:e,pisz:e,podhale:e,podlasie:e,polkowice:e,pomorskie:e,pomorze:e,prochowice:e,pruszkow:e,przeworsk:e,pulawy:e,radom:e,"rawa-maz":e,rybnik:e,rzeszow:e,sanok:e,sejny:e,skoczow:e,slask:e,slupsk:e,sosnowiec:e,"stalowa-wola":e,starachowice:e,stargard:e,suwalki:e,swidnica:e,swiebodzin:e,swinoujscie:e,szczecin:e,szczytno:e,tarnobrzeg:e,tgory:e,turek:e,tychy:e,ustka:e,walbrzych:e,warmia:e,warszawa:e,waw:e,wegrow:e,wielun:e,wlocl:e,wloclawek:e,wodzislaw:e,wolomin:e,wroclaw:e,zachpomor:e,zagan:e,zarow:e,zgora:e,zgorzelec:e,art:t,gliwice:t,krakow:t,poznan:t,wroc:t,zakopane:t,beep:t,"ecommerce-shop":t,cfolks:t,dfirma:t,dkonto:t,you2:t,shoparena:t,homesklep:t,sdscloud:t,unicloud:t,lodz:t,pabianice:t,plock:t,sieradz:t,skierniewice:t,zgierz:t,krasnik:t,leczna:t,lubartow:t,lublin:t,poniatowa:t,swidnik:t,co:t,torun:t,simplesite:t,myspreadshop:t,gda:t,gdansk:t,gdynia:t,med:t,sopot:t,bielsko:t}],pm:[1,{own:t,name:t}],pn:[1,{co:e,edu:e,gov:e,net:e,org:e}],post:e,pr:[1,{biz:e,com:e,edu:e,gov:e,info:e,isla:e,name:e,net:e,org:e,pro:e,ac:e,est:e,prof:e}],pro:[1,{aaa:e,aca:e,acct:e,avocat:e,bar:e,cpa:e,eng:e,jur:e,law:e,med:e,recht:e,"12chars":t,cloudns:t,barsy:t,ngrok:t}],ps:[1,{com:e,edu:e,gov:e,net:e,org:e,plo:e,sec:e}],pt:[1,{com:e,edu:e,gov:e,int:e,net:e,nome:e,org:e,publ:e,"123paginaweb":t}],pw:[1,{gov:e,cloudns:t,x443:t}],py:[1,{com:e,coop:e,edu:e,gov:e,mil:e,net:e,org:e}],qa:[1,{com:e,edu:e,gov:e,mil:e,name:e,net:e,org:e,sch:e}],re:[1,{asso:e,com:e,netlib:t,can:t}],ro:[1,{arts:e,com:e,firm:e,info:e,nom:e,nt:e,org:e,rec:e,store:e,tm:e,www:e,co:t,shop:t,barsy:t}],rs:[1,{ac:e,co:e,edu:e,gov:e,in:e,org:e,brendly:ce,barsy:t,ox:t}],ru:[1,{ac:t,edu:t,gov:t,int:t,mil:t,eurodir:t,adygeya:t,bashkiria:t,bir:t,cbg:t,com:t,dagestan:t,grozny:t,kalmykia:t,kustanai:t,marine:t,mordovia:t,msk:t,mytis:t,nalchik:t,nov:t,pyatigorsk:t,spb:t,vladikavkaz:t,vladimir:t,na4u:t,mircloud:t,myjino:[2,{hosting:i,landing:i,spectrum:i,vps:i}],cldmail:[0,{hb:t}],mcdir:[2,{vps:t}],mcpre:t,net:t,org:t,pp:t,lk3:t,ras:t}],rw:[1,{ac:e,co:e,coop:e,gov:e,mil:e,net:e,org:e}],sa:[1,{com:e,edu:e,gov:e,med:e,net:e,org:e,pub:e,sch:e}],sb:n,sc:n,sd:[1,{com:e,edu:e,gov:e,info:e,med:e,net:e,org:e,tv:e}],se:[1,{a:e,ac:e,b:e,bd:e,brand:e,c:e,d:e,e,f:e,fh:e,fhsk:e,fhv:e,g:e,h:e,i:e,k:e,komforb:e,kommunalforbund:e,komvux:e,l:e,lanbib:e,m:e,n:e,naturbruksgymn:e,o:e,org:e,p:e,parti:e,pp:e,press:e,r:e,s:e,t:e,tm:e,u:e,w:e,x:e,y:e,z:e,com:t,iopsys:t,"123minsida":t,itcouldbewor:t,myspreadshop:t}],sg:[1,{com:e,edu:e,gov:e,net:e,org:e,enscaled:t}],sh:[1,{com:e,gov:e,mil:e,net:e,org:e,hashbang:t,botda:t,platform:[0,{ent:t,eu:t,us:t}],now:t}],si:[1,{f5:t,gitapp:t,gitpage:t}],sj:e,sk:e,sl:n,sm:e,sn:[1,{art:e,com:e,edu:e,gouv:e,org:e,perso:e,univ:e}],so:[1,{com:e,edu:e,gov:e,me:e,net:e,org:e,surveys:t}],sr:e,ss:[1,{biz:e,co:e,com:e,edu:e,gov:e,me:e,net:e,org:e,sch:e}],st:[1,{co:e,com:e,consulado:e,edu:e,embaixada:e,mil:e,net:e,org:e,principe:e,saotome:e,store:e,helioho:t,kirara:t,noho:t}],su:[1,{abkhazia:t,adygeya:t,aktyubinsk:t,arkhangelsk:t,armenia:t,ashgabad:t,azerbaijan:t,balashov:t,bashkiria:t,bryansk:t,bukhara:t,chimkent:t,dagestan:t,"east-kazakhstan":t,exnet:t,georgia:t,grozny:t,ivanovo:t,jambyl:t,kalmykia:t,kaluga:t,karacol:t,karaganda:t,karelia:t,khakassia:t,krasnodar:t,kurgan:t,kustanai:t,lenug:t,mangyshlak:t,mordovia:t,msk:t,murmansk:t,nalchik:t,navoi:t,"north-kazakhstan":t,nov:t,obninsk:t,penza:t,pokrovsk:t,sochi:t,spb:t,tashkent:t,termez:t,togliatti:t,troitsk:t,tselinograd:t,tula:t,tuva:t,vladikavkaz:t,vladimir:t,vologda:t}],sv:[1,{com:e,edu:e,gob:e,org:e,red:e}],sx:u,sy:r,sz:[1,{ac:e,co:e,org:e}],tc:e,td:e,tel:e,tf:[1,{sch:t}],tg:e,th:[1,{ac:e,co:e,go:e,in:e,mi:e,net:e,or:e,online:t,shop:t}],tj:[1,{ac:e,biz:e,co:e,com:e,edu:e,go:e,gov:e,int:e,mil:e,name:e,net:e,nic:e,org:e,test:e,web:e}],tk:e,tl:u,tm:[1,{co:e,com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e}],tn:[1,{com:e,ens:e,fin:e,gov:e,ind:e,info:e,intl:e,mincom:e,nat:e,net:e,org:e,perso:e,tourism:e,orangecloud:t}],to:[1,{611:t,com:e,edu:e,gov:e,mil:e,net:e,org:e,oya:t,x0:t,quickconnect:S,vpnplus:t}],tr:[1,{av:e,bbs:e,bel:e,biz:e,com:e,dr:e,edu:e,gen:e,gov:e,info:e,k12:e,kep:e,mil:e,name:e,net:e,org:e,pol:e,tel:e,tsk:e,tv:e,web:e,nc:u}],tt:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,mil:e,name:e,net:e,org:e,pro:e}],tv:[1,{"better-than":t,dyndns:t,"on-the-web":t,"worse-than":t,from:t,sakura:t}],tw:[1,{club:e,com:[1,{mymailer:t}],ebiz:e,edu:e,game:e,gov:e,idv:e,mil:e,net:e,org:e,url:t,mydns:t}],tz:[1,{ac:e,co:e,go:e,hotel:e,info:e,me:e,mil:e,mobi:e,ne:e,or:e,sc:e,tv:e}],ua:[1,{com:e,edu:e,gov:e,in:e,net:e,org:e,cherkassy:e,cherkasy:e,chernigov:e,chernihiv:e,chernivtsi:e,chernovtsy:e,ck:e,cn:e,cr:e,crimea:e,cv:e,dn:e,dnepropetrovsk:e,dnipropetrovsk:e,donetsk:e,dp:e,if:e,"ivano-frankivsk":e,kh:e,kharkiv:e,kharkov:e,kherson:e,khmelnitskiy:e,khmelnytskyi:e,kiev:e,kirovograd:e,km:e,kr:e,kropyvnytskyi:e,krym:e,ks:e,kv:e,kyiv:e,lg:e,lt:e,lugansk:e,luhansk:e,lutsk:e,lv:e,lviv:e,mk:e,mykolaiv:e,nikolaev:e,od:e,odesa:e,odessa:e,pl:e,poltava:e,rivne:e,rovno:e,rv:e,sb:e,sebastopol:e,sevastopol:e,sm:e,sumy:e,te:e,ternopil:e,uz:e,uzhgorod:e,uzhhorod:e,vinnica:e,vinnytsia:e,vn:e,volyn:e,yalta:e,zakarpattia:e,zaporizhzhe:e,zaporizhzhia:e,zhitomir:e,zhytomyr:e,zp:e,zt:e,cc:t,inf:t,ltd:t,cx:t,biz:t,co:t,pp:t,v:t}],ug:[1,{ac:e,co:e,com:e,edu:e,go:e,gov:e,mil:e,ne:e,or:e,org:e,sc:e,us:e}],uk:[1,{ac:e,co:[1,{bytemark:[0,{dh:t,vm:t}],layershift:ie,barsy:t,barsyonline:t,retrosnub:Ae,"nh-serv":t,"no-ip":t,adimo:t,myspreadshop:t}],gov:[1,{api:t,campaign:t,service:t}],ltd:e,me:e,net:e,nhs:e,org:[1,{glug:t,lug:t,lugs:t,affinitylottery:t,raffleentry:t,weeklylottery:t}],plc:e,police:e,sch:h,conn:t,copro:t,hosp:t,"independent-commission":t,"independent-inquest":t,"independent-inquiry":t,"independent-panel":t,"independent-review":t,"public-inquiry":t,"royal-commission":t,pymnt:t,barsy:t,nimsite:t,oraclegovcloudapps:i}],us:[1,{dni:e,isa:e,nsn:e,ak:Ee,al:Ee,ar:Ee,as:Ee,az:Ee,ca:Ee,co:Ee,ct:Ee,dc:Ee,de:[1,{cc:e,lib:t}],fl:Ee,ga:Ee,gu:Ee,hi:$e,ia:Ee,id:Ee,il:Ee,in:Ee,ks:Ee,ky:Ee,la:Ee,ma:[1,{k12:[1,{chtr:e,paroch:e,pvt:e}],cc:e,lib:e}],md:Ee,me:Ee,mi:[1,{k12:e,cc:e,lib:e,"ann-arbor":e,cog:e,dst:e,eaton:e,gen:e,mus:e,tec:e,washtenaw:e}],mn:Ee,mo:Ee,ms:Ee,mt:Ee,nc:Ee,nd:$e,ne:Ee,nh:Ee,nj:Ee,nm:Ee,nv:Ee,ny:Ee,oh:Ee,ok:Ee,or:Ee,pa:Ee,pr:Ee,ri:$e,sc:Ee,sd:$e,tn:Ee,tx:Ee,ut:Ee,va:Ee,vi:Ee,vt:Ee,wa:Ee,wi:Ee,wv:[1,{cc:e}],wy:Ee,cloudns:t,"is-by":t,"land-4-sale":t,"stuff-4-sale":t,heliohost:t,enscaled:[0,{phx:t}],mircloud:t,ngo:t,golffan:t,noip:t,pointto:t,freeddns:t,srv:[2,{gh:t,gl:t}],platterp:t,servername:t}],uy:[1,{com:e,edu:e,gub:e,mil:e,net:e,org:e}],uz:[1,{co:e,com:e,net:e,org:e}],va:e,vc:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,gv:[2,{d:t}],"0e":i,mydns:t}],ve:[1,{arts:e,bib:e,co:e,com:e,e12:e,edu:e,emprende:e,firm:e,gob:e,gov:e,info:e,int:e,mil:e,net:e,nom:e,org:e,rar:e,rec:e,store:e,tec:e,web:e}],vg:[1,{edu:e}],vi:[1,{co:e,com:e,k12:e,net:e,org:e}],vn:[1,{ac:e,ai:e,biz:e,com:e,edu:e,gov:e,health:e,id:e,info:e,int:e,io:e,name:e,net:e,org:e,pro:e,angiang:e,bacgiang:e,backan:e,baclieu:e,bacninh:e,"baria-vungtau":e,bentre:e,binhdinh:e,binhduong:e,binhphuoc:e,binhthuan:e,camau:e,cantho:e,caobang:e,daklak:e,daknong:e,danang:e,dienbien:e,dongnai:e,dongthap:e,gialai:e,hagiang:e,haiduong:e,haiphong:e,hanam:e,hanoi:e,hatinh:e,haugiang:e,hoabinh:e,hungyen:e,khanhhoa:e,kiengiang:e,kontum:e,laichau:e,lamdong:e,langson:e,laocai:e,longan:e,namdinh:e,nghean:e,ninhbinh:e,ninhthuan:e,phutho:e,phuyen:e,quangbinh:e,quangnam:e,quangngai:e,quangninh:e,quangtri:e,soctrang:e,sonla:e,tayninh:e,thaibinh:e,thainguyen:e,thanhhoa:e,thanhphohochiminh:e,thuathienhue:e,tiengiang:e,travinh:e,tuyenquang:e,vinhlong:e,vinhphuc:e,yenbai:e}],vu:Q,wf:[1,{biz:t,sch:t}],ws:[1,{com:e,edu:e,gov:e,net:e,org:e,advisor:i,cloud66:t,dyndns:t,mypets:t}],yt:[1,{org:t}],"xn--mgbaam7a8h":e,\u0627\u0645\u0627\u0631\u0627\u062A:e,"xn--y9a3aq":e,\u0570\u0561\u0575:e,"xn--54b7fta0cc":e,\u09AC\u09BE\u0982\u09B2\u09BE:e,"xn--90ae":e,\u0431\u0433:e,"xn--mgbcpq6gpa1a":e,\u0627\u0644\u0628\u062D\u0631\u064A\u0646:e,"xn--90ais":e,\u0431\u0435\u043B:e,"xn--fiqs8s":e,\u4E2D\u56FD:e,"xn--fiqz9s":e,\u4E2D\u570B:e,"xn--lgbbat1ad8j":e,\u0627\u0644\u062C\u0632\u0627\u0626\u0631:e,"xn--wgbh1c":e,\u0645\u0635\u0631:e,"xn--e1a4c":e,\u0435\u044E:e,"xn--qxa6a":e,\u03B5\u03C5:e,"xn--mgbah1a3hjkrd":e,\u0645\u0648\u0631\u064A\u062A\u0627\u0646\u064A\u0627:e,"xn--node":e,\u10D2\u10D4:e,"xn--qxam":e,\u03B5\u03BB:e,"xn--j6w193g":[1,{"xn--gmqw5a":e,"xn--55qx5d":e,"xn--mxtq1m":e,"xn--wcvs22d":e,"xn--uc0atv":e,"xn--od0alg":e}],\u9999\u6E2F:[1,{\u500B\u4EBA:e,\u516C\u53F8:e,\u653F\u5E9C:e,\u6559\u80B2:e,\u7D44\u7E54:e,\u7DB2\u7D61:e}],"xn--2scrj9c":e,\u0CAD\u0CBE\u0CB0\u0CA4:e,"xn--3hcrj9c":e,\u0B2D\u0B3E\u0B30\u0B24:e,"xn--45br5cyl":e,\u09AD\u09BE\u09F0\u09A4:e,"xn--h2breg3eve":e,\u092D\u093E\u0930\u0924\u092E\u094D:e,"xn--h2brj9c8c":e,\u092D\u093E\u0930\u094B\u0924:e,"xn--mgbgu82a":e,\u0680\u0627\u0631\u062A:e,"xn--rvc1e0am3e":e,\u0D2D\u0D3E\u0D30\u0D24\u0D02:e,"xn--h2brj9c":e,\u092D\u093E\u0930\u0924:e,"xn--mgbbh1a":e,\u0628\u0627\u0631\u062A:e,"xn--mgbbh1a71e":e,\u0628\u06BE\u0627\u0631\u062A:e,"xn--fpcrj9c3d":e,\u0C2D\u0C3E\u0C30\u0C24\u0C4D:e,"xn--gecrj9c":e,\u0AAD\u0ABE\u0AB0\u0AA4:e,"xn--s9brj9c":e,\u0A2D\u0A3E\u0A30\u0A24:e,"xn--45brj9c":e,\u09AD\u09BE\u09B0\u09A4:e,"xn--xkc2dl3a5ee0h":e,\u0B87\u0BA8\u0BCD\u0BA4\u0BBF\u0BAF\u0BBE:e,"xn--mgba3a4f16a":e,\u0627\u06CC\u0631\u0627\u0646:e,"xn--mgba3a4fra":e,\u0627\u064A\u0631\u0627\u0646:e,"xn--mgbtx2b":e,\u0639\u0631\u0627\u0642:e,"xn--mgbayh7gpa":e,\u0627\u0644\u0627\u0631\u062F\u0646:e,"xn--3e0b707e":e,\uD55C\uAD6D:e,"xn--80ao21a":e,\u049B\u0430\u0437:e,"xn--q7ce6a":e,\u0EA5\u0EB2\u0EA7:e,"xn--fzc2c9e2c":e,\u0DBD\u0D82\u0D9A\u0DCF:e,"xn--xkc2al3hye2a":e,\u0B87\u0BB2\u0B99\u0BCD\u0B95\u0BC8:e,"xn--mgbc0a9azcg":e,\u0627\u0644\u0645\u063A\u0631\u0628:e,"xn--d1alf":e,\u043C\u043A\u0434:e,"xn--l1acc":e,\u043C\u043E\u043D:e,"xn--mix891f":e,\u6FB3\u9580:e,"xn--mix082f":e,\u6FB3\u95E8:e,"xn--mgbx4cd0ab":e,\u0645\u0644\u064A\u0633\u064A\u0627:e,"xn--mgb9awbf":e,\u0639\u0645\u0627\u0646:e,"xn--mgbai9azgqp6j":e,\u067E\u0627\u06A9\u0633\u062A\u0627\u0646:e,"xn--mgbai9a5eva00b":e,\u067E\u0627\u0643\u0633\u062A\u0627\u0646:e,"xn--ygbi2ammx":e,\u0641\u0644\u0633\u0637\u064A\u0646:e,"xn--90a3ac":[1,{"xn--80au":e,"xn--90azh":e,"xn--d1at":e,"xn--c1avg":e,"xn--o1ac":e,"xn--o1ach":e}],\u0441\u0440\u0431:[1,{\u0430\u043A:e,\u043E\u0431\u0440:e,\u043E\u0434:e,\u043E\u0440\u0433:e,\u043F\u0440:e,\u0443\u043F\u0440:e}],"xn--p1ai":e,\u0440\u0444:e,"xn--wgbl6a":e,\u0642\u0637\u0631:e,"xn--mgberp4a5d4ar":e,\u0627\u0644\u0633\u0639\u0648\u062F\u064A\u0629:e,"xn--mgberp4a5d4a87g":e,\u0627\u0644\u0633\u0639\u0648\u062F\u06CC\u0629:e,"xn--mgbqly7c0a67fbc":e,\u0627\u0644\u0633\u0639\u0648\u062F\u06CC\u06C3:e,"xn--mgbqly7cvafr":e,\u0627\u0644\u0633\u0639\u0648\u062F\u064A\u0647:e,"xn--mgbpl2fh":e,\u0633\u0648\u062F\u0627\u0646:e,"xn--yfro4i67o":e,\u65B0\u52A0\u5761:e,"xn--clchc0ea0b2g2a9gcd":e,\u0B9A\u0BBF\u0B99\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0BC2\u0BB0\u0BCD:e,"xn--ogbpf8fl":e,\u0633\u0648\u0631\u064A\u0629:e,"xn--mgbtf8fl":e,\u0633\u0648\u0631\u064A\u0627:e,"xn--o3cw4h":[1,{"xn--o3cyx2a":e,"xn--12co0c3b4eva":e,"xn--m3ch0j3a":e,"xn--h3cuzk1di":e,"xn--12c1fe0br":e,"xn--12cfi8ixb8l":e}],\u0E44\u0E17\u0E22:[1,{\u0E17\u0E2B\u0E32\u0E23:e,\u0E18\u0E38\u0E23\u0E01\u0E34\u0E08:e,\u0E40\u0E19\u0E47\u0E15:e,\u0E23\u0E31\u0E10\u0E1A\u0E32\u0E25:e,\u0E28\u0E36\u0E01\u0E29\u0E32:e,\u0E2D\u0E07\u0E04\u0E4C\u0E01\u0E23:e}],"xn--pgbs0dh":e,\u062A\u0648\u0646\u0633:e,"xn--kpry57d":e,\u53F0\u7063:e,"xn--kprw13d":e,\u53F0\u6E7E:e,"xn--nnx388a":e,\u81FA\u7063:e,"xn--j1amh":e,\u0443\u043A\u0440:e,"xn--mgb2ddes":e,\u0627\u0644\u064A\u0645\u0646:e,xxx:e,ye:r,za:[0,{ac:e,agric:e,alt:e,co:e,edu:e,gov:e,grondar:e,law:e,mil:e,net:e,ngo:e,nic:e,nis:e,nom:e,org:e,school:e,tm:e,web:e}],zm:[1,{ac:e,biz:e,co:e,com:e,edu:e,gov:e,info:e,mil:e,net:e,org:e,sch:e}],zw:[1,{ac:e,co:e,gov:e,mil:e,org:e}],aaa:e,aarp:e,abb:e,abbott:e,abbvie:e,abc:e,able:e,abogado:e,abudhabi:e,academy:[1,{official:t}],accenture:e,accountant:e,accountants:e,aco:e,actor:e,ads:e,adult:e,aeg:e,aetna:e,afl:e,africa:e,agakhan:e,agency:e,aig:e,airbus:e,airforce:e,airtel:e,akdn:e,alibaba:e,alipay:e,allfinanz:e,allstate:e,ally:e,alsace:e,alstom:e,amazon:e,americanexpress:e,americanfamily:e,amex:e,amfam:e,amica:e,amsterdam:e,analytics:e,android:e,anquan:e,anz:e,aol:e,apartments:e,app:[1,{adaptable:t,aiven:t,beget:i,brave:a,clerk:t,clerkstage:t,wnext:t,csb:[2,{preview:t}],convex:t,deta:t,ondigitalocean:t,easypanel:t,encr:t,evervault:o,expo:[2,{staging:t}],edgecompute:t,"on-fleek":t,flutterflow:t,e2b:t,framer:t,hosted:i,run:i,web:t,hasura:t,botdash:t,loginline:t,lovable:t,luyani:t,medusajs:t,messerli:t,netfy:t,netlify:t,ngrok:t,"ngrok-free":t,developer:i,noop:t,northflank:i,upsun:i,replit:s,nyat:t,snowflake:[0,{"*":t,privatelink:i}],streamlit:t,storipress:t,telebit:t,typedream:t,vercel:t,bookonline:t,wdh:t,windsurf:t,zeabur:t,zerops:i}],apple:e,aquarelle:e,arab:e,aramco:e,archi:e,army:e,art:e,arte:e,asda:e,associates:e,athleta:e,attorney:e,auction:e,audi:e,audible:e,audio:e,auspost:e,author:e,auto:e,autos:e,aws:[1,{sagemaker:[0,{"ap-northeast-1":d,"ap-northeast-2":d,"ap-south-1":d,"ap-southeast-1":d,"ap-southeast-2":d,"ca-central-1":f,"eu-central-1":d,"eu-west-1":d,"eu-west-2":d,"us-east-1":f,"us-east-2":f,"us-west-2":f,"af-south-1":c,"ap-east-1":c,"ap-northeast-3":c,"ap-south-2":g,"ap-southeast-3":c,"ap-southeast-4":g,"ca-west-1":[0,{notebook:t,"notebook-fips":t}],"eu-central-2":c,"eu-north-1":c,"eu-south-1":c,"eu-south-2":c,"eu-west-3":c,"il-central-1":c,"me-central-1":c,"me-south-1":c,"sa-east-1":c,"us-gov-east-1":p,"us-gov-west-1":p,"us-west-1":[0,{notebook:t,"notebook-fips":t,studio:t}],experiments:i}],repost:[0,{private:i}],on:[0,{"ap-northeast-1":l,"ap-southeast-1":l,"ap-southeast-2":l,"eu-central-1":l,"eu-north-1":l,"eu-west-1":l,"us-east-1":l,"us-east-2":l,"us-west-2":l}]}],axa:e,azure:e,baby:e,baidu:e,banamex:e,band:e,bank:e,bar:e,barcelona:e,barclaycard:e,barclays:e,barefoot:e,bargains:e,baseball:e,basketball:[1,{aus:t,nz:t}],bauhaus:e,bayern:e,bbc:e,bbt:e,bbva:e,bcg:e,bcn:e,beats:e,beauty:e,beer:e,bentley:e,berlin:e,best:e,bestbuy:e,bet:e,bharti:e,bible:e,bid:e,bike:e,bing:e,bingo:e,bio:e,black:e,blackfriday:e,blockbuster:e,blog:e,bloomberg:e,blue:e,bms:e,bmw:e,bnpparibas:e,boats:e,boehringer:e,bofa:e,bom:e,bond:e,boo:e,book:e,booking:e,bosch:e,bostik:e,boston:e,bot:e,boutique:e,box:e,bradesco:e,bridgestone:e,broadway:e,broker:e,brother:e,brussels:e,build:[1,{v0:t,windsurf:t}],builders:[1,{cloudsite:t}],business:C,buy:e,buzz:e,bzh:e,cab:e,cafe:e,cal:e,call:e,calvinklein:e,cam:e,camera:e,camp:[1,{emf:[0,{at:t}]}],canon:e,capetown:e,capital:e,capitalone:e,car:e,caravan:e,cards:e,care:e,career:e,careers:e,cars:e,casa:[1,{nabu:[0,{ui:t}]}],case:e,cash:e,casino:e,catering:e,catholic:e,cba:e,cbn:e,cbre:e,center:e,ceo:e,cern:e,cfa:e,cfd:e,chanel:e,channel:e,charity:e,chase:e,chat:e,cheap:e,chintai:e,christmas:e,chrome:e,church:e,cipriani:e,circle:e,cisco:e,citadel:e,citi:e,citic:e,city:e,claims:e,cleaning:e,click:e,clinic:e,clinique:e,clothing:e,cloud:[1,{convex:t,elementor:t,encoway:[0,{eu:t}],statics:i,ravendb:t,axarnet:[0,{"es-1":t}],diadem:t,jelastic:[0,{vip:t}],jele:t,"jenv-aruba":[0,{aruba:[0,{eur:[0,{it1:t}]}],it1:t}],keliweb:[2,{cs:t}],oxa:[2,{tn:t,uk:t}],primetel:[2,{uk:t}],reclaim:[0,{ca:t,uk:t,us:t}],trendhosting:[0,{ch:t,de:t}],jotelulu:t,kuleuven:t,laravel:t,linkyard:t,magentosite:i,matlab:t,observablehq:t,perspecta:t,vapor:t,"on-rancher":i,scw:[0,{baremetal:[0,{"fr-par-1":t,"fr-par-2":t,"nl-ams-1":t}],"fr-par":[0,{cockpit:t,fnc:[2,{functions:t}],k8s:v,s3:t,"s3-website":t,whm:t}],instances:[0,{priv:t,pub:t}],k8s:t,"nl-ams":[0,{cockpit:t,k8s:v,s3:t,"s3-website":t,whm:t}],"pl-waw":[0,{cockpit:t,k8s:v,s3:t,"s3-website":t}],scalebook:t,smartlabeling:t}],servebolt:t,onstackit:[0,{runs:t}],trafficplex:t,"unison-services":t,urown:t,voorloper:t,zap:t}],club:[1,{cloudns:t,jele:t,barsy:t}],clubmed:e,coach:e,codes:[1,{owo:i}],coffee:e,college:e,cologne:e,commbank:e,community:[1,{nog:t,ravendb:t,myforum:t}],company:e,compare:e,computer:e,comsec:e,condos:e,construction:e,consulting:e,contact:e,contractors:e,cooking:e,cool:[1,{elementor:t,de:t}],corsica:e,country:e,coupon:e,coupons:e,courses:e,cpa:e,credit:e,creditcard:e,creditunion:e,cricket:e,crown:e,crs:e,cruise:e,cruises:e,cuisinella:e,cymru:e,cyou:e,dad:e,dance:e,data:e,date:e,dating:e,datsun:e,day:e,dclk:e,dds:e,deal:e,dealer:e,deals:e,degree:e,delivery:e,dell:e,deloitte:e,delta:e,democrat:e,dental:e,dentist:e,desi:e,design:[1,{graphic:t,bss:t}],dev:[1,{"12chars":t,myaddr:t,panel:t,lcl:i,lclstage:i,stg:i,stgstage:i,pages:t,r2:t,workers:t,deno:t,"deno-staging":t,deta:t,evervault:o,fly:t,githubpreview:t,gateway:i,hrsn:[2,{psl:[0,{sub:t,wc:[0,{"*":t,sub:i}]}]}],botdash:t,inbrowser:i,"is-a-good":t,"is-a":t,iserv:t,runcontainers:t,localcert:[0,{user:i}],loginline:t,barsy:t,mediatech:t,modx:t,ngrok:t,"ngrok-free":t,"is-a-fullstack":t,"is-cool":t,"is-not-a":t,localplayer:t,xmit:t,"platter-app":t,replit:[2,{archer:t,bones:t,canary:t,global:t,hacker:t,id:t,janeway:t,kim:t,kira:t,kirk:t,odo:t,paris:t,picard:t,pike:t,prerelease:t,reed:t,riker:t,sisko:t,spock:t,staging:t,sulu:t,tarpit:t,teams:t,tucker:t,wesley:t,worf:t}],crm:[0,{d:i,w:i,wa:i,wb:i,wc:i,wd:i,we:i,wf:i}],vercel:t,webhare:i}],dhl:e,diamonds:e,diet:e,digital:[1,{cloudapps:[2,{london:t}]}],direct:[1,{libp2p:t}],directory:e,discount:e,discover:e,dish:e,diy:e,dnp:e,docs:e,doctor:e,dog:e,domains:e,dot:e,download:e,drive:e,dtv:e,dubai:e,dunlop:e,dupont:e,durban:e,dvag:e,dvr:e,earth:e,eat:e,eco:e,edeka:e,education:C,email:[1,{crisp:[0,{on:t}],tawk:ae,tawkto:ae}],emerck:e,energy:e,engineer:e,engineering:e,enterprises:e,epson:e,equipment:e,ericsson:e,erni:e,esq:e,estate:[1,{compute:i}],eurovision:e,eus:[1,{party:ue}],events:[1,{koobin:t,co:t}],exchange:e,expert:e,exposed:e,express:e,extraspace:e,fage:e,fail:e,fairwinds:e,faith:e,family:e,fan:e,fans:e,farm:[1,{storj:t}],farmers:e,fashion:e,fast:e,fedex:e,feedback:e,ferrari:e,ferrero:e,fidelity:e,fido:e,film:e,final:e,finance:e,financial:C,fire:e,firestone:e,firmdale:e,fish:e,fishing:e,fit:e,fitness:e,flickr:e,flights:e,flir:e,florist:e,flowers:e,fly:e,foo:e,food:e,football:e,ford:e,forex:e,forsale:e,forum:e,foundation:e,fox:e,free:e,fresenius:e,frl:e,frogans:e,frontier:e,ftr:e,fujitsu:e,fun:e,fund:e,furniture:e,futbol:e,fyi:e,gal:e,gallery:e,gallo:e,gallup:e,game:e,games:[1,{pley:t,sheezy:t}],gap:e,garden:e,gay:[1,{pages:t}],gbiz:e,gdn:[1,{cnpy:t}],gea:e,gent:e,genting:e,george:e,ggee:e,gift:e,gifts:e,gives:e,giving:e,glass:e,gle:e,global:[1,{appwrite:t}],globo:e,gmail:e,gmbh:e,gmo:e,gmx:e,godaddy:e,gold:e,goldpoint:e,golf:e,goo:e,goodyear:e,goog:[1,{cloud:t,translate:t,usercontent:i}],google:e,gop:e,got:e,grainger:e,graphics:e,gratis:e,green:e,gripe:e,grocery:e,group:[1,{discourse:t}],gucci:e,guge:e,guide:e,guitars:e,guru:e,hair:e,hamburg:e,hangout:e,haus:e,hbo:e,hdfc:e,hdfcbank:e,health:[1,{hra:t}],healthcare:e,help:e,helsinki:e,here:e,hermes:e,hiphop:e,hisamitsu:e,hitachi:e,hiv:e,hkt:e,hockey:e,holdings:e,holiday:e,homedepot:e,homegoods:e,homes:e,homesense:e,honda:e,horse:e,hospital:e,host:[1,{cloudaccess:t,freesite:t,easypanel:t,fastvps:t,myfast:t,tempurl:t,wpmudev:t,jele:t,mircloud:t,wp2:t,half:t}],hosting:[1,{opencraft:t}],hot:e,hotels:e,hotmail:e,house:e,how:e,hsbc:e,hughes:e,hyatt:e,hyundai:e,ibm:e,icbc:e,ice:e,icu:e,ieee:e,ifm:e,ikano:e,imamat:e,imdb:e,immo:e,immobilien:e,inc:e,industries:e,infiniti:e,ing:e,ink:e,institute:e,insurance:e,insure:e,international:e,intuit:e,investments:e,ipiranga:e,irish:e,ismaili:e,ist:e,istanbul:e,itau:e,itv:e,jaguar:e,java:e,jcb:e,jeep:e,jetzt:e,jewelry:e,jio:e,jll:e,jmp:e,jnj:e,joburg:e,jot:e,joy:e,jpmorgan:e,jprs:e,juegos:e,juniper:e,kaufen:e,kddi:e,kerryhotels:e,kerryproperties:e,kfh:e,kia:e,kids:e,kim:e,kindle:e,kitchen:e,kiwi:e,koeln:e,komatsu:e,kosher:e,kpmg:e,kpn:e,krd:[1,{co:t,edu:t}],kred:e,kuokgroup:e,kyoto:e,lacaixa:e,lamborghini:e,lamer:e,lancaster:e,land:e,landrover:e,lanxess:e,lasalle:e,lat:e,latino:e,latrobe:e,law:e,lawyer:e,lds:e,lease:e,leclerc:e,lefrak:e,legal:e,lego:e,lexus:e,lgbt:e,lidl:e,life:e,lifeinsurance:e,lifestyle:e,lighting:e,like:e,lilly:e,limited:e,limo:e,lincoln:e,link:[1,{myfritz:t,cyon:t,dweb:i,inbrowser:i,nftstorage:te,mypep:t,storacha:te,w3s:te}],live:[1,{aem:t,hlx:t,ewp:i}],living:e,llc:e,llp:e,loan:e,loans:e,locker:e,locus:e,lol:[1,{omg:t}],london:e,lotte:e,lotto:e,love:e,lpl:e,lplfinancial:e,ltd:e,ltda:e,lundbeck:e,luxe:e,luxury:e,madrid:e,maif:e,maison:e,makeup:e,man:e,management:e,mango:e,map:e,market:e,marketing:e,markets:e,marriott:e,marshalls:e,mattel:e,mba:e,mckinsey:e,med:e,media:ve,meet:e,melbourne:e,meme:e,memorial:e,men:e,menu:[1,{barsy:t,barsyonline:t}],merck:e,merckmsd:e,miami:e,microsoft:e,mini:e,mint:e,mit:e,mitsubishi:e,mlb:e,mls:e,mma:e,mobile:e,moda:e,moe:e,moi:e,mom:[1,{ind:t}],monash:e,money:e,monster:e,mormon:e,mortgage:e,moscow:e,moto:e,motorcycles:e,mov:e,movie:e,msd:e,mtn:e,mtr:e,music:e,nab:e,nagoya:e,navy:e,nba:e,nec:e,netbank:e,netflix:e,network:[1,{alces:i,co:t,arvo:t,azimuth:t,tlon:t}],neustar:e,new:e,news:[1,{noticeable:t}],next:e,nextdirect:e,nexus:e,nfl:e,ngo:e,nhk:e,nico:e,nike:e,nikon:e,ninja:e,nissan:e,nissay:e,nokia:e,norton:e,now:e,nowruz:e,nowtv:e,nra:e,nrw:e,ntt:e,nyc:e,obi:e,observer:e,office:e,okinawa:e,olayan:e,olayangroup:e,ollo:e,omega:e,one:[1,{kin:i,service:t}],ong:[1,{obl:t}],onl:e,online:[1,{eero:t,"eero-stage":t,websitebuilder:t,barsy:t}],ooo:e,open:e,oracle:e,orange:[1,{tech:t}],organic:e,origins:e,osaka:e,otsuka:e,ott:e,ovh:[1,{nerdpol:t}],page:[1,{aem:t,hlx:t,hlx3:t,translated:t,codeberg:t,heyflow:t,prvcy:t,rocky:t,pdns:t,plesk:t}],panasonic:e,paris:e,pars:e,partners:e,parts:e,party:e,pay:e,pccw:e,pet:e,pfizer:e,pharmacy:e,phd:e,philips:e,phone:e,photo:e,photography:e,photos:ve,physio:e,pics:e,pictet:e,pictures:[1,{1337:t}],pid:e,pin:e,ping:e,pink:e,pioneer:e,pizza:[1,{ngrok:t}],place:C,play:e,playstation:e,plumbing:e,plus:e,pnc:e,pohl:e,poker:e,politie:e,porn:e,pramerica:e,praxi:e,press:e,prime:e,prod:e,productions:e,prof:e,progressive:e,promo:e,properties:e,property:e,protection:e,pru:e,prudential:e,pub:[1,{id:i,kin:i,barsy:t}],pwc:e,qpon:e,quebec:e,quest:e,racing:e,radio:e,read:e,realestate:e,realtor:e,realty:e,recipes:e,red:e,redstone:e,redumbrella:e,rehab:e,reise:e,reisen:e,reit:e,reliance:e,ren:e,rent:e,rentals:e,repair:e,report:e,republican:e,rest:e,restaurant:e,review:e,reviews:e,rexroth:e,rich:e,richardli:e,ricoh:e,ril:e,rio:e,rip:[1,{clan:t}],rocks:[1,{myddns:t,stackit:t,"lima-city":t,webspace:t}],rodeo:e,rogers:e,room:e,rsvp:e,rugby:e,ruhr:e,run:[1,{appwrite:i,development:t,ravendb:t,liara:[2,{iran:t}],servers:t,build:i,code:i,database:i,migration:i,onporter:t,repl:t,stackit:t,val:[2,{web:t}],wix:t}],rwe:e,ryukyu:e,saarland:e,safe:e,safety:e,sakura:e,sale:e,salon:e,samsclub:e,samsung:e,sandvik:e,sandvikcoromant:e,sanofi:e,sap:e,sarl:e,sas:e,save:e,saxo:e,sbi:e,sbs:e,scb:e,schaeffler:e,schmidt:e,scholarships:e,school:e,schule:e,schwarz:e,science:e,scot:[1,{gov:[2,{service:t}]}],search:e,seat:e,secure:e,security:e,seek:e,select:e,sener:e,services:[1,{loginline:t}],seven:e,sew:e,sex:e,sexy:e,sfr:e,shangrila:e,sharp:e,shell:e,shia:e,shiksha:e,shoes:e,shop:[1,{base:t,hoplix:t,barsy:t,barsyonline:t,shopware:t}],shopping:e,shouji:e,show:e,silk:e,sina:e,singles:e,site:[1,{square:t,canva:b,cloudera:i,convex:t,cyon:t,fastvps:t,figma:t,heyflow:t,jele:t,jouwweb:t,loginline:t,barsy:t,notion:t,omniwe:t,opensocial:t,madethis:t,platformsh:i,tst:i,byen:t,srht:t,novecore:t,cpanel:t,wpsquared:t}],ski:e,skin:e,sky:e,skype:e,sling:e,smart:e,smile:e,sncf:e,soccer:e,social:e,softbank:e,software:e,sohu:e,solar:e,solutions:e,song:e,sony:e,soy:e,spa:e,space:[1,{myfast:t,heiyu:t,hf:[2,{static:t}],"app-ionos":t,project:t,uber:t,xs4all:t}],sport:e,spot:e,srl:e,stada:e,staples:e,star:e,statebank:e,statefarm:e,stc:e,stcgroup:e,stockholm:e,storage:e,store:[1,{barsy:t,sellfy:t,shopware:t,storebase:t}],stream:e,studio:e,study:e,style:e,sucks:e,supplies:e,supply:e,support:[1,{barsy:t}],surf:e,surgery:e,suzuki:e,swatch:e,swiss:e,sydney:e,systems:[1,{knightpoint:t}],tab:e,taipei:e,talk:e,taobao:e,target:e,tatamotors:e,tatar:e,tattoo:e,tax:e,taxi:e,tci:e,tdk:e,team:[1,{discourse:t,jelastic:t}],tech:[1,{cleverapps:t}],technology:C,temasek:e,tennis:e,teva:e,thd:e,theater:e,theatre:e,tiaa:e,tickets:e,tienda:e,tips:e,tires:e,tirol:e,tjmaxx:e,tjx:e,tkmaxx:e,tmall:e,today:[1,{prequalifyme:t}],tokyo:e,tools:[1,{addr:xe,myaddr:t}],top:[1,{ntdll:t,wadl:i}],toray:e,toshiba:e,total:e,tours:e,town:e,toyota:e,toys:e,trade:e,trading:e,training:e,travel:e,travelers:e,travelersinsurance:e,trust:e,trv:e,tube:e,tui:e,tunes:e,tushu:e,tvs:e,ubank:e,ubs:e,unicom:e,university:e,uno:e,uol:e,ups:e,vacations:e,vana:e,vanguard:e,vegas:e,ventures:e,verisign:e,versicherung:e,vet:e,viajes:e,video:e,vig:e,viking:e,villas:e,vin:e,vip:e,virgin:e,visa:e,vision:e,viva:e,vivo:e,vlaanderen:e,vodka:e,volvo:e,vote:e,voting:e,voto:e,voyage:e,wales:e,walmart:e,walter:e,wang:e,wanggou:e,watch:e,watches:e,weather:e,weatherchannel:e,webcam:e,weber:e,website:ve,wed:e,wedding:e,weibo:e,weir:e,whoswho:e,wien:e,wiki:ve,williamhill:e,win:e,windows:e,wine:e,winners:e,wme:e,wolterskluwer:e,woodside:e,work:e,works:e,world:e,wow:e,wtc:e,wtf:e,xbox:e,xerox:e,xihuan:e,xin:e,"xn--11b4c3d":e,\u0915\u0949\u092E:e,"xn--1ck2e1b":e,\u30BB\u30FC\u30EB:e,"xn--1qqw23a":e,\u4F5B\u5C71:e,"xn--30rr7y":e,\u6148\u5584:e,"xn--3bst00m":e,\u96C6\u56E2:e,"xn--3ds443g":e,\u5728\u7EBF:e,"xn--3pxu8k":e,\u70B9\u770B:e,"xn--42c2d9a":e,\u0E04\u0E2D\u0E21:e,"xn--45q11c":e,\u516B\u5366:e,"xn--4gbrim":e,\u0645\u0648\u0642\u0639:e,"xn--55qw42g":e,\u516C\u76CA:e,"xn--55qx5d":e,\u516C\u53F8:e,"xn--5su34j936bgsg":e,\u9999\u683C\u91CC\u62C9:e,"xn--5tzm5g":e,\u7F51\u7AD9:e,"xn--6frz82g":e,\u79FB\u52A8:e,"xn--6qq986b3xl":e,\u6211\u7231\u4F60:e,"xn--80adxhks":e,\u043C\u043E\u0441\u043A\u0432\u0430:e,"xn--80aqecdr1a":e,\u043A\u0430\u0442\u043E\u043B\u0438\u043A:e,"xn--80asehdb":e,\u043E\u043D\u043B\u0430\u0439\u043D:e,"xn--80aswg":e,\u0441\u0430\u0439\u0442:e,"xn--8y0a063a":e,\u8054\u901A:e,"xn--9dbq2a":e,\u05E7\u05D5\u05DD:e,"xn--9et52u":e,\u65F6\u5C1A:e,"xn--9krt00a":e,\u5FAE\u535A:e,"xn--b4w605ferd":e,\u6DE1\u9A6C\u9521:e,"xn--bck1b9a5dre4c":e,\u30D5\u30A1\u30C3\u30B7\u30E7\u30F3:e,"xn--c1avg":e,\u043E\u0440\u0433:e,"xn--c2br7g":e,\u0928\u0947\u091F:e,"xn--cck2b3b":e,\u30B9\u30C8\u30A2:e,"xn--cckwcxetd":e,\u30A2\u30DE\u30BE\u30F3:e,"xn--cg4bki":e,\uC0BC\uC131:e,"xn--czr694b":e,\u5546\u6807:e,"xn--czrs0t":e,\u5546\u5E97:e,"xn--czru2d":e,\u5546\u57CE:e,"xn--d1acj3b":e,\u0434\u0435\u0442\u0438:e,"xn--eckvdtc9d":e,\u30DD\u30A4\u30F3\u30C8:e,"xn--efvy88h":e,\u65B0\u95FB:e,"xn--fct429k":e,\u5BB6\u96FB:e,"xn--fhbei":e,\u0643\u0648\u0645:e,"xn--fiq228c5hs":e,\u4E2D\u6587\u7F51:e,"xn--fiq64b":e,\u4E2D\u4FE1:e,"xn--fjq720a":e,\u5A31\u4E50:e,"xn--flw351e":e,\u8C37\u6B4C:e,"xn--fzys8d69uvgm":e,\u96FB\u8A0A\u76C8\u79D1:e,"xn--g2xx48c":e,\u8D2D\u7269:e,"xn--gckr3f0f":e,\u30AF\u30E9\u30A6\u30C9:e,"xn--gk3at1e":e,\u901A\u8CA9:e,"xn--hxt814e":e,\u7F51\u5E97:e,"xn--i1b6b1a6a2e":e,\u0938\u0902\u0917\u0920\u0928:e,"xn--imr513n":e,\u9910\u5385:e,"xn--io0a7i":e,\u7F51\u7EDC:e,"xn--j1aef":e,\u043A\u043E\u043C:e,"xn--jlq480n2rg":e,\u4E9A\u9A6C\u900A:e,"xn--jvr189m":e,\u98DF\u54C1:e,"xn--kcrx77d1x4a":e,\u98DE\u5229\u6D66:e,"xn--kput3i":e,\u624B\u673A:e,"xn--mgba3a3ejt":e,\u0627\u0631\u0627\u0645\u0643\u0648:e,"xn--mgba7c0bbn0a":e,\u0627\u0644\u0639\u0644\u064A\u0627\u0646:e,"xn--mgbab2bd":e,\u0628\u0627\u0632\u0627\u0631:e,"xn--mgbca7dzdo":e,\u0627\u0628\u0648\u0638\u0628\u064A:e,"xn--mgbi4ecexp":e,\u0643\u0627\u062B\u0648\u0644\u064A\u0643:e,"xn--mgbt3dhd":e,\u0647\u0645\u0631\u0627\u0647:e,"xn--mk1bu44c":e,\uB2F7\uCEF4:e,"xn--mxtq1m":e,\u653F\u5E9C:e,"xn--ngbc5azd":e,\u0634\u0628\u0643\u0629:e,"xn--ngbe9e0a":e,\u0628\u064A\u062A\u0643:e,"xn--ngbrx":e,\u0639\u0631\u0628:e,"xn--nqv7f":e,\u673A\u6784:e,"xn--nqv7fs00ema":e,\u7EC4\u7EC7\u673A\u6784:e,"xn--nyqy26a":e,\u5065\u5EB7:e,"xn--otu796d":e,\u62DB\u8058:e,"xn--p1acf":[1,{"xn--90amc":t,"xn--j1aef":t,"xn--j1ael8b":t,"xn--h1ahn":t,"xn--j1adp":t,"xn--c1avg":t,"xn--80aaa0cvac":t,"xn--h1aliz":t,"xn--90a1af":t,"xn--41a":t}],\u0440\u0443\u0441:[1,{\u0431\u0438\u0437:t,\u043A\u043E\u043C:t,\u043A\u0440\u044B\u043C:t,\u043C\u0438\u0440:t,\u043C\u0441\u043A:t,\u043E\u0440\u0433:t,\u0441\u0430\u043C\u0430\u0440\u0430:t,\u0441\u043E\u0447\u0438:t,\u0441\u043F\u0431:t,\u044F:t}],"xn--pssy2u":e,\u5927\u62FF:e,"xn--q9jyb4c":e,\u307F\u3093\u306A:e,"xn--qcka1pmc":e,\u30B0\u30FC\u30B0\u30EB:e,"xn--rhqv96g":e,\u4E16\u754C:e,"xn--rovu88b":e,\u66F8\u7C4D:e,"xn--ses554g":e,\u7F51\u5740:e,"xn--t60b56a":e,\uB2F7\uB137:e,"xn--tckwe":e,\u30B3\u30E0:e,"xn--tiq49xqyj":e,\u5929\u4E3B\u6559:e,"xn--unup4y":e,\u6E38\u620F:e,"xn--vermgensberater-ctb":e,verm\u00F6gensberater:e,"xn--vermgensberatung-pwb":e,verm\u00F6gensberatung:e,"xn--vhquv":e,\u4F01\u4E1A:e,"xn--vuq861b":e,\u4FE1\u606F:e,"xn--w4r85el8fhu5dnra":e,\u5609\u91CC\u5927\u9152\u5E97:e,"xn--w4rs40l":e,\u5609\u91CC:e,"xn--xhq521b":e,\u5E7F\u4E1C:e,"xn--zfr164b":e,\u653F\u52A1:e,xyz:[1,{botdash:t,telebit:i}],yachts:e,yahoo:e,yamaxun:e,yandex:e,yodobashi:e,yoga:e,yokohama:e,you:e,youtube:e,yun:e,zappos:e,zara:e,zero:e,zip:e,zone:[1,{cloud66:t,triton:i,stackit:t,lima:t}],zuerich:e}]}();function Px(e,t,n,r){let i=null,a=t;for(;a!==void 0&&(a[0]&r&&(i={index:n+1,isIcann:a[0]===1,isPrivate:a[0]===2}),n!==-1);){let o=a[1];a=Object.prototype.hasOwnProperty.call(o,e[n])?o[e[n]]:o["*"],n-=1}return i}function WU(e,t,n){var r;if(Dx(e,t,n))return;let i=e.split("."),a=(t.allowPrivateDomains?2:0)|(t.allowIcannDomains?1:0),o=Px(i,VU,i.length-1,a);if(o!==null){n.isIcann=o.isIcann,n.isPrivate=o.isPrivate,n.publicSuffix=i.slice(o.index+1).join(".");return}let s=Px(i,GU,i.length-1,a);if(s!==null){n.isIcann=s.isIcann,n.isPrivate=s.isPrivate,n.publicSuffix=i.slice(s.index).join(".");return}n.isIcann=!1,n.isPrivate=!1,n.publicSuffix=(r=i[i.length-1])!==null&&r!==void 0?r:null}var Rx=Mx();function cu(e,t={}){return Ix(Rx),Lx(e,3,WU,t,Rx).domain}var Nx=Bg.alert;function Je(){try{return w4(globalThis.location.href)?!1:globalThis.self!==globalThis.top}catch{return!0}}function w4(e){if(!e)return!1;let t=i=>{let a=i.startsWith("/")?i:`/${i}`;return a.endsWith("/")?a:`${a}/`},n=[j.EBOOK_BUILDER_URL,j.EBOOK_VIEWER_URL,j.SUBTITLE_BUILDER_URL,j.HTML_VIEWER_URL,j.PDF_VIEWER_URL].filter(i=>!!i),r=[j.APP_BASE_URL];Oo()||r.push("localhost:38001");try{let i=new URL(e),a=new Set;r.forEach(l=>{try{a.add(new URL(l).host)}catch{a.add(l.replace(/^https?:\/\//,""))}});let o=n.map(l=>{let c=new URL(l);return{host:c.host,pathname:t(c.pathname)}});if(o.forEach(l=>a.add(l.host)),!a.has(i.host))return!1;let s=t(i.pathname);return!!o.find(l=>s===l.pathname||s.startsWith(l.pathname))}catch{return!1}}var fde=Me();function Fx(e,t){let n=[];for(let r of t){let i=e.querySelectorAll(r);for(let a of i)n.push(a)}return n}function A4(e,t){return e.nodeType===Node.ELEMENT_NODE?!Oi(e,{blockSelectors:t.blockSelectors,extraInlineSelectors:t.extraInlineSelectors,extraBlockSelectors:t.extraBlockSelectors,atomicBlockSelectors:t.atomicBlockSelectors},globalThis.getComputedStyle(e)||null):!1}function qU(e,t,n){if(!(e.nodeType===Node.ELEMENT_NODE||e.nodeType===Node.TEXT_NODE)||e.nodeType===Node.ELEMENT_NODE&&Wg(e,J5,!0))return!0;if(e.nodeType===Node.ELEMENT_NODE&&Wg(e,V5))return!1;let{stayOriginalTags:r,excludeTags:i}=t,a=[];return n&&i&&i.length>0?a=i||[]:a=i.filter(o=>!r.includes(o)),!!(e.nodeType===Node.ELEMENT_NODE&&(e.getAttribute("translate")==="no"||e.classList.contains("notranslate"))||KU(e.nodeName,a))}function du(e,t,n){if(!e)return!1;let r=e.trim();return!Ox(r)&&r.length>=n||r.length>=t}function Bx(e,t,n){let r=e.trim();if(r.length<=t)return!0;if(Ox(r)){if(r.split(" ").length<=n)return!0}else if(r.length<=n)return!0;return!1}function Ox(e){for(let t=0;t<e.length;t++)if(e.charCodeAt(t)>127)return!1;return!0}function _x(e){if(e&&e.includes("://")&&!e.includes(" ")&&e.length<512)try{return new URL(e),!0}catch{return!1}else return!1}function Ux(e){return e?/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/.test(e):!1}function jx(e){return e?/^[_\d:\-+\.。，,% ]+$/.test(e):!1}function zx(e){if(e&&e.startsWith("#")){if(e.split("#").length>2)return!1;if(e.indexOf(" ")===-1)return!0}return!1}function Hx(e){return!!(e&&e.startsWith("@")&&e.indexOf(" ")===-1)}function Vx(e){return(e?.innerText||e?.textContent||"")?.trim()}function qg(e){return e?typeof e=="string"?document.querySelector(e)!==null:e.some(t=>document.querySelector(t)):!1}function Wg(e,t,n=!1){return k4(e,t,"1",n)}function k4(e,t,n,r=!1){return r?e.dataset?.[t]===n:e[lr]?e[lr]?.[t]===n:!1}function M4(e,t,n=!1){return n?e.dataset[t]!==void 0:e[lr]?!!(e[lr]&&e[lr][t]):!1}function cn(e,t,n,r=!1,i=!1){e.isContentEditable&&!i||(r?e.dataset[t]!==n&&(e.dataset[t]=n):(e[lr]||(e[lr]={}),e[lr][t]=n))}function Ec(e,t,n=!1){if(n)delete e.dataset[t];else{if(!e[lr]||!e[lr][t])return;delete e[lr][t]}}function Gx(e,t,n=!1){return n?e.dataset[t]:!e[lr]||!e[lr][t]?void 0:e[lr][t]}function Ne(){if(!globalThis||!globalThis.location)return"https://example.com";if(!Je())return globalThis.location.href;try{let t=globalThis.location.href,n=new URL(t);if(n.protocol==="about:"||n.protocol==="blob:"){if(globalThis.location.ancestorOrigins&&globalThis.location.ancestorOrigins.length>0)return globalThis.location.ancestorOrigins[0];let r="";try{r=globalThis.parent.location.href}catch{}return r||(globalThis.location!=globalThis.parent.location?document.referrer:document.location.href)}else return t}catch{}return globalThis.location.href}function qt(e,t,n){try{if(e instanceof ShadowRoot){e.appendChild(document.createElement("style")).textContent=t;return}if(e?.head?.appendChild){let r=e.createElement("style");if(n){let i=e.querySelector(`style[data-id="${n}"]`);i&&i.remove(),r.dataset.id=n}r.textContent=t,e.head.appendChild(r)}else if(e){let r=document.createElement("head"),i=document.createElement("style");i.textContent=t,r.appendChild(i),e.appendChild?.(r)}else k.warn("injectCSS failed, rootDocument does not have head node",e)}catch(r){k.warn("injectCSS failed, rootDocument"+r?.message,e)}}function gu(e){try{let t=e.getAttribute("src");if(t&&t!=="about:blank")try{if(new URL(t,globalThis.location.href).origin!==globalThis.location.origin)return!1}catch{return!1}let n=e?.contentWindow?.document;return n?.body?!!!n.querySelector(`[data-id="${zd}"]`):!1}catch{}return!1}function KU(e,t){if(!e||!t)return!1;Array.isArray(t)||(t=[t]),e=e.toUpperCase();for(let n of t)if(e===n)return!0;return!1}function Wx(e){let t=e.replace("#",""),n=parseInt(t.substring(0,2),16),r=parseInt(t.substring(2,4),16),i=parseInt(t.substring(4,6),16);return{r:n,g:r,b:i}}function qx(e,t,n,r){if(r.document.caretPositionFromPoint){let i=r.document.caretPositionFromPoint(e,t);if(i){let a=r.document.createRange(),o=i.offsetNode;if(o instanceof HTMLElement){if(o?.parentNode?.shadowRoot)return o.parentNode;let s=[...o.childNodes].find(u=>!!u?.shadowRoot);if(s)return I4(s,e,t);if(o.nodeType!==Node.TEXT_NODE)return null}if(qU(o,n,!0))return null;try{a.setStart(o,i.offset),a.setEnd(o,i.offset)}catch(s){return k.warn("getRangeFromPoint error",s),null}return a}return null}else return r.document.caretRangeFromPoint?r.document.caretRangeFromPoint(e,t):null}function I4(e,t,n){let r=0,i=(a,o,s,u)=>{if(++r>100||u===a)return a;let l=a.shadowRoot;if(!l||typeof l.elementFromPoint!="function")return a;let c=l.elementFromPoint(o,s);return c?i(c,o,s,a):a};return i(e,t,n)}function Kx(e,t,n,r){try{if(r.document.elementsFromPoint){let a=r.document.elementsFromPoint(e,t).find(c=>c.nodeName==="IMG");if(!a)return null;let o=a.getBoundingClientRect(),s=n.imageRule,u=s?.hoverMinHeight||100,l=s?.hoverMinWidth||100;return o.width<l||o.height<u?null:a}}catch{}}function wc(e){let t=e?.toLowerCase();return t?.startsWith("mjx-")||t?.includes("math")||t?.startsWith("latex")}var Jg,Xe,Xx,QU,Ac,Qx,$x,Qg={},eC=[],YU=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function Ja(e,t){for(var n in t)e[n]=t[n];return e}function tC(e){var t=e.parentNode;t&&t.removeChild(e)}function Mc(e,t,n){var r,i,a,o={};for(a in t)a=="key"?r=t[a]:a=="ref"?i=t[a]:o[a]=t[a];if(arguments.length>2&&(o.children=arguments.length>3?Jg.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(a in e.defaultProps)o[a]===void 0&&(o[a]=e.defaultProps[a]);return Kg(e,o,r,i,null)}function Kg(e,t,n,r,i){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:i??++Xx};return i==null&&Xe.vnode!=null&&Xe.vnode(a),a}function Oe(e){return e.children}function kc(e,t){this.props=e,this.context=t}function mu(e,t){if(t==null)return e.__?mu(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?mu(e):null}function nC(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return nC(e)}}function L4(e){(!e.__d&&(e.__d=!0)&&Ac.push(e)&&!Yg.__r++||Qx!==Xe.debounceRendering)&&((Qx=Xe.debounceRendering)||setTimeout)(Yg)}function Yg(){for(var e;Yg.__r=Ac.length;)e=Ac.sort(function(t,n){return t.__v.__b-n.__v.__b}),Ac=[],e.some(function(t){var n,r,i,a,o,s;t.__d&&(o=(a=(n=t).__v).__e,(s=n.__P)&&(r=[],(i=Ja({},a)).__v=a.__v+1,D4(s,a,i,n.__n,s.ownerSVGElement!==void 0,a.__h!=null?[o]:null,r,o??mu(a),a.__h),oC(r,a),a.__e!=o&&nC(a)))})}function rC(e,t,n,r,i,a,o,s,u,l){var c,d,g,f,p,h,C,y=r&&r.__k||eC,v=y.length;for(n.__k=[],c=0;c<t.length;c++)if((f=n.__k[c]=(f=t[c])==null||typeof f=="boolean"?null:typeof f=="string"||typeof f=="number"||typeof f=="bigint"?Kg(null,f,null,null,f):Array.isArray(f)?Kg(Oe,{children:f},null,null,null):f.__b>0?Kg(f.type,f.props,f.key,f.ref?f.ref:null,f.__v):f)!=null){if(f.__=n,f.__b=n.__b+1,(g=y[c])===null||g&&f.key==g.key&&f.type===g.type)y[c]=void 0;else for(d=0;d<v;d++){if((g=y[d])&&f.key==g.key&&f.type===g.type){y[d]=void 0;break}g=null}D4(e,f,g=g||Qg,i,a,o,s,u,l),p=f.__e,(d=f.ref)&&g.ref!=d&&(C||(C=[]),g.ref&&C.push(g.ref,null,f),C.push(d,f.__c||p,f)),p!=null?(h==null&&(h=p),typeof f.type=="function"&&f.__k===g.__k?f.__d=u=iC(f,u,e):u=aC(e,f,g,y,p,u),typeof n.type=="function"&&(n.__d=u)):u&&g.__e==u&&u.parentNode!=e&&(u=mu(g))}for(n.__e=h,c=v;c--;)y[c]!=null&&(typeof n.type=="function"&&y[c].__e!=null&&y[c].__e==n.__d&&(n.__d=mu(r,c+1)),uC(y[c],y[c]));if(C)for(c=0;c<C.length;c++)sC(C[c],C[++c],C[++c])}function iC(e,t,n){for(var r,i=e.__k,a=0;i&&a<i.length;a++)(r=i[a])&&(r.__=e,t=typeof r.type=="function"?iC(r,t,n):aC(n,r,r,i,r.__e,t));return t}function aC(e,t,n,r,i,a){var o,s,u;if(t.__d!==void 0)o=t.__d,t.__d=void 0;else if(n==null||i!=a||i.parentNode==null)e:if(a==null||a.parentNode!==e)e.appendChild(i),o=null;else{for(s=a,u=0;(s=s.nextSibling)&&u<r.length;u+=2)if(s==i)break e;e.insertBefore(i,a),o=a}return o!==void 0?o:i.nextSibling}function ZU(e,t,n,r,i){var a;for(a in n)a==="children"||a==="key"||a in t||Zg(e,a,null,n[a],r);for(a in t)i&&typeof t[a]!="function"||a==="children"||a==="key"||a==="value"||a==="checked"||n[a]===t[a]||Zg(e,a,t[a],n[a],r)}function Yx(e,t,n){t[0]==="-"?e.setProperty(t,n):e[t]=n==null?"":typeof n!="number"||YU.test(t)?n:n+"px"}function Zg(e,t,n,r,i){var a;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Yx(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Yx(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")a=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=n,n?r||e.addEventListener(t,a?Jx:Zx,a):e.removeEventListener(t,a?Jx:Zx,a);else if(t!=="dangerouslySetInnerHTML"){if(i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n!=null&&(n!==!1||t[0]==="a"&&t[1]==="r")?e.setAttribute(t,n):e.removeAttribute(t))}}function Zx(e){this.l[e.type+!1](Xe.event?Xe.event(e):e)}function Jx(e){this.l[e.type+!0](Xe.event?Xe.event(e):e)}function D4(e,t,n,r,i,a,o,s,u){var l,c,d,g,f,p,h,C,y,v,b,x,T,S=t.type;if(t.constructor!==void 0)return null;n.__h!=null&&(u=n.__h,s=t.__e=n.__e,t.__h=null,a=[s]),(l=Xe.__b)&&l(t);try{e:if(typeof S=="function"){if(C=t.props,y=(l=S.contextType)&&r[l.__c],v=l?y?y.props.value:l.__:r,n.__c?h=(c=t.__c=n.__c).__=c.__E:("prototype"in S&&S.prototype.render?t.__c=c=new S(C,v):(t.__c=c=new kc(C,v),c.constructor=S,c.render=XU),y&&y.sub(c),c.props=C,c.state||(c.state={}),c.context=v,c.__n=r,d=c.__d=!0,c.__h=[]),c.__s==null&&(c.__s=c.state),S.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Ja({},c.__s)),Ja(c.__s,S.getDerivedStateFromProps(C,c.__s))),g=c.props,f=c.state,d)S.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(S.getDerivedStateFromProps==null&&C!==g&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(C,v),!c.__e&&c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(C,c.__s,v)===!1||t.__v===n.__v){c.props=C,c.state=c.__s,t.__v!==n.__v&&(c.__d=!1),c.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(E){E&&(E.__=t)}),c.__h.length&&o.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(C,c.__s,v),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(g,f,p)})}if(c.context=v,c.props=C,c.__v=t,c.__P=e,b=Xe.__r,x=0,"prototype"in S&&S.prototype.render)c.state=c.__s,c.__d=!1,b&&b(t),l=c.render(c.props,c.state,c.context);else do c.__d=!1,b&&b(t),l=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++x<25);c.state=c.__s,c.getChildContext!=null&&(r=Ja(Ja({},r),c.getChildContext())),d||c.getSnapshotBeforeUpdate==null||(p=c.getSnapshotBeforeUpdate(g,f)),T=l!=null&&l.type===Oe&&l.key==null?l.props.children:l,rC(e,Array.isArray(T)?T:[T],t,n,r,i,a,o,s,u),c.base=t.__e,t.__h=null,c.__h.length&&o.push(c),h&&(c.__E=c.__=null),c.__e=!1}else a==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=JU(n.__e,t,n,r,i,a,o,u);(l=Xe.diffed)&&l(t)}catch(E){t.__v=null,(u||a!=null)&&(t.__e=s,t.__h=!!u,a[a.indexOf(s)]=null),Xe.__e(E,t,n)}}function oC(e,t){Xe.__c&&Xe.__c(t,e),e.some(function(n){try{e=n.__h,n.__h=[],e.some(function(r){r.call(n)})}catch(r){Xe.__e(r,n.__v)}})}function JU(e,t,n,r,i,a,o,s){var u,l,c,d=n.props,g=t.props,f=t.type,p=0;if(f==="svg"&&(i=!0),a!=null){for(;p<a.length;p++)if((u=a[p])&&"setAttribute"in u==!!f&&(f?u.localName===f:u.nodeType===3)){e=u,a[p]=null;break}}if(e==null){if(f===null)return document.createTextNode(g);e=i?document.createElementNS("http://www.w3.org/2000/svg",f):document.createElement(f,g.is&&g),a=null,s=!1}if(f===null)d===g||s&&e.data===g||(e.data=g);else{if(a=a&&Jg.call(e.childNodes),l=(d=n.props||Qg).dangerouslySetInnerHTML,c=g.dangerouslySetInnerHTML,!s){if(a!=null)for(d={},p=0;p<e.attributes.length;p++)d[e.attributes[p].name]=e.attributes[p].value;(c||l)&&(c&&(l&&c.__html==l.__html||c.__html===e.innerHTML)||(e.innerHTML=c&&c.__html||""))}if(ZU(e,g,d,i,s),c)t.__k=[];else if(p=t.props.children,rC(e,Array.isArray(p)?p:[p],t,n,r,i&&f!=="foreignObject",a,o,a?a[0]:n.__k&&mu(n,0),s),a!=null)for(p=a.length;p--;)a[p]!=null&&tC(a[p]);s||("value"in g&&(p=g.value)!==void 0&&(p!==e.value||f==="progress"&&!p||f==="option"&&p!==d.value)&&Zg(e,"value",p,d.value,!1),"checked"in g&&(p=g.checked)!==void 0&&p!==e.checked&&Zg(e,"checked",p,d.checked,!1))}return e}function sC(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){Xe.__e(r,n)}}function uC(e,t,n){var r,i;if(Xe.unmount&&Xe.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||sC(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(a){Xe.__e(a,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&uC(r[i],t,typeof e.type!="function");n||e.__e==null||tC(e.__e),e.__=e.__e=e.__d=void 0}function XU(e,t,n){return this.constructor(e,n)}function Zt(e,t,n){var r,i,a;Xe.__&&Xe.__(e,t),i=(r=typeof n=="function")?null:n&&n.__k||t.__k,a=[],D4(t,e=(!r&&n||t).__k=Mc(Oe,null,[e]),i||Qg,Qg,t.ownerSVGElement!==void 0,!r&&n?[n]:i?null:t.firstChild?Jg.call(t.childNodes):null,a,!r&&n?n:i?i.__e:t.firstChild,r),oC(a,e)}function Xa(e,t){var n={__c:t="__cC"+$x++,__:e,Consumer:function(r,i){return r.children(i)},Provider:function(r){var i,a;return this.getChildContext||(i=[],(a={})[t]=this,this.getChildContext=function(){return a},this.shouldComponentUpdate=function(o){this.props.value!==o.value&&i.some(L4)},this.sub=function(o){i.push(o);var s=o.componentWillUnmount;o.componentWillUnmount=function(){i.splice(i.indexOf(o),1),s&&s.call(o)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}Jg=eC.slice,Xe={__e:function(e,t,n,r){for(var i,a,o;t=t.__;)if((i=t.__c)&&!i.__)try{if((a=i.constructor)&&a.getDerivedStateFromError!=null&&(i.setState(a.getDerivedStateFromError(e)),o=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,r||{}),o=i.__d),o)return i.__E=i}catch(s){e=s}throw e}},Xx=0,QU=function(e){return e!=null&&e.constructor===void 0},kc.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ja({},this.state),typeof e=="function"&&(e=e(Ja({},n),this.props)),e&&Ja(n,e),e!=null&&this.__v&&(t&&this.__h.push(t),L4(this))},kc.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),L4(this))},kc.prototype.render=Oe,Ac=[],Yg.__r=0,$x=0;var fu,Jt,P4,lC,Ic=0,hC=[],Xg=[],cC=Xe.__b,dC=Xe.__r,gC=Xe.diffed,mC=Xe.__c,fC=Xe.unmount;function Lc(e,t){Xe.__h&&Xe.__h(Jt,e,Ic||t),Ic=0;var n=Jt.__H||(Jt.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Xg}),n.__[e]}function z(e){return Ic=1,$U(yC,e)}function $U(e,t,n){var r=Lc(fu++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):yC(void 0,t),function(a){var o=r.__N?r.__N[0]:r.__[0],s=r.t(o,a);o!==s&&(r.__N=[s,r.__[1]],r.__c.setState({}))}],r.__c=Jt,!Jt.u)){Jt.u=!0;var i=Jt.shouldComponentUpdate;Jt.shouldComponentUpdate=function(a,o,s){if(!r.__c.__H)return!0;var u=r.__c.__H.__.filter(function(c){return c.__c});if(u.every(function(c){return!c.__N}))return!i||i.call(this,a,o,s);var l=!1;return u.forEach(function(c){if(c.__N){var d=c.__[0];c.__=c.__N,c.__N=void 0,d!==c.__[0]&&(l=!0)}}),!!l&&(!i||i.call(this,a,o,s))}}return r.__N||r.__}function G(e,t){var n=Lc(fu++,3);!Xe.__s&&N4(n.__H,t)&&(n.__=e,n.i=t,Jt.__H.__h.push(n))}function Zn(e,t){var n=Lc(fu++,4);!Xe.__s&&N4(n.__H,t)&&(n.__=e,n.i=t,Jt.__h.push(n))}function $(e){return Ic=5,de(function(){return{current:e}},[])}function de(e,t){var n=Lc(fu++,7);return N4(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function Te(e,t){return Ic=8,de(function(){return e},t)}function pu(e){var t=Jt.context[e.__c],n=Lc(fu++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(Jt)),t.props.value):e.__}function ej(){for(var e;e=hC.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach($g),e.__H.__h.forEach(R4),e.__H.__h=[]}catch(t){e.__H.__h=[],Xe.__e(t,e.__v)}}Xe.__b=function(e){typeof e.type!="function"||e.o||e.type===Oe?e.o||(e.o=e.__&&e.__.o?e.__.o:""):e.o=(e.__&&e.__.o?e.__.o:"")+(e.__&&e.__.__k?e.__.__k.indexOf(e):0),Jt=null,cC&&cC(e)},Xe.__r=function(e){dC&&dC(e),fu=0;var t=(Jt=e.__c).__H;t&&(P4===Jt?(t.__h=[],Jt.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=Xg,n.__N=n.i=void 0})):(t.__h.forEach($g),t.__h.forEach(R4),t.__h=[])),P4=Jt},Xe.diffed=function(e){gC&&gC(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(hC.push(t)!==1&&lC===Xe.requestAnimationFrame||((lC=Xe.requestAnimationFrame)||tj)(ej)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==Xg&&(n.__=n.__V),n.i=void 0,n.__V=Xg})),P4=Jt=null},Xe.__c=function(e,t){t.some(function(n){try{n.__h.forEach($g),n.__h=n.__h.filter(function(r){return!r.__||R4(r)})}catch(r){t.some(function(i){i.__h&&(i.__h=[])}),t=[],Xe.__e(r,n.__v)}}),mC&&mC(e,t)},Xe.unmount=function(e){fC&&fC(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{$g(r)}catch(i){t=i}}),n.__H=void 0,t&&Xe.__e(t,n.__v))};var pC=typeof requestAnimationFrame=="function";function tj(e){var t,n=function(){clearTimeout(r),pC&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);pC&&(t=requestAnimationFrame(n))}function $g(e){var t=Jt,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),Jt=t}function R4(e){var t=Jt;e.__c=e.__(),Jt=t}function N4(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function yC(e,t){return typeof t=="function"?t(e):t}var DC="5.0.0-alpha.0";function rm(e,t){return new Promise(n=>setTimeout(n,e,t))}function nj(){return new Promise(e=>{let t=new MessageChannel;t.port1.onmessage=()=>e(),t.port2.postMessage(null)})}function rj(e,t=1/0){let{requestIdleCallback:n}=window;return n?new Promise(r=>n.call(window,()=>r(),{timeout:t})):rm(Math.min(e,t))}function PC(e){return!!e&&typeof e.then=="function"}function bC(e,t){try{let n=e();PC(n)?n.then(r=>t(!0,r),r=>t(!1,r)):t(!0,n)}catch(n){t(!1,n)}}async function vC(e,t,n=16){let r=Array(e.length),i=Date.now();for(let a=0;a<e.length;++a){r[a]=t(e[a],a);let o=Date.now();o>=i+n&&(i=o,await nj())}return r}function Dc(e){return e.then(void 0,()=>{}),e}function ij(e,t){for(let n=0,r=e.length;n<r;++n)if(e[n]===t)return!0;return!1}function aj(e,t){return!ij(e,t)}function j4(e){return parseInt(e)}function bi(e){return parseFloat(e)}function ba(e,t){return typeof e=="number"&&isNaN(e)?t:e}function fr(e){return e.reduce((t,n)=>t+(n?1:0),0)}function RC(e,t=1){if(Math.abs(t)>=1)return Math.round(e/t)*t;{let n=1/t;return Math.round(e*n)/n}}function oj(e){var t,n;let r=`Unexpected syntax '${e}'`,i=/^\s*([a-z-]*)(.*)$/i.exec(e),a=i[1]||void 0,o={},s=/([.:#][\w-]+|\[.+?\])/gi,u=(l,c)=>{o[l]=o[l]||[],o[l].push(c)};for(;;){let l=s.exec(i[2]);if(!l)break;let c=l[0];switch(c[0]){case".":u("class",c.slice(1));break;case"#":u("id",c.slice(1));break;case"[":{let d=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(c);if(d)u(d[1],(n=(t=d[4])!==null&&t!==void 0?t:d[5])!==null&&n!==void 0?n:"");else throw new Error(r);break}default:throw new Error(r)}}return[a,o]}function sj(e){let t=new Uint8Array(e.length);for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(r>127)return new TextEncoder().encode(e);t[n]=r}return t}function $a(e,t){let n=e[0]>>>16,r=e[0]&65535,i=e[1]>>>16,a=e[1]&65535,o=t[0]>>>16,s=t[0]&65535,u=t[1]>>>16,l=t[1]&65535,c=0,d=0,g=0,f=0;f+=a+l,g+=f>>>16,f&=65535,g+=i+u,d+=g>>>16,g&=65535,d+=r+s,c+=d>>>16,d&=65535,c+=n+o,c&=65535,e[0]=c<<16|d,e[1]=g<<16|f}function Xr(e,t){let n=e[0]>>>16,r=e[0]&65535,i=e[1]>>>16,a=e[1]&65535,o=t[0]>>>16,s=t[0]&65535,u=t[1]>>>16,l=t[1]&65535,c=0,d=0,g=0,f=0;f+=a*l,g+=f>>>16,f&=65535,g+=i*l,d+=g>>>16,g&=65535,g+=a*u,d+=g>>>16,g&=65535,d+=r*l,c+=d>>>16,d&=65535,d+=i*u,c+=d>>>16,d&=65535,d+=a*s,c+=d>>>16,d&=65535,c+=n*l+r*u+i*s+a*o,c&=65535,e[0]=c<<16|d,e[1]=g<<16|f}function hu(e,t){let n=e[0];t%=64,t===32?(e[0]=e[1],e[1]=n):t<32?(e[0]=n<<t|e[1]>>>32-t,e[1]=e[1]<<t|n>>>32-t):(t-=32,e[0]=e[1]<<t|n>>>32-t,e[1]=n<<t|e[1]>>>32-t)}function Rr(e,t){t%=64,t!==0&&(t<32?(e[0]=e[1]>>>32-t,e[1]=e[1]<<t):(e[0]=e[1]<<t-32,e[1]=0))}function zt(e,t){e[0]^=t[0],e[1]^=t[1]}var uj=[4283543511,3981806797],lj=[3301882366,444984403];function xC(e){let t=[0,e[0]>>>1];zt(e,t),Xr(e,uj),t[1]=e[0]>>>1,zt(e,t),Xr(e,lj),t[1]=e[0]>>>1,zt(e,t)}var em=[2277735313,289559509],tm=[1291169091,658871167],CC=[0,5],cj=[0,1390208809],dj=[0,944331445];function gj(e,t){let n=sj(e);t=t||0;let r=[0,n.length],i=r[1]%16,a=r[1]-i,o=[0,t],s=[0,t],u=[0,0],l=[0,0],c;for(c=0;c<a;c=c+16)u[0]=n[c+4]|n[c+5]<<8|n[c+6]<<16|n[c+7]<<24,u[1]=n[c]|n[c+1]<<8|n[c+2]<<16|n[c+3]<<24,l[0]=n[c+12]|n[c+13]<<8|n[c+14]<<16|n[c+15]<<24,l[1]=n[c+8]|n[c+9]<<8|n[c+10]<<16|n[c+11]<<24,Xr(u,em),hu(u,31),Xr(u,tm),zt(o,u),hu(o,27),$a(o,s),Xr(o,CC),$a(o,cj),Xr(l,tm),hu(l,33),Xr(l,em),zt(s,l),hu(s,31),$a(s,o),Xr(s,CC),$a(s,dj);u[0]=0,u[1]=0,l[0]=0,l[1]=0;let d=[0,0];switch(i){case 15:d[1]=n[c+14],Rr(d,48),zt(l,d);case 14:d[1]=n[c+13],Rr(d,40),zt(l,d);case 13:d[1]=n[c+12],Rr(d,32),zt(l,d);case 12:d[1]=n[c+11],Rr(d,24),zt(l,d);case 11:d[1]=n[c+10],Rr(d,16),zt(l,d);case 10:d[1]=n[c+9],Rr(d,8),zt(l,d);case 9:d[1]=n[c+8],zt(l,d),Xr(l,tm),hu(l,33),Xr(l,em),zt(s,l);case 8:d[1]=n[c+7],Rr(d,56),zt(u,d);case 7:d[1]=n[c+6],Rr(d,48),zt(u,d);case 6:d[1]=n[c+5],Rr(d,40),zt(u,d);case 5:d[1]=n[c+4],Rr(d,32),zt(u,d);case 4:d[1]=n[c+3],Rr(d,24),zt(u,d);case 3:d[1]=n[c+2],Rr(d,16),zt(u,d);case 2:d[1]=n[c+1],Rr(d,8),zt(u,d);case 1:d[1]=n[c],zt(u,d),Xr(u,em),hu(u,31),Xr(u,tm),zt(o,u)}return zt(o,r),zt(s,r),$a(o,s),$a(s,o),xC(o),xC(s),$a(o,s),$a(s,o),("00000000"+(o[0]>>>0).toString(16)).slice(-8)+("00000000"+(o[1]>>>0).toString(16)).slice(-8)+("00000000"+(s[0]>>>0).toString(16)).slice(-8)+("00000000"+(s[1]>>>0).toString(16)).slice(-8)}function mj(e){var t;return{name:e.name,message:e.message,stack:(t=e.stack)===null||t===void 0?void 0:t.split(`
`),...e}}function fj(e){return/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))}function pj(e){return typeof e!="function"}function hj(e,t){let n=Dc(new Promise(r=>{let i=Date.now();bC(e.bind(null,t),(...a)=>{let o=Date.now()-i;if(!a[0])return r(()=>({error:a[1],duration:o}));let s=a[1];if(pj(s))return r(()=>({value:s,duration:o}));r(()=>new Promise(u=>{let l=Date.now();bC(s,(...c)=>{let d=o+Date.now()-l;if(!c[0])return u({error:c[1],duration:d});u({value:c[1],duration:d})})}))})}));return function(){return n.then(i=>i())}}function yj(e,t,n,r){let i=Object.keys(e).filter(o=>aj(n,o)),a=Dc(vC(i,o=>hj(e[o],t),r));return async function(){let s=await a,u=await vC(s,d=>Dc(d()),r),l=await Promise.all(u),c={};for(let d=0;d<i.length;++d)c[i[d]]=l[d];return c}}function NC(){let e=window,t=navigator;return fr(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function bj(){let e=window,t=navigator;return fr(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!NC()}function Pc(){let e=window,t=navigator;return fr(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,(t.vendor||"").indexOf("Google")===0,"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function vi(){let e=window,t=navigator;return fr(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,t.vendor.indexOf("Apple")===0,"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function z4(){let e=window,{HTMLElement:t,Document:n}=e;return fr(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),t&&!("autocapitalize"in t.prototype),n&&"pointerLockElement"in n.prototype])>=4}function Rc(){let e=window;return fj(e.print)&&String(e.browser)==="[object WebPageNamespace]"}function FC(){var e,t;let n=window;return fr(["buildID"in navigator,"MozAppearance"in((t=(e=document.documentElement)===null||e===void 0?void 0:e.style)!==null&&t!==void 0?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}function vj(){let e=window;return fr([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3}function xj(){let e=window,{URLPattern:t}=e;return fr(["union"in Set.prototype,"Iterator"in e,t&&"hasRegExpGroups"in t.prototype,"RGB8"in WebGLRenderingContext.prototype])>=3}function Cj(){let e=window;return fr(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}function Nc(){let e=window,t=navigator,{CSS:n,HTMLButtonElement:r}=e;return fr([!("getStorageUpdates"in t),r&&"popover"in r.prototype,"CSSCounterStyleRule"in e,n.supports("font-size-adjust: ex-height 0.5"),n.supports("text-transform: full-width")])>=4}function Tj(){if(navigator.platform==="iPad")return!0;let e=screen,t=e.width/e.height;return fr(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}function Sj(){let e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}function Ej(){let e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function H4(){let e=Pc(),t=FC(),n=window,r=navigator,i="connection";return e?fr([!("SharedWorker"in n),r[i]&&"ontypechange"in r[i],!("sinkId"in new Audio)])>=2:t?fr(["onorientationchange"in n,"orientation"in n,/android/i.test(r.appVersion)])>=2:!1}function wj(){let e=navigator,t=window,n=Audio.prototype,{visualViewport:r}=t;return fr(["srLatency"in n,"srChannelCount"in n,"devicePosture"in e,r&&"segments"in r,"getTextInformation"in Image.prototype])>=3}function Aj(){return Ij()?-4:kj()}function kj(){let e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(Mj())return-1;let n=4500,r=5e3,i=new t(1,r,44100),a=i.createOscillator();a.type="triangle",a.frequency.value=1e4;let o=i.createDynamicsCompressor();o.threshold.value=-50,o.knee.value=40,o.ratio.value=12,o.attack.value=0,o.release.value=.25,a.connect(o),o.connect(i.destination),a.start(0);let[s,u]=Lj(i),l=Dc(s.then(c=>Dj(c.getChannelData(0).subarray(n)),c=>{if(c.name==="timeout"||c.name==="suspended")return-3;throw c}));return()=>(u(),l)}function Mj(){return vi()&&!z4()&&!Cj()}function Ij(){return vi()&&Nc()&&Rc()||Pc()&&wj()&&xj()}function Lj(e){let a=()=>{};return[new Promise((s,u)=>{let l=!1,c=0,d=0;e.oncomplete=p=>s(p.renderedBuffer);let g=()=>{setTimeout(()=>u(TC("timeout")),Math.min(500,d+5e3-Date.now()))},f=()=>{try{let p=e.startRendering();switch(PC(p)&&Dc(p),e.state){case"running":d=Date.now(),l&&g();break;case"suspended":document.hidden||c++,l&&c>=3?u(TC("suspended")):setTimeout(f,500);break}}catch(p){u(p)}};f(),a=()=>{l||(l=!0,d>0&&g())}}),a]}function Dj(e){let t=0;for(let n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}function TC(e){let t=new Error(e);return t.name=e,t}async function BC(e,t,n=50){var r,i,a;let o=document;for(;!o.body;)await rm(n);let s=o.createElement("iframe");try{for(await new Promise((u,l)=>{let c=!1,d=()=>{c=!0,u()},g=h=>{c=!0,l(h)};s.onload=d,s.onerror=g;let{style:f}=s;f.setProperty("display","block","important"),f.position="absolute",f.top="0",f.left="0",f.visibility="hidden",t&&"srcdoc"in s?s.srcdoc=t:s.src="about:blank",o.body.appendChild(s);let p=()=>{var h,C;c||(((C=(h=s.contentWindow)===null||h===void 0?void 0:h.document)===null||C===void 0?void 0:C.readyState)==="complete"?d():setTimeout(p,10))};p()});!(!((i=(r=s.contentWindow)===null||r===void 0?void 0:r.document)===null||i===void 0)&&i.body);)await rm(n);return await e(s,s.contentWindow)}finally{(a=s.parentNode)===null||a===void 0||a.removeChild(s)}}function Pj(e){let[t,n]=oj(e),r=document.createElement(t??"div");for(let i of Object.keys(n)){let a=n[i].join(" ");i==="style"?Rj(r.style,a):r.setAttribute(i,a)}return r}function Rj(e,t){for(let n of t.split(";")){let r=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(n);if(r){let[,i,a,,o]=r;e.setProperty(i,a,o||"")}}}function Nj(){let e=window;for(;;){let t=e.parent;if(!t||t===e)return!1;try{if(t.location.origin!==e.location.origin)return!0}catch(n){if(n instanceof Error&&n.name==="SecurityError")return!0;throw n}e=t}}var Fj="mmMwWLliI0O&1",Bj="48px",yu=["monospace","sans-serif","serif"],SC=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function Oj(){return BC(async(e,{document:t})=>{let n=t.body;n.style.fontSize=Bj;let r=t.createElement("div");r.style.setProperty("visibility","hidden","important");let i={},a={},o=f=>{let p=t.createElement("span"),{style:h}=p;return h.position="absolute",h.top="0",h.left="0",h.fontFamily=f,p.textContent=Fj,r.appendChild(p),p},s=(f,p)=>o(`'${f}',${p}`),u=()=>yu.map(o),l=()=>{let f={};for(let p of SC)f[p]=yu.map(h=>s(p,h));return f},c=f=>yu.some((p,h)=>f[h].offsetWidth!==i[p]||f[h].offsetHeight!==a[p]),d=u(),g=l();n.appendChild(r);for(let f=0;f<yu.length;f++)i[yu[f]]=d[f].offsetWidth,a[yu[f]]=d[f].offsetHeight;return SC.filter(f=>c(g[f]))})}function _j(){let e=navigator.plugins;if(!e)return;let t=[];for(let n=0;n<e.length;++n){let r=e[n];if(!r)continue;let i=[];for(let a=0;a<r.length;++a){let o=r[a];i.push({type:o.type,suffixes:o.suffixes})}t.push({name:r.name,description:r.description,mimeTypes:i})}return t}function Uj(){return jj(Kj())}function jj(e){let t=!1,n,r,[i,a]=zj();return Hj(i,a)?(t=Vj(a),e?n=r="skipped":[n,r]=Gj(i,a)):n=r="unsupported",{winding:t,geometry:n,text:r}}function zj(){let e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}function Hj(e,t){return!!(t&&e.toDataURL)}function Vj(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}function Gj(e,t){Wj(e,t);let n=F4(e),r=F4(e);return n!==r?["unstable","unstable"]:(qj(e,t),[F4(e),n])}function Wj(e,t){e.width=240,e.height=60,t.textBaseline="alphabetic",t.fillStyle="#f60",t.fillRect(100,1,62,20),t.fillStyle="#069",t.font='11pt "Times New Roman"';let n=`Cwm fjordbank gly ${String.fromCharCode(55357,56835)}`;t.fillText(n,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(n,4,45)}function qj(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(let[n,r,i]of[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]])t.fillStyle=n,t.beginPath(),t.arc(r,i,40,0,Math.PI*2,!0),t.closePath(),t.fill();t.fillStyle="#f9c",t.arc(60,60,60,0,Math.PI*2,!0),t.arc(60,60,20,0,Math.PI*2,!0),t.fill("evenodd")}function F4(e){return e.toDataURL()}function Kj(){return vi()&&Nc()&&Rc()}function Qj(){let e=navigator,t=0,n;e.maxTouchPoints!==void 0?t=j4(e.maxTouchPoints):e.msMaxTouchPoints!==void 0&&(t=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),n=!0}catch{n=!1}let r="ontouchstart"in window;return{maxTouchPoints:t,touchEvent:n,touchStart:r}}function Yj(){return navigator.oscpu}function Zj(){let e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(n!==void 0&&t.push([n]),Array.isArray(e.languages))Pc()&&vj()||t.push(e.languages);else if(typeof e.languages=="string"){let r=e.languages;r&&t.push(r.split(","))}return t}function Jj(){return window.screen.colorDepth}function Xj(){return ba(bi(navigator.deviceMemory),void 0)}function $j(){if(!(vi()&&Nc()&&Rc()))return ez()}function ez(){let e=screen,t=r=>ba(j4(r),null),n=[t(e.width),t(e.height)];return n.sort().reverse(),n}var tz=2500,nz=10,nm,B4;function rz(){if(B4!==void 0)return;let e=()=>{let t=_4();U4(t)?B4=setTimeout(e,tz):(nm=t,B4=void 0)};e()}function iz(){return rz(),async()=>{let e=_4();if(U4(e)){if(nm)return[...nm];Sj()&&(await Ej(),e=_4())}return U4(e)||(nm=e),e}}function az(){if(vi()&&Nc()&&Rc())return()=>Promise.resolve(void 0);let e=iz();return async()=>{let t=await e(),n=r=>r===null?null:RC(r,nz);return[n(t[0]),n(t[1]),n(t[2]),n(t[3])]}}function _4(){let e=screen;return[ba(bi(e.availTop),null),ba(bi(e.width)-bi(e.availWidth)-ba(bi(e.availLeft),0),null),ba(bi(e.height)-bi(e.availHeight)-ba(bi(e.availTop),0),null),ba(bi(e.availLeft),null)]}function U4(e){for(let t=0;t<4;++t)if(e[t])return!1;return!0}function oz(){return ba(j4(navigator.hardwareConcurrency),void 0)}function sz(){var e;let t=(e=window.Intl)===null||e===void 0?void 0:e.DateTimeFormat;if(t){let r=new t().resolvedOptions().timeZone;if(r)return r}let n=-uz();return`UTC${n>=0?"+":""}${n}`}function uz(){let e=new Date().getFullYear();return Math.max(bi(new Date(e,0,1).getTimezoneOffset()),bi(new Date(e,6,1).getTimezoneOffset()))}function lz(){try{return!!window.sessionStorage}catch{return!0}}function cz(){try{return!!window.localStorage}catch{return!0}}function dz(){if(!(NC()||bj()))try{return!!window.indexedDB}catch{return!0}}function gz(){return!!window.openDatabase}function mz(){return navigator.cpuClass}function fz(){let{platform:e}=navigator;return e==="MacIntel"&&vi()&&!z4()?Tj()?"iPad":"iPhone":e}function pz(){return navigator.vendor||""}function hz(){let e=[];for(let t of["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"]){let n=window[t];n&&typeof n=="object"&&e.push(t)}return e.sort()}function yz(){let e=document;try{e.cookie="cookietest=1; SameSite=Strict;";let t=e.cookie.indexOf("cookietest=")!==-1;return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch{return!1}}function bz(){return{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',"#Box-Banner-ads"],abpvn:[".quangcao","#mobileCatfish",".close-ads",'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",".sponsorit",".ylamainos",'a[href*="/clickthrgh.asp?"]','a[href^="https://app.readpeak.com/ads"]'],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",'a[href^="http://g1.v.fwmrm.net/ad/"]'],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",".header-blocked-ad","#ad_blocker"],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay","#ad_300X250","#bannerfloat22","#campaign-banner","#Ad-Content"],adGuardChinese:[".Zi_ad_a_H",'a[href*=".hthbet34.com"]',"#widget-quan",'a[href*="/84992020.xyz"]','a[href*=".1956hl.com/"]'],adGuardFrench:["#pavePub",".ad-desktop-rectangle",".mobile_adhesion",".widgetadv",".ads_ban"],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",'a[href^="http://ad2.trafficgate.net/"]',"._popIn_infinite_ad",".adgoogle",".__isboostReturnAd"],adGuardMobile:["amp-auto-ads",".amp_ad",'amp-embed[type="24smi"]',"#mgid_iframe1","#ad_inview_area"],adGuardRussian:['a[href^="https://ad.letmeads.com/"]',".reclama",'div[id^="smi2adblock"]','div[id^="AdFox_banner_"]',"#psyduckpockeball"],adGuardSocial:['a[href^="//www.stumbleupon.com/submit?url="]','a[href^="//telegram.me/share/url?"]',".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",'a[href^="http://click.hotlog.ru/"]','a[href^="http://hitcounter.ru/top/stat.php"]','a[href^="http://top.mail.ru/jump"]',"#top100counter"],adGuardTurkish:["#backkapat","#reklami",'a[href^="http://adserv.ontek.com.tr/"]','a[href^="http://izlenzi.com/campaign/"]','a[href^="http://www.installads.net/"]'],bulgarian:["td#freenet_table_ads","#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",".widget_po_ads_widget",".trafficjunky-ad",".textad_headline",".sponsored-text-links"],easyListChina:['.appguide-wrap[onclick*="bcebos.com"]',".frontpageAdvM","#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",".aw-cookie-banner",".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers","#reklamni-box",".reklama-megaboard",".sklik",'[id^="sklikReklama"]'],easyListDutch:["#advertentie","#vipAdmarktBannerBlock",".adstekst",'a[href^="https://xltube.nl/click/"]',"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",".sponsorlinkgruen","#werbungsky","#reklame-rechts-mitte",'a[href^="https://bd742.com/"]'],easyListItaly:[".box_adv_annunci",".sb-box-pubbliredazionale",'a[href^="http://affiliazioniads.snai.it/"]','a[href^="https://adserver.html.it/"]','a[href^="https://affiliazioniads.snai.it/"]'],easyListLithuania:[".reklamos_tarpas",".reklamos_nuorodos",'img[alt="Reklaminis skydelis"]','img[alt="Dedikuoti.lt serveriai"]','img[alt="Hostingas Serveriai.lt"]'],estonian:['A[href*="http://pay4results24.eu"]'],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:['a[href*="casinopro.se"][target="_blank"]','a[href*="doktor-se.onelink.me"]',"article.category-samarbete","div.holidAds","ul.adsmodern"],greekAdBlock:['A[href*="adman.otenet.gr/click?"]','A[href*="http://axiabanners.exodus.gr/"]','A[href*="http://interactive.forthnet.gr/click?"]',"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",".ad__main",'[class*="GoogleAds"]',"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:['A[href^="/framework/resources/forms/ads.aspx"]'],latvian:['a[href="http://www.salidzini.lv/"][style="display: block; width: 120px; height: 40px; overflow: hidden; position: relative;"]','a[href="http://www.salidzini.lv/"][style="display: block; width: 88px; height: 31px; overflow: hidden; position: relative;"]'],listKr:['a[href*="//ad.planbplus.co.kr/"]',"#livereAdWrapper",'a[href*="//adv.imadrep.co.kr/"]',"ins.fastview-ad",".revenue_unit_item.dable"],listeAr:[".geminiLB1Ad",".right-and-left-sponsers",'a[href*=".aflam.info"]','a[href*="booraq.org"]','a[href*="dubizzle.com/ar/?utm_source="]'],listeFr:['a[href^="http://promo.vador.com/"]',"#adcontainer_recherche",'a[href*="weborama.fr/fcgi-bin/"]',".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",'[href^="https://aff.sendhub.pl/"]','a[href^="http://advmanager.techfun.pl/redirect/"]','a[href^="http://www.trizer.pl/?utm_source"]',"div#skapiec_ad"],ro:['a[href^="//afftrk.altex.ro/Counter/Click"]','a[href^="https://blackfridaysales.ro/trk/shop/"]','a[href^="https://event.2performant.com/events/click"]','a[href^="https://l.profitshare.ro/"]','a[href^="/url/"]'],ruAd:['a[href*="//febrare.ru/"]','a[href*="//utimg.ru/"]','a[href*="://chikidiki.ru"]',"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]","#ads-google-middle_rectangle-group",".ads300s",".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",".ctpl-fullbanner",".zergnet-recommend",".yt.btn-link.btn-md.btn"]}}async function vz({debug:e}={}){if(!xz())return;let t=bz(),n=Object.keys(t),r=[].concat(...n.map(o=>t[o])),i=await Cz(r);e&&Tz(t,i);let a=n.filter(o=>{let s=t[o];return fr(s.map(l=>i[l]))>s.length*.6});return a.sort(),a}function xz(){return vi()||H4()}async function Cz(e){var t;let n=document,r=n.createElement("div"),i=new Array(e.length),a={};EC(r);for(let o=0;o<e.length;++o){let s=Pj(e[o]);s.tagName==="DIALOG"&&s.show();let u=n.createElement("div");EC(u),u.appendChild(s),r.appendChild(u),i[o]=s}for(;!n.body;)await rm(50);n.body.appendChild(r);try{for(let o=0;o<e.length;++o)i[o].offsetParent||(a[e[o]]=!0)}finally{(t=r.parentNode)===null||t===void 0||t.removeChild(r)}return a}function EC(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function Tz(e,t){let n="DOM blockers debug:\n```";for(let r of Object.keys(e)){n+=`
${r}:`;for(let i of e[r])n+=`
  ${t[i]?"\u{1F6AB}":"\u27A1\uFE0F"} ${i}`}}function Sz(){for(let e of["rec2020","p3","srgb"])if(matchMedia(`(color-gamut: ${e})`).matches)return e}function Ez(){if(wC("inverted"))return!0;if(wC("none"))return!1}function wC(e){return matchMedia(`(inverted-colors: ${e})`).matches}function wz(){if(AC("active"))return!0;if(AC("none"))return!1}function AC(e){return matchMedia(`(forced-colors: ${e})`).matches}var Az=100;function kz(){if(matchMedia("(min-monochrome: 0)").matches){for(let e=0;e<=Az;++e)if(matchMedia(`(max-monochrome: ${e})`).matches)return e;throw new Error("Too high value")}}function Mz(){if(bu("no-preference"))return 0;if(bu("high")||bu("more"))return 1;if(bu("low")||bu("less"))return-1;if(bu("forced"))return 10}function bu(e){return matchMedia(`(prefers-contrast: ${e})`).matches}function Iz(){if(kC("reduce"))return!0;if(kC("no-preference"))return!1}function kC(e){return matchMedia(`(prefers-reduced-motion: ${e})`).matches}function Lz(){if(MC("reduce"))return!0;if(MC("no-preference"))return!1}function MC(e){return matchMedia(`(prefers-reduced-transparency: ${e})`).matches}function Dz(){if(IC("high"))return!0;if(IC("standard"))return!1}function IC(e){return matchMedia(`(dynamic-range: ${e})`).matches}var Et=Math,mr=()=>0;function Pz(){let e=Et.acos||mr,t=Et.acosh||mr,n=Et.asin||mr,r=Et.asinh||mr,i=Et.atanh||mr,a=Et.atan||mr,o=Et.sin||mr,s=Et.sinh||mr,u=Et.cos||mr,l=Et.cosh||mr,c=Et.tan||mr,d=Et.tanh||mr,g=Et.exp||mr,f=Et.expm1||mr,p=Et.log1p||mr,h=A=>Et.pow(Et.PI,A),C=A=>Et.log(A+Et.sqrt(A*A-1)),y=A=>Et.log(A+Et.sqrt(A*A+1)),v=A=>Et.log((1+A)/(1-A))/2,b=A=>Et.exp(A)-1/Et.exp(A)/2,x=A=>(Et.exp(A)+1/Et.exp(A))/2,T=A=>Et.exp(A)-1,S=A=>(Et.exp(2*A)-1)/(Et.exp(2*A)+1),E=A=>Et.log(1+A);return{acos:e(.12312423423423424),acosh:t(1e308),acoshPf:C(1e154),asin:n(.12312423423423424),asinh:r(1),asinhPf:y(1),atanh:i(.5),atanhPf:v(.5),atan:a(.5),sin:o(-1e300),sinh:s(1),sinhPf:b(1),cos:u(10.000000000123),cosh:l(1),coshPf:x(1),tan:c(-1e300),tanh:d(1),tanhPf:S(1),exp:g(1),expm1:f(1),expm1Pf:T(1),log1p:p(10),log1pPf:E(10),powPI:h(-100)}}var Rz="mmMwWLliI0fiflO&1",O4={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};function Nz(){return Fz((e,t)=>{let n={},r={};for(let i of Object.keys(O4)){let[a={},o=Rz]=O4[i],s=e.createElement("span");s.textContent=o,s.style.whiteSpace="nowrap";for(let u of Object.keys(a)){let l=a[u];l!==void 0&&(s.style[u]=l)}n[i]=s,t.append(e.createElement("br"),s)}for(let i of Object.keys(O4))r[i]=n[i].getBoundingClientRect().width;return r})}function Fz(e,t=4e3){return BC((n,r)=>{let i=r.document,a=i.body,o=a.style;o.width=`${t}px`,o.webkitTextSizeAdjust=o.textSizeAdjust="none",Pc()?a.style.zoom=`${1/r.devicePixelRatio}`:vi()&&(a.style.zoom="reset");let s=i.createElement("div");return s.textContent=[...Array(t/20<<0)].map(()=>"word").join(" "),a.appendChild(s),e(i,a)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}function Bz(){return navigator.pdfViewerEnabled}function Oz(){let e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]}function _z(){let{ApplePaySession:e}=window;if(typeof e?.canMakePayments!="function")return-1;if(Uz())return-3;try{return e.canMakePayments()?1:0}catch(t){return jz(t)}}var Uz=Nj;function jz(e){if(e instanceof Error&&e.name==="InvalidAccessError"&&/\bfrom\b.*\binsecure\b/i.test(e.message))return-2;throw e}function zz(){var e;let t=document.createElement("a"),n=(e=t.attributionSourceId)!==null&&e!==void 0?e:t.attributionsourceid;return n===void 0?void 0:String(n)}var OC=-1,_C=-2,Hz=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),Vz=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),Gz=["FRAGMENT_SHADER","VERTEX_SHADER"],Wz=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],UC="WEBGL_debug_renderer_info",qz="WEBGL_polygon_mode";function Kz({cache:e}){var t,n,r,i,a,o;let s=jC(e);if(!s)return OC;if(!HC(s))return _C;let u=zC()?null:s.getExtension(UC);return{version:((t=s.getParameter(s.VERSION))===null||t===void 0?void 0:t.toString())||"",vendor:((n=s.getParameter(s.VENDOR))===null||n===void 0?void 0:n.toString())||"",vendorUnmasked:u?(r=s.getParameter(u.UNMASKED_VENDOR_WEBGL))===null||r===void 0?void 0:r.toString():"",renderer:((i=s.getParameter(s.RENDERER))===null||i===void 0?void 0:i.toString())||"",rendererUnmasked:u?(a=s.getParameter(u.UNMASKED_RENDERER_WEBGL))===null||a===void 0?void 0:a.toString():"",shadingLanguageVersion:((o=s.getParameter(s.SHADING_LANGUAGE_VERSION))===null||o===void 0?void 0:o.toString())||""}}function Qz({cache:e}){let t=jC(e);if(!t)return OC;if(!HC(t))return _C;let n=t.getSupportedExtensions(),r=t.getContextAttributes(),i=[],a=[],o=[],s=[],u=[];if(r)for(let c of Object.keys(r))a.push(`${c}=${r[c]}`);let l=LC(t);for(let c of l){let d=t[c];o.push(`${c}=${d}${Hz.has(d)?`=${t.getParameter(d)}`:""}`)}if(n)for(let c of n){if(c===UC&&zC()||c===qz&&Jz())continue;let d=t.getExtension(c);if(!d){i.push(c);continue}for(let g of LC(d)){let f=d[g];s.push(`${g}=${f}${Vz.has(f)?`=${t.getParameter(f)}`:""}`)}}for(let c of Gz)for(let d of Wz){let g=Yz(t,c,d);u.push(`${c}.${d}=${g.join(",")}`)}return s.sort(),o.sort(),{contextAttributes:a,parameters:o,shaderPrecisions:u,extensions:n,extensionParameters:s,unsupportedExtensions:i}}function jC(e){if(e.webgl)return e.webgl.context;let t=document.createElement("canvas"),n;t.addEventListener("webglCreateContextError",()=>n=void 0);for(let r of["webgl","experimental-webgl"]){try{n=t.getContext(r)}catch{}if(n)break}return e.webgl={context:n},n}function Yz(e,t,n){let r=e.getShaderPrecisionFormat(e[t],e[n]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}function LC(e){return Object.keys(e.__proto__).filter(Zz)}function Zz(e){return typeof e=="string"&&!e.match(/[^A-Z0-9_x]/)}function zC(){return FC()}function Jz(){return Pc()||vi()}function HC(e){return typeof e.getParameter=="function"}function Xz(){if(!(H4()||vi()))return-2;if(!window.AudioContext)return-1;let t=new AudioContext().baseLatency;return t==null?-1:isFinite(t)?t:-3}function $z(){if(!window.Intl)return-1;let e=window.Intl.DateTimeFormat;if(!e)return-2;let t=e().resolvedOptions().locale;return!t&&t!==""?-3:t}var eH={fonts:Oj,domBlockers:vz,fontPreferences:Nz,audio:Aj,screenFrame:az,canvas:Uj,osCpu:Yj,languages:Zj,colorDepth:Jj,deviceMemory:Xj,screenResolution:$j,hardwareConcurrency:oz,timezone:sz,sessionStorage:lz,localStorage:cz,indexedDB:dz,openDatabase:gz,cpuClass:mz,platform:fz,plugins:_j,touchSupport:Qj,vendor:pz,vendorFlavors:hz,cookiesEnabled:yz,colorGamut:Sz,invertedColors:Ez,forcedColors:wz,monochrome:kz,contrast:Mz,reducedMotion:Iz,reducedTransparency:Lz,hdr:Dz,math:Pz,pdfViewerEnabled:Bz,architecture:Oz,applePay:_z,privateClickMeasurement:zz,audioBaseLatency:Xz,dateTimeLocale:$z,webGlBasics:Kz,webGlExtensions:Qz};function tH(e){return yj(eH,e,[])}var nH="$ if upgrade to Pro: https://fpjs.dev/pro";function rH(e){let t=iH(e),n=aH(t);return{score:t,comment:nH.replace(/\$/g,`${n}`)}}function iH(e){if(H4())return .4;if(vi())return z4()&&!(Nc()&&Rc())?.5:.3;let t="value"in e.platform?e.platform.value:"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}function aH(e){return RC(.99+.01*e,1e-4)}function oH(e){let t="";for(let n of Object.keys(e).sort()){let r=e[n],i="error"in r?"error":JSON.stringify(r.value);t+=`${t?"|":""}${n.replace(/([:|\\])/g,"\\$1")}:${i}`}return t}function sH(e){return JSON.stringify(e,(t,n)=>n instanceof Error?mj(n):n,2)}function VC(e){return gj(oH(e))}function uH(e){let t,n=rH(e);return{get visitorId(){return t===void 0&&(t=VC(this.components)),t},set visitorId(r){t=r},confidence:n,components:e,version:DC}}function lH(e=50){return rj(e,e*2)}function cH(e,t){let n=Date.now();return{async get(r){let i=Date.now(),a=await e(),o=uH(a);return t||r?.debug,o}}}function dH(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{let e=new XMLHttpRequest;e.open("get",`https://m1.openfpcdn.io/fingerprintjs/v${DC}/npm-monitoring`,!0),e.send()}catch{}}async function gH(e={}){var t;(!((t=e.monitoring)!==null&&t!==void 0)||t)&&dH();let{delayFallback:n,debug:r}=e;await lH(n);let i=tH({cache:{},debug:r});return cH(i,r)}var GC={load:gH,hashComponents:VC,componentsToDebugString:sH};async function Fc(){let e=await _t("fakeUserId","");e||(e=await Qr("fakeUserId",""),e&&await Tt("fakeUserId",e));let t=new Date,n=await _t("installedAt","");return n||(n=await Qr("installedAt",""),n&&await Tt("installedAt",n)),e?n||(n=new Date(0).toISOString(),await Tt("installedAt",n)):(e=await fH(64),await Tt("fakeUserId",e)),n||(n=t.toISOString(),await Tt("installedAt",n)),{fakeUserId:e,installedAt:n}}var mH=10;async function eo(){let e=await _t("userTag","");if(e)return e;let{fakeUserId:t}=await Fc(),r=t.charCodeAt(0)%mH;return e=String.fromCharCode(r+"a".charCodeAt(0)),await Tt("userTag",e),e}function WC(e){let t="",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=n.length,i=0;for(;i<e;)t+=n.charAt(Math.floor(Math.random()*r)),i+=1;return t}async function fH(e){try{let n=await(await GC.load()).get(),r=new Date().getTime(),i=Math.random().toString(36).substring(2,15),a=`${n.visitorId}-${r}-${i}`;return crypto?.subtle?.digest?crypto.subtle.digest("SHA-256",new TextEncoder().encode(a)).then(o=>Array.from(new Uint8Array(o)).map(l=>l.toString(16).padStart(2,"0")).join("").substring(0,e)):pH(a,e)}catch{return WC(64)}}function pH(e,t=32){let n="";for(let i=0;i<e.length;i++)n+=(e.charCodeAt(i)*(i+1)).toString(36);n=n.repeat(Math.ceil(t/n.length)).substring(0,t);let r="";for(let i=0;i<t;i++){let a=Math.floor(Math.random()*n.length);r+=n[a]}return r}async function im(){return await _t("abGroup","")}async function qC(e){return await Tt("abGroup",e),e}async function KC(e){return await Tt("campaign",e),e}async function am(){return await _t("campaign","")}var om=[{include:/(^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$)/ig,name:"email"},{include:/(^\d{11,}$)/ig,name:"phone"},{include:/(^\d{1,3}(,\d{3})*(\.\d+)?$)/ig,name:"thousandSeparator"}];var hH=["inline","inline-block","inline-flex","inline-grid","inline-table","ruby","ruby-base","ruby-base-container","ruby-text","ruby-text-container","math","inline-math"];function $r(e,t){if(!t||t.length===0)return!1;let n=t.join(",");return e.matches&&e.matches(n)||!1}function V4(e,t){if(t.length===0)return!1;let n=t.join(",");return e.closest&&e.closest(n)&&!0||!1}function Oi(e,t,n){let{blockSelectors:r,extraBlockSelectors:i,extraInlineSelectors:a,atomicBlockSelectors:o}=t;if($r(e,a))return!1;if($r(e,i)||["br","input"].includes(e.nodeName.toLowerCase()))return!0;let l=null;if(e.parentNode&&e.parentNode.immersiveTranslateComputedStyle&&(l=e.parentNode.immersiveTranslateComputedStyle),l&&l.display&&l.display==="inline-flex")return!1;let c=d();return c&&(c=!$r(e,o)),c;function d(){return n?.display?!hH.includes(n.display):$r(e,r)}}var Xt=$r;function vu(e){return!!e.shadowRoot}function to(e){if(!e||typeof e!="string"&&(e=e.textContent,!e))return"";let t="";return e!==e.trimStart()&&(t+=" "),t+=e.trim(),t===" "||e!==e.trimEnd()&&(t+=" "),t}function Bc(e){if(!e)return["",""];if(typeof e!="string"&&(e=e.textContent,!e))return["",""];let t=[];return e!==e.trimStart()?t.push(" "):t.push(""),!e.trim()&&t.length===1?[" ",""]:(e!==e.trimEnd()?t.push(" "):t.push(""),t)}function ei(e,t=!1){let n=Vs;return t&&e?.translatedPlaceholderDelimiters?n=e.translatedPlaceholderDelimiters:e?.placeholderDelimiters&&(n=e.placeholderDelimiters),n}function Yo(e,t,n=!1){let r=e?.[t];return ei(r,n)}function xu(e,t){return qa(t,e.targetLanguage,{ignoreZhCNandZhTW:e.rule.ignoreZhCNandZhTW})}function G4(e){let{rule:t}=e,n=yH(e),r="&#160;";return!e.config.generalRule.blockMinTextCount&&!e.config.generalRule.blockMinWordCount&&(r="<br/>"),`${r} <${t.targetWrapperTag} class="${n} notranslate"></${t.targetWrapperTag}>`}function yH(e){let t=e.config.loadingTheme;return`${U}-loading-${t}`}function Oc(e,t,n=!1){let r=e.rule,i=document.createElement(r.targetWrapperTag);i.classList.add("notranslate",ft),i.setAttribute("translate","no"),i.setAttribute("lang",e.targetLanguage),cn(i,Y5,t.toString(),!0);let a=G4(e);return i.append(n?" ...":at.sanitize(a,{RETURN_DOM_FRAGMENT:!0})),i}function Cu(e,t){return e.querySelector(`[${vh}][id='${t}']`)}function W4(e){e.querySelectorAll(`[${vh}]`).forEach(n=>{n.remove()})}function q4(e){e.querySelectorAll(`.${ft}-error`).forEach(n=>{n.remove()})}function QC(e,t,n,r){let i={},a=e,o=1001,s=c=>r.length>2?`<${r[2]}${c}></${r[2]}${c}>`:`${r[0]}${c}${r[1]}`,u=(c,d)=>{let g=o++,f=s(g);return i[`${g}`]=uv(d),c.replace(d,f)};t.forEach(c=>{let d=new RegExp(c,"gi");a=a.replace(d,u)}),(n||om).forEach(({include:c,exclude:d})=>{let g=typeof c=="string"?new RegExp(c,"gi"):c,f=typeof d=="string"?new RegExp(d,"gi"):d;a=a.replace(g,(p,h)=>f?.test(p.trim())?p:u(p,h))});let l=!1;if(Object.keys(i).length){let c=a,d=Object.keys(i);for(let g of d){let f=s(Number(g));c=c.replace(new RegExp(Pg(f),"gi"),"")}l=c.trim()===""}return{originalText:e,text:a,variables:i,counter:o,isOnlyPlaceholder:l}}function no(e){let{noTranslateRegexp:t,minTextCount:n,minWordCount:r,delimiters:i,text:a,html:o}=e,s=o||a,u=new RegExp(`${i[0]}(\\d+)${i[1]}`,"gi");if(i.length>2){let c=i[2];u=new RegExp(`<${c}(\\d+)>(.*?)</${c}\\d+>`,"gi")}let l=s.trim();return l=l.replace(u,""),l=l.trim(),l===""||/^[\u200B\u200C\u200D\u2060\uFEFF]+$/.test(l)||/^[0-9.,\/#!$%\^&\*;:{}=\-_`~()\s]+$/.test(s)||l.includes("</style>")||l.includes("< styles>")||Hx(l)||_x(l)||zx(l)||Ux(l)||jx(l)||bH(l)||u.test(l)||t&&t.length>0&&new RegExp(t.join("|"),"gi").test(l)?!1:du(a?.trim(),n,r)}function ro(e){return e.nodeType===Node.ELEMENT_NODE}function YC(e,t){return e.paragraphs?e.paragraphs[0]?.ctxId!==t?(e.paragraphs=[],!1):!0:!1}async function Jn(){return await _t("fakeUserId","")}async function K4(){return await _t("installedAt","")}async function Tu(e,t){let r=lt().INSTALL_FROM,i=vn(),a=await K4(),o=await Jn(),s=await Qe(),u=pi(),l=!1,c=await le.getUserInfo(),d=!1;c&&Mt(c)&&(l=!0,c.subscription&&c.subscription.isTrial&&(d=!0));let g=await eo(),f=await am(),p={installFrom:r,version:i,installedAt:a,interfaceLang:e,optionInterfaceLang:s.interfaceLanguage,targetLang:t,deviceId:o,isProUser:l,isTrial:d,userTag:g,campaign:f,platform:u,isLogin:!!c,isCN:gt()},h=await im();return h&&(p.abGroup=h),p}function _c(e,t){let[n,r]=z();return G(()=>{!e||!t||(async()=>{let i=await Q4(e,t);r(i)})()},[e,t,r]),n}async function Q4(e,t){if(!e||!t)return;let n=!1,r=!1,i,a=!0;!Ot()&&Me()||Pe().any?(a=!1,i=t.monkeyH5FloatBall,!i&&e.rule.isShowUserscriptPagePopup==!1&&(i=e.config.monkeyH5FloatBall,i.enable=!1),i||(i=e.config.monkeyH5FloatBall),n=!t.monkeyH5FloatBall,r=!t.monkeyH5FloatBall?.enable):(i=e.config.pcFloatBall,n=!t.pcFloatBall,r=!t.pcFloatBall?.enable);try{if(i?.afterInstalledAt&&n){let o=await _t("installedAt","");new Date(o).getTime()<new Date(i.afterInstalledAt).getTime()&&(i.enable=!1)}}catch(o){k.error(o)}i.isPc=a;try{r&&i&&globalThis?.IMMERSIVE_TRANSLATE_SHOW_PAGE_POPUP==="no"&&(i.enable=!1)}catch(o){k.error(o)}return i}function va(e,t){return!Ot()&&Me()||Pe().any?e.monkeyH5FloatBall=t:e.pcFloatBall=t,e}function ZC(){let e=globalThis.document.styleSheets,t="";for(let n=0;n<e.length;n++){let r=e[n];try{if(r instanceof CSSStyleSheet){let i=r.cssRules||r.rules;for(let a=0;a<i.length;a++){let o=i[a];t+=o.cssText+""}}}catch(i){k.error(i)}}return t}function JC(e,t,n=10){let r=t,i=0;for(;r&&i<n;){if(r.nodeType!=Node.ELEMENT_NODE)return null;if(Oi(r,{blockSelectors:e.blockSelectors,extraInlineSelectors:e.extraInlineSelectors,extraBlockSelectors:e.extraBlockSelectors,atomicBlockSelectors:e.atomicBlockSelectors},globalThis.getComputedStyle(r)))return r;i++,r=r?.parentElement}return null}function bH(e){return/^[\u{1f300}-\u{1f5ff}\u{1f900}-\u{1f9ff}\u{1f600}-\u{1f64f}\u{1f680}-\u{1f6ff}\u{2600}-\u{26ff}\u{2700}-\u{27bf}\u{1f1e6}-\u{1f1ff}\u{1f191}-\u{1f251}\u{1f004}\u{1f0cf}\u{1f170}-\u{1f171}\u{1f17e}-\u{1f17f}\u{1f18e}\u{3030}\u{2b50}\u{2b55}\u{2934}-\u{2935}\u{2b05}-\u{2b07}\u{2b1b}-\u{2b1c}\u{3297}\u{3299}\u{303d}\u{00a9}\u{00ae}\u{2122}\u{23f3}\u{24c2}\u{23e9}-\u{23ef}\u{25b6}\u{23f8}-\u{23fa}]+$/ug.test(e)}function XC(e,t){let n=t,r=e.config.translationModeLanguagePattern?.dualMatches?.find(s=>s==n),i=vH(e).find(s=>s==n),a=e.config.translationModeUrlPattern?.dualMatches?.find(s=>Ke(e.url,s));return e.config.translationModeUrlPattern?.translationMatches?.find(s=>Ke(e.url,s))?"translation":a?"dual":i?"translation":r?"dual":null}function vH(e){let t=e.config.translationLanguagePairs,n=e.config.translationModeLanguagePattern.translationMatches;if(!t)return n;let r=e.targetLanguage,i=t.map(a=>a.split(":")).filter(([a,o])=>r==o).map(([a])=>a);return[...new Set([...n,...i])]}function $C(e){if(e?.includes("docs.google.com/document/d")&&!e?.includes("/mobilebasic")){let t=new URL(e);t.pathname=t.pathname.replace("/d/","/u/0/d/").replace(/\/[^/]*$/,"/mobilebasic"),t.searchParams.set("_immersive_translate_auto_translate","1"),window.location.href=t.toString();return}}var sm={};async function um(e,t){return sm[e]&&(clearTimeout(sm[e]),delete sm[e]),new Promise((n,r)=>{sm[e]=setTimeout(()=>{n("")},t)})}function eT(e){return e instanceof HTMLElement?getComputedStyle(e).display:""}async function xi(e,t){if(e.ok&&e.status>=200&&e.status<400)return e;let n=await e.text();throw new Y(t,n).initNetWork(e.status)}function lm(e,t){return e.find(r=>{let i=r.match(/^\/(.+)\/([a-z]{0,4})$/),a=new RegExp(r,"gi");return i&&i.length>2&&(a=new RegExp(i[1],i[2])),t.match(a)})}function pi(e){return kt()?"imtAndroid":ec()?"imtIOSNew":Ze()?"imtIOS":Me(e)?"userscript":Ot()?"safari":On()?"firefox":qn()?"chrome":"other"}function cm(e){return pi(e)+"_"+(Pe().any?"mobile":"pc")}function _i(e,t){if(t)try{e?.setAttribute("imt-state",t||"")}catch{}}function dm(e){return e?.getAttribute("imt-state")||""}function je(e,t){if(!e)return null;if(e?.includes("->")){let n=(e?.split("->")||[]).map(i=>i.trim()),r=t||document.documentElement;try{for(let i of n){if(!r)return null;let a=null;if(i.includes("<-")?a=je(i,r):a=r?.querySelector(i),!a)return null;let o=i===n[n.length-1];a.shadowRoot&&!o?r=a.shadowRoot:r=a}}catch(i){k.error("queryAdvanceSelector ->",i)}return r}else if(e?.includes("<-")){let n=(e?.split("<-")||[]).map(i=>i.trim()),r=t||document.documentElement;try{n.forEach((i,a)=>{if(r){if(a===0){r=r.querySelector(i);return}i==="parent"?r=r.parentElement:r=r.closest(i)}})}catch(i){k.error("queryAdvanceSelector <-",i)}return r}return(t||document).querySelector(e)}function Su(e,t){if(t=t||document.documentElement,!e)return[];if(e?.includes("->")){let n=e?.split("->")||[];if(!n.length)return t.querySelectorAll(e);let r=t.querySelectorAll(n[0]);if(!r.length)return[];let i=[];for(let a of r){let o=a.shadowRoot||a,s=je(n.slice(1).join("->"),o);s&&i.push(s)}return i}if(e.includes("<-")){let n=e?.split("<-")||[];if(!n.length)return t.querySelectorAll(e);let r=[],i=t.querySelectorAll(n[0]);if(!i.length)return[];for(let a of i){let o=je(e,a.parentElement);o&&r.push(o)}return r}return t.querySelectorAll(e)}function gm(e,t,n){if(!e.length)return null;let r=e.map(i=>{let a=new Set;for(;(i=i.parentNode)&&(a.add(i),i!==t););return a});for(let i of r[0])if(i.nodeType===Node.ELEMENT_NODE||i.nodeType===Node.DOCUMENT_FRAGMENT_NODE){if($r(i,n.atomicBlockSelectors))continue;if(r.every(a=>a.has(i)))return i}return null}function Y4(e){if(!e)return[];let t=[];return e.map(n=>{let r=document.querySelectorAll(n);t.push(...r)}),t}function tT(e,t){return t.map(n=>n.text).join(" ").slice(0,e.rule.bodyRule.contextReqLength||0)}function nT(e){return/^<[\w-]+.*?<\/[\w-]+(?![^<>]*>)/.test(e)}function Zo(e,t,n){let r=e.includes("?")?"&":"?",i=`${e}${r}utm_source=extension&utm_medium=extension&utm_campaign=${t}${n?`&${n}`:""}`;tt(i)}function Z4(){return navigator.userAgent.indexOf("Mac")!==-1}var xH="";function CH(){return xH||globalThis.navigator.userAgent}function iT(){let e=CH();if(/iPhone/.test(e))return!1;let t=e.indexOf("Macintosh")!==-1||e.indexOf("Mac OS X")!==-1,n=e.indexOf("Safari")!==-1;return t&&n}var rT={Alt:"\u2325"};function io(e=""){return Z4()?Object.keys(rT).reduce((t,n)=>t.replace(n,rT[n]),e):e}var TH={lang:"en"};function J4(e){let t=Object.assign({},TH,e),[n,r]=z(t.lang||"en"),[i,a]=z(0),o=(u,l)=>{let c=oe(u,l);return t.enableReview&&SH({key:u,value:c,projectName:"dash"}),c},s=async u=>{await ng(u),r(u)};return G(()=>{if(!t.enableReview)return;let u=AH(()=>{a(Date.now())});return()=>{u()}},[t.enableReview]),{lang:n,setLang:s,t:o}}var mm="";function SH(e){let{key:t,value:n,projectName:r}=e;if(typeof window>"u"||!t)return n;(!mm||mm==="account-shared")&&(mm=r);let i=window.location.pathname,a=EH(i);return a[t]=n,a.__project_name=mm,wH(a),n}var aT={};function EH(e){let t=aT[e];return t||(t={},aT[e]=t),t}function wH(e){let t=document.head.querySelector("meta[name='i18n-meta']");t||(t=document.createElement("meta"),t.name="i18n-meta",document.head.appendChild(t)),t.content=JSON.stringify(e)}function AH(e){if(typeof window>"u")return()=>{};let t=()=>{e()};return window.addEventListener("i18n-update",t),()=>{window.removeEventListener("i18n-update",t)}}var kH=0;function m(e,t,n,r,i){var a,o,s={};for(o in t)o=="ref"?a=t[o]:s[o]=t[o];var u={type:e,props:s,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--kH,__source:i,__self:r};if(typeof e=="function"&&(a=e.defaultProps))for(o in a)s[o]===void 0&&(s[o]=a[o]);return Xe.vnode&&Xe.vnode(u),u}var X4=Xa(null),Ui=e=>{let{t,setLang:n,lang:r}=J4({lang:e.lang,enableReview:e.enableReview});return m(X4.Provider,{value:{t,setLang:n,lang:r},children:e.children})};function ee(){return pu(X4)}function $4(e){Nx({type:"error",text:e})}function uT(e,t,n){let r={...e},i=new Map;(t||[]).forEach(o=>{i.set(o.id,o)});for(let o of i.keys()){let[s,u]=o.split("2");if(["auto",n.sourceLanguage].includes(s)&&["auto",n.targetLanguage].includes(u)){let l=i.get(o);if(!l)continue;if(l.extends){let c=i.get(l.extends);c&&(r={...r,...c})}r={...r,...l}}}return r}function xa(e,t,n){let i=e.config.translationServices[t],a;return n&&(a=MH(e,i)),a||(a=IH(i,e.localConfig.aiAssistants||[])),a&&{...a,applyTranslationService:t}}function MH(e,t){if(!t||!cr(t))return;let n=t.assistantId;if(n!="auto")return;let r=e3({sourceLanguage:e.sourceLanguage,targetLanguage:e.targetLanguage,translationService:e.translationService,usageScene:e.usageScene,isPro:!!e.isPro+"",url:e.url,model:""},e.localConfig.aiAssistants||[],n);return!r&&t.fallbackAssistantId&&t.fallbackAssistantId!="common"?e.localConfig.aiAssistants?.find(i=>i.id===t.fallbackAssistantId):r}function IH(e,t){if(!e||!cr(e))return;let n=e.assistantId;return!n||n=="common"?void 0:(n=="auto"&&(n=e.fallbackAssistantId),(t||[]).find(i=>i.id===n))}function e3(e,t,n,r){if(r?.applyTranslationService==e.translationService)return r;let{url:i}=e;if(n=="common"||!n)return null;let a=null;try{return n&&(a=t.find(s=>s.id===n),a)||(a=t.filter(s=>Ke(i,s.matches)&&!Ke(i,s.excludeMatches)).filter(s=>s.languageMatches?!!(s.languageMatches||[]).find(l=>{let[c,d]=l.split("2");return!!(["auto",e.sourceLanguage].includes(c)&&["auto",e.targetLanguage].includes(d))}):!0)?.[0]),a}catch(o){k.error(o)}}function lT(e){let t={env:e?.env,prompt:e?.prompt,systemPrompt:e?.systemPrompt,multipleSystemPrompt:e?.multipleSystemPrompt,multiplePrompt:e?.multiplePrompt,subtitlePrompt:e?.subtitlePrompt,langOverrides:e?.langOverrides,temperature:e?.temperature,maxTextGroupLengthPerRequest:e?.maxTextGroupLengthPerRequest,maxTextLengthPerRequest:e?.maxTextLengthPerRequest,maxTokensRatio:e?.maxTokensRatio,minTokensRatio:e?.minTokensRatio,maxTextGroupLengthPerRequestForSubtitle:e?.maxTextGroupLengthPerRequestForSubtitle,strictPrompt:e?.strictPrompt};for(let n in t)t[n]==null&&delete t[n];return t}function cT(e){!e||e.diff||(br({rule:e,valueIsArray:t=>Array.isArray(e[t]),getMergedValue:t=>e[t],onMergedResult:(t,n)=>{e[t]=n}}),e.diff=!0)}async function fm(e,t,n){n=n||await Sn();let r=n.aiAssistants||[],i=!1;if(e=="edit"&&sT(t))for(let o=r.length-1;o>=0;o--)r[o].id===t.id&&(r[o]=t,i=!0);else if(e==="add"&&sT(t)){for(let o=r.length-1;o>=0;o--)r[o].id===t.id&&r.splice(o,1);r.push(t),i=!0}else{for(let o=r.length-1;o>=0;o--)r[o].id===t.id&&r.splice(o,1);i=!0}n.aiAssistants=r.sort((o,s)=>o.priority-s.priority);let a=await an();a.aiAssistantIds=[...new Set(r.map(o=>o.id))];try{await ti(n),await Ca(a)}catch{return!1}return i}async function dT(){return(await Sn()).aiAssistants||[]}async function LH(e,t){(await Promise.allSettled(e.map(r=>Re({url:`${j.BASE_AI_URL}api/plugins/${r}.json`})))).forEach(r=>{if(r.status==="fulfilled"){let i=r.value;i&&fm("add",i,t)}})}async function DH(e,t,n=!0){e||(e=await Qe()),t||(t=await Sn());let r=t.aiAssistants||[];if(Mr&&r.length>0)return;let i=(e.aiAssistantIds||[]).filter(s=>!r.find(u=>u.id===s)),a=[];if(n){let s=await NH();a=await RH(t,s)}let o=[...new Set([...i,...a])].filter(s=>!s.startsWith("custom"));o.length!==0&&LH(o,t)}var Jo=Cn(DH,1500);function sT(e){return Dt(Wa(),e.extensionVersion)}function PH(e,t){return t?!Dt(e.version,t):!1}function RH(e,t){let n=[];return(e.aiAssistants||[]).forEach(r=>{PH(r,t[r.id]?.version)&&n.push(r.id)}),[...new Set(n)]}async function NH(){return(await Re({url:`${j.BASE_AI_URL}api/plugins/meta.json`}))?.plugins||{}}async function pr(){let e=await Ie.local.get(ph);if(e){let t=e,n=t.tempTranslationUrlMatches||[],r=n.filter(o=>o.expiredAt>Date.now()),i=!1;r.length!==n.length&&(n=r,i=!0);let a={...t,tempTranslationUrlMatches:[...n]};return i&&await ni(a),za.updateStaticHostName(a.managedHostProbes?.s?.hostName||Zs()),a}else return za.updateStaticHostName(Zs()),{}}async function ni(e){await Ie.local.set(ph,e),za.updateStaticHostName(e.managedHostProbes?.s?.hostName||Zs())}async function FH(){return It.DEBUG==="1"?void 0:await Ie.local.get(G5)}async function gT(){let e=await FH(),n={...bn(),buildinConfigUpdatedAt:It.BUILD_TIME};if(e&&e&&e.buildinConfigUpdatedAt){let r=new Date(e.buildinConfigUpdatedAt),i=new Date(n.buildinConfigUpdatedAt);r>i&&(n=e)}return n}var BH=["forceAutoTranslate","translationTheme","translationMode","translationThemePatterns","selectTranslationFont"];function an(){return Ie.local.get(sc,{})}function Ca(e){return Ie.local.set(sc,e)}function Xo(){return Ie.local.get(Ah,{})}function n3(e){return Ie.local.set(Ah,e)}function r3(e){let t={};return BH.forEach(n=>{let r=e?.[n];r!==void 0&&(t[n]=r)}),t}async function Uc(e){let t=r3(e);if(!Object.keys(t).length)return;let n=await Xo();await n3({...n||{},...t})}function OH(e,t){let n=e.translationServices||{},r={...t.translationServices};function i(c){c.hasMerged||(br({rule:c,valueIsArray:d=>Array.isArray(c[d]),getMergedValue:d=>c[d],onMergedResult:(d,g)=>{c[d]=g}}),c.hasMerged=!0)}let a=Object.keys(r).reduce((c,d)=>(r[d]?.type||(c[d]=r[d]),c),{});Object.keys(a).forEach(c=>{let d=a[c],g=a[d.extends];!g||d.extends==c||(i(g),i(a[c]),a[c]=t3(g,a[c]))}),Object.keys(n).forEach(c=>{let d=n[c];d?.systemPrompt!=null&&d?.multipleSystemPrompt===void 0&&(d.multipleSystemPrompt="")}),br({rule:{...a},valueIsArray:c=>Array.isArray(a[c]),getMergedValue:c=>a[c],onMergedResult:(c,d)=>{a[c]={...a[c],...d}}});let o=Object.keys(r).reduce((c,d)=>((r[d]?.type||d.includes("add_v"))&&(c[d]=r[d]),c),{});Object.keys(o).forEach(c=>{let d=o[c],g=a[d.extends];!g||d.extends==c||(i(o[c]),o[c]=t3(g,o[c]))}),br({rule:{...o},valueIsArray:c=>Array.isArray(o[c]),getMergedValue:c=>o[c],onMergedResult:(c,d)=>{o[c]&&(o[c]={...o[c],...d})}}),r={...a,...o},Object.keys(n).forEach(c=>{let d=n[c];if(!d.extends)return;let g=r[d.extends];!g||d.extends==c||(n[c]=t3(g,n[c]))}),br({rule:{...n},valueIsArray:c=>Array.isArray(r[c]),getMergedValue:c=>r[c],onMergedResult:(c,d)=>{let g=r[c]?.env||{},f=d.env||{};g={...g,...f},r[c]={...r[c],...d,env:g}}}),new Date(e.updatedAt)<=new Date("2024.4.2")&&Object.keys(n).forEach(c=>{["openai","gemini"].includes(c)&&n[c].prompt!=null&&(n[c].maxTextGroupLengthPerRequest==null&&(r[c].maxTextGroupLengthPerRequest=1),n[c].multiplePrompt==null&&(r[c].multiplePrompt=n[c].prompt))});let u=["html_only","content_type","imt_source_field","imt_trans_field","imt_sub_source_field","imt_sub_trans_field","summary_prompt","terms_prompt","sub_summary_prompt","sub_terms_prompt"],l=(c,d)=>{!c||!c[d]||!c?.env||(c[d]=c[d].replace(/{{(.+?)}}/g,(g,f)=>u.includes(f)?g:c?.env[f]||g))};Object.values(r).forEach(c=>{l(c,"prompt"),l(c,"multiplePrompt"),l(c,"subtitlePrompt")}),t.defaultTranslationServicesOrder?.length&&Object.keys(r).forEach(c=>{n[c]?.visible===void 0&&delete r[c].visible}),t.translationServices=r}function t3(e,t){let n={...e};["provider","visible"].forEach(a=>{n[a]&&delete n[a]});let i={...n,...t};return br({rule:t,valueIsArray:a=>Array.isArray(n[a]),getMergedValue:a=>n[a],onMergedResult:(a,o)=>{i[a]=o}}),i}async function jc(e,t,n){let r=t;if(!n)return r;let i=await _H(e);return n.forEach(({condition:a,advanceConfig:o})=>{if(!a||!o||!Cg(a,{...e,...i}))return;let{generalRule:u,translationServices:l,...c}=o;br({rule:c,valueIsArray:d=>Array.isArray(e[d]),getMergedValue:d=>e[d],onMergedResult:(d,g)=>{e[d]=g}}),l&&OH(o,e),u&&(r=tu(r,u))}),r}var ao=null;async function _H(e){try{let t=await le.getUserInfo(),n=Mt(t),r=_o()||"0",i=Pi()||"0",{userValue:a,localValue:o}=await Xn("rewardCenterOpenTime"),s=!!(a||o);if(ao&&ao.imtAndroidVersion===r&&ao.imtIOSVersion===i&&ao.targetLanguage===e.targetLanguage&&ao.interfaceLanguage===e.interfaceLanguage)return ao;let l=lt().INSTALL_FROM,c=vn(),d=pi(),g=nh()||"",f=S5(),p=E5()||"",h=await eo()||"a",C=h.charCodeAt(0)-"a".charCodeAt(0),y=new Date(await K4()).getTime();return ao={isPro:n,isCNPlugin:gt(),abTag:h,abTagNumber:C,version:c,imtAndroidVersion:r,imtIOSVersion:i,installFrom:l,platform:d,iosSafariVersion:g,iosSafariVersionNumber:f,iosSystemVersion:p,isMobile:!!Pe().any,isMacOS:Z4(),isMacSafari:iT(),isSteam:ga(),versionNumber:_s(c),imtAndroidVersionNumber:_s(r),imtIOSVersionNumber:_s(i),installedAtTimestamp:y,hasOpenedRewardCenter:s,targetLanguage:e.targetLanguage,interfaceLanguage:e.interfaceLanguage},ao}catch(t){return k.error("getAdvanceConditionInfo error",t),null}}async function Xn(e,t){let n=t||await an(),r=await Ie.sync.get(e);return{userValue:n?.[e],localValue:r}}async function Nr(e,t){let n=await an();Ca({...n,[e]:t}),Ie.sync.set(e,t)}function _e(e,t){let n=t;e=="showErrorModal"&&typeof t=="object"&&(n=JSON.stringify(t)),he({type:"content",name:"dialog",topFrame:!0},{method:e,data:n})}var i3=!1;function pm(){return i3}function mT(e){i3=e}async function hm(e){await UH(e);let t=await jH(e);mT(t)}async function UH(e){try{let t=e.rule?.privacyProtocolVersion;if(!t)return;let n=await le.getUserInfo(),i=(n?.userAgreements?.find(s=>s.agreementName==="privacy")||null)?.agreementVersion;if(await hT()===t&&!i&&n){await fT();return}if(i){await pT(i);return}}catch{}}async function jH(e){if(i3)return!0;try{let t=e.rule?.privacyProtocolVersion,n=e.rule?.privacyProtocolEnableTime,r=await _t("installedAt","");if(!t||t===""||!n||!r)return!1;let i=new Date(n).getTime();if(new Date(r).getTime()<=i)return!1;let o=await hT();return o?!Dt(o,t):!0}catch{return!1}}async function fT(){if(!await le.getUserToken())return;await St.post("agreements/consent",{agreementName:"privacy"});let t=await St.get("v1/user");le.saveUserInfo(t)}async function pT(e){e&&await Nr("protocolAgreeVersion",e)}async function hT(){let{userValue:e,localValue:t}=await Xn("protocolAgreeVersion");return e||t}async function Eu(e,t=!0){try{mT(!1);let n=e.rule?.privacyProtocolVersion??"0";await pT(n),t&&document.dispatchEvent(new CustomEvent(js,{detail:JSON.stringify({type:"translatePage"})})),await fT()}catch{}}function yT(){if(pm())throw new Y("notAgreeProtocol","Please agree to the user agreement.")}function bT(){pm()&&_e("showErrorModal",{title:oe("agreeProtocol"),errMsg:oe("error.agreeProtocolContent",{termsUrl:j.TERMS_URL_BY_PRIVACY_MODAL,privacyUrl:j.PRIVACY_URL_BY_PRIVACY_MODAL}),action:"agreeProtocol",type:"error"})}var Y=class extends Error{errorUIConfig;serviceName;serviceGroup;serviceId="";data;errorCode;errorMessage="";userInfo;hasLogin;constructor(t,n){if(t&&n){super(n),this.name=t,this.initMessage(n),le.getUserInfo().then(r=>{this.userInfo=r});return}super(t),this.initMessage(n),le.getUserInfo().then(r=>{this.userInfo=r})}initMessage(t){try{if(!t)return;let n=!1;t.startsWith("NewProQuota:")&&(n=!0,t=t.replace("NewProQuota:",""));let r=JSON.parse(t),i=r.error||r.message;this.errorCode=r.code,typeof i=="object"&&(i=i.message,this.errorCode=i.code),this.errorMessage=n?"NewProQuota:"+i:i}catch{this.errorMessage=t||""}}initNetWork(t){return t&&(this.errorCode=this.errorCode||t),this}initStack(t){return t&&(this.stack=t),this}initData(t){return this.data={...this.data,...t},this}getActionByServiceGroup(t,n){let i={login:{max:"loginUseMax",pro:"loginUsePro"},upgrade:{max:"upgradeToMax",pro:"upgradeToPro"}}[t];return i&&n&&n in i?i[n]:t==="login"?"login":"upgrade"}uiConfig(t){let n=oe.bind(null);if(this.hasLogin=!!t.user,this.userInfo||(this.userInfo=t.user),this.errorUIConfig)return this.errorUIConfig;if(!this.errorMessage)return{immediateShow:!1};this.serviceId=this.data?.translationService||t.translationService,this.serviceName=Yn(t.config,this.serviceId),this.serviceGroup=Vh(t.config,this.serviceId);let r=null;if(r=this.handleSensitiveError(t)||this.handleNotAgreeProtocol()||this.handleAPIKeyEncryptedError(t)||this.handleServiceDiscontinued(t)||this.handleContextInvalidatedError(t)||this.handleMangaError(t)||this.handleProQuota(t)||this.handleUnavailableError(t)||this.handleProUser(t)||this.handleServiceMissingConfig(t)||this.handleNetwork(t)||this.handleFetchError(t),!r){let a=this.getErrorMsg(t);r=this.createServiceUnavailableConfig(t,a,"error")}if(r.translationService=this.serviceName,r.errCode=this.errorCode,this.serviceGroup==="custom"||this.serviceId?.includes("custom")||this.data?.translationService?.includes("custom")){if(r.title&&(r.title=n("error.customServiceError",{customService:this.serviceName})),!r.errMsg)return r;let a=n("error.thirdPartyServiceNotice");r.errCode&&r.errCode>400&&!r.errMsg.includes(a)&&(r.errMsg=`<b>${a}</b><br/><br/>${r.errMsg}`)}return r}getErrorMsg(t){return this.errorCode?this.errorCode<0?this.errorMessage=="Failed to fetch"?oe.bind(null)("error.failToFetch"):this.errorMessage:`${this.errorCode}: ${this.errorMessage}`:this.errorMessage}createServiceUnavailableConfig(t,n,r="network"){let i=oe.bind(null);return{type:r,title:`[${this.serviceName}] `+i("networkError"),errMsg:i("error.serveUnavailable",{serverName:this.serviceName,1:j.BASE_SITE+"pricing/?utm_source=extension&utm_medium=webpage&utm_campaign=service_error"})+"<br/><br/>"+i("errorReason",{message:n}),action:"changeService",immediateShow:!0}}handleUnavailableError(t){let n=this.errorMessage?.startsWith("bingAuth"),r=this.data?.translationService==="transmart"&&this.errorMessage?.startsWith("Server is busy now");return n||r?(this.errorMessage=this.errorMessage?.replace("bingAuth:",""),this.createServiceUnavailableConfig(t,this.errorMessage)):null}handleServiceMissingConfig(t){let n=oe.bind(null);return this.errorMessage?.endsWith(" are required")||this.errorMessage?.includes("You didn't provide an API key")?{type:"configError",title:n("error.serveConfigError"),errMsg:this.getErrorMsg(t)+"<br /><br />"+n("error.reloadPageOfSetting"),action:"setting",immediateShow:!0}:null}handleAPIKeyEncryptedError(t){let n=oe.bind(null);return this.errorMessage?.includes("IMT_ENCRYPT_ERROR")?{type:"configError",title:n("secretKey.errorTitle"),errMsg:n("secretKey.errorMsg",{1:j.DASH_BASE_URL+"#import_export"}),action:"none",immediateShow:!0}:null}handleNetwork(t){let n=oe.bind(null),r="retry",i="network",a=`[${this.serviceName}] `+n("networkError");if(!this.errorCode||this.errorCode<0)return null;let o=this.getErrorMsg(t);return this.errorCode===429?this.data?.translationService=="google"?o=`${n("error.googleLimitIp")}<br/><br/>${o}`:this.data?.translationService=="openai"&&(this.errorMessage?.indexOf("Limit: 3 / min")>=0||this.errorMessage?.includes("rate_limit_exceeded")&&this.errorMessage?.includes("Limit 3"))?o=`${n("error.openAIFreeLimit")}<br/><br/>
          ${o}`:this.data?.translationService=="openai"&&this.errorMessage?.includes("You exceeded your current quota")?o=`${n("error.openAIExceededQuota")}<br/><br/>
          ${o}`:this.data?.translationService=="gemini"&&this.errorMessage?.includes("RESOURCE_EXHAUSTED")?o=`${n("error.gemini.429")}<br/><br/> ${o}`:o=`${n("error.429")}<br/><br/> ${o}`:this.errorCode===403?this.data?.translationService=="claude"?o=`${n("error.claude.403")}<br/><br/>${o}`:o=`${n("error.403")}<br/><br/>${o}`:this.errorCode===400?o=`${n("error.400")}<br/><br/> ${o}`:this.errorCode===502?o=`${n("error.502")}<br/><br/> ${o}`:this.errorCode===404?o?.includes("User subscription not found")&&(o=`${n("error.serveUnavailable")}<br/><br/> ${o}`,r="setting",i="configError",a=n("error.subscriptionExpiredTitle")):this.errorCode===401&&this.data?.translationService==="azure"?o=`${n("error.azure.401")}<br/><br/> ${o}`:this.errorCode===401&&this.data?.translationService?.includes("custom")&&(a=n("error.customServiceError",{customService:this.serviceName})),{type:i,title:a,errMsg:o,action:r,immediateShow:!1}}handleFetchError(t){if(this.errorCode!==-999)return;let n=this.getErrorMsg(t);return this.createServiceUnavailableConfig(t,n)}handleProUser(t){let n=oe.bind(null);if(!Xs(t.config,this.serviceId))return null;let r=Vh(t.config,this.serviceId),i=dg(t,r),a=gg[r],o=n(r==="max"?"error.maxServiceDescription":"error.proServiceDescription");if(this.errorMessage?.indexOf("token invalid")>=0||this.errorMessage?.indexOf("Login required")>=0||this.errorMessage?.indexOf("activate Pro")>=0){if(this.hasLogin)return{type:"notLogin",title:n("notLoginPro"),errMsg:n("error.membershipServiceRequired",{service:this.serviceName,membership:a,serviceDescription:o}),action:this.getActionByServiceGroup("login",r),immediateShow:!0};if(!i)return{type:"upgrade",title:n("error.subscriptionExpiredTitle"),errMsg:n("error.membershipServiceRequired",{service:this.serviceName,membership:a,serviceDescription:o}),action:this.getActionByServiceGroup("upgrade",r),immediateShow:!0}}if(this.errorMessage?.indexOf("subscription not found")>=0)return{type:"subscriptionExpires",title:n("error.subscriptionExpiredTitle"),errMsg:n("error.membershipServiceRequired",{service:this.serviceName,membership:a,serviceDescription:o}),action:this.getActionByServiceGroup("upgrade",r),immediateShow:!0};if(!this.userInfo&&this.serviceId==="zhipu-air-pro"&&/.*glm.*air.*quota/i.test(this.errorMessage||""))return{title:n("error.usageTips"),errMsg:n("error.proServiceTrialLimitDescription"),action:"proServiceTrialLimit",type:"error",immediateShow:!0};if(t.config.translationServices?.[this.serviceId]?.provider=="pro"){let s=this.getErrorMsg(t);return{type:"network",title:"",errMsg:n("error.serveProUnavailable")+"<br/><br/>"+n("errorReason",{message:s}),action:"changeProService",immediateShow:!0}}return null}handleNotAgreeProtocol(){if(!pm())return null;let n=oe.bind(null);return{type:"notAgreeProtocol",title:n("agreeProtocol"),errMsg:n("error.agreeProtocolContent",{termsUrl:j.TERMS_URL_BY_PRIVACY_MODAL,privacyUrl:j.PRIVACY_URL_BY_PRIVACY_MODAL}),action:"agreeProtocol",immediateShow:!0}}handleMangaError(t){if(this.name!="manga")return null;let n=oe.bind(null);if(/no available backend found.+initWasm/.test(this.errorMessage||""))return{type:"networkError",title:n("intro.mangaImageTitle"),errMsg:n("error.mangaBackendNotFound"),action:"freeImageError",immediateShow:!0};if(this.errorMessage?.includes("Comics quota exceeded")){let i=this.userInfo?.subscription?.isTrial,a=[n("mangaQuotaError.package",{1:j.MANGA_QUOTA_URL})];i&&a.push(n("proQuotaError.trail",{1:j.GO_UPGRADE_FROM_TRIAL})),vT(this.userInfo,a,n);let o=n("errorReason",{message:`
        ${n("mangaQuotaError.solvedTitle")}<br/></br>
        ${a.map((s,u)=>`${u+1}. ${s}`).join("<br/>")}
        `});return{type:"ProQuotaExceeded",title:n("intro.mangaImageTitle"),errMsg:o,action:"none",immediateShow:!0}}if(this.errorMessage?.includes("ProQuota")){let{title:i,errMsg:a}=this.getNewProQuotaError(t,this.errorMessage);return{type:"networkError",title:i||n("intro.mangaImageTitle"),errMsg:a,action:"none",immediateShow:!0}}if(this.errorMessage?.includes("Image too large"))return{type:"networkError",title:n("intro.mangaImageTitle"),errMsg:n("error.imageTooLarge"),action:"none",immediateShow:!0};if(this.errorMessage?.includes("Tainted canvases may not be exported"))return{type:"networkError",title:n("intro.mangaImageTitle"),errMsg:n("error.siteDisableManga"),action:"none",immediateShow:!0};if(this.errorCode===403)return{type:"networkError",title:n("intro.mangaImageTitle"),errMsg:n("error.siteDisableManga"),action:"none",immediateShow:!0};let r=n("errorReason",{message:this.errorMessage});return{type:"networkError",title:n("intro.mangaImageTitle"),errMsg:r,action:t.isPro?"none":"freeImageError",immediateShow:!0}}handleProQuota(t){if(!this.errorMessage?.includes("ProQuota:")||!this.userInfo?.subscription)return null;this.errorMessage?.includes("NewProQuota")&&(this.errorMessage=this.errorMessage?.replace("NewProQuota:",""));let n=this.errorMessage;try{n=JSON.parse(this.errorMessage).error}catch{}let{errMsg:r,title:i}=this.getNewProQuotaError(t,n);return{type:"ProQuotaExceeded",title:i,errMsg:r,action:"changeProService",immediateShow:!0}}handleContextInvalidatedError(t){let n=oe.bind(null);return this.errorMessage?.includes("Extension context invalidated.")?{type:"ContextInvalidated",title:"",errMsg:n("ctxInvalidatedError"),action:"refreshPage",immediateShow:!0}:null}getNewProQuotaError(t,n){let r=oe.bind(null),i=this.userInfo.subscription,{isTrial:a,memberShip:o}=i,s="",u=[],l="";l=j.QUOTA_URL;let c=/Max translation quota/ig.test(n);c&&(l=j.QUOTA_URL+"&type=top_model",s=r("error.maxQuotaError"));let d=o=="pro"&&c;d&&u.push(r("translationServices.upgradeMaxUser",{1:j.GO_UPGRADE_FOR_MAX+"error_modal"})),u.push(r("proQuotaError.newPackage",{1:l})),a&&!d&&u.push(r("proQuotaError.trail",{1:j.GO_UPGRADE_FROM_TRIAL})),!a&&!d&&vT(this.userInfo,u,r);let g=n+`${r("proQuotaError.solvedTitle")}
    <br/><br/>
    ${u.map((f,p)=>`${p+1}. ${f}`).join("<br/>")}`;return{title:s,errMsg:r("errorReason",{message:g})}}handleServiceDiscontinued(t){let n=oe.bind(null);return this.name==="translationServiceDiscontinued"?{type:"network",title:n("error.serviceDiscontinued"),errMsg:n("error.serviceDiscontinuedMessage",{translationService:this.serviceName}),action:"changeService",immediateShow:!0}:null}handleSensitiveError(t){if(!gt())return null;let n=this.errorMessage?.includes("\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8F93\u5165\u6216\u751F\u6210\u5185\u5BB9\u53EF\u80FD\u5305\u542B\u4E0D\u5B89\u5168\u6216\u654F\u611F\u5185\u5BB9");return this.errorCode===103006||n?{type:"network",errMsg:this.errorMessage,action:"iKnow",immediateShow:!1}:null}};function vT(e,t,n){if(!e||!e?.subscription)return;let r=e?.subscription,{isTrial:i,openAITokenUsedCountResetTime:a,subscriptionTo:o}=r;!i&&(r.cancelAtPeriodEnd==="false"||O8(o)>a)&&t.push(n("proQuotaError.resetTime",{resetTime:ig(a,"YYYY-MM-DD HH:mm:ss")}))}var vm=20,a3=1e3,ST=["No response from target","Could not establish connection","Receiving end does not exist","No matching recipient","The message port closed before a response was received"],zH=[...ST,"Extension context invalid","context invalidated"],HH="__messagerBacklogControl",Au=new Map,zc=new Set,o3=new Map,ym,s3=0,u3=0;function VH(){return!Je()}function GH(e,t){if(!t)return e;let n=e.__imtMeta;return n?.targetTopFrame?e:{...e,__imtMeta:{...n,targetTopFrame:!0}}}function wu(){let e=Be?.runtime;return typeof e?.sendMessage=="function"&&typeof e?.onMessage?.addListener=="function"}function xT(){return typeof Be?.tabs?.sendMessage=="function"}function WH(){return typeof Be?.tabs?.query=="function"}var $o=class e{fromType;hub;endpoints;backlogQueues;backlogTargets;backlogConfigs;backlogFlushingTargets;static controlChannelInstalled=!1;static instances=new Set;static hubInstances=Au;static runtimeListenerTypes=zc;constructor(t,n=!1){this.fromType=t,this.hub=CT(t),this.endpoints=new Map,this.backlogQueues=new Map,this.backlogTargets=new Map,this.backlogConfigs=new Map,this.backlogFlushingTargets=new Set,e.instances.add(this),e.ensureBacklogControlChannel(),QH(t,this.hub)}getConnection(t,n,r){let i=this.endpoints.get(t);if(i)return i;let a=this.hub.subscribe(t,n,r),o={name:t,subscription:a,sendMessage:(s,u,l)=>this.sendFrom(t,s,u,l),dispose:()=>{a.dispose(),this.endpoints.delete(t)}};if(this.endpoints.set(t,o),r?.replayOfflineMessages){let s=bm(this.fromType,t);this.broadcastBacklogReady(s,t)}return o}async sendFrom(t,n,r,i){let a=xm(n),{id:o}=a,s=bm(this.fromType,t),u=this.buildOutboundKey(t,a),l=i?.backlog??!1,c=i?.targetTopFrame??!1,d=GH(r,c),g={maxQueue:i?.backlogSize??vm,retryIntervalMs:i?.retryIntervalMs??a3};l&&this.backlogConfigs.set(u,g);let f={to:n,from:s,payload:d},{method:p,data:h}=d||{};try{let C=await this.dispatchMessage(a,f,o,c,i?.frameId);if(!C)throw new Y("NoResponse","No response from target");return this.triggerOfflineFlushIfNeeded(u),TT(f,C)}catch(C){if(l&&this.isNoReceiverError(C))return await this.enqueueBacklogMessage(u,f,a,o,g,c);if(a.type==="popup"){let y=`[message] popup ${n} \u672A\u6FC0\u6D3B\uFF0C\u6D88\u606F\u672A\u53D1\u9001\uFF0C\u5DF2\u5FFD\u7565\uFF0C${JSON.stringify(r)}`;return Promise.resolve({message:y})}throw C}}buildOutboundKey(t,n){return`${this.fromType}:${t}->${bm(n.type,n.name)}`}async dispatchMessage(t,n,r,i=!1,a){if(!wu())return await this.dispatchLocally(t,n);if(t.type==="content"){if(i&&!t.id&&!r&&this.fromType==="content"&&VH())return await this.dispatchLocally(t,n);if(!xT()||Me())return await this.dispatchLocally(t,n);if(!t.id&&!r)throw new Y("InvalidTarget","content_script target needs tabId");let s=i?{frameId:0}:void 0;return a!=null&&(s={frameId:a}),await Be.tabs.sendMessage(t.id??r,n,s)}return Au.get(t.type)?.hasSubscribers(t.name)?await this.dispatchLocally(t,n):await Be.runtime.sendMessage(n)}async dispatchLocally(t,n){let r=CT(t.type),i=xm(n.from),a={type:i.type,name:i.name,id:i.id},o=r.routeMessage(t.name,n.payload,a);try{return{ok:!0,data:await o.result}}catch(s){let u=s instanceof Y?s:new Y(s?.name??"UnknownError",s?.message??"Unknown error");return{ok:!1,errorName:u.name,errorMessage:u.message}}}isNoReceiverError(t){let n=ET(t);return n?ST.some(r=>n.includes(r)):!1}async enqueueBacklogMessage(t,n,r,i,a,o=!1,s){let u=a??this.backlogConfigs.get(t)??{maxQueue:vm,retryIntervalMs:a3};this.backlogConfigs.set(t,u);let l=this.backlogQueues.get(t)??[];this.backlogQueues.set(t,l);let c=bm(r.type,r.name);return this.backlogTargets.set(t,c),await new Promise((d,g)=>{l.length>=u.maxQueue&&(l.shift()?.reject(new Y("OfflineReplayQueueOverflow",`Offline queue overflow for target ${t}`)),k.warn(`[message] ${t} \u7684\u79BB\u7EBF\u961F\u5217\u5DF2\u6EE1\uFF0C\u5DF2\u4E22\u5F03\u6700\u65E9\u7684\u6D88\u606F`));let f={message:n,parsedTo:{...r,id:r.id??i},resolve:d,reject:g,targetTopFrame:o,frameId:s};l.push(f),k.debug(`[message] \u79BB\u7EBF\u6D88\u606F [${n.payload.method}] \u5DF2\u52A0\u5165 ${t} \u961F\u5217\uFF0C\u5F53\u524D\u957F\u5EA6 ${l.length}`)})}triggerOfflineFlushIfNeeded(t){this.backlogQueues.get(t)?.length&&this.flushOfflineQueue(t)}static ensureBacklogControlChannel(){if(e.controlChannelInstalled||(e.controlChannelInstalled=!0,!wu()))return;let t=n=>{ZH(n)&&(k.debug(`[message] \u6536\u5230 backlog \u5E7F\u64AD\uFF0Cchannel=${n.channelKey}\uFF0Cfrom=${n.sourceType}:${n.sourceName}`),e.instances.forEach(r=>{r.handleBacklogReadyBroadcast(n.channelKey)}))};ym=t,Be.runtime.onMessage.addListener(t)}broadcastBacklogReady(t,n){let r={__messagerBacklogControl:!0,action:"announce_ready",channelKey:t,sourceType:this.fromType,sourceName:n};k.debug(`[message] ${t} \u58F0\u660E backlog ready\uFF0C\u6B63\u5728\u5E7F\u64AD`),e.instances.forEach(i=>{i.handleBacklogReadyBroadcast(t)}),wu()&&(Be.runtime.sendMessage(r).catch(i=>{k.debug("[message] backlog ready \u5E7F\u64AD\u5931\u8D25",i)}),this.broadcastToActiveTabs(r))}async broadcastToActiveTabs(t){if(!(!WH()||!xT()))try{let n=Be.tabs,r=await n.query({active:!0});await Promise.all(r.map(async i=>{if(i.id)try{await n.sendMessage(i.id,t)}catch(a){if(this.isNoReceiverError(a))return;k.debug(`[message] backlog ready \u53D1\u9001\u5230 tab:${i.id} \u5931\u8D25`,a)}}))}catch(n){k.debug("[message] backlog ready \u67E5\u8BE2\u6FC0\u6D3B tab \u5931\u8D25",n)}}handleBacklogReadyBroadcast(t){let n=Array.from(this.backlogTargets.entries()).filter(([,r])=>r===t).map(([r])=>r);n.length&&n.forEach(r=>{k.debug(`[message] \u76D1\u542C\u7AEF ${t} \u8BF7\u6C42\u79BB\u7EBF\u6D88\u606F\uFF0C\u5237\u65B0 ${r}`),this.flushOfflineQueue(r)})}async flushOfflineQueue(t){if(this.backlogFlushingTargets.has(t))return;let n=this.backlogQueues.get(t);if(!(!n||n.length===0)){k.debug(`[message] \u5F00\u59CB\u5237\u65B0 ${t} \u7684\u79BB\u7EBF\u961F\u5217\uFF0C\u5269\u4F59 ${n.length} \u6761`),this.backlogFlushingTargets.add(t);try{for(;n.length>0;){let r=n[0];try{let i=await this.dispatchMessage(r.parsedTo,r.message,r.parsedTo.id,r.targetTopFrame,r.frameId),a=TT(r.message,i);r.resolve(a),n.shift(),k.debug(`[message] ${t} \u7684\u4E00\u6761\u79BB\u7EBF\u6D88\u606F\u5DF2\u6295\u9012\uFF0C\u5269\u4F59 ${n.length} \u6761`)}catch(i){if(this.isNoReceiverError(i)){k.debug(`[message] ${t} \u7684\u79BB\u7EBF\u6D88\u606F\u4ECD\u65E0\u6CD5\u6295\u9012\uFF0C\u7B49\u5F85\u63A5\u6536\u7AEF\u518D\u6B21\u58F0\u660E backlog`,i);break}else r.reject(i),n.shift()}}}finally{this.backlogFlushingTargets.delete(t),(!n||n.length===0)&&(this.backlogQueues.delete(t),this.backlogTargets.delete(t),k.debug(`[message] ${t} \u7684\u79BB\u7EBF\u961F\u5217\u5DF2\u6E05\u7A7A`))}}}dispose(){e.instances.delete(this),this.backlogQueues.clear(),this.backlogTargets.clear(),this.backlogFlushingTargets.clear(),this.endpoints.clear()}static resetForTesting(){for(let t of Array.from(e.instances))t.dispose();e.instances.clear(),e.controlChannelInstalled=!1,ym&&wu()&&Be.runtime.onMessage.removeListener(ym),ym=void 0,wu()&&o3.forEach((t,n)=>{Be.runtime.onMessage.removeListener(t),zc.delete(n)}),o3.clear(),zc.clear(),Au.clear(),s3=0,u3=0}},l3=class{type;channels;constructor(t){this.type=t,this.channels=new Map}subscribe(t,n,r){let i=this.getOrCreateChannel(t),a={id:XH(),handler:n,options:KH(r)};return i.addSubscriber(a),{id:a.id,channel:i,dispose:()=>i.removeSubscriber(a.id)}}routeMessage(t,n,r){let i=this.getOrCreateChannel(t),a={id:JH(),timestamp:Date.now(),from:{type:r.type,name:r.name,id:r.id},to:{type:this.type,name:t},payload:n,author:r};return i.deliver(a)}hasSubscribers(t){let n=this.channels.get(t);return n?n.hasSubscribers():!1}getOrCreateChannel(t){return this.channels.has(t)||this.channels.set(t,new c3(`${this.type}:${t}`)),this.channels.get(t)}},c3=class{id;subscribers;backlog;backlogLimit;flushing;constructor(t){this.id=t,this.subscribers=new Map,this.backlog=[],this.backlogLimit=vm,this.flushing=!1}hasSubscribers(){return this.subscribers.size>0}addSubscriber(t){this.subscribers.set(t.id,t),this.backlogLimit=Math.max(this.backlogLimit,t.options.backlogSize),t.options.replayOfflineMessages&&this.flushBacklog()}removeSubscriber(t){this.subscribers.delete(t)}deliver(t,n=!0){let r=Array.from(this.subscribers.values()).filter(a=>{if(!a.options.filter)return!0;try{return a.options.filter(t)}catch(o){return k.warn(`[message] \u8BA2\u9605\u8005 filter \u6267\u884C\u5931\u8D25\uFF0Cchannel=${this.id}`,o),!1}});if(!r.length){n&&this.enqueue(t);let a=new Y("NoReceiver",`Channel ${this.id} has no available subscribers`);return{result:new Promise((o,s)=>{setTimeout(()=>{s(a)},500)})}}let i=r.map(a=>qH(a,t));return i.slice(1).forEach(a=>{a.catch(o=>{k.debug(`[message] ${this.id} \u7684\u8BA2\u9605\u8005\u6267\u884C\u5931\u8D25`,o)})}),{result:i[0]}}enqueue(t){if(this.backlog.length>=this.backlogLimit){let n=this.backlog.shift();k.warn(`[message] ${this.id} \u7684 backlog \u5DF2\u6EE1\uFF0C\u4E22\u5F03 envelope ${n?.id}`)}this.backlog.push(t),k.debug(`[message] ${this.id} \u961F\u5217\u65B0\u589E\u79BB\u7EBF\u6D88\u606F\uFF0C\u5F53\u524D\u957F\u5EA6 ${this.backlog.length}`)}async flushBacklog(){if(!(this.flushing||!this.backlog.length)){this.flushing=!0;try{for(;this.backlog.length;){let t=this.backlog.shift(),n=this.deliver(t,!1);try{await n.result}catch(r){k.debug(`[message] ${this.id} \u7684 backlog \u6295\u9012\u5931\u8D25\uFF0C\u6D88\u606F ${t.id}`,r)}}}finally{this.flushing=!1}}}};function qH(e,t){let n=t.author??{type:t.from.type,name:t.from.name,id:t.from.id};if(e.options.sync)try{let r=e.handler(t.payload,n);return Promise.resolve(r)}catch(r){return Promise.reject(r)}try{let r=e.handler(t.payload,n);return Promise.resolve(r)}catch(r){return Promise.reject(r)}}function KH(e){return{sync:e?.sync??!1,replayOfflineMessages:e?.replayOfflineMessages??!1,backlogSize:e?.backlogSize??vm,retryIntervalMs:e?.retryIntervalMs??a3,confirm:e?.confirm??e?.acknowledgement??"auto",filter:e?.filter}}function CT(e){return Au.has(e)||Au.set(e,new l3(e)),Au.get(e)}function QH(e,t){if(zc.has(e)||!wu())return;zc.add(e);let n=(r,i,a)=>{if(!YH(r))return;let o=r.from,s=r.to,u,l,c;i.tab&&i.tab.id&&(u=i.tab.id,o=`${o}:${u}`,l=i.tab.url,c=i.tab.active);let d=xm(s);if(d.type!==e)return;let{method:g,data:f}=r.payload||{},p=xm(o),h={type:p.type,name:p.name,id:u,url:l,active:c,frameId:i.frameId};return t.routeMessage(d.name,r.payload,h).result.then(y=>{a({ok:!0,data:y})}).catch(y=>{let v=y instanceof Y?y:new Y(y?.name??"UnknownError",y?.message??"Unknown error"),b=v,x=b.details??v.message,T=b.errorCode??b.status;a({ok:!1,errorName:v.name,errorMessage:v.message,errorDetails:x,errorStatus:T})}),!0};o3.set(e,n),Be.runtime.onMessage.addListener(n)}function YH(e){if(!e||typeof e!="object")return!1;let t=e;return typeof t.to=="string"&&typeof t.from=="string"&&typeof t.payload=="object"&&t.payload!==null}function ZH(e){if(!e||typeof e!="object")return!1;let t=e;return t[HH]===!0&&t.action==="announce_ready"&&typeof t.channelKey=="string"}function TT(e,t){if(t)if(t.ok){if(t.data){let{method:n,data:r}=e.payload||{}}return t.data}else throw new Y(t.errorName||"UnknownError",t.errorMessage||"Unknown error").initNetWork(t.errorStatus);else throw new Y("noResponse","Unknown error")}function bm(e,t){return`${e}:${t}`}function xm(e){let t=e.split(":");if(t.length<2)throw new Error("not a valid to string");let n={type:t[0],name:t[1]};if(t[0]==="content"&&t.length>=3){let r=parseInt(t[2]);if(!isNaN(r))n.id=r;else throw new Error("tab id not a valid number")}return n}function ET(e){if(e){if(typeof e=="string")return e;if(e instanceof Error)return e.message;if(typeof e=="object"&&"message"in e){let t=e.message;if(typeof t=="string")return t}}}function Cm(e){let t=ET(e);return t?zH.some(n=>t.includes(n)):!1}function JH(){return s3+=1,`${Date.now()}-${s3}`}function XH(){return u3+=1,`sub-${u3}`}var $H=new Set(["login.dingtalk.com","open.weixin.qq.com"]);function Tm(){if(typeof location>"u")return!1;let e=location.hostname;if(!e)return!1;for(let t of $H)if(e===t||e.endsWith(`.${t}`))return!0;return!1}function oo(e){return e!=null}var wT={capture:!0},d3=null;function g3(e){d3=e}function m3(e,t){return d3?d3(t):(e.addEventListener("message",t,wT),()=>e.removeEventListener("message",t,wT))}function MT(e,t,n){return`${e.type}#${t}#${n}`}function IT(e,t,n,r,i){return{body:i,id:r,type:MT(e,t,n)}}function eV(e,t,n,r){return{id:n,response:r,type:MT(e,"ask",t)}}function LT(e,t,n,r){if(oo(r)){let i=r.type;if(oo(i)&&oo(r.body)){let[a,o,s]=i.split("#");return a===e.type&&o===t&&s===n}else return!1}else return!1}function tV(e,t,n){if(oo(n)){let r=n.type;if(oo(r)&&oo(n.response)){let[i,a,o]=r.split("#");return i===e.type&&a==="ask"&&o===t}else return!1}else return!1}function nV(e){e.forEach(([t,n,r])=>r()),e.length=0}function rV(e,t,n,r){return new Promise(i=>{let a=null;a=m3(e,s=>{let u=s.data;tV(t,n,u)&&u.id===r&&(a&&a(),i(u.response))})})}function iV(e,t,n,r){let i=o=>{let s=o.data;LT(t,"tell",n,s)&&r(s.body)},a=m3(e,i);return[e,i,a]}function AT(e,t,n,r,i,a){let o=async u=>{let l=u.data;if(LT(n,"ask",r,l)){let c=await a(l.body,{source:u.source??null,origin:u.origin});t=u.source,t.postMessage(eV(n,r,l.id,c),u.origin)}},s=m3(e,o);return[e,o,s]}function aV(e,t,n,r,i){let a=Math.random().toString();return e.postMessage(IT(t,"tell",n,a,r),i)}async function kT(e,t,n,r,i,a,o){let s=Math.random().toString(),u=new Promise(async(l,c)=>{let d=setTimeout(()=>c(new Error(`Failed to get response within ${o}ms`)),o),g=await rV(e,n,r,s);clearTimeout(d),l(g)});return t.postMessage(IT(n,"ask",r,s,i),a),u}var Ci=class e{constructor(t,n,r=window,i="*"){this.protocol=t;this.targetWindow=n;this.thisWindow=r;this.targetOrigin=i;this.listeners.push(AT(r,n,this.getSystemProtocol("ping"),"ping",i,()=>Promise.resolve({})))}static async connect(t,n=10,r=500){for(let i=0;i<=n;i++)try{return await t.ping({timeout:r}),t}catch{continue}throw new Error(`Could not connect on protocol ${t.protocol.type} after ${n*r}ms`)}static parent(t,n,r="*",i=window){let a=n.contentWindow;if(oo(a))return new e(t,a,i,r);throw new Error("iframe.contentWindow was null")}static iframe(t,n="*",{thisWindow:r=window,targetWindow:i=window.parent}={}){return new e(t,i,r,n)}static rootIframe(t,n="*",{thisWindow:r=window}={}){return new e(t,null,r,n)}getSystemProtocol(t){return{type:`system|${t}`}}listeners=[];async ping({timeout:t=1e4}){await kT(this.thisWindow,this.targetWindow,this.getSystemProtocol("ping"),"ping",{data:{},payload:{}},this.targetOrigin,t)}handleTell(t,n){this.listeners.push(iV(this.thisWindow,this.protocol,t,n))}tell(t,n){aV(this.targetWindow,this.protocol,t,n,this.targetOrigin)}handleAsk(t,n){this.listeners.push(AT(this.thisWindow,this.targetWindow,this.protocol,t,this.targetOrigin,n))}ask(t,n,r=1e4){if(this.targetWindow)return kT(this.thisWindow,this.targetWindow,this.protocol,t,n,this.targetOrigin,r);throw new Error("target window is requried")}destroy(){nV(this.listeners)}};async function oV(e){await new Promise(t=>setTimeout(t,e))}async function sV(e,{timeout:t=1e4,interval:n=200}={}){let r=Date.now()+t;for(;Date.now()<r;)try{await e.ping({timeout:n});return}catch{await oV(n)}throw new Error("Failed to establish Protoframe connection within timeout")}Ci.connect=sV;var uV=[500,1e3,2e3,4e3,5e3],lV={to:"background:main",from:"content:health",payload:{method:"ping"}};function cV(){return typeof Be?.runtime?.sendMessage=="function"}function dV(e){return new Promise(t=>setTimeout(t,e))}var p3=class{state="healthy";reconnectingPromise=null;constructor(){this.installVisibilityProbe()}async sendWithHealth(t){try{return await t()}catch(n){if(!Cm(n))throw n;k.warn("[message-health] \u53D1\u9001\u5931\u8D25\uFF0C\u5F00\u59CB\u91CD\u8FDE",n),await this.ensureHealthy();try{return await t()}catch(r){throw Cm(r)&&this.enterDegraded(r),r}}}async ensureHealthy(){if(!(this.state==="healthy"&&!this.reconnectingPromise)){if(this.reconnectingPromise)return await this.reconnectingPromise;this.state="reconnecting",this.reconnectingPromise=this.recoverLoop();try{await this.reconnectingPromise}finally{this.reconnectingPromise=null}}}async recoverLoop(){for(let t of uV){if(await this.pingBackground()){this.state="healthy",k.info("[message-health] \u901A\u9053\u5DF2\u6062\u590D");return}await dV(t)}this.enterDegraded()}async pingBackground(){if(!cV())return!0;try{let t=await Be.runtime.sendMessage(lV);return t?.ok===!0?!0:(k.debug("[message-health] ping \u8FD4\u56DE\u5F02\u5E38",t),!1)}catch(t){return Cm(t)||k.debug("[message-health] ping \u5931\u8D25\uFF08\u4E0D\u53EF\u6062\u590D\u9519\u8BEF\uFF09",t),!1}}enterDegraded(t){this.state="degraded",k.warn("[message-health] \u901A\u9053\u4E0D\u53EF\u7528\uFF0C\u8BF7\u624B\u52A8\u5237\u65B0\u9875\u9762\u91CD\u8BD5",t)}installVisibilityProbe(){typeof document>"u"||document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&this.probeOnVisible()})}async probeOnVisible(){if(this.state!=="healthy"){await this.ensureHealthy();return}await this.pingBackground()||(k.debug("[message-health] \u9875\u9762\u6FC0\u6D3B\u68C0\u6D4B\u5230\u901A\u9053\u79BB\u7EBF\uFF0C\u5F00\u59CB\u91CD\u8FDE"),await this.ensureHealthy())}},f3;function Sm(){return f3||(f3=new p3),f3}var Em=[];function gV(e){return Em.push(e),()=>{let t=Em.indexOf(e);t!==-1&&Em.splice(t,1)}}g3(gV);var y3={type:`${ge}-messager-frame-bridge`},BT=hV();function mV(){return BT&&Je()}function fV(){return BT&&!Je()}function OT(){return Je()&&Tm()}var h3,DT;function pV(){if(mV())return h3||(h3=new b3),h3}function _T(){fV()&&(DT||(DT=new v3))}function hV(){return Me()?!0:!(typeof window>"u"||typeof document>"u")}var so,PT=!1;function wm(){return so?.address.type}function UT(){return new Y("MessageSilentMode","[message] \u767B\u5F55\u57DF\u540D iframe \u9759\u9ED8\u6A21\u5F0F\uFF0C\u5DF2\u8DF3\u8FC7\u6D88\u606F\u53D1\u9001")}function yV(e){return{name:e.name??"",sendMessage:()=>Promise.reject(UT()),dispose:()=>{}}}function bV(e){if(typeof e!="object"||e===null)return!1;let t=e;return typeof t.type!="string"?!1:t.type.startsWith(ge)&&(t.type.includes("#ask#")||t.type.includes("#tell#"))}function RT(){PT||typeof globalThis>"u"||!("addEventListener"in globalThis)||(PT=!0,globalThis.addEventListener("message",e=>{if(bV(e.data))try{for(let t of Em)try{t(e)}catch(n){k.error("[message-isolation] handler error:",n)}}finally{e.stopImmediatePropagation()}},{capture:!0}))}function Ta(e,t,n){if(OT())return k.debug("[message] \u767B\u5F55\u57DF\u540D iframe\uFF0C\u8DF3\u8FC7 listenMessage"),yV(e);if(typeof e=="object"&&e?.type==="content"&&e?.topFrame&&Je())return{name:e.name??"",sendMessage:()=>Promise.reject(new Error("top frame content not supported")),dispose:()=>{}};let r=pV();if(r){let o=r.listenMessage(e,t,n);return n?.registerSender&&(so={address:e,connection:o}),RT(),o}let a=new $o(e.type,!1).getConnection(e.name??"",t,{sync:n?.sync,replayOfflineMessages:n?.backlog??!1,backlogSize:n?.backlogSize,confirm:n?.confirm});return n?.registerSender&&(so={address:e,connection:a}),RT(),a}function vV(e){return typeof e=="string"?{method:e}:e}async function he(e,t,n){if(OT())return k.debug("[message] \u767B\u5F55\u57DF\u540D iframe\uFF0C\u8DF3\u8FC7 sendMessage"),Promise.reject(UT());let r=xV(),i=await SV(CV(e,"main")),a=EV(n,i.topFrame,i?.frameId);return await wV(()=>r.connection.sendMessage(TV(i),vV(t),a))}function xV(){if(!so)throw new Error("[message] \u5F53\u524D\u4E0A\u4E0B\u6587\u672A\u6CE8\u518C\u6D88\u606F\u8EAB\u4EFD\uFF0C\u8BF7\u5148\u8C03\u7528 listenMessage()");return so}function CV(e,t){if(typeof e!="string")return{type:e.type,name:e.name??t,tabId:e.tabId,topFrame:e.topFrame,frameId:e.frameId};let n=e.split(":");if(n.length===1)return{type:n[0],name:t};if(n.length===2)return{type:n[0],name:n[1]};if(n.length===3){let r=n[2];return r==="currentWindowActive"?{type:n[0],name:n[1],tabId:"currentWindowActive"}:{type:n[0],name:n[1],tabId:Number(r)}}throw new Error("invalid address format")}function TV(e){let t=so?.address.type==="content"||Me();if(e.type==="content"){if(typeof e.tabId=="number")return`${e.type}:${e.name}:${e.tabId}`;if(Me()||t)return`${e.type}:${e.name}`;throw new Error("content_script \u5730\u5740\u5FC5\u987B\u63D0\u4F9B tabId")}return`${e.type}:${e.name}`}async function SV(e){if(e.type!=="content")return e;let t=so?.address.type==="content"||Me();if(typeof e.tabId=="number"||t)return e;if(!e.tabId||e.tabId==="currentWindowActive"){if(!Be.tabs?.query)throw new Error("[message] \u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301\u67E5\u8BE2\u6FC0\u6D3B tab");let r=(await Be.tabs.query({active:!0,currentWindow:!0})).find(i=>typeof i.id=="number")?.id;if(typeof r=="number")return{...e,tabId:r};throw new Error("[message] \u672A\u627E\u5230\u5F53\u524D\u7A97\u53E3\u6FC0\u6D3B\u7684 tab")}if(Me())return e;throw new Error("content_script \u5730\u5740\u5FC5\u987B\u63D0\u4F9B tabId")}function EV(e,t,n){return typeof e=="boolean"?{backlog:e,targetTopFrame:t??!1}:{backlog:e?.backlog??!1,backlogSize:e?.backlogSize,retryIntervalMs:e?.retryIntervalMs,targetTopFrame:t??!1,frameId:n}}async function wV(e){return so?.address.type!=="content"?await e():await Sm().sendWithHealth(e)}var b3=class{channel;frameId;subscribers=new Map;constructor(){this.frameId=FT("frame"),this.channel=Ci.iframe(y3,"*",{targetWindow:this.getTopWindow()}),this.channel.handleAsk("deliverMessage",async t=>await this.handleDeliver(t))}listenMessage(t,n,r){let i=FT(`${t.type}-${t.name??"main"}`),o=new $o(t.type,!1).getConnection(t.name??"",n,{sync:r?.sync,replayOfflineMessages:r?.backlog??!1,backlogSize:r?.backlogSize,confirm:r?.confirm});return this.subscribers.set(i,{id:i,address:t,handler:n,options:NT(r),localConnection:o}),this.registerRemote(i,t,r),{name:t.name??"",sendMessage:async(s,u,l)=>await this.sendWithRouting(i,s,u,l),dispose:()=>{o.dispose(),this.unregisterRemote(i),this.subscribers.delete(i)}}}async sendWithRouting(t,n,r,i){let a=this.subscribers.get(t);if(!a)throw new Y("UnknownSubscriber","sender not found");return this.shouldRouteViaTopFrame(n,i)?await this.sendViaBridge(t,n,r,i):await a.localConnection.sendMessage(n,r,i)}shouldRouteViaTopFrame(t,n){if(n?.targetTopFrame)return!0;let r=t.split(":")[0];return r==="background"||r==="offscreen"||r==="popup"||r==="side_panel"}async registerRemote(t,n,r){try{await this.channel.ask("registerSubscriber",{frameId:this.frameId,subscriberId:t,address:n,options:NT(r)})}catch(i){k.error("[frame-bridge] register subscriber failed",i)}}async unregisterRemote(t){try{await this.channel.ask("unregisterSubscriber",{subscriberId:t})}catch(n){k.debug("[frame-bridge] unregister subscriber failed",n)}}async sendViaBridge(t,n,r,i){let a=await this.channel.ask("sendMessage",{subscriberId:t,to:n,payload:r,options:i});if(!a.ok)throw new Y(a.errorName,a.errorMessage);return a.data}async handleDeliver(t){let n=this.subscribers.get(t.subscriberId);if(!n)return{ok:!1,errorName:"UnknownSubscriber",errorMessage:"subscriber not found"};try{let r=t.author??{type:"frame_bridge",name:"host"};return{ok:!0,data:await n.handler(t.payload,r)}}catch(r){let i=jT(r);return{ok:!1,errorName:i.name,errorMessage:i.message}}}getTopWindow(){let t=globalThis;try{for(;t.top!==t.self;)t=t.top}catch{t=globalThis.top??t}return t}},v3=class{channel;subscribers=new Map;constructor(){this.channel=Ci.rootIframe(y3),this.channel.handleAsk("registerSubscriber",async(t,n)=>await this.handleRegister(t,n)),this.channel.handleAsk("unregisterSubscriber",async t=>await this.handleUnregister(t)),this.channel.handleAsk("sendMessage",async t=>await this.handleSend(t))}handleRegister(t,n){if(!n.source)return Promise.resolve({ok:!1,error:"missing_source"});let r=new Ci(y3,n.source,window,n.origin),i=new $o(t.address.type,!1),a=async(s,u)=>{let l=await r.ask("deliverMessage",{subscriberId:t.subscriberId,payload:s,author:u});if(!l.ok)throw new Y(l.errorName,l.errorMessage);return l.data},o=i.getConnection(t.address.name??"",a,{sync:t.options?.sync,replayOfflineMessages:t.options?.backlog??!1,backlogSize:t.options?.backlogSize,confirm:t.options?.confirm,filter:s=>!s.payload.__imtMeta?.targetTopFrame});return this.subscribers.set(t.subscriberId,{subscriberId:t.subscriberId,bridge:r,connection:o,messenger:i}),Promise.resolve({ok:!0})}handleUnregister(t){let n=this.subscribers.get(t.subscriberId);return n&&(n.connection.dispose(),n.bridge.destroy(),this.subscribers.delete(t.subscriberId)),Promise.resolve({ok:!0})}async handleSend(t){let n=this.subscribers.get(t.subscriberId);if(!n)return{ok:!1,errorName:"UnknownSubscriber",errorMessage:"sender not found"};try{return{ok:!0,data:await n.connection.sendMessage(t.to,t.payload,t.options)}}catch(r){let i=jT(r);return{ok:!1,errorName:i.name,errorMessage:i.message}}}};function NT(e){if(!e)return;let{registerSender:t,...n}=e;return n}function FT(e){return`${e}-${Math.random().toString(36).slice(2,10)}`}function jT(e){return e instanceof Y?{name:e.name,message:e.message}:e instanceof Error?{name:e.name,message:e.message}:{name:"UnknownError",message:String(e)}}var AV=new String("\u4E07\u4E0E\u4E11\u4E13\u4E1A\u4E1B\u4E1C\u4E1D\u4E22\u4E24\u4E25\u4E27\u4E2A\u4E2C\u4E30\u4E34\u4E3A\u4E3D\u4E3E\u4E48\u4E49\u4E4C\u4E50\u4E54\u4E60\u4E61\u4E66\u4E70\u4E71\u4E89\u4E8E\u4E8F\u4E91\u4E98\u4E9A\u4EA7\u4EA9\u4EB2\u4EB5\u4EB8\u4EBF\u4EC5\u4ECE\u4ED1\u4ED3\u4EEA\u4EEC\u4EF7\u4F17\u4F18\u4F19\u4F1A\u4F1B\u4F1E\u4F1F\u4F20\u4F24\u4F25\u4F26\u4F27\u4F2A\u4F2B\u4F53\u4F59\u4F63\u4F65\u4FA0\u4FA3\u4FA5\u4FA6\u4FA7\u4FA8\u4FA9\u4FAA\u4FAC\u4FE3\u4FE6\u4FE8\u4FE9\u4FEA\u4FED\u503A\u503E\u506C\u507B\u507E\u507F\u50A5\u50A7\u50A8\u50A9\u513F\u5151\u5156\u515A\u5170\u5173\u5174\u5179\u517B\u517D\u5181\u5185\u5188\u518C\u5199\u519B\u519C\u51A2\u51AF\u51B2\u51B3\u51B5\u51BB\u51C0\u51C4\u51C9\u51CC\u51CF\u51D1\u51DB\u51E0\u51E4\u51EB\u51ED\u51EF\u51FB\u51FC\u51FF\u520D\u5212\u5218\u5219\u521A\u521B\u5220\u522B\u522C\u522D\u523D\u523F\u5240\u5242\u5250\u5251\u5265\u5267\u529D\u529E\u52A1\u52A2\u52A8\u52B1\u52B2\u52B3\u52BF\u52CB\u52D0\u52DA\u5300\u5326\u532E\u533A\u533B\u534E\u534F\u5355\u5356\u5362\u5364\u5367\u536B\u5374\u537A\u5382\u5385\u5386\u5389\u538B\u538C\u538D\u5395\u53A2\u53A3\u53A6\u53A8\u53A9\u53AE\u53BF\u53C2\u53C6\u53C7\u53CC\u53D1\u53D8\u53D9\u53E0\u53F6\u53F7\u53F9\u53FD\u5401\u540E\u5413\u5415\u5417\u5423\u5428\u542C\u542F\u5434\u5452\u5453\u5455\u5456\u5457\u5458\u5459\u545B\u545C\u548F\u5494\u5499\u549B\u549D\u54A4\u54B4\u54B8\u54CC\u54CD\u54D1\u54D2\u54D3\u54D4\u54D5\u54D7\u54D9\u54DC\u54DD\u54DF\u551B\u551D\u5520\u5521\u5522\u5523\u5524\u553F\u5567\u556C\u556D\u556E\u5570\u5574\u5578\u55B7\u55BD\u55BE\u55EB\u5475\u55F3\u5618\u5624\u5631\u565C\u567C\u56A3\u56AF\u56E2\u56ED\u56F1\u56F4\u56F5\u56FD\u56FE\u5706\u5723\u5739\u573A\u5742\u574F\u5757\u575A\u575B\u575C\u575D\u575E\u575F\u5760\u5784\u5785\u5786\u5792\u57A6\u57A7\u57A9\u57AB\u57AD\u57AF\u57B1\u57B2\u57B4\u57D8\u57D9\u57DA\u57DD\u57EF\u5811\u5815\u5846\u5899\u58EE\u58F0\u58F3\u58F6\u58F8\u5904\u5907\u590D\u591F\u5934\u5938\u5939\u593A\u5941\u5942\u594B\u5956\u5965\u5986\u5987\u5988\u59A9\u59AA\u59AB\u59D7\u59DC\u5A04\u5A05\u5A06\u5A07\u5A08\u5A31\u5A32\u5A34\u5A73\u5A74\u5A75\u5A76\u5AAA\u5AD2\u5AD4\u5AF1\u5B37\u5B59\u5B66\u5B6A\u5B81\u5B9D\u5B9E\u5BA0\u5BA1\u5BAA\u5BAB\u5BBD\u5BBE\u5BDD\u5BF9\u5BFB\u5BFC\u5BFF\u5C06\u5C14\u5C18\u5C27\u5C34\u5C38\u5C3D\u5C42\u5C43\u5C49\u5C4A\u5C5E\u5C61\u5C66\u5C7F\u5C81\u5C82\u5C96\u5C97\u5C98\u5C99\u5C9A\u5C9B\u5CAD\u5CB3\u5CBD\u5CBF\u5CC3\u5CC4\u5CE1\u5CE3\u5CE4\u5CE5\u5CE6\u5D02\u5D03\u5D04\u5D2D\u5D58\u5D5A\u5D5B\u5D5D\u5D74\u5DC5\u5DE9\u5DEF\u5E01\u5E05\u5E08\u5E0F\u5E10\u5E18\u5E1C\u5E26\u5E27\u5E2E\u5E31\u5E3B\u5E3C\u5E42\u5E5E\u5E72\u5E76\u5E7F\u5E84\u5E86\u5E90\u5E91\u5E93\u5E94\u5E99\u5E9E\u5E9F\u5EBC\u5EEA\u5F00\u5F02\u5F03\u5F20\u5F25\u5F2A\u5F2F\u5F39\u5F3A\u5F52\u5F53\u5F55\u5F5F\u5F66\u5F7B\u5F84\u5F95\u5FA1\u5FC6\u5FCF\u5FE7\u5FFE\u6000\u6001\u6002\u6003\u6004\u6005\u6006\u601C\u603B\u603C\u603F\u604B\u6073\u6076\u6078\u6079\u607A\u607B\u607C\u607D\u60A6\u60AB\u60AC\u60AD\u60AF\u60CA\u60E7\u60E8\u60E9\u60EB\u60EC\u60ED\u60EE\u60EF\u610D\u6120\u6124\u6126\u613F\u6151\u616D\u61B7\u61D1\u61D2\u61D4\u6206\u620B\u620F\u6217\u6218\u622C\u6237\u624E\u6251\u6266\u6267\u6269\u626A\u626B\u626C\u6270\u629A\u629B\u629F\u62A0\u62A1\u62A2\u62A4\u62A5\u62C5\u62DF\u62E2\u62E3\u62E5\u62E6\u62E7\u62E8\u62E9\u6302\u631A\u631B\u631C\u631D\u631E\u631F\u6320\u6321\u6322\u6323\u6324\u6325\u6326\u635E\u635F\u6361\u6362\u6363\u636E\u637B\u63B3\u63B4\u63B7\u63B8\u63BA\u63BC\u63F8\u63FD\u63FF\u6400\u6401\u6402\u6405\u643A\u6444\u6445\u6446\u6447\u6448\u644A\u6484\u6491\u64B5\u64B7\u64B8\u64BA\u64DE\u6512\u654C\u655B\u6570\u658B\u6593\u6597\u65A9\u65AD\u65E0\u65E7\u65F6\u65F7\u65F8\u6619\u663C\u663D\u663E\u664B\u6652\u6653\u6654\u6655\u6656\u6682\u66A7\u672D\u672F\u6734\u673A\u6740\u6742\u6743\u6761\u6765\u6768\u6769\u6770\u6781\u6784\u679E\u67A2\u67A3\u67A5\u67A7\u67A8\u67AA\u67AB\u67AD\u67DC\u67E0\u67FD\u6800\u6805\u6807\u6808\u6809\u680A\u680B\u680C\u680E\u680F\u6811\u6816\u6837\u683E\u684A\u6860\u6861\u6862\u6863\u6864\u6865\u6866\u6867\u6868\u6869\u68A6\u68BC\u68BE\u68C0\u68C2\u6901\u691F\u6920\u6924\u692D\u697C\u6984\u6987\u6988\u6989\u69DA\u69DB\u69DF\u69E0\u6A2A\u6A2F\u6A31\u6A65\u6A71\u6A79\u6A7C\u6A90\u6AA9\u6B22\u6B24\u6B27\u6B7C\u6B81\u6B87\u6B8B\u6B92\u6B93\u6B9A\u6BA1\u6BB4\u6BC1\u6BC2\u6BD5\u6BD9\u6BE1\u6BF5\u6C07\u6C14\u6C22\u6C29\u6C32\u6C47\u6C49\u6C61\u6C64\u6C79\u6C93\u6C9F\u6CA1\u6CA3\u6CA4\u6CA5\u6CA6\u6CA7\u6CA8\u6CA9\u6CAA\u6CB5\u6CDE\u6CEA\u6CF6\u6CF7\u6CF8\u6CFA\u6CFB\u6CFC\u6CFD\u6CFE\u6D01\u6D12\u6D3C\u6D43\u6D45\u6D46\u6D47\u6D48\u6D49\u6D4A\u6D4B\u6D4D\u6D4E\u6D4F\u6D50\u6D51\u6D52\u6D53\u6D54\u6D55\u6D82\u6D8C\u6D9B\u6D9D\u6D9E\u6D9F\u6DA0\u6DA1\u6DA2\u6DA3\u6DA4\u6DA6\u6DA7\u6DA8\u6DA9\u6DC0\u6E0A\u6E0C\u6E0D\u6E0E\u6E10\u6E11\u6E14\u6E16\u6E17\u6E29\u6E38\u6E7E\u6E7F\u6E83\u6E85\u6E86\u6E87\u6ED7\u6EDA\u6EDE\u6EDF\u6EE0\u6EE1\u6EE2\u6EE4\u6EE5\u6EE6\u6EE8\u6EE9\u6EEA\u6F24\u6F46\u6F47\u6F4B\u6F4D\u6F5C\u6F74\u6F9C\u6FD1\u6FD2\u704F\u706D\u706F\u7075\u707E\u707F\u7080\u7089\u7096\u709C\u709D\u70B9\u70BC\u70BD\u70C1\u70C2\u70C3\u70DB\u70DF\u70E6\u70E7\u70E8\u70E9\u70EB\u70EC\u70ED\u7115\u7116\u7118\u7145\u7173\u7198\u7231\u7237\u724D\u7266\u7275\u727A\u728A\u729F\u72B6\u72B7\u72B8\u72B9\u72C8\u72CD\u72DD\u72DE\u72EC\u72ED\u72EE\u72EF\u72F0\u72F1\u72F2\u7303\u730E\u7315\u7321\u732A\u732B\u732C\u732E\u736D\u7391\u7399\u739A\u739B\u73AE\u73AF\u73B0\u73B1\u73BA\u73C9\u73CF\u73D0\u73D1\u73F0\u73F2\u740E\u740F\u7410\u743C\u7476\u7477\u7487\u748E\u74D2\u74EE\u74EF\u7535\u753B\u7545\u7572\u7574\u7596\u7597\u759F\u75A0\u75A1\u75AC\u75AE\u75AF\u75B1\u75B4\u75C8\u75C9\u75D2\u75D6\u75E8\u75EA\u75EB\u75F4\u7605\u7606\u7617\u7618\u762A\u762B\u763E\u763F\u765E\u7663\u766B\u766F\u7691\u76B1\u76B2\u76CF\u76D0\u76D1\u76D6\u76D7\u76D8\u770D\u7726\u772C\u7740\u7741\u7750\u7751\u7792\u77A9\u77EB\u77F6\u77FE\u77FF\u7800\u7801\u7816\u7817\u781A\u781C\u783A\u783B\u783E\u7840\u7841\u7845\u7855\u7856\u7857\u7859\u785A\u786E\u7877\u788D\u789B\u789C\u78B1\u78B9\u78D9\u793C\u794E\u7962\u796F\u7977\u7978\u7980\u7984\u7985\u79BB\u79C3\u79C6\u79CD\u79EF\u79F0\u79FD\u79FE\u7A06\u7A0E\u7A23\u7A33\u7A51\u7A77\u7A83\u7A8D\u7A91\u7A9C\u7A9D\u7AA5\u7AA6\u7AAD\u7AD6\u7ADE\u7B03\u7B0B\u7B14\u7B15\u7B3A\u7B3C\u7B3E\u7B51\u7B5A\u7B5B\u7B5C\u7B5D\u7B79\u7B7E\u7B80\u7B93\u7BA6\u7BA7\u7BA8\u7BA9\u7BAA\u7BAB\u7BD1\u7BD3\u7BEE\u7BF1\u7C16\u7C41\u7C74\u7C7B\u7C7C\u7C9C\u7C9D\u7CA4\u7CAA\u7CAE\u7CC1\u7CC7\u7D27\u7D77\u7E9F\u7EA0\u7EA1\u7EA2\u7EA3\u7EA4\u7EA5\u7EA6\u7EA7\u7EA8\u7EA9\u7EAA\u7EAB\u7EAC\u7EAD\u7EAE\u7EAF\u7EB0\u7EB1\u7EB2\u7EB3\u7EB4\u7EB5\u7EB6\u7EB7\u7EB8\u7EB9\u7EBA\u7EBB\u7EBC\u7EBD\u7EBE\u7EBF\u7EC0\u7EC1\u7EC2\u7EC3\u7EC4\u7EC5\u7EC6\u7EC7\u7EC8\u7EC9\u7ECA\u7ECB\u7ECC\u7ECD\u7ECE\u7ECF\u7ED0\u7ED1\u7ED2\u7ED3\u7ED4\u7ED5\u7ED6\u7ED7\u7ED8\u7ED9\u7EDA\u7EDB\u7EDC\u7EDD\u7EDE\u7EDF\u7EE0\u7EE1\u7EE2\u7EE3\u7EE4\u7EE5\u7EE6\u7EE7\u7EE8\u7EE9\u7EEA\u7EEB\u7EEC\u7EED\u7EEE\u7EEF\u7EF0\u7EF1\u7EF2\u7EF3\u7EF4\u7EF5\u7EF6\u7EF7\u7EF8\u7EF9\u7EFA\u7EFB\u7EFC\u7EFD\u7EFE\u7EFF\u7F00\u7F01\u7F02\u7F03\u7F04\u7F05\u7F06\u7F07\u7F08\u7F09\u7F0A\u7F0B\u7F0C\u7F0D\u7F0E\u7F0F\u7F10\u7F11\u7F12\u7F13\u7F14\u7F15\u7F16\u7F17\u7F18\u7F19\u7F1A\u7F1B\u7F1C\u7F1D\u7F1E\u7F1F\u7F20\u7F21\u7F22\u7F23\u7F24\u7F25\u7F26\u7F27\u7F28\u7F29\u7F2A\u7F2B\u7F2C\u7F2D\u7F2E\u7F2F\u7F30\u7F31\u7F32\u7F33\u7F34\u7F35\u7F42\u7F51\u7F57\u7F5A\u7F62\u7F74\u7F81\u7F9F\u7FA1\u7FD8\u7FD9\u7FDA\u8022\u8027\u8038\u803B\u8042\u804B\u804C\u804D\u8054\u8069\u806A\u8083\u80A0\u80A4\u80B7\u80BE\u80BF\u80C0\u80C1\u80C6\u80DC\u80E7\u80E8\u80EA\u80EB\u80F6\u8109\u810D\u810F\u8110\u8111\u8113\u8114\u811A\u8131\u8136\u8138\u814A\u814C\u8158\u816D\u817B\u817C\u817D\u817E\u8191\u81DC\u8206\u8223\u8230\u8231\u823B\u8270\u8273\u8279\u827A\u8282\u8288\u8297\u829C\u82A6\u82C1\u82C7\u82C8\u82CB\u82CC\u82CD\u82CE\u82CF\u82D8\u82F9\u830E\u830F\u8311\u8314\u8315\u8327\u8346\u8350\u8359\u835A\u835B\u835C\u835E\u835F\u8360\u8361\u8363\u8364\u8365\u8366\u8367\u8368\u8369\u836A\u836B\u836C\u836D\u836E\u836F\u8385\u839C\u83B1\u83B2\u83B3\u83B4\u83B6\u83B7\u83B8\u83B9\u83BA\u83BC\u841A\u841D\u8424\u8425\u8426\u8427\u8428\u8471\u8487\u8489\u848B\u848C\u84DD\u84DF\u84E0\u84E3\u84E5\u84E6\u8537\u8539\u853A\u853C\u8572\u8574\u85AE\u85C1\u85D3\u864F\u8651\u865A\u866B\u866C\u866E\u867D\u867E\u867F\u8680\u8681\u8682\u8695\u869D\u86AC\u86CA\u86CE\u86CF\u86EE\u86F0\u86F1\u86F2\u86F3\u86F4\u8715\u8717\u8721\u8747\u8748\u8749\u874E\u877C\u877E\u8780\u87A8\u87CF\u8845\u8854\u8865\u886C\u886E\u8884\u8885\u8886\u889C\u88AD\u88AF\u88C5\u88C6\u88C8\u88E2\u88E3\u88E4\u88E5\u891B\u8934\u8941\u8955\u89C1\u89C2\u89C3\u89C4\u89C5\u89C6\u89C7\u89C8\u89C9\u89CA\u89CB\u89CC\u89CD\u89CE\u89CF\u89D0\u89D1\u89DE\u89E6\u89EF\u8A5F\u8A89\u8A8A\u8BA0\u8BA1\u8BA2\u8BA3\u8BA4\u8BA5\u8BA6\u8BA7\u8BA8\u8BA9\u8BAA\u8BAB\u8BAD\u8BAE\u8BAF\u8BB0\u8BB1\u8BB2\u8BB3\u8BB4\u8BB5\u8BB6\u8BB7\u8BB8\u8BB9\u8BBA\u8BBB\u8BBC\u8BBD\u8BBE\u8BBF\u8BC0\u8BC1\u8BC2\u8BC3\u8BC4\u8BC5\u8BC6\u8BC7\u8BC8\u8BC9\u8BCA\u8BCB\u8BCC\u8BCD\u8BCE\u8BCF\u8BD0\u8BD1\u8BD2\u8BD3\u8BD4\u8BD5\u8BD6\u8BD7\u8BD8\u8BD9\u8BDA\u8BDB\u8BDC\u8BDD\u8BDE\u8BDF\u8BE0\u8BE1\u8BE2\u8BE3\u8BE4\u8BE5\u8BE6\u8BE7\u8BE8\u8BE9\u8BEA\u8BEB\u8BEC\u8BED\u8BEE\u8BEF\u8BF0\u8BF1\u8BF2\u8BF3\u8BF4\u8BF5\u8BF6\u8BF7\u8BF8\u8BF9\u8BFA\u8BFB\u8BFC\u8BFD\u8BFE\u8BFF\u8C00\u8C01\u8C02\u8C03\u8C04\u8C05\u8C06\u8C07\u8C08\u8C0A\u8C0B\u8C0C\u8C0D\u8C0E\u8C0F\u8C10\u8C11\u8C12\u8C13\u8C14\u8C15\u8C16\u8C17\u8C18\u8C19\u8C1A\u8C1B\u8C1C\u8C1D\u8C1E\u8C1F\u8C20\u8C21\u8C22\u8C23\u8C24\u8C25\u8C26\u8C27\u8C28\u8C29\u8C2A\u8C2B\u8C2C\u8C2D\u8C2E\u8C2F\u8C30\u8C31\u8C32\u8C33\u8C34\u8C35\u8C36\u8C37\u8C6E\u8D1D\u8D1E\u8D1F\u8D20\u8D21\u8D22\u8D23\u8D24\u8D25\u8D26\u8D27\u8D28\u8D29\u8D2A\u8D2B\u8D2C\u8D2D\u8D2E\u8D2F\u8D30\u8D31\u8D32\u8D33\u8D34\u8D35\u8D36\u8D37\u8D38\u8D39\u8D3A\u8D3B\u8D3C\u8D3D\u8D3E\u8D3F\u8D40\u8D41\u8D42\u8D43\u8D44\u8D45\u8D46\u8D47\u8D48\u8D49\u8D4A\u8D4B\u8D4C\u8D4D\u8D4E\u8D4F\u8D50\u8D51\u8D52\u8D53\u8D54\u8D55\u8D56\u8D57\u8D58\u8D59\u8D5A\u8D5B\u8D5C\u8D5D\u8D5E\u8D5F\u8D60\u8D61\u8D62\u8D63\u8D6A\u8D75\u8D76\u8D8B\u8DB1\u8DB8\u8DC3\u8DC4\u8DD6\u8DDE\u8DF5\u8DF6\u8DF7\u8DF8\u8DF9\u8DFB\u8E0A\u8E0C\u8E2A\u8E2C\u8E2F\u8E51\u8E52\u8E70\u8E7F\u8E8F\u8E9C\u8EAF\u8F66\u8F67\u8F68\u8F69\u8F6A\u8F6B\u8F6C\u8F6D\u8F6E\u8F6F\u8F70\u8F71\u8F72\u8F73\u8F74\u8F75\u8F76\u8F77\u8F78\u8F79\u8F7A\u8F7B\u8F7C\u8F7D\u8F7E\u8F7F\u8F80\u8F81\u8F82\u8F83\u8F84\u8F85\u8F86\u8F87\u8F88\u8F89\u8F8A\u8F8B\u8F8C\u8F8D\u8F8E\u8F8F\u8F90\u8F91\u8F92\u8F93\u8F94\u8F95\u8F96\u8F97\u8F98\u8F99\u8F9A\u8F9E\u8FA9\u8FAB\u8FB9\u8FBD\u8FBE\u8FC1\u8FC7\u8FC8\u8FD0\u8FD8\u8FD9\u8FDB\u8FDC\u8FDD\u8FDE\u8FDF\u8FE9\u8FF3\u8FF9\u9002\u9009\u900A\u9012\u9026\u903B\u9057\u9065\u9093\u909D\u90AC\u90AE\u90B9\u90BA\u90BB\u90C1\u90C4\u90CF\u90D0\u90D1\u90D3\u90E6\u90E7\u90F8\u915D\u9166\u9171\u917D\u917E\u917F\u91CA\u91CC\u9245\u9274\u92AE\u933E\u9486\u9487\u9488\u9489\u948A\u948B\u948C\u948D\u948E\u948F\u9490\u9491\u9492\u9493\u9494\u9495\u9496\u9497\u9498\u9499\u949A\u949B\u949D\u949E\u949F\u94A0\u94A1\u94A2\u94A3\u94A4\u94A5\u94A6\u94A7\u94A8\u94A9\u94AA\u94AB\u94AC\u94AD\u94AE\u94AF\u94B0\u94B1\u94B2\u94B3\u94B4\u94B5\u94B6\u94B7\u94B8\u94B9\u94BA\u94BB\u94BC\u94BD\u94BE\u94BF\u94C0\u94C1\u94C2\u94C3\u94C4\u94C5\u94C6\u94C8\u94C9\u94CA\u94CB\u94CD\u94CE\u94CF\u94D0\u94D1\u94D2\u94D5\u94D7\u94D8\u94D9\u94DA\u94DB\u94DC\u94DD\u94DE\u94DF\u94E0\u94E1\u94E2\u94E3\u94E4\u94E5\u94E6\u94E7\u94E8\u94EA\u94EB\u94EC\u94ED\u94EE\u94EF\u94F0\u94F1\u94F2\u94F3\u94F4\u94F5\u94F6\u94F7\u94F8\u94F9\u94FA\u94FB\u94FC\u94FD\u94FE\u94FF\u9500\u9501\u9502\u9503\u9504\u9505\u9506\u9507\u9508\u9509\u950A\u950B\u950C\u950D\u950E\u950F\u9510\u9511\u9512\u9513\u9514\u9515\u9516\u9517\u9519\u951A\u951C\u951E\u951F\u9520\u9521\u9522\u9523\u9524\u9525\u9526\u9528\u9529\u952B\u952C\u952D\u952E\u952F\u9530\u9531\u9532\u9533\u9534\u9535\u9536\u9537\u9538\u9539\u953A\u953B\u953C\u953D\u953E\u953F\u9540\u9541\u9542\u9543\u9546\u9547\u9548\u9549\u954A\u954C\u954D\u954E\u954F\u9550\u9551\u9552\u9555\u9556\u9557\u9559\u955A\u955B\u955C\u955D\u955E\u955F\u9560\u9561\u9562\u9563\u9564\u9565\u9566\u9567\u9568\u9569\u956A\u956B\u956C\u956D\u956E\u956F\u9570\u9571\u9572\u9573\u9574\u9576\u957F\u95E8\u95E9\u95EA\u95EB\u95EC\u95ED\u95EE\u95EF\u95F0\u95F1\u95F2\u95F3\u95F4\u95F5\u95F6\u95F7\u95F8\u95F9\u95FA\u95FB\u95FC\u95FD\u95FE\u95FF\u9600\u9601\u9602\u9603\u9604\u9605\u9606\u9607\u9608\u9609\u960A\u960B\u960C\u960D\u960E\u960F\u9610\u9611\u9612\u9613\u9614\u9615\u9616\u9617\u9618\u9619\u961A\u961B\u961F\u9633\u9634\u9635\u9636\u9645\u9646\u9647\u9648\u9649\u9655\u9667\u9668\u9669\u968F\u9690\u96B6\u96BD\u96BE\u96CF\u96E0\u96F3\u96FE\u9701\u9709\u972D\u9753\u9759\u9765\u9791\u9792\u97AF\u97B4\u97E6\u97E7\u97E8\u97E9\u97EA\u97EB\u97EC\u97F5\u9875\u9876\u9877\u9878\u9879\u987A\u987B\u987C\u987D\u987E\u987F\u9880\u9881\u9882\u9883\u9884\u9885\u9886\u9887\u9888\u9889\u988A\u988B\u988C\u988D\u988E\u988F\u9890\u9891\u9892\u9893\u9894\u9895\u9896\u9897\u9898\u9899\u989A\u989B\u989C\u989D\u989E\u989F\u98A0\u98A1\u98A2\u98A3\u98A4\u98A5\u98A6\u98A7\u98CE\u98CF\u98D0\u98D1\u98D2\u98D3\u98D4\u98D5\u98D6\u98D7\u98D8\u98D9\u98DA\u98DE\u98E8\u990D\u9964\u9965\u9966\u9967\u9968\u9969\u996A\u996B\u996C\u996D\u996E\u996F\u9970\u9971\u9972\u9973\u9974\u9975\u9976\u9977\u9978\u9979\u997A\u997B\u997C\u997D\u997E\u997F\u9980\u9981\u9982\u9983\u9984\u9985\u9986\u9987\u9988\u9989\u998A\u998B\u998C\u998D\u998E\u998F\u9990\u9991\u9992\u9993\u9994\u9995\u9A6C\u9A6D\u9A6E\u9A6F\u9A70\u9A71\u9A72\u9A73\u9A74\u9A75\u9A76\u9A77\u9A78\u9A79\u9A7A\u9A7B\u9A7C\u9A7D\u9A7E\u9A7F\u9A80\u9A81\u9A82\u9A83\u9A84\u9A85\u9A86\u9A87\u9A88\u9A89\u9A8A\u9A8B\u9A8C\u9A8D\u9A8E\u9A8F\u9A90\u9A91\u9A92\u9A93\u9A94\u9A95\u9A96\u9A97\u9A98\u9A99\u9A9A\u9A9B\u9A9C\u9A9D\u9A9E\u9A9F\u9AA0\u9AA1\u9AA2\u9AA3\u9AA4\u9AA5\u9AA6\u9AA7\u9AC5\u9ACB\u9ACC\u9B13\u9B47\u9B49\u9C7C\u9C7D\u9C7E\u9C7F\u9C80\u9C81\u9C82\u9C84\u9C85\u9C86\u9C87\u9C88\u9C89\u9C8A\u9C8B\u9C8C\u9C8D\u9C8E\u9C8F\u9C90\u9C91\u9C92\u9C93\u9C94\u9C95\u9C96\u9C97\u9C98\u9C99\u9C9A\u9C9B\u9C9C\u9C9D\u9C9E\u9C9F\u9CA0\u9CA1\u9CA2\u9CA3\u9CA4\u9CA5\u9CA6\u9CA7\u9CA8\u9CA9\u9CAA\u9CAB\u9CAC\u9CAD\u9CAE\u9CAF\u9CB0\u9CB1\u9CB2\u9CB3\u9CB4\u9CB5\u9CB6\u9CB7\u9CB8\u9CB9\u9CBA\u9CBB\u9CBC\u9CBD\u9CBE\u9CBF\u9CC0\u9CC1\u9CC2\u9CC3\u9CC4\u9CC5\u9CC6\u9CC7\u9CC8\u9CC9\u9CCA\u9CCB\u9CCC\u9CCD\u9CCE\u9CCF\u9CD0\u9CD1\u9CD2\u9CD3\u9CD4\u9CD5\u9CD6\u9CD7\u9CD8\u9CD9\u9CDB\u9CDC\u9CDD\u9CDE\u9CDF\u9CE0\u9CE1\u9CE2\u9CE3\u9E1F\u9E20\u9E21\u9E22\u9E23\u9E24\u9E25\u9E26\u9E27\u9E28\u9E29\u9E2A\u9E2B\u9E2C\u9E2D\u9E2E\u9E2F\u9E30\u9E31\u9E32\u9E33\u9E34\u9E35\u9E36\u9E37\u9E38\u9E39\u9E3A\u9E3B\u9E3C\u9E3D\u9E3E\u9E3F\u9E40\u9E41\u9E42\u9E43\u9E44\u9E45\u9E46\u9E47\u9E48\u9E49\u9E4A\u9E4B\u9E4C\u9E4D\u9E4E\u9E4F\u9E50\u9E51\u9E52\u9E53\u9E54\u9E55\u9E56\u9E57\u9E58\u9E5A\u9E5B\u9E5C\u9E5D\u9E5E\u9E5F\u9E60\u9E61\u9E62\u9E63\u9E64\u9E65\u9E66\u9E67\u9E68\u9E69\u9E6A\u9E6B\u9E6C\u9E6D\u9E6F\u9E70\u9E71\u9E72\u9E73\u9E74\u9E7E\u9EA6\u9EB8\u9EC4\u9EC9\u9EE1\u9EE9\u9EEA\u9EFE\u9F0B\u9F0C\u9F0D\u9F17\u9F39\u9F44\u9F50\u9F51\u9F7F\u9F80\u9F81\u9F82\u9F83\u9F84\u9F85\u9F86\u9F87\u9F88\u9F89\u9F8A\u9F8B\u9F8C\u9F99\u9F9A\u9F9B\u9F9F\u5FD7\u5236\u54A8\u53EA\u91CC\u7CFB\u8303\u677E\u6CA1\u5C1D\u5C1D\u95F9\u9762\u51C6\u949F\u522B\u95F2\u5E72\u5C3D\u810F\u62FC\u65E5\u66F0\u660C\u6676\u6658\u66DD\u66BB\u660E\u669D\u66A7\u76DF\u66CC\u6655\u6656\u6696\u5192\u6772\u6670\u65F6\u6695\u7085\u6671\u5F71\u98A2\u6643\u66BF\u664C\u7709\u6604\u66DB\u6634\u5254\u6615\u661F\u6633\u6607\u6602\u6677\u65F7\u6659\u665F\u6661\u663D\u65E2\u6608\u5373\u662A\u65E9\u6627\u6691\u6684\u6653\u664F\u665E\u65EF\u6620\u5832\u6641\u65E6\u6645\u6652\u65F4\u65FA\u6225\u664A\u65F1\u65F0\u660A\u6619\u6664\u6668\u6603\u663A\u91CF\u662F\u665A\u5195\u95C9\u668C\u65F8\u6623\u6624\u6657\u65FF\u9898\u5319\u6654\u97EA\u6628\u6666\u6613\u6612\u6600\u6685\u6606\u9E4D\u662B\u66F7\u66B3\u6674\u7167\u7166\u5194\u6687\u662D\u6700\u66DC\u6635\u666A\u663E\u66B4\u66E6\u66B5\u66D4\u5DF4\u65F5\u66A8\u5848\u52D6\u90FF\u9C40\u9E5B\u5C8A\u826E\u57A6\u66CF\u6B47\u6073\u9E56\u66D9\u66FC\u666B\u66BE\u6609\u65FB\u666F\u667E\u66E9\u66B6\u6631\u6697\u66C8\u66B2\u6621\u6650\u6708\u817D\u8165\u5E42\u80C6\u80A5\u51A5\u670B\u9AA8\u811F\u53D7\u9AC5\u9ABC\u9ABA\u9AB0\u89C5\u9AB6\u9AC0\u9AC2\u9ACC\u9AB7\u9ACB\u7231\u518C\u80F4\u812C\u821C\u9AB1\u9E4F\u9E58\u9ACE\u9AC1\u9AC3\u9AD1\u9AD3\u9AB8\u80B8\u7F55\u518F\u8131\u91C7\u5F69\u8098\u90DB\u819D\u4E73\u7099\u819B\u8112\u81A6\u80F1\u80D6\u8CF8\u6ED5\u7E22\u584D\u87A3\u817E\u5AB5\u809A\u6C0D\u80E0\u811A\u5468\u81CC\u81A8\u817A\u8113\u8C7A\u80F3\u8C8C\u8C89\u809C\u8C94\u816F\u8C8A\u8C86\u808C\u5197\u80A1\u8C85\u8C79\u80DC\u8C82\u8C98\u89C1\u81DC\u80DD\u80CD\u813E\u8200\u8174\u818A\u6718\u810F\u812F\u80C8\u80E7\u8109\u8151\u60AC\u817B\u80CE\u81C1\u8662\u80BA\u8116\u8169\u81A3\u8154\u80A2\u8159\u815A\u8118\u8155\u8191\u80FA\u5188\u8C3F\u80E8\u810E\u7136\u80B1\u80BD\u7F51\u521A\u814C\u80EF\u80F0\u519B\u808B\u80C1\u80BF\u6713\u8153\u5216\u80C2\u4E14\u809B\u56D7\u81D1\u80DA\u53BF\u809D\u7230\u52A9\u5220\u5177\u809F\u670A\u96CE\u540C\u8188\u8C5A\u51A2\u51A0\u8198\u817C\u8170\u51A4\u5B5A\u8171\u8106\u80B7\u80EB\u8199\u80A0\u8D1D\u8D57\u8179\u8D50\u80AD\u8D52\u8D51\u8D60\u8D22\u8D55\u8D29\u8D42\u80D7\u8D2C\u8D59\u8D43\u8D3C\u8D31\u8D47\u8D3B\u8D4C\u8D2E\u8D4E\u8D3F\u5219\u810D\u8138\u796D\u8D48\u8167\u8D4B\u8D61\u811E\u7F42\u8D25\u8D4A\u80E3\u8D2D\u8D26\u8D36\u80D9\u8D46\u8D5A\u5A74\u8D34\u8D54\u8D45\u8102\u80C0\u6710\u80DE\u80AB\u80F8\u7528\u76B2\u8160\u8148\u813F\u90D3\u80A4\u7529\u8136\u96D5\u81CA\u816D\u8132\u8C78\u8152\u670D\u51F8\u76BF\u814A\u819C\u8146\u6726\u6715\u80FC\u80BC\u81B3\u7F54\u76EE\u77B7\u773C\u7791\u77AC\u776C\u7747\u76FC\u7750\u7744\u77A0\u772F\u77B5\u7707\u7766\u772D\u778C\u7785\u7728\u7761\u770A\u7E47\u7765\u778D\u7768\u7743\u7738\u772C\u7719\u778B\u7779\u776B\u778E\u77AD\u774E\u7708\u773A\u8168\u76F1\u775A\u7704\u76EF\u779F\u77AB\u77BB\u89C3\u7735\u77B0\u777D\u77AA\u7741\u77BF\u7762\u77CD\u77A7\u7751\u76F7\u76F9\u9E5E\u775B\u7720\u77A9\u770D\u7736\u7792\u7784\u670F\u9F0E\u7726\u77B3\u7729\u59A5\u595A\u9E66\u80ED\u80DB\u7235\u8158\u816E\u4E39\u817F\u81AA\u8180\u80F6\u5F64\u80AE\u80AA\u8110\u80E9\u814B\u80EA\u5199\u81C6\u8111\u81C3\u80F2\u81BB\u91D1\u7511\u912B\u930B\u946B\u9393\u93FB\u5243\u9881\u90A0\u653D\u9E48\u516C\u9265\u9882\u74EE\u7FC1\u92D0\u90F8\u5181\u7236\u7238\u65A7\u91DC\u7239\u7237\u4E2B\u926E\u9E5F\u516E\u5F1F\u936D\u8C37\u93CF\u5151\u90E4\u6B32\u603B\u9E46\u8C3C\u5206\u574C\u8D2B\u5FFF\u924A\u76C6\u5C94\u9277\u66FE\u5355\u517D\u9267\u943D\u931E\u9429\u6728\u6773\u6985\u6963\u6982\u67E5\u68CD\u69BB\u6777\u6839\u68DA\u6805\u68D8\u6906\u67A7\u523A\u6850\u6874\u50F0\u6A31\u76F8\u67A3\u6733\u677E\u678D\u68AF\u68C1\u6797\u6942\u68FC\u68EE\u711A\u6750\u5F6C\u68B5\u6751\u9E93\u6A0A\u6500\u7981\u68A6\u90F4\u695A\u68FD\u61CB\u68BE\u5A6A\u6983\u695D\u6743\u6811\u686B\u67FD\u6748\u9887\u6770\u68A2\u6A18\u6989\u697C\u68EA\u676A\u6844\u67C8\u68EC\u6863\u675C\u68F1\u6A2F\u6842\u6A3E\u68BD\u6854\u624D\u67CF\u68C9\u69D4\u9F12\u6978\u76AE\u677F\u683C\u67CA\u688F\u6749\u69AD\u67F3\u69B4\u6AC6\u6744\u682A\u6934\u68F0\u681D\u696F\u6865\u6790\u6800\u67DD\u673A\u674B\u67AB\u6841\u6A84\u69D0\u6A47\u680E\u67E2\u6911\u6855\u5BF8\u6879\u6991\u68AD\u6869\u69ED\u6994\u6808\u680A\u6810\u6759\u683B\u68EB\u68B0\u69E0\u672B\u6872\u6AAB\u6960\u690D\u6995\u69A8\u679D\u6A5E\u6756\u696E\u6833\u6832\u68D5\u6966\u67E0\u691F\u6900\u69DF\u67C1\u69B0\u6861\u67AF\u68FA\u6849\u592C\u6755\u6A51\u680B\u6905\u6574\u616D\u6738\u67B7\u675F\u6795\u68E3\u7699\u69DB\u6984\u524C\u6843\u8D56\u6555\u6988\u67DA\u672C\u6760\u624C\u6853\u6ABD\u6A17\u6A91\u6816\u676F\u67B0\u6789\u684E\u6746\u67A5\u6897\u6807\u67F0\u6A71\u68A7\u67EF\u67C4\u67D8\u6913\u6785\u6860\u6A5B\u674C\u673D\u69F1\u69DA\u6A61\u69F2\u6A9E\u6877\u6A90\u674E\u677B\u6A58\u6959\u6781\u6876\u6818\u677C\u6A44\u6883\u6957\u68B4\u692D\u6845\u6A59\u6768\u6979\u6769\u6A79\u6798\u69B7\u6834\u690E\u6A35\u69AB\u69DC\u67C3\u6775\u679A\u688C\u6813\u6867\u6969\u68C0\u6986\u679E\u6866\u67DE\u67AA\u6885\u6A8E\u6812\u6753\u6784\u67A8\u6787\u6977\u67B8\u67B9\u696A\u6954\u6886\u693F\u699B\u68BC\u6971\u68D2\u674F\u67B3\u67F7\u686F\u67B5\u68A0\u6980\u696B\u6A28\u698D\u67D6\u6930\u6910\u67A2\u69A7\u68C2\u6846\u6829\u67E9\u67DC\u675E\u6765\u68E4\u6A21\u6AAC\u8D49\u6B02\u6A2A\u69FF\u67D1\u68CB\u680F\u6939\u6837\u69CE\u6809\u681F\u692A\u69FD\u6A3D\u672D\u68A3\u60F3\u6864\u6A7C\u693D\u6AB5\u68F5\u67EC\u67D9\u6924\u695E\u6922\u6952\u6734\u68F9\u6862\u699C\u6821\u6912\u67F1\u676D\u69CC\u678B\u68B3\u68BF\u67FF\u6A0B\u69C1\u6901\u690B\u680C\u6938\u6987\u6A66\u6A1F\u6893\u68D3\u6767\u6838\u6AA9\u6A80\u69B1\u6C34\u6C68\u6C93\u6C69\u6E29\u704F\u6EC9\u6D85\u6E44\u6E89\u6DCF\u6E5C\u6DF7\u6E34\u6EBB\u6E7F\u7011\u8270\u6F2B\u6E9F\u6DDD\u6DDC\u6ED1\u6DF1\u6D6B\u6ED8\u6DEB\u6C89\u89C2\u6ED4\u6D51\u6CAE\u6E72\u6D1E\u6D6E\u6F08\u6E85\u6D4B\u61D1\u6CC2\u6CEA\u7048\u6FC9\u6E3A\u6E68\u6EAA\u6D75\u6CFB\u6DE6\u6881\u7CB1\u6EC3\u6ECF\u6D95\u6D74\u6C7E\u6E53\u6C90\u6E23\u6D13\u6E58\u6DDE\u6DCB\u6F78\u6FCB\u6F24\u6CE2\u6DC5\u5BF9\u6CAB\u6D91\u6FD1\u6F31\u98A1\u6F06\u6D9E\u6C49\u53CC\u6DFC\u6851\u53D5\u525F\u53E0\u6C4A\u6E9E\u6EE9\u6CFD\u5A46\u6D88\u6DCC\u6D23\u7035\u6F7E\u6E87\u6DE1\u6C99\u6D38\u6CEE\u5723\u7014\u6D3C\u6CD5\u6E98\u6D01\u6F8E\u6F8D\u6CCA\u6E5F\u6FB3\u6D2B\u6D0E\u6D53\u6F72\u6E6B\u6D70\u6F58\u6DA4\u6D72\u6D1A\u6D1B\u70EB\u6D69\u6D17\u6CD6\u6ED7\u6D3E\u6E9C\u6CDB\u6D19\u6D3B\u6C83\u6C82\u6CA1\u6CA8\u6CBF\u9CA8\u6332\u6D90\u6E43\u6EB5\u6FC0\u6EB4\u6FDE\u5A11\u6CFA\u6CDC\u6EB2\u6F5F\u88DF\u620F\u53C9\u6D6A\u6EA5\u6D5A\u6CAD\u6C87\u6D45\u6D66\u6E17\u6CF7\u6CA9\u6D32\u86A4\u6E8F\u6CF3\u6D98\u603C\u700C\u6CBB\u6CAA\u6FC2\u6E21\u6CFC\u6D52\u700D\u6F09\u6C41\u6C9B\u6EC7\u6D61\u6EB9\u6EB6\u6E24\u6F6E\u701A\u6E1A\u6D8D\u6D18\u6E16\u6F14\u6DD9\u6E32\u6CDE\u6DC0\u6D63\u6E0E\u6DB4\u6EE8\u6CB1\u6D47\u6CBD\u6E56\u6DAB\u6ED3\u6D27\u92C8\u6F66\u6F74\u6F2A\u6C70\u6DC6\u6D60\u6DF9\u6D3F\u6C3F\u6E10\u529D\u6CC7\u6D43\u6CF1\u6C88\u6E0A\u6E31\u6EE5\u6D49\u6CB8\u6F36\u6D4A\u6D2E\u6E83\u6D25\u6DA7\u6DA6\u6F9C\u6CB9\u6D84\u6C5F\u6D39\u6FE1\u705E\u6FAA\u6D0F\u6E8D\u9152\u6D12\u6CD9\u6C6A\u6DAF\u6F56\u6E90\u6C57\u6DFB\u6CA5\u6C94\u6C84\u6D6F\u6C61\u6C85\u6C40\u6D0C\u6CB3\u9E3F\u6EC6\u6DBF\u6C67\u6EBD\u6EA7\u6F02\u6E6E\u6F6D\u6E4E\u6F39\u6D7C\u6DA3\u6FA5\u6FB9\u67D3\u6F4F\u6C72\u6C50\u6CD3\u6D8C\u6D3A\u6C5B\u6F89\u6D8E\u9093\u6EC1\u6F0B\u6CD0\u6E0C\u6EBA\u6D08\u6EEA\u6B22\u6E51\u6CFE\u6F84\u6DA8\u6C64\u6F9B\u6E14\u6C6D\u6E86\u96BE\u6DEE\u6CE0\u6D11\u6D5B\u6EEB\u6D5F\u7039\u6D5C\u6D82\u6D4D\u6F4B\u6C7D\u6E1D\u6D3D\u6C54\u6CA6\u6CB2\u6E30\u6D22\u6CA7\u6FEE\u6D77\u6C81\u6D35\u6C60\u67D2\u6CCC\u6C95\u6DF4\u6E49\u6C4B\u6C9F\u6DD8\u6C98\u6E5D\u6CC3\u6CE1\u6C8F\u6CC4\u6E2B\u6C8C\u9E21\u6D59\u6CA3\u6EDF\u6EB1\u6D9B\u6E05\u6E0D\u6F5C\u5447\u6D65\u6D93\u6DA2\u6E11\u6F5E\u6DA1\u6E63\u6FA1\u6C5C\u6CEF\u6D5E\u6C47\u6DAE\u6E20\u6CBC\u6DA9\u6D31\u6EE0\u6CA4\u6C48\u6F0F\u6D78\u6FEF\u6D2D\u6E25\u6F3B\u6D54\u6F7A\u6D55\u6CE5\u6FBC\u6C3E\u6F20\u6DDF\u6E81\u6F46\u6EE2\u6F75\u6E54\u6FDB\u6D9D\u6D2A\u6F7D\u6F8C\u6EA2\u6E2F\u6F3E\u6E3C\u6FED\u6F2D\u6EDE\u6F62\u6E36\u6F47\u6CD4\u6EE1\u6DC7\u6E5B\u6FE9\u6E9A\u6D0B\u6EA0\u704C\u6D34\u6C6B\u6E74\u6EAF\u6ECB\u6F15\u6FA7\u6C55\u938F\u6F34\u6C79\u6E4D\u746C\u6ECD\u6DB5\u6EA6\u6F3C\u6D94\u6C5D\u6F4D\u6D33\u6DC4\u6CBA\u6E2D\u6CD7\u6D6C\u6F0D\u6DB8\u6D07\u7031\u6FB4\u6DE0\u6EB7\u6CC5\u6DA0\u6D04\u6F69\u6F2F\u6DD6\u6F88\u6D48\u6EC2\u6EF4\u6EE6\u6D28\u6E59\u6E7E\u6EDA\u6F37\u7023\u6DD1\u6CE8\u6C86\u6FD2\u6DEF\u6D41\u6C76\u6EE7\u6D4E\u6D4F\u6D9F\u6D89\u6C9A\u6CDA\u701B\u6DEC\u6DB2\u6EF9\u6FBD\u6EE4\u6CBE\u6DF3\u6E1F\u6FE0\u703C\u6CF8\u6E38\u6F29\u6DE4\u6CE3\u6F7C\u6D50\u6F33\u6DAA\u6F13\u6FAD\u6CEB\u6FB6\u6C74\u706B\u7174\u714B\u709F\u710A\u711C\u7206\u71B3\u715C\u8096\u89C9\u6CF6\u55BE\u71C3\u524A\u5C1D\u70D4\u5B66\u9C8E\u655D\u655E\u9E61\u5C1A\u70AF\u8D4F\u68E0\u5802\u515A\u5E38\u725A\u638C\u88F3\u9EC9\u5CC3\u721D\u70FF\u810A\u4E3E\u8A89\u7C73\u7C91\u7C97\u7C89\u7C95\u7CD7\u7CCC\u7CAE\u7CC1\u7CE0\u7CD6\u7CBD\u7CCA\u7C7B\u7094\u7CEF\u7C9E\u7CB3\u7C9D\u7C7D\u7CC5\u7CC8\u7CE8\u6549\u6569\u7CC7\u7CBE\u7CAA\u7CD5\u7CD2\u7CCD\u7CDF\u7C7C\u5A04\u7CBF\u7CD9\u6599\u7CB9\u7C98\u7C92\u708E\u71EE\u7131\u71CA\u7203\u71DA\u7092\u5261\u90EF\u6B3B\u7076\u5C18\u5C11\u714C\u71E0\u70C5\u7701\u71D4\u70FD\u70D9\u70C0\u7198\u7145\u52A3\u7098\u7184\u70C1\u719C\u70FA\u710C\u7089\u7178\u717D\u7194\u70E4\u714A\u70F7\u70E7\u7173\u5C16\u70E0\u77A5\u71CE\u5C1C\u7143\u6C05\u70EF\u9CD6\u618B\u8E69\u5F0A\u70BC\u70BC\u70DB\u70D1\u7116\u70DC\u70E6\u5174\u7110\u706F\u70A3\u70B3\u70BB\u5149\u719B\u7115\u71CF\u7130\u70F6\u70FB\u708A\u70C3\u7080\u96C0\u71CB\u7113\u708C\u721A\u70E9\u70E8\u71BB\u70B8\u709D\u707C\u70AE\u7096\u534A\u7737\u684A\u53DB\u5224\u8C62\u9C9E\u62F3\u709C\u5238\u7FF7\u5377\u7CBC\u8A8A\u7106\u70BD\u71E5\u71C0\u5F53\u71A0\u70EC\u70AC\u7117\u70D8\u7214\u7164\u70C2\u7141\u70CA\u721F\u707F\u8F89\u7153\u8000\u6570\u715F\u7205\u70DF\u7168\u712F\u717A\u71B5\u70B7\u7095\u7086\u71A5\u7187\u711E\u7219\u71E7\u7119\u70AB\u571F\u57D8\u58F0\u5766\u57BE\u5824\u57F8\u5828\u584C\u57A0\u5881\u5189\u580B\u57D2\u58F3\u89F3\u60AB\u5765\u58F8\u578C\u58F9\u57BA\u575D\u5770\u58F6\u574D\u8D6B\u8D6D\u90DD\u8D66\u574B\u8D67\u4E27\u589E\u556C\u8D6A\u5761\u6996\u5BFA\u5757\u77BD\u589A\u99A8\u9F19\u78EC\u7F44\u8B26\u57EB\u7E20\u5799\u6B3E\u57B1\u572D\u580E\u5899\u5C01\u579A\u90BD\u605A\u5366\u57A7\u578D\u58A6\u5742\u578E\u586E\u5732\u5845\u57F5\u573B\u57A2\u750F\u577C\u579B\u572B\u57E0\u577B\u576C\u57E4\u53BB\u5739\u57CC\u76CD\u583C\u57CE\u57D4\u5785\u52AB\u5889\u5858\u90BF\u57BF\u57C3\u57DF\u5374\u5F06\u586B\u57F4\u57EA\u579E\u5898\u5835\u57B8\u5768\u76E9\u87AB\u57EF\u57FC\u57AE\u57ED\u5733\u8D64\u578F\u5764\u57A3\u5827\u92C6\u5729\u574F\u576A\u576F\u5810\u586C\u57A4\u575C\u57C2\u575B\u572C\u5722\u5777\u5865\u57AD\u5819\u580D\u57C6\u573E\u5F40\u57C7\u57CF\u574E\u573A\u8D84\u8D9F\u5806\u8DB1\u577D\u8D91\u57DD\u8D8A\u8D75\u8D76\u8D94\u572A\u5820\u8D8B\u8D81\u8D85\u8DA3\u8DAF\u8D77\u8D73\u8D74\u5FD7\u5730\u5747\u581E\u5749\u575E\u6BC2\u583E\u5409\u57D9\u5586\u8881\u52BC\u9889\u56AD\u57D5\u57DA\u71B9\u6199\u559C\u5609\u572F\u5830\u5880\u57FD\u576D\u572E\u5800\u58A3\u5F6D\u61FF\u5E78\u9F13\u5890\u5769\u582A\u5854\u579F\u58A1\u5888\u5843\u57B2\u5773\u581F\u57CB\u6BD0\u580C\u583D\u5844\u5776\u585D\u76D0\u5892\u5846\u58A9\u5751\u574A\u5809\u575F\u57AF\u57D7\u5740\u8D70\u589F\u576B\u58D5\u58E4\u5786\u5783\u57F9\u5883\u57B4\u5793\u7AF9\u4E3F\u767D\u99A7\u76AD\u6CC9\u769B\u769E\u76A4\u7688\u7693\u76A6\u9B44\u999E\u7696\u768B\u5E1B\u7B2A\u7687\u99A5\u7682\u999D\u7684\u7B06\u767F\u7691\u7C0B\u768E\u7228\u7B15\u5965\u7B4B\u5236\u74BA\u7B52\u9105\u752A\u5411\u8840\u81EA\u7E82\u7BE1\u7B97\u519C\u821F\u912E\u7BAA\u79BE\u9999\u7B56\u7A20\u7A3B\u79DF\u7A03\u7A44\u76C9\u7BB1\u7A0E\u7B96\u79E3\u91CA\u79CB\u7A0D\u79D2\u7A11\u7A51\u79F8\u7A46\u79FE\u79C3\u79E9\u7A17\u79C1\u7A02\u79EB\u7A3D\u5D47\u7A39\u7A19\u7A57\u7A3C\u7A00\u79CD\u79C9\u79E7\u5229\u5241\u7C41\u7C0C\u4E58\u91C9\u79ED\u7B28\u79E4\u79C6\u5B63\u79F0\u79C0\u79FB\u90BE\u7A33\u9ECD\u7A1A\u7A14\u7A0C\u6089\u79D8\u79D5\u548C\u79EF\u7A0B\u7A06\u79EC\u7A59\u79FD\u59D4\u756A\u7A37\u7A1E\u79D1\u7A3F\u7A70\u7A5C\u7A5F\u53CD\u5902\u6761\u69C3\u7B94\u7C3F\u52A1\u78D0\u5404\u7BCA\u5907\u60EB\u51AC\u5904\u9ECF\u706C\u7B72\u4E4E\u7BD3\u6101\u7B5C\u58EC\u7B49\u718F\u7B40\u5148\u4E22\u7B60\u544A\u9760\u7BC1\u537F\u8D38\u5C04\u7C03\u8EBA\u7B76\u7B45\u5F61\u8EB2\u8EB4\u7B11\u7B0A\u987B\u8EAC\u9ECE\u7B19\u7B14\u8EAF\u536F\u5B75\u5375\u7BFC\u7559\u9EE7\u7BE6\u7BEA\u4E48\u7B64\u7C20\u9B4D\u9B48\u7BB4\u9B43\u9B46\u7B3A\u9B45\u7B3C\u9B49\u90B8\u4E4F\u9B4B\u9E45\u9E31\u7B1E\u7BC7\u7C0F\u9B41\u9B51\u5343\u8D28\u76FE\u7B9C\u6731\u6BB5\u7BB8\u4E56\u90EB\u7BA2\u9E4E\u820C\u7BA1\u7FF1\u5782\u91CD\u592D\u7C1D\u4E54\u7B33\u5C99\u4EBB\u5E01\u79B9\u9F44\u7BEE\u9F49\u9F3D\u7B5B\u7C30\u7BAB\u5293\u9880\u9F3E\u7BD1\u6B23\u722A\u9F41\u7B80\u7B1B\u65B6\u7B2B\u9F47\u7BE2\u771A\u7AFD\u7B51\u6BC1\u7521\u7AFF\u65A4\u7B7B\u7AFA\u7B47\u7B6E\u60E9\u540E\u536E\u7B04\u7C2A\u7BE5\u7C1F\u7525\u65A5\u51E0\u98D3\u6735\u68A8\u51E4\u6BB3\u98DA\u51F0\u7B08\u98D7\u7281\u98D5\u51E1\u98CE\u7B75\u7B2C\u9893\u7B93\u5919\u98CF\u7C26\u6106\u98D1\u63A3\u7B5D\u7B03\u98D4\u98D0\u516B\u5F73\u5F97\u722C\u5F88\u8862\u5F82\u5FAD\u5F7C\u7B26\u5F95\u884D\u5F9C\u5F85\u8857\u5F92\u5FA8\u5FAA\u5F79\u74DE\u5FBC\u7B4F\u8860\u5FB7\u5F9B\u7B71\u5F98\u5F8B\u7C65\u7B4C\u884E\u7B7E\u884C\u9E3B\u7B54\u8859\u5F81\u7BCC\u8861\u9142\u5F84\u5F90\u5FA1\u8854\u5F87\u7BEF\u5F7B\u7B2E\u5F89\u5FBD\u5FB5\u5FAE\u5AAD\u5F8C\u5F8A\u5F80\u5F77\u8852\u5F99\u4E47\u660F\u7B77\u7B0F\u5269\u7B5A\u7B31\u7B23\u5370\u725B\u7B62\u728B\u770B\u63B0\u7C4D\u7BA8\u7261\u7279\u727F\u7272\u7287\u7266\u7C40\u6211\u728F\u727B\u728A\u726F\u7B79\u7284\u751F\u7B90\u727A\u727E\u7BA6\u62DC\u728D\u5931\u7267\u643F\u725D\u7269\u7B58\u7B8D\u7B9D\u6BDB\u7265\u7292\u7264\u7B7C\u5795\u8210\u961C\u522E\u5284\u8214\u90DC\u90C8\u96D2\u654C\u9E44\u9E39\u7B65\u751C\u4E71\u8F9E\u52F9\u6240\u6BB7\u7B24\u515C\u7B0B\u7BA7\u7BDA\u7B50\u7B25\u656B\u7B38\u5347\u7BAD\u7C38\u8845\u7C15\u7BAC\u7C27\u7B95\u8843\u8844\u7BDD\u8D5E\u81EC\u6BEF\u6BF3\u9B3C\u6BEA\u81ED\u6BFD\u6C07\u606F\u61A9\u6C06\u9F3B\u6BE1\u9F39\u9F37\u9F22\u4E50\u7C16\u7B2F\u515C\u9B4F\u7CFB\u74DC\u9F2C\u9F2F\u9F2B\u7BC6\u6C0F\u6C10\u9F29\u9F31\u536C\u777E\u9DED\u56F1\u5351\u56DF\u7BFE\u7BA9\u7B85\u7CA4\u9131\u9E60\u7FFB\u81FC\u76E5\u8EAB\u8206\u53DF\u6B43\u81FE\u8204\u8201\u9F20\u8205\u5FC4\u661D\u8225\u8230\u76D8\u8244\u8236\u824E\u8228\u7BF7\u822C\u8239\u7C09\u8258\u8223\u8235\u7B3E\u822F\u87BD\u8233\u8221\u823E\u8238\u824B\u8247\u8232\u8245\u8234\u8231\u8652\u822D\u9E3C\u548E\u7BD9\u8220\u8249\u7C07\u7B20\u8268\u824F\u825A\u8222\u7BF1\u822A\u822B\u823B\u825F\u8237\u6208\u3001\u4E36\u826F\u5B80\u5871\u9D4F\u90D9\u9118\u80FD\u7FE9\u5EDE\u5E8A\u672F\u9EBB\u7CDC\u9EC1\u9EBD\u9EBE\u9B54\u9761\u78E8\u6469\u4E66\u7E3B\u6636\u76DA\u76B4\u6551\u88D8\u7994\u89C6\u7956\u7985\u793E\u797E\u795B\u79A7\u7948\u794B\u7957\u7947\u7953\u799B\u795C\u7950\u7967\u795E\u5E94\u7946\u794F\u798F\u798B\u7962\u7941\u7984\u7943\u795A\u7955\u9E67\u798A\u7977\u794E\u795D\u7978\u7940\u8E59\u7972\u7960\u799A\u797A\u7965\u793C\u7992\u797C\u79A4\u7998\u796F\u794A\u7949\u79B3\u5E84\u5EB1\u5EA4\u620A\u6BF5\u620D\u620C\u54B8\u5A01\u725F\u6210\u5141\u5EC6\u5E95\u5EB3\u5ECB\u5EBE\u621A\u6717\u5792\u5ECA\u5E9E\u7592\u90CE\u5E90\u5E9F\u620E\u620B\u752B\u76CF\u6C42\u5E8B\u72AC\u4E49\u5E86\u68E8\u53C2\u98D9\u8087\u5EB5\u53C1\u6B38\u9F99\u5E93\u5F67\u4E3A\u5C24\u5C28\u7DAE\u755A\u5EB8\u5EB7\u5DDE\u5212\u5E9A\u8D53\u5510\u5E99\u51AB\u4EA0\u51CB\u51C7\u51B3\u51B0\u51CC\u51BC\u51CF\u51B6\u51C4\u51BB\u5E91\u51B2\u51BD\u51B1\u51D3\u6B21\u51C0\u51AF\u51C6\u51B7\u60D1\u51DD\u51D1\u51B5\u81E7\u51D8\u51C9\u51DB\u5196\u5EE8\u6C38\u793B\u5E8F\u5EAD\u909D\u8864\u8FB6\u4E4B\u8BA0\u8D44\u76D7\u5EA5\u5E9C\u7CA2\u81BA\u9E70\u8150\u77E3\u74F7\u5EA7\u6063\u9E52\u54A8\u59FF\u5F0B\u5E80\u93D6\u718A\u9E8B\u9E9F\u5784\u9E87\u9E9D\u9E82\u9E91\u5F0F\u8D30\u5EBC\u783B\u911C\u5E87\u5FD2\u9E80\u9E22\u5E96\u804B\u9F9A\u7519\u9E92\u9E88\u88AD\u8A5F\u9E96\u5ED2\u53F0\u67B2\u70B1\u6216\u89F1\u90B0\u910C\u611F\u6020\u6237\u80A9\u6243\u6241\u76DB\u624A\u623E\u6249\u5ED6\u6245\u96C7\u6577\u542F\u6248\u6247\u623F\u6246\u623D\u6242\u6212\u5F01\u5EA6\u5EB6\u5E2D\u5ED1\u5EA0\u5EB9\u5EC9\u8C12\u8C29\u8C03\u8BE8\u8BC5\u8C16\u8C23\u8BC7\u8BBC\u8BF4\u8BD0\u8BA8\u8BC0\u8C0F\u8BD1\u8BEE\u8C20\u8C08\u8BD7\u8BD6\u8BD8\u8BF1\u8BFF\u8BF0\u8BDC\u8C22\u8BDB\u8BDD\u8BDF\u8BC9\u8BA5\u8BBE\u8BBD\u8BCB\u8C00\u8BDA\u8BAE\u8BF6\u8C18\u8BD5\u8BD2\u8C1D\u8BEB\u8BA1\u8C33\u8C0A\u8BE7\u8BF8\u8BFB\u8BC2\u53D1\u8BD9\u8BF3\u8BAD\u8BFD\u8C30\u8BA7\u8BC4\u8BA6\u8BED\u8BA2\u8BC3\u8BEC\u8BFC\u8C2E\u8BB6\u8C2D\u8BC1\u8C35\u8C32\u8C04\u8BF5\u8BAF\u8BDE\u8BE1\u8C1E\u8BE4\u8BCC\u8C17\u8BA4\u8BB7\u8C01\u8C2F\u8BCA\u8C36\u8C02\u8BB8\u8BE0\u8C15\u8BAB\u8BBA\u8BB9\u8BC8\u8BF2\u8BE2\u8BE3\u8C27\u8C10\u8C0D\u8BD4\u8BF7\u8BB3\u8BC6\u8BEF\u8C14\u8BB1\u8BCF\u8BF9\u8BB4\u8BD3\u8C2C\u8BE9\u8BCD\u8BB5\u8BB0\u8C1F\u8C2B\u8C31\u8C25\u8BFA\u8C28\u8C0B\u8C0C\u8BE6\u8BB2\u8C26\u8C0E\u8BAA\u8BBB\u8BCE\u8C13\u8C21\u8BFE\u8BA3\u8C1B\u8C24\u8C2A\u8C1C\u8C1A\u8BBF\u8C34\u8BA9\u8C07\u8C11\u8C06\u8C05\u8C19\u8BE5\u5EDB\u5ED9\u9E7F\u5ED3\u5E97\u5EEA\u5341\u716E\u90FD\u7FE5\u5BB4\u8D4D\u732E\u5B9C\u771F\u76F4\u6A50\u8839\u5B5B\u5BDF\u56CA\u5357\u7D22\u7590\u7A74\u7A85\u7AAD\u7AB8\u7A96\u7A86\u7AB3\u7A8A\u7A97\u7A97\u622D\u7A81\u7AA6\u7A76\u7A77\u5E18\u7A9C\u7A95\u7A7A\u98A0\u7A92\u7A8D\u7A7F\u7A79\u7A78\u7ABF\u7A91\u7AAC\u5BB9\u7A84\u7A83\u7A80\u7A8E\u7AA5\u7A9D\u7A98\u7A9F\u7A88\u7AA0\u7AA3\u7AA8\u672A\u5B8B\u5B88\u52C3\u6559\u9E41\u652F\u58BC\u980D\u7FC5\u707E\u5BB5\u5BA2\u5BAA\u5B85\u7262\u535A\u683D\u5BAC\u5BA0\u8F7D\u622A\u60E0\u54C9\u6234\u88C1\u8279\u5EFE\u671D\u621F\u5BC1\u4E7E\u7FF0\u65A1\u97E9\u8ECE\u8F36\u4E08\u8005\u5BA5\u89CC\u5BEE\u5B8F\u6F26\u5BC4\u5AE0\u8003\u91D0\u5B84\u5B5D\u8001\u8007\u534F\u540F\u4E8B\u5BDD\u59BB\u5B99\u5BA1\u58EB\u5BA3\u5BE1\u5B87\u5B9D\u5BA4\u77D7\u5BC5\u5B97\u5B8C\u5BB8\u5B81\u5B95\u5BCC\u5BB6\u5BC7\u5B9A\u5B57\u5B9B\u9EB4\u5356\u5BBF\u5BBE\u5B83\u8006\u752F\u5B93\u871C\u8004\u5BC6\u800B\u5C27\u5BB3\u53E4\u80E1\u9E55\u8C41\u514B\u5272\u5B98\u989D\u6545\u9E2A\u5BAB\u560F\u8F9C\u8080\u5BA6\u5BA7\u5BE5\u5349\u5BDE\u8D32\u5BBD\u5BE8\u9DB1\u585E\u9A9E\u8D5B\u8E47\u6434\u8B07\u8930\u5BD2\u4E03\u5162\u525C\u524B\u7FD8\u5B89\u6848\u5BD0\u5BE4\u90EA\u5BD3\u5BF0\u5BC2\u5B9E\u5BB0\u5927\u4E42\u761F\u6A65\u75B8\u75A4\u75D5\u6709\u6BBD\u7275\u75BD\u74FB\u90D7\u90C1\u6B37\u7635\u763F\u75C8\u766F\u7605\u4E1C\u6740\u75B2\u593A\u5F11\u5239\u760C\u765E\u9E2B\u53CB\u75E7\u7619\u762B\u7070\u75A2\u76D4\u7620\u7618\u75F0\u9E69\u75D4\u594E\u75E3\u7316\u7329\u7338\u72E0\u733E\u72D9\u72C8\u733A\u7383\u7339\u736D\u75E2\u75FF\u75BC\u72C4\u733F\u7301\u736F\u72D0\u7624\u730A\u72B7\u72FC\u72FB\u72C1\u72E8\u72B9\u72F1\u72E9\u732A\u72DE\u7322\u7360\u7317\u72B0\u72ED\u72EE\u72D2\u72EC\u72C9\u72C2\u72B4\u7357\u736C\u72F2\u731B\u75AB\u72DD\u72C3\u5CF1\u7331\u75AF\u7315\u72F0\u72B8\u72F3\u72EF\u7303\u731E\u7334\u72F4\u72D7\u72CD\u7330\u731C\u72F7\u72AF\u730E\u7374\u737E\u732B\u732F\u762A\u732C\u7313\u72F8\u72CE\u7321\u7325\u7626\u7610\u72E1\u7622\u72FA\u731D\u7307\u7304\u7350\u734D\u592A\u7606\u75A3\u90C4\u96C4\u6001\u7FC3\u766B\u5962\u5954\u723B\u80B4\u9E11\u723D\u5E0C\u75CD\u7638\u592F\u75C2\u7617\u6682\u5E03\u933E\u6920\u5728\u5811\u593C\u75F1\u5208\u5B58\u75EB\u5944\u5DE6\u596D\u7657\u75DE\u764D\u75D3\u75AC\u5948\u75E6\u5938\u7594\u5947\u75B4\u75C5\u75D8\u75A0\u7603\u75D6\u762D\u75C7\u4E5D\u5937\u65ED\u65EE\u75EA\u6742\u72AD\u4E38\u75DB\u5953\u7643\u763E\u7663\u7597\u759A\u75C9\u9E20\u75A1\u9997\u8A04\u8653\u75B9\u75BE\u75F4\u75A5\u75CA\u7599\u760A\u75AD\u75E4\u75C4\u75AE\u7595\u75B1\u8F66\u8F92\u8F8A\u8F8B\u8F70\u8F8D\u8F9A\u8F95\u8F80\u8F82\u8F77\u8F7F\u65A9\u761B\u8F76\u8F79\u8F85\u8F7C\u8F98\u8F96\u8F71\u8F6A\u8F68\u8F74\u8F7E\u8F69\u8F72\u8F86\u8F90\u8F6D\u8F6F\u8F7B\u8F78\u8F81\u8F93\u8F6E\u8F8F\u8F6C\u8F75\u8F91\u8F6B\u8F7A\u8F84\u8F97\u8F67\u8F8E\u8F99\u8F83\u8F8C\u8F73\u53F3\u8D3A\u67B6\u525E\u54FF\u6B39\u9A7E\u764C\u7615\u8888\u529B\u529E\u765C\u74E0\u8037\u5941\u7596\u5233\u759F\u7633\u5957\u530F\u52A0\u7656\u52F0\u5939\u763C\u75E8\u7640\u75B3\u988A\u90CF\u7629\u75D2\u7625\u759D\u5C22\u5C34\u5C2A\u5C2C\u5C25\u9E4C\u594B\u75FC\u75F9\u7630\u75B0\u75B5\u7601\u7600\u7634\u7654\u75C3\u4E2D\u4E28\u65E7\u8892\u88FC\u8910\u891F\u88C9\u5DFE\u5E3D\u5E4C\u5E54\u5E28\u5E14\u5E15\u5E61\u5E06\u5E19\u592E\u88C8\u5E45\u5E56\u5E37\u5E10\u5E31\u5E3B\u5E0F\u5E1C\u5E44\u76C5\u5E6A\u5E5E\u5E21\u5E3C\u5E27\u5E16\u5E62\u5E5B\u88D5\u895F\u897B\u88AB\u886C\u889C\u8882\u9E47\u96B6\u80BE\u8D24\u88F0\u575A\u8869\u7D27\u7AD6\u891B\u88A2\u88C6\u8902\u88AA\u88C5\u88BC\u887D\u886B\u8884\u88E8\u892B\u8734\u874E\u8686\u879F\u8729\u89C8\u86AC\u86C6\u8709\u76D1\u86CA\u883C\u9274\u86A3\u8715\u8749\u8725\u8772\u8740\u86CF\u86F8\u87B3\u877C\u8737\u86BA\u86D9\u8710\u87DB\u8757\u874C\u870A\u87CB\u87E0\u8702\u86DB\u86DE\u866E\u86FE\u869D\u8785\u8731\u878B\u86D1\u8782\u8681\u8797\u872E\u8759\u880A\u877B\u87EA\u873F\u86C7\u86F2\u86C4\u8774\u8770\u88E4\u86F1\u86F3\u86B0\u8679\u4E2C\u8815\u86B2\u8788\u86ED\u8677\u86CE\u86B5\u86C3\u8760\u869C\u87B5\u87EB\u867E\u87D3\u87FE\u8678\u8722\u86F9\u8713\u8712\u8693\u8682\u876E\u868B\u86C9\u8718\u86A7\u86AF\u870D\u8753\u86E4\u867C\u86B1\u868D\u8776\u868C\u877D\u8793\u873B\u86A8\u870E\u8747\u8708\u8717\u95E8\u8758\u890A\u8721\u87C6\u892F\u877E\u8813\u87A0\u8764\u87D2\u87E5\u87CF\u86B6\u87A8\u871E\u8816\u86D8\u8723\u87EE\u86D0\u87AC\u881B\u866C\u88AF\u86B4\u873E\u880B\u8748\u86D4\u87BA\u8783\u86DF\u86C0\u8684\u87C0\u86AA\u868A\u86F4\u8763\u87D1\u87AD\u867B\u891A\u53F2\u76CE\u896B\u9E2F\u4E32\u8083\u7256\u8934\u5DDD\u5E05\u987A\u5E08\u7247\u5F17\u7545\u4E34\u60A3\u8919\u9E54\u88E5\u5F52\u8955\u8896\u8966\u8D35\u58EE\u866B\u72B6\u5C06\u5317\u90B6\u975E\u5255\u5146\u5986\u8925\u5202\u8D39\u895C\u6868\u6D46\u7248\u724C\u7256\u724D\u5956\u9171\u8274\u7252\u8941\u8872\u9F17\u8897\u88B1\u887F\u88E3\u8915\u88B7\u8913\u5FE0\u80CC\u888D\u5180\u807F\u88F1\u8886\u88CE\u5182\u95F4\u960A\u9618\u960C\u9612\u9605\u9610\u95F2\u95ED\u9611\u9614\u95FA\u9616\u521D\u9601\u960D\u960B\u9606\u9608\u9617\u9607\u88FE\u95F3\u9609\u88D9\u95FD\u95E9\u8936\u95F0\u95EC\u97ED\u95EB\u960E\u961A\u9615\u95EF\u9604\u95EA\u9600\u95F7\u95F1\u95EE\u95FE\u95FB\u9619\u95FF\u9603\u95F8\u95F6\u95F5\u95FC\u95F9\u8A1A\u960F\u9602\u8921\u513F\u9E29\u80E4\u7531\u80C4\u88F8\u7533\u9814\u90AE\u66F3\u7535\u8865\u892A\u68D0\u8F88\u88E2\u871A\u60B2\u7FE1\u895A\u88F4\u6590\u4E00\u767E\u622C\u53A9\u4E98\u7695\u78A7\u539A\u9111\u973E\u971C\u9716\u8010\u972A\u9708\u9704\u96FE\u800F\u9713\u4E3D\u972D\u800C\u878D\u970F\u9700\u98A5\u96F3\u96E9\u9707\u9706\u90B4\u90E6\u9875\u8D21\u970D\u96F6\u5395\u9709\u6067\u96F9\u9E42\u9E5D\u9E38\u9732\u971E\u9728\u96EA\u7FEE\u9739\u9730\u9738\u9B37\u800D\u96F7\u96F1\u96EF\u9701\u9705\u970E\u664B\u57A9\u6076\u897F\u9149\u4E8E\u76C2\u53A2\u4E94\u9098\u6C5E\u4E0D\u706D\u752D\u98D8\u74E2\u5E73\u527D\u4E15\u6B6A\u9122\u613F\u5426\u5B6C\u738B\u7441\u7446\u7442\u7445\u74D3\u7428\u7436\u73E2\u749F\u518D\u73A5\u7477\u73CA\u741B\u73B0\u73F2\u73C7\u7457\u7408\u7476\u748E\u7390\u73F6\u73A2\u7433\u73BB\u73A6\u7453\u7410\u7498\u7430\u73D6\u73F0\u73C3\u73EA\u73D0\u73C0\u7454\u745D\u73E6\u73D8\u7407\u74A0\u73DE\u73CB\u73E0\u7456\u7440\u7391\u73E9\u74AC\u7470\u74D2\u7481\u7389\u538B\u7405\u73EC\u73F9\u7403\u73D1\u73ED\u746D\u7471\u744F\u7462\u742E\u7444\u7414\u742C\u745A\u742F\u73DB\u7426\u73C8\u73D5\u7394\u73E7\u7432\u5230\u73D2\u73C5\u7392\u74C0\u987C\u7468\u7397\u73AF\u73B6\u74B1\u73CF\u740A\u7395\u73F8\u73A9\u738E\u73C2\u73F7\u7422\u73A1\u7504\u7448\u73FD\u90C5\u9104\u74CD\u742D\u7396\u6B45\u7492\u7424\u739A\u739B\u741F\u73CD\u73B2\u7434\u73AA\u73B3\u7400\u81F4\u73AB\u73A0\u745C\u73E8\u73B1\u73E3\u745F\u73CC\u7393\u7435\u73AD\u73BD\u73B8\u73A4\u7443\u81FB\u7467\u742B\u739E\u73AE\u7488\u7404\u73F5\u7490\u5669\u74AA\u7455\u73C9\u73BF\u73E5\u741A\u73FA\u7486\u74BB\u73DD\u7398\u5F04\u73D9\u749E\u748A\u749C\u745B\u747E\u73B5\u742A\u74C1\u7473\u74D8\u74A5\u745E\u7480\u7451\u7459\u7406\u73DA\u74C3\u74A8\u7421\u7409\u73EB\u739F\u6591\u740F\u73BC\u7402\u7417\u7425\u74A9\u73B7\u743C\u74D6\u7399\u7487\u748B\u74B2\u740E\u7483\u73B9\u74AE\u74CC\u74CB\u5382\u539F\u5DE9\u90AA\u96C5\u992E\u9E26\u53C6\u81F3\u9B42\u538C\u9EE1\u9B47\u53A3\u52A8\u990D\u9765\u5396\u53C7\u5E72\u520A\u9878\u9097\u5929\u7526\u8695\u5FDD\u538D\u541E\u529F\u5386\u65E0\u4E0C\u96E8\u5DE5\u4E0F\u66F4\u4E8C\u9879\u793A\u4E91\u5394\u4E93\u4E09\u8FB0\u5385\u4E8D\u90B3\u653F\u9E49\u543E\u5389\u53A8\u5143\u53A6\u9F0B\u5DE7\u4E8F\u4E01\u6B82\u6B8D\u928E\u6B9A\u70C8\u578B\u6BAA\u6B7C\u6B8A\u6B81\u6B79\u6B8B\u6B86\u6B96\u6BA1\u909B\u6B83\u86E9\u5217\u9876\u6B9B\u9092\u6B84\u6B93\u6B87\u6B7B\u6050\u6B89\u53EF\u6B92\u8DEB\u6BA3\u88C2\u4EC4\u4E19\u89CB\u71F9\u8D5D\u8C6E\u653B\u8C68\u5282\u5DEB\u4E24\u96C1\u9E40\u6B66\u77F3\u788D\u78A3\u784D\u787C\u7889\u781A\u9B32\u7820\u7850\u78DC\u78B4\u7834\u7804\u7835\u6CF5\u78C9\u78F2\u785D\u78F7\u7802\u7845\u781D\u78D5\u78FB\u784C\u782D\u7843\u785A\u65AB\u77F6\u77FE\u781C\u7888\u786A\u783E\u7825\u7891\u7847\u77FF\u7933\u78B1\u789C\u78A5\u787F\u78B9\u7887\u7897\u7823\u7857\u7817\u7856\u7829\u7837\u77FC\u7855\u7935\u790C\u7852\u7830\u77F8\u786C\u783A\u78CA\u7814\u784E\u7811\u78F9\u7913\u786E\u77FD\u90DA\u9143\u788C\u784A\u6B4C\u780D\u7841\u78F4\u78D4\u54E5\u7800\u7801\u7893\u7901\u6554\u783C\u7877\u77FB\u781F\u7812\u780C\u789F\u7818\u78B6\u7883\u789B\u78A1\u7816\u7806\u7838\u78BE\u8C46\u788F\u7898\u7924\u791E\u7854\u7934\u7839\u78FA\u78CB\u78B0\u78C1\u78E1\u78CF\u786D\u78B3\u7859\u7840\u78A8\u78B2\u78C5\u78D9\u7905\u782B\u786B\u788E\u7827\u782C\u789A\u4E07\u8C55\u52B1\u52A2\u867F\u9120\u8DB8\u5384\u5F00\u539D\u4E9A\u4E25\u53AE\u5F62\u8C49\u8C4C\u5211\u5245\u8C47\u90A2\u53A5\u5140\u590F\u621B\u5961\u867A\u987D\u9E74\u753B\u531A\u7259\u8FB1\u8703\u987E\u74E6\u4E92\u5507\u9192\u8983\u918D\u918C\u9179\u916E\u8D3E\u915A\u6817\u914E\u7C9F\u5398\u9165\u916A\u91BA\u9177\u9170\u8986\u917F\u9178\u91BE\u917A\u916C\u91A3\u9166\u9175\u9161\u9164\u9190\u915E\u91A2\u52D4\u526F\u917E\u9150\u7968\u915D\u914A\u917D\u9169\u9191\u91AE\u9174\u9162\u9176\u916F\u914F\u914C\u9172\u9762\u91AA\u914D\u918B\u91AD\u9163\u919B\u91B4\u91B2\u9157\u8981\u919A\u91AF\u9189\u91B5\u9187\u9185\u91A8\u4E0B\u7109\u6B63\u5FD1\u4E10\u5F13\u5154\u514D\u8C61\u8272\u5F38\u5910\u89EF\u89D6\u89EB\u89E5\u5815\u89DF\u89DA\u5942\u89ED\u52C7\u89E6\u8D1F\u89DE\u96B3\u607F\u9E6C\u89D2\u89E3\u89FF\u659B\u5C0F\u5F39\u8A79\u5B50\u5B5F\u5B59\u5B64\u5B7A\u5B56\u5B5C\u5B62\u5B54\u5B69\u5265\u4E9F\u4E1E\u70DD\u537A\u5C14\u9C36\u9BFB\u7CA5\u9C0A\u9C5A\u9B80\u9BA1\u73BA\u9BA0\u9B6A\u9B88\u4E11\u53BE\u988B\u7586\u77DE\u67D4\u53CA\u8671\u87CA\u9A98\u77DC\u4E43\u5F27\u5915\u5F18\u752C\u729F\u5924\u77DB\u591A\u4E88\u98E7\u821B\u540D\u5916\u6562\u53C8\u7780\u936A\u715E\u5EF7\u5EF6\u6223\u8765\u5EFA\u9A9B\u61A8\u9E5C\u5A7A\u5F15\u961D\u9633\u9667\u9650\u96B0\u9634\u963B\u9642\u9699\u9675\u9661\u968D\u96A9\u962A\u9686\u964D\u9621\u964E\u9672\u965E\u9697\u9674\u9647\u9662\u9640\u9648\u968B\u9635\u9655\u96A4\u964C\u9651\u964B\u9645\u962E\u963F\u9694\u9622\u9677\u9649\u9690\u961F\u9644\u9636\u9664\u9669\u9683\u963C\u9676\u965B\u969E\u9646\u9668\u966C\u9698\u9631\u9685\u9688\u9632\u968F\u965F\u963D\u969C\u96A7\u966A\u9654\u9A72\u9CB3\u9CC1\u9CA5\u9CAB\u9CC0\u5F3C\u9CB2\u9CCE\u9C83\u9CD7\u9CB7\u9A75\u9C96\u9CD0\u9C8F\u9A6D\u9A9A\u9CCB\u9A7F\u9CDE\u9CAE\u9C91\u9C92\u9C8C\u9CC8\u9CC7\u7A23\u9CC5\u9CA6\u9A86\u9A9D\u9CE4\u9A84\u9C98\u9CA7\u9AA2\u9CB5\u9A8F\u9C85\u9A96\u9CB9\u9C7F\u9CD9\u9A80\u9C90\u9CE1\u9A74\u9A97\u9CCA\u9A9F\u9CA9\u9A7C\u9CCD\u9A81\u9CBC\u9A6E\u9C94\u9A73\u9A91\u52B2\u9CA3\u9A76\u9A6F\u9A95\u9CC9\u9CB1\u522D\u9AA5\u9C89\u9A8B\u9A8A\u9CA1\u9C95\u9888\u9CD5\u9AA6\u5F55\u9C86\u9CA0\u9CBE\u9CDC\u9AA0\u9CD4\u9CBA\u9CAC\u5F31\u9A89\u9A99\u9A7A\u9CC6\u9A78\u9C8B\u9A93\u9CB6\u9C99\u9A8C\u9A85\u9C8A\u9A70\u9A79\u9C8D\u9CBD\u9C80\u9CAD\u9CC4\u9AA4\u9CDA\u9C7D\u9CB0\u9A71\u9CAA\u9CDB\u9A8E\u9C9F\u9AA3\u5371\u9C7E\u9CD3\u9A90\u9CAF\u9CE0\u9C9C\u9A88\u9CDD\u9CDF\u9CE2\u9CD2\u9CBB\u9A77\u9A92\u9CA4\u9CB4\u9A83\u9CCF\u9CC2\u9CC3\u9AA1\u9CD1\u9C9B\u9A7B\u9C82\u758F\u5DEF\u9C9A\u9CA2\u9C87\u9CB8\u9AA7\u9C88\u9A8D\u9A87\u4E86\u5F25\u5EF4\u5B51\u9884\u9B3B\u8C6B\u5B53\u5F2A\u627F\u6B20\u4E45\u98DE\u758D\u80E5\u7078\u5760\u86CB\u7678\u51F3\u767B\u5F1B\u5F20\u6840\u87F9\u5F3A\u76C8\u9F10\u4E89\u76B1\u5C15\u5F28\u5F2D\u520D\u5B55\u90B9\u96CF\u6025\u51F3\u6224\u52D0\u4E59\u7722\u5F22\u52C9\u9820\u6028\u9E33\u9963\u9984\u9992\u9989\u9981\u9987\u998C\u9977\u996D\u9979\u996A\u998F\u996B\u9965\u997F\u998A\u996F\u9974\u997D\u9995\u9976\u9986\u8680\u9988\u9985\u996E\u9967\u998B\u996C\u9970\u9980\u9969\u9978\u9971\u9968\u9994\u9975\u9A6C\u9972\u998D\u9993\u9991\u9990\u997C\u9973\u9983\u997A\u997B\u9C7C\u9C81\u9F9F\u534D\u9E50\u4E70\u758B\u5F36\u5F26\u4EBA\u5021\u590D\u4F46\u5048\u5185\u96BA\u5041\u501C\u9FA2\u4F23\u4FF1\u4F97\u4FD8\u8089\u50BA\u4FA7\u4F63\u5092\u4F7E\u4FD7\u4EFD\u50E7\u4F11\u53D9\u7172\u5821\u4ED8\u4F53\u9E3A\u4FEB\u659C\u4EC5\u6C46\u6C3D\u50A9\u4F19\u4FCF\u507F\u5018\u50A5\u7C74\u507B\u5013\u4F1E\u5281\u60A8\u9E6A\u4F34\u5026\u4ED5\u96B9\u8D41\u96C6\u4F8D\u7126\u4F73\u51ED\u72A8\u96E0\u96BC\u96BD\u6041\u9E64\u552E\u4F76\u50D6\u5165\u4F2F\u4FAC\u50BB\u4FD0\u502D\u4F5F\u4EFB\u4F81\u4EEB\u4EDF\u4F8F\u5015\u4F78\u4FA8\u4EC9\u4F69\u4EF6\u4FC4\u4F5A\u5080\u4F4E\u4EF0\u4FFE\u502A\u4F10\u98DF\u4FCD\u5085\u4FCA\u57A1\u4F82\u4F94\u4FC5\u4F0F\u4EEA\u4F2A\u4F18\u523D\u9886\u4F7D\u74F4\u4ECA\u4EE4\u90BB\u90D0\u8D2A\u5FF5\u542B\u76E6\u887E\u4FEF\u4FDF\u4EE3\u5126\u9E30\u4F41\u504F\u7FCE\u50A8\u4EC0\u5348\u503C\u5025\u4F0E\u4F98\u4ED7\u4F6C\u4F7F\u4F2B\u5027\u50A7\u4F57\u4FA5\u4F30\u505A\u500C\u507E\u7F36\u77E2\u6535\u4F91\u50DA\u77F0\u77EE\u77EB\u5034\u4FD9\u4FFA\u4F50\u501A\u77ED\u4F89\u4EC7\u77E7\u9CD8\u96C9\u77EC\u60A0\u77E5\u4F51\u4EC2\u4F3D\u77E9\u4FA0\u7E41\u4E2A\u4EF2\u8129\u4FEE\u500F\u7FDB\u4EEC\u4ECB\u4F5B\u4F7B\u4FF3\u5019\u6538\u4F38\u4FDC\u4E18\u4EDD\u4F70\u5112\u4FEA\u4FDE\u6108\u5175\u4F59\u4F0D\u6086\u756C\u4F65\u4F3E\u5168\u5012\u4E52\u4E53\u4F84\u820D\u4FBF\u5251\u4EC1\u4F58\u4F1A\u4EE8\u4F5E\u7572\u4EC3\u6C14\u90B1\u4F8B\u4FB4\u6B59\u4F55\u4FE9\u655B\u9485\u5408\u9FA0\u547D\u5378\u4FE8\u5CB3\u50ED\u4F22\u5089\u4F64\u5088\u50F3\u506D\u50F5\u4E5E\u4EBF\u6C32\u50CF\u89CE\u510B\u6C1B\u4ED4\u4F60\u6C2E\u4F0B\u6C21\u6BF9\u4ECD\u4FD1\u4F88\u6C2A\u6C28\u4FB9\u5065\u6C15\u6C18\u6C1A\u6C1F\u4FAF\u6C29\u6C16\u9103\u6C2F\u6C22\u6C30\u5133\u6C27\u6C19\u6C24\u6C26\u4ECE\u5095\u4FCE\u5750\u50EC\u4F36\u4EF5\u4F24\u4EF7\u4E1B\u4F7A\u4FA9\u4FED\u5077\u4EE1\u4F17\u4F26\u6002\u4F5C\u8038\u4F27\u4FAE\u5316\u4ED1\u4F08\u9545\u94BD\u951D\u9521\u951F\u94AF\u94F6\u9558\u94A5\u950A\u94A2\u953E\u94DC\u9504\u8D27\u8D37\u94A1\u94E1\u94BC\u9511\u9510\u4ED6\u94CD\u94B5\u94FC\u9497\u94F4\u94CE\u94AC\u9500\u9557\u9501\u954B\u9542\u952C\u949E\u9529\u94DB\u5788\u948D\u4F56\u94C2\u9526\u953D\u9539\u9508\u94A3\u950B\u94EC\u94E5\u9506\u94E3\u9490\u94C6\u954F\u948E\u94E2\u953B\u953A\u9524\u9527\u94E6\u9538\u9528\u9492\u94C5\u726E\u9507\u94C1\u954D\u94C4\u953C\u9512\u9548\u94D6\u94B1\u94FA\u94B9\u955B\u9573\u94FD\u9570\u9540\u94BA\u534E\u9488\u9547\u9572\u9569\u9555\u9517\u94D1\u94D0\u952D\u9553\u9554\u94CA\u94D9\u94B4\u94F5\u94D5\u9563\u94E9\u949B\u951B\u94B8\u951C\u506C\u94D7\u949F\u94FF\u9494\u948F\u9535\u94EB\u948A\u9544\u950F\u950E\u9567\u94C0\u956D\u949A\u94B0\u94D8\u94DA\u94FB\u9489\u94B6\u503E\u9549\u9498\u94CF\u9562\u9556\u9561\u94B2\u9499\u9487\u94EF\u9530\u94AE\u94ED\u94E4\u952E\u9515\u948C\u94A6\u956B\u9575\u956A\u94EE\u9496\u9565\u4F25\u94A0\u9525\u954C\u94C3\u94A4\u94E8\u94EA\u9509\u94E7\u954E\u4EF3\u5055\u94CB\u952A\u9493\u94A9\u94A7\u9534\u949D\u94A8\u9532\u94F8\u9516\u4F5D\u94DE\u9503\u9505\u94DD\u9537\u94D2\u954A\u952F\u9513\u9560\u94CC\u94B7\u949C\u9514\u9519\u9546\u94F9\u9568\u9564\u9552\u9541\u9518\u9533\u94B3\u956C\u9543\u951A\u5CB1\u9486\u955A\u94E0\u9495\u94F7\u9574\u9531\u94BF\u951E\u9502\u9EDB\u9522\u94DF\u94BE\u956F\u9523\u956E\u9536\u9559\u948B\u9551\u955D\u94F0\u9566\u94AA\u94AB\u888B\u94F1\u950D\u94F3\u94AD\u94FE\u94C8\u94BB\u9550\u9576\u953F\u955E\u955F\u94F2\u950C\u9571\u952B\u955C\u94C9\u5E74\u50A3\u4FE6\u4FF8\u5029\u5083\u503A\u4FF5\u4F20\u4F1F\u50B2\u667A\u76D2\u4FDD\u4F83\u9F9B\u9894\u988C\u4FE3\u8212\u90C3\u9E3D\u62FF\u4FA3\u5047\u7FD5\u5F07\u50CE\u4FC3\u4E4D\u5043\u6998\u4EDE\u4F74\u503B\u5028\u4F0A\u4F1B\u4FB5\u5053\u50C7\u4F3A\u600E\u4F32\u50FB\u4ED3\u5014\u501F\u4F9B\u504C\u5061\u821E\u4F6F\u5106\u50D4\u4ED9\u7F3A\u6217\u521B\u7F38\u50AC\u9E27\u7F50\u7F45\u4F3C\u4F43\u502E\u4FDA\u5076\u5107\u504E\u5072\u5121\u6BCF\u4EC6\u502C\u4FA6\u508D\u4F7C\u4FF6\u50E6\u4F4F\u4F09\u4EFF\u4F9D\u4FAA\u4F01\u4FE1\u4F67\u654F\u501E\u505C\u5134\u4F4D\u50EE\u500D\u79BD\u4F2D\u6BD3\u5FC3\u65EC\u65E8\u6120\u60FA\u6168\u601B\u608D\u90C7\u60D5\u6068\u6162\u61AC\u60C6\u6146\u607D\u60E7\u606B\u607B\u60D8\u5FEA\u608C\u60A6\u618E\u60EE\u4E5F\u61B7\u5FD6\u5FEB\u609A\u61D2\u9896\u4E78\u60D9\u602A\u988D\u603F\u6084\u60DD\u60D4\u988E\u604D\u6043\u602F\u60BB\u5FC5\u6015\u60F6\u61CA\u6064\u60B8\u6100\u606A\u52FF\u5FCF\u606C\u520E\u5FFB\u90B2\u5FFD\u60DB\u6027\u6127\u52FE\u52FA\u60A2\u609B\u6035\u530D\u60E8\u5FE7\u6175\u6177\u5300\u6021\u61BE\u6088\u60E6\u614E\u6096\u5FEE\u60B0\u6103\u60CB\u612D\u9E28\u6019\u6124\u61AD\u6062\u5306\u6016\u8084\u60F0\u7591\u60ED\u5FE1\u600F\u5FF1\u60AD\u602B\u6126\u60B1\u60AF\u6052\u61E6\u9877\u6053\u6000\u6026\u6079\u6078\u9E35\u6003\u609F\u90AC\u5310\u9E71\u6144\u6110\u6014\u5FC6\u61C8\u61BA\u5FF8\u5FFA\u6195\u957F\u610E\u60DF\u6194\u601C\u5FE4\u52DA\u6109\u5FFE\u6070\u600D\u6006\u6094\u6BD4\u6042\u5752\u7686\u60DA\u6BD5\u6BD9\u6005\u6BD6\u5FF3\u60C5\u612B\u53E5\u6092\u52AC\u591F\u96CA\u9E32\u6115\u5305\u4E5C\u5207\u5FC9\u600A\u6151\u6004\u60EC\u6029\u4E16\u60DC\u8D33\u61C2\u616C\u61F5\u614A\u614C\u5C6F\u5308\u5228\u60F4\u987F\u90A8\u607A\u4E4C\u7538\u6083\u609D\u60EF\u6123\u60BC\u6054\u6165\u8A07\u60B4\u60C7\u60CA\u67AD\u9E1F\u51EB\u5C9B\u8885\u6114\u61A7\u607C\u5FD9\u61D4\u5FED\u624B\u63FE\u634F\u8822\u62C5\u634D\u63D0\u63ED\u64AE\u628A\u6388\u9753\u63A2\u634B\u975B\u6325\u63F4\u9759\u6447\u6484\u62E5\u652B\u6252\u626E\u63B8\u8012\u63F8\u8019\u8025\u8027\u8016\u62AB\u8017\u8031\u62B9\u6289\u8030\u8018\u8028\u8014\u8020\u801C\u8024\u8022\u8015\u8029\u8026\u802A\u8032\u6421\u6387\u6414\u644A\u9EB9\u62E9\u9EB8\u634E\u6487\u6491\u6405\u6402\u639E\u6284\u62CC\u6321\u64DE\u6301\u6302\u62EE\u64B7\u62CD\u6525\u63EA\u64AD\u6273\u6266\u6376\u62EC\u63D2\u5951\u6322\u6380\u6293\u6298\u62C6\u6295\u6258\u605D\u6308\u64E4\u6512\u64AC\u62B5\u7D5C\u6291\u627A\u636D\u641C\u642C\u640B\u627E\u6269\u640F\u8D3D\u70ED\u7118\u57AB\u6355\u62D4\u63BA\u62E2\u52BF\u6270\u86F0\u642A\u6328\u62ED\u9E37\u631A\u62AC\u64BC\u62A4\u63AE\u6369\u62DA\u646D\u62E8\u7D77\u6382\u4E30\u64E6\u652E\u64BA\u63A7\u6316\u6280\u6313\u64C0\u62F7\u6377\u63CE\u62E7\u7809\u8273\u90A6\u6448\u6320\u5F57\u6167\u6309\u6625\u8D58\u93CA\u64A9\u5BFF\u6CF0\u71AC\u79E6\u8202\u7352\u87AF\u63A9\u637A\u594F\u638E\u630E\u6267\u629B\u9A9C\u9CCC\u5949\u8071\u631F\u5D85\u62E3\u62E3\u6662\u626A\u63FD\u5E2E\u8707\u62C2\u6311\u6392\u54F2\u8E05\u6401\u62BD\u62BB\u62FD\u8A93\u625B\u9752\u6509\u8D23\u6474\u64C2\u9EA6\u6294\u62A8\u6371\u636F\u625E\u63AD\u629A\u6342\u632F\u6253\u62D3\u627C\u6485\u8868\u7D20\u647D\u7E9B\u6BD2\u633D\u6362\u62EF\u626D\u63C9\u6254\u6390\u4E13\u6345\u6292\u6496\u633A\u6426\u63C6\u6323\u626C\u6400\u64B8\u592B\u66FF\u89C4\u62CA\u63A8\u643A\u62CE\u637B\u8F87\u62F4\u6361\u63C4\u62FE\u632B\u62A1\u62D6\u63FF\u62C3\u62A2\u64D2\u6307\u63AC\u638F\u6279\u63E9\u62D8\u62B1\u63F2\u627D\u6363\u63F3\u63CD\u6367\u644F\u629F\u6276\u64B5\u6263\u6339\u6350\u635F\u62D0\u64CD\u63D6\u634C\u64B0\u62BF\u6349\u97E6\u97EB\u63E0\u97EC\u62DB\u97E8\u6444\u63F6\u636E\u62A0\u6343\u62A5\u626B\u647A\u63E1\u64E2\u6326\u6556\u632A\u64D7\u62D2\u97E7\u6452\u640C\u6398\u63AA\u6478\u6492\u635E\u62F1\u6495\u63B7\u62E6\u63D5\u643D\u642D\u6413\u62FC\u6420\u63CF\u6499\u641B\u51FB\u624E\u63E3\u9B36\u6467\u62D9\u5AE2\u62DF\u62D7\u63BE\u62F6\u6346\u6482\u63BC\u6441\u62BC\u6446\u64D0\u63B4\u645E\u62C7\u6251\u6389\u64A4\u6412\u6458\u631D\u62C4\u6297\u6454\u6296\u631E\u6324\u626F\u62E4\u637D\u6396\u6445\u63B3\u62C8\u641E\u63A0\u6518\u62C9\u63DE\u649E\u638A\u63A5\u645B\u6410\u64C5\u6283\u64FF\u53E3\u5531\u5527\u559D\u562C\u5427\u9091\u54CF\u55F3\u5541\u5250\u5480\u54C3\u5458\u5457\u5624\u9E43\u55E3\u56BC\u53EA\u53ED\u55E1\u55F2\u5416\u5429\u564C\u5574\u5446\u55B3\u5549\u5664\u5587\u55FD\u53F9\u5575\u55D3\u555C\u55E8\u54E8\u5621\u5522\u54AA\u55BD\u5556\u5435\u54A3\u5410\u564E\u54C7\u55D1\u54E7\u90E2\u54AD\u563B\u562D\u55A4\u55E5\u5523\u5662\u54CD\u54B1\u54DD\u557E\u54AF\u549A\u547C\u54CC\u553E\u542C\u566C\u53FD\u54DA\u561A\u5412\u543D\u54E6\u5144\u55C5\u5471\u5564\u55D6\u5506\u561B\u5601\u54DE\u558A\u542E\u5577\u54FA\u5420\u5499\u548F\u5509\u548D\u5533\u53F6\u561F\u55D4\u54F1\u55E6\u5693\u5583\u568F\u56D4\u5473\u5431\u54A4\u5580\u6222\u5632\u54EE\u55A7\u549B\u5576\u55DC\u54D3\u5627\u55D0\u5495\u567B\u55B7\u5639\u54B4\u55B9\u5454\u550F\u5535\u54A6\u610D\u556D\u53E6\u53FB\u5496\u540A\u5489\u5578\u867D\u5561\u547B\u9EFE\u54BA\u8E36\u8E22\u8E4B\u8DDF\u5685\u8DDA\u8E29\u56AF\u8E48\u551D\u8E4A\u8DB4\u54C2\u8E6D\u5401\u8E45\u8DDB\u8E0F\u8E5A\u8E50\u8E9E\u5478\u5448\u8DF1\u8DEC\u54E2\u8E12\u8E6F\u8DEF\u8DE3\u8E53\u8E35\u8E2C\u8DC3\u8E3D\u8DFA\u8DCC\u8E9C\u8DDE\u8E09\u54A5\u8DF5\u8DCB\u8DC6\u8E41\u8E31\u8E94\u8E2E\u8E7F\u8DC2\u8E2A\u8E5C\u8DCE\u8DF7\u5434\u8E7D\u8E26\u8DE8\u5456\u8DCF\u5452\u54FD\u8DF3\u8E70\u5641\u8DD6\u5514\u8DBC\u8E76\u53EE\u8E42\u8DBF\u8E0A\u8E3A\u8DEA\u54A7\u8E6C\u5475\u8DD7\u8E1F\u8DC4\u8DB5\u8DF8\u8DD1\u8E40\u8E0C\u8DBA\u55DD\u8E81\u8E51\u8E1E\u5544\u8DDD\u5443\u8DFD\u54D1\u8E7C\u8E87\u8E2F\u8E8F\u8E52\u5658\u8E49\u8E72\u8E66\u55C4\u560E\u8E39\u5440\u53F7\u8E90\u8E1D\u560C\u55B1\u8E85\u5413\u8E14\u8E44\u8E62\u8DE4\u8E7E\u8E74\u8DF9\u8DF6\u8DFB\u8DBE\u8DD0\u8E23\u5524\u543C\u5438\u54C6\u5432\u554A\u5439\u9955\u5654\u5417\u565C\u5450\u5459\u54BB\u5490\u552F\u564D\u5464\u541F\u52CB\u54D9\u55BB\u54C8\u5565\u5403\u5589\u90E7\u5511\u54D7\u548B\u54BF\u545B\u5659\u53F1\u5423\u5487\u543B\u553F\u5555\u5421\u5588\u54D4\u5486\u558B\u5428\u545C\u9E23\u556A\u54F3\u55EA\u552A\u551B\u55C9\u5567\u544B\u55F7\u5566\u5415\u659D\u5492\u54ED\u5668\u56A3\u9A82\u9E6D\u54C1\u566A\u569A\u5640\u9F0D\u5530\u53E8\u5631\u54A1\u55EB\u5455\u53E9\u5482\u522B\u53FC\u989A\u5594\u54D0\u9102\u5462\u9E57\u9E2E\u54EA\u567C\u53DA\u5676\u5520\u54C4\u5636\u5657\u55CC\u561E\u54CE\u558F\u5453\u5684\u55D2\u55EC\u54A9\u55DF\u55CD\u55DE\u55B5\u5608\u5642\u5686\u5DF3\u5623\u5BFC\u5598\u55E4\u54D5\u5F02\u5DFD\u5484\u5476\u5406\u5466\u53EB\u54DF\u5599\u6C11\u549D\u559F\u54E9\u563F\u54BD\u55EF\u5477\u5581\u5570\u5582\u9119\u5463\u535F\u557C\u5600\u54AC\u542D\u5537\u54D2\u54DC\u5543\u5472\u5501\u556E\u5494\u55F5\u8DB3\u5550\u5634\u5618\u552C\u5671\u54FC\u568E\u56B7\u55FE\u5591\u5647\u566B\u553C\u54B3\u5C38\u5237\u5C43\u5339\u6BBF\u5C3F\u81C0\u7280\u989E\u747F\u805A\u7FF3\u5A36\u7E44\u5C51\u5C4E\u5C09\u5C61\u9A4E\u99FA\u9A11\u99FC\u9A1E\u9A69\u6233\u5200\u9B18\u9B08\u9AEF\u9AFB\u9B0F\u9AE6\u5203\u622E\u9B12\u9B03\u9B13\u52E0\u5C5E\u5320\u9AE1\u9AF9\u5C65\u5C50\u5C63\u9AFD\u5C66\u9AE2\u9E68\u5C3E\u53EC\u9AEB\u9B23\u9B1F\u9AED\u71A8\u9ADF\u87B1\u8086\u4E60\u5FCD\u6170\u533E\u5F5F\u8033\u81C2\u943E\u806A\u6A97\u53D6\u8042\u803F\u58C1\u8043\u804A\u8052\u804D\u5C60\u803D\u8069\u8058\u74A7\u8035\u7513\u8036\u8046\u64D8\u5C45\u804C\u5288\u8054\u8034\u5B16\u895E\u803B\u8B6C\u533A\u5C39\u6BB4\u74EF\u5C3B\u6B27\u9E25\u5326\u541B\u5369\u531D\u536B\u9890\u532E\u532A\u8D5C\u81E3\u5C4A\u5367\u5F50\u5201\u7FDA\u5E1A\u7FC2\u5BFB\u7075\u5321\u5C4B\u7FC0\u5C42\u7FDF\u53F8\u7FBD\u7FBF\u7FFC\u7FE0\u7FEF\u7FCC\u5B71\u5C59\u5C3A\u663C\u533B\u533C\u9139\u54AB\u5C3D\u5C3C\u531C\u5C41\u5C49\u9E24\u90A3\u53F5\u52AD\u5267\u90E1\u90B5\u615D\u7FA4\u8F9F\u5DE8\u5C40\u51F9\u5155\u533F\u7FBC\u5C4F\u5C55\u5DF1\u5DF2\u7199\u5FCC\u5C48\u9DA0\u90FE\u6539\u5323\u5EFF\u6614\u83D6\u840C\u83B3\u8349\u83AB\u66AE\u5E55\u5893\u84E6\u6155\u6479\u52DF\u845B\u9E4A\u855E\u82AD\u831B\u8513\u84C2\u84C7\u89CF\u5178\u84E5\u83DC\u8363\u69CA\u8365\u8367\u85E4\u5851\u8314\u8366\u82CB\u85D0\u9EFC\u9EFB\u8364\u52B3\u8424\u524D\u84AF\u82F4\u989F\u83B9\u8484\u8499\u833C\u83A9\u714E\u526A\u8315\u7FE6\u8521\u6563\u83BA\u82D8\u8425\u83D4\u82DC\u837D\u8426\u65A0\u5171\u4E1A\u666E\u671F\u76CA\u9EF9\u57FA\u5914\u65AF\u84CA\u8572\u90BA\u6B3A\u6B49\u606D\u60CE\u9E63\u5DF7\u68FB\u82AC\u51FF\u7DA6\u914B\u9EC7\u83BF\u8459\u83D8\u83E5\u8309\u850C\u82EF\u83B1\u8570\u83F9\u83E0\u838E\u843D\u848E\u85E9\u84B2\u8584\u8497\u5290\u8333\u85B8\u840D\u83CF\u8361\u85FB\u8556\u8303\u8453\u832B\u850A\u853D\u848C\u83FC\u85AE\u828F\u82D2\u76D6\u83F1\u8537\u7F94\u7FB9\u8451\u7FB2\u7207\u7FA1\u7F95\u7F8E\u98A7\u9144\u7F91\u83B0\u6059\u9E73\u85B9\u59DC\u85E0\u83C2\u8469\u8581\u9996\u8590\u8429\u8389\u83A0\u840E\u8543\u85B0\u85DC\u8306\u828A\u8331\u8463\u835E\u82B9\u829F\u8283\u8587\u8347\u8605\u84F0\u84CF\u844E\u831A\u83AA\u82FC\u82BC\u859B\u8490\u8636\u830B\u82AA\u8538\u8406\u84D6\u8438\u83A8\u85E6\u8611\u863C\u8302\u8487\u8474\u8473\u84E2\u8386\u8307\u830F\u83BD\u8328\u85CF\u829D\u85E8\u9E5A\u82D4\u82A6\u8439\u8517\u853C\u5345\u977C\u97AE\u97A8\u9776\u8378\u8433\u5E26\u8313\u8456\u84C9\u8616\u9781\u977A\u82B0\u9798\u7CF5\u977D\u978B\u9792\u9773\u8559\u978D\u8457\u8356\u52D2\u9785\u840B\u82CE\u853B\u976C\u8431\u82E7\u8423\u83EA\u9770\u839E\u9794\u97C2\u5B7D\u97A3\u9778\u97AC\u83C0\u84FF\u97AD\u9774\u84CD\u97A0\u835B\u97AB\u97A1\u82E6\u846B\u83C5\u97A7\u97B4\u97AF\u97B3\u97B2\u977F\u9791\u5173\u827E\u6AA0\u837B\u83B7\u83B8\u8350\u832C\u8418\u8351\u827D\u8284\u90D1\u911A\u84BA\u64CE\u82E5\u60F9\u82CF\u8304\u8354\u835A\u8B66\u82F1\u841C\u84DD\u9769\u8427\u8300\u848B\u8327\u8489\u83F2\u71D5\u5807\u853A\u9EC4\u7518\u8341\u85B7\u8649\u85FF\u89D0\u857E\u831C\u67D0\u828B\u82A3\u849C\u82F9\u82E4\u52E4\u82C8\u829C\u5170\u5176\u82B8\u82AB\u751A\u90AF\u911E\u85A4\u82DB\u8564\u846C\u82CA\u8568\u82BD\u84D0\u8508\u8638\u8548\u852B\u827A\u828E\u83DF\u85A2\u836A\u83F0\u82A4\u84B8\u82A8\u827F\u840F\u8305\u8317\u82D1\u839B\u836B\u8428\u83C9\u84BB\u84DF\u85D3\u852C\u84E3\u82A1\u8475\u830E\u8503\u836C\u82AE\u8336\u82FB\u8411\u830C\u8549\u834F\u8470\u82D3\u832F\u82A9\u83CD\u8629\u833D\u839C\u517B\u82A5\u837C\u8343\u835F\u8539\u83B6\u8377\u82C1\u839D\u82B1\u9E72\u84A8\u8446\u82CD\u8393\u84D3\u8385\u82AF\u8340\u83CA\u82FE\u82B4\u828D\u8461\u85BF\u8471\u82CC\u8404\u8298\u8488\u835C\u854A\u82DF\u82DE\u8311\u7F8A\u8288\u7FAF\u7F93\u7740\u85C9\u85D5\u841A\u845C\u7F96\u7F9D\u84B1\u7FA7\u83DD\u84C1\u5DEE\u83C1\u7FB1\u7F9E\u7F9F\u8299\u7F9A\u82C7\u7FD4\u7F8C\u7FB0\u857A\u8557\u912F\u9100\u83B4\u656C\u8392\u843C\u846D\u847A\u82E0\u82C9\u851A\u82D5\u857B\u8338\u8399\u8282\u831D\u84FC\u8368\u8369\u859C\u82E3\u8291\u4E95\u5E76\u4E26\u8346\u82F7\u8401\u845A\u74F6\u9E62\u5584\u8353\u84B4\u8832\u84B9\u6714\u9998\u83E1\u8301\u6221\u5B73\u5179\u82E1\u6148\u83C7\u52D8\u836F\u8585\u836E\u836D\u8574\u83BC\u8339\u8297\u659F\u82D7\u66F2\u66F9\u5C0A\u83CC\u7337\u5960\u8335\u84BD\u85AF\u8511\u841D\u750D\u85A8\u77A2\u8478\u9E4B\u8334\u85DF\u517C\u8482\u84A1\u832D\u85AA\u83FD\u85B3\u860B\u84EC\u82B3\u833A\u82A0\u8359\u8360\u83B2\u82BE\u82B7\u8308\u8403\u82EB\u84BF\u85C1\u8500\u8476\u8618\u8479\u851F\u83F8\u8398\u858F\u83E9\u849F\u84E0\u8292\u8579\u8344\u8352\u84C4\u84D1\u82C4\u8627\u5C71\u5D4B\u5C9C\u5D29\u5C98\u5C97\u5CA8\u989B\u5CD2\u9145\u5D1F\u5CEA\u5D92\u5D56\u5D27\u5D0A\u5D03\u51FC\u5CC4\u5CED\u5D74\u5D99\u5D5D\u5D1A\u5CD9\u5D36\u5D01\u5315\u5D4A\u5D93\u5CF0\u5CC2\u5CC1\u5CE4\u5C9A\u5CE8\u5D72\u5D6C\u5DCD\u5D00\u5CFB\u5D45\u5D34\u5CEC\u9B2F\u5D06\u5DC5\u5C90\u5D07\u5CE3\u5CB5\u51F6\u5CBD\u70AD\u5D24\u5D26\u5D0E\u5D7D\u5D2D\u5CE1\u5C6E\u5CBF\u5CAB\u5CD8\u5CCF\u5D16\u86A9\u5CB8\u5CFF\u5CDB\u5CA2\u8C73\u5CA9\u5C8D\u5C7C\u5C88\u5D3E\u5DA6\u51FD\u5C8C\u5C81\u523F\u5CD7\u5D9D\u5DC9\u5CE5\u7FD9\u5D14\u5DB2\u5CAD\u5C91\u5D04\u5D5B\u5CC7\u5C79\u5D5A\u5C9E\u5CCB\u5DB7\u5CA3\u5D3F\u5CB7\u5D0C\u5C96\u5D8D\u5CA0\u5C82\u5C7A\u5D1B\u5D58\u5D02\u5D4C\u5D41\u9146\u5D6F\u5D6B\u5D9F\u51FA\u5C7E\u89CA\u7C9C\u51EF\u5240\u795F\u5D21\u5E7D\u5D2E\u5CAC\u5D4E\u5D3D\u5CE7\u5D12\u5D69\u5D1E\u5C7F\u5DC7\u5D82\u5973\u5A3C\u5AAA\u5A9A\u59B2\u5A9E\u5A6B\u5ADA\u5AD2\u59D7\u5A47\u5A64\u59D0\u5A9B\u5AB1\u5A23\u5A75\u65AD\u5AE9\u527F\u5A61\u5974\u5A3A\u52AA\u5E11\u782E\u5F29\u5B65\u9A7D\u80EC\u6012\u5AE6\u7D9D\u5999\u7E2F\u7D84\u59EF\u7DAA\u5A58\u7E86\u7DA7\u7DA1\u7E95\u5AF1\u5A03\u5958\u59DE\u5B09\u5A5E\u5A93\u598A\u59C2\u59DD\u5996\u5A07\u59E4\u98E8\u5A5A\u5A25\u59D3\u5AB3\u5A62\u5AB2\u5AC2\u5E7A\u53B6\u5A18\u5B37\u7CF8\u5A0D\u5A99\u5A00\u59AD\u5E7C\u59AB\u4EE5\u59CB\u5992\u5E7B\u5AA5\u5B1A\u5A0F\u757F\u5AC3\u5A7B\u59B9\u5993\u59F9\u59E5\u5A76\u5A55\u5AC1\u5A49\u5AD4\u5A06\u59D1\u5A60\u5AFD\u5A4D\u59F1\u59E8\u5AC9\u51F5\u723F\u59DA\u6536\u5A34\u59AF\u5A09\u59CA\u7F0A\u59EE\u7F07\u7EF2\u7F26\u5B2C\u7EF7\u7EF6\u7EF8\u7EB2\u5A86\u7EC4\u7F13\u7F28\u5B40\u7F08\u7EE5\u7EE8\u7EE4\u7EB7\u7F2F\u7F03\u7EA3\u7F00\u7ECE\u7EE1\u7EF1\u7F15\u5F5D\u7EB1\u7ECA\u7EFB\u7EEB\u7ED3\u7F2C\u7EF5\u7F10\u7EE3\u7EE6\u7EDB\u7EDC\u7EC8\u5AC4\u7EB4\u7EA4\u7F0E\u7F0D\u7ED7\u7F34\u7F35\u7EB8\u7EFA\u7EA9\u6215\u7F1A\u7F04\u7EBF\u7ED2\u7EC2\u7ED0\u7F16\u7F20\u5978\u7F1C\u7EEA\u7EBB\u7EFC\u7EFD\u7EED\u7F29\u7F24\u7ED5\u7EFE\u7F2D\u7EAE\u7EEE\u7ED4\u7EA8\u59A9\u7EC3\u7EC3\u7F06\u7ECB\u7F0B\u7EEF\u7EC5\u7EA2\u7F19\u7EA1\u5998\u7ED6\u7EE0\u7EAD\u7241\u5A2A\u59A7\u5A20\u7F1B\u7F25\u7F05\u7F30\u7EDD\u7EBD\u7EA7\u7EBE\u7EBC\u7EFF\u7ECF\u7EC9\u7EB3\u7EF4\u7ED8\u7F0F\u7ED9\u7EA5\u7F11\u7EB5\u7EB6\u7EDA\u7EA6\u5F58\u7EF9\u7EB0\u7EC1\u7EAF\u7ED1\u7EE9\u7EAC\u8F94\u7EE2\u7EC7\u7EF3\u7F17\u7F32\u7F09\u7EAB\u7ECD\u7F2A\u7EAA\u598D\u5A05\u7F22\u7F02\u7EC0\u7242\u7F2E\u7F23\u7ECC\u5A73\u7EE7\u7EA0\u7F18\u7F2B\u7F01\u7EC6\u5AD6\u5A94\u7F33\u7F0C\u7F27\u7EF0\u7F14\u7EDE\u5AE3\u7F1D\u7F12\u7EBA\u7EDF\u7EB9\u7F31\u7F1F\u7F21\u5A29\u597D\u599E\u5A83\u5976\u59A4\u5A40\u5A3D\u5F56\u59FD\u5A7F\u5B01\u5988\u59C8\u5B45\u5997\u8821\u59F6\u59B0\u5979\u59BC\u5981\u59A3\u5A67\u5AE7\u5A4A\u5982\u5A1F\u5A31\u5A32\u6055\u7D6E\u5A13\u5A35\u59AA\u5AD5\u59EC\u5987\u5B25\u5AEA\u59AE\u5A1C\u5983\u5AEB\u5A84\u5A7C\u5B3F\u5A96\u5AE4\u5A92\u59D8\u598C\u5ABE\u5ACC\u5AB8\u5A69\u4E61\u59D2\u4E1D\u7E9F\u9E36\u9095\u5DDB\u753E\u5DE2\u5A0C\u59FB\u5B1B\u5AD8\u59C6\u5A82\u5AE1\u59E3\u5A4C\u59A8\u5AED\u5A4B\u5A77\u5ADC\u5B17\u7530\u80C3\u9899\u611A\u56DB\u5719\u679C\u56F0\u56E2\u9897\u5925\u9EE0\u9EE2\u9ED8\u9EEA\u9EE9\u9EDF\u9ED4\u7554\u5708\u9EDC\u9EDD\u9EE5\u9EEF\u91CC\u7564\u9ED1\u58A8\u7566\u91CE\u5709\u56F7\u7548\u7565\u56FE\u7556\u756F\u5703\u754E\u6BCC\u8D2F\u6BCB\u7579\u56FA\u56E0\u56FF\u7578\u6069\u7537\u7532\u79BA\u7F7E\u7F62\u7F74\u7F76\u7F5A\u7F71\u7F6E\u7F72\u7F5F\u7F68\u753D\u7F6A\u7F58\u7F7D\u7F61\u7F57\u8700\u7F79\u9E2D\u7FC8\u7F81\u7F69\u8A48\u56FD\u7540\u5704\u56ED\u753A\u754F\u56DD\u5885\u56DA\u755B\u56F9\u754B\u754C\u56F5\u601D\u56EB\u6BD7\u56E4\u7574\u570A\u56F4\u56DE\u5706\u7581\u5B32\u570C\u56E1\u7D2F\u9E6E\u7FFE\u5710\u571C\u7F4D\u6BCD\u7583\u535C\u684C\u5353\u6B46\u66B9\u97F5\u904F\u97F6\u9062\u9000\u9088\u5E1D\u557B\u777F\u671B\u7517\u9117\u8D1E\u9065\u557B\u8FE5\u6572\u65C1\u516D\u89D1\u5546\u92AE\u683E\u53D8\u5156\u886E\u4EA4\u5955\u86EE\u5F2F\u5B6A\u9012\u8114\u604B\u9E3E\u631B\u5F08\u5CE6\u5A08\u4EB8\u65B0\u8FC7\u5B70\u901F\u90ED\u6566\u9E51\u6534\u7763\u7CB2\u58D1\u9910\u900D\u8FF7\u9074\u53D4\u5C31\u52CD\u4E3B\u9035\u5E7F\u8FEB\u9051\u4EB9\u900F\u9036\u8FD4\u9022\u9004\u9020\u9009\u5F66\u905B\u8FC1\u9002\u9041\u9891\u989C\u8FD1\u9005\u4EA2\u8FED\u8FFD\u65B9\u9080\u8863\u8FCE\u88D2\u80B2\u9021\u8FF0\u719F\u587E\u5145\u900B\u9011\u7387\u8FE8\u904D\u5F03\u906E\u6597\u9083\u8FA3\u8D63\u5F70\u74E3\u8FA8\u8FA9\u9123\u902D\u8FAB\u6587\u5934\u8FBE\u9DDF\u9016\u901B\u9F50\u9F51\u5218\u6593\u658B\u658C\u90CA\u6548\u5FDE\u619D\u8FDE\u541D\u8FB9\u8FE6\u7D0A\u5E02\u902E\u8877\u5242\u6B62\u6B65\u9003\u9057\u9063\u4EA6\u8FEA\u4E0A\u6C35\u80AF\u9026\u8D5F\u8FFA\u8FC2\u8FD8\u6B67\u98A4\u8FD0\u8A00\u8FDC\u6B24\u6B64\u5FD0\u96CC\u9E6F\u9017\u903C\u8FC8\u9010\u9F7F\u8FD3\u5361\u9038\u8D62\u9082\u900A\u8FE9\u9079\u5F6A\u88A4\u901A\u8FC5\u8803\u9883\u902F\u8FBD\u8FF3\u7FB8\u5B34\u8664\u8912\u6BC5\u98A6\u8FD5\u52BE\u523B\u988F\u9014\u903E\u8FC4\u591C\u5352\u6206\u8FE4\u8FEE\u864D\u8D40\u67F4\u864E\u864F\u4E9B\u7961\u7826\u89DC\u8651\u865E\u8650\u865A\u7D2B\u8654\u8A3E\u901D\u4EB5\u8FDD\u9068\u5360\u8ADF\u88DB\u818F\u89C7\u4EAE\u4EAD\u8C6A\u4EB3\u9AD8\u6BEB\u4EAC\u70B9\u54C0\u8B0F\u6218\u8B53\u5256\u901E\u74FF\u8AF2\u4EAB\u70F9\u90E8\u4EA8\u8944\u9050\u4E69\u5362\u5803\u8FE2\u4E0E\u9885\u90A1\u8FDF\u65C3\u65CC\u65C4\u65C5\u65C6\u653E\u65D6\u65D0\u65CB\u65CF\u65BD\u65CE\u65D7\u65BC\u65D2\u9E2C\u907F\u65DE\u7ACB\u97F3\u7ADF\u7AE0\u610F\u7AED\u9052\u4EB2\u7AE6\u4EA7\u98D2\u9053\u7AE3\u8F9B\u9001\u7AD1\u7AEB\u9042\u7AD8\u9756\u7ADE\u7FCA\u8FDB\u8FF8\u9058\u9006\u7AEF\u59BE\u906D\u7AE5\u9075\u7AD9\u8FBF\u9F88\u9F83\u9F7C\u9F8B\u9F82\u9F6F\u79BB\u9F6E\u9044\u9F89\u9F84\u9F58\u9F81\u9F80\u9F85\u9E6B\u9F8A\u9F86\u9F8C\u9F87\u4EA1\u8093\u8182\u88D4\u76F2\u58C5\u9954\u96CD\u4EA5\u74E4\u7384\u755C\u9099\u5FD8\u6C13\u5984\u5DE1\u908B\u4EA9\u88F9\u5364\u9047\u903B\u8870\u7980\u4EB6\u5363\u9E7E\u535E\u9034\u9046\u8FD9\u8FF9\u907D\u66F0\u6656\u65F0\u5195\u6612\u7166\u65F5\u667E\u5197\u810E\u80BD\u809B\u51A2\u8D31\u80BC\u7762\u677F\u6755\u6760\u67F0\u6877\u677C\u6784\u8D49\u6893\u6C93\u6FC9\u6F31\u53CC\u53C9\u6D60\u6E83\u705E\u6D12\u6CD3\u6DEE\u6E1D\u67D2\u6C9F\u6D2D\u6C6B\u6E59\u655E\u70AF\u7094\u6569\u7203\u5C18\u5739\u5609\u57AF\u4E3F\u767F\u79C9\u5241\u7C0C\u5902\u69C3\u5904\u9E31\u68A8\u6BB3\u5F73\u5284\u90C8\u9E39\u61A9\u9118\u672F\u620B\u5E8B\u4E49\u4EA0\u5E80\u5FD2\u910C\u6020\u76DB\u5F01\u8BB9\u8BE3\u5B8B\u5EFE\u5BA7\u8E47\u524B\u4E42\u90C1\u6740\u760C\u75A2\u5811\u75B4\u5937\u65EE\u5C22\u4E28\u86AC\u86CA\u4E2C\u95FC\u88E2\u90E6\u8D21\u9E5D\u706D\u73A5\u538B\u9104\u6B45\u73AA\u73AB\u73CC\u73AD\u7467\u73EB\u5386\u4E8D\u4E8F\u6050\u9143\u780D\u52A2\u5245\u4E1E\u5F18\u961D\u9CCB\u9CB9\u9C90\u9CCA\u9A95\u9CA1\u9CD4\u9C8B\u9C7E\u9CAF\u5DEF\u4E45\u6C46\u96B9\u4F76\u4FCD\u4EEA\u90D0\u5348\u6535\u4F51\u4EF2\u4EDD\u4FEA\u4F3E\u6C14\u4FB4\u50F3\u4EBF\u6002\u4ED1\u8D37\u948D\u9488\u9553\u956A\u94A9\u9486\u94F1\u94F3\u953F\u988C\u4F1B\u4F32\u65E8\u52FA\u5FFE\u5FC9\u6293\u605D\u6269\u7118\u64E2\u624E\u9091\u5457\u53ED\u5693\u5627\u53FB\u5514\u5459\u5565\u5423\u54D0\u9E2E\u55EC\u622E\u5C50\u6170\u5C39\u5201\u90B5\u5DF2\u84E5\u8363\u8314\u85D0\u84AF\u8484\u4E1A\u6B49\u60CE\u83B0\u8605\u84CF\u830B\u839E\u827E\u827D\u911A\u8327\u828B\u82C8\u911E\u8638\u828E\u830C\u82A5\u8288\u9100\u5E76\u8585\u66F2\u8335\u750D\u8359\u849F\u5C7A\u5C7E\u53B6\u59AB\u5E7B\u7EF7\u5A86\u6215\u7ED2\u598C\u7E9F\u56F0\u56D7\u624C\u6C69\u6E25\u5E86\u9E80\u9E38\u98DE\u6C3D\u4F08\u94A1\u69CA\u836E\u8FBE\u8FE5\u5955\u989C\u5934\u619D\u9057\u6C35\u5FD0\u4EAD\u70B9\u8FF8\u8182\u908B\u7248\u724C\u724D\u7247\u7252\u987E\u6539\u987E"),kV=new String("\u842C\u8207\u919C\u5C08\u696D\u53E2\u6771\u7D72\u4E1F\u5169\u56B4\u55AA\u500B\u723F\u8C50\u81E8\u70BA\u9E97\u8209\u9EBC\u7FA9\u70CF\u6A02\u55AC\u7FD2\u9109\u66F8\u8CB7\u4E82\u722D\u65BC\u8667\u96F2\u4E99\u4E9E\u7522\u755D\u89AA\u893B\u56B2\u5104\u50C5\u5F9E\u4F96\u5009\u5100\u5011\u50F9\u773E\u512A\u5925\u6703\u50B4\u5098\u5049\u50B3\u50B7\u5000\u502B\u5096\u507D\u4F47\u9AD4\u9918\u50AD\u50C9\u4FE0\u4FB6\u50E5\u5075\u5074\u50D1\u5108\u5115\u5102\u4FC1\u5114\u513C\u5006\u5137\u5109\u50B5\u50BE\u50AF\u50C2\u50E8\u511F\u513B\u5110\u5132\u513A\u5152\u514C\u5157\u9EE8\u862D\u95DC\u8208\u8332\u990A\u7378\u56C5\u5167\u5CA1\u518A\u5BEB\u8ECD\u8FB2\u585A\u99AE\u885D\u6C7A\u6CC1\u51CD\u6DE8\u6DD2\u6DBC\u6DE9\u6E1B\u6E4A\u51DC\u5E7E\u9CF3\u9CE7\u6191\u51F1\u64CA\u6C39\u947F\u82BB\u5283\u5289\u5247\u525B\u5275\u522A\u5225\u5257\u5244\u528A\u528C\u5274\u5291\u526E\u528D\u525D\u5287\u52F8\u8FA6\u52D9\u52F1\u52D5\u52F5\u52C1\u52DE\u52E2\u52F3\u731B\u52E9\u52FB\u532D\u5331\u5340\u91AB\u83EF\u5354\u55AE\u8CE3\u76E7\u9E75\u81E5\u885B\u537B\u5DF9\u5EE0\u5EF3\u66C6\u53B2\u58D3\u53AD\u5399\u5EC1\u5EC2\u53B4\u5EC8\u5EDA\u5EC4\u5EDD\u7E23\u53C3\u9749\u9746\u96D9\u767C\u8B8A\u6558\u758A\u8449\u865F\u6B4E\u5630\u7C72\u5F8C\u5687\u5442\u55CE\u551A\u5678\u807D\u555F\u5433\u5638\u56C8\u5614\u56A6\u5504\u54E1\u54BC\u55C6\u55DA\u8A60\u54E2\u56A8\u5680\u565D\u5412\u5645\u9E79\u5471\u97FF\u555E\u5660\u5635\u55F6\u5666\u5629\u5672\u568C\u5665\u55B2\u561C\u55CA\u562E\u5562\u55E9\u5515\u559A\u547C\u5616\u55C7\u56C0\u9F67\u56C9\u563D\u562F\u5674\u560D\u56B3\u56C1\u55EC\u566F\u5653\u56B6\u56D1\u5695\u5288\u56C2\u8B14\u5718\u5712\u56EA\u570D\u5707\u570B\u5716\u5713\u8056\u58D9\u5834\u962A\u58DE\u584A\u5805\u58C7\u58E2\u58E9\u5862\u58B3\u589C\u58DF\u58DF\u58DA\u58D8\u58BE\u5770\u580A\u588A\u57E1\u58B6\u58CB\u584F\u5816\u5852\u5864\u581D\u588A\u57B5\u5879\u58AE\u58EA\u7246\u58EF\u8072\u6BBC\u58FA\u58FC\u8655\u5099\u8907\u5920\u982D\u8A87\u593E\u596A\u5969\u5950\u596E\u734E\u5967\u599D\u5A66\u5ABD\u5AF5\u5AD7\u5AAF\u59CD\u8591\u5A41\u5A6D\u5B08\u5B0C\u5B4C\u5A1B\u5AA7\u5AFB\u5AFF\u5B30\u5B0B\u5B38\u5ABC\u5B21\u5B2A\u5B19\u5B24\u5B6B\u5B78\u5B7F\u5BE7\u5BF6\u5BE6\u5BF5\u5BE9\u61B2\u5BAE\u5BEC\u8CD3\u5BE2\u5C0D\u5C0B\u5C0E\u58FD\u5C07\u723E\u5875\u582F\u5C37\u5C4D\u76E1\u5C64\u5C6D\u5C5C\u5C46\u5C6C\u5C62\u5C68\u5DBC\u6B72\u8C48\u5D87\u5D17\u5CF4\u5DB4\u5D50\u5CF6\u5DBA\u5DBD\u5D20\u5DCB\u5DA8\u5DA7\u5CFD\u5DA2\u5DA0\u5D22\u5DD2\u5D97\u5D0D\u5DAE\u5D84\u5DB8\u5D94\u5D33\u5D81\u810A\u5DD4\u978F\u5DF0\u5E63\u5E25\u5E2B\u5E43\u5E33\u7C3E\u5E5F\u5E36\u5E40\u5E6B\u5E6C\u5E58\u5E57\u51AA\u8946\u5E79\u4E26\u5EE3\u838A\u6176\u5EEC\u5EE1\u5EAB\u61C9\u5EDF\u9F90\u5EE2\u5ECE\u5EE9\u958B\u7570\u68C4\u5F35\u5F4C\u5F33\u5F4E\u5F48\u5F37\u6B78\u7576\u9304\u5F60\u5F65\u5FB9\u5F91\u5FA0\u79A6\u61B6\u61FA\u6182\u613E\u61F7\u614B\u616B\u61AE\u616A\u60B5\u6134\u6190\u7E3D\u61DF\u61CC\u6200\u61C7\u60E1\u615F\u61E8\u6137\u60FB\u60F1\u60F2\u6085\u6128\u61F8\u6173\u61AB\u9A5A\u61FC\u6158\u61F2\u618A\u611C\u615A\u619A\u6163\u6E63\u614D\u61A4\u6192\u9858\u61FE\u6196\u6035\u61E3\u61F6\u61CD\u6207\u6214\u6232\u6227\u6230\u6229\u6236\u7D2E\u64B2\u6261\u57F7\u64F4\u636B\u6383\u63DA\u64FE\u64AB\u62CB\u6476\u6473\u6384\u6436\u8B77\u5831\u64D4\u64EC\u650F\u63C0\u64C1\u6514\u64F0\u64A5\u64C7\u639B\u646F\u6523\u6397\u64BE\u64BB\u633E\u6493\u64CB\u649F\u6399\u64E0\u63EE\u648F\u6488\u640D\u64BF\u63DB\u6417\u64DA\u649A\u64C4\u6451\u64F2\u64A3\u647B\u645C\u6463\u652C\u64B3\u6519\u64F1\u645F\u652A\u651C\u651D\u6504\u64FA\u6416\u64EF\u6524\u6516\u6490\u6506\u64F7\u64FC\u651B\u64FB\u6522\u6575\u6582\u6578\u9F4B\u6595\u9B25\u65AC\u65B7\u7121\u820A\u6642\u66E0\u6698\u66C7\u665D\u66E8\u986F\u6649\u66EC\u66C9\u66C4\u6688\u6689\u66AB\u66D6\u5284\u8853\u6A38\u6A5F\u6BBA\u96DC\u6B0A\u689D\u4F86\u694A\u69AA\u5091\u6975\u69CB\u6A05\u6A1E\u68D7\u6AEA\u6898\u68D6\u69CD\u6953\u689F\u6AC3\u6AB8\u6A89\u6894\u67F5\u6A19\u68E7\u6ADB\u6AF3\u68DF\u6AE8\u6ADF\u6B04\u6A39\u68F2\u6A23\u6B12\u68EC\u690F\u6A48\u6968\u6A94\u69BF\u6A4B\u6A3A\u6A9C\u69F3\u6A01\u5922\u6AAE\u68F6\u6AA2\u6B1E\u69E8\u6ADD\u69E7\u6B0F\u6A62\u6A13\u6B16\u6AEC\u6ADA\u6AF8\u6A9F\u6ABB\u6AB3\u6AE7\u6A6B\u6AA3\u6AFB\u6AEB\u6AE5\u6AD3\u6ADE\u7C37\u6A81\u6B61\u6B5F\u6B50\u6BB2\u6B7F\u6BA4\u6B98\u6B9E\u6BAE\u6BAB\u6BAF\u6BC6\u6BC0\u8F42\u7562\u6583\u6C08\u6BFF\u6C0C\u6C23\u6C2B\u6C2C\u6C33\u5F59\u6F22\u6C59\u6E6F\u6D36\u905D\u6E9D\u6C92\u7043\u6F1A\u701D\u6DEA\u6EC4\u6E22\u6E88\u6EEC\u6FD4\u6FD8\u6DDA\u6FA9\u7027\u7018\u6FFC\u7009\u6F51\u6FA4\u6D87\u6F54\u7051\u7AAA\u6D79\u6DFA\u6F3F\u6F86\u6E5E\u6EAE\u6FC1\u6E2C\u6FAE\u6FDF\u700F\u6EFB\u6E3E\u6EF8\u6FC3\u6F6F\u6FDC\u5857\u6E67\u6FE4\u6F87\u6DF6\u6F23\u6F7F\u6E26\u6EB3\u6E19\u6ECC\u6F64\u6F97\u6F32\u6F80\u6FB1\u6DF5\u6DE5\u6F2C\u7006\u6F38\u6FA0\u6F01\u700B\u6EF2\u6EAB\u904A\u7063\u6FD5\u6F70\u6FFA\u6F35\u6F0A\u6F77\u6EFE\u6EEF\u7069\u7044\u6EFF\u7005\u6FFE\u6FEB\u7064\u6FF1\u7058\u6FA6\u6FEB\u7020\u701F\u7032\u6FF0\u6F5B\u7026\u703E\u7028\u7015\u705D\u6EC5\u71C8\u9748\u707D\u71E6\u716C\u7210\u71C9\u7152\u7197\u9EDE\u7149\u71BE\u720D\u721B\u70F4\u71ED\u7159\u7169\u71D2\u71C1\u71F4\u71D9\u71FC\u71B1\u7165\u71DC\u71FE\u7146\u7CCA\u6E9C\u611B\u723A\u7258\u729B\u727D\u72A7\u72A2\u5F37\u72C0\u7377\u7341\u7336\u72FD\u9E85\u736E\u7370\u7368\u72F9\u7345\u736A\u7319\u7344\u733B\u736B\u7375\u737C\u7380\u8C6C\u8C93\u875F\u737B\u737A\u74A3\u74B5\u7452\u746A\u744B\u74B0\u73FE\u7472\u74BD\u7449\u73A8\u743A\u74CF\u74AB\u743F\u74A1\u7489\u7463\u74CA\u7464\u74A6\u74BF\u74D4\u74DA\u7515\u750C\u96FB\u756B\u66A2\u4F58\u7587\u7664\u7642\u7627\u7658\u760D\u9B01\u7621\u760B\u76B0\u5C59\u7670\u75D9\u7662\u7602\u7646\u7613\u7647\u7661\u7649\u762E\u761E\u763A\u765F\u7671\u766E\u766D\u7669\u766C\u7672\u81D2\u769A\u76BA\u76B8\u76DE\u9E7D\u76E3\u84CB\u76DC\u76E4\u7798\u7725\u77D3\u8457\u775C\u775E\u77BC\u779E\u77DA\u77EF\u78EF\u792C\u7926\u78AD\u78BC\u78DA\u7868\u786F\u78B8\u792A\u7931\u792B\u790E\u785C\u77FD\u78A9\u7864\u78FD\u78D1\u7904\u78BA\u9E7C\u7919\u78E7\u78E3\u583F\u955F\u6EFE\u79AE\u7995\u79B0\u798E\u79B1\u798D\u7A1F\u797F\u79AA\u96E2\u79BF\u7A08\u7A2E\u7A4D\u7A31\u7A62\u7A60\u7A6D\u7A05\u7A4C\u7A69\u7A61\u7AAE\u7ACA\u7AC5\u7AAF\u7AC4\u7AA9\u7ABA\u7AC7\u7AB6\u8C4E\u7AF6\u7BE4\u7B4D\u7B46\u7B67\u7B8B\u7C60\u7C69\u7BC9\u7BF3\u7BE9\u7C39\u7B8F\u7C4C\u7C3D\u7C21\u7C59\u7C00\u7BCB\u7C5C\u7C6E\u7C1E\u7C2B\u7C23\u7C0D\u7C43\u7C6C\u7C6A\u7C5F\u7CF4\u985E\u79C8\u7CF6\u7CF2\u7CB5\u7CDE\u7CE7\u7CDD\u9931\u7DCA\u7E36\u7CF8\u7CFE\u7D06\u7D05\u7D02\u7E96\u7D07\u7D04\u7D1A\u7D08\u7E8A\u7D00\u7D09\u7DEF\u7D1C\u7D18\u7D14\u7D15\u7D17\u7DB1\u7D0D\u7D1D\u7E31\u7DB8\u7D1B\u7D19\u7D0B\u7D21\u7D35\u7D16\u7D10\u7D13\u7DDA\u7D3A\u7D4F\u7D31\u7DF4\u7D44\u7D33\u7D30\u7E54\u7D42\u7E10\u7D46\u7D3C\u7D40\u7D39\u7E79\u7D93\u7D3F\u7D81\u7D68\u7D50\u7D5D\u7E5E\u7D70\u7D4E\u7E6A\u7D66\u7D62\u7D73\u7D61\u7D55\u7D5E\u7D71\u7D86\u7D83\u7D79\u7E61\u7D8C\u7D8F\u7D5B\u7E7C\u7D88\u7E3E\u7DD2\u7DBE\u7DD3\u7E8C\u7DBA\u7DCB\u7DBD\u7DD4\u7DC4\u7E69\u7DAD\u7DBF\u7DAC\u7E43\u7DA2\u7DAF\u7DB9\u7DA3\u7D9C\u7DBB\u7DB0\u7DA0\u7DB4\u7DC7\u7DD9\u7DD7\u7DD8\u7DEC\u7E9C\u7DF9\u7DF2\u7DDD\u7E15\u7E62\u7DE6\u7D9E\u7DDE\u7DF6\u7DDA\u7DF1\u7E0B\u7DE9\u7DE0\u7E37\u7DE8\u7DE1\u7DE3\u7E09\u7E1B\u7E1F\u7E1D\u7E2B\u7E17\u7E1E\u7E8F\u7E2D\u7E0A\u7E11\u7E7D\u7E39\u7E35\u7E32\u7E93\u7E2E\u7E46\u7E45\u7E88\u7E5A\u7E55\u7E52\u97C1\u7E7E\u7E70\u7E6F\u7E73\u7E98\u7F4C\u7DB2\u7F85\u7F70\u7F77\u7F86\u7F88\u7FA5\u7FA8\u7FF9\u7FFD\u7FEC\u802E\u802C\u8073\u6065\u8076\u807E\u8077\u8079\u806F\u8075\u8070\u8085\u8178\u819A\u8181\u814E\u816B\u8139\u8105\u81BD\u52DD\u6727\u8156\u81DA\u811B\u81A0\u8108\u81BE\u9AD2\u81CD\u8166\u81BF\u81E0\u8173\u812B\u8161\u81C9\u81D8\u9183\u8195\u9F76\u81A9\u9766\u8183\u9A30\u81CF\u81E2\u8F3F\u8264\u8266\u8259\u826B\u8271\u8C54\u8278\u85DD\u7BC0\u7F8B\u858C\u856A\u8606\u84EF\u8466\u85F6\u83A7\u8407\u84BC\u82E7\u8607\u6ABE\u860B\u8396\u8622\u8526\u584B\u7162\u7E6D\u834A\u85A6\u8598\u83A2\u8558\u84FD\u854E\u8588\u85BA\u8569\u69AE\u8477\u6ECE\u7296\u7192\u8541\u85CE\u84C0\u852D\u8552\u8452\u8464\u85E5\u849E\u84E7\u840A\u84EE\u8494\u8435\u859F\u7372\u8555\u7469\u9DAF\u84F4\u8600\u863F\u87A2\u71DF\u7E08\u856D\u85A9\u8525\u8546\u8562\u8523\u851E\u85CD\u858A\u863A\u8577\u93A3\u9A40\u8594\u861E\u85FA\u85F9\u8604\u860A\u85EA\u69C1\u861A\u865C\u616E\u865B\u87F2\u866F\u87E3\u96D6\u8766\u8806\u8755\u87FB\u879E\u8836\u8814\u8706\u8831\u8823\u87F6\u883B\u87C4\u86FA\u87EF\u8784\u8810\u86FB\u8778\u881F\u8805\u87C8\u87EC\u880D\u87BB\u8811\u87BF\u87CE\u8828\u91C1\u929C\u88DC\u896F\u889E\u8956\u5ACB\u8918\u896A\u8972\u894F\u88DD\u8960\u890C\u8933\u895D\u8932\u8947\u8938\u8964\u7E48\u8974\u898B\u89C0\u898E\u898F\u8993\u8996\u8998\u89BD\u89BA\u89AC\u89A1\u89BF\u89A5\u89A6\u89AF\u89B2\u89B7\u89F4\u89F8\u89F6\u8B8B\u8B7D\u8B04\u8A01\u8A08\u8A02\u8A03\u8A8D\u8B4F\u8A10\u8A0C\u8A0E\u8B93\u8A15\u8A16\u8A13\u8B70\u8A0A\u8A18\u8A12\u8B1B\u8AF1\u8B33\u8A4E\u8A1D\u8A25\u8A31\u8A1B\u8AD6\u8A29\u8A1F\u8AF7\u8A2D\u8A2A\u8A23\u8B49\u8A41\u8A36\u8A55\u8A5B\u8B58\u8A57\u8A50\u8A34\u8A3A\u8A46\u8B05\u8A5E\u8A58\u8A54\u8A56\u8B6F\u8A52\u8A86\u8A84\u8A66\u8A7F\u8A69\u8A70\u8A7C\u8AA0\u8A85\u8A75\u8A71\u8A95\u8A6C\u8A6E\u8A6D\u8A62\u8A63\u8ACD\u8A72\u8A73\u8A6B\u8AE2\u8A61\u8B78\u8AA1\u8AA3\u8A9E\u8A9A\u8AA4\u8AA5\u8A98\u8AA8\u8A91\u8AAA\u8AA6\u8A92\u8ACB\u8AF8\u8ACF\u8AFE\u8B80\u8AD1\u8AB9\u8AB2\u8AC9\u8ADB\u8AB0\u8AD7\u8ABF\u8AC2\u8AD2\u8AC4\u8AB6\u8AC7\u8ABC\u8B00\u8AF6\u8ADC\u8B0A\u8AEB\u8AE7\u8B14\u8B01\u8B02\u8AE4\u8AED\u8AFC\u8B92\u8AEE\u8AF3\u8AFA\u8AE6\u8B0E\u8ADE\u8ADD\u8B28\u8B9C\u8B16\u8B1D\u8B20\u8B17\u8AE1\u8B19\u8B10\u8B39\u8B3E\u8B2B\u8B7E\u8B2C\u8B5A\u8B56\u8B59\u8B95\u8B5C\u8B4E\u8B9E\u8B74\u8B6B\u8B96\u7A40\u8C76\u8C9D\u8C9E\u8CA0\u8C9F\u8CA2\u8CA1\u8CAC\u8CE2\u6557\u8CEC\u8CA8\u8CEA\u8CA9\u8CAA\u8CA7\u8CB6\u8CFC\u8CAF\u8CAB\u8CB3\u8CE4\u8CC1\u8CB0\u8CBC\u8CB4\u8CBA\u8CB8\u8CBF\u8CBB\u8CC0\u8CBD\u8CCA\u8D04\u8CC8\u8CC4\u8CB2\u8CC3\u8CC2\u8D13\u8CC7\u8CC5\u8D10\u8CD5\u8CD1\u8CDA\u8CD2\u8CE6\u8CED\u9F4E\u8D16\u8CDE\u8CDC\u8D14\u8CD9\u8CE1\u8CE0\u8CE7\u8CF4\u8CF5\u8D05\u8CFB\u8CFA\u8CFD\u8CFE\u8D17\u8B9A\u8D07\u8D08\u8D0D\u8D0F\u8D1B\u8D6C\u8D99\u8D95\u8DA8\u8DB2\u8E89\u8E8D\u8E4C\u8E60\u8E92\u8E10\u8E82\u8E7A\u8E55\u8E9A\u8E8B\u8E34\u8E8A\u8E64\u8E93\u8E91\u8EA1\u8E63\u8E95\u8EA5\u8EAA\u8EA6\u8EC0\u8ECA\u8ECB\u8ECC\u8ED2\u8ED1\u8ED4\u8F49\u8EDB\u8F2A\u8EDF\u8F5F\u8EF2\u8EFB\u8F64\u8EF8\u8EF9\u8EFC\u8EE4\u8EEB\u8F62\u8EFA\u8F15\u8EFE\u8F09\u8F0A\u8F4E\u8F08\u8F07\u8F05\u8F03\u8F12\u8F14\u8F1B\u8F26\u8F29\u8F1D\u8F25\u8F1E\u8F2C\u8F1F\u8F1C\u8F33\u8F3B\u8F2F\u8F40\u8F38\u8F61\u8F45\u8F44\u8F3E\u8F46\u8F4D\u8F54\u8FAD\u8FAF\u8FAE\u908A\u907C\u9054\u9077\u904E\u9081\u904B\u9084\u9019\u9032\u9060\u9055\u9023\u9072\u9087\u9015\u8DE1\u9069\u9078\u905C\u905E\u9090\u908F\u907A\u9059\u9127\u913A\u9114\u90F5\u9112\u9134\u9130\u9B31\u90E4\u90DF\u9136\u912D\u9106\u9148\u9116\u9132\u919E\u91B1\u91AC\u91C5\u91C3\u91C0\u91CB\u88CF\u949C\u9452\u947E\u93E8\u91D3\u91D4\u91DD\u91D8\u91D7\u91D9\u91D5\u91F7\u91FA\u91E7\u91E4\u9212\u91E9\u91E3\u9346\u91F9\u935A\u91F5\u9203\u9223\u9208\u9226\u920D\u9214\u937E\u9209\u92C7\u92FC\u9211\u9210\u9470\u6B3D\u921E\u93A2\u9264\u9227\u9201\u9225\u9204\u9215\u9200\u923A\u9322\u9266\u9257\u9237\u7F3D\u9233\u9255\u923D\u9238\u925E\u947D\u926C\u926D\u9240\u923F\u923E\u9435\u9251\u9234\u9460\u925B\u925A\u9230\u9249\u9248\u924D\u9239\u9438\u9276\u92AC\u92A0\u927A\u92AA\u92CF\u92E3\u9403\u928D\u943A\u9285\u92C1\u92B1\u92A6\u93A7\u9358\u9296\u9291\u92CC\u92A9\u929B\u93F5\u9293\u927F\u929A\u927B\u9298\u931A\u92AB\u9278\u92A5\u93DF\u9283\u940B\u92A8\u9280\u92A3\u9444\u9412\u92EA\u92D9\u9338\u92F1\u93C8\u93D7\u92B7\u9396\u92F0\u92E5\u92E4\u934B\u92EF\u92E8\u93FD\u92BC\u92DD\u92D2\u92C5\u92F6\u9426\u9427\u92B3\u92BB\u92C3\u92DF\u92E6\u9312\u9306\u937A\u932F\u9328\u9321\u9301\u9315\u9329\u932B\u932E\u947C\u9318\u9310\u9326\u9341\u9308\u9307\u931F\u9320\u9375\u92F8\u9333\u9319\u9365\u9348\u9347\u93D8\u9376\u9354\u9364\u936C\u937E\u935B\u93AA\u9360\u9370\u9384\u934D\u9382\u93E4\u93A1\u93CC\u93AE\u939B\u9398\u9477\u942B\u93B3\u93BF\u93A6\u93AC\u938A\u93B0\u9394\u93E2\u93DC\u93CD\u93F0\u93DE\u93E1\u93D1\u93C3\u93C7\u93D0\u9414\u9481\u9410\u93F7\u9465\u9413\u946D\u9420\u9479\u93F9\u9419\u944A\u9433\u9436\u9432\u942E\u943F\u9454\u9463\u945E\u9472\u9577\u9580\u9582\u9583\u9586\u9588\u9589\u554F\u95D6\u958F\u95C8\u9591\u958E\u9593\u9594\u958C\u60B6\u9598\u9B27\u95A8\u805E\u95E5\u95A9\u95AD\u95D3\u95A5\u95A3\u95A1\u95AB\u9B2E\u95B1\u95AC\u95CD\u95BE\u95B9\u95B6\u9B29\u95BF\u95BD\u95BB\u95BC\u95E1\u95CC\u95C3\u95E0\u95CA\u95CB\u95D4\u95D0\u95D2\u95D5\u95DE\u95E4\u968A\u967D\u9670\u9663\u968E\u969B\u9678\u96B4\u9673\u9658\u965D\u9689\u9695\u96AA\u96A8\u96B1\u96B8\u96CB\u96E3\u96DB\u8B8E\u9742\u9727\u973D\u9EF4\u9744\u975A\u975C\u9768\u97C3\u97BD\u97C9\u97DD\u97CB\u97CC\u97CD\u97D3\u97D9\u97DE\u97DC\u97FB\u9801\u9802\u9803\u9807\u9805\u9806\u9808\u980A\u9811\u9867\u9813\u980E\u9812\u980C\u980F\u9810\u9871\u9818\u9817\u9838\u9821\u9830\u9832\u981C\u6F41\u71B2\u9826\u9824\u983B\u982E\u9839\u9837\u9834\u7A4E\u9846\u984C\u9852\u984E\u9853\u984F\u984D\u9873\u9862\u985B\u9859\u9865\u7E87\u986B\u986C\u9870\u9874\u98A8\u98BA\u98AD\u98AE\u98AF\u98B6\u98B8\u98BC\u98BB\u98C0\u98C4\u98C6\u98C6\u98DB\u9957\u995C\u98E3\u9951\u98E5\u9933\u98E9\u993C\u98EA\u98EB\u98ED\u98EF\u98F2\u991E\u98FE\u98FD\u98FC\u98FF\u98F4\u990C\u9952\u9909\u9904\u990E\u9903\u990F\u9905\u9911\u9916\u9913\u9918\u9912\u9915\u991C\u991B\u9921\u9928\u9937\u994B\u9936\u993F\u995E\u9941\u9943\u993A\u993E\u9948\u9949\u9945\u994A\u994C\u9962\u99AC\u99AD\u99B1\u99B4\u99B3\u9A45\u99B9\u99C1\u9A62\u99D4\u99DB\u99DF\u99D9\u99D2\u9A36\u99D0\u99DD\u99D1\u99D5\u9A5B\u99D8\u9A4D\u7F75\u99F0\u9A55\u9A4A\u99F1\u99ED\u99E2\u9A6B\u9A6A\u9A01\u9A57\u9A02\u99F8\u99FF\u9A0F\u9A0E\u9A0D\u9A05\u9A0C\u9A4C\u9A42\u9A19\u9A2D\u9A24\u9A37\u9A16\u9A41\u9A2E\u9A2B\u9A38\u9A43\u9A3E\u9A44\u9A4F\u9A5F\u9A65\u9A66\u9A64\u9ACF\u9AD6\u9AD5\u9B22\u9B58\u9B4E\u9B5A\u9B5B\u9B62\u9B77\u9B68\u9B6F\u9B74\u9B7A\u9B81\u9B83\u9BF0\u9C78\u9B8B\u9B93\u9B92\u9B8A\u9B91\u9C5F\u9B8D\u9B90\u9BAD\u9B9A\u9BB3\u9BAA\u9B9E\u9BA6\u9C02\u9B9C\u9C60\u9C6D\u9BAB\u9BAE\u9BBA\u9BD7\u9C58\u9BC1\u9C7A\u9C31\u9C39\u9BC9\u9C23\u9C37\u9BC0\u9BCA\u9BC7\u9BB6\u9BFD\u9BD2\u9BD6\u9BEA\u9BD5\u9BEB\u9BE1\u9BE4\u9BE7\u9BDD\u9BE2\u9BF0\u9BDB\u9BE8\u9BF5\u9BF4\u9BD4\u9C5D\u9C08\u9C0F\u9C68\u9BF7\u9C2E\u9C03\u9C13\u9C77\u9C0D\u9C12\u9C09\u9C01\u9C42\u9BFF\u9C20\u9F07\u9C2D\u9C28\u9C25\u9C29\u9C1F\u9C1C\u9C33\u9C3E\u9C48\u9C49\u9C3B\u9C35\u9C45\u9C3C\u9C56\u9C54\u9C57\u9C52\u9C6F\u9C64\u9C67\u9C63\u9CE5\u9CE9\u96DE\u9CF6\u9CF4\u9CF2\u9DD7\u9D09\u9DAC\u9D07\u9D06\u9D23\u9D87\u9E15\u9D28\u9D1E\u9D26\u9D12\u9D1F\u9D1D\u9D1B\u9D2C\u9D15\u9DE5\u9DD9\u9D2F\u9D30\u9D42\u9D34\u9D43\u9D3F\u9E1E\u9D3B\u9D50\u9D53\u9E1D\u9D51\u9D60\u9D5D\u9D52\u9DF3\u9D5C\u9D61\u9D72\u9D93\u9D6A\u9DA4\u9D6F\u9D6C\u9D6E\u9D89\u9D8A\u9D77\u9DEB\u9D98\u9DA1\u9D9A\u9DBB\u9DBF\u9DA5\u9DA9\u9DCA\u9DC2\u9DB2\u9DB9\u9DBA\u9DC1\u9DBC\u9DB4\u9DD6\u9E1A\u9DD3\u9DDA\u9DEF\u9DE6\u9DF2\u9DF8\u9DFA\u9E07\u9DF9\u9E0C\u9E0F\u9E1B\u9E18\u9E7A\u9EA5\u9EA9\u9EC3\u9ECC\u9EF6\u9EF7\u9EF2\u9EFD\u9EFF\u9F02\u9F09\u9780\u9F34\u9F47\u9F4A\u9F4F\u9F52\u9F54\u9F55\u9F57\u9F5F\u9F61\u9F59\u9F60\u9F5C\u9F66\u9F6C\u9F6A\u9F72\u9F77\u9F8D\u9F94\u9F95\u9F9C\u8A8C\u88FD\u8C18\u96BB\u88E1\u4FC2\u7BC4\u9B06\u5187\u5690\u5617\u9B28\u9EB5\u6E96\u9418\u5F46\u9592\u4E7E\u5118\u81DF\u62DA\u65E5\u66F0\u660C\u660D\u6676\u6698\u6679\u668D\u66DD\u66BB\u660E\u669D\u66D6\u76DF\u9DF3\u7312\u66CC\u6689\u6688\u6696\u52D7\u66A9\u5192\u665B\u66A1\u665C\u6610\u6772\u9DF4\u6670\u6642\u6690\u6695\u9124\u7085\u709A\u66ED\u66BD\u6671\u5F71\u986F\u9865\u6643\u6B5E\u66C0\u6642\u66C9\u664C\u6651\u7709\u6604\u66DB\u6634\u5254\u6615\u6680\u66B0\u6677\u661F\u6633\u6608\u66D2\u6607\u6602\u6672\u6677\u6659\u665F\u6661\u65E2\u6639\u5373\u66E0\u65E9\u6694\u6627\u66B7\u6691\u6684\u6665\u667C\u664F\u65F2\u66B8\u665E\u6626\u667B\u6647\u65EF\u6620\u5832\u6632\u6641\u66CA\u65E6\u6645\u66D8\u668A\u66E4\u66C7\u6652\u65F4\u65FA\u9D20\u6BFE\u6225\u664A\u65F1\u65F0\u660A\u662E\u6678\u66EC\u6664\u6668\u6603\u663A\u661C\u66DE\u91CF\u66CB\u662F\u9580\u9593\u95B6\u95D2\u665A\u5195\u95BA\u9592\u95BF\u95BB\u95C5\u95C3\u95B1\u9591\u9589\u95C8\u95CC\u95CA\u711B\u95DB\u95E3\u95A8\u95D4\u6605\u95A3\u958F\u95BD\u9590\u95D1\u95C3\u95B0\u95AC\u95BE\u959E\u95D0\u95CD\u958E\u95B9\u95E0\u95A9\u9582\u959B\u958F\u9588\u95DE\u9586\u959C\u958B\u95C9\u95BB\u95AE\u95CB\u9583\u6B25\u95B5\u95A5\u668C\u95A4\u95DF\u60B6\u959F\u95DA\u554F\u95AD\u95E1\u95C6\u805E\u95D6\u95E2\u9B28\u95C0\u95D5\u95D3\u95DC\u95AB\u9598\u95E4\u95E5\u958C\u958D\u9B25\u9594\u9B27\u8ABE\u95BC\u95C7\u95A1\u97D9\u5C1F\u9D97\u6624\u6611\u984C\u5319\u6628\u6666\u6613\u6612\u65F3\u6600\u6606\u662B\u65FD\u66F7\u6699\u6674\u7167\u7166\u5194\u66BA\u66EE\u6687\u715A\u662D\u6700\u66DC\u6635\u66B1\u66AF\u666A\u66DA\u66B4\u8B08\u66E6\u66AA\u66E3\u66B5\u66C4\u5DF4\u65F5\u66A8\u5848\u6BF7\u52D6\u669F\u90FF\u9C40\u5C8A\u6622\u826E\u9DA1\u9DC3\u9DD0\u66CF\u6BFC\u6B47\u66D9\u66FC\u66E8\u66BE\u6609\u65FB\u65FC\u666C\u66A0\u666F\u667E\u66E9\u6686\u6631\u6697\u66C8\u66B2\u6621\u6708\u8165\u81BD\u8178\u80A5\u51A5\u670B\u9AA8\u8161\u89B6\u9AB3\u811F\u53D7\u9AD0\u9DBB\u9ABC\u9D6C\u9AB0\u9AC0\u9AC6\u9ACD\u9AC2\u9AD5\u9AB7\u9AD6\u9ABB\u9AAB\u9ACF\u526E\u518A\u985D\u9AAD\u9ABE\u80F4\u812C\u821C\u9AB1\u611B\u54BC\u9AD2\u9ACA\u9ABF\u9AD4\u4E82\u81DE\u9F0F\u8993\u9AC1\u9AD1\u9AB9\u9AAF\u9AD3\u9AB4\u9AC7\u8FAD\u9AB8\u8CF5\u8CDC\u8D14\u8CDD\u8CD9\u8CF1\u8CD9\u8CCF\u89AD\u8D08\u8CA1\u8CE7\u8D16\u9D59\u8CA9\u8CC2\u8CB6\u8CBE\u8CB9\u8CFB\u8D13\u8CE4\u8D02\u8CCA\u8CD5\u8D06\u8D13\u8CBD\u80B8\u8CF3\u8CED\u8CAF\u8CC4\u8CD7\u8D10\u5247\u7F55\u8CD1\u8CE6\u7516\u8D09\u8D0D\u910D\u90E5\u7F4C\u6557\u8CD2\u8CA4\u8CF0\u518F\u8CBA\u8173\u812B\u9F06\u8CEC\u8CDF\u8CF9\u8CFC\u8CFA\u5B30\u8CA5\u8B7B\u8CE5\u8CBC\u8CE0\u8CC5\u91C7\u5F69\u8098\u90DB\u819D\u4E73\u814F\u9DA2\u7099\u819B\u818C\u519E\u81A6\u7E23\u80F1\u61F8\u80D6\u8CF8\u6ED5\u9A30\u7E22\u584D\u87A3\u8B04\u52DD\u8143\u5AB5\u4E7F\u809A\u81AE\u6C0D\u80E0\u8173\u5468\u81CC\u81A8\u80C9\u817A\u8C9C\u8C95\u8C7A\u8147\u81B0\u80F3\u81D0\u8C8C\u8C89\u809C\u8108\u8C8F\u8C94\u8C8C\u8C81\u8176\u816B\u8144\u816F\u8C97\u8C84\u8C8A\u8C86\u8C7B\u80B5\u808C\u5197\u80A1\u70BA\u8C7D\u8C85\u8C90\u80FB\u8C79\u80DD\u80DC\u80C5\u8C9A\u8C91\u8C82\u8C99\u8C98\u8C93\u81E2\u8C92\u8C80\u81AC\u80CD\u8C8D\u813E\u818D\u8200\u8174\u818A\u6718\u8127\u812F\u8119\u80C8\u8108\u8151\u81A9\u81D5\u80CE\u8662\u80BA\u8116\u8169\u81A3\u8154\u76B8\u80A2\u9DA4\u819E\u8808\u9850\u81CF\u8118\u9106\u8155\u81B9\u81D7\u80FA\u8ECD\u81AB\u8C3F\u7136\u9DAA\u80B1\u7F51\u814C\u80EF\u80F0\u8092\u90F9\u96DE\u8125\u808B\u8105\u80E6\u80C7\u81A2\u6713\u8101\u8153\u5216\u80C2\u80CF\u4E14\u809B\u56D7\u81D1\u81DB\u80F9\u80DA\u80F5\u809D\u7230\u52A9\u522A\u521E\u5177\u51A2\u670A\u8124\u96CE\u540C\u8188\u8130\u8177\u8C5A\u585A\u51A0\u811B\u8198\u9766\u8170\u808A\u51A4\u8106\u8115\u81BD\u5B5A\u8199\u8121\u8171\u882B\u8106\u8179\u80AD\u6712\u80D5\u813D\u81B2\u81C7\u80D7\u80A3\u814D\u81BE\u796D\u8167\u81C9\u8C4B\u8090\u811E\u80E3\u80D9\u81B4\u8122\u8102\u543B\u6710\u80CA\u80DE\u80AB\u80F8\u7528\u8160\u8186\u5468\u7529\u80D1\u9D70\u812D\u5F6B\u6219\u96D5\u81CA\u9F76\u7FE2\u722D\u9D69\u8C78\u8095\u8152\u670D\u815B\u81A0\u8139\u51F8\u76BF\u518A\u814A\u51AA\u819C\u8146\u6726\u8189\u81B3\u81DF\u6715\u81D9\u6720\u522A\u982F\u815C\u81D2\u80FC\u5CA1\u81BF\u8CFA\u81B5\u7F54\u76EE\u7745\u777C\u77B7\u77D9\u773C\u7791\u66D6\u77AC\u776C\u776D\u775C\u7781\u774D\u899E\u8C9D\u6721\u7788\u76FB\u7747\u76FC\u775E\u7744\u77D8\u77A0\u772F\u77B5\u7752\u7707\u7760\u7756\u7766\u772D\u778C\u9DC2\u7797\u7785\u7705\u77C4\u773D\u7728\u7761\u7783\u76FA\u98BB\u89B9\u779B\u7767\u774B\u7723\u770A\u7759\u898B\u77CF\u7E47\u7765\u778D\u7768\u7738\u72CA\u7719\u77CC\u7713\u778B\u771B\u7779\u776B\u77C9\u779A\u771D\u7746\u7755\u778E\u77AD\u774E\u7731\u7708\u77A3\u779C\u77B6\u8730\u773A\u525B\u7712\u77D0\u76F1\u775A\u76F0\u77B0\u7704\u7703\u76EF\u779F\u77AB\u7710\u774C\u77CE\u77BB\u77B2\u7735\u7733\u777D\u77AA\u77BF\u7762\u8197\u77CD\u77A7\u7715\u77BA\u7754\u776E\u77BC\u76F5\u77B4\u7734\u76F7\u76F9\u775B\u77A1\u774A\u77C2\u7720\u77DA\u7727\u7732\u7736\u7799\u77C7\u77A8\u7739\u779E\u77B1\u773B\u77D4\u7784\u670F\u80D0\u77CA\u7711\u9F0E\u7769\u774F\u77D3\u7787\u775F\u77B3\u7795\u779D\u76F3\u7729\u59A5\u58BE\u9E1A\u81B7\u595A\u90FB\u815E\u61C7\u81D8\u8166\u8195\u80ED\u80DB\u8162\u7235\u81C5\u8172\u8183\u816E\u4E39\u817F\u81BC\u6727\u8180\u9D05\u5F64\u80AE\u8187\u80AA\u81B1\u819F\u80BA\u5210\u813A\u814B\u81C4\u81DA\u811D\u8164\u6723\u81A7\u96D8\u81C6\u81C3\u80D8\u80F2\u81BB\u81CD\u91D1\u9224\u9329\u93A4\u926D\u935A\u92B2\u9349\u7511\u9346\u912B\u946D\u932B\u9315\u937B\u9389\u9464\u9200\u9280\u93DD\u9205\u930B\u9440\u934B\u9358\u92DD\u932D\u9355\u924F\u9370\u9285\u92E4\u931A\u92FC\u926C\u92C7\u9481\u92E7\u946B\u9206\u92BB\u92CA\u925B\u92B3\u9216\u91EE\u9239\u920C\u92C9\u7F3D\u934F\u9338\u934A\u9314\u940B\u939F\u9323\u9383\u91F5\u9225\u92B7\u9396\u93FF\u9482\u93DC\u92FF\u93B2\u943A\u92A4\u93FB\u931F\u9445\u9412\u9214\u92A7\u9261\u9308\u91F7\u9302\u9334\u9288\u9403\u9263\u9391\u9444\u92D5\u92A1\u93B1\u9251\u9326\u9360\u924C\u93FC\u936C\u92D3\u92B9\u9407\u9211\u92D2\u927B\u9256\u92A9\u92EF\u9291\u9D5C\u9CFB\u9457\u91E4\u925A\u93A6\u9296\u935B\u937E\u9318\u929B\u934E\u9364\u9455\u5243\u91FD\u9812\u91FF\u9297\u91E9\u90A0\u925B\u653D\u93E6\u9309\u92E8\u924E\u9435\u93A2\u947D\u93B3\u93B4\u9232\u930D\u939E\u93AA\u92B5\u516C\u92C3\u939B\u92D1\u93DA\u928A\u927E\u937C\u92EE\u9217\u9322\u93D2\u93AF\u92EA\u9265\u92B6\u9238\u93DE\u93EE\u9282\u9395\u980C\u74EE\u92A2\u91F4\u9463\u927D\u92F1\u9236\u7FC1\u7926\u942E\u934D\u93E3\u925E\u93D5\u91DD\u93AE\u92CD\u938D\u9394\u9435\u93C4\u93F8\u937A\u92D0\u92A0\u92AC\u944C\u93D4\u931D\u9379\u9320\u93B5\u92CE\u92FA\u9248\u944F\u9237\u9327\u943C\u9473\u92A8\u7236\u91F1\u7238\u92AA\u93A9\u9410\u93A9\u9377\u65A7\u921C\u9226\u931B\u923D\u928C\u933C\u91DC\u9321\u9299\u9295\u91DA\u7239\u92CF\u723A\u4E2B\u9260\u9202\u91E7\u93E4\u9400\u929A\u91D7\u9428\u923E\u93FD\u91ED\u9286\u9450\u9849\u9433\u91EA\u9448\u92C4\u9294\u923A\u9469\u9DB2\u928D\u91EC\u9276\u930F\u92D9\u91EB\u92E0\u91D8\u9233\u618C\u9250\u9398\u92C0\u9203\u9276\u9415\u9392\u92DE\u516E\u93E2\u9414\u9266\u9223\u91D4\u940C\u92AB\u91E8\u9333\u9215\u940D\u9352\u9212\u91E2\u930E\u91F8\u93F9\u9279\u9298\u92CC\u92CB\u9375\u920F\u5F1A\u5F1F\u940A\u9312\u91D5\u6B3D\u93FA\u9419\u9471\u9351\u9209\u929D\u9310\u93F6\u940E\u93A8\u942B\u928B\u9234\u946F\u9210\u9397\u92E1\u9253\u9380\u87B8\u9470\u9300\u9293\u9431\u927F\u91F3\u938E\u936D\u92BC\u617E\u8C37\u92C2\u920A\u924D\u91E3\u9264\u921E\u921E\u92FE\u921A\u9347\u9264\u924B\u9371\u920D\u9367\u9287\u9365\u93CF\u9306\u9336\u9207\u91E6\u92D7\u9D52\u92C1\u514C\u8C3E\u8C39\u8C43\u90E4\u6B32\u8C3B\u8C3D\u61D6\u9430\u9354\u935C\u537B\u8C42\u8C3C\u9409\u92D8\u9231\u8C45\u93D7\u9483\u5206\u8CA7\u7083\u574C\u5FFF\u924A\u76C6\u5F05\u5C94\u9451\u927A\u92F7\u9477\u92F8\u9254\u92DF\u93D0\u9270\u9451\u92F9\u922E\u93B7\u93C2\u9245\u92E6\u932F\u93CC\u932A\u93FE\u9420\u93F7\u93B0\u946E\u9446\u9382\u9449\u9313\u9476\u9257\u9420\u9324\u93F5\u9356\u944A\u9335\u939D\u9437\u9388\u9475\u9363\u927C\u9399\u93A1\u9328\u940F\u938C\u945D\u92E9\u91D3\u9350\u6BE4\u930C\u93A7\u9474\u93D9\u6553\u91F9\u9411\u9460\u9416\u926F\u93D8\u9304\u92A3\u945E\u9319\u923F\u66FE\u9301\u92F0\u932E\u92A6\u9240\u947C\u9432\u9438\u9436\u9361\u9376\u93CE\u93CD\u9478\u9267\u91D9\u9357\u9439\u935E\u9480\u9468\u938A\u93D1\u9278\u9413\u9219\u9252\u943D\u93DF\u9227\u939A\u9201\u92A5\u9325\u9283\u9204\u93C8\u93DF\u9230\u9339\u942C\u9272\u93EC\u943B\u9462\u942A\u946A\u9246\u93AC\u931E\u9472\u93C3\u93C7\u9418\u92C5\u9429\u943F\u93E1\u9249\u93C0\u9447\u6728\u6773\u69A5\u69AF\u6963\u6956\u6982\u67E5\u67E6\u694A\u687F\u6A4D\u6ADA\u6B04\u68CD\u696C\u69BB\u6777\u6839\u69FE\u673F\u69A0\u68DA\u69BE\u67F5\u68CE\u6AFB\u68CC\u68D8\u68D7\u6906\u69C4\u694E\u6A6A\u523A\u67E4\u6907\u6965\u6850\u6874\u50F0\u69A3\u68E6\u68F4\u67F5\u68E1\u76F8\u6896\u6B0B\u6875\u69BD\u6733\u6AAD\u6915\u677E\u68C7\u678D\u68AF\u68B2\u678C\u6A67\u6797\u6942\u681C\u9B31\u68FC\u68EE\u6A9A\u6AC7\u711A\u57DC\u6750\u67C0\u5F6C\u68B5\u6A92\u6751\u9E93\u67BA\u6A0A\u881C\u792C\u6500\u6880\u694B\u6A15\u7981\u8FB2\u6932\u90F4\u695A\u68FD\u68F6\u61CB\u5A6A\u68DF\u6983\u695D\u68F3\u686B\u6748\u6A11\u9817\u76AF\u76B0\u6770\u68A2\u6A56\u6B13\u6A18\u6A55\u6A94\u6A49\u68EA\u6A69\u6A6F\u676A\u96B8\u6844\u67C8\u68EC\u675C\u67DF\u68F1\u6842\u69F8\u6A48\u69BC\u6AAE\u6A3E\u6AA3\u6854\u6AAF\u69AC\u6A39\u6ADD\u624D\u67CF\u68C9\u697B\u69D4\u6ADB\u9F12\u6AF8\u6978\u6A4E\u76AE\u677F\u687B\u683C\u67CA\u6A93\u688F\u9E09\u6749\u69AD\u67F3\u69B4\u6AC6\u67C9\u6AE1\u682A\u6934\u68F0\u681D\u696F\u6A4B\u6940\u6ACD\u6790\u6894\u67DD\u673A\u6778\u6953\u674B\u6841\u693C\u6A05\u68D4\u6A41\u67E2\u6886\u67E3\u6786\u6944\u6A84\u69F4\u6B11\u69D0\u6ACB\u6A47\u67E7\u6911\u6970\u6A26\u69B9\u5BF8\u6879\u6991\u68AD\u6AE5\u69ED\u6937\u68E7\u69EE\u6994\u6882\u67ED\u69E6\u6826\u520C\u69B6\u6828\u6AE0\u69B3\u6759\u6A32\u683B\u6AAF\u68EB\u68B0\u672B\u69D9\u6872\u6960\u690D\u67FC\u690C\u6995\u69A8\u679D\u6941\u69EB\u6A5E\u6A76\u6756\u696E\u6833\u6832\u68F2\u6AB3\u68D5\u6966\u6917\u68A1\u67C1\u69B0\u6AB8\u67AF\u695C\u6A6D\u68FA\u6A68\u6849\u592C\u6755\u682F\u6A27\u6A51\u694F\u9DD8\u6891\u6878\u6A09\u682B\u6A62\u6905\u684D\u6574\u684B\u6739\u69C9\u689C\u6196\u6738\u69EC\u67B7\u6AB6\u675F\u67CD\u6795\u688A\u68E3\u7699\u6555\u9D92\u8724\u524C\u67EB\u6A13\u6A3B\u6843\u68D1\u8CF4\u6B36\u6555\u60C1\u8CF4\u67DA\u67DB\u68AC\u6A5A\u68E9\u672C\u6760\u6853\u6ABD\u69D3\u6ACC\u682D\u6B1E\u6AFA\u6A17\u6A91\u6816\u6745\u6975\u676F\u6AB7\u67B0\u67F8\u6AA6\u686E\u6789\u6AEE\u6887\u699E\u6AEA\u6997\u684E\u6746\u6A44\u6897\u6826\u690F\u67F0\u679F\u6B10\u68A7\u6747\u676C\u686D\u673E\u684F\u6835\u67EF\u67C4\u67D8\u97CB\u68AA\u6945\u7FC9\u6913\u6799\u6785\u6A5B\u674C\u698E\u6792\u6871\u6791\u673D\u821D\u6A9F\u6A19\u69F1\u6A5D\u6A7F\u6A61\u6877\u69F2\u6A9E\u6A90\u674E\u674D\u69C2\u6AEF\u677B\u6A58\u6959\u697A\u6781\u6876\u6818\u677C\u6883\u68B4\u6957\u6A62\u6A04\u6845\u6774\u6948\u6951\u6A59\u63E7\u69A4\u6B03\u6979\u51F3\u6AD3\u6798\u69B7\u8CDA\u6834\u67CE\u687C\u690E\u6A35\u69AB\u6A87\u9D86\u67C3\u730C\u6AFC\u6794\u68EF\u69CD\u6892\u6775\u679A\u6925\u6555\u6A07\u6A9C\u68C6\u688C\u6813\u6969\u6986\u6AA2\u6986\u675A\u90F2\u4F86\u687D\u6779\u67C2\u67DE\u6885\u6A8E\u673C\u677A\u6812\u683A\u675D\u6908\u67F2\u6993\u6753\u6784\u6783\u6753\u6783\u6787\u6977\u6890\u67B8\u67B9\u67BB\u696A\u6776\u677D\u97DE\u97DC\u97D7\u97CE\u97E5\u97DF\u6954\u97CD\u6886\u69E5\u693F\u699B\u6971\u68D2\u6A01\u68C8\u6A0D\u69A1\u97D6\u90FC\u678E\u97D0\u69FB\u97D8\u97CC\u97D4\u97E1\u97DD\u97E3\u97DE\u97D5\u674F\u688B\u67B3\u686F\u68A0\u67FA\u67F7\u67B4\u67B5\u6A7E\u6A3F\u6935\u67B4\u696B\u693B\u6B18\u6A28\u698D\u6ABB\u682E\u68F7\u6930\u6910\u687E\u6AC3\u69A7\u69E2\u68AB\u6846\u6AC2\u6A1B\u6829\u67CC\u6ABB\u68D6\u6A3C\u67E9\u67C5\u69AA\u689B\u6A89\u6A1E\u67DC\u68AE\u6990\u675E\u6B16\u68E4\u6A21\u6B17\u6AAC\u6831\u6B09\u6A38\u6962\u6B02\u6A23\u699A\u6AA5\u6AA8\u6A4F\u6A25\u695B\u681A\u6949\u6A20\u6A6B\u69FF\u6AF9\u67D1\u68CB\u6A3A\u6939\u6AB4\u6999\u69C6\u69CE\u6B0A\u69B5\u6AD9\u681F\u69CB\u692A\u6A4F\u69FD\u6A3D\u69CF\u672D\u68A4\u86BB\u692F\u69BF\u6B08\u68A3\u60F3\u67EE\u7D2E\u6ADE\u6ADF\u6A5F\u67EA\u673B\u6889\u693D\u6B1A\u6A14\u6914\u6771\u67F6\u68F5\u68B1\u67EC\u68A9\u9D87\u68DE\u69F6\u68DD\u67D9\u6B0F\u6AA1\u695E\u6A8C\u6933\u6952\u6A0F\u6B19\u6AD1\u6734\u68F9\u6974\u6A9B\u6968\u6AF3\u699C\u6A00\u6821\u6A54\u69E8\u6AEC\u6912\u67F1\u694C\u676D\u69CC\u678B\u6A34\u6A40\u68B3\u6793\u69E4\u694C\u67FF\u6A85\u6ACF\u6A60\u690A\u69A9\u6A1D\u6AE8\u67AE\u6AE7\u69C1\u690B\u695F\u6ABA\u6B00\u6938\u6AB9\u68DC\u67C6\u6A66\u6A1F\u6893\u6A96\u6A8D\u68D3\u6A08\u6AA4\u6904\u6A06\u6838\u6A81\u6A80\u6AF0\u69B1\u6AC5\u6C34\u6C68\u6C93\u6C69\u6DD0\u6EAB\u7066\u705D\u6EC9\u6D85\u6EA1\u6E66\u6E44\u6E89\u6CF9\u6E6F\u6DC2\u6D86\u6DCF\u6E5C\u6F97\u6F97\u6F96\u7041\u6F64\u705B\u6F63\u95CA\u703E\u6DF7\u6E34\u7011\u6FD5\u6F2B\u6F8B\u6E9F\u6DDD\u6DDC\u6ED1\u6E26\u6F1E\u6DF1\u6FFA\u6E2C\u6D7B\u6ED8\u7034\u6DCD\u6DEB\u6C89\u6C89\u6ED4\u6E3E\u9E02\u6CAE\u6E72\u6FE6\u6D1E\u6D6E\u6F08\u61E3\u61D8\u6CC2\u6DE8\u6DDA\u6D7F\u7048\u6FC9\u6E3A\u6E68\u6FCE\u6D80\u6D7D\u6EAA\u7042\u6D75\u6DE6\u6C43\u9359\u6EC3\u6ECF\u6D95\u6D74\u6CBF\u6D97\u6C7E\u6E53\u6F67\u6C90\u6E23\u76D3\u6E58\u6DDE\u6DCB\u6F78\u6FBF\u6F1C\u706A\u6EFC\u6FCB\u5857\u6E8E\u6CE2\u6DC5\u6CAB\u6C7A\u6D91\u7028\u6F31\u6F31\u6CCD\u9859\u6E3F\u6E4B\u6F06\u6DF6\u6DB7\u6E45\u6C9D\u6DBE\u6DFC\u6851\u656A\u9D7D\u525F\u6B3C\u6BF2\u758A\u6C4A\u6E9E\u7886\u6FF7\u5A46\u6D88\u6F1F\u6F4E\u6DCC\u6FA2\u7035\u6F7E\u6DE1\u6FF4\u7020\u7005\u702F\u6F87\u6C99\u6E3B\u6D38\u6CEE\u6F6B\u5723\u6DE9\u6DD5\u6FF2\u7014\u702B\u6D3C\u5863\u6F86\u6CD5\u6E98\u6E96\u6D7E\u6FE4\u6FC7\u6D01\u6E92\u6EF6\u6F8E\u6F8D\u6DAC\u7006\u6CCA\u6E5F\u6EDC\u7004\u6F94\u6FB3\u6DDB\u6D2B\u76EA\u6D0E\u705A\u6D00\u700F\u6F72\u6F7B\u6E6B\u6D70\u6E97\u6F58\u6C73\u6D1A\u6D1B\u700A\u71D9\u6D69\u6D17\u6CD6\u6D3E\u6E9C\u6CDB\u6D19\u6E69\u6D3B\u6C83\u6DFB\u6F77\u7497\u6C82\u6FA8\u6D09\u7870\u6CDD\u6C92\u6C4E\u6E22\u6D2C\u6CBF\u9BCA\u6F43\u6F93\u6D10\u6F0E\u6F07\u6DBD\u6CDC\u6332\u6D90\u6E43\u6CE9\u6CC6\u6EAE\u6DED\u6FC0\u6DDA\u6EEC\u7052\u7029\u6EBE\u6EB4\u6FDE\u5A11\u6CD2\u6C66\u6EB2\u6F5F\u6DE3\u88DF\u53C9\u6D6A\u6EA5\u6D5A\u7056\u6881\u7056\u7CB1\u6EC5\u6D20\u6E1B\u6C87\u6DFA\u6EF2\u6D66\u6CAD\u6C71\u6E88\u6CB7\u6C8B\u6EFD\u6F2E\u6D32\u86A4\u6E8F\u6CF3\u6FAC\u6D98\u700C\u6CBB\u6DE2\u6FB8\u7007\u6FC2\u6E21\u6CE7\u700D\u6F09\u6C41\u6C9B\u6EC7\u6D61\u6EB9\u6E73\u6DD4\u7062\u6CEC\u6F25\u6E65\u6DB3\u6E9B\u6EB6\u6CAC\u6D68\u6E24\u6C65\u7009\u6D76\u700B\u703B\u6F19\u6D8B\u6F53\u6E3D\u6F6E\u6FA3\u6FE3\u6F38\u701A\u6F27\u6E1A\u6D8D\u6D64\u6D18\u6DD2\u6F14\u6FF1\u6EF1\u6DD9\u6E32\u6CDE\u6DC0\u6D63\u6DB4\u6CB1\u6FD8\u6EF5\u7017\u6CBD\u6E56\u6DAB\u6FC6\u6D1D\u6F03\u6ED3\u6C4F\u6D27\u92C8\u6F66\u6D03\u6F2A\u6C70\u6C6F\u6E00\u6DC6\u6D60\u6F3A\u6D0A\u6DF9\u6D3F\u6D1F\u6C3F\u6C4D\u6D79\u6EEF\u6C3B\u6CC7\u6C96\u6CF1\u6C88\u57BD\u6F85\u9B59\u6E31\u7057\u6C4C\u6C9C\u6CB8\u6F36\u6F0A\u6F70\u6D2E\u6FDC\u6D25\u6E5A\u6CB9\u6D29\u6D84\u6F5A\u6CF2\u6DF5\u6C5F\u6D39\u6FE1\u705E\u7000\u7016\u6F90\u6FAA\u701C\u6E1C\u6D0F\u7040\u9152\u6D12\u6C59\u6FD4\u6CD9\u6C6A\u6DAF\u6FCF\u6E90\u9D3B\u701D\u6E8D\u6D37\u6C57\u6F89\u6D3B\u6C59\u6DFB\u6D6D\u6D32\u6C94\u6F92\u6CB6\u6C84\u7051\u6D6F\u6C61\u6C85\u6C40\u6D0C\u6CB3\u7026\u6CB0\u6EC6\u6ED2\u6D62\u6E62\u6DBF\u6C67\u6FFF\u6F5B\u704A\u6F18\u6EBC\u6EBD\u6D87\u6C8D\u6EA7\u6F02\u6E6E\u6E79\u6F6D\u6E4E\u6F39\u6F52\u6D7C\u6E19\u6FA5\u6E67\u6FB9\u67D3\u6C92\u6F4F\u6C72\u6DCA\u6C50\u6CD3\u6D8C\u6F12\u6C80\u6D3A\u6C5B\u6D8E\u6E55\u7021\u6FFB\u6EC1\u6CD0\u7030\u6EBA\u6D08\u6FA6\u6E51\u6F51\u6E40\u6F84\u6ED0\u703A\u6E33\u6F32\u6F01\u6F21\u6C6D\u76DC\u6CED\u6F35\u6DEE\u6F57\u6F50\u6CB4\u6CE0\u6D11\u7038\u6DF0\u6EC4\u6C7B\u703F\u6EEB\u6ECC\u6D5F\u6FAE\u6DEA\u7039\u6D82\u6C7D\u6E1D\u6FB0\u6D3D\u6DBB\u6E1D\u6C54\u6ECA\u6EA3\u7032\u6C8E\u6F6A\u6F5D\u6E30\u6D22\u6F55\u6FEE\u6D77\u6C81\u6D35\u6C60\u67D2\u6DD7\u6CCC\u6C95\u6DF4\u6E49\u6C4B\u6D7A\u6DD8\u6C98\u6E5D\u6CC3\u6CE1\u6C8F\u6CC4\u6E2B\u6C8C\u6D36\u6E39\u583B\u6F54\u6D59\u6E71\u6E77\u6EB1\u6E99\u6E4A\u6E05\u6F2C\u6E41\u5447\u6D65\u6D93\u6EB3\u6D67\u6CC1\u6FC8\u6F5E\u60C9\u6E63\u6FA1\u6F6C\u6E52\u6C5C\u6F60\u6D16\u6CEF\u6FA0\u6D5E\u6DAE\u6FB1\u6E20\u705F\u6CBC\u6D58\u6F80\u6D8A\u6FEB\u6D31\u6F73\u7044\u6DBA\u6D92\u6D0D\u6F0F\u7037\u6D78\u6FEF\u6D2D\u6E25\u6F3B\u6F6F\u6FE2\u6CC0\u6FEB\u6F7A\u532F\u6CE5\u6EA4\u6FBC\u6F1A\u6D30\u6C3E\u6DC8\u7060\u6F20\u7061\u6DDF\u6E54\u6FDB\u6D2A\u6F7D\u6FB2\u6FDD\u6F8C\u6EA2\u6E2F\u6F3E\u6E94\u6FE7\u6E3C\u6FED\u7033\u6F2D\u6D42\u6E03\u6EFF\u6F62\u6E36\u6F22\u701F\u6CD4\u6DC7\u6F95\u6E2E\u6E5B\u6FE9\u7058\u7001\u6FCD\u6D0B\u6EA0\u704C\u7046\u6D34\u6C6B\u6E9D\u6E74\u7069\u6EAF\u6ECB\u6FE8\u6D40\u6E35\u6F15\u6FAB\u700E\u6FA7\u6FC3\u6E93\u6DFD\u6DD3\u6C55\u6F30\u938F\u934C\u6F82\u7043\u6D36\u6E4D\u6E60\u6ECD\u6EB0\u6DB5\u6F3C\u6D94\u7069\u7069\u6CCF\u6EA6\u6C5D\u7064\u6FF0\u7063\u6FFC\u6CD1\u6DE5\u6D33\u7049\u6F05\u6DC4\u6CBA\u6E2D\u6CD7\u6DC9\u6D83\u6F7F\u6EBF\u6D6C\u6F76\u6F0D\u6DB8\u6D07\u6E61\u6FC1\u6FA4\u7031\u6F40\u6FB4\u6DE0\u6EB7\u6E28\u6B60\u6CC5\u6EAB\u6D04\u6F69\u6EED\u6F2F\u7045\u6DD6\u6E27\u6FC4\u6E5E\u7055\u6F88\u7027\u6EC2\u6FEC\u6EF4\u6D28\u6EFE\u6F61\u6F37\u7019\u6FAF\u7023\u6DD1\u6CE8\u7015\u6EFB\u6C86\u6C78\u6DEF\u6D41\u7068\u6F23\u6C76\u6EFB\u6C9B\u7022\u6D89\u6C9A\u6FCA\u6CDA\u701B\u701B\u6DEC\u6DB2\u6EF9\u6F9E\u6DF2\u6FBD\u6FFE\u7018\u6DF2\u6CBE\u6EC8\u6DF3\u6DBC\u6EF8\u6E1F\u6FE0\u6E78\u703C\u6E38\u6E64\u6F29\u6DE4\u6CE3\u6E46\u6E47\u6F7C\u6F33\u6FBA\u6DAA\u6F13\u6EEE\u6C52\u6FAD\u6CEB\u6EC0\u51DC\u6EF7\u6FB6\u7024\u6ED6\u6FDF\u6C74\u706B\u7128\u7185\u7180\u714B\u713A\u715D\u709F\u716C\u710A\u71D8\u71DC\u721B\u7213\u711C\u7206\u71C1\u71B3\u715C\u8096\u7190\u71F0\u70AF\u9DBA\u7147\u71C3\u524A\u7156\u70D4\u70F0\u655D\u655E\u5C1A\u70AF\u8CDE\u68E0\u5802\u515A\u5E38\u725A\u74FD\u5617\u638C\u7576\u9EE8\u88F3\u721D\u70FF\u810A\u7082\u710D\u7100\u7C73\u7091\u7CE7\u7C91\u7C97\u7CA1\u7CA3\u7CAF\u7C89\u7229\u7C7F\u7C96\u7CD4\u7C95\u7C84\u7C81\u7CCC\u7C8D\u7CD7\u7CBA\u7CD0\u7CA7\u7CDD\u7CE0\u7CD6\u9E8A\u7C75\u7C80\u7CBD\u7CCA\u7094\u7CA8\u7CEF\u7C9E\u7CB3\u7152\u7CF2\u7C7D\u7C88\u7CC5\u7CE8\u7C78\u7C8C\u7CD1\u7CC8\u6549\u7C7A\u7C85\u7CBE\u7CEE\u7CBB\u7C73\u7C94\u7CE2\u7CF7\u7CCB\u7CD5\u7CD2\u7CDF\u7C79\u7CBF\u7149\u7CB4\u7CF0\u7CEC\u7CDE\u70DE\u7CD9\u6599\u7CB9\u7C98\u7C92\u708E\u818B\u89AE\u93A3\u69AE\u6ECE\u7223\u7192\u584B\u9DAF\u7296\u52DE\u87A2\u799C\u7469\u7507\u919F\u7162\u7F43\u71DF\u89A2\u5AC8\u7E08\u8B0D\u892E\u71D0\u71EE\u7131\u71CA\u7203\u71DA\u7092\u98C6\u5261\u7E87\u9843\u90EF\u6B3B\u6565\u8669\u7154\u7076\u70D3\u71D2\u7186\u71FD\u71B9\u5C11\u714C\u71E0\u70C5\u7701\u714D\u71AA\u71D4\u70FD\u70D9\u70B5\u71EC\u71FB\u70CD\u7144\u71C6\u52A3\u712E\u71EC\u7098\u70C6\u7210\u7178\u717D\u71A9\u7184\u719C\u70FA\u710C\u7158\u70F3\u883D\u717B\u720A\u70D2\u720C\u719D\u7122\u7194\u70E2\u70E4\u70F7\u7125\u5C16\u70E0\u77A5\u71CE\u7143\u9DE9\u6C05\u7358\u70EF\u5E63\u87DE\u985E\u6583\u5F46\u9C49\u618B\u9128\u9C49\u8E69\u7181\u71F2\u5F0A\u5AF3\u70B4\u721E\u71A1\u70D1\u71FC\u71BD\u7074\u70DC\u71F8\u7169\u7227\u7110\u71C8\u70B3\u70FC\u5149\u71B8\u70F4\u719B\u7159\u71C2\u70A1\u7165\u7084\u71CF\u7163\u7130\u70F6\u70FB\u7161\u708A\u71C8\u63F1\u5C10\u96C0\u71CB\u70A9\u7197\u7113\u71F4\u721A\u70C7\u70DA\u7182\u707A\u70B8\u70F8\u707A\u707C\u707C\u70AE\u7160\u7096\u534A\u7737\u97CF\u53DB\u7276\u5E23\u5224\u9816\u8C62\u7510\u5F2E\u89E0\u9130\u62F3\u5238\u7FF7\u5377\u4E83\u7D6D\u7CBC\u9F64\u7106\u7189\u70BE\u71E5\u71C0\u7170\u7146\u719E\u71ED\u7071\u70A4\u7130\u7201\u71A0\u71FF\u71D6\u71A4\u71B0\u70AC\u7117\u7226\u711F\u70D8\u70E1\u716A\u71E8\u7214\u71BF\u7142\u7150\u71AF\u7164\u71C1\u7141\u70CA\u721F\u71E4\u71C7\u8F1D\u7153\u8000\u720D\u715F\u7205\u7159\u71ED\u71E1\u9872\u7168\u7185\u71BC\u719A\u712F\u71B5\u71C9\u71E6\u70B7\u7095\u71BE\u7093\u7086\u71A5\u7120\u7132\u7210\u7187\u711E\u7219\u71E7\u71F1\u7119\u70AB\u70D7\u571F\u586D\u5852\u5833\u5766\u5834\u7F48\u5824\u58DB\u57F8\u5828\u584C\u57A0\u5881\u5189\u5853\u580B\u581D\u5814\u57F0\u57D2\u89F3\u58FA\u57E7\u58FC\u585A\u578C\u58F9\u57BA\u5770\u57E9\u5808\u574D\u89BF\u76BE\u5774\u8D6B\u590C\u8D6F\u5855\u8D6D\u8D68\u8D69\u90DD\u8D66\u8D6E\u9F00\u574B\u8D67\u589E\u8D6C\u5761\u7A40\u6996\u5BFA\u57EC\u581C\u77BD\u93E7\u6F00\u9F1C\u9F1E\u99A8\u9F15\u6BCA\u9F1B\u9F19\u879C\u9F18\u78EC\u7F44\u6128\u64CA\u8072\u9F1A\u8B26\u97FE\u5849\u57EE\u7E20\u9DC7\u5799\u6B3E\u5762\u57E2\u572D\u580E\u5C01\u71C5\u579A\u582F\u589D\u9D71\u57F6\u5232\u58D4\u90BD\u58BB\u605A\u594A\u5366\u582D\u58BA\u58A6\u962A\u5780\u58CE\u586F\u5839\u57F5\u573B\u57A2\u750F\u577C\u579B\u5838\u577B\u5862\u57E0\u58BD\u584A\u5741\u57E4\u5804\u53BB\u6705\u57CC\u76CD\u8D04\u69F7\u71B1\u588A\u5E6B\u9DD9\u728E\u583F\u57CE\u588B\u57D4\u52E2\u52AB\u5889\u87C4\u52AB\u5858\u90BF\u57BF\u57C3\u6179\u646F\u6470\u57DF\u9F01\u537B\u7FFF\u9A3A\u58D9\u97A4\u7E36\u5876\u8B3A\u586B\u57F4\u584E\u8F42\u579E\u74E1\u587C\u5898\u5835\u57F7\u57B8\u5768\u5831\u58B3\u57B5\u76E9\u8D05\u93CA\u71AC\u7352\u587D\u87AF\u87AB\u5836\u57FC\u57AE\u9C32\u5886\u646E\u9F07\u8071\u9A41\u8B37\u5771\u57ED\u5733\u5772\u587F\u5797\u8D64\u578F\u5764\u57A3\u58E9\u58D6\u5827\u92C6\u5729\u574F\u576A\u576F\u5810\u58E2\u57A4\u57C2\u57E1\u572C\u5722\u5777\u5865\u581B\u58E9\u585B\u5882\u5819\u580D\u57C6\u573E\u6BBC\u5F40\u57F3\u57C7\u57CF\u71FE\u58FD\u579D\u574E\u5A7F\u58B1\u5834\u8D95\u8DA7\u8D84\u8D9B\u8D7D\u8D99\u8D9F\u8D7B\u5806\u8DAC\u8D8C\u8D8E\u8D8F\u8DAB\u8D93\u8C70\u8DB2\u577D\u5798\u8D91\u5745\u8D91\u8D8A\u8D72\u8D92\u8D80\u5775\u8D76\u8D91\u582C\u8D94\u57A5\u572A\u8D8D\u5820\u8D85\u8DA1\u8DAD\u8D81\u8D96\u8D9C\u8D79\u8D79\u8DA8\u8DAE\u8D77\u8D85\u8DA3\u8DAF\u8D90\u8D77\u8DA5\u8DAA\u8D78\u8D89\u8D73\u55C7\u8D74\u8DA0\u5FD7\u899F\u5730\u5734\u5747\u5747\u5829\u968E\u581E\u5749\u57B9\u57F2\u57E5\u5409\u5864\u81FA\u56CD\u9D36\u57D5\u55C0\u8881\u52BC\u9821\u56AD\u6B56\u6B2F\u58A0\u58E7\u582E\u55AA\u58F4\u71B9\u559C\u5609\u572F\u657C\u5830\u5880\u58CF\u58E3\u57FD\u57D0\u6556\u576D\u572E\u5800\u587B\u58A3\u5868\u5C0C\u58A1\u58D2\u5F6D\u61FF\u5E78\u9F13\u5890\u5769\u61FF\u582A\u5854\u579F\u58FE\u58A1\u4E84\u5888\u58AB\u58FF\u5720\u5874\u7789\u9864\u584F\u5894\u57C1\u7FF9\u5773\u5801\u57CB\u6BD0\u580C\u5823\u8CE3\u58BF\u583D\u586D\u5776\u585D\u5891\u58A9\u588E\u57F1\u5751\u574A\u5809\u58DD\u5740\u8D70\u57E3\u589F\u58C9\u58DA\u576B\u5859\u57FB\u58D5\u58E4\u5783\u5837\u58A5\u5887\u57B6\u57F9\u5883\u5793\u58C8\u58C7\u58DE\u7AF9\u767D\u99A7\u76AD\u6CC9\u7065\u769B\u99AB\u769E\u76A4\u7688\u7693\u7692\u76A6\u9B44\u7BC0\u76AB\u7681\u999E\u7696\u768B\u99A3\u5E1B\u99A1\u7B2A\u7687\u7B78\u7C21\u7C22\u7C63\u99A5\u768A\u7682\u999D\u7684\u999C\u768F\u99A6\u7B06\u767F\u769A\u76AA\u7C0B\u99A7\u768E\u689F\u9CE5\u7689\u769C\u5CF6\u88CA\u820B\u89BA\u7228\u6FA9\u71E2\u7202\u7C50\u58C6\u9DA3\u9DEE\u9DFD\u9D73\u56B3\u7DBF\u5967\u7B4B\u5236\u7C72\u9845\u91C1\u74BA\u7B52\u7910\u7BB8\u7502\u89F7\u5B78\u9105\u9C5F\u657F\u752A\u5411\u7B8F\u7B99\u7FE9\u8840\u9ECC\u81EA\u5DA8\u7E82\u7BCE\u7BE1\u7B97\u7B67\u7BF9\u821F\u9E12\u7C66\u7C5B\u8F5D\u5289\u5297\u91C1\u791C\u9147\u912E\u6B5F\u8209\u5B03\u7C59\u8B7D\u79BE\u9999\u7A4A\u7A08\u7B56\u7A31\u7A20\u7A3B\u79DF\u7A69\u7A03\u7A44\u7A20\u76C9\u7BB1\u7A71\u7A0A\u7A05\u79CE\u7B96\u79E3\u7A26\u79CB\u7A0D\u79D2\u7A1C\u7A11\u7A58\u7A61\u79F8\u9D38\u9DCD\u7A46\u79DD\u7A2E\u7A5A\u6BC7\u79C5\u79EA\u79E9\u79CF\u7A28\u79BF\u79D6\u7A17\u79C1\u7A02\u7A04\u7A47\u79EB\u7A6E\u79EE\u7A22\u7A6C\u7A3D\u5D47\u7A39\u7A19\u79FA\u7A57\u7A3C\u7A00\u79C9\u79CD\u79E7\u7C5F\u5229\u5241\u7C0C\u4E58\u91C9\u79DE\u79ED\u7B28\u79E4\u79E0\u79F7\u7A2B\u7508\u5B63\u79C0\u79FB\u90BE\u9121\u81F2\u7A30\u7A6D\u9ECD\u7A1A\u7A5B\u7A14\u7A10\u7A0C\u7B82\u6089\u79D8\u79D5\u7A4D\u548C\u7A0B\u7A0B\u7A4B\u79DC\u79EC\u7A13\u7A54\u7A18\u7A6B\u7A60\u79C8\u7A2F\u59D4\u7A56\u756A\u7A37\u7A1E\u7A1B\u7A12\u91CB\u79D1\u7A62\u7A3F\u7A15\u7A70\u7A5C\u7A5F\u7A67\u53CD\u7BDE\u7C1C\u7BDE\u76E4\u69C3\u57BC\u7B94\u7C53\u7C3F\u7B88\u5E4B\u78D0\u910B\u6147\u642B\u5906\u5404\u7B35\u7BCA\u97B6\u5ABB\u7E0F\u51AC\u8929\u9ECF\u9ED0\u9D7F\u9E14\u7B72\u7BBE\u7C39\u4E4E\u91C6\u9D03\u7C29\u9D96\u9CE7\u9DB3\u7BB5\u9DC8\u9D54\u9D25\u9D15\u52F3\u8775\u7503\u9CE6\u9114\u6B4D\u9D7B\u9D4C\u6101\u63EB\u9DCC\u9E03\u9D80\u5A9D\u9DFB\u58EC\u7C2D\u7B49\u6FCC\u718F\u769D\u7B40\u6BC0\u5148\u4E1F\u7BD5\u52D5\u9867\u7C4C\u7B60\u544A\u7C49\u9760\u7BC1\u537F\u8CBF\u5C04\u7B63\u7C03\u8EBA\u8EC2\u7B76\u7B45\u9D79\u8EB2\u7281\u7BA0\u8EC9\u7B48\u7B11\u7C25\u803D\u7B0A\u9808\u8EAC\u8EB2\u9BEC\u9ECE\u7BFD\u7C01\u7B19\u7BE9\u8EBD\u7BC7\u536F\u8D15\u5B75\u6BC8\u5375\u8EC0\u7C6B\u7559\u9EE7\u7B84\u7BE6\u7C45\u7BEA\u4E48\u7B64\u7C20\u9B4D\u9B48\u9D5D\u9B3F\u72A9\u7BB4\u7B8B\u7BF8\u9B43\u9B4A\u9B46\u9B45\u9B3E\u9B4E\u9B52\u4E4F\u9B4B\u7B1E\u7B32\u7C3E\u9B4C\u9B55\u7C0F\u9B41\u9B56\u9B51\u5343\u8CEA\u76FE\u7B9C\u6731\u9D6F\u6BB5\u81FF\u7BFF\u7C19\u7C33\u7C10\u7BC4\u7BB8\u7B91\u4E56\u984A\u7C06\u7B66\u90EB\u820C\u7BA1\u7FF1\u5782\u91CD\u592D\u660B\u7C1D\u68E8\u9E04\u7B05\u8695\u8087\u7B74\u5FDD\u61F2\u541E\u555F\u55AC\u7AFB\u7B33\u5DB4\u7DAE\u8B65\u9F43\u79B9\u8CEA\u9F49\u9F3D\u9F42\u7C30\u5293\u7B30\u7C0D\u980E\u7C23\u9F3E\u79A6\u7B44\u9F40\u6B23\u722A\u9F41\u7B46\u9F48\u7C54\u9F46\u7B1B\u65B6\u7C2B\u7B2B\u9F47\u7B01\u7BE2\u7C57\u771A\u7AFD\u7B8C\u7C48\u7B6D\u9D1F\u9DCE\u65B2\u7B51\u6BC0\u7521\u7AFF\u7B04\u65A4\u7AFA\u7B0E\u7500\u7BC9\u90F5\u90B8\u7B47\u7BEB\u7B34\u7B6E\u540E\u7B47\u6B78\u536E\u7B04\u7C2A\u7BE5\u7BFB\u7C1F\u7525\u65A5\u51E0\u98BA\u98B6\u7C37\u6735\u68A8\u7B9B\u6BB3\u7BDC\u98BE\u98C6\u51F0\u7B08\u98A9\u98C0\u98B3\u98A8\u7281\u98BC\u51E1\u7B69\u98B1\u98C9\u7B73\u7B75\u7BE8\u7B2C\u9CF3\u98CB\u98B3\u98A8\u7BDB\u5919\u98B2\u98AC\u7C26\u6106\u98AE\u63A3\u8E97\u98C2\u98B8\u88FD\u8B86\u98AD\u516B\u5F73\u661D\u5F97\u5FA5\u722C\u5FC1\u5F88\u7C72\u7BE7\u8862\u5F9F\u5F82\u5FAD\u8855\u5FAF\u5F78\u929C\u885B\u5F7C\u7B26\u5FAB\u5FA0\u885B\u884D\u71A7\u5FB6\u5F9C\u5F85\u8857\u5F92\u9D14\u9D29\u5FA8\u885D\u5FAA\u5F79\u5F7D\u74DE\u904D\u5FBC\u7B4F\u8853\u7B2D\u7C64\u7B12\u5F96\u885A\u5FB7\u5F9B\u52AE\u7BE0\u74E5\u7B71\u5F7F\u5F98\u5F8B\u7C65\u5F86\u7B61\u7B4C\u884E\u7BAF\u884C\u7C3D\u7B54\u8859\u5F91\u5F81\u5F76\u7BCC\u8861\u5FA9\u5F7E\u5FBB\u5F90\u5FA1\u5F9E\u7B70\u616B\u5F87\u5F74\u74DD\u74DF\u7BDF\u548E\u5FA6\u7B2E\u5FB2\u8073\u8856\u5F89\u5FBD\u9EF4\u9C34\u5FB5\u5FBE\u5FAE\u5F8C\u5F8A\u5FB9\u5FBF\u5FAC\u5F80\u5F77\u8852\u659E\u5F99\u5FC0\u4E47\u660F\u7B4D\u7B77\u9D56\u7B09\u7B0F\u5269\u6C10\u7B09\u910E\u7B13\u7B31\u7B23\u5370\u7BD8\u725B\u72A6\u728B\u7285\u770B\u7291\u7C4D\u7288\u7261\u7279\u72A2\u7290\u727F\u729E\u7274\u726A\u7272\u7C40\u6211\u72A5\u727B\u7286\u7BF2\u7278\u7297\u726F\u7284\u725E\u7270\u726C\u751F\u7B90\u7C00\u727E\u62DC\u72A1\u727C\u89D5\u728D\u90A6\u5931\u7267\u7277\u725D\u7260\u7269\u7293\u7B58\u728C\u7B8D\u7263\u7C0E\u7C3C\u72AA\u72A7\u7295\u7B9D\u6BDB\u72A3\u7C5C\u72A4\u7273\u7292\u7289\u729D\u7BD4\u8215\u5795\u8211\u9D60\u9D30\u9D45\u9D2D\u8214\u8210\u7B65\u8210\u961C\u52C2\u5E25\u86D7\u522E\u5284\u9827\u8214\u5E2B\u7C2C\u90DC\u90C8\u96D2\u555F\u7C1E\u751C\u5CCA\u7C28\u7B22\u70CF\u6236\u80A9\u6243\u6241\u52F3\u624A\u6240\u6BB7\u7B24\u515C\u623E\u7C43\u7B4D\u7BCB\u6249\u7BDA\u5E1A\u7B50\u7C4A\u7B25\u7C43\u96C7\u7BE4\u7B38\u6248\u623A\u6247\u623F\u6246\u623D\u6242\u5347\u7BAD\u7C38\u7C0A\u9DD1\u773E\u7BAC\u7C27\u7B95\u8843\u8844\u61A9\u8848\u5379\u7BDD\u884A\u8D0A\u81EC\u768B\u6BEF\u9D82\u9D9E\u9D5A\u6BE8\u515F\u6BF3\u9B3C\u6BE7\u6BEC\u81ED\u7782\u7A68\u9839\u6BE2\u6BFD\u90F3\u90CB\u6B4B\u6C0C\u81EE\u606F\u61A9\u6C01\u6C06\u6C06\u9F3B\u6BF8\u9F3B\u6C08\u7F6A\u6BF0\u9F32\u9F30\u9F33\u899B\u89A3\u9F37\u9F22\u7B2F\u7BB9\u9F2D\u9F28\u9F2A\u515C\u9B4F\u9F36\u7CFB\u9F23\u9F25\u7C6A\u74DC\u9F35\u9F2C\u9F2F\u9F2B\u74FE\u9F2E\u7BC6\u6C0F\u9F29\u9F31\u7B4E\u9F34\u536C\u9F38\u9F24\u7B1D\u777E\u9DED\u9DB9\u7B98\u5351\u7C02\u7B87\u56DF\u56EA\u52EB\u7B1A\u7C6E\u7BFE\u7B85\u7CB5\u56EA\u9131\u98DB\u5306\u7FFB\u7BF3\u81FC\u8208\u76E5\u8EAB\u5152\u8F3F\u5E20\u53DF\u6B43\u81FE\u8201\u9F20\u8205\u8207\u8204\u661D\u8252\u8225\u7C3B\u7C6C\u8240\u7C60\u7BE3\u7B4A\u8239\u8244\u8261\u8236\u9D43\u824E\u8228\u8242\u823D\u7BF7\u825E\u7C05\u7B10\u822C\u8239\u7C09\u7C69\u8251\u8258\u8235\u7C05\u823F\u825C\u822F\u87BD\u825B\u8233\u8221\u8238\u7BF4\u7C6F\u824B\u8247\u826C\u826D\u8232\u8259\u7BA4\u8245\u8234\u7C5A\u8253\u8652\u7B8E\u548E\u7B18\u7BD9\u7BF0\u7C47\u7BB7\u8220\u8249\u8266\u7C07\u8266\u7B8A\u7B20\u8268\u823C\u8257\u8264\u824F\u8256\u825A\u8222\u7BF1\u8250\u7B00\u823A\u7C11\u8255\u822A\u822B\u7C67\u8263\u826B\u825F\u8237\u8269\u6208\u3001\u5EC4\u5EC4\u826F\u79B8\u5EC1\u5EEE\u5C03\u5871\u9D4F\u9DDB\u90D9\u9118\u80FD\u7CDC\u9EBC\u9EBE\u9B54\u9EC2\u9761\u78E8\u913A\u5EDE\u6037\u6469\u9EC0\u9EBC\u5E8A\u5EC2\u9EBB\u7CDC\u587A\u7A48\u9EBC\u7298\u9EBE\u9B54\u9EC2\u9761\u78E8\u5EB2\u6469\u9EC0\u9EBC\u7E3B\u51B0\u6636\u76DA\u76B4\u526B\u6551\u88D8\u7993\u7994\u79A2\u798D\u7982\u7988\u5EE0\u7956\u7990\u8996\u7995\u79B7\u793E\u795B\u79B1\u79A7\u9DD3\u7970\u7969\u7945\u7948\u794B\u7957\u7951\u79B6\u7947\u79A0\u7953\u7974\u799B\u795C\u7950\u794C\u7967\u795E\u9863\u79B0\u7946\u7973\u794F\u798F\u79B2\u798B\u79AB\u793D\u7941\u912C\u796A\u7954\u7963\u7944\u79AC\u79B4\u796B\u795A\u6191\u617C\u7942\u7955\u793F\u7979\u798A\u795D\u79AA\u7940\u8E59\u7952\u7972\u7964\u7960\u79A1\u7940\u799A\u797A\u7996\u7965\u79AE\u79A8\u797F\u7992\u797C\u79A4\u7997\u7998\u798E\u794A\u7949\u797D\u79B3\u79AD\u5E84\u5EB1\u5EA4\u5EC5\u5EE7\u5ED2\u5EDA\u620A\u6BFF\u5EC7\u620D\u87B7\u882F\u527C\u620C\u5E8D\u54B8\u5A01\u5EC4\u5E95\u725F\u6210\u5141\u5EC6\u5EB3\u5ECB\u5EBE\u621A\u6214\u6717\u76DE\u7D6B\u53C3\u5ECA\u5277\u5246\u90CE\u6B34\u5EAC\u5ED8\u620E\u752B\u672E\u9EBB\u6C42\u5E8B\u5EDF\u5EA8\u5EAB\u72AC\u7FA9\u8CB5\u53C3\u98C6\u730B\u8EEC\u72AE\u5EB5\u70BA\u6B38\u6166\u5ED7\u5F67\u5C24\u755A\u5EB8\u5EB7\u5DDE\u5ED4\u5EA3\u5212\u5E9A\u8CE1\u5510\u51CB\u51C8\u51CE\u5EAE\u6C7A\u51CD\u51B0\u51CC\u51BC\u5EA2\u51B9\u51B6\u51C4\u6C96\u51DE\u51BD\u5EF2\u51B1\u51D0\u6B21\u51C6\u51B7\u51D4\u6D82\u51BE\u60D1\u51DD\u6E4A\u51CA\u6CC1\u81E7\u99AE\u51D8\u5EC8\u51D7\u5E8C\u51C5\u6DBC\u51DC\u5EE8\u6C38\u5EEF\u5E8F\u5EAD\u5ED5\u4E4B\u5EE2\u5E82\u76DC\u8CC7\u5EA5\u6825\u5E9C\u7CA2\u81BA\u9DF9\u61C9\u9D8A\u79F6\u8150\u5E88\u77E3\u5EE5\u74F7\u5EA7\u9908\u6063\u54A8\u6976\u5EE1\u59FF\u5F0B\u5E80\u9E86\u8CA3\u93D6\u718A\u9E83\u9E8B\u9E9F\u5875\u9CF6\u9E87\u9E9D\u9E82\u9E94\u9E91\u9E99\u9EA4\u879A\u5F0F\u5ECE\u8CB3\u9E8E\u9E9C\u9EA0\u911C\u9E9B\u96BF\u614B\u5E87\u5FD2\u9E80\u9E9A\u5E96\u9E8C\u9E92\u5E89\u9E87\u9E88\u9E8D\u9EA1\u9D3E\u7DF3\u5EAA\u53F0\u67B2\u70B1\u9DB6\u6216\u9851\u74F5\u89F1\u90B0\u611F\u6020\u76DB\u5EF3\u5EDC\u5ED6\u90D5\u6577\u5EE6\u6212\u5F01\u5EB4\u5EDD\u5EA6\u5EB6\u9D18\u5E2D\u5EE3\u5ED1\u5EA0\u5EB9\u5EB0\u5EC9\u5C28\u6209\u5EF1\u5EDB\u5EE9\u5ED9\u6176\u5ECC\u9E7F\u9F90\u5ED3\u7222\u5298\u5E9B\u5EEC\u5E97\u5EE9\u5341\u7779\u716E\u5BD4\u90FD\u7FE5\u5BB4\u5DFF\u5BC0\u9DA6\u6ADC\u737B\u5B9C\u771F\u76F4\u6A50\u8839\u5B5B\u5BDF\u56CA\u5357\u87D7\u7D22\u7590\u7A74\u7AA9\u7AAF\u7A85\u7AAA\u7A8F\u7AB2\u7ABE\u7A90\u7076\u7AC7\u7AB5\u9DCF\u7ACA\u7AB8\u7A96\u7A8C\u7AAE\u7A86\u7A7E\u7AB3\u7AC5\u7AC1\u7A8A\u7A97\u7A97\u7AC4\u622D\u7A81\u7AA2\u7AB4\u7A99\u7A76\u5E18\u7AB6\u7A95\u7A7A\u985B\u7A7B\u7A92\u7AC0\u7A89\u7A7F\u7A79\u7A75\u51A4\u7A9E\u7A78\u7ABF\u6B55\u7AAF\u7AB1\u7AAC\u5BB9\u7A84\u7A87\u7ACA\u7A80\u7AAB\u7ABA\u7AB7\u7A98\u7FF8\u7A9F\u7AAF\u9631\u7A8B\u7A88\u7AA0\u7A94\u7AA3\u7AA8\u672A\u5B8B\u9D53\u5B88\u52C3\u90E3\u6559\u652F\u6A95\u58BC\u9EAE\u9CF7\u9EB0\u8F5A\u87FF\u980D\u9EB5\u9EB5\u9EB5\u7F4A\u9EA7\u9EB4\u9EAD\u64CA\u9EA9\u5BD6\u6533\u7FC5\u9EB4\u9EB7\u7E6B\u9EB6\u5BB5\u9DB4\u5BE9\u5BA2\u5B8E\u5197\u5BD9\u5B85\u7262\u5B92\u5BEB\u535A\u683D\u5C08\u9DD2\u5BAC\u8F09\u5BEA\u86D3\u5278\u9168\u81F7\u78DA\u911F\u80FE\u622A\u60E0\u54C9\u6234\u88C1\u5344\u5EFE\u8F40\u8F25\u8F35\u671D\u8F23\u5BD8\u8F16\u8F1E\u8F0D\u97D3\u8F1F\u8F0E\u8F54\u8F18\u8F56\u8F45\u8F08\u8F53\u8F05\u8EE0\u8F34\u8F4E\u65AC\u8ED7\u8ED3\u8EE7\u8EFC\u8EDE\u8EF6\u8EF1\u8EDD\u8F17\u621F\u8F1A\u8F14\u8EF7\u8EFE\u8EE9\u8F57\u8F46\u8F49\u8F5F\u8F10\u8F44\u8F52\u8ED1\u8F51\u8ECC\u8EEE\u5BC1\u8EF8\u8EDF\u8F00\u8EEF\u8F63\u8F0A\u8ED2\u8F1B\u8F49\u8EFB\u8F3B\u8EDB\u8ECF\u8F15\u8F13\u8F2E\u8EDF\u8F39\u8EDC\u69A6\u8EF5\u9DBE\u8EEB\u8EE8\u8EE1\u8792\u8F2A\u8F07\u5E79\u8F38\u8F38\u4E7E\u96D7\u7FF0\u65A1\u8EE5\u8ED8\u8F37\u8F43\u8F33\u8F24\u8EF9\u8EE6\u8F2F\u8ED4\u8EFA\u8F5E\u8F12\u8ED4\u8F11\u8F47\u8F5E\u8F4F\u8F3E\u8F55\u8F01\u8F50\u8F36\u8F59\u8F5B\u8EFF\u8ECB\u8F32\u8F62\u8F48\u8F1C\u8F20\u8F58\u8F40\u8F60\u8F4D\u8F03\u8EF4\u8F4B\u8EFF\u8F64\u8F2C\u8F06\u4E08\u8005\u5BA5\u5BEE\u9D9F\u5B8F\u6584\u6F26\u729B\u6C02\u5B77\u5BC4\u527A\u5AE0\u8003\u91D0\u5B84\u5B5D\u8001\u8007\u5354\u8003\u66AB\u93E8\u69E7\u5879\u8877\u540F\u4E8B\u5BE0\u5BA8\u78DB\u8E54\u59BB\u5B99\u758C\u58EB\u5BA3\u944B\u5BE1\u5B87\u8CD3\u5BA4\u77D7\u5BC5\u8CE8\u5B97\u5B8C\u5BB8\u5B81\u5B95\u5BCC\u5BB6\u5BF6\u5BC7\u5B9A\u51A4\u5B57\u9E0B\u5B9B\u525A\u60CC\u5BEF\u5BBF\u9841\u9EA5\u5BD1\u5B83\u8006\u5BE7\u752F\u5BCD\u5B93\u871C\u8004\u5BC6\u5BF2\u800B\u5BB3\u61B2\u5BB3\u53E4\u80E1\u9D98\u8C41\u9D23\u9DB7\u6BC4\u5BAE\u514B\u5272\u5B98\u984D\u6545\u60B9\u560F\u8F9C\u51A4\u5BAD\u5BA6\u5BA7\u5BE5\u5349\u5BDE\u8CC1\u5BEC\u8CFD\u5BE8\u9A2B\u9DB1\u585E\u8E47\u6434\u8B07\u5BCB\u8930\u5BD2\u9F16\u4E03\u524B\u9D77\u5162\u52C0\u525C\u524B\u5B89\u6848\u9D88\u9D33\u5BCE\u981E\u5BD0\u5BF1\u5BE2\u5BE4\u5BE3\u90EA\u89BE\u8ECA\u5BE6\u5BD3\u5BF0\u5BCA\u5BF5\u5BC2\u5BB0\u5927\u4E42\u761F\u75B8\u760D\u7647\u5972\u75A4\u75D5\u6709\u5187\u75ED\u7611\u766D\u9D57\u6BBD\u6BFB\u622B\u75BD\u75CC\u74FB\u90D7\u90C1\u90E9\u6B37\u7635\u95B7\u6BBA\u5F12\u524E\u75F3\u75B2\u6BBA\u5F12\u7669\u524E\u760C\u53CB\u75E7\u7619\u596B\u7070\u75A2\u75DF\u76D4\u7620\u75F0\u7646\u9DEF\u6090\u75D4\u594E\u9D5F\u75E3\u7316\u7329\u7664\u72DA\u7311\u7332\u72E0\u734C\u733E\u7327\u72D9\u72EA\u75F8\u733A\u7319\u72E6\u72FD\u7383\u766A\u75F5\u737A\u75E2\u75FF\u7300\u75BC\u72C4\u7359\u735F\u72E4\u733F\u7318\u7301\u72C5\u736F\u7362\u5945\u7326\u72CC\u7345\u7335\u730F\u7365\u72D0\u7624\u7308\u7340\u7361\u730A\u72FC\u733C\u72FB\u72C1\u72E8\u75BA\u7377\u72D8\u72D6\u72E9\u7351\u8C6C\u72EB\u7370\u72DC\u7322\u7360\u72F6\u7317\u72B0\u72F9\u72C6\u72D2\u72E3\u72DF\u7373\u7376\u737F\u736E\u72C9\u72C2\u7342\u72B4\u72CB\u7357\u72BD\u736C\u733B\u731B\u75AB\u72C3\u5CF1\u735D\u7331\u760B\u72FF\u737C\u72D1\u734A\u7665\u7653\u736A\u72F3\u736B\u731E\u72B5\u7334\u7632\u75FB\u72F4\u72D7\u7330\u72FE\u7349\u731C\u72F7\u7381\u7333\u72D4\u72AF\u7366\u735B\u7336\u7382\u735A\u7372\u737E\u8C93\u765F\u7323\u7623\u761C\u732D\u75A7\u7375\u7313\u72F8\u75FA\u72CE\u7380\u7368\u7367\u7325\u7626\u7610\u7659\u72E1\u7622\u72BA\u7369\u72FA\u731D\u7307\u7344\u737D\u735E\u7350\u734D\u72BF\u592A\u75E0\u75E1\u75A3\u96C4\u7FC3\u75DD\u597F\u7628\u7672\u75F2\u5962\u760F\u75DA\u75EF\u5954\u723B\u80B4\u75CF\u7642\u9DDE\u9E11\u723D\u5E0C\u75F7\u75CD\u761E\u7631\u7638\u592F\u75C2\u5E03\u5728\u593C\u75BF\u75CB\u75F1\u5208\u5B58\u5944\u5DE6\u7598\u596D\u7657\u75DE\u5948\u75E6\u5938\u7594\u5947\u75FE\u75C5\u75D8\u7603\u75D9\u762D\u75C7\u4E5D\u5937\u65ED\u65EE\u7613\u765A\u766C\u9CE9\u4E38\u53B9\u75DB\u5953\u75D1\u7643\u766E\u75FE\u9804\u759A\u7648\u9997\u8A04\u8653\u75FD\u596A\u596E\u9D4A\u75B9\u7621\u75BE\u75F4\u75A5\u7650\u9830\u75CA\u7609\u7652\u7599\u760A\u90DF\u593E\u75E4\u75C4\u75D7\u7595\u5E36\u7661\u75AA\u75C0\u75B6\u7608\u761B\u53F3\u8CC0\u75BB\u67B6\u9D78\u9D10\u6BE0\u6532\u525E\u54FF\u6B39\u7649\u764C\u7615\u99D5\u6567\u8888\u529B\u765C\u9D2E\u7D94\u74E0\u8037\u8105\u52A6\u59ED\u5233\u763A\u7633\u5957\u530F\u52A0\u7656\u5969\u52F0\u763C\u75F6\u7614\u763D\u75B3\u7671\u7629\u7662\u75D2\u7F8D\u7625\u761A\u7658\u759D\u5C22\u5C33\u9D6A\u5C30\u5C2A\u5C2C\u5C25\u5C37\u5C37\u7675\u7670\u75FC\u761D\u75F9\u761F\u75D0\u7630\u75B0\u75B5\u7601\u7627\u75C1\u762F\u7600\u7616\u7634\u75CE\u7660\u4E2D\u8875\u88EE\u8892\u8906\u8949\u8974\u88FC\u8910\u891F\u896E\u88C9\u5DFE\u5E3D\u5E4C\u5E0A\u5E54\u5E5C\u5E4E\u5E4D\u5E28\u5E14\u5E43\u5E29\u5E6C\u88EF\u5E15\u5E6F\u5E61\u5E06\u5E19\u5E6E\u5E34\u5E53\u5E17\u890C\u5E3E\u5E4F\u5E70\u5E69\u592E\u5E0E\u8893\u5E41\u5E4A\u8911\u5E04\u5E45\u5E68\u9101\u5E37\u5E22\u5E60\u5E58\u88EF\u5E67\u5E5D\u5E44\u5E33\u76C5\u5E59\u5E6A\u5E21\u5E6D\u5198\u5E57\u5E40\u5E5F\u5E16\u5E62\u5E5B\u912A\u88D5\u88DE\u886F\u894B\u895F\u897B\u88AB\u8882\u8918\u892C\u88F0\u8869\u8952\u8960\u88E7\u88A2\u88F7\u66F8\u665D\u88A1\u88EC\u8953\u8902\u88AA\u88BA\u896D\u8969\u756B\u8899\u8956\u88B6\u88BC\u887D\u886B\u88BE\u8937\u889B\u889F\u890A\u8963\u8879\u88E8\u892B\u868E\u8750\u875E\u874D\u876A\u876D\u8734\u874E\u8686\u86DD\u880D\u87C3\u879F\u8796\u8778\u8833\u86F6\u8729\u86C6\u876F\u8709\u8926\u883C\u8837\u8706\u8787\u86A3\u8789\u86A5\u86FB\u86A1\u869E\u8719\u86BE\u8725\u8697\u8740\u8743\u87DD\u86F8\u87B3\u87F7\u8811\u87E7\u8737\u86BA\u86D9\u87EF\u86E3\u87E2\u87DB\u87C2\u8757\u874C\u870A\u87CB\u8732\u87E0\u8702\u86DB\u8769\u86DE\u87DC\u877A\u869A\u86B8\u866E\u8674\u86B3\u86FE\u86C8\u869D\u8784\u8790\u8759\u8727\u8685\u879D\u8791\u8785\u86CC\u8694\u8731\u87CC\u873A\u8794\u870B\u8942\u86D1\u875B\u8782\u8705\u86F7\u87E1\u86C2\u8698\u8797\u8800\u872E\u880A\u87C5\u8777\u86D6\u87B0\u88DC\u877B\u87B2\u8691\u87EA\u8932\u87B9\u876B\u8728\u8819\u87BE\u8756\u873F\u86C7\u879B\u86C4\u8774\u87E6\u87DF\u889A\u86E6\u878F\u86FA\u87AE\u87F2\u8831\u8742\u87BB\u86B0\u8735\u8679\u86E8\u8815\u8762\u8761\u86BD\u8788\u86ED\u8677\u8696\u8704\u8670\u86DA\u86B5\u86C3\u8760\u8823\u869C\u86F5\u87B5\u87EB\u8752\u87D3\u875C\u87FE\u8722\u875A\u872D\u86F9\u8713\u8712\u8693\u86EB\u8751\u876E\u868B\u86B9\u873C\u87ED\u86C9\u8699\u8718\u86A7\u86AF\u8726\u870D\u8753\u86E4\u8753\u867C\u8701\u87D8\u86B1\u86DC\u8673\u8690\u8690\u872A\u868D\u8754\u870C\u86BC\u8776\u868C\u8793\u873B\u8773\u86A8\u870E\u87EC\u8766\u87E4\u8708\u8805\u8758\u883E\u882E\u866D\u86C1\u871B\u8817\u87C9\u87F3\u8687\u879E\u87F6\u86B7\u8721\u87C6\u892F\u8813\u8764\u87FB\u8723\u87D2\u87E5\u8767\u87BC\u8828\u86B6\u871E\u8816\u8802\u86D8\u8746\u8838\u86E2\u86D0\u87AC\u881B\u866F\u876C\u8798\u872C\u8835\u87E3\u86B4\u866F\u875D\u881F\u875F\u873E\u87D4\u8720\u87C8\u880B\u880C\u8809\u8779\u86D4\u87BA\u881D\u8781\u882C\u8783\u87AA\u86DF\u86C0\u86A2\u87D9\u87C0\u86AA\u868A\u8826\u86C5\u8829\u8733\u874F\u8814\u8830\u8763\u87D1\u87AD\u867B\u86BF\u87FA\u8810\u8895\u8923\u887C\u8976\u891A\u8889\u53F2\u76CE\u9D26\u88B8\u88FA\u896B\u8932\u88CC\u4E32\u8876\u66A2\u8874\u6704\u7249\u7258\u7248\u7256\u724C\u724B\u5DDD\u9806\u8938\u7247\u88F6\u5F17\u724F\u60A3\u8919\u7252\u724A\u5A41\u8896\u4E33\u88EB\u7253\u88B9\u8966\u8CB4\u8867\u8CEE\u76E1\u866B\u88F2\u5283\u8979\u88D6\u5317\u90B6\u88CB\u8914\u975E\u5255\u5146\u982B\u899C\u8925\u893E\u893C\u9B25\u8950\u8CBB\u895C\u8871\u9B29\u8941\u521C\u9B2B\u9B25\u8274\u9B2E\u894F\u9B25\u9B28\u9B27\u8907\u8872\u8897\u88B1\u8973\u887F\u8958\u8915\u895D\u88B7\u8915\u8898\u8913\u5FE0\u80CC\u886A\u8880\u8880\u88A7\u888D\u890B\u5180\u807F\u8909\u884B\u88F1\u886D\u88D0\u88CE\u88CE\u8959\u894C\u8917\u521D\u8891\u8964\u88FE\u88D9\u8936\u8951\u97ED\u8964\u897A\u8946\u897C\u8921\u896A\u895B\u513F\u6C8A\u9D06\u90A5\u80E4\u9DDC\u6C00\u888E\u8916\u6578\u88BD\u7531\u80C4\u5191\u88F8\u88CD\u88E1\u88C0\u7533\u8961\u8957\u896C\u7539\u891E\u66F3\u8085\u9DEB\u892A\u8905\u8971\u68D0\u896F\u88D7\u8933\u8F29\u595C\u871A\u9925\u60B2\u7FE1\u895A\u8935\u5A53\u88A8\u8962\u88F4\u6590\u4E00\u767E\u53AD\u6AEB\u53AC\u6229\u4E99\u7695\u78A7\u539A\u9111\u973E\u9722\u9725\u5EC1\u96F0\u971C\u9716\u9726\u8010\u972A\u9718\u9702\u9708\u974B\u9710\u971F\u972E\u9711\u9704\u9DCA\u9E0D\u9D2F\u96FD\u800F\u9724\u973A\u9713\u621B\u970B\u800E\u52F5\u96F5\u800C\u878D\u96FF\u970F\u96FB\u4E99\u9700\u74BD\u9742\u96F2\u96E9\u9707\u9727\u973F\u96FA\u9706\u90B4\u972F\u9B3A\u970D\u9743\u96F6\u9709\u6067\u6182\u96F9\u9723\u9735\u9732\u9748\u971D\u971E\u9728\u96EA\u972B\u7FEE\u9739\u9730\u9738\u9719\u96F8\u9801\u8CA2\u9B37\u800D\u96F7\u972C\u96FB\u9747\u9729\u96F1\u96EF\u9705\u9744\u9720\u970E\u973D\u5912\u897F\u9149\u4E8E\u76C2\u9DC5\u4E94\u9098\u6C5E\u4E9F\u913E\u4E0D\u723E\u752D\u76C3\u899D\u9D00\u5F6F\u98C4\u74E2\u5E73\u5940\u527D\u4E15\u9858\u9860\u6B6A\u9122\u613F\u5426\u7FF2\u5B6C\u738B\u7429\u7441\u7446\u7442\u7452\u7428\u7436\u749F\u741D\u518D\u73A5\u74A6\u73CA\u741B\u74D4\u7431\u743F\u73C7\u7457\u7408\u7464\u7424\u73CA\u73FC\u73FE\u73AC\u73F6\u73A2\u7494\u7433\u73BB\u73A6\u744B\u743A\u7475\u7463\u74AB\u7498\u7430\u73D6\u73C3\u73EA\u74D9\u7488\u73C0\u7454\u9CFF\u73D8\u740D\u7407\u74A0\u81F4\u73DE\u73D7\u73CB\u7409\u73E0\u7440\u73EE\u73E9\u747D\u73F4\u74DA\u7470\u7481\u74B5\u7389\u738A\u7405\u744A\u81F9\u7416\u746F\u7403\u73ED\u746D\u73C6\u74B7\u7471\u744F\u7462\u747C\u74B8\u742E\u7444\u742C\u745A\u742F\u73DB\u740B\u73D4\u7426\u73C8\u7394\u73E7\u74B6\u7432\u5230\u73D2\u73C5\u7392\u74C0\u980A\u7397\u73B6\u73A8\u74B1\u740A\u81F8\u7395\u73F8\u73A9\u738E\u73C2\u7422\u73A1\u7504\u746E\u74CA\u744D\u749A\u73FD\u90C5\u9104\u7396\u6B45\u7492\u73CD\u73B2\u7434\u73B3\u7472\u7400\u739D\u81F4\u73AB\u73A0\u74AF\u745C\u73E8\u745C\u7401\u73E3\u745F\u73CC\u7393\u7435\u73AD\u744E\u73B8\u73B4\u73A4\u81FB\u7467\u742B\u7404\u73F5\u7490\u5669\u74AA\u7455\u73FF\u73BF\u73E5\u741A\u73FA\u7486\u7495\u74BB\u73DD\u746A\u5F04\u7420\u7450\u73D9\u749E\u74C2\u748A\u749C\u745B\u747E\u73B5\u742A\u7479\u74C1\u73DC\u7473\u74D8\u74A5\u745E\u74D7\u7480\u740C\u74C5\u74A3\u742D\u7451\u7485\u7459\u7406\u73DA\u73BE\u74B0\u74C3\u74AD\u74DB\u74CF\u74BF\u73D3\u74A8\u7421\u7409\u73EB\u7489\u739F\u6591\u73BC\u74A1\u74A9\u7425\u73B7\u74D6\u7487\u748B\u74B2\u7423\u7483\u73B9\u7470\u74BE\u74CB\u5382\u539F\u66C6\u53A4\u6B77\u78FF\u9D09\u539C\u90AA\u96C5\u992E\u538E\u9749\u81F3\u9B42\u6649\u910F\u9712\u5396\u9746\u5E72\u53A7\u70CE\u9CF1\u9DE3\u9E89\u520A\u9807\u5E75\u90A2\u5211\u9097\u6562\u820C\u5399\u5929\u58D3\u7526\u9B58\u9768\u90E0\u995C\u5FDD\u61A8\u541E\u529F\u5B2E\u9EF6\u53B4\u4E0C\u5169\u96E8\u4E9E\u5DE5\u5DDE\u539E\u4E0F\u66F4\u4E8C\u9E97\u9805\u793A\u580A\u9D61\u9D5B\u4E91\u5394\u52C1\u4E93\u8741\u5244\u4E09\u9838\u8FB0\u4E8D\u90B3\u6B21\u653F\u60E1\u543E\u5EDA\u5143\u5EC8\u9EFF\u538A\u74E8\u5DE7\u5DF0\u8663\u4E01\u6B82\u6B8D\u928E\u70C8\u578B\u6BAA\u6BB0\u6BA6\u9D37\u6B88\u6B8A\u6B80\u6B7F\u6B99\u6BA0\u6B79\u6B98\u6B8F\u6B86\u6B96\u6BAF\u6BA5\u6B91\u6B97\u6B8E\u6BA2\u909B\u6B83\u6B94\u86E9\u5217\u8082\u9802\u6B9B\u6B8C\u6BAD\u6B7F\u9BA4\u6BA4\u6B84\u6BB2\u6BAE\u6B7B\u6050\u6B89\u6B7E\u53EF\u6B9E\u6BAB\u8DEB\u978F\u6BA3\u59F4\u6B9F\u6BA7\u88C2\u6B95\u4EC4\u8C5D\u8C64\u4E19\u8CC7\u89A1\u8C6F\u6825\u71F9\u8D17\u7CA2\u8C77\u9DE2\u9D08\u8C75\u8C5F\u8C6C\u8C76\u5392\u653B\u8C68\u87E8\u5282\u5262\u8C72\u8C5C\u8C69\u8C5C\u74F7\u5DEB\u96C1\u9908\u6063\u54A8\u8C6D\u538F\u59FF\u8C71\u8C65\u9E1D\u9148\u6B66\u77F3\u78AD\u7919\u78A3\u784D\u787C\u78A2\u7889\u97B7\u9B32\u7820\u7850\u7880\u7899\u786F\u78CE\u7803\u780F\u78F3\u78B4\u7879\u7884\u790E\u7834\u7835\u7805\u6CF5\u78C9\u78F2\u785D\u7911\u78F7\u792F\u7802\u7845\u78FD\u781D\u78D5\u7848\u7902\u78DD\u78FB\u784C\u785E\u782D\u7843\u78AB\u787E\u7904\u7929\u65AB\u7813\u77FA\u7825\u786A\u78A5\u7909\u7828\u7938\u78C8\u7891\u78C3\u7860\u782F\u78E9\u9E7C\u78E3\u78C4\u7926\u7865\u78CC\u787F\u78DA\u7917\u7887\u7897\u78BA\u7823\u78CD\u7868\u78E2\u7895\u7864\u7829\u522E\u7849\u7837\u77FC\u791D\u78A9\u792D\u7935\u790C\u7852\u7830\u7821\u77F8\u7814\u786C\u7822\u7894\u7833\u78CA\u7814\u792A\u784E\u77F9\u78ED\u7811\u785C\u78F9\u7913\u786E\u77F7\u7810\u77FD\u90DA\u9143\u784A\u780D\u6B4C\u78F4\u78D4\u54E5\u78BA\u7893\u78FC\u7901\u7831\u6554\u780E\u7896\u7862\u77FB\u781F\u7919\u7812\u7832\u780C\u789F\u7883\u78E7\u78A1\u7806\u9695\u78FE\u7939\u78AC\u7925\u7832\u791B\u7838\u78DF\u78BC\u7914\u78BE\u8C46\u788F\u7898\u7924\u791E\u7912\u7921\u78FA\u78A4\u78AA\u78CB\u78B0\u78B0\u78C1\u78E1\u7923\u78CF\u786D\u78DE\u78B3\u78D1\u78EA\u792B\u78EF\u788C\u7871\u7885\u78A8\u78E5\u7927\u782A\u78B2\u78C5\u7905\u782B\u786B\u788E\u7827\u78BB\u78A0\u782C\u789A\u78E0\u4E07\u8C55\u8C56\u9120\u6537\u5384\u539D\u5EDD\u9CFD\u5F62\u8C4D\u8C49\u8C4C\u5211\u8C47\u982D\u90A2\u90D6\u96C3\u63C5\u8C4F\u53A5\u53B2\u5140\u6701\u8836\u897E\u590F\u621B\u5961\u867A\u5213\u9811\u9B35\u8C57\u90A7\u537C\u756B\u531A\u8123\u7259\u8FB1\u65E1\u8703\u74E6\u4E92\u8985\u5507\u5DE0\u919E\u9192\u8983\u918D\u9179\u916E\u8CC8\u9766\u91C2\u915A\u6817\u9182\u914E\u918A\u7C9F\u5398\u5794\u9D9D\u9165\u916A\u91BA\u9177\u8982\u9158\u8986\u9155\u8988\u919C\u9199\u9178\u91BE\u9186\u917A\u916C\u91A3\u91A1\u918F\u9175\u9161\u9164\u9190\u9183\u91A2\u9156\u8820\u91A0\u526F\u9193\u91B9\u91BD\u9150\u916C\u7968\u91C3\u914A\u9160\u91A5\u91B0\u9169\u9191\u91B1\u9180\u91AE\u9174\u9162\u916F\u914F\u914C\u914C\u9184\u9172\u9172\u91C5\u9762\u91AA\u91A7\u914D\u918B\u91AD\u9738\u7F88\u91BC\u9163\u919B\u919D\u91B4\u91B2\u9157\u8981\u9173\u9181\u91B3\u919E\u919A\u91AF\u9189\u91B5\u915F\u9187\u91C0\u91B7\u9185\u91A8\u6B43\u4E0B\u9F90\u7109\u6B63\u5FD1\u5397\u4E10\u5F13\u5154\u514D\u8C61\u8272\u5F1D\u89DB\u5F38\u657B\u89D6\u89EB\u89E5\u89D2\u58AE\u89DF\u9DF8\u89E1\u89DD\u6C04\u89DA\u89EC\u89E9\u89F0\u5950\u89ED\u52C7\u89D4\u89E6\u5280\u89E8\u74D5\u89FC\u89D9\u89E4\u89F4\u96B3\u607F\u89F6\u89E3\u89F2\u89FE\u89E3\u5D9E\u8CA0\u5F4F\u89FF\u89FB\u89D3\u89F8\u659B\u5C0F\u8A79\u5B50\u5B5F\u9D94\u5B6B\u5B64\u5B6E\u5B7B\u5B7A\u5B72\u5B56\u5B5C\u5B62\u5B54\u5B69\u6C36\u4E1E\u8100\u70DD\u5DF9\u723E\u9BE7\u9C23\u9BFD\u9BF7\u9BE4\u9C28\u9C3B\u5F30\u9BDB\u9BA6\u9C36\u9C29\u9BB5\u9B75\u7CA5\u9BE0\u9BB9\u9C68\u9C57\u9B66\u9BEA\u9BE5\u9BAD\u9C59\u9B7C\u9B9A\u9C09\u7A4C\u9BDA\u9C0D\u9C55\u9B6C\u9BA5\u9C21\u9C75\u9BA2\u9C4E\u9BE6\u9B60\u9C24\u9B74\u9BC0\u9C6E\u9BD3\u9BE2\u9C14\u9BC6\u9BC4\u9B77\u9B90\u9C2B\u9B87\u9C44\u9BC7\u9B80\u9C2D\u9B95\u9C17\u9BAA\u9BA1\u9BE1\u9C50\u9B5F\u9B9E\u9C48\u9B7E\u9C77\u9BC1\u9C7A\u9BC3\u9B7A\u9C71\u9C56\u9B71\u9C3E\u9C4C\u9BB8\u9C4A\u9C07\u9C0E\u9BA0\u9C4D\u9C12\u9B76\u9B92\u9BF0\u9C37\u9C60\u9BBD\u9BAF\u9BF8\u9B64\u9B93\u613B\u9BA8\u9B85\u9B61\u9B88\u9B91\u9C08\u9B68\u9C06\u9BD6\u9C3F\u9C62\u9C66\u9C0B\u9C39\u9B5B\u9BEB\u9BBF\u9BB6\u9C3C\u9BDE\u9C58\u9C54\u9C33\u9B7D\u9BD5\u9BAE\u9C79\u9C54\u9C3D\u9C52\u9C74\u9C67\u9C1C\u9C73\u9BD4\u9BC9\u9B7B\u9C05\u9C25\u9C25\u9C5E\u9B82\u9C13\u9BAB\u9B67\u9B74\u9C31\u9B70\u9B9B\u9C41\u9C2C\u9C4B\u9C78\u9C1D\u9BD9\u9BE8\u9C46\u9BDC\u9C63\u9C6D\u4E11\u9832\u7586\u77DE\u67D4\u53CA\u52D9\u8671\u87CA\u77DC\u52D9\u5F24\u4E43\u9A2D\u77E0\u5F27\u5915\u5F18\u752C\u9D75\u5924\u5F37\u5296\u77DB\u591A\u9141\u4E88\u98E7\u821B\u540D\u5917\u5916\u8B3D\u9CF5\u8768\u53C8\u7780\u936A\u6958\u715E\u5825\u8FEB\u9DA9\u5EF7\u5EF6\u6223\u8765\u5EFA\u9108\u9A16\u97AA\u5A7A\u8FF4\u5F15\u5F14\u967D\u9684\u9650\u96B0\u963B\u96B1\u969B\u76C4\u9642\u9673\u6576\u9130\u9699\u9675\u9678\u96A2\u9639\u969E\u9661\u968D\u96A9\u962A\u9686\u964D\u9621\u964E\u9680\u9672\u963A\u965E\u9697\u9674\u9689\u962D\u9687\u967C\u9662\u9640\u9663\u964F\u968B\u9693\u966D\u9653\u965D\u965C\u961E\u96A4\u966B\u964C\u967E\u9651\u964B\u96AC\u962E\u963F\u9643\u9694\u9628\u9622\u9658\u9677\u964A\u9620\u9644\u9670\u9686\u966F\u9664\u9683\u96AA\u9683\u9623\u963C\u9624\u9671\u9676\u9630\u968E\u965B\u9695\u9677\u966C\u9698\u968A\u9631\u9692\u9691\u9685\u9688\u96B4\u96A1\u962C\u9632\u96A8\u96A1\u965F\u962F\u963D\u969C\u96A7\u966A\u9654\u96AE\u5F3C\u6A83\u758F\u5F4C\u8711\u5F31\u90D4\u9DB8\u6025\u5371\u5F33\u5F4A\u758F\u4E86\u5B51\u9810\u9B3B\u8C6B\u5B53\u5920\u627F\u7FD7\u90FA\u6B20\u4E45\u80E5\u9406\u5F23\u7078\u589C\u58AC\u7679\u98DB\u86CB\u7678\u767B\u767C\u5F1B\u4E2E\u6840\u87F9\u5F37\u7514\u6BDA\u5F48\u76C8\u9F10\u722D\u5C15\u5903\u5F28\u5F2D\u5F35\u5B55\u6025\u5F44\u51F3\u6224\u5F49\u9127\u4E59\u7722\u5F22\u9D1B\u52C9\u9820\u6028\u99CC\u59B4\u9B5A\u9B6F\u87B4\u5F4B\u5F43\u534D\u71C4\u6B3F\u9F9C\u758B\u5F36\u5F26\u4EBA\u5021\u590D\u528A\u4F46\u504D\u5011\u50E9\u9136\u5031\u5048\u509D\u5124\u4F77\u5111\u50C8\u5167\u4EF4\u4FF7\u5017\u50FE\u5129\u5074\u5041\u501C\u9E19\u9FA2\u507D\u4F14\u4FF1\u4F97\u4FD8\u8089\u50BA\u509C\u618A\u9FA4\u4F63\u501C\u4FD4\u4FC0\u5092\u4EC8\u4F7E\u4F00\u4FD7\u4FBB\u4EFD\u50E7\u4F11\u93A5\u502F\u50F8\u510A\u6558\u7172\u70CB\u5821\u9D42\u4ED8\u4F53\u5049\u96D3\u6558\u6039\u7CF4\u6558\u659C\u6C46\u4F19\u5C12\u4FCF\u511F\u513B\u5018\u5105\u50EF\u5013\u50D7\u9DE6\u9DE1\u5057\u5281\u7512\u9126\u60A8\u4F34\u5026\u4ED5\u96B9\u8CC3\u5030\u96C6\u6820\u4F8D\u96D9\u96BB\u7126\u4F73\u50E5\u9DB4\u9D40\u72A8\u4F49\u96BC\u96CB\u5249\u5114\u96D4\u96E5\u6041\u552E\u4F76\u5113\u50D6\u50B2\u5016\u5125\u8B8E\u8B8E\u5165\u4F2F\u505F\u4F90\u4F9C\u50BB\u5062\u4FEC\u4FD0\u50C1\u502D\u50E0\u4F6B\u4F5F\u50FD\u4EFB\u4F81\u4EDF\u4F8F\u5045\u5015\u4F78\u505B\u50D1\u504A\u4F12\u4EC9\u4F69\u5051\u507A\u506B\u50B1\u4F4E\u4EF6\u4FC4\u4F5A\u504F\u50F1\u510C\u5139\u5080\u4FC2\u4EF0\u4FFE\u50AF\u502A\u5082\u4F10\u9933\u991B\u9932\u5009\u98DF\u4FCD\u9945\u5085\u992B\u9907\u9912\u4FCA\u9929\u9917\u991F\u9953\u9924\u9950\u9952\u9941\u994E\u9D12\u992D\u9909\u9927\u98EF\u50B6\u98EA\u98F9\u993E\u9902\u98EB\u98E2\u9930\u98E5\u4F82\u4F94\u9913\u9961\u993D\u993F\u4FF4\u993A\u9915\u991E\u9914\u98F4\u9911\u4FC5\u992C\u9928\u9959\u4F0F\u507D\u991A\u4F18\u50AD\u994B\u8755\u97F1\u9818\u992A\u9902\u98E3\u4F7D\u9916\u74F4\u4ECA\u8CAA\u9921\u4EE4\u98F2\u5FF5\u542B\u995E\u76E6\u887E\u9153\u4FEF\u4FDF\u98ED\u98FE\u9918\u993C\u9931\u4EE3\u6024\u5126\u98F6\u98FD\u98E9\u4F41\u994C\u990C\u7FCE\u98FC\u9947\u9943\u995B\u9900\u9949\u9948\u9905\u59C7\u9951\u992F\u9935\u9903\u9956\u995F\u9958\u4EC0\u5348\u4F02\u508E\u503C\u5025\u509B\u4F0E\u4F98\u50B3\u4ED7\u4F6C\u4F7F\u5033\u5022\u5110\u5027\u554E\u4F47\u50A2\u5007\u4F57\u511C\u4F30\u505A\u500C\u50E8\u50FF\u7F36\u4F92\u77E2\u4F91\u50DA\u77F0\u7102\u702A\u9D19\u77EE\u4FC7\u77E8\u77EF\u4FD9\u50B8\u4F48\u4FFA\u4F50\u5037\u501A\u77ED\u4F89\u4EC7\u4F87\u77E7\u96C9\u4FE0\u77EC\u60A0\u77E5\u4F51\u8DFE\u4EC2\u4F3D\u77E9\u77F1\u7E41\u77F2\u4EF2\u4F52\u4ECB\u4F5B\u50C2\u50D3\u4F7B\u5118\u4FF3\u5019\u8129\u689D\u7D5B\u9BC8\u5135\u4FEE\u9797\u6538\u500F\u7FDB\u505D\u4F38\u4FDC\u4E18\u4EDD\u4EDC\u4F70\u5112\u512A\u4F95\u4FDE\u6108\u4F96\u5175\u4F59\u4F0D\u6086\u5CF9\u5D5E\u756C\u4F13\u4F3B\u4F3E\u4FD6\u5168\u5012\u4E52\u512E\u4E53\u4F84\u820D\u5006\u4FBF\u4EC1\u4F58\u4F1D\u4EE8\u4F7D\u5137\u4FC9\u4F5E\u4FB2\u4EC3\u6C14\u90B1\u4F8B\u6B59\u4F55\u5035\u5408\u9FA0\u547D\u50C9\u506A\u5378\u5C54\u4F80\u5CB3\u50ED\u4F22\u4FD3\u4F64\u6703\u50F9\u50F3\u50C4\u506D\u50F5\u50CA\u5060\u50BF\u4E5E\u6C33\u50CF\u4FDB\u5069\u89A6\u510B\u6C1B\u4ED4\u4F60\u6C23\u6C2E\u9CF9\u50EA\u4F0B\u6C21\u6BF9\u4ECD\u4FD1\u4F88\u6C2A\u6C28\u4FB9\u9107\u5065\u6C15\u4F04\u6C18\u6C1A\u6C1F\u5209\u6C20\u6C25\u4FAF\u6C2C\u4F79\u6C2B\u6C16\u9103\u6B48\u6C1D\u96C2\u5FE5\u5091\u6C30\u5133\u6C27\u6C19\u6C2F\u6C24\u6C33\u6C26\u5F9E\u50B7\u5095\u4FCE\u808F\u5750\u5020\u590E\u50EC\u50CB\u4F36\u4EF1\u5096\u4EF5\u4EF7\u528D\u5108\u502B\u9869\u4F7A\u5077\u5109\u4F6E\u4EE1\u6B5B\u773E\u4FB3\u5098\u6582\u4F5C\u4F61\u4FAE\u5316\u4F08\u4F9A\u8CA8\u8CB8\u4ED6\u67CB\u4F56\u726E\u5117\u50AF\u50BE\u655C\u4EF3\u5055\u4F5D\u4F33\u505E\u5CB1\u4F05\u9EDB\u888B\u5E74\u5070\u5046\u50A3\u4FF8\u5029\u50B5\u5083\u4FF5\u4F15\u50E3\u667A\u4FCB\u76D2\u4F3F\u4FDD\u6A16\u9D3F\u9DAC\u9D68\u4FB6\u4F83\u6227\u8216\u9928\u5275\u981C\u9837\u8212\u90C3\u6B31\u62FF\u50E4\u513C\u5047\u506E\u7FD5\u5F07\u50CE\u4FC1\u7563\u50F6\u9F95\u6546\u4FC3\u4E4D\u5043\u77F1\u4EDE\u4F74\u5028\u4F0A\u4FB5\u5053\u50C7\u4F3A\u5000\u50DD\u4F2C\u600E\u508C\u50FB\u50B4\u4F62\u4FB7\u504B\u5014\u501F\u500E\u4F9B\u50D5\u50DB\u5064\u6A46\u7121\u5100\u5099\u5130\u504C\u5040\u50C5\u501B\u5061\u821E\u513A\u4F6F\u509E\u5106\u5087\u4F75\u508B\u50AE\u50D4\u511A\u5102\u5094\u4ED9\u4EDA\u5C73\u7F48\u50B0\u50BB\u7F3A\u7F3D\u7F39\u7F3F\u7F38\u5073\u7F48\u50AC\u4FBA\u7F50\u7F3E\u7F3E\u7F45\u7F4F\u89A6\u4F3C\u4F9E\u5120\u4F43\u4FDA\u500B\u5076\u5138\u5107\u504E\u5072\u4F6A\u513D\u5121\u6BCF\u97FD\u4EC6\u502C\u5075\u5131\u508D\u4F7C\u512D\u4FF6\u50E6\u4F4F\u4F09\u4EFF\u4F9D\u50C6\u509A\u4F01\u4EE9\u4F4C\u4FE1\u4F67\u5005\u654F\u5068\u5122\u4F54\u5132\u501E\u505C\u5134\u506F\u5023\u4F4D\u5063\u50EE\u50BD\u5104\u500D\u79BD\u4F2D\u4F85\u5103\u5115\u6BD3\u5FC3\u65EC\u65E8\u614D\u9D9B\u60FA\u6168\u52D3\u601B\u6113\u608D\u60FF\u61AA\u61AB\u90C7\u60D5\u60C3\u6112\u61EA\u6068\u6162\u61AC\u614F\u6132\u60FB\u58AF\u60C6\u6146\u60F2\u601A\u610B\u606B\u612E\u60D8\u6204\u61FC\u6140\u60CD\u5FEA\u52E9\u608C\u6085\u618E\u4E5F\u60CF\u9D74\u5FD6\u5FEB\u609A\u61F6\u7A4E\u60D9\u602A\u6145\u6F41\u6084\u6203\u60DD\u530A\u6190\u60D4\u7A4E\u71B2\u9848\u604D\u6011\u60D3\u6043\u61A2\u602F\u61E4\u6044\u6189\u60BB\u5FC5\u6015\u66F6\u60F6\u61CA\u752E\u6066\u6064\u8995\u61F0\u61A1\u60B8\u6100\u606A\u608E\u615F\u52FF\u5311\u5FCF\u606C\u618D\u60BF\u61EB\u520E\u5FFB\u90B2\u5FFD\u60DB\u6027\u6022\u60FC\u61BF\u60B7\u6127\u5FEF\u8883\u52FE\u52FA\u60A2\u609B\u6035\u6158\u530D\u6035\u6175\u6177\u52FB\u6021\u61BE\u6088\u61ED\u6034\u60E6\u614E\u6096\u61E5\u60BE\u5FEE\u9D07\u6118\u6171\u6193\u615A\u6045\u60BD\u60B0\u6103\u60CB\u61E7\u6019\u60BA\u99C2\u61A4\u5FD5\u61AD\u6062\u5306\u6095\u6161\u6016\u8084\u530E\u60F0\u605E\u52FC\u7591\u5306\u6136\u5354\u5FE1\u600F\u5FF1\u602B\u617A\u6192\u604C\u60B1\u61FB\u601E\u61E8\u6052\u61E6\u9803\u6129\u61EE\u6046\u6053\u6000\u6026\u5309\u600C\u606C\u52FB\u609F\u5FE8\u6032\u5310\u610A\u61AF\u6144\u619F\u6153\u619B\u6110\u6014\u4E5C\u6097\u61C8\u61BA\u5FF8\u61B0\u5FE3\u6080\u6040\u5FFA\u60E4\u610E\u6058\u60DF\u612F\u6194\u601C\u61FA\u5FF4\u6134\u5FE4\u530B\u60C0\u6087\u606E\u6109\u61B8\u6070\u5FD4\u89FA\u613E\u600D\u61AE\u6094\u6BD4\u6042\u6049\u60F8\u7C8A\u5752\u602D\u7686\u60DA\u6BDE\u60E2\u6A64\u7E60\u6BD6\u6010\u6009\u60F5\u5FF3\u605F\u60C5\u612B\u53E5\u6092\u6081\u9D1D\u609C\u65AA\u6033\u52AC\u5920\u6B28\u96CA\u61C6\u619A\u6115\u5305\u600B\u61B4\u611D\u6173\u5207\u5FC9\u600A\u61FE\u611C\u6174\u6047\u6180\u61B3\u60B5\u6029\u616A\u4E16\u60DC\u6154\u61DE\u8CB0\u61C2\u6172\u6105\u616C\u6116\u5312\u61E9\u61FD\u6072\u6152\u61F1\u61F5\u614A\u614C\u5C6F\u60FE\u76BA\u70B0\u9DB5\u5308\u5FF7\u5228\u60F4\u9813\u6137\u9112\u96DB\u615B\u82BB\u6013\u602E\u60F1\u7538\u602C\u60C8\u6083\u609D\u6156\u6163\u61CC\u6123\u61C1\u6104\u614D\u605B\u60BC\u6054\u61B1\u6165\u8A07\u60B4\u61C5\u6017\u60C7\u60CA\u61F9\u6114\u61A7\u615E\u61B6\u5FD9\u6149\u61CD\u61F7\u61E0\u5FED\u624B\u6287\u6435\u634F\u63E4\u6461\u8822\u64D4\u63DA\u634D\u63D0\u636B\u648A\u648B\u64F1\u6514\u60F7\u638D\u63ED\u64AE\u6428\u628A\u62EB\u6351\u6288\u63A4\u6430\u6388\u975C\u975A\u63A2\u6516\u63A1\u634B\u9D84\u649D\u642F\u63EE\u975B\u649A\u62AF\u63F4\u630F\u9758\u634A\u90EC\u6416\u6399\u652B\u6338\u633C\u6252\u63B0\u52E3\u64B3\u6329\u626E\u8012\u8019\u62FA\u8021\u8016\u62AB\u8017\u801B\u62B9\u6289\u801E\u802C\u981B\u8030\u8018\u8028\u8014\u801C\u801F\u8024\u8015\u8029\u63C0\u8026\u802A\u6421\u6387\u6260\u6414\u634E\u6529\u6490\u6487\u6490\u64CB\u639E\u6488\u6284\u62CC\u6372\u62A9\u6301\u6302\u6493\u639B\u62BE\u6415\u6347\u64E3\u62EE\u64F7\u62AC\u62CD\u63D8\u64F3\u6417\u6525\u64D9\u652A\u6814\u63EA\u637C\u64AD\u6273\u6D2F\u6340\u630C\u6341\u6300\u62B8\u6266\u63F0\u6376\u62EC\u63D7\u63D2\u5951\u6277\u649F\u63AD\u86EA\u6380\u6293\u6298\u62C6\u89E2\u6295\u63DD\u6450\u6498\u6258\u605D\u62B5\u6308\u62B6\u6440\u63AE\u63D9\u64BD\u6369\u6427\u6522\u64E4\u64E8\u64E4\u64AC\u7D5C\u6291\u627A\u636D\u6460\u641C\u634F\u634F\u639C\u642C\u9F67\u640B\u627E\u640F\u6358\u6520\u6520\u6475\u6423\u6281\u647B\u6355\u6344\u62D4\u649D\u62D4\u6270\u642A\u6328\u6517\u62ED\u62AC\u639D\u64BC\u62DA\u64F4\u646D\u645D\u6382\u4E30\u6437\u632C\u64E6\u63C7\u652E\u63A7\u6316\u643E\u651B\u6280\u6313\u62AD\u6476\u64A0\u641F\u6472\u6259\u62F7\u6377\u64EF\u63CE\u639F\u7809\u6356\u90A6\u913B\u6365\u644D\u6418\u64F0\u6507\u6433\u5F57\u6167\u6513\u6510\u6309\u6359\u6625\u644B\u64A9\u6CF0\u62FB\u79E6\u594F\u8202\u64A6\u62AA\u62F5\u63A9\u637A\u638E\u630E\u62CB\u633E\u5949\u6250\u641A\u6466\u62F9\u62CB\u6662\u62B0\u628C\u92B4\u6378\u710E\u8707\u62C2\u645F\u648C\u6311\u7869\u6392\u608A\u63F9\u54F2\u8E05\u64FB\u62BD\u62BB\u62FD\u88DA\u8A93\u625B\u64EB\u9752\u64E9\u6443\u64FE\u6509\u6474\u8CAC\u64C2\u625C\u6294\u62A8\u6371\u636F\u6422\u6303\u625E\u6496\u62EC\u63D2\u632D\u6397\u628E\u6526\u6342\u628F\u632F\u6253\u62D3\u6439\u63CA\u627C\u6485\u6264\u8868\u7D20\u6333\u642E\u647D\u64A2\u7E9B\u6BD2\u633D\u6354\u63DB\u64D4\u640E\u62EF\u626D\u63C9\u6271\u6254\u6390\u6345\u6292\u62F8\u633A\u633B\u63F5\u64B1\u6426\u627B\u63DF\u64A5\u63C6\u649C\u6519\u64FC\u592B\u66FF\u6465\u6409\u898F\u62CA\u63A8\u9CFA\u62F0\u62AE\u62CE\u6515\u6272\u637B\u6436\u8F26\u6274\u6384\u6348\u62F4\u63C4\u64BF\u62FE\u6368\u6262\u909E\u632B\u62D6\u643F\u63DC\u64AB\u6334\u647F\u64D2\u6307\u6261\u63AC\u625A\u64EC\u63EF\u638F\u6279\u63E9\u62D8\u62B1\u62B4\u63F2\u627D\u640A\u63C8\u63F3\u63CD\u6367\u6385\u6276\u6506\u646B\u63B1\u6265\u6263\u6339\u6350\u640D\u62D0\u64CD\u64A3\u62D0\u63D6\u634C\u64B0\u62BF\u6349\u63E0\u6468\u62DB\u6390\u6315\u63AB\u651D\u63F6\u636E\u6343\u630B\u647A\u6383\u63E1\u64E2\u644E\u648F\u6381\u62B3\u632A\u64D7\u6473\u62D2\u6336\u6452\u640C\u6398\u652C\u6452\u63AA\u6478\u64D6\u6375\u6503\u6492\u63C3\u62F1\u6495\u64B2\u6424\u63C2\u64F2\u6497\u62D1\u6391\u63D5\u643D\u64ED\u6524\u642D\u6501\u64DB\u6413\u64CF\u62FC\u6406\u63BD\u6420\u63CF\u6499\u64C3\u641B\u624E\u69FC\u63E3\u651C\u6467\u62D9\u5AE2\u7D2E\u64FD\u62D7\u63BE\u652D\u6477\u62F6\u64F8\u6346\u6370\u635A\u6482\u6451\u645C\u6441\u62BC\u64C9\u64C7\u64FA\u64D0\u63CB\u6435\u63CC\u645E\u650C\u62C7\u6183\u6251\u6389\u63E5\u64BE\u6521\u64A4\u650F\u6412\u6458\u630D\u62C4\u64BB\u6453\u6297\u6425\u6314\u6454\u6296\u62FC\u6459\u6286\u6357\u626F\u63AF\u650D\u637D\u6396\u64DA\u6504\u64C4\u650E\u62C8\u641E\u63A0\u63E8\u6518\u63D3\u62C9\u649E\u638A\u646C\u63A5\u645B\u64C1\u6410\u64C5\u64E0\u6283\u64FF\u53E3\u5531\u5527\u547E\u54FB\u56AA\u559D\u562C\u5697\u5427\u9091\u54CF\u656F\u8099\u566F\u558E\u56B6\u554B\u54F7\u5541\u9D51\u5480\u54C3\u55C2\u55E3\u54E1\u5504\u54F8\u56BC\u53EA\u53ED\u55E1\u55F2\u52DB\u9116\u5429\u564C\u5446\u55B3\u5664\u6C09\u540B\u5437\u5587\u528B\u55FD\u5460\u55A1\u9135\u553B\u5575\u55D3\u555C\u5526\u55E8\u5419\u54E8\u5690\u55E9\u5679\u54AA\u5556\u562E\u5435\u5410\u5465\u564E\u5687\u54C7\u5635\u9DD5\u547F\u55D1\u56BD\u54E7\u90E2\u54AD\u563B\u55F7\u5548\u5517\u5604\u9CF4\u55A4\u55E5\u5662\u97FF\u54B1\u557E\u550E\u54AF\u549A\u547C\u5448\u54E0\u5406\u54AE\u553E\u54B6\u55A2\u563A\u542C\u566C\u5592\u5412\u5467\u543D\u54E6\u5442\u55DA\u566D\u5533\u544F\u5144\u56CB\u55C5\u5471\u5564\u55D6\u5532\u5506\u561B\u5601\u54DE\u558A\u542E\u5577\u54FA\u561B\u5420\u5645\u8A60\u96D6\u5509\u548D\u569D\u55A5\u54E4\u561F\u55D4\u54F1\u55E6\u5693\u5583\u568F\u56D4\u567E\u5473\u5431\u9DE4\u5412\u5580\u6230\u6222\u5632\u56C0\u54EE\u54BE\u5551\u55A7\u8FB4\u5576\u9132\u561C\u55DC\u5680\u5627\u55D0\u5495\u56C5\u5674\u668B\u776F\u5639\u5430\u5454\u550F\u5498\u5535\u54A6\u550A\u610D\u53E6\u53FB\u55CB\u5496\u540A\u5488\u560D\u5633\u54B7\u568D\u5561\u547B\u562F\u54BA\u8E3C\u8E36\u8E9D\u8E22\u8E4B\u8DC1\u8DDF\u5685\u8DDA\u55CA\u8E29\u5698\u8E48\u8DD9\u8DDA\u8EA9\u8EA3\u8E4A\u8DB4\u54C2\u5512\u8E6D\u5401\u8E45\u8DDB\u8DB9\u8E0F\u5425\u8E03\u8E5A\u8E50\u8E78\u8E9E\u546F\u5478\u8DD8\u8E21\u5448\u8E1C\u8E1B\u8DF1\u8DEC\u5540\u8E7A\u8E8A\u54E2\u8DFF\u8E3F\u8E12\u8E6F\u8DEF\u8DE3\u8E53\u8DE6\u8E35\u8E7B\u8E3D\u8E93\u56A6\u65B2\u8DC5\u8DFA\u8E64\u8E5D\u8DCC\u8E41\u8E88\u8EA6\u8E09\u8E06\u54A5\u8E95\u8E10\u8DCB\u8DC6\u8E31\u8E60\u8E94\u8E57\u8E2E\u8E4E\u8EA5\u8DC2\u5649\u8E0D\u8E15\u8E64\u8E20\u8E5C\u8DCE\u8DCD\u8E26\u8DE8\u8DE0\u8E5B\u8DCF\u5562\u54FD\u555E\u8E6A\u8DF3\u8DE9\u8DF4\u8DB6\u8E8E\u8E95\u8DEE\u8DBC\u5641\u8DD6\u5514\u8E3E\u8DBC\u8E76\u53EE\u8E34\u8E42\u8DBF\u8E0A\u8DE2\u8DEA\u54A7\u8E73\u8E6C\u5475\u8DFA\u8DD7\u8E13\u8DC8\u8E17\u8E4C\u8E1F\u8E1A\u8DE7\u8E30\u8DF2\u8E30\u8DB7\u8E8C\u8E07\u8E18\u8DB5\u8DB5\u8E5E\u8DD1\u8DC7\u8E40\u8E33\u8E56\u8E5F\u8DBA\u55DD\u8E81\u8E00\u8E19\u8EA1\u8E1E\u8E02\u8E8D\u5544\u8DDC\u8DDD\u8DFC\u8E4D\u5443\u8DFD\u8E16\u8EAA\u8EA8\u8E7C\u8E87\u8E91\u8E63\u8E11\u8E38\u5658\u8EA4\u8E49\u8DF0\u8E2B\u8E67\u8E72\u5646\u8E66\u55C4\u560E\u8E39\u5440\u55D5\u8E92\u8E96\u8E61\u8E90\u8E1D\u560C\u55B1\u563E\u5595\u8E85\u8E55\u5593\u8E14\u8E44\u8E98\u8E62\u8DE4\u5615\u8E27\u8E74\u8DD3\u8E82\u8E65\u8DE1\u8E04\u8DBE\u8DD0\u8E9A\u8E24\u8E86\u8DD5\u8E9F\u8E23\u8E25\u8E8B\u5503\u561D\u559A\u5407\u543C\u541C\u564A\u5438\u5557\u54C6\u550C\u554A\u5439\u56B5\u5695\u5436\u54BB\u5490\u552F\u55FF\u5464\u541F\u5538\u55C6\u5505\u5418\u5424\u5672\u550B\u5563\u55BB\u565E\u54C8\u5565\u55BB\u5403\u5589\u5511\u542A\u54D6\u557D\u548B\u54BF\u5638\u5659\u53F1\u54B0\u5487\u543B\u5441\u5221\u5441\u6543\u5555\u5588\u5474\u5486\u558B\u5428\u5678\u54C5\u556A\u55AB\u54F3\u56D3\u5612\u552A\u5616\u55C9\u5491\u5566\u5508\u659D\u55A3\u9DFA\u5492\u5492\u54ED\u7378\u5668\u558C\u56C2\u56B4\u54A2\u547A\u90D8\u54C1\u566A\u55BF\u563D\u789E\u55A6\u5D52\u569A\u5640\u5602\u5461\u55AE\u9F09\u54EB\u5530\u56D1\u53E8\u9D9A\u9D1E\u5682\u54A0\u54A1\u56C1\u53E9\u5482\u5225\u53FC\u984E\u551A\u5594\u5681\u5610\u565A\u567F\u5682\u9102\u544E\u5462\u55CE\u54EA\u5614\u5552\u865F\u865F\u5536\u55FC\u5676\u54C4\u5636\u5657\u55CC\u56C8\u5534\u54CE\u558F\u56A5\u5606\u5481\u552D\u5629\u557F\u56CC\u55CF\u5684\u55D2\u54A9\u55DF\u56BE\u55CD\u55B5\u5608\u5642\u56C6\u5665\u55DB\u5686\u5DF3\u5598\u55E4\u9133\u55FA\u9955\u5DFD\u5484\u5476\u55B2\u5406\u5630\u5466\u53EB\u5433\u5599\u6C11\u55C8\u559F\u546C\u54E9\u563F\u569C\u5613\u54BD\u55EF\u5477\u5581\u562A\u56C9\u5663\u566E\u5582\u9119\u55E2\u55F6\u5463\u9EFD\u5545\u5677\u557C\u56A8\u55D9\u5600\u54AC\u56C3\u56AB\u5648\u5660\u56AC\u55AD\u542D\u5537\u55F9\u5445\u55AD\u5543\u5666\u5472\u5501\u5699\u8DB3\u5550\u5634\u558D\u5673\u5653\u552C\u5671\u56A7\u552C\u546B\u55C3\u554D\u54FC\u568E\u55A8\u56B7\u55FE\u5539\u5591\u566B\u553C\u5670\u54B3\u5683\u568C\u5C38\u9DF5\u98C1\u7FEB\u533D\u5C6D\u6722\u5237\u5337\u5339\u9D04\u6BBF\u5C64\u5C3F\u814E\u81C0\u8CE2\u8D00\u92FB\u68F8\u7123\u5805\u58C2\u9DD6\u805A\u7280\u8738\u91AB\u747F\u6BC9\u787B\u8C4E\u532F\u805A\u805A\u6394\u7FF3\u5A36\u5ADB\u5A5C\u7DCA\u7E44\u9EF3\u5C6C\u99B9\u9A34\u99FB\u9A20\u9A09\u9A14\u5C51\u9A27\u9A06\u99D4\u99E7\u99C9\u9A31\u99FE\u9A53\u5C4E\u5C09\u99C3\u99F7\u9A0B\u99AD\u9A37\u9A4E\u9A4D\u9A1C\u9A2C\u99F1\u99EA\u9A2E\u9A55\u98BF\u99B2\u9A19\u9A38\u9A29\u9A44\u9A2A\u99FA\u99FF\u99BB\u9A42\u99E5\u9A03\u99D8\u99F4\u99F9\u9A56\u9A5E\u99DD\u99B1\u99C1\u9A0E\u99BD\u99DB\u99B4\u99E3\u9A11\u9A65\u99CE\u9A01\u9A4C\u9A66\u99CD\u99D3\u9A35\u99E4\u99AF\u9A6A\u9A43\u9A54\u9A15\u9A48\u9A25\u99BA\u9A1D\u9A24\u9A1B\u99D9\u9A05\u99D7\u99D6\u99C7\u99FC\u99E9\u9A57\u9A07\u99B3\u99DC\u99B0\u9A0A\u99D2\u9A36\u9A1E\u99FD\u9A52\u9A22\u9A5F\u9A6B\u99CB\u99EC\u9A3D\u99F8\u9A4F\u9A45\u99CF\u99F6\u99B5\u9A32\u9A1A\u9A67\u9A60\u9A39\u9A0F\u9A4A\u9A69\u99E2\u9A23\u9A68\u9A04\u99DF\u9A0D\u99F0\u9A5B\u9A46\u9A3E\u99EE\u9A50\u99D0\u8927\u9A49\u9A62\u9A64\u9A3F\u9A02\u99ED\u9A59\u9E10\u6233\u807D\u52BB\u526D\u5200\u9CF2\u5154\u9B04\u9B18\u9B05\u5334\u8CA0\u9B19\u9B0E\u9B06\u9AF2\u760C\u9AFE\u9B08\u9AEF\u9AFB\u9DDA\u9CED\u9B01\u9AFC\u9B1A\u9AFA\u9AE1\u9AE6\u5203\u622E\u9B16\u9AEE\u9B12\u9B22\u9B03\u9B10\u9B0D\u9AEE\u9B0C\u9AE7\u5F7F\u985F\u9AEC\u5320\u9AE1\u9AF3\u911D\u5C69\u9AF9\u5C67\u5C65\u5C50\u96E1\u9B20\u5C63\u9AFD\u5C5C\u5C68\u9AF1\u9B0A\u5C3E\u53EC\u533E\u9AEB\u9AF6\u9B15\u9B0B\u9B17\u9AF7\u9B1E\u9B11\u9B23\u9B1F\u9AE3\u9AED\u9B24\u76E3\u71A8\u9ADF\u957A\u65B8\u729A\u957B\u957D\u8086\u9129\u5FCD\u6170\u957C\u893D\u8033\u81C2\u5C44\u806C\u6A97\u53D6\u90F0\u803F\u7CEA\u58C1\u8043\u8050\u9DFF\u804A\u8052\u6BE6\u8070\u805D\u805C\u532D\u8079\u5C60\u5C6A\u803E\u5E66\u803D\u8075\u5235\u8058\u9873\u804F\u74A7\u8035\u7513\u8047\u8078\u8036\u8067\u8046\u8039\u6065\u61B5\u64D8\u5C45\u9F0A\u8E84\u5288\u8051\u8076\u8034\u5B16\u7E74\u8048\u806F\u895E\u8077\u6065\u8B6C\u8064\u5C39\u5C3B\u541B\u531D\u5C62\u9824\u5331\u532A\u5C5D\u81E5\u81E8\u8CFE\u81E3\u81E6\u81E5\u5201\u7FE8\u7FEC\u5E1A\u76E3\u7FC2\u7FCD\u5321\u7FD2\u7FF5\u7FD0\u6BE3\u5C4B\u7FC7\u7FDC\u7FC0\u7FBE\u9828\u5C0B\u5C4D\u7FDF\u7FCF\u7FED\u7FD1\u53F8\u7FBD\u7FBF\u7FEA\u9577\u7FFC\u7FF4\u7FE0\u7FEF\u7FDE\u7FCC\u7FCB\u7FE3\u5B71\u5C59\u5C3A\u533C\u9139\u54AB\u5C3C\u531C\u9D4B\u5322\u5C41\u90A3\u99AC\u53F5\u76EC\u8997\u7104\u9DD7\u9D8B\u9D58\u8056\u6BC6\u52AD\u5C4C\u9835\u750C\u90E1\u90B5\u6B50\u615D\u5330\u5340\u5372\u7FA4\u657A\u8F9F\u5DE8\u71DB\u81E9\u87B6\u5C40\u51F9\u5155\u533F\u7FBC\u5C4F\u5C55\u5DF1\u5DF2\u7199\u5C46\u9D8C\u5C58\u9094\u6539\u5FCC\u5F02\u5C48\u5A90\u5980\u9DA0\u90FE\u5C47\u9E7D\u89BD\u9452\u5323\u531F\u5C4F\u5C56\u5EFF\u6614\u83D6\u840C\u843A\u76B5\u8494\u9D72\u65AE\u8507\u8349\u83AB\u66AE\u5E55\u9A40\u5893\u6155\u6479\u52DF\u5252\u83DB\u8551\u85FA\u8544\u862D\u8443\u83CE\u845B\u855E\u82AD\u831B\u8513\u84C2\u8409\u84C7\u8586\u8563\u8435\u858D\u89AF\u5178\u8434\u9EFA\u8621\u83DC\u69CA\u85E4\u5851\u848D\u85B6\u85D0\u9EFC\u9EFB\u8477\u52F1\u7E6D\u524D\u84AF\u82F4\u985C\u9862\u8432\u8499\u833C\u8387\u848F\u83A9\u714E\u526A\u84AC\u7FE6\u8521\u6563\u8444\u612C\u844B\u83D4\u83F5\u82DC\u851D\u85C8\u85A1\u841B\u83A7\u837D\u65A0\u5171\u83F3\u666E\u671F\u76CA\u8146\u9EF9\u57FA\u9DBC\u9DEC\u5914\u65AF\u84CA\u8F02\u86EC\u7881\u6B3A\u6B49\u606D\u60CE\u62F2\u5DF7\u838C\u68FB\u82AC\u8450\u5DF7\u696D\u53E2\u7DA6\u914B\u9EC8\u65A2\u8AC5\u8326\u8540\u84DB\u83BF\u8459\u83D8\u83FB\u9DCB\u83E5\u8309\u82B5\u85FE\u850C\u82EF\u8466\u9134\u840A\u8395\u85F2\u83C4\u8430\u8569\u8580\u83F9\u947F\u83AF\u83E0\u838E\u8506\u843D\u843F\u848E\u85E9\u84B2\u8584\u8497\u8390\u8333\u85B8\u840D\u85EB\u83CF\u8388\u84A4\u8643\u854D\u849E\u85FB\u8556\u83EC\u83C3\u8303\u84F1\u8545\u8580\u8583\u850B\u849E\u84C5\u832B\u82C2\u850A\u83A6\u853D\u8437\u83FC\u85C0\u8631\u864C\u85A0\u832A\u9140\u83E4\u828F\u82D2\u84CB\u89C0\u83F1\u5C0D\u7FA8\u7F94\u7FB9\u8325\u8451\u84FA\u8558\u9E1B\u7FB2\u98CC\u7FA9\u7F8C\u7207\u85DD\u7FA1\u7F95\u84CB\u8554\u84FB\u7F8E\u52F8\u7F9B\u9874\u85B5\u9144\u6B61\u7F91\u83B0\u81E1\u8594\u6059\u6201\u837A\u85B9\u851C\u85A3\u5584\u59DC\u85DA\u863E\u8526\u8624\u845F\u83C2\u8469\u864B\u8581\u9996\u85F0\u842B\u8571\u8590\u8429\u855B\u83DE\u84A9\u8389\u83A0\u840E\u85D2\u8543\u8316\u82F3\u85B0\u9D9C\u8566\u853E\u85DC\u8306\u828A\u8331\u846E\u8463\u83D9\u82BA\u854E\u83FE\u842D\u860C\u862C\u82B9\u8329\u85DC\u829F\u8283\u8567\u8587\u85E2\u84F9\u8347\u8605\u84EF\u84D7\u84F0\u84CF\u844E\u83AA\u82F5\u82BC\u859B\u8439\u83FA\u8491\u8582\u8530\u8490\u84A0\u8636\u8406\u8525\u84D6\u85C7\u856E\u8438\u84B0\u83A8\u84AA\u837E\u85E6\u8611\u863C\u9EBB\u85E6\u8611\u863C\u8302\u9DF7\u8546\u83E7\u8474\u84A7\u837F\u8473\u8518\u8319\u8386\u9EBB\u838D\u848D\u8307\u83BD\u83EE\u84CE\u8328\u85CF\u829D\u858B\u61DF\u8285\u862A\u85E8\u82D4\u84C6\u8595\u8517\u85A6\u850D\u5345\u977C\u97AE\u97A8\u9776\u978E\u97C5\u82BE\u8378\u8433\u977B\u8413\u8456\u85ED\u84C9\u9781\u977A\u8467\u82B0\u979C\u863B\u9798\u979D\u977D\u978B\u978A\u97C7\u9DE8\u9782\u97A6\u9773\u979E\u84F4\u8559\u979A\u84D2\u852A\u978D\u8457\u8356\u52D2\u9785\u97BB\u8410\u840B\u8529\u853B\u976C\u8431\u976A\u82E7\u8423\u83EA\u9770\u839E\u97C1\u9794\u5B7D\u97A3\u9778\u9783\u97AC\u9777\u913F\u83C0\u84FF\u9772\u97AD\u9788\u9774\u97A5\u84CD\u97A0\u976E\u976E\u85B4\u9784\u977E\u97A2\u8524\u97AB\u97A1\u82E6\u846B\u9799\u83C5\u8EA0\u97CC\u9780\u8561\u97C9\u97C4\u97B3\u85C6\u834C\u97BF\u977F\u8397\u97B9\u97C3\u97C6\u827E\u8531\u6AA0\u82C3\u9DA7\u9D31\u837B\u83A5\u85F1\u8555\u8383\u8350\u832C\u87FC\u83F4\u8342\u8351\u827D\u8284\u912D\u911A\u84BA\u83A2\u61BC\u8515\u64CE\u82E5\u60F9\u9A5A\u8304\u8354\u8B66\u82F1\u9769\u87F4\u8300\u851E\u8562\u8327\u85CE\u83F2\u71D5\u9DF0\u5807\u97ED\u85EA\u82D6\u9EC3\u856D\u7518\u666E\u8341\u85B7\u85FF\u8553\u8576\u834B\u8626\u89B2\u857E\u831C\u83A4\u67D0\u828B\u82A3\u85BE\u849C\u82F9\u82E4\u8638\u83FF\u85BD\u8601\u849D\u8565\u85F6\u65B3\u834E\u834A\u83FE\u52E4\u83EB\u5176\u82B8\u8328\u845D\u82AB\u751A\u827C\u859A\u833F\u90AF\u911E\u85A4\u8322\u82DB\u8486\u859E\u85F8\u82EA\u8564\u8381\u846C\u849A\u85DE\u8373\u844D\u83EF\u834A\u8568\u82BD\u84D0\u8396\u8508\u8548\u8591\u847D\u8290\u852B\u9F79\u828E\u83DF\u842F\u85D1\u85A2\u859D\u8293\u84C0\u83F0\u82A4\u84B8\u8607\u858A\u861A\u8447\u82A8\u827F\u84E9\u840F\u82F0\u8305\u82A7\u8324\u8348\u8317\u82D1\u8575\u839B\u839A\u85EC\u84A2\u852D\u85A9\u861F\u852F\u84BB\u852C\u8577\u9138\u82A1\u8475\u845E\u8647\u847E\u8442\u8271\u82AE\u84AE\u8336\u8320\u82FB\u82F6\u8411\u830C\u96C8\u8549\u820A\u9E0F\u834F\u6C0B\u8337\u990A\u8470\u82D3\u832F\u82A9\u84BC\u8629\u8599\u84E8\u84E7\u82A5\u8588\u83D5\u8625\u837C\u8343\u82A2\u829E\u859F\u8377\u8345\u8454\u6B4E\u9BD7\u84CC\u96E3\u839D\u861E\u8445\u838B\u82B1\u84A8\u8446\u82F2\u8460\u856A\u849B\u8393\u84D3\u849E\u82AF\u8340\u83CA\u82FE\u82B4\u828D\u82B6\u8461\u85BF\u8525\u828D\u8514\u8404\u8298\u854A\u82DF\u830D\u82DE\u8449\u829A\u8639\u7F8A\u7F8B\u7FAF\u8457\u7F92\u85C9\u85D5\u838F\u7FB3\u7F96\u7F9D\u8440\u84B1\u7FA7\u7FAC\u7FA2\u83DD\u7FBB\u8527\u7F9C\u7FA6\u7FB5\u8436\u84C1\u7FA0\u83F6\u83D7\u5DEE\u83C1\u7FBA\u7FB1\u7FA5\u7F9E\u8299\u84F7\u7F9A\u7FAD\u7FB7\u6059\u83E2\u8374\u7FD4\u7FB0\u8600\u83C8\u7FB6\u8392\u83CB\u857A\u8604\u8557\u912F\u9100\u84F6\u656C\u8376\u96DA\u8547\u8648\u843C\u846D\u847A\u82E0\u8619\u85C2\u851A\u8280\u82D5\u840F\u857B\u8375\u85EF\u857C\u85CD\u8338\u8635\u8617\u83C6\u829B\u8399\u83E3\u831E\u85CB\u84FC\u8541\u85CD\u8407\u61C3\u82E8\u8512\u859C\u84F2\u82E3\u8291\u4E95\u5E76\u534C\u8465\u4E26\u85C4\u8623\u8633\u5193\u84D4\u85B1\u9DC1\u9D67\u4E3C\u861C\u84F3\u834A\u4E26\u9829\u8401\u845A\u74F6\u8C54\u8275\u90F1\u84AB\u5584\u5231\u8353\u84B4\u861B\u8832\u84B9\u6714\u9998\u8634\u83E1\u8301\u856C\u84B6\u846F\u8452\u860A\u855D\u8520\u858C\u6221\u85E5\u5B73\u9DBF\u8332\u82E1\u6148\u82ED\u83C7\u52D8\u834D\u838A\u8523\u8585\u8620\u83C9\u6B41\u8339\u8560\u8498\u844C\u83D1\u659F\u82D7\u66F2\u66F9\u8806\u8E89\u8394\u679C\u5C0A\u8528\u83CC\u7337\u852E\u5960\u8335\u83AE\u85AF\u842C\u8609\u863F\u8511\u858E\u8824\u5922\u750D\u85C5\u862E\u85A8\u85E3\u77A2\u8FB2\u8C4A\u8468\u82EC\u8478\u8334\u84FD\u8502\u8646\u8632\u85DF\u82FA\u517C\u8482\u8596\u863A\u85C3\u8622\u84A1\u850F\u832D\u8412\u8509\u85AA\u85D7\u85FD\u83FD\u8598\u85B3\u860B\u84EC\u82C0\u82B3\u833A\u84EE\u82A0\u82B7\u8589\u84EB\u8308\u84EA\u85D9\u8403\u8516\u85D8\u8606\u82EB\u85F7\u84BF\u8578\u850E\u8500\u8476\u85A7\u8618\u85F9\u8479\u851F\u8640\u8519\u83F8\u82D9\u843B\u856B\u8398\u858F\u83E9\u849F\u83E8\u8292\u8579\u8344\u83A3\u8352\u84C4\u84FE\u84D1\u85BA\u85E1\u8627\u5C71\u5D4B\u5D35\u5D3C\u5D11\u5D51\u5CCE\u5D29\u5D31\u526C\u527B\u5CA8\u9853\u5CD2\u9145\u6B42\u5D22\u5D17\u5CF4\u5D1F\u5D94\u5CEA\u5D92\u5D27\u5CA5\u5D0D\u7CF6\u5D20\u5D40\u9844\u5CED\u5D99\u5DB8\u5DC6\u5D97\u5DC0\u5D1A\u5CD9\u5D36\u5DA2\u5D01\u5315\u5CB6\u5D32\u5D59\u5D4A\u5D23\u5D93\u5CF0\u5CC9\u5CC8\u5D67\u5C86\u5DA0\u5DCB\u5C93\u5D50\u5D77\u5D42\u5D0F\u5CE8\u5D68\u5DAD\u5DD1\u5D72\u5D6C\u5DCD\u5D25\u5DBC\u5D00\u5CFB\u5D45\u5CF8\u5D34\u5D7E\u5CEC\u5D63\u9B2F\u5CA4\u5DD4\u5D06\u5D71\u6AF1\u5C90\u7CF1\u5D84\u5CD4\u8825\u5D28\u5D07\u8C50\u5B7D\u5CAE\u5CB5\u5CD6\u51F6\u5CDF\u5D9A\u5CDA\u5DBD\u5147\u8F0B\u5D24\u5D26\u5D0E\u5CD3\u5CFD\u5D7D\u5C74\u5C6E\u5C9F\u5CAA\u5D81\u5CAB\u5CD8\u5D38\u8011\u5CCF\u5D80\u70AD\u5CAF\u5D16\u5CCC\u86A9\u5CB8\u5CFF\u5C8F\u5D7F\u5CDB\u5CA2\u8C73\u5CA9\u8C48\u5C8D\u5D0B\u5DA1\u5C7C\u5D9C\u5C88\u5DB0\u51FD\u5C8C\u5C8B\u5D79\u5CD7\u5CDE\u5D9D\u5D65\u5DC9\u5D14\u5DC2\u96DF\u5D95\u5DB2\u5DBA\u5CAD\u5C91\u5C92\u5D62\u5C95\u5D19\u5D33\u5DAE\u5CC7\u5CC6\u5C79\u5C9D\u5CCB\u5C89\u5DB7\u5CA3\u5D1D\u5D8A\u5DAF\u5D89\u5DD6\u5D3F\u5C7A\u5CB7\u5C7B\u5CA7\u5D0C\u5CEE\u5D8D\u5D7A\u5D87\u5CA0\u5C7A\u5D1B\u5DB1\u89AC\u5DAA\u5D37\u5DAC\u8C54\u51F1\u98BD\u5DD5\u7343\u5274\u9857\u5D4C\u5D41\u8277\u9146\u6573\u5D6F\u5DCF\u5D6B\u5D86\u5D9F\u5DA9\u51FA\u8278\u5C7E\u5D55\u795F\u8294\u833B\u5E7D\u5CB0\u5D88\u5D30\u5D2E\u5CAC\u5D4E\u5DA7\u5DB5\u5D3D\u5D39\u5DD8\u5DC3\u5D43\u5D7C\u5D43\u5D7C\u5D12\u5D69\u5D1E\u5D49\u5D3A\u5CA6\u5DC7\u5D82\u5CF7\u5CD0\u5973\u5A3C\u5ABC\u5AA2\u5A9A\u59B2\u5A78\u5A9E\u5AFA\u5AFB\u5ADA\u5AC7\u5B21\u59CD\u5AA7\u5A47\u5A64\u5A6C\u5ACD\u59D0\u5A9B\u59DB\u5AB1\u59CD\u5A0A\u5A1E\u5990\u5A23\u59A2\u59BA\u52E6\u5A15\u5B3E\u5AE9\u527F\u911B\u5974\u76DD\u52AA\u5E11\u525D\u782E\u5F29\u5B65\u6012\u62CF\u99D1\u66EB\u7E15\u7DF9\u7DC6\u7DC4\u7E53\u7E35\u7E43\u5AE6\u7E0E\u7DAC\u7DFA\u7E93\u7DB5\u7DA2\u7E1A\u7DF7\u7D44\u7DE9\u7D67\u7D92\u7E29\u7DA2\u7D45\u7D7C\u7DB1\u7DB2\u77D5\u7DF2\u7E49\u7D8F\u947E\u7D88\u7D8C\u7D1B\u7E52\u6B12\u7DD7\u7D9D\u7D02\u7D80\u7D4A\u7DEF\u7DF4\u7E14\u7DB4\u5A52\u7D83\u7E57\u7DC2\u7D17\u7D56\u7D46\u7DA3\u7DBE\u7D53\u7E5E\u7D36\u7D50\u7E88\u7E8C\u5999\u7DBF\u7DDA\u9E1E\u9DE5\u7E4C\u7E61\u7DCC\u7E59\u7D73\u7D61\u7D42\u7D1D\u7E81\u7D51\u7DDE\u7DDF\u7D9E\u7E51\u7D4E\u7E31\u7E30\u7DB9\u7D81\u7D29\u7DE8\u7E73\u7D9F\u7E98\u7D19\u7DBC\u7E3D\u7DB9\u7E1B\u7DD8\u7DDA\u7E3F\u7D68\u7D7F\u7D0E\u7D01\u7D31\u7D0C\u7D52\u7D58\u7D3F\u7DCE\u7E8A\u7E8F\u7E1D\u7D8D\u7E33\u7E50\u7DD2\u7DC1\u7DC0\u7E7D\u7E2F\u7D9C\u7D35\u7DBB\u7D84\u7DA9\u7E2E\u7D3D\u7E16\u7DB0\u7E21\u5971\u7E5A\u7D18\u7D7A\u7DBA\u7D08\u7D3B\u7D1E\u7E63\u7D03\u7D3C\u7E37\u7E62\u883B\u7D69\u7DCB\u7D2C\u7D33\u7D4F\u7E61\u7D05\u7D54\u7E7B\u7E8B\u7DDB\u7D06\u7D11\u7DFB\u7DFB\u7E13\u7E09\u7D70\u7DC9\u7D86\u7D1C\u7E9A\u7CFD\u7E1F\u7D93\u7E39\u7DEC\u97C1\u5F4E\u7D55\u7D7B\u7E72\u5B7F\u7D10\u7E58\u7D1A\u7E48\u7D13\u7E7A\u7D8E\u7D96\u7D16\u7E03\u7E94\u7DEE\u7D0D\u81E0\u7D28\u7DAD\u7D3E\u7E96\u7D1F\u8B8A\u7D12\u7E6A\u7DB8\u7D5F\u7DF6\u7DF0\u7D66\u7D07\u7DF1\u7D41\u7E80\u6200\u60A8\u7D62\u7D04\u7D04\u7DEA\u7DAF\u7D15\u7D47\u7D32\u7D14\u7E10\u6523\u59C5\u7D81\u7E25\u7DAA\u7E3E\u7E24\u5A58\u8F61\u7D79\u7E1C\u7D7D\u7DE1\u7E70\u7E5F\u7DDD\u7E69\u7D09\u7D39\u7D55\u7DC5\u7D85\u7E46\u7D00\u7E9C\u7E38\u7E56\u7E0A\u7DE7\u7E55\u7DD9\u7D3A\u7E12\u7D63\u7E55\u7E5C\u7E77\u7E11\u5DD2\u7E43\u7E97\u7E40\u7D40\u5B4C\u7D72\u7CFE\u7DA0\u7DE3\u7E45\u7E7C\u7DC7\u7D30\u7D91\u7E86\u7D6A\u7E99\u7E79\u7E6F\u7E15\u7DE6\u7E2A\u7E32\u7DBD\u7DE0\u7E0D\u7D5E\u7D38\u7E68\u7E2B\u7E0B\u7D21\u7E54\u7E42\u7D71\u7D0F\u7E3A\u7D0B\u7E7E\u7DB7\u7E91\u7E1E\u7DA7\u7DA1\u7E95\u7E3C\u7E78\u7E76\u7E0C\u7E2D\u7D43\u7D6F\u7E34\u7E75\u7E17\u59CC\u5A48\u710B\u5A03\u5B08\u5958\u5B26\u5B19\u59DE\u5B2F\u5B09\u5AB4\u5A5E\u88DD\u5A42\u5A93\u5B1D\u59E0\u5B3C\u59C0\u5A33\u5A51\u5B0F\u598A\u59FA\u5AB9\u9109\u5977\u59DD\u5A37\u59E1\u5996\u5B0C\u5A56\u59A1\u59E4\u59F5\u597C\u5A5A\u5A25\u59D3\u5992\u5AA5\u9109\u5B13\u5ABF\u5AB3\u5A62\u5AB2\u5AC2\u5A57\u5A18\u5B24\u6A02\u69F3\u5B24\u6F3F\u7CF8\u588F\u5E7E\u65B7\u734E\u5A00\u734E\u5AAF\u5E7C\u9D22\u5ADE\u5ADD\u87BF\u5299\u91AC\u4EE5\u5A2D\u59CB\u5E7B\u5B1A\u5AEC\u5A0F\u757F\u5A7B\u5AC6\u59B9\u5993\u597C\u5B38\u5AE5\u5A8E\u59E5\u5A55\u5B2A\u5A43\u5A97\u5AC1\u5A5D\u5A49\u5B23\u59D1\u5AA9\u5AF4\u5A60\u59F2\u59F7\u76ED\u5AFD\u5A4D\u59F1\u59E8\u5AC9\u51F5\u59CE\u5AFF\u56AE\u4E31\u8801\u723F\u5B07\u59DA\u5B27\u9957\u6536\u59AF\u59BD\u5A09\u59CA\u97FF\u5985\u59EE\u5B2C\u5C07\u5AEE\u5B40\u5F59\u5E8A\u5B2D\u5F5D\u58EF\u5A3E\u7246\u5AC4\u65A8\u6215\u59EA\u72C0\u5978\u598D\u883F\u5A6D\u5998\u7241\u5B4B\u59A7\u5A20\u7244\u5F58\u5992\u598D\u7242\u599D\u5AB7\u5A19\u5AD6\u5A94\u5AE3\u59C3\u5A29\u597D\u59B3\u599E\u5A83\u5976\u59A4\u59FC\u59F3\u5A17\u5AF7\u5A40\u5F54\u5ACB\u5F56\u59FD\u5A7F\u5B01\u5B14\u5A39\u59A0\u5B47\u5AF6\u9DA8\u598A\u59C8\u5B45\u5997\u8821\u598E\u59FE\u5AAE\u5B10\u59F6\u5AAE\u59E9\u5AAC\u5A95\u5AF5\u5979\u59BC\u5981\u59A3\u59C1\u5A9F\u5AB0\u59A6\u5A8B\u5AC0\u5A67\u5ACA\u5A4A\u5982\u5A1F\u9D3D\u5E24\u6055\u6310\u5B20\u5B0B\u5B4D\u5A7D\u7D6E\u5A1B\u5A16\u5B4E\u9DAD\u59B1\u5A13\u5A35\u5AD5\u59EC\u5A66\u5B25\u5AEA\u59AE\u5ABD\u5A1C\u5AD7\u59D6\u5ADF\u5983\u5FCC\u5AEB\u5A70\u5A8A\u5A84\u5AF8\u5B1E\u5A7C\u5AF9\u5B3F\u5AE8\u59CF\u5A38\u5A92\u5B05\u5AB6\u59D8\u5ABE\u5AF8\u5B28\u5A8C\u5ACC\u597E\u5A8F\u5AB8\u5A69\u5B48\u96DD\u5ABA\u597B\u707D\u59D2\u9095\u59E6\u753E\u5DE2\u5AA6\u5A50\u5A0C\u9D85\u7580\u5A5F\u59FB\u5B3D\u5B1B\u5ABC\u5AD8\u59C6\u5A65\u5A9C\u5AE1\u59E3\u5A4C\u59B5\u59A8\u5B02\u598F\u5A2E\u5AED\u5A5B\u5A77\u5B43\u5AD9\u5ADC\u5A44\u59B6\u5B17\u7530\u80C3\u9852\u611A\u56DB\u56E7\u9DF6\u755F\u679C\u56F0\u8901\u9846\u570D\u5925\u6564\u7577\u7584\u9EE0\u9EF7\u9EF2\u9ED8\u9ED3\u9EF0\u9EE6\u9EE4\u9ED5\u9ED6\u9EEB\u9EF5\u9EDF\u9ED4\u9EED\u7554\u5708\u9EDA\u9EEE\u9EDC\u9EDD\u9EDE\u9EE5\u9EEF\u91CC\u7564\u9ED1\u58A8\u7566\u5714\u7587\u91CE\u5712\u5709\u56F7\u7548\u7565\u757D\u756F\u9E00\u5703\u754E\u6B5C\u570B\u6580\u6BCB\u6BCC\u8CAB\u6BCB\u9E05\u9DDD\u5718\u7579\u6581\u56FA\u56E0\u56FF\u7578\u6B2D\u6069\u7537\u7532\u79BA\u7F5D\u7F66\u8CB7\u7F7E\u7F67\u7F6C\u7F63\u7F6B\u778F\u776A\u9D28\u7F76\u7F5B\u7F77\u7F86\u7F6D\u7F6E\u7F72\u7F5F\u7F68\u76EE\u753D\u7F6A\u571A\u7F58\u7F7D\u7F61\u7F5E\u773E\u8700\u7F79\u7F65\u7F60\u7F7B\u7F75\u7F83\u7F88\u7F87\u7F89\u7F85\u7F7A\u7F73\u7F7C\u5970\u7F69\u7F5C\u8A48\u7F70\u7F70\u7F7F\u7540\u5704\u753A\u5702\u754F\u56DD\u5885\u56DA\u755B\u56F9\u754B\u754C\u5707\u6141\u56EE\u601D\u56EB\u7547\u816E\u7547\u6BD7\u6BD8\u56E4\u570A\u56DE\u5713\u5716\u5716\u5B32\u7570\u7562\u570C\u56E1\u571E\u7D2F\u7FFE\u9E13\u571B\u571C\u757E\u6AD0\u7E8D\u58D8\u758A\u7928\u7F4D\u58E8\u56E5\u6BCD\u5701\u753F\u66F0\u660D\u6688\u709A\u9865\u6651\u65F0\u5195\u6B25\u6612\u7166\u65F5\u6622\u9DC3\u65FC\u667E\u8127\u8101\u90E5\u7E22\u5197\u81AC\u9DAA\u809B\u521E\u585A\u8115\u80CA\u518A\u899E\u7797\u779A\u7762\u80D0\u81C5\u81A7\u92A9\u9CFB\u91FD\u91E9\u939E\u928A\u91F4\u942E\u93D4\u93B5\u91F1\u9226\u91DA\u9294\u92AB\u5F1A\u940A\u9300\u92E1\u9253\u920A\u9264\u5F05\u9446\u9439\u9283\u92C5\u67E6\u68D7\u6A92\u6983\u677F\u674B\u693C\u6A41\u6AE0\u6755\u6739\u6AB6\u67EB\u6760\u6791\u69F1\u674D\u697A\u677C\u6892\u677A\u683A\u6784\u6AC2\u68B1\u6A9B\u6893\u6AA4\u69B1\u6C93\u6C69\u705D\u95CA\u6ED8\u6FC9\u6C43\u6C9D\u7014\u5863\u76EA\u705A\u7870\u6E22\u6F07\u6DDA\u7029\u6FC2\u6F25\u6D68\u6FE3\u6FF1\u6C6F\u6D60\u6C3F\u7057\u6C9C\u705E\u6FAA\u6D12\u9D3B\u6C8D\u6E79\u6CD3\u6C80\u7039\u6E1D\u6DBB\u67D2\u6D2D\u6C6B\u6E35\u934C\u6D83\u6FC4\u6E64\u6ED6\u655E\u70AF\u7091\u7192\u7203\u9843\u7113\u71A4\u70E1\u71B5\u6996\u6128\u9DC7\u589D\u6470\u52AB\u87AB\u58D6\u5F40\u5829\u55C0\u6B2F\u5609\u58FF\u57B6\u99AB\u767F\u7202\u9DEE\u9845\u7910\u5DA8\u7BF9\u5297\u912E\u9DCD\u79CD\u5241\u79DE\u9121\u91C6\u7C03\u7C01\u7BE6\u7C19\u9E04\u61F2\u555F\u5DB4\u7B30\u7C48\u9DCE\u90B8\u68A8\u5F73\u9D29\u74DD\u9EF4\u7B4D\u9D30\u5284\u90C8\u7C4A\u7B38\u9D9E\u515F\u90CB\u61A9\u89A3\u9DB9\u7B8E\u7B18\u3001\u9DDB\u9118\u912C\u617C\u882F\u5246\u5E8B\u7FA9\u6825\u5E80\u9E83\u9CF6\u5E87\u6020\u5F01\u9DCF\u7A75\u5B8B\u5EFE\u8F5B\u8EFF\u9DB7\u9DB1\u5BA7\u524B\u9D33\u5BF1\u5BE3\u4E42\u5187\u90C1\u760C\u75A2\u730F\u7653\u75FB\u75F2\u760F\u75CF\u9E11\u7598\u75FE\u5937\u65EE\u53B9\u75D1\u9D10\u7F8D\u5C22\u5E4A\u87BE\u8746\u8876\u88CD\u5191\u9E0D\u8CA2\u899D\u9860\u73A5\u9CFF\u738A\u81F9\u9104\u6B45\u7400\u73AB\u73CC\u73AD\u7467\u73EB\u9DE3\u61A8\u9D5B\u9D37\u6BA5\u6050\u5262\u6CF5\u9143\u6B4C\u6554\u7923\u90D6\u5140\u5794\u5F1D\u58AE\u89D4\u6C36\u9C74\u5F18\u5F14\u965C\u6A83\u4E45\u58AC\u4EF4\u70CB\u6C46\u5C12\u9DE1\u96B9\u6820\u96BB\u9D40\u72A8\u6041\u4F76\u4FCD\u4F82\u6024\u5348\u9D19\u4F87\u4F51\u9BC8\u500F\u4EDD\u5D5E\u4FB2\u6C14\u4F04\u5020\u4F08\u8CB8\u67CB\u4F05\u9DAC\u9837\u50DB\u4EDA\u50C6\u506F\u65E8\u71B2\u66F6\u60B7\u52FA\u52FC\u6129\u5309\u610A\u619F\u6049\u5FC9\u5FF7\u615B\u6083\u6D2F\u6277\u6293\u605D\u63D9\u6369\u6423\u913B\u710E\u62F8\u6368\u64E2\u6452\u6370\u64BE\u6459\u9091\u5504\u53ED\u528B\u5533\u5693\u6222\u5454\u53FB\u5512\u5540\u8E5D\u5514\u5505\u5565\u54B0\u7378\u55BF\u5D52\u9D1E\u54A1\u5681\u56C6\u558D\u81C0\u8D00\u58C2\u5ADB\u7E44\u9A02\u9CED\u622E\u5C67\u5C50\u6170\u61B5\u5C5D\u7FCB\u9D8B\u90B5\u5DF2\u5980\u69CA\u84AF\u9862\u83F3\u9DEC\u6B49\u60CE\u838C\u9DCB\u843F\u85EB\u84FA\u7F91\u6201\u8624\u83DE\u85D2\u85E2\u8605\u84F0\u83FA\u84D6\u84A7\u8285\u8413\u82E7\u839E\u913F\u9799\u9D31\u827D\u911A\u9DF0\u8576\u83A4\u828B\u85BD\u83EB\u911E\u859E\u84E9\u8324\u8320\u830C\u8625\u829E\u8345\u839D\u82B6\u7F8B\u830D\u9100\u85EF\u82E8\u5E76\u8633\u9D67\u834A\u8275\u5231\u5B73\u8585\u66F2\u8335\u858E\u750D\u85E3\u8596\u85D7\u8578\u85F9\u849F\u527B\u5CC8\u5CF8\u5CD6\u5D9A\u5CCF\u5C8B\u5CDE\u96DF\u5CAD\u5C92\u5CC6\u8278\u5CF7\u5AE6\u9DE5\u7E30\u7D9F\u7D01\u7E2F\u7D7B\u60A8\u59C5\u69F3\u5A5D\u59FC\u56F0\u6BCC\u9DDD\u56EE\u6BD8\u9DD0\u56D7\u8197\u61D8\u701C\u6E25\u769E\u9DFD\u7B47\u9C34\u9D45\u9D5A\u5FD2\u90E9\u5135\u9D68\u5C73\u9848\u5A5C\u9D58\u83B0\u84CF\u96C8\u534C\u85C5\u850E\u5C7E\u9D73\u9D2D\u9E80\u9D2F\u4EDC\u862E\u9E06\u986A\u9CFC\u7517\u6B33\u8FE5\u9D90\u5955\u6207\u6579\u890E\u984F\u9DDF\u619D\u76BB\u901C\u5FD0\u5287\u8FC6\u9E17\u9F92\u7931\u8B8B\u8A57\u6BEB\u8A63\u56C8\u4E69\u8B2A\u8B2F\u9D17\u8182\u908B\u8931\u9F4C\u535C\u684C\u97F9\u97F8\u6220\u5353\u903F\u6B46\u66B9\u904F\u97FB\u97F6\u9062\u97FA\u9800\u9000\u9ADC\u904E\u9031\u9D99\u671B\u6BC3\u9088\u737B\u904B\u5E1D\u777F\u906F\u8FF5\u750B\u7517\u9117\u6B4A\u6B33\u96E2\u6575\u9059\u9031\u557B\u8FE5\u8C9E\u6572\u65C1\u9F8D\u516D\u5546\u9D90\u9870\u4EA4\u5955\u5E1F\u6207\u5157\u889E\u5F08\u5DD2\u89AA\u9D89\u8668\u65B0\u5B70\u901F\u906B\u9055\u90ED\u6B51\u96DC\u6566\u6579\u56B2\u7763\u9316\u7CB2\u9024\u58D1\u97F0\u9910\u60C4\u88FB\u900D\u8FF7\u9074\u53D4\u9D81\u5C31\u52CD\u654A\u4E3B\u9035\u9076\u6BB6\u6C03\u893B\u8667\u8FFC\u9060\u9068\u9054\u8FEB\u9CEA\u9051\u4EB9\u900F\u9036\u890E\u8FD4\u9022\u9004\u9020\u5F65\u7522\u905B\u8922\u9002\u9041\u528C\u983B\u986A\u984F\u8FD1\u907E\u9005\u4EA2\u8FED\u9020\u8FFD\u65B9\u904D\u9080\u7FFD\u908A\u8863\u8FCE\u908D\u5EC9\u88D2\u905E\u80B2\u9021\u8FF0\u719F\u7385\u587E\u5145\u6594\u900B\u8FF0\u9011\u8FD6\u87A4\u7388\u7387\u8FE8\u88AC\u68C4\u906E\u7386\u6597\u9083\u8FA3\u9D6B\u8D1B\u5F70\u74E3\u7AF7\u8FA8\u8FA6\u9123\u902D\u8FAE\u9023\u5E76\u74F6\u8FAF\u6587\u6595\u8FF6\u907C\u9D41\u9CFC\u9DDF\u9E06\u6596\u9016\u901B\u6592\u6548\u8803\u981D\u5F65\u7522\u658C\u90CA\u6548\u5FDE\u619D\u9070\u6489\u541D\u8FE6\u7D0A\u9F7E\u5E02\u902E\u8877\u6B62\u907A\u6B65\u9003\u9063\u4EA6\u8FEA\u4E0A\u80AF\u8D07\u89B7\u8FFA\u8FC2\u76BD\u76BB\u9087\u8FCB\u6B6D\u9E07\u6C08\u6B72\u6B67\u8FD7\u52EF\u5277\u986B\u9090\u8A00\u901C\u8FFE\u6B54\u6B64\u5FD0\u96CC\u9017\u903C\u9010\u9F52\u8FD3\u9015\u9077\u5361\u9038\u9082\u8D0F\u905C\u9E01\u9079\u88A4\u901A\u8FFB\u88B2\u8FC5\u8803\u980F\u909F\u9086\u7FB8\u5B34\u81DD\u8912\u9032\u6BC5\u8FD5\u52BE\u523B\u5287\u9826\u9014\u903E\u903E\u8FC4\u591C\u6B2C\u5352\u8FE4\u8FEE\u864D\u8FFF\u7725\u8CB2\u922D\u67F4\u8FC6\u58DF\u9DFE\u9E17\u8655\u8656\u864E\u864E\u52F4\u882A\u9F91\u4E9B\u7961\u9F92\u7826\u7931\u9B33\u8C66\u89DC\u9B86\u80D4\u98FA\u8654\u8659\u5470\u865E\u865E\u807E\u8650\u8FE3\u9F94\u865B\u8661\u8FCD\u888C\u7D2B\u819A\u76E7\u865C\u6B76\u616E\u9F98\u8972\u8654\u8A3E\u8B8B\u901D\u5360\u8ADF\u8B4B\u8B95\u8B01\u88DB\u8B3E\u818F\u8ABF\u8AC2\u8AE2\u8A5B\u8AFC\u8A77\u4EAD\u8C6A\u8B20\u4EB3\u8ABF\u9AD8\u8A57\u8ACD\u4EAE\u6BEB\u8998\u8B11\u8A1F\u8AE1\u8AAA\u8AC3\u8A56\u8A0E\u8A23\u8AF1\u8ABA\u8AEB\u8ABB\u4EAC\u8A9A\u8B9C\u8AC7\u8A2C\u8A4A\u8B9F\u8A69\u8A7F\u8B4A\u8B78\u8A8C\u8A70\u8B46\u8B80\u8AFB\u8B3B\u8A98\u8AC9\u8B52\u8A7B\u901E\u8B6D\u8AA5\u8A75\u8B1D\u8A85\u8AC8\u8A71\u8A1E\u8B51\u8A22\u8A6C\u8A34\u8A2D\u8AF7\u8B57\u8A17\u8AD9\u8A46\u8A44\u8ADE\u8B06\u8B9A\u54C0\u8AC0\u8B25\u8B0F\u8ADB\u8ABD\u8B15\u8A8F\u8AF4\u8AA0\u8AD3\u8AA7\u8A39\u8A59\u8A27\u8A76\u8A60\u8A92\u8AEE\u8A66\u8A52\u8AA1\u8B67\u8B36\u8A08\u8B13\u8A96\u8AF5\u8ABC\u8A6B\u8B85\u8B53\u8AF8\u8AE0\u8A51\u8A41\u8A74\u8A7C\u8A91\u8B47\u8A87\u8A13\u8B31\u8A82\u8AB9\u5256\u8A0C\u8B23\u8A0F\u8A55\u901E\u8B1C\u8B88\u8A10\u8B40\u8A9E\u8AAB\u8A02\u8A36\u8AA3\u8AEE\u8AE8\u8AD1\u8B56\u8A1D\u8A99\u74FF\u8B24\u8AF2\u8B5A\u8A3C\u8B82\u8B6B\u4EAB\u70F9\u8B4E\u8AC2\u8AA6\u8A83\u8A7A\u8A0A\u8A95\u90E8\u8B94\u8A6D\u4EA8\u8ADD\u8B49\u8B0B\u8B92\u8AB8\u8A25\u8AB0\u8B22\u8B59\u8A3A\u8A45\u8B96\u8AD7\u8B12\u8A31\u6568\u8AD6\u8A6E\u8AED\u8B63\u8AED\u8A16\u8A1B\u8A50\u8B55\u8AA8\u8A62\u8A63\u8A11\u8B10\u8B7A\u8AE7\u8A4D\u8ADC\u8A30\u8B05\u8A84\u8B7F\u8ACB\u8B2E\u8AD8\u8B5F\u8B42\u8AE4\u907B\u8AFF\u907B\u8B54\u8944\u8AA4\u8B5D\u9050\u8A12\u8A54\u8B45\u8A8D\u8ACF\u8B98\u8B35\u8A86\u8B2C\u8A61\u8A5E\u8B33\u8A4E\u8A18\u8A8B\u8B18\u8B28\u8B6A\u8B7E\u8B5C\u8B1A\u8B70\u56C8\u8AFE\u8B8C\u8B39\u8A4C\u8B5C\u8AC6\u8B00\u8B41\u8AF6\u8B77\u8A73\u8B99\u8A81\u8B1B\u8B50\u8B68\u8B19\u8B0A\u8A15\u4E69\u9078\u8AEF\u8A58\u8B4F\u8A4F\u8B02\u8B16\u8AB2\u8B6F\u8AF0\u8B84\u8A03\u8AE6\u8B9E\u8B17\u8B2B\u8B2A\u8A68\u8B48\u6541\u8B0E\u8AD4\u8A3B\u8AFA\u8A2A\u8B58\u8B30\u8AFA\u8B74\u8A3F\u8AB6\u8B3C\u8B14\u8B2F\u8AD5\u8A40\u8B1E\u8AC4\u8AD2\u8B79\u8B93\u8AF3\u8B27\u8A72\u8B60\u8B2B\u8FC9\u9072\u892D\u8FE2\u4E0E\u74EC\u90A1\u65C3\u65D3\u65DF\u65C2\u65CC\u65BB\u65C4\u65C5\u65DB\u65C6\u653E\u65D6\u65D0\u65DA\u65BF\u65CB\u65DD\u65CD\u65CF\u65BD\u65CE\u65D7\u65BC\u65D2\u8FE1\u907F\u65DE\u7ACB\u97F3\u7ADF\u7AE0\u610F\u7AED\u7AEB\u9052\u7AE6\u9E15\u9D17\u98AF\u9053\u6232\u7AE3\u8F9B\u7AE4\u4F47\u9001\u7AD1\u903D\u9871\u9073\u9042\u7AD8\u9756\u7FCA\u7AEE\u8FF8\u9058\u9006\u6EAF\u7AEF\u59BE\u906D\u9081\u7AE5\u9075\u7AD9\u8FBF\u9F66\u9F5F\u8D19\u89A4\u5C0E\u53E1\u9DF2\u5F6A\u9F72\u9F57\u9F6F\u8665\u9F5D\u9F7B\u79BB\u9F6E\u9F65\u9044\u9F6C\u9F56\u9F61\u866A\u9F58\u9F55\u9F54\u9F63\u9F59\u9F5B\u9F7A\u9F5E\u9F76\u9F6A\u9F60\u9F71\u9F77\u9F70\u9F78\u751D\u9F6B\u9F75\u9F74\u9F5C\u8664\u7AF6\u4EA1\u8093\u8182\u88D4\u727D\u76F2\u6757\u58C5\u7515\u7F4B\u9954\u8841\u96CD\u5DDF\u4EA5\u74E4\u7384\u755C\u52F7\u902F\u9099\u8CCC\u5FD8\u6C13\u5984\u5DE1\u908B\u88F9\u88CF\u9E79\u9E75\u9047\u905D\u908F\u9084\u8931\u8870\u9110\u755D\u9E7C\u8FF4\u7A1F\u7A1F\u4EB6\u5363\u9E7A\u9F4A\u9F4D\u9F4E\u9F4B\u9F4C\u5291\u9F4F\u535E\u9034\u9049\u9069\u8FD2\u8DE1\u9019\u907D\u8FE0\u904A\u9067\u9085\u900C\u5159\u515B\u515E\u515D\u5161\u5163\u55E7\u74E9\u7CCE"),zT=AV,HT=kV;function VT(e){return MV(e).detectedCharacters=="traditional"}function MV(e){for(var t={inputLength:e.length,simplifiedCharacters:0,traditionalCharacters:0},n=0;n<e.length;n++){var r=e.substr(n,1);if(IV(r)&&t.simplifiedCharacters++,LV(r)&&t.traditionalCharacters++,n==e.length-1)return t.simplifiedCharacters>t.traditionalCharacters?(t.detectedCharacters="simplified",t.detectionRate=t.simplifiedCharacters/t.traditionalCharacters|1):t.simplifiedCharacters<t.traditionalCharacters?(t.detectedCharacters="traditional",t.detectionRate=t.traditionalCharacters/t.simplifiedCharacters|1):(t.detectedCharacters="unknown",t.detectionRate=0),t}}function IV(e){var t=GT(e);return new RegExp(t).test(zT)}function LV(e){var t=GT(e);return new RegExp(t).test(HT)}function GT(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var DV=/[\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u3005\u3007\u3021-\u3029\u3038-\u303B\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFA6D\uFA70-\uFAD9]|\uD81B[\uDFE2\uDFE3\uDFF0\uDFF1]|[\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF]/g,PV=/[ぁ-んァ-ン]/g,RV=/[\u1100-\u11FF\u302E\u302F\u3131-\u318E\u3200-\u321E\u3260-\u327E\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/g,NV=/(\s+)|([\p{P}\p{S}\p{N}])/gu,FV=[["zh-CN",DV],["ja",PV],["ko",RV]];function ku(e){if(!e)return"auto";let t="auto",n=0,r=0,i=e.match(NV);i&&(r=i.reduce((s,u)=>s+u.length,0));let a=e.length-r;if(a<=0)return"auto";let o={};for(let s of FV){let u=s[1],l=s[0],c=e.match(u),d=c?c.length:0;o[l]=d,d>n&&(n=d,t=l)}if(a>0){let s=o.ja/a;if(o.ko/a>.1)return"ko";if(s>.1)return"ja"}return n*2.5/a>.5?t==="zh-CN"?VT(e)?"zh-TW":"zh-CN":t:"auto"}var WT="auto",Am="auto";function qT(e){WT=e}function Fr(e){Am=e}function dn(){return Am!=="auto"?Am:WT}function km(){return Am}function KT(e){let{signal:t,...n}=e;if(t?.aborted){e.onFinish?.("request aborted");return}let r=Be.runtime.connect({name:"fetchStream"}),i={type:"start",options:n};r.postMessage(JSON.stringify(i)),r.onMessage.addListener(o=>{let{data:s,error:u,finish:l,reason:c}=JSON.parse(o);if(s&&e.onMessage?.(s),u){let d=new Y(u.name||"fetchError",u.message).initNetWork(u.errorCode||500).initStack(u.stack);e.onError?.(d)}l&&e.onFinish?.(c)}),r.onDisconnect.addListener(()=>{t?.removeEventListener("abort",a)});function a(){r.postMessage(JSON.stringify({type:"abort"}))}t?.addEventListener("abort",a)}var Mm=!1;async function x3(){try{if(typeof chrome>"u"||!chrome.runtime?.getContexts)return Mm;let t=(await chrome.runtime.getContexts({contextTypes:[chrome.runtime.ContextType.SIDE_PANEL]})).length>0;return k.debug(`[side-panel] getSidePanelOpenStatus result: ${t}`),Mm=t,Mm}catch{return Mm}}x3();var Lm,Im=null;async function QT(e,t=.3){try{if(Lm==!1)return"auto";if("LanguageDetector"in self){if(!Im){if(Im=await Promise.race([await LanguageDetector.create(),new Promise(i=>setTimeout(()=>i(null),500))]),!Im)throw new Error("googleDetector is null");Lm=!0}let r=(await Im.detect(e))[0];return!r||r.confidence<t?"auto":r.detectedLanguage==="zh"?ku(e):ye(r.detectedLanguage)}}catch{return Lm=!1,"auto"}return"auto"}function C3(){return Lm}var T3=!1;async function uo(e,t=!1){if(Me()||!T3&&!t)return null;try{let n=await YT(e);return k.debug("server language detect:",n),n}catch(n){return k.debug("server language detect error",n),Dm(!1),null}}async function YT(e,t=1500){let n,r=new Promise((a,o)=>{n=setTimeout(()=>o(new Error(`Timeout after ${t}ms`)),t)}),i=Re({url:`https://lang-detect.${j.HOST_NAME}/api/predict/batch`,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({texts:e.map(a=>a.trim().toLocaleLowerCase())}),timeout:t});try{let a=await Promise.race([i,r]);return BV(a,e)}finally{n&&clearTimeout(n)}}function BV(e,t){return e.map((n,r)=>{let i=t[r],a=n[0];if(!a)return{lang:"auto",text:i,confidence:0};let o=Object.keys(a)[0],s=ye(o);return{lang:s,text:i,confidence:s==="auto"?0:a[o]}})}var ZT="language_service_available";async function JT(e){if(!e.rule.enableServerDetectLanguage||Me()||T3)return;if(await Qr(ZT,!1)){Dm(!0);return}try{await YT(["hello world"],1e3),Dm(!0),k.debug("Language service is available")}catch(n){Dm(!1),k.debug("Language service is not available",n)}}function Dm(e){T3=e,Ga(ZT,e)}function XT(e,t){try{let n=lt();if(!t.config?.rawUserConfig?.enableLangDetectReport&&n.DEBUG!=="1")return;let r=e.filter(a=>!a.from||a.from==="auto").map(a=>({text:a.pureText||a.text||"",localLang:a.from,serverLang:a.fromByService||null})),i=Date.now()+(Math.random()*100).toFixed(0);Re({url:j.SELF_SERVICE_LANG_DETECT_COLLECT_URL,method:"POST",responseType:"text",body:JSON.stringify({nonce:i,subject:"lang_detect",logs:[JSON.stringify(r)]})})}catch(n){k.debug("report language detect error",n)}}var $T=new Map;async function e7(e,t){if(!e.sensitiveApiHost)return t.map(o=>o.text);let n=new URL(e.sensitiveApiHost);n.pathname="/api/mask_text_batch";let r={url:n.toString(),method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json"},timeout:1e4};e.sensitiveApiKey&&(r.headers.Authorization=`Bearer ${e.sensitiveApiKey}`);let i=await Re(r);if(i.error)throw new Error(i.error.message);let a=[];for(let o of i.output)a.push(o.text),$T.set(o.text,o.maskMeta);return a}async function t7(e,t,n){if(!e.sensitiveApiHost)return n;let r=new URL(e.sensitiveApiHost);r.pathname="/api/restore_text";let i={url:r.toString(),method:"POST",body:JSON.stringify({text:n,maskMeta:$T.get(t)}),headers:{"Content-Type":"application/json"},timeout:1e4};e.sensitiveApiKey&&(i.headers.Authorization=`Bearer ${e.sensitiveApiKey}`);let a=await Re(i);if(a.error)throw new Error(a.error.message);return a.output.text}var Br={getIsOpenSidePanel:()=>!1,toggleMockSidePanel:(e,t)=>{},closeMockSidePanel:()=>{}};function pt(){return he("background",{method:"getUserConfig"})}var St={async get(e){let t=e.startsWith(j.BASE_API)?e:j.BASE_API+e,n=await le.getUserToken(),r=await Qe(),i=await Re({url:t,headers:{"Content-Type":"application/json",token:n,"Accept-Language":r.interfaceLanguage}});if(i.code==0)return i.data;throw new Error(i.message)},async post(e,t){let n=e.startsWith(j.BASE_API)?e:j.BASE_API+e,r=await le.getUserToken(),i=await Qe(),a=await Re({url:n,method:"POST",headers:{"Content-Type":"application/json",token:r,"Accept-Language":i.interfaceLanguage},body:JSON.stringify(t)});if(a.code==0)return a.data;throw new Error(a.message)},async delete(e,t){let n=e.startsWith(j.BASE_API)?e:j.BASE_API+e,r=await le.getUserToken(),i=await Qe(),a=await Re({url:n,method:"DELETE",headers:{"Content-Type":"application/json",token:r,"Accept-Language":i.interfaceLanguage},body:JSON.stringify(t)});if(a.code==0)return a.data;throw new Error(a.message)}};function Re(e){return he("background",{method:"fetch",data:e})}function Gc(e){return Me()?(e.fetchPolyfill=globalThis.GM_fetch,Re(e)):(e.responseType="stream",KT(e))}function bt(e){return Lr(),he("background",{method:"setUserConfig",data:e})}function Sn(){return pr()}function ti(e){return ni(e)}async function Hc(e,t){try{switch(e){case"locale-chinese":return ku(t.text);case"background":return C3()?"auto":await he("background",{method:"detectLanguage",data:t});case"js-lib":return C3()?"auto":k8(t.text,t.minLength);case"google-model":return await QT(t.text,.3)}}catch{}return"auto"}async function Ve(e){let t=e.logPrefix,n=(...s)=>{t&&k.debug(t,...s)};n(`\u5F00\u59CB\u68C0\u6D4B\u8F93\u5165\u8BED\u8A00 '${e.text}'`),e.minLength=2;let r=await Hc("locale-chinese",e);n("\u672C\u5730\u4E2D\u6587\u68C0\u6D4B\u7ED3\u679C",r);let i=[r];e.ignorePageLang||(i.push(dn()),n("\u8FFD\u52A0\u9875\u9762\u8BED\u8A00",i[i.length-1]));let a=await Hc("google-model",e);if(n("\u8C37\u6B4C\u6A21\u578B\u68C0\u6D4B\u7ED3\u679C",a),a=="auto")if(!Me()&&!Ot()){let s=await Hc("background",e);if(i.unshift(s),n("\u540E\u53F0\u68C0\u6D4B\u7ED3\u679C",s),e.addJsLangDetect){let u=await Hc("js-lib",e);i.push(u),n("JS \u5E93\u68C0\u6D4B\u7ED3\u679C",u)}}else{let s=await Hc("js-lib",e);i.unshift(s),n("JS \u5E93\u68C0\u6D4B\u7ED3\u679C",s)}else i.unshift(a);i[0]?.startsWith("zh")&&r?.startsWith("zh")&&i.unshift(r),n("\u5019\u9009\u8BED\u8A00\u5217\u8868",i);let o=OV(i,e.strictCheck||!1,e.text);if(n("\u5019\u9009\u8BED\u8A00\u6700\u4F73\u7ED3\u679C",o),o==="auto"&&e.serverDetect){let u=(await uo([e.text],!0))?.[0]?.lang||"auto";if(n("\u670D\u52A1\u7AEF\u515C\u5E95\u68C0\u6D4B\u7ED3\u679C",u),u!=="auto")return u}return o=="auto"&&a!="auto"?a:o.startsWith("zh")&&!r.startsWith("zh")?"auto":o=="auto"?e.chineseFirst&&r.startsWith("zh")?r:!e.translateService||!V8.includes(e.translateService)?"auto":i[0]:o}function OV(e,t,n){let r={};e.forEach(o=>{o&&o!="auto"&&(r[o]=(r[o]||0)+1)});let i=e[0],a=0;return Object.entries(r).forEach(([o,s])=>{s>a&&(i=o,a=s)}),Object.keys(r).length==1&&n.length>20||t||a>1?i:"auto"}async function Pm(e){return await Ve({text:e,ignorePageLang:!0})}function n7(e){let t=new CustomEvent(_a,{detail:e});return document.dispatchEvent(t),he("popup",{method:"setPageStatus",data:e})}function r7(e){return he("background",{method:"queryParagraphCache",data:e})}function i7(e){return he("background",{method:"setParagraphCache",data:e})}function ri(e=!1,t="",n){let r=document.querySelector(`meta[name=${U}-options]`);return ga()?(location.href=j.OPTIONS_URL,Promise.resolve()):r?(location.href=location.href.replace(/options.html.+/g,`options.html${t}`),Promise.resolve()):n?(globalThis.open(Ti(n)+t),Promise.resolve()):he("background",{method:"openOptionsPage",data:{newTab:e,pageRoute:t}})}function Ti(e){return Me()||Ot()||e?j.OPTIONS_URL:Be.runtime.getURL("options.html")}function a7(e=""){return Be&&Be.runtime&&Be.runtime.getURL?Be.runtime.getURL("options.html"):""}function Rm(e){return ga()?(location.href=j.OPTIONS_URL+"#about",Promise.resolve()):e?(globalThis.open(j.OPTIONS_URL+"#about"),Promise.resolve()):he("background",{method:"openAboutPage"})}function tt(e){return ga()?(location.href=e,Promise.resolve()):he("background",{method:"openInTab",data:e})}function Wc(e){return he("background",{method:"setBadge",data:{text:e}})}function Nm(e,t){return he("background",{method:"getDelay",data:{key:e,options:t}})}function o7(e,t){return he("background",{method:"acquirePermit",data:{key:e,limit:t}})}function s7(e,t){return he("background",{method:"releasePermit",data:{key:e,limit:t}})}function u7(e){return he("background",{method:"clearTranslateQueue",data:{key:e}})}function l7(){return he("background",{method:"getIsSupportIsOnToolbar"})}function c7(){return he("background",{method:"getIsOnToolbar"})}function Fm(){return he("background",{method:"updateVideoSubtitleStatus"})}function es({targetLanguage:e,text:t}){he("background",{method:"updateToggleTranslateContextMenu",data:{targetLanguage:e,text:t}})}function Eg(){he("background",{method:"updateImageMenu"})}function wg(){he("background",{method:"updateUninstallUrl"})}async function d7(e,t,n,r,i){if(!await he("background",{method:"createOffscreen",data:{context:t,urlHash:n,mimeType:r,imgBuffer:i}}))throw Error(e("toOldChrome"));return he("offscreen",{method:"triggerTranslateImage",data:{context:t,urlHash:n,mimeType:r,imgBuffer:i}})}function lo(){return he("background",{method:"queryAllTermsMeta"})}async function Mu(e){return await he("background",{method:"queryTerms",data:e})}function ts(e){return he("background",{method:"saveTerms",data:e})}function g7(e){return he("background",{method:"deleteTerms",data:e})}function m7(){return Ie.local.get(kh,"0")}function E3(e){return Ie.local.set(kh,e)}function f7(e,t){return he("background",{method:"toggleTranslatePage",data:{trigger:e,currentPageStatus:t}})}var S3;function co(e,t,n,r){if(!e)return;let i=e.config,a;if(t==="shortcut"&&n===void 0?a=!Br.getIsOpenSidePanel():a=n!==!1,a){let u=document.body.clientWidth;setTimeout(()=>{document.body.clientWidth<u&&se({key:"openSidePanel",ctx:e,params:{trigger:t}})},1500)}if(Br.getIsOpenSidePanel()||Me()||!qn()||ga()){Br.toggleMockSidePanel(i,a);return}if(S3&&clearTimeout(S3),t=="shortcut"&&r||(he("background",{method:"toggleSidePanel",data:{open:a}}),!a))return;let o=!1,s=()=>{o||Br.getIsOpenSidePanel()||(o=!0,Br.toggleMockSidePanel(i,a))};he("background",{method:"isSidePanelSupported"}).then(u=>{u||s()}),S3=setTimeout(async()=>{if(!(o||Br.getIsOpenSidePanel()))try{await w3()||(k.debug("[side-panel] fallback to mock side panel"),s())}catch{s()}},500)}function ns(e,t){e&&(co(e,"reward_center",!0),he({type:"side_panel",name:"reward_center"},{method:"openRewardCenter",data:{trigger:t}},!0))}function p7(){Br.getIsOpenSidePanel()&&Br.closeMockSidePanel(),qn()&&he("background",{method:"setSidePanelStatus",data:{isOpen:!1}})}async function w3(){try{return Br.getIsOpenSidePanel()||await x3()?!0:await he("background",{method:"isOpenSidePanel"})}catch{return!1}}function Uh(e){return he("background",{method:"getCurrentI18nLocales",data:{lang:e}})}var Vc;async function _V(e,t){if(Me())return!0;if(Vc!==void 0)return Vc;if(!await he("background",{method:"createOffscreen"}))return!1;if(typeof t=="number"&&t>0)try{return await Promise.race([he("offscreen",{method:"initAIFW",data:{maskConfig:e}}),new Promise((r,i)=>setTimeout(()=>i(new Error("timeout")),t))]),Vc=!0,!0}catch{return Vc=!1,!1}else return await he("offscreen",{method:"initAIFW",data:{maskConfig:e}}),Vc=!0,!0}async function h7(e,t){let n=t.map(r=>r.text);try{return e.sensitiveMode==="close"?n:e.sensitiveMode==="custom"?await e7(e,t):Me()?n:(await _V(e.maskConfig,5e3),await he("offscreen",{method:"maskTexts",data:{texts:t}})||n)}catch{return n}}async function y7(e,t,n,r){let i=null,a="";try{return!n.includes(Yd)||e?.sensitiveMode==="close"?n:(a=n,e?.sensitiveMode==="custom"?(a=await t7(e,t,n),a||n):Me()?n:(a=await he("offscreen",{method:"restoreText",data:{originalText:t,translatedText:n}}),a||n))}catch(o){return i=o,k.error("[sensitive-decode] error",o),n}finally{!i&&a&&r&&k.info(`[sensitive-decode] "${t}" -> "${a}"`)}}function Iu(e){let n=e.toLocaleString("en-US",{timeZone:"Asia/Shanghai"}).split(" ")[0];return n.endsWith(",")&&(n=n.slice(0,-1)),n}function b7(e){try{let n=e.toLocaleString("en-US",{timeZone:"Asia/Shanghai"}).split(" ")[0];n.endsWith(",")&&(n=n.slice(0,-1));let[r,i,a]=n.split("/");return n=`${a}-${r}-${i}`,n}catch{return"unknown"}}function v7(e){let[t,n,r]=e.split("-");return`${t}-${n.padStart(2,"0")}-${r.padStart(2,"0")}`}function x7(e){e.setMinutes(e.getMinutes()+e.getTimezoneOffset()+8*60),e.setDate(e.getDate()+4-(e.getDay()||7));let t=new Date(e.getFullYear(),0,1);return{week:Math.ceil(((e.getTime()-t.getTime())/864e5+1)/7),year:e.getFullYear()}}function C7(e,t,n=!1){let r=new Date(e);if(Number.isNaN(r.getTime())||t<=0)return!1;let a=Date.now()-r.getTime();if(a<0)return!1;let o=864e5,s=n?o:0,u=t*o;return a>=s&&a<u}async function T7(e){let{events:t,ctx:n,env:r,isDaily:i,isInIframe:a,installedAt:o,imtBrowser:s}=e,u=vn(),l=new Date,c=await eo(),d=await im(),g=await am(),f=Me(),p=new Date(o),h=Iu(p),C=Iu(l),y=h===C,v=24*60*60*1e3,b=l.getTime()-p.getTime()<7*v,x=l.getTime()-p.getTime()<30*v,T=l.getTime()-p.getTime()<365*v,S=jg.parse(window.navigator.userAgent);return t.map(A=>{let M=A.params||{};if(S.os&&(M.os_name=S.os.name||"unknown",M.os_version=S.os.version||"unknown",M.os_version_name=S.os.versionName||"unknown"),S.browser&&(M.browser_name=S.browser.name||"unknown",M.browser_version=S.browser.version||"unknown",s&&(M.browser_name=s.name,M.browser_version=s.version)),S.platform&&(M.platform_type=S.platform.type||"unknown"),S.engine&&(M.engine_name=S.engine.name||"unknown",M.engine_version=S.engine.version||"unknown"),n.translationService){M.translation_service||(M.translation_service=n.translationService);let B=n.config.translationServices?.[M.translation_service];!M.ai_assistant&&M.translation_service&&n.specialAiAssistant?.applyTranslationService==M.translation_service&&(M.ai_assistant=n?.specialAiAssistant.id),B&&(B.group=="custom"&&B.type?M.translation_service=`${B.type}-custom`:B.group?M.translation_service=M.translation_service:B.type&&(M.translation_service=B?.type),B.enableAIContext&&(M.ai_assistant="ai_context"),B.provider&&(M.translation_service_provider=B.provider),B.group=="max"&&(M.translation_service_provider="max"),n.translationService==="openai"&&B.provider==="custom"&&(B.apiUrl?B.apiUrl.startsWith("https://api.openai.com/")?M.openai_is_official="1":M.openai_is_official="0":M.openai_is_official="1"),cr(B)&&!M.ai_assistant&&(M.ai_assistant="common"))}if(M.ai_assistant&&M.ai_assistant.startsWith("custom")&&(M.ai_assistant="custom"),M.ai_assistant_use&&M.ai_assistant_use.startsWith("custom")&&(M.ai_assistant_use="custom"),n.targetLanguage&&!M.target_language&&(M.target_language=n.targetLanguage),n.config.interfaceLanguage&&(M.interface_language=n.config.interfaceLanguage),n.config.enableDefaultAlwaysTranslatedUrls?M.enable_default_always_translated_urls=n.config.enableDefaultAlwaysTranslatedUrls?"1":"0":M.enable_default_always_translated_urls="0",u&&(M.version=u),n.config.enableInputTranslation?M.enable_input_translation=n.config.enableInputTranslation?"1":"0":M.enable_input_translation="0",n.rule.selectionTranslation?.enable?M.enable_selection_translation=n.rule.selectionTranslation.enable?"1":"0":M.enable_selection_translation="0",n.config.translationTheme&&(M.translation_theme=n.config.translationTheme),n.config.alpha&&(M.alpha=n.config.alpha.toString()),n.config.translationLanguagePattern&&n.config.translationLanguagePattern.matches?.length>0?M.always_translate_languages=n.config.translationLanguagePattern.matches.join(","):M.always_translate_languages="none",r.INSTALL_FROM&&(M.install_from=r.INSTALL_FROM),n.config.beta&&(M.beta=n.config.alpha.toString()),n.config.translationArea&&(M.translation_area=n.config.translationArea),h){M.install_day=b7(p);let B=x7(p);M.install_week=`${B.year}${B.week}`}if(n.user){let B=Z8(n.user);B&&Object.keys(B).forEach(O=>{M[O]=B[O]})}else M.user_type="anonymous";n.config.translationMode&&(M.translation_mode=n.config.translationMode),M.userscript=f.toString(),y?M.is_new_user_today="1":M.is_new_user_today="0",M.is_new_user_this_week=b?"1":"0",M.is_new_user_this_month=x?"1":"0",M.is_new_user_this_year=T?"1":"0",n.config.tempTranslateDomainMinutes?M.temp_translate_domain_minutes=n.config.tempTranslateDomainMinutes.toString():M.temp_translate_domain_minutes="0";let P="html";return n.rule.pageType&&(P=n.rule.pageType),M.page_type=P,a?M.main_frame=0:M.main_frame=1,i||n.sourceLanguage&&(M.source_language=n.sourceLanguage),c&&(M.ab_tag=c),d&&(M.ab_group=d),M.campaign=g||"none",{...A,params:M}})}var S7={ai_assistant:"ex_char_arg1",ai_assistant_use:"ex_char_arg2",selection_text:"ex_char_arg3",translation_result:"ex_char_arg4",has_pined:"ex_char_arg5",user_id:"ex_int_arg1",ai_writing_record_length:"ex_int_arg2",ai_writing_mode:"ex_char_arg3",ai_writing_scene:"ex_char_arg4",ai_writing_duration:"ex_int_arg5",enable_side_panel:"ex_char_arg7",popup_switch_extend_field_enabled:"ex_int_arg2",popup_switch_extend_field:"ex_char_arg2",notification_id:"ex_char_arg2",enable:"ex_int_arg2",auto_language_type:"ex_char_arg2",content_length:"ex_int_arg2",scene_total_count:"ex_int_arg2",scene_web_page_count:"ex_int_arg3",scene_subtitle_video_count:"ex_int_arg4",scene_selection_count:"ex_int_arg5",scene_mouse_hover_count:"ex_int_arg6",scene_input_count:"ex_int_arg7",scene_ai_writing_count:"ex_int_arg8"};function A3(e){return e?.install_day&&(e.install_day=v7(e.install_day)),e.temp_translate_domain_minutes&&(e.temp_translate_domain_minutes=parseInt(e.temp_translate_domain_minutes.toString()),e.temp_translate_domain_minutes>1e8&&(e.temp_translate_domain_minutes=1e8)),Object.keys(S7).forEach(t=>{e[t]!==void 0&&(e[S7[t]]=e[t],delete e[t])}),e.site_host&&delete e.site_host,e.ex_char_arg10=gt()?"cn":"com",e}function Bm(e){return e.endsWith("_daily")}async function E7(e){let{key:t,ctx:n,forceDaily:r=!1}=e,i=Je(),a=Bm(t),o=`report_${t}`;if(a){if(i)return!1;let s=await Qr(o,0),u=Iu(new Date(s)),l=Date.now(),c=Iu(new Date(l));if(u===c&&!r)return!1;await Ga(o,l)}else if(!n.config.telemetry)return!1;return!0}var UV="self_service_report_batch_state",w7=Promise.resolve();function k7(e){let t=w7.then(e,e);return w7=t.then(()=>{},()=>{}),t}function M7(e){return`${UV}_${e}`}async function I7(e){try{let t=await Qr(M7(e),null);return{logs:t?.logs??[],firstEnqueueAt:t?.firstEnqueueAt??null}}catch{return{logs:[],firstEnqueueAt:null}}}async function L7(e,t){try{await Ga(M7(e),t)}catch{}}function jV(e){if(!Me())return e;let t=new URL(e);return t.searchParams.set("timestamp",Date.now().toString()),t.toString()}function D7(e){let t=!!e?.config?.batchReportConfig?.enabled,n=e?.config?.batchReportConfig?.maxSize??10,r=e?.config?.batchReportConfig?.maxWaitMs??5*60*1e3;return{enabled:t,maxSize:n,maxWaitMs:r}}function k3(e,t){return k7(async()=>{let n=await I7(t);n.logs.length===0&&(n.firstEnqueueAt=Date.now()),n.logs.push({log:e,source:t}),await L7(t,n)})}var A7={};async function Lu(e,t,n=!1){try{let r=A7[t];r&&clearTimeout(r);let{enabled:i,maxSize:a,maxWaitMs:o}=D7(e);if(!i)return;await k7(async()=>{let s=await I7(t),u=s.logs.length>=a,l=s.firstEnqueueAt||0,c=Date.now()-l>=o;if(!u&&!c&&!n){let f=o-(Date.now()-l)+1e3;A7[t]=setTimeout(()=>Lu(e,t,n),f);return}let d=s.logs.slice();if(d.length===0)return;await L7(t,{logs:[],firstEnqueueAt:null});let g=d.map(f=>f.log);Om(g)})}catch(r){k.debug("check and report self service error",r)}}function P7(e,t=!1){Lu(e,"report",t),Lu(e,"performance",t)}function M3(e){return D7(e).enabled}function Om(e){try{let t=Date.now()+(Math.random()*100).toFixed(0);Re({url:jV(j.SELF_SERVICE_COLLECT_URL),method:"POST",responseType:"text",body:JSON.stringify({nonce:t,subject:"user_behaviour",logs:e})})}catch(t){k.debug("report request self service error",t)}}var qc=class{from;to;constructor(t){this.from=t.from,this.to=t.to}sendMessages(t){let n={type:t.type,data:t.data,id:t.id||this.getRandomId(),isAsync:!1};globalThis.document.dispatchEvent(new CustomEvent(this.to,{detail:JSON.stringify(n)}))}getRandomId(){return Math.random()*1e17+new Date().getTime()}sendAsyncMessages({type:t,data:n}){return new Promise(r=>{let i=this.handleMessages(s=>{s.id===a&&(r(s.data),i())}),a=this.getRandomId(),o={type:t,data:n,id:a,isAsync:!0};globalThis.document.dispatchEvent(new CustomEvent(this.to,{detail:JSON.stringify(o)}))})}handleMessageOnce(t){return new Promise(n=>{let r=this.handleMessage(t,i=>{n(i.data),r()})})}handleMessage(t,n){return this.handleMessages(r=>{r.type===t&&n(r)})}handleMessages(t){let n=r=>{let a=JSON.parse(r.detail||"{}");a&&typeof a=="object"&&t(a)};return globalThis.document.addEventListener(this.from,n),()=>{globalThis.document.removeEventListener(this.from,n)}}},R7={get(e,t,n){return t in e?(...r)=>{let i=e[t];return typeof i=="function"?i.apply(e,r):Reflect.get(e,t,n)}:r=>e.sendAsyncMessages({type:t,data:r})}};var N7="imt-browser-bridge-event-to-content-script",F7="imt-browser-bridge-event-to-inject",I3=new qc({from:N7,to:F7}),ihe=new qc({from:F7,to:N7}),xr=new Proxy(I3,R7);var L3=!0,B7,O7=!0;async function _7(e){if(!e.rule.enableSiteAutoTranslate||!e.rule.enableAutoTranslateByReferrer)return!1;try{if(HV())return Kc(""),!1;let t=document.referrer,n=B7||await z7();if(!n||n!==t)return!1;let r=Ne();return zV(r,n)}catch(t){return k.error("isAutoTranslateByReferrer error",t),!1}}function U7(e){!L3||!O7||Kc(e==="Translated"?Ne():"")}async function j7(e){try{if(!e.rule.enableAutoTranslateByReferrer){O7=!1;return}B7=await z7(),document.addEventListener("visibilitychange",function(){if(L3=document.visibilityState==="visible",!L3)return;let t=rt();Kc(t==="Translated"?Ne():"")})}catch(t){k.error("initAutoTranslate error",t)}}function zV(e,t){try{let n=cu(e||""),r=cu(t||"");if(!n||!r){let i=new URL(e||"").hostname,a=new URL(t||"").hostname;return i===a}return n===r}catch(n){return k.error("getIsSameMainDomain error",n),!1}}function HV(){try{let e=performance.getEntriesByType("navigation");return!!(e[0]&&e[0].type==="reload")}catch(e){return k.error("isPageReload error",e),!1}}function z7(){return le.getValue(Mh,"")}function Kc(e){return le.setValue(Mh,e)}var Du="Original";function rt(){return Du}function En(e){Du=e,n7(Du);let t=new CustomEvent(tn,{detail:JSON.stringify({type:"updatePageStatus",payload:Du})});document.dispatchEvent(t),Ze()&&xr.updatePageStatus({status:Du}),U7(Du)}var H7="Original";function Pu(){return H7}function Or(e,t){if(t)return;H7=e;let n=new CustomEvent(Ua,{detail:e});document.dispatchEvent(n)}var V7=!1;function gn(){return V7}function go(e){V7=e}var G7="";function mo(){return G7}function _m(e){G7=e}var D3=[];function W7(e){D3=e(D3)}function Um(){return D3}var q7=!1;function K7(){return q7}function Q7(e){q7=e}var Y7=!1;function Qc(){return Y7}function Sa(e){Y7=e}var Z7=!1;function P3(){return Z7}function R3(e){Z7=e}var J7;function X7(e){J7=e}function $7(){return J7}var eS=!1;function N3(){return eS}function jm(e){eS=e}var tS;function Ea(e){tS=e}function ze(){return tS}async function F3(e,t,n=!1,r=!1){let i=ze();if(i&&!i.config?.rawUserConfig?.disableReport)try{let a=T5(),o=lt(),s=o.INSTALL_FROM==="firefox_store";if(a&&(s=!1),s)return;let u=Je(),l=Bm(e);if(!await E7({key:e,ctx:i,forceDaily:n}))return;let{fakeUserId:d,installedAt:g}=await Fc(),f=P8(),p=await T7({events:t,ctx:i,env:o,isDaily:l,isInIframe:u,installedAt:g,imtBrowser:a});r||f.forEach(async h=>{let C=await Re({responseType:"text",url:qV(h),method:"POST",body:JSON.stringify({client_id:d,user_id:d,events:p})})}),i.config.enableSelfServiceReport&&VV(i,d,p),i.config.enablePerformanceReport&&WV(i,p)}catch(a){k.debug("report error",a)}}async function VV(e,t,n){try{if(la())return;let r=M3(e),i=!1;for(let a of n){let o={...a.params,event_name:a.name,device_id:t};e.user?.id&&(o.user_id=e.user.id),Bm(a.name)&&(i=!0),A3(o),r?await k3(JSON.stringify(o),"report"):Om([JSON.stringify(o)])}r&&Lu(e,"report",i)}catch(r){k.debug("report self service error",r)}}var GV=["translate_page","translate_video_subtitle"];function WV(e,t){try{if(la())return;let n=M3(e);t.forEach(async r=>{if(!GV.includes(r.name)||e.config.performanceBlockUrls?.some(s=>Ke(globalThis.location.href,s)))return;let o={...r.params,event_name:`${r.name}_performance`};A3(o),o.site_host=cu(globalThis.location.origin)||"unknown",n?k3(JSON.stringify(o),"performance"):Om([JSON.stringify(o)])}),n&&Lu(e,"performance")}catch(n){k.debug("report self service error",n)}}function qV(e){if(!Me())return e;let t=new URL(e);return t.searchParams.set("timestamp",Date.now().toString()),t.toString()}function se({key:e,ctx:t,params:n,forceDaily:r,ignoreGA:i}){if(t=t||ze(),e=="init_page_daily"){let a="-1";t?.config?.pcFloatBall?.enableSidePanel==!0?a="1":t?.config?.pcFloatBall?.enableSidePanel==!1&&(a="0"),n={...n,enable_side_panel:a}}return F3(e,[{name:e,params:n}],r,i)}function mt(e,t){e.isPro||F3("user_need_pro",[{name:"user_need_pro",params:{trigger:t}}])}var KV;async function nS(){if(Je()){if(Tm()){k.debug("[message] \u767B\u5F55\u57DF\u540D iframe\uFF0C\u8DF3\u8FC7 child iframe \u901A\u9053\u521D\u59CB\u5316");return}let t=globalThis;for(;t.top!=t.self;)t=t.top;let n=Ci.iframe(o8,"*",{targetWindow:t});KV=n,await Ci.connect(n).catch(r=>{k.error("connect with parent frame error",r)})}}function rS(e,t){let n=t.matches||[],r=t.excludeMatches||[];if(r&&!Array.isArray(r)&&(r=[r]),n&&!Array.isArray(n)&&(n=[n]),r.length>0){if(r.includes(e)||r.includes("<all>"))return!1;for(let i of r)if(i.includes("*")&&new RegExp(i).test(e))return!1}if(n.length===0)return!1;if(n.length>0){if(n.includes(e)||n.includes("<all>"))return!0;for(let i of n)if(i.includes("*")&&new RegExp(i).test(e))return!0}return!1}var We=class{static langMap=new Map;serviceConfig;generalConfig;translationOptions;maxTextLength=1800;maxTextGroupLength=50;requestTimeout=30*1e3;retry=2;minTextCount=2;isSupportList=!0;isRichTranslate=!1;isAI=!1;group="custom";headerConfigs={};bodyConfigs={};constructor(t,n,r,i){if(this.isRichTranslate=i,this.serviceConfig=t,this.generalConfig=n,this.translationOptions=r,yT(),t?.retry&&(this.retry=t.retry),t?.requestTimeout&&(this.requestTimeout=Number(t.requestTimeout)),r&&r.minTextCount&&(this.minTextCount=r.minTextCount),t.headerConfigs&&(this.headerConfigs=t.headerConfigs),t.bodyConfigs&&(this.bodyConfigs=t.bodyConfigs),t.disabledAt&&e4(t.disabledAt))throw new Y("translationServiceDiscontinued","The service has been discontinued.");t.group&&(this.group=t.group)}async headerAttachLanguage(t,n){let r=await Qe(),i=I8(n,tg(Object.values(r.managedHostFallbacks||{}).flat()));return(!n||i)&&(t["Accept-Language"]=r.interfaceLanguage),t}async multipleTranslate(t,n,r){let i=mo();if(t.sentences.length===0)return{sentences:[]};let{sentences:a}=t,o=[],{isForceRefresh:s,isForceDebug:u}=QV(a),{maxTextLength:l,maxTextGroupLength:c}=this.getTextLengthLimits(),d=YV(this.serviceConfig,a,l,c,this.isAI,r);if(!d)return{sentences:[]};let g=this.formatRateLimit(this.getRateLimiter());return await ZV(d,o,r,g,n,s,u,i,this),{sentences:o.map(f=>({...f.translatedSentence,systemPrompt:f.systemPrompt,prompt:f.prompt}))}}getTextLengthLimits(){let t=this.maxTextLength;this.serviceConfig&&this.serviceConfig.maxTextLengthPerRequest&&(t=this.serviceConfig.maxTextLengthPerRequest);let n=this.maxTextGroupLength;return this.serviceConfig&&this.serviceConfig.maxTextGroupLengthPerRequest&&(n=this.serviceConfig.maxTextGroupLengthPerRequest),this.translationOptions&&this.translationOptions.usageScene&&["subtitle_video","subtitle_file"].includes(this.translationOptions.usageScene)&&this.serviceConfig&&this.serviceConfig.maxTextGroupLengthPerRequestForSubtitle&&(n=this.serviceConfig.maxTextGroupLengthPerRequestForSubtitle),{maxTextLength:t,maxTextGroupLength:n}}async init(){}async sendMessageStream(t){}getMaxTextGroupLength(){return this.maxTextGroupLength}getRateLimiter(){let t=this.getDefaultRateLimit()||{limit:7,interval:1250},n=this.serviceConfig;return n?.limit&&(t.limit=Number(n.limit)),n?.interval&&(t.interval=Number(n.interval)),t}formatRateLimit(t){return t.limit<1&&(t.interval=Math.round(1e3/t.limit),t.limit=1),t}getDefaultRateLimit(){return{limit:7,interval:1250}}getDefaultConcurrencyLimit(){return 200}getConcurrencyLimit(){let t=this.getDefaultConcurrencyLimit(),n=this.serviceConfig;if(n?.concurrencyLimit){let r=Number(n.concurrencyLimit);if(Number.isFinite(r)&&r>0)return r}return t}getCacheKeyPrefix(){return""}translate(t){throw new Error("Not implemented")}translateList(t){throw new Error("Not implemented")}async formatAndTranslateList(t){let n={...t},{forces:r}=t,i=[],a=ei(this.serviceConfig);if(this.serviceConfig&&a.length>0)try{let{text:u}=t;if(u.forEach((l,c)=>{r&&r[c]!==!0&&!no({text:l,delimiters:a,minTextCount:2,minWordCount:1,noTranslateRegexp:[]})||i.push({text:l,index:c})}),i.length===0)return{text:u,from:t.from,to:t.to};n.text=i.map(l=>l.text)}catch(u){k.debug("formatAndTranslateList error",t,u)}let o=await this.translateList(n),s=t.text;return i.forEach((u,l)=>{s[u.index]=o.text[l]}),{text:s,from:o.from,to:o.to}}async request(t){return this.attachUsageSceneHeader(t),t.url=this.addTimestampToUrl(t.url),await Re(t)}attachUsageSceneHeader(t){let n=this.translationOptions.usageScene;!n||!t?.url||this.shouldAttachUsageScene(t.url)&&(t.headers["x-imt-product-line"]=n)}shouldAttachUsageScene(t){try{let n=new URL(t).host;if(n.includes(O5))return!0;let r=this.serviceConfig?.imtHeaderHosts;if(Array.isArray(r))return r.includes(n)}catch{return!1}return!1}addTimestampToUrl(t){if(!Me())return t;let n=new URL(t);return this.serviceConfig?.monkeyAddTimeStampHosts?.includes(n.host)?(n.searchParams.set("timestamp",Date.now().toString()),n.toString()):t}detectLanguageLocally(t){return Ve({text:t,minLength:18})}detectLanguageRemotely(t){return Promise.resolve("auto")}detectLanguage(t){return t.length>=50?this.detectLanguageLocally(t):this.detectLanguageRemotely(t)}getXTrigger(){let t=this.translationOptions.usageScene;return t==="verify"?"ping":t&&["subtitle_video","subtitle_file"].includes(t)?"translate_subtitle":"translate_page"}enableRichGlossaries(){return this.serviceConfig.enableRichGlossaries&&(this.isRichTranslate||cr(this.serviceConfig))}handleBodyHeaders(t){return t&&Object.keys(t).forEach(n=>{if(n.includes(".remove")){let r=n.replace(".remove","");delete t[n],delete t[r]}}),t}};function QV(e){let t=!1,n=!1;for(let r of e)r.refresh&&(t=!0),r.debug&&(n=!0);return{isForceRefresh:t,isForceDebug:n}}function YV(e,t,n,r,i=!1,a){try{let o=wv(t,n,r,i);if(o)for(let s of o)s.originalSentences=t;if(cg(e)){let s=[];for(let u of t)u.glossaries&&s.push(...u.glossaries);o.forEach(u=>{u.glossaries=Qa(s)})}return o}catch(o){if(a)for(let s=0;s<t.length;s++)a(o,null,t[s]);return null}}async function ZV(e,t,n,r,i={},a=!1,o=!1,s,u){let l=[];for(let c=0;c<e.length;c++){let d=e[c],g=d.url,f=await Nm(u?.translationOptions.translationService||"",r);await it(f||0);let p=mo();if(s&&p!==s)break;l.push(JV(d,g,i,a,o,r,t,n,d.originalSentences,u))}await Promise.allSettled(l)}async function JV(e,t,n,r,i,a,o,s,u,l){let c=!1,d="",g=1;try{if(!l)throw new Error("Translation instance is required");d=l.translationOptions.translationService||"",g=l.getConcurrencyLimit(),await o7(d,g),c=!0;let f=await XV(e,t,n,r,i,l,a),{text:p,sourceTempSentences:h}=f;for(let C=0;C<p.length;C++){let y=Iv(p[C],e.to,l.isRichTranslate||!1),v=h[C];if(v){let{index:b,prefix:x,suffix:T}=v;iS(o,b,{sentence:{...u?u[b]:{text:"",id:-1,url:""},from:e.from,to:e.to},translatedSentence:{...e.originalSentences?.[b]||{text:"",id:-1,url:""},from:e.from,to:e.to},systemPrompt:f.systemPrompt,prompt:f.prompt,sentenceTotalParts:v.sentenceTotalParts,partIndex:v.partIndex,translatedTexts:[x+y+T],callback:s},null)}}}catch(f){aG(f instanceof Y?f:new Y("fetchError",f.message),e,o,s,l?.translationOptions)}finally{c&&await s7(d,g)}}async function XV(e,t,n,r,i,a,o){return a.isSupportList?$V(e,t,n,r,i,a):eG(e,t,n,r,i,a,o)}async function $V(e,t,n,r,i,a){return{...await a.formatAndTranslateList({text:e.tempSentences.map(s=>s.text),forces:e.tempSentences.map(s=>s.force),from:e.fromByService||e.from,to:e.to,url:t||"",options:n,refresh:r,debug:i}),sourceTempSentences:e.tempSentences}}async function eG(e,t,n,r,i,a,o){let{separator:s}=tG(a.serviceConfig),{realTempSentences:u,filteredSentences:l}=nG(e.tempSentences,a.serviceConfig,a.minTextCount);if(u.length===0){let f=e.tempSentences.map(p=>p.text);return{sourceTempSentences:e.tempSentences,text:f,from:e.from,to:e.to}}let c=rG(l,s),d=await a.translate({text:c,from:e.fromByService||e.from,to:e.to,url:t||"",options:{...n,rawTextArrayLength:u.length,usageScene:a.translationOptions.usageScene||""},refresh:r,debug:i,inArticleContext:e.inArticleContext,glossaries:e.glossaries}),g=B3(u.length,d.text,s);return u.forEach((f,p)=>{e.tempSentences[f.index].translatedText=g[p]}),{text:e.tempSentences.map(f=>f.translatedText||f.text),from:d.from,to:d.to,systemPrompt:d.systemPrompt,prompt:d.prompt,sourceTempSentences:e.tempSentences}}function tG(e){let t=X5;return e&&e.translationTextSeparator&&(t=e.translationTextSeparator),{separator:t}}function nG(e,t,n){let r=[],i=[],a=ei(t);return e.forEach((o,s)=>{o.force!==!0&&!no({text:o.text,delimiters:a,minTextCount:n,minWordCount:1,noTranslateRegexp:[]})||(r.push({item:{...o,text:o.text},index:s}),i.push(o))}),{realTempSentences:r,filteredSentences:i}}function rG(e,t){return e.map(n=>n.text).join(t)}function B3(e,t,n,r=0,i=3){if(r>i)throw new Error("Exceeded maximum recursion depth");let a=t.split(n),o=n.trim();return e!=1&&a.length<e&&t.split(o).length==e?B3(e,t,o,r+1,i):e!=1&&a.length==1&&t.split(`

`).length==e?B3(e,t,`

`,r+1,i):(a.length<e&&a.push(""),a.length>e&&(a[e-1]=a.slice(e-1).join(`
`),a.splice(e,a.length-e)),a=a.map(iG),a)}function iG(e){let t=0,n=e.length-1;for(;t<=n&&e[t]===`
`;)t++;for(;n>=t&&e[n]===`
`;)n--;return e.slice(t,n+1)}function iS(e,t,n,r){if(!e)return;let i="";if(n.translatedTexts&&n.translatedTexts[0]&&(i=n.translatedTexts[0]),e[t]||(e[t]=n,e[t].translatedTexts=Array(n.sentenceTotalParts).fill(null)),e[t].hasError)return;if(r){let s=r instanceof Y?new Y(r.name,r.message).initNetWork(r.errorCode).initData(r.data):r;e[t].hasError=!0,n?.callback?.(s,null,n.sentence);return}e[t].translatedTexts[n.partIndex]=i;let a=e[t],o=0;for(let s=0;s<a.sentenceTotalParts;s++){let u=a.translatedTexts[s];u!=null&&(o+=1)}if(o===a.sentenceTotalParts){let u=a.translatedTexts.join("").split(d8);a.translatedSentence.text=u[0],a.translatedSentence.contextText=u[1],a?.callback?.(null,a.translatedSentence,a.sentence)}}function aG(e,t,n,r,i){if(!(!n||!r)){e instanceof Y&&i&&e.initData({translationService:i.translationService,isLogin:!!i.userToken,isPro:i.isPro});for(let a=0;a<t.tempSentences.length;a++){let o=t.tempSentences[a];iS(n,o.index,{sentence:{...t.originalSentences?.[o.index]||{text:"",id:-1,url:""},from:t.from,to:t.to},translatedSentence:{...t.originalSentences?.[o.index]||{text:"",id:-1,url:""},from:t.from,to:t.to},sentenceTotalParts:1,partIndex:0,translatedTexts:[],callback:r},e)}}}var Ru="input is invalid type",O3=typeof window=="object",fo=O3?window:{};fo.JS_SHA256_NO_WINDOW&&(O3=!1);var oG=!O3&&typeof self=="object",sG=!fo.JS_SHA256_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;sG?fo=global:oG&&(fo=self);var y4e=!fo.JS_SHA256_NO_COMMON_JS&&typeof module=="object"&&module.exports,b4e=typeof define=="function"&&define.amd,Yc=!fo.JS_SHA256_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",Fe="0123456789abcdef".split(""),uG=[-2147483648,8388608,32768,128],Si=[24,16,8,0],zm=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],Hm=["hex","array","digest","arrayBuffer"],wn=[];(fo.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(e){return Object.prototype.toString.call(e)==="[object Array]"});Yc&&(fo.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(e){return typeof e=="object"&&e.buffer&&e.buffer.constructor===ArrayBuffer});var aS=function(e,t){return function(n){return new An(t,!0).update(n)[e]()}},sS=function(e){var t=aS("hex",e);t.create=function(){return new An(e)},t.update=function(i){return t.create().update(i)};for(var n=0;n<Hm.length;++n){var r=Hm[n];t[r]=aS(r,e)}return t},oS=function(e,t){return function(n,r){return new Vm(n,t,!0).update(r)[e]()}},uS=function(e){var t=oS("hex",e);t.create=function(i){return new Vm(i,e)},t.update=function(i,a){return t.create(i).update(a)};for(var n=0;n<Hm.length;++n){var r=Hm[n];t[r]=oS(r,e)}return t};function An(e,t){t?(wn[0]=wn[16]=wn[1]=wn[2]=wn[3]=wn[4]=wn[5]=wn[6]=wn[7]=wn[8]=wn[9]=wn[10]=wn[11]=wn[12]=wn[13]=wn[14]=wn[15]=0,this.blocks=wn):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=e}An.prototype.update=function(e){if(!this.finalized){var t,n=typeof e;if(n!=="string"){if(n==="object"){if(e===null)throw new Error(Ru);if(Yc&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!Yc||!ArrayBuffer.isView(e)))throw new Error(Ru)}else throw new Error(Ru);t=!0}for(var r,i=0,a,o=e.length,s=this.blocks;i<o;){if(this.hashed&&(this.hashed=!1,s[0]=this.block,s[16]=s[1]=s[2]=s[3]=s[4]=s[5]=s[6]=s[7]=s[8]=s[9]=s[10]=s[11]=s[12]=s[13]=s[14]=s[15]=0),t)for(a=this.start;i<o&&a<64;++i)s[a>>2]|=e[i]<<Si[a++&3];else for(a=this.start;i<o&&a<64;++i)r=e.charCodeAt(i),r<128?s[a>>2]|=r<<Si[a++&3]:r<2048?(s[a>>2]|=(192|r>>6)<<Si[a++&3],s[a>>2]|=(128|r&63)<<Si[a++&3]):r<55296||r>=57344?(s[a>>2]|=(224|r>>12)<<Si[a++&3],s[a>>2]|=(128|r>>6&63)<<Si[a++&3],s[a>>2]|=(128|r&63)<<Si[a++&3]):(r=65536+((r&1023)<<10|e.charCodeAt(++i)&1023),s[a>>2]|=(240|r>>18)<<Si[a++&3],s[a>>2]|=(128|r>>12&63)<<Si[a++&3],s[a>>2]|=(128|r>>6&63)<<Si[a++&3],s[a>>2]|=(128|r&63)<<Si[a++&3]);this.lastByteIndex=a,this.bytes+=a-this.start,a>=64?(this.block=s[16],this.start=a-64,this.hash(),this.hashed=!0):this.start=a}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}};An.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>2]|=uG[t&3],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}};An.prototype.hash=function(){var e=this.h0,t=this.h1,n=this.h2,r=this.h3,i=this.h4,a=this.h5,o=this.h6,s=this.h7,u=this.blocks,l,c,d,g,f,p,h,C,y,v,b;for(l=16;l<64;++l)f=u[l-15],c=(f>>>7|f<<25)^(f>>>18|f<<14)^f>>>3,f=u[l-2],d=(f>>>17|f<<15)^(f>>>19|f<<13)^f>>>10,u[l]=u[l-16]+c+u[l-7]+d<<0;for(b=t&n,l=0;l<64;l+=4)this.first?(this.is224?(C=300032,f=u[0]-1413257819,s=f-150054599<<0,r=f+24177077<<0):(C=704751109,f=u[0]-210244248,s=f-1521486534<<0,r=f+143694565<<0),this.first=!1):(c=(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10),d=(i>>>6|i<<26)^(i>>>11|i<<21)^(i>>>25|i<<7),C=e&t,g=C^e&n^b,h=i&a^~i&o,f=s+d+h+zm[l]+u[l],p=c+g,s=r+f<<0,r=f+p<<0),c=(r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10),d=(s>>>6|s<<26)^(s>>>11|s<<21)^(s>>>25|s<<7),y=r&e,g=y^r&t^C,h=s&i^~s&a,f=o+d+h+zm[l+1]+u[l+1],p=c+g,o=n+f<<0,n=f+p<<0,c=(n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10),d=(o>>>6|o<<26)^(o>>>11|o<<21)^(o>>>25|o<<7),v=n&r,g=v^n&e^y,h=o&s^~o&i,f=a+d+h+zm[l+2]+u[l+2],p=c+g,a=t+f<<0,t=f+p<<0,c=(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10),d=(a>>>6|a<<26)^(a>>>11|a<<21)^(a>>>25|a<<7),b=t&n,g=b^t&r^v,h=a&o^~a&s,f=i+d+h+zm[l+3]+u[l+3],p=c+g,i=e+f<<0,e=f+p<<0;this.h0=this.h0+e<<0,this.h1=this.h1+t<<0,this.h2=this.h2+n<<0,this.h3=this.h3+r<<0,this.h4=this.h4+i<<0,this.h5=this.h5+a<<0,this.h6=this.h6+o<<0,this.h7=this.h7+s<<0};An.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3,i=this.h4,a=this.h5,o=this.h6,s=this.h7,u=Fe[e>>28&15]+Fe[e>>24&15]+Fe[e>>20&15]+Fe[e>>16&15]+Fe[e>>12&15]+Fe[e>>8&15]+Fe[e>>4&15]+Fe[e&15]+Fe[t>>28&15]+Fe[t>>24&15]+Fe[t>>20&15]+Fe[t>>16&15]+Fe[t>>12&15]+Fe[t>>8&15]+Fe[t>>4&15]+Fe[t&15]+Fe[n>>28&15]+Fe[n>>24&15]+Fe[n>>20&15]+Fe[n>>16&15]+Fe[n>>12&15]+Fe[n>>8&15]+Fe[n>>4&15]+Fe[n&15]+Fe[r>>28&15]+Fe[r>>24&15]+Fe[r>>20&15]+Fe[r>>16&15]+Fe[r>>12&15]+Fe[r>>8&15]+Fe[r>>4&15]+Fe[r&15]+Fe[i>>28&15]+Fe[i>>24&15]+Fe[i>>20&15]+Fe[i>>16&15]+Fe[i>>12&15]+Fe[i>>8&15]+Fe[i>>4&15]+Fe[i&15]+Fe[a>>28&15]+Fe[a>>24&15]+Fe[a>>20&15]+Fe[a>>16&15]+Fe[a>>12&15]+Fe[a>>8&15]+Fe[a>>4&15]+Fe[a&15]+Fe[o>>28&15]+Fe[o>>24&15]+Fe[o>>20&15]+Fe[o>>16&15]+Fe[o>>12&15]+Fe[o>>8&15]+Fe[o>>4&15]+Fe[o&15];return this.is224||(u+=Fe[s>>28&15]+Fe[s>>24&15]+Fe[s>>20&15]+Fe[s>>16&15]+Fe[s>>12&15]+Fe[s>>8&15]+Fe[s>>4&15]+Fe[s&15]),u};An.prototype.toString=An.prototype.hex;An.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3,i=this.h4,a=this.h5,o=this.h6,s=this.h7,u=[e>>24&255,e>>16&255,e>>8&255,e&255,t>>24&255,t>>16&255,t>>8&255,t&255,n>>24&255,n>>16&255,n>>8&255,n&255,r>>24&255,r>>16&255,r>>8&255,r&255,i>>24&255,i>>16&255,i>>8&255,i&255,a>>24&255,a>>16&255,a>>8&255,a&255,o>>24&255,o>>16&255,o>>8&255,o&255];return this.is224||u.push(s>>24&255,s>>16&255,s>>8&255,s&255),u};An.prototype.array=An.prototype.digest;An.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(this.is224?28:32),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),t.setUint32(20,this.h5),t.setUint32(24,this.h6),this.is224||t.setUint32(28,this.h7),e};function Vm(e,t,n){var r,i=typeof e;if(i==="string"){var a=[],o=e.length,s=0,u;for(r=0;r<o;++r)u=e.charCodeAt(r),u<128?a[s++]=u:u<2048?(a[s++]=192|u>>6,a[s++]=128|u&63):u<55296||u>=57344?(a[s++]=224|u>>12,a[s++]=128|u>>6&63,a[s++]=128|u&63):(u=65536+((u&1023)<<10|e.charCodeAt(++r)&1023),a[s++]=240|u>>18,a[s++]=128|u>>12&63,a[s++]=128|u>>6&63,a[s++]=128|u&63);e=a}else if(i==="object"){if(e===null)throw new Error(Ru);if(Yc&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!Yc||!ArrayBuffer.isView(e)))throw new Error(Ru)}else throw new Error(Ru);e.length>64&&(e=new An(t,!0).update(e).array());var l=[],c=[];for(r=0;r<64;++r){var d=e[r]||0;l[r]=92^d,c[r]=54^d}An.call(this,t,n),this.update(c),this.oKeyPad=l,this.inner=!0,this.sharedMemory=n}Vm.prototype=new An;Vm.prototype.finalize=function(){if(An.prototype.finalize.call(this),this.inner){this.inner=!1;var e=this.array();An.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(e),An.prototype.finalize.call(this)}};var Nu=sS();Nu.sha256=Nu;Nu.sha224=sS(!0);Nu.sha256.hmac=uS();Nu.sha224.hmac=uS(!0);var lS=Nu;var cS=lS.sha256;function $n(e){return Promise.resolve(cS(e))}function Fu(e){return Array.from(new Uint8Array(e)).map(r=>r.toString(16).padStart(2,"0")).join("")}function _r(e,t){let n=cS.hmac.create(t);return n.update(e),Promise.resolve(n.array())}async function dS(e,t){let n=await _r(e,t);return Fu(n)}async function Gm(e,t){let n=lG(t),r=await _r(e,n);return Fu(r)}function lG(e){let t=[];return e.replace(/../g,function(n){return t.push(parseInt(n,16)),""}),new Uint8Array(t).buffer}var gS=[["auto","auto"],["zh-CN","zh"],["zh-TW","zh-TW"],["de","de"],["en","en"],["es","es"],["fr","fr"],["id","id"],["it","it"],["ja","jp"],["ko","kr"],["ms","ms"],["pt","pt"],["ru","ru"],["th","th"],["tr","tr"],["vi","vi"]],Zc=class e extends We{static langMap=new Map(gS);maxTextGroupLength=50;static langMapReverse=new Map(gS.map(([t,n])=>[n,t]));static getUTCDate(t){let n=t.getUTCFullYear(),r=`${t.getUTCMonth()+1}`.padStart(2,"0"),i=`${t.getUTCDate()}`.padStart(2,"0");return`${n}-${r}-${i}`}secretId="";secretKey="";isSupportList=!0;constructor(t,n,r,i){if(super(t,n,r,i),!t||!t.secretId||!t.secretKey)throw new Y("secretId and secretKey are required");this.secretId=t.secretId?.trim(),this.secretKey=t.secretKey?.trim()}getDefaultRateLimit(){return{limit:3,interval:1350}}async translate(t){let{text:n,from:r,to:i}=t,a=JSON.stringify({ProjectId:0,Source:e.langMap.get(r)||"auto",SourceText:n,Target:e.langMap.get(i)||i}),o=await this.signedRequest({secretId:this.secretId,secretKey:this.secretKey,action:"TextTranslate",payload:a,service:"tmt",version:"2018-03-21"});return{text:o.Response.TargetText,from:e.langMapReverse.get(o.Response.Source)||r,to:e.langMapReverse.get(o.Response.Target)||i}}async translateList(t){let{text:n,from:r,to:i}=t,a=JSON.stringify({ProjectId:0,Source:e.langMap.get(r)||"auto",SourceTextList:n,Target:e.langMap.get(i)||i}),o=await this.signedRequest({secretId:this.secretId,secretKey:this.secretKey,action:"TextTranslateBatch",payload:a,service:"tmt",version:"2018-03-21"});return{text:o.Response.TargetTextList,from:e.langMapReverse.get(o.Response.Source)||r,to:e.langMapReverse.get(o.Response.Target)||i}}async signedRequest({secretId:t,secretKey:n,action:r,payload:i,service:a,version:o}){let s=`${a}.tencentcloudapi.com`,u=new Date,l=`${new Date().valueOf()}`.slice(0,10),c=["POST","/","","content-type:application/json; charset=utf-8",`host:${s}`,"","content-type;host",await $n(i)].join(`
`),d=e.getUTCDate(u),g=["TC3-HMAC-SHA256",l,`${d}/${a}/tc3_request`,await $n(c)].join(`
`),f=await dS(d,`TC3${n}`),p=await Gm(a,f),h=await Gm("tc3_request",p),C=await Gm(g,h),y=await super.request({retry:this.retry,url:`https://${a}.tencentcloudapi.com`,method:"POST",headers:{"Content-Type":"application/json; charset=utf-8",Host:s,"X-TC-Action":r,"X-TC-Timestamp":l,"X-TC-Region":"ap-beijing","X-TC-Version":o,Authorization:`TC3-HMAC-SHA256 Credential=${t}/${d}/${a}/tc3_request, SignedHeaders=content-type;host, Signature=${C}`},body:i,timeout:this.requestTimeout});if(y instanceof Error)throw y;if(y.Response&&y.Response.Error&&y.Response.Error.Message)throw new Y(y.Response.Error.Message);return y}};var mS=[["auto","auto"],["zh-CN","zh"],["zh-TW","zh-TW"],["de","de"],["en","en"],["es","es"],["fr","fr"],["id","id"],["it","it"],["ja","jp"],["ko","kr"],["ms","ms"],["pt","pt"],["ru","ru"],["th","th"],["tr","tr"],["vi","vi"]],cG={"content-type":"application/json",Host:"wxapp.translator.qq.com","User-Agent":"Mozilla/5.0 (iPhone; CPU iPhone OS 16_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/8.0.32(0x18002035) NetType/WIFI Language/zh_TW",Referer:"https://servicewechat.com/wxb1070eabc6f9107e/117/page-frame.html"},Jc=class e extends We{static langMap=new Map(mS);static langMapReverse=new Map(mS.map(([t,n])=>[n,t]));isSupportList=!1;constructor(t,n,r,i){super(t,n,r,i)}async translate(t){let{text:n,from:r,to:i}=t,a=new URLSearchParams({source:r,target:i,sourceText:n,platform:"WeChat_APP",candidateLangs:"en|zh",guid:"oqdgX0SIwhvM0TmqzTHghWBvfk22"}).toString(),o=await super.request({url:`https://wxapp.translator.qq.com/api/translate?${a}`,retry:this.retry,method:"GET",headers:cG,timeout:this.requestTimeout});return{text:o.targetText,from:e.langMapReverse.get(o.source)||r,to:e.langMapReverse.get(o.target)||i}}};var fS=[["auto","auto"],["zh-CN","zh-CN"],["zh-TW","zh-TW"],["yue","yue"],["en","en"],["af","af"],["am","am"],["ar","ar"],["az","az"],["be","be"],["ber-Latn","ber-Latn"],["ber-Tfng","ber-Tfng"],["bg","bg"],["bn","bn"],["bs","bs"],["ca","ca"],["ceb","ceb"],["co","co"],["cs","cs"],["cy","cy"],["da","da"],["de","de"],["el","el"],["eo","eo"],["es","es"],["et","et"],["eu","eu"],["fa","fa"],["fi","fi"],["fr","fr"],["fy","fy"],["ga","ga"],["gd","gd"],["gl","gl"],["gu","gu"],["ha","ha"],["haw","haw"],["he","he"],["hi","hi"],["hmn","hmn"],["hr","hr"],["ht","ht"],["hu","hu"],["hy","hy"],["id","id"],["ig","ig"],["is","is"],["it","it"],["ja","ja"],["jw","jw"],["ka","ka"],["kk","kk"],["km","km"],["kn","kn"],["ko","ko"],["ku","ku"],["ky","ky"],["la","la"],["lb","lb"],["lo","lo"],["lt","lt"],["lv","lv"],["mg","mg"],["mi","mi"],["mk","mk"],["ml","ml"],["mn","mn"],["mr","mr"],["ms","ms"],["mt","mt"],["my","my"],["ne","ne"],["nl","nl"],["no","no"],["ny","ny"],["pa","pa"],["pl","pl"],["ps","ps"],["pt-br","pt"],["pt","pt-PT"],["ro","ro"],["ru","ru"],["sd","sd"],["sa","sa"],["si","si"],["sk","sk"],["sl","sl"],["sm","sm"],["sn","sn"],["so","so"],["sq","sq"],["sr","sr"],["st","st"],["su","su"],["sv","sv"],["sw","sw"],["ta","ta"],["te","te"],["tg","tg"],["th","th"],["fil","tl"],["tr","tr"],["ug","ug"],["uk","uk"],["ur","ur"],["uz","uz"],["vi","vi"],["xh","xh"],["yi","yi"],["yo","yo"],["zu","zu"]],rs=class e extends We{static langMap=new Map(fS);static langMapReverse=new Map(fS.map(([t,n])=>[n,t]));isSupportList=!0;apiUrl;enableBrowserApi;publicKey;constructor(t,n,r,i){super(t,n,r,i),this.enableBrowserApi=t.enableBrowserApi||!1,this.publicKey=t.publicKey||"AIzaSyATBXajvzQLTDHEQbcpq0Ihe0vWDHmO520",this.apiUrl=this.enableBrowserApi?"https://translate-pa.googleapis.com/v1/translateHtml":"https://translate.googleapis.com/translate_a/t",t?.apiUrl&&(this.apiUrl=ct(this.apiUrl,t.apiUrl))}getDefaultRateLimit(){return{limit:10,interval:1050}}async translateList(t){let{text:n,from:r,to:i}=t;if(!n)return{...t};let a=e.langMap.get(r)||"auto",o=e.langMap.get(i)||i,s=await this.fetchWithoutToken(n,a,o);if(!s)throw new Y("google translate NETWORK_ERROR");if(!s.data[0]||s.data[0].length<=0)throw new Y("google translate API_SERVER_ERROR");return{text:s.data.map(l=>Array.isArray(l)?l[0]:l).map(l=>l.replace(/％3C/ig,"&lt;").replace(/％3E/ig,"&gt;")).map(l=>l.replace(/&lt;/ig,"<").replace(/&gt;/ig,">").replace(/&amp;/ig,"&").replace(/&quot;/ig,'"').replace(/&#39;/ig,"'").replace(/&#34;/ig,'"').replace(/&#38;/ig,"&").replace(/&#60;/ig,"<").replace(/&#62;/ig,">").replace(/&#160;/ig," ")),from:r,to:i}}async fetchWithoutToken(t,n,r){if(this.enableBrowserApi){let i=[[[...t],n,r],"te_lib"],a=await super.request({retry:this.retry,url:this.apiUrl,method:"POST",requestType:"json",headers:{"content-type":"application/json+protobuf","x-goog-api-key":this.publicKey},body:JSON.stringify(i),timeout:this.requestTimeout}),o;return Array.isArray(a)&&Array.isArray(a[0])?o=a[0]:o=a,{data:o}}else{let i={client:"gtx",dt:"t",sl:n,tl:r};this.isRichTranslate&&(i.format="html");let a=new URLSearchParams(i),o={q:t},s=this.apiUrl+"?"+a.toString();return{data:await super.request({retry:this.retry,url:s,method:"POST",requestType:"urlSearchParams",headers:{"content-type":"application/x-www-form-urlencoded"},body:o,timeout:this.requestTimeout})}}}};function dG(e,t){return t?e+(t-e%t):e}function gG(e,t){return e.split(t).length-1}function _3(e){let t=Date.now(),n=1;for(let r of e)n+=gG(r,"i");return dG(t,n)}function mG(e,t){return Math.floor(Math.random()*(t-e+1))+e}function U3(){return mG(1e6,1e8)}var j3="https://www2.deepl.com/jsonrpc",z3="auto",pS=[{code:"BG",language:"Bulgarian"},{code:"ZH",language:"Chinese"},{code:"CS",language:"Czech"},{code:"DA",language:"Danish"},{code:"NL",language:"Dutch"},{code:"EN",language:"English"},{code:"ET",language:"Estonian"},{code:"FI",language:"Finnish"},{code:"FR",language:"French"},{code:"DE",language:"German"},{code:"EL",language:"Greek"},{code:"HU",language:"Hungarian"},{code:"IT",language:"Italian"},{code:"JA",language:"Japanese"},{code:"LV",language:"Latvian"},{code:"LT",language:"Lithuanian"},{code:"PL",language:"Polish"},{code:"PT",language:"Portuguese"},{code:"RO",language:"Romanian"},{code:"RU",language:"Russian"},{code:"SK",language:"Slovak"},{code:"SL",language:"Slovenian"},{code:"ES",language:"Spanish"},{code:"SV",language:"Swedish"}];function fG(e=pS){return e.reduce((t,n)=>(t[n.code.toLowerCase()]=n.code,t[n.language.toLowerCase()]=n.code,t),{})}function H3(e){return fG()[e.toLowerCase()]}var pG={Accept:"*/*","Accept-Language":"en-US;q=0.8,en;q=0.7","Content-Type":"application/json",Origin:"https://www.deepl.com",Referer:"https://www.deepl.com/translator","Sec-Fetch-Dest":"empty","Sec-Fetch-Mode":"cors","Sec-Fetch-Site":"same-site"};function hG(e){return JSON.stringify(e).replace('"method":"',()=>{let t=e;return(t.id+3)%13===0||(t.id+5)%29===0?'"method" : "':'"method": "'})}function yG(e,t){return{id:1,jsonrpc:"2.0",method:"LMT_handle_texts",params:{timestamp:0,texts:[{text:"",requestAlternatives:3}],splitting:"newlines",lang:{source_lang_user_selected:e,target_lang:t}}}}async function bG(e,t,n,r,i,a,o){let s=U3(),u=yG(r,n),l=[];t.forEach(g=>{l.push({text:g,requestAlternatives:3})}),u.id=s,u.params.texts=l,u.params.timestamp=_3(t);let c=await Re({retry:2,method:"POST",url:e,body:hG(u),headers:pG}),d={from:c.result.lang,to:n,text:[]};return c.result.texts.forEach(g=>{d.text.push(g.text)}),d}async function hS(e,t,n,r=z3,i,a,o){return t?t&&t.length===1&&t[0]===""?{text:[""],from:r,to:n}:bG(e,t,H3(n),H3(r)??"auto",i,a,o):{text:[],from:r,to:n}}var yS=[["auto","auto"],["en","EN"],["ja","JA"],["pl","PL"],["zh-CN","ZH"],["zh-TW","ZH"],["ja","JA"],["ko","KO"],["es","ES"],["de","DE"],["fr","FR"],["pt","PT"],["ru","RU"],["it","IT"],["id","ID"],["nl","NL"],["pl","PL"],["bg","BG"],["cs","CS"],["da","DA"],["el","EL"],["et","ET"],["fi","FI"],["hu","HU"],["lt","LT"],["lv","LV"],["ro","RO"],["sk","SK"],["sl","SL"],["sv","SV"],["tr","TR"],["uk","UK"]],Bu=class e extends We{static langMap=new Map(yS);static langMapReverse=new Map(yS.map(([t,n])=>[n,t]));maxTextGroupLength=3;maxTextLength=800;isSupportList=!0;API_URL=j3;constructor(t,n,r,i){super(t,n,r,i),t&&t.apiUrl&&(this.API_URL=ct(j3,t.apiUrl))}getDefaultRateLimit(){return{limit:1,interval:1050}}async translateList(t){let{text:n,to:r,from:i}=t,a=await hS(this.API_URL,n,e.langMap.get(r)||r,e.langMap.get(i)||"auto");return{text:a.text,from:e.langMapReverse.get(a.from),to:e.langMapReverse.get(a.to)}}};function V3(){return Math.random()>=.001}var Ou=class extends We{isSupportList=!1;maxTextLength=1200;maxTextGroupLength=1;async translate(t){let{text:n}=t;if(!V3())throw new Y("404","\u6A21\u62DF\u9519\u8BEF");let r=n.match(/^\s*/)[0].length;return{text:n.slice(0,r)+"\u6A21\u62DF\uFF1A"+n.slice(r,-6),from:t.from,to:t.to}}async translateList(t){let{text:n,from:r,to:i}=t;if(!V3())throw new Y("404","\u6A21\u62DF\u9519\u8BEF");return n.length===0?{from:r,to:i,text:[""]}:{from:r,to:i,text:n.map(a=>{let o=a.match(/^\s*/)[0].length;return a.slice(0,o)+"\u6A21\u62DF\uFF1A"+a.slice(o,-6)})}}};var vS=[["auto","auto"],["zh-CN","zh"],["zh-TW","zh"],["en","en"],["ja","ja"],["de","de"],["fr","fr"],["it","it"],["es","es"],["nl","nl"],["pl","pl"],["pt","pt"],["ru","ru"]],G3=new Map(vS),bS=new Map(vS.map(([e,t])=>[t,e])),W3=class e extends We{static langMap=G3;static DEFAULT_CODENAME="deepl";apikey="";codename=e.DEFAULT_CODENAME;isSupportList=!1;maxTextGroupLength=1;constructor(t,n,r,i){if(super(t,n,r,i),!t||!t.apikey)throw new Y("apikey are required");this.apikey=t.apikey?.trim(),t.codename&&(this.codename=t.codename)}async translate(t){let{text:n,from:r,to:i}=t,a=await super.request({retry:this.retry,url:`https://api.openl.club/services/${this.codename}/translate`,headers:{"content-type":"application/json"},method:"POST",body:JSON.stringify({apikey:this.apikey,text:n,source_lang:G3.get(r)||"auto",target_lang:G3.get(i)||i}),timeout:this.requestTimeout});if(a.status){let o=a;return o.result&&i=="zh-TW",{text:o.result,from:bS.get(o.source_lang),to:bS.get(o.target_lang)}}else throw new Y(a.msg)}},q3=W3;var K3="https://{s}bing.com",ES=K3+"/translator",vG=K3+"/ttranslatev3",xG=K3+"/tspellcheckv3",Wm="bingGlobalConfig",wS=[["auto","auto-detect"],["ar","ar"],["ga","ga"],["et","et"],["bg","bg"],["is","is"],["pl","pl"],["bs","bs-Latn"],["fa","fa"],["da","da"],["de","de"],["ru","ru"],["fr","fr"],["zh-TW","zh-Hant"],["fil","fil"],["fj","fj"],["fi","fi"],["gu","gu"],["kk","kk"],["ht","ht"],["ko","ko"],["nl","nl"],["ca","ca"],["zh-CN","zh-Hans"],["cs","cs"],["kn","kn"],["otq","otq"],["tlh","tlh"],["hr","hr"],["lv","lv"],["lt","lt"],["ro","ro"],["mg","mg"],["mt","mt"],["mr","mr"],["ml","ml"],["ms","ms"],["mi","mi"],["bn","bn-BD"],["hmn","mww"],["af","af"],["pa","pa"],["pt","pt"],["ps","ps"],["ja","ja"],["sv","sv"],["sm","sm"],["sr-Latn","sr-Latn"],["sr-Cyrl","sr-Cyrl"],["no","nb"],["sk","sk"],["sl","sl"],["sw","sw"],["ty","ty"],["te","te"],["ta","ta"],["th","th"],["to","to"],["tr","tr"],["cy","cy"],["ur","ur"],["uk","uk"],["es","es"],["he","iw"],["el","el"],["hu","hu"],["it","it"],["hi","hi"],["id","id"],["en","en"],["yua","yua"],["yue","yua"],["vi","vi"],["ku","ku"],["km","kmr"]],xS=new Map(wS),CS=new Map(wS.map(([e,t])=>[t,e])),TS=1e3,Ei,_u;function Q3(e,t){return e.replace("{s}",t?t+".":"")}async function CG(){if(!Ei){let n=await Be.storage.local.get(Wm);return n&&(Ei=n[Wm]),!0}let{tokenTs:e,tokenExpiryInterval:t}=Ei;return Date.now()-e>t}async function SS(){let e,t,n,r,i,a,o,s,u,l;try{let c=Q3(ES,e),d=await Re({retry:2,url:c,responseType:"raw"}),{body:g,headers:f,url:p}=d;e=p.match(/^https?:\/\/(\w+)\.bing\.com/)[1],l=f["set-cookie"],t=g.match(/IG:"([^"]+)"/)[1],n=g.match(/data-iid="([^"]+)"/)[1],[i,r,a,o,s,u]=JSON.parse(g.match(/params_AbusePreventionHelper\s?=\s?([^\]]+\])/)[1])}catch(c){throw c}return Ei={subdomain:e,IG:t,IID:n,key:i,token:r,tokenTs:i,tokenExpiryInterval:a,isVertical:o,frontDoorBotClassification:s,isSignedInOrCorporateUser:u,cookie:l,count:0},await Be.storage.local.set({[Wm]:Ei}),Ei}function TG(e){let{IG:t,IID:n,subdomain:r,isVertical:i}=Ei;return Q3(e?xG:vG,r)+"?isVertical=1"+(t&&t.length?"&IG="+t:"")+(n&&n.length?"&IID="+n+"."+Ei.count++:"")}function SG(e,t,n,r){let{token:i,key:a}=Ei,o={fromLang:n,text:t,token:i,key:a};return!e&&r&&(o.to=r),o}async function AS(e,t,n){if(!e||!(e=e.trim()))return;if(e.length>TS)throw new Error(`The supported maximum length of text is ${TS}. Please shorten the text.`);_u||(_u=SS()),await _u,await CG()&&(_u=SS(),await _u),t=t||"auto",n=n||"zh-CN",t=xS.get(t)||t,n=xS.get(n)||n;let i=TG(!1),a=SG(!1,e,t,n==="auto-detect"?"zh-Hans":n),o={referer:Q3(ES,Ei.subdomain),"content-type":"application/x-www-form-urlencoded"},s=new URLSearchParams(a),u=i,l=s.toString(),c=await Re({retry:2,url:u,headers:o,method:"POST",body:l});if(c.ShowCaptcha||c.StatusCode===401||c.statusCode){if(Ei=null,_u=null,await Be.storage.local.remove(Wm),c.ShowCaptcha)throw new Error(`
      Sorry that bing translator seems to be asking for the captcha,
      Please take care not to request too frequently.
      The response code is ${c.StatusCode}.
    `);if(c.StatusCode===401)throw new Error(`
      Max count of translation exceeded. Please try it again later.
      The response code is 401.
    `);if(c.statusCode)throw new Error(`Something went wrong! The response is ${JSON.stringify(c)}.`)}let d=c[0].translations[0],g=c[0].detectedLanguage;return{text:d.text,from:CS.get(g.language),to:CS.get(d.to)}}function qm(e){let t=e.split(".");if(t.length<=1)throw new Error("invalid token");let n=t[1];if(!n)throw new Error("invalid base64 url token");let r=n.replace(/-/g,"+").replace(/_/g,"/"),i=decodeURIComponent(globalThis.atob(r).split("").map(function(s){return"%"+("00"+s.charCodeAt(0).toString(16)).slice(-2)}).join("")),a=JSON.parse(i),o=new Date(a.exp*1e3);return{accessToken:e,accessTokenExpiresAt:o.toISOString()}}async function wa(e){await le.remove(e)}async function wi(e,t){let n=await le.getExpired(e);if(n?.accessToken&&n?.accessTokenExpiresAt){let r=Date.now(),a=new Date(n.accessTokenExpiresAt).getTime();if(a-r>30*1e3)return n;if(a-r>3e3)return Km(e,t)}return Km(e,t)}async function Km(e,t){let n=await t(),r=n.accessTokenExpiresAt,a=new Date(r).getTime()-Date.now();return await le.setExpired(e,n,a-1e3),n}var EG=[["auto",""],["yue","yue"],["ar","ar"],["ga","ga"],["et","et"],["bg","bg"],["is","is"],["pl","pl"],["bs","bs-Latn"],["fa","fa"],["da","da"],["de","de"],["ru","ru"],["fr","fr"],["zh-TW","zh-Hant"],["fil","fil"],["fj","fj"],["fi","fi"],["gu","gu"],["kk","kk"],["he","he"],["ht","ht"],["ko","ko"],["nl","nl"],["ca","ca"],["zh-CN","zh-Hans"],["wyw","lzh"],["cs","cs"],["kn","kn"],["otq","otq"],["tlh","tlh"],["hr","hr"],["lv","lv"],["lt","lt"],["ro","ro"],["mg","mg"],["mt","mt"],["mr","mr"],["ml","ml"],["ms","ms"],["mi","mi"],["bn","bn-BD"],["hmn","mww"],["af","af"],["pa","pa"],["pt-br","pt"],["pt","pt-PT"],["ps","ps"],["ja","ja"],["sv","sv"],["sm","sm"],["sr-Latn","sr-Latn"],["sr-Cyrl","sr-Cyrl"],["no","nb"],["sk","sk"],["sl","sl"],["sw","sw"],["ty","ty"],["te","te"],["ta","ta"],["th","th"],["to","to"],["tr","tr"],["cy","cy"],["ur","ur"],["uk","uk"],["es","es"],["el","el"],["hu","hu"],["it","it"],["hi","hi"],["id","id"],["en","en"],["yua","yua"],["bo","bo"],["vi","vi"],["km","km"],["ug","ug"]],Y3=new Map(EG),Aa=class e extends We{static langMap=Y3;isSupportList=!0;maxTextLength=1800;constructor(t,n,r,i){super(t,n,r,i)}static async clearState(){await wa(lh)}async translate(t){let{text:n,from:r,to:i}=t;return n?await AS(n,r,i):{...t}}async init(){await this.getAccessToken()}async getAccessToken(){return await wi(lh,async()=>{let t=await Re({responseType:"text",url:"https://edge.microsoft.com/translate/auth",headers:{accept:"*/*","accept-language":"zh-TW,zh;q=0.9,ja;q=0.8,zh-CN;q=0.7,en-US;q=0.6,en;q=0.5","cache-control":"no-cache",pragma:"no-cache","sec-ch-ua":'"Microsoft Edge";v="113", "Chromium";v="113", "Not-A.Brand";v="24"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"cross-site","sec-mesh-client-arch":"x86_64","sec-mesh-client-edge-channel":"beta","sec-mesh-client-edge-version":"113.0.1774.23","sec-mesh-client-os":"Windows","sec-mesh-client-os-version":"10.0.19044","sec-mesh-client-webview":"0",Referer:"https://appsumo.com/","Referrer-Policy":"strict-origin-when-cross-origin"},body:null,method:"GET",timeout:5e3,retry:this.retry});return qm(t)})}async translateList(t){try{return await this._translateList(t)}catch(n){if(n instanceof Y&&n.errorCode===401)return await e.clearState(),await this._translateList(t);throw n}}async _translateList(t){let{from:n,to:r,text:i}=t,a=Y3.get(n)||"auto",o=Y3.get(r)||r;a==="auto"&&(a="");let s=await this.getAccessToken(),u=[];for(let g of i)u.push({Text:g});let l=JSON.stringify(u),c=`https://api-edge.cognitive.microsofttranslator.com/translate?from=${a}&to=${o}&api-version=3.0&includeSentenceLength=true`,d=await super.request({url:c,headers:{accept:"*/*","accept-language":"zh-TW,zh;q=0.9,ja;q=0.8,zh-CN;q=0.7,en-US;q=0.6,en;q=0.5",authorization:"Bearer "+s.accessToken,"cache-control":"no-cache","content-type":"application/json",pragma:"no-cache","sec-ch-ua":'"Microsoft Edge";v="113", "Chromium";v="113", "Not-A.Brand";v="24"',"sec-ch-ua-mobile":"?0","sec-ch-ua-platform":'"Windows"',"sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"cross-site","Referrer-Policy":"strict-origin-when-cross-origin","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0"},body:l,method:"POST",timeout:this.requestTimeout});if(d&&d.length>0&&d[0].translations&&d[0].translations.length>0)return{text:d.map(g=>g.translations[0]?.text||""),from:n,to:r};throw new Y("Microsoft translate error "+JSON.stringify(d))}};var wG=["chinese","english","japanese","korean","french","spanish","deutsch"],AG={chinese:/[\u4e00-\u9fa5]/,english:/[a-zA-Z]/,japanese:/[\u3041-\u3096\u30A0-\u30FF]/,korean:/[\u3131-\u4dff\u9fa6-\uD79D]/,french:/[\u00e0\u00e2\u00e4\u00e8\u00e9\u00ea\u00eb\u00ee\u00ef\u00f4\u0153\u00f9\u00fb\u00fc\u00ff\u00e7]/i,spanish:/[\u00e1\u00e9\u00ed\u00f3\u00fa\u00f1\u00fc\u00a1\u00bf]/i,deutsch:/[\u00E4\u00F6\u00FC\u00C4\u00D6\u00DC\u00df]/i},Z3=e=>AG.chinese.test(e);var r2e=[...wG,"others","matchAll"];var MS=[["auto",""],["en","EN"],["ja","JA"],["pl","PL"],["zh-CN","ZH"],["zh-TW","ZH-HANT"],["ar","AR"],["ja","JA"],["ko","KO"],["af","AF"],["az","AZ"],["be","BE"],["bn","BN"],["bs","BS"],["ca","CA"],["ceb","CEB"],["cy","CY"],["eo","EO"],["eu","EU"],["fa","FA"],["ga","GA"],["gl","GL"],["gu","GU"],["ha","HA"],["hi","HI"],["hr","HR"],["ht","HT"],["hy","HY"],["ig","IG"],["is","IS"],["ka","KA"],["kk","KK"],["ky","KY"],["la","LA"],["lb","LB"],["mg","MG"],["mi","MI"],["mk","MK"],["ml","ML"],["mn","MN"],["mr","MR"],["ms","MS"],["mt","MT"],["my","MY"],["ne","NE"],["pa","PA"],["ps","PS"],["sa","SA"],["sq","SQ"],["sr","SR"],["st","ST"],["su","SU"],["sw","SW"],["ta","TA"],["te","TE"],["tg","TG"],["ur","UR"],["uz","UZ"],["xh","XH"],["yi","YI"],["yue","YUE"],["zu","ZU"],["es","ES"],["de","DE"],["no","NB"],["fr","FR"],["pt","PT"],["pt-br","PT-BR"],["ru","RU"],["it","IT"],["id","ID"],["nl","NL"],["pl","PL"],["bg","BG"],["cs","CS"],["da","DA"],["el","EL"],["et","ET"],["fi","FI"],["hu","HU"],["lt","LT"],["lv","LV"],["ro","RO"],["sk","SK"],["sl","SL"],["sv","SV"],["tr","TR"],["uk","UK"],["vi","VI"],["th","TH"],["he","HE"]],Xc=new Map(MS),kG=new Map(MS.map(([e,t])=>[t,e])),J3=class extends We{static langMap=Xc;authKey="";maxTextLength=1800;freeApiUrl="https://api-free.deepl.com/v2/translate";proApiUrl="https://api.deepl.com/v2/translate";immersiveTranslateApiUrl="";immersiveTranslateDeeplTokenUrl="";immersiveTranslateDeeplProApiUrl="";provider="custom";splitor="";qualityNoSymabol="";qualityMinTextLength;apiKeys=[];removeResReges=[];static async clearState(){}getRandomKey(){let t=Math.floor(Math.random()*this.apiKeys.length);return this.apiKeys[t]}constructor(t,n,r,i){if(super(t,n,r,i),this.immersiveTranslateApiUrl=`https://deepl.${j.HOST_NAME}/v2/translate`,this.immersiveTranslateDeeplTokenUrl=j.BASE_API,this.immersiveTranslateDeeplProApiUrl=j.BASE_API+"deepl/translate",t=t||{},this.splitor=t.qualityDelimiterBetaV3||"",this.qualityNoSymabol=t.qualityNoSymoblBetaV3||"",this.qualityMinTextLength=t.qualityMinTextLengthV3||0,t.provider==="pro")if(this.provider="pro",r.userToken)this.authKey=r.userToken,this.apiKeys=this.authKey?.split(",").map(a=>a.trim());else throw new Y("Login required, \u767B\u5F55\u540E\u624D\u53EF\u4EE5\u4F7F\u7528\u3002").initNetWork(401);else if(this.authKey=t.authKey?.trim(),this.apiKeys=this.authKey?.split(",").map(a=>a.trim()),!this.authKey)throw new Y("authKey are required");if(!this.authKey)throw new Y("authKey are required");t&&t.freeApiUrl&&(this.freeApiUrl=ct(this.freeApiUrl,t.freeApiUrl)),t&&t.proApiUrl&&(this.proApiUrl=ct(this.proApiUrl,t.proApiUrl)),t&&t.immersiveTranslateApiUrl&&(this.immersiveTranslateApiUrl=ct(this.immersiveTranslateApiUrl,t.immersiveTranslateApiUrl)),t&&t.immersiveTranslateDeeplTokenUrl&&(this.immersiveTranslateDeeplTokenUrl=ct(this.immersiveTranslateDeeplTokenUrl,t.immersiveTranslateDeeplTokenUrl)),t&&t.immersiveTranslateDeeplProApiUrl&&(this.immersiveTranslateDeeplProApiUrl=ct(this.immersiveTranslateDeeplProApiUrl,t.immersiveTranslateDeeplProApiUrl)),Array.isArray(t.removeResRegexs)&&(this.removeResReges=t.removeResRegexs)}async init(){}getRateLimiter(){return super.getRateLimiter()}getDefaultRateLimit(){return{limit:3,interval:1250}}async translateList(t){let{from:n,to:r}=t,i=this.getRandomKey(),{text:a,merged:o}=this.optimizationText(t),s=n=="zh-CN"&&r=="zh-TW"||n=="zh-TW"&&r=="zh-CN",u=null;if(s)u=a.map(c=>({text:c||"",detected_source_language:n}));else{let c={source_lang:Xc.get(n)||"",target_lang:Xc.get(r)||r,tag_handling:"html",model_type:"quality_optimized"};this.serviceConfig?.tag_handling&&(this.serviceConfig.tag_handling==="smart"?this.isRichTranslate?c.tag_handling="html":delete c.tag_handling:this.serviceConfig.tag_handling==="none"?delete c.tag_handling:c.tag_handling=this.serviceConfig.tag_handling);let d=new URLSearchParams(c);a.forEach(b=>{d.append("text",b)});let g=d.toString(),f={text:a,source_lang:Xc.get(n)||"auto",target_lang:Xc.get(r)||r,model_type:"quality_optimized"};this.provider==="pro"&&this.serviceConfig?.html&&(this.serviceConfig.html==="smart"?this.isRichTranslate&&(f.html="enabled"):this.serviceConfig.html==="enabled"&&(f.html="enabled"));let p=this.freeApiUrl;i.endsWith(":im")?p=this.immersiveTranslateApiUrl:i.endsWith(":fx")||(p=this.proApiUrl);let h,C={};t.refresh&&(C={"X-Refresh":"True"}),t.debug&&(C={...C,"X-Debug":"True"});let y={...C,token:i,"Content-Type":"application/json"};this.provider==="pro"?(await this.headerAttachLanguage(y),h=await super.request({retry:this.retry,url:this.immersiveTranslateDeeplProApiUrl,method:"POST",body:JSON.stringify(f),headers:y,timeout:this.requestTimeout})):i.startsWith("immersive_")?(await this.headerAttachLanguage(y),h=await super.request({retry:this.retry,url:this.immersiveTranslateDeeplProApiUrl,method:"POST",body:JSON.stringify(f),headers:y,timeout:this.requestTimeout})):h=await super.request({retry:2,url:p,method:"POST",body:g,headers:{Authorization:"DeepL-Auth-Key "+i,"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},extra:{overrideMimeType:"application/json; charset=utf-8"}}),u=this.restoreText(h,o,!!t.debug).translations}let l=u.map(c=>{let d=X3(this.serviceConfig,c.text,r);return d&&this.removeResReges.length&&this.removeResReges.forEach(g=>{d=d.replace(new RegExp(g),""),d=d.trimStart()}),d});if(s){let c=this.serviceConfig||{},g=await new Aa({},this.generalConfig,this.translationOptions,this.isRichTranslate||!1).translateList({from:n,to:r,text:u.map(f=>f.text),url:"",options:{},forces:[]});g&&g.text&&(l=g.text)}return{text:l,from:u[0]&&kG.get(u[0].detected_source_language)||n,to:r}}optimizationText(t){let{text:n}=t;return{text:n,merged:[]}}restoreText(t,n,r){if(!this.splitor||this.provider!="pro")return t;let{translations:i}=t,a=[];for(let o=0;o<i.length;o++){let s=i[o];if(n.includes(o)){let u=s?.text?.split(this.splitor).map(l=>({text:!Oo()&&r?`[${l}]`:l,detected_source_language:s.detected_source_language}));a.push(...u)}else a.push(s)}return{...t,translations:a}}},Uu=J3;function X3(e,t="",n){if(!n.startsWith("zh")||t.length>200)return t;let r=t.indexOf("\u300A"),i=t.indexOf("\u300B");return i>r&&r>=0?t:r<0&&i>0&&i<80&&Z3(t[0])&&kS(t,"\u300B")==1?"\u300A"+t:i<0&&r>0&&t.length-r<80&&Z3(t[t.length-1])&&kS(t,"\u300A")==1?t+"\u300B":MG(e,t)}function MG(e,t){let n=e?.richIdName;return!n||!nT(t)||!t.includes(n)||t.endsWith(">")?t:t+">"}function kS(e,t){return e.split(t).length-1}var IG=[["auto","auto"],["zh-CN","zh"],["zh-TW","cht"],["en","en"],["ja","ja"],["ko","ko"],["es","es"],["de","de"],["fr","fra"],["pt","pt"],["ru","ru"],["ar","ara"],["it","it"],["ms","ms"],["id","id"],["vi","vie"],["th","th"],["ur","ur"],["yue","yue"],["bo","bo"],["wyw","wyw"],["be","be"],["bg","bul"],["bn","bn"],["ca","ca"],["cs","cs"],["da","da"],["el","el"],["et","et"],["fa","fa"],["fi","fi"],["gu","gu"],["he","he"],["hi","hi"],["hr","hr"],["hu","hu"],["hy","hye"],["is","is"],["ka","ka"],["km","km"],["kn","kn"],["lt","lt"],["lv","lv"],["mk","mk"],["ml","ml"],["mn","mn"],["mr","mr"],["mt","mt"],["my","my"],["ne","ne"],["nl","nl"],["no","no"],["pa","pa"],["pl","pl"],["ps","ps"],["ro","ro"],["si","si"],["sk","sk"],["sl","sl"],["sq","sq"],["sr","sr"],["sv","sv"],["sw","sw"],["ta","ta"],["te","te"],["tg","tg"],["tr","tr"],["ug","ug"],["uk","uk"],["uz","uz"]],$3=new Map(IG),e2=class extends We{static langMap=$3;APIKEY="";isSupportList=!1;constructor(t,n,r,i){if(super(t,n,r,i),!t||!t.APIKEY)throw new Y("APIKEY are required");this.APIKEY=t.APIKEY?.trim()}async translate(t){let{text:n,from:r,to:i}=t,a=n,o={url:"https://api.niutrans.com/NiuTransServer/translation",retry:this.retry,headers:{"content-type":"application/json"},method:"POST",body:JSON.stringify({src_text:a,from:$3.get(r)||r,to:$3.get(i)||i,apikey:this.APIKEY}),timeout:this.requestTimeout},s=await super.request(o);if(s.tgt_text){let u=s.tgt_text;return u.endsWith(`
`)&&(u=u.slice(0,-1)),{text:u,from:r,to:i}}else throw new Y(s.error_msg||JSON.stringify(s).slice(0,500))}getDefaultRateLimit(){return{limit:4,interval:1350}}},IS=e2;var LG=[["auto",""],["ar","ar"],["ga","ga"],["et","et"],["bg","bg"],["is","is"],["pl","pl"],["bs","bs-Latn"],["fa","fa"],["da","da"],["de","de"],["ru","ru"],["fr","fr"],["zh-TW","zh-Hant"],["fil","fil"],["fj","fj"],["fi","fi"],["gu","gu"],["kk","kk"],["ht","ht"],["ko","ko"],["nl","nl"],["ca","ca"],["zh-CN","zh-Hans"],["cs","cs"],["kn","kn"],["otq","otq"],["tlh","tlh"],["hr","hr"],["lv","lv"],["lt","lt"],["ro","ro"],["mg","mg"],["mt","mt"],["mr","mr"],["ml","ml"],["ms","ms"],["mi","mi"],["bn","bn-BD"],["hmn","mww"],["af","af"],["pa","pa"],["pt","pt"],["ps","ps"],["ja","ja"],["sv","sv"],["sm","sm"],["sr-Latn","sr-Latn"],["sr-Cyrl","sr-Cyrl"],["no","nb"],["sk","sk"],["sl","sl"],["sw","sw"],["ty","ty"],["te","te"],["ta","ta"],["th","th"],["to","to"],["tr","tr"],["cy","cy"],["ur","ur"],["uk","uk"],["es","es"],["he","he"],["el","el"],["hu","hu"],["it","it"],["hi","hi"],["id","id"],["en","en"],["yua","yua"],["bo","bo"]],t2=new Map(LG),n2=class extends We{static langMap=t2;APIKEY="";region="eastasia";isSupportList=!0;apiUrl="https://api.cognitive.microsofttranslator.com/translate";constructor(t,n,r,i){if(super(t,n,r,i),!t||!t.APIKEY)throw new Y("APIKEY are required");this.APIKEY=t.APIKEY?.trim(),t.region&&(this.region=t.region),t.apiUrl&&(this.apiUrl=ct(this.apiUrl,t.apiUrl))}async translateList(t){let{text:n,from:r,to:i}=t;if(n.length===0)return{from:r,to:i,text:[]};let a={"api-version":"3.0",to:t2.get(i)||i};r!=="auto"&&(a.from=t2.get(r)||r);let o=new URLSearchParams(a),s=JSON.stringify(n.map(g=>({text:g}))),u=new URL(this.apiUrl),l=new URLSearchParams(u.search);l.toString()!==""&&l.forEach((g,f)=>{o.append(f,g)}),this.isRichTranslate&&o.append("textType","html"),u.search=o.toString();let c={url:u.toString(),retry:this.retry,method:"POST",headers:{"Ocp-Apim-Subscription-Key":this.APIKEY,"Ocp-Apim-Subscription-Region":this.region,"content-type":"application/json"},body:s,timeout:this.requestTimeout},d=await super.request(c);if(d.length===0)throw new Y("server response invalid");return{from:r,to:i,text:d.map(g=>g.translations.map(p=>p.text).join(" "))}}},LS=n2;var DG=[["auto","auto"],["zh-CN","zh-CN"],["zh-TW","zh-TW"],["en","en"],["ja","ja"],["ru","ru"],["es","es"],["de","de"],["ko","ko"],["fr","fr"],["th","th"],["vi","vi"],["id","id"]],ju=new Map(DG),r2=class extends We{static langMap=ju;isSupportList=!0;maxTextGroupLength=25;maxTextLength=1200;constructor(t,n,r,i){super(t,n,r,i)}getDefaultRateLimit(){return{limit:3,interval:1150}}async translateList(t){let{text:n,from:r,to:i}=t,a;if(n.length===0)return{from:r,to:i,text:[]};let o=`
<br>
`,s=n.join(o),u={url:"https://api.papago-chrome.com/v2/translate/openapi",retry:this.retry,method:"POST",headers:{authority:"api.papago-chrome.com","content-type":"application/json"},body:"",timeout:this.requestTimeout};r==="auto"||!ju.get(r)?(a=(await super.request({url:"https://api.papago-chrome.com/v2/translate/detect",method:"POST",headers:{authority:"api.papago-chrome.com","content-type":"application/json"},body:s})).langCode,u.body=JSON.stringify({text:s,source:a||ju.get(r)||r,target:ju.get(i)||i})):u.body=JSON.stringify({text:s,source:ju.get(r),target:ju.get(i)||i});let l=await super.request(u);if(l.translatedText==="")throw new Y("server response invalid");let c=l.translatedText.split("<br>").map(d=>d.trim());return{from:r,to:i,text:c}}},DS=r2;function zu(e){return new Promise((t,n)=>{if(!e)return t("");let r=new FileReader;r.onloadend=async function(){let i=r.result;if(!i)return t("");if(typeof i=="string")return n("blob parse string");let a=await crypto.subtle.digest("SHA-256",i),s=Array.from(new Uint8Array(a)).map(u=>u.toString(16).padStart(2,"0")).join("");t(s)},r.onerror=n,r.readAsArrayBuffer(e)})}function ji(e){return $c(JSON.stringify(i2(e)))}async function $c(e){let t=new TextEncoder().encode(e),n=await crypto.subtle.digest("SHA-256",t);return Array.from(new Uint8Array(n)).map(a=>a.toString(16).padStart(2,"0")).join("")}function i2(e){if(Array.isArray(e))return e.map(t=>i2(t));if(e&&typeof e=="object"){let t={};for(let n of Object.keys(e).sort())t[n]=i2(e[n]);return t}return e}var Ur,o2=0,Qm=!1,Hu="initial",s2=!1,PS="",RS,u2=!1,a2=new Map;async function is(e,t,n,r){if(u2=!1,RS=e.usageScene,r!=null&&s2&&Ur||Ur&&PS==n&&!n.trim())return;let i=await le.getUserToken();Hu="initial",s2=r||!1,Ur=void 0;try{let a=e.rule.bodyRule;if(Qm=!1,!n||!a||!e.isPro||(o2=(a.contextTimeout||0)/100,o2<=0))return;let o=e.config.translationServices?.[t];if(!e0(o,e.specialAiAssistant)||(Qm=o.enableAIContext||!1,!Qm)||!i)return;let s=await $c(n);if(a2.has(s)){Ur=a2.get(s);return}let u=await Ve({text:n});Hu="requesting";let l=await Re({url:j.BASE_API+"transai/summary-context",method:"POST",body:JSON.stringify({target:e.targetLanguage,source:u,body:n}),headers:{"Content-Type":"application/json",token:i}});PS=n,Ur={theme:l.theme,termsRaw:l.terms,terms:PG(l.terms),styleGuide:l.style_guide},a2.set(s,Ur)}catch{}finally{Hu="finished"}k.debug("requestTermsByContext contextTerms",Ur)}async function Ym(e,t,n){if(!t?.trim())return;let r;for(let i of n){let a=e.config.translationServices?.[i];if(e0(a,e.specialAiAssistant)&&a.enableAIContext){r=i;break}}r&&await is(e,r,t.trim())}function NS(){s2||(Hu="initial",Ur=void 0)}function FS(){u2=!0}function Zm(){return{contextTerms:Ur,used:u2,usageScene:RS}}async function Jm(e,t){let n=e.config.translationServices?.[t];if(e0(n,e.specialAiAssistant)&&n.enableAIContext)return await l2(-1)}async function l2(e){if(!Qm)return Ur;let t=o2;e==-1&&(await it(50),t=t*1.5);for(let n=0;n<t;n++){if(Ur||Hu=="finished"||Hu=="initial")return Ur;await it(100)}return Ur}function PG(e){let t=[],n={};return e.split(`
`).forEach(r=>{let i=[r];r.split(":").length==2?i=r.split(":").map(a=>a.trim()):r.split("**").length==3&&(i=r.split("**").slice(1)),i?.[0]&&(i[0]=i[0].replace(/\*/ig,"").replace("- ","").trim()),i?.[1]&&(i[1]=i[1].replace("- ","").trim()),i[0]?.trim()&&(t.push(i[0]),n[i[0]]=i[1])}),n}function e0(e,t){if(!e)return!1;if(cr(e)){let n=e.systemPrompt;if(t&&(n=t.systemPrompt),!n)return!1;if(n.includes("{{summary_prompt}}")||n.includes("{{terms_prompt}}"))return!0}else{if(!e.context)return!1;if(e.context.includes("{{summary_context}}")||e.context.includes("{{terms_prompt}}"))return!0}return!1}var RG=["prompt","systemPrompt","multipleSystemPrompt","multiplePrompt","subtitlePrompt"];async function BS(e,t,n,r,i){let a={...t},o=e3(n,r,e.assistantId,i);if(!o&&t.fallbackAssistantId&&t.fallbackAssistantId!="common"&&t.assistantId=="auto"&&(o=r?.find(s=>s.id===t.fallbackAssistantId)),o){cT(o);let s={...a.env||{},...o.env||{}};Object.assign(a,lT({...o,env:s}))}if(a.env&&globalThis?.location&&!ov(globalThis.location.href,n.withAITitleBlockUrls)&&(a.env.imt_domain=globalThis.location.hostname||"",a.env.imt_title=globalThis.document.originTitle||globalThis.document.title||""),a=uT(a,a.langOverrides,n),o||RG.forEach(s=>{e?.hasOwnProperty(s)&&(a[s]=e[s]),s=="multipleSystemPrompt"&&!e?.hasOwnProperty(s)&&e?.hasOwnProperty("systemPrompt")&&delete a.multipleSystemPrompt}),e0(t,o)){let s=await l2();a.contextTerms=s}return e.forceMaxTextGroupLengthPerRequest&&(a.maxTextGroupLengthPerRequest=e.forceMaxTextGroupLengthPerRequest),a}async function on(e){let{url:t,config:n,state:r}=e,i=new URL(t),a="auto",{translationService:o,translationParagraphLanguagePattern:s,translationServices:u,translationTheme:l,translationThemePatterns:c,translationUrlPattern:d,targetLanguage:g,sourceLanguageUrlPattern:f,immediateTranslationPattern:p}=n,h=g||"zh-CN",C=Vu(t,s),y=Vu(t,p),v=o,b=Object.keys(u);for(let ce of b){let pe=u[ce];if(Vu(t,pe)){v=ce;break}}let x=l,T=Object.keys(c);for(let ce of T){let pe=c[ce];if(pe&&Vu(t,pe)){x=ce;break}}let S=Vu(t,d),E=Ke(t,[...D8,...n.blockUrls]),A=c2(t,n.inputTranslationUrlPattern);A||(A=Ke(t,n.inputTranslationBlockUrls));let M=c2(t,n.generalRule?.selectionTranslation?.urlPattern||{}),P=c2(t,n.generalRule?.aiWriting?.urlPattern||{}),B=Ke(t,n.mutationBlockUrls),O=Object.keys(f),R={};for(let ce of O){let pe=f[ce];if(pe&&pe.matches)for(let X of pe.matches)R[X]=ce}let _=Object.keys(R),F=Yh(t,_);F&&(a=R[F]??"auto",R[F]&&R[F]!=="auto"&&Fr(R[F]));let L=i.hostname,D=await $n(L),w=i.pathname+i.search+i.hash,N=await $n(w),V=`https://${D}.com/${N}`,H=await pr(),q=n.translationStartMode,K=NG(H,n);H.aiAssistants=FG(K,n),q==="dynamic"&&y&&(q="immediate");let J=v;n.inputTranslationService&&n.inputTranslationService!=="inherit"&&(J=n.inputTranslationService);let re=v;n.mouseHoverTranslationService&&n.mouseHoverTranslationService!=="inherit"&&(re=n.mouseHoverTranslationService);let Q=v;n.subtitleTranslateService&&n.subtitleTranslateService!=="inherit"&&(Q=n.subtitleTranslateService);let ie={targetLanguage:h,config:n,translationService:v,inputTranslationService:J,mouseHoverTranslationService:re,subtitleTranslateService:Q,clientImageTranslationService:Q,usageScene:"web_page",isTranslateUrl:S,isBlockByUrl:E,sourceLanguage:a,mainFrame:document.body,isMutationTranslationExcludeUrl:B,isInputTranslationExcludeUrl:A,isSelectionTranslationExcludeUrl:M,isAiWritingExcludeUrl:P,rule:n.generalRule,url:t,encryptedUrl:V,state:r?Object.assign({translationMode:n.translationMode,translationArea:n.translationArea,translationStartMode:q,isAutoTranslate:!1,translationDebounce:300,isNeedClean:!1,isDetectParagraphLanguage:C,cache:n.cache,translationTheme:x,isTranslateDirectlyOnHover:!1},r):{translationMode:n.translationMode,translationArea:n.translationArea,translationStartMode:q,isAutoTranslate:!1,translationDebounce:300,isNeedClean:!1,isDetectParagraphLanguage:C,cache:n.cache,translationTheme:x,isTranslateDirectlyOnHover:!1},localConfig:H};await d2(ie),ie.state.translationArea==="body"&&(ie.config.generalRule.excludeTags=ie.config.generalRule.excludeTags.filter(ce=>!ie.config.generalRule.bodyTranslateTags.includes(ce)),ie.config.generalRule.additionalExcludeSelectors=ie.config.generalRule.additionalExcludeSelectors.filter(ce=>ce!==".btn"));let xe=n.translationServices[ie.translationService]||{};xe&&xe.translationDebounce&&typeof xe.translationDebounce=="number"&&(ie.state.translationDebounce=xe.translationDebounce);let be=n.rules,ae;globalThis.PDFViewerApplication?ae=be.find(ce=>ce.pageType=="pdfReader"):globalThis.immersiveTranslateEbookViewer?ae=be.find(ce=>ce.pageType=="ebookReader"):globalThis.immersiveTranslateEbookBuilder?ae=be.find(ce=>ce.pageType=="ebookBuilder"):ae=be.find(ce=>Vu(t,ce)),ae&&ae.pageType==="ebookBuilder"&&(ie.state.translationStartMode="immediate");let ue=n.generalRule;if(ae?(ie.rule=Object.keys(ae).length>=Object.keys(ue).length?ae:tu(ue,ae),ie.rule=await jc(n,ie.rule,[...ue.advanceMergeConfig||[],...ae.advanceMergeConfig||[]])):await jc(n,ie.rule,ie.rule.advanceMergeConfig),ie.state.translationArea==="body"&&ie.rule.excludeTags&&(ie.rule.excludeTags=ie.rule.excludeTags.filter(ce=>!ie.rule.bodyTranslateTags.includes(ce)&&!ie.rule.forceTranslateTags.includes(ce))),ie.rule.mainFrameSelector){let ce=je(ie.rule.mainFrameSelector);ce&&(ie.mainFrame=ce)}return ie}function Vu(e,t){if(!t)return!1;let{matches:n,excludeMatches:r,selectorMatches:i,excludeSelectorMatches:a}=t;return r&&r.length>0&&Ke(e,r)?!1:n&&n.length>0&&Ke(e,n)?!0:a&&a.length>0&&qg(a)?!1:!!(i&&i.length>0&&qg(i))}function c2(e,t){if(!t)return!1;let{excludeMatches:n,excludeSelectorMatches:r}=t;return!!(n&&n.length>0&&Ke(e,n)||r&&r.length>0&&qg(r))}function NG(e,t){let n=[...e.aiAssistants||[]];return(t.rawUserConfig?.customAiAssistants||[]).forEach(i=>{let a=n.findIndex(o=>o.id===i.id);a!==-1?n[a]=i:n.push(i)}),n}function FG(e,t){try{let n=t.rawUserConfig?.aiAssistantsMatches||{};return e.map(r=>{let i=$8(r.matches||[],n[r.id]?.matches||[]);return{...r,matches:i}})}catch(n){return k.error(n),e}}async function d2(e){if(!e)return;let t=await le.getUserInfo(),n=Mt(t),r=gv(t);e.user=t,e.isPro=n,e.isMax=hg(t),e.isTeam=r}function po(e,t){var n=(e&65535)+(t&65535),r=(e>>16)+(t>>16)+(n>>16);return r<<16|n&65535}function BG(e,t){return e<<t|e>>>32-t}function $m(e,t,n,r,i,a){return po(BG(po(po(t,e),po(r,a)),i),n)}function er(e,t,n,r,i,a,o){return $m(t&n|~t&r,e,t,i,a,o)}function tr(e,t,n,r,i,a,o){return $m(t&r|n&~r,e,t,i,a,o)}function nr(e,t,n,r,i,a,o){return $m(t^n^r,e,t,i,a,o)}function rr(e,t,n,r,i,a,o){return $m(n^(t|~r),e,t,i,a,o)}function Xm(e,t){e[t>>5]|=128<<t%32,e[(t+64>>>9<<4)+14]=t;var n,r,i,a,o,s=1732584193,u=-271733879,l=-1732584194,c=271733878;for(n=0;n<e.length;n+=16)r=s,i=u,a=l,o=c,s=er(s,u,l,c,e[n],7,-680876936),c=er(c,s,u,l,e[n+1],12,-389564586),l=er(l,c,s,u,e[n+2],17,606105819),u=er(u,l,c,s,e[n+3],22,-1044525330),s=er(s,u,l,c,e[n+4],7,-176418897),c=er(c,s,u,l,e[n+5],12,1200080426),l=er(l,c,s,u,e[n+6],17,-1473231341),u=er(u,l,c,s,e[n+7],22,-45705983),s=er(s,u,l,c,e[n+8],7,1770035416),c=er(c,s,u,l,e[n+9],12,-1958414417),l=er(l,c,s,u,e[n+10],17,-42063),u=er(u,l,c,s,e[n+11],22,-1990404162),s=er(s,u,l,c,e[n+12],7,1804603682),c=er(c,s,u,l,e[n+13],12,-40341101),l=er(l,c,s,u,e[n+14],17,-1502002290),u=er(u,l,c,s,e[n+15],22,1236535329),s=tr(s,u,l,c,e[n+1],5,-165796510),c=tr(c,s,u,l,e[n+6],9,-1069501632),l=tr(l,c,s,u,e[n+11],14,643717713),u=tr(u,l,c,s,e[n],20,-373897302),s=tr(s,u,l,c,e[n+5],5,-701558691),c=tr(c,s,u,l,e[n+10],9,38016083),l=tr(l,c,s,u,e[n+15],14,-660478335),u=tr(u,l,c,s,e[n+4],20,-405537848),s=tr(s,u,l,c,e[n+9],5,568446438),c=tr(c,s,u,l,e[n+14],9,-1019803690),l=tr(l,c,s,u,e[n+3],14,-187363961),u=tr(u,l,c,s,e[n+8],20,1163531501),s=tr(s,u,l,c,e[n+13],5,-1444681467),c=tr(c,s,u,l,e[n+2],9,-51403784),l=tr(l,c,s,u,e[n+7],14,1735328473),u=tr(u,l,c,s,e[n+12],20,-1926607734),s=nr(s,u,l,c,e[n+5],4,-378558),c=nr(c,s,u,l,e[n+8],11,-2022574463),l=nr(l,c,s,u,e[n+11],16,1839030562),u=nr(u,l,c,s,e[n+14],23,-35309556),s=nr(s,u,l,c,e[n+1],4,-1530992060),c=nr(c,s,u,l,e[n+4],11,1272893353),l=nr(l,c,s,u,e[n+7],16,-155497632),u=nr(u,l,c,s,e[n+10],23,-1094730640),s=nr(s,u,l,c,e[n+13],4,681279174),c=nr(c,s,u,l,e[n],11,-358537222),l=nr(l,c,s,u,e[n+3],16,-722521979),u=nr(u,l,c,s,e[n+6],23,76029189),s=nr(s,u,l,c,e[n+9],4,-640364487),c=nr(c,s,u,l,e[n+12],11,-421815835),l=nr(l,c,s,u,e[n+15],16,530742520),u=nr(u,l,c,s,e[n+2],23,-995338651),s=rr(s,u,l,c,e[n],6,-198630844),c=rr(c,s,u,l,e[n+7],10,1126891415),l=rr(l,c,s,u,e[n+14],15,-1416354905),u=rr(u,l,c,s,e[n+5],21,-57434055),s=rr(s,u,l,c,e[n+12],6,1700485571),c=rr(c,s,u,l,e[n+3],10,-1894986606),l=rr(l,c,s,u,e[n+10],15,-1051523),u=rr(u,l,c,s,e[n+1],21,-2054922799),s=rr(s,u,l,c,e[n+8],6,1873313359),c=rr(c,s,u,l,e[n+15],10,-30611744),l=rr(l,c,s,u,e[n+6],15,-1560198380),u=rr(u,l,c,s,e[n+13],21,1309151649),s=rr(s,u,l,c,e[n+4],6,-145523070),c=rr(c,s,u,l,e[n+11],10,-1120210379),l=rr(l,c,s,u,e[n+2],15,718787259),u=rr(u,l,c,s,e[n+9],21,-343485551),s=po(s,r),u=po(u,i),l=po(l,a),c=po(c,o);return[s,u,l,c]}function OS(e){var t,n="",r=e.length*32;for(t=0;t<r;t+=8)n+=String.fromCharCode(e[t>>5]>>>t%32&255);return n}function g2(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t<n.length;t+=1)n[t]=0;var r=e.length*8;for(t=0;t<r;t+=8)n[t>>5]|=(e.charCodeAt(t/8)&255)<<t%32;return n}function OG(e){return OS(Xm(g2(e),e.length*8))}function _G(e,t){var n,r=g2(e),i=[],a=[],o;for(i[15]=a[15]=void 0,r.length>16&&(r=Xm(r,e.length*8)),n=0;n<16;n+=1)i[n]=r[n]^909522486,a[n]=r[n]^1549556828;return o=Xm(i.concat(g2(t)),512+t.length*8),OS(Xm(a.concat(o),512+128))}function _S(e){var t="0123456789abcdef",n="",r,i;for(i=0;i<e.length;i+=1)r=e.charCodeAt(i),n+=t.charAt(r>>>4&15)+t.charAt(r&15);return n}function m2(e){return unescape(encodeURIComponent(e))}function US(e){return OG(m2(e))}function UG(e){return _S(US(e))}function jS(e,t){return _G(m2(e),m2(t))}function jG(e,t){return _S(jS(e,t))}function zi(e,t,n){return t?n?jS(t,e):jG(t,e):n?US(e):UG(e)}function zS(e){let t=e.split(`
`),n=[],r,i="",a="";for(let o of t){o?.startsWith("- ")&&(o=o.slice(1),r&&n.push(r),r={},i="",a="");let s=o.trim().split(/[:：]/).map(l=>l.trim()).filter(l=>!!l);if(s.length>=2&&!/\S\s\S/.test(s[0])){let l=o.slice(o.indexOf(s[1])).trim();l?(i=s[0],l=="|-"?a="":a=l):a+=`
`+o}else a+=`
`+o;if(!i)continue;r||(r={});let u=Number(a);r[i]=Number.isNaN(u)?a:Number(a)}return r&&n.push(r),Object.values(n).forEach(o=>{Object.entries(o).forEach(([s,u])=>{if(typeof u=="string"){let l=u.trim();o[s]=l}})}),n}function t0(e,t=0,n=!1,r){let i=" ".repeat(t);if(e===null)return"null";if(typeof e>"u")return"";if(typeof e!="object")return String(e);if(Array.isArray(e))return e.length===0?"[]":e.map(u=>{if(typeof u!="object"||u===null){if(typeof u=="string"&&u.includes(`
`)){let f=u.split(`
`);return`${i}- |-
${f.map(p=>`${i}  ${p}`).join(`
`)}`}return`${i}- ${u}`}let c=t0(u,t+2,!1,r).split(`
`),d=c[0].trimStart();return[`${i}- ${d}`,...c.slice(1)].join(`
`)}).join(`
`);let a=e,o=Object.keys(a),s=r?r([...o],a):o;return s.length===0?"{}":s.map(u=>{let l=a[u];if(l===void 0)return"";if(l===null)return`${i}${u}: null`;if(typeof l!="object"){if(typeof l=="string"&&l.includes(`
`)){let d=l.split(`
`);return`${i}${u}: |-
${d.map(g=>`${i}  ${g}`).join(`
`)}`}return`${i}${u}: ${l}`}if(Array.isArray(l)&&l.length===0)return`${i}${u}: []`;let c=l;return!Array.isArray(l)&&Object.keys(c).length===0?`${i}${u}: {}`:`${i}${u}:
${t0(l,t+2,!1,r)}`}).filter(u=>u!=="").join(t===0&&n?`

`:`
`)}var HS=null;if(typeof trustedTypes<"u")try{HS=trustedTypes.createPolicy("sanitizer",{createHTML:e=>e,createScript:e=>e})}catch{}var VS=!1;globalThis.addEventListener("securitypolicyviolation",e=>{e.violatedDirective=="require-trusted-types-for"&&(VS=!0)});function ef(){return VS}var kn=HS;function GS(e,t,n,r,i){if(!e||n.length<=1)return"";for(let h of r||[])if(t?.querySelector(h))return"";let a=n[n.length-1];if(HG(t,a))return"";let o="",s,u="",l="";for(let h of n){let C=VG(t,h);if(l+=f(h),s&&C!=s){p(),s=C,u=f(h)||"";continue}s=C,u+=f(h)||""}p();let c=g(l),d=g(t.textContent||"");if(c==d&&t.innerText?.split(`
`).filter(h=>!!h.trim()).length!=l.split(`
`).filter(h=>!!h.trim()).length&&!/<[^>]+>/g.test(t.innerHTML))return t.innerText||"";return o;function g(h){return h.replace(/\s+/g,"")}function f(h){return h instanceof HTMLElement?h.innerText:h?.textContent||""}function p(){let h=g(f(s)),C=g(u);if(h==C){let y=f(s).replace(/ */g,"");if(!l.startsWith(`
`)&&y?.startsWith(`
`)||!l.endsWith(`
`)&&y?.endsWith(`
`)){o+=u;return}o+=JS(s,i)}else o+=u}}function WS(e,t,n,r,i){if(!e||!t)return"";let a=JS(n,i)||"";return t.replace(a,r)}var f2=globalThis.document?.createElement("div");function zG(e){return f2?(f2.innerHTML=kn?.createHTML(e)||e,f2?.childNodes?.[0]?.nodeType==Node.TEXT_NODE):!1}function qS(e,t,n){if(!t)return t;let r=t,i=/<([a-zA-Z0-9-]+)\s*([^<]*?)>/ig;return r.replace(i,(o,s,u,l)=>{if(n&&s.startsWith(n)&&s!=n||zG(`<${s} ${u}/>`))return o;let c=Object.keys(e).length;return e[c]={tag:s,attributes:u,index:l,id:c},`<${c}>`}).replace(/&&/ig,"%26%26").replace(/&lt;/ig,"%3C").replace(/&gt;/ig,"%3E")}function KS(e,t,n,r,i){let a=/<\/?([a-zA-Z0-9-]+)\s*([^<]*?)>/ig,o=[],s=[],u=[],l=t.replace(a,(d,g,f,p)=>{if(t[p+1]=="/"){let C=o.findIndex(v=>v.tag==g);if(C==-1)return d;let y=o[C];return o=o.slice(C+1),n?`</${n}${y.id}>`:`</${y.tag}>`}else{let C=e[g];if(!C)return d;if(o.unshift(C),n)return`<${n}${g}>`;if(!C.attributes)return`<${C.tag}>`;let y=i||"";return`<${C.tag} ${r||"id"}=${y}${C.id}${y}>`}});l.replace(a,(d,g,f,p)=>{if(l[p+1]=="/"){let C=s[0],y=s[1],v=u[u.length-1];C?.tag==g?(C.end==p?(C.endTag=d,C.end=p+d.length,u.push(C)):C.end==v?.begin&&v.end==p&&(C.endTag=d,C.end=p+d.length,C.times++,u[u.length-1]=C),s.shift()):y?.tag==g&&y.end==C.begin&&y.end==p&&(y.endTag=d,y.end=p+d.length,u.push(y),s.shift(),s.shift())}else s.unshift({tag:g,startTag:d,begin:p,end:p+d.length,times:0});return d});let c=l.slice();return u.forEach(d=>{if(!d.times)return;let g=Object.keys(e).length,f="";e[g]={tag:n||d.tag,content:"",id:g},n?f=`<${n}${g}></${n}${g}>`:f=`<${d.tag} ${r||"id"}=${g}></${d.tag}>`,e[g].content=c.slice(d.begin,d.end),l=l.replace(e[g].content,f)}),l}function QS(e,t,n,r){let i="";return n?i=YS(e,t,n):i=ZS(e,t,r),i.replace(/%26%26/ig,"&&").replace(/%3C/ig,"&lt;").replace(/%3E/ig,"&gt;")}function YS(e,t,n){let r=/<\s*\/?([a-zA-Z0-9-]+)\s*([^<]*?)>/ig;return t.replace(r,(a,o,s,u)=>{let l=t[u+1];if(o[0]!=n)return a;let c=o.slice(1),d=e[c];return d?l=="/"?d.content?"":`</${d.tag}>`:d.content?YS(e,d.content,n):d.attributes?`<${d.tag} ${d.attributes}>`:`<${d.tag}>`:a})}function ZS(e,t,n){let r=new RegExp(`<\\s*([a-zA-Z0-9-]+)\\s*${n||"id"}=["']?(\\d+)["']?\\s*>`,"ig");return t.replace(r,(a,o,s)=>{let u=e[s];if(!u)return a;if(u.content){let l=u.content.slice(0,u.content.length-`</${u.tag}>`.length);return ZS(e,l,n)}return`<${u.tag} ${u.attributes||""}>`}).replace(/<\s*一个\s*id/ig,"<a id").replace(/<\s+(\/?[a-zA-Z0-9-]+)\s?>/,"<$1>")}function JS(e,t){if(e instanceof HTMLElement){if(wc(e.tagName))return e.innerHTML;let r="";return e.innerText.indexOf(`
`)<0?r=at.sanitize(e.outerHTML.replace(/\s+/ig," "),{ADD_TAGS:t}):r=at.sanitize(e.outerHTML.replace(/(<\/[a-zA-Z0-9]+>)(\n\s*)+</ig,"$1<"),{ADD_TAGS:t}),e.innerText.length>=500?e.innerText?.replace(/</g,"&lt;")?.replace(/>/g,"&gt;"):r.replace(/<!--.*?-->/igs,"")}else if(e?.nodeType==Node.TEXT_NODE){let r=e.textContent?.replace(/\n/g," ")||"";if((e?.parentElement?.innerText?.indexOf(r)||-1)>=0)return r}else return e?.outerHTML;return(e?.parentElement?.innerText?.indexOf(`
`)||-1)>0?e?.textContent?.replace(/</g,"&lt;")?.replace(/>/g,"&gt;"):e?.textContent?.replace(/\s+/ig," ")?.replace(/</g,"&lt;")?.replace(/>/g,"&gt;")}function HG(e,t){return t.nodeType==Node.TEXT_NODE&&t.parentElement?.nextElementSibling?.nodeType==Node.ELEMENT_NODE&&!t.parentElement?.nextElementSibling?.nextElementSibling?e.contains(t.parentElement?.nextElementSibling):!1}function VG(e,t){let n=t;if(!e.contains(t))return t;for(;n&&n.parentNode!=e;)n=n?.parentNode||void 0;return n}function XS(e){return/<([a-zA-Z0-9-]+)\s*([^<]*?)>/ig.test(e)}function p2(e){let t={...e},n={};return Object.entries(e).filter(([r,i])=>{if(r.startsWith("rich.")){if(r.includes("add_v")){let a=Object.keys(n).find(o=>o.endsWith("add")||o.includes("add."))||"";delete n[a]}if(r.includes("remove_v")){let a=Object.keys(n).find(o=>o.endsWith("remove")||o.includes("remove."))||"";delete n[a]}n[r.replace("rich.","")]=i}}),br({rule:n,valueIsArray:r=>Array.isArray(t[r]),getMergedValue:r=>t[r],onMergedResult:(r,i)=>{t[r]=i}},!0),t}function as(e,t,n,r){let i=e.rule,a=n?.[t];if(!a)return!1;let o=i.enableRichTranslate??!0;return e.state.translationMode=="dual"&&!a.dualEnableRichTranslate?a.dualEnableRichTranslate==null?a.enableRichTranslate&&o:!1:e.state.translationMode=="translation"&&!a.translationEnableRichTranslate?a.translationEnableRichTranslate==null?a.enableRichTranslate&&o:!1:r?!!r.enableRichTranslate&&o:o}function $S(e,t){let n=t||e.translationService;return as(e,n,e.config.translationServices)?p2(e.rule):e.rule}function h2(e){return e.replace(/<?\s*(code|代码|CODE)\s*([a-zA-Z-]+)\s*=\s*["']?([a-zA-Z0-9]+)['"]?>(.*?)<\s*\/(code|代码|CODE)>?/g,(t,n,r,i,a)=>`<code ${r.toLowerCase()}="${i.toLowerCase()}">${a}</code>`)}async function eE(e,t){let n=new TextEncoder,r=await crypto.subtle.importKey("raw",n.encode(e),{name:"PBKDF2"},!1,["deriveKey"]);return crypto.subtle.deriveKey({name:"PBKDF2",salt:t,iterations:6e5,hash:"SHA-256"},r,{name:"AES-GCM",length:256},!1,["encrypt","decrypt"])}async function tE(e,t){let n=new TextEncoder().encode(e),r=new TextEncoder().encode(t.aadStr),i,a;if(t.key)i=t.key;else if(t.password)a=crypto.getRandomValues(new Uint8Array(16)),i=await eE(t.password,a);else throw new Error("Either key or password must be provided");let o=crypto.getRandomValues(new Uint8Array(12)),s=await crypto.subtle.encrypt({name:"AES-GCM",iv:o,additionalData:r||new Uint8Array,tagLength:128},i,n),u=new Uint8Array(s),l;a?l=[Uint8Array.of(1),a,o,u]:l=[Uint8Array.of(1),o,u];let c=l.reduce((f,p)=>f+p.length,0),d=new Uint8Array(c),g=0;for(let f of l)d.set(f,g),g+=f.length;return btoa(String.fromCharCode(...d))}async function nE(e,t){let n=new Uint8Array(atob(e).split("").map(c=>c.charCodeAt(0))),r=new TextEncoder().encode(t.aadStr),i=0;if(n[i++]!==1)throw new Error("Unsupported version");let o;if(t.key)o=t.key;else if(t.password){let c=n.slice(i,i+16);i+=16,o=await eE(t.password,c)}else throw new Error("Either key or password must be provided");let s=n.slice(i,i+12);i+=12;let u=n.slice(i),l=await crypto.subtle.decrypt({name:"AES-GCM",iv:s,additionalData:r||new Uint8Array,tagLength:128},o,u);return new TextDecoder().decode(new Uint8Array(l))}function y2(){return crypto.getRandomValues(new Uint8Array(8)).join("").slice(0,16)}function rE(){return 16}var b2="imt_aes_";function iE(){let e=y2();for(;e.length<16;)e+=y2();return e.slice(0,16)}async function aE(e,t,n){try{if(n0(e))return e;let r=await tE(e,{password:t,aadStr:n});return`${b2}${n}${r}`}catch(r){return k.error(r),e}}async function oE(e,t){let n=b2.length,r=rE(),i=e.slice(n,n+r),a=e.slice(n+r);return await nE(a,{password:t,aadStr:i})}function n0(e){return e?.startsWith(b2)}function v2(e,t){try{if(!e||typeof e!="object"||!t||typeof t!="string")return;if(t.includes("||")){let a=t.split("||").map(o=>o.trim());for(let o of a){let s=v2(e,o);if(s!=null)return s}return}let n=t.replace(/\.\[/g,"["),r=GG(n),i=e;for(let a of r){if(i==null)return;if(a.type==="property")i=i[a.value];else if(a.type==="index"){if(!Array.isArray(i))return;let o=parseInt(a.value,10);if(isNaN(o)||o<0||o>=i.length)return;i=i[o]}}return i}catch{return}}function GG(e){let t=[],n=0;for(;n<e.length;){if(e[n]==="."){n++;continue}if(e[n]==="["){let i=e.indexOf("]",n);if(i===-1)break;let a=e.slice(n+1,i);t.push({type:"index",value:a}),n=i+1;continue}let r=n;for(;r<e.length&&e[r]!=="."&&e[r]!=="[";)r++;if(r>n){let i=e.slice(n,r);t.push({type:"property",value:i}),n=r}else n++}return t}function WG(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var sE,uE,lE=new Map($s),x2=class extends We{static langMap=lE;apiKeys=[];isSupportList=!1;maxTextLength=1200;maxTextGroupLength=1;translationTextSeparator=`

%%

`;model="";systemPrompt="";prompt="";subtitlePrompt="";multiplePrompt="";multipleSystemPrompt="";selectionSystemPrompt="";selectionPrompt="";ignoreResReges=[];removeResReges=[];removeItemResReges=[];replaceTextRegexes=[];apiUrl="";contextTerms=void 0;enableContextDiffPreview=!1;maxTokensRatio=3;minTokensRatio=.3;enableFallback=!0;strictPrompt=!1;provider="custom";temperature=0;streamApiUrl="";constructor(t,n,r,i){let a=t;if(super(a,n,r,i),a||(a={}),this.enableContextDiffPreview=r.enableContextDiffPreview,a.provider&&(this.provider=a.provider),a.APIKEY){if(n0(a.APIKEY))throw new Y("IMT_ENCRYPT_ERROR: APIKEY is encrypted, please decrypt it first");let o=a.APIKEY?.trim();this.apiKeys=o.split(",").map(s=>s.trim())}Array.isArray(a.ignoreResRegexs)&&(this.ignoreResReges=a.ignoreResRegexs),Array.isArray(a.removeResRegexs)&&(this.removeResReges=a.removeResRegexs),Array.isArray(a.removeItemResRegexs)&&(this.removeItemResReges=a.removeItemResRegexs),Array.isArray(a.replaceTextRegexes)&&(this.replaceTextRegexes=a.replaceTextRegexes),a.translationTextSeparator&&(this.translationTextSeparator=a.translationTextSeparator),a.model&&(this.model=a.model),a.systemPrompt&&(this.systemPrompt=a.systemPrompt),a.prompt&&(this.prompt=a.prompt),a.multipleSystemPrompt&&(this.multipleSystemPrompt=a.multipleSystemPrompt),a.multiplePrompt&&(this.multiplePrompt=a.multiplePrompt),a.subtitlePrompt&&(this.subtitlePrompt=a.subtitlePrompt),a.selectionSystemPrompt&&(this.selectionSystemPrompt=a.selectionSystemPrompt),a.selectionPrompt&&(this.selectionPrompt=a.selectionPrompt),a.bodyConfigs&&(this.bodyConfigs=a.bodyConfigs),a.contextTerms&&(this.contextTerms=a.contextTerms),typeof a.enableFallback=="boolean"&&(this.enableFallback=a.enableFallback),typeof a.strictPrompt=="boolean"&&(this.strictPrompt=a.strictPrompt),a.maxTokensRatio&&(this.maxTokensRatio=Number(a.maxTokensRatio)),a.minTokensRatio&&(this.minTokensRatio=Number(a.minTokensRatio)),a.temperature!==void 0&&(this.temperature=parseFloat(a.temperature)),this.isAI=!0,this.apiUrl="https://api.openai.com/v1/chat/completions",a.apiUrl&&(this.apiUrl=ct(this.apiUrl,a.apiUrl))}getLangMap(){return lE}getRandomKey(){let t=Math.floor(Math.random()*this.apiKeys.length);return this.apiKeys[t]}mergePreAndAppendMessages(t){if(!this.serviceConfig.preMessages&&!this.serviceConfig.appendMessages)return t;let n=cE(this.serviceConfig.preMessages),r=cE(this.serviceConfig.appendMessages),i=[...t];return n.length&&i.splice(-1,0,...n),r.length&&i.push(...r),i}async translate(t){if(t.inArticleContext&&this.contextTerms&&this.enableContextDiffPreview){let r=await Promise.all([this._translate(t,this.contextTerms),this._translate(t,void 0)]),i=r[0]?.text.split(this.translationTextSeparator)||[],a=r[1]?.text.split(this.translationTextSeparator).map((o,s)=>{let u=i[s];return Ig(u,o)}).join(this.translationTextSeparator);return{from:r[0]?.from,to:r[0]?.to,text:a}}else if(t.inArticleContext&&this.contextTerms)return await this._translate(t,this.contextTerms);return await this._translate(t,void 0)}async _translate(t,n){let{text:r,from:i,to:a,inArticleContext:o,options:s}=t;if(r.trim().length===0)return{from:i,to:a,text:""};let u=this.getLangMap(),l=this.prompt||"",c=this.systemPrompt||"",d=u.get(i)||i,g=u.get(a)||a,f=this.serviceConfig.env||{};f={...f};let p=s?.usageScene,h=["subtitle_video","subtitle_file"].includes(p),C=[r];s?.rawTextArrayLength&&(C=r.split(this.translationTextSeparator)),C.length>1&&this.multipleSystemPrompt&&(c=this.multipleSystemPrompt),C.length>1&&this.multiplePrompt&&(l=this.multiplePrompt),h&&this.subtitlePrompt&&(l=this.subtitlePrompt);let y="",v="",b=l.includes("{{yaml}}");if(f.title_prompt=f.imt_title?f.title_prompt:"",XS(r)&&this.isRichTranslate?f.content_type="html":f.html_only="",b){let B=[],O=f.imt_yaml_item||"";h&&(O=f.imt_subtitle_yaml_item||O);for(let R=0;R<C.length;R++){let _=O.replace(/{{id}}/g,R+1).replace(/{{text}}/g,C[R]);B.push(_)}v=B.join(`
`)}await this.handleGlossaries(i,f,r,t.glossaries||[],n),await JG(h,f,n,o||!1),l=P(l);let x=P(c),T=await this.handleOptions({systemPrompt:x,finalPrompt:l,payload:t});k.debug("request options",T),k.debug("request body",T.body),k.debug("finalPrompt",l);let S;try{S=await this.rawRequest(T),uE=!0}catch(B){let O=await this.handleSensitiveContentTimeout({err:B,payload:t,rawTextArray:C,systemPrompt:x,finalPrompt:l});if(O)return O;throw B}let E=this.parseResponse(S),A=await this.interceptResponse(E,{...t,text:C});if(A.handled)return{from:i,to:a,text:A.result||"",systemPrompt:x,prompt:l};E=this.filterContent(r,E,l),k.debug("filterContent after",E),E&&(E=qG(r,E));let M=await this.likeChineseFallback({text:r,resultText:E,rawTextArray:C,systemPrompt:x,finalPrompt:l,from:i,to:a});if(typeof M=="object")return M;M&&typeof M=="string"&&(E=M);try{if(b){let B={};if(b){k.debug("parseYAML before",E);let _=this.extractValidYaml(E);B=zS(_)}let O=f.imt_trans_field;h&&(O=f.imt_sub_trans_field||O);let R=f.imt_source_field;h&&(R=f.imt_sub_source_field||R),E=this.restoreText(C,B,O,R)}return E=await this.checkResultTextWithFallback(i,a,C,E,t),E=E.split(this.translationTextSeparator).map(B=>this.filterItemContent(B)).join(this.translationTextSeparator),{from:i,to:a,text:E,systemPrompt:x,prompt:l}}catch(B){return k.error("parse response failed",E,B),{from:i,to:a,text:E}}function P(B){return B.replace(/{{(.+?)}}/g,(O,R)=>R==="from"?d:R==="to"?g+" Language":R==="text"?r:R=="json"?y:R=="yaml"?v:f[R]===""?"":f[R]||O).replace(/{{(.+?)}}/g,(O,R)=>f[R]||O)}}async sendMessageStream(t){let{systemPrompt:n,userPrompt:r,signal:i}=t,a=await this.handleOptions({systemPrompt:n||"",finalPrompt:r||"",payload:{text:"",from:"auto",to:"auto",url:"",options:{}}});await this.headerAttachLanguage(a.headers),this.attachUsageSceneHeader(a),a=this.handleStreamOptions(a,t),i&&(a.signal=i);try{await Gc(a)}catch(o){t.onError?.(o)}}handleStreamOptions(t,n){let r=!1;return t.onMessage=i=>{try{let a=JSON.parse(i.data),{choices:o}=a;if(!o||o.length===0)return;let{finish_reason:s}=o[0];if(s){r||(n.onFinish?.(s),r=!0);return}if(o[0].delta){let{content:u=""}=o[0].delta;n.onMessage?.(u)}}catch(a){i.data.trim()!=="[DONE]"&&n.onError?.(new Y("parseResponseError",a?.message||"Cannot parse response JSON")),r||(n.onFinish?.("finish"),r=!0)}},t.onError=i=>{n.onError?.(i)},t.onFinish=i=>{r||(n.onFinish?.(i),r=!0)},t.body=JSON.stringify({...JSON.parse(t.body),stream:!0}),n.messages&&(t.body=JSON.stringify({...JSON.parse(t.body),messages:n.messages})),t.responseType="stream",t.headers={...t.headers,Accept:"text/event-stream"},this.streamApiUrl&&(t.url=this.streamApiUrl),t}async rawRequest(t){let n=await super.request(t);if(n?.error?.message&&n?.error?.code)throw new Y(n.error.code,n.error.message);return n}extractValidJson(t){let n=t.indexOf("["),r=t.lastIndexOf("]");return n!==-1&&r!==-1?t.slice(n,r+1):""}extractValidYaml(t){let n=t.split(`
`),r=[];for(let i=0;i<n.length;i++)n[i]?.startsWith("`")||n[i]?.startsWith("<")||r.push(n[i]);return r.join(`
`)}restoreText(t,n,r,i){let a=[];for(let o=0;o<t.length;o++){let s=t[o],u=n[o];u&&u[r]?s===u[r]&&u[i]&&u[i]!==s?a.push(u[i]):a.push(u[r]):u&&typeof u=="string"?a.push(u):n[r]&&typeof n[r]=="string"?a.push(n[r]):u&&u[i]?a.push(u[i]):a.push("")}return a.join(this.translationTextSeparator)}parseResponse(t){let n=this.parseOpenAINewResponse(t);if(n)return n;let r=this.serviceConfig.responseContentPath;if(r){let i=v2(t,r);if(i!=null){let a=typeof i;if(a==="string"||a==="number")return String(i).trim()}}return t?.choices?.[0]?.message?.content?.trim()||""}getValidGlossaries(t,n,r){if(!r||r.length===0)return[];let i=r.map(s=>WG(s.k)).sort((s,u)=>u.length-s.length);if(i.length===0)return[];let a;ZG(t)||t=="auto"?a=new RegExp(`(${i.join("|")})`,"gi"):a=new RegExp(`\\b(${i.join("|")})\\b`,"gi");let o=Dg(n,r,a);return o=Qa(o),W7(s=>Qa([...s,...o])),o}async handleGlossaries(t,n,r,i,a){if(a?.terms){let s;Object.keys(i).length&&(s=new RegExp(`(${Object.keys(i).join("|")})`,"gi")),Object.keys(a.terms).forEach(u=>{s?.test(u)||a.terms[u]&&i.push({k:u,v:a.terms[u]})})}let o=this.getValidGlossaries(t,r,i);if(o.length){let s=!1,u=!1;n.imt_terms=o.map(l=>{let c=l.domain||"";return c?(c=`[${c}]`,s=!0):u=!0,`'${l.k.replace(/`/g,"\\`")}${c}': '${(l.v||l.k).replace(/`/g,"\\`")}'`}).join(", "),n.imt_terms_with_domain=s?n.imt_terms_with_domain:"",n.imt_terms_without_domain=u?n.imt_terms_without_domain:""}}getDefaultRateLimit(){return{limit:10,interval:1300}}async handleAiOptions({systemPrompt:t,finalPrompt:n,payload:r}){let i=this.handleOpenAINewResponseOptions(t,n);if(i)return i;let a=[];t&&a.push({role:"system",content:t}),n&&a.push({role:"user",content:n});let o=this.handleBodyHeaders({model:this.model,temperature:this.temperature,messages:this.mergePreAndAppendMessages(a),...this.bodyConfigs});isNaN(o.temperature)&&delete o.temperature;let s=this.handleBodyHeaders({"Content-Type":"application/json",...this.headerConfigs});await this.headerAttachLanguage(s,this.apiUrl);let u={url:this.apiUrl,method:"POST",headers:s,body:JSON.stringify(o,null,2),timeout:this.requestTimeout,retry:this.retry},l=this.getRandomKey();return l&&(u.headers.Authorization="Bearer "+l,u.headers["api-key"]=l),u}async handleOptions({systemPrompt:t,finalPrompt:n,payload:r}){return this.handleAiOptions({systemPrompt:t,finalPrompt:n,payload:r})}filterContent(t,n,r){let i=n;if(i?.startsWith(r)&&(i=i.replace(r,"").trim()),i&&(this.removeResReges.forEach(a=>{i=i?.replace(new RegExp(a),""),i=i.trimStart()}),this.replaceTextRegexes?.forEach(([a,o])=>{i=i?.replace(new RegExp(a,"g"),o),i=i.trimStart()})),i&&this.ignoreResReges?.length)try{this.ignoreResReges.some(o=>new RegExp(o).test(i))&&(i=t)}catch(a){k.debug("e",a)}return i||""}filterItemContent(t){let n=t;return this.removeItemResReges.forEach(r=>{n=n?.replace(new RegExp(r),""),n=n.trimStart()}),n||""}getCacheKeyPrefix(){let t=[this.model||"",this.apiUrl||"",this.systemPrompt||"",this.prompt||"",this.multipleSystemPrompt||"",this.multiplePrompt||"",this.subtitlePrompt||""];return zi(t.join("_"))}async interceptResponse(t,n){let r=await this.checkIgnoreAndFallbackByAutoSelectService(t,n);return r==t?{handled:!1}:{handled:!0,result:r}}async handleSensitiveContentTimeout(t){let{err:n,payload:r,rawTextArray:i,systemPrompt:a,finalPrompt:o}=t;if(k.error("request failed",n),!n.message.includes("Request timeout")||!uE||this.provider!=="pro")return;k.debug("fallback timeout");let u=i.length>1,l;if(u?l=await this.translateRetryBySingeText(r,i):l=await this.translateFallbackByAutoSelectService(i,r.from,r.to),l)return{from:r.from,to:r.to,text:l,systemPrompt:a,prompt:o}}async likeChineseFallback(t){let{text:n,resultText:r,systemPrompt:i,finalPrompt:a,from:o,to:s}=t;if(!s.startsWith("zh")||this.strictPrompt)return;let u=ku(r),l;if(s!=u&&u.startsWith("zh"))return s!="zh-CN"&&u!="zh-CN"?void 0:(k.debug("fallback \u7B80\u7E41\u4E92\u6362 likeChineseFallback",n,r),await this.translateFallbackByBing([r],u,s));if(l)return{from:o,to:s,text:l,systemPrompt:i,prompt:a}}async checkResultTextWithFallback(t,n,r,i,a){if(this.strictPrompt||!i)return i;let o=r.length>1,s=[i];o&&(s=i.split(this.translationTextSeparator),i=QG(r,s).join(this.translationTextSeparator));let u=o&&YG({texts:r,translations:s,payload:a}),l,c=!KG(r,s,this.maxTokensRatio,this.minTokensRatio);return c&&o||u?(k.debug("fallback isTokenRetry",c,"isMultipleRetry",u,r,`
`,i),l=await this.translateRetryBySingeText(a,r)):c&&(k.debug("fallback isTokenRetry",c,r,`
`,i),l=await this.translateFallbackByAutoSelectService(r,t,n)),l||i}async checkIgnoreAndFallbackByAutoSelectService(t,n){try{if(!this.enableFallback||!t||!this.ignoreResReges?.length||!this.ignoreResReges.some(a=>new RegExp(a).test(t)))return t;k.debug("fallback checkIgnore",t);let i=await this.translateFallbackByAutoSelectService(n.text,n.from,n.to);return i||t}catch{return t}}async translateRetryBySingeText(t,n){if(!this.serviceConfig.defaultMaxTextGroupLengthPerRequest||n.length>this.serviceConfig.defaultMaxTextGroupLengthPerRequest)return Promise.resolve("");k.debug("fallback translateRetryBySingeText",t.text,t.from,t.to);let r=[],i=this.formatRateLimit(this.getRateLimiter());for(let a of n){let o=await Nm(this.translationOptions.translationService||"",i);await it(o||0);let s=await this.translate({...t,text:a||"",options:{...t.options,rawTextArrayLength:1}});r.push(s)}return r.map(a=>a.text).join(this.translationTextSeparator)}async translateFallbackByAutoSelectService(t,n,r){if(this.enableFallback){if(this.provider==="pro"&&Uu.langMap.has(n)&&Uu.langMap.has(r))try{return await this.translateFallbackByDeepL(t,n,r)}catch{return}try{return await this.translateFallbackByGoogle(t,n,r)}catch{try{return await this.translateFallbackByBing(t,n,r)}catch{return}}}}async translateFallbackByDeepL(t,n,r){return k.debug("fallback translateFallbackByDeepL",t,n,r),(await new Uu({...bn().translationServices.deepl,provider:"pro"},this.generalConfig,this.translationOptions,this.isRichTranslate||!1).translateList({from:n,to:r,text:t,url:"",options:{},forces:[]})).text.join(this.translationTextSeparator)}async translateFallbackByGoogle(t,n,r){try{if(sE===!1)throw new Error("google service verify failed");return k.debug("fallback translateFallbackByGoogle",t,n,r),(await new rs({...bn().translationServices.google,retry:1,requestTimeout:5*1e3},this.generalConfig,this.translationOptions,this.isRichTranslate||!1).translateList({from:n,to:r,text:t,url:"",options:{},forces:[]})).text.join(this.translationTextSeparator)}catch(i){throw sE=!1,i}}async translateFallbackByBing(t,n,r){k.debug("fallback translateFallbackByBing",t,n,r);try{return(await new Aa({...bn().translationServices.bing},this.generalConfig,this.translationOptions,this.isRichTranslate||!1).translateList({from:n,to:r,text:t,url:"",options:{},forces:[]})).text.join(this.translationTextSeparator)}catch{return}}isApiNewOpenAIResponse(){return this.model.includes("gpt")?new URL(this.apiUrl).pathname.endsWith("/responses"):!1}parseOpenAINewResponse(t){if(this.isApiNewOpenAIResponse()&&t.output)return t?.output?.find(i=>i.type==="message")?.content?.[0]?.text}handleOpenAINewResponseOptions(t,n){if(!this.isApiNewOpenAIResponse())return;let r={model:this.model,store:!1,temperature:this.temperature};t&&(r.instructions=t),n&&(r.input=n);let i=this.handleBodyHeaders({...r,...this.bodyConfigs});isNaN(i.temperature)&&delete i.temperature;let a={url:this.apiUrl,method:"POST",headers:this.handleBodyHeaders({"Content-Type":"application/json",...this.headerConfigs}),body:JSON.stringify(i,null,2),timeout:this.requestTimeout,retry:this.retry},o=this.getRandomKey();return o&&(a.headers.Authorization="Bearer "+o,a.headers["api-key"]=o),a}},Mn=x2;function qG(e,t){return!e.includes(".")&&!e.includes("\u3002")&&(t.endsWith("\u3002")||t.endsWith("."))?t.slice(0,-1):t}function cE(e){return e?Array.isArray(e)?e:[e]:[]}function KG(e,t,n,r){for(let i=0;i<e.length;i++){let a=e[i],o=t[i];if(o){let s=dE(a),u=dE(o),l=u>s*n&&s>0,c=u<s*r&&s>10;if(l||c)return k.debug("fallback checkResponseToken",`Request: ${s} tokens, Response: ${u} tokens, Ratio: ${(u/s).toFixed(2)}`,"text",a,"resultText",o,"isBig",l,"isSmall",c),!1}}return!0}function QG(e,t){let n=t;for(let r=0;r<e.length;r++){let i=e[r],a=t[r]||"",o=a?.startsWith('"')&&a?.endsWith('"'),s=/^[「」""“”]/.test(i.trim());o&&!s&&(n[r]=a?.slice(1,-1))}return n}function YG(e){let{texts:t,translations:n,payload:r}=e;if(t.length===1)return!1;if(t.length!==n.length)return!0;let i=n.filter(Boolean);return t.length!==i.length}function dE(e){if(!e)return 0;let t=e.length,n=/[\u4e00-\u9fff\u3040-\u30ff\u1100-\u11ff]/.test(e),r=/[a-zA-Z]/.test(e);return Math.ceil(n?t*1.5/4:t/4)}function ZG(e){return e?Ni.includes(e):!1}async function JG(e,t,n,r){n&&r&&(FS(),t.imt_theme=n.theme,n.styleGuide&&(t.imt_style_guide=n.styleGuide)),t.imt_terms||(t.imt_terms_with_domain="",t.imt_terms_without_domain="");for(let i in t){if(i.startsWith("imt_"))continue;let a=t[i]?.match(/{{(.+?)}}/g),o=!0,s=!1;for(let u of a||[]){let l=u.replace(/{{|}}/g,"");if(l.startsWith("imt_")&&(s=!0,t[l]?.trim())){o=!1;break}}s&&o&&(t[i]="")}t.summary_prompt&&e&&(t.summary_prompt=t.sub_summary_prompt),t.terms_prompt&&e&&(t.terms_prompt=t.sub_terms_prompt)}function C2(e){let{modelsOverrides:t,...n}=e;if(!Array.isArray(e.modelsOverrides))return e;let r=n.model,i=n.provider==="pro";i&&n.proModel&&(r=n.proModel);let a=n.apiUrl;i&&n.immersiveProApiUrl&&(a=n.immersiveProApiUrl);try{return t.forEach(({apiUrl:o,models:s,...u})=>{new RegExp(s.join("|")).test(r)&&(o&&!new RegExp(o).test(a)||br({rule:u,valueIsArray:c=>Array.isArray(n[c]),getMergedValue:c=>u[c],onMergedResult:(c,d)=>{n[c]=d}}))}),{...n}}catch(o){return k.error("modelsOverrideServiceConfig error",o),e}}var T2=class extends Mn{provider="custom";temperature=0;userToken="";proTrialToken="";immersiveProApiUrl="";immersiveProStreamApiUrl="";initPro(t,n,r=!1){if(t.provider&&(this.provider=t.provider),t.temperature!==void 0&&(this.temperature=parseFloat(t.temperature)),this.provider==="pro"){if(this.userToken=n.userToken||"",!this.userToken&&!r)throw new Y("Login required, \u767B\u5F55\u540E\u624D\u53EF\u4EE5\u4F7F\u7528\u3002").initNetWork(401);t.proModel&&(t.model=t.proModel,this.model=t.proModel),t.proLimit&&(t.limit=t.proLimit),t&&t.immersiveProApiUrl&&(this.immersiveProApiUrl=ct(this.immersiveProApiUrl,t.immersiveProApiUrl)),t&&t.immersiveProStreamApiUrl&&(this.immersiveProStreamApiUrl=ct(this.immersiveProStreamApiUrl,t.immersiveProStreamApiUrl)),t.proRequestTimeout&&(this.requestTimeout=Number(t.proRequestTimeout)),t.group&&(this.group=t.group),this.streamApiUrl=this.immersiveProStreamApiUrl}}async handleProOptions(t,n,r){let i={};r.refresh&&(i["X-Refresh"]="True"),r.debug&&(i["X-Debug"]="True");let a=this.mergePreAndAppendMessages([{role:"system",content:t},{role:"user",content:n}]),o=this.handleBodyHeaders({...this.bodyConfigs,model:this.model,temperature:this.temperature,messages:a});isNaN(o.temperature)&&delete o.temperature;let s={url:this.immersiveProApiUrl,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o,null,2),timeout:this.requestTimeout,retry:this.retry};return await this.headerAttachLanguage(s.headers),s.headers.token=this.userToken,s.headers={...s.headers,...i},s}async handleOptions({systemPrompt:t,finalPrompt:n,payload:r}){return this.provider==="pro"?this.handleProOptions(t,n,r):this.handleAiOptions({systemPrompt:t,finalPrompt:n,payload:r})}parseAIResponse(t){return this.sendMaxTokenUsageChangeEvent(t?.aiUsage),super.parseResponse(t)}parseResponse(t){return this.parseAIResponse(t)}sendMaxTokenUsageChangeEvent(t){this.group!=="max"||!t||_e("tokenUsageChange",{aiUsage:t})}},sn=T2;var S2=class extends sn{provider="custom";constructor(t,n,r,i){super(t,n,r,i),this.immersiveProApiUrl=j.BASE_API+"openai/v1/chat/completions",this.immersiveProStreamApiUrl=j.BASE_API+"openai/translate/stream",t||(t={}),this.apiUrl="https://api.openai.com/v1/chat/completions",t.apiUrl&&(this.apiUrl=ct(this.apiUrl,t.apiUrl)),this.model=t.model||"gpt-3.5-turbo-1106",this.initPro(t,r)}getDefaultRateLimit(){return{limit:10,interval:1300}}},gE=S2;function jn(e){var t,n,r="",i=-1,a;if(e&&e.length)for(a=e.length;(i+=1)<a;)t=e.charCodeAt(i),n=i+1<a?e.charCodeAt(i+1):0,55296<=t&&t<=56319&&56320<=n&&n<=57343&&(t=65536+((t&1023)<<10)+(n&1023),i+=1),t<=127?r+=String.fromCharCode(t):t<=2047?r+=String.fromCharCode(192|t>>>6&31,128|t&63):t<=65535?r+=String.fromCharCode(224|t>>>12&15,128|t>>>6&63,128|t&63):t<=2097151&&(r+=String.fromCharCode(240|t>>>18&7,128|t>>>12&63,128|t>>>6&63,128|t&63));return r}function XG(e){var t,n,r,i,a,o=[],s;if(t=n=r=i=a=0,e&&e.length)for(s=e.length,e+="";t<s;)r=e.charCodeAt(t),n+=1,r<128?(o[n]=String.fromCharCode(r),t+=1):r>191&&r<224?(i=e.charCodeAt(t+1),o[n]=String.fromCharCode((r&31)<<6|i&63),t+=2):(i=e.charCodeAt(t+1),a=e.charCodeAt(t+2),o[n]=String.fromCharCode((r&15)<<12|(i&63)<<6|a&63),t+=3);return o.join("")}function Ge(e,t){var n=(e&65535)+(t&65535),r=(e>>16)+(t>>16)+(n>>16);return r<<16|n&65535}function ho(e,t){return e<<t|e>>>32-t}function Hi(e,t){for(var n=t?"0123456789ABCDEF":"0123456789abcdef",r="",i,a=0,o=e.length;a<o;a+=1)i=e.charCodeAt(a),r+=n.charAt(i>>>4&15)+n.charAt(i&15);return r}function Gu(e){var t,n=e.length*32,r="";for(t=0;t<n;t+=8)r+=String.fromCharCode(e[t>>5]>>>24-t%32&255);return r}function mE(e){var t,n=e.length*32,r="";for(t=0;t<n;t+=8)r+=String.fromCharCode(e[t>>5]>>>t%32&255);return r}function Wu(e){var t,n=e.length*8,r=Array(e.length>>2),i=r.length;for(t=0;t<i;t+=1)r[t]=0;for(t=0;t<n;t+=8)r[t>>5]|=(e.charCodeAt(t/8)&255)<<t%32;return r}function ka(e){var t,n=e.length*8,r=Array(e.length>>2),i=r.length;for(t=0;t<i;t+=1)r[t]=0;for(t=0;t<n;t+=8)r[t>>5]|=(e.charCodeAt(t/8)&255)<<24-t%32;return r}function Vi(e,t){var n=t.length,r=Array(),i,a,o,s,u,l,c,d;for(l=Array(Math.ceil(e.length/2)),s=l.length,i=0;i<s;i+=1)l[i]=e.charCodeAt(i*2)<<8|e.charCodeAt(i*2+1);for(;l.length>0;){for(u=Array(),o=0,i=0;i<l.length;i+=1)o=(o<<16)+l[i],a=Math.floor(o/n),o-=a*n,(u.length>0||a>0)&&(u[u.length]=a);r[r.length]=o,l=u}for(c="",i=r.length-1;i>=0;i--)c+=t.charAt(r[i]);for(d=Math.ceil(e.length*8/(Math.log(t.length)/Math.log(2))),i=c.length;i<d;i+=1)c=t[0]+c;return c}function Gi(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r="",i=e.length,a,o,s;for(t=t||"=",a=0;a<i;a+=3)for(s=e.charCodeAt(a)<<16|(a+1<i?e.charCodeAt(a+1)<<8:0)|(a+2<i?e.charCodeAt(a+2):0),o=0;o<4;o+=1)a*8+o*6>e.length*8?r+=t:r+=n.charAt(s>>>6*(3-o)&63);return r}var fE={VERSION:"1.0.6",Base64:function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t="=",n=!1,r=!0;this.encode=function(i){var a,o,s,u="";for(t=t||"=",i=r?jn(i):i,len=i.length,a=0;a<len;a+=3)for(s=i.charCodeAt(a)<<16|(a+1<len?i.charCodeAt(a+1)<<8:0)|(a+2<len?i.charCodeAt(a+2):0),o=0;o<4;o+=1)a*8+o*6>len*8?u+=t:u+=e.charAt(s>>>6*(3-o)&63);return u},this.decode=function(i){var a,o,s,u,l,c,d,g,f,p,h="",C=[];if(!i)return i;a=p=0,i=i.replace(new RegExp("\\"+t,"gi"),"");do l=e.indexOf(i.charAt(a++)),c=e.indexOf(i.charAt(a++)),d=e.indexOf(i.charAt(a++)),g=e.indexOf(i.charAt(a++)),f=l<<18|c<<12|d<<6|g,o=f>>16&255,s=f>>8&255,u=f&255,p+=1,d===64?C[p]=String.fromCharCode(o):g===64?C[p]=String.fromCharCode(o,s):C[p]=String.fromCharCode(o,s,u);while(a<i.length);return h=C.join(""),h=r?XG(h):h,h},this.setPad=function(i){return t=i||t,this},this.setTab=function(i){return e=i||e,this},this.setUTF8=function(i){return typeof i=="boolean"&&(r=i),this}},CRC32:function(e){var t=0,n=0,r=0,i,a,o;for(e=jn(e),i=["00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 ","79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 ","84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F ","63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD ","A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC ","51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 ","B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 ","06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 ","E6635C01 6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 ","12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 ","D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 ","33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 ","CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 ","9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E ","7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D ","806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 ","60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA ","AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 ","5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 ","B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 ","05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 ","F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA ","11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 ","D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F ","30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E ","C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D"].join(""),t=t^-1,a=0,o=e.length;a<o;a+=1)r=(t^e.charCodeAt(a))&255,n="0x"+i.substr(r*9,8),t=t>>>8^n;return(t^-1)>>>0},MD5:function(e){var t=e&&typeof e.uppercase=="boolean"?e.uppercase:!1,n=e&&typeof e.pad=="string"?e.pad:"=",r=e&&typeof e.utf8=="boolean"?e.utf8:!0;this.hex=function(g){return Hi(i(g,r),t)},this.b64=function(g){return Gi(i(g),n)},this.any=function(g,f){return Vi(i(g,r),f)},this.raw=function(g){return i(g,r)},this.hex_hmac=function(g,f){return Hi(a(g,f),t)},this.b64_hmac=function(g,f){return Gi(a(g,f),n)},this.any_hmac=function(g,f,p){return Vi(a(g,f),p)},this.vm_test=function(){return hex("abc").toLowerCase()==="900150983cd24fb0d6963f7d28e17f72"},this.setUpperCase=function(g){return typeof g=="boolean"&&(t=g),this},this.setPad=function(g){return n=g||n,this},this.setUTF8=function(g){return typeof g=="boolean"&&(r=g),this};function i(g){return g=r?jn(g):g,mE(o(Wu(g),g.length*8))}function a(g,f){var p,h,C,y,v;for(g=r?jn(g):g,f=r?jn(f):f,p=Wu(g),p.length>16&&(p=o(p,g.length*8)),h=Array(16),C=Array(16),v=0;v<16;v+=1)h[v]=p[v]^909522486,C[v]=p[v]^1549556828;return y=o(h.concat(Wu(f)),512+f.length*8),mE(o(C.concat(y),512+128))}function o(g,f){var p,h,C,y,v,b=1732584193,x=-271733879,T=-1732584194,S=271733878;for(g[f>>5]|=128<<f%32,g[(f+64>>>9<<4)+14]=f,p=0;p<g.length;p+=16)h=b,C=x,y=T,v=S,b=u(b,x,T,S,g[p+0],7,-680876936),S=u(S,b,x,T,g[p+1],12,-389564586),T=u(T,S,b,x,g[p+2],17,606105819),x=u(x,T,S,b,g[p+3],22,-1044525330),b=u(b,x,T,S,g[p+4],7,-176418897),S=u(S,b,x,T,g[p+5],12,1200080426),T=u(T,S,b,x,g[p+6],17,-1473231341),x=u(x,T,S,b,g[p+7],22,-45705983),b=u(b,x,T,S,g[p+8],7,1770035416),S=u(S,b,x,T,g[p+9],12,-1958414417),T=u(T,S,b,x,g[p+10],17,-42063),x=u(x,T,S,b,g[p+11],22,-1990404162),b=u(b,x,T,S,g[p+12],7,1804603682),S=u(S,b,x,T,g[p+13],12,-40341101),T=u(T,S,b,x,g[p+14],17,-1502002290),x=u(x,T,S,b,g[p+15],22,1236535329),b=l(b,x,T,S,g[p+1],5,-165796510),S=l(S,b,x,T,g[p+6],9,-1069501632),T=l(T,S,b,x,g[p+11],14,643717713),x=l(x,T,S,b,g[p+0],20,-373897302),b=l(b,x,T,S,g[p+5],5,-701558691),S=l(S,b,x,T,g[p+10],9,38016083),T=l(T,S,b,x,g[p+15],14,-660478335),x=l(x,T,S,b,g[p+4],20,-405537848),b=l(b,x,T,S,g[p+9],5,568446438),S=l(S,b,x,T,g[p+14],9,-1019803690),T=l(T,S,b,x,g[p+3],14,-187363961),x=l(x,T,S,b,g[p+8],20,1163531501),b=l(b,x,T,S,g[p+13],5,-1444681467),S=l(S,b,x,T,g[p+2],9,-51403784),T=l(T,S,b,x,g[p+7],14,1735328473),x=l(x,T,S,b,g[p+12],20,-1926607734),b=c(b,x,T,S,g[p+5],4,-378558),S=c(S,b,x,T,g[p+8],11,-2022574463),T=c(T,S,b,x,g[p+11],16,1839030562),x=c(x,T,S,b,g[p+14],23,-35309556),b=c(b,x,T,S,g[p+1],4,-1530992060),S=c(S,b,x,T,g[p+4],11,1272893353),T=c(T,S,b,x,g[p+7],16,-155497632),x=c(x,T,S,b,g[p+10],23,-1094730640),b=c(b,x,T,S,g[p+13],4,681279174),S=c(S,b,x,T,g[p+0],11,-358537222),T=c(T,S,b,x,g[p+3],16,-722521979),x=c(x,T,S,b,g[p+6],23,76029189),b=c(b,x,T,S,g[p+9],4,-640364487),S=c(S,b,x,T,g[p+12],11,-421815835),T=c(T,S,b,x,g[p+15],16,530742520),x=c(x,T,S,b,g[p+2],23,-995338651),b=d(b,x,T,S,g[p+0],6,-198630844),S=d(S,b,x,T,g[p+7],10,1126891415),T=d(T,S,b,x,g[p+14],15,-1416354905),x=d(x,T,S,b,g[p+5],21,-57434055),b=d(b,x,T,S,g[p+12],6,1700485571),S=d(S,b,x,T,g[p+3],10,-1894986606),T=d(T,S,b,x,g[p+10],15,-1051523),x=d(x,T,S,b,g[p+1],21,-2054922799),b=d(b,x,T,S,g[p+8],6,1873313359),S=d(S,b,x,T,g[p+15],10,-30611744),T=d(T,S,b,x,g[p+6],15,-1560198380),x=d(x,T,S,b,g[p+13],21,1309151649),b=d(b,x,T,S,g[p+4],6,-145523070),S=d(S,b,x,T,g[p+11],10,-1120210379),T=d(T,S,b,x,g[p+2],15,718787259),x=d(x,T,S,b,g[p+9],21,-343485551),b=Ge(b,h),x=Ge(x,C),T=Ge(T,y),S=Ge(S,v);return Array(b,x,T,S)}function s(g,f,p,h,C,y){return Ge(ho(Ge(Ge(f,g),Ge(h,y)),C),p)}function u(g,f,p,h,C,y,v){return s(f&p|~f&h,g,f,C,y,v)}function l(g,f,p,h,C,y,v){return s(f&h|p&~h,g,f,C,y,v)}function c(g,f,p,h,C,y,v){return s(f^p^h,g,f,C,y,v)}function d(g,f,p,h,C,y,v){return s(p^(f|~h),g,f,C,y,v)}},SHA1:function(e){var t=e&&typeof e.uppercase=="boolean"?e.uppercase:!1,n=e&&typeof e.pad=="string"?e.pad:"=",r=e&&typeof e.utf8=="boolean"?e.utf8:!0;this.hex=function(l){return Hi(i(l,r),t)},this.b64=function(l){return Gi(i(l,r),n)},this.any=function(l,c){return Vi(i(l,r),c)},this.raw=function(l){return i(l,r)},this.hex_hmac=function(l,c){return Hi(a(l,c))},this.b64_hmac=function(l,c){return Gi(a(l,c),n)},this.any_hmac=function(l,c,d){return Vi(a(l,c),d)},this.vm_test=function(){return hex("abc").toLowerCase()==="900150983cd24fb0d6963f7d28e17f72"},this.setUpperCase=function(l){return typeof l=="boolean"&&(t=l),this},this.setPad=function(l){return n=l||n,this},this.setUTF8=function(l){return typeof l=="boolean"&&(r=l),this};function i(l){return l=r?jn(l):l,Gu(o(ka(l),l.length*8))}function a(l,c){var d,g,f,p,h;for(l=r?jn(l):l,c=r?jn(c):c,d=ka(l),d.length>16&&(d=o(d,l.length*8)),g=Array(16),f=Array(16),p=0;p<16;p+=1)g[p]=d[p]^909522486,f[p]=d[p]^1549556828;return h=o(g.concat(ka(c)),512+c.length*8),Gu(o(f.concat(h),512+160))}function o(l,c){var d,g,f,p,h,C,y,v,b=Array(80),x=1732584193,T=-271733879,S=-1732584194,E=271733878,A=-1009589776;for(l[c>>5]|=128<<24-c%32,l[(c+64>>9<<4)+15]=c,d=0;d<l.length;d+=16){for(p=x,h=T,C=S,y=E,v=A,g=0;g<80;g+=1)g<16?b[g]=l[d+g]:b[g]=ho(b[g-3]^b[g-8]^b[g-14]^b[g-16],1),f=Ge(Ge(ho(x,5),s(g,T,S,E)),Ge(Ge(A,b[g]),u(g))),A=E,E=S,S=ho(T,30),T=x,x=f;x=Ge(x,p),T=Ge(T,h),S=Ge(S,C),E=Ge(E,y),A=Ge(A,v)}return Array(x,T,S,E,A)}function s(l,c,d,g){return l<20?c&d|~c&g:l<40?c^d^g:l<60?c&d|c&g|d&g:c^d^g}function u(l){return l<20?1518500249:l<40?1859775393:l<60?-1894007588:-899497514}},SHA256:function(e){var t=e&&typeof e.uppercase=="boolean"?e.uppercase:!1,n=e&&typeof e.pad=="string"?e.pad:"=",r=e&&typeof e.utf8=="boolean"?e.utf8:!0,i;this.hex=function(x){return Hi(a(x,r))},this.b64=function(x){return Gi(a(x,r),n)},this.any=function(x,T){return Vi(a(x,r),T)},this.raw=function(x){return a(x,r)},this.hex_hmac=function(x,T){return Hi(o(x,T))},this.b64_hmac=function(x,T){return Gi(o(x,T),n)},this.any_hmac=function(x,T,S){return Vi(o(x,T),S)},this.vm_test=function(){return hex("abc").toLowerCase()==="900150983cd24fb0d6963f7d28e17f72"},this.setUpperCase=function(x){return typeof x=="boolean"&&(t=x),this},this.setPad=function(x){return n=x||n,this},this.setUTF8=function(x){return typeof x=="boolean"&&(r=x),this};function a(x,T){return x=T?jn(x):x,Gu(b(ka(x),x.length*8))}function o(x,T){x=r?jn(x):x,T=r?jn(T):T;var S,E=0,A=ka(x),M=Array(16),P=Array(16);for(A.length>16&&(A=b(A,x.length*8));E<16;E+=1)M[E]=A[E]^909522486,P[E]=A[E]^1549556828;return S=b(M.concat(ka(T)),512+T.length*8),Gu(b(P.concat(S),512+256))}function s(x,T){return x>>>T|x<<32-T}function u(x,T){return x>>>T}function l(x,T,S){return x&T^~x&S}function c(x,T,S){return x&T^x&S^T&S}function d(x){return s(x,2)^s(x,13)^s(x,22)}function g(x){return s(x,6)^s(x,11)^s(x,25)}function f(x){return s(x,7)^s(x,18)^u(x,3)}function p(x){return s(x,17)^s(x,19)^u(x,10)}function h(x){return s(x,28)^s(x,34)^s(x,39)}function C(x){return s(x,14)^s(x,18)^s(x,41)}function y(x){return s(x,1)^s(x,8)^u(x,7)}function v(x){return s(x,19)^s(x,61)^u(x,6)}i=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998];function b(x,T){var S=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],E=new Array(64),A,M,P,B,O,R,_,F,L,D,w,N;for(x[T>>5]|=128<<24-T%32,x[(T+64>>9<<4)+15]=T,L=0;L<x.length;L+=16){for(A=S[0],M=S[1],P=S[2],B=S[3],O=S[4],R=S[5],_=S[6],F=S[7],D=0;D<64;D+=1)D<16?E[D]=x[D+L]:E[D]=Ge(Ge(Ge(p(E[D-2]),E[D-7]),f(E[D-15])),E[D-16]),w=Ge(Ge(Ge(Ge(F,g(O)),l(O,R,_)),i[D]),E[D]),N=Ge(d(A),c(A,M,P)),F=_,_=R,R=O,O=Ge(B,w),B=P,P=M,M=A,A=Ge(w,N);S[0]=Ge(A,S[0]),S[1]=Ge(M,S[1]),S[2]=Ge(P,S[2]),S[3]=Ge(B,S[3]),S[4]=Ge(O,S[4]),S[5]=Ge(R,S[5]),S[6]=Ge(_,S[6]),S[7]=Ge(F,S[7])}return S}},SHA512:function(e){var t=e&&typeof e.uppercase=="boolean"?e.uppercase:!1,n=e&&typeof e.pad=="string"?e.pad:"=",r=e&&typeof e.utf8=="boolean"?e.utf8:!0,i;this.hex=function(C){return Hi(a(C))},this.b64=function(C){return Gi(a(C),n)},this.any=function(C,y){return Vi(a(C),y)},this.raw=function(C){return a(C,r)},this.hex_hmac=function(C,y){return Hi(o(C,y))},this.b64_hmac=function(C,y){return Gi(o(C,y),n)},this.any_hmac=function(C,y,v){return Vi(o(C,y),v)},this.vm_test=function(){return hex("abc").toLowerCase()==="900150983cd24fb0d6963f7d28e17f72"},this.setUpperCase=function(C){return typeof C=="boolean"&&(t=C),this},this.setPad=function(C){return n=C||n,this},this.setUTF8=function(C){return typeof C=="boolean"&&(r=C),this};function a(C){return C=r?jn(C):C,Gu(s(ka(C),C.length*8))}function o(C,y){C=r?jn(C):C,y=r?jn(y):y;var v,b=0,x=ka(C),T=Array(32),S=Array(32);for(x.length>32&&(x=s(x,C.length*8));b<32;b+=1)T[b]=x[b]^909522486,S[b]=x[b]^1549556828;return v=s(T.concat(ka(y)),1024+y.length*8),Gu(s(S.concat(v),1024+512))}function s(C,y){var v,b,x,T=new Array(80),S=new Array(16),E=[new u(1779033703,-205731576),new u(-1150833019,-2067093701),new u(1013904242,-23791573),new u(-1521486534,1595750129),new u(1359893119,-1377402159),new u(-1694144372,725511199),new u(528734635,-79577749),new u(1541459225,327033209)],A=new u(0,0),M=new u(0,0),P=new u(0,0),B=new u(0,0),O=new u(0,0),R=new u(0,0),_=new u(0,0),F=new u(0,0),L=new u(0,0),D=new u(0,0),w=new u(0,0),N=new u(0,0),V=new u(0,0),H=new u(0,0),q=new u(0,0),K=new u(0,0),J=new u(0,0);for(i===void 0&&(i=[new u(1116352408,-685199838),new u(1899447441,602891725),new u(-1245643825,-330482897),new u(-373957723,-2121671748),new u(961987163,-213338824),new u(1508970993,-1241133031),new u(-1841331548,-1357295717),new u(-1424204075,-630357736),new u(-670586216,-1560083902),new u(310598401,1164996542),new u(607225278,1323610764),new u(1426881987,-704662302),new u(1925078388,-226784913),new u(-2132889090,991336113),new u(-1680079193,633803317),new u(-1046744716,-815192428),new u(-459576895,-1628353838),new u(-272742522,944711139),new u(264347078,-1953704523),new u(604807628,2007800933),new u(770255983,1495990901),new u(1249150122,1856431235),new u(1555081692,-1119749164),new u(1996064986,-2096016459),new u(-1740746414,-295247957),new u(-1473132947,766784016),new u(-1341970488,-1728372417),new u(-1084653625,-1091629340),new u(-958395405,1034457026),new u(-710438585,-1828018395),new u(113926993,-536640913),new u(338241895,168717936),new u(666307205,1188179964),new u(773529912,1546045734),new u(1294757372,1522805485),new u(1396182291,-1651133473),new u(1695183700,-1951439906),new u(1986661051,1014477480),new u(-2117940946,1206759142),new u(-1838011259,344077627),new u(-1564481375,1290863460),new u(-1474664885,-1136513023),new u(-1035236496,-789014639),new u(-949202525,106217008),new u(-778901479,-688958952),new u(-694614492,1432725776),new u(-200395387,1467031594),new u(275423344,851169720),new u(430227734,-1194143544),new u(506948616,1363258195),new u(659060556,-544281703),new u(883997877,-509917016),new u(958139571,-976659869),new u(1322822218,-482243893),new u(1537002063,2003034995),new u(1747873779,-692930397),new u(1955562222,1575990012),new u(2024104815,1125592928),new u(-2067236844,-1578062990),new u(-1933114872,442776044),new u(-1866530822,593698344),new u(-1538233109,-561857047),new u(-1090935817,-1295615723),new u(-965641998,-479046869),new u(-903397682,-366583396),new u(-779700025,566280711),new u(-354779690,-840897762),new u(-176337025,-294727304),new u(116418474,1914138554),new u(174292421,-1563912026),new u(289380356,-1090974290),new u(460393269,320620315),new u(685471733,587496836),new u(852142971,1086792851),new u(1017036298,365543100),new u(1126000580,-1676669620),new u(1288033470,-885112138),new u(1501505948,-60457430),new u(1607167915,987167468),new u(1816402316,1246189591)]),b=0;b<80;b+=1)T[b]=new u(0,0);for(C[y>>5]|=128<<24-(y&31),C[(y+128>>10<<5)+31]=y,x=C.length,b=0;b<x;b+=32){for(l(P,E[0]),l(B,E[1]),l(O,E[2]),l(R,E[3]),l(_,E[4]),l(F,E[5]),l(L,E[6]),l(D,E[7]),v=0;v<16;v+=1)T[v].h=C[b+2*v],T[v].l=C[b+2*v+1];for(v=16;v<80;v+=1)c(q,T[v-2],19),d(K,T[v-2],29),g(J,T[v-2],6),N.l=q.l^K.l^J.l,N.h=q.h^K.h^J.h,c(q,T[v-15],1),c(K,T[v-15],8),g(J,T[v-15],7),w.l=q.l^K.l^J.l,w.h=q.h^K.h^J.h,p(T[v],N,T[v-7],w,T[v-16]);for(v=0;v<80;v+=1)V.l=_.l&F.l^~_.l&L.l,V.h=_.h&F.h^~_.h&L.h,c(q,_,14),c(K,_,18),d(J,_,9),N.l=q.l^K.l^J.l,N.h=q.h^K.h^J.h,c(q,P,28),d(K,P,2),d(J,P,7),w.l=q.l^K.l^J.l,w.h=q.h^K.h^J.h,H.l=P.l&B.l^P.l&O.l^B.l&O.l,H.h=P.h&B.h^P.h&O.h^B.h&O.h,h(A,D,N,V,i[v],T[v]),f(M,w,H),l(D,L),l(L,F),l(F,_),f(_,R,A),l(R,O),l(O,B),l(B,P),f(P,A,M);f(E[0],E[0],P),f(E[1],E[1],B),f(E[2],E[2],O),f(E[3],E[3],R),f(E[4],E[4],_),f(E[5],E[5],F),f(E[6],E[6],L),f(E[7],E[7],D)}for(b=0;b<8;b+=1)S[2*b]=E[b].h,S[2*b+1]=E[b].l;return S}function u(C,y){this.h=C,this.l=y}function l(C,y){C.h=y.h,C.l=y.l}function c(C,y,v){C.l=y.l>>>v|y.h<<32-v,C.h=y.h>>>v|y.l<<32-v}function d(C,y,v){C.l=y.h>>>v|y.l<<32-v,C.h=y.l>>>v|y.h<<32-v}function g(C,y,v){C.l=y.l>>>v|y.h<<32-v,C.h=y.h>>>v}function f(C,y,v){var b=(y.l&65535)+(v.l&65535),x=(y.l>>>16)+(v.l>>>16)+(b>>>16),T=(y.h&65535)+(v.h&65535)+(x>>>16),S=(y.h>>>16)+(v.h>>>16)+(T>>>16);C.l=b&65535|x<<16,C.h=T&65535|S<<16}function p(C,y,v,b,x){var T=(y.l&65535)+(v.l&65535)+(b.l&65535)+(x.l&65535),S=(y.l>>>16)+(v.l>>>16)+(b.l>>>16)+(x.l>>>16)+(T>>>16),E=(y.h&65535)+(v.h&65535)+(b.h&65535)+(x.h&65535)+(S>>>16),A=(y.h>>>16)+(v.h>>>16)+(b.h>>>16)+(x.h>>>16)+(E>>>16);C.l=T&65535|S<<16,C.h=E&65535|A<<16}function h(C,y,v,b,x,T){var S=(y.l&65535)+(v.l&65535)+(b.l&65535)+(x.l&65535)+(T.l&65535),E=(y.l>>>16)+(v.l>>>16)+(b.l>>>16)+(x.l>>>16)+(T.l>>>16)+(S>>>16),A=(y.h&65535)+(v.h&65535)+(b.h&65535)+(x.h&65535)+(T.h&65535)+(E>>>16),M=(y.h>>>16)+(v.h>>>16)+(b.h>>>16)+(x.h>>>16)+(T.h>>>16)+(A>>>16);C.l=S&65535|E<<16,C.h=A&65535|M<<16}},RMD160:function(e){var t=e&&typeof e.uppercase=="boolean"?e.uppercase:!1,n=e&&typeof e.pad=="string"?e.pa:"=",r=e&&typeof e.utf8=="boolean"?e.utf8:!0,i=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],a=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],o=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],s=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11];this.hex=function(h){return Hi(u(h,r))},this.b64=function(h){return Gi(u(h,r),n)},this.any=function(h,C){return Vi(u(h,r),C)},this.raw=function(h){return u(h,r)},this.hex_hmac=function(h,C){return Hi(l(h,C))},this.b64_hmac=function(h,C){return Gi(l(h,C),n)},this.any_hmac=function(h,C,y){return Vi(l(h,C),y)},this.vm_test=function(){return hex("abc").toLowerCase()==="900150983cd24fb0d6963f7d28e17f72"},this.setUpperCase=function(h){return typeof h=="boolean"&&(t=h),this},this.setPad=function(h){return typeof h<"u"&&(n=h),this},this.setUTF8=function(h){return typeof h=="boolean"&&(r=h),this};function u(h){return h=r?jn(h):h,c(d(Wu(h),h.length*8))}function l(h,C){h=r?jn(h):h,C=r?jn(C):C;var y,v,b=Wu(h),x=Array(16),T=Array(16);for(b.length>16&&(b=d(b,h.length*8)),y=0;y<16;y+=1)x[y]=b[y]^909522486,T[y]=b[y]^1549556828;return v=d(x.concat(Wu(C)),512+C.length*8),c(d(T.concat(v),512+160))}function c(h){var C,y="",v=h.length*32;for(C=0;C<v;C+=8)y+=String.fromCharCode(h[C>>5]>>>C%32&255);return y}function d(h,C){var y,v,b,x,T=1732584193,S=4023233417,E=2562383102,A=271733878,M=3285377520,P,B,O,R,_,F,L,D,w,N;for(h[C>>5]|=128<<C%32,h[(C+64>>>9<<4)+14]=C,x=h.length,b=0;b<x;b+=16){for(P=F=T,B=L=S,O=D=E,R=w=A,_=N=M,v=0;v<=79;v+=1)y=Ge(P,g(v,B,O,R)),y=Ge(y,h[b+i[v]]),y=Ge(y,f(v)),y=Ge(ho(y,o[v]),_),P=_,_=R,R=ho(O,10),O=B,B=y,y=Ge(F,g(79-v,L,D,w)),y=Ge(y,h[b+a[v]]),y=Ge(y,p(v)),y=Ge(ho(y,s[v]),N),F=N,N=w,w=ho(D,10),D=L,L=y;y=Ge(S,Ge(O,w)),S=Ge(E,Ge(R,N)),E=Ge(A,Ge(_,F)),A=Ge(M,Ge(P,L)),M=Ge(T,Ge(B,D)),T=y}return[T,S,E,A,M]}function g(h,C,y,v){return 0<=h&&h<=15?C^y^v:16<=h&&h<=31?C&y|~C&v:32<=h&&h<=47?(C|~y)^v:48<=h&&h<=63?C&v|y&~v:64<=h&&h<=79?C^(y|~v):"rmd160_f: j out of range"}function f(h){return 0<=h&&h<=15?0:16<=h&&h<=31?1518500249:32<=h&&h<=47?1859775393:48<=h&&h<=63?2400959708:64<=h&&h<=79?2840853838:"rmd160_K1: j out of range"}function p(h){return 0<=h&&h<=15?1352829926:16<=h&&h<=31?1548603684:32<=h&&h<=47?1836072691:48<=h&&h<=63?2053994217:64<=h&&h<=79?0:"rmd160_K2: j out of range"}}};var pE=[["af","af"],["am","am"],["ar","ar"],["auto","auto"],["az","az"],["be","be"],["bg","bg"],["bn","bn"],["bs","bs"],["ca","ca"],["ceb","ceb"],["co","co"],["cs","cs"],["cy","cy"],["da","da"],["de","de"],["el","el"],["en","en"],["eo","eo"],["es","es"],["et","et"],["eu","eu"],["fa","fa"],["fi","fi"],["fil","fil"],["fj","fj"],["fr","fr"],["fy","fy"],["ga","ga"],["gd","gd"],["gl","gl"],["gu","gu"],["ha","ha"],["haw","haw"],["he","he"],["hi","hi"],["hmn","hmn"],["hr","hr"],["ht","ht"],["hu","hu"],["hy","hy"],["id","id"],["ig","ig"],["is","is"],["it","it"],["ja","ja"],["jw","jw"],["ka","ka"],["kk","kk"],["km","km"],["kn","kn"],["ko","ko"],["ku","ku"],["ky","ky"],["la","la"],["lb","lb"],["lo","lo"],["lt","lt"],["lv","lv"],["mg","mg"],["mi","mi"],["mk","mk"],["ml","ml"],["mn","mn"],["mr","mr"],["ms","ms"],["mt","mt"],["mww","mww"],["my","my"],["ne","ne"],["nl","nl"],["no","no"],["ny","ny"],["otq","otq"],["pa","pa"],["pl","pl"],["ps","ps"],["pt","pt"],["ro","ro"],["ru","ru"],["sd","sd"],["si","si"],["sk","sk"],["sl","sl"],["sm","sm"],["sn","sn"],["so","so"],["sq","sq"],["tn","tn"],["st","st"],["su","su"],["sv","sv"],["sw","sw"],["ta","ta"],["te","te"],["tg","tg"],["th","th"],["tlh","tlh"],["to","to"],["tr","tr"],["ty","ty"],["ug","ug"],["uk","uk"],["ur","ur"],["uz","uz"],["vi","vi"],["xh","xh"],["yi","yi"],["yo","yo"],["yua","yua"],["yue","yue"],["bo","bo"],["sa","sa"],["zh-CN","zh"],["zh-TW","zh-tw"],["zu","zu"]],r0=class e extends We{static langMap=new Map(pE);static langMapReverse=new Map(pE.map(([t,n])=>[n,t]));SHA1;AccessKeyID="";AccessKeySecret="";isSupportList=!0;scene="general";maxTextGroupLength=50;maxTextLength=1e3;constructor(t,n,r,i){if(super(t,n,r,i),!t||!t.AccessKeyID||!t.AccessKeySecret)throw new Y("AccessKeyID and AccessKeySecret are required");this.AccessKeyID=t.AccessKeyID?.trim(),this.AccessKeySecret=t.AccessKeySecret?.trim(),this.SHA1=new fE.SHA1,t.scene&&(this.scene=t.scene)}async translate(t){let{text:n,from:r,to:i}=t,a={FormatType:"text",Scene:this.scene,SourceLanguage:e.langMap.get(r)||"auto",SourceText:n,TargetLanguage:e.langMap.get(i)||i},o=this.scene=="general"?"TranslateGeneral":"Translate",s=await this.signedRequest({secretId:this.AccessKeyID,secretKey:this.AccessKeySecret,action:o,payload:a,service:"mt",version:"2018-10-12"});return{text:s.Data.Translated,from:s.Data.DetectedLanguage&&e.langMapReverse.get(s.Data.DetectedLanguage)||r||"auto",to:e.langMapReverse.get(i)||i}}async translateList(t){let{text:n,from:r,to:i}=t,a=this.scene=="general"?"translate_standard":"translate_ecommerce",o={FormatType:"text",Scene:this.scene,SourceLanguage:e.langMap.get(r)||"auto",SourceText:JSON.stringify(n.reduce((l,c,d)=>(l[d]=c,l),{})),TargetLanguage:e.langMap.get(i)||i,ApiType:a},s=await this.signedRequest({secretId:this.AccessKeyID,secretKey:this.AccessKeySecret,action:"GetBatchTranslate",payload:o,service:"mt",version:"2018-10-12"}),u=s.TranslatedList.length&&s.TranslatedList[0].detectedLanguage;return{text:s.TranslatedList.sort((l,c)=>parseInt(l.index)-parseInt(c.index)).map(l=>l.translated),from:u&&e.langMapReverse.get(u)||r||"auto",to:e.langMapReverse.get(i)||i}}encode(t){return encodeURIComponent(t).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")}async signedRequest({secretId:t,secretKey:n,action:r,payload:i,service:a,version:o}){let s=new Date().toISOString(),u=Math.random().toString(36).slice(2),l={Action:r,Version:o,Format:"JSON",AccessKeyId:t,SignatureNonce:u,Timestamp:s,SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0"},d=(h=>{let y=Object.keys(h).sort().map(v=>`${this.encode(v)}=${this.encode(h[v])}`).join("&");return`POST&%2F&${this.encode(y)}`})(Object.assign({},l,i)),g=this.SHA1.b64_hmac(`${n}&`,d),f=new URLSearchParams(Object.assign({},l,{Signature:g})).toString(),p=await super.request({retry:this.retry,url:`https://${a}.aliyuncs.com?${f}`,method:"POST",headers:{"content-type":"application/x-www-form-urlencoded"},body:new URLSearchParams(i).toString(),timeout:this.requestTimeout});if(p instanceof Error)throw p;if(p.Code!=="200")throw new Y(p.Message);return p}};var $G=["authorization","content-type","content-length","user-agent","presigned-expires","expect"],rn={algorithm:"HMAC-SHA256",v4Identifier:"request",dateHeader:"X-Date",tokenHeader:"X-Security-Token",contentSha256Header:"X-Content-Sha256",notSignBody:"X-NotSignBody",kDatePrefix:"",credential:"X-Credential",algorithmKey:"X-Algorithm",signHeadersKey:"X-SignedHeaders",signQueriesKey:"X-SignedQueries",signatureKey:"X-Signature"},E2=e=>{try{return encodeURIComponent(e).replace(/[^A-Za-z0-9_.~\-%]+/g,escape).replace(/[*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)}catch{return""}},w2=e=>Object.keys(e).map(t=>{let n=e[t];if(typeof n>"u"||n===null)return;let r=E2(t);if(r)return Array.isArray(n)?`${r}=${n.map(E2).sort().join(`&${r}=`)}`:`${r}=${E2(n)}`}).filter(t=>t).join("&"),qu=class{request;serviceName;bodySha256;constructor(t,n,r){this.request=t,this.request.headers=t.headers||{},this.serviceName=n,r=r||{},this.bodySha256=r.bodySha256,this.request.params=this.sortParams(this.request.params)}sortParams(t){let n={};return t&&Object.keys(t).filter(r=>{let i=t[r];return typeof i<"u"&&i!==null}).sort().map(r=>{n[r]=t[r]}),n}async addAuthorization(t,n){let r=this.getDateTime(n);await this.addHeaders(t,r),this.request.headers.Authorization=await this.authorization(t,r)}async authorization(t,n){let r=[],i=this.credentialString(n);return r.push(`${rn.algorithm} Credential=${t.accessKeyId}/${i}`),r.push(`SignedHeaders=${this.signedHeaders()}`),r.push(`Signature=${await this.signature(t,n)}`),r.join(", ")}async getSignUrl(t,n){let r=this.getDateTime(n),i={...this.request.params},a=this.request.params,o=this.request.headers;t.sessionToken&&(i[rn.tokenHeader]=t.sessionToken),i[rn.dateHeader]=r,i[rn.notSignBody]="",i[rn.credential]=`${t.accessKeyId}/${this.credentialString(r)}`,i[rn.algorithmKey]=rn.algorithm,i[rn.signHeadersKey]="",i[rn.signQueriesKey]=void 0,i[rn.signatureKey]=void 0,i=this.sortParams(i),this.request.params=i,this.request.headers={};let s=await this.signature(t,r);return this.request.params=a,this.request.headers=o,i[rn.signQueriesKey]=Object.keys(i).sort().join(";"),i[rn.signatureKey]=s,w2(i)}getDateTime(t){return this.iso8601(t).replace(/[:\-]|\.\d{3}/g,"")}async addHeaders(t,n){if(this.request.headers[rn.dateHeader]=n,t.sessionToken&&(this.request.headers[rn.tokenHeader]=t.sessionToken),this.request.body){let r=this.request.body;this.request.headers[rn.contentSha256Header]=await $n(r)}}async signature(t,n){let r=await this.getSigningKey(t,n.substr(0,8),this.request.region,this.serviceName);return Fu(await _r(await this.stringToSign(n),r))}async stringToSign(t){let n=[];n.push(rn.algorithm),n.push(t),n.push(this.credentialString(t));let r=await this.canonicalString();return n.push(await this.hexEncodedHash(r)),n.join(`
`)}async canonicalString(){let t=[],n=this.request.pathname||"/";t.push(this.request.method.toUpperCase()),t.push(n);let r=w2(this.request.params)||"";return t.push(r),t.push(`${this.canonicalHeaders()}
`),t.push(this.signedHeaders()),t.push(await this.hexEncodedBodyHash()),t.join(`
`)}canonicalHeaders(){let t=[];Object.keys(this.request.headers).forEach(r=>{t.push([r,this.request.headers[r]])}),t.sort((r,i)=>r[0].toLowerCase()<i[0].toLowerCase()?-1:1);let n=[];return t.forEach(r=>{let i=r[0].toLowerCase();if(this.isSignableHeader(i)){let a=r[1];if(typeof a>"u"||a===null||typeof a.toString!="function")throw new Y(`Header ${i} contains invalid value`);n.push(`${i}:${this.canonicalHeaderValues(a.toString())}`)}}),n.join(`
`)}canonicalHeaderValues(t){return t.replace(/\s+/g," ").replace(/^\s+|\s+$/g,"")}signedHeaders(){let t=[];return Object.keys(this.request.headers).forEach(n=>{n=n.toLowerCase(),this.isSignableHeader(n)&&t.push(n)}),t.sort().join(";")}signedQueries(){return Object.keys(this.request.params).join(";")}credentialString(t){return this.createScope(t.substr(0,8),this.request.region,this.serviceName)}async hexEncodedHash(t){return await $n(t)}async hexEncodedBodyHash(){return this.request.headers[rn.contentSha256Header]?this.request.headers[rn.contentSha256Header]:this.request.body?await this.hexEncodedHash(w2(this.request.body)):await this.hexEncodedHash("")}isSignableHeader(t){return $G.indexOf(t)<0}iso8601(t){return t===void 0&&(t=new Date),t.toISOString().replace(/\.\d{3}Z$/,"Z")}async getSigningKey(t,n,r,i){let a=await _r(n,`${rn.kDatePrefix}${t.secretKey}`),o=await _r(r,a),s=await _r(i,o);return _r(rn.v4Identifier,s)}createScope(t,n,r){return[t.substr(0,8),n,r,rn.v4Identifier].join("/")}};var hE=[["af","af"],["am","am"],["ar","ar"],["az","az"],["be","be"],["bg","bg"],["bn","bn"],["bs","bs"],["ca","ca"],["co","co"],["cs","cs"],["cy","cy"],["da","da"],["de","de"],["el","el"],["en","en"],["eo","eo"],["es","es"],["et","et"],["eu","eu"],["fa","fa"],["fi","fi"],["fj","fj"],["fr","fr"],["fy","fy"],["ga","ga"],["gd","gd"],["gl","gl"],["gu","gu"],["ha","ha"],["he","he"],["hi","hi"],["hr","hr"],["ht","ht"],["hu","hu"],["hy","hy"],["id","id"],["ig","ig"],["is","is"],["it","it"],["ja","ja"],["ka","ka"],["kk","kk"],["km","km"],["kn","kn"],["ko","ko"],["ku","ku"],["ky","ky"],["la","la"],["lb","lb"],["lo","lo"],["lt","lt"],["lv","lv"],["mg","mg"],["mi","mi"],["mk","mk"],["ml","ml"],["mn","mn"],["mr","mr"],["ms","ms"],["mt","mt"],["my","my"],["ne","ne"],["nl","nl"],["no","no"],["ny","ny"],["pa","pa"],["pl","pl"],["ps","ps"],["pt","pt"],["ro","ro"],["ru","ru"],["sd","sd"],["si","si"],["sk","sk"],["sl","sl"],["sm","sm"],["sn","sn"],["so","so"],["sq","sq"],["sr","sr"],["st","st"],["su","su"],["sv","sv"],["sw","sw"],["ta","ta"],["te","te"],["tg","tg"],["th","th"],["tn","tn"],["to","to"],["tr","tr"],["ty","ty"],["ug","ug"],["uk","uk"],["ur","ur"],["uz","uz"],["vi","vi"],["xh","xh"],["yi","yi"],["yo","yo"],["zh-CN","zh"],["zh-TW","zh-Hans"],["zu","zu"]],A2=new Map(hE),eW=new Map(hE.map(([e,t])=>[t,e])),k2=class extends We{static langMap=A2;accessKeyId="";secretAccessKey="";maxTextGroupLength=8;constructor(t,n,r,i){if(super(t,n,r,i),!t||!t.accessKeyId||!t.secretAccessKey)throw new Y("accessKeyId and secretAccessKey are required");this.accessKeyId=t.accessKeyId?.trim(),this.secretAccessKey=t.secretAccessKey?.trim()}async remoteDetectLanguage(t){let r={region:"cn-north-1",method:"POST",params:{Action:"LangDetect",Version:"2020-06-01"},pathname:"/",headers:{"Content-Type":"application/json",host:"open.volcengineapi.com"},body:JSON.stringify({TextList:[t]})},i=new qu(r,"translate");await i.addAuthorization({accessKeyId:this.accessKeyId,secretKey:this.secretAccessKey});let a=new URLSearchParams(r.params),o=await Re({retry:2,url:"https://open.volcengineapi.com"+r.pathname+"?"+a.toString(),headers:i.request.headers,method:r.method,body:r.body});if(o.DetectedLanguageList&&o.DetectedLanguageList.length>0)return o.DetectedLanguageList[0].Language;if(o.ResponseMetadata&&o.ResponseMetadata.Error){let s=o.ResponseMetadata.Error;throw new Y(s.Code,s.Message)}else if(o.ResponseMetaData&&o.ResponseMetaData.Error){let s=o.ResponseMetaData.Error;throw new Y(s.Code,s.Message)}else throw new Y("response: "+JSON.stringify(o))}async translateList(t){let{text:n,from:r,to:i}=t,a=A2.get(r),o={TargetLanguage:A2.get(i)||i,TextList:n};a?o.SourceLanguage=a:o.SourceLanguage=await this.remoteDetectLanguage(n.join(`
`).slice(0,1e3));let s={region:"cn-north-1",method:"POST",params:{Action:"TranslateText",Version:"2020-06-01"},pathname:"/",headers:{"Content-Type":"application/json",host:"open.volcengineapi.com"},body:JSON.stringify(o)},u=new qu(s,"translate");await u.addAuthorization({accessKeyId:this.accessKeyId,secretKey:this.secretAccessKey});let l=new URLSearchParams(s.params),c=await Re({retry:2,url:"https://open.volcengineapi.com"+s.pathname+"?"+l.toString(),headers:u.request.headers,method:s.method,body:s.body});if(c.TranslationList){let d=c.TranslationList.map(f=>f.Translation),g=r;return c.TranslationList.length>0&&c.TranslationList[0].DetectedSourceLanguage&&(g=eW.get(c.TranslationList[0].DetectedSourceLanguage)||r),{text:d,from:g,to:i}}else if(c.ResponseMetadata&&c.ResponseMetadata.Error){let d=c.ResponseMetadata.Error;throw new Y(d.Code,d.Message)}else if(c.ResponseMetaData&&c.ResponseMetaData.Error){let d=c.ResponseMetaData.Error;throw new Y(d.Code,d.Message)}else throw new Y("response: "+JSON.stringify(c))}},yE=k2;var bE=[["auto","detect"],["af","af"],["am","am"],["ar","ar"],["az","az"],["be","be"],["bg","bg"],["bn","bn"],["bs","bs"],["ca","ca"],["co","co"],["cs","cs"],["cy","cy"],["da","da"],["de","de"],["el","el"],["en","en"],["eo","eo"],["es","es"],["et","et"],["eu","eu"],["fa","fa"],["fi","fi"],["fj","fj"],["fr","fr"],["fy","fy"],["ga","ga"],["gd","gd"],["gl","gl"],["gu","gu"],["ha","ha"],["he","he"],["hi","hi"],["hr","hr"],["ht","ht"],["hu","hu"],["hy","hy"],["id","id"],["ig","ig"],["is","is"],["it","it"],["ja","ja"],["ka","ka"],["kk","kk"],["km","km"],["kn","kn"],["ko","ko"],["ku","ku"],["ky","ky"],["la","la"],["lb","lb"],["lo","lo"],["lt","lt"],["lv","lv"],["mg","mg"],["mi","mi"],["mk","mk"],["ml","ml"],["mn","mn"],["mr","mr"],["ms","ms"],["mt","mt"],["my","my"],["ne","ne"],["nl","nl"],["no","no"],["ny","ny"],["pa","pa"],["pl","pl"],["ps","ps"],["pt","pt"],["ro","ro"],["ru","ru"],["sd","sd"],["si","si"],["sk","sk"],["sl","sl"],["sm","sm"],["sn","sn"],["so","so"],["sq","sq"],["sr","sr"],["st","st"],["su","su"],["sv","sv"],["sw","sw"],["ta","ta"],["te","te"],["tg","tg"],["th","th"],["tn","tn"],["to","to"],["tr","tr"],["ty","ty"],["ug","ug"],["uk","uk"],["ur","ur"],["uz","uz"],["vi","vi"],["xh","xh"],["yi","yi"],["yo","yo"],["zh-CN","zh"],["zh-TW","zh-Hans"],["zu","zu"]],M2=new Map(bE),tW=new Map(bE.map(([e,t])=>[t,e])),i0=class extends We{static langMap=M2;maxTextGroupLength=50;isSupportList=!1;async translate(t){let{text:n,from:r,to:i}=t,a=M2.get(r)||"detect",o=M2.get(i)||i,s={source_language:a,target_language:o,text:n},u=await super.request({url:"https://translate.volcengine.com/crx/translate/v1/",method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s),retry:this.retry});if(u.base_resp&&u.base_resp.status_code===0){let l=u.translation,c=r;return u.detected_language&&(c=tW.get(u.detected_language)||r),{text:l,from:c,to:i}}else{let l=u.base_resp;throw new Y(l.status_code.toString(),l.status_message)}}};var nW=[["auto","auto"],["en","EN"],["ja","JA"],["pl","PL"],["zh-CN","ZH"],["zh-TW","ZH-HANT"],["ar","AR"],["ja","JA"],["ko","KO"],["es","ES"],["de","DE"],["fr","FR"],["pt","PT"],["pt-br","PT-BR"],["ru","RU"],["it","IT"],["no","NB"],["id","ID"],["nl","NL"],["pl","PL"],["bg","BG"],["cs","CS"],["da","DA"],["el","EL"],["et","ET"],["fi","FI"],["hu","HU"],["lt","LT"],["lv","LV"],["ro","RO"],["sk","SK"],["sl","SL"],["sv","SV"],["tr","TR"],["uk","UK"]],I2=new Map(nW),a0=class extends We{static langMap=I2;url="";isSupportList=!1;maxTextGroupLength=1;apiKeys=[];constructor(t,n,r,i){if(super(t,n,r,i),!t||!t.url)throw new Y("deeplx custom url are required, please check your settings.");this.url=t.url,this.apiKeys=this.url.split(",").map(a=>a.trim())}getRandomKey(){let t=Math.floor(Math.random()*this.apiKeys.length);return this.apiKeys[t]}async translate(t){let{text:n,from:r,to:i}=t,a=this.getRandomKey(),o={source_lang:I2.get(r)||r,target_lang:I2.get(i)||i,text:n,tag_handling:"html"};this.isRichTranslate||delete o.tag_handling;let u=await super.request({retry:this.retry,url:a,headers:{"content-type":"application/json"},method:"POST",body:JSON.stringify(o),timeout:this.requestTimeout});if(u.code===200)return{text:X3(this.serviceConfig,u.data,i),from:r,to:i};throw new Y(u.message||u.message||"API Error")}};var vE=[["auto","auto"],["zh-CN","zh"],["en","en"],["yue","yue"],["wyw","wyw"],["ja","jp"],["ko","kor"],["fr","fra"],["es","spa"],["th","th"],["ar","ara"],["ru","ru"],["pt","pt"],["de","de"],["it","it"],["el","el"],["nl","nl"],["pl","pl"],["bg","bul"],["et","est"],["da","dan"],["fi","fin"],["cs","cs"],["ro","rom"],["sl","slo"],["sv","swe"],["hu","hu"],["zh-TW","cht"],["vi","vie"]],L2=new Map(vE),rW=new Map(vE.map(([e,t])=>[t,e])),D2=class extends We{static langMap=L2;endpoint="https://api.fanyi.baidu.com/api/trans/vip/translate";fieldEndpoint="https://fanyi-api.baidu.com/api/trans/vip/fieldtranslate";appid="";key="";isSupportList=!1;maxTextGroupLength=3;action=!1;domain="";constructor(t,n,r,i){if(super(t,n,r,i),!t||!t.appid||!t.key)throw new Y("appid and key are required");this.appid=t.appid?.trim(),this.key=t.key?.trim(),t.action&&(this.action=!0),t.endpoint&&(this.endpoint=t.endpoint),t.fieldEndpoint&&(this.fieldEndpoint=t.fieldEndpoint),t.domain&&(this.domain=t.domain,this.endpoint=this.fieldEndpoint)}getDefaultRateLimit(){return{limit:1,interval:1550}}async translate(t){let n=Date.now().toString(),{endpoint:r}=this,{appid:i,key:a}=this,{text:o,from:s,to:u}=t,l=zi(i+o+n+a);this.domain&&(l=zi(i+o+n+this.domain+a));let c=new URLSearchParams({from:L2.get(s)||"auto",to:L2.get(u)||u,q:o,salt:n,appid:i,sign:l});this.action&&c.set("action","1"),this.domain&&c.set("domain",this.domain);let d=new URL(r);d.search=c.toString();let g=await super.request({url:d.toString(),retry:this.retry,timeout:this.requestTimeout});if(g.error_code)throw new Y("API_SERVER_ERROR",g.error_msg);let{trans_result:f,from:p}=g,h=f.map(({dst:y})=>y);return{from:rW.get(p)||p,to:u,text:h.join(`
`)}}},xE=D2;var os=class extends We{langMap;requestBaseConfig;apiServiceConfig;constructor(t,n,r,i){super(t,n,r,i),this.apiServiceConfig=this.serviceConfig,this.isSupportList=this.apiServiceConfig.isSupportList,this.langMap=new Map(this.apiServiceConfig.langs),this.requestBaseConfig=this.handleBaseApiServiceConfig(this.apiServiceConfig)}async translate(t){if(!Object.keys(this.apiServiceConfig).length)throw"serivce id not found config";let{text:n,from:r,to:i}=t;if(!this.langMap.has(i))throw new Y(`Unsupported language: ${i}`);i=this.langMap.get(i);let a=await this.checkLang(r,n);if(!a)return{text:n,from:r,to:i};r=a;let o=this.handleRequest(n,r,i),s=await super.request(o);return{text:this.handleResponseText(s),from:r,to:i}}async translateList(t){if(!Object.keys(this.apiServiceConfig).length)throw new Y("serivce id not found config");let{text:n,from:r,to:i}=t;if(!this.langMap.has(i))throw new Y(`Unsupported language: ${i}`);i=this.langMap.get(i);let a=await this.checkLang(r,n.join(" "));if(!a)return{text:n,from:r,to:i};r=a;let o=this.handleRequest(n,r,i),s=await super.request(o);return{text:this.handleResponseText(s),from:r,to:i}}handleBaseApiServiceConfig(t){let n=t.request.url,r=t.request.headers||{};return r["content-type"]||(r["content-type"]="application/json"),{url:n,retry:t.request.retry||this.retry,method:t.request.method||"POST",headers:r,body:JSON.stringify(t.request.body),timeout:this.requestTimeout}}async checkLang(t,n){return this.langMap.has(t)?this.langMap.get(t):null}handleRequest(t,n,r){let i={...this.requestBaseConfig},a=i?.body||"",o=this.apiServiceConfig.keywords||{};i.body=u(a);let s=i.headers||{};return Object.keys(s).forEach(l=>{s[l]=u(s[l])}),i.headers=this.handleBodyHeaders({...s,...this.headerConfigs}),i.url=u(i.url||""),i;function u(l){return l.replaceAll('"{text}"',()=>Array.isArray(t)?JSON.stringify(t):`"${t}"`).replaceAll("{from}",n).replaceAll("{to}",r).replaceAll(/{([a-z:_]+)}/gi,(d,g)=>{let[f,p]=g.split(":"),h=o[f];return p==="random"?iW(h.split(",")):h})}}handleResponseText(t){let n=this.apiServiceConfig.response,r=t,i=n.text.split(".");for(let a of i){if(Array.isArray(r))return r=r.map(o=>o[a]),r;r=r[a]}return r}};function iW(e){let t=Math.floor(Math.random()*e.length);return e[t]}var CE=[["zh-CN","zh"],["zh-TW","zh-Hant"],["en","en"],["ja","ja"],["ko","ko"],["fr","fr"],["es","es"],["de","de"],["it","it"],["pt","pt"],["ru","ru"],["tr","tr"],["vi","vi"]],P2=new Set(["zh2zh-Hant","zh2en","zh2ja","zh2ko","zh-Hant2zh","zh-Hant2en","zh-Hant2ja","zh-Hant2ko","en2zh","en2zh-Hant","ja2zh","ja2zh-Hant","ko2zh","ko2zh-Hant","de2zh","de2zh-Hant","es2zh","es2zh-Hant","fr2zh","fr2zh-Hant","it2zh","it2zh-Hant","pt2zh","pt2zh-Hant","ru2zh","ru2zh-Hant","tr2zh","tr2zh-Hant","vi2zh","vi2zh-Hant"]),R2=class extends os{static langMap=new Map(CE);static supportedPairs=P2;constructor(t,n,r,i){if(!t?.token)throw new Y("token are required");super({...t,isSupportList:!0,langs:CE,keywords:{token:t.token?.trim()},request:{headers:{"content-type":"application/json","x-authorization":"token {token:random}"},url:"https://api.interpreter.caiyunai.com/v1/translator",retry:2,body:{source:"{text}",trans_type:"{from}2{to}"}},response:{text:"target"}},n,r,i)}async translate(t){let{from:n,to:r}=t,i=n,a=r,o=this.langMap.get(n),s=this.langMap.get(r);if(o&&s){let l=`${o}2${s}`;if(!P2.has(l))throw new Y(`Unsupported translation direction: ${n} -> ${r}`)}return{...await super.translate(t),from:i,to:a}}async translateList(t){let{from:n,to:r}=t,i=n,a=r,o=this.langMap.get(n),s=this.langMap.get(r);if(o&&s){let l=`${o}2${s}`;if(!P2.has(l))throw new Y(`Unsupported translation direction: ${n} -> ${r}`)}return{...await super.translateList(t),from:i,to:a}}},TE=R2;var aW=[["auto","auto"],["zh-CN","zh"],["en","en"],["ja","ja"]],tf=new Map(aW),N2=class extends We{static langMap=tf;token="ssdj273ksdiwi923bsd9";constructor(t,n,r,i){super(t,n,r,i)}getDefaultRateLimit(){return{limit:5,interval:1050}}async translateList(t){let{text:n,from:r,to:i}=t;if(!tf.get(i))throw new Y(`Unsupported language: ${i}`);if(r==="auto")throw new Y("Unsupported language: auto");let o=n;return{text:(await super.request({retry:this.retry,url:"https://api.interpreter.caiyunai.com/v1/translator",headers:{"content-type":"application/json","x-authorization":"token "+this.token},method:"POST",body:JSON.stringify({source:o,trans_type:`${tf.get(r)||"auto"}2${tf.get(i)}`}),timeout:this.requestTimeout})).target,from:r,to:i}}},SE=N2;var EE=[["auto","auto"],["en","en"],["ru","ru"],["pt","pt"],["es","es"],["zh-CN","zh-CHS"],["ja","ja"],["ko","ko"],["fr","fr"],["ar","ar"],["id","id"],["vi","vi"],["it","it"]],F2=new Map(EE),oW=new Map(EE.map(([e,t])=>[t,e]));function sW(e){let t=e.length;return t<=20?e:e.substring(0,10)+t+e.substring(t-10,t)}var B2=class extends We{static langMap=F2;isSupportList=!1;appId="";appSecret="";throttleLimit=5;domain="general";vocabId="";constructor(t,n,r,i){if(super(t,n,r,i),!t||!t.appId||!t.appSecret)throw new Y("appId and appSecret are required");this.appId=t.appId?.trim(),this.appSecret=t.appSecret?.trim(),t.domain&&(this.domain=t.domain),t&&t.vocabId&&(this.vocabId=t.vocabId)}getDefaultRateLimit(){return{limit:5,interval:1050}}async translate(t){let{text:n,from:r,to:i}=t,a=uW(32),o=Math.round(new Date().getTime()/1e3),s=this.appId+sW(n)+a+o+this.appSecret,u=await $n(s),l={q:n,appKey:this.appId,salt:a.toString(),from:F2.get(r)||"auto",to:F2.get(i)||i,sign:u,signType:"v3",curtime:o.toString()};this.domain&&this.domain!=="general"&&(l.domain=this.domain),this.vocabId&&(l.vocabId=this.vocabId);let c=new URLSearchParams(l),g=await super.request({url:"https://openapi.youdao.com/api",method:"POST",body:c.toString(),headers:{"Content-Type":"application/x-www-form-urlencoded"},retry:this.retry,timeout:this.requestTimeout});if(!g.translation)throw new Y(JSON.stringify(g));let f=g.l,[p,h]=f.split("2");return{text:g.translation.join(`
`),from:oW.get(p),to:i}}};function uW(e){let t="",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=n.length,i=0;for(;i<e;)t+=n.charAt(Math.floor(Math.random()*r)),i+=1;return t}var wE=B2;var AE=[["auto","auto"],["en","en"],["zh-CN","zh-CHS"]],O2=new Map(AE),p9e=new Map(AE.map(([e,t])=>[t,e]));function lW(e){let t=e.length;return t<=20?e:e.substring(0,10)+t+e.substring(t-10,t)}var _2=class extends Mn{static langMap=O2;isSupportList=!1;appKey="";appSecret="";prompt="";throttleLimit=1;streamType="all";handleOption="0";constructor(t,n,r,i){if(super(t,n,r,i),!t||!t.appKey||!t.appSecret)throw new Y("appKey and appSecret are required");this.appKey=t.appKey?.trim(),this.appSecret=t.appSecret?.trim(),this.prompt=t.prompt?.trim(),this.handleOption=this.bodyConfigs.handleOption,this.streamType=this.bodyConfigs.streamType||this.streamType}getDefaultRateLimit(){return{limit:1,interval:1050}}parseResponse(t){let n="",r="";if(typeof t=="string"){let i=t.split(/\n\n+/),a=[];for(let o of i){if(!o.trim())continue;let s=/event:.*\n/,u=o.match(s),l=o.split(s)[1],c="",d="";if(u&&u[0]&&(c=u[0].substring(6).trim()),l&&(d=l.substring(5).trim()),!c||!d)continue;let g=JSON.parse(d);if(c==="begin"){let f=g.type;f&&([r]=f.split("2"))}else if(c==="message")a.push(g);else if(c==="end"){this.streamType==="increment"||this.handleOption&&this.handleOption!=="0"?n=a.map(f=>f.transIncre).join(""):n=a[a.length-1]?.transFull;break}else if(c==="error"){let f=g.code,p=g.msg;throw f==="411"?new Y("\u670D\u52A1\u8FD4\u56DE\u9519\u8BEF\uFF0C\u8BF4\u660E\u8BF7\u6C42\u8FC7\u4E8E\u9891\u7E41\u6216\u8D85\u51FA\u989D\u5EA6\u9650\u5236\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5\u3002"):new Y(`${f}: ${p}`)}}if(n){let o=`

%%

`;return n=n.replace(/(\n)?\n%%\n\n/g,o),n}}throw new Y("Youdao model translation failed")}async handleOptions({payload:t}){let{text:n,from:r,to:i}=t,a=cW(32),o=Math.round(new Date().getTime()/1e3),s=this.appKey+lW(n)+a+o+this.appSecret,u=await $n(s),l=this.handleBodyHeaders({i:n,streamType:this.streamType,salt:a.toString(),from:O2.get(r)||"auto",to:O2.get(i)||i,appKey:this.appKey,sign:u,signType:"v3",curtime:o.toString(),prompt:this.prompt,...this.bodyConfigs});return{url:"https://openapi.youdao.com/llm_trans",method:"POST",headers:this.handleBodyHeaders({"Content-Type":"application/x-www-form-urlencoded",Accept:"text/event-stream",...this.headerConfigs}),body:new URLSearchParams(l).toString(),timeout:this.requestTimeout,retry:this.retry,responseType:"text"}}};function cW(e){let t="",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=n.length,i=0;for(;i<e;)t+=n.charAt(Math.floor(Math.random()*r)),i+=1;return t}var kE=_2;var ME=[["auto","auto"],["en","en"],["ru","ru"],["pt","pt"],["es","es"],["zh-CN","zh-CHS"],["ja","ja"],["ko","ko"],["fr","fr"],["ar","ar"],["id","id"],["vi","vi"],["it","it"]],U2=new Map(ME),C9e=new Map(ME.map(([e,t])=>[t,e]));var j2=class extends We{static langMap=U2;isSupportList=!1;appId="";appSecret="";maxTextLength=800;constructor(t,n,r,i){super(t,n,r,i)}getDefaultRateLimit(){return{limit:5,interval:1050}}async translate(t){let{text:n,from:r,to:i}=t,a={q:n,from:U2.get(r)||"auto",to:U2.get(i)||i},o=new URLSearchParams(a),s=await super.request({url:"https://aidemo.youdao.com/trans",method:"POST",body:o.toString(),headers:{"content-type":"application/x-www-form-urlencoded; charset=UTF-8","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36"},retry:this.retry,timeout:this.requestTimeout});if(s&&s.translation)return{text:s.translation.join(`
`),from:r,to:i};throw new Y("Youdao translation failed: "+JSON.stringify(s))}},IE=j2;var o0=class extends os{constructor(t,n,r,i){super({...t,isSupportList:!0,langs:(t.langs||"zh-CN,en").split(",").map(a=>[a,a]),limitPerSecond:t.limitPerSecond||5,maxTextLengthPerRequest:t.maxTextLengthPerRequest||1200,maxTextGroupLengthPerRequest:t.maxTextGroupLengthPerRequest||1,placeholderDelimiters:t.placeholderDelimiters||Vs,request:{url:t.url,retry:2,body:{text_list:"{text}",source_lang:"{from}",target_lang:"{to}"}},response:{text:"translations.text"}},n,r,i)}};var LE=U+"-gemini-fake-user-key",DE=new Map($s),z2=class extends sn{static langMap=DE;provider="custom";randomPrefix="My user id is {{id}}. ";fakeId="";constructor(t,n,r,i){super(t,n,r,i),this.immersiveProApiUrl=j.BASE_API+"gemini/translate",this.immersiveProStreamApiUrl=j.BASE_API+"gemini/translate/stream",t||(t={}),t.provider&&(this.provider=t.provider),t.randomPrefix&&t.randomPrefix!==void 0&&(this.randomPrefix=t.randomPrefix),this.apiUrl="https://generativelanguage.googleapis.com/v1beta/models/{model}:generateContent?key={key}",t?.apiUrl&&(this.apiUrl=t.apiUrl),this.maxTextGroupLength=this.maxTextGroupLength||10,this.model=this.model||"gemini-1.5-pro-latest",this.initPro(t,r)}getLangMap(){return DE}getDefaultRateLimit(){return{limit:1,interval:1050}}async handleOptions({systemPrompt:t,finalPrompt:n,payload:r}){if(this.serviceConfig.keepGlossariesPrompt&&/{{\d+}}/.test(r.text)&&(n=n.replace("return the original text",this.serviceConfig.keepGlossariesPrompt+"return the original text ")),this.provider=="pro")return this.handleProOptions(t,n,r);this.fakeId="",this.randomPrefix&&this.randomPrefix?.trim()&&this.randomPrefix!=="none"&&(this.fakeId=await le.getValue(LE,""),this.fakeId||(this.fakeId=dW(10),await le.setValue(LE,this.fakeId)));let i=this.getRandomKey(),a={url:this.apiUrl.replace("{model}",this.model),method:"POST",headers:this.handleBodyHeaders({"content-type":"application/json",...this.headerConfigs}),timeout:this.requestTimeout,retry:this.retry};i&&(a.url=a.url.replace("{key}",i));let o=n;this.randomPrefix&&this.randomPrefix?.trim()&&this.randomPrefix!=="none"&&(o=this.randomPrefix.replace("{{id}}",this.fakeId)+o);let s=this.mergePreAndAppendMessages([{role:"user",parts:[{text:o}]}]);s=s.map(l=>({role:l.role,parts:l.parts||[{text:l.content}]}));let u=this.handleBodyHeaders({contents:s,...this.bodyConfigs});return t&&(u.systemInstruction={parts:[{text:t}]}),a.body=JSON.stringify(u,null,2),a}handleStreamOptions(t,n){let r=!1;t.onMessage=a=>{try{let o=JSON.parse(a.data),{candidates:s}=o;if(!s||s.length===0)return;let{parts:u=[]}=s[0].content,l=u[0].text;l&&n.onMessage?.(l)}catch(o){a.data.trim()!=="[DONE]"&&n.onError?.(o??new Y("Cannot parse response JSON")),r||(n.onFinish?.("stop"),r=!0)}},t.onError=a=>{n.onError?.(a)},t.onFinish=a=>{r||(n.onFinish?.(a),r=!0)},n.messages&&(t.body=JSON.stringify({...JSON.parse(t.body),messages:n.messages})),t.responseType="stream";let i=this.immersiveProStreamApiUrl;return this.provider==="pro"&&i&&(t.url=i),t}parseResponse(t){if(t?.error)return t.error;if(this.provider=="pro")return this.parseAIResponse(t);let n=t?.candidates?.[0]?.content?.parts||[],r=n[n.length-1]?.text;if(!r&&t?.promptFeedback)throw new Y("parseResponse",JSON.stringify(t));return r||""}filterContent(t,n,r){let i="";this.provider=="pro"?i=super.filterContent(t,n,r):i=super.filterContent(t,n,r);let a=/{{(\d+)}}/g,o,s=new Set;for(;(o=a.exec(t))!==null;)s.add(o[1]);return i.replace(/{{?\s*\b(\d+)\b\s*}}?/g,(l,c)=>s.has(c)?`{{${c}}}`:l)}async rawRequest(t){try{return await super.rawRequest(t)}catch(n){if(n?.message){let r=this.parseAndFilterContentError(n.message);if(r)return r}throw n}}parseAndFilterContentError(t){try{let n=JSON.parse(t);return n?.error&&this.ignoreResReges.some(i=>new RegExp(i).test(n?.error))?n:null}catch{return null}}};function dW(e){let t="",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=n.length,i=0;for(;i<e;)t+=n.charAt(Math.floor(Math.random()*r)),i+=1;return t}var PE=z2;var RE=new Map($s),H2=class extends sn{static langMap=RE;constructor(t,n,r,i){super(t,n,r,i),this.immersiveProApiUrl=j.BASE_API+"claude/translate",this.immersiveProStreamApiUrl=j.BASE_API+"claude/translate/stream",this.model=this.model||"claude-3-haiku-20240307",this.apiUrl="https://api.anthropic.com/v1/messages",t.apiUrl&&(this.apiUrl=ct(this.apiUrl,t.apiUrl)),this.initPro(t,r)}getApiUrl(){return this.apiUrl}getLangMap(){return RE}getDefaultRateLimit(){return{limit:.3,interval:1050}}async handleOptions({systemPrompt:t,finalPrompt:n,payload:r}){if(this.provider==="pro")return this.handleProOptions(t,n,r);let i=this.getRandomKey(),a={url:this.apiUrl,method:"POST",headers:this.handleBodyHeaders({"content-type":"application/json","x-api-key":i,...this.headerConfigs}),timeout:this.requestTimeout,retry:this.retry},o=this.systemPrompt+n,s=this.handleBodyHeaders({...this.bodyConfigs,model:this.model,messages:this.mergePreAndAppendMessages([{role:"user",content:o}])});return isNaN(this.temperature)||(s.temperature=this.temperature),a.body=JSON.stringify(s,null,2),a}parseResponse(t){return this.provider==="pro"?this.parseAIResponse(t):t?.content?.find(r=>r.type==="text")?.text||t?.content?.[0]?.text||""}},NE=H2;var gW=[["auto","auto"],["zh-CN","Simplified Chinese"],["zh-TW","Traditional Chinese (Taiwan)"],["zh-HK","Traditional Chinese (Hong Kong)"],["en","English"],["ja","Japanese"],["ko","Korean"],["fr","French"],["de","German"],["es","Spanish"],["it","Italian"],["ru","Russian"],["pt","Portuguese"],["pt-br","Portuguese (Brazil)"],["nl","Dutch"],["pl","Polish"],["no","Norwegian"],["ar","Arabic"],["af","Afrikaans"],["am","Amharic"],["az","Azerbaijani"],["be","Belarusian"],["bg","Bulgarian"],["bn","Bengali"],["bs","Bosnian"],["ca","Catalan"],["ceb","Cebuano"],["co","Corsican"],["cs","Czech"],["cy","Welsh"],["da","Danish"],["el","Greek"],["eo","Esperanto"],["et","Estonian"],["eu","Basque"],["fa","Persian"],["fi","Finnish"],["fil","Filipino"],["ga","Irish"],["gd","Scots Gaelic"],["gl","Galician"],["gu","Gujarati"],["ha","Hausa"],["haw","Hawaiian"],["he","Hebrew"],["hi","Hindi"],["hmn","Hmong"],["hr","Croatian"],["ht","Haitian Creole"],["hu","Hungarian"],["hy","Armenian"],["id","Indonesian"],["ig","Igbo"],["is","Icelandic"],["jw","Javanese"],["ka","Georgian"],["kk","Kazakh"],["km","Khmer"],["kn","Kannada"],["ku","Kurdish (Kurmanji)"],["ky","Kyrgyz"],["lb","Luxembourgish"],["lo","Lao"],["lt","Lithuanian"],["lv","Latvian"],["mg","Malagasy"],["mi","Maori"],["mk","Macedonian"],["ml","Malayalam"],["mn","Mongolian"],["mr","Marathi"],["ms","Malay"],["mt","Maltese"],["my","Myanmar (Burmese)"],["pa","Punjabi"],["ps","Pashto"],["ro","Romanian"],["si","Sinhala (Sinhalese)"],["sk","Slovak"],["sl","Slovenian"],["sa","Sanskrit"],["sm","Samoan"],["sn","Shona"],["so","Somali"],["sq","Albanian"],["sr","Serbian"],["st","Sesotho"],["su","Sundanese"],["sv","Swedish"],["sw","Swahili"],["ta","Tamil"],["te","Telugu"],["tg","Tajik"],["th","Thai"],["tr","Turkish"],["ug","Uyghur"],["uk","Ukrainian"],["ur","Urdu"],["uz","Uzbek"],["vi","Vietnamese"],["xh","Xhosa"],["yi","Yiddish"],["yo","Yoruba"],["zu","Zulu"]],FE=new Map(gW),s0=class extends Mn{static langMap=FE;provider="custom";temperature=1;AccessKeyID="";AccessKeySecret="";constructor(t,n,r,i){super(t,n,r,i),t||(t={}),t.provider&&(this.provider=t.provider),t.temperature!==void 0&&(this.temperature=parseFloat(t.temperature)),this.AccessKeyID=t.AccessKeyID?.trim(),this.AccessKeySecret=t.AccessKeySecret?.trim(),this.apiUrl="https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/{model}?access_token={key}",t.apiUrl&&(this.apiUrl=ct(this.apiUrl,t.apiUrl)),this.model=t.model||"ernie_speed",this.maxTextGroupLength=this.maxTextGroupLength||10,this.bodyConfigs=t?.bodyConfigs||{}}async getAccessToken(t,n){return await wi(ch+t,()=>this.requestAccessToken(t,n))}async requestAccessToken(t,n){let r=await this.rawRequest({url:`https://aip.baidubce.com/oauth/2.0/token?grant_type=client_credentials&client_id=${t}&client_secret=${n}`,method:"POST",responseType:"json"}),a=Date.now()+r.expires_in*1e3,s=new Date(a).toISOString();return{accessToken:r.access_token,accessTokenExpiresAt:s}}getLangMap(){return FE}getDefaultRateLimit(){return{limit:10,interval:1300}}parseResponse(t){if(t.error_code&&t.error_msg)throw t.error_code===110||t.error_code===111?(Km(ch+this.AccessKeyID,()=>this.requestAccessToken(this.AccessKeyID,this.AccessKeySecret)),new Y("token\u8FC7\u671F\uFF0C\u5DF2\u91CD\u65B0\u751F\u6210\uFF0C\u8BF7\u91CD\u8BD5")):new Y(t.error_msg);return t?.result?.trim()||""}async handleOptions({systemPrompt:t,finalPrompt:n,payload:r}){let i={};r.refresh&&(i["X-Refresh"]="True"),r.debug&&(i["X-Debug"]="True");let a=this.mergePreAndAppendMessages([{role:"user",content:t},{role:"assistant",content:"ok"},{role:"user",content:n}]),o=this.handleBodyHeaders({temperature:this.temperature,messages:a,...this.bodyConfigs});isNaN(o.temperature)&&delete o.temperature;let s={url:this.apiUrl.replace("{model}",this.model),method:"POST",headers:this.handleBodyHeaders({"Content-Type":"application/json",...this.headerConfigs}),body:JSON.stringify(o,null,2),timeout:this.requestTimeout,retry:this.retry},{accessToken:u}=await this.getAccessToken(this.AccessKeyID,this.AccessKeySecret);return s.headers={...s.headers,...i},u&&(s.url=s.url.replace("{key}",u)),s}};var nf=class extends sn{action="ChatCompletions";version="2023-09-01";secret_id;secret_key;service="hunyuan";constructor(t,n,r,i){super(t,n,r,i),this.apiUrl="https://hunyuan.tencentcloudapi.com",this.model=t.model||"hunyuan-lite",this.secret_id=t.secret_id,this.secret_key=t.secret_key,this.immersiveProApiUrl=j.BASE_API+"hunyuan/translate",this.immersiveProStreamApiUrl=j.BASE_API+"hunyuan/translate/stream",this.initPro(t,r)}parseResponse(t){if(this.provider==="pro")return super.parseResponse(t);let n=t.Response;if(n?.Error)throw new Y(n?.Error.Message);return n?.Choices?.[0]?.Message?.Content?.trim()||""}async handleOptions({systemPrompt:t,finalPrompt:n,payload:r}){if(this.provider==="pro")return this.handleProOptions(t,n,r);let i={},a=new Date;r.refresh&&(i["X-Refresh"]="True"),r.debug&&(i["X-Debug"]="True");let o=this.mergePreAndAppendMessages([{Role:"system",Content:t},{Role:"user",Content:n}]);o=o.map(c=>({Role:c.Role||c.role,Content:c.Content||c.content}));let s=this.handleBodyHeaders({Model:this.model,Temperature:this.temperature,Messages:o,...this.bodyConfigs});isNaN(s.Temperature)&&delete s.Temperature;let u=JSON.stringify(s,null,2),l={url:this.apiUrl,method:"POST",headers:this.handleBodyHeaders({"Content-Type":"application/json; charset=utf-8",Host:this.apiUrl,"X-TC-Action":this.action,"X-TC-Version":this.version,"X-TC-Timestamp":Math.floor(a.valueOf()/1e3).toString(),...this.headerConfigs}),body:u,timeout:this.requestTimeout,retry:this.retry};return l.headers.Authorization=await this.getSignV3(a,u),l}async getSignV3(t,n){let r=this.getDate(t),i=Math.floor(t.valueOf()/1e3),{signedHeaders:a,canonicalRequest:o}=await this.getCanonicalRequest(n),{credentialScope:s,stringToSign:u}=await this.getStringToSign(r,i,o),l=await this.getSignature(r,u);return"TC3-HMAC-SHA256 Credential="+this.secret_id+"/"+s+", SignedHeaders="+a+", Signature="+l}async getSignature(t,n){let r=await _r(t,"TC3"+this.secret_key),i=await _r(this.service,r),a=await _r("tc3_request",i),o=await _r(n,a);return Fu(o)}async getStringToSign(t,n,r){let i="TC3-HMAC-SHA256",a=await $n(r),o=t+"/"+this.service+"/tc3_request";return{credentialScope:o,stringToSign:i+`
`+n+`
`+o+`
`+a}}async getCanonicalRequest(t){let n=await $n(t),r="POST",i="/",a="",o=`content-type:application/json; charset=utf-8
host:hunyuan.tencentcloudapi.com
x-tc-action:`+this.action.toLowerCase()+`
`,s="content-type;host;x-tc-action";return{signedHeaders:s,canonicalRequest:r+`
`+i+`
`+a+`
`+o+`
`+s+`
`+n}}getDate(t){let n=t.getUTCFullYear(),r=("0"+(t.getUTCMonth()+1)).slice(-2),i=("0"+t.getUTCDate()).slice(-2);return`${n}-${r}-${i}`}};async function yo({deviceId:e,retry:t}){let n=`${j.BASE_API}free-model/get-token?deviceId=${e}`,r=await Qe();return await wi(gh,async()=>{let i={},a=await le.getUserToken();a&&(i.token=a),i["Accept-Language"]=r.interfaceLanguage;let o=await Re({responseType:"json",url:n,headers:i,body:null,method:"GET",timeout:2e4,retry:t});return qm(o.data||"")})}async function Ku(){await wa(gh)}var rf=class extends Mn{service="siliconcloud";userToken;deviceId="";enableImtServe=!1;constructor(t,n,r,i){super(t,n,r,i),this.userToken=r.userToken,this.model=t.model||"Qwen/Qwen1.5-7B-Chat",this.enableImtServe=this.group=="free"&&t.enableImtServe||!1,this.apiUrl="https://api.siliconflow.cn/v1/chat/completions",this.enableImtServe&&(this.apiUrl=`${j.BASE_AIGW1_URL}v1/free/chat/completions`),t.apiUrl&&(this.apiUrl=ct(this.apiUrl,t.apiUrl))}async init(){if(this.apiKeys.length)return;try{this.deviceId=await Jn()}catch{this.deviceId="fake-device-id"}let{accessToken:t}=await this.getAPIKey();this.apiKeys=[t]}async handleOptions({systemPrompt:t,finalPrompt:n,payload:r}){let i=await super.handleOptions({systemPrompt:t,finalPrompt:n,payload:r});return this.group=="free"&&(i.headers={...i.headers,ValidToken:this.apiKeys[0]}),await this.headerAttachLanguage(i.headers),i}async rawRequest(t){try{return await super.rawRequest(t)}catch(n){if(n.errorCode===401)return wa(dh),await Ku(),this.apiKeys=[],await this.init(),await super.rawRequest(t);throw n}}async getAPIKey(){if(this.enableImtServe)return await yo({deviceId:this.deviceId,retry:this.retry});let t=dh,n=`${j.BASE_API}silicon/get-token?deviceId=${this.deviceId}`;return await wi(t,async()=>{let r=await Re({responseType:"json",url:n,headers:{token:this.userToken,"X-trigger":this.getXTrigger()},body:null,method:"GET",timeout:2e4,retry:this.retry}),i=Date.now()+r.expireTime*1e3;this.enableImtServe&&(i=r.expireTime*1e3-5e3);let a=new Date(i).toISOString();return{accessToken:r.apiToken,accessTokenExpiresAt:a}})}};var BE=ge+"ZhipuProTrialTokenStorageKey",OE=["glm-4-flash"],u0=class extends sn{service="zhipu";freeUserToken;deviceId="";isEnableTrial=!1;immersiveProApiUrl=j.BASE_API+"bigmodel/translate";immersiveProStreamApiUrl=j.BASE_API+"bigmodel/translate/stream";enableImtServe=!1;constructor(t,n,r,i){t||(t={}),super(t,n,r,i),this.freeUserToken=r.userToken,this.model=t.model||"glm-4",t.provider&&(this.provider=t.provider),t.temperature!==void 0&&(this.temperature=parseFloat(t.temperature)),this.enableImtServe=this.group=="free"&&t.enableImtServe||!1,this.apiUrl="https://open.bigmodel.cn/api/paas/v4/chat/completions",this.enableImtServe&&(this.apiUrl=`${j.BASE_AIGW1_URL}v1/free/chat/completions`),t.apiUrl&&(this.apiUrl=ct(this.apiUrl,t.apiUrl)),this.isEnableTrial=!!t.guestTrialLimit,this.initPro(t,r,this.isEnableTrial)}parseResponse(t){return"error"in t?t.error.message:t.choices[0]?.message.content.trim()||""}async handleProOptions(t,n,r){let i=await super.handleProOptions(t,n,r);return!this.userToken&&this.proTrialToken&&(i.headers={...i.headers,ValidToken:this.proTrialToken}),i}async rawRequest(t){try{return await super.rawRequest(t)}catch(n){if(n?.errorCode===401&&this.isEnableTrial)return wa(BE),this.apiKeys=[],await this.init(),await super.rawRequest(t);if(n?.errorCode===401&&this.enableImtServe)return await Ku(),this.apiKeys=[],await this.init(),await super.rawRequest(t);let r=this.serviceConfig?.freeModels||OE;if((n?.errorCode===401||n.code==1e3)&&r.includes(this.model)&&this.provider==="custom")return wa(mh),this.apiKeys=[],await this.init(),await super.rawRequest(t);if(n?.message){let i=this.parseAndFilterContentError(n.message);if(i)return i}throw n}}parseAndFilterContentError(t){try{let n=JSON.parse(t);return n?.error?.message&&this.ignoreResReges.some(i=>new RegExp(i).test(n?.error?.message))?n:null}catch{return null}}async init(){if(this.provider==="pro"){if(this.userToken||!this.isEnableTrial)return;this.deviceId=await Jn();let{accessToken:r}=await this.getProTrialApiKey();this.proTrialToken=r;return}let t=this.serviceConfig?.freeModels||OE;if(!t.includes(this.model)&&!this.apiKeys.length)throw new Y("apiKey are required");if(!t.includes(this.model)||this.apiKeys.length)return;try{this.deviceId=await Jn()}catch{this.deviceId="fake-device-id"}let{accessToken:n}=await this.getAPIKey();this.apiKeys=[n]}async getProTrialApiKey(){return await wi(BE,async()=>{let t=await Re({responseType:"json",url:`${j.BASE_API}big-model/get-glm45air-token?deviceId=${this.deviceId}`,body:null,method:"GET",timeout:2e4,retry:this.retry}),n=t.expireTime*1e3-1e4,r=new Date(n).toISOString();return{accessToken:t.apiToken,accessTokenExpiresAt:r}})}async getAPIKey(){if(this.enableImtServe)return await yo({deviceId:this.deviceId,retry:this.retry});let t={token:this.freeUserToken,"X-trigger":this.getXTrigger()};return await this.headerAttachLanguage(t),await wi(mh,async()=>{let n=await Re({responseType:"json",url:`${j.BASE_API}big-model/get-token?deviceId=${this.deviceId}`,headers:t,body:null,method:"GET",timeout:2e4,retry:this.retry}),r=Date.now()+n.expireTime*1e3-1e4,i=new Date(r).toISOString();return{accessToken:n.apiToken,accessTokenExpiresAt:i}})}};var af=class extends sn{constructor(t,n,r,i){super(t,n,r,i),this.immersiveProApiUrl=j.BASE_API+"deepseek/translate",this.immersiveProStreamApiUrl=j.BASE_API+"deepseek/translate/stream-fast",this.model=this.model||"deepseek-chat",this.apiUrl="https://api.deepseek.com/chat/completions",t.apiUrl&&(this.apiUrl=ct(this.apiUrl,t.apiUrl)),this.initPro(t,r)}getApiUrl(){return this.apiUrl}getDefaultRateLimit(){return{limit:10,interval:1300}}};var mW=[["auto","auto"],["en","en"],["zh-CN","zh"],["zh-TW","zh_tw"],["ru","ru"],["ja","ja"],["ko","ko"],["es","es"],["fr","fr"],["pt","pt"],["de","de"],["it","it"],["th","th"],["vi","vi"],["id","id"],["ms","ms"],["ar","ar"],["hi","hi"],["he","he"],["my","my"],["ta","ta"],["ur","ur"],["bn","bn"],["pl","pl"],["nl","nl"],["ro","ro"],["tr","tr"],["km","km"],["lo","lo"],["yue","yue"],["cs","cs"],["el","el"],["sv","sv"],["hu","hu"],["da","da"],["fi","fi"],["uk","uk"],["bg","bg"],["sr","sr"],["te","te"],["af","af"],["hy","hy"],["eu","eu"],["be","be"],["bs","bs"],["ca","ca"],["ceb","ceb"],["hr","hr"],["et","et"],["gl","gl"],["ka","ka"],["gu","gu"],["is","is"],["kn","kn"],["kk","kk"],["lv","lv"],["lt","lt"],["lb","lb"],["mk","mk"],["mt","mt"],["mr","mr"],["ne","ne"],["az","az"],["uz","uz"],["sd","sd"],["si","si"],["sk","sk"],["sl","sl"],["sw","sw"],["sq","sq"],["cy","cy"],["fa","fa"]],fW=new Map(mW),of=class e extends sn{static langMap=fW;isSupportList=!1;apiKey="";throttleLimit=1;apiUrl="https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions";domains="";model="qwen-mt-plus";constructor(t,n,r,i){if(super(t,n,r,i),this.immersiveProApiUrl=j.BASE_API+"qwen3/translate",t.provider==="custom"&&!t.apiKey)throw new Y("apiKey are required");this.apiKey=t.apiKey?.trim(),this.domains=t.domains?.trim(),this.model=t.model?.trim()||this.model,t.apiUrl&&(this.apiUrl=ct(this.apiUrl,t.apiUrl)),this.handleOption=this.bodyConfigs.handleOption,this.initPro(t,r)}getDefaultRateLimit(){return{limit:1,interval:1050}}parseResponse(t){return"error"in t?t.error?.message||"":t?.choices?.[0]?.message?.content?.trim()||""}parseLang(t){return e.langMap.get(t)||t}getTerms(t,n,r){return super.getValidGlossaries(t,n,r).map(a=>({source:a.k,target:a.v}))}handleMTOptions(t){let{text:n,from:r,to:i}=t,a=[{role:"user",content:n}],o={source_lang:this.parseLang(r||"auto"),target_lang:this.parseLang(i),domains:this.domains||"",terms:this.getTerms(r,n,t.glossaries||[])||void 0},s=this.handleBodyHeaders({model:this.model,messages:a,translation_options:o,...this.bodyConfigs});return this.provider==="pro"?{url:this.immersiveProApiUrl,method:"POST",headers:this.handleBodyHeaders({"Content-Type":"application/json",token:this.userToken,...this.headerConfigs}),body:JSON.stringify(s,null,2),timeout:this.requestTimeout,retry:this.retry}:{url:this.apiUrl,method:"POST",headers:this.handleBodyHeaders({"Content-Type":"application/json",Authorization:`Bearer ${this.apiKey}`,...this.headerConfigs}),body:JSON.stringify(s,null,2),timeout:this.requestTimeout,retry:this.retry}}async translate(t){let n=this.handleMTOptions(t),{from:r,to:i}=t,a;try{a=await this.rawRequest(n);let o=this.parseResponse(a),s=[t.text];t.options?.rawTextArrayLength&&(s=t.text.split(this.translationTextSeparator));let u=await this.interceptResponse(o,{...t,text:s});return u.handled?{from:r,to:i,text:u.result||""}:{text:o,from:r,to:i}}catch(o){throw o}}async rawRequest(t){try{return await super.rawRequest(t)}catch(n){if(n?.message){let r=this.parseAndFilterContentError(n.message);if(r)return r}throw n}}parseAndFilterContentError(t){try{let n=JSON.parse(t);return n?.error?.message&&this.ignoreResReges.some(i=>new RegExp(i).test(n?.error?.message))?n:null}catch{return null}}};var V2=class extends sn{constructor(t,n,r,i){super(t,n,r,i),this.immersiveProApiUrl=j.BASE_API+"qwen/translate",this.immersiveProStreamApiUrl=j.BASE_API+"qwen/translate/stream",this.model=this.model||"qwen-plus-latest",this.apiUrl="https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions",t.apiUrl&&(this.apiUrl=ct(this.apiUrl,t.apiUrl)),this.initPro(t,r)}getApiUrl(){return this.apiUrl}getDefaultRateLimit(){return{limit:10,interval:1300}}},_E=V2;var G2=class extends sn{constructor(t,n,r,i){super(t,n,r,i),this.immersiveProApiUrl=j.BASE_API+"kimi/translate",this.immersiveProStreamApiUrl=j.BASE_API+"kimi/translate/stream",this.model=this.model||"kimi-k2-0905-preview",this.apiUrl="https://api.moonshot.cn/v1/chat/completions",t.apiUrl&&(this.apiUrl=ct(this.apiUrl,t.apiUrl)),this.initPro(t,r)}getApiUrl(){return this.apiUrl}getDefaultRateLimit(){return{limit:10,interval:1300}}},UE=G2;var W2=class extends We{deviceId="";accessToken="";apiUrl="";isSupportList=!1;constructor(t,n,r,i){super(t,n,r,i),this.apiUrl=`https://aigw1.${j.HOST_NAME}/v1/free/translate`}async init(){this.deviceId=await Jn();let{accessToken:t}=await yo({deviceId:this.deviceId,retry:this.retry});this.accessToken=t}async request(t){try{return await this.headerAttachLanguage(t.headers),await super.request(t)}catch(n){if(n?.errorCode===401)return this.accessToken="",await this.init(),await super.request(t);throw n}}async translate(t){let{text:n,to:r,from:i}=t,a=await this.request({url:this.apiUrl,method:"POST",headers:{Authorization:`Bearer ${this.accessToken}`,"Content-Type":"application/json"},body:JSON.stringify({to:r,text:n}),retry:this.retry});return{text:a.result,from:i,to:a.to}}},jE=W2;var zE="feature_usage_stats",sf=7;function HE(e){let t=e.getFullYear(),n=`${e.getMonth()+1}`.padStart(2,"0"),r=`${e.getDate()}`.padStart(2,"0");return`${t}-${n}-${r}`}function uf(e){let n=e.trim().split("-");if(n.length!==3)return Number.NaN;let[r,i,a]=n.map(o=>Number(o));return!r||!i||!a?Number.NaN:new Date(r,i-1,a).getTime()}function VE(e,t,n){let r=Object.keys(e);for(let i of r){let a=uf(i);if(Number.isNaN(a)){delete e[i];continue}let o=Math.floor((t-a)/864e5);(o<0||o>=n)&&delete e[i]}}function GE(){return Ie.local.get(zE,{})}async function WE(e){await Ie.local.set(zE,e)}function pW(e,t,n,r){VE(e,t,sf);let i=r?0:1,a=i+n,o=[],s=0,u=0;for(let[c,{count:d}]of Object.entries(e)){let g=uf(c);if(Number.isNaN(g))continue;let f=Math.floor((t-g)/864e5);f>=i&&f<a&&(u++,o.push({date:c,count:d}),s+=d)}o.sort((c,d)=>c.date.localeCompare(d.date));let l=u>0?s/u:0;return{summary:{total:s,avgPerDay:l,daily:o},cleanedUsage:e}}async function qE(e){let t=String(e);if(!t)return;let n=HE(new Date),r=uf(n);if(Number.isNaN(r))return;let i=await GE(),a=i[t]||{},o=a[n]?.count??0;a[n]={count:o+1},VE(a,r,sf),i[t]=a,await WE(i)}async function KE(e=sf,t=!0){let n=Math.min(Math.max(e,1),sf),r=HE(new Date),i=uf(r);if(Number.isNaN(i))return{};let a=await GE(),o={};for(let[s,u]of Object.entries(a)){let{summary:l,cleanedUsage:c}=pW(u,i,n,t);o[s]=l,a[s]=c}return await WE(a),o}var lf=class extends sn{provider="custom";constructor(t,n,r,i){super(t,n,r,i),this.immersiveProApiUrl=j.BASE_API+"grok/translate",this.immersiveProStreamApiUrl=j.BASE_API+"grok/translate/stream",t||(t={}),this.apiUrl="https://api.x.ai/v1/chat/completions",t.apiUrl&&(this.apiUrl=ct(this.apiUrl,t.apiUrl)),this.model=t.model||"grok-3-mini-fast",this.initPro(t,r)}getDefaultRateLimit(){return{limit:10,interval:1300}}};var Qu=async()=>{try{if(!await le.getUserToken())return null;let t=await St.get("v1/user");return le.saveUserInfo(t),t}catch(e){return k.warn("updateUserInfo error",e),null}};var l0=new Map,q2=new Map;function QE(e,t){e&&(l0.set(e,(l0.get(e)||0)+1),t&&q2.set(e,t))}function YE(){l0.clear(),q2.clear()}function K2(e=.7){let t=0;for(let n of l0.values())t+=n;if(t===0)return null;for(let[n,r]of l0)if(r/t>=e)return n;return null}function Yu(e=.7){let t=K2(e);return t&&q2.get(t)||null}var Zu=class extends We{deviceId="";accessToken="";apiUrl="";isSupportList=!0;constructor(t,n,r,i){super(t,n,r,i),this.apiUrl=t.apiUrl||`${j.BASE_AIGW1_URL}v1/translation/tasks`}async init(){await this.ensureAccessToken()}async translate(t){let[n]=await this.translateTexts([t.text],t.from,t.to);return{text:n||"",from:t.from,to:t.to}}async translateList(t){return t.text?.length?{text:await this.translateTexts(t.text,t.from,t.to),from:t.from,to:t.to}:{...t}}async sendMessageStream(t){let n=!1,r=!1,i=!1,a=null,o=!1,s=new AbortController,u=await this.normalizeStreamRequest(t),l=()=>{s.signal.aborted||s.abort(t.signal?.reason||"request aborted")};t.signal&&(t.signal.aborted?l():t.signal.addEventListener("abort",l,{once:!0}));let c=h=>{i=!0,s.signal.aborted||s.abort(h||"fallback started")},d=h=>{if(n)return;n=!0;let C=h instanceof Y?h:new Y("fetchError",h instanceof Error?h.message:"free-model request failed");C.initData({...C.data,translationService:Yt}),t.onError?.(C)},g=async h=>{if(n||r)return;if(this.isAbortError(h)){n=!0,t.onFinish?.("request aborted");return}if(this.isSelectionUsageScene()&&o){d(h);return}let C=this.getStreamFallbackServiceId();if(!C){d(h);return}r=!0,c(h?.message||"fallback started");try{await this.sendMessageStreamByFallback(t,u,C),n=!0}catch(y){d(y)}},f={...t,signal:s.signal,onMessage:h=>{i||n||(this.isSelectionUsageScene()&&h&&(o=!0),t.onMessage?.(h))},onError:h=>{n||(a=a||g(h))},onFinish:h=>{i||r||n||(n=!0,t.onFinish?.(h))}},p=await this.createStreamRequestOptions(f,u);p.signal=s.signal,await this.requestStreamWithAuth(p,f),a&&await a}getTaskType(){return this.translationOptions.usageScene||"web_page"}getUsageScene(){return this.translationOptions.usageScene}isSelectionUsageScene(){let t=this.getUsageScene();return t==="text_side"||t==="selection"}async ensureAccessToken(t=!1){if(t&&(this.accessToken="",await Ku()),this.accessToken)return;this.deviceId||(this.deviceId=await Jn());let{accessToken:n}=await yo({deviceId:this.deviceId,retry:this.retry});this.accessToken=n}async requestWithAuth(t,n=0){await this.ensureAccessToken();let r={...t.headers||{}};await this.headerAttachLanguage(r,t.url);let i=()=>({...t,headers:{...r,Authorization:`Bearer ${this.accessToken}`}});try{return await super.request(i())}catch(a){if(a?.errorCode!==401||n>=1)throw a;return await this.ensureAccessToken(!0),await this.requestWithAuth(t,n+1)}}async requestStreamWithAuth(t,n,r=0){await this.ensureAccessToken();let i={...t.headers||{}};await this.headerAttachLanguage(i,t.url);let a=()=>{let o={...t,headers:{...i,Authorization:`Bearer ${this.accessToken}`}};return this.attachUsageSceneHeader(o),o.url=this.addTimestampToUrl(o.url),o};try{await Gc(a())}catch(o){if(o?.errorCode!==401||r>=1){await n.onError?.(o);return}try{await this.ensureAccessToken(!0),await Gc(a())}catch(s){await n.onError?.(s)}}}async translateTexts(t,n,r){let i=await this.appendRequestMeta({task_type:this.getTaskType(),stream:!1,payload:{to:r,content_type:"plain_text",segments:t.map((o,s)=>({id:`seg-${s}`,text:o}))}}),a=t.map((o,s)=>({id:`seg-${s}`,text:o}));try{let o=await this.requestWithAuth({url:this.apiUrl,method:"POST",responseType:"json",headers:{"Content-Type":"application/json"},body:JSON.stringify(i),retry:this.retry,timeout:this.requestTimeout});return this.recordProviderResponse(o.provider_id,o.sponsor),this.parseTranslatedSegments(o,a)}catch(o){let s=this.getFallbackServiceId();if(!s)throw o;return await this.translateTextsByFallback(t,n,r,s)}}async translateTextsByFallback(t,n,r,i){return(await(await this.createFallbackTranslator(i)).translateList({from:n,to:r,text:t,url:"",options:{},forces:[]})).text}parseTranslatedSegments(t,n){let r=t?.result?.segments||[],i=new Map(r.map(a=>[a.id,a.translated_text||a.text||""]));return n.map(a=>i.get(a.id)||"")}async createStreamRequestOptions(t,n){let{body:r,expectsStructuredJson:i}=n,a=!1,o="";return{url:this.apiUrl,method:"POST",responseType:"stream",retry:this.retry,timeout:this.requestTimeout,signal:t.signal,headers:{"Content-Type":"application/json",Accept:"text/event-stream"},body:JSON.stringify(r),onMessage:u=>{if(!t.signal?.aborted)try{let l=JSON.parse(u.data),c=l.event||u.event;if(c==="json_text"||c==="result"){let d=c==="result"&&JSON.stringify(l.result)||"",g=c==="result"?this.resolveLegacySelectionResultChunk(o,d):l.delta||"";c==="result"?o=d:o+=g,g&&t.onMessage?.(g);return}if(c==="delta"){let d=l.delta||"";o+=d,t.onMessage?.(d);return}if(c==="done"&&!a){if(i&&!this.canParseSelectionJson(o)){a=!0,t.onError?.(new Y("parseResponseError","free-model selection response is not valid JSON"));return}a=!0,t.onFinish?.("done")}}catch(l){a=!0,t.onError?.(new Y("parseResponseError",l?.message||"Cannot parse response JSON"))}},onError:u=>{t.onError?.(u)},onFinish:u=>{a||(a=!0,t.onFinish?.(u))}}}async sendMessageStreamByFallback(t,n,r){let i=await this.createFallbackTranslator(r);await i.init();let a;if(await i.sendMessageStream({...t,messages:n.messages,onError:o=>{o.initData({...o.data,translationService:Yt,fallbackService:r}),a=o},onFinish:o=>{a||t.onFinish?.(o)}}),a)throw a}isAbortError(t){return t instanceof Error&&t.name==="AbortError"||t instanceof Error&&t.message==="request aborted"}getTranslationServices(){return bn().translationServices}getFallbackServiceId(){return _8({[Yt]:this.serviceConfig})}getStreamFallbackServiceId(){return U8({[Yt]:this.serviceConfig})}async createFallbackTranslator(t){let r={...(await Qe()).translationServices[t]};if(!Object.keys(r).length)throw new Error(`free-model fallback service "${t}" not found`);let i=r.type||t,o=globalThis.TranslationServicesClass?.[i];if(!o)throw new Error(`free-model fallback: no translator class for type "${i}"`);return new o(r,this.generalConfig,{...this.translationOptions,translationService:t},this.isRichTranslate||!1)}getPreferredProvider(){let t=this.serviceConfig.preferredProvider;return typeof t!="string"?void 0:cc(this.getTranslationServices()).some(r=>r.preferredProvider===t)?t:void 0}async appendRequestMeta(t){let n={...t},r=this.getPreferredProvider();r&&(n.preferred_provider=r);let i=await Qe();return i.interfaceLanguage&&(n.ui_language=i.interfaceLanguage),n}async buildStreamBody(t){return await this.appendRequestMeta({task_type:this.getTaskType(),stream:!0,payload:{content_type:"messages",messages:t}})}async normalizeStreamRequest(t){let n=t.messages;if(n?.length||(n=[t.systemPrompt?{role:"system",content:t.systemPrompt}:null,t.userPrompt?{role:"user",content:t.userPrompt}:null].filter(Boolean)),!n.length)throw new Error("free-model stream requires messages or prompts");return{expectsStructuredJson:this.isSelectionUsageScene(),messages:n,body:await this.buildStreamBody(n)}}canParseSelectionJson(t){if(!t.trim())return!1;let n=t.replace(/^```json\s*/i,"").replace(/^```\s*/i,"").replace(/\s*```$/,"").trim();if(!n)return!1;let r=n.startsWith("{")||n.startsWith("["),i=n.endsWith("}")||n.endsWith("]");if(!r||!i)return!1;try{let a=ya(n);return typeof a=="object"&&a!==null}catch{return!1}}resolveLegacySelectionResultChunk(t,n){return t?n.startsWith(t)?n.slice(t.length):"":n}recordProviderResponse(t,n){t&&QE(t,n)}resetProviderStats(){YE()}getDominantProviderId(t=.7){return K2(t)}getDominantSponsor(){return Yu()}};var ZE=new Map;var gf={mock:Ou,mock2:Ou,custom:o0,google:rs,deepl:Uu,volc:yE,volcAlpha:i0,bing:Aa,tencent:Zc,tenAlpha:Jc,baidu:xE,caiyun:TE,cai:SE,openl:q3,youdao:wE,"youdao-ziyue":kE,you:IE,d:Bu,dpro:Bu,deeplx:a0,niu:IS,azure:LS,openai:gE,gemini:PE,claude:NE,papago:DS,aliyun:r0,qianfan:s0,qianfan2:Mn,"custom-ai":Mn,deepseek:af,"aliyun-bailian":Mn,doubao:Mn,hunyuan:nf,siliconcloud:rf,lingyiwanwu:Mn,zhipu:u0,"zhipu-pro":u0,grok:lf,ollama:Mn,groq:Mn,"azure-openai":Mn,openrouter:Mn,"qwen-mt":of,qwen:_E,kimi:UE,"babel-lite":jE,[Yt]:Zu};globalThis.TranslationServicesClass=gf;var ss={};Object.keys(Qn).forEach(e=>{ss[e]={...Qn[e],class:gf[e]}});async function Kt(e,t,n,r){t.config.monkeyAddTimeStampHosts&&(r={...r,monkeyAddTimeStampHosts:t.config.monkeyAddTimeStampHosts});let{config:i,state:a,usageScene:o}=t;o&&!ZE.has(o)&&(ZE.set(o,!0),qE(o)),Jo(i,t.localConfig,!1);let s=t.translationService;await kW(t,s,"precheck");let u=await le.getUserToken(),l=await Ir(),c=xW(e.sentences),d=e.sentences[0].to??t.targetLanguage,g=t.usageScene=="verify"?"":await hW({ctx:t,userToken:u,isProUser:l,sourceLanguage:c,toLanguage:d,translationService:s,tempServiceConfig:r}),f=await yW({ctx:t,configHash:g,tempServiceConfig:r,sourceLanguage:c,toLanguage:d,translationService:s}),p=await SW(t.config.interfaceLanguage,d,t.rule.glossaries||[],t.config.termsDomainWithSelf),h=i.beta,C=a.cache===!1&&h,y=i.debug===!0&&h;if(e.sentences?.length){let A=ei(f);e.sentences=e.sentences.map(M=>{C&&(M.refresh=!0),y&&(M.debug=!0);let{text:P,variables:B,counter:O,isOnlyPlaceholder:R,originalText:_}=QC(M.text,t.rule.excludeRegexps,t.rule.secretRegexpsV2,A);if(M.text=P,M.pureText=_,M.variables=B,M.onlyPlaceholder=R,cg(f)){let F=Dg(M.text,p,df);F.length&&(M.glossaries=F)}else if(t.config.enableMachineTranslateTerms){let F=Dv({text:M.text,from:M.from,delimiters:A,glossaries:p,variables:M.variables||{},counter:O});M.text=F.text,M.variables=F.variables}return M})}let v={sentences:Array(e.sentences.length)},b=e.sentences.length,x=await bW({ctx:t,isProUser:l,userToken:u,configHash:g,sentences:e.sentences,serviceConfig:f,translationService:s,everySentenceCallback:n});if(!x)return{sentences:[]};let T=[];if(a.cache){let A=e.sentences.map(async(P,B)=>{let O=JE(s,P,f,x),R=XE(P.glossaries);try{if(P.onlyPlaceholder)return{index:B,text:P.pureText||P.text,sentence:P};let _=await Rg(r7({originalText:P.text,from:P.from,to:P.to,service:O}),200);if(_?.translatedText?.trim()){if(TW(_.glossaryHash,R)){let F=t4({text:_.translatedText,delimiters:ei(f),variables:P.variables||{}});return{index:B,text:F,sentence:P}}k.debug("[translate-sentences] glossary mismatch, treat as cache miss",{expectedGlossaryHash:R,cachedGlossaryHash:_.glossaryHash})}}catch(_){k.warn("[translate-sentences] query cache DB error, but it's ok",_)}return null});(await Promise.allSettled(A)).forEach((P,B)=>{let O=e.sentences[B];if(P.status==="fulfilled"&&P.value){let{index:R,text:_}=P.value,F={...O,text:_};v.sentences[R]=F,n&&n(null,F,O)}else T.push(O)})}else T.push(...e.sentences);let S=T.length;if(b-S>0&&k.debug(`[translate-sentences] use ${b-S} sentences from cache`),!T.length)return v;await CW(T,t),XT(T,t),await EW(t.config.sensitiveConfig,T);let E=await x.multipleTranslate({sentences:T},f,async(A,M,P)=>{await nw(t.config.sensitiveConfig,M,P,!0);let B=M?.text;if(!A&&M&&P){let O=t4({text:M.text,delimiters:ei(f),variables:P.variables||{}});M.text=O}if(n&&n(A,M,P),B&&M?.text?.trim()&&!A&&M&&!s.startsWith("mock")&&a.cache){let O=JE(s,M,f,x);if(a.cache){let R=XE(P.glossaries||M.glossaries);Rg(i7({translatedText:B,from:P.from,to:P.to,detectedFrom:M.from,key:zi(P.text),service:O,glossaryHash:R??void 0}),3e3).catch(_=>{k.warn("[translate-sentences] set cache DB error",_)})}}});for(let A of E?.sentences||[]){let M=v.sentences.findIndex(B=>!B);if(M===-1)throw new Y("translateFailed","can not match the result");let P=T[M];await nw(t.config.sensitiveConfig,A,P,!1),v.sentences[M]=A}return{sentences:v.sentences}}async function hW({ctx:e,userToken:t,isProUser:n,sourceLanguage:r,toLanguage:i,translationService:a,tempServiceConfig:o}){return zi(JSON.stringify({sourceLanguage:r,translationService:a,tempServiceConfig:o,userToken:t,specialAiAssistant:e.specialAiAssistant,isPro:n,toLanguage:i,usageScene:e.usageScene,interfaceLanguage:e.config.interfaceLanguage,enableContextDiffPreview:e.config.enableContextDiffPreview}))}var cf={},Q2={};function iw(){for(let e of Object.values(cf))e instanceof Zu&&e.resetProviderStats()}async function yW({ctx:e,configHash:t,tempServiceConfig:n,sourceLanguage:r,toLanguage:i,translationService:a}){if(t&&Q2[t])return Q2[t];let o=e.config.translationServices[a]||{},s=e.config.rawUserConfig?.translationServices?.[a]||{};return o=await BS(s,o,{sourceLanguage:r,targetLanguage:i,model:o.model||"",url:e.url,isPro:!!e.isPro+"",usageScene:e.usageScene,translationService:a,withAITitleBlockUrls:e.rule.withAITitleBlockUrls},e.localConfig.aiAssistants||[],e.specialAiAssistant),n&&(o={...o,...n}),s.bodyConfigs||(o=C2(o)),Q2[t]=o,o}async function bW({ctx:e,isProUser:t,userToken:n,configHash:r,sentences:i,serviceConfig:a,translationService:o,everySentenceCallback:s}){if(r&&cf[r])return cf[r];try{let u=new ss[a.type||o].class(a,e.config.translationGeneralConfig,{translationService:o,userToken:n,isPro:t,usageScene:e.usageScene,excludeRegexps:e.rule.excludeRegexps,minTextCount:e.rule.paragraphMinTextCount,enableContextDiffPreview:e.config.enableContextDiffPreview},e.isRichTranslate||!1);return await u.init(),cf[r]=u,u}catch(u){if(s){let l={translationService:o,isPro:!!e.isPro,isLogin:!!n};for(let c of i){let d=u instanceof Y?new Y(u.name,u.message).initNetWork(u.errorCode).initData(u.data||l):u;s(d,null,c)}}return null}}function vW(e,t,n){let i=n.translationServices?.[e]?.type||e,a=ss[i]?.class?.langMap;return!a||a.size===0?!0:!!a.get(t)}function mf(e,t,n){let r=Un,a=n.translationServices?.[e]?.type||e;if(ss[a]?.class?.langMap?.size>0){let o=r.filter(s=>vW(e,s,n));return o.includes(t)||o.unshift("placeholder"),o}else return Un}async function Ai(e,t,n){if(!e.text)return e;let r=null,i=await Kt({sentences:[e]},t,(a,o,s)=>{a&&(r=a)},n);if(r)throw r;if(i.sentences.length>0)return{...e,...i.sentences[0]};throw new Y("translateFailed","translate failed")}async function Ju(e,t){for(let n of e)try{return await Ai({id:1e6,text:"Hello world",from:"en",to:"zh-CN",url:"https://google.com"},{...t,translationService:n,usageScene:"verify"},{retry:1,requestTimeout:t.config.verifyRequestTimeout||5*1e3}),n}catch{continue}return null}function xW(e){return e?.length?e[0].from:"auto"}async function bo(e,t){let{config:n}=t,r=await Ir(),i=n.translationServices,a=n.translationGeneralConfig,o={...i[e.service]||{},...e.serviceConfigs};(n.rawUserConfig?.translationServices?.[e.service]||{}).bodyConfigs||(o=C2(o));let u=await le.getUserToken(),l;try{return l=new ss[o.type||e.service].class(o,a,{translationService:e.service,userToken:u,isPro:r,usageScene:t.usageScene},!1),await l.init(),l}catch(c){throw new Y("fetchError",c.message||c?.toString()||"Unknown error").initNetWork(c.status||-999).initData({translationService:e.service,isPro:r,isLogin:!!u})}}async function CW(e,t){if(!t.rule.enableServerDetectLanguage||t.config.sensitiveConfig?.telemetry==!1)return;let n=e.filter(i=>i.text&&i.from==="auto");if(!n.length)return;let r=await uo(n.map(i=>i.pureText||""));!r||!r.length||r.forEach((i,a)=>{let o=n[a];o&&i.confidence>=.5&&(o.fromByService=i.lang)})}function JE(e,t,n,r){let i=e;e==="openl"&&(i=e+"-"+n.codename||q3.DEFAULT_CODENAME);let a=r.getCacheKeyPrefix();return a&&(i=a+"-"+i),i}function XE(e){if(!e||!e.length)return null;let t=e.map(n=>`${n?.k??""}=${n?.v??""}`).sort().join("|");return zi(t)}function TW(e,t){return t?e===t:!e}var $E={},ew={},df=null;async function SW(e,t,n,r){let i=[],a=(await lo()).filter(l=>l.active),o=a.map(l=>l.id).join(","),s=ew[o];if(s)return df=$E[o]||tw(s),s;for(let l of a){let c=l.matches?.length?l.matches:["*"];if(Ke(location.href,c)){let g=(await Mu(l.id)).glossaries||[];g.forEach(f=>{l.id!="default"&&(!r&&l.author=="self"||(f.domain=l.i18ns?.en?.name||l.i18ns?.[e]?.name||l.name))}),i.push(...g)}}let u=i.length?i:n;return u=u.filter(l=>l.tl===t||!l.tl||l.tl==="auto"),df=tw(u),$E[o]=df,ew[o]=u,u}function tw(e){if(e.length===0)return new RegExp("(?!)");let t=e.map(n=>n.k).sort((n,r)=>r.length-n.length).map(n=>Pg(n));return new RegExp(`(${t.join("|")})`,"gi")}async function EW(e,t){if(!e||e.sensitiveMode==="close")return;let n=t.filter(a=>{let o=a.fromByService||a.from;return!(!["zh-CN","zh-TW","en"].includes(o)||Object.keys(a.variables||{}).length>0)}),r=n.map(a=>({text:a.text,language:a.fromByService||a.from})),i=await h7(e,r);for(let[a,o]of i.entries()){if(wW(o))if(!/\s+/.test(o.trim())&&/\s+/.test(n[a].text.trim())){k.info(`[sensitive-encode] \u8BEF\u5224 "${n[a].text}" -> "${o}"`);continue}else k.info(`[sensitive-encode] "${n[a].text}" -> "${o}"`);n[a].text=o}}function wW(e){return!!e.includes(Yd)}async function nw(e,t,n,r){!e||e.sensitiveMode==="close"||!t||!n||t.text&&(t.text=await y7(e,n.text,t.text,r))}var AW=3*60*1e3,rw=0,c0=null;async function kW(e,t,n){return!kt()||e.isPro||e.isMax||e.usageScene==="verify"||!Xs(e.config,t)||!await le.getUserToken()||n==="precheck"&&Date.now()-rw<AW?!1:c0?await c0:(c0=(async()=>{try{let i=await Qu();return i?(e.user=i,e.isPro=Mt(i),e.isMax=hg(i),!0):!1}finally{rw=Date.now(),c0=null}})(),await c0)}function Y2(e,t){let n=e;n.formatVersion=(n.formatVersion||0)+1;let r=n.formatVersion,i=[];e.immersive=!0,e.formatHtml=!0;try{t(e,i)}finally{setTimeout(()=>{n.formatVersion===r&&e.isConnected&&(e.immersive=!1,e.formatHtml=!1,i.forEach(a=>{a.immersive=!1}))},0)}}var Z2=new Set,aw=0;function us(e){if(!e)return;aw+=1;let t=aw;e.imtPluginUpdateSeq=t,Z2.add(t),setTimeout(()=>{Z2.delete(t)},0)}function ow(e){if(!e)return!1;let t=e,n=0,r=20;for(;t&&n<r;){let i=t.imtPluginUpdateSeq;if(i&&Z2.has(i))return!0;if(t===document.documentElement)break;let a=t.parentNode||(t instanceof ShadowRoot?t.host:null);if(!a)break;t=a,n+=1}return!1}function sw(e){let t=document.querySelector("title"),n;return t&&(n=new MutationObserver(function(r){r.length>0&&(r[0].target.text.includes(Hd)||J2(e).catch(a=>{k.error("translateTitle error:",a.name,a.message,a.details||"")}))}),n.observe(t,{subtree:!0,characterData:!0,childList:!0})),n}var d0="";async function J2(e){let t=document.title;if(!t||t.includes(Hd))return;d0!==t&&(d0=t);let n=await Ve({text:t});if(!xu(e,n))try{let r=await Ai({id:0,url:e.url,text:t,from:n,to:e.targetLanguage,force:!0},e);r&&r.text&&(document.originTitle=d0,document.title=r.text+Hd+d0)}catch(r){throw r}}function uw(e){e.rule.isTranslateTitle&&(document.title=d0)}function MW(e,t){let n=e.querySelectorAll("select"),r=t.querySelectorAll("select");n.forEach((u,l)=>{let c=r[l];if(c&&u.selectedIndex>-1){let d=u.selectedIndex;c.selectedIndex=d,Array.from(c.options).forEach(f=>f.removeAttribute("selected"));let g=c.options[d];g&&g.setAttribute("selected","true")}});let i=e.querySelectorAll("input"),a=t.querySelectorAll("input");i.forEach((u,l)=>{let c=a[l];c&&(["text","password","search","url","tel","email","number","date","time","color"].includes(u.type)?c.setAttribute("value",u.value):(u.type==="checkbox"||u.type==="radio")&&(u.checked?c.setAttribute("checked","true"):c.removeAttribute("checked")))});let o=e.querySelectorAll("textarea"),s=t.querySelectorAll("textarea");o.forEach((u,l)=>{let c=s[l];c&&(c.textContent=u.value)})}function ff(e){try{let t=document.head?.cloneNode(!0),n=document.body,r=n.cloneNode(!0),i=e.rule.shareConfig;MW(n,r),lw(r),[...i?.removeSelectors||[]].forEach(l=>{[...t?.querySelectorAll(l),...r?.querySelectorAll(l)].forEach(c=>{c.nodeName.toLowerCase()=="script"&&c.type=="application/ld+json"||c.remove()})}),IW(r,i?.cloneIframes);let o=i.injectCss?ZC():"",s="";globalThis.document.documentElement.getAttributeNames().forEach(l=>{s+=`${l}="${globalThis.document.documentElement.getAttribute(l)}" `});let u="";return globalThis.document.body.getAttributeNames().forEach(l=>{let c=globalThis.document.body.getAttribute(l)||"";l==="style"&&(c=c.replace(/overflow(-[xy])?:\s*hidden;?\s*/g,"").trim()),c=c.replace(/"/g,"&quot;"),u+=`${l}="${c}" `}),`<html ${s}>
          <head><base href="${location.protocol}://${location.hostname}/"><meta charset="UTF-8">${t.innerHTML}<style id="imt-inject-preview">${o}</style>${NW}<style>body { overflow: auto !important; }</style></head>
          <body ${u}>${r.innerHTML}</body></html>`}catch{return""}}function IW(e,t){!t||!Array.isArray(t)||t.forEach(n=>{let r=document.querySelectorAll(n);if(!r.length)return;let i=e.querySelectorAll(n);i.length&&Array.from(r).forEach((a,o)=>{if(o>=i.length)return;let s=i[o],u=a.contentDocument||a.contentWindow?.document;if(u){s.removeAttribute("src");let l=u.head?.cloneNode(!0),c=u.body?.cloneNode(!0);if(l&&c){lw(c);let d="";try{Array.from(u.styleSheets).forEach(f=>{try{let h=Array.from(f.cssRules).map(C=>C.cssText).join(`
`);d+=h+`
`}catch(p){k.debug("\u65E0\u6CD5\u8BBF\u95EE iframe \u6837\u5F0F\u8868\u89C4\u5219\uFF1A",p)}})}catch(f){k.debug("\u83B7\u53D6 iframe \u6837\u5F0F\u65F6\u51FA\u9519\uFF1A",f)}let g=`<!DOCTYPE html>
            <html>
            <head>
              <meta charset="UTF-8">
              ${l.innerHTML}
              ${d?`<style>${d}</style>`:""}
            </head>
            <body>
              ${c.innerHTML}
            </body>
            </html>`;s.srcdoc=g,!s.hasAttribute("width")&&a.style.width&&(s.style.width=a.style.width),!s.hasAttribute("height")&&a.style.height&&(s.style.height=a.style.height)}}})})}function lw(e){try{let t=document.body.querySelectorAll("*"),n=e.querySelectorAll("*");if(t.length!==n.length){k.debug("originalNodes and clonedNodes length mismatch");return}t.forEach((r,i)=>{let a=r.shadowRoot;if(!a)return;let o=n[i];if(!o){k.debug(`Cannot find cloned node at index ${i}`);return}if(LW(a)){o.remove();return}let s=DW(a);o.appendChild(s)})}catch(t){k.debug("Error adding shadow root to cloned body:",t)}}function LW(e){return!!e.querySelector(".modal-overlay")}function DW(e){let t=document.createElement("template");return t.setAttribute("shadowroot","open"),PW(e,t),RW(e,t),t}function PW(e,t){Array.from(e.styleSheets).forEach(n=>{let r=document.createElement("style");try{r.textContent=Array.from(n.cssRules).map(i=>i.cssText).join(`
`),t.content.appendChild(r)}catch(i){k.debug("Error getting shadow root styles:",i)}})}function RW(e,t){let n=document.createElement("div");for(n.innerHTML=e.innerHTML;n.firstChild;)t.content.appendChild(n.firstChild)}var NW=`<script>
    (function() {
      if (!HTMLTemplateElement.prototype.hasOwnProperty('shadowRoot')) {
        document.addEventListener('DOMContentLoaded', () => {
          document.querySelectorAll('template[shadowroot]').forEach(template => {
            const mode = template.getAttribute('shadowroot');
            const shadowRoot = template.parentElement.attachShadow({ mode });
            shadowRoot.appendChild(template.content);
            template.remove();
          });
        });
      }
    })();
    <\/script>`;var FW=1e5,cw=Date.now(),X2=0;async function Xu(e){let{onParagraph:t,filterRule:n,id:r,engineCtx:i}=e,{stayOriginalSelectors:a,globalStyles:o,selectors:s,isTransformPreTagNewLine:u,lineBreakMaxTextCount:l,globalAttributes:c,isModifyImage:d,skipEditableCheck:g}=n,f={commonAncestorContainer:e.container,rootNodes:[],flatNodes:[],_currentStacks:[],isPreWhitespace:!1,hasFloatElement:!1},p=!1,h=null;async function C(S){let{container:E,onFrame:A,onIgnoreElement:M,id:P,isLongHtml:B}=S,O=document.createTreeWalker(E,NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT,F=>{let L=_(F);return L==NodeFilter.FILTER_ACCEPT?Qt.mark(F,P,g):KW(F,L,n)&&v(),L}),R=E;if(_(R)===NodeFilter.FILTER_REJECT)return;for(Qt.mark(R,P,g);R;){if(gn())return;if(Date.now()-cw>50&&(cw=Date.now(),await it(0)),s&&s.length>0){let{currentNode:L,isMatchedSelection:D}=y(O,R,s);if(L)R=L;else break;if(!D)continue}if(R.nodeType===Node.ELEMENT_NODE||R.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let L=R;if(L.nodeName=="FONT"&&L.className.includes(U)){L.remove(),R=O.nextSibling();continue}if(L.nodeName==="IFRAME"){A&&A(L),v(),$2(f,!0),R=O.nextNode();continue}L.nodeType===Node.ELEMENT_NODE&&(o&&ty(L,o),c&&pf(L,c));let D=Oi(L,{blockSelectors:n.blockSelectors,extraInlineSelectors:n.extraInlineSelectors,extraBlockSelectors:n.extraBlockSelectors,atomicBlockSelectors:n.atomicBlockSelectors},L.immersiveTranslateComputedStyle||null);if(D&&n.paragraphFirstLetterFontSize>0&&L.childNodes.length==1&&L.childNodes[0].nodeType===Node.TEXT_NODE&&L.innerText?.length==1&&L?.immersiveTranslateComputedStyle?.fontSize>=n.paragraphFirstLetterFontSize+"px"&&(D=!1),Xt(L,a)&&!D){b(L);let V=null;for(;!(V=O.nextSibling())&&O.parentNode(););R=V;continue}let w=vu(L);if(!dw(f,L)||D){v(L);let V=D?L:L.parentElement;V&&V.childNodes.length>0&&x(f,V,V.immersiveTranslateComputedStyle||null)}w&&L.shadowRoot?.mode==="open"&&(D?A?.(L.shadowRoot):C({...S,container:L.shadowRoot})),L.nodeType===Node.ELEMENT_NODE&&Xt(L,n.likePreSelectors)&&u&&(B||(us(L),UW(L,n)))}else if(R.nodeType===Node.TEXT_NODE)b(R);else throw new Error("should not be here");R=O.nextNode(),f.commonAncestorContainer&&R&&R.parentNode===f.commonAncestorContainer&&(f._currentStacks=[]),f.commonAncestorContainer&&R&&R.nodeType===Node.ELEMENT_NODE&&f._currentStacks.push(R)}function _(F){if(F.nodeType===Node.DOCUMENT_FRAGMENT_NODE)return NodeFilter.FILTER_ACCEPT;if(ro(F)){if(S.skipSelector&&F.matches?.(S.skipSelector)||(c&&pf(F,c),!S.force&&Qt.isMarked(F,P))||YC(F,P))return NodeFilter.FILTER_REJECT;if(F.nodeType===Node.ELEMENT_NODE){let N=globalThis.getComputedStyle(F);if(F.immersiveTranslateComputedStyle=N,(N?.float||"none")!="none"&&n.floatBlockEffectParagraphs&&n.floatBlockEffectParagraphs>0){let H=F.getBoundingClientRect();H.width>=140&&H.height>=140&&(X2=n.floatBlockEffectParagraphs)}}if(hf(F,{excludeSelectors:n.excludeSelectors,selectors:n.selectors,excludeSelectorsRegexes:n.excludeSelectorsRegexes,stayOriginalSelectors:a})||F.nodeName==="IFRAME"&&!gu(F))return NodeFilter.FILTER_REJECT;if(F.nodeType===Node.ELEMENT_NODE){let N=F.immersiveTranslateComputedStyle;if(ny(N)&&!Xt(F,n.skipIgnoreSelectors))return M?.(F),NodeFilter.FILTER_REJECT;let V=Oi(F,{blockSelectors:n.blockSelectors,extraInlineSelectors:n.extraInlineSelectors,extraBlockSelectors:n.extraBlockSelectors,atomicBlockSelectors:n.atomicBlockSelectors},N||null);if(F.isBlock=V,Xt(F,a)&&V)return NodeFilter.FILTER_REJECT}let L=F.getBoundingClientRect(),{width:D,height:w}=L;return F.nodeName==="IMG"&&D>0&&w>0&&d!==!1&&(F.setAttribute("width",D),F.setAttribute("height",w)),!F.childNodes||F.childNodes&&F.childNodes.length===0?NodeFilter.FILTER_ACCEPT:!f.isPreWhitespace&&(D>0&&D<4||w>0&&w<4)&&(F.textContent?.trim().length||0)<2?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}else if(F.nodeType===Node.TEXT_NODE){let L=F.textContent?.trim();if(!L)return/^(&nbsp;)+$/.test(F.parentElement?.innerHTML?.trim()||"")||f.isPreWhitespace||/^\u00A0+$/.test(F.textContent||"")?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT;let D=F.parentNode;if(D.getBoundingClientRect){let{width:w,height:N}=D.getBoundingClientRect();if(w>0&&w<4||N>0&&N<4)return NodeFilter.FILTER_REJECT}return l>0&&!n.advanceTransformPreTagNewLine&&L.length>=l&&zW(F,l,n.customAbbreviations),NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_REJECT}}try{await C(e)}catch(S){k.error(S)}f&&f.commonAncestorContainer&&f.flatNodes.length>0&&v();function y(S,E,A){let M=E.immersiveTranslateComputedStyle||null;if(h){if(!h.contains(E))if(p=!1,E&&E.nodeType===Node.ELEMENT_NODE)if(g0(E,A))p=!0,h=E,v(),x(f,h,M);else return p=!1,E=S.nextNode(),{currentNode:E,isMatchedSelection:p};else return p=!1,E=S.nextNode(),{currentNode:E,isMatchedSelection:p}}else if(E&&E.nodeType===Node.ELEMENT_NODE)if(g0(E,A))p=!0,h=E,v(),x(f,h,M);else return p=!1,E=S.nextNode(),{currentNode:E,isMatchedSelection:p};else return p=!1,E=S.nextNode(),{currentNode:E,isMatchedSelection:p};return{currentNode:E,isMatchedSelection:!0}}function v(S){let E=f.flatNodes.length-1;if(n.skipTrailTextRegex&&E>0)for(let M=E;M>=0;M--){let B=f.flatNodes[M]?.textContent?.trim()||"";if(!B||new RegExp(n.skipTrailTextRegex).test(B)){f.flatNodes.splice(M,1);continue}break}if(S&&S.nodeName==="BR"){if(S.hasAttribute("data-imt")&&i?.translateState=="translation")return;f.commonAncestorContainer=QW(S,n);let M=[...f.flatNodes],P=f.flatNodes.filter(B=>S.parentNode?.contains(B));P.length>0&&M.length!=P.length&&(f.flatNodes=P,f.flatNodes.original=M)}let A=_W(f,r,n,S);A&&(X2>0&&(X2--,A.hasFloatElement=!0),t?.(A)),$2(f)}function b(S){if(!dw(f,S)){v(),$2(f);let E=S.parentNode;E&&x(f,E,E.computedStyle)}f.flatNodes.push(S)}function x(S,E,A){S.commonAncestorContainer=E;let M=T(A);S.isPreWhitespace=M}function T(S){return S&&S.whiteSpace&&S.whiteSpace.startsWith("pre")||S&&S.whiteSpace==="break-spaces"||!1}}function dw(e,t){let n=!1;(t.nodeType===Node.ELEMENT_NODE||t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)&&(n=vu(t));let r=OW(e),i=!0;return!n&&!r&&(e.commonAncestorContainer&&e.commonAncestorContainer.contains(t)?i=!0:e.commonAncestorContainer&&(i=!1,e._currentStacks=[])),i}function BW(e,t,n){if(t){for(let r of t.childNodes)if(r.contains(n))return r}return e._currentStacks.length>0?(e.commonAncestorContainer||(e.commonAncestorContainer=e._currentStacks[0]),e._currentStacks[0]):null}function ty(e,t){if(t){let n=Object.keys(t);if(n.length>0&&Xt(e,n))for(let i of n){let a=t[i];if(e.matches(i)){let o=e.style.cssText||"";o&&(o=o.trim()),o&&!o.endsWith(";")&&(o+=";"),e.style.cssText=o+a;break}}}}function OW(e){return e&&e._currentStacks?e._currentStacks.some(t=>vu(t)):!1}function _W(e,t,n,r){let{flatNodes:i,commonAncestorContainer:a}=e;if(a&&i.length>0){if(!i.map(p=>p.textContent?.trim()||"").join("")){if(!(i.original||[]).map(h=>h.textContent?.trim()||"").join())return null;e.flatNodes=i.original||[]}let s=gm(i,a,n);s||(s=a);let u=[];for(let p of i){let h=BW(e,s,p);h&&(r&&h?.contains(r)&&(h=p.parentNode),u.includes(h)||u.push(h))}if(u.length<1)return null;let l=u[0],c=u[u.length-1],d=[],g=l,f=0;for(;g;){if(g.contains(c)){d.push(c);break}if(d.push(g),g===c)break;if(f++,f>FW){k.warn("loop too many times for convert root nodes, break");break}g=g.nextSibling}return{ctxId:t,rootNodes:d,flatNodes:i,commonAncestorContainer:s,variables:{},richVariables:{},isPreWhitespace:e.isPreWhitespace,xpath:"",display:eT(s),hasFloatElement:e.hasFloatElement}}else return null}function $2(e,t=!1){e.rootNodes=[],e.flatNodes=[],e._currentStacks=[],t&&(e.commonAncestorContainer=null)}function ny(e){return e.display==="none"}var Qt={_marked_key:K5,isMarked(e,t){return k4(e,this._marked_key,t)},clearMark(e,t=!1,n){if(!e||e.nodeType!==Node.ELEMENT_NODE)return;let r=n||new Set;if(t){let i=e,a='[data-imt-p="1"]';if(i.querySelectorAll(a).forEach(o=>{r.add(o)}),Xt(i,[a])&&r.add(i),r.forEach(o=>{this._clearSingle(o),o.parentElement&&this.clearToParentMark(o.parentElement,i)}),r.forEach(o=>{let s=document.createTreeWalker(o,NodeFilter.SHOW_ELEMENT),u=s.currentNode;for(;u;)this._clearSingle(u),u=s.nextNode()}),r.size===0){let s=0,u=document.createTreeWalker(i,NodeFilter.SHOW_ELEMENT),l=u.currentNode;for(;l&&s<200;)(M4(l,this._marked_key)||l.hasAttribute?.("data-imt-pre")||l.hasAttribute?.(ja))&&this._clearSingle(l),s+=1,l=u.nextNode()}}this._clearSingle(e)},_clearSingle(e){return e instanceof HTMLIFrameElement||vu(e)?void 0:(e.imtRawHtml&&(delete e.imtRawHtml,e.removeAttribute("data-imt-pre")),e.hasAttribute(ja)&&e.removeAttribute(ja),Ec(e,this._marked_key))},clearToParentMark(e,t){let n=e;for(;n&&t&&n!=t;)Qt.clearMark(n),n=n.parentElement},mark(e,t,n){if(!(!e||e.nodeType!==Node.ELEMENT_NODE)&&!(e instanceof HTMLIFrameElement||vu(e)))return cn(e,this._marked_key,t,!1,n)},isSkipMarkEle(e){return e?e instanceof HTMLIFrameElement||e.nodeType==Node.DOCUMENT_FRAGMENT_NODE:!1},hasMark(e){return M4(e,this._marked_key)}},ey="<br data-imt /><br data-imt/>";function UW(e,t){let n=e.innerHTML;e.imtRawHtml||(e.imtRawHtml=n,e.setAttribute("data-imt-pre","1"));let r=n.replace(/\n\r? *\n\r?/g,ey).replace(/\n\r?&nbsp;*\n\r?/g,ey);r!=n?Y2(e,(i,a)=>{if(!t.advanceTransformPreTagNewLine){i.innerHTML=kn?.createHTML(r)||r;return}try{if(!jW(i,r,t))return;let o=document.createTreeWalker(i,NodeFilter.SHOW_TEXT,null),s=[],u;for(;u=o.nextNode();)s.push(u);s.forEach(l=>{let c=(l.nodeValue||"")?.split(/\n\r? *\n\r?/);if(c?.length<=1&&(c=(l.nodeValue||"")?.split(/\n\r?&nbsp;*\n\r?/)),c.length>1){let d=l;d.immersive=!0,a.push(d),d.nodeValue=c[0],c.slice(1).forEach(g=>{let f=document.createElement("br");f.setAttribute("data-imt","1"),f.immersive=!0;let p=document.createElement("br");p.setAttribute("data-imt","1"),p.immersive=!0,a.push(f,p);let h=d.parentNode;h.insertBefore(f,d.nextSibling),h.insertBefore(p,f.nextSibling);let C=document.createTextNode(g);C.immersive=!0,a.push(C),h.insertBefore(C,p.nextSibling),d=C})}})}catch(o){k.error("[formatPreHtml] advance transform error:",o)}}):t.forceFormatPre&&Y2(e,i=>{i.innerHTML=kn?.createHTML(r)||r})}function jW(e,t,n){let{advanceTransformPreTagNewLine:r,advanceTransformPreTagMinLineCount:i,advanceTransformPreTagMinTextCount:a,lineBreakMaxTextCount:o}=n;if(!r)return!1;if(o>0||!i&&!a)return!0;try{let s=t.split(ey).length;return!!(i&&s>=i||a&&e.innerText.length>=a)}catch{return!1}}function zW(e,t,n){let r=e.textContent||"",i=Tg(r,{customAbbreviations:n,maxLength:t,strictMode:!0});if(!i)return;let a=e.parentNode;e.textContent=i[0];let o=e.nextSibling;e.immersive=!0;let s=VW(e)||e.parentElement;i.length>1&&s&&gw(s,"before");for(let u=1;u<i.length;u++){let l=document.createElement("br");l.immersive=!0,l.setAttribute(Qs,"1"),a?.insertBefore(l,o);let c=document.createTextNode(i[u]);c.immersive=!0,a?.insertBefore(c,o)}i.length>1&&s&&gw(s,"after")}function gw(e,t){let n=e.parentNode;if(!n)return;let r=t==="before"?mw(e.previousSibling,-1):mw(e.nextSibling,1);if(HW(r))return;let i=document.createElement("hr");if(i.immersive=!0,i.setAttribute(zo,"1"),t==="before")n.insertBefore(i,e);else{let a=e.nextSibling;a?n.insertBefore(i,a):n.appendChild(i)}}function mw(e,t){let n=e;for(;n;){if(n.nodeType===Node.TEXT_NODE){if((n.textContent||"").trim())return n}else if(n.nodeType===Node.ELEMENT_NODE)return n;n=t===-1?n.previousSibling:n.nextSibling}return null}function HW(e){return!e||e.nodeType!==Node.ELEMENT_NODE?!1:e.getAttribute(zo)==="1"}function VW(e){let t=e.parentElement;for(;t;){let r=(t.immersiveTranslateComputedStyle||globalThis.getComputedStyle(t))?.display||"";if(!GW(r))return t;t=t.parentElement}return null}function GW(e){return e==="inline"||e==="inline-block"||e==="inline-flex"||e==="inline-grid"||e==="contents"}function fw(e,t){let n=Object.keys(t);if(n.length>0)for(let r of n){let i=t[r],a=Object.keys(i),o=Fx(e,[r]);for(let s of o)for(let u of a){let l=i[u];s.getAttribute(u)!==l&&(l===null?s.removeAttribute(u):s.setAttribute(u,l))}}}function pw(e,t,n,r,i,a,o){if(!e)return;let s=Object.keys(t);if(s.length>0)for(let u of s){let{selectAll:l,...c}=t[u],d=Object.keys(c);(l?e.querySelectorAll(u):[e.querySelector(u)]).forEach(f=>{if(f)for(let p of d){let h=c[p];if(p==="translate"&&h==="no"){let y=f.innerText||f.textContent||"";if(!y.trim()||qW(f,i,a,o)||!Bx(y,n,r))continue}f.getAttribute(p)!==h&&(h===null?f.removeAttribute(p):f.setAttribute(p,h))}})}}function pf(e,t){if(!t)return;let n=Object.keys(t);if(n.length===0||!Xt(e,n))return;let r=n.find(a=>e.matches(a));if(!r)return;let i=t[r];for(let a in i){if(!Object.prototype.hasOwnProperty.call(i,a))continue;let o=i[a];e.getAttribute(a)!==o&&(o===null?e.removeAttribute(a):e.setAttribute(a,o))}}function hf(e,t){return WW(e,t.excludeSelectorsRegexes)?!0:Xt(e,t.excludeSelectors||[])?Xt(e,t.selectors||[])?!1:!Xt(e,t.stayOriginalSelectors||[]):!1}function WW(e,t){try{if(!t)return;let n=t;for(let[r,i]of Object.entries(n)){if(!Xt(e,[r]))continue;if(lm(i,e?.textContent?.trim()||""))return!0}return!1}catch(n){return k.error(n),!1}}function g0(e,t){if(t.length===0)return!1;let n=t.filter(r=>!r.endsWith("*")).map(r=>r+" *");return Xt(e,t.concat(n))}function qW(e,t,n,r){let i=document.createTreeWalker(e,NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT,a=>a.nodeType===Node.ELEMENT_NODE&&hf(a,{excludeSelectors:r.excludeSelectors,selectors:r.selectors,excludeSelectorsRegexes:r.excludeSelectorsRegexes,stayOriginalSelectors:r.stayOriginalSelectors})?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT);for(;i.nextNode();){let a=i.currentNode;if(a.nodeType===Node.TEXT_NODE&&parent){let o=a.textContent||"";if(o.includes("Copyright"))continue;if(du(o,t,n))return!0}}return!1}function KW(e,t,n){return t==NodeFilter.FILTER_REJECT&&e.nodeType==Node.ELEMENT_NODE&&e.childNodes.length>=1&&e.childNodes[0].childNodes.length>=1&&Oi(e,{blockSelectors:n.blockSelectors,extraInlineSelectors:n.extraInlineSelectors,extraBlockSelectors:n.extraBlockSelectors,atomicBlockSelectors:n.atomicBlockSelectors},null)}function QW(e,t){let n=e.parentElement;for(let r=0;r<5;r++){if(!n)return e?.parentElement;if(n.isBlock==!0||n.isBlock==null&&Oi(n,{blockSelectors:t.blockSelectors,extraInlineSelectors:t.extraInlineSelectors,extraBlockSelectors:t.extraBlockSelectors,atomicBlockSelectors:t.atomicBlockSelectors},null))return n;n=n?.parentElement}return e?.parentElement}var bw=new Set,YW=["web_page","subtitle_video","selection","mouse_hover","input","ai_writing"];async function In(e){if(la())return!0;if(e.usageScene==="web_page"&&Je())return await ZW(e);try{return await XW(e)?!0:await ry(e)?(await JW(e),!0):!1}catch(t){return k.error("checkAndRecordTranslationUsage error",t),!0}}async function ZW(e){try{let t=new Promise(r=>{setTimeout(()=>{k.warn("checkAndRecordWebPageUsage timeout after 1s, fallback to allow"),r(!0)},1e3)}),n=he({type:"content",name:"main_top",topFrame:!0},{method:"checkAndRecordTranslationUsage",data:{usageScene:e.usageScene,service:e.service}});return await Promise.race([n,t])}catch(t){return k.error("checkAndRecordWebPageUsage iframe error",t),!0}}async function ry(e){try{let t=await iy(e);if(!t)return!0;let{userType:n,usageScene:r,totalLimit:i,totalCount:a,dedupeHit:o}=t;return xw(n,i,a)?(await hw(n,"hard")&&(sq(n),await yw(n,"hard")),!1):(o||Cw(n,i,a)&&await hw(n,"soft")&&(se({key:"usage_limit_soft_hit",params:{trigger:n}}),oq(n,r),await yw(n,"soft")),!0)}catch(t){return k.error("checkTranslationUsage error",t),!0}}async function JW(e){try{let t=await iy(e);if(!t)return;let{usageScene:n,shouldCountTotal:r,dedupeHit:i}=t,a=Sw(n,e.ctx.url);if(a&&i)return;let o=await ls();if(r){let s=o[n]??0;o[n]=s+1}a&&bw.add(a),await ay(o)}catch(t){k.error("recordTranslationUsage error",t)}}async function $u(e){try{let t=await iy(e);if(!t)return null;let{userType:n,totalLimit:r,totalCount:i}=t,a=xw(n,r,i),o=!a&&Cw(n,r,i);if(!a&&!o)return null;let s=a?uq(n):Tw(n);return{userType:n,softHit:o,hardHit:a,message:s}}catch(t){return k.error("getTranslationUsageLimitPopupStatus error",t),null}}async function vw(e){let{ctx:t,usageScene:n,service:r}=e,i=$W(t);if(!i?.enable)return{shouldSkip:!0};if(eq(t,n))return{shouldSkip:!0};let a=await rq(t);if(a==="pro")return{shouldSkip:!0};let o=tq(t,r);if(!o)return{shouldSkip:!0};if(!nq(o))return{shouldSkip:!0};let s=i.usageScenes||[],u=i.usageSceneWeights,l=s.includes(n);return l?{shouldSkip:!1,userType:a,limitConfig:i,usageScenes:s,usageSceneWeights:u,shouldCountTotal:l}:{shouldSkip:!0}}async function XW(e){return(await vw(e)).shouldSkip}async function iy(e){let{ctx:t,usageScene:n}=e,r=await vw(e);if(r.shouldSkip)return null;let{userType:i,limitConfig:a,usageScenes:o,usageSceneWeights:s,shouldCountTotal:u}=r,l=await ls(),c=u?gq(l,o,s):0,d=s?.[n]??1,g=Sw(n,t.url),f=g?bw.has(g)===!0:!1;return{userType:i,usageScene:n,totalLimit:a.totalLimit,totalCount:c,currentSceneWeight:d,shouldCountTotal:u,dedupeHit:f}}function $W(e){return e.config?.translationUsageLimit}function eq(e,t){return t!=="web_page"?!1:(e.url||"").includes("immersivetranslate")}function tq(e,t){if(t)return e.config.translationServices?.[t]}function nq(e){return e.group==="free"}async function rq(e){if(e.isPro)return"pro";if(e.user)return Mt(e.user)?"pro":"free";let t=await le.getUserInfo();return t?Mt(t)?"pro":"free":"unregistered"}function xw(e,t,n){let r=aq(e,t);return r!==void 0&&n>=r}function Cw(e,t,n){let r=iq(e,t);return r!==void 0&&n>=r}function iq(e,t){if(!t)return;if(e==="unregistered"){let r=t.unregisteredSoft;return r===void 0?void 0:r}let n=t.soft;return n===void 0?void 0:n}function aq(e,t){if(!t)return;if(e==="unregistered"){let r=t.unregisteredHard;return r===void 0?void 0:r}let n=t.hard;return n===void 0?void 0:n}function oq(e,t){let n=Tw(e);_e("showToast",{type:"usageLimit",msg:n})}function sq(e){_e("translationUsageLimitHard",{userType:e})}function Tw(e){return e==="unregistered"?oe("usageLimit.register.soft"):oe("usageLimit.upgrade.soft")}function uq(e){return e==="unregistered"?oe("usageLimit.register.hard"):oe("usageLimit.upgrade.hard")}function lq(e){let t=e.getFullYear(),n=`${e.getMonth()+1}`.padStart(2,"0"),r=`${e.getDate()}`.padStart(2,"0");return`${t}-${n}-${r}`}function Sw(e,t){if(e==="web_page")return"web_page";if(e==="subtitle_video"&&t)return t.trim()}async function ls(){let e=await le.getValue(Ph,{},!0),t=lq(new Date);if(e.date!==t){cq(e,t);let n={date:t};return await ay(n),n}return e}async function Ew(){if(!Je())try{await ls()}catch(e){k.error("flushUsageLimitDailyReport error",e)}}async function ay(e){await le.setValue(Ph,e,!0)}function cq(e,t){let n=e.date;if(n&&n!==t)try{let r=dq(e),i=Number(r.scene_total_count??0);if(!Number.isFinite(i)||i<=0)return;se({key:"usage_limit_daily_stats",params:{trigger:n,...r}})}catch(r){k.error("reportPreviousDayUsageStats error",r)}}function dq(e){let t={},n=0;return YW.forEach(r=>{let i=e[r],a=typeof i=="number"&&Number.isFinite(i)?i:0;t[`scene_${r}_count`]=a,n+=a}),n<0&&(n=0),t.scene_total_count=n,t}function ww(e,t){return e==="unregistered"?`unregistered_${t}`:`free_${t}`}async function hw(e,t){let n=ww(e,t),r=await ls();return r.tipShown=r.tipShown||{},!(r.tipShown[n]||e==="unregistered"&&r.tipShown.free_hard)}async function yw(e,t){let n=ww(e,t),r=await ls();r.tipShown=r.tipShown||{},r.tipShown[n]=!0,await ay(r)}function gq(e,t,n){if(!t.length)return 0;let r=0;return t.forEach(i=>{let a=e[i]??0,o=n?.[i]??1;r+=a*o}),r}function yf(e,t,n,r,i){let a=mq(e,t,n,r,i);a?qt(e,a,U+"-user-custom-style"):i&&qt(e,"",U+"-user-custom-style")}function mq(e,t,n,r,i){let a=Aw(e,t,n[t]||{},r),o=Aw(e,"background",n.background||{},r),s="";return(a.variableCss||o.variableCss)&&(s=`:root {
${a.variableCss}
${o.variableCss}}
`),a.otherCss&&(s+=a.otherCss),o.otherCss&&(s+=o.otherCss),s}function Aw(e,t,n,r){let i=t,a=i8[i]||[],o="";e&&a&&a.length>0&&a.forEach(u=>{let{name:l}=u;if(e&&n&&n[l]){let c=n[l];if(["borderRadius"].includes(l)&&(c+="px"),o+=`--${U}-theme-${i}-${l}: ${c};
`,(t==="marker"||t==="background")&&l==="backgroundColor"&&typeof c=="string"){let{r:d,g,b:f}=Wx(c);o+=`--${U}-theme-${i}-${l}-rgb: ${d}, ${g}, ${f};
`}}}),r||(r="inherit"),e&&(o+=`
.${U}-target-inner { font-family: ${r}; }
`);let s="";if(n&&n.textColor){let u=n.textColor;s+=`
[imt-state="dual"] .${U}-target-translation-theme-${i}-inner{color: ${u};}
`}if(n&&n.zoom){let u=n.zoom;s+=`
[imt-state="dual"] .${U}-target-translation-theme-${i}-inner{font-size: max(13px, ${u}%);}
`}if(n&&n.weight){let u=n.weight;s+=`
.${U}-target-translation-theme-${i}-inner{font-weight: ${u};}
`}return n&&n.italics&&(s+=`
[imt-state="dual"] .${U}-target-translation-theme-${i}-inner{font-style: italic;}
`),{variableCss:o,otherCss:s}}function el(e,t){let r=lt()["inject.css"];qt(e,r,U+"-default-injected-css");let i=t.config.translationThemePatterns||{},a=t.state.translationTheme||t.config.translationTheme,o=t.config.selectTranslationFont;yf(e,a,i,o);let s="";(t.rule.injectedCss||t.rule.additionalInjectedCss)&&(t.rule.injectedCss&&Array.isArray(t.rule.injectedCss)&&t.rule.injectedCss.length>0?s+=t.rule.injectedCss.join(`
`):t.rule.injectedCss&&(s+=t.rule.injectedCss),t.rule.additionalInjectedCss&&Array.isArray(t.rule.additionalInjectedCss)&&t.rule.additionalInjectedCss.length>0?s+=`
`+t.rule.additionalInjectedCss.join(`
`):t.rule.additionalInjectedCss&&(s+=`
`+t.rule.additionalInjectedCss)),s&&qt(e,s,U+"-dynamic-injected-css")}async function bf(e){let t="auto",n=document.querySelector(e.bodyRule?.bodySelector||"body")||document.body,r=Vx(n);return r&&(t=await Ve({text:r})),t}function oy(e,t,n=[],r){let i=["notranslate"];r&&i.push(n8);let a=cs(e);return e&&(i.push(a.theme),t?i.push(a.themeInnerInlineWrapper):i.push(a.themeInnerBlockWrapper)),n.length>0&&i.push(...n),t?i.push(r8):i.push(e8),i}function sy(e){let t=["notranslate",$5];return e&&t.push(cs(e).themeInner),t}function cs(e){return{theme:`${U}-target-translation-theme-${e}`,themeInnerInlineWrapper:`${U}-target-translation-inline-wrapper-theme-${e}`,themeInnerBlockWrapper:`${U}-target-translation-block-wrapper-theme-${e}`,themeInner:`${U}-target-translation-theme-${e}-inner`}}function kw(e){let{translationTheme:t,translationThemePatterns:n,selectTranslationFont:r}=e.config,i=!t||t==="none",a=!n||Object.keys(n).length===0;return!i||!a||!!r}function Mw(e,t,n,r,i){let{rule:a}=n,{variables:o,isVertical:s}=e;o=o||[];let{text:u}=t,{wrapperPrefix:l,wrapperSuffix:c}=a,d=Yo(n.config.translationServices,n.translationService,!0),g="afterend",f=d[0],p=d[1],h=`${f}(\\d+)${p}`,C=new RegExp(h,"g"),y=u;o.length>0&&(y=y.replace(C,x=>{let T=y.indexOf(x),S=y[T-1]===" ",E=y[T+x.length]===" ",M=x.replace(new RegExp(d[0],"g"),"").replace(new RegExp(d[1],"g"),""),P=Number(M);if(isNaN(P))return x;let B=o[P];if(B&&B.type==="element"){let O=at.sanitize(B.value.outerHTML,{ADD_TAGS:n.rule.domPurifyAddTags});return S||(O=" "+O),E||(O=O+" "),O}else k.error("variable type not supported",B,x);return x}));let v=oy(r,e.inline,a.translationClasses||[],e.preWhitespace);s&&v.push(t8);let b=sy(r);return uy({targetWrapperTag:n.rule.targetWrapperTag,innerClassList:b,classList:v,html:y,targetElementEffectAttributeName:Hs,inline:e.inline,wrapperPrefix:l,wrapperSuffix:c,position:g,translationBlockStyle:i,translationPosition:n.config.translationPosition||"",translationMode:n.config.translationMode})}var ly={af:"latin",az:"latin",tn:"latin",bs:"latin",ca:"latin",ceb:"latin",co:"latin",cs:"latin",cy:"latin",da:"latin",de:"latin",en:"latin",eo:"latin",es:"latin",et:"latin",eu:"latin",fi:"latin",fil:"latin",fj:"latin",fr:"latin",fy:"latin",ga:"latin",gd:"latin",gl:"latin",ha:"latin",haw:"latin",hmn:"latin",hr:"latin",ht:"latin",hu:"latin",id:"latin",ig:"latin",is:"latin",it:"latin",jw:"latin",ku:"latin",la:"latin",lb:"latin",lt:"latin",lv:"latin",mg:"latin",mi:"latin",ms:"latin",mt:"latin",mww:"latin",nl:"latin",no:"latin",ny:"latin",otq:"latin",pl:"latin",pt:"latin","pt-br":"latin",ro:"latin",sk:"latin",sl:"latin",sm:"latin",sn:"latin",so:"latin",sq:"latin",sr:"latin","sr-Latn":"latin",st:"latin",su:"latin",sv:"latin",sw:"latin",tlh:"latin","tlh-Qaak":"latin",to:"latin",tr:"latin",ty:"latin",uz:"latin",vi:"latin",xh:"latin",yo:"latin",yua:"latin",zu:"latin","ur-roman":"latin",ja:"cjk",ko:"cjk",wyw:"cjk",yue:"cjk","zh-CN":"cjk","zh-TW":"cjk","zh-CN-NE":"cjk",be:"cyrillic",bg:"cyrillic",kk:"cyrillic",ky:"cyrillic",mk:"cyrillic",mn:"cyrillic",ru:"cyrillic","sr-Cyrl":"cyrillic",tg:"cyrillic",uk:"cyrillic",ar:"rtl",fa:"rtl",he:"rtl",ps:"rtl",sd:"rtl",ug:"rtl",ur:"rtl",yi:"rtl",bn:"other",gu:"other",hi:"other",kn:"other",ml:"other",mr:"other",ne:"other",pa:"other",sa:"other",si:"other",ta:"other",te:"other",am:"other",bo:"other",el:"other",hy:"other",ka:"other",km:"other",lo:"other",my:"other",th:"other"};function Iw(e,t){if(t.state.translationTheme!=="none"||t.config.sameLangTranslationTheme==="none")return t.state.translationTheme;let n=e.languageByLocal;return e.languageByClient&&e.languageByClient!=="auto"&&(n=e.languageByClient),!n||n==="auto"?t.state.translationTheme:ly[n]==ly[t.targetLanguage]?t.config.sameLangTranslationTheme:t.state.translationTheme}function vf(e,t,n,r,i){let a=t.original||t,o=GS(i,e,a,n.ignoreRichSelectors||[],n.domPurifyAddTags),s=null,{stayOriginalSelectors:u,delimiters:l,isPreWhitespace:c}=n,d=[],g={};for(let p=0;p<a.length;p++){let h=a[p],C=h.parentNode,y=C?.nodeName==="PRE",v=h.textContent||"",b=C?.textContent||"";if(h.nodeType===Node.TEXT_NODE&&C&&v===b&&(h=C),c)if(h.nodeType===Node.ELEMENT_NODE)if(h&&Xt(h,u)){let T=Object.keys(g).length,S=Lw(l,T);g[T]=h,d.push({text:S,type:"variable"})}else d.push({text:h.textContent||"",type:"text"});else{let x=h.textContent||"";y&&(x=to(cy(h))),d.push({text:x,type:"text"})}else if(h.nodeType===Node.ELEMENT_NODE)if(h&&Xt(h,u)){let T=Object.keys(g).length,S=Lw(l,T);g[T]=h;let E=dy(d).endsWith(" ")?" ":"",A=to(h.innerText||h.textContent),M=to(h.nextSibling).startsWith(" ")?" ":"",P=Bc(E+A+M),B=P[0]+S+P[1];if(E===" ")B=B.trimStart();else if(!B.startsWith(" ")){let O=Bc(h.previousSibling)[1];O===""&&(O=" "),B=O+B}d.push({text:B,type:"variable"})}else{let x=dy(d).endsWith(" ")?" ":"",T=to(h.innerText||h.textContent);y&&(T=to(cy(h)));let S=to(h.nextSibling).startsWith(" ")?" ":"",E=Bc(x+T+S),A=E[0]+(h.innerText?.trim()||h.textContent?.trim()||"")+E[1];if(x===" ")A=A.trimStart();else{let M=Bc(h.previousSibling)[1];M===""&&(h.nodeName==="A"||h.nodeName==="CODE")&&(M=" "),A=M+A}d.push({text:A,type:"text"})}else{let x=dy(d).endsWith(" ")?" ":"",T="";h.textContent&&(T=to(cy(h))),x===" "&&(T=T.trimStart()),d.push({text:T,type:"text"})}}let f=o;if(d&&d.length>0){let p="";for(let y=0;y<d.length;y++){let v=d[y];if(v.type==="variable"){i&&a[y].nodeName=="CODE"&&n.smallCodeLength>0&&a[y].textContent.length<n.smallCodeLength||(f=WS(i,f,a[y],v.text,n.domPurifyAddTags));let x=null,T=null;y>0&&(x=d[y-1].text),y<d.length-1&&(T=d[y+1].text);let S="",E="";x!==null&&!x.endsWith(" ")&&(S=" "),T!==null&&!T.startsWith(" ")&&(E=" "),p+=`${S}${v.text.trim()}${E}`}else p+=v.text}let h={};n.purifyRichHtml&&(f=at.sanitize(f,{ADD_TAGS:n.domPurifyAddTags})),f=qS(h,f,l[2])?.trim(),s={html:KS(h,f,r.richTag,r.richIdName,r.richIdSymbol),text:p,pureText:"",variables:g,richVariables:h}}return s&&d.length&&(s.pureText=d.filter(p=>p.type==="text").map(p=>p.text).join(" "),n.richMoreWordPercent&&d.length>4&&d.length/(s.pureText||"").split(/\s+/).length>n.richMoreWordPercent&&(s.html=void 0)),s}function Lw(e,t){let n=`${e[0]}${t}${e[1]}`;return e[2]&&(n=`<${e[2]}${t}></${e[2]}${t}>`),n}function gy(e,t){let{rule:n}=t;if(!e.targetText)return"";let r=Lg(t.config),i=r?.configEnable||t.config.enableRenderHtmlTag,a=Object.keys(e.richVariables).length>0||Object.keys(e.variables).length>0;!t.rule.encodeHtmlTag&&!i&&!a&&(e.targetText=e.targetText.replace(/</g,"&lt;").replace(/>/g,"&gt;")),i?e.targetText=h2(e.targetText):e.targetText=at.sanitize(h2(e.targetText),{ADD_TAGS:t.rule.domPurifyAddTags});let o=[];if(e.variables){let C=Object.keys(e.variables);for(let y=0;y<C.length;y++){let v=C[y],b=e.variables[v];o[v]={type:"element",value:b}}}!r?.configEnable&&r?.queryEnable&&(e.targetText=Ig(e.contextTargetText,e.targetText));let s=t.config.translationServices[t.translationService];t.isRichTranslate&&(e.targetText=QS(e.richVariables,e.targetText,s.richTag,s.richIdName));let u=!1,l=e.text,c=l.split(" ").length,d=l.split(`
`).length;c<=n.blockMinWordCount&&l.length<=n.blockMinTextCount&&d<2&&(u=!0),e.display?.includes("flex")&&(u=!0);let g=t.rule.translationBlockStyle||"";e.hasFloatElement&&(g+="display:inline");let f=Iw(e,t),p={id:Number(e.id),elements:[],isVertical:!1,rootFrame:e.commonAncestorContainer,text:e.text,variables:o,inline:u,preWhitespace:e.isPreWhitespace||!1,languageByLocal:"auto",languageByClient:"auto"},h=Yo(t.config.translationServices,t.translationService);if(h.length>2){let C=h[2];return fq({delimiterTag:C,targetText:e.targetText,inline:u,preWhitespace:e.isPreWhitespace||!1,wrapperPrefix:t.rule.wrapperPrefix,wrapperSuffix:t.rule.wrapperSuffix,targetWrapperTag:t.rule.targetWrapperTag,translationTheme:f,translationBlockStyle:g,translationClasses:t.rule.translationClasses,variables:o,ctx:t}).html}else{let C=Mw(p,{id:Number(e.id),url:"https://google.com",text:e.targetText,from:"auto",to:"auto"},t,f,g);return C.html}}function cy(e){return(e?.innerText||e.textContent||"").replace(/\s+/g," ")||""}function fq(e){let{delimiterTag:t,inline:n,translationClasses:r,targetWrapperTag:i,wrapperPrefix:a,variables:o,preWhitespace:s,wrapperSuffix:u,translationTheme:l,translationBlockStyle:c,ctx:d}=e;o=o||[];let f=e.targetText,p=new RegExp(`<${t}(\\d+)>(.*?)</${t}\\d+>`,"g"),h=new RegExp(`<${t}(\\d+)>`);o.length>0&&(f=f.replace(p,v=>{let b=f.indexOf(v),x=f[b-1]===" ",T=f[b+v.length]===" ",S=v.match(h);if(!S)return v;let E=S[1],A=Number(E);if(isNaN(A))return v;let M=o[Number(A)];if(M&&M.type==="element"){let P=at.sanitize(M.value.outerHTML,{ADD_TAGS:d.rule.domPurifyAddTags});return x||(P=" "+P),T||(P=P+" "),P}else if(M&&M.type==="text"){let P=M.value;return x||(P=" "+P),T||(P=P+" "),P}else k.error("variable type not supported",M,v);return v}));let C=oy(l,n,r||[],s),y=sy(l);return uy({targetWrapperTag:i,innerClassList:y,classList:C,html:f,targetElementEffectAttributeName:Hs,inline:n,wrapperPrefix:a,wrapperSuffix:u,position:"afterend",translationBlockStyle:c,translationPosition:d.config.translationPosition||"",translationMode:d.config.translationMode})}function uy({targetWrapperTag:e,innerClassList:t,classList:n,html:r,targetElementEffectAttributeName:i,inline:a,wrapperPrefix:o,wrapperSuffix:s,position:u,translationBlockStyle:l,translationPosition:c,translationMode:d}){let g="";l&&(g=`style="${l}"`),r=`<${e} class="${t.join(" ")}" ${i}="1">${r}</${e}>`,c!="before"&&(r=p(r));let f=[r];return a?o!=="smart"?f=[o,r]:d=="dual"?f=[`<${e} class="notranslate" ${i}="1">&#160;&#160;</${e}>`,r]:f=[r]:o==="smart"?f=["<br/>",r]:f=[o,r],r=c=="before"?f.reverse().join(""):f.join(""),c=="before"&&(r=p(r)),c!="before"&&(s==="smart"?r=`${r}`:r=`${r}${s}`),{html:r,position:u};function p(h){return`<${e} ${g} class="${n.join(" ")}" ${i}="1">${h}</${e}>`}}function dy(e){let t=e[e.length-1];return t?t.text:""}function Dw(e,t){let n=null,r=null,i=e.rule.bodyRule;if(!i.enable)return{bodyIsRoot:!1,bodyNode:n,articleNode:r};if(i.bodySelector&&(n=document.querySelector(i.bodySelector)),i.articleSelector&&(r=document.querySelector(i.articleSelector)),n||r)return k.debug("[parse-body] body rule has confirm"),{bodyIsRoot:a(),bodyNode:n,articleNode:r||n,preElements:Y4(i.preSelectors)};if(document.body.scrollHeight!=0&&document.body.scrollHeight>=globalThis.innerHeight*i.maxBodyScreenLength)return k.debug("[parse-body] content dom elements too long"),{bodyIsRoot:!1,bodyNode:n,articleNode:r};try{let o=globalThis.document.cloneNode(!0),u=new Gg(o,{keepClasses:!0}).parse();if(!u)return{bodyIsRoot:!1,bodyNode:null,articleNode:null,preElements:[]};n=hq(u.content,t),n&&bq(i,n)&&(r=n)}catch(o){k.error("[parse-body]",o)}return{bodyIsRoot:a(),bodyNode:n,articleNode:r,preElements:Y4(i.preSelectors)};function a(){return e.state.translationArea==="body"?!1:!!i.bodyIsRoot}}function Pw(e,t){if(!e.rule.bodyRule.articleSelector||t.nodeType!==Node.ELEMENT_NODE)return;let n=t.querySelector(e.rule.bodyRule.articleSelector);n&&(e.articleNode!=n&&k.debug("[parse-body] update article node",n),e.articleNode=n)}function pq(e,t){try{let n=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null),r;for(;r=n.nextNode();)if((r.textContent?.trim().length||0)>t){let i=r.parentNode.innerText.trim().split(`
`),a="";return i.forEach(o=>{a.length<o.length&&(a=o)}),a}return""}catch{return""}}function hq(e,t){let i=new DOMParser().parseFromString(e,"text/html").querySelectorAll("#readability-page-1 > *");if(i.length<=0)return null;let a=[];if(i.forEach(o=>{let s=pq(o,20),u=yq(o),l=null;for(let c of u){let d=document.body.querySelectorAll(c);if(!(d.length>8)&&d.length&&(d.forEach(g=>{let f=g.textContent,p=g?.innerText||"",h=f?.trim().length||0,C=l?.textContent?.trim().length||0;h>C&&(s?(f?.includes(s)||p?.includes(s))&&(l=g):l=g)}),l)){a.push(l);break}}}),!!a.length)return gm(a,document.body,t)}function yq(e){let t=[],n=e.id,r=[];e.classList.forEach(a=>{a.includes(".")||a.includes(":")||a.includes("/")||a.includes("[")||r.push("."+a.trim())}),n?(t.push(`#${n}${r.join("")}`),t.push(`#${n}${r.filter(a=>a!=".container").join("")}`),t.push(`#${n}`)):(t.push(`${r.join("")}`),t.push(`${r.filter(a=>a!=".container").join("")}`));let i=[...new Set(t)].filter(a=>!!a);return i.length?i:[e.tagName]}function bq(e,t){let n=!1;for(let[i,{minNum:a,maxNum:o}]of Object.entries(e.matchNodeRule)){let s=t.querySelectorAll(i).length;if(o&&s>=a&&s<=o){n=!0;break}else if(s>=a){n=!0;break}}let r=t.innerText.length;return n&&r>=e.minTextLength}var vq=()=>Un;function wt(e,t){return(e||["ar","arc","az","dv","he","ckb","fa","ur","ug"]).includes(t)}var Ln=(e,t,n,r)=>{let i=K8[e]||e,a=gc[e]||e,o=mc[e],s=fc[e],u={"zh-CN":o,"zh-TW":s,"zh-HK":s,en:a};if(n)return u[e]?u[e]:a;let l=e!==t&&i!=="All Languages";if(u[t]){let c=u[t];return r||e==="auto"||e==="placeholder"?c:l?`${c} (${i})`:`${c}`}else return l?`${a} (${i})`:a};function ds(e,t,n){let r,i;n==="zh-CN"||n==="zh-CN-NE"?(r=mc,i="zh-CN"):n==="zh-TW"?(r=fc,i="zh-TW"):(r=gc,i="en");let a=e.slice(0,t),o=e.slice(t);return o.sort((s,u)=>{let l=r[s]||s,c=r[u]||u;return l.localeCompare(c,i)}),a.concat(o)}function Rw(e){let t=vq(),{interfaceLanguage:n,useOriginal:r,useInterfaceLanguage:i}=e;return t.map(a=>({code:a,name:Ln(a,n,r,i)}))}function xf(e){let t=$S(e);return t.stayOriginalTags.map(r=>r.toLowerCase()).concat(t.stayOriginalSelectors).concat(t.additionalStayOriginalSelectors)}function Dn(e,t){if(!t&&e.filterRule)return e.filterRule;let n=e.rule;e.isRichTranslate&&(n=p2(n));let r=[...n.selectors],i=[...n.excludeTags],a=[...n.excludeSelectors],o={...n.excludeSelectorsRegexes};return e.state.translationArea==="body"?(r=[],a=[],o={}):(n.preTranslateLimiter?.keys||[]).forEach(u=>{let l=n.preTranslateLimiter[`${u}.enableTranslate`],c=n.preTranslateLimiter[`${u}.selectors`]||[];l?r.length&&(r=r.concat(c)):(a.push(...c),r=r.filter(d=>!c.includes(d)))}),{paragraphFirstLetterFontSize:n.paragraphFirstLetterFontSize,globalStyles:n.globalStyles,globalAttributes:n.globalAttributes,selectors:r,atomicBlockSelectors:n.atomicBlockSelectors,skipEditableCheck:n.skipEditableCheck,lineBreakMaxTextCount:n.lineBreakMaxTextCount,customAbbreviations:n.customAbbreviations,isTransformPreTagNewLine:n.isTransformPreTagNewLine,likePreSelectors:n.likePreSelectors,skipBuildContainerSelectors:n.skipBuildContainerSelectors,buildContainerSelectors:n.buildContainerSelectors,excludeSelectors:i.map(u=>u.toLowerCase()).filter(u=>u!=="code"&&u!=="img").concat(a).concat(n.additionalExcludeSelectors),excludeSelectorsRegexes:o,blockSelectors:n.allBlockTags.map(u=>u.toLowerCase()).concat(n.extraBlockSelectors),extraBlockSelectors:n.extraBlockSelectors,extraInlineSelectors:n.extraInlineSelectors.concat(n.additionalInlineSelectors),stayOriginalSelectors:n.stayOriginalTags.map(u=>u.toLowerCase()).concat(n.stayOriginalSelectors).concat(n.additionalStayOriginalSelectors),skipTrailTextRegex:n.skipTrailTextRegex,advanceTransformPreTagNewLine:n.advanceTransformPreTagNewLine,advanceTransformPreTagMinLineCount:n.advanceTransformPreTagMinLineCount,advanceTransformPreTagMinTextCount:n.advanceTransformPreTagMinTextCount,forceFormatPre:n.forceFormatPre,skipIgnoreSelectors:n.skipIgnoreSelectors,floatBlockEffectParagraphs:n.floatBlockEffectParagraphs}}var Nw=!1;function my(e){Nw=e}function Fw(e){gt()&&e.config.aiTranslatedCheck&&!Nw&&(my(!0),_e("showToast",{type:"aiTranslated"}))}function Bw(e,t,n){let r=xq(e,n),i=encodeURIComponent(r.replaceAll(`
`,"")),a=n.message.replaceAll(`
`,"").replaceAll('"',"&quot;"),o=oe("retryAllButton"),s=oe("errorTooltipTitle")+": "+a,u=oe("error.retry"),l=oe("error.reason");Zt(m("a",{href:"javascript:void(0)",children:m("font",{class:"immersive-translate-error notranslate",children:m("font",{class:"immersive-translate-error-wrapper",children:[m("font",{class:"immersive-translate-clickable-button notranslate",style:"display:flex;flex-direction:row;align-items:center;",title:o,onClick:()=>{he({type:"content",topFrame:!0},"retryFailedParagraphs")},children:[m("svg",{style:"display:inline;width:1em;height:1em;pointer-events:none;",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:m("path",{d:"M35.9387 5.48805C35.9166 4.60421 35.2434 4.04719 34.279 4.0675C33.3131 4.0878 32.8154 4.67712 32.6567 5.56132C32.5745 6.01985 32.601 6.49957 32.5962 6.96997C32.5881 7.77251 32.594 8.5752 32.594 9.3779C32.4685 9.43478 32.343 9.4917 32.2175 9.54866C31.7961 9.14366 31.3817 8.73102 30.9521 8.33488C27.0799 4.76502 22.4856 3.43605 17.3405 4.22591C10.0761 5.34107 4.69388 11.3891 4.06231 18.939C3.46983 26.0213 8.03881 32.8643 14.897 35.1663C21.8348 37.495 29.5543 34.7845 33.4563 28.6429C33.7074 28.2475 33.9685 27.8417 34.1218 27.4045C34.4194 26.5555 34.2699 25.765 33.4312 25.3113C32.6231 24.8743 31.8573 25.0498 31.2835 25.7915C30.9966 26.1625 30.7785 26.5856 30.5106 26.9724C28.0914 30.4658 24.7682 32.3693 20.5158 32.5766C14.8218 32.8541 9.60215 29.1608 7.94272 23.717C6.22884 18.0946 8.59939 12.0366 13.6698 9.08126C18.5986 6.20837 24.9262 7.03281 28.9148 11.0837C29.2069 11.3803 29.4036 11.7708 29.8772 12.4519C28.32 12.4519 27.1212 12.3885 25.9323 12.4704C24.8345 12.5461 24.253 13.1995 24.262 14.1166C24.2708 15.0096 24.8931 15.7485 25.9495 15.7745C28.7068 15.8424 31.4671 15.8177 34.2259 15.7884C35.1348 15.7787 35.8872 15.2584 35.9148 14.3603C36.0054 11.4048 36.0127 8.44397 35.9387 5.48805Z",fill:"#428ADF"})}),m("span",{style:"color:#428ADF;text-decoration-line:underline;text-underline-offset:0.2em;margin-left:0.2em;pointer-events:none;",children:u})]}),"\xA0\xA0",m("font",{class:"immersive-translate-help-button notranslate",style:"display:flex;flex-direction:row;align-items:center;",title:s,"data-immersive-translate-tooltip-text":i,"data-immersive-translate-action":"toast-error",onClick:()=>{_e("showErrorModal",r)},children:[m("svg",{style:"display:inline;width:1em;height:1em;pointer-events:none;",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:m("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20.5607 2.5191C10.735 2.05516 2.46528 10.1045 2.50011 20.0984C2.54469 32.8837 15.9794 41.3025 27.521 35.772C28.0597 35.5138 28.6042 35.2357 29.0745 34.8742C29.9064 34.2347 30.0797 33.3404 29.5712 32.5989C29.0382 31.8217 28.2936 31.6838 27.4596 32.0227C27.2265 32.1174 27.0066 32.2437 26.7865 32.3701C26.6008 32.4767 26.415 32.5833 26.2211 32.6712C20.8005 35.1282 15.6165 34.6504 11.0342 30.8857C6.38506 27.0662 4.83815 21.9885 6.36608 16.1605C8.23236 9.04216 15.6457 4.59129 22.7912 6.13629C30.3201 7.76418 35.1917 14.6886 33.9006 22.1467C33.6763 23.4426 33.1697 24.693 32.665 25.9388C32.4936 26.3618 32.3223 26.7846 32.1625 27.2081C31.7321 28.3488 31.8755 29.1499 32.727 29.6338C33.5625 30.1085 34.3839 29.8271 35.0848 28.8121C35.2031 28.6407 35.3005 28.4544 35.3977 28.2685C35.4242 28.2179 35.4507 28.1672 35.4776 28.1169C36.5263 26.154 37.166 24.0544 37.3992 21.8528C38.4715 11.7296 30.8594 3.00541 20.5607 2.5191ZM22.2324 19.4482C22.6221 17.6294 21.6934 16.7853 19.8682 17.1885C19.4795 17.2744 19.0887 17.3789 18.7223 17.531C17.5055 18.036 17.1067 18.9307 17.8422 20.0563C18.3665 20.8586 18.2472 21.5161 18.0255 22.2965L17.9039 22.7239C17.5079 24.1148 17.1115 25.5072 16.7935 26.9165C16.4841 28.2873 17.2241 29.1723 18.6198 29.1593C18.6749 29.1502 18.7366 29.1408 18.8028 29.1307C18.9623 29.1063 19.1482 29.078 19.332 29.0394C21.5543 28.5732 21.9094 27.8227 20.9844 25.759C20.8192 25.3904 20.8406 24.873 20.9389 24.4633C21.1123 23.7404 21.3092 23.0227 21.5061 22.3052C21.7664 21.3567 22.0267 20.4083 22.2324 19.4482ZM21.2918 10.7674C22.3383 10.7322 23.3464 11.7297 23.3245 12.7787C23.3035 13.7817 22.4311 14.6541 21.4139 14.6892C20.3685 14.7252 19.5018 13.9485 19.4202 12.9025C19.3341 11.798 20.2055 10.8041 21.2918 10.7674Z",fill:"#428ADF"})}),m("span",{style:"color:#428ADF;text-decoration-line:underline;text-underline-offset:0.2em;margin-left:0.2em;pointer-events:none;",children:l})]})]})})}),t)}function Ow(e,t,n){let r=n.uiConfig(e),i=encodeURIComponent(JSON.stringify(r).replaceAll(`
`,"")),a=n.message.replaceAll(`
`,"").replaceAll('"',"&quot;"),o=oe("errorTooltipTitle")+": "+a,s=oe("error.reason");Zt(m("font",{class:"immersive-translate-error notranslate",style:"padding: 4px 0;",children:m("font",{class:"immersive-translate-error-wrapper",children:m("font",{class:"immersive-translate-help-button notranslate",style:"display:flex;flex-direction:row;align-items:center;cursor:pointer;",title:o,"data-immersive-translate-tooltip-text":i,"data-immersive-translate-action":"toast-error",children:[m("svg",{style:"display:inline;width:1em;height:1em;pointer-events:none;",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:m("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20.5607 2.5191C10.735 2.05516 2.46528 10.1045 2.50011 20.0984C2.54469 32.8837 15.9794 41.3025 27.521 35.772C28.0597 35.5138 28.6042 35.2357 29.0745 34.8742C29.9064 34.2347 30.0797 33.3404 29.5712 32.5989C29.0382 31.8217 28.2936 31.6838 27.4596 32.0227C27.2265 32.1174 27.0066 32.2437 26.7865 32.3701C26.6008 32.4767 26.415 32.5833 26.2211 32.6712C20.8005 35.1282 15.6165 34.6504 11.0342 30.8857C6.38506 27.0662 4.83815 21.9885 6.36608 16.1605C8.23236 9.04216 15.6457 4.59129 22.7912 6.13629C30.3201 7.76418 35.1917 14.6886 33.9006 22.1467C33.6763 23.4426 33.1697 24.693 32.665 25.9388C32.4936 26.3618 32.3223 26.7846 32.1625 27.2081C31.7321 28.3488 31.8755 29.1499 32.727 29.6338C33.5625 30.1085 34.3839 29.8271 35.0848 28.8121C35.2031 28.6407 35.3005 28.4544 35.3977 28.2685C35.4242 28.2179 35.4507 28.1672 35.4776 28.1169C36.5263 26.154 37.166 24.0544 37.3992 21.8528C38.4715 11.7296 30.8594 3.00541 20.5607 2.5191ZM22.2324 19.4482C22.6221 17.6294 21.6934 16.7853 19.8682 17.1885C19.4795 17.2744 19.0887 17.3789 18.7223 17.531C17.5055 18.036 17.1067 18.9307 17.8422 20.0563C18.3665 20.8586 18.2472 21.5161 18.0255 22.2965L17.9039 22.7239C17.5079 24.1148 17.1115 25.5072 16.7935 26.9165C16.4841 28.2873 17.2241 29.1723 18.6198 29.1593C18.6749 29.1502 18.7366 29.1408 18.8028 29.1307C18.9623 29.1063 19.1482 29.078 19.332 29.0394C21.5543 28.5732 21.9094 27.8227 20.9844 25.759C20.8192 25.3904 20.8406 24.873 20.9389 24.4633C21.1123 23.7404 21.3092 23.0227 21.5061 22.3052C21.7664 21.3567 22.0267 20.4083 22.2324 19.4482ZM21.2918 10.7674C22.3383 10.7322 23.3464 11.7297 23.3245 12.7787C23.3035 13.7817 22.4311 14.6541 21.4139 14.6892C20.3685 14.7252 19.5018 13.9485 19.4202 12.9025C19.3341 11.798 20.2055 10.8041 21.2918 10.7674Z",fill:"#428ADF"})}),m("span",{style:"color:#428ADF;text-decoration-line:underline;text-underline-offset:0.2em;margin-left:0.2em;pointer-events:none;",children:s})]})})}),t)}function m0(){fy=0,my(!1)}var fy=0;function xq(e,t){fy+=1;let n=t.message;if(t instanceof Y){let r=t.uiConfig(e);n=JSON.stringify(r);let i=e.rule.toastErrorMinTimes;if(r.immediateShow&&(i=1),fy!=i)return n;_e("showErrorModal",r)}return n}var Hw="__imt_forwarded_event__",_w=new WeakSet;function Uw(e){let t=[];for(let n of e){if(n.nodeType===Node.ELEMENT_NODE){let i=n;t.push(i);let a=document.createTreeWalker(i,NodeFilter.SHOW_ELEMENT);for(;a.nextNode();)t.push(a.currentNode);continue}let r=n.parentElement;r&&t.push(r)}return t}function Cq(e){let t=e.target;return t?t instanceof Element?t:t instanceof Node?t.parentElement:null:null}function Vw(e){let t=e.tagName.toLowerCase(),n=t,r=e.getAttribute("role");if(r&&(n+=`|role:${r}`),t==="a"){let s=e.getAttribute("href")||"";n+=`|href:${s}`}if(t==="button"){let s=e.getAttribute("type")||"";n+=`|type:${s}`}if(t==="input"){let s=e.getAttribute("type")||"";n+=`|type:${s}`}let i=e.getAttribute("aria-label");i&&(n+=`|aria-label:${i}`);let a=e.getAttribute("title");a&&(n+=`|title:${a}`);let o=e.getAttribute("data-action");return o&&(n+=`|data-action:${o}`),n}function Tq(e){let t=new Map,n=new Map,r=new Map;for(let i of e){let a=i.getAttribute("id")||"";a&&!t.has(a)&&t.set(a,i);let o=Vw(i),s=n.get(o)||[];s.push(i),n.set(o,s);let u=i.tagName.toLowerCase(),l=r.get(u)||[];l.push(i),r.set(u,l)}return{byId:t,bySignature:n,byTag:r}}function jw(e,t){for(;e.length;){let n=e.shift();if(!t.has(n))return t.add(n),n}return null}function Sq(e,t){let n=new WeakMap,r=new WeakSet,i=Tq(e);for(let a of t){let o=a.getAttribute("id")||"";if(o){let c=i.byId.get(o);if(c&&!r.has(c)){r.add(c),n.set(a,c);continue}}let s=Vw(a),u=i.bySignature.get(s);if(u){let c=jw(u,r);if(c){n.set(a,c);continue}}let l=i.byTag.get(a.tagName.toLowerCase());if(l){let c=jw(l,r);if(c){n.set(a,c);continue}}}return n}function zw(e,t,n){let r=n;for(;r&&r!==e;){let i=t.get(r);if(i)return i;r=r.parentElement}return null}function Eq(e,t,n){let r={bubbles:t.bubbles,cancelable:t.cancelable,composed:!0,screenX:t.screenX,screenY:t.screenY,clientX:t.clientX,clientY:t.clientY,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey,metaKey:t.metaKey,button:t.button,buttons:t.buttons,relatedTarget:n};(e==="mouseenter"||e==="mouseleave")&&(r.bubbles=!1);let i=new MouseEvent(e,r);return i[Hw]=!0,i}function wq(e,t,n,r){let i=Eq(e,t,r);n.dispatchEvent(i),i.defaultPrevented&&t.preventDefault()}function Gw(e){let{paragraph:t,targetWrapper:n}=e;if(!_w.has(n)){_w.add(n);try{let r=Uw(t.rootNodes||[]),a=Uw([n]).filter(l=>l!==n);if(r.length>4e3||a.length>4e3)return;let o=Sq(r,a),s=l=>{if(l[Hw]||!l.isTrusted)return;let c=Cq(l);if(!c)return;let d=zw(n,o,c);if(!d)return;let g=l,f=null,p=g.relatedTarget;p instanceof Element&&(f=zw(n,o,p)),wq(l.type,g,d,f)},u=["click","mouseover","mouseout","mouseenter","mouseleave"];for(let l of u)n.addEventListener(l,s,!0)}catch{}}}function Ww(e){return e.trim().startsWith("@")}function Aq(e){let t=e.nodeValue||"",n=t.trim();return!!(!n||/^[\s\u00A0]+$/.test(t)&&t.includes("\xA0")||/^(?:\.|\u2026|\u22EF|\u3002|\u00B7|\u2022|\uFE19){3,}$/.test(n))}function kq(e,t){if(!e.includes(`
`)||t.includes(`
`))return t;let n=e.split(/(\n+)/),r=!1,i=[];for(let a of n)a.startsWith(`
`)?i.push(a):r?i.push(""):(i.push(t),r=!0);return i.join("")}function Mq(e){let t=e.parentElement;return t?!!t.closest('[contenteditable=""],[contenteditable="true"]'):!1}function Iq(e,t){if(!(t.nodeValue||"").trim()||Mq(t))return!0;let r=t.parentElement;if(!r)return!0;let i=e.filterRule?.stayOriginalSelectors||e.rule?.stayOriginalSelectors||[];return!!(i.length&&Xt(r,i))}function qw(e,t,n=!1){let r=[];function i(a){if(a.nodeType===3){let o=a;if(!(o.nodeValue||"").trim()||!n&&Iq(t,o))return;r.push(o)}else{let o=a.childNodes;if(o)for(let s=0;s<o.length;s++)i(o[s])}}for(i(e);r.length&&Aq(r[r.length-1]);)r.pop();return r}function Kw(e){let t=e.tagName.toLowerCase(),n=t,r=e.getAttribute("role");if(r&&(n+=`|role:${r}`),t==="a"){let o=e.getAttribute("href")||"";n+=`|href:${o}`}if(t==="button"||t==="input"){let o=e.getAttribute("type")||"";o&&(n+=`|type:${o}`)}let i=e.getAttribute("aria-label");i&&(n+=`|aria:${i}`);let a=e.getAttribute("title");return a&&(n+=`|title:${a}`),n}function py(e){let t=e.parentElement;if(!t)return"unknown";let n=Kw(t),r=0,i=t.childNodes;for(let o=0;o<i.length;o++){let s=i[o];if(s===e)break;s.nodeType===3&&r++}let a=Array.prototype.indexOf.call(t.parentElement?.children||[],t);return`${n}|eidx:${a}|tidx:${r}`}function Lq(e){let t=new Map;for(let n of e){let r=py(n),i=t.get(r)||[];i.push(n),t.set(r,i)}return t}function Dq(e){return e.length&&e.shift()||null}function Pq(e,t){if(e.length!==t.length)return{ok:!1,pairs:[],coverage:0,sourceCount:e.length,targetCount:t.length};let n=[],r=Lq(e);for(let o of t){let s=py(o),u=r.get(s);if(u&&u.length){let l=Dq(u);l&&n.push({source:l,target:o})}}let i=e.length?n.length/e.length:0,a=e.length>0&&i>=.9;if(!a&&e.length>0&&(n=e.map((o,s)=>({source:o,target:t[s]})),a=!0,i=1),a&&n.length===e.length){let o=n.map(l=>(l.source.nodeValue||"").length),s=n.map(l=>(l.target.nodeValue||"").length),u=!1;for(let l=0;l<o.length;l++){for(let c=l+1;c<o.length;c++){let d=o[l]-o[c],g=s[l]-s[c],f=Math.abs(d)>Math.max(Math.max(o[l],o[c])*.4,15),p=Math.abs(g)>Math.max(Math.max(s[l],s[c])*.4,15);if(f&&p&&Math.sign(d)!==Math.sign(g)){u=!0;break}}if(u)break}if(u)return{ok:!1,pairs:[],coverage:0,sourceCount:e.length,targetCount:t.length}}return{ok:a,pairs:n,coverage:a?Math.max(i,1):i,sourceCount:e.length,targetCount:t.length}}function Qw(e){let{ctx:t,paragraph:n,targetWrapper:r,debug:i}=e,a=[];for(let d of n.rootNodes||[])d&&a.push(...qw(d,t,!0));let o=qw(r,t,!0);if(!a.length)return{ok:!1,reason:"no source text nodes",sourceCount:0,targetCount:o.length};if(!o.length)return{ok:!1,reason:"no target text nodes",sourceCount:a.length,targetCount:0};let s=Pq(a,o);if(!s.ok)return{ok:!1,reason:`low coverage: ${s.coverage}`,coverage:s.coverage,sourceCount:s.sourceCount,targetCount:s.targetCount};let u={items:s.pairs.map(d=>({node:d.source,value:d.source.nodeValue||"",mapValue:d.target.nodeValue||""}))},l;if(i?.enabled){let d=Math.max(0,i.maxPairs),g=Math.max(16,i.maxTextLength);l=s.pairs.slice(0,d).map(f=>{let p=py(f.source),h=(f.source.nodeValue||"").slice(0,g),C=(f.target.nodeValue||"").slice(0,g);return{key:p,sourceBefore:h,targetText:C}})}for(let{source:d,target:g}of s.pairs){let f=d.nodeValue||"",p=g.nodeValue||"",h=kq(f,p),C=d.parentElement,y=C?Kw(C):"",v=Ww(f),b=Ww(p);if(y.includes("href:")&&v&&!b){d.nodeValue=f;continue}d.nodeValue=h}let c=Rq(t,n);return u.classAdjustments=c.classAdjustments,u.attributeAdjustments=c.attributeAdjustments,{ok:!0,backup:u,coverage:s.coverage,sourceCount:s.sourceCount,targetCount:s.targetCount,pairCount:s.pairs.length,debugPairs:l}}function Rq(e,t){let n=[];if(kw(e)){let o=e.config.translationTheme||"none",s=cs(o).theme;n.push(s),n.push(`${U}-target-inner`)}let r=[],i=[],a=t.commonAncestorContainer;if(a&&a.nodeType===1){a.hasAttribute(ja)||(a.setAttribute(ja,"1"),i.push({node:a,name:ja}));let o=[];n.forEach(s=>{a.classList.contains(s)||(a.classList.add(s),o.push(s))}),o.length&&r.push({node:a,classes:o})}return{classAdjustments:r.length?r:void 0,attributeAdjustments:i.length?i:void 0}}function Cf(e){if(e){for(let t of e.items){let n=t.node;!n||!n.isConnected||n.nodeValue?.trim()==t.mapValue?.trim()&&(n.nodeValue=t.value)}(e.classAdjustments||[]).forEach(t=>{let n=t.node;!n||!n.classList||t.classes.forEach(r=>n.classList.remove(r))}),(e.attributeAdjustments||[]).forEach(t=>{let n=t.node;!n||!n.removeAttribute||n.removeAttribute(t.name)})}}function Yw(e,t){if(!e)return t;let n=g=>{let f=[],p=/(<[^>]+>)/g,h=0,C;for(;(C=p.exec(g))!==null;){if(C.index>h){let y=g.substring(h,C.index);y&&f.push({type:"text",val:y,index:h})}f.push({type:"tag",val:C[0],index:C.index}),h=p.lastIndex}if(h<g.length){let y=g.substring(h);y&&f.push({type:"text",val:y,index:h})}return f},r=n(e),i=n(t),a=(g,f)=>{for(let p=f;p<g.length;p++){let h=g[p];if(h.type==="tag"||h.val.trim().length>0)return h}},o=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),s=g=>{let f=g.match(/^<\s*(\/)?\s*([a-zA-Z0-9:-]+)/);if(!f)return{kind:"other"};let p=!!f[1],h=f[2].toLowerCase();return p?{kind:"close",name:h}:/\/\s*>$/.test(g)||o.has(h)?{kind:"self",name:h}:{kind:"open",name:h}},u=r.map((g,f)=>({...g,tokenIndex:f})).filter(g=>g.type==="tag"),l=[],c=0,d=[];for(let g=0;g<i.length;g++){let f=i[g];if(f.type==="text"){l.push(f.val);continue}let p=-1;for(let T=c;T<u.length;T++)if(u[T].val===f.val){p=T;break}if(p===-1)continue;let h=a(r,u[p].tokenIndex+1),C=a(i,g+1),y=h?.type==="tag",v=C?.type==="text";if(y&&v)continue;let{kind:b,name:x}=s(f.val);if(b==="close"){if(!x||d[d.length-1]!==x)continue;d.pop()}else b==="open"&&x&&d.push(x);l.push(f.val),c=p+1}return l.join("")}var hy=new WeakMap,fs=new Map,Nq=12,Zw=3,Fq=3,eA=1e3,Jw=3,Kxe=eA+50,tA=300,Bq={sanitize:e=>e};async function wf(e,t,n,r){if(gn())return;let i=Dn(e.ctx);await e.walkContainer({id:e.id,container:t,articleNode:e.ctx.articleNode,filterRule:i,skipSelector:n?.skipSelector,bodyRule:e.ctx.rule.bodyRule,onParagraph:async a=>{if(n?.shouldParseParagraph&&!n.shouldParseParagraph(a).shouldParse){n.onParsed?.(null);return}n?.onParsed?.(a??null),await vy(e,a,!1,!1,r)},onFrame:a=>{yy(e,a,!0)},onIgnoreElement:a=>{Qt.mark(a,e.id,i.skipEditableCheck),e.ignoreResizeObserver?.observe(a)},engineCtx:e})}function yy(e,t,n){try{if(t instanceof HTMLIFrameElement){if(!gu(t))return;let r=t?.contentWindow?.document;if(!r?.body)return;t.src&&k.debug("[walk-container] onFrame",location.href,t.src),e.injectCssToDocument(t,e.ctx);let i=e.inlineIFrames||[];i.includes(t)||(i.push(t),e.inlineIFrames=i),_i(r.documentElement,e.translateState),e.observeContainers.includes(r)||e.observeContainers.push(r),gs(r.body,e,n),e.dynamicContainerObserver?.observe(r.body,{childList:!0,subtree:!0,characterData:!0})}else{if(k.debug("[walk-container] onFrame shadowRoot",t.host),!t.host)return;e.observeContainers.includes(t)||e.observeContainers.push(t),e.injectCssToDocument(t,e.ctx),gs(t,e,n),e.dynamicContainerObserver?.observe(t,{childList:!0,subtree:!0,characterData:!0})}}catch{}}async function gs(e,t,n=!0){let r=Date.now(),{globalStyles:i,globalAttributes:a}=Dn(t.ctx),o=0;if(l(t,e,n))return;if(ro(e)&&u(e)){Qt.mark(e,t.id,t.ctx.rule.skipEditableCheck),await s(e);return}try{let c=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,d=>gn()||(ro(d)&&(i&&ty(d,i),a&&pf(d,a)),l(t,d,n))?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT);for(Qt.mark(c.currentNode,t.id,t.ctx.rule.skipEditableCheck);c.nextNode()&&!gn();){Qt.mark(c.currentNode,t.id,t.ctx.rule.skipEditableCheck);let d=c.currentNode;if(u(d))for(await s(d);!gn();){if(c.nextSibling()){let g=c.currentNode;if(Qt.mark(c.currentNode,t.id,t.ctx.rule.skipEditableCheck),u(g)){await s(g);continue}else break}if(!c.parentNode())return}}}catch{}if(o==0&&e instanceof HTMLElement){await s(e);return}return t.observeContainers;async function s(c){if(!gn())if(o++,t.observeContainers.includes(c)||t.observeContainers.push(c),Qt.clearMark(c),t.immediateTranslateCapacity>0){await wf(t,c,void 0,"build-containers");let d=Date.now()-r;d>100&&(k.debug("[build-containers] \u8017\u65F6\u4EFB\u52A1",d,c),r=Date.now(),await it(0))}else t.containerVisibleObserver?.unobserve(c),t.containerVisibleObserver?.observe(c)}function u(c){let d=c.nodeName.toLowerCase();if(c.shadowRoot)return yy(t,c.shadowRoot,n),!1;if(d==="iframe")return yy(t,c,n),!1;if(["script","#document-fragment","img"].includes(d))return!1;let g=t.containerRule;if(g.selectors&&g.selectors?.length>0)return g0(c,g.selectors);if(t.ctx.rule.enableSkipBuildContainer||g.containerSelectors&&g0(c,g.containerSelectors))return!0;if(g.pageHeight){let f=c.scrollHeight;if(f>0&&f<g.pageHeight)return!0;{let p=t.ctx?.rule?.longBuildPageLength||10;if(f>g.pageHeight*p)if(Pe()){if(f>g.pageHeight*2*p)return!1}else return!1;for(let h of c.childNodes)if(h.nodeType==Node.TEXT_NODE&&h.textContent&&h.textContent.trim().length>0)return!0}}return!1}function l(c,d,g){Pw(c.ctx,d);let f=d.nodeName.toLowerCase();if(f=="script")return d.childNodes.length==0||d.childNodes.length==1&&d.childNodes[0].nodeType==Node.TEXT_NODE;if(d.nodeType===Node.DOCUMENT_FRAGMENT_NODE)return!1;if(d.nodeType!==Node.ELEMENT_NODE||g&&Qt.isMarked(d,c.id))return!0;if(c.ctx.rule.isTransformPreTagNewLine&&f==="pre")return!1;let p=Dn(c.ctx);return!!(hf(d,{excludeSelectors:p.excludeSelectors,selectors:p.selectors,excludeSelectorsRegexes:p.excludeSelectorsRegexes,stayOriginalSelectors:p.stayOriginalSelectors})||Xt(d,p.skipBuildContainerSelectors)||Xt(d,p.stayOriginalSelectors))}}function Oq(e,t){let n=!!e.imtTranslationOnlyTextBackup,r=e.rootNodes?.[0],i=e.targetNodes?.[0],a=!!(r&&t.contains(r)),o=!!(i&&t.contains(i));return n||o&&!a?"translation":a&&o?"dual":a?"original":o?"translation":null}function by(e){let{ctx:t,paragraph:n,rootNode:r,translationPosition:i}=e,a=n.rootNodes?.[0];if(!a||r.contains(a))return;let o=n.targetNodes?.[0];if(o&&r.contains(o)){let s=i==="before"?"after":"before",u=tl(t,n.targetNodes,s);ms(t,u,r,n.rootNodes,s)}else{let s=tl(t,n.targetNodes);ms(t,s,r,n.rootNodes)}}function Tf(e){let{ctx:t,paragraph:n,rootNode:r}=e,i=n.targetNodes?.[0];if(!i||r.contains(i))return;let a=tl(t,n.rootNodes);ms(t,a,r,n.targetNodes||[])}function Xw(e){let{ctx:t,paragraph:n}=e,r=n.targetNodes?.[0];if(!r||!ro(r))return null;n.imtTranslationOnlyTextBackup&&(Cf(n.imtTranslationOnlyTextBackup),n.imtTranslationOnlyTextBackup=void 0);let i=Qw({ctx:t,paragraph:n,targetWrapper:r,debug:{enabled:!!t.config.debug,maxPairs:200,maxTextLength:2e3}});return i.ok?(k.debug("[translation-only] in-place text mapping ok",{id:n.id,coverage:i.coverage}),n.imtTranslationOnlyTextBackup=i.backup,by(e),!0):(k.debug("[translation-only] mapping failed, use classic replacement",{id:n.id,reason:i.reason}),!1)}var _q={"original->dual":e=>(Tf(e),!0),"original->translation":e=>{let t=Xw(e);return t===null?(k.warn("[diffParagraph] original->translation: targetNodes[0] is not element, skipping",{id:e.paragraph.id}),e.paragraph.insertFailedReason="target_not_element",!1):(t?Ma(e.paragraph.targetNodes):(Tf(e),Ma(e.paragraph.rootNodes)),!0)},"dual->original":e=>(Ma(e.paragraph.targetNodes),!0),"dual->translation":e=>{let t=Xw(e);return t===null?(k.warn("[diffParagraph] dual->translation: targetNodes[0] is not element, skipping",{id:e.paragraph.id}),e.paragraph.insertFailedReason="target_not_element",!1):(Ma(t?e.paragraph.targetNodes:e.paragraph.rootNodes),!0)},"translation->original":e=>{if(e.paragraph.imtTranslationOnlyTextBackup){Cf(e.paragraph.imtTranslationOnlyTextBackup),e.paragraph.imtTranslationOnlyTextBackup=void 0;let t=e.paragraph.targetNodes?.[0];if(!!!(t&&e.rootNode.contains(t)))return!0}return by(e),Ma(e.paragraph.targetNodes),!0},"translation->dual":e=>{if(e.paragraph.imtTranslationOnlyTextBackup){Cf(e.paragraph.imtTranslationOnlyTextBackup),e.paragraph.imtTranslationOnlyTextBackup=void 0;let t=e.paragraph.targetNodes?.[0];if(!!!(t&&e.rootNode.contains(t)))return Tf(e),!0}return by(e),Tf(e),!0}};function Uq(e,t,n){let r=t.targetText,i="",a="";try{n==="translation"&&(t.targetText=t.text,i=gy(t,e)),t.targetText=r,a=gy(t,e)}finally{t.targetText=r}if(n!=="translation")return a;let o=a;try{o=Yw(i,a)}catch(s){k.debug("[translation-only] normalize failed, use raw target HTML",s)}return o}function Af(e,t,n){if(us(t.commonAncestorContainer),t.insertFailedReason=void 0,!t.targetNodes?.length)return k.error("[diffParagraph] no targetNodes",{paragraphId:t.id,state:n}),t.insertFailedReason="no_target_nodes",!1;let r=t.commonAncestorContainer;if(Qt.isSkipMarkEle(r))return k.error("[diffParagraph] isSkipMarkEle",{paragraphId:t.id,state:n}),t.insertFailedReason="skip_mark_element",!1;Qt.hasMark(r)||k.error("[diffParagraph] has no mark",{paragraphId:t.id,state:n});let i=Oq(t,r);if(i===null){k.debug("[diffParagraph] DOM cleared by host, skip render",{paragraphId:t.id}),t.insertFailedReason="dom_cleared";let u=r.paragraphs;if(Array.isArray(u)){let l=u.indexOf(t);l>=0&&u.splice(l,1)}return!1}if(n==i)return k.error("[diffParagraph] state unchanged",{paragraphId:t.id,state:n}),t.insertFailedReason="state_unchanged",!1;let a=`${i}->${n}`,o=_q[a];if(!o)return t.insertFailedReason="unknown_transition",!1;let s=!1;try{qq(t),Wq(t,n!="translation");let u={ctx:e,paragraph:t,rootNode:r,translationPosition:e.config.translationPosition==="before"?"before":"after"};o(u)?(t.state=n,s=!0):(k.error("[diffParagraph] handler returned false",{paragraphId:t.id,transitionKey:a}),t.insertFailedReason="handler_failed")}catch(u){k.error(u),t.insertFailedReason="exception"}return s}function Sf(e){return!e||!ro(e)?!1:e.classList.contains(ft)}function jq(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;let t=e;return t.getAttribute(Qs)==="1"||t.getAttribute(zo)==="1"}function Wi(e,t){let n=e;for(;n;){if(n.nodeType===Node.TEXT_NODE){if((n.textContent||"").trim())return n}else if(n.nodeType===Node.ELEMENT_NODE&&!jq(n))return n;n=t===-1?n.previousSibling:n.nextSibling}return null}function kf(e){let t=e;for(;t;){let n=t.imtExpectedVersion;if(n!==void 0)return n;if(t.nodeName==="BODY"||t.nodeName==="HTML")break;let r=t.parentNode||(t instanceof ShadowRoot?t.host:null);if(!r)break;t=r}}function tl(e,t,n){return t?(n||e.config.translationPosition)=="before"?t[0]:t[t.length-1].nextSibling:null}function Ma(e){(e||[]).forEach(t=>t.parentNode?.removeChild(t))}function ms(e,t,n,r,i,a){let o=i||e.config.translationPosition;if(!n)return!1;if(a&&t){let s=Wi(t,-1);if(Sf(s))return k.warn("[imt-insert-skip] duplicate wrapper detected",{translationPosition:o,sibling:t,meaningfulSibling:s}),!1}if(o=="before"&&!t&&n.childNodes.length){let s=n.childNodes[0];if(a){let u=Wi(s,1);if(Sf(u))return k.warn("[imt-insert-skip] duplicate wrapper detected",{translationPosition:o,firstChild:s,meaningfulSibling:u}),!1}return r.forEach(u=>{n.insertBefore(u,s)}),!0}if(t)r.forEach(s=>{s&&t.parentNode?.insertBefore(s,t)});else{if(a){let s=Wi(n.lastChild,-1);if(Sf(s))return k.warn("[imt-insert-skip] duplicate wrapper detected",{translationPosition:o,lastChild:n.lastChild,meaningfulSibling:s}),!1}r.forEach(s=>{s&&n.appendChild(s)})}return!0}var zq=xn(p0,tA);async function vy(e,t,n=!1,r=!1,i){if(gn())return;let a=t.commonAncestorContainer;if(a instanceof ShadowRoot)return;let o=a.paragraphs?.find(h=>h.rootNodes.some(C=>C===t.rootNodes[0]));if(o)return o;a.paragraphs=a.paragraphs||[],a.paragraphs.push(t);let s=a.paragraphs.length-1;t.imtExpectedVersion=kf(a),t.imtExpectedVersion;let{ctx:u}=e,{rule:l}=u,c=Yo(u.config.translationServices,e.translationService),d=u.config.translationServices[u.translationService],g=vf(t.commonAncestorContainer,t.flatNodes,{isPreWhitespace:t.isPreWhitespace||!1,delimiters:c,stayOriginalSelectors:xf(u),ignoreRichSelectors:l.ignoreRichSelectors,smallCodeLength:l.smallCodeLength,domPurifyAddTags:l.domPurifyAddTags,richMoreWordPercent:l.richMoreWordPercent||0,purifyRichHtml:l.purifyRichHtml||!1},d,!!u.isRichTranslate);if(!g){a.paragraphs.splice(s,1);return}let f=u?.config?.translationLanguagePattern?.excludeMatches||[],p=await xy(u,t,g,{excludeLanguages:n?[]:f,targetLanguage:u.targetLanguage,noTranslateRegexp:u.rule.noTranslateRegexp,delimiters:ei(u.config.translationServices[u.translationService]),minTextCount:n?3:l.paragraphMinTextCount,minWordCount:l.paragraphMinWordCount,isDetectParagraphLanguage:l.detectParagraphLanguage||u.state.isDetectParagraphLanguage,ignoreZhCNandZhTW:u.rule.ignoreZhCNandZhTW},r);if(p)if(a.setAttribute("data-imt-p","1"),k.debug(`[parse-paragraph] "${p.text}"`),a.paragraphs[s]=p,(u.rule.parseImmediateTypes||[]).includes(i||"")||e.immediateTranslateCapacity>0||n||e.ctx?.state?.translationStartMode==="immediate")n&&(t.force=!0),Hq(e,t.text),Ef(e,t,r);else{if(Xt(p.commonAncestorContainer,l.skipIgnoreSelectors))return Ef(e,t,r),p;e.observeParagraphs.push(p),e.paragraphVisibleObserver?.unobserve(a),e.paragraphVisibleObserver?.observe(a)}else a.paragraphs.splice(s,1);return p}function Hq(e,t){e.ctx?.state?.translationStartMode!=="immediate"&&(e.immediateTranslateCapacity-=t?.length||0)}function Ef(e,t,n=!1){if(gn()||!t.text)return;let r=e.autoIncreaseParagraphId++;if(t.id=r.toString(),e.paragraphEntities[r]=t,e.paragraphQueue.push(r.toString()),cn(t.commonAncestorContainer,jd,"1"),n){p0.call(e,e.ctx,!1,!0);return}let a=e.ctx.rule.longHtmlTextLength||c8,o=e.allTextLength>a&&e.ctx?.state?.translationStartMode==="immediate";zq.call(e,e.ctx,o)}async function p0(e,t=!1,n=!1){if(gn())return;let r=this.paragraphQueue;if(this.autoIncreaseParagraphId==2&&r.length==1&&!n){setTimeout(()=>{this.autoIncreaseParagraphId==2&&this.paragraphQueue.length==1&&p0.call(this,e,t,!0)},tA+10);return}this.paragraphQueue=[];let i=[],a=[];for(let s=0;s<r.length;s++){let u=r[s],l=this.paragraphEntities[u];l&&(this.ctx.bodyNode?.contains(l.commonAncestorContainer)?(l.inArticleContext=!0,a.push(l)):i.push(l))}let o={...e,translationService:this.translationService};f0({paragraphs:a,ctx:o,translationMode:this.translateState||"dual",isLongImmediateHtml:t,inArticleContext:!0,userDiffContext:Lg(e.config)?.queryEnable||!1}),f0({paragraphs:i,ctx:o,translationMode:this.translateState||"dual",isLongImmediateHtml:t,inArticleContext:!1,userDiffContext:!1})}async function f0({paragraphs:e,ctx:t,translationMode:n,isLongImmediateHtml:r,inArticleContext:i,userDiffContext:a}){if(e.length===0||gn()||!e.length)return;let o={sentences:[]},s=Oc(t,"",r),u=[];for(let c of e){let d=c.id,g=s?.cloneNode(!0);g&&(g.id=d,u.push(g));let f=t.config.translationPosition,p=tl(t,c.rootNodes,f);ms(t,p,c.commonAncestorContainer,[g],f,!0),c.loadingElement=g;let h=c.languageByLocal||"auto";c.languageByClient!=="auto"&&(h=c.languageByClient),o.sentences.push({id:parseInt(d),url:t.encryptedUrl,text:c.text,pureText:c.pureText,from:h,to:t.targetLanguage,xpath:c.xpath,force:c.force,inArticleContext:c.inArticleContext})}if(await Vq(t,e,o,i,a||!1,n)||!o.sentences.length)return;let l=mo();try{await Kt(o,t,(c,d,g)=>{if(gn())return;let f=mo();if(l!==f)return;let p=g.id,h=nA(e,p.toString());h&&rA.call(null,c,d,g,h,t,n)})}catch(c){k.error("translateCurrentQueue error",c);return}}async function Vq(e,t,n,r,i,a){if(!i||!r)return!1;let o=mo();await Kt(n,e,u);let s={...n,sentences:n.sentences.map(l=>({...l,inArticleContext:!1}))};return await Kt(s,{...e,state:{...e.state,cache:!1}},u),!1;function u(l,c,d){if(gn())return;let g=mo();if(o!==g)return;let f=d.id,p=nA(t,f.toString());!p||!c||(c.inArticleContext?p.contextTargetText=c.text:p.targetText=c.text,p.contextTargetText&&p.targetText&&(c.text=p.targetText,c.contextText=p.contextTargetText,rA.call(null,l,c,d,p,e,a)))}}function nA(e,t){return e.find(n=>n.id===t)}function rA(e,t,n,r,i,a){let o=!1,s=r;try{Cu(s.commonAncestorContainer,n.id)?.remove(),s.loadingElement?.remove()}catch(f){k.error("[remove-loading-element] error",f)}s.loadingElement=void 0;let u=s.commonAncestorContainer,l=s.imtExpectedVersion,c=kf(u);if(c!==l&&l){k.debug(`[translated-paragraph] version outdated, skip render: ${r.id} (expected ${l}, current ${c})`,r.text);return}if(s&&(e||!t))g(e);else if(!d(r)){let p=r.commonAncestorContainer;p.dataset[`${ma}_insert_failed_reason`]=r.insertFailedReason||"unknown"}document.dispatchEvent(new CustomEvent(tn,{detail:JSON.stringify({type:"paragraphTranslated",payload:{ok:o}})}));function d(f){if(!f)return k.error("[render-paragraph] paragraph not found",n.id),!1;s.error=void 0,f.targetText=t?.text||"",f.contextTargetText=t?.contextText;let p=f.text?.trim().toLocaleLowerCase()==f.targetText?.trim().toLocaleLowerCase(),h=!1;try{if(p){f.insertFailedReason="same_text";let C=f.commonAncestorContainer?.paragraphs||[],y=C?.indexOf(f);y>=0&&C.splice(y,1)}else{let C=document.createElement(i.rule.targetWrapperTag);C.classList.add("notranslate",ft),cn(C,Hs,"1"),wt(i.config.rtlLanguages,i.targetLanguage)&&C.setAttribute("dir","rtl"),C.setAttribute("lang",i.targetLanguage);let y=Uq(i,f,a),v=Bq.sanitize(y);if(C.innerHTML=kn?.createHTML(v)||v,Gw({ctx:i,paragraph:f,targetWrapper:C}),f.targetNodes=[C],Gq(f.rootNodes,i.config.translationPosition)){let x=f.rootNodes?.[0]||null,T=f.rootNodes?.[(f.rootNodes?.length||1)-1]||null,S=Wi(x?.previousSibling||null,-1),E=Wi(T?.nextSibling||null,1);k.warn("[imt-insert-skip] already translated",{paragraphId:f.id,text:f.text,translatedText:f.targetText,translationPosition:i.config.translationPosition,beforeNode:S,afterNode:E});return}h=Af(i,f,a),h&&i.config.enableEditTranslation&&u.setAttribute("contenteditable","true")}}catch(C){h=!1,k.error("[render-paragraph] error",C)}return o=!0,Fw(i),!h&&p&&k.error("[render-paragraph] skipped insert due to same text",{sentenceId:n.id,paragraphId:f.id,translationMode:a}),h}function g(f){if(i.config.enableSilentTranslation)return;f||(k.error("translate error",n,f,t),f=new Error("no response from server"));let{rule:p}=i,h=n.id,C=document.createElement(p.targetWrapperTag);cn(C,Z5,h.toString(),!0),C.classList.add("notranslate",ft,ft+"-error"),C.setAttribute("translate","no"),C.setAttribute("lang",i.targetLanguage);let y=r.rootNodes[r.rootNodes.length-1].nextSibling,v=Wi(y,1);Sf(v)||ms(i,y,r.commonAncestorContainer,[C]),s&&(s.error=f),C&&Bw(i,C,f)}}function Gq(e,t){if(!e||e.length===0)return!1;let n=e[0],r=e[e.length-1],i=a=>!!a&&ro(a)&&a.classList.contains(ft);return t==="before"?i(Wi(n.previousSibling,-1)):t==="after"?i(Wi(r.nextSibling,1)):i(Wi(n.previousSibling,-1))||i(Wi(r.nextSibling,1))}var $w="";async function xy(e,t,n,r,i=!1){let{text:a,html:o,pureText:s}=n,u=s||"";!r.isDetectParagraphLanguage&&e.rule?.detectTextBufferLength>0&&(u=$w.slice(0,e.rule?.detectTextBufferLength)+" "+s),$w=u;let l=await Ve({text:u,minLength:15,translateService:e.translationService,logPrefix:i?"[hover-translate]":""}),{targetLanguage:c}=r,d=o||a;if(o&&!no({text:a||"",html:o,delimiters:r.delimiters,minWordCount:r.minWordCount,minTextCount:r.minTextCount,noTranslateRegexp:r.noTranslateRegexp})){if(o==a)return null;d=a}if(d!=o&&!no({text:a||"",html:"",delimiters:r.delimiters,minWordCount:r.minWordCount,minTextCount:r.minTextCount,noTranslateRegexp:r.noTranslateRegexp}))return null;t.variables=n?.variables||{},t.richVariables=n.richVariables||{},t.text=d,t.pureText=n?.pureText;let g=r.excludeLanguages||[],f=km();if(r.isDetectParagraphLanguage&&(f="auto"),t.languageByLocal=l,t.languageByClient=f,e.specialAiAssistant?.disableSameLang)return t;let p=l;return f!="auto"&&(p=l.startsWith("zh")?l:f),qa(p,c,{ignoreZhCNandZhTW:r.ignoreZhCNandZhTW})||g.length>0&&g.some(y=>qa(p,y,{ignoreZhCNandZhTW:r.ignoreZhCNandZhTW}))?null:t}function Wq(e,t){let r=(e.targetNodes||[])[0]?.firstChild;r?.nodeName=="BR"&&(r.hidden=!t)}function qq(e){let t=e.commonAncestorContainer,n=t.nodeName=="OPTION"?t:null;n?.label&&n?.label==n?.innerText&&n.removeAttribute("label")}function Kq(e){return e.nodeType===Node.ELEMENT_NODE,e.textContent?.length??0}function Cy(e){let t=Date.now(),n=Kq(e),r=hy.get(e);if(!r){r={contentLength:n,contentLengthHistory:[1],contentLengthValueHistory:[n],contentLengthHistoryAt:[t],lastChangedAt:t,firstParsedAt:t},hy.set(e,r),e.imtParagraphStats={contentLength:n,contentLengthHistory:[...r.contentLengthHistory],lastChangedAt:t};return}let i=r.contentLength,a=Math.abs(n-i);r.contentLengthHistory.push(a),r.contentLengthValueHistory.push(n),r.contentLengthHistoryAt.push(t),r.contentLengthHistory.length>Nq&&(r.contentLengthHistory.shift(),r.contentLengthValueHistory.shift(),r.contentLengthHistoryAt.shift()),r.contentLength=n,r.lastChangedAt=t,e.imtParagraphStats={contentLength:n,contentLengthHistory:[...r.contentLengthHistory],lastChangedAt:t}}function iA(e){let t=hy.get(e);if(!t)return{shouldSkip:!1,shouldDelay:!1};let n=Date.now(),r=Qq(t),i=Yq(t,n);return{shouldSkip:r,shouldDelay:i}}function Qq(e){let t=e.contentLengthHistory;return t.length<Zw?!1:t.slice(-Zw).reduce((i,a)=>i+a,0)<Fq}function Yq(e,t){let n=e.contentLengthValueHistory,r=e.contentLengthHistoryAt;if(n.length<Jw)return!1;let i=r.findIndex(o=>t-o<=eA);if(i<0)return!1;let a=n.slice(i);return a.length<Jw?!1:a[a.length-1]>a[0]}function aA(e,t){us(e),e.querySelectorAll("."+ft).forEach(r=>{r.remove()}),(e.paragraphs||[]).forEach(r=>{r.targetNodes=void 0,r.loadingElement?.remove(),r.loadingElement=void 0})}function oA(e,t){e instanceof HTMLElement&&e.setAttribute("data-imt-dynamic-skip",t)}function Ty(e){e instanceof HTMLElement&&e.hasAttribute("data-imt-dynamic-skip")&&e.removeAttribute("data-imt-dynamic-skip")}var Zq=[];function sA(e){Zq.push(e)}function uA(e){let t=e.rule,n=e.rule.aiRule;if(!n?.messageWrapperSelector)return;let r=t.excludeSelectors.findIndex(i=>i.startsWith(n?.messageWrapperSelector||""));r>=0&&t.excludeSelectors.splice(r,1)}function Jq(e){return e.config.rawUserConfig?.generalRule?.["imageRule.add"]}async function Xq(e,t){let n=t||await Va(e),r=e.rule.imageRule.imageTranslateProvider;return!Jq(e)?.imageTranslateProvider&&n&&(r="pro"),!n&&r=="pro"&&(r="client"),$q(e)?r||"client":"pro"}async function lA(e){let t=await Kh(e);return Xq(e,t)}function cA(e){return e.rule.imageRule.enableMouseHover}function $q(e){let t=cm();return!!e.rule.imageRule.supportPlatform?.[t]}function dA(e,t){if(t?.visibleObserverScreens)return t.visibleObserverScreens;if(t?.immediateTranslationTextCount){if(t.immediateTranslationTextCount>=5e3)return[1,0,3,0];if(t.immediateTranslationTextCount>=1e4)return[2,0,4,0];if(t.immediateTranslationTextCount==0)return[0,0,0,0]}return e.visibleObserverScreens||[0,0,2,0]}function h0(e){return e.rawUserConfig?.inputTargetLanguage,e.inputTargetLanguage}function nl(){let t=qi().map(n=>n.contentWindow).filter(n=>!!n);return[window,...t]}function qi(){let e=document.querySelectorAll("iframe"),t=[];return e.forEach(n=>{gu(n)&&t.push(n)}),t}function gA(e){if(e.offsetWidth===0&&e.offsetHeight===0||e.offsetParent===null)return!1;let t=window.getComputedStyle(e);return!(t.display==="none"||t.visibility==="hidden"||t.opacity==="0")}var Le=null;function Lf(){return Le||null}var Sy=new Set,Ey=0;function Df(e){JT(e),el(document,e),eK(e),uA(e),hA(e),rK(e),aK(e),En("Translated"),fA(Le),iK(Le),sA(vo),tK(Le),vK()}function eK(e){let t={...e.rule.initialSelectorGlobalAttributes};if(e.state.translationArea==="main"&&t){let n=Dn(e);if(e.rule.preTranslateLimiter){let r=e.rule.preTranslateLimiter?.keys||[];Object.entries(t).forEach(([i,a])=>{r.forEach(o=>{a[o]&&delete t[i]})})}pw(document.body,t,e.rule.asideMaxTextCount,e.rule.asideMaxWordCount,e.rule.asideMaxTextCountPerParagraph,e.rule.asideMaxWordCountPerParagraph,n)}wt(e.config.rtlLanguages,e.targetLanguage)?cn(document.documentElement,ge+"_rtl",e.targetLanguage):Ec(document.documentElement,ge+"_rtl")}function tK(e){let t=e.ctx;TA(t,!0),$C(window.location.href)}function nK(e){let t=e.ctx;TA(t,!1)}async function fA(e){if(go(!1),!document.body)return;let t=e.ctx;vA(t,t.state.translationMode,document),t.isMutationTranslationExcludeUrl||e.dynamicContainerObserver?.observe(document.body,{subtree:!0,childList:!0,characterData:!0});let n=e.ctx.rule,{bodyIsRoot:r,bodyNode:i,articleNode:a,preElements:o}=await pA(e.ctx,Dn(e.ctx));if(e.allTextLength=document.body?.innerText?.length||0,i&&a){if(o)for(let u of o||[])await gs(u,e);await gs(i,e)}if(r)return;let s=[];n.mainFrameSelector&&(s=[...document.querySelectorAll(n.mainFrameSelector||"")]),s.length<=0&&(s=[document.body]);for(let u of s)await gs(u,e)}function pA(e,t){NS(),e.bodyNode=void 0,e.articleNode=void 0;let{bodyNode:n,articleNode:r,bodyIsRoot:i,preElements:a}=Dw(e,t);return k.debug(`[parse-body] ${e.url} bodyIsRoot: ${i}, bodyNode: ${n}, articleNode: ${r}`),e.bodyNode=n,e.articleNode=r,n&&r&&(k.debug("[parse-body] requestTermsByContext articleNode"),is({...e,usageScene:"web_page"},e.translationService,r.innerText?.slice(0,e.rule.bodyRule.contextReqLength||0)||"")),{bodyIsRoot:i,bodyNode:n,articleNode:r,preElements:a}}async function rK(e){if(!e.state.isAutoTranslate&&e.config.tempTranslateDomainMinutes>0){let t=await pr(),n=Date.now(),i=new URL(e.url).hostname,a=t.tempTranslationUrlMatches||[],o=a.findIndex(u=>u.match===i&&u.expiredAt>n),s=!1;o>-1||(a.push({match:i,expiredAt:n+e.config.tempTranslateDomainMinutes*60*1e3}),s=!0),s&&await ni({...t,tempTranslationUrlMatches:[...a]})}}function iK(e){e.ctx.rule.isTranslateTitle&&(J2(e.ctx),e.titleDynamicObserver=sw(e.ctx))}function aK(e){if(e.rule.normalizeBody&&document.querySelector(e.rule.normalizeBody)){let n=document.body.innerHTML;document.body.innerHTML="",document.body.innerHTML=n}}function wy(e,t){Le&&(e.filterRule=Dn(e,!0),e.isRichTranslate=as(e,e.translationService,e.config.translationServices,e.specialAiAssistant),t||(t=Dn(e)),Le.containerRule={pageHeight:screen.availHeight,selectors:t.selectors,containerSelectors:t.buildContainerSelectors},Le.translationService=e.translationService,Le.urlChangeDelay=e.rule.urlChangeDelay,Le.immediateTranslateCapacity=1,Le.translateState=e.rule.translationMode||e.state.translationMode||e.config.translationMode||"dual",_i(document.documentElement,Le.translateState),e.config.translationPosition&&document.documentElement.setAttribute("imt-trans-position",e.config.translationPosition))}function hA(e){let t=Qo();return Le&&(t=Le.id),Le=Le||{},Le.ctx=e,Le.id=t,_m(t),Le.paragraphQueue=Le.paragraphQueue||[],wy(e),Le.currentUrl=window.location.href,Le.paragraphEntities=Le.paragraphEntities||{},Le.autoIncreaseParagraphId=Le.autoIncreaseParagraphId||1,go(!1),Le.observeContainers=Le.observeContainers||[],Le.observeContainers.includes(document)||Le.observeContainers.push(document),Le.observeParagraphs=Le.observeParagraphs||[],Le.dynamicContainerObserver=Le.dynamicContainerObserver||pK(Le),Le.ignoreResizeObserver=Le.ignoreResizeObserver||uK(Le),Le.containerVisibleObserver=Le.containerVisibleObserver||lK(Le),Le.paragraphVisibleObserver=Le.paragraphVisibleObserver||cK(Le),Le.injectCssToDocument=If,Le.walkContainer=Xu,e.specialAiAssistant=xa(e,e.translationService,!0),globalThis.onerror=sK(Le,e),globalThis.immersiveTranslateSwitchTranslateState=Iy.bind(Le),Le}function yA(e,t){t.getRootNode()instanceof ShadowRoot?If(t.getRootNode(),e):If(t.ownerDocument,e),oK(e)}function oK(e){Le||(Le={},Le.ctx=e,Le.id=Qo(),_m(Le.id),Ay(Le,e))}function Ay(e,t){let n={...e};n.injectCssToDocument=If,n.translationService=t.mouseHoverTranslationService,n.currentUrl=window.location.href,n.paragraphQueue=n.paragraphQueue||[],n.paragraphEntities=n.paragraphEntities||{},n.autoIncreaseParagraphId=n.autoIncreaseParagraphId||1,go(!1),n.urlChangeDelay=t.rule.urlChangeDelay,n.translateState=t.rule.translationMode||t.state.translationMode||t.config.translationMode||"dual",n.observeContainers=[],n.observeParagraphs=[],window.switchTranslateState=Iy.bind(n);let r=xa(t,n.translationService,!0);return t.isRichTranslate=as(t,n.translationService,t.config.translationServices,r),{engineCtx:n,ctx:{...t,specialAiAssistant:r,isRichTranslate:as(t,n.translationService,t.config.translationServices,t.specialAiAssistant)}}}function vo(e=!0){if(En("Original"),!Le)return;go(!0),_m(""),u7(),Le.ignoreResizeObserver?.disconnect(),Le.dynamicContainerObserver?.disconnect(),Le.containerVisibleObserver?.disconnect(),Le.paragraphVisibleObserver?.disconnect(),Le.titleDynamicObserver?.disconnect(),nK(Le),m0(),hK(),uw(Le.ctx),W4(document),q4(document);let t=new WeakSet,n=r=>{r&&(t.has(r)||(t.add(r),r.querySelectorAll("[data-imt-pre]").forEach(i=>{let a=i.imtRawHtml;a&&(i.innerHTML=kn?.createHTML(a)||a,delete i.imtRawHtml,i.removeAttribute("data-imt-pre"))})))};Le.observeContainers?.forEach(r=>{n(r)}),qi()?.forEach(r=>{try{let i=r.contentWindow?.document;if(!i)return;q4(i),W4(i),n(i)}catch{}}),e&&Iy.call(Le,"original"),Object.values(Le.paragraphEntities).forEach(r=>{r.commonAncestorContainer.paragraphs=null}),Le.observeContainers=[],Le=null}function sK(e,t){go(!1);let n;return function(r){let i=r.message,a=!1;return i?.indexOf("Minified React error")>=0&&(a=!0),a&&(clearTimeout(n),vo(),n=setTimeout(()=>{Df(t)},e.urlChangeDelay||2e3)),!0}}function bA(e){return dA(e,e.rawUserConfig).map(n=>n*globalThis.innerHeight+"px").join(" ")}function uK(e){return new ResizeObserver((t,n)=>{if(!gn())for(let r of t){if(r.target.nodeType!==Node.ELEMENT_NODE)return;let i=r.target;ky(i);let a=globalThis.getComputedStyle(i);ny(a)||(n.unobserve(r.target),Qt.clearMark(i,!0),gs(i,e))}})}function lK(e){let t=bA(e.ctx.config);return new IntersectionObserver(async(n,r)=>{if(!gn())for(let i of n){let a=i.target;(i.isIntersecting||a.slot)&&(ky(a),await wf(e,a,void 0,"container-visible"),r.unobserve(a))}},{rootMargin:t})}function cK(e){let t=bA(e.ctx.config);return new IntersectionObserver((n,r)=>{gn()||n.forEach(i=>{if(i.isIntersecting){let a=i.target;ky(a),(a.paragraphs||[]).forEach(s=>{Ef(e,s)}),r.unobserve(a)}})},{rootMargin:t})}var mA;function dK(e){let t=window.location.href||"",n=t.split("#")[0],r=e.currentUrl.split("#")[0];return e.currentUrl=t,e.ctx.url=t,r!=n}function gK(e){if(e.urlChangeDelay<=0||(clearTimeout(mA),e.translateState=="original"))return!1;vo(e.urlChangeDelay>20),mA=setTimeout(()=>{let t=e.ctx;Df(t)},e.urlChangeDelay)}function mK(e){if(!e.target.formatHtml)return!1;if(e.addedNodes.length===1&&e.removedNodes.length===0)return!0;if(e.addedNodes.length>0&&e.removedNodes.length>0){let n=e.target.textContent?.replace(/\s+/g,"");if([...e.removedNodes].map(i=>i.textContent?.replace(/\s+/g,"")).join("")===n)return!0}return!1}function fK(e,t,n,r){if(e.target.nodeType===Node.COMMENT_NODE||e.target.nodeType===Node.DOCUMENT_FRAGMENT_NODE||mK(e)||ow(t)||n.mutationConfig.checkSelfUpdate&&yK(e)||Mf(t)||Mf(e.target)||n.mutationObserverLimitTargetSelectors.length>0&&!$r(e.target,n.mutationObserverLimitTargetSelectors)||n.mutationExcludeSelectors.length>0&&($r(t,n.mutationExcludeSelectors)||V4(t,n.mutationExcludeSelectors)))return!0;let i=r.excludeSelectors.filter(a=>![".notranslate","[translate=no]"].includes(a));return!!(i.length>0&&($r(t,i)||V4(t,i)))}function pK(e){let n=Dn(e.ctx),r=new Set,i=new Set,a=new Set,o=new Map,s=null,u=!1;return l();function l(){return new MutationObserver(async E=>{if(gn())return;let A=e.ctx.rule;if(dK(e)){if(!A.enableSiteAutoTranslate&&e.translateState!="original"){vo();return}if(await xK(e)||(pA(e.ctx,n),A.mutationConfig.enableUrlChange&&gK(e)))return}let M=new Set,P=new Set;for(let B of E)try{let O=B.target,R=O.nodeType===Node.ELEMENT_NODE?O:O.parentElement;if(!R||fK(B,R,A,n))continue;let _=R.closest('[data-imt-p="1"]');if(_){P.add(_);continue}if(B.addedNodes.length===0||![Node.ELEMENT_NODE,Node.DOCUMENT_FRAGMENT_NODE].includes(B.target.nodeType))continue;let F=c(R);F&&M.add(F)}catch(O){k.error(O)}for(let B of M)Cy(B),!f(B,A)&&d(B);for(let B of P)Cy(B),!f(B,A)&&g(B);(M.size>0||P.size>0)&&T()})}function c(S){let E=S;for(;E&&E!==document.body;){if(E.nodeType===Node.ELEMENT_NODE){let A=E;if(Oi(A,n,null))return A}E=E.parentNode||(E instanceof ShadowRoot?E.host:null)}return E}function d(S){r.add(S)}function g(S){i.add(S)}function f(S,E){let A=E.repeatTranslateNum??0;if(A<=0)return!1;let P=S.imtParagraphStats?.contentLengthHistory?.length??0;return P<=0?!1:A>=P}function p(S){for(let E of a)if(E.contains(S))return E;return null}function h(S,E){let A=o.get(S);if(A){A.add(E);return}o.set(S,new Set([E]))}async function C(S){for(let E of S){let A=p(E);if(A){if(A.contains(E)){h(A,E);continue}d(E);continue}a.add(E);try{await y(E)}finally{a.delete(E);let M=o.get(E);if(M){o.delete(E);for(let P of M)d(P)}}}}async function y(S){Ey++;let E=Ey;Sy.add(S),Qt.clearMark(S,!1);let A=0;await wf(e,S,{shouldParseParagraph:M=>{let P=M.commonAncestorContainer,B=iA(P);return B.shouldSkip?(oA(P,"stable-window"),aA(P,e),{shouldParse:!1}):(P.imtExpectedVersion=E,B.shouldDelay?(Ty(P),fs.set(P,Date.now()),{shouldParse:!1,shouldDelay:!0}):(Ty(P),{shouldParse:!0}))},onParsed:M=>{M&&A++}},"dynamic"),A>0&&await it(100)}function v(S){let E=new Set,A=new Set,M=[];for(Array.from(S.children).forEach(P=>{P instanceof HTMLElement&&M.push({node:P,depth:1})});M.length>0;){let{node:P,depth:B}=M.pop();if(B>200)continue;if(Qt.hasMark(P)||P.hasAttribute?.("data-imt-p")){let F=P.parentElement;if(!F||!S.contains(F))continue;if(!(Qt.hasMark(F)||F.hasAttribute?.("data-imt-p"))){let D=P.closest('[data-imt-p="1"]');if(!D||D.querySelector?.("."+ft))continue;S.contains(D)&&delete D.imtExpectedVersion,E.add(D)}P.hasAttribute?.("data-imt-p")||Array.from(P.children).forEach(D=>{D instanceof HTMLElement&&M.push({node:D,depth:B+1})});continue}let R=P.parentElement;if(R&&(Qt.hasMark(R)||R.hasAttribute?.("data-imt-p"))){if(Mf(P))continue;A.add(R);continue}Array.from(P.children).forEach(F=>{F instanceof HTMLElement&&M.push({node:F,depth:B+1})})}return{reusedRoots:Array.from(E),pendingRoots:Array.from(A)}}function b(S){let E=new Set,A=Array.from(S);for(let M=0;M<A.length;M++){let P=A[M];if(!E.has(P)){if(!P.isConnected){E.add(P);continue}for(let B=0;B<A.length;B++){if(M===B)continue;let O=A[B];if(!E.has(O)){if(O.contains(P)&&O!==P){E.add(P),P instanceof HTMLElement&&Qt.clearToParentMark(P,O);break}P.contains(O)&&P!==O&&(E.add(O),O instanceof HTMLElement&&P instanceof HTMLElement&&Qt.clearToParentMark(O,P))}}}}E.forEach(M=>S.delete(M)),E.size>0}async function x(){if(s=null,u){T();return}let S=1100,E=Date.now();for(let[B,O]of fs){if(!B.isConnected){fs.delete(B);continue}if(i.has(B)){i.delete(B);continue}if(r.has(B)){r.delete(B);continue}E-O>S&&(fs.delete(B),g(B))}if(r.size===0&&i.size===0){(a.size>0||fs.size>0)&&T();return}for(let B of Array.from(r))if(B instanceof HTMLElement&&!B.hasAttribute?.("data-imt-p")){let{reusedRoots:O,pendingRoots:R}=v(B);O.forEach(_=>g(_)),R.forEach(_=>d(_))}let A=new Set;for(let B of Array.from(i)){let O=B;if(!O.isConnected){i.delete(B);continue}let R=O.querySelectorAll("[data-imt-p]").length;O.hasAttribute("[data-imt-p]")&&R>2||(My(B),A.add(B),i.delete(B))}let M=new Set([...A,...Array.from(r)]);if(b(M),M.size===0)return;let P=Array.from(M);r.clear(),u=!0;try{await C(P)}finally{u=!1}(r.size>0||i.size>0||fs.size>0||a.size>0)&&T()}function T(){s||(s=setTimeout(x,50))}}function ky(e){if(!e.getAttribute("data-imt-p"))return;let t=kf(e.parentElement);t&&(delete e.imtExpectedVersion,e.imtExpectedVersion=t)}function hK(){Sy.forEach(e=>{delete e.imtExpectedVersion}),Sy.clear(),document.querySelectorAll("[data-imt-p]").forEach(e=>{delete e.imtExpectedVersion}),Ey=0}function My(e){us(e);let t=n=>{let r=n,i=r?.paragraphs?.length;i&&(e.querySelectorAll("."+ft).forEach(a=>a.remove()),r.paragraphs?.forEach(a=>{a.state==="translation"&&Af(Le.ctx,a,"original")}),r.paragraphs=[],i&&n.removeAttribute("data-imt-p"),Ec(n,jd))};e.querySelectorAll("[data-imt-p]").forEach(n=>{t(n)}),t(e),Qt.clearMark(e,!0),e.removeAttribute("data-imt_insert_failed_reason")}function Mf(e){if(!e)return!1;if(e.nodeType===Node.ELEMENT_NODE){let i=e;if(i.immersive||i.formatHtml||i.classList?.contains(ft))return!0}else if(e.nodeType===Node.TEXT_NODE&&e.immersive)return!0;let t=e.parentNode||(e instanceof ShadowRoot?e.host:null),n=0,r=20;for(;t&&n<r;){if(t.nodeType===Node.ELEMENT_NODE){let a=t;if(a.immersive||a.formatHtml||a.classList?.contains(ft))return!0}if(t===document.documentElement)break;let i=t.parentNode||(t instanceof ShadowRoot?t.host:null);if(!i)break;t=i,n++}return!1}function yK(e){let t=[...e.addedNodes,...e.removedNodes];return t.length===0?!1:t.every(n=>Mf(n))}async function Iy(e){this.dynamicContainerObserver?.disconnect();let t=!1;try{let i=this.ctx.state.previousTranslationMode||this.translateState;if(this.ctx.rule.switchTranslateRestart&&(i=="dual"&&e=="translation"||i=="translation"&&e=="dual")){t=!0,await vo(),await it(50),he("content","translatePage");return}this.translateState=e,_i(document.documentElement,e),qi()?.forEach(a=>{_i(a.contentWindow?.document?.documentElement||null,e)}),Object.values(this.paragraphEntities).forEach(a=>{a.loadingElement?.remove(),a.loadingElement=void 0,Af(this.ctx,a,e)}),r(this.ctx,e,document)}finally{n(t,e,this.ctx.isMutationTranslationExcludeUrl,this.dynamicContainerObserver)&&this.dynamicContainerObserver.observe(document.body,{subtree:!0,childList:!0,characterData:!0})}function n(i,a,o,s){return!(i||a==="original"||o||!document.body||!s)}function r(i,a,o){a=="original"&&o.querySelectorAll(`.${ft}`).forEach(s=>s.remove()),vA(i,a,o)}}function vA(e,t,n){(e.rule.lineBreakMaxTextCount>0||e.rule.advanceTransformPreTagNewLine)&&(n.querySelectorAll(`[${zo}]`).forEach(i=>i.hidden=t=="original"),n.querySelectorAll(`[${Qs}]`).forEach(i=>i.hidden=t=="original"))}function If(e,t){if(e instanceof HTMLIFrameElement){el(e.contentDocument,t);return}el(e,t)}async function xA(e){let t={},n=e.rule.pageLangDetectWeight,r=Q8(),i=await bf(e.rule);if(i=="auto")return"auto";n?.html&&(t[r]=(t[r]||0)+n?.html),n?.body&&(t[i]=(t[i]||0)+n?.body);let a=[i,r];if(Me()||Ot()){let s=document.querySelector("[lang]")?.getAttribute("lang")||"";!["en","zh"].includes(s.split("-")[0])&&(a=[r,i])}let o=bK(t,a);return qT(o),o}function bK(e,t){t.forEach(i=>{i&&i!="auto"&&(e[i]=(e[i]||0)+1)});let n=t[0],r=0;for(let i of t){if(!i||i==="auto")continue;let a=e[i]||0;a>r&&(n=i,r=a)}return Object.entries(e).forEach(([i,a])=>{a>r&&(n=i,r=a)}),n}async function CA(){if(!Le)return;m0(),document.dispatchEvent(new CustomEvent(tn,{detail:JSON.stringify({type:"retryFailedParagraphsStart",payload:{}})}));let e=Le.paragraphEntities,t=Object.keys(e);for(let n of t){let r=e[n];if(r.error){Le.paragraphQueue.push(n);let a=r.commonAncestorContainer.querySelector(`[${ac}='${n}']`);a&&a.remove()}}p0.call(Le,Le.ctx)}async function vK(){try{if(la()||await Ie.local.get("reportActive",""))return;k.debug("\u672A\u6FC0\u6D3B\u8FC7");let t=await Jn();await St.post(`v1/user/campaign-info-translated/${t}`),await Ie.local.set("reportActive","1")}catch(e){k.error(e)}}function TA(e,t){let n=e.rule?.subtitleRule,r=n?.autoEnableSubtitle,i=n?.enableTriggerTranslate||n?.liveSubtitleRule?.enableTriggerTranslate;!r&&i&&document.dispatchEvent(new CustomEvent(zs,{detail:{tempEnableSubtitle:t}}))}async function xK(e){let t=e.ctx.rule;if(!t.urlChangeUpdateRule)return!1;let n=e.ctx;Mr;let r=await Sg(e.currentUrl);if(n.rule.id!=r?.id){k.debug("new rule.id",r?.id,"old id",n.rule.id),k.debug("url change newRule",location.href,r);try{vo(!1);let i=n.config.generalRule;r&&(n.rule=tu(i,r),n.rule=await jc(n.config,n.rule,[...i.advanceMergeConfig||[],...t.advanceMergeConfig||[]])),await um("updateRuleByUrlChange",t.mutationChangeDelay||50),En("Translated");let a=hA(n);return n.filterRule=Dn(n,!0),fA(a),!0}catch(i){return k.debug(i),!1}}return Mr,!1}var CK=Wt.filter;Wt.filter=function(e){return!0};function Ly(e){let t=e.shortcuts||{},r=Object.keys(t).reduce((a,o)=>(a[t[o]]=o,a),{}),i=Object.keys(r);for(let a of i){let o=a.replace(/MacCtrl/ig,"Ctrl");o&&Wt(o,s=>{s.preventDefault();let u=r[a];!CK(s)&&u!="translateInputBox"||he("content",{method:u,data:{trigger:"shortcut"}})})}}function rl(e){if(!e)return e;let t=new FormData;return Object.entries(e).forEach(([n,r])=>{if(n.startsWith("base64_")){let i=Ki(r);t.append(`${n.split("base64_")[1]}`,i)}else t.append(n,r)}),t}function il(e){let t=new FileReader,n=new Promise((r,i)=>{t.onload=function(){let a=t.result;r(a)},t.onerror=function(){i(t.error)}});return t.readAsDataURL(e),n}function Ki(e){let{mimeType:t,base64:n}=TK(e),r=atob(n),i=[],a=512;for(let s=0;s<r.length;s+=a){let u=r.slice(s,s+a),l=new Array(u.length);for(let d=0;d<u.length;d++)l[d]=u.charCodeAt(d);let c=new Uint8Array(l);i.push(c)}return new Blob(i,{type:t})}function TK(e){let t=/^data:(.+?);base64,(.*)$/,n=e.match(t),r="",i="";return n&&n.length===3&&(r=n[1],i=n[2]),{mimeType:r,base64:i}}var al=`<svg width="24" height="24" viewBox="0 0 1024 1024" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0 160C0 71.6344 71.6344 0 160 0H864C952.366 0 1024 71.6344 1024 160V864C1024 952.366 952.366 1024 864 1024H160C71.6344 1024 0 952.366 0 864V160Z" fill="#EC4C8C"/>
<path d="M512.274 210.03V252.664C512.274 261.501 519.438 268.664 528.274 268.664H670.954C707.914 268.664 737.877 298.622 737.877 335.577V396.785C737.877 405.622 745.04 412.785 753.877 412.785H796.521C805.357 412.785 812.521 405.622 812.521 396.785V335.577C812.521 257.403 749.139 194.03 670.954 194.03H528.274C519.438 194.03 512.274 201.194 512.274 210.03Z" fill="white"/>
<path d="M185.035 705.453V586.819C185.035 577.982 192.199 570.819 201.035 570.819H243.68C252.516 570.819 259.68 577.982 259.68 586.819V705.453C259.68 742.408 289.642 772.366 326.602 772.366H421.282C430.118 772.366 437.282 779.529 437.282 788.366V831C437.282 839.837 430.118 847 421.282 847H326.602C248.417 847 185.035 783.627 185.035 705.453Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M854.394 847C865.706 847 873.446 835.581 869.256 825.074L725.006 463.315C722.58 457.232 716.693 453.242 710.144 453.242H657.19C650.641 453.242 644.753 457.232 642.328 463.315L498.077 825.074C493.887 835.581 501.627 847 512.939 847H558.148C564.763 847 570.696 842.929 573.077 836.758L605.871 751.726C608.251 745.554 614.184 741.483 620.799 741.483H746.534C753.149 741.483 759.082 745.554 761.462 751.726L794.257 836.758C796.637 842.929 802.57 847 809.185 847H854.394ZM717.068 666.849C722.685 666.849 726.553 661.212 724.532 655.971L691.131 569.366C688.497 562.538 678.836 562.538 676.203 569.366L642.802 655.971C640.78 661.212 644.648 666.849 650.266 666.849H717.068Z" fill="white"/>
<path d="M339.01 157.9C343.145 141.908 365.855 141.908 369.99 157.9L395.435 256.295C404.058 289.638 428.628 316.549 461.05 328.164L546.953 358.937C561.092 364.002 561.092 383.998 546.953 389.063L461.049 419.836C428.628 431.451 404.058 458.363 395.435 491.705L369.99 590.1C365.855 606.092 343.145 606.092 339.01 590.1L313.565 491.705C304.942 458.363 280.372 431.451 247.95 419.836L162.047 389.063C147.908 383.998 147.908 364.002 162.047 358.937L247.95 328.164C280.372 316.549 304.942 289.637 313.565 256.295L339.01 157.9Z" fill="white"/>
</svg>
`,SA=`<svg width="24" height="24" viewBox="0 0 398 398" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0 62.1875C0 27.8423 27.8423 0 62.1875 0H335.812C370.158 0 398 27.8423 398 62.1875V335.812C398 370.158 370.158 398 335.812 398H62.1875C27.8423 398 0 370.158 0 335.812V62.1875Z" fill="#F1F3F4"/>
<path d="M199.107 81.6328V98.2034C199.107 101.638 201.891 104.422 205.325 104.422H260.781C275.146 104.422 286.792 116.066 286.792 130.429V154.219C286.792 157.654 289.576 160.438 293.011 160.438H309.585C313.02 160.438 315.804 157.654 315.804 154.219V130.429C315.804 100.045 291.169 75.4141 260.781 75.4141H205.325C201.891 75.4141 199.107 78.1983 199.107 81.6328Z" fill="#35363A"/>
<path d="M71.918 274.19V228.08C71.918 224.645 74.7022 221.861 78.1367 221.861H94.7114C98.1459 221.861 100.93 224.645 100.93 228.08V274.19C100.93 288.553 112.576 300.197 126.941 300.197H163.74C167.175 300.197 169.959 302.981 169.959 306.416V322.986C169.959 326.421 167.175 329.205 163.74 329.205H126.941C96.5526 329.205 71.918 304.574 71.918 274.19Z" fill="#35363A"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M332.079 329.205C336.476 329.205 339.484 324.767 337.855 320.683L281.789 180.078C280.847 177.713 278.558 176.162 276.013 176.162H255.431C252.886 176.162 250.597 177.713 249.655 180.078L193.588 320.683C191.96 324.767 194.968 329.205 199.365 329.205H216.936C219.508 329.205 221.814 327.623 222.739 325.224L235.485 292.175C236.41 289.776 238.716 288.194 241.287 288.194H290.157C292.728 288.194 295.034 289.776 295.959 292.175L308.705 325.224C309.63 327.623 311.936 329.205 314.507 329.205H332.079ZM278.704 259.186C280.887 259.186 282.391 256.994 281.605 254.957L268.623 221.297C267.599 218.643 263.844 218.643 262.821 221.297L249.839 254.957C249.053 256.994 250.557 259.186 252.74 259.186H278.704Z" fill="#35363A"/>
<path d="M131.763 61.3715C133.371 55.1557 142.197 55.1558 143.805 61.3715L153.695 99.6146C157.046 112.574 166.595 123.034 179.197 127.548L212.585 139.509C218.081 141.477 218.081 149.249 212.585 151.218L179.197 163.178C166.595 167.693 157.046 178.153 153.695 191.112L143.805 229.355C142.197 235.571 133.371 235.571 131.763 229.355L121.874 191.112C118.522 178.153 108.973 167.693 96.3714 163.178L62.9832 151.218C57.4878 149.249 57.4878 141.477 62.9832 139.509L96.3714 127.548C108.973 123.034 118.522 112.574 121.874 99.6146L131.763 61.3715Z" fill="#35363A"/>
</svg>
`,Cr="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iI0ZGQzczNiIgZD0iTTMgN2gxN3YxMEgzeiIvPjxwYXRoIGZpbGw9InVybCgjYSkiIGQ9Ik02Ljg5NyA5LjI0MmMuNDE1IDAgLjcyLjExMS45MjguMzQ3LjIwNy4yMzUuMzE4LjUyNy4zMTguODczcy0uMTEuNjIzLS4zMTguODQ1Yy0uMjA4LjIyMi0uNTI3LjMzMy0uOTI4LjMzM2gtMS4zM1Y5LjI0MmgxLjMzWm05Ljg0NiAxLjc4OGMuMzg4IDAgLjY2NS4xNTIuODQ1LjQ1Ny4xNTIuMjY0LjIzNS41ODIuMjYzLjk4NHYuMzE5YzAgLjQ5OS0uMDgzLjg4Ny0uMjYzIDEuMTkyLS4xOC4zMDQtLjQ1Ny40NTctLjgzLjQ1Ny0uMzg5IDAtLjY2Ni0uMTUzLS44NDYtLjQ0NC0uMTUyLS4yNjMtLjIzNS0uNTk1LS4yNjMtMS4wMTF2LS4yOTFjMC0uNDg1LjA4My0uODczLjI2My0xLjE3OC4xOC0uMzA1LjQ0My0uNDg1LjgzMS0uNDg1Wm0tMy40MDctMS4xMzZhMS4xNyAxLjE3IDAgMCAwLS43MDYuMjM1IDEuNDgyIDEuNDgyIDAgMCAwLS40MTUuNWwtLjA4My4xNjUtLjA3LS44MDNoLTEuMzU3djUuNDMyaDEuNDU0di0zLjY1OWEuODguODggMCAwIDEgLjMxOS0uMzg4Yy4xMS0uMDY5LjI1LS4xMS40MTUtLjEyNGguMTI1bC41NC4wMTQuMTY2LTEuMzE3Yy0uMDctLjAxNC0uMTI0LS4wMjgtLjE5NC0uMDQxLS4wNTUtLjAxNC0uMTI0LS4wMTQtLjE5NC0uMDE0Wk02Ljg5NiA4LjEySDQuMTE0djcuMzE3aDEuNDY4VjEyLjc5aDEuMzNjLjg0NCAwIDEuNDk1LS4yMDggMS45OC0uNjM4LjQ4NS0uNDMuNzItLjk4My43Mi0xLjY5cy0uMjM1LTEuMjYxLS43Mi0xLjY5Yy0uNDQzLS4zODktMS4wMzktLjYxLTEuNzczLS42MzhsLS4yMjEtLjAxNFptOS44NDcgMS43NzRjLS44MDMgMC0xLjQyNi4yNjMtMS44ODMuNzc2LS40MTYuNDctLjYzNyAxLjA2Ny0uNjc5IDEuNzczdi4zMzNjMCAuODE4LjIyMiAxLjQ4My42NzkgMS45OTUuNDU3LjUxMyAxLjA4Ljc3NiAxLjg4My43NzYuODA0IDAgMS40MjctLjI2MyAxLjg4NC0uNzc2LjQxNS0uNDcuNjM3LTEuMDUzLjY3OC0xLjc3M3YtLjMzM2MwLS44MTctLjIyMS0xLjQ4Mi0uNjc4LTEuOTk1LS40NTctLjUxMy0xLjA4LS43NzYtMS44ODQtLjc3NlpNMTguMDAzIDZhNiA2IDAgMCAxIDAgMTJIMFY5LjQyM0EzLjQyIDMuNDIgMCAwIDEgMy40MiA2aDE0LjU4M1oiLz48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImEiIHgxPSI3LjUiIHgyPSIyMiIgeTE9IjE5IiB5Mj0iNiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiMyMjIiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiM2OTY5NjkiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48L3N2Zz4=",xo="data:image/svg+xml;base64, ",EA="data:image/svg+xml;base64, ";var wA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAn1BMVEUAAADt7vHu7vLu7vLv7+/n5+fFxcXu7vHv7/PHx8eamprt7fLt7fHn5+vGxsbS09Surq6fn5+ZmZmZmZnGxsbGxsbt7/K/v7/Hx8ft7vHGxsaZmZn09vnk5eeqqquenp7p6u3X2NnLy8vU1dbr7O67u7uvr6/o6evh4uPR0dLCwsLAwMDZ2ty9vb6kpaWhoaHe3+HPz8+zs7OkpKTc3d7Gt0R8AAAAGXRSTlMA779wIBDv338gv5+AgHDv7+/v36+gn3BgD0kJmgAAAS1JREFUKM9dkOmSgyAQhNFo7mTvYwYEBa9oorne/9l2hqJSbr4q+NHNdBcjAukyXgBE8SwRU5IYHmwm1iyCCdFMBJbwxDK8B2iKLGjl8VAC+JmEcqzRrmnP5yzrbm93SuOeDQCcpNToGaV8ISGmAfBGPce+qjrsjSxYSbkBGtt1tZGEueLpwsZW8A8snlj2jD0efRZVtxzw4Ia2BFgIch1qOaHCM4lsHHA0WpOpKyk7qX2WWLBhhhxU7grlKlV7I+LyAm+DUplS/sqv2HL5FiDDSio15CQOdHrrl5L6kpqEMOHwTlIiOKu0WIDy5Bfkn3+HJTYXRNdmWXtA1nmJfu1lgRNcQw2encV/2J0I7OdIXM1YIzH/FQ9WX4i1JF4RP1dBDNZ+/S7lx/onDcIfdi8x4pYpSxgAAAAASUVORK5CYII=",AA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAA51BMVEUAAABRT2tSUGpRT2tQUHBQUGjwtcxRT2tRUGtST2tSTmrvsMnvt89QUHDqTIpkXHhST2zQobmfdpPrTYrGVoHqS4nwtszvtMzvtc3vr89RT2vwtczASHb09vnIXYbt4OncqMDqTInGVoBbVnHqp8GqiKJlXHfz2+bsrsfkmrfIm7SggpvScZfKaY/q1uDtgKvRiKaNdY/MY4vy7fLy5Ozxydrxw9bhtcjnobzVlK/diam0j6jYfqHVeJyXfJWcd5TrXJOCb4l5aYNvYn3DUXzxzd3kwNDSorrth6/CjqnAeZnNdJaDb4nDaCDkAAAAGnRSTlMA73C/ICDv37+ff3AgEL+AgO/v7+/fr6BgELJb3PQAAAE/SURBVCjPXZHnUsMwEIRlOySkhw66k+24YScx6b0XOu//PJw0mozh+6Efu6ddzYlpqiWrwLlhmTmW5cLiZ4oZyzR4BsNkmhL/R0nPcx6FR6357ZbPuanyKefT62yjn37/cJwPbjeUJnuKNPeFuAaFjXhNgkUXONHDdR6CJIkh8HArlSo1UIUbx6sTEt4CZlfSaLBLOl2YeaixA2irLKrey4AzA4jpXQVG7hI6mCGBPonSaIF9StMUMe0hzrGjslhBGp7tDIUzfRPTnvhWhiHLQxjYQrwIoQ5nAXtZ3uD8AAkKYTsk0sAocNVSqqpkRaK+MYYNSTkms3wXXodCMZpAKD9FLzF6Bxg/ExMgXS+RluKHkGEZUYOi7sIf3DrTlPNAfOx2XSDyj+xM5QGg2yTIua+wLJVy7abZvKuVn7TwCyKmN+3PjJblAAAAAElFTkSuQmCC",kA="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkZyYW1lIj4KPHBhdGggaWQ9IlZlY3RvciIgZD0iTTguNzEwMjMgMTMuMzg3NkwxMy4yODkzIDguODA4NkwxNC4wOTc3IDguMDAwMjJMMTMuMjg5NyA3LjE5MjIyTDguNzEwMjMgMi42MTI3OUw3LjkwMjIzIDMuNDIwNzlMMTEuOTA5NSA3LjQyODc5SDEuOTA1NjZWOC41NzE2NUgxMS45MDk1TDcuOTAxODUgMTIuNTc5M0w4LjcxMDIzIDEzLjM4NzZaIiBmaWxsPSIjODM4MzgzIi8+CjwvZz4KPC9zdmc+Cg==";var MA="userConfigHistory";async function SK(){let e=await Ie.local.get(MA);return Array.isArray(e)?[...e].sort((t,n)=>{let r=t.updatedAt?new Date(t.updatedAt).getTime():0;return(n.updatedAt?new Date(n.updatedAt).getTime():0)-r}):[]}async function Dy(e){if(Object.keys(e).length<=Zd)return;let t=await SK(),n=JSON.parse(JSON.stringify(e));if(n.updatedAt&&t.some(i=>i.updatedAt===n.updatedAt))return;let r=[n,...t].slice(0,10);await Ie.local.set(MA,r)}async function EK(e){let t=localStorage.getItem(Dh);if(!t)return e;let n=Object.keys(e.translationServices||{});for(let r of n){let i=e.translationServices[r],a=sl(i.type||r);for(let o of a){if(!i[o])continue;let s=iE();i[o]=await aE(i[o],t,s)}}return e}async function IA(e){try{let t=localStorage.getItem(Dh);if(!t)return e;let n=Object.keys(e.translationServices||{});for(let r of n){let i=e.translationServices[r],a=sl(i.type||r);for(let o of a)n0(i[o])&&(i[o]=await oE(i[o],t))}}catch{$4(oe("secretKey.decryptError"))}return e}async function ol(e=!0,t){let n=JSON.parse(JSON.stringify(t));if(e)return await EK(n),n;let r=Object.keys(n.translationServices||{});for(let i of r){let a=n.translationServices[i],o=sl(a.type||i);for(let s of o)delete a[s]}return n}async function LA(e,t,n){if(t.DEBUG&&(n.DEBUG=t.DEBUG),e!=!1||!n.translationServices||!n)return;let r=t.translationServices||{};Object.entries(r).forEach(([i,a])=>{let o=sl(a.type||i),s=n.translationServices[i];s&&o.forEach(u=>{if(!a[u])return;let l=a[u];s[u]=l})})}function sl(e){let t=Qn[e]?.allProps||[];!t.length&&e.endsWith("-custom")&&(t=Qn[e.replace("-custom","")]?.allProps||[]);let n=[];return t.forEach(r=>{r.sensitive&&n.push(r.name)}),n}function DA(e,t){return t?EA:e?xo:Cr}var Py={};function Qi(e){let t=ps(e)||{};Py[e.sourceUrl+"_"+e.to]={...t,...e}}function ps(e){return Py[e.sourceUrl+"_"+e.to]}async function PA(e,t){let n=location.href,r=Object.values(Py).filter(a=>a.siteUrl==n),i={isCNPlugin:gt(),targetLanguage:e.targetLanguage,siteUrl:n,hasLog:t,userAgent:navigator.userAgent,isMobile:Pe().any,platform:pi(),images:[],version:vn()};if(t){i.images=r.map(s=>({comicHash:s.comicHash,imgHash:s.imgHash,clientTranslationService:s.clientTranslationService,sourceUrl:s.sourceUrl,targetUrl:s.targetUrl,taskId:s.taskId,error:s.error}));let a=ff(e);i.htmlBlob=new Blob([a],{type:"text/html"}),i.usedGlossaries=Um();let o=await pt();i.userConfig={translationService:e.translationService,targetLanguage:e.targetLanguage,...await ol(!1,o)}}return i}async function RA(e,t,n,r,i,a){let{htmlBlob:o,...s}=r;n||(s.images=[]);let u=await Jn(),l={resource:r.siteUrl,reason:t,metaData:JSON.stringify(s),feedType:"comic",deviceId:u,domain:location.hostname};o&&n&&(l.base64_file=await il(o)),a&&(l.contactInfo=a),i&&(l.reportType=i);let c=await le.getUserToken();return qo()?await Re({url:`${j.BASE_API}v1/feed-back/web-report-log`,method:"POST",requestType:"formData",body:l,headers:{token:c}}):await fetch(`${j.BASE_API}v1/feed-back/web-report-log`,{method:"POST",body:rl(l),headers:{token:c}}).then(async d=>(await xi(d,"web"),d.json()))}var y0={width:94,height:80};function NA(e,t=1){if(!e)return;if(t>3)return e;let n=e.getBoundingClientRect();return!n.width||!n.height?NA(e.parentElement,t+1):e}function ul(e,t,n,r,i){let a=oe.bind(null),o=NA(t.parentElement);if(!o)return;let s=globalThis.getComputedStyle(o);s.position!=="absolute"&&s.position!=="fixed"&&(o.style.position="relative");let u=e.rule.imageRule.opImageType=="append",l=o.getBoundingClientRect(),c=t.getBoundingClientRect(),d=document.createElement("div");if(d.id=ge+"ImgLoading",d.style.minWidth=y0.width+"px",d.style.height=y0.height+"px",d.style.position="absolute",d.style.left=c.left-l.left+(c.width-y0.width)/2+"px",d.style.top=c.top-l.top+(c.height-y0.height)/2+"px",d.style.padding="8px",u&&(d.style.left="50%",d.style.transform="translateX(-50%)",d.style.top=(l.height-y0.height)/2+"px"),e.rule.imageRule.loadingStyle){let g=e.rule.imageRule.loadingStyle,f=d.getAttribute("style")||"";d.setAttribute("style",f+g)}if(d.classList.add("imt-image-status"),d.innerHTML=`
    <font style="width: 28px !important; height: 28px !important; margin: 0 0 8px 0 !important;" class="imt-img-loading"></font>
    <span style="white-space: nowrap;">${a("imageState.reading")}...</span>
  `,n=="translating"&&d.classList.add("imt-loading"),n=="error"){let g=a("translateFail");r==="gif_not_supported"&&(g=a("imageState.gifNotSupported")),r=="show_error"&&i&&(g=i),d.innerHTML=`
    <svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28" fill="none">
      <path d="M14 3.5C8.225 3.5 3.5 8.225 3.5 14C3.5 19.775 8.225 24.5 14 24.5C19.775 24.5 24.5 19.775 24.5 14C24.5 8.225 19.775 3.5 14 3.5ZM14 22.75C9.1 22.75 5.25 18.9 5.25 14C5.25 9.1 9.1 5.25 14 5.25C18.9 5.25 22.75 9.1 22.75 14C22.75 18.9 18.9 22.75 14 22.75Z" fill="white"/>
      <path d="M18.375 9.62499C18.025 9.27499 17.5 9.27499 17.15 9.62499L14 12.775L10.85 9.62499C10.5 9.27499 9.97505 9.27499 9.62505 9.62499C9.27505 9.97499 9.27505 10.5 9.62505 10.85L12.775 14L9.62505 17.15C9.27505 17.5 9.27505 18.025 9.62505 18.375C9.97505 18.725 10.5 18.725 10.85 18.375L14 15.225L17.15 18.375C17.5 18.725 18.025 18.725 18.375 18.375C18.725 18.025 18.725 17.5 18.375 17.15L15.225 14L18.375 10.85C18.725 10.5 18.725 9.97499 18.375 9.62499Z" fill="white"/>
    </svg>
    <span>${g}</span>
    `}return n=="success"&&(d.innerHTML=`
    <svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28" fill="none">
      <path d="M14 3.5C8.225 3.5 3.5 8.225 3.5 14C3.5 19.775 8.225 24.5 14 24.5C19.775 24.5 24.5 19.775 24.5 14C24.5 8.225 19.775 3.5 14 3.5ZM14 22.75C9.1 22.75 5.25 18.9 5.25 14C5.25 9.1 9.1 5.25 14 5.25C18.9 5.25 22.75 9.1 22.75 14C22.75 18.9 18.9 22.75 14 22.75Z" fill="white"/>
      <path d="M18.55 9.8L12.25 16.275L9.45002 13.3C9.10002 12.95 8.57502 12.95 8.22502 13.3C7.87502 13.65 7.87502 14.175 8.22502 14.525L11.725 18.025C11.9 18.2 12.075 18.2 12.425 18.2C12.775 18.2 12.95 18.2 13.125 18.025L20.125 11.025C20.475 10.675 20.475 10.15 20.125 9.8C19.775 9.45 18.9 9.625 18.55 9.8Z" fill="white"/>
    </svg>
    <span>${a("translateSuccess")}</span>`),o.appendChild(d),n=="error"?setTimeout(()=>{d.remove()},1500):n=="success"&&d.remove(),d}function Ry(e,t,n){if(!t)return null;let r=t.querySelector("span");if(!r)return null;let i=oe.bind(null),a=Ny(n,i);return r.textContent=a,a}function Ny(e,t){let n="",r=["detecting","detecting_recognizing","recognizing","color_detecting","line_merging"],i=["inpainting_translating","translating","inpainting","rendering"],a=["saving","completed","saved"];return["extension_uploading","fetching"].includes(e)&&(n=t("imageState.loading")+"..."),e=="model_downloading"&&(n=t("imageState.model_downloading")+"..."),r.includes(e)&&(n=t("imageState.detectingRecognizing")+"..."),i.includes(e)&&(n=t("imageState.translating")+"..."),a.includes(e)&&(n=t("imageState.generating")+"..."),e==="pending"&&(n=t("imageState.pending")+"..."),e==="free_translating"&&(n=t("imageState.free_translating")+"..."),n}var ii=class extends Error{type;constructor(t,n){super(t),this.name="ImtImageError",this.type=n}};function Pf(e,t,n,r,i){let a=new Image;return e.endsWith("svg")?a.src=e:a.src=URL.createObjectURL(t),new Promise((o,s)=>{a.onload=function(){let u=document.createElement("canvas"),l=u.getContext("2d");if(!l)return;let c=a.width,d=a.height;r&&i&&(c>d?(a.width>r&&(d=a.height*r/a.width,c=r),a.height>i&&(c*=i/d,d=i)):(a.height>i&&(c*=i/d,d=i),a.width>r&&(d=a.height*r/a.width,c=r))),u.width=c,u.height=d,l.drawImage(a,0,0,c,d),u.toBlob(function(g){o(g)},"image/jpeg",n)},a.onerror=function(u){o(null)}})}function Fy(e){if(!e?.startsWith("blob:"))return e}var Rf=[],FA=[];async function b0({context:e,sourceUrl:t,blob:n,imgHash:r,imageType:i,onStateChange:a}){let s=e.rule.imageRule.concurrency||4;if(Oy()||Rf.includes(t))return"";if(Rf.length>=s)return new Promise((l,c)=>{FA.push({args:{sourceUrl:t,blob:n,imgHash:r},resolve:l,reject:c})});Rf.push(t);try{let u=await kK(e,t,n,r,i);if(typeof u=="string")return u;let{task_id:l,comicHash:c}=u;return await BA(e,l,c,e.rule.imageRule,a)||""}catch(u){throw u}finally{Rf.shift(),(async()=>{let u=FA.shift();if(u){let{args:l,resolve:c,reject:d}=u;try{let g=await b0({context:e,sourceUrl:l.sourceUrl,blob:l.blob,imgHash:l.imgHash,imageType:i});c(g)}catch(g){d(g)}}})()}}async function wK(e,t,n,r,i){let a=i?.replace("image/","");a=="undefined"&&(a="jpg");let o=`${j.BASE_API}v1/img/img-upload-url?fileType=${a}&imgHash=${n}&comicHash=${r}&domain=${OA(location.hostname)}`;return e.rule.imageRule?.forceRefresh&&(o+="&force=1"),await Re({responseType:"json",url:o,headers:{token:t}}).then(u=>u.data)}async function AK(e,t,n){let r=await Pf(e,t,.9)||t,i=r.size>t.size?t:r;return t.type=="text/plain"&&(i=r),qo()?Re({url:n,method:"PUT",requestType:"blob",responseType:"raw",headers:{"Content-Type":i.type},body:await il(i)}):fetch(n,{method:"PUT",body:i,headers:new Headers({"Content-Type":i.type})})}async function kK(e,t,n,r,i="manga"){let o=(e.rule.imageRule||{mangaTranslator:"openai",commonTranslator:"deepl"})[i+"Translator"],s=MK(e.rule.imageRule,e.targetLanguage,o),u={imgHash:r,size:"M",detector:"auto",translator:s.translator,direction:s.direction,tgt_lang:s.lang,type:i},l=await ji(u);Qi({sourceUrl:t,to:e.targetLanguage,comicHash:l});let c=await le.getUserToken(),d=await wK(e,c,r,l,n.type);if(d.objectKey&&Qi({sourceUrl:t,to:e.targetLanguage,objectKey:d.objectKey}),d.imgUrl)return d.imgUrl;d.preSignedURL&&await AK(t,n,d.preSignedURL),u.objectKey=d.objectKey,u.comicHash=l;let g;return qo()?g=await Re({url:By()+"/trigger",method:"POST",requestType:"formData",responseType:"json",body:u,headers:{token:c}}):g=await fetch(By()+"/trigger",{method:"POST",body:rl(u),headers:{token:c}}).then(async f=>(await xi(f,"manga"),f.json())),Qi({sourceUrl:t,to:e.targetLanguage,taskId:g.task_id}),{task_id:g.task_id,comicHash:l}}async function BA(e,t,n,r,i){let a=Oy();if(a)return;let o=await le.getUserToken();Or("Translating",a);let s=await Re({url:By()+`/${t}/task-state?comicHash=${n}&domain=${OA(location.hostname)}`,responseType:"json",headers:{token:o},timeout:6e4});if(i?.(s.state),s.state.startsWith("error")){k.error("error",s);return}return s.finished&&s.state=="saved"?s.oss_url:(await um(t,r.queryIntervalTime||100),BA(e,t,n,r,i))}function By(){return j.BASE_API+"comics"}function MK(e,t,n){let r=e.latinLang||["en","fr","es","pt","pt-br","it"],i=gf[n];if(!i||n=="auto")return{lang:t,direction:r.includes(t)?"h":"auto",translator:"auto"};let a=i.langMap.get(t);return a=a?.replaceAll(" ",""),{lang:a??t,translator:a?n:"auto",direction:r.includes(t)?"h":"auto"}}function OA(e){return e.replaceAll(".","_")}function Nf(e,t){return Me(t)&&!Ze()?!1:IK(e.config,e.isPro,t)}function IK(e,t,n){let r=e.generalRule.imageRule,i=cm(n),o=r.supportPlatform?.[i]||r.enableImageTranslation,s=e.beta;return o=="all"||o=="beta"&&s||o=="pro"&&t||o=="pro_beta"&&s&&t?!0:o?!1:s&&!!t}function hs(e){let t=pi();return!(e?.platforms&&!e.platforms.includes(t))}function Ff(e){try{if(new URL(e).pathname.endsWith(".gif"))return!0}catch{return!1}}function v0(e){return new Promise((t,n)=>{let r=new FileReader,i=e.slice(0,3);r.onloadend=a=>{if(r.readyState===FileReader.DONE){let o=new Uint8Array(r.result);o[0]===71&&o[1]===73&&o[2]===70?t(!0):t(!1)}},r.onerror=()=>{t(!0)},r.readAsArrayBuffer(i)})}function Yi(e){e.updatedAt=new Date().toISOString(),e.localUpdatedAt=e.updatedAt}function _A(e,t,n="center",r=!1,i){if(!t)return"";let a=e.getContext("2d");if(!a)return"";let o=new _y(a);return t.forEach(s=>{let u=Uy.getDominantColors(a,s,i?.showBox),l="";i?.showOriginalText&&(l=s.originalText||l),(i?.showTranslatedText||!i)&&(l=s.translatedText||s.originalText||l),l&&o.renderText(l,s,u,n,r)}),e.toDataURL()}var _y=class{ctx;MIN_FONT_SIZE=12;MAX_FONT_SIZE=256;FONT_STEP=2;V_PADDING=2;H_PADDING=2;constructor(t){this.ctx=t}calculateFontSize(t,n,r){let i=n*r,a=t?.length||0,o=i/a,s=Math.sqrt(o)*.7;return s=Math.max(this.MIN_FONT_SIZE,Math.min(s,this.MAX_FONT_SIZE,r/2)),s}renderText(t,n,r,i="center",a=!1){let[o,s,u,l]=n.bounding,c=this.calculateFontSize(t,u,l),d=c,g=[];for(this.ctx.font=`${c}px Arial`,g=this.breakTextIntoLines(t,u-this.H_PADDING);c<this.MAX_FONT_SIZE;){this.ctx.font=`${c}px Arial`;let p=c*1.2,h=u-this.H_PADDING,C=this.breakTextIntoLines(t,h),y=this.ctx.measureText("M"),v=y.actualBoundingBoxAscent,b=y.actualBoundingBoxDescent,x=(p-(v+b))/2,T=C.length*p,S=T+this.V_PADDING*2,E=s+this.V_PADDING+x+v,A=E+T-p+b;if(S>l||E<s||A>s+l)break;d=c,g=C,c+=this.FONT_STEP}if(g.length===0||d===this.MAX_FONT_SIZE)for(c=d;c>this.MIN_FONT_SIZE;){c-=this.FONT_STEP,this.ctx.font=`${c}px Arial`;let p=c*1.2,h=u-this.H_PADDING,C=this.breakTextIntoLines(t,h);if(C.length*p<=l-this.V_PADDING){d=c,g=C;break}}this.ctx.font=`${d}px Arial`,this.drawTextLines(g,n,d*1.2,r,i,a)}breakTextIntoLines(t,n){let r=Ia.splitText(t),i=[],a="",o="";r.forEach(s=>{let u=a!==""&&!Ia.isCJK(o)&&!Ia.isCJK(s),l=a+(u?" ":"")+s;o=s,this.ctx.measureText(l).width>n&&a!==""?(i.push(a),a=s):a=l}),a&&i.push(a);for(let s=0;s<i.length-1;s++){let u=i[s+1];if(u&&/^[，。！？、：；'"（）【】《》「」『』,.!?:;"()[\]<>]/.test(u)){let l=u[0],c=i[s],d=u.slice(1),g=c+l;this.ctx.measureText(g).width<=n*1.1&&(i[s]=g,i[s+1]=d||" ")}}if(i.length>=2){let s=i[i.length-1];if((l=>!!(l.length===1||l.length===2&&!Ia.isCJK(l)||l.length===2&&Ia.isCJK(l[0])&&/[，。！？、：；'"）】》」』】,.!?:;"')}\]>]/.test(l[1])))(s)){let l=i[i.length-2],c=!Ia.isCJK(l)&&!Ia.isCJK(s),d=l+(c?" ":"")+s;this.ctx.measureText(d).width<=n*1.1&&i.splice(-2,2,d)}}return i}drawTextLines(t,n,r,i,a="center",o=!1){o&&(a="right");let[s,u,l,c]=n.bounding,d=this.ctx.measureText("M"),g=d.actualBoundingBoxAscent,f=d.actualBoundingBoxDescent,p=(r-(g+f))/2,h=t.length*r,C=(c-h)/2,y=u+C+p+g;this.ctx.fillStyle=i.primary||"#000000",this.ctx.fillRect(s,u,l,c),this.ctx.fillStyle=i.secondary||"#ffffff",o?this.ctx.direction="rtl":this.ctx.direction="ltr",t.forEach((v,b)=>{let x;switch(a){case"left":x=s+this.H_PADDING;break;case"right":x=s+l-this.H_PADDING;break;case"center":default:x=s+l/2;break}let T=y+b*r;this.ctx.fillText(v,Math.max(4,x),T)})}},Ia=class{static isCJK(t){return/[\u4E00-\u9FFF\u3040-\u309F\u30A0-\u30FF\uAC00-\uD7AF]/.test(t)}static splitText(t){let n=[],r="";for(let i of t)this.isCJK(i)?(r&&(n.push(r),r=""),n.push(i)):i===" "?r&&(n.push(r),r=""):r+=i;return r&&n.push(r),n}},Uy=class{static getDominantColors(t,n,r){let[i,a,o,s]=n.bounding;if(r&&this.drawDebugBox(t,n),!n.originalText)return{primary:null,secondary:null};let u=t.getImageData(i,a,o,s);return this.analyzeImageColors(u)}static analyzeImageColors(t){let n=new Map,r=t.data;for(let o=0;o<r.length;o+=4){let s=Math.round(r[o]/16)*16,u=Math.round(r[o+1]/16)*16,l=Math.round(r[o+2]/16)*16,c=`rgb(${s},${u},${l})`;n.set(c,(n.get(c)||0)+1)}let[i,a]=[...n.entries()].sort((o,s)=>s[1]-o[1]).slice(0,2);return this.adjustColorContrast(i?.[0],a?.[0])}static adjustColorContrast(t,n){if(!t||!n)return{primary:null,secondary:null};let r=o=>{let s=o.match(/\d+/g);return s?(parseInt(s[0])*299+parseInt(s[1])*587+parseInt(s[2])*114)/1e3:0},i=r(t),a=r(n);return Math.abs(i-a)<50&&(n=i>128?"rgb(0,0,0)":"rgb(255,255,255)"),{primary:t,secondary:n}}static drawDebugBox(t,n){let i=new Bf().get(0),[a,o,s,u]=n.bounding;t.strokeStyle=i,t.lineWidth=Math.max(Math.min(t.canvas.width,t.canvas.height)/200,2.5),t.strokeRect(a,o,s,u),t.fillStyle=Bf.hexToRgba(i,.2)||"",t.fillRect(a,o,s,u)}},Bf=class{palette;n;constructor(){this.palette=["#FF3838","#FF9D97","#FF701F","#FFB21D","#CFD231","#48F90A","#92CC17","#3DDB86","#1A9334","#00D4BB","#2C99A8","#00C2FF","#344593","#6473FF","#0018EC","#8438FF","#520085","#CB38FF","#FF95C8","#FF37C7"],this.n=this.palette.length}get(t){return this.palette[Math.floor(t)%this.n]}static hexToRgba(t,n){let r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return r?`rgba(${parseInt(r[1],16)}, ${parseInt(r[2],16)}, ${parseInt(r[3],16)}, ${n})`:null}};var zA="Client Image: ";async function Of({context:e,sourceUrl:t,imgEle:n,blob:r,onStateChange:i,imageDb:a}){try{let o=await Pf(t,r,1)||r,s=o.size>r.size?r:o;r.type=="text/plain"&&(s=o);let u=oe.bind(null),l=e.rule.imageRule,c=await $c(t);i?.("free_translating"),await UK(u,e,t,c,s);let d=l.clientOcrTimeout||3e3;for(let g=0;g<d;g+=100){await it(100);let f=await BK(c);if(x0("imgState",f),i?.(f?.state),FK(e,f,n))return"";if(_K(e,f),f?.result){let p=f.result?.boxesWithText||[];l.debug||await RK(e,p.map(y=>y.originalText).join(" "),n,u,!1),(l.debug?.showTranslatedText||!l.debug)&&(i?.("translating"),p=await PK(e,p,a),p=zK(e,p)),i?.("inpainting_translating");let h=await OK(o),C=_A(h,p,"left",wt(e.config.rtlLanguages,e.targetLanguage),l.debug);return C=LK(c,C),jA({originalUrl:t,translatedUrl:C,ok:!0}),C}}throw new Error("ocr timeout")}catch(o){throw jA({originalUrl:t,ok:!1,errMsg:o.message}),n.translationStatus="error",n.hasTranslate=!1,o}}function LK(e,t){return t.replace("base64,",`imt_${e};base64,`)}function UA(e,t,n,r){if(!r)return Promise.resolve(null);let i=new Promise(o=>{setTimeout(()=>{o(null)},n)});return Promise.race([i,a()]);async function a(){try{let o=await Ve({text:r.map(l=>l.originalText).join(" "),ignorePageLang:!0,addJsLangDetect:!0,translateService:t});Mr&&k.debug(`${zA} fromLang ${o}`);let s=r.map((l,c)=>({id:c,url:"",text:HA(e,l.originalText)?l.originalText:"",from:o,fromByClient:e.sourceLanguage,to:e.targetLanguage,inArticleContext:!0})),u=!1;return Mr,await Kt({sentences:s},{...e,translationService:t},(l,c,d)=>{if(l){k.debug(l),u=!0;return}let g=d.id,f=c?.text;f&&(f=DK(e,f)),r[g].translatedText=f||r[g].originalText}),Mr,u?null:r}catch(o){return k.debug(o),null}}}function DK(e,t){return(e.rule.imageRule.removeTextRegexes||[]).forEach(r=>{t=t.replace(new RegExp(r,"g"),"")}),t}async function PK(e,t,n){let r=e.rule.imageRule,i=await UA(e,e.clientImageTranslationService,r.clientTranslateTimeout,t),a=e.clientImageTranslationService;if(x0(`${e.clientImageTranslationService} \u7FFB\u8BD1\u7ED3\u679C`,i),!i){let o=await Co(e,e.clientImageTranslationService,!1,e.rule.imageRule.detectionServiceOrder,!1);x0(`validService: ${o}`),o&&(a=o,i=await UA(e,o,r.clientTranslateTimeout,t),x0(`${o} \u7FFB\u8BD1\u7ED3\u679C`,i))}if(!i)throw new Error("translateFail");return n.clientTranslationService=a,i}async function RK(e,t,n,r,i){let a=e.rule.imageRule,o=a.clientSupportLangs||[],s=await NK(t,o,a.notSupportRegexes),u=e.config.rawUserConfig;u&&!u.disableShowClientImageGuide&&!e.url?.includes(j.HOST_NAME)&&(u.disableShowClientImageGuide=!0,Yi(u),Ca(u),_e("clientImageGuide"));let l=!!s;if(e.isPro&&(l=o.includes(s)),i&&(l=!1),!l)throw!e.isPro&&await _t(Jd,"")?new ii(r("freeImage.supportLangError"),"show_error"):e.isPro?(n.hasTranslate=!1,setTimeout(()=>ai({ctx:e,ele:n,forceUsePro:!0}),0),"none"):(_e("clientImageNotSupport"),"none")}async function NK(e,t,n){if(n.some(i=>new RegExp(i).test(e)))return"";let r=await Ve({text:e,strictCheck:!0,ignorePageLang:!0,addJsLangDetect:!0});return x0(r,e),t.includes(r)||t.includes("all")?r:""}function FK(e,t,n){let r=e.rule.imageRule;if(t?.state=="error"){if(k.error(t.errorMsg),e.isPro)throw n.hasTranslate=!1,setTimeout(()=>ai({ctx:e,ele:n,forceUsePro:!0}),0),"none";if(r.ignoreErrorRegexes.some(a=>new RegExp(a).test(t.errorMsg||"")))return!0;throw new Error(t.errorMsg)}return!1}async function BK(e){return jy()?xr.queryImageTranslateState({urlHash:e}).then(({state:n})=>n):await he("offscreen",{method:"queryImageState",data:{urlHash:e}})}function HA(e,t){let n=t.split(/\s+/).length;return no({text:t,delimiters:[],minTextCount:2,minWordCount:1,noTranslateRegexp:[...e.rule.noTranslateRegexp,...e.rule.imageRule.noTranslateRegexes]})&&n>1}function x0(...e){Mr&&k.debug(`${zA}`,...e)}function OK(e){let t=new Image;return t.src=URL.createObjectURL(e),new Promise((n,r)=>{t.onload=()=>{let i=document.createElement("canvas");i.width=t.width,i.height=t.height,i.getContext("2d")?.drawImage(t,0,0),URL.revokeObjectURL(t.src),n(i)},t.onerror=()=>{r(new Error("blobToCanvas error"))}})}function _K(e,t){if(!t.result?.boxesWithText)return;let r=e.rule.imageRule.replaceTextRegexes||[],i=t.result?.boxesWithText||[];return i.forEach(a=>{for(let[o,s]of r)a.originalText=a.originalText.replace(new RegExp(o,"g"),s)}),i=i?.filter(a=>HA(e,a.originalText))||[],t.result.boxesWithText=i,i}async function UK(e,t,n,r,i){let a=await i.arrayBuffer();if(jy()){let o=await jK(i);xr.triggerClientTranslateImage({urlHash:r,imgData:o,originalUrl:n});return}return d7(e,t,r,i.type,new Uint8Array(a))}function jK(e){return new Promise((t,n)=>{let r=new FileReader;r.onloadend=()=>t(r.result),r.onerror=n,r.readAsDataURL(e)})}async function jA(e){if(jy()){xr.notifyClientImageTranslatedResult({originalUrl:e.originalUrl,ok:e.ok,errMsg:e.errMsg});return}}function jy(){return kt()||Ze()}function zK(e,t){return(e.rule.imageRule.replaceTextRegexes||[]).forEach(([r,i])=>{t.forEach(a=>{a.translatedText=a.translatedText?.replace(new RegExp(r,"g"),i)})}),t}var _f=({floatingRef:e,containerSelector:t,baseStyle:n,dependencies:r=[]})=>{let[i,a]=z({});return Zn(()=>{let s=()=>{let l=document.querySelector(t);return l?l.getBoundingClientRect():{left:0,top:0,right:globalThis.innerWidth??0,bottom:globalThis.innerHeight??0}},u=()=>{let l=e.current;if(!l){a({});return}let c=l.getBoundingClientRect(),d=s(),g=0,f=0,p=c.right+8-d.right;p>0&&(g-=p);let h=d.left+8-c.left;h>0&&(g+=h);let C=c.bottom+8-d.bottom;C>0&&(f-=C);let y=d.top+8-c.top;if(y>0&&(f+=y),g!==0||f!==0){let v=n.transform||"",b=`translate(${g}px, ${f}px)`,x=[v,b].filter(Boolean).join(" ").trim();a({transform:x})}else a({})};return u(),globalThis.addEventListener?.("resize",u),globalThis.addEventListener?.("scroll",u,!0),()=>{globalThis.removeEventListener?.("resize",u),globalThis.removeEventListener?.("scroll",u,!0)}},[e,t,n.transform,...r]),i};var HK=({text:e,children:t,position:n="top",containerStyle:r,containerClass:i,multiple:a=!1,width:o,maxWidth:s,delay:u=0,disable:l,enableMobile:c,tipStyle:d,hidden:g,displayType:f,onHidden:p,onShow:h,onClick:C,class:y})=>{let[v,b]=z(!1),x=$(null),T=$(null),S=$(null),E=$(null),A=()=>{l||!c&&(Pe().any||_n())||(S.current&&clearTimeout(S.current),S.current=setTimeout(()=>{b(D=>(D||h?.(),!0))},u))},M=()=>{(Pe().any||_n())&&(E.current&&clearTimeout(E.current),E.current=setTimeout(()=>{P()},2e3))},P=()=>{S.current&&clearTimeout(S.current),E.current&&clearTimeout(E.current),b(D=>(D&&p?.(),!1))},B=de(()=>{let D={padding:"6px 20px",backgroundColor:"#000000",color:"#ffffff",borderRadius:"8px",fontSize:"12px"};return a&&(D.maxWidth="200px",o&&(D.width=o+"px"),s&&(D.maxWidth=s+"px"),D.whiteSpace="normal"),d?.width&&(D.width=d.width),d?.maxWidth&&(D.maxWidth=d.maxWidth),d?.whiteSpace&&(D.whiteSpace=d.whiteSpace),D},[a,s,o,d]),O=de(()=>{let D={position:"absolute",whiteSpace:"nowrap",zIndex:1e3,padding:10},w={...d};switch(w.width&&delete w.width,w.maxWidth&&delete w.maxWidth,n){case"top":return{...D,bottom:"100%",left:"50%",transform:"translateX(-50%)",marginBottom:"0px",...w};case"bottom":return{...D,top:"100%",left:"50%",transform:"translateX(-50%)",marginTop:"0px",...w};case"left":return{...D,right:"100%",top:"50%",transform:"translateY(-50%)",marginRight:"0px",...w};case"right":return{...D,left:"100%",top:"50%",transform:"translateY(-50%)",marginLeft:"0px",...w};default:return{}}},[n,a,o,d]),R=_f({floatingRef:x,containerSelector:".popup-container",baseStyle:O,dependencies:[v,e]});G(()=>{if(!v)return;let D=w=>{let N=w.target;N&&T.current&&!T.current.contains(N)&&P()};return document.addEventListener("pointerdown",D),()=>{document.removeEventListener("pointerdown",D)}},[v]);let _=D=>{if(l||!c&&(Pe().any||_n())){C?.(D);return}S.current&&clearTimeout(S.current),b(w=>{let N=!w;return N?h?.():p?.(),N}),C?.(D)},F=D=>ef()?m("div",{style:B,role:"tooltip",children:D}):m("div",{style:B,role:"tooltip",dangerouslySetInnerHTML:{__html:D}}),L=f||"inline-block";return m("div",{ref:T,class:`${y??""} ${i??""}`,onMouseEnter:A,onMouseLeave:P,onTouchStart:()=>{c&&A()},onTouchEnd:()=>{c&&M()},style:{position:"relative",pointerEvents:"all",display:g?"none":L,...r},onClick:_,children:[m("div",{children:t}),v&&m("div",{ref:x,style:{...O,...R},children:F(e)})]})},vt=HK;async function VK(){if(wm()!="content")return globalThis.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";let e=document.body,t=document.documentElement,n=e.classList.contains("dark")||t.classList.contains("dark"),r=e.getAttribute("data-theme")==="dark"||t.getAttribute("data-theme")==="dark",i=e.classList.contains("dark-mode")||t.classList.contains("dark-mode"),a=getComputedStyle(document.documentElement),o=a.getPropertyValue("--theme")||a.getPropertyValue("--color-scheme")||a.getPropertyValue("--mode")||a.getPropertyValue("--app-theme"),s=e.getAttribute("data-mode")==="dark"||t.getAttribute("data-mode")==="dark",u=e.getAttribute("data-color-scheme")==="dark"||t.getAttribute("data-color-scheme")==="dark",l=e.getAttribute("data-appearance")==="dark"||t.getAttribute("data-appearance")==="dark",c=globalThis.getComputedStyle(e),d=globalThis.getComputedStyle(t),g=c.backgroundColor,f=d.backgroundColor,p=!1;if(n||r||i||s||u||l||o.includes("dark"))p=!0;else{let h=f!=="rgba(0, 0, 0, 0)"?f:g;if(h==="rgba(0, 0, 0, 0)"||h==="transparent"){let C=globalThis.matchMedia("(prefers-color-scheme: dark)").matches,y="light";try{if(globalThis.chrome?.theme?.getCurrent){let v=await globalThis.chrome.theme.getCurrent();v?.properties?.color_scheme&&(y=v.properties.color_scheme)}}catch{}p=y==="dark"||(y==="light"?!1:C)}else{let C=h.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/);if(C){let y=parseInt(C[1]),v=parseInt(C[2]),b=parseInt(C[3]);p=(y*299+v*587+b*114)/1e3<150}else p=e.style.backgroundColor?.includes("dark")||e.style.backgroundColor?.includes("black")||e.style.backgroundColor?.includes("#1a1a1a")||e.style.backgroundColor?.includes("#2d2d2d")}}return p?"dark":"light"}var Uf=null,C0="light";function zn(){let[e,t]=z(C0);return G(()=>{let n=xn(async()=>{C0=await VK(),t(C0)},100);t(C0),setTimeout(()=>t(C0),100),!Uf&&document.body&&(n(),setTimeout(()=>n(),100),Uf=new MutationObserver(()=>{setTimeout(()=>n(),50)}),Uf.observe(document.body,{attributes:!0,attributeFilter:["class","data-theme","style"],subtree:!1}),Uf.observe(document.documentElement,{attributes:!0,attributeFilter:["class","data-theme"],subtree:!1}));let r=globalThis.matchMedia("(prefers-color-scheme: dark)"),i=()=>{setTimeout(async()=>{await n()},50)};return r.addEventListener("change",i),()=>{r.removeEventListener("change",i)}},[document.body]),e}var GK="imt-fb";function Ft({type:e,hidden:t,className:n,onClick:r,style:i}){if(t)return null;let a=zn(),o={onClick:r,style:i,className:n};switch(e){case"logo":return m(QK,{...o,className:`${GK}-logo-img ${n}`});case"close":return m(WK,{...o});case"setting":return m(qK,{...o});case"file":return m(ZK,{...o});case"translated":return m(JK,{...o,isDark:a==="dark"});case"modal-close":return m(XK,{...o});case"manga":return m($K,{...o});case"loading":return m(eQ,{...o});case"feedback":return m(KK,{...o});case"upgrade":return m(tQ,{style:i,isDark:a==="dark"});case"side":return m(YK,{className:n});case"side-new-badge":return m(nQ,{});default:return null}}function WK(e){return m("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:[m("g",{"clip-path":"url(#clip0_38845_9816)",children:[m("path",{d:"M7 14C5.14348 14 3.36301 13.2625 2.05025 11.9497C0.737498 10.637 0 8.85652 0 7C0 5.14348 0.737498 3.36301 2.05025 2.05025C3.36301 0.737498 5.14348 0 7 0C8.85652 0 10.637 0.737498 11.9497 2.05025C13.2625 3.36301 14 5.14348 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14Z",fill:"#B1B1B1","fill-opacity":"0.4"}),m("path",{d:"M6.11754 7.00052L4.18254 5.06452C4.06786 4.94725 4.00406 4.78948 4.00498 4.62546C4.00589 4.46144 4.07145 4.3044 4.18744 4.18841C4.30342 4.07243 4.46046 4.00687 4.62448 4.00595C4.7885 4.00503 4.94627 4.06884 5.06354 4.18352L6.99954 6.11852L8.93554 4.18352C8.99315 4.1246 9.06188 4.07771 9.13774 4.04554C9.2136 4.01337 9.29508 3.99656 9.37748 3.9961C9.45988 3.99564 9.54155 4.01153 9.61777 4.04285C9.69398 4.07417 9.76323 4.1203 9.82149 4.17857C9.87976 4.23683 9.92589 4.30608 9.95721 4.38229C9.98853 4.45851 10.0044 4.54018 10.004 4.62258C10.0035 4.70497 9.98669 4.78646 9.95452 4.86232C9.92235 4.93818 9.87545 5.00691 9.81654 5.06452L7.88154 7.00052L9.81654 8.93652C9.93122 9.05379 9.99502 9.21155 9.99411 9.37557C9.99319 9.5396 9.92763 9.69664 9.81164 9.81262C9.69566 9.9286 9.53862 9.99417 9.3746 9.99508C9.21058 9.996 9.05281 9.9322 8.93554 9.81752L6.99954 7.88252L5.06354 9.81752C5.00593 9.87643 4.93721 9.92333 4.86135 9.9555C4.78549 9.98767 4.704 10.0045 4.6216 10.0049C4.5392 10.0054 4.45753 9.9895 4.38131 9.95818C4.3051 9.92686 4.23585 9.88073 4.17759 9.82247C4.11932 9.7642 4.0732 9.69496 4.04188 9.61874C4.01056 9.54253 3.99467 9.46086 3.99513 9.37846C3.99559 9.29606 4.01239 9.21457 4.04456 9.13871C4.07673 9.06285 4.12363 8.99413 4.18254 8.93652L6.11754 7.00052Z",fill:"white"})]}),m("defs",{children:m("clipPath",{id:"clip0_38845_9816",children:m("rect",{width:"14",height:"14",fill:"white"})})})]})}function qK(e){return m("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[m("path",{d:"M17 8.66797H11.375",stroke:"#ED6D8F","stroke-linecap":"round","stroke-linejoin":"round"}),m("path",{d:"M12.625 15.332L7 15.332",stroke:"#ED6D8F","stroke-linecap":"round","stroke-linejoin":"round"}),m("path",{d:"M15.125 17C16.1605 17 17 16.1605 17 15.125C17 14.0895 16.1605 13.25 15.125 13.25C14.0895 13.25 13.25 14.0895 13.25 15.125C13.25 16.1605 14.0895 17 15.125 17Z",stroke:"#ED6D8F","stroke-linecap":"round","stroke-linejoin":"round"}),m("path",{d:"M8.875 10.75C9.91053 10.75 10.75 9.91053 10.75 8.875C10.75 7.83947 9.91053 7 8.875 7C7.83947 7 7 7.83947 7 8.875C7 9.91053 7.83947 10.75 8.875 10.75Z",stroke:"#ED6D8F","stroke-linecap":"round","stroke-linejoin":"round"}),m("rect",{x:"3",y:"4",width:"18",height:"16",rx:"1.66667",stroke:"#ED6D8F"})]})}function KK(e){return m("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[m("mask",{id:"mask0_39772_2885",style:"mask-type:alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:m("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),m("g",{mask:"url(#mask0_39772_2885)",children:m("path",{d:"M12 15.423C12.1808 15.423 12.3286 15.3657 12.4433 15.251C12.5581 15.1362 12.6155 14.9884 12.6155 14.8077C12.6155 14.6269 12.5581 14.4792 12.4433 14.3645C12.3286 14.2497 12.1808 14.1923 12 14.1923C11.8192 14.1923 11.6714 14.2497 11.5568 14.3645C11.4419 14.4792 11.3845 14.6269 11.3845 14.8077C11.3845 14.9884 11.4419 15.1362 11.5568 15.251C11.6714 15.3657 11.8192 15.423 12 15.423ZM12 12.4615C12.1423 12.4615 12.2612 12.4138 12.3567 12.3183C12.4522 12.2228 12.5 12.1038 12.5 11.9615V6.8845C12.5 6.74233 12.4522 6.6235 12.3567 6.528C12.2612 6.43233 12.1423 6.3845 12 6.3845C11.8577 6.3845 11.7388 6.43233 11.6433 6.528C11.5478 6.6235 11.5 6.74233 11.5 6.8845V11.9615C11.5 12.1038 11.5478 12.2228 11.6433 12.3183C11.7388 12.4138 11.8577 12.4615 12 12.4615ZM6.077 18L4.373 19.7038C4.1205 19.9564 3.8285 20.0145 3.497 19.878C3.16567 19.7413 3 19.4929 3 19.1328V5.6155C3 5.15517 3.15417 4.77083 3.4625 4.4625C3.77083 4.15417 4.15517 4 4.6155 4H19.3845C19.8448 4 20.2292 4.15417 20.5375 4.4625C20.8458 4.77083 21 5.15517 21 5.6155V16.3845C21 16.8448 20.8458 17.2292 20.5375 17.5375C20.2292 17.8458 19.8448 18 19.3845 18H6.077ZM5.65 17H19.3845C19.5385 17 19.6796 16.9359 19.8078 16.8077C19.9359 16.6796 20 16.5385 20 16.3845V5.6155C20 5.4615 19.9359 5.32042 19.8078 5.19225C19.6796 5.06408 19.5385 5 19.3845 5H4.6155C4.4615 5 4.32042 5.06408 4.19225 5.19225C4.06408 5.32042 4 5.4615 4 5.6155V18.6443L5.65 17Z",fill:"#ED6D8F"})})]})}function QK(e){return m("svg",{...e,width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[m("path",{d:"M0 14C0 6.26801 6.26801 0 14 0C21.732 0 28 6.26801 28 14C28 21.732 21.732 28 14 28C6.26801 28 0 21.732 0 14Z",fill:"#ED6D8F"}),m("path",{d:"M7.30921 15.6381C7.53044 15.6381 7.70979 15.8175 7.70979 16.0387V19.0088C7.70979 19.934 8.45993 20.684 9.38526 20.684H11.7557C11.9769 20.684 12.1562 20.8634 12.1562 21.0846V22.152C12.1562 22.3732 11.9769 22.5526 11.7557 22.5526H9.38526C7.42782 22.5526 5.84099 20.966 5.84099 19.0088V16.0387C5.84099 15.8175 6.02034 15.6381 6.24157 15.6381H7.30921ZM18.9876 12.6944C19.1515 12.6944 19.2989 12.7943 19.3597 12.9466L22.9711 22.0036C23.076 22.2667 22.8822 22.5526 22.599 22.5526H21.4672C21.3016 22.5526 21.153 22.4506 21.0934 22.2961L20.2724 20.1673C20.2128 20.0128 20.0643 19.9108 19.8986 19.9108H16.7508C16.5852 19.9108 16.4366 20.0128 16.377 20.1673L15.556 22.2961C15.4964 22.4506 15.3478 22.5526 15.1822 22.5526H14.0504C13.7672 22.5526 13.5734 22.2667 13.6783 22.0036L17.2897 12.9466C17.3505 12.7943 17.4979 12.6944 17.6618 12.6944H18.9876ZM18.5116 15.6017C18.4456 15.4308 18.2038 15.4308 18.1378 15.6017L17.3016 17.7699C17.251 17.9011 17.3478 18.0423 17.4885 18.0423H19.1609C19.3016 18.0423 19.3984 17.9012 19.3478 17.7699L18.5116 15.6017ZM9.69589 5.30028C9.79943 4.8999 10.368 4.89991 10.4715 5.30028L11.1086 7.76368C11.3244 8.59845 11.9396 9.27221 12.7513 9.56299L14.9019 10.3334C15.2559 10.4602 15.2559 10.9608 14.9019 11.0876L12.7513 11.8581C11.9396 12.1489 11.3244 12.8226 11.1086 13.6574L10.4715 16.1208C10.368 16.5212 9.79943 16.5212 9.69589 16.1208L9.05884 13.6574C8.84297 12.8226 8.22786 12.1489 7.41615 11.8581L5.26548 11.0876C4.91151 10.9608 4.91151 10.4602 5.26548 10.3334L7.41615 9.56299C8.22786 9.27221 8.84297 8.59844 9.05884 7.76368L9.69589 5.30028ZM18.0064 6.20485C19.9639 6.20485 21.5507 7.79145 21.5507 9.74861V11.281C21.5507 11.5022 21.3713 11.6816 21.1501 11.6816H20.0825C19.8612 11.6816 19.6819 11.5022 19.6819 11.281V9.74861C19.6819 8.82341 18.9318 8.07338 18.0064 8.07338H14.4343C14.2131 8.07338 14.0337 7.89403 14.0337 7.6728V6.60543C14.0337 6.3842 14.2131 6.20486 14.4343 6.20485H18.0064Z",fill:"white"})]})}function YK(e){return m("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:m("path",{d:"M9.65332 13.3477C10.4097 13.4245 11 14.0632 11 14.8398V18.8398L10.9922 18.9932C10.9205 19.6992 10.3593 20.2604 9.65332 20.332L9.5 20.3398H5.5C4.72334 20.3398 4.08461 19.7496 4.00781 18.9932L4 18.8398V14.8398C4 14.0114 4.67157 13.3398 5.5 13.3398H9.5L9.65332 13.3477ZM18.6533 13.3477C19.4097 13.4245 20 14.0632 20 14.8398V18.8398L19.9922 18.9932C19.9205 19.6992 19.3593 20.2604 18.6533 20.332L18.5 20.3398H14.5C13.7233 20.3398 13.0846 19.7496 13.0078 18.9932L13 18.8398V14.8398C13 14.0114 13.6716 13.3398 14.5 13.3398H18.5L18.6533 13.3477ZM5.5 14.3398C5.22386 14.3398 5 14.5637 5 14.8398V18.8398C5 19.116 5.22386 19.3398 5.5 19.3398H9.5C9.77614 19.3398 10 19.116 10 18.8398V14.8398C10 14.5637 9.77614 14.3398 9.5 14.3398H5.5ZM14.5 14.3398C14.2239 14.3398 14 14.5637 14 14.8398V18.8398C14 19.116 14.2239 19.3398 14.5 19.3398H18.5C18.7761 19.3398 19 19.116 19 18.8398V14.8398C19 14.5637 18.7761 14.3398 18.5 14.3398H14.5ZM9.65332 4.34766C10.4097 4.42445 11 5.06318 11 5.83984V9.83984L10.9922 9.99316C10.9205 10.6992 10.3593 11.2604 9.65332 11.332L9.5 11.3398H5.5C4.72334 11.3398 4.08461 10.7496 4.00781 9.99316L4 9.83984V5.83984C4 5.01142 4.67157 4.33984 5.5 4.33984H9.5L9.65332 4.34766ZM16.1484 3.18848C16.2521 2.83834 16.7479 2.83834 16.8516 3.18848L17.3281 4.79785C17.5079 5.40507 17.9648 5.89104 18.5596 6.1084L20.0576 6.65625C20.3786 6.77361 20.3785 7.22732 20.0576 7.34473L18.5596 7.89258C17.9648 8.10991 17.5079 8.59598 17.3281 9.20312L16.8516 10.8125C16.7479 11.1626 16.2521 11.1626 16.1484 10.8125L15.6719 9.20312C15.4921 8.59598 15.0352 8.10991 14.4404 7.89258L12.9424 7.34473C12.6215 7.22732 12.6214 6.77361 12.9424 6.65625L14.4404 6.1084C15.0352 5.89104 15.4921 5.40507 15.6719 4.79785L16.1484 3.18848ZM5.5 5.33984C5.22386 5.33984 5 5.5637 5 5.83984V9.83984C5 10.116 5.22386 10.3398 5.5 10.3398H9.5C9.77614 10.3398 10 10.116 10 9.83984V5.83984C10 5.5637 9.77614 5.33984 9.5 5.33984H5.5Z",fill:"#ED6D8F"})})}function ZK(e){return m("svg",{...e,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:m("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.6861 1L15.2353 4.54635V7.11765V14.6471V15.5882C15.2353 15.9627 15.0866 16.3217 14.8218 16.5865C14.557 16.8513 14.198 17 13.8235 17H4.41176C4.03734 17 3.67825 16.8513 3.4135 16.5865C3.14874 16.3217 3 15.9627 3 15.5882V14.6471V7.11765V2.41176C3 2.03734 3.14874 1.67825 3.4135 1.4135C3.67825 1.14874 4.03734 1 4.41176 1H11.6861ZM11.8692 3.17882V4.74212H13.4334L11.8692 3.17882ZM4.41171 15.5882V14.647V2.41176H10.4574L10.4578 6.15341H13.8235V14.647V15.5882H4.41171ZM12.7739 7.51746H5.46094V8.6155H12.7739V7.51746ZM5.46094 9.98805H12.7739V11.0861H5.46094V9.98805ZM9.5127 12.36H5.46094V13.458H9.5127V12.36Z",fill:"currentColor"})})}function JK(e){let{isDark:t,...n}=e;return t?m("svg",{...n,width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[m("circle",{cx:"5.5",cy:"5.5",r:"5.5",fill:"#60BB4C"}),m("path",{d:"M1.40869 5.87858L2.24161 5.18962L4.15357 6.64214C4.15357 6.64214 6.33559 4.15566 9.0067 2.48145L9.32553 2.87514C9.32553 2.87514 6.28678 5.55844 4.71748 9.07881L1.40869 5.87858Z",fill:"#EFF8ED"})]}):m("svg",{...n,width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[m("circle",{cx:"5.5",cy:"5.5",r:"5.5",fill:"#68CD52"}),m("path",{d:"M1.40857 5.87858L2.24148 5.18962L4.15344 6.64214C4.15344 6.64214 6.33547 4.15566 9.00658 2.48145L9.32541 2.87514C9.32541 2.87514 6.28665 5.55844 4.71735 9.07881L1.40857 5.87858Z",fill:"white"})]})}function XK(e){return m("svg",{...e,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:m("path",{d:"M4.41083 4.41066C4.5671 4.25443 4.77902 4.16667 4.99999 4.16667C5.22096 4.16667 5.43289 4.25443 5.58916 4.41066L9.99999 8.82149L14.4108 4.41066C14.4877 4.33107 14.5797 4.26758 14.6813 4.22391C14.783 4.18023 14.8923 4.15724 15.003 4.15628C15.1136 4.15532 15.2234 4.1764 15.3258 4.21831C15.4282 4.26021 15.5212 4.32208 15.5995 4.40033C15.6777 4.47857 15.7396 4.57162 15.7815 4.67403C15.8234 4.77644 15.8445 4.88618 15.8435 4.99682C15.8426 5.10747 15.8196 5.21682 15.7759 5.31849C15.7322 5.42016 15.6688 5.51212 15.5892 5.58899L11.1783 9.99982L15.5892 14.4107C15.741 14.5678 15.825 14.7783 15.8231 14.9968C15.8212 15.2153 15.7335 15.4243 15.579 15.5788C15.4245 15.7333 15.2155 15.821 14.997 15.8229C14.7785 15.8248 14.568 15.7408 14.4108 15.589L9.99999 11.1782L5.58916 15.589C5.43199 15.7408 5.22149 15.8248 5.00299 15.8229C4.7845 15.821 4.57549 15.7333 4.42098 15.5788C4.26647 15.4243 4.17883 15.2153 4.17693 14.9968C4.17503 14.7783 4.25903 14.5678 4.41083 14.4107L8.82166 9.99982L4.41083 5.58899C4.2546 5.43272 4.16684 5.22079 4.16684 4.99982C4.16684 4.77885 4.2546 4.56693 4.41083 4.41066Z",fill:"#C4C4C4"})})}function $K(e){return m("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:[m("path",{d:"M14.8853 4.92364C14.8853 4.92364 16.3905 10.4362 22.6668 4C22.6668 4 20.3381 10.8907 25.3364 10.0843C25.3364 10.0843 22.0563 15.6994 29 18.0599C29 18.0599 22.9934 19.306 21.1617 28C21.1617 28 17.7679 24.54 14.8853 27.3549C14.8853 27.3549 13.3233 23.5724 7.33097 26.27C7.33097 26.27 10.1141 20.6549 4.83179 21.0507C4.83179 21.0507 7.16057 18.8955 3 15.9047C3 15.9047 7.50137 16.1833 6.33697 11.7117C6.33697 11.7117 10.0005 12.3421 8.66576 6.82957C8.65156 6.81491 12.4855 9.80574 14.8853 4.92364Z",fill:"#ED6D8F"}),m("path",{d:"M20.8599 13.7022C20.885 13.1361 20.9543 12.5713 20.9959 12.0052C21.0337 11.568 20.8107 11.2794 20.3876 11.18C20.0759 11.1013 19.7508 11.0867 19.433 11.137C19.1951 11.1945 18.9542 11.2396 18.7113 11.2721C18.2403 11.3028 17.9973 11.5275 17.9796 11.988C17.977 12.0833 17.9596 12.1777 17.928 12.268C17.3034 13.9102 16.6774 15.5499 16.0503 17.1873C16.0301 17.2401 16.0062 17.2904 15.9671 17.3776C15.7291 16.8975 15.4281 16.4898 15.2745 15.9986C14.8073 14.5152 14.3186 13.033 13.8312 11.5594C13.6826 11.1112 13.3489 10.9344 12.8754 11.0216C12.7889 11.0365 12.7008 11.0398 12.6134 11.0314C12.2241 10.9938 11.8311 11.0404 11.4623 11.1677C11.0946 11.2991 10.9498 11.557 11.0152 11.9254C11.0428 12.0371 11.0643 12.1503 11.0795 12.2643C11.1223 13.1902 11.1777 14.1087 11.2054 15.0321C11.257 16.7992 11.2117 18.5651 11.0858 20.3284C11.0644 20.6354 11.0304 20.9424 11.0228 21.2494C11.0115 21.6092 11.1613 21.7811 11.5266 21.8143C11.9976 21.8573 12.4711 21.8708 12.9421 21.9088C13.0309 21.9201 13.121 21.9003 13.1962 21.8528C13.2714 21.8053 13.3268 21.7334 13.3527 21.6497C13.3996 21.5394 13.4252 21.4216 13.4282 21.3022C13.4295 20.8258 13.4207 20.3493 13.4081 19.8741C13.393 19.3264 13.3917 18.7763 13.3438 18.231C13.2857 17.5839 13.266 16.934 13.2847 16.2847C13.2847 16.2466 13.291 16.2073 13.2985 16.1312C13.3338 16.2024 13.3514 16.2356 13.3665 16.2712C13.9017 17.5228 14.3617 18.8037 14.7443 20.1074C14.7928 20.2421 14.7928 20.3889 14.7443 20.5237C14.6322 20.8196 14.7141 21.037 14.9659 21.1377C15.4445 21.3268 15.9331 21.4926 16.4155 21.6731C16.4865 21.7033 16.566 21.7091 16.6408 21.6895C16.7157 21.6698 16.7815 21.6259 16.8273 21.565C16.9085 21.4643 16.9743 21.3526 17.0225 21.2335C17.0537 21.1374 17.0798 21.0399 17.1006 20.9412C17.3185 20.2425 17.5653 19.5499 17.7517 18.8438C17.9785 17.9723 18.2624 17.1158 18.6018 16.2798C18.6201 16.2439 18.6411 16.2094 18.6647 16.1766C18.6761 16.2319 18.6761 16.254 18.6761 16.2761C18.6345 17.59 18.5955 18.8978 18.5501 20.2056C18.5363 20.5949 18.491 20.9829 18.4809 21.3722C18.4721 21.705 18.6207 21.8708 18.9557 21.9002C19.4355 21.9432 19.9191 21.9592 20.4002 21.9973C20.4888 22.0079 20.5784 21.9875 20.653 21.9399C20.7277 21.8922 20.7827 21.8203 20.8082 21.7369C20.8531 21.6305 20.8766 21.5167 20.8775 21.4017C20.88 20.7668 20.8674 20.132 20.8674 19.4971C20.8662 19.2846 20.8687 19.0722 20.8523 18.8622C20.8158 18.3968 20.7264 17.9314 20.7339 17.4685C20.7515 16.2122 20.8044 14.9572 20.8599 13.7022Z",fill:"white"})]})}function eQ(e){return m("svg",{...e,width:"19",height:"19",viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[m("path",{d:"M9.42859 0C9.84288 0 10.1929 0.387143 10.1929 0.847143V3.99429C10.1929 4.45429 9.84431 4.84143 9.42859 4.84143C9.01431 4.84143 8.66431 4.45571 8.66431 3.99429V0.847143C8.66431 0.387143 9.01288 0 9.42859 0Z",fill:"#E9E9E9"}),m("path",{d:"M14.1301 1.38877C14.5158 1.62591 14.6301 2.12163 14.4258 2.52305L12.9515 5.19448C12.901 5.28714 12.8325 5.36876 12.75 5.43455C12.6675 5.50035 12.5727 5.54898 12.4712 5.5776C12.3696 5.60621 12.2634 5.61424 12.1586 5.60119C12.0539 5.58814 11.9529 5.55429 11.8615 5.50163C11.6787 5.38432 11.5468 5.20237 11.4923 4.9921C11.4377 4.78184 11.4645 4.55874 11.5672 4.36734L13.0415 1.69591C13.2686 1.29448 13.7443 1.15305 14.1301 1.38877Z",fill:"#989697"}),m("path",{d:"M17.4685 4.75707C17.5813 4.95451 17.6123 5.18824 17.5549 5.40825C17.4975 5.62826 17.3563 5.81705 17.1614 5.93422L14.4971 7.52564C14.0971 7.76993 13.6014 7.62422 13.3657 7.20707C13.2532 7.00994 13.2222 6.77667 13.2793 6.55702C13.3365 6.33737 13.4771 6.14874 13.6714 6.03136L16.3357 4.43993C16.7371 4.21993 17.2557 4.34136 17.4685 4.7585V4.75707Z",fill:"#9B999A"}),m("path",{d:"M18.8572 9.42835C18.8572 9.84263 18.47 10.1926 18.01 10.1926H14.8629C14.4029 10.1926 14.0157 9.84406 14.0157 9.42835C14.0157 9.01406 14.4029 8.66406 14.8629 8.66406H18.01C18.47 8.66406 18.8572 9.01263 18.8572 9.42835Z",fill:"#A3A1A2"}),m("path",{d:"M17.4686 14.1303C17.3515 14.3134 17.1697 14.4455 16.9594 14.5003C16.7491 14.5552 16.5259 14.5286 16.3343 14.426L13.6629 12.9517C13.5702 12.9012 13.4886 12.8327 13.4228 12.7503C13.357 12.6678 13.3084 12.573 13.2798 12.4714C13.2512 12.3698 13.2431 12.2636 13.2562 12.1589C13.2692 12.0542 13.3031 11.9532 13.3558 11.8617C13.4731 11.6789 13.655 11.547 13.8653 11.4925C14.0755 11.4379 14.2986 11.4647 14.49 11.5674L17.1615 13.0417C17.5629 13.2689 17.7043 13.7446 17.4686 14.1303Z",fill:"#ABA9AA"}),m("path",{opacity:"0.7",d:"M14.1 17.4686C13.9026 17.5814 13.6689 17.6124 13.4489 17.555C13.2288 17.4976 13.04 17.3564 12.9229 17.1615L11.3315 14.4972C11.0872 14.0972 11.2329 13.6015 11.65 13.3658C11.8472 13.2533 12.0804 13.2224 12.3001 13.2795C12.5197 13.3366 12.7084 13.4773 12.8257 13.6715L14.4172 16.3358C14.6372 16.7372 14.5157 17.2558 14.0986 17.4686H14.1Z",fill:"#B2B2B2"}),m("path",{opacity:"0.6",d:"M9.42859 18.8571C9.01431 18.8571 8.66431 18.4699 8.66431 18.0099V14.8628C8.66431 14.4028 9.01288 14.0156 9.42859 14.0156C9.84288 14.0156 10.1929 14.4028 10.1929 14.8628V18.0099C10.1929 18.4699 9.84431 18.8571 9.42859 18.8571Z",fill:"#BAB8B9"}),m("path",{opacity:"0.5",d:"M4.72717 17.4685C4.5441 17.3514 4.41195 17.1696 4.35713 16.9593C4.30231 16.749 4.32885 16.5258 4.43145 16.3342L5.90574 13.6628C5.95622 13.5701 6.02472 13.4885 6.1072 13.4227C6.18969 13.3569 6.2845 13.3083 6.38606 13.2797C6.48762 13.251 6.59387 13.243 6.69857 13.2561C6.80327 13.2691 6.90431 13.303 6.99574 13.3556C7.38145 13.5914 7.49431 14.0885 7.29002 14.4899L5.81574 17.1614C5.5886 17.5628 5.11288 17.7042 4.72717 17.4685Z",fill:"#C2C0C1"}),m("path",{opacity:"0.4",d:"M1.38862 14.1002C1.27584 13.9027 1.24483 13.669 1.30223 13.449C1.35964 13.229 1.50089 13.0402 1.69576 12.923L4.36004 11.3316C4.76004 11.0873 5.25576 11.233 5.49147 11.6502C5.60393 11.8473 5.63491 12.0806 5.5778 12.3002C5.52069 12.5199 5.38 12.7085 5.18576 12.8259L2.52004 14.4173C2.12004 14.6373 1.60004 14.5159 1.38862 14.0987V14.1002Z",fill:"#CBCBCB"}),m("path",{d:"M0 9.42835C0 9.01406 0.387143 8.66406 0.847143 8.66406H3.99429C4.45429 8.66406 4.84143 9.01263 4.84143 9.42835C4.84143 9.84263 4.45571 10.1926 3.99429 10.1926H0.847143C0.387143 10.1926 0 9.84406 0 9.42835Z",fill:"#D2D2D2"}),m("path",{opacity:"0.2",d:"M1.38852 4.72705C1.50561 4.54398 1.68746 4.41183 1.89774 4.35701C2.10803 4.30219 2.33125 4.32873 2.52281 4.43133L5.19424 5.90562C5.28689 5.9561 5.36851 6.0246 5.43431 6.10708C5.5001 6.18957 5.54874 6.28438 5.57735 6.38594C5.60597 6.48749 5.61399 6.59375 5.60094 6.69845C5.5879 6.80315 5.55405 6.90419 5.50138 6.99562C5.38407 7.17844 5.20212 7.31029 4.99186 7.36484C4.78159 7.4194 4.55849 7.39263 4.3671 7.2899L1.69567 5.81562C1.29424 5.58847 1.15281 5.11276 1.38852 4.72705Z",fill:"#DADADA"}),m("path",{d:"M4.75719 1.38849C4.95463 1.27571 5.18837 1.24471 5.40838 1.30211C5.62838 1.35952 5.81718 1.50077 5.93434 1.69564L7.52577 4.35992C7.77005 4.75992 7.62434 5.25564 7.20719 5.49135C7.01006 5.60381 6.77679 5.63479 6.55714 5.57768C6.33749 5.52056 6.14886 5.37988 6.03148 5.18564L4.44005 2.51992C4.22005 2.11992 4.34148 1.59992 4.75862 1.38849H4.75719Z",fill:"#E2E2E2"})]})}function tQ(e){let{style:t,isDark:n}=e;return n?m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:[m("path",{d:"M16.835 1.42689C16.79 1.13816 16.7745 1.12574 16.478 1.07141C16.2032 1.02018 15.9285 1 15.6522 1C15.382 1 15.1119 1.01863 14.8434 1.04657C13.7645 1.15834 12.712 1.39895 11.6906 1.76686C9.8821 2.41884 8.28629 3.39216 6.99474 4.83429C6.93575 4.89949 6.87521 4.92122 6.79914 4.92122C6.78051 4.92122 6.76189 4.91967 6.74171 4.91811C6.19839 4.85912 5.65351 4.76443 5.10864 4.76443H5.07138C4.09962 4.77219 3.34207 5.21772 2.81583 6.04201C2.52865 6.49219 2.24302 6.94392 1.95583 7.39565C1.68883 7.81479 1.41562 8.22771 1.15638 8.6515C0.78847 9.25381 1.1362 9.9772 1.82078 10.0284C2.64507 10.0905 3.46937 10.1402 4.29366 10.1852C4.44269 10.193 4.50633 10.2333 4.5203 10.3917C4.56998 10.9164 4.70969 11.4162 4.99066 11.868C5.53864 12.7466 6.33654 13.2294 7.35488 13.3644C7.73831 13.4156 7.72744 13.4187 7.75539 13.8146C7.80972 14.6063 7.86871 15.3995 7.94322 16.1897C7.98979 16.6833 8.37011 17 8.7939 17C8.96156 17 9.13697 16.9503 9.30152 16.8432C10.2221 16.2409 11.1519 15.6479 12.0445 15.0052C12.8766 14.406 13.2383 13.5616 13.1312 12.5293C13.0861 12.0868 13.0489 11.6429 13.0039 11.2004C12.9899 11.0638 13.0225 10.9598 13.1296 10.862C14.4351 9.66518 15.3665 8.21684 16.003 6.57291C16.5354 5.19754 16.8537 3.77869 16.8987 2.30242C16.9002 2.2605 16.9018 2.21859 16.9018 2.17823C16.9064 1.9252 16.8738 1.67527 16.835 1.42689Z",fill:"url(#paint0_linear_36341_572)"}),m("path",{d:"M12.4817 7H12.4926C13.3253 7 13.9958 6.33959 14.0067 5.50543C14.0166 4.70286 13.351 4.01283 12.5598 4H12.5321C11.7222 4 11.0269 4.59329 11.0071 5.51431C10.9903 6.29121 11.6955 6.99408 12.4817 7Z",fill:"#F8C235"}),m("path",{d:"M6.46835 14.9385C6.03835 15.3732 5.6037 15.8016 5.17525 16.2347C5.07279 16.3387 4.96258 16.4024 4.83529 16.4024C4.78561 16.4024 4.73283 16.3931 4.67695 16.3713C4.47359 16.2968 4.37579 16.1462 4.36648 15.9351C4.36027 15.8016 4.36337 15.6681 4.36027 15.5346C4.35561 15.3763 4.35406 15.3188 4.29197 15.3188C4.25781 15.3188 4.20659 15.3359 4.12742 15.3623C3.64464 15.5222 3.16341 15.6836 2.68063 15.8435C2.60767 15.8684 2.53316 15.8854 2.46175 15.8854C2.39345 15.8854 2.32515 15.8699 2.25684 15.8327C2.05038 15.7162 1.97277 15.5098 2.05504 15.2568C2.21493 14.7616 2.38414 14.2679 2.54713 13.7727C2.61854 13.5585 2.61388 13.5538 2.38258 13.5492C2.24287 13.5476 2.10316 13.5492 1.96345 13.543C1.76009 13.5336 1.61573 13.4343 1.53966 13.2418C1.4667 13.054 1.51327 12.891 1.64988 12.7528C2.0985 12.3026 2.54868 11.8525 2.99886 11.4038C3.07959 11.3231 3.17583 11.2734 3.27984 11.2734C3.2907 11.2734 3.30157 11.2734 3.31088 11.275C3.5546 11.2781 3.68966 11.3868 3.77814 11.6351C4.12121 12.6131 4.74525 13.3536 5.65027 13.8565C5.85052 13.9668 6.06008 14.0568 6.27741 14.1313C6.67016 14.2648 6.75864 14.6451 6.46835 14.9385Z",fill:"#F8C235"}),m("defs",{children:m("linearGradient",{id:"paint0_linear_36341_572",x1:"6.21428",y1:"17",x2:"17.8601",y2:"9.43011",gradientUnits:"userSpaceOnUse",children:[m("stop",{"stop-color":"#424242"}),m("stop",{offset:"0.990396","stop-color":"#898989"})]})})]}):m("svg",{width:"18",height:"18",style:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[m("path",{d:"M16.8346 1.42689C16.7895 1.13816 16.774 1.12574 16.4775 1.07141C16.2027 1.02018 15.928 1 15.6517 1C15.3816 1 15.1115 1.01863 14.8429 1.04657C13.764 1.15834 12.7115 1.39895 11.6901 1.76686C9.88161 2.41884 8.2858 3.39216 6.99425 4.83429C6.93526 4.89949 6.87472 4.92122 6.79865 4.92122C6.78003 4.92122 6.7614 4.91967 6.74122 4.91811C6.1979 4.85912 5.65302 4.76443 5.10815 4.76443H5.0709C4.09913 4.77219 3.34159 5.21772 2.81534 6.04201C2.52816 6.49219 2.24253 6.94392 1.95534 7.39565C1.68834 7.81479 1.41513 8.22771 1.15589 8.6515C0.787982 9.25381 1.13571 9.9772 1.82029 10.0284C2.64458 10.0905 3.46888 10.1402 4.29317 10.1852C4.4422 10.193 4.50584 10.2333 4.51981 10.3917C4.56949 10.9164 4.7092 11.4162 4.99017 11.868C5.53815 12.7466 6.33606 13.2294 7.35439 13.3644C7.73782 13.4156 7.72696 13.4187 7.7549 13.8146C7.80923 14.6063 7.86822 15.3995 7.94273 16.1897C7.9893 16.6833 8.36963 17 8.79342 17C8.96107 17 9.13648 16.9503 9.30103 16.8432C10.2216 16.2409 11.1514 15.6479 12.044 15.0052C12.8761 14.406 13.2378 13.5616 13.1307 12.5293C13.0856 12.0868 13.0484 11.6429 13.0034 11.2004C12.9894 11.0638 13.022 10.9598 13.1291 10.862C14.4346 9.66518 15.366 8.21684 16.0025 6.57291C16.535 5.19754 16.8532 3.77869 16.8982 2.30242C16.8998 2.2605 16.9013 2.21859 16.9013 2.17823C16.906 1.9252 16.8734 1.67527 16.8346 1.42689Z",fill:"url(#paint0_linear_28090_539)"}),m("path",{d:"M12.4807 7H12.4916C13.3243 7 13.9949 6.33959 14.0058 5.50543C14.0156 4.70286 13.3501 4.01283 12.5589 4H12.5312C11.7212 4 11.0259 4.59329 11.0062 5.51431C10.9893 6.29121 11.6945 6.99408 12.4807 7Z",fill:"#F8C235"}),m("path",{d:"M6.46786 14.9385C6.03786 15.3732 5.60321 15.8016 5.17476 16.2347C5.07231 16.3387 4.96209 16.4024 4.8348 16.4024C4.78512 16.4024 4.73234 16.3931 4.67646 16.3713C4.4731 16.2968 4.3753 16.1462 4.36599 15.9351C4.35978 15.8016 4.36289 15.6681 4.35978 15.5346C4.35512 15.3763 4.35357 15.3188 4.29148 15.3188C4.25733 15.3188 4.2061 15.3359 4.12693 15.3623C3.64415 15.5222 3.16292 15.6836 2.68015 15.8435C2.60719 15.8684 2.53267 15.8854 2.46126 15.8854C2.39296 15.8854 2.32466 15.8699 2.25636 15.8327C2.04989 15.7162 1.97228 15.5098 2.05455 15.2568C2.21444 14.7616 2.38365 14.2679 2.54664 13.7727C2.61805 13.5585 2.61339 13.5538 2.3821 13.5492C2.24238 13.5476 2.10267 13.5492 1.96296 13.543C1.75961 13.5336 1.61524 13.4343 1.53917 13.2418C1.46621 13.054 1.51278 12.891 1.64939 12.7528C2.09802 12.3026 2.5482 11.8525 2.99838 11.4038C3.0791 11.3231 3.17534 11.2734 3.27935 11.2734C3.29022 11.2734 3.30108 11.2734 3.3104 11.275C3.55411 11.2781 3.68917 11.3868 3.77765 11.6351C4.12072 12.6131 4.74476 13.3536 5.64978 13.8565C5.85003 13.9668 6.0596 14.0568 6.27692 14.1313C6.66967 14.2648 6.75815 14.6451 6.46786 14.9385Z",fill:"#F8C235"}),m("defs",{children:m("linearGradient",{id:"paint0_linear_28090_539",x1:"6.21379",y1:"17",x2:"17.8596",y2:"9.43011",gradientUnits:"userSpaceOnUse",children:[m("stop",{"stop-color":"#272727"}),m("stop",{offset:"0.990396","stop-color":"#696969"})]})})]})}function nQ(){return m("span",{className:"imt-fb-new-badge",children:m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"8",viewBox:"0 0 22 8",fill:"none",children:[m("path",{d:"M14.5011 7.70492L13.0811 0.294922H14.5911L15.1611 3.91492C15.2277 4.30159 15.2877 4.69159 15.3411 5.08492C15.4011 5.47826 15.4577 5.87492 15.5111 6.27492H15.5511C15.6311 5.87492 15.7111 5.47826 15.7911 5.08492C15.8711 4.69159 15.9477 4.30159 16.0211 3.91492L16.8711 0.294922H18.1411L19.0011 3.91492C19.0811 4.29492 19.1577 4.68492 19.2311 5.08492C19.3111 5.47826 19.3911 5.87492 19.4711 6.27492H19.5211C19.5744 5.87492 19.6277 5.47826 19.6811 5.08492C19.7411 4.69159 19.7977 4.30159 19.8511 3.91492L20.4411 0.294922H21.8411L20.4711 7.70492H18.6311L17.8011 4.03492C17.7411 3.74826 17.6844 3.46492 17.6311 3.18492C17.5777 2.89826 17.5311 2.61492 17.4911 2.33492H17.4511C17.3977 2.61492 17.3411 2.89826 17.2811 3.18492C17.2277 3.46492 17.1744 3.74826 17.1211 4.03492L16.3111 7.70492H14.5011Z",fill:"white"}),m("path",{d:"M7.64844 7.70492V0.294922H12.1884V1.53492H9.12844V3.24492H11.7184V4.48492H9.12844V6.46492H12.2984V7.70492H7.64844Z",fill:"white"}),m("path",{d:"M0.158203 7.70492V0.294922H1.6682L3.8182 4.24492L4.5682 5.84492H4.6182C4.5782 5.45826 4.53487 5.03492 4.4882 4.57492C4.44154 4.11492 4.4182 3.67492 4.4182 3.25492V0.294922H5.8182V7.70492H4.3082L2.1782 3.74492L1.4282 2.15492H1.3782C1.41154 2.55492 1.45154 2.97826 1.4982 3.42492C1.54487 3.87159 1.5682 4.30826 1.5682 4.73492V7.70492H0.158203Z",fill:"white"})]})})}function VA(e){return m("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:[m("circle",{cx:"7",cy:"7",r:"7",fill:"#B1B1B166"}),m("g",{transform:"translate(2, 2)",children:[m("mask",{id:"mask0_39788_745",style:"mask-type:alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"10",height:"10",children:m("rect",{width:"10",height:"10",fill:"#D9D9D9"})}),m("g",{mask:"url(#mask0_39788_745)",children:m("path",{d:"M6.23958 3.76042C6.28819 3.80903 6.35243 3.88194 6.43229 3.97917C6.51215 4.07639 6.59722 4.18056 6.6875 4.29167C6.6875 4.44444 6.63646 4.57292 6.53438 4.67708C6.43222 4.78125 6.30618 4.83333 6.15625 4.83333C6.00056 4.83333 5.86962 4.78125 5.76344 4.67708C5.65726 4.57292 5.60417 4.44444 5.60417 4.29167C5.59722 4.28472 5.59201 4.28646 5.58854 4.29688C5.58507 4.30729 5.58333 4.31076 5.58333 4.30729C5.58333 4.30382 5.59028 4.30382 5.60417 4.30729C5.61806 4.31076 5.62153 4.30903 5.61458 4.30208C5.47569 4.30208 5.3559 4.25104 5.25521 4.14896C5.15451 4.04681 5.10417 3.92771 5.10417 3.79167C5.10417 3.65278 5.15451 3.53299 5.25521 3.43229C5.3559 3.3316 5.47569 3.28125 5.61458 3.28125C5.74653 3.35764 5.86111 3.43403 5.95833 3.51042C6.05556 3.58681 6.14931 3.67014 6.23958 3.76042ZM5 2.75C4.94667 2.75 4.89465 2.75017 4.84396 2.75052C4.79326 2.75087 4.74083 2.75035 4.68667 2.74896C4.54139 2.7566 4.39931 2.72049 4.26042 2.64062C4.12153 2.56076 4.03472 2.44618 4 2.29688C3.96528 2.14757 3.98611 2.01389 4.0625 1.89583C4.13889 1.77778 4.25267 1.71094 4.40385 1.69531C4.50962 1.6901 4.61059 1.68576 4.70677 1.68229C4.80295 1.67882 4.90069 1.67708 5 1.67708C5.97917 1.67708 6.88368 1.93056 7.71354 2.4375C8.5434 2.94444 9.17059 3.64625 9.5951 4.54292C9.62892 4.61847 9.65451 4.69451 9.67188 4.77104C9.68924 4.84757 9.69792 4.92389 9.69792 5C9.69792 5.07611 9.69097 5.15417 9.67708 5.23417C9.66319 5.31417 9.64236 5.39236 9.61458 5.46875C9.49826 5.68972 9.36504 5.89948 9.2149 6.09802C9.06469 6.29656 8.90278 6.49306 8.72917 6.6875C8.63194 6.79861 8.51042 6.85069 8.36458 6.84375C8.21875 6.83681 8.09375 6.78069 7.98958 6.67542C7.88542 6.57007 7.83681 6.44507 7.84375 6.30042C7.85069 6.15569 7.90278 6.02431 8 5.90625C8.13194 5.76736 8.25125 5.62153 8.35792 5.46875C8.46465 5.31597 8.5641 5.15972 8.65625 5C8.30208 4.30556 7.79861 3.75694 7.14583 3.35417C6.49306 2.95139 5.77778 2.75 5 2.75ZM5 8.32292C4.04861 8.32292 3.1684 8.07465 2.35938 7.57812C1.55035 7.0816 0.919896 6.40906 0.468021 5.56052C0.419896 5.46462 0.387153 5.37142 0.369792 5.28094C0.352431 5.19052 0.34375 5.09677 0.34375 4.99969C0.34375 4.90267 0.352431 4.80556 0.369792 4.70833C0.387153 4.61111 0.420139 4.51736 0.46875 4.42708C0.614583 4.13542 0.787361 3.86813 0.987083 3.62521C1.18688 3.38229 1.40646 3.15306 1.64583 2.9375L0.96875 2.27083C0.871528 2.18056 0.821181 2.07812 0.817708 1.96354C0.814236 1.84896 0.861111 1.74306 0.958333 1.64583C1.05556 1.54861 1.16319 1.5 1.28125 1.5C1.39931 1.5 1.50694 1.54861 1.60417 1.64583L8.19792 8.23958C8.29514 8.33681 8.34201 8.44271 8.33854 8.55729C8.33507 8.67188 8.28819 8.77431 8.19792 8.86458C8.10069 8.96181 7.99479 9.01042 7.88021 9.01042C7.76562 9.01042 7.65972 8.96181 7.5625 8.86458L6.70833 8.01042C6.43472 8.12153 6.15382 8.20139 5.86562 8.25C5.57743 8.29861 5.28889 8.32292 5 8.32292ZM2.41667 3.6875C2.20139 3.88194 2.00347 4.08507 1.82292 4.29688C1.64236 4.50868 1.48611 4.74306 1.35417 5C1.69444 5.70139 2.19271 6.25174 2.84896 6.65104C3.50521 7.05035 4.22222 7.25 5 7.25C5.14729 7.25 5.29347 7.24132 5.43854 7.22396C5.58368 7.2066 5.72569 7.18056 5.86458 7.14583L5.39583 6.67708C5.33333 6.70486 5.26736 6.72396 5.19792 6.73438C5.12847 6.74479 5.0625 6.75 5 6.75C4.51389 6.75 4.10069 6.57986 3.76042 6.23958C3.42014 5.89931 3.25 5.48611 3.25 5C3.25 4.9375 3.25694 4.87153 3.27083 4.80208C3.28472 4.73264 3.29514 4.66667 3.30208 4.60417L2.41667 3.6875Z",fill:"white"})})]})]})}function GA(e){return m("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:[m("circle",{cx:"7",cy:"7",r:"7",fill:"#B1B1B166"}),m("g",{transform:"translate(2, 2)",children:[m("mask",{id:"mask0_39789_2446",style:"mask-type:alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"10",height:"10",children:m("rect",{width:"10",height:"10",fill:"#D9D9D9"})}),m("g",{mask:"url(#mask0_39789_2446)",children:m("path",{d:"M4.99984 6.7487C5.48595 6.7487 5.89914 6.57856 6.23942 6.23828C6.5797 5.898 6.74984 5.48481 6.74984 4.9987C6.74984 4.51259 6.5797 4.09939 6.23942 3.75911C5.89914 3.41884 5.48595 3.2487 4.99984 3.2487C4.51373 3.2487 4.10053 3.41884 3.76025 3.75911C3.41998 4.09939 3.24984 4.51259 3.24984 4.9987C3.24984 5.48481 3.41998 5.898 3.76025 6.23828C4.10053 6.57856 4.51373 6.7487 4.99984 6.7487ZM5.00171 5.77995C4.78518 5.77995 4.60053 5.70418 4.44775 5.55266C4.29498 5.40106 4.21859 5.21703 4.21859 5.00057C4.21859 4.78405 4.29435 4.59939 4.44588 4.44661C4.59748 4.29384 4.7815 4.21745 4.99796 4.21745C5.21449 4.21745 5.39914 4.29321 5.55192 4.44474C5.7047 4.59634 5.78109 4.78036 5.78109 4.99682C5.78109 5.21335 5.70532 5.398 5.5538 5.55078C5.4022 5.70356 5.21817 5.77995 5.00171 5.77995ZM4.99984 8.32161C4.05539 8.32161 3.18387 8.07335 2.38525 7.57682C1.58664 7.0803 0.958171 6.41536 0.499837 5.58203C0.444282 5.49175 0.406087 5.39707 0.385254 5.29797C0.364421 5.19887 0.354004 5.09991 0.354004 5.00109C0.354004 4.90227 0.364421 4.80252 0.385254 4.70182C0.406087 4.60113 0.444282 4.50564 0.499837 4.41536C0.958171 3.58203 1.58664 2.9171 2.38525 2.42057C3.18387 1.92405 4.05539 1.67578 4.99984 1.67578C5.94428 1.67578 6.81581 1.92405 7.61442 2.42057C8.41303 2.9171 9.0415 3.58203 9.49984 4.41536C9.55539 4.50564 9.59359 4.60033 9.61442 4.69943C9.63525 4.79852 9.64567 4.89748 9.64567 4.9963C9.64567 5.09512 9.63525 5.19488 9.61442 5.29557C9.59359 5.39627 9.55539 5.49175 9.49984 5.58203C9.0415 6.41536 8.41303 7.0803 7.61442 7.57682C6.81581 8.07335 5.94428 8.32161 4.99984 8.32161ZM5.00077 7.2487C5.77098 7.2487 6.48248 7.04557 7.13525 6.63932C7.78803 6.23307 8.2915 5.6862 8.64567 4.9987C8.2915 4.3112 7.78772 3.76432 7.13432 3.35807C6.48091 2.95182 5.76911 2.7487 4.9989 2.7487C4.22869 2.7487 3.5172 2.95182 2.86442 3.35807C2.21164 3.76432 1.70817 4.3112 1.354 4.9987C1.70817 5.6862 2.21196 6.23307 2.86536 6.63932C3.51876 7.04557 4.23057 7.2487 5.00077 7.2487Z",fill:"white"})})]})]})}function rQ({isOpen:e,onClose:t,children:n}){let[r,i]=z(e);return G(()=>{e?setTimeout(()=>{i(!0)},10):setTimeout(()=>{i(!1)},400)},[e]),!r&&!e?null:m(Oe,{children:[e&&m("div",{className:`${U}-sheet-backdrop  ${e?"visible":""}`,style:{zIndex:2147483646},onClick:t}),m("div",{className:`${U}-sheet ${e&&r?"visible":""}`,style:{zIndex:2147483647},children:m("div",{className:`${U}-sheet-content`,children:n})})]})}var ll=rQ;var ys="imt-fb";function qA(e){if(globalThis.innerWidth<=385)return m(ll,{isOpen:e.visible,onClose:e.onClose,children:m(WA,{contentStyle:{width:"100%"},onConfirm:e.onCloseConfirm,onClose:e.onClose,settingUrl:e.settingUrl})});let r=i=>{i?.target?.id===`${U}-popup-overlay`&&e.onClose()};return e.visible?m("div",{onClick:r,id:`${U}-popup-overlay`,class:`${U}-popup-overlay`,children:m("div",{class:`${U}-popup-wrapper`,style:e.style||e.getModalStyle?.(),children:m(WA,{title:e.title,settingUrl:e.settingUrl,onConfirm:e.onCloseConfirm,onClose:e.onClose})})}):null}function WA(e){let{t}=ee(),[n,r]=z("UntilNext"),i=t("closeQuickTranslation.settingOpen",{1:e.settingUrl}),a=[{title:t("closeQuickTranslation.untilNext"),type:"UntilNext"},{title:t("closeQuickTranslation.currentWebsite"),type:"CurrentWebsite",description:i},{title:t("closeQuickTranslation.alwaysClose"),type:"AlwaysClose",description:i}];return m("div",{class:`${ys}-close-content`,style:e.contentStyle,children:[m("div",{class:"flex justify-between",children:[m("div",{class:`${ys}-close-title`,children:e.title||t("closeQuickTranslation")}),m("div",{class:"clickable",onClick:e.onClose,children:m(Ft,{type:"modal-close"})})]}),m("div",{class:`${ys}-close-radio-content mt-3`,children:a.map(o=>m(iQ,{onClick:()=>{r(o.type)},title:o.title,description:o.description,selected:o.type===n,onLinkClick:s=>{tt(s)}},o.type))}),m("div",{class:"flex mt-3 flex-end",children:[m("div",{class:`${ys}-default-btn`,onClick:e.onClose,children:t("closeQuickTranslation.cancel")}),m("div",{class:`${ys}-primary-btn ml-2`,onClick:()=>{e.onConfirm&&e.onConfirm(n)},children:t("closeQuickTranslation.confirm")})]})]})}function iQ(e){let{selected:t,title:n,description:r,onLinkClick:i}=e,a=aQ(r||"");return m("div",{class:"flex items-center clickable",style:"padding: 8px 0",onClick:e.onClick,children:[m("div",{class:t?`${ys}-radio-sel`:`${ys}-radio-nor`,children:m("div",{})}),m("div",{class:"ml-2 text-sm",children:[m("span",{children:n}),r?m("small",{class:"muted text-sm",children:a.map(o=>o.type==="text"?o.value:m("a",{onClick:()=>o.href&&i&&i(o.href),children:o.value}))}):null]})]})}function aQ(e){let t=[],n=/(<a\s+.*?href="([^"]*)".*?>(.*?)<\/a>)|([^<]+)/g,r=Array.from(e.matchAll(n));for(let i of r){let a=i[2],o=i[3],s=i[4];a&&o?t.push({type:"link",href:a,value:o}):s&&t.push({type:"text",value:s})}return t}function ir({parent:e,ctx:t,Component:n,props:r={},style:i="",id:a,initialCSS:o=!0,isInsertMount:s,attribute:u}){let l=a;e.querySelector(`#${l}`)&&document.querySelector(`#${l}`)?.remove();let c=document.createElement("div");c.id=l,o&&c.setAttribute("style","all: initial"),u&&Object.entries(u).forEach(([p,h])=>{c.setAttribute(p,h)});let d=c.attachShadow({mode:"open"});i&&qt(d,i);let g=d,f=document.createElement("div");f.id="mount",f.style.display="block",s&&(d.appendChild(f),g=f),e.appendChild(c),Zt(m(Ui,{lang:t.config.interfaceLanguage,children:m(n,{...r})}),g)}var T0=null;function KA(e){let[t,n]=z(null),[r,i]=z({}),[a,o]=z(0);G(()=>{let l=e.rule.imageRule,c=l?.toolsMinHeight||100,d=l?.toolsMinWidth||100,g=null,f=h=>{if(h.isHoverMarked||(h.isHoverMarked=!0,Ff(h.src)))return;let C=()=>{g&&clearTimeout(g),!h.closest('[contenteditable="true"]')&&(h.width<d||h.height<c||(l.toolsDelayTime?g=setTimeout(()=>{n(h)},l.toolsDelayTime):n(h)))},y=T=>{g&&clearTimeout(g),!globalThis.document.elementsFromPoint(T.clientX,T.clientY).find(A=>A.classList.contains("imt-img")?!0:A==h)&&n(null)};if(h.addEventListener("mouseover",C),h.addEventListener("mouseout",y),!l.enableParentTriggerTools)return;let v=h.getBoundingClientRect();if(v.width<=c||v.height<=d)return;let b=h;for(;b;){let T=b.parentElement;if(!T)break;let S=T.getBoundingClientRect();if(S.width==v.width&&S.height==v.height)b=T;else break}if(b==h)return;let x=T=>{globalThis.document.elementsFromPoint(T.clientX,T.clientY).find(A=>A==h)||(y(T),globalThis.removeEventListener("mousemove",x))};b.addEventListener("mouseover",()=>{C(),globalThis.addEventListener("mousemove",x)})};T0&&T0.disconnect();let p=Cn(()=>{document.querySelectorAll("img").forEach(h=>{f(h)})},200);return T0=new MutationObserver(()=>{p()}),T0.observe(document,{subtree:!0,childList:!0}),()=>{T0?.disconnect()}},[e]),G(()=>{let l=document.querySelector("#monica-content-root");if(!t){i({});return}let c=()=>{let d=t.getBoundingClientRect(),g=l?56:16,f=d.top+d.height-50,p=d.left+d.width-30-g;i({top:f,left:p})};return c(),globalThis.addEventListener("wheel",c),()=>{globalThis.removeEventListener("wheel",c)}},[t]),G(()=>{if(!t)return;let l=new IntersectionObserver((c,d)=>{c.forEach(g=>{if(!g.isIntersecting){let f=g.target.classList.contains("imt-img"),p=g.target?.translationStatus==="success";if(f||p)return;n(null)}})});return l.observe(t),()=>{l.disconnect()}},[t]);let s=Te(async l=>{if(l.translationStatus==="translating")return;if(jf(l)){oi(l),o(d=>d+1);return}if(setTimeout(()=>{o(d=>d+1)},100),!await Va(e)){e.user?_e("freeImageQuotaExhausted"):_e("freeImageLoginRequired");return}await ai({ctx:ze()||e,ele:l,isSingleImage:!0,trigger:"image_tools"}),o(d=>d+1)},[e]),u=de(()=>{if(!t)return null;if(t.translationStatus=="translating")return"translating";if(t.translationStatus=="success"||t.classList.contains("imt-img"))return"success"},[t,a]);return{hoveImage:t,hoveImageStyles:r,imageStatus:u,handleTranslate:s}}function QA(e){let[t,n]=z(!0),r=Te(async i=>{if(i==="UntilNext"){n(!1);return}let a=await an(),o=a.generalRule?.["imageRule.add"]||{};if(i=="AlwaysClose")await Ca({...a,generalRule:{...a.generalRule,"imageRule.add":{...a.generalRule?.["imageRule.add"],enableTools:!1}}});else if(i=="CurrentWebsite"){let s=o.blockToolsUrls||[];await Ca({...a,generalRule:{...a.generalRule,"imageRule.add":{...o,blockToolsUrls:[...s,globalThis.location.hostname]}}})}n(!1)},[]);return{enable:t,handleCloseConfirm:r}}function oQ({ctx:e,force:t}){let{hoveImage:n,hoveImageStyles:r,imageStatus:i,handleTranslate:a}=KA(e),{t:o}=ee(),[s,u]=z({}),{enable:l,handleCloseConfirm:c}=QA(e),d=e.rule.imageRule.enableTools,g=de(()=>o(i==="translating"?"imageState.translating":i==="success"?"imageTools.resetImage":"imageTools.translateImage"),[n,i]),f=n&&l&&d,p=de(()=>{let C=Number(r.left)-(f?36:0);return{...r,left:C}},[r,f]),h=de(()=>n?n?.hasTranslate:t,[n,t,s]);return m("div",{class:"imt-image-tools notranslate",style:p,children:[!Pe().any&&m(vt,{enableMobile:!0,text:o("feedback"),tipStyle:{left:"unset",right:0,transform:"unset"},position:"top",hidden:!h,children:m("div",{class:"imt-image-translate-button",style:{marginRight:6},onClick:()=>{_e("imageReport")},children:m(Ft,{type:"feedback",className:"imt-manga-feedback",fillColor:"white",style:{margin:6}})})}),f&&m(Oe,{children:[m(vt,{enableMobile:!0,text:g,tipStyle:{left:"unset",right:0,transform:"unset"},position:"top",children:m("div",{class:"imt-image-translate-button",onClick:()=>{a(n);let C=y=>{y.detail==="Translating"||y.detail==="Original"||(u({}),document.removeEventListener(Ua,C))};document.addEventListener(Ua,C)},children:[m(Ft,{type:"logo",className:"logo",style:{width:18,height:18}}),m(Ft,{type:"translated",className:"translated-icon",hidden:i!=="success"})]})}),m(sQ,{ctx:e,imgElement:n,onCloseConfirm:c})]})]})}function sQ(e){let{t}=ee(),[n,r]=z(!1),[i,a]=z({});G(()=>{let s=document.querySelector("#monica-content-root"),u=()=>{if(!e.imgElement)return a({});let l=e.imgElement.getBoundingClientRect(),c=s?56:16,d=l.right-c-360,g=l.top+l.height-100,f=globalThis.innerHeight-260;a({position:"fixed",left:d+"px",top:Math.min(g,f)+"px"})};return u(),globalThis.addEventListener("scroll",u),()=>{globalThis.removeEventListener("scroll",u)}},[e.imgElement]);let o=Ti(e.ctx.config.useOnlineOptions)+"#manga";return m(Oe,{children:[m("div",{title:t("floatBall.close"),class:"close-button",onClick:()=>{r(!0)},children:m(uQ,{})}),m(qA,{title:t("closeImageTools.title"),visible:n,settingUrl:o,onClose:()=>{r(!1)},style:i,onCloseConfirm:e.onCloseConfirm})]})}function zf(e,t){try{if(Ke(e.url,e.rule.imageRule.blockToolsUrls))return null;let r=Nf(e)&&e.rule.imageRule.enableTools;if(t&&(r=!0),!r)return null;let i=U+"-image-tools";if(document.getElementById(i))return;let a=[It["base.css"],It["tailwind-compat.css"],It["float_ball.css"],It["image_tools.css"]].join(`
`);ir({id:i,parent:document.body,ctx:e,Component:oQ,props:{ctx:e,force:t},style:a,isInsertMount:!0})}catch(n){k.error("initImageTools error",n)}}function uQ(){return m("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[m("g",{"clip-path":"url(#clip0_14556_6069)",children:m("path",{d:"M7 14C5.14348 14 3.36301 13.2625 2.05025 11.9497C0.737498 10.637 0 8.85652 0 7C0 5.14348 0.737498 3.36301 2.05025 2.05025C3.36301 0.737498 5.14348 0 7 0C8.85652 0 10.637 0.737498 11.9497 2.05025C13.2625 3.36301 14 5.14348 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14ZM4.183 5.064L6.118 7L4.183 8.936C4.12409 8.99361 4.07719 9.06234 4.04502 9.1382C4.01285 9.21406 3.99605 9.29554 3.99559 9.37794C3.99513 9.46034 4.01101 9.54201 4.04234 9.61823C4.07366 9.69444 4.11978 9.76369 4.17805 9.82195C4.23631 9.88022 4.30556 9.92634 4.38177 9.95766C4.45799 9.98898 4.53966 10.0049 4.62206 10.0044C4.70446 10.004 4.78594 9.98715 4.8618 9.95498C4.93766 9.92281 5.00639 9.87591 5.064 9.817L7 7.882L8.936 9.817C9.05327 9.93168 9.21104 9.99548 9.37506 9.99457C9.53908 9.99365 9.69612 9.92809 9.8121 9.8121C9.92809 9.69612 9.99365 9.53908 9.99457 9.37506C9.99548 9.21104 9.93168 9.05327 9.817 8.936L7.882 7L9.817 5.064C9.87591 5.00639 9.92281 4.93766 9.95498 4.8618C9.98715 4.78594 10.004 4.70446 10.0044 4.62206C10.0049 4.53966 9.98898 4.45799 9.95766 4.38177C9.92634 4.30556 9.88022 4.23631 9.82195 4.17805C9.76369 4.11978 9.69444 4.07366 9.61823 4.04234C9.54201 4.01101 9.46034 3.99513 9.37794 3.99559C9.29554 3.99605 9.21406 4.01285 9.1382 4.04502C9.06234 4.07719 8.99361 4.12409 8.936 4.183L7 6.118L5.064 4.183C4.94673 4.06832 4.78896 4.00452 4.62494 4.00543C4.46092 4.00635 4.30388 4.07191 4.1879 4.1879C4.07191 4.30388 4.00635 4.46092 4.00543 4.62494C4.00452 4.78896 4.06832 4.94673 4.183 5.064Z",fill:"#B1B1B1","fill-opacity":"0.8"})}),m("defs",{children:m("clipPath",{id:"clip0_14556_6069",children:m("rect",{width:"14",height:"14",fill:"white"})})})]})}function YA(e,t){if(t.srcset&&t.srcset.includes(e))return!0;if(t.parentElement instanceof HTMLPictureElement){let n=t.parentElement.querySelector("source");if(n&&n.srcset?.includes(e))return!0}return t.src===e}function zy(e){let t=document.querySelector(`img[src="${e}"]`)||document.querySelector(`img[bak_src="${e}"]`);if(t)return t;let n=document.querySelector(`[srcset*="${e}"]`)||document.querySelector(`[bak_srcset*="${e}"]`);return n instanceof HTMLSourceElement?n.parentElement?.querySelector("img"):n instanceof HTMLImageElement?n:n instanceof HTMLPictureElement?n.querySelector("img"):null}async function Hf(e){let t={};return ec()&&(t.xreferer=location.origin),await Re({url:e,responseType:"base64",headers:t})}var Pt,Hy,cl,E0,Bt=!1;function Oy(){return Bt}var ZA=!1,JA="",lQ=`
.imt-image-status {
  background-color: rgba(0, 0, 0, 0.5) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 16px !important;
}

.imt-image-status img,
.imt-image-status svg,
.imt-img-loading {
  width: 28px !important;
  height: 28px !important;
  margin: 0 0 8px 0 !important;
  min-height: 28px !important;
  min-width: 28px !important;
  position: relative !important;
}

.imt-img-loading {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAMAAACfWMssAAAAtFBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////oK74hAAAAPHRSTlMABBMIDyQXHwyBfFdDMSw+OjXCb+5RG51IvV/k0rOqlGRM6KKMhdvNyZBz9MaupmxpWyj437iYd/yJVNZeuUC7AAACt0lEQVRIx53T2XKiUBCA4QYOiyCbiAsuuGBcYtxiYtT3f6/pbqoYHVFO5r+iivpo6DpAWYpqeoFfr9f90DsYAuRSWkFnPO50OgR9PwiCUFcl2GEcx+N/YBh6pvKaefHlUgZd1zVe0NbYcQjGBfzrPE8Xz8aF+71D8gG6DHFPpc4a7xFiCDuhaWgKgGIJQ3d5IMGDrpS4S5KgpIm+en9f6PlAhKby4JwEIxlYJV9h5k5nee9GoxHJ2IDSNB0dwdad1NAxDJ/uXDHYmebdk4PdbkS58CIVHdYSUHTYYRWOJblWSyu2lmy3KNFVJNBhxcuGW4YBVCbYGRZwIooipHsNqjM4FbgOQqQqSKQQU9V8xmi1QlgHqQQ6DDBvRUVCDirs+EzGDGOQTCATgtYTnbCVLgsVgRE0T1QE0qHCFAht2z6dLvJQs3Lo2FQoDxWNUiBhaP4eRgwNkI+dAjVOA/kUrIDwf3CG8NfNOE0eiFotSuo+rBiq8tD9oY4Qzc6YJw99hl1wzpQvD7ef2M8QgnOGJfJw+EltQc+oX2yn907QB22WZcvlUpd143dqQu+8pCJZuGE4xCuPXJqqcs5sNpsI93Rmzym1k4Npk+oD1SH3/a3LOK/JpUBpWfqNySxWzCfNCUITuDG5dtuphrUJ1myeIE9bIsPiKrfqTai5WZxbhtNphYx6GEIHihyGFTI69lje/rxajdh0s0msZ0zYxyPLhYCb1CyHm9Qsd2H37Y3lugVwL9kNh8Ot8cha6fUNQ8nuXi5z9/ExsAO4zQrb/ev1yrCB7lGyQzgYDGuxq1toDN/JGvN+HyWNHKB7zEoK+PX11e12G431erGYzwmytAWU56fkMHY5JJnDRR2eZji3AwtIcrEV8Cojat/BdQ7XOwGV1e1hDjGGjXbdArm8uJZtCH5MbcctVX8A1WpqumJHwckAAAAASUVORK5CYII=");
  background-size: 28px 28px;
  animation: image-loading-rotate 1s linear infinite !important;
}

.imt-image-status span {
  color: var(--bg-2, #fff) !important;
  font-size: 14px !important;
  line-height: 14px !important;
  font-weight: 500 !important;
  font-family: "PingFang SC", Arial, sans-serif !important;
}

@keyframes image-loading-rotate {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}
`;function tk(){ZA||(qt(document,lQ,U+"-image-base-injected-css"),ZA=!0);let e=Pt?.injectedCss||"";JA!==e&&(qt(document,e,U+"-image-injected-css"),JA=e)}async function nk(e){if(Pt=e.rule.imageRule,!Pt.type)return;if(!await Va(e)){e.user?_e("freeImageQuotaExhausted"):_e("freeImageLoginRequired");return}Bt=!1,tk();let t=!1,n=Cn(async function(){Pt?.disableMarkSelector&&(t=!!document.querySelector(Pt.disableMarkSelector));let i=lk(Pt),a=ck(Pt),o=[...i,...a];for(let s of o){if(Bt)return;s.isMarked&&!Pt?.disableMarkElement||(s.isMarked=!0,await it(20),await r({ctx:e,ele:s,disableMark:t,disableLoading:!1}))}},100);if(se({key:"translate_manga",ctx:e}),n(),Hy=new MutationObserver(()=>{n()}),Hy.observe(document.body,{childList:!0,subtree:!0}),Pt.intersectionRootMargin){let i=Pt?.intersectionRootSelector?document.querySelector(Pt?.intersectionRootSelector):void 0;E0=new IntersectionObserver(a=>{a.forEach(o=>{o.isIntersecting&&(ai({ctx:e,ele:o.target}),E0?.unobserve(o.target))})},{root:i,rootMargin:Pt.intersectionRootMargin,threshold:Pt.intersectionThreshold})}cl=new MutationObserver(i=>{i.forEach(a=>{if(a.target instanceof HTMLImageElement){if(a.attributeName!="src")return;a.target instanceof HTMLImageElement&&a.target.src&&r({ctx:e,ele:a.target,disableMark:t,disableLoading:!1})}if(a.target instanceof HTMLCanvasElement&&Pt?.urlFetchType=="canvasArgs"){let o=a.target.getAttribute("data")||"";if(o){a.oldValue&&oi(a.target,!0),r({ctx:e,ele:a.target,disableMark:t,disableLoading:fQ(o)});return}}if(a.target instanceof HTMLCanvasElement){if(a.attributeName!="height")return;Number(a.target.getAttribute("height"))>0&&r({ctx:e,ele:a.target,disableMark:t,disableLoading:!1})}if(a.target instanceof HTMLElement&&(a.attributeName||"")==="style"){let s=globalThis.getComputedStyle(a.target).backgroundImage;s&&s.includes("url(")&&(a.oldValue&&oi(a.target,!0),r({ctx:e,ele:a.target,disableMark:t,disableLoading:!1}))}})});async function r({ctx:i,ele:a,disableMark:o,disableLoading:s}){a&&(!o&&a.hasTranslate||(Pt?.intersectionRootMargin?(E0?.unobserve(a),E0?.observe(a)):await ai({ctx:i,ele:a,disableLoading:s})))}}async function ai({ctx:e,ele:t,forceUsePro:n,isSingleImage:r,trigger:i,disableLoading:a}){let o=e.rule.imageRule.type||"common",s=Pu();if(r&&(Bt=!1),Bt||vQ(e,t)||t.hasTranslate)return;Pt=e.rule.imageRule,tk();let u=!1;Pt?.disableMarkSelector&&(u=!!document.querySelector(Pt.disableMarkSelector)),t.translationStatus="translating";let l=null,c=gQ(e,t)||a;c||(l=ul(e,t,"translating")),r&&(o="common");try{if(!hs(Pt))throw new ii(oe("error.mangaPlatformLimit"),"show_error");let d=!1;if(t instanceof HTMLImageElement?(SQ(e,t),d=await pQ({context:e,trigger:i||"",forceUsePro:n||!1,imgEle:t,imageType:o,loading:l})):t instanceof HTMLCanvasElement?d=await cQ({context:e,trigger:i||"",forceUsePro:n||!1,canvasEle:t,disableMark:u,imageType:o,loading:l}):sk(t)&&(d=await dQ({context:e,trigger:i||"",forceUsePro:n||!1,bgEle:t,disableMark:u,imageType:o,loading:l})),Bt&&!r)return;d?(t.translationStatus="success",c||ul(e,t,"success")):d==!1&&(c||ul(e,t,"error"),t.translationStatus="error",!r&&o==="manga"&&Or("Error",Bt))}catch(d){if(l?.remove(),d=="none"||Bt&&!r)return;if(t.translationStatus="error",o=="manga"&&Or("Error",Bt),d instanceof Y&&d.errorMessage.includes("Comics free quota exceeded")){_e("freeImageQuotaExhausted"),Bt=!0,wQ(e);return}if(d instanceof ii)return ul(e,t,"error",d.type,d.message);if(bQ(e,d,r||!1),c)return;ul(e,t,"error")}finally{r&&Or(s,Bt),l?.remove()}}function rk(e,t){let n=zy(t);n&&ai({ctx:e,ele:n})}function ik(e){let t=zy(e);t&&oi(t)}function ak(){if(!Pt)return;Bt=!0,Hy?.disconnect(),cl?.disconnect(),E0?.disconnect();let e=lk(Pt),t=ck(Pt),n=[...e,...t];for(let r of n)oi(r)}function oi(e,t){if(e.hasTranslate=!1,e.isMarked=!1,e.translationStatus=void 0,e.classList.contains("imt-img")){e.parentElement?.querySelectorAll("img")?.forEach(i=>{i.classList.contains("imt-img")||i.hasTranslate&&oi(i)});return}let n=e.parentElement?.querySelector(".imt-img");if(n){if(n.style.display="none",n==e)return;e.style.display="inherit";return}if(e instanceof HTMLImageElement){let r=e.getAttribute("bak_src");if(!r||(e.removeAttribute("bak_src"),t))return;if(e.setAttribute("src",r),e.srcset&&(e.setAttribute("srcset",e.getAttribute("bak_srcset")||""),e.removeAttribute("bak_srcset")),e.parentElement instanceof HTMLPictureElement){let i=e.parentElement.querySelector("source");i?.setAttribute("srcset",i.getAttribute("bak_srcset")||""),i?.removeAttribute("bak_srcset")}}else{let r=e.getAttribute("bak_background_image");r!==null&&(e.removeAttribute("bak_background_image"),t||(e.style.backgroundImage=r||""))}}async function cQ({context:e,trigger:t,forceUsePro:n,canvasEle:r,disableMark:i,imageType:a,loading:o}){let s=e.rule.imageRule;if(!i&&r.hasTranslate)return;let u=null,l;if(s.urlFetchType=="canvasArgs"){if(r.hasObserve||(cl?.observe(r,{attributeOldValue:!0,attributes:!0,attributeFilter:["data"]}),r.hasObserve=!0),l=r.getAttribute("data")||"",!l)throw new ii(oe("error.mangaPlatformLimit"),"show_error");let{url:g,args:f,width:p,height:h}=JSON.parse(atob(l));p&&h&&p!=r.width&&h!=r.height&&(r.width=p,r.height=h),u=await hQ(g,f,r.cloneNode(!0))}else u=await dk(r);if(Bt)return;if(!u||u.size<6*1e4){cl?.observe(r,{attributeOldValue:!0,attributes:!0});return}r.hasTranslate=!0;let c=await zu(u);if(await w0(e,r,c))return!0;if(!c)return;let d=await Gy({context:e,imgEle:r,trigger:t,blob:u,imgHash:c,imageType:a,loading:o,forceUsePro:n});return mQ(l),d}function ok(e){return e&&e.match(/url\(("|')?(.*?)\1\)/i)?.[2]||""}function sk(e){if(!e||e instanceof HTMLImageElement||e instanceof HTMLCanvasElement)return!1;let t=globalThis.getComputedStyle(e).backgroundImage;return!!(t&&t!=="none"&&t.includes("url("))}async function dQ({context:e,trigger:t,forceUsePro:n,bgEle:r,disableMark:i,imageType:a,loading:o}){let s=e.rule.imageRule;if(!i&&r.hasTranslate)return;let u=globalThis.getComputedStyle(r).backgroundImage||"",l=ok(u);if(!fk(s,l)){cl?.observe(r,{attributeOldValue:!0,attributes:!0});return}r.hasTranslate=!0;let c=Fy(l);if(await w0(e,r,c))return!0;if(Or("Translating",Bt),Bt)return;let g=null;if(l.startsWith("blob:")){let h=await fetch(l);await xi(h),g=await h.blob()}else if(g=await mk(l),!g){let h=await Hf(l);g=Ki(h)}if(Bt)return;if(await v0(g))throw new ii("GIFs not supported","gif_not_supported");let p=await zu(g);return!c&&(c=p,await w0(e,r,c))?!0:c?Gy({context:e,trigger:t,imgEle:r,blob:g,cacheKey:c,imgHash:p,imageType:a,loading:o,forceUsePro:n}):!1}async function Gy({context:e,trigger:t,imgEle:n,blob:r,cacheKey:i,imgHash:a,imageType:o,loading:s,forceUsePro:u}){let l=await yQ(r)||r,c=i||a;try{if(Bt)return;Or("Translating",Bt),Ry(e,s,"extension_uploading");let d={sourceUrl:c,to:e.targetLanguage,imgHash:a,siteUrl:location.href};Qi(d);let g=h=>{Ry(e,s,h)},f=await CQ(e,u)||o=="manga";o=="common"&&zf(e,!0),TQ(e,o,t,f);let p=f?await b0({context:e,sourceUrl:c,blob:l,imgHash:a,imageType:o,onStateChange:g}):await Of({context:e,sourceUrl:c,imgEle:n,blob:l,imgHash:a,onStateChange:g,imageDb:d});return p?(f&&(d.targetUrl=p),Qi(d),await gk(Pt,n,p),Or("Translated",Bt),!0):void 0}catch(d){if(Qi({sourceUrl:c,to:e.targetLanguage,error:d.message}),Bt)return;throw d}}async function w0(e,t,n){if(!n)return!1;let r={sourceUrl:n,to:e.targetLanguage},i=ps(r);return i&&i?.targetUrl?(await gk(Pt,t,i.targetUrl||""),Or("Translated",Bt),!0):!1}function gQ(e,t){if(t instanceof HTMLImageElement){let r={sourceUrl:t.src,to:e.targetLanguage},i=ps(r);return i&&i?.targetUrl}if(t instanceof HTMLElement){let n=globalThis.getComputedStyle(t).backgroundImage,r=ok(n);if(r){let i={sourceUrl:r,to:e.targetLanguage},a=ps(i);return a&&a?.targetUrl}}return!1}var uk={};function mQ(e){e&&(uk[e]=!0)}function fQ(e){if(e)return uk[e]}async function pQ({context:e,trigger:t,forceUsePro:n,imgEle:r,imageType:i,loading:a}){let o=e.rule.imageRule;if(r.classList.contains("imt-img"))return;let s=r.src||"";if(!fk(o,s)){cl?.observe(r,{attributeOldValue:!0,attributes:!0});return}r.hasTranslate=!0;let u=Fy(s);if(await w0(e,r,u))return!0;let l=null;if(Or("Translating",Bt),Bt)return;if(s.startsWith("blob:")){let g=await fetch(s);await xi(g),l=await g.blob()}else if(l=await mk(s),!l){let g=await Hf(s);l=Ki(g)}if(Bt)return;if(await v0(l))throw new ii("GIFs not supported","gif_not_supported");let d=await zu(l);return!u&&(u=d,await w0(e,r,u))?!0:u?Gy({context:e,trigger:t,imgEle:r,blob:l,cacheKey:u,imgHash:d,imageType:i,loading:a,forceUsePro:n}):!1}function lk(e){if(!e?.imageSelectors)return[];let t=[];return e.imageSelectors?.forEach(n=>{t.push(...document.querySelectorAll(n))}),t}function ck(e){if(!e?.backgroundImgSelectors)return[];let t=[];return e.backgroundImgSelectors.forEach(n=>{document.querySelectorAll(n).forEach(r=>{let i=globalThis.getComputedStyle(r).backgroundImage;i&&i!=="none"&&i.includes("url(")&&t.push(r)})}),t}function dk(e){return new Promise((t,n)=>{try{if(!e.getContext("2d"))return null;e.toBlob(function(i){t(i)},"image/png")}catch(r){n(r)}})}function hQ(e,t,n){return new Promise(async(r,i)=>{try{let a;e.startsWith("blob:")?a=await fetch(e).then(s=>s.blob()).then(s=>URL.createObjectURL(s)):Me()&&!Ze()?a=await fetch(e).then(s=>s.blob()).then(s=>URL.createObjectURL(s)):a=await Hf(e);let o=document.createElement("img");o.src=a,o.onload=async()=>{let s=n.getContext("2d");t.forEach(l=>{s?.drawImage?.apply(s,[o,...l])});let u=await dk(n);r(u)},o.onerror=()=>{i(new Error("\u65E0\u6CD5\u83B7\u53D6Canvas\u4E0A\u4E0B\u6587"))}}catch(a){i(a)}})}async function gk(e,t,n){try{return await XA(e,t,n)}catch{let i=await xQ(n);return XA(e,t,i)}}async function XA(e,t,n){return new Promise((i,a)=>{if(Bt)return i("");if(e?.opImageType=="append"||e?.opImageType=="insertFirst"){let o=t.parentElement?.querySelectorAll(".imt-img"),s=o?.[0];o&&o.forEach(u=>u.remove()),t instanceof HTMLImageElement?(s=t.cloneNode(!0),s.classList.add("imt-img"),e.imageStyle&&s.setAttribute("style",e.imageStyle),s.hasTranslate=!0,s.onload=()=>{s&&r(s),t.hasTranslate=!0,t.style.display="none",i("")},s.removeAttribute("srcset")):t instanceof HTMLCanvasElement&&(s=document.createElement("img"),s.onload=()=>{let u=t.cloneNode(!0);u.removeAttribute("data"),u.classList.add("imt-img"),u.style.display="unset",u.hasTranslate=!0,u.getContext("2d")?.drawImage(s,0,0),r(u),t.style.display="none",i("")}),s.setAttribute("src",n),s.onerror=()=>{a("")}}else if(t instanceof HTMLImageElement){let o=t.src||"";if(t.setAttribute("bak_src",o),t.setAttribute("src",n),t.srcset&&(t.setAttribute("bak_srcset",t.srcset),t.setAttribute("srcset",n)),t.parentElement instanceof HTMLPictureElement){let s=t.parentElement.querySelector("source");s?.setAttribute("bak_srcset",s.srcset||""),s?.setAttribute("srcset",n)}t.onload=()=>{i("")},t.onerror=()=>{a("")}}else if(sk(t)){let o=globalThis.getComputedStyle(t).backgroundImage||"";t.setAttribute("bak_background_image",o),t.hasTranslate=!0;let s=new Image;s.decoding="async",s.onload=()=>{requestAnimationFrame(()=>{t.style.backgroundImage=`url("${n}")`,i("")})},s.onerror=()=>{t.style.backgroundImage=`url("${n}")`,i("")},s.src=n}});function r(i){e.opImageType=="insertFirst"?t.parentElement?.insertBefore(i,t.parentElement?.firstChild):t.parentElement?.appendChild(i)}}function mk(e){return new Promise((t,n)=>{let r=new Image;r.crossOrigin="Anonymous",r.onload=function(){let i=document.createElement("canvas"),a=i.getContext("2d");i.width=r.width,i.height=r.height,a.drawImage(r,0,0),i.toBlob(o=>{o?t(o):(t(null),k.error("Blob conversion failed"))},"image/png")},r.onerror=function(){t(null),k.error("Image loading failed")},r.src=e})}function yQ(e,t=.92){return new Promise((n,r)=>{try{if(e.type==="image/webp"){let i=new Image;i.src=URL.createObjectURL(e),i.onload=function(){let a=document.createElement("canvas");a.width=i.width,a.height=i.height;let o=a.getContext("2d");if(!o)return r("ctx is null");o.drawImage(i,0,0),a.toBlob(function(s){n(s)},"image/jpeg",t)},i.onerror=function(){r("\u65E0\u6CD5\u52A0\u8F7DWebP\u56FE\u7247\u3002")}}else n(e)}catch(i){r(i)}})}function fk(e,t){return!t||t.startsWith("/")?!1:e.inValidSrcRegex?!lm(e.inValidSrcRegex,t):!0}var Vf=0,S0=0;function bQ(e,t,n){let r=n?1:Pt.errorTimes,i=n?0:Pt.errorInterval||3e3;if(Vf!=0){S0++;return}if(t.message.indexOf("quota exceeded")>0){$A(e,t);return}S0++,Vf=setTimeout(()=>{if(S0<(r||3)){Vf=0,S0=0;return}$A(e,t),S0=0,Vf=0},i)}function $A(e,t){let n=t instanceof Y?t:new Y("manga",t.message);n.name="manga";let r=n.uiConfig(e);_e("showErrorModal",r)}function jf(e){return e.classList.contains("imt-img")||e.hasTranslate}function vQ(e,t){return t.classList.contains("imt-img")||t.classList.contains("imt-img-loading")}async function xQ(e){let t;if(Ze()){let n=await Re({url:e,responseType:"base64"});t=Ki(n)}else t=await(await fetch(e)).blob();return URL.createObjectURL(t)}async function CQ(e,t){return await lA(e)=="pro"||t}function TQ(e,t,n,r){if(t!="common")return;se({key:r?"translate_image":"translate_image_client",ctx:e,params:{trigger:n||""}})}var Vy;function SQ(e,t){e.rule.imageRule.enableImageSrcObserver&&(EQ(e),Vy?.observe(t,{attributeOldValue:!0,attributes:!0,attributeFilter:["src","srcset"]}))}function EQ(e){if(Vy)return;let n=e.rule.imageRule.imageTranslationUrls;Vy=new MutationObserver(r=>{r.forEach(i=>{if(i.target?.hasTranslate&&i.target instanceof HTMLImageElement){if(i.attributeName!=="src"&&i.attributeName!=="srcset")return;if(i.attributeName==="src"){let a=i.target.src;if(n.find(o=>a.includes(o)))return}if(i.attributeName==="srcset"){let a=i.target.srcset;if(n.find(o=>a.includes(o)))return}oi(i.target,!0)}})})}var ek=!1;async function wQ(e){if(ek)return;ek=!0;let t=await Qu();t&&(e.user=t,e.isPro=Mt(t))}var Wy=[],AQ=new AbortController,{signal:kQ}=AQ,k0=0,M0=0,bs=!1,To,pk=0,La=[];async function Yy(e){let t=await Sn();rc(t)&&e.rule.pageType!="pdfReader"&&(MQ(),nl().forEach(n=>{Gf(e,n)}))}function Gf(e,t=window){let n=e,r=n.rule,i=n.config,a=r.mouseHoverHoldKey==="Off",o=i.mouseModifierKeyPressTimeout||400;n.state.isTranslateDirectlyOnHover===!0&&(a=!1);let s=n.state.isTranslateDirectlyOnHover===!0||r.mouseHoverHoldKey==="Auto";r.mouseHoverHoldKey==="MouseHoldKeyPressHold"&&DQ(n,t);function u(){s=!s,s?(k.debug("mouse hover translate on"),n.state.isTranslateDirectlyOnHover=!0,Gf(n,t)):(k.debug("mouse hover translate off"),n.state.isTranslateDirectlyOnHover=!1,Gf(n,t))}t.document.addEventListener(ic,u),La.push(()=>{t.document.removeEventListener(ic,u)});let l=xn(f=>{if(!(Math.abs(f.clientX-k0)+Math.abs(f.clientY-M0)<=3)&&(k0=f.clientX,M0=f.clientY,bs&&!To&&Qy(n,!1,t),s||bs&&!To)){let p=Dn(n),h=vk(n.rule,p,t);if(h){if(Ky(h))return;Wf(n,!1,t,h)}}},s?700:300),c=f=>{let p=f.target;Ky(p)||(Wf(n,!0,t),Qy(n,!0,t,!0))},d=f=>{let p=r?.mouseHoverHoldKey?.toLowerCase()||"alt";if(f.type==="keydown"&&(Wy=Wt.getPressedKeyCodes()),f.type==="keyup"){let h=Wy,C=Vd[p]===h[0];if(h.length>1&&C&&(pk=Date.now(),bs=!1),h.length===1&&C){let y=Date.now();bs=!0,To&&clearTimeout(To),To=setTimeout(()=>{let v=pk-y;v>0&&v<=o?bs=!1:c(f),To=void 0},o)}Wy=[]}};if(La.push(()=>{To&&clearTimeout(To)}),a)return;A0("mousemove",l,t),La.push(()=>{t.removeEventListener("mousemove",l)});function g(){s?l.cancel():bs=!1}if(A0("blur",g,t),La.push(()=>{t.removeEventListener("blur",g)}),!s){let f=r?.mouseHoverHoldKey?.toLowerCase()||"alt",p=s8;A0("keyup",hk,t),La.push(()=>{t.removeEventListener("keyup",hk)}),p.includes(f)?Wt("*",{scope:"mouseHover",element:t.document,keyup:!0},d):Wt(r.mouseHoverHoldKey,{scope:"mouseHover",element:t.document},h=>{if(f==="*"){h.key==="*"&&c(h);return}c(h)}),Wt.setScope("mouseHover"),La.push(()=>{Wt.deleteScope("mouseHover")})}}function MQ(){try{La.forEach(e=>e())}catch{}La=[],Wt.setScope("all")}function hk(e){bs=!1}function A0(e,t,n=window){return n.addEventListener(e,t,{signal:kQ})}async function Wf(e,t,n,r){let i={...Dn(e)};if(r=r||vk(e.rule,i,n),!r){k.debug("can not find selection part!");return}if(LQ(r,t))return;if(Ky(r)){k.debug("exclude  dom");return}yA(e,r);let o=Lf();o&&(o.setupMouseHoverListener=Gf),i.excludeSelectors=[...e.rule.mouseHoverExcludeSelectors],i.excludeSelectorsRegexes={},i.selectors=[];let s=!1,{engineCtx:u,ctx:l}=Ay(o,e);Xu({id:o.id,container:r,filterRule:i,force:!0,onParagraph:async c=>{if(!await In({ctx:e,usageScene:"mouse_hover",service:e.mouseHoverTranslationService}))return;dm(n.document.documentElement)!==l.state.translationMode&&_i(n.document.documentElement,l.state.translationMode),vy(u,c,!0,!0,"hotkey-hover").then(f=>{if(o.autoIncreaseParagraphId=u.autoIncreaseParagraphId,o.paragraphEntities=u.paragraphEntities,o.paragraphQueue=u.paragraphQueue,f&&!s){s=!0;let p=Date.now();Tt(q5,p);let h={translation_service:u?.translationService||""};se({key:"mouse_hover_translate",ctx:{...l,sourceLanguage:"mouseHover"},params:h})}})},onFrame:()=>{},onIgnoreElement:()=>{}})}function vk(e,t,n){return IQ(k0,M0,e,t,n)}function IQ(e,t,n,r,i){let a=qx(e,t,n,i);if(a==null)return;if(a instanceof HTMLElement)return a;let o=()=>{let l=i.document.elementFromPoint(e,t);if(!l)return;let c=I4(l,e,t);return c===l?l.nodeName==="BUTTON"?l:void 0:bk(c,r)},s=()=>{try{a.setStartBefore(a.startContainer),a.setEndAfter(a.startContainer)}catch(c){k.debug("get mouse over word fail",c)}let l=a.getBoundingClientRect();if(!(l.left>e||l.right<e||l.top>t||l.bottom<t))return bk(a.startContainer,r)},u;return a.startContainer.nodeType!==Node.TEXT_NODE?u=o():u=s(),u}function Ky(e){return!!(!(e.nodeType===Node.ELEMENT_NODE||e.nodeType===Node.TEXT_NODE)||e.nodeType===Node.ELEMENT_NODE&&Wg(e,Q5))}function LQ(e,t){let n=e.closest("[data-imt-p]")||e.querySelector("[data-imt-p]");return!t||!n?.paragraphs?.length?!1:(My(n),!0)}function qy(e){return!!(e.host&&e.mode)}function yk(e,t){let n=e.parentNode;if(n.nodeName==="BODY"||qy(n))return e;for(;n&&n.nodeName!=="BODY"&&!qy(n)&&A4(n,t);){let r=n.parentNode;if(r&&qy(r))break;n=r}return n}function bk(e,t){return e.nodeType===Node.TEXT_NODE||A4(e,t)?yk(e,t):e}function xk(e,t,n){k0=t.clientX,M0=t.clientY,Wf(e,!0,n),Qy(e,!0,n)}async function Qy(e,t,n,r){if(!cA(e)||!Nf(e))return;let i=Kx(k0,M0,e.rule,n);if(!i||Ff(i.src)||i.translationStatus==="translating")return;let a=jf(i);if(!(a&&!t)&&!(a&&!r)){if(a){oi(i);return}ai({ctx:e,ele:i,isSingleImage:!0,trigger:"image_mouse_hover"})}}function DQ(e,t){if(!e.config.generalRule.mousePressHoldTranslateDelay)return;let n=e.config.generalRule.mousePressHoldTranslateDelay;typeof n!="number"&&(n=1e3);let r,i=!1,a=s=>{s.button===0&&(i=!0,r=setTimeout(()=>{let u=t.getSelection()?.toString().trim();i&&u===""&&Wf(e,!0,t)},n))},o=()=>{i=!1,r&&clearTimeout(r)};A0("mousedown",a,t),A0("mouseup",o,t),La.push(()=>{t.removeEventListener("mousedown",a),t.removeEventListener("mouseup",o)})}function I0(e){return(e?.id?.endsWith("pdfWebPage")||!1)&&globalThis.top==globalThis.self}async function Ck(){try{if(globalThis.top!==globalThis.self||!document.body)return!1;let e=document.body.clientHeight,t=document.body.hasChildNodes();return document.body.children.length===0&&t||e===0?!!(await fetch(location.href)).headers.get("content-type")?.includes("application/pdf"):!1}catch{return!1}}function L0(e){try{if(!e||!I0(e))return"";let t="",n=e.pdfUrlExtractRule,r=n.selectors||[];n.selector&&r.push(n.selector);let i=n.attributes||[];n.attribute&&i.push(n.attribute);let a=n.queries||[];n.query&&a.push(n.query);for(let s of r)if(!document.querySelectorAll(s))return"";for(let s of r){let u=document.querySelectorAll(s);if(u.length){for(let l of u){for(let c of i)if(t=l.getAttribute(c)||"",t)break;if(t)break}if(t)break}}t||(t=document.querySelector("embed[type='application/pdf']")?.getAttribute("src")||"");let o=PQ(location.href,t);for(let s of a){let l=new URL(o).searchParams.get(s)||"";if(l)return l}return o}catch{return""}}function PQ(e,t){if(t.startsWith("about:"))return"";if(t.startsWith("//"))try{return new URL(e).protocol+t}catch{return"https:"+t}if(t.startsWith("http://")||t.startsWith("https://"))return t;try{if(t.startsWith("/")){let n=new URL(e);return n.protocol+"//"+n.host+t}else{let n=new URL(e);return new URL(t,n.href).href}}catch{return""}}var RQ=new Set(["http:","https:","file:","data:"]);function Zy(e){if(e instanceof URL)return e;try{return new URL(e)}catch{return null}}function NQ(e){let t=Zy(e);if(!t)return!1;let n=a7(),r="";try{r=new URL(n).hostname}catch{}return!!(r&&t.hostname===r)}function Tk(e){let t=Zy(e);return t?NQ(t)?!0:!(!RQ.has(t.protocol)||D0(t)||da()&&e.startsWith("https://microsoftedge.microsoft.com/addons/")||!da()&&qn()&&e.startsWith("https://chromewebstore.google.com/")||On()&&/https?:\/\/[a-z]*\.mozilla\.org/.test(e)):!1}function D0(e){let t=Zy(e);return t?t.protocol==="data:"?(t.pathname.split(",")[0]?.toLowerCase()??"").split(";")[0]==="application/pdf":t.pathname.toLowerCase().endsWith(".pdf"):!1}var FQ=async function(e){let{method:t,data:n}=e;if(t==="getTranslationStateSnapshot"){let r=ze();return{pageStatus:rt(),state:r?BQ(r):void 0}}if(t==="checkAndRecordTranslationUsage"){let r=ze();if(!r)return k.warn("checkAndRecordTranslationUsage: no context available"),!0;let{usageScene:i,service:a}=n||{};return i?await In({ctx:r,usageScene:i,service:a}):(k.warn("checkAndRecordTranslationUsage: missing usageScene parameter"),!0)}};function BQ(e){return{translationMode:e.state.translationMode,previousTranslationMode:e.state.previousTranslationMode,translationArea:e.state.translationArea,translationStartMode:e.state.translationStartMode,translationTheme:e.state.translationTheme,isAutoTranslate:e.state.isAutoTranslate,translationService:e.translationService,targetLanguage:e.targetLanguage,subtitleTranslateService:e.subtitleTranslateService}}function Sk(){Ta({type:"content",name:"main_top",topFrame:!0},FQ,{registerSender:!1})}var et={},Jy=async function(e){let{method:t,data:n}=e;if(t==="getIsDulSubtitle")return et.getIsDulSubtitle();if(t==="getPageStatus")return rt();if(t==="toggleSidePanel"){let a=ze();co(a,n?.trigger,n?.open,n?.toggled);return}if(t==="openAiWritingModal"){let a=ze();et.openAiWritingModal(a,"shortcut");return}t==="updateContextState"&&await et.updateContextState(n),Lr();let r=await et.updateGlobalContext(),i=Date.now();if(t==="translateTheWholePage")await et.translateTheWholePage(n),Tt(fi,i);else if(t==="translateTheMainPage")await et.translateTheMainPage(n),Tt(fi,i);else if(t==="translateToThePageEndImmediately")await et.translateToThePageEndImmediately(n),Tt(fi,i);else if(t==="toggleTranslateManga")await et.toggleTranslateManga(),Tt(fi,i);else if(t==="toggleTranslatePage"){let a=location.href,o=D0(a)?a:"";if(!o&&await Ck()&&(o=a),!o&&I0(r?.rule)){let s=L0(r.rule);s&&(o=s)}if(o)try{Je()||await et.translatePdfWithNewTab(o)}catch{}await et.toggleTranslatePage(n),Tt(fi,i)}else if(t==="toggleTranslateTheWholePage")await et.toggleTranslateTheWholePage(n),Tt(fi,i);else if(t==="toggleTranslateTheMainPage")await et.toggleTranslateTheMainPage(n),Tt(fi,i);else if(t==="toggleOnlyTransation")await et.ensureSwitchTranslationMode(n),Tt(fi,i);else if(t=="toggleEnableEditTranslation")et.toggleEnableEditTranslation();else if(t==="translatePage")await et.translatePage(r,n),Tt(fi,i);else if(t==="toggleTranslationMask")await et.toggleTranslationMask(n);else if(t==="restorePage")et.restorePage();else if(t==="retryFailedParagraphs")et.retryFailedParagraphs();else if(t=="change_translate_service")et.reportTranslateService(r,n);else if(t==="switchTranslationMode"){if(r.rule.isPdf)return;n&&n.mode&&(await et.switchTranslationMode(n.mode),await et.reloadSubtitleWithTranslationModeChanged())}else if(t==="autoEnableSubtitleChanged")et.autoEnableSubtitleChanged(r,n);else if(t==="tempDisableSubtitleChanged")et.tempDisableSubtitleChanged(r,n);else if(t=="toggleTranslateToThePageEndImmediately")await et.toggleTranslateToThePageEndImmediately(n);else if(t==="toggleMouseHoverTranslateDirectly")globalThis.document.dispatchEvent(new CustomEvent(ic,{detail:n}));else if(t==="translateWithOpenAI")await et.translatePageWithTranslationService("openai",n);else if(t==="translateWithGoogle")await et.translatePageWithTranslationService("google",n);else if(t==="translateWithDeepL")await et.translatePageWithTranslationService("deepl",n);else if(t==="translateWithBing")await et.translatePageWithTranslationService("bing",n);else if(t==="translateWithTransmart")await et.translatePageWithTranslationService("transmart",n);else if(t==="translateWithGemini")await et.translatePageWithTranslationService("gemini",n);else if(t==="translateWithClaude")await et.translatePageWithTranslationService("claude",n);else if(t?.startsWith("translateWithCustom"))await et.translatePageWithTranslationService(r.config.rawUserConfig?.shortcuts?.translateWithCustomServices?.[t]??"bing",n);else if(t==="translateInputBox")await et.translateInputBoxWithShortcut(r);else if(t!=="updateGlobalCtx")if(t==="toggleVideoSubtitlePreTranslation")Je()||await et.toggleVideoSubtitlePreTranslation();else if(t==="inputSelectedTextTranslate")await et.inputSelectedTextTranslate(r,n);else{if(t==="popupEventReport")return et.popupEventReport(r,n);if(t==="updateFloatBallEnable")return et.updateFloatBallEnable();if(t==="selectionTranslate")return et.selectionTranslate(r,n);if(t===W5)await et.translateSelectImage(r,n);else if(t=="openRewardCenter"){let a=ze();ns(a,n?.trigger)}}};function Ek(e){Object.assign(et,e)}function wk(e){Object.assign(et,e)}function Ak(e){Object.assign(et,e)}var OQ=async function(e){let{method:t,data:n}=e;if(k.debug(`content script received sync message: ${t}`,n||" "),t==="content_ready")return globalThis.location.href;if(t==="ping")return"pong";if(t==="getPageStatus")return rt();if(t==="getCurrentPageLanguage"){let r=dn();return et.detectCurrentPageLanguage().catch(i=>{k.warn("detectCurrentPageLanguage failed",i)}),r}else{if(t==="setCurrentPageLanguageByClient")return Fr(n),dn();if(t==="getContextString"){let r=await et.updateGlobalContext(),{articleNode:i,bodyNode:a,...o}=r;return JSON.stringify(o)}else if(t=="getPdfWebUrl"){let r=ze();return L0(r?.rule)}else{if(t=="getAIContextInfo")return Zm();if(t=="toggleSidePanel"){let r=ze(),i=n?.open;co(r,"extension_popup",i)}else if(t=="openRewardCenter"){let r=ze();ns(r,"popup")}else{if(t=="invalidateConfigCache")return Lr();if(t=="getFreeModelDominantSponsor")return Yu()}}}};function kk(){Ta({type:"content",name:"main"},Jy,{registerSender:!0}),Sk();let e=!0;w4(globalThis.location.href)&&(e=!1),Ta({type:"content",name:"popup_res",topFrame:e},OQ,{registerSender:!1}),Je()||he({type:"popup",name:"content_ready"},{method:"content_ready",data:globalThis.location.href},{backlog:!0})}function Mk(e){return m("svg",{className:e.class,width:14,height:8,viewBox:"0 0 14 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:m("path",{d:"M2.37003 4.53967L4.76419 6.93384C4.87961 7.04926 4.93864 7.17697 4.94128 7.31697C4.94392 7.45683 4.88489 7.58717 4.76419 7.70801C4.6435 7.8287 4.51447 7.88905 4.37711 7.88905C4.23989 7.88905 4.11093 7.8287 3.99023 7.70801L0.749401 4.46717C0.682318 4.40009 0.632804 4.32815 0.600859 4.25134C0.568776 4.17454 0.552734 4.09148 0.552734 4.00218C0.552734 3.91287 0.568776 3.82981 0.600859 3.75301C0.632804 3.6762 0.680859 3.60294 0.745026 3.53322L3.99023 0.288008C4.10565 0.17273 4.23329 0.113702 4.37315 0.110925C4.51315 0.108286 4.6435 0.167313 4.76419 0.288008C4.88489 0.408841 4.94523 0.537869 4.94523 0.675092C4.94523 0.812314 4.88489 0.941342 4.76419 1.06218L2.37003 3.45634H12.1071C12.182 3.45634 12.2434 3.43231 12.2915 3.38426C12.3395 3.3362 12.3636 3.27474 12.3636 3.19988V0.748008C12.3636 0.594258 12.415 0.465577 12.5177 0.361966C12.6207 0.258216 12.7484 0.206342 12.9009 0.206342C13.0534 0.206342 13.1825 0.258216 13.2882 0.361966C13.394 0.465577 13.4469 0.594258 13.4469 0.748008V3.19988C13.4469 3.56974 13.3161 3.88551 13.0544 4.14717C12.7926 4.40884 12.4768 4.53967 12.1071 4.53967H2.37003Z",fill:"white"})})}function Ik(e){return m("svg",{className:e.class,width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:m("path",{d:"M9.99984 17.4202C9.08637 17.4202 8.23046 17.2475 7.43213 16.9021C6.6338 16.5567 5.93768 16.087 5.3438 15.4929C4.74977 14.899 4.28005 14.2029 3.93463 13.4046C3.58921 12.6063 3.4165 11.7504 3.4165 10.8369C3.4165 10.6831 3.46796 10.5545 3.57088 10.4508C3.67366 10.3471 3.8013 10.2952 3.9538 10.2952C4.1063 10.2952 4.23539 10.3471 4.34109 10.4508C4.44692 10.5545 4.49984 10.6831 4.49984 10.8369C4.49984 12.3508 5.03803 13.6459 6.11442 14.7223C7.19081 15.7987 8.48595 16.3369 9.99984 16.3369C11.5137 16.3369 12.8089 15.7987 13.8853 14.7223C14.9616 13.6459 15.4998 12.3508 15.4998 10.8369C15.4998 9.32299 14.9616 8.02785 13.8853 6.95147C12.8089 5.87508 11.511 5.33688 9.99171 5.33688H9.77859L10.4967 6.0548C10.6067 6.16494 10.6644 6.29265 10.6696 6.43792C10.675 6.5832 10.6207 6.71348 10.5065 6.82876C10.3846 6.94417 10.2536 7.00056 10.1136 6.99792C9.97373 6.99529 9.84609 6.93626 9.73067 6.82084L8.16984 5.25188C8.03303 5.12022 7.96463 4.9666 7.96463 4.79105C7.96463 4.61535 8.03303 4.45917 8.16984 4.32251L9.74671 2.75355C9.85671 2.64355 9.97956 2.58584 10.1153 2.58042C10.2509 2.57515 10.3798 2.63022 10.5017 2.74563C10.6159 2.86091 10.6716 2.98987 10.669 3.13251C10.6662 3.27515 10.6072 3.40417 10.4919 3.51959L9.75775 4.25355H9.99984C10.9133 4.25355 11.7692 4.42626 12.5675 4.77167C13.3659 5.11709 14.062 5.58681 14.6559 6.18084C15.2499 6.77473 15.7196 7.47084 16.065 8.26917C16.4105 9.06751 16.5832 9.92341 16.5832 10.8369C16.5832 11.7504 16.4105 12.6063 16.065 13.4046C15.7196 14.2029 15.2499 14.899 14.6559 15.4929C14.062 16.087 13.3659 16.5567 12.5675 16.9021C11.7692 17.2475 10.9133 17.4202 9.99984 17.4202Z",fill:"#999999"})})}function Lk(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:12,height:14,viewBox:"0 0 12 14",fill:"none",children:m("path",{d:"M3.7563 13.5353C3.38782 13.5353 3.07241 13.4041 2.81005 13.1417C2.54768 12.8794 2.4165 12.5639 2.4165 12.1955L1.4165 2.45193H0.958171C0.804698 2.45193 0.676087 2.4004 0.572337 2.29734C0.468448 2.19429 0.416504 2.06665 0.416504 1.91443C0.416504 1.76207 0.468448 1.63304 0.572337 1.52734C0.676087 1.42151 0.804698 1.36859 0.958171 1.36859H3.99984V1.11859C3.99984 0.938177 4.06373 0.78408 4.1915 0.656302C4.31914 0.528663 4.47317 0.464844 4.65359 0.464844H7.34609C7.5265 0.464844 7.68053 0.528663 7.80817 0.656302C7.93595 0.78408 7.99984 0.938177 7.99984 1.11859V1.36859H11.0415C11.195 1.36859 11.3236 1.42012 11.4273 1.52318C11.5312 1.62623 11.5832 1.75387 11.5832 1.90609C11.5832 2.05845 11.5312 2.18748 11.4273 2.29318C11.3236 2.39901 11.195 2.45193 11.0415 2.45193H10.5832L9.58317 12.1865C9.58317 12.5651 9.45199 12.8846 9.18963 13.1448C8.92727 13.4051 8.61185 13.5353 8.24338 13.5353H3.7563ZM9.49984 2.45193H2.49984L3.49984 12.1955C3.49984 12.2703 3.52386 12.3318 3.57192 12.3798C3.61998 12.4279 3.68143 12.4519 3.7563 12.4519H8.24338C8.31824 12.4519 8.3797 12.4279 8.42775 12.3798C8.47581 12.3318 8.49984 12.2703 8.49984 12.1955L9.49984 2.45193ZM4.874 10.9519C5.02623 10.9519 5.15525 10.9001 5.26109 10.7963C5.36678 10.6924 5.41963 10.5637 5.41963 10.4103V4.49359C5.41963 4.34012 5.36817 4.21144 5.26525 4.10755C5.1622 4.0038 5.03449 3.95193 4.88213 3.95193C4.72991 3.95193 4.60088 4.0038 4.49505 4.10755C4.38935 4.21144 4.3365 4.34012 4.3365 4.49359V10.4103C4.3365 10.5637 4.38796 10.6924 4.49088 10.7963C4.59393 10.9001 4.72164 10.9519 4.874 10.9519ZM7.11755 10.9519C7.26977 10.9519 7.3988 10.9001 7.50463 10.7963C7.61032 10.6924 7.66317 10.5637 7.66317 10.4103V4.49359C7.66317 4.34012 7.61171 4.21144 7.5088 4.10755C7.40574 4.0038 7.27803 3.95193 7.12567 3.95193C6.97345 3.95193 6.84442 4.0038 6.73859 4.10755C6.63289 4.21144 6.58005 4.34012 6.58005 4.49359V10.4103C6.58005 10.5637 6.6315 10.6924 6.73442 10.7963C6.83748 10.9001 6.96519 10.9519 7.11755 10.9519Z",fill:"#999999"})})}function Dk(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:20,height:20,viewBox:"0 0 20 20",children:m("path",{d:"M4.49813 13.5421L6.51751 15.5613C6.62751 15.6714 6.68515 15.7991 6.69042 15.9444C6.69584 16.0897 6.64084 16.2233 6.52542 16.3452C6.41001 16.4594 6.28098 16.5152 6.13834 16.5125C5.99584 16.5098 5.86688 16.4507 5.75146 16.3355L2.88126 13.4652C2.81709 13.3955 2.76903 13.3223 2.73709 13.2455C2.70501 13.1686 2.68896 13.0856 2.68896 12.9963C2.68896 12.907 2.70501 12.8239 2.73709 12.7471C2.76903 12.6703 2.81709 12.5998 2.88126 12.5357L5.75438 9.66254C5.86785 9.5492 5.99702 9.49115 6.14188 9.48837C6.28688 9.48573 6.41473 9.54476 6.52542 9.66545C6.64084 9.77629 6.69855 9.90282 6.69855 10.045C6.69855 10.1873 6.64084 10.3161 6.52542 10.4315L4.49813 12.4588H16.0415C16.1952 12.4588 16.3239 12.5102 16.4275 12.6132C16.5313 12.7159 16.5831 12.8436 16.5831 12.9961C16.5831 13.1486 16.5313 13.2777 16.4275 13.3834C16.3239 13.4892 16.1952 13.5421 16.0415 13.5421H4.49813ZM15.5015 7.54212H3.95813C3.80438 7.54212 3.6757 7.49066 3.57209 7.38775C3.46834 7.28497 3.41646 7.15733 3.41646 7.00483C3.41646 6.85233 3.46834 6.72323 3.57209 6.61754C3.6757 6.5117 3.80438 6.45879 3.95813 6.45879H15.5015L13.4821 4.43962C13.3721 4.32948 13.3145 4.20177 13.3092 4.0565C13.3038 3.91122 13.3588 3.77761 13.4742 3.65566C13.5896 3.5415 13.7186 3.48573 13.8613 3.48837C14.0038 3.49115 14.1327 3.55018 14.2481 3.66545L17.1183 6.53566C17.1825 6.60538 17.2306 6.67865 17.2625 6.75545C17.2946 6.83226 17.3106 6.91532 17.3106 7.00462C17.3106 7.09393 17.2946 7.17698 17.2625 7.25379C17.2306 7.33059 17.1825 7.40108 17.1183 7.46525L14.2452 10.3384C14.1317 10.4517 14.0072 10.5063 13.8717 10.5021C13.736 10.4978 13.6104 10.4386 13.495 10.3244C13.3796 10.2025 13.3219 10.0704 13.3219 9.92816C13.3219 9.7858 13.3796 9.65927 13.495 9.54858L15.5015 7.54212Z",fill:"#CCCCCC"})})}function qf(e){return m("svg",{className:e.class,xmlns:"http://www.w3.org/2000/svg",class:e.class,width:14,height:15,viewBox:"0 0 14 15",children:m("path",{d:"M5.11652 10.3036C3.81805 10.3036 2.7134 9.84823 1.80256 8.93753C0.89187 8.0267 0.436523 6.92225 0.436523 5.6242C0.436523 4.32614 0.89187 3.2217 1.80256 2.31087C2.7134 1.40017 3.81784 0.944824 5.1159 0.944824C6.41395 0.944824 7.5184 1.40017 8.42923 2.31087C9.33993 3.2217 9.79527 4.32635 9.79527 5.62482C9.79527 6.16969 9.70583 6.69066 9.52694 7.18774C9.34791 7.68496 9.10562 8.13385 8.80007 8.53441L13.3867 13.1211C13.5021 13.2364 13.5612 13.3605 13.5638 13.4936C13.5665 13.6266 13.5074 13.7535 13.3867 13.8742C13.266 13.9949 13.137 14.0552 12.9996 14.0552C12.8624 14.0552 12.7335 13.9949 12.6128 13.8742L8.02611 9.30837C7.60944 9.62462 7.15257 9.86955 6.65548 10.0432C6.1584 10.2168 5.64541 10.3036 5.11652 10.3036ZM5.1159 9.22045C6.1202 9.22045 6.97062 8.87212 7.66715 8.17545C8.36382 7.47892 8.71215 6.6285 8.71215 5.6242C8.71215 4.61989 8.36382 3.76948 7.66715 3.07295C6.97062 2.37628 6.1202 2.02795 5.1159 2.02795C4.11159 2.02795 3.26118 2.37628 2.56465 3.07295C1.86798 3.76948 1.51965 4.61989 1.51965 5.6242C1.51965 6.6285 1.86798 7.47892 2.56465 8.17545C3.26118 8.87212 4.11159 9.22045 5.1159 9.22045Z",fill:"#CCCCCC"})})}function P0(e){return m("svg",{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",style:e.style,class:e.class,xmlns:"http://www.w3.org/2000/svg",children:m("path",{d:"M6.7482 17.3325C7.46127 17.5702 7.69894 16.9165 7.40183 16.6788C6.45109 16.0252 5.97572 14.8368 6.33226 13.7672C6.68879 12.5788 7.63953 12.1034 7.63953 10.3208C7.63953 10.3208 8.82795 11.2121 8.59027 12.5788C9.77869 11.2121 9.2439 9.42947 9.00623 8.59756C12.0367 10.2019 14.6512 13.7078 11.6208 16.6788C11.2642 16.9759 11.6208 17.5107 12.1556 17.3325C20.4151 12.6382 14.1759 5.62648 13.1063 4.79459C13.4628 5.62648 13.5223 6.93375 12.8092 7.5874C11.5613 2.89312 8.53088 1.94238 8.53088 1.94238C8.8874 4.37865 7.1642 6.9932 5.5598 9.01352C5.50039 8.00336 5.44098 7.34973 4.96559 6.4584C4.84676 8.18162 3.48006 9.60772 3.12355 11.3904C2.64818 13.7672 3.48008 15.4904 6.74826 17.3325L6.7482 17.3325Z",fill:"currentColor"})})}function Pk(e){return m("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",style:e.style,xmlns:"http://www.w3.org/2000/svg",children:m("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.4763 8C14.4763 4.42323 11.5769 1.5238 8.00012 1.5238C4.42335 1.5238 1.52393 4.42323 1.52393 8C1.52393 11.5768 4.42335 14.4762 8.00012 14.4762C11.5769 14.4762 14.4763 11.5768 14.4763 8ZM2.66678 8C2.66678 5.05447 5.05459 2.66666 8.00012 2.66666C10.9456 2.66666 13.3335 5.05447 13.3335 8C13.3335 10.9455 10.9456 13.3333 8.00012 13.3333C5.05459 13.3333 2.66678 10.9455 2.66678 8ZM8.64493 4.62911C9.33636 4.76854 10.1588 5.42797 10.1588 6.38721C10.1588 7.25184 9.52267 7.63216 9.19136 7.83023L9.19135 7.83023L9.1913 7.83026C9.15492 7.85201 9.12223 7.87155 9.09445 7.8893C8.81331 8.06911 8.70817 8.27635 8.70817 8.49654V9.52359H7.63731V8.10683C7.63731 7.77083 7.74512 7.5354 8.04493 7.3274L8.11236 7.28283L8.71388 6.88283C9.0975 6.62454 9.09217 6.10607 8.85483 5.87711C8.72757 5.76556 8.57584 5.68553 8.4119 5.64351C8.24797 5.60148 8.07645 5.59864 7.91121 5.63521C7.24379 5.76626 7.16683 6.23711 7.16226 6.69426V6.95292H6.09521C6.09521 6.06302 6.19731 5.65959 6.67198 5.14988C7.20379 4.58035 7.95312 4.48892 8.64493 4.62911ZM8.70817 10.2855V11.4284H7.63769L7.63731 10.2855H8.70817Z",fill:"#CCCCCC"})})}function Xy(e){return m("svg",{class:e.class,width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:m("path",{d:"M9.45835 11.0417H5.95835C5.80488 11.0417 5.67627 10.9902 5.57252 10.8872C5.46863 10.7841 5.41669 10.6565 5.41669 10.5042C5.41669 10.3519 5.46863 10.2229 5.57252 10.1172C5.67627 10.0113 5.80488 9.95842 5.95835 9.95842H9.45835V6.45841C9.45835 6.30494 9.50988 6.17633 9.61294 6.07258C9.71599 5.96869 9.84363 5.91675 9.99585 5.91675C10.1482 5.91675 10.2772 5.96869 10.3829 6.07258C10.4888 6.17633 10.5417 6.30494 10.5417 6.45841V9.95842H14.0417C14.1952 9.95842 14.3238 10.0099 14.4275 10.113C14.5314 10.2161 14.5834 10.3437 14.5834 10.4959C14.5834 10.6483 14.5314 10.7773 14.4275 10.883C14.3238 10.9888 14.1952 11.0417 14.0417 11.0417H10.5417V14.5417C10.5417 14.6952 10.4902 14.8238 10.3871 14.9276C10.284 15.0315 10.1564 15.0834 10.0042 15.0834C9.85183 15.0834 9.7228 15.0315 9.6171 14.9276C9.51127 14.8238 9.45835 14.6952 9.45835 14.5417V11.0417Z",fill:"#333333"})})}function vs(e){return m("svg",{class:e.class,width:"21",height:"21",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:e.onClick,children:m("path",{d:"M14.0001 21.7083C13.0866 21.7083 12.2307 21.5356 11.4324 21.1902C10.634 20.8448 9.93793 20.375 9.34404 19.781C8.75001 19.1871 8.28029 18.491 7.93487 17.6927C7.58946 16.8943 7.41675 16.0384 7.41675 15.125C7.41675 14.9712 7.46821 14.8425 7.57112 14.7389C7.6739 14.6352 7.80154 14.5833 7.95404 14.5833C8.10654 14.5833 8.23564 14.6352 8.34133 14.7389C8.44716 14.8425 8.50008 14.9712 8.50008 15.125C8.50008 16.6389 9.03828 17.934 10.1147 19.0104C11.1911 20.0868 12.4862 20.625 14.0001 20.625C15.514 20.625 16.8091 20.0868 17.8855 19.0104C18.9619 17.934 19.5001 16.6389 19.5001 15.125C19.5001 13.6111 18.9619 12.3159 17.8855 11.2396C16.8091 10.1632 15.5113 9.62497 13.992 9.62497H13.7788L14.497 10.3429C14.607 10.453 14.6646 10.5807 14.6699 10.726C14.6753 10.8713 14.6209 11.0016 14.5067 11.1168C14.3848 11.2323 14.2538 11.2886 14.1138 11.286C13.974 11.2834 13.8463 11.2243 13.7309 11.1089L12.1701 9.53997C12.0333 9.4083 11.9649 9.25469 11.9649 9.07913C11.9649 8.90344 12.0333 8.74726 12.1701 8.61059L13.747 7.04164C13.857 6.93164 13.9798 6.87393 14.1155 6.86851C14.2512 6.86323 14.38 6.9183 14.502 7.03372C14.6161 7.149 14.6719 7.27795 14.6692 7.42059C14.6665 7.56323 14.6074 7.69226 14.4922 7.80768L13.758 8.54164H14.0001C14.9136 8.54164 15.7695 8.71434 16.5678 9.05976C17.3661 9.40518 18.0622 9.8749 18.6561 10.4689C19.2502 11.0628 19.7199 11.7589 20.0653 12.5573C20.4107 13.3556 20.5834 14.2115 20.5834 15.125C20.5834 16.0384 20.4107 16.8943 20.0653 17.6927C19.7199 18.491 19.2502 19.1871 18.6561 19.781C18.0622 20.375 17.3661 20.8448 16.5678 21.1902C15.7695 21.5356 14.9136 21.7083 14.0001 21.7083Z",fill:"currentColor"})})}function Rk(e){return m("svg",{class:e.class,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[m("mask",{id:"mask0_33422_13719",style:"mask-type:alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20",children:m("rect",{width:"20",height:"20",fill:"#D9D9D9"})}),m("g",{mask:"url(#mask0_33422_13719)",children:m("path",{d:"M14.0041 16.7916C13.8518 16.7916 13.7236 16.7397 13.6196 16.6358C13.5155 16.5321 13.4635 16.4035 13.4635 16.25V14.5416H11.7516C11.5978 14.5416 11.4687 14.4897 11.3646 14.3858C11.2604 14.2819 11.2083 14.1532 11.2083 13.9998C11.2083 13.8462 11.2604 13.7175 11.3646 13.6139C11.4687 13.5102 11.5978 13.4583 11.7516 13.4583H13.4635V11.75C13.4635 11.5965 13.5157 11.4679 13.62 11.3641C13.7241 11.2603 13.8525 11.2083 14.0052 11.2083C14.1578 11.2083 14.2857 11.2603 14.3887 11.3641C14.4918 11.4679 14.5433 11.5965 14.5433 11.75V13.4583H16.2452C16.3977 13.4583 16.5269 13.5098 16.6327 13.6129C16.7387 13.716 16.7916 13.8436 16.7916 13.9958C16.7916 14.1482 16.7397 14.2762 16.6358 14.3798C16.5321 14.4835 16.4035 14.5354 16.25 14.5354H14.5416V16.2437C14.5416 16.3972 14.4901 16.5269 14.3871 16.6327C14.284 16.7387 14.1564 16.7916 14.0041 16.7916ZM3.74998 15.7916C3.59651 15.7916 3.4679 15.7401 3.36415 15.6371C3.26026 15.534 3.20831 15.4064 3.20831 15.2541C3.20831 15.1018 3.26026 14.9728 3.36415 14.8671C3.4679 14.7612 3.59651 14.7083 3.74998 14.7083H9.22602C9.26977 14.9 9.31942 15.0881 9.37498 15.2727C9.43054 15.4573 9.50588 15.6303 9.60102 15.7916H3.74998ZM3.74998 12.2916C3.59651 12.2916 3.4679 12.2401 3.36415 12.1371C3.26026 12.034 3.20831 11.9064 3.20831 11.7541C3.20831 11.6018 3.26026 11.4728 3.36415 11.3671C3.4679 11.2612 3.59651 11.2083 3.74998 11.2083H10.085C9.99845 11.391 9.91859 11.5691 9.8454 11.7427C9.7722 11.9163 9.70998 12.0993 9.65873 12.2916H3.74998ZM3.74998 8.79165C3.59651 8.79165 3.4679 8.74012 3.36415 8.63706C3.26026 8.53401 3.20831 8.40637 3.20831 8.25415C3.20831 8.10179 3.26026 7.97276 3.36415 7.86706C3.4679 7.76123 3.59651 7.70831 3.74998 7.70831H16.25C16.4035 7.70831 16.5321 7.75984 16.6358 7.8629C16.7397 7.96595 16.7916 8.09359 16.7916 8.24581C16.7916 8.39817 16.7397 8.5272 16.6358 8.6329C16.5321 8.73873 16.4035 8.79165 16.25 8.79165H3.74998ZM3.74998 5.29165C3.59651 5.29165 3.4679 5.24012 3.36415 5.13706C3.26026 5.03401 3.20831 4.90637 3.20831 4.75415C3.20831 4.60179 3.26026 4.47276 3.36415 4.36706C3.4679 4.26123 3.59651 4.20831 3.74998 4.20831H16.25C16.4035 4.20831 16.5321 4.25984 16.6358 4.3629C16.7397 4.46595 16.7916 4.59359 16.7916 4.74581C16.7916 4.89817 16.7397 5.0272 16.6358 5.1329C16.5321 5.23873 16.4035 5.29165 16.25 5.29165H3.74998Z",fill:"white"})})]})}function Nk(e){return m("svg",{class:e.class,width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:m("path",{d:"M7.87725 13.2916H12.1158C12.3054 13.2916 12.4654 13.2275 12.596 13.0993C12.7264 12.971 12.7916 12.8121 12.7916 12.6227V8.38413C12.7916 8.19454 12.7275 8.03447 12.5993 7.90392C12.471 7.7735 12.3121 7.70829 12.1227 7.70829H7.88413C7.69454 7.70829 7.53447 7.77239 7.40392 7.90058C7.2735 8.02892 7.20829 8.18781 7.20829 8.37725V12.6158C7.20829 12.8054 7.27239 12.9654 7.40058 13.096C7.52892 13.2264 7.68781 13.2916 7.87725 13.2916ZM10.007 18.0833C8.96385 18.0833 7.98135 17.8859 7.05954 17.4912C6.13774 17.0965 5.33093 16.5534 4.63913 15.8618C3.94732 15.1703 3.40392 14.3641 3.00892 13.4433C2.61406 12.5226 2.41663 11.5388 2.41663 10.4918C2.41663 9.44489 2.61399 8.46399 3.00871 7.54913C3.40343 6.63426 3.94656 5.83093 4.63808 5.13913C5.32961 4.44732 6.13579 3.90392 7.05663 3.50892C7.97732 3.11406 8.96114 2.91663 10.0081 2.91663C11.055 2.91663 12.0359 3.11399 12.9508 3.50871C13.8657 3.90343 14.669 4.44656 15.3608 5.13808C16.0526 5.82961 16.596 6.63413 16.991 7.55163C17.3859 8.46926 17.5833 9.44968 17.5833 10.4929C17.5833 11.5361 17.3859 12.5186 16.9912 13.4404C16.5965 14.3622 16.0534 15.169 15.3618 15.8608C14.6703 16.5526 13.8658 17.096 12.9483 17.491C12.0307 17.8859 11.0502 18.0833 10.007 18.0833ZM9.99996 17C11.8055 17 13.3402 16.368 14.6041 15.1041C15.868 13.8402 16.5 12.3055 16.5 10.5C16.5 8.6944 15.868 7.15968 14.6041 5.89579C13.3402 4.6319 11.8055 3.99996 9.99996 3.99996C8.1944 3.99996 6.65968 4.6319 5.39579 5.89579C4.1319 7.15968 3.49996 8.6944 3.49996 10.5C3.49996 12.3055 4.1319 13.8402 5.39579 15.1041C6.65968 16.368 8.1944 17 9.99996 17Z",fill:"currentColor"})})}function dl(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:21,height:21,viewBox:"0 0 21 21",fill:"none",children:m("path",{d:"M11.8174 5.04276C11.6636 4.97202 11.4805 4.99008 11.3456 5.08929L7.43211 7.96144H4.89655C4.40138 7.96141 4 8.34026 4 8.80758V12.1922C4 12.6595 4.40138 13.0383 4.89655 13.0383H7.43211L11.3456 15.9105C11.618 16.1104 12.0176 15.9569 12.0648 15.6343C12.0675 15.6153 12.0689 15.596 12.069 15.5768V5.42299C12.069 5.26128 11.9713 5.11371 11.8174 5.04276ZM4.89655 8.80758H7.13793V12.1922H4.89655V8.80758ZM11.1724 14.7116L8.03448 12.4085V8.59129L11.1724 6.28818V14.7116ZM14.1983 9.10162C14.9442 9.90086 14.9442 11.0989 14.1983 11.8981C13.966 12.139 13.5446 12.0523 13.4397 11.742C13.3925 11.6025 13.4251 11.4499 13.5259 11.3386C13.9732 10.8591 13.9732 10.1406 13.5259 9.66114C13.3018 9.41348 13.4457 9.02973 13.785 8.97039C13.9376 8.9437 14.0939 8.99335 14.1983 9.10162ZM17 10.4999C17.0006 11.5408 16.5942 12.5452 15.8586 13.3207C15.6244 13.5599 15.2036 13.4701 15.1013 13.1591C15.0552 13.0193 15.0891 12.867 15.1906 12.7565C16.4081 11.4717 16.4081 9.52861 15.1906 8.24384C14.9564 8.00465 15.0844 7.61587 15.421 7.54404C15.5822 7.50965 15.7503 7.56173 15.8586 7.67956C16.5944 8.45475 17.0009 9.45913 17 10.4999Z",fill:"currentColor"})})}function Fk(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:21,height:21,fill:"none",children:m("path",{d:"M6.77832 5.95236C6.55734 5.70328 6.14959 5.78683 6.04437 6.10274C5.99437 6.25287 6.03033 6.41832 6.13815 6.53414L7.8397 8.40601H5.59313C5.11533 8.40599 4.72803 8.79332 4.72803 9.27112V12.7315C4.72803 13.2093 5.11533 13.5967 5.59313 13.5966H8.03975L11.8159 16.5331C12.0788 16.7375 12.4643 16.5806 12.5099 16.2508C12.5126 16.2313 12.5139 16.2116 12.514 16.1919V13.5474L14.7892 16.0503C15.0102 16.2994 15.4179 16.2158 15.5231 15.8999C15.5731 15.7498 15.5372 15.5843 15.4294 15.4685L6.77832 5.95236ZM5.59313 9.27111H7.75589V12.7315H5.59313V9.27111ZM11.6489 15.3074L8.62099 12.9527V9.26517L11.6489 12.5958V15.3074ZM13.9198 11.8594C14.3514 11.3692 14.3514 10.6345 13.9198 10.1443C13.6916 9.90181 13.8115 9.50324 14.1356 9.42691C14.296 9.38915 14.4638 9.44572 14.5686 9.57282C15.2884 10.39 15.2884 11.6148 14.5686 12.432C14.3482 12.6817 13.9401 12.5992 13.834 12.2835C13.7848 12.137 13.8175 11.9753 13.9198 11.8594ZM9.58558 7.75015C9.43874 7.5616 9.47264 7.28969 9.66128 7.14296L11.8159 5.46682C12.0788 5.26245 12.4643 5.4193 12.5099 5.74915C12.5127 5.76954 12.5141 5.79011 12.514 5.8107V9.85668C12.514 10.1897 12.1535 10.3978 11.8651 10.2313C11.7313 10.154 11.6489 10.0112 11.6489 9.85668V6.69527L10.1922 7.83072C10.0031 7.97658 9.73146 7.94148 9.58558 7.75232V7.75015ZM17.272 11.0013C17.2726 12.0655 16.8805 13.0925 16.1706 13.8854C15.9447 14.1299 15.5387 14.0381 15.4399 13.7201C15.3955 13.5772 15.4281 13.4215 15.5261 13.3084C16.7009 11.9949 16.7009 10.0083 15.5261 8.69474C15.3001 8.45019 15.4236 8.05271 15.7484 7.97927C15.9039 7.9441 16.0662 7.99735 16.1706 8.11782C16.8806 8.91038 17.2729 9.93726 17.272 11.0013Z",fill:"#666666"})})}function Pn(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:28,height:28,viewBox:"0 0 28 28",fill:"none",onClick:e.onClick,children:m("path",{d:"M14.682 13.9917L18.6826 9.99172C18.8046 9.86977 18.8522 9.69202 18.8076 9.52544C18.7114 9.16649 18.2627 9.04627 18 9.30903L14 13.3096L9.99997 9.30905C9.87802 9.1871 9.70027 9.13947 9.53369 9.18411C9.17474 9.28028 9.05452 9.72896 9.31728 9.99173L13.3179 13.9917L9.38353 17.9254C9.26159 18.0474 9.21396 18.2251 9.2586 18.3917C9.35477 18.7507 9.80345 18.8709 10.0662 18.6081L14 14.6738L17.9337 18.6081C18.0556 18.7301 18.2334 18.7777 18.4 18.7331C18.7589 18.6369 18.8791 18.1882 18.6164 17.9254L14.682 13.9917Z",fill:"currentColor"})})}function $y(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:14,height:14,viewBox:"0 0 14 14",fill:"none",onClick:e.onClick,children:[m("g",{"clip-path":"url(#clip0_33422_14745)",children:m("path",{d:"M7 14C5.14348 14 3.36301 13.2625 2.05025 11.9497C0.737498 10.637 0 8.85652 0 7C0 5.14348 0.737498 3.36301 2.05025 2.05025C3.36301 0.737498 5.14348 0 7 0C8.85652 0 10.637 0.737498 11.9497 2.05025C13.2625 3.36301 14 5.14348 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14ZM4.183 5.064L6.118 7L4.183 8.936C4.12409 8.99361 4.07719 9.06234 4.04502 9.1382C4.01285 9.21406 3.99605 9.29554 3.99559 9.37794C3.99513 9.46034 4.01101 9.54201 4.04234 9.61823C4.07366 9.69444 4.11978 9.76369 4.17805 9.82195C4.23631 9.88022 4.30556 9.92634 4.38177 9.95766C4.45799 9.98898 4.53966 10.0049 4.62206 10.0044C4.70446 10.004 4.78594 9.98715 4.8618 9.95498C4.93766 9.92281 5.00639 9.87591 5.064 9.817L7 7.882L8.936 9.817C9.05327 9.93168 9.21104 9.99548 9.37506 9.99457C9.53908 9.99365 9.69612 9.92809 9.8121 9.8121C9.92809 9.69612 9.99365 9.53908 9.99457 9.37506C9.99548 9.21104 9.93168 9.05327 9.817 8.936L7.882 7L9.817 5.064C9.87591 5.00639 9.92281 4.93766 9.95498 4.8618C9.98715 4.78594 10.004 4.70446 10.0044 4.62206C10.0049 4.53966 9.98898 4.45799 9.95766 4.38177C9.92634 4.30556 9.88022 4.23631 9.82195 4.17805C9.76369 4.11978 9.69444 4.07366 9.61823 4.04234C9.54201 4.01101 9.46034 3.99513 9.37794 3.99559C9.29554 3.99605 9.21406 4.01285 9.1382 4.04502C9.06234 4.07719 8.99361 4.12409 8.936 4.183L7 6.118L5.064 4.183C4.94673 4.06832 4.78896 4.00452 4.62494 4.00543C4.46092 4.00635 4.30388 4.07191 4.1879 4.1879C4.07191 4.30388 4.00635 4.46092 4.00543 4.62494C4.00452 4.78896 4.06832 4.94673 4.183 5.064Z",fill:"#CCCCCC"})}),m("defs",{children:m("clipPath",{id:"clip0_33422_14745",children:m("rect",{width:"14",height:"14",fill:"white"})})})]})}function Bk(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[m("g",{"clip-path":"url(#clip0_33935_23820)",children:[m("path",{d:"M10 20C7.34783 20 4.8043 18.9464 2.92893 17.0711C1.05357 15.1957 0 12.6522 0 10C0 7.34783 1.05357 4.8043 2.92893 2.92893C4.8043 1.05357 7.34783 0 10 0C12.6522 0 15.1957 1.05357 17.0711 2.92893C18.9464 4.8043 20 7.34783 20 10C20 12.6522 18.9464 15.1957 17.0711 17.0711C15.1957 18.9464 12.6522 20 10 20Z",fill:"black","fill-opacity":"0.1"}),m("path",{d:"M8.73516 9.99809L5.97087 7.23237C5.80705 7.06484 5.7159 6.83946 5.71721 6.60515C5.71852 6.37083 5.81218 6.14649 5.97787 5.9808C6.14356 5.81511 6.3679 5.72145 6.60222 5.72014C6.83654 5.71883 7.06191 5.80998 7.22944 5.9738L9.99516 8.73809L12.7609 5.9738C12.8432 5.88964 12.9414 5.82264 13.0497 5.77669C13.1581 5.73073 13.2745 5.70673 13.3922 5.70607C13.5099 5.70541 13.6266 5.72811 13.7355 5.77285C13.8444 5.8176 13.9433 5.88349 14.0265 5.96673C14.1098 6.04997 14.1757 6.14889 14.2204 6.25777C14.2651 6.36664 14.2878 6.48332 14.2872 6.60103C14.2865 6.71874 14.2625 6.83515 14.2166 6.94352C14.1706 7.0519 14.1036 7.15007 14.0194 7.23237L11.2552 9.99809L14.0194 12.7638C14.1833 12.9313 14.2744 13.1567 14.2731 13.391C14.2718 13.6253 14.1781 13.8497 14.0124 14.0154C13.8468 14.1811 13.6224 14.2747 13.3881 14.276C13.1538 14.2773 12.9284 14.1862 12.7609 14.0224L9.99516 11.2581L7.22944 14.0224C7.14714 14.1065 7.04897 14.1735 6.94059 14.2195C6.83222 14.2654 6.71581 14.2895 6.5981 14.2901C6.48039 14.2908 6.36371 14.2681 6.25484 14.2233C6.14596 14.1786 6.04704 14.1127 5.9638 14.0294C5.88056 13.9462 5.81467 13.8473 5.76992 13.7384C5.72518 13.6295 5.70248 13.5129 5.70314 13.3951C5.7038 13.2774 5.7278 13.161 5.77376 13.0527C5.81971 12.9443 5.88671 12.8461 5.97087 12.7638L8.73516 9.99809Z",fill:"white"})]}),m("defs",{children:m("clipPath",{id:"clip0_33935_23820",children:m("rect",{width:"20",height:"20",fill:"white"})})})]})}function Ok(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",children:[m("path",{d:"M7.35425 0.645874L0.645914 7.35421",stroke:"#EA4C89","stroke-linecap":"round"}),m("path",{d:"M0.937498 0.645876L7.35417 7.06254",stroke:"#EA4C89","stroke-linecap":"round"})]})}function _k(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:"10",height:"7",viewBox:"0 0 10 7",fill:"none",children:m("path",{d:"M6.29908 6C5.72173 7 4.27836 7 3.70101 6L0.236903 8.32814e-07L9.76318 0L6.29908 6Z",fill:"#333333"})})}function Uk(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:28,height:28,viewBox:"0 0 28 28",fill:"none",children:[m("mask",{id:"mask0_28349_160",style:"mask-type:alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"28",height:"28",children:m("rect",{width:"28",height:"28",fill:"#D9D9D9"})}),m("g",{mask:"url(#mask0_28349_160)",children:m("path",{d:"M10.079 15.1667C9.77979 15.1667 9.52521 15.0601 9.31521 14.8471C9.10507 14.634 9 14.378 9 14.079C9 13.7798 9.10653 13.5252 9.31958 13.3152C9.53264 13.1051 9.78868 13 10.0877 13C10.3869 13 10.6415 13.1065 10.8517 13.3196C11.0617 13.5326 11.1667 13.7887 11.1667 14.0877C11.1667 14.3869 11.0601 14.6415 10.8471 14.8515C10.6342 15.0616 10.3781 15.1667 10.079 15.1667ZM14.3867 15.1667C14.0875 15.1667 13.8329 15.0601 13.6229 14.8471C13.4128 14.634 13.3077 14.378 13.3077 14.079C13.3077 13.7798 13.4142 13.5252 13.6273 13.3152C13.8403 13.1051 14.0964 13 14.3954 13C14.6946 13 14.9492 13.1065 15.1592 13.3196C15.3693 13.5326 15.4744 13.7887 15.4744 14.0877C15.4744 14.3869 15.3678 14.6415 15.1548 14.8515C14.9417 15.0616 14.6857 15.1667 14.3867 15.1667ZM18.6944 15.1667C18.3952 15.1667 18.1406 15.0601 17.9304 14.8471C17.7204 14.634 17.6154 14.378 17.6154 14.079C17.6154 13.7798 17.7219 13.5252 17.935 13.3152C18.1479 13.1051 18.404 13 18.7031 13C19.0023 13 19.2569 13.1065 19.4669 13.3196C19.677 13.5326 19.7821 13.7887 19.7821 14.0877C19.7821 14.3869 19.6756 14.6415 19.4625 14.8515C19.2494 15.0616 18.9934 15.1667 18.6944 15.1667Z",fill:"#999999"})})]})}function Kf(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:21,height:21,viewBox:"0 0 21 21",fill:"none",children:m("path",{d:"M14.5833 5.5H7.91667C7.68655 5.5 7.5 5.68655 7.5 5.91667V8H5.41667C5.18654 7.99999 5 8.18654 5 8.41667V15.0833C5 15.3135 5.18654 15.5 5.41667 15.5H12.0833C12.3134 15.5 12.5 15.3134 12.5 15.0833V13H14.5833C14.8134 13 15 12.8134 15 12.5833V5.91667C15 5.68656 14.8134 5.50001 14.5833 5.5ZM11.6667 14.6667H5.83333V8.83333H11.6667V14.6667ZM14.1667 12.1667H12.5V8.41667C12.5 8.18656 12.3134 8.00001 12.0833 8H8.33333V6.33333H14.1667V12.1667Z",fill:"currentColor"})})}function jk(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:21,height:21,viewBox:"0 0 21 21",fill:"none",children:m("path",{d:"M10.5048 4C5.50487 4 2.37989 9.41666 4.87988 13.75C7.37986 18.0833 13.6298 18.0833 16.1298 13.75C16.6999 12.7619 17 11.641 17 10.5C16.9962 6.91172 14.0905 4.00379 10.5048 4ZM16.0007 10.5C16.002 11.786 15.5507 13.0313 14.7261 14.0175L6.98997 6.275C10.2424 3.56722 15.2042 5.39832 15.9212 9.57097C15.974 9.87784 16.0006 10.1886 16.0007 10.5ZM5.00895 10.5C5.00767 9.21404 5.45895 7.9687 6.28362 6.9825L14.0197 14.725C10.7673 17.4328 5.80551 15.6017 5.08845 11.429C5.03572 11.1222 5.00912 10.8114 5.00895 10.5Z",fill:"#666666"})})}function zk(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:28,height:28,viewBox:"0 0 28 28",fill:"none",children:m("path",{d:"M19.989 11.6704L16.3292 8.01124C15.9524 7.63434 15.3414 7.63434 14.9646 8.01124L11.7305 11.2555C11.0877 11.0541 9.61991 10.8111 8.08821 12.0479C7.64088 12.4076 7.60463 13.0759 8.01042 13.4819L10.9243 16.3946L8.35173 18.9653C8.08899 19.228 8.2092 19.6767 8.56812 19.7728C8.73469 19.8175 8.91242 19.7698 9.03436 19.6479L11.6051 17.0754L14.5171 19.9874C14.6979 20.169 14.9435 20.2712 15.1997 20.2714H15.2679C15.5462 20.2522 15.8024 20.1128 15.9698 19.8897C17.1542 18.3158 17.0402 17.0362 16.7652 16.2715L19.9896 13.0351C20.3663 12.6581 20.3661 12.0471 19.989 11.6704ZM19.3064 12.3531L15.8528 15.8181C15.7066 15.9649 15.6704 16.1887 15.763 16.3741C16.3334 17.5156 15.6544 18.7011 15.1997 19.306L8.69305 12.7987C9.42151 12.2113 10.1186 12.0564 10.6517 12.0564C10.9899 12.0517 11.3254 12.1181 11.6364 12.2511C11.8225 12.3443 12.0474 12.3076 12.1942 12.1601L15.6472 8.69326L19.3064 12.3531Z",fill:"#999999"})})}function Hk(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:28,height:28,viewBox:"0 0 28 28",fill:"none",children:m("path",{d:"M19.829 11.5097L16.1692 7.85053C15.7924 7.47363 15.1814 7.47363 14.8046 7.85053L11.5705 11.0948C10.9277 10.8934 9.45993 10.6504 7.92824 11.8872C7.48091 12.2469 7.44465 12.9152 7.85044 13.3212L10.7643 16.2339L8.19176 18.8046C7.92902 19.0673 8.04923 19.516 8.40814 19.6121C8.57472 19.6568 8.75245 19.6091 8.87439 19.4872L11.4451 16.9147L14.3571 19.8267C14.5379 20.0083 14.7835 20.1104 15.0398 20.1107H15.1079C15.3862 20.0914 15.6424 19.9521 15.8098 19.729C16.9942 18.1551 16.8802 16.8755 16.6052 16.1108L19.8296 12.8744C20.2064 12.4974 20.2061 11.8864 19.829 11.5097Z",fill:"#EA4C89"})})}function Qf(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:16,height:17,viewBox:"0 0 16 17",fill:"none",children:m("path",{d:"M8.43054 4.10656L5.09775 7.74264C4.96742 7.88467 4.96742 8.11511 5.09775 8.25714L8.43054 11.8932C8.61205 12.0913 8.92199 12.0006 8.98843 11.7301C9.01926 11.6046 8.98637 11.4706 8.90213 11.3787L5.80471 7.99989L8.90213 4.62107C9.08364 4.42304 9.00059 4.08489 8.75264 4.0124C8.63756 3.97876 8.51478 4.01466 8.43054 4.10656Z",fill:"currentColor"})})}function gl(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:16,height:17,viewBox:"0 0 16 17",fill:"none",children:m("path",{d:"M7.56946 4.10656L10.9023 7.74264C11.0326 7.88467 11.0326 8.11511 10.9023 8.25714L7.56946 11.8932C7.38795 12.0913 7.07801 12.0006 7.01157 11.7301C6.98074 11.6046 7.01363 11.4706 7.09787 11.3787L10.1953 7.99989L7.09787 4.62107C6.91636 4.42304 6.99941 4.08489 7.24736 4.0124C7.36244 3.97876 7.48522 4.01466 7.56946 4.10656Z",fill:"currentColor"})})}function Vk(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",children:m("path",{d:"M13.5096 11.0416H4.95936C4.80534 11.0416 4.67638 10.9902 4.57249 10.8872C4.4686 10.7845 4.41666 10.6568 4.41666 10.5043C4.41666 10.3518 4.4686 10.2227 4.57249 10.117C4.67638 10.0112 4.80534 9.95828 4.95936 9.95828H13.5096L11.4744 7.92307C11.3644 7.81293 11.3067 7.68522 11.3012 7.53995C11.296 7.39467 11.3503 7.26432 11.4644 7.14891C11.5864 7.03363 11.7174 6.97731 11.8573 6.97995C11.9973 6.98259 12.125 7.04161 12.2404 7.15703L15.1254 10.0422C15.185 10.1017 15.2308 10.1698 15.2627 10.2466C15.2948 10.3234 15.3108 10.4065 15.3108 10.4958C15.3108 10.5851 15.2948 10.6681 15.2627 10.7449C15.2308 10.8218 15.1827 10.895 15.1185 10.9647L12.2404 13.8429C12.1303 13.9529 12.0074 14.0071 11.8719 14.0056C11.7362 14.0039 11.6073 13.9454 11.4852 13.8302C11.3712 13.7147 11.3155 13.5857 11.3181 13.4431C11.3208 13.3004 11.3798 13.1714 11.4952 13.056L13.5096 11.0416Z",fill:"#1C1B1F"})})}function Gk(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:m("path",{d:"M5.37021 10.5397L7.76438 12.9339C7.87979 13.0493 7.93882 13.177 7.94146 13.317C7.9441 13.4569 7.88507 13.5872 7.76438 13.7081C7.64368 13.8288 7.51465 13.8891 7.37729 13.8891C7.24007 13.8891 7.11111 13.8288 6.99042 13.7081L3.74958 10.4672C3.6825 10.4002 3.63299 10.3282 3.60104 10.2514C3.56896 10.1746 3.55292 10.0915 3.55292 10.0022C3.55292 9.91293 3.56896 9.82987 3.60104 9.75307C3.63299 9.67626 3.68104 9.603 3.74521 9.53328L6.99042 6.28807C7.10583 6.17279 7.23347 6.11376 7.37333 6.11099C7.51333 6.10835 7.64368 6.16737 7.76438 6.28807C7.88507 6.4089 7.94542 6.53793 7.94542 6.67515C7.94542 6.81237 7.88507 6.9414 7.76438 7.06224L5.37021 9.4564H15.1073C15.1822 9.4564 15.2436 9.43237 15.2917 9.38432C15.3397 9.33626 15.3638 9.27481 15.3638 9.19994V6.74807C15.3638 6.59432 15.4151 6.46564 15.5179 6.36203C15.6208 6.25828 15.7485 6.2064 15.901 6.2064C16.0535 6.2064 16.1826 6.25828 16.2883 6.36203C16.3942 6.46564 16.4471 6.59432 16.4471 6.74807V9.19994C16.4471 9.56981 16.3162 9.88557 16.0546 10.1472C15.7928 10.4089 15.477 10.5397 15.1073 10.5397H5.37021Z",fill:"white"})})}function Wk(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",children:m("path",{d:"M12.79 15.1458L12.0123 17.22C11.9688 17.3297 11.8994 17.4177 11.804 17.484C11.7084 17.5502 11.6012 17.5833 11.4823 17.5833C11.2687 17.5833 11.1117 17.4989 11.0113 17.33C10.9109 17.1613 10.8959 16.9866 10.9663 16.8061L14.0177 8.8846C14.0684 8.76918 14.1418 8.67626 14.2379 8.60585C14.3342 8.53529 14.4411 8.50001 14.5586 8.50001H14.9992C15.1167 8.50001 15.2235 8.53529 15.3196 8.60585C15.4159 8.67626 15.4893 8.76918 15.54 8.8846L18.6121 16.819C18.6827 17.0048 18.6604 17.1786 18.5452 17.3404C18.4301 17.5024 18.273 17.5833 18.074 17.5833C17.9457 17.5833 17.8315 17.5467 17.7315 17.4736C17.6316 17.4004 17.562 17.3088 17.5225 17.1988L16.7632 15.1458H12.79ZM7.94399 11.2419L4.40545 14.7548C4.29003 14.8755 4.16447 14.9311 4.02878 14.9215C3.89322 14.9119 3.76774 14.8494 3.65232 14.734C3.53163 14.6133 3.47128 14.4877 3.47128 14.3573C3.47128 14.227 3.53163 14.1015 3.65232 13.9808L7.21149 10.4552C6.7169 9.92744 6.23565 9.35744 5.76774 8.74522C5.29968 8.133 4.93267 7.54432 4.6667 6.97918H5.95024C6.16288 7.38626 6.4276 7.79682 6.7444 8.21085C7.06121 8.62473 7.46107 9.10092 7.94399 9.63939C8.60524 8.91717 9.17545 8.22675 9.65461 7.56814C10.1338 6.90953 10.4963 6.22015 10.7421 5.50001H2.61857C2.46482 5.50001 2.33614 5.44862 2.23253 5.34585C2.12878 5.24293 2.0769 5.11522 2.0769 4.96272C2.0769 4.81022 2.12878 4.68112 2.23253 4.57543C2.33614 4.4696 2.46482 4.41668 2.61857 4.41668H7.45836V3.27897C7.45836 3.12522 7.50982 2.99647 7.61274 2.89272C7.71552 2.78911 7.84315 2.7373 7.99565 2.7373C8.14815 2.7373 8.27725 2.78911 8.38295 2.89272C8.48878 2.99647 8.5417 3.12522 8.5417 3.27897V4.41668H13.3815C13.5352 4.41668 13.6639 4.46814 13.7675 4.57105C13.8713 4.67383 13.9232 4.80147 13.9232 4.95397C13.9232 5.10647 13.8713 5.23557 13.7675 5.34126C13.6639 5.4471 13.5352 5.50001 13.3815 5.50001H11.9338C11.6574 6.39418 11.2375 7.23015 10.674 8.00793C10.1104 8.78571 9.44447 9.59612 8.67628 10.4392L10.6282 12.3781L10.1971 13.4952L7.94399 11.2419ZM13.1698 14.1233H16.3877L14.8204 9.88939L13.1698 14.1233Z",fill:"#EA4C89"})})}function qk(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:m("path",{d:"M6.43749 14.0898V5.91017C6.43749 5.7567 6.48902 5.62808 6.59207 5.52433C6.69513 5.42044 6.82277 5.3685 6.97499 5.3685C7.12735 5.3685 7.25638 5.42044 7.36207 5.52433C7.46791 5.62808 7.52082 5.7567 7.52082 5.91017V14.0898C7.52082 14.2432 7.4693 14.3718 7.36624 14.4756C7.26318 14.5795 7.13555 14.6314 6.98332 14.6314C6.83096 14.6314 6.70193 14.5795 6.59624 14.4756C6.49041 14.3718 6.43749 14.2432 6.43749 14.0898ZM9.45832 17.0416V2.95829C9.45832 2.80482 9.50985 2.67621 9.61291 2.57246C9.71596 2.46857 9.8436 2.41663 9.99582 2.41663C10.1482 2.41663 10.2772 2.46857 10.3829 2.57246C10.4887 2.67621 10.5417 2.80482 10.5417 2.95829V17.0416C10.5417 17.1951 10.4901 17.3237 10.3871 17.4275C10.284 17.5313 10.1564 17.5833 10.0042 17.5833C9.8518 17.5833 9.72277 17.5313 9.61707 17.4275C9.51124 17.3237 9.45832 17.1951 9.45832 17.0416ZM3.41666 11.1698V8.83017C3.41666 8.67669 3.46818 8.54802 3.57124 8.44413C3.6743 8.34038 3.80193 8.2885 3.95416 8.2885C4.10652 8.2885 4.23555 8.34038 4.34124 8.44413C4.44707 8.54802 4.49999 8.67669 4.49999 8.83017V11.1698C4.49999 11.3232 4.44846 11.4519 4.34541 11.5558C4.24235 11.6595 4.11471 11.7114 3.96249 11.7114C3.81013 11.7114 3.6811 11.6595 3.57541 11.5558C3.46957 11.4519 3.41666 11.3232 3.41666 11.1698ZM12.4792 14.0898V5.91017C12.4792 5.7567 12.5307 5.62808 12.6337 5.52433C12.7368 5.42044 12.8644 5.3685 13.0167 5.3685C13.169 5.3685 13.298 5.42044 13.4037 5.52433C13.5096 5.62808 13.5625 5.7567 13.5625 5.91017V14.0898C13.5625 14.2432 13.511 14.3718 13.4079 14.4756C13.3049 14.5795 13.1772 14.6314 13.025 14.6314C12.8726 14.6314 12.7436 14.5795 12.6379 14.4756C12.5321 14.3718 12.4792 14.2432 12.4792 14.0898ZM15.5 11.1698V8.83017C15.5 8.67669 15.5515 8.54802 15.6546 8.44413C15.7576 8.34038 15.8853 8.2885 16.0375 8.2885C16.1899 8.2885 16.3189 8.34038 16.4246 8.44413C16.5304 8.54802 16.5833 8.67669 16.5833 8.83017V11.1698C16.5833 11.3232 16.5318 11.4519 16.4287 11.5558C16.3257 11.6595 16.198 11.7114 16.0458 11.7114C15.8935 11.7114 15.7644 11.6595 15.6587 11.5558C15.5529 11.4519 15.5 11.3232 15.5 11.1698Z",fill:"#EA4C89"})})}function Kk(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[m("mask",{id:"mask0_33422_14391",style:"mask-type:alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20",children:m("rect",{width:"20",height:"20",fill:"#D9D9D9"})}),m("g",{mask:"url(#mask0_33422_14391)",children:m("path",{d:"M4.24828 16.5513C3.99731 16.5962 3.79008 16.5334 3.62661 16.363C3.46314 16.1925 3.40383 15.9818 3.44869 15.7309L4.08328 12.6555L7.32369 15.9167L4.24828 16.5513ZM7.32369 15.9167L4.08328 12.6555L12.8493 3.91025C13.1089 3.65067 13.4195 3.52087 13.7812 3.52087C14.1429 3.52087 14.4535 3.65067 14.7131 3.91025L16.0897 5.26608C16.3493 5.52567 16.4791 5.83976 16.4791 6.20837C16.4791 6.57699 16.3493 6.89108 16.0897 7.15067L7.32369 15.9167ZM13.5945 4.68442L5.57369 12.718L7.28203 14.4263L15.3156 6.40546C15.3636 6.3574 15.3877 6.29733 15.3877 6.22525C15.3877 6.15303 15.3636 6.09289 15.3156 6.04483L13.9552 4.68442C13.9071 4.63636 13.847 4.61233 13.7747 4.61233C13.7027 4.61233 13.6426 4.63636 13.5945 4.68442Z",fill:"#999999"})})]})}function Qk(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:24,height:24,viewBox:"0 0 24 24",fill:"none",children:m("path",{d:"M18.6245 9.1678C18.3397 8.83214 17.93 8.63991 17.4996 8.64H13.9997V7.6C13.9997 6.16406 12.8804 5 11.4998 5C11.3103 4.99986 11.1371 5.11109 11.0523 5.2873L8.69112 10.2H5.99997C5.4477 10.2 5 10.6656 5 11.24V16.96C5 17.5344 5.44768 18 5.99997 18H16.7496C17.5057 18.0003 18.1438 17.4152 18.2383 16.635L18.9883 10.395C19.042 9.95059 18.9095 9.50359 18.6245 9.1678ZM5.99997 11.24H8.49988V16.96H5.99997V11.24ZM17.9958 10.265L17.2458 16.505C17.2143 16.7651 17.0016 16.9601 16.7496 16.96H9.49984V10.8428L11.7941 6.0699C12.4953 6.21585 12.9999 6.85629 12.9997 7.6V9.16C12.9997 9.44719 13.2236 9.68 13.4997 9.68H17.4996C17.8006 9.67989 18.0334 9.9544 17.9958 10.265Z",fill:"#999999"})})}function Yk(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:24,height:24,viewBox:"0 0 24 24",fill:"none",children:m("path",{d:"M18.6245 9.1678C18.3397 8.83214 17.93 8.63991 17.4996 8.64H13.9997V7.6C13.9997 6.16406 12.8804 5 11.4998 5C11.3103 4.99986 11.1371 5.11109 11.0523 5.2873L8.69112 10.2H5.99997C5.4477 10.2 5 10.6656 5 11.24V16.96C5 17.5344 5.44768 18 5.99997 18H16.7496C17.5057 18.0003 18.1438 17.4152 18.2383 16.635L18.9883 10.395C19.042 9.95059 18.9095 9.50359 18.6245 9.1678ZM5.99997 11.24H8.49988V16.96H5.99997V11.24Z",fill:"#EA4C89"})})}function Zk(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:24,height:24,viewBox:"0 0 24 24",fill:"none",children:m("path",{d:"M5.37549 14.8322C5.66028 15.1679 6.07001 15.3601 6.50045 15.36L10.0003 15.36L10.0003 16.4C10.0003 17.8359 11.1196 19 12.5002 19C12.6897 19.0001 12.8629 18.8889 12.9477 18.7127L15.3089 13.8L18 13.8C18.5523 13.8 19 13.3344 19 12.76L19 7.04C19 6.4656 18.5523 5.99997 18 6L7.25042 6C6.49432 5.99973 5.85623 6.5848 5.76172 7.365L5.01175 13.605C4.95797 14.0494 5.09046 14.4964 5.37549 14.8322ZM18 12.76L15.5001 12.76L15.5001 7.04L18 7.04L18 12.76ZM6.00421 13.735L6.75418 7.495C6.78569 7.23493 6.99838 7.03991 7.25042 7.04L14.5002 7.04L14.5002 13.1572L12.2059 17.9301C11.5047 17.7841 11.0001 17.1437 11.0003 16.4L11.0003 14.84C11.0003 14.5528 10.7764 14.32 10.5003 14.32L6.50044 14.32C6.19944 14.3201 5.96658 14.0456 6.00421 13.735Z",fill:"#999999"})})}function Jk(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:24,height:24,viewBox:"0 0 24 24",fill:"none",children:m("path",{d:"M5.37549 14.8322C5.66028 15.1679 6.07001 15.3601 6.50045 15.36L10.0003 15.36L10.0003 16.4C10.0003 17.8359 11.1196 19 12.5002 19C12.6897 19.0001 12.8629 18.8889 12.9477 18.7127L15.3089 13.8L18 13.8C18.5523 13.8 19 13.3344 19 12.76L19 7.04C19 6.4656 18.5523 5.99997 18 6L7.25042 6C6.49432 5.99973 5.85623 6.5848 5.76172 7.365L5.01175 13.605C4.95797 14.0494 5.09046 14.4964 5.37549 14.8322ZM18 12.76L15.5001 12.76L15.5001 7.04L18 7.04L18 12.76Z",fill:"#EA4C89"})})}function Xk(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:28,height:28,viewBox:"0 0 28 28",fill:"none",children:[m("mask",{id:"mask0_29692_415",style:"mask-type:alpha",maskUnits:"userSpaceOnUse",x:"5",y:"5",width:"18",height:"18",children:m("rect",{x:"5",y:"5",width:"18",height:"18",fill:"#D9D9D9"})}),m("g",{mask:"url(#mask0_29692_415)",children:m("path",{d:"M13.025 21.3239V19.925H9.28082C8.9432 19.925 8.65782 19.8084 8.4247 19.5753C8.19157 19.3422 8.07501 19.0568 8.07501 18.7192V9.28082C8.07501 8.94319 8.19157 8.65782 8.4247 8.42469C8.65782 8.19157 8.9432 8.07501 9.28082 8.07501H13.025V6.67607C13.025 6.53794 13.0714 6.42213 13.1641 6.32863C13.2569 6.23526 13.3718 6.18857 13.5088 6.18857C13.6459 6.18857 13.762 6.23526 13.8571 6.32863C13.9524 6.42213 14 6.53794 14 6.67607V21.3239C14 21.4621 13.9536 21.5779 13.8609 21.6714C13.7681 21.7648 13.6533 21.8114 13.5163 21.8114C13.3791 21.8114 13.263 21.7648 13.1679 21.6714C13.0726 21.5779 13.025 21.4621 13.025 21.3239ZM9.28082 18.95H13.025V17.225H11.075C10.9369 17.225 10.8211 17.1786 10.7278 17.0859C10.6343 16.9931 10.5875 16.8783 10.5875 16.7413C10.5875 16.6041 10.6343 16.488 10.7278 16.3929C10.8211 16.2976 10.9369 16.25 11.075 16.25H13.025V14.7125H11.075C10.9369 14.7125 10.8211 14.6661 10.7278 14.5734C10.6343 14.4806 10.5875 14.3658 10.5875 14.2288C10.5875 14.0916 10.6343 13.9755 10.7278 13.8804C10.8211 13.7851 10.9369 13.7375 11.075 13.7375H13.025V12.2H11.075C10.9369 12.2 10.8211 12.1536 10.7278 12.0609C10.6343 11.9681 10.5875 11.8533 10.5875 11.7163C10.5875 11.5791 10.6343 11.463 10.7278 11.3679C10.8211 11.2726 10.9369 11.225 11.075 11.225H13.025V9.05001H9.28082C9.22307 9.05001 9.1702 9.07407 9.1222 9.12219C9.07407 9.17019 9.05001 9.22307 9.05001 9.28082V18.7192C9.05001 18.7769 9.07407 18.8298 9.1222 18.8778C9.1702 18.9259 9.22307 18.95 9.28082 18.95ZM15.9097 19.925C15.7716 19.925 15.6558 19.8786 15.5623 19.7859C15.4689 19.6931 15.4222 19.5783 15.4222 19.4413C15.4222 19.3041 15.4689 19.188 15.5623 19.0929C15.6558 18.9976 15.7716 18.95 15.9097 18.95H18.7914C18.849 18.95 18.9019 18.9259 18.95 18.8778C18.9981 18.8298 19.0222 18.7769 19.0222 18.7192V9.28082C19.0222 9.22307 18.9981 9.17019 18.95 9.12219C18.9019 9.07407 18.849 9.05001 18.7914 9.05001H15.9097C15.7716 9.05001 15.6558 9.00363 15.5623 8.91088C15.4689 8.81813 15.4222 8.70326 15.4222 8.56626C15.4222 8.42913 15.4689 8.31301 15.5623 8.21788C15.6558 8.12263 15.7716 8.07501 15.9097 8.07501H18.7914C19.129 8.07501 19.4144 8.19157 19.6475 8.42469C19.8805 8.65782 19.997 8.94319 19.997 9.28082V18.7192C19.997 19.0568 19.8805 19.3422 19.6475 19.5753C19.4144 19.8084 19.129 19.925 18.7914 19.925H15.9097ZM15.9097 14.7125C15.7716 14.7125 15.6558 14.6661 15.5623 14.5734C15.4689 14.4806 15.4222 14.3658 15.4222 14.2288C15.4222 14.0916 15.4689 13.9755 15.5623 13.8804C15.6558 13.7851 15.7716 13.7375 15.9097 13.7375H17.3722C17.5103 13.7375 17.6261 13.7839 17.7194 13.8766C17.8129 13.9694 17.8597 14.0843 17.8597 14.2213C17.8597 14.3584 17.8129 14.4745 17.7194 14.5696C17.6261 14.6649 17.5103 14.7125 17.3722 14.7125H15.9097ZM15.9097 12.2C15.7716 12.2 15.6558 12.1536 15.5623 12.0609C15.4689 11.9681 15.4222 11.8533 15.4222 11.7163C15.4222 11.5791 15.4689 11.463 15.5623 11.3679C15.6558 11.2726 15.7716 11.225 15.9097 11.225H17.3722C17.5103 11.225 17.6261 11.2714 17.7194 11.3641C17.8129 11.4569 17.8597 11.5718 17.8597 11.7088C17.8597 11.8459 17.8129 11.962 17.7194 12.0571C17.6261 12.1524 17.5103 12.2 17.3722 12.2H15.9097Z",fill:"#999999"})})]})}function $k(e){return m("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:e.class,style:e.style,children:[m("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.4284 6.59193L15.1187 2.28564H6.28557C5.83092 2.28564 5.39488 2.46626 5.07339 2.78775C4.7519 3.10924 4.57129 3.54527 4.57129 3.99993V9.71422V18.8571V19.9999C4.57129 20.4546 4.7519 20.8906 5.07339 21.2121C5.39488 21.5336 5.83092 21.7142 6.28557 21.7142H17.7141C18.1688 21.7142 18.6048 21.5336 18.9263 21.2121C19.2478 20.8906 19.4284 20.4546 19.4284 19.9999V18.8571V9.71422V6.59193ZM15.341 6.82964V4.93136L17.2404 6.82964H15.341ZM6.28551 18.8571V19.9999H17.7141V18.8571V8.54335H13.6272L13.6267 3.99992H6.28551V18.8571Z"}),m("rect",{x:"7.55957",y:"10.2002",width:"8.88",height:"1.8",fill:"#EA4C89"}),m("rect",{x:"7.55957",y:"13.2002",width:"8.88",height:"1.68",fill:"#EA4C89"}),m("rect",{x:"7.55957",y:"16.0801",width:"4.92",height:"1.8",fill:"#EA4C89"})]})}function Yf({style:e,fillColor:t}){let n=t||"#666666";return m("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",style:e,xmlns:"http://www.w3.org/2000/svg",children:[m("path",{d:"M10.3873 2.29199C10.6319 2.29227 10.8664 2.38963 11.0392 2.56268C11.2121 2.73573 11.3092 2.97032 11.3092 3.21491V4.07845L12.1175 4.38366C12.7273 4.61311 13.2952 4.94108 13.7988 5.35449L14.4675 5.90241L15.2165 5.47012L15.2394 5.45658C15.3787 5.37513 15.5373 5.33233 15.6988 5.33262C15.861 5.33283 16.0203 5.37555 16.1608 5.45652C16.3014 5.53748 16.4182 5.65387 16.4998 5.79408L16.8925 6.47428C17.0145 6.68626 17.0475 6.93798 16.9843 7.17425C16.921 7.41052 16.7666 7.61207 16.555 7.7347L16.5321 7.74824L15.7842 8.17949L15.9227 9.03053C16.031 9.67987 16.031 10.3427 15.9227 10.992L15.781 11.8462L16.531 12.2785L16.5467 12.2878C16.758 12.4105 16.9122 12.6118 16.9754 12.8478C17.0387 13.0839 17.0059 13.3353 16.8842 13.5472L16.5154 14.1847C16.3932 14.3964 16.1919 14.551 15.9558 14.6145C15.7196 14.678 15.468 14.6451 15.256 14.5232L15.2415 14.5139L14.4904 14.0805L13.8206 14.6326C13.3125 15.0522 12.7384 15.3849 12.1217 15.617L11.3133 15.9222V16.7868C11.3132 16.9082 11.2891 17.0283 11.2425 17.1404C11.1958 17.2524 11.1276 17.3542 11.0415 17.4398C10.9555 17.5254 10.8535 17.5933 10.7412 17.6394C10.6289 17.6855 10.5087 17.7091 10.3873 17.7087H9.61229C9.3677 17.7084 9.13322 17.611 8.96037 17.438C8.78751 17.2649 8.69042 17.0303 8.69042 16.7857V15.9222L7.88209 15.617C7.27233 15.3875 6.70437 15.0596 6.20084 14.6462L5.53209 14.0982L4.78313 14.5305L4.76021 14.5441C4.62084 14.6255 4.46226 14.6683 4.30084 14.668C4.13864 14.6678 3.97932 14.6251 3.83877 14.5441C3.69823 14.4632 3.58135 14.3468 3.49979 14.2066L3.10709 13.5264C2.98505 13.3144 2.95205 13.0627 3.01532 12.8264C3.07858 12.5901 3.23296 12.3886 3.44459 12.266L3.4675 12.2524L4.21542 11.8212L4.07688 10.9701C3.96856 10.3208 3.96856 9.65799 4.07688 9.00866L4.21854 8.15553L3.46959 7.7222L3.45709 7.70866C3.24914 7.58523 3.09787 7.3852 3.03575 7.1515C2.97362 6.9178 3.00559 6.66905 3.12479 6.45866L3.49354 5.82116C3.57469 5.68082 3.69133 5.5643 3.83175 5.4833C3.97217 5.40231 4.13144 5.35968 4.29354 5.3597C4.45497 5.35942 4.61355 5.40221 4.75292 5.48366L4.7675 5.49199L5.51854 5.92533L6.18834 5.37324C6.69646 4.95362 7.27054 4.62101 7.88729 4.38887L8.69563 4.08366V3.21908C8.69452 2.97466 8.79041 2.73979 8.96226 2.56598C9.13411 2.39218 9.36788 2.29364 9.61229 2.29199H10.3873ZM10.3873 1.04199H9.61229C9.03636 1.04227 8.4841 1.27118 8.07685 1.67842C7.66961 2.08567 7.4407 2.63794 7.44042 3.21387C6.69518 3.49457 6.00146 3.89651 5.38729 4.40345L5.37271 4.39512C4.87362 4.10719 4.2806 4.02927 3.72407 4.17852C3.16753 4.32776 2.69307 4.69193 2.405 5.19095L2.03729 5.83366C1.74928 6.33263 1.67121 6.92555 1.82025 7.48207C1.96929 8.03858 2.33324 8.51313 2.83209 8.80137L2.84771 8.8097C2.78023 9.20478 2.74539 9.60474 2.74354 10.0055C2.74367 10.3974 2.77572 10.7886 2.83938 11.1753L2.81646 11.1889C2.56927 11.3314 2.35259 11.5213 2.1788 11.7476C2.00501 11.9739 1.87752 12.2322 1.80361 12.5078C1.7297 12.7834 1.71083 13.0709 1.74807 13.3538C1.7853 13.6367 1.87792 13.9095 2.02063 14.1566L2.41334 14.8368C2.55638 15.084 2.74681 15.3006 2.97371 15.4741C3.20061 15.6476 3.45953 15.7746 3.73561 15.8479C4.01169 15.9211 4.29952 15.9392 4.58259 15.901C4.86566 15.8628 5.13841 15.7691 5.38521 15.6253L5.40813 15.6118C6.01714 16.1109 6.70362 16.507 7.44042 16.7847C7.44028 17.0701 7.49635 17.3526 7.60542 17.6163C7.7145 17.88 7.87444 18.1196 8.07612 18.3215C8.27779 18.5234 8.51726 18.6835 8.78084 18.7929C9.04441 18.9022 9.32694 18.9585 9.61229 18.9587H10.3873C10.9632 18.9584 11.5155 18.7295 11.9227 18.3222C12.33 17.915 12.5589 17.3627 12.5592 16.7868C13.3043 16.5064 13.9981 16.1048 14.6123 15.5982L14.6269 15.6066C15.126 15.8945 15.719 15.9724 16.2755 15.8232C16.8321 15.6739 17.3065 15.3098 17.5946 14.8107L17.9623 14.1732C18.2503 13.6743 18.3284 13.0813 18.1793 12.5248C18.0303 11.9683 17.6663 11.4938 17.1675 11.2055L17.1519 11.1972C17.2194 10.8021 17.2542 10.4022 17.256 10.0014C17.2559 9.60948 17.2239 9.21826 17.1602 8.83158L17.1831 8.81803C17.4303 8.6755 17.647 8.48565 17.8208 8.25934C17.9946 8.03303 18.1221 7.77469 18.196 7.49908C18.2699 7.22348 18.2888 6.93601 18.2515 6.65311C18.2143 6.37021 18.1217 6.09742 17.979 5.85033L17.5863 5.17012C17.4437 4.92236 17.2537 4.70518 17.027 4.53106C16.8003 4.35693 16.5415 4.22928 16.2654 4.15544C15.9893 4.08159 15.7013 4.063 15.418 4.10074C15.1346 4.13847 14.8616 4.23179 14.6144 4.37533L14.5915 4.38887C13.9824 3.8898 13.296 3.4936 12.5592 3.21595C12.5593 2.9306 12.5032 2.64801 12.3942 2.38433C12.2851 2.12065 12.1252 1.88103 11.9235 1.67916C11.7218 1.47729 11.4823 1.31712 11.2188 1.20779C10.9552 1.09847 10.6726 1.04213 10.3873 1.04199Z",fill:n}),m("path",{d:"M9.99984 7.91699C10.4119 7.91699 10.8147 8.03918 11.1573 8.2681C11.4999 8.49702 11.7669 8.82239 11.9246 9.20307C12.0823 9.58375 12.1235 10.0026 12.0431 10.4068C11.9628 10.8109 11.7643 11.1821 11.473 11.4735C11.1816 11.7648 10.8104 11.9632 10.4063 12.0436C10.0021 12.124 9.58326 12.0828 9.20258 11.9251C8.8219 11.7674 8.49653 11.5004 8.26761 11.1578C8.03869 10.8152 7.91651 10.4124 7.91651 10.0003C7.91651 9.44779 8.136 8.91789 8.5267 8.52719C8.9174 8.13649 9.4473 7.91699 9.99984 7.91699ZM9.99984 6.66699C9.34057 6.66699 8.6961 6.86249 8.14794 7.22876C7.59977 7.59503 7.17253 8.11563 6.92024 8.72471C6.66795 9.3338 6.60194 10.004 6.73055 10.6506C6.85917 11.2972 7.17664 11.8912 7.64282 12.3573C8.10899 12.8235 8.70293 13.141 9.34954 13.2696C9.99614 13.3982 10.6664 13.3322 11.2754 13.0799C11.8845 12.8276 12.4051 12.4004 12.7714 11.8522C13.1377 11.3041 13.3332 10.6596 13.3332 10.0003C13.3332 9.11627 12.982 8.26842 12.3569 7.6433C11.7317 7.01818 10.8839 6.66699 9.99984 6.66699Z",fill:n})]})}var eM=m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 24 24",fill:"#222222",children:[m("path",{d:"M22.9331 7.46673V21.3334C22.9331 22.2667 22.1331 23.0667 21.1997 23.0667H10.1331V22.0001V20.9334H20.9331V7.60006H15.3331L11.0664 18.0001C10.7997 18.6667 10.1331 19.0667 9.46641 19.0667H2.79974C1.86641 19.0667 1.06641 18.2667 1.06641 17.3334V3.46673C1.06641 2.5334 1.86641 1.7334 2.79974 1.7334L12.9331 1.7334V2.80007V3.86673H2.93307V17.3334H9.33307L13.5997 6.9334C13.8664 6.26673 14.5331 5.86673 15.1997 5.86673H21.3331C22.2664 5.60006 22.9331 6.40007 22.9331 7.46673Z"}),m("path",{d:"M5.904 11.4063L5.472 13H4L6.056 6H7.96L10 13H8.496L8.072 11.4063H5.904ZM7.688 9.95389L7.048 7.54323H6.952L6.296 9.95389H7.688Z",fill:"#EA4C89"}),m("path",{d:"M19.4337 18.9805C18.403 18.6732 17.5907 18.3117 16.9968 17.8961C16.6999 18.1039 16.3542 18.2965 15.9597 18.474C15.5652 18.6558 15.1071 18.8312 14.5854 19L14 17.8831C14.9035 17.6494 15.6076 17.3918 16.1124 17.1104C15.8579 16.816 15.6394 16.4848 15.4571 16.1169C15.2789 15.7489 15.1262 15.3312 14.9989 14.8636H14.1718V13.8182H16.456C16.4178 13.5844 16.3669 13.3312 16.3033 13.0584L17.5504 13L17.6522 13.8182H19.8091V14.8636H18.9374C18.8059 15.3485 18.6532 15.7749 18.4793 16.1429C18.3054 16.5108 18.0976 16.8377 17.8558 17.1234C18.4327 17.4524 19.1474 17.6926 20 17.8442L19.4337 18.9805ZM16.1633 14.8636C16.3118 15.487 16.5854 16.013 16.9841 16.4416C17.1707 16.2424 17.3256 16.0152 17.4486 15.7597C17.5758 15.5 17.684 15.2013 17.7731 14.8636H16.1633Z",fill:"#EA4C89"})]}),tM=m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 24 24",fill:"#222222",children:[m("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13 2H3C1.89543 2 1 2.89543 1 4V20C1 21.1046 1.89543 22 3 22H7V20H3V4H13V2ZM21 2H17V4H21V20H11V22H21C22.1046 22 23 21.1046 23 20V4C23 2.89543 22.1046 2 21 2Z"}),m("path",{d:"M10.5387 14.1787L9.96267 16H8L10.7413 8H13.28L16 16H13.9947L13.4293 14.1787H10.5387ZM12.9173 12.5187L12.064 9.76369H11.936L11.0613 12.5187H12.9173Z",fill:"#EA4C89"})]});function nM(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"20",viewBox:"0 0 16 20",fill:"currentColor",class:e.class,style:e.style,children:[m("path",{d:"M14.2857 0.286133C14.7404 0.286133 15.1764 0.466744 15.4979 0.788235C15.8194 1.10973 16 1.54576 16 2.00042V18.0004C16 18.2255 15.9557 18.4485 15.8695 18.6564C15.7834 18.8644 15.6571 19.0534 15.4979 19.2126C15.3387 19.3718 15.1497 19.4981 14.9417 19.5842C14.7338 19.6704 14.5108 19.7147 14.2857 19.7147H1.71429C1.48916 19.7147 1.26624 19.6704 1.05826 19.5842C0.85027 19.4981 0.661288 19.3718 0.502102 19.2126C0.342916 19.0534 0.216643 18.8644 0.130492 18.6564C0.0443411 18.4485 0 18.2255 0 18.0004V2.00042C0 1.54576 0.180611 1.10973 0.502102 0.788235C0.823593 0.466744 1.25963 0.286133 1.71429 0.286133H14.2857ZM14.2857 2.00042H1.71429V18.0004H14.2857V2.00042Z",fill:"currentColor"}),m("text",{x:"4.5",y:"14.5",textAnchor:"middle",dominantBaseline:"middle",fill:"#EA4C89",fontFamily:"Alibaba PuHuiTi 3.0",fontSize:"11",fontWeight:"700",fontStyle:"normal",children:"T"})]})}function rM(){return m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:m("path",{d:"M18.6245 9.1678C18.3397 8.83214 17.93 8.63991 17.4996 8.64H13.9997V7.6C13.9997 6.16406 12.8804 5 11.4998 5C11.3103 4.99986 11.1371 5.11109 11.0523 5.2873L8.69112 10.2H5.99997C5.4477 10.2 5 10.6656 5 11.24V16.96C5 17.5344 5.44768 18 5.99997 18H16.7496C17.5057 18.0003 18.1438 17.4152 18.2383 16.635L18.9883 10.395C19.042 9.95059 18.9095 9.50359 18.6245 9.1678ZM5.99997 11.24H8.49988V16.96H5.99997V11.24ZM17.9958 10.265L17.2458 16.505C17.2143 16.7651 17.0016 16.9601 16.7496 16.96H9.49984V10.8428L11.7941 6.0699C12.4953 6.21585 12.9999 6.85629 12.9997 7.6V9.16C12.9997 9.44719 13.2236 9.68 13.4997 9.68H17.4996C17.8006 9.67989 18.0334 9.9544 17.9958 10.265Z",fill:"#999999"})})}function Zf(e){return m("svg",{class:e.class,width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:m("path",{d:"M12.03 16.6792C12.2556 16.6792 12.4469 16.6014 12.604 16.4457C12.7611 16.2898 12.8396 16.0991 12.8396 15.8736C12.8396 15.6479 12.7617 15.4565 12.6059 15.2994C12.45 15.1425 12.2594 15.064 12.0338 15.064C11.8082 15.064 11.6169 15.1419 11.4598 15.2975C11.3028 15.4534 11.2242 15.6441 11.2242 15.8696C11.2242 16.0953 11.3021 16.2867 11.458 16.4438C11.6137 16.6007 11.8044 16.6792 12.03 16.6792ZM12.0069 19.5832C10.9637 19.5832 9.98123 19.3858 9.05942 18.9911C8.13761 18.5964 7.33081 18.0532 6.639 17.3617C5.9472 16.6702 5.4038 15.864 5.0088 14.9432C4.61393 14.0225 4.4165 13.0387 4.4165 11.9917C4.4165 10.9448 4.61387 9.96386 5.00859 9.049C5.40331 8.13414 5.94643 7.33081 6.63796 6.639C7.32949 5.9472 8.13567 5.4038 9.0565 5.0088C9.9772 4.61393 10.961 4.4165 12.008 4.4165C13.0549 4.4165 14.0358 4.61386 14.9507 5.00859C15.8655 5.40331 16.6689 5.94643 17.3607 6.63796C18.0525 7.32949 18.5959 8.134 18.9909 9.0515C19.3857 9.96914 19.5832 10.9496 19.5832 11.9928C19.5832 13.0359 19.3858 14.0184 18.9911 14.9403C18.5964 15.8621 18.0532 16.6689 17.3617 17.3607C16.6702 18.0525 15.8657 18.5959 14.9482 18.9909C14.0305 19.3857 13.0501 19.5832 12.0069 19.5832ZM11.9998 18.4998C13.8054 18.4998 15.3401 17.8679 16.604 16.604C17.8679 15.3401 18.4998 13.8054 18.4998 11.9998C18.4998 10.1943 17.8679 8.65956 16.604 7.39567C15.3401 6.13178 13.8054 5.49984 11.9998 5.49984C10.1943 5.49984 8.65956 6.13178 7.39567 7.39567C6.13178 8.65956 5.49984 10.1943 5.49984 11.9998C5.49984 13.8054 6.13178 15.3401 7.39567 16.604C8.65956 17.8679 10.1943 18.4998 11.9998 18.4998ZM12.0511 8.43255C12.44 8.43255 12.7765 8.55498 13.0607 8.79984C13.345 9.04484 13.4871 9.35102 13.4871 9.71838C13.4871 10.0278 13.4008 10.3032 13.2282 10.5446C13.0557 10.7862 12.854 11.0041 12.6232 11.1986C12.3207 11.4669 12.0509 11.7691 11.8138 12.105C11.5767 12.4409 11.4571 12.8134 11.455 13.2225C11.4496 13.3744 11.5001 13.4946 11.6065 13.5832C11.7129 13.6718 11.8369 13.7161 11.9786 13.7161C12.1305 13.7161 12.2586 13.6731 12.3628 13.5871C12.4669 13.5012 12.5345 13.3877 12.5655 13.2467C12.6349 12.9464 12.7602 12.682 12.9413 12.4534C13.1224 12.2248 13.3186 12.0074 13.5298 11.8013C13.8336 11.5052 14.0848 11.1755 14.2834 10.8121C14.4821 10.4487 14.5815 10.0588 14.5815 9.64255C14.5815 8.98227 14.3353 8.43282 13.8428 7.99421C13.3503 7.55574 12.7609 7.3365 12.0746 7.3365C11.5846 7.3365 11.127 7.4497 10.7017 7.67609C10.2766 7.90262 9.92664 8.22123 9.65192 8.63192C9.56442 8.75762 9.54123 8.89532 9.58234 9.04505C9.62331 9.19491 9.71741 9.29991 9.86463 9.36005C10.0167 9.43074 10.1659 9.44102 10.3123 9.39088C10.4587 9.3406 10.581 9.26317 10.6792 9.15859C10.8481 8.95345 11.049 8.78116 11.2819 8.64171C11.5148 8.50227 11.7712 8.43255 12.0511 8.43255Z",fill:"#999999"})})}function iM(e){return m("svg",{class:e.class,width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[m("path",{d:"M12.0004 2.28564C17.3656 2.28564 21.7147 6.63479 21.7147 11.9999C21.7147 17.3651 17.3656 21.7142 12.0004 21.7142C6.63528 21.7142 2.28613 17.3651 2.28613 11.9999C2.28613 6.63479 6.63528 2.28564 12.0004 2.28564ZM12.0004 3.99993C7.58213 3.99993 4.00042 7.58165 4.00042 11.9999C4.00042 16.4182 7.58213 19.9999 12.0004 19.9999C16.4187 19.9999 20.0004 16.4182 20.0004 11.9999C20.0004 7.58165 16.4187 3.99993 12.0004 3.99993Z",fill:"currentColor"}),m("path",{d:"M13.062 17.1429V15.4286H11.4557L11.4563 17.1429H13.062Z",fill:"#EA4C89"}),m("path",{d:"M15.238 9.58118C15.238 8.14232 14.0043 7.15318 12.9671 6.94404C11.9294 6.73375 10.8054 6.87089 10.0077 7.72518C9.29572 8.48975 9.14258 9.09489 9.14258 10.4297H10.7431V10.0417C10.75 9.35604 10.8654 8.64975 11.8666 8.45318C12.1144 8.39832 12.3717 8.40259 12.6176 8.46563C12.8635 8.52866 13.0911 8.64871 13.282 8.81604C13.638 9.15946 13.646 9.93718 13.0706 10.3246L12.1683 10.9246L12.0671 10.9915C11.6174 11.3035 11.4557 11.6566 11.4557 12.1606V14.2857H13.062V12.7452C13.062 12.4149 13.2197 12.104 13.6414 11.8343C14.0626 11.5652 15.238 11.0206 15.238 9.58118Z",fill:"#EA4C89"})]})}function ml(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:24,height:24,viewBox:"0 0 24 24",style:e.style,children:[m("path",{d:"M4.73641 19.9325C4.73641 20.3776 4.85796 20.4998 5.23835 20.4998H11.2616V11.995H4.73641V19.9325ZM12.7364 20.4998H18.7597C19.1408 20.4998 19.2616 20.3784 19.2616 19.9325V11.995H12.7357V20.4998H12.7364ZM19.2718 7.36327H15.6354C16.5133 7.15085 17.4404 6.46316 17.5546 5.65636C17.6885 4.7352 16.6588 3.33896 15.4127 3.5159C13.9227 3.73458 12.8303 5.13177 12.0594 6.21528C11.2943 5.1532 10.2972 3.91153 8.86885 3.55061C7.48548 3.20297 6.538 4.72648 6.56335 5.66945C6.58816 6.47074 7.46013 7.15161 8.36263 7.36327H4.72623C4.27677 7.36327 3.99902 7.6322 3.99902 8.13611V11.2254L11.2718 11.2269V7.36327H12.7262V11.2269L19.999 11.2254V8.13611C19.999 7.6322 19.7206 7.36327 19.2718 7.36327ZM7.56116 5.95393C7.30948 5.65636 7.47977 5.2522 7.63756 4.94705C7.9278 4.40918 8.3321 4.08241 9.02076 4.3868C9.98091 4.81258 10.6878 5.71288 11.2638 6.52024C10.0441 6.66324 8.22447 6.71881 7.56116 5.95393ZM12.8674 6.5064C13.4608 5.69809 14.1496 4.87744 15.103 4.37296C16.1026 3.84818 17.0295 5.26624 16.5554 5.9471C16.1904 6.46392 15.0335 6.51266 14.4088 6.54187C13.8948 6.56912 13.3798 6.55726 12.8674 6.5064Z",fill:"#ED6D8F"}),m("path",{d:"M11.2614 11.9952H7.21768C6.52575 13.2879 6.15297 14.7457 6.13406 16.2328C6.11514 17.7198 6.45071 19.1878 7.10951 20.4999H11.2614V11.9952ZM12.726 7.73418V11.2271L19.9988 11.2256V9.8496C19.0298 8.91196 17.8656 8.23144 16.6015 7.86376C15.3374 7.49607 14.0094 7.45167 12.726 7.73418ZM19.2614 19.9327V11.9952H12.7355V20.4999H18.7595C19.1406 20.4999 19.2614 20.3785 19.2614 19.9327ZM11.2716 11.2271V8.2068C9.83264 8.83641 8.58896 9.88261 7.68213 11.2263L11.2716 11.2271Z",fill:"#E55884"}),m("path",{d:"M12.7372 20.4998H18.7612C19.1423 20.4998 19.2632 20.3784 19.2632 19.9325V11.995H12.7372V20.4998ZM9.37501 18.3432C9.37449 19.073 9.47179 19.7991 9.664 20.4998H11.2632V13.1671C10.0463 14.5806 9.3725 16.4275 9.37501 18.3432ZM16.6044 10.6621C15.67 10.6608 14.7443 10.8526 13.8787 11.2267L19.3273 11.2256C18.4625 10.8522 17.5378 10.6608 16.6044 10.6621Z",fill:"#DB3E77"}),m("path",{d:"M18.9676 14.0576C16.3136 14.0576 13.9937 15.5771 12.7363 17.842V20.5H18.7603C19.1414 20.5 19.2623 20.3787 19.2623 19.9328V14.0639C19.1645 14.0597 19.0662 14.0576 18.9676 14.0576Z",fill:"#D63070"}),m("path",{d:"M8.20238 8.06029C8.33786 8.2763 7.62511 8.54334 6.87327 9.07551C6.12143 9.60769 5.6152 10.204 5.47954 9.98795C5.34388 9.77193 5.75979 9.03132 6.51163 8.49896C7.26347 7.9666 8.0669 7.84408 8.20238 8.06029Z",fill:"white"})]})}function aM(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:24,height:24,viewBox:"0 0 24 24",children:[m("path",{d:"M17.6411 2.85449H6.5279C4.5875 2.85449 3.0083 4.43369 3.0083 6.37409V17.6229C3.0083 19.5633 4.5875 21.1425 6.5279 21.1425H17.6411C19.5815 21.1425 21.1607 19.5633 21.1607 17.6229V6.37409C21.1607 4.43249 19.5827 2.85449 17.6411 2.85449ZM8.1995 17.0337C6.8591 17.0337 5.7683 15.9429 5.7683 14.6025C5.7683 13.2621 6.8591 12.1713 8.1995 12.1713C9.5399 12.1713 10.6307 13.2621 10.6307 14.6025C10.6295 15.9441 9.5387 17.0337 8.1995 17.0337ZM10.9871 8.03489L8.5571 10.3965C8.38808 10.5609 8.16168 10.653 7.9259 10.6533H7.9103C7.79079 10.6513 7.67286 10.6256 7.5633 10.5778C7.45374 10.5301 7.35471 10.4611 7.2719 10.3749L5.8511 8.89649C5.5043 8.53529 5.5151 7.96169 5.8763 7.61489C6.2375 7.26809 6.8111 7.27889 7.1579 7.64009L7.9463 8.46089L9.7223 6.73529C10.0811 6.38609 10.6559 6.39449 11.0039 6.75329C11.0871 6.83846 11.1527 6.93922 11.1969 7.04977C11.2411 7.16033 11.263 7.27852 11.2615 7.39758C11.2599 7.51663 11.2349 7.63421 11.1878 7.74357C11.1407 7.85293 11.0725 7.95193 10.9871 8.03489ZM17.9195 15.6705H12.6803C12.4207 15.6664 12.1731 15.5605 11.991 15.3755C11.8089 15.1905 11.7068 14.9413 11.7068 14.6817C11.7068 14.4221 11.8089 14.1729 11.991 13.9879C12.1731 13.8029 12.4207 13.6969 12.6803 13.6929H17.9195C18.1791 13.6969 18.4267 13.8029 18.6088 13.9879C18.7909 14.1729 18.893 14.4221 18.893 14.6817C18.893 14.9413 18.7909 15.1905 18.6088 15.3755C18.4267 15.5605 18.1791 15.6664 17.9195 15.6705ZM17.9195 9.74609H12.6803C12.4207 9.74205 12.1731 9.63609 11.991 9.4511C11.8089 9.2661 11.7068 9.0169 11.7068 8.75729C11.7068 8.49768 11.8089 8.24848 11.991 8.06349C12.1731 7.87849 12.4207 7.77254 12.6803 7.76849H17.9195C18.1791 7.77254 18.4267 7.87849 18.6088 8.06349C18.7909 8.24848 18.893 8.49768 18.893 8.75729C18.893 9.0169 18.7909 9.2661 18.6088 9.4511C18.4267 9.63609 18.1791 9.74205 17.9195 9.74609Z",fill:"#FF4645"}),m("path",{d:"M8.1805 13.7949C7.7221 13.7949 7.3501 14.1681 7.3501 14.6253C7.3501 15.0825 7.7233 15.4557 8.1805 15.4557C8.6389 15.4557 9.0109 15.0825 9.0109 14.6253C9.0109 14.1681 8.6389 13.7949 8.1805 13.7949Z",fill:"#FF612F"}),m("path",{d:"M8.1805 13.7949C7.7221 13.7949 7.3501 14.1681 7.3501 14.6253C7.3501 14.7873 7.3981 14.9385 7.4797 15.0657C7.9897 14.8581 8.4853 14.6217 8.9641 14.3589C8.8525 14.0325 8.5453 13.7949 8.1805 13.7949Z",fill:"#FF7E15"}),m("path",{d:"M20.2115 3.97769C19.5683 3.28889 18.6551 2.85449 17.6411 2.85449H6.5279C4.5875 2.85449 3.0083 4.43369 3.0083 6.37409V17.6229C3.0083 19.5633 4.5875 21.1425 6.5279 21.1425H8.0519C11.8571 20.5965 15.1835 18.5709 17.4359 15.6705H12.6791C12.4195 15.6664 12.1719 15.5605 11.9898 15.3755C11.8077 15.1905 11.7056 14.9413 11.7056 14.6817C11.7056 14.4221 11.8077 14.1729 11.9898 13.9879C12.1719 13.8029 12.4195 13.6969 12.6791 13.6929H17.9183C18.1751 13.6929 18.4091 13.7925 18.5855 13.9533C19.7915 11.8377 20.4827 9.38969 20.4827 6.77969C20.4839 5.82089 20.3891 4.88369 20.2115 3.97769ZM8.1995 17.0337C6.8591 17.0337 5.7683 15.9429 5.7683 14.6025C5.7683 13.2621 6.8591 12.1713 8.1995 12.1713C9.5399 12.1713 10.6307 13.2621 10.6307 14.6025C10.6295 15.9441 9.5387 17.0337 8.1995 17.0337ZM10.9871 8.03489L8.5571 10.3965C8.38808 10.5609 8.16168 10.653 7.9259 10.6533H7.9103C7.79079 10.6513 7.67286 10.6256 7.5633 10.5778C7.45374 10.5301 7.35471 10.4611 7.2719 10.3749L5.8511 8.89649C5.5043 8.53529 5.5151 7.96169 5.8763 7.61489C6.2375 7.26809 6.8111 7.27889 7.1579 7.64009L7.9463 8.46089L9.7223 6.73529C10.0811 6.38609 10.6559 6.39449 11.0039 6.75329C11.0871 6.83846 11.1527 6.93922 11.1969 7.04977C11.2411 7.16033 11.263 7.27852 11.2615 7.39758C11.2599 7.51663 11.2349 7.63421 11.1878 7.74357C11.1407 7.85293 11.0725 7.95193 10.9871 8.03489ZM17.9195 9.74609H12.6803C12.4207 9.74205 12.1731 9.63609 11.991 9.4511C11.8089 9.2661 11.7068 9.0169 11.7068 8.75729C11.7068 8.49768 11.8089 8.24848 11.991 8.06349C12.1731 7.87849 12.4207 7.77254 12.6803 7.76849H17.9195C18.1791 7.77254 18.4267 7.87849 18.6088 8.06349C18.7909 8.24848 18.893 8.49768 18.893 8.75729C18.893 9.0169 18.7909 9.2661 18.6088 9.4511C18.4267 9.63609 18.1791 9.74205 17.9195 9.74609Z",fill:"#FF612F"}),m("path",{d:"M12.6803 7.76849H15.1499C15.8591 6.25409 16.3151 4.59929 16.4615 2.85449H6.5279C4.5875 2.85449 3.0083 4.43369 3.0083 6.37409V16.1025C4.0307 16.0329 5.0243 15.8577 5.9771 15.5865C5.83953 15.2771 5.76839 14.9423 5.7683 14.6037C5.7683 13.2633 6.8591 12.1725 8.1995 12.1725C9.1391 12.1725 9.9539 12.7089 10.3583 13.4913C11.7959 12.4773 13.0391 11.2053 14.0255 9.74609H12.6803C12.4207 9.74205 12.1731 9.63609 11.991 9.4511C11.8089 9.2661 11.7068 9.0169 11.7068 8.75729C11.7068 8.49768 11.8089 8.24848 11.991 8.06349C12.1731 7.87849 12.4207 7.77254 12.6803 7.76849ZM10.9871 8.03489L8.5571 10.3965C8.38808 10.5609 8.16168 10.653 7.9259 10.6533H7.9103C7.79079 10.6513 7.67286 10.6256 7.5633 10.5778C7.45374 10.5301 7.35471 10.4611 7.2719 10.3749L5.8511 8.89649C5.5043 8.53529 5.5151 7.96169 5.8763 7.61489C6.2375 7.26809 6.8111 7.27889 7.1579 7.64009L7.9463 8.46089L9.7223 6.73529C10.0811 6.38609 10.6559 6.39449 11.0039 6.75329C11.0871 6.83846 11.1527 6.93921 11.1969 7.04977C11.2411 7.16033 11.263 7.27852 11.2615 7.39758C11.2599 7.51663 11.2349 7.63421 11.1878 7.74357C11.1407 7.85293 11.0725 7.95193 10.9871 8.03489Z",fill:"#FF7E15"}),m("path",{d:"M5.8511 8.89649C5.5043 8.53529 5.5151 7.96169 5.8763 7.61489C6.2375 7.26809 6.8111 7.27889 7.1579 7.64009L7.3691 7.85969C9.0575 6.51809 10.4399 4.81049 11.3963 2.85449H6.5279C4.5875 2.85449 3.0083 4.43369 3.0083 6.37409V10.2381C4.0139 9.89729 4.9679 9.44849 5.8607 8.90729L5.8511 8.89649Z",fill:"#FF9400"})]})}function oM(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:24,height:24,viewBox:"0 0 24 24",children:[m("path",{d:"M17.6411 2.85449H6.5279C4.5875 2.85449 3.0083 4.43369 3.0083 6.37409V17.6229C3.0083 19.5633 4.5875 21.1425 6.5279 21.1425H17.6411C19.5815 21.1425 21.1607 19.5633 21.1607 17.6229V6.37409C21.1607 4.43249 19.5827 2.85449 17.6411 2.85449ZM8.1995 17.0337C6.8591 17.0337 5.7683 15.9429 5.7683 14.6025C5.7683 13.2621 6.8591 12.1713 8.1995 12.1713C9.5399 12.1713 10.6307 13.2621 10.6307 14.6025C10.6295 15.9441 9.5387 17.0337 8.1995 17.0337ZM10.9871 8.03489L8.5571 10.3965C8.38808 10.5609 8.16168 10.653 7.9259 10.6533H7.9103C7.79079 10.6513 7.67286 10.6256 7.5633 10.5778C7.45374 10.5301 7.35471 10.4611 7.2719 10.3749L5.8511 8.89649C5.5043 8.53529 5.5151 7.96169 5.8763 7.61489C6.2375 7.26809 6.8111 7.27889 7.1579 7.64009L7.9463 8.46089L9.7223 6.73529C10.0811 6.38609 10.6559 6.39449 11.0039 6.75329C11.0871 6.83846 11.1527 6.93922 11.1969 7.04977C11.2411 7.16033 11.263 7.27852 11.2615 7.39758C11.2599 7.51663 11.2349 7.63421 11.1878 7.74357C11.1407 7.85293 11.0725 7.95193 10.9871 8.03489ZM17.9195 15.6705H12.6803C12.4207 15.6664 12.1731 15.5605 11.991 15.3755C11.8089 15.1905 11.7068 14.9413 11.7068 14.6817C11.7068 14.4221 11.8089 14.1729 11.991 13.9879C12.1731 13.8029 12.4207 13.6969 12.6803 13.6929H17.9195C18.1791 13.6969 18.4267 13.8029 18.6088 13.9879C18.7909 14.1729 18.893 14.4221 18.893 14.6817C18.893 14.9413 18.7909 15.1905 18.6088 15.3755C18.4267 15.5605 18.1791 15.6664 17.9195 15.6705ZM17.9195 9.74609H12.6803C12.4207 9.74205 12.1731 9.63609 11.991 9.4511C11.8089 9.2661 11.7068 9.0169 11.7068 8.75729C11.7068 8.49768 11.8089 8.24848 11.991 8.06349C12.1731 7.87849 12.4207 7.77254 12.6803 7.76849H17.9195C18.1791 7.77254 18.4267 7.87849 18.6088 8.06349C18.7909 8.24848 18.893 8.49768 18.893 8.75729C18.893 9.0169 18.7909 9.2661 18.6088 9.4511C18.4267 9.63609 18.1791 9.74205 17.9195 9.74609Z",fill:"#7633FF"}),m("path",{d:"M8.1805 13.7949C7.7221 13.7949 7.3501 14.1681 7.3501 14.6253C7.3501 15.0825 7.7233 15.4557 8.1805 15.4557C8.6389 15.4557 9.0109 15.0825 9.0109 14.6253C9.0109 14.1681 8.6389 13.7949 8.1805 13.7949Z",fill:"#7E7EFF"}),m("path",{d:"M8.1805 13.7949C7.7221 13.7949 7.3501 14.1681 7.3501 14.6253C7.3501 14.7873 7.3981 14.9385 7.4797 15.0657C7.9897 14.8581 8.4853 14.6217 8.9641 14.3589C8.8525 14.0325 8.5453 13.7949 8.1805 13.7949Z",fill:"#3E92FF"}),m("path",{d:"M20.2115 3.97769C19.5683 3.28889 18.6551 2.85449 17.6411 2.85449H6.5279C4.5875 2.85449 3.0083 4.43369 3.0083 6.37409V17.6229C3.0083 19.5633 4.5875 21.1425 6.5279 21.1425H8.0519C11.8571 20.5965 15.1835 18.5709 17.4359 15.6705H12.6791C12.4195 15.6664 12.1719 15.5605 11.9898 15.3755C11.8077 15.1905 11.7056 14.9413 11.7056 14.6817C11.7056 14.4221 11.8077 14.1729 11.9898 13.9879C12.1719 13.8029 12.4195 13.6969 12.6791 13.6929H17.9183C18.1751 13.6929 18.4091 13.7925 18.5855 13.9533C19.7915 11.8377 20.4827 9.38969 20.4827 6.77969C20.4839 5.82089 20.3891 4.88369 20.2115 3.97769ZM8.1995 17.0337C6.8591 17.0337 5.7683 15.9429 5.7683 14.6025C5.7683 13.2621 6.8591 12.1713 8.1995 12.1713C9.5399 12.1713 10.6307 13.2621 10.6307 14.6025C10.6295 15.9441 9.5387 17.0337 8.1995 17.0337ZM10.9871 8.03489L8.5571 10.3965C8.38808 10.5609 8.16168 10.653 7.9259 10.6533H7.9103C7.79079 10.6513 7.67286 10.6256 7.5633 10.5778C7.45374 10.5301 7.35471 10.4611 7.2719 10.3749L5.8511 8.89649C5.5043 8.53529 5.5151 7.96169 5.8763 7.61489C6.2375 7.26809 6.8111 7.27889 7.1579 7.64009L7.9463 8.46089L9.7223 6.73529C10.0811 6.38609 10.6559 6.39449 11.0039 6.75329C11.0871 6.83846 11.1527 6.93922 11.1969 7.04977C11.2411 7.16033 11.263 7.27852 11.2615 7.39758C11.2599 7.51663 11.2349 7.63421 11.1878 7.74357C11.1407 7.85293 11.0725 7.95193 10.9871 8.03489ZM17.9195 9.74609H12.6803C12.4207 9.74205 12.1731 9.63609 11.991 9.4511C11.8089 9.2661 11.7068 9.0169 11.7068 8.75729C11.7068 8.49768 11.8089 8.24848 11.991 8.06349C12.1731 7.87849 12.4207 7.77254 12.6803 7.76849H17.9195C18.1791 7.77254 18.4267 7.87849 18.6088 8.06349C18.7909 8.24848 18.893 8.49768 18.893 8.75729C18.893 9.0169 18.7909 9.2661 18.6088 9.4511C18.4267 9.63609 18.1791 9.74205 17.9195 9.74609Z",fill:"#6753FF"}),m("path",{d:"M12.6803 7.76849H15.1499C15.8591 6.25409 16.3151 4.59929 16.4615 2.85449H6.5279C4.5875 2.85449 3.0083 4.43369 3.0083 6.37409V16.1025C4.0307 16.0329 5.0243 15.8577 5.9771 15.5865C5.83953 15.2771 5.76839 14.9423 5.7683 14.6037C5.7683 13.2633 6.8591 12.1725 8.1995 12.1725C9.1391 12.1725 9.9539 12.7089 10.3583 13.4913C11.7959 12.4773 13.0391 11.2053 14.0255 9.74609H12.6803C12.4207 9.74205 12.1731 9.63609 11.991 9.4511C11.8089 9.2661 11.7068 9.0169 11.7068 8.75729C11.7068 8.49768 11.8089 8.24848 11.991 8.06349C12.1731 7.87849 12.4207 7.77254 12.6803 7.76849ZM10.9871 8.03489L8.5571 10.3965C8.38808 10.5609 8.16168 10.653 7.9259 10.6533H7.9103C7.79079 10.6513 7.67286 10.6256 7.5633 10.5778C7.45374 10.5301 7.35471 10.4611 7.2719 10.3749L5.8511 8.89649C5.5043 8.53529 5.5151 7.96169 5.8763 7.61489C6.2375 7.26809 6.8111 7.27889 7.1579 7.64009L7.9463 8.46089L9.7223 6.73529C10.0811 6.38609 10.6559 6.39449 11.0039 6.75329C11.0871 6.83846 11.1527 6.93921 11.1969 7.04977C11.2411 7.16033 11.263 7.27852 11.2615 7.39758C11.2599 7.51663 11.2349 7.63421 11.1878 7.74357C11.1407 7.85293 11.0725 7.95193 10.9871 8.03489Z",fill:"#4C8EFF"}),m("path",{d:"M5.8511 8.89649C5.5043 8.53529 5.5151 7.96169 5.8763 7.61489C6.2375 7.26809 6.8111 7.27889 7.1579 7.64009L7.3691 7.85969C9.0575 6.51809 10.4399 4.81049 11.3963 2.85449H6.5279C4.5875 2.85449 3.0083 4.43369 3.0083 6.37409V10.2381C4.0139 9.89729 4.9679 9.44849 5.8607 8.90729L5.8511 8.89649Z",fill:"#38B9FF"})]})}function sM(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:18,height:19,viewBox:"0 0 18 19",children:m("path",{d:"M7.87724 14.9878C5.50784 12.4932 2.38916 9.62401 2.38916 9.62401L3.76163 8.37672C3.76163 8.37672 6.62995 10.6218 7.00459 10.8713C7.75297 9.87346 12.6169 5.25894 15.2367 4.01074C15.4862 4.38448 15.6104 4.38448 15.6104 4.38448C15.6104 4.38448 10.6213 8.5019 7.87724 14.9878Z",fill:"#21BB45"})})}function uM(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:18,height:18,viewBox:"0 0 18 18",fill:"none",children:[m("path",{d:"M16.8346 1.42689C16.7895 1.13816 16.774 1.12574 16.4775 1.07141C16.2027 1.02018 15.928 1 15.6517 1C15.3816 1 15.1115 1.01863 14.8429 1.04657C13.764 1.15834 12.7115 1.39895 11.6901 1.76686C9.88161 2.41884 8.2858 3.39216 6.99425 4.83429C6.93526 4.89949 6.87472 4.92122 6.79865 4.92122C6.78003 4.92122 6.7614 4.91967 6.74122 4.91811C6.1979 4.85912 5.65302 4.76443 5.10815 4.76443H5.0709C4.09913 4.77219 3.34159 5.21772 2.81534 6.04201C2.52816 6.49219 2.24253 6.94392 1.95534 7.39565C1.68834 7.81479 1.41513 8.22771 1.15589 8.6515C0.787982 9.25381 1.13571 9.9772 1.82029 10.0284C2.64458 10.0905 3.46888 10.1402 4.29317 10.1852C4.4422 10.193 4.50584 10.2333 4.51981 10.3917C4.56949 10.9164 4.7092 11.4162 4.99017 11.868C5.53815 12.7466 6.33606 13.2294 7.35439 13.3644C7.73782 13.4156 7.72696 13.4187 7.7549 13.8146C7.80923 14.6063 7.86822 15.3995 7.94273 16.1897C7.9893 16.6833 8.36963 17 8.79342 17C8.96107 17 9.13648 16.9503 9.30103 16.8432C10.2216 16.2409 11.1514 15.6479 12.044 15.0052C12.8761 14.406 13.2378 13.5616 13.1307 12.5293C13.0856 12.0868 13.0484 11.6429 13.0034 11.2004C12.9894 11.0638 13.022 10.9598 13.1291 10.862C14.4346 9.66518 15.366 8.21684 16.0025 6.57291C16.535 5.19754 16.8532 3.77869 16.8982 2.30242C16.8998 2.2605 16.9013 2.21859 16.9013 2.17823C16.906 1.9252 16.8734 1.67527 16.8346 1.42689Z",fill:"url(#paint0_linear_28090_539)"}),m("path",{d:"M12.4807 7H12.4916C13.3243 7 13.9949 6.33959 14.0058 5.50543C14.0156 4.70286 13.3501 4.01283 12.5589 4H12.5312C11.7212 4 11.0259 4.59329 11.0062 5.51431C10.9893 6.29121 11.6945 6.99408 12.4807 7Z",fill:"#F8C235"}),m("path",{d:"M6.46786 14.9385C6.03786 15.3732 5.60321 15.8016 5.17476 16.2347C5.07231 16.3387 4.96209 16.4024 4.8348 16.4024C4.78512 16.4024 4.73234 16.3931 4.67646 16.3713C4.4731 16.2968 4.3753 16.1462 4.36599 15.9351C4.35978 15.8016 4.36289 15.6681 4.35978 15.5346C4.35512 15.3763 4.35357 15.3188 4.29148 15.3188C4.25733 15.3188 4.2061 15.3359 4.12693 15.3623C3.64415 15.5222 3.16292 15.6836 2.68015 15.8435C2.60719 15.8684 2.53267 15.8854 2.46126 15.8854C2.39296 15.8854 2.32466 15.8699 2.25636 15.8327C2.04989 15.7162 1.97228 15.5098 2.05455 15.2568C2.21444 14.7616 2.38365 14.2679 2.54664 13.7727C2.61805 13.5585 2.61339 13.5538 2.3821 13.5492C2.24238 13.5476 2.10267 13.5492 1.96296 13.543C1.75961 13.5336 1.61524 13.4343 1.53917 13.2418C1.46621 13.054 1.51278 12.891 1.64939 12.7528C2.09802 12.3026 2.5482 11.8525 2.99838 11.4038C3.0791 11.3231 3.17534 11.2734 3.27935 11.2734C3.29022 11.2734 3.30108 11.2734 3.3104 11.275C3.55411 11.2781 3.68917 11.3868 3.77765 11.6351C4.12072 12.6131 4.74476 13.3536 5.64978 13.8565C5.85003 13.9668 6.0596 14.0568 6.27692 14.1313C6.66967 14.2648 6.75815 14.6451 6.46786 14.9385Z",fill:"#F8C235"}),m("defs",{children:m("linearGradient",{id:"paint0_linear_28090_539",x1:"6.21379",y1:"17",x2:"17.8596",y2:"9.43011",gradientUnits:"userSpaceOnUse",children:[m("stop",{"stop-color":"#272727"}),m("stop",{offset:"0.990396","stop-color":"#696969"})]})})]})}function lM(){return m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",style:{verticalAlign:"middle"},children:[m("g",{"clip-path":"url(#clip0_13006_12686)",children:[m("path",{d:"M11.8713 0.320171C11.8375 0.103619 11.8259 0.0943048 11.6035 0.0535558C11.3974 0.0151353 11.1913 0 10.9841 0C10.7815 0 10.5789 0.0139711 10.3775 0.0349277C9.56837 0.118754 8.77901 0.299214 8.01293 0.575143C6.65657 1.06413 5.45971 1.79412 4.49105 2.87572C4.44681 2.92461 4.4014 2.94091 4.34435 2.94091C4.33038 2.94091 4.31641 2.93975 4.30127 2.93859C3.89378 2.89434 3.48513 2.82332 3.07648 2.82332H3.04853C2.31971 2.82915 1.75155 3.16329 1.35687 3.78151C1.14148 4.11914 0.927257 4.45794 0.711869 4.79674C0.511617 5.11109 0.306708 5.42078 0.112277 5.73862C-0.163652 6.19036 0.0971414 6.7329 0.610579 6.77132C1.2288 6.81789 1.84702 6.85515 2.46524 6.88891C2.57701 6.89473 2.62474 6.925 2.63522 7.04376C2.67248 7.43728 2.77726 7.81217 2.98799 8.15097C3.39898 8.80994 3.9974 9.17202 4.76116 9.27331C5.04873 9.31173 5.04058 9.31406 5.06153 9.61094C5.10228 10.2047 5.14653 10.7997 5.20241 11.3923C5.23734 11.7625 5.52258 12 5.84042 12C5.96616 12 6.09772 11.9627 6.22113 11.8824C6.91154 11.4307 7.60893 10.9859 8.27838 10.5039C8.90242 10.0545 9.17369 9.42117 9.09336 8.64694C9.05959 8.31513 9.03165 7.98215 8.99789 7.65033C8.98741 7.54788 9.01186 7.46987 9.09219 7.39653C10.0713 6.49888 10.7699 5.41263 11.2472 4.17968C11.6466 3.14815 11.8852 2.08402 11.919 0.976812C11.9202 0.945377 11.9213 0.913942 11.9213 0.883671C11.9248 0.693897 11.9004 0.506452 11.8713 0.320171Z",fill:"url(#paint0_linear_13006_12686)"}),m("path",{d:"M8.60616 4.5H8.61431C9.23886 4.5 9.74176 4.00469 9.74992 3.37907C9.75734 2.77715 9.25814 2.25962 8.66475 2.25H8.64398C8.0365 2.25 7.51506 2.69497 7.50022 3.38574C7.48761 3.96841 8.01647 4.49556 8.60616 4.5Z",fill:"#424242"}),m("path",{d:"M4.09626 10.4539C3.77376 10.7799 3.44777 11.1012 3.12643 11.426C3.04959 11.504 2.96693 11.5518 2.87146 11.5518C2.8342 11.5518 2.79462 11.5448 2.75271 11.5285C2.60019 11.4726 2.52684 11.3597 2.51985 11.2013C2.5152 11.1012 2.51753 11.0011 2.5152 10.901C2.5117 10.7822 2.51054 10.7391 2.46397 10.7391C2.43836 10.7391 2.39994 10.7519 2.34056 10.7717C1.97847 10.8917 1.61755 11.0127 1.25547 11.1327C1.20075 11.1513 1.14487 11.1641 1.09131 11.1641C1.04008 11.1641 0.988855 11.1524 0.937628 11.1245C0.782782 11.0372 0.724569 10.8823 0.786275 10.6926C0.906193 10.3212 1.0331 9.95093 1.15534 9.57953C1.2089 9.41886 1.20541 9.41537 1.03193 9.41188C0.92715 9.41071 0.822367 9.41188 0.717583 9.40722C0.565066 9.40024 0.45679 9.32572 0.399741 9.18136C0.345021 9.04048 0.379949 8.91823 0.482403 8.81462C0.818874 8.47698 1.15651 8.13935 1.49414 7.80288C1.55468 7.74233 1.62687 7.70508 1.70487 7.70508C1.71302 7.70508 1.72117 7.70508 1.72816 7.70624C1.91095 7.70857 2.01224 7.79007 2.0786 7.97635C2.3359 8.70983 2.80393 9.26518 3.48269 9.6424C3.63288 9.72506 3.79006 9.79259 3.95305 9.84848C4.24761 9.9486 4.31397 10.2338 4.09626 10.4539Z",fill:"#F8C235"})]}),m("defs",{children:[m("linearGradient",{id:"paint0_linear_13006_12686",x1:"12.0001",y1:"0.857143",x2:"3.42864",y2:"8.57143",gradientUnits:"userSpaceOnUse",children:[m("stop",{"stop-color":"#FFEAB5"}),m("stop",{offset:"1","stop-color":"#F9C235"})]}),m("clipPath",{id:"clip0_13006_12686",children:m("rect",{width:"12",height:"12",fill:"white"})})]})]})}function cM(e){return m("svg",{class:e.class,width:10,height:6,viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:m("path",{d:"M5.01157 0.491081C5.10087 0.491081 5.18393 0.507122 5.26073 0.539206C5.33754 0.571289 5.40803 0.619344 5.47219 0.683372L9.33532 4.54671C9.45532 4.66671 9.51323 4.79671 9.50907 4.93671C9.50476 5.07657 9.44226 5.20691 9.32157 5.32775C9.20073 5.44844 9.07171 5.50879 8.93448 5.50879C8.79726 5.50879 8.66823 5.44844 8.5474 5.32775L5.0074 1.76671L1.44657 5.32775C1.33115 5.44303 1.20344 5.49858 1.06344 5.49441C0.923581 5.49011 0.793234 5.42761 0.6724 5.30691C0.551706 5.18608 0.491359 5.05705 0.491359 4.91983C0.491359 4.78261 0.554068 4.65164 0.679484 4.52691L4.54261 0.683372C4.61233 0.619344 4.68559 0.571289 4.7624 0.539206C4.83921 0.507122 4.92226 0.491081 5.01157 0.491081Z",fill:"#999999"})})}function mn(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:16,height:16,fill:"none",viewBox:"0 0 16 16",children:m("path",{d:"M8.0023 9.68007L3.83278 5.51245L3.02478 6.32007L8.00268 11.2953L12.9756 6.32007L12.1673 5.51245L8.0023 9.68007Z",fill:"currentColor"})})}function dM(){return m("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[m("path",{d:"M9.25 3.25C9.25 3.94036 8.69036 4.5 8 4.5C7.30964 4.5 6.75 3.94036 6.75 3.25C6.75 2.55964 7.30964 2 8 2C8.69036 2 9.25 2.55964 9.25 3.25Z",fill:"#999999"}),m("path",{d:"M9.25 8C9.25 8.69036 8.69036 9.25 8 9.25C7.30964 9.25 6.75 8.69036 6.75 8C6.75 7.30964 7.30964 6.75 8 6.75C8.69036 6.75 9.25 7.30964 9.25 8Z",fill:"#999999"}),m("path",{d:"M8 14C8.69036 14 9.25 13.4404 9.25 12.75C9.25 12.0596 8.69036 11.5 8 11.5C7.30964 11.5 6.75 12.0596 6.75 12.75C6.75 13.4404 7.30964 14 8 14Z",fill:"#999999"})]})}function gM(){return m("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:m("path",{d:"M9 17.5H15C15.1423 17.5 15.2613 17.4523 15.3568 17.3568C15.4523 17.2613 15.5 17.1423 15.5 17C15.5 16.8577 15.4523 16.7387 15.3568 16.6432C15.2613 16.5477 15.1423 16.5 15 16.5H9C8.85767 16.5 8.73875 16.5477 8.64325 16.6432C8.54775 16.7387 8.5 16.8577 8.5 17C8.5 17.1423 8.54775 17.2613 8.64325 17.3568C8.73875 17.4523 8.85767 17.5 9 17.5ZM9 13.5H15C15.1423 13.5 15.2613 13.4522 15.3568 13.3567C15.4523 13.2612 15.5 13.1423 15.5 13C15.5 12.8577 15.4523 12.7388 15.3568 12.6433C15.2613 12.5478 15.1423 12.5 15 12.5H9C8.85767 12.5 8.73875 12.5478 8.64325 12.6433C8.54775 12.7388 8.5 12.8577 8.5 13C8.5 13.1423 8.54775 13.2612 8.64325 13.3567C8.73875 13.4522 8.85767 13.5 9 13.5ZM6.6155 21C6.15517 21 5.77083 20.8458 5.4625 20.5375C5.15417 20.2292 5 19.8448 5 19.3845V4.6155C5 4.15517 5.15417 3.77083 5.4625 3.4625C5.77083 3.15417 6.15517 3 6.6155 3H13.8288C14.0443 3 14.2536 3.04358 14.4568 3.13075C14.6599 3.21792 14.8339 3.33392 14.9788 3.47875L18.5212 7.02125C18.6661 7.16608 18.7821 7.34008 18.8693 7.54325C18.9564 7.74642 19 7.95575 19 8.17125V19.3845C19 19.8448 18.8458 20.2292 18.5375 20.5375C18.2292 20.8458 17.8448 21 17.3845 21H6.6155ZM14 7.19225V4H6.6155C6.4615 4 6.32042 4.06408 6.19225 4.19225C6.06408 4.32042 6 4.4615 6 4.6155V19.3845C6 19.5385 6.06408 19.6796 6.19225 19.8078C6.32042 19.9359 6.4615 20 6.6155 20H17.3845C17.5385 20 17.6796 19.9359 17.8077 19.8078C17.9359 19.6796 18 19.5385 18 19.3845V8H14.8077C14.5756 8 14.3829 7.92342 14.2298 7.77025C14.0766 7.61708 14 7.42442 14 7.19225Z",fill:"#333333"})})}function mM(){return m("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[m("path",{d:"M5.53103 20.0173C5.07069 20.0173 4.68636 19.8631 4.37803 19.5548C4.06969 19.2464 3.91553 18.8621 3.91553 18.4018V5.63278C3.91553 5.17244 4.06969 4.78811 4.37803 4.47978C4.68636 4.17144 5.07069 4.01728 5.53103 4.01728H13.031C13.1727 4.01728 13.2914 4.06528 13.3873 4.16128C13.4831 4.25728 13.531 4.37619 13.531 4.51803C13.531 4.65986 13.4831 4.77853 13.3873 4.87403C13.2914 4.96953 13.1727 5.01728 13.031 5.01728H5.53103C5.35153 5.01728 5.20403 5.07494 5.08853 5.19027C4.97319 5.30577 4.91553 5.45328 4.91553 5.63278V18.4018C4.91553 18.5813 4.97319 18.7288 5.08853 18.8443C5.20403 18.9596 5.35153 19.0173 5.53103 19.0173H18.3C18.4795 19.0173 18.627 18.9596 18.7425 18.8443C18.8579 18.7288 18.9155 18.5813 18.9155 18.4018V10.9018C18.9155 10.7601 18.9635 10.6414 19.0595 10.5455C19.1555 10.4497 19.2744 10.4018 19.4163 10.4018C19.5581 10.4018 19.6768 10.4497 19.7723 10.5455C19.8678 10.6414 19.9155 10.7601 19.9155 10.9018V18.4018C19.9155 18.8621 19.7614 19.2464 19.453 19.5548C19.1447 19.8631 18.7604 20.0173 18.3 20.0173H5.53103ZM6.68478 16.4018H17.1463L13.9155 12.0943L10.9155 15.8828L8.91553 13.4788L6.68478 16.4018Z",fill:"#333333"}),m("path",{d:"M17.1284 4.16128C17.2015 3.9228 17.5473 3.9228 17.6203 4.16128L17.9664 5.29183C18.0934 5.70683 18.4144 6.03849 18.8314 6.18585L19.9155 6.56885C20.1413 6.64862 20.1413 6.96048 19.9155 7.04026L18.8314 7.42326C18.4144 7.57061 18.0934 7.90227 17.9664 8.31728L17.6203 9.44783C17.5473 9.6863 17.2015 9.6863 17.1284 9.44783L16.7823 8.31728C16.6553 7.90227 16.3343 7.57061 15.9173 7.42326L14.8332 7.04026C14.6074 6.96048 14.6074 6.64862 14.8332 6.56885L15.9173 6.18585C16.3343 6.03849 16.6553 5.70683 16.7823 5.29183L17.1284 4.16128Z",fill:"#333333"})]})}function fM(){return m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[m("mask",{id:"mask0_33152_7401",style:"mask-type:alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:m("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),m("g",{mask:"url(#mask0_33152_7401)",children:m("path",{d:"M11 21.7305V19.9998H5.6155C5.15517 19.9998 4.77083 19.8456 4.4625 19.5373C4.15417 19.229 4 18.8446 4 18.3843V5.61529C4 5.15496 4.15417 4.77063 4.4625 4.46229C4.77083 4.15396 5.15517 3.99979 5.6155 3.99979H11V2.26904C11 2.12738 11.048 2.00863 11.144 1.91279C11.24 1.81696 11.3589 1.76904 11.5008 1.76904C11.6426 1.76904 11.7613 1.81696 11.8568 1.91279C11.9523 2.00863 12 2.12738 12 2.26904V21.7305C12 21.8722 11.952 21.991 11.856 22.0868C11.76 22.1826 11.6411 22.2305 11.4993 22.2305C11.3574 22.2305 11.2388 22.1826 11.1433 22.0868C11.0478 21.991 11 21.8722 11 21.7305ZM5.6155 18.9998H11V15.9998H8C7.85833 15.9998 7.73958 15.9518 7.64375 15.8558C7.54792 15.7598 7.5 15.6409 7.5 15.499C7.5 15.3572 7.54792 15.2385 7.64375 15.143C7.73958 15.0475 7.85833 14.9998 8 14.9998H11V12.4998H8C7.85833 12.4998 7.73958 12.4518 7.64375 12.3558C7.54792 12.2598 7.5 12.1409 7.5 11.999C7.5 11.8572 7.54792 11.7385 7.64375 11.643C7.73958 11.5475 7.85833 11.4998 8 11.4998H11V8.99979H8C7.85833 8.99979 7.73958 8.95179 7.64375 8.85579C7.54792 8.75979 7.5 8.64088 7.5 8.49904C7.5 8.35721 7.54792 8.23854 7.64375 8.14304C7.73958 8.04754 7.85833 7.99979 8 7.99979H11V4.99979H5.6155C5.4615 4.99979 5.32042 5.06388 5.19225 5.19204C5.06408 5.32021 5 5.46129 5 5.61529V18.3843C5 18.5383 5.06408 18.6794 5.19225 18.8075C5.32042 18.9357 5.4615 18.9998 5.6155 18.9998ZM14.6923 19.9998C14.5506 19.9998 14.4318 19.9518 14.336 19.8558C14.2402 19.7598 14.1923 19.6409 14.1923 19.499C14.1923 19.3572 14.2402 19.2385 14.336 19.143C14.4318 19.0475 14.5506 18.9998 14.6923 18.9998H18.577C18.7308 18.9998 18.8718 18.9357 19 18.8075C19.1282 18.6794 19.1923 18.5383 19.1923 18.3843V5.61529C19.1923 5.46129 19.1282 5.32021 19 5.19204C18.8718 5.06388 18.7308 4.99979 18.577 4.99979H14.6923C14.5506 4.99979 14.4318 4.95179 14.336 4.85579C14.2402 4.75979 14.1923 4.64088 14.1923 4.49904C14.1923 4.35721 14.2402 4.23854 14.336 4.14304C14.4318 4.04754 14.5506 3.99979 14.6923 3.99979H18.577C19.0372 3.99979 19.4214 4.15396 19.7298 4.46229C20.0381 4.77063 20.1923 5.15496 20.1923 5.61529V18.3843C20.1923 18.8446 20.0381 19.229 19.7298 19.5373C19.4214 19.8456 19.0372 19.9998 18.577 19.9998H14.6923ZM14.6923 12.4998C14.5506 12.4998 14.4318 12.4518 14.336 12.3558C14.2402 12.2598 14.1923 12.1409 14.1923 11.999C14.1923 11.8572 14.2402 11.7385 14.336 11.643C14.4318 11.5475 14.5506 11.4998 14.6923 11.4998H17.1923C17.3339 11.4998 17.4527 11.5478 17.5485 11.6438C17.6443 11.7398 17.6923 11.8587 17.6923 12.0005C17.6923 12.1424 17.6443 12.261 17.5485 12.3565C17.4527 12.452 17.3339 12.4998 17.1923 12.4998H14.6923ZM14.6923 8.99979C14.5506 8.99979 14.4318 8.95179 14.336 8.85579C14.2402 8.75979 14.1923 8.64088 14.1923 8.49904C14.1923 8.35721 14.2402 8.23854 14.336 8.14304C14.4318 8.04754 14.5506 7.99979 14.6923 7.99979H17.1923C17.3339 7.99979 17.4527 8.04779 17.5485 8.14379C17.6443 8.23979 17.6923 8.35871 17.6923 8.50054C17.6923 8.64238 17.6443 8.76104 17.5485 8.85654C17.4527 8.95204 17.3339 8.99979 17.1923 8.99979H14.6923Z",fill:"#333333"})})]})}function pM(e){return m("svg",{class:e.class,onClick:e.onClick,style:e.style,width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[m("mask",{id:"mask0_36074_9056",style:"mask-type:alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:m("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),m("g",{mask:"url(#mask0_36074_9056)",children:m("path",{d:"M9.32613 12.2889C9.1843 12.2889 9.06563 12.2409 8.97013 12.1451C8.87463 12.0493 8.82688 11.9305 8.82688 11.7889V4.90235L6.06713 7.66185C5.97996 7.75552 5.87105 7.80235 5.74038 7.80235C5.60955 7.80235 5.48896 7.75052 5.37863 7.64685C5.26846 7.53385 5.21338 7.41352 5.21338 7.28585C5.21338 7.15835 5.26846 7.03944 5.37863 6.9291L8.74213 3.56585C8.8293 3.47852 8.9193 3.41727 9.01213 3.3821C9.1048 3.34677 9.20413 3.3291 9.31013 3.3291C9.41613 3.3291 9.51846 3.34702 9.61713 3.38285C9.71596 3.41868 9.80763 3.47968 9.89213 3.56585L13.2806 6.9541C13.3781 7.0516 13.4291 7.16318 13.4336 7.28885C13.4381 7.41452 13.3852 7.53385 13.2749 7.64685C13.1645 7.75052 13.0466 7.80327 12.9211 7.8051C12.7955 7.8071 12.6775 7.75293 12.5671 7.6426L9.82688 4.90235V11.8081C9.82688 11.9443 9.77888 12.0584 9.68288 12.1506C9.58688 12.2428 9.46796 12.2889 9.32613 12.2889ZM14.6896 20.6524C14.5836 20.6524 14.4813 20.6344 14.3826 20.5986C14.2838 20.5628 14.1921 20.5019 14.1076 20.4159L10.7191 17.0274C10.6216 16.9299 10.5706 16.8183 10.5661 16.6926C10.5616 16.5669 10.6145 16.4476 10.7249 16.3346C10.8352 16.2309 10.9531 16.1782 11.0786 16.1764C11.2043 16.1744 11.3223 16.2285 11.4326 16.3389L14.1729 19.0791V12.1734C14.1729 12.0372 14.2209 11.923 14.3169 11.8309C14.4129 11.7387 14.5318 11.6926 14.6736 11.6926C14.8155 11.6926 14.9341 11.7405 15.0296 11.8364C15.1251 11.9322 15.1729 12.0509 15.1729 12.1926V19.0791L17.9326 16.3196C18.0198 16.2259 18.1287 16.1791 18.2594 16.1791C18.3902 16.1791 18.5108 16.2309 18.6211 16.3346C18.7313 16.4476 18.7864 16.5679 18.7864 16.6956C18.7864 16.8231 18.7313 16.942 18.6211 17.0524L15.2576 20.4159C15.1705 20.503 15.0805 20.5642 14.9876 20.5994C14.895 20.6347 14.7956 20.6524 14.6896 20.6524Z",fill:"#999999"})})]})}function hM(e){let n=zn()==="dark"?"#b3b3b3":"#666666";return m("svg",{class:e.class,onClick:e.onClick,style:e.style,xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:[m("mask",{id:"mask0_36366_4749",style:"mask-type:alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"18",height:"18",children:m("rect",{width:"18",height:"18",fill:"#D9D9D9"})}),m("g",{mask:"url(#mask0_36366_4749)",children:m("path",{d:"M8.99626 14.9004C9.15751 14.9004 9.29657 14.8433 9.41345 14.729C9.5302 14.6149 9.58857 14.4771 9.58857 14.3157C9.58857 14.1545 9.53151 14.0155 9.41738 13.8987C9.30313 13.7819 9.16538 13.7234 9.00413 13.7234C8.84288 13.7234 8.70382 13.7806 8.58695 13.8948C8.4702 14.0089 8.41182 14.1466 8.41182 14.3079C8.41182 14.4692 8.46888 14.6083 8.58301 14.7251C8.69726 14.8419 8.83501 14.9004 8.99626 14.9004ZM4.28101 16.7234C3.94826 16.7234 3.66407 16.6057 3.42845 16.3702C3.19295 16.1346 3.0752 15.8504 3.0752 15.5176V2.47925C3.0752 2.1465 3.19295 1.86231 3.42845 1.62669C3.66407 1.39119 3.94826 1.27344 4.28101 1.27344H13.7194C14.0521 1.27344 14.3363 1.39119 14.5719 1.62669C14.8074 1.86231 14.9252 2.1465 14.9252 2.47925V15.5176C14.9252 15.8504 14.8074 16.1346 14.5719 16.3702C14.3363 16.6057 14.0521 16.7234 13.7194 16.7234H4.28101ZM4.0502 12.8754V15.5176C4.0502 15.585 4.07182 15.6403 4.11507 15.6836C4.15832 15.7268 4.21363 15.7484 4.28101 15.7484H13.7194C13.7868 15.7484 13.8421 15.7268 13.8853 15.6836C13.9286 15.6403 13.9502 15.585 13.9502 15.5176V12.8754H4.0502ZM4.0502 11.9004H13.9502V4.31094H4.0502V11.9004ZM4.0502 3.33594H13.9502V2.47925C13.9502 2.41188 13.9286 2.35656 13.8853 2.31331C13.8421 2.27006 13.7868 2.24844 13.7194 2.24844H4.28101C4.21363 2.24844 4.15832 2.27006 4.11507 2.31331C4.07182 2.35656 4.0502 2.41188 4.0502 2.47925V3.33594Z",fill:n})})]})}function yM(e){let t=zn(),n=t==="dark"?"#212121":"#F9FBFC",r=t==="dark"?"#b3b3b3":"#666666";return m("svg",{class:e.class,onClick:e.onClick,style:e.style,xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[m("rect",{width:"16",height:"16",rx:"8",fill:n}),m("path",{d:"M8 8.63878L5.76426 10.8745C5.68061 10.9582 5.57414 11 5.44487 11C5.31559 11 5.20913 10.9582 5.12548 10.8745C5.04182 10.7909 5 10.6844 5 10.5551C5 10.4259 5.04182 10.3194 5.12548 10.2357L7.36122 8L5.12548 5.76426C5.04182 5.68061 5 5.57414 5 5.44487C5 5.31559 5.04182 5.20913 5.12548 5.12548C5.20913 5.04182 5.31559 5 5.44487 5C5.57414 5 5.68061 5.04182 5.76426 5.12548L8 7.36122L10.2357 5.12548C10.3194 5.04182 10.4259 5 10.5551 5C10.6844 5 10.7909 5.04182 10.8745 5.12548C10.9582 5.20913 11 5.31559 11 5.44487C11 5.57414 10.9582 5.68061 10.8745 5.76426L8.63878 8L10.8745 10.2357C10.9582 10.3194 11 10.4259 11 10.5551C11 10.6844 10.9582 10.7909 10.8745 10.8745C10.7909 10.9582 10.6844 11 10.5551 11C10.4259 11 10.3194 10.9582 10.2357 10.8745L8 8.63878Z",fill:r})]})}function bM(){return m("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:m("path",{d:"M7.99963 1.52344C11.5764 1.52344 14.4758 4.42287 14.4758 7.99963C14.4758 11.5764 11.5764 14.4758 7.99963 14.4758C4.42287 14.4758 1.52344 11.5764 1.52344 7.99963C1.52344 4.42287 4.42287 1.52344 7.99963 1.52344ZM7.99963 2.66629C5.0541 2.66629 2.66629 5.0541 2.66629 7.99963C2.66629 10.9452 5.0541 13.333 7.99963 13.333C10.9452 13.333 13.333 10.9452 13.333 7.99963C13.333 5.0541 10.9452 2.66629 7.99963 2.66629ZM8.57106 6.85677V11.4282H7.4282V6.85677H8.57106ZM8.57106 4.95201V6.09487H7.4282V4.95201H8.57106Z",fill:"#999999"})})}function Zi(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,style:e.style,width:"18",height:"18",viewBox:"0 0 1024 1024",fill:"none",children:[m("path",{d:"M0 160C0 71.6344 71.6344 0 160 0H864C952.366 0 1024 71.6344 1024 160V864C1024 952.366 952.366 1024 864 1024H160C71.6344 1024 0 952.366 0 864V160Z",fill:"#EC4C8C"}),m("path",{d:"M512.274 210.03V252.664C512.274 261.501 519.438 268.664 528.274 268.664H670.954C707.914 268.664 737.877 298.622 737.877 335.577V396.785C737.877 405.622 745.04 412.785 753.877 412.785H796.521C805.357 412.785 812.521 405.622 812.521 396.785V335.577C812.521 257.403 749.139 194.03 670.954 194.03H528.274C519.438 194.03 512.274 201.194 512.274 210.03Z",fill:"white"}),m("path",{d:"M185.035 705.453V586.819C185.035 577.982 192.199 570.819 201.035 570.819H243.68C252.516 570.819 259.68 577.982 259.68 586.819V705.453C259.68 742.408 289.642 772.366 326.602 772.366H421.282C430.118 772.366 437.282 779.529 437.282 788.366V831C437.282 839.837 430.118 847 421.282 847H326.602C248.417 847 185.035 783.627 185.035 705.453Z",fill:"white"}),m("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M854.394 847C865.706 847 873.446 835.581 869.256 825.074L725.006 463.315C722.58 457.232 716.693 453.242 710.144 453.242H657.19C650.641 453.242 644.753 457.232 642.328 463.315L498.077 825.074C493.887 835.581 501.627 847 512.939 847H558.148C564.763 847 570.696 842.929 573.077 836.758L605.871 751.726C608.251 745.554 614.184 741.483 620.799 741.483H746.534C753.149 741.483 759.082 745.554 761.462 751.726L794.257 836.758C796.637 842.929 802.57 847 809.185 847H854.394ZM717.068 666.849C722.685 666.849 726.553 661.212 724.532 655.971L691.131 569.366C688.497 562.538 678.836 562.538 676.203 569.366L642.802 655.971C640.78 661.212 644.648 666.849 650.266 666.849H717.068Z",fill:"white"}),m("path",{d:"M339.01 157.9C343.145 141.908 365.855 141.908 369.99 157.9L395.435 256.295C404.058 289.638 428.628 316.549 461.05 328.164L546.953 358.937C561.092 364.002 561.092 383.998 546.953 389.063L461.049 419.836C428.628 431.451 404.058 458.363 395.435 491.705L369.99 590.1C365.855 606.092 343.145 606.092 339.01 590.1L313.565 491.705C304.942 458.363 280.372 431.451 247.95 419.836L162.047 389.063C147.908 383.998 147.908 364.002 162.047 358.937L247.95 328.164C280.372 316.549 304.942 289.637 313.565 256.295L339.01 157.9Z",fill:"white"})]})}function vM(e){return m("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:"18",height:"18",viewBox:"0 0 1024 1024",fill:"none",children:[m("path",{d:"M0 160C0 71.6344 71.6344 0 160 0H864C952.366 0 1024 71.6344 1024 160V864C1024 952.366 952.366 1024 864 1024H160C71.6344 1024 0 952.366 0 864V160Z",fill:"currentColor"}),m("path",{d:"M512.274 210.03V252.664C512.274 261.501 519.438 268.664 528.274 268.664H670.954C707.914 268.664 737.877 298.622 737.877 335.577V396.785C737.877 405.622 745.04 412.785 753.877 412.785H796.521C805.357 412.785 812.521 405.622 812.521 396.785V335.577C812.521 257.403 749.139 194.03 670.954 194.03H528.274C519.438 194.03 512.274 201.194 512.274 210.03Z",fill:"white"}),m("path",{d:"M185.035 705.453V586.819C185.035 577.982 192.199 570.819 201.035 570.819H243.68C252.516 570.819 259.68 577.982 259.68 586.819V705.453C259.68 742.408 289.642 772.366 326.602 772.366H421.282C430.118 772.366 437.282 779.529 437.282 788.366V831C437.282 839.837 430.118 847 421.282 847H326.602C248.417 847 185.035 783.627 185.035 705.453Z",fill:"white"}),m("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M854.394 847C865.706 847 873.446 835.581 869.256 825.074L725.006 463.315C722.58 457.232 716.693 453.242 710.144 453.242H657.19C650.641 453.242 644.753 457.232 642.328 463.315L498.077 825.074C493.887 835.581 501.627 847 512.939 847H558.148C564.763 847 570.696 842.929 573.077 836.758L605.871 751.726C608.251 745.554 614.184 741.483 620.799 741.483H746.534C753.149 741.483 759.082 745.554 761.462 751.726L794.257 836.758C796.637 842.929 802.57 847 809.185 847H854.394ZM717.068 666.849C722.685 666.849 726.553 661.212 724.532 655.971L691.131 569.366C688.497 562.538 678.836 562.538 676.203 569.366L642.802 655.971C640.78 661.212 644.648 666.849 650.266 666.849H717.068Z",fill:"white"}),m("path",{d:"M339.01 157.9C343.145 141.908 365.855 141.908 369.99 157.9L395.435 256.295C404.058 289.638 428.628 316.549 461.05 328.164L546.953 358.937C561.092 364.002 561.092 383.998 546.953 389.063L461.049 419.836C428.628 431.451 404.058 458.363 395.435 491.705L369.99 590.1C365.855 606.092 343.145 606.092 339.01 590.1L313.565 491.705C304.942 458.363 280.372 431.451 247.95 419.836L162.047 389.063C147.908 383.998 147.908 364.002 162.047 358.937L247.95 328.164C280.372 316.549 304.942 289.637 313.565 256.295L339.01 157.9Z",fill:"white"})]})}function Rt({id:e=`${U}-modal`,render:t,styles:n="",closeOnOverlayClick:r=!0,zIndex:i=2147483647,showOverlay:a=!0,placement:o="center",placementOffset:s=24,anchorPlacement:u,width:l=0,height:c=0,borderRadius:d=12,disableEscapeKey:g=!1,presetSkin:f="standard",initialFocus:p,dir:h,onEnter:C,onEsc:y,onOverlayClick:v,enableEnterActive:b=!1}){if(e&&document.querySelector(`[data-modal-id="${CSS.escape(e)}"]`))return()=>{};let x=document.createElement("div");x.style.position="fixed",x.style.top="0",x.style.left="0",x.style.width="0",x.style.height="0",x.style.zIndex=i.toString(),x.style.display="block",e&&x.setAttribute("data-modal-id",e);let T=null,S=document.body.style.overflow,E=document.documentElement.style.overflow;a&&(document.body.style.overflow="hidden",document.documentElement.style.overflow="unset"),document.body.appendChild(x);let A=x.attachShadow({mode:"open"}),M=`
    :host {
      all: initial;
    }
    :host *, :host *::before, :host *::after {
      box-sizing: border-box;
    }
  `;try{if("adoptedStyleSheets"in A&&typeof CSSStyleSheet<"u"&&"replaceSync"in CSSStyleSheet.prototype){let F=new CSSStyleSheet;F.replaceSync(M),A.adoptedStyleSheets=[...A.adoptedStyleSheets,F]}else{let F=document.createElement("style");F.textContent=M,A.appendChild(F)}}catch{}let P=document.createElement("div");A.appendChild(P);let B=()=>{try{T&&document.removeEventListener("keydown",T),a&&(document.body.style.overflow=S,document.documentElement.style.overflow=E),Zt(null,P),document.body.contains(x)&&document.body.removeChild(x)}catch{}};g||(T=F=>{F.key==="Escape"&&(F.preventDefault(),F.stopPropagation(),y?.(),B())},document.addEventListener("keydown",T));let O=`
    :host {
      font-family: system-ui, -apple-system, sans-serif;
    }
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.5);
      display: flex;
      justify-content: center;
      align-items: center;
      box-sizing: border-box;
    }
    .modal-content-wrapper {
      position: relative;
      width: ${l?`${l}px`:"auto"};
      height: ${c?`${c}px`:"auto"};
      max-width: 90vw;
      max-height: 90vh;
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
      outline: none;
      font-size: 14px;
    }
    .modal-content-wrapper * {
      box-sizing: border-box;
    }
    .modal-content-wrapper p {
      margin: 0px;
    }
  `,R={standard:`
      .modal-skin-standard {
        width: 100%;
        background: var(--c-ff, #ffffff);
        border-radius: ${d?`${d}px`:"0"};
        border: 1px solid var(--c-e6, #e6e6e6);
        box-shadow: var(--shadow-lg, 0 18px 48px rgba(0, 0, 0, 0.12));
        overflow: hidden;
        color: var(--modal-text, var(--c-22, #222222));
        padding: var(--space-24, 24px);
        font-size: var(--f-14, 14px);
      }
      .modal-skin-standard__header {
        display: flex;
        align-items: center;
        gap: var(--space-12, 12px);
        padding-bottom: var(--space-16, 16px);
      }
      .modal-skin-standard__title {
        font-size: var(--f-18, 18px);
        font-weight: 700;
        line-height: 1.55;
        color: var(--c-22, #222222);
      }
      .modal-skin-standard__close {
        margin-left: auto;
        border: none;
        background: transparent;
        color: var(--c-99, #999999);
        font-size: var(--f-20, 20px);
        line-height: 1;
        padding: var(--space-4, 4px);
        cursor: pointer;
      }
      .modal-skin-standard__body {
        padding: var(--space-16, 16px) var(--space-12, 12px);
        color: var(--modal-text, #222222);
        line-height: 1.7;
        background: var(--s-1-weak, #fafbfb);
        border-radius: var(--radius-12, 12px);
      }
      .modal-skin-standard__body p {
        margin: 0 0 var(--space-6, 6px);
      }
      .modal-skin-standard__body ul,
      .modal-skin-standard__list {
        margin: var(--space-8, 8px) 0 0;
        padding-left: var(--space-22, 22px);
        color: var(--c-33, #333333);
      }
      .modal-skin-standard__body li,
      .modal-skin-standard__list li {
        margin-bottom: var(--space-6, 6px);
      }
      .modal-skin-standard__highlight {
        color: var(--primary, #ec4c8c);
        font-weight: 600;
      }
      .modal-skin-standard__hint {
        margin-top: var(--space-10, 10px);
        color: var(--c-66, #666666);
        line-height: 1.6;
      }
      .modal-skin-standard__link {
        color: var(--primary, #ec4c8c);
        text-decoration: underline;
        cursor: default;
      }
      .modal-skin-standard__actions {
        display: flex;
        gap: var(--space-12, 12px);
        margin-top: var(--space-16, 16px);
        justify-content: center;
      }
      .modal-skin-standard__btn {
        min-width: 140px;
        padding: var(--space-12, 12px);
        min-height: var(--control-height-lg, 44px);
        border-radius: var(--radius-8, 8px);
        font-weight: 600;
        font-size: var(--f-14, 14px);
        cursor: pointer;
        border: 1px solid transparent;
        transition: transform 0.05s ease, box-shadow 0.1s ease;
        background: transparent;
      }
      .modal-skin-standard__btn:active {
        transform: translateY(1px);
      }
      .modal-skin-standard__btn[disabled],
      .modal-skin-standard__btn[aria-busy="true"] {
        cursor: not-allowed;
        opacity: 0.6;
        box-shadow: none;
      }
      .modal-skin-standard__btn--primary {
        background: var(--primary, #f23a89);
        color: #ffffff;
      }
      .modal-skin-standard__btn--secondary {
        background: var(--c-f5, #f5f5f5);
        color: var(--c-22, #222222);
        border-color: var(--c-e6, #e6e6e6);
      }
      .modal-skin-standard__footer {
        margin-top: var(--space-16, 16px);
        text-align: center;
        color: var(--c-99, #999999);
        font-size: var(--f-12, 12px);
        line-height: 1.5;
      }
    `,none:`
    .modal-skin-none {
      color: #333;
    }`,custom:`
    .modal-skin-custom {
      color: #333;
      background: white;
      border-radius: ${d?`${d}px`:"0"};
      border: 1px solid var(--c-e6, #e6e6e6);
      box-shadow: var(--shadow-lg, 0 18px 48px rgba(0, 0, 0, 0.12));
    }`};return Zt(m(()=>{let F=zn(),L=$(null),[D,w]=z(),N=f?`modal-skin-${f}`:"",V=()=>{let Q=t({close:B});return f?m("div",{className:N,children:Q}):Q},H=(...Q)=>Q.filter(Boolean).join(" ");Zn(()=>{if(!u)return;let Q=u.position??"bottom",ie=u.align??"start",xe=u.gap??8,be=u.offsetX??0,ae=u.offsetY??0,ue=()=>{let ne=u.anchor;return ne instanceof HTMLElement?ne.getBoundingClientRect():ne&&typeof ne.width=="number"?ne:null},ce=()=>{if(ie==="center")return"translateX(-50%)";if(ie==="end")return"translateX(-100%)"},pe=()=>{if(ie==="center")return"translateY(-50%)";if(ie==="end")return"translateY(-100%)"},X=ne=>ie==="center"?ne.left+ne.width/2:ie==="end"?ne.right:ne.left,Ae=ne=>ie==="center"?ne.top+ne.height/2:ie==="end"?ne.bottom:ne.top,fe=()=>{let ne=ue();if(!ne)return;let te={position:"fixed"};switch(Q){case"top":te.top=ne.top-xe+ae,te.left=X(ne)+be,te.transform=H(ce(),"translateY(-100%)");break;case"left":te.left=ne.left-xe+be,te.top=Ae(ne)+ae,te.transform=H("translateX(-100%)",pe());break;case"right":te.left=ne.right+xe+be,te.top=Ae(ne)+ae,te.transform=H(pe());break;case"bottom":default:te.top=ne.bottom+xe+ae,te.left=X(ne)+be,te.transform=H(ce());break}w(te)};return fe(),globalThis.addEventListener("resize",fe),globalThis.addEventListener("scroll",fe,!0),()=>{globalThis.removeEventListener("resize",fe),globalThis.removeEventListener("scroll",fe,!0)}},[u]),G(()=>{(()=>{let ae=L.current;if(ae){if(p){let ue=null;if(typeof p=="string"?ue=ae.querySelector(p):typeof p=="function"?ue=p()??null:p instanceof HTMLElement&&(ue=p),ue&&ue.isConnected)try{ue.focus();return}catch{}}ae.focus()}})();let ie=ae=>{let ue=ae;if(!ue)return!1;let ce=ue.tagName?.toLowerCase();if(ce==="textarea")return!0;if(ce==="input"){let pe=ue;return pe.type!=="button"&&pe.type!=="submit"}return!!(ce==="select"||ce==="option"||ue.isContentEditable)},xe=ae=>{if(ae.key!=="Enter")return;let ue=L.current;if(!ue)return;let ce=ae.composedPath();if(!ce.includes(ue))return;let pe=ce.find(Ae=>Ae instanceof HTMLElement);pe&&ie(pe)||b&&(()=>{let Ae=ue.querySelector('[data-modal-active="true"]:not([disabled])');return Ae?(ae.preventDefault(),ae.stopPropagation(),Ae.click(),!0):!1})()||C&&(ae.preventDefault(),ae.stopPropagation(),C())},be=L.current;return be&&be.addEventListener("keydown",xe),()=>{be&&be.removeEventListener("keydown",xe)}},[p,C,b]);let q=Q=>{r&&Q.target===Q.currentTarget&&(v?.(),B())},K=(()=>{let Q={};if(a||(Q.backgroundColor="transparent",Q.pointerEvents="auto"),u)return Q.display="block",Q;switch(o){case"top":Q.alignItems="flex-start",Q.justifyContent="center",Q.paddingTop=`${s}px`;break;case"bottom":Q.alignItems="flex-end",Q.justifyContent="center",Q.paddingBottom=`${s}px`;break;case"left":Q.alignItems="center",Q.justifyContent="flex-start",Q.paddingLeft=`${s}px`;break;case"right":Q.alignItems="center",Q.justifyContent="flex-end",Q.paddingRight=`${s}px`;break;case"center":default:Q.alignItems="center",Q.justifyContent="center";break}return Q})(),J=u?{...D,...a?void 0:{pointerEvents:"auto"}}:a?void 0:{pointerEvents:"auto"},re=(()=>{if(h)return h;let Q=ze();return Q?.config?.interfaceLanguage?wt(Q.config.rtlLanguages,Q.config.interfaceLanguage)?"rtl":"ltr":document.documentElement?.getAttribute("dir")==="rtl"?"rtl":"ltr"})();return m(Oe,{children:[m("style",{children:lt()["base.css"]}),m("style",{children:lt()["input.css"]}),m("style",{children:O}),f&&m("style",{children:R[f]}),n&&m("style",{children:n}),m("div",{id:"mount","data-theme":F,className:"modal-overlay",onClick:q,style:K,dir:re,children:m("div",{className:"modal-content-wrapper notranslate",ref:L,tabIndex:-1,style:J,children:V()})})]})},{}),P),B}function Nt({style:e,type:t,children:n,onClick:r,disabled:i,loading:a,active:o}){let s=(u,l)=>{(u.key==="Enter"||u.key===" ")&&(u.preventDefault(),l())};return m("button",{style:e,className:`modal-skin-standard__btn modal-skin-standard__btn--${t}`,onClick:r,onKeyDown:u=>s(u,r),disabled:i||a,"aria-busy":a,"data-modal-active":o?"true":void 0,tabIndex:0,type:"button",children:[a&&m("span",{className:`${U}-loading-spinner`,style:{width:"16px",height:"16px",marginRight:"8px",display:"inline-block"}}),n]})}function Rn({hiddenLogo:e,children:t,close:n}){return m("div",{className:"modal-skin-standard__header",children:[!e&&m(Zi,{style:{width:"var(--width-28)",height:"var(--width-28)"}}),m("div",{className:"modal-skin-standard__title",children:t}),m("button",{"aria-label":"close",className:"modal-skin-standard__close",onClick:n,children:m(Pn,{})})]})}function _Q(e){let t={"zh-CN":mc,"zh-TW":fc,default:gc},n=t[e.config.interfaceLanguage]??t.default,r=e.config.inputTargetLanguage;return n[r]??r}function Jf(e,t){let n=oe,r=e.translationService?.toLowerCase().replace(/\s+/g,""),i=Yn(e.config,r||""),a=n("modalInputTranslationSameDesc",{1:j.APP_BASE_URL+"text"+t,target:_Q(e),service:i});Rt({presetSkin:"standard",width:460,enableEnterActive:!0,render:({close:o})=>m("div",{children:[m(Rn,{close:o,children:n("modalEnableInputTranslationTitle")}),m("div",{className:"modal-skin-standard__body",children:m("p",{dangerouslySetInnerHTML:{__html:a}})}),m("div",{className:"modal-skin-standard__actions",children:m(Nt,{type:"primary",active:!0,onClick:o,children:n("closeModal")})})]})})}function si(e){return R0(e)?e.value||e.innerText||e.textContent:"\u2022\u2022\u2022\u2022"}function R0(e){if(e.tagName==="INPUT"){let t=e;if(t.type==="password"||t.type==="email")return!1}return!0}var UQ=`
  /* \u517C\u5BB9\u65E7\u6587\u6848\u4E2D\u7684 input-guide \u7C7B\u540D\uFF0C\u9650\u5B9A\u5728\u5F53\u524D\u5F39\u7A97\u4F5C\u7528\u57DF */
  .input-guide-highlight {
    color: var(--primary, #ec4c8c);
    font-weight: 600;
  }
  .input-guide-link {
    color: var(--primary, #ec4c8c);
    text-decoration: underline;
    cursor: default;
  }
  .input-guide-hint {
    margin-top: var(--space-12, 12px);
    color: var(--c-66, #666666);
    line-height: 1.6;
  }
`;function jQ({close:e,onDisable:t,onEnable:n}){let r=oe;return m("div",{children:[m("div",{className:"modal-skin-standard__header",children:[m(Zi,{style:{width:"var(--width-28)",height:"var(--width-28)"}}),m("div",{className:"modal-skin-standard__title",children:r("inputGuide.title")}),m("button",{"aria-label":"close",className:"modal-skin-standard__close",onClick:e,children:m(Pn,{})})]}),m("div",{className:"modal-skin-standard__body",dangerouslySetInnerHTML:{__html:r("inputGuide.description",{},{markdown:!0})}}),m("p",{className:"modal-skin-standard__hint",dangerouslySetInnerHTML:{__html:r("inputGuide.settingDescription",{1:j.DASH_BASE_URL+"#input"})}}),m("div",{className:"modal-skin-standard__actions",children:[m(Nt,{type:"secondary",style:{flex:1},onClick:t,children:r("inputGuide.disable")}),m(Nt,{type:"primary",style:{flex:1},onClick:n,active:!0,children:r("inputGuide.enable")})]}),m("div",{className:"modal-skin-standard__footer",children:r("inputGuide.footer")})]})}function Xf(){return new Promise(e=>{Rt({closeOnOverlayClick:!1,width:484,disableEscapeKey:!0,styles:UQ,enableEnterActive:!0,render:({close:t})=>m(jQ,{close:()=>{e("cancel"),t(),se({key:"close_input_translation"})},onDisable:()=>{e("disable"),t(),se({key:"disable_input_translation_forevery"})},onEnable:()=>{e("enable"),t(),se({key:"still_use_input_translation"})}})})})}function xM(e){let t=oe.bind(null);return se({key:"show_long_text_confirm_modal",params:{contentLength:e}}),new Promise(n=>{Rt({width:420,presetSkin:"standard",enableEnterActive:!0,onEsc(){n("cancel")},render:({close:r})=>{let i=()=>{n("cancel"),r()};return m("div",{children:[m(Rn,{close:i,children:t("inputGuide.confirm")}),m("p",{dangerouslySetInnerHTML:{__html:t("inputGuide.confirmDescription",{},{markdown:!0})}}),m("div",{className:"modal-skin-standard__actions",children:[m(Nt,{type:"secondary",style:{flex:1},onClick:i,children:t("cancel")}),m(Nt,{type:"secondary",active:!0,style:{flex:1},onClick:()=>{n("enable"),r()},children:t("translate")})]})]})}})})}async function CM({text:e,inputContext:t,defaultTargetLang:n,detectAutoLanguage:r}){if(t.codePrefix==="none")return await a();let i=zQ(e,t);if(i.code)return i;return await a();async function a(){return{code:await r()||n,startContent:"",endContent:e}}}function zQ(e,t){let n="",r="",i=e,{protectedText:a,restoreUrls:o}=GQ(e),s=HQ(t),u=a.split(s);if(u.length<2)return{code:n,startContent:o(r),endContent:o(i)};if(i=o(u[u.length-1]),r=o(u[0]),u.length>2){let c=u.map(o),d=e.lastIndexOf(i),g=e.slice(0,d).lastIndexOf(c[c.length-2]);r=e.slice(0,g+c[c.length-2].length)}if(r.endsWith(t.codePrefix))return{code:n,startContent:r,endContent:i};let l=e.slice(r.length+1,e.indexOf(i)).trim();return n=VQ(l,t.codeAlias)||"",{code:n,startContent:r,endContent:i}}function HQ({codePrefix:e,flatAlias:t,codePrefixAlias:n}){let r=[],i=n[e]||[];i.includes(e)||i.unshift(e);for(let a of i){let o=t.map(s=>{let u=a+s;return i.includes(s)||(u+=" "),u});r.push(...o)}return new RegExp(r.join("|"))}function VQ(e,t){for(let[n,r]of Object.entries(t))if(r.includes(e))return n;return null}function GQ(e){let t=/https?:\/\/[^\s]+/g,n=[];return{protectedText:e.replace(t,a=>{let o=`__URL_PLACEHOLDER_${n.length}__`;return n.push(a),o}),restoreUrls:a=>a.replace(/__URL_PLACEHOLDER_(\d+)__/g,(o,s)=>n[parseInt(s)]||o)}}var hr=!1,ui=0,fl=0,np=0,eb,$f,ep,tp,TM=0,rp,So=0,WQ=0,N0=0,rb=new Set,SM=!1,F0=!1,qQ=`
.${U}-input {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 2147483647;
  display: flex;
  justify-content: center;
  align-items: center;
}
.${U}-input-loading {
  --loading-color: #f78fb6;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: block;
  margin: 12px auto;
  position: relative;
  color: white;
  left: -100px;
  box-sizing: border-box;
  animation: ${ge}ShadowRolling 1.5s linear infinite;
}

@keyframes ${ge}ShadowRolling {
  0%, 100% {
    box-shadow: 0px 0 rgba(255, 255, 255, 0);
  }
  12% {
    box-shadow: 100px 0 var(--loading-color);
  }
  25% {
    box-shadow: 110px 0 var(--loading-color), 100px 0 var(--loading-color);
  }
  36% {
    box-shadow: 120px 0 var(--loading-color), 110px 0 var(--loading-color), 100px 0 var(--loading-color);
  }
  50% {
    box-shadow: 130px 0 var(--loading-color), 120px 0 var(--loading-color), 110px 0 var(--loading-color), 100px 0 var(--loading-color);
  }
  62% {
    box-shadow: 130px 0 var(--loading-color), 120px 0 var(--loading-color), 110px 0 var(--loading-color);
  }
  75% {
    box-shadow: 130px 0 var(--loading-color), 120px 0 var(--loading-color);
  }
  87% {
    box-shadow: 130px 0 var(--loading-color);
  }
}
`;function ib(e){e.config.enableInputTranslation&&nl().forEach(t=>{QQ(e,t)})}function ab(e){let{config:t}=e,n={...t.inputLanguageCodeAlias};Un.forEach(s=>n[s]=[s,...n[s]||[]]);let r=t.inputStartingTriggerKeyAlias[t.inputStartingTriggerKey]||[];r.includes(t.inputStartingTriggerKey)||r.unshift(t.inputStartingTriggerKey);let i=h0(e.config);n[i]=[...r,...n[i]];let a=t.inputTrailingTriggerKeyTimeout;Pe().any&&(a=t.inputTrailingMobileTriggerKeyTimeout);let o=e.rule.inputConfig||{};return{triggerTimes:t.inputTrailingTriggerKeyRepeatTimes,triggerToleranceCount:o.triggerToleranceCount??0,triggerKey:t.inputTrailingTriggerKey,triggerTimeout:a,triggerGapMs:o.triggerGapMs??250,triggerIdleMs:o.triggerIdleMs??1e3,triggerCancelWindowMs:o.triggerCancelWindowMs??3e3,triggerMinDurationMs:o.triggerMinDurationMs??1500,codePrefix:t.inputStartingTriggerKey,codeAlias:n,flatAlias:Object.values(n).flat(),codePrefixAlias:t.inputStartingTriggerKeyAlias,confirmLongTextLength:o.confirmLongTextLength}}function kM(){rp&&(clearTimeout(rp),rp=void 0)}function KQ(e){So&&(rb.add(So),k.debug("[input-translate] \u89E6\u53D1\u7FFB\u8BD1\u5DF2\u53D6\u6D88",{requestId:So,reason:e}),sp(),So=0,N0=0)}function EM(e){return e?rb.has(e):!1}function pl(){ui=0,np=0,kM()}function QQ(e,t){if(!e.config.enableInputTranslation||!e.config.enableInputTranslationWithoutTriggerKey)return;if(e.isInputTranslationExcludeUrl){k.debug("[input-translate] exclude url for input");return}if(F0)return;fl=0,eb="input";let n=ab(e);$f&&t.removeEventListener("keyup",$f),ep&&t.removeEventListener("input",ep),tp&&t.removeEventListener("compositionend",tp),$f=r,ep=i.bind(null,"input",void 0),tp=()=>{TM=Date.now(),ui=0},t.addEventListener("keyup",$f,!0),t.addEventListener("input",ep,!0),t.addEventListener("compositionend",tp,!0);function r(a){if(F0)return;let o=Cs(t.document,e.rule.enableInputDeepActive),s=o?.tagName;(o?.isContentEditable||s=="INPUT"||s=="SELECT"||s=="TEXTAREA")&&aY(a,n.triggerKey,n.codePrefixAlias)&&i("keyup",o,a)}function i(a,o,s){try{let u=Date.now();if(u-fl<5||eb=="input"&&a==="keyup"&&u-fl<=100||!s.isTrusted||(So&&N0>0&&u<=N0&&(KQ("input-during-cancel-window"),pl()),hr)||F0)return;if(typeof InputEvent<"u"&&s instanceof InputEvent){if(s.isComposing)return;if(s.inputType&&s.inputType.startsWith("delete")){pl();return}if(s.inputType==="insertCompositionText"){pl();return}if(u-TM<100){k.debug("[input-translate] \u8DF3\u8FC7\u5E76\u91CD\u7F6E\uFF1A\u5224\u5B9A\u4E3A\u8F93\u5165\u6CD5\u786E\u8BA4\u7A7A\u683C"),pl();return}}let c=o??Cs(t.document,e.rule.enableInputDeepActive),d=o??s.target,g=typeof s.composedPath=="function"?s.composedPath():o?[o]:[];if(!c){k.debug("[input-translate] \u8DF3\u8FC7\uFF1A\u65E0\u6CD5\u83B7\u53D6\u5F53\u524D\u805A\u7126\u5143\u7D20");return}if(d&&d!==c&&(!(d instanceof Node)||!c.contains(d)&&!g.includes(c))){k.debug("[input-translate] \u8DF3\u8FC7\uFF1A\u4E8B\u4EF6\u76EE\u6807\u4E0E\u805A\u7126\u5143\u7D20\u4E0D\u5339\u914D");return}let f=c?.tagName;if(!(c?.isContentEditable||f=="INPUT"||f=="SELECT"||f=="TEXTAREA")){k.debug("[input-translate] \u8DF3\u8FC7\uFF1A\u76EE\u6807\u4E0D\u662F\u53EF\u8F93\u5165\u5143\u7D20",{tagName:f,isContentEditable:c?.isContentEditable});return}let h=si(c)||"";if(!h){k.debug("[input-translate] \u8DF3\u8FC7\uFF1A\u8F93\u5165\u5185\u5BB9\u4E3A\u7A7A");return}if(n.triggerKey==="space"){let y=B0(h);if(!IM(y.lastContentLine,n,"input").matched){pl();return}np>0&&u-np<=n.triggerGapMs?ui++:ui=1,np=u,kM(),rp=t.setTimeout(()=>{let b=n.triggerTimes+n.triggerToleranceCount;if(ui<n.triggerTimes||ui>b){pl();return}if(ui=0,!wM(t,n,c)){k.debug("[input-translate] \u8DF3\u8FC7\uFF1A\u4E25\u683C\u6821\u9A8C\u672A\u901A\u8FC7");return}if(typeof op(h,n)!="string"){k.debug("[input-translate] \u8DF3\u8FC7\uFF1AremoveTail \u8FD4\u56DE\u503C\u5F02\u5E38");return}let T=++WQ;So=T,N0=Date.now()+n.triggerCancelWindowMs,k.debug("[input-translate] \u7A7A\u683C idle \u547D\u4E2D\uFF0C\u51C6\u5907\u89E6\u53D1\u7FFB\u8BD1",{requestId:T,triggerTimes:n.triggerTimes,triggerKey:n.triggerKey}),ap(s,e,t,n,{requestId:T})},n.triggerIdleMs);return}if(u-fl>n.triggerTimeout&&(ui=0),ui++,k.debug(`[input-translate] ${u-fl}ms \u6709\u6548\u8FDE\u7EED\u89E6\u53D1 ${ui} \u6B21`),ui<n.triggerTimes)return;if(ui=0,!wM(t,n,c)){k.debug("[input-translate] \u8DF3\u8FC7\uFF1A\u4E25\u683C\u6821\u9A8C\u672A\u901A\u8FC7");return}let C=op(h,n);if(typeof C!="string"){k.debug("[input-translate] \u8DF3\u8FC7\uFF1AremoveTail \u8FD4\u56DE\u503C\u5F02\u5E38");return}k.debug("[input-translate] \u51C6\u5907\u89E6\u53D1\u7FFB\u8BD1",{text:C,triggerKey:n.triggerKey,source:a}),ap(s,e,t,n)}finally{fl=Date.now(),eb=a}}}async function YQ(e,t=window){if(!e.config.enableInputTranslation)return;if(hr){k.debug("[input-translate] \u8DF3\u8FC7\u5FEB\u6377\u952E\u89E6\u53D1\uFF1A\u5DF2\u6709\u7FFB\u8BD1\u8FDB\u884C\u4E2D");return}k.debug("[input-translate] \u5FEB\u6377\u952E\u89E6\u53D1",location.href);let r=globalThis.getSelection()?.toString();if(r){k.debug("[input-translate] \u5F53\u524D\u5B58\u5728\u9009\u4E2D\u6587\u672C\uFF0C\u76F4\u63A5\u7FFB\u8BD1\u9009\u533A",{selection:r}),sb(e,t,r,"shortcutKey");return}try{let i=ab(e),a=Cs(t.document,e.rule.enableInputDeepActive);if(!a){k.debug("[input-translate] \u5FEB\u6377\u952E\u89E6\u53D1\uFF1A\u672A\u83B7\u53D6\u5230\u6D3B\u52A8\u8F93\u5165\u5143\u7D20");return}if(a.tagName==="BODY"){k.debug("[input-translate] \u5FEB\u6377\u952E\u89E6\u53D1\u5931\u8D25\uFF1A\u7126\u70B9\u5728 BODY \u5143\u7D20");return}hr=!0,k.debug("[input-translate] \u5F53\u524D\u6FC0\u6D3B\u7684\u8F93\u5165\u6846",a);let o=si(a)||"",{code:s,startContent:u,endContent:l}=await ub({activeEle:a,text:o,inputContext:i,ctx:e,selfWindow:t});if(k.debug("[input-translate] \u5FEB\u6377\u952E\u89E3\u6790\u8BED\u8A00\u5B8C\u6210",{currentText:o,targetLang:s}),!s)return;let c=op(l,i)||"";if(!c){k.debug("[input-translate] \u5FEB\u6377\u952E\u8DF3\u8FC7\uFF1A\u5F85\u7FFB\u8BD1\u5185\u5BB9\u4E3A\u7A7A");return}if(c.length>5e3){k.debug("[input-translate] \u5FEB\u6377\u952E\u8DF3\u8FC7\uFF1A\u5185\u5BB9\u8D85\u51FA\u957F\u5EA6\u9650\u5236",{translateLength:c.length});return}let d=await cb({translateContent:c,targetLang:s,activeEle:a,selfWindow:t,trigger:"shortcutKey"});d?(k.debug("[input-translate] \u5FEB\u6377\u952E\u7FFB\u8BD1\u5B8C\u6210\uFF0C\u5199\u5165\u7ED3\u679C",{result:d}),FM(e,t,a,u+d)):k.debug("[input-translate] \u5FEB\u6377\u952E\u7FFB\u8BD1\u5B8C\u6210\u4F46\u65E0\u6709\u6548\u7ED3\u679C")}catch(i){throw k.debug("[input-translate] \u5FEB\u6377\u952E\u7FFB\u8BD1\u53D1\u751F\u5F02\u5E38",i),hr=!1,i}finally{hr=!1,sp()}}async function sb(e,t,n,r){if(!e.config.enableInputTranslation||hr)return;try{let o=Cs(t.document,e.rule.enableInputDeepActive),s=globalThis.getSelection();if(!o||!n||!s)return;hr=!0;let u=ab(e),{code:l,startContent:c,endContent:d}=await ub({activeEle:o,text:n,inputContext:u,ctx:e,selfWindow:t});if(!l)return;let f=await cb({translateContent:d||n,targetLang:l,activeEle:o,selfWindow:t,trigger:r});if(!f)return;o instanceof HTMLInputElement||o instanceof HTMLTextAreaElement?a(t,o,c+f):i(e,t,o,c+f)}catch(o){throw hr=!1,o}finally{hr=!1,sp()}async function i(o,s,u,l){let c=o.rule.inputConfig,d=LM(o.config,l,u);try{await li(50),c?.execCommandDeleteEnable&&!On()&&si(u)?.trim()!=""&&(s.document.execCommand("delete"),await li(50)),k.debug("[input-translate] clearContent",si(u))}catch(g){k.error(g)}for(let g of[...NM,PM,RM,DM]){await g(d,u);let f=BM(s);if(!f)return;if(k.debug("setContent",g.name,nb(d,f),si(f),d),nb(d,f))break}}function a(o,s,u){let l=s.selectionStart,c=s.selectionEnd;if(l===null||c===null||l===c)return;s.focus();let d=new InputEvent("beforeinput",{inputType:"deleteContentBackward",data:null,bubbles:!0,cancelable:!0});if(s.dispatchEvent(d),!d.defaultPrevented){o.document.execCommand("delete",!1);let g=new InputEvent("beforeinput",{inputType:"insertText",data:u,bubbles:!0,cancelable:!0});if(s.dispatchEvent(g),!g.defaultPrevented){o.document.execCommand("insertText",!1,u);let f=new Event("input",{bubbles:!0,cancelable:!0});s.dispatchEvent(f)}}}}var xs;function ZQ(e){let t=e.parentElement;if(!t)return;xs=document.createElement("div"),xs.className=U+"-input";let n=`<div class="${U}-input-loading"/>`;xs.innerHTML=kn?.createHTML(n)||n,t.appendChild(xs);let r=e.getRootNode();if(r instanceof ShadowRoot){let o=document.createElement("style");o.textContent=qQ,r.appendChild(o)}let i=t,a=!1;do{let o=getComputedStyle(i).position;if(["fixed","absolute","relative"].includes(o)){a=!0;break}i=i.parentElement}while(i);if(i=t,!a)do{if(getComputedStyle(i).position==="static"){i.style.position="relative";break}i=i?.parentElement||null}while(i)}function sp(){xs&&(xs.remove(),xs=void 0)}async function ub({activeEle:e,text:t,inputContext:n,ctx:r,selfWindow:i}){let a=h0(r.config);return await CM({text:t,inputContext:n,defaultTargetLang:a,detectAutoLanguage:async()=>await uY(r,e,i.document,a)})}async function ap(e,t,n,r,i={}){if(e?.preventDefault&&e.preventDefault(),hr){k.debug("[input-translate] \u8DF3\u8FC7\uFF1A\u5DF2\u6709\u7FFB\u8BD1\u4EFB\u52A1\u6B63\u5728\u6267\u884C");return}try{if(!await In({ctx:t,usageScene:"input",service:t.inputTranslationService}))return;k.debug("[input-translate] \u5F00\u59CB\u6267\u884C\u8F93\u5165\u7FFB\u8BD1\u6D41\u7A0B");let o=Cs(n.document,t.rule.enableInputDeepActive);if(!o){k.debug("[input-translate] \u8DF3\u8FC7\uFF1A\u672A\u5B9A\u4F4D\u5230\u53EF\u7FFB\u8BD1\u7684\u8F93\u5165\u5143\u7D20");return}let s=si(o)||"",{code:u,startContent:l,endContent:c}=await ub({activeEle:o,text:s,inputContext:r,ctx:t,selfWindow:n});if(!u){k.debug("[input-translate] \u8DF3\u8FC7\uFF1A\u672A\u5339\u914D\u5230\u76EE\u6807\u8BED\u8A00\u4EE3\u7801");return}let d=op(c,r)||"";if(!d){k.debug("[input-translate] \u8DF3\u8FC7\uFF1A\u5F85\u7FFB\u8BD1\u6587\u672C\u4E3A\u7A7A");return}if(EM(i.requestId)){k.debug("[input-translate] \u8DF3\u8FC7\uFF1A\u89E6\u53D1\u8BF7\u6C42\u5DF2\u53D6\u6D88",{requestId:i.requestId});return}let g=t.config.isShowInputTranslationConsent&&!SM;if(g){k.debug("[input-translate] \u5C06\u5C55\u793A\u8F93\u5165\u7FFB\u8BD1\u6388\u6743\u5F39\u7A97"),SM=!0;let h=await Xf(),C=await pt();if(C.isShowInputTranslationConsent=!1,C.enableInputTranslation=h!="disable",F0=h=="disable",await bt(C),F0)return}else{let h=r.confirmLongTextLength>0&&d.length>r.confirmLongTextLength;if(!g&&h&&await xM(d.length)==="cancel")return}hr=!0;let f=i.requestId?Date.now():0;k.debug(`[input-translate] \u8C03\u7528\u7FFB\u8BD1\u63A5\u53E3 '${d}' -> \u76EE\u6807\u8BED\u8A00: ${u}`);let p=await cb({translateContent:d,targetLang:u,activeEle:o,selfWindow:n,trigger:"inputKey",requestId:i.requestId});if(i.requestId){let h=Date.now()-f;h<r.triggerMinDurationMs&&await li(r.triggerMinDurationMs-h)}if(EM(i.requestId)){k.debug("[input-translate] \u7FFB\u8BD1\u7ED3\u679C\u5DF2\u53D6\u6D88\uFF0C\u8DF3\u8FC7\u5199\u5165",{requestId:i.requestId});return}p?(k.debug(`[input-translate] \u7FFB\u8BD1\u5B8C\u6210\uFF0C\u51C6\u5907\u5199\u5165' \u7ED3\u679C: '${p}'`),FM(t,n,o,l+p)):k.debug("[input-translate] \u7FFB\u8BD1\u63A5\u53E3\u672A\u8FD4\u56DE\u6709\u6548\u5185\u5BB9"),hr=!1}catch(a){throw hr=!1,k.debug("[input-translate] \u8F93\u5165\u7FFB\u8BD1\u6D41\u7A0B\u51FA\u73B0\u5F02\u5E38",a),a}finally{i.requestId&&(rb.delete(i.requestId),So===i.requestId&&(So=0),N0=0),hr=!1,sp(),k.debug("[input-translate] \u8F93\u5165\u7FFB\u8BD1\u6D41\u7A0B\u7ED3\u675F")}}var ip=new Set([10,8629]),JQ=[" ","\xA0","\u3000"];function XQ(e,t){let n=0;for(let r=e.length-1;r>=0;r--){let i=e[r];if(!ip.has(i.charCodeAt(0))){if(!_M(i,t))break;n++}}return n}function MM(e,t,n){let{matched:r,matchedChar:i}=IM(e,t,n),a=t.triggerKey==="space"?Math.min(t.triggerTimes,2):t.triggerTimes,o=r&&i?XQ(e,i):0;return{matched:r,matchedChar:i,requiredCount:a,consecutiveCount:o}}function B0(e){let t=e.split(`
`),n=t.length?t[t.length-1]:"";for(let i=t.length-1;i>=0;i--){let a=t[i];if(a.trim()){let o={tailLine:n,lastContentLine:a,hasContent:!0};return k.debug("[input-translate] \u5C3E\u90E8\u5185\u5BB9\u5206\u6790",o),o}}let r={tailLine:n,lastContentLine:"",hasContent:!1};return k.debug("[input-translate] \u5C3E\u90E8\u5185\u5BB9\u5206\u6790",r),r}function $Q(e){let{triggerTimes:t,triggerKey:n,codePrefixAlias:r}=e,i=new Set;if(!n)return{maxDelete:0,allowedChars:i};let a=n.toLowerCase();n.length===1&&i.add(n);for(let s of r[n]||[])s&&i.add(s);if(a==="space")for(let s of JQ)i.add(s);let o=n.length===1||a==="space"?t:0;return k.debug("[input-translate] removeTail \u89E6\u53D1\u914D\u7F6E",{triggerKey:n,triggerTimes:t,maxDelete:o,allowedChars:Array.from(i)}),{maxDelete:o,allowedChars:i}}function IM(e,t,n){let r=t.triggerKey,i=t.codePrefixAlias[r]||[],a=Array.from(e).pop()??"",o=a===r||i.includes(a),s;o?s=a:r==="space"&&/[\s]/.test(a)&&(o=!0,s=a);let u=n==="input"?"\u8F93\u5165\u6846":"\u7F16\u8F91\u533A";return k.debug(`[input-translate] ${u}\u89E6\u53D1\u952E\u6821\u9A8C`,{triggerKey:r,alias:i,lastChar:a,matched:o,matchedChar:s}),{lastChar:a,matched:o,matchedChar:s}}function tb(e,t,n){if(!e.hasContent)return!1;let{lastContentLine:r}=e,i=n==="input"?"\u8F93\u5165\u6846":"\u7F16\u8F91\u533A",a=MM(r,t,n);if(!a.matched)return k.debug(`[input-translate] ${i}\u89E6\u53D1\u952E\u6821\u9A8C\u672A\u901A\u8FC7`,{lastContentLine:r}),!1;if(a.requiredCount>0){if(!a.matchedChar)return k.debug(`[input-translate] ${i}\u89E6\u53D1\u952E\u6570\u91CF\u6821\u9A8C\u8DF3\u8FC7`,{matchedChar:a.matchedChar,requiredCount:a.requiredCount,triggerKey:t.triggerKey}),!0;if(k.debug(`[input-translate] ${i}\u89E6\u53D1\u952E\u6570\u91CF\u6821\u9A8C`,{lastContentLine:r,targetChar:a.matchedChar,consecutiveCount:a.consecutiveCount,requiredCount:a.requiredCount,triggerKey:t.triggerKey}),a.consecutiveCount<a.requiredCount)return k.debug(`[input-translate] ${i}\u89E6\u53D1\u952E\u6570\u91CF\u4E0D\u8DB3`,{lastContentLine:r,targetChar:a.matchedChar,consecutiveCount:a.consecutiveCount,requiredCount:a.requiredCount,triggerKey:t.triggerKey}),!1}return!0}function wM(e,t,n){if(!n||!R0(n))return!1;if(lb(n)){let r=n.selectionStart||0,i=n.value.trimEnd().length,{tailLine:a,lastContentLine:o,hasContent:s}=B0(n.value),u=i<=r;return k.debug("[input-translate] \u8F93\u5165\u6846\u5149\u6807\u6821\u9A8C",{cursorPosition:r,textLength:i,isTail:u,tailText:a,tailContentText:o,hasContent:s}),u&&s?tb({tailLine:a,lastContentLine:o,hasContent:s},t,"input"):!1}else{let r=e.getSelection();if(!r)return k.debug("[input-translate] \u672A\u83B7\u53D6\u5230\u9009\u533A\uFF0C\u65E0\u6CD5\u6821\u9A8C\u5149\u6807\u3002"),!1;if(r.rangeCount>0){let i=r.getRangeAt(0),a=i.startContainer;if(a.nodeType===Node.TEXT_NODE){let o=tY(a,n),s=(a.textContent?.trimEnd()?.length||0)<=i.startOffset&&o,{tailLine:u,lastContentLine:l,hasContent:c}=B0(n.innerText||"");return!s&&l&&k.debug("[input-translate] \u7F16\u8F91\u533A\u5149\u6807\u6821\u9A8C\uFF08\u975E\u672B\u5C3E\uFF09",{isInLatest:o,isTail:s,textContentLength:a.textContent?.trimEnd()?.length,rangeStartOffset:i.startOffset,content:n.innerText}),s&&c?tb({tailLine:u,lastContentLine:l,hasContent:c},t,"editable"):!1}else{let o=eY(e,n);if(k.debug("[input-translate] \u5149\u6807\u4E0D\u5728\u6587\u672C\u8282\u70B9\uFF0C\u4F7F\u7528\u901A\u7528\u672B\u5C3E\u5224\u5B9A",{caretAtEnd:o}),!o)return!1;let s=B0(n.innerText||"");return k.debug("[input-translate] \u7F16\u8F91\u533A\u5149\u6807\u6821\u9A8C\uFF08\u975E\u6587\u672C\u8282\u70B9\uFF09",{tailText:s.tailLine,tailContentText:s.lastContentLine,hasContent:s.hasContent}),tb(s,t,"editable")}}}return!1}function eY(e,t){let n=t.ownerDocument,i=(n.defaultView||e).getSelection();if(!i||i.rangeCount===0||!i.isCollapsed)return!1;let a=i.getRangeAt(0).cloneRange(),o=n.createRange();o.selectNodeContents(t);try{o.setStart(a.endContainer,a.endOffset)}catch{return!1}return o.toString().replace(/[\r\n]/g,"").trim().length===0}function tY(e,t){let n;function r(i){if(i.nodeType===Node.TEXT_NODE)n=i;else for(let a of i.childNodes)r(a)}return r(t),n==e}function op(e,t){if(!e)return;let n=$Q(t),r=B0(e),i=MM(r.lastContentLine,t,"input"),a=i.matched&&i.matchedChar&&i.consecutiveCount>0,o=e.length;if(a){for(;o>0&&ip.has(e.charCodeAt(o-1));)o--;let l=i.consecutiveCount;for(;o>0&&l>0;){let c=e[o-1];if(ip.has(c.charCodeAt(0))){o--;continue}if(!_M(c,i.matchedChar))break;o--,l--}}else for(let l=o-1;l>=0;l--){let c=e[l];if(ip.has(c.charCodeAt(0))){o--;continue}if(!n.allowedChars.has(c))break;o--}e.length-o<3&&o>0&&[".","\u3002"].includes(e[o-1])&&o--;let s=e.slice(0,o),u=e.slice(o);return k.debug("[input-translate] removeTail \u622A\u65AD\u7ED3\u679C",{originalText:e,resultText:s,removedText:u,originalLength:e.length,resultLength:s.length,removedLength:u.length,matchedChar:i.matchedChar,consecutiveCount:i.consecutiveCount,requiredCount:i.requiredCount,strategy:a?"matched":"fallback"}),s}function LM(e,t,n){let r=n.innerHTML,i=si(n),a=[t],o=`
`;n instanceof HTMLInputElement&&(o=" "),n instanceof HTMLTextAreaElement&&n.rows==1&&(o=" "),e.inputTranslationMode=="dual"&&(e.translationPosition==="before"?a.push(i):a.unshift(i));let s=a.join(o);return{html:r.replace(i,s),text:s}}function nb(e,t,n=!1){let r=si(t)?.trim()?.replace(/\n/g,""),i=e?.text?.trim()?.replace(/\n/g,"");return n?r?.endsWith(i):r?.indexOf(i)>=0}async function li(e){await new Promise((t,n)=>{setTimeout(()=>{t("")},e)})}async function nY(e,t,n){await li(10);let r=new DataTransfer;e.forEach(i=>{i==="plain"&&r.setData("text/plain",t.text)}),n.dispatchEvent(new ClipboardEvent("paste",{clipboardData:r,bubbles:!0,cancelable:!0})),r.clearData(),await li(10)}async function DM(e,t){let n=document.createEvent("TextEvent");n.initTextEvent&&(n.initTextEvent("textInput",!0,!0,window,e.text),t.dispatchEvent(n),await li(10))}async function PM(e,t){t.value&&t.select(),document.execCommand("insertText",!1,e.text.replace(/\n/g,"\r")),await li(20),(t.value||t.value==="")&&(t.value=e.text)}async function RM(e,t){lb(t)&&(t.value=e.text,t.dispatchEvent(new Event("input",{bubbles:!0})),await li(20))}var NM=[nY.bind(null,["plain"])];function lb(e){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"}function rY(e,t){if(lb(t)){t.select();return}t.focus();let n=e.getSelection();if(!n)return;let r=e.document.createRange();return r.selectNodeContents(t),n.removeAllRanges(),n.addRange(r),r}async function FM(e,t,n,r){await li(50);let i=rY(t,n);await li(50);let{enableRangeDeleteContent:a,execCommandDeleteEnable:o}=e.rule.inputConfig||{},s=e.rule.enableInputDeepActive,u=LM(e.config,r,n);try{await li(50),a&&i?i.deleteContents():o&&!On()&&si(n)?.trim()!=""&&(t.document.execCommand("delete"),await li(50)),k.debug("[input-translate] clearContent",si(n))}catch(l){k.error(l)}for(let l of[...NM,PM,RM,DM]){await l(u,n);let c=s?Cs(t.document,s):BM(t);if(!c)return;let d=nb(u,c);if(k.debug("setContent",l.name,d,si(c),u),d)break}}function BM(e){return e.document.activeElement}function iY({ctx:e,trigger:t,targetLang:n,contentLength:r}){let i=e.rule.inputConfig?.autoLanguageEnable,a=e.rule.inputConfig?.autoLanguagePageEnable,o=[],s="off";i&&o.push("chat"),a&&o.push("page"),o.length>1?s="both":o.length==1&&(s=o[0]),se({key:"translate_input",ctx:e,params:{input_trailing_trigger_key:e.config.inputTrailingTriggerKey,input_starting_trigger_key:e.config.inputStartingTriggerKey,input_target_language:n,trigger:t,auto_language_type:s,content_length:r}})}function aY(e,t,n){let r="";e&&e.code&&(r=e.code.toLowerCase());let i="";e&&e.key&&(i=e.key.toLowerCase());let a=n[t]||[];return!!(a.includes(r)||a.includes(i)||r===t||i===t)}async function OM(e){if(e.config.interfaceLanguage!=="zh-CN"||e.config.targetLanguage!=="zh-CN"||!e.config.isEnableGuideTips)return;let n=`inputTutorialsShowedAt-${e.rule.id}`;if(await _t(n,"")||Number(await _t(bh,0))>0)return;let a=e.rule.inputConfig,{tutorialsSelectors:o,tutorialsText:s,placeholderType:u,enableMutationObserver:l}=a;if(l&&o?.length){let c=xn(()=>{let g=document.querySelector(o.join(","));g&&gA(g)&&(AM(g,s,u),d.disconnect(),Tt(n,new Date().toISOString()))},500),d=new MutationObserver(()=>{c()});d.observe(document.body,{childList:!0,subtree:!0}),setTimeout(()=>{d.disconnect()},15e3)}if(o&&o.length>0&&s)for(let c=0;c<o.length;c++){let d=document.querySelector(o[c]);if(!d)return;AM(d,s,u,o[c]),await Tt(n,new Date().toISOString())}}function AM(e,t,n,r){if(n==="attribute")e.setAttribute("placeholder",t);else if(n==="dom")e.textContent=t;else if(n==="::before"||n==="::after"){let i="imt-placeholder-injectCss";if(!document.querySelector(`style[data-id="${i}"]`)){let a=e.getRootNode(),o=`
        ${r}${n} {
          content: "${t}" !important;
        }
      `;qt(a,o,i)}}}wk({translateInputBoxWithShortcut:YQ});function Cs(e,t){let n=e;if(n?.shadowRoot)n=n.shadowRoot.activeElement;else if(n.nodeName=="IFRAME")n=n.contentWindow?.document?.activeElement;else{let r=n?.activeElement;if(!r)return n;if(n=r,n.isContentEditable)return t?oY(n):n}return Cs(n,t)}function oY(e){let t=globalThis.getSelection();if(t&&t.rangeCount>0){let r=t.getRangeAt(0).startContainer;if(r.nodeType===Node.TEXT_NODE&&(r=r.parentNode),r instanceof HTMLElement)return r}return e}function sY(e){return e==="retry"||e==="changeService"}async function cb(e){let{translateContent:t,targetLang:n,activeEle:r,selfWindow:i,trigger:a}=e,o=await ot(Ne(),{}),s="zh-CN";try{s=await Ve({text:t,translateService:o.inputTranslationService,ignorePageLang:!0,chineseFirst:!n.startsWith("zh"),serverDetect:!0,logPrefix:"[input-translate] \u8BED\u8A00\u68C0\u6D4B ->  "})}catch(c){k.error("[input-translate] \u7FFB\u8BD1\u5185\u5BB9\u8BED\u8A00\u68C0\u6D4B\u5931\u8D25",c)}k.debug(`[input-translate] \u7FFB\u8BD1\u5F53\u524D\u8BED\u8A00: ${s} \u5185\u5BB9: '${t}'`);let u=h0(o.config);if(n==s&&u!=s&&(n=u),s==n)return;let l={text:t||"",id:0,from:s,to:n,url:"https://google.com",fromByClient:s,force:!0};ZQ(r),Tt(bh,Date.now());try{o.specialAiAssistant=xa(o,o.inputTranslationService,!0);let c=await Ai(l,{...o,usageScene:"input",isRichTranslate:!1,translationService:o.inputTranslationService}),d=s.startsWith("zh")&&n.startsWith("zh");if(!/^\d+$/.test(t)&&t?.trim()===c?.text?.trim()&&t.trim()&&!d){let g=`#auto/${encodeURIComponent(h0(o.config))}/${encodeURIComponent(t)}`;Jf(o,g)}return iY({ctx:o,trigger:a||"inputKey",targetLang:n,contentLength:t.length}),c.text}catch(c){if(c instanceof Y){let d=c.uiConfig(o);sY(d.action)&&(d.action="none"),_e("showErrorModal",d)}}finally{hr=!1}}async function uY(e,t,n,r){let i=r,{autoLanguageEnable:a,autoLanguagePageEnable:o,autoLanguageSelectors:s}=e.rule.inputConfig||{},u="";if(a&&s){let l=[];for(let d of s){let g=n.documentElement,f=d,p=d.split(/\s+/);if(p[0]=="parentElementTo"){if(g=t.closest(p[1]),f=p.slice(1).join(" "),!g)continue;let C=je(f,g);if(C){l.push(C);break}}else{let C=Su(f,g);l.push(...C)}}let c="";l.forEach(d=>{let g=d.textContent||"";d.querySelectorAll(`font.${ft}`).forEach(f=>{g=g.replace(f.textContent||"","")}),c+=" "+g||""}),c=c.trim(),c&&(u=await Ve({text:c,serverDetect:!0,logPrefix:"[input-translate] \u81EA\u52A8\u76EE\u6807\u8BED\u8A00\u68C0\u6D4B ->  "}),k.debug("[input-translate] \u81EA\u52A8\u8BC6\u522B\u5185\u5BB9\u8BED\u8A00",{detectAutoLang:u,allText:c}))}if(!u&&o){let l=await bf(e.rule);l!="auto"&&(u=l,k.debug("[input-translate] \u81EA\u52A8\u8BC6\u522B\u9875\u9762\u8BED\u8A00",{bodyLang:l}))}return!u||u=="auto"?i:u}function _M(e,t){if(!t)return!1;if(/\s/.test(t)){if(!/\s/.test(e))return!1}else if(e!==t)return!1;return!0}var O0=[];function db(e,t){let n=0,r=0,i,a=s=>{let u=new Date().getTime();r++,u-n<300?o(s):r=1,n=u},o=s=>{clearTimeout(i),r===parseInt(e+"")&&(i=setTimeout(()=>{r=0,t(s)},400))};document.addEventListener("click",a),O0.push(()=>{document.removeEventListener("click",a)})}function UM(e,t){let n=0,r=0,i=0,a=s=>{let u=s.changedTouches[0];n=new Date().getTime(),r=u.clientX,i=u.clientY},o=s=>{let u=s.changedTouches[0];n-new Date().getTime()>1e3||Math.abs(i-u.clientY)>50||(e==="left"&&u.clientX-r>50&&t(s.changedTouches[0]),e==="right"&&u.clientX-r<-50&&t(s.changedTouches[0]))};document.addEventListener("touchstart",a,{passive:!0}),document.addEventListener("touchend",o),O0.push(()=>{document.removeEventListener("touchstart",a),document.removeEventListener("touchend",o)})}function up(e,t){let n,r=i=>{clearTimeout(n),i.touches.length===parseInt(e+"")&&(n=setTimeout(()=>{t(i.changedTouches[0])},200))};document.addEventListener("touchstart",r,{passive:!0}),O0.push(()=>{document.removeEventListener("touchstart",r)})}var gb={touchShortcutsOff:()=>{},"multipleClick.2":db,"multipleClick.3":db,"multipleClick.4":db,"slide.left":UM,"slide.right":UM,"fingers.2":up,"fingers.3":up,"fingers.4":up,"fingers.5":up};async function zM(e,t=window){try{mY();let n=await an(),r=a8.find(i=>i.name==="touch");if(!r)return;r.shortcuts.forEach(i=>{if(typeof i=="string")return;let a=lY(e,n,i.command),o=gb[a];if(a==="touchShortcutsOff"||!o)return;let s=a.split(".");if(s.length!==2)return;let u=s[1];u&&o(u,l=>{gY(i.command,e,t,l)})})}catch(n){k.error(n)}}function lY(e,t,n){if(!t.generalRule)return e.config.generalRule[n];if(t.generalRule[n])return t.generalRule[n];let r={touchShortcutsToggleTranslatePage:"fingerCountToToggleTranslagePageWhenTouching",touchShortcutsToggleTranslationMask:"fingerCountToToggleTranslationMaskWhenTouching",touchShortcutsToggleTranslatePageOnlyTranslation:"fingerCountToToggleTranslagePageOnlyTranslationWhenTouching"};return r[n]&&t.generalRule[r[n]]?`fingers.${t.generalRule[r[n]]}`:e.config.generalRule[n]||""}var cY=()=>{fb()},dY=()=>{mb()},jM=0,gY=(e,t,n,r)=>{if(!(new Date().getTime()-jM<200)){if(jM=new Date().getTime(),e==="touchShortcutsToggleTranslatePage")he("content",{method:"toggleTranslatePage",data:{trigger:"touch_shortcut"}});else if(e==="touchShortcutsToggleTranslationMask")dY();else if(e==="touchShortcutsToggleTranslatePageOnlyTranslation")cY();else if(e==="touchShortcutsToggleTranslateTouchElement")xk(t,r,n);else if(e==="touchShortcutsInputTranslate"){let i=document.activeElement;if(i!==r.target||!i||i.tagName!=="INPUT"&&i.tagName!=="TEXTAREA"&&!i.isContentEditable)return;let a=t.config,o={...a.inputLanguageCodeAlias},s=t.rule.inputConfig,u={triggerTimes:a.inputTrailingTriggerKeyRepeatTimes,triggerKey:a.inputTrailingTriggerKey,triggerTimeout:a.inputTrailingTriggerKeyTimeout,codePrefix:a.inputStartingTriggerKey,codeAlias:o,flatAlias:Object.values(o).flat(),codePrefixAlias:a.inputStartingTriggerKeyAlias,confirmLongTextLength:s.confirmLongTextLength,triggerToleranceCount:s.triggerToleranceCount??0,triggerGapMs:s.triggerGapMs??250,triggerIdleMs:s.triggerIdleMs??1e3,triggerCancelWindowMs:s.triggerCancelWindowMs??3e3,triggerMinDurationMs:s.triggerMinDurationMs??1500};ap(r,t,n,u)}}};function mY(){O0.forEach(e=>{e()}),O0=[]}function WM(e){let t=document.createElement("span");return t.innerHTML=e,(t.textContent||"").trim()}function st(e,t,n,r){se({key:r||"translate_video_subtitle",ctx:{...e,sourceLanguage:t||"auto"},params:{video_platform:n||e.rule.id||""}}),Dr("translate_video_1",e)}function dt(e,t){return e==t}function Da(e,t){return!e||!t?!1:e.startsWith("zh")&&t.startsWith("zh")}function qM(e){let{url:t,method:n,headers:r,body:i}=e,a=new Headers;for(let[u,l]of Object.entries(r))a.append(u,l);let o;return typeof i=="object"?(delete i._formatBodyType,o=JSON.stringify(i)):typeof i=="string"&&(o=i),new Request(t,{method:n,headers:a,body:o})}function KM(e){return e?Object.entries(e).reduce((t,[n,r])=>{if(r==null||r==null||typeof r=="object"&&Object.keys(r).length===0)return t;if(n=="body"&&typeof r=="object"&&r._formatBodyType=="FormData"){let i=new FormData;for(let[a,o]of Object.entries(r))a!=="_formatBodyType"&&i.append(a,o);return t[n]=i,t}return t[n]=r,t},{}):null}function pb(e){return e.replace(/\n/g," ")}function QM(e){let t;return e instanceof URL?t=e.href:typeof e=="string"?t=e:e instanceof Request?t=e.url:t=String(e),t}function lp(e,t,n){return Yn(e.config,n)}function cp(e){try{let t=document.createElement("div"),n=e.replace(/<br[^>]*>/gi,"###NEWLINE###");return t.innerHTML=n,t.innerText.replace(/###NEWLINE###/g,`
`)}catch{return e}}var fY=24*60*60*1e3;function dp(e,t){let n=e.freeAiSubtitleCacheNewUserLimitDay;if(t&&n){let a=new Date(t.createTime);if(Date.now()-a.getTime()<n*fY)return!0}return e.freeAiSubtitleCacheEndTime?new Date(e.freeAiSubtitleCacheEndTime)>new Date:!1}function YM(e){if(e.length===0)return e;let t=[],n=[];for(let r=0;r<e.length;r++){let i=e[r];if(n.length===0){n.push(i);continue}let a=n[n.length-1];i.text===a.text?n.push(i):(n.length>0&&t.push(HM(n)),n=[i])}return n.length>0&&t.push(HM(n)),t}function HM(e){if(e.length===1)return e[0];let t=e.reduce((r,i)=>i.text.length>r.text.length?i:r).text,n={type:"caption",index:e[0].index,start:Math.min(...e.map(r=>r.start)),end:Math.max(...e.map(r=>r.end)),text:t,content:t,duration:0};return n.duration=n.end-n.start,n}function _0(e,t){let n=e.config.translationServices?.[t];return!!n&&cr(n)}function ZM(e,t){let n=e.config.translationServices?.[t];return!!n&&cr(n)&&["max","pro"].includes(n.group)}function hl(e){return Ha(e,e.rule.subtitleRule.defaultFallbackServices||[])[0]}function VM(e){if(e.length<=1)return e;for(let t=e.length-1;t>=0;t--){let n=e[t];for(let r=t-1;r>=0;r--)n.text.includes(e[r].text)&&(n.start=Math.min(n.start,e[r].start),n.end=Math.max(n.end,e[r].end),e.splice(r,1),t--)}return e}function JM(e){if(!e||e.length===0)return[];let t=[],n=null;for(let r=0;r<e.length;r++){let i=e[r];(i.text.endsWith(",")||i.text.endsWith("."))&&(n&&(i.start=n.end),t.push(i),n=null),n||(n=i)}VM(t),VM(t.reverse()),t=t.reverse();for(let r=1;r<t.length;r++){let i=t[r-1],a=t[r];a.start=i.end}return t}var gp={};function mp(e,t,n,r){if(r=r||globalThis.location.href,!r)return;e.rule.subtitleRule.multipleVideoContainerSelector||(gp={});let i=Ni.includes(ye(n));gp[r]={title:document.title,url:r,subtitleItems:t.map(a=>{if(a.text.includes("<"))try{let o=cp(a.text);a.text=o.replaceAll(`
`,i?"":" ")}catch{}return a}),sourceLang:n,targetLang:e.state.targetLanguage||e.targetLanguage,translationService:e.subtitleTranslateService}}function XM(e){e=e||globalThis.location.href,gp[e]=null}function hb(e){e=e||globalThis.location.href;let t=gp[e];if(!(!t||!t.subtitleItems.length))return t}async function $M(e){e=e||globalThis.location.href;let t=hb(e);if(!t)return;let n=await pr();n.downloadSubtitle=t,await ni(n),On()?tt(j.DOWNLOAD_SUBTITLE_URL):tt(`${j.DOWNLOAD_SUBTITLE_URL}?source_url=${encodeURIComponent(e)}`)}async function eI(){let e=await pr();if(e.downloadSubtitle)return e.downloadSubtitle}function tI(e,t,n){let r=[];n||(n={}),t!=="auto"&&!n[t]&&(n[t]={matches:[],excludeMatches:[]}),r=t!=="auto"?n[t].matches:[];let i={},a=Object.keys(n);for(let l of a){let d=n[l].matches;for(let g of d)i[g]||(i[g]=[]),i[g].push(l)}let o=i[e];if(o&&o.length>0)for(let l of o)n[l].matches.indexOf(e)>-1&&(n[l]={...n[l],matches:n[l].matches.filter(d=>d!==e)});let s=new Set(r);if(t==="auto")return{...n};s.add(e);let u=Array.from(s);return{...n,[t]:{...n[t],matches:u}}}var pY=({date:e})=>{let{t}=ee(),[n,r]=z(!1);return G(()=>{setTimeout(()=>{r(!0)},5e3)},[]),n?null:m("p",{class:"text-sm",children:[t("Successfully synchronized with the latest official rules:")," ",new Date(e).toLocaleString()]})},hY=({minVersion:e})=>{let{t}=ee();return m("p",{class:"text-sm",children:t("localVersionIsTooOld",{minVersion:e})})},yY=()=>{let{t:e}=ee();return m("p",{class:"text-sm",dangerouslySetInnerHTML:{__html:e("badUserscriptBrowser",{1:j.BASE_SITE+"docs/installation/"})}})},bY=({message:e,handleSyncing:t,date:n})=>{let{t:r}=ee();return m("p",{class:"text-sm",children:[r("failToSyncRules")," ",m("a",{onClick:t,children:r("retry")}),m("br",{}),r("failedReason"),"\uFF1A",e,m("br",{}),r("currentRuleVersion"),"\uFF1A",n]})};function yb(e){let{isShowError:t,actionsRef:n}=e,[r,i]=z(null),{t:a}=ee(),[o,s]=z(null),[u,l]=z(null),[c,d]=z(""),[g,f]=z(!1),[p,h]=z(!1),[C,y]=z(!1),[v,b]=z(null),[x,T]=z(null),S=vn(),E=async()=>{d("");let A=o;if(o===null)try{let M=await n.current?.request({url:j.BASE_API+"buildin-config/sync"});M?(s(M),A=M,f(!0)):(d(a("unknownError")),l(null))}catch(M){l(null),d(M.message);return}A!==null?(n.current?.setStorageBuildinConfig(A),l(!1),i(A.buildinConfigUpdatedAt)):(d(a("canNotFetchRemoteRule")),l(null))};return G(()=>{It.DEBUG||Qe().then(A=>{let M=A.buildinConfigUpdatedAt;b(A);let P=new Date(M);if(i(M),S==="0.0.0"){y(!0);return}n.current?.request({url:j.buildinConfigSyncUrl}).then(B=>{let O=B,R=O.minVersion,_=S;s(O);let F=O.latestVersion;if(F&&(Dt(_,F)?T(!0):T(!1)),Dt(_,R)){let L=O.buildinConfigUpdatedAt;new Date(L)>P?(l(!0),E()):l(!1)}else h(!0),l(null)}).catch(B=>{l(null),d(B.message)})})},[]),G(()=>{Qe().then(A=>{b(A),Jo(A)})},[r]),v?m("div",{class:"text-sm mt-2",style:{maxWidth:218},children:C?m(yY,{}):c?t===!1?null:m(bY,{handleSyncing:E,message:c,date:r||""}):p?t===!1?null:m(hY,{minVersion:o.minVersion}):u===null||u===!0?null:g?m(pY,{date:r}):null}):null}function nI({currentLang:e,ctx:t,actionsRef:n}){let{t:r}=ee();if(!t)return null;let i=mf(t.translationService,t.config.targetLanguage,t.config),a=Un;i.length<=30&&(a=i.indexOf("auto")>=0?i:["auto",...i]);let o=i.filter(u=>u!=="auto"),s=t.state.targetLanguage??t.config.targetLanguage;return m("div",{class:"flex mt-4 items-center",children:[m(vY,{supportedLanguages:a,interfaceLanguage:t.config.interfaceLanguage,currentLang:e,value:t.sourceLanguage,actionsRef:n}),m("img",{src:kA,style:{maxWidth:"unset"},class:"mx-2"}),m(xY,{supportedLanguages:o,interfaceLanguage:t.config.interfaceLanguage,value:s,label:r("popupTarget"),onSelected:u=>{n.current?.setSettings(l=>({...l,targetLanguage:u})),n.current?.sendMessageToContent("updateTargetLanguage",!0,{targetLanguage:u}),n.current?.onReport({key:"init_page_daily",forceDaily:!0})}})]})}function vY(e){let{t}=ee(),n=e.actionsRef,{value:r,currentLang:i}=e,a=t("popupSourceLanguage");return r==="auto"&&i&&i!=="auto"&&(a=t("languages.auto")),m("div",{class:"language-select-container",children:[m("label",{children:a}),m("select",{autoComplete:"off",id:"source-language-select",class:"language-select",onChange:o=>{let s=o.target.value;s&&n.current?.onSetPageLanguage(s)},children:ds(e.supportedLanguages,12,e.interfaceLanguage).map((o,s)=>{let u=Ln(o,e.interfaceLanguage),l="";return o==="auto"&&r==="auto"&&(i&&i==="auto"?l=t("languages.auto"):l=Ln(i,e.interfaceLanguage)+` (${t("languages.auto")})`),m("option",{value:o,selected:o===e.value,children:l||u},"selectlink"+s)})})]})}function xY(e){return m("div",{class:"language-select-container",children:[m("select",{autoComplete:"off",id:"target-language-select",class:"language-select",onChange:t=>{let n=t.target.value;n&&e.onSelected(n)},children:ds(e.supportedLanguages,12,e.interfaceLanguage).map((t,n)=>{let r=Ln(t,e.interfaceLanguage);return m("option",{value:t,selected:t===e.value,children:r},"selectlink"+n)})}),m("label",{children:e.label})]})}function Ji(e){let{items:t,maxWidth:n,className:r,style:i,disabled:a}=e,{lang:o}=ee();return n=n||(o==="en"?144:160),m("select",{autoComplete:"off",class:r||"min-select",style:{maxWidth:`${n}px`,...i},value:t.find(s=>s.selected)?.value,disabled:a,onChange:s=>{let u=s.target.value,l=t.find(c=>c.value===u);l&&l.onSelected(l)},children:t.map((s,u)=>m("option",{value:s.value,selected:s.selected,children:s.label},"selectlink"+u))})}var bb;function Mb(e){return[...e.v,(e.i?"!":"")+e.n].join(":")}function dI(e,t=","){return e.map(Mb).join(t)}var gI=typeof CSS<"u"&&CSS.escape||(e=>e.replace(/[!"'`*+.,;:\\/<=>?@#$%&^|~()[\]{}]/g,"\\$&").replace(/^\d/,"\\3$& "));function pp(e){for(var t=9,n=e.length;n--;)t=Math.imul(t^e.charCodeAt(n),1597334677);return"#"+((t^t>>>9)>>>0).toString(36)}function hp(e,t="@media "){return t+jr(e).map(n=>(typeof n=="string"&&(n={min:n}),n.raw||Object.keys(n).map(r=>`(${r}-width:${n[r]})`).join(" and "))).join(",")}function jr(e=[]){return Array.isArray(e)?e:e==null?[]:[e]}function CY(){}var Hn={d:0,b:134217728,c:268435456,a:671088640,u:805306368,o:939524096};function mI(e){return e.match(/[-=:;]/g)?.length||0}function Eb(e){return Math.min(/(?:^|width[^\d]+)(\d+(?:.\d+)?)(p)?/.test(e)?Math.max(0,29.63*(+RegExp.$1/(RegExp.$2?15:1))**.137-43):0,15)<<22|Math.min(mI(e),15)<<18}var TY=["rst-c","st-ch","h-chi","y-lin","nk","sited","ecked","pty","ad-on","cus-w","ver","cus","cus-v","tive","sable","tiona","quire"];function Ib({n:e,i:t,v:n=[]},r,i,a){e&&(e=Mb({n:e,i:t,v:n})),a=[...jr(a)];for(let s of n){let u=r.theme("screens",s);for(let l of jr(u&&hp(u)||r.v(s))){var o;a.push(l),i|=u?67108864|Eb(l):s=="dark"?1073741824:l[0]=="@"?Eb(l):(o=l,1<<~(/:([a-z-]+)/.test(o)&&~TY.indexOf(RegExp.$1.slice(2,7))||-18))}}return{n:e,p:i,r:a,i:t}}var Lb=new Map;function rI(e){if(e.d){let t=[],n=vb(e.r.reduce((r,i)=>i[0]=="@"?(t.push(i),r):i?vb(r,a=>vb(i,o=>{let s=/(:merge\(.+?\))(:[a-z-]+|\\[.+])/.exec(o);if(s){let u=a.indexOf(s[1]);return~u?a.slice(0,u)+s[0]+a.slice(u+s[1].length):xb(a,o)}return xb(o,a)})):r,"&"),r=>xb(r,e.n?"."+gI(e.n):""));return n&&t.push(n.replace(/:merge\((.+?)\)/g,"$1")),t.reduceRight((r,i)=>i+"{"+r+"}",e.d)}}function vb(e,t){return e.replace(/ *((?:\(.+?\)|\[.+?\]|[^,])+) *(,|$)/g,(n,r,i)=>t(r)+i)}function xb(e,t){return e.replace(/&/g,t)}var iI=new Intl.Collator("en",{numeric:!0});function SY(e,t){for(var n=0,r=e.length;n<r;){let i=r+n>>1;0>=fI(e[i],t)?n=i+1:r=i}return r}function fI(e,t){let n=e.p&Hn.o;return n==(t.p&Hn.o)&&(n==Hn.b||n==Hn.o)?0:e.p-t.p||e.o-t.o||iI.compare(aI(e.n),aI(t.n))||iI.compare(oI(e.n),oI(t.n))}function aI(e){return(e||"").split(/:/).pop().split("/").pop()||"\0"}function oI(e){return(e||"").replace(/\W/g,t=>String.fromCharCode(127+t.charCodeAt(0)))+"\0"}function Cb(e,t){return Math.round(parseInt(e,16)*t)}function Eo(e,t={}){if(typeof e=="function")return e(t);let{opacityValue:n="1",opacityVariable:r}=t,i=r?`var(${r})`:n;if(e.includes("<alpha-value>"))return e.replace("<alpha-value>",i);if(e[0]=="#"&&(e.length==4||e.length==7)){let a=(e.length-1)/3,o=[17,1,.062272][a-1];return`rgba(${[Cb(e.substr(1,a),o),Cb(e.substr(1+a,a),o),Cb(e.substr(1+2*a,a),o),i]})`}return i=="1"?e:i=="0"?"#0000":e.replace(/^(rgb|hsl)(\([^)]+)\)$/,`$1a$2,${i})`)}function pI(e,t,n,r,i=[]){return function a(o,{n:s,p:u,r:l=[],i:c},d){let g=[],f="",p=0,h=0;for(let v in o||{}){var C,y;let b=o[v];if(v[0]=="@"){if(!b)continue;if(v[1]=="a"){g.push(...yI(s,u,Pb(""+b),d,u,l,c,!0));continue}if(v[1]=="l"){for(let x of jr(b))g.push(...a(x,{n:s,p:(C=Hn[v[7]],u&~Hn.o|C),r:v[7]=="d"?[]:l,i:c},d));continue}if(v[1]=="i"){g.push(...jr(b).map(x=>({p:-1,o:0,r:[],d:v+" "+x})));continue}if(v[1]=="k"){g.push({p:Hn.d,o:0,r:[v],d:a(b,{p:Hn.d},d).map(rI).join("")});continue}if(v[1]=="f"){g.push(...jr(b).map(x=>({p:Hn.d,o:0,r:[v],d:a(x,{p:Hn.d},d).map(rI).join("")})));continue}}if(typeof b!="object"||Array.isArray(b))v=="label"&&b?s=b+pp(JSON.stringify([u,c,o])):(b||b===0)&&(v=v.replace(/[A-Z]/g,x=>"-"+x.toLowerCase()),h+=1,p=Math.max(p,(y=v)[0]=="-"?0:mI(y)+(/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7,8}$)|([fl].{5}l|g.{8}$|pl))/.test(y)?+!!RegExp.$1||-!!RegExp.$2:0)+1),f+=(f?";":"")+jr(b).map(x=>d.s(v,hI(""+x,d.theme)+(c?" !important":""))).join(";"));else if(v[0]=="@"||v.includes("&")){let x=u;v[0]=="@"&&(v=v.replace(/\bscreen\(([^)]+)\)/g,(T,S)=>{let E=d.theme("screens",S);return E?(x|=67108864,hp(E,"")):T}),x|=Eb(v)),g.push(...a(b,{n:s,p:x,r:[...l,v],i:c},d))}else g.push(...a(b,{p:u,r:[...l,v]},d))}return g.unshift({n:s,p:u,o:Math.max(0,15-h)+1.5*Math.min(p||15,15),r:l,d:f}),g.sort(fI)}(e,Ib(t,n,r,i),n)}function hI(e,t){return e.replace(/theme\((["'`])?(.+?)\1(?:\s*,\s*(["'`])?(.+?)\3)?\)/g,(n,r,i,a,o="")=>{let s=t(i,o);return typeof s=="function"&&/color|fill|stroke/i.test(i)?Eo(s):""+jr(s).filter(u=>Object(u)!==u)})}function Db(e,t){let n,r=[];for(let i of e)i.d&&i.n?n?.p==i.p&&""+n.r==""+i.r?(n.c=[n.c,i.c].filter(Boolean).join(" "),n.d=n.d+";"+i.d):r.push(n={...i,n:i.n&&t}):r.push({...i,n:i.n&&t});return r}function wb(e,t,n=Hn.u,r,i){let a=[];for(let o of e)for(let s of function(u,l,c,d,g){u={...u,i:u.i||g};let f=function(p,h){let C=Lb.get(p.n);return C?C(p,h):h.r(p.n,p.v[0]=="dark")}(u,l);return f?typeof f=="string"?({r:d,p:c}=Ib(u,l,c,d),Db(wb(Pb(f),l,c,d,u.i),u.n)):Array.isArray(f)?f.map(p=>{var h,C;return{o:0,...p,r:[...jr(d),...jr(p.r)],p:(h=c,C=p.p??c,h&~Hn.o|C)}}):pI(f,u,l,c,d):[{c:Mb(u),p:0,o:0,r:[]}]}(o,t,n,r,i))a.splice(SY(a,s),0,s);return a}function yI(e,t,n,r,i,a,o,s){return Db((s?n.flatMap(u=>wb([u],r,i,a,o)):wb(n,r,i,a,o)).map(u=>u.p&Hn.o&&(u.n||t==Hn.b)?{...u,p:u.p&~Hn.o|t,o:0}:u),e)}function EY(e,t,n,r){var i;return i=(a,o)=>{let{n:s,p:u,r:l,i:c}=Ib(a,o,t);return n&&yI(s,t,n,o,u,l,c,r)},Lb.set(e,i),e}function Tb(e,t,n){if(e[e.length-1]!="("){let r=[],i=!1,a=!1,o="";for(let s of e)if(!(s=="("||/[~@]$/.test(s))){if(s[0]=="!"&&(s=s.slice(1),i=!i),s.endsWith(":")){r[s=="dark:"?"unshift":"push"](s.slice(0,-1));continue}s[0]=="-"&&(s=s.slice(1),a=!a),s.endsWith("-")&&(s=s.slice(0,-1)),s&&s!="&"&&(o+=(o&&"-")+s)}o&&(a&&(o="-"+o),t[0].push({n:o,v:r.filter(wY),i}))}}function wY(e,t,n){return n.indexOf(e)==t}var sI=new Map;function Pb(e){let t=sI.get(e);if(!t){let n=[],r=[[]],i=0,a=0,o=null,s=0,u=(l,c=0)=>{i!=s&&(n.push(e.slice(i,s+c)),l&&Tb(n,r)),i=s+1};for(;s<e.length;s++){let l=e[s];if(a)e[s-1]!="\\"&&(a+=+(l=="[")||-(l=="]"));else if(l=="[")a+=1;else if(o)e[s-1]!="\\"&&o.test(e.slice(s))&&(o=null,i=s+RegExp.lastMatch.length);else if(l=="/"&&e[s-1]!="\\"&&(e[s+1]=="*"||e[s+1]=="/"))o=e[s+1]=="*"?/^\*\//:/^[\r\n]/;else if(l=="(")u(),n.push(l);else if(l==":")e[s+1]!=":"&&u(!1,1);else if(/[\s,)]/.test(l)){u(!0);let c=n.lastIndexOf("(");if(l==")"){let d=n[c-1];if(/[~@]$/.test(d)){let g=r.shift();n.length=c,Tb([...n,"#"],r);let{v:f}=r[0].pop();for(let p of g)p.v.splice(+(p.v[0]=="dark")-+(f[0]=="dark"),f.length);Tb([...n,EY(d.length>1?d.slice(0,-1)+pp(JSON.stringify([d,g])):d+"("+dI(g)+")",Hn.a,g,/@$/.test(d))],r)}c=n.lastIndexOf("(",c-1)}n.length=c+1}else/[~@]/.test(l)&&e[s+1]=="("&&r.unshift([])}u(!0),sI.set(e,t=r[0])}return t}function bI(e,t,n){return t.reduce((r,i,a)=>r+n(i)+e[a+1],e[0])}function vI(e,t){return Array.isArray(e)&&Array.isArray(e.raw)?bI(e,t,n=>Sb(n).trim()):t.filter(Boolean).reduce((n,r)=>n+Sb(r),e?Sb(e):"")}function Sb(e){let t,n="";if(e&&typeof e=="object")if(Array.isArray(e))(t=vI(e[0],e.slice(1)))&&(n+=" "+t);else for(let r in e)e[r]&&(n+=" "+r);else e!=null&&typeof e!="boolean"&&(n+=" "+e);return n}var dMe=xI("@"),gMe=xI("~");function xI(e){return new Proxy(function(n,...r){return t("",n,r)},{get(n,r){return r in n?n[r]:function(i,...a){return t(r,i,a)}}});function t(n,r,i){return dI(Pb(n+e+"("+vI(r,i)+")"))}}function Ab(e,t){return Array.isArray(e)?uI(bI(e,t,n=>n!=null&&typeof n!="boolean"?n:"")):typeof e=="string"?uI(e):[e]}var AY=/ *(?:(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}))/g;function uI(e){let t;e=e.replace(/\/\*[^]*?\*\/|\s\s+|\n/gm," ");let n=[{}],r=[n[0]],i=[];for(;t=AY.exec(e);)t[4]&&(n.shift(),i.shift()),t[3]?(i.unshift(t[3]),n.unshift({}),r.push(i.reduce((a,o)=>({[o]:a}),n[0]))):t[4]||(n[0][t[1]]&&(n.unshift({}),r.push(i.reduce((a,o)=>({[o]:a}),n[0]))),n[0][t[1]]=t[2]);return r}function CI(e,...t){var n;let r=Ab(e,t),i=(r.find(a=>a.label)?.label||"css")+pp(JSON.stringify(r));return n=(a,o)=>Db(r.flatMap(s=>pI(s,a,o,Hn.o)),i),Lb.set(i,n),i}var mMe=new Proxy(function(e,t){return lI("animation",e,t)},{get(e,t){return t in e?e[t]:function(n,r){return lI(t,n,r)}}});function lI(e,t,n){return{toString(){return CI({label:e,"@layer components":{...typeof t=="object"?t:{animation:t},animationName:""+n}})}}}function Se(e,t,n){return[e,kY(t,n)]}function kY(e,t){return typeof e=="function"?e:typeof e=="string"&&/^[\w-]+$/.test(e)?(n,r)=>({[e]:t?t(n,r):kb(n,1)}):n=>e||{[n[1]]:kb(n,2)}}function kb(e,t,n=e.slice(t).find(Boolean)||e.$$||e.input){return e.input[0]=="-"?`calc(${n} * -1)`:n}function we(e,t,n,r){return[e,MY(t,n,r)]}function MY(e,t,n){let r=typeof t=="string"?(i,a)=>({[t]:n?n(i,a):i._}):t||(({1:i,_:a},o,s)=>({[i||s]:a}));return(i,a)=>{let o=TI(e||i[1]),s=a.theme(o,i.$$)??yl(i.$$,o,a);if(s!=null)return i._=kb(i,0,s),r(i,a,o)}}function fn(e,t={},n){return[e,IY(t,n)]}function IY(e={},t){return(n,r)=>{let{section:i=TI(n[0]).replace("-","")+"Color"}=e,[a,o]=LY(n.$$);if(!a)return;let s=r.theme(i,a)||yl(a,i,r);if(!s||typeof s=="object")return;let{opacityVariable:u=`--tw-${n[0].replace(/-$/,"")}-opacity`,opacitySection:l=i.replace("Color","Opacity"),property:c=i,selector:d}=e,g=r.theme(l,o||"DEFAULT")||o&&yl(o,l,r),f=t||(({_:h})=>{let C=U0(c,h);return d?{[d]:C}:C});n._={value:Eo(s,{opacityVariable:u||void 0,opacityValue:g||void 0}),color:h=>Eo(s,h),opacityVariable:u||void 0,opacityValue:g||void 0};let p=f(n,r);if(!n.dark){let h=r.d(i,a,s);h&&h!==s&&(n._={value:Eo(h,{opacityVariable:u||void 0,opacityValue:g||"1"}),color:C=>Eo(h,C),opacityVariable:u||void 0,opacityValue:g||void 0},p={"&":p,[r.v("dark")]:f(n,r)})}return p}}function LY(e){return(e.match(/^(\[[^\]]+]|[^/]+?)(?:\/(.+))?$/)||[]).slice(1)}function U0(e,t){let n={};return typeof t=="string"?n[e]=t:(t.opacityVariable&&t.value.includes(t.opacityVariable)&&(n[t.opacityVariable]=t.opacityValue||"1"),n[e]=t.value),n}function yl(e,t,n){if(e[0]=="["&&e.slice(-1)=="]"){if(e=fp(hI(e.slice(1,-1),n.theme)),!t)return e;if(!(/color|fill|stroke/i.test(t)&&!(/^color:/.test(e)||/^(#|((hsl|rgb)a?|hwb|lab|lch|color)\(|[a-z]+$)/.test(e))||/image/i.test(t)&&!(/^image:/.test(e)||/^[a-z-]+\(/.test(e))||/weight/i.test(t)&&!(/^(number|any):/.test(e)||/^\d+$/.test(e))||/position/i.test(t)&&/^(length|size):/.test(e)))return e.replace(/^[a-z-]+:/,"")}}function TI(e){return e.replace(/-./g,t=>t[1].toUpperCase())}function fp(e){return e.includes("url(")?e.replace(/(.*?)(url\(.*?\))(.*?)/g,(t,n="",r,i="")=>fp(n)+r+fp(i)):e.replace(/(^|[^\\])_+/g,(t,n)=>n+" ".repeat(t.length-n.length)).replace(/\\_/g,"_").replace(/(calc|min|max|clamp)\(.+\)/g,t=>t.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}var fMe=Symbol();var SI=new Proxy(CY,{apply(e,t,n){return bb(n[0])},get(e,t){let n=bb[t];return typeof n=="function"?function(){return n.apply(bb,arguments)}:n}});var pMe=function e(t){return new Proxy(function(n,...r){return cI(t,"",n,r)},{get(n,r){return r==="bind"?e:r in n?n[r]:function(i,...a){return cI(t,r,i,a)}}})}();function cI(e,t,n,r){return{toString(){let i=Ab(n,r),a=gI(t+pp(JSON.stringify([t,i])));return(typeof e=="function"?e:SI)(CI({[`@keyframes ${a}`]:Ab(n,r)})),a}}}var yp={screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},columns:{auto:"auto","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},spacing:{px:"1px",0:"0px",...zr(4,"rem",4,.5,.5),...zr(12,"rem",4,5),14:"3.5rem",...zr(64,"rem",4,16,4),72:"18rem",80:"20rem",96:"24rem"},durations:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0,0,0.2,1) infinite",pulse:"pulse 2s cubic-bezier(0.4,0,0.6,1) infinite",bounce:"bounce 1s infinite"},aspectRatio:{auto:"auto",square:"1/1",video:"16/9"},backdropBlur:ht("blur"),backdropBrightness:ht("brightness"),backdropContrast:ht("contrast"),backdropGrayscale:ht("grayscale"),backdropHueRotate:ht("hueRotate"),backdropInvert:ht("invert"),backdropOpacity:ht("opacity"),backdropSaturate:ht("saturate"),backdropSepia:ht("sepia"),backgroundColor:ht("colors"),backgroundImage:{none:"none"},backgroundOpacity:ht("opacity"),backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{none:"none",0:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},brightness:{...zr(200,"",100,0,50),...zr(110,"",100,90,5),75:"0.75",125:"1.25"},borderColor:({theme:e})=>({DEFAULT:e("colors.gray.200","currentColor"),...e("colors")}),borderOpacity:ht("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","1/2":"50%",full:"9999px"},borderSpacing:ht("spacing"),borderWidth:{DEFAULT:"1px",...ci(8,"px")},boxShadow:{sm:"0 1px 2px 0 rgba(0,0,0,0.05)",DEFAULT:"0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1)",md:"0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1)",lg:"0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1)",xl:"0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1)","2xl":"0 25px 50px -12px rgba(0,0,0,0.25)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.05)",none:"0 0 #0000"},boxShadowColor:ht("colors"),caretColor:ht("colors"),accentColor:({theme:e})=>({auto:"auto",...e("colors")}),contrast:{...zr(200,"",100,0,50),75:"0.75",125:"1.25"},content:{none:"none"},divideColor:ht("borderColor"),divideOpacity:ht("borderOpacity"),divideWidth:ht("borderWidth"),dropShadow:{sm:"0 1px 1px rgba(0,0,0,0.05)",DEFAULT:["0 1px 2px rgba(0,0,0,0.1)","0 1px 1px rgba(0,0,0,0.06)"],md:["0 4px 3px rgba(0,0,0,0.07)","0 2px 2px rgba(0,0,0,0.06)"],lg:["0 10px 8px rgba(0,0,0,0.04)","0 4px 3px rgba(0,0,0,0.1)"],xl:["0 20px 13px rgba(0,0,0,0.03)","0 8px 5px rgba(0,0,0,0.08)"],"2xl":"0 25px 25px rgba(0,0,0,0.15)",none:"0 0 #0000"},fill:({theme:e})=>({...e("colors"),none:"none"}),grayscale:{DEFAULT:"100%",0:"0"},hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},invert:{DEFAULT:"100%",0:"0"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({...e("spacing"),...j0(2,6),...j0(12,12),auto:"auto",full:"100%"}),flexGrow:{DEFAULT:1,0:0},flexShrink:{DEFAULT:1,0:0},fontFamily:{sans:'ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'.split(","),serif:'ui-serif,Georgia,Cambria,"Times New Roman",Times,serif'.split(","),mono:'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'.split(",")},fontSize:{xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:ht("spacing"),gradientColorStops:ht("colors"),gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"},gridColumn:{auto:"auto","span-full":"1 / -1"},gridRow:{auto:"auto","span-full":"1 / -1"},gridTemplateColumns:{none:"none"},gridTemplateRows:{none:"none"},height:({theme:e})=>({...e("spacing"),...j0(2,6),min:"min-content",max:"max-content",fit:"fit-content",auto:"auto",full:"100%",screen:"100vh"}),inset:({theme:e})=>({...e("spacing"),...j0(2,4),auto:"auto",full:"100%"}),keyframes:{spin:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}},ping:{"0%":{transform:"scale(1)",opacity:"1"},"75%,100%":{transform:"scale(2)",opacity:"0"}},pulse:{"0%,100%":{opacity:"1"},"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{...zr(10,"rem",4,3),none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),maxHeight:({theme:e})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",screen:"100vh",...e("spacing")}),maxWidth:({theme:e,breakpoints:t})=>({...t(e("screens")),none:"none",0:"0rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch"}),minHeight:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",screen:"100vh"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"},opacity:{...zr(100,"",100,0,10),5:"0.05",25:"0.25",75:"0.75",95:"0.95"},order:{first:"-9999",last:"9999",none:"0"},padding:ht("spacing"),placeholderColor:ht("colors"),placeholderOpacity:ht("opacity"),outlineColor:ht("colors"),outlineOffset:ci(8,"px"),outlineWidth:ci(8,"px"),ringColor:({theme:e})=>({...e("colors"),DEFAULT:"#3b82f6"}),ringOffsetColor:ht("colors"),ringOffsetWidth:ci(8,"px"),ringOpacity:({theme:e})=>({...e("opacity"),DEFAULT:"0.5"}),ringWidth:{DEFAULT:"3px",...ci(8,"px")},rotate:{...ci(2,"deg"),...ci(12,"deg",3),...ci(180,"deg",45)},saturate:zr(200,"",100,0,50),scale:{...zr(150,"",100,0,50),...zr(110,"",100,90,5),75:"0.75",125:"1.25"},scrollMargin:ht("spacing"),scrollPadding:ht("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{...ci(2,"deg"),...ci(12,"deg",3)},space:ht("spacing"),stroke:({theme:e})=>({...e("colors"),none:"none"}),strokeWidth:zr(2),textColor:ht("colors"),textDecorationColor:ht("colors"),textDecorationThickness:{"from-font":"from-font",auto:"auto",...ci(8,"px")},textUnderlineOffset:{auto:"auto",...ci(8,"px")},textIndent:ht("spacing"),textOpacity:ht("opacity"),transitionDuration:({theme:e})=>({...e("durations"),DEFAULT:"150ms"}),transitionDelay:ht("durations"),transitionProperty:{none:"none",all:"all",DEFAULT:"color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter",colors:"color,background-color,border-color,text-decoration-color,fill,stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4,0,0.2,1)",linear:"linear",in:"cubic-bezier(0.4,0,1,1)",out:"cubic-bezier(0,0,0.2,1)","in-out":"cubic-bezier(0.4,0,0.2,1)"},translate:({theme:e})=>({...e("spacing"),...j0(2,4),full:"100%"}),width:({theme:e})=>({min:"min-content",max:"max-content",fit:"fit-content",screen:"100vw",...e("flexBasis")}),willChange:{scroll:"scroll-position"},zIndex:{...zr(50,"",1,0,10),auto:"auto"}};function j0(e,t){let n={};do for(var r=1;r<e;r++)n[`${r}/${e}`]=Number((r/e*100).toFixed(6))+"%";while(++e<=t);return n}function ci(e,t,n=0){let r={};for(;n<=e;n=2*n||1)r[n]=n+t;return r}function zr(e,t="",n=1,r=0,i=1,a={}){for(;r<=e;r+=i)a[r]=r/n+t;return a}function ht(e){return({theme:t})=>t(e)}var PY={"*,::before,::after":{boxSizing:"border-box",borderWidth:"0",borderStyle:"solid",borderColor:"theme(borderColor.DEFAULT, currentColor)"},"::before,::after":{"--tw-content":"''"},html:{lineHeight:1.5,WebkitTextSizeAdjust:"100%",MozTabSize:"4",tabSize:4,fontFamily:`theme(fontFamily.sans, ${yp.fontFamily.sans})`,fontFeatureSettings:"theme(fontFamily.sans[1].fontFeatureSettings, normal)"},body:{margin:"0",lineHeight:"inherit"},hr:{height:"0",color:"inherit",borderTopWidth:"1px"},"abbr:where([title])":{textDecoration:"underline dotted"},"h1,h2,h3,h4,h5,h6":{fontSize:"inherit",fontWeight:"inherit"},a:{color:"inherit",textDecoration:"inherit"},"b,strong":{fontWeight:"bolder"},"code,kbd,samp,pre":{fontFamily:`theme(fontFamily.mono, ${yp.fontFamily.mono})`,fontFeatureSettings:"theme(fontFamily.mono[1].fontFeatureSettings, normal)",fontSize:"1em"},small:{fontSize:"80%"},"sub,sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},table:{textIndent:"0",borderColor:"inherit",borderCollapse:"collapse"},"button,input,optgroup,select,textarea":{fontFamily:"inherit",fontSize:"100%",lineHeight:"inherit",color:"inherit",margin:"0",padding:"0"},"button,select":{textTransform:"none"},"button,[type='button'],[type='reset'],[type='submit']":{WebkitAppearance:"button",backgroundColor:"transparent",backgroundImage:"none"},":-moz-focusring":{outline:"auto"},":-moz-ui-invalid":{boxShadow:"none"},progress:{verticalAlign:"baseline"},"::-webkit-inner-spin-button,::-webkit-outer-spin-button":{height:"auto"},"[type='search']":{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},summary:{display:"list-item"},"blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre":{margin:"0"},fieldset:{margin:"0",padding:"0"},legend:{padding:"0"},"ol,ul,menu":{listStyle:"none",margin:"0",padding:"0"},textarea:{resize:"vertical"},"input::placeholder,textarea::placeholder":{opacity:1,color:"theme(colors.gray.400, #9ca3af)"},'button,[role="button"]':{cursor:"pointer"},":disabled":{cursor:"default"},"img,svg,video,canvas,audio,iframe,embed,object":{display:"block",verticalAlign:"middle"},"img,video":{maxWidth:"100%",height:"auto"},"[hidden]":{display:"none"}};var RY=[Se("\\[([-\\w]+):(.+)]",({1:e,2:t},n)=>({"@layer overrides":{"&":{[e]:yl(`[${t}]`,"",n)}}})),Se("(group|peer)([~/][^-[]+)?",({input:e},{h:t})=>[{c:t(e)}]),we("aspect-","aspectRatio"),Se("container",(e,{theme:t})=>{let{screens:n=t("screens"),center:r,padding:i}=t("container"),a={width:"100%",marginRight:r&&"auto",marginLeft:r&&"auto",...o("xs")};for(let s in n){let u=n[s];typeof u=="string"&&(a[hp(u)]={"&":{maxWidth:u,...o(s)}})}return a;function o(s){let u=i&&(typeof i=="string"?i:i[s]||i.DEFAULT);if(u)return{paddingRight:u,paddingLeft:u}}}),we("content-","content",({_:e})=>({"--tw-content":e,content:"var(--tw-content)"})),Se("(?:box-)?decoration-(slice|clone)","boxDecorationBreak"),Se("box-(border|content)","boxSizing",({1:e})=>e+"-box"),Se("hidden",{display:"none"}),Se("table-(auto|fixed)","tableLayout"),Se(["(block|flex|table|grid|inline|contents|flow-root|list-item)","(inline-(block|flex|table|grid))","(table-(caption|cell|column|row|(column|row|footer|header)-group))"],"display"),"(float)-(left|right|none)","(clear)-(left|right|none|both)","(overflow(?:-[xy])?)-(auto|hidden|clip|visible|scroll)","(isolation)-(auto)",Se("isolate","isolation"),Se("object-(contain|cover|fill|none|scale-down)","objectFit"),we("object-","objectPosition"),Se("object-(top|bottom|center|(left|right)(-(top|bottom))?)","objectPosition",bp),Se("overscroll(-[xy])?-(auto|contain|none)",({1:e="",2:t})=>({["overscroll-behavior"+e]:t})),Se("(static|fixed|absolute|relative|sticky)","position"),we("-?inset(-[xy])?(?:$|-)","inset",({1:e,_:t})=>({top:e!="-x"&&t,right:e!="-y"&&t,bottom:e!="-x"&&t,left:e!="-y"&&t})),we("-?(top|bottom|left|right)(?:$|-)","inset"),Se("(visible|collapse)","visibility"),Se("invisible",{visibility:"hidden"}),we("-?z-","zIndex"),Se("flex-((row|col)(-reverse)?)","flexDirection",EI),Se("flex-(wrap|wrap-reverse|nowrap)","flexWrap"),we("(flex-(?:grow|shrink))(?:$|-)"),we("(flex)-"),we("grow(?:$|-)","flexGrow"),we("shrink(?:$|-)","flexShrink"),we("basis-","flexBasis"),we("-?(order)-"),"-?(order)-(\\d+)",we("grid-cols-","gridTemplateColumns"),Se("grid-cols-(\\d+)","gridTemplateColumns",MI),we("col-","gridColumn"),Se("col-(span)-(\\d+)","gridColumn",kI),we("col-start-","gridColumnStart"),Se("col-start-(auto|\\d+)","gridColumnStart"),we("col-end-","gridColumnEnd"),Se("col-end-(auto|\\d+)","gridColumnEnd"),we("grid-rows-","gridTemplateRows"),Se("grid-rows-(\\d+)","gridTemplateRows",MI),we("row-","gridRow"),Se("row-(span)-(\\d+)","gridRow",kI),we("row-start-","gridRowStart"),Se("row-start-(auto|\\d+)","gridRowStart"),we("row-end-","gridRowEnd"),Se("row-end-(auto|\\d+)","gridRowEnd"),Se("grid-flow-((row|col)(-dense)?)","gridAutoFlow",e=>bp(EI(e))),Se("grid-flow-(dense)","gridAutoFlow"),we("auto-cols-","gridAutoColumns"),we("auto-rows-","gridAutoRows"),we("gap-x(?:$|-)","gap","columnGap"),we("gap-y(?:$|-)","gap","rowGap"),we("gap(?:$|-)","gap"),"(justify-(?:items|self))-",Se("justify-","justifyContent",wI),Se("(content|items|self)-",e=>({["align-"+e[1]]:wI(e)})),Se("(place-(content|items|self))-",({1:e,$$:t})=>({[e]:("wun".includes(t[3])?"space-":"")+t})),we("p([xytrbl])?(?:$|-)","padding",bl("padding")),we("-?m([xytrbl])?(?:$|-)","margin",bl("margin")),we("-?space-(x|y)(?:$|-)","space",({1:e,_:t})=>({"&>:not([hidden])~:not([hidden])":{[`--tw-space-${e}-reverse`]:"0",["margin-"+{y:"top",x:"left"}[e]]:`calc(${t} * calc(1 - var(--tw-space-${e}-reverse)))`,["margin-"+{y:"bottom",x:"right"}[e]]:`calc(${t} * var(--tw-space-${e}-reverse))`}})),Se("space-(x|y)-reverse",({1:e})=>({"&>:not([hidden])~:not([hidden])":{[`--tw-space-${e}-reverse`]:"1"}})),we("w-","width"),we("min-w-","minWidth"),we("max-w-","maxWidth"),we("h-","height"),we("min-h-","minHeight"),we("max-h-","maxHeight"),we("font-","fontWeight"),we("font-","fontFamily",({_:e})=>typeof(e=jr(e))[1]=="string"?{fontFamily:ki(e)}:{fontFamily:ki(e[0]),...e[1]}),Se("antialiased",{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"}),Se("subpixel-antialiased",{WebkitFontSmoothing:"auto",MozOsxFontSmoothing:"auto"}),Se("italic","fontStyle"),Se("not-italic",{fontStyle:"normal"}),Se("(ordinal|slashed-zero|(normal|lining|oldstyle|proportional|tabular)-nums|(diagonal|stacked)-fractions)",({1:e,2:t="",3:n})=>t=="normal"?{fontVariantNumeric:"normal"}:{["--tw-"+(n?"numeric-fraction":"pt".includes(t[0])?"numeric-spacing":t?"numeric-figure":e)]:e,fontVariantNumeric:"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)",...wo({"--tw-ordinal":"var(--tw-empty,/*!*/ /*!*/)","--tw-slashed-zero":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-figure":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-spacing":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-fraction":"var(--tw-empty,/*!*/ /*!*/)"})}),we("tracking-","letterSpacing"),we("leading-","lineHeight"),Se("list-(inside|outside)","listStylePosition"),we("list-","listStyleType"),Se("list-","listStyleType"),we("placeholder-opacity-","placeholderOpacity",({_:e})=>({"&::placeholder":{"--tw-placeholder-opacity":e}})),fn("placeholder-",{property:"color",selector:"&::placeholder"}),Se("text-(left|center|right|justify|start|end)","textAlign"),Se("text-(ellipsis|clip)","textOverflow"),we("text-opacity-","textOpacity","--tw-text-opacity"),fn("text-",{property:"color"}),we("text-","fontSize",({_:e})=>typeof e=="string"?{fontSize:e}:{fontSize:e[0],...typeof e[1]=="string"?{lineHeight:e[1]}:e[1]}),we("indent-","textIndent"),Se("(overline|underline|line-through)","textDecorationLine"),Se("no-underline",{textDecorationLine:"none"}),we("underline-offset-","textUnderlineOffset"),fn("decoration-",{section:"textDecorationColor",opacityVariable:!1,opacitySection:"opacity"}),we("decoration-","textDecorationThickness"),Se("decoration-","textDecorationStyle"),Se("(uppercase|lowercase|capitalize)","textTransform"),Se("normal-case",{textTransform:"none"}),Se("truncate",{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),Se("align-","verticalAlign"),Se("whitespace-","whiteSpace"),Se("break-normal",{wordBreak:"normal",overflowWrap:"normal"}),Se("break-words",{overflowWrap:"break-word"}),Se("break-all",{wordBreak:"break-all"}),Se("break-keep",{wordBreak:"keep-all"}),fn("caret-",{opacityVariable:!1,opacitySection:"opacity"}),fn("accent-",{opacityVariable:!1,opacitySection:"opacity"}),Se("bg-gradient-to-([trbl]|[tb][rl])","backgroundImage",({1:e})=>`linear-gradient(to ${Ts(e," ")},var(--tw-gradient-stops))`),fn("from-",{section:"gradientColorStops",opacityVariable:!1,opacitySection:"opacity"},({_:e})=>({"--tw-gradient-from":e.value,"--tw-gradient-to":e.color({opacityValue:"0"}),"--tw-gradient-stops":"var(--tw-gradient-from),var(--tw-gradient-to)"})),fn("via-",{section:"gradientColorStops",opacityVariable:!1,opacitySection:"opacity"},({_:e})=>({"--tw-gradient-to":e.color({opacityValue:"0"}),"--tw-gradient-stops":`var(--tw-gradient-from),${e.value},var(--tw-gradient-to)`})),fn("to-",{section:"gradientColorStops",property:"--tw-gradient-to",opacityVariable:!1,opacitySection:"opacity"}),Se("bg-(fixed|local|scroll)","backgroundAttachment"),Se("bg-origin-(border|padding|content)","backgroundOrigin",({1:e})=>e+"-box"),Se(["bg-(no-repeat|repeat(-[xy])?)","bg-repeat-(round|space)"],"backgroundRepeat"),Se("bg-blend-","backgroundBlendMode"),Se("bg-clip-(border|padding|content|text)","backgroundClip",({1:e})=>e+(e=="text"?"":"-box")),we("bg-opacity-","backgroundOpacity","--tw-bg-opacity"),fn("bg-",{section:"backgroundColor"}),we("bg-","backgroundImage"),we("bg-","backgroundPosition"),Se("bg-(top|bottom|center|(left|right)(-(top|bottom))?)","backgroundPosition",bp),we("bg-","backgroundSize"),we("rounded(?:$|-)","borderRadius"),we("rounded-([trbl]|[tb][rl])(?:$|-)","borderRadius",({1:e,_:t})=>{let n={t:["tl","tr"],r:["tr","br"],b:["bl","br"],l:["bl","tl"]}[e]||[e,e];return{[`border-${Ts(n[0])}-radius`]:t,[`border-${Ts(n[1])}-radius`]:t}}),Se("border-(collapse|separate)","borderCollapse"),we("border-opacity(?:$|-)","borderOpacity","--tw-border-opacity"),Se("border-(solid|dashed|dotted|double|none)","borderStyle"),we("border-spacing(-[xy])?(?:$|-)","borderSpacing",({1:e,_:t})=>({...wo({"--tw-border-spacing-x":"0","--tw-border-spacing-y":"0"}),["--tw-border-spacing"+(e||"-x")]:t,["--tw-border-spacing"+(e||"-y")]:t,"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"})),fn("border-([xytrbl])-",{section:"borderColor"},bl("border","Color")),fn("border-"),we("border-([xytrbl])(?:$|-)","borderWidth",bl("border","Width")),we("border(?:$|-)","borderWidth"),we("divide-opacity(?:$|-)","divideOpacity",({_:e})=>({"&>:not([hidden])~:not([hidden])":{"--tw-divide-opacity":e}})),Se("divide-(solid|dashed|dotted|double|none)",({1:e})=>({"&>:not([hidden])~:not([hidden])":{borderStyle:e}})),Se("divide-([xy]-reverse)",({1:e})=>({"&>:not([hidden])~:not([hidden])":{["--tw-divide-"+e]:"1"}})),we("divide-([xy])(?:$|-)","divideWidth",({1:e,_:t})=>{let n={x:"lr",y:"tb"}[e];return{"&>:not([hidden])~:not([hidden])":{[`--tw-divide-${e}-reverse`]:"0",[`border-${Ts(n[0])}Width`]:`calc(${t} * calc(1 - var(--tw-divide-${e}-reverse)))`,[`border-${Ts(n[1])}Width`]:`calc(${t} * var(--tw-divide-${e}-reverse))`}}}),fn("divide-",{property:"borderColor",selector:"&>:not([hidden])~:not([hidden])"}),we("ring-opacity(?:$|-)","ringOpacity","--tw-ring-opacity"),fn("ring-offset-",{property:"--tw-ring-offset-color",opacityVariable:!1}),we("ring-offset(?:$|-)","ringOffsetWidth","--tw-ring-offset-width"),Se("ring-inset",{"--tw-ring-inset":"inset"}),fn("ring-",{property:"--tw-ring-color"}),we("ring(?:$|-)","ringWidth",({_:e},{theme:t})=>({...wo({"--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000","&":{"--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":t("ringOffsetWidth","","0px"),"--tw-ring-offset-color":Eo(t("ringOffsetColor","","#fff")),"--tw-ring-color":Eo(t("ringColor","","#93c5fd"),{opacityVariable:"--tw-ring-opacity"}),"--tw-ring-opacity":t("ringOpacity","","0.5")}}),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":`var(--tw-ring-inset) 0 0 0 calc(${e} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,boxShadow:"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)"})),fn("shadow-",{section:"boxShadowColor",opacityVariable:!1,opacitySection:"opacity"},({_:e})=>({"--tw-shadow-color":e.value,"--tw-shadow":"var(--tw-shadow-colored)"})),we("shadow(?:$|-)","boxShadow",({_:e})=>({...wo({"--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000"}),"--tw-shadow":ki(e),"--tw-shadow-colored":ki(e).replace(/([^,]\s+)(?:#[a-f\d]+|(?:(?:hsl|rgb)a?|hwb|lab|lch|color|var)\(.+?\)|[a-z]+)(,|$)/g,"$1var(--tw-shadow-color)$2"),boxShadow:"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)"})),we("(opacity)-"),Se("mix-blend-","mixBlendMode"),...AI(),...AI("backdrop-"),we("transition(?:$|-)","transitionProperty",(e,{theme:t})=>({transitionProperty:ki(e),transitionTimingFunction:e._=="none"?void 0:ki(t("transitionTimingFunction","")),transitionDuration:e._=="none"?void 0:ki(t("transitionDuration",""))})),we("duration(?:$|-)","transitionDuration","transitionDuration",ki),we("ease(?:$|-)","transitionTimingFunction","transitionTimingFunction",ki),we("delay(?:$|-)","transitionDelay","transitionDelay",ki),we("animate(?:$|-)","animation",(e,{theme:t,h:n,e:r})=>{let i=ki(e),a=i.split(" "),o=t("keyframes",a[0]);return o?{["@keyframes "+(a[0]=r(n(a[0])))]:o,animation:a.join(" ")}:{animation:i}}),"(transform)-(none)",Se("transform",Nb),Se("transform-(cpu|gpu)",({1:e})=>({"--tw-transform":II(e=="gpu")})),we("scale(-[xy])?-","scale",({1:e,_:t})=>({["--tw-scale"+(e||"-x")]:t,["--tw-scale"+(e||"-y")]:t,...Nb()})),we("-?(rotate)-","rotate",Rb),we("-?(translate-[xy])-","translate",Rb),we("-?(skew-[xy])-","skew",Rb),Se("origin-(center|((top|bottom)(-(left|right))?)|left|right)","transformOrigin",bp),"(appearance)-",we("(columns)-"),"(columns)-(\\d+)","(break-(?:before|after|inside))-",we("(cursor)-"),"(cursor)-",Se("snap-(none)","scroll-snap-type"),Se("snap-(x|y|both)",({1:e})=>({...wo({"--tw-scroll-snap-strictness":"proximity"}),"scroll-snap-type":e+" var(--tw-scroll-snap-strictness)"})),Se("snap-(mandatory|proximity)","--tw-scroll-snap-strictness"),Se("snap-(?:(start|end|center)|align-(none))","scroll-snap-align"),Se("snap-(normal|always)","scroll-snap-stop"),Se("scroll-(auto|smooth)","scroll-behavior"),we("scroll-p([xytrbl])?(?:$|-)","padding",bl("scroll-padding")),we("-?scroll-m([xytrbl])?(?:$|-)","scroll-margin",bl("scroll-margin")),Se("touch-(auto|none|manipulation)","touch-action"),Se("touch-(pinch-zoom|pan-(?:(x|left|right)|(y|up|down)))",({1:e,2:t,3:n})=>({...wo({"--tw-pan-x":"var(--tw-empty,/*!*/ /*!*/)","--tw-pan-y":"var(--tw-empty,/*!*/ /*!*/)","--tw-pinch-zoom":"var(--tw-empty,/*!*/ /*!*/)","--tw-touch-action":"var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)"}),[`--tw-${t?"pan-x":n?"pan-y":e}`]:e,"touch-action":"var(--tw-touch-action)"})),Se("outline-none",{outline:"2px solid transparent","outline-offset":"2px"}),Se("outline",{outlineStyle:"solid"}),Se("outline-(dashed|dotted|double)","outlineStyle"),we("-?(outline-offset)-"),fn("outline-",{opacityVariable:!1,opacitySection:"opacity"}),we("outline-","outlineWidth"),"(pointer-events)-",we("(will-change)-"),"(will-change)-",["resize(?:-(none|x|y))?","resize",({1:e})=>({x:"horizontal",y:"vertical"})[e]||e||"both"],Se("select-(none|text|all|auto)","userSelect"),fn("fill-",{section:"fill",opacityVariable:!1,opacitySection:"opacity"}),fn("stroke-",{section:"stroke",opacityVariable:!1,opacitySection:"opacity"}),we("stroke-","strokeWidth"),Se("sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0,0,0,0)",borderWidth:"0"}),Se("not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal",clip:"auto"})];function bp(e){return(typeof e=="string"?e:e[1]).replace(/-/g," ").trim()}function EI(e){return(typeof e=="string"?e:e[1]).replace("col","column")}function Ts(e,t="-"){let n=[];for(let r of e)n.push({t:"top",r:"right",b:"bottom",l:"left"}[r]);return n.join(t)}function ki(e){return e&&""+(e._||e)}function wI({$$:e}){return({r:"flex-","":"flex-",w:"space-",u:"space-",n:"space-"}[e[3]||""]||"")+e}function bl(e,t=""){return({1:n,_:r})=>{let i={x:"lr",y:"tb"}[n]||n+n;return i?{...U0(e+"-"+Ts(i[0])+t,r),...U0(e+"-"+Ts(i[1])+t,r)}:U0(e+t,r)}}function AI(e=""){let t=["blur","brightness","contrast","grayscale","hue-rotate","invert",e&&"opacity","saturate","sepia",!e&&"drop-shadow"].filter(Boolean),n={};for(let r of t)n[`--tw-${e}${r}`]="var(--tw-empty,/*!*/ /*!*/)";return n={...wo(n),[`${e}filter`]:t.map(r=>`var(--tw-${e}${r})`).join(" ")},[`(${e}filter)-(none)`,Se(`${e}filter`,n),...t.map(r=>we(`${r[0]=="h"?"-?":""}(${e}${r})(?:$|-)`,r,({1:i,_:a})=>({[`--tw-${i}`]:jr(a).map(o=>`${r}(${o})`).join(" "),...n})))]}function Rb({1:e,_:t}){return{["--tw-"+e]:t,...Nb()}}function Nb(){return{...wo({"--tw-translate-x":"0","--tw-translate-y":"0","--tw-rotate":"0","--tw-skew-x":"0","--tw-skew-y":"0","--tw-scale-x":"1","--tw-scale-y":"1","--tw-transform":II()}),transform:"var(--tw-transform)"}}function II(e){return[e?"translate3d(var(--tw-translate-x),var(--tw-translate-y),0)":"translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y))","rotate(var(--tw-rotate))","skewX(var(--tw-skew-x))","skewY(var(--tw-skew-y))","scaleX(var(--tw-scale-x))","scaleY(var(--tw-scale-y))"].join(" ")}function kI({1:e,2:t}){return`${e} ${t} / ${e} ${t}`}function MI({1:e}){return`repeat(${e},minmax(0,1fr))`}function wo(e){return{"@layer defaults":{"*,::before,::after":e,"::backdrop":e}}}var vp=globalThis||(typeof window<"u"?window:self),FY=Object.create,Bb=Object.defineProperty,BY=Object.getOwnPropertyDescriptor,OY=Object.getOwnPropertyNames,_Y=Object.getPrototypeOf,UY=Object.prototype.hasOwnProperty,jY=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),zY=(e,t)=>{for(var n in t)Bb(e,n,{get:t[n],enumerable:!0})},Fb=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of OY(t))!UY.call(e,i)&&i!==n&&Bb(e,i,{get:()=>t[i],enumerable:!(r=BY(t,i))||r.enumerable});return e},HY=(e,t,n)=>(Fb(e,t,"default"),n&&Fb(n,t,"default")),DI=(e,t,n)=>(n=e!=null?FY(_Y(e)):{},Fb(t||!e||!e.__esModule?Bb(n,"default",{value:e,enumerable:!0}):n,e)),PI=jY((e,t)=>{(function(n,r){typeof define=="function"&&define.amd?define([],r):typeof e<"u"?r():(r(),n.FileSaver={})})(e,function(){"use strict";function n(l,c){return typeof c>"u"?c={autoBom:!1}:typeof c!="object"&&(c={autoBom:!c}),c.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(l.type)?new Blob(["\uFEFF",l],{type:l.type}):l}function r(l,c,d){var g=new XMLHttpRequest;g.open("GET",l),g.responseType="blob",g.onload=function(){u(g.response,c,d)},g.onerror=function(){},g.send()}function i(l){var c=new XMLHttpRequest;c.open("HEAD",l,!1);try{c.send()}catch{}return 200<=c.status&&299>=c.status}function a(l){try{l.dispatchEvent(new MouseEvent("click"))}catch{var c=document.createEvent("MouseEvents");c.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),l.dispatchEvent(c)}}var o=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof vp=="object"&&vp.global===vp?vp:void 0,s=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),u=o.saveAs||(typeof window!="object"||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(l,c,d){var g=o.URL||o.webkitURL,f=document.createElement("a");c=c||l.name||"download",f.download=c,f.rel="noopener",typeof l=="string"?(f.href=l,f.origin===location.origin?a(f):i(f.href)?r(l,c,d):a(f,f.target="_blank")):(f.href=g.createObjectURL(l),setTimeout(function(){g.revokeObjectURL(f.href)},4e4),setTimeout(function(){a(f)},0))}:"msSaveOrOpenBlob"in navigator?function(l,c,d){if(c=c||l.name||"download",typeof l!="string")navigator.msSaveOrOpenBlob(n(l,d),c);else if(i(l))r(l,c,d);else{var g=document.createElement("a");g.href=l,g.target="_blank",setTimeout(function(){a(g)})}}:function(l,c,d,g){if(g=g||open("","_blank"),g&&(g.document.title=g.document.body.innerText="downloading..."),typeof l=="string")return r(l,c,d);var f=l.type==="application/octet-stream",p=/constructor/i.test(o.HTMLElement)||o.safari,h=/CriOS\/[\d]+/.test(navigator.userAgent);if((h||f&&p||s)&&typeof FileReader<"u"){var C=new FileReader;C.onloadend=function(){var b=C.result;b=h?b:b.replace(/^data:[^;]*;/,"data:attachment/file;"),g?g.location.href=b:location=b,g=null},C.readAsDataURL(l)}else{var y=o.URL||o.webkitURL,v=y.createObjectURL(l);g?g.location=v:location.href=v,g=null,setTimeout(function(){y.revokeObjectURL(v)},4e4)}});o.saveAs=u.saveAs=u,typeof t<"u"&&(t.exports=u)})}),RI={};zY(RI,{default:()=>Ob});var VY=DI(PI());HY(RI,DI(PI()));var{default:LI,...GY}=VY,Ob=LI!==void 0?LI:GY;function YI(e){return typeof e>"u"||e===null}function WY(e){return typeof e=="object"&&e!==null}function qY(e){return Array.isArray(e)?e:YI(e)?[]:[e]}function KY(e,t){var n,r,i,a;if(t)for(a=Object.keys(t),n=0,r=a.length;n<r;n+=1)i=a[n],e[i]=t[i];return e}function QY(e,t){var n="",r;for(r=0;r<t;r+=1)n+=e;return n}function YY(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var ZY=YI,JY=WY,XY=qY,$Y=QY,eZ=YY,tZ=KY,pn={isNothing:ZY,isObject:JY,toArray:XY,repeat:$Y,isNegativeZero:eZ,extend:tZ};function ZI(e,t){var n="",r=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(n+='in "'+e.mark.name+'" '),n+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(n+=`

`+e.mark.snippet),r+" "+n):r}function H0(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=ZI(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}H0.prototype=Object.create(Error.prototype);H0.prototype.constructor=H0;H0.prototype.toString=function(e){return this.name+": "+ZI(this,e)};var Tr=H0;function _b(e,t,n,r,i){var a="",o="",s=Math.floor(i/2)-1;return r-t>s&&(a=" ... ",t=r-s+a.length),n-r>s&&(o=" ...",n=r+s-o.length),{str:a+e.slice(t,n).replace(/\t/g,"\u2192")+o,pos:r-t+a.length}}function Ub(e,t){return pn.repeat(" ",t-e.length)+e}function nZ(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var n=/\r?\n|\r|\0/g,r=[0],i=[],a,o=-1;a=n.exec(e.buffer);)i.push(a.index),r.push(a.index+a[0].length),e.position<=a.index&&o<0&&(o=r.length-2);o<0&&(o=r.length-1);var s="",u,l,c=Math.min(e.line+t.linesAfter,i.length).toString().length,d=t.maxLength-(t.indent+c+3);for(u=1;u<=t.linesBefore&&!(o-u<0);u++)l=_b(e.buffer,r[o-u],i[o-u],e.position-(r[o]-r[o-u]),d),s=pn.repeat(" ",t.indent)+Ub((e.line-u+1).toString(),c)+" | "+l.str+`
`+s;for(l=_b(e.buffer,r[o],i[o],e.position,d),s+=pn.repeat(" ",t.indent)+Ub((e.line+1).toString(),c)+" | "+l.str+`
`,s+=pn.repeat("-",t.indent+c+3+l.pos)+`^
`,u=1;u<=t.linesAfter&&!(o+u>=i.length);u++)l=_b(e.buffer,r[o+u],i[o+u],e.position-(r[o]-r[o+u]),d),s+=pn.repeat(" ",t.indent)+Ub((e.line+u+1).toString(),c)+" | "+l.str+`
`;return s.replace(/\n$/,"")}var rZ=nZ,iZ=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],aZ=["scalar","sequence","mapping"];function oZ(e){var t={};return e!==null&&Object.keys(e).forEach(function(n){e[n].forEach(function(r){t[String(r)]=n})}),t}function sZ(e,t){if(t=t||{},Object.keys(t).forEach(function(n){if(iZ.indexOf(n)===-1)throw new Tr('Unknown option "'+n+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(n){return n},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=oZ(t.styleAliases||null),aZ.indexOf(this.kind)===-1)throw new Tr('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var ar=sZ;function NI(e,t){var n=[];return e[t].forEach(function(r){var i=n.length;n.forEach(function(a,o){a.tag===r.tag&&a.kind===r.kind&&a.multi===r.multi&&(i=o)}),n[i]=r}),n}function uZ(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,n;function r(i){i.multi?(e.multi[i.kind].push(i),e.multi.fallback.push(i)):e[i.kind][i.tag]=e.fallback[i.tag]=i}for(t=0,n=arguments.length;t<n;t+=1)arguments[t].forEach(r);return e}function zb(e){return this.extend(e)}zb.prototype.extend=function(e){var t=[],n=[];if(e instanceof ar)n.push(e);else if(Array.isArray(e))n=n.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit));else throw new Tr("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.forEach(function(i){if(!(i instanceof ar))throw new Tr("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(i.loadKind&&i.loadKind!=="scalar")throw new Tr("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(i.multi)throw new Tr("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),n.forEach(function(i){if(!(i instanceof ar))throw new Tr("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var r=Object.create(zb.prototype);return r.implicit=(this.implicit||[]).concat(t),r.explicit=(this.explicit||[]).concat(n),r.compiledImplicit=NI(r,"implicit"),r.compiledExplicit=NI(r,"explicit"),r.compiledTypeMap=uZ(r.compiledImplicit,r.compiledExplicit),r};var lZ=zb,cZ=new ar("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),dZ=new ar("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),gZ=new ar("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),mZ=new lZ({explicit:[cZ,dZ,gZ]});function fZ(e){if(e===null)return!0;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function pZ(){return null}function hZ(e){return e===null}var yZ=new ar("tag:yaml.org,2002:null",{kind:"scalar",resolve:fZ,construct:pZ,predicate:hZ,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function bZ(e){if(e===null)return!1;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function vZ(e){return e==="true"||e==="True"||e==="TRUE"}function xZ(e){return Object.prototype.toString.call(e)==="[object Boolean]"}var CZ=new ar("tag:yaml.org,2002:bool",{kind:"scalar",resolve:bZ,construct:vZ,predicate:xZ,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});function TZ(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function SZ(e){return 48<=e&&e<=55}function EZ(e){return 48<=e&&e<=57}function wZ(e){if(e===null)return!1;var t=e.length,n=0,r=!1,i;if(!t)return!1;if(i=e[n],(i==="-"||i==="+")&&(i=e[++n]),i==="0"){if(n+1===t)return!0;if(i=e[++n],i==="b"){for(n++;n<t;n++)if(i=e[n],i!=="_"){if(i!=="0"&&i!=="1")return!1;r=!0}return r&&i!=="_"}if(i==="x"){for(n++;n<t;n++)if(i=e[n],i!=="_"){if(!TZ(e.charCodeAt(n)))return!1;r=!0}return r&&i!=="_"}if(i==="o"){for(n++;n<t;n++)if(i=e[n],i!=="_"){if(!SZ(e.charCodeAt(n)))return!1;r=!0}return r&&i!=="_"}}if(i==="_")return!1;for(;n<t;n++)if(i=e[n],i!=="_"){if(!EZ(e.charCodeAt(n)))return!1;r=!0}return!(!r||i==="_")}function AZ(e){var t=e,n=1,r;if(t.indexOf("_")!==-1&&(t=t.replace(/_/g,"")),r=t[0],(r==="-"||r==="+")&&(r==="-"&&(n=-1),t=t.slice(1),r=t[0]),t==="0")return 0;if(r==="0"){if(t[1]==="b")return n*parseInt(t.slice(2),2);if(t[1]==="x")return n*parseInt(t.slice(2),16);if(t[1]==="o")return n*parseInt(t.slice(2),8)}return n*parseInt(t,10)}function kZ(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!pn.isNegativeZero(e)}var MZ=new ar("tag:yaml.org,2002:int",{kind:"scalar",resolve:wZ,construct:AZ,predicate:kZ,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),IZ=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function LZ(e){return!(e===null||!IZ.test(e)||e[e.length-1]==="_")}function DZ(e){var t,n;return t=e.replace(/_/g,"").toLowerCase(),n=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:n*parseFloat(t,10)}var PZ=/^[-+]?[0-9]+e/;function RZ(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(pn.isNegativeZero(e))return"-0.0";return n=e.toString(10),PZ.test(n)?n.replace("e",".e"):n}function NZ(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||pn.isNegativeZero(e))}var FZ=new ar("tag:yaml.org,2002:float",{kind:"scalar",resolve:LZ,construct:DZ,predicate:NZ,represent:RZ,defaultStyle:"lowercase"}),BZ=mZ.extend({implicit:[yZ,CZ,MZ,FZ]}),OZ=BZ,JI=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),XI=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function _Z(e){return e===null?!1:JI.exec(e)!==null||XI.exec(e)!==null}function UZ(e){var t,n,r,i,a,o,s,u=0,l=null,c,d,g;if(t=JI.exec(e),t===null&&(t=XI.exec(e)),t===null)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(n,r,i));if(a=+t[4],o=+t[5],s=+t[6],t[7]){for(u=t[7].slice(0,3);u.length<3;)u+="0";u=+u}return t[9]&&(c=+t[10],d=+(t[11]||0),l=(c*60+d)*6e4,t[9]==="-"&&(l=-l)),g=new Date(Date.UTC(n,r,i,a,o,s,u)),l&&g.setTime(g.getTime()-l),g}function jZ(e){return e.toISOString()}var zZ=new ar("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:_Z,construct:UZ,instanceOf:Date,represent:jZ});function HZ(e){return e==="<<"||e===null}var VZ=new ar("tag:yaml.org,2002:merge",{kind:"scalar",resolve:HZ}),qb=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;function GZ(e){if(e===null)return!1;var t,n,r=0,i=e.length,a=qb;for(n=0;n<i;n++)if(t=a.indexOf(e.charAt(n)),!(t>64)){if(t<0)return!1;r+=6}return r%8===0}function WZ(e){var t,n,r=e.replace(/[\r\n=]/g,""),i=r.length,a=qb,o=0,s=[];for(t=0;t<i;t++)t%4===0&&t&&(s.push(o>>16&255),s.push(o>>8&255),s.push(o&255)),o=o<<6|a.indexOf(r.charAt(t));return n=i%4*6,n===0?(s.push(o>>16&255),s.push(o>>8&255),s.push(o&255)):n===18?(s.push(o>>10&255),s.push(o>>2&255)):n===12&&s.push(o>>4&255),new Uint8Array(s)}function qZ(e){var t="",n=0,r,i,a=e.length,o=qb;for(r=0;r<a;r++)r%3===0&&r&&(t+=o[n>>18&63],t+=o[n>>12&63],t+=o[n>>6&63],t+=o[n&63]),n=(n<<8)+e[r];return i=a%3,i===0?(t+=o[n>>18&63],t+=o[n>>12&63],t+=o[n>>6&63],t+=o[n&63]):i===2?(t+=o[n>>10&63],t+=o[n>>4&63],t+=o[n<<2&63],t+=o[64]):i===1&&(t+=o[n>>2&63],t+=o[n<<4&63],t+=o[64],t+=o[64]),t}function KZ(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var QZ=new ar("tag:yaml.org,2002:binary",{kind:"scalar",resolve:GZ,construct:WZ,predicate:KZ,represent:qZ}),YZ=Object.prototype.hasOwnProperty,ZZ=Object.prototype.toString;function JZ(e){if(e===null)return!0;var t=[],n,r,i,a,o,s=e;for(n=0,r=s.length;n<r;n+=1){if(i=s[n],o=!1,ZZ.call(i)!=="[object Object]")return!1;for(a in i)if(YZ.call(i,a))if(!o)o=!0;else return!1;if(!o)return!1;if(t.indexOf(a)===-1)t.push(a);else return!1}return!0}function XZ(e){return e!==null?e:[]}var $Z=new ar("tag:yaml.org,2002:omap",{kind:"sequence",resolve:JZ,construct:XZ}),eJ=Object.prototype.toString;function tJ(e){if(e===null)return!0;var t,n,r,i,a,o=e;for(a=new Array(o.length),t=0,n=o.length;t<n;t+=1){if(r=o[t],eJ.call(r)!=="[object Object]"||(i=Object.keys(r),i.length!==1))return!1;a[t]=[i[0],r[i[0]]]}return!0}function nJ(e){if(e===null)return[];var t,n,r,i,a,o=e;for(a=new Array(o.length),t=0,n=o.length;t<n;t+=1)r=o[t],i=Object.keys(r),a[t]=[i[0],r[i[0]]];return a}var rJ=new ar("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:tJ,construct:nJ}),iJ=Object.prototype.hasOwnProperty;function aJ(e){if(e===null)return!0;var t,n=e;for(t in n)if(iJ.call(n,t)&&n[t]!==null)return!1;return!0}function oJ(e){return e!==null?e:{}}var sJ=new ar("tag:yaml.org,2002:set",{kind:"mapping",resolve:aJ,construct:oJ}),$I=OZ.extend({implicit:[zZ,VZ],explicit:[QZ,$Z,rJ,sJ]}),ko=Object.prototype.hasOwnProperty,xp=1,eL=2,tL=3,Cp=4,jb=1,uJ=2,FI=3,lJ=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,cJ=/[\x85\u2028\u2029]/,dJ=/[,\[\]\{\}]/,nL=/^(?:!|!!|![a-z\-]+!)$/i,rL=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function BI(e){return Object.prototype.toString.call(e)}function Xi(e){return e===10||e===13}function Es(e){return e===9||e===32}function Sr(e){return e===9||e===32||e===10||e===13}function xl(e){return e===44||e===91||e===93||e===123||e===125}function gJ(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}function mJ(e){return e===120?2:e===117?4:e===85?8:0}function fJ(e){return 48<=e&&e<=57?e-48:-1}function OI(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?"	":e===110?`
`:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"\x85":e===95?"\xA0":e===76?"\u2028":e===80?"\u2029":""}function pJ(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}var iL=new Array(256),aL=new Array(256);for(Ss=0;Ss<256;Ss++)iL[Ss]=OI(Ss)?1:0,aL[Ss]=OI(Ss);var Ss;function hJ(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||$I,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function oL(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=rZ(n),new Tr(t,n)}function Ue(e,t){throw oL(e,t)}function Tp(e,t){e.onWarning&&e.onWarning.call(null,oL(e,t))}var _I={YAML:function(e,t,n){var r,i,a;e.version!==null&&Ue(e,"duplication of %YAML directive"),n.length!==1&&Ue(e,"YAML directive accepts exactly one argument"),r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),r===null&&Ue(e,"ill-formed argument of the YAML directive"),i=parseInt(r[1],10),a=parseInt(r[2],10),i!==1&&Ue(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=a<2,a!==1&&a!==2&&Tp(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var r,i;n.length!==2&&Ue(e,"TAG directive accepts exactly two arguments"),r=n[0],i=n[1],nL.test(r)||Ue(e,"ill-formed tag handle (first argument) of the TAG directive"),ko.call(e.tagMap,r)&&Ue(e,'there is a previously declared suffix for "'+r+'" tag handle'),rL.test(i)||Ue(e,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch{Ue(e,"tag prefix is malformed: "+i)}e.tagMap[r]=i}};function Ao(e,t,n,r){var i,a,o,s;if(t<n){if(s=e.input.slice(t,n),r)for(i=0,a=s.length;i<a;i+=1)o=s.charCodeAt(i),o===9||32<=o&&o<=1114111||Ue(e,"expected valid JSON character");else lJ.test(s)&&Ue(e,"the stream contains non-printable characters");e.result+=s}}function UI(e,t,n,r){var i,a,o,s;for(pn.isObject(n)||Ue(e,"cannot merge mappings; the provided source object is unacceptable"),i=Object.keys(n),o=0,s=i.length;o<s;o+=1)a=i[o],ko.call(t,a)||(t[a]=n[a],r[a]=!0)}function Cl(e,t,n,r,i,a,o,s,u){var l,c;if(Array.isArray(i))for(i=Array.prototype.slice.call(i),l=0,c=i.length;l<c;l+=1)Array.isArray(i[l])&&Ue(e,"nested arrays are not supported inside keys"),typeof i=="object"&&BI(i[l])==="[object Object]"&&(i[l]="[object Object]");if(typeof i=="object"&&BI(i)==="[object Object]"&&(i="[object Object]"),i=String(i),t===null&&(t={}),r==="tag:yaml.org,2002:merge")if(Array.isArray(a))for(l=0,c=a.length;l<c;l+=1)UI(e,t,a[l],n);else UI(e,t,a,n);else!e.json&&!ko.call(n,i)&&ko.call(t,i)&&(e.line=o||e.line,e.lineStart=s||e.lineStart,e.position=u||e.position,Ue(e,"duplicated mapping key")),i==="__proto__"?Object.defineProperty(t,i,{configurable:!0,enumerable:!0,writable:!0,value:a}):t[i]=a,delete n[i];return t}function Kb(e){var t;t=e.input.charCodeAt(e.position),t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):Ue(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function un(e,t,n){for(var r=0,i=e.input.charCodeAt(e.position);i!==0;){for(;Es(i);)i===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position);if(t&&i===35)do i=e.input.charCodeAt(++e.position);while(i!==10&&i!==13&&i!==0);if(Xi(i))for(Kb(e),i=e.input.charCodeAt(e.position),r++,e.lineIndent=0;i===32;)e.lineIndent++,i=e.input.charCodeAt(++e.position);else break}return n!==-1&&r!==0&&e.lineIndent<n&&Tp(e,"deficient indentation"),r}function wp(e){var t=e.position,n;return n=e.input.charCodeAt(t),!!((n===45||n===46)&&n===e.input.charCodeAt(t+1)&&n===e.input.charCodeAt(t+2)&&(t+=3,n=e.input.charCodeAt(t),n===0||Sr(n)))}function Qb(e,t){t===1?e.result+=" ":t>1&&(e.result+=pn.repeat(`
`,t-1))}function yJ(e,t,n){var r,i,a,o,s,u,l,c,d=e.kind,g=e.result,f;if(f=e.input.charCodeAt(e.position),Sr(f)||xl(f)||f===35||f===38||f===42||f===33||f===124||f===62||f===39||f===34||f===37||f===64||f===96||(f===63||f===45)&&(i=e.input.charCodeAt(e.position+1),Sr(i)||n&&xl(i)))return!1;for(e.kind="scalar",e.result="",a=o=e.position,s=!1;f!==0;){if(f===58){if(i=e.input.charCodeAt(e.position+1),Sr(i)||n&&xl(i))break}else if(f===35){if(r=e.input.charCodeAt(e.position-1),Sr(r))break}else{if(e.position===e.lineStart&&wp(e)||n&&xl(f))break;if(Xi(f))if(u=e.line,l=e.lineStart,c=e.lineIndent,un(e,!1,-1),e.lineIndent>=t){s=!0,f=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=u,e.lineStart=l,e.lineIndent=c;break}}s&&(Ao(e,a,o,!1),Qb(e,e.line-u),a=o=e.position,s=!1),Es(f)||(o=e.position+1),f=e.input.charCodeAt(++e.position)}return Ao(e,a,o,!1),e.result?!0:(e.kind=d,e.result=g,!1)}function bJ(e,t){var n,r,i;if(n=e.input.charCodeAt(e.position),n!==39)return!1;for(e.kind="scalar",e.result="",e.position++,r=i=e.position;(n=e.input.charCodeAt(e.position))!==0;)if(n===39)if(Ao(e,r,e.position,!0),n=e.input.charCodeAt(++e.position),n===39)r=e.position,e.position++,i=e.position;else return!0;else Xi(n)?(Ao(e,r,i,!0),Qb(e,un(e,!1,t)),r=i=e.position):e.position===e.lineStart&&wp(e)?Ue(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);Ue(e,"unexpected end of the stream within a single quoted scalar")}function vJ(e,t){var n,r,i,a,o,s;if(s=e.input.charCodeAt(e.position),s!==34)return!1;for(e.kind="scalar",e.result="",e.position++,n=r=e.position;(s=e.input.charCodeAt(e.position))!==0;){if(s===34)return Ao(e,n,e.position,!0),e.position++,!0;if(s===92){if(Ao(e,n,e.position,!0),s=e.input.charCodeAt(++e.position),Xi(s))un(e,!1,t);else if(s<256&&iL[s])e.result+=aL[s],e.position++;else if((o=mJ(s))>0){for(i=o,a=0;i>0;i--)s=e.input.charCodeAt(++e.position),(o=gJ(s))>=0?a=(a<<4)+o:Ue(e,"expected hexadecimal character");e.result+=pJ(a),e.position++}else Ue(e,"unknown escape sequence");n=r=e.position}else Xi(s)?(Ao(e,n,r,!0),Qb(e,un(e,!1,t)),n=r=e.position):e.position===e.lineStart&&wp(e)?Ue(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}Ue(e,"unexpected end of the stream within a double quoted scalar")}function xJ(e,t){var n=!0,r,i,a,o=e.tag,s,u=e.anchor,l,c,d,g,f,p=Object.create(null),h,C,y,v;if(v=e.input.charCodeAt(e.position),v===91)c=93,f=!1,s=[];else if(v===123)c=125,f=!0,s={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),v=e.input.charCodeAt(++e.position);v!==0;){if(un(e,!0,t),v=e.input.charCodeAt(e.position),v===c)return e.position++,e.tag=o,e.anchor=u,e.kind=f?"mapping":"sequence",e.result=s,!0;n?v===44&&Ue(e,"expected the node content, but found ','"):Ue(e,"missed comma between flow collection entries"),C=h=y=null,d=g=!1,v===63&&(l=e.input.charCodeAt(e.position+1),Sr(l)&&(d=g=!0,e.position++,un(e,!0,t))),r=e.line,i=e.lineStart,a=e.position,Tl(e,t,xp,!1,!0),C=e.tag,h=e.result,un(e,!0,t),v=e.input.charCodeAt(e.position),(g||e.line===r)&&v===58&&(d=!0,v=e.input.charCodeAt(++e.position),un(e,!0,t),Tl(e,t,xp,!1,!0),y=e.result),f?Cl(e,s,p,C,h,y,r,i,a):d?s.push(Cl(e,null,p,C,h,y,r,i,a)):s.push(h),un(e,!0,t),v=e.input.charCodeAt(e.position),v===44?(n=!0,v=e.input.charCodeAt(++e.position)):n=!1}Ue(e,"unexpected end of the stream within a flow collection")}function CJ(e,t){var n,r,i=jb,a=!1,o=!1,s=t,u=0,l=!1,c,d;if(d=e.input.charCodeAt(e.position),d===124)r=!1;else if(d===62)r=!0;else return!1;for(e.kind="scalar",e.result="";d!==0;)if(d=e.input.charCodeAt(++e.position),d===43||d===45)jb===i?i=d===43?FI:uJ:Ue(e,"repeat of a chomping mode identifier");else if((c=fJ(d))>=0)c===0?Ue(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?Ue(e,"repeat of an indentation width identifier"):(s=t+c-1,o=!0);else break;if(Es(d)){do d=e.input.charCodeAt(++e.position);while(Es(d));if(d===35)do d=e.input.charCodeAt(++e.position);while(!Xi(d)&&d!==0)}for(;d!==0;){for(Kb(e),e.lineIndent=0,d=e.input.charCodeAt(e.position);(!o||e.lineIndent<s)&&d===32;)e.lineIndent++,d=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>s&&(s=e.lineIndent),Xi(d)){u++;continue}if(e.lineIndent<s){i===FI?e.result+=pn.repeat(`
`,a?1+u:u):i===jb&&a&&(e.result+=`
`);break}for(r?Es(d)?(l=!0,e.result+=pn.repeat(`
`,a?1+u:u)):l?(l=!1,e.result+=pn.repeat(`
`,u+1)):u===0?a&&(e.result+=" "):e.result+=pn.repeat(`
`,u):e.result+=pn.repeat(`
`,a?1+u:u),a=!0,o=!0,u=0,n=e.position;!Xi(d)&&d!==0;)d=e.input.charCodeAt(++e.position);Ao(e,n,e.position,!1)}return!0}function jI(e,t){var n,r=e.tag,i=e.anchor,a=[],o,s=!1,u;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=a),u=e.input.charCodeAt(e.position);u!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,Ue(e,"tab characters must not be used in indentation")),!(u!==45||(o=e.input.charCodeAt(e.position+1),!Sr(o))));){if(s=!0,e.position++,un(e,!0,-1)&&e.lineIndent<=t){a.push(null),u=e.input.charCodeAt(e.position);continue}if(n=e.line,Tl(e,t,tL,!1,!0),a.push(e.result),un(e,!0,-1),u=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&u!==0)Ue(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return s?(e.tag=r,e.anchor=i,e.kind="sequence",e.result=a,!0):!1}function TJ(e,t,n){var r,i,a,o,s,u,l=e.tag,c=e.anchor,d={},g=Object.create(null),f=null,p=null,h=null,C=!1,y=!1,v;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=d),v=e.input.charCodeAt(e.position);v!==0;){if(!C&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,Ue(e,"tab characters must not be used in indentation")),r=e.input.charCodeAt(e.position+1),a=e.line,(v===63||v===58)&&Sr(r))v===63?(C&&(Cl(e,d,g,f,p,null,o,s,u),f=p=h=null),y=!0,C=!0,i=!0):C?(C=!1,i=!0):Ue(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,v=r;else{if(o=e.line,s=e.lineStart,u=e.position,!Tl(e,n,eL,!1,!0))break;if(e.line===a){for(v=e.input.charCodeAt(e.position);Es(v);)v=e.input.charCodeAt(++e.position);if(v===58)v=e.input.charCodeAt(++e.position),Sr(v)||Ue(e,"a whitespace character is expected after the key-value separator within a block mapping"),C&&(Cl(e,d,g,f,p,null,o,s,u),f=p=h=null),y=!0,C=!1,i=!1,f=e.tag,p=e.result;else if(y)Ue(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=l,e.anchor=c,!0}else if(y)Ue(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=l,e.anchor=c,!0}if((e.line===a||e.lineIndent>t)&&(C&&(o=e.line,s=e.lineStart,u=e.position),Tl(e,t,Cp,!0,i)&&(C?p=e.result:h=e.result),C||(Cl(e,d,g,f,p,h,o,s,u),f=p=h=null),un(e,!0,-1),v=e.input.charCodeAt(e.position)),(e.line===a||e.lineIndent>t)&&v!==0)Ue(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return C&&Cl(e,d,g,f,p,null,o,s,u),y&&(e.tag=l,e.anchor=c,e.kind="mapping",e.result=d),y}function SJ(e){var t,n=!1,r=!1,i,a,o;if(o=e.input.charCodeAt(e.position),o!==33)return!1;if(e.tag!==null&&Ue(e,"duplication of a tag property"),o=e.input.charCodeAt(++e.position),o===60?(n=!0,o=e.input.charCodeAt(++e.position)):o===33?(r=!0,i="!!",o=e.input.charCodeAt(++e.position)):i="!",t=e.position,n){do o=e.input.charCodeAt(++e.position);while(o!==0&&o!==62);e.position<e.length?(a=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):Ue(e,"unexpected end of the stream within a verbatim tag")}else{for(;o!==0&&!Sr(o);)o===33&&(r?Ue(e,"tag suffix cannot contain exclamation marks"):(i=e.input.slice(t-1,e.position+1),nL.test(i)||Ue(e,"named tag handle cannot contain such characters"),r=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);a=e.input.slice(t,e.position),dJ.test(a)&&Ue(e,"tag suffix cannot contain flow indicator characters")}a&&!rL.test(a)&&Ue(e,"tag name cannot contain such characters: "+a);try{a=decodeURIComponent(a)}catch{Ue(e,"tag name is malformed: "+a)}return n?e.tag=a:ko.call(e.tagMap,i)?e.tag=e.tagMap[i]+a:i==="!"?e.tag="!"+a:i==="!!"?e.tag="tag:yaml.org,2002:"+a:Ue(e,'undeclared tag handle "'+i+'"'),!0}function EJ(e){var t,n;if(n=e.input.charCodeAt(e.position),n!==38)return!1;for(e.anchor!==null&&Ue(e,"duplication of an anchor property"),n=e.input.charCodeAt(++e.position),t=e.position;n!==0&&!Sr(n)&&!xl(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&Ue(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function wJ(e){var t,n,r;if(r=e.input.charCodeAt(e.position),r!==42)return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;r!==0&&!Sr(r)&&!xl(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&Ue(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),ko.call(e.anchorMap,n)||Ue(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],un(e,!0,-1),!0}function Tl(e,t,n,r,i){var a,o,s,u=1,l=!1,c=!1,d,g,f,p,h,C;if(e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,a=o=s=Cp===n||tL===n,r&&un(e,!0,-1)&&(l=!0,e.lineIndent>t?u=1:e.lineIndent===t?u=0:e.lineIndent<t&&(u=-1)),u===1)for(;SJ(e)||EJ(e);)un(e,!0,-1)?(l=!0,s=a,e.lineIndent>t?u=1:e.lineIndent===t?u=0:e.lineIndent<t&&(u=-1)):s=!1;if(s&&(s=l||i),(u===1||Cp===n)&&(xp===n||eL===n?h=t:h=t+1,C=e.position-e.lineStart,u===1?s&&(jI(e,C)||TJ(e,C,h))||xJ(e,h)?c=!0:(o&&CJ(e,h)||bJ(e,h)||vJ(e,h)?c=!0:wJ(e)?(c=!0,(e.tag!==null||e.anchor!==null)&&Ue(e,"alias node should not have any properties")):yJ(e,h,xp===n)&&(c=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):u===0&&(c=s&&jI(e,C))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag==="?"){for(e.result!==null&&e.kind!=="scalar"&&Ue(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),d=0,g=e.implicitTypes.length;d<g;d+=1)if(p=e.implicitTypes[d],p.resolve(e.result)){e.result=p.construct(e.result),e.tag=p.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!=="!"){if(ko.call(e.typeMap[e.kind||"fallback"],e.tag))p=e.typeMap[e.kind||"fallback"][e.tag];else for(p=null,f=e.typeMap.multi[e.kind||"fallback"],d=0,g=f.length;d<g;d+=1)if(e.tag.slice(0,f[d].tag.length)===f[d].tag){p=f[d];break}p||Ue(e,"unknown tag !<"+e.tag+">"),e.result!==null&&p.kind!==e.kind&&Ue(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+p.kind+'", not "'+e.kind+'"'),p.resolve(e.result,e.tag)?(e.result=p.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):Ue(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||c}function AJ(e){var t=e.position,n,r,i,a=!1,o;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(o=e.input.charCodeAt(e.position))!==0&&(un(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||o!==37));){for(a=!0,o=e.input.charCodeAt(++e.position),n=e.position;o!==0&&!Sr(o);)o=e.input.charCodeAt(++e.position);for(r=e.input.slice(n,e.position),i=[],r.length<1&&Ue(e,"directive name must not be less than one character in length");o!==0;){for(;Es(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!Xi(o));break}if(Xi(o))break;for(n=e.position;o!==0&&!Sr(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(n,e.position))}o!==0&&Kb(e),ko.call(_I,r)?_I[r](e,r,i):Tp(e,'unknown document directive "'+r+'"')}if(un(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,un(e,!0,-1)):a&&Ue(e,"directives end mark is expected"),Tl(e,e.lineIndent-1,Cp,!1,!0),un(e,!0,-1),e.checkLineBreaks&&cJ.test(e.input.slice(t,e.position))&&Tp(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&wp(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,un(e,!0,-1));return}if(e.position<e.length-1)Ue(e,"end of the stream or a document separator is expected");else return}function sL(e,t){e=String(e),t=t||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
`),e.charCodeAt(0)===65279&&(e=e.slice(1)));var n=new hJ(e,t),r=e.indexOf("\0");for(r!==-1&&(n.position=r,Ue(n,"null byte is not allowed in input")),n.input+="\0";n.input.charCodeAt(n.position)===32;)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)AJ(n);return n.documents}function kJ(e,t,n){t!==null&&typeof t=="object"&&typeof n>"u"&&(n=t,t=null);var r=sL(e,n);if(typeof t!="function")return r;for(var i=0,a=r.length;i<a;i+=1)t(r[i])}function MJ(e,t){var n=sL(e,t);if(n.length!==0){if(n.length===1)return n[0];throw new Tr("expected a single document in the stream, but found more")}}var IJ=kJ,LJ=MJ,uL={loadAll:IJ,load:LJ},lL=Object.prototype.toString,cL=Object.prototype.hasOwnProperty,Yb=65279,DJ=9,V0=10,PJ=13,RJ=32,NJ=33,FJ=34,Hb=35,BJ=37,OJ=38,_J=39,UJ=42,dL=44,jJ=45,Sp=58,zJ=61,HJ=62,VJ=63,GJ=64,gL=91,mL=93,WJ=96,fL=123,qJ=124,pL=125,or={};or[0]="\\0";or[7]="\\a";or[8]="\\b";or[9]="\\t";or[10]="\\n";or[11]="\\v";or[12]="\\f";or[13]="\\r";or[27]="\\e";or[34]='\\"';or[92]="\\\\";or[133]="\\N";or[160]="\\_";or[8232]="\\L";or[8233]="\\P";var KJ=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],QJ=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function YJ(e,t){var n,r,i,a,o,s,u;if(t===null)return{};for(n={},r=Object.keys(t),i=0,a=r.length;i<a;i+=1)o=r[i],s=String(t[o]),o.slice(0,2)==="!!"&&(o="tag:yaml.org,2002:"+o.slice(2)),u=e.compiledTypeMap.fallback[o],u&&cL.call(u.styleAliases,s)&&(s=u.styleAliases[s]),n[o]=s;return n}function ZJ(e){var t,n,r;if(t=e.toString(16).toUpperCase(),e<=255)n="x",r=2;else if(e<=65535)n="u",r=4;else if(e<=4294967295)n="U",r=8;else throw new Tr("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+n+pn.repeat("0",r-t.length)+t}var JJ=1,G0=2;function XJ(e){this.schema=e.schema||$I,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=pn.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=YJ(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType=e.quotingType==='"'?G0:JJ,this.forceQuotes=e.forceQuotes||!1,this.replacer=typeof e.replacer=="function"?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function zI(e,t){for(var n=pn.repeat(" ",t),r=0,i=-1,a="",o,s=e.length;r<s;)i=e.indexOf(`
`,r),i===-1?(o=e.slice(r),r=s):(o=e.slice(r,i+1),r=i+1),o.length&&o!==`
`&&(a+=n),a+=o;return a}function Vb(e,t){return`
`+pn.repeat(" ",e.indent*t)}function $J(e,t){var n,r,i;for(n=0,r=e.implicitTypes.length;n<r;n+=1)if(i=e.implicitTypes[n],i.resolve(t))return!0;return!1}function Ep(e){return e===RJ||e===DJ}function W0(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==Yb||65536<=e&&e<=1114111}function HI(e){return W0(e)&&e!==Yb&&e!==PJ&&e!==V0}function VI(e,t,n){var r=HI(e),i=r&&!Ep(e);return(n?r:r&&e!==dL&&e!==gL&&e!==mL&&e!==fL&&e!==pL)&&e!==Hb&&!(t===Sp&&!i)||HI(t)&&!Ep(t)&&e===Hb||t===Sp&&i}function eX(e){return W0(e)&&e!==Yb&&!Ep(e)&&e!==jJ&&e!==VJ&&e!==Sp&&e!==dL&&e!==gL&&e!==mL&&e!==fL&&e!==pL&&e!==Hb&&e!==OJ&&e!==UJ&&e!==NJ&&e!==qJ&&e!==zJ&&e!==HJ&&e!==_J&&e!==FJ&&e!==BJ&&e!==GJ&&e!==WJ}function tX(e){return!Ep(e)&&e!==Sp}function z0(e,t){var n=e.charCodeAt(t),r;return n>=55296&&n<=56319&&t+1<e.length&&(r=e.charCodeAt(t+1),r>=56320&&r<=57343)?(n-55296)*1024+r-56320+65536:n}function hL(e){var t=/^\n* /;return t.test(e)}var yL=1,Gb=2,bL=3,vL=4,vl=5;function nX(e,t,n,r,i,a,o,s){var u,l=0,c=null,d=!1,g=!1,f=r!==-1,p=-1,h=eX(z0(e,0))&&tX(z0(e,e.length-1));if(t||o)for(u=0;u<e.length;l>=65536?u+=2:u++){if(l=z0(e,u),!W0(l))return vl;h=h&&VI(l,c,s),c=l}else{for(u=0;u<e.length;l>=65536?u+=2:u++){if(l=z0(e,u),l===V0)d=!0,f&&(g=g||u-p-1>r&&e[p+1]!==" ",p=u);else if(!W0(l))return vl;h=h&&VI(l,c,s),c=l}g=g||f&&u-p-1>r&&e[p+1]!==" "}return!d&&!g?h&&!o&&!i(e)?yL:a===G0?vl:Gb:n>9&&hL(e)?vl:o?a===G0?vl:Gb:g?vL:bL}function rX(e,t,n,r,i){e.dump=function(){if(t.length===0)return e.quotingType===G0?'""':"''";if(!e.noCompatMode&&(KJ.indexOf(t)!==-1||QJ.test(t)))return e.quotingType===G0?'"'+t+'"':"'"+t+"'";var a=e.indent*Math.max(1,n),o=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-a),s=r||e.flowLevel>-1&&n>=e.flowLevel;function u(l){return $J(e,l)}switch(nX(t,s,e.indent,o,u,e.quotingType,e.forceQuotes&&!r,i)){case yL:return t;case Gb:return"'"+t.replace(/'/g,"''")+"'";case bL:return"|"+GI(t,e.indent)+WI(zI(t,a));case vL:return">"+GI(t,e.indent)+WI(zI(iX(t,o),a));case vl:return'"'+aX(t)+'"';default:throw new Tr("impossible error: invalid scalar style")}}()}function GI(e,t){var n=hL(e)?String(t):"",r=e[e.length-1]===`
`,i=r&&(e[e.length-2]===`
`||e===`
`),a=i?"+":r?"":"-";return n+a+`
`}function WI(e){return e[e.length-1]===`
`?e.slice(0,-1):e}function iX(e,t){for(var n=/(\n+)([^\n]*)/g,r=function(){var l=e.indexOf(`
`);return l=l!==-1?l:e.length,n.lastIndex=l,qI(e.slice(0,l),t)}(),i=e[0]===`
`||e[0]===" ",a,o;o=n.exec(e);){var s=o[1],u=o[2];a=u[0]===" ",r+=s+(!i&&!a&&u!==""?`
`:"")+qI(u,t),i=a}return r}function qI(e,t){if(e===""||e[0]===" ")return e;for(var n=/ [^ ]/g,r,i=0,a,o=0,s=0,u="";r=n.exec(e);)s=r.index,s-i>t&&(a=o>i?o:s,u+=`
`+e.slice(i,a),i=a+1),o=s;return u+=`
`,e.length-i>t&&o>i?u+=e.slice(i,o)+`
`+e.slice(o+1):u+=e.slice(i),u.slice(1)}function aX(e){for(var t="",n=0,r,i=0;i<e.length;n>=65536?i+=2:i++)n=z0(e,i),r=or[n],!r&&W0(n)?(t+=e[i],n>=65536&&(t+=e[i+1])):t+=r||ZJ(n);return t}function oX(e,t,n){var r="",i=e.tag,a,o,s;for(a=0,o=n.length;a<o;a+=1)s=n[a],e.replacer&&(s=e.replacer.call(n,String(a),s)),(Pa(e,t,s,!1,!1)||typeof s>"u"&&Pa(e,t,null,!1,!1))&&(r!==""&&(r+=","+(e.condenseFlow?"":" ")),r+=e.dump);e.tag=i,e.dump="["+r+"]"}function KI(e,t,n,r){var i="",a=e.tag,o,s,u;for(o=0,s=n.length;o<s;o+=1)u=n[o],e.replacer&&(u=e.replacer.call(n,String(o),u)),(Pa(e,t+1,u,!0,!0,!1,!0)||typeof u>"u"&&Pa(e,t+1,null,!0,!0,!1,!0))&&((!r||i!=="")&&(i+=Vb(e,t)),e.dump&&V0===e.dump.charCodeAt(0)?i+="-":i+="- ",i+=e.dump);e.tag=a,e.dump=i||"[]"}function sX(e,t,n){var r="",i=e.tag,a=Object.keys(n),o,s,u,l,c;for(o=0,s=a.length;o<s;o+=1)c="",r!==""&&(c+=", "),e.condenseFlow&&(c+='"'),u=a[o],l=n[u],e.replacer&&(l=e.replacer.call(n,u,l)),Pa(e,t,u,!1,!1)&&(e.dump.length>1024&&(c+="? "),c+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Pa(e,t,l,!1,!1)&&(c+=e.dump,r+=c));e.tag=i,e.dump="{"+r+"}"}function uX(e,t,n,r){var i="",a=e.tag,o=Object.keys(n),s,u,l,c,d,g;if(e.sortKeys===!0)o.sort();else if(typeof e.sortKeys=="function")o.sort(e.sortKeys);else if(e.sortKeys)throw new Tr("sortKeys must be a boolean or a function");for(s=0,u=o.length;s<u;s+=1)g="",(!r||i!=="")&&(g+=Vb(e,t)),l=o[s],c=n[l],e.replacer&&(c=e.replacer.call(n,l,c)),Pa(e,t+1,l,!0,!0,!0)&&(d=e.tag!==null&&e.tag!=="?"||e.dump&&e.dump.length>1024,d&&(e.dump&&V0===e.dump.charCodeAt(0)?g+="?":g+="? "),g+=e.dump,d&&(g+=Vb(e,t)),Pa(e,t+1,c,!0,d)&&(e.dump&&V0===e.dump.charCodeAt(0)?g+=":":g+=": ",g+=e.dump,i+=g));e.tag=a,e.dump=i||"{}"}function QI(e,t,n){var r,i,a,o,s,u;for(i=n?e.explicitTypes:e.implicitTypes,a=0,o=i.length;a<o;a+=1)if(s=i[a],(s.instanceOf||s.predicate)&&(!s.instanceOf||typeof t=="object"&&t instanceof s.instanceOf)&&(!s.predicate||s.predicate(t))){if(n?s.multi&&s.representName?e.tag=s.representName(t):e.tag=s.tag:e.tag="?",s.represent){if(u=e.styleMap[s.tag]||s.defaultStyle,lL.call(s.represent)==="[object Function]")r=s.represent(t,u);else if(cL.call(s.represent,u))r=s.represent[u](t,u);else throw new Tr("!<"+s.tag+'> tag resolver accepts not "'+u+'" style');e.dump=r}return!0}return!1}function Pa(e,t,n,r,i,a,o){e.tag=null,e.dump=n,QI(e,n,!1)||QI(e,n,!0);var s=lL.call(e.dump),u=r,l;r&&(r=e.flowLevel<0||e.flowLevel>t);var c=s==="[object Object]"||s==="[object Array]",d,g;if(c&&(d=e.duplicates.indexOf(n),g=d!==-1),(e.tag!==null&&e.tag!=="?"||g||e.indent!==2&&t>0)&&(i=!1),g&&e.usedDuplicates[d])e.dump="*ref_"+d;else{if(c&&g&&!e.usedDuplicates[d]&&(e.usedDuplicates[d]=!0),s==="[object Object]")r&&Object.keys(e.dump).length!==0?(uX(e,t,e.dump,i),g&&(e.dump="&ref_"+d+e.dump)):(sX(e,t,e.dump),g&&(e.dump="&ref_"+d+" "+e.dump));else if(s==="[object Array]")r&&e.dump.length!==0?(e.noArrayIndent&&!o&&t>0?KI(e,t-1,e.dump,i):KI(e,t,e.dump,i),g&&(e.dump="&ref_"+d+e.dump)):(oX(e,t,e.dump),g&&(e.dump="&ref_"+d+" "+e.dump));else if(s==="[object String]")e.tag!=="?"&&rX(e,e.dump,t,a,u);else{if(s==="[object Undefined]"||e.skipInvalid)return!1;throw new Tr("unacceptable kind of an object to dump "+s)}e.tag!==null&&e.tag!=="?"&&(l=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?l="!"+l:l.slice(0,18)==="tag:yaml.org,2002:"?l="!!"+l.slice(18):l="!<"+l+">",e.dump=l+" "+e.dump)}return!0}function lX(e,t){var n=[],r=[],i,a;for(Wb(e,n,r),i=0,a=r.length;i<a;i+=1)t.duplicates.push(n[r[i]]);t.usedDuplicates=new Array(a)}function Wb(e,t,n){var r,i,a;if(e!==null&&typeof e=="object")if(i=t.indexOf(e),i!==-1)n.indexOf(i)===-1&&n.push(i);else if(t.push(e),Array.isArray(e))for(i=0,a=e.length;i<a;i+=1)Wb(e[i],t,n);else for(r=Object.keys(e),i=0,a=r.length;i<a;i+=1)Wb(e[r[i]],t,n)}function cX(e,t){t=t||{};var n=new XJ(t);n.noRefs||lX(e,n);var r=e;return n.replacer&&(r=n.replacer.call({"":r},"",r)),Pa(n,0,r,!0,!0)?n.dump+`
`:""}var dX=cX,gX={dump:dX};function Zb(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}var mIe=uL.load,fIe=uL.loadAll,pIe=gX.dump;var hIe=Zb("safeLoad","load"),yIe=Zb("safeLoadAll","loadAll"),bIe=Zb("safeDump","dump");function fX(e,t,n,r){let i=e.left+e.width/2-n/2-t.left;return{left:Math.max(4,Math.min(i,t.width-n-4)),...r==="bottom"?{top:e.bottom-t.top+4}:{bottom:t.bottom-e.top+4}}}function pX({text:e,width:t,style:n}){return m("div",{role:"tooltip",style:{position:"absolute",zIndex:1e4,width:t,padding:"6px 12px",backgroundColor:"#000000",color:"#ffffff",borderRadius:"8px",fontSize:"12px",whiteSpace:"normal",lineHeight:"1.5",pointerEvents:"none",...n},children:e})}function Jb({text:e,children:t,width:n=220,position:r="top"}){let i=$(null),[a,o]=z(!1),[s,u]=z(null),l=yX(()=>{let d=i.current;return d?bX(d):document.body}),c=()=>{let d=l.current,g=i.current;if(!d||!a||!g){u(null);return}let f=d.parentElement;if(!f)return;let p=f.getBoundingClientRect(),h=g.getBoundingClientRect();u(fX(h,p,n,r))};return Zn(()=>{c()},[a,n,r]),G(()=>{if(!a)return;let d=i.current?.getRootNode(),g=d instanceof ShadowRoot?d:globalThis;return g.addEventListener("scroll",c,!0),()=>g.removeEventListener("scroll",c,!0)},[a]),Zn(()=>{let d=l.current;if(!d)return;hX(a&&s?m(pX,{text:e,width:n,style:s}):null,d)},[a,s,e,n]),m("span",{ref:i,style:{display:"inline-flex",alignItems:"center"},onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),children:t})}function hX(e,t){Zt(e,t)}function yX(e){let t=$(null);return G(()=>{let n=e();(!n.style.position||n.style.position==="static")&&(n.style.position="relative");let r=document.createElement("div");return r.style.cssText="position:absolute;inset:0;pointer-events:none;overflow:visible;z-index:10000;",n.appendChild(r),t.current=r,()=>{Zt(null,r),r.remove(),t.current=null}},[]),t}function bX(e){let t=e.closest(".popup-container");return t||(e.getRootNode()===document?document.body:e)}var xL=220,vX=6;function CL(e){let{items:t}=e,n=t.length>0&&"options"in t[0],r;if(n)for(let g of t){let f=g.options.find(p=>p.selected);if(f){r=f;break}}else r=t.find(g=>g.selected);let[i,a]=z(!1),o=$(null),[s,u]=z(e.maxHeight||xL),[l,c]=z(0);Zn(()=>{if(!o.current)return;let g=o.current,f=g.getBoundingClientRect(),p=g.closest(".popup-container");if(p){let h=p.getBoundingClientRect(),C=f.top-h.top,y=20,v=30,b=5,x=p.clientHeight-y*2,T=0;if(n)for(let A of t)T+=24+A.options.length*v;else T=t.length*v;T+=b*3;let S=C+f.height;if(T>p.clientHeight-S){let E=Math.min(x,T);c(p.clientHeight-C-E-y)}else c(0);u(Math.max(xL,x))}},[o.current,i,t,n]),G(()=>{if(!o.current||!i)return;let g=f=>{o.current?.contains(f.target)||a(!1)};return document.addEventListener("click",g),()=>{document.removeEventListener("click",g)}},[o,i]);let d=["custom-select-container",e.className||"",e.disabled?"is-disabled":""].filter(Boolean).join(" ");return m("div",{class:d,ref:o,children:[m("div",{id:"translation-service-select",className:"flex items-center",onClick:()=>{a(!i)},children:[m($b,{item:r,isDefault:!0,showSponsorInDefault:e.showSponsorInDefault}),m(mn,{})]}),m(xX,{contentTop:l,items:e.items,visible:i,maxHeight:s,onClick:g=>{e.onSelected?.(g),a(!1)}})]})}function xX(e){let{visible:t,items:n,maxHeight:r,onClick:i}=e,a=$(null),o=n.length>0&&"options"in n[0];return G(()=>{if(!t||!a.current)return;let s=a.current;if(o){let u=[],l=[];n.forEach(d=>{l.push(u.length),u=u.concat(d.options)});let c=u.findIndex(d=>d.selected);if(c>=0){let g=0;for(let p=0;p<l.length&&c>=l[p];p++)g=p+1;let f=c*30+g*24;if(f<s.offsetHeight)return;f=Math.min(f,s.scrollHeight-s.offsetHeight),s.scrollTo({top:f})}}else{let u=n.findIndex(c=>c.selected);if(u<0)return;let l=u*30;if(l<s.offsetHeight)return;l=Math.min(l,s.scrollHeight-s.offsetHeight),s.scrollTo({top:l})}},[t,n,i,r,o]),m("div",{class:"custom-select-popup",style:{display:t?"flex":"none"},children:m("div",{class:"custom-select-content",ref:a,style:{maxHeight:e.maxHeight,top:e.contentTop||"unset"},children:o?n.map(s=>m("div",{children:[s.name&&!!s.options.length&&m(CX,{name:s.name}),s.options.map(u=>m($b,{item:u,onClick:e.onClick},u.value))]},s.id)):n.map(s=>m($b,{item:s,onClick:e.onClick},s.value))})})}function CX({name:e}){return m("div",{className:"custom-select-group-header",children:e})}function TL({segments:e}){return m(Oe,{children:e.map((t,n)=>t.type==="icon"?m("img",{src:t.src,style:{width:16,height:16,borderRadius:2,flexShrink:0}},n):m("span",{children:t.value},n))})}function SL(e,t,n=!1){return!!t?.length&&(!e||n)}function TX(e,t,n){return!!e&&t&&!!n}function SX({segments:e,animate:t}){let n=(r=!1)=>m("span",{className:"service-select-inline-sponsor-track","aria-hidden":r?"true":void 0,children:m(TL,{segments:e})});return t?m("span",{className:"service-select-inline-sponsor-marquee",children:[n(),n(!0)]}):n()}function EX({item:e}){return m(Oe,{children:[!!e.subtitleBefore&&m("span",{children:e.subtitleBefore}),!!e.subtitleImg&&m("img",{src:e.subtitleImg,style:{width:16,height:16,borderRadius:2,flexShrink:0}}),m("span",{children:e.subtitle}),!!e.subtitleAfter&&m("span",{children:e.subtitleAfter})]})}function wX({text:e}){return m(Jb,{width:220,text:e,children:m("span",{className:"flex items-center shrink-0",style:{cursor:"pointer",lineHeight:0},onClick:t=>{t.stopPropagation()},onMouseDown:t=>{t.stopPropagation()},children:m(bM,{})})})}function Xb({item:e,isDefault:t}){return m("span",{className:"flex items-center",style:{minWidth:0,gap:4},children:[m("span",{className:"text-ellipsis overflow-hidden",style:{minWidth:0},children:e.label}),!t&&!!e.tipText&&m(wX,{text:e.tipText}),!t&&m(kX,{item:e})]})}function AX({item:e,isDefault:t,showSponsorInDefault:n}){let r=SL(t,e.sponsorSegments,n);if(!EL({isDefault:t,hasSponsor:r,hasSubtitle:!!e.subtitle})){if(r&&t){let a=TX(t,r,n);return m("span",{className:"flex items-center",style:{minWidth:0,gap:vX},children:[m("span",{style:{flexShrink:0,minWidth:0},children:m(Xb,{item:e,isDefault:t})}),m("span",{className:"service-select-inline-sponsor-container",style:{fontSize:12,color:"#999",lineHeight:"18px"},children:m(SX,{segments:e.sponsorSegments,animate:a})})]})}return m(Xb,{item:e,isDefault:t})}return m("div",{style:{display:"flex",flexDirection:"column",overflow:"hidden",minWidth:0},children:[m(Xb,{item:e,isDefault:t}),m("span",{className:"flex items-center",style:{fontSize:12,color:"#999",lineHeight:"18px",gap:4,whiteSpace:"nowrap"},children:r?m(TL,{segments:e.sponsorSegments}):m(EX,{item:e})})]})}function $b(e){let t=e.item;if(!t)return null;let n=SL(e.isDefault,t.sponsorSegments,e.showSponsorInDefault),r=EL({isDefault:e.isDefault,hasSponsor:n,hasSubtitle:!!t.subtitle});return m("div",{class:`custom-select-item ${t.selected?"selected":""} ${e.isDefault?"default":""}`,style:r?{height:"auto",lineHeight:"normal",alignItems:"flex-start"}:void 0,value:`${t.value}`,onClick:()=>{e.onClick?.(t)},children:[!!t.img&&m("img",{class:"custom-select-item-img",src:t.img}),m(AX,{item:t,isDefault:e.isDefault,showSponsorInDefault:e.showSponsorInDefault})]})}function kX({item:e}){let{t}=ee();return e.isShowProOnly?m("span",{class:"custom-select-item-pro",children:m("img",{src:Cr})}):e.isShowMaxOnly?m("span",{class:"custom-select-item-pro",children:m("img",{src:xo})}):e.isShowGoSetting?m("span",{class:"custom-select-item-pro",children:t("needAction")}):null}function EL({isDefault:e,hasSponsor:t,hasSubtitle:n}){return e?!1:t||n}var MX={1:"babel-lite",2:"zhipu",3:"siliconcloud",4:"hymt"};function wL(e,t){let n=[],r=/!\{(\d+)\}/g,i=0,a;for(;(a=r.exec(e))!==null;){a.index>i&&n.push({type:"text",value:e.slice(i,a.index)});let o=a[1],s=MX[o],l=(s?vr(s):"")||t?.[o]||"";l&&n.push({type:"icon",src:l}),i=r.lastIndex}return i<e.length&&n.push({type:"text",value:e.slice(i)}),n}var Ap=Xa({popupFrom:"popup",actionsRef:null});function AL(e){let{t}=ee(),{translationServiceItems:n,groupOptions:r,handleOnSelected:i}=RX(e),a=de(()=>n.find(c=>c.selected)?.id,[n]);if(!n.length)return null;let s=e.ctx.config?.translationServices?.[e.ctx.translationService]||{},u=!!s.applyAccurateKey,l=u&&s.applyAccurateKey?t("accurateConfigs.tooltip",{site:s.applyAccurateKey||""}):void 0;return m("div",{class:"translation-service-container mt-3",children:[m(kL,{label:t("popupService"),items:r,ctx:e.ctx,class:e.showTrialPro?"border-bottom-radius-0":"",isServices:!0,disabled:u,disabledTooltip:l,onSelected:i}),m(LX,{...e,disabled:u,disabledTooltip:l,currentTranslationService:a}),m(IX,{ctx:e.ctx,currentTranslationService:a,aiContextInfo:e.aiContextInfo})]})}function IX({ctx:e,aiContextInfo:t,currentTranslationService:n}){let{popupFrom:r,actionsRef:i}=pu(Ap),a=i.current,{t:o}=ee(),u=e.config?.translationServices?.[n]||{},l=e.config?.accurateConfigs,[c,d]=de(()=>Object.entries(l||{}).find(([C,y])=>Ke(e.url,y.matches))||[null,null],[e,l]),g=!!d,f=!1;g?f=!!d?.enable&&d?.translationService===n:e.isPro&&(f=!!u?.enableAIContext);let p=de(()=>{if(!t?.visible)return"";let h=new URL(e.url);return h.searchParams.append(Wd,"1"),h.searchParams.append("_immersive_translate_auto_translate","1"),h.toString()},[e.url,t]);return e.isPro&&!cr(u)&&!g?null:m("div",{class:"min-select-container",children:[m("label",{class:"inline-flex text-label mb-0 text-gray-6 flex-row items-center",style:{minWidth:60,flexShrink:0},children:[g?o("accurateConfigs.label",{site:c||""}):o("popup.enableAIContext"),e.isPro?null:m("img",{src:Cr,class:"ml-2"}),m(vt,{width:300,multiple:!0,text:`${o("popup.aiContextToolTip")} ${p?o("contextDiffPreview",{1:p}):""}`,enableMobile:!0,children:m(Pk,{style:{marginLeft:4,cursor:"pointer",verticalAlign:"text-top"}})})]}),m("input",{id:"toggle-ai-context",class:"shrink-0",role:"switch",type:"checkbox",checked:f,onClick:h=>{h.preventDefault();let C=!f;if(!e.isPro&&C){a?.onReport({key:"user_need_pro",params:{trigger:"popup_ai_context_toggle"}}),_e("ai_context_upgrade",{trigger:r}),a?.onClose();return}a?.onReport({key:"popup_ai_context_toggle",params:{enable:C?1:0,trigger:r}}),a?.setSettings(()=>g?{"accurateConfigs.add":{[c]:{enable:C}}}:{translationServices:{[n]:{enableAIContext:C}}})}})]})}function kL(e){let t=e.items.length>0&&"options"in e.items[0],{t:n}=ee(),r=de(()=>{if(t)return e.items;let o=e.items,s=o.find(c=>c.selected);if(!s||s.value!="auto")return o;e.ctx.specialAiAssistant=xa(e.ctx,e.ctx.translationService,!0);let u=e.ctx.specialAiAssistant?.id;if(!u){let d=e.ctx.config?.translationServices?.[e.ctx.translationService];if(!d?.fallbackAssistantId||d?.fallbackAssistantId=="common")u="common";else return o}let l=o.find(c=>c.value==u);return!l||s.label.indexOf(l.label)>=0||(s.label=`${s.label} (${l.label})`),o},[e,n]),i=["min-select-container",e.class||"",e.disabled?"disabled":""].filter(Boolean).join(" "),a=m("div",{class:i,children:[m("label",{class:"inline-block text-label mb-0 text-gray-6",style:{minWidth:60,flexShrink:0},children:[e.label,"\uFF1A"]}),e.isServices&&t?m(CL,{className:"translate-service",items:r,onSelected:e.onSelected,showSponsorInDefault:!0}):m(Ji,{className:"translate-service transform-padding-left",maxWidth:300,items:r})]});return e.disabled?m(vt,{width:300,multiple:!0,text:e.disabledTooltip||"",displayType:"block",enableMobile:!0,children:a}):a}function LX({ctx:e,disabled:t,disabledTooltip:n,pageStatus:r,actionsRef:i,currentTranslationService:a}){let{t:o}=ee(),s=PX(e,a),u=DX(e,a),l=Te((g,f)=>{i.current?.setSettings(p=>({translationServices:{[s.id]:{[g]:f}}})),r==="Translated"&&(e.rule.isTranslateWhenServiceChanged?setTimeout(()=>{i.current?.sendMessageToContent("translatePage")},1):setTimeout(()=>{i.current?.sendMessageToContent("restorePage")},1))},[s]),c=de(()=>s?.props.filter(g=>g.type==="select").map(g=>{let f=g.name;g.label&&(f=g.label),g.labelKey&&(f=o(g.labelKey));let p=g.options.map(h=>({label:`${h.label?o(h.label):h.value}`,value:h.value,selected:h.value==u[g.name],onSelected:C=>{if(h.action=="jumpOptions"){let y=h.args||[];i.current?.openOptionsPage(...y);return}l(g.name,h.value)}}));return{label:f,items:p}}),[u]);if(!u||!s?.props?.length||!c||!c?.length)return null;let d=m(Oe,{children:c.map(({label:g,items:f},p)=>m(kL,{label:g,items:f,disabled:t,ctx:e},"field-"+p))});return t?m(vt,{width:300,multiple:!0,text:n||"",displayType:"block",enableMobile:!0,children:d}):d}function DX(e,t){return de(()=>{let{translationServices:r}=e.config;return r&&r[t]?r[t]||{}:{}},[e,t])}function PX(e,t){let{lang:n}=ee();return de(()=>{let i=Mv(e,"translationService",n,t);return i?.props[0]?.labelKey=="field_label.assistant"&&(i.props[0].labelKey="field.assistant"),i},[Qn,kg,e,n,t])}function RX({isProUser:e,ctx:t,pageStatus:n,actionsRef:r,dominantSponsor:i}){let{t:a,lang:o}=ee(),s=de(()=>t?Yr(t,"translationService",o).filter(d=>t.config.showUnconfiguredTranslationServiceInPopup===!1?d.ok:!0):[],[t,o]),u=Te(async c=>{let d=r.current;if(c.value=="more"){d?.openOptionsPage(!1,"#services");return}let g=s.find(f=>f.id===c.value);if(d?.sendMessageToContent("updateTranslationService",!0,{translationService:g.id}),d?.setSettings(f=>(d?.onChangeService(f.translationService||"",g.id),Ya({state:f,config:t.config,serviceType:"translationService",serviceId:g.id}))),g.ok){if(n!="Translated")return;t.rule.isTranslateWhenServiceChanged?setTimeout(()=>{d?.sendMessageToContent("translatePage")},1):setTimeout(()=>{d?.sendMessageToContent("restorePage")},1)}else g.currentProvider!=="custom"?NX(t,g,r):setTimeout(()=>{d?.openOptionsPage(!1,"#services")},1)},[n]),l=de(()=>{let c=yc(t.config,t.isPro),d=t.config?.translationServices?.[Yt]?.sponsorIconUrls,g=i?wL(i,d):null;return Ka(s,a).map(p=>{let h=p.services.map(C=>{let y=C.config.group=="pro"&&!c,v=C.config.group=="max"&&!c,b={label:C.name,value:C.id,selected:C.selected,img:C.icon,tipText:C.tipTextKey?a(C.tipTextKey):void 0,isShowProOnly:y,isShowMaxOnly:v,isShowGoSetting:!C.ok&&!y};return C.id===Yt&&g?.length&&(b.sponsorSegments=g),b});return(!gt()||h?.length)&&p.id==="custom"&&h.push({label:a("moreTranslationServices"),value:"more",selected:!1,isShowGoSetting:!1,isShowProOnly:!1,img:vr("more")}),{...p,options:h}})},[s,t,i]);return{translationServiceItems:s,groupOptions:l,handleOnSelected:u}}function NX(e,t,n){let r=oe.bind(null),i=!!e.user,a=t.config.group,o=dg(e,a),s="",u="",l="",c=gg[a],d=r(a==="max"?"error.maxServiceDescription":"error.proServiceDescription");i?o?(s=r("notLoginPro"),u=r("upgradeToProErrorTitle",{service:t.name}),l="login"):(s=r("error.subscriptionExpiredTitle"),u=r("error.membershipServiceRequired",{service:t.name,membership:c,serviceDescription:d}),l=a==="max"?"upgradeToMax":"upgradeToPro"):(s=r("notLoginPro"),u=r("error.membershipServiceRequired",{service:t.name,membership:c,serviceDescription:d}),l=a==="max"?"loginUseMax":"loginUsePro"),_e("showErrorModal",{title:s,errMsg:u,action:l})}function ML(e){let t=e.indexOf("#");return t===-1?e:e.slice(0,t)}function IL(e){let{t}=ee(),n=e.actionsRef,{currentUrlObj:r,isAlwaysTranslateDomain:i,isNeverTranslateDomain:a,handleTranslationUrlPatternSelected:o}=FX(e),[s,u]=z(()=>a?"excludeMatches":"matches"),l=de(()=>i||a||!1,[i,a]),c=Te(d=>{u(d),l&&o(d,r.hostname)},[u,o,l]);return m("div",{class:"flex justify-between mt-5",children:[m(Ji,{style:{width:"unset",flex:"unset"},maxWidth:230,className:"transform-padding-left min-select always-translate-this-site-select",items:[{label:t("alwaysTranslateThisSite"),value:"matches",selected:s==="matches",onSelected:()=>{c("matches")}},{label:t("neverTranslateThisSite"),value:"excludeMatches",selected:s==="excludeMatches",onSelected:()=>{c("excludeMatches")}}].filter(Boolean)}),m("input",{id:"always-translate-this-site-input",type:"checkbox",role:"switch",checked:l,class:"shrink-0",onChange:d=>{let g=d.target.checked;n.current?.onReport({key:"popup_switch_translate_for_this_site",params:{popup_switch_extend_field_enabled:g?1:0,popup_switch_extend_field:s}}),o(g?s:"default",r.hostname)}})]})}function FX({currentUrl:e,ctx:t,currentLang:n,pageStatus:r,actionsRef:i}){let a=null,o=null,s=null,u=null,l=null,{translationUrlPattern:c}=t.config;if(a=de(()=>new URL(e||""),[e]),t.config&&e&&Tk(e)){o=ML(e);let{matches:f,excludeMatches:p}=c;s=!!f.find(h=>Ke(e,h)),u=!!p.find(h=>Ke(e,h))}if(n&&n!=="auto"){let{translationLanguagePattern:f}=t.config,{matches:p}=f;p.includes(n)?l=!0:l=!1}let d=Te(()=>{let f=a.hostname,p=t.localConfig.tempTranslationUrlMatches||[],h=p.filter(y=>y.match!==f),C=!1;h.length!==p.length&&(C=!0),C&&i.current?.onSetLocalConfig({...t.localConfig,tempTranslationUrlMatches:[...h]})},[]),g=Te((f,p)=>{if(f==="default"){i.current?.setSettings(y=>{let v={...y.translationUrlPattern};return{isChangedAlwaysTranslatedUrls:!0,translationUrlPattern:{matches:e9(e,v.matches),excludeMatches:e9(e,v.excludeMatches)}}}),d();return}let h=f,C=h==="matches"?"excludeMatches":"matches";a&&i.current?.setSettings(y=>{let v={...y.translationUrlPattern};return v[C]=e9(e,v[C]),v[h]=eu(p,v[h]),{isChangedAlwaysTranslatedUrls:!0,translationUrlPattern:{...v}}}),h==="matches"&&r==="Original"?setTimeout(()=>{i.current?.sendMessageToContent("translatePage")},100):h==="excludeMatches"&&r==="Translated"&&setTimeout(()=>{i.current?.sendMessageToContent("restorePage")},100)},[r,d]);return{currentUrlObj:a,currentUrlWithoutHash:o,isAlwaysTranslateDomain:s,isNeverTranslateDomain:u,isAlwaysTranslateLang:l,handleTranslationUrlPatternSelected:g}}function e9(e,t){return t?(Array.isArray(t)||(t=[t]),e?t.filter(n=>!Ke(e,n)):t):[]}function LL(e){let{t}=ee(),{ctx:n,actionsRef:r}=e,i=BX(e);return rc(n.localConfig)?i.length?m("div",{class:"flex mt-3 items-center justify-between",children:[m("div",{class:"flex items-center",children:[m("label",{class:"mb-0 mr-2 shrink-0",children:[t("mouse-translate"),":"]}),m(Ji,{style:{width:"100%",maxWidth:"100%"},className:"transform-padding-left min-select mouse-hover-translate-select",items:i})]}),m("input",{id:"mouse-hover-translate-input",type:"checkbox",role:"switch",class:"shrink-0",checked:n.config.generalRule.mouseHoverHoldKey!=="Off",onChange:a=>{let o=a.target.checked;r.current?.onReport({key:"popup_switch_mouse_translate",params:{popup_switch_extend_field_enabled:o?1:0,popup_switch_extend_field:n.config.generalRule.mouseHoverPreferenceKey||Ws[0]}}),r.current?.setSettings(s=>{let u=s.generalRule?.mouseHoverPreferenceKey||n.config.generalRule.mouseHoverPreferenceKey||Ws[0];return{generalRule:{mouseHoverHoldKey:o?u:"Off"}}})}})]}):null:m(OX,{...e})}function BX({ctx:e,actionsRef:t}){let{t:n}=ee(),r=de(()=>{let o=e.config.generalRule,s=o.mouseHoverPreferenceKey;return o.mouseHoverHoldKey!=="Off"&&s!==o.mouseHoverHoldKey&&(s=o.mouseHoverHoldKey),s},[e]),i=de(()=>Ws.filter(o=>!(o==="Off"||Ws.includes(r)&&o==="OtherCustom")),[e,r]);return de(()=>i.map(o=>{let s=n("mouseHoldKey",{key:io(o)}),u=Ws.includes(r),l=o===r;return o==="Auto"?s=n("mouseHoldKeyAuto"):o==="Off"?s=n("mouseHoldKeyOff"):o==="OtherCustom"?s=u?n("mouseHoldKeyOther"):n("mouseHoldKeyCustomKey",{key:r}):o==="Other"?s=n("mouseHoldKeyOther"):o==="MouseHoldKeyPressHold"&&(s=n("mouseHoldKeyPressHold")),u||o==="OtherCustom"&&(l=!0),{label:s,value:o,selected:l,onSelected:c=>{c.value==="Other"?t.current?.openOptionsPage(void 0,"#shortcuts"):(t.current?.onReport({key:"popup_mouse_translate_key_change",params:{new_key:String(c.value||"unknown"),old_key:String(r||"Off")}}),t.current?.setSettings(d=>{let g={...d.generalRule,mouseHoverPreferenceKey:c.value};return e.config.generalRule.mouseHoverHoldKey!=="Off"&&(g.mouseHoverHoldKey=c.value),{...d,generalRule:g}}))}}}),[i,r])}function OX(e){let{ctx:t,actionsRef:n}=e,{t:r}=ee(),i=t.config.generalRule,a=Object.keys(gb).filter(l=>l!="touchShortcutsOff"),o=i.touchShortcutsToggleTranslateTouchElement,s=i.touchShortcutsToggleTranslateTouchElementPreferenceKey,u=s||"touchShortcutsOff";return o!=="touchShortcutsOff"&&o!==s&&(u=o),m("div",{class:"flex mt-3 items-center justify-between",children:[m("div",{class:"flex items-center",children:[m("label",{class:"mb-0 mr-2 shrink-0",children:[r("touch.mouse-translate"),":"]}),m(Ji,{style:{width:"100%",maxWidth:"100%"},className:"transform-padding-left min-select",items:a.map((l,c)=>({value:l,label:r(l),selected:l==u,onSelected(d){n.current?.onReport({key:"popup_touch_translate_gesture_change",params:{new_gesture:String(d.value||"unknown"),old_gesture:u}}),n.current?.setSettings(g=>{let f={...g.generalRule,touchShortcutsToggleTranslateTouchElementPreferenceKey:d.value};return t.config.generalRule.touchShortcutsToggleTranslateTouchElement!=="touchShortcutsOff"&&(f.touchShortcutsToggleTranslateTouchElement=d.value),{...g,generalRule:f}})}}))})]}),m("input",{type:"checkbox",role:"switch",class:"shrink-0",checked:t.config.generalRule.touchShortcutsToggleTranslateTouchElement!=="touchShortcutsOff",onChange:l=>{let c=l.target.checked;n.current?.onReport({key:"popup_touch_translate_toggle",params:{enabled:c?1:0,touch_key:c?u||"slide.left":"touchShortcutsOff"}}),n.current?.setSettings(d=>{let g=d.generalRule?.touchShortcutsToggleTranslateTouchElementPreferenceKey||t.config.generalRule.touchShortcutsToggleTranslateTouchElementPreferenceKey||"slide.left";return{...d,generalRule:{...d.generalRule,touchShortcutsToggleTranslateTouchElement:c?g:"touchShortcutsOff"}}})}})]})}var _X=[{name:"direct",descriptionKey:"selectionTranslationTriggerModeDescriptionForDirect"},{name:"icon",descriptionKey:"selectionTranslationTriggerModeDescriptionForIcon"},{name:"mini",descriptionKey:"selectionTranslationTriggerModeDescriptionForMini"},...Gd.map(e=>({name:e,descriptionKey:"selectionTranslationShortcut"}))];function DL(e){let{t}=ee(),{ctx:n,actionsRef:r}=e;return Pe().any||Me()?null:m("div",{class:"flex mt-3 items-center justify-between",children:[m("div",{class:"flex items-center",children:[m("label",{class:"mb-0 mr-2 shrink-0",children:[t("selectionTranslation"),":"]}),m(Ji,{style:{width:"100%",maxWidth:"100%"},className:"transform-padding-left min-select mouse-hover-translate-select",items:UX(e)})]}),m("input",{id:"mouse-hover-translate-input",type:"checkbox",role:"switch",class:"shrink-0",checked:n.rule.selectionTranslation?.enable,onChange:i=>{let a=i.target.checked;r.current?.onReport({key:"popup_switch_selection_translate",params:{popup_switch_extend_field_enabled:a?1:0,popup_switch_extend_field:n.rule.selectionTranslation?.triggerMode||"icon"}}),r.current?.setSettings(o=>({...o,generalRule:{...o.generalRule,"selectionTranslation.add":{...o.generalRule?.["selectionTranslation.add"],enable:a}}}))}})]})}var UX=({ctx:e,actionsRef:t})=>{let{t:n}=ee();return _X.map(i=>({label:n(i.descriptionKey,{shortcut:io(i.name)}),value:i.name,selected:i.name===e.rule.selectionTranslation?.triggerMode,onSelected:a=>{t.current?.onReport({key:"popup_switch_selection_translate_mode",params:{popup_switch_extend_field:String(a.value||"unknown")}}),t.current?.setSettings(o=>({...o,generalRule:{...o.generalRule,"selectionTranslation.add":{...o.generalRule?.["selectionTranslation.add"],triggerMode:a.value}}}))}}))};function PL(e){let{isAlwaysTranslateLang:t}=jX({ctx:e.ctx,currentLang:e.currentLang}),{t:n}=ee(),r=e.actionsRef;if(e.currentLang!=="auto")return m("div",{class:"flex justify-between mt-3 items-center",children:[m("label",{class:"mb-0 text-overflow-ellipsis flex-1",children:n("alwaysTranslateSomeLanguage",{language:Ln(e.currentLang,e.ctx.config.interfaceLanguage,!1,!0)})}),m("input",{id:"alwaysTranslateThisLanugage",name:"alwaysTranslateThisLanugage",type:"checkbox",role:"switch",class:"shrink-0",checked:!!t,onChange:a=>{let o=a.target.checked;i(o?"matches":void 0)}})]});return m("span",{});async function i(a){if(r.current?.onReport({key:"popup_switch_always_translate_language",params:{popup_switch_extend_field:e.currentLang,popup_switch_extend_field_enabled:t?1:0}}),!a){r.current?.setSettings(u=>{let l={...u.translationLanguagePattern};return{translationLanguagePattern:{matches:vg(e.currentLang,l.matches),excludeMatches:vg(e.currentLang,l.excludeMatches)}}});return}let o=a,s=o==="matches"?"excludeMatches":"matches";e.currentLang&&r.current?.setSettings(u=>{let l={...u.translationLanguagePattern};return l[o]=eu(e.currentLang,l[o]),l[s]=vg(e.currentLang,l[s]),{...u,translationLanguagePattern:{...u.translationLanguagePattern,...l}}}),o==="matches"&&e.pageStatus==="Original"&&r.current?.sendMessageToContent("translatePage")}}function jX({ctx:e,currentLang:t}){let n=null;if(t&&t!=="auto"){let{translationLanguagePattern:r}=e.config,{matches:i}=r;i.includes(t)?n=!0:n=!1}return{isAlwaysTranslateLang:n}}function NL({type:e,isHiddenProSafari:t,config:n,ctx:r,actionsRef:i}){let{t:a}=ee(),o=lt(),s=nu(r)||Pe().any,u=de(()=>{let l=[{title:a("widget.translateFile"),icon:m($k,{style:{marginRight:0}}),tooltipText:a("translateFileTooltip"),tooltipStyle:{left:-10,transform:"unset",fontSize:13,width:210,maxWidth:210},tooltipMultiple:!0,onClick:()=>{i.current?.onOpenUrl(j.APP_BASE_URL,`${e}_btn_document`)}},{title:a("widget.text"),icon:m(nM,{style:{marginRight:4}}),onClick:()=>{i.current?.onOpenUrl(j.TEXT_URL,`${e}_btn_text`)}}];return s?l.push({title:a("widget.helpCenter"),icon:m(iM,{style:{marginRight:4}}),onClick:()=>{i.current?.onOpenUrl(j.TUTORIAL_URL,`${e}_btn_help_center`)}}):l.push({title:a("rewardCenter.title"),icon:m(ml,{style:{marginRight:0}}),onClick:()=>{i.current?.openRewardCenter()}}),l},[o,a,t,r,s]);return t?null:m("div",{class:`widgets-container mt-5 ${u.length===2?"widgets-two-items":""}`,children:u.map(l=>l.tooltipText?m(vt,{text:l.tooltipText,containerStyle:u.length===2?{}:{flex:1},tipStyle:{...l.tooltipStyle,width:"200px",whiteSpace:"normal"},multiple:!0,children:m(RL,{...l})}):m(RL,{...l}))})}function RL(e){return m("div",{class:"widget-item",onClick:e.onClick,title:e.title,children:[e.icon,m("span",{class:"widget-icon-text",children:e.title})]})}var zX=["bing","transmart","google","yandex"];function BL(e){let{t}=ee();if(!e.showTrialPro)return null;let{actionsRef:n}=e;return m("div",{class:"trial-pro-container",children:[m("label",{class:"mb-0",children:t("popup.trial_pro_service")}),m("img",{src:Cr,className:"cursor-pointer",onClick:r=>{n.current?.onOpenUrl(j.PRICING_URL,`${e.type}_trial_pro_service_logo`)}}),m("div",{class:"flex-1"}),m("input",{type:"checkbox",role:"switch",class:"shrink-0",checked:!1,onChange:r=>{n.current?.onOpenUrl(j.PRICING_URL,`${e.type}_trial_pro_service`)}})]})}var FL="popup_trial_pro_show_count";function OL(e){let{ctx:t,isHidden:n,isProUser:r}=e,[i,a]=z(null),o=$(!1);G(()=>{le.getValue(FL,0).then(u=>{a(u)})},[]);let s=de(()=>{if(n||r||i==null||!t.config.popupConfig.enableTrialPro)return!1;let u=t.config.popupConfig.trialProShowLimit;if(i>=u)return!1;let l=t.translationService;return!!zX.includes(l)},[t,n,r,i]);return G(()=>{!s||i==null||o.current||(o.current=!0,le.setValue(FL,i+1))},[s,i,o]),{showTrialPro:s}}var kp="DROP_DOWN_DEFAULT_VALUE";function t9(e){let{showArrow:t,onSelected:n,className:r,menus:i,maxWidth:a,style:o,onClick:s}=e;r=r||"",t=t??!0,a=a||80;let u=$(null);return m("select",{id:"more-select",ref:u,autoComplete:"off",class:`min-select ${t?"":"min-select-no-arrow"} ${r||""}`,value:kp,style:{maxWidth:`${a}px`,...o},onClick:s,onChange:l=>{l.preventDefault();let c=l.target.value;if(u.current&&c!==kp){u.current.value=kp,u.current?.dispatchEvent(new Event("change"));let d=i.find(g=>g.value===c);d&&n(d)}},children:[{value:kp,label:e.label}].concat(i).map((l,c)=>m("option",{value:l.value,children:l.label},"option-"+c))})}var Mi=[],Sl=null,XDe=1e3*3600*24;async function n9(e,t){return await new Promise((n,r)=>{let i=e,a=1,o=indexedDB.open(i,a);o.onsuccess=s=>{n(o.result)},o.onerror=s=>{r()},o.onupgradeneeded=s=>{let u=o.result;(t||["cache"]).forEach(c=>{u.objectStoreNames.contains(c)||u.createObjectStore(c,{keyPath:"key"})})}})}async function HX(e){let t="cache_list",n=await n9(U+"-cacheList",["cache_list"]),i=n.transaction([t],"readwrite").objectStore(t).put({key:e});i.onsuccess=a=>{n.close(),Mi.push(e),Sl?Sl.add(e):Sl=new Set(Mi),k.info(`[DB] \u5DF2\u767B\u8BB0\u7F13\u5B58\u5E93: ${e}`)},i.onerror=a=>{n.close(),k.error(`[DB] \u767B\u8BB0\u7F13\u5B58\u5E93\u5931\u8D25: ${e}`,a)}}async function VX(){return Mi&&Mi.length>0||(Mi=await qX(),Sl=new Set(Mi)),Mi}async function _L(){if(typeof indexedDB.databases!="function")return[];try{return(await indexedDB.databases()).map(t=>t.name).filter(t=>typeof t=="string"&&t.length>0)}catch(e){return k.error("[DB] \u5217\u51FA\u7F13\u5B58\u5E93\u5931\u8D25",e),[]}}async function GX(e){let t=null;try{t=await new Promise((r,i)=>{let a=indexedDB.open(e);a.onsuccess=()=>r(a.result),a.onerror=()=>i(a.error)});let n=Array.from(t.objectStoreNames);if(!n.length)return!0;for(let r of n)if(await new Promise(a=>{try{let u=t.transaction(r,"readonly").objectStore(r).count();u.onsuccess=()=>a((u.result||0)>0),u.onerror=()=>a(!0)}catch{a(!0)}}))return!1;return!0}catch(n){return k.error(`[DB] \u68C0\u67E5\u7F13\u5B58\u5E93\u5931\u8D25: ${e}`,n),!1}finally{t?.close()}}async function WX(e){try{let t=await _L();if(!t.length)return[];let n=new Set(e),r=`${U}-`,i=t.filter(s=>!(!s||!s.startsWith(r)||s===`${U}-cacheList`||n.has(s))),a=5,o=[];for(let s=0;s<i.length;s+=a){let u=i.slice(s,s+a);(await Promise.all(u.map(c=>GX(c)))).forEach((c,d)=>{o.push({name:u[d],isEmpty:c})})}if(o.length){let s=o.filter(l=>l.isEmpty).map(l=>l.name),u=o.filter(l=>!l.isEmpty).map(l=>l.name);s.length&&k.warn(`[DB] \u53D1\u73B0\u672A\u767B\u8BB0\u7684\u7A7A\u7F13\u5B58\u5E93 ${s.length} \u4E2A: ${s.join(", ")}`),u.length&&k.warn(`[DB] \u53D1\u73B0\u672A\u767B\u8BB0\u4F46\u4ECD\u6709\u6570\u636E\u7684\u7F13\u5B58\u5E93 ${u.length} \u4E2A: ${u.join(", ")}`)}else k.debug("[DB] \u672A\u53D1\u73B0\u989D\u5916\u7F13\u5B58\u5E93");return o}catch(t){return k.error("[DB] \u626B\u63CF\u7A7A\u7F13\u5B58\u5E93\u5931\u8D25",t),[]}}async function qX(){let e=await n9(U+"-cacheList",["cache_list"]);try{let n=(await new Promise(r=>{let a=e.transaction(["cache_list"],"readonly").objectStore("cache_list").getAllKeys();a.onsuccess=()=>{r(a.result||[])},a.onerror=o=>{k.error("[DB] \u8BFB\u53D6 cache_list \u5931\u8D25",o),r([])}})).filter(r=>typeof r=="string"&&r.length>0);if(typeof indexedDB.databases=="function"){let r=await _L();if(r.length){let i=new Set(r),a=n.filter(u=>!i.has(u));a.length&&(await UL(a),k.warn(`[DB] \u6E05\u7406 cache_list \u9057\u7559\u5E93\u540D: ${a.join(", ")}`),n=n.filter(u=>i.has(u)));let o=`${U}-`,s=r.filter(u=>typeof u=="string"&&u.startsWith(o)&&u!==`${U}-cacheList`&&!n.includes(u));for(let u of s)await HX(u),k.warn(`[DB] \u53D1\u73B0\u672A\u767B\u8BB0\u4F46\u5B58\u5728\u7684\u7F13\u5B58\u5E93\uFF0C\u5DF2\u8865\u767B\u8BB0: ${u}`),n.push(u)}}return k.debug(`[DB] \u5F53\u524D\u767B\u8BB0\u7684\u7F13\u5B58\u5E93\u6570\u91CF: ${n.length}`),n}finally{e.close()}}async function UL(e){if(!e.length)return;let t=await n9(U+"-cacheList",["cache_list"]);try{let n=t.transaction(["cache_list"],"readwrite"),r=n.objectStore("cache_list");for(let i of e)r.delete(i);await new Promise((i,a)=>{n.oncomplete=()=>i(),n.onerror=()=>a(n.error)})}catch(n){k.error("[DB] \u79FB\u9664\u7F13\u5B58\u5E93\u767B\u8BB0\u5931\u8D25",n)}finally{t.close()}for(let n of e){let r=Mi.indexOf(n);r!==-1&&Mi.splice(r,1),Sl?.delete(n)}k.info(`[DB] \u5DF2\u79FB\u9664\u7F13\u5B58\u5E93\u767B\u8BB0: ${e.join(", ")}`)}async function jL(){try{let e=await VX(),n=(await WX(e)).map(o=>o.name),r=Array.from(new Set([...e,...n]));k.info(`[DB] \u5F00\u59CB\u6E05\u7406\u7F13\u5B58\u5E93\uFF0C\u603B\u8BA1 ${r.length} \u4E2A`);let i=r.map(o=>KX(o));return(await Promise.all(i)).every(o=>o)?(await UL(r),Mi=[],Sl=new Set,k.info("[DB] \u6E05\u7406\u7F13\u5B58\u5E93\u5B8C\u6210"),!0):(k.warn("[DB] \u6E05\u7406\u7F13\u5B58\u5E93\u90E8\u5206\u5931\u8D25"),!1)}catch(e){return k.error("[DB] \u6E05\u7406\u7F13\u5B58\u5E93\u51FA\u9519",e),!1}}async function KX(e){return await new Promise(t=>{let n=indexedDB.deleteDatabase(e);n.onsuccess=()=>{t(!0)},n.onerror=r=>{t(!1)}})}async function r9(){let e=["bingGlobalConfig","baiduGlobalConfig",_5,U5];for(let t of e)await Ie.local.remove(t);Me()||await jL(),await le.clear()}function HL(e){let{t,lang:n}=ee(),r=48,{defaultMenus:i}=QX(e),{configMenus:a,hasNewMenu:o,handleShowMenu:s}=YX(e),u=de(()=>[...a,...i],[i,a]);if(!u.length)return null;return n.startsWith("zh")||(r=Math.min(80,t("more").length*8+22),r=Math.max(r,48)),m("footer",{children:m("div",{class:"px-3 py-2-5 text-sm flex  items-center justify-between popup-footer",children:[m("div",{class:"setting flex flex-row items-center justify-center secondary clickable",onClick:l,children:[m(Yf,{style:{width:"16px",height:"16px"}}),m("span",{class:"ml-1 text-gray-6",children:t("options")})]}),m(ZX,{ctx:e.ctx,actionsRef:e.actionsRef}),m("div",{class:"more-container",children:[m(t9,{label:t("more"),showArrow:!0,maxWidth:r,className:"text-gray-6 more",onSelected:c=>{c?.onClick?.()},menus:u,onClick:()=>{s()}}),o?m("div",{class:"new-menu-indicator"}):null]})]})});function l(c){c.preventDefault(),e.actionsRef.current?.openOptionsPage()}}var zL="POPUP_MORE_MENUS_SHOW_KEYS";function QX(e){let{isProUser:t,isShowPricing:n,ctx:r,isHiddenProSafari:i,isLogin:a,actionsRef:o}=e,{config:s}=e.ctx,{t:u}=ee(),l=h=>{o.current?.setSettings(()=>(setTimeout(()=>o.current?.sendMessageToContent("translatePage"),100),{generalRule:{"preTranslateLimiter.add":{"side.enableTranslate":h}}}))},c=`${e.type}_more`,d=s.generalRule.preTranslateLimiter?.["side.enableTranslate"],g=Te(h=>{r&&(o.current?.setSettings(C=>va({...C},h)),o.current?.sendMessageToContent("updateFloatBallEnable",!0,h.enable))},[r,o]),f=_c(r,s.rawUserConfig);return{defaultMenus:de(()=>f?[{label:"\u{1F4D9} "+u("widget.instruction"),value:"openInstruction",onClick:()=>{o.current?.onOpenUrl(j.DOC_USAGE_URL,c)}},{label:"\u{1F524} "+u("changeToOnlyTranslationMode"),value:"changeToOnlyTranslationMode",visible:e.ctx.state.translationMode==="dual",onClick:()=>{o.current?.sendMessageToContent("switchTranslationMode",!0,{mode:"translation"})}},{label:"\u{1F521} "+u("changeToDualTranslationMode"),value:"changeToDualTranslationMode",visible:e.ctx.state.translationMode==="translation",onClick:()=>{o.current?.sendMessageToContent("switchTranslationMode",!0,{mode:"dual"})}},{label:"\u{1F480} "+u("changeToTranslateTheWholePage"),value:"changeToTranslateTheWholePage",visible:s.translationArea==="main",onClick:()=>{o.current?.setSettings(h=>({...h,translationArea:"body"})),o.current?.sendMessageToContent("translateTheWholePage")}},{label:"\u{1F4D6} "+u("changeToTranslateTheMainPage"),value:"changeToTranslateTheMainPage",visible:s.translationArea==="body",onClick:()=>{o.current?.setSettings(h=>({...h,translationArea:"main"})),o.current?.sendMessageToContent("translateTheMainPage")}},{label:`\u{1F4AA} ${u(d?"disableNavTranslate":"enableNavTranslate")}`,value:"switchNavEnableTranslate",visible:s.translationArea==="main",onClick:()=>{l(!d)}},{label:"\u26A1 "+u("translateToThePageEndImmediately"),value:"translateToThePageEndImmediately",onClick:()=>{o.current?.sendMessageToContent("translateToThePageEndImmediately")}},{label:"\u{1F4D8} "+u("browser.openEbookViewer"),value:"openEbookViewer",onClick:()=>{o.current?.onOpenUrl(j.EBOOK_VIEWER_URL,c)}},{label:"\u{1F4DA} "+u("browser.openEbookBuilder"),value:"openEbookBuilder",onClick:()=>{o.current?.onOpenUrl(j.EBOOK_BUILDER_URL,c)}},{label:"\u{1F4D5} "+u("browser.babelDOC"),value:"babelDOC",onClick:()=>{o.current?.onOpenUrl(j.BABELDOC_URL,`${e.type}_more_babeldoc`)}},{label:"\u{1F4C1} "+u("browser.translateLocalPdfFile"),value:"translateLocalPdfFile",onClick:()=>{o.current?.onOpenUrl(j.PDF_VIEWER_URL,`${e.type}_more_pdf`)}},{label:"\u2747\uFE0F "+u("browser.PdfProFile"),value:"pdfProFile",onClick:()=>{o.current?.onOpenUrl(j.PDF_PRO_URL,`${e.type}_more_pdfpro`)}},{label:"\u{1F310} "+u("browser.translateLocalHtmlFile"),value:"translateLocalHtmlFile",onClick:()=>{o.current?.onOpenUrl(j.HTML_VIEWER_URL,c)}},{label:"\u{1F4FA} "+u("browser.translateLocalSubtitleFile"),value:"translateLocalSubtitleFile",onClick:()=>{o.current?.onOpenUrl(j.SUBTITLE_BUILDER_URL,c)}},{label:"\u2B55 "+u("floatBallOptions.disable"),value:"disableFloatBall",visible:f?.enable,onClick:()=>{g({...f,enable:!1})}},{label:"\u2B55 "+u("floatBallOptions.enable"),value:"enableFloatBall",visible:!f?.enable,onClick:()=>{g({...f,enable:!0})}},{label:"\u{1F58C}\uFE0F "+(s.enableEditTranslation?u("disableEditTranslation"):u("enableEditTranslation")),value:"editTranslation",onClick:()=>{s.enableEditTranslation=!s.enableEditTranslation,o.current?.sendMessageToContent("toggleEnableEditTranslation",!0,!!s.enableEditTranslation)}},{label:"\u{1F451} "+u("upgradeToPro"),value:"goPro",visible:!t&&n,onClick:()=>{o.current?.onOpenUrl(j.PRICING_URL,c)}},{label:"\u{1F9F9} "+u("widget.cache"),value:"cleanCache",onClick:()=>{r9().then(()=>o.current?.onClose())}},{label:"\u{1F4AC} "+u("widget.webReport"),value:"webReport",onClick:()=>{_e("webReport")}},{label:"\u{1F44D} "+u("widget.storeReview"),value:"storeReview",visible:qn()||da(),onClick:()=>{o.current?.onReport({key:"click_good_review"}),da()?o.current?.onOpenUrl(j.Edge_Store_Url):o.current?.onOpenUrl(j.Chrome_Store_Url)}},{label:"\u2764\uFE0F "+u(n?"aboutLabel":"aboutLabelWithoutSponsor"),value:"about",onClick:()=>{o.current?.openAboutPage()}}].filter(h=>i&&h instanceof Object&&["openEbookViewer","openEbookBuilder","translateLocalPdfFile","pdfProFile","translateLocalHtmlFile","translateLocalSubtitleFile"].includes(h.value)?!1:h.visible||h.visible===void 0):[],[f,u,e])}}function YX(e){let{isProUser:t,isLogin:n,actionsRef:r}=e,{config:i}=e.ctx,a=JX(n,t),[o,s]=z();G(()=>{Qr(zL,[]).then(d=>{s(d)})},[]);let u=de(()=>{let d=i.popupMoreMenus?.filter(f=>{let p=new Date().getTime(),h=new Date(f.startTime).getTime(),C=new Date(f.endTime).getTime();return p<h||p>C||f.interfaceLanguages&&!f.interfaceLanguages?.includes(i.interfaceLanguage)?!1:f.userType==="all"?!0:f.userType.includes(a)});return d?d.map(f=>({label:f.i18n[i.interfaceLanguage]||f.i18n.en,value:f.key,onClick:()=>{r.current?.onOpenUrl(f.targetUrl)}})):[]},[i,a]),l=de(()=>!u.length||!o?!1:u.some(d=>!o.includes(d.value)),[u,o]);return{configMenus:u,hasNewMenu:l,handleShowMenu:()=>{if(!o||!u.length)return;let d=u.map(f=>f.value),g=[...new Set([...o,...d])];s(g),Ga(zL,g)}}}function ZX({ctx:e,actionsRef:t}){let{t:n}=ee();return m("div",{class:"flex",children:m("span",{style:{cursor:"pointer"},class:`${U}-no-select text-sm text-gray-c2`,onClick:r=>{r.preventDefault(),dv(`${j.BASE_SITE}changelog/`)},children:[X8(e.config),e.config.enabled?null:m("a",{href:"#",onClick:()=>{t.current?.onToggleEnabled()},children:[" ","(",n("hasBeenDisabled"),")"]})]})})}function JX(e,t){return e?t?"pro":"normal":"guest"}async function El(e){let t=await pr();if(t.confirmSupportMouse==null){if(!e&&uh(!0)){ni({...t,confirmSupportMouse:!0});return}e&&uh(!1)&&ni({...t,confirmSupportMouse:!1})}}var q0="[prop]",i9=["userTranslationServices","targetLanguage","interfaceLanguage","translationArea","translationStartMode","rules","generalRule","translationUrlPattern","translationLanguagePattern","sourceLanguageUrlPattern","translationTheme","translationThemePatterns","selectTranslationFont","translationServices","aiAssistantIds","monkeyH5FloatBall","pcFloatBall","blockUrls"],XX=["proSyncAPIKey","accountLastSyncedAt","localUpdatedAt","updatedAt","override","revision","isChangedAlwaysTranslatedUrls","DEBUG","aiAssistantIds","translationServiceChangedbyUserAt","h5FloatBallMainBtnTooltipShownCount","pcFloatBallMainBtnTooltipShownCount","notificationShowTimes","protocolAgreeVersion","userTranslationServices"],VL=new Map(i9.map((e,t)=>[String(e),t])),GL=(e,t)=>e.sort((n,r)=>{let i=VL.get(n)??Number.MAX_SAFE_INTEGER,a=VL.get(r)??Number.MAX_SAFE_INTEGER;return i!==a?i-a:n.localeCompare(r)});function Ip(e,t,n){let r=oe;if(KL(n.local)===0&&KL(n.remote)===0)return Promise.resolve("noupdate");let i=WL(e.localUpdatedAt),a=WL(t.updatedAt),o=u(n.remote),s=u(n.local);return new Promise((l,c)=>{se({key:"show-config-conflict"}),Rt({width:450,render:({close:d})=>m("div",{class:`${U}-config-conflict`,children:[m(Rn,{close:d,children:r("configConflict.importTitle")}),m("div",{class:"imt-conflict-diff",children:[m("div",{class:"imt-conflict-row",children:[m("button",{className:`${U}-btn imt-conflict-action-btn`,onClick:()=>{l("localOverrideRemote"),se({key:"select-config-conflict",params:{trigger:"local"}}),d()},children:r("configConflict.currentLabel")}),i&&m("span",{class:"imt-conflict-timestamp",children:i})]}),m("div",{class:"imt-conflict-cell",children:m("pre",{class:"imt-conflict-pre",children:t0(qL(s,i9),0,!0,GL)})}),m("div",{class:"imt-conflict-row",children:[m("button",{className:`${U}-btn imt-conflict-action-btn`,onClick:()=>{l("remoteOverrideLocal"),se({key:"select-config-conflict",params:{trigger:"remote"}}),d()},children:r("configConflict.importedLabel")}),a&&m("span",{class:"imt-conflict-timestamp",children:a})]}),m("div",{class:"imt-conflict-cell",children:m("pre",{class:"imt-conflict-pre",children:t0(qL(o,i9),0,!0,GL)})})]})]}),styles:`
.${U}-config-conflict {
  height: 800px;
  border-radius: 8px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: scroll;
  color: var(--c-33);
}

.imt-conflict-diff {
  font-size: 10px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  margin-bottom: var(--space-8)
}

.imt-conflict-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 0;
}

.imt-conflict-action-btn {
  margin: 0 !important;
}

.imt-conflict-timestamp {
  font-size: 11px;
  color: var(--c-66);
  white-space: nowrap;
}

.imt-conflict-cell {
  flex: 1;
  padding: 8px;
  border: 1px solid var(--c-e6);
  border-radius: 8px;
  overflow-y: auto;
  min-height: 0;
  flex-basis: 0;
  margin: 8px 0;
  background: var(--s-1);
}

.imt-conflict-pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}
      `})});function u(l){return l.filter(({key:c})=>!XX.includes(c))}}var WL=e=>e?new Date(e).toLocaleString("zh-CN",{timeZone:"Asia/Shanghai"}):"";function K0(e,t){let n=QL(e),r=QL(t),i=[],a=[];function o(s,u,l=""){let c=new Set([...Object.keys(s||{}),...Object.keys(u||{})]);for(let d of c){let g=l?`${l}${q0}${d}`:d,f=s?s[d]:void 0,p=u?u[d]:void 0;Array.isArray(f)&&Array.isArray(p)?YL(f,p)||(i.push({key:g,value:f,type:"not"}),a.push({key:g,value:p,type:"not"})):Mp(f)&&Mp(p)?o(f,p,g):f!==void 0&&p!==void 0&&!o9(f,p)?(i.push({key:g,value:f,type:"not"}),a.push({key:g,value:p,type:"not"})):f!==void 0&&p===void 0?i.push({key:g,value:f,type:"miss"}):f===void 0&&p!==void 0&&a.push({key:g,value:p,type:"miss"})}}return o(n,r),{local:i,remote:a}}function a9(e,t,n){let r=$X(e);return n&&n[t].forEach(({key:i,value:a})=>{let o=i.split(q0),s=r;for(let c=0;c<o.length-1;c++){let d=o[c],g=o[c+1],f=g!==void 0&&/^\d+$/.test(g),p=s[d];(p==null||typeof p!="object"||Array.isArray(p)!==f)&&(s[d]=f?[]:{}),s=s[d]}let u=o[o.length-1],l=/^\d+$/.test(u)?Number(u):u;s[l]=a}),r}function o9(e,t){if(Array.isArray(e)&&Array.isArray(t))return YL(e,t);if(Mp(e)&&Mp(t)){let n=new Set([...Object.keys(e),...Object.keys(t)]);for(let r of n)if(!o9(e[r],t[r]))return!1;return!0}return Object.is(e,t)}function YL(e,t){if(e.length!==t.length)return!1;let n=new Array(t.length).fill(!1);return e.every(r=>{let i=t.findIndex((a,o)=>!n[o]&&o9(r,a));return i===-1?!1:(n[i]=!0,!0)})}function Mp(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function qL(e,t){return e.sort((n,r)=>{let i=n.type,a=r.type;if(i!==a)return i==="not"?-1:1;let o=n.key.split(q0)[0],s=r.key.split(q0)[0],u=t.indexOf(o),l=t.indexOf(s);return u!==l?u-l:o.localeCompare(s)}).map(({key:n,value:r})=>({[n.split(q0).reverse()[0]]:r}))}function KL(e){return e.length}function s9(e){return delete e.localUpdatedAt,delete e.DEBUG,delete e.conflictNeedConfirm,e}function QL(e){let t=JSON.parse(JSON.stringify(e));return s9(t),t}function $X(e){let t=globalThis.structuredClone;return typeof t=="function"?t(e):JSON.parse(JSON.stringify(e))}var wl=null;async function JL(e,t=ws,n){let r=await t(e);if(r=="noupdate")return r;let i=await pt();return n?.(i,{syncToRemote:!1}),r}async function ws(e,t){let n="noupdate",r=null,i=null;try{return!await Lp()||(r=await eD(t?.useCache),!r)?n:(i=K0(e,r),e.conflictNeedConfirm?(n=await n$(e,r,i),n):(n=await t$(e,r,i),n))}finally{if(n!="noupdate"&&e$(),r&&n==="remoteOverrideLocal"&&await ZL(r,e),r&&n=="remoteMergeToLocal"){let a=await a9(e,"remote",i)||r;await ZL(a,e)}if(n==="localOverrideRemote"&&await u9(e,r),n=="localMergeToRemote"){let a=await a9(r||{},"local",i)||e;await u9(a,r)}}}async function e$(){let e=await Sn();e.accountLastSyncedAt=Date.now(),await ti(e)}async function Al(e){try{if(!await Lp())return;let t=await eD(!0);return t?(K0(e,t).local.some(i=>i.key==="translationMode")&&await o$(e),await u9(e,t)):void 0}catch(t){return k.error(t),"noupdate"}}async function XL(e){let t=await pt();return t.DEBUG&&(e.DEBUG=t.DEBUG),await bt(e),e}function t$(e,t,n){let r=n.local,i=n.remote,a=t.isChangedAlwaysTranslatedUrls===!0&&e.isChangedAlwaysTranslatedUrls!==!0&&i.some(g=>g.key.startsWith("translationUrlPattern")),o=i.every(g=>g.type!=="miss"||g.key!="reversion")&&Object.keys(t).length<=Zd;if(r.length==0&&i.length==0)return"noupdate";let s=e.localUpdatedAt||e.updatedAt||"",u=t.updatedAt||"",l=new Date(s).getTime(),c=new Date(u).getTime(),d="localMergeToRemote";return a&&(d="remoteMergeToLocal"),c>l&&(o?d="remoteOverrideLocal":d="remoteMergeToLocal"),d}async function n$(e,t,n){let r=n.local,i=n.remote,a=r.length,o=i.length;return a===0&&o===0?"noupdate":a===0&&o>0?"remoteOverrideLocal":a>0&&o===0?"localOverrideRemote":Fd()?"noupdate":await Ip(e,t,n)}async function ZL(e,t){if(!await Lp())return;let n={...e};delete n.terms,delete n.conflictNeedConfirm,LA(n.proSyncAPIKey,t,n),await IA(n);let r=r$(n,t);await XL(r),await Dy(t)}async function u9(e,t){if(!await Lp())return;let n=await $L(e);await a$(n),delete e.conflictNeedConfirm,await XL(e),t&&await Dy(t)}async function $L(e){let t=await ol(e.proSyncAPIKey,e);return s9(t),t}function r$(e,t){let n={...e};return b5.forEach(i=>{r(i)}),n;function r(i){if(!e.userTranslationServices||!e.userTranslationServices[i])return;!i$(e.translationServices||{},e.userTranslationServices[i])&&n.userTranslationServices&&t.userTranslationServices&&(n.userTranslationServices[i]=t.userTranslationServices[i])}}function i$(e,t){if(!t)return!0;let n=Object.keys(bn().translationServices).find(r=>t==r);return!n&&t?e[t]?.type:n}async function eD(e){if(!await Ir())return wl=null,null;if(e&&wl)return wl;try{let t=await St.get("v1/user/settings");return wl=t,t}catch(t){return k.error(t),wl=null,null}}async function a$(e){let t=await $L(e);return St.post("v1/user/settings",t).then(n=>(wl=n,n))}async function Lp(){return!(!await Ir()||(await Sn()).proAutoSync==!1)}async function o$(e){let t=await Xo();t&&(t.translationMode=e.translationMode,await n3(t))}function Q0(e){try{if(!e.discountActivity||!e.discountActivity.enable)return null;let t=new Date(e.discountActivity.start).getTime(),n=new Date(e.discountActivity.end).getTime(),r=Date.now();if(r<t||r>n||!t||!n)return null;let i=e.interfaceLanguage;return e.discountActivity.title=e.discountActivity.titleI18n[i]||e.discountActivity.titleI18n.en,e.discountActivity.tips=e.discountActivity.tipsI18n[i]||e.discountActivity.tipsI18n.en,e.discountActivity}catch{}}var s$=({content:e,children:t,position:n="bottom",containerStyle:r,containerClass:i,width:a,delay:o=200,disable:s,enableMobile:u=!1,contentStyle:l,hidden:c,onHidden:d,onShow:g,onClick:f,class:p,autoAdjust:h=!0,backgroundColor:C="#ffffff",showShadow:y=!0,zIndex:v=1e3})=>{let[b,x]=z(!1),T=$(null),S=$(null),E=$(null),A=()=>{s||!u&&(Pe().any||_n())||(S.current&&clearTimeout(S.current),S.current=setTimeout(()=>{x(!0),g?.()},o))},M=()=>{(Pe().any||_n())&&(E.current&&clearTimeout(E.current),E.current=setTimeout(()=>{P()},3e3))},P=()=>{S.current&&clearTimeout(S.current),E.current&&clearTimeout(E.current),x(!1),d?.()},B=de(()=>({backgroundColor:C,borderRadius:"14px",padding:"14px",fontSize:"14px",lineHeight:"1.4",maxWidth:"300px",...y&&{boxShadow:"0 5px 24px 0 rgba(0, 0, 0, 0.08)",border:"1px solid #FAFBFB"},...a&&{width:`${a}px`},...l}),[C,y,a,l]),O=de(()=>{let L={position:"absolute",zIndex:v,transition:"opacity 0.2s ease-in-out, visibility 0.2s ease-in-out",pointerEvents:b?"auto":"none"},D=8;switch(n){case"top":return{...L,bottom:`calc(100% + ${D}px)`,left:"50%",transform:"translateX(-50%)"};case"bottom":return{...L,top:`calc(100% + ${D}px)`,left:"50%",transform:"translateX(-50%)"};case"left":return{...L,right:`calc(100% + ${D}px)`,top:"50%",transform:"translateY(-50%)"};case"right":return{...L,left:`calc(100% + ${D}px)`,top:"50%",transform:"translateY(-50%)"};default:return L}},[n,b,v]),R=_f({floatingRef:T,containerSelector:".popup-container",baseStyle:O,dependencies:[b,e]}),_=h?{...O,...R}:O,F=()=>typeof e=="string"?ef()?m("div",{children:e}):m("div",{dangerouslySetInnerHTML:{__html:e}}):e;return m("div",{class:`${p??""} ${i??""}`,onMouseEnter:A,onMouseLeave:P,onTouchStart:()=>{u&&A()},onTouchEnd:()=>{u&&M()},style:{position:"relative",display:"inline-block",...r,opacity:c?0:1},onClick:f,children:[t,b&&m("div",{ref:T,style:_,children:m("div",{style:B,children:F()})})]})},tD=s$;function l9({ctx:e}){let{t}=ee(),{showDownloadApp:n,setShowDownloadApp:r,qrCodeString:i}=u$(e),a=()=>{Pe().any&&globalThis.open(e.config.downloadAppUrl,"_blank")},o=async s=>{s?.stopPropagation(),r(!1),await Nr("downloadAppClosed",!0)};return!n||gt()?null:m(tD,{content:m("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},dangerouslySetInnerHTML:{__html:i}}),position:"bottom",width:160,delay:100,backgroundColor:"#ffffff",enableMobile:!1,children:m("div",{class:"download-app",onClick:a,children:[m(hM,{}),m("span",{children:t("popup.downloadApp")}),m(yM,{onClick:o})]})})}function u$(e){let[t,n]=z(!1),[r,i]=z(null);return G(()=>{Xn("downloadAppClosed").then(({userValue:a,localValue:o})=>{let s=!Pe().any,u=!1;s&&(u=!0),!s&&Me()&&!Ze()&&(u=!0),!(!u||a||o)&&(s?(e.config.downloadAppQrCode&&n(!0),fetch(e.config.downloadAppQrCode).then(c=>c.text()).then(c=>{if(c.includes("<html")){n(!1);return}i(c)}).catch(c=>{n(!1)})):e.config.downloadAppUrl&&n(!0))})},[e.config.downloadAppQrCode,e.config.downloadAppUrl]),{showDownloadApp:t,setShowDownloadApp:n,qrCodeString:r}}var nD=1e3*60*60*24;function Dp(e){let{user:t,config:n}=e;return Q0(n)||!t||!n?.enableNewUserActivity||t.subscription?!1:rD(t.createTime)>new Date(Date.now()-nD)}function rD(e){return e.endsWith("Z")?new Date(e):new Date(e+"Z")}function Pp(e){return e?rD(e.createTime).getTime()+nD:0}function iD(e){let{ctx:t,user:n,isProUser:r,config:i,actionsRef:a}=e,{t:o}=ee(),s=de(()=>{let u=Q0(i),l=Dp({user:e.user,config:i});return u||l?{enable:!0,type:u?"discount":"new_user",title:u?.title||o("newUserActivity.title"),endTime:u?.enable?void 0:Pp(n),openUrl:u?.popupUrl}:null},[e.config,e.user,o]);return m("div",{class:"flex items-center justify-between ml-1",style:{height:28},children:[m("div",{class:"flex items-center",children:[m(l$,{isLogin:!!n,type:e.type,actionsRef:a}),!s?.enable&&m(c$,{isProUser:!!r,isMaxUser:!!t.isMax,isTeamUser:!!t.isTeam,config:i,type:e.type,actionsRef:a})]}),!s?.enable&&m(l9,{ctx:t}),m(d$,{isShowAct:s?.enable,text:s?.title||"",endTime:s?.endTime,onClick:()=>{if(tc()){xr.openPage({path:"vip"});return}if(s?.openUrl){a.current?.onOpenUrl(s.openUrl);return}a.current?.onOpenUrl(j.PRICING_URL,`${e.type}_new_user`)}})]})}function l$(e){let{isLogin:t,actionsRef:n}=e,{t:r}=ee();return m("a",{class:"flex items-center text-decoration-none cursor-pointer",target:"_blank",onClick:i=>{if(i.preventDefault(),t){n.current?.onOpenUrl(j.USER_PROFILE_URL,`${e.type}_user_info`);return}n.current?.onOpenUrl(j.USER_LOGIN_URL,`${e.type}_user_info`)},children:[m("img",{src:t?AA:wA}),m("span",{class:"text-xs ml-1 text-label",children:r(t?"loggedIn":"notLogin")})]})}function c$(e){let{t}=ee(),n=e.actionsRef;return e.isProUser?m("a",{title:t("popup.openProForPro"),target:"_blank",class:"ml-2 cursor-pointer flex items-center",onClick:r=>{r.preventDefault(),n.current?.onOpenUrl(j.USER_PROFILE_URL,`${e.type}_pro_logo`)},children:m("img",{style:{width:24,height:24},src:DA(e.isMaxUser,e.isTeamUser)})}):m("a",{class:"upgrade-pro ml-1 text-decoration-none cursor-pointer",title:t("popup.openPro"),target:"_blank",onClick:r=>{if(r.preventDefault(),tc()){xr.openPage({path:"vip"});return}n.current?.onOpenUrl(j.PRICING_URL,`${e.type}_user_upgrade`)},children:[m(lM,{}),m("span",{children:t("popup.upgrade")})]})}function d$(e){let{endTime:t,isShowAct:n,text:r,onClick:i}=e,[a,o]=z(()=>c9(t));return G(()=>{if(!n){o(0);return}let s=()=>{o(c9(t))};if(s(),c9(t)<=0)return;let u=setInterval(s,1e3);return()=>{clearInterval(u)}},[t,n]),!n||a<=0&&t||kt()||Ze()?null:m("div",{class:"activity-tips flex items-center",onClick:i,children:[m("img",{class:"activity-tips-icon",src:m$,alt:""}),m("span",{class:"countdown-container",style:t?{}:{display:"none"},children:g$(a)}),m("span",{class:"activity-tips-text",children:r})]})}function c9(e){return e?Math.max(e-Date.now(),0):0}function g$(e){let t=Math.max(Math.ceil(e/1e3),0),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60;return[n,r,i].map(a=>a.toString().padStart(2,"0")).join(":")}var m$="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggM0MxMS4zMTM3IDMgMTQgNS42ODYyOSAxNCA5QzE0IDEwLjM4NzQgMTMuNTI3MSAxMS42NjMzIDEyLjczNjMgMTIuNjc5N0MxMi43NTEyIDEyLjY5MjQgMTIuNzY2MiAxMi43MDU2IDEyLjc4MDMgMTIuNzE5N0wxMy43ODAzIDEzLjcxOTdDMTQuMDczIDE0LjAxMjYgMTQuMDczMSAxNC40ODc0IDEzLjc4MDMgMTQuNzgwM0MxMy40ODc0IDE1LjA3MzEgMTMuMDEyNiAxNS4wNzMgMTIuNzE5NyAxNC43ODAzTDExLjcxOTcgMTMuNzgwM0MxMS43MDU2IDEzLjc2NjIgMTEuNjkyNCAxMy43NTEyIDExLjY3OTcgMTMuNzM2M0MxMC42NjMzIDE0LjUyNzEgOS4zODc0NSAxNSA4IDE1QzYuNjEyMjcgMTUgNS4zMzU3NyAxNC41Mjc0IDQuMzE5MzQgMTMuNzM2M0M0LjMwNjY4IDEzLjc1MTEgNC4yOTQyNiAxMy43NjYzIDQuMjgwMjcgMTMuNzgwM0wzLjI4MDI3IDE0Ljc4MDNDMi45ODc0NCAxNS4wNzMxIDIuNTEyNjMgMTUuMDczIDIuMjE5NzMgMTQuNzgwM0MxLjkyNjgzIDE0LjQ4NzQgMS45MjY4MyAxNC4wMTI2IDIuMjE5NzMgMTMuNzE5N0wzLjIxOTczIDEyLjcxOTdDMy4yMzM3IDEyLjcwNTggMy4yNDc5NCAxMi42OTIzIDMuMjYyNyAxMi42Nzk3QzIuNDcyMTggMTEuNjYzNCAyIDEwLjM4NzIgMiA5QzIgNS42ODYyOSA0LjY4NjI5IDMgOCAzWk04IDQuNUM1LjUxNDcyIDQuNSAzLjUgNi41MTQ3MiAzLjUgOUMzLjUgMTEuNDg1MyA1LjUxNDcyIDEzLjUgOCAxMy41QzEwLjQ4NTMgMTMuNSAxMi41IDExLjQ4NTMgMTIuNSA5QzEyLjUgNi41MTQ3MiAxMC40ODUzIDQuNSA4IDQuNVpNOC4yNSA2QzguNjY0MTQgNi4wMDAwOSA5IDYuMzM1ODQgOSA2Ljc1VjkuMjVDOC45OTk5NCA5LjUwMDY2IDguODc0NTYgOS43MzQ5NSA4LjY2NjAyIDkuODc0MDJMNy4xNjYwMiAxMC44NzRDNi44MjE0NCAxMS4xMDM3IDYuMzU1NzcgMTEuMDEwNSA2LjEyNTk4IDEwLjY2NkM1Ljg5NjIzIDEwLjMyMTQgNS45ODk0MiA5Ljg1NTc2IDYuMzMzOTggOS42MjU5OEw3LjUgOC44NDc2NlY2Ljc1QzcuNSA2LjMzNTc5IDcuODM1NzkgNiA4LjI1IDZaTTMuNzgxMjUgMS4xNjQwNkM0LjEwNDU4IDAuOTA1NDQ1IDQuNTc2MTYgMC45NTgxMjggNC44MzQ5NiAxLjI4MTI1QzUuMDkzNjcgMS42MDQ3IDUuMDQxMiAyLjA3NjIyIDQuNzE3NzcgMi4zMzQ5NkwyLjIxNzc3IDQuMzM0OTZDMS44OTQzMyA0LjU5MzYzIDEuNDIyNzkgNC41NDExOSAxLjE2NDA2IDQuMjE3NzdDMC45MDU2ODcgMy44OTQzNSAwLjk1Nzk2OSAzLjQyMjcyIDEuMjgxMjUgMy4xNjQwNkwzLjc4MTI1IDEuMTY0MDZaTTExLjE2NDEgMS4yODEyNUMxMS40MjI3IDAuOTU3OTY5IDExLjg5NDMgMC45MDU2ODcgMTIuMjE3OCAxLjE2NDA2TDE0LjcxNzggMy4xNjQwNkMxNS4wNDEyIDMuNDIyNzkgMTUuMDkzNiAzLjg5NDMzIDE0LjgzNSA0LjIxNzc3QzE0LjU3NjIgNC41NDEyIDE0LjEwNDcgNC41OTM2NyAxMy43ODEyIDQuMzM0OTZMMTEuMjgxMiAyLjMzNDk2QzEwLjk1ODEgMi4wNzYxNiAxMC45MDU0IDEuNjA0NTggMTEuMTY0MSAxLjI4MTI1WiIgZmlsbD0iIzMzMzMzMyIvPgo8L3N2Zz4K";function d9(e){let{config:t,ctx:n,errorMsg:r,aiContextInfo:i,actionsRef:a}=e,[o,s]=z(""),[u,l]=z(null),[c,d]=z(null),[g,f]=z(null);G(()=>{pt().then(x=>{x&&JL(x,ws,a.current?.setSettings)})},[a]),G(()=>{le.getUserInfo().then(x=>{x?(l(x),d(Mt(x))):d(!1)}).catch(x=>{d(!1)})},[]),G(()=>{n&&$u({ctx:n,usageScene:"web_page",service:n.translationService}).then(x=>{f(x),s(x?.message||"")}).catch(x=>{f(null),s("")})},[n,a]);let p=!0,h=Ot();t&&h&&(p=t.generalRule.showSponsorOnSafari);let C=yc(t,c),{showTrialPro:y}=OL({ctx:n,isHidden:C,isProUser:!!c}),v=wt(t.rtlLanguages,t.interfaceLanguage),b=zn();return m("div",{"data-theme":b,class:`popup-container ${e.className||""}`,style:e.style,dir:v?"rtl":"ltr",onTouchStart:El.bind(null,!0),onMouseDown:El.bind(null,!1),children:[m("div",{class:"popup-content text-sm",children:[m(iD,{...e,user:u,isProUser:!!c,config:t,actionsRef:a,type:e.type}),m(nI,{ctx:e.ctx,actionsRef:a,currentLang:e.currentLang}),m(AL,{isProUser:!!c,ctx:e.ctx,pageStatus:e.pageStatus,showTrialPro:y,aiContextInfo:i,actionsRef:a,dominantSponsor:e.dominantSponsor}),m(BL,{showTrialPro:y,actionsRef:a,type:e.type}),m("div",{class:"flex flex-row mt-3 items-center",children:[m(h$,{ctx:n,actionsRef:a}),m(y$,{ctx:e.ctx,pageStatus:e.pageStatus,currentUrl:e.currentUrl,disabledButton:e.disabledButton||!!g?.hardHit,actionsRef:a})]}),m("div",{class:`text-sm text-gray-9 mt-4 ml-1 ${o?"":"display-none"}`,children:o}),m("div",{class:`text-sm text-gray-9 mt-4 ml-1 ${r?"":"display-none"}`,style:{color:"#D0931D"},dangerouslySetInnerHTML:r?{__html:at.sanitize(r,{ADD_ATTR:["target"]})}:void 0}),m(yb,{isShowError:!1,actionsRef:a}),m("div",{class:"text-sm px-1 text-gray-2",children:[m(IL,{ctx:e.ctx,pageStatus:e.pageStatus,currentUrl:e.currentUrl,currentLang:e.currentLang,actionsRef:a}),m(LL,{ctx:e.ctx,actionsRef:a}),m(DL,{ctx:e.ctx,actionsRef:a}),m(PL,{ctx:n,currentLang:e.currentLang,pageStatus:e.pageStatus,actionsRef:a}),m(p$,{ctx:n,actionsRef:a}),m(f$,{ctx:n})]}),m(NL,{config:n.config,type:e.type,actionsRef:a,isHiddenProSafari:C,ctx:n})]}),m(HL,{...e,isProUser:!!c,isLogin:!!u,isShowPricing:p,setMessage:s,isHiddenProSafari:C})]})}function f$({ctx:e}){if(e.rule.imageRule?.type!="manga"||!hs(e.rule.imageRule))return null;let{t}=ee();return m("div",{class:"flex justify-between mt-3 items-center",children:m("label",{class:"mb-0",children:t("popup.mangaSiteSupport")})})}function p$(e){let{t}=ee(),{ctx:n,actionsRef:r}=e,i=n?.rule?.subtitleRule;if(!de(()=>i?!i.disabled&&Th.includes(i.type||""):!1,[n,Th,i])||!i)return null;let o=i.autoEnableSubtitle;return i.type==="youtube"&&i.youtubeAutoEnableSubtitle&&(o=!0),i.liveSubtitleRule?.isMeeting&&i.meetingAutoEnableSubtitle&&(o=!0),m("div",{class:"flex justify-between mt-3 items-center",children:[m("label",{class:"mb-0",children:t("autoEnableSubtitle")}),m("input",{type:"checkbox",role:"switch",id:"autoEnableSubtitle",name:"autoEnableSubtitle",checked:o,onChange:s=>{let u=s.target.checked;r.current?.setSettings(l=>{let c={...l.generalRule?.["subtitleRule.add"],autoEnableSubtitle:u};return i.type==="youtube"&&(c.youtubeAutoEnableSubtitle=u),i.liveSubtitleRule?.isMeeting&&(c.meetingAutoEnableSubtitle=u),{generalRule:{"subtitleRule.add":c}}}),r.current?.sendMessageToContent("autoEnableSubtitleChanged")}})]})}function h$({ctx:e,actionsRef:t}){let{t:n}=ee(),r=e.state.translationMode,i=e.config.rawUserConfig?.translationMode,a=e.rule.translationMode,o=t.current,s=()=>{let d=r==="dual"?"translation":"dual";e.state.translationMode=d,o?.setSettings(g=>({...g,translationMode:d})),o?.sendMessageToContent("switchTranslationMode",!0,{mode:d})};function u(d){return n(d==="dual"?"translationMode.dual":"translationMode.translation")}function l(){return a?i!==a?n("translationModeDiffTooltip",{translationMode:u(a)}):n("translationModeSameTooltip",{translationMode:u(a)}):n(r==="dual"?"changeToOnlyTempTranslationMode":"changeToDualTempTranslationMode")}let c=l();return m(vt,{text:c,multiple:!0,tipStyle:{left:-20,transform:"unset",fontSize:13,whiteSpace:"pre"},children:m("div",{class:"translate-mode mr-2 ",onClick:s,children:r==="dual"?eM:tM})})}function y$({currentUrl:e,pageStatus:t,ctx:n,disabledButton:r,actionsRef:i,disableLabel:a}){let{t:o}=ee(),s=n.config,[u,l]=z("");G(()=>{if(D0(e||"")){l(e);return}if(!I0(n?.rule))return;let g=L0(n.rule);l(g)},[e]);let c=o("translate");t==="Translated"||t==="Error"?c=o("show-original"):t==="Original"?u?c=o("translate-pdf"):c=o("translate"):c=o(t);let d=o("translateToThePageEndImmediately");return(t==="Original"||t==="Translated")&&(s.shortcuts.toggleTranslatePage&&(_n(n.localConfig||{})?n.rule.touchShortcutsToggleTranslatePage&&n.rule.touchShortcutsToggleTranslatePage!=="touchShortcutsOff"&&(c+=` (${o(n.rule.touchShortcutsToggleTranslatePage)})`):c+=` (${io(s.shortcuts.toggleTranslatePage)})`),s.shortcuts.toggleTranslateToThePageEndImmediately&&(d+=` (${s.shortcuts.toggleTranslateToThePageEndImmediately})`)),a&&r&&t==="Original"&&(c=a),m("button",{type:"button",id:"translate-button",class:"mb-0 main-button",onClick:()=>{i.current?.sendMessageToContent("toggleTranslatePage")},"aria-busy":t==="Translating",disabled:r||t==="Translating",children:c})}var b$="custom-",Hr=[],As="",Z0=[];async function m9(){if(Z0.length)return{list:Z0,syncTimestamp:As};try{let e=await St.get("v1/user/glossary-meta");return Array.isArray(e.list)&&e.list.length?(Z0=e.list,As=e.syncTimestamp,e):{list:null,syncTimestamp:As}}catch{return{list:null,syncTimestamp:As}}}async function v$(e,t=!1){Hr=(await m9())?.list||e;let n=Hr.find(i=>e.some(a=>a.id===i.id));n?Object.assign(n,e.find(i=>i.id===n.id)):Hr.push(...e),t&&(Hr=Hr.filter(i=>!e.some(a=>a.id===i.id))),As=Date.now()+"",Z0=Hr,await E3(As);let r=[];if(r.push(St.post("v1/user/glossary-meta",{list:x$(Z0),syncTimestamp:As})),t)for(let i of e)r.push(T$(i.id));return Hr=[],Promise.all(r)}function x$(e){return e.map(t=>{let{glossaries:n,...r}=t;return{...r}})}async function C$(e){let t=await St.get(`v1/user/glossary-config/${e}`);return oD(t).glossaries}async function T$(e){return(await St.delete("v1/user/glossary-config",{metaKey:e})).data}async function S$(e,t){return(await St.post("v1/user/glossary-config",{metaKey:e,userGlossaryConfig:A$(t)})).data}async function aD(e=`${j.BASE_ASSETS_URL}static/terms/`){if(Hr.length>0)return Hr;let t=await fetch(e+"meta/index.json");return t.ok&&(Hr=await t.json()),Hr}async function E$(e,t){await aD(e);let n=Hr.find(i=>i.id==t);if(n)return n;let r=await fetch(e+`meta/${t}.json`);return r.ok?r.json():null}async function w$(e,t,n){let r={},i=[];if(t.length===0||!n.id)return{glossaries:[],langsHash:r};t.forEach(a=>{n.langsHash?.[a]&&(r[a]=n.langsHash?.[a]||"",i.push(a))});try{let a=await sD(e,n.id,i,r);return{glossaries:M$(a.flat()),langsHash:r}}catch{return{glossaries:[],langsHash:r}}}function g9(e){if(e==null)return"";let t=String(e);return t.includes(",")||t.includes('"')||t.includes(`
`)?`"${t.replace(/"/g,'""')}"`:t}function A$(e){let t="source,target,tgt_lng",n=e.map(r=>[g9(r.k),g9(r.v),g9(r.tl)].join(","));return`${t}
${n.join(`
`)}`}function oD(e){try{let t=e.split(`
`).filter(d=>d.trim());if(t.length===0)return{glossaries:[],hasInvalidItems:!1};let n=t[0].toLowerCase(),i=n.includes("source")&&n.includes("target")?1:0,a=t.slice(i),o=a.filter(d=>(d.split(",")[0]||"").trim()&&d.includes(",")),s=a.length!==o.length,u=o.map(d=>{let g=[],f,p=/"((?:[^"]|"")*)"|([^,]*)/g;for(;(f=p.exec(d))!==null;){let v=f[1]!==void 0?f[1].replace(/""/g,'"'):f[2];if(g.push(v.trim()),d[p.lastIndex]!==",")break;p.lastIndex++}for(;g.length<3;)g.push("");let[h,C,y]=g.slice(0,3);return{k:h,v:C,tl:y}}),l=u.filter(d=>d.k),c=s||l.length!==u.length;return{glossaries:l,hasInvalidItems:c}}catch{throw new Error("Failed to parse CSV content")}}function k$(e){return!!e&&!e.id.startsWith(b$)}function M$(e=[],t=[]){let n=new Map,r=new Set,i=[];for(let a of t)a?.k&&n.set(a.k,a);for(let a of e)if(a?.k){let o=a.k;r.add(o);let s=n.has(o)?n.get(o):a;i.push(s)}for(let[a,o]of n.entries())r.has(a)||i.push(o);return i}function I$(e){return e?.sort((t,n)=>{if(t.active&&!n.active)return-1;if(!t.active&&n.active)return 1;let r=t.order||9,i=n.order||9;return r===i?t.author==="self"&&n.author!=="self"?-1:t.author!=="self"&&n.author==="self"||(t.lastUserOpTime||0)<(n.lastUserOpTime||0)?1:-1:r<i?-1:1})||[]}async function sD(e,t,n,r){let i=n.map(o=>{let s=r[o]||"",u=`${e}glossaries/${t}_${o}.csv?hash=${s}`;return o=="auto"&&(u=`${e}glossaries/${t}.csv?hash=${s}`),fetch(u).then(l=>{if(!l.ok){if(l.status===404)return null;throw new Error(`[${t}] Failed to fetch ${u}: ${l.statusText}`)}return l.text()}).then(l=>{if(l===null)return[];let{glossaries:c,hasInvalidItems:d}=oD(l);return c.map(g=>({...g,tl:g.tl||o}))}).catch(l=>[])});return await Promise.all(i)}function L$(e,t,n){let r=new Set;if(n)for(let o of n){let s=`${o.k}|${o.tl||""}`;r.add(s)}let i=t.filter(o=>{let s=`${o.k}|${o.tl||""}`;return!r.has(s)}),a=new Map;for(let o of e){let s=`${o.k}|${o.tl||""}`;r.has(s)||a.set(s,o)}for(let o of i){let s=`${o.k}|${o.tl||""}`;a.has(s)||a.set(s,o)}return Array.from(a.values())}function Y0(e){if(typeof e=="string"){let t=parseInt(e,10);return isNaN(t)?0:t}else if(typeof e=="number")return e;return 0}async function D$(e,t,n=!1){if(!t.isPro)return null;let r=null;try{let i=Y0(await m7()),{list:a=[],syncTimestamp:o}=await m9(),s=Y0(o),u=await lo(),l=s>i;l||i>s;let c=new Map;u.forEach(C=>C.id&&c.set(C.id,C));let d=new Map;a?.forEach(C=>C.id&&d.set(C.id,C));let g=new Set([...c.keys(),...d.keys()]),f=[],p=[],h=new Set;n&&l&&c.forEach(C=>h.add(C.id));for(let C of g){let y=c.get(C),v=d.get(C);if(y&&v){n&&l&&h.delete(C);let b=Y0(y.lastUserOpTime),x=Y0(v.lastUserOpTime);b>x?f.push(y):x>b&&p.push(v)}else if(y&&!v)n&&l||l||f.push(y);else if(!y&&v){if(!n)continue;p.push(v)}}if(p.length>0){let C=p.map(async y=>{try{let v=await C$(y.id)||[],b=v.length?Qa(v):[],x={...y,glossaries:b};await ts(x)}catch{}});await Promise.all(C)}if(f.length>0){let C=f.map(async v=>{try{let b=await Mu(v.id),x=b?.glossaries?Qa(b.glossaries):[];await v$([v]),await S$(v.id,x)}catch{}});await Promise.all(C);let{syncTimestamp:y}=await m9();r=Y0(y)}else s>=i?r=s:r=i;if(n&&l&&h.size>0){let C=Array.from(h).map(async y=>{try{await g7(y)}catch{}});await Promise.all(C)}return r!==null&&r!==i&&await E3(r+""),n?await lo():(await Promise.all(e.map(async y=>await Mu(y.id)))).filter(y=>y!==null)}catch{return null}finally{}}async function uD(e,t){let n=[];for(let r=0;r<e.length;r++){let i=e[r];if(i.id.startsWith("custom"))continue;let a=!1,o={...i},s=await E$(t.termsBaseUrl,i.id);if(!s||!k$(i))continue;let{i18ns:u}=s;if(s.id!="default"){let l=await ji(o.i18ns||{}),c=await ji(u||{});l!==c&&(o={...o,i18ns:u},a=!0)}if(!o.localLangsHash){a&&await ts(o);continue}for(let l of Object.keys(o.localLangsHash))if(s.langsHash?.[l]&&o.localLangsHash[l]!=s.langsHash[l]){let{glossaries:c}=await w$(t.termsBaseUrl,[t?.targetLanguage],s),d=L$(c||[],o?.glossaries||[],o?.deleteRemoteGlossaries||[]);o.localLangsHash={...o.localLangsHash,[l]:s.langsHash?.[l]};let g={...o,glossaries:d};n.push(g),await ts(g),a=!1;break}a&&await ts(o)}return Hr=[],n}async function lD(e,t){let n=await lo();n.find(r=>r.id=="default")||ts({id:"default",name:t("terms.default")||"",description:t("terms.defaultDescription"),matches:["*"],author:"self",active:!0,order:0,glossaries:e.rule.glossaries,lastUserOpTime:Date.now()+""}),await D$(n,e,!0),await uD(n,e.config)}async function cD(e){let t=await lo(),n=oe.bind(null);t.find(r=>r.id=="default")||(ts({id:"default",name:n("terms.default"),description:n("terms.defaultDescription"),matches:["*"],author:"self",active:!0,order:0,glossaries:e.rule.glossaries,lastUserOpTime:Date.now()+""}),await uD(t,e.config))}async function dD(e,t){let n=I$(await lo()||[]);n.length&&t?.(1,n);let r=await aD(e.termsBaseUrl);r=r.filter(a=>a.langs?.includes(e.targetLanguage)||a.langs?.includes("auto"));let i=[...n,...r.filter(a=>!n?.find(o=>o.id===a.id))];return t?.(2,i),i}async function gD(e,t,n){let r={};for(let i of n){let a=await Mu(i);if(a)r[i]=a.glossaries||[];else{let o=await sD(e.termsBaseUrl,i,["auto",t],{auto:Date.now()+"",[t]:Date.now()+""});r[i]=o.flat()}}return r}var rFe=1e3*3600*24;async function Rp(e,t=!1){try{let n=ze(),r=new Date;k.debug("cron task start, next will run at",new Date(r.getTime()+e).toLocaleString()),await Ie.local.set(xh,r.toISOString());let i=oe.bind(null);n&&!t&&(lD(n,i),Jo()),J0()}catch(n){k.error("run cron task failed",n)}}async function mD(){let t=(await Qe()).interval;if(t){let n=await Ie.local.get(xh);if(n)if(Date.now()-new Date(n).getTime()<t){let r=new Date(new Date(n).getTime()+t).toLocaleString();k.debug(`[update-rule] cron task not run, next will run at ${r}`);return}else await Rp(t);else await Rp(t)}}async function J0(){try{let e=await Qe(),t=await Re({url:j.buildinConfigSyncUrl});Jo(e);let n=e.buildinConfigUpdatedAt,r=new Date(n),i=t.buildinConfigUpdatedAt,a=new Date(i),o=t.minVersion,s=Be.runtime.getManifest().version;Dt(s,o)?a>r?(await Ie.local.set("buildinConfig",t),k.info(`sync remote rules success, latest: ${new Date(i).toLocaleString()}`),Jy({method:"updateGlobalCtx",data:{}}).catch(u=>{k.error("send content message request failed from cron task",u)})):k.debug(`no need to sync rules, latest: ${r}`):k.info(`local version is too old, please update to ${o} or later`)}catch(e){k.error("sync rules error: ",e)}}var f9={get:(e,t,n)=>Be.storage[n].get(e).then(r=>(r[e]===void 0&&(r[e]=t),r)),set:(e,t,n)=>Be.storage[n].set({[e]:t})};function Np(e,t,n){let[r]=z(()=>typeof t=="function"?t():t),[i]=z(n),[a,o]=z(r),[s,u]=z(!1),[l,c]=z("");G(()=>{f9.get(e,r,i).then(g=>{g[e]&&o(g[e]),u(!0),c("")}).catch(g=>{u(!1),c(g)})},[e,r,i]);let d=Te(g=>{let f=typeof g=="function"?g(a):g;f9.set(e,f,i).then(()=>{o(f),u(!0),c("")}).catch(p=>{o(f),u(!1),c(p)})},[i,e,a]);return[a,d,s,l]}function p9(e,t,n){let r=[];return function(){let[a,o,s,u]=Np(e,t,n),l=Te(c=>{for(let d of r)d(c)},[]);return G(()=>(r.push(o),()=>{r.splice(r.indexOf(o),1)}),[o]),[a,l,s,u]}}function fD(e,t){return p9(e,t,"local")}var P$=null,h9=fD(sc,P$);function Ii(e){let[t,n,r,i]=h9(),a=Te((o,s)=>{let u=s?.syncToRemote??!0,l=o;if(typeof o=="function"&&(l=o(t)),l?.updatedAt)return X0(l),u&&(Yi(l),Al(l)),n(l),e&&e(l),Lr(),l;let c=kl(t,l);return c&&(X0(c),u&&(Yi(c),Al(c)),n(c),Lr(),e&&e(c)),c},[t]);return[t,a,r,i,n]}function kl(e,t){if(Array.isArray(e))return Array.isArray(t)?t:[...e,t];{e=R$(e,t);let n={...e};return Object.keys(t).forEach(r=>{n[r]==null?n[r]=t[r]:typeof n[r]=="object"?n[r]=kl(n[r],t[r]):n[r]=t[r]}),n}}function R$(e,t){if(!t.translationServices||!ru())return e;let n={...e};n.translationServices={...n.translationServices},Hh(n,!0);let r=n.translationServices;return Object.keys(t.translationServices).forEach(i=>{let a=r[i]?.migrateFrom;if(a&&i!==a){let o=r[a]||{};n.translationServices[a]={...o,...t.translationServices[i]}}}),n}function X0(e){let t=e?.translationServices;if(!t)return;let r=bn().translationServices;Object.entries(t).forEach(([i,a])=>{let o=!1;Object.keys(a).find(s=>s.startsWith("langOverrides.add_v"))&&(o=!0),a.langOverrides&&a.overrides&&(o=!0),o&&(delete a.removeResRegexs,delete a.modelsOverrides,delete a.env,delete a.langOverrides,delete a.overrides,Object.keys(a).forEach(s=>{if(s.includes(".add_v")){let l=s.split(".");delete a[l[0]],delete a[s]}if(s.startsWith("selection")&&delete a[s],s.startsWith("pro")){if(s=="provider")return;delete a[s]}let u=pD(r,a.type);for(;u;){if(a[s]==u[s]){delete a[s];break}if(!u.extends)break;u=pD(r,u.extends)}}))})}function pD(e,t){let n=Object.keys(e).filter(i=>i.startsWith(t+".")||i==t);return n.length?n.length<=1?e[n[0]]:(n.sort((i,a)=>{let o=hD(i),s=hD(a);return o-s}),n.reduce((i,a)=>({...i,...e[a]}),{})):void 0}function hD(e){let t=e.split("add_v.")[1]?.replace(/\[/g,"")?.replace(/\]/g,"");return t?t.split(".").map(r=>Number(r)).reduce((r,i)=>r*100+i,0):0}var QFe=Xa([]);function Fp(){let[e,t]=z({}),n=$(null),r=$(ze()||null),[i,a,o,s]=h9();G(()=>{i&&u()},[i]);async function u(){n.current=await Qe(),n.current&&(r.current=await on({url:location.href,config:n.current,state:{cache:!1}}),ze()||Ea(r.current),t({}))}let l=Te((c,d)=>{let g=d?.syncToRemote??!0,f=c;if(typeof c=="function"&&(f=c(i)),f?.updatedAt)return X0(f),g&&(Yi(f),Al(f)),a(f),Lr(),f;let p=kl(i,f);return p&&(X0(p),g&&(Yi(p),Al(p)),a(p),Lr()),p},[i]);return{settingsHookValue:[i,l,o,s,a],config:n.current,ctx:r.current,ctxRef:r,configRef:n,refreshCtx:u}}function yD(e){let[t,n]=z(null);return G(()=>{Qe().then(r=>{n(r)})},[e]),t}function Bp(e){let{onClose:t,hidden:n}=e,[r,i]=z("Original"),{settingsHookValue:a,ctx:o}=Fp(),[s,u]=a,[l,c]=z(null),[d,g]=z(globalThis.location.href),[f,p]=z("auto"),[h,C]=z({visible:!1,preview:!1}),[y,v]=z(null),b=$(()=>{});b.current=()=>{v(Yu()??null)};let x=$(!1);G(()=>{n||x.current||(x.current=!0,se({key:"show_page_popup"}))},[n,x]),G(()=>{n||b.current()},[n]),G(()=>{let F=D=>{i(D.detail),b.current()},L=()=>{g(globalThis.location.href),b.current()};return document.addEventListener(_a,F,!1),Qe().then(D=>{c(D);let w=dn();p(w);let N=rt();i(N),Rp(D.interval,!0),b.current()}),document.addEventListener("urlChange",L),()=>{document.removeEventListener(_a,F),document.removeEventListener("urlChange",L)}},[]),G(()=>{Qe().then(F=>{c(F)})},[s]),G(()=>{let F=Zm();C({visible:!!F?.used,preview:F?.usageScene=="web_page"})},[]);let T=Te((F,L)=>{A("change_translate_service",!1,{translation_service:`${F}_${L}`})},[]);if(!l||!o||n)return null;let S=$({});return Object.assign(S.current,{sendMessageToContent:A,request:Re,onClose:M,onToggleEnabled:P,onChangeService:T,openOptionsPage:O,openRewardCenter:R,openAboutPage:_,onSetPageLanguage:E,onSetLocalConfig:ti,onOpenUrl:B,onReport:F=>{A("popupEventReport",!1,F)},setSettings:u}),m(Ap.Provider,{value:{popupFrom:"float_ball_popup",actionsRef:S},children:m(d9,{type:"float_ball_popup",className:e.className,aiContextInfo:h,config:l,pageStatus:r,ctx:o,currentUrl:d,currentLang:f,dominantSponsor:y,actionsRef:S})});function E(F){p(F);let L=tI(d,F,l.sourceLanguageUrlPattern);u(D=>({...D,sourceLanguageUrlPattern:L})),Fr(F)}function A(F,L=!0,D={}){let w={trigger:"page_popup",...D};he("content",{method:F,data:w}),L&&setTimeout(()=>{t()},100)}function M(){t()}function P(){u(F=>({...F,enabled:!F.enabled})),setTimeout(()=>{M()},50)}function B(F,L){let D=F;L&&(D=`${F}?utm_source=extension&utm_medium=extension&utm_campaign=${L}`),tt(D),setTimeout(()=>{M()},50)}function O(F=!0,L=""){ri(F,L,l?.useOnlineOptions||!1),setTimeout(()=>{t()},50)}function R(){o&&(ns(o,"float_ball_popup"),t())}function _(){Rm(),setTimeout(()=>{t()},50)}}var N$=Object.create,b9=Object.defineProperty,F$=Object.getOwnPropertyDescriptor,B$=Object.getOwnPropertyNames,O$=Object.getPrototypeOf,_$=Object.prototype.hasOwnProperty,U$=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),j$=(e,t)=>{for(var n in t)b9(e,n,{get:t[n],enumerable:!0})},y9=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of B$(t))!_$.call(e,i)&&i!==n&&b9(e,i,{get:()=>t[i],enumerable:!(r=F$(t,i))||r.enumerable});return e},z$=(e,t,n)=>(y9(e,t,"default"),n&&y9(n,t,"default")),vD=(e,t,n)=>(n=e!=null?N$(O$(e)):{},y9(t||!e||!e.__esModule?b9(n,"default",{value:e,enumerable:!0}):n,e)),xD=U$((exports,module)=>{typeof navigator<"u"&&function(e,t){typeof exports=="object"&&typeof module<"u"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis<"u"?globalThis:e||self,e.lottie=t())}(exports,function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var n,r=e.length,i;for(n=0;n<r;n+=1){i=e[n].prototype;for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t.prototype[a]=i[a])}}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}var audioControllerFactory=function(){function e(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(t){this.audios.push(t)},pause:function(){var t,n=this.audios.length;for(t=0;t<n;t+=1)this.audios[t].pause()},resume:function(){var t,n=this.audios.length;for(t=0;t<n;t+=1)this.audios[t].resume()},setRate:function(t){var n,r=this.audios.length;for(n=0;n<r;n+=1)this.audios[n].setRate(t)},createAudio:function(t){return this.audioFactory?this.audioFactory(t):window.Howl?new window.Howl({src:[t]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(t){this.audioFactory=t},setVolume:function(t){this._volume=t,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var t,n=this.audios.length;for(t=0;t<n;t+=1)this.audios[t].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(n,r){var i=0,a=[],o;switch(n){case"int16":case"uint8c":o=1;break;default:o=1.1;break}for(i=0;i<r;i+=1)a.push(o);return a}function t(n,r){return n==="float32"?new Float32Array(r):n==="int16"?new Int16Array(r):n==="uint8c"?new Uint8ClampedArray(r):e(n,r)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?t:e}();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$6=function(t){return typeof t}:_typeof$6=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$6(e)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};(function(){var e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],t,n=e.length;for(t=0;t<n;t+=1)BMMath[e[t]]=Math[e[t]]})();function ProjectInterface$1(){return{}}BMMath.random=Math.random,BMMath.abs=function(e){var t=_typeof$6(e);if(t==="object"&&e.length){var n=createSizedArray(e.length),r,i=e.length;for(r=0;r<i;r+=1)n[r]=Math.abs(e[r]);return n}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(e){_shouldRoundValues=!!e}function bmRnd(e){return _shouldRoundValues?Math.round(e):e}function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,n,r){this.type=e,this.currentTime=t,this.totalTime=n,this.direction=r<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,n,r){this.type=e,this.currentLoop=n,this.totalLoops=t,this.direction=r<0?-1:1}function BMSegmentStartEvent(e,t,n){this.type=e,this.firstFrame=t,this.totalFrames=n}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}function BMAnimationConfigErrorEvent(e,t){this.type=e,this.nativeError=t}var createElementID=function(){var e=0;return function(){return e+=1,idPrefix$1+"__lottie_element_"+e}}();function HSVtoRGB(e,t,n){var r,i,a,o,s,u,l,c;switch(o=Math.floor(e*6),s=e*6-o,u=n*(1-t),l=n*(1-s*t),c=n*(1-(1-s)*t),o%6){case 0:r=n,i=c,a=u;break;case 1:r=l,i=n,a=u;break;case 2:r=u,i=n,a=c;break;case 3:r=u,i=l,a=n;break;case 4:r=c,i=u,a=n;break;case 5:r=n,i=u,a=l;break;default:break}return[r,i,a]}function RGBtoHSV(e,t,n){var r=Math.max(e,t,n),i=Math.min(e,t,n),a=r-i,o,s=r===0?0:a/r,u=r/255;switch(r){case i:o=0;break;case e:o=t-n+a*(t<n?6:0),o/=6*a;break;case t:o=n-e+a*2,o/=6*a;break;case n:o=e-t+a*4,o/=6*a;break;default:break}return[o,s,u]}function addSaturationToRGB(e,t){var n=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return n[1]+=t,n[1]>1?n[1]=1:n[1]<=0&&(n[1]=0),HSVtoRGB(n[0],n[1],n[2])}function addBrightnessToRGB(e,t){var n=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return n[2]+=t,n[2]>1?n[2]=1:n[2]<0&&(n[2]=0),HSVtoRGB(n[0],n[1],n[2])}function addHueToRGB(e,t){var n=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return n[0]+=t/360,n[0]>1?n[0]-=1:n[0]<0&&(n[0]+=1),HSVtoRGB(n[0],n[1],n[2])}var rgbToHex=function(){var e=[],t,n;for(t=0;t<256;t+=1)n=t.toString(16),e[t]=n.length===1?"0"+n:n;return function(r,i,a){return r<0&&(r=0),i<0&&(i=0),a<0&&(a=0),"#"+e[r]+e[i]+e[a]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(e){expressionsInterfaces=e},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e},getIdPrefix=function(){return idPrefix$1};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(t){return typeof t}:_typeof$5=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$5(e)}var dataManager=function(){var e=1,t=[],n,r,i={onmessage:function(){},postMessage:function(g){n({data:g})}},a={postMessage:function(g){i.onmessage({data:g})}};function o(g){if(window.Worker&&window.Blob&&getWebWorker()){var f=new Blob(["var _workerSelf = self; self.onmessage = ",g.toString()],{type:"text/javascript"}),p=URL.createObjectURL(f);return new Worker(p)}return n=g,i}function s(){r||(r=o(function(g){function f(){function h(_,F){var L,D,w=_.length,N,V,H,q;for(D=0;D<w;D+=1)if(L=_[D],"ks"in L&&!L.completed){if(L.completed=!0,L.hasMask){var K=L.masksProperties;for(V=K.length,N=0;N<V;N+=1)if(K[N].pt.k.i)x(K[N].pt.k);else for(q=K[N].pt.k.length,H=0;H<q;H+=1)K[N].pt.k[H].s&&x(K[N].pt.k[H].s[0]),K[N].pt.k[H].e&&x(K[N].pt.k[H].e[0])}L.ty===0?(L.layers=v(L.refId,F),h(L.layers,F)):L.ty===4?b(L.shapes):L.ty===5&&O(L)}}function C(_,F){if(_){var L=0,D=_.length;for(L=0;L<D;L+=1)_[L].t===1&&(_[L].data.layers=v(_[L].data.refId,F),h(_[L].data.layers,F))}}function y(_,F){for(var L=0,D=F.length;L<D;){if(F[L].id===_)return F[L];L+=1}return null}function v(_,F){var L=y(_,F);return L?L.layers.__used?JSON.parse(JSON.stringify(L.layers)):(L.layers.__used=!0,L.layers):null}function b(_){var F,L=_.length,D,w;for(F=L-1;F>=0;F-=1)if(_[F].ty==="sh")if(_[F].ks.k.i)x(_[F].ks.k);else for(w=_[F].ks.k.length,D=0;D<w;D+=1)_[F].ks.k[D].s&&x(_[F].ks.k[D].s[0]),_[F].ks.k[D].e&&x(_[F].ks.k[D].e[0]);else _[F].ty==="gr"&&b(_[F].it)}function x(_){var F,L=_.i.length;for(F=0;F<L;F+=1)_.i[F][0]+=_.v[F][0],_.i[F][1]+=_.v[F][1],_.o[F][0]+=_.v[F][0],_.o[F][1]+=_.v[F][1]}function T(_,F){var L=F?F.split("."):[100,100,100];return _[0]>L[0]?!0:L[0]>_[0]?!1:_[1]>L[1]?!0:L[1]>_[1]?!1:_[2]>L[2]?!0:L[2]>_[2]?!1:null}var S=function(){var _=[4,4,14];function F(D){var w=D.t.d;D.t.d={k:[{s:w,t:0}]}}function L(D){var w,N=D.length;for(w=0;w<N;w+=1)D[w].ty===5&&F(D[w])}return function(D){if(T(_,D.v)&&(L(D.layers),D.assets)){var w,N=D.assets.length;for(w=0;w<N;w+=1)D.assets[w].layers&&L(D.assets[w].layers)}}}(),E=function(){var _=[4,7,99];return function(F){if(F.chars&&!T(_,F.v)){var L,D=F.chars.length;for(L=0;L<D;L+=1){var w=F.chars[L];w.data&&w.data.shapes&&(b(w.data.shapes),w.data.ip=0,w.data.op=99999,w.data.st=0,w.data.sr=1,w.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},F.chars[L].t||(w.data.shapes.push({ty:"no"}),w.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),A=function(){var _=[5,7,15];function F(D){var w=D.t.p;typeof w.a=="number"&&(w.a={a:0,k:w.a}),typeof w.p=="number"&&(w.p={a:0,k:w.p}),typeof w.r=="number"&&(w.r={a:0,k:w.r})}function L(D){var w,N=D.length;for(w=0;w<N;w+=1)D[w].ty===5&&F(D[w])}return function(D){if(T(_,D.v)&&(L(D.layers),D.assets)){var w,N=D.assets.length;for(w=0;w<N;w+=1)D.assets[w].layers&&L(D.assets[w].layers)}}}(),M=function(){var _=[4,1,9];function F(D){var w,N=D.length,V,H;for(w=0;w<N;w+=1)if(D[w].ty==="gr")F(D[w].it);else if(D[w].ty==="fl"||D[w].ty==="st")if(D[w].c.k&&D[w].c.k[0].i)for(H=D[w].c.k.length,V=0;V<H;V+=1)D[w].c.k[V].s&&(D[w].c.k[V].s[0]/=255,D[w].c.k[V].s[1]/=255,D[w].c.k[V].s[2]/=255,D[w].c.k[V].s[3]/=255),D[w].c.k[V].e&&(D[w].c.k[V].e[0]/=255,D[w].c.k[V].e[1]/=255,D[w].c.k[V].e[2]/=255,D[w].c.k[V].e[3]/=255);else D[w].c.k[0]/=255,D[w].c.k[1]/=255,D[w].c.k[2]/=255,D[w].c.k[3]/=255}function L(D){var w,N=D.length;for(w=0;w<N;w+=1)D[w].ty===4&&F(D[w].shapes)}return function(D){if(T(_,D.v)&&(L(D.layers),D.assets)){var w,N=D.assets.length;for(w=0;w<N;w+=1)D.assets[w].layers&&L(D.assets[w].layers)}}}(),P=function(){var _=[4,4,18];function F(D){var w,N=D.length,V,H;for(w=N-1;w>=0;w-=1)if(D[w].ty==="sh")if(D[w].ks.k.i)D[w].ks.k.c=D[w].closed;else for(H=D[w].ks.k.length,V=0;V<H;V+=1)D[w].ks.k[V].s&&(D[w].ks.k[V].s[0].c=D[w].closed),D[w].ks.k[V].e&&(D[w].ks.k[V].e[0].c=D[w].closed);else D[w].ty==="gr"&&F(D[w].it)}function L(D){var w,N,V=D.length,H,q,K,J;for(N=0;N<V;N+=1){if(w=D[N],w.hasMask){var re=w.masksProperties;for(q=re.length,H=0;H<q;H+=1)if(re[H].pt.k.i)re[H].pt.k.c=re[H].cl;else for(J=re[H].pt.k.length,K=0;K<J;K+=1)re[H].pt.k[K].s&&(re[H].pt.k[K].s[0].c=re[H].cl),re[H].pt.k[K].e&&(re[H].pt.k[K].e[0].c=re[H].cl)}w.ty===4&&F(w.shapes)}}return function(D){if(T(_,D.v)&&(L(D.layers),D.assets)){var w,N=D.assets.length;for(w=0;w<N;w+=1)D.assets[w].layers&&L(D.assets[w].layers)}}}();function B(_){_.__complete||(M(_),S(_),E(_),A(_),P(_),h(_.layers,_.assets),C(_.chars,_.assets),_.__complete=!0)}function O(_){_.t.a.length===0&&"m"in _.t.p}var R={};return R.completeData=B,R.checkColors=M,R.checkChars=E,R.checkPathProperties=A,R.checkShapes=P,R.completeLayers=h,R}if(a.dataManager||(a.dataManager=f()),a.assetLoader||(a.assetLoader=function(){function h(y){var v=y.getResponseHeader("content-type");return v&&y.responseType==="json"&&v.indexOf("json")!==-1||y.response&&_typeof$5(y.response)==="object"?y.response:y.response&&typeof y.response=="string"?JSON.parse(y.response):y.responseText?JSON.parse(y.responseText):null}function C(y,v,b,x){var T,S=new XMLHttpRequest;try{S.responseType="json"}catch{}S.onreadystatechange=function(){if(S.readyState===4)if(S.status===200)T=h(S),b(T);else try{T=h(S),b(T)}catch(E){x&&x(E)}};try{S.open(["G","E","T"].join(""),y,!0)}catch{S.open(["G","E","T"].join(""),v+"/"+y,!0)}S.send()}return{load:C}}()),g.data.type==="loadAnimation")a.assetLoader.load(g.data.path,g.data.fullPath,function(h){a.dataManager.completeData(h),a.postMessage({id:g.data.id,payload:h,status:"success"})},function(){a.postMessage({id:g.data.id,status:"error"})});else if(g.data.type==="complete"){var p=g.data.animation;a.dataManager.completeData(p),a.postMessage({id:g.data.id,payload:p,status:"success"})}else g.data.type==="loadData"&&a.assetLoader.load(g.data.path,g.data.fullPath,function(h){a.postMessage({id:g.data.id,payload:h,status:"success"})},function(){a.postMessage({id:g.data.id,status:"error"})})}),r.onmessage=function(g){var f=g.data,p=f.id,h=t[p];t[p]=null,f.status==="success"?h.onComplete(f.payload):h.onError&&h.onError()})}function u(g,f){e+=1;var p="processId_"+e;return t[p]={onComplete:g,onError:f},p}function l(g,f,p){s();var h=u(f,p);r.postMessage({type:"loadAnimation",path:g,fullPath:window.location.origin+window.location.pathname,id:h})}function c(g,f,p){s();var h=u(f,p);r.postMessage({type:"loadData",path:g,fullPath:window.location.origin+window.location.pathname,id:h})}function d(g,f,p){s();var h=u(f,p);r.postMessage({type:"complete",animation:g,id:h})}return{loadAnimation:l,loadData:c,completeAnimation:d}}(),ImagePreloader=function(){var e=function(){var y=createTag("canvas");y.width=1,y.height=1;var v=y.getContext("2d");return v.fillStyle="rgba(0,0,0,0)",v.fillRect(0,0,1,1),y}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(y,v,b){var x="";if(y.e)x=y.p;else if(v){var T=y.p;T.indexOf("images/")!==-1&&(T=T.split("/")[1]),x=v+T}else x=b,x+=y.u?y.u:"",x+=y.p;return x}function i(y){var v=0,b=setInterval(function(){var x=y.getBBox();(x.width||v>500)&&(this._imageLoaded(),clearInterval(b)),v+=1}.bind(this),50)}function a(y){var v=r(y,this.assetsPath,this.path),b=createNS("image");isSafari?this.testImageLoaded(b):b.addEventListener("load",this._imageLoaded,!1),b.addEventListener("error",function(){x.img=e,this._imageLoaded()}.bind(this),!1),b.setAttributeNS("http://www.w3.org/1999/xlink","href",v),this._elementHelper.append?this._elementHelper.append(b):this._elementHelper.appendChild(b);var x={img:b,assetData:y};return x}function o(y){var v=r(y,this.assetsPath,this.path),b=createTag("img");b.crossOrigin="anonymous",b.addEventListener("load",this._imageLoaded,!1),b.addEventListener("error",function(){x.img=e,this._imageLoaded()}.bind(this),!1),b.src=v;var x={img:b,assetData:y};return x}function s(y){var v={assetData:y},b=r(y,this.assetsPath,this.path);return dataManager.loadData(b,function(x){v.img=x,this._footageLoaded()}.bind(this),function(){v.img={},this._footageLoaded()}.bind(this)),v}function u(y,v){this.imagesLoadedCb=v;var b,x=y.length;for(b=0;b<x;b+=1)y[b].layers||(!y[b].t||y[b].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(y[b]))):y[b].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(y[b]))))}function l(y){this.path=y||""}function c(y){this.assetsPath=y||""}function d(y){for(var v=0,b=this.images.length;v<b;){if(this.images[v].assetData===y)return this.images[v].img;v+=1}return null}function g(){this.imagesLoadedCb=null,this.images.length=0}function f(){return this.totalImages===this.loadedAssets}function p(){return this.totalFootages===this.loadedFootagesCount}function h(y,v){y==="svg"?(this._elementHelper=v,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function C(){this._imageLoaded=t.bind(this),this._footageLoaded=n.bind(this),this.testImageLoaded=i.bind(this),this.createFootageData=s.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return C.prototype={loadAssets:u,setAssetsPath:c,setPath:l,loadedImages:f,loadedFootages:p,destroy:g,getAsset:d,createImgData:o,createImageData:a,imageLoaded:t,footageLoaded:n,setCacheType:h},C}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,t){if(this._cbs[e])for(var n=this._cbs[e],r=0;r<n.length;r+=1)n[r](t)},addEventListener:function(e,t){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(t),function(){this.removeEventListener(e,t)}.bind(this)},removeEventListener:function(e,t){if(!t)this._cbs[e]=null;else if(this._cbs[e]){for(var n=0,r=this._cbs[e].length;n<r;)this._cbs[e][n]===t&&(this._cbs[e].splice(n,1),n-=1,r-=1),n+=1;this._cbs[e].length||(this._cbs[e]=null)}}};var markerParser=function(){function e(t){for(var n=t.split(`\r
`),r={},i,a=0,o=0;o<n.length;o+=1)i=n[o].split(":"),i.length===2&&(r[i[0]]=i[1].trim(),a+=1);if(a===0)throw new Error;return r}return function(t){for(var n=[],r=0;r<t.length;r+=1){var i=t[r],a={time:i.tm,duration:i.dr};try{a.payload=JSON.parse(t[r].cm)}catch{try{a.payload=e(t[r].cm)}catch{a.payload={name:t[r].cm}}}n.push(a)}return n}}(),ProjectInterface=function(){function e(t){this.compositions.push(t)}return function(){function t(n){for(var r=0,i=this.compositions.length;r<i;){if(this.compositions[r].data&&this.compositions[r].data.nm===n)return this.compositions[r].prepareFrame&&this.compositions[r].data.xt&&this.compositions[r].prepareFrame(this.currentFrame),this.compositions[r].compInterface;r+=1}return null}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),renderers={},registerRenderer=function(e,t){renderers[e]=t};function getRenderer(e){return renderers[e]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var e in renderers)if(renderers[e])return e;return""}function _typeof$4(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$4=function(t){return typeof t}:_typeof$4=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$4(e)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t="svg";e.animType?t=e.animType:e.renderer&&(t=e.renderer);var n=getRenderer(t);this.renderer=new n(this,e.rendererSettings),this.imagePreloader.setCacheType(t,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=t,e.loop===""||e.loop===null||e.loop===void 0||e.loop===!0?this.loop=!0:e.loop===!1?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay="autoplay"in e?e.autoplay:!0,this.name=e.name?e.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(e,"autoloadSegments")?e.autoloadSegments:!0,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(e.path.lastIndexOf("\\")!==-1?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(e.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(e){dataManager.completeAnimation(e,this.configAnimation)},AnimationItem.prototype.setData=function(e,t){t&&_typeof$4(t)!=="object"&&(t=JSON.parse(t));var n={wrapper:e,animationData:t},r=e.attributes;n.path=r.getNamedItem("data-animation-path")?r.getNamedItem("data-animation-path").value:r.getNamedItem("data-bm-path")?r.getNamedItem("data-bm-path").value:r.getNamedItem("bm-path")?r.getNamedItem("bm-path").value:"",n.animType=r.getNamedItem("data-anim-type")?r.getNamedItem("data-anim-type").value:r.getNamedItem("data-bm-type")?r.getNamedItem("data-bm-type").value:r.getNamedItem("bm-type")?r.getNamedItem("bm-type").value:r.getNamedItem("data-bm-renderer")?r.getNamedItem("data-bm-renderer").value:r.getNamedItem("bm-renderer")?r.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var i=r.getNamedItem("data-anim-loop")?r.getNamedItem("data-anim-loop").value:r.getNamedItem("data-bm-loop")?r.getNamedItem("data-bm-loop").value:r.getNamedItem("bm-loop")?r.getNamedItem("bm-loop").value:"";i==="false"?n.loop=!1:i==="true"?n.loop=!0:i!==""&&(n.loop=parseInt(i,10));var a=r.getNamedItem("data-anim-autoplay")?r.getNamedItem("data-anim-autoplay").value:r.getNamedItem("data-bm-autoplay")?r.getNamedItem("data-bm-autoplay").value:r.getNamedItem("bm-autoplay")?r.getNamedItem("bm-autoplay").value:!0;n.autoplay=a!=="false",n.name=r.getNamedItem("data-name")?r.getNamedItem("data-name").value:r.getNamedItem("data-bm-name")?r.getNamedItem("data-bm-name").value:r.getNamedItem("bm-name")?r.getNamedItem("bm-name").value:"";var o=r.getNamedItem("data-anim-prerender")?r.getNamedItem("data-anim-prerender").value:r.getNamedItem("data-bm-prerender")?r.getNamedItem("data-bm-prerender").value:r.getNamedItem("bm-prerender")?r.getNamedItem("bm-prerender").value:"";o==="false"&&(n.prerender=!1),n.path?this.setParams(n):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t=this.animationData.layers,n,r=t.length,i=e.layers,a,o=i.length;for(a=0;a<o;a+=1)for(n=0;n<r;){if(t[n].id===i[a].id){t[n]=i[a];break}n+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(r=e.assets.length,n=0;n<r;n+=1)this.animationData.assets.push(e.assets[n]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(e){this.animationData=e;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||e.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var t=e.shift();this.timeCompleted=t.time*this.frameRate;var n=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(n,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){var e=this.animationData.segments;e||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=markerParser(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(e,t){var n=typeof e=="number"?e:void 0,r=typeof t=="number"?t:void 0;this.renderer.updateContainerSize(n,r)},AnimationItem.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,n=0;n<this.markers.length;n+=1)if(t=this.markers[n],t.payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,n){if(!(n&&this.name!==n)){var r=Number(e);if(isNaN(r)){var i=this.getMarkerData(e);i&&this.goToAndStop(i.time,!0)}else t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(e,t,n){if(!(n&&this.name!==n)){var r=Number(e);if(isNaN(r)){var i=this.getMarkerData(e);i&&(i.duration?this.playSegments([i.time,i.time+i.duration],!0):this.goToAndStop(i.time,!0))}else this.goToAndStop(r,t,n);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!(this.isPaused===!0||this.isLoaded===!1)){var t=this.currentRawFrame+e*this.frameModifier,n=!1;t>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(n=!0,t=this.totalFrames-1):t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):t<0?this.checkSegments(t%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(n=!0,t=0)):this.setCurrentRawFrameValue(t),n&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var n=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?n=e:this.currentRawFrame+this.firstFrame>t&&(n=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,n!==-1&&this.goToAndStop(n,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),_typeof$4(e[0])==="object"){var n,r=e.length;for(n=0;n<r;n+=1)this.segments.push(e[n])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return this.segments.length?(this.adjustSegment(this.segments.shift(),e),!0):!1},AnimationItem.prototype.destroy=function(e){e&&this.name!==e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(e){this.loop=e},AnimationItem.prototype.setVolume=function(e,t){t&&this.name!==t||this.audioController.setVolume(e)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},AnimationItem.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var n=e.p;n.indexOf("images/")!==-1&&(n=n.split("/")[1]),t=this.assetsPath+n}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,n=this.assets.length;t<n;){if(e===this.assets[t].id)return this.assets[t];t+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(e,t,n){try{var r=this.renderer.getElementByPath(e);r.updateDocumentData(t,n)}catch{}},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var t=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(e){var t=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)};var animationManager=function(){var e={},t=[],n=0,r=0,i=0,a=!0,o=!1;function s(L){for(var D=0,w=L.target;D<r;)t[D].animation===w&&(t.splice(D,1),D-=1,r-=1,w.isPaused||d()),D+=1}function u(L,D){if(!L)return null;for(var w=0;w<r;){if(t[w].elem===L&&t[w].elem!==null)return t[w].animation;w+=1}var N=new AnimationItem;return g(N,L),N.setData(L,D),N}function l(){var L,D=t.length,w=[];for(L=0;L<D;L+=1)w.push(t[L].animation);return w}function c(){i+=1,P()}function d(){i-=1}function g(L,D){L.addEventListener("destroy",s),L.addEventListener("_active",c),L.addEventListener("_idle",d),t.push({elem:D,animation:L}),r+=1}function f(L){var D=new AnimationItem;return g(D,null),D.setParams(L),D}function p(L,D){var w;for(w=0;w<r;w+=1)t[w].animation.setSpeed(L,D)}function h(L,D){var w;for(w=0;w<r;w+=1)t[w].animation.setDirection(L,D)}function C(L){var D;for(D=0;D<r;D+=1)t[D].animation.play(L)}function y(L){var D=L-n,w;for(w=0;w<r;w+=1)t[w].animation.advanceTime(D);n=L,i&&!o?window.requestAnimationFrame(y):a=!0}function v(L){n=L,window.requestAnimationFrame(y)}function b(L){var D;for(D=0;D<r;D+=1)t[D].animation.pause(L)}function x(L,D,w){var N;for(N=0;N<r;N+=1)t[N].animation.goToAndStop(L,D,w)}function T(L){var D;for(D=0;D<r;D+=1)t[D].animation.stop(L)}function S(L){var D;for(D=0;D<r;D+=1)t[D].animation.togglePause(L)}function E(L){var D;for(D=r-1;D>=0;D-=1)t[D].animation.destroy(L)}function A(L,D,w){var N=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),V,H=N.length;for(V=0;V<H;V+=1)w&&N[V].setAttribute("data-bm-type",w),u(N[V],L);if(D&&H===0){w||(w="svg");var q=document.getElementsByTagName("body")[0];q.innerText="";var K=createTag("div");K.style.width="100%",K.style.height="100%",K.setAttribute("data-bm-type",w),q.appendChild(K),u(K,L)}}function M(){var L;for(L=0;L<r;L+=1)t[L].animation.resize()}function P(){!o&&i&&a&&(window.requestAnimationFrame(v),a=!1)}function B(){o=!0}function O(){o=!1,P()}function R(L,D){var w;for(w=0;w<r;w+=1)t[w].animation.setVolume(L,D)}function _(L){var D;for(D=0;D<r;D+=1)t[D].animation.mute(L)}function F(L){var D;for(D=0;D<r;D+=1)t[D].animation.unmute(L)}return e.registerAnimation=u,e.loadAnimation=f,e.setSpeed=p,e.setDirection=h,e.play=C,e.pause=b,e.stop=T,e.togglePause=S,e.searchAnimations=A,e.resize=M,e.goToAndStop=x,e.destroy=E,e.freeze=B,e.unfreeze=O,e.setVolume=R,e.mute=_,e.unmute=F,e.getRegisteredAnimations=l,e}(),BezierFactory=function(){var e={};e.getBezierEasing=n;var t={};function n(v,b,x,T,S){var E=S||("bez_"+v+"_"+b+"_"+x+"_"+T).replace(/\./g,"p");if(t[E])return t[E];var A=new y([v,b,x,T]);return t[E]=A,A}var r=4,i=.001,a=1e-7,o=10,s=11,u=1/(s-1),l=typeof Float32Array=="function";function c(v,b){return 1-3*b+3*v}function d(v,b){return 3*b-6*v}function g(v){return 3*v}function f(v,b,x){return((c(b,x)*v+d(b,x))*v+g(b))*v}function p(v,b,x){return 3*c(b,x)*v*v+2*d(b,x)*v+g(b)}function h(v,b,x,T,S){var E,A,M=0;do A=b+(x-b)/2,E=f(A,T,S)-v,E>0?x=A:b=A;while(Math.abs(E)>a&&++M<o);return A}function C(v,b,x,T){for(var S=0;S<r;++S){var E=p(b,x,T);if(E===0)return b;var A=f(b,x,T)-v;b-=A/E}return b}function y(v){this._p=v,this._mSampleValues=l?new Float32Array(s):new Array(s),this._precomputed=!1,this.get=this.get.bind(this)}return y.prototype={get:function(v){var b=this._p[0],x=this._p[1],T=this._p[2],S=this._p[3];return this._precomputed||this._precompute(),b===x&&T===S?v:v===0?0:v===1?1:f(this._getTForX(v),x,S)},_precompute:function(){var v=this._p[0],b=this._p[1],x=this._p[2],T=this._p[3];this._precomputed=!0,(v!==b||x!==T)&&this._calcSampleValues()},_calcSampleValues:function(){for(var v=this._p[0],b=this._p[2],x=0;x<s;++x)this._mSampleValues[x]=f(x*u,v,b)},_getTForX:function(v){for(var b=this._p[0],x=this._p[2],T=this._mSampleValues,S=0,E=1,A=s-1;E!==A&&T[E]<=v;++E)S+=u;--E;var M=(v-T[E])/(T[E+1]-T[E]),P=S+M*u,B=p(P,b,x);return B>=i?C(v,P,b,x):B===0?P:h(v,S,S+u,b,x)}},e}(),pooling=function(){function e(t){return t.concat(createSizedArray(t.length))}return{double:e}}(),poolFactory=function(){return function(e,t,n){var r=0,i=e,a=createSizedArray(i),o={newElement:s,release:u};function s(){var l;return r?(r-=1,l=a[r]):l=t(),l}function u(l){r===i&&(a=pooling.double(a),i*=2),n&&n(l),a[r]=l,r+=1}return o}}(),bezierLengthPool=function(){function e(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,e)}(),segmentsLengthPool=function(){function e(){return{lengths:[],totalLength:0}}function t(n){var r,i=n.lengths.length;for(r=0;r<i;r+=1)bezierLengthPool.release(n.lengths[r]);n.lengths.length=0}return poolFactory(8,e,t)}();function bezFunction(){var e=Math;function t(g,f,p,h,C,y){var v=g*h+f*C+p*y-C*h-y*g-p*f;return v>-.001&&v<.001}function n(g,f,p,h,C,y,v,b,x){if(p===0&&y===0&&x===0)return t(g,f,h,C,v,b);var T=e.sqrt(e.pow(h-g,2)+e.pow(C-f,2)+e.pow(y-p,2)),S=e.sqrt(e.pow(v-g,2)+e.pow(b-f,2)+e.pow(x-p,2)),E=e.sqrt(e.pow(v-h,2)+e.pow(b-C,2)+e.pow(x-y,2)),A;return T>S?T>E?A=T-S-E:A=E-S-T:E>S?A=E-S-T:A=S-T-E,A>-1e-4&&A<1e-4}var r=function(){return function(g,f,p,h){var C=getDefaultCurveSegments(),y,v,b,x,T,S=0,E,A=[],M=[],P=bezierLengthPool.newElement();for(b=p.length,y=0;y<C;y+=1){for(T=y/(C-1),E=0,v=0;v<b;v+=1)x=bmPow(1-T,3)*g[v]+3*bmPow(1-T,2)*T*p[v]+3*(1-T)*bmPow(T,2)*h[v]+bmPow(T,3)*f[v],A[v]=x,M[v]!==null&&(E+=bmPow(A[v]-M[v],2)),M[v]=A[v];E&&(E=bmSqrt(E),S+=E),P.percents[y]=T,P.lengths[y]=S}return P.addedLength=S,P}}();function i(g){var f=segmentsLengthPool.newElement(),p=g.c,h=g.v,C=g.o,y=g.i,v,b=g._length,x=f.lengths,T=0;for(v=0;v<b-1;v+=1)x[v]=r(h[v],h[v+1],C[v],y[v+1]),T+=x[v].addedLength;return p&&b&&(x[v]=r(h[v],h[0],C[v],y[0]),T+=x[v].addedLength),f.totalLength=T,f}function a(g){this.segmentLength=0,this.points=new Array(g)}function o(g,f){this.partialLength=g,this.point=f}var s=function(){var g={};return function(f,p,h,C){var y=(f[0]+"_"+f[1]+"_"+p[0]+"_"+p[1]+"_"+h[0]+"_"+h[1]+"_"+C[0]+"_"+C[1]).replace(/\./g,"p");if(!g[y]){var v=getDefaultCurveSegments(),b,x,T,S,E,A=0,M,P,B=null;f.length===2&&(f[0]!==p[0]||f[1]!==p[1])&&t(f[0],f[1],p[0],p[1],f[0]+h[0],f[1]+h[1])&&t(f[0],f[1],p[0],p[1],p[0]+C[0],p[1]+C[1])&&(v=2);var O=new a(v);for(T=h.length,b=0;b<v;b+=1){for(P=createSizedArray(T),E=b/(v-1),M=0,x=0;x<T;x+=1)S=bmPow(1-E,3)*f[x]+3*bmPow(1-E,2)*E*(f[x]+h[x])+3*(1-E)*bmPow(E,2)*(p[x]+C[x])+bmPow(E,3)*p[x],P[x]=S,B!==null&&(M+=bmPow(P[x]-B[x],2));M=bmSqrt(M),A+=M,O.points[b]=new o(M,P),B=P}O.segmentLength=A,g[y]=O}return g[y]}}();function u(g,f){var p=f.percents,h=f.lengths,C=p.length,y=bmFloor((C-1)*g),v=g*f.addedLength,b=0;if(y===C-1||y===0||v===h[y])return p[y];for(var x=h[y]>v?-1:1,T=!0;T;)if(h[y]<=v&&h[y+1]>v?(b=(v-h[y])/(h[y+1]-h[y]),T=!1):y+=x,y<0||y>=C-1){if(y===C-1)return p[y];T=!1}return p[y]+(p[y+1]-p[y])*b}function l(g,f,p,h,C,y){var v=u(C,y),b=1-v,x=e.round((b*b*b*g[0]+(v*b*b+b*v*b+b*b*v)*p[0]+(v*v*b+b*v*v+v*b*v)*h[0]+v*v*v*f[0])*1e3)/1e3,T=e.round((b*b*b*g[1]+(v*b*b+b*v*b+b*b*v)*p[1]+(v*v*b+b*v*v+v*b*v)*h[1]+v*v*v*f[1])*1e3)/1e3;return[x,T]}var c=createTypedArray("float32",8);function d(g,f,p,h,C,y,v){C<0?C=0:C>1&&(C=1);var b=u(C,v);y=y>1?1:y;var x=u(y,v),T,S=g.length,E=1-b,A=1-x,M=E*E*E,P=b*E*E*3,B=b*b*E*3,O=b*b*b,R=E*E*A,_=b*E*A+E*b*A+E*E*x,F=b*b*A+E*b*x+b*E*x,L=b*b*x,D=E*A*A,w=b*A*A+E*x*A+E*A*x,N=b*x*A+E*x*x+b*A*x,V=b*x*x,H=A*A*A,q=x*A*A+A*x*A+A*A*x,K=x*x*A+A*x*x+x*A*x,J=x*x*x;for(T=0;T<S;T+=1)c[T*4]=e.round((M*g[T]+P*p[T]+B*h[T]+O*f[T])*1e3)/1e3,c[T*4+1]=e.round((R*g[T]+_*p[T]+F*h[T]+L*f[T])*1e3)/1e3,c[T*4+2]=e.round((D*g[T]+w*p[T]+N*h[T]+V*f[T])*1e3)/1e3,c[T*4+3]=e.round((H*g[T]+q*p[T]+K*h[T]+J*f[T])*1e3)/1e3;return c}return{getSegmentsLength:i,getNewSegment:d,getPointInSegment:l,buildBezierData:s,pointOnLine2D:t,pointOnLine3D:n}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(e,t){var n=this.offsetTime,r;this.propType==="multidimensional"&&(r=createTypedArray("float32",this.pv.length));for(var i=t.lastIndex,a=i,o=this.keyframes.length-1,s=!0,u,l,c;s;){if(u=this.keyframes[a],l=this.keyframes[a+1],a===o-1&&e>=l.t-n){u.h&&(u=l),i=0;break}if(l.t-n>e){i=a;break}a<o-1?a+=1:(i=0,s=!1)}c=this.keyframesMetadata[a]||{};var d,g,f,p,h,C,y=l.t-n,v=u.t-n,b;if(u.to){c.bezierData||(c.bezierData=bez.buildBezierData(u.s,l.s||u.e,u.to,u.ti));var x=c.bezierData;if(e>=y||e<v){var T=e>=y?x.points.length-1:0;for(g=x.points[T].point.length,d=0;d<g;d+=1)r[d]=x.points[T].point[d]}else{c.__fnct?C=c.__fnct:(C=BezierFactory.getBezierEasing(u.o.x,u.o.y,u.i.x,u.i.y,u.n).get,c.__fnct=C),f=C((e-v)/(y-v));var S=x.segmentLength*f,E,A=t.lastFrame<e&&t._lastKeyframeIndex===a?t._lastAddedLength:0;for(h=t.lastFrame<e&&t._lastKeyframeIndex===a?t._lastPoint:0,s=!0,p=x.points.length;s;){if(A+=x.points[h].partialLength,S===0||f===0||h===x.points.length-1){for(g=x.points[h].point.length,d=0;d<g;d+=1)r[d]=x.points[h].point[d];break}else if(S>=A&&S<A+x.points[h+1].partialLength){for(E=(S-A)/x.points[h+1].partialLength,g=x.points[h].point.length,d=0;d<g;d+=1)r[d]=x.points[h].point[d]+(x.points[h+1].point[d]-x.points[h].point[d])*E;break}h<p-1?h+=1:s=!1}t._lastPoint=h,t._lastAddedLength=A-x.points[h].partialLength,t._lastKeyframeIndex=a}}else{var M,P,B,O,R;if(o=u.s.length,b=l.s||u.e,this.sh&&u.h!==1)if(e>=y)r[0]=b[0],r[1]=b[1],r[2]=b[2];else if(e<=v)r[0]=u.s[0],r[1]=u.s[1],r[2]=u.s[2];else{var _=createQuaternion(u.s),F=createQuaternion(b),L=(e-v)/(y-v);quaternionToEuler(r,slerp(_,F,L))}else for(a=0;a<o;a+=1)u.h!==1&&(e>=y?f=1:e<v?f=0:(u.o.x.constructor===Array?(c.__fnct||(c.__fnct=[]),c.__fnct[a]?C=c.__fnct[a]:(M=u.o.x[a]===void 0?u.o.x[0]:u.o.x[a],P=u.o.y[a]===void 0?u.o.y[0]:u.o.y[a],B=u.i.x[a]===void 0?u.i.x[0]:u.i.x[a],O=u.i.y[a]===void 0?u.i.y[0]:u.i.y[a],C=BezierFactory.getBezierEasing(M,P,B,O).get,c.__fnct[a]=C)):c.__fnct?C=c.__fnct:(M=u.o.x,P=u.o.y,B=u.i.x,O=u.i.y,C=BezierFactory.getBezierEasing(M,P,B,O).get,u.keyframeMetadata=C),f=C((e-v)/(y-v)))),b=l.s||u.e,R=u.h===1?u.s[a]:u.s[a]+(b[a]-u.s[a])*f,this.propType==="multidimensional"?r[a]=R:r=R}return t.lastIndex=i,r}function slerp(e,t,n){var r=[],i=e[0],a=e[1],o=e[2],s=e[3],u=t[0],l=t[1],c=t[2],d=t[3],g,f,p,h,C;return f=i*u+a*l+o*c+s*d,f<0&&(f=-f,u=-u,l=-l,c=-c,d=-d),1-f>1e-6?(g=Math.acos(f),p=Math.sin(g),h=Math.sin((1-n)*g)/p,C=Math.sin(n*g)/p):(h=1-n,C=n),r[0]=h*i+C*u,r[1]=h*a+C*l,r[2]=h*o+C*c,r[3]=h*s+C*d,r}function quaternionToEuler(e,t){var n=t[0],r=t[1],i=t[2],a=t[3],o=Math.atan2(2*r*a-2*n*i,1-2*r*r-2*i*i),s=Math.asin(2*n*r+2*i*a),u=Math.atan2(2*n*a-2*r*i,1-2*n*n-2*i*i);e[0]=o/degToRads,e[1]=s/degToRads,e[2]=u/degToRads}function createQuaternion(e){var t=e[0]*degToRads,n=e[1]*degToRads,r=e[2]*degToRads,i=Math.cos(t/2),a=Math.cos(n/2),o=Math.cos(r/2),s=Math.sin(t/2),u=Math.sin(n/2),l=Math.sin(r/2),c=i*a*o-s*u*l,d=s*u*o+i*a*l,g=s*a*o+i*u*l,f=i*u*o-s*a*l;return[d,g,f,c]}function getValueAtCurrentTime(){var e=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=n&&e>=n||this._caching.lastFrame<t&&e<t))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var r=this.interpolateValue(e,this._caching);this.pv=r}return this._caching.lastFrame=e,this.pv}function setVValue(e){var t;if(this.propType==="unidimensional")t=e*this.mult,mathAbs(this.v-t)>1e-5&&(this.v=t,this._mdf=!0);else for(var n=0,r=this.v.length;n<r;)t=e[n]*this.mult,mathAbs(this.v[n]-t)>1e-5&&(this.v[n]=t,this._mdf=!0),n+=1}function processEffectsSequence(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var e,t=this.effectsSequence.length,n=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)n=this.effectsSequence[e](n);this.setVValue(n),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function ValueProperty(e,t,n,r){this.propType="unidimensional",this.mult=n||1,this.data=t,this.v=n?t.k*n:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=r,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(e,t,n,r){this.propType="multidimensional",this.mult=n||1,this.data=t,this._mdf=!1,this.elem=e,this.container=r,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var i,a=t.k.length;for(this.v=createTypedArray("float32",a),this.pv=createTypedArray("float32",a),this.vel=createTypedArray("float32",a),i=0;i<a;i+=1)this.v[i]=t.k[i]*this.mult,this.pv[i]=t.k[i];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(e,t,n,r){this.propType="unidimensional",this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=t,this.mult=n||1,this.elem=e,this.container=r,this.comp=e.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(e,t,n,r){this.propType="multidimensional";var i,a=t.k.length,o,s,u,l;for(i=0;i<a-1;i+=1)t.k[i].to&&t.k[i].s&&t.k[i+1]&&t.k[i+1].s&&(o=t.k[i].s,s=t.k[i+1].s,u=t.k[i].to,l=t.k[i].ti,(o.length===2&&!(o[0]===s[0]&&o[1]===s[1])&&bez.pointOnLine2D(o[0],o[1],s[0],s[1],o[0]+u[0],o[1]+u[1])&&bez.pointOnLine2D(o[0],o[1],s[0],s[1],s[0]+l[0],s[1]+l[1])||o.length===3&&!(o[0]===s[0]&&o[1]===s[1]&&o[2]===s[2])&&bez.pointOnLine3D(o[0],o[1],o[2],s[0],s[1],s[2],o[0]+u[0],o[1]+u[1],o[2]+u[2])&&bez.pointOnLine3D(o[0],o[1],o[2],s[0],s[1],s[2],s[0]+l[0],s[1]+l[1],s[2]+l[2]))&&(t.k[i].to=null,t.k[i].ti=null),o[0]===s[0]&&o[1]===s[1]&&u[0]===0&&u[1]===0&&l[0]===0&&l[1]===0&&(o.length===2||o[2]===s[2]&&u[2]===0&&l[2]===0)&&(t.k[i].to=null,t.k[i].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=t,this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=n||1,this.elem=e,this.container=r,this.comp=e.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var c=t.k[0].s.length;for(this.v=createTypedArray("float32",c),this.pv=createTypedArray("float32",c),i=0;i<c;i+=1)this.v[i]=initFrame,this.pv[i]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",c)},this.addEffect=addEffect}var PropertyFactory=function(){function e(n,r,i,a,o){r.sid&&(r=n.globalData.slotManager.getProp(r));var s;if(!r.k.length)s=new ValueProperty(n,r,a,o);else if(typeof r.k[0]=="number")s=new MultiDimensionalProperty(n,r,a,o);else switch(i){case 0:s=new KeyframedValueProperty(n,r,a,o);break;case 1:s=new KeyframedMultidimensionalProperty(n,r,a,o);break;default:break}return s.effectsSequence.length&&o.addDynamicProperty(s),s}var t={getProp:e};return t}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(e){this.dynamicProperties.indexOf(e)===-1&&(this.dynamicProperties.push(e),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var e,t=this.dynamicProperties.length;for(e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(e){this.container=e,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function e(){return createTypedArray("float32",2)}return poolFactory(8,e)}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(e,t){this.c=e,this.setLength(t);for(var n=0;n<t;)this.v[n]=pointPool.newElement(),this.o[n]=pointPool.newElement(),this.i[n]=pointPool.newElement(),n+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(e,t,n,r,i){var a;switch(this._length=Math.max(this._length,r+1),this._length>=this._maxLength&&this.doubleArrayLength(),n){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[];break}(!a[r]||a[r]&&!i)&&(a[r]=pointPool.newElement()),a[r][0]=e,a[r][1]=t},ShapePath.prototype.setTripleAt=function(e,t,n,r,i,a,o,s){this.setXYAt(e,t,"v",o,s),this.setXYAt(n,r,"o",o,s),this.setXYAt(i,a,"i",o,s)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,n=this.o,r=this.i,i=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],r[0][0],r[0][1],n[0][0],n[0][1],0,!1),i=1);var a=this._length-1,o=this._length,s;for(s=i;s<o;s+=1)e.setTripleAt(t[a][0],t[a][1],r[a][0],r[a][1],n[a][0],n[a][1],s,!1),a-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function e(){return new ShapePath}function t(i){var a=i._length,o;for(o=0;o<a;o+=1)pointPool.release(i.v[o]),pointPool.release(i.i[o]),pointPool.release(i.o[o]),i.v[o]=null,i.i[o]=null,i.o[o]=null;i._length=0,i.c=!1}function n(i){var a=r.newElement(),o,s=i._length===void 0?i.v.length:i._length;for(a.setLength(s),a.c=i.c,o=0;o<s;o+=1)a.setTripleAt(i.v[o][0],i.v[o][1],i.o[o][0],i.o[o][1],i.i[o][0],i.i[o][1],o);return a}var r=poolFactory(4,e,t);return r.clone=n,r}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shapePool.release(this.shapes[e]);this._length=0};var shapeCollectionPool=function(){var e={newShapeCollection:i,release:a},t=0,n=4,r=createSizedArray(n);function i(){var o;return t?(t-=1,o=r[t]):o=new ShapeCollection,o}function a(o){var s,u=o._length;for(s=0;s<u;s+=1)shapePool.release(o.shapes[s]);o._length=0,t===n&&(r=pooling.double(r),n*=2),r[t]=o,t+=1}return e}(),ShapePropertyFactory=function(){var e=-999999;function t(y,v,b){var x=b.lastIndex,T,S,E,A,M,P,B,O,R,_=this.keyframes;if(y<_[0].t-this.offsetTime)T=_[0].s[0],E=!0,x=0;else if(y>=_[_.length-1].t-this.offsetTime)T=_[_.length-1].s?_[_.length-1].s[0]:_[_.length-2].e[0],E=!0;else{for(var F=x,L=_.length-1,D=!0,w,N,V;D&&(w=_[F],N=_[F+1],!(N.t-this.offsetTime>y));)F<L-1?F+=1:D=!1;if(V=this.keyframesMetadata[F]||{},E=w.h===1,x=F,!E){if(y>=N.t-this.offsetTime)O=1;else if(y<w.t-this.offsetTime)O=0;else{var H;V.__fnct?H=V.__fnct:(H=BezierFactory.getBezierEasing(w.o.x,w.o.y,w.i.x,w.i.y).get,V.__fnct=H),O=H((y-(w.t-this.offsetTime))/(N.t-this.offsetTime-(w.t-this.offsetTime)))}S=N.s?N.s[0]:w.e[0]}T=w.s[0]}for(P=v._length,B=T.i[0].length,b.lastIndex=x,A=0;A<P;A+=1)for(M=0;M<B;M+=1)R=E?T.i[A][M]:T.i[A][M]+(S.i[A][M]-T.i[A][M])*O,v.i[A][M]=R,R=E?T.o[A][M]:T.o[A][M]+(S.o[A][M]-T.o[A][M])*O,v.o[A][M]=R,R=E?T.v[A][M]:T.v[A][M]+(S.v[A][M]-T.v[A][M])*O,v.v[A][M]=R}function n(){var y=this.comp.renderedFrame-this.offsetTime,v=this.keyframes[0].t-this.offsetTime,b=this.keyframes[this.keyframes.length-1].t-this.offsetTime,x=this._caching.lastFrame;return x!==e&&(x<v&&y<v||x>b&&y>b)||(this._caching.lastIndex=x<y?this._caching.lastIndex:0,this.interpolateShape(y,this.pv,this._caching)),this._caching.lastFrame=y,this.pv}function r(){this.paths=this.localShapeCollection}function i(y,v){if(y._length!==v._length||y.c!==v.c)return!1;var b,x=y._length;for(b=0;b<x;b+=1)if(y.v[b][0]!==v.v[b][0]||y.v[b][1]!==v.v[b][1]||y.o[b][0]!==v.o[b][0]||y.o[b][1]!==v.o[b][1]||y.i[b][0]!==v.i[b][0]||y.i[b][1]!==v.i[b][1])return!1;return!0}function a(y){i(this.v,y)||(this.v=shapePool.clone(y),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function o(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var y;this.kf?y=this.pv:this.data.ks?y=this.data.ks.k:y=this.data.pt.k;var v,b=this.effectsSequence.length;for(v=0;v<b;v+=1)y=this.effectsSequence[v](y);this.setVValue(y),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function s(y,v,b){this.propType="shape",this.comp=y.comp,this.container=y,this.elem=y,this.data=v,this.k=!1,this.kf=!1,this._mdf=!1;var x=b===3?v.pt.k:v.ks.k;this.v=shapePool.clone(x),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=r,this.effectsSequence=[]}function u(y){this.effectsSequence.push(y),this.container.addDynamicProperty(this)}s.prototype.interpolateShape=t,s.prototype.getValue=o,s.prototype.setVValue=a,s.prototype.addEffect=u;function l(y,v,b){this.propType="shape",this.comp=y.comp,this.elem=y,this.container=y,this.offsetTime=y.data.st,this.keyframes=b===3?v.pt.k:v.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var x=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,x),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=r,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[n.bind(this)]}l.prototype.getValue=o,l.prototype.interpolateShape=t,l.prototype.setVValue=a,l.prototype.addEffect=u;var c=function(){var y=roundCorner;function v(b,x){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=x.d,this.elem=b,this.comp=b.comp,this.frameId=-1,this.initDynamicPropertyContainer(b),this.p=PropertyFactory.getProp(b,x.p,1,0,this),this.s=PropertyFactory.getProp(b,x.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return v.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var b=this.p.v[0],x=this.p.v[1],T=this.s.v[0]/2,S=this.s.v[1]/2,E=this.d!==3,A=this.v;A.v[0][0]=b,A.v[0][1]=x-S,A.v[1][0]=E?b+T:b-T,A.v[1][1]=x,A.v[2][0]=b,A.v[2][1]=x+S,A.v[3][0]=E?b-T:b+T,A.v[3][1]=x,A.i[0][0]=E?b-T*y:b+T*y,A.i[0][1]=x-S,A.i[1][0]=E?b+T:b-T,A.i[1][1]=x-S*y,A.i[2][0]=E?b+T*y:b-T*y,A.i[2][1]=x+S,A.i[3][0]=E?b-T:b+T,A.i[3][1]=x+S*y,A.o[0][0]=E?b+T*y:b-T*y,A.o[0][1]=x-S,A.o[1][0]=E?b+T:b-T,A.o[1][1]=x+S*y,A.o[2][0]=E?b-T*y:b+T*y,A.o[2][1]=x+S,A.o[3][0]=E?b-T:b+T,A.o[3][1]=x-S*y}},extendPrototype([DynamicPropertyContainer],v),v}(),d=function(){function y(v,b){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=v,this.comp=v.comp,this.data=b,this.frameId=-1,this.d=b.d,this.initDynamicPropertyContainer(v),b.sy===1?(this.ir=PropertyFactory.getProp(v,b.ir,0,0,this),this.is=PropertyFactory.getProp(v,b.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(v,b.pt,0,0,this),this.p=PropertyFactory.getProp(v,b.p,1,0,this),this.r=PropertyFactory.getProp(v,b.r,0,degToRads,this),this.or=PropertyFactory.getProp(v,b.or,0,0,this),this.os=PropertyFactory.getProp(v,b.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return y.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var v=Math.floor(this.pt.v)*2,b=Math.PI*2/v,x=!0,T=this.or.v,S=this.ir.v,E=this.os.v,A=this.is.v,M=2*Math.PI*T/(v*2),P=2*Math.PI*S/(v*2),B,O,R,_,F=-Math.PI/2;F+=this.r.v;var L=this.data.d===3?-1:1;for(this.v._length=0,B=0;B<v;B+=1){O=x?T:S,R=x?E:A,_=x?M:P;var D=O*Math.cos(F),w=O*Math.sin(F),N=D===0&&w===0?0:w/Math.sqrt(D*D+w*w),V=D===0&&w===0?0:-D/Math.sqrt(D*D+w*w);D+=+this.p.v[0],w+=+this.p.v[1],this.v.setTripleAt(D,w,D-N*_*R*L,w-V*_*R*L,D+N*_*R*L,w+V*_*R*L,B,!0),x=!x,F+=b*L}},convertPolygonToPath:function(){var v=Math.floor(this.pt.v),b=Math.PI*2/v,x=this.or.v,T=this.os.v,S=2*Math.PI*x/(v*4),E,A=-Math.PI*.5,M=this.data.d===3?-1:1;for(A+=this.r.v,this.v._length=0,E=0;E<v;E+=1){var P=x*Math.cos(A),B=x*Math.sin(A),O=P===0&&B===0?0:B/Math.sqrt(P*P+B*B),R=P===0&&B===0?0:-P/Math.sqrt(P*P+B*B);P+=+this.p.v[0],B+=+this.p.v[1],this.v.setTripleAt(P,B,P-O*S*T*M,B-R*S*T*M,P+O*S*T*M,B+R*S*T*M,E,!0),A+=b*M}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],y),y}(),g=function(){function y(v,b){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=v,this.comp=v.comp,this.frameId=-1,this.d=b.d,this.initDynamicPropertyContainer(v),this.p=PropertyFactory.getProp(v,b.p,1,0,this),this.s=PropertyFactory.getProp(v,b.s,1,0,this),this.r=PropertyFactory.getProp(v,b.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return y.prototype={convertRectToPath:function(){var v=this.p.v[0],b=this.p.v[1],x=this.s.v[0]/2,T=this.s.v[1]/2,S=bmMin(x,T,this.r.v),E=S*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(v+x,b-T+S,v+x,b-T+S,v+x,b-T+E,0,!0),this.v.setTripleAt(v+x,b+T-S,v+x,b+T-E,v+x,b+T-S,1,!0),S!==0?(this.v.setTripleAt(v+x-S,b+T,v+x-S,b+T,v+x-E,b+T,2,!0),this.v.setTripleAt(v-x+S,b+T,v-x+E,b+T,v-x+S,b+T,3,!0),this.v.setTripleAt(v-x,b+T-S,v-x,b+T-S,v-x,b+T-E,4,!0),this.v.setTripleAt(v-x,b-T+S,v-x,b-T+E,v-x,b-T+S,5,!0),this.v.setTripleAt(v-x+S,b-T,v-x+S,b-T,v-x+E,b-T,6,!0),this.v.setTripleAt(v+x-S,b-T,v+x-E,b-T,v+x-S,b-T,7,!0)):(this.v.setTripleAt(v-x,b+T,v-x+E,b+T,v-x,b+T,2),this.v.setTripleAt(v-x,b-T,v-x,b-T+E,v-x,b-T,3))):(this.v.setTripleAt(v+x,b-T+S,v+x,b-T+E,v+x,b-T+S,0,!0),S!==0?(this.v.setTripleAt(v+x-S,b-T,v+x-S,b-T,v+x-E,b-T,1,!0),this.v.setTripleAt(v-x+S,b-T,v-x+E,b-T,v-x+S,b-T,2,!0),this.v.setTripleAt(v-x,b-T+S,v-x,b-T+S,v-x,b-T+E,3,!0),this.v.setTripleAt(v-x,b+T-S,v-x,b+T-E,v-x,b+T-S,4,!0),this.v.setTripleAt(v-x+S,b+T,v-x+S,b+T,v-x+E,b+T,5,!0),this.v.setTripleAt(v+x-S,b+T,v+x-E,b+T,v+x-S,b+T,6,!0),this.v.setTripleAt(v+x,b+T-S,v+x,b+T-S,v+x,b+T-E,7,!0)):(this.v.setTripleAt(v-x,b-T,v-x+E,b-T,v-x,b-T,1,!0),this.v.setTripleAt(v-x,b+T,v-x,b+T-E,v-x,b+T,2,!0),this.v.setTripleAt(v+x,b+T,v+x-E,b+T,v+x,b+T,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:r},extendPrototype([DynamicPropertyContainer],y),y}();function f(y,v,b){var x;if(b===3||b===4){var T=b===3?v.pt:v.ks,S=T.k;S.length?x=new l(y,v,b):x=new s(y,v,b)}else b===5?x=new g(y,v):b===6?x=new c(y,v):b===7&&(x=new d(y,v));return x.k&&y.addDynamicProperty(x),x}function p(){return s}function h(){return l}var C={};return C.getShapeProp=f,C.getConstructorFunction=p,C.getKeyframedConstructorFunction=h,C}(),Matrix=function(){var e=Math.cos,t=Math.sin,n=Math.tan,r=Math.round;function i(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function a(w){if(w===0)return this;var N=e(w),V=t(w);return this._t(N,-V,0,0,V,N,0,0,0,0,1,0,0,0,0,1)}function o(w){if(w===0)return this;var N=e(w),V=t(w);return this._t(1,0,0,0,0,N,-V,0,0,V,N,0,0,0,0,1)}function s(w){if(w===0)return this;var N=e(w),V=t(w);return this._t(N,0,V,0,0,1,0,0,-V,0,N,0,0,0,0,1)}function u(w){if(w===0)return this;var N=e(w),V=t(w);return this._t(N,-V,0,0,V,N,0,0,0,0,1,0,0,0,0,1)}function l(w,N){return this._t(1,N,w,1,0,0)}function c(w,N){return this.shear(n(w),n(N))}function d(w,N){var V=e(N),H=t(N);return this._t(V,H,0,0,-H,V,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,n(w),1,0,0,0,0,1,0,0,0,0,1)._t(V,-H,0,0,H,V,0,0,0,0,1,0,0,0,0,1)}function g(w,N,V){return!V&&V!==0&&(V=1),w===1&&N===1&&V===1?this:this._t(w,0,0,0,0,N,0,0,0,0,V,0,0,0,0,1)}function f(w,N,V,H,q,K,J,re,Q,ie,xe,be,ae,ue,ce,pe){return this.props[0]=w,this.props[1]=N,this.props[2]=V,this.props[3]=H,this.props[4]=q,this.props[5]=K,this.props[6]=J,this.props[7]=re,this.props[8]=Q,this.props[9]=ie,this.props[10]=xe,this.props[11]=be,this.props[12]=ae,this.props[13]=ue,this.props[14]=ce,this.props[15]=pe,this}function p(w,N,V){return V=V||0,w!==0||N!==0||V!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,w,N,V,1):this}function h(w,N,V,H,q,K,J,re,Q,ie,xe,be,ae,ue,ce,pe){var X=this.props;if(w===1&&N===0&&V===0&&H===0&&q===0&&K===1&&J===0&&re===0&&Q===0&&ie===0&&xe===1&&be===0)return X[12]=X[12]*w+X[15]*ae,X[13]=X[13]*K+X[15]*ue,X[14]=X[14]*xe+X[15]*ce,X[15]*=pe,this._identityCalculated=!1,this;var Ae=X[0],fe=X[1],ne=X[2],te=X[3],ve=X[4],He=X[5],ke=X[6],Ye=X[7],Ee=X[8],$e=X[9],qe=X[10],yt=X[11],Vn=X[12],gi=X[13],en=X[14],Gn=X[15];return X[0]=Ae*w+fe*q+ne*Q+te*ae,X[1]=Ae*N+fe*K+ne*ie+te*ue,X[2]=Ae*V+fe*J+ne*xe+te*ce,X[3]=Ae*H+fe*re+ne*be+te*pe,X[4]=ve*w+He*q+ke*Q+Ye*ae,X[5]=ve*N+He*K+ke*ie+Ye*ue,X[6]=ve*V+He*J+ke*xe+Ye*ce,X[7]=ve*H+He*re+ke*be+Ye*pe,X[8]=Ee*w+$e*q+qe*Q+yt*ae,X[9]=Ee*N+$e*K+qe*ie+yt*ue,X[10]=Ee*V+$e*J+qe*xe+yt*ce,X[11]=Ee*H+$e*re+qe*be+yt*pe,X[12]=Vn*w+gi*q+en*Q+Gn*ae,X[13]=Vn*N+gi*K+en*ie+Gn*ue,X[14]=Vn*V+gi*J+en*xe+Gn*ce,X[15]=Vn*H+gi*re+en*be+Gn*pe,this._identityCalculated=!1,this}function C(w){var N=w.props;return this.transform(N[0],N[1],N[2],N[3],N[4],N[5],N[6],N[7],N[8],N[9],N[10],N[11],N[12],N[13],N[14],N[15])}function y(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function v(w){for(var N=0;N<16;){if(w.props[N]!==this.props[N])return!1;N+=1}return!0}function b(w){var N;for(N=0;N<16;N+=1)w.props[N]=this.props[N];return w}function x(w){var N;for(N=0;N<16;N+=1)this.props[N]=w[N]}function T(w,N,V){return{x:w*this.props[0]+N*this.props[4]+V*this.props[8]+this.props[12],y:w*this.props[1]+N*this.props[5]+V*this.props[9]+this.props[13],z:w*this.props[2]+N*this.props[6]+V*this.props[10]+this.props[14]}}function S(w,N,V){return w*this.props[0]+N*this.props[4]+V*this.props[8]+this.props[12]}function E(w,N,V){return w*this.props[1]+N*this.props[5]+V*this.props[9]+this.props[13]}function A(w,N,V){return w*this.props[2]+N*this.props[6]+V*this.props[10]+this.props[14]}function M(){var w=this.props[0]*this.props[5]-this.props[1]*this.props[4],N=this.props[5]/w,V=-this.props[1]/w,H=-this.props[4]/w,q=this.props[0]/w,K=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/w,J=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/w,re=new Matrix;return re.props[0]=N,re.props[1]=V,re.props[4]=H,re.props[5]=q,re.props[12]=K,re.props[13]=J,re}function P(w){var N=this.getInverseMatrix();return N.applyToPointArray(w[0],w[1],w[2]||0)}function B(w){var N,V=w.length,H=[];for(N=0;N<V;N+=1)H[N]=P(w[N]);return H}function O(w,N,V){var H=createTypedArray("float32",6);if(this.isIdentity())H[0]=w[0],H[1]=w[1],H[2]=N[0],H[3]=N[1],H[4]=V[0],H[5]=V[1];else{var q=this.props[0],K=this.props[1],J=this.props[4],re=this.props[5],Q=this.props[12],ie=this.props[13];H[0]=w[0]*q+w[1]*J+Q,H[1]=w[0]*K+w[1]*re+ie,H[2]=N[0]*q+N[1]*J+Q,H[3]=N[0]*K+N[1]*re+ie,H[4]=V[0]*q+V[1]*J+Q,H[5]=V[0]*K+V[1]*re+ie}return H}function R(w,N,V){var H;return this.isIdentity()?H=[w,N,V]:H=[w*this.props[0]+N*this.props[4]+V*this.props[8]+this.props[12],w*this.props[1]+N*this.props[5]+V*this.props[9]+this.props[13],w*this.props[2]+N*this.props[6]+V*this.props[10]+this.props[14]],H}function _(w,N){if(this.isIdentity())return w+","+N;var V=this.props;return Math.round((w*V[0]+N*V[4]+V[12])*100)/100+","+Math.round((w*V[1]+N*V[5]+V[13])*100)/100}function F(){for(var w=0,N=this.props,V="matrix3d(",H=1e4;w<16;)V+=r(N[w]*H)/H,V+=w===15?")":",",w+=1;return V}function L(w){var N=1e4;return w<1e-6&&w>0||w>-1e-6&&w<0?r(w*N)/N:w}function D(){var w=this.props,N=L(w[0]),V=L(w[1]),H=L(w[4]),q=L(w[5]),K=L(w[12]),J=L(w[13]);return"matrix("+N+","+V+","+H+","+q+","+K+","+J+")"}return function(){this.reset=i,this.rotate=a,this.rotateX=o,this.rotateY=s,this.rotateZ=u,this.skew=c,this.skewFromAxis=d,this.shear=l,this.scale=g,this.setTransform=f,this.translate=p,this.transform=h,this.multiply=C,this.applyToPoint=T,this.applyToX=S,this.applyToY=E,this.applyToZ=A,this.applyToPointArray=R,this.applyToTriplePoints=O,this.applyToPointStringified=_,this.toCSS=F,this.to2dCSS=D,this.clone=b,this.cloneFromProps=x,this.equals=v,this.inversePoints=B,this.inversePoint=P,this.getInverseMatrix=M,this._t=this.transform,this.isIdentity=y,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$3=function(t){return typeof t}:_typeof$3=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$3(e)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(e){setLocationHref(e)}function searchAnimations(){standalone===!0?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return standalone===!0&&(e.animationData=JSON.parse(animationData)),animationManager.loadAnimation(e)}function setQuality(e){if(typeof e=="string")switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return typeof navigator<"u"}function installPlugin(e,t){e==="expressions"&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),n=0;n<t.length;n+=1){var r=t[n].split("=");if(decodeURIComponent(r[0])==e)return decodeURIComponent(r[1])}return null}var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{!((typeof exports>"u"?"undefined":_typeof$3(exports))==="object"&&typeof module<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=lottie)}catch(e){}var ShapeModifiers=function(){var e={},t={};e.registerModifier=n,e.getModifier=r;function n(i,a){t[i]||(t[i]=a)}function r(i,a,o){return new t[i](a,o)}return e}();function ShapeModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var t={shape:e.sh,data:e,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier);function TrimModifier(){}extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=PropertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,n,r,i){var a=[];t<=1?a.push({s:e,e:t}):e>=1?a.push({s:e-1,e:t-1}):(a.push({s:e,e:1}),a.push({s:0,e:t-1}));var o=[],s,u=a.length,l;for(s=0;s<u;s+=1)if(l=a[s],!(l.e*i<r||l.s*i>r+n)){var c,d;l.s*i<=r?c=0:c=(l.s*i-r)/n,l.e*i>=r+n?d=1:d=(l.e*i-r)/n,o.push([c,d])}return o.length||o.push([0,0]),o},TrimModifier.prototype.releasePathsData=function(e){var t,n=e.length;for(t=0;t<n;t+=1)segmentsLengthPool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,n;if(this._mdf||e){var r=this.o.v%360/360;if(r<0&&(r+=1),this.s.v>1?t=1+r:this.s.v<0?t=0+r:t=this.s.v+r,this.e.v>1?n=1+r:this.e.v<0?n=0+r:n=this.e.v+r,t>n){var i=t;t=n,n=i}t=Math.round(t*1e4)*1e-4,n=Math.round(n*1e4)*1e-4,this.sValue=t,this.eValue=n}else t=this.sValue,n=this.eValue;var a,o,s=this.shapes.length,u,l,c,d,g,f=0;if(n===t)for(o=0;o<s;o+=1)this.shapes[o].localShapeCollection.releaseShapes(),this.shapes[o].shape._mdf=!0,this.shapes[o].shape.paths=this.shapes[o].localShapeCollection,this._mdf&&(this.shapes[o].pathsData.length=0);else if(n===1&&t===0||n===0&&t===1){if(this._mdf)for(o=0;o<s;o+=1)this.shapes[o].pathsData.length=0,this.shapes[o].shape._mdf=!0}else{var p=[],h,C;for(o=0;o<s;o+=1)if(h=this.shapes[o],!h.shape._mdf&&!this._mdf&&!e&&this.m!==2)h.shape.paths=h.localShapeCollection;else{if(a=h.shape.paths,l=a._length,g=0,!h.shape._mdf&&h.pathsData.length)g=h.totalShapeLength;else{for(c=this.releasePathsData(h.pathsData),u=0;u<l;u+=1)d=bez.getSegmentsLength(a.shapes[u]),c.push(d),g+=d.totalLength;h.totalShapeLength=g,h.pathsData=c}f+=g,h.shape._mdf=!0}var y=t,v=n,b=0,x;for(o=s-1;o>=0;o-=1)if(h=this.shapes[o],h.shape._mdf){for(C=h.localShapeCollection,C.releaseShapes(),this.m===2&&s>1?(x=this.calculateShapeEdges(t,n,h.totalShapeLength,b,f),b+=h.totalShapeLength):x=[[y,v]],l=x.length,u=0;u<l;u+=1){y=x[u][0],v=x[u][1],p.length=0,v<=1?p.push({s:h.totalShapeLength*y,e:h.totalShapeLength*v}):y>=1?p.push({s:h.totalShapeLength*(y-1),e:h.totalShapeLength*(v-1)}):(p.push({s:h.totalShapeLength*y,e:h.totalShapeLength}),p.push({s:0,e:h.totalShapeLength*(v-1)}));var T=this.addShapes(h,p[0]);if(p[0].s!==p[0].e){if(p.length>1){var S=h.shape.paths.shapes[h.shape.paths._length-1];if(S.c){var E=T.pop();this.addPaths(T,C),T=this.addShapes(h,p[1],E)}else this.addPaths(T,C),T=this.addShapes(h,p[1])}this.addPaths(T,C)}}h.shape.paths=C}}},TrimModifier.prototype.addPaths=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)t.addShape(e[n])},TrimModifier.prototype.addSegment=function(e,t,n,r,i,a,o){i.setXYAt(t[0],t[1],"o",a),i.setXYAt(n[0],n[1],"i",a+1),o&&i.setXYAt(e[0],e[1],"v",a),i.setXYAt(r[0],r[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,n,r){t.setXYAt(e[1],e[5],"o",n),t.setXYAt(e[2],e[6],"i",n+1),r&&t.setXYAt(e[0],e[4],"v",n),t.setXYAt(e[3],e[7],"v",n+1)},TrimModifier.prototype.addShapes=function(e,t,n){var r=e.pathsData,i=e.shape.paths.shapes,a,o=e.shape.paths._length,s,u,l=0,c,d,g,f,p=[],h,C=!0;for(n?(d=n._length,h=n._length):(n=shapePool.newElement(),d=0,h=0),p.push(n),a=0;a<o;a+=1){for(g=r[a].lengths,n.c=i[a].c,u=i[a].c?g.length:g.length+1,s=1;s<u;s+=1)if(c=g[s-1],l+c.addedLength<t.s)l+=c.addedLength,n.c=!1;else if(l>t.e){n.c=!1;break}else t.s<=l&&t.e>=l+c.addedLength?(this.addSegment(i[a].v[s-1],i[a].o[s-1],i[a].i[s],i[a].v[s],n,d,C),C=!1):(f=bez.getNewSegment(i[a].v[s-1],i[a].v[s],i[a].o[s-1],i[a].i[s],(t.s-l)/c.addedLength,(t.e-l)/c.addedLength,g[s-1]),this.addSegmentFromArray(f,n,d,C),C=!1,n.c=!1),l+=c.addedLength,d+=1;if(i[a].c&&g.length){if(c=g[s-1],l<=t.e){var y=g[s-1].addedLength;t.s<=l&&t.e>=l+y?(this.addSegment(i[a].v[s-1],i[a].o[s-1],i[a].i[0],i[a].v[0],n,d,C),C=!1):(f=bez.getNewSegment(i[a].v[s-1],i[a].v[0],i[a].o[s-1],i[a].i[0],(t.s-l)/y,(t.e-l)/y,g[s-1]),this.addSegmentFromArray(f,n,d,C),C=!1,n.c=!1)}else n.c=!1;l+=c.addedLength,d+=1}if(n._length&&(n.setXYAt(n.v[h][0],n.v[h][1],"i",h),n.setXYAt(n.v[n._length-1][0],n.v[n._length-1][1],"o",n._length-1)),l>t.e)break;a<o-1&&(n=shapePool.newElement(),C=!0,p.push(n),d=0)}return p};function PuckerAndBloatModifier(){}extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(e,t){var n=t/100,r=[0,0],i=e._length,a=0;for(a=0;a<i;a+=1)r[0]+=e.v[a][0],r[1]+=e.v[a][1];r[0]/=i,r[1]/=i;var o=shapePool.newElement();o.c=e.c;var s,u,l,c,d,g;for(a=0;a<i;a+=1)s=e.v[a][0]+(r[0]-e.v[a][0])*n,u=e.v[a][1]+(r[1]-e.v[a][1])*n,l=e.o[a][0]+(r[0]-e.o[a][0])*-n,c=e.o[a][1]+(r[1]-e.o[a][1])*-n,d=e.i[a][0]+(r[0]-e.i[a][0])*-n,g=e.i[a][1]+(r[1]-e.i[a][1])*-n,o.setTripleAt(s,u,l,c,d,g,a);return o},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,n,r=this.shapes.length,i,a,o=this.amount.v;if(o!==0){var s,u;for(n=0;n<r;n+=1){if(s=this.shapes[n],u=s.localShapeCollection,!(!s.shape._mdf&&!this._mdf&&!e))for(u.releaseShapes(),s.shape._mdf=!0,t=s.shape.paths.shapes,a=s.shape.paths._length,i=0;i<a;i+=1)u.addShape(this.processPath(t[i],o));s.shape.paths=s.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(u){var l=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||l,this.a&&u.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&u.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&u.skewFromAxis(-this.sk.v,this.sa.v),this.r?u.rotate(-this.r.v):u.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?u.translate(this.px.v,this.py.v,-this.pz.v):u.translate(this.px.v,this.py.v,0):u.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function n(u){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||u){var l;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var c,d;if(l=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(c=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/l,0),d=this.p.getValueAtTime(this.p.keyframes[0].t/l,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(c=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/l,0),d=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/l,0)):(c=this.p.pv,d=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/l,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){c=[],d=[];var g=this.px,f=this.py;g._caching.lastFrame+g.offsetTime<=g.keyframes[0].t?(c[0]=g.getValueAtTime((g.keyframes[0].t+.01)/l,0),c[1]=f.getValueAtTime((f.keyframes[0].t+.01)/l,0),d[0]=g.getValueAtTime(g.keyframes[0].t/l,0),d[1]=f.getValueAtTime(f.keyframes[0].t/l,0)):g._caching.lastFrame+g.offsetTime>=g.keyframes[g.keyframes.length-1].t?(c[0]=g.getValueAtTime(g.keyframes[g.keyframes.length-1].t/l,0),c[1]=f.getValueAtTime(f.keyframes[f.keyframes.length-1].t/l,0),d[0]=g.getValueAtTime((g.keyframes[g.keyframes.length-1].t-.01)/l,0),d[1]=f.getValueAtTime((f.keyframes[f.keyframes.length-1].t-.01)/l,0)):(c=[g.pv,f.pv],d[0]=g.getValueAtTime((g._caching.lastFrame+g.offsetTime-.01)/l,g.offsetTime),d[1]=f.getValueAtTime((f._caching.lastFrame+f.offsetTime-.01)/l,f.offsetTime))}else d=e,c=d;this.v.rotate(-Math.atan2(c[1]-d[1],c[0]-d[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function r(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function i(){}function a(u){this._addDynamicProperty(u),this.elem.addDynamicProperty(u),this._isDirty=!0}function o(u,l,c){if(this.elem=u,this.frameId=-1,this.propType="transform",this.data=l,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(c||u),l.p&&l.p.s?(this.px=PropertyFactory.getProp(u,l.p.x,0,0,this),this.py=PropertyFactory.getProp(u,l.p.y,0,0,this),l.p.z&&(this.pz=PropertyFactory.getProp(u,l.p.z,0,0,this))):this.p=PropertyFactory.getProp(u,l.p||{k:[0,0,0]},1,0,this),l.rx){if(this.rx=PropertyFactory.getProp(u,l.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(u,l.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(u,l.rz,0,degToRads,this),l.or.k[0].ti){var d,g=l.or.k.length;for(d=0;d<g;d+=1)l.or.k[d].to=null,l.or.k[d].ti=null}this.or=PropertyFactory.getProp(u,l.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(u,l.r||{k:0},0,degToRads,this);l.sk&&(this.sk=PropertyFactory.getProp(u,l.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(u,l.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(u,l.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(u,l.s||{k:[100,100,100]},1,.01,this),l.o?this.o=PropertyFactory.getProp(u,l.o,0,.01,u):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}o.prototype={applyToMatrix:t,getValue:n,precalculateMatrix:r,autoOrient:i},extendPrototype([DynamicPropertyContainer],o),o.prototype.addDynamicProperty=a,o.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function s(u,l,c){return new o(u,l,c)}return{getTransformProperty:s}}();function RepeaterModifier(){}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(e,t,n,r,i,a){var o=a?-1:1,s=r.s.v[0]+(1-r.s.v[0])*(1-i),u=r.s.v[1]+(1-r.s.v[1])*(1-i);e.translate(r.p.v[0]*o*i,r.p.v[1]*o*i,r.p.v[2]),t.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),t.rotate(-r.r.v*o*i),t.translate(r.a.v[0],r.a.v[1],r.a.v[2]),n.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),n.scale(a?1/s:s,a?1/u:u),n.translate(r.a.v[0],r.a.v[1],r.a.v[2])},RepeaterModifier.prototype.init=function(e,t,n,r){for(this.elem=e,this.arr=t,this.pos=n,this.elemsData=r,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[n]);n>0;)n-=1,this._elements.unshift(t[n]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,n=e.length;for(t=0;t<n;t+=1)e[t]._processed=!1,e[t].ty==="gr"&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)e[n]._render=t,e[n].ty==="gr"&&this.changeGroupRender(e[n].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,n,r,i,a,o=!1;if(this._mdf||e){var s=Math.ceil(this.c.v);if(this._groups.length<s){for(;this._groups.length<s;){var u={it:this.cloneElements(this._elements),ty:"gr"};u.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,u),this._groups.splice(0,0,u),this._currentCopies+=1}this.elem.reloadShapes(),o=!0}a=0;var l;for(r=0;r<=this._groups.length-1;r+=1){if(l=a<s,this._groups[r]._render=l,this.changeGroupRender(this._groups[r].it,l),!l){var c=this.elemsData[r].it,d=c[c.length-1];d.transform.op.v!==0?(d.transform.op._mdf=!0,d.transform.op.v=0):d.transform.op._mdf=!1}a+=1}this._currentCopies=s;var g=this.o.v,f=g%1,p=g>0?Math.floor(g):Math.ceil(g),h=this.pMatrix.props,C=this.rMatrix.props,y=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var v=0;if(g>0){for(;v<p;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),v+=1;f&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,f,!1),v+=f)}else if(g<0){for(;v>p;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),v-=1;f&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-f,!0),v-=f)}r=this.data.m===1?0:this._currentCopies-1,i=this.data.m===1?1:-1,a=this._currentCopies;for(var b,x;a;){if(t=this.elemsData[r].it,n=t[t.length-1].transform.mProps.v.props,x=n.length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(r/(this._currentCopies-1)),v!==0){for((r!==0&&i===1||r!==this._currentCopies-1&&i===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(C[0],C[1],C[2],C[3],C[4],C[5],C[6],C[7],C[8],C[9],C[10],C[11],C[12],C[13],C[14],C[15]),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(h[0],h[1],h[2],h[3],h[4],h[5],h[6],h[7],h[8],h[9],h[10],h[11],h[12],h[13],h[14],h[15]),b=0;b<x;b+=1)n[b]=this.matrix.props[b];this.matrix.reset()}else for(this.matrix.reset(),b=0;b<x;b+=1)n[b]=this.matrix.props[b];v+=1,a-=1,r+=i}}else for(a=this._currentCopies,r=0,i=1;a;)t=this.elemsData[r].it,n=t[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,a-=1,r+=i;return o},RepeaterModifier.prototype.addShape=function(){};function RoundCornersModifier(){}extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var n=shapePool.newElement();n.c=e.c;var r,i=e._length,a,o,s,u,l,c,d=0,g,f,p,h,C,y;for(r=0;r<i;r+=1)a=e.v[r],s=e.o[r],o=e.i[r],a[0]===s[0]&&a[1]===s[1]&&a[0]===o[0]&&a[1]===o[1]?(r===0||r===i-1)&&!e.c?(n.setTripleAt(a[0],a[1],s[0],s[1],o[0],o[1],d),d+=1):(r===0?u=e.v[i-1]:u=e.v[r-1],l=Math.sqrt(Math.pow(a[0]-u[0],2)+Math.pow(a[1]-u[1],2)),c=l?Math.min(l/2,t)/l:0,C=a[0]+(u[0]-a[0])*c,g=C,y=a[1]-(a[1]-u[1])*c,f=y,p=g-(g-a[0])*roundCorner,h=f-(f-a[1])*roundCorner,n.setTripleAt(g,f,p,h,C,y,d),d+=1,r===i-1?u=e.v[0]:u=e.v[r+1],l=Math.sqrt(Math.pow(a[0]-u[0],2)+Math.pow(a[1]-u[1],2)),c=l?Math.min(l/2,t)/l:0,p=a[0]+(u[0]-a[0])*c,g=p,h=a[1]+(u[1]-a[1])*c,f=h,C=g-(g-a[0])*roundCorner,y=f-(f-a[1])*roundCorner,n.setTripleAt(g,f,p,h,C,y,d),d+=1):(n.setTripleAt(e.v[r][0],e.v[r][1],e.o[r][0],e.o[r][1],e.i[r][0],e.i[r][1],d),d+=1);return n},RoundCornersModifier.prototype.processShapes=function(e){var t,n,r=this.shapes.length,i,a,o=this.rd.v;if(o!==0){var s,u;for(n=0;n<r;n+=1){if(s=this.shapes[n],u=s.localShapeCollection,!(!s.shape._mdf&&!this._mdf&&!e))for(u.releaseShapes(),s.shape._mdf=!0,t=s.shape.paths.shapes,a=s.shape.paths._length,i=0;i<a;i+=1)u.addShape(this.processPath(t[i],o));s.shape.paths=s.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function floatEqual(e,t){return Math.abs(e-t)*1e5<=Math.min(Math.abs(e),Math.abs(t))}function floatZero(e){return Math.abs(e)<=1e-5}function lerp(e,t,n){return e*(1-n)+t*n}function lerpPoint(e,t,n){return[lerp(e[0],t[0],n),lerp(e[1],t[1],n)]}function quadRoots(e,t,n){if(e===0)return[];var r=t*t-4*e*n;if(r<0)return[];var i=-t/(2*e);if(r===0)return[i];var a=Math.sqrt(r)/(2*e);return[i-a,i+a]}function polynomialCoefficients(e,t,n,r){return[-e+3*t-3*n+r,3*e-6*t+3*n,-3*e+3*t,e]}function singlePoint(e){return new PolynomialBezier(e,e,e,e,!1)}function PolynomialBezier(e,t,n,r,i){i&&pointEqual(e,t)&&(t=lerpPoint(e,r,1/3)),i&&pointEqual(n,r)&&(n=lerpPoint(e,r,2/3));var a=polynomialCoefficients(e[0],t[0],n[0],r[0]),o=polynomialCoefficients(e[1],t[1],n[1],r[1]);this.a=[a[0],o[0]],this.b=[a[1],o[1]],this.c=[a[2],o[2]],this.d=[a[3],o[3]],this.points=[e,t,n,r]}PolynomialBezier.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},PolynomialBezier.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(e){var t=this.derivative(e);return Math.atan2(t[1],t[0])},PolynomialBezier.prototype.normalAngle=function(e){var t=this.derivative(e);return Math.atan2(t[0],t[1])},PolynomialBezier.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(e))return[];var t=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,n=t*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(n<0)return[];var r=Math.sqrt(n);return floatZero(r)?r>0&&r<1?[t]:[]:[t-r,t+r].filter(function(i){return i>0&&i<1})},PolynomialBezier.prototype.split=function(e){if(e<=0)return[singlePoint(this.points[0]),this];if(e>=1)return[this,singlePoint(this.points[this.points.length-1])];var t=lerpPoint(this.points[0],this.points[1],e),n=lerpPoint(this.points[1],this.points[2],e),r=lerpPoint(this.points[2],this.points[3],e),i=lerpPoint(t,n,e),a=lerpPoint(n,r,e),o=lerpPoint(i,a,e);return[new PolynomialBezier(this.points[0],t,i,o,!0),new PolynomialBezier(o,a,r,this.points[3],!0)]};function extrema(e,t){var n=e.points[0][t],r=e.points[e.points.length-1][t];if(n>r){var i=r;r=n,n=i}for(var a=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),o=0;o<a.length;o+=1)if(a[o]>0&&a[o]<1){var s=e.point(a[o])[t];s<n?n=s:s>r&&(r=s)}return{min:n,max:r}}PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}};function intersectData(e,t,n){var r=e.boundingBox();return{cx:r.cx,cy:r.cy,width:r.width,height:r.height,bez:e,t:(t+n)/2,t1:t,t2:n}}function splitData(e){var t=e.bez.split(.5);return[intersectData(t[0],e.t1,e.t),intersectData(t[1],e.t,e.t2)]}function boxIntersect(e,t){return Math.abs(e.cx-t.cx)*2<e.width+t.width&&Math.abs(e.cy-t.cy)*2<e.height+t.height}function intersectsImpl(e,t,n,r,i,a){if(boxIntersect(e,t)){if(n>=a||e.width<=r&&e.height<=r&&t.width<=r&&t.height<=r){i.push([e.t,t.t]);return}var o=splitData(e),s=splitData(t);intersectsImpl(o[0],s[0],n+1,r,i,a),intersectsImpl(o[0],s[1],n+1,r,i,a),intersectsImpl(o[1],s[0],n+1,r,i,a),intersectsImpl(o[1],s[1],n+1,r,i,a)}}PolynomialBezier.prototype.intersections=function(e,t,n){t===void 0&&(t=2),n===void 0&&(n=7);var r=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,r,n),r},PolynomialBezier.shapeSegment=function(e,t){var n=(t+1)%e.length();return new PolynomialBezier(e.v[t],e.o[t],e.i[n],e.v[n],!0)},PolynomialBezier.shapeSegmentInverted=function(e,t){var n=(t+1)%e.length();return new PolynomialBezier(e.v[n],e.i[n],e.o[t],e.v[t],!0)};function crossProduct(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function lineIntersection(e,t,n,r){var i=[e[0],e[1],1],a=[t[0],t[1],1],o=[n[0],n[1],1],s=[r[0],r[1],1],u=crossProduct(crossProduct(i,a),crossProduct(o,s));return floatZero(u[2])?null:[u[0]/u[2],u[1]/u[2]]}function polarOffset(e,t,n){return[e[0]+Math.cos(t)*n,e[1]-Math.sin(t)*n]}function pointDistance(e,t){return Math.hypot(e[0]-t[0],e[1]-t[1])}function pointEqual(e,t){return floatEqual(e[0],t[0])&&floatEqual(e[1],t[1])}function ZigZagModifier(){}extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(e,t.s,0,null,this),this.frequency=PropertyFactory.getProp(e,t.r,0,null,this),this.pointsType=PropertyFactory.getProp(e,t.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(e,t,n,r,i,a,o){var s=n-Math.PI/2,u=n+Math.PI/2,l=t[0]+Math.cos(n)*r*i,c=t[1]-Math.sin(n)*r*i;e.setTripleAt(l,c,l+Math.cos(s)*a,c-Math.sin(s)*a,l+Math.cos(u)*o,c-Math.sin(u)*o,e.length())}function getPerpendicularVector(e,t){var n=[t[0]-e[0],t[1]-e[1]],r=-Math.PI*.5,i=[Math.cos(r)*n[0]-Math.sin(r)*n[1],Math.sin(r)*n[0]+Math.cos(r)*n[1]];return i}function getProjectingAngle(e,t){var n=t===0?e.length()-1:t-1,r=(t+1)%e.length(),i=e.v[n],a=e.v[r],o=getPerpendicularVector(i,a);return Math.atan2(0,1)-Math.atan2(o[1],o[0])}function zigZagCorner(e,t,n,r,i,a,o){var s=getProjectingAngle(t,n),u=t.v[n%t._length],l=t.v[n===0?t._length-1:n-1],c=t.v[(n+1)%t._length],d=a===2?Math.sqrt(Math.pow(u[0]-l[0],2)+Math.pow(u[1]-l[1],2)):0,g=a===2?Math.sqrt(Math.pow(u[0]-c[0],2)+Math.pow(u[1]-c[1],2)):0;setPoint(e,t.v[n%t._length],s,o,r,g/((i+1)*2),d/((i+1)*2),a)}function zigZagSegment(e,t,n,r,i,a){for(var o=0;o<r;o+=1){var s=(o+1)/(r+1),u=i===2?Math.sqrt(Math.pow(t.points[3][0]-t.points[0][0],2)+Math.pow(t.points[3][1]-t.points[0][1],2)):0,l=t.normalAngle(s),c=t.point(s);setPoint(e,c,l,a,n,u/((r+1)*2),u/((r+1)*2),i),a=-a}return a}ZigZagModifier.prototype.processPath=function(e,t,n,r){var i=e._length,a=shapePool.newElement();if(a.c=e.c,e.c||(i-=1),i===0)return a;var o=-1,s=PolynomialBezier.shapeSegment(e,0);zigZagCorner(a,e,0,t,n,r,o);for(var u=0;u<i;u+=1)o=zigZagSegment(a,s,t,n,r,-o),u===i-1&&!e.c?s=null:s=PolynomialBezier.shapeSegment(e,(u+1)%i),zigZagCorner(a,e,u+1,t,n,r,o);return a},ZigZagModifier.prototype.processShapes=function(e){var t,n,r=this.shapes.length,i,a,o=this.amplitude.v,s=Math.max(0,Math.round(this.frequency.v)),u=this.pointsType.v;if(o!==0){var l,c;for(n=0;n<r;n+=1){if(l=this.shapes[n],c=l.localShapeCollection,!(!l.shape._mdf&&!this._mdf&&!e))for(c.releaseShapes(),l.shape._mdf=!0,t=l.shape.paths.shapes,a=l.shape.paths._length,i=0;i<a;i+=1)c.addShape(this.processPath(t[i],o,s,u));l.shape.paths=l.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function linearOffset(e,t,n){var r=Math.atan2(t[0]-e[0],t[1]-e[1]);return[polarOffset(e,r,n),polarOffset(t,r,n)]}function offsetSegment(e,t){var n,r,i,a,o,s,u;u=linearOffset(e.points[0],e.points[1],t),n=u[0],r=u[1],u=linearOffset(e.points[1],e.points[2],t),i=u[0],a=u[1],u=linearOffset(e.points[2],e.points[3],t),o=u[0],s=u[1];var l=lineIntersection(n,r,i,a);l===null&&(l=r);var c=lineIntersection(o,s,i,a);return c===null&&(c=o),new PolynomialBezier(n,l,c,s)}function joinLines(e,t,n,r,i){var a=t.points[3],o=n.points[0];if(r===3||pointEqual(a,o))return a;if(r===2){var s=-t.tangentAngle(1),u=-n.tangentAngle(0)+Math.PI,l=lineIntersection(a,polarOffset(a,s+Math.PI/2,100),o,polarOffset(o,s+Math.PI/2,100)),c=l?pointDistance(l,a):pointDistance(a,o)/2,d=polarOffset(a,s,2*c*roundCorner);return e.setXYAt(d[0],d[1],"o",e.length()-1),d=polarOffset(o,u,2*c*roundCorner),e.setTripleAt(o[0],o[1],o[0],o[1],d[0],d[1],e.length()),o}var g=pointEqual(a,t.points[2])?t.points[0]:t.points[2],f=pointEqual(o,n.points[1])?n.points[3]:n.points[1],p=lineIntersection(g,a,o,f);return p&&pointDistance(p,a)<i?(e.setTripleAt(p[0],p[1],p[0],p[1],p[0],p[1],e.length()),p):a}function getIntersection(e,t){var n=e.intersections(t);return n.length&&floatEqual(n[0][0],1)&&n.shift(),n.length?n[0]:null}function pruneSegmentIntersection(e,t){var n=e.slice(),r=t.slice(),i=getIntersection(e[e.length-1],t[0]);return i&&(n[e.length-1]=e[e.length-1].split(i[0])[0],r[0]=t[0].split(i[1])[1]),e.length>1&&t.length>1&&(i=getIntersection(e[0],t[t.length-1]),i)?[[e[0].split(i[0])[0]],[t[t.length-1].split(i[1])[1]]]:[n,r]}function pruneIntersections(e){for(var t,n=1;n<e.length;n+=1)t=pruneSegmentIntersection(e[n-1],e[n]),e[n-1]=t[0],e[n]=t[1];return e.length>1&&(t=pruneSegmentIntersection(e[e.length-1],e[0]),e[e.length-1]=t[0],e[0]=t[1]),e}function offsetSegmentSplit(e,t){var n=e.inflectionPoints(),r,i,a,o;if(n.length===0)return[offsetSegment(e,t)];if(n.length===1||floatEqual(n[1],1))return a=e.split(n[0]),r=a[0],i=a[1],[offsetSegment(r,t),offsetSegment(i,t)];a=e.split(n[0]),r=a[0];var s=(n[1]-n[0])/(1-n[0]);return a=a[1].split(s),o=a[0],i=a[1],[offsetSegment(r,t),offsetSegment(o,t),offsetSegment(i,t)]}function OffsetPathModifier(){}extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this.miterLimit=PropertyFactory.getProp(e,t.ml,0,null,this),this.lineJoin=t.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(e,t,n,r){var i=shapePool.newElement();i.c=e.c;var a=e.length();e.c||(a-=1);var o,s,u,l=[];for(o=0;o<a;o+=1)u=PolynomialBezier.shapeSegment(e,o),l.push(offsetSegmentSplit(u,t));if(!e.c)for(o=a-1;o>=0;o-=1)u=PolynomialBezier.shapeSegmentInverted(e,o),l.push(offsetSegmentSplit(u,t));l=pruneIntersections(l);var c=null,d=null;for(o=0;o<l.length;o+=1){var g=l[o];for(d&&(c=joinLines(i,d,g[0],n,r)),d=g[g.length-1],s=0;s<g.length;s+=1)u=g[s],c&&pointEqual(u.points[0],c)?i.setXYAt(u.points[1][0],u.points[1][1],"o",i.length()-1):i.setTripleAt(u.points[0][0],u.points[0][1],u.points[1][0],u.points[1][1],u.points[0][0],u.points[0][1],i.length()),i.setTripleAt(u.points[3][0],u.points[3][1],u.points[3][0],u.points[3][1],u.points[2][0],u.points[2][1],i.length()),c=u.points[3]}return l.length&&joinLines(i,d,l[0][0],n,r),i},OffsetPathModifier.prototype.processShapes=function(e){var t,n,r=this.shapes.length,i,a,o=this.amount.v,s=this.miterLimit.v,u=this.lineJoin;if(o!==0){var l,c;for(n=0;n<r;n+=1){if(l=this.shapes[n],c=l.localShapeCollection,!(!l.shape._mdf&&!this._mdf&&!e))for(c.releaseShapes(),l.shape._mdf=!0,t=l.shape.paths.shapes,a=l.shape.paths._length,i=0;i<a;i+=1)c.addShape(this.processPath(t[i],o,u,s));l.shape.paths=l.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],n="normal",r="normal",i=t.length,a,o=0;o<i;o+=1)switch(a=t[o].toLowerCase(),a){case"italic":r="italic";break;case"bold":n="700";break;case"black":n="900";break;case"medium":n="500";break;case"regular":case"normal":n="400";break;case"light":case"thin":n="200";break;default:break}return{style:r,weight:e.fWeight||n}}var FontManager=function(){var e=5e3,t={w:0,size:0,shapes:[],data:{shapes:[]}},n=[];n=n.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var r=127988,i=917631,a=917601,o=917626,s=65039,u=8205,l=127462,c=127487,d=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function g(L){var D=L.split(","),w,N=D.length,V=[];for(w=0;w<N;w+=1)D[w]!=="sans-serif"&&D[w]!=="monospace"&&V.push(D[w]);return V.join(",")}function f(L,D){var w=createTag("span");w.setAttribute("aria-hidden",!0),w.style.fontFamily=D;var N=createTag("span");N.innerText="giItT1WQy@!-/#",w.style.position="absolute",w.style.left="-10000px",w.style.top="-10000px",w.style.fontSize="300px",w.style.fontVariant="normal",w.style.fontStyle="normal",w.style.fontWeight="normal",w.style.letterSpacing="0",w.appendChild(N),document.body.appendChild(w);var V=N.offsetWidth;return N.style.fontFamily=g(L)+", "+D,{node:N,w:V,parent:w}}function p(){var L,D=this.fonts.length,w,N,V=D;for(L=0;L<D;L+=1)this.fonts[L].loaded?V-=1:this.fonts[L].fOrigin==="n"||this.fonts[L].origin===0?this.fonts[L].loaded=!0:(w=this.fonts[L].monoCase.node,N=this.fonts[L].monoCase.w,w.offsetWidth!==N?(V-=1,this.fonts[L].loaded=!0):(w=this.fonts[L].sansCase.node,N=this.fonts[L].sansCase.w,w.offsetWidth!==N&&(V-=1,this.fonts[L].loaded=!0)),this.fonts[L].loaded&&(this.fonts[L].sansCase.parent.parentNode.removeChild(this.fonts[L].sansCase.parent),this.fonts[L].monoCase.parent.parentNode.removeChild(this.fonts[L].monoCase.parent)));V!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function h(L,D){var w=document.body&&D?"svg":"canvas",N,V=getFontProperties(L);if(w==="svg"){var H=createNS("text");H.style.fontSize="100px",H.setAttribute("font-family",L.fFamily),H.setAttribute("font-style",V.style),H.setAttribute("font-weight",V.weight),H.textContent="1",L.fClass?(H.style.fontFamily="inherit",H.setAttribute("class",L.fClass)):H.style.fontFamily=L.fFamily,D.appendChild(H),N=H}else{var q=new OffscreenCanvas(500,500).getContext("2d");q.font=V.style+" "+V.weight+" 100px "+L.fFamily,N=q}function K(J){return w==="svg"?(N.textContent=J,N.getComputedTextLength()):N.measureText(J).width}return{measureText:K}}function C(L,D){if(!L){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=L.list;return}if(!document.body){this.isLoaded=!0,L.list.forEach(function(xe){xe.helper=h(xe),xe.cache={}}),this.fonts=L.list;return}var w=L.list,N,V=w.length,H=V;for(N=0;N<V;N+=1){var q=!0,K,J;if(w[N].loaded=!1,w[N].monoCase=f(w[N].fFamily,"monospace"),w[N].sansCase=f(w[N].fFamily,"sans-serif"),!w[N].fPath)w[N].loaded=!0,H-=1;else if(w[N].fOrigin==="p"||w[N].origin===3){if(K=document.querySelectorAll('style[f-forigin="p"][f-family="'+w[N].fFamily+'"], style[f-origin="3"][f-family="'+w[N].fFamily+'"]'),K.length>0&&(q=!1),q){var re=createTag("style");re.setAttribute("f-forigin",w[N].fOrigin),re.setAttribute("f-origin",w[N].origin),re.setAttribute("f-family",w[N].fFamily),re.type="text/css",re.innerText="@font-face {font-family: "+w[N].fFamily+"; font-style: normal; src: url('"+w[N].fPath+"');}",D.appendChild(re)}}else if(w[N].fOrigin==="g"||w[N].origin===1){for(K=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),J=0;J<K.length;J+=1)K[J].href.indexOf(w[N].fPath)!==-1&&(q=!1);if(q){var Q=createTag("link");Q.setAttribute("f-forigin",w[N].fOrigin),Q.setAttribute("f-origin",w[N].origin),Q.type="text/css",Q.rel="stylesheet",Q.href=w[N].fPath,document.body.appendChild(Q)}}else if(w[N].fOrigin==="t"||w[N].origin===2){for(K=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),J=0;J<K.length;J+=1)w[N].fPath===K[J].src&&(q=!1);if(q){var ie=createTag("link");ie.setAttribute("f-forigin",w[N].fOrigin),ie.setAttribute("f-origin",w[N].origin),ie.setAttribute("rel","stylesheet"),ie.setAttribute("href",w[N].fPath),D.appendChild(ie)}}w[N].helper=h(w[N],D),w[N].cache={},this.fonts.push(w[N])}H===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function y(L){if(L){this.chars||(this.chars=[]);var D,w=L.length,N,V=this.chars.length,H;for(D=0;D<w;D+=1){for(N=0,H=!1;N<V;)this.chars[N].style===L[D].style&&this.chars[N].fFamily===L[D].fFamily&&this.chars[N].ch===L[D].ch&&(H=!0),N+=1;H||(this.chars.push(L[D]),V+=1)}}}function v(L,D,w){for(var N=0,V=this.chars.length;N<V;){if(this.chars[N].ch===L&&this.chars[N].style===D&&this.chars[N].fFamily===w)return this.chars[N];N+=1}return(typeof L=="string"&&L.charCodeAt(0)!==13||!L)&&console&&console.warn&&!this._warned&&(this._warned=!0),t}function b(L,D,w){var N=this.getFontByName(D),V=L;if(!N.cache[V]){var H=N.helper;if(L===" "){var q=H.measureText("|"+L+"|"),K=H.measureText("||");N.cache[V]=(q-K)/100}else N.cache[V]=H.measureText(L)/100}return N.cache[V]*w}function x(L){for(var D=0,w=this.fonts.length;D<w;){if(this.fonts[D].fName===L)return this.fonts[D];D+=1}return this.fonts[0]}function T(L){var D=0,w=L.charCodeAt(0);if(w>=55296&&w<=56319){var N=L.charCodeAt(1);N>=56320&&N<=57343&&(D=(w-55296)*1024+N-56320+65536)}return D}function S(L,D){var w=L.toString(16)+D.toString(16);return d.indexOf(w)!==-1}function E(L){return L===u}function A(L){return L===s}function M(L){var D=T(L);return D>=l&&D<=c}function P(L){return M(L.substr(0,2))&&M(L.substr(2,2))}function B(L){return n.indexOf(L)!==-1}function O(L,D){var w=T(L.substr(D,2));if(w!==r)return!1;var N=0;for(D+=2;N<5;){if(w=T(L.substr(D,2)),w<a||w>o)return!1;N+=1,D+=2}return T(L.substr(D,2))===i}function R(){this.isLoaded=!0}var _=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};_.isModifier=S,_.isZeroWidthJoiner=E,_.isFlagEmoji=P,_.isRegionalCode=M,_.isCombinedCharacter=B,_.isRegionalFlag=O,_.isVariationSelector=A,_.BLACK_FLAG_CODE_POINT=r;var F={addChars:y,addFonts:C,getCharData:v,getFontByName:x,measureText:b,checkLoadedFonts:p,setIsLoaded:R};return _.prototype=F,_}();function SlotManager(e){this.animationData=e}SlotManager.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function slotFactory(e){return new SlotManager(e)}function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){this.renderableComponents.indexOf(e)===-1&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){this.renderableComponents.indexOf(e)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var e,t=this.renderableComponents.length;for(e=0;e<t;e+=1)this.renderableComponents[e].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var e={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(t){return e[t]||""}}();function SliderEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function AngleEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function ColorEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,1,0,n)}function PointEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,1,0,n)}function LayerIndexEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function MaskIndexEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function CheckboxEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function NoValueEffect(){this.p={}}function EffectsManager(e,t){var n=e.ef||[];this.effectElements=[];var r,i=n.length,a;for(r=0;r<i;r+=1)a=new GroupEffect(n[r],t),this.effectElements.push(a)}function GroupEffect(e,t){this.init(e,t)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var n,r=this.data.ef.length,i,a=this.data.ef;for(n=0;n<r;n+=1){switch(i=null,a[n].ty){case 0:i=new SliderEffect(a[n],t,this);break;case 1:i=new AngleEffect(a[n],t,this);break;case 2:i=new ColorEffect(a[n],t,this);break;case 3:i=new PointEffect(a[n],t,this);break;case 4:case 7:i=new CheckboxEffect(a[n],t,this);break;case 10:i=new LayerIndexEffect(a[n],t,this);break;case 11:i=new MaskIndexEffect(a[n],t,this);break;case 5:i=new EffectsManager(a[n],t,this);break;default:i=new NoValueEffect(a[n],t,this);break}i&&this.effectElements.push(i)}};function BaseElement(){}BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var e=0,t=this.data.masksProperties.length;e<t;){if(this.data.masksProperties[e].mode!=="n"&&this.data.masksProperties[e].cl!==!1)return!0;e+=1}return!1},initExpressions:function(){var e=getExpressionInterfaces();if(e){var t=e("layer"),n=e("effects"),r=e("shape"),i=e("text"),a=e("comp");this.layerInterface=t(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var o=n.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(o),this.data.ty===0||this.data.xt?this.compInterface=a(this):this.data.ty===4?(this.layerInterface.shapeInterface=r(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=i(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var e=getBlendMode(this.data.bm),t=this.baseElement||this.layerElement;t.style["mix-blend-mode"]=e},initBaseData:function(e,t,n){this.globalData=t,this.comp=n,this.data=e,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function FrameElement(){}FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(e,t){var n,r=this.dynamicProperties.length;for(n=0;n<r;n+=1)(t||this._isParent&&this.dynamicProperties[n].propType==="transform")&&(this.dynamicProperties[n].getValue(),this.dynamicProperties[n]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(e){this.dynamicProperties.indexOf(e)===-1&&this.dynamicProperties.push(e)}};function FootageElement(e,t,n){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.footageData=t.imageLoader.getAsset(this.assetData),this.initBaseData(e,t,n)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var e=getExpressionInterfaces();if(e){var t=e("footage");this.layerInterface=t(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData};function AudioElement(e,t,n){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.initBaseData(e,t,n),this._isPlaying=!1,this._canPlay=!1;var r=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(r),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var t=this.tm.v;this._currentTime=t}this._volume=this.lv.v[0];var n=this._volume*this._volumeMultiplier;this._previousVolume!==n&&(this._previousVolume=n,this.audio.volume(n))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){};function BaseRenderer(){}BaseRenderer.prototype.checkLayers=function(e){var t,n=this.layers.length,r;for(this.completeLayers=!0,t=n-1;t>=0;t-=1)this.elements[t]||(r=this.layers[t],r.ip-r.st<=e-this.layers[t].st&&r.op-r.st>e-this.layers[t].st&&this.buildItem(t)),this.completeLayers=this.elements[t]?this.completeLayers:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e);default:return this.createNull(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){this.completeLayers=!1;var t,n=e.length,r,i=this.layers.length;for(t=0;t<n;t+=1)for(r=0;r<i;){if(this.layers[r].id===e[t].id){this.layers[r]=e[t];break}r+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,n){for(var r=this.elements,i=this.layers,a=0,o=i.length;a<o;)i[a].ind==t&&(!r[a]||r[a]===!0?(this.buildItem(a),this.addPendingElement(e)):(n.push(r[a]),r[a].setAsParent(),i[a].parent!==void 0?this.buildElementParenting(e,i[a].parent,n):e.setHierarchy(n))),a+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,n=e.length;for(t=0;t<n;t+=1)if(e[t].xt){var r=this.createComp(e[t]);r.initExpressions(),this.globalData.projectInterface.registerComposition(r)}},BaseRenderer.prototype.getElementById=function(e){var t,n=this.elements.length;for(t=0;t<n;t+=1)if(this.elements[t].data.ind===e)return this.elements[t];return null},BaseRenderer.prototype.getElementByPath=function(e){var t=e.shift(),n;if(typeof t=="number")n=this.elements[t];else{var r,i=this.elements.length;for(r=0;r<i;r+=1)if(this.elements[r].data.nm===t){n=this.elements[r];break}}return e.length===0?n:n.getElementByPath(e)},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}TransformElement.prototype={initTransform:function(){var e=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:e,localMat:e,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var e,t=this.finalTransform.mat,n=0,r=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;n<r;){if(this.hierarchy[n].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}n+=1}if(this.finalTransform._matMdf)for(e=this.finalTransform.mProp.v.props,t.cloneFromProps(e),n=0;n<r;n+=1)t.multiply(this.hierarchy[n].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var e=0,t=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;e<t;)this.localTransforms[e]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[e]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),e+=1;if(this.finalTransform._localMatMdf){var n=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(n),e=1;e<t;e+=1){var r=this.localTransforms[e].matrix;n.multiply(r)}n.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var i=this.finalTransform.localOpacity;for(e=0;e<t;e+=1)i*=this.localTransforms[e].opacity*.01;this.finalTransform.localOpacity=i}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var e=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(e.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var t=0,n=e.length;for(t=0;t<n;t+=1)this.localTransforms.push(e[t])}}},globalToLocal:function(e){var t=[];t.push(this.finalTransform);for(var n=!0,r=this.comp;n;)r.finalTransform?(r.data.hasMask&&t.splice(0,0,r.finalTransform),r=r.comp):n=!1;var i,a=t.length,o;for(i=0;i<a;i+=1)o=t[i].mat.applyToPointArray(0,0,0),e=[e[0]-o[0],e[1]-o[1],0];return e},mHelper:new Matrix};function MaskElement(e,t,n){this.data=e,this.element=t,this.globalData=n,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var r=this.globalData.defs,i,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var o,s=this.masksProperties,u=0,l=[],c,d,g=createElementID(),f,p,h,C,y="clipPath",v="clip-path";for(i=0;i<a;i+=1)if((s[i].mode!=="a"&&s[i].mode!=="n"||s[i].inv||s[i].o.k!==100||s[i].o.x)&&(y="mask",v="mask"),(s[i].mode==="s"||s[i].mode==="i")&&u===0?(f=createNS("rect"),f.setAttribute("fill","#ffffff"),f.setAttribute("width",this.element.comp.data.w||0),f.setAttribute("height",this.element.comp.data.h||0),l.push(f)):f=null,o=createNS("path"),s[i].mode==="n")this.viewData[i]={op:PropertyFactory.getProp(this.element,s[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,s[i],3),elem:o,lastPath:""},r.appendChild(o);else{u+=1,o.setAttribute("fill",s[i].mode==="s"?"#000000":"#ffffff"),o.setAttribute("clip-rule","nonzero");var b;if(s[i].x.k!==0?(y="mask",v="mask",C=PropertyFactory.getProp(this.element,s[i].x,0,null,this.element),b=createElementID(),p=createNS("filter"),p.setAttribute("id",b),h=createNS("feMorphology"),h.setAttribute("operator","erode"),h.setAttribute("in","SourceGraphic"),h.setAttribute("radius","0"),p.appendChild(h),r.appendChild(p),o.setAttribute("stroke",s[i].mode==="s"?"#000000":"#ffffff")):(h=null,C=null),this.storedData[i]={elem:o,x:C,expan:h,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},s[i].mode==="i"){d=l.length;var x=createNS("g");for(c=0;c<d;c+=1)x.appendChild(l[c]);var T=createNS("mask");T.setAttribute("mask-type","alpha"),T.setAttribute("id",g+"_"+u),T.appendChild(o),r.appendChild(T),x.setAttribute("mask","url("+getLocationHref()+"#"+g+"_"+u+")"),l.length=0,l.push(x)}else l.push(o);s[i].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[i]={elem:o,lastPath:"",op:PropertyFactory.getProp(this.element,s[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,s[i],3),invRect:f},this.viewData[i].prop.k||this.drawPath(s[i],this.viewData[i].prop.v,this.viewData[i])}for(this.maskElement=createNS(y),a=l.length,i=0;i<a;i+=1)this.maskElement.appendChild(l[i]);u>0&&(this.maskElement.setAttribute("id",g),this.element.maskedElement.setAttribute(v,"url("+getLocationHref()+"#"+g+")"),r.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t=this.element.finalTransform.mat,n,r=this.masksProperties.length;for(n=0;n<r;n+=1)if((this.viewData[n].prop._mdf||e)&&this.drawPath(this.masksProperties[n],this.viewData[n].prop.v,this.viewData[n]),(this.viewData[n].op._mdf||e)&&this.viewData[n].elem.setAttribute("fill-opacity",this.viewData[n].op.v),this.masksProperties[n].mode!=="n"&&(this.viewData[n].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[n].invRect.setAttribute("transform",t.getInverseMatrix().to2dCSS()),this.storedData[n].x&&(this.storedData[n].x._mdf||e))){var i=this.storedData[n].expan;this.storedData[n].x.v<0?(this.storedData[n].lastOperator!=="erode"&&(this.storedData[n].lastOperator="erode",this.storedData[n].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[n].filterId+")")),i.setAttribute("radius",-this.storedData[n].x.v)):(this.storedData[n].lastOperator!=="dilate"&&(this.storedData[n].lastOperator="dilate",this.storedData[n].elem.setAttribute("filter",null)),this.storedData[n].elem.setAttribute("stroke-width",this.storedData[n].x.v*2))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" ",e},MaskElement.prototype.drawPath=function(e,t,n){var r=" M"+t.v[0][0]+","+t.v[0][1],i,a;for(a=t._length,i=1;i<a;i+=1)r+=" C"+t.o[i-1][0]+","+t.o[i-1][1]+" "+t.i[i][0]+","+t.i[i][1]+" "+t.v[i][0]+","+t.v[i][1];if(t.c&&a>1&&(r+=" C"+t.o[i-1][0]+","+t.o[i-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),n.lastPath!==r){var o="";n.elem&&(t.c&&(o=e.inv?this.solidPath+r:r),n.elem.setAttribute("d",o)),n.lastPath=r}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var e={};e.createFilter=t,e.createAlphaToLuminanceFilter=n;function t(r,i){var a=createNS("filter");return a.setAttribute("id",r),i!==!0&&(a.setAttribute("filterUnits","objectBoundingBox"),a.setAttribute("x","0%"),a.setAttribute("y","0%"),a.setAttribute("width","100%"),a.setAttribute("height","100%")),a}function n(){var r=createNS("feColorMatrix");return r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),r}return e}(),featureSupport=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(e){var t,n="SourceGraphic",r=e.data.ef?e.data.ef.length:0,i=createElementID(),a=filtersFactory.createFilter(i,!0),o=0;this.filters=[];var s;for(t=0;t<r;t+=1){s=null;var u=e.data.ef[t].ty;if(registeredEffects$1[u]){var l=registeredEffects$1[u].effect;s=new l(a,e.effectsManager.effectElements[t],e,idPrefix+o,n),n=idPrefix+o,registeredEffects$1[u].countsAsEffect&&(o+=1)}s&&this.filters.push(s)}o&&(e.globalData.defs.appendChild(a),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+i+")")),this.filters.length&&e.addRenderableComponent(this)}SVGEffects.prototype.renderFrame=function(e){var t,n=this.filters.length;for(t=0;t<n;t+=1)this.filters[t].renderFrame(e)},SVGEffects.prototype.getEffects=function(e){var t,n=this.filters.length,r=[];for(t=0;t<n;t+=1)this.filters[t].type===e&&r.push(this.filters[t]);return r};function registerEffect$1(e,t,n){registeredEffects$1[e]={effect:t,countsAsEffect:n}}function SVGBaseElement(){}SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var e=null;if(this.data.td){this.matteMasks={};var t=createNS("g");t.setAttribute("id",this.layerId),t.appendChild(this.layerElement),e=t,this.globalData.defs.appendChild(t)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),e=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var n=createNS("clipPath"),r=createNS("path");r.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var i=createElementID();if(n.setAttribute("id",i),n.appendChild(r),this.globalData.defs.appendChild(n),this.checkMasks()){var a=createNS("g");a.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")"),a.appendChild(this.layerElement),this.transformedElement=a,e?e.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(e){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[e]){var t=this.layerId+"_"+e,n,r,i,a;if(e===1||e===3){var o=createNS("mask");o.setAttribute("id",t),o.setAttribute("mask-type",e===3?"luminance":"alpha"),i=createNS("use"),i.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),o.appendChild(i),this.globalData.defs.appendChild(o),!featureSupport.maskType&&e===1&&(o.setAttribute("mask-type","luminance"),n=createElementID(),r=filtersFactory.createFilter(n),this.globalData.defs.appendChild(r),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),a=createNS("g"),a.appendChild(i),o.appendChild(a),a.setAttribute("filter","url("+getLocationHref()+"#"+n+")"))}else if(e===2){var s=createNS("mask");s.setAttribute("id",t),s.setAttribute("mask-type","alpha");var u=createNS("g");s.appendChild(u),n=createElementID(),r=filtersFactory.createFilter(n);var l=createNS("feComponentTransfer");l.setAttribute("in","SourceGraphic"),r.appendChild(l);var c=createNS("feFuncA");c.setAttribute("type","table"),c.setAttribute("tableValues","1.0 0.0"),l.appendChild(c),this.globalData.defs.appendChild(r);var d=createNS("rect");d.setAttribute("width",this.comp.data.w),d.setAttribute("height",this.comp.data.h),d.setAttribute("x","0"),d.setAttribute("y","0"),d.setAttribute("fill","#ffffff"),d.setAttribute("opacity","0"),u.setAttribute("filter","url("+getLocationHref()+"#"+n+")"),u.appendChild(d),i=createNS("use"),i.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),u.appendChild(i),featureSupport.maskType||(s.setAttribute("mask-type","luminance"),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),a=createNS("g"),u.appendChild(d),a.appendChild(this.layerElement),u.appendChild(a)),this.globalData.defs.appendChild(s)}this.matteMasks[e]=t}return this.matteMasks[e]},setMatte:function(e){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+e+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(e){this.hierarchy=e},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var e={initElement:function(t,n,r){this.initFrame(),this.initBaseData(t,n,r),this.initTransform(t,n,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var t=this.baseElement||this.layerElement;t.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var t=this.baseElement||this.layerElement;t.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(e)],RenderableDOMElement)})();function IImageElement(e,t,n){this.assetData=t.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=t.slotManager.getProp(this.assetData)),this.initElement(e,t,n),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect};function ProcessedElement(e,t){this.elem=e,this.pos=t}function IShapeElement(){}IShapeElement.prototype={addShapeToModifiers:function(e){var t,n=this.shapeModifiers.length;for(t=0;t<n;t+=1)this.shapeModifiers[t].addShape(e)},isShapeInAnimatedModifiers:function(e){for(var t=0,n=this.shapeModifiers.length;t<n;)if(this.shapeModifiers[t].isAnimatedWithShape(e))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var e,t=this.shapes.length;for(e=0;e<t;e+=1)this.shapes[e].sh.reset();t=this.shapeModifiers.length;var n;for(e=t-1;e>=0&&(n=this.shapeModifiers[e].processShapes(this._isFirstFrame),!n);e-=1);}},searchProcessedElement:function(e){for(var t=this.processedElements,n=0,r=t.length;n<r;){if(t[n].elem===e)return t[n].pos;n+=1}return 0},addProcessedElement:function(e,t){for(var n=this.processedElements,r=n.length;r;)if(r-=1,n[r].elem===e){n[r].pos=t;return}n.push(new ProcessedElement(e,t))},prepareFrame:function(e){this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(e,t,n){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=n,this.lvl=t,this._isAnimated=!!n.k;for(var r=0,i=e.length;r<i;){if(e[r].mProps.dynamicProperties.length){this._isAnimated=!0;break}r+=1}}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0};function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=e.hd===!0,this.pElem=createNS("path"),this.msElem=null}SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1};function DashProperty(e,t,n,r){this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=n,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(r);var i,a=t.length||0,o;for(i=0;i<a;i+=1)o=PropertyFactory.getProp(e,t[i].v,0,0,this),this.k=o.k||this.k,this.dataProps[i]={n:t[i].n,p:o};this.k||this.getValue(!0),this._isAnimated=this.k}DashProperty.prototype.getValue=function(e){if(!(this.elem.globalData.frameId===this.frameId&&!e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var t=0,n=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),t=0;t<n;t+=1)this.dataProps[t].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[t].p.v:this.dashArray[t]=this.dataProps[t].p.v:this.dashoffset[0]=this.dataProps[t].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty);function SVGStrokeStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=n,this._isAnimated=!!this._isAnimated}extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData);function SVGFillStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=n}extendPrototype([DynamicPropertyContainer],SVGFillStyleData);function SVGNoStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=n}extendPrototype([DynamicPropertyContainer],SVGNoStyleData);function GradientProperty(e,t,n){this.data=t,this.c=createTypedArray("uint8c",t.p*4);var r=t.k.k[0].s?t.k.k[0].s.length-t.p*4:t.k.k.length-t.p*4;this.o=createTypedArray("float32",r),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=r,this.initDynamicPropertyContainer(n),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}GradientProperty.prototype.comparePoints=function(e,t){for(var n=0,r=this.o.length/2,i;n<r;){if(i=Math.abs(e[n*4]-e[t*4+n*2]),i>.01)return!1;n+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,t=this.data.k.k.length;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,n=this.data.p*4,r,i;for(t=0;t<n;t+=1)r=t%4===0?100:255,i=Math.round(this.prop.v[t]*r),this.c[t]!==i&&(this.c[t]=i,this._cmdf=!e);if(this.o.length)for(n=this.prop.v.length,t=this.data.p*4;t<n;t+=1)r=t%2===0?100:1,i=t%2===0?Math.round(this.prop.v[t]*100):this.prop.v[t],this.o[t-this.data.p*4]!==i&&(this.o[t-this.data.p*4]=i,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty);function SVGGradientFillStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,n)}SVGGradientFillStyleData.prototype.initGradientData=function(e,t,n){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=PropertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=n,this.stops=[],this.setGradientData(n.pElem,t),this.setGradientOpacity(t,n),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var n=createElementID(),r=createNS(t.t===1?"linearGradient":"radialGradient");r.setAttribute("id",n),r.setAttribute("spreadMethod","pad"),r.setAttribute("gradientUnits","userSpaceOnUse");var i=[],a,o,s;for(s=t.g.p*4,o=0;o<s;o+=4)a=createNS("stop"),r.appendChild(a),i.push(a);e.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+n+")"),this.gf=r,this.cst=i},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var n,r,i,a=createNS("mask"),o=createNS("path");a.appendChild(o);var s=createElementID(),u=createElementID();a.setAttribute("id",u);var l=createNS(e.t===1?"linearGradient":"radialGradient");l.setAttribute("id",s),l.setAttribute("spreadMethod","pad"),l.setAttribute("gradientUnits","userSpaceOnUse"),i=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var c=this.stops;for(r=e.g.p*4;r<i;r+=2)n=createNS("stop"),n.setAttribute("stop-color","rgb(255,255,255)"),l.appendChild(n),c.push(n);o.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+s+")"),e.ty==="gs"&&(o.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),o.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),e.lj===1&&o.setAttribute("stroke-miterlimit",e.ml)),this.of=l,this.ms=a,this.ost=c,this.maskId=u,t.msElem=o}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData);function SVGGradientStrokeStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,n),this._isAnimated=!!this._isAnimated}extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(e,t,n){this.transform={mProps:e,op:t,container:n},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var buildShapeString=function(e,t,n,r){if(t===0)return"";var i=e.o,a=e.i,o=e.v,s,u=" M"+r.applyToPointStringified(o[0][0],o[0][1]);for(s=1;s<t;s+=1)u+=" C"+r.applyToPointStringified(i[s-1][0],i[s-1][1])+" "+r.applyToPointStringified(a[s][0],a[s][1])+" "+r.applyToPointStringified(o[s][0],o[s][1]);return n&&t&&(u+=" C"+r.applyToPointStringified(i[s-1][0],i[s-1][1])+" "+r.applyToPointStringified(a[0][0],a[0][1])+" "+r.applyToPointStringified(o[0][0],o[0][1]),u+="z"),u},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix,n={createRenderFunction:r};function r(d){switch(d.ty){case"fl":return s;case"gf":return l;case"gs":return u;case"st":return c;case"sh":case"el":case"rc":case"sr":return o;case"tr":return i;case"no":return a;default:return null}}function i(d,g,f){(f||g.transform.op._mdf)&&g.transform.container.setAttribute("opacity",g.transform.op.v),(f||g.transform.mProps._mdf)&&g.transform.container.setAttribute("transform",g.transform.mProps.v.to2dCSS())}function a(){}function o(d,g,f){var p,h,C,y,v,b,x=g.styles.length,T=g.lvl,S,E,A,M;for(b=0;b<x;b+=1){if(y=g.sh._mdf||f,g.styles[b].lvl<T){for(E=t.reset(),A=T-g.styles[b].lvl,M=g.transformers.length-1;!y&&A>0;)y=g.transformers[M].mProps._mdf||y,A-=1,M-=1;if(y)for(A=T-g.styles[b].lvl,M=g.transformers.length-1;A>0;)E.multiply(g.transformers[M].mProps.v),A-=1,M-=1}else E=e;if(S=g.sh.paths,h=S._length,y){for(C="",p=0;p<h;p+=1)v=S.shapes[p],v&&v._length&&(C+=buildShapeString(v,v._length,v.c,E));g.caches[b]=C}else C=g.caches[b];g.styles[b].d+=d.hd===!0?"":C,g.styles[b]._mdf=y||g.styles[b]._mdf}}function s(d,g,f){var p=g.style;(g.c._mdf||f)&&p.pElem.setAttribute("fill","rgb("+bmFloor(g.c.v[0])+","+bmFloor(g.c.v[1])+","+bmFloor(g.c.v[2])+")"),(g.o._mdf||f)&&p.pElem.setAttribute("fill-opacity",g.o.v)}function u(d,g,f){l(d,g,f),c(d,g,f)}function l(d,g,f){var p=g.gf,h=g.g._hasOpacity,C=g.s.v,y=g.e.v;if(g.o._mdf||f){var v=d.ty==="gf"?"fill-opacity":"stroke-opacity";g.style.pElem.setAttribute(v,g.o.v)}if(g.s._mdf||f){var b=d.t===1?"x1":"cx",x=b==="x1"?"y1":"cy";p.setAttribute(b,C[0]),p.setAttribute(x,C[1]),h&&!g.g._collapsable&&(g.of.setAttribute(b,C[0]),g.of.setAttribute(x,C[1]))}var T,S,E,A;if(g.g._cmdf||f){T=g.cst;var M=g.g.c;for(E=T.length,S=0;S<E;S+=1)A=T[S],A.setAttribute("offset",M[S*4]+"%"),A.setAttribute("stop-color","rgb("+M[S*4+1]+","+M[S*4+2]+","+M[S*4+3]+")")}if(h&&(g.g._omdf||f)){var P=g.g.o;for(g.g._collapsable?T=g.cst:T=g.ost,E=T.length,S=0;S<E;S+=1)A=T[S],g.g._collapsable||A.setAttribute("offset",P[S*2]+"%"),A.setAttribute("stop-opacity",P[S*2+1])}if(d.t===1)(g.e._mdf||f)&&(p.setAttribute("x2",y[0]),p.setAttribute("y2",y[1]),h&&!g.g._collapsable&&(g.of.setAttribute("x2",y[0]),g.of.setAttribute("y2",y[1])));else{var B;if((g.s._mdf||g.e._mdf||f)&&(B=Math.sqrt(Math.pow(C[0]-y[0],2)+Math.pow(C[1]-y[1],2)),p.setAttribute("r",B),h&&!g.g._collapsable&&g.of.setAttribute("r",B)),g.e._mdf||g.h._mdf||g.a._mdf||f){B||(B=Math.sqrt(Math.pow(C[0]-y[0],2)+Math.pow(C[1]-y[1],2)));var O=Math.atan2(y[1]-C[1],y[0]-C[0]),R=g.h.v;R>=1?R=.99:R<=-1&&(R=-.99);var _=B*R,F=Math.cos(O+g.a.v)*_+C[0],L=Math.sin(O+g.a.v)*_+C[1];p.setAttribute("fx",F),p.setAttribute("fy",L),h&&!g.g._collapsable&&(g.of.setAttribute("fx",F),g.of.setAttribute("fy",L))}}}function c(d,g,f){var p=g.style,h=g.d;h&&(h._mdf||f)&&h.dashStr&&(p.pElem.setAttribute("stroke-dasharray",h.dashStr),p.pElem.setAttribute("stroke-dashoffset",h.dashoffset[0])),g.c&&(g.c._mdf||f)&&p.pElem.setAttribute("stroke","rgb("+bmFloor(g.c.v[0])+","+bmFloor(g.c.v[1])+","+bmFloor(g.c.v[2])+")"),(g.o._mdf||f)&&p.pElem.setAttribute("stroke-opacity",g.o.v),(g.w._mdf||f)&&(p.pElem.setAttribute("stroke-width",g.w.v),p.msElem&&p.msElem.setAttribute("stroke-width",g.w.v))}return n}();function SVGShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,n),this.prevViewData=[]}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var e,t=this.shapes.length,n,r,i=this.stylesList.length,a,o=[],s=!1;for(r=0;r<i;r+=1){for(a=this.stylesList[r],s=!1,o.length=0,e=0;e<t;e+=1)n=this.shapes[e],n.styles.indexOf(a)!==-1&&(o.push(n),s=n._isAnimated||s);o.length>1&&s&&this.setShapesAsAnimated(o)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,n=e.length;for(t=0;t<n;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var n,r=new SVGStyleData(e,t),i=r.pElem;if(e.ty==="st")n=new SVGStrokeStyleData(this,e,r);else if(e.ty==="fl")n=new SVGFillStyleData(this,e,r);else if(e.ty==="gf"||e.ty==="gs"){var a=e.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;n=new a(this,e,r),this.globalData.defs.appendChild(n.gf),n.maskId&&(this.globalData.defs.appendChild(n.ms),this.globalData.defs.appendChild(n.of),i.setAttribute("mask","url("+getLocationHref()+"#"+n.maskId+")"))}else e.ty==="no"&&(n=new SVGNoStyleData(this,e,r));return(e.ty==="st"||e.ty==="gs")&&(i.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),i.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),i.setAttribute("fill-opacity","0"),e.lj===1&&i.setAttribute("stroke-miterlimit",e.ml)),e.r===2&&i.setAttribute("fill-rule","evenodd"),e.ln&&i.setAttribute("id",e.ln),e.cl&&i.setAttribute("class",e.cl),e.bm&&(i.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(r),this.addToAnimatedContents(e,n),n},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var n=TransformPropertyFactory.getTransformProperty(this,e,this),r=new SVGTransformData(n,n.o,t);return this.addToAnimatedContents(e,r),r},SVGShapeElement.prototype.createShapeElement=function(e,t,n){var r=4;e.ty==="rc"?r=5:e.ty==="el"?r=6:e.ty==="sr"&&(r=7);var i=ShapePropertyFactory.getShapeProp(this,e,r,this),a=new SVGShapeData(t,n,i);return this.shapes.push(a),this.addShapeToModifiers(a),this.addToAnimatedContents(e,a),a},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var n=0,r=this.animatedContents.length;n<r;){if(this.animatedContents[n].element===t)return;n+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t=e.styles,n,r=this.stylesList.length;for(n=0;n<r;n+=1)this.stylesList[n].closed||t.push(this.stylesList[n])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,n,r,i,a,o){var s=[].concat(a),u,l=e.length-1,c,d,g=[],f=[],p,h,C;for(u=l;u>=0;u-=1){if(C=this.searchProcessedElement(e[u]),C?t[u]=n[C-1]:e[u]._render=o,e[u].ty==="fl"||e[u].ty==="st"||e[u].ty==="gf"||e[u].ty==="gs"||e[u].ty==="no")C?t[u].style.closed=!1:t[u]=this.createStyleElement(e[u],i),e[u]._render&&t[u].style.pElem.parentNode!==r&&r.appendChild(t[u].style.pElem),g.push(t[u].style);else if(e[u].ty==="gr"){if(!C)t[u]=this.createGroupElement(e[u]);else for(d=t[u].it.length,c=0;c<d;c+=1)t[u].prevViewData[c]=t[u].it[c];this.searchShapes(e[u].it,t[u].it,t[u].prevViewData,t[u].gr,i+1,s,o),e[u]._render&&t[u].gr.parentNode!==r&&r.appendChild(t[u].gr)}else e[u].ty==="tr"?(C||(t[u]=this.createTransformElement(e[u],r)),p=t[u].transform,s.push(p)):e[u].ty==="sh"||e[u].ty==="rc"||e[u].ty==="el"||e[u].ty==="sr"?(C||(t[u]=this.createShapeElement(e[u],s,i)),this.setElementStyles(t[u])):e[u].ty==="tm"||e[u].ty==="rd"||e[u].ty==="ms"||e[u].ty==="pb"||e[u].ty==="zz"||e[u].ty==="op"?(C?(h=t[u],h.closed=!1):(h=ShapeModifiers.getModifier(e[u].ty),h.init(this,e[u]),t[u]=h,this.shapeModifiers.push(h)),f.push(h)):e[u].ty==="rp"&&(C?(h=t[u],h.closed=!0):(h=ShapeModifiers.getModifier(e[u].ty),t[u]=h,h.init(this,e,u,t),this.shapeModifiers.push(h),o=!1),f.push(h));this.addProcessedElement(e[u],u+1)}for(l=g.length,u=0;u<l;u+=1)g[u].closed=!0;for(l=f.length,u=0;u<l;u+=1)f[u].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t=this.animatedContents.length,n;for(e=0;e<t;e+=1)n=this.animatedContents[e],(this._isFirstFrame||n.element._isAnimated)&&n.data!==!0&&n.fn(n.data,n.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function LetterProps(e,t,n,r,i,a){this.o=e,this.sw=t,this.sc=n,this.fc=r,this.m=i,this.p=a,this._mdf={o:!0,sw:!!t,sc:!!n,fc:!!r,m:!0,p:!0}}LetterProps.prototype.update=function(e,t,n,r,i,a){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var o=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,o=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,o=!0),this.sc!==n&&(this.sc=n,this._mdf.sc=!0,o=!0),this.fc!==r&&(this.fc=r,this._mdf.fc=!0,o=!0),this.m!==i&&(this.m=i,this._mdf.m=!0,o=!0),a.length&&(this.p[0]!==a[0]||this.p[1]!==a[1]||this.p[4]!==a[4]||this.p[5]!==a[5]||this.p[12]!==a[12]||this.p[13]!==a[13])&&(this.p=a,this._mdf.p=!0,o=!0),o};function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,t.d&&t.d.sid&&(t.d=e.globalData.slotManager.getProp(t.d)),this.data=t,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!e)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,n=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var r,i=this.effectsSequence.length,a=e||this.data.d.k[this.keysIndex].s;for(r=0;r<i;r+=1)n!==this.keysIndex?a=this.effectsSequence[r](a,a.t):a=this.effectsSequence[r](this.currentData,a.t);t!==a&&this.setCurrentData(a),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,t=this.elem.comp.renderedFrame,n=0,r=e.length;n<=r-1&&!(n===r-1||e[n+1].t>t);)n+=1;return this.keysIndex!==n&&(this.keysIndex=n),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t=[],n=0,r=e.length,i,a,o=!1,s=!1,u="";n<r;)o=s,s=!1,i=e.charCodeAt(n),u=e.charAt(n),FontManager.isCombinedCharacter(i)?o=!0:i>=55296&&i<=56319?FontManager.isRegionalFlag(e,n)?u=e.substr(n,14):(a=e.charCodeAt(n+1),a>=56320&&a<=57343&&(FontManager.isModifier(i,a)?(u=e.substr(n,2),o=!0):FontManager.isFlagEmoji(e.substr(n,4))?u=e.substr(n,4):u=e.substr(n,2))):i>56319?(a=e.charCodeAt(n+1),FontManager.isVariationSelector(i)&&(o=!0)):FontManager.isZeroWidthJoiner(i)&&(o=!0,s=!0),o?(t[t.length-1]+=u,o=!1):t.push(u),n+=u.length;return t},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t=this.elem.globalData.fontManager,n=this.data,r=[],i,a,o,s=0,u,l=n.m.g,c=0,d=0,g=0,f=[],p=0,h=0,C,y,v=t.getFontByName(e.f),b,x=0,T=getFontProperties(v);e.fWeight=T.weight,e.fStyle=T.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),a=e.finalText.length,e.finalLineHeight=e.lh;var S=e.tr/1e3*e.finalSize,E;if(e.sz)for(var A=!0,M=e.sz[0],P=e.sz[1],B,O;A;){O=this.buildFinalText(e.t),B=0,p=0,a=O.length,S=e.tr/1e3*e.finalSize;var R=-1;for(i=0;i<a;i+=1)E=O[i].charCodeAt(0),o=!1,O[i]===" "?R=i:(E===13||E===3)&&(p=0,o=!0,B+=e.finalLineHeight||e.finalSize*1.2),t.chars?(b=t.getCharData(O[i],v.fStyle,v.fFamily),x=o?0:b.w*e.finalSize/100):x=t.measureText(O[i],e.f,e.finalSize),p+x>M&&O[i]!==" "?(R===-1?a+=1:i=R,B+=e.finalLineHeight||e.finalSize*1.2,O.splice(i,R===i?1:0,"\r"),R=-1,p=0):(p+=x,p+=S);B+=v.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&P<B?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=O,a=e.finalText.length,A=!1)}p=-S,x=0;var _=0,F;for(i=0;i<a;i+=1)if(o=!1,F=e.finalText[i],E=F.charCodeAt(0),E===13||E===3?(_=0,f.push(p),h=p>h?p:h,p=-2*S,u="",o=!0,g+=1):u=F,t.chars?(b=t.getCharData(F,v.fStyle,t.getFontByName(e.f).fFamily),x=o?0:b.w*e.finalSize/100):x=t.measureText(u,e.f,e.finalSize),F===" "?_+=x+S:(p+=x+S+_,_=0),r.push({l:x,an:x,add:c,n:o,anIndexes:[],val:u,line:g,animatorJustifyOffset:0}),l==2){if(c+=x,u===""||u===" "||i===a-1){for((u===""||u===" ")&&(c-=x);d<=i;)r[d].an=c,r[d].ind=s,r[d].extra=x,d+=1;s+=1,c=0}}else if(l==3){if(c+=x,u===""||i===a-1){for(u===""&&(c-=x);d<=i;)r[d].an=c,r[d].ind=s,r[d].extra=x,d+=1;c=0,s+=1}}else r[s].ind=s,r[s].extra=0,s+=1;if(e.l=r,h=p>h?p:h,f.push(p),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=h,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=f;var L=n.a,D,w;y=L.length;var N,V,H=[];for(C=0;C<y;C+=1){for(D=L[C],D.a.sc&&(e.strokeColorAnim=!0),D.a.sw&&(e.strokeWidthAnim=!0),(D.a.fc||D.a.fh||D.a.fs||D.a.fb)&&(e.fillColorAnim=!0),V=0,N=D.s.b,i=0;i<a;i+=1)w=r[i],w.anIndexes[C]=V,(N==1&&w.val!==""||N==2&&w.val!==""&&w.val!==" "||N==3&&(w.n||w.val==" "||i==a-1)||N==4&&(w.n||i==a-1))&&(D.s.rn===1&&H.push(V),V+=1);n.a[C].s.totalChars=V;var q=-1,K;if(D.s.rn===1)for(i=0;i<a;i+=1)w=r[i],q!=w.anIndexes[C]&&(q=w.anIndexes[C],K=H.splice(Math.floor(Math.random()*H.length),1)[0]),w.anIndexes[C]=K}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=v.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=t===void 0?this.keysIndex:t;var n=this.copyData({},this.data.d.k[t].s);n=this.copyData(n,e),this.data.d.k[t].s=n,this.recalculate(t),this.setCurrentData(n),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,t=Math.min,n=Math.floor;function r(a,o){this._currentTextLength=-1,this.k=!1,this.data=o,this.elem=a,this.comp=a.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(a),this.s=PropertyFactory.getProp(a,o.s||{k:0},0,0,this),"e"in o?this.e=PropertyFactory.getProp(a,o.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(a,o.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(a,o.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(a,o.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(a,o.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(a,o.a,0,.01,this),this.dynamicProperties.length||this.getValue()}r.prototype={getMult:function(a){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var o=0,s=0,u=1,l=1;this.ne.v>0?o=this.ne.v/100:s=-this.ne.v/100,this.xe.v>0?u=1-this.xe.v/100:l=1+this.xe.v/100;var c=BezierFactory.getBezierEasing(o,s,u,l).get,d=0,g=this.finalS,f=this.finalE,p=this.data.sh;if(p===2)f===g?d=a>=f?1:0:d=e(0,t(.5/(f-g)+(a-g)/(f-g),1)),d=c(d);else if(p===3)f===g?d=a>=f?0:1:d=1-e(0,t(.5/(f-g)+(a-g)/(f-g),1)),d=c(d);else if(p===4)f===g?d=0:(d=e(0,t(.5/(f-g)+(a-g)/(f-g),1)),d<.5?d*=2:d=1-2*(d-.5)),d=c(d);else if(p===5){if(f===g)d=0;else{var h=f-g;a=t(e(0,a+.5-g),f-g);var C=-h/2+a,y=h/2;d=Math.sqrt(1-C*C/(y*y))}d=c(d)}else p===6?(f===g?d=0:(a=t(e(0,a+.5-g),f-g),d=(1+Math.cos(Math.PI+Math.PI*2*a/(f-g)))/2),d=c(d)):(a>=n(g)&&(a-g<0?d=e(0,t(t(f,1)-(g-a),1)):d=e(0,t(f-a,1))),d=c(d));if(this.sm.v!==100){var v=this.sm.v*.01;v===0&&(v=1e-8);var b=.5-v*.5;d<b?d=0:(d=(d-b)/v,d>1&&(d=1))}return d*this.a.v},getValue:function(a){this.iterateDynamicProperties(),this._mdf=a||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,a&&this.data.r===2&&(this.e.v=this._currentTextLength);var o=this.data.r===2?1:100/this.data.totalChars,s=this.o.v/o,u=this.s.v/o+s,l=this.e.v/o+s;if(u>l){var c=u;u=l,l=c}this.finalS=u,this.finalE=l}},extendPrototype([DynamicPropertyContainer],r);function i(a,o,s){return new r(a,o,s)}return{getTextSelectorProp:i}}();function TextAnimatorDataProperty(e,t,n){var r={propType:!1},i=PropertyFactory.getProp,a=t.a;this.a={r:a.r?i(e,a.r,0,degToRads,n):r,rx:a.rx?i(e,a.rx,0,degToRads,n):r,ry:a.ry?i(e,a.ry,0,degToRads,n):r,sk:a.sk?i(e,a.sk,0,degToRads,n):r,sa:a.sa?i(e,a.sa,0,degToRads,n):r,s:a.s?i(e,a.s,1,.01,n):r,a:a.a?i(e,a.a,1,0,n):r,o:a.o?i(e,a.o,0,.01,n):r,p:a.p?i(e,a.p,1,0,n):r,sw:a.sw?i(e,a.sw,0,0,n):r,sc:a.sc?i(e,a.sc,1,0,n):r,fc:a.fc?i(e,a.fc,1,0,n):r,fh:a.fh?i(e,a.fh,0,0,n):r,fs:a.fs?i(e,a.fs,0,.01,n):r,fb:a.fb?i(e,a.fb,0,.01,n):r,t:a.t?i(e,a.t,0,0,n):r},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,n),this.s.t=t.s.t}function TextAnimatorProperty(e,t,n){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=n,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(n)}TextAnimatorProperty.prototype.searchProperties=function(){var e,t=this._textData.a.length,n,r=PropertyFactory.getProp;for(e=0;e<t;e+=1)n=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,n,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:r(this._elem,this._textData.p.a,0,0,this),f:r(this._elem,this._textData.p.f,0,0,this),l:r(this._elem,this._textData.p.l,0,0,this),r:r(this._elem,this._textData.p.r,0,0,this),p:r(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=r(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(e,t){if(this.lettersChangedFlag=t,!(!this._mdf&&!this._isFirstFrame&&!t&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var n=this._moreOptions.alignment.v,r=this._animatorsData,i=this._textData,a=this.mHelper,o=this._renderType,s=this.renderedLetters.length,u,l,c,d,g=e.l,f,p,h,C,y,v,b,x,T,S,E,A,M,P,B;if(this._hasMaskedPath){if(B=this._pathData.m,!this._pathData.n||this._pathData._mdf){var O=B.v;this._pathData.r.v&&(O=O.reverse()),f={tLength:0,segments:[]},d=O._length-1;var R;for(A=0,c=0;c<d;c+=1)R=bez.buildBezierData(O.v[c],O.v[c+1],[O.o[c][0]-O.v[c][0],O.o[c][1]-O.v[c][1]],[O.i[c+1][0]-O.v[c+1][0],O.i[c+1][1]-O.v[c+1][1]]),f.tLength+=R.segmentLength,f.segments.push(R),A+=R.segmentLength;c=d,B.v.c&&(R=bez.buildBezierData(O.v[c],O.v[0],[O.o[c][0]-O.v[c][0],O.o[c][1]-O.v[c][1]],[O.i[0][0]-O.v[0][0],O.i[0][1]-O.v[0][1]]),f.tLength+=R.segmentLength,f.segments.push(R),A+=R.segmentLength),this._pathData.pi=f}if(f=this._pathData.pi,p=this._pathData.f.v,b=0,v=1,C=0,y=!0,S=f.segments,p<0&&B.v.c)for(f.tLength<Math.abs(p)&&(p=-Math.abs(p)%f.tLength),b=S.length-1,T=S[b].points,v=T.length-1;p<0;)p+=T[v].partialLength,v-=1,v<0&&(b-=1,T=S[b].points,v=T.length-1);T=S[b].points,x=T[v-1],h=T[v],E=h.partialLength}d=g.length,u=0,l=0;var _=e.finalSize*1.2*.714,F=!0,L,D,w,N,V;N=r.length;var H,q=-1,K,J,re,Q=p,ie=b,xe=v,be=-1,ae,ue,ce,pe,X,Ae,fe,ne,te="",ve=this.defaultPropsArray,He;if(e.j===2||e.j===1){var ke=0,Ye=0,Ee=e.j===2?-.5:-1,$e=0,qe=!0;for(c=0;c<d;c+=1)if(g[c].n){for(ke&&(ke+=Ye);$e<c;)g[$e].animatorJustifyOffset=ke,$e+=1;ke=0,qe=!0}else{for(w=0;w<N;w+=1)L=r[w].a,L.t.propType&&(qe&&e.j===2&&(Ye+=L.t.v*Ee),D=r[w].s,H=D.getMult(g[c].anIndexes[w],i.a[w].s.totalChars),H.length?ke+=L.t.v*H[0]*Ee:ke+=L.t.v*H*Ee);qe=!1}for(ke&&(ke+=Ye);$e<c;)g[$e].animatorJustifyOffset=ke,$e+=1}for(c=0;c<d;c+=1){if(a.reset(),ae=1,g[c].n)u=0,l+=e.yOffset,l+=F?1:0,p=Q,F=!1,this._hasMaskedPath&&(b=ie,v=xe,T=S[b].points,x=T[v-1],h=T[v],E=h.partialLength,C=0),te="",ne="",Ae="",He="",ve=this.defaultPropsArray;else{if(this._hasMaskedPath){if(be!==g[c].line){switch(e.j){case 1:p+=A-e.lineWidths[g[c].line];break;case 2:p+=(A-e.lineWidths[g[c].line])/2;break;default:break}be=g[c].line}q!==g[c].ind&&(g[q]&&(p+=g[q].extra),p+=g[c].an/2,q=g[c].ind),p+=n[0]*g[c].an*.005;var yt=0;for(w=0;w<N;w+=1)L=r[w].a,L.p.propType&&(D=r[w].s,H=D.getMult(g[c].anIndexes[w],i.a[w].s.totalChars),H.length?yt+=L.p.v[0]*H[0]:yt+=L.p.v[0]*H),L.a.propType&&(D=r[w].s,H=D.getMult(g[c].anIndexes[w],i.a[w].s.totalChars),H.length?yt+=L.a.v[0]*H[0]:yt+=L.a.v[0]*H);for(y=!0,this._pathData.a.v&&(p=g[0].an*.5+(A-this._pathData.f.v-g[0].an*.5-g[g.length-1].an*.5)*q/(d-1),p+=this._pathData.f.v);y;)C+E>=p+yt||!T?(M=(p+yt-C)/h.partialLength,J=x.point[0]+(h.point[0]-x.point[0])*M,re=x.point[1]+(h.point[1]-x.point[1])*M,a.translate(-n[0]*g[c].an*.005,-(n[1]*_)*.01),y=!1):T&&(C+=h.partialLength,v+=1,v>=T.length&&(v=0,b+=1,S[b]?T=S[b].points:B.v.c?(v=0,b=0,T=S[b].points):(C-=h.partialLength,T=null)),T&&(x=h,h=T[v],E=h.partialLength));K=g[c].an/2-g[c].add,a.translate(-K,0,0)}else K=g[c].an/2-g[c].add,a.translate(-K,0,0),a.translate(-n[0]*g[c].an*.005,-n[1]*_*.01,0);for(w=0;w<N;w+=1)L=r[w].a,L.t.propType&&(D=r[w].s,H=D.getMult(g[c].anIndexes[w],i.a[w].s.totalChars),(u!==0||e.j!==0)&&(this._hasMaskedPath?H.length?p+=L.t.v*H[0]:p+=L.t.v*H:H.length?u+=L.t.v*H[0]:u+=L.t.v*H));for(e.strokeWidthAnim&&(ce=e.sw||0),e.strokeColorAnim&&(e.sc?ue=[e.sc[0],e.sc[1],e.sc[2]]:ue=[0,0,0]),e.fillColorAnim&&e.fc&&(pe=[e.fc[0],e.fc[1],e.fc[2]]),w=0;w<N;w+=1)L=r[w].a,L.a.propType&&(D=r[w].s,H=D.getMult(g[c].anIndexes[w],i.a[w].s.totalChars),H.length?a.translate(-L.a.v[0]*H[0],-L.a.v[1]*H[1],L.a.v[2]*H[2]):a.translate(-L.a.v[0]*H,-L.a.v[1]*H,L.a.v[2]*H));for(w=0;w<N;w+=1)L=r[w].a,L.s.propType&&(D=r[w].s,H=D.getMult(g[c].anIndexes[w],i.a[w].s.totalChars),H.length?a.scale(1+(L.s.v[0]-1)*H[0],1+(L.s.v[1]-1)*H[1],1):a.scale(1+(L.s.v[0]-1)*H,1+(L.s.v[1]-1)*H,1));for(w=0;w<N;w+=1){if(L=r[w].a,D=r[w].s,H=D.getMult(g[c].anIndexes[w],i.a[w].s.totalChars),L.sk.propType&&(H.length?a.skewFromAxis(-L.sk.v*H[0],L.sa.v*H[1]):a.skewFromAxis(-L.sk.v*H,L.sa.v*H)),L.r.propType&&(H.length?a.rotateZ(-L.r.v*H[2]):a.rotateZ(-L.r.v*H)),L.ry.propType&&(H.length?a.rotateY(L.ry.v*H[1]):a.rotateY(L.ry.v*H)),L.rx.propType&&(H.length?a.rotateX(L.rx.v*H[0]):a.rotateX(L.rx.v*H)),L.o.propType&&(H.length?ae+=(L.o.v*H[0]-ae)*H[0]:ae+=(L.o.v*H-ae)*H),e.strokeWidthAnim&&L.sw.propType&&(H.length?ce+=L.sw.v*H[0]:ce+=L.sw.v*H),e.strokeColorAnim&&L.sc.propType)for(X=0;X<3;X+=1)H.length?ue[X]+=(L.sc.v[X]-ue[X])*H[0]:ue[X]+=(L.sc.v[X]-ue[X])*H;if(e.fillColorAnim&&e.fc){if(L.fc.propType)for(X=0;X<3;X+=1)H.length?pe[X]+=(L.fc.v[X]-pe[X])*H[0]:pe[X]+=(L.fc.v[X]-pe[X])*H;L.fh.propType&&(H.length?pe=addHueToRGB(pe,L.fh.v*H[0]):pe=addHueToRGB(pe,L.fh.v*H)),L.fs.propType&&(H.length?pe=addSaturationToRGB(pe,L.fs.v*H[0]):pe=addSaturationToRGB(pe,L.fs.v*H)),L.fb.propType&&(H.length?pe=addBrightnessToRGB(pe,L.fb.v*H[0]):pe=addBrightnessToRGB(pe,L.fb.v*H))}}for(w=0;w<N;w+=1)L=r[w].a,L.p.propType&&(D=r[w].s,H=D.getMult(g[c].anIndexes[w],i.a[w].s.totalChars),this._hasMaskedPath?H.length?a.translate(0,L.p.v[1]*H[0],-L.p.v[2]*H[1]):a.translate(0,L.p.v[1]*H,-L.p.v[2]*H):H.length?a.translate(L.p.v[0]*H[0],L.p.v[1]*H[1],-L.p.v[2]*H[2]):a.translate(L.p.v[0]*H,L.p.v[1]*H,-L.p.v[2]*H));if(e.strokeWidthAnim&&(Ae=ce<0?0:ce),e.strokeColorAnim&&(fe="rgb("+Math.round(ue[0]*255)+","+Math.round(ue[1]*255)+","+Math.round(ue[2]*255)+")"),e.fillColorAnim&&e.fc&&(ne="rgb("+Math.round(pe[0]*255)+","+Math.round(pe[1]*255)+","+Math.round(pe[2]*255)+")"),this._hasMaskedPath){if(a.translate(0,-e.ls),a.translate(0,n[1]*_*.01+l,0),this._pathData.p.v){P=(h.point[1]-x.point[1])/(h.point[0]-x.point[0]);var Vn=Math.atan(P)*180/Math.PI;h.point[0]<x.point[0]&&(Vn+=180),a.rotate(-Vn*Math.PI/180)}a.translate(J,re,0),p-=n[0]*g[c].an*.005,g[c+1]&&q!==g[c+1].ind&&(p+=g[c].an/2,p+=e.tr*.001*e.finalSize)}else{switch(a.translate(u,l,0),e.ps&&a.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:a.translate(g[c].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[g[c].line]),0,0);break;case 2:a.translate(g[c].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[g[c].line])/2,0,0);break;default:break}a.translate(0,-e.ls),a.translate(K,0,0),a.translate(n[0]*g[c].an*.005,n[1]*_*.01,0),u+=g[c].l+e.tr*.001*e.finalSize}o==="html"?te=a.toCSS():o==="svg"?te=a.to2dCSS():ve=[a.props[0],a.props[1],a.props[2],a.props[3],a.props[4],a.props[5],a.props[6],a.props[7],a.props[8],a.props[9],a.props[10],a.props[11],a.props[12],a.props[13],a.props[14],a.props[15]],He=ae}s<=c?(V=new LetterProps(He,Ae,fe,ne,te,ve),this.renderedLetters.push(V),s+=1,this.lettersChangedFlag=!0):(V=this.renderedLetters[c],this.lettersChangedFlag=V.update(He,Ae,fe,ne,te,ve)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty);function ITextElement(){}ITextElement.prototype.initElement=function(e,t,n){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,n),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},ITextElement.prototype.createPathShape=function(e,t){var n,r=t.length,i,a="";for(n=0;n<r;n+=1)t[n].ty==="sh"&&(i=t[n].ks.k,a+=buildShapeString(i,i.i.length,!0,e));return a},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,n,r,i){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[n]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[n])/2,0,0);break;default:break}t.translate(r,i,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(e[0]*255)+","+Math.round(e[1]*255)+","+Math.round(e[2]*255)+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(e,t,n){this.textSpans=[],this.renderType="svg",this.initElement(e,t,n)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(e){for(var t=0,n=e.length,r=[],i="";t<n;)e[t]==="\r"||e[t]===""?(r.push(i),i=""):i+=e[t],t+=1;return r.push(i),r},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var n=e.shapes[0];if(n.it){var r=n.it[n.it.length-1];r.s&&(r.s.k[0]=t,r.s.k[1]=t)}}return e},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var e,t,n=this.textProperty.currentData;this.renderedLetters=createSizedArray(n?n.l.length:0),n.fc?this.layerElement.setAttribute("fill",this.buildColor(n.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),n.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(n.sc)),this.layerElement.setAttribute("stroke-width",n.sw)),this.layerElement.setAttribute("font-size",n.finalSize);var r=this.globalData.fontManager.getFontByName(n.f);if(r.fClass)this.layerElement.setAttribute("class",r.fClass);else{this.layerElement.setAttribute("font-family",r.fFamily);var i=n.fWeight,a=n.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",i)}this.layerElement.setAttribute("aria-label",n.t);var o=n.l||[],s=!!this.globalData.fontManager.chars;t=o.length;var u,l=this.mHelper,c="",d=this.data.singleShape,g=0,f=0,p=!0,h=n.tr*.001*n.finalSize;if(d&&!s&&!n.sz){var C=this.textContainer,y="start";switch(n.j){case 1:y="end";break;case 2:y="middle";break;default:y="start";break}C.setAttribute("text-anchor",y),C.setAttribute("letter-spacing",h);var v=this.buildTextContents(n.finalText);for(t=v.length,f=n.ps?n.ps[1]+n.ascent:0,e=0;e<t;e+=1)u=this.textSpans[e].span||createNS("tspan"),u.textContent=v[e],u.setAttribute("x",0),u.setAttribute("y",f),u.style.display="inherit",C.appendChild(u),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=u,f+=n.finalLineHeight;this.layerElement.appendChild(C)}else{var b=this.textSpans.length,x;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!s||!d||e===0){if(u=b>e?this.textSpans[e].span:createNS(s?"g":"text"),b<=e){if(u.setAttribute("stroke-linecap","butt"),u.setAttribute("stroke-linejoin","round"),u.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=u,s){var T=createNS("g");u.appendChild(T),this.textSpans[e].childSpan=T}this.textSpans[e].span=u,this.layerElement.appendChild(u)}u.style.display="inherit"}if(l.reset(),d&&(o[e].n&&(g=-h,f+=n.yOffset,f+=p?1:0,p=!1),this.applyTextPropertiesToMatrix(n,l,o[e].line,g,f),g+=o[e].l||0,g+=h),s){x=this.globalData.fontManager.getCharData(n.finalText[e],r.fStyle,this.globalData.fontManager.getFontByName(n.f).fFamily);var S;if(x.t===1)S=new SVGCompElement(x.data,this.globalData,this);else{var E=emptyShapeData;x.data&&x.data.shapes&&(E=this.buildShapeData(x.data,n.finalSize)),S=new SVGShapeElement(E,this.globalData,this)}if(this.textSpans[e].glyph){var A=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(A.layerElement),A.destroy()}this.textSpans[e].glyph=S,S._debug=!0,S.prepareFrame(0),S.renderFrame(),this.textSpans[e].childSpan.appendChild(S.layerElement),x.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+n.finalSize/100+","+n.finalSize/100+")")}else d&&u.setAttribute("transform","translate("+l.props[12]+","+l.props[13]+")"),u.textContent=o[e].val,u.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}d&&u&&u.setAttribute("d",c)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var e,t=this.textSpans.length,n;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<t;e+=1)n=this.textSpans[e].glyph,n&&(n.prepareFrame(this.comp.renderedFrame-this.data.st),n._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var e,t,n=this.textAnimator.renderedLetters,r=this.textProperty.currentData.l;t=r.length;var i,a,o;for(e=0;e<t;e+=1)r[e].n||(i=n[e],a=this.textSpans[e].span,o=this.textSpans[e].glyph,o&&o.renderFrame(),i._mdf.m&&a.setAttribute("transform",i.m),i._mdf.o&&a.setAttribute("opacity",i.o),i._mdf.sw&&a.setAttribute("stroke-width",i.sw),i._mdf.sc&&a.setAttribute("stroke",i.sc),i._mdf.fc&&a.setAttribute("fill",i.fc))}};function ISolidElement(e,t,n){this.initElement(e,t,n)}extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)};function NullElement(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initFrame(),this.initTransform(e,t,n),this.initHierarchy()}NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement);function SVGRendererBase(){}extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRendererBase.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRendererBase.prototype.createText=function(e){return new SVGTextLottieElement(e,this.globalData,this)},SVGRendererBase.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var n=createNS("clipPath"),r=createNS("rect");r.setAttribute("width",e.w),r.setAttribute("height",e.h),r.setAttribute("x",0),r.setAttribute("y",0);var i=createElementID();n.setAttribute("id",i),n.appendChild(r),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")"),t.appendChild(n),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(e){var t=0,n=this.layers.length;for(t=0;t<n;t+=1)if(this.layers[t].ind===e)return t;return-1},SVGRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!(t[e]||this.layers[e].ty===99)){t[e]=!0;var n=this.createItem(this.layers[e]);if(t[e]=n,getExpressionsPlugin()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(n),n.initExpressions()),this.appendElementInPos(n,e),this.layers[e].tt){var r="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(r===-1)return;if(!this.elements[r]||this.elements[r]===!0)this.buildItem(r),this.addPendingElement(n);else{var i=t[r],a=i.getMatte(this.layers[e].tt);n.setMatte(a)}}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,n=this.elements.length;t<n;){if(this.elements[t]===e){var r="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,i=this.elements[r],a=i.getMatte(this.layers[t].tt);e.setMatte(a);break}t+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(!(this.renderedFrame===e||this.destroyed)){e===null?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var t,n=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=n-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<n;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,t){var n=e.getBaseElement();if(n){for(var r=0,i;r<t;)this.elements[r]&&this.elements[r]!==!0&&this.elements[r].getBaseElement()&&(i=this.elements[r].getBaseElement()),r+=1;i?this.layerElement.insertBefore(n,i):this.layerElement.appendChild(n)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"};function ICompElement(){}extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initTransform(e,t,n),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!t.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}var n,r=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&(this.elements[n].prepareFrame(this.renderedFrame-this.layers[n].st),this.elements[n]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function SVGCompElement(e,t,n){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,n),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)};function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var n="";if(t&&t.title){var r=createNS("title"),i=createElementID();r.setAttribute("id",i),r.textContent=t.title,this.svgElement.appendChild(r),n+=i}if(t&&t.description){var a=createNS("desc"),o=createElementID();a.setAttribute("id",o),a.textContent=t.description,this.svgElement.appendChild(a),n+=" "+o}n&&this.svgElement.setAttribute("aria-labelledby",n);var s=createNS("defs");this.svgElement.appendChild(s);var u=createNS("g");this.svgElement.appendChild(u),this.layerElement=u,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!(t&&t.hideOnTransparent===!1),viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"},width:t&&t.width,height:t&&t.height,runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:s,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)};function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}ShapeTransformManager.prototype={addTransformSequence:function(e){var t,n=e.length,r="_";for(t=0;t<n;t+=1)r+=e[t].transform.key+"_";var i=this.sequences[r];return i||(i={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[r]=i,this.sequenceList.push(i)),i},processSequence:function(e,t){for(var n=0,r=e.transforms.length,i=t;n<r&&!t;){if(e.transforms[n].transform.mProps._mdf){i=!0;break}n+=1}if(i)for(e.finalTransform.reset(),n=r-1;n>=0;n-=1)e.finalTransform.multiply(e.transforms[n].transform.mProps.v);e._mdf=i},processSequences:function(e){var t,n=this.sequenceList.length;for(t=0;t<n;t+=1)this.processSequence(this.sequenceList[t],e)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var e="__lottie_element_luma_buffer",t=null,n=null,r=null;function i(){var s=createNS("svg"),u=createNS("filter"),l=createNS("feColorMatrix");return u.setAttribute("id",e),l.setAttribute("type","matrix"),l.setAttribute("color-interpolation-filters","sRGB"),l.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),u.appendChild(l),s.appendChild(u),s.setAttribute("id",e+"_svg"),featureSupport.svgLumaHidden&&(s.style.display="none"),s}function a(){t||(r=i(),document.body.appendChild(r),t=createTag("canvas"),n=t.getContext("2d"),n.filter="url(#"+e+")",n.fillStyle="rgba(0,0,0,0)",n.fillRect(0,0,1,1))}function o(s){return t||a(),t.width=s.width,t.height=s.height,n.filter="url(#"+e+")",t}return{load:a,get:o}};function createCanvas(e,t){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(e,t);var n=createTag("canvas");return n.width=e,n.height=t,n}var assetLoader=function(){return{loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas}}(),registeredEffects={};function CVEffects(e){var t,n=e.data.ef?e.data.ef.length:0;this.filters=[];var r;for(t=0;t<n;t+=1){r=null;var i=e.data.ef[t].ty;if(registeredEffects[i]){var a=registeredEffects[i].effect;r=new a(e.effectsManager.effectElements[t],e)}r&&this.filters.push(r)}this.filters.length&&e.addRenderableComponent(this)}CVEffects.prototype.renderFrame=function(e){var t,n=this.filters.length;for(t=0;t<n;t+=1)this.filters[t].renderFrame(e)},CVEffects.prototype.getEffects=function(e){var t,n=this.filters.length,r=[];for(t=0;t<n;t+=1)this.filters[t].type===e&&r.push(this.filters[t]);return r};function registerEffect(e,t){registeredEffects[e]={effect:t}}function CVMaskElement(e,t){this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var n,r=this.masksProperties.length,i=!1;for(n=0;n<r;n+=1)this.masksProperties[n].mode!=="n"&&(i=!0),this.viewData[n]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[n],3);this.hasMasks=i,i&&this.element.addRenderableComponent(this)}CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e=this.element.finalTransform.mat,t=this.element.canvasContext,n,r=this.masksProperties.length,i,a,o;for(t.beginPath(),n=0;n<r;n+=1)if(this.masksProperties[n].mode!=="n"){this.masksProperties[n].inv&&(t.moveTo(0,0),t.lineTo(this.element.globalData.compSize.w,0),t.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),t.lineTo(0,this.element.globalData.compSize.h),t.lineTo(0,0)),o=this.viewData[n].v,i=e.applyToPointArray(o.v[0][0],o.v[0][1],0),t.moveTo(i[0],i[1]);var s,u=o._length;for(s=1;s<u;s+=1)a=e.applyToTriplePoints(o.o[s-1],o.i[s],o.v[s]),t.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5]);a=e.applyToTriplePoints(o.o[s-1],o.i[0],o.v[0]),t.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5])}this.element.globalData.renderer.save(!0),t.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};function CVBaseElement(){}var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var e=this.globalData.canvasContext,t=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(t);var n=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(n),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var e=this.globalData;if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var t=getBlendMode(this.data.bm);e.canvasContext.globalCompositeOperation=t}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(e){e.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var e=this.buffers[0],t=e.getContext("2d");this.clearCanvas(t),t.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var e=this.buffers[1],t=e.getContext("2d");this.clearCanvas(t),t.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var n=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(n.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var r=assetLoader.getLumaCanvas(this.canvasContext.canvas),i=r.getContext("2d");i.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(r,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(e,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(e){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!e)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var t=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(t),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement;function CVShapeData(e,t,n,r){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var i=4;t.ty==="rc"?i=5:t.ty==="el"?i=6:t.ty==="sr"&&(i=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,i,e);var a,o=n.length,s;for(a=0;a<o;a+=1)n[a].closed||(s={transforms:r.addTransformSequence(n[a].transforms),trNodes:[]},this.styledShapes.push(s),n[a].elements.push(s))}CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated;function CVShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,n)}extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(e,t){var n={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:e.hd===!0},r={};if(e.ty==="fl"||e.ty==="st"?(r.c=PropertyFactory.getProp(this,e.c,1,255,this),r.c.k||(n.co="rgb("+bmFloor(r.c.v[0])+","+bmFloor(r.c.v[1])+","+bmFloor(r.c.v[2])+")")):(e.ty==="gf"||e.ty==="gs")&&(r.s=PropertyFactory.getProp(this,e.s,1,null,this),r.e=PropertyFactory.getProp(this,e.e,1,null,this),r.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),r.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),r.g=new GradientProperty(this,e.g,this)),r.o=PropertyFactory.getProp(this,e.o,0,.01,this),e.ty==="st"||e.ty==="gs"){if(n.lc=lineCapEnum[e.lc||2],n.lj=lineJoinEnum[e.lj||2],e.lj==1&&(n.ml=e.ml),r.w=PropertyFactory.getProp(this,e.w,0,null,this),r.w.k||(n.wi=r.w.v),e.d){var i=new DashProperty(this,e.d,"canvas",this);r.d=i,r.d.k||(n.da=r.d.dashArray,n.do=r.d.dashoffset[0])}}else n.r=e.r===2?"evenodd":"nonzero";return this.stylesList.push(n),r.style=n,r},CVShapeElement.prototype.createGroupElement=function(){var e={it:[],prevViewData:[]};return e},CVShapeElement.prototype.createTransformElement=function(e){var t={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}};return t},CVShapeElement.prototype.createShapeElement=function(e){var t=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,n=this.stylesList.length;for(t=0;t<n;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,n=e.length;for(t=0;t<n;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,n,r,i){var a,o=e.length-1,s,u,l=[],c=[],d,g,f,p=[].concat(i);for(a=o;a>=0;a-=1){if(d=this.searchProcessedElement(e[a]),d?t[a]=n[d-1]:e[a]._shouldRender=r,e[a].ty==="fl"||e[a].ty==="st"||e[a].ty==="gf"||e[a].ty==="gs")d?t[a].style.closed=!1:t[a]=this.createStyleElement(e[a],p),l.push(t[a].style);else if(e[a].ty==="gr"){if(!d)t[a]=this.createGroupElement(e[a]);else for(u=t[a].it.length,s=0;s<u;s+=1)t[a].prevViewData[s]=t[a].it[s];this.searchShapes(e[a].it,t[a].it,t[a].prevViewData,r,p)}else e[a].ty==="tr"?(d||(f=this.createTransformElement(e[a]),t[a]=f),p.push(t[a]),this.addTransformToStyleList(t[a])):e[a].ty==="sh"||e[a].ty==="rc"||e[a].ty==="el"||e[a].ty==="sr"?d||(t[a]=this.createShapeElement(e[a])):e[a].ty==="tm"||e[a].ty==="rd"||e[a].ty==="pb"||e[a].ty==="zz"||e[a].ty==="op"?(d?(g=t[a],g.closed=!1):(g=ShapeModifiers.getModifier(e[a].ty),g.init(this,e[a]),t[a]=g,this.shapeModifiers.push(g)),c.push(g)):e[a].ty==="rp"&&(d?(g=t[a],g.closed=!0):(g=ShapeModifiers.getModifier(e[a].ty),t[a]=g,g.init(this,e,a,t),this.shapeModifiers.push(g),r=!1),c.push(g));this.addProcessedElement(e[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(l),o=c.length,a=0;a<o;a+=1)c[a].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t=this.stylesList.length,n,r,i,a,o,s,u=this.globalData.renderer,l=this.globalData.canvasContext,c,d;for(e=0;e<t;e+=1)if(d=this.stylesList[e],c=d.type,!((c==="st"||c==="gs")&&d.wi===0||!d.data._shouldRender||d.coOp===0||this.globalData.currentGlobalAlpha===0)){for(u.save(),o=d.elements,c==="st"||c==="gs"?(u.ctxStrokeStyle(c==="st"?d.co:d.grd),u.ctxLineWidth(d.wi),u.ctxLineCap(d.lc),u.ctxLineJoin(d.lj),u.ctxMiterLimit(d.ml||0)):u.ctxFillStyle(c==="fl"?d.co:d.grd),u.ctxOpacity(d.coOp),c!=="st"&&c!=="gs"&&l.beginPath(),u.ctxTransform(d.preTransforms.finalTransform.props),r=o.length,n=0;n<r;n+=1){for((c==="st"||c==="gs")&&(l.beginPath(),d.da&&(l.setLineDash(d.da),l.lineDashOffset=d.do)),s=o[n].trNodes,a=s.length,i=0;i<a;i+=1)s[i].t==="m"?l.moveTo(s[i].p[0],s[i].p[1]):s[i].t==="c"?l.bezierCurveTo(s[i].pts[0],s[i].pts[1],s[i].pts[2],s[i].pts[3],s[i].pts[4],s[i].pts[5]):l.closePath();(c==="st"||c==="gs")&&(u.ctxStroke(),d.da&&l.setLineDash(this.dashResetter))}c!=="st"&&c!=="gs"&&this.globalData.renderer.ctxFill(d.r),u.restore()}},CVShapeElement.prototype.renderShape=function(e,t,n,r){var i,a=t.length-1,o;for(o=e,i=a;i>=0;i-=1)t[i].ty==="tr"?(o=n[i].transform,this.renderShapeTransform(e,o)):t[i].ty==="sh"||t[i].ty==="el"||t[i].ty==="rc"||t[i].ty==="sr"?this.renderPath(t[i],n[i]):t[i].ty==="fl"?this.renderFill(t[i],n[i],o):t[i].ty==="st"?this.renderStroke(t[i],n[i],o):t[i].ty==="gf"||t[i].ty==="gs"?this.renderGradientFill(t[i],n[i],o):t[i].ty==="gr"?this.renderShape(o,t[i].it,n[i].it):t[i].ty;r&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var n=e.trNodes,r=t.paths,i,a,o,s=r._length;n.length=0;var u=e.transforms.finalTransform;for(o=0;o<s;o+=1){var l=r.shapes[o];if(l&&l.v){for(a=l._length,i=1;i<a;i+=1)i===1&&n.push({t:"m",p:u.applyToPointArray(l.v[0][0],l.v[0][1],0)}),n.push({t:"c",pts:u.applyToTriplePoints(l.o[i-1],l.i[i],l.v[i])});a===1&&n.push({t:"m",p:u.applyToPointArray(l.v[0][0],l.v[0][1],0)}),l.c&&a&&(n.push({t:"c",pts:u.applyToTriplePoints(l.o[i-1],l.i[0],l.v[0])}),n.push({t:"z"}))}}e.trNodes=n}},CVShapeElement.prototype.renderPath=function(e,t){if(e.hd!==!0&&e._shouldRender){var n,r=t.styledShapes.length;for(n=0;n<r;n+=1)this.renderStyledShape(t.styledShapes[n],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,n){var r=t.style;(t.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n._opMdf||this._isFirstFrame)&&(r.coOp=t.o.v*n.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,n){var r=t.style,i;if(!r.grd||t.g._mdf||t.s._mdf||t.e._mdf||e.t!==1&&(t.h._mdf||t.a._mdf)){var a=this.globalData.canvasContext,o=t.s.v,s=t.e.v;if(e.t===1)i=a.createLinearGradient(o[0],o[1],s[0],s[1]);else{var u=Math.sqrt(Math.pow(o[0]-s[0],2)+Math.pow(o[1]-s[1],2)),l=Math.atan2(s[1]-o[1],s[0]-o[0]),c=t.h.v;c>=1?c=.99:c<=-1&&(c=-.99);var d=u*c,g=Math.cos(l+t.a.v)*d+o[0],f=Math.sin(l+t.a.v)*d+o[1];i=a.createRadialGradient(g,f,0,o[0],o[1],u)}var p,h=e.g.p,C=t.g.c,y=1;for(p=0;p<h;p+=1)t.g._hasOpacity&&t.g._collapsable&&(y=t.g.o[p*2+1]),i.addColorStop(C[p*4]/100,"rgba("+C[p*4+1]+","+C[p*4+2]+","+C[p*4+3]+","+y+")");r.grd=i}r.coOp=t.o.v*n.opacity},CVShapeElement.prototype.renderStroke=function(e,t,n){var r=t.style,i=t.d;i&&(i._mdf||this._isFirstFrame)&&(r.da=i.dashArray,r.do=i.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n._opMdf||this._isFirstFrame)&&(r.coOp=t.o.v*n.opacity),(t.w._mdf||this._isFirstFrame)&&(r.wi=t.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0};function CVTextElement(e,t,n){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(e,t,n)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var n=!1;e.sc&&(n=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var r=this.globalData.fontManager.getFontByName(e.f),i,a,o=e.l,s=this.mHelper;this.stroke=n,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,a=e.finalText.length;var u,l,c,d,g,f,p,h,C,y,v=this.data.singleShape,b=e.tr*.001*e.finalSize,x=0,T=0,S=!0,E=0;for(i=0;i<a;i+=1){u=this.globalData.fontManager.getCharData(e.finalText[i],r.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),l=u&&u.data||{},s.reset(),v&&o[i].n&&(x=-b,T+=e.yOffset,T+=S?1:0,S=!1),g=l.shapes?l.shapes[0].it:[],p=g.length,s.scale(e.finalSize/100,e.finalSize/100),v&&this.applyTextPropertiesToMatrix(e,s,o[i].line,x,T),C=createSizedArray(p-1);var A=0;for(f=0;f<p;f+=1)if(g[f].ty==="sh"){for(d=g[f].ks.k.i.length,h=g[f].ks.k,y=[],c=1;c<d;c+=1)c===1&&y.push(s.applyToX(h.v[0][0],h.v[0][1],0),s.applyToY(h.v[0][0],h.v[0][1],0)),y.push(s.applyToX(h.o[c-1][0],h.o[c-1][1],0),s.applyToY(h.o[c-1][0],h.o[c-1][1],0),s.applyToX(h.i[c][0],h.i[c][1],0),s.applyToY(h.i[c][0],h.i[c][1],0),s.applyToX(h.v[c][0],h.v[c][1],0),s.applyToY(h.v[c][0],h.v[c][1],0));y.push(s.applyToX(h.o[c-1][0],h.o[c-1][1],0),s.applyToY(h.o[c-1][0],h.o[c-1][1],0),s.applyToX(h.i[0][0],h.i[0][1],0),s.applyToY(h.i[0][0],h.i[0][1],0),s.applyToX(h.v[0][0],h.v[0][1],0),s.applyToY(h.v[0][0],h.v[0][1],0)),C[A]=y,A+=1}v&&(x+=o[i].l,x+=b),this.textSpans[E]?this.textSpans[E].elem=C:this.textSpans[E]={elem:C},E+=1}},CVTextElement.prototype.renderInnerContent=function(){this.validateText();var e=this.canvasContext;e.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var t,n,r,i,a,o,s=this.textAnimator.renderedLetters,u=this.textProperty.currentData.l;n=u.length;var l,c=null,d=null,g=null,f,p,h=this.globalData.renderer;for(t=0;t<n;t+=1)if(!u[t].n){if(l=s[t],l&&(h.save(),h.ctxTransform(l.p),h.ctxOpacity(l.o)),this.fill){for(l&&l.fc?c!==l.fc&&(h.ctxFillStyle(l.fc),c=l.fc):c!==this.values.fill&&(c=this.values.fill,h.ctxFillStyle(this.values.fill)),f=this.textSpans[t].elem,i=f.length,this.globalData.canvasContext.beginPath(),r=0;r<i;r+=1)for(p=f[r],o=p.length,this.globalData.canvasContext.moveTo(p[0],p[1]),a=2;a<o;a+=6)this.globalData.canvasContext.bezierCurveTo(p[a],p[a+1],p[a+2],p[a+3],p[a+4],p[a+5]);this.globalData.canvasContext.closePath(),h.ctxFill()}if(this.stroke){for(l&&l.sw?g!==l.sw&&(g=l.sw,h.ctxLineWidth(l.sw)):g!==this.values.sWidth&&(g=this.values.sWidth,h.ctxLineWidth(this.values.sWidth)),l&&l.sc?d!==l.sc&&(d=l.sc,h.ctxStrokeStyle(l.sc)):d!==this.values.stroke&&(d=this.values.stroke,h.ctxStrokeStyle(this.values.stroke)),f=this.textSpans[t].elem,i=f.length,this.globalData.canvasContext.beginPath(),r=0;r<i;r+=1)for(p=f[r],o=p.length,this.globalData.canvasContext.moveTo(p[0],p[1]),a=2;a<o;a+=6)this.globalData.canvasContext.bezierCurveTo(p[a],p[a+1],p[a+2],p[a+3],p[a+4],p[a+5]);this.globalData.canvasContext.closePath(),h.ctxStroke()}l&&this.globalData.renderer.restore()}};function CVImageElement(e,t,n){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getAsset(this.assetData),this.initElement(e,t,n)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t=e.getContext("2d"),n=this.img.width,r=this.img.height,i=n/r,a=this.assetData.w/this.assetData.h,o,s,u=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;i>a&&u==="xMidYMid slice"||i<a&&u!=="xMidYMid slice"?(s=r,o=s*a):(o=n,s=o/a),t.drawImage(this.img,(n-o)/2,(r-s)/2,o,s,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null};function CVSolidElement(e,t,n){this.initElement(e,t,n)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)};function CanvasRendererBase(){}extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRendererBase.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(e){e[0]===1&&e[1]===0&&e[4]===0&&e[5]===1&&e[12]===0&&e[13]===0||this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){this.canvasContext.globalAlpha*=e<0?0:e},CanvasRendererBase.prototype.ctxFillStyle=function(e){this.canvasContext.fillStyle=e},CanvasRendererBase.prototype.ctxStrokeStyle=function(e){this.canvasContext.strokeStyle=e},CanvasRendererBase.prototype.ctxLineWidth=function(e){this.canvasContext.lineWidth=e},CanvasRendererBase.prototype.ctxLineCap=function(e){this.canvasContext.lineCap=e},CanvasRendererBase.prototype.ctxLineJoin=function(e){this.canvasContext.lineJoin=e},CanvasRendererBase.prototype.ctxMiterLimit=function(e){this.canvasContext.miterLimit=e},CanvasRendererBase.prototype.ctxFill=function(e){this.canvasContext.fill(e)},CanvasRendererBase.prototype.ctxFillRect=function(e,t,n,r){this.canvasContext.fillRect(e,t,n,r)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}e&&(this.globalData.blendMode="source-over"),this.contextData.restore(e)},CanvasRendererBase.prototype.configAnimation=function(e){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var t=this.animationItem.container.style;t.width="100%",t.height="100%";var n="0px 0px 0px";t.transformOrigin=n,t.mozTransformOrigin=n,t.webkitTransformOrigin=n,t["-webkit-transform"]=n,t.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(e.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(e,t){this.reset();var n,r;e?(n=e,r=t,this.canvasContext.canvas.width=n,this.canvasContext.canvas.height=r):(this.animationItem.wrapper&&this.animationItem.container?(n=this.animationItem.wrapper.offsetWidth,r=this.animationItem.wrapper.offsetHeight):(n=this.canvasContext.canvas.width,r=this.canvasContext.canvas.height),this.canvasContext.canvas.width=n*this.renderConfig.dpr,this.canvasContext.canvas.height=r*this.renderConfig.dpr);var i,a;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var o=this.renderConfig.preserveAspectRatio.split(" "),s=o[1]||"meet",u=o[0]||"xMidYMid",l=u.substr(0,4),c=u.substr(4);i=n/r,a=this.transformCanvas.w/this.transformCanvas.h,a>i&&s==="meet"||a<i&&s==="slice"?(this.transformCanvas.sx=n/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=n/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=r/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.h/this.renderConfig.dpr)),l==="xMid"&&(a<i&&s==="meet"||a>i&&s==="slice")?this.transformCanvas.tx=(n-this.transformCanvas.w*(r/this.transformCanvas.h))/2*this.renderConfig.dpr:l==="xMax"&&(a<i&&s==="meet"||a>i&&s==="slice")?this.transformCanvas.tx=(n-this.transformCanvas.w*(r/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,c==="YMid"&&(a>i&&s==="meet"||a<i&&s==="slice")?this.transformCanvas.ty=(r-this.transformCanvas.h*(n/this.transformCanvas.w))/2*this.renderConfig.dpr:c==="YMax"&&(a>i&&s==="meet"||a<i&&s==="slice")?this.transformCanvas.ty=(r-this.transformCanvas.h*(n/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=n/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var e,t=this.layers?this.layers.length:0;for(e=t-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if(!(this.renderedFrame===e&&this.renderConfig.clearCanvas===!0&&!t||this.destroyed||e===-1)){this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var n,r=this.layers.length;for(this.completeLayers||this.checkLayers(e),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&this.elements[n].prepareFrame(e-this.layers[n].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&this.elements[n].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!(t[e]||this.layers[e].ty===99)){var n=this.createItem(this.layers[e],this,this.globalData);t[e]=n,n.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();e.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"};function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){this.stack=[],this.cArrPos=0,this.cTr=new Matrix;var e,t=15;for(e=0;e<t;e+=1){var n=new CanvasContext;this.stack[e]=n}this._length=t,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}CVContextData.prototype.duplicate=function(){var e=this._length*2,t=0;for(t=this._length;t<e;t+=1)this.stack[t]=new CanvasContext;this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(e){this.cArrPos-=1;var t=this.stack[this.cArrPos],n=t.transform,r,i=this.cTr.props;for(r=0;r<16;r+=1)i[r]=n[r];if(e){this.nativeContext.restore();var a=this.stack[this.cArrPos+1];this.appliedFillStyle=a.fillStyle,this.appliedStrokeStyle=a.strokeStyle,this.appliedLineWidth=a.lineWidth,this.appliedLineCap=a.lineCap,this.appliedLineJoin=a.lineJoin,this.appliedMiterLimit=a.miterLimit}this.nativeContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13]),(e||t.opacity!==-1&&this.currentOpacity!==t.opacity)&&(this.nativeContext.globalAlpha=t.opacity,this.currentOpacity=t.opacity),this.currentFillStyle=t.fillStyle,this.currentStrokeStyle=t.strokeStyle,this.currentLineWidth=t.lineWidth,this.currentLineCap=t.lineCap,this.currentLineJoin=t.lineJoin,this.currentMiterLimit=t.miterLimit},CVContextData.prototype.save=function(e){e&&this.nativeContext.save();var t=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var n=this.stack[this.cArrPos],r;for(r=0;r<16;r+=1)n.transform[r]=t[r];this.cArrPos+=1;var i=this.stack[this.cArrPos];i.opacity=n.opacity,i.fillStyle=n.fillStyle,i.strokeStyle=n.strokeStyle,i.lineWidth=n.lineWidth,i.lineCap=n.lineCap,i.lineJoin=n.lineJoin,i.miterLimit=n.miterLimit},CVContextData.prototype.setOpacity=function(e){this.stack[this.cArrPos].opacity=e},CVContextData.prototype.setContext=function(e){this.nativeContext=e},CVContextData.prototype.fillStyle=function(e){this.stack[this.cArrPos].fillStyle!==e&&(this.currentFillStyle=e,this.stack[this.cArrPos].fillStyle=e)},CVContextData.prototype.strokeStyle=function(e){this.stack[this.cArrPos].strokeStyle!==e&&(this.currentStrokeStyle=e,this.stack[this.cArrPos].strokeStyle=e)},CVContextData.prototype.lineWidth=function(e){this.stack[this.cArrPos].lineWidth!==e&&(this.currentLineWidth=e,this.stack[this.cArrPos].lineWidth=e)},CVContextData.prototype.lineCap=function(e){this.stack[this.cArrPos].lineCap!==e&&(this.currentLineCap=e,this.stack[this.cArrPos].lineCap=e)},CVContextData.prototype.lineJoin=function(e){this.stack[this.cArrPos].lineJoin!==e&&(this.currentLineJoin=e,this.stack[this.cArrPos].lineJoin=e)},CVContextData.prototype.miterLimit=function(e){this.stack[this.cArrPos].miterLimit!==e&&(this.currentMiterLimit=e,this.stack[this.cArrPos].miterLimit=e)},CVContextData.prototype.transform=function(e){this.transformMat.cloneFromProps(e);var t=this.cTr;this.transformMat.multiply(t),t.cloneFromProps(this.transformMat.props);var n=t.props;this.nativeContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13])},CVContextData.prototype.opacity=function(e){var t=this.stack[this.cArrPos].opacity;t*=e<0?0:e,this.stack[this.cArrPos].opacity!==t&&(this.currentOpacity!==e&&(this.nativeContext.globalAlpha=e,this.currentOpacity=e),this.stack[this.cArrPos].opacity=t)},CVContextData.prototype.fill=function(e){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(e)},CVContextData.prototype.fillRect=function(e,t,n,r){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(e,t,n,r)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()};function CVCompElement(e,t,n){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,n),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e=this.canvasContext;e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip();var t,n=this.layers.length;for(t=n-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var e,t=this.layers.length;for(e=t-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)};function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:t&&t.clearCanvas!==void 0?t.clearCanvas:!0,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||"",runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)};function HBaseElement(){}HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var e=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var t=this.finalTransform.mat.toCSS();e.transform=t,e.webkitTransform=t}this.finalTransform._opMdf&&(e.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting;function HSolidElement(e,t,n){this.initElement(e,t,n)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?(e=createNS("rect"),e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(e=createTag("div"),e.style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)};function HShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,n),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)t=e[n].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var n=e.sh.v,r=e.transformers,i,a=n._length,o,s,u,l;if(!(a<=1)){for(i=0;i<a-1;i+=1)o=this.getTransformedPoint(r,n.v[i]),s=this.getTransformedPoint(r,n.o[i]),u=this.getTransformedPoint(r,n.i[i+1]),l=this.getTransformedPoint(r,n.v[i+1]),this.checkBounds(o,s,u,l,t);n.c&&(o=this.getTransformedPoint(r,n.v[i]),s=this.getTransformedPoint(r,n.o[i]),u=this.getTransformedPoint(r,n.i[0]),l=this.getTransformedPoint(r,n.v[0]),this.checkBounds(o,s,u,l,t))}},HShapeElement.prototype.checkBounds=function(e,t,n,r,i){this.getBoundsOfCurve(e,t,n,r);var a=this.shapeBoundingBox;i.x=bmMin(a.left,i.x),i.xMax=bmMax(a.right,i.xMax),i.y=bmMin(a.top,i.y),i.yMax=bmMax(a.bottom,i.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(e,t,n,r){for(var i=[[e[0],r[0]],[e[1],r[1]]],a,o,s,u,l,c,d,g=0;g<2;++g)o=6*e[g]-12*t[g]+6*n[g],a=-3*e[g]+9*t[g]-9*n[g]+3*r[g],s=3*t[g]-3*e[g],o|=0,a|=0,s|=0,a===0&&o===0||(a===0?(u=-s/o,u>0&&u<1&&i[g].push(this.calculateF(u,e,t,n,r,g))):(l=o*o-4*s*a,l>=0&&(c=(-o+bmSqrt(l))/(2*a),c>0&&c<1&&i[g].push(this.calculateF(c,e,t,n,r,g)),d=(-o-bmSqrt(l))/(2*a),d>0&&d<1&&i[g].push(this.calculateF(d,e,t,n,r,g)))));this.shapeBoundingBox.left=bmMin.apply(null,i[0]),this.shapeBoundingBox.top=bmMin.apply(null,i[1]),this.shapeBoundingBox.right=bmMax.apply(null,i[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,i[1])},HShapeElement.prototype.calculateF=function(e,t,n,r,i,a){return bmPow(1-e,3)*t[a]+3*bmPow(1-e,2)*e*n[a]+3*(1-e)*bmPow(e,2)*r[a]+bmPow(e,3)*i[a]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var n,r=e.length;for(n=0;n<r;n+=1)e[n]&&e[n].sh?this.calculateShapeBoundingBox(e[n],t):e[n]&&e[n].it?this.calculateBoundingBox(e[n].it,t):e[n]&&e[n].style&&e[n].w&&this.expandStrokeBoundingBox(e[n].w,t)},HShapeElement.prototype.expandStrokeBoundingBox=function(e,t){var n=0;if(e.keyframes){for(var r=0;r<e.keyframes.length;r+=1){var i=e.keyframes[r].s;i>n&&(n=i)}n*=e.mult}else n=e.v*e.mult;t.x-=n,t.xMax+=n,t.y-=n,t.yMax+=n},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var n=!1;if(this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),n=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),n=!0),n||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y){this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var r=this.shapeCont.style,i="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";r.transform=i,r.webkitTransform=i}}};function HTextElement(e,t,n){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,n)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style,n=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)";t.fill=n,t.color=n,e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var r=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",r.fClass)this.innerElem.className=r.fClass;else{t.fontFamily=r.fFamily;var i=e.fWeight,a=e.fStyle;t.fontStyle=a,t.fontWeight=i}var o,s,u=e.l;s=u.length;var l,c,d,g=this.mHelper,f,p="",h=0;for(o=0;o<s;o+=1){if(this.globalData.fontManager.chars?(this.textPaths[h]?l=this.textPaths[h]:(l=createNS("path"),l.setAttribute("stroke-linecap",lineCapEnum[1]),l.setAttribute("stroke-linejoin",lineJoinEnum[2]),l.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[h]?(c=this.textSpans[h],d=c.children[0]):(c=createTag("div"),c.style.lineHeight=0,d=createNS("svg"),d.appendChild(l),styleDiv(c)))):this.isMasked?l=this.textPaths[h]?this.textPaths[h]:createNS("text"):this.textSpans[h]?(c=this.textSpans[h],l=this.textPaths[h]):(c=createTag("span"),styleDiv(c),l=createTag("span"),styleDiv(l),c.appendChild(l)),this.globalData.fontManager.chars){var C=this.globalData.fontManager.getCharData(e.finalText[o],r.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),y;if(C?y=C.data:y=null,g.reset(),y&&y.shapes&&y.shapes.length&&(f=y.shapes[0].it,g.scale(e.finalSize/100,e.finalSize/100),p=this.createPathShape(g,f),l.setAttribute("d",p)),this.isMasked)this.innerElem.appendChild(l);else{if(this.innerElem.appendChild(c),y&&y.shapes){document.body.appendChild(d);var v=d.getBBox();d.setAttribute("width",v.width+2),d.setAttribute("height",v.height+2),d.setAttribute("viewBox",v.x-1+" "+(v.y-1)+" "+(v.width+2)+" "+(v.height+2));var b=d.style,x="translate("+(v.x-1)+"px,"+(v.y-1)+"px)";b.transform=x,b.webkitTransform=x,u[o].yOffset=v.y-1}else d.setAttribute("width",1),d.setAttribute("height",1);c.appendChild(d)}}else if(l.textContent=u[o].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(l);else{this.innerElem.appendChild(c);var T=l.style,S="translate3d(0,"+-e.finalSize/1.2+"px,0)";T.transform=S,T.webkitTransform=S}this.isMasked?this.textSpans[h]=l:this.textSpans[h]=c,this.textSpans[h].style.display="block",this.textPaths[h]=l,h+=1}for(;h<this.textSpans.length;)this.textSpans[h].style.display="none",h+=1},HTextElement.prototype.renderInnerContent=function(){this.validateText();var e;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),e=this.svgElement.style;var t="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";e.transform=t,e.webkitTransform=t}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),!(!this.lettersChangedFlag&&!this.textAnimator.lettersChangedFlag)){var n,r,i=0,a=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l;r=o.length;var s,u,l;for(n=0;n<r;n+=1)o[n].n?i+=1:(u=this.textSpans[n],l=this.textPaths[n],s=a[i],i+=1,s._mdf.m&&(this.isMasked?u.setAttribute("transform",s.m):(u.style.webkitTransform=s.m,u.style.transform=s.m)),u.style.opacity=s.o,s.sw&&s._mdf.sw&&l.setAttribute("stroke-width",s.sw),s.sc&&s._mdf.sc&&l.setAttribute("stroke",s.sc),s.fc&&s._mdf.fc&&(l.setAttribute("fill",s.fc),l.style.color=s.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var c=this.innerElem.getBBox();this.currentBBox.w!==c.width&&(this.currentBBox.w=c.width,this.svgElement.setAttribute("width",c.width)),this.currentBBox.h!==c.height&&(this.currentBBox.h=c.height,this.svgElement.setAttribute("height",c.height));var d=1;if(this.currentBBox.w!==c.width+d*2||this.currentBBox.h!==c.height+d*2||this.currentBBox.x!==c.x-d||this.currentBBox.y!==c.y-d){this.currentBBox.w=c.width+d*2,this.currentBBox.h=c.height+d*2,this.currentBBox.x=c.x-d,this.currentBBox.y=c.y-d,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var g="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=g,e.webkitTransform=g}}}};function HCameraElement(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initHierarchy();var r=PropertyFactory.getProp;if(this.pe=r(this,e.pe,0,0,this),e.ks.p.s?(this.px=r(this,e.ks.p.x,1,0,this),this.py=r(this,e.ks.p.y,1,0,this),this.pz=r(this,e.ks.p.z,1,0,this)):this.p=r(this,e.ks.p,1,0,this),e.ks.a&&(this.a=r(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var i,a=e.ks.or.k.length;for(i=0;i<a;i+=1)e.ks.or.k[i].to=null,e.ks.or.k[i].ti=null}this.or=r(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=r(this,e.ks.rx,0,degToRads,this),this.ry=r(this,e.ks.ry,0,degToRads,this),this.rz=r(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t=this.comp.threeDElements.length,n,r,i;for(e=0;e<t;e+=1)if(n=this.comp.threeDElements[e],n.type==="3d"){r=n.perspectiveElem.style,i=n.container.style;var a=this.pe.v+"px",o="0px 0px 0px",s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";r.perspective=a,r.webkitPerspective=a,i.transformOrigin=o,i.mozTransformOrigin=o,i.webkitTransformOrigin=o,r.transform=s,r.webkitTransform=s}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e=this._isFirstFrame,t,n;if(this.hierarchy)for(n=this.hierarchy.length,t=0;t<n;t+=1)e=this.hierarchy[t].finalTransform.mProp._mdf||e;if(e||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(n=this.hierarchy.length-1,t=n;t>=0;t-=1){var r=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-r.p.v[0],-r.p.v[1],r.p.v[2]),this.mat.rotateX(-r.or.v[0]).rotateY(-r.or.v[1]).rotateZ(r.or.v[2]),this.mat.rotateX(-r.rx.v).rotateY(-r.ry.v).rotateZ(r.rz.v),this.mat.scale(1/r.s.v[0],1/r.s.v[1],1/r.s.v[2]),this.mat.translate(r.a.v[0],r.a.v[1],r.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var i;this.p?i=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:i=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(i[0],2)+Math.pow(i[1],2)+Math.pow(i[2],2)),o=[i[0]/a,i[1]/a,i[2]/a],s=Math.sqrt(o[2]*o[2]+o[0]*o[0]),u=Math.atan2(o[1],s),l=Math.atan2(o[0],-o[2]);this.mat.rotateY(l).rotateX(-u)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var c=!this._prevMat.equals(this.mat);if((c||this.pe._mdf)&&this.comp.threeDElements){n=this.comp.threeDElements.length;var d,g,f;for(t=0;t<n;t+=1)if(d=this.comp.threeDElements[t],d.type==="3d"){if(c){var p=this.mat.toCSS();f=d.container.style,f.transform=p,f.webkitTransform=p}this.pe._mdf&&(g=d.perspectiveElem.style,g.perspective=this.pe.v+"px",g.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null};function HImageElement(e,t,n){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,n)}extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData),t=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(t),t.crossOrigin="anonymous",t.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)};function HybridRendererBase(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&t.hideOnTransparent===!1),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();e.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(e,t){var n=e.getBaseElement();if(n){var r=this.layers[t];if(!r.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(n,t);else{for(var i=0,a,o,s;i<t;)this.elements[i]&&this.elements[i]!==!0&&this.elements[i].getBaseElement&&(o=this.elements[i],s=this.layers[i].ddd?this.getThreeDContainerByPos(i):o.getBaseElement(),a=s||a),i+=1;a?(!r.ddd||!this.supports3d)&&this.layerElement.insertBefore(n,a):(!r.ddd||!this.supports3d)&&this.layerElement.appendChild(n)}else this.addTo3dContainer(n,t)}},HybridRendererBase.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRendererBase.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextLottieElement(e,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(e){for(var t=0,n=this.threeDElements.length;t<n;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var n=createTag("div"),r,i;styleDiv(n);var a=createTag("div");if(styleDiv(a),t==="3d"){r=n.style,r.width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px";var o="50% 50%";r.webkitTransformOrigin=o,r.mozTransformOrigin=o,r.transformOrigin=o,i=a.style;var s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";i.transform=s,i.webkitTransform=s}n.appendChild(a);var u={container:a,perspectiveElem:n,startPos:e,endPos:e,type:t};return this.threeDElements.push(u),u},HybridRendererBase.prototype.build3dContainers=function(){var e,t=this.layers.length,n,r="";for(e=0;e<t;e+=1)this.layers[e].ddd&&this.layers[e].ty!==3?(r!=="3d"&&(r="3d",n=this.createThreeDContainer(e,"3d")),n.endPos=Math.max(n.endPos,e)):(r!=="2d"&&(r="2d",n=this.createThreeDContainer(e,"2d")),n.endPos=Math.max(n.endPos,e));for(t=this.threeDElements.length,e=t-1;e>=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var n=0,r=this.threeDElements.length;n<r;){if(t<=this.threeDElements[n].endPos){for(var i=this.threeDElements[n].startPos,a;i<t;)this.elements[i]&&this.elements[i].getBaseElement&&(a=this.elements[i].getBaseElement()),i+=1;a?this.threeDElements[n].container.insertBefore(e,a):this.threeDElements[n].container.appendChild(e);break}n+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),n=this.animationItem.wrapper,r=t.style;r.width=e.w+"px",r.height=e.h+"px",this.resizerElem=t,styleDiv(t),r.transformStyle="flat",r.mozTransformStyle="flat",r.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),n.appendChild(t),r.overflow="hidden";var i=createNS("svg");i.setAttribute("width","1"),i.setAttribute("height","1"),styleDiv(i),this.resizerElem.appendChild(i);var a=createNS("defs");i.appendChild(a),this.data=e,this.setupGlobalData(e,i),this.globalData.defs=a,this.layers=e.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var e=this.animationItem.wrapper.offsetWidth,t=this.animationItem.wrapper.offsetHeight,n=e/t,r=this.globalData.compSize.w/this.globalData.compSize.h,i,a,o,s;r>n?(i=e/this.globalData.compSize.w,a=e/this.globalData.compSize.w,o=0,s=(t-this.globalData.compSize.h*(e/this.globalData.compSize.w))/2):(i=t/this.globalData.compSize.h,a=t/this.globalData.compSize.h,o=(e-this.globalData.compSize.w*(t/this.globalData.compSize.h))/2,s=0);var u=this.resizerElem.style;u.webkitTransform="matrix3d("+i+",0,0,0,0,"+a+",0,0,0,0,1,0,"+o+","+s+",0,1)",u.transform=u.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e=this.globalData.compSize.w,t=this.globalData.compSize.h,n,r=this.threeDElements.length;for(n=0;n<r;n+=1){var i=this.threeDElements[n].perspectiveElem.style;i.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(t,2))+"px",i.perspective=i.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,n=e.length,r=createTag("div");for(t=0;t<n;t+=1)if(e[t].xt){var i=this.createComp(e[t],r,this.globalData.comp,null);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}};function HCompElement(e,t,n){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,n),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(e,t){for(var n=0,r;n<t;)this.elements[n]&&this.elements[n].getBaseElement&&(r=this.elements[n].getBaseElement()),n+=1;r?this.layerElement.insertBefore(e,r):this.layerElement.appendChild(e)},HCompElement.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};function HybridRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&t.hideOnTransparent===!1),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"},runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};var CompExpressionInterface=function(){return function(e){function t(n){for(var r=0,i=e.layers.length;r<i;){if(e.layers[r].nm===n||e.layers[r].ind===n)return e.elements[r].layerInterface;r+=1}return null}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.data.h||e.globalData.compSize.h,t.width=e.data.w||e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t.displayStartTime=0,t.numLayers=e.layers.length,t}}();function _typeof$2(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$2=function(t){return typeof t}:_typeof$2=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$2(e)}function seedRandom(e,t){var n=this,r=256,i=6,a=52,o="random",s=t.pow(r,i),u=t.pow(2,a),l=u*2,c=r-1,d;function g(b,x,T){var S=[];x=x===!0?{entropy:!0}:x||{};var E=C(h(x.entropy?[b,v(e)]:b===null?y():b,3),S),A=new f(S),M=function(){for(var P=A.g(i),B=s,O=0;P<u;)P=(P+O)*r,B*=r,O=A.g(1);for(;P>=l;)P/=2,B/=2,O>>>=1;return(P+O)/B};return M.int32=function(){return A.g(4)|0},M.quick=function(){return A.g(4)/4294967296},M.double=M,C(v(A.S),e),(x.pass||T||function(P,B,O,R){return R&&(R.S&&p(R,A),P.state=function(){return p(A,{})}),O?(t[o]=P,B):P})(M,E,"global"in x?x.global:this==t,x.state)}t["seed"+o]=g;function f(b){var x,T=b.length,S=this,E=0,A=S.i=S.j=0,M=S.S=[];for(T||(b=[T++]);E<r;)M[E]=E++;for(E=0;E<r;E++)M[E]=M[A=c&A+b[E%T]+(x=M[E])],M[A]=x;S.g=function(P){for(var B,O=0,R=S.i,_=S.j,F=S.S;P--;)B=F[R=c&R+1],O=O*r+F[c&(F[R]=F[_=c&_+B])+(F[_]=B)];return S.i=R,S.j=_,O}}function p(b,x){return x.i=b.i,x.j=b.j,x.S=b.S.slice(),x}function h(b,x){var T=[],S=_typeof$2(b),E;if(x&&S=="object")for(E in b)try{T.push(h(b[E],x-1))}catch{}return T.length?T:S=="string"?b:b+"\0"}function C(b,x){for(var T=b+"",S,E=0;E<T.length;)x[c&E]=c&(S^=x[c&E]*19)+T.charCodeAt(E++);return v(x)}function y(){try{if(d)return v(d.randomBytes(r));var b=new Uint8Array(r);return(n.crypto||n.msCrypto).getRandomValues(b),v(b)}catch{var x=n.navigator,T=x&&x.plugins;return[+new Date,n,T,n.screen,v(e)]}}function v(b){return String.fromCharCode.apply(0,b)}C(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof$1(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$1=function(t){return typeof t}:_typeof$1=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$1(e)}var ExpressionManager=function(){"use strict";var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};initialize$2(BMMath);function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return e==="number"||t instanceof Number||e==="boolean"||e==="string"}function $bm_neg(e){var t=_typeof$1(e);if(t==="number"||e instanceof Number||t==="boolean")return-e;if($bm_isInstanceOfArray(e)){var n,r=e.length,i=[];for(n=0;n<r;n+=1)i[n]=-e[n];return i}return e.propType?e.v:-e}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(e,t){var n=_typeof$1(e),r=_typeof$1(t);if(isNumerable(n,e)&&isNumerable(r,t)||n==="string"||r==="string")return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(r,t))return e=e.slice(0),e[0]+=t,e;if(isNumerable(n,e)&&$bm_isInstanceOfArray(t))return t=t.slice(0),t[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var i=0,a=e.length,o=t.length,s=[];i<a||i<o;)(typeof e[i]=="number"||e[i]instanceof Number)&&(typeof t[i]=="number"||t[i]instanceof Number)?s[i]=e[i]+t[i]:s[i]=t[i]===void 0?e[i]:e[i]||t[i],i+=1;return s}return 0}var add=sum;function sub(e,t){var n=_typeof$1(e),r=_typeof$1(t);if(isNumerable(n,e)&&isNumerable(r,t))return n==="string"&&(e=parseInt(e,10)),r==="string"&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(r,t))return e=e.slice(0),e[0]-=t,e;if(isNumerable(n,e)&&$bm_isInstanceOfArray(t))return t=t.slice(0),t[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var i=0,a=e.length,o=t.length,s=[];i<a||i<o;)(typeof e[i]=="number"||e[i]instanceof Number)&&(typeof t[i]=="number"||t[i]instanceof Number)?s[i]=e[i]-t[i]:s[i]=t[i]===void 0?e[i]:e[i]||t[i],i+=1;return s}return 0}function mul(e,t){var n=_typeof$1(e),r=_typeof$1(t),i;if(isNumerable(n,e)&&isNumerable(r,t))return e*t;var a,o;if($bm_isInstanceOfArray(e)&&isNumerable(r,t)){for(o=e.length,i=createTypedArray("float32",o),a=0;a<o;a+=1)i[a]=e[a]*t;return i}if(isNumerable(n,e)&&$bm_isInstanceOfArray(t)){for(o=t.length,i=createTypedArray("float32",o),a=0;a<o;a+=1)i[a]=e*t[a];return i}return 0}function div(e,t){var n=_typeof$1(e),r=_typeof$1(t),i;if(isNumerable(n,e)&&isNumerable(r,t))return e/t;var a,o;if($bm_isInstanceOfArray(e)&&isNumerable(r,t)){for(o=e.length,i=createTypedArray("float32",o),a=0;a<o;a+=1)i[a]=e[a]/t;return i}if(isNumerable(n,e)&&$bm_isInstanceOfArray(t)){for(o=t.length,i=createTypedArray("float32",o),a=0;a<o;a+=1)i[a]=e/t[a];return i}return 0}function mod(e,t){return typeof e=="string"&&(e=parseInt(e,10)),typeof t=="string"&&(t=parseInt(t,10)),e%t}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,t,n){if(t>n){var r=n;n=t,t=r}return Math.min(Math.max(e,t),n)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if(typeof e=="number"||e instanceof Number)return t=t||0,Math.abs(e-t);t||(t=helperLengthArray);var n,r=Math.min(e.length,t.length),i=0;for(n=0;n<r;n+=1)i+=Math.pow(t[n]-e[n],2);return Math.sqrt(i)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t=e[0],n=e[1],r=e[2],i=Math.max(t,n,r),a=Math.min(t,n,r),o,s,u=(i+a)/2;if(i===a)o=0,s=0;else{var l=i-a;switch(s=u>.5?l/(2-i-a):l/(i+a),i){case t:o=(n-r)/l+(n<r?6:0);break;case n:o=(r-t)/l+2;break;case r:o=(t-n)/l+4;break;default:break}o/=6}return[o,s,u,e[3]]}function hue2rgb(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function hslToRgb(e){var t=e[0],n=e[1],r=e[2],i,a,o;if(n===0)i=r,o=r,a=r;else{var s=r<.5?r*(1+n):r+n-r*n,u=2*r-s;i=hue2rgb(u,s,t+1/3),a=hue2rgb(u,s,t),o=hue2rgb(u,s,t-1/3)}return[i,a,o,e[3]]}function linear(e,t,n,r,i){if((r===void 0||i===void 0)&&(r=t,i=n,t=0,n=1),n<t){var a=n;n=t,t=a}if(e<=t)return r;if(e>=n)return i;var o=n===t?0:(e-t)/(n-t);if(!r.length)return r+(i-r)*o;var s,u=r.length,l=createTypedArray("float32",u);for(s=0;s<u;s+=1)l[s]=r[s]+(i[s]-r[s])*o;return l}function random(e,t){if(t===void 0&&(e===void 0?(e=0,t=1):(t=e,e=void 0)),t.length){var n,r=t.length;e||(e=createTypedArray("float32",r));var i=createTypedArray("float32",r),a=BMMath.random();for(n=0;n<r;n+=1)i[n]=e[n]+a*(t[n]-e[n]);return i}e===void 0&&(e=0);var o=BMMath.random();return e+o*(t-e)}function createPath(e,t,n,r){var i,a=e.length,o=shapePool.newElement();o.setPathData(!!r,a);var s=[0,0],u,l;for(i=0;i<a;i+=1)u=t&&t[i]?t[i]:s,l=n&&n[i]?n[i]:s,o.setTripleAt(e[i][0],e[i][1],l[0]+e[i][0],l[1]+e[i][1],u[0]+e[i][0],u[1]+e[i][1],i,!0);return o}function initiateExpression(elem,data,property){function noOp(e){return e}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||this.data.hd!==!0,wiggle=function e(t,n){var r,i,a=this.pv.length?this.pv.length:1,o=createTypedArray("float32",a);t=5;var s=Math.floor(time*t);for(r=0,i=0;r<s;){for(i=0;i<a;i+=1)o[i]+=-n+n*2*BMMath.random();r+=1}var u=time*t,l=u-Math.floor(u),c=createTypedArray("float32",a);if(a>1){for(i=0;i<a;i+=1)c[i]=this.pv[i]+o[i]+(-n+n*2*BMMath.random())*l;return c}return this.pv+o[0]+(-n+n*2*BMMath.random())*l}.bind(this);thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty));function loopInDuration(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!0)}this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface);function lookAt(e,t){var n=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],r=Math.atan2(n[0],Math.sqrt(n[1]*n[1]+n[2]*n[2]))/degToRads,i=-Math.atan2(n[1],n[2])/degToRads;return[i,r,0]}function easeOut(e,t,n,r,i){return applyEase(easeOutBez,e,t,n,r,i)}function easeIn(e,t,n,r,i){return applyEase(easeInBez,e,t,n,r,i)}function ease(e,t,n,r,i){return applyEase(easeInOutBez,e,t,n,r,i)}function applyEase(e,t,n,r,i,a){i===void 0?(i=n,a=r):t=(t-n)/(r-n),t>1?t=1:t<0&&(t=0);var o=e(t);if($bm_isInstanceOfArray(i)){var s,u=i.length,l=createTypedArray("float32",u);for(s=0;s<u;s+=1)l[s]=(a[s]-i[s])*o+i[s];return l}return(a-i)*o+i}function nearestKey(e){var t,n=data.k.length,r,i;if(!data.k.length||typeof data.k[0]=="number")r=0,i=0;else if(r=-1,e*=elem.comp.globalData.frameRate,e<data.k[0].t)r=1,i=data.k[0].t;else{for(t=0;t<n-1;t+=1)if(e===data.k[t].t){r=t+1,i=data.k[t].t;break}else if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(r=t+2,i=data.k[t+1].t):(r=t+1,i=data.k[t].t);break}r===-1&&(r=t+1,i=data.k[t].t)}var a={};return a.index=r,a.time=i/elem.comp.globalData.frameRate,a}function key(e){var t,n,r;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var i=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(r=i.length,n=0;n<r;n+=1)t[n]=i[n],t.value[n]=i[n];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return!e&&e!==0&&(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,t){return typeof value=="string"?t===void 0?value.substring(e):value.substring(e,t):""}function substr(e,t){return typeof value=="string"?t===void 0?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=e===0?0:Math.floor(time*e)/e,value=valueAtTime(time)}var time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!!(elem.hierarchy&&elem.hierarchy.length),parent,randSeed=Math.floor(Math.random()*1e6),globalData=elem.globalData;function executeExpression(e){return value=e,this.frameExpressionId===elem.globalData.frameId&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),elemType===4&&!content&&(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!!(elem.hierarchy&&elem.hierarchy.length),hasParent&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var e={};e.initExpressions=t,e.resetFrame=ExpressionManager.resetFrame;function t(n){var r=0,i=[];function a(){r+=1}function o(){r-=1,r===0&&u()}function s(l){i.indexOf(l)===-1&&i.push(l)}function u(){var l,c=i.length;for(l=0;l<c;l+=1)i[l].release();i.length=0}n.renderer.compInterface=CompExpressionInterface(n.renderer),n.renderer.globalData.projectInterface.registerComposition(n.renderer),n.renderer.globalData.pushExpression=a,n.renderer.globalData.popExpression=o,n.renderer.globalData.registerExpressionProperty=s}return e}(),MaskManagerInterface=function(){function e(n,r){this._mask=n,this._data=r}Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(e.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),this._mask.op.v*100}});var t=function(n){var r=createSizedArray(n.viewData.length),i,a=n.viewData.length;for(i=0;i<a;i+=1)r[i]=new e(n.viewData[i],n.masksProperties[i]);var o=function(s){for(i=0;i<a;){if(n.masksProperties[i].nm===s)return r[i];i+=1}return null};return o};return t}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function n(o,s,u){Object.defineProperty(o,"velocity",{get:function(){return s.getVelocityAtTime(s.comp.currentFrame)}}),o.numKeys=s.keyframes?s.keyframes.length:0,o.key=function(l){if(!o.numKeys)return 0;var c="";"s"in s.keyframes[l-1]?c=s.keyframes[l-1].s:"e"in s.keyframes[l-2]?c=s.keyframes[l-2].e:c=s.keyframes[l-2].s;var d=u==="unidimensional"?new Number(c):Object.assign({},c);return d.time=s.keyframes[l-1].t/s.elem.comp.globalData.frameRate,d.value=u==="unidimensional"?c[0]:c,d},o.valueAtTime=s.getValueAtTime,o.speedAtTime=s.getSpeedAtTime,o.velocityAtTime=s.getVelocityAtTime,o.propertyGroup=s.propertyGroup}function r(o){(!o||!("pv"in o))&&(o=e);var s=1/o.mult,u=o.pv*s,l=new Number(u);return l.value=u,n(l,o,"unidimensional"),function(){return o.k&&o.getValue(),u=o.v*s,l.value!==u&&(l=new Number(u),l.value=u,n(l,o,"unidimensional")),l}}function i(o){(!o||!("pv"in o))&&(o=t);var s=1/o.mult,u=o.data&&o.data.l||o.pv.length,l=createTypedArray("float32",u),c=createTypedArray("float32",u);return l.value=c,n(l,o,"multidimensional"),function(){o.k&&o.getValue();for(var d=0;d<u;d+=1)c[d]=o.v[d]*s,l[d]=c[d];return l}}function a(){return e}return function(o){return o?o.propType==="unidimensional"?r(o):i(o):a}}(),TransformExpressionInterface=function(){return function(e){function t(o){switch(o){case"scale":case"Scale":case"ADBE Scale":case 6:return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return t.rotation;case"ADBE Rotate X":return t.xRotation;case"ADBE Rotate Y":return t.yRotation;case"position":case"Position":case"ADBE Position":case 2:return t.position;case"ADBE Position_0":return t.xPosition;case"ADBE Position_1":return t.yPosition;case"ADBE Position_2":return t.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return t.anchorPoint;case"opacity":case"Opacity":case 11:return t.opacity;default:return null}}Object.defineProperty(t,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(t,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(t,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(t,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(t,"scale",{get:ExpressionPropertyInterface(e.s)});var n,r,i,a;return e.p?a=ExpressionPropertyInterface(e.p):(n=ExpressionPropertyInterface(e.px),r=ExpressionPropertyInterface(e.py),e.pz&&(i=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?a():[n(),r(),i?i():0]}}),Object.defineProperty(t,"xPosition",{get:ExpressionPropertyInterface(e.px)}),Object.defineProperty(t,"yPosition",{get:ExpressionPropertyInterface(e.py)}),Object.defineProperty(t,"zPosition",{get:ExpressionPropertyInterface(e.pz)}),Object.defineProperty(t,"anchorPoint",{get:ExpressionPropertyInterface(e.a)}),Object.defineProperty(t,"opacity",{get:ExpressionPropertyInterface(e.o)}),Object.defineProperty(t,"skew",{get:ExpressionPropertyInterface(e.sk)}),Object.defineProperty(t,"skewAxis",{get:ExpressionPropertyInterface(e.sa)}),Object.defineProperty(t,"orientation",{get:ExpressionPropertyInterface(e.or)}),t}}(),LayerExpressionInterface=function(){function e(l){var c=new Matrix;if(l!==void 0){var d=this._elem.finalTransform.mProp.getValueAtTime(l);d.clone(c)}else{var g=this._elem.finalTransform.mProp;g.applyToMatrix(c)}return c}function t(l,c){var d=this.getMatrix(c);return d.props[12]=0,d.props[13]=0,d.props[14]=0,this.applyPoint(d,l)}function n(l,c){var d=this.getMatrix(c);return this.applyPoint(d,l)}function r(l,c){var d=this.getMatrix(c);return d.props[12]=0,d.props[13]=0,d.props[14]=0,this.invertPoint(d,l)}function i(l,c){var d=this.getMatrix(c);return this.invertPoint(d,l)}function a(l,c){if(this._elem.hierarchy&&this._elem.hierarchy.length){var d,g=this._elem.hierarchy.length;for(d=0;d<g;d+=1)this._elem.hierarchy[d].finalTransform.mProp.applyToMatrix(l)}return l.applyToPointArray(c[0],c[1],c[2]||0)}function o(l,c){if(this._elem.hierarchy&&this._elem.hierarchy.length){var d,g=this._elem.hierarchy.length;for(d=0;d<g;d+=1)this._elem.hierarchy[d].finalTransform.mProp.applyToMatrix(l)}return l.inversePoint(c)}function s(l){var c=new Matrix;if(c.reset(),this._elem.finalTransform.mProp.applyToMatrix(c),this._elem.hierarchy&&this._elem.hierarchy.length){var d,g=this._elem.hierarchy.length;for(d=0;d<g;d+=1)this._elem.hierarchy[d].finalTransform.mProp.applyToMatrix(c);return c.inversePoint(l)}return c.inversePoint(l)}function u(){return[1,1,1,1]}return function(l){var c;function d(h){f.mask=new MaskManagerInterface(h,l)}function g(h){f.effect=h}function f(h){switch(h){case"ADBE Root Vectors Group":case"Contents":case 2:return f.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return c;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return f.effect;case"ADBE Text Properties":return f.textInterface;default:return null}}f.getMatrix=e,f.invertPoint=o,f.applyPoint=a,f.toWorld=n,f.toWorldVec=t,f.fromWorld=i,f.fromWorldVec=r,f.toComp=n,f.fromComp=s,f.sampleImage=u,f.sourceRectAtTime=l.sourceRectAtTime.bind(l),f._elem=l,c=TransformExpressionInterface(l.finalTransform.mProp);var p=getDescriptor(c,"anchorPoint");return Object.defineProperties(f,{hasParent:{get:function(){return l.hierarchy.length}},parent:{get:function(){return l.hierarchy[0].layerInterface}},rotation:getDescriptor(c,"rotation"),scale:getDescriptor(c,"scale"),position:getDescriptor(c,"position"),opacity:getDescriptor(c,"opacity"),anchorPoint:p,anchor_point:p,transform:{get:function(){return c}},active:{get:function(){return l.isInRange}}}),f.startTime=l.data.st,f.index=l.data.ind,f.source=l.data.refId,f.height=l.data.ty===0?l.data.h:100,f.width=l.data.ty===0?l.data.w:100,f.inPoint=l.data.ip/l.comp.globalData.frameRate,f.outPoint=l.data.op/l.comp.globalData.frameRate,f._name=l.data.nm,f.registerMaskInterface=d,f.registerEffectsInterface=g,f}}(),propertyGroupFactory=function(){return function(e,t){return function(n){return n=n===void 0?1:n,n<=0?e:t(n-1)}}}(),PropertyInterface=function(){return function(e,t){var n={_name:e};function r(i){return i=i===void 0?1:i,i<=0?n:t(i-1)}return r}}(),EffectsExpressionInterface=function(){var e={createEffectsInterface:t};function t(i,a){if(i.effectsManager){var o=[],s=i.data.ef,u,l=i.effectsManager.effectElements.length;for(u=0;u<l;u+=1)o.push(n(s[u],i.effectsManager.effectElements[u],a,i));var c=i.data.ef||[],d=function(g){for(u=0,l=c.length;u<l;){if(g===c[u].nm||g===c[u].mn||g===c[u].ix)return o[u];u+=1}return null};return Object.defineProperty(d,"numProperties",{get:function(){return c.length}}),d}return null}function n(i,a,o,s){function u(f){for(var p=i.ef,h=0,C=p.length;h<C;){if(f===p[h].nm||f===p[h].mn||f===p[h].ix)return p[h].ty===5?c[h]:c[h]();h+=1}throw new Error}var l=propertyGroupFactory(u,o),c=[],d,g=i.ef.length;for(d=0;d<g;d+=1)i.ef[d].ty===5?c.push(n(i.ef[d],a.effectElements[d],a.effectElements[d].propertyGroup,s)):c.push(r(a.effectElements[d],i.ef[d].ty,s,l));return i.mn==="ADBE Color Control"&&Object.defineProperty(u,"color",{get:function(){return c[0]()}}),Object.defineProperties(u,{numProperties:{get:function(){return i.np}},_name:{value:i.nm},propertyGroup:{value:l}}),u.enabled=i.en!==0,u.active=u.enabled,u}function r(i,a,o,s){var u=ExpressionPropertyInterface(i.p);function l(){return a===10?o.comp.compInterface(i.p.v):u()}return i.p.setGroupProperty&&i.p.setGroupProperty(PropertyInterface("",s)),l}return e}(),ShapePathInterface=function(){return function(e,t,n){var r=t.sh;function i(o){return o==="Shape"||o==="shape"||o==="Path"||o==="path"||o==="ADBE Vector Shape"||o===2?i.path:null}var a=propertyGroupFactory(i,n);return r.setGroupProperty(PropertyInterface("Path",a)),Object.defineProperties(i,{path:{get:function(){return r.k&&r.getValue(),r}},shape:{get:function(){return r.k&&r.getValue(),r}},_name:{value:e.nm},ix:{value:e.ix},propertyIndex:{value:e.ix},mn:{value:e.mn},propertyGroup:{value:n}}),i}}(),ShapeExpressionInterface=function(){function e(p,h,C){var y=[],v,b=p?p.length:0;for(v=0;v<b;v+=1)p[v].ty==="gr"?y.push(n(p[v],h[v],C)):p[v].ty==="fl"?y.push(r(p[v],h[v],C)):p[v].ty==="st"?y.push(o(p[v],h[v],C)):p[v].ty==="tm"?y.push(s(p[v],h[v],C)):p[v].ty==="tr"||(p[v].ty==="el"?y.push(l(p[v],h[v],C)):p[v].ty==="sr"?y.push(c(p[v],h[v],C)):p[v].ty==="sh"?y.push(ShapePathInterface(p[v],h[v],C)):p[v].ty==="rc"?y.push(d(p[v],h[v],C)):p[v].ty==="rd"?y.push(g(p[v],h[v],C)):p[v].ty==="rp"?y.push(f(p[v],h[v],C)):p[v].ty==="gf"?y.push(i(p[v],h[v],C)):y.push(a(p[v],h[v],C)));return y}function t(p,h,C){var y,v=function(x){for(var T=0,S=y.length;T<S;){if(y[T]._name===x||y[T].mn===x||y[T].propertyIndex===x||y[T].ix===x||y[T].ind===x)return y[T];T+=1}return typeof x=="number"?y[x-1]:null};v.propertyGroup=propertyGroupFactory(v,C),y=e(p.it,h.it,v.propertyGroup),v.numProperties=y.length;var b=u(p.it[p.it.length-1],h.it[h.it.length-1],v.propertyGroup);return v.transform=b,v.propertyIndex=p.cix,v._name=p.nm,v}function n(p,h,C){var y=function(x){switch(x){case"ADBE Vectors Group":case"Contents":case 2:return y.content;default:return y.transform}};y.propertyGroup=propertyGroupFactory(y,C);var v=t(p,h,y.propertyGroup),b=u(p.it[p.it.length-1],h.it[h.it.length-1],y.propertyGroup);return y.content=v,y.transform=b,Object.defineProperty(y,"_name",{get:function(){return p.nm}}),y.numProperties=p.np,y.propertyIndex=p.ix,y.nm=p.nm,y.mn=p.mn,y}function r(p,h,C){function y(v){return v==="Color"||v==="color"?y.color:v==="Opacity"||v==="opacity"?y.opacity:null}return Object.defineProperties(y,{color:{get:ExpressionPropertyInterface(h.c)},opacity:{get:ExpressionPropertyInterface(h.o)},_name:{value:p.nm},mn:{value:p.mn}}),h.c.setGroupProperty(PropertyInterface("Color",C)),h.o.setGroupProperty(PropertyInterface("Opacity",C)),y}function i(p,h,C){function y(v){return v==="Start Point"||v==="start point"?y.startPoint:v==="End Point"||v==="end point"?y.endPoint:v==="Opacity"||v==="opacity"?y.opacity:null}return Object.defineProperties(y,{startPoint:{get:ExpressionPropertyInterface(h.s)},endPoint:{get:ExpressionPropertyInterface(h.e)},opacity:{get:ExpressionPropertyInterface(h.o)},type:{get:function(){return"a"}},_name:{value:p.nm},mn:{value:p.mn}}),h.s.setGroupProperty(PropertyInterface("Start Point",C)),h.e.setGroupProperty(PropertyInterface("End Point",C)),h.o.setGroupProperty(PropertyInterface("Opacity",C)),y}function a(){function p(){return null}return p}function o(p,h,C){var y=propertyGroupFactory(E,C),v=propertyGroupFactory(S,y);function b(A){Object.defineProperty(S,p.d[A].nm,{get:ExpressionPropertyInterface(h.d.dataProps[A].p)})}var x,T=p.d?p.d.length:0,S={};for(x=0;x<T;x+=1)b(x),h.d.dataProps[x].p.setGroupProperty(v);function E(A){return A==="Color"||A==="color"?E.color:A==="Opacity"||A==="opacity"?E.opacity:A==="Stroke Width"||A==="stroke width"?E.strokeWidth:null}return Object.defineProperties(E,{color:{get:ExpressionPropertyInterface(h.c)},opacity:{get:ExpressionPropertyInterface(h.o)},strokeWidth:{get:ExpressionPropertyInterface(h.w)},dash:{get:function(){return S}},_name:{value:p.nm},mn:{value:p.mn}}),h.c.setGroupProperty(PropertyInterface("Color",y)),h.o.setGroupProperty(PropertyInterface("Opacity",y)),h.w.setGroupProperty(PropertyInterface("Stroke Width",y)),E}function s(p,h,C){function y(b){return b===p.e.ix||b==="End"||b==="end"?y.end:b===p.s.ix?y.start:b===p.o.ix?y.offset:null}var v=propertyGroupFactory(y,C);return y.propertyIndex=p.ix,h.s.setGroupProperty(PropertyInterface("Start",v)),h.e.setGroupProperty(PropertyInterface("End",v)),h.o.setGroupProperty(PropertyInterface("Offset",v)),y.propertyIndex=p.ix,y.propertyGroup=C,Object.defineProperties(y,{start:{get:ExpressionPropertyInterface(h.s)},end:{get:ExpressionPropertyInterface(h.e)},offset:{get:ExpressionPropertyInterface(h.o)},_name:{value:p.nm}}),y.mn=p.mn,y}function u(p,h,C){function y(b){return p.a.ix===b||b==="Anchor Point"?y.anchorPoint:p.o.ix===b||b==="Opacity"?y.opacity:p.p.ix===b||b==="Position"?y.position:p.r.ix===b||b==="Rotation"||b==="ADBE Vector Rotation"?y.rotation:p.s.ix===b||b==="Scale"?y.scale:p.sk&&p.sk.ix===b||b==="Skew"?y.skew:p.sa&&p.sa.ix===b||b==="Skew Axis"?y.skewAxis:null}var v=propertyGroupFactory(y,C);return h.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",v)),h.transform.mProps.p.setGroupProperty(PropertyInterface("Position",v)),h.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",v)),h.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",v)),h.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",v)),h.transform.mProps.sk&&(h.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",v)),h.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",v))),h.transform.op.setGroupProperty(PropertyInterface("Opacity",v)),Object.defineProperties(y,{opacity:{get:ExpressionPropertyInterface(h.transform.mProps.o)},position:{get:ExpressionPropertyInterface(h.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(h.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(h.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(h.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(h.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(h.transform.mProps.sa)},_name:{value:p.nm}}),y.ty="tr",y.mn=p.mn,y.propertyGroup=C,y}function l(p,h,C){function y(x){return p.p.ix===x?y.position:p.s.ix===x?y.size:null}var v=propertyGroupFactory(y,C);y.propertyIndex=p.ix;var b=h.sh.ty==="tm"?h.sh.prop:h.sh;return b.s.setGroupProperty(PropertyInterface("Size",v)),b.p.setGroupProperty(PropertyInterface("Position",v)),Object.defineProperties(y,{size:{get:ExpressionPropertyInterface(b.s)},position:{get:ExpressionPropertyInterface(b.p)},_name:{value:p.nm}}),y.mn=p.mn,y}function c(p,h,C){function y(x){return p.p.ix===x?y.position:p.r.ix===x?y.rotation:p.pt.ix===x?y.points:p.or.ix===x||x==="ADBE Vector Star Outer Radius"?y.outerRadius:p.os.ix===x?y.outerRoundness:p.ir&&(p.ir.ix===x||x==="ADBE Vector Star Inner Radius")?y.innerRadius:p.is&&p.is.ix===x?y.innerRoundness:null}var v=propertyGroupFactory(y,C),b=h.sh.ty==="tm"?h.sh.prop:h.sh;return y.propertyIndex=p.ix,b.or.setGroupProperty(PropertyInterface("Outer Radius",v)),b.os.setGroupProperty(PropertyInterface("Outer Roundness",v)),b.pt.setGroupProperty(PropertyInterface("Points",v)),b.p.setGroupProperty(PropertyInterface("Position",v)),b.r.setGroupProperty(PropertyInterface("Rotation",v)),p.ir&&(b.ir.setGroupProperty(PropertyInterface("Inner Radius",v)),b.is.setGroupProperty(PropertyInterface("Inner Roundness",v))),Object.defineProperties(y,{position:{get:ExpressionPropertyInterface(b.p)},rotation:{get:ExpressionPropertyInterface(b.r)},points:{get:ExpressionPropertyInterface(b.pt)},outerRadius:{get:ExpressionPropertyInterface(b.or)},outerRoundness:{get:ExpressionPropertyInterface(b.os)},innerRadius:{get:ExpressionPropertyInterface(b.ir)},innerRoundness:{get:ExpressionPropertyInterface(b.is)},_name:{value:p.nm}}),y.mn=p.mn,y}function d(p,h,C){function y(x){return p.p.ix===x?y.position:p.r.ix===x?y.roundness:p.s.ix===x||x==="Size"||x==="ADBE Vector Rect Size"?y.size:null}var v=propertyGroupFactory(y,C),b=h.sh.ty==="tm"?h.sh.prop:h.sh;return y.propertyIndex=p.ix,b.p.setGroupProperty(PropertyInterface("Position",v)),b.s.setGroupProperty(PropertyInterface("Size",v)),b.r.setGroupProperty(PropertyInterface("Rotation",v)),Object.defineProperties(y,{position:{get:ExpressionPropertyInterface(b.p)},roundness:{get:ExpressionPropertyInterface(b.r)},size:{get:ExpressionPropertyInterface(b.s)},_name:{value:p.nm}}),y.mn=p.mn,y}function g(p,h,C){function y(x){return p.r.ix===x||x==="Round Corners 1"?y.radius:null}var v=propertyGroupFactory(y,C),b=h;return y.propertyIndex=p.ix,b.rd.setGroupProperty(PropertyInterface("Radius",v)),Object.defineProperties(y,{radius:{get:ExpressionPropertyInterface(b.rd)},_name:{value:p.nm}}),y.mn=p.mn,y}function f(p,h,C){function y(x){return p.c.ix===x||x==="Copies"?y.copies:p.o.ix===x||x==="Offset"?y.offset:null}var v=propertyGroupFactory(y,C),b=h;return y.propertyIndex=p.ix,b.c.setGroupProperty(PropertyInterface("Copies",v)),b.o.setGroupProperty(PropertyInterface("Offset",v)),Object.defineProperties(y,{copies:{get:ExpressionPropertyInterface(b.c)},offset:{get:ExpressionPropertyInterface(b.o)},_name:{value:p.nm}}),y.mn=p.mn,y}return function(p,h,C){var y;function v(x){if(typeof x=="number")return x=x===void 0?1:x,x===0?C:y[x-1];for(var T=0,S=y.length;T<S;){if(y[T]._name===x)return y[T];T+=1}return null}function b(){return C}return v.propertyGroup=propertyGroupFactory(v,b),y=e(p,h,v.propertyGroup),v.numProperties=y.length,v._name="Contents",v}}(),TextExpressionInterface=function(){return function(e){var t;function n(r){switch(r){case"ADBE Text Document":return n.sourceText;default:return null}}return Object.defineProperty(n,"sourceText",{get:function(){e.textProperty.getValue();var r=e.textProperty.currentData.t;return(!t||r!==t.value)&&(t=new String(r),t.value=r||new String(r),Object.defineProperty(t,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),t}}),n}}();function _typeof(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(t){return typeof t}:_typeof=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(e)}var FootageInterface=function(){var e=function(n){var r="",i=n.getFootageData();function a(){return r="",i=n.getFootageData(),o}function o(s){if(i[s])return r=s,i=i[s],_typeof(i)==="object"?o:i;var u=s.indexOf(r);if(u!==-1){var l=parseInt(s.substr(u+r.length),10);return i=i[l],_typeof(i)==="object"?o:i}return""}return a},t=function(n){function r(i){return i==="Outline"?r.outlineInterface():null}return r._name="Outline",r.outlineInterface=e(n),r};return function(n){function r(i){return i==="Data"?r.dataInterface:null}return r._name="Data",r.dataInterface=t(n),r}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(e){return interfaces[e]||null}var expressionHelpers=function(){function e(o,s,u){s.x&&(u.k=!0,u.x=!0,u.initiateExpression=ExpressionManager.initiateExpression,u.effectsSequence.push(u.initiateExpression(o,s,u).bind(u)))}function t(o){return o*=this.elem.globalData.frameRate,o-=this.offsetTime,o!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<o?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(o,this._cachingAtTime),this._cachingAtTime.lastFrame=o),this._cachingAtTime.value}function n(o){var s=-.01,u=this.getValueAtTime(o),l=this.getValueAtTime(o+s),c=0;if(u.length){var d;for(d=0;d<u.length;d+=1)c+=Math.pow(l[d]-u[d],2);c=Math.sqrt(c)*100}else c=0;return c}function r(o){if(this.vel!==void 0)return this.vel;var s=-.001,u=this.getValueAtTime(o),l=this.getValueAtTime(o+s),c;if(u.length){c=createTypedArray("float32",u.length);var d;for(d=0;d<u.length;d+=1)c[d]=(l[d]-u[d])/s}else c=(l-u)/s;return c}function i(){return this.pv}function a(o){this.propertyGroup=o}return{searchExpressions:e,getSpeedAtTime:n,getVelocityAtTime:r,getValueAtTime:t,getStaticValueAtTime:i,setGroupProperty:a}}();function addPropertyDecorator(){function e(g,f,p){if(!this.k||!this.keyframes)return this.pv;g=g?g.toLowerCase():"";var h=this.comp.renderedFrame,C=this.keyframes,y=C[C.length-1].t;if(h<=y)return this.pv;var v,b;p?(f?v=Math.abs(y-this.elem.comp.globalData.frameRate*f):v=Math.max(0,y-this.elem.data.ip),b=y-v):((!f||f>C.length-1)&&(f=C.length-1),b=C[C.length-1-f].t,v=y-b);var x,T,S;if(g==="pingpong"){var E=Math.floor((h-b)/v);if(E%2!==0)return this.getValueAtTime((v-(h-b)%v+b)/this.comp.globalData.frameRate,0)}else if(g==="offset"){var A=this.getValueAtTime(b/this.comp.globalData.frameRate,0),M=this.getValueAtTime(y/this.comp.globalData.frameRate,0),P=this.getValueAtTime(((h-b)%v+b)/this.comp.globalData.frameRate,0),B=Math.floor((h-b)/v);if(this.pv.length){for(S=new Array(A.length),T=S.length,x=0;x<T;x+=1)S[x]=(M[x]-A[x])*B+P[x];return S}return(M-A)*B+P}else if(g==="continue"){var O=this.getValueAtTime(y/this.comp.globalData.frameRate,0),R=this.getValueAtTime((y-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(S=new Array(O.length),T=S.length,x=0;x<T;x+=1)S[x]=O[x]+(O[x]-R[x])*((h-y)/this.comp.globalData.frameRate)/5e-4;return S}return O+(O-R)*((h-y)/.001)}return this.getValueAtTime(((h-b)%v+b)/this.comp.globalData.frameRate,0)}function t(g,f,p){if(!this.k)return this.pv;g=g?g.toLowerCase():"";var h=this.comp.renderedFrame,C=this.keyframes,y=C[0].t;if(h>=y)return this.pv;var v,b;p?(f?v=Math.abs(this.elem.comp.globalData.frameRate*f):v=Math.max(0,this.elem.data.op-y),b=y+v):((!f||f>C.length-1)&&(f=C.length-1),b=C[f].t,v=b-y);var x,T,S;if(g==="pingpong"){var E=Math.floor((y-h)/v);if(E%2===0)return this.getValueAtTime(((y-h)%v+y)/this.comp.globalData.frameRate,0)}else if(g==="offset"){var A=this.getValueAtTime(y/this.comp.globalData.frameRate,0),M=this.getValueAtTime(b/this.comp.globalData.frameRate,0),P=this.getValueAtTime((v-(y-h)%v+y)/this.comp.globalData.frameRate,0),B=Math.floor((y-h)/v)+1;if(this.pv.length){for(S=new Array(A.length),T=S.length,x=0;x<T;x+=1)S[x]=P[x]-(M[x]-A[x])*B;return S}return P-(M-A)*B}else if(g==="continue"){var O=this.getValueAtTime(y/this.comp.globalData.frameRate,0),R=this.getValueAtTime((y+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(S=new Array(O.length),T=S.length,x=0;x<T;x+=1)S[x]=O[x]+(O[x]-R[x])*(y-h)/.001;return S}return O+(O-R)*(y-h)/.001}return this.getValueAtTime((v-((y-h)%v+y))/this.comp.globalData.frameRate,0)}function n(g,f){if(!this.k)return this.pv;if(g=(g||.4)*.5,f=Math.floor(f||5),f<=1)return this.pv;var p=this.comp.renderedFrame/this.comp.globalData.frameRate,h=p-g,C=p+g,y=f>1?(C-h)/(f-1):1,v=0,b=0,x;this.pv.length?x=createTypedArray("float32",this.pv.length):x=0;for(var T;v<f;){if(T=this.getValueAtTime(h+v*y),this.pv.length)for(b=0;b<this.pv.length;b+=1)x[b]+=T[b];else x+=T;v+=1}if(this.pv.length)for(b=0;b<this.pv.length;b+=1)x[b]/=f;else x/=f;return x}function r(g){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var f=this._transformCachingAtTime.v;if(f.cloneFromProps(this.pre.props),this.appliedTransformations<1){var p=this.a.getValueAtTime(g);f.translate(-p[0]*this.a.mult,-p[1]*this.a.mult,p[2]*this.a.mult)}if(this.appliedTransformations<2){var h=this.s.getValueAtTime(g);f.scale(h[0]*this.s.mult,h[1]*this.s.mult,h[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var C=this.sk.getValueAtTime(g),y=this.sa.getValueAtTime(g);f.skewFromAxis(-C*this.sk.mult,y*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var v=this.r.getValueAtTime(g);f.rotate(-v*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var b=this.rz.getValueAtTime(g),x=this.ry.getValueAtTime(g),T=this.rx.getValueAtTime(g),S=this.or.getValueAtTime(g);f.rotateZ(-b*this.rz.mult).rotateY(x*this.ry.mult).rotateX(T*this.rx.mult).rotateZ(-S[2]*this.or.mult).rotateY(S[1]*this.or.mult).rotateX(S[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var E=this.px.getValueAtTime(g),A=this.py.getValueAtTime(g);if(this.data.p.z){var M=this.pz.getValueAtTime(g);f.translate(E*this.px.mult,A*this.py.mult,-M*this.pz.mult)}else f.translate(E*this.px.mult,A*this.py.mult,0)}else{var P=this.p.getValueAtTime(g);f.translate(P[0]*this.p.mult,P[1]*this.p.mult,-P[2]*this.p.mult)}return f}function i(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(g,f,p){var h=a(g,f,p);return h.dynamicProperties.length?h.getValueAtTime=r.bind(h):h.getValueAtTime=i.bind(h),h.setGroupProperty=expressionHelpers.setGroupProperty,h};var o=PropertyFactory.getProp;PropertyFactory.getProp=function(g,f,p,h,C){var y=o(g,f,p,h,C);y.kf?y.getValueAtTime=expressionHelpers.getValueAtTime.bind(y):y.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(y),y.setGroupProperty=expressionHelpers.setGroupProperty,y.loopOut=e,y.loopIn=t,y.smooth=n,y.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(y),y.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(y),y.numKeys=f.a===1?f.k.length:0,y.propertyIndex=f.ix;var v=0;return p!==0&&(v=createTypedArray("float32",f.a===1?f.k[0].s.length:f.k.length)),y._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:v},expressionHelpers.searchExpressions(g,f,y),y.k&&C.addDynamicProperty(y),y};function s(g){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),g*=this.elem.globalData.frameRate,g-=this.offsetTime,g!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<g?this._caching.lastIndex:0,this._cachingAtTime.lastTime=g,this.interpolateShape(g,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var u=ShapePropertyFactory.getConstructorFunction(),l=ShapePropertyFactory.getKeyframedConstructorFunction();function c(){}c.prototype={vertices:function(g,f){this.k&&this.getValue();var p=this.v;f!==void 0&&(p=this.getValueAtTime(f,0));var h,C=p._length,y=p[g],v=p.v,b=createSizedArray(C);for(h=0;h<C;h+=1)g==="i"||g==="o"?b[h]=[y[h][0]-v[h][0],y[h][1]-v[h][1]]:b[h]=[y[h][0],y[h][1]];return b},points:function(g){return this.vertices("v",g)},inTangents:function(g){return this.vertices("i",g)},outTangents:function(g){return this.vertices("o",g)},isClosed:function(){return this.v.c},pointOnPath:function(g,f){var p=this.v;f!==void 0&&(p=this.getValueAtTime(f,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(p));for(var h=this._segmentsLength,C=h.lengths,y=h.totalLength*g,v=0,b=C.length,x=0,T;v<b;){if(x+C[v].addedLength>y){var S=v,E=p.c&&v===b-1?0:v+1,A=(y-x)/C[v].addedLength;T=bez.getPointInSegment(p.v[S],p.v[E],p.o[S],p.i[E],A,C[v]);break}else x+=C[v].addedLength;v+=1}return T||(T=p.c?[p.v[0][0],p.v[0][1]]:[p.v[p._length-1][0],p.v[p._length-1][1]]),T},vectorOnPath:function(g,f,p){g==1?g=this.v.c:g==0&&(g=.999);var h=this.pointOnPath(g,f),C=this.pointOnPath(g+.001,f),y=C[0]-h[0],v=C[1]-h[1],b=Math.sqrt(Math.pow(y,2)+Math.pow(v,2));if(b===0)return[0,0];var x=p==="tangent"?[y/b,v/b]:[-v/b,y/b];return x},tangentOnPath:function(g,f){return this.vectorOnPath(g,f,"tangent")},normalOnPath:function(g,f){return this.vectorOnPath(g,f,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([c],u),extendPrototype([c],l),l.prototype.getValueAtTime=s,l.prototype.initiateExpression=ExpressionManager.initiateExpression;var d=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(g,f,p,h,C){var y=d(g,f,p,h,C);return y.propertyIndex=f.ix,y.lock=!1,p===3?expressionHelpers.searchExpressions(g,f.pt,y):p===4&&expressionHelpers.searchExpressions(g,f.ks,y),y.k&&g.addDynamicProperty(y),y}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function e(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}TextProperty.prototype.getExpressionValue=function(t,n){var r=this.calculateExpression(n);if(t.t!==r){var i={};return this.copyData(i,t),i.t=r.toString(),i.__complete=!1,i}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),n=this.searchExpressions();return this.kf=t||n,this.kf},TextProperty.prototype.searchExpressions=e}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function e(t,n){var r=createNS("feMerge");r.setAttribute("result",t);var i,a;for(a=0;a<n.length;a+=1)i=createNS("feMergeNode"),i.setAttribute("in",n[a]),r.appendChild(i),r.appendChild(i);return r}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(e,t,n,r,i){this.filterManager=t;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=a,a.setAttribute("result",r+"_tint_1"),e.appendChild(a),a=createNS("feColorMatrix"),a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),a.setAttribute("result",r+"_tint_2"),e.appendChild(a),this.matrixFilter=a;var o=this.createMergeNode(r,[i,r+"_tint_1",r+"_tint_2"]);e.appendChild(o)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+r+" 0"),this.matrixFilter.setAttribute("values",n[0]-t[0]+" 0 0 0 "+t[0]+" "+(n[1]-t[1])+" 0 0 0 "+t[1]+" "+(n[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 1 0")}};function SVGFillFilter(e,t,n,r){this.filterManager=t;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),i.setAttribute("result",r),e.appendChild(i),this.matrixFilter=i}SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[2].p.v,n=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+n+" 0")}};function SVGStrokeEffect(e,t,n){this.initialized=!1,this.filterManager=t,this.elem=n,this.paths=[]}SVGStrokeEffect.prototype.initialize=function(){var e=this.elem.layerElement.children||this.elem.layerElement.childNodes,t,n,r,i;for(this.filterManager.effectElements[1].p.v===1?(i=this.elem.maskManager.masksProperties.length,r=0):(r=this.filterManager.effectElements[0].p.v-1,i=r+1),n=createNS("g"),n.setAttribute("fill","none"),n.setAttribute("stroke-linecap","round"),n.setAttribute("stroke-dashoffset",1),r;r<i;r+=1)t=createNS("path"),n.appendChild(t),this.paths.push({p:t,m:r});if(this.filterManager.effectElements[10].p.v===3){var a=createNS("mask"),o=createElementID();a.setAttribute("id",o),a.setAttribute("mask-type","alpha"),a.appendChild(n),this.elem.globalData.defs.appendChild(a);var s=createNS("g");for(s.setAttribute("mask","url("+getLocationHref()+"#"+o+")");e[0];)s.appendChild(e[0]);this.elem.layerElement.appendChild(s),this.masker=a,n.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(e=this.elem.layerElement.children||this.elem.layerElement.childNodes;e.length;)this.elem.layerElement.removeChild(e[0]);this.elem.layerElement.appendChild(n),this.elem.layerElement.removeAttribute("mask"),n.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=n},SVGStrokeEffect.prototype.renderFrame=function(e){this.initialized||this.initialize();var t,n=this.paths.length,r,i;for(t=0;t<n;t+=1)if(this.paths[t].m!==-1&&(r=this.elem.maskManager.viewData[this.paths[t].m],i=this.paths[t].p,(e||this.filterManager._mdf||r.prop._mdf)&&i.setAttribute("d",r.lastPath),e||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||r.prop._mdf)){var a;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var o=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,s=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,u=i.getTotalLength();a="0 0 0 "+u*o+" ";var l=u*(s-o),c=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,d=Math.floor(l/c),g;for(g=0;g<d;g+=1)a+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+u*10+" 0 0"}else a="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;i.setAttribute("stroke-dasharray",a)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",this.filterManager.effectElements[4].p.v*2),(e||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(e||this.filterManager.effectElements[3].p._mdf)){var f=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(f[0]*255)+","+bmFloor(f[1]*255)+","+bmFloor(f[2]*255)+")")}};function SVGTritoneFilter(e,t,n,r){this.filterManager=t;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","linearRGB"),i.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),e.appendChild(i);var a=createNS("feComponentTransfer");a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",r),this.matrixFilter=a;var o=createNS("feFuncR");o.setAttribute("type","table"),a.appendChild(o),this.feFuncR=o;var s=createNS("feFuncG");s.setAttribute("type","table"),a.appendChild(s),this.feFuncG=s;var u=createNS("feFuncB");u.setAttribute("type","table"),a.appendChild(u),this.feFuncB=u,e.appendChild(a)}SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v,i=r[0]+" "+n[0]+" "+t[0],a=r[1]+" "+n[1]+" "+t[1],o=r[2]+" "+n[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",i),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",o)}};function SVGProLevelsFilter(e,t,n,r){this.filterManager=t;var i=this.filterManager.effectElements,a=createNS("feComponentTransfer");(i[10].p.k||i[10].p.v!==0||i[11].p.k||i[11].p.v!==1||i[12].p.k||i[12].p.v!==1||i[13].p.k||i[13].p.v!==0||i[14].p.k||i[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",a)),(i[17].p.k||i[17].p.v!==0||i[18].p.k||i[18].p.v!==1||i[19].p.k||i[19].p.v!==1||i[20].p.k||i[20].p.v!==0||i[21].p.k||i[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",a)),(i[24].p.k||i[24].p.v!==0||i[25].p.k||i[25].p.v!==1||i[26].p.k||i[26].p.v!==1||i[27].p.k||i[27].p.v!==0||i[28].p.k||i[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",a)),(i[31].p.k||i[31].p.v!==0||i[32].p.k||i[32].p.v!==1||i[33].p.k||i[33].p.v!==1||i[34].p.k||i[34].p.v!==0||i[35].p.k||i[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",a)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(a.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(a)),(i[3].p.k||i[3].p.v!==0||i[4].p.k||i[4].p.v!==1||i[5].p.k||i[5].p.v!==1||i[6].p.k||i[6].p.v!==0||i[7].p.k||i[7].p.v!==1)&&(a=createNS("feComponentTransfer"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",r),e.appendChild(a),this.feFuncRComposed=this.createFeFunc("feFuncR",a),this.feFuncGComposed=this.createFeFunc("feFuncG",a),this.feFuncBComposed=this.createFeFunc("feFuncB",a))}SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var n=createNS(e);return n.setAttribute("type","table"),t.appendChild(n),n},SVGProLevelsFilter.prototype.getTableValue=function(e,t,n,r,i){for(var a=0,o=256,s,u=Math.min(e,t),l=Math.max(e,t),c=Array.call(null,{length:o}),d,g=0,f=i-r,p=t-e;a<=256;)s=a/256,s<=u?d=p<0?i:r:s>=l?d=p<0?r:i:d=r+f*Math.pow((s-e)/p,1/n),c[g]=d,g+=1,a+=256/(o-1);return c.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,n=this.filterManager.effectElements;this.feFuncRComposed&&(e||n[3].p._mdf||n[4].p._mdf||n[5].p._mdf||n[6].p._mdf||n[7].p._mdf)&&(t=this.getTableValue(n[3].p.v,n[4].p.v,n[5].p.v,n[6].p.v,n[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||n[10].p._mdf||n[11].p._mdf||n[12].p._mdf||n[13].p._mdf||n[14].p._mdf)&&(t=this.getTableValue(n[10].p.v,n[11].p.v,n[12].p.v,n[13].p.v,n[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||n[17].p._mdf||n[18].p._mdf||n[19].p._mdf||n[20].p._mdf||n[21].p._mdf)&&(t=this.getTableValue(n[17].p.v,n[18].p.v,n[19].p.v,n[20].p.v,n[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||n[24].p._mdf||n[25].p._mdf||n[26].p._mdf||n[27].p._mdf||n[28].p._mdf)&&(t=this.getTableValue(n[24].p.v,n[25].p.v,n[26].p.v,n[27].p.v,n[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||n[31].p._mdf||n[32].p._mdf||n[33].p._mdf||n[34].p._mdf||n[35].p._mdf)&&(t=this.getTableValue(n[31].p.v,n[32].p.v,n[33].p.v,n[34].p.v,n[35].p.v),this.feFuncA.setAttribute("tableValues",t))}};function SVGDropShadowEffect(e,t,n,r,i){var a=t.container.globalData.renderConfig.filterSize,o=t.data.fs||a;e.setAttribute("x",o.x||a.x),e.setAttribute("y",o.y||a.y),e.setAttribute("width",o.width||a.width),e.setAttribute("height",o.height||a.height),this.filterManager=t;var s=createNS("feGaussianBlur");s.setAttribute("in","SourceAlpha"),s.setAttribute("result",r+"_drop_shadow_1"),s.setAttribute("stdDeviation","0"),this.feGaussianBlur=s,e.appendChild(s);var u=createNS("feOffset");u.setAttribute("dx","25"),u.setAttribute("dy","0"),u.setAttribute("in",r+"_drop_shadow_1"),u.setAttribute("result",r+"_drop_shadow_2"),this.feOffset=u,e.appendChild(u);var l=createNS("feFlood");l.setAttribute("flood-color","#00ff00"),l.setAttribute("flood-opacity","1"),l.setAttribute("result",r+"_drop_shadow_3"),this.feFlood=l,e.appendChild(l);var c=createNS("feComposite");c.setAttribute("in",r+"_drop_shadow_3"),c.setAttribute("in2",r+"_drop_shadow_2"),c.setAttribute("operator","in"),c.setAttribute("result",r+"_drop_shadow_4"),e.appendChild(c);var d=this.createMergeNode(r,[r+"_drop_shadow_4",i]);e.appendChild(d)}extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(t[0]*255),Math.round(t[1]*255),Math.round(t[2]*255)))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var n=this.filterManager.effectElements[3].p.v,r=(this.filterManager.effectElements[2].p.v-90)*degToRads,i=n*Math.cos(r),a=n*Math.sin(r);this.feOffset.setAttribute("dx",i),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,n){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=n,n.matteElement=createNS("g"),n.matteElement.appendChild(n.layerElement),n.matteElement.appendChild(n.transformedElement),n.baseElement=n.matteElement}SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,n=_svgMatteSymbols.length;t<n;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var n=e.layerElement.parentNode;if(n){for(var r=n.children,i=0,a=r.length;i<a&&r[i]!==e.layerElement;)i+=1;var o;i<=a-2&&(o=r[i+1]);var s=createNS("use");s.setAttribute("href","#"+t),o?n.insertBefore(s,o):n.appendChild(s)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var n=createElementID(),r=createNS("mask");r.setAttribute("id",t.layerId),r.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var i=e.globalData.defs;i.appendChild(r);var a=createNS("symbol");a.setAttribute("id",n),this.replaceInParent(t,n),a.appendChild(t.layerElement),i.appendChild(a);var o=createNS("use");o.setAttribute("href","#"+n),r.appendChild(o),t.data.hd=!1,t.show()}e.setMatte(t.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,t=this.elem.comp.elements,n=0,r=t.length;n<r;)t[n]&&t[n].data.ind===e&&this.setElementAsMask(this.elem,t[n]),n+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()};function SVGGaussianBlurEffect(e,t,n,r){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var i=createNS("feGaussianBlur");i.setAttribute("result",r),e.appendChild(i),this.feGaussianBlur=i}SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3,n=this.filterManager.effectElements[0].p.v*t,r=this.filterManager.effectElements[1].p.v,i=r==3?0:n,a=r==2?0:n;this.feGaussianBlur.setAttribute("stdDeviation",i+" "+a);var o=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",o)}};function TransformEffect(){}TransformEffect.prototype.init=function(e){this.effectsManager=e,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(e){if(this._opMdf=!1,this._mdf=!1,e||this.effectsManager._mdf){var t=this.effectsManager.effectElements,n=t[0].p.v,r=t[1].p.v,i=t[2].p.v===1,a=t[3].p.v,o=i?a:t[4].p.v,s=t[5].p.v,u=t[6].p.v,l=t[7].p.v;this.matrix.reset(),this.matrix.translate(-n[0],-n[1],n[2]),this.matrix.scale(o*.01,a*.01,1),this.matrix.rotate(-l*degToRads),this.matrix.skewFromAxis(-s*degToRads,(u+90)*degToRads),this.matrix.translate(r[0],r[1],0),this._mdf=!0,this.opacity!==t[8].p.v&&(this.opacity=t[8].p.v,this._opMdf=!0)}};function SVGTransformEffect(e,t){this.init(t)}extendPrototype([TransformEffect],SVGTransformEffect);function CVTransformEffect(e){this.init(e)}return extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie})}),CD={};j$(CD,{default:()=>Ml});var H$=vD(xD());z$(CD,vD(xD()));var{default:bD,...V$}=H$,Ml=bD!==void 0?bD:V$;function v9({position:e}){let t=$(null),n=$(null),[r,i]=z(null);G(()=>{fetch(j.ARROW_ANIMATION_URL).then(o=>o.json()).then(o=>i(o)).catch(o=>{})},[]),G(()=>(t.current&&r&&(n.current=Ml.loadAnimation({container:t.current,renderer:"svg",loop:!0,autoplay:!0,animationData:r})),()=>{n.current&&n.current.destroy()}),[r]);let a={width:"146px",height:"auto",position:"absolute",...e==="left"?{left:"35px"}:{right:"20px"},bottom:"-40px",transform:e==="left"?"rotate(5deg) scaleX(-1)":"rotate(5deg)"};return m("div",{ref:t,style:{...a}})}function TD(){return m("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[m("g",{"clip-path":"url(#clip0_2589_9951)",children:m("path",{d:"M7 14C5.14348 14 3.36301 13.2625 2.05025 11.9497C0.737498 10.637 0 8.85652 0 7C0 5.14348 0.737498 3.36301 2.05025 2.05025C3.36301 0.737498 5.14348 0 7 0C8.85652 0 10.637 0.737498 11.9497 2.05025C13.2625 3.36301 14 5.14348 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14ZM4.183 5.064L6.118 7L4.183 8.936C4.12409 8.99361 4.07719 9.06234 4.04502 9.1382C4.01285 9.21406 3.99605 9.29554 3.99559 9.37794C3.99513 9.46034 4.01101 9.54201 4.04234 9.61823C4.07366 9.69444 4.11978 9.76369 4.17805 9.82195C4.23631 9.88022 4.30556 9.92634 4.38177 9.95766C4.45799 9.98898 4.53966 10.0049 4.62206 10.0044C4.70446 10.004 4.78594 9.98715 4.8618 9.95498C4.93766 9.92281 5.00639 9.87591 5.064 9.817L7 7.882L8.936 9.817C9.05327 9.93168 9.21104 9.99548 9.37506 9.99457C9.53908 9.99365 9.69612 9.92809 9.8121 9.8121C9.92809 9.69612 9.99365 9.53908 9.99457 9.37506C9.99548 9.21104 9.93168 9.05327 9.817 8.936L7.882 7L9.817 5.064C9.87591 5.00639 9.92281 4.93766 9.95498 4.8618C9.98715 4.78594 10.004 4.70446 10.0044 4.62206C10.0049 4.53966 9.98898 4.45799 9.95766 4.38177C9.92634 4.30556 9.88022 4.23631 9.82195 4.17805C9.76369 4.11978 9.69444 4.07366 9.61823 4.04234C9.54201 4.01101 9.46034 3.99513 9.37794 3.99559C9.29554 3.99605 9.21406 4.01285 9.1382 4.04502C9.06234 4.07719 8.99361 4.12409 8.936 4.183L7 6.118L5.064 4.183C4.94673 4.06832 4.78896 4.00452 4.62494 4.00543C4.46092 4.00635 4.30388 4.07191 4.1879 4.1879C4.07191 4.30388 4.00635 4.46092 4.00543 4.62494C4.00452 4.78896 4.06832 4.94673 4.183 5.064Z",fill:"#B1B1B1","fill-opacity":"0.32"})}),m("defs",{children:m("clipPath",{id:"clip0_2589_9951",children:m("rect",{width:"14",height:"14",fill:"white"})})})]})}function Op(e){return j.ASSETS_BASE_URL+e}var G$=`${U}-new-user-guide`;function x9(){return m("img",{class:`${G$}-img`,src:Op("images/new_float_ball_intro.png")})}var _p=`${U}-new-user-guide`;function C9({ctx:e}){let{t}=ee(),n=de(()=>{let r=e.config.translationServices||{},i=Object.entries(r),o=(i.find(([,s])=>s?.type==="openai"&&s?.group==="pro")??i.find(([,s])=>s?.group==="pro"))?.[1]??{type:"openai",name:"GPT-5 mini"};return{type:o.type,name:o.name}},[e.config.translationServices]);return m("div",{class:`${_p}-select-service-guide`,children:m("div",{class:`${_p}-select-service-guide-card`,children:[m("div",{class:`${_p}-max-model`,children:t("translationServicesGroup.pro")}),m("div",{class:`${_p}-model-example`,children:[m("img",{src:vr(n.type),class:"service-icon"}),n.name,m("img",{src:Cr})]})]})})}function SD(e){return m("span",{class:"logo",dangerouslySetInnerHTML:{__html:al}})}function ED(){return m("span",{class:"logo",dangerouslySetInnerHTML:{__html:SA}})}function Up(){return m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",children:m("path",{d:"M1 7.11349L2.01 6.38066L4.32845 7.92568C4.32845 7.92568 6.97438 5.28084 10.2134 3.5L10.6 3.91877C10.6 3.91877 6.91519 6.77297 5.01225 10.5175L1 7.11349Z",fill:"white"})})}function wD(){return m("svg",{class:"go-back",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4330",width:"16",height:"16",children:m("path",{d:"M395.21518 513.604544l323.135538-312.373427c19.052938-18.416442 19.052938-48.273447 0-66.660212-19.053961-18.416442-49.910737-18.416442-68.964698 0L291.75176 480.290811c-19.052938 18.416442-19.052938 48.273447 0 66.660212l357.633237 345.688183c9.525957 9.207709 22.01234 13.796214 34.497699 13.796214 12.485359 0 24.971741-4.588505 34.466999-13.82896 19.052938-18.416442 19.052938-48.242747 0-66.660212L395.21518 513.604544z",fill:"#ffffff","p-id":"4331"})})}function AD(){return m("svg",{class:"right",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11630",width:"16",height:"16",children:m("path",{d:"M765.7 486.8L314.9 134.7c-5.3-4.1-12.9-0.4-12.9 6.3v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1c16.4-12.8 16.4-37.6 0-50.4z","p-id":"11631",fill:"#ffffff"})})}function Mo(e){switch(e){case"aiSubtitle":return T9;case"aiSubtitleGray":return W$;case"aiSubtitleGradient":return q$;case"enableDualSubtitle":return S9;case"tempEnableSubtitle":return K$;case"disableSubtitleQuickButton":return Q$;case"download":return Y$;case"setting":return Z$;case"aiSubtitleWhite":return E9;case"aiLogo":return J$;case"upgradePro":return X$;case"moreIcon":return $$;default:return null}}var T9="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAhCAMAAACP+FljAAAAM1BMVEUAAAD///////////////////////////////////////////////////////////////+3leKCAAAAEHRSTlMAIL+QQO+f3xDPMIB/YHBQT60aqwAAAOlJREFUOMutk4uOhCAMRVukgK/x/P/Xrq6uHTDsZpM5MYbmlkubgnycafL1kJ76AssdZJMHgJUfM9BWj4wj8VqPkDepGRj2Tw4CB2fg7Nsj4cr9JlR6ASnGWcSWYYxSsREO7/WMFCapSbxEXve5ltseDD06Mb3y6wo1XTUnSCotZTGY5W5g0aec9N0sr+JohlB1pAGy9xBu2VkzwRNuQyeGt4TpOEIbmayVYVukzUXe0dlHt7Syb0uyM7hZgxpx/2NROgznsJL0WM9xb9KjYEWgSJdAjIw91S+t07n2fYoB8hszzH8+3n/yBfqyCgkfyi+kAAAAAElFTkSuQmCC",W$="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAhCAMAAACP+FljAAAAM1BMVEUAAACZmZmXl5eZmZmZmZmfn5+ampqampqZmZmYmJiXl5ebm5uampqZmZmZmZmfn5+ZmZl4mi+/AAAAEHRSTlMA7yDfkBC/n0AwgH/PYFAgrvShjAAAALxJREFUOMutk1kOwyAMRDGEfenc/7SNShIChi5S35etGeFFRvwd71u8Wa5HIF6JIm4AQPp8DHiMusOOO+IEqDIYNuxsr9AANelI2DHNW5OGxovaRFFAcqKjVEOumQS86LF9XVLjDFQNJA9/36G0uLBSjOhIuBMlkwdUvr+uMEG1GQymmO8Nfl7i3mdmFgq630JYyutFccu5ajeV2w1YsSJXQ+EKPxhO21haqe1oGezsl2gCIN4RgPDx8/7IE9BlEx/CVE0ZAAAAAElFTkSuQmCC",q$="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAhCAMAAACP+FljAAABPlBMVEUAAAC209SZyeOVxOjN3cmvz9mky+DM3MiNv+6fx+Xa37qgyOLP3sXC186dyOXH2cvl57ifx+G30tPq67a309S40tTR38WFuvTN3cjq6rXP38+Mv++Vw+mexuSqzN3G2cvR38Pa4r/j6LmRweygyOG91dHO3cbe5b2RweuhyuHM3cXe5LuaxOfX4sKJvu+w0Nm/1c/Q3cTU4cLn6Lja4b2ky+Grz9uDu/OHve/R38fR38Wfx9/N3MWWwunZ4r/f47vj57eaxeqqytqlyuC10ta/18/G2cynzN671NLM3MfP3sarzdyvz9nD2M3I2srK28miyeKtztux0Nm30tS91dG51NSfyOOz0dfC2M7V4MLZ4sDc5L2SweuXxOmbxuaqzd3S38Tg5rvl6LiHvPOLv/CPwe6Uw+qZxeedxuTp6bU6tQZ+AAAAQ3RSTlMAIBBAIN+/v48gEO/v35+QkICAf19QQDAwMBDv7+/v7+/v79/f39/fz8/Pz7+/oJ+fn5+ekI+PgIB/f2BgUFBAQDAwPBX36AAAAWpJREFUOMut09dyglAQBmBrLLHFbnrvvfcmYAtgRIkKGsEW3/8FsgcYpAzMZCZe7Znv3/XAsI5//+Vy0zp2YfbEZJJQDztr5sBEFNeDSp1tlT1GfxVFQXiR6/Q+TYRThkBMEDjuUip9FIkXmdq1PnDAce32kVRG8SJWqxRmdB4EbrV68iVS3kp+z60f8Iy4XH6UTwG2+2a4wnkPuFSKKsfFDYOnVxHT1IrydMd+HXvOgGmaIkiyeeo0vaH5+xAwhRjH68VG3KnnuxCaTRBkU+IGg3mT2unbWmYYDPuqfXx639WAj1a4Dt0KV741L8mHGDVDN6jM+fw0kA3LzQ2pGbgAXN0MaG6R3FJnQzfi2TmX7jmccWDUDN0GViMn8l8DsxFpujmyjJqr7JLb6ou9QvzTjVi544EFHo+fLAMu4E5n5LLeikNgftdmbfwjnh/6bQJufjgcuG0CroXBoG+7mrf9/o398mYyf133XzEBXbThFi25AAAAAElFTkSuQmCC",S9="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAhBAMAAABKCLRiAAAAMFBMVEUAAAD///////////////////////////////////////////////////////////87TQQwAAAAD3RSTlMAYJ8g779A3xBQMICvkHCegVoAAAAAsElEQVQoz2OgDZj/HwK+wQTkg5RAQPUjXEAATDGSJGA0wWgCioC+g74DioD8BfkLDMzCKGYkCkKAAUzgPxQowAS+QhTIgwUUpRoTPkG084MF/v+pVwAK8HyECnTK/fcGqbAvhQowMH81YAAKiOQ3QAUYDBhAAjFLHsAEGEACzN9LAlAEGB3YfqAIcC3gyEARAAOEwHdQKEop6cMF6kEe+fL//waU8N//Gy1CmCOpFLMA29pG32KDHGQAAAAASUVORK5CYII=",K$="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAhBAMAAABKCLRiAAAAMFBMVEUAAAD///////////////////////////////////////////////////////////87TQQwAAAAD3RSTlMA33AwIJ+QYO+/QM+vUF8sNn2gAAAAvUlEQVQoz2OgHjBKDVNG5mv/BwJxBH/h/0lXrDT/i8D4TP+PgCjX/wpQAf12CF3xCUKz/DCAMJj7F4Bpxu8wvfUCECoAJsAD0SPvABNg+Q3W+RNh/3wDkKWfEAL6IIvZfiEE7icACdbPDGyCYJDA4B8AEviCELAHCbD9RWhZn4BhKDZrGfYjHPYRou4ATIAV4ivGf2ie40J43wE1gF58ggdhCIjygQchg+P/SYt9Nf9LIewvBEXDJoyIIhcAAKgUPDyrfUqvAAAAAElFTkSuQmCC",Q$="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAhCAYAAAC4JqlRAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAF6SURBVHgB7VZtkYQwDI0EJCDhJFQCEnBwOKAOWAfg4CSchJNQCSsh1+yGIXRJKD3u1/JmOgMhycsXbQEuXLjwz0DEz7hqOAPRURVXF9dXXAEXBJa1kiw+9/z9B/4CJiZnd0F6Z2IZCOGWkJPeB5QiGjtBQs48yRS97mzyXmZGlThg8yDPsclx5ApsiLzm6vVwBMJRwI0JxmUYxzm4rbKLADA7iKjY7JBLp5NGnujPw+v2yKVzp+hkkwsbJ3QqK4CRFb3yvbXIOYFGsb2x7ghG9o/Sgx7gZJBXXJ1Rsa3M6rKTufeV4qTZImeZMzOEVftqMDIkDIaTF3KWjyxvd+zUAOcyqROrlJ0yH6zqieoE3DuYcD2xtUEu/xjVeaLXQA7wud8T/BY5yxouO61OyVySezgCNAYu097h0k4PJSgh57kYRGs8lEDp+TeK/T/Rd7i+MwTMPMS0AKak5x2uLyQzScDXi4rH0mM4CaJO3/G5HWtXsu4U4gsX3gq/vOH2NobgJXcAAAAASUVORK5CYII=",Y$="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAhBAMAAABKCLRiAAAAIVBMVEUAAAD////////////////////////////////////////PIev5AAAACnRSTlMA3yCfgO8wYHAQZqjsxgAAAHZJREFUKM9joCVgFKCxQHp5EURAHcgAAalVyyECVauWggWWurhBBFJcosACCxkY2BIYBdgSgIphAlPDGAVSg5AEWJYmikU5IAkweIWGLmFAFmBZtcoBSQCkBKgARYDFAVkADGgtoAQHEIFVSAAs0GwMBxZkxSkAgCMnSlrtVzsAAAAASUVORK5CYII=",Z$="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAhCAMAAACP+FljAAAANlBMVEUAAAD////////////////////////////////////////////////////////////////////xY8b8AAAAEXRSTlMA358gQHDvvxCAYJBQoM+vMJFLxksAAAEESURBVDjLzZPNdoQgDIUJ+UNwdO77v2wFlGqd6aKLnvlWIeeaXBMIn4bGhr4VYOe9gHiDXgl4TiEIqMaEHELKfBFEkDqw1ngBXA0eTmQYAJd+EgJgkJOAIOzT93nyZ+03UMRwY8X4ggm7o6Qx5iNrlvawYOFDuUHcxT5KCIHmbqWIPECptjXYPHo8momM2AvWWT9QUhjMmFpOWsGmm5DPc3glmMMglZZTlD7V3NSRRwODadURokgBtSSB5JgbPN1/kxeUo4MZH2Zi1N08V+UosYYbEXpZ1vO6LG7LGggMGKbE27pzOOEwdWDpa4Qr/Vgw51THRXu/zfjMv1zav1/78XD+ly+y0Qt58+Tj8AAAAABJRU5ErkJggg==",E9="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAYBAMAAAD9m0v1AAAAKlBMVEUAAAD///////////////////////////////////////////////////+Gu8ovAAAADXRSTlMAvyCfkEDfEO/Pr3Bg1Fi/JwAAAI1JREFUGNNjQAB2BRjDpYCBgdkByuO5u4GBgTMBymO8K8DAtPYyVCnv3XYGtrt3oZKxd68yMNnegsr53r3CwMA2Aaov9+5FBgYWAwgn8O7du6kMTAVQDggYQWSUgUwEVxbKu4jKQ1eJ4IrC/BIG50C1XgPTCJeBAMLVCFBx9wKYRvgWAbjvHgDTiFDCBACAxkeXrLp71wAAAABJRU5ErkJggg==",J$="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAAA1VBMVEUAAADtTIzsTYzrTY7tTIzsTIzsTIzsTIzrTYrtTI3sTIvtS4zsTIz//////f7sU4/tT43sUI7sSozsSIrsVZDrMIP98vX97/PqEX7++/zrNoXsRYnrO4b3y9jwiqzrJIH4UJPrGH/63+fvf6brQIj4097qCX3+9vn52eL+UpjrKoL62+T0ssbtWpLrIID74un0q8Lub53rMoT4z9vtYZb87PHynrjvdaDqAHfxl7Txj6/tZpj75ezwhqn1T5L86O751eD1uMr3xdPrGn/2vc7zpb3ve6NecPTBAAAADHRSTlMA/Mg/kYfuoj/H7sgHcIaeAAAFXUlEQVRYw62ZCVviMBCGWXXdq+kkaYFeLqDcSwFBDg88V///T9ppDoK2tSzwIY+h0LeTfslMCCWl45OjU2tnnR6dHJc29f3ovlenuwNpvXf/YwP5tV7/8uWLtYfw9Hr9q+Z962nafszeNxVfT+L2R/ZEjMf1HXicQVaM9e8I/LEDkNNomBVi/QgDvN8hQBq9zTnPIN4fl052uIM0jCvk6QUy7uJJ6ej/e8xhOCfkIaKZfT6l2ScJ5RDBOyO2v8gg0tNSXhAuoHJ6zJ0Z8cm4ARlXLOW42G97XtsLrSyx4IIQm7QaYG0LpM350wB1G9KMq7nDAbFtUokx1gKguesjkugiYOkbCGz5h9j4+N2OgW4JrHWJb9t+CgjAy140twlBYPeq32gyoHwbIMaQFWHfs26eZ0TIJn53fNn3moznARkoxRMBtC+aMUiJvjnhzVmVaIlL+ueDy4jyHCBaK1VbdgXwclnzlELKWTAVHHtNFM3OKmCZQNocTM+Unqvi+q2ztRZNSqOZhrxDvr5AJpCV70i+bspAo4tWRYeo/9t3AyfHFDY5R2u11Cla5HcZOI28+HpaMbfQHz29BS88D1g+xw/lCYFJWg1rnnvzKG4wqQwWEy+iYBUAdYC6aYAoCsBrtZkY2K/LkIHwY9cIhbgVN55Ffy8dwFeFQP/15vr690iwx0kTjyqgEvSvE0NGExFdMfCqXQ7W43ASLKcfgTS86hCf/G27fCvgwnHNTHHj/qMBKiVTPfF9ywgvmxRqChgwaLTSQG9ASJVxayfgSxrIojdCph78B7CvgBHAMA3EMvr0ZxGxbYGRxYZdHSHz0kAUZkK6fZfZRoTuMBMIoHjFQLtSRfkkkWluAqmQfrXnTDFF2xD3mssox0EW5WEx0KQvA9RaA6kDo8qsOqvggcIIsXYWdhlqc4LaahwGrU61oqRMMRKFw1RYm3Rum7Ro5QCuUhzIYbMKY32IcjVJFiqZk4Hn8gKgo0UbcmC/ldfH1LnQ/ktsCXyICiOkWq4Z2FRJL7wY1kNTtzKB+SsHO70UGc41z05s4fsAtSW2LKCJLSHdA2gsweyPRUXYAtZ/rb5SQLREkm5Fn++irSMcnmeuD7lVlVXCwyImbSkCUqnm9WCMugrp+8DnIsDupD8WjSnWqQJg2Azxj9Oy10A5Hz3uCs68b2HdS2YLXrEAeHWLusJghKyPlvgEeVXmuO2pQI8b8CnQcWd+p+M/sKxsx7Ulz8PYDW5E8y6gBcAKQVUlMI2cicG0aEeToHGnKgMrAtp2DhBq1yKqh4vVavV7cSZenLWB7wwcyjUEPrW0LcVAJw1k0aUvYUbSlt0i5G77KcUTtrBPgByqCbDimgiNHGnJhmRtmLB8II0e1BceyLYkFaOwJRfIwZvKKbV0ga5lLEkSzbSl9Whn2FJK509RL5aBs5b8EoOWoPzbZa0hVVuO9GzhuV12dIZvrdblCYwlmBf6MSjFtbGMecI+MaUxJr4caxWpaucRfaRWOJN5ofZuZSyuvppAGmiqfVcTtUZlJtfpRAyozbmtZov3CZCG8KC+cymR8wnj8CIted5MgFDGDKFsyQVy1oSuohmgsATbH1I4bSYX98mrB9wAU8SwP64SKd1lTFy6+X675YmgRBIzwBSRshc2n95VlTqtAKzwTyVpvhpL1FiaiTXpW8TygShwhl5AmVYStitaYWo6WoCHAXjRNgsA4w7nyVOsargjHjT1QfmGs+Hyz5ytKnOOVShqWqdyM21/mc20k94hgb0TuSG5v8yG5AH7jD3+kWyKHxJ4fMht5y+47XzojfHDb91rHf/a/8eFo+8CdfCfP/4BdW+KF782ZpcAAAAASUVORK5CYII=",X$="data:image/svg+xml;base64, ",$$="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuMDc4OTcgOS4xNjY2N0MzLjc3OTgxIDkuMTY2NjcgMy41MjUyMiA5LjA2MDE0IDMuMzE1MjIgOC44NDcwOEMzLjEwNTA4IDguNjM0MDMgMy4wMDAwMiA4LjM3Nzk5IDMuMDAwMDIgOC4wNzg5NkMzLjAwMDAyIDcuNzc5NzkgMy4xMDY1NCA3LjUyNTIxIDMuMzE5NiA3LjMxNTIxQzMuNTMyNjUgNy4xMDUwNyAzLjc4ODcgNyA0LjA4NzcyIDdDNC4zODY4OSA3IDQuNjQxNTQgNy4xMDY1MyA0Ljg1MTY4IDcuMzE5NThDNS4wNjE2OCA3LjUzMjY0IDUuMTY2NjggNy43ODg2OCA1LjE2NjY4IDguMDg3NzFDNS4xNjY2OCA4LjM4Njg3IDUuMDYwMTUgOC42NDE0NiA0Ljg0NzEgOC44NTE0NkM0LjYzNDE4IDkuMDYxNiA0LjM3ODE0IDkuMTY2NjcgNC4wNzg5NyA5LjE2NjY3Wk04LjM4NjY4IDkuMTY2NjdDOC4wODc1MiA5LjE2NjY3IDcuODMyOTMgOS4wNjAxNCA3LjYyMjkzIDguODQ3MDhDNy40MTI3OSA4LjYzNDAzIDcuMzA3NzIgOC4zNzc5OSA3LjMwNzcyIDguMDc4OTZDNy4zMDc3MiA3Ljc3OTc5IDcuNDE0MjUgNy41MjUyMSA3LjYyNzMxIDcuMzE1MjFDNy44NDAzNiA3LjEwNTA3IDguMDk2NCA3IDguMzk1NDMgN0M4LjY5NDYgNyA4Ljk0OTE4IDcuMTA2NTMgOS4xNTkxOCA3LjMxOTU4QzkuMzY5MzIgNy41MzI2NCA5LjQ3NDM5IDcuNzg4NjggOS40NzQzOSA4LjA4NzcxQzkuNDc0MzkgOC4zODY4NyA5LjM2Nzg2IDguNjQxNDYgOS4xNTQ4MSA4Ljg1MTQ2QzguOTQxNzUgOS4wNjE2IDguNjg1NzEgOS4xNjY2NyA4LjM4NjY4IDkuMTY2NjdaTTEyLjY5NDQgOS4xNjY2N0MxMi4zOTUyIDkuMTY2NjcgMTIuMTQwNiA5LjA2MDE0IDExLjkzMDQgOC44NDcwOEMxMS43MjA0IDguNjM0MDMgMTEuNjE1NCA4LjM3Nzk5IDExLjYxNTQgOC4wNzg5NkMxMS42MTU0IDcuNzc5NzkgMTEuNzIyIDcuNTI1MjEgMTEuOTM1IDcuMzE1MjFDMTIuMTQ3OSA3LjEwNTA3IDEyLjQwNCA3IDEyLjcwMzEgN0MxMy4wMDIzIDcgMTMuMjU2OSA3LjEwNjUzIDEzLjQ2NjkgNy4zMTk1OEMxMy42NzcgNy41MzI2NCAxMy43ODIxIDcuNzg4NjggMTMuNzgyMSA4LjA4NzcxQzEzLjc4MjEgOC4zODY4NyAxMy42NzU2IDguNjQxNDYgMTMuNDYyNSA4Ljg1MTQ2QzEzLjI0OTUgOS4wNjE2IDEyLjk5MzQgOS4xNjY2NyAxMi42OTQ0IDkuMTY2NjdaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K";function kD(){return m("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:[m("g",{"clip-path":"url(#clip0_34626_16822)",children:[m("path",{d:"M5.99713 11.999C4.40583 11.999 2.87971 11.3669 1.75449 10.2417C0.629272 9.11645 -0.00286865 7.59032 -0.00286865 5.99902C-0.00286865 4.40772 0.629272 2.8816 1.75449 1.75638C2.87971 0.631165 4.40583 -0.000976562 5.99713 -0.000976562C7.58843 -0.000976562 9.11455 0.631165 10.2398 1.75638C11.365 2.8816 11.9971 4.40772 11.9971 5.99902C11.9971 7.59032 11.365 9.11645 10.2398 10.2417C9.11455 11.3669 7.58843 11.999 5.99713 11.999Z",fill:"white","fill-opacity":"0.5"}),m("path",{d:"M5.2411 5.99905L3.58252 4.33962C3.48423 4.2391 3.42954 4.10387 3.43032 3.96328C3.43111 3.8227 3.48731 3.68809 3.58672 3.58867C3.68613 3.48926 3.82074 3.43306 3.96133 3.43228C4.10192 3.43149 4.23715 3.48618 4.33767 3.58448L5.9971 5.24305L7.65652 3.58448C7.7059 3.53398 7.76481 3.49378 7.82983 3.46621C7.89486 3.43863 7.9647 3.42423 8.03533 3.42384C8.10596 3.42344 8.17596 3.43706 8.24129 3.46391C8.30662 3.49075 8.36597 3.53029 8.41591 3.58023C8.46585 3.63017 8.50539 3.68953 8.53224 3.75485C8.55908 3.82018 8.5727 3.89019 8.57231 3.96081C8.57191 4.03144 8.55751 4.10129 8.52994 4.16631C8.50236 4.23133 8.46216 4.29024 8.41167 4.33962L6.7531 5.99905L8.41167 7.65848C8.50996 7.759 8.56465 7.89422 8.56387 8.03481C8.56308 8.1754 8.50688 8.31001 8.40747 8.40942C8.30806 8.50884 8.17345 8.56503 8.03286 8.56582C7.89227 8.5666 7.75704 8.51192 7.65652 8.41362L5.9971 6.75505L4.33767 8.41362C4.28829 8.46412 4.22938 8.50432 4.16436 8.53189C4.09933 8.55946 4.02949 8.57387 3.95886 8.57426C3.88823 8.57466 3.81823 8.56104 3.7529 8.53419C3.68757 8.50734 3.62822 8.46781 3.57828 8.41786C3.52834 8.36792 3.4888 8.30857 3.46195 8.24324C3.43511 8.17792 3.42149 8.10791 3.42188 8.03728C3.42228 7.96666 3.43668 7.89681 3.46425 7.83179C3.49183 7.76676 3.53203 7.70786 3.58252 7.65848L5.2411 5.99905Z",fill:"black"})]}),m("defs",{children:m("clipPath",{id:"clip0_34626_16822",children:m("rect",{width:"12",height:"12",fill:"white"})})})]})}var MD=`${U}-new-user-guide`;function w9(){let{t:e}=ee();return m("div",{class:`${MD}-video-subtitle-guide`,children:m("div",{class:`${MD}-video-subtitle-guide-card`,children:m("div",{children:[m("img",{src:E9,class:"service-icon"}),e("subtitle.quickButton.requestAiSubtitle")]})})})}var ID=`${U}-new-user-guide`;function A9(){let{t:e}=ee();return m("div",{class:`${ID}-video-subtitle-guide`,children:m("div",{class:`${ID}-video-subtitle-guide-card`,children:[m("div",{children:[m("img",{src:S9,class:"service-icon"}),e("autoEnableSubtitle")]}),m(Up,{})]})})}var $0=`${U}-new-user-guide`,eee={"video-subtitle":A9,"ai-subtitle":w9,"translate-service":C9,"float-ball":x9};function LD({onClose:e,position:t,arrowDirection:n,type:r,ctx:i}){let{t:a}=ee(),o={"video-subtitle":a("userGuide.guideVideoSubtitle"),"ai-subtitle":a("userGuide.guideAiSubtitle"),"translate-service":a("userGuide.guideSelectTranslateService"),"float-ball":a("floatBall.guideClickToTranslate")},{top:s,left:u,right:l,bottom:c}=t,d=eee[r],g=de(()=>{let f={position:"absolute"};return s&&(f.top=s),c&&(f.bottom=c),u&&(f.left=u),l&&(f.right=l),f},[s,c,u,l,n]);return m("div",{class:`${$0}-container`,style:g,children:[m("div",{class:`${$0}-close-icon`,onClick:e,children:m(TD,{})}),m("img",{class:`${$0}-bg ${n}`,src:tee}),m("div",{class:`${$0}-content ${n}`,children:[m(d,{ctx:i}),m("div",{class:`${$0}-message text-red-500`,children:[o[r],Pe().any&&r==="float-ball"?`
${a("floatBall.longPress")}`:""]})]}),m(v9,{position:n})]})}var tee="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjc2IiBoZWlnaHQ9IjIyNCIgdmlld0JveD0iMCAwIDI3NiAyMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGZpbHRlcj0idXJsKCNmaWx0ZXIwX2RfMjg2MDBfMTUwMjcxKSI+CjxwYXRoIGQ9Ik0yMCAzNi4xMjg5QzIwIDI1LjA4MzIgMjguOTU0MyAxNi4xMjg5IDQwIDE2LjEyODlIMjM2QzI0Ny4wNDYgMTYuMTI4OSAyNTYgMjUuMDgzMiAyNTYgMzYuMTI4OVYxMDMuMTIyVjEwOC4wNjRWMTEzLjc0OVYxODBDMjU2IDE5MS4wNDYgMjQ3LjA0NiAyMDAgMjM2IDIwMEg0MEMyOC45NTQzIDIwMCAyMCAxOTEuMDQ2IDIwIDE4MFYzNi4xMjg5WiIgZmlsbD0idXJsKCNwYWludDBfbGluZWFyXzI4NjAwXzE1MDI3MSkiLz4KPC9nPgo8ZGVmcz4KPGZpbHRlciBpZD0iZmlsdGVyMF9kXzI4NjAwXzE1MDI3MSIgeD0iMCIgeT0iMC4xMjg5MDYiIHdpZHRoPSIyNzYiIGhlaWdodD0iMjIzLjg3MSIgZmlsdGVyVW5pdHM9InVzZXJTcGFjZU9uVXNlIiBjb2xvci1pbnRlcnBvbGF0aW9uLWZpbHRlcnM9InNSR0IiPgo8ZmVGbG9vZCBmbG9vZC1vcGFjaXR5PSIwIiByZXN1bHQ9IkJhY2tncm91bmRJbWFnZUZpeCIvPgo8ZmVDb2xvck1hdHJpeCBpbj0iU291cmNlQWxwaGEiIHR5cGU9Im1hdHJpeCIgdmFsdWVzPSIwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAxMjcgMCIgcmVzdWx0PSJoYXJkQWxwaGEiLz4KPGZlT2Zmc2V0IGR5PSI0Ii8+CjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjEwIi8+CjxmZUNvbXBvc2l0ZSBpbjI9ImhhcmRBbHBoYSIgb3BlcmF0b3I9Im91dCIvPgo8ZmVDb2xvck1hdHJpeCB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMC4xIDAiLz4KPGZlQmxlbmQgbW9kZT0ibm9ybWFsIiBpbjI9IkJhY2tncm91bmRJbWFnZUZpeCIgcmVzdWx0PSJlZmZlY3QxX2Ryb3BTaGFkb3dfMjg2MDBfMTUwMjcxIi8+CjxmZUJsZW5kIG1vZGU9Im5vcm1hbCIgaW49IlNvdXJjZUdyYXBoaWMiIGluMj0iZWZmZWN0MV9kcm9wU2hhZG93XzI4NjAwXzE1MDI3MSIgcmVzdWx0PSJzaGFwZSIvPgo8L2ZpbHRlcj4KPGxpbmVhckdyYWRpZW50IGlkPSJwYWludDBfbGluZWFyXzI4NjAwXzE1MDI3MSIgeDE9IjE0NS4zMzEiIHkxPSIxNi4xMjg5IiB4Mj0iMTQ1LjMzMSIgeTI9IjIwMCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgo8c3RvcCBzdG9wLWNvbG9yPSIjRkY5MkJDIi8+CjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0id2hpdGUiLz4KPC9saW5lYXJHcmFkaWVudD4KPC9kZWZzPgo8L3N2Zz4K";var Er=`${U}-new-user-guide`,DD=`
    .${Er}-container {
      width: 276px;
      height: 224px;
      z-index: ${Kn};
    }

    .${Er}-close-icon {
      position: absolute;
      top: -20px;
      right: 20px;
      z-index: 1;
      cursor: pointer;
    }

    .${Er}-bg {
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      z-index: -1;
      height: 100%;
      width: 100%;
    }

    .${Er}-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      height: 100%;
    }


    .${Er}-img {
      width: 192px;
      height: 112px;
      margin-top: -20px;
    }

    .${Er}-select-service-guide {
      width: 200px;
      height: 112px;
      padding: 10px;
      margin-top: -20px;
    }

    .${Er}-select-service-guide-card {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 0 20px;
      border-radius: 12px;
      background: #FFF;
      box-shadow: 0px 0.976px 7.805px 0px rgba(0, 10, 30, 0.10);
      height: 100%;
      width: 100%;
      box-sizing: border-box;
    }

    .${Er}-max-model {
      color: #999;
      font-size: 12px;
      line-height: 1.5;
    }

    .${Er}-model-example {
      color: #333;
      font-size: 14px;
      line-height: 1.5;
      display: flex;
      align-items: center;
      gap: 4px;
      margin-top: 10px;
      padding-left: 4px;
    }

    .service-icon {
      width: 24px;
      height: 24px;
    }


    .${Er}-video-subtitle-guide {
      width: 200px;
      padding: 10px;
      margin-bottom: 10px;
      margin-top: 20px;
    }


    .${Er}-video-subtitle-guide-card {
      background: #000;
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      height: 100%;
      padding: 10px;
      font-size: 14px;
      border-radius: 12px;
      color: #FFF;
      box-sizing: border-box;
    }
    .${Er}-video-subtitle-guide-card div {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .${Er}-message {
      font-size: 14px;
      line-height: 28px;
      color: #333333;
      white-space: pre-wrap;
      text-align: center;
      font-weight: 700;
      margin-bottom: 20px;
      padding: 0 30px;
    }

    .${Er}-button {
      margin-top: 16px;
      line-height: 40px;
      height: 40px;
      padding: 0 20px;
      width: unset;
    }
`;var ed=`${U}-new-user-guide-root`,nee={"float-ball":"#immersive-translate-popup -> .imt-fb-container .imt-fb-logo-img","translate-service":"#immersive-translate-popup -> #immersive-translate-popup-overlay .translation-service-container","video-subtitle":"#immersive-translatequick-button -> .imt-quick-subtitle-button","ai-subtitle":"#immersive-translatequick-button -> .imt-quick-subtitle-button"};function M9(e,t){k.debug("openUserGuide",t);let n=setInterval(()=>{let{type:r,arrowDirection:i="right"}=t,a=nee[r],o=je(a);if(!o)return;clearInterval(n);let{x:s,y:u,right:l,height:c}=o.getBoundingClientRect(),d=276,g=224+30,f=20,p=i==="right"?{top:u-g+c/2,left:s-d+f}:{top:u-g+c/2,right:globalThis.innerWidth-l-d+f};ree(e,{type:r,arrowDirection:i,position:p})},100)}function ree(e,t){k9(ed),ir({id:ed,parent:document.documentElement,ctx:e,Component:LD,props:{ctx:e,...t,onClose:()=>{k9(ed)}},style:DD});let n=r=>{let i=document.querySelector(`#${ed}`);i&&r.target!==i&&k9(ed)};document.removeEventListener("mousedown",n),document.addEventListener("mousedown",n)}function k9(e){let t=document.querySelector(`#${e}`);t&&t.remove()}function I9(e){let{type:t,arrowDirection:n="right"}=e;le.setValue("showUserGuide",{type:t,arrowDirection:n})}function PD(e){le.getValue("showUserGuide",null).then(async t=>{if(t){await it(300);let{type:n,arrowDirection:r}=t;M9(e,{type:n,arrowDirection:r}),le.remove("showUserGuide")}})}async function L9({ctx:e,text:t,sourceLang:n,services:r,targetLangs:i,callback:a}){if(!t.trim())return;let o=[],s={id:0,url:"side-panel",text:t,to:"zh-CN",from:n,force:!0,inArticleContext:!0};return Ym(e,t,r),r.forEach(async l=>{for(let c of i){a({text:t,translateText:"",service:l,targetLang:c,loading:!0});let d=null;t.split(`
`).filter(f=>!!f.trim()).length>1&&(d=await Jm(e,l));let g={...e.rule,withAITitleBlockUrls:[".*"]};o.push(Ai({...s,to:c},{...e,translationService:l,usageScene:"text_side",rule:g},{retry:1,contextTerms:d}).then(f=>{a({text:t,translateText:f.text,service:l,targetLang:c,loading:!1})}).catch(f=>{a({text:t,translateText:"",service:l,targetLang:c,loading:!1,error:f instanceof Y?f:new Y(f.code,f.message)})}))}}),await Promise.all(o)}function RD(){let e="side-footer-expand",[t,n]=z(()=>(localStorage.getItem(e)||"1")=="1");return G(()=>{localStorage.setItem(e,t?"1":"0")},[t]),{expand:t,setExpand:n}}function D9(){let[e,t]=z(!1);return G(()=>{let n=!1;return e&&(async()=>{await le.getUserToken()&&await le.clearUserInfo();for(let a=0;a<60*10;a++){if(n)return;if(await it(1e3),await le.getUserToken()){location.reload();return}}})(),()=>{n=!0}},[e]),[e,t]}var ND={en:"en-US","zh-CN":"zh-CN","zh-TW":"zh-TW",yue:"zh-HK",af:"af-ZA",az:"az-AZ",be:"be-BY",bn:"bn-IN",bs:"bs-BA",ja:"ja-JP",ko:"ko-KR",fr:"fr-FR",de:"de-DE",es:"es-ES",it:"it-IT",ru:"ru-RU",pt:"pt-PT","pt-br":"pt-BR","pt-BR":"pt-BR","pt-PT":"pt-PT",nl:"nl-NL",pl:"pl-PL",ar:"ar-001",bg:"bg-BG",ca:"ca-ES",cs:"cs-CZ",da:"da-DK",el:"el-GR",fi:"fi-FI",he:"he-IL",hi:"hi-IN",hr:"hr-HR",id:"id-ID",vi:"vi-VN",sv:"sv-SE",ms:"ms-MY",th:"th-TH",ur:"ur-PK",ta:"ta-IN",te:"te-IN",ml:"ml-IN",kn:"kn-IN",gu:"gu-IN",mr:"mr-IN",pa:"pa-IN",si:"si-LK",km:"km-KH",lo:"lo-LA",my:"my-MM",ne:"ne-NP",mn:"mn-MN",sd:"sd-PK",fa:"fa-IR",ps:"ps-AF",ha:"ha-NG",ig:"ig-NG",yo:"yo-NG",zu:"zu-ZA",xh:"xh-ZA",st:"st-ZA",tn:"tn-ZA",sn:"sn-ZW",ny:"ny-MW",so:"so-SO",am:"am-ET",bo:"bo-CN",ceb:"ceb-PH",co:"co-FR",cy:"cy-GB",eo:"eo-EO",et:"et-EE",eu:"eu-ES",fil:"fil-PH",fj:"fj-FJ",fy:"fy-NL",ga:"ga-IE",gd:"gd-GB",gl:"gl-ES",haw:"haw-US",hmn:"hmn-US",ht:"ht-HT",hu:"hu-HU",hy:"hy-AM",is:"is-IS",jw:"jw-ID",ka:"ka-GE",kk:"kk-KZ",ku:"ku-TR",ky:"ky-KG",la:"la-VA",lb:"lb-LU",lt:"lt-LT",lv:"lv-LV",mg:"mg-MG",mi:"mi-NZ",mk:"mk-MK",mt:"mt-MT",mww:"mww-US",no:"no-NO",otq:"otq-MX",ro:"ro-RO",sa:"sa-IN",sk:"sk-SK",sl:"sl-SI",sm:"sm-WS",sq:"sq-AL","sr-Cyrl":"sr-CS","sr-Latn":"sr-CS",su:"su-ID",sw:"sw-TZ",tlh:"tlh-TLH","tlh-Qaak":"tlh-TLH",to:"to-TO",tr:"tr-TR",ty:"ty-PF",ug:"ug-CN",uk:"uk-UA",uz:"uz-UZ",yi:"yi-IL",yua:"yua-MX","zh-CN-NE":"zh-CN","ur-roman":"ur-PK"};var FD={rate:10,volume:100},iee={"en-US":[/^Google US English/i,/Samantha/i,/Aaron/i,/Nicky/i,/^Eddy/,/^Flo/,/Junior/i,/^Reed/i,/^Kathy/i,/^Fred$/i],"zh-CN":[/语舒/i,/婷婷/i]},aee=[/^Google/i,/Enhanced/i,/Neural/i,/Natural/i],P9=[];globalThis.speechSynthesis&&(P9=speechSynthesis.getVoices(),globalThis.speechSynthesis.onvoiceschanged=()=>{P9=speechSynthesis.getVoices()});function oee(e,t){let n=e.filter(i=>i.lang===t);if(n.length===0)return null;let r=iee[t];if(r)for(let i of r){let a=n.find(o=>i.test(o.name));if(a)return a}for(let i of aee){let a=n.find(o=>i.test(o.name));if(a)return a}return n[0]}var see={WebSpeech:R9,YouDao:uee};function jp({provider:e,text:t,lang:n,onFinish:r,signal:i,onStart:a}){let o=FD.rate,s=FD.volume,u=see[e??"WebSpeech"];return k.debug("[tts] call tts provider",e),k.debug("[tts] call tts text",t),k.debug("[tts] call tts lang",n),u({text:t,lang:n??"en",rate:o,volume:s,signal:i,onFinish:r,onStart:a})}function R9({text:e,lang:t,rate:n,volume:r,signal:i,onFinish:a,onStart:o}){if(!globalThis.speechSynthesis){k.warn("[tts] Web Speech API is not supported in this browser.");return}let s=(n??10)/10,u=r?r/100:1,l=ND[t]??"en-US",c=new SpeechSynthesisUtterance;a&&c.addEventListener("end",a,{once:!0}),c.text=e,c.lang=t,c.rate=s,c.volume=u;let d=oee(P9,l);c.voice=d,i.addEventListener("abort",()=>{speechSynthesis.cancel()},{once:!0}),o?.(),speechSynthesis.speak(c)}async function uee({text:e,lang:t,rate:n,volume:r,signal:i,onFinish:a,onStart:o}){let u=`https://dict.youdao.com/dictvoice?audio=${encodeURIComponent(e)}&type=2`;try{let l=await Re({url:u,method:"GET",responseType:"base64",timeout:3e3}),c=Ki(l),d=URL.createObjectURL(c),g=new Audio(d);g.volume=r?r/100:1,g.playbackRate=(n??10)/10,g.play();let f=!1,p=!1,h=!1;g.addEventListener("canplay",()=>{f||(o?.(),f=!0)}),g.addEventListener("ended",()=>{a?.(),f=!1}),g.addEventListener("error",C=>{if(k.error("[tts]Audio error",C),h){f=!1,URL.revokeObjectURL(d);return}if(!f)return URL.revokeObjectURL(d),p=!0,R9({text:e,lang:t??"en",rate:n,volume:r,onFinish:a,onStart:o,signal:i});f=!1}),i.addEventListener("abort",()=>{h=!0,!p&&(g.pause(),g.currentTime=0,g.src="",URL.revokeObjectURL(d))},{once:!0}),o?.()}catch(l){return k.error("[tts]Youdao TTS API error",l),R9({text:e,lang:t??"en",rate:n,volume:r,onFinish:a,onStart:o,signal:i})}}async function zp({text:e,ctx:t}){let n="en",r=dn();if(t.sourceLanguage&&t.sourceLanguage!=="auto"?n=t.sourceLanguage:r!=="auto"&&(n=r),!t.rule.enableServerDetectLanguage)return n;let i=await Ve({text:e});if(i&&i!=="auto")return i;let a=await uo([e]);return!a||!a.length?n:a[0].lang}var Hp=async e=>{if(navigator.clipboard&&navigator.permissions)try{await navigator.clipboard.writeText(e)}catch{BD(e)}else BD(e)},BD=e=>{let t=document.createElement("textArea");t.value=e,t.style.width="0px",t.style.position="fixed",t.style.left="-999px",t.style.top="10px",t.setAttribute("readonly","readonly"),document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)},ks=e=>{let t=e.rule.selectionTranslation,n=Yr(e,"translationService",e.config.interfaceLanguage,[]).filter(u=>u.ai===!0&&u.config.supportFeatures?.includes("selectionTranslation"))||[],r=u=>!!u&&n.some(l=>l.id===u),i=t?.service;if(i&&r(i))return i;let a=t?.proService.service,o=t?.commonService.service,s=n.find(u=>u.config.group==="free");if(!e.isPro&&!e.isMax)return s?s.id:o&&r(o)?o:n[0]?.id||o||"zhipu-free";{let u=n.filter(c=>c.config.group==="pro");if(!u.length)return a||"openai-pro";let l=u.find(c=>c.id===a)||u[0];return l?l.id:a||"openai-pro"}};function Il(){let e=document.activeElement;return e&&e.tagName==="TEXTAREA"&&"selectionStart"in e&&"selectionEnd"in e}function OD(e){if(!e)return!1;let t=e.commonAncestorContainer;return t.nodeType===Node.TEXT_NODE&&(t=t.parentElement),!!(t instanceof Element&&t.closest('[contenteditable="true"], [contenteditable=""]'))}function Vp(e){let t=e?.trim();if(t){let r=!1;return om.forEach(i=>{if(!i.include)return;let a=Array.from(t.matchAll(i.include));for(let o of a){let u=(o[0]||o[1]).replace(/^[^a-zA-Z0-9_-]+|[^a-zA-Z0-9_-]+$/g,"");if(i.exclude){if(!i.exclude.test(u)){r=!0;break}}else{r=!0;break}}}),r}let n=document.activeElement;return n?!R0(n):!1}function Gp({count:e,maxCount:t=1,style:n}){return e<=t?null:m("div",{className:"langs-tag",style:n,children:m("div",{className:"langs-tag-inner",children:e-t})})}function Wp({show:e,className:t,values:n,options:r,style:i,multiple:a=!1,hideSearch:o=!1,position:s,onClose:u,onChange:l,renderOption:c}){let{t:d}=ee(),[g,f]=z({}),p=$(null),h=$(null),C=de(()=>r.filter(v=>{let b=p.current?.value.trim();return b?v.label?.includes(b)||v.value.includes(b):!0}),[r,p,g]),y=de(()=>{let v=r[0]?.label||"";for(let b of r)b.label&&b.label.length>v.length&&(v=b.label);return v},[r]);return G(()=>{if(e){let T=h.current?.getRootNode();T&&T.querySelectorAll(".imt-dropdown").forEach(S=>{S.style.display="none"})}if(h.current){let T=h.current.parentElement;if(T){let S=T.getBoundingClientRect(),E=S.left,A=S.right,M=100,P=globalThis.innerWidth,B=s;!B&&E-M<0?B="left":!B&&A+M>P&&(B="right"),B==="left"?h.current.style.left="0px":B==="right"&&(h.current.style.right="0px")}h.current.style.display=e?"flex":"none"}let v=()=>{u?.()},x=h.current?.getRootNode()||document;return x.addEventListener("click",v),()=>{x.removeEventListener("click",v)}},[e,u]),m("div",{ref:h,className:`imt-dropdown ${t??""}`,style:{zIndex:Kn-10,...i},children:[!o&&m("div",{className:"imt-search-box",children:[m(qf,{class:"imt-search-icon"}),m("input",{ref:p,type:"text",placeholder:d("searchPlaceholder"),onClick:v=>{v.stopPropagation()},onInput:v=>{v.stopPropagation(),f({})}})]}),m("ul",{children:[C.map(v=>m("li",{className:`${n.includes(v.value)?"active":""} ${v.disabled?"disabled":""}`,onClick:b=>{if(b.stopPropagation(),v.disabled)return;let x=[...n];if(!x.includes(v.value))a?x.push(v.value):x.unshift(v.value);else{if(a&&x.length<=1)return;x.splice(x.indexOf(v.value),1)}p.current&&(p.current.value=""),l([...new Set(x)]),a||u?.()},children:m("label",{className:"checkbox-label",value:v.value,style:{opacity:a&&n.length<=1&&n.includes(v.value)?.6:1,cursor:a&&n.length<=1&&n.includes(v.value)?"not-allowed":"pointer"},children:(()=>{let b=a&&!v.disableChecked&&m(Oe,{children:[m("input",{type:"checkbox",checked:n.includes(v.value),disabled:a&&n.length<=1&&n.includes(v.value)}),m("span",{className:"checkbox-mark"})]}),x=v.label;return c?c(v,b,x):m(Oe,{children:[b,x]})})()})},v.value)),m("li",{style:{opacity:0,height:1},children:m("label",{className:"checkbox-label",children:[a&&m(Oe,{children:[m("input",{type:"checkbox"}),m("span",{className:"checkbox-mark"})]}),y]})})]})]})}function N9({ctx:e,autoDetectLang:t,className:n,checkedLangs:r,popPosition:i,multiple:a=!1,onChange:o}){if(!e)return null;let[s,u]=z(!1),l=de(()=>{let g=ds(Un,12,e.config?.interfaceLanguage).filter(f=>!r.includes(f)).filter(f=>f!=="auto");return g=[...r,...g],t&&!g.find(f=>f==="auto")&&g.unshift("auto"),g.map(f=>({code:f,name:Ln(f,e.config?.interfaceLanguage)}))},[e.config?.interfaceLanguage,t,r]),c=l.find(g=>r[0]===g.code)?.name,d=de(()=>!t||t==="auto"?"":Ln(t,e.config?.interfaceLanguage),[t,e.config?.interfaceLanguage]);return m("div",{className:"select-languages",children:[m("div",{className:`select-languages-box ${n??""}`,onClick:g=>{g.stopPropagation(),u(!s)},children:[m("div",{className:"select-languages-text",children:(()=>d?`${d} ${d&&`- ${c}`}`:c)()}),m(Gp,{count:r.length,maxCount:1}),m(mn,{class:"arrow-down"})]}),m(Wp,{show:s,values:r,multiple:a,position:i,onClose:()=>u(!1),options:l.map(g=>({label:g.name,value:g.code})),onChange:g=>{o(g)}})]})}function _D({ctx:e,popPosition:t,className:n,serviceItems:r,groupServiceItems:i,checkedServices:a,onChange:o}){if(!e)return null;let{t:s}=ee(),[u,l]=z(!1),c=r.filter(g=>a.includes(g.id)),d=de(()=>{let g=i.flatMap(f=>{let p=f.services.map(h=>({label:h.name,value:h.id,icon:h.icon,disabled:!1,group:h.config.group}));return p.length>0&&p.unshift({label:f.name,value:f.id,icon:"",disabled:!0}),p});return g.push({label:s("moreTranslationServices"),value:"more",icon:vr("more"),disabled:!1,disableChecked:!0,onClick:()=>{ri(!0,"#services",!1)}}),g},[i]);return m("div",{className:`select-services ${n??""}`,children:[m("div",{className:"select-services-box",onClick:g=>{g.stopPropagation(),l(!u)},children:[c.slice(0,3).map((g,f)=>m("div",{className:"service-icon",style:{zIndex:f,marginLeft:f>0?-6:0},children:m("img",{src:g.icon,className:"icon"})})),m(Gp,{count:a.length,maxCount:3,style:{zIndex:4,marginLeft:-6}}),m(mn,{class:"arrow-down"})]}),m(Wp,{show:u,hideSearch:!0,position:t,values:a,onClose:()=>l(!1),options:d,multiple:!0,renderOption:(g,f,p)=>g.disabled?m("div",{style:{width:"max-content",display:"flex",alignItems:"center"},children:p}):m("div",{style:{width:"max-content",display:"flex",alignItems:"center"},onClick:h=>{g.onClick&&(g.onClick?.(),l(!1))},children:[f,m("div",{className:"service-icon",style:{display:g.icon?"block":"none",marginRight:8},children:m("img",{src:g.icon})}),p,g.group==="pro"&&m("img",{src:Cr,style:{marginBottom:-2,marginLeft:6,width:20,height:20}}),g.group==="max"&&m("img",{src:xo,style:{marginBottom:-2,marginLeft:6,width:20,height:20}})]}),onChange:g=>{o(g)}})]})}function F9(e,t){return Ev(e.config,"translationService",Vo(e.config,t))}function UD({ctx:e,selectServices:t,groupServiceItems:n,serviceItems:r,resultsRef:i,onTranslate:a}){let{t:o}=ee(),s=$([]),u=$([]),l=$("auto"),c=$("auto"),d=$(null),[g,f]=z({}),p=Te(()=>{let b=d.current?.value??"";Ie.local.set("lastTranslate",{services:u.current,langs:s.current,sourceLang:l.current,autoDetectLang:c.current,text:b}),f({})},[f]);G(()=>{if(!e)return;async function b(){let x=await Ie.local.get("lastTranslate");if(x)s.current=x.langs,u.current=F9(e,x.services),l.current=x.sourceLang,c.current=x.autoDetectLang,d.current.value=x.text;else{s.current=[e.targetLanguage],u.current=[Ko(e.config,"translationService",e.translationService)];let T=F9(e,Ih),S=Ko(e.config,"translationService",e.translationService);T.includes(S)&&Ha(e,T.filter(E=>S!=E)).forEach(async E=>{await Ju([E],e)&&(u.current.push(E),p())})}p()}b()},[e]);let h=Te(()=>{let b=l.current==="auto"?c.current:l.current;se({key:"translateTextInSidePanel",ctx:e,params:{target_language:s.current.length>1?"multiple":s.current[0],translation_service:u.current.length>1?"multiple":u.current[0]}}),a(u.current,b,s.current,d.current?.value??""),p()},[a]);G(()=>{e&&u.current.length>t.length&&t.length&&(u.current=r.filter(b=>t.includes(b.id)).map(b=>b.id),p())},[e,r,t,u]);let C=(b,x=!1)=>{let T=l.current=="auto"?c.current:l.current,S=s.current[0];l.current=S,c.current="auto",s.current=[T=="auto"?e.config.interfaceLanguage:T];let E=i.current?.find(A=>A.targetLang===l.current&&A.service===u.current[0]);E&&!x&&(d.current.value=E.translateText),se({key:"exchangeLangInSidePanel",ctx:e,params:{trigger:"manual"}}),p()},y=Te(Cn(async b=>{if(l.current!="auto"&&!b)return;let x=l.current=="auto"?c.current:l.current;x=x=="auto"?e.config.targetLanguage:x;let T=d.current?.value??"";if(!T.trim()){l.current="auto",c.current="auto",p();return}let S=await Ve({text:T});if(S=="auto"){let E=await uo([T],!0);E&&E.length&&(S=E[0].lang)}if(c.current=S,b&&(l.current="auto"),s.current.includes(S)&&(!s.current.includes(x)||S==x)&&(s.current.splice(s.current.findIndex(E=>E==S),1),S!=x&&s.current.unshift(x),se({key:"exchangeLangInSidePanel",ctx:e,params:{trigger:"auto"}})),s.current.length==0){let E="auto";S!=e.config.interfaceLanguage?E=e.config.interfaceLanguage:S=="en"?E="zh-CN":E="en",s.current=[E]}p(),b&&h()},200),[l,e.config.interfaceLanguage]);G(()=>{y();let b=()=>{setTimeout(()=>y(!0),0)},x=M=>{M.code==="Enter"&&(M.shiftKey||(M.preventDefault(),h()))},T=!1,S=()=>{T=!0},E=M=>{T=!1,y()},A=M=>{T||y()};return d.current?.addEventListener("compositionstart",S),d.current?.addEventListener("compositionend",E),d.current?.addEventListener("keydown",x),d.current?.addEventListener("paste",b),d.current?.addEventListener("input",A),()=>{d.current?.removeEventListener("compositionstart",S),d.current?.removeEventListener("compositionend",E),d.current?.removeEventListener("input",A),d.current?.removeEventListener("keydown",x),d.current?.removeEventListener("paste",b)}},[e,y]);let v=()=>{d.current.value="",y()};return m("div",{className:"translate-area",children:[m(_D,{ctx:e,popPosition:"left",serviceItems:r,checkedServices:u.current,groupServiceItems:n,onChange:b=>{u.current=b,p()}}),m("div",{className:"translate-main",children:[m("header",{children:[m(N9,{ctx:e,popPosition:"left",className:"source-language",checkedLangs:[l.current],multiple:!1,autoDetectLang:c.current,onChange:b=>{b.length&&(l.current=b[0],l.current!="auto"?c.current="auto":y(),p())}}),m("div",{className:"convert-icon",onClick:C,children:m(Dk,{})}),m(N9,{ctx:e,popPosition:"right",className:"target-languages",checkedLangs:s.current,multiple:!0,onChange:b=>{s.current=b,p()}})]}),m("textarea",{ref:d,rows:5,placeholder:o("pasteTextPlaceholder")}),m("footer",{children:[m("div",{className:"icon delete-button",onClick:v,children:m(Lk,{})}),m("div",{style:{flex:1}}),m("button",{className:"translate-button",onClick:h,children:[o("translate"),m(Mk,{})]})]})]})]})}async function jD(e){let t=await Ie.local.get("lastTranslate");return F9(e,t?.services||[e.translationService])}async function zD(){return await Ie.local.get("lastTranslate")}var HD=({refreshKey:e,ctx:t})=>{let[n,r]=z(null),[i,a]=z(!1),[o,s]=z(null);return G(()=>{a(!0),s(null),$h({forceRefresh:!0}).then(r).catch(s).finally(()=>{a(!1)})},[e,t]),{rewardData:n,isLoading:i,error:o}};function VD(e){let[t,n]=z(!1),r=$(e);return G(()=>{r.current&&!e&&n(!0),r.current=e},[e]),t}function B9(e,t=!1){if(!t){try{if(!Me()&&qn()){Be.tabs.create({url:`${e}`});return}globalThis.open(`${e}`,"_blank")}catch{globalThis.open(`${e}`,"_blank")}return}try{if(!Me()&&qn()){Be.tabs.create({url:`${e}?utm_source=extension&utm_medium=extension&utm_campaign=reward_center`});return}globalThis.open(`${e}?utm_source=extension&utm_medium=extension&utm_campaign=reward_center`,"_blank")}catch{globalThis.open(`${e}?utm_source=extension&utm_medium=extension&utm_campaign=reward_center`,"_blank")}}async function lee(){let{userValue:e,localValue:t}=await Xn("rewardCenterOpenTime");e||t||await Nr("rewardCenterOpenTime",Date.now().toString())}function O9({visible:e,onClose:t,ctx:n,refreshKey:r=0,setSettings:i}){lee();let[a,o]=z(!1),[s,u]=z(!1),[l,c]=z({}),[d,g]=z(0),{t:f}=ee(),[p,h]=z(""),C=`${r}_${d}`,{rewardData:y,isLoading:v,error:b}=HD({refreshKey:C,ctx:n}),x=()=>{g(R=>R+1)};G(()=>{if(e){o(!0),u(!1);let R=setTimeout(()=>{u(!0)},10);return()=>clearTimeout(R)}else{u(!1);let R=setTimeout(()=>{o(!1)},400);return()=>clearTimeout(R)}},[e]);let T=R=>{R.target===R.currentTarget&&t()},S=()=>{e||o(!1)};function E(R){return{translate_line_1:`${j.GUIDE_BASE}reward-task/?showUserGuide=true&guideType=selection-translate`,translate_web_1:`${j.GUIDE_BASE}reward-task/?showUserGuide=true&guideType=float-ball`,translate_web_2:`${j.GUIDE_BASE}reward-task/?showUserGuide=true&guideType=translate-service`,translate_pdf_1:`${j.APP_BASE_URL}`,translate_pdf_2:`${j.PDF_PRO_URL}`,translate_video_1:`${j.REWARD_TASK_YOUTUBE_URL}`,translate_video_2:`${j.REWARD_TASK_YOUTUBE_URL}`}[R]||""}let A=async R=>{if(k.debug("Task start:",R.taskConfig.taskKey),Me()&&R.taskConfig.taskKey==="translate_line_1")return;let _=await xv(),F=E(R.taskConfig.taskKey);if(!_){B9(`${j.USER_LOGIN_URL}&return_url=${encodeURIComponent(F)}`,!1);return}if(R.enabled&&!R.completed){let L=R.taskConfig.taskKey;se({key:"reward_center_start_task",ctx:n,params:{trigger:R.taskConfig.taskKey}}),L==="translate_line_1"&&(n.config.generalRule.selectionTranslation?.enable||i(w=>({...w,generalRule:{...w.generalRule,"selectionTranslation.add":{...w.generalRule?.["selectionTranslation.add"],enable:!0}}}))),L==="translate_video_1"&&I9({type:"video-subtitle"}),L==="translate_video_2"&&I9({type:"ai-subtitle"}),B9(F);return}if(R.completed&&!R.taken){if(p)return;h(R.taskConfig.taskKey),se({key:"reward_center_claim",ctx:n,params:{trigger:R.taskConfig.taskKey}});try{await vv(R.taskConfig.taskKey),x(),Cv(),h("")}catch(L){k.error("takeReward error",L)}finally{h("")}}},M=(R,_=!1)=>{switch(R){case"ai_token":return _?f("rewardCenter.reward.ai_token")+f("rewardCenter.reward.description"):f("rewardCenter.reward.ai_token");case"pdf_token":return f("rewardCenter.reward.pdf_token");case"video_token":return f("rewardCenter.reward.video_token");default:return R}},P=(R,_,F=!0)=>{let L=R.toLocaleString(),D=F?f("rewardCenter.reward.unit_pdf_token"):"",w=F?f("rewardCenter.reward.unit_video_token"):"";return _==="ai_token"?L:_==="video_token"?`${L}${w}`:_==="pdf_token"?`${L}${D}`:L},B=R=>{let{taskConfig:_,taken:F,completed:L,enabled:D}=R,w=_.rewards[0],N=_.groupName==="\u9AD8\u7EA7\u4EFB\u52A1",V=L&&F,H=!D&&!L&&!F,q=f("rewardCenter.task.start"),K="reward-task-button",J=!1;return L&&!F?(q=f("rewardCenter.task.claim"),K+=" claim"):L&&F?(q=f("rewardCenter.task.claimed"),K+=" completed"):!D&&!L&&!F?(q=f("rewardCenter.task.start"),K+=" disabled"):N&&D&&!L&&!F&&(Tv(R,y)||(q=f("rewardCenter.task.start"),J=!0)),m("div",{className:`reward-task-item ${H?"unavailable":""} ${V?"completed":""}`,children:[m("div",{className:"reward-task-content",children:[m("div",{className:"reward-task-title",children:f(`rewardCenter.task.${_.taskKey}`)}),w&&m("div",{className:"reward-task-reward",children:[f("rewardCenter.reward.get"),"  ",m("span",{className:`${N?"reward-amount-advanced":"reward-amount"}`,children:P(w.rewardAmount,w.rewardType)})," ",M(w.rewardType,!0)]})]}),V?m(sM,{}):Me()&&_.taskKey==="translate_line_1"?m(vt,{text:f("rewardCenter.task.translate_line_1.warning",{1:{tag:"a",style:"color: #EA4C89;",href:j.DOWNLOAD_URL+"?utm_campaign=reward_center",target:"_blank"}}),position:"left",tipStyle:{width:"150px",maxWidth:"150px",whiteSpace:"normal",wordBreak:"break-word"},children:m("button",{className:`${K} disabled`,disabled:!0,children:q})}):J?m(vt,{text:f("rewardCenter.task.unclaimedWarning"),position:"left",tipStyle:{width:"150px",maxWidth:"150px",whiteSpace:"normal",wordBreak:"break-word"},children:m("button",{className:K,onClick:()=>A(R),disabled:H,children:[q,p===_.taskKey?m(GD,{}):null]})}):m("button",{className:K,onClick:()=>A(R),disabled:H,children:[q,p===_.taskKey?m(GD,{}):null]})]},_.taskKey)},O=R=>{let _=R.groupName==="\u9AD8\u7EA7\u4EFB\u52A1",F=f(_?"rewardCenter.task.level2":"rewardCenter.task.level1"),L=R.taskItems.filter(w=>!(w.completed&&w.taken)),D=R.taskItems.filter(w=>w.completed&&w.taken);return m("div",{className:"reward-center-card",children:[m("div",{className:"reward-card-title",children:[_?m(oM,{}):m(aM,{}),F,_&&m("span",{className:"reward-task-subtitle",children:f("rewardCenter.task.level2.description")})]}),m("div",{className:"reward-card-content",children:[L.map(w=>B(w)),D.length>0&&m(Oe,{children:[m("div",{className:"completed-tasks-divider clickable",onClick:()=>c(w=>({...w,[R.groupName]:!w[R.groupName]})),children:[m("span",{className:"completed-tasks-text",children:f("rewardCenter.task.completed")}),m("span",{className:`completed-tasks-arrow ${l[R.groupName]?"expanded":""}`,children:m(mn,{})})]}),l[R.groupName]&&D.map(w=>B(w))]})]})]},R.groupName)};return!e&&!a?null:m(Oe,{children:m("div",{className:`reward-center-overlay ${s?"visible":""}`,onClick:T,children:m("div",{className:`reward-center-drawer ${s?"visible":""}`,onTransitionEnd:S,children:[m("div",{className:"reward-center-fixed-header",children:[m("div",{className:"reward-center-header",children:[m("div",{className:"reward-center-header-left",children:[m(ml,{}),m("div",{className:"reward-center-title",children:f("rewardCenter.title")})]}),m(Pn,{class:"reward-center-close-icon",onClick:t})]}),m("div",{className:"reward-center-description",children:f("rewardCenter.description")})]}),m("div",{className:"reward-center-scrollable-content",children:[!y&&v&&m("div",{className:"reward-center-loading"}),b&&m("div",{className:"reward-center-error",children:b.message}),!b&&y&&m(Oe,{children:[m("div",{className:"reward-center-card reward-progress-container",children:[m("div",{className:"reward-card-title",children:f("rewardCenter.progress")}),m("div",{className:"reward-card-content",children:y?.rewardViews.map(R=>{let _=R.rewardTotalAmount>0?R.completedAmount/R.rewardTotalAmount*100:0;return m("div",{className:"reward-progress-item",children:m("div",{className:"reward-progress-info",children:[m("div",{className:"reward-progress-label",children:M(R.rewardType)}),m("div",{className:"reward-progress-right",children:[m("div",{className:"reward-progress-value",children:[P(R.completedAmount,R.rewardType,!1),"/",P(R.rewardTotalAmount,R.rewardType,!1)]}),m("div",{className:"reward-progress-bar",children:m("div",{className:"reward-progress-fill",style:{width:`${_}%`}})})]})]})},R.rewardType)})})]}),y?.groupViews.map(R=>O(R))]}),m("div",{className:"reward-center-footer",children:[m(Zf,{}),m("div",{className:"reward-center-footer-text",onClick:()=>B9(j.TUTORIAL_URL,!0),children:f("rewardCenter.help")})]})]})]})})})}var GD=()=>m("div",{className:"reward-task-loading"});async function WD(e){for(let t=0;t<e.length;t++)if(await cee(e[t]))return e[t];return null}async function cee(e){if(!e.enable)return!1;if(e.expireTime){let l=new Date(e.expireTime);if(new Date>l)return!1}let{userValue:t,localValue:n}=await Xn("notificationShowTimes"),r=t||n||{},i=e.id;if(r[i])return!1;let a=Object.values(r).sort((l,c)=>Number(c)-Number(l))[0];if(!a)return!0;let o=e.intervalTime??24*60*60;return Date.now()-Number(a)>=o*1e3}async function _9(e){let{userValue:t,localValue:n}=await Xn("notificationShowTimes"),r=t||n||{};r[e]=Date.now()+"",await Nr("notificationShowTimes",r)}function qD(e,t,n,r){if(r!=="webpage")return{};let i=globalThis.innerHeight,a=Pe().any?65:80,o=e;return o+t>i-30&&(o=i-t-30),o<10&&(o=10),n==="left"?{top:o,left:a}:{top:o,right:a}}var KD=!1;function qp(e,t,n){let r=Pe().any,[i,a]=z({isVisible:!1,notification:null}),o=Te((s,u)=>{u&&se({key:"notification_close",params:{notificationId:s.id,trigger:s.displayPosition||"webpage"},ctx:e}),_9(s.id),a(l=>({...l,isVisible:!1}))},[e]);return G(()=>{if(!e)return;(async u=>{let l=u.config.notificationList;if(!l?.length||r&&t==="sidePanel")return;let c=await WD(l);!c||Ke(u.url,c.excludeMatches)||c.displayPosition===t&&(r&&t==="sidePanel"||a({isVisible:!0,notification:c}))})(e)},[e,t]),G(()=>{n&&_9("new-guide")},[n]),n&&(KD=!0),{isVisible:i.isVisible&&!KD&&e?.config?.isEnableNotification,notification:i.notification,closeNotification:o}}var QD=`
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: ${Kn};
}

.modal-overlay.side-panel {
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-overlay.webpage-float {
  background-color: transparent;
  pointer-events: none;
}

.modal-container {
  background-color: white;
  border-radius: 20px;
  width: 90%;
  max-width: 440px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  position: relative;
  font-family: "Noto Sans SC";
}

.modal-container.side-panel {
  width: 90%;
  max-width: 300px;
  max-height: 85vh;
}

.modal-container.webpage-float {
  width: 300px;
  height: fit-content;
  max-width: 300px;
  max-height: 500px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  pointer-events: auto;
  position: fixed;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s;
}

.close-button svg {
  vertical-align: unset;
}

.close-button:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.banner-area {
  height: 210px;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  border-radius: 16px 16px 0 0;
}

.banner-area.side-panel {
  height: 140px;
}

.banner-area.webpage-float {
  height: 140px;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.content-area {
  padding: 24px 32px 32px;
}

.content-area.side-panel {
  padding: 24px;
}

.content-area.webpage-float {
  padding: 20px;
}

.title {
  margin: 0 0 20px 0;
  font-size: 20px;
  font-weight: 700;
  color: #333333;
  text-align: center;
}

.title.side-panel {
  font-size: 18px;
  margin: 0 0 16px 0;
}

.title.webpage-float {
  font-size: 16px;
  margin: 0 0 16px 0;
}

.update-list {
  margin: 0 0 24px 0;
  font-size: 14px;
  color: #333333;
  line-height: 1.5;
}

.update-list.side-panel {
  margin: 0 0 20px 0;
}

.update-list.webpage-float {
  margin: 0 0 20px 0;
}

.update-item.side-panel {
  font-size: 13px;
  margin-bottom: 10px;
}

.update-item.webpage-float {
  font-size: 13px;
  margin-bottom: 10px;
}

.update-item::before {
  content: "\u2022";
  margin-right: 8px;
  color: #333333;
  flex-shrink: 0;
}

.button-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.button-area.webpage-float {
  gap: 0;
}

.primary-button {
  box-sizing: border-box;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  background-color: #EA4C89;
  color: white;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  text-decoration: none;
  text-align: center;
}

.primary-button.side-panel {
  padding: 12px 20px;
  font-size: 14px;
}

.primary-button.webpage-float {
  padding: 12px 20px;
  font-size: 14px;
}

.primary-button:hover {
  background-color: #f082ac;
}

.custom-link {
  color: #EA4C89;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s;
  margin-top: 12px;
}

.custom-link.side-panel {
  font-size: 13px;
}

.custom-link.webpage-float {
  font-size: 13px;
}

.custom-link:hover {
  color: #db2777;
}

/* \u79FB\u52A8\u7AEF\u9002\u914D */
@media (max-width: 480px) {
  .modal-container {
    width: 95%;
    max-width: none;
  }
  
  .content-area {
    padding: 20px 24px 24px;
  }
  
  .title {
    font-size: 18px;
  }
}
`;function U9(e,t){let n=new URL(t);if(n.protocol!="imt:")return;e.preventDefault();let r=n.hostname;if(r==="sendToExt"){let o=n.pathname.replace(/^\//g,""),s=n.searchParams,u=Object.fromEntries(s);document.dispatchEvent(new CustomEvent(js,{detail:JSON.stringify({id:Date.now(),type:o,payload:u})}));return}let i=n.searchParams,a=Object.fromEntries(i);document.dispatchEvent(new CustomEvent(ge+r,{detail:a}))}function Kp({ctx:e,isShowGuide:t,displayPosition:n,top:r=0,fixedPosition:i="right"}){let{isVisible:a,notification:o,closeNotification:s}=qp(e,n,t),[u,l]=z({}),c=$(null);return G(()=>{if(!a||!o||n!=="webpage")return;let d=c.current?.offsetHeight||400,g=qD(r,d,i,n);l(g)},[a,o,n,r,i]),G(()=>{!a||!o||se({key:"notification_show",params:{notificationId:o.id,trigger:o.displayPosition||"webpage"},ctx:e})},[a,o]),!a||!o?null:m(Oe,{children:[m("style",{children:QD}),m("div",{ref:c,children:m(dee,{config:o,ctx:e,displayPosition:n,position:n==="webpage"?u:void 0,floatDirection:n==="webpage"?i:void 0,onClose:s})})]})}function dee({config:e,ctx:t,displayPosition:n,position:r,floatDirection:i,onClose:a}){let o=t.config.interfaceLanguage||"en-US",s=o in e.content?o:"en-US",u=e.content[s];if(!u)return null;let l=n==="sidePanel",c=n==="webpage",d=l?"side-panel":c?"webpage-float":"",g=c&&i?`float-${i}`:"";return m("div",{className:`modal-overlay ${d}`,children:m("div",{className:`modal-container ${d} ${g}`,style:c&&r?r:void 0,children:[m("div",{className:"close-button",onClick:()=>{a(e,!0)},"aria-label":"Close",children:m(Bk,{})}),m("div",{className:`banner-area ${d}`,children:u.bannerUrl?m("img",{src:u.bannerUrl,alt:"",className:"banner-image"}):m("span",{children:"banner"})}),m("div",{className:`content-area ${d}`,children:[m("h2",{className:`title ${d}`,children:u.title}),m("div",{className:`update-list ${d}`,dangerouslySetInnerHTML:{__html:at.sanitize(u.updateDetail)}}),m("div",{className:`button-area ${d}`,children:[m("a",{href:u.buttonLink,target:"_blank",rel:"noopener noreferrer",className:`primary-button ${d}`,onClick:f=>{U9(f,u.buttonLink),a(e,!1),se({key:"notification_button_click",params:{trigger:e.displayPosition||n,notification_id:e.id},ctx:t})},children:u.buttonText}),u.customLink&&u.customLinkText&&m("a",{href:u.customLink,target:"_blank",rel:"noopener noreferrer",className:`custom-link ${d}`,onClick:f=>{U9(f,u.customLink),a(e,!1),se({key:"notification_link_click",params:{trigger:e.displayPosition||n,notification_id:e.id},ctx:t})},children:u.customLinkText})]})]})]})})}var gee=15,j9="storeGuide_shown",mee=`
  .store-guide {
    position: relative;
    width: 312px;
    height: 191px;
    padding: 20px;
    background: transparent;
    font-size: 14px;
    color: #333;
  }
  .store-guide__background {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    transition: right 0.2s ease, left 0.2s ease, width 0.2s ease;
  }
  .store-guide__background--no-arrow {
    width: calc(100% - 15px);
  }
  .store-guide__close {
    position: absolute;
    top: 32px;
    right: 52px;
    z-index: 1;
    cursor: pointer;
  }
  .store-guide__content {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    margin-left: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-right: 32px;
  }
  .store-guide__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
  }
  .store-guide__button {
    cursor: pointer;
    border-radius: 8px;
    padding: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
  }
  .store-guide__button--good {
    background: linear-gradient(110deg, #f497bc 17.37%, #ec4c8c 89.68%);
    color: white;
  }
  .store-guide__button--not-good {
    border: 1px solid #ecf0f7;
    background: #fff;
  }
  .store-guide__button-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
  }
  .store-guide__countdown {
    position: absolute;
    display: flex;
    flex: 1;
    padding: 8px 0;
    justify-content: center;
    border-radius: 0 0 20px 20px;
    align-items: center;
    background: #fafbfc;
    right: 34px;
    bottom: 24px;
    left: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #999999;
  }
`;async function Qp(e,{useNewUser:t,useUsageCondition:n}={}){let r=e?.config?.storeGuide;if(ga()||!r||!r.enable||Pe().any||Me()||gt())return;let{installedAt:i}=await Fc();if(t&&!C7(i,r.newUserDays,r.startNextDay))return;let a=await KE(r.usageDays),o=Cg(r.usageCondition,a);if(n&&!o)return;let u=[{name:"chrome",reviewUrl:j.Chrome_Store_Url,visible:qn()&&!da()},{name:"edge",reviewUrl:j.Edge_Store_Url,visible:da()},{name:"firefox",reviewUrl:j.Firefox_Store_Url,visible:On()}].filter(l=>l.visible&&r.platform.includes(l.name))?.[0];if(u)return u}function YD(){return Ie.local.get(j9,!1)}function Ll({storeReviewUrl:e,hiddenArrow:t,anchorPlacement:n,trigger:r}){let i=ze()?.config?.storeGuide;se({key:"store_guide_show",params:{trigger:r}}),Rt({anchorPlacement:n,showOverlay:!1,presetSkin:"none",styles:mee,onOverlayClick:()=>{Ie.local.set(j9,!0),se({key:"store_guide_close",params:{trigger:"overlay"}})},render:({close:a})=>m(fee,{close:()=>{a(),Ie.local.set(j9,!0),se({key:"store_guide_close",params:{trigger:"close"}})},hiddenArrow:t,countdownSeconds:i?.countdownSeconds||gee,onGood:()=>{tt(e),se({key:"store_guide_good",params:{trigger:r}}),a()},onNotGood:()=>{_e("webReport"),a(),se({key:"store_guide_not_good",params:{trigger:r}})}})})}function fee({close:e,hiddenArrow:t,countdownSeconds:n,onGood:r,onNotGood:i}){let a=oe,[o,s]=z(n);return G(()=>{if(n<=0){e();return}let u=setInterval(()=>{s(l=>{let c=l-1;return c<=0?(e(),0):c})},1e3);return()=>clearInterval(u)},[e,n]),m("div",{className:"store-guide",children:[m(bee,{hiddenArrow:t,className:`store-guide__background${t?" store-guide__background--no-arrow":""}`}),m(hee,{className:"store-guide__close",onClick:e}),m("div",{className:"store-guide__content",children:[a("storeGuide.description"),m("div",{className:"store-guide__actions",children:[m("div",{className:"store-guide__button store-guide__button--good",onClick:r,children:[m(pee,{}),m("span",{className:"store-guide__button-text",children:a("storeGuide.good")})]}),m("div",{className:"store-guide__button store-guide__button--not-good",onClick:i,children:[m(yee,{}),m("span",{className:"store-guide__button-text",children:a("storeGuide.notGood")})]})]})]}),m("div",{className:"store-guide__countdown",children:a("storeGuide.countdown",{remainingSeconds:o})})]})}function pee(e){return m("svg",{className:e.className,onClick:e?.onClick,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:m("path",{d:"M18.6245 9.1678C18.3397 8.83214 17.93 8.63991 17.4996 8.64H13.9997V7.6C13.9997 6.16406 12.8804 5 11.4998 5C11.3103 4.99986 11.1371 5.11109 11.0523 5.2873L8.69112 10.2H5.99997C5.4477 10.2 5 10.6656 5 11.24V16.96C5 17.5344 5.44768 18 5.99997 18H16.7496C17.5057 18.0003 18.1438 17.4152 18.2383 16.635L18.9883 10.395C19.042 9.95059 18.9095 9.50359 18.6245 9.1678ZM5.99997 11.24H8.49988V16.96H5.99997V11.24Z",fill:"white"})})}function hee(e){return m("svg",{className:e.className,onClick:e?.onClick,xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:[m("g",{"clip-path":"url(#clip0_37814_2374)",children:m("path",{d:"M8 16C5.87827 16 3.84344 15.1571 2.34315 13.6569C0.842855 12.1566 0 10.1217 0 8C0 5.87827 0.842855 3.84344 2.34315 2.34315C3.84344 0.842855 5.87827 0 8 0C10.1217 0 12.1566 0.842855 13.6569 2.34315C15.1571 3.84344 16 5.87827 16 8C16 10.1217 15.1571 12.1566 13.6569 13.6569C12.1566 15.1571 10.1217 16 8 16ZM4.78057 5.78743L6.992 8L4.78057 10.2126C4.71324 10.2784 4.65964 10.357 4.62288 10.4437C4.58611 10.5303 4.56691 10.6235 4.56638 10.7176C4.56586 10.8118 4.58402 10.9052 4.61981 10.9923C4.65561 11.0794 4.70832 11.1585 4.77491 11.2251C4.8415 11.2917 4.92064 11.3444 5.00774 11.3802C5.09484 11.416 5.18818 11.4341 5.28235 11.4336C5.37652 11.4331 5.46965 11.4139 5.55635 11.3771C5.64305 11.3404 5.72159 11.2868 5.78743 11.2194L8 9.008L10.2126 11.2194C10.3466 11.3505 10.5269 11.4234 10.7144 11.4224C10.9018 11.4213 11.0813 11.3464 11.2138 11.2138C11.3464 11.0813 11.4213 10.9018 11.4224 10.7144C11.4234 10.5269 11.3505 10.3466 11.2194 10.2126L9.008 8L11.2194 5.78743C11.2868 5.72159 11.3404 5.64305 11.3771 5.55635C11.4139 5.46965 11.4331 5.37652 11.4336 5.28235C11.4341 5.18818 11.416 5.09484 11.3802 5.00774C11.3444 4.92064 11.2917 4.8415 11.2251 4.77491C11.1585 4.70832 11.0794 4.65561 10.9923 4.61981C10.9052 4.58402 10.8118 4.56586 10.7176 4.56638C10.6235 4.56691 10.5303 4.58611 10.4437 4.62288C10.357 4.65964 10.2784 4.71324 10.2126 4.78057L8 6.992L5.78743 4.78057C5.6534 4.64951 5.4731 4.57659 5.28565 4.57764C5.0982 4.57869 4.91872 4.65362 4.78617 4.78617C4.65362 4.91872 4.57869 5.0982 4.57764 5.28565C4.57659 5.4731 4.64951 5.6534 4.78057 5.78743Z",fill:"#B1B1B1","fill-opacity":"0.5"})}),m("defs",{children:m("clipPath",{id:"clip0_37814_2374",children:m("rect",{width:"16",height:"16",fill:"white"})})})]})}function yee(e){return m("svg",{className:e.className,onClick:e?.onClick,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:m("path",{d:"M5.37549 14.8322C5.66028 15.1679 6.07001 15.3601 6.50045 15.36L10.0003 15.36L10.0003 16.4C10.0003 17.8359 11.1196 19 12.5002 19C12.6897 19.0001 12.8629 18.8889 12.9477 18.7127L15.3089 13.8L18 13.8C18.5523 13.8 19 13.3344 19 12.76L19 7.04C19 6.4656 18.5523 5.99997 18 6L7.25042 6C6.49432 5.99973 5.85623 6.5848 5.76172 7.365L5.01175 13.605C4.95797 14.0494 5.09046 14.4964 5.37549 14.8322ZM18 12.76L15.5001 12.76L15.5001 7.04L18 7.04L18 12.76Z",fill:"#999999"})})}function bee(e){let t="M20 36C20 24.9543 28.9543 16 40 16H257.86C268.927 16 277.889 24.987 277.86 36.0535L277.827 48.3118L290.977 55.6076C292.303 56.3429 292.36 58.2274 291.083 59.0426L277.827 67.5L277.896 146.983C277.906 158.035 268.949 167 257.896 167H40C28.9543 167 20 158.046 20 147V36Z",n="M20 36C20 24.9543 28.9543 16 40 16H272C283.046 16 292 24.9543 292 36V147C292 158.046 283.046 167 272 167H40C28.9543 167 20 158.046 20 147V36Z",r=e.hiddenArrow?n:t;return m("svg",{className:e.className,xmlns:"http://www.w3.org/2000/svg",width:"312",height:"191",viewBox:"0 0 312 191",fill:"none",children:[m("g",{filter:"url(#filter0_d_37759_1828)",children:[m("path",{d:r,fill:"white"}),m("path",{d:r,fill:"url(#paint0_radial_37759_1828)"}),m("path",{d:r,fill:"url(#paint1_radial_37759_1828)"}),m("path",{d:r,fill:"url(#paint2_radial_37759_1828)"}),m("path",{d:r,fill:"url(#paint3_radial_37759_1828)"}),m("path",{d:r,fill:"white","fill-opacity":"0.4"}),m("path",{d:r,fill:"url(#paint4_linear_37759_1828)"})]}),m("defs",{children:[m("filter",{id:"filter0_d_37759_1828",x:"0",y:"0",width:"312.007",height:"191",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB",children:[m("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),m("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),m("feOffset",{dy:"4"}),m("feGaussianBlur",{stdDeviation:"10"}),m("feComposite",{in2:"hardAlpha",operator:"out"}),m("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),m("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_37759_1828"}),m("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_37759_1828",result:"shape"})]}),m("radialGradient",{id:"paint0_radial_37759_1828",cx:"0",cy:"0",r:"1",gradientTransform:"matrix(107.608 88.6724 -159.27 81.6407 119.877 68.4015)",gradientUnits:"userSpaceOnUse",children:[m("stop",{"stop-color":"#757ED8"}),m("stop",{offset:"1","stop-color":"#6B6AC0"})]}),m("radialGradient",{id:"paint1_radial_37759_1828",cx:"0",cy:"0",r:"1",gradientTransform:"matrix(76.554 64.6602 -101.321 48.8544 20 26.0583)",gradientUnits:"userSpaceOnUse",children:[m("stop",{"stop-color":"#AED5FF"}),m("stop",{offset:"1","stop-color":"#AED5FF","stop-opacity":"0"})]}),m("radialGradient",{id:"paint2_radial_37759_1828",cx:"0",cy:"0",r:"1",gradientTransform:"matrix(-101.321 104.175 -140.222 -55.5426 251.913 16)",gradientUnits:"userSpaceOnUse",children:[m("stop",{"stop-color":"#E0C4F6"}),m("stop",{offset:"1","stop-color":"#E0C4F6","stop-opacity":"0"})]}),m("radialGradient",{id:"paint3_radial_37759_1828",cx:"0",cy:"0",r:"1",gradientTransform:"matrix(117.083 -48.8544 76.554 74.7185 20 164)",gradientUnits:"userSpaceOnUse",children:[m("stop",{"stop-color":"#E0C4F7"}),m("stop",{offset:"1","stop-color":"#E0C4F7","stop-opacity":"0"})]}),m("linearGradient",{id:"paint4_linear_37759_1828",x1:"116.09",y1:"16",x2:"129.424",y2:"110.759",gradientUnits:"userSpaceOnUse",children:[m("stop",{"stop-color":"white","stop-opacity":"0.3"}),m("stop",{offset:"1","stop-color":"white"})]})]})]})}var ZD="sidePanelNewUserActivityShown";function XD(e){let[t,n]=z(!1),[r,i]=z(null),{ctx:a,config:o,forceVisible:s}=e,u=Te(async()=>{try{if(!a||!a.user||!o)return!1;let c=await Re({url:`${j.PRICING_WORKER_BASE_URL}/goods?lang=${a.config.interfaceLanguage}&group=year_discount_7_year_trial_3`,method:"GET",headers:{"Content-Type":"application/json"}});if(!c.newUserActInfo)return!1;let d=c.entities.year;return c.newUserActInfo.discountRate&&(d.unitAmount=(1-c.newUserActInfo.discountRate)*d.unitAmount,d.displayedPrice=JD(d.unitAmount,d.currencySymbol)),i(c.entities),!0}catch{return!1}},[a,o]);G(()=>{let c=!1;async function d(){!a||!a.user||!o||await le.getValue(ZD,!1)&&!s||!Dp({user:a.user,config:o})||!await u()||c||(n(!0),await le.setValue(ZD,!0))}return d(),()=>{c=!0}},[a,o,s,u]);let l=de(()=>{if(!r)return"";let c=r?.year;return JD(c.unitAmount/12,c.currencySymbol)},[r]);return{isVisible:t,goods:r,monthlyPrice:l,setIsVisible:n}}var vee=["bif","clp","djf","gnf","jpy","kmf","krw","mga","pyg","rwf","ugx","vnd","vuv","xaf","xof","xpf"];function JD(e,t){if(vee.includes(t))return`${t}${e}`;let n=e/100;return n%1===0?`${t}${n.toFixed(0)}`:n*10%1===0?`${t}${n.toFixed(1)}`:`${t}${n.toFixed(2)}`}var xee=It.subscriptionActCss;function Yp(e){let{ctx:t}=e,{t:n}=ee(),{isVisible:r,goods:i,monthlyPrice:a,setIsVisible:o}=XD({ctx:e.ctx,config:e.config,forceVisible:e.forceVisible});if(G(()=>{qt(document,xee,"imt-imt-sub-act-css")},[]),!r||!t?.user||!i)return null;let s=[n("newUserActivity.pointUnlockModels"),"PDF Pro",n("newUserActivity.pointComic"),n("newUserActivity.pointAll")],u=()=>{Zo(j.PRICING_URL,"side_panel_new_user"),o(!1)};return m("section",{class:"imt-sub-act-card","aria-label":n("newUserActivity.title"),children:[m(Cee,{user:t.user}),m("div",{class:"imt-sub-act-body",children:[m("div",{class:"imt-sub-act-price",children:[m("span",{class:"imt-sub-act-price-month",children:[m("span",{children:a}),m("span",{class:"imt-sub-act-price-unit",children:n("newUserActivity.monthlyUnit")})]}),m("span",{class:"imt-sub-act-price-yearly",children:[i?.year.displayedPrice,n("newUserActivity.yearlyUnit"),m("span",{class:"imt-sub-act-price-original",children:[i?.year.originalDisplayedPrice,n("newUserActivity.yearlyUnit")]})]})]}),m("ul",{class:"imt-sub-act-points",children:s.map(l=>m("li",{children:[m("img",{class:"imt-sub-act-point-icon",src:td.check,alt:"","aria-hidden":"true"}),m("span",{children:l})]},l))}),m("button",{type:"button",class:"imt-sub-act-cta",onClick:u,children:[m("img",{class:"imt-sub-act-cta-icon",src:td.upgrade,alt:"","aria-hidden":"true"}),n("newUserActivity.cta")]})]}),m("div",{class:"imt-sub-act-close",onClick:()=>o(!1),children:m("img",{src:td.close,alt:"","aria-hidden":"true"})})]})}function Cee(e){let{t}=ee(),{user:n}=e;return m("div",{class:"imt-sub-act-banner",children:[m("div",{class:"imt-sub-act-banner-bg"}),m("img",{width:55,class:"imt-sub-act-banner-left",src:td.bannerLeft,alt:"","aria-hidden":"true"}),m("img",{height:152,class:"imt-sub-act-banner-right",src:td.bannerRight,alt:"","aria-hidden":"true"}),m("div",{class:"imt-sub-act-banner-content",children:[m(Tee,{endTime:Pp(n)}),m("div",{class:"imt-sub-act-banner-text",children:m("span",{class:"imt-sub-act-banner-label",children:t("newUserActivity.title")})})]})]})}function $D(e){let t=Math.max(e-Date.now(),0),n=Math.max(Math.ceil(t/1e3),0),r=Math.floor(n/3600),i=Math.floor(n%3600/60),a=n%60;return{hours:r,minutes:i,seconds:a}}function Tee({endTime:e}){let[t,n]=z({hours:0,minutes:0,seconds:0});return G(()=>{let r=setInterval(()=>{let{hours:s,minutes:u,seconds:l}=$D(e);n({hours:s,minutes:u,seconds:l})},1e3),{hours:i,minutes:a,seconds:o}=$D(e);return n({hours:i,minutes:a,seconds:o}),()=>{clearInterval(r)}},[]),!t.hours&&!t.minutes&&!t.seconds?null:m("div",{class:"imt-sub-act-countdown","aria-hidden":"true",children:[m("span",{class:"imt-sub-act-countdown-item",children:t.hours.toString().padStart(2,"0")}),m("span",{class:"imt-sub-act-countdown-item-separator",children:":"}),m("span",{class:"imt-sub-act-countdown-item",children:t.minutes.toString().padStart(2,"0")}),m("span",{class:"imt-sub-act-countdown-item-separator",children:":"}),m("span",{class:"imt-sub-act-countdown-item",children:t.seconds.toString().padStart(2,"0")})]})}var td={close:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAAJFBMVEUyMjIAAAA7OzsyMjI0NDQzMzMyMjIzMzMyMjJAQEA0NDQ0NDQKhhPZAAAADHRSTlNmAA1gWVpNLTMGQCzyin9SAAAAsklEQVQY012PPQrCQBCFH+ZP7XYKUSsHkz7YiF3ICUJOEDvBJiBYa2OteAG9qW+Ci6wDs7xvHjs/cM4tblV0VAqCdGBMdYAThtgazPGNK6H3kDlI6SFSLPmSLfdYAZsCaJ/ABD1BmkTXwBgcEmvRSgWksP+1aA4WmWbR8JGoNIOwUita2CB0ZuS1WSku1rqKrXWGO7DL2ZAwwuy3zjtYNDghOO7vbCcv06kakM5lfHhQfABSNxf+upZISQAAAABJRU5ErkJggg==",check:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDE2IDE2Ij48Y2lyY2xlIGN4PSI3Ljc3NyIgY3k9IjcuNzc4IiByPSI3IiBzdHJva2U9IiMzMzMiIHN0cm9rZS13aWR0aD0iMS41NTYiLz48cGF0aCBzdHJva2U9IiMzMzMiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjU1NiIgZD0iTTQuMjc3IDcgNyA5LjcyMmw0LjI3Ny00LjI3OCIvPjwvc3ZnPg==",upgrade:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAC6V+0/AAAANlBMVEUAAAD////////////////////////////////////////////////////////////////////xY8b8AAAAEXRSTlMAIBDf789AMGCAcJ+/sJBQoGZVqE8AAACSSURBVBjTnY9JEgIxCEXhM6ST9OC//2W12zJRd8oG6gGvQP4NzfwiqE7n8sGarw0SA0JFurez9HyZjAwrbS2SxIuFbq4gTfo2GPT0B3dlecKDtmz9aqvt47ib8dIjDG83h+npcZ0MibBSfeUcXJyhQTvAMuasqh/wKt3GehLJlBrdy/yZzioCPthU7i2vXOTnuANKuQQ8k6D5DgAAAABJRU5ErkJggg==",bannerLeft:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADcAAAA7CAMAAADox+IPAAAC8VBMVEUAAADfcZLhudfht9jivNvfttXds9TfcJLft9jysMru2OniudvittXis9Xfs9Tgc5T13+/esNPw2evkvtviudjys8z35fPzudDcsNKjhJrirtPwt8r13Ozzts7fbpD88/vgaonetdTupr7y3uzox+HvsMTto73piqjxrsry4O/zpsPyibb49f35x+HdrNH1q8fuqsLnfp7u1Obw3ezyzuntxuPnw971xdn0wNXbqc7us8fznLrNjLjzkrffbI7fY4P27Pjry+PvyeH1udLhqNHzsMftnLr3irnul7frkbDke5zidpbdaovpTYfoUmfjPU7nK0W5eYu9hpjy4/Dhvdj7utjin8zRl8DvjLLoha/3eK7xeqXqgaHrYpLuV4rvYYXSFk7EG0rzx+3IucX8+//11ujuv+HzvNTvssrwrMbUnMPwncDviajqgafsdKHuUXvqR2vxPmr9zef4z/L3xOfzv+Twwtr04e/84fX28fvwwOj2s872nsjilsPekLvjj7rnjLniha3ya6H1XZ7qbpztbZDxToLgWnzmVHjRTHXrV3TJPGXuNmPnS1/ZKl/rLFrUI1nhRVT3lL36faf6gaj83PP28Pb0fazz5/HWu9Hx6ff81u75vujgudjtxNftvtX2s9Xzp9Put9DYpcrRkLvHgrHygq30f53XWoPSU3zpYHfeUnTpTnSyM1XSEh/MCBDudJn//P//+v//cKb7c4v/////3fz/1/T/4fr8rtD44PP59Pn1zuvgo77vvt3wW47mkavQjaXyud3qncPShLPKg7Lulq3bhKzQbaDOeZrEXILeSH3pRnvWMmfoIEm1DjapHDXdFCGoAiH7uNT/8f//sNf////+Z539/P32xPD4r8jui6nwu+z39PXemK776fbaqMLbO2ziZ3jkO2SsIEDkHjGMHSyBAAvanMj/3fn5xvH/3vb/d6//w+L6msP/ZILSjrn9ap//ianojavslLL/jKT//f/iUX7wO2fwjrD1zuKerCe/AAAA+3RSTlMAsrKysrKysrKysrKysrKysrKysrKysrKyB7KysrKysrKysrKysrKysbKysrKysrKysrGysrKysrKysrKysrKysrKysrKysrKysrKysrKysrINCrKysrKysrKysrKysrKysrEQsrKysrKysrKysrKysrKxsHJkT0UnsrKysrKysrKysrKysrKysrKysrKysrKysrCwqXVyVR8asrKysrKysrKysrKysrKysrKysrKysq+rpaKbl5WRgnxoYl1DPTg0J7KysrKysrKysrKysrKysrKyoJWVkY+KgHBoVlRNNCwnsrKysrKysaWlpKOhoaGampeSiIN6cUVENDa4um0AAAbuSURBVEjHndZlVBtBEAfwkMtF7nJJcyFOQqSQEiQU91KoUCjQFiktBeru7u7u7u7u7u7u7u72qbObQOU1VIZHHgfvx39vZzYXzu9K03FL+92cf66v0/SNVKppnf+R1fPXqaD04bfQ1fnN1f7StY/SR4Q3imikaFtVw7lg1ftP+KPstAYWtymqVM7zS+uSdI03cjqNsilEpfwnaIp3a3yUG6ZcC8zdBT/fqRmYWG3sSX+RSARya3HyRlCDqT7xQS0m4auqNQPPDSjwVygQbNK2k2tXX2fTs/GW/usn48tdLUQFNpVeDxBkW5dsW5BZYY+NVrYccHADSA1nnfeACAU4DF+4Yho/nZcisVnzRS1j06z1L07mdLC2jAYCDL1uceUmUmav/sn+0bkFvjkjlk71u9xSkRdtt5eHEonKd3M1QFX95kbZTw+rXTF80ajuOWnpgX4+9rzmNlt5u0rRpEn5LJe352mOyj1dX7mkdvdFx5vFDq0yolS7/Nxoe2xqhEIlsm9xPV5R9lPaDA9P5ZCRvn19owuqPEhv1TI6duDABJFIn7gD7cCejh227/ylkxe9o2rer8+WKGHxLDFkdL+a0QurnGmdVyu/TfNGKpiZxE23N7XNUiUmqqZN+JFNDvey1ZkbzJaA8vBsMKR2P1/b0FF9+7YZPte7sU7fWFSqm76bXq+Hided/8FtgLgV9Sk2Q+mQISArLhw4fNTqpEoVzF46iBSJIsLDIyIiGqk6FrHOKC6MYi1EWR8lgh6eCcNq59vaVNkXV9oKsknjxqUCY8etu/RmXAXVsyK31ltXc5gfFVySJ88sWUIJEOSsYVmxzZaVMaYg6d1E9ekO3pPPeVlVnezWLC9znUyKYgkeTy7nloRMC8jpY+fkDx48qIxRimTSxHocXK/ibhbGmXUVH4VSwWE8VHIekh4eDULmnBw+sNVyJFOSrdayfh9BVlufdvy987zO9PI+tsKPokyZNM9BuWi1DWZ3P7OqSpvWSFaWjkhPM3p/WJ82ZkSrd85RgbizIVQwT8hFhaGcALk3cXrBSiyXLas1YGnamPQxY9LT0/tfw+zGLEdckExIEOAgE0smbK/BmtW9Fcjh9/J9KyQ1X10wNK310NyKVb/HeVAWIY8kSaGQcGTSNJNdWhBXudLssa1Wtp6zeHS/hTnNmiUlVUgatwezbXB3qUe7UBnzYvhygCROdXcXa3tL3dzcKiPZIqRdyOKRfXNT8/rnjS88CIE631NKiqLIeTHz1TzShDIJQqztUcvg5iZwk0Jmt4TQhkp28Ujf5kvvWrOqOeICIS4eei7n8ufFxARkghSTBFOuNyAE3aSGQQ0TEhomxHssGV3RZj2I2qdBcXXiKZZyh75xyciYmEhaLJEw2l61DMjhkrIhoaEJoaynZUlt31Ln0LlrEGhOPRLPWsLk4KDEWDKy7BoGLNBLmXIBYSDLlmVZT+XDkRc4UG11OaO7UGwQFxyN+0cEzN8fyfQujRwuQTIt5hIlqSCAlozwfHR/Hb3MqYeUVLAcOgbfsJEEkvsPQ5wAiBQiy2gZMcGjQVJBFp8u+H3ZX5dzAsURPGfRwAht5KHkopur3IeQSITcTB4tDPNR+iinANsRZU7tmUH50EWMR7uD6wk9cEKpkZFJSJLg0pk8HhFmUU4Ed1UXW8ePYstyixjP3d2dKdcnBa8Ss54ymYwvIdHwwt+FYWtQnteJIxlUcNEqgcEdanvAphTCFGEAOL6JdE6gcCO4PdC7oOCSaJZpnEfjuBpSgQAQYsbD1cV8GR8K5gjBUHx8d62eSllM4GjYS5rrDgUTlowZ7kGKcP6Bplws8diTEwrnky1JcL8XARPWAuLA4B6UExOS6guazkCJJtifuhqnW8vyvzsc1wviBDhMENeHZqDn/OoHmhIkourtHGddlsPKf4jTZreANRb2gGDEYvRv+SiTlPHbfX+ARaKVC2cgBAyOXQowR2DlXoSYwOWQQvHOIqe50pWvxtuMGMFk1yrsABw9WCVALnJIvt7607OvvUOS+LjWgDhnnrEHwwATEg5HhE759SHdoS5IGAqxNru0Ae8lPrA0w5DOdYIUbv4JFUq1ms/IoOVIYGnMhjgxvGvAF4qr+/tPTtfrqgMCepYWYAbYkAx3JxGTmEGZtnJcVMfpj2sUHQM4dloJNBocRMIy23Fc10sYaGdgHBw77EghglxTp2Lc1ThADoeOncRkwpCEpT7hFFeTxgkc7TP2Aibhk6jwQjsX60CON+BdkQWgMyBxQv5Gzh/ry3iD1LgvMkCNoQS7htDyP9fu8W81VxqqMcSR/M3Fg1/GzylJfojmrxkeokK5nfOPdR0Nrrod599r51MZ9OB/6nb7X3/zDUN2vK5FmGo5AAAAAElFTkSuQmCC",bannerRight:"data:image/png;base64, "};function z9(){let e=zn();return m("div",{"data-theme":e,children:m(See,{})})}function See(){let{config:e,ctx:t,ctxRef:n,settingsHookValue:r,refreshCtx:i}=Fp(),[a,o,s,u,l]=r,[c,d]=z("auto"),[g,f]=z([]),[p,h]=z([]),{expand:C,setExpand:y}=RD(),[v,b]=z(!1),x=$(!1);x.current=v;let[T,S]=z(0),E=$(i);E.current=i;let A=$(null),M=()=>{x.current||se({key:"reward_center_open",ctx:t,params:{trigger:"side_panel"}}),b(!v)},{t:P}=ee(),B=e&&wt(e.rtlLanguages??[],e.interfaceLanguage),[O,R]=z([]);G(()=>{async function J(){if(!t)return;let re=await jD(t),Q=await Yr(t,"translationService","zh-CN",re)||[];R(Q)}J()},[t]);let _=de(()=>t?O.filter(J=>p.includes(J.id)):[],[t,O,p]),F=de(()=>Ka(O,P),[O]),[L,D]=z([]),w=$([]);w.current=L;let N=Te(async(J,re,Q,ie)=>{t&&(d(re),f(Q),h(J),D([]),L9({ctx:t,sourceLang:re,text:ie,services:J,targetLangs:Q,callback:xe=>{let be=w.current.find(ae=>ae.service===xe.service&&ae.targetLang===xe.targetLang);be?(be.loading=!1,be.translateText=xe.translateText,be.error=xe.error,D([...w.current])):(w.current.push(xe),D([...w.current]))}}))},[t,w]),V=Te((J,re)=>{let Q=w.current.find(ie=>ie.service===J&&ie.targetLang===re);!t||!Q||L9({ctx:t,sourceLang:c,text:Q.text,services:[J],targetLangs:[re],callback:ie=>{Q.translateText=ie.translateText,Q.loading=ie.loading,Q.error=ie.error,D([...w.current])}})},[t,w,c]),H=Te(J=>{h(p.filter(re=>re!==J))},[p]),[q,K]=z(!1);return G(()=>{wm()=="content"&&K(!0)},[]),G(()=>{let J,re=({method:Q,data:ie})=>{switch(Q){case"openRewardCenter":x.current?(b(!1),p7()):(b(!0),se({key:"reward_center_open",ctx:n.current,params:{trigger:ie?.trigger||"float_ball"}}));break;case"refreshRewardCenter":b(!0),S(xe=>xe+1);break;case"updateContext":E.current?.();break;case"close":J?.dispose();break}};return J=Ta({type:"side_panel",name:"reward_center"},re,{backlog:!0,confirm:"manual"}),location.href.includes("openRewardCenter=true")&&re({method:"openRewardCenter",data:{trigger:"popup"}}),()=>{J?.dispose()}},[]),t?m(Oe,{children:[m("div",{className:"notranslate imt-side-panel",dir:B?"rtl":"ltr",ref:A,children:[q&&m(Pn,{class:"panel-close-icon",onClick:()=>{co(t,"panel",!1)}}),m(UD,{ctx:t,selectServices:p,serviceItems:O,groupServiceItems:F,resultsRef:w,onTranslate:N}),m(Yp,{ctx:t,config:e}),m(wee,{ctx:t,config:e,serviceItems:_,langs:g,results:L,onDeleteService:H,onRefresh:V}),m("div",{style:{height:C?160:50}}),m(Eee,{ctx:t,expand:C,setExpand:y,toggleRewardCenter:M,rewardCenterVisible:v}),m(O9,{visible:v,onClose:M,ctx:t,refreshKey:T,setSettings:o})]}),m(Kp,{ctx:t,displayPosition:"sidePanel"})]}):null}function Eee({ctx:e,expand:t,setExpand:n,toggleRewardCenter:r,rewardCenterVisible:i}){let{t:a}=ee(),[o,s]=z(!1),[u,l]=z(null),[c,d]=z(""),g=$(e);g.current=e,G(()=>{(async()=>{let A=await Qp(g.current,{useNewUser:!1,useUsageCondition:!1});d(A?.reviewUrl||"")})()},[]);let f=Te(()=>{s(!0),setTimeout(()=>{s(!1)},1200)},[]);G(()=>{(async()=>{let{userValue:A,localValue:M}=await Xn("rewardCenterClicked"),P=A||M;l(!!P),P||f()})()},[]),G(()=>{let A=setInterval(()=>{u||nu(e)?clearInterval(A):f()},2e3);return()=>clearTimeout(A)},[f,e,u]);let p=VD(i),h=Te(()=>{s(!1),Nr("rewardCenterClicked",!0),l(!0)},[]),[C,y]=D9(),v=e.config?.sidePanel||{},b=nu(e),x=async()=>{let E=await zD();if(E){let A=E.langs[0],M=encodeURIComponent(E.text.trim()),P=`${j.APP_BASE_URL}text#${E.sourceLang}/${A}/${M}`;Dl(P,"translate_text")}else Dl(j.APP_BASE_URL+"text","translate_text")},T=(v.i18n?.[e.config.interfaceLanguage]||v.i18n?.en)?.upgradeTitle,S=v.upgradeUrl;return m("div",{className:"side-footer",children:[m("div",{className:"footer-expand",style:{marginBottom:t?4:-12},onClick:()=>n(!t),children:t?m(mn,{}):m(cM,{})}),m("div",{className:"footer-area",style:{display:t?"flex":"none"},children:[m("div",{className:"divider"}),m("span",{className:"footer-area-title",children:a("alsoTranslate")}),m("div",{className:"footer-area-buttons-wrapper",children:[m("div",{className:"footer-area-button",onClick:()=>Dl(j.APP_BASE_URL,"translate_file"),children:[m(gM,{}),a("translateFile")]}),m("div",{className:"footer-area-button",onClick:()=>Dl(j.APP_BASE_URL+"image","translate_image"),children:[m(mM,{}),a("translateImage")]}),m("div",{className:"footer-area-button",onClick:x,children:[m(fM,{}),a("translateText")]})]})]}),m("div",{className:"side-footer-preview",children:[e.isPro?m("div",{className:"empty-space"}):m("a",{className:"upgrade",target:"_blank",href:S,onClick:()=>y(!0),children:[m(uM,{}),m("span",{children:T})]}),m(kee,{hidden:!p||u||b,onClick:()=>{h()}}),m("div",{className:"action-buttons",children:[!b&&m("div",{className:"action-icon-wrapper",onClick:()=>{r(),h()},children:[m("div",{className:`action-icon${o?" bounce-animate":""}`,children:m(ml,{})}),m("span",{className:"reward-center-text",children:a("rewardCenter.title")})]}),m(vt,{text:a("storeGuide.tint"),position:"top",hidden:!c,children:m("div",{className:"action-icon",onClick:()=>{Ll({hiddenArrow:!0,storeReviewUrl:c,trigger:"sidePanel"})},children:m(rM,{})})}),m("div",{className:"action-icon",onClick:()=>Dl(j.TUTORIAL_URL,"help_center"),children:m(Zf,{})}),m("div",{className:"action-icon",onClick:()=>ri(!1,"",!1),children:m(Yf,{style:{width:18,height:18},fillColor:"#999"})})]})]})]})}function Dl(e,t){try{if(!Me()&&qn()){Be.tabs.create({url:`${e}?utm_source=extension&utm_medium=extension&utm_campaign=side_footer_${t}`});return}globalThis.open(`${e}?utm_source=extension&utm_medium=extension&utm_campaign=side_footer_${t}`,"_blank")}catch{globalThis.open(`${e}?utm_source=extension&utm_medium=extension&utm_campaign=side_footer_${t}`,"_blank")}}function wee({ctx:e,config:t,serviceItems:n,langs:r,results:i,onDeleteService:a,onRefresh:o}){let{t:s}=ee(),[u,l]=z(!1),c=g=>{Hp(g),l(!0),setTimeout(()=>{l(!1)},2e3)},d=(g,f)=>{let p=new AbortController;jp({text:f,lang:g,provider:"WebSpeech",signal:p.signal})};return t?m("div",{className:"results-container",children:i.length>0&&n.map((g,f)=>{let p=r.map(h=>{let C=i.find(x=>x.service===g.id&&x.targetLang===h),y=wt(e.config.rtlLanguages,h),v=C?.translateText,b=C?.loading||!C?.translateText&&!C?.error;return m("div",{className:"result-container",children:[v&&!C.error&&m("pre",{dir:y?"rtl":"ltr",children:v.trim()}),b&&m("div",{className:"skeleton-loader",children:[m("div",{className:"skeleton-text-line short"}),m("div",{className:"skeleton-text-line medium"})]}),m(Aee,{ctx:e,error:C?.error,onRefresh:()=>o(g.id,h)}),m("div",{className:"result-lang",children:[m(vt,{text:s(u?"selectionTranslationCopySuccess":"selectionTranslationCopy"),children:m("div",{className:"icon",onClick:()=>c(v??""),children:m(Kf,{})})}),m("div",{className:"icon",onClick:()=>d(h,v),children:m(dl,{})}),m("div",{style:{flex:1}}),Ln(h,t?.interfaceLanguage,!1,!0)]})]})});return m("div",{className:"service-wrapper-container",children:[m("div",{className:"service-wrapper",children:[m("img",{src:g.icon,className:"icon"}),m("span",{children:g.name}),m("div",{className:"close-icon",onClick:()=>a(g.id),children:m(Pn,{})})]}),p,m("div",{className:"divider",hidden:f===n.length-1})]})}).flat()}):null}function Aee({ctx:e,error:t,onRefresh:n}){let{t:r}=ee(),[i,a]=D9();if(!e||!t)return null;let o=t.uiConfig(e),s=o.errMsg||"",u=kn?.createHTML(s)||s;return["upgrade","login"].includes(o.action||"")?m("div",{className:"error-result error-info",children:[m("div",{className:"error-message",dangerouslySetInnerHTML:{__html:u}}),m("div",{className:"upgrade-button",onClick:()=>{Dl(j.PRICING_URL,"upgrade"),a(!0)},children:[m("svg",{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:m("path",{d:"M6.7482 17.3325C7.46127 17.5702 7.69894 16.9165 7.40183 16.6788C6.45109 16.0252 5.97572 14.8368 6.33226 13.7672C6.68879 12.5788 7.63953 12.1034 7.63953 10.3208C7.63953 10.3208 8.82795 11.2121 8.59027 12.5788C9.77869 11.2121 9.2439 9.42947 9.00623 8.59756C12.0367 10.2019 14.6512 13.7078 11.6208 16.6788C11.2642 16.9759 11.6208 17.5107 12.1556 17.3325C20.4151 12.6382 14.1759 5.62648 13.1063 4.79459C13.4628 5.62648 13.5223 6.93375 12.8092 7.5874C11.5613 2.89312 8.53088 1.94238 8.53088 1.94238C8.8874 4.37865 7.1642 6.9932 5.5598 9.01352C5.50039 8.00336 5.44098 7.34973 4.96559 6.4584C4.84676 8.18162 3.48006 9.60772 3.12355 11.3904C2.64818 13.7672 3.48008 15.4904 6.74826 17.3325L6.7482 17.3325Z",fill:"#FFC736"})}),r("upgradeToPro")]})]}):m("div",{className:"error-result error-warning",children:[m("div",{className:"error-message",dangerouslySetInnerHTML:{__html:u}}),m("div",{className:"retry-button",onClick:n,children:m(Ik,{})})]})}function kee({hidden:e,onClick:t}){let{t:n}=ee();return e?null:m("div",{className:"reward-center-popup",children:[m("div",{className:"popup-content",children:[n("rewardCenter.popupTitle"),m("div",{className:"popup-close-icon-wrapper",onClick:t,children:m(Ok,{})})]}),m(_k,{class:"reward-center-triangle"})]})}var Jp=!1,Zp=!1,Xp=150,H9=362,nP="mock-side-panel-width",V9="cursor-mock-side-panel-host",Pl=!1,Rl=!1;function nd(){return Jp}async function Mee(e,t){if(globalThis.top!==window||t&&Jp||Zp)return;let r=`${await Ree()}px`,i="6px",a=document.getElementById(V9),o=It["side-panel.css"],s=It["reward-center.css"];if(a)rP();else{Jp=!0,Zp=!0,a=document.createElement("div"),a.id=V9,a.setAttribute("style",`
      all: initial;
      position: fixed;
      top: 0px;
      right: 0px;
      width: ${r};
      height: 100%;
      z-index: ${Kn};
      background-color: white;
      display: flex;
      transform: translateX(100%);
      transition: transform ${Xp}ms ease-out;
      `),document.documentElement.appendChild(a);let u=a.attachShadow({mode:"open"}),l=document.createElement("div");Object.assign(l.style,{width:i,height:"100%",cursor:"col-resize",backgroundColor:"transparent",borderRight:"1px solid #d1d1d1",borderLeft:"1px solid #d1d1d1",boxSizing:"border-box"});let c=document.createElement("div");c.id="mount",Object.assign(c.style,{flexGrow:"1",height:"100%",overflow:"auto",backgroundColor:"white"});let d=document.createElement("style");d.textContent=o;let g=document.createElement("style");g.textContent=s,Zt(m(Oe,{children:m(Ui,{lang:e.interfaceLanguage,children:m(z9,{})})}),c),u.appendChild(d),u.appendChild(g),u.appendChild(l),u.appendChild(c),requestAnimationFrame(()=>{a&&(a.style.transform="translateX(0)",Dee(r),a.addEventListener("transitionend",()=>{Zp=!1},{once:!0}))});let f=!1,p=0,h=0;l.addEventListener("mousedown",v=>{f=!0,p=v.clientX,h=a.offsetWidth,c.style.pointerEvents="none",a.style.transition="none",v.preventDefault(),document.addEventListener("mousemove",C),document.addEventListener("mouseup",y)});let C=v=>{if(!f||!a)return;let b=v.clientX-p,x=h-b,T=globalThis.innerWidth*(2/3);x>T?x=T:x<H9&&(x=H9),Nee(x),a.style.width=`${x}px`,Lee(`${x}px`)},y=()=>{f&&(f=!1,c.style.pointerEvents="auto",a&&(a.style.transition=`transform ${Xp}ms ease-out`),document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",y))}}}function rP(){let e=document.getElementById(V9);e&&(e.remove(),Pee(),Jp=!1),he({type:"side_panel",name:"reward_center"},{method:"close"},!0)}Br.toggleMockSidePanel=Mee;Br.getIsOpenSidePanel=nd;Br.closeMockSidePanel=rP;function iP(e,t){let n=document.documentElement,r=document.body,i=getComputedStyle(r).position,a=i==="fixed"||i==="absolute",o=`padding-right ${Xp}ms ease-out`;a?(eP(r,o,t),tP(r,!0),r.style.setProperty("padding-right",e,"important"),n.style.removeProperty("padding-right"),n.style.removeProperty("transition"),n.style.removeProperty("box-sizing"),Pl&&(n.style.removeProperty("position"),Pl=!1),Rl=!0):(eP(n,o,t),tP(n,!0),Pl=Iee(n,Pl),n.style.setProperty("padding-right",e,"important"),Rl&&(r.style.removeProperty("padding-right"),r.style.removeProperty("transition"),r.style.removeProperty("box-sizing"),Rl=!1))}function eP(e,t,n){n?e.style.setProperty("transition",t,"important"):e.style.removeProperty("transition")}function tP(e,t){t?e.style.setProperty("box-sizing","border-box","important"):e.style.removeProperty("box-sizing")}function Iee(e,t){if(t)return e.style.setProperty("position","relative","important"),!0;let n=getComputedStyle(e).position==="static";return n&&e.style.setProperty("position","relative","important"),n}function Lee(e){iP(e,!1)}function Dee(e){iP(e,!0),setTimeout(()=>{Rl?document.body.style.removeProperty("transition"):document.documentElement.style.removeProperty("transition"),Zp=!1},Xp)}function Pee(){let e=document.documentElement,t=document.body;e.style.removeProperty("padding-right"),e.style.removeProperty("transition"),e.style.removeProperty("box-sizing"),Pl&&e.style.removeProperty("position"),Rl&&(t.style.removeProperty("padding-right"),t.style.removeProperty("transition"),t.style.removeProperty("box-sizing")),Pl=!1,Rl=!1}async function Ree(){let e=await Ie.local.get(nP,H9);return typeof e=="string"?parseInt(e):e}async function Nee(e){await Ie.local.set(nP,e)}var aP="imt-float-ball-active",G9="floatBallGuideShowCount",Nl=null,Fl=null;function uP(){let[e,t]=z("Original");return G(()=>{let n=rt();t(n);let r=i=>{t(i.detail)};return document.addEventListener(_a,r),()=>{document.removeEventListener(_a,r)}},[]),{pageStatus:e}}function lP(){let[e,t]=z("Original");return G(()=>{let n=Pu();t(n);let r=i=>{t(i.detail)};return document.addEventListener(Ua,r),()=>{document.removeEventListener(Ua,r)}},[]),{mangaStatus:e}}var Fee={position:"right",top:335};function cP({handleBallClick:e,isShow:t,localConfig:n,handleMobileBallLongPress:r,popupVisible:i,closeVisible:a,closeVisibleRef:o,rule:s,updateFloatBallRule:u}){let l=$(null),c=$(null),[d,g]=z(!1),f=$(!1);f.current=d;let p=$(null),[h,C]=z(!1),y=$(!1);y.current=h;let v=$(n.floatBallConfig||Fee),b=$(0),x=$(0),T=$(!1),S=$(0),E=$(0),A=$(0),M=$(0),P=$(!1),B=$(!1),O=Te(R=>{if(!(i||o.current))if(clearTimeout(p.current),R)g(R);else{let _=Pe().any||_n(n);p.current=setTimeout(()=>{g(R),T.current=!1},_?3e3:0)}},[g,p,T,i,o,n]);return G(()=>{if(a){g(!0);return}i||g(!1)},[i,a]),G(()=>{if(l.current&&v.current){let R=W9(v.current.top);v.current.top=R,l.current.style.top=`${R}px`,l.current.style.display="flex"}},[t,l]),G(()=>{if(!c.current||!l.current)return;let R=V=>{V.preventDefault&&V.preventDefault(),b.current=V.clientX,x.current=V.clientY,S.current=Date.now(),B.current=!1,C(!1),y.current=!1,clearTimeout(p.current),O(!0),A.current=V.clientX,M.current=V.clientY,P.current=!1,(Pe().any||_n(n))&&(clearTimeout(E.current),E.current=setTimeout(()=>{oP({startX:b.current,startY:x.current,endX:A.current,endY:M.current})||(P.current=!0,r())},500)),document.addEventListener("mousemove",_),document.addEventListener("mouseup",F),document.addEventListener("touchmove",D,{passive:!1}),document.addEventListener("touchend",w,{passive:!1}),document.addEventListener("touchcancel",w,{passive:!1})},_=V=>{if(V.preventDefault&&V.preventDefault(),!l.current||!c.current||(A.current=V.clientX,M.current=V.clientY,P.current))return;if(oP({startX:b.current,startY:x.current,endX:V.clientX,endY:V.clientY})&&!B.current){B.current=!0,C(!0),y.current=!0;let ae=globalThis.getComputedStyle(l.current),ue=parseFloat(ae.left),ce=parseFloat(ae.right);l.current.style.left="auto",l.current.style.right="auto",v.current.position==="right"?l.current.style.left=`${globalThis.innerWidth-ce-l.current.offsetWidth}px`:l.current.style.left=`${ue}px`}if(!y.current)return;let q=c.current.getBoundingClientRect(),K=l.current.getBoundingClientRect(),J=q.width/2+(q.left-K.left),re=q.height/2+(q.top-K.top),Q=V.clientX-J,ie=V.clientY-re,xe=W9(ie),be=Math.max(0,Math.min(Q,globalThis.innerWidth-l.current.offsetWidth));l.current.style.top=`${xe}px`,l.current.style.left=`${be}px`},F=async V=>{if(V.preventDefault&&V.preventDefault(),clearTimeout(E.current),N(),C(!1),y.current=!1,clearTimeout(p.current),T.current||O(!1),P.current)return;if(!B.current){e();return}let H=W9(V.clientY-45),q=globalThis.innerWidth,K=l.current?.offsetWidth||0,re=(l.current?.offsetLeft||0)+K/2>q/2?"right":"left";l.current&&(re==="right"?(l.current.style.top=`${H}px`,l.current.style.right="0px",l.current.style.left="auto"):(l.current.style.top=`${H}px`,l.current.style.left="0px",l.current.style.right="auto")),v.current={...v.current,top:H,position:re},s&&(s.fixedPosition=re,u(s));let Q=await Sn();ti({...Q,floatBallConfig:v.current})},L=V=>{V.preventDefault&&V.preventDefault(),R(V.changedTouches[0])},D=V=>{V.preventDefault&&V.preventDefault(),_(V.changedTouches[0])},w=V=>{V.preventDefault&&V.preventDefault(),F(V.changedTouches[0])},N=()=>{document.removeEventListener("mousemove",_),document.removeEventListener("touchmove",D),document.removeEventListener("mouseup",F),document.removeEventListener("touchend",w),document.removeEventListener("touchcancel",w)};return c.current.addEventListener("mousedown",R),c.current.addEventListener("touchstart",L,{passive:!1}),()=>{c.current&&(c.current.removeEventListener("mousedown",R),c.current.removeEventListener("touchstart",L))}},[t,c,l,p,h,n,O,e]),G(()=>{if(Pe().any)return;let R=F=>{F.target===l.current&&!T.current||!f.current&&sP(F)&&p.current||(T.current=!0,O(!0),clearTimeout(p.current))},_=F=>{if(!(!f.current&&sP(F)&&p.current)){if(y.current){T.current=!1;return}F.target===l.current&&!T.current||O(!1)}};return l.current?.addEventListener("mouseover",R),l.current?.addEventListener("mouseout",_),()=>{l.current?.removeEventListener("mouseover",R),l.current?.removeEventListener("mouseout",_)}},[l,h,O,t,T,f]),{ballRef:c,floatBallConfigRef:v,containerRef:l,active:d,setActive:O,isDragging:h}}function oP({startX:e,startY:t,endX:n,endY:r}){let a=Math.abs(n-e),o=Math.abs(r-t);return a>6||o>6}function dP(e,t,n,r){let i=e?.fixedPosition||"right",a=e?.clickType==="translate",{settingTransform:o,feedbackTransform:s,mangaTransform:u,sideTransform:l}=de(()=>{let c=i==="left",d=`translateX(${c?-60:60}px)`,g=`translateX(${c?5:-5}px)`,f=`translateX(${c?5:-5}px)`,p=`translateX(${c?10:2}px)`,h=!!n&&!t;return{settingTransform:t&&a?g:d,feedbackTransform:(r?!0:t&&a)?g:d,sideTransform:h?d:f,mangaTransform:h?d:p}},[i,t,n,a,r]);return{settingTransform:o,feedbackTransform:s,mangaTransform:u,sideTransform:l}}function gP(){let[e,t]=z(!1);return G(()=>{let n=()=>{document.querySelector("video")&&t(!!document.fullscreenElement)};return document.addEventListener("fullscreenchange",n),()=>{document.removeEventListener("fullscreenchange",n)}},[]),{isFullScreen:e}}function mP(e,t){let[n,r]=z(!1),i="2024-01-06",a=Te(()=>{_t(G9,0).then(u=>{let l=u+1;Tt(G9,l),r(!0)})},[r]);G(()=>{if(!e.config.enableShowFloatingBallGuide||dn()==e.targetLanguage)return;let u=Ke(e.url,t?.guideBlockUrls);!t||u||(async()=>{let l=await _t(G9,0),c=await Ie.local.get("reportActive",""),d=await _t("installedAt","");d&&new Date(d)<new Date(i)||c||e?.config?.isEnableGuideTips&&(k.debug("showCount",l,t?.defaultShowGuideNums),l<(t?.defaultShowGuideNums||1)&&a())})()},[e,t,a]),Fl||(Fl=()=>{a()},document.addEventListener(Od,Fl)),G(()=>()=>{Fl&&(document.removeEventListener(Od,Fl),Fl=null)},[]);let s=Te(()=>{r(!1)},[]);return{isShowGuide:n,handleCloseGuide:s}}function fP({ctx:e,fixedPosition:t,setPopupVisible:n}){Nl||(Nl=async()=>{n(!0),await it(300),M9(e,{arrowDirection:t,type:"translate-service"})},document.addEventListener(_d,Nl)),G(()=>()=>{Nl&&(document.removeEventListener(_d,Nl),Nl=null)},[])}function pP(){document.dispatchEvent(new CustomEvent(Od))}function hP(){document.dispatchEvent(new CustomEvent(_d))}function yP(e,t){let n=$(0),[r,i]=z(!0),[a,o]=z(!1),s=Ii(),[u,l]=s,{t:c}=ee(),d=Te(()=>{e?.config.floatBallTooltipRule&&(Pe().any||_n(e.localConfig)?o(n.current>=(e.config.floatBallTooltipRule.h5MainBtnTooltipMaxShowCount||2)):i(n.current>=(e.config.floatBallTooltipRule.mainBtnTooltipImmediateShowCount||5)))},[i,n,e,o]);G(()=>{e&&(n.current=e.config.pcFloatBallMainBtnTooltipShownCount||0,Pe().any&&(n.current=e.config.h5FloatBallMainBtnTooltipShownCount||0),d())},[e]);let g=Te(async()=>{if(!e)return;n.current=n.current+1,d();let h=await an();l(C=>{let y={...h};return Pe().any?y.h5FloatBallMainBtnTooltipShownCount=n.current:y.pcFloatBallMainBtnTooltipShownCount=n.current,y})},[l,d,n,e]),f=de(()=>Pe().any||!r||_n(e?.localConfig||{})?0:e?.config.floatBallTooltipRule?.mainBtnTooltipDelayTime||2e3,[r,e]),p=de(()=>{if(Pe().any||_n(e?.localConfig||{}))return c("floatBall.longPress");let h="";return t!=="Original"?h=c("floatBall.showOriginal"):e?.targetLanguage?h=c("floatBall.translateToLanguage",{language:Ln(e.targetLanguage,e.targetLanguage,!0)}):h=c("floatBall.translate"),e?.config.shortcuts.toggleTranslatePage&&(h+=`(${io(e.config.shortcuts.toggleTranslatePage)})`),h},[t,e]);return{disableTooltip:a,tooltipDelay:f,tooltipText:p,handleShowTooltip:g}}function W9(e){return Math.max(Math.min(e,globalThis.innerHeight-200),10)}var q9=0;function sP(e){return e.target?.id=="manga-button"||e?.fromElement?.id=="manga-button"?(q9=Date.now(),!0):Date.now()-q9<100}function bP(e,t){G(()=>{if(kt()||Ze())return;let n=r=>{let i=r.detail;i?.open===void 0||i?.open===null?e(!t.current):e(i.open)};return globalThis.document.addEventListener(jo,n),()=>{globalThis.document.addEventListener(jo,n)}},[e,t])}function vP(e,t){let n=$(e);n.current=e,G(()=>{!n.current||!t||se({key:"show_float_ball",ctx:n.current})},[n,t])}function xP(e){G(()=>{let t=!!document.querySelector(`meta[name='${aP}'][content='true']`);t||(t=new URL(globalThis.location.href).searchParams.get(aP)==="true"),t&&setTimeout(()=>{e(!0)},10);let n=r=>{r.detail.active?e(!0):e(!1)};return document.addEventListener(Bd,n),()=>{document.removeEventListener(Bd,n)}},[])}function CP(e){document.dispatchEvent(new CustomEvent(Bd,{detail:{active:e}}))}function TP(){let[e,t]=z(0),n=$(0);return G(()=>{let r=document.documentElement,i=document.body;if(!r||!i)return;let a=()=>{let s=parseFloat(globalThis.getComputedStyle(r).paddingRight||"0")||0,u=parseFloat(globalThis.getComputedStyle(i).paddingRight||"0")||0,l=parseFloat(globalThis.getComputedStyle(i).marginRight||"0")||0,c=Math.max(s,u,l);if(!nd()){n.current!==0&&(n.current=0),t(0);return}c!==n.current&&(n.current=c),t(c)},o=new MutationObserver(a);return o.observe(r,{attributeFilter:["style"]}),i!==r&&o.observe(i,{attributeFilter:["style"]}),globalThis.addEventListener("resize",a),a(),()=>{o.disconnect(),globalThis.removeEventListener("resize",a)}},[]),{bodyRight:e}}var $t="imt-fb";function AP(e){let t=globalThis.innerWidth;if(Pe().any&&t<=450)return m(ll,{isOpen:e.visible,onClose:e.onClose,children:m(wP,{contentStyle:{width:"100%"},onConfirm:e.onConfirm,onClose:e.onClose,settingUrl:e.settingUrl,isMini:e.isMini})});let r=i=>{i?.target?.id===`${U}-popup-overlay`&&e.onClose()};return e.visible?m("div",{onClick:r,id:`${U}-popup-overlay`,class:`${U}-popup-overlay`,children:m("div",{class:`${U}-popup-wrapper ${$t}-setting-wrapper`,style:e.style||e.getModalStyle?.(),children:m(wP,{settingUrl:e.settingUrl,onConfirm:e.onConfirm,onClose:e.onClose,isMini:e.isMini})})}):null}function SP(e){return m("div",{class:`${$t}-toggle ${e.checked?"checked":""} ${e.disabled?"disabled":""}`,onClick:()=>{e.disabled||e.onChange(!e.checked)},children:m("div",{class:`${$t}-toggle-thumb`})})}function Bee(e){let t=e.isMini?"mini":"full";return m("div",{class:`${$t}-setting-preview`,children:m("div",{class:`${$t}-preview-wrapper`,children:[m("div",{class:`${$t}-preview-item light`,children:m("div",{class:`${$t}-preview-ball light ${t}`,children:m(EP,{size:28,className:`${$t}-preview-logo`})})}),m("div",{class:`${$t}-preview-item dark`,children:m("div",{class:`${$t}-preview-ball dark ${t}`,children:m(EP,{size:28,className:`${$t}-preview-logo`})})})]})})}function EP(e){return m("svg",{class:e.className,width:e.size,height:e.size,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[m("path",{d:"M0 14C0 6.26801 6.26801 0 14 0C21.732 0 28 6.26801 28 14C28 21.732 21.732 28 14 28C6.26801 28 0 21.732 0 14Z",fill:"#ED6D8F"}),m("path",{d:"M7.30921 15.6381C7.53044 15.6381 7.70979 15.8175 7.70979 16.0387V19.0088C7.70979 19.934 8.45993 20.684 9.38526 20.684H11.7557C11.9769 20.684 12.1562 20.8634 12.1562 21.0846V22.152C12.1562 22.3732 11.9769 22.5526 11.7557 22.5526H9.38526C7.42782 22.5526 5.84099 20.966 5.84099 19.0088V16.0387C5.84099 15.8175 6.02034 15.6381 6.24157 15.6381H7.30921ZM18.9876 12.6944C19.1515 12.6944 19.2989 12.7943 19.3597 12.9466L22.9711 22.0036C23.076 22.2667 22.8822 22.5526 22.599 22.5526H21.4672C21.3016 22.5526 21.153 22.4506 21.0934 22.2961L20.2724 20.1673C20.2128 20.0128 20.0643 19.9108 19.8986 19.9108H16.7508C16.5852 19.9108 16.4366 20.0128 16.377 20.1673L15.556 22.2961C15.4964 22.4506 15.3478 22.5526 15.1822 22.5526H14.0504C13.7672 22.5526 13.5734 22.2667 13.6783 22.0036L17.2897 12.9466C17.3505 12.7943 17.4979 12.6944 17.6618 12.6944H18.9876ZM18.5116 15.6017C18.4456 15.4308 18.2038 15.4308 18.1378 15.6017L17.3016 17.7699C17.251 17.9011 17.3478 18.0423 17.4885 18.0423H19.1609C19.3016 18.0423 19.3984 17.9012 19.3478 17.7699L18.5116 15.6017ZM9.69589 5.30028C9.79943 4.8999 10.368 4.89991 10.4715 5.30028L11.1086 7.76368C11.3244 8.59845 11.9396 9.27221 12.7513 9.56299L14.9019 10.3334C15.2559 10.4602 15.2559 10.9608 14.9019 11.0876L12.7513 11.8581C11.9396 12.1489 11.3244 12.8226 11.1086 13.6574L10.4715 16.1208C10.368 16.5212 9.79943 16.5212 9.69589 16.1208L9.05884 13.6574C8.84297 12.8226 8.22786 12.1489 7.41615 11.8581L5.26548 11.0876C4.91151 10.9608 4.91151 10.4602 5.26548 10.3334L7.41615 9.56299C8.22786 9.27221 8.84297 8.59844 9.05884 7.76368L9.69589 5.30028ZM18.0064 6.20485C19.9639 6.20485 21.5507 7.79145 21.5507 9.74861V11.281C21.5507 11.5022 21.3713 11.6816 21.1501 11.6816H20.0825C19.8612 11.6816 19.6819 11.5022 19.6819 11.281V9.74861C19.6819 8.82341 18.9318 8.07338 18.0064 8.07338H14.4343C14.2131 8.07338 14.0337 7.89403 14.0337 7.6728V6.60543C14.0337 6.3842 14.2131 6.20486 14.4343 6.20485H18.0064Z",fill:"white"})]})}function wP(e){let{t}=ee(),[n,r]=z(e.isMini??!1),[i,a]=z(!1),[o,s]=z("UntilNext"),u=Te(f=>{r(f),f&&a(!1)},[]),l=Te(f=>{a(f),f&&r(!1)},[]),c=Te(()=>{i?e.onConfirm?.({type:"hide",closeType:o}):e.onConfirm?.({type:"setting",mini:n})},[n,i,o,e.onConfirm]),d=t("closeQuickTranslation.settingOpen",{1:e.settingUrl}),g=[{title:t("closeQuickTranslation.untilNext"),type:"UntilNext"},{title:t("closeQuickTranslation.alwaysClose"),type:"AlwaysClose",description:d},{title:t("closeQuickTranslation.currentWebsite"),type:"CurrentWebsite",description:d}];return m("div",{class:`${$t}-setting-content`,style:e.contentStyle,children:[m("div",{class:"flex justify-between items-center",children:[m("div",{class:`${$t}-setting-title`,children:t("floatBallSetting.title")}),m("div",{class:"clickable",onClick:e.onClose,children:m(Ft,{type:"modal-close"})})]}),m(Bee,{isMini:n}),m("div",{class:`${$t}-setting-options`,children:[m("div",{class:`${$t}-setting-option-row`,children:[m("span",{class:`${$t}-setting-option-label`,children:t("floatBallSetting.mini")}),m(SP,{checked:n,onChange:u})]}),m("div",{class:`${$t}-setting-option-row`,children:[m("span",{class:`${$t}-setting-option-label`,children:t("floatBallSetting.hide")}),m(SP,{checked:i,onChange:l})]}),i&&m("div",{class:`${$t}-setting-hide-options`,children:g.map(f=>m(Oee,{onClick:()=>s(f.type),title:f.title,description:f.description,selected:f.type===o,onLinkClick:p=>tt(p)},f.type))})]}),m("div",{class:`${$t}-setting-save-btn`,onClick:c,children:t(i?"floatBallSetting.hideBtn":"floatBallSetting.save")})]})}function Oee(e){let{selected:t,title:n,description:r,onLinkClick:i}=e,a=_ee(r||"");return m("div",{class:"flex items-center clickable",style:"padding: 8px 0",onClick:e.onClick,children:[m("div",{class:t?`${$t}-radio-sel`:`${$t}-radio-nor`,children:m("div",{})}),m("div",{class:"ml-2 text-sm",children:[m("span",{style:"color: var(--text-black-2);",children:n}),r?m("small",{class:"muted text-sm",children:a.map(o=>o.type==="text"?o.value:m("a",{onClick:s=>{s.stopPropagation(),o.href&&i&&i(o.href)},children:o.value}))}):null]})]})}function _ee(e){let t=[],n=/(<a\s+.*?href="([^"]*)".*?>(.*?)<\/a>)|([^<]+)/g,r=Array.from(e.matchAll(n));for(let i of r){let a=i[2],o=i[3],s=i[4];a&&o?t.push({type:"link",href:a,value:o}):s&&t.push({type:"text",value:s})}return t}function K9({position:e,isHideContent:t}){let n=$(null),r=$(null),[i,a]=z(null);G(()=>{fetch(j.ARROW_ANIMATION_URL).then(s=>s.json()).then(s=>a(s)).catch(s=>{})},[]),G(()=>(n.current&&i&&(r.current=Ml.loadAnimation({container:n.current,renderer:"svg",loop:!0,autoplay:!0,animationData:i})),()=>{r.current&&r.current.destroy()}),[i]);let o={width:"146px",height:"auto",position:"absolute",...e==="left"?{left:"35px"}:{right:"20px"},bottom:t?"-145px":"-8px",transform:e==="left"?"rotate(5deg) scaleX(-1)":"rotate(5deg)"};return m("div",{ref:n,style:{...o}})}var rd="imt-fb";function kP(e){let{t}=ee(),n=de(()=>{let a=globalThis.location.href;return Ke(a,e.rule?.guideContentBlockUrls)},[e.rule]),r=de(()=>{let a=globalThis.location.href;return Ke(a,e.rule?.guideArrowPermanentUrls)},[e.rule]);G(()=>{if(!e.visible||r)return;let a=()=>{e.onClose()};return document.addEventListener("click",a),()=>document.removeEventListener("click",a)},[e.visible,r,e.onClose]);let i=de(()=>{let a={position:"absolute",top:n?-100:"unset"};return e.fixedPosition=="left"&&(a.left=33),e.fixedPosition=="right"&&(a.right=33),a},[e.fixedPosition,n]);return!e.visible||!e.ctx.config.isEnableGuideTips?null:m("div",{class:`${rd}-guide-container`,style:i,children:[!n&&m(Oe,{children:[m(Ft,{type:"close",style:{position:"absolute",top:"20px",[e.fixedPosition]:"15px",cursor:"pointer"},onClick:e.onClose}),m("img",{class:`${rd}-guide-bg ${e.fixedPosition}`,src:Uee,style:{left:e.fixedPosition==="left"?"22px":"30px"}}),m("div",{class:`${rd}-guide-content ${e.fixedPosition}`,children:[m("img",{class:`${rd}-guide-img`,src:Op("images/new_float_ball_intro.png")}),m("div",{class:`${rd}-guide-message`,children:[t("floatBall.guideClickToTranslate"),Pe().any?`
${t("floatBall.longPress")}`:""]})]})]}),m(K9,{position:e.fixedPosition,isHideContent:n})]})}var Uee="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjc2IiBoZWlnaHQ9IjIyNCIgdmlld0JveD0iMCAwIDI3NiAyMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGZpbHRlcj0idXJsKCNmaWx0ZXIwX2RfMjg2MDBfMTUwMjcxKSI+CjxwYXRoIGQ9Ik0yMCAzNi4xMjg5QzIwIDI1LjA4MzIgMjguOTU0MyAxNi4xMjg5IDQwIDE2LjEyODlIMjM2QzI0Ny4wNDYgMTYuMTI4OSAyNTYgMjUuMDgzMiAyNTYgMzYuMTI4OVYxMDMuMTIyVjEwOC4wNjRWMTEzLjc0OVYxODBDMjU2IDE5MS4wNDYgMjQ3LjA0NiAyMDAgMjM2IDIwMEg0MEMyOC45NTQzIDIwMCAyMCAxOTEuMDQ2IDIwIDE4MFYzNi4xMjg5WiIgZmlsbD0idXJsKCNwYWludDBfbGluZWFyXzI4NjAwXzE1MDI3MSkiLz4KPC9nPgo8ZGVmcz4KPGZpbHRlciBpZD0iZmlsdGVyMF9kXzI4NjAwXzE1MDI3MSIgeD0iMCIgeT0iMC4xMjg5MDYiIHdpZHRoPSIyNzYiIGhlaWdodD0iMjIzLjg3MSIgZmlsdGVyVW5pdHM9InVzZXJTcGFjZU9uVXNlIiBjb2xvci1pbnRlcnBvbGF0aW9uLWZpbHRlcnM9InNSR0IiPgo8ZmVGbG9vZCBmbG9vZC1vcGFjaXR5PSIwIiByZXN1bHQ9IkJhY2tncm91bmRJbWFnZUZpeCIvPgo8ZmVDb2xvck1hdHJpeCBpbj0iU291cmNlQWxwaGEiIHR5cGU9Im1hdHJpeCIgdmFsdWVzPSIwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAxMjcgMCIgcmVzdWx0PSJoYXJkQWxwaGEiLz4KPGZlT2Zmc2V0IGR5PSI0Ii8+CjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjEwIi8+CjxmZUNvbXBvc2l0ZSBpbjI9ImhhcmRBbHBoYSIgb3BlcmF0b3I9Im91dCIvPgo8ZmVDb2xvck1hdHJpeCB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMC4xIDAiLz4KPGZlQmxlbmQgbW9kZT0ibm9ybWFsIiBpbjI9IkJhY2tncm91bmRJbWFnZUZpeCIgcmVzdWx0PSJlZmZlY3QxX2Ryb3BTaGFkb3dfMjg2MDBfMTUwMjcxIi8+CjxmZUJsZW5kIG1vZGU9Im5vcm1hbCIgaW49IlNvdXJjZUdyYXBoaWMiIGluMj0iZWZmZWN0MV9kcm9wU2hhZG93XzI4NjAwXzE1MDI3MSIgcmVzdWx0PSJzaGFwZSIvPgo8L2ZpbHRlcj4KPGxpbmVhckdyYWRpZW50IGlkPSJwYWludDBfbGluZWFyXzI4NjAwXzE1MDI3MSIgeDE9IjE0NS4zMzEiIHkxPSIxNi4xMjg5IiB4Mj0iMTQ1LjMzMSIgeTI9IjIwMCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgo8c3RvcCBzdG9wLWNvbG9yPSIjRkY5MkJDIi8+CjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0id2hpdGUiLz4KPC9saW5lYXJHcmFkaWVudD4KPC9kZWZzPgo8L3N2Zz4K";async function MP(){if(kt())try{await jee();let e=await le.getUserInfo(),t=await xr.getUserInfo();if(t&&t.token!==e?.token){await le.setUserToken(t.token),await le.saveUserInfo(t);let n=await an();Mt(t)&&await ws(n),document.dispatchEvent(new CustomEvent(ge+"DocumentMessageUser",{detail:t}))}}catch{}}function jee(){return new Promise(e=>{I3.handleMessageOnce("bridgeReady").then(()=>{e(!0)})})}function hn(e){tc()?xr.openPage({path:"vip"}):globalThis.open(e||j.PRICING_URL)}var IP="imt-manga";function LP({visible:e,onClose:t,top:n,fixedPosition:r,ctx:i}){let{t:a}=ee(),o=d=>{d?.target?.id===U+"-popup-overlay"&&t()},s=de(()=>{let d={position:"fixed",top:n+60+16};return r=="left"&&(d.left=48-10),r=="right"&&(d.right=48-10),d},[n,r]),u=de(()=>{let d=i.config.generalRule.imageRule.enableFreeCredit;return i.isPro||d&&i.user?a("guide.mangaProTip"):!i.user&&d?a("guide.mangaLoginTip",{freeImageQuota:Xd}):a("guide.mangaNoProTip")},[i]),l=de(()=>{let d=i.config.generalRule.imageRule.enableFreeCredit;return i.isPro||d&&i.user?a("floatBall.iKnow"):!i.user&&d?a("imageQuota.loginNow"):a("upgradeToProWithProfile")},[i]),c=Te(()=>{t();let d=i.config.generalRule.imageRule.enableFreeCredit;if(!i.user&&d){tt(j.USER_LOGIN_URL);return}i.isPro||hn(j.GO_AUTH_PRICING_FOR_MANGA_GUIDE)},[i,t]);return e?(G(()=>{mt(i,"manga_guide")},[i]),m("div",{onClick:o,id:U+"-popup-overlay",class:`${U}-popup-overlay`,style:{pointerEvents:"all"},children:m("div",{class:"imt-fb-guide-container",style:s,children:[m("img",{class:`${IP}-guide-bg ${r}`,src:`${j.OSS_BASE}static/extension/images/popup-manga-bg.png`}),m("div",{class:`${IP}-guide-content ${r}`,children:[m("div",{class:"imt-manga-guide-message",dangerouslySetInnerHTML:{__html:u}}),m("div",{class:"imt-fb-primary-btn imt-fb-guide-button img-manga-guide-button",onClick:c,children:l})]}),m(Ft,{className:"img-manga-close",type:"close",onClick:t})]})})):null}var Io="imt-fb";var zee={position:"right",right:0,top:335};function Q9(e){let{t}=ee(),n=Ii(),[r,i,a,o,s]=n,u=yD(r),l=e.ctx,c=$(l);c.current=l;let{isFullScreen:d}=gP(),[g,f]=z(!1),p=Te(qe=>{if(qe&&c.current){d2(c.current).then(()=>{f(qe)});return}f(qe)},[c,f]),h=$(g);h.current=g;let C=$(!1),[y,v]=z(!0),[b,x]=z(!1),{pageStatus:T}=uP(),S=_c(l,r);Zn(()=>{S?.mini!==void 0&&x(S.mini)},[S?.mini]);let E=S?.fixedPosition||"right",A=E==="right"?"left":"right",M=zn(),{isShowGuide:P,handleCloseGuide:B}=mP(e.ctx,S);fP({ctx:l,fixedPosition:E,setPopupVisible:p});let O=Te(()=>{if(P&&B(),S?.clickType==="popup")return p(!0);S?.clickType==="translate"&&(l.rule?.enableDeepFrameTranslatePage?f7("float_ball",rt()):he("content",{method:"toggleTranslatePage",data:{trigger:"float_ball",currentPageStatus:rt()}}))},[S,p,P,B]),R=Te(()=>{p(!0)},[p]),_=y&&!!u,[F,L]=z(!1),D=$(!1),w=Te(qe=>{D.current=qe,L(qe)},[]),{containerRef:N,active:V,ballRef:H,floatBallConfigRef:q,setActive:K,isDragging:J}=cP({handleBallClick:O,handleMobileBallLongPress:R,isShow:_,localConfig:e.localConfig,popupVisible:g,closeVisible:F,closeVisibleRef:D,rule:S,updateFloatBallRule:qe=>{i(yt=>va({...yt},qe))}}),re=Wee(),Q=l.rule.imageRule,ie=Q?.type?.startsWith("manga")&&Q?.enable&&Q?.enableMangaFloatBall&&hs(Q),{settingTransform:xe,sideTransform:be,mangaTransform:ae,feedbackTransform:ue}=dP(S,V,b,re);vP(l,V);let{tooltipDelay:ce,disableTooltip:pe,tooltipText:X,handleShowTooltip:Ae}=yP(l,T),[fe,ne]=z(null),te=Te(async()=>{let qe=c.current;if(!qe)return;let yt=await $u({ctx:qe,usageScene:qe.usageScene||"web_page",service:qe.translationService});ne(yt)},[]),ve=Te(async()=>{await Ae(),await te()},[Ae,te]);G(()=>{te()},[te,l.translationService,l.usageScene]),bP(p,h),xP(K);let ke=globalThis.innerWidth<=385;if(!_)return null;let Ye=S?.transparency!=null?S?.transparency/100:.5,Ee=V?1:1-Ye,{bodyRight:$e}=TP();return G(()=>{async function qe(){let yt=await Qp(c.current,{useUsageCondition:!0,useNewUser:!0});!yt||await Ir()||await YD()||Ll({trigger:"floatBall",hiddenArrow:!1,storeReviewUrl:yt.reviewUrl,anchorPlacement:{anchor:H.current,position:"left",align:"center",offsetY:35}})}qe()},[]),m(Oe,{children:m("div",{class:`${Io}-container ${E} notranslate ${J?"dragging":""}`,"data-theme":M,style:{zIndex:d?-1:Kn-10,pointerEvents:V||g?"all":"none",right:$e},ref:N,onTouchStart:El.bind(null,!0),onMouseDown:El.bind(null,!1),children:[m(Kp,{ctx:l,isShowGuide:P,displayPosition:"webpage",top:q.current.top,fixedPosition:E}),m(qee,{ctx:l,rule:S,tooltipPosition:A,sideTransform:be,settingTransform:xe,ballOpacity:Ee,isShowGuide:P,setSettings:i}),m(Gee,{ctx:l,mangaResultRef:C,mangaTransform:ae,floatBallConfigRef:q,fixedPosition:E,hidden:P,ballOpacity:Ee}),!re&&m("div",{style:{display:"flex",alignItems:"center",flexDirection:"row",gap:8},children:[m(kP,{visible:P,top:q.current.top,fixedPosition:E,rule:S,ctx:l,onClose:()=>{B(),K(!1)}}),m(Ft,{type:"close",style:{display:E=="left"?"none":"block",opacity:0}}),m("div",{style:{position:"relative"},children:[m("div",{class:`${Io}-btn ${E} btn-animate ${b?"mini":""} ${V?"active":""}`,dir:"ltr",ref:H,style:{opacity:Ee},children:m(vt,{enableMobile:!0,text:fe?.hardHit?fe.message:X,position:A,delay:ce,onShow:ve,disable:pe||J,children:m("div",{class:"imt-fb-btn-content",children:[b&&m("span",{class:"imt-fb-hit-area"}),m(Ft,{type:"logo",className:"imt-fb-logo-img-big-bg"}),m(Ft,{type:"translated",className:"imt-float-ball-translated",hidden:T==="Original"})]})})}),m(Hee,{ctx:l,setVisible:v,setActive:K,closeVisible:F,setCloseVisible:w,isMini:b,setMini:x,active:V&&!P,getModalStyle:()=>{let qe=DP(q.current.top,300,E);return qe.right&&(qe.right=qe.right+$e),qe}})]}),m(Ft,{type:"close",style:{display:E=="left"?"block":"none",opacity:0}})]}),!re&&m("div",{style:{marginTop:"10px",transform:xe},class:"btn-animate",children:m(vt,{text:t("floatBall.setting"),position:A,containerClass:"btn-animate",children:m("div",{class:`${Io}-round-button`,onClick:()=>{K(!0),p(!0)},children:m(Ft,{type:"setting",className:"imt-fb-icon",style:{width:24,height:24}})})})}),(!re||ie)&&m("div",{style:{marginTop:re?0:"10px",transform:ue},class:"btn-animate",children:m(vt,{text:t("reportTip"),position:A,containerClass:"btn-animate",children:m("div",{class:`${Io}-round-button`,onClick:()=>{_e(C.current?"mangaReport":"webReport")},children:m(Ft,{type:"feedback",className:"imt-fb-icon"})})})}),m(Y9,{onClose:()=>{K(!1),p(!1)},isSheet:ke,visible:g,getModalStyle:()=>{let qe=DP(q.current.top,f8,E);return qe.right&&(qe.right=qe.right+$e),qe}},g+"")]})})}function Hee(e){let{t}=ee(),n=Ii(),[r,i,a,o]=n,s=_c(e.ctx,r),u=Te(c=>{if(e.ctx&&s&&(e.setActive(!1),e.setCloseVisible(!1),c.type!=="cancel")){if(c.type==="setting"){e.setMini(c.mini),i(d=>va({...d},{...s,mini:c.mini}));return}if(c.type==="hide"){let d=c.closeType;e.setVisible(!1),d==="AlwaysClose"?i(g=>(e.ctx?.rule.imageRule.type==="manga"&&(g.generalRule||(g.generalRule={}),g.generalRule["imageRule.add"]||(g.generalRule["imageRule.add"]={}),g.generalRule["imageRule.add"].enableMangaFloatBall=!1),va({...g},{...s,enable:!1}))):d==="CurrentWebsite"&&i(g=>va({...g},{...s,blockUrls:[...s.blockUrls,globalThis.location.hostname]}))}}},[r,va,e.ctx,s,e.setVisible,e.setMini]),l=Ti(e.ctx.config.useOnlineOptions)+"#floating";return m(Oe,{children:[m("div",{title:t("floatBall.close"),class:`${Io}-close-button`,style:{opacity:e.active?1:0,pointerEvents:e.active?"all":"none"},onClick:()=>{e.setActive(!0),e.setCloseVisible(!0)},children:m(Ft,{type:"close"})}),m(AP,{visible:e.closeVisible,onClose:()=>{e.setActive(!1),e.setCloseVisible(!1)},getModalStyle:e.getModalStyle,onConfirm:u,settingUrl:l,isMini:e.isMini})]})}function Y9(e){let t=n=>{n?.target?.id===U+"-popup-overlay"&&e.onClose()};return e.isSheet?m(ll,{isOpen:e.visible,onClose:e.onClose,children:m(Bp,{onClose:e.onClose,className:"popup-container-sheet",hidden:!e.visible})}):m("div",{hidden:!e.visible,onClick:t,style:e.overlayStyle,id:U+"-popup-overlay",class:`${U}-popup-overlay`,children:m("div",{class:`${U}-popup-wrapper`,style:e.getModalStyle(),children:m(Bp,{onClose:e.onClose,hidden:!e.visible})})})}function Vee(){return{width:globalThis.innerWidth||document.documentElement.clientWidth,height:globalThis.innerHeight||document.documentElement.clientHeight}}var DP=(e,t,n)=>{let i=Vee().height,a={position:"fixed"},o=0;return p5()&&(e=zee.top),a.top=e-o,a.top+t>=i?(a.bottom=30,delete a.top):a.top<=10&&(a.top=10),t>i&&(a.bottom=0,delete a.top,a.maxHeight="100vh",a.overflowY="auto"),n==="left"?a.left=65:a.right=65,a};function Gee({ctx:e,mangaResultRef:t,floatBallConfigRef:n,fixedPosition:r,hidden:i,className:a,mangaTransform:o,ballOpacity:s}){let[u,l]=z(!1),{mangaStatus:c}=lP(),d=e.rule.imageRule,g=!d?.type?.startsWith("manga");G(()=>{g||Sn().then(p=>{p.showMangaGuide||(p.showMangaGuide=!0,l(!0),ni(p))})},[g,l]);let f=Te(async p=>{if(p.preventDefault(),p.stopPropagation(),!await Va(e)){if(!e.user){l(!0);return}_e("freeImageQuotaExhausted");return}he("content","toggleTranslateManga")},[]);return!hs(d)||i||!d?.enable||!d.enableMangaFloatBall?null:(t.current=!g,m("div",{hidden:g,class:`imt-no-events ${a||""}`,id:"manga-button",style:{position:"relative",opacity:s},children:[m("div",{class:"imt-manga-button btn-animate",style:c!="Original"?{opacity:1,transform:o}:{transform:o},children:[m("div",{style:{position:"relative"},children:[m(Ft,{type:"manga",style:{verticalAlign:"middle"},onClick:f,hidden:c=="Translating"}),m(Ft,{type:"translated",onClick:f,hidden:c!="Translated",className:"imt-manga-translated"})]}),m(Ft,{type:"loading",onClick:f,style:"margin:9px",hidden:c!="Translating",className:"imt-float-ball-loading"})]}),m(LP,{ctx:e,visible:u,top:n.current.top,fixedPosition:r,onClose:()=>{l(!1)}})]}))}function Wee(){let e="";return Ze()?e=Pi()||"":kt()&&(e=_o()||""),!!e?.startsWith("2.")}function qee({ctx:e,rule:t,tooltipPosition:n,sideTransform:r,settingTransform:i,ballOpacity:a,isShowGuide:o,setSettings:s}){if(!t)return null;let{t:u}=ee(),l=t?.enableSidePanel==!1,c=$(null),[d,g]=z(t?.enablePinSidePanel===!0),f=$(!1);G(()=>{let C=!1;return w3().then(y=>{C||(f.current=!!y)}),()=>{C=!0}},[]);let{isVisible:p,notification:h}=qp(e,"sidePanel",o);return G(()=>{if(h?.forcePinSidePanel&&p){g(!0);return}g(t?.enablePinSidePanel==!0)},[t?.enablePinSidePanel,h?.forcePinSidePanel,p]),Qee()||l?null:m(Oe,{children:m("div",{style:{transform:d?r:i,opacity:d?a:1},ref:c,class:"btn-animate",children:m("div",{class:`${Io}-btn ${Io}-more-button ${Io}-side`,onClick:()=>{nd()&&!f.current&&(f.current=!0);let C=!f.current;co(e,"float_ball",C),f.current=C},children:[p&&m(Ft,{type:"side-new-badge"}),m(vt,{text:u("sidePanelTooltip"),position:n,containerClass:"btn-animate",delay:300,children:m(Oe,{children:[m(Ft,{type:"side",className:"imt-fb-icon"}),m(Kee,{pinSidePanel:d,onToggle:C=>{se({key:"pin_side_panel",ctx:e,params:{trigger:C?"1":"0"}}),g(C),s(y=>{if(!t)return;let v={...t,enablePinSidePanel:C};return va({...y},v)})}})]})})]})})})}function Kee({pinSidePanel:e,onToggle:t}){let n=r=>{r.stopPropagation(),t(!e)};return e?m(VA,{class:"imt-fb-pin-icon",onClick:n}):m(GA,{class:"imt-fb-pin-icon",onClick:n})}function Qee(){return Pe().any||B5()}async function Z9(){try{let e=await Qe(),t={url:globalThis.location.href,config:e},n=await on(t),r=document.createElement("div");r.id=U+"-browser-popup",r.setAttribute("style","all: initial");let i=r.attachShadow({mode:"open"});Yee(i,e,n),document.documentElement.appendChild(r)}catch{}}function Yee(e,t,n){let r=document.createElement("div");r.id="mount",r.style.display="block";let i=lt(),a=[i["base.css"],i["tailwind-compat.css"],i["popup.css"],i["float_ball.css"]].join(`
`);Zee(e,[a]),e.appendChild(r),Zt(m(Ui,{lang:t.interfaceLanguage,children:m(Jee,{ctx:n})}),r)}function Zee(e,t){for(let n of t){if(Me()&&!On()&&typeof GM!==void 0&&GM.addElement){GM.addElement(e,"style",{textContent:n});continue}e.appendChild(document.createElement("style")).textContent=n}}function Jee(e){let[t,n]=z(!1),r=$(t);r.current=t;let i=$(""),a=$(""),[o,s]=z();G(()=>{let l=c=>{let d=c.detail;i.current=d.style||"",a.current=d.overlayStyle||"",s(d.isSheet),d.open===void 0||d.open===null?n(!r.current):n(d.open)};return globalThis.document.addEventListener(jo,l),()=>{globalThis.document.addEventListener(jo,l)}},[r]);let u=de(()=>{if(o!=null)return o;let l=globalThis.innerWidth;return Pe().any&&l<=450},[o]);return m(Y9,{visible:t,overlayStyle:`z-index: 2147483647; background-color: rgba(0, 0, 0, 0.5); ${a.current}`,getModalStyle:()=>`position: fixed; top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); ${i.current}`,isSheet:u,onClose:()=>{n(!1)}})}function $p(e){document.dispatchEvent(new CustomEvent(jo,{detail:e||{}}))}var $i=null;async function PP(e,{srcUrl:t}){if(!$i){k.error("rightMenu image ele not found",t,$i);return}if($i.translationStatus!=="translating"){if($i.hasTranslate){oi($i);return}if(!YA(t,$i))try{let n=new URL(t),r=new URL($i.src);if(!(n.origin===r.origin&&n.pathname===r.pathname)){k.error("rightMenu image srcUrl not match",n,r);return}}catch(n){k.error("rightMenu image srcUrl not invalid",t,$i.src,n);return}ai({ctx:e,ele:$i,isSingleImage:!0,trigger:"image_right_menu"})}}function RP(){return{type:"contextmenu",listener:e=>{e.target instanceof HTMLImageElement&&($i=e.target)}}}var Bl={};function NP(e,t,n){return`${e}_${t}_${n}`}async function FP(e,t){let{sourceImageUrl:n,targetLanguage:r,mode:i}=t;try{let{blob:a,imgHash:o}=await OP(n);if(await v0(a))throw new ii("GIFs not supported","gif_not_supported");if(!o)throw new Error("Failed to calculate image hash");let l=ps({sourceUrl:n,to:r});if(l?.targetUrl)return{translatedImageUrl:l.targetUrl,mode:i};let c,d,g={...e,targetLanguage:r},f={sourceUrl:n,to:r,imgHash:o,siteUrl:location.href},p=NP(i,o,r);Bl[p]||(Bl[p]={client:{state:"extension_uploading"},pro:{state:"extension_uploading"}});try{i==="client"?(g.isPro=!1,c=await Of({context:g,sourceUrl:o,imgEle:document.createElement("img"),blob:a,imgHash:o,onStateChange:h=>{Bl[p][i]={state:h}},imageDb:f})):i==="pro"&&(c=await b0({context:g,sourceUrl:o,blob:a,imgHash:o,imageType:"common",onStateChange:h=>{Bl[p][i]={state:h}}})),c&&i==="pro"&&Qi({...f,targetUrl:c})}catch(h){let C=i==="client"?"Free translation failed":"Pro translation failed";d=h.message||C,Bl[p][i].error=d}return{translatedImageUrl:c,mode:i,error:d}}catch(a){return{translatedImageUrl:"",mode:i,error:a.message||"Unknown error"}}}async function BP(e,t){let{sourceImageUrl:n,targetLanguage:r,mode:i}=t,{imgHash:a}=await OP(n),o=oe.bind(null),s=NP(i,a,r),u=Bl[s],l={state:"extension_uploading",error:void 0},c=u?.[i]||l;return{state:Ny(c.state,o),mode:i,error:c.error}}async function OP(e){let t=await fetch(e);await xi(t);let n=await t.blob(),r=await zu(n);return{blob:n,imgHash:r}}var J9=class{bridge;waitForBridge(t=1e4){return!kt()&&!Ze()&&!id()?Promise.resolve(!1):globalThis.WebViewJavascriptBridge?(this.bridge=globalThis.WebViewJavascriptBridge,Promise.resolve(!0)):new Promise(n=>{let r=Date.now(),i=()=>{if(globalThis.WebViewJavascriptBridge)return this.bridge=globalThis.WebViewJavascriptBridge,n(!0);if(Date.now()-r>t)return n(!1);requestAnimationFrame(i)};i()})}registerHandler(t,n){this.bridge&&this.bridge.registerHandler(t,n)}callHandler(t,n,r){this.bridge&&this.bridge.doSend({type:t,...n},r)}},CGe=new J9;function id(){return Mr?window.location.href.endsWith("browser.html"):!1}var e1;function _P(e){if(X9())return;let t=`${U}-modal-root`,n=`${U}-modal`,r=document.getElementById(t),i=`${U}-modal-title`,a=`${U}-modal-body`,o=`${U}-modal-footer`;r=document.createElement("div"),r.setAttribute("translate","no"),r.className=`no-translate ${U}-error-modal-shadow-root`,r.id=t,r.style.all="initial",r.style.zIndex="2147483647",document.body.appendChild(r);let s=r.attachShadow({mode:"open"}),u=document.createElement("style"),l=lt();u.textContent=l["input.css"],s.appendChild(u);let c=document.createElement("div");c.className=n+" notranslate",c.id=n;let d=document.createElement("div");d.className=U+"-modal-content notranslate",c.appendChild(d);let g=document.createElement("span");g.textContent="\xD7",g.className=U+"-close",d.appendChild(g);let f=document.createElement("div");f.className=i+" notranslate",d.appendChild(f);let p=document.createElement("div");p.className=a+" notranslate",d.appendChild(p);let h=document.createElement("div");h.className=o,d.appendChild(h),s.appendChild(c),g.onclick=function(){ad()},e1=C=>{C.target===c&&ad()},setTimeout(()=>s.addEventListener("click",e1),100),e(c,f,p,h,ad)}function X9(){return!!document.querySelector(`#${U}-modal-root`)}function ad(){document.querySelector(`#${U}-modal-root`)?.remove(),e1&&document.removeEventListener("click",e1)}var Xee=2500;function UP({msg:e,type:t="sameLang",duration:n=Xee}){return Rt({showOverlay:!1,placement:"top",presetSkin:"none",render:({close:r})=>{let i=oe.bind(null),a=$(),{displayMsg:o,showNeverBtn:s,disableKey:u}=de(()=>t==="sameLang"?{displayMsg:i("sameLangNoTranslate"),showNeverBtn:!0,disableKey:"sameLangCheck"}:t==="aiTranslated"?{displayMsg:i("aiTranslatedTip"),showNeverBtn:!0,disableKey:"aiTranslatedCheck"}:{displayMsg:e,showNeverBtn:!1,disableKey:null},[i,e,t]),l=Te(()=>{a.current&&clearTimeout(a.current)},[]),c=Te(()=>{l(),a.current=setTimeout(r,n)},[l,n,r]);G(()=>(c(),()=>l()),[c,l]);let d=Te(async()=>{if(!u){r();return}try{let g=await an();await bt({...g,[u]:!1})}catch{}finally{r()}},[u,r]);return m(Oe,{children:m("div",{className:"notranslate",style:{display:"flex",background:"#fef6f9",boxShadow:"0px 2px 6px 0px rgba(0, 10, 30, 0.06)",fontSize:"15px",borderRadius:"8px",color:"#333",padding:"12px 20px",margin:"auto",overflow:"auto"},onMouseEnter:l,onMouseLeave:c,role:"status","aria-live":"polite",children:[m("div",{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[m("span",{children:o}),s&&m("div",{style:{margin:"0 20px 0 72px",textDecoration:"underline",cursor:"pointer"},onClick:d,children:i("neverShowFuture")})]}),m("span",{style:{color:"#666666",fontSize:"20px",fontWeight:"bold",padding:"0 10px",cursor:"pointer"},onClick:r,role:"button","aria-label":"close",children:"\xD7"})]})})}})}function $9(e,t,n,r,i,a){let o=oe.bind(null),s=document.createElement("div");s.className=U+"-btn-container";let u=document.createElement("button");u.className=U+"-btn",u.innerHTML=at.sanitize(o(t)),u.onclick=()=>{n(u,!0),hn(r)},s.appendChild(u);let l=document.createElement("div");return l.className=U+"-detect-service-text",l.style.marginTop="12px",l.style.fontSize="14px",l.style.color="#999",l.style.textAlign="center",l.innerHTML=o("detectServiceLoading"),a&&Co(e,e.translationService,!1,a).then(c=>{if(c){let d=document.createElement("a");d.href="#",d.style.color="#999",d.style.textDecoration="none",d.innerHTML=o("toggleToService",{service:Yn(e.config,c)}),d.onclick=g=>{g.preventDefault(),Ol(e.config,c),n(u,!0)},l.innerHTML="",l.appendChild(d)}else l.innerHTML=o("goSettings")}),s.appendChild(l),s}function jP(e,t,n,r="retry",i,a,o,s,u,l){let c=oe.bind(null),d=t||c("networkError"),g=c("unknownError");o.innerText=d,o.style.textAlign="left";let f=`<div style="word-break: break-all;">${n||g}</div>`;s.innerHTML=at.sanitize(f,{ADD_ATTR:["target"]}),u.innerText="",s.style.textAlign="left";let p="",h=null,C=document.createElement("button");if(r=="retry"){p=c("retryAllButton"),C.setAttribute(`data-${U}-action`,"retry");let y=document.createElementNS("http://www.w3.org/2000/svg","svg");y.setAttribute("viewBox","0 0 16 16"),y.setAttribute("width","20"),y.setAttribute("height","20"),y.innerHTML='<path fill-rule="evenodd" clip-rule="evenodd" d="M15.7216 7.60092C15.9278 7.88015 15.7216 8.26938 15.2147 8.26938H13.6769C13.4509 8.26919 13.2651 8.44472 13.2559 8.66707C13.0202 11.4434 10.6721 13.5835 7.8434 13.6001C7.45033 13.6011 7.05839 13.5585 6.67498 13.4732C8.97932 12.9575 10.6873 11.0433 10.9105 8.7263C10.9201 8.60835 10.8791 8.49183 10.7975 8.40501C10.7159 8.31818 10.6011 8.269 10.4809 8.26938H9.46715C9.30707 8.26745 9.16079 8.17968 9.08563 8.04045C9.01048 7.90122 9.01841 7.7327 9.10632 7.60092L12.0617 3.4294C12.1415 3.31245 12.2752 3.2423 12.4183 3.2423C12.5613 3.2423 12.695 3.31245 12.7748 3.4294L15.7216 7.60092ZM0.249983 5.95687C0.32362 5.8189 0.468322 5.73198 0.62658 5.73066H2.34484C2.58058 5.74047 2.78188 5.56466 2.80018 5.33297C3.02618 2.57214 5.34909 0.434648 8.16115 0.399919C8.55422 0.398937 8.94616 0.441512 9.32956 0.526841C7.02244 1.04356 5.31373 2.96199 5.09406 5.2822C5.08428 5.39939 5.12548 5.51515 5.2074 5.60068C5.28932 5.68621 5.40427 5.73346 5.52362 5.73066H6.55458C6.71404 5.72904 6.86074 5.8163 6.9335 5.95606C7.00627 6.09581 6.99262 6.26407 6.89823 6.39066L3.93423 10.5791C3.85344 10.689 3.72404 10.7541 3.58628 10.7541C3.44852 10.7541 3.31912 10.689 3.23833 10.5791L0.274337 6.39066C0.185703 6.26152 0.176346 6.09485 0.249983 5.95687Z" fill="white"/>',C.appendChild(y),C.onclick=()=>{a.style.display="none",he("content","retryFailedParagraphs"),l(C,!0)}}else if(r=="agreeProtocol")p=c("agreeAndContinue"),se({key:"show_agree_protocol_modal",ctx:e}),C.onclick=async()=>{l(C,!0),await Eu(e),se({key:"click_agree_protocol",ctx:e})};else if(r=="login"){mt(e,"error_modal_login");let y=e.rule.detectionServiceOrder,v=$9(e,"goLogin",l,i||j.PRICING_URL+"?utm_campaign=service_error&utm_source=extension&utm_medium=webpage","service_error",y);u.appendChild(v);return}else if(r=="upgradeAiSubtitle")mt(e,"error_modal_ai_subtitle"),p=c("upgradeToPro"),C.onclick=()=>{l(C,!0),globalThis.open(i||j.USER_LOGIN_URL_FROM_ERROR)};else if(r=="upgrade"){mt(e,"error_modal");let y=e.rule.detectionServiceOrder,v=$9(e,"upgradeToPro",l,i||j.GO_UPGRADE_FOR_ERROR_DIALOG,"upgrade_error",y);u.appendChild(v);return}else if(r=="loginOrUpgradeByDownloadSubtitle")mt(e,"subtitle_download_login"),p=c("goLogin"),C.onclick=()=>{l(C,!0),hn(i||j.GO_AUTH_PRICING_FOR_SUBTITLE_DOWNLOAD)};else if(r=="loginOrUpgradeByAiSubtitle")mt(e,"error_modal_ai_subtitle"),p=c("upgradeToProWithProfile"),C.onclick=()=>{l(C,!0),hn(i||j.GO_AUTH_PRICING_FOR_AI_SUBTITLE)};else if(r=="setting")p=c("goSettings"),C.onclick=()=>{l(C,!0),globalThis.open(i||j.OPTIONS_URL)};else if(r=="changeService"||r=="changeProService"){mt(e,"service_error");let y=e.rule.detectionServiceOrder;if(r=="changeProService"&&y&&(y=[...mg(),...y]),r=="changeService"&&!e.isPro){mt(e,"error_modal");let v=$9(e,"upgradeToPro",l,i||j.PRICING_URL+"?utm_campaign=service_error&utm_source=extension&utm_medium=webpage","service_error",y);u.appendChild(v);return}else p=c("detectServiceLoading"),C.onclick=()=>{l(C,!0),globalThis.open(i||j.OPTIONS_URL)},Co(e,e.translationService,!1,y).then(v=>{v?(p=c("toggleToService",{service:Yn(e.config,v)}),C.innerHTML=at.sanitize(p),C.onclick=()=>{Ol(e.config,v),l(C,!0)}):(p=c("goSettings"),C.innerHTML=at.sanitize(p))})}else if(r=="autoEnableSubtitle")p=c("subtitle.enableDualSubtitleActionLabel"),C.onclick=async()=>{let y=await pt();y.generalRule||(y.generalRule={}),y.generalRule["subtitleRule.add"]||(y.generalRule["subtitleRule.add"]={}),y.generalRule["subtitleRule.add"].autoEnableSubtitle=!0,await bt(y),he("content",{method:"autoEnableSubtitleChanged",data:{trigger:"quick_button"}}),l(C,!0)};else if(r=="refreshPage")p=c("refreshPage"),C.onclick=()=>{window.location.reload()};else if(r=="usageTips"){p=c("iKnow"),h=document.createElement("div"),h.className=U+"-btn-container",h.appendChild(C),C.onclick=()=>{l(C,!0)};let y=t1(c("notShowAgain"),async()=>{l(C,!0);let v=await pt();await bt({...v,tokenUsageTips:{...v.tokenUsageTips,enableMaxTips:!1}})});h.appendChild(y)}else if(r=="aiSubtitleQuotaExceeded"||r=="aiSubtitleTrialQuotaExceeded"){let y=r=="aiSubtitleTrialQuotaExceeded";p=c(y?"endTrialNow":"buyAiSubtitleQuota"),h=document.createElement("div"),h.className=U+"-btn-container",h.appendChild(C),C.onclick=()=>{l(C,!0),y?globalThis.open(i||j.GO_UPGRADE_FROM_TRIAL_FOR_AI_SUBTITLE):globalThis.open(i||j.AI_SUBTITLE_QUOTA_URL)};let v=t1(c("showUsageRecord"),()=>{l(C,!0),globalThis.open(j.GO_ACCOUNT_USAGE_URL)});h.appendChild(v)}else if(r=="aiSubtitleLogin")mt(e,"ai_subtitle_login"),p=c("goLogin"),C.onclick=()=>{l(C,!0),globalThis.open(i||j.USER_LOGIN_URL_FROM_ERROR)};else if(r=="freeImageError"){mt(e,"freeImageError"),p=c("upgradeToPro"),C.onclick=()=>{l(C,!0),hn(i||j.GO_AUTH_PRICING_FOR_FREE_IMAGE_ERROR)},h=document.createElement("div"),h.className="imt-action-container";let y=document.createElement("div");y.innerText=c("freeImage.continueText"),y.className="imt-retry-text",y.onclick=()=>{l(y,!0)},h.appendChild(C),h.appendChild(y);let v=document.createElement("div");v.style.textAlign="left",v.style.marginTop="12px",v.innerText=c("freeImage.upgradeToProText"),s.appendChild(v)}else if(r=="loginUsePro"||r=="loginUseMax"){let y=r=="loginUseMax";mt(e,y?"error_modal_login_max":"error_modal_login_pro"),p=c(y?"error.freeUpgradeToMax":"upgradeToPro"),h=document.createElement("div"),h.className=U+"-btn-container",h.appendChild(C),C.onclick=()=>{l(C,!0);let b=y?"login_use_max":"login_use_pro";hn(i||j.PRICING_URL+`?utm_campaign=${b}&utm_source=extension&utm_medium=popup`)};let v=t1(c("error.alreadyMemberLogin"),()=>{l(C,!0),globalThis.open(j.USER_LOGIN_URL_FROM_ERROR)});h.appendChild(v)}else if(r=="upgradeToPro"||r=="upgradeToMax"){let y=r=="upgradeToMax",v=!!e.isPro;mt(e,y?"error_modal_upgrade_max":"error_modal_upgrade_pro"),y?p=c(v?"error.upgradeMaxBtn":"error.freeUpgradeToMax"):p=c("upgradeToPro"),h=document.createElement("div"),h.className=U+"-btn-container",h.appendChild(C),C.onclick=()=>{l(C,!0);let T=y?"upgrade_to_max":"upgrade_to_pro";hn(i||j.PRICING_URL+`?utm_campaign=${T}&utm_source=extension&utm_medium=popup`)};let b=y&&e.isPro?c("error.switchToProModel"):c("error.switchToFreeModel"),x=t1(b,()=>{l(C,!0);let T=y&&e.isPro?"deepseek-pro":"bing-free";Ol(e.config,T)});b===c("error.switchToFreeModel")&&(x.style.color="#999"),h.appendChild(x)}else if(r=="iKnow")p=c("iKnow"),C.onclick=()=>{l(C,!0)};else if(r=="none")return;C.className=U+"-btn",C.innerHTML+=at.sanitize(p),h?u.appendChild(h):u.appendChild(C)}function t1(e,t){let n=document.createElement("button");return n.className=U+"-link-btn",n.innerHTML=e,n.onclick=t,n}async function zP(e,t){let n,r,i;if(t){let l=ff(e);n=new Blob([l],{type:"text/html"}),r=await pt(),r=await ol(!1,r),i=Um()}let a=On()?void 0:await ls(),o=await eo(),u={subtitlePositions:(await pr()).subtitlePositions};return{isCNPlugin:gt(),siteUrl:location.href,pluginVersion:vn(),isMobile:Pe().any,platform:pi(),sourceLanguage:e.sourceLanguage,targetLanguage:e.targetLanguage,userConfig:{targetLanguage:e.targetLanguage,userTranslationServices:{translationService:e.translationService},...r},localConfig:u,usedGlossaries:i,usageLimitStats:a,abTag:o,userAgent:navigator.userAgent,htmlBlob:n}}async function HP(e,t,n,r,i,a){let{htmlBlob:o,...s}=r,u=await Jn(),l={resource:r.siteUrl,reason:t,metaData:JSON.stringify(s),feedType:i,deviceId:u,domain:location.hostname};o&&n&&(l.base64_file=await il(o)),a&&(l.contactInfo=a);let c=await le.getUserToken();return qo()?await Re({url:`${j.BASE_API}v1/feed-back/web-report-log`,method:"POST",requestType:"formData",body:l,headers:{token:c}}):await fetch(`${j.BASE_API}v1/feed-back/web-report-log`,{method:"POST",body:rl(l),headers:{token:c}}).then(async d=>(await xi(d,"web"),d.json()))}function VP(e,t,n){if(e=="manga"||e=="image")return PA(t,n);if(e=="web"||e=="docTranslationForWeb")return zP(t,n)}function GP(e,t,n,r,i,a){if(e=="manga"||e=="image")return RA(t,n,i,a,e,r);if(e=="web"||e=="docTranslationForWeb")return HP(t,n,i,a,e,r)}var $ee=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)+$/,ete=`
.report-modal { color: var(--modal-text); }
.report-form__field { display: flex; flex-direction: column; align-items: flex-start; text-align: left; margin-bottom: var(--space-12); gap: var(--space-8); }
.report-form__field--row { display: flex; align-items: center; text-align: left; margin-bottom: var(--space-8); }
.report-form__label { flex-shrink: 0; display: flex; align-items: flex-start; justify-content: flex-start; word-break: keep-all; color: var(--modal-text); line-height: 20px; margin: 0; }
.report-form__required { color: var(--modal-error); }
.report-form__required--ghost { visibility: hidden; }
.report-form__textarea { border-radius: 10px; border: 1px solid var(--modal-border); background: var(--modal-input-background); color: var(--modal-text); min-height: 100px; padding: 9px 12px; flex: 1; outline: none; width: 100%; box-sizing: border-box; }
.report-form__input { width:100%; border: 1px solid var(--modal-border); border-radius: 10px; padding: 4px 8px; background: var(--modal-input-background); color: var(--modal-text); font-size: 14px; min-height: 45px; box-sizing: border-box; margin: 0 1px; outline: none; flex: 1; min-width: 0; }
.report-form__error { color: var(--modal-error); font-size: 12px; margin-top: var(--space-4); margin-bottom: var(--space-4); visibility: hidden; padding-right: 140px; min-height: 14px; margin-left: 64px; }
.report-form__error.is-visible { visibility: visible; }
.report-form__checkbox { margin-left: 64px; text-align: left; display: flex; align-items: center; accent-color: var(--modal-check-color); margin-top: var(--space-12); }
.report-form__checkbox-input { background-color: var(--modal-input-background); }
.report-form__checkbox-label { cursor: pointer; margin-left: 8px; color: var(--modal-text); font-size: var(--f-12); }
.report-title-extra { text-align: left; margin-top: var(--space-12); color: var(--modal-text-secondary); font-size: 14px; line-height: 1.4; }
.report-feedback__title { color: var(--modal-text); text-align: center; font-size: 20px; font-weight: 700; margin: var(--space-24) 36px; }
.report-feedback__desc { color: var(--modal-text-secondary); text-align: center; font-size: 14px; font-style: normal; font-weight: 400; margin: var(--space-12) 16px 0; }
.report-feedback__actions { display: flex; justify-content: center; }
.report-feedback__icon { display: flex; justify-content: center; align-items: center; }
`;function qP(e,t,n){let r=oe;return Rt({width:480,presetSkin:"standard",styles:`${ete}${n?.styles||""}`,render:({close:i})=>m(tte,{type:e,ctx:t,close:i,options:n,t:r})})}function tte({type:e,ctx:t,close:n,options:r,t:i}){let[a,o]=z(r?.initialView??"form"),[s,u]=z(""),[l,c]=z(""),[d,g]=z(!1),[f,p]=z(""),[h,C]=z(!1),[y,v]=z(null);G(()=>{let T=!0;return le.getUserInfo().then(S=>{if(!T||!S)return;let E=t.config.ignoreReportEmailRegex&&new RegExp(t.config.ignoreReportEmailRegex).test(S.email);S.email&&!E&&c(S.email)}),()=>{T=!1}},[t.config.ignoreReportEmailRegex]),G(()=>{(kt()||Ze())&&xr.getBaseInfo().then(T=>{v(T)})},[]),G(()=>{l&&p(WP(l,i))},[l,i]);let b=de(()=>!!s.trim()&&!WP(l,i)&&!h,[s,l,h,i]),x=async()=>{if(b){C(!0);try{let T=await VP(e,t,d);if(y&&(T={...T,...y}),await GP(e,t,s,l,d,T),r?.showSuccessFeedback===!1){n();return}o("success")}catch{o("fail")}finally{C(!1)}}};return a==="success"||a==="fail"?m(ite,{view:a,t:i,onClose:n,onRetry:()=>o("form")}):m("div",{className:"report-modal",children:[m(Rn,{close:n,children:i("reportInfo.title")}),m(rte,{ctx:t,t:i}),m(nte,{reason:s,email:l,attachLog:d,emailError:f,uploading:h,canSubmit:b,t:i,onReasonChange:u,onEmailChange:c,onAttachLogChange:g,onSubmit:x})]})}function nte({reason:e,email:t,attachLog:n,emailError:r,uploading:i,canSubmit:a,t:o,onReasonChange:s,onEmailChange:u,onAttachLogChange:l,onSubmit:c}){return m("div",{children:[m("div",{className:"report-form__field",children:[m("label",{htmlFor:"reason",className:"report-form__label",children:[m("span",{className:"report-form__required",children:"*"}),o("reportInfo.reasonLabel")]}),m("textarea",{id:"reason",value:e,placeholder:o("reportInfo.reasonDesc"),required:!0,onInput:d=>s(d.target.value),onKeyDown:d=>d.stopPropagation(),className:"report-form__textarea"})]}),m("div",{className:"report-form__field",children:[m("label",{htmlFor:"emailReport",className:"report-form__label",children:[m("span",{className:"report-form__required report-form__required--ghost",children:"*"}),o("reportInfo.email")]}),m("input",{id:"emailReport",type:"email",value:t,onInput:d=>u(d.target.value),onKeyDown:d=>d.stopPropagation(),placeholder:o("reportInfo.emailPlaceholder"),className:"report-form__input"})]}),m("div",{hidden:!r,className:"report-form__error",children:r||o("reportInfo.emailError")}),m("div",{className:"report-form__checkbox",children:[m("input",{id:"cbMangaReport",type:"checkbox",checked:n,onChange:d=>l(d.target.checked),className:"report-form__checkbox-input"}),m("label",{htmlFor:"cbMangaReport",className:"report-form__checkbox-label",dangerouslySetInnerHTML:{__html:o("reportInfo.attachLog",{},{markdown:!0})}})]}),m("div",{className:"modal-skin-standard__actions",children:m(Nt,{type:"primary",onClick:c,disabled:!a,loading:i,style:{minWidth:"160px"},children:o("reportInfo.submit")})})]})}function rte({ctx:e,t}){if(e.rule?.id!=="pdf"&&e.rule?.id!=="pro-pdf-immersive")return null;let n=t("babelDoc.drainage",{babelDocUrl:j.BABELDOC_URL_BY_FEEDBACK_MODAL});return m("div",{className:"report-title-extra",dangerouslySetInnerHTML:{__html:n}})}function ite({view:e,t,onClose:n,onRetry:r}){let i=e==="success";return m("div",{className:"report-modal",children:[m(Rn,{close:n,children:t("reportInfo.title")}),i?m(ate,{}):m(ote,{}),m("div",{className:"report-feedback__title",children:t(i?"reportInfo.submitSuccess":"reportInfo.submitFail")}),!i&&m("div",{className:"report-feedback__desc",children:t("reportInfo.submitFailDes")}),m("div",{className:"report-feedback__actions",children:m(Nt,{style:{marginTop:i?"36px":"12px"},type:"primary",onClick:i?n:r,children:t(i?"reportInfo.ok":"error.retry")})})]})}function WP(e,t){let n=e.trim();return n?$ee.test(n)?"":t("reportInfo.emailError"):t("reportInfo.emailEmptyMsg")}function ate(){return m("div",{className:"report-feedback__icon",children:m("svg",{width:"72",height:"72",viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[m("g",{clipPath:"url(#clip0_success_report)",children:m("path",{d:"M36 72C26.4522 72 17.2955 68.2072 10.5442 61.4558C3.79285 54.7045 0 45.5478 0 36C0 26.4522 3.79285 17.2955 10.5442 10.5442C17.2955 3.79285 26.4522 0 36 0C45.5478 0 54.7045 3.79285 61.4558 10.5442C68.2072 17.2955 72 26.4522 72 36C72 45.5478 68.2072 54.7045 61.4558 61.4558C54.7045 68.2072 45.5478 72 36 72ZM32.5131 45.4783L22.2171 35.0589L15.4286 41.544C20.3657 44.2029 27.2829 49.0526 33.2074 56.5714C37.3937 48.7029 50.2971 32.6057 56.5714 31.1657C55.5583 27.108 54.9874 19.4914 56.5714 15.4286C43.704 23.9143 32.5131 45.4783 32.5131 45.4783Z",fill:"var(--modal-success)"})}),m("defs",{children:m("clipPath",{id:"clip0_success_report",children:m("rect",{width:"72",height:"72",fill:"white"})})})]})})}function ote(){return m("div",{className:"report-feedback__icon",children:m("svg",{width:"72",height:"72",viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[m("g",{clipPath:"url(#clip0_fail_report)",children:m("path",{d:"M36 0C16.1494 0 0 16.1474 0 35.9955C0 55.8526 16.1494 72 36 72C55.8506 72 72 55.8526 72 36.0045C72 16.1565 55.8506 0 36 0ZM36 61.8458C32.2086 61.8458 29.1304 58.768 29.1304 54.9771C29.1304 51.1862 32.2086 48.1083 36 48.1083C39.7914 48.1083 42.8696 51.1862 42.8696 54.9771C42.8696 58.777 39.7914 61.8458 36 61.8458ZM36 44.3535C31.4233 44.3535 27.7492 22.962 27.7492 18.4129C27.7492 13.8548 31.4503 10.1632 36.009 10.1632C40.5677 10.1632 44.2598 13.8548 44.2598 18.4129C44.2508 22.962 40.5767 44.3535 36 44.3535Z",fill:"var(--modal-error)"})}),m("defs",{children:m("clipPath",{id:"clip0_fail_report",children:m("rect",{width:"72",height:"72",fill:"white"})})})]})})}function KP(e,t){let n=oe.bind(null),{trigger:r}=t,i=j.PRICING_URL+`?utm_source=extension&utm_medium=extension&utm_campaign=${r}_ai_context`,a=Rt({closeOnOverlayClick:!1,showOverlay:!1,width:300,borderRadius:20,presetSkin:"custom",render:o=>{let s=l=>{l.preventDefault(),o.close(),hn(i)},u=()=>{o.close()};return m("div",{style:{display:"flex",flexDirection:"column"},children:[m("img",{style:{borderRadius:"20px 20px 0 0"},src:ste}),m("div",{style:{padding:"16px 24px 24px 24px",display:"flex",flexDirection:"column"},children:[m("span",{style:{marginBottom:"24px"},children:n("dialog.aiContextDesc")}),m("a",{id:"subscribeBtn",style:{cursor:"pointer",borderRadius:"50px",background:"linear-gradient(66deg, #222 19%, #696969 94.25%)",width:"100%",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center",padding:"10px 0 10px",color:"white",textDecoration:"unset"},target:"_blank",href:i,rel:"noreferrer",onClick:s,children:n("dialog.aiContextSubscribe")}),m("span",{id:"cancelBtn",style:{cursor:"pointer",marginTop:"16px",color:"#999",textAlign:"center"},onClick:u,children:n("dialog.cancel")})]})]})}});return se({key:"ai_context_upgrade_show",ctx:e,params:{trigger:r}}),a}var ste="data:image/png;base64, ";function QP(e,t){let n=oe,r="linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, #F7F7F7 32.92%), linear-gradient(0deg, rgba(255, 255, 255, 0.40) 0%, rgba(255, 255, 255, 0.40) 100%), radial-gradient(60.32% 60.32% at 0% 100%, #E0C4F7 0%, rgba(224, 196, 247, 0.00) 100%), radial-gradient(71.16% 82.84% at 100% 0%, #E0C4F6 0%, rgba(224, 196, 246, 0.00) 100%), radial-gradient(54.76% 54.76% at 0% 6.8%, #AED5FF 0%, rgba(174, 213, 255, 0.00) 100%), radial-gradient(88.09% 75.78% at 43.07% 35.41%, #757ED8 0%, #6B6AC0 100%), #FFF",i=({close:o})=>{let[s,u]=z(e.rule.detectionServiceOrder[0]);G(()=>{let g=!0;return Co(e,e.translationService,!1,e.rule.detectionServiceOrder).then(f=>{g&&f&&u(f)}),()=>{g=!1}},[e]);let l=()=>{o(),se({key:"new_user_login_modal_close",ctx:e})},c=()=>{globalThis.open(j.USER_LOGIN_URL_FROM_PRO_SERVICE_TRIAL_ERROR,"_blank"),o(),se({key:"new_user_login_modal_login",ctx:e})},d=()=>{Ol(e.config,s),o(),se({key:"new_user_login_modal_free",ctx:e})};return m("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",position:"relative",padding:"24px",borderRadius:"24px",overflow:"hidden",maxWidth:"580px",width:"calc(100vw - 31px)",background:r,boxShadow:"0 6px 16px 0 rgba(0, 0, 0, 0.08)",boxSizing:"border-box"},children:[m("span",{className:`${U}-close`,onClick:l,children:"\xD7"}),m("div",{style:{position:"absolute",top:"24px",left:"24px"},dangerouslySetInnerHTML:{__html:al}}),m("div",{style:{fontSize:"16px",color:"#333",marginTop:"32px"},children:n("error.proServiceTrialEnd")}),m("div",{style:{marginTop:"16px",fontSize:"16px",fontWeight:700,textAlign:"center"},dangerouslySetInnerHTML:{__html:n("error.loginGetProToken")}}),m("div",{style:{marginTop:"24px",maxWidth:"400px",fontSize:"16px",fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",flexWrap:"wrap",gap:"4px"},dangerouslySetInnerHTML:{__html:n("error.enjoyProService",{modalList:`
    <span class="imt-flex-center" style="gap: 4px;"> ${ute} OpenAI ${lte} DeepSeek</span>
    `})}}),m("div",{className:"imt-linear-black-btn",style:{margin:"0 auto",marginTop:"56px",maxWidth:"336px"},onClick:c,children:n("loginAction")}),m("div",{style:{margin:"0 auto",marginTop:"24px",fontSize:"14px",color:"#999",cursor:"pointer"},onClick:d,dangerouslySetInnerHTML:{__html:n("changeToFreeService")}})]})},a=Rt({closeOnOverlayClick:!0,borderRadius:24,presetSkin:"custom",render:({close:o})=>m(i,{close:o})});return se({key:"new_user_login_modal_show",ctx:e}),a}var ute=`<svg width="29" height="28" viewBox="0 0 29 28" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="1.43332" y="0.932617" width="26.1333" height="26.1333" rx="6.53333" fill="#333333"/>
<g clip-path="url(#clip0_35920_10275)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M21.9278 12.4476C22.122 11.8718 22.1893 11.2608 22.1251 10.6565C22.0609 10.0522 21.8668 9.46897 21.556 8.9468C20.6094 7.32124 18.7078 6.48435 16.8504 6.87791C16.4391 6.42244 15.9359 6.05923 15.3741 5.81216C14.8123 5.5651 14.2045 5.43979 13.5908 5.44446C11.6922 5.44057 10.0075 6.64691 9.42343 8.42957C8.82303 8.54976 8.25504 8.79624 7.75715 9.15266C7.25927 9.50908 6.84285 9.9673 6.53554 10.4969C6.07104 11.2858 5.87251 12.2031 5.96929 13.1134C6.06607 14.0238 6.45301 14.8789 7.07299 15.5525C6.87855 16.1283 6.81103 16.7394 6.87507 17.3439C6.93911 17.9483 7.13319 18.5317 7.44399 19.054C8.39054 20.6796 10.2922 21.5157 12.1495 21.1229C12.5608 21.5783 13.0638 21.9414 13.6255 22.1883C14.1872 22.4353 14.7949 22.5604 15.4084 22.5556C17.3085 22.5602 18.994 21.3531 19.5781 19.5689C20.1789 19.4487 20.7473 19.2021 21.2455 18.8454C21.7436 18.4887 22.1602 18.0301 22.4675 17.5C22.9312 16.7112 23.129 15.7943 23.032 14.8845C22.935 13.9746 22.5481 13.1201 21.9285 12.4468L21.9278 12.4476ZM15.4092 21.4371C14.6506 21.439 13.9149 21.1766 13.3287 20.6951C13.3551 20.6811 13.401 20.6562 13.4313 20.6376L16.8847 18.6698C16.9708 18.6217 17.0426 18.5514 17.0924 18.4662C17.1421 18.3809 17.1682 18.2839 17.1678 18.1852V13.3817L18.6277 14.2131C18.6432 14.2209 18.6533 14.2357 18.6557 14.252V18.2304C18.6533 19.999 17.2012 21.4332 15.4092 21.4371ZM8.4271 18.4956C8.04647 17.8481 7.90914 17.0862 8.03976 16.3466C8.06465 16.3621 8.10976 16.3894 8.14165 16.4072L11.595 18.375C11.77 18.4761 11.987 18.4761 12.1628 18.375L16.3783 15.9732V17.6361C16.3787 17.6447 16.3769 17.6532 16.3733 17.6609C16.3696 17.6686 16.3641 17.6753 16.3573 17.6805L12.8667 19.6685C11.3119 20.552 9.32621 20.0262 8.42788 18.494L8.4271 18.4956ZM7.51788 11.0569C7.89999 10.4051 8.49864 9.90805 9.20954 9.65224L9.20799 9.76968V13.7052C9.20751 13.8041 9.23352 13.9012 9.28331 13.9865C9.3331 14.0719 9.40485 14.1423 9.4911 14.1906L13.7067 16.5916L12.2475 17.4238C12.2403 17.4284 12.2321 17.4312 12.2235 17.4319C12.215 17.4326 12.2064 17.4311 12.1985 17.4277L8.7071 15.4374C7.15543 14.5507 6.62343 12.5922 7.5171 11.0585L7.51788 11.0569ZM19.5089 13.8102L15.2933 11.4085L16.7524 10.5778C16.7596 10.573 16.7678 10.5701 16.7763 10.5693C16.7849 10.5685 16.7935 10.5698 16.8014 10.5731L20.2929 12.5619C21.8469 13.4486 22.3797 15.4101 21.4821 16.9431C21.0997 17.5945 20.5015 18.0917 19.7912 18.3486V14.2956C19.7917 14.197 19.7658 14.1 19.7161 14.0148C19.6665 13.9296 19.5949 13.8592 19.5089 13.811V13.8102ZM20.961 11.6535C20.927 11.6328 20.8928 11.6126 20.8583 11.5928L17.405 9.62502C17.3187 9.5754 17.221 9.54929 17.1215 9.54929C17.022 9.54929 16.9242 9.5754 16.838 9.62502L12.6224 12.0268V10.3639C12.6221 10.3554 12.6238 10.3469 12.6275 10.3392C12.6311 10.3314 12.6366 10.3247 12.6434 10.3196L16.1333 8.33235C17.6889 7.44802 19.6761 7.97457 20.5721 9.50913C20.9509 10.157 21.0893 10.9161 20.961 11.6535ZM11.8291 14.6168L10.3692 13.7861C10.3616 13.7824 10.355 13.7768 10.3501 13.7699C10.3452 13.7629 10.3422 13.7549 10.3412 13.7465V9.76813C10.342 7.99713 11.798 6.56213 13.5931 6.56368C14.3522 6.56368 15.0864 6.82657 15.6705 7.30568C15.6441 7.31968 15.599 7.34457 15.5687 7.36246L12.1153 9.33024C12.029 9.37824 11.9571 9.44851 11.9072 9.53374C11.8572 9.61896 11.8311 9.71602 11.8314 9.8148L11.8291 14.616V14.6168ZM12.6224 12.9306L14.5 11.8611L16.3775 12.9306V15.0695L14.5 16.1389L12.6217 15.0695V12.9306H12.6224Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_35920_10275">
<rect width="18.6667" height="18.6667" fill="white" transform="translate(5.16669 4.66602)"/>
</clipPath>
</defs>
</svg>
`,lte=`<svg xmlns="http://www.w3.org/2000/svg" width="29" height="28" viewBox="0 0 29 28" fill="none">
  <path d="M27.6335 5.62656C27.3491 5.48465 27.2277 5.7548 27.0612 5.89344C27.006 5.94033 26.9549 5.99193 26.9086 6.04766C26.4941 6.49937 26.0082 6.79742 25.3752 6.76105C24.4455 6.70637 23.6544 7.00523 22.9555 7.72738C22.8062 6.83734 22.3138 6.30551 21.561 5.96426C21.1672 5.78598 20.7699 5.60879 20.4946 5.22324C20.3032 4.94789 20.2501 4.64301 20.1531 4.34168C20.0924 4.15984 20.0316 3.97281 19.8249 3.94164C19.601 3.90691 19.5159 4.0975 19.4276 4.25691C19.0774 4.90797 18.942 5.62656 18.954 6.35391C18.9852 7.9907 19.665 9.29281 21.0095 10.2195C21.164 10.3267 21.2009 10.4325 21.1552 10.5884C21.0617 10.9069 20.954 11.2173 20.8569 11.5372C20.7962 11.7398 20.7043 11.7849 20.4891 11.6966C19.7508 11.3813 19.1118 10.9157 18.5477 10.3527C17.5899 9.40902 16.7231 8.36723 15.6443 7.55074C15.3944 7.36207 15.1377 7.18315 14.8741 7.01398C13.7727 5.9227 15.0195 5.02746 15.3077 4.92191C15.6085 4.8109 15.4119 4.42973 14.4371 4.43355C13.4623 4.43738 12.5706 4.77125 11.4345 5.21449C11.2656 5.27967 11.0919 5.33178 10.915 5.37035C9.85246 5.16593 8.76476 5.12683 7.69032 5.25441C5.58212 5.4934 3.89965 6.50785 2.66016 8.24172C1.17458 10.3267 0.824029 12.6941 1.25442 15.1638C1.70313 17.7647 3.00797 19.9191 5.00954 21.6043C7.08766 23.3516 9.47969 24.2072 12.2064 24.0426C13.8645 23.9455 15.7102 23.7205 17.7916 21.9245C18.3156 22.1895 18.8687 22.2953 19.7812 22.3749C20.4856 22.4424 21.1637 22.3402 21.6876 22.2294C22.5095 22.0528 22.4532 21.277 22.1557 21.1357C19.7465 19.9911 20.2756 20.4567 19.7951 20.0794C21.0196 18.6055 22.8636 17.0694 23.585 12.101C23.644 11.7062 23.5937 11.4568 23.585 11.138C23.5798 10.9425 23.6249 10.8678 23.8436 10.8454C24.4452 10.7743 25.0317 10.6064 25.5712 10.3051C27.1298 9.43582 27.762 8.0082 27.911 6.29785C27.9318 6.03453 27.9058 5.76602 27.6335 5.62738M14.0311 21.0274C11.6965 19.1571 10.5625 18.5407 10.0955 18.5664C9.65798 18.5938 9.73645 19.1048 9.83352 19.4357C9.93059 19.7666 10.0643 19.99 10.2481 20.2773C10.3747 20.4688 10.4632 20.7537 10.1215 20.9667C9.37032 21.4395 8.06247 20.8056 8.00176 20.7753C6.47872 19.8609 5.20559 18.6556 4.31036 17.007C3.44493 15.4189 2.9418 13.7165 2.8584 11.8998C2.83598 11.4601 2.96258 11.3042 3.39106 11.2244C3.9547 11.1142 4.53278 11.0991 5.10141 11.1795C7.48469 11.535 9.51415 12.6203 11.2157 14.3418C12.1854 15.3218 12.919 16.4927 13.6767 17.6357C14.4798 18.8495 15.3471 20.0064 16.4485 20.9555C16.8387 21.288 17.1477 21.5409 17.4441 21.7279C16.5508 21.831 15.0529 21.8537 14.0311 21.0274ZM15.15 13.6916C15.1493 13.6459 15.1577 13.6005 15.1747 13.558C15.1918 13.5156 15.2171 13.477 15.2492 13.4444C15.2813 13.4119 15.3196 13.386 15.3618 13.3684C15.404 13.3508 15.4493 13.3418 15.495 13.3419C15.5354 13.3411 15.5755 13.3481 15.6132 13.3627C15.663 13.3814 15.7077 13.4115 15.7439 13.4505C15.78 13.4896 15.8065 13.5366 15.8213 13.5877C15.8325 13.6211 15.8378 13.6563 15.8368 13.6916C15.8376 13.7603 15.8179 13.8276 15.7802 13.885C15.7425 13.9423 15.6885 13.9872 15.6252 14.0137C15.5828 14.0315 15.5374 14.0408 15.4915 14.0411C15.4462 14.0407 15.4014 14.0314 15.3597 14.0137C15.2962 13.9882 15.2423 13.9434 15.2055 13.8857C15.168 13.8281 15.1489 13.7604 15.1508 13.6916M18.6267 15.5083C18.4047 15.6018 18.181 15.6814 17.9658 15.6902C17.6347 15.7093 17.2721 15.5707 17.0744 15.4028C16.7695 15.1411 16.5508 14.994 16.4578 14.5368C16.4195 14.3429 16.4403 14.0416 16.475 13.8682C16.5549 13.4958 16.4666 13.2568 16.2079 13.0386C15.9982 12.862 15.7327 12.8136 15.4395 12.8136C15.3302 12.8136 15.2298 12.7652 15.1552 12.7253C15.1192 12.707 15.0869 12.6824 15.0597 12.6525C15.0335 12.6224 15.014 12.587 15.0026 12.5486C14.9907 12.51 14.9865 12.4694 14.9903 12.4291C14.9951 12.3893 15.0082 12.351 15.0286 12.3165C15.0581 12.2541 15.2071 12.1035 15.2418 12.0775C15.6408 11.8473 16.0988 11.9216 16.5237 12.095C16.9175 12.2591 17.2141 12.5598 17.6448 12.985C18.0823 13.4994 18.1583 13.6413 18.408 14.0277C18.6057 14.3284 18.7845 14.6407 18.9059 14.994C18.9822 15.2157 18.8848 15.3976 18.6265 15.5083" fill="#4D6BFE"/>
</svg>`;function YP(){let e=ze();e&&(mt(e,"freeImageError"),Rt({width:400,render:({close:t})=>{let n=oe;return m("div",{children:[m(Rn,{close:t,children:n("upgradeToPro")}),m("p",{children:n("freeImage.notSupport")}),m("div",{className:"modal-skin-standard__actions",children:[m(Nt,{type:"primary",onClick:()=>{Tt(Jd,"1"),t()},children:n("upgradeToPro")}),m(Nt,{type:"secondary",onClick:()=>{t()},children:n("close")})]})]})}}))}function ZP(){let e=ze();e&&(mt(e,"free_image_tips"),Rt({width:400,render:({close:t})=>{let n=oe;return m("div",{children:[m(Rn,{close:t,children:n("freeImage.title")}),m("p",{children:n("freeImage.notSupport")}),m("div",{className:"modal-skin-standard__actions",children:[m(Nt,{type:"secondary",onClick:()=>{t()},children:n("freeImage.continueText")}),m(Nt,{type:"primary",onClick:()=>{tt(j.GO_AUTH_PRICING_FOR_FREE_IMAGE_GUIDE),t()},children:n("upgradeToPro")})]})]})}}))}function JP(){let e=ze();e&&(mt(e,"free_image_quota_exhausted"),Rt({id:"free_image_quota_exhausted",width:400,render:({close:t})=>{let n=oe;return m("div",{children:[m(Rn,{close:t,children:n("imageQuota.exhaustedTitle")}),m("p",{children:n("imageQuota.exhaustedMessage")}),m("div",{className:"modal-skin-standard__actions",children:[m(Nt,{type:"secondary",onClick:()=>{t()},children:n("close")}),m(Nt,{type:"primary",onClick:()=>{tt(j.GO_FREE_IMAGE_PRICING_URL),t()},children:n("imageQuota.tryProFree")})]})]})}}))}function XP(){ze()&&Rt({id:"free_image_login_required",width:400,render:({close:t})=>{let n=oe;return m("div",{children:[m(Rn,{close:t,children:n("imageQuota.loginRequiredTitle")}),m("p",{children:n("imageQuota.loginRequiredMessage",{freeImageQuota:Xd})}),m("div",{className:"modal-skin-standard__actions",children:[m(Nt,{type:"secondary",onClick:()=>{t()},children:n("close")}),m(Nt,{type:"primary",onClick:()=>{tt(j.USER_LOGIN_URL),t()},children:n("imageQuota.loginNow")})]})]})}})}function $P({title:e,message:t,action:n,targetUrl:r,canUseFreeService:i}){let a=ze();if(!a)return;let s=cte(a,r,i)[n];if(s)return s.onBefore?.(),Rt({width:400,render:({close:u})=>{let l=oe.bind(null);return m("div",{children:[m(Rn,{hiddenLogo:!0,close:u,children:e||l("networkError")}),m("p",{dangerouslySetInnerHTML:{__html:at.sanitize(t)}}),s.renderBody?.(u),m("div",{className:"modal-skin-standard__actions",hidden:!s.enableTitle,children:m(Nt,{onClick:()=>{s.onEnable?.(),u()},type:"primary",children:s.enableTitle})}),m("div",{class:"modal-skin-standard__hint",style:{textAlign:"center",cursor:"pointer",color:s.tintColor||"var(--p-main)"},onClick:()=>{s.onTintClick?.(),u()},hidden:!s.tintTitle,children:s.tintTitle})]})}}),s}function cte(e,t,n=!0){let r=oe,i=!e.isPro&&n,o=(()=>e.isPro?{tintTitle:r("error.switchToProModel"),onTintClick:()=>{e6(e,"deepseek-pro")}}:i?{tintTitle:r("error.switchToFreeModel"),tintColor:"var(--c-99)",onTintClick:()=>{e6(e,"bing-free")}}:{})();return{retry:{enableTitle:r("retryAllButton"),onEnable:()=>he("content","retryFailedParagraphs")},agreeProtocol:{onBefore:()=>se({key:"show_agree_protocol_modal"}),enableTitle:r("agreeAndContinue"),onEnable:async()=>{await Eu(e),se({key:"click_agree_protocol"})}},refreshPage:{enableTitle:r("refreshPage"),onEnable:()=>window.location.reload()},autoEnableSubtitle:{enableTitle:r("subtitle.enableDualSubtitleActionLabel"),onEnable:async()=>{let u=await pt();u.generalRule||(u.generalRule={}),u.generalRule["subtitleRule.add"]||(u.generalRule["subtitleRule.add"]={}),u.generalRule["subtitleRule.add"].autoEnableSubtitle=!0,await bt(u),he("content",{method:"autoEnableSubtitleChanged",data:{trigger:"quick_button"}})}},setting:{enableTitle:r("goSettings"),onEnable:()=>{tt(t||j.OPTIONS_URL)}},changeService:{onBefore:()=>mt(e,"service_error"),renderBody:u=>{if(e.isPro)return m(_l,{type:"button",onModalClose:u});let l=t||j.PRICING_URL+"?utm_campaign=service_error&utm_source=extension&utm_medium=webpage";return m(_l,{type:"withTint",onModalClose:u,onClick:()=>{tt(l),u()},children:r("upgradeToPro")})}},changeProService:{onBefore:()=>mt(e,"service_error"),renderBody:u=>{if(e.isPro)return m(_l,{type:"button",onModalClose:u});let l=t||j.PRICING_URL+"?utm_campaign=service_error&utm_source=extension&utm_medium=webpage";return m(_l,{type:"withTint",onModalClose:u,detectPro:!0,onClick:()=>{tt(l),u()},children:r("upgradeToPro")})}},upgrade:{onBefore:()=>mt(e,"error_modal"),renderBody:u=>{let l=t||j.GO_UPGRADE_FOR_ERROR_DIALOG;return m(_l,{onModalClose:u,onClick:()=>{tt(l),u()},type:"withTint",children:r("upgradeToPro")})}},login:{onBefore:()=>mt(e,"error_modal_login"),renderBody:u=>{let l=t||j.PRICING_URL+"?utm_campaign=service_error&utm_source=extension&utm_medium=webpage";return m(_l,{type:"withTint",onModalClose:u,onClick:()=>{tt(l),u()},children:r("goLogin")})}},loginUsePro:{onBefore:()=>mt(e,"error_modal_login_pro"),enableTitle:r("upgradeToPro"),onEnable:()=>{hn(t||j.PRICING_URL+"?utm_campaign=login_use_pro&utm_source=extension&utm_medium=popup")},tintTitle:r("error.alreadyMemberLogin"),onTintClick:()=>{tt(j.USER_LOGIN_URL_FROM_ERROR)}},loginUseMax:{onBefore:()=>mt(e,"error_modal_login_max"),enableTitle:r("error.freeUpgradeToMax"),onEnable:()=>{hn(t||j.PRICING_URL+"?utm_campaign=login_use_max&utm_source=extension&utm_medium=popup")},tintTitle:r("error.alreadyMemberLogin"),onTintClick:()=>{tt(j.USER_LOGIN_URL_FROM_ERROR)}},upgradeToPro:{onBefore:()=>mt(e,"error_modal_upgrade_pro"),enableTitle:r("upgradeToPro"),onEnable:()=>{hn(t||j.PRICING_URL+"?utm_campaign=upgrade_to_pro&utm_source=extension&utm_medium=popup")},...o},upgradeToMax:{onBefore:()=>mt(e,"error_modal_upgrade_max"),enableTitle:e.isPro?r("error.upgradeMaxBtn"):r("error.freeUpgradeToMax"),onEnable:()=>{hn(t||j.PRICING_URL+"?utm_campaign=upgrade_to_max&utm_source=extension&utm_medium=popup")},...o},loginOrUpgradeByAiSubtitle:{onBefore:()=>mt(e,"error_modal_ai_subtitle"),enableTitle:r("upgradeToProWithProfile"),onEnable:()=>hn(t||j.GO_AUTH_PRICING_FOR_AI_SUBTITLE)},loginOrUpgradeByDownloadSubtitle:{onBefore:()=>mt(e,"subtitle_download_login"),enableTitle:r("goLogin"),onEnable:()=>{hn(t||j.GO_AUTH_PRICING_FOR_SUBTITLE_DOWNLOAD)}},upgradeAiSubtitle:{onBefore:()=>mt(e,"error_modal_ai_subtitle"),enableTitle:r("upgradeToPro"),onEnable:()=>{tt(t||j.USER_LOGIN_URL_FROM_ERROR)}},aiSubtitleLogin:{onBefore:()=>mt(e,"ai_subtitle_login"),enableTitle:r("goLogin"),onEnable:()=>{tt(t||j.USER_LOGIN_URL_FROM_ERROR)}},aiSubtitleTrialQuotaExceeded:{enableTitle:r("endTrialNow"),onEnable:()=>{tt(t||j.GO_UPGRADE_FROM_TRIAL_FOR_AI_SUBTITLE)},tintTitle:r("showUsageRecord"),onTintClick:()=>{tt(j.GO_ACCOUNT_USAGE_URL)}},aiSubtitleQuotaExceeded:{enableTitle:r("buyAiSubtitleQuota"),onEnable:()=>{tt(t||j.AI_SUBTITLE_QUOTA_URL)},tintTitle:r("showUsageRecord"),onTintClick:()=>{tt(j.GO_ACCOUNT_USAGE_URL)}},iKnow:{enableTitle:r("iKnow")},usageTips:{enableTitle:r("iKnow"),tintTitle:r("notShowAgain"),onTintClick:async()=>{let u=await pt();await bt({...u,tokenUsageTips:{...u.tokenUsageTips,enableMaxTips:!1}})}},freeImageError:{onBefore:()=>{mt(e,"freeImageError")},renderBody:()=>m("p",{children:r("freeImage.upgradeToProText")}),enableTitle:r("upgradeToPro"),onEnable:()=>{hn(t||j.GO_AUTH_PRICING_FOR_FREE_IMAGE_ERROR)},tintTitle:r("freeImage.continueText")}}}function _l({type:e,detectPro:t,onModalClose:n,onClick:r,children:i}){let a=ze();if(!a)return null;let o=oe,{validService:s,detectService:u}=dte(a,t||!1,n);return e=="button"?m("div",{className:"modal-skin-standard__actions",children:m(Nt,{type:"primary",onClick:()=>{u(),n()},children:s?o("toggleToService",{service:Yn(a.config,s)}):o("detectServiceLoading")})}):m("div",{className:"modal-skin-standard__actions",style:{textAlign:"center",display:"block"},children:[m(Nt,{type:"primary",onClick:()=>{r?.(),n()},children:i}),m("div",{class:"modal-skin-standard__hint",style:{textAlign:"center",cursor:"pointer"},hidden:!s,onClick:()=>{u(),n()},children:o("toggleToService",{service:Yn(a.config,s)})})]})}function dte(e,t,n){let r=de(()=>{let o=e.rule.detectionServiceOrder||[];return t?[...mg(),...o]:o},[e.rule.detectionServiceOrder,t]),[i,a]=z("");return G(()=>{gte(e,e.translationService,!1,r).then(o=>{o&&a(o)})},[r]),{validService:i,detectService:()=>{e6(e,i),n()}}}async function e6(e,t){if(location.href.includes("immersivetranslate")){ze()&&he("content",{method:"translatePage",data:{translationService:t,targetLanguage:e.targetLanguage}});return}let n=await pt(),r=Pv({state:n,config:e.config,serviceType:"translationService",serviceId:t,url:e.url});await bt(r),Ea(void 0),he("content",{method:"translatePage"})}async function gte(e,t,n=!0,r){let i=r||e.rule.detectionServiceOrder||["google","bing","transmart","yandex"];return i=Ha(e,i,{filterHiddenFreeModel:!0}),i.sort((a,o)=>a===t?n?-1:1:o===t?n?1:-1:0),await Ju(i,e)}function eR(e,t){let n=t==="unregistered",r=n?oe("usageLimit.register.hard"):oe("usageLimit.upgrade.hard"),i=n?oe("goLogin"):oe("upgradeToPro"),a=n?j.USER_LOGIN_URL_FROM_ERROR:j.GO_UPGRADE_FOR_ERROR_DIALOG,o=n?oe("usageLimit.register.title"):oe("usageLimit.upgrade.title");n?mt(e,"unregisteredUsageLimitModal"):mt(e,"freeUsageLimitModal"),Rt({id:"translation_usage_limit_hard",width:400,render:({close:s})=>m("div",{children:[m(Rn,{close:s,children:o}),m("p",{children:r}),m("div",{className:"modal-skin-standard__actions",children:[m(Nt,{type:"secondary",onClick:s,children:oe("cancel")}),m(Nt,{type:"primary",onClick:()=>{tt(a),s()},children:i})]})]})})}var tR="imt-subscription-act-dialog",t6=null;function nR(e){t6?.();let t=e?.ctx??ze(),n=e?.ctx?.config,r=e?.user??t?.user;if(!n||!r)return;let i=mte();return Zt(m(Ui,{lang:n.interfaceLanguage,children:m(Yp,{ctx:t??null,config:n,forceVisible:!0})}),i),t6=()=>{Zt(null,i)},t6}function mte(){let e=document.getElementById(tR);return e||(e=document.createElement("div"),e.id=tR,document.body.appendChild(e)),e}function rR(e,t){try{return JSON.parse(e)}catch{return t}}var fte=[];function iR(){let e=(n,r)=>{globalThis.document.addEventListener(n,r),fte.push(()=>{globalThis.document.removeEventListener(n,r)})};e(ge+"showError",n=>{let{method:r,data:i}=n.detail||{};ze()?.rule.allowInnerInvoke&&he({type:"content",name:"dialog"},{method:r,data:i})}),e(ge+"showModal",n=>{let{method:r,data:i}=n.detail||{};ze()?.rule.allowInnerInvoke&&he({type:"content",name:"dialog"},{method:r,data:i})});function t(){return!!document.getElementById("imt-inject-preview")}e("click",n=>{if(!t())return;let i=n.target?.closest("[data-immersive-translate-action='toast-error']");if(!i)return;let a=i.getAttribute("data-immersive-translate-tooltip-text");a&&(n.preventDefault(),n.stopPropagation(),he({type:"content",name:"dialog"},{method:"showErrorModal",data:a}))}),Ta({type:"content",name:"dialog",topFrame:!0},async n=>{let r=ze();if(!r)return;let{method:i,data:a}=n;if(i=="hiddenModal"){ad();return}if(i=="showToast"){let{msg:o,type:s}=a||{};UP({msg:o,type:s});return}if(i=="ai_context_upgrade")return KP(r,a);if(i==="subscriptionAct"){if(r&&!r.rule?.allowInnerInvoke)return;let o={...r?.user,createTime:new Date().toISOString(),subscription:void 0};r.user=o,r.config.enableNewUserActivity=!0,nR({ctx:r});return}if(!X9()){if(i==="configConflict"){let{localConfig:o,remoteConfig:s,diff:u}=a||{},l=o||{},c=s||{},d=u??K0(l,c);Ip(l,c,d).catch(g=>{});return}if(i=="showErrorModal"){let o;if(typeof a=="string"){let p=a;try{p=decodeURIComponent(a)}catch{}o=rR(p,{errMsg:a})}else o=a;let s=o.title??"",u=o.errMsg??"",l=o.action??"retry",c=o.targetUrl??"";if(l==="proServiceTrialLimit")return QP(r,{});let g=!(await $u({ctx:r,usageScene:"web_page",service:"bing-free"}))?.hardHit;$P({title:s,message:u,action:l,targetUrl:c,canUseFreeService:g})||_P(jP.bind(null,r,s,u,l,c))}else if(i?.endsWith("Report")){let s={mangaReport:"manga",imageReport:"image",webReport:"web",docReport:"docTranslationForWeb"}[i];if(s){let u=typeof a=="object"&&a?a:{};qP(s,r,{showSuccessFeedback:u.showSuccessFeedback,styles:u.styles,initialView:u.initialView})}}else if(i=="clientImageNotSupport")YP();else if(i=="clientImageGuide")ZP();else if(i=="freeImageQuotaExhausted")JP();else if(i=="freeImageLoginRequired")XP();else if(i=="translationUsageLimitHard"){let s=(typeof a=="object"&&a?a:{}).userType==="unregistered"?"unregistered":"free";eR(r,s)}else if(i=="tokenUsageChange")pte(r,a);else if(i=="inputTranslationSame"){let o=a?.jumpUrl||"#auto/en/Hello%20World";Jf(r,o)}else if(i=="inputGuide")Xf();else if(i=="storeGuide"){let{storeReviewUrl:o,trigger:s}=a||{};Ll({storeReviewUrl:o,trigger:s})}}})}var n1=!1;async function pte(e,t){if(n1)return;let r=(await le.getUserInfo())?.subscription,i=e.config;if(!r||!e.isMax||r.isTrial||!e.config.tokenUsageTips?.enableMaxTips||!r.maxAIQuota||!r.maxAIUsedCountResetTime)return;let a=t.aiUsage;if(!a?.maxAIUsedQuota||r.maxAIQuota*.5>=a.maxAIUsedQuota)return;let o=new Date(r.maxAIUsedCountResetTime);if(i.tokenUsageTips?.resetTime&&new Date(i.tokenUsageTips?.resetTime).getTime()===o.getTime()){n1=!0;return}let s=await pt();if(s?.tokenUsageTips?.resetTime&&new Date(s.tokenUsageTips.resetTime).getTime()===o.getTime()){n1=!0;return}n1=!0,bt({...s,tokenUsageTips:{...s?.tokenUsageTips,resetTime:r.maxAIUsedCountResetTime}}),he({type:"content",name:"dialog"},{method:"showErrorModal",data:JSON.stringify({title:oe("error.usageTips"),errMsg:oe("error.maxQuotaUsageTips",{maxAIQuota:r.maxAIQuota.toLocaleString("en-US"),maxAIUsed:"50%",1:j.GO_ACCOUNT_USAGE_URL}),action:"usageTips",type:"info"})})}var aR=!1,r6={};function uR(e){r6={...r6,...e}}function wr(e){let t=r6[e];return t||(k.warn(`ContentDomMethod ${String(e)} not registered`),()=>{if(e.includes("Async")||e.startsWith("get")||e==="detectSetLanguage"||e==="getMiniConfig"||e==="setMiniConfig")return Promise.resolve(void 0)})}var Ra={setupDomListenersForOnce:()=>{},clearAllListeners:()=>{},handleSecurityPolicyViolation:()=>{},handleThirdPartyTell:()=>{},eventUpload:()=>{}},lR=[()=>{Wt.unbind()}],oR=[...lR],i6=[],hte=xn(async e=>{await ri(!1,"",e)},50),yte=xn(async()=>{await Rm()},50),n6=!1;Ra.setupDomListenersForOnce=(e,t)=>{let n=(a,o)=>{e.document.addEventListener(a,o),i6.push(()=>{e.document.removeEventListener(a,o)})};if(aR)return;aR=!0,n("securitypolicyviolation",Ra.handleSecurityPolicyViolation),n(ge+"DocumentMessageUser",wr("loginSuccessUpdateUser")),n(ge+"DocumentMessageUpdateUser",wr("onlyUpdateUser")),n(ge+"ChangeSuccessService",wr("changeToSuccessFreeEngine").bind(null,t)),n(ge+"ChangeService",wr("changeToEngine").bind(null,t)),n(js,Ra.handleThirdPartyTell.bind(null,t)),n(H5,Ra.eventUpload.bind(null,t));let r="";n("selectionchange",()=>{let a=globalThis.getSelection()?.toString().trim()||"";r!=a&&(r=a,!n6&&a&&a.length>0?es({text:a}):es({}))}),n("contextmenu",()=>{n6=!0,setTimeout(()=>{n6=!1},100)});let i=RP();n(i.type,i.listener),iR()};Ra.clearAllListeners=()=>{cR(),i6.forEach(e=>e()),i6=[]};function od(e,t){cR(),Ra.setupDomListenersForOnce(t,e),Me()&&(Je()||(Ly(e.config),xte(e.config))),_n(e.localConfig||{})&&zM(e,t),Ot()&&Ly(e.config)}async function bte(){let e=await pt(),t=e.enableDefaultAlwaysTranslatedUrls===void 0?!0:e.enableDefaultAlwaysTranslatedUrls;if(e.enableDefaultAlwaysTranslatedUrls=!t,!e.enableDefaultAlwaysTranslatedUrls){let n=e&&e.isChangedAlwaysTranslatedUrls,r=[];e.translationUrlPattern&&e.translationUrlPattern.matches&&(r=e.translationUrlPattern.matches||[]),!n&&r.length>0&&(e.translationUrlPattern={matches:[],excludeMatches:[]})}await bt(e)}async function vte(){let e=await pt(),t=e.enableInputTranslation;e.enableInputTranslation=!t,await bt(e)}Ra.handleThirdPartyTell=async(e,t)=>{let n=t;k.debug("receive third party message",n);let r=ze()||e;if(n&&n.detail){let i;try{let a=JSON.parse(n.detail);if(a&&a.type){if(a.type==="retryFailedParagraphs")he("content","retryFailedParagraphs");else if(a.type==="toggleEnableDefaultAlwaysTranslatedUrls")bte();else if(a.type==="toggleEnableInputTranslation")vte();else if(a.type==="syncAppSetting")dR(r,a.data);else if(a.type==="translatePage")Cte(r,a.data);else if(a.type==="getAsyncTranslationServiceList")i=await Vr(async()=>await Ate(),r,a);else if(a.type==="getAsyncTargetLanguageList")i=mf(a.data?.translationService,a.data?.targetLanguage,r.config);else if(a.type==="getAllLanguageListAsync")i=Rw({interfaceLanguage:a.data?.interfaceLanguage||r.config.interfaceLanguage,useOriginal:a.data?.useOriginal,useInterfaceLanguage:a.data?.useInterfaceLanguage});else if(a.type==="getAsyncTranslationMeta"){let o=r.state.translationService||r.translationService;i={targetLanguage:r.state.targetLanguage||r.targetLanguage,translationService:o,translationMode:r.state.translationMode}}else if(a.type==="verifyServiceConnection"){let o=await wr("getGlobalContext")(Ne(),{},!0),s={...o,state:{...o.state,cache:!1},translationService:a.data.service},u={retry:1,...a.data.serviceConfig||{}};try{i=await Vr(async()=>await sR(a.data,s,u),r,a)}catch(l){Ms(a.type,l.uiConfig(s),a.id)}}else if(a.type=="getAsyncTranslateContent"){let o={...r,translationService:a.data.service};a.data.usageScene&&(o.usageScene=a.data.usageScene);let s={...a.data.serviceConfig||{}};try{i=await Vr(async()=>{let u=await Jm(r,a.data.service);return s.contextTerms=u,await sR(a.data,o,s)},r,a)}catch(u){Ms(a.type,u.uiConfig(o),a.id)}}else if(a.type=="getAsyncTranslateMultipleResults"){let o={...r,translationService:a.data.service};a.data.usageScene&&(o.usageScene=a.data.usageScene);try{i=await Ste(o,a.data)}catch(s){Ms(a.type,{status:"error",error:s.uiConfig(o)},a.id)}}else if(a.type==="getAsyncLanguageByText")i=await Pm(a.data);else if(a.type==="getAsyncDownloadSubtitle")i=await eI();else if(a.type==="switchTranslationMode"){let o=typeof a?.data=="object"?a.data.translationMode:a.data,s=typeof a?.data=="object"?a.data.remember:!1;wr("switchTranslationMode")(o,{remember:s,triggerSource:a.data?.triggerSource})}else if(a.type=="updateTranslationThemeConfig")await wr("updateTranslationThemeConfig")(a.data),i={success:!0};else if(a.type=="getAsyncAiAssistants")i=await dT();else if(a.type=="addAiAssistantAsync")i=await fm("add",a.data);else if(a.type=="removeAiAssistantAsync")i=await fm("remove",a.data);else if(a.type=="getMiniConfigAsync"||a.type=="getConfig")i=await wr("getMiniConfig")(r,a.data);else if(a.type=="setMiniConfigAsync"||a.type=="setConfig")i=await wr("setMiniConfig")(r,a.data);else if(a.type=="getDeviceInfoAsync")r.rule.allowInnerInvoke&&(i=await Tu("auto",r.targetLanguage));else if(a.type=="setABGroupAsync")r.rule.allowInnerInvoke&&(i=await qC(a.data));else if(a.type==="getIsSupportIsOnToolbarAsync")r.rule.allowInnerInvoke&&(i=await l7());else if(a.type==="getIsOnToolbarAsync")r.rule.allowInnerInvoke&&(i=await c7());else if(a.type==="setCampaignAsync")r.rule.allowInnerInvoke&&(i=await KC(a.data));else if(a.type==="openPopup")$p({...a.data,open:!0});else if(a.type==="closePopup")$p({...a.data,open:!1});else if(a.type==="togglePopup")$p({...a.data});else if(a.type==="getPageStatusAsync")i=rt();else if(a.type==="restorePage")Ete();else if(a.type==="getPageLanguageAsync")i=dn();else if(a.type==="showFloatBallGuide")pP();else if(a.type==="showPopupModalGuide")hP();else if(a.type=="getAsyncDetectAndSetLanguage")i=await wr("detectSetLanguage")(a.data);else if(a.type=="setFloatBallActive")CP(a.data);else if(a.type=="requestTermsByContext"){let{text:o,translationService:s}=a.data;is(r,s,o,!0)}else if(a.type=="requestTermsContextByServices"){let{text:o,services:s}=a.data;await Ym(r,o,s)}else if(a.type=="getAsyncTranslateImageByUrl")i=await FP(r,a.data);else if(a.type=="getAsyncTranslateImageProgress")i=await BP(r,a.data);else if(a.type=="triggerTranslateImageBySrc")rk(r,a.data);else if(a.type=="cleanTranslateImageBySrc")ik(a.data);else if(a.type=="openImageTranslationFeedback")Je()||_e("imageReport");else if(a.type=="getAsyncUserInfo")i=await Vr(async()=>await le.getUserInfo(),r);else if(a.type=="getOrCreatePkceChallengeAsync")i=await Vr(async()=>await he("background",{method:"getOrCreatePkceChallenge",data:a.data}),r);else if(a.type=="submitPkceAuthCodeAsync")i=await Vr(async()=>await he("background",{method:"exchangePkceToken",data:{requestId:a.data?.requestId,authCode:a.data?.authCode}}),r);else if(a.type=="getAsyncAllTerms")i=await Vr(async()=>await dD(r.config),r);else if(a.type=="getAsyncGlossaries")i=await Vr(async()=>await gD(r.config,a.data.targetLanguage,a.data.ids),r);else if(a.type=="openWebTranslationFeedback")Je()||_e("webReport");else if(a.type=="openRewardCenter"){let o=a.payload?.trigger;a.data?.trigger&&(o=a.data.trigger),ns(r,o||"dom_trigger")}else a.type=="collectAnalytics"?Vr(async()=>{let o=a.data||{},s=o.ignoreGA||!1,u=o.params||{};se({key:o.type,ctx:r,params:u,forceDaily:!1,ignoreGA:s})},r):a.type==="updateUserConfigAsync"?i=await Vr(async()=>await wte({translationServices:a.data.translationServices}),r):a.type==="syncUserLoginSetting"?Vr(async()=>{let o=await le.getUserInfo();if(o){let s=await pt();Mt(o)&&await ws(s)}},r):a.type=="checkAgreeAndTriggerModalAsync"?(await hm(r),await bT()):a.type=="agreeProtocolAndRefreshPageAsync"?(await Eu(r,a.data?.isRefreshPage),i={success:!0}):a.type=="getRuleId"?i=(await Sg(a.data))?.id:a.type=="updateUserInfo"?i=await Vr(async()=>{let o=await Qu();return o&&(r.user=o,r.isPro=Mt(o)),null},r):a.type==="switchPluginRegionAsync"?i=await Vr(async()=>await Tte(r,a.data),r):he("content",a.type);i!==void 0&&a.id&&Ms(a.type,i,a.id)}}catch(a){k.warn("parse message error",a)}}};Ra.handleSecurityPolicyViolation=e=>{It.HAS_CSP_ERROR="1"};Ra.eventUpload=(e,t)=>{let n=t.detail;(n.name=="open_pdf_page"||n.name==="open_html_page")&&(se({key:n.name,ctx:e}),Dr("translate_pdf_1",e))};function cR(){oR.forEach(e=>{e()}),oR=lR}function xte(e){if(Me()&&typeof GM<"u"&&GM&&GM.registerMenuCommand){let t=yg.commands,i=[...Object.keys(t).filter(a=>a==="toggleTranslatePage").map(a=>{let o=t[a].description,s=o;return o.startsWith("__MSG_")&&o.endsWith("__")&&(s=oe(`browser.${o.slice(6,-2)}`)),{id:a,title:s}}),{id:hh,title:oe("browser.openOptionsPage"),key:"o"},{id:yh,title:oe("browser.openAboutPage"),key:"a"}];for(let a of i)GM.registerMenuCommand(a.title,()=>{a.id===hh?hte(e.useOnlineOptions):a.id===yh?yte():he("content",{method:a.id,data:{trigger:"userscript_menu"}})},a.key)}}async function dR(e,t){let n={};return t?.translationMode&&(n.translationMode=t.translationMode),t?.translationService&&(n.translationService=W8(e.config,t.translationService)),t?.targetLanguage&&(n.targetLanguage=t.targetLanguage),t?.translationStartMode&&(n.translationStartMode=t.translationStartMode),t?.usageScene&&(n.usageScene=t.usageScene),await wr("getGlobalContext")(Ne(),n)}async function Cte(e,t){if(t?.triggerSource==="mobileBridge"&&rt()==="Translated")return;let n=await dR(e,t);await wr("translatePage")(n)}function Ms(e,t,n){globalThis.document.dispatchEvent(new CustomEvent(tn,{detail:JSON.stringify({id:n,type:e,payload:t})}))}async function Vr(e,t,n){if(!t.rule.allowInnerInvoke&&!Ze()&&!kt()&&!id()){if(!n)return;Ms(n.type,new Y("immersive","not in immersive environment, can't invoke translate").uiConfig(t),n.id);return}return await e()}async function Tte(e,t){k.info("[switchPluginRegion] \u6536\u5230\u5207\u6362\u8BF7\u6C42:",t);let n=t?.region;if(!n||!["mainland","oversea"].includes(n))return k.warn("[switchPluginRegion] \u65E0\u6548\u7684\u76EE\u6807\u533A\u57DF:",n),{success:!1,region:"",changed:!1,error:"invalid_region"};let r=gt()?"mainland":"oversea";return k.info("[switchPluginRegion] \u5F53\u524D\u533A\u57DF:",r,"\u76EE\u6807\u533A\u57DF:",n),r===n?(k.info("[switchPluginRegion] \u5DF2\u7ECF\u662F\u76EE\u6807\u533A\u57DF\uFF0C\u65E0\u9700\u5207\u6362"),{success:!0,region:n,changed:!1}):(k.info("[switchPluginRegion] \u5F00\u59CB\u6267\u884C\u5207\u6362..."),await le.setPluginRegion(n),Lr(),k.info("[switchPluginRegion] \u5207\u6362\u5B8C\u6210\uFF0C\u65B0\u533A\u57DF:",n),{success:!0,region:n,changed:!0})}async function sR({textList:e,from:t,to:n,service:r},i,a){let o=e.map(u=>({text:u||"",id:0,from:t,to:n,url:i.url,fromByClient:t,force:!0,inArticleContext:!0})),s=null;try{let u=await Kt({sentences:o},{...i,isRichTranslate:!1,translationService:r},l=>s=l,a);if(s)throw s;return u}catch(u){throw u}}async function Ste(e,t){let{textList:n,from:r,to:i,service:a,usageScene:o}=t;if(!e.rule.allowInnerInvoke)return;let s=n.map((u,l)=>({text:u||"",id:l,from:r,to:i,url:e.url,fromByClient:r,force:!0,inArticleContext:!0}));try{let u=[],l={...e,isRichTranslate:!1,translationService:a};return o&&(l.usageScene=o),await Kt({sentences:s},l,(c,d,g)=>{let f=null;c&&(f={name:c?.name,message:c?.message,status:c instanceof Y?c.errorCode:"error"}),u[g.id]={error:f,errorUIConfig:c instanceof Y?c?.uiConfig(e):null,sentence:d,sentenceRequest:g}}),{status:"success",data:u.map(c=>c)}}catch(u){throw u}}function Ete(){rt()!=="Original"&&wr("restorePage")()}async function wte(e){let t=await pt(),n=kl(t,e);return await bt(n),n}async function Ate(){let e=await wr("getGlobalContext")(Ne(),{},!0);return Mg(e,"translationService",e.config.interfaceLanguage).map(n=>{let r={...n.config},i=sl(n.type||n.id);for(let a of i)delete r[a];return{id:n.id,config:r,ok:n.ok,name:n.name,type:n.type,selected:n.selected,icon:n.icon,group:n.config.group,visible:n.visible}})}var Is={};async function a6(){let t=[...document.querySelectorAll(".source-text")].map(r=>r.textContent).join(""),n=await Ve({text:t,minLength:200});return Fr(n),n}async function gR(e){let t=0,n=0;En("Translating");let r=dn(),i=km(),a=[...document.querySelectorAll(".source-text")];if(xu(e,r))return;let o=a.filter(u=>u.innerText?.trim()).map((u,l)=>({text:u.innerText||"",id:l,from:r,to:e.targetLanguage,url:"https://google.com",fromByClient:i,force:!0,inArticleContext:!0,node:u}));document.dispatchEvent(new CustomEvent(tn,{detail:JSON.stringify({type:"totalParagraphsCount",payload:{totalParagraphsCount:o.length}})}));try{let u=o,l=Oc(e,"",!0);for(;u.length;){let c=u.slice(0,100);u=u.slice(100),c.forEach(d=>{let g=d.node.parentElement?.parentElement?.querySelector(".target-text");if(cn(d.node,"id",d.id+""),g){Cu(g,d.id)?.remove();let f=l?.cloneNode(!0);f.id=d.id+"",g.appendChild(f)}}),await s(c),await it(0)}}catch(u){throw u}finally{t=0,n=0,En("Translated")}async function s(u){await Kt({sentences:u},{...e,usageScene:"subtitle_file"},(l,c,d)=>{n+=1;let g=d.id,f=Cu(document.body,g);if(!f)return;let p=f.parentElement;p&&(f.remove(),l?(t+=1,p.innerHTML=at.sanitize(`<span id="error-id-${g}">${l.message}</span>`),Is[g]={ok:!1,sentence:d},fR(u,e,t,n,l)):c&&(p.innerHTML=at.sanitize(c.text),Is[g]={ok:!0,sentence:d}),document.dispatchEvent(new CustomEvent(tn,{detail:JSON.stringify({type:"paragraphTranslated",payload:{ok:!l}})})))})}}async function mR(e){let t=0,n=0;En("Translating"),document.dispatchEvent(new CustomEvent(tn,{detail:JSON.stringify({type:"retryFailedParagraphsStart",payload:{}})}));let r=Object.keys(Is),i=[],a=[],o=Oc(e,"");for(let s of r){let u=Is[s];if(!u.ok){let c=document.querySelector(`#error-id-${s}`);if(c){let d=c.parentElement;if(c.remove(),d){delete Is[s];let g=o?.cloneNode(!0);g.id=s,d.appendChild(g),a.push(u.sentence)}}}}try{await Kt({sentences:a},e,(s,u,l)=>{n+=1;let c=l.id,d=Cu(document.body,c);if(!d)return;let g=d.parentElement;g&&(d.remove(),s?(t+=1,g.innerHTML=at.sanitize(`<span id="error-id-${c}">${s.message}</span>`),Is[c]={ok:!1,sentence:l},fR(a,e,t,n,s)):u&&(g.innerHTML=at.sanitize(u.text),Is[c]={ok:!0,sentence:l}),document.dispatchEvent(new CustomEvent(tn,{detail:JSON.stringify({type:"paragraphTranslated",payload:{ok:!s}})})))})}catch(s){throw s}finally{t=0,n=0,En("Translated")}}function o6(){En("Original"),document.querySelectorAll(".target-text").forEach(e=>{e.innerHTML=""})}function fR(e,t,n,r,i){if(!(i instanceof Y))return;let a=i.uiConfig(t);a.action=="retry"&&(a.action="none"),(n===t.rule.toastErrorMinTimes||r===e.length)&&_e("showErrorModal",a)}var r1={};async function pR(){let e=[...document.querySelectorAll("iframe")],t="";for(let r of e){let i=r.contentDocument;if(!i)continue;let a=i.body;if(a&&(t=t+a.innerText||"",t.length>1e3))break}let n=await Ve({text:t});return Fr(n),n}async function hR(e){En("Translating"),document.dispatchEvent(new CustomEvent(tn,{detail:JSON.stringify({type:"retryFailedParagraphsStart",payload:{}})}));let t=Object.keys(r1),n=[];for(let r of t){let i=r1[r];if(i.error){let o=i.commonAncestorContainer.querySelector(`[${ac}='${r}']`);o&&o.remove(),n.push(i)}}try{m0(),await f0({paragraphs:n,ctx:e,translationMode:e.state.translationMode||e.config.translationMode,isLongImmediateHtml:!1,inArticleContext:!0,userDiffContext:!1})}catch{}finally{En("Translated")}}function yR(e){Object.values(r1).forEach(t=>{try{let n=t.state,r=t.commonAncestorContainer,{targetNodes:i}=t;if(!i)return;if(n==="translation"){let a=tl(e,t.targetNodes);ms(e,a,r,t.rootNodes||[]),Ma(t.targetNodes)}else n==="dual"&&Ma(t.targetNodes)}catch(n){k.error("cleanEbook error",n)}}),En("Original")}async function bR(e){go(!1),En("Translating");let t=Qo(),n=ei(e.config.translationServices[e.translationService]),r=qi(),i=0,a=1;for(let u of r){let l=u.contentDocument,c=l?.querySelectorAll(`[${ac}]`);if(l?.querySelectorAll(`.${U}-loading-spinner`)?.forEach(C=>C.remove()),c?.forEach(C=>C.remove()),!l)continue;el(l,e);let g=l.body;if(!g)continue;_i(l.documentElement,e.state.translationMode);let f=Dn(e);f.isModifyImage=!1;let p=[];await Xu({id:t,container:g,filterRule:f,onParagraph:C=>{p.push(C)}});let h=await s(p);i+=h,o(Math.max(i,1e4)),await it(0)}o(i),En("Translated");function o(u){document.dispatchEvent(new CustomEvent(tn,{detail:JSON.stringify({type:"totalParagraphsCount",payload:{totalParagraphsCount:u}})}))}async function s(u){let l=[],c=as(e,e.translationService,e.config.translationServices,e.specialAiAssistant);try{for(let d of u){let g=vf(d.commonAncestorContainer,d.flatNodes,{isPreWhitespace:d.isPreWhitespace||!1,delimiters:n,stayOriginalSelectors:xf(e),ignoreRichSelectors:e.rule.ignoreRichSelectors,smallCodeLength:e.rule.smallCodeLength,domPurifyAddTags:e.rule.domPurifyAddTags,richMoreWordPercent:e.rule.richMoreWordPercent||0,purifyRichHtml:e.rule.purifyRichHtml||!1},e.config.translationServices?.[e.translationService],c);if(!g)continue;d.id=(a++).toString();let f=await xy(e,d,g,{excludeLanguages:e?.config?.translationLanguagePattern?.excludeMatches||[],isDetectParagraphLanguage:e.rule.detectParagraphLanguage||e.state.isDetectParagraphLanguage,targetLanguage:e.targetLanguage,delimiters:n,noTranslateRegexp:e.rule.noTranslateRegexp,minTextCount:2,minWordCount:1,ignoreZhCNandZhTW:e.rule.ignoreZhCNandZhTW});f&&(f.inArticleContext=!0,l.push(f),r1[f.id]=f)}f0({paragraphs:l,ctx:{...e,isRichTranslate:c},translationMode:e.state.translationMode||e.config.translationMode,isLongImmediateHtml:!1,inArticleContext:!0,userDiffContext:!1})}catch{}return l.length}}function Ul(e){return jl(e).subtitles}function jl(e){let t=[],n=e.split(/\r?\n/),r={},i=-1;return n.forEach((a,o)=>{let s=a.match(/(?<start>(\d{2}:)*\d{2}([.,]\d{3})?) --> (?<end>(\d{2}:)*\d{2}([.,]\d{3})?)(?<style>(\s+.+)?)/);s?.groups?(i<0&&(i=o),r.start=s?.groups.start,r.end=s?.groups.end,r.style=s?.groups.style,r.text=""):a.trim()===""?(r.start&&r.end&&r.text&&t.push(r),r={}):r.text!==void 0&&(r.text.length>0&&(r.text+=`
`),r.text+=a)}),r.start&&r.end&&r.text&&t.push(r),{meta:n.slice(0,i).join(`
`),subtitles:t}}function Lo(e){let t="WEBVTT",n=e;Array.isArray(e)||(t=e.meta,n=e.subtitles);let r=n.map(i=>{let a=Gr(i.text);return`${i.start} --> ${i.end}${i.style||""}
${a}`}).join(`

`);return`${t}

${r}`}function Gr(e){try{let t=e.replace(/&lt;/g,"<").replace(/&gt;/g,">");return t=t.replace(/，\s*，/g,"\uFF0C").replace(/，\s*。/g,""),t}catch{return e}}function s6(e){let t=jl(e);return kte(t.subtitles)}function kte(e){return e.map(t=>({startTime:Nn(t.start),endTime:Nn(t.end),text:t.text}))}function u6(e,t,n=`
`,r=.5){let i=vR(e),a=vR(t),o=[],s=0;for(let l=0;l<i.length&&s<a.length;){let c=i[l],d=a[s],g=Nn(c.start),f=Nn(c.end),p=Nn(d.start),h=Nn(d.end);if(h-r<=g){s++;continue}if(p+r>=f){l++;continue}let C=o[l]||[];C.push(d),o[l]=C,h<=f&&s++,h>=f&&l++}return i.map((l,c)=>{let d=o[c]?.map(g=>g.text).join(" ").replaceAll(n," ");return{...l,text:l.text.replaceAll(n," "),translation:d}})}function zl(e,t,n=`
`,r=.5){return u6(e,t,n,r).map(a=>({...a,text:a.translation?`${a.text}${n}${a.translation}`:a.text}))}function vR(e){for(let t=e.length-1;t>0;t--){let n=e[t],r=e[t-1];Nn(n.start)<Nn(r.end)&&(r.end=n.start)}return e}function Nn(e,t=3){if(typeof e=="number")return e;let n=e.split(":"),r=0,i=0,a=0;if(n.length===t)r=parseInt(n[0]),i=parseInt(n[1]),a=parseFloat(n[2]);else if(n.length===2)i=parseInt(n[0]),a=parseFloat(n[1]);else return parseFloat(e);return r*3600+i*60+a}function Mte(e){try{let n=new DataView(e),r=0;for(let o=0;o<e.byteLength-4;o++)if(n.getUint32(o)===1835295092){r=o+4;break}let i=new Uint8Array(e.slice(r)),a=new TextDecoder("utf-8",{fatal:!0}).decode(i);return{arrayBuffer:e.slice(0,r),mdatContent:a}}catch{return null}}function Ite(e,t){let n=new TextEncoder().encode(t),r=new Uint8Array(e),i=new Uint8Array(r.byteLength+n.byteLength);i.set(r),i.set(n,r.byteLength);let a=new DataView(i.buffer);return a.setUint32(e.byteLength-8,n.byteLength+8),a.buffer}function i1(e){let t=Mte(e);if(!t)return;let n=new globalThis.DOMParser().parseFromString(t.mdatContent,"text/xml");return{arrayBuffer:t.arrayBuffer,document:n}}function a1(e,t){let n=`<?xml version="1.0" encoding="utf-8" ?>${t.documentElement.outerHTML}`;return Ite(e,n)}function l6(e,t=1){return e=e.replace("ms","").replace("s",""),!e.includes(":")&&e.trim().length>0&&!isNaN(parseFloat(e))?parseFloat(e)/t:e||0}function sd(e,t){let n=oe.bind(null);if(t instanceof Y){let r=t.uiConfig(e),i=r.title,a=encodeURIComponent(JSON.stringify(r));return Lte(),`${n("translateFail")}\uFF1A${i} \u2014\u2014 <span data-immersive-subtitle-error="${a}" style="text-decoration:underline;color: #ea4c89;cursor:pointer;">${n("viewDetail")}</span>`}return`${n("translateFail")}: ${t.message}`}var xR=!1;function Lte(){xR||(xR=!0,document.addEventListener("click",e=>{let n=(typeof e.composedPath=="function"?e.composedPath():[]).find(i=>i instanceof HTMLElement&&i.hasAttribute("data-immersive-subtitle-error"));if(!n)return;e.preventDefault();let r=n.getAttribute("data-immersive-subtitle-error");if(r)try{let i=JSON.parse(decodeURIComponent(r));_e("showErrorModal",i)}catch{}},!0))}function o1(e){let t=e.config.generalRule.subtitleRule;return t.translationMode&&t.translationMode!=="inherit"?t.translationMode:e.state.translationMode}function g6(e,t,n,r,i=!1){let a=[...e.textTracks].find(o=>o.createBy===U);if(!a)a=e.addTextTrack("subtitles",t,n),a.createBy=U,a.isTranslated=!0;else for(;a.cues?.length;)a.removeCue(a.cues[0]);return a.mode=i?"showing":"hidden",r.forEach(o=>{let s=new VTTCue(o.startTime,o.endTime,o.text);a.addCue(s)}),a}function CR(e){for(let t=0;t<e.textTracks.length;t++)e.textTracks[t].mode="disabled"}function Dte(e){for(let t=0;t<e.textTracks.length;t++)e.textTracks[t].mode="hidden"}var c6,d6;function ud(e,t,n,r){let i=oe.bind(null);try{if(!r.rule.subtitleRule.enableIOSFullScreenTextTrack||!Pe().apple.phone&&!Pe().apple.tablet)return;Dte(e),e.removeEventListener("webkitbeginfullscreen",c6),e.removeEventListener("webkitendfullscreen",d6);let a=e.webkitPresentationMode==="fullscreen",o=g6(e,i("bilingual"),t,n,a);c6=()=>{o.mode="showing"},d6=()=>{o.mode="hidden"},e.addEventListener("webkitbeginfullscreen",c6),e.addEventListener("webkitendfullscreen",d6)}catch{}}var Hl="imt-subtitle-inject",s1=class{from;to;constructor(t,n){this.from=t,this.to=n}sendMessages(t){globalThis.postMessage({eventType:Hl,to:this.to,from:this.from,type:t.type,data:t.data,id:t.id||new Date().getTime(),isAsync:!1})}getRandomId(){return(new Date().getTime()+Math.random())*Math.random()}sendAsyncMessages({type:t,data:n}){return new Promise(r=>{let i=this.getRandomId();globalThis.postMessage({eventType:Hl,to:this.to,from:this.from,type:t,data:n,id:i,isAsync:!0});let a=o=>{let s=o.data;Hl===s.eventType&&s.id===i&&s.to===this.from&&(r(s.data),globalThis.removeEventListener("message",a))};globalThis.addEventListener("message",a)})}handleMessageOnce(t){return new Promise(n=>{let r=i=>{let a=i.data;Hl===a.eventType&&a.type===t&&a.to===this.from&&(n(a.data),globalThis.removeEventListener("message",r))};globalThis.addEventListener("message",r)})}handleMessage(t,n){let r=i=>{let a=i.data;Hl===a.eventType&&a.type===t&&a.to===this.from&&n(a)};return globalThis.addEventListener("message",r),()=>{globalThis.removeEventListener("message",r)}}handleMessages(t){let n=({data:r})=>{Hl===r.eventType&&r.to===this.from&&t(r)};return globalThis.addEventListener("message",n),()=>{globalThis.removeEventListener("message",n)}}},Ls=new s1("content-script","inject"),Pte=new s1("inject","content-script"),TR={get(e,t,n){return t in e?(...r)=>{let i=e[t];return typeof i=="function"?i.apply(e,r):Reflect.get(e,t,n)}:r=>e.sendAsyncMessages({type:t,data:r})}},XQe=new Proxy(Pte,TR),u1=new Proxy(Ls,TR);var l1="imt-attach-subtitle-update",c1="youtube_live_dom";function SR(e){globalThis.dispatchEvent(new CustomEvent(l1,{detail:e}))}var Vl;function wR(e){let{t}=ee(),{videoSelector:n,video:r}=e,i=$(e.subtitleItems),[a,o]=z({}),[s,u]=z([]),l=$(!1),c=$(!1),d=e.ctx.rule.subtitleRule;G(()=>{let y=tT(e.ctx,i.current);is({...e.ctx,usageScene:"subtitle_video"},e.ctx.subtitleTranslateService,y)},[i]);let g=de(()=>{if(o1(e.ctx)==="translation"||Da(e.lang,e.ctx.targetLanguage)||e.lang===e.ctx.targetLanguage)return!0},[e]),f=Te(()=>{let y=i.current.map(v=>{let b=v.text+`
`+(v.translation||"");return g&&(b=v.translation||v.text),{startTime:Nn(v.start),endTime:Nn(v.end),text:b}});ud(r,e.lang,y,e.ctx)},[i,ud,e,g,r]),p=Te(()=>{f(),mp(e.ctx,i.current,e.lang,e.aiSubtitlePageUrl)},[f,e]);G(()=>{i.current=e.subtitleItems,o({})},[e.subtitleItems]),G(()=>{let y=v=>{let b=v.detail;b&&b.source===c1&&e.ctx.rule.subtitleRule.type==="youtube"&&(i.current=b.subtitleItems,o({}))};return globalThis.addEventListener(l1,y),()=>{globalThis.removeEventListener(l1,y)}},[e.ctx.rule.subtitleRule.type]);let h=Te(async y=>{let v=d.velocityGroup||[1,3,5],b=i.current;if(!b[y])return;let x=!!b[y].needReTranslate;if(b[y].translation&&!x||b[y].state=="loading"){let S=b.slice(y).findIndex(P=>{let B=!!P.needReTranslate;return(!P.translation||B)&&P.state!="loading"});if(S<0)return;let E=v[v.length-1];if(S>E)return;let A=y+S,M=b.slice(A,A+E);C(M);return}let T=y;for(let S=0;S<v.length;S++){let E=v[S],A=b.slice(T,T+E);C(A),T+=E}},[i,e.ctx,o,f,d]);return G(()=>{let y=-1;d1=0;let v=null,b=e.ctx.rule.subtitleRule,x=b.type==="youtube_iframe",T=x||b.type==="youtube"&&b.videoPlayerSelector,S=async()=>{if(x){let B=b.iframePlayerGlobalName||j5;return globalThis[B]?.getCurrentTime?.()??null}let P=await Promise.race([u1.getCurrentTime(),new Promise(B=>{setTimeout(()=>B(null),200)})]);return P??null},E=async P=>{let B=P?P.target.currentTime:null;try{if(T){let O=Date.now(),R=await S();R!==null&&(B=R+(Date.now()-O)/1e3)}B!==null&&(B=Bte(b,B,e.videoContainer))}catch{}return B},A=P=>{y<0&&!e.isLive&&(y=r?Ote(r,i.current):0),e.isLive&&(y=-1);let B=_=>{let F=Nn(_.start)-y,L=Nn(_.end)-y;return P>=F&&P<=L},O=i.current.findIndex(B),R=i.current.filter(B);u(R),O>=0&&e.ctx.targetLanguage!==e.lang&&(x&&!c.current&&(c.current=!0,k.info("[youtube_iframe] trigger translate",{index:O,time:P})),h(O))},M=async P=>{let B=await E(P);B!==null&&A(B)};return p(),r?(r.shouldRemoveListeners?.forEach(P=>P()),r.shouldRemoveListeners=[],r.addEventListener("timeupdate",M),r.shouldRemoveListeners?.push(()=>{r.removeEventListener("timeupdate",M)})):x&&(l.current||(l.current=!0,k.info("[youtube_iframe] use interval tick without video element")),v=setInterval(()=>{M()},100)),()=>{v&&clearInterval(v)}},[n,r,i,h,f]),{setActiveCues:u,activeCues:s,isHiddenSourceSubtitle:g};async function C(y){let v=y.filter(A=>(!A.translation||A.needReTranslate)&&A.state!="loading");if(!v.length)return;v.forEach(A=>{A.state="loading"});let b=v.map(A=>A.text);p();let x=e.ctx.subtitleTranslateService,T=_0(e.ctx,x);if(Vl=Vl??hl(e.ctx),T&&Vl!=="none"&&Vl!==x&&!e.isLive){let A=m6({...e.ctx,subtitleTranslateService:Vl},b,e.lang,(P,B,O)=>{let R=O.id;if(P||!B){Vl="none";return}v[R].translation||(v[R].state="translated",v[R].translation=Gr(B.text),p(),o({}))}),M=m6(e.ctx,b,e.lang,(P,B,O)=>{let R=O.id;if(P||!B){if(v[R].translation)return;v[R].state="error",v[R].translation=P?sd(e.ctx,P):t("translateFail"),p();return}let _=v[O.id].state!="translated";v[O.id].state="translated",v[O.id].translation=Gr(B.text),p(),_&&o({})});await Promise.allSettled([A,M]);return}let S=v.some(A=>!!A.needReTranslate),E=h6(e.ctx,e.isLive,S);await m6({...e.ctx,subtitleTranslateService:E},b,e.lang,(A,M,P)=>{if(A||!M){v[P.id].state="error",v[P.id].translation=A?sd(e.ctx,A):t("translateFail"),v[P.id].needReTranslate=!1,p();return}v[P.id].state="translated",v[P.id].translation=Gr(M.text),v[P.id].needReTranslate=!1,p(),o({})})}}function h6(e,t,n=!1){if(!t)return e.subtitleTranslateService;let r=e.subtitleTranslateService;if(e.isPro&&n)return hl(e)||r;let i=e.rule.subtitleRule?.proLiveSubtitleTranslateService;return e.isPro&&i&&ZM(e,r)?i:_0(e,r)&&hl(e)||r}async function m6(e,t,n,r){let i=t.map((o,s)=>({text:o.replace(/\n/," ")||"",id:s,from:n,to:e.targetLanguage,url:"https://google.com",fromByClient:n,force:!0,inArticleContext:!0}));return(await Kt({sentences:i},{...e,isRichTranslate:!1,translationService:e.subtitleTranslateService,usageScene:"subtitle_video"},r)).sentences.map((o,s)=>o.text)}function Rte(e){let[t,n]=z(16);return G(()=>{if(!e)return;let r=new ResizeObserver(i=>{for(let a of i){let{width:o,height:s}=a.contentRect,u=o/45,l=s/24,c=Math.min(u,l);(o==0||s==0)&&(c=16);let d=10;l>14&&l>u*2&&(d=Math.max(l/2.5,14));let g=Math.max(c,d);n(g)}});return r.observe(e),()=>{r.disconnect()}},[e]),{fontSize:t}}var f6=ge+"DocumentMessageEventUpdateAttachSubtitleStyles",Nte={none:"",shadow:"rgb(34, 34, 34) 1.21389px 1.21389px 1.82083px, rgb(34, 34, 34) 1.21389px 1.21389px 2.42778px, rgb(34, 34, 34) 1.21389px 1.21389px 3.03472px",raised:"rgb(34, 34, 34) 1px 1px",depressed:"rgb(204, 204, 204) 1px 1px, rgb(34, 34, 34) -1px -1px",outline:"rgb(34, 34, 34) 0px 0px 1.21389px, rgb(34, 34, 34) 0px 0px 1.21389px, rgb(34, 34, 34) 0px 0px 1.21389px, rgb(34, 34, 34) 0px 0px 1.21389px, rgb(34, 34, 34) 0px 0px 1.21389px"};function AR(e){let{ctx:t}=e,[n,r]=z(t.rule.subtitleRule),{fontSize:i}=Rte(e.videoContainer||e.video);G(()=>{let s=u=>{let l=u.detail;r(l)};return globalThis.document.addEventListener(f6,s),()=>{globalThis.document.addEventListener(f6,s)}},[]);let a=de(()=>n.backgroundColor+Fte(n.backgroundOpacity),[n]),o=de(()=>n.textShadowType&&Nte[n.textShadowType]||"",[n]);return{backgroundColor:a,textShadowStyle:o,sourceFontSize:i*ER(n.sourceFontSize),translationFontSize:i*ER(n.translationFontSize),sourceTextColor:n.sourceTextColor,translationTextColor:n.translationTextColor,translationPosition:n.translationPosition,sourceFontFamily:n.sourceFontFamily=="none"?"":n.sourceFontFamily,translationFontFamily:n.translationFontFamily==="none"?"":n.translationFontFamily,sourceFontWeight:n.sourceFontWeight,translationFontWeight:n.translationFontWeight}}function kR(e){let t=new CustomEvent(f6,{detail:e});document.dispatchEvent(t)}function Fte(e="75"){let t=parseInt(e)*2.55;return Math.round(t).toString(16).padStart(2,"0")}function ER(e="1"){return parseFloat(e)/100}var p6=ge+"DocumentMessageEventResetSubtitlePosition";function MR(e,t){let n=de(()=>{let r=globalThis.location.hostname;return r.includes("youtube")&&globalThis.location.pathname.includes("shorts")?`${r}-shorts`:r},[]);G(()=>{if(!t.current)return;(async()=>{let o=(await Sn()).subtitlePositions?.[n];if(o){if(o.topPercent){let s=Number(o.topPercent);isNaN(s)&&(s=0),s=Math.max(0,Math.min(100,s)),t.current.style.top=`${s}%`,t.current.style.bottom="unset"}if(o.bottomPercent){let s=Number(o.bottomPercent);isNaN(s)&&(s=0),s=Math.max(0,Math.min(100,s)),t.current.style.bottom=`${s}%`,t.current.style.top="unset"}}})();let i=async()=>{let a=await Sn(),o=a.subtitlePositions||{};delete o[n],ti({...a,subtitlePositions:{...a.subtitlePositions}}),t.current.style.removeProperty("top"),t.current.style.removeProperty("bottom")};return document.addEventListener(p6,i),()=>{document.removeEventListener(p6,i)}},[t,n]),G(()=>{if(!t.current||!e.current)return;let r=e.current?.getBoundingClientRect(),i,a=0,o=p=>{r=e.current.getBoundingClientRect(),i=t.current.getBoundingClientRect(),a=p.clientY-i.top,document.addEventListener("mousemove",s),document.addEventListener("touchmove",d),document.addEventListener("mouseup",l),document.addEventListener("touchend",g),document.addEventListener("touchcancel",g)},s=p=>{if(!r||!i)return;let h=p.pageY-r.top-a,C=r.height-i.height,y=Math.min(Math.max(0,h),C),v=y/r.height*100;if(v>50){let x=(r.height-y-i.height)/r.height*100;t.current.style.bottom=`${x}%`,t.current.style.top="unset",u({bottomPercent:x})}else t.current.style.top=`${v}%`,t.current.style.bottom="unset",u({topPercent:v})},u=async p=>{let h=await Sn();ti({...h,subtitlePositions:{...h.subtitlePositions,[n]:p}})},l=p=>{f()},c=p=>{p.preventDefault&&p.preventDefault(),o(p.changedTouches[0])},d=p=>{p.preventDefault&&p.preventDefault(),s(p.changedTouches[0])},g=p=>{p.preventDefault&&p.preventDefault(),l(p.changedTouches[0])},f=()=>{document.removeEventListener("mousemove",s),document.removeEventListener("touchmove",d),document.removeEventListener("mouseup",l),document.removeEventListener("touchend",g),document.removeEventListener("touchcancel",g)};return t.current.addEventListener("mousedown",o),t.current.addEventListener("touchstart",c),()=>{t.current&&(t.current.removeEventListener("mousedown",o),t.current.removeEventListener("touchstart",c))}},[e,t])}function IR(){let e=new CustomEvent(p6,{detail:{}});document.dispatchEvent(e)}var d1;function Bte(e,t,n){try{let r=e.attachRule,i=r?.realCurrentTimeSelector,a=r?.realCurrentTimeRegex,o=r?.realCurrentType;if(!i||!a)return t;let s=je(i,n);if(!s)return t;let u=s.textContent;if(!u)return t;let l=new RegExp(a),c=u.match(l);if(!c)return t;let d=Nn(c[1]);return o=="-"&&(d1?d=d1-d:d1=d),d&&t-d>5?d+1:t}catch{return t}}function Ote(e,t){let n=t[0];if(!n)return 0;let r=Nn(n?.start);if(r<e.duration)return 0;let i=r%3600;return r-i}var _te=It["attach_subtitle.css"];function Ute(e){let{t}=ee(),{activeCues:n,isHiddenSourceSubtitle:r}=wR(e),i=$(null),a=$(null),o=e.ctx.rule.subtitleRule,{sourceFontSize:s,translationFontSize:u,backgroundColor:l,translationTextColor:c,sourceTextColor:d,translationPosition:g,textShadowStyle:f,sourceFontFamily:p,translationFontFamily:h,sourceFontWeight:C,translationFontWeight:y}=AR(e);MR(i,a);let v=e.lang===e.ctx.targetLanguage,b=n.map(R=>R.text).join(" ").replace(/\n\s+\n/,`
`),x=n.filter(R=>R.text!==R.translation).map(R=>R.translation).join(" "),[T,S]=z(!0),E=$(!1);G(()=>{if(b&&!E.current){E.current=!0;return}if(E.current){S(!1);return}},[b]),v&&(x=b);let A=t("attachSubtitleTranslating",{service:lp(e.ctx,t,h6(e.ctx,e.isLive))});Zn(()=>{Fm()},[]);let M=n?.[0]?.state==="loading"&&!x&&!e.isLive,P=!e.isAiSubtitle&&o.attachRule?.showSupportTips&&T&&!M&&!e.ctx.isPro,B=wt(e.ctx.config.rtlLanguages,e.lang),O=wt(e.ctx.config.rtlLanguages,e.ctx.targetLanguage);return m("div",{class:"imt-caption-container notranslate",ref:i,children:m("div",{class:"imt-caption-window",ref:a,children:!!n.length&&m("div",{class:"imt-captions-text",style:{flexDirection:g==="top"?"column-reverse":"column"},children:[!r&&m("span",{class:"source-cue imt-cue",dir:B?"rtl":"ltr",style:{fontSize:s,color:d,backgroundColor:l,textShadow:f,fontFamily:p,fontWeight:C},dangerouslySetInnerHTML:{__html:b}}),m("span",{class:`target-cue imt-cue ${o.translationStyle==="mask"?"imt-translation-style-mask":""}`,dir:O?"rtl":"ltr",style:{fontSize:u,color:c,backgroundColor:l,textShadow:f,fontFamily:h,fontWeight:y},dangerouslySetInnerHTML:{__html:x||""}}),M&&m("div",{class:"loading-text imt-cue",dir:O?"rtl":"ltr",style:{fontSize:s*.75,color:c,backgroundColor:l,textShadow:f},children:A}),P&&m("div",{class:"loading-text imt-cue",dir:O?"rtl":"ltr",style:{fontSize:u,color:c,backgroundColor:l,textShadow:f,fontFamily:h,fontWeight:y},children:t("attachSubtitle.supportByImmersiveTranslate")})]})})})}var b6=U+"-caption-window",g1,y6=!1;function ea(e){let{ctx:t,props:n,videoContainer:r}=e,i=t.rule.subtitleRule;if(i?.urlRootSelector){let d=!0,g=i.urlRootSelector.replace(/\$(\d+)/g,(f,p)=>{let h=n.urlValueArray?.[Number(p)-1]||"";return h||(d=!1),h||""});g&&d&&(r=je(g,r))}if(!i.attachRule)return;let{appendSelector:a,isDelay:o}=i.attachRule,s=r;if(!a&&!s)return;if(a&&(s=je(a,r)||null,!s)){o&&(clearTimeout(g1),g1=setTimeout(()=>{ea(e)},1e3));return}s?zte(s):ta(i);let u=null;if(r?u=je(n.videoSelector||"video",r):u=je(n.videoSelector||"video"),o&&!u&&(clearTimeout(g1),g1=setTimeout(()=>{ea(e)},1e3)),!s)return;let l=_te,c=i.attachRule?.injectedCSS;if(c){let d=typeof c=="string"?c:c.join(`
`);l=l+`
`+d}ir({parent:s,id:b6,ctx:t,Component:Ute,props:{...n,video:u,videoContainer:r},style:l,initialCSS:!1,attribute:{[qd]:n.isAiSubtitle?"ai":"normal"}}),y6=!0,v6(t)}var jte=`
#${U}-caption-window {
  position: absolute;
  width: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  transition: bottom 0.25s;
  pointer-events: none;
}
`,LR=U+"-attach-subtitle-dynamic-injected-css";function v6(e){let t=e.rule.subtitleRule,n=je(t.attachRule?.injectedGlobalCSSContainer);n||(n=document);let r=t.attachRule?.injectedGlobalCSS;if(r){let i=typeof r=="string"?r:r.join(`
`);qt(n,jte+`
`+i,LR)}}function ta(e,t,n=0){Hte(e);let i=e.attachRule?.appendSelector;if(!i)return;let a=t||je(i);if(y6=!1,!a){n<50&&setTimeout(()=>{y6||ta(e,t,n+1)},200);return}let o=[...a.querySelectorAll(`#${b6}`)];o.length&&(Fm(),o.forEach(s=>s.remove()))}function zte(e){let t=[...e.querySelectorAll(`#${b6}`)];t.length&&(Fm(),t.forEach(n=>n.remove()))}function Hte(e){let n=(je(e.attachRule?.injectedGlobalCSSContainer)||document).querySelector(`[data-id="${LR}"]`);n&&n.remove()}function DR(){try{return!!document.querySelector(`#${U}-caption-window`)}catch(e){k.error(e)}}function RR(e,t,n){try{if(!n?.langsConfig)return null;let r=Gte(t,n.langsConfig);if(!r)return null;let i=Wte(e,r.isSpaceLang);if(Vte(r,i))return null;let a=Jte(i,{wordRegexStr:n?.wordsRegex});if(a?.length){k.debug("symbolList",a);let d=[],g=r.splitConfig;return a.forEach(f=>{let p=x6(f,{breakWords:g.symbolBreakWords,skipWords:g.skipWords,minInterval:(g.minInterval||1e3)*5,maxWords:g.maxWords||20,breakMiniTime:g.breakMiniTime||500});d.push(...p)}),PR(d)}let o=r.splitConfig,s=x6(i,{breakWords:o.breakWords,skipWords:o.skipWords,minInterval:o.minInterval||1e3,maxWords:o.maxWords||15,breakMiniTime:o.breakMiniTime||500}),u=r.mergeConfig,l=Qte(s,{endWords:u?.endWords,startWords:u?.startWords,minInterval:u.minInterval||1e3,maxWords:u.maxWords||20});k.debug("mergeNextEndWords end",l);let c=l;for(let d of r.endCompatibleConfigs||[])c=Yte(c,{minInterval:d.minInterval,minWordLength:d.minWordLength,sentenceMinWord:d.sentenceMinWord});return PR(c)}catch{return[]}}function Vte(e,t){return t.slice(0,20).find(n=>e.isSpaceLang?n.utf8.trim().split(/\s+/).length>=3:n.utf8.trim().length>=4)}function Gte(e,t){let n=t.base,r=t[e];if(r||e.startsWith("zh")&&(r=t.zh),!r)return null;let i={...n,...JSON.parse(JSON.stringify(r))};return Object.entries(i).forEach(([a,o])=>{typeof o!="object"||Array.isArray(o)||o!=n[a]&&(i[a]={...n[a],...i[a]})}),i}function Wte(e,t){let n=0,r=[],i="";return e.forEach((a,o)=>{a.segs?.forEach(s=>{if(!t){r.push({tStartMs:a.tStartMs,utf8:s.utf8});return}if(s.utf8==`
`){i=" ";return}/[a-z]/.test(s.utf8)&&n++,r.push({tStartMs:a.tStartMs+(s.tOffsetMs||0),utf8:(i+s.utf8).toLocaleLowerCase()}),i=""}),a.dDurationMs&&r.length>0&&(r[r.length-1].tEndMs=a.tStartMs+a.dDurationMs)}),t&&n<=e.length*.1&&(r=qte(r)),r}function qte(e){let t=[],n=[];for(let i=0;i<e.length;i++){let a=e[i],o=!1;if(/[a-z]/.test(a.utf8)&&(n.push(a),o=!0),!/^[a-z'.]+\s*[a-z'.]+$/.test(a.utf8)&&!(n.length==1&&/\b[a-z.']+$/.test(a.utf8))){if(/[a-z]/.test(a.utf8)&&/^[^a-z]/.test(a.utf8)){n.pop(),r(),n=[a];continue}n.length&&(r(),n=[]),o||t.push(a)}}return r(),t;function r(){n.length&&t.push({tStartMs:n[0].tStartMs,utf8:n.map(i=>i.utf8).reduceRight((i,a)=>a+i)})}}function x6(e,t){let n=Kte(e,{...t}),r=[],i=[];return n.forEach(o=>{if(C6(o)>t.maxWords&&o.length>1){a();let u=x6(o,{...t,minInterval:t.minInterval-100});r.push(...u);return}else if(o.length==1&&C6(o)<=1){i.push(o[0]);return}a(),r.push(o)}),a(),r;function a(){i.length&&(r.push(i),i=[])}}function Kte(e,{breakWords:t,skipWords:n,minInterval:r,breakMiniTime:i}){let a=e[0].tStartMs,o=[],s=[];for(let l=0;l<e.length;l++){let c=e[l],d=e[l+1],g=c.tStartMs-a;if(t?.includes(c.utf8.trim())&&g>i){u(c,[c]);continue}if(d&&t?.includes((c.utf8+d.utf8).trim())&&g>i){u(c,[c,d]),l++;continue}if(n?.includes(c.utf8.trim())&&e[l+1]){a=e[l+1].tStartMs,s.push(e[l+1]),l++;continue}if(g<=r){a=c.tStartMs,s.push(c);continue}o.push(s),s=[c],a=c.tStartMs}return s.length&&o.push(s),o.filter(l=>l.length>0);function u(l,c){a=l.tStartMs,o.push(s),s=c,c[0].isBreak=!0}}function Qte(e,{startWords:t,endWords:n,minInterval:r,maxWords:i}){if(!t?.length&&!n?.length)return e;let a=[e[0]],o=new RegExp(`\\b(${n?.join("|")})\\s*$`,"ig"),s=new RegExp(`^\\s*(${t?.join("|")})$`,"ig");for(let u=0;u<e.length-1;){let l=e[u][e[u].length-1],c=e[u+1][0],d=c.tStartMs-l.tStartMs,g=a[a.length-1];if((c.utf8.match(s)||l.utf8.match(o))&&!c.isBreak&&d<=r){let f=[...g,...e[u+1]];C6(f)<=i?g.push(...e[u+1]):a.push(e[u+1])}else a.push(e[u+1]);u++}return a}function C6(e){let t="";return e?.forEach(n=>t+=n.utf8),t.split(/\s+/).length}function Yte(e,{minInterval:t,minWordLength:n,sentenceMinWord:r}){let i=[...e];for(let a=i.length-1;a>0;a--){let o=i[a],s=i[a-1];o.length<=0||o.length>n||o.length+s.length>=r||o[0].tStartMs-s[s.length-1].tStartMs>t||o[0].isBreak||(s.push(...o),i.splice(a,1))}return i}function PR(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n],i="";r.forEach(s=>i+=s.utf8);let a=Zte(r,e[n+1]),o={start:r[0].tStartMs/1e3,end:a/1e3,text:i.replace(/\n/ig," ")};t.push(o)}return t}function Zte(e,t){let n=e[e.length-1].tEndMs,r=t?.[0]?.tStartMs||e[e.length-1].tStartMs;return!n||n>r?r:n}function Jte(e,{wordRegexStr:t}){if(!e.length)return null;let n=/[.?!。？!]/;if((e.filter(s=>!!s.utf8?.match(n))?.length||0)<10)return null;let i=new RegExp(t||""),a=[],o=[];return e.forEach(s=>{let u=s.utf8.trim(),l=u[u.length-1];o.push(s),l?.match(n)&&!u?.match(i)&&(a.push(o.slice()),o=[])}),o.length&&(a.push(o.slice()),o=[]),a}function NR(e){return new URL(e).searchParams.get("kind")=="asr"}function FR(e){if(!e)return null;try{let t=e;return e.startsWith("//")?t=globalThis.location.protocol+e:e.startsWith("/")?t=`${globalThis.location.protocol}//${globalThis.location.host}${e}`:e.startsWith("http")||(t=`${globalThis.location.protocol}//${e}`),new URL(t).toString()}catch{return e}}var T6="Arial",OR=(e,t="at")=>{try{return typeof e!="string"||!document.createElement("canvas").getContext("2d")?!1:e.toLowerCase()===T6.toLowerCase()?!0:BR(T6,t).join("")!==BR(e,t).join("")}catch{return!1}};function BR(e,t){let n=t.length*12,r=20,i=new Date().getTime(),a=document.createElement("canvas"),o=a.getContext("2d");if(!o)return[];a.width=n,a.height=r,o.textAlign="center",o.fillStyle="black",o.textBaseline="middle",o.clearRect(0,0,n,r),o.font="12px "+e+", "+T6,o.fillText(t,n/2,r/2);let s=o.getImageData(0,0,n,r).data;return Array.from(s).filter(l=>l!==0)}function S6(){return[{key:"50",label:"50%"},{key:"70",label:"70%"},{key:"80",label:"80%"},{key:"90",label:"90%"},{key:"100",label:"100%"},{key:"110",label:"110%"},{key:"120",label:"120%"},{key:"130",label:"130%"},{key:"150",label:"150%"}]}function UR(){return[{key:"0",label:"0%"},{key:"25",label:"25%"},{key:"50",label:"50%"},{key:"75",label:"75%"},{key:"100",label:"100%"}]}function jR(e){return[{key:"none",label:e("subtitle.quickButton.textShadowType.none")},{key:"shadow",label:e("subtitle.quickButton.textShadowType.shadow")},{key:"raised",label:e("subtitle.quickButton.textShadowType.raised")},{key:"depressed",label:e("subtitle.quickButton.textShadowType.depressed")},{key:"outline",label:e("subtitle.quickButton.textShadowType.outline")}]}function zR(e){return[{key:"#FFFFFF",label:e("subtitle.quickButton.white")},{key:"#FFFF00",label:e("subtitle.quickButton.yellow")},{key:"#ffa500",label:e("subtitle.quickButton.orange")},{key:"#e9e9e9",label:e("subtitle.quickButton.gray")},{key:"#00FF00",label:e("subtitle.quickButton.green")},{key:"#00FFFF",label:e("subtitle.quickButton.cyan")},{key:"#0000FF",label:e("subtitle.quickButton.blue")},{key:"#FF00FF",label:e("subtitle.quickButton.magenta")},{key:"#FF0000",label:e("subtitle.quickButton.red")},{key:"#080808",label:e("subtitle.quickButton.black")}]}var _R=[];function E6(e,t){let[n,r]=z(_R);return G(()=>{if(n.length||!e.length)return;let a=e.filter(o=>OR(o,t("sampleTargetText").charAt(0)+"at"));a.length&&a.unshift("none"),r(a),_R=a},[n,e]),de(()=>n.map(a=>{let o=t(`font.${a}`);return o.startsWith("font.")&&(o=a),{key:a,label:o}}),[n])}function w6(e,t){return[{key:`${e}FontFamily`,label:t(`subtitle.quickButton.${e}FontFamily`),showRightIcon:!0},{key:`${e}FontSize`,label:t(`subtitle.quickButton.${e}FontSize`),showRightIcon:!0},{key:`${e}TextColor`,label:t(`subtitle.quickButton.${e}TextColor`),showRightIcon:!0},{key:`${e}FontWeight`,label:t(`subtitle.quickButton.${e}FontWeight`),showRightIcon:!0}]}var A6=[{key:"400",label:"400"},{key:"700",label:"700"},{key:"900",label:"900"}],HR=["translationPosition","sourceFontSize","translationFontSize","sourceTextColor","translationTextColor","backgroundColor","backgroundOpacity","textShadowType","sourceFontFamily","translationFontFamily","sourceFontWeight","translationFontWeight"];function VR(e){let{ctx:t}=e,{t:n}=ee(),[r,i]=z(!0),[a,o]=z(!1),[s,u]=z("home"),[l,c]=z(t.rule.subtitleRule),d=$(l);d.current=l;let g=$(a);g.current=a;let f=E6(s=="setting"?l.fonts:[],n),p=Te(async S=>{let E=await an();E.generalRule||(E.generalRule={}),E.generalRule["subtitleRule.add"]||(E.generalRule["subtitleRule.add"]={}),E.generalRule["subtitleRule.add"]=S(E.generalRule["subtitleRule.add"]),await bt(E);let A={...d.current,...E.generalRule["subtitleRule.add"]};c(A),kR(A)},[d,c]),{homeSettingItems:h,aiSubtitleLoading:C,aiSubtitleSetting:y}=Xte({...e,setContentVisible:o,handleUpdateConfig:p,subtitleRuleRef:d,setVisible:i,setSelectType:u,contentVisible:a,subtitleRule:l}),{optionSetting:v}=$te({ctx:t,subtitleRule:l,setSelectType:u,selectType:s,handleUpdateConfig:p}),b=de(()=>({...v,home:{items:h},aiSubtitleSetting:y}),[v,h,y]);G(()=>{let S=()=>{o(!1)};return document.addEventListener("click",S),()=>{document.removeEventListener("click",S)}},[o,g]);let x=Te(S=>{S.stopPropagation(),o(!g.current)},[o,g]),T=de(()=>{let S=b[s];return["setting","sourceSetting","translationSetting"].find(E=>E===s)&&S.items.forEach(E=>{if(E.key==="moreSetting")return;let A=l[E.key],M=b[E.key]?.items?.find(P=>P.key===A);E.value=M?.label}),{...S,items:S.items.filter(E=>{let A=!0;return(E.key==="sourceFontFamily"||E.key==="translationFontFamily")&&(A=f.length>0),A})}},[s,b,l,f]);return G(()=>{a&&u("home")},[a]),{visible:r,selectType:s,contentVisible:a,activeSetting:T,handleButtonClick:x,aiSubtitleLoading:C}}function Xte(e){let{setContentVisible:t,handleUpdateConfig:n,setSelectType:r,subtitleRuleRef:i,setVisible:a,contentVisible:o,ctx:s,subtitleRule:u,hasSubtitle:l}=e,{t:c}=ee(),[d,g]=z(e.tempEnableSubtitle),[f,p]=z(!1),[h,C]=z(!1),[y,v]=z(QR(e.aiSubtitlePageUrl)),b=WR(),x=Te(async()=>{se({key:"click_download_subtitle",ctx:s,params:{}}),t(!1);let P=hb(e.aiSubtitlePageUrl),B=i.current?.autoEnableSubtitle,O=i.current?.type==="youtube"&&i.current?.youtubeAutoEnableSubtitle;if(!B&&!O&&!d){_e("showErrorModal",{title:c("subtitle.enableDualSubtitleModalTitle"),errMsg:c("subtitle.downloadDisabledDes"),action:"autoEnableSubtitle",type:"error"});return}if(P||_e("showErrorModal",{title:c("subtitle.quickButton.downloadSubtitleNotFound"),errMsg:c("subtitle.quickButton.downloadSubtitleNotFoundDes"),action:"autoEnableSubtitle",type:"error"}),!await Ir()){_e("showErrorModal",{title:c("subtitle.upgradePro"),errMsg:c("subtitle.upgradeProMessage.downloadSubtitle"),action:"loginOrUpgradeByDownloadSubtitle",type:"error",targetUrl:j.USER_LOGIN_URL+"&utm_source=extension&utm_medium=extension&utm_campaign=subtitle_download_login"});return}se({key:"open_download_subtitle_page",ctx:s}),$M(e.aiSubtitlePageUrl)},[i,s.isPro,d]),T=Te(async P=>{t(!1),document.dispatchEvent(new CustomEvent(zs,{detail:{tempEnableSubtitle:P}})),g(P),p(!1)},[g,n]),S=Te(async()=>{let P=!f;p(P),t(!1),he("content",{method:"tempDisableSubtitleChanged",data:{tempDisableSubtitle:P,trigger:"quick_button"}})},[f]),E=Te(async P=>{T(!1),await n(B=>(i.current?.type==="youtube"&&(B.youtubeAutoEnableSubtitle=P),B.autoEnableSubtitle=P,B)),he("content",{method:"autoEnableSubtitleChanged",data:{trigger:"quick_button"}}),t(!1)},[T,n,i]),A=de(()=>{let P=u.autoEnableSubtitle;u.type==="youtube"&&u.youtubeAutoEnableSubtitle&&(P=!0);let B="";y?B="ai-subtitle-loading":Ds(e.aiSubtitlePageUrl)&&(B="ai-subtitle-used");let O=c("subtitle.quickButton.requestAiSubtitle");Ds(e.aiSubtitlePageUrl)?O=c("subtitle.quickButton.aiSubtitleUsed"):y&&(O=c("subtitle.quickButton.aiSubtitleLoading"));let R="aiSubtitle";return Ds(e.aiSubtitlePageUrl)?R="aiSubtitleGradient":y&&(R="aiSubtitleGray"),[{key:"aiSubtitle",label:O,leftIcon:R,class:B,moreIcon:!0,onClick:()=>{if(se({key:"ai_subtitle_click",ctx:s}),!y){if(t(!1),Ds(e.aiSubtitlePageUrl)){KR(e.aiSubtitlePageUrl);return}v(!0),C(!0),k6(e.aiSubtitlePageUrl||globalThis.location.href).finally(()=>{v(!1)})}},onMoreClick:()=>{r("aiSubtitleSetting")}},{key:"upgradePro",label:c("subtitle.quickButton.upgradePro"),leftIcon:"upgradePro",class:"ai-subtitle-used",onClick:()=>{tt(j.GO_AUTH_PRICING_FOR_YOUTUBE_LIVE)}},{key:"enable",label:c("autoEnableSubtitle"),leftIcon:"enableDualSubtitle",showSelectIcon:P,onClick:()=>E(!i.current?.autoEnableSubtitle)},{key:"tempEnableSubtitle",label:c("subtitle.quickButton.tempEnableSubtitle"),leftIcon:"tempEnableSubtitle",showSelectIcon:d,onClick:()=>{T(!0),he("content",{method:"autoEnableSubtitleChanged",data:{trigger:"quick_button"}})}},{key:"close",label:c("subtitle.quickButton.hideQuickButton"),leftIcon:"disableSubtitleQuickButton",onClick:()=>{n(F=>(F.showQuickButton=!1,F)),a(!1),se({key:"close_subtitle_quick_button",ctx:s}),t(!1)}},{key:"download",label:c("subtitle.quickButton.downloadSubtitle"),leftIcon:"download",onClick:x},{key:"setting",label:c("subtitle.quickButton.setting"),showRightIcon:!0,leftIcon:"setting",onClick:()=>{r("setting")}}].filter(F=>F.key==="aiSubtitle"?e.isEnableAiSubtitle:F.key==="upgradePro"?s.rule.subtitleRule.allowFreeUserLive?!1:e.isLive&&!s.isPro:F.key==="download"&&e.isLive||!l&&(F.key==="enable"||F.key==="tempEnableSubtitle")?!1:u.enableHookDownload&&F.key=="download"?!0:!u?.attachRule&&(F.key=="setting"||F.key=="download")||!u.allowTempEnableSubtitle&&F.key==="tempEnableSubtitle"||P&&F.key==="tempEnableSubtitle"?!1:F.key==="tempDisableSubtitle"?P:!0)},[o,u,d,f,l,y,b,e]),M=de(()=>({title:c("subtitle.quickButton.aiSubtitleSetting"),onBackClick:()=>r("home"),onItemClick:P=>r(P.key),items:[{key:"reloadAiSubtitle",label:c("subtitle.quickButton.reloadAiSubtitle"),onClick:()=>{v(!0),k6(e.aiSubtitlePageUrl||globalThis.location.href,!0).finally(()=>{v(!1)}),t(!1)}}]}),[r,r,c]);return{homeSettingItems:A,tempEnableSubtitle:d,tempEnableAiSubtitle:h,aiSubtitleLoading:y,aiSubtitleSetting:M}}function $te(e){let{ctx:t,subtitleRule:n,setSelectType:r,selectType:i,handleUpdateConfig:a}=e,{t:o}=ee(),s=f=>{r(f.key)},u=de(()=>{if(i!=="setting")return[];let f=[...n.fonts];return n.sourceFontFamily&&!f.includes(n.sourceFontFamily)&&f.push(n.sourceFontFamily),n.translationFontFamily&&!f.includes(n.translationFontFamily)&&f.push(n.translationFontFamily),f},[i,n.fonts,n.sourceFontFamily,n.translationFontFamily]),l=E6(u,o),c=f=>{a(p=>(p={...p,...f},p)),he("content",{method:"updateGlobalCtx",data:{trigger:"quick_button"}})},d=Te(async()=>{let p=(await gT())?.generalRule?.subtitleRule;a(h=>{let C={...h};return HR.forEach(y=>{C[y]&&(p[y]?C[y]=p[y]:delete C[y])}),C}),he("content",{method:"updateGlobalCtx",data:{trigger:"quick_button"}}),IR()},[a]);return{optionSetting:de(()=>{let f=zR(o),p={setting:{title:o("subtitle.quickButton.setting"),onBackClick:()=>r("home"),onItemClick:s,items:[{key:"translationPosition",label:o("subtitle.quickButton.translationPosition"),showRightIcon:!0},{key:"sourceSetting",label:o("subtitle.quickButton.sourceSetting"),showRightIcon:!0},{key:"translationSetting",label:o("subtitle.quickButton.translationSetting"),showRightIcon:!0},{key:"backgroundColor",label:o("subtitle.quickButton.backgroundColor"),showRightIcon:!0},{key:"backgroundOpacity",label:o("subtitle.quickButton.backgroundOpacity"),showRightIcon:!0},{key:"textShadowType",label:o("subtitle.quickButton.textShadowType"),showRightIcon:!0},{key:"reset",label:o("subtitle.quickButton.reset"),onClick:d},{key:"moreSetting",label:o("subtitle.quickButton.moreSetting"),onClick:()=>{ri(!0,"#subtitle",t.config.useOnlineOptions)}}]},sourceSetting:{title:o("subtitle.quickButton.sourceSetting"),onBackClick:()=>r("setting"),onItemClick:s,items:w6("source",o)},translationSetting:{title:o("subtitle.quickButton.translationSetting"),onBackClick:()=>r("setting"),onItemClick:s,items:w6("translation",o)},translationPosition:{title:o("subtitle.quickButton.translationPosition"),onBackClick:()=>r("setting"),onItemClick:h=>{c({translationPosition:h.key})},items:[{key:"top",label:o("subtitle.quickButton.translationPositionTop")},{key:"bottom",label:o("subtitle.quickButton.translationPositionBottom")}]},sourceFontSize:{title:o("subtitle.quickButton.sourceFontSize"),onBackClick:()=>r("sourceSetting"),onItemClick:h=>{c({sourceFontSize:h.key})},items:S6()},translationFontSize:{title:o("subtitle.quickButton.translationFontSize"),onBackClick:()=>r("translationSetting"),onItemClick:h=>{c({translationFontSize:h.key})},items:S6()},sourceTextColor:{title:o("subtitle.quickButton.sourceTextColor"),onBackClick:()=>r("sourceSetting"),onItemClick:h=>{c({sourceTextColor:h.key})},items:f},translationTextColor:{title:o("subtitle.quickButton.translationTextColor"),onBackClick:()=>r("translationSetting"),onItemClick:h=>{c({translationTextColor:h.key})},items:f},backgroundColor:{title:o("subtitle.quickButton.backgroundColor"),onBackClick:()=>r("setting"),onItemClick:h=>{c({backgroundColor:h.key})},items:f},backgroundOpacity:{title:o("subtitle.quickButton.backgroundOpacity"),onBackClick:()=>r("setting"),onItemClick:h=>{c({backgroundOpacity:h.key})},items:UR()},textShadowType:{title:o("subtitle.quickButton.textShadowType"),onBackClick:()=>r("setting"),onItemClick:h=>{c({textShadowType:h.key})},items:jR(o)},translationFontFamily:{title:o("subtitle.quickButton.translationFontFamily"),onBackClick:()=>r("translationSetting"),onItemClick:h=>{c({translationFontFamily:h.key})},items:l},sourceFontFamily:{title:o("subtitle.quickButton.sourceFontFamily"),onBackClick:()=>r("sourceSetting"),onItemClick:h=>{c({sourceFontFamily:h.key})},items:l},sourceFontWeight:{title:o("subtitle.quickButton.sourceFontWeight"),onBackClick:()=>r("sourceSetting"),onItemClick:h=>{c({sourceFontWeight:h.key})},items:A6},translationFontWeight:{title:o("subtitle.quickButton.translationFontWeight"),onBackClick:()=>r("translationSetting"),onItemClick:h=>{c({translationFontWeight:h.key})},items:A6}};return Object.keys(p).forEach(h=>{p[h].items.forEach(y=>{y.showRightIcon||n[h]&&(y.showSelectIcon=n[h]==y.key)})}),p},[t,n,l])}}function GR(e){let[t,n]=z(16);return G(()=>{let r=je(e);if(!r)return;let i=new ResizeObserver(a=>{for(let o of a){let{height:s}=o.contentRect;n(s-100)}});return i.observe(r),()=>{i.disconnect()}},[e]),t}function ld(){document.dispatchEvent(new CustomEvent(Ud))}function WR(){let[e,t]=z(0);return G(()=>{let n=()=>{t(r=>r+1)};return document.addEventListener(Ud,n),()=>{document.removeEventListener(Ud,n)}},[]),e}function qR(e){let{ctx:t,hasSubtitle:n,aiSubtitlePageUrl:r}=e,[i,a]=z(!1),o=t.rule.subtitleRule,s=WR(),u=de(()=>!(!t?.config?.isEnableGuideTips||!o.aiSubtitle?.enable||n||!o.isEnableAiSubtitleTip||o.isShowedAiSubtitleTip||i||YR(r)),[t?.config?.isEnableGuideTips,n,o.aiSubtitle?.enable,o.isEnableAiSubtitleTip,o.isShowedAiSubtitleTip,i,r,s]),l=Te(async c=>{c.stopPropagation(),c.preventDefault(),a(!0),o.isShowedAiSubtitleTip=!0;let d=await an();d.generalRule||(d.generalRule={}),d.generalRule["subtitleRule.add"]||(d.generalRule["subtitleRule.add"]={}),d.generalRule["subtitleRule.add"].isShowedAiSubtitleTip=!0,await bt(d)},[]);return{isShow:u,handleClose:l}}function ZR(e){let{t}=ee(),{isLive:n,ctx:r}=e,{visible:i,contentVisible:a,activeSetting:o,selectType:s,handleButtonClick:u,aiSubtitleLoading:l}=VR(e),c=GR(e.ctx.rule.subtitleRule.videoSelector||"video"),d=qR(e);if(!i)return null;if(!e.hasSubtitle&&!e.isEnableAiSubtitle)return m(rne,{});let g=Ds(e.aiSubtitlePageUrl||globalThis.location.href)||l||!1;return m("div",{class:`${Ht}-button`,onClick:f=>{u(f),d.isShow&&d.handleClose(f)},children:[m("div",{style:{position:"relative"},children:[m(SD,{isAi:g}),l&&m("div",{class:`${Ht}-loading-container`,children:m("div",{class:`${Ht}-loading`})})]}),m("span",{class:"label",children:t("subtitle.bilingual")}),m(nne,{isShow:d.isShow,handleClose:d.handleClose}),m("div",{onClick:f=>{f.stopPropagation(),o.onBackClick?.()},style:{maxHeight:c},class:`${Ht}-pop-content ${a?"show":""}`,children:[m(tne,{ctx:r,title:o.title,hasSubtitle:e.hasSubtitle,selectType:s,isLive:n}),o.items.map(f=>{let p={[U+"-subtitle-type"]:"enable"},h=f.leftIcon&&Mo(f.leftIcon);return Mc("p",{...p,key:f.key,class:"setting-item "+f.class||"",onClick:C=>{C.stopPropagation(),f.onClick?f.onClick(f):o.onItemClick?.(f)}},h&&m("img",{class:"left-icon",src:h}),m("label",{children:f.label}),f.value&&m("span",{children:f.value}),m("div",{class:"select-icon",children:f.showSelectIcon&&!f.showRightIcon&&m(Up,{})}),f.showRightIcon&&m(AD,{}),f.moreIcon&&m(ene,{onClick:C=>{C.stopPropagation(),f.onMoreClick&&f.onMoreClick(f)}}))})]})]})}function ene(e){let t=Mo("moreIcon"),{onClick:n}=e;return t?m("div",{class:"more-icon-container",onClick:n,children:m("img",{class:"more-icon",src:t})}):null}function tne(e){let{ctx:t,title:n,hasSubtitle:r,selectType:i,isLive:a}=e,{t:o}=ee(),s=a&&!t.isPro&&i==="home"&&!t.rule.subtitleRule.allowFreeUserLive;return n?m("div",{class:"content-header",children:[m(wD,{}),m("span",{children:n})]}):i!=="home"?null:s?m("div",{class:"no-subtitle-header",children:o("subtitle.quickButton.liveOnlyPro")}):!t.isPro&&!r?m("div",{class:"no-subtitle-header",style:{whiteSpace:"pre-wrap",paddingTop:0,minWidth:179},dangerouslySetInnerHTML:{__html:o("subtitle.quickButton.freeUserAISubtitleTip",{1:j.GO_AUTH_PRICING_FOR_NO_SUBTITLE_QUICK_BUTTON})}}):r?null:m("div",{class:"no-subtitle-header",children:o("subtitle.quickButton.noSubtitleAndRequestAiSubtitle")})}function nne(e){let{isShow:t,handleClose:n}=e,{t:r}=ee();return t?m("div",{class:`${Ht}-ai-subtitle-tip`,children:[m("img",{src:T9,style:{width:"12px",height:"12px"}}),r("subtitle.quickButton.noSubtitleAndRequestAiSubtitle"),m("div",{class:`${Ht}-ai-subtitle-tip-close`,onClick:n,children:m(kD,{})})]}):null}function rne(){let{t:e}=ee();return m("div",{style:{height:"100%",display:"flex",alignItems:"center"},children:m(vt,{text:e("subtitle.noSubtitle"),position:"top",containerStyle:{height:"100%",display:"flex"},tipStyle:{pointerEvents:"none"},children:m("div",{class:`${Ht}-button`,style:{opacity:.5},children:[m(ED,{}),m("span",{class:"label",children:e("subtitle.bilingual")})]})})})}var Ht="imt-quick-subtitle",JR=`
  .${Ht}-button {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0 16px;
    position: relative;
    height: 100%;
    color: #ffffff;
    font-weight: 300;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  }

  .${Ht}-button .logo {
    width: 24px;
    height: 24px;
  }

  .${Ht}-button .label {
    margin-left: 8px;
    font-size: 1em;
    color: #ffffff;
    white-space: nowrap;
    display: none;
  }
  .${Ht}-pop-content {
    position: absolute;
    bottom: 43px;
    background: #000000DD;
    padding: 16px 0;
    right: 0;
    border-radius: 6px;
    display: none;
    z-index: 2147483647;
    overflow-y: auto;
    transform: translateX(calc(50% - 12px));
  }
  .${Ht}-pop-content::-webkit-scrollbar{
    width: 4px;
  }
  .${Ht}-pop-content::-webkit-scrollbar-thumb {
      background: rgba(0, 0, 0, 0.5);
  }
  .${Ht}-pop-content.show {
    display: block !important;
  }

  .${Ht}-pop-content p {
    height: 37px;
    line-height: 37px;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0 16px;
    min-width: 140px;
    font-size: 14px;
    color: #ffffff;
    cursor: pointer;
  }
  .${Ht}-pop-content p label {
    margin-left: 8px;
    white-space: nowrap;
    flex: 1;
    cursor: pointer;
    font-weight: 400;
  }

  .${Ht}-pop-content p span {
    margin-left: 8px;
    white-space: nowrap;
    margin-left: 40px;
  }
  .${Ht}-pop-content p .select {
    opacity: 0;
  }
  .${Ht}-pop-content .select .select {
    opacity: 1;
  }

  .content-header {
    display: flex;
    align-items: center;
    padding: 0 10px 10px 10px;
    border-bottom: 1px solid #555555;
    margin-bottom: 10px;
  }

  .content-header span {
    margin-left: 15px;
    font-size: 14px;
    white-space: nowrap;
    font-weight: 400;
  }

  @media only screen and (max-width: 767px) {
    .${Ht}-button .label {
      display: none;
    }
  }

  .${Ht}-loading-container {
    position: absolute;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    top: -0.5px;
    left: 0;
    bottom: 3.3px;
    border-radius: 3px;
    overflow: hidden;
  }

  .${Ht}-loading {
    height: 100%;
    width: 100%;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.80) 50%, rgba(255, 255, 255, 0.00) 100%);
    animation: loading-move 1s linear infinite !important;
  }

  .setting-item:hover {
    background: rgba(255, 255, 255, 0.10);
  }

  .ai-subtitle-loading:hover {
    background: unset !important;
  }

  .left-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
  }

  .select-icon {
    margin-left: 24px;
  }

  .more-icon-container {
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .more-icon-container:hover {
    background: rgba(255, 255, 255, 0.10);
  }

  .no-subtitle-header, .no-subtitle-header a {
    color: #999999;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
    padding: 10px 20px;
  }

  .no-subtitle-header a {
    text-decoration: underline;
    padding: 0;
  }

  .ai-subtitle-loading label {
    color: #999999;
    cursor: default;
  }

  .ai-subtitle-used label {
    background: linear-gradient(160deg, #F5EFAD 7.27%, #75B4FD 96.43%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  @keyframes loading-move {
    from {
      transform: translateX(-100%);
    }
    to {
      transform: translateX(200%);
    }
  }

  .loading-element {
    height: 12px !important;
    width: 12px !important;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAAe1BMVEX...") !important;
    background-size: 12px 12px !important;
    animation: loading-move 1s linear infinite !important;
  }

  .${Ht}-ai-subtitle-tip {
    position: absolute;
    bottom: 43px;
    right: 0;
    background: #000000DD;
    padding: 16px 0;
    color: #ffffff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    height: 24px;
    border-radius: 8px;
    width: max-content;
    transform: translateX(calc(50% - 12px));
    gap: 4px;
    cursor: default;
  }

  .${Ht}-ai-subtitle-tip-close {
    cursor: pointer;
    padding: 0 4px;
    margin-left: -4px;
    margin-right: -4px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

`;var M6=class{name;helper;build;detect;parse;constructor({name:t,build:n,detect:r,helper:i,parse:a}){this.name=t,this.helper=i,this.build=n,this.detect=o=>{if(typeof o!="string")throw new Error("Expected string content!");return r(o)},this.parse=(o,s)=>{if(typeof o!="string")throw new Error("Expected string content!");return a(o,s)}}},Fn=e=>new M6(e);var ine="ssa",Ps={toMilliseconds:e=>{let t=/^\s*(\d+:)?(\d{1,2}):(\d{1,2})(?:[.,](\d{1,3}))?\s*$/.exec(e);if(!t)throw new Error(`Invalid time format: ${e}`);let n=t[1]?parseInt(t[1].replace(":","")):0,r=parseInt(t[2]),i=parseInt(t[3]),a=t[4]?parseInt(t[4]):0;return n*3600*1e3+r*60*1e3+i*1e3+a*10},toTimeString:e=>{let t=Math.floor(e/1e3/3600),n=Math.floor(e/1e3/60%60),r=Math.floor(e/1e3%60),i=Math.floor(e%1e3/10);return`${t}:${n<10?"0":""}${n}:${r<10?"0":""}${r}.${i<10?"0":""}${i}`}},I6=(e,t)=>{let n,r=null,i=[],a=t.eol||`\r
`,o=e.split(/\r?\n\s*\n/);for(let s=0;s<o.length;s++){let l=/^\s*\[([^\]]+)\]\r?\n([\s\S]*)$/.exec(o[s]);if(l){let c=l[1],d=l[2].split(/\r?\n/);for(let g=0;g<d.length;g++){let f=d[g];if(/^\s*;/.test(f))continue;let p=/^\s*([^\s:]+):\s*(.*)$/.exec(f);if(p){if(c==="Script Info")if(n||(n={},n.type="meta",n.data={},i.push(n)),typeof n.data=="object"){let h=p[1].trim(),C=p[2].trim();n.data[h]=C}else throw new Error(`Invalid meta data: ${f}`);else if(c==="V4 Styles"||c==="V4+ Styles"){let h=p[1].trim(),C=p[2].trim();if(h==="Format")r=C.split(/\s*,\s*/g);else if(h==="Style"&&r){let y=C.split(/\s*,\s*/g),v={};v.type="style",v.data={};for(let b=0;b<r.length&&b<y.length;b++)v.data[r[b]]=y[b];i.push(v)}}else if(c==="Events"){let h=p[1].trim(),C=p[2].trim();if(h==="Format")r=C.split(/\s*,\s*/g);else if(h==="Dialogue"&&r){let y=C.split(/\s*,\s*/g),v={};v.type="caption",v.data={};for(let T=0;T<r.length&&T<y.length;T++)v.data[r[T]]=y[T];v.start=Ps.toMilliseconds(v.data.Start),v.end=Ps.toMilliseconds(v.data.End),v.duration=v.end-v.start,v.content=v.data.Text;let x=((T,S,E)=>T.split(S,E).join(S).length)(C,",",r.length-1)+1;v.content=C.substring(x),v.data.Text=v.content,v.text=v.content.replace(/\\N/g,a).replace(/\{[^}]+\}/g,""),i.push(v)}}}}}t.verbose}return i},L6=(e,t)=>{let n=t.eol||`\r
`,r=t.format==="ass",i=e.find(l=>l.type=="meta"),a=typeof i?.data=="object"?i.data:null,o=e.find(l=>l.type=="style"),s=typeof o?.data=="object"?o.data:null,u="";u+=`[Script Info]${n}`,u+=`ScriptType: ${a?.ScriptType||`v4.00${r?"+":""}${n}`} `,a?.WrapStyle&&(u+=`WrapStyle: ${a?.WrapStyle}${n}`),a?.ScaledBorderAndShadow&&(u+=`ScaledBorderAndShadow: ${a?.ScaledBorderAndShadow}${n}`),u+=`Collisions: Normal${n}`,u+=n,r?(u+=`[V4+ Styles]${n}`,u+=`Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding${n}`,u+=`Style: ${s?.Name||"DefaultVCD"}, ${s?.Fontname||"Arial"},${s?.Fontsize||"28"},${s?.PrimaryColour||"&H00B4FCFC"},${s?.SecondaryColour||"&H00B4FCFC"},${s?.OutlineColour||"&H00000008"},${s?.BackColour||"&H80000008"},${s?.Bold||"-1"},${s?.Italic||"0"},${s?.Underline||"0"},${s?.StrikeOut||"0"},${s?.ScaleX||"100"},${s?.ScaleY||"100"},${s?.Spacing||"0.00"},${s?.Angle||"0.00"},${s?.BorderStyle||"1"},${s?.Outline||"1.00"},${s?.Shadow||"2.00"},${s?.Alignment||"2"},${s?.MarginL||"30"},${s?.MarginR||"30"},${s?.MarginV||"30"},${s?.Encoding||"0"}${n}`):(u+=`[V4 Styles]${n}`,u+=`Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding${n}`,u+=`Style: DefaultVCD, Arial,28,11861244,11861244,11861244,-2147483640,-1,0,1,1,2,2,30,30,30,0,0${n}`),u+=n,u+=`[Events]${n}`,u+=`Format: ${r?"Layer":"Marked"}, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text${n}`;for(let l=0;l<e.length;l++){let c=e[l];if(c.type!=="meta"){if(!c.type||c.type==="caption"){u+=`Dialogue: ${r?"0":"Marked=0"},${Ps.toTimeString(c.start)},${Ps.toTimeString(c.end)},${c.data?.Style||"DefaultVCD"}, ${c.data?.Name||""},${c.data?.MarginL||"0000"},${c.data?.MarginR||"0000"},${c.data?.MarginV||"0000"},,${c.text.replace(/\r?\n/g,"\\N")}${n}`;continue}t.verbose}}return u},D6=e=>/^\s*\[Script Info\]\r?\n/.test(e)&&/\s*\[Events\]\r?\n/.test(e)?e.indexOf("[V4+ Styles]")>0?"ass":"ssa":!1,XR=Fn({name:ine,build:L6,detect:D6,helper:Ps,parse:I6});var ane="ass",$R=Fn({name:ane,build:L6,detect:D6,helper:Ps,parse:I6});var one="json",sne=(e,t)=>JSON.parse(e),une=(e,t)=>JSON.stringify(e,void 0,2),lne=e=>{try{let t=JSON.parse(e);return Array.isArray(t)&&t.length>0&&typeof t[0]=="object"}catch{return!1}},eN=Fn({name:one,build:une,detect:lne,parse:sne});var cne="lrc",P6={toMilliseconds:e=>{let t=/^\s*(\d+):(\d{1,2})(?:[.,](\d{1,3}))?\s*$/.exec(e);if(!t)throw new Error(`Invalid time format: ${e}`);let n=parseInt(t[1]),r=parseInt(t[2]),i=t[3]?parseInt(t[3]):0;return n*60*1e3+r*1e3+i*10},toTimeString:e=>{let t=Math.floor(e/1e3/60),n=Math.floor(e/1e3%60),r=Math.floor(e%1e3);return`${(t<10?"0":"")+t}:${n<10?"0":""}${n}.${r<100?"0":""}${r<10?"0":Math.floor(r/10)}`}},dne=(e,t)=>{let n=null,r=[],i=e.split(/\r?\n/);for(let a=0;a<i.length;a++){if(!i[a]||i[a].trim().length===0)continue;let s=/^\[(\d{1,2}:\d{1,2}(?:[.,]\d{1,3})?)\](.*)(?:\r?\n)*$/.exec(i[a]);if(s){let l={};l.type="caption",l.start=P6.toMilliseconds(s[1]),l.end=l.start+2e3,l.duration=l.end-l.start,l.content=s[2],l.text=l.content,r.push(l),n&&(n.end=l.start,n.duration=n.end-n.start),n=l;continue}let u=/^\[(\w+):([^\]]*)\](?:\r?\n)*$/.exec(i[a]);if(u){let l={};l.type="meta",l.tag=u[1],u[2]&&(l.data=u[2]),r.push(l);continue}t.verbose}return r},gne=(e,t)=>{let n="",r=!1,i=t.eol||`\r
`;for(let a=0;a<e.length;a++){let o=e[a];if(o.type==="meta"){o.tag&&o.data&&typeof o.data=="string"&&(n+=`[${o.tag}:${o.data.replace(/[\r\n]+/g," ")}]${i}`);continue}if(!o.type||o.type==="caption"){r||(n+=i,r=!0),n+=`[${P6.toTimeString(o.start)}]${o.text}${i}`;continue}t.verbose}return n},mne=e=>/\r?\n\[\d+:\d{1,2}(?:[.,]\d{1,3})?\].*\r?\n/.test(e),tN=Fn({name:cne,build:gne,detect:mne,helper:P6,parse:dne});var fne="sbv",cd={toMilliseconds:e=>{let t=/^\s*(\d{1,2}):(\d{1,2}):(\d{1,2})(?:[.,](\d{1,3}))?\s*$/.exec(e);if(!t)throw new Error(`Invalid time format: ${e}`);let n=parseInt(t[1]),r=parseInt(t[2]),i=parseInt(t[3]),a=t[4]?parseInt(t[4]):0;return n*3600*1e3+r*60*1e3+i*1e3+a},toTimeString:e=>{let t=Math.floor(e/1e3/3600),n=Math.floor(e/1e3/60%60),r=Math.floor(e/1e3%60),i=Math.floor(e%1e3);return`${(t<10?"0":"")+t}:${n<10?"0":""}${n}:${r<10?"0":""}${r}.${i<100?"0":""}${i<10?"0":""}${i}`}},pne=(e,t)=>{let n=[],r=t.eol||`\r
`,i=e.split(/\r?\n\s*\n/);for(let a=0;a<i.length;a++){let s=/^(\d{1,2}:\d{1,2}:\d{1,2}(?:[.,]\d{1,3})?)\s*[,;]\s*(\d{1,2}:\d{1,2}:\d{1,2}(?:[.,]\d{1,3})?)\r?\n([\s\S]*)$/.exec(i[a]);if(s){let u={};u.type="caption",u.start=cd.toMilliseconds(s[1]),u.end=cd.toMilliseconds(s[2]),u.duration=u.end-u.start;let l=s[3].split(/\[br\]|\r?\n/gi);u.content=l.join(r),u.text=u.content.replace(/>>[^:]+:\s*/g,""),n.push(u);continue}t.verbose}return n},hne=(e,t)=>{let n="",r=t.eol||`\r
`;for(let i=0;i<e.length;i++){let a=e[i];if(!a.type||a.type==="caption"){n+=`${cd.toTimeString(a.start)},${cd.toTimeString(a.end)}${r}`,n+=a.text+r,n+=r;continue}t.verbose}return n},yne=e=>/\d{1,2}:\d{1,2}:\d{1,2}(?:[.,]\d{1,3})?\s*[,;]\s*\d{1,2}:\d{1,2}:\d{1,2}(?:[.,]\d{1,3})?/.test(e),nN=Fn({name:fne,build:hne,detect:yne,helper:cd,parse:pne});var rN="smi",R6={htmlEncode:e=>e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r?\n/g,"<BR>"),htmlDecode:(e,t)=>e.replace(/<BR\s*\/?>/gi,t||`\r
`).replace(/&nbsp;/g," ").replace(/&quot;/g,'"').replace(/&#39;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")},bne=(e,t)=>{if(t.format&&t.format!==rN)throw new Error(`Invalid format: ${t.format}`);let n=[],r=t.eol||`\r
`,i=/<TITLE[^>]*>([\s\S]*)<\/TITLE>/i.exec(e);if(i){let l={};l.type="meta",l.name="title",l.data=i[1].replace(/^\s*/g,"").replace(/\s*$/g,""),n.push(l)}let a=/<STYLE[^>]*>([\s\S]*)<\/STYLE>/i.exec(e);if(a){let l={};l.type="meta",l.name="style",l.data=a[1],n.push(l)}let o=e.replace(/^[\s\S]*<BODY[^>]*>/gi,"").replace(/<\/BODY[^>]*>[\s\S]*$/gi,""),s=null,u=o.split(/<SYNC/gi);for(let l=0;l<u.length;l++){if(!u[l]||u[l].trim().length===0)continue;let c=`<SYNC${u[l]}`,d=/^<SYNC[^>]+Start\s*=\s*["']?(\d+)[^\d>]*>([\s\S]*)/i.exec(c);if(d){let g={};g.type="caption",g.start=parseInt(d[1]),g.end=g.start+2e3,g.duration=g.end-g.start,g.content=d[2].replace(/^<\/SYNC[^>]*>/gi,"");let f=!0,p=/^<P.+Class\s*=\s*["']?([\w-]+)(?: .*)?>([\s\S]*)/i.exec(g.content)||/^<P([^>]*)>([\s\S]*)/i.exec(g.content);if(p){let h=p[2].replace(/<P[\s\S]+$/gi,"");h=h.replace(/<BR\s*\/?>\s+/gi,r).replace(/<BR\s*\/?>/gi,r).replace(/<[^>]+>/g,""),h=h.replace(/^\s+/g,"").replace(/\s+$/g,""),f=h.replace(/&nbsp;/gi," ").replace(/\s+/g,"").length===0,g.text=R6.htmlDecode(h,r)}!t.preserveSpaces&&f?t.verbose:n.push(g),s&&(s.end=g.start,s.duration=s.end-s.start),s=g;continue}t.verbose}return n},vne=(e,t)=>{let n=t.eol||`\r
`,r="";r+=`<SAMI>${n}`,r+=`<HEAD>${n}`,r+=`<TITLE>${t.title||""}</TITLE>${n}`,r+=`<STYLE TYPE="text/css">${n}`,r+=`<!--${n}`,r+=`P { font-family: Arial; font-weight: normal; color: white; background-color: black; text-align: center; }${n}`,r+=`.LANG { Name: ${t.langName||"English"}; lang: ${t.langCode||"en-US"}; SAMIType: CC; }${n}`,r+=`-->${n}`,r+=`</STYLE>${n}`,r+=`</HEAD>${n}`,r+=`<BODY>${n}`;for(let i=0;i<e.length;i++){let a=e[i];if(a.type!=="meta"){if(!a.type||a.type==="caption"){r+=`<SYNC Start=${a.start}>${n}`,r+=`  <P Class=LANG>${R6.htmlEncode(a.text||"")}${t.closeTags?"</P>":""}${n}`,t.closeTags&&(r+=`</SYNC>${n}`),r+=`<SYNC Start=${a.end}>${n}`,r+=`  <P Class=LANG>&nbsp;${t.closeTags?"</P>":""}${n}`,t.closeTags&&(r+=`</SYNC>${n}`);continue}t.verbose}}return r+=`</BODY>${n}`,r+=`</SAMI>${n}`,r},xne=e=>/<SAMI[^>]*>[\s\S]*<BODY[^>]*>/.test(e),iN=Fn({name:rN,build:vne,detect:xne,helper:R6,parse:bne});var Cne="srt",dd={toMilliseconds:e=>{let t=/^\s*(\d{1,2}):(\d{1,2}):(\d{1,2})(?:[.,](\d{1,3}))?\s*$/.exec(e);if(!t)throw new Error(`Invalid time format: ${e}`);let n=parseInt(t[1]),r=parseInt(t[2]),i=parseInt(t[3]),a=t[4]?parseInt(t[4]):0;return n*3600*1e3+r*60*1e3+i*1e3+a},toTimeString:e=>{let t=Math.floor(e/1e3/3600),n=Math.floor(e/1e3/60%60),r=Math.floor(e/1e3%60),i=Math.floor(e%1e3);return`${(t<10?"0":"")+t}:${n<10?"0":""}${n}:${r<10?"0":""}${r},${i<100?"0":""}${i<10?"0":""}${i}`}},Tne=(e,t)=>{let n=[],r=t.eol||`\r
`,i=e.split(/\r?\n\s*\n/g);for(let a=0;a<i.length;a++){let s=/^(\d+)\s*\r?\n(\d{1,2}:\d{1,2}:\d{1,2}(?:[.,]\d{1,3})?)\s*-->\s*(\d{1,2}:\d{1,2}:\d{1,2}(?:[.,]\d{1,3})?)\s*\r?\n([\s\S]*)$/.exec(i[a]);if(s){let u={};u.type="caption",u.index=parseInt(s[1]),u.start=dd.toMilliseconds(s[2]),u.end=dd.toMilliseconds(s[3]),u.duration=u.end-u.start;let l=s[4].split(/\r?\n/);u.content=l.join(r),u.text=u.content.replace(/<[^>]+>/g,"").replace(/\{[^}]+\}/g,"").replace(/>>[^:]*:\s*/g,""),n.push(u);continue}t.verbose}return n},Sne=(e,t)=>{let n="",r=t.eol||`\r
`;for(let i=0;i<e.length;i++){let a=e[i];if(!a.type||a.type==="caption"){n+=(a.index?a.index:i+1).toString()+r,n+=`${dd.toTimeString(a.start)} --> ${dd.toTimeString(a.end)}${r}`,n+=a.text+r,n+=r;continue}t.verbose}return n},Ene=e=>/\d+\s*\r?\n\d{1,2}:\d{1,2}:\d{1,2}(?:[.,]\d{1,3})?\s*-->\s*\d{1,2}:\d{1,2}:\d{1,2}(?:[.,]\d{1,3})?/.test(e),aN=Fn({name:Cne,build:Sne,detect:Ene,helper:dd,parse:Tne});var wne="sub",N6=25,Ane=(e,t)=>{t.fps||=N6;let n=t.fps>0?t.fps:N6,r=[],i=t.eol||`\r
`,a=e.split(/\r?\n/g);for(let o=0;o<a.length;o++){let u=/^\{(\d+)\}\{(\d+)\}(.*)$/.exec(a[o]);if(u){let l={};l.type="caption",l.index=o+1,l.frame={start:parseInt(u[1]),end:parseInt(u[2]),count:parseInt(u[2])-parseInt(u[1])},l.start=Math.round(l.frame.start/n),l.end=Math.round(l.frame.end/n),l.duration=l.end-l.start;let c=u[3].split(/\|/g);l.content=c.join(i),l.text=l.content.replace(/\{[^}]+\}/g,""),r.push(l);continue}t.verbose}return r},kne=(e,t)=>{let n=(t.fps||0)>0?t.fps:N6,r="",i=t.eol||`\r
`;for(let a=0;a<e.length;a++){let o=e[a];if(!o.type||o.type==="caption"){let s=typeof o.frame=="object"&&o.frame.start>=0?o.frame.start:o.start*n,u=typeof o.frame=="object"&&o.frame.end>=0?o.frame.end:o.end*n,l=o.text.replace(/\r?\n/,"|");r+=`{${s}}{${u}}${l}${i}`;continue}t.verbose}return r},Mne=e=>/^\{\d+\}\{\d+\}.*/.test(e),oN=Fn({name:wne,build:kne,detect:Mne,parse:Ane});var Ine="vtt",gd={toMilliseconds:e=>{let t=/^\s*(\d{1,2}:)?(\d{1,2}):(\d{1,2})(?:[.,](\d{1,3}))?\s*$/.exec(e);if(!t)throw new Error(`Invalid time format: ${e}`);let n=t[1]?parseInt(t[1].replace(":","")):0,r=parseInt(t[2]),i=parseInt(t[3]),a=t[4]?parseInt(t[4]):0;return n*3600*1e3+r*60*1e3+i*1e3+a},toTimeString:e=>{let t=Math.floor(e/1e3/3600),n=Math.floor(e/1e3/60%60),r=Math.floor(e/1e3%60),i=Math.floor(e%1e3);return`${(t<10?"0":"")+t}:${n<10?"0":""}${n}:${r<10?"0":""}${r}.${i<100?"0":""}${i<10?"0":""}${i}`}},Lne=(e,t)=>{let n=1,r=[],i=e.split(/\r?\n\s*\n/);for(let a=0;a<i.length;a++){let s=/^([^\r\n]+\r?\n)?((?:\d{1,2}:)?\d{1,2}:\d{1,2}(?:[.,]\d{1,3})?)\s*-->\s*((?:\d{1,2}:)?\d{1,2}:\d{1,2}(?:[.,]\d{1,3})?).*\r?\n([\s\S]*)$/.exec(i[a]);if(s){let l={};l.type="caption",l.index=n++,s[1]&&(l.cue=s[1].replace(/[\r\n]*/g,"")),l.start=gd.toMilliseconds(s[2]),l.end=gd.toMilliseconds(s[3]),l.duration=l.end-l.start;let c=s[4].split(/\r?\n/);l.content=c.join(" "),l.text=l.content.replace(/<[^>]+>/g,"").replace(/\{[^}]+\}/g,""),r.push(l);continue}let u=/^([A-Z]+)(\r?\n([\s\S]*))?$/.exec(i[a])||/^([A-Z]+)\s+([^\r\n]*)$/.exec(i[a]);if(u){let l={};l.type="meta",l.name=u[1],u[3]&&(l.data=u[3]),r.push(l);continue}t.verbose}return r},Dne=(e,t)=>{let n=t.eol||`\r
`,r=`WEBVTT${n}${n}`;for(let i=0;i<e.length;i++){let a=e[i];if(a.type==="meta"){if(a.name==="WEBVTT"){a.data&&(r=`WEBVTT${n}${a.data}${n}${n}`);continue}r+=a.name+n,r+=a.data?a.data+n:"",r+=n;continue}if(!a.type||a.type==="caption"){r+=(a.cue||(i+1).toString())+n,r+=`${gd.toTimeString(a.start)} --> ${gd.toTimeString(a.end)}${n}`,r+=a.text+n,r+=n;continue}t.verbose}return r},Pne=e=>/^\s*WEBVTT(?:[ \t][^\r\n]*)?\r?\n/.test(e),sN=Fn({name:Ine,build:Dne,detect:Pne,helper:gd,parse:Lne});var Rne={vtt:sN,lrc:tN,smi:iN,ssa:XR,ass:$R,sub:oN,srt:aN,sbv:nN,json:eN},uN=Rne;var Nne=e=>JSON.parse(JSON.stringify(e)),F6=class{format=uN;list=()=>Object.keys(this.format);detect=t=>{let n=this.list();for(let r=0;r<n.length;r++){let i=n[r],a=this.format[i];if(typeof a>"u"||typeof a.detect!="function")continue;let o=a.detect(t);if(o===!0||o===i)return i}return""};parse=(t,n={})=>{let r=n.format||this.detect(t);if(!r||r.trim().length===0)throw new Error("Cannot determine subtitle format!");let i=this.format[r];if(typeof i>"u")throw new Error(`Unsupported subtitle format: ${r}`);let a=i.parse;if(typeof a!="function")throw new Error(`Subtitle format does not support 'parse' op: ${r}`);return a(t,n)};build=(t,n={})=>{let r=n.format||"srt";if(!r||r.trim().length===0)throw new Error("Cannot determine subtitle format!");let i=this.format[r];if(typeof i>"u")throw new Error(`Unsupported subtitle format: ${r}`);let a=i.build;if(typeof a!="function")throw new Error(`Subtitle format does not support 'build' op: ${r}`);return a(t,n)};convert=(t,n={})=>{let r={};typeof n=="string"?r.to=n:r=n;let i={format:r.from||void 0,verbose:r.verbose,eol:r.eol},a=this.parse(t,i);r.resync&&(a=this.resync(a,r.resync));let o={format:r.to||r.format,verbose:r.verbose,eol:r.eol};return this.build(a,o)};resync=(t,n={})=>{let r,i,a=!1,o;if(typeof n=="function")r=n;else if(typeof n=="number")o=n,r=u=>[u[0]+o,u[1]+o];else if(typeof n=="object")o=(n.offset||0)*(n.frame?n.fps||25:1),i=n.ratio||1,a=n.frame||!1,r=u=>[Math.round(u[0]*i+o),Math.round(u[1]*i+o)];else throw new Error("Argument 'options' not defined!");let s=[];for(let u=0;u<t.length;u++){let l=Nne(t[u]);if(!l.type||l.type==="caption")if(a){let c=r([l.frame.start,l.frame.end]);c&&c.length===2&&(l.frame.start=c[0],l.frame.end=c[1],l.frame.count=l.frame.end-l.frame.start)}else{let c=r([l.start,l.end]);c&&c.length===2&&(l.start=c[0],l.end=c[1],l.duration=l.end-l.start)}s.push(l)}return s}},lN=new F6,Li=lN,{format:CJe,list:TJe,detect:SJe,parse:EJe,build:wJe,convert:AJe,resync:kJe}=lN;var xt=class{inject=u1;config;ctx;memoryCacheMap=new Map;loadingNodeId="imt-subtitle-loading";cacheSize=5;isAttachSubtitled=!1;tempEnableSubtitle=!1;tempDisableSubtitle=!1;isAiSubtitle=!1;quickButtonRule;urlValueArray;ccBtnObserver=null;constructor(t,n){this.ctx=t,this.config=t.rule.subtitleRule,this.inject.contentReady(),this.handleMessage(),this.mutationVideoChange(),this.injectCSS(),this.quickButtonRule=this.config.quickButtonRule,n?.disableQuickButton||this.mutationQuickButton(),document.addEventListener(zs,this.handleTempEnableSubtitle.bind(this))}handleMessage(){Ls.handleMessages(async({type:t,id:n,data:r})=>{let i=this[t];if(!i)return;let a=i.apply(this,[r]);a instanceof Promise&&(a=await a),Ls.sendMessages({id:n,data:a})})}isContentReady(){return this.inject.contentReady(),!0}startRequestSubtitle(){this.isEnableSubtitle()&&v6(this.ctx)}subtitleRequestError(t){}injectCSS(){let t=this.config.injectedCss||[];wt(this.ctx.config.rtlLanguages,this.ctx.targetLanguage)&&this.isEnableSubtitle()&&(cn(document.documentElement,ge+"_rtl",this.ctx.targetLanguage),this.config.rtlInjectedCss?.length?t.push(...this.config.rtlInjectedCss):this.config.loadingContainerSelector&&t.push(`[data-${U}_rtl] ${this.config.loadingContainerSelector} * {direction: rtl;}`)),t.length&&qt(document,`${t.join(`
`)}`,U+"-subtitle-dynamic-injected-css")}initConfig(t){this.ctx=t,this.config=t.rule.subtitleRule}async requestSubtitle(t){let n=await ot(Ne(),{});if(this.initConfig(n),!await In({ctx:n,usageScene:"subtitle_video",service:n.subtitleTranslateService}))return ta(this.config),[];if(await it(200),!!this.isEnableSubtitle()){if(t.url){let i=t.url+this.ctx.targetLanguage+this.getTranslationMode(),a=this.getMemoryCache(i);if(a)return a;this.checkUrlMatchValue(t.url||"");let o=await this.loadSubtitle({input:t.url||"",responseText:t.responseText});return o&&this.setMemoryCache(i,o),o}else if(t.fetchInfo)try{let{input:i,options:a}=JSON.parse(t.fetchInfo),o=i.url||"";this.checkUrlMatchValue(o);let s=o+this.ctx.targetLanguage,u=this.getMemoryCache(s);if(u)return u;let l=await this.loadSubtitle({input:qM(i),options:KM(a)});return l&&this.setMemoryCache(s,l),l}catch(i){return k.error(i),null}}}checkUrlMatchValue(t){if(!this.config.subtitleUrlRegExp)return;let n=t.match(this.config.subtitleUrlRegExp);n&&(this.urlValueArray=n.slice(1))}loadSubtitle(t){return Promise.resolve(null)}async onPageStatusChange(){}async autoEnableSubtitleChanged(){globalThis.location.reload()}async onTranslationModeChanged(){}mutationVideoChange(){}isEnableSubtitle(){return this.config.disabled||this.config.translationOnlyPattern&&!Ke(Ne(),this.config.translationOnlyPattern)||this.tempDisableSubtitle?!1:this.config.autoEnableSubtitle==null?this.tempEnableSubtitle:this.config.autoEnableSubtitle}setMemoryCache(t,n){if(this.memoryCacheMap.set(t,n),this.memoryCacheMap.size>this.cacheSize){let r=[...this.memoryCacheMap.keys()][0];r&&this.memoryCacheMap.has(r)&&this.memoryCacheMap.delete(r)}}getMemoryCache(t){return this.config.disableSubsCache?null:this.memoryCacheMap.get(t)}i18nFormat(t,n){return oe(t,n)}getLoadingText(t){let n=this.i18nFormat("subtitleLoading");return t&&(n=this.i18nFormat("subtitleTranslating",{service:lp(this.ctx,this.i18nFormat.bind(this),this.ctx.subtitleTranslateService)})),n}showSubtitleLoading(t){if(!this.config.loadingContainerSelector)return;let n=this.getLoadingText(t),r=document.querySelector(this.config.loadingContainerSelector);if(!r)return;let i=Math.min(20,r.offsetWidth/40),a=document.getElementById(this.loadingNodeId);a&&this.hideSubtitleLoading(),a=document.createElement("div"),a.setAttribute("id",this.loadingNodeId);let o=`<span style="background: rgba(8, 8, 8, 0.75); font-size: ${i}px; line-height: 1.5; padding: 10px; color: #FFFFFF;">
        {{text}}
        </span>
      `;a.setAttribute("style","position: absolute; bottom: 5%; left: 0; right: 0; display: flex; justify-content: center; z-index: 1024;"+this.config.loadingStyle||""),a.innerHTML=at.sanitize(o.replace("{{text}}",n)),r?.appendChild(a)}hideSubtitleLoading(){if(!this.config.loadingContainerSelector)return;let t=document.querySelector(this.config.loadingContainerSelector),n=document.getElementById(this.loadingNodeId);!t||!n||t.removeChild(n)}async _translateSubtitle(t,n,r=`
`){let i=t.map((o,s)=>({text:o.replace(/\n/," ")||"",id:s,from:n,to:this.ctx.targetLanguage,url:"https://google.com",fromByClient:n,force:!0})),a=[];return await Kt({sentences:i},{...this.ctx,isRichTranslate:!1,translationService:this.ctx.subtitleTranslateService,usageScene:"subtitle_video"},(o,s,u)=>{o?a[u.id]=sd(this.ctx,o):s?a[u.id]=s.text:a[u.id]=this.i18nFormat("translateFail")}),a.map((o,s)=>{let u="";return this.getTranslationMode(n)==="translation"?u=o:u=`${t[s].replace(/\n/g," ")||""}${r}${o}`,{text:t[s]||"",translation:o,displayText:u}})}updateDownloadSubtitle(t){let{subtitleItems:n,lang:r,translations:i}=t;i.length===n.length&&n.forEach((a,o)=>{a.translation=i[o].translation}),mp(this.ctx,n,r)}getTranslationMode(t){return Da(t,this.ctx.targetLanguage)?"translation":o1(this.ctx)}quickButtonObserver=null;mutationQuickButton(){if(this.isDisableQuickButton())return;if(this.config.multipleVideoContainerSelector)return this.mutationMultipleQuickButton();let t=this.config?.quickButtonRule,n=this.config?.quickButtonRules;!t&&!n?.length||(this.quickButtonObserver&&this.quickButtonObserver.disconnect(),this.quickButtonObserver=new MutationObserver(Cn(()=>{this.checkAndReloadQuickButton(document)},50)),this.quickButtonObserver.observe(document,{subtree:!0,childList:!0}))}mutationMultipleQuickButton(){if(!this.config.multipleVideoContainerSelector)return;let t=this.config?.quickButtonRule,n=this.config?.quickButtonRules;!t&&!n?.length||(this.quickButtonObserver&&this.quickButtonObserver.disconnect(),this.quickButtonObserver=new MutationObserver(Cn(()=>{let r=Su(this.config.multipleVideoContainerSelector);r.length&&r.forEach(i=>{if(!i.getAttribute(uc)){let a=this.getAiSubtitlePageUrl(i);a&&(i.setAttribute(uc,a),setTimeout(()=>{this.autoUseAiSubtitleByUrl(a)},200))}this.checkAndReloadQuickButton(i)})},50)),this.quickButtonObserver.observe(document,{subtree:!0,childList:!0}))}checkAndReloadQuickButton(t){let n=this.config?.quickButtonRules,r=this.config?.quickButtonRule;if(n?.length)for(let a of n){if(!a.appendSelector)continue;let o=je(a.appendSelector,t);if(o){if(this.quickButtonRule=a,o.querySelector(`.${this.quickButtonClass}`))return;this.reloadQuickButton(t);return}}if(!r||!r.appendSelector)return;let i=je(r.appendSelector,t);!i||i.querySelector(`.${this.quickButtonClass}`)||this.reloadQuickButton(t)}isDisableQuickButton(){return this.config.disabled||!this.config.showQuickButton||!this.quickButtonRule?.appendSelector}async isShowQuickButton(){return!0}quickButtonClass=U+"-quick-button-container";getAppendQuickButtonElement(t=document){if(!this.quickButtonRule||!this.quickButtonRule.appendSelector)return null;let n=je(this.quickButtonRule.appendSelector,t);if(!n)return;let r=document.createElement("div");if(r.classList.add(this.quickButtonClass),r.immersive=!0,this.quickButtonRule.insertBeforeSelector){let i=je(this.quickButtonRule.insertBeforeSelector,t);i?.parentElement===n&&n.insertBefore(r,i)}else n.append(r);return r}attachSubtitle(t,n,r=!1,i,a=!1){if(!this.config.attachRule?.appendSelector&&!i||this.isAiSubtitle&&!r||this.tempDisableSubtitle)return;this.isAiSubtitle=r,st(this.ctx,n);let o=t.filter(u=>u.text),s;i&&(s=this.getAiSubtitlePageUrl(i)),ea({ctx:this.ctx,props:{videoSelector:this.config.videoSelector||"video",subtitleItems:o,ctx:this.ctx,lang:n,isAiSubtitle:r,aiSubtitlePageUrl:s,urlValueArray:this.urlValueArray,isLive:a},videoContainer:i}),this.isAttachSubtitled=!0}removeAttachSubtitle(t){if(this.isAiSubtitle=!1,!this.config.attachRule?.appendSelector)return;ta(this.config,t),this.isAttachSubtitled=!1;let n=null;t&&(n=this.getAiSubtitlePageUrl(t)),n&&XM(n)}async reloadQuickButton(t=document){if(this.isDisableQuickButton()||(t.querySelector(`.${this.quickButtonClass}`)?.remove(),!await this.isShowQuickButton()))return;let r=this.getAppendQuickButtonElement(t);if(!r)return;let i=await this.isSubtitleAvailable(t);this.quickButtonRule?.isEnableCCObserver&&this.setupCcElementObserver(t);let a=this.getAiSubtitlePageUrl(t);ir({id:U+"quick-button",parent:r,ctx:this.ctx,Component:ZR,props:{ctx:this.ctx,tempEnableSubtitle:this.tempEnableSubtitle,hasSubtitle:i,isEnableAiSubtitle:await this.getIsEnableAiSubtitle(),aiSubtitlePageUrl:a,isLive:await this.getIsLiveSubtitle()},attribute:{style:"all: initial; visibility: inherit;",[Kd]:i?"true":"false"},style:JR+this.quickButtonRule?.injectCSS||""});let o=U+"-quick-button-injected-global-css",s=this.quickButtonRule?.injectedGlobalCSS;!s||document.getElementById(o)||qt(document,s,o)}async isSubtitleAvailable(t=document){let n=this.quickButtonRule;if(!n)return!1;if(n.ccEnableSelector){let r=je(n.ccEnableSelector,t);if(!r||globalThis.getComputedStyle(r).display==="none"||r.disabled===!0)return!1}return!0}handleTempEnableSubtitle(t){let{detail:n}=t;this.tempEnableSubtitle=n.tempEnableSubtitle}setupCcElementObserver(t){if(this.ccBtnObserver?.disconnect(),!this.quickButtonRule?.ccEnableSelector)return;let n=je(this.quickButtonRule.appendSelector,t);if(!n)return;let r=n.querySelector(this.quickButtonRule.ccEnableSelector);r&&(this.ccBtnObserver=new MutationObserver(()=>{let i=n.querySelector(`[${Kd}]`)?.getAttribute(Kd)==="true";getComputedStyle(r).display!=="none"&&!i&&Promise.resolve().then(async()=>{await this.reloadQuickButton(n)}).catch(k.error)}),this.ccBtnObserver.observe(r,{attributes:!0,attributeFilter:["style","class"]}))}async _fetchSubtitle(t,n){let r;if(Ze()?r=await(globalThis.__originalFetch||fetch)(t,n):r=await fetch(t,n),!r.ok)throw new Error("request subtitle error");return(await r.text()||"").replace(/\r\n/g,`
`)}async fetchSubtitleList(t,n){try{let r=await this._fetchSubtitle(t,n);return r?Li.parse(r).filter(s=>s.type==="caption").map(s=>({start:s.start/1e3,end:s.end/1e3,text:s.text})):null}catch{return null}}detectSubtitlesLang(t){return Pm(t.slice(0,50).map(n=>n.text).join(" "))}async autoUseAiSubtitleByUrl(t){}toggleAiSubtitle(t,n){}getIsEnableAiSubtitle(t){}getAiSubtitleLoading(t){}getIsAiSubtitleUsed(t){}resetAiSubtitle(t){}getAiSubtitlePageUrl(t){return null}getIsLiveSubtitle(){return Promise.resolve(!1)}getHasAiSubtitleCache(t){return!1}};var Fne=60*60,cN=`${ma}-ai-subtitle-tip`,Gl=class extends xt{cacheMap=new Map;sourceSubtitleMap=new Map;currentTaskId="";cacheStatusMap=new Map;getTaskCache(t){return this.cacheMap.get(t)}updateTask(t,n){this.cacheMap.set(t,{...this.cacheMap.get(t),...n})}async autoUseAiSubtitleByUrl(t){let n=await le.getUserInfo();if(!n||!this.isEnableSubtitle()||!this.config.aiSubtitlePreferred||!await this.getIsEnableAiSubtitle(t)||!this.config.aiSubtitle?.enable||!await Ir()&&!dp(this.config,n))return;await this.useAiSubtitleServerCacheByUrl(t,!0)&&this.reportUseAiSubtitle("auto"),ld()}async useAiSubtitleServerCacheByUrl(t,n){if(!await le.getUserToken())return!1;try{let r=await St.get(`asr-audio/v2/subtitle?url=${encodeURIComponent(t)}`);return r.subtitle?(this.cacheStatusMap.set(t,!0),this.updateTask(t,{status:"completed",result:r.subtitle,isCacheHit:!0}),this.handleAttachAiSubtitle(t,n),!0):(this.cacheStatusMap.set(t,!1),!1)}catch(r){return this.cacheStatusMap.set(t,!1),k.debug("ai subtitle get subtitle error",r),!1}}async createTask(t,n){if(!await le.getUserToken())return;let i=t;if(this.cacheMap.has(i)&&!n){let s=this.getTaskCache(i);if(s.status==="pending"||s.status==="completed")return s.taskId}this.updateTask(i,{status:"created",url:t,isCacheHit:!1});let a={url:t};n&&(a.isForce=!0);let o=await St.post("asr-audio/v2/create-task",a);return this.updateTask(i,{taskId:o.task_id,status:o.status}),o.task_id}async getIsEnableAiSubtitle(t){return this.config.aiSubtitle?.enable?this.config.aiSubtitle.urlRegex?(t=t||globalThis.location.href,!(!t||!this.config.aiSubtitle.urlRegex?.some(n=>t?.match(n)))):!0:!1}async isVideoDurationWithinLimit(t){let n=this.config.aiSubtitle?.maxDurationHours;if(!n)return!0;let r=await this.getCurrentDuration(t);if(!r)throw new Error("video not found");return r>n*Fne?(this.showAiSubtitleTipWithText({text:this.i18nFormat("subtitle.requestAiSubtitleMaxDurationLimitTip",{maxDurationHours:n}),url:t}),!1):!0}async hasAiSubtitleQuota(){let t=await le.getUserInfo(),{hasQuota:n}=Ag({user:t,quotaType:"noviceAsrAudioQuota"});return n||await Ir()}async toggleAiSubtitle(t,n){let r=await le.getUserToken(),i=dp(this.config);if(!r&&i){this.showNotLoginModal();return}else if(!i&&!await this.hasAiSubtitleQuota()){this.showLoginOrUpgradeProModal();return}let a=null;try{if(t=t||globalThis.location.href,!await this.getIsEnableAiSubtitle(t)||!await this.isVideoDurationWithinLimit(t))return;if(this.reportUseAiSubtitle("user"),!n){let c=this.getTaskCache(t);if(c?.status==="completed"&&c.result)return this.updateTask(t,{isCacheHit:!0}),await this.handleAttachAiSubtitle(t),c.result;if(await this.useAiSubtitleServerCacheByUrl(t))return}if(!await this.hasAiSubtitleQuota()){this.showUpgradeProModal();return}a=setTimeout(()=>{this.showAiSubtitleTipWithStatus("loading",t)},1e3);let u=await this.createTask(t,n);if(!u)return;this.currentTaskId=u;let l=await this.pollTaskStatus(u,t);return clearTimeout(a),await this.handleAttachAiSubtitle(t),l}catch(o){return k.error("ai subtitle get subtitle error",o),this.updateTask(t,{status:"failed",result:o.message}),a&&clearTimeout(a),o instanceof Y&&o.errorCode==429?this.handle429Error(t):this.showAiSubtitleTipWithStatus("failed",t),""}}async handle429Error(t){let n=await le.getUserInfo();if(!n?.subscription)this.showAiSubtitleTipWithStatus("429",t);else if(n.subscription.isTrial)_e("showErrorModal",{title:this.i18nFormat("error.usageTips"),errMsg:this.i18nFormat("error.aiSubtitleTrialQuotaExceeded"),action:"aiSubtitleTrialQuotaExceeded",type:"error"});else{let r=n.subscription.openAITokenUsedCountResetTime;_e("showErrorModal",{title:this.i18nFormat("error.usageTips"),errMsg:this.i18nFormat("error.aiSubtitleQuotaExceeded",{nextResetTime:ig(r,"YYYY-MM-DD HH:mm:ss")}),action:"aiSubtitleQuotaExceeded",type:"error"})}}showLoginOrUpgradeProModal(){_e("showErrorModal",{title:this.i18nFormat("subtitle.upgradePro"),errMsg:this.i18nFormat("subtitle.upgradeProMessage",{featureName:this.i18nFormat("subtitle.aiSubtitle")}),action:"loginOrUpgradeByAiSubtitle",type:"error"})}showUpgradeProModal(){_e("showErrorModal",{title:this.i18nFormat("upgradeToPro"),errMsg:this.i18nFormat("subtitle.error.aiSubtitleProOnly"),action:"upgradeAiSubtitle",targetUrl:j.GO_AUTH_PRICING_FOR_AI_SUBTITLE,type:"error"})}showNotLoginModal(){_e("showErrorModal",{title:this.i18nFormat("subtitle.upgradePro"),errMsg:this.i18nFormat("subtitle.error.aiSubtitleLimitFree"),targetUrl:j.USER_LOGIN_URL_FROM_FREE_AI_SUBTITLE,action:"aiSubtitleLogin",type:"error"})}async pollTaskStatus(t,n){try{if(!await le.getUserToken())throw new Error("AI subtitle failed");let r=await St.get(`asr-audio/v2/task/${t}`);if(r.status==="completed")return k.debug("ai subtitle result",r.result),this.updateTask(n,{status:"completed",result:r.result}),r.result;if(r.status==="failed")throw this.updateTask(n,{status:"failed",result:""}),new Error("AI subtitle failed");return await it(5e3),this.pollTaskStatus(t,n)}catch(r){throw this.updateTask(n,{status:"failed",result:""}),r}}async handleAttachAiSubtitle(t,n){if(!this.config.attachRule?.appendSelector)return;let r=this.getTaskCache(t);if(!r?.result)return;let i=[];if(i=Li.parse(r.result).filter(u=>u.type==="caption"),!this.checkSubtitle(i)){if(n)return;if(r?.isCacheHit){this.toggleAiSubtitle(t,!0);return}this.showAiSubtitleTipWithText({text:this.i18nFormat("subtitle.tryReGenerateAiSubtitle"),url:t,iconSrc:Mo("aiSubtitleWhite")});return}let s=await Ve({text:i.map(u=>u.text).join(`
`)});if(this.config.attachRule?.appendSelector){let u=this.getAiSubtitleItems(i);this.attachSubtitle(u,s,!0),this.showAiSubtitleTipWithStatus("used",t),setTimeout(()=>{ld()},100);return}}checkSubtitle(t){let n=this.config.aiSubtitleMaxTextLength;return n?!t.find(i=>i.text.length>n):!0}filterAmbientSounds(t){try{return!this.config.filterAmbientSounds||!this.config.filterAmbientSoundsRegex?t:t.map(n=>({...n,text:n.text.replace(new RegExp(this.config.filterAmbientSoundsRegex,"g"),"")}))}catch(n){return k.error("filterAmbientSounds error",n),t}}attachSubtitle(t,n,r=!1,i,a=!1){if(r&&(t=this.filterAmbientSounds(t)),super.attachSubtitle(t,n,r,i,a),r)return;let o=globalThis.location.href;this.sourceSubtitleMap.set(o,t)}async resetAiSubtitle(t){t=t||globalThis.location.href;let n=this.getAppendContainerByAiPageUrl(t);if(this.removeAttachSubtitle(n),!this.isEnableSubtitle())return;let r=this.sourceSubtitleMap.get(t);if(r){let i=await Ve({text:r.map(a=>a.text).join(`
`)});this.attachSubtitle(r,i,!1)}}getAiSubtitleItems(t){return t.map(r=>({start:r.start/1e3,end:r.end/1e3,text:r.text}))}getCurrentVideo(t){return this.config.videoSelector?document.querySelector(this.config.videoSelector):null}getIsAiSubtitleUsed(t){t=t||globalThis.location.href;let n=this.getTaskCache(t);return n?.status==="completed"&&n?.result&&this.isAiSubtitle}getAppendContainerByAiPageUrl(t){return this.config.attachRule?.appendSelector?document.querySelector(this.config.attachRule.appendSelector):null}getAiSubtitleLoading(t){t=t||globalThis.location.href;let n=this.getTaskCache(t);return!n||n.result?!1:!n.status||n.status==="pending"||n.status==="created"}async getCurrentDuration(t){t=t||globalThis.location.href;let n=this.getCurrentVideo(t);return n?n.duration:null}closeTimerMap=new Map;calculateEstimatedTime(t){if(t<60*6){let n=(Math.round(t/60)||1)*10;return this.i18nFormat("xSeconds",{seconds:n})}else{let n=Math.ceil(t/600)||1;return this.i18nFormat("xMinutes",{count:n})}}async showAiSubtitleTipWithStatus(t,n){let r="",i=Mo("aiSubtitleWhite");switch(t){case"loading":{let a=await this.getCurrentDuration(n);if(!a)return;let o=this.calculateEstimatedTime(a);r=this.i18nFormat("subtitle.requestAiSubtitleTip",{estimatedTime:o});break}case"used":r=this.i18nFormat("subtitle.requestAiSubtitleSuccessTip"),!await this.hasAiSubtitleQuota()&&dp(this.config)&&(r+=this.i18nFormat("subtitle.limitFree")),i=Mo("aiSubtitleGradient");break;case"failed":r=this.i18nFormat("subtitle.requestAiSubtitleFailTip");break;case"429":r=this.i18nFormat("subtitle.requestAiSubtitle429Tip");break}this.showAiSubtitleTipWithText({text:r,iconSrc:i,url:n})}showAiSubtitleTipWithText(t){let{text:n,iconSrc:r,url:i}=t;this.clearTipTimer(i);let a=this.getAppendContainerByAiPageUrl(i);if(!a)return;let o=a.querySelector(`#${cN}`);o||(o=this.createTipContainer(a)),o.innerHTML=this.createTipContent(n,r);let s=setTimeout(()=>{o?.remove(),this.closeTimerMap.delete(i)},2500);this.closeTimerMap.set(i,s)}clearTipTimer(t){let n=this.closeTimerMap.get(t);n&&(clearTimeout(n),this.closeTimerMap.delete(t))}createTipContainer(t){let n=document.createElement("div");return n.id=cN,n.style.cssText=`
      position: absolute;
      top: 50%;
      left: 10%;
      right: 10%;
      transform: translate(0, -50%);
      color: #fff;
      font-size: 14px;
      z-index: 2147483647;
      display: flex;
      align-items: center;
      line-height: 14px;
      justify-content: center;
    `,t.appendChild(n),n}createTipContent(t,n){let r=n||Mo("aiSubtitleWhite");return r?.startsWith("<svg")?`
        <div style="background: rgba(0, 0, 0, 0.80); padding: 6px 8px; border-radius: 8px; display: flex; align-items: center; gap: 4px;">
          ${r.replace(/<svg/,'<svg style="width: 14px; height: 14px; flex-shrink: 0;"')} ${t}
        </div>
      `:`
      <div style="background: rgba(0, 0, 0, 0.80); padding: 6px 8px; border-radius: 8px; display: flex; align-items: center; gap: 4px;">
        <img src="${r}" style="width: 14px; height: 14px;"/> ${t}
      </div>
    `}reportUseAiSubtitle(t){se({key:"use_ai_subtitle",ctx:this.ctx,params:{trigger:t}}),Dr("translate_video_2",this.ctx)}getHasAiSubtitleCache(t){return t=t||globalThis.location.href,this.cacheStatusMap.get(t)!==!1}};var m1=class extends Gl{autoShowObserver=null;videoSrc=null;currentUrl=null;currentVideoId=null;liveFreeStartTime=null;liveMirrorSubtitles=[];liveCurrentText=null;liveObserver=null;liveLastUpdateAt=null;pushLiveMirrorSubtitles(t="en"){let n=[...this.liveMirrorSubtitles];if(n.length){if(!this.isAttachSubtitled){this.attachSubtitle(n,t,!1,void 0,!0);return}SR({source:c1,subtitleItems:n,lang:t})}}mutationVideoChange(){let t=this.config;this.autoShowObserver&&this.autoShowObserver.disconnect(),this.autoShowObserver=new MutationObserver(Cn(()=>{let n=document.querySelector(t.videoSelector||"video"),r=n&&n.getAttribute("src"),i=window.location.href,a=this.getVideoIdFromUrl(i),o=!!a&&a!==this.currentVideoId;if(r&&r!=this.videoSrc||o){if(this.isEnableSubtitle()){let l=!this.videoSrc&&!this.isAttachSubtitled;this.inject.triggerSubtitle({force:l})}(!this.currentUrl||o||!i?.startsWith(this.currentUrl)&&new URL(i).pathname!=="/"&&globalThis.location.pathname!=="/")&&(this.removeAttachSubtitle(),this.liveFreeStartTime=null,this.showEndTrialTip=!1,this.reloadLiveSubtitle()),this.videoSrc=r,this.currentUrl=i,this.currentVideoId=a,this.autoUseAiSubtitleByUrl(this.fixAiSubtitlePageUrl(i)),this.reloadQuickButton(),this.tempEnableSubtitle=!1;return}if(this.removeAttachSubtitleWithUserClose(),!Pe().any)return;let s=this.config?.quickButtonRule;if(!s)return;if(!s.appendSelector)return null;!document.querySelector(s.appendSelector)||document.querySelector(`.${this.quickButtonClass}`)||this.reloadQuickButton()},50)),this.autoShowObserver.observe(document,{subtree:!0,childList:!0})}async removeAttachSubtitleWithUserClose(){if(this.isAiSubtitle)return;let t=this.config;if(!t.attachRule?.appendSelector||!t.subtitleButtonSelector||!t.videoPlayerSelector)return;let n=document.querySelector(t.videoPlayerSelector);if(!n)return;let r=n.querySelector(t.subtitleButtonSelector);if(!r)return;if(!(r?.getAttribute("aria-pressed")==="true")){this.stopLiveSubtitle(),this.removeAttachSubtitle();return}if(await this.getIsLiveSubtitle()&&!this.isAttachSubtitled){this.reloadLiveSubtitle();return}}removeAttachSubtitle(t){k.debug("[subtitle] remove"),super.removeAttachSubtitle(t),document.querySelectorAll(".html5-video-player").forEach(r=>{ta(this.config,r)})}isEnableSubtitle(){if(this.config.disabled)return!1;let t=this.config.autoEnableSubtitle||this.tempEnableSubtitle;return this.config.translationOnlyPattern&&!Ke(Ne(),this.config.translationOnlyPattern)?!1:(document.querySelector("#dualMarkStyle")&&(t=!1),this.config.youtubeAutoEnableSubtitle&&(t=!0),t)}async getIsLiveSubtitle(){return!!(await this.inject.getVideoMeta())?.videoDetails?.isLive}async loadSubtitle({input:t,responseText:n}){try{let r=await this.inject.getVideoMeta();if(r?.videoDetails?.isLive)return this.translateLiveSubtitle(t);r&&this.modifyLanguageNode(r);let i=this.getLangCodeFromSubtitleUrl(t),a=dt(ye(i),this.ctx.targetLanguage);if(a||Da(i,this.ctx.targetLanguage)){let h=this.getSourceSubtitleUrlWithSameLanguage(t,r);if(h)return this.loadSubtitle({input:h})}let o=this.ctx.rule.ytAsrConfig,s=this.config.preTranslation&&o?.enable,u=!!o?.aiSupportLanguages?.find(h=>h===i),l=this.config.preTranslation&&o?.aiEnable&&this.ctx.isPro&&u;if(NR(t)&&(s||l)){let h=await this.requestOriginalEvents(t,n);l&&this.requestServerMerge(h,i);let C=RR(h,i,this.ctx.rule.ytAsrConfig);if(C){this.attachSubtitle(C,i);return}}let c=await this.requestOriginalSubtitle(t,n);if(!c||!c?.length)return null;let d=this.mergeSelfSubtitle(c,this.getSpaceWithLang(i));if(a){let h=this.formatToSubtitleItem(d);return this.attachSubtitle(h,i),null}let g=await this.requestHumanSubtitle(d,r);g?.length||(g=await this.requestYoutubeTranslateSubtitle(t,c,i,r)),g?.length||(g=this.formatToSubtitleItem(d));let p=(await this.inject.getVideoMeta())?.videoDetails?.videoId;return p&&!t.includes(p)||this.attachSubtitle(g,i),null}catch(r){return this.config?.attachRule?.appendSelector&&ta(this.config),k.error(r),null}finally{this.hideSubtitleLoading()}}async requestServerMerge(t,n){if(await le.getUserToken())try{let i=await ji(t),o=(await St.post("subtitles/yt-asr-subs",{subtitles:t,subtitleHash:i})).data?.map(s=>({start:s.start/1e3,end:s.end/1e3,text:s.text}));if(k.debug("yt asr merge subtitles:",o),o){this.attachSubtitle(o,n);return}}catch(i){k.error(i)}}getSourceSubtitleUrlWithSameLanguage(t,n){let r=this.ctx.targetLanguage,i=new URL(t),a=i.searchParams.get("tlang"),o=i.searchParams.get("lang")||"";if(a&&!dt(ye(o),r)&&!Da(ye(o),r))return i.searchParams.delete("tlang"),i.toString();let s=n?.captions?.playerCaptionsTracklistRenderer?.captionTracks.filter(d=>!dt(ye(d.languageCode),r)&&!Da(ye(d.languageCode),r));if(!this.config.autoSwitchSubtitleWithSameLanguage||!s)return null;let u=s.find(d=>d.kind);if(!u&&s.length&&(u=s.sort((g,f)=>ye(g.languageCode)==="en"?-1:0)[0]),!u)return;let l=ye(u.languageCode),c=this.getHumanCaptionTrack(l,n);return c?c.baseUrl:u.baseUrl}requestOriginalSubtitle(t,n){if(n){let r=this.mergeSegsText(JSON.parse(n));return Promise.resolve(r.events)}return this.fetchSubtitle(t)}async requestOriginalEvents(t,n){if(n)return JSON.parse(n).events;let r=new URL(t),i=await fetch(r.toString());if(!i.ok)throw new Error("request subtitle error");return(await i.json()).events}async requestHumanSubtitle(t,n){if(!this.config.humanPreferred||!n)return null;try{let r=this.getHumanCaptionTrack(this.ctx.targetLanguage,n);if(!r)return null;let i=FR(r.baseUrl);if(!i)return null;let a=await this.fetchSubtitle(i);return!a.length||!await this.checkTranslationSubtitleLanguage(a.map(s=>s.text).join(`
`))?null:this.mergeSubtitles(t,a)}catch(r){return k.error("youtube human subtitle error:",r),null}}async checkTranslationSubtitleLanguage(t){if(!t.trim())return!1;if(!this.ctx.targetLanguage.startsWith("zh"))return!0;try{let n=await Ve({text:t});return k.debug("youtube detect language:",n,"target language:",this.ctx.targetLanguage),dt(ye(n),this.ctx.targetLanguage)}catch(n){return k.error("Language detection failed:",n),!0}}async requestYoutubeTranslateSubtitle(t,n,r,i){if(this.config.preTranslation)return null;try{let a=this.getYoutubeTranslateLang(this.ctx.targetLanguage,i),o=new URL(t);o.searchParams.set("tlang",a);let s=await this.fetchSubtitle(o.toString());if(!await this.checkTranslationSubtitleLanguage(s.map(f=>f.text).join(`
`)))return null;n.forEach((f,p)=>{f.tStartMs!==s[p]?.tStartMs&&s.splice(p,0,{tStartMs:f.tStartMs,dDurationMs:f.dDurationMs,text:""})});let l=this.mergeSelfSubtitle(n,this.getSpaceWithLang(r)),c=this.mergeSelfSubtitle(s,this.getSpaceWithLang(this.ctx.targetLanguage)),d=c.filter(f=>!!f.text);if(Math.abs(l.length-d.length)>n.length*.1)return null;k.debug("youtube subtitle ",l,c);let g=c.reduce((f,p)=>(f[p.tStartMs]=p.text||"",f),{});return l.map(f=>({start:f.tStartMs/1e3,end:(f.tStartMs+f.dDurationMs)/1e3,text:f.text||"",translation:g[f.tStartMs]}))}catch(a){return k.error("youtube translate subtitle error:",a),null}}getHumanCaptionTrack(t,n){if(n&&n.captions)return n.captions.playerCaptionsTracklistRenderer.captionTracks.find(i=>ye(i.languageCode)===t&&!i.kind)}getYoutubeTranslateLang(t,n){let r=t;if(n&&n.captions){let i=n.captions.playerCaptionsTracklistRenderer?.translationLanguages?.find(a=>ye(a.languageCode)===t);i&&(r=i.languageCode)}return r}getLangCodeFromSubtitleUrl(t){let n=new URL(t),r=n.searchParams.get("tlang")||n.searchParams.get("lang")||"";return ye(r)}modifyLanguageObserver=null;modifyLanguageNode(t){let n=this.config,r=U+"-bilingual-subtitle-mark";if(!n.languageSelector||!t.captions)return;let i=t.captions.playerCaptionsTracklistRenderer.captionTracks.reduce((o,s)=>(Object.values(s.name).forEach(u=>{o[u]=s.languageCode}),o),{});this.modifyLanguageObserver&&this.modifyLanguageObserver.disconnect(),this.modifyLanguageObserver=new MutationObserver(()=>{if(!this.isEnableSubtitle()){document.querySelectorAll(`[${r}]`).forEach(s=>{s.remove()});return}document.querySelectorAll(n.languageSelector).forEach(s=>{let u=s.innerText.trim();if(i[u]&&!dt(ye(i[u]),this.ctx.targetLanguage)&&!Da(ye(i[u]),this.ctx.targetLanguage)){let l=document.createElement("span");l.innerText=`-${this.i18nFormat("bilingual")}`,l.setAttribute(r,"true"),s.appendChild(l)}})});let a=n.videoPlayerSelector&&document.body.querySelector(n.videoPlayerSelector)||document;this.modifyLanguageObserver.observe(a,{subtree:!0,childList:!0})}async fetchSubtitle(t){let n=new URL(t);n.searchParams.set("fmt","json3");let r=await fetch(n.toString());if(!r.ok)throw new Error("request subtitle error");let i=await r.json();return this.mergeSegsText(i).events}mergeSegsText(t){let n={...t},r=n.events.filter(i=>i.segs&&i.dDurationMs&&i.aAppend!==1);return r.sort((i,a)=>i.tStartMs-a.tStartMs),r=r.map(i=>{let a=i.segs.reduce((o,s)=>o+s.utf8,"");return{...i,text:WM(a.replaceAll(`
`," "))}}),n.events=r,n}mergeSelfSubtitle(t,n){return JSON.parse(JSON.stringify(t)).reduce((r,i,a)=>{if(a==0)return r=r.concat(i),r;let o=r[r.length-1];return i.tStartMs===o.tStartMs&&i.text===o.text&&i.dDurationMs===o.dDurationMs||(i.tStartMs<o.tStartMs+o.dDurationMs?o.text+=n+i.text:r=r.concat(i)),r},[])}mergeSubtitles(t,n){let r=this.formatToSubtitleItem(t),i=this.formatToSubtitleItem(n),a=u6(r,i,`
`);return a.forEach(o=>{o.text===o.translation&&(o.translation="")}),a}formatToSubtitleItem(t){return t.map(n=>({start:n.tStartMs/1e3,end:(n.tStartMs+n.dDurationMs)/1e3,text:n.text||""}))}async autoEnableSubtitleChanged(){let t=await ot(Ne(),{});this.reloadLiveSubtitle(),this.initConfig(t),this.isEnableSubtitle()||(this.isAiSubtitle=!1),this.reloadQuickButton(),!this.config.disabled&&(!this.isEnableSubtitle()&&this.config.attachRule?.appendSelector&&ta(this.config),!(this.isEnableSubtitle()&&this.isAttachSubtitled)&&this.inject.triggerSubtitle({force:!0}))}async onTranslationModeChanged(){let t=await ot(Ne(),{});if(this.initConfig(t),this.config.disabled){this.reloadLiveSubtitle();return}!this.config.translationMode||this.config.translationMode!=="inherit"||(this.inject.triggerSubtitle({force:!0}),this.reloadLiveSubtitle())}mutationQuickButton(){}async isShowQuickButton(){if(Pe().any)return!0;if(this.config.videoPlayerSelector){let n=document.querySelector(this.config.videoPlayerSelector)?.getBoundingClientRect();if(n?.width&&n.width<500)return!1}return!0}async isSubtitleAvailable(){let t=await this.inject.getVideoMeta(),n=!!t?.captions?.playerCaptionsTracklistRenderer.captionTracks.length,r=t?.videoDetails?.isLive&&t.streamingData?.adaptiveFormats?.find(i=>/text\/mp4/.test(i.mimeType||""));return n||!!r}lastReportUrl="";showEndTrialTip=!1;checkLiveSubtitleTrialLimit(){if(!this.ctx.isPro&&this.ctx.rule.subtitleRule.allowFreeUserLive)return this.liveFreeStartTime||(this.liveFreeStartTime=Date.now(),this.showLiveSubtitleTip(this.i18nFormat("subtitle.liveFreeLimitTrialTip"))),!0;if(this.ctx.isPro)return!0;this.liveFreeStartTime||(this.liveFreeStartTime=Date.now(),this.showLiveSubtitleTip(this.i18nFormat("subtitle.liveFreeTrialTip",{free_trial_minutes:1})),this.showEndTrialTip=!1);let t=1e3*60;return Date.now()-this.liveFreeStartTime>t?(this.showEndTrialTip||(this.showEndTrialTip=!0,this.showLiveSubtitleTip(this.i18nFormat("subtitle.liveFreeTrialEndTip"))),!1):!0}async translateLiveSubtitle(t){if(!this.checkLiveSubtitleTrialLimit())return null;try{let n=await fetch(t);if(!n.ok)throw new Error("request subtitle error");let r=await n.arrayBuffer(),i=i1(r);if(!i)return null;let a=[...i.document.querySelectorAll("p")].filter(c=>c.textContent?.trim()),o=a.map(c=>c.textContent||""),s=await Ve({text:o.join(`
`)});return dt(ye(s),this.ctx.targetLanguage)?null:(this.lastReportUrl!==Ne()&&(this.lastReportUrl=Ne(),st(this.ctx,ye(s),"youtube.live")),(await this._translateSubtitle(o,s)).forEach((c,d)=>{a[d]&&(a[d].innerHTML=c.displayText)}),a1(i.arrayBuffer,i.document))}catch{}}getSpaceWithLang(t){return Ni.includes(ye(t))?"":" "}subtitleRequestError(t){t.responseStatus===429&&this.attachSubtitle([{start:0,end:1e7,text:this.i18nFormat("youTubeSubtitleRequestLimitErrorTitle"),translation:this.i18nFormat("youTubeSubtitleRequestLimitErrorDescription")}],"en")}async getIsEnableAiSubtitle(t){return(await this.inject.getVideoMeta())?.videoDetails?.isLive?!1:super.getIsEnableAiSubtitle(t)}async getCurrentDuration(t){let n=await this.inject.getCurrentDuration();if(n)return n;let r=this.getCurrentVideo(t);return r?r.duration:null}liveSubtitleTipTimer=null;showLiveSubtitleTip(t){if(!this.config.attachRule?.appendSelector)return;let n=this.createTipContainer(document.body);n.innerHTML=this.createTipContent(t,al);let r=document.querySelector(this.config.attachRule?.appendSelector||"");r&&r.appendChild(n),this.liveSubtitleTipTimer=setTimeout(()=>{n.remove(),this.liveSubtitleTipTimer=null},3e3)}fixAiSubtitlePageUrl(t){return t.includes("youtube.com/live/")?(t=t.split("?")[0],t.replace("youtube.com/live/","youtube.com/watch?v=")):t}getVideoIdFromUrl(t){try{let n=new URL(t);return n.hostname.includes("youtu.be")?n.pathname.replace("/","")||null:n.pathname.startsWith("/watch")?n.searchParams.get("v"):n.pathname.startsWith("/shorts/")?n.pathname.split("/shorts/")[1]?.split(/[?&#]/)[0]||null:n.pathname.startsWith("/live/")&&n.pathname.split("/live/")[1]?.split(/[?&#]/)[0]||null}catch{return null}}getAiSubtitlePageUrl(t){return this.fixAiSubtitlePageUrl(globalThis.location.href)}async handleAttachAiSubtitle(t,n){this.fixAiSubtitlePageUrl(globalThis.location.href).startsWith(t)&&super.handleAttachAiSubtitle(t,n)}stopLiveSubtitle(){this.liveObserver&&(this.liveObserver.disconnect(),this.liveObserver=null),this.liveCurrentText=null,this.liveMirrorSubtitles=[]}async reloadLiveSubtitle(){if(this.stopLiveSubtitle(),this.config.disabled||!this.isEnableSubtitle()||!this.config.attachRule?.appendSelector||!(await this.inject.getVideoMeta())?.videoDetails?.isLive)return;if(!await In({ctx:this.ctx,usageScene:"subtitle_video",service:this.ctx.subtitleTranslateService})){ta(this.config);return}let r=this.config.captionContainerSelector||"#ytp-caption-window-container",i=document.querySelector(r);if(!i)return;let a=async()=>{let{text:o,lang:s,isRollup:u}=this.extractLiveCaptionFromContainer(i),l=await this.getLiveCurrentTime();s==this.ctx.targetLanguage&&!this.isAttachSubtitled||this.consumeLiveCaption(o,l,s,u)};this.liveObserver=new MutationObserver(()=>{a()}),this.liveObserver.observe(i,{subtree:!0,childList:!0,characterData:!0}),a(),st(this.ctx,"en","youtube.live")}normalizeLiveCaptionText(t){return t.replace(/\u200B/g,"").replace(/\r/g,`
`).split(`
`).map(n=>n.replace(/\s+/g," ").trim()).filter(Boolean).join(`
`).trim()}filterLiveCaptionText(t){let n=[/[（(]\s*自动生成(?:的字幕)?\s*[)）]/g,/\bauto-generated(?: subtitles?)?\b/gi,/点击查看设置/g,/click to view settings/gi],r=t;return n.forEach(i=>{r=r.replace(i," ")}),this.normalizeLiveCaptionText(r)}extractLiveCaptionFromContainer(t){let n=this.config.captionWindowSelector||".caption-window",r=[...t.querySelectorAll(n)],i;r.length===1?i=r[0]:r.length>=2&&(i=r[r.length-1]);let a=i||t,o=i?.getAttribute("lang")||"en",s=ye(o),u=!!i?.classList.contains("ytp-caption-window-rollup"),l=[...a.querySelectorAll(".ytp-caption-segment, .caption-visual-line")];if(l.length){let c=[];return l.forEach(d=>{let g=this.normalizeLiveCaptionText(d.innerText||d.textContent||"");g&&c[c.length-1]!==g&&c.push(g)}),{text:this.filterLiveCaptionText(c.join(" ")),lang:s==="auto"?"en":s,isRollup:u}}return{text:this.filterLiveCaptionText(a.innerText||a.textContent||""),lang:s==="auto"?"en":s,isRollup:u}}consumeLiveCaption(t,n,r,i){if(!this.checkLiveSubtitleTrialLimit()){this.liveObserver?.disconnect(),this.liveObserver=null,this.liveMirrorSubtitles=[],this.liveCurrentText=null,this.removeAttachSubtitle();return}let a=this.liveMirrorSubtitles[this.liveMirrorSubtitles.length-1];if(this.liveCurrentText!==t){if(a&&(a.end=Math.max(n)),t===""){this.pushLiveMirrorSubtitles(r||"en");return}if(i&&this.liveCurrentText&&t.startsWith(this.liveCurrentText)){if(a.text=t,a.end=Math.max(n+20),this.liveLastUpdateAt&&Date.now()-this.liveLastUpdateAt<500)return;a.needReTranslate=!0,this.liveLastUpdateAt=Date.now(),this.pushLiveMirrorSubtitles(r||"en");return}this.liveCurrentText=t,this.liveMirrorSubtitles.push({start:Math.max(0,n),end:Math.max(.2,n+20),text:t}),this.pushLiveMirrorSubtitles(r||"en")}}async getLiveCurrentTime(){let t=Date.now(),n=await this.inject.getCurrentTime(),r=Date.now();return typeof n=="number"&&Number.isFinite(n)?n-(r-t)/1e3:document.querySelector(this.config.videoSelector||"video")?.currentTime||0}};var Bne="iframe[data-subtitle-url]",One="data-subtitle-url",f1=class extends xt{observer=null;lastSubtitleUrl=null;constructor(t){super(t),this.tryAttachSubtitle(),this.startObserver()}mutationVideoChange(){this.startObserver()}startObserver(){this.observer&&this.observer.disconnect(),this.observer=new MutationObserver(()=>{this.tryAttachSubtitle()});let t=this.getSubtitleUrlAttr();this.observer.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeFilter:[t]})}getIframeElement(){let t=this.config.iframeSelector||Bne;return document.querySelector(t)}getSubtitleUrlAttr(){return this.config.iframeSubtitleUrlAttr||One}async tryAttachSubtitle(){if(!this.isEnableSubtitle())return;let t=this.getIframeElement();if(!t)return;let n=t.getAttribute(this.getSubtitleUrlAttr());if(!(!n||n===this.lastSubtitleUrl))try{let r=await this.fetchSubtitleList(n);if(!r?.length)return;let i=await this.detectSubtitlesLang(r);this.lastSubtitleUrl=n,k.info("[youtube_iframe] attach subtitle",{subtitleUrl:n,count:r.length,lang:i}),this.attachSubtitle(r,i,!1)}catch(r){k.error("youtube_iframe attach subtitle error",r)}}};var p1=class extends xt{autoShowObserver=null;url=null;cacheSubtitleItems={};mutationVideoChange(){this.autoShowObserver&&this.autoShowObserver.disconnect(),this.autoShowObserver=new MutationObserver(()=>{let t=window.location.href;if(t&&t!=this.url&&t.includes("/watch/")){this.url=t;let n=this.getVideoId();n&&this.cacheSubtitleItems[n]&&this.attachSubtitle(this.cacheSubtitleItems[n].subtitleItems,this.cacheSubtitleItems[n].lang)}}),this.autoShowObserver.observe(document,{subtree:!0,childList:!0})}async loadSubtitle(t){let n=t.input;try{let r=this.getVideoId(),i=await this.inject.getVideoMeta(r),a=this.config.humanPreferred&&this.getHumanCaptionTrack(this.ctx.targetLanguage,i);this.showSubtitleLoading(!a);let o=this.getLangCodeFromSubtitleUrl(n,i);if(dt(ye(o),this.ctx.targetLanguage))return null;st(this.ctx,ye(o));let s=await this.fetchSubtitle(n,!0);if(!s)return null;let u=this.getSubtitlesByDoc(s);if(this.config.attachRule?.appendSelector){let d=this.isMatchVideoMeta(n,i);if(d&&i?.movieId&&(this.cacheSubtitleItems[i.movieId]={subtitleItems:u,lang:ye(o)}),!d&&this.isAttachSubtitled||d&&r&&i?.movieId!==r)return;this.attachSubtitle(u,ye(o));return}this.downloadSubtitle(s,ye(o),[]);let l=await this.requestHumanSubtitle(s,ye(o),i);if(l)return this.handleIOSFullScreen(l,ye(o)),l.documentElement.outerHTML;let c=await this.translateSubtitle(s,u,ye(o));return c?(this.handleIOSFullScreen(c,ye(o)),c.documentElement.outerHTML):null}catch(r){return k.error(r),null}finally{this.hideSubtitleLoading()}}isMatchVideoMeta(t,n){let r=this.formatCaptionTrackUrl(n);return Object.values(r).some(i=>i.includes(t))}downloadSubtitle(t,n,r){if(this.config.enableHookDownload)try{this.updateDownloadSubtitle({subtitleItems:this.getSubtitlesByDoc(t),translations:r,lang:n})}catch(i){k.error("download subtitle error",i)}}getSubtitlesByDoc(t){let n=[...t.querySelectorAll("p")];return this.formatToSubtitleItems(n)}async requestHumanSubtitle(t,n,r){if(!this.config.humanPreferred||!r)return null;let i=this.getHumanCaptionTrack(this.ctx.targetLanguage,r);if(!i)return null;let a=await this.fetchSubtitle(i);return a?this.getTranslationMode(n)==="translation"?a:this.mergeSubtitles(t,a,n):null}async translateSubtitle(t,n,r){let i=t.cloneNode(!0),a=[...i.querySelectorAll("p")],o=n.map(u=>u.text),s=await this._translateSubtitle(o,r,"<br />");return this.downloadSubtitle(t,r,s),s.forEach((u,l)=>{a[l].innerHTML=u.displayText}),i}formatCaptionTrackUrl(t){let n={};return t?.timedtexttracks.forEach(r=>{let i=Object.values(r.ttDownloadables).reduce((o,s)=>o.concat(s.urls.map(u=>u.url)),[]),a=n[ye(r.language)]||[];n[ye(r.language)]=a.concat(i)}),n}getHumanCaptionTrack(t,n){let r=this.formatCaptionTrackUrl(n);return r[t]?r[t][0]:null}getLangCodeFromSubtitleUrl(t,n){let r=this.formatCaptionTrackUrl(n),i=Object.entries(r).find(([a,o])=>o.includes(t));return k.debug("findLang:",i,r,t,n),i?i[0]:""}async fetchSubtitle(t,n){let r=await fetch(t);if(!r.ok)throw new Error("request subtitle error");let i=await r.text(),a=new DOMParser().parseFromString(i,"text/xml");return n?this.preMergeSubtitles(a):a}mergeSubtitles(t,n,r){let i=t.cloneNode(!0),a=[...i.querySelectorAll("p")],o=[...n.querySelectorAll("p")],s=this.formatToSubtitleItems(a),u=this.formatToSubtitleItems(o),l=zl(s,u,"<br />");return l.forEach((c,d)=>{a.length<=d||(a[d].innerHTML=c.text)}),this.downloadSubtitle(t,r,l),i}iosFullScreenTimer=0;handleIOSFullScreen(t,n,r=0){try{if(!Me()||!this.config.videoSelector||!globalThis.GM||Object.keys(globalThis.GM).length!==8)return;r==0&&clearTimeout(this.iosFullScreenTimer);let i=document.querySelector(this.config.videoSelector);if(!i){r<15&&(this.iosFullScreenTimer=setTimeout(()=>{this.handleIOSFullScreen(t,n,r+1)},2e3));return}let a=this.getSubtitlesByDoc(t).map(o=>({startTime:o.start,endTime:o.end,text:o.text}));ud(i,n,a,this.ctx)}catch(i){k.error("handleIOSFullScreen error",i)}}preMergeSubtitles(t){try{let n=t.cloneNode(!0),r=[...n.querySelectorAll("p")],i=this.parseRegion(n),a=null;return r.forEach(o=>{if(!a){a=o;return}let s=this.formatToSubtitleItem(o),u=this.formatToSubtitleItem(a);if(s.start!==u.start||s.end!==u.end){a=o;return}let l=a.getAttribute("region"),c=o.getAttribute("region");if(!l||!c||l===c){a.innerHTML=`${u.text} ${s.text}`,o.remove();return}let d=i[l],g=i[c];if(!(!d||!g)){if(d.y>g.y){a.innerHTML=`${s.text} ${u.text}`,o.remove();return}a.innerHTML=`${u.text} ${s.text}`,o.remove()}}),n}catch{return t}}parseRegion(t){try{let n={};return t.querySelectorAll("region").forEach(r=>{let i=r.getAttribute("xml:id"),a=r.getAttribute("tts:origin");i&&a&&(n[i]={x:parseFloat(a.split(" ")[0]),y:parseFloat(a.split(" ")[1])})}),n}catch{return{}}}formatToSubtitleItems(t){return t.map(n=>this.formatToSubtitleItem(n))}formatToSubtitleItem(t){let n=(t.getAttribute("begin")||"0").replace("t",""),r=(t.getAttribute("end")||"0").replace("t","");return{start:parseInt(n)/1e7,end:parseInt(r)/1e7,text:t.innerHTML||""}}getVideoId(){let n=new URL(Ne()).pathname.replace("/watch/","");return n?parseInt(n):null}};var Do=class extends Gl{autoShowObserver=null;attachTextTrack=null;mutationVideoChange(){let t=this.config;this.autoShowObserver&&this.autoShowObserver.disconnect(),t.videoPlayerSelector&&(this.autoShowObserver=new MutationObserver(()=>{Su(t.videoPlayerSelector).forEach(n=>{this.updateVideo(n)})}),this.autoShowObserver.observe(document,{subtree:!0,childList:!0}))}updateVideo(t){let n=this.config,r=t?.querySelector("source"),i="";r?i=r.getAttribute("src")||"":i=t?.getAttribute("src")||"",(i&&i!==t.orgSrc||!t.isTranslated)&&(t.isTranslated=!0,t.orgSrc=i,!(n.videoADSelector&&je(n.videoADSelector))&&this.isEnableSubtitle()&&this.mutationSubtitleChange(t))}mutationSubtitleChange(t){t.removeCueChangeListeners?.forEach(i=>i()),t.removeCueChangeListeners=[],[...t.textTracks].forEach(i=>{this.handleTextTracks(i,t)});let r=i=>{this.handleTextTracks(i.track,t)};t.textTracks.addEventListener("addtrack",r),t.removeCueChangeListeners.push(()=>t?.textTracks?.removeEventListener("addtrack",r))}handleTextTracks(t,n){if(dt(ye(t.language),this.ctx.targetLanguage))return;let r=i=>{if(k.debug("handEvent",i.target),!t.cues?.length)return;let a=i.target,o=a.mode!=="showing";if(this.config.allowHideModeTextTrack&&a.cues?.length&&(o=!1),!(o||a.createBy==U)){if(this.config.attachRule?.appendSelector&&a.cues&&this.attachTextTrack!=a){this.attachSubtitle(this.formatToSubtitleItem([...a.cues]),ye(a.language)),a.isTranslated=!0,this.attachTextTrack=a;return}a?.isTranslated&&a?.cues?.length||(st(this.ctx,ye(a.language)),this.translateSubtitle([...a.cues||[]],ye(a.language)),a.isTranslated=!0)}};t.removeEventListener("cuechange",r),t.addEventListener("cuechange",r),n.removeCueChangeListeners||(n.removeCueChangeListeners=[]),n.removeCueChangeListeners.push(()=>t.removeEventListener("cuechange",r))}formatToSubtitleItem(t){return t.map(n=>({text:n.text,start:n.startTime,end:n.endTime}))}async translateSubtitle(t,n,r=`
`){if(await In({ctx:this.ctx,usageScene:"subtitle_video",service:this.ctx.subtitleTranslateService})){this.showSubtitleLoading(!0);try{let a=t.map(s=>_ne(s.text).trim());return(await this._translateSubtitle(a,n,r)).forEach((s,u)=>{t[u].originText=t[u].text,t[u].text=s.displayText}),this.handleHookDownloadTextTrackSubtitle(t,n),t}catch(a){k.error(a)}finally{this.hideSubtitleLoading()}}}handleHookDownloadTextTrackSubtitle(t,n){if(this.config.enableHookDownload&&t.length)try{let r=this.getSubtitleItems(t);this.updateDownloadSubtitle({subtitleItems:r,translations:[],lang:n})}catch(r){k.error("download subtitle error",r)}}getSubtitleItems(t){return t.filter(r=>!!r.originText?.trim()).map(r=>({start:r.startTime,end:r.endTime,text:r.originText}))}};function _ne(e=""){return cp(e).replace(/\n/g," ").replace(/<\d{2}:\d{2}:\d{2}\.\d{3}>/g,"")}var na=class extends Do{mutationSubtitleChange(t){if(!t)return;t.removeCueChangeListeners?.forEach(a=>a()),t.removeCueChangeListeners=[],t?.textTracks?.length&&st(this.ctx,ye(t.textTracks[0].language),`${this.ctx.rule.id}_text_track_dynamic`),[...t.textTracks].forEach(a=>{this.handleTextTracks(a,t)});let i=a=>{this.handleTextTracks(a.track,t)};t.textTracks.addEventListener("addtrack",i),t.removeCueChangeListeners.push(()=>t?.textTracks?.removeEventListener("addtrack",i))}handleTextTracks(t,n){if(dt(ye(t.language),this.ctx.targetLanguage))return;let r=async i=>{k.debug("handEvent",i.target);let a=[...t.cues||[]];if(!a.length)return;let o=a.filter(s=>!(s.isTranslated||s.text.includes(oc)));o.length&&(o.forEach(s=>s.isTranslated=!0),await this.translateSubtitle(o,ye(t.language),oc),this.handleHookDownloadTextTrackSubtitle(a,ye(t.language)))};t.addEventListener("cuechange",r),n.removeCueChangeListeners||(n.removeCueChangeListeners=[]),n.removeCueChangeListeners.push(()=>t.removeEventListener("cuechange",r))}};var Wl=class extends na{autoShowObserver=null;videoSrc=null;async loadSubtitle({input:t,options:n}){try{let r=await this.fetchSubtitle(t,n);if(!r)return null;let i=jl(r),a=await Ve({text:i.subtitles.map(l=>l.text).join(`
`)});if(this.config.attachRule?.appendSelector){let l=i.subtitles;this.attachSubtitle(l,a);return}if(dt(ye(a),this.ctx.targetLanguage))return null;this.showSubtitleLoading(!0),st(this.ctx,ye(a));let o=i.subtitles.map(l=>l.text),s=await this._translateSubtitle(o,a);if(this.config.enableHookDownload)try{let l=JSON.parse(JSON.stringify(i.subtitles));this.updateDownloadSubtitle({subtitleItems:l,translations:s,lang:a})}catch(l){k.error("download subtitle error",l)}return i.subtitles.forEach((l,c)=>{l.text=s[c].displayText}),Lo(i)}catch(r){return k.error(r),null}finally{this.hideSubtitleLoading()}}async fetchSubtitle(t,n){let r=await fetch(t,n);if(!r.ok)throw new Error("request subtitle error");return(await r.text()||"").replace(/\r\n/g,`
`)}};var h1=class extends xt{autoShowObserver=null;videoSrc=null;async loadSubtitle({input:t,options:n}){try{this.showSubtitleLoading(!0);let r=typeof t=="string"?t:t.url,i=this.getLangCodeFromSubtitleUrl(r);if(dt(ye(i),this.ctx.targetLanguage))return null;st(this.ctx,ye(i));let a=await this.fetchSubtitle(t,n);if(!a)return null;let o=await this.translateSubtitle(a,ye(i));return JSON.stringify(o)}catch(r){return k.error(r),null}finally{this.hideSubtitleLoading()}}async translateSubtitle(t,n){let r=JSON.parse(JSON.stringify(t)),i=r.data.subtitles,a=i.map((o,s)=>({text:pb(o.text||""),id:s,from:n,to:this.ctx.targetLanguage,url:"https://google.com",fromByClient:n,force:!0}));return await Kt({sentences:a},{...this.ctx,isRichTranslate:!1,translationService:this.ctx.subtitleTranslateService,usageScene:"subtitle_video"},(o,s,u)=>{if(o||!s){k.debug("translate subtitle:",o,s,u);return}let l=Gr(s.text),c=i[u.id];c&&this.getTranslationMode(n)==="translation"?c.text=l:c&&(c.text=`${pb(c.text)}
${l}`)}),r}getLangCodeFromSubtitleUrl(t){return new URL(t).searchParams.get("lang")||""}async fetchSubtitle(t,n){let r=await fetch(t,n);if(!r.ok)throw new Error("request subtitle error");let i=await r.text();return JSON.parse(i)}};var y1=class extends Do{videoSrc=null;async loadSubtitle({input:t}){try{let n=this.getVideoId(),r=await this.inject.getVideoMeta(n),i=this.config.humanPreferred&&this.getHumanCaptionTrack(this.ctx.targetLanguage,r);this.showSubtitleLoading(!i);let a=this.getLangCodeFromSubtitleUrl(t,r);if(dt(ye(a),this.ctx.targetLanguage))return null;st(this.ctx,ye(a));let o=await this.fetchSubtitle(t);if(!o)return null;let s=await this.requestHumanSubtitle(o,ye(a),r);if(s){let l=this.ctx.rule.subtitleRule.humanTrust;if(!l||s.trust>=l)return s.text}return await this.translateSubtitleByText(o,ye(a))}catch(n){return k.error(n),null}finally{this.hideSubtitleLoading()}}async requestHumanSubtitle(t,n,r){if(!this.config.humanPreferred||!r)return null;let i=this.getHumanCaptionTrack(this.ctx.targetLanguage,r);if(!i)return null;let a=await this.fetchSubtitle(i);if(!a)return null;if(this.getTranslationMode(n)==="translation")return{text:a,trust:100};let o=Ul(t),s=Ul(a),u=zl(o,s);return{text:Lo(u),trust:100-Math.abs(o.length-s.length)*100/o.length}}async translateSubtitleByText(t,n){let r=Ul(t),i=r.map((a,o)=>({text:a.text,id:o,from:n,to:this.ctx.targetLanguage,url:"https://google.com",fromByClient:n,force:!0}));return await Kt({sentences:i},{...this.ctx,isRichTranslate:!1,translationService:this.ctx.subtitleTranslateService,usageScene:"subtitle_video"},(a,o,s)=>{if(a||!o){k.debug("translate subtitle:",a,o,s);return}let u=Gr(o.text),l=r[s.id];l&&this.getTranslationMode(n)==="translation"?l.text=u:l&&(l.text=`${l.text}
${u}`)}),Lo(r)}formatCaptionTrackUrl(t){let n={};return t?.captions.forEach(r=>{n[ye(r.locale_id.replace("_","-"))]=r.url}),n}getHumanCaptionTrack(t,n){return this.formatCaptionTrackUrl(n)[t]}getLangCodeFromSubtitleUrl(t,n){let r=typeof t=="string"?t:t.url;return(n?.captions.find(a=>r.indexOf(`/${a.locale_id}/`)>=0)?.locale_id||"").replace("_","-")}async fetchSubtitle(t,n){let r=await fetch(t,n);if(!r.ok)throw new Error("request subtitle error");return await r.text()}getVideoId(){let n=new URL(Ne()).pathname.split("lecture/")[1];if(!n){let r=document.querySelector("video[id*='playerId']");if(!r)return;n=r.getAttribute("id")?.match(/playerId.+?(\d+)/)?.[1]||""}return n}};var b1=class extends xt{async loadSubtitle({input:t,options:n}){try{let r=this.config.generalSetting;if(!r)return null;let i=await this.fetchSubtitle(t,n);if(!i)return null;let a=[];if(r.captionsPath){let o=dN(i,r.captionsPath);o&&(a=o)}else a.push(i);for(let o of a){let s=o;if(r.itemsPath?s=dN(o,r.itemsPath):Array.isArray(o)?s=o:s=jne(o,r),!s?.length)continue;let u=await Ve({text:s.map(l=>md(l,r.textKey)).join(`
`)});if(dt(ye(u),this.ctx.targetLanguage))return null;if(this.config.attachRule?.appendSelector){let l=s.map(c=>({start:c[r.startKey],end:c[r.endKey],text:md(c,r.textKey)||""}));this.attachSubtitle(l,u);return}this.showSubtitleLoading(!0),st(this.ctx,ye(u)),await this.translateSubtitle(s,u)}return JSON.stringify(i)}catch(r){return k.error(r),null}finally{this.hideSubtitleLoading()}}async translateSubtitle(t,n){let r=this.config.generalSetting,i=t.map(o=>md(o,r.textKey)?.replace(/\n/g," ")||"");return(await this._translateSubtitle(i,n)).forEach((o,s)=>{let u=t[s];if(!u)return;let l=this.getTranslationMode(n)==="translation";t[s]=Une(u,r.textKey,o.translation,l)}),t}async fetchSubtitle(t,n){let r=await fetch(t,n);if(!r.ok)throw new Error("request subtitle error");return await r.json()}};function dN(e,t){if(Array.isArray(e))return e;let n=t.split("."),r=e;for(let i=0;i<n.length;i++){if(!r)return null;r=r[n[i]]}return r}function md(e,t){if(!e)return null;if(!t)return e;let n=e[t];return Array.isArray(n)?n.join(" "):n}function Une(e,t,n="",r=!1){return e?(t?Array.isArray(e[t])?e[t]=r?[n]:[md(e,t),n]:e[t]=r?n:e[t]+`
`+n:e=r?n:md(e,t)+`
`+n,e):null}function jne(e,t){if(!t)return null;let n=e[t.startKey||""],r=e[t.endKey||""],i=e[t.textKey||""];if(!(Array.isArray(n)&&n.length==r.length&&r.length==i.length))return null;let o=[],s=t.timeDivisor||1;for(let u=0;u<i.length;u++)o.push({[t.startKey]:n[u]/s,[t.endKey]:r[u]/s,[t.textKey]:i[u]});return o}var ql=class extends xt{textChangeObserver=null;findTargetObserver=null;removeProtectionObserver=null;liveSubtitleRule;containerElement=null;removedTranslations=new Map;heightObserver=null;elementHeights=new Map;errorTimes=0;constructor(t,n){super(t,n),this.liveSubtitleRule=t.rule.subtitleRule.liveSubtitleRule,this.applyLiveSubtitle(),this.liveSubtitleRule?.preventRemoval&&this.shouldEnableSubtitle()&&this.setupHeightObserver()}injectCSS(){}applyLiveSubtitle(){if(this.clearLiveSubtitle(),!this.shouldEnableSubtitle())return;super.injectCSS();let t=Dn(this.ctx),n=this.config.liveSubtitleRule;!n||!n.containerSelector||(this.textChangeObserver=new MutationObserver(r=>{let i=!1;for(let a of r){if(a.type=="characterData"){let o=a.target,s=JC(t,o.parentElement,n.findParentBlockDepth);if(n.textContentSelector&&!s?.querySelector(n.textContentSelector))return;let u=n.textContentSelector?s?.querySelector(n.textContentSelector):o;if(!s)continue;this.debounceBuildContainers(u,s)}n.textSelectors&&a.addedNodes.length&&(i=!0)}!i||!this.containerElement||this.translateAll(this.containerElement)}),this.findTargetObserver=new MutationObserver(()=>{this.findTargetElement()}),n.preventRemoval&&this.setupRemovalProtection(),this.findTargetElement(),this.findTargetObserver.observe(document.body,{childList:!0,subtree:!0}))}findTargetElement(){let t=this.config.liveSubtitleRule;if(!t?.containerSelector)return;let n=document.body?.querySelector(t?.containerSelector);!n||n.hasMutationText||(this.containerElement=n,n.hasMutationText=!0,this.textChangeObserver.observe(n,{subtree:!0,childList:!0,characterData:!0}),this.removeProtectionObserver&&t.preventRemoval&&this.removeProtectionObserver.observe(n,{childList:!0,subtree:!0}),this.translateAll(n),this.report(t,n),this.heightObserver&&this.heightObserver.observe(n,{childList:!0,subtree:!0}))}report(t,n){if(!t.reportSelector)return;let r=t.isMeeting||!1,i=n.closest(t.reportSelector);!i||i.reported||(i.reported=!0,st(this.ctx,this.ctx.sourceLanguage,void 0,r?"translate_meeting_video_subtitle":void 0))}setupRemovalProtection(){this.removeProtectionObserver=new MutationObserver(t=>{for(let n of t)if(n.type==="childList"&&n.removedNodes.length>0)for(let r of n.removedNodes){if(!(r instanceof HTMLElement))continue;(a=>{if(a.classList?.contains(ft)){let o=n.target;if(o&&document.contains(o)){this.preserveLayout(o);let s=o.dataset.immersiveParentId||this.generateUniqueId(o);this.removedTranslations.set(s,a.innerHTML),this.restoreTranslation(o,s)}}})(r)}})}setupHeightObserver(){this.heightObserver=new MutationObserver(t=>{for(let n of t)if(n.type==="childList"){let r=n.target;r.dataset.immersiveParentId&&this.recordElementHeight(r)}})}recordElementHeight(t){if(!t.dataset.immersiveParentId)return;let n=t.dataset.immersiveParentId,r=t.offsetHeight;r>0&&this.elementHeights.set(n,r)}preserveLayout(t){t.dataset.immersiveParentId||this.generateUniqueId(t);let n=t.dataset.immersiveParentId,r=this.elementHeights.get(n);if(r&&r>0)t.style.minHeight=`${r}px`;else{let i=t.offsetHeight;i>0&&(t.style.minHeight=`${i}px`,this.elementHeights.set(n,i))}}generateUniqueId(t){let n=`immersive-parent-${Date.now()}-${Math.random().toString(36).substr(2,9)}`;return t.dataset.immersiveParentId=n,n}clearLiveSubtitle(){this.textChangeObserver?.disconnect(),this.findTargetObserver?.disconnect(),this.removeProtectionObserver?.disconnect(),this.containerElement=null,this.removedTranslations.clear(),this.heightObserver?.disconnect(),this.elementHeights.clear(),this.errorTimes=0;let t=this.config.liveSubtitleRule?.containerSelector;if(!t)return;let n=document.querySelector(t);n&&(n.querySelectorAll("."+ft).forEach(r=>{r.remove()}),n.hasMutationText=!1)}translateAll(t){this.config.liveSubtitleRule?.textSelectors?.forEach(r=>{t.querySelectorAll(r).forEach(i=>{!i.textContent||i.querySelector("."+ft)||this.translate(this.ctx,i.textContent||"",i)})})}isSelf(t){return $r(t,["."+ft])}debounceBuildContainers(t,n){let r=t.nodeType===Node.TEXT_NODE,i=r?t.parentElement:t;if(i&&this.isSelf(i))return;let a=this.config.liveSubtitleRule?.mutationChangeDelay,o=n;if(o.timer){o.latestContentLength=this.getTextNodeLength(t,r);return}o.timer&&clearTimeout(o.timer),this.shouldEnableSubtitle()&&(o.timer=setTimeout(async()=>{let s=this.getTextNodeLength(t,r);await this.translate(this.ctx,t.textContent||"",n),o.timer=void 0,o.latestContentLength&&o.latestContentLength!=s&&this.debounceBuildContainers(t,n)},a))}getTextNodeLength(t,n){return n?t.length:t.textContent?.length||0}fallbackService;async translate(t,n,r){let a=this.config.liveSubtitleRule?.preventRemoval,o;a&&(o=r.dataset.immersiveParentId||this.generateUniqueId(r));let s=r.querySelector("."+ft);if(!s){let p=document.createElement("font");p.classList.add(ft),p.classList.add("notranslate");let h=G4(t);p.append(at.sanitize(h,{RETURN_DOM_FRAGMENT:!0})),s=p,r.appendChild(s),a&&o&&this.removedTranslations.set(o,s.innerHTML)}let u;try{u=await Ve({text:n})}catch(p){let h=p;this.handleTranslateError(t,h),this.renderError(t,h,r,o,a);return}if(xu(t,u))return;let l=t.subtitleTranslateService,c=_0(t,l);this.fallbackService=this.fallbackService??hl(t);let d=u??t.sourceLanguage,g=this.assignTranslateRequestTag(r);if(c&&this.fallbackService!="none"&&this.fallbackService!==l){await this.translateWithDualServices({ctx:t,text:n,root:r,fromLanguage:d,parentId:o,preventRemovalActive:a,currentService:l,fallbackService:this.fallbackService,requestTag:g});return}let f=await this.requestTranslation(t,n,d,l);if(f.text!=null){this.applyTranslatedText(r,f.text,o,a);return}f.error&&(this.handleTranslateError(t,f.error),this.renderError(t,f.error,r,o,a))}async translateWithDualServices(t){let{ctx:n,text:r,root:i,fromLanguage:a,parentId:o,preventRemovalActive:s,currentService:u,fallbackService:l,requestTag:c}=t,d=!1,g=null,f=this.requestTranslation(n,r,a,l).then(h=>{h.text!=null?(k.info(`[live-subtitle] fallback tag=${c} text="${h.text}"`),this.applyTranslatedText(i,h.text,o,s),d=!0):this.fallbackService="none"}),p=this.requestTranslation(n,r,a,u).then(h=>{if(!this.isLatestTranslateRequest(i,c)){k.info(`[live-subtitle] ai-skip tag=${c}`);return}h.text!=null?(k.info(`[live-subtitle] ai tag=${c} text="${h.text}"`),this.applyTranslatedText(i,h.text,o,s),d=!0):!d&&h.error&&(g=h.error)});await Promise.allSettled([f,p]),g&&(this.handleTranslateError(n,g),this.renderError(n,g,i,o,s))}async requestTranslation(t,n,r,i){try{return{text:(await Ai({id:0,url:t.url,text:n,from:r,to:t.targetLanguage},{...t,translationService:i,usageScene:"subtitle_video"})).text}}catch(a){return{error:a}}}applyTranslatedText(t,n,r,i){let a=this.formatTranslatedHTML(n);if(i&&r&&this.removedTranslations.set(r,a),!this.shouldEnableSubtitle())return;let o=t.querySelector("."+ft),s=at.sanitize(a);if(o)o.innerHTML=kn?.createHTML(s)||s,o.classList.remove(ft+"-error");else{let u=document.createElement("font");u.classList.add(ft),u.classList.add("notranslate"),u.innerHTML=kn?.createHTML(s)||s,t.appendChild(u)}}assignTranslateRequestTag(t){let n=Qo();return t.dataset.immersiveTranslateTag=n,n}isLatestTranslateRequest(t,n){return t.dataset.immersiveTranslateTag===n}formatTranslatedHTML(t){return`<br/> ${t}<br/>`}async autoEnableSubtitleChanged(){let t=rt(),n=await ot(Ne(),{});this.initConfig(n),!(this.config.disabled||t!=="Original")&&this.applyLiveSubtitle()}async onPageStatusChange(){let t=await ot(Ne(),{});this.initConfig(t),!(this.config.disabled||this.config.autoEnableSubtitle)&&this.applyLiveSubtitle()}restoreTranslation(t,n){if(!t||!document.contains(t)||t.querySelector(`.${ft}`))return;let i=n||t.dataset.immersiveParentId;if(!i)return;let a=this.removedTranslations.get(i);if(!a)return;let o=document.createElement("font");o.classList.add(ft),o.classList.add("notranslate"),o.innerHTML=a,t.appendChild(o)}shouldEnableSubtitle(){return this.isEnableSubtitle()||!!this.config.meetingAutoEnableSubtitle}handleTranslateError(t,n){if(n instanceof Y&&(this.errorTimes+=1,this.errorTimes===t.rule.toastErrorMinTimes)){let r=n.uiConfig(t);r.action==="retry"&&(r.action="none"),_e("showErrorModal",r)}}renderError(t,n,r,i,a){if(t.config.enableSilentTranslation)return;let o=r.querySelector("."+ft);o&&(o.classList.add(ft+"-error"),Ow(t,o,n)),a&&i&&this.removedTranslations.set(i,o?.innerHTML||"")}};var v1=class extends xt{autoShowObserver=null;videoSrc=null;async loadSubtitle({input:t,options:n}){try{let r=await this.fetchSubtitle(t,n);if(!r)return null;let{doc:i,subtitles:a}=zne(r),o=await Ve({text:a.map(u=>u.textContent).join(`
`)});if(dt(ye(o),this.ctx.targetLanguage))return null;if(this.config.attachRule?.appendSelector){let u=gN(r);this.attachSubtitle(u,o);return}this.showSubtitleLoading(!0),st(this.ctx,ye(o));let s=await this.translateSubtitle(i,a,ye(o));if(this.config.enableHookDownload)try{let u=gN(r);this.updateDownloadSubtitle({subtitleItems:u,translations:s,lang:o})}catch(u){k.error("download subtitle error",u)}return new XMLSerializer().serializeToString(i)}catch(r){return k.error(r),null}finally{this.hideSubtitleLoading()}}async translateSubtitle(t,n,r){let i=await this._translateSubtitle(n.map(a=>a.textContent||""),ye(r));return i.forEach(({translation:a},o)=>{let s=n[o],u=Gr(a);if(s&&this.getTranslationMode(r)==="translation")s.innerHTML=u;else if(s){let l=s.parentElement;if(!l)return;let c=s?.tagName?.split(":")||[],d="br";c.length>1&&(d=c[0]+":"+d);let g=t.createElementNS(fd,d),f=s.cloneNode(!0);f.nodeType==Node.TEXT_NODE?f.textContent=u.trim():f.innerHTML=u.trim(),l?.appendChild(g),l?.appendChild(f)}}),i}async fetchSubtitle(t,n){let r=await fetch(t,n);if(!r.ok)throw new Error("request subtitle error");return(await r.text()||"").replace(/\r\n/g,`
`)}},fd="http://www.w3.org/ns/ttml";function zne(e){let t=new DOMParser().parseFromString(e,"text/xml"),n=t.getElementsByTagNameNS(fd,"p"),r=[];return[...n].forEach(i=>{let a=i.textContent||"";try{if(i.childNodes[0]?.nodeType==Node.TEXT_NODE&&i.childNodes[0]?.textContent?.trim()){let o=i.childNodes[0];if(a.length<=1)return;o.textContent=a,i.innerHTML=o.textContent,r.push(i.childNodes[0])}else{let s=i.getElementsByTagNameNS(fd,"span")[0];if(!s||a.length<=1)return;s.innerHTML=a.replace(/</g,"&lt;").replace(/>/g,"&gt;"),i.innerHTML=s.outerHTML,s=i.getElementsByTagNameNS(fd,"span")[0],r.push(s)}}catch{}}),{doc:t,subtitles:r}}function gN(e){let n=new DOMParser().parseFromString(e,"text/xml").getElementsByTagNameNS(fd,"p"),r=[];return[...n].forEach(i=>{let a=i.getAttribute("begin"),o=i.getAttribute("end"),s=i.textContent?.trim()||"";a&&o&&s.length>1&&r.push({start:mN(a),end:mN(o),text:s})}),r}function mN(e){let t=e.split(":");if(!t.length)return e;let n=0,r=1;return t.reverse().forEach(i=>{n+=Number(i)*r,r=r*60}),n}var x1=class extends xt{async loadSubtitle(t){let n=t.input;try{let r=await this.getVideoMeta(),i=this.config.humanPreferred&&await this.getHumanSubtitleUrls(this.ctx.targetLanguage,r);this.showSubtitleLoading(!i);let a=await this.fetchSubtitle(n);if(!a)return null;let o=jl(a);if(!o.subtitles.length)return null;let s=await this.getLangCodeFromVtt(o.subtitles);if(dt(s,this.ctx.targetLanguage))return null;if(st(this.ctx,s),r){let l=await this.requestHumanSubtitle(n,o,r,s);if(l)return l}return await this.translateSubtitle(o,ye(s))}catch(r){return k.error(r),null}finally{this.hideSubtitleLoading()}}async requestHumanSubtitle(t,n,r,i){if(!this.config.humanPreferred||!r)return null;let a=await this.getHumanSubtitleUrls(this.ctx.targetLanguage,r);if(!a)return null;let o=t.split("/"),s=a.find(c=>c.endsWith(o[o.length-1]));if(!s)return null;let u=await this.fetchSubtitle(s);if(this.getTranslationMode(i)==="translation")return u;let l=zl(n.subtitles,Ul(u));return n.subtitles=l,Lo(n)}async translateSubtitle(t,n){let r=t.subtitles.map((i,a)=>({text:(i.text||"").replace(/\n/g," "),id:a,from:n,to:this.ctx.targetLanguage,url:"https://google.com",fromByClient:n,force:!0}));return await Kt({sentences:r},{...this.ctx,isRichTranslate:!1,translationService:this.ctx.subtitleTranslateService,usageScene:"subtitle_video"},(i,a,o)=>{if(i||!a){k.debug("translate subtitle:",i,a,o);return}let s=Gr(a.text),u=t.subtitles[o.id];u&&this.getTranslationMode(n)==="translation"?u.text=s:u&&(u.text=`${u.text.replace(/\n/g," ")}
${s}`)}),Lo(t)}async getHumanSubtitleUrls(t,n){if(!n)return null;let r=n.find(s=>ye(s.language)===t&&s.language.toLowerCase()!=="zh-hk");if(!r)return null;if(r.subtitleUrl)return r.subtitleUrl;let a=await(await fetch(r.url)).text(),o=Gne(a).map(s=>`${r.baseUrl}/r/${s}`);return o.length?(r.subtitleUrl=o,o):null}getLangCodeFromVtt(t){let n=t.map(r=>r.text).join(`
`);return Ve({text:n})}async fetchSubtitle(t){let n=await fetch(t);if(!n.ok)throw new Error("request subtitle error");return await n.text()}getVideoId(){let n=new URL(Ne()).pathname.split("/");return n.length>2&&n[n.length-2]==="video"?n[n.length-1]:null}videoMetaMap={};async getVideoMeta(){let t=this.getVideoId();if(!t)return null;if(this.videoMetaMap[t])return this.videoMetaMap[t];let n=await this.inject.getVideoMeta(t);if(!n)return null;let r=await(await fetch(n)).text(),i=Vne(r),a=Hne(n),o=i.map(s=>({language:s.language,url:`${a}/${s.uri}`,baseUrl:a}));return o.length?(this.videoMetaMap[t]=o,o):null}};function Hne(e){let t=new URL(e),n=t.pathname.split("/");n.pop();let r=n.join("/");return`${t.origin}${r}`}function Vne(e){let t=[];for(let n of e.split(`
`)){if(!n.startsWith("#EXT-X-MEDIA:TYPE=SUBTITLES"))continue;let r={};n.substring(13).split(",").forEach(a=>{let[o,s]=a.split("=");r[o.toLowerCase()]=(s||"").replace(/"/g,"")}),r.forced==="NO"&&t.push(r)}return t}function Gne(e){let t=[];for(let n of e.split(`
`)){if(n.startsWith('EXT-X-DS-MARKER:ID="INT-END"'))break;n.endsWith(".vtt")&&t.push(n)}return t}var C1=class extends xt{autoShowObserver=null;videoSrc=null;async loadSubtitle({input:t,options:n}){try{this.showSubtitleLoading(!0);let r=await this.fetchSubtitle(t,n);if(!r)return null;let i=i1(r);if(!i)return;let a=[...i.document.querySelectorAll("p")].filter(c=>c.textContent?.trim()),o=a.map(c=>c.textContent||"");if(!o.length)return null;let s=await Ve({text:o.join(`
`)});return dt(ye(s),this.ctx.targetLanguage)?null:(st(this.ctx,ye(s)),(await this._translateSubtitle(o,s,"<br />")).forEach(({displayText:c},d)=>{a[d]&&(a[d].innerHTML=c)}),a1(i.arrayBuffer,i.document))}catch(r){return k.error(r),null}finally{this.hideSubtitleLoading()}}async fetchSubtitle(t,n){let r=await fetch(t,n);if(!r.ok)throw new Error("request subtitle error");return await r.arrayBuffer()}};var T1=class extends xt{async requestSubtitle(t){let n=await ot(Ne(),{});if(this.initConfig(n),!this.isEnableSubtitle())return;let r=this.config.videoSelector;if(!r)return;let i=document.querySelector(r);if(!i)return;let a=await this.parseVTTUrl(t);if(!a)return;let s=await new Wl(this.ctx).loadSubtitle({input:a.url});if(!s)return;let u=s6(s);if(this.config.attachRule?.appendSelector){this.attachSubtitle(u.map(l=>({start:l.startTime,end:l.endTime,text:l.text})),a.lang);return}CR(i),g6(i,a.lang,a.lang,u,!0)}parseVTTUrl(t){if(t?.webvtt){let[n,r]=Object.entries(t?.webvtt||{})[0];return{url:r,lang:n}}}};var S1=class extends xt{autoShowObserver=null;videoSrc=null;subtitleMap={};reversedLangMap={};currentLang="en";constructor(t){super(t),Object.keys(fN).forEach(n=>{fN[n].forEach(r=>{this.reversedLangMap[r]=n})})}mutationVideoChange(){let t=this.config,n=t.multiSetting;n&&(this.autoShowObserver&&this.autoShowObserver.disconnect(),this.autoShowObserver=new MutationObserver(()=>{if(t.videoSelector){let a=document.querySelector(t.videoSelector),o=a&&a.getAttribute("src");o&&o!=this.videoSrc&&(this.videoSrc=o,this.subtitleMap={})}if(!n.activeLangSelector)return;let r=document.querySelector(n.activeLangSelector);if(!r)return;let i=this.getLangByElement(r,n)||"";i&&i==this.currentLang||(this.currentLang=i,this.attachMultiSubtitle(i))}),this.autoShowObserver.observe(document,{subtree:!0,childList:!0}))}getLangByElement(t,n){let r="";if(n?.langValueSelector){let i=t.parentElement?.querySelector(n.langValueSelector);i&&n?.langValueAttribute?r=i.getAttribute(n.langValueAttribute)||"":r=i?.textContent?.trim()||""}else r=t?.textContent||"";if(r&&n?.langTextRegex){let i=new RegExp(n?.langTextRegex);r=r.match(i)?.[1]||r}return this.formatLanguageWithName(r)}async loadSubtitle({input:t,options:n}){try{let r=await this.fetchSubtitleList(t,n);if(!r)return;let i=this.config.multiSetting,a=this.extractLanguageFromUrl(t,i)||await this.detectSubtitlesLang(r);if(this.updateSubtitleMap(a,r),dt(ye(a),this.ctx.targetLanguage))return null;if(a!==this.currentLang)return;this.attachMultiSubtitle(a)}catch(r){return k.error(r),null}}updateSubtitleMap(t,n){if(t=="auto")return;let r=this.subtitleMap[t];if(!r){this.subtitleMap[t]=n;return}if(r[0].text==n[0].text)return;let i=[r,n];i=i.sort((o,s)=>o[0].start>=s[s.length-1].start?1:-1);let a=[...i[0],...i[1]];this.subtitleMap[t]=a}attachMultiSubtitle(t){if(!t||t=="auto"||!this.config.attachRule?.appendSelector)return;let n=this.subtitleMap[t];n&&(st(this.ctx,t),ea({ctx:this.ctx,props:{videoSelector:this.config.videoSelector||"video",subtitleItems:n,ctx:this.ctx,lang:t,urlValueArray:this.urlValueArray}}))}extractLanguageFromUrl(t,n){let r=n?.urlLangRegex;if(!r)return;let a=QM(t).match(new RegExp(r,"i"));return this.config.multiSetting?.isMapLangFromUrl&&this.formatLanguageWithName(a?.[1])||a?.[1]}async fetchSubtitle(t,n){let r=await fetch(t,n);if(!r.ok)throw new Error("request subtitle error");return(await r.text()||"").replace(/\r\n/g,`
`)}formatLanguageWithName(t){if(!t)return null;let n=this.config.multiSetting?.bakLangMap||{};return t=t.split(" -")[0].trim(),Object.keys(n).forEach(r=>{Array.isArray(n[r])?n[r].forEach(i=>{this.reversedLangMap[i]=r}):this.reversedLangMap[n[r]]=r}),this.reversedLangMap[t]||t}},fN={af:["Afrikaans","Afrikaans","af-ZA","afr"],am:["Amharic","\u12A0\u121B\u122D\u129B","am-ET","amh"],ar:["Arabic","\u0627\u0644\u0639\u0631\u0628\u064A\u0629","ar-SA","arb"],auto:["Automatic","\u81EA\u52A8","auto"],az:["Azerbaijani","Az\u0259rbaycan","az-AZ","azj"],be:["Belarusian","\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u043A\u0430\u044F","be-BY","bel"],bg:["Bulgarian","\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438","bg-BG","bul"],bn:["Bengali","\u09AC\u09BE\u0982\u09B2\u09BE","bn-BD","ben"],bs:["Bosnian","Bosanski","bs-BA","bos"],ca:["Catalan","Catal\xE0","ca-ES","cat"],ceb:["Cebuano","Cebuano","ceb-PH","ceb"],co:["Corsican","Corsu","co-FR"],cs:["Czech","\u010Ce\u0161tina","cs-CZ","ces"],cy:["Welsh","Cymraeg","cy-GB"],da:["Danish","Dansk","da-DK","dan"],de:["German","Deutsch","de-DE","deu"],el:["Greek","\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC","el-GR","ell"],en:["English","English","en-US","en-GB","eng"],eo:["Esperanto","Esperanto","eo","epo"],es:["Spanish","Espa\xF1ol","es-ES","es-MX","spa"],et:["Estonian","Eesti","et-EE","est"],eu:["Basque","Euskara","eu-ES"],fa:["Persian","\u0641\u0627\u0631\u0633\u06CC","fa-IR","fas"],fi:["Finnish","Suomi","fi-FI","fin"],fil:["Filipino","Filipino","fil-PH"],fj:["Fijian","Vosa Vakaviti","fj-FJ"],fr:["French","Fran\xE7ais","fr-FR","fr-CA","fra"],fy:["Frisian","Frysk","fy-NL"],ga:["Irish","Gaeilge","ga-IE","gax"],gd:["Scots Gaelic","G\xE0idhlig","gd-GB"],gl:["Galician","Galego","gl-ES","glg"],gu:["Gujarati","\u0A97\u0AC1\u0A9C\u0AB0\u0ABE\u0AA4\u0AC0","gu-IN","guj"],ha:["Hausa","Hausa","ha-NG","hau"],haw:["Hawaiian","\u02BB\u014Clelo Hawai\u02BBi","haw-US"],he:["Hebrew","\u05E2\u05D1\u05E8\u05D9\u05EA","he-IL","heb"],hi:["Hindi","\u0939\u093F\u0928\u094D\u0926\u0940","hi-IN","hin"],hmn:["Hmong","Hmoob","hmn"],hr:["Croatian","Hrvatski","hr-HR","hrv"],ht:["Haitian Creole","Krey\xF2l Ayisyen","ht-HT"],hu:["Hungarian","Magyar","hu-HU","hun"],hy:["Armenian","\u0540\u0561\u0575\u0565\u0580\u0565\u0576","hy-AM","hye"],id:["Indonesian","Bahasa Indonesia","id-ID","ind"],ig:["Igbo","As\u1EE5s\u1EE5 Igbo","ig-NG","ibo"],is:["Icelandic","\xCDslenska","is-IS"],it:["Italian","Italiano","it-IT","ita"],ja:["Japanese","\u65E5\u672C\u8A9E","ja-JP","jpn"],jw:["Javanese","Basa Jawa","jw-ID","jav"],ka:["Georgian","\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8","ka-GE","kat"],kk:["Kazakh","\u049A\u0430\u0437\u0430\u049B","kk-KZ","kaz"],km:["Khmer","\u1781\u17D2\u1798\u17C2\u179A","km-KH","khm"],kn:["Kannada","\u0C95\u0CA8\u0CCD\u0CA8\u0CA1","kn-IN","kan"],ko:["Korean","\uD55C\uAD6D\uC5B4","ko-KR","kor"],ku:["Kurdish","Kurd\xEE","ku-TR","ckb"],ky:["Kyrgyz","\u041A\u044B\u0440\u0433\u044B\u0437\u0447\u0430","ky-KG"],la:["Latin","Latina","la"],lb:["Luxembourgish","L\xEBtzebuergesch","lb-LU"],lo:["Lao","\u0EA5\u0EB2\u0EA7","lo-LA","lao"],lt:["Lithuanian","Lietuvi\u0173","lt-LT","lit"],lv:["Latvian","Latvie\u0161u","lv-LV","lav"],mg:["Malagasy","Malagasy","mg-MG"],mi:["Maori","M\u0101ori","mi-NZ","min"],mk:["Macedonian","\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438","mk-MK","mkd"],ml:["Malayalam","\u0D2E\u0D32\u0D2F\u0D3E\u0D33\u0D02","ml-IN","mal"],mn:["Mongolian","\u041C\u043E\u043D\u0433\u043E\u043B","mn-MN"],mr:["Marathi","\u092E\u0930\u093E\u0920\u0940","mr-IN","mar"],ms:["Malay","Bahasa Melayu","ms-MY"],mt:["Maltese","Malti","mt-MT"],mww:["Hmong Daw","Hmong Daw","hmn"],my:["Burmese","\u1019\u103C\u1014\u103A\u1019\u102C\u1005\u102C","my-MM","mya"],ne:["Nepali","\u0928\u0947\u092A\u093E\u0932\u0940","ne-NP","nep"],nl:["Dutch","Nederlands","nl-NL","nld"],no:["Norwegian","Norsk","no-NO","nob"],ny:["Nyanja (Chichewa)","Chichewa","ny-MW","nya"],otq:["Quer\xE9taro Otomi","H\xF1\xE4h\xF1u"],pa:["Punjabi","\u0A2A\u0A70\u0A1C\u0A3E\u0A2C\u0A40","pa-IN","pan"],pl:["Polish","Polski","pl-PL","pol"],ps:["Pashto","\u067E\u069A\u062A\u0648","ps-AF","pbu"],pt:["Portuguese","Portugu\xEAs","pt-PT","por"],"pt-br":["Portuguese (Brazil)","Portugu\xEAs (Brasil)","pt-BR","por"],ro:["Romanian","Rom\xE2n\u0103","ro-RO","ron"],ru:["Russian","\u0420\u0443\u0441\u0441\u043A\u0438\u0439","ru-RU","rus"],sd:["Sindhi","\u0633\u0646\u068C\u064A","sd-PK"],si:["Sinhala (Sinhalese)","\u0DC3\u0DD2\u0D82\u0DC4\u0DBD","si-LK","sin"],sk:["Slovak","Sloven\u010Dina","sk-SK","slk"],sl:["Slovenian","Sloven\u0161\u010Dina","sl-SI","slv"],sm:["Samoan","Gagana S\u0101moa","sm-WS"],sn:["Shona","ChiShona","sn-ZW","sna"],so:["Somali","Soomaali","so-SO","som"],sq:["Albanian","Shqip","sq-AL","als"],sr:["Serbian","\u0421\u0440\u043F\u0441\u043A\u0438","sr-RS","srp"],"sr-Cyrl":["Serbian (Cyrillic)","\u0421\u0440\u043F\u0441\u043A\u0438 (\u040B\u0438\u0440\u0438\u043B\u0438\u0446\u0430)","sr-Cyrl-RS","srp"],"sr-Latn":["Serbian (Latin)","Srpski (Latinica)","sr-Latn-RS","srp"],st:["Sesotho","Sesotho","st-LS"],su:["Sundanese","Basa Sunda","su-ID","sun"],sv:["Swedish","Svenska","sv-SE","swe"],sw:["Swahili","Kiswahili","sw-KE","swh"],ta:["Tamil","\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD","ta-IN","tam"],te:["Telugu","\u0C24\u0C46\u0C32\u0C41\u0C17\u0C41","te-IN","tel"],tg:["Tajik","\u0422\u043E\u04B7\u0438\u043A\u04E3","tg-TJ","tgk"],th:["Thai","\u0E44\u0E17\u0E22","th-TH","tha"],tlh:["Klingon","tlhIngan Hol"],"tlh-Qaak":["Klingon (pIqaD)","tlhIngan Hol (pIqaD)"],to:["Tongan","Lea fakatonga","to-TO","toi"],tr:["Turkish","T\xFCrk\xE7e","tr-TR","tur"],ty:["Tahitian","Reo Tahiti"],ug:["Uyghur","\u0626\u06C7\u064A\u063A\u06C7\u0631\u0686\u06D5","ug-CN"],uk:["Ukrainian","\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430","uk-UA","ukr"],ur:["Urdu","\u0627\u0631\u062F\u0648","ur-PK","urd"],uz:["Uzbek","O\u02BBzbekcha","uz-UZ","uzn"],vi:["Vietnamese","Ti\u1EBFng Vi\u1EC7t","Ti\u1EBFng","vi-VN","vie"],wyw:["Welayta","\u12CC\u120B\u12ED\u1273"],xh:["Xhosa","IsiXhosa","xh-ZA","xho"],yi:["Yiddish","\u05D9\u05D9\u05B4\u05D3\u05D9\u05E9","ydd"],yo:["Yoruba","\xC8d\xE8 Yor\xF9b\xE1","yo-NG","yor"],yua:["Yucatec Maya","M\xE0aya T'\xE0an"],yue:["Cantonese","\u7CB5\u8A9E","yue-HK"],bo:["Tibetan","\u0F56\u0F7C\u0F51\u0F0B\u0F66\u0F90\u0F51\u0F0B","bo-CN"],sa:["Sanskrit","\u0938\u0902\u0938\u094D\u0915\u0943\u0924\u092E\u094D","sa-IN"],kmr:["Sorani Kurdish","\u06A9\u0648\u0631\u062F\u06CC \u0633\u06C6\u0631\u0627\u0646\u06CC"],ckb:["Kurmanji Kurdish","\u06A9\u0648\u0631\u0645\u0627\u0646\u062C\u06CC"],"zh-CN":["Chinese (Simplified)","\u7B80\u4F53\u4E2D\u6587","\u4E2D\u6587\u7B80\u4F53","\u4E2D\u6587\uFF08\u7B80\u4F53\uFF09","zh-CN","cmn"],"zh-TW":["Chinese (Traditional)","\u7E41\u9AD4\u4E2D\u6587","\u4E2D\u6587\u6B63\u9AD4","\u4E2D\u6587\uFF08\u7E41\u4F53\uFF09","zh-TW"],zu:["Zulu","IsiZulu","zu-ZA","zul"]};var E1=class extends na{constructor(t){super(t),new ql(t,{disableQuickButton:!0})}handleTextTracks(t,n){if(!this.config.attachRule?.appendSelector||!this.config.multipleVideoContainerSelector)return super.handleTextTracks(t,n);if(dt(ye(t.language),this.ctx.targetLanguage))return;let r=i=>{if(k.debug("handEvent",i.target),!t.cues?.length)return;let a=i.target;if(!(a?.isTranslated&&a?.cues?.length)&&!(a.kind==="captions"||a.label==="clone")&&this.config.attachRule?.appendSelector&&a.cues){let o;if(this.config.multipleVideoContainerSelector&&(o=n.closest(this.config.multipleVideoContainerSelector)),!o)return super.handleTextTracks(t,n);this.attachSubtitle(this.formatToSubtitleItem([...a.cues]),ye(a.language),!1,o),this.hideSourceSubtitle(o),a.isTranslated=!0;return}};t.addEventListener("cuechange",r),n.removeCueChangeListeners||(n.removeCueChangeListeners=[]),n.removeCueChangeListeners.push(()=>t.removeEventListener("cuechange",r))}getAiSubtitlePageUrl(t){try{if(!this.config.multipleVideoContainerSelector)return null;let n=t;for(;n&&n!==document.body;){let r=n.querySelectorAll('a[href*="/status/"]'),i=n.querySelectorAll(this.config.multipleVideoContainerSelector);if(r.length>0&&r.length>=i.length){let o=[...r].filter(s=>{let l=new URL(s.href).pathname.replace(/\/analytics$/,"").replace(/\/history$/,"");if(!/^\/([^\/]+)\/status\/(\d+)\/?$/.test(l))return!1;let c=s.closest("div[role='link']");return!(c&&(!this.config.multipleVideoContainerSelector||c.querySelector(this.config.multipleVideoContainerSelector)!==t))});return Wne(o[0]?.href??null)}n=n.parentElement}return null}catch{return null}}getAppendContainerByAiPageUrl(t){if(!this.config.multipleVideoContainerSelector)return null;let n=document.querySelector(`[${uc}="${t}"]`);return n||null}getCurrentVideo(t){let n=this.getAppendContainerByAiPageUrl(t);return!n||!this.config.videoSelector?null:n.querySelector(this.config.videoSelector)}async handleAttachAiSubtitle(t){let n=this.getTaskCache(t);if(!n?.result)return;let r=this.getAppendContainerByAiPageUrl(t);if(!r)return;let a=Li.parse(n.result).filter(u=>u.type==="caption"),o=await Ve({text:a.map(u=>u.text).join(`
`)}),s=this.getAiSubtitleItems(a);this.attachSubtitle(s,o,!0,r),this.showAiSubtitleTipWithStatus("used",t),setTimeout(()=>{ld()},100),this.hideSourceSubtitle(r)}hideSourceSubtitle(t){let n=t.querySelector(this.config.videoSelector||"video");if(!n)return!1;n.textTracks.length>0&&(Array.from(n.textTracks).forEach(r=>{r.mode="hidden"}),setTimeout(()=>{Array.from(n.textTracks).forEach(r=>{r.mode="hidden"})},500))}async resetAiSubtitle(t){t=t||globalThis.location.href;let n=this.getAppendContainerByAiPageUrl(t);if(!n||(this.removeAttachSubtitle(n),!this.isEnableSubtitle()))return;let r=n.querySelector(this.config.videoSelector||"video");if(!r)return;let i=Array.from(r.textTracks).find(a=>a.kind!=="captions"&&a.label!=="clone");!i||!i.cues||(this.attachSubtitle(this.formatToSubtitleItem([...i.cues]),ye(i.language),!1,n),this.hideSourceSubtitle(n))}async isSubtitleAvailable(t=document){if(!this.config?.quickButtonRule)return!1;let r=t.querySelector(this.config.videoSelector||"video");return r?r.textTracks.length>0:!1}getIsAiSubtitleUsed(t){t=t||globalThis.location.href;let n=this.getAppendContainerByAiPageUrl(t);if(!n||!this.getIsEnableAiSubtitle(t))return!1;let r=this.getTaskCache(t);return r?.status!=="completed"||!r?.result?!1:!!n.querySelector(`[${qd}="ai"]`)}};function Wne(e){let t=new URL(e),n=t.pathname.replace(/\/analytics$/,"").replace(/\/history$/,"");return/^\/([^\/]+)\/status\/(\d+)\/?$/.test(n)?(t.pathname=n,t.href):null}var w1=class extends na{autoShowObserver=null;videoSrc=null;async loadSubtitle({input:t,options:n}){try{let r=await this._fetchSubtitle(t,n);if(!r)return null;let i=Li.parse(r),a=i.filter(d=>d.type==="caption");this.config.deduplicateSubtitles&&(a=YM(a)),this.config.formatAsrSubtitles&&(a=JM(a));let o=await Ve({text:a.map(d=>d.text).join(`
`)});if(this.config.attachRule?.appendSelector){let d=this.getSubtitleItems(a);this.attachSubtitle(d,o);return}if(dt(ye(o),this.ctx.targetLanguage))return null;this.showSubtitleLoading(!0),st(this.ctx,ye(o));let s=a.map(d=>d.text),u=await this._translateSubtitle(s,o,oc);if(this.config.enableHookDownload)try{let d=this.getSubtitleItems(a);this.updateDownloadSubtitle({subtitleItems:d,translations:u,lang:o})}catch(d){k.error("download subtitle error",d)}a.forEach((d,g)=>{d.text=u[g].displayText});let l=[...i.filter(d=>d.type!=="caption"),...a];return Li.build(l,{format:this.config.subsrtFormat||"vtt"})}catch(r){return k.error(r),null}finally{this.hideSubtitleLoading()}}getSubtitleItems(t){return t.map(r=>({start:r.start/1e3,end:r.end/1e3,text:r.text}))}};var A1=class extends xt{autoShowObserver=null;videoSrc=null;async loadSubtitle({input:t,options:n}){try{let r=await this.fetchSubtitle(t,n);if(!r)return null;let{subtitles:i,doc:a}=this.parseFromXml(r),o=await Ve({text:i.map(u=>u.textContent).join(`
`)});if(this.config.attachRule?.appendSelector){let u=this.parseXMLSubtitles(r);this.attachSubtitle(u,o);return}if(dt(ye(o),this.ctx.targetLanguage))return null;this.showSubtitleLoading(!0),st(this.ctx,ye(o));let s=await this._translateSubtitle(i.map(u=>u.textContent||""),ye(o));if(s.forEach((u,l)=>{i[l].textContent=u.displayText}),this.config.enableHookDownload)try{let u=this.parseXMLSubtitles(r);this.updateDownloadSubtitle({subtitleItems:u,translations:s,lang:o})}catch(u){k.error("download subtitle error",u)}return new XMLSerializer().serializeToString(a)}catch(r){return k.error(r),null}finally{this.hideSubtitleLoading()}}async fetchSubtitle(t,n){let r=await fetch(t,n);if(!r.ok)throw new Error("request subtitle error");return(await r.text()||"").replace(/\r\n/g,`
`)}parseFromXml(t){if(!this.config.xmlTextSelector)throw new Error("xml text selector is required");let n=new DOMParser().parseFromString(t,"text/xml"),r=[...n.querySelectorAll(this.config.xmlTextSelector)];return{doc:n,subtitles:r}}parseXMLSubtitles(t){let{startSelector:n,endSelector:r,startAttr:i,endAttr:a,subtitleItemSelector:o,textSelector:s,endOrDuration:u,timeDivisor:l,timePartCount:c}=this.config.xmlSetting,d=new DOMParser().parseFromString(t,"application/xml"),g=[];return d.querySelectorAll(o).forEach(p=>{let h=this.getTimeStr(n,i,p)||"",C=this.getTimeStr(r,a,p)||"",y=l6(h,l),v=l6(C,l),b=Nn(y,c),x=Nn(v,c);u==="duration"&&(x=b+x);let T=s?p.querySelector(s)?.textContent:p.textContent;g.push({start:b,end:x,text:(T||"").trim()})}),g}getTimeStr(t,n,r){if(t){let i=r.querySelector(t);return n?i?.getAttribute(n):i?.textContent}else return n?r.getAttribute(n):r.textContent}};var k1=class extends xt{hasSubtitle=!1;async mutationVideoChange(){let t=qne(location.href,document,this.config.avSerial);if(!t)return;let n=this.config.avSerial?.serialAttachIframe;if(n){let i=document.querySelector(n);if(!i)return;let a=new URL(i.getAttribute("src")||"");a.searchParams.set("code",t),i.setAttribute("src",a.toString());return}let r=await this.fetchSubtitle(t);r&&(st(this.ctx,"ja","av"),this.hasSubtitle=!0,ea({ctx:this.ctx,props:{videoSelector:this.config.videoSelector||"video",subtitleItems:r,ctx:this.ctx,lang:"ja",urlValueArray:this.urlValueArray}}))}isShowQuickButton(){return Promise.resolve(this.hasSubtitle)}async fetchSubtitle(t){try{let n=await Re({url:`https://subhub.weixin.so/missav/${t}`,responseType:"text"});if(!n)throw new Error("request subtitle error");return Li.parse(n,{format:"vtt"}).map(i=>({...i,start:i.start/1e3,end:i.end/1e3}))}catch(n){k.error("fetchSubtitle",n);return}}};function qne(e,t,n){if(!n)return;let r;if(n.type==="url"&&(r=e),n.type=="selector"&&n.selector&&(r=t?.querySelector(n.selector)?.textContent),!!r){if(n.regexStr){let i=r.match(new RegExp(n.regexStr));if(i)return i[1]||i[0]}return r.toLowerCase()}}var M1=class extends xt{list=[];lang="";async requestSubtitle(t){this.list=t,this.list.forEach(async n=>{let r=await this.fetchSubtitleList(n.url);if(!r)return null;n.subs=r,this.lang&&this.changeLang(this.lang)})}async changeLang(t){this.lang=t;let n=this.list.find(r=>r.url.includes(this.lang));n?.subs.length&&(st(this.ctx,n.language_code),ea({ctx:this.ctx,props:{videoSelector:this.config.videoSelector||"video",subtitleItems:n.subs,ctx:this.ctx,lang:n.language_code,urlValueArray:this.urlValueArray}}))}};var I1=class extends xt{currentLang="";videoMeta=null;languageObserver=null;initialized=!1;constructor(t,n){super(t,n),this.init()}init(){this.isEnableSubtitle()&&(this.parseVideoMeta(),this.observeLanguageChange(),this.observeVideoChange())}async parseVideoMeta(){try{let t=document.querySelector("div[data-metadata]");if(!t)return;let n=t.getAttribute("data-metadata");return!n||(this.videoMeta=JSON.parse(n),this.currentLang=this.videoMeta.transcriptLanguage||"en",!this.currentLang)?void 0:(await this.requestSubtitleForLanguage(this.currentLang),t)}catch{}}observeLanguageChange(){let t=document.querySelector(".langs-list.menu");if(!t)return;this.languageObserver=new MutationObserver(r=>{r.forEach(i=>{if(i.type==="attributes"&&i.attributeName==="class"){let a=i.target;if(!a.classList.contains("is-active"))return;let o=a.getAttribute("data-lang-code");o&&o!==this.currentLang&&this.handleLanguageChange(o)}})}),t.querySelectorAll("li[data-lang-code]").forEach(r=>{this.languageObserver?.observe(r,{attributes:!0,attributeFilter:["class"]})})}observeVideoChange(){new MutationObserver(n=>{n.forEach(r=>{r.addedNodes.forEach(i=>{i.nodeType===Node.ELEMENT_NODE&&i.querySelector?.("div[data-metadata]")&&this.parseVideoMeta()})})}).observe(document.body,{childList:!0,subtree:!0})}async handleLanguageChange(t){this.currentLang=t,await this.requestSubtitleForLanguage(t)}async requestSubtitleForLanguage(t){if(this.videoMeta)try{let n=this.videoMeta.transcriptTranslationUrl,r=this.videoMeta.lmsRootURL||location.origin;if(!n)return;let i=r+n.replace("__lang__",t);await this.handleSubtitleRequest({url:i,lang:t,meta:this.videoMeta})}catch{}}async loadSubtitle({input:t,options:n}){try{if(typeof t=="object"&&"url"in t&&"lang"in t&&"meta"in t)return await this.handleSubtitleRequest(t);let r=typeof t=="string"?t:t.toString();return await this.handleSubtitleRequest({url:r,lang:"",meta:null})}catch(r){return k.error("EdX subtitle loading error:",r),null}}async handleSubtitleRequest(t){try{this.currentLang=t.lang,this.videoMeta=t.meta;let n=await this._fetchSubtitle(t.url);if(!n)return null;let r=this.parseEdxSubtitle(n);if(!r||r.length===0)return null;let i=ye(this.currentLang);if(dt(i,this.ctx.targetLanguage))return null;if(!this.config.attachRule?.appendSelector)return;this.attachSubtitle(r,i),st(this.ctx,i)}catch(n){return k.error("EdX subtitle request handling error:",n),null}}parseEdxSubtitle(t){try{let n=JSON.parse(t),{start:r,end:i,text:a}=n;if(r.length!==i.length||r.length!==a.length)throw new Error("EdX subtitle data arrays length mismatch");let o=[];for(let s=0;s<r.length;s++){let u=r[s],l=i[s],c=a[s];typeof u!="number"||typeof l!="number"||!c?.trim()||o.push({start:u/1e3,end:l/1e3,text:c.trim()})}return o}catch(n){return k.error("EdX subtitle parsing error:",n),[]}}};var Kne={youtube:m1,youtube_iframe:f1,netflix:p1,webvtt:Wl,khanacademy:h1,udemy:y1,hulu:T1,mubi:M1,edx:I1,text_track:Do,text_track_dynamic:na,general:b1,live:ql,ebutt:v1,disneyplus:x1,"fmp4.xml":C1,multi_attach_vtt:S1,twitter:E1,subsrt:w1,xml:A1,av:k1},Wr;async function pN(e){try{Me()&&await it(50);let t=e.rule.subtitleRule;if(t.disabled||!t.type)return;let n=Kne[t.type];if(!n)return;Wr=new n(e),PD(e)}catch(t){k.error(t)}}async function B6(){Wr?.onPageStatusChange()}async function Qne(e,t){if(Wr?.autoEnableSubtitleChanged(),t&&t.trigger==="popup"&&Je())return;let n={popup_switch_extend_field_enabled:e.rule.subtitleRule.autoEnableSubtitle?"1":"0",video_platform:e.rule.id||""};t&&t.trigger&&(n.trigger=t.trigger),se({key:"auto_enable_subtitles_changed",ctx:e,params:n})}async function Yne(){Wr?.onTranslationModeChanged()}async function Zne(e,t){Wr&&(Wr.tempDisableSubtitle=!!t?.tempDisableSubtitle,t?.tempDisableSubtitle?Wr.removeAttachSubtitle():await Wr.autoEnableSubtitleChanged())}Ak({autoEnableSubtitleChanged:Qne,reloadSubtitleWithTranslationModeChanged:Yne,tempDisableSubtitleChanged:Zne});function k6(e,t){return Wr?.toggleAiSubtitle?.(e,t)}function Ds(e){return Wr?.getIsAiSubtitleUsed?.(e)}function KR(e){Wr?.resetAiSubtitle?.(e)}function QR(e){return Wr?.getAiSubtitleLoading?.(e)}function YR(e){return Wr?.getHasAiSubtitleCache?.(e)}function Jne(e,t){return Math.floor(Math.random()*(t-e+1))+e}var Xne=30,O6="RATE_LIMITER_TICKS",L1=class e{static strictTicks={};static clearStrictTicks(){Ie.local.set(O6,"{}")}static async getStrictTicks(t,n){if(n)return this.strictTicks[t]||[];try{let r=await Ie.local.get(O6,{});typeof r=="string"?this.strictTicks=JSON.parse(r)||{}:this.strictTicks=r}catch(r){k.debug("Error setting rate limiter ticks",r),this.strictTicks[t]=[]}finally{return this.strictTicks[t]||[]}}static wait(t,n){return new Promise((r,i)=>{e.getDelay(t,n).then(a=>{setTimeout(()=>{r(a)},a)})})}static async setStrictTicks(t,n,r){try{if(this.strictTicks[t]=n,r)return;await Ie.local.set(O6,this.strictTicks)}catch(i){k.debug("Error setting rate limiter ticks",i)}}static async getDelay(t,n,r=!1){if(!r){let l=Jne(4,Xne);await it(l)}let i=await this.getStrictTicks(t,r)||[],{limit:a,interval:o}=n,s=Date.now();if(i.length<a)return i.push(s),await this.setStrictTicks(t,i,r),0;let u=i.shift()+o;return s>=u?(i.push(s),await this.setStrictTicks(t,i,r),0):(i.push(u),await this.setStrictTicks(t,i,r),u-s)}};function $ne(e,t){for(let n of t){if(Me()&&!On()&&typeof GM!==void 0&&GM.addElement){GM.addElement(e,"style",{textContent:n});continue}e.appendChild(document.createElement("style")).textContent=n}}async function _6(){(bn()?.supportedMangaSites?.length||0)<10&&await J0();let n=await Qe(),r=await an(),i={url:globalThis.location.href,config:n},a=await on(i),o=await Q4(a,r),s=Ke(a.url,o?.blockUrls),u=await pr();if(!(o?.enable||a.rule.imageRule.enableMangaFloatBall&&a.rule.imageRule.type==="manga")||s)return Z9();(kt()||Ze())&&Z9();let c=document.createElement("div");c.id=U+"-popup",c.setAttribute("style","all: initial");let d=c.attachShadow({mode:"open"});return ere(d,n,u,a),document.documentElement.appendChild(c),c}function hN(){let e=document.getElementById(U+"-popup");e&&e.remove(),_6()}function ere(e,t,n,r){let i=document.createElement("div");i.id="mount",i.style.display="block";let a=lt(),o=[a["base.css"],a["tailwind-compat.css"],a["popup.css"],a["float_ball.css"]].join(`
`);$ne(e,[o]),e.appendChild(i),Zt(m(Ui,{lang:t.interfaceLanguage,children:m(Q9,{localConfig:n,ctx:r})}),i)}function yN({selectionRect:e,gap:t=10,modalWidth:n=450,modalHeight:r=480}){let[i,a]=z(null),o=Te(()=>{if(!e)return null;let s=globalThis.innerWidth,u=globalThis.innerHeight,l,c,d=e.width>0&&e.height>0;l=e.left,Il()&&(l=l+Math.max(0,(e.width-n)/2));let f=bN(),p=vN();f?.x?l=f.x-n/2:p?.x&&(l=p.x-n/2);let h=l+n;if(h>s&&(l-=h-s-t),d){let C=e.bottom+t;C+r<=u?c=C:c=u-r}else if(p?.y){let C=p.y+t;if(C+r<=u)c=C;else{let v=p.y-r-t;v>=0?c=v:c=u-r}}else c=Math.max(0,(u-r)/2);return c=Math.max(0,c),l=Math.max(0,l),{top:c,left:l}},[e,t,n,r]);return G(()=>{if(i)return;let s=o();a(s?{position:"fixed",top:`${s.top}px`,left:`${s.left}px`,display:"block"}:{display:"none"})},[]),{style:i}}var D1=`
  .${U}-service-dropdown {
    position: relative;
    display: inline-block;
  }

  .${U}-service-select {
    background-color: #F3F5F6;
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
    justify-content: space-between;
    user-select: none;
  }

  .dark .${U}-service-select {
    background: #252626;
    color: #DBDBDB;
  }


  .${U}-service-select.min-width {
    min-width: 140px;
  }

  .${U}-service-select-disabled {
    background-color: #F6F8F9;
    cursor: not-allowed;
    color: #999;
  }

  .${U}-service-select .service-select-content {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .${U}-arrow {
    width: 16px;
    height: 16px;
    margin-left: 4px;
    transition: transform 0.3s ease-in-out;
  }

  .rotate-180 {
    transform: rotate(180deg);
  }

  .${U}-service-dropdown-menu {
    position: absolute;
    min-width: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.08);
    padding: 12px 8px;
    z-index: 1000;
    top: 100%;
    left: 0;
    margin-top: 4px;
  }

  .dark .${U}-service-dropdown-menu {
    background: #111;
    box-shadow: 0px 4px 16px 0px rgba(255, 255, 255, 0.10);
  }

  .group-name {
    color: #999;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
  }

  .service-item {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    padding: 5px 8px;
    cursor: pointer;
  }

  .service-item:hover {
    background-color: #F3F5F6;
  }

  .dark .service-item:hover {
    background-color: #2D2E2E;
  }


  .service-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
  }

  .service-name {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
  }

  .dark .service-name {
    color: #DBDBDB;
  }
  `;var P1=`
  .${U}-error {
    display: flex;
    padding: 8px 12px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    background-color: #FAFBFB;
    border-radius: 8px;
    gap: 16px;
    margin-top: 12px;
    overflow: auto;
    color: #333;
  }

  .dark .${U}-error {
    background-color: #1D1E1E;
    color: #DBDBDB;
  }

  .${U}-error-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: #333;
  }

  .dark .${U}-error-title {
    color: #DBDBDB;
  }

  .${U}-error a {
    color: #EA4C89;
  }

  .error-warning {
    background-color: #FEF6F9;
    color: #999;
  }

  .${U}-error-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .upgrade-button {
    display: flex;
    padding: 6px 16px;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #222222 0%, #696969 100%);
    border: none;
    border-radius: 8px;
    color: #ffc736;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
  }

  .buy-package-button {
    color: #fff;
  }

  .upgrade-button svg {
    margin-right: 4px;
  }
`;var xN=`
    ${D1}
    ${P1}

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

  .${U}-modal {
    position: absolute;
    z-index: ${Kn-1};
    display: block;
    width: 450px;
    box-sizing: border-box;
    background-color: white;
    border-radius: 16px;
    padding: 16px 20px;
    padding-top: 0;
    display: none;
    border-radius: 16px;
    box-shadow: 0px 10px 32px 0px var(--ty-8, rgba(0, 0, 0, 0.08));
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif, "PingFang SC", "Microsoft YaHei", "Apple Color Emoji", "Segoe UI Emoji";
  }

  .${U}-modal.dark {
    background-color: #111;
    box-shadow: 0px 10px 32px 0px rgba(255, 255, 255, 0.10);
  }

  .${U}-modal-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    cursor: move;
  }

  .${U}-modal-body {
    box-sizing: border-box;
  }

  .translation-result-container {
    box-sizing: border-box;
    overflow-y: auto;
    max-height: 400px;
  }

  .${U}-close {
    cursor: pointer;
    font-size: 20px;
  }

  .${U}-modal-title-left {
    display: flex;
    align-items: center;
  }

  .${U}-modal-title-right {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .logo {
    width: 22px;
    height: 22px;
    color: #EC4C8C;
  }

  .word-dictionary {
    padding: 0 8px;
  }

  .word-original {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
  }

  .word-original-text {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: #222;
    user-select: none;
  }

  .dark .word-original-text {
    color: #DBDBDB;
  }

  .word-phonetic {
    color: #999;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    margin-left: 12px;
  }

  .dark .word-phonetic {
    color: #777;
  }

  .speaker-icon {
    margin-left: 6px;
  }

  .word-dictionary-item:not(:last-child) {
    margin-bottom: 16px;
  }

  .word-dictionary-definition {
    display: flex;
    align-items: self-start;
    gap: 8px;
  }

  .word-dictionary-pos {
    min-width: 24px;
    text-align: right;
    color: #666;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
    word-wrap: break-word;
  }


  .word-dictionary-meaning {
    color: #333;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
  }

  .word-example {
    padding-left: 32px;
    margin-top: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
  }

  .dark .word-dictionary-pos, .dark .word-dictionary-meaning, .dark .word-example {
    color: #DBDBDB;
  }

  .word-example-target {
    margin-left: 8px;
  }

  .word-translation {
    padding: 12px;
    border-radius: 12px;
    background: #FAFBFB;
    margin: 8px 0;
  }

  .dark .word-translation {
    background-color: #1D1E1E;
  }

  .word-translation-text {
    color: #222;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    display: flex;
    gap: 16px;
  }


  .sentences-translation {
    padding-bottom: 8px;
  }

  .sentences-translation-text {
    min-height: 35px;
    color: #333;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 8px;
    white-space: pre-wrap;
  }

  .translation-action {
    display: flex;
    gap: 8px;
  }

  .word-contextual-meaning {
    color: #333;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 8px;
  }

  .dark .word-translation-text, .dark .sentences-translation-text, .dark .word-contextual-meaning {
    color: #DBDBDB;
  }


  .icon-wrapper {
    width: 21px;
    height: 21px;
    background-color: #F3F5F6;
    cursor: pointer;
    border-radius: 4px;
    color: #666;
  }

  .dark .icon-wrapper {
    background-color: #252626;
    color: #B3B3B3;
  }

  .icon-wrapper-no-bg {
    width: 21px;
    height: 21px;
    cursor: pointer;
    border-radius: 4px;
    color: #999;
  }

  .dark .icon-wrapper-no-bg {
    color: #B3B3B3;
  }

  .close-icon, .menu-icon, .text-translate-icon, .header-icon {
    width: 28px;
    height: 28px;
  }

  .toggle-container {
    display: flex;
    align-items: center;
  }

  .toggle-text {
    font-size: 12px;
    color: #333;
    user-select: none;
  }

  .dark .toggle-text {
    color: #B3B3B3;
  }

  .toggle-icon{
    justify-content: center;
    align-items: center;
    display: flex;
  }

  .left-icon {
    margin-left: 12px;
    margin-right: 8px;
  }

  .right-icon {
    margin-left: 8px;
  }

  .feedback-action {
    display: flex;
    gap: 12px;
    justify-content: end;
  }

  .feedback-action-icon {
    width: 24px;
    height: 24px;
  }

  .active {
    color: #EA4C89;
    background-color: #EA4C89;
  }

  .highlight {
    color: #EC5E95;
  }

  .icon-wrapper:hover, .icon-wrapper-no-bg:hover {
    background-color: #F6F8F9
  }

  .dark .icon-wrapper:hover, .dark .icon-wrapper-no-bg:hover {
    background-color: #2D2E2E;
  }

  .icon-wrapper:active, .icon-wrapper-no-bg:active {
    background-color: #EDF1F2;
  }

  .dark .icon-wrapper:active, .dark .icon-wrapper-no-bg:active {
    background-color: #202121;
  }

  .${U}-loading {
    --loading-color: #f78fb6;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: block;
    margin: 12px auto;
    position: relative;
    color: white;
    left: -100px;
    box-sizing: border-box;
    animation: ${ge}ShadowRolling 1.5s linear infinite;
  }

  @keyframes ${ge}ShadowRolling {
    0%, 100% {
      box-shadow: 0px 0 rgba(255, 255, 255, 0);
    }
    12% {
      box-shadow: 100px 0 var(--loading-color);
    }
    25% {
      box-shadow: 110px 0 var(--loading-color), 100px 0 var(--loading-color);
    }
    36% {
      box-shadow: 120px 0 var(--loading-color), 110px 0 var(--loading-color), 100px 0 var(--loading-color);
    }
    50% {
      box-shadow: 130px 0 var(--loading-color), 120px 0 var(--loading-color), 110px 0 var(--loading-color), 100px 0 var(--loading-color);
    }
    62% {
      box-shadow: 130px 0 var(--loading-color), 120px 0 var(--loading-color), 110px 0 var(--loading-color);
    }
    75% {
      box-shadow: 130px 0 var(--loading-color), 120px 0 var(--loading-color);
    }
    87% {
      box-shadow: 130px 0 var(--loading-color);
    }
  }

   .${U}-dropdown {
    position: relative;
    display: inline-block;
  }

  .${U}-dropdown-menu {
    position: absolute;
    min-width: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.08);
    padding: 12px 8px;
    z-index: 1000;
  }

  .dark .${U}-dropdown-menu {
    background: #111;
    box-shadow: 0px 4px 16px 0px rgba(255, 255, 255, 0.10);
  }

  .${U}-dropdown-menu.bottomLeft {
    top: 100%;
    left: 0;
    margin-top: 4px;
  }

  .${U}-dropdown-menu.bottomRight {
    top: 100%;
    right: 0;
    margin-top: 4px;
  }

  .${U}-dropdown-menu.topLeft {
    bottom: 100%;
    left: 0;
    margin-bottom: 4px;
  }

  .${U}-dropdown-menu.topRight {
    bottom: 100%;
    right: 0;
    margin-bottom: 4px;
  }

  .${U}-dropdown-group {
    border-bottom: 1px solid #E6E6E6;
    padding-bottom: 8px;
    margin-bottom: 8px;
  }

  .dark .${U}-dropdown-group {
    border-bottom: 1px solid #2D2E2E;
  }

  .${U}-dropdown-group-title {
    padding: 8px 16px;
    color: #333;
    font-size: 12px;
  }

  .${U}-dropdown-item {
    position: relative;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
  }

  .dark .${U}-dropdown-group-title {
    color: #DBDBDB;
  }

  .dark .${U}-dropdown-item {
    color: #DBDBDB;
  }

  .label-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }

  .label-item-left {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .label-item-right {
    display: flex;
    align-items: center;
  }

  .${U}-dropdown-item:hover {
    background: #f6f8f9;
  }

  .dark .${U}-dropdown-item:hover {
    background: #2D2E2E;
  }

  .${U}-dropdown-item.disabled {
    color: #999;
    cursor: not-allowed;
  }

  .dark .${U}-dropdown-item.disabled {
    color: #777;
  }

  .${U}-dropdown-item.disabled:hover {
    background: none;
  }

  .${U}-dropdown-submenu {
    position: absolute;
    top: 0;
    min-width: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.08);
    padding: 12px 8px;
    display: none;
    font-size: 14px;
    color: #333;
  }

  .dark .${U}-dropdown-submenu {
    background: #111;
    box-shadow: 0px 4px 16px 0px rgba(255, 255, 255, 0.10);
    color: #DBDBDB;
  }

  .${U}-dropdown-submenu.bottomLeft {
    left: 100%;
  }

  .${U}-dropdown-submenu.bottomRight {
    right: 100%;
  }

  .${U}-dropdown-item:hover .${U}-dropdown-submenu {
    display: block;
  }

  .${U}-dropdown-item-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .label-tip {
    color: #999;
    font-size: 14px;
  }

  .dark .label-tip {
    color: #777;
  }

  .label-tip span {
    color: #EA4C89;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    cursor: pointer;
  }

  .error-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 16px;
    word-break: break-all;
  }
  .error-text {
    color: #e74c3c;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 12px;
    overflow-y: auto;
    max-height: 400px;
  }

  .error-button {
    padding: 5px 10px;
    border: none;
    background-color: #e74c3c;
    color: white;
    border-radius: 4px;
    cursor: pointer;
  }

  /* RTL Overrides Start */

  .modal-body-rtl {
    direction: rtl;
    text-align: right;
  }

  .modal-body-rtl .feedback-action {
    text-align: right;
  }

  modal-body-rtl .word-phonetic {
    margin-left: 0;
    margin-right: 12px;
  }

  .modal-body-rtl .speaker-icon {
    margin-left: 0;
    margin-right: 6px;
  }

  .modal-body-rtl .word-dictionary-pos {
     text-align: left;
  }

  .modal-body-rtl .word-example {
    padding-left: 0;
    padding-right: 32px;
  }

  .modal-body-rtl .word-example-target {
    margin-left: 0;
    margin-right: 8px;
  }


  [dir="rtl"] .${U}-modal-body .translation-action {
     flex-direction: row-reverse;
  }

  [dir="rtl"] .${U}-modal-body .feedback-action {
    justify-content: start;
  }

  .modal-body-rtl .error-container {
    align-items: flex-end;
  }


  [dir="rtl"] .${U}-dropdown-menu.bottomLeft {
    left: auto;
    right: 0;
  }

  [dir="rtl"] .${U}-dropdown-menu.bottomRight {
    right: auto;
    left: 0;
  }

  [dir="rtl"] .${U}-dropdown-menu.topLeft {
    left: auto;
    right: 0;
  }

  [dir="rtl"] .${U}-dropdown-menu.topRight {
    right: auto;
    left: 0;
  }

  /* Submenu positioning adjustments */
  [dir="rtl"] .${U}-dropdown-submenu.bottomLeft {
    left: auto;
    right: 100%;
  }

  [dir="rtl"] .${U}-dropdown-submenu.bottomRight {
    right: auto;
    left: 100%;
  }

  /* Dropdown item layout adjustments */
  [dir="rtl"] .label-item,
  [dir="rtl"] .label-item-left,
  [dir="rtl"] .label-item-right {
     /* Reversing flex items if needed */
     /* flex-direction: row-reverse; */
  }

  [dir="rtl"] .arrow-icon-wrapper {
    transform: rotate(180deg);
  }

  /* RTL Overrides End */
`;function R1({text:e,lang:t,className:n,immediate:r=!1,ctx:i,onStopRefChange:a}){let[o,s]=z(!1),[u,l]=z(t),c=$();if(!e)return null;G(()=>{(!t||t==="auto")&&zp({text:e,ctx:i}).then(g=>{k.debug("[tts] detectedLang",g),l(g)})},[]),G(()=>{r&&u&&d()},[r,e,u]),G(()=>{a?.(c.current)},[c.current,a]);let d=g=>{if(g?.preventDefault(),g?.stopPropagation(),o){c.current?.();return}let f=new AbortController,{signal:p}=f;c.current=()=>{f.abort(),s(!1)};let h="YouDao";jp({text:e.toLowerCase(),lang:u,signal:p,provider:h,onStart:()=>{s(!0)},onFinish:()=>{s(!1)}}),se({key:"selection_translate_speak",ctx:i,params:{trigger:r?"auto":"manual"}})};return m("span",{class:`icon-wrapper speaker-icon ${n??""}`,onClick:g=>d(g),children:m(dl,{})})}function CN({ctx:e,translationResult:t,text:n,currentIndex:r,visible:i}){let[a,o]=z({}),s=l=>{if(r===void 0||a[r]===l)return;o(g=>({...g,[r]:l}));let d=`selection_translate_${l.toLowerCase()}`;se({key:d,ctx:e,params:{trigger:e.rule.selectionTranslation?.triggerMode||"",translation_service:ks(e),selection_text:n,translation_result:JSON.stringify(t??{})},forceDaily:!1,ignoreGA:!0})},u=r!==void 0?a[r]:void 0;return i?m("div",{class:"feedback-action",children:[m("div",{className:"icon-wrapper-no-bg feedback-action-icon",onClick:()=>{s("ThumbUp")},children:u==="ThumbUp"?m(Yk,{}):m(Qk,{})}),m("div",{className:"icon-wrapper-no-bg feedback-action-icon",onClick:()=>{s("ThumbDown")},children:u==="ThumbDown"?m(Jk,{}):m(Zk,{})})]}):null}function Rs({text:e,ctx:t,className:n,iconClassName:r}){let[i,a]=z(!1),o=oe.bind(null);async function s(u){await Hp(u),a(!0),setTimeout(()=>{a(!1)},2e3)}return m(vt,{text:o(i?"selectionTranslationCopySuccess":"selectionTranslationCopy"),children:m("div",{class:`icon-wrapper ${n||""}`,onClick:()=>s(e),children:m(Kf,{class:r||""})})})}function TN(e,t,n,r,i){return e.replaceAll("{{to}}",n).replaceAll("{{from}}",t).replaceAll("{{text}}",r).replaceAll("{{context_text}}",i)}function EN({ctx:e,service:t,fromLanguage:n,text:r,contextText:i}){let a=e.targetLanguage,s=e.config.translationServices[t]?.type||t,u=ss[s]?.class?.langMap,l=u?.get(n)||n,c=u?.get(a)||a,d=SN(e,t,"selectionSystemPrompt",n,a),g=SN(e,t,"selectionPrompt",n,a),f=TN(d,l,c,r,i),p=TN(g,l,c,r,i);return{systemPrompt:f,userPrompt:p}}function SN(e,t,n,r,i){let a=`${r}2${i}`,o=e.rule.selectionTranslation?.prompts,s=o?.[t],u=o?.langOverrides?.find(d=>d.id===a),c=s?.langOverrides?.find(d=>d.id===a);return c?.[n]?c[n]:u?.[n]?u[n]:s?.[n]?s[n]:o?.[n]}function ra({ctx:e,error:t,className:n,reload:r,serviceId:i,showReload:a=!0,source:o}){if(!e||!t)return null;let[s,u]=z(null),{t:l}=ee();G(()=>{let f=t.initData({translationService:i}).uiConfig(e);u(f)},[]);let c=s?.errMsg||"",d=kn?.createHTML(c)||c,g=Yn(e.config,i||"");return s?.errMsg?.includes("quota")?(ug(e.config,i||"")&&(d=l("error.pro_translation_quota_reached")),lg(e.config,i||"")&&(e.isMax?d=l("error.max_translation_quota_reached"):d=l("error.pro_upgrade_max_description",{serviceName:g})),m("div",{class:`${U}-error ${n||""}`,children:[m("div",{class:`${U}-error-text`,dangerouslySetInnerHTML:{__html:d}}),m("div",{class:`${U}-error-actions`,children:[lg(e.config,i||"")&&!e.isMax&&m("div",{className:"upgrade-button buy-package-button",onClick:()=>{Zo(j.PRICING_URL,o)},children:[m(P0,{style:{color:"#FFFFFF"}}),l("error.upgradeMaxBtn")]}),m("div",{className:"upgrade-button buy-package-button",onClick:()=>{Zo(j.QUOTA_BASE_URL,o,lg(e.config,i||"")?"type=top_model":"")},children:[m(P0,{style:{color:"#FFFFFF"}}),l("error.buy_package")]}),a&&m(vs,{onClick:r,class:"imt-icon"})]})]})):["upgradeToPro","upgradeToMax","loginUsePro","loginUseMax"].includes(s?.action||"")?m("div",{class:`${U}-error ${n||""}`,children:[m("div",{class:`${U}-error-title`,children:s?.title}),m("div",{class:`${U}-error-text`,dangerouslySetInnerHTML:{__html:d}}),m("div",{class:`${U}-error-actions`,children:[s?.action==="upgradeToMax"||s?.action==="loginUseMax"?m("div",{className:"upgrade-button buy-package-button",onClick:()=>{Zo(j.PRICING_URL,o)},children:[m(P0,{style:{color:"#FFFFFF"}}),l("error.freeUpgradeToMax")]}):m("div",{className:"upgrade-button",onClick:()=>{Zo(j.PRICING_URL,o)},children:[m(P0,{style:{color:"#FFC736"}}),l("upgradeToPro")]}),a&&m(vs,{onClick:r,class:"imt-icon"})]})]}):m("div",{class:`${U}-error ${n||""}`,children:m("div",{class:`${U}-error-text`,dangerouslySetInnerHTML:{__html:d}})})}var wN=({ctx:e,record:t,signal:n,onTranslationComplete:r,onStopRefChange:i,currentIndex:a,translateAction:o})=>{let[s,u]=z(null),[l,c]=z(!0),[d,g]=z(!1),[f,p]=z(),[h,C]=z(!1),[y,v]=z(),b=wt(e.config.rtlLanguages,e.targetLanguage);G(()=>{T(t)},[o]),G(()=>{t.error&&u(t.error),t.result&&(p(t.result),u(null))},[a]);let x=(M,P)=>{if(!M||!P)return M;let B=P.toLowerCase(),O="",R=0;for(;R<M.length;){let _=M.toLowerCase().indexOf(B,R);if(_===-1){O+=M.slice(R);break}O+=M.slice(R,_),O+=`<span class="highlight">${M.slice(_,_+B.length)}</span>`,R=_+B.length}return O},T=async M=>{if(M.service){u(null),c(!0),g(!1),Sa(!0),p(void 0);try{let P=await zp({text:M.params.contextText,ctx:e});v(P);let B=await bo({service:M.service,serviceConfigs:e.rule.selectionTranslation?.serviceConfigs},e),{systemPrompt:O,userPrompt:R}=EN({ctx:e,text:M.params.originalText,contextText:M.params.contextText,service:M.service,fromLanguage:P}),_="";await B?.sendMessageStream({systemPrompt:O,userPrompt:R,from:P,to:e.targetLanguage,selectionText:M.params.originalText,contextText:M.params.contextText,responseMode:"dictionary_or_translation",signal:n,onMessage:F=>{k.debug("[selection-translation] stream message",F),_=_+F;try{_.startsWith("```json\n")&&(_=_.substring(8)),_.endsWith("\n```")&&(_=_.substring(0,_.length-4));let L=ya(_);k.debug("[selection-translation] stream parsedMsg",L),c(!1),p(L),S(L)}catch{}},onFinish:F=>{k.debug("[selection-translation] stream onFinish",F),g(!0),l&&c(!1),Sa(!1);try{let L=ya(_);L&&r({...M,result:L})}catch{}},onError:F=>{Sa(!1),c(!1),r({...M,error:F}),u(F)}})}catch(P){c(!1),Sa(!1);let B=P instanceof Y?P:new Y("fetchError",P.message||P?.toString()||"Unknown error");r({...M,error:B}),u(B)}}},S=M=>{e.rule.selectionTranslation?.enableAutoRead&&M?.phonetic&&C(!0)},E=()=>m("div",{class:`${U}-loading`}),A=()=>s?null:m("div",{class:"translation-result-container",children:[f?.phonetic&&m("div",{className:"word-dictionary",children:[m("div",{class:"word-original",children:[m("div",{className:"word-original-text",children:t.params.originalText}),f?.phonetic&&m("span",{className:"word-phonetic",children:f?.phonetic}),m(R1,{text:t.params.originalText,ctx:e,immediate:h,onStopRefChange:i})]}),m("div",{children:f?.definitions?.map(M=>m("div",{className:"word-dictionary-item",children:[m("div",{className:"word-dictionary-definition",children:[m("div",{className:"word-dictionary-pos",children:M?.pos}),m("div",{className:"word-dictionary-meaning",children:M?.meaning})]}),M?.example&&m("div",{className:"word-example",children:[m("span",{dangerouslySetInnerHTML:{__html:x(M?.example?.source,t.params.originalText)}}),m("span",{className:"word-example-target",children:M?.example?.target})]})]}))})]}),f?.definitions&&f?.definitions.length>0?f?.translation&&m(Oe,{children:m("div",{class:"word-translation",children:[m("div",{className:"word-translation-text",children:[f?.translation,m("div",{class:"translation-action",children:[m(R1,{text:f?.translation,lang:e.targetLanguage,ctx:e,onStopRefChange:i}),m(Rs,{text:f?.translation,ctx:e})]})]}),f?.contextual_analysis&&m("div",{className:"word-contextual-meaning",children:f?.contextual_analysis})]})}):m("div",{class:"sentences-translation",children:[m("div",{className:"sentences-translation-text",children:f?.translation}),f?.translation&&m("div",{class:"translation-action",children:[m(R1,{text:f?.translation,lang:e.targetLanguage,ctx:e,onStopRefChange:i}),m(Rs,{text:f?.translation,ctx:e})]}),f?.contextual_analysis&&m("div",{className:"word-contextual-meaning",children:f?.contextual_analysis})]})]});return m(Oe,{children:[m("div",{className:`${U}-modal-body notranslate ${b?"modal-body-rtl":""}`,children:[l&&E(),s&&m(ra,{ctx:e,error:s,serviceId:t.service,showReload:!1,source:"selection_translation"}),!s&&!l&&A()]}),m(CN,{visible:d,ctx:e,translationResult:f,text:t.params.originalText,currentIndex:a})]})};function AN({menu:e,children:t,onClick:n}){let[r,i]=z(!1),[a,o]=z(null),s=$(null),u=$(null),[l,c]=z("bottomLeft"),[d,g]=z("bottomLeft");G(()=>{let C=`${U}-modal`,y=v=>{s.current&&!s.current.contains(v.target)&&(i(!1),o(null))};return je(`#${qr} -> .${C}`)?.addEventListener("mousedown",y),()=>je(`#${qr} -> .${C}`)?.removeEventListener("mousedown",y)},[]),G(()=>{f()},[r]);let f=()=>{if(r&&s.current){let C=s.current.getBoundingClientRect(),v=globalThis.innerWidth-C.right;v<200?(c("bottomRight"),g("bottomRight")):v>=200&&v<400?(c("bottomLeft"),g("bottomRight")):(c("bottomLeft"),g("bottomLeft"))}},p=C=>{C.preventDefault(),i(!r)},h=C=>C.type==="group"?m("div",{class:`${U}-dropdown-group`,children:C.children?.map(y=>h(y))}):m("div",{className:`${U}-dropdown-item ${C.disabled?"disabled":""} ${C.children?"has-children":""}`,onMouseEnter:()=>C.children&&o(C.key),onClick:y=>{y.stopPropagation(),!C.disabled&&n?.(C)},children:[m("span",{className:`${U}-dropdown-item-label`,children:typeof C.label=="function"?C.label():C.label}),C.children&&a===C.key&&m("div",{className:`${U}-dropdown-submenu ${d}`,children:C.children.map(y=>h(y))})]});return m("div",{ref:s,className:`${U}-dropdown`,children:[m("div",{onClick:p,children:t}),r&&m("div",{ref:u,className:`${U}-dropdown-menu ${l}`,children:e.map(C=>h(C))})]})}function kN({onClose:e,ctx:t}){let n=Ii(),[r,i]=n,a=oe.bind(null),o=[{key:"toggleAutoRead",label:()=>m("div",{class:"label-item",children:m("div",{class:"label-item-left",children:[m("div",{class:"icon-wrapper-no-bg",children:r.generalRule?.["selectionTranslation.add"]?.enableAutoRead?m(dl,{}):m(Fk,{})}),m("div",{children:r.generalRule?.["selectionTranslation.add"]?.enableAutoRead?a("enableAutoRead"):a("disableAutoRead")})]})})},{key:"ban-selection-translation",label:()=>m("div",{class:"label-item",children:[m("div",{class:"label-item-left",children:[m("div",{class:"icon-wrapper-no-bg",children:m(jk,{})}),m("div",{children:a("banSelectionTranslation")})]}),m("div",{class:"label-item-right arrow-icon-wrapper",children:m(gl,{})})]}),children:[{key:"ban",label:"Ban",type:"group",children:[{key:"ban-once",label:a("banSelectionTranslationOnce")},{key:"ban-this-site",label:a("banSelectionTranslationInThisSite")},{key:"ban-forever",label:a("banSelectionTranslationForever")}]},{key:"tip",label:()=>m("div",{class:"label-tip",onClick:u,dangerouslySetInnerHTML:{__html:a("reEnableSelectionTranslation",{settings:`<span class="link" id="open-options">${a("setting")}</span>`})}})}]}],s=()=>{ri(!0,"#selection_translation",t.config.useOnlineOptions)},u=c=>{c.target.id==="open-options"&&s()};return m(AN,{menu:o,onClick:async c=>{if(c.key==="toggleAutoRead"){let d=r.generalRule?.["selectionTranslation.add"]?.enableAutoRead;i(g=>({...g,generalRule:{...g.generalRule,"selectionTranslation.add":{...g.generalRule?.["selectionTranslation.add"],enableAutoRead:!d}}})),await Di()}if(c.key==="ban-once"&&(Q7(!0),e()),c.key==="ban-this-site"){let d=r.generalRule?.["selectionTranslation.add"]?.urlPattern,g=d?.excludeMatches||[],f=window.location.href,p=eu(f,g);i(h=>({...h,generalRule:{...h.generalRule,"selectionTranslation.add":{...h.generalRule?.["selectionTranslation.add"],urlPattern:{...d,excludeMatches:p}}}})),await Di(),e()}c.key==="ban-forever"&&(i(d=>({...d,generalRule:{...d.generalRule,"selectionTranslation.add":{...d.generalRule?.["selectionTranslation.add"],enable:!1}}})),await Di(),e())},children:m("div",{class:"icon-wrapper-no-bg menu-icon",children:m(Uk,{})})})}function N1({onChange:e,groupServices:t,selectedService:n,disabled:r=!1,shadowRootId:i,onlyShowIcon:a=!1,className:o,modalClass:s}){let u=$(null),[l,c]=z(!1);if(!n)return null;G(()=>{let f=h=>{u.current&&!u.current.contains(h.target)&&c(!1)},p=[`#${i} -> .${s}`];return p.forEach(h=>{je(h)?.addEventListener("mousedown",f)}),()=>{p.forEach(h=>{je(h)?.removeEventListener("mousedown",f)})}},[]);let d=f=>{f.preventDefault(),!r&&c(!l)},g=f=>{r||(c(!1),e(f))};return m("div",{ref:u,className:`${U}-service-dropdown ${o||""}`,children:[m("div",{onClick:d,class:`${U}-service-select ${r?`${U}-service-select-disabled`:""}
        `,children:[m("div",{className:"service-select-content",children:[m("img",{src:n?.icon,className:"service-icon"}),a?null:m("div",{className:"select-service-name",children:n?.name})]}),m(mn,{class:`imt-icon ${U}-arrow ${l?"rotate-180":""}`})]}),l&&m("div",{className:`${U}-service-dropdown-menu`,children:t.map(f=>m(Oe,{children:[m("div",{className:"group-name",children:f.name}),f.services.map(p=>m("div",{className:"service-item",onClick:()=>{g(p)},children:[m("img",{src:p.icon,className:"service-icon"}),m("div",{className:"service-name",children:p.name}),p.config.group==="pro"&&m("img",{src:Cr,style:{marginBottom:-2,marginLeft:6,width:20,height:20}}),p.config.group==="max"&&m("img",{src:xo,style:{marginBottom:-2,marginLeft:6,width:20,height:20}})]}))]}))})]})}function MN(e){let[t,n]=z([]),[r,i]=z(""),{t:a}=ee();G(()=>{function s(){try{if(!e)return;let u=Yr(e,"translationService",e.config.interfaceLanguage,[]).filter(c=>c.ai===!0&&c.config.supportFeatures?.includes("selectionTranslation"))||[];n(u);let l=ks(e);i(l)}catch{i(e.rule.selectionTranslation?.commonService.service||"zhipu-free")}}s()},[e]);let o=de(()=>Ka(t,a).filter(s=>s.services.length>0).filter(s=>s.id!=="custom"),[t]);return{serviceItems:t,selectedService:r,setSelectedService:i,groupServices:o}}var qr=`${U}-modal-selection-root`;function tre(e){let{serviceItems:t,selectedService:n,setSelectedService:r,groupServices:i}=MN(e.ctx);return n?m(nre,{...e,serviceItems:t,selectedService:n,setSelectedService:r,groupServices:i}):null}function nre({ctx:e,params:t,signal:n,onClose:r,serviceItems:i,selectedService:a,setSelectedService:o,groupServices:s}){let{t:u}=ee(),[l,c]=z(!1),d=$(null),[g,f]=z(null),[p,h]=z(0),[C,y]=z(!1),[v,b]=z({x:0,y:0}),x=$({x:0,y:0}),T=$({x:0,y:0}),S=zn(),E=$(),[A,M]=z(0),P=$([]),[B,O]=z(!0),[R,_]=Ii(),[F,L]=z(()=>[{params:t,service:a,id:Date.now()}]),{style:D}=yN({selectionRect:t.selectionRect,gap:10});G(()=>{D&&g===null&&f(D)},[D]),G(()=>{let Q=()=>{E.current&&E.current()};return n.addEventListener("abort",Q),()=>{n.removeEventListener("abort",Q)}},[n]),G(()=>{let Q=ie=>{if(ie.detail){let xe={params:ie.detail,service:a,id:Date.now()};L(be=>[...be,xe])}};return document.getElementById(qr)?.removeEventListener(Ks,Q),document.getElementById(qr)?.addEventListener(Ks,Q),()=>{document.getElementById(qr)?.removeEventListener(Ks,Q)}},[]),G(()=>{P.current.length>0&&F.length>P.current.length&&(h(F.length-1),M(Q=>Q+1),O(!0)),P.current=[...F]},[F]),G(()=>{if(l)return;let Q=ie=>{ie.key==="Escape"&&r()};return document.addEventListener("keydown",Q),()=>document.removeEventListener("keydown",Q)},[l,r]);let w=wt(e.config.rtlLanguages,e.config.interfaceLanguage),N=()=>{c(!l),R3(!l)},V=()=>{c(!1),R3(!1),r()},H=Q=>{E.current=Q},q=Q=>{Qc()||(Q==="next"?p<F.length-1&&h(ie=>ie+1):p>0&&h(ie=>ie-1))};G(()=>{let Q=d.current?.querySelector(`.${U}-modal-title`);if(!Q)return;let ie=[".toggle-icon",`.${U}-modal-title-right`],xe=ue=>{ue.target.closest(ie.join(","))||(y(!0),x.current={x:ue.clientX,y:ue.clientY},T.current={...v},ue.preventDefault())},be=xn(ue=>{if(!C)return;let ce=ue.clientX-x.current.x,pe=ue.clientY-x.current.y;b({x:T.current.x+ce,y:T.current.y+pe})},16),ae=()=>{if(!C)return;y(!1);let ue=450,ce=d.current?.offsetHeight||40,pe=globalThis.innerWidth,X=globalThis.innerHeight,Ae=d.current;if(!Ae)return;let fe=Ae.getBoundingClientRect(),ne=v.x,te=v.y,ve=!1,He=20,ke=fe.left-v.x,Ye=fe.top-v.y;fe.left<0&&(ne=-ke+He,ve=!0),fe.right>pe&&(ne=pe-ke-ue-He,ve=!0),fe.top<0&&(te=-Ye+He,ve=!0),fe.bottom>X&&(te=X-Ye-ce-He,ve=!0),ve&&Ae&&(requestAnimationFrame(()=>{Ae.style.transition="transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)",b({x:ne,y:te})}),setTimeout(()=>{Ae.style.transition=""},300))};return Q.addEventListener("mousedown",xe),document.addEventListener("mousemove",be),document.addEventListener("mouseup",ae),()=>{Q.removeEventListener("mousedown",xe),document.removeEventListener("mousemove",be),document.removeEventListener("mouseup",ae)}},[C,v]);let K={transform:`translate(${v.x}px, ${v.y}px)`},J=Q=>{o(Q.id),_({generalRule:{"selectionTranslation.add":{service:Q.id}}});let xe={params:F[p].params,service:Q.id,id:Date.now()};L(be=>[...be,xe]),se({key:"selection_translate_change_service",ctx:e,params:{translation_service:Q.id}}),Di()},re=Q=>{O(!1),L(ie=>ie.map(xe=>xe.id===Q.id?Q:xe))};return m("div",{ref:d,className:`${U}-modal ${w?"modal-rtl":""} notranslate ${S}`,dir:w?"rtl":"ltr",style:{...g,...K},children:[m("div",{className:`${U}-modal-title notranslate`,style:C?{cursor:"grabbing"}:{cursor:"move"},children:[m("div",{className:`${U}-modal-title-left`,children:[m(Zi,{class:"logo"}),F.length>1&&m("div",{class:"toggle-container",children:[m("span",{class:"icon-wrapper toggle-icon left-icon",onClick:()=>q("prev"),children:m(Qf,{})}),m("span",{class:"toggle-text",children:[p+1,"/",F.length]}),m("span",{class:"icon-wrapper toggle-icon right-icon",onClick:()=>q("next"),children:m(gl,{})})]})]}),m("div",{class:`${U}-modal-title-right`,children:[a&&i.length>0&&m(N1,{groupServices:s,selectedService:i.find(Q=>Q.id===a)||null,onChange:J,disabled:B,shadowRootId:qr,modalClass:`${U}-modal`}),m("span",{class:"icon-wrapper-no-bg text-translate-icon header-icon",onClick:()=>rre({text:F[p].params.originalText,ctx:e}),children:m(vt,{text:u("compareWithTextTranslate"),children:m(Xk,{})})}),m("span",{class:"icon-wrapper-no-bg header-icon",onClick:N,children:l?m(Hk,{}):m(zk,{})}),m(kN,{onClose:V,ctx:e}),m("span",{class:"icon-wrapper-no-bg close-icon header-icon",onClick:V,children:m(Pn,{})})]})]}),F[p]&&m(wN,{ctx:e,record:F[p],signal:n,onTranslationComplete:re,onStopRefChange:H,currentIndex:p,translateAction:A})]})}function IN(e){let t=document.querySelector(`#${e}`);t&&t.remove()}function LN(e,t){IN(qr);let n=new AbortController,{signal:r}=n,i=()=>{P3()||(Sa(!1),n.abort(),IN(qr))};return ir({id:qr,parent:document.documentElement,ctx:e,Component:tre,props:{ctx:e,params:t,signal:r,onClose:i},style:xN}),i}var rre=({text:e,ctx:t})=>{let n=encodeURIComponent(e),r=`${j.TEXT_TRANSLATE_URL}#auto/${t.targetLanguage}/${n}`;tt(r),se({key:"translate_select_text",ctx:t,params:{trigger:"selection_translation_modal",targetLanguage:t.targetLanguage,has_pined:P3()?"1":"0"}})};var Kl=U+"-selection-translation-button";function ire(e){let t=document.querySelector(`#${e}`);t&&t.remove()}function DN(e){ire(Kl),ir({id:Kl,parent:document.documentElement,ctx:e,Component:are,props:{ctx:e},style:ore})}function are(e){return e.ctx.rule.selectionTranslation?.triggerMode==="icon"?m("div",{class:`${Ns}-button icon-btn`,children:m(Zi,{class:"logo"})}):m("div",{class:`${Ns}-button mini-btn`})}var Ns="imt-selection-translation",ore=`

  .${Ns}-button {
    cursor: pointer;
    position: absolute;
    height: 100%;
    z-index: 2147483647;
    transform: translate(-50%, -50%);
  }

  .${Ns}-button.mini-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #FFF;
    background: #EA4C89;
  }

  .${Ns}-button.mini-btn:hover {
    scale: 1.1;
  }

  .${Ns}-button.icon-btn {
    width: 24px;
    height: 24px;
  }

  .${Ns}-button .logo {
    width: 24px;
    height: 24px;
    color: #EC4C8C;
  }
`;var di=null,PN=null,Na=null,F1=[],U6=null,Po=[];function j6(e){ure(),nl().forEach(n=>{sre(e,n)})}function sre(e,t){try{if(Pe().any||Me())return;if(!e.rule.selectionTranslation?.enable||e.isSelectionTranslationExcludeUrl){k.debug("[selection-translation] selectionTranslation is disabled");return}let n=a=>dre(a,e,t),r=()=>lre(t,e),i=RN;t.document.addEventListener("selectionchange",r),Po.push(()=>{t.document.removeEventListener("selectionchange",r)}),t.document.addEventListener("mouseup",n),Po.push(()=>{t.document.removeEventListener("mouseup",n)}),t.document.addEventListener("mousedown",i),Po.push(()=>{t.document.removeEventListener("mousedown",i)}),gre(e)}catch(n){k.error(n)}}function ure(){U6=null;try{Po.forEach(e=>e())}catch{}Po=[],B1()}function lre(e,t){let n=e.document.activeElement,r=Il(),i=t.rule.selectionTranslation?.ignoreSelectionCollapsed;if(r){let o=n;if(Vp())return;let s=o.value,u=o.selectionStart||0,l=o.selectionEnd||0;if(u!==l){let c=s.substring(u,l);if(c.trim()!==""){let d=o.getBoundingClientRect();di={text:c,range:null,rect:d,contextText:s};return}}}let a=e.getSelection();if(a&&(i||!a?.isCollapsed)){let o=a.toString();if(o.trim()===""){pd(),di=null;return}let s=a.rangeCount>0?a.getRangeAt(0):null;if(!s){pd(),di=null;return}if(o!==di?.text){let u=z6(a);di={text:o,range:s,rect:s.getBoundingClientRect(),contextText:u}}}else pd(),di=null}var cre=Cn(e=>{B1();let t=di,n=e.rule.selectionTranslation?.triggerMode;if(!Vp(t?.text)){if(n==="direct"){t&&t.text&&(H6({lastSelection:t,ctx:e}),di=null);return}if(n!=="icon"&&n!=="mini"){let r=OD(t?.range),i=Il();if(r||i){t&&t.text&&(Wt.filter=function(){return Wt.setScope("selectionTranslation"),!0});return}t&&t.text?Wt.setScope("selectionTranslation"):pd();return}t&&(fre({lastSelection:t,ctx:e}),di=null)}},300);function dre(e,t,n){if(pd(),K7()){k.debug("[selection-translation] disable selectionTranslation for this time");return}Qc()||(Na={x:e.clientX,y:e.clientY},cre(t))}function z6(e){if(!e)return"";let n=e.baseNode;if(!n)return"";let r=n.textContent,i=n.parentElement;if(!i)return r;let a=d=>{if(!d)return"";let g=d.cloneNode(!0);return g.querySelectorAll(`font.${ft}`).forEach(f=>{f.remove()}),g?.textContent?.slice(0,200)||""},o=i.previousElementSibling,s=i.nextElementSibling,u=a(o),l=a(s),c=a(i)||r;return`${u}
${c}
${l}`}function gre(e){let t=e.rule.selectionTranslation?.triggerMode;if(!t||!Gd.includes(t))return;let n=t.toLowerCase();Wt("*",{scope:"selectionTranslation",element:globalThis.document,keyup:!0},r=>{if(r.type==="keydown"&&(F1=Wt.getPressedKeyCodes()),r.type==="keyup"){let i=F1;if(k.debug(`[selection-translation] hotkeys: press keycodes: ${i}`),i.length>1){k.debug("[selection-translation] hotkeys: more than one keycodes"),F1=[];return}if(i.length===0){k.debug("[selection-translation] hotkeys: no keycodes");return}let a=Vd[n]===i[0];k.debug(`[selection-translation] hotkeys: Whether the shortcut key pressed is ${n}: ${a}`),a&&(F1=[],di&&di.text&&H6({lastSelection:di,ctx:e}))}}),Po.push(()=>{Wt.deleteScope("selectionTranslation")})}function mre(e,t,n){let r=globalThis.getSelection();if(!r||!r.rangeCount)return null;let i=n==="icon"?20:10,a=document.activeElement;if(Il()){let p=Na?.x,h=Na?.y;if(p&&h)return{x:p+globalThis.scrollX+20,y:h+globalThis.scrollY+30};let y=a.getBoundingClientRect();return{x:y.right+globalThis.scrollX,y:y.bottom+globalThis.scrollY+i}}let s=null,u=[];for(let p=0;p<r.rangeCount;p++){let h=r.getRangeAt(p),C=Array.from(h.getClientRects()).filter(y=>{let v=document.elementFromPoint(y.left+y.width/2,y.top+y.height/2);if(!v)return!1;let b=globalThis.getComputedStyle(v);return b.userSelect!=="none"&&b.getPropertyValue("-webkit-user-select")!=="none"});u.push(...C)}if(u.length===0)return r.toString().trim().length>0&&Na?{x:Na.x+globalThis.scrollX+i,y:Na.y+globalThis.scrollY+i}:null;let l=-1/0,c=-1/0,d=1/0,g=1/0;for(let p of u)(p.bottom>l||p.bottom===l&&p.right>c)&&(l=p.bottom,c=p.right,s=p),(p.top<d||p.top===d&&p.left<g)&&(d=p.top,g=p.left);if(!s)return null;if(c-g<150)return{x:c+globalThis.scrollX,y:l+globalThis.scrollY+i};if(e!==void 0&&t!==void 0){let p=(g+c)/2;return e<p?{x:g+globalThis.scrollX,y:d+globalThis.scrollY-i}:{x:c+globalThis.scrollX,y:l+globalThis.scrollY+i}}return{x:c+globalThis.scrollX,y:l+globalThis.scrollY+i}}function fre({lastSelection:e,ctx:t}){DN(t);let n=je(`#${Kl} -> .imt-selection-translation-button`);if(!n)throw new Error("\u5212\u8BCD\u7FFB\u8BD1\u56FE\u6807\u521B\u5EFA\u5931\u8D25");let r=Na?.x,i=Na?.y,a=t.rule.selectionTranslation?.triggerMode,o=mre(r,i,a);if(!o)return;let{x:s,y:u}=o;U6=o,n.style.top=`${u}px`,n.style.left=`${s}px`,n.style.display="block";let l=()=>{H6({lastSelection:e,ctx:t})};if(t.rule.selectionTranslation?.triggerModeForIcon==="click")n.addEventListener("click",l),Po.push(()=>{n?.removeEventListener("click",l)});else{let c=null,d=200,g=()=>{c!==null&&clearTimeout(c),c=setTimeout(()=>{l(),c=null},d)},f=()=>{c!==null&&(clearTimeout(c),c=null)};n.addEventListener("mouseover",g),n.addEventListener("mouseout",f),Po.push(()=>{c!==null&&(clearTimeout(c),c=null),n?.removeEventListener("mouseover",g),n?.removeEventListener("mouseout",f)})}}function B1(){let e=je(`#${Kl}`);e&&e.remove()}function RN(e){let t=document.querySelector(`#${Kl}`);e.target!==t&&B1();let n=document.querySelector(`#${qr}`),r=document.querySelector(`#${U}-popup`),i=document.querySelector(`#${U}-modal-root`);n&&e.target!==n&&e.target!==r&&e.target!==i&&PN?.()}function H6({lastSelection:e,ctx:t}){if(!Qc())try{B1(),V6({selection:e,ctx:t})}catch(n){throw n}}async function V6({selection:e,ctx:t,trigger:n}){let r={...t,usageScene:"selection"};if(Vp(e.text)||!await In({ctx:r,usageScene:"selection",service:ks(r)}))return;Sa(!0),se({key:"selection_translate",ctx:r,params:{trigger:n||r.rule.selectionTranslation?.triggerMode||"",translation_service:ks(r)}}),Dr("translate_line_1",t);let a=document.querySelector(`#${qr}`);if(a){let s={originalText:e.text.trim(),contextText:e.contextText,selectionRect:e.rect},u=new CustomEvent(Ks,{detail:s});a.dispatchEvent(u);return}PN=LN(r,{originalText:e.text.trim(),contextText:e.contextText,selectionRect:e.rect});let o=RN;document.removeEventListener("mousedown",o),document.addEventListener("mousedown",o)}function pd(){Wt.setScope("mouseHover"),pre()}function pre(){Wt.filter=function(e){let t=e.target||e.srcElement,{tagName:n}=t,r=!0;return(t.isContentEditable||(n==="INPUT"||n==="TEXTAREA"||n==="SELECT")&&!t.readOnly)&&(r=!1),r}}function bN(){return U6}function vN(){return Na}function Ql(e){let[t,n]=Ii(),[r,i]=z(null);G(()=>{let o=t?.generalRule?.["aiWriting.add"]||{};if(e?.rule?.aiWriting&&t){i({...e?.rule?.aiWriting,...o});return}},[t]);let a=Te(o=>{i(s=>({...s,...o})),n(s=>({...s,generalRule:{...s.generalRule,"aiWriting.add":{...s.generalRule?.["aiWriting.add"],...o}}}))},[t]);return{AiWritingConfig:r,updateAiWritingConfig:a}}var Fa=`${U}-ai-writing`;function NN({onClose:e}){let{t}=ee(),[n,r]=z("once"),i=Ti()+"#writing",a=t("closeQuickTranslation.settingOpen",{1:i}),o=[{title:t("closeQuickTranslation.untilNext"),type:"once"},{title:t("closeQuickTranslation.currentWebsite"),type:"current",description:a},{title:t("closeQuickTranslation.alwaysClose"),type:"forever",description:a}];return m("div",{class:`${Fa}-close-modal`,children:[m("div",{class:`${Fa}-close-modal-header`,children:[m("div",{class:`${Fa}-close-modal-header-title`,children:t("aiWriting.disable_modal_title")}),m("span",{class:"icon-wrapper-no-bg close-icon-wrapper",onClick:()=>e("cancel"),children:m(Pn,{class:"imt-icon"})})]}),m("div",{class:`${Fa}-close-modal-content`,children:o.map(s=>m(hre,{onClick:()=>{r(s.type)},title:s.title,description:s.description,selected:s.type===n,onLinkClick:u=>{tt(u)}},s.type))}),m("div",{class:`${Fa}-close-modal-footer`,children:[m("button",{class:`${Fa}-close-modal-footer-button cancel-button`,onClick:()=>e("cancel"),children:t("cancel")}),m("button",{class:`${Fa}-close-modal-footer-button confirm-button`,onClick:()=>e(n),children:t("confirm")})]})]})}function hre(e){let{selected:t,title:n,description:r,onLinkClick:i}=e,a=yre(r||"");return m("div",{class:"radio-wrapper",onClick:e.onClick,children:[m("div",{class:t?`${Fa}-radio-sel`:`${Fa}-radio-nor`,children:m("div",{})}),m("div",{children:[m("span",{children:n}),r?m("small",{class:"description",children:a.map(o=>o.type==="text"?o.value:m("a",{onClick:()=>o.href&&i&&i(o.href),children:o.value}))}):null]})]})}function yre(e){let t=[],n=/(<a\s+.*?href="([^"]*)".*?>(.*?)<\/a>)|([^<]+)/g,r=Array.from(e.matchAll(n));for(let i of r){let a=i[2],o=i[3],s=i[4];a&&o?t.push({type:"link",href:a,value:o}):s&&t.push({type:"text",value:s})}return t}var Yl=`${U}-ai-writing-onboarding`;function FN({onClose:e}){let{t}=ee();return m("div",{class:`${Yl}-container`,children:[m("img",{src:j.BASE_OSS_URL+"ai-writing-guide.webp",class:`${Yl}-image`}),m("p",{class:`${Yl}-title`,children:t("aiWriting.onboarding.title")}),m("p",{class:`${Yl}-description`,children:t("aiWriting.onboarding.description")}),m("div",{class:`${Yl}-button`,onClick:e,children:t("iKnow")}),m("div",{class:`${Yl}-arrow`})]})}var hd=`${U}-ai-writing`;function BN({ctx:e}){let[t,n]=z(!1),[r,i]=z(!1),{updateAiWritingConfig:a}=Ql(e),o=zn(),s=wt(e.config.rtlLanguages,e.config.interfaceLanguage);G(()=>{Xn("aiWritingOnboardingShown").then(({userValue:g,localValue:f})=>{!g&&!f&&i(!0)})},[]);let u=()=>{i(!1),Nr("aiWritingOnboardingShown",!0)},l=()=>{_1(e,"ai_writing_button"),u()},c=g=>{if(n(!1),g!=="cancel"){if(se({key:"ai_writing_ban",ctx:e,params:{trigger:g,ai_writing_mode:e.rule.aiWriting?.mode||"simple",ai_writing_scene:e.rule.aiWriting?.scene||"general"}}),g==="once"&&jm(!0),g==="current"){jm(!0);let f=e.rule.aiWriting?.urlPattern,p=f?.excludeMatches||[];a({urlPattern:{...f,excludeMatches:[...p,window.location.origin]}})}g==="forever"&&(jm(!0),a({enable:!1})),yd()}},d=()=>{n(!t),r&&u()};return m("div",{class:`${hd}-container ${o}`,dir:s?"rtl":"ltr",children:[m("div",{class:`${hd}-action-wrapper`,children:[m("div",{class:`${hd}-button`,onClick:l,children:[m(vM,{class:"button-logo"}),m("div",{class:`${hd}-button-text`,children:O1})]}),m("div",{class:`${hd}-more-action-icon`,onClick:d,children:m(dM,{})})]}),t&&m(NN,{onClose:c}),r&&m(FN,{onClose:u})]})}function ON(e){let t=e.rule.aiWriting?.titleSelector,n=e.rule.aiWriting?.contentSelector,r=e.rule.aiWriting?.commentSelector,i=t?document.querySelector(t):null,a=n?document.querySelector(n):null,o=r?document.querySelectorAll(r):[],s="";i&&(i instanceof HTMLInputElement||i instanceof HTMLTextAreaElement?s=i.value:s=i.textContent||"");let u="";a&&(a instanceof HTMLInputElement||a instanceof HTMLTextAreaElement?u=a.value:u=a.textContent||"");let l=Array.from(o).map(p=>p?.textContent||""),c=s?`TITLE: ${s}`:"",d=u?`CONTENT: ${u}`:"",g=l.length>0?`COMMENTS: ${l.join(`
`)}`:"",f=`
    ${c}
    

    ${d}
    

    ${g}
  `;return k.debug("[ai-writing] context",f),f}function _N(){let e=document.title,t=document.querySelector("meta[name='description']")?.getAttribute("content")||"",n=window.location.href,i=`
  CURRENT SITE INFO:
  SITE_NAME: ${document.querySelector("meta[property='og:site_name']")?.getAttribute("content")||e}
  TITLE: ${e}
  DESCRIPTION: ${t}
  URL: ${n}
  `;return k.debug("[ai-writing] currentSiteInfo",i),i}function U1(e){let t=[],n=e?.length.selected,r=e?.formalityLevel.selected,i=e?.tone.selected,a=e?.role.selected;return n&&n!=="auto"&&t.push(`- Length: ${n}`),r&&r!=="auto"&&t.push(`- Formality Level: ${r}`),i&&i!=="auto"&&t.push(`- Tone: ${i}`),a&&a!=="auto"&&t.push(`- Author's Role: ${a}`),t.length===0?"":`
  ${t.join(`
  `)}
  `}function UN({ctx:e,context:t,service:n,scene:r}){let i=e.targetLanguage,a=t.trim()?t:"",s=j1(e,n,"summaryPrompt").replaceAll("{{ai_writing_scene}}",r||"").replaceAll("{{target_language}}",i).replaceAll("{{ai_writing_context}}",a),u=`
    Context:
  ${t}
  `;return{systemPrompt:s,userPrompt:u}}function jN({ctx:e,context:t,scene:n,service:r,promptStyle:i}){let a=e.targetLanguage,o=U1(i),s=t.trim()?t:"",l=j1(e,r,"suggestionPrompt").replaceAll("{{ai_writing_scene}}",n).replaceAll("{{target_language}}",a).replaceAll("{{ai_writing_style}}",o).replaceAll("{{ai_writing_context}}",s),c=`
    Context:
  ${t}
  `;return{systemPrompt:l,userPrompt:c}}function zN({ctx:e,scene:t,context:n,promptStyle:r,service:i}){let a=e.targetLanguage,o=U1(r),s=n.trim()?n:"",u=_N();return{systemPrompt:j1(e,i,"polishReplyPrompt").replaceAll("{{ai_writing_scene}}",t||"").replaceAll("{{target_language}}",a).replaceAll("{{ai_writing_style}}",o).replaceAll("{{ai_writing_context}}",s).replaceAll("{{current_site_info}}",u)}}function HN({ctx:e,scene:t,context:n,promptStyle:r,userInput:i}){if(t==="general")return{userPrompt:i};let a=e.targetLanguage,o=U1(r),s=n.trim()?n:"";return{userPrompt:`
    ### SCENE: {{ai_writing_scene}}

    ### CONTEXT (Relevant Thread/Details)
    {{ai_writing_context}}

    ### STYLE GUIDELINES
    {{ai_writing_style}}

    ### TARGET LANGUAGE
    {{target_language}}

    ### USER_INPUT
    <user_input>
    {{user_input}}
    </user_input>
  `.replaceAll("{{ai_writing_scene}}",t||"").replaceAll("{{target_language}}",a).replaceAll("{{ai_writing_style}}",o).replaceAll("{{ai_writing_context}}",s).replaceAll("{{user_input}}",i)}}function VN({ctx:e,context:t,promptStyle:n,service:r}){let i=e.targetLanguage,a=U1(n),o=t.trim()?t:"",s=_N();return{systemPrompt:j1(e,r,"generalSystemPrompt").replaceAll("{{target_language}}",i).replaceAll("{{ai_writing_style}}",a).replaceAll("{{ai_writing_context}}",o).replaceAll("{{current_site_info}}",s)}}function j1(e,t,n){let r=e.rule.aiWriting?.prompts;return r?.[t]?.[n]||r?.[n]||""}var bre="Draft a professional reply to the following {{ai_writing_scene}}.";function GN({scene:e}){return bre.replaceAll("{{ai_writing_scene}}",e||"content")}var G6=`${U}-ai-writing`;function WN({ctx:e,context:t,scene:n,selectedService:r,AiWritingConfig:i,onStartGenerating:a,onFinishGenerating:o,disableReload:s=!1}){let{t:u}=ee(),[l,c]=z(""),[d,g]=z(null),f=$(null),[p,h]=z(!1);if(n==="general")return null;G(()=>{C()},[]),G(()=>{if(f.current===null){f.current=r.id;return}s||(f.current=r.id,y())},[r]);let C=async()=>{try{h(!0),a?.(),g(null),c("");let{systemPrompt:v,userPrompt:b}=UN({ctx:e,context:t,scene:i?.scene||"",service:r.id}),x=await bo({service:r.id,serviceConfigs:i.serviceConfigs},e);k.debug("[ai-writing:summary] getSummary",{systemPrompt:v,userPrompt:b,service:r.id}),await x?.sendMessageStream({systemPrompt:v,userPrompt:b,onMessage:T=>{h(!1),c(S=>S+T)},onError:T=>{k.debug("[ai-writing:summary] onError",T),h(!1),o?.(),g(T)},onFinish:T=>{h(!1),o?.(),k.debug("[ai-writing:summary] onFinish",T)}})}catch(v){k.debug("[ai-writing:summary] getSummary error",v),h(!1),o?.(),v instanceof Y?g(v):g(new Y("fetchError",v.message||v?.toString()||"Unknown error"))}},y=()=>{g(null),C()};return m("div",{class:`${G6}-summary`,children:[m("div",{class:`${G6}-summary-title`,children:u("aiWriting.summary")}),p&&!d&&!l&&m("div",{className:"skeleton-loader",children:[m("div",{className:"skeleton-text-line short"}),m("div",{className:"skeleton-text-line medium"})]}),!d&&!p&&l&&m("div",{class:`${G6}-summary-content`,children:l}),d&&m(ra,{ctx:e,error:d,reload:y,serviceId:r.id,source:"aiWriting"})]})}var ut=`${U}-ai-writing`;function z1({ctx:e,onChange:t,className:n,promptStyle:r,updatePromptStyle:i,menuClassName:a,disabled:o=!1}){let s=$(null),u=$(null),[l,c]=z(!1),[d,g]=z(!1),[f,p]=z(null),[h,C]=z("top"),y=$(r);Zn(()=>{if(l&&s.current&&u.current){let R=s.current.getBoundingClientRect(),_=R.top,F=globalThis.innerHeight-R.bottom;C(_>F?"top":"bottom")}},[l]);let v=R=>R.formalityLevel.selected!==y.current?.formalityLevel.selected||R.tone.selected!==y.current?.tone.selected||R.length.selected!==y.current?.length.selected||R.role.selected!==y.current?.role.selected,{t:b}=ee(),x=R=>{R.preventDefault(),!o&&c(!l)},T=(R,_)=>{let F={...r,[R]:{...r[R],selected:_}};i({promptStyle:F})},S=()=>{c(!1),P(),v(r)&&(t(r),se({key:"ai_writing_change_prompt_style",ctx:e,params:{ai_writing_mode:e.rule.aiWriting?.mode||"simple",ai_writing_scene:e.rule.aiWriting?.scene||"general"}})),y.current=r},E=(R,_,F)=>{R.stopPropagation();let D=r[_].options.filter(N=>N.value!==F),w={...r,[_]:{...r[_],options:D}};i({promptStyle:w})},A=R=>{p(R),g(!0)},M=R=>{if(!r||!f||!R.trim())return;let _=r[f].options,F={labelKey:R.trim(),value:R.trim().toLowerCase().replace(/\s+/g,"_")};if(_.some(N=>N.value===F.value))return;let D=[..._,F],w={...r,[f]:{...r[f],options:D}};i({promptStyle:w}),g(!1),p(null)},P=()=>{g(!1),p(null)},B=(R,_)=>!(_.includes("auto")||_===r[R].selected),O=()=>{let R=r,_=R?.length.options.find(V=>V.value===R?.length.selected)?.labelKey,F=R?.formalityLevel.options.find(V=>V.value===R?.formalityLevel.selected)?.labelKey,L=R?.tone.options.find(V=>V.value===R?.tone.selected)?.labelKey,D=R?.role.options.find(V=>V.value===R?.role.selected)?.labelKey;return[_,F,L,D].filter(V=>!(V?.includes("auto")||!V)).map(V=>`${b(V)}`).join("/")||b("aiWriting.promptStyle_title")};return m(Oe,{children:[l&&m("div",{className:`${ut}-prompt-style-overlay`,onClick:S}),m("div",{ref:s,className:`${ut}-dropdown ${n||""}`,children:[m("div",{onClick:x,class:`${ut}-prompt-style-select ${o?`${ut}-prompt-style-select-disabled`:""}`,children:[m(qk,{}),m("div",{className:`${ut}-prompt-style-select-text`,children:O()}),m(mn,{class:`imt-icon ${ut}-arrow ${l?"rotate-180":""}`})]}),l&&m("div",{ref:u,className:`${ut}-prompt-style-menu ${a||""} ${h==="bottom"?`${ut}-prompt-style-menu-bottom`:""}`,children:[m("span",{class:`${ut}-prompt-style-close-icon icon-wrapper-no-bg  close-icon-wrapper`,onClick:S,children:m(Pn,{class:"imt-icon"})}),m("div",{className:`${ut}-prompt-style-item`,children:[m("div",{className:`${ut}-prompt-style-label`,children:b("aiWriting.promptStyle.length_title")}),m("div",{className:`${ut}-prompt-style-values`,children:r?.length.options.map(R=>m("div",{className:`${ut}-prompt-style-value ${R.value===r?.length.selected?"active":""}`,onClick:()=>T("length",R.value),children:b(R.labelKey)},R.value))})]}),m("div",{className:`${ut}-prompt-style-item`,children:[m("div",{className:`${ut}-prompt-style-label`,children:b("aiWriting.promptStyle.formalityLevel_title")}),m("div",{className:`${ut}-prompt-style-values`,children:r?.formalityLevel.options.map(R=>m("div",{className:`${ut}-prompt-style-value ${R.value===r?.formalityLevel.selected?"active":""}`,onClick:()=>T("formalityLevel",R.value),children:b(R.labelKey)},R.value))})]}),m("div",{className:`${ut}-prompt-style-item`,children:[m("div",{className:`${ut}-prompt-style-label`,children:b("aiWriting.promptStyle.tone_title")}),m("div",{className:`${ut}-prompt-style-values`,children:[r?.tone.options.map(R=>m("div",{className:`${ut}-prompt-style-value ${R.value===r?.tone.selected?"active":""}`,onClick:()=>T("tone",R.value),children:[b(R.labelKey),B("tone",R.value)&&m("div",{className:`${ut}-prompt-style-delete-icon`,onClick:_=>E(_,"tone",R.value),children:m($y,{})})]},R.value)),m("div",{className:`${ut}-prompt-style-value ${ut}-prompt-style-add-button`,onClick:()=>A("tone"),children:[m(Xy,{}),b("aiWriting.promptStyle.add_tone")]})]})]}),m("div",{className:`${ut}-prompt-style-item`,children:[m("div",{className:`${ut}-prompt-style-label`,children:b("aiWriting.promptStyle.role_title")}),m("div",{className:`${ut}-prompt-style-values`,children:[r?.role.options.map(R=>m("div",{className:`${ut}-prompt-style-value ${R.value===r?.role.selected?"active":""}`,onClick:()=>T("role",R.value),children:[b(R.labelKey),B("role",R.value)&&m("div",{className:`${ut}-prompt-style-delete-icon`,onClick:_=>E(_,"role",R.value),children:m($y,{})})]},R.value)),m("div",{className:`${ut}-prompt-style-value ${ut}-prompt-style-add-button`,onClick:()=>A("role"),children:[m(Xy,{}),b("aiWriting.promptStyle.add_role")]})]})]}),d&&f&&m(vre,{ctx:e,category:f,onClose:P,onConfirm:M})]})]})]})}var vre=({ctx:e,category:t,onClose:n,onConfirm:r})=>{let{t:i}=ee(),[a,o]=z(""),s=c=>{let d=c.target;o(d.value)},u=()=>{a.trim()&&(r(a),o(""))},l=()=>{o(""),n()};return m(Oe,{children:m("div",{className:`${ut}-prompt-style-add-modal`,children:[m("div",{className:`${ut}-prompt-style-add-modal-header`,children:[m("div",{className:`${ut}-prompt-style-add-modal-title`,children:i(t==="tone"?"aiWriting.promptStyle.add_tone":"aiWriting.promptStyle.add_role")}),m("span",{class:"icon-wrapper-no-bg close-icon header-icon",onClick:l,children:m(Pn,{})})]}),m("div",{className:`${ut}-prompt-style-add-modal-content`,children:m("input",{type:"text",className:`${ut}-prompt-style-add-modal-input`,placeholder:i(t==="tone"?"aiWriting.promptStyle.add_tone_placeholder":"aiWriting.promptStyle.add_role_placeholder"),value:a,onInput:s})}),m("div",{className:`${ut}-prompt-style-add-modal-footer`,children:[m("button",{className:`${ut}-prompt-style-add-modal-cancel`,onClick:l,children:i("cancel")}),m("button",{className:`${ut}-prompt-style-add-modal-confirm`,onClick:u,disabled:!a.trim(),children:i("add")})]})]})})};var bd=`${U}-ai-writing`;function vd({inputValue:e,onInputChange:t,onSubmit:n,placeholder:r,type:i="input",expandOnClick:a=!1,disabled:o=!1,autoFocus:s=!1}){let u=$(null),l=$(null),[c,d]=z(!1),g=a&&c?"textarea":i;G(()=>{s&&(g==="input"&&u.current?u.current.focus():g==="textarea"&&l.current&&l.current.focus())},[s,g]),G(()=>{c&&l.current&&l.current.focus()},[c]);let f=()=>{!e.trim()||o||n(e)},p=b=>{if(b.key==="Enter"&&!b.shiftKey){if(b.keyCode===229)return;b.preventDefault(),f()}},h=b=>{b.preventDefault();let x=b.target;t(x.value)},C=()=>{a&&i==="input"&&!c&&d(!0)},y=g==="textarea"?`${bd}-textarea-container`:`${bd}-input-container`,v=g==="textarea"?`${bd}-textarea`:`${bd}-input`;return m("div",{class:y,children:[g==="input"&&m(Kk,{}),g==="input"?m("input",{ref:u,autoFocus:s,onKeyDown:p,onClick:C,name:"ai-writing-input",value:e,onInput:h,class:v,placeholder:r,disabled:o}):m("textarea",{ref:l,autoFocus:s,onKeyDown:p,name:"ai-writing-textarea",value:e,onInput:h,class:v,placeholder:r,disabled:o}),m("div",{class:`${bd}-confirm-btn`,disabled:!e.trim()||o,onClick:f,children:m(Gk,{})})]})}var Zl=`${U}-ai-writing`;function qN({ctx:e,context:t,scene:n,onChange:r,selectedService:i,AiWritingConfig:a,updateAiWritingConfig:o,onStartGenerating:s,onFinishGenerating:u}){let{t:l}=ee(),[c,d]=z([]),[g,f]=z(""),[p,h]=z(null),[C,y]=z(!1),[v,b]=z(!1),x=$(null);if(n==="general")return null;G(()=>{if(x.current===null){x.current=i.id;return}x.current=i.id,E()},[i]),G(()=>{T(a?.promptStyle)},[]);let T=async A=>{try{y(!0),b(!0),s?.(),h(null),d([]);let{systemPrompt:M,userPrompt:P}=jN({ctx:e,context:t,scene:a?.scene||"",promptStyle:A,service:i.id}),B=await bo({service:i.id,serviceConfigs:a.serviceConfigs},e);k.debug("[ai-writing:suggestion] getSuggestion",{systemPrompt:M,userPrompt:P,service:i.id});let O="";await B?.sendMessageStream({systemPrompt:M,userPrompt:P,onMessage:R=>{y(!1),k.debug("[ai-writing:suggestion] stream message",R),O=O+R;try{O.startsWith("```json\n")&&(O=O.substring(8)),O.endsWith("\n```")&&(O=O.substring(0,O.length-4));let _=ya(O);k.debug("[ai-writing:suggestion] stream parsedMsg",_),d(_)}catch{}},onError:R=>{y(!1),b(!1),u?.(),h(R)},onFinish:R=>{y(!1),b(!1),u?.(),k.debug("[ai-writing:suggestion] onFinish",R)}})}catch(M){y(!1),b(!1),u?.(),M instanceof Y?h(M):h(new Y("fetchError",M.message||M?.toString()||"Unknown error"))}},S=A=>{T(A)},E=()=>{h(null),T(a?.promptStyle)};return m("div",{class:`${Zl}-suggestion`,children:[m("div",{class:`${Zl}-suggestion-title`,children:[l("aiWriting.suggestion"),m(z1,{ctx:e,onChange:S,promptStyle:a.promptStyle,updatePromptStyle:o,disabled:v,className:`${Zl}-prompt-style-in-suggestion`})]}),C&&!p&&!c.length&&m("div",{className:"skeleton-loader suggestion-skeleton-loader",children:[m("div",{className:"skeleton-text-line short"}),m("div",{className:"skeleton-text-line medium"})]}),!p&&!C&&c.length>0&&m("div",{class:`${Zl}-suggestion-content`,children:c instanceof Array&&c.map((A,M)=>m("div",{class:`${Zl}-suggestion-item`,onClick:()=>{r(A),se({key:"ai_writing_suggestion_select",ctx:e,params:{translation_service:i.id,ai_writing_mode:a?.mode||"simple",ai_writing_scene:n}})},children:[A,A.length>0&&m(Vk,{})]},M))}),p&&m(ra,{ctx:e,error:p,reload:E,className:`${Zl}-error-in-suggestion`,serviceId:i.id,source:"aiWriting"}),m(vd,{inputValue:g,onInputChange:f,onSubmit:A=>{r(A),f("")},placeholder:l("aiWriting.suggestion_placeholder"),type:"textarea",disabled:C||v})]})}var xd=`${U}-ai-writing`;function H1({ctx:e,onChange:t,onTranslate:n,defaultSelectedLanguage:r,className:i,type:a="button"}){let{t:o}=ee(),s=$(null),[u,l]=z(!1),[c,d]=z(r),[g,f]=z(""),p=de(()=>ds(Un,12,e.config?.interfaceLanguage).filter(x=>x!=="auto").map(x=>({code:x,name:Ln(x,e.config?.interfaceLanguage)})),[e.config?.interfaceLanguage]),h=de(()=>{if(!g.trim())return p;let b=g.toLowerCase();return p.filter(x=>x.name.toLowerCase().includes(b)||x.code.toLowerCase().includes(b))},[p,g]);G(()=>{let b=`${U}-ai-writing-modal`,x=S=>{s.current&&!s.current.contains(S.target)&&l(!1)},T=[`#${Ba} -> .${b}`];return T.forEach(S=>{je(S)?.addEventListener("mousedown",x)}),()=>{T.forEach(S=>{je(S)?.removeEventListener("mousedown",x)})}},[]);let C=b=>{b.preventDefault(),l(!u)},y=b=>{l(!1),d(b),t(b)},v=b=>{let x=b.target;f(x.value)};return G(()=>{u&&(f(""),setTimeout(()=>{s.current?.querySelector('input[type="text"]')?.focus()},0))},[u]),m("div",{ref:s,className:`${xd}-dropdown ${i??""}`,children:[a==="button"?m("div",{class:`${xd}-language-select`,children:[m("div",{}),m("div",{className:"translate-btn",onClick:()=>n(c),children:o("aiWriting.translate_btn",{language:Ln(c,e.config?.interfaceLanguage,!1,!0)})}),m("div",{className:"translate-btn-arrow",onClick:C,children:m(mn,{class:`${xd}-arrow ${u?"rotate-180":""}`})})]}):m("div",{class:`${xd}-language-select language-select-gap`,onClick:C,children:[m(Wk,{}),Ln(c,e.config?.interfaceLanguage,!1,!0),m(mn,{class:`${xd}-arrow ${u?"rotate-180":""}`})]}),u&&m("div",{className:"language-select-dropdown-menu",children:[m("div",{className:"language-select-dropdown-menu-search",children:[m(qf,{}),m("input",{type:"text",placeholder:o("searchPlaceholder"),value:g,onChange:v,onInput:v})]}),m("div",{className:"language-select-dropdown-menu-content",children:h.length>0?h.map(b=>m(Oe,{children:m("div",{className:`language-item ${c===b.code?"selected":""}`,onClick:()=>{y(b.code)},children:b.name})})):m("div",{className:"language-item no-results",children:o("noData")})})]})]})}var KN=`${U}-ai-writing`,W6=e=>{let t=document.createElement("div");t.className=`${KN}-success-toast`,t.textContent=e,Object.assign(t.style,{position:"absolute",top:"10px",left:"50%",transform:"translateX(-50%)",backgroundColor:"#4CAF50",color:"white",padding:"8px 16px",borderRadius:"4px",fontSize:"14px",fontWeight:"500",zIndex:"10001",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.2)",opacity:"0",transition:"opacity 0.3s ease-in-out",pointerEvents:"none",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif',whiteSpace:"nowrap"}),je(`#${Ba} -> .${KN}-modal`).appendChild(t),setTimeout(()=>{t.style.opacity="1"},100),setTimeout(()=>{t.style.opacity="0",setTimeout(()=>{t.parentNode&&t.parentNode.removeChild(t)},300)},2e3)};var xre=`${U}-ai-writing`,V1=({ctx:e,text:t,insertSelector:n})=>{let{t:r}=ee();if(!n||!je(n))return null;let a=(o,s)=>{let u=je(s);if(u){if(se({key:"ai_writing_insert",ctx:e,params:{ai_writing_mode:e.rule.aiWriting?.mode||"simple",ai_writing_scene:e.rule.aiWriting?.scene||"general"}}),u.focus(),u.tagName==="TEXTAREA"||u.tagName==="INPUT"){let l=u;l.focus();let c=l.value.length;l.setSelectionRange(c,c);let g=l.value+o;l.value=g;let f=g.length;l.setSelectionRange(f,f);let p=new Event("input",{bubbles:!0});l.dispatchEvent(p),W6(r("aiWriting.insert_success"));return}if(u.contentEditable==="true"||u.isContentEditable){u.focus();let l=window.getSelection();if(!l)return;let c;l.rangeCount>0?c=l.getRangeAt(0):(c=document.createRange(),c.selectNodeContents(u),c.collapse(!1)),c.deleteContents();let d=document.createDocumentFragment();o.split(`
`).forEach((p,h)=>{if(h>0){let C=document.createElement("br");d.appendChild(C)}if(p.length>0){let C=document.createTextNode(p);d.appendChild(C)}}),c.insertNode(d),c.collapse(!1),l.removeAllRanges(),l.addRange(c);let f=new Event("input",{bubbles:!0});u.dispatchEvent(f),W6(r("aiWriting.insert_success"));return}}};return m("div",{class:`${xre}-insert-btn`,onClick:()=>{a(t,n)},children:[m(Rk,{}),r("aiWriting.insert")]})};function QN(e,t){let[n,r]=z(!1),[i,a]=z(null),[o,s]=z(""),u=async({ctx:c,text:d,targetLang:g})=>d.trim()?await Ai({id:0,url:"ai-writing",text:d,to:g,from:"auto",force:!0},{...c,translationService:t.id},{retry:1}):void 0;return{translateResult:o,translationLoading:n,translationError:i,translateText:async(c,d)=>{r(!0),a(null),s(""),k.debug("[ai-writing:use-translate] translateText",{text:c,language:d}),se({key:"ai_writing_translate",ctx:e,params:{translation_service:t.id,target_language:d,ai_writing_mode:e.rule.aiWriting?.mode||"simple",ai_writing_scene:e.rule.aiWriting?.scene||"general"}});try{let g=await u({ctx:e,text:c,targetLang:d});g?(s(g.text),r(!1)):(a(new Y("translateError","\u7FFB\u8BD1\u5931\u8D25")),r(!1))}catch(g){a(g),r(!1)}}}}var Ro=`${U}-ai-writing`,YN=({ctx:e,AiWritingConfig:t,translateResult:n,loading:r,error:i,currentLang:a,onTranslate:o,selectedService:s})=>{let{t:u}=ee(),[l,c]=z(a),d=wt(e.config.rtlLanguages,l);return m("div",{class:`${Ro}-translate-result`,children:[r&&m("div",{className:`${Ro}-translate-loading`,children:[m("div",{className:`${Ro}-translate-loading-text`,children:u("Translating")}),m("div",{className:"skeleton-loader chat-skeleton-loader",children:[m("div",{className:"skeleton-text-line short"}),m("div",{className:"skeleton-text-line medium"})]})]}),i&&m(ra,{ctx:e,error:i,showReload:!1,className:`${Ro}-error-in-chat`,serviceId:s.id,source:"aiWriting"}),n&&!r&&!i&&m(Oe,{children:[m("div",{class:`${Ro}-translate-result-text ${d?"rtl":""}`,children:n}),m("div",{class:`${Ro}-translate-result-action`,children:[m("div",{class:`${Ro}-translate-result-action-left`,children:[m(H1,{ctx:e,type:"dropdown",defaultSelectedLanguage:l,className:`${Ro}-language-select-in-translate-result`,onChange:g=>{c(g),o(g)},onTranslate:g=>{c(g),o(g)}}),m(Rs,{text:n,ctx:e,className:"icon-wrapper-no-bg",iconClassName:"imt-icon"}),m(vt,{text:u("aiWriting.retranslate"),children:m("div",{class:"icon-wrapper-no-bg",onClick:()=>{o(l)},children:m(vs,{class:"imt-icon"})})})]}),m(V1,{ctx:e,insertSelector:t.insertInputSelector,text:n})]})]})]})};var Cd=`${U}-ai-writing`;function ZN({message:e}){let[t,n]=z(!1),r=$(null),[i,a]=z(!1);if(!e.trim())return null;let o=()=>{let s=r.current;if(!s)return;let u=s.style.whiteSpace,l=s.style.webkitLineClamp,c=s.style.display;s.style.whiteSpace="nowrap",s.style.webkitLineClamp="unset",s.style.display="block";let d=s.scrollWidth>s.clientWidth;s.style.whiteSpace=u,s.style.webkitLineClamp=l,s.style.display=c,a(d)};return G(()=>{e?(n(!1),setTimeout(o,0)):(a(!1),n(!1))},[e]),m("div",{class:`${Cd}-chat-user-input ${t?`${Cd}-chat-user-input-expanded`:""} ${i?`${Cd}-chat-user-input-clickable`:""}`,onClick:i?()=>n(!t):void 0,children:[m("div",{ref:r,class:`${Cd}-chat-user-input-content`,children:e||""}),i&&m("div",{class:`${Cd}-chat-user-input-arrow`,children:m(mn,{class:t?"rotate-180":""})})]})}var Bn=`${U}-ai-writing`;function JN({ctx:e,context:t,scene:n,userFirstInput:r,selectedService:i,AiWritingConfig:a,updateAiWritingConfig:o,onStartGenerating:s,onFinishGenerating:u,onStopRefChange:l,isSimpleMode:c=!1}){let{t:d}=ee(),[g,f]=z(""),[p,h]=z(""),[C,y]=z(!1),[v,b]=z([]),[x,T]=z([]),[S,E]=z(0),A=$(null),[M,P]=z([]),[B,O]=z(null),[R,_]=z(!1),F=$(""),{translateText:L,translationLoading:D,translationError:w,translateResult:N}=QN(e,i),[V,H]=z(!1),[q,K]=z(!1),[J,re]=z(e.targetLanguage),Q=$(),ie=$(0),xe=(fe,ne)=>{if(n==="general")return fe;let te=-1;for(let ve=fe.length-1;ve>=0;ve--)if(fe[ve].role==="user"){te=ve;break}return fe.map((ve,He)=>{if(ve.role==="user"&&He===te){let{userPrompt:ke}=HN({ctx:e,scene:n,context:t,promptStyle:ne??a?.promptStyle,userInput:ve.content});return{...ve,content:ke}}return ve})};G(()=>{let{systemPrompt:fe}=ce(a?.promptStyle),ne=[{role:"system",content:fe}];if(n==="general"){b(ne),T(ne);return}r&&ne.push({role:"user",content:r}),b(ne);let te=xe(ne);T(te),be(te);let ve={userMessage:r,aiResponse:"",service:i.id};P([ve])},[]),G(()=>{if(A.current===null){A.current=i.id;return}A.current=i.id,ue(a?.promptStyle)},[i]),G(()=>{l?.(Q.current)},[Q.current,l]);let be=async fe=>{k.debug("[ai-writing:chat] generateAIResponse",{messages:fe,service:i.id});try{if(!await In({ctx:e,usageScene:"ai_writing",service:i.id})){u?.();return}H(!1),y(!0),s?.(),_(!0),h(""),F.current="";let te=await bo({service:i.id,serviceConfigs:a.serviceConfigs},e),ve=new AbortController,{signal:He}=ve;Q.current=()=>{ve.abort(),y(!1),_(!1),u?.()};let ke="";se({key:"ai_writing_chat",ctx:e,params:{translation_service:i.id,trigger:"ai_writing_chat",ai_writing_record_length:M.length,ai_writing_mode:a?.mode||"simple",ai_writing_scene:n}}),await te?.sendMessageStream({messages:fe,signal:He,onMessage:Ye=>{_(!1),ke+=Ye,h(ke),F.current=ke},onError:Ye=>{_(!1),y(!1),u?.(),O(Ye),P(Ee=>{let $e=[...Ee],qe=$e.length-1;return $e[qe]={...$e[qe],error:Ye,service:i.id},$e})},onFinish:Ye=>{k.debug("[ai-writing:chat] onFinish",{reason:Ye,responseContent:ke}),y(!1),u?.(),_(!1);let Ee={role:"assistant",content:ke};b($e=>[...$e,Ee]),T($e=>[...$e,Ee]),P($e=>{let qe=[...$e],yt=qe.length-1;return qe[yt]={...qe[yt],aiResponse:ke,service:i.id},qe})}})}catch(ne){_(!1);let te=ne instanceof Y?ne:new Y("fetchError",ne.message||ne?.toString()||"Unknown error");O(te),P(ve=>{let He=[...ve],ke=He.length-1;return He[ke]={...He[ke],error:te,service:i.id},He}),y(!1),u?.()}};G(()=>{(async()=>{let ne=await Ve({text:t,ignorePageLang:!0,chineseFirst:!0}),te=e.sourceLanguage==="auto"?"en":e.sourceLanguage,ve=ne==="auto"?te:ne;re(ve),K(ve!==e.targetLanguage)})()},[e.targetLanguage,t]),G(()=>{n!=="general"&&c&&q&&p&&!C&&!M[S]?.translatedResult&&(ie.current=S,L(p,J),H(!0))},[c,q,p,C,S,M]),G(()=>{if(N&&!D&&!w){let fe=ie.current;P(ne=>{let te=[...ne];return te[fe]&&(te[fe]={...te[fe],translatedResult:N}),te})}},[N,D,w]);let ae=()=>{if(O(null),M.length===0)return;let fe=[...M,{userMessage:M[M.length-1].userMessage,aiResponse:"",service:i.id}];P(fe),E(fe.length-1);let te=v[v.length-1].role==="assistant"?v.slice(0,-1):v;b(te);let ve=xe(te);T(ve),be(ve)},ue=fe=>{if(O(null),M.length===0)return;let ne=M[M.length-1].userMessage,ve=v[v.length-1].role==="assistant"?v.slice(0,-1):v;b(ve);let He=xe(ve,fe);T(He);let ke=[...M,{userMessage:ne,aiResponse:"",service:i.id}];P(ke),E(ke.length-1),be(He)},ce=fe=>n==="general"?VN({ctx:e,context:t,promptStyle:fe,service:i.id}):zN({ctx:e,context:t,scene:a?.scene||"",promptStyle:fe,service:i.id}),pe=fe=>{if(k.debug("[ai-writing:chat] handleUserMessageSubmit",fe),!fe.trim()||C)return;let ne=[...M,{userMessage:fe,aiResponse:"",service:i.id}];P(ne),f("");let te=[...v,{role:"user",content:fe}];b(te);let ve=xe(te);T(ve),be(ve),E(ne.length-1)},X=fe=>{if(C||D)return;let ne=S;if(fe==="prev"){if(S===0)return;ne=S-1}else{if(S===M.length-1)return;ne=S+1}let te=!!M[ne]?.translatedResult;H(te);let ve=M[ne]?.aiResponse;ve!==void 0?(h(ve),F.current=ve):F.current="";let He=M[ne]?.error;O(He||null),E(ne)},Ae=fe=>{P(te=>{let ve=[...te];return ve[S]={...ve[S],aiResponse:fe},ve});let ne=S*2+2;b(te=>{let ve=[...te];return ne<ve.length&&ve[ne].role==="assistant"&&(ve[ne]={...ve[ne],content:fe}),ve}),T(te=>{let ve=[...te];return ne<ve.length&&ve[ne].role==="assistant"&&(ve[ne]={...ve[ne],content:fe}),ve})};return m("div",{class:`${Bn}-chat`,children:[m("div",{class:`${Bn}-chat-title`,children:[m("div",{children:n!=="general"&&d("aiWriting.chat_title")}),!C&&M.length>0&&m("div",{class:"toggle-container",children:[m("span",{class:"icon-wrapper toggle-icon-wrapper left-icon",onClick:()=>X("prev"),children:m(Qf,{class:"mini-arrow-icon"})}),m("span",{class:"toggle-text",children:[S+1,"/",M.length]}),m("span",{class:"icon-wrapper toggle-icon-wrapper right-icon",onClick:()=>X("next"),children:m(gl,{class:"mini-arrow-icon"})})]})]}),m(ZN,{message:M[S]?.userMessage||""}),m("div",{class:`${Bn}-chat-content-container`,children:[m(Oe,{children:[R&&!B&&!p&&m("div",{className:"skeleton-loader chat-skeleton-loader",children:[m("div",{className:"skeleton-text-line short"}),m("div",{className:"skeleton-text-line medium"})]}),!B&&p&&m("div",{class:`${Bn}-chat-content`,children:[m("div",{class:`${Bn}-chat-content-text ${Bn}-editable-text`,contentEditable:!C,onInput:fe=>{let ne=fe.target.textContent||"";Ae(ne)},onFocus:fe=>{let ne=fe.target;ne&&ne.classList.add(`${Bn}-editing`)},onBlur:fe=>{let ne=fe.target;if(ne){ne.classList.remove(`${Bn}-editing`);let te=ne.textContent||"";Ae(te),te!==p&&se({key:"ai_writing_edit_response",ctx:e,params:{translation_service:i.id,ai_writing_mode:a?.mode||"simple",ai_writing_scene:n}}),h(te)}},children:p},`${S}-${p}`),!C&&m("div",{class:`${Bn}-chat-action-container`,children:[m("div",{class:`${Bn}-chat-action-container-left`,children:[m(z1,{ctx:e,disabled:C,promptStyle:a.promptStyle,updatePromptStyle:o,className:`${Bn}-prompt-style-in-chat`,menuClassName:`${Bn}-prompt-style-menu-in-chat`,onChange:ue}),m(Rs,{text:p,ctx:e,className:"icon-wrapper-no-bg",iconClassName:"imt-icon"}),m(vt,{text:d("aiWriting.regenerate"),children:m("div",{class:"icon-wrapper-no-bg",onClick:ae,children:m(vs,{class:"imt-icon"})})})]}),m("div",{class:`${Bn}-chat-action-container-right`,children:[!q&&m(V1,{ctx:e,insertSelector:a.insertInputSelector,text:p}),(!c||c&&S!==0)&&q&&!V&&m(H1,{ctx:e,defaultSelectedLanguage:J,className:`${Bn}-language-select-in-chat`,onChange:fe=>{ie.current=S,L(p,fe),H(!0)},onTranslate:fe=>{ie.current=S,L(p,fe),H(!0)}})]})]})]}),B&&m(ra,{ctx:e,error:B,reload:ae,className:`${Bn}-error-in-chat`,source:"aiWriting",serviceId:M[S]?.service||i.id})]}),V&&m(YN,{ctx:e,currentLang:J,AiWritingConfig:a,translateResult:M[S]?.translatedResult||N,loading:D,error:w,selectedService:i,onTranslate:fe=>{ie.current=S,L(p,fe)}})]}),C&&m("div",{class:`${Bn}-stop-container`,children:m("div",{class:`${Bn}-stop-wrapper`,onClick:()=>Q.current?.(),children:[m(Nk,{class:"imt-icon stop-icon"}),m("div",{class:`${Bn}-stop-text`,children:d("aiWriting.stop")})]})}),!C&&n!=="general"&&m(vd,{inputValue:g,onInputChange:f,onSubmit:pe,placeholder:d("aiWriting.chat_placeholder"),type:"input",expandOnClick:!0,disabled:C,autoFocus:!0}),!C&&n==="general"&&m(vd,{inputValue:g,onInputChange:f,onSubmit:pe,placeholder:d("aiWriting.chat_placeholder_textarea"),type:"textarea",disabled:C,autoFocus:!0})]})}var Fs=`${U}-ai-writing`;function XN({mode:e,onChange:t,disabled:n=!1}){let{t:r}=ee(),i=$(null),[a,o]=z(!1),s=e||"simple";G(()=>{let c=`${U}-ai-writing-modal`,d=f=>{i.current&&!i.current.contains(f.target)&&o(!1)},g=[`#${Ba} -> .${c}`];return g.forEach(f=>{je(f)?.addEventListener("mousedown",d)}),()=>{g.forEach(f=>{je(f)?.removeEventListener("mousedown",d)})}},[]);let u=()=>{n||o(!a)},l=c=>{o(!1),s!==c&&t(c)};return m("div",{ref:i,class:`${Fs}-dropdown ${Fs}-mode-select`,children:[m("span",{class:`${Fs}-mode-select-trigger ${n?"disabled":""}`,onClick:u,children:m(pM,{})}),a&&m("div",{class:`${Fs}-dropdown-menu ${Fs}-mode-select-menu`,children:[m("div",{class:`${Fs}-mode-select-item ${s==="simple"?"active":""}`,onClick:()=>l("simple"),children:r("aiWriting.simpleMode")}),m("div",{class:`${Fs}-mode-select-item ${s==="professional"?"active":""}`,onClick:()=>l("professional"),children:r("aiWriting.professionalMode")})]})]})}var Cre=`${U}-ai-writing`;function $N(e,t={}){let{modalWidth:n=650,modalHeight:r=400,boundaryGap:i=20,dragHandleSelector:a=".drag-handle"}=t,[o,s]=z(!1),[u,l]=z({x:0,y:0}),c=$({x:0,y:0}),[d,g]=z("center"),[f,p]=z(null),[h,C]=z(0),y=$({x:0,y:0}),v=$({x:0,y:0}),b=S=>{c.current=S,l(S)},x=()=>{b({x:0,y:0}),g("center"),p(null),C(0)};return G(()=>{let S=e.current;if(!S)return;let E=S.querySelector(a);if(!E)return;let A=[`.${Cre}-modal-title-right`],M=O=>{O.target.closest(A.join(","))||(s(!0),y.current={x:O.clientX,y:O.clientY},v.current={...u},O.preventDefault())},P=xn(O=>{if(!o)return;let R=O.clientX-y.current.x,_=O.clientY-y.current.y;b({x:v.current.x+R,y:v.current.y+_})},16),B=()=>{if(!o)return;s(!1);let O=S.offsetHeight||r,R=globalThis.innerWidth,_=globalThis.innerHeight,F=S.getBoundingClientRect(),L=c.current,D=L.x,w=L.y,N=!1,V=F.left-L.x,H=F.top-L.y;F.left<0&&(D=-V+i,N=!0),F.right>R&&(D=R-V-n-i,N=!0),F.top<0&&(w=-H+i,N=!0),F.bottom>_&&(w=_-H-O-i,N=!0),N&&S&&(requestAnimationFrame(()=>{S.style.transition="transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)",b({x:D,y:w})}),setTimeout(()=>{S.style.transition=""},300));let q=S.getBoundingClientRect(),K=N?w:L.y,J=N?H+w:q.top,re=_/3;J<re?(g("top"),p(Math.max(J,i)),C(K)):(g("center"),p(null),C(0))};return E.addEventListener("mousedown",M),document.addEventListener("mousemove",P),document.addEventListener("mouseup",B),()=>{E.removeEventListener("mousedown",M),document.removeEventListener("mousemove",P),document.removeEventListener("mouseup",B)}},[o,u,a,n,r,i]),{transformStyle:{transform:`translate(${u.x}px, ${u.y}px)`},isDragging:o,transformOffset:u,resetPosition:x,anchorMode:d,fixedTop:f,anchorTransformY:h}}var ia=`${U}-ai-writing`;function eF({ctx:e,onClose:t,context:n,scene:r,AiWritingConfig:i,updateAiWritingConfig:a}){let o=$(null),s=$(Date.now()),[u,l]=z([]),[c,d]=z(null),[g,f]=z(!1),[p,h]=z(!1),C=$(),{t:y}=ee(),{transformStyle:v,isDragging:b,anchorMode:x,fixedTop:T,transformOffset:S,anchorTransformY:E}=$N(o,{modalWidth:550,dragHandleSelector:`.${ia}-modal-title`}),A=de(()=>{if(x==="top"&&T!==null){let L=S.y-E;return{position:"fixed",top:`${T+L}px`,left:"50%",transform:`translateX(calc(-50% + ${S.x}px))`}}return v},[x,T,S,E,v]);G(()=>{function L(){if(!e)return;let D=Yr(e,"translationService",e.config.interfaceLanguage,[]).filter(N=>N.ai===!0&&N.config.supportFeatures?.includes("aiWriting"))||[];if(l(D),i?.service){let N=D.find(V=>V.id===i.service);if(N){d(N),h(!0);return}}let w=D.find(N=>N.config.group==="free");if(w&&d(w),e.isPro){let N=D.filter(H=>H.config.group==="pro");if(!N.length){h(!0);return}let V=N.find(H=>H.id==="openai-pro")||N[0];V&&d(V)}if(e.isMax){let N=D.filter(H=>H.config.group==="max");if(!N.length){h(!0);return}let V=N.find(H=>H.id==="openai-max")||N[0];V&&d(V)}h(!0)}L()},[e]);let M=de(()=>Ka(u,y).filter(L=>L.services.length>0).filter(L=>L.id!=="custom"),[u]);G(()=>{let L=D=>{D.key==="Escape"&&(F(),t())};return document.addEventListener("keydown",L),()=>{document.removeEventListener("keydown",L)}},[e]);let P=wt(e.config.rtlLanguages,e.config.interfaceLanguage),B=L=>{d(L),a({service:L.id}),se({key:"ai_writing_change_service",ctx:e,params:{translation_service:L.id,ai_writing_mode:i?.mode||"simple"}})},O=L=>{C.current=L},R=()=>{C.current?.(),F(),t()},_=L=>{a({mode:L}),se({key:"ai_writing_change_mode",ctx:e,params:{ai_writing_mode:L,ai_writing_scene:r}})},F=()=>{let L=Date.now()-s.current;se({key:"ai_writing_modal_close",ctx:e,params:{ai_writing_mode:i?.mode||"simple",ai_writing_scene:r,ai_writing_duration:L}})};return i?m("div",{className:`${ia}-modal-overlay`,children:m("div",{ref:o,className:`${ia}-modal ${P?"modal-rtl":""} notranslate`,dir:P?"rtl":"ltr",style:{...A},children:[m("div",{className:`${ia}-modal-title notranslate`,style:b?{cursor:"grabbing"}:{cursor:"move"},children:[m("div",{className:`${ia}-modal-title-left`,children:[m(Zi,{class:"logo"}),m("span",{className:`${ia}-modal-title-text`,children:r==="general"?y("aiWriting.title"):O1})]}),m("div",{class:`${ia}-modal-title-right`,children:[c&&m(N1,{modalClass:`${ia}-modal`,groupServices:M,selectedService:c,onChange:B,disabled:g,shadowRootId:Ba}),r!=="general"&&m(XN,{mode:i.mode,onChange:_,disabled:g}),m("span",{class:"icon-wrapper-no-bg close-icon-wrapper",onClick:R,children:m(Pn,{class:"imt-icon"})})]})]}),m("div",{className:`${ia}-modal-body`,children:[!p&&m("div",{className:"skeleton-loader",children:[m("div",{className:"skeleton-text-line short"}),m("div",{className:"skeleton-text-line medium"})]}),p&&(u.length>0&&c&&i||r==="general"?m(Tre,{ctx:e,context:n,scene:r,selectedService:c,AiWritingConfig:i,updateAiWritingConfig:a,setIsGenerating:f,onStopChatRefChange:O},i.mode||"simple"):m("div",{className:`${ia}-modal-body-unavailable`,children:y("aiWriting.no_available_service")}))]})]})}):null}function Tre({ctx:e,context:t,scene:n,selectedService:r,AiWritingConfig:i,updateAiWritingConfig:a,setIsGenerating:o,onStopChatRefChange:s}){let u=i?.mode==="simple"||i?.mode===void 0,[l,c]=z(()=>u&&n!=="general"?GN({scene:n}):""),[d,g]=z(!1),[f,p]=z(!1),[h,C]=z(!1);return r?(G(()=>{o(d||f||h)},[d,f,h,o]),m(Oe,{children:[!u&&m(Oe,{children:[m(WN,{ctx:e,context:t,scene:n,selectedService:r,AiWritingConfig:i,disableReload:!!l,onStartGenerating:()=>{g(!0)},onFinishGenerating:()=>{g(!1)}}),!l&&m(qN,{ctx:e,context:t,scene:n,selectedService:r,AiWritingConfig:i,updateAiWritingConfig:a,onChange:y=>{c(y)},onStartGenerating:()=>{p(!0)},onFinishGenerating:()=>{p(!1)}})]}),(l||n==="general")&&m(JN,{ctx:e,context:t,scene:n,userFirstInput:l,selectedService:r,AiWritingConfig:i,updateAiWritingConfig:a,onStartGenerating:()=>{C(!0)},onFinishGenerating:()=>{C(!1)},onStopRefChange:s,isSimpleMode:u})]})):null}var Sre=`${U}-ai-writing`;function tF({ctx:e,scene:t,context:n="",onCloseModal:r}){let[i]=z(n||""),{AiWritingConfig:a,updateAiWritingConfig:o}=Ql(e),s=wt(e.config.rtlLanguages,e.config.interfaceLanguage),u=()=>{r?.()};return m("div",{class:`${Sre}-container`,dir:s?"rtl":"ltr",children:a&&m(eF,{ctx:e,onClose:u,context:i,scene:t,AiWritingConfig:a,updateAiWritingConfig:o})})}var Vt=`${U}-ai-writing-test`,nF=`
  .${Vt}-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #0f172a;
  }
  .${Vt}-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
  }
  .${Vt}-title {
    font-size: 16px;
    font-weight: 600;
  }
  .${Vt}-status {
    font-size: 13px;
    color: #0f172a;
  }
  .${Vt}-status.error {
    color: #b91c1c;
  }
  .${Vt}-textarea {
    width: 100%;
    min-height: 200px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    padding: 12px;
    font-family: Menlo, Consolas, monospace;
    font-size: 12px;
    line-height: 1.5;
    resize: vertical;
  }
  .${Vt}-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .${Vt}-btn {
    cursor: pointer;
    border: none;
    border-radius: 10px;
    padding: 10px 12px;
    background: linear-gradient(120deg, #0f172a, #334155);
    color: #fff;
    font-size: 14px;
    transition: transform 120ms ease, box-shadow 120ms ease;
  }
  .${Vt}-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  }
  .${Vt}-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
  }
  .${Vt}-ghost {
    background: #e2e8f0;
    color: #0f172a;
  }
  .${Vt}-note {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
  }
  .${Vt}-hint {
    font-size: 12px;
    color: #059669;
    line-height: 1.5;
  }
`;function rF({ctx:e}){let[t,n]=z(""),[r,i]=z(!1),[a,o]=z("\u7B49\u5F85\u52A0\u8F7D..."),[s,u]=z(!0),[l,c]=z(""),d=$(null),{AiWritingConfig:g,updateAiWritingConfig:f}=Ql(e),p=de(()=>g?.prompts?.polishReplyPrompt||e.config.generalRule.aiWriting?.prompts?.polishReplyPrompt||"",[g,e]),h=Te(()=>{u(!0),o("\u8BFB\u53D6\u4E2D..."),i(!1);try{n(p),o("\u8BFB\u53D6\u5B8C\u6210")}catch(y){k.error("[ai-writing:test] load prompt failed",y),o("\u8BFB\u53D6\u5931\u8D25"),i(!0)}finally{u(!1)}},[p]),C=Te(()=>{u(!0),o("\u4FDD\u5B58\u4E2D..."),i(!1);try{let y={...g?.prompts||{},polishReplyPrompt:t};f({prompts:y}),o("\u5DF2\u4FDD\u5B58\u5230\u7528\u6237\u914D\u7F6E"),c("\u4FDD\u5B58\u6210\u529F\uFF0C\u5DF2\u5199\u5165\u7528\u6237\u914D\u7F6E"),d.current&&clearTimeout(d.current),d.current=setTimeout(()=>c(""),2e3)}catch(y){k.error("[ai-writing:test] save prompt failed",y),o("\u4FDD\u5B58\u5931\u8D25"),i(!0)}finally{u(!1)}},[g?.prompts,f,t]);return G(()=>{g&&h()},[g,h]),G(()=>()=>{d.current&&clearTimeout(d.current)},[]),m("div",{class:`${Vt}-card`,children:[m("div",{class:`${Vt}-header`,children:[m("div",{class:`${Vt}-title`,children:"polishReplyPrompt"}),m("div",{class:`${Vt}-status ${r?"error":""}`,children:a})]}),m("textarea",{class:`${Vt}-textarea`,value:t,placeholder:"\u7B49\u5F85\u52A0\u8F7D...",onInput:y=>n(y.target.value),disabled:!g}),m("div",{class:`${Vt}-actions`,children:[m("button",{class:`${Vt}-btn ${Vt}-ghost`,onClick:y=>{y.preventDefault(),h()},disabled:s||!g,children:"\u91CD\u65B0\u8BFB\u53D6"}),m("button",{class:`${Vt}-btn`,onClick:y=>{y.preventDefault(),C()},disabled:s||!g,children:"\u4FDD\u5B58\u5230\u7528\u6237\u914D\u7F6E"})]}),m("p",{class:`${Vt}-note`,children:'\u9700\u786E\u4FDD\u6269\u5C55\u5DF2\u6CE8\u5165\u672C\u9875\uFF0C\u6570\u636E\u5199\u5165 generalRule["aiWriting.add"].prompts\u3002'}),l&&m("div",{class:`${Vt}-hint`,children:l})]})}var Z=`${U}-ai-writing`,Ere=`
  .${Z}-container {
    position: relative;
  }

  .${Z}-action-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
  }

  .${Z}-more-action-icon {
    cursor: pointer;
  }

  .${Z}-button {
    border-radius: 6px;
    border: 1px solid #FDEDF3;
    background: #FEF6F9;
    padding: 4px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #EA4C89;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
    min-width: 80px;
  }

  .${Z}-button .logo {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo {
    width: 22px;
    height: 22px;
    color: #EA4C89;
  }

  .icon-wrapper {
    width: 21px;
    height: 21px;
    background-color: #F3F5F6;
    cursor: pointer;
    border-radius: 4px;
  }

  .dark .icon-wrapper {
    background-color: #252626;
  }

  .icon-wrapper-no-bg {
    width: 28px;
    height: 28px;
    cursor: pointer;
    border-radius: 4px;
    background-color: unset;
  }

  .imt-icon {
    width: 28px;
    height: 28px;
    color: #999;
    cursor: pointer;
  }

  .imt-icon:hover {
    color: #666;
  }

  .icon-wrapper:hover, .icon-wrapper-no-bg:hover {
    background-color: #F6F8F9
  }

  .close-icon-wrapper:hover {
    background-color: unset;
  }

  .dark .icon-wrapper:hover, .dark .icon-wrapper-no-bg:hover {
    background-color: #2D2E2E;
  }

  .icon-wrapper:active, .icon-wrapper-no-bg:active {
    background-color: #EDF1F2;
  }

  .dark .icon-wrapper:active, .dark .icon-wrapper-no-bg:active {
    background-color: #202121;
  }
`,wre=`
  .${Z}-close-modal {
    border-radius: 12px;
    background: #FFF;
    box-shadow: 2px 10px 24px 0px rgba(14, 18, 22, 0.08);
    display: flex;
    width: 320px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    position: absolute;
    bottom: 40px;
    z-index: ${Kn};
  }

  .${Z}-close-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .${Z}-close-modal-header-title {
    color: #333;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
  }

  .${Z}-close-modal-content {
    color: #333;
    font-size: 14px;
    display: flex;
    padding: 8px 20px;
    flex-direction: column;
    background-color: #FAFBFB;
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
  }

  .radio-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 0;
  }

  .${Z}-radio-sel,
  .${Z}-radio-nor {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .${Z}-radio-sel {
    border: 2px solid #EA4C89;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .${Z}-radio-sel div {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background-color: #EA4C89;
  }

  .${Z}-radio-nor {
    border: 2px solid #d3d4d6;
  }

  .description {
    color: #999;
    font-size: 14px;
  }

  .description a {
    color: #EA4C89;
  }

  .description a:hover {
    text-decoration: underline;
  }

  .${Z}-close-modal-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    gap: 12px;
  }

  .${Z}-close-modal-footer-button {
    border-radius: 8px;
    border: 1px solid #EA4C89;
    background: #FEF6F9;
    height: 32px;
    padding: 5px 20px;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
  }

  .${Z}-close-modal-footer-button.cancel-button {
    border: 1px solid #EA4C89;
    background: #FFF;
    color: #EA4C89;
  }

  .${Z}-close-modal-footer-button.confirm-button {
    border: 1px solid #EA4C89;
    background: #EA4C89;
    color: #FFF;
  }
`,Are=`
  .${Z}-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: ${Kn-1};
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }

  .${Z}-modal {
    position: relative;
    top: 0;
    left: 0;
    z-index: ${Kn};
    display: flex;
    flex-direction: column;
    width: 650px;
    max-height: 90vh;
    box-sizing: border-box;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0px 10px 32px 0px var(--ty-8, rgba(0, 0, 0, 0.08));
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif, "PingFang SC", "Microsoft YaHei", "Apple Color Emoji", "Segoe UI Emoji";
    pointer-events: auto;
  }

  .${Z}-modal-title-text {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5;
    color: #333;
    margin-left: 12px;
  }

  .${Z}-modal.dark {
    background-color: #111;
    box-shadow: 0px 10px 32px 0px rgba(255, 255, 255, 0.10);
  }

  .${Z}-modal-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: move;
    flex-shrink: 0;
  }

  .${Z}-modal-body {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-height: 0;
  }

  .${Z}-close {
    cursor: pointer;
    font-size: 20px;
  }

  .${Z}-modal-title-left {
    display: flex;
    align-items: center;
  }

  .${Z}-modal-title-right {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .${Z}-modal-body-unavailable {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
  }
`,kre=`
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  ${Z}-loading {
    --loading-color: #f78fb6;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: block;
    margin: 12px auto;
    position: relative;
    color: white;
    left: -100px;
    box-sizing: border-box;
    animation: ${ge}ShadowRolling 1.5s linear infinite;
  }

  @keyframes ${ge}ShadowRolling {
    0%, 100% {
      box-shadow: 0px 0 rgba(255, 255, 255, 0);
    }
    12% {
      box-shadow: 100px 0 var(--loading-color);
    }
    25% {
      box-shadow: 110px 0 var(--loading-color), 100px 0 var(--loading-color);
    }
    36% {
      box-shadow: 120px 0 var(--loading-color), 110px 0 var(--loading-color), 100px 0 var(--loading-color);
    }
    50% {
      box-shadow: 130px 0 var(--loading-color), 120px 0 var(--loading-color), 110px 0 var(--loading-color), 100px 0 var(--loading-color);
    }
    62% {
      box-shadow: 130px 0 var(--loading-color), 120px 0 var(--loading-color), 110px 0 var(--loading-color);
    }
    75% {
      box-shadow: 130px 0 var(--loading-color), 120px 0 var(--loading-color);
    }
    87% {
      box-shadow: 130px 0 var(--loading-color);
    }
  }
`,Mre=`
  .${Z}-summary {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    margin: 0 20px;
    max-height: 30%;
    min-height: 0;
  }

  .${Z}-summary-title {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5;
    color: #222;
    user-select: none;
    flex-shrink: 0;
  }

  .${Z}-summary-content {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
    white-space: pre-wrap;
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    min-height: 0;
  }
`,Ire=`
  .${Z}-suggestion {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-height: 30%;
    min-height: 0;
  }

  .${Z}-suggestion-title {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5;
    color: #222;
    user-select: none;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
  }

  .${Z}-suggestion-content {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
    white-space: pre-wrap;
    flex: 1;
    overflow-y: auto;
    border-bottom: 1px solid #F3F5F6;
    padding: 0 20px;
    padding-bottom: 12px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    min-height: 0;
  }

  .${Z}-suggestion-item {
    background-color: #F3F5F6;
    border-radius: 12px;
    padding: 12px;
    margin-top: 12px;
    cursor: pointer;
    display: flex;
    gap: 8px;
  }

  .${Z}-suggestion-item:hover {
    background-color: #F6F8F9;
  }
`,Lre=`
  .${Z}-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-height: 70%;
    overflow: hidden;
  }

  .${Z}-chat-title {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5;
    color: #222;
    user-select: none;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
  }

  .${Z}-chat-content {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
    white-space: pre-wrap;
    flex: 1;
    overflow-y: auto;
    display: flex;
    gap: 12px;
    padding: 0 20px;
    padding-bottom: 12px;
    flex-direction: column;
    min-height: 0;
  }

  .${Z}-chat-content-text {
    flex: 1;
    overflow-y: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    min-height: 0;
    white-space: pre-wrap;
  }

  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  ::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
  }

  ::-webkit-scrollbar-track {
    background-color: #eee;
    border-radius: 4px;
  }

  /* \u53EF\u7F16\u8F91\u6587\u672C\u6837\u5F0F */
  .${Z}-editable-text {
    position: relative;
    border-radius: 8px;
    line-height: 1.6;
    min-height: 44px;
    outline: none;
    transition: all 0.2s ease;
    cursor: text;
    background-color: transparent;
    border: 1px solid transparent;
    box-sizing: border-box;
  }

  .${Z}-chat-content-container {
    display: flex;
    border-bottom: 1px solid #F3F5F6;
    flex: 1;
    overflow: hidden;
    min-height: 0;
  }

  .${Z}-chat-user-input {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    color: #999;
    margin-top: 8px;
    margin-bottom: 16px;
    padding: 0 20px;
    flex-shrink: 0;
    max-height: 18px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .${Z}-chat-user-input-clickable {
    cursor: pointer;
    border-radius: 4px;
    margin: 6px 18px 14px 18px;
    padding: 2px;
    transition: background-color 0.2s ease, max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .${Z}-chat-user-input-clickable:hover {
    background-color: #F8F9FA;
  }

  .${Z}-chat-user-input-clickable:active {
    background-color: #F0F2F4;
  }

  .dark .${Z}-chat-user-input-clickable:hover {
    background-color: #2D2E2E;
  }

  .dark .${Z}-chat-user-input-clickable:active {
    background-color: #202121;
  }

  .${Z}-chat-user-input-expanded {
    max-height: 120px; /* \u589E\u52A0\u8DB3\u591F\u7684\u9AD8\u5EA6\u6765\u786E\u4FDD\u52A8\u753B\u660E\u663E */
  }

  .${Z}-chat-user-input-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    transition: opacity 0.15s ease;
  }

  .${Z}-chat-user-input-expanded .${Z}-chat-user-input-content {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .${Z}-chat-user-input-arrow {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1px;
    pointer-events: none;
  }

  .${Z}-chat-user-input-arrow:hover {
    color: #666;
  }

  .${Z}-chat-action-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
  }

  .${Z}-chat-action-container-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .${Z}-chat-action-container-right {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .${Z}-stop-container {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 16px 20px;
    box-sizing: border-box;
  }

  .${Z}-stop-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
  }

  .${Z}-stop-text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #999;
  }

  .stop-icon {
    width: 20px;
    height: 20px;
  }

  .${Z}-stop-wrapper:hover .${Z}-stop-text, .${Z}-stop-wrapper:hover .stop-icon {
    color: #666;
  }
`,Dre=`
  .${Z}-textarea-container, .${Z}-input-container {
    position: relative;
    padding: 16px 20px;
    box-sizing: border-box;
    flex-shrink: 0;
  }

  .${Z}-input-container {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
  }

  .${Z}-textarea{
    width: 100%;
    height: 100px;
    border: 1px solid #ECF0F7;
    background-color: #FAFBFC;
    border-radius: 8px;
    padding: 12px;
    box-sizing: border-box;
    resize: none;
    color: #333;
  }

  .${Z}-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #fff;
    background-color: #fff;
    height: 40px;
    padding-right: 50px;
    color: #333;
  }

  .${Z}-textarea:focus, .${Z}-textarea:hover {
    border-color: #EA4C89;
    outline: none;
  }

  .${Z}-input:focus, .${Z}-input:hover {
    outline: none;
  }

  .${Z}-confirm-btn {
    position: absolute;
    right: 32px;
    bottom: 32px;
    width: 20px;
    height: 20px;
    background-color: #EA4C89;
    border-radius: 8px;
    padding: 6px;
    cursor: pointer;
  }

  .${Z}-input-container .${Z}-confirm-btn {
    right: 24px;
    bottom: 20px;
  }

  .${Z}-confirm-btn[disabled] {
    background-color: #F4A5C4;
    cursor: not-allowed;
  }

  .${Z}-confirm-btn:hover {
    background-color: #EC5E95;
  }

  .${Z}-confirm-btn:active {
    background-color: #EC5E95;
  }

  .${Z}-insert-btn {
    background-color: #EA4C89;
    border-radius: 8px;
    padding: 4px 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    gap: 4px;
  }

  .${Z}-insert-btn:hover {
    background-color: #EC5E95;
  }

  .${Z}-insert-btn:active {
    background-color: #EC5E95;
  }

  .${Z}-insert-btn:disabled {
    background-color: #F4A5C4;
    cursor: not-allowed;
  }
`,Pre=`
  .${Z}-dropdown {
    position: relative;
    display: inline-block;
  }

  .${Z}-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease-in-out;
  }

  .rotate-180 {
    transform: rotate(180deg);
  }

  .${Z}-dropdown-menu {
    position: absolute;
    min-width: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.08);
    padding: 12px 8px;
    z-index: 1000;
    top: 100%;
    left: 0;
    margin-top: 4px;
  }

  .dark .${Z}-dropdown-menu {
    background: #111;
    box-shadow: 0px 4px 16px 0px rgba(255, 255, 255, 0.10);
  }

  /* \u6A21\u5F0F\u9009\u62E9\u5668\u6837\u5F0F */
  .${Z}-mode-select-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease;
  }

  .${Z}-mode-select-trigger:hover {
    background-color: #F6F8F9;
  }

  .${Z}-mode-select-trigger.disabled {
    cursor: not-allowed;
    opacity: 0.5;
  }

  .dark .${Z}-mode-select-trigger:hover {
    background-color: #2D2E2E;
  }

  .${Z}-mode-select-menu {
    min-width: 120px;
    right: auto;
    left: 0;
  }

  .${Z}-mode-select-item {
    padding: 8px 12px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease;
  }

  .${Z}-mode-select-item:hover {
    background-color: #F6F8F9;
  }

  .${Z}-mode-select-item.active {
    color: #333;
    background-color: #F6F8F9;
  }

  .dark .${Z}-mode-select-item {
    color: #B3B3B3;
  }

  .dark .${Z}-mode-select-item:hover {
    background-color: #2D2E2E;
  }

  .dark .${Z}-mode-select-item.active {
    color: #B3B3B3;
    background-color: #2D2E2E;
  }
`,Rre=`
  .${Z}-prompt-style-in-suggestion {
    position: relative;
  }

  .${Z}-prompt-style-select {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .${Z}-prompt-style-select-disabled {
    cursor: not-allowed;
    color: #999;
  }

  .${Z}-prompt-style-select-text {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: #666;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .${Z}-prompt-style-select:hover {
    color: #333;
  }

  .${Z}-prompt-style-menu {
    position: fixed;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 10px 32px 0px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transform: translateX(-40%);
    margin-top: 4px;
    width: 440px;
    padding: 16px 20px;
    gap: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  [dir="rtl"] .${Z}-prompt-style-menu {
    bottom: 0;
    right: 0;
  }

  .${Z}-prompt-style-close-icon {
    position: absolute;
    top: 16px;
    right: 20px;
    z-index: 1001;
  }

  .${Z}-prompt-style-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 999;
    cursor: pointer;
  }

  .${Z}-prompt-style-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .${Z}-prompt-style-label {
    color: #999;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
  }

  .${Z}-prompt-style-values {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .${Z}-prompt-style-value {
    padding: 6px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
    background-color: #F3F5F6;
    border-radius: 8px;
    box-sizing: border-box;
    border: 1px solid #F3F5F6;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .${Z}-prompt-style-value:hover {
    background-color: #F6F8F9;
  }

  .${Z}-prompt-style-value.active {
    background-color: #FDEDF3;
    color: #EA4C89;
    border: 1px solid #EA4C89;
  }

  .${Z}-prompt-style-delete-icon {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 10px;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1;
  }

  .${Z}-prompt-style-value:hover .${Z}-prompt-style-delete-icon {
    opacity: 1;
  }

  .${Z}-prompt-style-menu-in-chat {
    position: fixed;
    left: 70px;
    top: unset;
    bottom: 120px;
  }

  [dir="rtl"] .${Z}-prompt-style-menu-in-chat {
    left: unset;
    right: -100px;
  }

  /* \u5411\u4E0B\u5F39\u51FA\u6837\u5F0F\u53D8\u4F53 */
  .${Z}-prompt-style-menu-bottom.${Z}-prompt-style-menu-in-chat {
    bottom: unset;
    top: 40px;
  }

  [dir="rtl"] .${Z}-prompt-style-menu-bottom.${Z}-prompt-style-menu-in-chat {
    bottom: unset;
    top: 40px;
  }

  .dark .${Z}-prompt-style-value {
    background-color: #252626;
    color: #B3B3B3;
    border: 1px solid #252626;
  }

  .dark .${Z}-prompt-style-value:hover {
    background-color: #2D2E2E;
  }

  .dark .${Z}-prompt-style-value.active {
    background-color: #2D1B1F;
    color: #EA4C89;
    border: 1px solid #EA4C89;
  }
`,Nre=`
  .${Z}-prompt-style-add-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    cursor: pointer;
  }

  .${Z}-prompt-style-add-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0px 10px 32px 0px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  }

  .${Z}-prompt-style-add-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 0;
  }

  .${Z}-prompt-style-add-modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
  }

  .${Z}-prompt-style-add-modal-close {
    width: 24px;
    height: 24px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
  }

  .${Z}-prompt-style-add-modal-close:hover {
    background-color: #F3F5F6;
  }

  .${Z}-prompt-style-add-modal-content {
    padding: 20px 24px;
  }

  .${Z}-prompt-style-add-modal-input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    background-color: #fff;
    color: #333;
  }

  .${Z}-prompt-style-add-modal-input::placeholder {
    color: #9CA3AF;
  }

  .${Z}-prompt-style-add-modal-input:focus {
    border-color: #EA4C89;
    box-shadow: 0 0 0 3px rgba(234, 76, 137, 0.1);
  }

  .${Z}-prompt-style-add-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 24px 24px;
  }

  .${Z}-prompt-style-add-modal-cancel,
  .${Z}-prompt-style-add-modal-confirm {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.2s ease;
  }

  .${Z}-prompt-style-add-modal-cancel {
    background-color: #F3F5F6;
    color: #333;
  }

  .${Z}-prompt-style-add-modal-cancel:hover {
    background-color: #E5E7EB;
  }

  .${Z}-prompt-style-add-modal-confirm {
    background-color: #EA4C89;
    color: white;
  }

  .${Z}-prompt-style-add-modal-confirm:hover:not(:disabled) {
    background-color: #d63384;
  }

  .${Z}-prompt-style-add-modal-confirm:disabled {
    background-color: #F4A5C4;
    cursor: not-allowed;
  }
`,Fre=`
  .toggle-container {
    display: flex;
    align-items: center;
  }

  .toggle-text {
    font-size: 12px;
    color: #999;
    user-select: none;
    font-weight: 400;
  }

  .dark .toggle-text {
    color: #B3B3B3;
  }

  .toggle-icon-wrapper {
    justify-content: center;
    align-items: center;
    display: flex;
  }

  [dir="rtl"] .toggle-icon-wrapper {
    transform: rotate(180deg);
  }

  .left-icon {
    margin-left: 12px;
    margin-right: 8px;
  }

  .right-icon {
    margin-left: 8px;
    margin-right: 12px;
  }

  .mini-arrow-icon {
    color: #999;
  }

  .mini-arrow-icon:hover {
    color: #666;
  }
`,Bre=`
  .${Z}-language-select {
    display: flex;
    align-items: center;
    cursor: pointer;
  }

  .language-select-gap {
    gap: 4px;
  }

  .language-select-content {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
    height: fit-content;
  }

  .language-select-dropdown-menu-search {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid #ECF0F7;
    background: #FAFBFC;
  }

  .language-select-dropdown-menu-search input::placeholder {
    color: #999;
  }

  .language-select-dropdown-menu-search input {
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    background-color: #FAFBFC;
    color: #333;
  }

  .${Z}-language-select-in-translate-result {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
  }

  .language-select-dropdown-menu {
    position: fixed;
    bottom: 120px;
    width: 200px;
    height: fit-content;
    background: white;
    border-radius: 12px;
    padding: 12px 8px;
    box-sizing: border-box;
    z-index: 1000;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.08);
    border: 1px solid #FAFBFB;
    font-size: 14px;
  }

  .language-select-dropdown-menu-content {
    height: 200px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .language-item {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    padding: 5px 8px;
    cursor: pointer;
  }

  .language-item:hover {
    background-color: #F3F5F6;
  }

  .language-item.selected {
    background-color: #F3F5F6;
  }
`,Ore=`
  .translate-btn {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    background-color: #EA4C89;
    border-radius: 6px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding: 6px 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  [dir="rtl"] .translate-btn {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }

  .translate-btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    height: 21px;
    background-color: #EA4C89;
    border-radius: 6px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 6px 8px;
    margin-left: 1px;
  }

  [dir="rtl"] .translate-btn-arrow {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-left: 0;
    margin-right: 1px;
  }

  .${Z}-translate-result {
    width: 50%;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
    padding: 0 20px;
    padding-bottom: 12px;
    box-sizing: border-box;
    border-left: 1px solid #F3F5F6;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
  }

  .${Z}-translate-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
  }

  .${Z}-translate-loading-text {
    font-size: 14px;
    font-weight: 400;
    color: #999;
    text-align: center;
  }

  .${Z}-translate-result-text.rtl {
    direction: rtl;
    text-align: right;
  }

  .${Z}-translate-result-text {
    flex: 1;
    overflow-y: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    min-height: 0;
    white-space: pre-wrap;
  }

  .${Z}-translate-result-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    margin-top: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
  }

  .${Z}-translate-result-action-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }
`,_re=`

  .${Z}-error-in-suggestion {
    margin: 12px 20px;
    box-sizing: border-box;
  }

  .${Z}-error-in-chat {
    width: 100%;
    margin: 0 20px 12px;
    box-sizing: border-box;
    background-color: #FDEDF3;
  }
`,Ure=`
  .skeleton-loader {
    padding: 0.5em 0;
  }

  .suggestion-skeleton-loader, .chat-skeleton-loader {
    padding: 0 20px;
    margin-top: 12px;
    width: 100%;
    box-sizing: border-box;
  }

  .chat-skeleton-loader {
    padding-bottom: 12px;
  }

  .skeleton-text-line {
    background-color: #e0e0e0;
    border-radius: 4px;
    height: 1em;
    margin-bottom: 0.75em;
    animation: pulse 1.5s infinite ease-in-out;
  }

  .skeleton-text-line:last-child {
    margin-bottom: 0;
  }

  .skeleton-text-line.short {
    width: 75%;
  }

  .skeleton-text-line.medium {
    width: 90%;
  }

  @keyframes pulse {
    0% {
      background-color: #e0e0e0;
    }
    50% {
      background-color: #d0d0d0;
    }
    100% {
      background-color: #e0e0e0;
    }
  }
`,jre=`
  .${Z}-onboarding-container {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 24px;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.08);
    border: 1px solid #FAFBFB;
    font-size: 14px;
    z-index: 1000;
    min-width: 257px;
    min-height: 261px;
    background: linear-gradient(172deg, rgba(255, 255, 255, 0.30) 4.48%, #FFF 37%), linear-gradient(0deg, rgba(255, 255, 255, 0.40) 0%, rgba(255, 255, 255, 0.40) 100%), radial-gradient(41.31% 49.25% at -0.55% 56.71%, #E0C4F7 0%, rgba(224, 196, 247, 0.00) 100%), radial-gradient(58.56% 56.1% at 89.69% 0%, #E0C4F6 0%, rgba(224, 196, 246, 0.00) 100%), radial-gradient(43.64% 38.74% at -0.55% 3.85%, #AED5FF 0%, rgba(174, 213, 255, 0.00) 100%), radial-gradient(69.42% 53.92% at 38.31% 20.08%, #757ED8 0%, #6B6AC0 100%), #FFF;
    filter: drop-shadow(0 4px 20px var(--ty-8, rgba(0, 0, 0, 0.08)));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    padding-bottom: 24px;
    box-sizing: border-box;
  }

  .${Z}-onboarding-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    width: 100%;
    text-align: center;
    margin: 0;
    margin-top: 12px;
  }

  .${Z}-onboarding-description {
    font-size: 14px;
    color: #333;
    text-align: center;
    margin: 0;
    margin-top: 12px;
  }

  .${Z}-onboarding-button {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
    border-radius: 8px;
    background: linear-gradient(110deg, #F497BC 17.37%, #EC4C8C 89.68%);
    padding: 6px 16px;
    cursor: pointer;
    align-self: stretch;
    text-align: center;
    margin-top: 24px;
  }

  .${Z}-onboarding-image {
    width: 88px;
    height: 88px;
    object-fit: cover;
  }

  .${Z}-onboarding-arrow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
  }
`,q6=`
  ${Ere}
  ${Are}
  ${wre}
  ${kre}
  ${D1}
  ${Mre}
  ${Ire}
  ${Lre}
  ${Dre}
  ${Pre}
  ${Rre}
  ${Nre}
  ${Fre}
  ${Bre}
  ${Ore}
  ${P1}
  ${_re}
  ${Ure}
  ${jre}
`;var zre=`${U}-ai-writing-button-root`,Ba=`${U}-ai-writing-modal-root`,Td=`${U}-ai-writing-button-container`,Hre="imt-ai-writing-test-root",Vre=`${U}-ai-writing-test-root`,O1="AI Reply",Sd=null,Jl=null,No=!1,Oa=null,K6=!1;function Gre(e){return N3()?(k.debug("[ai-writing] ai writing is disabled for this session"),!1):e.rule.aiWriting?.scene?Pe().any?(k.debug("[ai-writing] mobile is not supported"),!1):!e.rule.aiWriting?.enable||e.isAiWritingExcludeUrl?(k.debug("[ai-writing] ai writing is disabled"),!1):e.rule.aiWriting?.appendSelector?!0:(k.debug("[ai-writing] appendSelector is not set"),!1):(k.debug("[ai-writing] ai writing not supported for this site"),!1)}function Wre(){let e=document.createElement("div");return e.id=Td,e}function iF(e){Oa&&aF(e),Oa=t=>{t.key!=="Escape"&&(t.stopPropagation(),t.stopImmediatePropagation())},e.addEventListener("keydown",Oa,!1),e.addEventListener("keyup",Oa,!1),e.addEventListener("keypress",Oa,!1)}function aF(e){Oa&&(e.removeEventListener("keydown",Oa,!1),e.removeEventListener("keyup",Oa,!1),e.removeEventListener("keypress",Oa,!1))}function qre(e){oF(),Jl=e;let t=e.rule.aiWriting?.appendSelector;if(!t){k.debug("[ai-writing] no appendSelector found");return}k.debug(`[ai-writing] starting continuous monitoring for: ${t}`),sF(),Kre()}function Kre(){Sd=new MutationObserver(()=>{sF()}),Sd.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0,characterData:!0,attributeOldValue:!0})}function oF(){Sd&&(Sd.disconnect(),Sd=null,k.debug("[ai-writing] stopped MutationObserver monitoring"))}function sF(){if(!Jl)return;if(N3()){k.debug("[ai-writing] ai writing is disabled for this session"),oF();return}let e=Jl.rule.aiWriting?.appendSelector,t=Jl.rule.aiWriting?.insertBeforeSelector;if(!e)return;let n=je(e),r=document.querySelector(`#${Td}`)!==null,i=!1;n&&(t?i=je(t)!==null:i=!0),i&&!r&&!No?(k.debug("[ai-writing] required elements found, injecting component"),No=!0,setTimeout(()=>{try{if(document.querySelector(`#${Td}`)){k.debug("[ai-writing] container already exists, skipping injection");return}let o=Wre(),s=je(e);if(t){let u=je(t);u?.parentElement===s?s?.insertBefore(o,u):(s?.appendChild(o),k.debug("[ai-writing] appended to parent"))}else s?.appendChild(o),k.debug("[ai-writing] appended to parent");Qre(Jl,o)}catch(a){k.error("[ai-writing] failed to inject component:",a),No=!1}},Jl.rule.aiWriting?.injectDelay||0)):!n&&r?(k.debug("[ai-writing] required elements disappeared, removing component"),yd(Td),No=!1):r&&!No?No=!0:!r&&No&&(No=!1)}function uF(e){try{if(lF(e)){k.debug("[ai-writing] ai writing is disabled, skip init");return}if(Zre(e),!Gre(e))return;k.debug("[ai-writing] initAiWriting - starting continuous monitoring"),qre(e)}catch(t){k.error("[ai-writing] initialization failed:",t)}}function Qre(e,t){try{k.debug("[ai-writing] executing component render"),ir({id:zre,parent:t,ctx:e,Component:BN,props:{ctx:e,scene:e.rule.aiWriting?.scene||"general"},style:q6+e.rule.aiWriting?.injectCSS||""}),iF(t),k.debug("[ai-writing] component rendered successfully")}catch(n){k.error("[ai-writing] failed to render component:",n)}}function yd(e=Td){try{let t=document.querySelector(`#${e}`);t&&(t.remove(),k.debug(`[ai-writing] removed container: ${e}`))}catch(t){k.error(`[ai-writing] failed to remove container ${e}:`,t)}}async function _1(e,t){let n={...e,usageScene:"ai_writing"};if(lF(e)){k.debug("[ai-writing] ai writing is disabled");return}if(Je()){k.debug("[ai-writing] openAiWritingModal blocked in iframe/subframe");return}let r=Yre(n);if(r&&!await ry({ctx:n,usageScene:"ai_writing",service:r}))return;let i=Ba;if(document.querySelector(`#${i}`)){k.debug("[ai-writing] ai writing modal already exists, removing it"),yd(i);return}let o=ON(n),s=o.trim()&&n.rule.aiWriting?.scene||"general";se({key:"ai_writing_modal_open",ctx:n,params:{trigger:t,ai_writing_mode:n.rule.aiWriting?.mode||"simple",ai_writing_scene:s}}),ir({id:i,parent:document.body,ctx:n,Component:tF,props:{ctx:n,showModal:!0,scene:s,context:o,onCloseModal:()=>{aF(document.body),yd(i)}},style:q6+e.rule.aiWriting?.injectCSS||""}),iF(document.body)}function Yre(e){let t=Yr(e,"translationService",e.config.interfaceLanguage,[]).filter(r=>r.ai===!0&&r.config.supportFeatures?.includes("aiWriting"))||[];if(!t.length)return;if(e.rule.aiWriting?.service){let r=t.find(i=>i.id===e.rule.aiWriting?.service);if(r)return r.id}let n=t.find(r=>r.config.group==="free");if(!e.isPro&&!e.isMax)return n?.id||t[0]?.id;if(e.isMax){let r=t.find(i=>i.config.group==="max");if(r)return r.id}if(e.isPro){let r=t.find(i=>i.config.group==="pro");if(r)return r.id}return n?.id||t[0]?.id}function lF(e){try{let t=e.config.generalRule.aiWriting?.disabledAt;return t?new Date(t).getTime()<Date.now():!1}catch{return!1}}function Zre(e){if(K6)return;let t=document.getElementById(Hre);if(t){K6=!0;try{t.replaceChildren(),ir({id:Vre,parent:t,ctx:e,Component:rF,props:{ctx:e},style:nF})}catch(n){K6=!1,k.error("[ai-writing] render test panel failed:",n)}}}var dF="pro_trial_used_count",cF=!1;async function gF(e){let t=fF(e);if(!t)return!0;let n=await Jre();return n>=t?!1:(Xre(n,t),!0)}async function mF(e){if(!e.config.translationServices?.[e.translationService])return!1;let n=await le.getUserInfo();return n?!1:!!fF(e)&&!n}function fF(e){return e.config.translationServices?.[e.translationService]?.guestTrialLimit}async function Jre(){let e=await _t(dF,0);return typeof e=="number"&&Number.isFinite(e)?e:0}async function Xre(e,t){Je()||cF||(cF=!0,e<t&&await Tt(dF,e+1))}function pF(e){_e("showErrorModal",{title:oe("error.usageTips"),errMsg:oe("error.proServiceTrialLimitDescription"),action:"proServiceTrialLimit",type:"error"})}var Xl=null;async function yF(e,t,n){k.debug("[updateTranslationThemeConfig] payload",e),Xl||(Xl={translationTheme:t.config.translationTheme,translationThemePatterns:t.config.translationThemePatterns,selectTranslationFont:t.config.selectTranslationFont});let r=bn(),i={translationTheme:e.translationTheme??r.translationTheme,translationThemePatterns:e.translationThemePatterns??r.translationThemePatterns,selectTranslationFont:e.selectTranslationFont??r.selectTranslationFont};if(Object.keys(e).length||(i={translationTheme:r.translationTheme,translationThemePatterns:r.translationThemePatterns,selectTranslationFont:r.selectTranslationFont}),!(ji(i)!==ji(Xl)))return k.debug("[updateTranslationThemeConfig] skip update due to no changes"),!1;let o=n?.triggerSource==="mobileBridge",u={...o?await Xo():await pt(),...i};return o?await Uc(u):await bt(u),hF(document,Xl,i),qi().forEach(l=>{l.contentDocument&&hF(l.contentDocument,Xl,i)}),Xl={...i},!0}function hF(e,t,n){if(yf(e,n.translationTheme,n.translationThemePatterns||{},n.selectTranslationFont),!t)return;let r=cs(t.translationTheme),i=cs(n.translationTheme);$re(e,r,i)}function $re(e,t,n){let r=Object.entries(t).map(([o,s])=>({currentClass:s,nextClass:n[o]})).filter(({currentClass:o,nextClass:s})=>o&&s&&o!==s);if(r.length===0)return;let i=r.map(({currentClass:o})=>`.${o}`).join(",");if(!i)return;e.querySelectorAll(i).forEach(o=>{r.forEach(({currentClass:s,nextClass:u})=>{o.classList.contains(s)&&(typeof o.classList.replace=="function"?o.classList.replace(s,u):(o.classList.remove(s),o.classList.add(u)))})})}var eie=1e4;async function vF(e){k.debug("[pdf-bridge] \u5F00\u59CB\u5904\u7406 PDF \u7FFB\u8BD1:",e);try{if(Me()){await bF(e);return}if(await uie(e)){await he("background",{method:"openPdfViewerPage",data:{pdfUrl:e}});return}await bF(e)}catch(t){k.error("[pdf-bridge] PDF \u5904\u7406\u5931\u8D25:",t)}}async function bF(e){let t=await tie(e);if(!t){k.error("[pdf-bridge] \u65E0\u6CD5\u521B\u5EFA\u65B0\u6807\u7B7E\u9875\uFF08\u53EF\u80FD\u88AB\u6D4F\u89C8\u5668\u62E6\u622A\uFF09");return}let[n]=await Promise.allSettled([aie(e),nie(t)]);if(t.closed){k.debug("[pdf-bridge] \u6807\u7B7E\u9875\u5DF2\u5173\u95ED\uFF0C\u505C\u6B62\u5904\u7406");return}let r=n.status==="fulfilled"?n.value:null;if(!r){t.postMessage({type:"pdf-load-error",error:"PDF \u6587\u4EF6\u4E0B\u8F7D\u5931\u8D25"},"*");return}rie(t,r,e),k.debug("[pdf-bridge] PDF \u4F20\u8F93\u5B8C\u6210")}function tie(e){k.debug("[tab-manager] \u521B\u5EFA\u65B0\u6807\u7B7E\u9875");let t=`${j.APP_BASE_URL}pdf?file=${e}&loading=true`,n=globalThis.open(t,"_blank");return n?(k.debug("[tab-manager] \u65B0\u6807\u7B7E\u9875\u5DF2\u521B\u5EFA"),Promise.resolve(n)):(k.error("[tab-manager] \u65E0\u6CD5\u521B\u5EFA\u65B0\u6807\u7B7E\u9875\uFF08\u53EF\u80FD\u88AB\u6D4F\u89C8\u5668\u62E6\u622A\uFF09"),Promise.resolve(null))}function nie(e,t=eie){return new Promise(n=>{let r=!1,i=setTimeout(()=>{r||(r=!0,globalThis.removeEventListener("message",a),k.warn("[tab-manager] \u7B49\u5F85\u6807\u7B7E\u9875\u5C31\u7EEA\u8D85\u65F6\uFF0C\u7EE7\u7EED\u53D1\u9001 PDF \u6570\u636E"),n())},t),a=o=>{if(k.debug("[tab-manager] onMessage",o),o.source===e&&o.data&&o.data.type==="pdf-ready"){if(r)return;r=!0,clearTimeout(i),globalThis.removeEventListener("message",a),setTimeout(()=>{n()},500)}};globalThis.addEventListener("message",a)})}function rie(e,t,n){let r={type:"pdf-local-file",blob:t,fileName:iie(n)};e.postMessage(r,"*")}function iie(e){let t=e.split("/").pop();return decodeURIComponent(t||"")}async function aie(e,t=3e4){if(k.debug("[pdf-fetcher] \u5F00\u59CB\u83B7\u53D6 PDF:",e),!e||typeof e!="string")throw new Error("Invalid PDF URL");try{return xF(e)?await oie(e,t):await sie(e,t)}catch(n){return k.debug("[pdf-fetcher] \u83B7\u53D6 PDF \u5931\u8D25:",n),null}}function xF(e){return e.startsWith("file://")||e.startsWith("chrome-extension://")||e.startsWith("moz-extension://")||e.startsWith("safari-web-extension://")}function CF(e){return e.includes("pdf")?null:(k.warn("[pdf-fetcher] \u975E PDF \u6587\u4EF6:",e),{success:!1,error:"NOT_PDF",errorMessage:`Invalid file type: ${e}`})}async function oie(e,t){k.debug("[pdf-fetcher] \u68C0\u6D4B\u5230\u672C\u5730\u6587\u4EF6\uFF0C\u4F7F\u7528 request \u83B7\u53D6");let n=await Re({url:e,responseType:"base64",timeout:t}),r=Ki(n);k.debug("[pdf-fetcher] \u672C\u5730\u6587\u4EF6\u83B7\u53D6\u6210\u529F\uFF0C\u5927\u5C0F:",r.size,"bytes");let i=CF(r.type);if(i)throw new Error(i.errorMessage);return r}async function sie(e,t){k.debug("[pdf-fetcher] \u68C0\u6D4B\u5230\u8FDC\u7A0B\u6587\u4EF6\uFF0C\u4F7F\u7528 fetch \u83B7\u53D6");let n=new AbortController,r=setTimeout(()=>n.abort(),t);try{let i=await fetch(e,{signal:n.signal,credentials:"include",mode:"cors"});if(clearTimeout(r),!i.ok)throw k.warn("[pdf-fetcher] \u54CD\u5E94\u5931\u8D25:",i.status),new Error(`HTTP ${i.status}: ${i.statusText}`);let a=i.headers.get("content-type");if(a){let s=CF(a);if(s)throw new Error(s.errorMessage)}let o=await i.blob();return k.debug("[pdf-fetcher] \u8FDC\u7A0B\u6587\u4EF6\u83B7\u53D6\u6210\u529F\uFF0C\u5927\u5C0F:",o.size,"bytes"),o}finally{clearTimeout(r)}}async function uie(e){if(xF(e))return!0;try{return await Re({url:e,method:"HEAD",responseType:"HEAD"}),!0}catch(t){return!!(t instanceof Error&&t.message?.includes("redirect url"))}}var G1,TF=!1;async function Y6(){L1.clearStrictTicks();let e=await ot(Ne(),{});Ew(),P7(e),k.debug("[initPage] rule",location.href,e.rule?.id);let t=await Oie(e);if(t&&(e=t),pN(e),j6(e),uF(e),await hm(e),e.rule.pageType=="subtitleBuilder"){a6();return}if(e.rule.pageType=="ebookBuilder"){pR();return}if(e.rule.urlChangeDelay&&await it(e.rule.urlChangeDelay),e.rule?.waitForSelectors?.length&&await Mie(e.rule.waitForSelectors,e.rule.waitForSelectorsTimeout),e.rule.isInjectOptionsUrl){let o=Ti(e.config.useOnlineOptions),s=document.createElement("meta");s.name=U+"-options-url",s.content=o;try{document.head?.appendChild?.(s)}catch(u){k.warn("[initPage] inject options url failed",u)}}if(e.rule.initialGlobalAttributes&&fw(document.body,e.rule.initialGlobalAttributes),Uie(e),e.rule.isOnBoardingPage){document.dispatchEvent(new CustomEvent(tn,{detail:JSON.stringify({type:"currentConfig",payload:{enableDefaultAlwaysTranslatedUrls:!!e.config.enableDefaultAlwaysTranslatedUrls}})}));let o=document.querySelector("#immersiveTranslateEnableDefaultAlwaysTranslatedUrlsValue");o&&(o.value="helloworld",o.value=String(!!e.config.enableDefaultAlwaysTranslatedUrls),o.dispatchEvent(new Event("change")))}TF||(TF=!0,Je()&&e.rule.useIframePostMessage&&await nS());let n=e.sourceLanguage;n==="auto"?n=await EF():Fr(n);let r=XC(e,n);if(r&&(e=await ot(Ne(),{translationMode:r})),e.rule.isInjectMeta)try{let o=await Tu(n,e.targetLanguage),s=document.createElement("meta");s.name=U+"-meta",s.content=bc(JSON.stringify(o)),document.head?.appendChild?.(s)}catch(o){k.warn("[initPage] inject meta failed",o)}await Gie(e),await _ie(e);let i=await Nie(e,n);Yy(e);let a=ze();if(i)a.state.isAutoTranslate=!0,dm(document.documentElement)&&globalThis.parent!=globalThis.self?En("Translated"):Kr(a);else if(e.rule.initTranslationServiceAsSoonAsPossible&&e.translationService==="deepl"&&(qa(n,e.targetLanguage,{ignoreZhCNandZhTW:e.rule.ignoreZhCNandZhTW})||n==="auto"))return;if(e.rule.immediatelyInjectedCss)try{qt(document,e.rule.immediatelyInjectedCss.join(`
`),U+"-immediately-injected-css")}catch(o){k.warn("[initPage] inject immediately css error",o)}}async function lie(){if(!Je())return null;try{return await he({type:"content",name:"main_top",topFrame:!0},{method:"getTranslationStateSnapshot"})}catch(e){return k.debug("[initPage] iframe sync snapshot failed",e),null}}var SF=0;async function cie(e){let t=ze();if(Date.now()-SF<100)return;SF=Date.now();let n=e?.currentPageStatus||rt();if(n==="Original"){let r={};G1&&(r.translationTheme=G1),t&&(r={...t.state,...r}),await Kr(t,e)}else["Translated","Error"].includes(n)&&Fo()}async function die(){let e=ze()||await ot(Ne(),{});Pu()=="Original"?nk(e):(ak(),Or("Original"))}async function gie(){let e=ze()||await ot(Ne(),{});await Ie.memory.set("enableEditTranslation",!e?.config.enableEditTranslation);let t=await Ie.memory.get("enableEditTranslation",!1);e&&(e.config.enableEditTranslation=t);let n=Lf();n&&(n.ctx.config.enableEditTranslation=t),document.querySelectorAll("[data-imt-p]").forEach(r=>{function i(a){t?a.setAttribute("contenteditable","true"):a.removeAttribute("contenteditable")}i(r)})}async function mie(){let e=await ot(Ne(),{});if(e.rule.pageType=="ebookBuilder")return hR(e);if(e.rule.pageType=="subtitleBuilder")return mR(e);CA()}async function mb(e){let t=ze();if(rt()==="Original"){t=await ot(Ne(),{}),G1||(G1=t.state.translationTheme);let n="mask";t.state.translationTheme==="opacity"&&(n="opacity"),t=await ot(Ne(),{translationTheme:n}),await Kr(t,e)}else if(rt()==="Translated"){let n="mask";t?.state?.translationTheme==="opacity"&&(n="opacity");let r=qi().filter(o=>o.contentDocument?.body).map(o=>o.contentDocument.body),i=[t.mainFrame,...r],a=t?.state.translationTheme;for(let o of i){let s=Gx(o,Gs,!0);a==="mask"||a==="opacity"?s!=="none"?cn(o,Gs,"none",!0):cn(o,Gs,n,!0):s!=="mask"&&s!=="opacity"?cn(o,Gs,n,!0):cn(o,Gs,"none",!0)}}}async function EF(){let e=await ot(Ne(),{});return e.rule.pageType=="subtitleBuilder"?a6():xA(e)}function fie(e){rt()==="Original"?gR(e):o6()}function pie(e){rt()==="Original"?(bie(e.config?.conflictOtherTranslator||[]),hie(e)):wF()}function hie(e){Df(e),B6()}function wF(){B6(),vo()}async function Fo(){Wc(""),document.dispatchEvent(new CustomEvent(tn,{detail:JSON.stringify({type:"restorePage",payload:{}})}));let e=await ot(Ne(),{});if(e.rule.pageType=="subtitleBuilder"){o6();return}else e.rule.pageType=="ebookBuilder"&&yR(e);wF()}function yie(e){if(e.config.sameLangCheck&&!(e.rule.detectParagraphLanguage||e.state.isDetectParagraphLanguage)&&dn()==e.targetLanguage){if(document.body?.innerText.length<100&&globalThis.self!==globalThis.top)return;_e("showToast",{type:"sameLang"})}}function bie(e){let t="",n=e;for(let r of n)if(document.querySelector(r.selector)!==null){t=r.name;break}t&&_e("showToast",{type:"conflictOther",msg:oe("conflictOtherTranslator",{name:t})})}async function Kr(e,t){if(globalThis.self!==globalThis.top&&globalThis.self.innerWidth===0&&globalThis.self.innerHeight===0)return;let n=e;if(t&&(n=await ot(Ne(),t)),!await In({ctx:n,usageScene:"web_page",service:n.translationService}))return;if(await mF(n)&&!await gF(n)){pF(n);return}if(yie(n),rt()!=="Original"&&await Fo(),iw(),document.dispatchEvent(new CustomEvent(tn,{detail:JSON.stringify({type:"translateStart",payload:{}})})),document.dispatchEvent(new CustomEvent(tn,{detail:JSON.stringify({type:"targetLanguage",payload:{targetLanguage:n.targetLanguage}})})),n.specialAiAssistant=xa(n,n.translationService,!0),Rie(n,t),n.rule.pageType=="subtitleBuilder"){fie(n),Wc("yes");return}if(n.rule.pageType=="ebookBuilder"){bR(n),Wc("yes");return}pie(n),Wc("yes")}async function vie(e,t){let n=ze(),r=n?.translationService;if(rt()==="Original"||r!=e){n=await ot(Ne(),{translationService:e});let i=Yn(n.config,e),a=oe("tempChangeTransToService",{service:i});Id({text:a}),await Kr(n,t)}else{Fo();let i=await Qe(),a={url:Ne(),config:i,state:{}},o=await on(a);n=await ot(Ne(),{translationService:o.translationService})}}async function xie(e){let t=ze();rt()==="Original"?await Q6(e):(rt()==="Translated"||rt()==="Error")&&(t=await ot(Ne(),{}),t.state.translationArea!=="main"?await Q6(e):Fo())}async function Q6(e){let t=await ot(Ne(),{translationArea:"main"});await Kr(t,e)}async function AF(e){let t=await ot(Ne(),{translationArea:"body"});await Kr(t,e)}async function Cie(e){let t=await Ve({text:e,ignorePageLang:!0});return Fr(t),t}async function fb(e){let t=await ot(Ne(),{}),n=t.state.translationMode=="dual"?"translation":"dual";if(t=await ot(Ne(),{translationMode:n}),rt()==="Original"){Kr(t,e);return}globalThis.immersiveTranslateSwitchTranslateState&&globalThis.immersiveTranslateSwitchTranslateState(n)}async function Tie(e){let t=ze();await yF(e||{},await ot(Ne(),{translationTheme:e.translationTheme||t?.config?.translationTheme}),{triggerSource:e?.triggerSource}),await Di()}async function kF(e,t){let{remember:n,triggerSource:r}=t||{},i=await ot(Ne(),{translationMode:e});if(se({key:"switch_translation_mode",params:{mode:e},ctx:{...i,sourceLanguage:"unknown"}}),n){let s={...await pt(),translationMode:e};r==="mobileBridge"?await Uc(s):await bt(s),await Di()}if(rt()==="Original"){Kr(i);return}globalThis.immersiveTranslateSwitchTranslateState&&globalThis.immersiveTranslateSwitchTranslateState(e)}async function Sie(e){let t=ze();if(rt()==="Original")await AF(e);else if(rt()==="Translated"||rt()==="Error"){let n={};t&&t.state&&(n=t.state),t=await ot(Ne(),n),t.state.translationArea!=="body"?(t.state.translationArea="body",t=await ot(Ne(),t.state),await Kr(t,e)):Fo()}}async function MF(e){let t=await ot(Ne(),{translationStartMode:"immediate"});await Kr(t,e)}async function Eie(e){rt()==="Original"?await MF(e):(rt()==="Translated"||rt()==="Error")&&Fo()}async function IF(){let e=await ot(Ne(),{});if(!Ke(e.url,e.config.inputStyleBlockUrls)){let n=lt()["input.css"];qt(document,n,zd)}e.rule.pageType&&e.rule.pageType!=="html"||e.config.enableInputTranslation&&ib(e)}async function ot(e,t,n){let r=ze(),i=r?.state?.translationMode,a=r,o=Object.keys(t);if(!a||n){let s=await Qe(),u=t;o.length===0&&(u=void 0),a=await on({url:e,config:s,state:u})}else{let s={url:e,config:a.config,state:{...a.state,...t}};a=await on(s)}return a.state?.translationService&&(a.translationService=a.state.translationService),a.state?.subtitleTranslateService&&(a.subtitleTranslateService=a.state.subtitleTranslateService),a.state?.targetLanguage&&(a.targetLanguage=a.state.targetLanguage),i&&(a.state.previousTranslationMode=i),wie(a),Ea(a),a}function wie(e){e.state?.usageScene&&(e.usageScene=e.state.usageScene)}async function Aie(){let e=await pt()||{},t=e.generalRule||{},n=t["subtitleRule.add"]||{},r=!n.preTranslation;await bt({...e,generalRule:{...t,"subtitleRule.add":{...n,preTranslation:r}}}),r?Id({text:oe("videoSubtitlePreTranslationOn")}):Id({text:oe("videoSubtitlePreTranslationOff")}),setTimeout(()=>{window.location.reload()},1e3)}async function Di(){let e=await Qe(),t=await Ie.memory.get("enableEditTranslation",!1);t!=null&&(e.enableEditTranslation=t);let n,r=ze();r&&r.state&&(n=r.state);let i={url:Ne(),config:e,state:n},a=await on(i);return a.state.translationService&&(a.translationService=a.state.translationService),a.state.targetLanguage&&(a.targetLanguage=a.state.targetLanguage),wy(a),kie(a),Ea(a),a}function kie(e){od(e,window),Yy(e),ib(e),j6(e)}function Mie(e,t=3e3){return new Promise((n,r)=>{let i=t?setTimeout(()=>{n(new Error("timeout"))},t):void 0,a=setInterval(()=>{e.every(s=>document.querySelector(s)!==null)&&(clearInterval(a),i&&clearTimeout(i),n(null))},50)})}async function Iie(e){let t=e.detail;await le.setUserToken(t.token);let n=await le.getValue(Sh,!1);le.setValue(Sh,!1),await Promise.all([St.get("v1/user").then(r=>le.saveUserInfo(r)),async()=>{if(Mt(t))return await St.get("v1/user/settings").then(r=>bt(r))}]),document.dispatchEvent(new CustomEvent(ge+"DocumentMessageUserResult",{detail:n?"close":"success"})),Eg(),wg(),he({type:"side_panel",name:"reward_center"},{method:"updateContext"},!0)}function Lie(e){k.debug("update user info",e);let t=e.detail;le.saveUserInfo(t),Eg(),wg(),Di(),he({type:"side_panel",name:"reward_center"},{method:"updateContext"},!0)}async function Die(e){let t=await pt();if(t.translationService)return;let n=e.config.translationService,r=await Co(e,n);if(e.translationService===r)return;if(!r){se({key:"no_avaliable_translation_service",ctx:e});return}let i=Ya({state:t,config:e.config,serviceType:"translationService",serviceId:r});bt(i),e.translationService=r,se({key:"change_default_translation_service",params:{translation_service:r},ctx:e})}async function Pie(e,t){let n=t.detail;if(!e.rule.allowInnerInvoke)return;let r=n.translateService;if(!r)return;let[i]=Vo(e.config,[r])||[],a=await pt(),o=Ya({state:a,config:e.config,serviceType:"translationService",serviceId:i});bt(o)}async function Co(e,t,n=!0,r,i=!0){let a=r||e.rule.detectionServiceOrder||["google","bing","transmart","yandex"];return a=Ha(e,a,{filterHiddenFreeModel:i}),a.sort((o,s)=>o===t?n?-1:1:s===t?n?1:-1:0),await Ju(a,e)}async function Ol(e,t){let n=await pt(),r=Ya({state:n,config:e,serviceType:"translationService",serviceId:t});await bt(r);let i=await PF({translationService:t});await Kr(i)}var Z6={interfaceLanguage:"",targetLanguage:"",translationService:"",aiAssistantIds:[],subtitleTranslateService:"",inputTranslationService:"",mouseHoverTranslationService:"",protocolAgreeVersion:"",isEnableGuideTips:!1,isEnableNotification:!1,forceAutoTranslate:!1,translationTheme:"",translationMode:"dual",translationThemePatterns:{},selectTranslationFont:""};async function LF(e,t){let{triggerSource:n,...r}=t,i=await pt(),a=!1,o=!1;return Object.keys(Z6).forEach(s=>{let u=r[s];if(u!=null){if((s==="targetLanguage"||s==="interfaceLanguage")&&(u=ye(u),u!==i[s]&&(o=!0)),s.endsWith("Service")){let[l]=Vo(e.config,[u])||[];i=Ya({state:i,config:e.config,serviceType:s,serviceId:l}),a=!0;return}i[s]=u,a=!0}}),i?.interfaceLanguage&&ng(i.interfaceLanguage),a&&(n==="mobileBridge"?await Uc(i):(Yi(i),await bt(i)),e=await Di()),o&&se({key:"init_page_daily",ctx:e,forceDaily:!0}),await DF(e,{triggerSource:n})}async function DF(e,t){let n=e.config,r={};if(Object.keys(Z6).forEach(i=>{n[i]!=null&&(r[i]=n[i])}),t?.triggerSource==="mobileBridge"){let i=await Xo();Object.assign(r,r3(i))}return r}async function PF(e){let t=await ot(Ne(),e);return Ms("syncContextState",e),e?.targetLanguage&&es({targetLanguage:e.targetLanguage}),t}function Rie(e,t){if(Je())return;let n={};t&&t.trigger&&(n.trigger=t.trigger),se({key:"translage_page_daily",params:n,ctx:e}),se({key:"translate_page",params:n,ctx:{...e,sourceLanguage:dn()}}),Dr("translate_web_1",e);let r=e.config.translationServices?.[e.translationService];r.assistantId&&r.assistantId!="common"&&se({key:"assistant_translate_page",params:{...n,ai_assistant:r.assistantId,ai_assistant_use:e.specialAiAssistant?.id||"common"},ctx:{...e,sourceLanguage:dn()}})}async function Nie(e,t){let n=await lie();n?.state&&Object.keys(n.state).length>0&&(e=await ot(Ne(),n.state));let r=!!e.config.forceAutoTranslate||Fie(e);return!r&&t!="auto"&&!qa(t,e.targetLanguage,{ignoreZhCNandZhTW:e.rule.ignoreZhCNandZhTW})&&rS(t,e.config.translationLanguagePattern)&&(r=!0),!r&&await _7(e)&&(r=!0,k.debug("[initPage] auto translate by referrer")),!r&&Je()&&n?.pageStatus==="Translated"&&rt()==="Original"&&(r=!0),r&&Ke(e.url,e.config.translationUrlPattern.excludeMatches)&&(k.debug("[initPage] disable auto translate by exclude url"),r=!1),r}function Fie(e){let t=ze()||e,n=new URL(e.url).searchParams;return!!e.config.autoTranslateParams?.find(i=>{let a=n.get(i)||"";if(i=="crosearch_translate"){let o=n.get("output_locale");o&&(t.state.targetLanguage=ye(o),t.targetLanguage=ye(o))}return["1","true"].includes(a)})||e.state.isAutoTranslate||e.isTranslateUrl}var Bie=["translationMode","translationArea","isAutoTranslate","translationService","targetLanguage","subtitleTranslateService"];async function Oie(e){let t=ma+"_set_state_";try{let n=[];new URL($7()||location.href).searchParams.forEach((a,o)=>{o.startsWith(t)&&n.push([o,a])});let i={};for(let[a,o]of n){let s=a.replace(t,"");if(!Bie.includes(s))return;i[s]=o}return Object.keys(i).length?await ot(Ne(),i):void 0}catch(n){k.error(n)}}async function _ie(e){let t=ma+"_set_";try{let n=[];new URL(location.href).searchParams.forEach((a,o)=>{o.startsWith(t)&&n.push([o,a])});let i={};for(let[a,o]of n){let s=a.replace(t,"");if(Z6[s]==null)return;i[s]=o}if(!Object.keys(i).length)return;await LF(e,i)}catch(n){k.error(n)}}async function Uie(e){let t=e.config.arxivRule;if(!t?.matches||!Ke(e.url,t.matches))return;let r=document.querySelector(t.injectContainerSelector);if(!r)return;let o=new URL(e.url).pathname.split("/").pop();for(let s of t.detectOrders)try{await Re({url:`${s}/`+o,responseType:"HEAD",method:"HEAD"});let u=document.createElement("li");u.innerHTML=`<a target="_blank" href="${s}/${o}?_immersive_translate_auto_translate=1" aria-describedby="download-button-info" accesskey="f" class="abs-button download-pdf">${oe("viewWithImmersiveTranslate")}</a>`,r.appendChild(u);break}catch{}}function jie(e,{text:t,trigger:n}){let r=document.activeElement;r&&(r.tagName!=="INPUT"&&r.tagName!=="TEXTAREA"&&!r.isContentEditable||sb(e,window,t,n))}function zie(e,{text:t,trigger:n}){let r=globalThis.getSelection();if(!t||!r||r.isCollapsed)return;let i=r.rangeCount>0?r.getRangeAt(0):null;if(!i)return;let a=z6(r);V6({selection:{text:t,range:i,rect:i.getBoundingClientRect(),contextText:a},ctx:e,trigger:n})}function Hie(e,{translation_service:t}){se({key:"change_translate_service",params:{translation_service:t},ctx:e})}function Vie(e,{key:t,params:n,forceDaily:r,trigger:i,ignoreGA:a}){n={...n},i&&!n?.trigger&&(n.trigger=i),se({key:t,params:n,ctx:e,forceDaily:r,ignoreGA:a})}async function Gie(e){let n=new URL(e.url).searchParams.get("imt_refresh_rule");["1","true"].includes(n||"")&&await J0()}Ek({detectCurrentPageLanguage:EF,ensureSwitchTranslationMode:fb,restorePage:Fo,retryFailedParagraphs:mie,switchTranslationMode:kF,toggleTranslateManga:die,toggleTranslatePage:cie,toggleTranslateTheMainPage:xie,toggleTranslateTheWholePage:Sie,toggleTranslationMask:mb,toggleEnableEditTranslation:gie,toggleVideoSubtitlePreTranslation:Aie,translatePage:Kr,translatePageWithTranslationService:vie,translateTheMainPage:Q6,translateTheWholePage:AF,translateToThePageEndImmediately:MF,toggleTranslateToThePageEndImmediately:Eie,updateGlobalContext:Di,getIsDulSubtitle:DR,updateContextState:PF,inputSelectedTextTranslate:jie,reportTranslateService:Hie,popupEventReport:Vie,updateFloatBallEnable:hN,translateSelectImage:PP,selectionTranslate:zie,openAiWritingModal:_1,translatePdfWithNewTab:vF});uR({changeToEngine:Pie,changeToSuccessFreeEngine:Die,detectSetLanguage:Cie,getGlobalContext:ot,getMiniConfig:DF,initPage:Y6,loginSuccessUpdateUser:Iie,onlyUpdateUser:Lie,restorePage:Fo,setMiniConfig:LF,switchTranslationMode:kF,translatePage:Kr,updateTranslationThemeConfig:Tie});var Wie=!1;async function RF(e){if(!Je()){if(!e){let t=await Qe(),n={url:globalThis.location.href,config:t};e=await on(n)}e.config.debug&&k.setLevel("debug"),Wie=!0,_6().catch(t=>{k.debug("init popup error",t)})}}async function NF(e){if(!e){let n=await Qe();e=await on({config:n,url:Ne()})}if(e.config.debug?k.setLevel("debug"):k.setLevel("info"),!e.isBlockByUrl){if(e.rule.pageType=="ebookReader"||e.rule.pageType=="ebookBuilder"){if(e.rule.isInjectMeta){try{let n=await Tu("auto",e.targetLanguage),r=document.createElement("meta");r.name=U+"-meta",r.content=bc(JSON.stringify(n)),document.head?.appendChild?.(r)}catch(n){k.warn("inject meta failed",n)}if(e.rule.isInjectOptionsUrl){let n=Ti(e.config.useOnlineOptions),r=document.createElement("meta");r.name=U+"-options-url",r.content=n;try{document.head?.appendChild?.(r)}catch(i){k.warn("inject options url failed",i)}}if(e.rule.isInjectVersion){let n=vn(),r=document.createElement("meta");r.name=U+"-version",r.content=n;try{document.head?.appendChild?.(r)}catch(i){k.warn("inject version failed",i)}}}}else j7(e),Y6();Je()||mD()}RF(e).catch(n=>{k.error(`init popup page error: ${n}`)}),zf(e),await IF(),await cD(e)}var Ed={capture:!0,once:!0,passive:!0},OF=()=>document.readyState==="interactive"||document.readyState==="complete",qie=e=>document.readyState===e,wd=(e,t)=>qie(e)||OF()?(t(e),!0):!1,Kie=()=>new Promise(e=>{wd("loading",e)||document.addEventListener("readystatechange",()=>{document.readyState==="loading"&&e("loading")},Ed)}),Qie=()=>new Promise(e=>{wd("interactive",e)||document.addEventListener("readystatechange",()=>{document.readyState==="interactive"&&e("interactive")},Ed)}),Yie=()=>new Promise(e=>{wd("complete",e)||document.addEventListener("readystatechange",()=>{document.readyState==="complete"&&e("complete")},Ed)}),FF=()=>new Promise(e=>{wd("domready",e)||document.addEventListener("DOMContentLoaded",()=>{e("domready")},Ed)}),BF=()=>new Promise(e=>{wd("load",e)||window.addEventListener("load",()=>{e("load")},Ed)}),_F={};Object.defineProperties(_F,{state:{get:function(){return document.readyState}},loading:{get:function(){return Kie()}},interactive:{get:function(){return Qie()}},complete:{get:function(){return Yie()}},window:{get:function(){return BF()}},load:{get:function(){return BF()}},domready:{get:function(){return FF()}},dom:{get:function(){return FF()}},ready:{get:function(){return OF()}}});var UF=_F;var jF={NOT_FUNCTION:"Your executor is not a function. functions and promises are valid.",FAILED_TO_WAIT:"Failed to wait"};function Zie(e){return()=>Promise.resolve().then(()=>e()).catch(t=>{throw t})}function Jie(e){if(typeof e!="function")throw new Error(jF.NOT_FUNCTION)}var J6=class{_interval;_timeout;_stopOnFailure;_backoffFactor;_backoffMaxInterval;_Console;originalStacktraceError;_userMessage;_verbose;_isWaiting;_isResolved;_executeFn;start;promise;resolve;reject;_lastError;constructor({interval:t=100,timeout:n=1e3,stopOnFailure:r=!1,verbose:i=!1,backoffFactor:a=1,backoffMaxInterval:o,message:s=""}={}){this._interval=t,this._timeout=n,this._stopOnFailure=r,this._isWaiting=!1,this._isResolved=!1,this._verbose=i,this._userMessage=s,this.originalStacktraceError=new Error,this._Console=console,this._backoffFactor=a,this._backoffMaxInterval=o||n,this.start=+Date.now()}tryEvery(t){return this._interval=t,this}stopAfter(t){return this._timeout=t,this}execute(t){return this._applyPromiseHandlers(),Jie(t),this._executeFn=Zie(t),this.start=Date.now(),this._isWaiting=!0,this._log("starting to execute"),this._runFunction(),this.promise}getPromise(){return this.promise}isResolved(){return this._isResolved}isWaiting(){return this._isWaiting}stopOnFailure(t){return this._stopOnFailure=t,this}_applyPromiseHandlers(){this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n})}_timeFromStart(){return Date.now()-this.start}_shouldStopTrying(){return this._timeFromStart()>this._timeout}_executeAgain(){this._log("executing again");let t=this._interval,n=t*this._backoffFactor;this._interval=n>this._backoffMaxInterval?this._backoffMaxInterval:n,setTimeout(this._runFunction.bind(this),t)}_failedToWait(){let t=`${jF.FAILED_TO_WAIT} after ${this._timeFromStart()}ms`;if(this._userMessage&&(t=`${t}: ${this._userMessage}`),this._lastError){this._lastError.message=`${t}
${this._lastError.message}`;let n=this.originalStacktraceError.stack;n&&(this._lastError.stack+=n.substring(n.indexOf(`
`)+1))}else this._lastError=this.originalStacktraceError,this._lastError.message=t;return this._log(this._lastError),this._lastError}_runFunction(){if(this._shouldStopTrying()){this._isWaiting=!1,this.reject?.(this._failedToWait());return}this._executeFn().then(t=>{if(t===!1){this._log(`then execute again with result: ${t}`),this._executeAgain();return}this.resolve?.(t),this._isWaiting=!1,this._isResolved=!0,this._log(`then done waiting with result: ${t}`)}).catch(t=>this._stopOnFailure?(this._log(`stopped on failure with err: ${t}`),this.reject?.(t)):(this._lastError=t,this._log(`catch with err: ${t}`),this._executeAgain()))}_log(t){this._verbose&&this._Console&&this._Console.log&&this._Console.log(t)}},zF=(e,t)=>new J6(t).execute(e);async function HF(e){try{let t=e.config.domReadyDetectTimeout;return await zF(()=>{let r=(e.mainFrame||document.body)?.innerText||"";if(du(r,e.rule.mainFrameMinTextCount,e.rule.mainFrameMinWordCount))return!0;throw new Error("there is no main text")},{timeout:t!==void 0?t:3e3}),!0}catch(t){if(Je())throw t;return k.debug("check dom element ready failed:",t,e),!0}}function VF(){let e=document.querySelector(`meta[name=${U}-options]`);return!!(e&&e.getAttribute("content")==="true")}async function GF(){if(!document.getElementById(U+"-status")){k.error("Could not find status element");return}await X6("local"),await X6("sync"),$ie();let t=document.getElementById(U+"-page-ready");t&&setTimeout(()=>{t.value="true",t.dispatchEvent(new Event("change"))},100)}async function Xie(e,t){let n;try{n=JSON.parse(e.detail)}catch(i){k.error("parse detail failed",i);return}let r=n.id||"default";try{let i=n.data||{},a=await t(i),o={id:r,ok:!0,data:a};document.dispatchEvent(new CustomEvent(fh,{detail:JSON.stringify({...o,type:"answer"})}))}catch(i){let a={ok:!1,errorName:i.name,errorMessage:i.message,errorDetails:i.details||i.detail};document.dispatchEvent(new CustomEvent(fh,{detail:JSON.stringify({...a,id:r,type:"answer"})}))}}function $ie(){document.addEventListener(z5,r=>{let i=r;if(k.debug("document message",i),i&&i.detail){let a;try{a=JSON.parse(i.detail)}catch(o){k.error("parse detail failed",o);return}a.type==="ask"&&a.method==="request"&&Xie(i,Re)}});let e=document.getElementById(U+"-manifest");if(!e){k.error("Could not find manifest element");return}let t=Be.runtime.getManifest();Ot()&&(t._isSafari=!0),e.value=JSON.stringify(t),e.dispatchEvent(new Event("change")),document.getElementById(`${U}-message`).addEventListener("change",r=>{try{let i=JSON.parse(r.target.value);i&&i.method==="removeStorageKey"&&i.data&&i.data.area&&i.data.keys&&(Be.storage[i.data.area].remove(i.data.keys),X6(i.data.area))}catch(i){k.error("parse message error",i)}})}async function X6(e){let t=document.getElementById(U+"-status"),n=document.getElementById(`${U}-${e}-storage`);if(n){k.debug("init storage");let r=await Be.storage[e].get(null);n.value=JSON.stringify(r),n.dispatchEvent(new Event("change")),n.addEventListener("change",i=>{try{let a=JSON.parse(i.target.value);Be.storage[e].set(a)}catch(a){k.error("save to storage error",a)}}),n.addEventListener("refresh-"+e,async i=>{let a=await Be.storage[e].get(null);n.value=JSON.stringify(a),k.debug("refresh ",e,"storage")})}else{k.error(`Could not find storage ${e} element`),t.innerText="Could not find storage local input element";return}}async function WF(){await sg(),await R8()}async function qF(){}async function YF(){try{await sg();let e=await sae(Ne(),{});if(MP(),e.isBlockByUrl)return;oae(e);let t=e.rule.subtitleRule;t&&t.type&&!t.disabled&&t.isInject&&(eae(),rae());let n=e.rule.imageRule;n?.enable&&n.type==="manga"&&tae(),aae(e)}catch{}}function eae(){if(Me())try{globalThis.trustedTypes.defaultPolicy=trustedTypes.createPolicy("default",{createHTML:e=>e,createScript:e=>e})}catch(e){k.error("breakTrustedTypes error",e)}}async function tae(){Me()?KF():await nae()||KF()}function KF(){let t=lt().imageInject,n=document.createElement("script");return n.id="imt-image-inject",n.textContent=t,n.setAttribute("async","true"),W1(document,n)}function nae(){let e=Be.runtime.getURL("image/inject.js");if(document.querySelector(`script[src='${e}']`))return;let n=document.createElement("script");return n.src=e,n.id="imt-image-inject",n.setAttribute("async","true"),W1(document,n)}async function rae(){Me()?QF():await iae()||QF()}function QF(){let t=lt().videoSubtitleInject,n=document.createElement("script");return n.id="imt-subtitles-inject",n.textContent=t,n.setAttribute("async","true"),W1(document,n)}function iae(){let e=Be.runtime.getURL("video-subtitle/inject.js");if(document.querySelector(`script[src='${e}']`))return;let n=document.createElement("script");return n.src=e,n.setAttribute("async","true"),n.id="imt-subtitles-inject",W1(document,n)}function W1(e,t){return t.async=!1,t.defer=!1,new Promise(n=>{e.head?e.head.insertBefore(t,e.head.firstChild):setTimeout(()=>{e.head?.insertBefore(t,e.head?.firstChild)});let r;t.onload=()=>{n(!0),r&&clearTimeout(r)},r=setTimeout(()=>{n(!1)},300)})}function aae(e){if(!(!kt()&&!Ze()&&!id()))if(Me()){qF();return}else{let t=Be.runtime.getURL("browser-bridge/inject.js");if(document.querySelector(`script[src='${t}']`))return;let r=document.createElement("script");r.src=t,r.id="imt-browser-bridge-inject",r.setAttribute("async","true"),document.head?.insertBefore(r,document.head?.firstChild)}}function oae(e){Ls.handleMessages(({id:t,type:n})=>{if(n==="getConfig"){let r=e.rule.subtitleRule;Ls.sendMessages({id:t,data:r})}})}var $l=null;async function sae(e,t){let n=Object.keys(t);if($l){let r={url:e,config:$l.config,state:{...$l.state,...t}};$l=await on(r)}else{let r=await Qe(),i=t;n.length===0&&(i=void 0),$l=await on({url:e,config:r,state:i})}return $l}var ZF=["textarea","input","button","select","option","iframe","strong","form","body"];async function uae(){_T(),Sm(),kk(),Je()||(X7(Ne()),es({})),await WF(),YF();let e=await Qe(),t=Ne(),n=await on({config:e,url:t});if(Ea(n),VF()){k.debug("[entry] detect web options page"),od(n,window),GF();return}!n.config.enabled||(await lae(n.rule.isInjectVersion),Ke(n.url,n.config.blockUrls))||(await OM(n),await Promise.race([UF?.domready,new Promise(a=>setTimeout(a,n.rule.domCheckTimeout||100))]),!await HF(n))||(se({key:"init_page_daily",ctx:n}),od(n,window),cae(e),await NF(n))}function lae(e){if(!e)return;let t=vn(),n=document.createElement("meta");return n.name=U+"-version",n.content=t,n}function cae(e){e.excludeTranslationHtmlTags&&(ZF=e.excludeTranslationHtmlTags),at.addHook("beforeSanitizeElements",function(t,n,r){let i=(t.nodeName||"").toLowerCase();if(ZF.includes(i)){let o=`<${i}>${t.textContent||""}</${i}>`,s=document.createTextNode(o);return t.replaceWith(s),t}return t}),at.addHook("uponSanitizeElement",function(t,n){let r=t.nodeName||"";/\d+$/.test(r)&&(n.allowedTags[n.tagName]=!0),wc(t.tagName)&&(n.allowedTags[t.tagName.toLowerCase()]=!0)}),at.addHook("uponSanitizeAttribute",function(t,n){wc(t.tagName)&&(n.allowedAttributes[n.attrName.toLowerCase()]=!0)})}uae().catch(e=>{k.debug("[entry] init error",e)});})();
/*!
 * Toastify js 1.12.0
 * https://github.com/apvarun/toastify-js
 * @license MIT licensed
 *
 * Copyright (C) 2018 Varun A P
 */
/*! Bundled license information:

bowser/src/bowser.js:
  (*!
   * Bowser - a browser detector
   * https://github.com/lancedikson/bowser
   * MIT License | (c) Dustin Diaz 2012-2015
   * MIT License | (c) Denis Demchenko 2015-2019
   *)
*/
/*! Bundled license information:

dompurify/dist/purify.es.js:
  (*! @license DOMPurify 3.0.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.3/LICENSE *)
*/
/*! Bundled license information:

js-yaml/dist/js-yaml.mjs:
  (*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT *)
*/
/*! Bundled license information:

lottie-web/build/player/lottie.js:
  (*!
   Transformation Matrix v2.0
   (c) Epistemex 2014-2015
   www.epistemex.com
   By Ken Fyrstenberg
   Contributions by leeoniya.
   License: MIT, header required.
   *)
*/
