(()=>{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","pico.css":`@charset "UTF-8";
/*!
 * Pico.css v1.5.6 (https://picocss.com)
 * Copyright 2019-2022 - Licensed under MIT
 */
/**
 * Theme: default
 */
#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";
  --line-height: 1.5;
  --font-weight: 400;
  --font-size: 16px;
  --border-radius: 0.25rem;
  --border-width: 1px;
  --outline-width: 3px;
  --spacing: 1rem;
  --typography-spacing-vertical: 1.5rem;
  --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: 0.75rem;
  --form-element-spacing-horizontal: 1rem;
  --nav-element-spacing-vertical: 1rem;
  --nav-element-spacing-horizontal: 0.5rem;
  --nav-link-spacing-vertical: 0.5rem;
  --nav-link-spacing-horizontal: 0.5rem;
  --form-label-font-weight: var(--font-weight);
  --transition: 0.2s ease-in-out;
  --modal-overlay-backdrop-filter: blur(0.25rem);
}
@media (min-width: 576px) {
  #mount {
    --font-size: 17px;
  }
}
@media (min-width: 768px) {
  #mount {
    --font-size: 18px;
  }
}
@media (min-width: 992px) {
  #mount {
    --font-size: 19px;
  }
}
@media (min-width: 1200px) {
  #mount {
    --font-size: 20px;
  }
}

@media (min-width: 576px) {
  #mount > header,
  #mount > main,
  #mount > footer,
  section {
    --block-spacing-vertical: calc(var(--spacing) * 2);
  }
}
@media (min-width: 768px) {
  #mount > header,
  #mount > main,
  #mount > footer,
  section {
    --block-spacing-vertical: calc(var(--spacing) * 2.5);
  }
}
@media (min-width: 992px) {
  #mount > header,
  #mount > main,
  #mount > footer,
  section {
    --block-spacing-vertical: calc(var(--spacing) * 3);
  }
}
@media (min-width: 1200px) {
  #mount > header,
  #mount > main,
  #mount > footer,
  section {
    --block-spacing-vertical: calc(var(--spacing) * 3.5);
  }
}

@media (min-width: 576px) {
  article {
    --block-spacing-horizontal: calc(var(--spacing) * 1.25);
  }
}
@media (min-width: 768px) {
  article {
    --block-spacing-horizontal: calc(var(--spacing) * 1.5);
  }
}
@media (min-width: 992px) {
  article {
    --block-spacing-horizontal: calc(var(--spacing) * 1.75);
  }
}
@media (min-width: 1200px) {
  article {
    --block-spacing-horizontal: calc(var(--spacing) * 2);
  }
}

dialog > article {
  --block-spacing-vertical: calc(var(--spacing) * 2);
  --block-spacing-horizontal: var(--spacing);
}
@media (min-width: 576px) {
  dialog > article {
    --block-spacing-vertical: calc(var(--spacing) * 2.5);
    --block-spacing-horizontal: calc(var(--spacing) * 1.25);
  }
}
@media (min-width: 768px) {
  dialog > article {
    --block-spacing-vertical: calc(var(--spacing) * 3);
    --block-spacing-horizontal: calc(var(--spacing) * 1.5);
  }
}

a {
  --text-decoration: none;
}
a.secondary,
a.contrast {
  --text-decoration: underline;
}

small {
  --font-size: 0.875em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  --font-weight: 700;
}

h1 {
  --font-size: 2rem;
  --typography-spacing-vertical: 3rem;
}

h2 {
  --font-size: 1.75rem;
  --typography-spacing-vertical: 2.625rem;
}

h3 {
  --font-size: 1.5rem;
  --typography-spacing-vertical: 2.25rem;
}

h4 {
  --font-size: 1.25rem;
  --typography-spacing-vertical: 1.874rem;
}

h5 {
  --font-size: 1.125rem;
  --typography-spacing-vertical: 1.6875rem;
}

[type="checkbox"],
[type="radio"] {
  --border-width: 2px;
}

[type="checkbox"][role="switch"] {
  --border-width: 2px;
}

thead th,
thead td,
tfoot th,
tfoot td {
  --border-width: 3px;
}

:not(thead, tfoot) > * > td {
  --font-size: 0.875em;
}

pre,
code,
kbd,
samp {
  --font-family: "Menlo", "Consolas", "Roboto Mono", "Ubuntu Monospace",
    "Noto Mono", "Oxygen Mono", "Liberation Mono", monospace,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

kbd {
  --font-weight: bolder;
}

[data-theme="light"],
#mount:not([data-theme="dark"]) {
  --background-color: #fff;
  --background-light-green: #f5f7f9;
  --color: hsl(205deg, 20%, 32%);
  --h1-color: hsl(205deg, 30%, 15%);
  --h2-color: #24333e;
  --h3-color: hsl(205deg, 25%, 23%);
  --h4-color: #374956;
  --h5-color: hsl(205deg, 20%, 32%);
  --h6-color: #4d606d;
  --muted-color: hsl(205deg, 10%, 50%);
  --muted-border-color: hsl(205deg, 20%, 94%);
  --primary: hsl(195deg, 85%, 41%);
  --primary-hover: hsl(195deg, 90%, 32%);
  --primary-focus: rgba(16, 149, 193, 0.125);
  --primary-inverse: #fff;
  --secondary: hsl(205deg, 15%, 41%);
  --secondary-hover: hsl(205deg, 20%, 32%);
  --secondary-focus: rgba(89, 107, 120, 0.125);
  --secondary-inverse: #fff;
  --contrast: hsl(205deg, 30%, 15%);
  --contrast-hover: #000;
  --contrast-focus: rgba(89, 107, 120, 0.125);
  --contrast-inverse: #fff;
  --mark-background-color: #fff2ca;
  --mark-color: #543a26;
  --ins-color: #388e3c;
  --del-color: #c62828;
  --blockquote-border-color: var(--muted-border-color);
  --blockquote-footer-color: var(--muted-color);
  --button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  --button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  --form-element-background-color: transparent;
  --form-element-border-color: hsl(205deg, 14%, 68%);
  --form-element-color: var(--color);
  --form-element-placeholder-color: var(--muted-color);
  --form-element-active-background-color: transparent;
  --form-element-active-border-color: var(--primary);
  --form-element-focus-color: var(--primary-focus);
  --form-element-disabled-background-color: hsl(205deg, 18%, 86%);
  --form-element-disabled-border-color: hsl(205deg, 14%, 68%);
  --form-element-disabled-opacity: 0.5;
  --form-element-invalid-border-color: #c62828;
  --form-element-invalid-active-border-color: #d32f2f;
  --form-element-invalid-focus-color: rgba(211, 47, 47, 0.125);
  --form-element-valid-border-color: #388e3c;
  --form-element-valid-active-border-color: #43a047;
  --form-element-valid-focus-color: rgba(67, 160, 71, 0.125);
  --switch-background-color: hsl(205deg, 16%, 77%);
  --switch-color: var(--primary-inverse);
  --switch-checked-background-color: var(--primary);
  --range-border-color: hsl(205deg, 18%, 86%);
  --range-active-border-color: hsl(205deg, 16%, 77%);
  --range-thumb-border-color: var(--background-color);
  --range-thumb-color: var(--secondary);
  --range-thumb-hover-color: var(--secondary-hover);
  --range-thumb-active-color: var(--primary);
  --table-border-color: var(--muted-border-color);
  --table-row-stripped-background-color: #f6f8f9;
  --code-background-color: hsl(205deg, 20%, 94%);
  --code-color: var(--muted-color);
  --code-kbd-background-color: var(--contrast);
  --code-kbd-color: var(--contrast-inverse);
  --code-tag-color: hsl(330deg, 40%, 50%);
  --code-property-color: hsl(185deg, 40%, 40%);
  --code-value-color: hsl(40deg, 20%, 50%);
  --code-comment-color: hsl(205deg, 14%, 68%);
  --accordion-border-color: var(--muted-border-color);
  --accordion-close-summary-color: var(--color);
  --accordion-open-summary-color: var(--muted-color);
  --card-background-color: var(--background-color);
  --card-border-color: var(--muted-border-color);
  --card-box-shadow: 0.0145rem 0.029rem 0.174rem rgba(27, 40, 50, 0.01698),
    0.0335rem 0.067rem 0.402rem rgba(27, 40, 50, 0.024),
    0.0625rem 0.125rem 0.75rem rgba(27, 40, 50, 0.03),
    0.1125rem 0.225rem 1.35rem rgba(27, 40, 50, 0.036),
    0.2085rem 0.417rem 2.502rem rgba(27, 40, 50, 0.04302),
    0.5rem 1rem 6rem rgba(27, 40, 50, 0.06),
    0 0 0 0.0625rem rgba(27, 40, 50, 0.015);
  --card-sectionning-background-color: #fbfbfc;
  --dropdown-background-color: #fbfbfc;
  --dropdown-border-color: #e1e6eb;
  --dropdown-box-shadow: var(--card-box-shadow);
  --dropdown-color: var(--color);
  --dropdown-hover-background-color: hsl(205deg, 20%, 94%);
  --modal-overlay-background-color: rgba(213, 220, 226, 0.7);
  --progress-background-color: hsl(205deg, 18%, 86%);
  --progress-color: var(--primary);
  --loading-spinner-opacity: 0.5;
  --tooltip-background-color: var(--contrast);
  --tooltip-color: var(--contrast-inverse);
  --icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(65, 84, 98)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --icon-chevron-button: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --icon-chevron-button-inverse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(115, 130, 140)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
  --icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(65, 84, 98)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
  --icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(198, 40, 40)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
  --icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
  --icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(65, 84, 98)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
  --icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(65, 84, 98)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
  --icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(56, 142, 60)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  --icon-share: url("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB3aWR0aD0nMjQnIGhlaWdodD0nMjQnIHZpZXdCb3g9JzAgMCAyNCAyNCcgZmlsbD0nbm9uZScgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48cGF0aCBkPSdNMTguOTM0OCA4LjY0ODQ0QzIwLjg5NDEgOC42NDg0NCAyMi40ODU1IDcuMDU0NjkgMjIuNDg1NSA1LjA5NzY2QzIyLjQ4NTUgMy4xNDA2MiAyMC44OTE4IDEuNTQ2ODggMTguOTM0OCAxLjU0Njg4QzE2Ljk3NTQgMS41NDY4OCAxNS4zODQgMy4xNDA2MiAxNS4zODQgNS4wOTc2NkMxNS4zODQgNS4yOTkyMiAxNS40MDA0IDUuNDkzNzUgMTUuNDMzMiA1LjY4NTk0TDcuMzIzODMgOS4zNTM5MUM2LjcwOTc3IDguODQ1MzEgNS45MjIyNyA4LjU0MDYyIDUuMDY0NDUgOC41NDA2MkMzLjEwNTA4IDguNTQwNjIgMS41MTM2NyAxMC4xMzQ0IDEuNTEzNjcgMTIuMDkxNEMxLjUxMzY3IDE0LjA0ODQgMy4xMDc0MiAxNS42NDIyIDUuMDY0NDUgMTUuNjQyMkM1LjgzMzIgMTUuNjQyMiA2LjU0NTcgMTUuMzk2MSA3LjEyNjk1IDE0Ljk4MTNMMTIuNDk0MSAxNy45OTUzQzEyLjQxNjggMTguMjg1OSAxMi4zNzcgMTguNTg4MyAxMi4zNzcgMTguOTAyM0MxMi4zNzcgMjAuODYxNyAxMy45NzA3IDIyLjQ1MzEgMTUuOTI3NyAyMi40NTMxQzE3Ljg4NzEgMjIuNDUzMSAxOS40Nzg1IDIwLjg1OTQgMTkuNDc4NSAxOC45MDIzQzE5LjQ3ODUgMTYuOTQzIDE3Ljg4NDggMTUuMzUxNiAxNS45Mjc3IDE1LjM1MTZDMTQuOTU3NCAxNS4zNTE2IDE0LjA3ODUgMTUuNzQzIDEzLjQzNjMgMTYuMzczNEw4LjMyMjI3IDEzLjUwNDdDOC41MDk3NyAxMy4wNzExIDguNjE1MjMgMTIuNTk1MyA4LjYxNTIzIDEyLjA5MzhDOC42MTUyMyAxMS42ODEyIDguNTQ0OTIgMTEuMjg3NSA4LjQxNjAyIDEwLjkxOTVMMTYuMjIzIDcuMzg3NUMxNi44NzQ2IDguMTU2MjUgMTcuODQ5NiA4LjY0ODQ0IDE4LjkzNDggOC42NDg0NFpNNS4wNjQ0NSAxMy43Njk1QzQuMTQxMDIgMTMuNzY5NSAzLjM4ODY3IDEzLjAxNzIgMy4zODg2NyAxMi4wOTM4QzMuMzg4NjcgMTEuMTcwMyA0LjE0MTAyIDEwLjQxOCA1LjA2NDQ1IDEwLjQxOEM1Ljk4Nzg5IDEwLjQxOCA2Ljc0MDIzIDExLjE3MDMgNi43NDAyMyAxMi4wOTM4QzYuNzQwMjMgMTMuMDE3MiA1Ljk4Nzg5IDEzLjc2OTUgNS4wNjQ0NSAxMy43Njk1Wk0xNS45Mjc3IDE3LjIyNjZDMTYuODUxMiAxNy4yMjY2IDE3LjYwMzUgMTcuOTc4OSAxNy42MDM1IDE4LjkwMjNDMTcuNjAzNSAxOS44MjU4IDE2Ljg1MTIgMjAuNTc4MSAxNS45Mjc3IDIwLjU3ODFDMTUuMDA0MyAyMC41NzgxIDE0LjI1MiAxOS44MjU4IDE0LjI1MiAxOC45MDIzQzE0LjI1MiAxNy45Nzg5IDE1LjAwMiAxNy4yMjY2IDE1LjkyNzcgMTcuMjI2NlpNMTguOTM0OCAzLjQxOTUzQzE5Ljg1ODIgMy40MTk1MyAyMC42MTA1IDQuMTcxODcgMjAuNjEwNSA1LjA5NTMxQzIwLjYxMDUgNi4wMTg3NSAxOS44NTgyIDYuNzcxMDkgMTguOTM0OCA2Ljc3MTA5QzE4LjAxMTMgNi43NzEwOSAxNy4yNTkgNi4wMTg3NSAxNy4yNTkgNS4wOTUzMUMxNy4yNTkgNC4xNzE4NyAxOC4wMTEzIDMuNDE5NTMgMTguOTM0OCAzLjQxOTUzWicgZmlsbD0nIzgzODM4MycvPjwvc3ZnPiA=");
  --float-ball-more-button-border-color: #f6f6f6;
  --float-ball-more-button-background-color: #ffffff;
  --float-ball-more-button-svg-color: #6c6f73;
  color-scheme: light;
  --service-bg-hover: #f7faff;
  --service-bg: #fafbfb;
}

@media only screen and (prefers-color-scheme: dark) {
  #mount:not([data-theme="light"]) {
    --background-color: #11191f;
    --float-ball-more-button-background-color: #ffffff;
    --background-light-green: #141e26;
    --color: hsl(205deg, 16%, 77%);
    --h1-color: hsl(205deg, 20%, 94%);
    --h2-color: #e1e6eb;
    --h3-color: hsl(205deg, 18%, 86%);
    --h4-color: #c8d1d8;
    --h5-color: hsl(205deg, 16%, 77%);
    --h6-color: #afbbc4;
    --muted-color: hsl(205deg, 10%, 50%);
    --muted-border-color: #1f2d38;
    --primary: hsl(195deg, 85%, 41%);
    --primary-hover: hsl(195deg, 80%, 50%);
    --primary-focus: rgba(16, 149, 193, 0.25);
    --primary-inverse: #fff;
    --secondary: hsl(205deg, 15%, 41%);
    --secondary-hover: hsl(205deg, 10%, 50%);
    --secondary-focus: rgba(115, 130, 140, 0.25);
    --secondary-inverse: #fff;
    --contrast: hsl(205deg, 20%, 94%);
    --contrast-hover: #fff;
    --contrast-focus: rgba(115, 130, 140, 0.25);
    --contrast-inverse: #000;
    --mark-background-color: #d1c284;
    --mark-color: #11191f;
    --ins-color: #388e3c;
    --del-color: #c62828;
    --blockquote-border-color: var(--muted-border-color);
    --blockquote-footer-color: var(--muted-color);
    --button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    --button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    --form-element-background-color: #11191f;
    --form-element-border-color: #374956;
    --form-element-color: var(--color);
    --form-element-placeholder-color: var(--muted-color);
    --form-element-active-background-color: var(
      --form-element-background-color
    );
    --form-element-active-border-color: var(--primary);
    --form-element-focus-color: var(--primary-focus);
    --form-element-disabled-background-color: hsl(205deg, 25%, 23%);
    --form-element-disabled-border-color: hsl(205deg, 20%, 32%);
    --form-element-disabled-opacity: 0.5;
    --form-element-invalid-border-color: #b71c1c;
    --form-element-invalid-active-border-color: #c62828;
    --form-element-invalid-focus-color: rgba(198, 40, 40, 0.25);
    --form-element-valid-border-color: #2e7d32;
    --form-element-valid-active-border-color: #388e3c;
    --form-element-valid-focus-color: rgba(56, 142, 60, 0.25);
    --switch-background-color: #374956;
    --switch-color: var(--primary-inverse);
    --switch-checked-background-color: var(--primary);
    --range-border-color: #24333e;
    --range-active-border-color: hsl(205deg, 25%, 23%);
    --range-thumb-border-color: var(--background-color);
    --range-thumb-color: var(--secondary);
    --range-thumb-hover-color: var(--secondary-hover);
    --range-thumb-active-color: var(--primary);
    --table-border-color: var(--muted-border-color);
    --table-row-stripped-background-color: rgba(115, 130, 140, 0.05);
    --code-background-color: #18232c;
    --code-color: var(--muted-color);
    --code-kbd-background-color: var(--contrast);
    --code-kbd-color: var(--contrast-inverse);
    --code-tag-color: hsl(330deg, 30%, 50%);
    --code-property-color: hsl(185deg, 30%, 50%);
    --code-value-color: hsl(40deg, 10%, 50%);
    --code-comment-color: #4d606d;
    --accordion-border-color: var(--muted-border-color);
    --accordion-active-summary-color: var(--primary);
    --accordion-close-summary-color: var(--color);
    --accordion-open-summary-color: var(--muted-color);
    --card-background-color: #141e26;
    --card-border-color: var(--card-background-color);
    --card-box-shadow: 0.0145rem 0.029rem 0.174rem rgba(0, 0, 0, 0.01698),
      0.0335rem 0.067rem 0.402rem rgba(0, 0, 0, 0.024),
      0.0625rem 0.125rem 0.75rem rgba(0, 0, 0, 0.03),
      0.1125rem 0.225rem 1.35rem rgba(0, 0, 0, 0.036),
      0.2085rem 0.417rem 2.502rem rgba(0, 0, 0, 0.04302),
      0.5rem 1rem 6rem rgba(0, 0, 0, 0.06), 0 0 0 0.0625rem rgba(0, 0, 0, 0.015);
    --card-sectionning-background-color: #18232c;
    --dropdown-background-color: hsl(205deg, 30%, 15%);
    --dropdown-border-color: #24333e;
    --dropdown-box-shadow: var(--card-box-shadow);
    --dropdown-color: var(--color);
    --dropdown-hover-background-color: rgba(36, 51, 62, 0.75);
    --modal-overlay-background-color: rgba(36, 51, 62, 0.8);
    --progress-background-color: #24333e;
    --progress-color: var(--primary);
    --loading-spinner-opacity: 0.5;
    --tooltip-background-color: var(--contrast);
    --tooltip-color: var(--contrast-inverse);
    --icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --icon-chevron-button: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --icon-chevron-button-inverse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(0, 0, 0)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(115, 130, 140)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
    --icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    --icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(183, 28, 28)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
    --icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
    --icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    --icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
    --icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(46, 125, 50)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    --icon-share: url("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB3aWR0aD0nMjInIGhlaWdodD0nMjInIHZpZXdCb3g9JzAgMCAyMiAyMicgZmlsbD0nbm9uZScgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48cGF0aCBkPSdNMTcuOTM0OCA3LjY0ODQ0QzE5Ljg5NDEgNy42NDg0NCAyMS40ODU1IDYuMDU0NjkgMjEuNDg1NSA0LjA5NzY2QzIxLjQ4NTUgMi4xNDA2MiAxOS44OTE4IDAuNTQ2ODc1IDE3LjkzNDggMC41NDY4NzVDMTUuOTc1NCAwLjU0Njg3NSAxNC4zODQgMi4xNDA2MiAxNC4zODQgNC4wOTc2NkMxNC4zODQgNC4yOTkyMiAxNC40MDA0IDQuNDkzNzUgMTQuNDMzMiA0LjY4NTk0TDYuMzIzODMgOC4zNTM5MUM1LjcwOTc3IDcuODQ1MzEgNC45MjIyNyA3LjU0MDYyIDQuMDY0NDUgNy41NDA2MkMyLjEwNTA4IDcuNTQwNjIgMC41MTM2NzIgOS4xMzQzOCAwLjUxMzY3MiAxMS4wOTE0QzAuNTEzNjcyIDEzLjA0ODQgMi4xMDc0MiAxNC42NDIyIDQuMDY0NDUgMTQuNjQyMkM0LjgzMzIgMTQuNjQyMiA1LjU0NTcgMTQuMzk2MSA2LjEyNjk1IDEzLjk4MTNMMTEuNDk0MSAxNi45OTUzQzExLjQxNjggMTcuMjg1OSAxMS4zNzcgMTcuNTg4MyAxMS4zNzcgMTcuOTAyM0MxMS4zNzcgMTkuODYxNyAxMi45NzA3IDIxLjQ1MzEgMTQuOTI3NyAyMS40NTMxQzE2Ljg4NzEgMjEuNDUzMSAxOC40Nzg1IDE5Ljg1OTQgMTguNDc4NSAxNy45MDIzQzE4LjQ3ODUgMTUuOTQzIDE2Ljg4NDggMTQuMzUxNiAxNC45Mjc3IDE0LjM1MTZDMTMuOTU3NCAxNC4zNTE2IDEzLjA3ODUgMTQuNzQzIDEyLjQzNjMgMTUuMzczNEw3LjMyMjI3IDEyLjUwNDdDNy41MDk3NyAxMi4wNzExIDcuNjE1MjMgMTEuNTk1MyA3LjYxNTIzIDExLjA5MzhDNy42MTUyMyAxMC42ODEyIDcuNTQ0OTIgMTAuMjg3NSA3LjQxNjAyIDkuOTE5NTNMMTUuMjIzIDYuMzg3NUMxNS44NzQ2IDcuMTU2MjUgMTYuODQ5NiA3LjY0ODQ0IDE3LjkzNDggNy42NDg0NFpNNC4wNjQ0NSAxMi43Njk1QzMuMTQxMDIgMTIuNzY5NSAyLjM4ODY3IDEyLjAxNzIgMi4zODg2NyAxMS4wOTM4QzIuMzg4NjcgMTAuMTcwMyAzLjE0MTAyIDkuNDE3OTcgNC4wNjQ0NSA5LjQxNzk3QzQuOTg3ODkgOS40MTc5NyA1Ljc0MDIzIDEwLjE3MDMgNS43NDAyMyAxMS4wOTM4QzUuNzQwMjMgMTIuMDE3MiA0Ljk4Nzg5IDEyLjc2OTUgNC4wNjQ0NSAxMi43Njk1Wk0xNC45Mjc3IDE2LjIyNjZDMTUuODUxMiAxNi4yMjY2IDE2LjYwMzUgMTYuOTc4OSAxNi42MDM1IDE3LjkwMjNDMTYuNjAzNSAxOC44MjU4IDE1Ljg1MTIgMTkuNTc4MSAxNC45Mjc3IDE5LjU3ODFDMTQuMDA0MyAxOS41NzgxIDEzLjI1MiAxOC44MjU4IDEzLjI1MiAxNy45MDIzQzEzLjI1MiAxNi45Nzg5IDE0LjAwMiAxNi4yMjY2IDE0LjkyNzcgMTYuMjI2NlpNMTcuOTM0OCAyLjQxOTUzQzE4Ljg1ODIgMi40MTk1MyAxOS42MTA1IDMuMTcxODcgMTkuNjEwNSA0LjA5NTMxQzE5LjYxMDUgNS4wMTg3NSAxOC44NTgyIDUuNzcxMDkgMTcuOTM0OCA1Ljc3MTA5QzE3LjAxMTMgNS43NzEwOSAxNi4yNTkgNS4wMTg3NSAxNi4yNTkgNC4wOTUzMUMxNi4yNTkgMy4xNzE4NyAxNy4wMTEzIDIuNDE5NTMgMTcuOTM0OCAyLjQxOTUzWicgZmlsbD0nI0I2QjZCNicvPjwvc3ZnPiA=");
    color-scheme: dark;
    --service-bg-hover: #22292f;
    --service-bg: rgba(0, 0, 0, 0.1);
  }
}
[data-theme="dark"] {
  --background-color: #11191f;
  --float-ball-more-button-background-color: #191919;
  --background-light-green: #141e26;
  --color: hsl(205deg, 16%, 77%);
  --h1-color: hsl(205deg, 20%, 94%);
  --h2-color: #e1e6eb;
  --h3-color: hsl(205deg, 18%, 86%);
  --h4-color: #c8d1d8;
  --h5-color: hsl(205deg, 16%, 77%);
  --h6-color: #afbbc4;
  --muted-color: hsl(205deg, 10%, 50%);
  --muted-border-color: #1f2d38;
  --primary: hsl(195deg, 85%, 41%);
  --primary-hover: hsl(195deg, 80%, 50%);
  --primary-focus: rgba(16, 149, 193, 0.25);
  --primary-inverse: #fff;
  --secondary: hsl(205deg, 15%, 41%);
  --secondary-hover: hsl(205deg, 10%, 50%);
  --secondary-focus: rgba(115, 130, 140, 0.25);
  --secondary-inverse: #fff;
  --contrast: hsl(205deg, 20%, 94%);
  --contrast-hover: #fff;
  --contrast-focus: rgba(115, 130, 140, 0.25);
  --contrast-inverse: #000;
  --mark-background-color: #d1c284;
  --mark-color: #11191f;
  --ins-color: #388e3c;
  --del-color: #c62828;
  --blockquote-border-color: var(--muted-border-color);
  --blockquote-footer-color: var(--muted-color);
  --button-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  --button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  --form-element-background-color: #11191f;
  --form-element-border-color: #374956;
  --form-element-color: var(--color);
  --form-element-placeholder-color: var(--muted-color);
  --form-element-active-background-color: var(--form-element-background-color);
  --form-element-active-border-color: var(--primary);
  --form-element-focus-color: var(--primary-focus);
  --form-element-disabled-background-color: hsl(205deg, 25%, 23%);
  --form-element-disabled-border-color: hsl(205deg, 20%, 32%);
  --form-element-disabled-opacity: 0.5;
  --form-element-invalid-border-color: #b71c1c;
  --form-element-invalid-active-border-color: #c62828;
  --form-element-invalid-focus-color: rgba(198, 40, 40, 0.25);
  --form-element-valid-border-color: #2e7d32;
  --form-element-valid-active-border-color: #388e3c;
  --form-element-valid-focus-color: rgba(56, 142, 60, 0.25);
  --switch-background-color: #374956;
  --switch-color: var(--primary-inverse);
  --switch-checked-background-color: var(--primary);
  --range-border-color: #24333e;
  --range-active-border-color: hsl(205deg, 25%, 23%);
  --range-thumb-border-color: var(--background-color);
  --range-thumb-color: var(--secondary);
  --range-thumb-hover-color: var(--secondary-hover);
  --range-thumb-active-color: var(--primary);
  --table-border-color: var(--muted-border-color);
  --table-row-stripped-background-color: rgba(115, 130, 140, 0.05);
  --code-background-color: #18232c;
  --code-color: var(--muted-color);
  --code-kbd-background-color: var(--contrast);
  --code-kbd-color: var(--contrast-inverse);
  --code-tag-color: hsl(330deg, 30%, 50%);
  --code-property-color: hsl(185deg, 30%, 50%);
  --code-value-color: hsl(40deg, 10%, 50%);
  --code-comment-color: #4d606d;
  --accordion-border-color: var(--muted-border-color);
  --accordion-active-summary-color: var(--primary);
  --accordion-close-summary-color: var(--color);
  --accordion-open-summary-color: var(--muted-color);
  --card-background-color: #141e26;
  --card-border-color: var(--card-background-color);
  --card-box-shadow: 0.0145rem 0.029rem 0.174rem rgba(0, 0, 0, 0.01698),
    0.0335rem 0.067rem 0.402rem rgba(0, 0, 0, 0.024),
    0.0625rem 0.125rem 0.75rem rgba(0, 0, 0, 0.03),
    0.1125rem 0.225rem 1.35rem rgba(0, 0, 0, 0.036),
    0.2085rem 0.417rem 2.502rem rgba(0, 0, 0, 0.04302),
    0.5rem 1rem 6rem rgba(0, 0, 0, 0.06), 0 0 0 0.0625rem rgba(0, 0, 0, 0.015);
  --card-sectionning-background-color: #18232c;
  --dropdown-background-color: hsl(205deg, 30%, 15%);
  --dropdown-border-color: #24333e;
  --dropdown-box-shadow: var(--card-box-shadow);
  --dropdown-color: var(--color);
  --dropdown-hover-background-color: rgba(36, 51, 62, 0.75);
  --modal-overlay-background-color: rgba(36, 51, 62, 0.8);
  --progress-background-color: #24333e;
  --progress-color: var(--primary);
  --loading-spinner-opacity: 0.5;
  --tooltip-background-color: var(--contrast);
  --tooltip-color: var(--contrast-inverse);
  --icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --icon-chevron-button: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --icon-chevron-button-inverse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(0, 0, 0)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(115, 130, 140)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
  --icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
  --icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(183, 28, 28)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
  --icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
  --icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
  --icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(162, 175, 185)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
  --icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(46, 125, 50)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  --icon-share: url("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB3aWR0aD0nMjInIGhlaWdodD0nMjInIHZpZXdCb3g9JzAgMCAyMiAyMicgZmlsbD0nbm9uZScgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48cGF0aCBkPSdNMTcuOTM0OCA3LjY0ODQ0QzE5Ljg5NDEgNy42NDg0NCAyMS40ODU1IDYuMDU0NjkgMjEuNDg1NSA0LjA5NzY2QzIxLjQ4NTUgMi4xNDA2MiAxOS44OTE4IDAuNTQ2ODc1IDE3LjkzNDggMC41NDY4NzVDMTUuOTc1NCAwLjU0Njg3NSAxNC4zODQgMi4xNDA2MiAxNC4zODQgNC4wOTc2NkMxNC4zODQgNC4yOTkyMiAxNC40MDA0IDQuNDkzNzUgMTQuNDMzMiA0LjY4NTk0TDYuMzIzODMgOC4zNTM5MUM1LjcwOTc3IDcuODQ1MzEgNC45MjIyNyA3LjU0MDYyIDQuMDY0NDUgNy41NDA2MkMyLjEwNTA4IDcuNTQwNjIgMC41MTM2NzIgOS4xMzQzOCAwLjUxMzY3MiAxMS4wOTE0QzAuNTEzNjcyIDEzLjA0ODQgMi4xMDc0MiAxNC42NDIyIDQuMDY0NDUgMTQuNjQyMkM0LjgzMzIgMTQuNjQyMiA1LjU0NTcgMTQuMzk2MSA2LjEyNjk1IDEzLjk4MTNMMTEuNDk0MSAxNi45OTUzQzExLjQxNjggMTcuMjg1OSAxMS4zNzcgMTcuNTg4MyAxMS4zNzcgMTcuOTAyM0MxMS4zNzcgMTkuODYxNyAxMi45NzA3IDIxLjQ1MzEgMTQuOTI3NyAyMS40NTMxQzE2Ljg4NzEgMjEuNDUzMSAxOC40Nzg1IDE5Ljg1OTQgMTguNDc4NSAxNy45MDIzQzE4LjQ3ODUgMTUuOTQzIDE2Ljg4NDggMTQuMzUxNiAxNC45Mjc3IDE0LjM1MTZDMTMuOTU3NCAxNC4zNTE2IDEzLjA3ODUgMTQuNzQzIDEyLjQzNjMgMTUuMzczNEw3LjMyMjI3IDEyLjUwNDdDNy41MDk3NyAxMi4wNzExIDcuNjE1MjMgMTEuNTk1MyA3LjYxNTIzIDExLjA5MzhDNy42MTUyMyAxMC42ODEyIDcuNTQ0OTIgMTAuMjg3NSA3LjQxNjAyIDkuOTE5NTNMMTUuMjIzIDYuMzg3NUMxNS44NzQ2IDcuMTU2MjUgMTYuODQ5NiA3LjY0ODQ0IDE3LjkzNDggNy42NDg0NFpNNC4wNjQ0NSAxMi43Njk1QzMuMTQxMDIgMTIuNzY5NSAyLjM4ODY3IDEyLjAxNzIgMi4zODg2NyAxMS4wOTM4QzIuMzg4NjcgMTAuMTcwMyAzLjE0MTAyIDkuNDE3OTcgNC4wNjQ0NSA5LjQxNzk3QzQuOTg3ODkgOS40MTc5NyA1Ljc0MDIzIDEwLjE3MDMgNS43NDAyMyAxMS4wOTM4QzUuNzQwMjMgMTIuMDE3MiA0Ljk4Nzg5IDEyLjc2OTUgNC4wNjQ0NSAxMi43Njk1Wk0xNC45Mjc3IDE2LjIyNjZDMTUuODUxMiAxNi4yMjY2IDE2LjYwMzUgMTYuOTc4OSAxNi42MDM1IDE3LjkwMjNDMTYuNjAzNSAxOC44MjU4IDE1Ljg1MTIgMTkuNTc4MSAxNC45Mjc3IDE5LjU3ODFDMTQuMDA0MyAxOS41NzgxIDEzLjI1MiAxOC44MjU4IDEzLjI1MiAxNy45MDIzQzEzLjI1MiAxNi45Nzg5IDE0LjAwMiAxNi4yMjY2IDE0LjkyNzcgMTYuMjI2NlpNMTcuOTM0OCAyLjQxOTUzQzE4Ljg1ODIgMi40MTk1MyAxOS42MTA1IDMuMTcxODcgMTkuNjEwNSA0LjA5NTMxQzE5LjYxMDUgNS4wMTg3NSAxOC44NTgyIDUuNzcxMDkgMTcuOTM0OCA1Ljc3MTA5QzE3LjAxMTMgNS43NzEwOSAxNi4yNTkgNS4wMTg3NSAxNi4yNTkgNC4wOTUzMUMxNi4yNTkgMy4xNzE4NyAxNy4wMTEzIDIuNDE5NTMgMTcuOTM0OCAyLjQxOTUzWicgZmlsbD0nI0I2QjZCNicvPjwvc3ZnPiA=");
  color-scheme: dark;
  --service-bg: rgba(0, 0, 0, 0.1);
}

progress,
[type="checkbox"],
[type="radio"],
[type="range"] {
  accent-color: var(--primary);
}

/**
 * Document
 * Content-box & Responsive typography
 */
*,
*::before,
*::after {
  box-sizing: border-box;
  background-repeat: no-repeat;
}

::before,
::after {
  text-decoration: inherit;
  vertical-align: inherit;
}

:where(#mount) {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background-color: var(--background-color);
  color: var(--color);
  font-weight: var(--font-weight);
  font-size: var(--font-size);
  line-height: var(--line-height);
  font-family: var(--font-family);
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
  cursor: default;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
}

/**
 * Sectioning
 * Container and responsive spacings for header, main, footer
 */
main {
  display: block;
}

#mount {
  width: 100%;
  margin: 0;
}
#mount > header,
#mount > main,
#mount > footer {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding: var(--block-spacing-vertical) var(--block-spacing-horizontal);
}
@media (min-width: 576px) {
  #mount > header,
  #mount > main,
  #mount > footer {
    padding: 2px !important;
  }
}
@media (min-width: 992px) {
  #mount > header,
  #mount > main,
  #mount > footer {
    padding: 0 12px !important;
  }
}
@media (min-width: 1200px) {
  #mount > header,
  #mount > main,
  #mount > footer {
    padding: 0 24px !important;
  }
}

/**
* Container
*/
.container,
.container-fluid {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--spacing);
  padding-left: var(--spacing);
}
/*
@media (min-width: 576px) {
  .container {
    max-width: 510px;
    padding-right: 0;
    padding-left: 0;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 700px;
  }
} */
@media (min-width: 992px) {
  .container {
    max-width: 920px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1130px;
  }
}

/**
 * Section
 * Responsive spacings for section
 */
section {
  margin-bottom: var(--block-spacing-vertical);
}

/**
* Grid
* Minimal grid system with auto-layout columns
*/
.grid {
  grid-column-gap: var(--grid-spacing-horizontal);
  grid-row-gap: var(--grid-spacing-vertical);
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
}
@media (min-width: 1280px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
  }
}
.grid > * {
  min-width: 0;
}

/**
 * Horizontal scroller (<figure>)
 */
figure {
  display: block;
  margin: 0;
  padding: 0;
  overflow-x: auto;
}
figure figcaption {
  padding: calc(var(--spacing) * 0.5) 0;
  color: var(--muted-color);
}

/**
 * Typography
 */
b,
strong {
  font-weight: bolder;
}

sub,
sup {
  position: relative;
  font-size: 0.75em;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

address,
blockquote,
dl,
figure,
form,
ol,
p,
pre,
table,
ul {
  margin-top: 0;
  margin-bottom: var(--typography-spacing-vertical);
  color: var(--color);
  font-style: normal;
  font-weight: var(--font-weight);
  font-size: var(--font-size);
}

a,
[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);
}
a:is([aria-current], :hover, :active, :focus),
[role="link"]:is([aria-current], :hover, :active, :focus) {
  --color: var(--primary-hover);
  --text-decoration: underline;
}
a:focus,
[role="link"]:focus {
  --background-color: var(--primary-focus);
}
a.secondary,
[role="link"].secondary {
  --color: var(--secondary);
}
a.secondary:is([aria-current], :hover, :active, :focus),
[role="link"].secondary:is([aria-current], :hover, :active, :focus) {
  --color: var(--secondary-hover);
}
a.secondary:focus,
[role="link"].secondary:focus {
  --background-color: var(--secondary-focus);
}
a.contrast,
[role="link"].contrast {
  --color: var(--contrast);
}
a.contrast:is([aria-current], :hover, :active, :focus),
[role="link"].contrast:is([aria-current], :hover, :active, :focus) {
  --color: var(--contrast-hover);
}
a.contrast:focus,
[role="link"].contrast:focus {
  --background-color: var(--contrast-focus);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: var(--typography-spacing-vertical);
  color: var(--color);
  font-weight: var(--font-weight);
  font-size: var(--font-size);
  font-family: var(--font-family);
}

h1 {
  --color: var(--h1-color);
}

h2 {
  --color: var(--h2-color);
}

h3 {
  --color: var(--h3-color);
}

h4 {
  --color: var(--h4-color);
}

h5 {
  --color: var(--h5-color);
}

h6 {
  --color: var(--h6-color);
}

:where(address, blockquote, dl, figure, form, ol, p, pre, table, ul)
  ~ :is(h1, h2, h3, h4, h5, h6) {
  margin-top: var(--typography-spacing-vertical);
}

hgroup,
.headings {
  margin-bottom: var(--typography-spacing-vertical);
}
hgroup > *,
.headings > * {
  margin-bottom: 0;
}
hgroup > *:last-child,
.headings > *:last-child {
  --color: var(--muted-color);
  --font-weight: unset;
  font-size: 1rem;
  font-family: unset;
}

p {
  margin-bottom: var(--typography-spacing-vertical);
}

small {
  font-size: var(--font-size);
}

:where(dl, ol, ul) {
  padding-right: 0;
  padding-left: var(--spacing);
  -webkit-padding-start: var(--spacing);
  padding-inline-start: var(--spacing);
  -webkit-padding-end: 0;
  padding-inline-end: 0;
}
:where(dl, ol, ul) li {
  margin-bottom: calc(var(--typography-spacing-vertical) * 0.25);
}

:where(dl, ol, ul) :is(dl, ol, ul) {
  margin: 0;
  margin-top: calc(var(--typography-spacing-vertical) * 0.25);
}

ul li {
  list-style: square;
}

mark {
  padding: 0.125rem 0.25rem;
  background-color: var(--mark-background-color);
  color: var(--mark-color);
  vertical-align: baseline;
}

blockquote {
  display: block;
  margin: var(--typography-spacing-vertical) 0;
  padding: var(--spacing);
  border-right: none;
  border-left: 0.25rem solid var(--blockquote-border-color);
  -webkit-border-start: 0.25rem solid var(--blockquote-border-color);
  border-inline-start: 0.25rem solid var(--blockquote-border-color);
  -webkit-border-end: none;
  border-inline-end: none;
}
blockquote footer {
  margin-top: calc(var(--typography-spacing-vertical) * 0.5);
  color: var(--blockquote-footer-color);
}

abbr[title] {
  border-bottom: 1px dotted;
  text-decoration: none;
  cursor: help;
}

ins {
  color: var(--ins-color);
  text-decoration: none;
}

del {
  color: var(--del-color);
}

::-moz-selection {
  background-color: var(--primary-focus);
}

::selection {
  background-color: var(--primary-focus);
}

/**
 * Embedded content
 */
:where(audio, canvas, iframe, img, svg, video) {
  vertical-align: middle;
}

audio,
video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

:where(iframe) {
  border-style: none;
}

img {
  max-width: 100%;
  height: auto;
  border-style: none;
}

:where(svg:not([fill])) {
  fill: currentColor;
}

svg:not(#mount) {
  overflow: hidden;
}

/**
 * Button
 */
button {
  margin: 0;
  overflow: visible;
  font-family: inherit;
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button {
  display: block;
  width: 100%;
  margin-bottom: var(--spacing);
}

[role="button"] {
  display: inline-block;
  text-decoration: none;
}

button,
input[type="submit"],
input[type="button"],
input[type="reset"],
[role="button"] {
  --background-color: var(--primary);
  --border-color: var(--primary);
  --color: var(--primary-inverse);
  --box-shadow: var(--button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
  padding: var(--form-element-spacing-vertical)
    var(--form-element-spacing-horizontal);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius);
  outline: none;
  background-color: var(--background-color);
  box-shadow: var(--box-shadow);
  color: var(--color);
  font-weight: var(--font-weight);
  font-size: 1rem;
  line-height: var(--line-height);
  text-align: center;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition),
    color var(--transition), box-shadow var(--transition);
}
button:is([aria-current], :hover, :active, :focus),
input[type="submit"]:is([aria-current], :hover, :active, :focus),
input[type="button"]:is([aria-current], :hover, :active, :focus),
input[type="reset"]:is([aria-current], :hover, :active, :focus),
[role="button"]:is([aria-current], :hover, :active, :focus) {
  --background-color: var(--primary-hover);
  --border-color: var(--primary-hover);
  --box-shadow: var(--button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
  --color: var(--primary-inverse);
}
button:focus,
input[type="submit"]:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
[role="button"]:focus {
  --box-shadow: var(--button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
    0 0 0 var(--outline-width) var(--primary-focus);
}

:is(
    button,
    input[type="submit"],
    input[type="button"],
    [role="button"]
  ).secondary,
input[type="reset"] {
  --background-color: var(--secondary);
  --border-color: var(--secondary);
  --color: var(--secondary-inverse);
  cursor: pointer;
}
:is(
    button,
    input[type="submit"],
    input[type="button"],
    [role="button"]
  ).secondary:is([aria-current], :hover, :active, :focus),
input[type="reset"]:is([aria-current], :hover, :active, :focus) {
  --background-color: var(--secondary-hover);
  --border-color: var(--secondary-hover);
  --color: var(--secondary-inverse);
}
:is(
    button,
    input[type="submit"],
    input[type="button"],
    [role="button"]
  ).secondary:focus,
input[type="reset"]:focus {
  --box-shadow: var(--button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
    0 0 0 var(--outline-width) var(--secondary-focus);
}

:is(
    button,
    input[type="submit"],
    input[type="button"],
    [role="button"]
  ).contrast {
  --background-color: var(--contrast);
  --border-color: var(--contrast);
  --color: var(--contrast-inverse);
}
:is(
    button,
    input[type="submit"],
    input[type="button"],
    [role="button"]
  ).contrast:is([aria-current], :hover, :active, :focus) {
  --background-color: var(--contrast-hover);
  --border-color: var(--contrast-hover);
  --color: var(--contrast-inverse);
}
:is(
    button,
    input[type="submit"],
    input[type="button"],
    [role="button"]
  ).contrast:focus {
  --box-shadow: var(--button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)),
    0 0 0 var(--outline-width) var(--contrast-focus);
}

:is(
    button,
    input[type="submit"],
    input[type="button"],
    [role="button"]
  ).outline,
input[type="reset"].outline {
  --background-color: transparent;
  --color: var(--primary);
}
:is(
    button,
    input[type="submit"],
    input[type="button"],
    [role="button"]
  ).outline:is([aria-current], :hover, :active, :focus),
input[type="reset"].outline:is([aria-current], :hover, :active, :focus) {
  --background-color: transparent;
  --color: var(--primary-hover);
}

:is(
    button,
    input[type="submit"],
    input[type="button"],
    [role="button"]
  ).outline.secondary,
input[type="reset"].outline {
  --color: var(--secondary);
}
:is(
    button,
    input[type="submit"],
    input[type="button"],
    [role="button"]
  ).outline.secondary:is([aria-current], :hover, :active, :focus),
input[type="reset"].outline:is([aria-current], :hover, :active, :focus) {
  --color: var(--secondary-hover);
}

:is(
    button,
    input[type="submit"],
    input[type="button"],
    [role="button"]
  ).outline.contrast {
  --color: var(--contrast);
}
:is(
    button,
    input[type="submit"],
    input[type="button"],
    [role="button"]
  ).outline.contrast:is([aria-current], :hover, :active, :focus) {
  --color: var(--contrast-hover);
}

:where(
    button,
    [type="submit"],
    [type="button"],
    [type="reset"],
    [role="button"]
  )[disabled],
:where(fieldset[disabled])
  :is(
    button,
    [type="submit"],
    [type="button"],
    [type="reset"],
    [role="button"]
  ),
a[role="button"]:not([href]) {
  opacity: 0.5;
  pointer-events: none;
}

/**
 * Form elements
 */
input,
optgroup,
select,
textarea {
  margin: 0;
  font-size: 1rem;
  line-height: var(--line-height);
  font-family: inherit;
  letter-spacing: inherit;
}

input {
  overflow: visible;
}

select {
  text-transform: none;
}

legend {
  max-width: 100%;
  padding: 0;
  color: inherit;
  white-space: normal;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  padding: 0;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

:-moz-focusring {
  outline: none;
}

:-moz-ui-invalid {
  box-shadow: none;
}

::-ms-expand {
  display: none;
}

[type="file"],
[type="range"] {
  padding: 0;
  border-width: 0;
}

input:not([type="checkbox"], [type="radio"], [type="range"]) {
  height: calc(
    1rem * var(--line-height) + var(--form-element-spacing-vertical) * 2 +
      var(--border-width) * 2
  );
}

fieldset {
  margin: 0;
  margin-bottom: var(--spacing);
  padding: 0;
  border: 0;
}

label,
fieldset legend {
  display: block;
  margin-bottom: calc(var(--spacing) * 0.25);
  font-weight: var(--form-label-font-weight, var(--font-weight));
}

input:not([type="checkbox"], [type="radio"]),
select,
textarea {
  width: 100%;
}

input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]),
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: var(--form-element-spacing-vertical)
    var(--form-element-spacing-horizontal);
}

input,
select,
textarea {
  --background-color: var(--form-element-background-color);
  --border-color: var(--form-element-border-color);
  --color: var(--form-element-color);
  --box-shadow: none;
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius);
  outline: none;
  background-color: var(--background-color);
  box-shadow: var(--box-shadow);
  color: var(--color);
  font-weight: var(--font-weight);
  transition: background-color var(--transition), border-color var(--transition),
    color var(--transition), box-shadow var(--transition);
}

input:not(
    [type="submit"],
    [type="button"],
    [type="reset"],
    [type="checkbox"],
    [type="radio"],
    [readonly]
  ):is(:active, :focus),
:where(select, textarea):is(:active, :focus) {
  --background-color: var(--form-element-active-background-color);
}

input:not(
    [type="submit"],
    [type="button"],
    [type="reset"],
    [role="switch"],
    [readonly]
  ):is(:active, :focus),
:where(select, textarea):is(:active, :focus) {
  --border-color: var(--form-element-active-border-color);
}

input:not(
    [type="submit"],
    [type="button"],
    [type="reset"],
    [type="range"],
    [type="file"],
    [readonly]
  ):focus,
select:focus,
textarea:focus {
  --box-shadow: 0 0 0 var(--outline-width) var(--form-element-focus-color);
}

input:not([type="submit"], [type="button"], [type="reset"])[disabled],
select[disabled],
textarea[disabled],
:where(fieldset[disabled])
  :is(
    input:not([type="submit"], [type="button"], [type="reset"]),
    select,
    textarea
  ) {
  --background-color: var(--form-element-disabled-background-color);
  --border-color: var(--form-element-disabled-border-color);
  opacity: var(--form-element-disabled-opacity);
  pointer-events: none;
}

:where(input, select, textarea):not(
    [type="checkbox"],
    [type="radio"],
    [type="date"],
    [type="datetime-local"],
    [type="month"],
    [type="time"],
    [type="week"]
  )[aria-invalid] {
  padding-right: calc(
    var(--form-element-spacing-horizontal) + 1.5rem
  ) !important;
  padding-left: var(--form-element-spacing-horizontal);
  -webkit-padding-start: var(--form-element-spacing-horizontal) !important;
  padding-inline-start: var(--form-element-spacing-horizontal) !important;
  -webkit-padding-end: calc(
    var(--form-element-spacing-horizontal) + 1.5rem
  ) !important;
  padding-inline-end: calc(
    var(--form-element-spacing-horizontal) + 1.5rem
  ) !important;
  background-position: center right 0.75rem;
  background-size: 1rem auto;
  background-repeat: no-repeat;
}
:where(input, select, textarea):not(
    [type="checkbox"],
    [type="radio"],
    [type="date"],
    [type="datetime-local"],
    [type="month"],
    [type="time"],
    [type="week"]
  )[aria-invalid="false"] {
  background-image: var(--icon-valid);
}
:where(input, select, textarea):not(
    [type="checkbox"],
    [type="radio"],
    [type="date"],
    [type="datetime-local"],
    [type="month"],
    [type="time"],
    [type="week"]
  )[aria-invalid="true"] {
  background-image: var(--icon-invalid);
}
:where(input, select, textarea)[aria-invalid="false"] {
  --border-color: var(--form-element-valid-border-color);
}
:where(input, select, textarea)[aria-invalid="false"]:is(:active, :focus) {
  --border-color: var(--form-element-valid-active-border-color) !important;
  --box-shadow: 0 0 0 var(--outline-width) var(--form-element-valid-focus-color) !important;
}
:where(input, select, textarea)[aria-invalid="true"] {
  --border-color: var(--form-element-invalid-border-color);
}
:where(input, select, textarea)[aria-invalid="true"]:is(:active, :focus) {
  --border-color: var(--form-element-invalid-active-border-color) !important;
  --box-shadow: 0 0 0 var(--outline-width)
    var(--form-element-invalid-focus-color) !important;
}

[dir="rtl"]
  :where(input, select, textarea):not([type="checkbox"], [type="radio"]):is(
    [aria-invalid],
    [aria-invalid="true"],
    [aria-invalid="false"]
  ) {
  background-position: center left 0.75rem;
}

input::placeholder,
input::-webkit-input-placeholder,
textarea::placeholder,
textarea::-webkit-input-placeholder,
select:invalid {
  color: var(--form-element-placeholder-color);
  opacity: 1;
}

input:not([type="checkbox"], [type="radio"]),
select,
textarea {
  margin-bottom: var(--spacing);
}

select::-ms-expand {
  border: 0;
  background-color: transparent;
}
select:not([multiple], [size]) {
  padding-right: calc(var(--form-element-spacing-horizontal) + 1.5rem);
  padding-left: var(--form-element-spacing-horizontal);
  -webkit-padding-start: var(--form-element-spacing-horizontal);
  padding-inline-start: var(--form-element-spacing-horizontal);
  -webkit-padding-end: calc(var(--form-element-spacing-horizontal) + 1.5rem);
  padding-inline-end: calc(var(--form-element-spacing-horizontal) + 1.5rem);
  background-image: var(--icon-chevron);
  background-position: center right 0.75rem;
  background-size: 1rem auto;
  background-repeat: no-repeat;
}

[dir="rtl"] select:not([multiple], [size]) {
  background-position: center left 0.75rem;
}

:where(input, select, textarea) + small {
  display: block;
  width: 100%;
  margin-top: calc(var(--spacing) * -0.75);
  margin-bottom: var(--spacing);
  color: var(--muted-color);
}

label > :where(input, select, textarea) {
  margin-top: calc(var(--spacing) * 0.25);
}

/**
 * Form elements
 * Checkboxes & Radios
 */
[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;
}

[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;
}
[type="checkbox"][role="switch"]:focus {
  --background-color: var(--switch-background-color);
  --border-color: var(--switch-background-color);
}
[type="checkbox"][role="switch"]:checked {
  --background-color: var(--switch-checked-background-color);
  --border-color: var(--switch-checked-background-color);
}
[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;
}
[type="checkbox"][role="switch"]:checked {
  background-image: none;
}
[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));
}

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

/**
 * Form elements
 * Alternatives input types (Not Checkboxes & Radios)
 */
[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}
[type="color"]::-moz-focus-inner {
  padding: 0;
}
[type="color"]::-webkit-color-swatch {
  border: 0;
  border-radius: calc(var(--border-radius) * 0.5);
}
[type="color"]::-moz-color-swatch {
  border: 0;
  border-radius: calc(var(--border-radius) * 0.5);
}

input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]):is(
    [type="date"],
    [type="datetime-local"],
    [type="month"],
    [type="time"],
    [type="week"]
  ) {
  --icon-position: 0.75rem;
  --icon-width: 1rem;
  padding-right: calc(var(--icon-width) + var(--icon-position));
  background-image: var(--icon-date);
  background-position: center right var(--icon-position);
  background-size: var(--icon-width) auto;
  background-repeat: no-repeat;
}
input:not(
    [type="checkbox"],
    [type="radio"],
    [type="range"],
    [type="file"]
  )[type="time"] {
  background-image: var(--icon-time);
}

[type="date"]::-webkit-calendar-picker-indicator,
[type="datetime-local"]::-webkit-calendar-picker-indicator,
[type="month"]::-webkit-calendar-picker-indicator,
[type="time"]::-webkit-calendar-picker-indicator,
[type="week"]::-webkit-calendar-picker-indicator {
  width: var(--icon-width);
  margin-right: calc(var(--icon-width) * -1);
  margin-left: var(--icon-position);
  opacity: 0;
}

[dir="rtl"]
  :is(
    [type="date"],
    [type="datetime-local"],
    [type="month"],
    [type="time"],
    [type="week"]
  ) {
  text-align: right;
}

[type="file"] {
  --color: var(--muted-color);
  padding: calc(var(--form-element-spacing-vertical) * 0.5) 0;
  border: 0;
  border-radius: 0;
  background: none;
}
[type="file"]::file-selector-button {
  --background-color: var(--secondary);
  --border-color: var(--secondary);
  --color: var(--secondary-inverse);
  margin-right: calc(var(--spacing) / 2);
  margin-left: 0;
  -webkit-margin-start: 0;
  margin-inline-start: 0;
  -webkit-margin-end: calc(var(--spacing) / 2);
  margin-inline-end: calc(var(--spacing) / 2);
  padding: calc(var(--form-element-spacing-vertical) * 0.5)
    calc(var(--form-element-spacing-horizontal) * 0.5);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius);
  outline: none;
  background-color: var(--background-color);
  box-shadow: var(--box-shadow);
  color: var(--color);
  font-weight: var(--font-weight);
  font-size: 1rem;
  line-height: var(--line-height);
  text-align: center;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition),
    color var(--transition), box-shadow var(--transition);
}
[type="file"]::file-selector-button:is(:hover, :active, :focus) {
  --background-color: var(--secondary-hover);
  --border-color: var(--secondary-hover);
}
[type="file"]::-webkit-file-upload-button {
  --background-color: var(--secondary);
  --border-color: var(--secondary);
  --color: var(--secondary-inverse);
  margin-right: calc(var(--spacing) / 2);
  margin-left: 0;
  -webkit-margin-start: 0;
  margin-inline-start: 0;
  -webkit-margin-end: calc(var(--spacing) / 2);
  margin-inline-end: calc(var(--spacing) / 2);
  padding: calc(var(--form-element-spacing-vertical) * 0.5)
    calc(var(--form-element-spacing-horizontal) * 0.5);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius);
  outline: none;
  background-color: var(--background-color);
  box-shadow: var(--box-shadow);
  color: var(--color);
  font-weight: var(--font-weight);
  font-size: 1rem;
  line-height: var(--line-height);
  text-align: center;
  cursor: pointer;
  -webkit-transition: background-color var(--transition),
    border-color var(--transition), color var(--transition),
    box-shadow var(--transition);
  transition: background-color var(--transition), border-color var(--transition),
    color var(--transition), box-shadow var(--transition);
}
[type="file"]::-webkit-file-upload-button:is(:hover, :active, :focus) {
  --background-color: var(--secondary-hover);
  --border-color: var(--secondary-hover);
}
[type="file"]::-ms-browse {
  --background-color: var(--secondary);
  --border-color: var(--secondary);
  --color: var(--secondary-inverse);
  margin-right: calc(var(--spacing) / 2);
  margin-left: 0;
  margin-inline-start: 0;
  margin-inline-end: calc(var(--spacing) / 2);
  padding: calc(var(--form-element-spacing-vertical) * 0.5)
    calc(var(--form-element-spacing-horizontal) * 0.5);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius);
  outline: none;
  background-color: var(--background-color);
  box-shadow: var(--box-shadow);
  color: var(--color);
  font-weight: var(--font-weight);
  font-size: 1rem;
  line-height: var(--line-height);
  text-align: center;
  cursor: pointer;
  -ms-transition: background-color var(--transition),
    border-color var(--transition), color var(--transition),
    box-shadow var(--transition);
  transition: background-color var(--transition), border-color var(--transition),
    color var(--transition), box-shadow var(--transition);
}
[type="file"]::-ms-browse:is(:hover, :active, :focus) {
  --background-color: var(--secondary-hover);
  --border-color: var(--secondary-hover);
}

[type="range"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  height: 1.25rem;
  background: none;
}
[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 0.25rem;
  border-radius: var(--border-radius);
  background-color: var(--range-border-color);
  -webkit-transition: background-color var(--transition),
    box-shadow var(--transition);
  transition: background-color var(--transition), box-shadow var(--transition);
}
[type="range"]::-moz-range-track {
  width: 100%;
  height: 0.25rem;
  border-radius: var(--border-radius);
  background-color: var(--range-border-color);
  -moz-transition: background-color var(--transition),
    box-shadow var(--transition);
  transition: background-color var(--transition), box-shadow var(--transition);
}
[type="range"]::-ms-track {
  width: 100%;
  height: 0.25rem;
  border-radius: var(--border-radius);
  background-color: var(--range-border-color);
  -ms-transition: background-color var(--transition),
    box-shadow var(--transition);
  transition: background-color var(--transition), box-shadow var(--transition);
}
[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: -0.5rem;
  border: 2px solid var(--range-thumb-border-color);
  border-radius: 50%;
  background-color: var(--range-thumb-color);
  cursor: pointer;
  -webkit-transition: background-color var(--transition),
    transform var(--transition);
  transition: background-color var(--transition), transform var(--transition);
}
[type="range"]::-moz-range-thumb {
  -webkit-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: -0.5rem;
  border: 2px solid var(--range-thumb-border-color);
  border-radius: 50%;
  background-color: var(--range-thumb-color);
  cursor: pointer;
  -moz-transition: background-color var(--transition),
    transform var(--transition);
  transition: background-color var(--transition), transform var(--transition);
}
[type="range"]::-ms-thumb {
  -webkit-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: -0.5rem;
  border: 2px solid var(--range-thumb-border-color);
  border-radius: 50%;
  background-color: var(--range-thumb-color);
  cursor: pointer;
  -ms-transition: background-color var(--transition),
    transform var(--transition);
  transition: background-color var(--transition), transform var(--transition);
}
[type="range"]:hover,
[type="range"]:focus {
  --range-border-color: var(--range-active-border-color);
  --range-thumb-color: var(--range-thumb-hover-color);
}
[type="range"]:active {
  --range-thumb-color: var(--range-thumb-active-color);
}
[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.25);
}
[type="range"]:active::-moz-range-thumb {
  transform: scale(1.25);
}
[type="range"]:active::-ms-thumb {
  transform: scale(1.25);
}

input:not(
    [type="checkbox"],
    [type="radio"],
    [type="range"],
    [type="file"]
  )[type="search"] {
  -webkit-padding-start: calc(var(--form-element-spacing-horizontal) + 1.75rem);
  padding-inline-start: calc(var(--form-element-spacing-horizontal) + 1.75rem);
  border-radius: 5rem;
  background-image: var(--icon-search);
  background-position: center left 1.125rem;
  background-size: 1rem auto;
  background-repeat: no-repeat;
}
input:not(
    [type="checkbox"],
    [type="radio"],
    [type="range"],
    [type="file"]
  )[type="search"][aria-invalid] {
  -webkit-padding-start: calc(
    var(--form-element-spacing-horizontal) + 1.75rem
  ) !important;
  padding-inline-start: calc(
    var(--form-element-spacing-horizontal) + 1.75rem
  ) !important;
  background-position: center left 1.125rem, center right 0.75rem;
}
input:not(
    [type="checkbox"],
    [type="radio"],
    [type="range"],
    [type="file"]
  )[type="search"][aria-invalid="false"] {
  background-image: var(--icon-search), var(--icon-valid);
}
input:not(
    [type="checkbox"],
    [type="radio"],
    [type="range"],
    [type="file"]
  )[type="search"][aria-invalid="true"] {
  background-image: var(--icon-search), var(--icon-invalid);
}

[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  display: none;
}

[dir="rtl"]
  :where(input):not(
    [type="checkbox"],
    [type="radio"],
    [type="range"],
    [type="file"]
  )[type="search"] {
  background-position: center right 1.125rem;
}
[dir="rtl"]
  :where(input):not(
    [type="checkbox"],
    [type="radio"],
    [type="range"],
    [type="file"]
  )[type="search"][aria-invalid] {
  background-position: center right 1.125rem, center left 0.75rem;
}

/**
 * Table
 */
:where(table) {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  text-indent: 0;
}

th,
td {
  padding: calc(var(--spacing) / 2) var(--spacing);
  border-bottom: var(--border-width) solid var(--table-border-color);
  color: var(--color);
  font-weight: var(--font-weight);
  font-size: var(--font-size);
  text-align: left;
  text-align: start;
}

tfoot th,
tfoot td {
  border-top: var(--border-width) solid var(--table-border-color);
  border-bottom: 0;
}

table[role="grid"] tbody tr:nth-child(odd) {
  background-color: var(--table-row-stripped-background-color);
}

/**
 * Code
 */
pre,
code,
kbd,
samp {
  font-size: 0.875em;
  font-family: var(--font-family);
}

pre {
  -ms-overflow-style: scrollbar;
  overflow: auto;
}

pre,
code,
kbd {
  border-radius: var(--border-radius);
  background: var(--code-background-color);
  color: var(--code-color);
  font-weight: var(--font-weight);
  line-height: initial;
}

code,
kbd {
  display: inline-block;
  padding: 0.375rem 0.5rem;
}

pre {
  display: block;
  margin-bottom: var(--spacing);
  overflow-x: auto;
}
pre > code {
  display: block;
  padding: var(--spacing);
  background: none;
  font-size: 14px;
  line-height: var(--line-height);
}

code b {
  color: var(--code-tag-color);
  font-weight: var(--font-weight);
}
code i {
  color: var(--code-property-color);
  font-style: normal;
}
code u {
  color: var(--code-value-color);
  text-decoration: none;
}
code em {
  color: var(--code-comment-color);
  font-style: normal;
}

kbd {
  background-color: var(--code-kbd-background-color);
  color: var(--code-kbd-color);
  vertical-align: baseline;
}

/**
 * Miscs
 */
hr {
  height: 0;
  border: 0;
  border-top: 1px solid var(--muted-border-color);
  color: inherit;
}

[hidden],
template {
  display: none !important;
}

canvas {
  display: inline-block;
}

/**
 * Accordion (<details>)
 */
details {
  display: block;
  margin-bottom: var(--spacing);
  padding-bottom: var(--spacing);
  border-bottom: var(--border-width) solid var(--accordion-border-color);
}
details summary {
  line-height: 1rem;
  list-style-type: none;
  cursor: pointer;
  transition: color var(--transition);
}
details summary:not([role]) {
  color: var(--accordion-close-summary-color);
}
details summary::-webkit-details-marker {
  display: none;
}
details summary::marker {
  display: none;
}
details summary::-moz-list-bullet {
  list-style-type: none;
}
details summary::after {
  display: block;
  width: 1rem;
  height: 1rem;
  -webkit-margin-start: calc(var(--spacing, 1rem) * 0.5);
  margin-inline-start: calc(var(--spacing, 1rem) * 0.5);
  float: right;
  transform: rotate(-90deg);
  background-image: var(--icon-chevron);
  background-position: right center;
  background-size: 1rem auto;
  background-repeat: no-repeat;
  content: "";
  transition: transform var(--transition);
}
details summary:focus {
  outline: none;
}
details summary:focus:not([role="button"]) {
  color: var(--accordion-active-summary-color);
}
details summary[role="button"] {
  width: 100%;
  text-align: left;
}
details summary[role="button"]::after {
  height: calc(1rem * var(--line-height, 1.5));
  background-image: var(--icon-chevron-button);
}
details summary[role="button"]:not(.outline).contrast::after {
  background-image: var(--icon-chevron-button-inverse);
}
details[open] > summary {
  margin-bottom: calc(var(--spacing));
}
details[open] > summary:not([role]):not(:focus) {
  color: var(--accordion-open-summary-color);
}
details[open] > summary::after {
  transform: rotate(0);
}

[dir="rtl"] details summary {
  text-align: right;
}
[dir="rtl"] details summary::after {
  float: left;
  background-position: left center;
}

/**
 * Card (<article>)
 */
article {
  margin: var(--block-spacing-vertical) 0;
  padding: var(--block-spacing-vertical) var(--block-spacing-horizontal);
  border-radius: var(--border-radius);
  background: var(--card-background-color);
  box-shadow: var(--card-box-shadow);
}
article > header,
article > footer {
  margin-right: calc(var(--block-spacing-horizontal) * -1);
  margin-left: calc(var(--block-spacing-horizontal) * -1);
  padding: calc(var(--block-spacing-vertical) * 0.66)
    var(--block-spacing-horizontal);
  background-color: var(--card-sectionning-background-color);
}
article > header {
  margin-top: calc(var(--block-spacing-vertical) * -1);
  margin-bottom: var(--block-spacing-vertical);
  border-bottom: var(--border-width) solid var(--card-border-color);
  border-top-right-radius: var(--border-radius);
  border-top-left-radius: var(--border-radius);
}
article > footer {
  margin-top: var(--block-spacing-vertical);
  margin-bottom: calc(var(--block-spacing-vertical) * -1);
  border-top: var(--border-width) solid var(--card-border-color);
  border-bottom-right-radius: var(--border-radius);
  border-bottom-left-radius: var(--border-radius);
}

/**
 * Modal (<dialog>)
 */
#mount {
  --scrollbar-width: 0px;
}

dialog {
  display: flex;
  z-index: 999;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  align-items: center;
  justify-content: center;
  width: inherit;
  min-width: 100%;
  height: inherit;
  min-height: 100%;
  padding: var(--spacing);
  border: 0;
  -webkit-backdrop-filter: var(--modal-overlay-backdrop-filter);
  backdrop-filter: var(--modal-overlay-backdrop-filter);
  background-color: var(--modal-overlay-background-color);
  color: var(--color);
}
dialog article {
  max-height: calc(100vh - var(--spacing) * 2);
  overflow: auto;
}
@media (min-width: 576px) {
  dialog article {
    max-width: 510px;
  }
}
@media (min-width: 768px) {
  dialog article {
    max-width: 700px;
  }
}
dialog article > header,
dialog article > footer {
  padding: calc(var(--block-spacing-vertical) * 0.5)
    var(--block-spacing-horizontal);
}
dialog article > header .close {
  margin: 0;
  margin-left: var(--spacing);
  float: right;
}
dialog article > footer {
  text-align: right;
}
dialog article > footer [role="button"] {
  margin-bottom: 0;
}
dialog article > footer [role="button"]:not(:first-of-type) {
  margin-left: calc(var(--spacing) * 0.5);
}
dialog article p:last-of-type {
  margin: 0;
}
dialog article .close {
  display: block;
  width: 1rem;
  height: 1rem;
  margin-top: calc(var(--block-spacing-vertical) * -0.5);
  margin-bottom: var(--typography-spacing-vertical);
  margin-left: auto;
  background-image: var(--icon-close);
  background-position: center;
  background-size: auto 1rem;
  background-repeat: no-repeat;
  opacity: 0.5;
  transition: opacity var(--transition);
}
dialog article .close:is([aria-current], :hover, :active, :focus) {
  opacity: 1;
}
dialog:not([open]),
dialog[open="false"] {
  display: none;
}

.modal-is-open {
  padding-right: var(--scrollbar-width, 0px);
  overflow: hidden;
  pointer-events: none;
}
.modal-is-open dialog {
  pointer-events: auto;
}

:where(.modal-is-opening, .modal-is-closing) dialog,
:where(.modal-is-opening, .modal-is-closing) dialog > article {
  animation-duration: 0.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
}
:where(.modal-is-opening, .modal-is-closing) dialog {
  animation-duration: 0.8s;
  animation-name: modal-overlay;
}
:where(.modal-is-opening, .modal-is-closing) dialog > article {
  animation-delay: 0.2s;
  animation-name: modal;
}

.modal-is-closing dialog,
.modal-is-closing dialog > article {
  animation-delay: 0s;
  animation-direction: reverse;
}

@keyframes modal-overlay {
  from {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-color: transparent;
  }
}
@keyframes modal {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
}
/**
 * Nav
 */
:where(nav li)::before {
  float: left;
  content: "\u200B";
}

nav,
nav ul {
  display: flex;
}

nav {
  justify-content: space-between;
}
nav ol,
nav ul {
  align-items: center;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}
nav ol:first-of-type,
nav ul:first-of-type {
  margin-left: calc(var(--nav-element-spacing-horizontal) * -1);
}
nav ol:last-of-type,
nav ul:last-of-type {
  margin-right: calc(var(--nav-element-spacing-horizontal) * -1);
}
nav li {
  display: inline-block;
  margin: 0;
  padding: var(--nav-element-spacing-vertical)
    var(--nav-element-spacing-horizontal);
}
nav li > * {
  --spacing: 0;
}
nav :where(a, [role="link"]) {
  display: inline-block;
  margin: calc(var(--nav-link-spacing-vertical) * -1)
    calc(var(--nav-link-spacing-horizontal) * -1);
  padding: var(--nav-link-spacing-vertical) var(--nav-link-spacing-horizontal);
  border-radius: var(--border-radius);
  text-decoration: none;
}
nav :where(a, [role="link"]):is([aria-current], :hover, :active, :focus) {
  text-decoration: none;
}
nav[aria-label="breadcrumb"] {
  align-items: center;
  justify-content: start;
}
nav[aria-label="breadcrumb"] ul li:not(:first-child) {
  -webkit-margin-start: var(--nav-link-spacing-horizontal);
  margin-inline-start: var(--nav-link-spacing-horizontal);
}
nav[aria-label="breadcrumb"] ul li:not(:last-child) ::after {
  position: absolute;
  width: calc(var(--nav-link-spacing-horizontal) * 2);
  -webkit-margin-start: calc(var(--nav-link-spacing-horizontal) / 2);
  margin-inline-start: calc(var(--nav-link-spacing-horizontal) / 2);
  content: "/";
  color: var(--muted-color);
  text-align: center;
}
nav[aria-label="breadcrumb"] a[aria-current] {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
  pointer-events: none;
}
nav [role="button"] {
  margin-right: inherit;
  margin-left: inherit;
  padding: var(--nav-link-spacing-vertical) var(--nav-link-spacing-horizontal);
}

aside nav,
aside ol,
aside ul,
aside li {
  display: block;
}
aside li {
  padding: calc(var(--nav-element-spacing-vertical) * 0.5)
    var(--nav-element-spacing-horizontal);
}
aside li a {
  display: block;
}
aside li [role="button"] {
  margin: inherit;
}

[dir="rtl"] nav[aria-label="breadcrumb"] ul li:not(:last-child) ::after {
  content: "\\\\";
}

/**
 * Progress
 */
progress {
  display: inline-block;
  vertical-align: baseline;
}

progress {
  -webkit-appearance: none;
  -moz-appearance: none;
  display: inline-block;
  appearance: none;
  width: 100%;
  height: 0.5rem;
  margin-bottom: calc(var(--spacing) * 0.5);
  overflow: hidden;
  border: 0;
  border-radius: var(--border-radius);
  background-color: var(--progress-background-color);
  color: var(--progress-color);
}
progress::-webkit-progress-bar {
  border-radius: var(--border-radius);
  background: none;
}
progress[value]::-webkit-progress-value {
  background-color: var(--progress-color);
}
progress::-moz-progress-bar {
  background-color: var(--progress-color);
}
@media (prefers-reduced-motion: no-preference) {
  progress:indeterminate {
    background: var(--progress-background-color)
      linear-gradient(
        to right,
        var(--progress-color) 30%,
        var(--progress-background-color) 30%
      )
      top left/150% 150% no-repeat;
    animation: progress-indeterminate 1s linear infinite;
  }
  progress:indeterminate[value]::-webkit-progress-value {
    background-color: transparent;
  }
  progress:indeterminate::-moz-progress-bar {
    background-color: transparent;
  }
}

@media (prefers-reduced-motion: no-preference) {
  [dir="rtl"] progress:indeterminate {
    animation-direction: reverse;
  }
}

@keyframes progress-indeterminate {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/**
 * Dropdown ([role="list"])
 */
details[role="list"],
li[role="list"] {
  position: relative;
}

details[role="list"] summary + ul,
li[role="list"] > ul {
  display: flex;
  z-index: 99;
  position: absolute;
  top: auto;
  right: 0;
  left: 0;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border: var(--border-width) solid var(--dropdown-border-color);
  border-radius: var(--border-radius);
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  background-color: var(--dropdown-background-color);
  box-shadow: var(--card-box-shadow);
  color: var(--dropdown-color);
  white-space: nowrap;
}
details[role="list"] summary + ul li,
li[role="list"] > ul li {
  width: 100%;
  margin-bottom: 0;
  padding: calc(var(--form-element-spacing-vertical) * 0.5)
    var(--form-element-spacing-horizontal);
  list-style: none;
}
details[role="list"] summary + ul li:first-of-type,
li[role="list"] > ul li:first-of-type {
  margin-top: calc(var(--form-element-spacing-vertical) * 0.5);
}
details[role="list"] summary + ul li:last-of-type,
li[role="list"] > ul li:last-of-type {
  margin-bottom: calc(var(--form-element-spacing-vertical) * 0.5);
}
details[role="list"] summary + ul li a,
li[role="list"] > ul li a {
  display: block;
  margin: calc(var(--form-element-spacing-vertical) * -0.5)
    calc(var(--form-element-spacing-horizontal) * -1);
  padding: calc(var(--form-element-spacing-vertical) * 0.5)
    var(--form-element-spacing-horizontal);
  overflow: hidden;
  color: var(--dropdown-color);
  text-decoration: none;
  text-overflow: ellipsis;
}
details[role="list"] summary + ul li a:hover,
li[role="list"] > ul li a:hover {
  background-color: var(--dropdown-hover-background-color);
}

details[role="list"] summary::after,
li[role="list"] > a::after {
  display: block;
  width: 1rem;
  height: calc(1rem * var(--line-height, 1.5));
  -webkit-margin-start: 0.5rem;
  margin-inline-start: 0.5rem;
  float: right;
  transform: rotate(0deg);
  background-position: right center;
  background-size: 1rem auto;
  background-repeat: no-repeat;
  content: "";
}

details[role="list"] {
  padding: 0;
  border-bottom: none;
}
details[role="list"] summary {
  margin-bottom: 0;
}
details[role="list"] summary:not([role]) {
  height: calc(
    1rem * var(--line-height) + var(--form-element-spacing-vertical) * 2 +
      var(--border-width) * 2
  );
  padding: var(--form-element-spacing-vertical)
    var(--form-element-spacing-horizontal);
  border: var(--border-width) solid var(--form-element-border-color);
  border-radius: var(--border-radius);
  background-color: var(--form-element-background-color);
  color: var(--form-element-placeholder-color);
  line-height: inherit;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition),
    color var(--transition), box-shadow var(--transition);
}
details[role="list"] summary:not([role]):active,
details[role="list"] summary:not([role]):focus {
  border-color: var(--form-element-active-border-color);
  background-color: var(--form-element-active-background-color);
}
details[role="list"] summary:not([role]):focus {
  box-shadow: 0 0 0 var(--outline-width) var(--form-element-focus-color);
}
details[role="list"][open] summary {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
details[role="list"][open] summary::before {
  display: block;
  z-index: 1;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: none;
  content: "";
  cursor: default;
}

nav details[role="list"] summary,
nav li[role="list"] a {
  display: flex;
  direction: ltr;
}

nav details[role="list"] summary + ul,
nav li[role="list"] > ul {
  min-width: -moz-fit-content;
  min-width: fit-content;
  border-radius: var(--border-radius);
}
nav details[role="list"] summary + ul li a,
nav li[role="list"] > ul li a {
  border-radius: 0;
}

nav details[role="list"] summary,
nav details[role="list"] summary:not([role]) {
  height: auto;
  padding: var(--nav-link-spacing-vertical) var(--nav-link-spacing-horizontal);
}
nav details[role="list"][open] summary {
  border-radius: var(--border-radius);
}
nav details[role="list"] summary + ul {
  margin-top: var(--outline-width);
  -webkit-margin-start: 0;
  margin-inline-start: 0;
}
nav details[role="list"] summary[role="link"] {
  margin-bottom: calc(var(--nav-link-spacing-vertical) * -1);
  line-height: var(--line-height);
}
nav details[role="list"] summary[role="link"] + ul {
  margin-top: calc(var(--nav-link-spacing-vertical) + var(--outline-width));
  -webkit-margin-start: calc(var(--nav-link-spacing-horizontal) * -1);
  margin-inline-start: calc(var(--nav-link-spacing-horizontal) * -1);
}

li[role="list"]:hover > ul,
li[role="list"] a:active ~ ul,
li[role="list"] a:focus ~ ul {
  display: flex;
}
li[role="list"] > ul {
  display: none;
  margin-top: calc(var(--nav-link-spacing-vertical) + var(--outline-width));
  -webkit-margin-start: calc(
    var(--nav-element-spacing-horizontal) - var(--nav-link-spacing-horizontal)
  );
  margin-inline-start: calc(
    var(--nav-element-spacing-horizontal) - var(--nav-link-spacing-horizontal)
  );
}
li[role="list"] > a::after {
  background-image: var(--icon-chevron);
}

/**
 * Loading ([aria-busy=true])
 */
[aria-busy="true"] {
  cursor: progress;
}

[aria-busy="true"]:not(input, select, textarea)::before {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 0.1875em solid currentColor;
  border-radius: 1em;
  border-right-color: transparent;
  content: "";
  vertical-align: text-bottom;
  vertical-align: -0.125em;
  animation: spinner 0.75s linear infinite;
  opacity: var(--loading-spinner-opacity);
}
[aria-busy="true"]:not(input, select, textarea):not(:empty)::before {
  margin-right: calc(var(--spacing) * 0.5);
  margin-left: 0;
  -webkit-margin-start: 0;
  margin-inline-start: 0;
  -webkit-margin-end: calc(var(--spacing) * 0.5);
  margin-inline-end: calc(var(--spacing) * 0.5);
}
[aria-busy="true"]:not(input, select, textarea):empty {
  text-align: center;
}

button[aria-busy="true"],
input[type="submit"][aria-busy="true"],
input[type="button"][aria-busy="true"],
input[type="reset"][aria-busy="true"],
a[aria-busy="true"] {
  pointer-events: none;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}
/**
 * Tooltip ([data-tooltip])
 */
[data-tooltip] {
  position: relative;
}
[data-tooltip]:not(a, button, input) {
  border-bottom: 1px dotted;
  text-decoration: none;
  cursor: help;
}
[data-tooltip][data-placement="top"]::before,
[data-tooltip][data-placement="top"]::after,
[data-tooltip]::before,
[data-tooltip]::after {
  display: block;
  z-index: 99;
  position: absolute;
  bottom: 100%;
  left: 50%;
  padding: 0.25rem 0.5rem;
  overflow: hidden;
  transform: translate(-50%, -0.25rem);
  border-radius: var(--border-radius);
  background: var(--tooltip-background-color);
  content: attr(data-tooltip);
  color: var(--tooltip-color);
  font-style: normal;
  font-weight: var(--font-weight);
  font-size: 0.875rem;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
[data-tooltip][data-placement="top"]::after,
[data-tooltip]::after {
  padding: 0;
  transform: translate(-50%, 0rem);
  border-top: 0.3rem solid;
  border-right: 0.3rem solid transparent;
  border-left: 0.3rem solid transparent;
  border-radius: 0;
  background-color: transparent;
  content: "";
  color: var(--tooltip-background-color);
}
[data-tooltip][data-placement="bottom"]::before,
[data-tooltip][data-placement="bottom"]::after {
  top: 100%;
  bottom: auto;
  transform: translate(-50%, 0.25rem);
}
[data-tooltip][data-placement="bottom"]:after {
  transform: translate(-50%, -0.3rem);
  border: 0.3rem solid transparent;
  border-bottom: 0.3rem solid;
}
[data-tooltip][data-placement="left"]::before,
[data-tooltip][data-placement="left"]::after {
  top: 50%;
  right: 100%;
  bottom: auto;
  left: auto;
  transform: translate(-0.25rem, -50%);
}
[data-tooltip][data-placement="left"]:after {
  transform: translate(0.3rem, -50%);
  border: 0.3rem solid transparent;
  border-left: 0.3rem solid;
}
[data-tooltip][data-placement="right"]::before,
[data-tooltip][data-placement="right"]::after {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 100%;
  transform: translate(0.25rem, -50%);
}
[data-tooltip][data-placement="right"]:after {
  transform: translate(-0.3rem, -50%);
  border: 0.3rem solid transparent;
  border-right: 0.3rem solid;
}
[data-tooltip]:focus::before,
[data-tooltip]:focus::after,
[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
  opacity: 1;
}
@media (hover: hover) and (pointer: fine) {
  [data-tooltip][data-placement="bottom"]:focus::before,
  [data-tooltip][data-placement="bottom"]:focus::after,
  [data-tooltip][data-placement="bottom"]:hover [data-tooltip]:focus::before,
  [data-tooltip][data-placement="bottom"]:hover [data-tooltip]:focus::after,
  [data-tooltip]:hover::before,
  [data-tooltip]:hover::after {
    animation-duration: 0.2s;
    animation-name: tooltip-slide-top;
  }
  [data-tooltip][data-placement="bottom"]:focus::after,
  [data-tooltip][data-placement="bottom"]:hover [data-tooltip]:focus::after,
  [data-tooltip]:hover::after {
    animation-name: tooltip-caret-slide-top;
  }
  [data-tooltip][data-placement="bottom"]:focus::before,
  [data-tooltip][data-placement="bottom"]:focus::after,
  [data-tooltip][data-placement="bottom"]:hover::before,
  [data-tooltip][data-placement="bottom"]:hover::after {
    animation-duration: 0.2s;
    animation-name: tooltip-slide-bottom;
  }
  [data-tooltip][data-placement="bottom"]:focus::after,
  [data-tooltip][data-placement="bottom"]:hover::after {
    animation-name: tooltip-caret-slide-bottom;
  }
  [data-tooltip][data-placement="left"]:focus::before,
  [data-tooltip][data-placement="left"]:focus::after,
  [data-tooltip][data-placement="left"]:hover::before,
  [data-tooltip][data-placement="left"]:hover::after {
    animation-duration: 0.2s;
    animation-name: tooltip-slide-left;
  }
  [data-tooltip][data-placement="left"]:focus::after,
  [data-tooltip][data-placement="left"]:hover::after {
    animation-name: tooltip-caret-slide-left;
  }
  [data-tooltip][data-placement="right"]:focus::before,
  [data-tooltip][data-placement="right"]:focus::after,
  [data-tooltip][data-placement="right"]:hover::before,
  [data-tooltip][data-placement="right"]:hover::after {
    animation-duration: 0.2s;
    animation-name: tooltip-slide-right;
  }
  [data-tooltip][data-placement="right"]:focus::after,
  [data-tooltip][data-placement="right"]:hover::after {
    animation-name: tooltip-caret-slide-right;
  }
}
@keyframes tooltip-slide-top {
  from {
    transform: translate(-50%, 0.75rem);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -0.25rem);
    opacity: 1;
  }
}
@keyframes tooltip-caret-slide-top {
  from {
    opacity: 0;
  }
  50% {
    transform: translate(-50%, -0.25rem);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0rem);
    opacity: 1;
  }
}
@keyframes tooltip-slide-bottom {
  from {
    transform: translate(-50%, -0.75rem);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0.25rem);
    opacity: 1;
  }
}
@keyframes tooltip-caret-slide-bottom {
  from {
    opacity: 0;
  }
  50% {
    transform: translate(-50%, -0.5rem);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -0.3rem);
    opacity: 1;
  }
}
@keyframes tooltip-slide-left {
  from {
    transform: translate(0.75rem, -50%);
    opacity: 0;
  }
  to {
    transform: translate(-0.25rem, -50%);
    opacity: 1;
  }
}
@keyframes tooltip-caret-slide-left {
  from {
    opacity: 0;
  }
  50% {
    transform: translate(0.05rem, -50%);
    opacity: 0;
  }
  to {
    transform: translate(0.3rem, -50%);
    opacity: 1;
  }
}
@keyframes tooltip-slide-right {
  from {
    transform: translate(-0.75rem, -50%);
    opacity: 0;
  }
  to {
    transform: translate(0.25rem, -50%);
    opacity: 1;
  }
}
@keyframes tooltip-caret-slide-right {
  from {
    opacity: 0;
  }
  50% {
    transform: translate(-0.05rem, -50%);
    opacity: 0;
  }
  to {
    transform: translate(-0.3rem, -50%);
    opacity: 1;
  }
}

/**
 * Accessibility & User interaction
 */
[aria-controls] {
  cursor: pointer;
}

[aria-disabled="true"],
[disabled] {
  cursor: not-allowed;
}

[aria-hidden="false"][hidden] {
  display: initial;
}

[aria-hidden="false"][hidden]:not(:focus) {
  clip: rect(0, 0, 0, 0);
  position: absolute;
}

a,
area,
button,
input,
label,
select,
summary,
textarea,
[tabindex] {
  -ms-touch-action: manipulation;
}

[dir="rtl"] {
  direction: rtl;
}

/**
* Reduce Motion Features
*/
@media (prefers-reduced-motion: reduce) {
  *:not([aria-busy="true"]),
  :not([aria-busy="true"])::before,
  :not([aria-busy="true"])::after {
    background-attachment: initial !important;
    animation-duration: 1ms !important;
    animation-delay: -1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-delay: 0s !important;
    transition-duration: 0s !important;
  }
}
`,"common.css":`#mount {
  /* --primary: rgb(227, 59, 126); */
  --primary: #ea4c89;
  --primary-hover: #f082ac;
  --icon-xia: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkZyYW1lIj4KPHBhdGggaWQ9IlZlY3RvciIgZD0iTTguMDAyOTEgOS42Nzk4M0wzLjgzMzM5IDUuNTEyMjFMMy4wMjUzOSA2LjMxOTgzTDguMDAzMjkgMTEuMjk1MUwxMi45NzYyIDYuMzE5ODNMMTIuMTY3OSA1LjUxMjIxTDguMDAyOTEgOS42Nzk4M1oiIGZpbGw9IiM4MzgzODMiLz4KPC9nPgo8L3N2Zz4K");
  --switch-checked-background-color: var(--primary);
}

[data-theme="light"],
#mount:not([data-theme="dark"]) {
  --primary: #e23c7c;
  --primary-hover: #f082ac;
}

[data-theme="dark"] {
  --primary: #e23c7c;
  --primary-hover: #f082ac;
}

[data-theme="light"] {
  --primary: #ea4c89;
  --primary-hover: #f082ac;
}

li.select-link.select-link:hover > ul {
  display: none;
}
li.select-link.select-link > ul {
  display: none;
}
li.select-link.select-link a:focus ~ ul {
  display: none;
}

li.select-link.select-link a:active ~ ul {
  display: none;
}
li.select-link-active.select-link-active > ul {
  display: flex;
}
li.select-link-active.select-link-active:hover > ul {
  display: flex;
}

li.select-link-active.select-link-active a:focus ~ ul {
  display: flex;
}

li.select-link-active.select-link-active a:active ~ ul {
  display: flex;
}
ul.select-link-ul.select-link-ul {
  right: 0px;
  left: auto;
}

a.select-link-selected {
  background-color: var(--primary-focus);
}
.immersive-translate-no-select {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
}

/* li[role="list"].no-arrow > a::after { */
/*   background-image: none; */
/*   width: 0; */
/*   color: var(--color); */
/* } */
li[role="list"].no-arrow {
  margin-left: 8px;
  padding-right: 0;
}
li[role="list"] > a::after {
  -webkit-margin-start: 0.2rem;
  margin-inline-start: 0.2rem;
}

li[role="list"].no-arrow > a,
li[role="list"].no-arrow > a:link,
li[role="list"].no-arrow > a:visited {
  color: var(--secondary);
}

select.min-select {
  --form-element-spacing-horizontal: 0;
  margin-bottom: 4px;
  max-width: 128px;
  overflow: hidden;
  color: var(--primary);
  font-size: 13px;
  border: none;
  padding: 0;
  padding-right: 20px;
  padding-left: 8px;
  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-no-arrow {
  background-image: none;
  padding-right: 0;
}

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

.muted {
  color: var(--muted-color);
}

.select.button-select {
  --background-color: var(--secondary-hover);
  --border-color: var(--secondary-hover);
  --color: var(--secondary-inverse);
  cursor: pointer;
  --box-shadow: var(--button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
  padding: var(--form-element-spacing-vertical)
    var(--form-element-spacing-horizontal);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius);
  outline: none;
  background-color: var(--background-color);
  box-shadow: var(--box-shadow);
  color: var(--color);
  font-weight: var(--font-weight);
  font-size: 16px;
  line-height: var(--line-height);
  text-align: center;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition),
    color var(--transition), box-shadow var(--transition);
  -webkit-appearance: button;
  margin: 0;
  margin-bottom: 0px;
  overflow: visible;
  font-family: inherit;
  text-transform: none;
}
`,"options.css":`:root {
  --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";
  --code-font-family: "Fira Code", "Consolas", "Monaco", "Courier New",
    monospace;
  --line-height: 1.5;
  --font-weight: 400;
  --border-radius: 0.25rem;
  --border-width: 1px;
  --outline-width: 3px;
  --spacing: 0.5rem;
  --typography-spacing-vertical: 1.5rem;
  --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: 0.75rem;
  --form-element-spacing-horizontal: 1rem;
  --nav-element-spacing-vertical: 1rem;
  --nav-element-spacing-horizontal: 0.5rem;
  --nav-link-spacing-vertical: 0.5rem;
  --nav-link-spacing-horizontal: 0.5rem;
  --form-label-font-weight: var(--font-weight);
  --transition: 0.2s ease-in-out;
  --modal-overlay-backdrop-filter: blur(0.25rem);
  --font-size: 16px;
  --consent-modal-title-color: #333;
  --consent-modal-strong-color: #000;
}

[data-theme="light"],
:root: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;
  --text-black-2: #222222;
  --text-gray-2: #222222;
  --text-gray-6: #666666;
  --text-gray-9: #999999;
  --text-gray-c2: #c2c2c2;
  --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;
}

@media only screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --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;
    --text-black-2: #ffffff;
    --text-gray-2: #dbdbdb;
    --text-gray-6: #b3b3b3;
    --text-gray-9: #777777;
    --text-gray-c2: #5b5b5b;
    --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;
    --consent-modal-title-color: #fff;
    --consent-modal-strong-color: #fff;
  }
}

[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;
  --text-black-2: #ffffff;
  --text-gray-2: #dbdbdb;
  --text-gray-6: #b3b3b3;
  --text-gray-9: #777777;
  --text-gray-c2: #5b5b5b;
  --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;
}

.header-right {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.pro-input-radio {
  flex: 0 1 24px;
}

:root {
  --font-size: 16px;
}

@media (min-width: 1280px) {
  #mount > header,
  #mount > main,
  #mount > footer {
    max-width: 1280px;
  }
}

html {
  scroll-behavior: smooth;
  /* background-color: rgba(242, 242, 242, 1); */
  font-size: var(--font-size);
  /* if not add the following two styles, in interface setting page, when clicking more themes, */
  /* the page will jitter because the scrollbar occupies some width space */
  width: 100vw;
  overflow-x: hidden;
}

body {
  font-size: var(--font-size);
  overflow-x: hidden;
}

#mount > main {
  /* padding-top: calc(var(--block-spacing-vertical) + 3.5rem); */
  padding-left: var(--block-spacing-vertical);
  padding-right: var(--block-spacing-vertical);
}

#mount > nav {
  --nav-link-spacing-vertical: 1rem;
  padding-left: var(--block-spacing-horizontal);
  padding-right: var(--block-spacing-horizontal);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  z-index: 99;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  backdrop-filter: saturate(180%) blur(20px);
  background-color: var(--nav-background-color);
  box-shadow: 0px 1px 0 var(--nav-border-color);
}

main > aside > nav ul {
  margin: 0 !important;
}

@media (min-width: 992px) {
  #mount > nav ul:first-of-type li:nth-of-type(2) {
    display: inline;
  }
}

@media (min-width: 992px) {
  #mount > main {
    --block-spacing-horizontal: calc(var(--spacing) * 1.75);
  }
}

@media (min-width: 1200px) {
  #mount > main {
    --block-spacing-horizontal: calc(var(--spacing) * 2);
    grid-column-gap: calc(var(--block-spacing-horizontal) * 3);
    display: grid;
    grid-template-columns: 250px auto;
  }
}

#mount > main > aside,
#mount > main div[role="main"] {
  min-width: 0;
}

.menu-nav {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding-bottom: var(--block-spacing-vertical);
}

textarea::placeholder {
  opacity: 0.3;
}

@media (max-width: 576px) {
  .menu-nav a {
    font-size: 14px !important;
  }
}

@media (min-width: 1200px) {
  .menu-nav {
    position: fixed;
    width: 250px;
    max-height: calc(100vh - 5.5rem);
  }
}

a[role="button"] {
  padding: 0.4rem 1rem;
}

a.no-focus:focus,
[role="link"]:focus {
  --background-color: transparent;
}

.immersive-translate-status {
  font-size: 0.875rem;
}

hgroup.hgroup {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav-left {
  flex-shrink: 0;
  flex: 6;
  padding-right: 1.2rem;
}

.nav-right {
  display: flex;
  flex: 0 1 10rem;
  justify-content: flex-end;
}

.select {
  display: flex;
  align-items: center;
  margin: 0;
  flex: 0 1 10rem;
  max-height: 12rem;
}

.title {
  line-height: 1.6rem;
}

.description {
  color: rgb(148 163 184);
  font-size: 15px;
}

.input-row {
  display: flex;
  padding: 0.5rem 0rem;
}

input.input {
  margin-bottom: 0;
  max-height: 2.6rem;
}

label {
  margin: 0;
}

.input-raw-left {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 6rem;
}

.input-left {
  display: flex;
  flex: 1 1 4rem;
  max-width: 6rem;
  justify-content: flex-end;
  align-items: center;
}

.input-right {
  flex: 1 1 auto;
  margin: 0;
}

.confirm-button {
  margin: 0.4rem 9rem;
  padding: 0.4rem 1rem;
}

.option-list {
  max-height: 16rem;
  overflow: scroll;
}

.langs-list {
  display: flex;
  flex-wrap: wrap;
}

.lang-card {
  display: flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(233, 233, 233, 1);
  margin-right: 1.1rem;
  margin-bottom: 0.8rem;
  color: rgb(148 163 184);
  border-radius: 0.15rem;
  font-size: 17px;
  /* background-color: rgba(249, 249, 249, 1); */
}

.close {
  width: 0.8rem;
  height: 0.8rem;
  margin-left: 0.4rem;
  background-image: var(--icon-close);
  background-size: auto 0.8rem;
  background-repeat: no-repeat;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.url-list {
  display: flex;
  justify-content: space-between;
  padding: 0 1.3rem;
  /* background-color: rgba(255, 255, 255, 1); */
  align-items: center;
  line-height: 1.5;
}

.url-name {
  font-weight: 500;
  max-width: calc(100% - 100px);
}

.height-tight {
  line-height: 1.2;
}

.url-dot {
  font-size: 1.2rem;
}

.add-button {
  padding: 0.5rem 1rem;
}

nav li[role="list"] a,
label.engine {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

dialog article .close {
  margin-bottom: 0.5rem;
}

article.add-modal {
  width: 30rem;
}

div.add-text {
  font-size: 1.1rem;
  margin: 16px 3px;
}

.footer-button {
  display: flex;
  justify-content: center;
  flex: 1;
  flex-grow: 1;
}

.full-button {
  width: 100%;
  line-height: 1.2rem;
  margin-top: 0.8rem;
}

.margin-left {
  margin-left: 0.5rem;
}

.margin-right {
  margin-right: 0.5rem;
}

nav details[role="list"] summary + ul li {
  width: 6rem;
  text-align: center;
}

.border-color-left {
  display: flex;
  align-items: center;
}

input.border-color-text {
  width: 8rem;
}

input[type="color"] {
  width: 5rem;
}

.reset-color {
  display: flex;
  justify-content: end;
  align-items: center;
}

a.tiny-button {
  padding: 0.2rem 0.6rem;
  margin: 0.3rem 2rem;
}

.url-list-item {
  background: #f3f6f8;
  padding: 12px 0;
  border-radius: 6px;
}

/* dark */

@media (prefers-color-scheme: dark) {
  .url-list-item {
    background: rgba(0, 0, 0, 0.1);
  }
}

.header {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
}

.header img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.header .info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  margin-left: 16px;
}

.header .ops {
  display: flex;
  flex-direction: row;
  align-items: center;
}

@media (max-width: 576px) {
  .header {
    flex-wrap: wrap;
  }

  .hader .ops {
    margin-top: 8px;
  }
}

.info {
  min-width: 240px;
}

.info .info-title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 400px;
}

@media (max-width: 576px) {
  .info .info-title {
    max-width: 200px;
  }
}

@media (prefers-color-scheme: dark) {
  .info .info-title {
    color: #fff;
  }
}

.end-time {
  font-size: 12px;
  color: #c7c7c7;
  white-space: nowrap;
}

.info-primary {
  color: var(--primary) !important;
}

.info .info-subtitle {
  font-size: 14px;
  color: #999;
  margin-right: 10px;
  margin-bottom: 10px;
}

.header a {
  font-size: 14px;
}

.header > div:last-child {
  margin-left: 24px;
}

.header > div.ops {
  margin-left: 0px;
}

.ops > div:last-child {
  margin-left: 24px;
}

.pro-radio-label {
  position: relative;
  display: flex;
  align-items: center;
  margin-inline-start: 0;
  margin-inline-end: 8px;
  cursor: pointer;
  margin-bottom: 16px;
}

article {
  padding: 20px var(--block-spacing-horizontal);
  margin: 16px 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.option-input {
  width: 180px;
}

@media (max-width: 576px) {
  .description {
    font-size: 14px;
  }

  .option-input {
    width: 160px;
  }

  article {
    padding: 20px var(--block-spacing-horizontal);
    margin: 16px 0;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  }
}

.intro-container {
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(255, 146, 188, 0.3) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.08);

  margin-top: 16px;
  margin-bottom: 24px;
}

.intro-content {
  display: flex;
  align-items: center;
  padding: 24px 38px;
}

.intro-line {
  background: #ebebeb;
  height: 1px;
  width: 100%;
}

.intro-container img {
  height: 200px;
}

.intro-footer {
  display: none;
}

.intro-right {
  margin-left: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media screen and (max-width: 1200px) and (min-width: 992px) {
  .intro-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .intro-right {
    margin-left: 0;
  }
}

@media screen and (max-width: 768px) {
  .intro-container {
    display: none;
  }

  .intro-footer {
    display: block;
    font-size: 12px;
  }
}

.intro-right h1 {
  font-size: 18px;
  line-height: normal;
  font-style: normal;
  font-weight: 700;
  margin-bottom: 0;
}

.intro-right p {
  margin-top: 16px;
  font-size: 14px;
  line-height: normal;
  font-weight: 400;
  margin-bottom: 0;
}

.intro-night-img {
  display: none;
}

@media only screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    .intro-light-img {
      display: none;
    }

    .intro-night-img {
      display: block;
    }
  }
}

[data-theme="dark"] {
  .intro-light-img {
    display: none;
  }

  .intro-night-img {
    display: block;
  }
}

.tags-input-container {
  display: flex;
  flex-wrap: wrap;
}

.tags-input-container .tag {
  border: 1px solid var(--form-element-border-color);
  padding: 0 15px;
  border-radius: 8px;
  line-height: 44px;
  display: inline-block;
  margin: 6px;
}

.tags-input-container .input {
  min-width: 60px;
}

.tags-input-container .delete {
  cursor: pointer;
  padding: 10px;
  color: var(--primary);
}

.tags-input-container .add {
  cursor: pointer;
  border: 1px dashed var(--form-element-border-color);
  text-align: center;
}

.code-editor {
  font-family: var(--code-font-family);
}

.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;
}

.contact-embed {
  margin-left: -1rem;
}

@media screen and (min-width: 1200px) {
  .contact-embed {
    margin-left: -2rem;
  }
}

.display-none {
  display: none;
}

.header-navbar {
  width: 100% !important;
  max-width: 100% !important;
  box-shadow: 0px 2px 2px 0px #0000000f;
  padding: 22px 64px !important;
  position: fixed;
  background-color: var(--background-color);
  display: flex;
  z-index: 2147483647;
  height: 60px;
}

.header-navbar a:hover,
.header-navbar a:focus {
  text-decoration: none;
  background-color: transparent;
}

.header-navbar-height {
  height: 60px;
}

.header-navbar-brand {
  display: flex;
  align-items: center;
}

.header-navbar-brand h1 {
  color: var(--h1-color);
  font-weight: bold;
  font-size: 1rem;
  line-height: 1rem;
  margin: 0 0 0 8px;
}

.header-navbar-item {
  display: flex;
  align-items: center;
}

.header-navbar-item span {
  margin-left: 4px;
  color: var(--h3-color);
}

.header-navbar-item svg {
  fill: var(--h3-color);
}

.menu-nav {
  height: calc(100vh - 180px);
  border-right: 1px solid var(--muted-border-color);
  padding-top: 10px;
}

.version {
  color: #999;
  font-size: 0.85rem;
  align-self: center;
  margin-left: 12px;
}

@media screen and (max-width: 1200px) {
  .menu-nav {
    height: unset;
    border-right: none;
  }
}

@media screen and (max-width: 820px) {
  .header-navbar {
    padding: 12px 16px !important;
    height: 50px;
  }

  .header-navbar-height {
    height: 50px;
  }
}

.store-container .immersive-translate-link {
  color: var(--h5-color);
  text-decoration: underline;
}

.store-container .immersive-translate-link:hover {
  text-decoration-thickness: 2px;
}

/* CJK \u4F7F\u7528\u8FB9\u6846\u6837\u5F0F */
[data-lang="zh-CN"] .store-container .immersive-translate-link,
[data-lang="zh-TW"] .store-container .immersive-translate-link,
[data-lang="ja"] .store-container .immersive-translate-link,
[data-lang="ko"] .store-container .immersive-translate-link {
  text-decoration: none;
  border-bottom: 1px solid;
  margin: 0 1px;
}

[data-lang="zh-CN"] .store-container .immersive-translate-link:hover,
[data-lang="zh-TW"] .store-container .immersive-translate-link:hover,
[data-lang="ja"] .store-container .immersive-translate-link:hover,
[data-lang="ko"] .store-container .immersive-translate-link:hover {
  text-decoration: none;
  border-bottom: 2px solid;
}

.card-header {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.card-container {
  border-radius: 8px;
  border: 1px solid var(--muted-border-color);
  padding: 0 24px;
  margin-top: 18px;
  margin-bottom: 30px;
}

.manga-enable,
.image-tools-enable {
  display: none;
}

.input-select {
  max-width: 180px;
}

@media screen and (max-width: 576px) {
  .input-select {
    max-width: 160px;
  }
  .header {
    padding: 12px 0.5re\u0153m !important;
    font-size: 14px;
  }

  .header-brand {
    svg {
      width: 24px;
      height: 24px;
    }
  }

  .header-item {
    svg {
      width: 18px;
      height: 18px;
    }
  }

  .mobile-hidden {
    display: none;
  }

  .manga-enable,
  .image-tools-enable {
    display: flex;
  }

  .card-header {
    margin-top: 1rem;
  }

  .card-container {
    margin-bottom: 1rem;
  }
}
.details-note p {
  font-size: 16px;
}

textarea[disabled] {
  pointer-events: unset;
}

/* --- \u7FFB\u8BD1\u670D\u52A1\u8BBE\u7F6E\u6539\u7248\u4FEE\u6539 --- */
.container-fluid {
  padding: 0 !important;
  column-gap: calc(var(--block-spacing-horizontal) * 2) !important;
}

.translation-service-header {
  width: auto;
  padding: 16px 0;
  border-bottom: 1px solid var(--muted-border-color);
  align-items: flex-start;
}

.translation-service-header-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  width: 100%;
  gap: 4px;
}

.translation-service-header-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.translation-service-header-title {
  font-size: 1.125rem;
  line-height: 1.5;
}

.translation-service-header-description {
  color: var(--text-second);
  font-size: 0.875rem;
  line-height: 1.5;
}

.translation-service-header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-end;
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .translation-service-header-title {
    font-size: 1rem;
  }

  .translation-service-header-actions {
    display: none;
  }
}

.translation-service-mobile-actions {
  align-items: center;
}

.online-translate-compare {
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--secondary) !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.add-custom-service {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--secondary) !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.online-translate-compare:hover,
.online-translate-compare:focus,
.add-custom-service:hover,
.add-custom-service:focus {
  text-decoration: none !important;
}

.translation-service-container {
  display: flex;
  overflow: hidden;
}
.translation-service-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: 1;
  overflow-y: scroll;
  /* \u9690\u85CF\u6EDA\u52A8\u6761 */
  scrollbar-width: none;
  -ms-overflow-style: none;
  &::-webkit-scrollbar {
    display: none;
  }
}

.translation-service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-radius: 8px 0px 0px 8px;
}

.translation-service-item[data-selected="true"],
.translation-service-item:hover {
  background-color: var(--service-bg-hover);
}

.translation-service-item:hover .service-set-default {
  opacity: 1;
}

.translation-service-item-img {
  width: 32px;
  height: 32px;
}

.translation-service-item h3 {
  font-size: 14px;
  font-weight: 500;
  margin-left: 8px;
  margin-right: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}

.translation-service-item a {
  font-size: 12px;
}

.add-custom-ai-service,
.service-set-default,
.service-current-default {
  color: #999999;
  font-size: 12px;
  font-weight: 400;
}

.service-set-default {
  cursor: pointer;
}

.translation-service-setting {
  flex-direction: column;
  align-items: center;
  height: 100%;
  overflow-y: scroll;
  background-color: var(--service-bg);
  width: 100%;
  /* \u9690\u85CF\u6EDA\u52A8\u6761 */
  scrollbar-width: none;
  -ms-overflow-style: none;
  &::-webkit-scrollbar {
    display: none;
  }
}

.service-setting-header {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-bottom: 1px solid var(--muted-border-color);
  padding-bottom: 16px;
}

.service-setting-header-introduction {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 12px;
}

.free-model-setting-list {
  width: 100%;
}

.free-model-service-card {
  width: 100%;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--muted-border-color);
}

.free-model-service-card:hover .free-model-service-card-action,
.free-model-service-card:focus-within .free-model-service-card-action {
  opacity: 1;
  pointer-events: auto;
}

.free-model-service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.free-model-service-card-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.free-model-service-card-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.free-model-service-card-title {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  margin: 0;
  color: var(--h3-color);
}

.free-model-service-card-preferred {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #999999;
}

.free-model-service-card-action {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}

.free-model-service-card-action,
.service-verify-link {
  font-size: 13px;
  line-height: 20px;
  white-space: nowrap;
}

.free-model-service-card-description {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color);
  margin-top: 12px;
}

.free-model-service-card-description picture,
.free-model-service-card-description img {
  display: block;
  margin-top: 12px;
}

@media screen and (max-width: 640px) {
  .free-model-service-card-icon {
    width: 32px;
    height: 32px;
  }

  .free-model-service-card-title {
    font-size: 16px;
  }
}

.service-setting-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.add-custom-service-modal-content {
  width: 576px;
}

.add-custom-service-modal-content h1 {
  font-size: 17px;
  margin-bottom: 16px;
}

.add-custom-service-item-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;

  /* \u9690\u85CF\u6EDA\u52A8\u6761 */
  scrollbar-width: none;
  -ms-overflow-style: none;
  &::-webkit-scrollbar {
    display: none;
  }
}

.add-custom-service-item {
  width: 32.5%;
  display: flex;
  align-items: center;
  padding: 12px 8px;
  border-radius: 8px;
  cursor: pointer;
}

.add-custom-service-item div {
  font-size: 14px;
}

.add-custom-service-item:hover {
  background-color: var(--service-bg-hover);
}

.service-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
}

.service-group-header div {
  font-size: 14px;
}

.custom-select-container {
  position: relative;
  flex: 1;
  border: 1px solid var(--form-element-border-color);
  height: 3rem;
  border-radius: var(--border-radius);
  width: 10rem;
  min-width: 10rem;
}

@media (max-width: 576px) {
  .custom-select-popup {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .custom-select-content {
    position: relative !important;
    width: max-content;
    max-height: 80% !important;
  }
}

.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: 4px 5px;
  position: absolute;
  right: 0;
  z-index: 100;
  overflow-y: auto;

  scrollbar-width: none;
  -ms-overflow-style: none;
  &::-webkit-scrollbar {
    display: none;
  }
}

#translation-service-select {
  height: 100%;
  padding: 0 16px;
}

.custom-select-current {
  display: flex;
  flex: 1;
  align-items: center;
  color: var(--form-element-color);
}

.custom-select-current img {
  margin-right: 4px;
}

.custom-select-item {
  font-size: 0.8rem;
  padding: 5px 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--form-element-color);
  width: auto;
  overflow: hidden;
  height: 30px;
  line-height: 30px;
}

.custom-select-item-img {
  width: 20px;
  height: 20px;
  margin-right: 4px;
  flex-shrink: 0;
}

@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.default {
  font-size: 14px;
  width: 100%;
  padding: 0;
}

.custom-select-item > span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  display: flex;
  align-items: center;
}

.custom-select-item-pro {
  font-size: 12px;
  margin-left: 6px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

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

.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;
}

.consent-modal {
  font-size: 14px;
  align-self: stretch;
}

.consent-modal h2 {
  color: var(--consent-modal-title-color);
  margin-bottom: 20px;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 27px;
}

.consent-modal strong {
  color: var(--consent-modal-strong-color);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

.consent-modal .highlight-text {
  color: #ea4c89;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

.consent-modal .button {
  padding: 9px 32px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  border-radius: 8px;
  cursor: pointer;
}

.consent-modal .confirm {
  background-color: #ea4c89;
  color: #fff;
}

.consent-modal .confirm[disabled="true"] {
  background-color: #f4a5c4;
  cursor: not-allowed;
}

.consent-modal .cancel {
  color: #333;
  background-color: #f3f5f6;
}

.consent-modal input {
  margin: 24px 0;
  width: 100%;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
}

.consent-modal ul {
  margin: 12px 0;
  padding-left: 24px;
  list-style-type: disc;
}

.consent-modal li {
  margin: 8px 0;
  line-height: 24px;
  color: var(--text-black-2);
}

.consent-modal div {
  line-height: 24px;
  color: var(--text-black-2);
}

.consent-modal-wrapper {
  padding: 24px 32px;
}

@media screen and (max-width: 768px) {
  .consent-modal-wrapper {
    padding: 20px 20px;
  }

  .consent-modal {
    font-size: 13px;
  }

  .consent-modal h2 {
    font-size: 16px;
    margin-bottom: 16px;
    line-height: 24px;
  }

  .consent-modal strong {
    font-size: 14px;
    line-height: 20px;
  }

  .consent-modal .highlight-text {
    font-size: 14px;
    line-height: 20px;
  }

  .consent-modal ul {
    margin: 10px 0;
    padding-left: 20px;
  }

  .consent-modal li {
    margin: 6px 0;
    line-height: 20px;
  }

  .consent-modal div {
    line-height: 20px;
  }

  .consent-modal input {
    margin: 16px 0;
    padding: 10px;
    font-size: 13px;
  }

  .consent-modal .button {
    padding: 8px 24px;
    font-size: 14px;
    line-height: 20px;
  }

  .consent-modal .button-container {
    gap: 12px;
  }
}

@media screen and (max-width: 576px) {
  .consent-modal-wrapper {
    padding: 16px 16px;
  }

  .consent-modal {
    font-size: 12px;
  }

  .consent-modal h2 {
    font-size: 15px;
    margin-bottom: 12px;
    line-height: 22px;
  }

  .consent-modal strong {
    font-size: 13px;
    line-height: 18px;
  }

  .consent-modal .highlight-text {
    font-size: 13px;
    line-height: 18px;
  }

  .consent-modal ul {
    margin: 8px 0;
    padding-left: 18px;
  }

  .consent-modal li {
    margin: 5px 0;
    line-height: 18px;
    font-size: 12px;
  }

  .consent-modal div {
    line-height: 18px;
  }

  .consent-modal input {
    margin: 12px 0;
    padding: 8px;
    font-size: 12px;
  }

  .consent-modal .button-container {
    display: flex;
    flex-direction: row;
    gap: 12px;
    float: none;
    justify-content: stretch;
  }

  .consent-modal .button {
    padding: 7px 20px;
    font-size: 13px;
    line-height: 18px;
    flex: 1;
    min-width: 0;
  }
}
`,"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;
}
`,"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;
  }
}
`,"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;
}
`};var Fj=Object.create,E3=Object.defineProperty,Bj=Object.getOwnPropertyDescriptor,BC=Object.getOwnPropertyNames,Oj=Object.getPrototypeOf,_j=Object.prototype.hasOwnProperty,Uj=(e,t)=>function(){return t||(0,e[BC(e)[0]])((t={exports:{}}).exports,t),t.exports},jj=(e,t)=>{for(var n in t)E3(e,n,{get:t[n],enumerable:!0})},w3=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of BC(t))!_j.call(e,i)&&i!==n&&E3(e,i,{get:()=>t[i],enumerable:!(r=Bj(t,i))||r.enumerable});return e},zj=(e,t,n)=>(w3(e,t,"default"),n&&w3(n,t,"default")),OC=(e,t,n)=>(n=e!=null?Fj(Oj(e)):{},w3(t||!e||!e.__esModule?E3(n,"default",{value:e,enumerable:!0}):n,e)),_C=Uj({"../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(w,E=void 0){super(E),this.createItem=w}get(w){return this.has(w)||this.set(w,this.createItem(w)),super.get(w)}}let l=T=>T&&typeof T=="object"&&typeof T.then=="function",u=(T,w)=>(...E)=>{a.runtime.lastError?T.reject(new Error(a.runtime.lastError.message)):w.singleCallbackArg||E.length<=1&&w.singleCallbackArg!==!1?T.resolve(E[0]):T.resolve(E)},d=T=>T==1?"argument":"arguments",g=(T,w)=>function(k,...D){if(D.length<w.minArgs)throw new Error(`Expected at least ${w.minArgs} ${d(w.minArgs)} for ${T}(), got ${D.length}`);if(D.length>w.maxArgs)throw new Error(`Expected at most ${w.maxArgs} ${d(w.maxArgs)} for ${T}(), got ${D.length}`);return new Promise((U,B)=>{if(w.fallbackToNoCallback)try{k[T](...D,u({resolve:U,reject:B},w))}catch{k[T](...D),w.fallbackToNoCallback=!1,w.noCallback=!0,U()}else w.noCallback?(k[T](...D),U()):k[T](...D,u({resolve:U,reject:B},w))})},m=(T,w,E)=>new Proxy(w,{apply(k,D,U){return E.call(D,T,...U)}}),f=Function.call.bind(Object.prototype.hasOwnProperty),p=(T,w={},E={})=>{let k=Object.create(null),D={has(B,P){return P in T||P in k},get(B,P,O){if(P in k)return k[P];if(!(P in T))return;let F=T[P];if(typeof F=="function")if(typeof w[P]=="function")F=m(T,T[P],w[P]);else if(f(E,P)){let L=g(P,E[P]);F=m(T,T[P],L)}else F=F.bind(T);else if(typeof F=="object"&&F!==null&&(f(w,P)||f(E,P)))F=p(F,w[P],E[P]);else if(f(E,"*"))F=p(F,w[P],E["*"]);else return Object.defineProperty(k,P,{configurable:!0,enumerable:!0,get(){return T[P]},set(L){T[P]=L}}),F;return k[P]=F,F},set(B,P,O,F){return P in k?k[P]=O:T[P]=O,!0},defineProperty(B,P,O){return Reflect.defineProperty(k,P,O)},deleteProperty(B,P){return Reflect.deleteProperty(k,P)}},U=Object.create(T);return new Proxy(U,D)},h=T=>({addListener(w,E,...k){w.addListener(T.get(E),...k)},hasListener(w,E){return w.hasListener(T.get(E))},removeListener(w,E){w.removeListener(T.get(E))}}),x=new s(T=>typeof T!="function"?T:function(E){let k=p(E,{},{getContent:{minArgs:0,maxArgs:0}});T(k)}),y=new s(T=>typeof T!="function"?T:function(E,k,D){let U=!1,B,P=new Promise(R=>{B=function(A){U=!0,R(A)}}),O;try{O=T(E,k,B)}catch(R){O=Promise.reject(R)}let F=O!==!0&&l(O);if(O!==!0&&!F&&!U)return!1;let L=R=>{R.then(A=>{D(A)},A=>{let j;A&&(A instanceof Error||typeof A.message=="string")?j=A.message:j="An unexpected error occurred",D({__mozWebExtensionPolyfillReject__:!0,message:j})}).catch(A=>{})};return L(F?O:P),!0}),b=({reject:T,resolve:w},E)=>{a.runtime.lastError?a.runtime.lastError.message===r?w():T(new Error(a.runtime.lastError.message)):E&&E.__mozWebExtensionPolyfillReject__?T(new Error(E.message)):w(E)},v=(T,w,E,...k)=>{if(k.length<w.minArgs)throw new Error(`Expected at least ${w.minArgs} ${d(w.minArgs)} for ${T}(), got ${k.length}`);if(k.length>w.maxArgs)throw new Error(`Expected at most ${w.maxArgs} ${d(w.maxArgs)} for ${T}(), got ${k.length}`);return new Promise((D,U)=>{let B=b.bind(null,{resolve:D,reject:U});k.push(B),E.sendMessage(...k)})},C={devtools:{network:{onRequestFinished:h(x)}},runtime:{onMessage:h(y),onMessageExternal:h(y),sendMessage:v.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:v.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},S={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return o.privacy={network:{"*":S},services:{"*":S},websites:{"*":S}},p(a,C,o)};n.exports=i(chrome)}else n.exports=globalThis.browser})}}),UC={};jj(UC,{default:()=>vm});var Hj=OC(_C());zj(UC,OC(_C()));var{default:FC,...Vj}=Hj,vm=FC!==void 0?FC:Vj;globalThis.immersiveTranslateBrowserAPI=vm;var wm,at,GC,Gj,Ad,jC,WC,Cm={},qC=[],Wj=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function jo(e,t){for(var n in t)e[n]=t[n];return e}function KC(e){var t=e.parentNode;t&&t.removeChild(e)}function Gs(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?wm.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 xm(e,o,r,i,null)}function xm(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??++GC};return i==null&&at.vnode!=null&&at.vnode(a),a}function ie(e){return e.children}function Vs(e,t){this.props=e,this.context=t}function Jl(e,t){if(t==null)return e.__?Jl(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"?Jl(e):null}function QC(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 QC(e)}}function A3(e){(!e.__d&&(e.__d=!0)&&Ad.push(e)&&!Tm.__r++||jC!==at.debounceRendering)&&((jC=at.debounceRendering)||setTimeout)(Tm)}function Tm(){for(var e;Tm.__r=Ad.length;)e=Ad.sort(function(t,n){return t.__v.__b-n.__v.__b}),Ad=[],e.some(function(t){var n,r,i,a,o,s;t.__d&&(o=(a=(n=t).__v).__e,(s=n.__P)&&(r=[],(i=jo({},a)).__v=a.__v+1,k3(s,a,i,n.__n,s.ownerSVGElement!==void 0,a.__h!=null?[o]:null,r,o??Jl(a),a.__h),XC(r,a),a.__e!=o&&QC(a)))})}function YC(e,t,n,r,i,a,o,s,l,u){var d,g,m,f,p,h,x,y=r&&r.__k||qC,b=y.length;for(n.__k=[],d=0;d<t.length;d++)if((f=n.__k[d]=(f=t[d])==null||typeof f=="boolean"?null:typeof f=="string"||typeof f=="number"||typeof f=="bigint"?xm(null,f,null,null,f):Array.isArray(f)?xm(ie,{children:f},null,null,null):f.__b>0?xm(f.type,f.props,f.key,f.ref?f.ref:null,f.__v):f)!=null){if(f.__=n,f.__b=n.__b+1,(m=y[d])===null||m&&f.key==m.key&&f.type===m.type)y[d]=void 0;else for(g=0;g<b;g++){if((m=y[g])&&f.key==m.key&&f.type===m.type){y[g]=void 0;break}m=null}k3(e,f,m=m||Cm,i,a,o,s,l,u),p=f.__e,(g=f.ref)&&m.ref!=g&&(x||(x=[]),m.ref&&x.push(m.ref,null,f),x.push(g,f.__c||p,f)),p!=null?(h==null&&(h=p),typeof f.type=="function"&&f.__k===m.__k?f.__d=l=ZC(f,l,e):l=JC(e,f,m,y,p,l),typeof n.type=="function"&&(n.__d=l)):l&&m.__e==l&&l.parentNode!=e&&(l=Jl(m))}for(n.__e=h,d=b;d--;)y[d]!=null&&(typeof n.type=="function"&&y[d].__e!=null&&y[d].__e==n.__d&&(n.__d=Jl(r,d+1)),eT(y[d],y[d]));if(x)for(d=0;d<x.length;d++)$C(x[d],x[++d],x[++d])}function ZC(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"?ZC(r,t,n):JC(n,r,r,i,r.__e,t));return t}function JC(e,t,n,r,i,a){var o,s,l;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,l=0;(s=s.nextSibling)&&l<r.length;l+=2)if(s==i)break e;e.insertBefore(i,a),o=a}return o!==void 0?o:i.nextSibling}function qj(e,t,n,r,i){var a;for(a in n)a==="children"||a==="key"||a in t||Sm(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]||Sm(e,a,t[a],n[a],r)}function zC(e,t,n){t[0]==="-"?e.setProperty(t,n):e[t]=n==null?"":typeof n!="number"||Wj.test(t)?n:n+"px"}function Sm(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||zC(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||zC(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?VC:HC,a):e.removeEventListener(t,a?VC:HC,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 HC(e){this.l[e.type+!1](at.event?at.event(e):e)}function VC(e){this.l[e.type+!0](at.event?at.event(e):e)}function k3(e,t,n,r,i,a,o,s,l){var u,d,g,m,f,p,h,x,y,b,v,C,S,T=t.type;if(t.constructor!==void 0)return null;n.__h!=null&&(l=n.__h,s=t.__e=n.__e,t.__h=null,a=[s]),(u=at.__b)&&u(t);try{e:if(typeof T=="function"){if(x=t.props,y=(u=T.contextType)&&r[u.__c],b=u?y?y.props.value:u.__:r,n.__c?h=(d=t.__c=n.__c).__=d.__E:("prototype"in T&&T.prototype.render?t.__c=d=new T(x,b):(t.__c=d=new Vs(x,b),d.constructor=T,d.render=Qj),y&&y.sub(d),d.props=x,d.state||(d.state={}),d.context=b,d.__n=r,g=d.__d=!0,d.__h=[]),d.__s==null&&(d.__s=d.state),T.getDerivedStateFromProps!=null&&(d.__s==d.state&&(d.__s=jo({},d.__s)),jo(d.__s,T.getDerivedStateFromProps(x,d.__s))),m=d.props,f=d.state,g)T.getDerivedStateFromProps==null&&d.componentWillMount!=null&&d.componentWillMount(),d.componentDidMount!=null&&d.__h.push(d.componentDidMount);else{if(T.getDerivedStateFromProps==null&&x!==m&&d.componentWillReceiveProps!=null&&d.componentWillReceiveProps(x,b),!d.__e&&d.shouldComponentUpdate!=null&&d.shouldComponentUpdate(x,d.__s,b)===!1||t.__v===n.__v){d.props=x,d.state=d.__s,t.__v!==n.__v&&(d.__d=!1),d.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(w){w&&(w.__=t)}),d.__h.length&&o.push(d);break e}d.componentWillUpdate!=null&&d.componentWillUpdate(x,d.__s,b),d.componentDidUpdate!=null&&d.__h.push(function(){d.componentDidUpdate(m,f,p)})}if(d.context=b,d.props=x,d.__v=t,d.__P=e,v=at.__r,C=0,"prototype"in T&&T.prototype.render)d.state=d.__s,d.__d=!1,v&&v(t),u=d.render(d.props,d.state,d.context);else do d.__d=!1,v&&v(t),u=d.render(d.props,d.state,d.context),d.state=d.__s;while(d.__d&&++C<25);d.state=d.__s,d.getChildContext!=null&&(r=jo(jo({},r),d.getChildContext())),g||d.getSnapshotBeforeUpdate==null||(p=d.getSnapshotBeforeUpdate(m,f)),S=u!=null&&u.type===ie&&u.key==null?u.props.children:u,YC(e,Array.isArray(S)?S:[S],t,n,r,i,a,o,s,l),d.base=t.__e,t.__h=null,d.__h.length&&o.push(d),h&&(d.__E=d.__=null),d.__e=!1}else a==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Kj(n.__e,t,n,r,i,a,o,l);(u=at.diffed)&&u(t)}catch(w){t.__v=null,(l||a!=null)&&(t.__e=s,t.__h=!!l,a[a.indexOf(s)]=null),at.__e(w,t,n)}}function XC(e,t){at.__c&&at.__c(t,e),e.some(function(n){try{e=n.__h,n.__h=[],e.some(function(r){r.call(n)})}catch(r){at.__e(r,n.__v)}})}function Kj(e,t,n,r,i,a,o,s){var l,u,d,g=n.props,m=t.props,f=t.type,p=0;if(f==="svg"&&(i=!0),a!=null){for(;p<a.length;p++)if((l=a[p])&&"setAttribute"in l==!!f&&(f?l.localName===f:l.nodeType===3)){e=l,a[p]=null;break}}if(e==null){if(f===null)return document.createTextNode(m);e=i?document.createElementNS("http://www.w3.org/2000/svg",f):document.createElement(f,m.is&&m),a=null,s=!1}if(f===null)g===m||s&&e.data===m||(e.data=m);else{if(a=a&&wm.call(e.childNodes),u=(g=n.props||Cm).dangerouslySetInnerHTML,d=m.dangerouslySetInnerHTML,!s){if(a!=null)for(g={},p=0;p<e.attributes.length;p++)g[e.attributes[p].name]=e.attributes[p].value;(d||u)&&(d&&(u&&d.__html==u.__html||d.__html===e.innerHTML)||(e.innerHTML=d&&d.__html||""))}if(qj(e,m,g,i,s),d)t.__k=[];else if(p=t.props.children,YC(e,Array.isArray(p)?p:[p],t,n,r,i&&f!=="foreignObject",a,o,a?a[0]:n.__k&&Jl(n,0),s),a!=null)for(p=a.length;p--;)a[p]!=null&&KC(a[p]);s||("value"in m&&(p=m.value)!==void 0&&(p!==e.value||f==="progress"&&!p||f==="option"&&p!==g.value)&&Sm(e,"value",p,g.value,!1),"checked"in m&&(p=m.checked)!==void 0&&p!==e.checked&&Sm(e,"checked",p,g.checked,!1))}return e}function $C(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){at.__e(r,n)}}function eT(e,t,n){var r,i;if(at.unmount&&at.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||$C(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(a){at.__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]&&eT(r[i],t,typeof e.type!="function");n||e.__e==null||KC(e.__e),e.__=e.__e=e.__d=void 0}function Qj(e,t,n){return this.constructor(e,n)}function tn(e,t,n){var r,i,a;at.__&&at.__(e,t),i=(r=typeof n=="function")?null:n&&n.__k||t.__k,a=[],k3(t,e=(!r&&n||t).__k=Gs(ie,null,[e]),i||Cm,Cm,t.ownerSVGElement!==void 0,!r&&n?[n]:i?null:t.firstChild?wm.call(t.childNodes):null,a,!r&&n?n:i?i.__e:t.firstChild,r),XC(a,e)}function zo(e,t){var n={__c:t="__cC"+WC++,__: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(A3)},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}wm=qC.slice,at={__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}},GC=0,Gj=function(e){return e!=null&&e.constructor===void 0},Vs.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=jo({},this.state),typeof e=="function"&&(e=e(jo({},n),this.props)),e&&jo(n,e),e!=null&&this.__v&&(t&&this.__h.push(t),A3(this))},Vs.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),A3(this))},Vs.prototype.render=ie,Ad=[],Tm.__r=0,WC=0;var Xl,hn,M3,tT,kd=0,lT=[],Em=[],nT=at.__b,rT=at.__r,iT=at.diffed,aT=at.__c,oT=at.unmount;function Md(e,t){at.__h&&at.__h(hn,e,kd||t),kd=0;var n=hn.__H||(hn.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Em}),n.__[e]}function N(e){return kd=1,Yj(uT,e)}function Yj(e,t,n){var r=Md(Xl++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):uT(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=hn,!hn.u)){hn.u=!0;var i=hn.shouldComponentUpdate;hn.shouldComponentUpdate=function(a,o,s){if(!r.__c.__H)return!0;var l=r.__c.__H.__.filter(function(d){return d.__c});if(l.every(function(d){return!d.__N}))return!i||i.call(this,a,o,s);var u=!1;return l.forEach(function(d){if(d.__N){var g=d.__[0];d.__=d.__N,d.__N=void 0,g!==d.__[0]&&(u=!0)}}),!!u&&(!i||i.call(this,a,o,s))}}return r.__N||r.__}function W(e,t){var n=Md(Xl++,3);!at.__s&&L3(n.__H,t)&&(n.__=e,n.i=t,hn.__H.__h.push(n))}function vr(e,t){var n=Md(Xl++,4);!at.__s&&L3(n.__H,t)&&(n.__=e,n.i=t,hn.__h.push(n))}function $(e){return kd=5,X(function(){return{current:e}},[])}function X(e,t){var n=Md(Xl++,7);return L3(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function re(e,t){return kd=8,X(function(){return e},t)}function De(e){var t=hn.context[e.__c],n=Md(Xl++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(hn)),t.props.value):e.__}function Zj(){for(var e;e=lT.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Am),e.__H.__h.forEach(I3),e.__H.__h=[]}catch(t){e.__H.__h=[],at.__e(t,e.__v)}}at.__b=function(e){typeof e.type!="function"||e.o||e.type===ie?e.o||(e.o=e.__&&e.__.o?e.__.o:""):e.o=(e.__&&e.__.o?e.__.o:"")+(e.__&&e.__.__k?e.__.__k.indexOf(e):0),hn=null,nT&&nT(e)},at.__r=function(e){rT&&rT(e),Xl=0;var t=(hn=e.__c).__H;t&&(M3===hn?(t.__h=[],hn.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=Em,n.__N=n.i=void 0})):(t.__h.forEach(Am),t.__h.forEach(I3),t.__h=[])),M3=hn},at.diffed=function(e){iT&&iT(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(lT.push(t)!==1&&tT===at.requestAnimationFrame||((tT=at.requestAnimationFrame)||Jj)(Zj)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==Em&&(n.__=n.__V),n.i=void 0,n.__V=Em})),M3=hn=null},at.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Am),n.__h=n.__h.filter(function(r){return!r.__||I3(r)})}catch(r){t.some(function(i){i.__h&&(i.__h=[])}),t=[],at.__e(r,n.__v)}}),aT&&aT(e,t)},at.unmount=function(e){oT&&oT(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Am(r)}catch(i){t=i}}),n.__H=void 0,t&&at.__e(t,n.__v))};var sT=typeof requestAnimationFrame=="function";function Jj(e){var t,n=function(){clearTimeout(r),sT&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);sT&&(t=requestAnimationFrame(n))}function Am(e){var t=hn,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),hn=t}function I3(e){var t=hn;e.__c=e.__(),hn=t}function L3(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function uT(e,t){return typeof t=="function"?t(e):t}var Id;function H3(e){return[...e.v,(e.i?"!":"")+e.n].join(":")}function vT(e,t=","){return e.map(H3).join(t)}var V3=typeof CSS<"u"&&CSS.escape||(e=>e.replace(/[!"'`*+.,;:\\/<=>?@#$%&^|~()[\]{}]/g,"\\$&").replace(/^\d/,"\\3$& "));function $l(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 Mm(e,t="@media "){return t+Wt(e).map(n=>(typeof n=="string"&&(n={min:n}),n.raw||Object.keys(n).map(r=>`(${r}-width:${n[r]})`).join(" and "))).join(",")}function Wt(e=[]){return Array.isArray(e)?e:e==null?[]:[e]}function cT(e){return e}function Dd(){}var kn={d:0,b:134217728,c:268435456,a:671088640,u:805306368,o:939524096};function xT(e){return e.match(/[-=:;]/g)?.length||0}function B3(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(xT(e),15)<<18}var Xj=["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 G3({n:e,i:t,v:n=[]},r,i,a){e&&(e=H3({n:e,i:t,v:n})),a=[...Wt(a)];for(let s of n){let l=r.theme("screens",s);for(let u of Wt(l&&Mm(l)||r.v(s))){var o;a.push(u),i|=l?67108864|B3(u):s=="dark"?1073741824:u[0]=="@"?B3(u):(o=u,1<<~(/:([a-z-]+)/.test(o)&&~Xj.indexOf(RegExp.$1.slice(2,7))||-18))}}return{n:e,p:i,r:a,i:t}}var W3=new Map;function O3(e){if(e.d){let t=[],n=D3(e.r.reduce((r,i)=>i[0]=="@"?(t.push(i),r):i?D3(r,a=>D3(i,o=>{let s=/(:merge\(.+?\))(:[a-z-]+|\\[.+])/.exec(o);if(s){let l=a.indexOf(s[1]);return~l?a.slice(0,l)+s[0]+a.slice(l+s[1].length):P3(a,o)}return P3(o,a)})):r,"&"),r=>P3(r,e.n?"."+V3(e.n):""));return n&&t.push(n.replace(/:merge\((.+?)\)/g,"$1")),t.reduceRight((r,i)=>i+"{"+r+"}",e.d)}}function D3(e,t){return e.replace(/ *((?:\(.+?\)|\[.+?\]|[^,])+) *(,|$)/g,(n,r,i)=>t(r)+i)}function P3(e,t){return e.replace(/&/g,t)}var dT=new Intl.Collator("en",{numeric:!0});function CT(e,t){for(var n=0,r=e.length;n<r;){let i=r+n>>1;0>=TT(e[i],t)?n=i+1:r=i}return r}function TT(e,t){let n=e.p&kn.o;return n==(t.p&kn.o)&&(n==kn.b||n==kn.o)?0:e.p-t.p||e.o-t.o||dT.compare(gT(e.n),gT(t.n))||dT.compare(mT(e.n),mT(t.n))}function gT(e){return(e||"").split(/:/).pop().split("/").pop()||"\0"}function mT(e){return(e||"").replace(/\W/g,t=>String.fromCharCode(127+t.charCodeAt(0)))+"\0"}function R3(e,t){return Math.round(parseInt(e,16)*t)}function ro(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(${[R3(e.substr(1,a),o),R3(e.substr(1+a,a),o),R3(e.substr(1+2*a,a),o),i]})`}return i=="1"?e:i=="0"?"#0000":e.replace(/^(rgb|hsl)(\([^)]+)\)$/,`$1a$2,${i})`)}function q3(e,t,n,r,i=[]){return function a(o,{n:s,p:l,r:u=[],i:d},g){let m=[],f="",p=0,h=0;for(let b in o||{}){var x,y;let v=o[b];if(b[0]=="@"){if(!v)continue;if(b[1]=="a"){m.push(...Y3(s,l,Ld(""+v),g,l,u,d,!0));continue}if(b[1]=="l"){for(let C of Wt(v))m.push(...a(C,{n:s,p:(x=kn[b[7]],l&~kn.o|x),r:b[7]=="d"?[]:u,i:d},g));continue}if(b[1]=="i"){m.push(...Wt(v).map(C=>({p:-1,o:0,r:[],d:b+" "+C})));continue}if(b[1]=="k"){m.push({p:kn.d,o:0,r:[b],d:a(v,{p:kn.d},g).map(O3).join("")});continue}if(b[1]=="f"){m.push(...Wt(v).map(C=>({p:kn.d,o:0,r:[b],d:a(C,{p:kn.d},g).map(O3).join("")})));continue}}if(typeof v!="object"||Array.isArray(v))b=="label"&&v?s=v+$l(JSON.stringify([l,d,o])):(v||v===0)&&(b=b.replace(/[A-Z]/g,C=>"-"+C.toLowerCase()),h+=1,p=Math.max(p,(y=b)[0]=="-"?0:xT(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?";":"")+Wt(v).map(C=>g.s(b,K3(""+C,g.theme)+(d?" !important":""))).join(";"));else if(b[0]=="@"||b.includes("&")){let C=l;b[0]=="@"&&(b=b.replace(/\bscreen\(([^)]+)\)/g,(S,T)=>{let w=g.theme("screens",T);return w?(C|=67108864,Mm(w,"")):S}),C|=B3(b)),m.push(...a(v,{n:s,p:C,r:[...u,b],i:d},g))}else m.push(...a(v,{p:l,r:[...u,b]},g))}return m.unshift({n:s,p:l,o:Math.max(0,15-h)+1.5*Math.min(p||15,15),r:u,d:f}),m.sort(TT)}(e,G3(t,n,r,i),n)}function K3(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)?ro(s):""+Wt(s).filter(l=>Object(l)!==l)})}function Q3(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 km(e,t,n=kn.u,r,i){let a=[];for(let o of e)for(let s of function(l,u,d,g,m){l={...l,i:l.i||m};let f=function(p,h){let x=W3.get(p.n);return x?x(p,h):h.r(p.n,p.v[0]=="dark")}(l,u);return f?typeof f=="string"?({r:g,p:d}=G3(l,u,d,g),Q3(km(Ld(f),u,d,g,l.i),l.n)):Array.isArray(f)?f.map(p=>{var h,x;return{o:0,...p,r:[...Wt(g),...Wt(p.r)],p:(h=d,x=p.p??d,h&~kn.o|x)}}):q3(f,l,u,d,g):[{c:H3(l),p:0,o:0,r:[]}]}(o,t,n,r,i))a.splice(CT(a,s),0,s);return a}function Y3(e,t,n,r,i,a,o,s){return Q3((s?n.flatMap(l=>km([l],r,i,a,o)):km(n,r,i,a,o)).map(l=>l.p&kn.o&&(l.n||t==kn.b)?{...l,p:l.p&~kn.o|t,o:0}:l),e)}function $j(e,t,n,r){var i;return i=(a,o)=>{let{n:s,p:l,r:u,i:d}=G3(a,o,t);return n&&Y3(s,t,n,o,l,u,d,r)},W3.set(e,i),e}function N3(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(ez),i}))}}function ez(e,t,n){return n.indexOf(e)==t}var fT=new Map;function Ld(e){let t=fT.get(e);if(!t){let n=[],r=[[]],i=0,a=0,o=null,s=0,l=(u,d=0)=>{i!=s&&(n.push(e.slice(i,s+d)),u&&N3(n,r)),i=s+1};for(;s<e.length;s++){let u=e[s];if(a)e[s-1]!="\\"&&(a+=+(u=="[")||-(u=="]"));else if(u=="[")a+=1;else if(o)e[s-1]!="\\"&&o.test(e.slice(s))&&(o=null,i=s+RegExp.lastMatch.length);else if(u=="/"&&e[s-1]!="\\"&&(e[s+1]=="*"||e[s+1]=="/"))o=e[s+1]=="*"?/^\*\//:/^[\r\n]/;else if(u=="(")l(),n.push(u);else if(u==":")e[s+1]!=":"&&l(!1,1);else if(/[\s,)]/.test(u)){l(!0);let d=n.lastIndexOf("(");if(u==")"){let g=n[d-1];if(/[~@]$/.test(g)){let m=r.shift();n.length=d,N3([...n,"#"],r);let{v:f}=r[0].pop();for(let p of m)p.v.splice(+(p.v[0]=="dark")-+(f[0]=="dark"),f.length);N3([...n,$j(g.length>1?g.slice(0,-1)+$l(JSON.stringify([g,m])):g+"("+vT(m)+")",kn.a,m,/@$/.test(g))],r)}d=n.lastIndexOf("(",d-1)}n.length=d+1}else/[~@]/.test(u)&&e[s+1]=="("&&r.unshift([])}l(!0),fT.set(e,t=r[0])}return t}function ST(e,t,n){return t.reduce((r,i,a)=>r+n(i)+e[a+1],e[0])}function wT(e,t){return Array.isArray(e)&&Array.isArray(e.raw)?ST(e,t,n=>F3(n).trim()):t.filter(Boolean).reduce((n,r)=>n+F3(r),e?F3(e):"")}function F3(e){let t,n="";if(e&&typeof e=="object")if(Array.isArray(e))(t=wT(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 q0e=ET("@"),K0e=ET("~");function ET(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 vT(Ld(n+e+"("+wT(r,i)+")"))}}function _3(e,t){return Array.isArray(e)?pT(ST(e,t,n=>n!=null&&typeof n!="boolean"?n:"")):typeof e=="string"?pT(e):[e]}var tz=/ *(?:(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}))/g;function pT(e){let t;e=e.replace(/\/\*[^]*?\*\/|\s\s+|\n/gm," ");let n=[{}],r=[n[0]],i=[];for(;t=tz.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 AT(e,...t){var n;let r=_3(e,t),i=(r.find(a=>a.label)?.label||"css")+$l(JSON.stringify(r));return n=(a,o)=>Q3(r.flatMap(s=>q3(s,a,o,kn.o)),i),W3.set(i,n),i}var Q0e=new Proxy(function(e,t){return hT("animation",e,t)},{get(e,t){return t in e?e[t]:function(n,r){return hT(t,n,r)}}});function hT(e,t,n){return{toString(){return AT({label:e,"@layer components":{...typeof t=="object"?t:{animation:t},animationName:""+n}})}}}function Pe(e,t,n){return[e,U3(t,n)]}function U3(e,t){return typeof e=="function"?e:typeof e=="string"&&/^[\w-]+$/.test(e)?(n,r)=>({[e]:t?t(n,r):j3(n,1)}):n=>e||{[n[1]]:j3(n,2)}}function j3(e,t,n=e.slice(t).find(Boolean)||e.$$||e.input){return e.input[0]=="-"?`calc(${n} * -1)`:n}function Fe(e,t,n,r){return[e,nz(t,n,r)]}function nz(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=kT(e||i[1]),s=a.theme(o,i.$$)??pa(i.$$,o,a);if(s!=null)return i._=j3(i,0,s),r(i,a,o)}}function Nn(e,t={},n){return[e,rz(t,n)]}function rz(e={},t){return(n,r)=>{let{section:i=kT(n[0]).replace("-","")+"Color"}=e,[a,o]=iz(n.$$);if(!a)return;let s=r.theme(i,a)||pa(a,i,r);if(!s||typeof s=="object")return;let{opacityVariable:l=`--tw-${n[0].replace(/-$/,"")}-opacity`,opacitySection:u=i.replace("Color","Opacity"),property:d=i,selector:g}=e,m=r.theme(u,o||"DEFAULT")||o&&pa(o,u,r),f=t||(({_:h})=>{let x=Pd(d,h);return g?{[g]:x}:x});n._={value:ro(s,{opacityVariable:l||void 0,opacityValue:m||void 0}),color:h=>ro(s,h),opacityVariable:l||void 0,opacityValue:m||void 0};let p=f(n,r);if(!n.dark){let h=r.d(i,a,s);h&&h!==s&&(n._={value:ro(h,{opacityVariable:l||void 0,opacityValue:m||"1"}),color:x=>ro(h,x),opacityVariable:l||void 0,opacityValue:m||void 0},p={"&":p,[r.v("dark")]:f(n,r)})}return p}}function iz(e){return(e.match(/^(\[[^\]]+]|[^/]+?)(?:\/(.+))?$/)||[]).slice(1)}function Pd(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 pa(e,t,n){if(e[0]=="["&&e.slice(-1)=="]"){if(e=eu(K3(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 kT(e){return e.replace(/-./g,t=>t[1].toUpperCase())}function eu(e){return e.includes("url(")?e.replace(/(.*?)(url\(.*?\))(.*?)/g,(t,n="",r,i="")=>eu(n)+r+eu(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 Y0e=Symbol();function Rd({presets:e=[],...t}){let n={darkMode:void 0,darkColor:void 0,preflight:t.preflight!==!1&&[],theme:{},variants:Wt(t.variants),rules:Wt(t.rules),ignorelist:Wt(t.ignorelist),hash:void 0,stringify:(r,i)=>r+":"+i,finalize:[]};for(let r of Wt([...e,{darkMode:t.darkMode,darkColor:t.darkColor,preflight:t.preflight!==!1&&Wt(t.preflight),theme:t.theme,hash:t.hash,stringify:t.stringify,finalize:t.finalize}])){let{preflight:i,darkMode:a=n.darkMode,darkColor:o=n.darkColor,theme:s,variants:l,rules:u,ignorelist:d,hash:g=n.hash,stringify:m=n.stringify,finalize:f}=typeof r=="function"?r(n):r;n={preflight:n.preflight!==!1&&i!==!1&&[...n.preflight,...Wt(i)],darkMode:a,darkColor:o,theme:{...n.theme,...s,extend:{...n.theme.extend,...s?.extend}},variants:[...n.variants,...Wt(l)],rules:[...n.rules,...Wt(u)],ignorelist:[...n.ignorelist,...Wt(d)],hash:g,stringify:m,finalize:[...n.finalize,...Wt(f)]}}return n}function yT(e,t,n,r,i,a){for(let o of t){let s=n.get(o);s||n.set(o,s=r(o));let l=s(e,i,a);if(l)return l}}function az(e){var t;return z3(e[0],typeof(t=e[1])=="function"?t:()=>t)}function oz(e){var t,n;return Array.isArray(e)?z3(e[0],U3(e[1],e[2])):z3(e,U3(t,n))}function z3(e,t){return MT(e,(n,r,i,a)=>{let o=r.exec(n);if(o)return o.$$=n.slice(o[0].length),o.dark=a,t(o,i)})}function MT(e,t){let n=Wt(e).map(sz);return(r,i,a)=>{for(let o of n){let s=t(r,o,i,a);if(s)return s}}}function sz(e){return typeof e=="string"?RegExp("^"+e+(e.includes("$")||e.slice(-1)=="-"?"":"$")):e}function lz(e,t){let n=Rd(e),r=function({theme:l,darkMode:u,darkColor:d=Dd,variants:g,rules:m,hash:f,stringify:p,ignorelist:h,finalize:x}){let y=new Map,b=new Map,v=new Map,C=new Map,S=MT(h,(E,k)=>k.test(E));g.push(["dark",Array.isArray(u)||u=="class"?`${Wt(u)[1]||".dark"} &`:typeof u=="string"&&u!="media"?u:"@media (prefers-color-scheme:dark)"]);let T=typeof f=="function"?E=>f(E,$l):f?$l:cT;T!==cT&&x.push(E=>({...E,n:E.n&&T(E.n),d:E.d?.replace(/--(tw(?:-[\w-]+)?)\b/g,(k,D)=>"--"+T(D).replace("#",""))}));let w={theme:function({extend:E={},...k}){let D={},U={get colors(){return B("colors")},theme:B,negative(){return{}},breakpoints(O){let F={};for(let L in O)typeof O[L]=="string"&&(F["screen-"+L]=O[L]);return F}};return B;function B(O,F,L,R){if(O){if({1:O,2:R}=/^(\S+?)(?:\s*\/\s*([^/]+))?$/.exec(O)||[,O],/[.[]/.test(O)){let G=[];O.replace(/\[([^\]]+)\]|([^.[]+)/g,(K,q,Z=q)=>G.push(Z)),O=G.shift(),L=F,F=G.join("-")}let j=D[O]||Object.assign(Object.assign(D[O]={},P(k,O)),P(E,O));if(F==null)return j;F||="DEFAULT";let V=j[F]??F.split("-").reduce((G,K)=>G?.[K],j)??L;return R?ro(V,{opacityValue:K3(R,B)}):V}let A={};for(let j of[...Object.keys(k),...Object.keys(E)])A[j]=B(j);return A}function P(O,F){let L=O[F];return typeof L=="function"&&(L=L(U)),L&&/color|fill|stroke/i.test(F)?function R(A,j=[]){let V={};for(let G in A){let K=A[G],q=[...j,G];V[q.join("-")]=K,G=="DEFAULT"&&(q=j,V[j.join("-")]=K),typeof K=="object"&&Object.assign(V,R(K,q))}return V}(L):L}}(l),e:V3,h:T,s(E,k){return p(E,k,w)},d(E,k,D){return d(E,k,w,D)},v(E){return y.has(E)||y.set(E,yT(E,g,b,az,w)||"&:"+E),y.get(E)},r(E,k){let D=JSON.stringify([E,k]);return v.has(D)||v.set(D,!S(E,w)&&yT(E,m,C,oz,w,k)),v.get(D)},f(E){return x.reduce((k,D)=>D(k,w),E)}};return w}(n),i=new Map,a=[],o=new Set;t.resume(l=>i.set(l,l),(l,u)=>{t.insert(l,a.length,u),a.push(u),o.add(l)});function s(l){let u=r.f(l),d=O3(u);if(d&&!o.has(d)){o.add(d);let g=CT(a,l);t.insert(d,g,l),a.splice(g,0,l)}return u.n}return Object.defineProperties(function(l){if(!i.size)for(let d of Wt(n.preflight))typeof d=="function"&&(d=d(r)),d&&(typeof d=="string"?Y3("",kn.b,Ld(d),r,kn.b,[],!1,!0):q3(d,{},r,kn.b)).forEach(s);l=""+l;let u=i.get(l);if(!u){let d=new Set;for(let g of km(Ld(l),r))d.add(g.c).add(s(g));u=[...d].filter(Boolean).join(" "),i.set(l,u).set(u,u)}return u},Object.getOwnPropertyDescriptors({get target(){return t.target},theme:r.theme,config:n,snapshot(){let l=t.snapshot(),u=new Set(o),d=new Map(i),g=[...a];return()=>{l(),o=u,i=d,a=g}},clear(){t.clear(),o=new Set,i=new Map,a=[]},destroy(){this.clear(),t.destroy()}}))}function uz(e,t){return e!=t&&""+e.split(" ").sort()!=""+t.split(" ").sort()}function cz(e){let t=new MutationObserver(n);return{observe(i){t.observe(i,{attributeFilter:["class"],subtree:!0,childList:!0}),r(i),n([{target:i,type:""}])},disconnect(){t.disconnect()}};function n(i){for(let{type:a,target:o}of i)if(a[0]=="a")r(o);else for(let s of o.querySelectorAll("[class]"))r(s);t.takeRecords()}function r(i){let a,o=i.getAttribute?.("class");o&&uz(o,a=e(o))&&i.setAttribute("class",a)}}function dz(e=Z3,t=typeof document<"u"&&document.documentElement){if(t){let n=cz(e);n.observe(t);let{destroy:r}=e;e.destroy=()=>{n.disconnect(),r.call(e)}}return e}function IT(e){let t=document.querySelector(e||'style[data-twind=""]');return(!t||t.tagName!="STYLE")&&(t=document.createElement("style"),document.head.prepend(t)),t.dataset.twind="claimed",t}function gz(e){let t=e?.cssRules?e:(e&&typeof e!="string"?e:IT(e)).sheet;return{target:t,snapshot(){let n=Array.from(t.cssRules,r=>r.cssText);return()=>{this.clear(),n.forEach(this.insert)}},clear(){for(let n=t.cssRules.length;n--;)t.deleteRule(n)},destroy(){t.ownerNode?.remove()},insert(n,r){try{t.insertRule(n,r)}catch{t.insertRule(":root{}",r)}},resume:Dd}}function mz(e){let t=e&&typeof e!="string"?e:IT(e);return{target:t,snapshot(){let n=Array.from(t.childNodes,r=>r.textContent);return()=>{this.clear(),n.forEach(this.insert)}},clear(){t.textContent=""},destroy(){t.remove()},insert(n,r){t.insertBefore(document.createTextNode(n),t.childNodes[r]||null)},resume:Dd}}function fz(e){let t=[];return{target:t,snapshot(){let n=[...t];return()=>{t.splice(0,t.length,...n)}},clear(){t.length=0},destroy(){this.clear()},insert(n,r,i){t.splice(r,0,e?`/*!${i.p.toString(36)},${(2*i.o).toString(36)}${i.n?","+i.n:""}*/${n}`:n)},resume:Dd}}function LT(e,t){let n=typeof document>"u"?fz(!t):e?mz():gz();return t||(n.resume=hz),n}function pz(e){return(e.ownerNode||e).textContent||(e.cssRules?Array.from(e.cssRules,t=>t.cssText):Wt(e)).join("")}function hz(e,t){let n=pz(this.target),r=/\/\*!([\da-z]+),([\da-z]+)(?:,(.+?))?\*\//g;if(r.test(n)){var i;let a;if(r.lastIndex=0,this.clear(),typeof document<"u")for(let o of document.querySelectorAll("[class]"))e(o.getAttribute("class"));for(;i=r.exec(n),a&&t(n.slice(a.index+a[0].length,i?.index),{p:parseInt(a[1],36),o:parseInt(a[2],36)/2,n:a[3]}),a=i;);}}var Z3=new Proxy(Dd,{apply(e,t,n){return Id(n[0])},get(e,t){let n=Id[t];return typeof n=="function"?function(){return n.apply(Id,arguments)}:n}});function DT(e={},t=LT,n){return Id?.destroy(),Id=dz(lz(e,typeof t=="function"?t():t),n)}function J3(e,t=!0){let n=Rd(e);return DT({...n,hash:n.hash??t},()=>LT(!t))}var Z0e=function e(t){return new Proxy(function(n,...r){return bT(t,"",n,r)},{get(n,r){return r==="bind"?e:r in n?n[r]:function(i,...a){return bT(t,r,i,a)}}})}();function bT(e,t,n,r){return{toString(){let i=_3(n,r),a=V3(t+$l(JSON.stringify([t,i])));return(typeof e=="function"?e:Z3)(AT({[`@keyframes ${a}`]:_3(n,r)})),a}}}var yz=new Map([["align-self","-ms-grid-row-align"],["color-adjust","-webkit-print-color-adjust"],["column-gap","grid-column-gap"],["forced-color-adjust","-ms-high-contrast-adjust"],["gap","grid-gap"],["grid-template-columns","-ms-grid-columns"],["grid-template-rows","-ms-grid-rows"],["justify-self","-ms-grid-column-align"],["margin-inline-end","-webkit-margin-end"],["margin-inline-start","-webkit-margin-start"],["mask-border","-webkit-mask-box-image"],["mask-border-outset","-webkit-mask-box-image-outset"],["mask-border-slice","-webkit-mask-box-image-slice"],["mask-border-source","-webkit-mask-box-image-source"],["mask-border-repeat","-webkit-mask-box-image-repeat"],["mask-border-width","-webkit-mask-box-image-width"],["overflow-wrap","word-wrap"],["padding-inline-end","-webkit-padding-end"],["padding-inline-start","-webkit-padding-start"],["print-color-adjust","color-adjust"],["row-gap","grid-row-gap"],["scroll-margin-bottom","scroll-snap-margin-bottom"],["scroll-margin-left","scroll-snap-margin-left"],["scroll-margin-right","scroll-snap-margin-right"],["scroll-margin-top","scroll-snap-margin-top"],["scroll-margin","scroll-snap-margin"],["text-combine-upright","-ms-text-combine-horizontal"]]);function PT(e){return yz.get(e)}function RT(e){var t=/^(?:(text-(?:decoration$|e|or|si)|back(?:ground-cl|d|f)|box-d|mask(?:$|-[ispro]|-cl)|pr|hyphena|flex-d)|(tab-|column(?!-s)|text-align-l)|(ap)|u|hy)/i.exec(e);return t?t[1]?1:t[2]?2:t[3]?3:5:0}function NT(e,t){var n=/^(?:(pos)|(cli)|(background-i)|(flex(?:$|-b)|(?:max-|min-)?(?:block-s|inl|he|widt))|dis)/i.exec(e);return n?n[1]?/^sti/i.test(t)?1:0:n[2]?/^pat/i.test(t)?1:0:n[3]?/^image-/i.test(t)?1:0:n[4]?t[3]==="-"?2:0:/^(?:inline-)?grid$/i.test(t)?4:0:0}var bz=[["-webkit-",1],["-moz-",2],["-ms-",4]];function Im(){return({stringify:e})=>({stringify(t,n,r){let i="",a=PT(t);a&&(i+=e(a,n,r)+";");let o=RT(t),s=NT(t,n);for(let l of bz)o&l[1]&&(i+=e(l[0]+t,n,r)+";"),s&l[1]&&(i+=e(t,l[0]+n,r)+";");return i+e(t,n,r)}})}var Fd={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",...ri(4,"rem",4,.5,.5),...ri(12,"rem",4,5),14:"3.5rem",...ri(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:Pt("blur"),backdropBrightness:Pt("brightness"),backdropContrast:Pt("contrast"),backdropGrayscale:Pt("grayscale"),backdropHueRotate:Pt("hueRotate"),backdropInvert:Pt("invert"),backdropOpacity:Pt("opacity"),backdropSaturate:Pt("saturate"),backdropSepia:Pt("sepia"),backgroundColor:Pt("colors"),backgroundImage:{none:"none"},backgroundOpacity:Pt("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:{...ri(200,"",100,0,50),...ri(110,"",100,90,5),75:"0.75",125:"1.25"},borderColor:({theme:e})=>({DEFAULT:e("colors.gray.200","currentColor"),...e("colors")}),borderOpacity:Pt("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:Pt("spacing"),borderWidth:{DEFAULT:"1px",...ki(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:Pt("colors"),caretColor:Pt("colors"),accentColor:({theme:e})=>({auto:"auto",...e("colors")}),contrast:{...ri(200,"",100,0,50),75:"0.75",125:"1.25"},content:{none:"none"},divideColor:Pt("borderColor"),divideOpacity:Pt("borderOpacity"),divideWidth:Pt("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"),...Nd(2,6),...Nd(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:Pt("spacing"),gradientColorStops:Pt("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"),...Nd(2,6),min:"min-content",max:"max-content",fit:"fit-content",auto:"auto",full:"100%",screen:"100vh"}),inset:({theme:e})=>({...e("spacing"),...Nd(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:{...ri(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:{...ri(100,"",100,0,10),5:"0.05",25:"0.25",75:"0.75",95:"0.95"},order:{first:"-9999",last:"9999",none:"0"},padding:Pt("spacing"),placeholderColor:Pt("colors"),placeholderOpacity:Pt("opacity"),outlineColor:Pt("colors"),outlineOffset:ki(8,"px"),outlineWidth:ki(8,"px"),ringColor:({theme:e})=>({...e("colors"),DEFAULT:"#3b82f6"}),ringOffsetColor:Pt("colors"),ringOffsetWidth:ki(8,"px"),ringOpacity:({theme:e})=>({...e("opacity"),DEFAULT:"0.5"}),ringWidth:{DEFAULT:"3px",...ki(8,"px")},rotate:{...ki(2,"deg"),...ki(12,"deg",3),...ki(180,"deg",45)},saturate:ri(200,"",100,0,50),scale:{...ri(150,"",100,0,50),...ri(110,"",100,90,5),75:"0.75",125:"1.25"},scrollMargin:Pt("spacing"),scrollPadding:Pt("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{...ki(2,"deg"),...ki(12,"deg",3)},space:Pt("spacing"),stroke:({theme:e})=>({...e("colors"),none:"none"}),strokeWidth:ri(2),textColor:Pt("colors"),textDecorationColor:Pt("colors"),textDecorationThickness:{"from-font":"from-font",auto:"auto",...ki(8,"px")},textUnderlineOffset:{auto:"auto",...ki(8,"px")},textIndent:Pt("spacing"),textOpacity:Pt("opacity"),transitionDuration:({theme:e})=>({...e("durations"),DEFAULT:"150ms"}),transitionDelay:Pt("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"),...Nd(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:{...ri(50,"",1,0,10),auto:"auto"}};function Nd(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 ki(e,t,n=0){let r={};for(;n<=e;n=2*n||1)r[n]=n+t;return r}function ri(e,t="",n=1,r=0,i=1,a={}){for(;r<=e;r+=i)a[r]=r/n+t;return a}function Pt(e){return({theme:t})=>t(e)}var FT={"*,::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, ${Fd.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, ${Fd.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 zT=[Pe("\\[([-\\w]+):(.+)]",({1:e,2:t},n)=>({"@layer overrides":{"&":{[e]:pa(`[${t}]`,"",n)}}})),Pe("(group|peer)([~/][^-[]+)?",({input:e},{h:t})=>[{c:t(e)}]),Fe("aspect-","aspectRatio"),Pe("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 l=n[s];typeof l=="string"&&(a[Mm(l)]={"&":{maxWidth:l,...o(s)}})}return a;function o(s){let l=i&&(typeof i=="string"?i:i[s]||i.DEFAULT);if(l)return{paddingRight:l,paddingLeft:l}}}),Fe("content-","content",({_:e})=>({"--tw-content":e,content:"var(--tw-content)"})),Pe("(?:box-)?decoration-(slice|clone)","boxDecorationBreak"),Pe("box-(border|content)","boxSizing",({1:e})=>e+"-box"),Pe("hidden",{display:"none"}),Pe("table-(auto|fixed)","tableLayout"),Pe(["(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)",Pe("isolate","isolation"),Pe("object-(contain|cover|fill|none|scale-down)","objectFit"),Fe("object-","objectPosition"),Pe("object-(top|bottom|center|(left|right)(-(top|bottom))?)","objectPosition",Lm),Pe("overscroll(-[xy])?-(auto|contain|none)",({1:e="",2:t})=>({["overscroll-behavior"+e]:t})),Pe("(static|fixed|absolute|relative|sticky)","position"),Fe("-?inset(-[xy])?(?:$|-)","inset",({1:e,_:t})=>({top:e!="-x"&&t,right:e!="-y"&&t,bottom:e!="-x"&&t,left:e!="-y"&&t})),Fe("-?(top|bottom|left|right)(?:$|-)","inset"),Pe("(visible|collapse)","visibility"),Pe("invisible",{visibility:"hidden"}),Fe("-?z-","zIndex"),Pe("flex-((row|col)(-reverse)?)","flexDirection",BT),Pe("flex-(wrap|wrap-reverse|nowrap)","flexWrap"),Fe("(flex-(?:grow|shrink))(?:$|-)"),Fe("(flex)-"),Fe("grow(?:$|-)","flexGrow"),Fe("shrink(?:$|-)","flexShrink"),Fe("basis-","flexBasis"),Fe("-?(order)-"),"-?(order)-(\\d+)",Fe("grid-cols-","gridTemplateColumns"),Pe("grid-cols-(\\d+)","gridTemplateColumns",jT),Fe("col-","gridColumn"),Pe("col-(span)-(\\d+)","gridColumn",UT),Fe("col-start-","gridColumnStart"),Pe("col-start-(auto|\\d+)","gridColumnStart"),Fe("col-end-","gridColumnEnd"),Pe("col-end-(auto|\\d+)","gridColumnEnd"),Fe("grid-rows-","gridTemplateRows"),Pe("grid-rows-(\\d+)","gridTemplateRows",jT),Fe("row-","gridRow"),Pe("row-(span)-(\\d+)","gridRow",UT),Fe("row-start-","gridRowStart"),Pe("row-start-(auto|\\d+)","gridRowStart"),Fe("row-end-","gridRowEnd"),Pe("row-end-(auto|\\d+)","gridRowEnd"),Pe("grid-flow-((row|col)(-dense)?)","gridAutoFlow",e=>Lm(BT(e))),Pe("grid-flow-(dense)","gridAutoFlow"),Fe("auto-cols-","gridAutoColumns"),Fe("auto-rows-","gridAutoRows"),Fe("gap-x(?:$|-)","gap","columnGap"),Fe("gap-y(?:$|-)","gap","rowGap"),Fe("gap(?:$|-)","gap"),"(justify-(?:items|self))-",Pe("justify-","justifyContent",OT),Pe("(content|items|self)-",e=>({["align-"+e[1]]:OT(e)})),Pe("(place-(content|items|self))-",({1:e,$$:t})=>({[e]:("wun".includes(t[3])?"space-":"")+t})),Fe("p([xytrbl])?(?:$|-)","padding",tu("padding")),Fe("-?m([xytrbl])?(?:$|-)","margin",tu("margin")),Fe("-?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))`}})),Pe("space-(x|y)-reverse",({1:e})=>({"&>:not([hidden])~:not([hidden])":{[`--tw-space-${e}-reverse`]:"1"}})),Fe("w-","width"),Fe("min-w-","minWidth"),Fe("max-w-","maxWidth"),Fe("h-","height"),Fe("min-h-","minHeight"),Fe("max-h-","maxHeight"),Fe("font-","fontWeight"),Fe("font-","fontFamily",({_:e})=>typeof(e=Wt(e))[1]=="string"?{fontFamily:Qi(e)}:{fontFamily:Qi(e[0]),...e[1]}),Pe("antialiased",{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"}),Pe("subpixel-antialiased",{WebkitFontSmoothing:"auto",MozOsxFontSmoothing:"auto"}),Pe("italic","fontStyle"),Pe("not-italic",{fontStyle:"normal"}),Pe("(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)",...Ho({"--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,/*!*/ /*!*/)"})}),Fe("tracking-","letterSpacing"),Fe("leading-","lineHeight"),Pe("list-(inside|outside)","listStylePosition"),Fe("list-","listStyleType"),Pe("list-","listStyleType"),Fe("placeholder-opacity-","placeholderOpacity",({_:e})=>({"&::placeholder":{"--tw-placeholder-opacity":e}})),Nn("placeholder-",{property:"color",selector:"&::placeholder"}),Pe("text-(left|center|right|justify|start|end)","textAlign"),Pe("text-(ellipsis|clip)","textOverflow"),Fe("text-opacity-","textOpacity","--tw-text-opacity"),Nn("text-",{property:"color"}),Fe("text-","fontSize",({_:e})=>typeof e=="string"?{fontSize:e}:{fontSize:e[0],...typeof e[1]=="string"?{lineHeight:e[1]}:e[1]}),Fe("indent-","textIndent"),Pe("(overline|underline|line-through)","textDecorationLine"),Pe("no-underline",{textDecorationLine:"none"}),Fe("underline-offset-","textUnderlineOffset"),Nn("decoration-",{section:"textDecorationColor",opacityVariable:!1,opacitySection:"opacity"}),Fe("decoration-","textDecorationThickness"),Pe("decoration-","textDecorationStyle"),Pe("(uppercase|lowercase|capitalize)","textTransform"),Pe("normal-case",{textTransform:"none"}),Pe("truncate",{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),Pe("align-","verticalAlign"),Pe("whitespace-","whiteSpace"),Pe("break-normal",{wordBreak:"normal",overflowWrap:"normal"}),Pe("break-words",{overflowWrap:"break-word"}),Pe("break-all",{wordBreak:"break-all"}),Pe("break-keep",{wordBreak:"keep-all"}),Nn("caret-",{opacityVariable:!1,opacitySection:"opacity"}),Nn("accent-",{opacityVariable:!1,opacitySection:"opacity"}),Pe("bg-gradient-to-([trbl]|[tb][rl])","backgroundImage",({1:e})=>`linear-gradient(to ${Ws(e," ")},var(--tw-gradient-stops))`),Nn("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)"})),Nn("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)`})),Nn("to-",{section:"gradientColorStops",property:"--tw-gradient-to",opacityVariable:!1,opacitySection:"opacity"}),Pe("bg-(fixed|local|scroll)","backgroundAttachment"),Pe("bg-origin-(border|padding|content)","backgroundOrigin",({1:e})=>e+"-box"),Pe(["bg-(no-repeat|repeat(-[xy])?)","bg-repeat-(round|space)"],"backgroundRepeat"),Pe("bg-blend-","backgroundBlendMode"),Pe("bg-clip-(border|padding|content|text)","backgroundClip",({1:e})=>e+(e=="text"?"":"-box")),Fe("bg-opacity-","backgroundOpacity","--tw-bg-opacity"),Nn("bg-",{section:"backgroundColor"}),Fe("bg-","backgroundImage"),Fe("bg-","backgroundPosition"),Pe("bg-(top|bottom|center|(left|right)(-(top|bottom))?)","backgroundPosition",Lm),Fe("bg-","backgroundSize"),Fe("rounded(?:$|-)","borderRadius"),Fe("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-${Ws(n[0])}-radius`]:t,[`border-${Ws(n[1])}-radius`]:t}}),Pe("border-(collapse|separate)","borderCollapse"),Fe("border-opacity(?:$|-)","borderOpacity","--tw-border-opacity"),Pe("border-(solid|dashed|dotted|double|none)","borderStyle"),Fe("border-spacing(-[xy])?(?:$|-)","borderSpacing",({1:e,_:t})=>({...Ho({"--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)"})),Nn("border-([xytrbl])-",{section:"borderColor"},tu("border","Color")),Nn("border-"),Fe("border-([xytrbl])(?:$|-)","borderWidth",tu("border","Width")),Fe("border(?:$|-)","borderWidth"),Fe("divide-opacity(?:$|-)","divideOpacity",({_:e})=>({"&>:not([hidden])~:not([hidden])":{"--tw-divide-opacity":e}})),Pe("divide-(solid|dashed|dotted|double|none)",({1:e})=>({"&>:not([hidden])~:not([hidden])":{borderStyle:e}})),Pe("divide-([xy]-reverse)",({1:e})=>({"&>:not([hidden])~:not([hidden])":{["--tw-divide-"+e]:"1"}})),Fe("divide-([xy])(?:$|-)","divideWidth",({1:e,_:t})=>{let n={x:"lr",y:"tb"}[e];return{"&>:not([hidden])~:not([hidden])":{[`--tw-divide-${e}-reverse`]:"0",[`border-${Ws(n[0])}Width`]:`calc(${t} * calc(1 - var(--tw-divide-${e}-reverse)))`,[`border-${Ws(n[1])}Width`]:`calc(${t} * var(--tw-divide-${e}-reverse))`}}}),Nn("divide-",{property:"borderColor",selector:"&>:not([hidden])~:not([hidden])"}),Fe("ring-opacity(?:$|-)","ringOpacity","--tw-ring-opacity"),Nn("ring-offset-",{property:"--tw-ring-offset-color",opacityVariable:!1}),Fe("ring-offset(?:$|-)","ringOffsetWidth","--tw-ring-offset-width"),Pe("ring-inset",{"--tw-ring-inset":"inset"}),Nn("ring-",{property:"--tw-ring-color"}),Fe("ring(?:$|-)","ringWidth",({_:e},{theme:t})=>({...Ho({"--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":ro(t("ringOffsetColor","","#fff")),"--tw-ring-color":ro(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)"})),Nn("shadow-",{section:"boxShadowColor",opacityVariable:!1,opacitySection:"opacity"},({_:e})=>({"--tw-shadow-color":e.value,"--tw-shadow":"var(--tw-shadow-colored)"})),Fe("shadow(?:$|-)","boxShadow",({_:e})=>({...Ho({"--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":Qi(e),"--tw-shadow-colored":Qi(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)"})),Fe("(opacity)-"),Pe("mix-blend-","mixBlendMode"),..._T(),..._T("backdrop-"),Fe("transition(?:$|-)","transitionProperty",(e,{theme:t})=>({transitionProperty:Qi(e),transitionTimingFunction:e._=="none"?void 0:Qi(t("transitionTimingFunction","")),transitionDuration:e._=="none"?void 0:Qi(t("transitionDuration",""))})),Fe("duration(?:$|-)","transitionDuration","transitionDuration",Qi),Fe("ease(?:$|-)","transitionTimingFunction","transitionTimingFunction",Qi),Fe("delay(?:$|-)","transitionDelay","transitionDelay",Qi),Fe("animate(?:$|-)","animation",(e,{theme:t,h:n,e:r})=>{let i=Qi(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)",Pe("transform",$3),Pe("transform-(cpu|gpu)",({1:e})=>({"--tw-transform":HT(e=="gpu")})),Fe("scale(-[xy])?-","scale",({1:e,_:t})=>({["--tw-scale"+(e||"-x")]:t,["--tw-scale"+(e||"-y")]:t,...$3()})),Fe("-?(rotate)-","rotate",X3),Fe("-?(translate-[xy])-","translate",X3),Fe("-?(skew-[xy])-","skew",X3),Pe("origin-(center|((top|bottom)(-(left|right))?)|left|right)","transformOrigin",Lm),"(appearance)-",Fe("(columns)-"),"(columns)-(\\d+)","(break-(?:before|after|inside))-",Fe("(cursor)-"),"(cursor)-",Pe("snap-(none)","scroll-snap-type"),Pe("snap-(x|y|both)",({1:e})=>({...Ho({"--tw-scroll-snap-strictness":"proximity"}),"scroll-snap-type":e+" var(--tw-scroll-snap-strictness)"})),Pe("snap-(mandatory|proximity)","--tw-scroll-snap-strictness"),Pe("snap-(?:(start|end|center)|align-(none))","scroll-snap-align"),Pe("snap-(normal|always)","scroll-snap-stop"),Pe("scroll-(auto|smooth)","scroll-behavior"),Fe("scroll-p([xytrbl])?(?:$|-)","padding",tu("scroll-padding")),Fe("-?scroll-m([xytrbl])?(?:$|-)","scroll-margin",tu("scroll-margin")),Pe("touch-(auto|none|manipulation)","touch-action"),Pe("touch-(pinch-zoom|pan-(?:(x|left|right)|(y|up|down)))",({1:e,2:t,3:n})=>({...Ho({"--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)"})),Pe("outline-none",{outline:"2px solid transparent","outline-offset":"2px"}),Pe("outline",{outlineStyle:"solid"}),Pe("outline-(dashed|dotted|double)","outlineStyle"),Fe("-?(outline-offset)-"),Nn("outline-",{opacityVariable:!1,opacitySection:"opacity"}),Fe("outline-","outlineWidth"),"(pointer-events)-",Fe("(will-change)-"),"(will-change)-",["resize(?:-(none|x|y))?","resize",({1:e})=>({x:"horizontal",y:"vertical"})[e]||e||"both"],Pe("select-(none|text|all|auto)","userSelect"),Nn("fill-",{section:"fill",opacityVariable:!1,opacitySection:"opacity"}),Nn("stroke-",{section:"stroke",opacityVariable:!1,opacitySection:"opacity"}),Fe("stroke-","strokeWidth"),Pe("sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0,0,0,0)",borderWidth:"0"}),Pe("not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal",clip:"auto"})];function Lm(e){return(typeof e=="string"?e:e[1]).replace(/-/g," ").trim()}function BT(e){return(typeof e=="string"?e:e[1]).replace("col","column")}function Ws(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 Qi(e){return e&&""+(e._||e)}function OT({$$:e}){return({r:"flex-","":"flex-",w:"space-",u:"space-",n:"space-"}[e[3]||""]||"")+e}function tu(e,t=""){return({1:n,_:r})=>{let i={x:"lr",y:"tb"}[n]||n+n;return i?{...Pd(e+"-"+Ws(i[0])+t,r),...Pd(e+"-"+Ws(i[1])+t,r)}:Pd(e+t,r)}}function _T(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={...Ho(n),[`${e}filter`]:t.map(r=>`var(--tw-${e}${r})`).join(" ")},[`(${e}filter)-(none)`,Pe(`${e}filter`,n),...t.map(r=>Fe(`${r[0]=="h"?"-?":""}(${e}${r})(?:$|-)`,r,({1:i,_:a})=>({[`--tw-${i}`]:Wt(a).map(o=>`${r}(${o})`).join(" "),...n})))]}function X3({1:e,_:t}){return{["--tw-"+e]:t,...$3()}}function $3(){return{...Ho({"--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":HT()}),transform:"var(--tw-transform)"}}function HT(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 UT({1:e,2:t}){return`${e} ${t} / ${e} ${t}`}function jT({1:e}){return`repeat(${e},minmax(0,1fr))`}function Ho(e){return{"@layer defaults":{"*,::before,::after":e,"::backdrop":e}}}var VT=[["sticky","@supports ((position: -webkit-sticky) or (position:sticky))"],["motion-reduce","@media (prefers-reduced-motion:reduce)"],["motion-safe","@media (prefers-reduced-motion:no-preference)"],["print","@media print"],["(portrait|landscape)",({1:e})=>`@media (orientation:${e})`],["contrast-(more|less)",({1:e})=>`@media (prefers-contrast:${e})`],["(first-(letter|line)|placeholder|backdrop|before|after)",({1:e})=>`&::${e}`],["(marker|selection)",({1:e})=>`& *::${e},&::${e}`],["file","&::file-selector-button"],["(first|last|only)",({1:e})=>`&:${e}-child`],["even","&:nth-child(2n)"],["odd","&:nth-child(odd)"],["open","&[open]"],["(aria|data)-",({1:e,$$:t},n)=>t&&`&[${e}-${n.theme(e,t)||pa(t,"",n)||`${t}="true"`}]`],["((group|peer)(~[^-[]+)?)(-\\[(.+)]|[-[].+?)(\\/.+)?",({2:e,3:t="",4:n,5:r="",6:i=t},{e:a,h:o,v:s})=>{let l=eu(r)||(n[0]=="["?n:s(n.slice(1)));return`${(l.includes("&")?l:"&"+l).replace(/&/g,`:merge(.${a(o(e+i))})`)}${e[0]=="p"?"~":" "}&`}],["(ltr|rtl)",({1:e})=>`[dir="${e}"] &`],["supports-",({$$:e},t)=>{if(e&&=t.theme("supports",e)||pa(e,"",t),e)return e.includes(":")||(e+=":var(--tw)"),/^\w*\s*\(/.test(e)||(e=`(${e})`),`@supports ${e.replace(/\b(and|or|not)\b/g," $1 ").trim()}`}],["max-",({$$:e},t)=>{if(e&&=t.theme("screens",e)||pa(e,"",t),typeof e=="string")return`@media not all and (min-width:${e})`}],["min-",({$$:e},t)=>(e&&=pa(e,"",t))&&`@media (min-width:${e})`],[/^\[(.+)]$/,({1:e})=>/[&@]/.test(e)&&eu(e).replace(/[}]+$/,"").split("{")]];function GT({colors:e,disablePreflight:t}={}){return{preflight:t?void 0:FT,theme:{...Fd,colors:{inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",...e}},variants:VT,rules:zT,finalize(n){return n.n&&n.d&&n.r.some(r=>/^&::(before|after)$/.test(r))&&!/(^|;)content:/.test(n.d)?{...n,d:"content:var(--tw-content);"+n.d}:n}}}var vz={50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},xz={50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},Cz={50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},Tz={50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},Sz={50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},wz={50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},Ez={50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},Az={50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},kz={50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},Mz={50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},Iz={50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},Lz={50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},Dz={50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},Pz={50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},Rz={50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},Nz={50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},Fz={50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},Bz={50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},Oz={50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},_z={50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},Uz={50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},jz={50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337"},zz={__proto__:null,slate:vz,gray:xz,zinc:Cz,neutral:Tz,stone:Sz,red:wz,orange:Ez,amber:Az,yellow:kz,lime:Mz,green:Iz,emerald:Lz,teal:Dz,cyan:Pz,sky:Rz,blue:Nz,indigo:Fz,violet:Bz,purple:Oz,fuchsia:_z,pink:Uz,rose:jz};function Dm({disablePreflight:e}={}){return GT({colors:zz,disablePreflight:e})}var Pm=globalThis||(typeof window<"u"?window:self),Hz=Object.create,t2=Object.defineProperty,Vz=Object.getOwnPropertyDescriptor,Gz=Object.getOwnPropertyNames,Wz=Object.getPrototypeOf,qz=Object.prototype.hasOwnProperty,Kz=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Qz=(e,t)=>{for(var n in t)t2(e,n,{get:t[n],enumerable:!0})},e2=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Gz(t))!qz.call(e,i)&&i!==n&&t2(e,i,{get:()=>t[i],enumerable:!(r=Vz(t,i))||r.enumerable});return e},Yz=(e,t,n)=>(e2(e,t,"default"),n&&e2(n,t,"default")),qT=(e,t,n)=>(n=e!=null?Hz(Wz(e)):{},e2(t||!e||!e.__esModule?t2(n,"default",{value:e,enumerable:!0}):n,e)),KT=Kz((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(u,d){return typeof d>"u"?d={autoBom:!1}:typeof d!="object"&&(d={autoBom:!d}),d.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(u.type)?new Blob(["\uFEFF",u],{type:u.type}):u}function r(u,d,g){var m=new XMLHttpRequest;m.open("GET",u),m.responseType="blob",m.onload=function(){l(m.response,d,g)},m.onerror=function(){},m.send()}function i(u){var d=new XMLHttpRequest;d.open("HEAD",u,!1);try{d.send()}catch{}return 200<=d.status&&299>=d.status}function a(u){try{u.dispatchEvent(new MouseEvent("click"))}catch{var d=document.createEvent("MouseEvents");d.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),u.dispatchEvent(d)}}var o=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof Pm=="object"&&Pm.global===Pm?Pm:void 0,s=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=o.saveAs||(typeof window!="object"||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(u,d,g){var m=o.URL||o.webkitURL,f=document.createElement("a");d=d||u.name||"download",f.download=d,f.rel="noopener",typeof u=="string"?(f.href=u,f.origin===location.origin?a(f):i(f.href)?r(u,d,g):a(f,f.target="_blank")):(f.href=m.createObjectURL(u),setTimeout(function(){m.revokeObjectURL(f.href)},4e4),setTimeout(function(){a(f)},0))}:"msSaveOrOpenBlob"in navigator?function(u,d,g){if(d=d||u.name||"download",typeof u!="string")navigator.msSaveOrOpenBlob(n(u,g),d);else if(i(u))r(u,d,g);else{var m=document.createElement("a");m.href=u,m.target="_blank",setTimeout(function(){a(m)})}}:function(u,d,g,m){if(m=m||open("","_blank"),m&&(m.document.title=m.document.body.innerText="downloading..."),typeof u=="string")return r(u,d,g);var f=u.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 x=new FileReader;x.onloadend=function(){var v=x.result;v=h?v:v.replace(/^data:[^;]*;/,"data:attachment/file;"),m?m.location.href=v:location=v,m=null},x.readAsDataURL(u)}else{var y=o.URL||o.webkitURL,b=y.createObjectURL(u);m?m.location=b:location.href=b,m=null,setTimeout(function(){y.revokeObjectURL(b)},4e4)}});o.saveAs=l.saveAs=l,typeof t<"u"&&(t.exports=l)})}),QT={};Qz(QT,{default:()=>qs});var Zz=qT(KT());Yz(QT,qT(KT()));var{default:WT,...Jz}=Zz,qs=WT!==void 0?WT:Jz;function c8(e){return typeof e>"u"||e===null}function Xz(e){return typeof e=="object"&&e!==null}function $z(e){return Array.isArray(e)?e:c8(e)?[]:[e]}function eH(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 tH(e,t){var n="",r;for(r=0;r<t;r+=1)n+=e;return n}function nH(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var rH=c8,iH=Xz,aH=$z,oH=tH,sH=nH,lH=eH,Fn={isNothing:rH,isObject:iH,toArray:aH,repeat:oH,isNegativeZero:sH,extend:lH};function d8(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 Od(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=d8(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}Od.prototype=Object.create(Error.prototype);Od.prototype.constructor=Od;Od.prototype.toString=function(e){return this.name+": "+d8(this,e)};var Nr=Od;function n2(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 r2(e,t){return Fn.repeat(" ",t-e.length)+e}function uH(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="",l,u,d=Math.min(e.line+t.linesAfter,i.length).toString().length,g=t.maxLength-(t.indent+d+3);for(l=1;l<=t.linesBefore&&!(o-l<0);l++)u=n2(e.buffer,r[o-l],i[o-l],e.position-(r[o]-r[o-l]),g),s=Fn.repeat(" ",t.indent)+r2((e.line-l+1).toString(),d)+" | "+u.str+`
`+s;for(u=n2(e.buffer,r[o],i[o],e.position,g),s+=Fn.repeat(" ",t.indent)+r2((e.line+1).toString(),d)+" | "+u.str+`
`,s+=Fn.repeat("-",t.indent+d+3+u.pos)+`^
`,l=1;l<=t.linesAfter&&!(o+l>=i.length);l++)u=n2(e.buffer,r[o+l],i[o+l],e.position-(r[o]-r[o+l]),g),s+=Fn.repeat(" ",t.indent)+r2((e.line+l+1).toString(),d)+" | "+u.str+`
`;return s.replace(/\n$/,"")}var cH=uH,dH=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],gH=["scalar","sequence","mapping"];function mH(e){var t={};return e!==null&&Object.keys(e).forEach(function(n){e[n].forEach(function(r){t[String(r)]=n})}),t}function fH(e,t){if(t=t||{},Object.keys(t).forEach(function(n){if(dH.indexOf(n)===-1)throw new Nr('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=mH(t.styleAliases||null),gH.indexOf(this.kind)===-1)throw new Nr('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var cr=fH;function YT(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 pH(){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 a2(e){return this.extend(e)}a2.prototype.extend=function(e){var t=[],n=[];if(e instanceof cr)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 Nr("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.forEach(function(i){if(!(i instanceof cr))throw new Nr("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(i.loadKind&&i.loadKind!=="scalar")throw new Nr("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 Nr("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 cr))throw new Nr("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var r=Object.create(a2.prototype);return r.implicit=(this.implicit||[]).concat(t),r.explicit=(this.explicit||[]).concat(n),r.compiledImplicit=YT(r,"implicit"),r.compiledExplicit=YT(r,"explicit"),r.compiledTypeMap=pH(r.compiledImplicit,r.compiledExplicit),r};var g8=a2,m8=new cr("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),f8=new cr("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),p8=new cr("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),h8=new g8({explicit:[m8,f8,p8]});function hH(e){if(e===null)return!0;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function yH(){return null}function bH(e){return e===null}var y8=new cr("tag:yaml.org,2002:null",{kind:"scalar",resolve:hH,construct:yH,predicate:bH,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function vH(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 xH(e){return e==="true"||e==="True"||e==="TRUE"}function CH(e){return Object.prototype.toString.call(e)==="[object Boolean]"}var b8=new cr("tag:yaml.org,2002:bool",{kind:"scalar",resolve:vH,construct:xH,predicate:CH,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 TH(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function SH(e){return 48<=e&&e<=55}function wH(e){return 48<=e&&e<=57}function EH(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(!TH(e.charCodeAt(n)))return!1;r=!0}return r&&i!=="_"}if(i==="o"){for(n++;n<t;n++)if(i=e[n],i!=="_"){if(!SH(e.charCodeAt(n)))return!1;r=!0}return r&&i!=="_"}}if(i==="_")return!1;for(;n<t;n++)if(i=e[n],i!=="_"){if(!wH(e.charCodeAt(n)))return!1;r=!0}return!(!r||i==="_")}function AH(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 kH(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!Fn.isNegativeZero(e)}var v8=new cr("tag:yaml.org,2002:int",{kind:"scalar",resolve:EH,construct:AH,predicate:kH,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"]}}),MH=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function IH(e){return!(e===null||!MH.test(e)||e[e.length-1]==="_")}function LH(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 DH=/^[-+]?[0-9]+e/;function PH(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(Fn.isNegativeZero(e))return"-0.0";return n=e.toString(10),DH.test(n)?n.replace("e",".e"):n}function RH(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||Fn.isNegativeZero(e))}var x8=new cr("tag:yaml.org,2002:float",{kind:"scalar",resolve:IH,construct:LH,predicate:RH,represent:PH,defaultStyle:"lowercase"}),C8=h8.extend({implicit:[y8,b8,v8,x8]}),T8=C8,S8=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),w8=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 NH(e){return e===null?!1:S8.exec(e)!==null||w8.exec(e)!==null}function FH(e){var t,n,r,i,a,o,s,l=0,u=null,d,g,m;if(t=S8.exec(e),t===null&&(t=w8.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(l=t[7].slice(0,3);l.length<3;)l+="0";l=+l}return t[9]&&(d=+t[10],g=+(t[11]||0),u=(d*60+g)*6e4,t[9]==="-"&&(u=-u)),m=new Date(Date.UTC(n,r,i,a,o,s,l)),u&&m.setTime(m.getTime()-u),m}function BH(e){return e.toISOString()}var E8=new cr("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:NH,construct:FH,instanceOf:Date,represent:BH});function OH(e){return e==="<<"||e===null}var A8=new cr("tag:yaml.org,2002:merge",{kind:"scalar",resolve:OH}),c2=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;function _H(e){if(e===null)return!1;var t,n,r=0,i=e.length,a=c2;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 UH(e){var t,n,r=e.replace(/[\r\n=]/g,""),i=r.length,a=c2,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 jH(e){var t="",n=0,r,i,a=e.length,o=c2;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 zH(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var k8=new cr("tag:yaml.org,2002:binary",{kind:"scalar",resolve:_H,construct:UH,predicate:zH,represent:jH}),HH=Object.prototype.hasOwnProperty,VH=Object.prototype.toString;function GH(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,VH.call(i)!=="[object Object]")return!1;for(a in i)if(HH.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 WH(e){return e!==null?e:[]}var M8=new cr("tag:yaml.org,2002:omap",{kind:"sequence",resolve:GH,construct:WH}),qH=Object.prototype.toString;function KH(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],qH.call(r)!=="[object Object]"||(i=Object.keys(r),i.length!==1))return!1;a[t]=[i[0],r[i[0]]]}return!0}function QH(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 I8=new cr("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:KH,construct:QH}),YH=Object.prototype.hasOwnProperty;function ZH(e){if(e===null)return!0;var t,n=e;for(t in n)if(YH.call(n,t)&&n[t]!==null)return!1;return!0}function JH(e){return e!==null?e:{}}var L8=new cr("tag:yaml.org,2002:set",{kind:"mapping",resolve:ZH,construct:JH}),d2=T8.extend({implicit:[E8,A8],explicit:[k8,M8,I8,L8]}),Go=Object.prototype.hasOwnProperty,Rm=1,D8=2,P8=3,Nm=4,i2=1,XH=2,ZT=3,$H=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,eV=/[\x85\u2028\u2029]/,tV=/[,\[\]\{\}]/,R8=/^(?:!|!!|![a-z\-]+!)$/i,N8=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function JT(e){return Object.prototype.toString.call(e)}function ha(e){return e===10||e===13}function Qs(e){return e===9||e===32}function Zr(e){return e===9||e===32||e===10||e===13}function ru(e){return e===44||e===91||e===93||e===123||e===125}function nV(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}function rV(e){return e===120?2:e===117?4:e===85?8:0}function iV(e){return 48<=e&&e<=57?e-48:-1}function XT(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 aV(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}var F8=new Array(256),B8=new Array(256);for(Ks=0;Ks<256;Ks++)F8[Ks]=XT(Ks)?1:0,B8[Ks]=XT(Ks);var Ks;function oV(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||d2,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 O8(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=cH(n),new Nr(t,n)}function Ge(e,t){throw O8(e,t)}function Fm(e,t){e.onWarning&&e.onWarning.call(null,O8(e,t))}var $T={YAML:function(e,t,n){var r,i,a;e.version!==null&&Ge(e,"duplication of %YAML directive"),n.length!==1&&Ge(e,"YAML directive accepts exactly one argument"),r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),r===null&&Ge(e,"ill-formed argument of the YAML directive"),i=parseInt(r[1],10),a=parseInt(r[2],10),i!==1&&Ge(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=a<2,a!==1&&a!==2&&Fm(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var r,i;n.length!==2&&Ge(e,"TAG directive accepts exactly two arguments"),r=n[0],i=n[1],R8.test(r)||Ge(e,"ill-formed tag handle (first argument) of the TAG directive"),Go.call(e.tagMap,r)&&Ge(e,'there is a previously declared suffix for "'+r+'" tag handle'),N8.test(i)||Ge(e,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch{Ge(e,"tag prefix is malformed: "+i)}e.tagMap[r]=i}};function Vo(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||Ge(e,"expected valid JSON character");else $H.test(s)&&Ge(e,"the stream contains non-printable characters");e.result+=s}}function e8(e,t,n,r){var i,a,o,s;for(Fn.isObject(n)||Ge(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],Go.call(t,a)||(t[a]=n[a],r[a]=!0)}function iu(e,t,n,r,i,a,o,s,l){var u,d;if(Array.isArray(i))for(i=Array.prototype.slice.call(i),u=0,d=i.length;u<d;u+=1)Array.isArray(i[u])&&Ge(e,"nested arrays are not supported inside keys"),typeof i=="object"&&JT(i[u])==="[object Object]"&&(i[u]="[object Object]");if(typeof i=="object"&&JT(i)==="[object Object]"&&(i="[object Object]"),i=String(i),t===null&&(t={}),r==="tag:yaml.org,2002:merge")if(Array.isArray(a))for(u=0,d=a.length;u<d;u+=1)e8(e,t,a[u],n);else e8(e,t,a,n);else!e.json&&!Go.call(n,i)&&Go.call(t,i)&&(e.line=o||e.line,e.lineStart=s||e.lineStart,e.position=l||e.position,Ge(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 g2(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++):Ge(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function Mn(e,t,n){for(var r=0,i=e.input.charCodeAt(e.position);i!==0;){for(;Qs(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(ha(i))for(g2(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&&Fm(e,"deficient indentation"),r}function _m(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||Zr(n)))}function m2(e,t){t===1?e.result+=" ":t>1&&(e.result+=Fn.repeat(`
`,t-1))}function sV(e,t,n){var r,i,a,o,s,l,u,d,g=e.kind,m=e.result,f;if(f=e.input.charCodeAt(e.position),Zr(f)||ru(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),Zr(i)||n&&ru(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),Zr(i)||n&&ru(i))break}else if(f===35){if(r=e.input.charCodeAt(e.position-1),Zr(r))break}else{if(e.position===e.lineStart&&_m(e)||n&&ru(f))break;if(ha(f))if(l=e.line,u=e.lineStart,d=e.lineIndent,Mn(e,!1,-1),e.lineIndent>=t){s=!0,f=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=l,e.lineStart=u,e.lineIndent=d;break}}s&&(Vo(e,a,o,!1),m2(e,e.line-l),a=o=e.position,s=!1),Qs(f)||(o=e.position+1),f=e.input.charCodeAt(++e.position)}return Vo(e,a,o,!1),e.result?!0:(e.kind=g,e.result=m,!1)}function lV(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(Vo(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 ha(n)?(Vo(e,r,i,!0),m2(e,Mn(e,!1,t)),r=i=e.position):e.position===e.lineStart&&_m(e)?Ge(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);Ge(e,"unexpected end of the stream within a single quoted scalar")}function uV(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 Vo(e,n,e.position,!0),e.position++,!0;if(s===92){if(Vo(e,n,e.position,!0),s=e.input.charCodeAt(++e.position),ha(s))Mn(e,!1,t);else if(s<256&&F8[s])e.result+=B8[s],e.position++;else if((o=rV(s))>0){for(i=o,a=0;i>0;i--)s=e.input.charCodeAt(++e.position),(o=nV(s))>=0?a=(a<<4)+o:Ge(e,"expected hexadecimal character");e.result+=aV(a),e.position++}else Ge(e,"unknown escape sequence");n=r=e.position}else ha(s)?(Vo(e,n,r,!0),m2(e,Mn(e,!1,t)),n=r=e.position):e.position===e.lineStart&&_m(e)?Ge(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}Ge(e,"unexpected end of the stream within a double quoted scalar")}function cV(e,t){var n=!0,r,i,a,o=e.tag,s,l=e.anchor,u,d,g,m,f,p=Object.create(null),h,x,y,b;if(b=e.input.charCodeAt(e.position),b===91)d=93,f=!1,s=[];else if(b===123)d=125,f=!0,s={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),b=e.input.charCodeAt(++e.position);b!==0;){if(Mn(e,!0,t),b=e.input.charCodeAt(e.position),b===d)return e.position++,e.tag=o,e.anchor=l,e.kind=f?"mapping":"sequence",e.result=s,!0;n?b===44&&Ge(e,"expected the node content, but found ','"):Ge(e,"missed comma between flow collection entries"),x=h=y=null,g=m=!1,b===63&&(u=e.input.charCodeAt(e.position+1),Zr(u)&&(g=m=!0,e.position++,Mn(e,!0,t))),r=e.line,i=e.lineStart,a=e.position,au(e,t,Rm,!1,!0),x=e.tag,h=e.result,Mn(e,!0,t),b=e.input.charCodeAt(e.position),(m||e.line===r)&&b===58&&(g=!0,b=e.input.charCodeAt(++e.position),Mn(e,!0,t),au(e,t,Rm,!1,!0),y=e.result),f?iu(e,s,p,x,h,y,r,i,a):g?s.push(iu(e,null,p,x,h,y,r,i,a)):s.push(h),Mn(e,!0,t),b=e.input.charCodeAt(e.position),b===44?(n=!0,b=e.input.charCodeAt(++e.position)):n=!1}Ge(e,"unexpected end of the stream within a flow collection")}function dV(e,t){var n,r,i=i2,a=!1,o=!1,s=t,l=0,u=!1,d,g;if(g=e.input.charCodeAt(e.position),g===124)r=!1;else if(g===62)r=!0;else return!1;for(e.kind="scalar",e.result="";g!==0;)if(g=e.input.charCodeAt(++e.position),g===43||g===45)i2===i?i=g===43?ZT:XH:Ge(e,"repeat of a chomping mode identifier");else if((d=iV(g))>=0)d===0?Ge(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?Ge(e,"repeat of an indentation width identifier"):(s=t+d-1,o=!0);else break;if(Qs(g)){do g=e.input.charCodeAt(++e.position);while(Qs(g));if(g===35)do g=e.input.charCodeAt(++e.position);while(!ha(g)&&g!==0)}for(;g!==0;){for(g2(e),e.lineIndent=0,g=e.input.charCodeAt(e.position);(!o||e.lineIndent<s)&&g===32;)e.lineIndent++,g=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>s&&(s=e.lineIndent),ha(g)){l++;continue}if(e.lineIndent<s){i===ZT?e.result+=Fn.repeat(`
`,a?1+l:l):i===i2&&a&&(e.result+=`
`);break}for(r?Qs(g)?(u=!0,e.result+=Fn.repeat(`
`,a?1+l:l)):u?(u=!1,e.result+=Fn.repeat(`
`,l+1)):l===0?a&&(e.result+=" "):e.result+=Fn.repeat(`
`,l):e.result+=Fn.repeat(`
`,a?1+l:l),a=!0,o=!0,l=0,n=e.position;!ha(g)&&g!==0;)g=e.input.charCodeAt(++e.position);Vo(e,n,e.position,!1)}return!0}function t8(e,t){var n,r=e.tag,i=e.anchor,a=[],o,s=!1,l;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=a),l=e.input.charCodeAt(e.position);l!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,Ge(e,"tab characters must not be used in indentation")),!(l!==45||(o=e.input.charCodeAt(e.position+1),!Zr(o))));){if(s=!0,e.position++,Mn(e,!0,-1)&&e.lineIndent<=t){a.push(null),l=e.input.charCodeAt(e.position);continue}if(n=e.line,au(e,t,P8,!1,!0),a.push(e.result),Mn(e,!0,-1),l=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&l!==0)Ge(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 gV(e,t,n){var r,i,a,o,s,l,u=e.tag,d=e.anchor,g={},m=Object.create(null),f=null,p=null,h=null,x=!1,y=!1,b;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=g),b=e.input.charCodeAt(e.position);b!==0;){if(!x&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,Ge(e,"tab characters must not be used in indentation")),r=e.input.charCodeAt(e.position+1),a=e.line,(b===63||b===58)&&Zr(r))b===63?(x&&(iu(e,g,m,f,p,null,o,s,l),f=p=h=null),y=!0,x=!0,i=!0):x?(x=!1,i=!0):Ge(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,b=r;else{if(o=e.line,s=e.lineStart,l=e.position,!au(e,n,D8,!1,!0))break;if(e.line===a){for(b=e.input.charCodeAt(e.position);Qs(b);)b=e.input.charCodeAt(++e.position);if(b===58)b=e.input.charCodeAt(++e.position),Zr(b)||Ge(e,"a whitespace character is expected after the key-value separator within a block mapping"),x&&(iu(e,g,m,f,p,null,o,s,l),f=p=h=null),y=!0,x=!1,i=!1,f=e.tag,p=e.result;else if(y)Ge(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=u,e.anchor=d,!0}else if(y)Ge(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=u,e.anchor=d,!0}if((e.line===a||e.lineIndent>t)&&(x&&(o=e.line,s=e.lineStart,l=e.position),au(e,t,Nm,!0,i)&&(x?p=e.result:h=e.result),x||(iu(e,g,m,f,p,h,o,s,l),f=p=h=null),Mn(e,!0,-1),b=e.input.charCodeAt(e.position)),(e.line===a||e.lineIndent>t)&&b!==0)Ge(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return x&&iu(e,g,m,f,p,null,o,s,l),y&&(e.tag=u,e.anchor=d,e.kind="mapping",e.result=g),y}function mV(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&&Ge(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)):Ge(e,"unexpected end of the stream within a verbatim tag")}else{for(;o!==0&&!Zr(o);)o===33&&(r?Ge(e,"tag suffix cannot contain exclamation marks"):(i=e.input.slice(t-1,e.position+1),R8.test(i)||Ge(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),tV.test(a)&&Ge(e,"tag suffix cannot contain flow indicator characters")}a&&!N8.test(a)&&Ge(e,"tag name cannot contain such characters: "+a);try{a=decodeURIComponent(a)}catch{Ge(e,"tag name is malformed: "+a)}return n?e.tag=a:Go.call(e.tagMap,i)?e.tag=e.tagMap[i]+a:i==="!"?e.tag="!"+a:i==="!!"?e.tag="tag:yaml.org,2002:"+a:Ge(e,'undeclared tag handle "'+i+'"'),!0}function fV(e){var t,n;if(n=e.input.charCodeAt(e.position),n!==38)return!1;for(e.anchor!==null&&Ge(e,"duplication of an anchor property"),n=e.input.charCodeAt(++e.position),t=e.position;n!==0&&!Zr(n)&&!ru(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&Ge(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function pV(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&&!Zr(r)&&!ru(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&Ge(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),Go.call(e.anchorMap,n)||Ge(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],Mn(e,!0,-1),!0}function au(e,t,n,r,i){var a,o,s,l=1,u=!1,d=!1,g,m,f,p,h,x;if(e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,a=o=s=Nm===n||P8===n,r&&Mn(e,!0,-1)&&(u=!0,e.lineIndent>t?l=1:e.lineIndent===t?l=0:e.lineIndent<t&&(l=-1)),l===1)for(;mV(e)||fV(e);)Mn(e,!0,-1)?(u=!0,s=a,e.lineIndent>t?l=1:e.lineIndent===t?l=0:e.lineIndent<t&&(l=-1)):s=!1;if(s&&(s=u||i),(l===1||Nm===n)&&(Rm===n||D8===n?h=t:h=t+1,x=e.position-e.lineStart,l===1?s&&(t8(e,x)||gV(e,x,h))||cV(e,h)?d=!0:(o&&dV(e,h)||lV(e,h)||uV(e,h)?d=!0:pV(e)?(d=!0,(e.tag!==null||e.anchor!==null)&&Ge(e,"alias node should not have any properties")):sV(e,h,Rm===n)&&(d=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):l===0&&(d=s&&t8(e,x))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag==="?"){for(e.result!==null&&e.kind!=="scalar"&&Ge(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),g=0,m=e.implicitTypes.length;g<m;g+=1)if(p=e.implicitTypes[g],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(Go.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"],g=0,m=f.length;g<m;g+=1)if(e.tag.slice(0,f[g].tag.length)===f[g].tag){p=f[g];break}p||Ge(e,"unknown tag !<"+e.tag+">"),e.result!==null&&p.kind!==e.kind&&Ge(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)):Ge(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||d}function hV(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&&(Mn(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&&!Zr(o);)o=e.input.charCodeAt(++e.position);for(r=e.input.slice(n,e.position),i=[],r.length<1&&Ge(e,"directive name must not be less than one character in length");o!==0;){for(;Qs(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!ha(o));break}if(ha(o))break;for(n=e.position;o!==0&&!Zr(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(n,e.position))}o!==0&&g2(e),Go.call($T,r)?$T[r](e,r,i):Fm(e,'unknown document directive "'+r+'"')}if(Mn(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,Mn(e,!0,-1)):a&&Ge(e,"directives end mark is expected"),au(e,e.lineIndent-1,Nm,!1,!0),Mn(e,!0,-1),e.checkLineBreaks&&eV.test(e.input.slice(t,e.position))&&Fm(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&_m(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,Mn(e,!0,-1));return}if(e.position<e.length-1)Ge(e,"end of the stream or a document separator is expected");else return}function _8(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 oV(e,t),r=e.indexOf("\0");for(r!==-1&&(n.position=r,Ge(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;)hV(n);return n.documents}function yV(e,t,n){t!==null&&typeof t=="object"&&typeof n>"u"&&(n=t,t=null);var r=_8(e,n);if(typeof t!="function")return r;for(var i=0,a=r.length;i<a;i+=1)t(r[i])}function bV(e,t){var n=_8(e,t);if(n.length!==0){if(n.length===1)return n[0];throw new Nr("expected a single document in the stream, but found more")}}var vV=yV,xV=bV,U8={loadAll:vV,load:xV},j8=Object.prototype.toString,z8=Object.prototype.hasOwnProperty,f2=65279,CV=9,_d=10,TV=13,SV=32,wV=33,EV=34,o2=35,AV=37,kV=38,MV=39,IV=42,H8=44,LV=45,Bm=58,DV=61,PV=62,RV=63,NV=64,V8=91,G8=93,FV=96,W8=123,BV=124,q8=125,xr={};xr[0]="\\0";xr[7]="\\a";xr[8]="\\b";xr[9]="\\t";xr[10]="\\n";xr[11]="\\v";xr[12]="\\f";xr[13]="\\r";xr[27]="\\e";xr[34]='\\"';xr[92]="\\\\";xr[133]="\\N";xr[160]="\\_";xr[8232]="\\L";xr[8233]="\\P";var OV=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],_V=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function UV(e,t){var n,r,i,a,o,s,l;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)),l=e.compiledTypeMap.fallback[o],l&&z8.call(l.styleAliases,s)&&(s=l.styleAliases[s]),n[o]=s;return n}function jV(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 Nr("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+n+Fn.repeat("0",r-t.length)+t}var zV=1,Ud=2;function HV(e){this.schema=e.schema||d2,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=Fn.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=UV(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==='"'?Ud:zV,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 n8(e,t){for(var n=Fn.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 s2(e,t){return`
`+Fn.repeat(" ",e.indent*t)}function VV(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 Om(e){return e===SV||e===CV}function jd(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==f2||65536<=e&&e<=1114111}function r8(e){return jd(e)&&e!==f2&&e!==TV&&e!==_d}function i8(e,t,n){var r=r8(e),i=r&&!Om(e);return(n?r:r&&e!==H8&&e!==V8&&e!==G8&&e!==W8&&e!==q8)&&e!==o2&&!(t===Bm&&!i)||r8(t)&&!Om(t)&&e===o2||t===Bm&&i}function GV(e){return jd(e)&&e!==f2&&!Om(e)&&e!==LV&&e!==RV&&e!==Bm&&e!==H8&&e!==V8&&e!==G8&&e!==W8&&e!==q8&&e!==o2&&e!==kV&&e!==IV&&e!==wV&&e!==BV&&e!==DV&&e!==PV&&e!==MV&&e!==EV&&e!==AV&&e!==NV&&e!==FV}function WV(e){return!Om(e)&&e!==Bm}function Bd(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 K8(e){var t=/^\n* /;return t.test(e)}var Q8=1,l2=2,Y8=3,Z8=4,nu=5;function qV(e,t,n,r,i,a,o,s){var l,u=0,d=null,g=!1,m=!1,f=r!==-1,p=-1,h=GV(Bd(e,0))&&WV(Bd(e,e.length-1));if(t||o)for(l=0;l<e.length;u>=65536?l+=2:l++){if(u=Bd(e,l),!jd(u))return nu;h=h&&i8(u,d,s),d=u}else{for(l=0;l<e.length;u>=65536?l+=2:l++){if(u=Bd(e,l),u===_d)g=!0,f&&(m=m||l-p-1>r&&e[p+1]!==" ",p=l);else if(!jd(u))return nu;h=h&&i8(u,d,s),d=u}m=m||f&&l-p-1>r&&e[p+1]!==" "}return!g&&!m?h&&!o&&!i(e)?Q8:a===Ud?nu:l2:n>9&&K8(e)?nu:o?a===Ud?nu:l2:m?Z8:Y8}function KV(e,t,n,r,i){e.dump=function(){if(t.length===0)return e.quotingType===Ud?'""':"''";if(!e.noCompatMode&&(OV.indexOf(t)!==-1||_V.test(t)))return e.quotingType===Ud?'"'+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 l(u){return VV(e,u)}switch(qV(t,s,e.indent,o,l,e.quotingType,e.forceQuotes&&!r,i)){case Q8:return t;case l2:return"'"+t.replace(/'/g,"''")+"'";case Y8:return"|"+a8(t,e.indent)+o8(n8(t,a));case Z8:return">"+a8(t,e.indent)+o8(n8(QV(t,o),a));case nu:return'"'+YV(t)+'"';default:throw new Nr("impossible error: invalid scalar style")}}()}function a8(e,t){var n=K8(e)?String(t):"",r=e[e.length-1]===`
`,i=r&&(e[e.length-2]===`
`||e===`
`),a=i?"+":r?"":"-";return n+a+`
`}function o8(e){return e[e.length-1]===`
`?e.slice(0,-1):e}function QV(e,t){for(var n=/(\n+)([^\n]*)/g,r=function(){var u=e.indexOf(`
`);return u=u!==-1?u:e.length,n.lastIndex=u,s8(e.slice(0,u),t)}(),i=e[0]===`
`||e[0]===" ",a,o;o=n.exec(e);){var s=o[1],l=o[2];a=l[0]===" ",r+=s+(!i&&!a&&l!==""?`
`:"")+s8(l,t),i=a}return r}function s8(e,t){if(e===""||e[0]===" ")return e;for(var n=/ [^ ]/g,r,i=0,a,o=0,s=0,l="";r=n.exec(e);)s=r.index,s-i>t&&(a=o>i?o:s,l+=`
`+e.slice(i,a),i=a+1),o=s;return l+=`
`,e.length-i>t&&o>i?l+=e.slice(i,o)+`
`+e.slice(o+1):l+=e.slice(i),l.slice(1)}function YV(e){for(var t="",n=0,r,i=0;i<e.length;n>=65536?i+=2:i++)n=Bd(e,i),r=xr[n],!r&&jd(n)?(t+=e[i],n>=65536&&(t+=e[i+1])):t+=r||jV(n);return t}function ZV(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)),(io(e,t,s,!1,!1)||typeof s>"u"&&io(e,t,null,!1,!1))&&(r!==""&&(r+=","+(e.condenseFlow?"":" ")),r+=e.dump);e.tag=i,e.dump="["+r+"]"}function l8(e,t,n,r){var i="",a=e.tag,o,s,l;for(o=0,s=n.length;o<s;o+=1)l=n[o],e.replacer&&(l=e.replacer.call(n,String(o),l)),(io(e,t+1,l,!0,!0,!1,!0)||typeof l>"u"&&io(e,t+1,null,!0,!0,!1,!0))&&((!r||i!=="")&&(i+=s2(e,t)),e.dump&&_d===e.dump.charCodeAt(0)?i+="-":i+="- ",i+=e.dump);e.tag=a,e.dump=i||"[]"}function JV(e,t,n){var r="",i=e.tag,a=Object.keys(n),o,s,l,u,d;for(o=0,s=a.length;o<s;o+=1)d="",r!==""&&(d+=", "),e.condenseFlow&&(d+='"'),l=a[o],u=n[l],e.replacer&&(u=e.replacer.call(n,l,u)),io(e,t,l,!1,!1)&&(e.dump.length>1024&&(d+="? "),d+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),io(e,t,u,!1,!1)&&(d+=e.dump,r+=d));e.tag=i,e.dump="{"+r+"}"}function XV(e,t,n,r){var i="",a=e.tag,o=Object.keys(n),s,l,u,d,g,m;if(e.sortKeys===!0)o.sort();else if(typeof e.sortKeys=="function")o.sort(e.sortKeys);else if(e.sortKeys)throw new Nr("sortKeys must be a boolean or a function");for(s=0,l=o.length;s<l;s+=1)m="",(!r||i!=="")&&(m+=s2(e,t)),u=o[s],d=n[u],e.replacer&&(d=e.replacer.call(n,u,d)),io(e,t+1,u,!0,!0,!0)&&(g=e.tag!==null&&e.tag!=="?"||e.dump&&e.dump.length>1024,g&&(e.dump&&_d===e.dump.charCodeAt(0)?m+="?":m+="? "),m+=e.dump,g&&(m+=s2(e,t)),io(e,t+1,d,!0,g)&&(e.dump&&_d===e.dump.charCodeAt(0)?m+=":":m+=": ",m+=e.dump,i+=m));e.tag=a,e.dump=i||"{}"}function u8(e,t,n){var r,i,a,o,s,l;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(l=e.styleMap[s.tag]||s.defaultStyle,j8.call(s.represent)==="[object Function]")r=s.represent(t,l);else if(z8.call(s.represent,l))r=s.represent[l](t,l);else throw new Nr("!<"+s.tag+'> tag resolver accepts not "'+l+'" style');e.dump=r}return!0}return!1}function io(e,t,n,r,i,a,o){e.tag=null,e.dump=n,u8(e,n,!1)||u8(e,n,!0);var s=j8.call(e.dump),l=r,u;r&&(r=e.flowLevel<0||e.flowLevel>t);var d=s==="[object Object]"||s==="[object Array]",g,m;if(d&&(g=e.duplicates.indexOf(n),m=g!==-1),(e.tag!==null&&e.tag!=="?"||m||e.indent!==2&&t>0)&&(i=!1),m&&e.usedDuplicates[g])e.dump="*ref_"+g;else{if(d&&m&&!e.usedDuplicates[g]&&(e.usedDuplicates[g]=!0),s==="[object Object]")r&&Object.keys(e.dump).length!==0?(XV(e,t,e.dump,i),m&&(e.dump="&ref_"+g+e.dump)):(JV(e,t,e.dump),m&&(e.dump="&ref_"+g+" "+e.dump));else if(s==="[object Array]")r&&e.dump.length!==0?(e.noArrayIndent&&!o&&t>0?l8(e,t-1,e.dump,i):l8(e,t,e.dump,i),m&&(e.dump="&ref_"+g+e.dump)):(ZV(e,t,e.dump),m&&(e.dump="&ref_"+g+" "+e.dump));else if(s==="[object String]")e.tag!=="?"&&KV(e,e.dump,t,a,l);else{if(s==="[object Undefined]"||e.skipInvalid)return!1;throw new Nr("unacceptable kind of an object to dump "+s)}e.tag!==null&&e.tag!=="?"&&(u=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?u="!"+u:u.slice(0,18)==="tag:yaml.org,2002:"?u="!!"+u.slice(18):u="!<"+u+">",e.dump=u+" "+e.dump)}return!0}function $V(e,t){var n=[],r=[],i,a;for(u2(e,n,r),i=0,a=r.length;i<a;i+=1)t.duplicates.push(n[r[i]]);t.usedDuplicates=new Array(a)}function u2(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)u2(e[i],t,n);else for(r=Object.keys(e),i=0,a=r.length;i<a;i+=1)u2(e[r[i]],t,n)}function eG(e,t){t=t||{};var n=new HV(t);n.noRefs||$V(e,n);var r=e;return n.replacer&&(r=n.replacer.call({"":r},"",r)),io(n,0,r,!0,!0)?n.dump+`
`:""}var tG=eG,nG={dump:tG};function p2(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 rG=cr,iG=g8,aG=h8,oG=C8,sG=T8,lG=d2,uG=U8.load,cG=U8.loadAll,dG=nG.dump,gG=Nr,mG={binary:k8,float:x8,map:p8,null:y8,pairs:I8,set:L8,timestamp:E8,bool:b8,int:v8,merge:A8,omap:M8,seq:f8,str:m8},fG=p2("safeLoad","load"),pG=p2("safeLoadAll","loadAll"),hG=p2("safeDump","dump"),yG={Type:rG,Schema:iG,FAILSAFE_SCHEMA:aG,JSON_SCHEMA:oG,CORE_SCHEMA:sG,DEFAULT_SCHEMA:lG,load:uG,loadAll:cG,dump:dG,YAMLException:gG,types:mG,safeLoad:fG,safeLoadAll:pG,safeDump:hG},zd=yG;var{Deno:J8}=globalThis,bG=typeof J8?.noColor=="boolean"?J8.noColor:!0,vG=!bG;function Um(e,t){return{open:`\x1B[${e.join(";")}m`,close:`\x1B[${t}m`,regexp:new RegExp(`\\x1b\\[${t}m`,"g")}}function jm(e,t){return vG?`${t.open}${e.replace(t.regexp,t.open)}${t.close}`:e}function h2(e){return jm(e,Um([2],22))}function zm(e){return jm(e,Um([31],39))}function y2(e){return jm(e,Um([32],39))}function b2(e){return jm(e,Um([33],39))}var afe=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 $8=["translationService","inputTranslationService","mouseHoverTranslationService","clientImageTranslationService","subtitleTranslateService"];function mt(){return typeof process>"u"&&typeof Deno<"u"?Deno.env.toObject():I}var Rt=mt();function Ae(e){return e&&globalThis?.document?.querySelector("meta[name=immersive-translate-options]")?!!globalThis.document?.getElementById("immersive-translate-manifest")?.value?.includes("_isUserscript"):Rt.IMMERSIVE_TRANSLATE_USERSCRIPT==="1"}function Ys(){return Rt.PROD==="1"}function eS(){return Rt.PROD_API==="1"}function tS(){return Rt.HAS_CSP_ERROR=="1"}function Mt(){if(Rt.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}function ou(){return Rt.IMMERSIVE_TRANSLATE_SAFARI==="1"}var ufe=mt().PROD==="1",ii=mt().PROD!=="1";function Hd(){if(typeof globalThis.immersiveTranslateBrowserAPI<"u"&&globalThis.immersiveTranslateBrowserAPI.runtime&&globalThis.immersiveTranslateBrowserAPI.runtime.getManifest){let e=globalThis.immersiveTranslateBrowserAPI.runtime.getManifest();return!!(e&&(e._isUserscript||e._isSafari))}else return!1}function ao(){return Rt.IMMERSIVE_TRANSLATE_JSSDK==="1"||Rt.IMMERSIVE_TRANSLATE_OFFICIAL_SDK==="1"}function dt(e,t){let n=su(e),r=su(t);return n>=r}function su(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 xG="";function Yi(){return xG||globalThis.navigator.userAgent}function ot(){let e=Yi();return e.includes("ImtFxiOS")||e.includes("ImtiOS")}function Vd(){let e=Yi();if(e.includes("ImtiOS"))return!0;if(!e.includes("ImtFxiOS"))return!1;let t=ya();return t?dt(t,"2.0.0"):!1}function ya(){let e=Yi();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 Gt(){let e=Yi();return e.includes("ImtFxAndroid")||e.includes("ImtFxAOS")}function nS(){if(!Gt())return!1;let e=Yi();return e.endsWith("official_cn")||e.includes("mainlandStore")}function rS(){return ot()?Yi().includes("mainland"):!1}function iS(){let e=Yi();return/ImtFxAndroid\/(\d+\.\d+\.\d+)\/google/.test(e)}function Wo(){let e=Yi();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 v2(){let e=Yi();if(ot()||Gt()){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 x2(){let e=Yi();if(!e.includes("iPhone"))return null;let t=e.match(/Version\/(\d+(?:\.\d+)?)/);return t?t[1]:null}function aS(){try{let e=x2();return e?parseFloat(e):0}catch{return 0}}function oS(){let e=Yi();if(!e.includes("iPhone"))return null;let t=e.match(/iPhone OS (\d+(?:_\d+){1,2})/);return t&&t?t[1]:null}var CG="2.2.0",TG="1.1.9",SG="2.3.2";function Gd(){if(!Gt()&&!ot())return!1;if(Gt()){let e=Wo();return e?dt(e,SG):!1}if(Vd()){let e=ya();return e?dt(e,CG):!1}if(ot()){let e=ya();return e?dt(e,TG):!1}return!1}var C2=/iPhone/i,sS=/iPod/i,lS=/iPad/i,uS=/\biOS-universal(?:.+)Mac\b/i,T2=/\bAndroid(?:.+)Mobile\b/i,cS=/Android/i,lu=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,Hm=/Silk/i,oo=/Windows Phone/i,dS=/\bWindows(?:.+)ARM\b/i,gS=/BlackBerry/i,mS=/BB10/i,fS=/Opera Mini/i,pS=/\b(CriOS|Chrome)(?:.+)Mobile/i,hS=/Mobile(?:.+)Firefox\b/i,yS=e=>typeof e<"u"&&e.platform==="MacIntel"&&typeof e.maxTouchPoints=="number"&&e.maxTouchPoints>1&&typeof globalThis.MSStream>"u";function wG(e){return t=>t.test(e)}function Se(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=wG(n),a={apple:{phone:i(C2)&&!i(oo),ipod:i(sS),tablet:!i(C2)&&(i(lS)||yS(t))&&!i(oo),universal:i(uS),device:(i(C2)||i(sS)||i(lS)||i(uS)||yS(t))&&!i(oo)},amazon:{phone:i(lu),tablet:!i(lu)&&i(Hm),device:i(lu)||i(Hm)},android:{phone:!i(oo)&&i(lu)||!i(oo)&&i(T2),tablet:!i(oo)&&!i(lu)&&!i(T2)&&(i(Hm)||i(cS)),device:!i(oo)&&(i(lu)||i(Hm)||i(T2)||i(cS))||i(/\bokhttp\b/i)},windows:{phone:i(oo),tablet:i(dS),device:i(oo)||i(dS)},other:{blackberry:i(gS),blackberry10:i(mS),opera:i(fS),firefox:i(hS),chrome:i(pS),device:i(gS)||i(mS)||i(fS)||i(hS)||i(pS)},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 S2="DENO",uu="CHROME",Vm="FIREFOX";function Gm(e){let t;try{let n=navigator?.userAgent||"";/firefox/i.test(n)||typeof InstallTrigger<"u"?t=Vm:/deno/i.test(n)?t=S2:/chrome/i.test(n)&&(t=uu)}catch{}return e===uu&&t===uu||e===Vm&&t===Vm||e===S2&&t===S2}function so(){return navigator.userAgent.indexOf("Edg")!==-1}function lo(){return navigator.userAgent.indexOf("Valve Steam")!==-1}function Wn(){return Gm(uu)}function Ue(e=!1){let t=mt();return nS()||rS()?!0:!e&&t.region_plugin?t.region_plugin==="mainland":Gm(uu)&&t.IMMERSIVE_TRANSLATE_CN_CHROME==="1"}function bS(){return Gm(uu)&&mt().IMMERSIVE_TRANSLATE_CN_CHROME==="1"}function Wm(){return typeof Deno<"u"}function Cn(){return mt().IMMERSIVE_TRANSLATE_FIREFOX==="1"?!0:Gm(Vm)}function Bn(e){return!Fr(e)}var w2;function Fr(e){return e?.confirmSupportMouse!=null?e?.confirmSupportMouse:w2?!0:!!navigator.maxTouchPoints||"ontouchstart"in document.documentElement?!1:!!globalThis.matchMedia("(pointer:fine)").matches}function vS(){let e=!!navigator.maxTouchPoints||"ontouchstart"in document.documentElement;return!!globalThis.matchMedia("(pointer:fine)").matches&&e}function E2(e){return w2!=null?!1:(w2=e,!0)}function xS(){let e=globalThis.innerWidth,t=!!navigator.maxTouchPoints||"ontouchstart"in document.documentElement;return e<768&&t}var pe="immersiveTranslate",Zs="Immersive Translate",z="immersive-translate",uo="imt",Js="immersivetranslate";var CS=pe+"DeeplGlobalState",A2=pe+"BingGlobalState",kfe=pe+"YandexGlobalState",k2=pe+"BaiduQianfanGlobalConfigStorageKey",M2=pe+"SiliconCloudGlobalConfigStorageKey",I2=pe+"IMT_COMMON_JWT_TOKEN",L2=pe+"ZhipuGlobalConfigStorageKey",qm="759003177173-mfm15s5nd77vfmo6e7lanof1emnanf0e.apps.googleusercontent.com",cu=pe+"GoogleAccessToken",Wd=pe+"AuthFlow",Km=z+"-config-latest.json",D2=pe+"AuthState",Mfe=pe+"IframeMessage",Ife=pe+"WaitForRateLimit",TS=pe+"YoutubeIframePlayer",Lfe=pe+"DocumentMessageAsk",dn=pe+"DocumentMessageTellThirdParty",qo=pe+"DocumentMessageThirdPartyTell",SS=pe+"DocumentMessageEventUpload",Dfe=pe+"DocumentMessageTypeStopJsSDK",Pfe=pe+"DocumentMessageHandler",Qm=pe+"DocumentSetFloatBallActive",Rfe=`${pe}Share`,Ym=`${pe}ShowFloatBallGuide`,Zm=`${pe}ShowPopupModalGuide`,du=pe+"DocumentMessageTempEnableSubtitleChanged",Jm=pe+"DocumentMessageUpdateQuickButtonAiSubtitle",qd=`${pe}ToggleMouseHoverTranslateDirectly`,Nfe=`${pe}ReqDraft`,Ffe=`${pe}ResDraft`,EG=`${pe}Container`,wS=`${pe}SpecifiedContainer`,ES="buildinConfig",Xm="localConfig",Kd="openOptionsPage",Qd="translateMangaMenuId",P2="openAboutPage",AS="translateLocalPdfFile",Ko=`${pe}PageTranslatedStatus`,Qo=`${pe}MangaTranslatedStatus`,Bfe=`${pe}PageUrlChanged`,kS=pe+"LastUseMouseHoverTime",MS=pe+"LastUseInputTime",Mi=pe+"LastUseManualTranslatePageTime",Ofe=`${pe}PopupReceiveMessage`,_fe=`${pe}SidePanelReceiveMessage`,Xs=pe+"DocumentMessageEventTogglePopup",Ufe=`${pe}Mark`,Br=`${pe}Root`,IS=`${pe}Walked`,jfe=`data-${z}-walked`,$m=`${pe}Paragraph`,zfe=`data-${z}-paragraph`,gu=`data-${z}-translation-element-mark`,LS=`${pe}TranslationElementMark`,Yo="data-imt-translation-only",Hfe=`${pe}TranslatedMark`,R2=`${z}-input-injected-css`,DS=`${pe}LoadingId`,N2=`data-${z}-loading-id`,PS=`${pe}ErrorId`,Yd=`data-${z}-error-id`,AG=`${pe}AtomicBlockMark`,RS=`${pe}ExcludeMark`,Vfe=`data-${z}-exclude-mark`,kG=`${pe}StayOriginalMark`,Gfe=`${pe}PreWhitespaceMark`,Wfe=`${pe}InlineMark`,qfe=`${pe}BlockMark`,Kfe=`${pe}Left`,Qfe=`${pe}Right`,Yfe=`${pe}Width`,Zfe=`${pe}Height`,Jfe=`${pe}Top`,Xfe=`${pe}FontSize`,NS="lastRunTime";var $fe=`${pe}GlobalStyleMark`,mu=["@","#"],ef=" --- ",FS=`
`,It=`${z}-target-wrapper`,epe=`${z}-pdf-target-container`,BS=`${z}-target-inner`,tpe=`${z}-source-wrapper`,OS=`${z}-target-translation-block-wrapper`,npe=`${z}-root-translation-theme`,fu=`${pe}RootTranslationTheme`,_S=`${z}-target-translation-vertical-block-wrapper`,rpe=`${z}-target-translation-pdf-block-wrapper`,US=`${z}-target-translation-pre-whitespace`,jS=`${z}-target-translation-inline-wrapper`,F2=["none","dashed","underline","dashedBorder","solidBorder","mask","opacity","dotted","dividingLine","highlight","marker","marker2","blockquote","weakening","grey","paper","italic","bold","thinDashed","wavy","nativeDotted","nativeDashed","nativeUnderline","background"],Zd={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 tf=[{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:Ue()?[{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"}]}],ba="zh-CN",zS={type:pe+"ChildFrameToRootFrameIdentifier"},B2=["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"],va=["Ctrl","Shift","Alt","MouseHoldKeyPressHold","Auto","Off","OtherCustom","Other"],HS=["ctrl","alt","shift","cmd","command","option","control"],nf={ctrl:17,alt:18,shift:16,cmd:91,command:91,option:18,control:17},pu=["Ctrl","Alt","Shift"],rf=[{key:"/"},{key:"="},{key:";"},{key:","},{key:"."},{key:":"},{key:"space",labelKey:"spaceKey",skipForStarting:!0},{key:"none",labelKey:"noneKey",skipForTrailing:!0}],Jd="user_from_plugin";var Zo="region_plugin";var VS="G-BHWL0KMJB8",GS="7pr-olTJR6GKAjIW48UD0Q";var O2="G-V5H2F5MJFJ",_2="UBjpGOLISEaY5LVXNj3WvQ";var WS=50*1e4,qS=`[${uo}-ctx-divider]`,af=`${uo}_context_preview`,KS=`\u{1F44B} \u563F\uFF0C\u4F60\u53D1\u73B0\u4E86\u5F69\u86CB\uFF01
    \u65E2\u7136\u88AB\u4F60\u53D1\u73B0\u4E86\uFF0C\u4E0D\u5982\u770B\u770B\u6211\u4EEC\u7684\u804C\u4F4D\uFF1F

    \u5173\u4E8E\u6211\u4EEC:
    \u2022 \u8FFD\u6C42\u6280\u672F\u521B\u65B0\u7684\u79D1\u6280\u516C\u53F8
    \u2022 \u4F18\u79C0\u7684\u56E2\u961F\uFF0C\u5F00\u653E\u7684\u6587\u5316
    \u2022 \u5177\u6709\u7ADE\u4E89\u529B\u7684\u85AA\u8D44\u5F85\u9047
    \u2022 \u5168\u5458\u8FDC\u7A0B\u529E\u516C

    \u6211\u4EEC\u5728\u5BFB\u627E:
{jobs}

    \u6B22\u8FCE\u52A0\u5165\u6211\u4EEC\uFF01

    \u{1F4EE} \u6295\u9012\u7B80\u5386: hr@immersivetranslate.com
    \u{1FAE1} \u4E86\u89E3\u66F4\u591A: https://immersivetranslate.com/zh-Hans/docs/joinUs/`,Xd=`\u200B
\u200C`,$d="fullLocalUserConfig",U2="fullLocalUserConfigMobileApp",j2="termsLastSyncTimestamp",z2="activeTabTranslatedUrl",qn=2147483647,QS="1.1.8";var hu=`${pe}_selection_update_params`,of=`data-${z}-subtitle-type`,eg=`data-${z}-ai-subtitle-url`,sf=`data-${z}-has-subtitle`,xt=640,lf=1200,H2=["google","bing","siliconcloud","zhipu"],V2=["deepseek","openai","claude","gemini","zhipu-pro","deepl","qwen-pro"],YS=["deepseek","zhipu-pro","qwen-pro"],MG=["openai","claude","gemini"],uf=[...H2,...V2,...MG],cf=["translationService","inputTranslationService","mouseHoverTranslationService","subtitleTranslateService","clientImageTranslationService"],ipe=z+"-large-cache";var ZS=580,$s="imt_setting_secret_key",G2=["transmart-free","yandex-free"],W2="zhipu-free",df="__PII",yu="data-imt-split-line",el="data-imt-split-divider",gf=4,mf="not_show_upgrade_image";var ff=100,JS=["extends","type","group","name","model","models","provider","modelsHidden","limit","retry","apiUrl","supportFeatures"],q2="usage_limit_stats";var bu=console,K2=class{#e=performance.now();reset(){this.#e=performance.now()}stop(t){let n=performance.now(),r=Math.round(n-this.#e),i=y2;r>1e4?i=zm:r>1e3&&(i=b2),bu.debug(h2(Zs+" TIMING:"),t,"in",i(r+"ms")),this.#e=n}},Q2=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&&bu.log(h2(Zs+" DEBUG:"),...t)}v(...t){this.#e<=0}info(...t){this.#e<=1&&bu.log(y2(Zs+" INFO:"),...t)}l(...t){this.#e<=1}warn(...t){this.#e<=2&&bu.warn(b2(Zs+" WARN:"),...t)}error(...t){this.#e<=3&&bu.error(zm(Zs+" ERROR:"),...t)}fatal(...t){this.#e<=4&&bu.error(zm(Zs+" FATAL:"),...t)}timing(){return this.level===0?new K2:{reset:()=>{},stop:()=>{}}}},M=new Q2;var IG=["api2","test-api2","aigw1","analytics","config","ai","lang-detect"],XS=["immersivetranslate.com","immersivetranslate.cn","imtintl.com"];function Zi(){return Ue()?"immersivetranslate.cn":"immersivetranslate.com"}function tl(e){let t=Zi(),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 pf(e,t){try{let n=new URL(e),r=IG.find(o=>n.hostname.startsWith(`${o}.`));if(!r)return null;let i=n.hostname.slice(r.length+1);return(t?.length?tl(t):[...XS]).includes(i)?{urlObj:n,subdomain:r,hostName:i}:null}catch{return null}}function $S(e,t){if(!e)return!1;if(pf(e,t))return!0;try{let{hostname:r}=new URL(e);return(t?.length?tl(t):[...XS]).some(a=>r===a||r.endsWith(`.${a}`))}catch{return!1}}var Y2=class{hostName="";staticHostName="";isProd=!1;cache=new Map;cacheVersion=0;envVariables=new Map;constructor(){this.isProd=Ys()||eS(),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=Zi(),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,l)=>{if(n.has(l))throw new Error(`Circular dependency detected: ${l}`);let u=this.resolveSinglePlaceholder(l,n);return u!==s&&(a=!0),u});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=e7[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}},e7={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:()=>Mt()?"{{OFFICIAL_URL}}/accounts/safari-iap":"{{OFFICIAL_URL}}/auth/pricing/",PRICING_URL:()=>Mt()?"{{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}}"},Ji=new Y2;var _=new Proxy(e7,{get(e,t){let n=e[t],r=n;return typeof n=="function"&&(r=n()),typeof r=="string"?Ji.resolveURL(r):n}}),t7=["https://immersive-translate.owenyoung.com/options/","https://immersive-translate.owenyoung.com/auth-done/",_.DASH_BASE_URL,_.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 Z2(){return Ue()?[]:ao()?[`https://www.google-analytics.com/mp/collect?measurement_id=${VS}&api_secret=${GS}`]:Ys?[`https://www.google-analytics.com/mp/collect?measurement_id=${O2}&api_secret=${_2}`]:[`https://www.google-analytics.com/debug/mp/collect?measurement_id=${O2}&api_secret=${_2}`]}function kt(){try{return J2(globalThis.location.href)?!1:globalThis.self!==globalThis.top}catch{return!0}}function J2(e){if(!e)return!1;let t=i=>{let a=i.startsWith("/")?i:`/${i}`;return a.endsWith("/")?a:`${a}/`},n=[_.EBOOK_BUILDER_URL,_.EBOOK_VIEWER_URL,_.SUBTITLE_BUILDER_URL,_.HTML_VIEWER_URL,_.PDF_VIEWER_URL].filter(i=>!!i),r=[_.APP_BASE_URL];Ys()||r.push("localhost:38001");try{let i=new URL(e),a=new Set;r.forEach(u=>{try{a.add(new URL(u).host)}catch{a.add(u.replace(/^https?:\/\//,""))}});let o=n.map(u=>{let d=new URL(u);return{host:d.host,pathname:t(d.pathname)}});if(o.forEach(u=>a.add(u.host)),!a.has(i.host))return!1;let s=t(i.pathname);return!!o.find(u=>s===u.pathname||s.startsWith(u.pathname))}catch{return!1}}var hf={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 n7={addListener:()=>{},removeListener:()=>{},hasListener:()=>{}},r7={permissions:{contains:()=>{},request:()=>{}},runtime:{onMessage:n7,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:n7,query:()=>{},sendMessage:()=>{}}};var Ne;Wm()?Ne=r7:Ne=globalThis.immersiveTranslateBrowserAPI;var DG="";function Kn(){return DG||hf.version}function On(){return Ne.runtime.getManifest().version}function vu(e){let t=On();return t==e.releaseVersion,t}function i7(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}function PG(){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 X2(e){let t=()=>{let l=Ne?.storage?.[e];if(!l)throw new Error(`Storage API not available: ${e}`);return l};return{get:function(l,u){return t().get(l).then(d=>{let g=d?.[l];return g===void 0&&arguments.length>=2?u:g})},getAll:()=>t().get(null).then(l=>l??{}),set:(l,u)=>t().set({[l]:u}),remove:l=>t().remove(l),clear:()=>{let l=t();return l.get(null).then(async u=>{let d=Object.keys(u??{});d.length>0&&await l.remove(d)})},refresh:()=>{try{let u=t().refresh;if(typeof u=="function")return Promise.resolve(u()).catch(()=>{})}catch{}return Promise.resolve()}}}var RG={local:X2("local"),sync:X2("sync"),session:X2("session"),memory:PG()};var Ie=RG;var ng="user_info",yf="user_token",nl=pe+"CacheKey_",bf=nl+ng;async function tg(e,t,n){let r=nl+e;if(n){let i=await Ie.local.get(e,t);if(i!=null)return i}return await Ie.local.get(r,t)}function NG(){Ie.local.refresh()}function FG(e,t){let n=nl+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 BG(e,t,n){let r=nl+e,i=Date.now()+n;return Ie.local.set(r,{value:t,expired:i})}function a7(e,t,n){let r=nl+e;return n?Ie.local.set(e,t):Ie.local.set(r,t)}function $2(e,t){let n=nl+e;return t&&Ie.local.remove(e),Ie.local.remove(n)}async function OG(){let e=await Ie.local.getAll();for(let t in e)t.startsWith(nl)&&await Ie.local.remove(t)}async function _G(){let t=ot()?await Ie.local.get(bf,null):await tg(ng,null,!0);return t&&!t.token&&(t.token=await ey()),t}async function UG(e){let t=e.token||await ey();e.token=t,ot()&&await Ie.local.set(bf,e),await Ie.local.set(ng,e),await Ie.local.set(yf,t)}function jG(e){return Ie.local.set(yf,e)}async function ey(){if(ot()){let n=await Ie.local.get(bf,null);if(n?.token)return n.token}let e=await tg(yf,"",!0);return e||(await tg(ng,null,!0))?.token||""}async function zG(){ot()&&await Ie.local.remove(bf),await $2(ng,!0),await $2(yf,!0)}async function HG(){return await tg(Zo,null,!0)}function VG(e){return a7(Zo,e,!0)}var GG={getUserInfo:_G,saveUserInfo:UG,setUserToken:jG,getUserToken:ey,clearUserInfo:zG,getPluginRegion:HG,setPluginRegion:VG,setValue:a7,getValue:tg,getExpired:FG,setExpired:BG,remove:$2,clear:OG,refresh:NG},le=GG;function Nt(e){return!!(e&&e.subscription&&e.subscription.subscriptionStatus==="active")}function vf(e){return e?.subscription?.memberShip==="max"||e?.subscription?.memberType==="team"}function o7(e){if(e){let t="unknown";if(e.subscription&&e.subscription.subscriptionId&&(e.subscription.subscriptionId.startsWith("sub_")?t="stripe":t="admin"),t==="stripe")return!0}return!1}function xf(e){if(e){let t=new Date(e.createTime),n=WG(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 WG(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 Cf(e){if(e?.isPro)return!0;let t=await le.getUserInfo();return Nt(t)}async function ai(){let e=await le.getUserInfo();return Nt(e)}async function xa(e){let t=e.user||await le.getUserInfo();if(Nt(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 Qn=["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"],rg={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"},s7={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"},ig={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"},ag={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"},Ca=["zh-CN","zh-TW","ja","th","lo","km","my","bo","vi","sa","su","jw","ug","haw","ko"],xu=[["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 Te(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=Qn.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":Qn[i]}else return"auto";else return Qn[r]}function l7(){return Te(document?.documentElement?.lang||"auto")}var gt="free-model",qG=[{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"}],KG="zhipu-free";function og(e){return e?.[gt]??{}}function Ta(e){let t=og(e).subServices;return Array.isArray(t)&&t.length>0?t:qG}function c7(e){let t=og(e).fallbackService;return typeof t=="string"?t:null}function d7(e){let t=og(e).streamFallbackService;return typeof t=="string"?t:null}function g7(e){let t=og(e).transitionalFreeServiceOrder;return Array.isArray(t)?t:[]}function QG(e){let t=og(e).serviceWhenFreeModelHidden,n=Ta(e);return typeof t=="string"&&n.some(r=>r.legacyServiceId===t)?t:n[0]?.legacyServiceId||KG}function m7(e,t){return Ta(t).some(n=>n.legacyServiceId===e)}function Tf(e,t){return e&&(t.isFreeModelMode?m7(e,t.translationServices)?gt:e:e===gt?QG(t.translationServices):e)}function f7(e){let t=Tf(e.translationService,e);t&&(e.translationService=t);let n=["inputTranslationService","mouseHoverTranslationService","subtitleTranslateService"];if(n.forEach(r=>{u7(e,e[r])&&(e[r]=e.translationService)}),e.userTranslationServices){let{userTranslationServices:r}=e,i=Tf(r.translationService,e);i&&(r.translationService=i),n.forEach(a=>{u7(e,r[a])&&(r[a]=r.translationService||e.translationService)})}}function u7(e,t){return!t||t==="inherit"?!1:e.translationServices?.[t]?sg(e,t):!0}function sg(e,t){return e.isFreeModelMode?m7(t,e.translationServices):t===gt}var h7=["caiyun","cai"],p7=[{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"}]}],ty=[{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 lg({serviceKey:e,defaultApiUrl:t}){return Sa({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:_.BASE_SITE+"docs/services/"+e+"/",optional:!0,providers:["custom"]}]})}function Sa({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"]},...ty].filter(t=>Object.keys(t).length>0)}var rl={ai:!0,name:"Custom AI",homepage:"https://openai.com/api/",allProps:Sa({authOptions:[{name:"apiUrl",direction:"column",labelKey:"field.apiUrl",required:!1,type:"text",descriptionKey:"description.apiUrl",descriptionLink1:_.BASE_SITE+"docs/services/ai/",default:"https://api.openai.com/v1/chat/completions"},{name:"APIKEY",required:!0,type:"password",sensitive:!0,direction:"column"}]})},_n={bing:{name:"\u5FAE\u8F6F\u7FFB\u8BD1",homepage:"https://www.bing.com/translator"},google:{name:"Google",homepage:"https://translate.google.com/"},[gt]:{ai:!0,name:gt,homepage:_.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:Sa({authOptions:[{name:"APIKEY",required:!0,type:"password",sensitive:!0,direction:"column",descriptionKey:"description.zhipuCustomAPIKey",descriptionLink1:"https://open.bigmodel.cn/",descriptionLink2:_.BASE_SITE+"zh-Hans/docs/services/zhipu/"}]})},deepl:{name:"DeepL",homepage:"https://www.deepl.com/translator",docUrl:_.BASE_SITE+"docs/services/deepL/",link1:"https://www.deepl.com/blog/next-gen-language-model",link2:_.BASE_SITE+"pricing/?utm_source=extension&utm_medium=settings&utm_campaign=service_deepl",providers:[{name:"pro",nameKey:"deepLProName",descriptionKey:"deepLProDescription",descriptionKeyForNormal:"deeplProDescriptionForNormal",descriptionLink1:_.AUTH_PRICING_URL+"?utm_campaign=services"},{name:"custom",nameKey:"deepLCustomName",descriptionKey:"deepLCustomDescription",descriptionLink1:"https://www.deepl.com/translator",descriptionLink2:_.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:_.BASE_SITE+"docs/services/deepseek/",link1:"",link2:"",providers:[{name:"pro",nameKey:"serviceProName",descriptionKey:"serviceProDescription",descriptionKeyForNormal:"serviceProDescriptionForNormal",descriptionLink1:_.AUTH_PRICING_URL+"?utm_campaign=services"},{name:"custom",nameKey:"openaiCustomName",descriptionKey:"deepseekCustomDescription",descriptionLink1:"https://www.deepseek.com/",descriptionLink2:_.BASE_SITE+"docs/services/deepseek/"}],allProps:lg({serviceKey:"deepseek",defaultApiUrl:"https://api.deepseek.com/chat/completions"})},openai:{ai:!0,name:"Open AI",homepage:"https://openai.com/api/",docUrl:_.BASE_SITE+"docs/services/openai/",link1:"https://readit.plus/a/GKQas/understanding-chatgpt",link2:_.BASE_SITE+"pricing/?utm_source=extension&utm_medium=settings&utm_campaign=service_openai",providers:[{name:"pro",nameKey:"openaiProName",descriptionKey:"openaiProDescription",descriptionKeyForNormal:"openaiProDescriptionForNormal",descriptionLink1:_.AUTH_PRICING_URL+"?utm_campaign=services"},{name:"custom",nameKey:"openaiCustomName",descriptionKey:"openaiCustomDescription",descriptionLink1:_.BASE_SITE+"docs/services/openai/"}],allProps:lg({serviceKey:"openai",defaultApiUrl:"https://api.openai.com/v1/chat/completions"})},gemini:{ai:!0,name:"Gemini",homepage:"https://ai.google.dev/aistudio/",docUrl:_.BASE_SITE+"docs/services/gemini/",link2:_.BASE_SITE+"pricing/?utm_source=extension&utm_medium=settings&utm_campaign=service_gemini",providers:[{name:"pro",nameKey:"serviceProName",descriptionKey:"serviceProDescription",descriptionKeyForNormal:"serviceProDescriptionForNormal",descriptionLink1:_.AUTH_PRICING_URL+"?utm_campaign=services"},{name:"custom",nameKey:"serviceCustomName",descriptionKey:"geminiCustomDescription",descriptionLink1:"https://ai.google.dev/aistudio/",descriptionLink2:_.BASE_SITE+"docs/services/gemini/"}],allProps:lg({serviceKey:"gemini",defaultApiUrl:"https://generativelanguage.googleapis.com/v1beta/models/{model}:generateContent?key={key}"})},claude:{ai:!0,name:"Claude",homepage:"https://www.anthropic.com/",docUrl:_.BASE_SITE+"docs/services/claude/",link2:_.BASE_SITE+"pricing/?utm_source=extension&utm_medium=settings&utm_campaign=service_claude",providers:[{name:"pro",nameKey:"serviceProName",descriptionKey:"serviceProDescription",descriptionKeyForNormal:"serviceProDescriptionForNormal",descriptionLink1:_.AUTH_PRICING_URL+"?utm_campaign=services"},{name:"custom",nameKey:"serviceCustomName",descriptionKey:"claudeCustomDescription",descriptionLink1:"https://www.anthropic.com/",descriptionLink2:_.BASE_SITE+"docs/services/claude/"}],allProps:lg({serviceKey:"claude",defaultApiUrl:"https://api.anthropic.com/v1/messages"})},"zhipu-pro":{ai:!0,name:"Gemini",homepage:"https://open.bigmodel.cn/",docUrl:"",link2:_.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:_.AUTH_PRICING_URL+"?utm_campaign=services"}],allProps:ty},siliconcloud:{ai:!0,name:"siliconcloud",homepage:"https://cloud.siliconflow.cn/",introductionPlaceholder:`<picture style='display: block; width: 100px;height: 20px;'><source srcset='${_.BASE_OSS_URL}siliconFlow-dark.png' media='(prefers-color-scheme: dark)' /><img src='${_.BASE_OSS_URL}siliconFlow-light.png' /></picture>`,allProps:Sa({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:_.BASE_SITE+"docs/services/kimi/",link1:"",link2:"",allProps:lg({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:_.BASE_SITE+"docs/services/grok/",link1:"",link2:"",allProps:Sa({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:_.BASE_SITE+"docs/services/ai/",default:"https://api.x.ai/v1/chat/completions",providers:["custom"]}]})},ollama:{...rl,name:"ollama",homepage:"https://ollama.com/",runningDocUrl:_.BASE_SITE+"docs/services/ollama/"},"azure-openai":{...rl,name:"azure-openai",homepage:"https://learn.microsoft.com/zh-cn/azure/cognitive-services/openai/chatgpt-quickstart?tabs=command-line&pivots=rest-api",docUrl:_.BASE_SITE+"docs/services/azure-openai/"},doubao:{ai:!0,name:"doubao",homepage:"https://www.volcengine.com/product/doubao",docUrl:_.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},...ty]},"aliyun-bailian":{ai:!0,name:"aliyun-bailian",homepage:"https://bailian.console.aliyun.com/",docUrl:_.BASE_SITE+"docs/services/aliyun-bailian/",link1:"",link2:"",allProps:Sa({authOptions:[{name:"APIKEY",required:!0,type:"password",sensitive:!0,direction:"column"}]})},qwen:{ai:!0,name:"Qwen",homepage:"https://bailian.console.aliyun.com/",docUrl:_.BASE_SITE+"docs/services/aliyun-bailian/",link1:"",link2:"",allProps:Sa({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:_.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:{...rl,name:"baidu-qianfan2",homepage:"https://console.bce.baidu.com/qianfan/overview",docUrl:_.BASE_SITE+"docs/services/baidu-qianfan/"},hunyuan:{ai:!0,name:"hunyuan",homepage:"https://hunyuan.tencent.com/",docUrl:_.BASE_SITE+"docs/services/tencent-hunyuan/",allProps:Sa({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:_.BASE_SITE+"docs/services/lingyiwanwu/",link1:"",link2:"",allProps:Sa({authOptions:[{name:"APIKEY",required:!0,type:"password",sensitive:!0,direction:"column"}]})},groq:{ai:!0,name:"groq",homepage:"https://groq.com/",docUrl:_.BASE_SITE+"docs/services/groq/",link1:"",link2:"",allProps:Sa({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:_.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:_.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:_.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:_.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:_.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:_.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:_.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:_.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:{...rl,name:"OpenRouter",homepage:"https://openrouter.ai/",docUrl:_.BASE_SITE+"docs/services/openrouter/"},caiyun:{name:"Caiyun",homepage:"https://fanyi.caiyunapp.com/",docUrl:_.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":rl,openl:{name:"Openl",homepage:"https://openl.club/",docUrl:_.BASE_SITE+"docs/services/openL/",beta:!0,allProps:[{name:"name",labelKey:"field.name",placeholderKey:"field.namePlaceholder",required:!0,type:"text",direction:"column",providers:["custom"]},...p7,{type:"password",name:"apikey",required:!0,sensitive:!0,direction:"column"}],props:p7},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:_.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:_.BASE_SITE+"docs/services/custom/",docUrl:_.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:mu,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 YG(e,t,n=!1){let r=[];for(let l=0;l<e.length;l++){r[l]=[];for(let u=0;u<t.length;u++)r[l].push({length:0,previous:[-1,-1],character:null})}let i=[[-1,0],[0,-1]];function a(l,u){return l>=0&&l<e.length&&u>=0&&u<t.length}for(let l=0;l<e.length;l++)for(let u=0;u<t.length;u++){let d={length:0,previous:[-1,-1],character:null};for(let g of i){let m=l+g[0],f=u+g[1];if(a(m,f)){let p=r[m][f];p.length>d.length&&(d.length=p.length,d.previous=[m,f])}}(e[l]===t[u]||n&&e[l].toLowerCase()===t[u].toLowerCase())&&(l>0&&u>0&&r[l-1][u-1].length+1>d.length?(d.length=r[l-1][u-1].length+1,d.previous=[l-1,u-1],d.character=t[u]):(l==0||u==0)&&(d.character=t[u],d.length=1,d.previous=[-1,-1])),r[l][u]=d}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 y7(e,t,n=!1){let r=YG(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 Sf(e,t){try{let n=e.replace(/\s+$/,"");if(!n||!t.maxLength)return[];let r=b7(n,t.languageCode),i=$G(n,r),a=nW(t.customAbbreviations),o=rW(i,n,a),s=aW(o);return oW(n,s,t.maxLength,t)}catch(n){return M.debug("splitLongText error",n),[e]}}var ZG=["(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 b7(e,t){return t?JG(t):XG(e)}function JG(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 XG(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 $G(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=eW(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=tW(i);n.push({position:r+1,priority:a,punctuation:i})}}return n}function eW(e){return/[。？！]/.test(e)?3:/[；]/.test(e)?2:(/[，]/.test(e),1)}function tW(e){return/[.?!]/.test(e)?3:/[;]/.test(e)?2:(/[,]/.test(e),1)}function nW(e){let t=[...ZG];return e&&e.forEach(n=>{n.split("|").map(i=>i.trim()).forEach(i=>{t.includes(i)||t.push(i)})}),t}function rW(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!iW(o,n)})}function iW(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 aW(e){return e.sort((t,n)=>t.position!==n.position?t.position-n.position:n.priority-t.priority)}function oW(e,t,n,r){let i=[],a=0,o=[...t];for(;a<e.length;){let s=null;if(r.strictMode===!0){let u=null,d=null;for(let g of o)if(g.priority===3&&g.position>a){let m=g.position-a;if(m<=n)if(!u)u=g;else{let f=Math.abs(m-n),p=Math.abs(u.position-a-n);f<p&&(u=g)}else if(!d)d=g;else{let f=Math.abs(m-n),p=Math.abs(d.position-a-n);f<p&&(d=g)}}s=u||d}else for(let u of o)u.priority===3&&u.position>a&&u.position-a<=n&&(!s||u.position>s.position)&&(s=u);if(!s&&r.strictMode!==!0){for(let u of o)if((u.priority===2||u.priority===1)&&u.position>a){let d=u.position-a;if(!s)s=u;else{let g=Math.abs(d-n),m=Math.abs(s.position-a-n);g<m&&(s=u)}}}if(!s&&r.strictMode!==!0){for(let u of o)if(u.position>a){s=u;break}}if(!s){if(r.strictMode!==!0){let u=b7(e.slice(a),r.languageCode);if(Ca.includes(u.primary)){let g=e.slice(a);if(g.length<=n)i.push(g);else for(let m=0;m<g.length;m+=n){let f=g.slice(m,m+n);f&&i.push(f)}}else{let m=e.slice(a).split(/\s+/),f="";for(let p of m){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 u=e.slice(a);u&&i.push(u)}break}let l=e.slice(a,s.position);l&&i.push(l),a=s.position}return i}var v7=pe+"SyncStoreKey_";function Vt(e,t){let n=v7+e;return Ie.sync.get(n,t)}function Ft(e,t){let n=v7+e;return Ie.sync.set(n,t)}var x7=pe+"StoreKey_";function oi(e,t){let n=x7+e;return Ie.local.get(n,t)}function Jo(e,t){let n=x7+e;return Ie.local.set(n,t)}function wf(e){return Array.isArray(e)?e:e?[e]:[]}function Jt(e,t){return t?(Array.isArray(t)||(t=[t]),Array.from(new Set([...t,e]))):[e]}function Ut(e,t){return t?(Array.isArray(e)||(e=[e]),Array.isArray(t)||(t=[t]),t.filter(n=>!e.includes(n))):[]}function Ef(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 il(e,t){let n={...e};return w7(n,t),sW(n,t),n}function S7(e,t,n){let r={...e};return In({rule:t,valueIsArray:i=>Array.isArray(e[i]),getMergedValue:i=>r[i],onMergedResult:(i,a)=>r[i]=a}),In({rule:n,valueIsArray:i=>Array.isArray(e[i]),getMergedValue:i=>r[i],onMergedResult:(i,a)=>r[i]=a}),r}function sW(e,t){if(!t.condition)return;let n=t.condition.enableSubtitle?.true||{},r=t.condition.enableSubtitle?.false||{},i=e.enableSubtitle?n:r;w7(e,i)}function lW(e){return Object.keys(e).sort((t,n)=>{let[r,i,a]=Af(t),[o,s,l]=Af(n);return r!==o?t.localeCompare(n):a&&l?dt(a,l)?1:-1:a?1:l?-1:t.localeCompare(n)})}function In({rule:e,getMergedValue:t,valueIsArray:n,onMergedResult:r},i){lW(e).forEach(o=>{let[s,l,u]=Af(o);if(s=="rich"){if(!i)return r(o,e[o]);let[f,p,h,x]=Af(o);s=f+"."+p,l=h,u=x}if(!s||e[o]===void 0)return;let d=e[o];n(s)&&(d=wf(e[o]));let g=t(s);if(g==null){r(s,d);return}let m;if(l=="add_v"){if(!C7(u))return;m=ny(g,d)}else if(l=="remove_v"){if(!C7(u))return;m=T7(g,d)}else l==="add"?m=ny(g,d):l=="remove"&&(m=T7(g,d));if(m||l=="remove_v"||l=="remove"){r(s,m);return}Array.isArray(e[s])&&s.startsWith("additional")?m=ny(g,d):m=d,r(s,m)})}function w7(e,t){return In({rule:t,valueIsArray:n=>Array.isArray(e[n]),getMergedValue:n=>e[n],onMergedResult:(n,r)=>{e[n]=r}}),e}function ny(e,t){let n;if(Array.isArray(e)){let r=wf(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 Af(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 C7(e){let t=Kn();return e&&dt(t,e)}function T7(e,t){if(Array.isArray(e)){let n=wf(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 E7=["*://*/*","*","*://*"],k7="immersive-translate-wildcard-placeholder.com";function ry(e,t){try{let n=[];if(!t||(t&&!Array.isArray(t)?n=[t]:n=t,n.length===0))return null;if(n.some(s=>E7.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(l=>{if(!l)return!1;if(l===a)return!0;if(E7.includes(l))return!0;if(!l.includes("*")&&l.includes("://")){try{let u=new URL(l);if(u.pathname==="/"&&!l.endsWith("/")){let d=u.hostname===a,g=u.port===o;return u.port?d&&g:d}else return cW(i,l)}catch{}return!1}else{let u,d=l;if(l.includes("://")){let x=l.split("://");u=x[0],u==="*"&&x.length>1&&(u="*",l="https://"+x[1])}else u="*",l="https://"+l;let g=l.replace(/\*/g,k7),m;try{m=new URL(g)}catch{return M.debug("invalid match pattern",g,"raw match value:",d),!1}let f=m.host,p=m.pathname;p==="/"&&(d.replace("://","").includes("/")||(p="/*"));let h=uW(u+":",A7(f),A7(p));return h?h.test(e):!1}});if(s)return s}return null}catch{return null}}function A7(e){return e.replaceAll(k7,"*")}function uW(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 et(e,t){return ry(e,t)!==null}function cW(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 M7(e,t){return t?t.some(n=>new RegExp(n).test(e)):!1}var kf=["zh-CN","zh-TW","zh-HK","en","ja","ar","de","es","fa","fr","he","hi","hu","it","ru","ko","pt-PT","pt-BR","tr","id"];function ug(e,t){return I7(e,n=>{let r=[],i,a;function o(){i=iy(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=iy(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=iy(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 I7(e,t){let n=!0;e=e.replace(/\((.+?)\)/g,(l,u)=>I7(u,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 l=0;l<i.length;l++){let u=(r[l-1]||" && ").trim();u=="&&"?n=n&&t(i[l]):u=="||"&&(n=n||t(i[l]))}return n}return t(e)}function iy(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 ay(){return navigator.userAgent.indexOf("Mac")!==-1}var dW="";function D7(){return dW||globalThis.navigator.userAgent}function oy(){let e=D7();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 L7={Alt:"\u2325"};function Or(e=""){return ay()?Object.keys(L7).reduce((t,n)=>t.replace(n,L7[n]),e):e}var gW="";function mW(){return gW||globalThis.location.hostname}function P7(){try{if(Ae()&&Se().any)return!1;let e=mW(),t=new URL(_.DASH_SETTING_PROD_URL);if(e===t.hostname||!oy())return!0;let n=/Version\/([\d\.]+)/,r=D7().match(n);return r?!r[1].startsWith("18"):!0}catch(e){return M.error("Error checking if options supported",e),!0}}var q7="5.0.0-alpha.0";function Df(e,t){return new Promise(n=>setTimeout(n,e,t))}function fW(){return new Promise(e=>{let t=new MessageChannel;t.port1.onmessage=()=>e(),t.port2.postMessage(null)})}function pW(e,t=1/0){let{requestIdleCallback:n}=window;return n?new Promise(r=>n.call(window,()=>r(),{timeout:t})):Df(Math.min(e,t))}function K7(e){return!!e&&typeof e.then=="function"}function R7(e,t){try{let n=e();K7(n)?n.then(r=>t(!0,r),r=>t(!1,r)):t(!0,n)}catch(n){t(!1,n)}}async function N7(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 fW())}return r}function cg(e){return e.then(void 0,()=>{}),e}function hW(e,t){for(let n=0,r=e.length;n<r;++n)if(e[n]===t)return!0;return!1}function yW(e,t){return!hW(e,t)}function gy(e){return parseInt(e)}function Xi(e){return parseFloat(e)}function co(e,t){return typeof e=="number"&&isNaN(e)?t:e}function Ur(e){return e.reduce((t,n)=>t+(n?1:0),0)}function Q7(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 bW(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,l=(u,d)=>{o[u]=o[u]||[],o[u].push(d)};for(;;){let u=s.exec(i[2]);if(!u)break;let d=u[0];switch(d[0]){case".":l("class",d.slice(1));break;case"#":l("id",d.slice(1));break;case"[":{let g=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(d);if(g)l(g[1],(n=(t=g[4])!==null&&t!==void 0?t:g[5])!==null&&n!==void 0?n:"");else throw new Error(r);break}default:throw new Error(r)}}return[a,o]}function vW(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 Xo(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,l=t[1]>>>16,u=t[1]&65535,d=0,g=0,m=0,f=0;f+=a+u,m+=f>>>16,f&=65535,m+=i+l,g+=m>>>16,m&=65535,g+=r+s,d+=g>>>16,g&=65535,d+=n+o,d&=65535,e[0]=d<<16|g,e[1]=m<<16|f}function Ii(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,l=t[1]>>>16,u=t[1]&65535,d=0,g=0,m=0,f=0;f+=a*u,m+=f>>>16,f&=65535,m+=i*u,g+=m>>>16,m&=65535,m+=a*l,g+=m>>>16,m&=65535,g+=r*u,d+=g>>>16,g&=65535,g+=i*l,d+=g>>>16,g&=65535,g+=a*s,d+=g>>>16,g&=65535,d+=n*u+r*l+i*s+a*o,d&=65535,e[0]=d<<16|g,e[1]=m<<16|f}function Cu(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 si(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 nn(e,t){e[0]^=t[0],e[1]^=t[1]}var xW=[4283543511,3981806797],CW=[3301882366,444984403];function F7(e){let t=[0,e[0]>>>1];nn(e,t),Ii(e,xW),t[1]=e[0]>>>1,nn(e,t),Ii(e,CW),t[1]=e[0]>>>1,nn(e,t)}var Mf=[2277735313,289559509],If=[1291169091,658871167],B7=[0,5],TW=[0,1390208809],SW=[0,944331445];function wW(e,t){let n=vW(e);t=t||0;let r=[0,n.length],i=r[1]%16,a=r[1]-i,o=[0,t],s=[0,t],l=[0,0],u=[0,0],d;for(d=0;d<a;d=d+16)l[0]=n[d+4]|n[d+5]<<8|n[d+6]<<16|n[d+7]<<24,l[1]=n[d]|n[d+1]<<8|n[d+2]<<16|n[d+3]<<24,u[0]=n[d+12]|n[d+13]<<8|n[d+14]<<16|n[d+15]<<24,u[1]=n[d+8]|n[d+9]<<8|n[d+10]<<16|n[d+11]<<24,Ii(l,Mf),Cu(l,31),Ii(l,If),nn(o,l),Cu(o,27),Xo(o,s),Ii(o,B7),Xo(o,TW),Ii(u,If),Cu(u,33),Ii(u,Mf),nn(s,u),Cu(s,31),Xo(s,o),Ii(s,B7),Xo(s,SW);l[0]=0,l[1]=0,u[0]=0,u[1]=0;let g=[0,0];switch(i){case 15:g[1]=n[d+14],si(g,48),nn(u,g);case 14:g[1]=n[d+13],si(g,40),nn(u,g);case 13:g[1]=n[d+12],si(g,32),nn(u,g);case 12:g[1]=n[d+11],si(g,24),nn(u,g);case 11:g[1]=n[d+10],si(g,16),nn(u,g);case 10:g[1]=n[d+9],si(g,8),nn(u,g);case 9:g[1]=n[d+8],nn(u,g),Ii(u,If),Cu(u,33),Ii(u,Mf),nn(s,u);case 8:g[1]=n[d+7],si(g,56),nn(l,g);case 7:g[1]=n[d+6],si(g,48),nn(l,g);case 6:g[1]=n[d+5],si(g,40),nn(l,g);case 5:g[1]=n[d+4],si(g,32),nn(l,g);case 4:g[1]=n[d+3],si(g,24),nn(l,g);case 3:g[1]=n[d+2],si(g,16),nn(l,g);case 2:g[1]=n[d+1],si(g,8),nn(l,g);case 1:g[1]=n[d],nn(l,g),Ii(l,Mf),Cu(l,31),Ii(l,If),nn(o,l)}return nn(o,r),nn(s,r),Xo(o,s),Xo(s,o),F7(o),F7(s),Xo(o,s),Xo(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 EW(e){var t;return{name:e.name,message:e.message,stack:(t=e.stack)===null||t===void 0?void 0:t.split(`
`),...e}}function AW(e){return/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))}function kW(e){return typeof e!="function"}function MW(e,t){let n=cg(new Promise(r=>{let i=Date.now();R7(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(kW(s))return r(()=>({value:s,duration:o}));r(()=>new Promise(l=>{let u=Date.now();R7(s,(...d)=>{let g=o+Date.now()-u;if(!d[0])return l({error:d[1],duration:g});l({value:d[1],duration:g})})}))})}));return function(){return n.then(i=>i())}}function IW(e,t,n,r){let i=Object.keys(e).filter(o=>yW(n,o)),a=cg(N7(i,o=>MW(e[o],t),r));return async function(){let s=await a,l=await N7(s,g=>cg(g()),r),u=await Promise.all(l),d={};for(let g=0;g<i.length;++g)d[i[g]]=u[g];return d}}function Y7(){let e=window,t=navigator;return Ur(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function LW(){let e=window,t=navigator;return Ur(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!Y7()}function dg(){let e=window,t=navigator;return Ur(["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 $i(){let e=window,t=navigator;return Ur(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,t.vendor.indexOf("Apple")===0,"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function my(){let e=window,{HTMLElement:t,Document:n}=e;return Ur(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),t&&!("autocapitalize"in t.prototype),n&&"pointerLockElement"in n.prototype])>=4}function gg(){let e=window;return AW(e.print)&&String(e.browser)==="[object WebPageNamespace]"}function Z7(){var e,t;let n=window;return Ur(["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 DW(){let e=window;return Ur([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3}function PW(){let e=window,{URLPattern:t}=e;return Ur(["union"in Set.prototype,"Iterator"in e,t&&"hasRegExpGroups"in t.prototype,"RGB8"in WebGLRenderingContext.prototype])>=3}function RW(){let e=window;return Ur(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}function mg(){let e=window,t=navigator,{CSS:n,HTMLButtonElement:r}=e;return Ur([!("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 NW(){if(navigator.platform==="iPad")return!0;let e=screen,t=e.width/e.height;return Ur(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}function FW(){let e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}function BW(){let e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function fy(){let e=dg(),t=Z7(),n=window,r=navigator,i="connection";return e?Ur([!("SharedWorker"in n),r[i]&&"ontypechange"in r[i],!("sinkId"in new Audio)])>=2:t?Ur(["onorientationchange"in n,"orientation"in n,/android/i.test(r.appVersion)])>=2:!1}function OW(){let e=navigator,t=window,n=Audio.prototype,{visualViewport:r}=t;return Ur(["srLatency"in n,"srChannelCount"in n,"devicePosture"in e,r&&"segments"in r,"getTextInformation"in Image.prototype])>=3}function _W(){return zW()?-4:UW()}function UW(){let e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(jW())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,l]=HW(i),u=cg(s.then(d=>VW(d.getChannelData(0).subarray(n)),d=>{if(d.name==="timeout"||d.name==="suspended")return-3;throw d}));return()=>(l(),u)}function jW(){return $i()&&!my()&&!RW()}function zW(){return $i()&&mg()&&gg()||dg()&&OW()&&PW()}function HW(e){let a=()=>{};return[new Promise((s,l)=>{let u=!1,d=0,g=0;e.oncomplete=p=>s(p.renderedBuffer);let m=()=>{setTimeout(()=>l(O7("timeout")),Math.min(500,g+5e3-Date.now()))},f=()=>{try{let p=e.startRendering();switch(K7(p)&&cg(p),e.state){case"running":g=Date.now(),u&&m();break;case"suspended":document.hidden||d++,u&&d>=3?l(O7("suspended")):setTimeout(f,500);break}}catch(p){l(p)}};f(),a=()=>{u||(u=!0,g>0&&m())}}),a]}function VW(e){let t=0;for(let n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}function O7(e){let t=new Error(e);return t.name=e,t}async function J7(e,t,n=50){var r,i,a;let o=document;for(;!o.body;)await Df(n);let s=o.createElement("iframe");try{for(await new Promise((l,u)=>{let d=!1,g=()=>{d=!0,l()},m=h=>{d=!0,u(h)};s.onload=g,s.onerror=m;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,x;d||(((x=(h=s.contentWindow)===null||h===void 0?void 0:h.document)===null||x===void 0?void 0:x.readyState)==="complete"?g():setTimeout(p,10))};p()});!(!((i=(r=s.contentWindow)===null||r===void 0?void 0:r.document)===null||i===void 0)&&i.body);)await Df(n);return await e(s,s.contentWindow)}finally{(a=s.parentNode)===null||a===void 0||a.removeChild(s)}}function GW(e){let[t,n]=bW(e),r=document.createElement(t??"div");for(let i of Object.keys(n)){let a=n[i].join(" ");i==="style"?WW(r.style,a):r.setAttribute(i,a)}return r}function WW(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 qW(){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 KW="mmMwWLliI0O&1",QW="48px",Tu=["monospace","sans-serif","serif"],_7=["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 YW(){return J7(async(e,{document:t})=>{let n=t.body;n.style.fontSize=QW;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=KW,r.appendChild(p),p},s=(f,p)=>o(`'${f}',${p}`),l=()=>Tu.map(o),u=()=>{let f={};for(let p of _7)f[p]=Tu.map(h=>s(p,h));return f},d=f=>Tu.some((p,h)=>f[h].offsetWidth!==i[p]||f[h].offsetHeight!==a[p]),g=l(),m=u();n.appendChild(r);for(let f=0;f<Tu.length;f++)i[Tu[f]]=g[f].offsetWidth,a[Tu[f]]=g[f].offsetHeight;return _7.filter(f=>d(m[f]))})}function ZW(){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 JW(){return XW(aq())}function XW(e){let t=!1,n,r,[i,a]=$W();return eq(i,a)?(t=tq(a),e?n=r="skipped":[n,r]=nq(i,a)):n=r="unsupported",{winding:t,geometry:n,text:r}}function $W(){let e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}function eq(e,t){return!!(t&&e.toDataURL)}function tq(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}function nq(e,t){rq(e,t);let n=sy(e),r=sy(e);return n!==r?["unstable","unstable"]:(iq(e,t),[sy(e),n])}function rq(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 iq(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 sy(e){return e.toDataURL()}function aq(){return $i()&&mg()&&gg()}function oq(){let e=navigator,t=0,n;e.maxTouchPoints!==void 0?t=gy(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 sq(){return navigator.oscpu}function lq(){let e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(n!==void 0&&t.push([n]),Array.isArray(e.languages))dg()&&DW()||t.push(e.languages);else if(typeof e.languages=="string"){let r=e.languages;r&&t.push(r.split(","))}return t}function uq(){return window.screen.colorDepth}function cq(){return co(Xi(navigator.deviceMemory),void 0)}function dq(){if(!($i()&&mg()&&gg()))return gq()}function gq(){let e=screen,t=r=>co(gy(r),null),n=[t(e.width),t(e.height)];return n.sort().reverse(),n}var mq=2500,fq=10,Lf,ly;function pq(){if(ly!==void 0)return;let e=()=>{let t=cy();dy(t)?ly=setTimeout(e,mq):(Lf=t,ly=void 0)};e()}function hq(){return pq(),async()=>{let e=cy();if(dy(e)){if(Lf)return[...Lf];FW()&&(await BW(),e=cy())}return dy(e)||(Lf=e),e}}function yq(){if($i()&&mg()&&gg())return()=>Promise.resolve(void 0);let e=hq();return async()=>{let t=await e(),n=r=>r===null?null:Q7(r,fq);return[n(t[0]),n(t[1]),n(t[2]),n(t[3])]}}function cy(){let e=screen;return[co(Xi(e.availTop),null),co(Xi(e.width)-Xi(e.availWidth)-co(Xi(e.availLeft),0),null),co(Xi(e.height)-Xi(e.availHeight)-co(Xi(e.availTop),0),null),co(Xi(e.availLeft),null)]}function dy(e){for(let t=0;t<4;++t)if(e[t])return!1;return!0}function bq(){return co(gy(navigator.hardwareConcurrency),void 0)}function vq(){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=-xq();return`UTC${n>=0?"+":""}${n}`}function xq(){let e=new Date().getFullYear();return Math.max(Xi(new Date(e,0,1).getTimezoneOffset()),Xi(new Date(e,6,1).getTimezoneOffset()))}function Cq(){try{return!!window.sessionStorage}catch{return!0}}function Tq(){try{return!!window.localStorage}catch{return!0}}function Sq(){if(!(Y7()||LW()))try{return!!window.indexedDB}catch{return!0}}function wq(){return!!window.openDatabase}function Eq(){return navigator.cpuClass}function Aq(){let{platform:e}=navigator;return e==="MacIntel"&&$i()&&!my()?NW()?"iPad":"iPhone":e}function kq(){return navigator.vendor||""}function Mq(){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 Iq(){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 Lq(){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 Dq({debug:e}={}){if(!Pq())return;let t=Lq(),n=Object.keys(t),r=[].concat(...n.map(o=>t[o])),i=await Rq(r);e&&Nq(t,i);let a=n.filter(o=>{let s=t[o];return Ur(s.map(u=>i[u]))>s.length*.6});return a.sort(),a}function Pq(){return $i()||fy()}async function Rq(e){var t;let n=document,r=n.createElement("div"),i=new Array(e.length),a={};U7(r);for(let o=0;o<e.length;++o){let s=GW(e[o]);s.tagName==="DIALOG"&&s.show();let l=n.createElement("div");U7(l),l.appendChild(s),r.appendChild(l),i[o]=s}for(;!n.body;)await Df(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 U7(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function Nq(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 Fq(){for(let e of["rec2020","p3","srgb"])if(matchMedia(`(color-gamut: ${e})`).matches)return e}function Bq(){if(j7("inverted"))return!0;if(j7("none"))return!1}function j7(e){return matchMedia(`(inverted-colors: ${e})`).matches}function Oq(){if(z7("active"))return!0;if(z7("none"))return!1}function z7(e){return matchMedia(`(forced-colors: ${e})`).matches}var _q=100;function Uq(){if(matchMedia("(min-monochrome: 0)").matches){for(let e=0;e<=_q;++e)if(matchMedia(`(max-monochrome: ${e})`).matches)return e;throw new Error("Too high value")}}function jq(){if(Su("no-preference"))return 0;if(Su("high")||Su("more"))return 1;if(Su("low")||Su("less"))return-1;if(Su("forced"))return 10}function Su(e){return matchMedia(`(prefers-contrast: ${e})`).matches}function zq(){if(H7("reduce"))return!0;if(H7("no-preference"))return!1}function H7(e){return matchMedia(`(prefers-reduced-motion: ${e})`).matches}function Hq(){if(V7("reduce"))return!0;if(V7("no-preference"))return!1}function V7(e){return matchMedia(`(prefers-reduced-transparency: ${e})`).matches}function Vq(){if(G7("high"))return!0;if(G7("standard"))return!1}function G7(e){return matchMedia(`(dynamic-range: ${e})`).matches}var jt=Math,_r=()=>0;function Gq(){let e=jt.acos||_r,t=jt.acosh||_r,n=jt.asin||_r,r=jt.asinh||_r,i=jt.atanh||_r,a=jt.atan||_r,o=jt.sin||_r,s=jt.sinh||_r,l=jt.cos||_r,u=jt.cosh||_r,d=jt.tan||_r,g=jt.tanh||_r,m=jt.exp||_r,f=jt.expm1||_r,p=jt.log1p||_r,h=E=>jt.pow(jt.PI,E),x=E=>jt.log(E+jt.sqrt(E*E-1)),y=E=>jt.log(E+jt.sqrt(E*E+1)),b=E=>jt.log((1+E)/(1-E))/2,v=E=>jt.exp(E)-1/jt.exp(E)/2,C=E=>(jt.exp(E)+1/jt.exp(E))/2,S=E=>jt.exp(E)-1,T=E=>(jt.exp(2*E)-1)/(jt.exp(2*E)+1),w=E=>jt.log(1+E);return{acos:e(.12312423423423424),acosh:t(1e308),acoshPf:x(1e154),asin:n(.12312423423423424),asinh:r(1),asinhPf:y(1),atanh:i(.5),atanhPf:b(.5),atan:a(.5),sin:o(-1e300),sinh:s(1),sinhPf:v(1),cos:l(10.000000000123),cosh:u(1),coshPf:C(1),tan:d(-1e300),tanh:g(1),tanhPf:T(1),exp:m(1),expm1:f(1),expm1Pf:S(1),log1p:p(10),log1pPf:w(10),powPI:h(-100)}}var Wq="mmMwWLliI0fiflO&1",uy={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};function qq(){return Kq((e,t)=>{let n={},r={};for(let i of Object.keys(uy)){let[a={},o=Wq]=uy[i],s=e.createElement("span");s.textContent=o,s.style.whiteSpace="nowrap";for(let l of Object.keys(a)){let u=a[l];u!==void 0&&(s.style[l]=u)}n[i]=s,t.append(e.createElement("br"),s)}for(let i of Object.keys(uy))r[i]=n[i].getBoundingClientRect().width;return r})}function Kq(e,t=4e3){return J7((n,r)=>{let i=r.document,a=i.body,o=a.style;o.width=`${t}px`,o.webkitTextSizeAdjust=o.textSizeAdjust="none",dg()?a.style.zoom=`${1/r.devicePixelRatio}`:$i()&&(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 Qq(){return navigator.pdfViewerEnabled}function Yq(){let e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]}function Zq(){let{ApplePaySession:e}=window;if(typeof e?.canMakePayments!="function")return-1;if(Jq())return-3;try{return e.canMakePayments()?1:0}catch(t){return Xq(t)}}var Jq=qW;function Xq(e){if(e instanceof Error&&e.name==="InvalidAccessError"&&/\bfrom\b.*\binsecure\b/i.test(e.message))return-2;throw e}function $q(){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 X7=-1,$7=-2,eK=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]),tK=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),nK=["FRAGMENT_SHADER","VERTEX_SHADER"],rK=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],ew="WEBGL_debug_renderer_info",iK="WEBGL_polygon_mode";function aK({cache:e}){var t,n,r,i,a,o;let s=tw(e);if(!s)return X7;if(!rw(s))return $7;let l=nw()?null:s.getExtension(ew);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:l?(r=s.getParameter(l.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:l?(a=s.getParameter(l.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 oK({cache:e}){let t=tw(e);if(!t)return X7;if(!rw(t))return $7;let n=t.getSupportedExtensions(),r=t.getContextAttributes(),i=[],a=[],o=[],s=[],l=[];if(r)for(let d of Object.keys(r))a.push(`${d}=${r[d]}`);let u=W7(t);for(let d of u){let g=t[d];o.push(`${d}=${g}${eK.has(g)?`=${t.getParameter(g)}`:""}`)}if(n)for(let d of n){if(d===ew&&nw()||d===iK&&uK())continue;let g=t.getExtension(d);if(!g){i.push(d);continue}for(let m of W7(g)){let f=g[m];s.push(`${m}=${f}${tK.has(f)?`=${t.getParameter(f)}`:""}`)}}for(let d of nK)for(let g of rK){let m=sK(t,d,g);l.push(`${d}.${g}=${m.join(",")}`)}return s.sort(),o.sort(),{contextAttributes:a,parameters:o,shaderPrecisions:l,extensions:n,extensionParameters:s,unsupportedExtensions:i}}function tw(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 sK(e,t,n){let r=e.getShaderPrecisionFormat(e[t],e[n]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}function W7(e){return Object.keys(e.__proto__).filter(lK)}function lK(e){return typeof e=="string"&&!e.match(/[^A-Z0-9_x]/)}function nw(){return Z7()}function uK(){return dg()||$i()}function rw(e){return typeof e.getParameter=="function"}function cK(){if(!(fy()||$i()))return-2;if(!window.AudioContext)return-1;let t=new AudioContext().baseLatency;return t==null?-1:isFinite(t)?t:-3}function dK(){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 gK={fonts:YW,domBlockers:Dq,fontPreferences:qq,audio:_W,screenFrame:yq,canvas:JW,osCpu:sq,languages:lq,colorDepth:uq,deviceMemory:cq,screenResolution:dq,hardwareConcurrency:bq,timezone:vq,sessionStorage:Cq,localStorage:Tq,indexedDB:Sq,openDatabase:wq,cpuClass:Eq,platform:Aq,plugins:ZW,touchSupport:oq,vendor:kq,vendorFlavors:Mq,cookiesEnabled:Iq,colorGamut:Fq,invertedColors:Bq,forcedColors:Oq,monochrome:Uq,contrast:jq,reducedMotion:zq,reducedTransparency:Hq,hdr:Vq,math:Gq,pdfViewerEnabled:Qq,architecture:Yq,applePay:Zq,privateClickMeasurement:$q,audioBaseLatency:cK,dateTimeLocale:dK,webGlBasics:aK,webGlExtensions:oK};function mK(e){return IW(gK,e,[])}var fK="$ if upgrade to Pro: https://fpjs.dev/pro";function pK(e){let t=hK(e),n=yK(t);return{score:t,comment:fK.replace(/\$/g,`${n}`)}}function hK(e){if(fy())return .4;if($i())return my()&&!(mg()&&gg())?.5:.3;let t="value"in e.platform?e.platform.value:"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}function yK(e){return Q7(.99+.01*e,1e-4)}function bK(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 vK(e){return JSON.stringify(e,(t,n)=>n instanceof Error?EW(n):n,2)}function iw(e){return wW(bK(e))}function xK(e){let t,n=pK(e);return{get visitorId(){return t===void 0&&(t=iw(this.components)),t},set visitorId(r){t=r},confidence:n,components:e,version:q7}}function CK(e=50){return pW(e,e*2)}function TK(e,t){let n=Date.now();return{async get(r){let i=Date.now(),a=await e(),o=xK(a);return t||r?.debug,o}}}function SK(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{let e=new XMLHttpRequest;e.open("get",`https://m1.openfpcdn.io/fingerprintjs/v${q7}/npm-monitoring`,!0),e.send()}catch{}}async function wK(e={}){var t;(!((t=e.monitoring)!==null&&t!==void 0)||t)&&SK();let{delayFallback:n,debug:r}=e;await CK(n);let i=mK({cache:{},debug:r});return TK(i,r)}var aw={load:wK,hashComponents:iw,componentsToDebugString:vK};async function $o(){let e=await Vt("fakeUserId","");e||(e=await oi("fakeUserId",""),e&&await Ft("fakeUserId",e));let t=new Date,n=await Vt("installedAt","");return n||(n=await oi("installedAt",""),n&&await Ft("installedAt",n)),e?n||(n=new Date(0).toISOString(),await Ft("installedAt",n)):(e=await AK(64),await Ft("fakeUserId",e)),n||(n=t.toISOString(),await Ft("installedAt",n)),{fakeUserId:e,installedAt:n}}var EK=10;async function wa(){let e=await Vt("userTag","");if(e)return e;let{fakeUserId:t}=await $o(),r=t.charCodeAt(0)%EK;return e=String.fromCharCode(r+"a".charCodeAt(0)),await Ft("userTag",e),e}function go(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 AK(e){try{let n=await(await aw.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(u=>u.toString(16).padStart(2,"0")).join("").substring(0,e)):kK(a,e)}catch{return go(64)}}function kK(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 Pf(){return await Vt("abGroup","")}async function ow(e){return await Ft("abGroup",e),e}async function sw(e){return await Ft("campaign",e),e}async function wu(){return await Vt("campaign","")}var py={};async function lw(){try{let e=Ne.runtime.getURL("locales.json");py=await(await fetch(e)).json(),fg||(fg=(await Nf()).interfaceLanguage)}catch{}}var fg;function uw(e){return e&&(fg=e),py[fg]||py.en}async function Rf(e){fg=e}var MK="margin: 8px 0; padding-left: 22px; line-height: 1.6;",IK="margin: 4px 0;",LK="<br />",DK="color: var(--primary, #ec4c8c); font-weight: 600;";function Eu(e,t){return t?` ${e}="${t}"`:""}function PK(e){return e.replaceAll("&","&amp;").replaceAll("<","&lt;").replaceAll(">","&gt;").replaceAll('"',"&quot;").replaceAll("'","&#39;")}function Ff(e,t){let{highlightClassName:n,highlightStyle:r}=t,i="",a=0,o=s=>{s>a&&(i+=PK(e.slice(a,s)),a=s)};for(;a<e.length;){if(e.startsWith("**",a)){let g=e.indexOf("**",a+2);if(g!==-1){let m=e.slice(a+2,g);i+=`<strong>${Ff(m,t)}</strong>`,a=g+2;continue}}if(e.startsWith("==",a)){let g=e.indexOf("==",a+2);if(g!==-1){let m=e.slice(a+2,g),f=Eu("class",n),p=Eu("style",r);i+=`<span${f}${p}>${Ff(m,t)}</span>`,a=g+2;continue}}let s=e.indexOf("**",a),l=e.indexOf("==",a),u=[s,l].filter(g=>g!==-1),d=u.length?Math.min(...u):e.length;o(d)}return i}function cw(e,t){if(!e)return"";let{listClassName:n,listItemClassName:r,listStyle:i=MK,listItemStyle:a=IK,lineBreakTag:o=LK,highlightClassName:s,highlightStyle:l=DK}=t||{},u=e.split(/\r?\n/),d=[],g=!1,m=!1,f=0,p=!1,h=()=>{let y=Eu("class",n),b=Eu("style",i);d.push(`<ul${y}${b}>`),g=!0,f=0,p=m},x=()=>{g&&(d.push("</ul>"),g=!1)};return u.forEach((y,b)=>{let v=y.match(/^\s*-\s+(.*)$/);if(v){let T=Ff(v[1]??"",{highlightClassName:s,highlightStyle:l});g||h();let w=Eu("class",r),E=Eu("style",a),k=f===0&&p?`<strong>${T}</strong>`:T;d.push(`<li${w}${E}>${k}</li>`),f+=1;return}x();let C=Ff(y,{highlightClassName:s,highlightStyle:l});d.push(C),C.trim()&&(m=!0),b===u.length-1||d.push(o)}),x(),d.join("")}function RK(e,t){let n=e;return t&&Object.keys(t).forEach(r=>{let i=t[r];if(i===void 0)return;let a=FK(r);if(typeof i=="object"||a){let o=i;a&&typeof o=="string"&&(o={tag:"a",href:o,target:"_blank",class:z+"-link"});let s=`<${r}>`,l=n.indexOf(s);if(l!==-1){let u=o.tag||"a",d=n.indexOf(`</${r}>`);if(d!==-1){let g=n.substring(l+s.length,d),m=Object.keys(o).filter(f=>f!=="tag").map(f=>`${f}="${o[f]}"`).join(" ");n=n.replace(`${s}${g}</${r}>`,`<${u} ${m}>${g}</${u}>`)}}}else if(i){let o=new RegExp("{"+r+"}","gm");n=n.replace(o,i.toString())}}),n}function NK(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 dw(e,t){let n=uw(),r=NK(n,e);return RK(r,t)}function FK(e){if(typeof e=="number")return!0;if(e){let t=parseInt(e);return!isNaN(t)}else return!1}function de(e,t,{markdown:n}={}){return n?cw(dw(e,t)):dw(e,t)}function gw(e){let t=mt().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 mw;async function fw(){let e=Ne.runtime.getURL("default_config.json");mw=await(await fetch(e)).json()}function rn(){let e={...mw,buildinConfigUpdatedAt:Rt.BUILD_TIME},t={...e,targetLanguage:ba,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 gw(t),t}function Bf(e,t,n){if(!t||!e||Object.keys(e).length===0)return e;let i=(n||rn()).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 l=e.translationServices?.[s];if(!l)return;let u=l?.provider==="custom";if(l={...l},delete l.provider,l.type==="custom-ai"){e.translationServices[s]={...l,group:"custom"};return}let d=_n[s];if(!d)return;let g=d.allProps?.filter(b=>b.sensitive===!0).map(b=>b.name)||[],m=o.includes(s),f=!0;if(m&&!e.translationServices[`${s}-free`]){let b=JSON.parse(JSON.stringify(l));g.forEach(v=>{delete b[v]}),delete b.name,b.model&&(f=i[s]?.freeModels?.includes(b.model)),!f&&b.model&&delete b.model,Object.keys(b).length>0&&(e.translationServices[`${s}-free`]={...b,migrateFrom:s})}let p=a.includes(s);if(p&&!e.translationServices[`${s}-pro`]){let b=JSON.parse(JSON.stringify(l));g.forEach(v=>{delete b[v]}),delete b.name,Object.keys(b).length>0&&(e.translationServices[`${s}-pro`]={...b,migrateFrom:s})}let h=g.some(b=>l[b]),x=!p&&!(m&&f)||h||u,y=e.translationServices[`${s}-custom`];x&&!y?.extends&&s!=="ai"&&(e.translationServices[`${s}-custom`]={...l,migrateFrom:s,extends:s,visible:!0,group:"custom",type:s})}),e}function pw(e,t){e.userTranslationServices={...e.userTranslationServices};for(let n of cf){let r=e[n];if(t){if(r&&!e.userTranslationServices[n]){let i=BK(r,e);i&&(e.userTranslationServices[n]=i)}}else e.userTranslationServices[n]=r}for(let n of cf){let r=e.userTranslationServices[n];r&&jK(r)?e.userTranslationServices[n]=W2:r==="qwen-mt-pro"&&zK(e,r)&&(e.userTranslationServices[n]="qwen-pro")}for(let n of cf){let r=e.userTranslationServices[n];r&&(e[n]=r)}return e}function BK(e,t){if(e==="inherit"||e.startsWith("mock")||e==="zhipu-pro")return e;let n=t.translationServices;if(t.translationServices?.[e]?.group)return e;let r=t.translationServices?.[e];return!r||r.type==="custom-ai"?e:OK(e,t)==="pro"&&n[`${e}-pro`]?`${e}-pro`:UK(e,t)&&n[`${e}-free`]?`${e}-free`:n[`${e}-custom`]?`${e}-custom`:n[`${e}-free`]?`${e}-free`:n[`${e}-pro`]?`${e}-pro`:W2}function OK(e,t){let n=t.translationServices?.[e];return n?.provider?n?.provider:"custom"}function _K(e,t){return Object.values(t.translationServices||{}).filter(r=>r?.group==="free").map(r=>r?.type).includes(e)}function UK(e,t){if(!_K(e,t))return!1;let r=t.translationServices?.[e];return r.model?r?.freeModels?.includes(r.model):!0}function hw(e,t){return al(e,[t])[0]||t}function al(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 es(e,t,n){let{config:r}=e,i=r.defaultTranslationServicesOrder;return al(r,t).filter(o=>{let s=r.translationServices?.[o];return s?.visible==!1||n?.filterHiddenFreeModel&&sg(r,o)?!1:i?.length&&s?.visible==null?i.includes(o):!0})}function qt(e,t){let n=e.translationServices?.[t],r=de.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 ts(e,t){let n=e.translationServices?.[t];return n?.group==="pro"||n?.group==="max"}function Of(e,t){return e.translationServices?.[t]?.group==="pro"}function _f(e,t){return e.translationServices?.[t]?.group==="max"}function dr(e){return e.prompt?.trim().length>0}function Uf(e){return dr(e)||e.withTerms}function hy(e,t){return e.translationServices?.[t]?.group}function jf(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 zf={max:"Max",pro:"Pro"};function jK(e){return G2.includes(e)}function zK(e,t){let n=e.translationServices?.[t];return n?n.isDeleted:!0}function yw(e){return G2.forEach(t=>{let n=e.translationServices?.[t];n&&(n.isDeleted=!0)}),e}function Hf(){return Ue()?YS:V2}async function Yn(e,t){let n=t||await Ln(),r=await Ie.sync.get(e);return{userValue:n?.[e],localValue:r}}async function jr(e,t){let n=await Ln();Ea({...n,[e]:t}),Ie.sync.set(e,t)}function bw(e,t){let n=e.translationServices;if(!n)return;let r=t.translationServices||{},i=new Set(JS);Object.entries(n).forEach(([a,o])=>{if(!o||typeof o!="object")return;let s=r[a];s&&s.group!=="custom"&&i.forEach(l=>{l in o&&delete o[l]})})}var M1e=xw(2),vw=xw(3);function xw(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 HK=/\s+/g,VK=/[\t\n\v\f\r ]+/g;function Cw(e,t){t?typeof t=="string"&&(t={style:t}):t={};let n=t.preserveLineEndings?GK:WK;return String(e).replace(t.style==="html"?VK:HK,t.trim?qK(n):n)}function GK(e){let t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function WK(){return" "}function qK(e){return t;function t(n,r,i){return r===0||r+n.length===i.length?"":e(n)}}var Tw={}.hasOwnProperty;function KK(e){return e==null?"":Cw(String(e).replace(/[\u0021-\u0040]+/g," ")).trim().toLowerCase()}function QK(e){return vw(" "+KK(e)+" ")}function YK(e){let t=QK(e),n={},r=-1;for(;++r<t.length;)Tw.call(n,t[r])?n[t[r]]++:n[t[r]]=1;return n}function Sw(e){let t=YK(e),n=[],r;for(r in t)Tw.call(t,r)&&n.push([r,t[r]]);return n.sort(ZK),n}function ZK(e,t){return e[1]-t[1]}var JK={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},yy={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"}},XK=2048,$K=10,ww=300,Vf={}.hasOwnProperty,pg,Gf={};for(pg in yy)if(Vf.call(yy,pg)){let e=yy[pg],t;Gf[pg]={};for(t in e)if(Vf.call(e,t)){let n=e[t].split("|"),r={},i=n.length;for(;i--;)r[n[i]]=i;Gf[pg][t]=r}}function Ew(e,t={}){let n=[...t.whitelist||[],...t.only||[]],r=[...t.blacklist||[],...t.ignore||[]],i=t.minLength!==null&&t.minLength!==void 0?t.minLength:$K;if(!e||e.length<i)return by();e=e.slice(0,XK);let a=tQ(e,JK);return!a[0]||!(a[0]in Gf)?!a[0]||a[1]===0||!Aw(a[0],n,r)?by():kw(a[0]):eQ(e,rQ(Sw(e),Gf[a[0]],n,r))}function eQ(e,t){let n=t[0][1],r=e.length*ww-n,i=-1;for(;++i<t.length;)t[i][1]=1-(t[i][1]-n)/r||0;return t}function tQ(e,t){let n=-1,r,i;for(i in t)if(Vf.call(t,i)){let a=nQ(e,t[i]);a>n&&(n=a,r=i)}return[r,n]}function nQ(e,t){let n=e.match(t);return(n?n.length:0)/e.length||0}function rQ(e,t,n,r){t=aQ(t,n,r);let i=[],a;if(t)for(a in t)Vf.call(t,a)&&i.push([a,iQ(e,t[a])]);return i.length===0?by():i.sort(oQ)}function iQ(e,t){let n=0,r=-1;for(;++r<e.length;){let i=e[r],a=ww;i[0]in t&&(a=i[1]-t[i[0]]-1,a<0&&(a=-a)),n+=a}return n}function aQ(e,t,n){if(t.length===0&&n.length===0)return e;let r={},i;for(i in e)Aw(i,t,n)&&(r[i]=e[i]);return r}function Aw(e,t,n){return t.length===0&&n.length===0?!0:(t.length===0||t.includes(e))&&!n.includes(e)}function by(){return kw("und")}function kw(e){return[[e,1]]}function oQ(e,t){return e[1]-t[1]}var sQ=[["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"]],Mw=new Map(sQ);function Iw(e,t){if(!e)return"auto";try{!t&&t!==0&&(t=25);let n={minLength:t,whitelist:[...Mw.keys()]},r=Ew(e,n);return r?.[0]?.[0]&&Mw.get(r[0][0])||"auto"}catch(n){M.error(n)}return"auto"}function Wf(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"),l=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",l)}function Lw(e){return new Date(e).getTime()}function He(e,t){let n=t;e=="showErrorModal"&&typeof t=="object"&&(n=JSON.stringify(t)),be({type:"content",name:"dialog",topFrame:!0},{method:e,data:n})}var vy=!1;function qf(){return vy}function Dw(e){vy=e}async function Kf(e){await lQ(e);let t=await uQ(e);Dw(t)}async function lQ(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 Nw()===t&&!i&&n){await Pw();return}if(i){await Rw(i);return}}catch{}}async function uQ(e){if(vy)return!0;try{let t=e.rule?.privacyProtocolVersion,n=e.rule?.privacyProtocolEnableTime,r=await Vt("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 Nw();return o?!dt(o,t):!0}catch{return!1}}async function Pw(){if(!await le.getUserToken())return;await Tt.post("agreements/consent",{agreementName:"privacy"});let t=await Tt.get("v1/user");le.saveUserInfo(t)}async function Rw(e){e&&await jr("protocolAgreeVersion",e)}async function Nw(){let{userValue:e,localValue:t}=await Yn("protocolAgreeVersion");return e||t}async function Au(e,t=!0){try{Dw(!1);let n=e.rule?.privacyProtocolVersion??"0";await Rw(n),t&&document.dispatchEvent(new CustomEvent(qo,{detail:JSON.stringify({type:"translatePage"})})),await Pw()}catch{}}function Fw(){if(qf())throw new J("notAgreeProtocol","Please agree to the user agreement.")}function Bw(){qf()&&He("showErrorModal",{title:de("agreeProtocol"),errMsg:de("error.agreeProtocolContent",{termsUrl:_.TERMS_URL_BY_PRIVACY_MODAL,privacyUrl:_.PRIVACY_URL_BY_PRIVACY_MODAL}),action:"agreeProtocol",type:"error"})}var J=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=de.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=qt(t.config,this.serviceId),this.serviceGroup=hy(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"?de.bind(null)("error.failToFetch"):this.errorMessage:`${this.errorCode}: ${this.errorMessage}`:this.errorMessage}createServiceUnavailableConfig(t,n,r="network"){let i=de.bind(null);return{type:r,title:`[${this.serviceName}] `+i("networkError"),errMsg:i("error.serveUnavailable",{serverName:this.serviceName,1:_.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=de.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=de.bind(null);return this.errorMessage?.includes("IMT_ENCRYPT_ERROR")?{type:"configError",title:n("secretKey.errorTitle"),errMsg:n("secretKey.errorMsg",{1:_.DASH_BASE_URL+"#import_export"}),action:"none",immediateShow:!0}:null}handleNetwork(t){let n=de.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=de.bind(null);if(!ts(t.config,this.serviceId))return null;let r=hy(t.config,this.serviceId),i=jf(t,r),a=zf[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(!qf())return null;let n=de.bind(null);return{type:"notAgreeProtocol",title:n("agreeProtocol"),errMsg:n("error.agreeProtocolContent",{termsUrl:_.TERMS_URL_BY_PRIVACY_MODAL,privacyUrl:_.PRIVACY_URL_BY_PRIVACY_MODAL}),action:"agreeProtocol",immediateShow:!0}}handleMangaError(t){if(this.name!="manga")return null;let n=de.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:_.MANGA_QUOTA_URL})];i&&a.push(n("proQuotaError.trail",{1:_.GO_UPGRADE_FROM_TRIAL})),Ow(this.userInfo,a,n);let o=n("errorReason",{message:`
        ${n("mangaQuotaError.solvedTitle")}<br/></br>
        ${a.map((s,l)=>`${l+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=de.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=de.bind(null),i=this.userInfo.subscription,{isTrial:a,memberShip:o}=i,s="",l=[],u="";u=_.QUOTA_URL;let d=/Max translation quota/ig.test(n);d&&(u=_.QUOTA_URL+"&type=top_model",s=r("error.maxQuotaError"));let g=o=="pro"&&d;g&&l.push(r("translationServices.upgradeMaxUser",{1:_.GO_UPGRADE_FOR_MAX+"error_modal"})),l.push(r("proQuotaError.newPackage",{1:u})),a&&!g&&l.push(r("proQuotaError.trail",{1:_.GO_UPGRADE_FROM_TRIAL})),!a&&!g&&Ow(this.userInfo,l,r);let m=n+`${r("proQuotaError.solvedTitle")}
    <br/><br/>
    ${l.map((f,p)=>`${p+1}. ${f}`).join("<br/>")}`;return{title:s,errMsg:r("errorReason",{message:m})}}handleServiceDiscontinued(t){let n=de.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(!Ue())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 Ow(e,t,n){if(!e||!e?.subscription)return;let r=e?.subscription,{isTrial:i,openAITokenUsedCountResetTime:a,subscriptionTo:o}=r;!i&&(r.cancelAtPeriodEnd==="false"||Lw(o)>a)&&t.push(n("proQuotaError.resetTime",{resetTime:Wf(a,"YYYY-MM-DD HH:mm:ss")}))}var Zf=20,xy=1e3,zw=["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"],cQ=[...zw,"Extension context invalid","context invalidated"],dQ="__messagerBacklogControl",Mu=new Map,hg=new Set,Cy=new Map,Qf,Ty=0,Sy=0;function gQ(){return!kt()}function mQ(e,t){if(!t)return e;let n=e.__imtMeta;return n?.targetTopFrame?e:{...e,__imtMeta:{...n,targetTopFrame:!0}}}function ku(){let e=Ne?.runtime;return typeof e?.sendMessage=="function"&&typeof e?.onMessage?.addListener=="function"}function _w(){return typeof Ne?.tabs?.sendMessage=="function"}function fQ(){return typeof Ne?.tabs?.query=="function"}var Iu=class e{fromType;hub;endpoints;backlogQueues;backlogTargets;backlogConfigs;backlogFlushingTargets;static controlChannelInstalled=!1;static instances=new Set;static hubInstances=Mu;static runtimeListenerTypes=hg;constructor(t,n=!1){this.fromType=t,this.hub=Uw(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(),yQ(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,l,u)=>this.sendFrom(t,s,l,u),dispose:()=>{a.dispose(),this.endpoints.delete(t)}};if(this.endpoints.set(t,o),r?.replayOfflineMessages){let s=Yf(this.fromType,t);this.broadcastBacklogReady(s,t)}return o}async sendFrom(t,n,r,i){let a=Jf(n),{id:o}=a,s=Yf(this.fromType,t),l=this.buildOutboundKey(t,a),u=i?.backlog??!1,d=i?.targetTopFrame??!1,g=mQ(r,d),m={maxQueue:i?.backlogSize??Zf,retryIntervalMs:i?.retryIntervalMs??xy};u&&this.backlogConfigs.set(l,m);let f={to:n,from:s,payload:g},{method:p,data:h}=g||{};try{let x=await this.dispatchMessage(a,f,o,d,i?.frameId);if(!x)throw new J("NoResponse","No response from target");return this.triggerOfflineFlushIfNeeded(l),jw(f,x)}catch(x){if(u&&this.isNoReceiverError(x))return await this.enqueueBacklogMessage(l,f,a,o,m,d);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 x}}buildOutboundKey(t,n){return`${this.fromType}:${t}->${Yf(n.type,n.name)}`}async dispatchMessage(t,n,r,i=!1,a){if(!ku())return await this.dispatchLocally(t,n);if(t.type==="content"){if(i&&!t.id&&!r&&this.fromType==="content"&&gQ())return await this.dispatchLocally(t,n);if(!_w()||Ae())return await this.dispatchLocally(t,n);if(!t.id&&!r)throw new J("InvalidTarget","content_script target needs tabId");let s=i?{frameId:0}:void 0;return a!=null&&(s={frameId:a}),await Ne.tabs.sendMessage(t.id??r,n,s)}return Mu.get(t.type)?.hasSubscribers(t.name)?await this.dispatchLocally(t,n):await Ne.runtime.sendMessage(n)}async dispatchLocally(t,n){let r=Uw(t.type),i=Jf(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 l=s instanceof J?s:new J(s?.name??"UnknownError",s?.message??"Unknown error");return{ok:!1,errorName:l.name,errorMessage:l.message}}}isNoReceiverError(t){let n=Hw(t);return n?zw.some(r=>n.includes(r)):!1}async enqueueBacklogMessage(t,n,r,i,a,o=!1,s){let l=a??this.backlogConfigs.get(t)??{maxQueue:Zf,retryIntervalMs:xy};this.backlogConfigs.set(t,l);let u=this.backlogQueues.get(t)??[];this.backlogQueues.set(t,u);let d=Yf(r.type,r.name);return this.backlogTargets.set(t,d),await new Promise((g,m)=>{u.length>=l.maxQueue&&(u.shift()?.reject(new J("OfflineReplayQueueOverflow",`Offline queue overflow for target ${t}`)),M.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:g,reject:m,targetTopFrame:o,frameId:s};u.push(f),M.debug(`[message] \u79BB\u7EBF\u6D88\u606F [${n.payload.method}] \u5DF2\u52A0\u5165 ${t} \u961F\u5217\uFF0C\u5F53\u524D\u957F\u5EA6 ${u.length}`)})}triggerOfflineFlushIfNeeded(t){this.backlogQueues.get(t)?.length&&this.flushOfflineQueue(t)}static ensureBacklogControlChannel(){if(e.controlChannelInstalled||(e.controlChannelInstalled=!0,!ku()))return;let t=n=>{vQ(n)&&(M.debug(`[message] \u6536\u5230 backlog \u5E7F\u64AD\uFF0Cchannel=${n.channelKey}\uFF0Cfrom=${n.sourceType}:${n.sourceName}`),e.instances.forEach(r=>{r.handleBacklogReadyBroadcast(n.channelKey)}))};Qf=t,Ne.runtime.onMessage.addListener(t)}broadcastBacklogReady(t,n){let r={__messagerBacklogControl:!0,action:"announce_ready",channelKey:t,sourceType:this.fromType,sourceName:n};M.debug(`[message] ${t} \u58F0\u660E backlog ready\uFF0C\u6B63\u5728\u5E7F\u64AD`),e.instances.forEach(i=>{i.handleBacklogReadyBroadcast(t)}),ku()&&(Ne.runtime.sendMessage(r).catch(i=>{M.debug("[message] backlog ready \u5E7F\u64AD\u5931\u8D25",i)}),this.broadcastToActiveTabs(r))}async broadcastToActiveTabs(t){if(!(!fQ()||!_w()))try{let n=Ne.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;M.debug(`[message] backlog ready \u53D1\u9001\u5230 tab:${i.id} \u5931\u8D25`,a)}}))}catch(n){M.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=>{M.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)){M.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=jw(r.message,i);r.resolve(a),n.shift(),M.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)){M.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),M.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,Qf&&ku()&&Ne.runtime.onMessage.removeListener(Qf),Qf=void 0,ku()&&Cy.forEach((t,n)=>{Ne.runtime.onMessage.removeListener(t),hg.delete(n)}),Cy.clear(),hg.clear(),Mu.clear(),Ty=0,Sy=0}},wy=class{type;channels;constructor(t){this.type=t,this.channels=new Map}subscribe(t,n,r){let i=this.getOrCreateChannel(t),a={id:CQ(),handler:n,options:hQ(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:xQ(),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 Ey(`${this.type}:${t}`)),this.channels.get(t)}},Ey=class{id;subscribers;backlog;backlogLimit;flushing;constructor(t){this.id=t,this.subscribers=new Map,this.backlog=[],this.backlogLimit=Zf,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 M.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 J("NoReceiver",`Channel ${this.id} has no available subscribers`);return{result:new Promise((o,s)=>{setTimeout(()=>{s(a)},500)})}}let i=r.map(a=>pQ(a,t));return i.slice(1).forEach(a=>{a.catch(o=>{M.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();M.warn(`[message] ${this.id} \u7684 backlog \u5DF2\u6EE1\uFF0C\u4E22\u5F03 envelope ${n?.id}`)}this.backlog.push(t),M.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){M.debug(`[message] ${this.id} \u7684 backlog \u6295\u9012\u5931\u8D25\uFF0C\u6D88\u606F ${t.id}`,r)}}}finally{this.flushing=!1}}}};function pQ(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 hQ(e){return{sync:e?.sync??!1,replayOfflineMessages:e?.replayOfflineMessages??!1,backlogSize:e?.backlogSize??Zf,retryIntervalMs:e?.retryIntervalMs??xy,confirm:e?.confirm??e?.acknowledgement??"auto",filter:e?.filter}}function Uw(e){return Mu.has(e)||Mu.set(e,new wy(e)),Mu.get(e)}function yQ(e,t){if(hg.has(e)||!ku())return;hg.add(e);let n=(r,i,a)=>{if(!bQ(r))return;let o=r.from,s=r.to,l,u,d;i.tab&&i.tab.id&&(l=i.tab.id,o=`${o}:${l}`,u=i.tab.url,d=i.tab.active);let g=Jf(s);if(g.type!==e)return;let{method:m,data:f}=r.payload||{},p=Jf(o),h={type:p.type,name:p.name,id:l,url:u,active:d,frameId:i.frameId};return t.routeMessage(g.name,r.payload,h).result.then(y=>{a({ok:!0,data:y})}).catch(y=>{let b=y instanceof J?y:new J(y?.name??"UnknownError",y?.message??"Unknown error"),v=b,C=v.details??b.message,S=v.errorCode??v.status;a({ok:!1,errorName:b.name,errorMessage:b.message,errorDetails:C,errorStatus:S})}),!0};Cy.set(e,n),Ne.runtime.onMessage.addListener(n)}function bQ(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 vQ(e){if(!e||typeof e!="object")return!1;let t=e;return t[dQ]===!0&&t.action==="announce_ready"&&typeof t.channelKey=="string"}function jw(e,t){if(t)if(t.ok){if(t.data){let{method:n,data:r}=e.payload||{}}return t.data}else throw new J(t.errorName||"UnknownError",t.errorMessage||"Unknown error").initNetWork(t.errorStatus);else throw new J("noResponse","Unknown error")}function Yf(e,t){return`${e}:${t}`}function Jf(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 Hw(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 Xf(e){let t=Hw(e);return t?cQ.some(n=>t.includes(n)):!1}function xQ(){return Ty+=1,`${Date.now()}-${Ty}`}function CQ(){return Sy+=1,`sub-${Sy}`}var TQ=new Set(["login.dingtalk.com","open.weixin.qq.com"]);function $f(){if(typeof location>"u")return!1;let e=location.hostname;if(!e)return!1;for(let t of TQ)if(e===t||e.endsWith(`.${t}`))return!0;return!1}function ns(e){return e!=null}var Vw={capture:!0},Ay=null;function ky(e){Ay=e}function My(e,t){return Ay?Ay(t):(e.addEventListener("message",t,Vw),()=>e.removeEventListener("message",t,Vw))}function qw(e,t,n){return`${e.type}#${t}#${n}`}function Kw(e,t,n,r,i){return{body:i,id:r,type:qw(e,t,n)}}function SQ(e,t,n,r){return{id:n,response:r,type:qw(e,"ask",t)}}function Qw(e,t,n,r){if(ns(r)){let i=r.type;if(ns(i)&&ns(r.body)){let[a,o,s]=i.split("#");return a===e.type&&o===t&&s===n}else return!1}else return!1}function wQ(e,t,n){if(ns(n)){let r=n.type;if(ns(r)&&ns(n.response)){let[i,a,o]=r.split("#");return i===e.type&&a==="ask"&&o===t}else return!1}else return!1}function EQ(e){e.forEach(([t,n,r])=>r()),e.length=0}function AQ(e,t,n,r){return new Promise(i=>{let a=null;a=My(e,s=>{let l=s.data;wQ(t,n,l)&&l.id===r&&(a&&a(),i(l.response))})})}function kQ(e,t,n,r){let i=o=>{let s=o.data;Qw(t,"tell",n,s)&&r(s.body)},a=My(e,i);return[e,i,a]}function Gw(e,t,n,r,i,a){let o=async l=>{let u=l.data;if(Qw(n,"ask",r,u)){let d=await a(u.body,{source:l.source??null,origin:l.origin});t=l.source,t.postMessage(SQ(n,r,u.id,d),l.origin)}},s=My(e,o);return[e,o,s]}function MQ(e,t,n,r,i){let a=Math.random().toString();return e.postMessage(Kw(t,"tell",n,a,r),i)}async function Ww(e,t,n,r,i,a,o){let s=Math.random().toString(),l=new Promise(async(u,d)=>{let g=setTimeout(()=>d(new Error(`Failed to get response within ${o}ms`)),o),m=await AQ(e,n,r,s);clearTimeout(g),u(m)});return t.postMessage(Kw(n,"ask",r,s,i),a),l}var mo=class e{constructor(t,n,r=window,i="*"){this.protocol=t;this.targetWindow=n;this.thisWindow=r;this.targetOrigin=i;this.listeners.push(Gw(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(ns(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 Ww(this.thisWindow,this.targetWindow,this.getSystemProtocol("ping"),"ping",{data:{},payload:{}},this.targetOrigin,t)}handleTell(t,n){this.listeners.push(kQ(this.thisWindow,this.protocol,t,n))}tell(t,n){MQ(this.targetWindow,this.protocol,t,n,this.targetOrigin)}handleAsk(t,n){this.listeners.push(Gw(this.thisWindow,this.targetWindow,this.protocol,t,this.targetOrigin,n))}ask(t,n,r=1e4){if(this.targetWindow)return Ww(this.thisWindow,this.targetWindow,this.protocol,t,n,this.targetOrigin,r);throw new Error("target window is requried")}destroy(){EQ(this.listeners)}};async function IQ(e){await new Promise(t=>setTimeout(t,e))}async function LQ(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 IQ(n)}throw new Error("Failed to establish Protoframe connection within timeout")}mo.connect=LQ;var DQ=[500,1e3,2e3,4e3,5e3],PQ={to:"background:main",from:"content:health",payload:{method:"ping"}};function RQ(){return typeof Ne?.runtime?.sendMessage=="function"}function NQ(e){return new Promise(t=>setTimeout(t,e))}var Ly=class{state="healthy";reconnectingPromise=null;constructor(){this.installVisibilityProbe()}async sendWithHealth(t){try{return await t()}catch(n){if(!Xf(n))throw n;M.warn("[message-health] \u53D1\u9001\u5931\u8D25\uFF0C\u5F00\u59CB\u91CD\u8FDE",n),await this.ensureHealthy();try{return await t()}catch(r){throw Xf(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 DQ){if(await this.pingBackground()){this.state="healthy",M.info("[message-health] \u901A\u9053\u5DF2\u6062\u590D");return}await NQ(t)}this.enterDegraded()}async pingBackground(){if(!RQ())return!0;try{let t=await Ne.runtime.sendMessage(PQ);return t?.ok===!0?!0:(M.debug("[message-health] ping \u8FD4\u56DE\u5F02\u5E38",t),!1)}catch(t){return Xf(t)||M.debug("[message-health] ping \u5931\u8D25\uFF08\u4E0D\u53EF\u6062\u590D\u9519\u8BEF\uFF09",t),!1}}enterDegraded(t){this.state="degraded",M.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()||(M.debug("[message-health] \u9875\u9762\u6FC0\u6D3B\u68C0\u6D4B\u5230\u901A\u9053\u79BB\u7EBF\uFF0C\u5F00\u59CB\u91CD\u8FDE"),await this.ensureHealthy())}},Iy;function Yw(){return Iy||(Iy=new Ly),Iy}var ep=[];function FQ(e){return ep.push(e),()=>{let t=ep.indexOf(e);t!==-1&&ep.splice(t,1)}}ky(FQ);var BQ={type:`${pe}-messager-frame-bridge`},OQ=jQ();function _Q(){return OQ&&kt()}function eE(){return kt()&&$f()}var Dy;function UQ(){if(_Q())return Dy||(Dy=new Py),Dy}function jQ(){return Ae()?!0:!(typeof window>"u"||typeof document>"u")}var rs,Zw=!1;function tp(){return rs?.address.type}function tE(){return new J("MessageSilentMode","[message] \u767B\u5F55\u57DF\u540D iframe \u9759\u9ED8\u6A21\u5F0F\uFF0C\u5DF2\u8DF3\u8FC7\u6D88\u606F\u53D1\u9001")}function zQ(e){return{name:e.name??"",sendMessage:()=>Promise.reject(tE()),dispose:()=>{}}}function HQ(e){if(typeof e!="object"||e===null)return!1;let t=e;return typeof t.type!="string"?!1:t.type.startsWith(pe)&&(t.type.includes("#ask#")||t.type.includes("#tell#"))}function Jw(){Zw||typeof globalThis>"u"||!("addEventListener"in globalThis)||(Zw=!0,globalThis.addEventListener("message",e=>{if(HQ(e.data))try{for(let t of ep)try{t(e)}catch(n){M.error("[message-isolation] handler error:",n)}}finally{e.stopImmediatePropagation()}},{capture:!0}))}function ea(e,t,n){if(eE())return M.debug("[message] \u767B\u5F55\u57DF\u540D iframe\uFF0C\u8DF3\u8FC7 listenMessage"),zQ(e);if(typeof e=="object"&&e?.type==="content"&&e?.topFrame&&kt())return{name:e.name??"",sendMessage:()=>Promise.reject(new Error("top frame content not supported")),dispose:()=>{}};let r=UQ();if(r){let o=r.listenMessage(e,t,n);return n?.registerSender&&(rs={address:e,connection:o}),Jw(),o}let a=new Iu(e.type,!1).getConnection(e.name??"",t,{sync:n?.sync,replayOfflineMessages:n?.backlog??!1,backlogSize:n?.backlogSize,confirm:n?.confirm});return n?.registerSender&&(rs={address:e,connection:a}),Jw(),a}function VQ(e){return typeof e=="string"?{method:e}:e}async function be(e,t,n){if(eE())return M.debug("[message] \u767B\u5F55\u57DF\u540D iframe\uFF0C\u8DF3\u8FC7 sendMessage"),Promise.reject(tE());let r=GQ(),i=await KQ(WQ(e,"main")),a=QQ(n,i.topFrame,i?.frameId);return await YQ(()=>r.connection.sendMessage(qQ(i),VQ(t),a))}function GQ(){if(!rs)throw new Error("[message] \u5F53\u524D\u4E0A\u4E0B\u6587\u672A\u6CE8\u518C\u6D88\u606F\u8EAB\u4EFD\uFF0C\u8BF7\u5148\u8C03\u7528 listenMessage()");return rs}function WQ(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 qQ(e){let t=rs?.address.type==="content"||Ae();if(e.type==="content"){if(typeof e.tabId=="number")return`${e.type}:${e.name}:${e.tabId}`;if(Ae()||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 KQ(e){if(e.type!=="content")return e;let t=rs?.address.type==="content"||Ae();if(typeof e.tabId=="number"||t)return e;if(!e.tabId||e.tabId==="currentWindowActive"){if(!Ne.tabs?.query)throw new Error("[message] \u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301\u67E5\u8BE2\u6FC0\u6D3B tab");let r=(await Ne.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(Ae())return e;throw new Error("content_script \u5730\u5740\u5FC5\u987B\u63D0\u4F9B tabId")}function QQ(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 YQ(e){return rs?.address.type!=="content"?await e():await Yw().sendWithHealth(e)}var Py=class{channel;frameId;subscribers=new Map;constructor(){this.frameId=$w("frame"),this.channel=mo.iframe(BQ,"*",{targetWindow:this.getTopWindow()}),this.channel.handleAsk("deliverMessage",async t=>await this.handleDeliver(t))}listenMessage(t,n,r){let i=$w(`${t.type}-${t.name??"main"}`),o=new Iu(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:Xw(r),localConnection:o}),this.registerRemote(i,t,r),{name:t.name??"",sendMessage:async(s,l,u)=>await this.sendWithRouting(i,s,l,u),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 J("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:Xw(r)})}catch(i){M.error("[frame-bridge] register subscriber failed",i)}}async unregisterRemote(t){try{await this.channel.ask("unregisterSubscriber",{subscriberId:t})}catch(n){M.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 J(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=ZQ(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}};function Xw(e){if(!e)return;let{registerSender:t,...n}=e;return n}function $w(e){return`${e}-${Math.random().toString(36).slice(2,10)}`}function ZQ(e){return e instanceof J?{name:e.name,message:e.message}:e instanceof Error?{name:e.name,message:e.message}:{name:"UnknownError",message:String(e)}}var JQ=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"),XQ=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"),nE=JQ,rE=XQ;function iE(e){return $Q(e).detectedCharacters=="traditional"}function $Q(e){for(var t={inputLength:e.length,simplifiedCharacters:0,traditionalCharacters:0},n=0;n<e.length;n++){var r=e.substr(n,1);if(eY(r)&&t.simplifiedCharacters++,tY(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 eY(e){var t=aE(e);return new RegExp(t).test(nE)}function tY(e){var t=aE(e);return new RegExp(t).test(rE)}function aE(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var nY=/[\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,rY=/[ぁ-んァ-ン]/g,iY=/[\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,aY=/(\s+)|([\p{P}\p{S}\p{N}])/gu,oY=[["zh-CN",nY],["ja",rY],["ko",iY]];function Lu(e){if(!e)return"auto";let t="auto",n=0,r=0,i=e.match(aY);i&&(r=i.reduce((s,l)=>s+l.length,0));let a=e.length-r;if(a<=0)return"auto";let o={};for(let s of oY){let l=s[1],u=s[0],d=e.match(l),g=d?d.length:0;o[u]=g,g>n&&(n=g,t=u)}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"?iE(e)?"zh-TW":"zh-CN":t:"auto"}var oE="auto",np="auto";function sE(e){oE=e}function li(e){np=e}function Un(){return np!=="auto"?np:oE}function rp(){return np}function lE(e){let{signal:t,...n}=e;if(t?.aborted){e.onFinish?.("request aborted");return}let r=Ne.runtime.connect({name:"fetchStream"}),i={type:"start",options:n};r.postMessage(JSON.stringify(i)),r.onMessage.addListener(o=>{let{data:s,error:l,finish:u,reason:d}=JSON.parse(o);if(s&&e.onMessage?.(s),l){let g=new J(l.name||"fetchError",l.message).initNetWork(l.errorCode||500).initStack(l.stack);e.onError?.(g)}u&&e.onFinish?.(d)}),r.onDisconnect.addListener(()=>{t?.removeEventListener("abort",a)});function a(){r.postMessage(JSON.stringify({type:"abort"}))}t?.addEventListener("abort",a)}function Du(){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 Ry=class extends Error{constructor(){super("Deadline"),this.name="DeadlineError"}};function ip(e,t){let n=Du(),r=setTimeout(()=>n.reject(new Ry),t);return Promise.race([e,n]).finally(()=>clearTimeout(r))}function rt(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(l),a(new DOMException("Delay was aborted.","AbortError"))},l=setTimeout(()=>{n?.removeEventListener("abort",o),i()},e);if(n?.addEventListener("abort",o,{once:!0}),r===!1)try{Deno.unrefTimer(l)}catch(u){if(!(u instanceof ReferenceError))throw u}})}var uE=class{#e=0;#t=[];#n=[];#r=Du();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=Du()}}[Symbol.asyncIterator](){return this.iterate()}};var fo=["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 Ny(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+=fo[t[r-2]>>2],n+=fo[(t[r-2]&3)<<4|t[r-1]>>4],n+=fo[(t[r-1]&15)<<2|t[r]>>6],n+=fo[t[r]&63];return r===i+1&&(n+=fo[t[r-2]>>2],n+=fo[(t[r-2]&3)<<4],n+="=="),r===i&&(n+=fo[t[r-2]>>2],n+=fo[(t[r-2]&3)<<4|t[r-1]>>4],n+=fo[(t[r-1]&15)<<2],n+="="),n}var ap=globalThis||(typeof window<"u"?window:self),sY=Object.create,By=Object.defineProperty,lY=Object.getOwnPropertyDescriptor,uY=Object.getOwnPropertyNames,cY=Object.getPrototypeOf,dY=Object.prototype.hasOwnProperty,gY=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),mY=(e,t)=>{for(var n in t)By(e,n,{get:t[n],enumerable:!0})},Fy=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of uY(t))!dY.call(e,i)&&i!==n&&By(e,i,{get:()=>t[i],enumerable:!(r=lY(t,i))||r.enumerable});return e},fY=(e,t,n)=>(Fy(e,t,"default"),n&&Fy(n,t,"default")),dE=(e,t,n)=>(n=e!=null?sY(cY(e)):{},Fy(t||!e||!e.__esModule?By(n,"default",{value:e,enumerable:!0}):n,e)),gE=gY((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,l=/^0o[0-7]+$/i,u=parseInt,d=typeof ap=="object"&&ap&&ap.Object===Object&&ap,g=typeof self=="object"&&self&&self.Object===Object&&self,m=d||g||Function("return this")(),f=Object.prototype,p=f.toString,h=Math.max,x=Math.min,y=function(){return m.Date.now()};function b(E,k,D){var U,B,P,O,F,L,R=0,A=!1,j=!1,V=!0;if(typeof E!="function")throw new TypeError(n);k=w(k)||0,C(D)&&(A=!!D.leading,j="maxWait"in D,P=j?h(w(D.maxWait)||0,k):P,V="trailing"in D?!!D.trailing:V);function G(ue){var ge=U,me=B;return U=B=void 0,R=ue,O=E.apply(me,ge),O}function K(ue){return R=ue,F=setTimeout(ne,k),A?G(ue):O}function q(ue){var ge=ue-L,me=ue-R,he=k-ge;return j?x(he,P-me):he}function Z(ue){var ge=ue-L,me=ue-R;return L===void 0||ge>=k||ge<0||j&&me>=P}function ne(){var ue=y();if(Z(ue))return Y(ue);F=setTimeout(ne,q(ue))}function Y(ue){return F=void 0,V&&U?G(ue):(U=B=void 0,O)}function oe(){F!==void 0&&clearTimeout(F),R=0,U=L=B=F=void 0}function Me(){return F===void 0?O:Y(y())}function Ce(){var ue=y(),ge=Z(ue);if(U=arguments,B=this,L=ue,ge){if(F===void 0)return K(L);if(j)return F=setTimeout(ne,k),G(L)}return F===void 0&&(F=setTimeout(ne,k)),O}return Ce.cancel=oe,Ce.flush=Me,Ce}function v(E,k,D){var U=!0,B=!0;if(typeof E!="function")throw new TypeError(n);return C(D)&&(U="leading"in D?!!D.leading:U,B="trailing"in D?!!D.trailing:B),b(E,k,{leading:U,maxWait:k,trailing:B})}function C(E){var k=typeof E;return!!E&&(k=="object"||k=="function")}function S(E){return!!E&&typeof E=="object"}function T(E){return typeof E=="symbol"||S(E)&&p.call(E)==i}function w(E){if(typeof E=="number")return E;if(T(E))return r;if(C(E)){var k=typeof E.valueOf=="function"?E.valueOf():E;E=C(k)?k+"":k}if(typeof E!="string")return E===0?E:+E;E=E.replace(a,"");var D=s.test(E);return D||l.test(E)?u(E.slice(2),D?2:8):o.test(E)?r:+E}t.exports=v}),mE={};mY(mE,{default:()=>gr});var pY=dE(gE());fY(mE,dE(gE()));var{default:cE,...hY}=pY,gr=cE!==void 0?cE:hY;var op=globalThis||(typeof window<"u"?window:self),yY=Object.create,_y=Object.defineProperty,bY=Object.getOwnPropertyDescriptor,vY=Object.getOwnPropertyNames,xY=Object.getPrototypeOf,CY=Object.prototype.hasOwnProperty,TY=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),SY=(e,t)=>{for(var n in t)_y(e,n,{get:t[n],enumerable:!0})},Oy=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of vY(t))!CY.call(e,i)&&i!==n&&_y(e,i,{get:()=>t[i],enumerable:!(r=bY(t,i))||r.enumerable});return e},wY=(e,t,n)=>(Oy(e,t,"default"),n&&Oy(n,t,"default")),pE=(e,t,n)=>(n=e!=null?yY(xY(e)):{},Oy(t||!e||!e.__esModule?_y(n,"default",{value:e,enumerable:!0}):n,e)),hE=TY((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,l=/^0o[0-7]+$/i,u=parseInt,d=typeof op=="object"&&op&&op.Object===Object&&op,g=typeof self=="object"&&self&&self.Object===Object&&self,m=d||g||Function("return this")(),f=Object.prototype,p=f.toString,h=Math.max,x=Math.min,y=function(){return m.Date.now()};function b(w,E,k){var D,U,B,P,O,F,L=0,R=!1,A=!1,j=!0;if(typeof w!="function")throw new TypeError(n);E=T(E)||0,v(k)&&(R=!!k.leading,A="maxWait"in k,B=A?h(T(k.maxWait)||0,E):B,j="trailing"in k?!!k.trailing:j);function V(Ce){var ue=D,ge=U;return D=U=void 0,L=Ce,P=w.apply(ge,ue),P}function G(Ce){return L=Ce,O=setTimeout(Z,E),R?V(Ce):P}function K(Ce){var ue=Ce-F,ge=Ce-L,me=E-ue;return A?x(me,B-ge):me}function q(Ce){var ue=Ce-F,ge=Ce-L;return F===void 0||ue>=E||ue<0||A&&ge>=B}function Z(){var Ce=y();if(q(Ce))return ne(Ce);O=setTimeout(Z,K(Ce))}function ne(Ce){return O=void 0,j&&D?V(Ce):(D=U=void 0,P)}function Y(){O!==void 0&&clearTimeout(O),L=0,D=F=U=O=void 0}function oe(){return O===void 0?P:ne(y())}function Me(){var Ce=y(),ue=q(Ce);if(D=arguments,U=this,F=Ce,ue){if(O===void 0)return G(F);if(A)return O=setTimeout(Z,E),V(F)}return O===void 0&&(O=setTimeout(Z,E)),P}return Me.cancel=Y,Me.flush=oe,Me}function v(w){var E=typeof w;return!!w&&(E=="object"||E=="function")}function C(w){return!!w&&typeof w=="object"}function S(w){return typeof w=="symbol"||C(w)&&p.call(w)==i}function T(w){if(typeof w=="number")return w;if(S(w))return r;if(v(w)){var E=typeof w.valueOf=="function"?w.valueOf():w;w=v(E)?E+"":E}if(typeof w!="string")return w===0?w:+w;w=w.replace(a,"");var k=s.test(w);return k||l.test(w)?u(w.slice(2),k?2:8):o.test(w)?r:+w}t.exports=b}),yE={};SY(yE,{default:()=>Dn});var EY=pE(hE());wY(yE,pE(hE()));var{default:fE,...AY}=EY,Dn=fE!==void 0?fE:AY;var kY=Object.create,jy=Object.defineProperty,MY=Object.getOwnPropertyDescriptor,IY=Object.getOwnPropertyNames,LY=Object.getPrototypeOf,DY=Object.prototype.hasOwnProperty,PY=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),RY=(e,t)=>{for(var n in t)jy(e,n,{get:t[n],enumerable:!0})},Uy=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of IY(t))!DY.call(e,i)&&i!==n&&jy(e,i,{get:()=>t[i],enumerable:!(r=MY(t,i))||r.enumerable});return e},NY=(e,t,n)=>(Uy(e,t,"default"),n&&Uy(n,t,"default")),vE=(e,t,n)=>(n=e!=null?kY(LY(e)):{},Uy(t||!e||!e.__esModule?jy(n,"default",{value:e,enumerable:!0}):n,e)),xE=PY((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,l,u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d};(function(d,g){u(r)==="object"&&u(a)==="object"?a.exports=g():(s=[],o=g,l=typeof o=="function"?o.apply(r,s):o,l!==void 0&&(a.exports=l))})(void 0,function(){return function(d){function g(f){if(m[f])return m[f].exports;var p=m[f]={i:f,l:!1,exports:{}};return d[f].call(p.exports,p,p.exports,g),p.l=!0,p.exports}var m={};return g.m=d,g.c=m,g.i=function(f){return f},g.d=function(f,p,h){g.o(f,p)||Object.defineProperty(f,p,{configurable:!1,enumerable:!0,get:h})},g.n=function(f){var p=f&&f.__esModule?function(){return f.default}:function(){return f};return g.d(p,"a",p),p},g.o=function(f,p){return Object.prototype.hasOwnProperty.call(f,p)},g.p="",g(g.s=0)}([function(d,g,m){function f(K,q){var Z={};for(var ne in K)q.indexOf(ne)>=0||Object.prototype.hasOwnProperty.call(K,ne)&&(Z[ne]=K[ne]);return Z}Object.defineProperty(g,"__esModule",{value:!0});var p=typeof Symbol=="function"&&u(Symbol.iterator)==="symbol"?function(K){return typeof K>"u"?"undefined":u(K)}:function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K>"u"?"undefined":u(K)},h=Object.assign||function(K){for(var q=1;q<arguments.length;q++){var Z=arguments[q];for(var ne in Z)Object.prototype.hasOwnProperty.call(Z,ne)&&(K[ne]=Z[ne])}return K},x={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:x.top,force:x.top,confirm:x.top,input:x.top,select:x.bottom,date:x.top}},b=g.setOptions=function(K){y=h({},y,K,{classes:h({},y.classes,K.classes),ids:h({},y.ids,K.ids),positions:h({},y.positions,K.positions)})},v=function(){return new Promise(function(K){return setTimeout(K,0)})},C=function(K){return new Promise(function(q){return setTimeout(q,1e3*K)})},S=function(){document.activeElement&&document.activeElement.blur()},T=function(){var K="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(q){var Z=16*Math.random()|0,ne=q==="x"?Z:3&Z|8;return ne.toString(16)});return"notie-"+K},w={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},E=function(){return y.transitionSelector+" "+y.transitionDuration+"s "+y.transitionCurve},k=function(K){return K.keyCode===13},D=function(K){return K.keyCode===27},U=function(K,q){K.classList.add(y.classes.container),K.style[q]="-10000px",document.body.appendChild(K),K.style[q]="-"+K.offsetHeight+"px",K.listener&&window.addEventListener("keydown",K.listener),v().then(function(){K.style.transition=E(),K.style[q]=0})},B=function(K,q){var Z=document.getElementById(K);Z&&(Z.style[q]="-"+Z.offsetHeight+"px",Z.listener&&window.removeEventListener("keydown",Z.listener),C(y.transitionDuration).then(function(){Z.parentNode&&Z.parentNode.removeChild(Z)}))},P=function(K,q){var Z=document.createElement("div");Z.id=y.ids.overlay,Z.classList.add(y.classes.overlay),Z.classList.add(y.classes.backgroundOverlay),Z.style.opacity=0,K&&y.overlayClickDismiss&&(Z.onclick=function(){B(K.id,q),O()}),document.body.appendChild(Z),v().then(function(){Z.style.transition=E(),Z.style.opacity=y.overlayOpacity})},O=function(){var K=document.getElementById(y.ids.overlay);K.style.opacity=0,C(y.transitionDuration).then(function(){K.parentNode&&K.parentNode.removeChild(K)})},F=g.hideAlerts=function(K){var q=document.getElementsByClassName(y.classes.alert);if(q.length){for(var Z=0;Z<q.length;Z++){var ne=q[Z];B(ne.id,ne.position)}K&&C(y.transitionDuration).then(function(){return K()})}},L=g.alert=function(K){var q=K.type,Z=q===void 0?4:q,ne=K.text,Y=K.time,oe=Y===void 0?y.alertTime:Y,Me=K.stay,Ce=Me!==void 0&&Me,ue=K.position,ge=ue===void 0?y.positions.alert||ge.top:ue;S(),F();var me=document.createElement("div"),he=T();me.id=he,me.position=ge,me.classList.add(y.classes.textbox),me.classList.add(w[Z]),me.classList.add(y.classes.alert),me.innerHTML='<div class="'+y.classes.textboxInner+'">'+ne+"</div>",me.onclick=function(){return B(he,ge)},me.listener=function(te){(k(te)||D(te))&&F()},U(me,ge),oe&&oe<1&&(oe=1),!Ce&&oe&&C(oe).then(function(){return B(he,ge)})},R=g.force=function(K,q){var Z=K.type,ne=Z===void 0?5:Z,Y=K.text,oe=K.buttonText,Me=oe===void 0?"OK":oe,Ce=K.callback,ue=K.position,ge=ue===void 0?y.positions.force||ge.top:ue;S(),F();var me=document.createElement("div"),he=T();me.id=he;var te=document.createElement("div");te.classList.add(y.classes.textbox),te.classList.add(y.classes.backgroundInfo),te.innerHTML='<div class="'+y.classes.textboxInner+'">'+Y+"</div>";var Re=document.createElement("div");Re.classList.add(y.classes.button),Re.classList.add(w[ne]),Re.innerHTML=Me,Re.onclick=function(){B(he,ge),O(),Ce?Ce():q&&q()},me.appendChild(te),me.appendChild(Re),me.listener=function(ye){k(ye)&&Re.click()},U(me,ge),P()},A=g.confirm=function(K,q,Z){var ne=K.text,Y=K.submitText,oe=Y===void 0?"Yes":Y,Me=K.cancelText,Ce=Me===void 0?"Cancel":Me,ue=K.submitCallback,ge=K.cancelCallback,me=K.position,he=me===void 0?y.positions.confirm||he.top:me;S(),F();var te=document.createElement("div"),Re=T();te.id=Re;var ye=document.createElement("div");ye.classList.add(y.classes.textbox),ye.classList.add(y.classes.backgroundInfo),ye.innerHTML='<div class="'+y.classes.textboxInner+'">'+ne+"</div>";var ce=document.createElement("div");ce.classList.add(y.classes.button),ce.classList.add(y.classes.elementHalf),ce.classList.add(y.classes.backgroundSuccess),ce.innerHTML=oe,ce.onclick=function(){B(Re,he),O(),ue?ue():q&&q()};var se=document.createElement("div");se.classList.add(y.classes.button),se.classList.add(y.classes.elementHalf),se.classList.add(y.classes.backgroundError),se.innerHTML=Ce,se.onclick=function(){B(Re,he),O(),ge?ge():Z&&Z()},te.appendChild(ye),te.appendChild(ce),te.appendChild(se),te.listener=function(we){k(we)?ce.click():D(we)&&se.click()},U(te,he),P(te,he)},j=function(K,q,Z){var ne=K.text,Y=K.submitText,oe=Y===void 0?"Submit":Y,Me=K.cancelText,Ce=Me===void 0?"Cancel":Me,ue=K.submitCallback,ge=K.cancelCallback,me=K.position,he=me===void 0?y.positions.input||he.top:me,te=f(K,["text","submitText","cancelText","submitCallback","cancelCallback","position"]);S(),F();var Re=document.createElement("div"),ye=T();Re.id=ye;var ce=document.createElement("div");ce.classList.add(y.classes.textbox),ce.classList.add(y.classes.backgroundInfo),ce.innerHTML='<div class="'+y.classes.textboxInner+'">'+ne+"</div>";var se=document.createElement("input");se.classList.add(y.classes.inputField),se.setAttribute("autocapitalize",te.autocapitalize||"none"),se.setAttribute("autocomplete",te.autocomplete||"off"),se.setAttribute("autocorrect",te.autocorrect||"off"),se.setAttribute("autofocus",te.autofocus||"true"),se.setAttribute("inputmode",te.inputmode||"verbatim"),se.setAttribute("max",te.max||""),se.setAttribute("maxlength",te.maxlength||""),se.setAttribute("min",te.min||""),se.setAttribute("minlength",te.minlength||""),se.setAttribute("placeholder",te.placeholder||""),se.setAttribute("spellcheck",te.spellcheck||"default"),se.setAttribute("step",te.step||"any"),se.setAttribute("type",te.type||"text"),se.value=te.value||"",te.allowed&&(se.oninput=function(){var fe=void 0;if(Array.isArray(te.allowed)){for(var ze="",Ee=te.allowed,tt=0;tt<Ee.length;tt++)Ee[tt]==="an"?ze+="0-9a-zA-Z":Ee[tt]==="a"?ze+="a-zA-Z":Ee[tt]==="n"&&(ze+="0-9"),Ee[tt]==="s"&&(ze+=" ");fe=new RegExp("[^"+ze+"]","g")}else p(te.allowed)==="object"&&(fe=te.allowed);se.value=se.value.replace(fe,"")});var we=document.createElement("div");we.classList.add(y.classes.button),we.classList.add(y.classes.elementHalf),we.classList.add(y.classes.backgroundSuccess),we.innerHTML=oe,we.onclick=function(){B(ye,he),O(),ue?ue(se.value):q&&q(se.value)};var qe=document.createElement("div");qe.classList.add(y.classes.button),qe.classList.add(y.classes.elementHalf),qe.classList.add(y.classes.backgroundError),qe.innerHTML=Ce,qe.onclick=function(){B(ye,he),O(),ge?ge(se.value):Z&&Z(se.value)},Re.appendChild(ce),Re.appendChild(se),Re.appendChild(we),Re.appendChild(qe),Re.listener=function(fe){k(fe)?we.click():D(fe)&&qe.click()},U(Re,he),se.focus(),P(Re,he)};g.input=j;var V=g.select=function(K,q){var Z=K.text,ne=K.cancelText,Y=ne===void 0?"Cancel":ne,oe=K.cancelCallback,Me=K.choices,Ce=K.position,ue=Ce===void 0?y.positions.select||ue.top:Ce;S(),F();var ge=document.createElement("div"),me=T();ge.id=me;var he=document.createElement("div");he.classList.add(y.classes.textbox),he.classList.add(y.classes.backgroundInfo),he.innerHTML='<div class="'+y.classes.textboxInner+'">'+Z+"</div>",ge.appendChild(he),Me.forEach(function(Re,ye){var ce=Re.type,se=ce===void 0?1:ce,we=Re.text,qe=Re.handler,fe=document.createElement("div");fe.classList.add(w[se]),fe.classList.add(y.classes.button),fe.classList.add(y.classes.selectChoice);var ze=Me[ye+1];ze&&!ze.type&&(ze.type=1),ze&&ze.type===se&&fe.classList.add(y.classes.selectChoiceRepeated),fe.innerHTML=we,fe.onclick=function(){B(me,ue),O(),qe()},ge.appendChild(fe)});var te=document.createElement("div");te.classList.add(y.classes.backgroundNeutral),te.classList.add(y.classes.button),te.innerHTML=Y,te.onclick=function(){B(me,ue),O(),oe?oe():q&&q()},ge.appendChild(te),ge.listener=function(Re){D(Re)&&te.click()},U(ge,ue),P(ge,ue)},G=g.date=function(K,q,Z){var ne=K.value,Y=ne===void 0?new Date:ne,oe=K.submitText,Me=oe===void 0?"OK":oe,Ce=K.cancelText,ue=Ce===void 0?"Cancel":Ce,ge=K.submitCallback,me=K.cancelCallback,he=K.position,te=he===void 0?y.positions.date||te.top:he;S(),F();var Re="&#9662",ye=document.createElement("div"),ce=document.createElement("div"),se=document.createElement("div"),we=function(cn){ye.innerHTML=y.dateMonths[cn.getMonth()],ce.innerHTML=cn.getDate(),se.innerHTML=cn.getFullYear()},qe=function(cn){var Ht=new Date(Y.getFullYear(),Y.getMonth()+1,0).getDate(),ni=cn.target.textContent.replace(/^0+/,"").replace(/[^\d]/g,"").slice(0,2);Number(ni)>Ht&&(ni=Ht.toString()),cn.target.textContent=ni,Number(ni)<1&&(ni="1"),Y.setDate(Number(ni))},fe=function(cn){var Ht=cn.target.textContent.replace(/^0+/,"").replace(/[^\d]/g,"").slice(0,4);cn.target.textContent=Ht,Y.setFullYear(Number(Ht))},ze=function(cn){we(Y)},Ee=function(cn){var Ht=new Date(Y.getFullYear(),Y.getMonth()+cn+1,0).getDate();Y.getDate()>Ht&&Y.setDate(Ht),Y.setMonth(Y.getMonth()+cn),we(Y)},tt=function(cn){Y.setDate(Y.getDate()+cn),we(Y)},Xe=function(cn){var Ht=Y.getFullYear()+cn;Ht<0?Y.setFullYear(0):Y.setFullYear(Y.getFullYear()+cn),we(Y)},Dt=document.createElement("div"),hr=T();Dt.id=hr;var Ki=document.createElement("div");Ki.classList.add(y.classes.backgroundInfo);var xn=document.createElement("div");xn.classList.add(y.classes.dateSelectorInner);var yr=document.createElement("div");yr.classList.add(y.classes.button),yr.classList.add(y.classes.elementThird),yr.classList.add(y.classes.dateSelectorUp),yr.innerHTML=Re;var br=document.createElement("div");br.classList.add(y.classes.button),br.classList.add(y.classes.elementThird),br.classList.add(y.classes.dateSelectorUp),br.innerHTML=Re;var ti=document.createElement("div");ti.classList.add(y.classes.button),ti.classList.add(y.classes.elementThird),ti.classList.add(y.classes.dateSelectorUp),ti.innerHTML=Re,ye.classList.add(y.classes.element),ye.classList.add(y.classes.elementThird),ye.innerHTML=y.dateMonths[Y.getMonth()],ce.classList.add(y.classes.element),ce.classList.add(y.classes.elementThird),ce.setAttribute("contentEditable",!0),ce.addEventListener("input",qe),ce.addEventListener("blur",ze),ce.innerHTML=Y.getDate(),se.classList.add(y.classes.element),se.classList.add(y.classes.elementThird),se.setAttribute("contentEditable",!0),se.addEventListener("input",fe),se.addEventListener("blur",ze),se.innerHTML=Y.getFullYear();var $a=document.createElement("div");$a.classList.add(y.classes.button),$a.classList.add(y.classes.elementThird),$a.innerHTML=Re;var eo=document.createElement("div");eo.classList.add(y.classes.button),eo.classList.add(y.classes.elementThird),eo.innerHTML=Re;var Hs=document.createElement("div");Hs.classList.add(y.classes.button),Hs.classList.add(y.classes.elementThird),Hs.innerHTML=Re,yr.onclick=function(){return Ee(1)},br.onclick=function(){return tt(1)},ti.onclick=function(){return Xe(1)},$a.onclick=function(){return Ee(-1)},eo.onclick=function(){return tt(-1)},Hs.onclick=function(){return Xe(-1)};var Pr=document.createElement("div");Pr.classList.add(y.classes.button),Pr.classList.add(y.classes.elementHalf),Pr.classList.add(y.classes.backgroundSuccess),Pr.innerHTML=Me,Pr.onclick=function(){B(hr,te),O(),ge?ge(Y):q&&q(Y)};var to=document.createElement("div");to.classList.add(y.classes.button),to.classList.add(y.classes.elementHalf),to.classList.add(y.classes.backgroundError),to.innerHTML=ue,to.onclick=function(){B(hr,te),O(),me?me(Y):Z&&Z(Y)},xn.appendChild(yr),xn.appendChild(br),xn.appendChild(ti),xn.appendChild(ye),xn.appendChild(ce),xn.appendChild(se),xn.appendChild($a),xn.appendChild(eo),xn.appendChild(Hs),Ki.appendChild(xn),Dt.appendChild(Ki),Dt.appendChild(Pr),Dt.appendChild(to),Dt.listener=function(cn){k(cn)?Pr.click():D(cn)&&to.click()},U(Dt,te),P(Dt,te)};g.default={alert:L,force:R,confirm:A,input:j,select:V,date:G,setOptions:b,hideAlerts:F}}])})}).call(r,i(0)(n))}])})}),CE={};RY(CE,{default:()=>sp});var FY=vE(xE());NY(CE,vE(xE()));var{default:bE,...BY}=FY,sp=bE!==void 0?bE:BY;var lp=typeof navigator<"u"?navigator.userAgent.toLowerCase().indexOf("firefox")>0:!1;function up(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent(`on${t}`,n)}function Pu(e,t,n,r){e.removeEventListener?e.removeEventListener(t,n,r):e.detachEvent&&e.detachEvent(`on${t}`,n)}function zy(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 Hy(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 TE(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 Ru={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,"-":lp?173:189,"=":lp?61:187,";":lp?59:186,"'":222,"[":219,"]":221,"\\":220},Li={"\u21E7":16,shift:16,"\u2325":18,alt:18,option:18,"\u2303":17,ctrl:17,control:17,"\u2318":91,cmd:91,command:91},Nu={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},Zn={16:!1,18:!1,17:!1,91:!1},an={};for(let e=1;e<20;e++)Ru[`f${e}`]=111+e;var on=[],yg=null,EE="all",po=new Map,vg=e=>Ru[e.toLowerCase()]||Li[e.toLowerCase()]||e.toUpperCase().charCodeAt(0),OY=e=>Object.keys(Ru).find(t=>Ru[t]===e),_Y=e=>Object.keys(Li).find(t=>Li[t]===e);function AE(e){EE=e||"all"}function bg(){return EE||"all"}function UY(){return on.slice(0)}function jY(){return on.map(e=>OY(e)||_Y(e)||String.fromCharCode(e))}function zY(){let e=[];return Object.keys(an).forEach(t=>{an[t].forEach(({key:n,scope:r,mods:i,shortcut:a})=>{e.push({scope:r,shortcut:a,mods:i,keys:n.split("+").map(o=>vg(o))})})}),e}function HY(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 VY(e){return typeof e=="string"&&(e=vg(e)),on.indexOf(e)!==-1}function GY(e,t){let n,r;e||(e=bg());for(let i in an)if(Object.prototype.hasOwnProperty.call(an,i))for(n=an[i],r=0;r<n.length;)n[r].scope===e?n.splice(r,1).forEach(({element:o})=>Gy(o)):r++;bg()===e&&AE(t||"all")}function WY(e){let t=e.keyCode||e.which||e.charCode,n=on.indexOf(t);if(n>=0&&on.splice(n,1),e.key&&e.key.toLowerCase()==="meta"&&on.splice(0,on.length),(t===93||t===224)&&(t=91),t in Zn){Zn[t]=!1;for(let r in Li)Li[r]===t&&(ho[r]=!1)}}function kE(e,...t){if(typeof e>"u")Object.keys(an).forEach(n=>{Array.isArray(an[n])&&an[n].forEach(r=>cp(r)),delete an[n]}),Gy(null);else if(Array.isArray(e))e.forEach(n=>{n.key&&cp(n)});else if(typeof e=="object")e.key&&cp(e);else if(typeof e=="string"){let[n,r]=t;typeof n=="function"&&(r=n,n=""),cp({key:e,scope:n,method:r,splitKey:"+"})}}var cp=({key:e,scope:t,method:n,splitKey:r="+"})=>{Hy(e).forEach(a=>{let o=a.split(r),s=o.length,l=o[s-1],u=l==="*"?"*":vg(l);if(!an[u])return;t||(t=bg());let d=s>1?zy(Li,o):[],g=[];an[u]=an[u].filter(m=>{let p=(n?m.method===n:!0)&&m.scope===t&&TE(m.mods,d);return p&&g.push(m.element),!p}),g.forEach(m=>Gy(m))})};function SE(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 Zn)Object.prototype.hasOwnProperty.call(Zn,a)&&(!Zn[a]&&t.mods.indexOf(+a)>-1||Zn[a]&&t.mods.indexOf(+a)===-1)&&(i=!1);(t.mods.length===0&&!Zn[16]&&!Zn[18]&&!Zn[17]&&!Zn[91]||i||t.shortcut==="*")&&(t.keys=[],t.keys=t.keys.concat(on),t.method(e,t)===!1&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0)))}}function wE(e,t){let n=an["*"],r=e.keyCode||e.which||e.charCode;if(!ho.filter.call(this,e))return;if((r===93||r===224)&&(r=91),on.indexOf(r)===-1&&r!==229&&on.push(r),["metaKey","ctrlKey","altKey","shiftKey"].forEach(s=>{let l=Nu[s];e[s]&&on.indexOf(l)===-1?on.push(l):!e[s]&&on.indexOf(l)>-1?on.splice(on.indexOf(l),1):s==="metaKey"&&e[s]&&(on=on.filter(u=>u in Nu||u===r))}),r in Zn){Zn[r]=!0;for(let s in Li)if(Object.prototype.hasOwnProperty.call(Li,s)){let l=Nu[Li[s]];ho[s]=e[l]}if(!n)return}for(let s in Zn)Object.prototype.hasOwnProperty.call(Zn,s)&&(Zn[s]=e[Nu[s]]);e.getModifierState&&!(e.altKey&&!e.ctrlKey)&&e.getModifierState("AltGraph")&&(on.indexOf(17)===-1&&on.push(17),on.indexOf(18)===-1&&on.push(18),Zn[17]=!0,Zn[18]=!0);let i=bg();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)&&SE(e,n[s],i,t);if(!(r in an))return;let a=an[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 l=a[s],{splitKey:u}=l,d=l.key.split(u),g=[];for(let m=0;m<d.length;m++)g.push(vg(d[m]));g.sort().join("")===on.sort().join("")&&SE(e,l,i,t)}}function ho(e,t,n){on=[];let r=Hy(e),i=[],a="all",o=document,s=0,l=!1,u=!0,d="+",g=!1,m=!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&&(l=t.keyup),t.keydown!==void 0&&(u=t.keydown),t.capture!==void 0&&(g=t.capture),typeof t.splitKey=="string"&&(d=t.splitKey),t.single===!0&&(m=!0)),typeof t=="string"&&(a=t),m&&kE(e,a);s<r.length;s++)e=r[s].split(d),i=[],e.length>1&&(i=zy(Li,e)),e=e[e.length-1],e=e==="*"?"*":vg(e),e in an||(an[e]=[]),an[e].push({keyup:l,keydown:u,scope:a,mods:i,shortcut:r[s],method:n,key:r[s],splitKey:d,element:o});if(typeof o<"u"&&window){if(!po.has(o)){let f=(h=window.event)=>wE(h,o),p=(h=window.event)=>{wE(h,o),WY(h)};po.set(o,{keydownListener:f,keyupListenr:p,capture:g}),up(o,"keydown",f,g),up(o,"keyup",p,g)}if(!yg){let f=()=>{on=[]};yg={listener:f,capture:g},up(window,"focus",f,g)}}}function qY(e,t="all"){Object.keys(an).forEach(n=>{an[n].filter(i=>i.scope===t&&i.shortcut===e).forEach(i=>{i&&i.method&&i.method()})})}function Gy(e){let t=Object.values(an).flat();if(t.findIndex(({element:r})=>r===e)<0){let{keydownListener:r,keyupListenr:i,capture:a}=po.get(e)||{};r&&i&&(Pu(e,"keyup",i,a),Pu(e,"keydown",r,a),po.delete(e))}if((t.length<=0||po.size<=0)&&(Object.keys(po).forEach(i=>{let{keydownListener:a,keyupListenr:o,capture:s}=po.get(i)||{};a&&o&&(Pu(i,"keyup",o,s),Pu(i,"keydown",a,s),po.delete(i))}),po.clear(),Object.keys(an).forEach(i=>delete an[i]),yg)){let{listener:i,capture:a}=yg;Pu(window,"focus",i,a),yg=null}}var Vy={getPressedKeyString:jY,setScope:AE,getScope:bg,deleteScope:GY,getPressedKeyCodes:UY,getAllKeyCodes:zY,isPressed:VY,filter:HY,trigger:qY,unbind:kE,keyMap:Ru,modifier:Li,modifierMap:Nu};for(let e in Vy)Object.prototype.hasOwnProperty.call(Vy,e)&&(ho[e]=Vy[e]);if(typeof window<"u"){let e=window.hotkeys;ho.noConflict=t=>(t&&window.hotkeys===ho&&(window.hotkeys=e),ho),window.hotkeys=ho}var zt=ho;var KY={"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"},IE={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"},Tn={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},zr={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"},is={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"},ve=class Fu{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=Fu.getVersionPrecision(t),a=Fu.getVersionPrecision(n),o=Math.max(i,a),s=0,l=Fu.map([t,n],u=>{let d=o-Fu.getVersionPrecision(u),g=u+new Array(d+1).join(".0");return Fu.map(g.split("."),m=>new Array(20-m.length).join("0")+m).reverse()});for(r&&(s=o-Math.min(i,a)),o-=1;o>=s;){if(l[0][o]>l[1][o])return 1;if(l[0][o]===l[1][o]){if(o===s)return 0;o-=1}else if(l[0][o]<l[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 KY[t]}static getBrowserTypeByAlias(t){return IE[t]||""}},Kt=/version\/(\d+(\.?_?\d+)+)/i,QY=[{test:[/googlebot/i],describe(e){let t={name:"Googlebot"},n=ve.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||ve.getFirstMatch(Kt,e);return n&&(t.version=n),t}},{test:[/opera/i],describe(e){let t={name:"Opera"},n=ve.getFirstMatch(Kt,e)||ve.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe(e){let t={name:"Opera"},n=ve.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||ve.getFirstMatch(Kt,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe(e){let t={name:"Samsung Internet for Android"},n=ve.getFirstMatch(Kt,e)||ve.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=ve.getFirstMatch(Kt,e)||ve.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe(e){let t={name:"MZ Browser"},n=ve.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||ve.getFirstMatch(Kt,e);return n&&(t.version=n),t}},{test:[/focus/i],describe(e){let t={name:"Focus"},n=ve.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||ve.getFirstMatch(Kt,e);return n&&(t.version=n),t}},{test:[/swing/i],describe(e){let t={name:"Swing"},n=ve.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||ve.getFirstMatch(Kt,e);return n&&(t.version=n),t}},{test:[/coast/i],describe(e){let t={name:"Opera Coast"},n=ve.getFirstMatch(Kt,e)||ve.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=ve.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||ve.getFirstMatch(Kt,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe(e){let t={name:"Yandex Browser"},n=ve.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||ve.getFirstMatch(Kt,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe(e){let t={name:"UC Browser"},n=ve.getFirstMatch(Kt,e)||ve.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe(e){let t={name:"Maxthon"},n=ve.getFirstMatch(Kt,e)||ve.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe(e){let t={name:"Epiphany"},n=ve.getFirstMatch(Kt,e)||ve.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe(e){let t={name:"Puffin"},n=ve.getFirstMatch(Kt,e)||ve.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe(e){let t={name:"Sleipnir"},n=ve.getFirstMatch(Kt,e)||ve.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=ve.getFirstMatch(Kt,e)||ve.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe(e){let t={name:"WeChat"},n=ve.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||ve.getFirstMatch(Kt,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=ve.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||ve.getFirstMatch(Kt,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe(e){let t={name:"Internet Explorer"},n=ve.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe(e){let t={name:"Microsoft Edge"},n=ve.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=ve.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe(e){let t={name:"Vivaldi"},n=ve.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe(e){let t={name:"SeaMonkey"},n=ve.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe(e){let t={name:"Sailfish"},n=ve.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=ve.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe(e){let t={name:"PhantomJS"},n=ve.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe(e){let t={name:"SlimerJS"},n=ve.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=ve.getFirstMatch(Kt,e)||ve.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=ve.getFirstMatch(Kt,e)||ve.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=ve.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe(e){let t={name:"Tizen"},n=ve.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||ve.getFirstMatch(Kt,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe(e){let t={name:"QupZilla"},n=ve.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||ve.getFirstMatch(Kt,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe(e){let t={name:"Firefox"},n=ve.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=ve.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MiuiBrowser/i],describe(e){let t={name:"Miui"},n=ve.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe(e){let t={name:"Chromium"},n=ve.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||ve.getFirstMatch(Kt,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe(e){let t={name:"Chrome"},n=ve.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=ve.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=ve.getFirstMatch(Kt,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe(e){let t={name:"PlayStation 4"},n=ve.getFirstMatch(Kt,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe(e){let t={name:"Safari"},n=ve.getFirstMatch(Kt,e);return n&&(t.version=n),t}},{test:[/.*/i],describe(e){let t=/^(.*)\/(.*) /,n=/^(.*)\/(.*)[ \t]\((.*)/,r=e.search("\\(")!==-1?n:t;return{name:ve.getFirstMatch(r,e),version:ve.getSecondMatch(r,e)}}}],YY=QY,ZY=[{test:[/Roku\/DVP/],describe(e){let t=ve.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:zr.Roku,version:t}}},{test:[/windows phone/i],describe(e){let t=ve.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:zr.WindowsPhone,version:t}}},{test:[/windows /i],describe(e){let t=ve.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=ve.getWindowsVersionName(t);return{name:zr.Windows,version:t,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(e){let t={name:zr.iOS},n=ve.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return n&&(t.version=n),t}},{test:[/macintosh/i],describe(e){let t=ve.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=ve.getMacOSVersionName(t),r={name:zr.MacOS,version:t};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe(e){let t=ve.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:zr.iOS,version:t}}},{test(e){let t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe(e){let t=ve.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=ve.getAndroidVersionName(t),r={name:zr.Android,version:t};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe(e){let t=ve.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:zr.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(e){let t=ve.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||ve.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||ve.getFirstMatch(/\bbb(\d+)/i,e);return{name:zr.BlackBerry,version:t}}},{test:[/bada/i],describe(e){let t=ve.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:zr.Bada,version:t}}},{test:[/tizen/i],describe(e){let t=ve.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:zr.Tizen,version:t}}},{test:[/linux/i],describe(){return{name:zr.Linux}}},{test:[/CrOS/],describe(){return{name:zr.ChromeOS}}},{test:[/PlayStation 4/],describe(e){let t=ve.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:zr.PlayStation4,version:t}}}],JY=[{test:[/googlebot/i],describe(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe(e){let t=ve.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:Tn.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe(){return{type:Tn.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe(){return{type:Tn.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(){return{type:Tn.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe(){return{type:Tn.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe(){return{type:Tn.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe(){return{type:Tn.tablet}}},{test(e){let t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe(e){let t=ve.getFirstMatch(/(ipod|iphone)/i,e);return{type:Tn.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe(){return{type:Tn.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe(){return{type:Tn.mobile}}},{test(e){return e.getBrowserName(!0)==="blackberry"},describe(){return{type:Tn.mobile,vendor:"BlackBerry"}}},{test(e){return e.getBrowserName(!0)==="bada"},describe(){return{type:Tn.mobile}}},{test(e){return e.getBrowserName()==="windows phone"},describe(){return{type:Tn.mobile,vendor:"Microsoft"}}},{test(e){let t=Number(String(e.getOSVersion()).split(".")[0]);return e.getOSName(!0)==="android"&&t>=3},describe(){return{type:Tn.tablet}}},{test(e){return e.getOSName(!0)==="android"},describe(){return{type:Tn.mobile}}},{test(e){return e.getOSName(!0)==="macos"},describe(){return{type:Tn.desktop,vendor:"Apple"}}},{test(e){return e.getOSName(!0)==="windows"},describe(){return{type:Tn.desktop}}},{test(e){return e.getOSName(!0)==="linux"},describe(){return{type:Tn.desktop}}},{test(e){return e.getOSName(!0)==="playstation 4"},describe(){return{type:Tn.tv}}},{test(e){return e.getOSName(!0)==="roku"},describe(){return{type:Tn.tv}}}],XY=[{test(e){return e.getBrowserName(!0)==="microsoft edge"},describe(e){if(/\sedg\//i.test(e))return{name:is.Blink};let t=ve.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:is.EdgeHTML,version:t}}},{test:[/trident/i],describe(e){let t={name:is.Trident},n=ve.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){return e.test(/presto/i)},describe(e){let t={name:is.Presto},n=ve.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:is.Gecko},n=ve.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe(){return{name:is.Blink}}},{test:[/(apple)?webkit/i],describe(e){let t={name:is.WebKit},n=ve.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}],$Y=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=ve.find(YY,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=ve.find(ZY,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=ve.find(JY,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=ve.find(XY,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 ve.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=ve.find(a,l=>this.isOS(l));if(o){let l=this.satisfies(t[o]);if(l!==void 0)return l}let s=ve.find(a,l=>this.isPlatform(l));if(s){let l=this.satisfies(t[s]);if(l!==void 0)return l}}if(i>0){let a=Object.keys(r),o=ve.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=ve.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(ve.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))}},ME=$Y,eZ=class{static getParser(e,t=!1){if(typeof e!="string")throw new Error("UserAgent should be a string");return new ME(e,t)}static parse(e){return new ME(e).getResult()}static get BROWSER_MAP(){return IE}static get ENGINE_MAP(){return is}static get OS_MAP(){return zr}static get PLATFORMS_MAP(){return Tn}},Bu=eZ;var{entries:OE,setPrototypeOf:LE,isFrozen:tZ,getPrototypeOf:nZ,getOwnPropertyDescriptor:rZ}=Object,{freeze:Hr,seal:na,create:iZ}=Object,{apply:Zy,construct:Jy}=typeof Reflect<"u"&&Reflect;Zy||(Zy=function(e,t,n){return e.apply(t,n)});Hr||(Hr=function(e){return e});na||(na=function(e){return e});Jy||(Jy=function(e,t){return new e(...t)});var aZ=Di(Array.prototype.forEach),DE=Di(Array.prototype.pop),xg=Di(Array.prototype.push),mp=Di(String.prototype.toLowerCase),Wy=Di(String.prototype.toString),oZ=Di(String.prototype.match),ta=Di(String.prototype.replace),sZ=Di(String.prototype.indexOf),lZ=Di(String.prototype.trim),ui=Di(RegExp.prototype.test),Cg=uZ(TypeError);function Di(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 Zy(e,t,r)}}function uZ(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Jy(e,n)}}function ft(e,t,n){var r;n=(r=n)!==null&&r!==void 0?r:mp,LE&&LE(e,null);let i=t.length;for(;i--;){let a=t[i];if(typeof a=="string"){let o=n(a);o!==a&&(tZ(t)||(t[i]=o),a=o)}e[a]=!0}return e}function Ou(e){let t=iZ(null);for(let[n,r]of OE(e))t[n]=r;return t}function dp(e,t){for(;e!==null;){let r=rZ(e,t);if(r){if(r.get)return Di(r.get);if(typeof r.value=="function")return Di(r.value)}e=nZ(e)}function n(r){return null}return n}var PE=Hr(["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"]),qy=Hr(["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"]),Ky=Hr(["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"]),cZ=Hr(["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"]),Qy=Hr(["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"]),dZ=Hr(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),RE=Hr(["#text"]),NE=Hr(["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"]),Yy=Hr(["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"]),FE=Hr(["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"]),gp=Hr(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),gZ=na(/\{\{[\w\W]*|[\w\W]*\}\}/gm),mZ=na(/<%[\w\W]*|[\w\W]*%>/gm),fZ=na(/\${[\w\W]*}/gm),pZ=na(/^data-[\-\w.\u00B7-\uFFFF]/),hZ=na(/^aria-[\-\w]+$/),_E=na(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),yZ=na(/^(?:\w+script|data):/i),bZ=na(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),UE=na(/^html$/i),BE=Object.freeze({__proto__:null,MUSTACHE_EXPR:gZ,ERB_EXPR:mZ,TMPLIT_EXPR:fZ,DATA_ATTR:pZ,ARIA_ATTR:hZ,IS_ALLOWED_URI:_E,IS_SCRIPT_OR_DATA:yZ,ATTR_WHITESPACE:bZ,DOCTYPE_NAME:UE}),vZ=()=>typeof window>"u"?null:window,xZ=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 jE(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:vZ(),t=Q=>jE(Q);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:l,NodeFilter:u,NamedNodeMap:d=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:g,DOMParser:m,trustedTypes:f}=e,p=l.prototype,h=dp(p,"cloneNode"),x=dp(p,"nextSibling"),y=dp(p,"childNodes"),b=dp(p,"parentNode");if(typeof o=="function"){let Q=i.createElement("template");Q.content&&Q.content.ownerDocument&&(i=Q.content.ownerDocument)}let v,C="",{implementation:S,createNodeIterator:T,createDocumentFragment:w,getElementsByTagName:E}=i,{importNode:k}=n,D={};t.isSupported=typeof OE=="function"&&typeof b=="function"&&S&&S.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:U,ERB_EXPR:B,TMPLIT_EXPR:P,DATA_ATTR:O,ARIA_ATTR:F,IS_SCRIPT_OR_DATA:L,ATTR_WHITESPACE:R}=BE,{IS_ALLOWED_URI:A}=BE,j=null,V=ft({},[...PE,...qy,...Ky,...Qy,...RE]),G=null,K=ft({},[...NE,...Yy,...FE,...gp]),q=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}})),Z=null,ne=null,Y=!0,oe=!0,Me=!1,Ce=!0,ue=!1,ge=!1,me=!1,he=!1,te=!1,Re=!1,ye=!1,ce=!0,se=!1,we="user-content-",qe=!0,fe=!1,ze={},Ee=null,tt=ft({},["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"]),Xe=null,Dt=ft({},["audio","video","img","source","image","track"]),hr=null,Ki=ft({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),xn="http://www.w3.org/1998/Math/MathML",yr="http://www.w3.org/2000/svg",br="http://www.w3.org/1999/xhtml",ti=br,$a=!1,eo=null,Hs=ft({},[xn,yr,br],Wy),Pr,to=["application/xhtml+xml","text/html"],cn="text/html",Ht,ni=null,Ij=i.createElement("form"),EC=function(Q){return Q instanceof RegExp||Q instanceof Function},C3=function(Q){if(!(ni&&ni===Q)){if((!Q||typeof Q!="object")&&(Q={}),Q=Ou(Q),Pr=to.indexOf(Q.PARSER_MEDIA_TYPE)===-1?Pr=cn:Pr=Q.PARSER_MEDIA_TYPE,Ht=Pr==="application/xhtml+xml"?Wy:mp,j="ALLOWED_TAGS"in Q?ft({},Q.ALLOWED_TAGS,Ht):V,G="ALLOWED_ATTR"in Q?ft({},Q.ALLOWED_ATTR,Ht):K,eo="ALLOWED_NAMESPACES"in Q?ft({},Q.ALLOWED_NAMESPACES,Wy):Hs,hr="ADD_URI_SAFE_ATTR"in Q?ft(Ou(Ki),Q.ADD_URI_SAFE_ATTR,Ht):Ki,Xe="ADD_DATA_URI_TAGS"in Q?ft(Ou(Dt),Q.ADD_DATA_URI_TAGS,Ht):Dt,Ee="FORBID_CONTENTS"in Q?ft({},Q.FORBID_CONTENTS,Ht):tt,Z="FORBID_TAGS"in Q?ft({},Q.FORBID_TAGS,Ht):{},ne="FORBID_ATTR"in Q?ft({},Q.FORBID_ATTR,Ht):{},ze="USE_PROFILES"in Q?Q.USE_PROFILES:!1,Y=Q.ALLOW_ARIA_ATTR!==!1,oe=Q.ALLOW_DATA_ATTR!==!1,Me=Q.ALLOW_UNKNOWN_PROTOCOLS||!1,Ce=Q.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ue=Q.SAFE_FOR_TEMPLATES||!1,ge=Q.WHOLE_DOCUMENT||!1,te=Q.RETURN_DOM||!1,Re=Q.RETURN_DOM_FRAGMENT||!1,ye=Q.RETURN_TRUSTED_TYPE||!1,he=Q.FORCE_BODY||!1,ce=Q.SANITIZE_DOM!==!1,se=Q.SANITIZE_NAMED_PROPS||!1,qe=Q.KEEP_CONTENT!==!1,fe=Q.IN_PLACE||!1,A=Q.ALLOWED_URI_REGEXP||_E,ti=Q.NAMESPACE||br,q=Q.CUSTOM_ELEMENT_HANDLING||{},Q.CUSTOM_ELEMENT_HANDLING&&EC(Q.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(q.tagNameCheck=Q.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Q.CUSTOM_ELEMENT_HANDLING&&EC(Q.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(q.attributeNameCheck=Q.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Q.CUSTOM_ELEMENT_HANDLING&&typeof Q.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(q.allowCustomizedBuiltInElements=Q.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ue&&(oe=!1),Re&&(te=!0),ze&&(j=ft({},[...RE]),G=[],ze.html===!0&&(ft(j,PE),ft(G,NE)),ze.svg===!0&&(ft(j,qy),ft(G,Yy),ft(G,gp)),ze.svgFilters===!0&&(ft(j,Ky),ft(G,Yy),ft(G,gp)),ze.mathMl===!0&&(ft(j,Qy),ft(G,FE),ft(G,gp))),Q.ADD_TAGS&&(j===V&&(j=Ou(j)),ft(j,Q.ADD_TAGS,Ht)),Q.ADD_ATTR&&(G===K&&(G=Ou(G)),ft(G,Q.ADD_ATTR,Ht)),Q.ADD_URI_SAFE_ATTR&&ft(hr,Q.ADD_URI_SAFE_ATTR,Ht),Q.FORBID_CONTENTS&&(Ee===tt&&(Ee=Ou(Ee)),ft(Ee,Q.FORBID_CONTENTS,Ht)),qe&&(j["#text"]=!0),ge&&ft(j,["html","head","body"]),j.table&&(ft(j,["tbody"]),delete Z.tbody),Q.TRUSTED_TYPES_POLICY){if(typeof Q.TRUSTED_TYPES_POLICY.createHTML!="function")throw Cg('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Q.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Cg('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');v=Q.TRUSTED_TYPES_POLICY,C=v.createHTML("")}else v===void 0&&(v=xZ(f,r)),v!==null&&typeof C=="string"&&(C=v.createHTML(""));Hr&&Hr(Q),ni=Q}},AC=ft({},["mi","mo","mn","ms","mtext"]),kC=ft({},["foreignobject","desc","title","annotation-xml"]),Lj=ft({},["title","style","font","a","script"]),ym=ft({},qy);ft(ym,Ky),ft(ym,cZ);let T3=ft({},Qy);ft(T3,dZ);let Dj=function(Q){let Oe=b(Q);(!Oe||!Oe.tagName)&&(Oe={namespaceURI:ti,tagName:"template"});let Le=mp(Q.tagName),_t=mp(Oe.tagName);return eo[Q.namespaceURI]?Q.namespaceURI===yr?Oe.namespaceURI===br?Le==="svg":Oe.namespaceURI===xn?Le==="svg"&&(_t==="annotation-xml"||AC[_t]):!!ym[Le]:Q.namespaceURI===xn?Oe.namespaceURI===br?Le==="math":Oe.namespaceURI===yr?Le==="math"&&kC[_t]:!!T3[Le]:Q.namespaceURI===br?Oe.namespaceURI===yr&&!kC[_t]||Oe.namespaceURI===xn&&!AC[_t]?!1:!T3[Le]&&(Lj[Le]||!ym[Le]):!!(Pr==="application/xhtml+xml"&&eo[Q.namespaceURI]):!1},Yl=function(Q){xg(t.removed,{element:Q});try{Q.parentNode.removeChild(Q)}catch{Q.remove()}},S3=function(Q,Oe){try{xg(t.removed,{attribute:Oe.getAttributeNode(Q),from:Oe})}catch{xg(t.removed,{attribute:null,from:Oe})}if(Oe.removeAttribute(Q),Q==="is"&&!G[Q])if(te||Re)try{Yl(Oe)}catch{}else try{Oe.setAttribute(Q,"")}catch{}},MC=function(Q){let Oe,Le;if(he)Q="<remove></remove>"+Q;else{let Rr=oZ(Q,/^[\r\n\t ]+/);Le=Rr&&Rr[0]}Pr==="application/xhtml+xml"&&ti===br&&(Q='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+Q+"</body></html>");let _t=v?v.createHTML(Q):Q;if(ti===br)try{Oe=new m().parseFromString(_t,Pr)}catch{}if(!Oe||!Oe.documentElement){Oe=S.createDocument(ti,"template",null);try{Oe.documentElement.innerHTML=$a?C:_t}catch{}}let Rn=Oe.body||Oe.documentElement;return Q&&Le&&Rn.insertBefore(i.createTextNode(Le),Rn.childNodes[0]||null),ti===br?E.call(Oe,ge?"html":"body")[0]:ge?Oe.documentElement:Rn},IC=function(Q){return T.call(Q.ownerDocument||Q,Q,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},Pj=function(Q){return Q instanceof g&&(typeof Q.nodeName!="string"||typeof Q.textContent!="string"||typeof Q.removeChild!="function"||!(Q.attributes instanceof d)||typeof Q.removeAttribute!="function"||typeof Q.setAttribute!="function"||typeof Q.namespaceURI!="string"||typeof Q.insertBefore!="function"||typeof Q.hasChildNodes!="function")},bm=function(Q){return typeof s=="object"?Q instanceof s:Q&&typeof Q=="object"&&typeof Q.nodeType=="number"&&typeof Q.nodeName=="string"},no=function(Q,Oe,Le){D[Q]&&aZ(D[Q],_t=>{_t.call(t,Oe,Le,ni)})},LC=function(Q){let Oe;if(no("beforeSanitizeElements",Q,null),Pj(Q))return Yl(Q),!0;let Le=Ht(Q.nodeName);if(no("uponSanitizeElement",Q,{tagName:Le,allowedTags:j}),Q.hasChildNodes()&&!bm(Q.firstElementChild)&&(!bm(Q.content)||!bm(Q.content.firstElementChild))&&ui(/<[/\w]/g,Q.innerHTML)&&ui(/<[/\w]/g,Q.textContent))return Yl(Q),!0;if(!j[Le]||Z[Le]){if(!Z[Le]&&PC(Le)&&(q.tagNameCheck instanceof RegExp&&ui(q.tagNameCheck,Le)||q.tagNameCheck instanceof Function&&q.tagNameCheck(Le)))return!1;if(qe&&!Ee[Le]){let _t=b(Q)||Q.parentNode,Rn=y(Q)||Q.childNodes;if(Rn&&_t){let Rr=Rn.length;for(let Yr=Rr-1;Yr>=0;--Yr)_t.insertBefore(h(Rn[Yr],!0),x(Q))}}return Yl(Q),!0}return Q instanceof l&&!Dj(Q)||(Le==="noscript"||Le==="noembed")&&ui(/<\/no(script|embed)/i,Q.innerHTML)?(Yl(Q),!0):(ue&&Q.nodeType===3&&(Oe=Q.textContent,Oe=ta(Oe,U," "),Oe=ta(Oe,B," "),Oe=ta(Oe,P," "),Q.textContent!==Oe&&(xg(t.removed,{element:Q.cloneNode()}),Q.textContent=Oe)),no("afterSanitizeElements",Q,null),!1)},DC=function(Q,Oe,Le){if(ce&&(Oe==="id"||Oe==="name")&&(Le in i||Le in Ij))return!1;if(!(oe&&!ne[Oe]&&ui(O,Oe))&&!(Y&&ui(F,Oe))){if(!G[Oe]||ne[Oe]){if(!(PC(Q)&&(q.tagNameCheck instanceof RegExp&&ui(q.tagNameCheck,Q)||q.tagNameCheck instanceof Function&&q.tagNameCheck(Q))&&(q.attributeNameCheck instanceof RegExp&&ui(q.attributeNameCheck,Oe)||q.attributeNameCheck instanceof Function&&q.attributeNameCheck(Oe))||Oe==="is"&&q.allowCustomizedBuiltInElements&&(q.tagNameCheck instanceof RegExp&&ui(q.tagNameCheck,Le)||q.tagNameCheck instanceof Function&&q.tagNameCheck(Le))))return!1}else if(!hr[Oe]&&!ui(A,ta(Le,R,""))&&!((Oe==="src"||Oe==="xlink:href"||Oe==="href")&&Q!=="script"&&sZ(Le,"data:")===0&&Xe[Q])&&!(Me&&!ui(L,ta(Le,R,"")))&&Le)return!1}return!0},PC=function(Q){return Q.indexOf("-")>0},RC=function(Q){let Oe,Le,_t,Rn;no("beforeSanitizeAttributes",Q,null);let{attributes:Rr}=Q;if(!Rr)return;let Yr={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:G};for(Rn=Rr.length;Rn--;){Oe=Rr[Rn];let{name:Gn,namespaceURI:Zl}=Oe;if(Le=Gn==="value"?Oe.value:lZ(Oe.value),_t=Ht(Gn),Yr.attrName=_t,Yr.attrValue=Le,Yr.keepAttr=!0,Yr.forceKeepAttr=void 0,no("uponSanitizeAttribute",Q,Yr),Le=Yr.attrValue,Yr.forceKeepAttr||(S3(Gn,Q),!Yr.keepAttr))continue;if(!Ce&&ui(/\/>/i,Le)){S3(Gn,Q);continue}ue&&(Le=ta(Le,U," "),Le=ta(Le,B," "),Le=ta(Le,P," "));let NC=Ht(Q.nodeName);if(DC(NC,_t,Le)){if(se&&(_t==="id"||_t==="name")&&(S3(Gn,Q),Le=we+Le),v&&typeof f=="object"&&typeof f.getAttributeType=="function"&&!Zl)switch(f.getAttributeType(NC,_t)){case"TrustedHTML":{Le=v.createHTML(Le);break}case"TrustedScriptURL":{Le=v.createScriptURL(Le);break}}try{Zl?Q.setAttributeNS(Zl,Gn,Le):Q.setAttribute(Gn,Le),DE(t.removed)}catch{}}}no("afterSanitizeAttributes",Q,null)},Rj=function Q(Oe){let Le,_t=IC(Oe);for(no("beforeSanitizeShadowDOM",Oe,null);Le=_t.nextNode();)no("uponSanitizeShadowNode",Le,null),!LC(Le)&&(Le.content instanceof a&&Q(Le.content),RC(Le));no("afterSanitizeShadowDOM",Oe,null)};return t.sanitize=function(Q){let Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Le,_t,Rn,Rr;if($a=!Q,$a&&(Q="<!-->"),typeof Q!="string"&&!bm(Q))if(typeof Q.toString=="function"){if(Q=Q.toString(),typeof Q!="string")throw Cg("dirty is not a string, aborting")}else throw Cg("toString is not a function");if(!t.isSupported)return Q;if(me||C3(Oe),t.removed=[],typeof Q=="string"&&(fe=!1),fe){if(Q.nodeName){let Zl=Ht(Q.nodeName);if(!j[Zl]||Z[Zl])throw Cg("root node is forbidden and cannot be sanitized in-place")}}else if(Q instanceof s)Le=MC("<!---->"),_t=Le.ownerDocument.importNode(Q,!0),_t.nodeType===1&&_t.nodeName==="BODY"||_t.nodeName==="HTML"?Le=_t:Le.appendChild(_t);else{if(!te&&!ue&&!ge&&Q.indexOf("<")===-1)return v&&ye?v.createHTML(Q):Q;if(Le=MC(Q),!Le)return te?null:ye?C:""}Le&&he&&Yl(Le.firstChild);let Yr=IC(fe?Q:Le);for(;Rn=Yr.nextNode();)LC(Rn)||(Rn.content instanceof a&&Rj(Rn.content),RC(Rn));if(fe)return Q;if(te){if(Re)for(Rr=w.call(Le.ownerDocument);Le.firstChild;)Rr.appendChild(Le.firstChild);else Rr=Le;return(G.shadowroot||G.shadowrootmod)&&(Rr=k.call(n,Rr,!0)),Rr}let Gn=ge?Le.outerHTML:Le.innerHTML;return ge&&j["!doctype"]&&Le.ownerDocument&&Le.ownerDocument.doctype&&Le.ownerDocument.doctype.name&&ui(UE,Le.ownerDocument.doctype.name)&&(Gn="<!DOCTYPE "+Le.ownerDocument.doctype.name+`>
`+Gn),ue&&(Gn=ta(Gn,U," "),Gn=ta(Gn,B," "),Gn=ta(Gn,P," ")),v&&ye?v.createHTML(Gn):Gn},t.setConfig=function(Q){C3(Q),me=!0},t.clearConfig=function(){ni=null,me=!1},t.isValidAttribute=function(Q,Oe,Le){ni||C3({});let _t=Ht(Q),Rn=Ht(Oe);return DC(_t,Rn,Le)},t.addHook=function(Q,Oe){typeof Oe=="function"&&(D[Q]=D[Q]||[],xg(D[Q],Oe))},t.removeHook=function(Q){if(D[Q])return DE(D[Q])},t.removeHooks=function(Q){D[Q]&&(D[Q]=[])},t.removeAllHooks=function(){D={}},t}var ht=jE();var CZ=Object.create,$y=Object.defineProperty,TZ=Object.getOwnPropertyDescriptor,SZ=Object.getOwnPropertyNames,wZ=Object.getPrototypeOf,EZ=Object.prototype.hasOwnProperty,eb=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),AZ=(e,t)=>{for(var n in t)$y(e,n,{get:t[n],enumerable:!0})},Xy=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of SZ(t))!EZ.call(e,i)&&i!==n&&$y(e,i,{get:()=>t[i],enumerable:!(r=TZ(t,i))||r.enumerable});return e},kZ=(e,t,n)=>(Xy(e,t,"default"),n&&Xy(n,t,"default")),HE=(e,t,n)=>(n=e!=null?CZ(wZ(e)):{},Xy(t||!e||!e.__esModule?$y(n,"default",{value:e,enumerable:!0}):n,e)),MZ=eb((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(l){return`${l.name}="${l.value}"`}).join(" ");return`<${o.localName} ${s}>`};this.log=function(){if(typeof console<"u")Array.from(arguments,l=>l&&l.nodeType==this.ELEMENT_NODE?a(l):l).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(u){if(i==a&&u.charAt(0)=="#")return u;try{return new URL(u,i).href}catch{}return u}var s=this._getAllNodesWithTag(r,["a"]);this._forEachNode(s,function(u){var d=u.getAttribute("href");if(d)if(d.indexOf("javascript:")===0)if(u.childNodes.length===1&&u.childNodes[0].nodeType===this.TEXT_NODE){var g=this._doc.createTextNode(u.textContent);u.parentNode.replaceChild(g,u)}else{for(var m=this._doc.createElement("span");u.firstChild;)m.appendChild(u.firstChild);u.parentNode.replaceChild(m,u)}else u.setAttribute("href",o(d))});var l=this._getAllNodesWithTag(r,["img","picture","figure","video","audio","source"]);this._forEachNode(l,function(u){var d=u.getAttribute("src"),g=u.getAttribute("poster"),m=u.getAttribute("srcset");if(d&&u.setAttribute("src",o(d)),g&&u.setAttribute("poster",o(g)),m){var f=m.replace(this.REGEXPS.srcsetUrl,function(p,h,x,y){return o(h)+(x||"")+y});u.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 l=this._concatNodeLists(r.getElementsByTagName("h1"),r.getElementsByTagName("h2")),u=i.trim(),d=this._someNode(l,function(f){return f.textContent.trim()===u});d||(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 g=r.getElementsByTagName("h1");g.length===1&&(i=this._getInnerText(g[0]))}i=i.trim().replace(this.REGEXPS.normalize," ");var m=s(i);return m<=4&&(!o||m!=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 l=this._doc.createElement("p");for(i.parentNode.replaceChild(l,i),a=l.nextSibling;a;){if(a.tagName=="BR"){var u=this._nextNode(a.nextSibling);if(u&&u.tagName=="BR")break}if(!this._isPhrasingContent(a))break;var d=a.nextSibling;l.appendChild(a),a=d}for(;l.lastChild&&this._isWhitespace(l.lastChild);)l.removeChild(l.lastChild);l.parentNode.tagName==="P"&&this._setNodeTag(l.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,l=a.getElementsByTagName("object").length,u=a.getElementsByTagName("iframe").length,d=o+s+l+u;return d===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 l=s.firstElementChild;l=this._setNodeTag(l,this._everyNode(l.childNodes,this._isPhrasingContent)?"P":"DIV"),a.parentNode.replaceChild(l,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(u=>!a.includes(u)),l=s.join(" ").length/o.join(" ").length;return 1-l},_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),l=[],u=this._doc.documentElement;let he=!0;for(;u;){u.tagName==="HTML"&&(this._articleLang=u.getAttribute("lang"));var d=u.className+" "+u.id;if(!this._isProbablyVisible(u)){this.log("Removing hidden node - "+d),u=this._removeAndGetNext(u);continue}if(u.getAttribute("aria-modal")=="true"&&u.getAttribute("role")=="dialog"){u=this._removeAndGetNext(u);continue}if(this._checkByline(u,d)){u=this._removeAndGetNext(u);continue}if(he&&this._headerDuplicatesTitle(u)){this.log("Removing header: ",u.textContent.trim(),this._articleTitle.trim()),he=!1,u=this._removeAndGetNext(u);continue}if(s){if(this.REGEXPS.unlikelyCandidates.test(d)&&!this.REGEXPS.okMaybeItsACandidate.test(d)&&!this._hasAncestorTag(u,"table")&&!this._hasAncestorTag(u,"code")&&u.tagName!=="BODY"&&u.tagName!=="A"){this.log("Removing unlikely candidate - "+d),u=this._removeAndGetNext(u);continue}if(this.UNLIKELY_ROLES.includes(u.getAttribute("role"))){this.log("Removing content with role "+u.getAttribute("role")+" - "+d),u=this._removeAndGetNext(u);continue}}if((u.tagName==="DIV"||u.tagName==="SECTION"||u.tagName==="HEADER"||u.tagName==="H1"||u.tagName==="H2"||u.tagName==="H3"||u.tagName==="H4"||u.tagName==="H5"||u.tagName==="H6")&&this._isElementWithoutContent(u)){u=this._removeAndGetNext(u);continue}if(this.DEFAULT_TAGS_TO_SCORE.indexOf(u.tagName)!==-1&&l.push(u),u.tagName==="DIV"){for(var g=null,m=u.firstChild;m;){var f=m.nextSibling;if(this._isPhrasingContent(m))g!==null?g.appendChild(m):this._isWhitespace(m)||(g=i.createElement("p"),u.replaceChild(g,m),g.appendChild(m));else if(g!==null){for(;g.lastChild&&this._isWhitespace(g.lastChild);)g.removeChild(g.lastChild);g=null}m=f}if(this._hasSingleTagInsideElement(u,"P")&&this._getLinkDensity(u)<.25){var p=u.children[0];u.parentNode.replaceChild(p,u),u=p,l.push(u)}else this._hasChildBlockElement(u)||(u=this._setNodeTag(u,"P"),l.push(u))}u=this._getNextNode(u)}var h=[];this._forEachNode(l,function(te){if(!(!te.parentNode||typeof te.parentNode.tagName>"u")){var Re=this._getInnerText(te);if(!(Re.length<25)){var ye=this._getNodeAncestors(te,5);if(ye.length!==0){var ce=0;ce+=1,ce+=Re.split(",").length,ce+=Math.min(Math.floor(Re.length/100),3),this._forEachNode(ye,function(se,we){if(!(!se.tagName||!se.parentNode||typeof se.parentNode.tagName>"u")){if(typeof se.readability>"u"&&(this._initializeNode(se),h.push(se)),we===0)var qe=1;else we===1?qe=2:qe=we*3;se.readability.contentScore+=ce/qe}})}}}});for(var x=[],y=0,b=h.length;y<b;y+=1){var v=h[y],C=v.readability.contentScore*(1-this._getLinkDensity(v));v.readability.contentScore=C,this.log("Candidate:",v,"with score "+C);for(var S=0;S<this._nbTopCandidates;S++){var T=x[S];if(!T||C>T.readability.contentScore){x.splice(S,0,v),x.length>this._nbTopCandidates&&x.pop();break}}}var w=x[0]||null,E=!1,k;if(w===null||w.tagName==="BODY"){for(w=i.createElement("DIV"),E=!0;r.firstChild;)this.log("Moving child out:",r.firstChild),w.appendChild(r.firstChild);r.appendChild(w),this._initializeNode(w)}else if(w){for(var D=[],U=1;U<x.length;U++)x[U].readability.contentScore/w.readability.contentScore>=.75&&D.push(this._getNodeAncestors(x[U]));var B=3;if(D.length>=B)for(k=w.parentNode;k.tagName!=="BODY";){for(var P=0,O=0;O<D.length&&P<B;O++)P+=Number(D[O].includes(k));if(P>=B){w=k;break}k=k.parentNode}w.readability||this._initializeNode(w),k=w.parentNode;for(var F=w.readability.contentScore,L=F/3;k.tagName!=="BODY";){if(!k.readability){k=k.parentNode;continue}var R=k.readability.contentScore;if(R<L)break;if(R>F){w=k;break}F=k.readability.contentScore,k=k.parentNode}for(k=w.parentNode;k.tagName!="BODY"&&k.children.length==1;)w=k,k=w.parentNode;w.readability||this._initializeNode(w)}var A=i.createElement("DIV");a&&(A.id="readability-content");var j=Math.max(10,w.readability.contentScore*.2);k=w.parentNode;for(var V=k.children,G=0,K=V.length;G<K;G++){var q=V[G],Z=!1;if(this.log("Looking at sibling node:",q,q.readability?"with score "+q.readability.contentScore:""),this.log("Sibling has score",q.readability?q.readability.contentScore:"Unknown"),q===w)Z=!0;else{var ne=0;if(q.className===w.className&&w.className!==""&&(ne+=w.readability.contentScore*.2),q.readability&&q.readability.contentScore+ne>=j)Z=!0;else if(q.nodeName==="P"){var Y=this._getLinkDensity(q),oe=this._getInnerText(q),Me=oe.length;(Me>80&&Y<.25||Me<80&&Me>0&&Y===0&&oe.search(/\.( |$)/)!==-1)&&(Z=!0)}}Z&&(this.log("Appending node:",q),this.ALTER_TO_DIV_EXCEPTIONS.indexOf(q.nodeName)===-1&&(this.log("Altering sibling:",q,"to div."),q=this._setNodeTag(q,"DIV")),A.appendChild(q),V=k.children,G-=1,K-=1)}if(this._debug&&this.log("Article content pre-prep: "+A.innerHTML),this._prepArticle(A),this._debug&&this.log("Article content post-prep: "+A.innerHTML),E)w.id="readability-page-1",w.className="page";else{var Ce=i.createElement("DIV");for(Ce.id="readability-page-1",Ce.className="page";A.firstChild;)Ce.appendChild(A.firstChild);A.appendChild(Ce)}this._debug&&this.log("Article content after paging: "+A.innerHTML);var ue=!0,ge=this._getInnerText(A,!0).length;if(ge<this._charThreshold)if(ue=!1,r.innerHTML=o,this._flagIsActive(this.FLAG_STRIP_UNLIKELYS))this._removeFlag(this.FLAG_STRIP_UNLIKELYS),this._attempts.push({articleContent:A,textLength:ge});else if(this._flagIsActive(this.FLAG_WEIGHT_CLASSES))this._removeFlag(this.FLAG_WEIGHT_CLASSES),this._attempts.push({articleContent:A,textLength:ge});else if(this._flagIsActive(this.FLAG_CLEAN_CONDITIONALLY))this._removeFlag(this.FLAG_CLEAN_CONDITIONALLY),this._attempts.push({articleContent:A,textLength:ge});else{if(this._attempts.push({articleContent:A,textLength:ge}),this._attempts.sort(function(te,Re){return Re.textLength-te.textLength}),!this._attempts[0].textLength)return null;A=this._attempts[0].articleContent,ue=!0}if(ue){var me=[k,w].concat(this._getNodeAncestors(k));return this._someNode(me,function(te){if(!te.tagName)return!1;var Re=te.getAttribute("dir");return Re?(this._articleDir=Re,!0):!1}),A}}},_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 l=parseInt(o||s,o?16:10);return String.fromCharCode(l)})},_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,""),l=JSON.parse(s);if(!l["@context"]||!l["@context"].match(/^https?\:\/\/schema\.org$/)||(!l["@type"]&&Array.isArray(l["@graph"])&&(l=l["@graph"].find(function(m){return(m["@type"]||"").match(this.REGEXPS.jsonLdArticleTypes)})),!l||!l["@type"]||!l["@type"].match(this.REGEXPS.jsonLdArticleTypes)))return;if(a={},typeof l.name=="string"&&typeof l.headline=="string"&&l.name!==l.headline){var u=this._getArticleTitle(),d=this._textSimilarity(l.name,u)>.75,g=this._textSimilarity(l.headline,u)>.75;g&&!d?a.title=l.headline:a.title=l.name}else typeof l.name=="string"?a.title=l.name.trim():typeof l.headline=="string"&&(a.title=l.headline.trim());l.author&&(typeof l.author.name=="string"?a.byline=l.author.name.trim():Array.isArray(l.author)&&l.author[0]&&typeof l.author[0].name=="string"&&(a.byline=l.author.filter(function(m){return m&&typeof m.name=="string"}).map(function(m){return m.name.trim()}).join(", "))),typeof l.description=="string"&&(a.excerpt=l.description.trim()),l.publisher&&typeof l.publisher.name=="string"&&(a.siteName=l.publisher.name.trim());return}catch(m){this.log(m.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,l=/^\s*(?:(dc|dcterm|og|twitter|weibo:(article|webpage))\s*[\.:]\s*)?(author|creator|description|title|site_name)\s*$/i;return this._forEachNode(o,function(u){var d=u.getAttribute("name"),g=u.getAttribute("property"),m=u.getAttribute("content");if(m){var f=null,p=null;g&&(f=g.match(s),f&&(p=f[0].toLowerCase().replace(/\s/g,""),a[p]=m.trim())),!f&&d&&l.test(d)&&(p=d,m&&(p=p.toLowerCase().replace(/\s/g,"").replace(/\./g,":"),a[p]=m.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 l=o.attributes[s];switch(l.name){case"src":case"srcset":case"data-src":case"data-srcset":return}if(/\.(jpg|jpeg|png|webp)/i.test(l.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 l=o.previousElementSibling;if(l&&this._isSingleImage(l)){var u=l;u.tagName!=="IMG"&&(u=l.getElementsByTagName("img")[0]);for(var d=s.getElementsByTagName("img")[0],g=0;g<u.attributes.length;g++){var m=u.attributes[g];if(m.value!==""&&(m.name==="src"||m.name==="srcset"||/\.(jpg|jpeg|png|webp)/i.test(m.value))){if(d.getAttribute(m.name)===m.value)continue;var f=m.name;d.hasAttribute(f)&&(f="data-old-"+f),d.setAttribute(f,m.value)}}o.parentNode.replaceChild(s.firstElementChild,l)}}})},_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"),l=s&&this.REGEXPS.hashUrl.test(s)?.3:1;a+=this._getInnerText(o).length*l}),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 l=o[s].getAttribute("rowspan")||0;l&&(l=parseInt(l,10)),i+=l||1;for(var u=0,d=o[s].getElementsByTagName("td"),g=0;g<d.length;g++){var m=d[g].getAttribute("colspan")||0;m&&(m=parseInt(m,10)),u+=m||1}a=Math.max(a,u)}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 l=o.getAttribute("datatable");if(l=="0"){o._readabilityDataTable=!1;continue}var u=o.getAttribute("summary");if(u){o._readabilityDataTable=!0;continue}var d=o.getElementsByTagName("caption")[0];if(d&&d.childNodes.length>0){o._readabilityDataTable=!0;continue}var g=["col","colgroup","tfoot","thead","th"],m=function(p){return!!o.getElementsByTagName(p)[0]};if(g.some(m)){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 l=i.attributes[s];if(l.name!=="src"&&/\.(jpg|jpeg|png|webp)/i.test(l.value)){o=!0;break}}if(o){var u=i.src.search(/base64\s*/i)+7,d=i.src.length-u;d<133&&i.removeAttribute("src")}}if(!((i.src||i.srcset&&i.srcset!="null")&&i.className.toLowerCase().indexOf("lazy")===-1)){for(var g=0;g<i.attributes.length;g++)if(l=i.attributes[g],!(l.name==="src"||l.name==="srcset"||l.name==="alt")){var m=null;if(/\.(jpg|jpeg|png|webp)\s+\d/.test(l.value)?m="srcset":/^\s*\S+\.(jpg|jpeg|png|webp)\S*\s*$/.test(l.value)&&(m="src"),m){if(i.tagName==="IMG"||i.tagName==="PICTURE")i.setAttribute(m,l.value);else if(i.tagName==="FIGURE"&&!this._getAllNodesWithTag(i,["img","picture"]).length){var f=this._doc.createElement("img");f.setAttribute(m,l.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,l=>o+=this._getInnerText(l,!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(k){return k._readabilityDataTable},s=i==="ul"||i==="ol";if(!s){var l=0,u=this._getAllNodesWithTag(a,["ul","ol"]);this._forEachNode(u,k=>l+=this._getInnerText(k).length),s=l/this._getInnerText(a).length>.9}if(i==="table"&&o(a)||this._hasAncestorTag(a,"table",-1,o)||this._hasAncestorTag(a,"code"))return!1;var d=this._getClassWeight(a);this.log("Cleaning Conditionally",a);var g=0;if(d+g<0)return!0;if(this._getCharCount(a,",")<10){for(var m=a.getElementsByTagName("p").length,f=a.getElementsByTagName("img").length,p=a.getElementsByTagName("li").length-100,h=a.getElementsByTagName("input").length,x=this._getTextDensity(a,["h1","h2","h3","h4","h5","h6"]),y=0,b=this._getAllNodesWithTag(a,["object","embed","iframe"]),v=0;v<b.length;v++){for(var C=0;C<b[v].attributes.length;C++)if(this._allowedVideoRegex.test(b[v].attributes[C].value))return!1;if(b[v].tagName==="object"&&this._allowedVideoRegex.test(b[v].innerHTML))return!1;y++}var S=this._getLinkDensity(a),T=this._getInnerText(a).length,w=f>1&&m/f<.5&&!this._hasAncestorTag(a,"figure")||!s&&p>m||h>Math.floor(m/3)||!s&&x<.9&&T<25&&(f===0||f>2)&&!this._hasAncestorTag(a,"figure")||!s&&d<25&&S>.2||d>=25&&S>.5||y===1&&T<75||y>1;if(s&&w){for(var E=0;E<a.children.length;E++)if(a.children[E].children.length>1)return w;let k=a.getElementsByTagName("li").length;if(f==k)return!1}return w}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 l=o.textContent;return{title:this._articleTitle,byline:a.byline||this._articleByline,dir:this._articleDir,lang:this._articleLang,content:this._serializer(o),textContent:l,length:l.length,excerpt:a.excerpt,siteName:a.siteName||this._articleSiteName}}},typeof t=="object"&&(t.exports=n)}),IZ=eb((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 l=a.querySelectorAll("p, pre, article"),u=a.querySelectorAll("div > br");if(u.length){var d=new Set(l);[].forEach.call(u,function(m){d.add(m.parentNode)}),l=Array.from(d)}var g=0;return[].some.call(l,function(m){if(!o.visibilityChecker(m))return!1;var f=m.className+" "+m.id;if(n.unlikelyCandidates.test(f)&&!n.okMaybeItsACandidate.test(f)||m.matches("li p"))return!1;var p=m.textContent.trim().length;return p<o.minContentLength?!1:(g+=Math.sqrt(p-o.minContentLength),g>o.minScore)})}typeof t=="object"&&(t.exports=i)}),VE=eb((e,t)=>{var n=MZ(),r=IZ();t.exports={Readability:n,isProbablyReaderable:r}}),GE={};AZ(GE,{Readability:()=>fp,default:()=>KE,isProbablyReaderable:()=>qE});var WE=HE(VE());kZ(GE,HE(VE()));var{Readability:fp,isProbablyReaderable:qE}=WE,{default:zE,...LZ}=WE,KE=zE!==void 0?zE:LZ;var QE=class extends Error{constructor(e,t){super(e),this.name="ParseError",this.type=t.type,this.field=t.field,this.value=t.value,this.line=t.line}};function tb(e){}function nb(e){if(typeof e=="function")throw new TypeError("`callbacks` must be an object, got a function instead. Did you mean `{onEvent: fn}`?");let{onEvent:t=tb,onError:n=tb,onRetry:r=tb,onComment:i}=e,a="",o=!0,s,l="",u="";function d(h){let x=o?h.replace(/^\xEF\xBB\xBF/,""):h,[y,b]=DZ(`${a}${x}`);for(let v of y)g(v);a=b,o=!1}function g(h){if(h===""){f();return}if(h.startsWith(":")){i&&i(h.slice(h.startsWith(": ")?2:1));return}let x=h.indexOf(":");if(x!==-1){let y=h.slice(0,x),b=h[x+1]===" "?2:1,v=h.slice(x+b);m(y,v,h);return}m(h,"",h)}function m(h,x,y){switch(h){case"event":u=x;break;case"data":l=`${l}${x}
`;break;case"id":s=x.includes("\0")?void 0:x;break;case"retry":/^\d+$/.test(x)?r(parseInt(x,10)):n(new QE(`Invalid \`retry\` value: "${x}"`,{type:"invalid-retry",value:x,line:y}));break;default:n(new QE(`Unknown field "${h.length>20?`${h.slice(0,20)}\u2026`:h}"`,{type:"unknown-field",field:h,value:x,line:y}));break}}function f(){l.length>0&&t({id:s,event:u||void 0,data:l.endsWith(`
`)?l.slice(0,-1):l}),s=void 0,l="",u=""}function p(h={}){a&&h.consume&&g(a),o=!0,s=void 0,l="",u="",a=""}return{feed:d,reset:p}}function DZ(e){let t=[],n="",r=0;for(;r<e.length;){let i=e.indexOf("\r",r),a=e.indexOf(`
`,r),o=-1;if(i!==-1&&a!==-1?o=Math.min(i,a):i!==-1?o=i:a!==-1&&(o=a),o===-1){n=e.slice(r);break}else{let s=e.slice(r,o);t.push(s),r=o+1,e[r-1]==="\r"&&e[r]===`
`&&r++}}return[t,n]}var PZ=Object.create,ib=Object.defineProperty,RZ=Object.getOwnPropertyDescriptor,NZ=Object.getOwnPropertyNames,FZ=Object.getPrototypeOf,BZ=Object.prototype.hasOwnProperty,OZ=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),_Z=(e,t)=>{for(var n in t)ib(e,n,{get:t[n],enumerable:!0})},rb=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of NZ(t))!BZ.call(e,i)&&i!==n&&ib(e,i,{get:()=>t[i],enumerable:!(r=RZ(t,i))||r.enumerable});return e},UZ=(e,t,n)=>(rb(e,t,"default"),n&&rb(n,t,"default")),ZE=(e,t,n)=>(n=e!=null?PZ(FZ(e)):{},rb(t||!e||!e.__esModule?ib(n,"default",{value:e,enumerable:!0}):n,e)),JE=OZ(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parse=void 0;function t(v){if(v!==void 0){if(v===null)return null;if(v==="")return"";v=v.replace(/\\+$/,C=>C.length%2===0?C:C.slice(0,-1));try{return JSON.parse(v)}catch(C){let[S,T]=v.trimLeft()[0]===":"?n(v,C):n(v,C,f);if(t.lastParseReminding=T,t.onExtraToken&&T.length>0){let w=T.trimRight();t.lastParseReminding=w,w.length>0&&t.onExtraToken(v,S,w)}return S}}}e.parse=t,function(v){v.onExtraToken=(C,S,T)=>{}}(t=e.parse||(e.parse={}));function n(v,C,S){let T=i[v[0]]||S;if(!T)throw C;return T(v,C)}function r(v,C,S){return v[0]==='"'?d(v):v[0]==="'"?m(v):f(v,C,S)}var i={};function a(v){return v.trimLeft()}i[" "]=o,i["\r"]=o,i[`
`]=o,i["	"]=o;function o(v,C){return v=a(v),n(v,C)}i["["]=s;function s(v,C){v=v.substr(1);let S=[];for(v=a(v);v.length>0;){if(v[0]==="]"){v=v.substr(1);break}let T=n(v,C,(w,E)=>f(w,E,[",","]"]));S.push(T[0]),v=T[1],v=a(v),v[0]===","&&(v=v.substring(1),v=a(v))}return[S,v]}for(let v of"0123456789.-".slice())i[v]=l;function l(v){for(let C=0;C<v.length;C++){let S=v[C];if(i[S]===l)continue;let T=v.substring(0,C);return v=v.substring(C),[u(T),v]}return[u(v),""]}function u(v){if(v==="-")return-0;let C=+v;return Number.isNaN(C)?v:C}i['"']=d;function d(v){for(let C=1;C<v.length;C++){let S=v[C];if(S==="\\"){C++;continue}if(S==='"'){let T=g(v.substring(0,C+1));return v=v.substring(C+1),[JSON.parse(T),v]}}return[JSON.parse(g(v)+'"'),""]}function g(v){return v.replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r")}i["'"]=m;function m(v){for(let C=1;C<v.length;C++){let S=v[C];if(S==="\\"){C++;continue}if(S==="'"){let T=g(v.substring(0,C+1));return v=v.substring(C+1),[JSON.parse('"'+T.slice(1,-1)+'"'),v]}}return[JSON.parse('"'+g(v.slice(1))+'"'),""]}function f(v,C,S=[" "]){let T=Math.min(...S.map(k=>{let D=v.indexOf(k);return D===-1?v.length:D})),w=v.substring(0,T).trim(),E=v.substring(T);return[w,E]}i["{"]=p;function p(v,C){v=v.substr(1);let S={};for(v=a(v);v.length>0;){if(v[0]==="}"){v=v.substr(1);break}let T=r(v,C,[":","}"]),w=T[0];if(v=T[1],v=a(v),v[0]!==":"){S[w]=void 0;break}if(v=v.substr(1),v=a(v),v.length===0){S[w]=void 0;break}let E=n(v,C);S[w]=E[0],v=E[1],v=a(v),v[0]===","&&(v=v.substr(1),v=a(v))}return[S,v]}i.t=h;function h(v,C){return b(v,"true",!0,C)}i.f=x;function x(v,C){return b(v,"false",!1,C)}i.n=y;function y(v,C){return b(v,"null",null,C)}function b(v,C,S,T){for(let w=C.length;w>=1;w--)if(v.startsWith(C.slice(0,w)))return[S,v.slice(w)];{let w=JSON.stringify(v.slice(0,C.length));throw T}}}),XE={};_Z(XE,{__esModule:()=>jZ,default:()=>eA,parse:()=>yo});var $E=ZE(JE());UZ(XE,ZE(JE()));var{__esModule:jZ,parse:yo}=$E,{default:YE,...zZ}=$E,eA=YE!==void 0?YE:zZ;function HZ(e,t){return e.endsWith(t)?e.length===t.length||e[e.length-t.length-1]===".":!1}function VZ(e,t){let n=e.length-t.length-2,r=e.lastIndexOf(".",n);return r===-1?e:e.slice(r+1)}function GZ(e,t,n){if(n.validHosts!==null){let i=n.validHosts;for(let a of i)if(HZ(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:VZ(t,e)}function WZ(e,t){return e.slice(0,-t.length-1)}function tA(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 u=e.indexOf(":/",n);if(u!==-1){let d=u-n,g=e.charCodeAt(n),m=e.charCodeAt(n+1),f=e.charCodeAt(n+2),p=e.charCodeAt(n+3),h=e.charCodeAt(n+4);if(!(d===5&&g===104&&m===116&&f===116&&p===112&&h===115)&&!(d===4&&g===104&&m===116&&f===116&&p===112)&&!(d===3&&g===119&&m===115&&f===115)&&!(d===2&&g===119&&m===115))for(let x=n;x<u;x+=1){let y=e.charCodeAt(x)|32;if(!(y>=97&&y<=122||y>=48&&y<=57||y===46||y===45||y===43))return null}for(n=u+2;e.charCodeAt(n)===47;)n+=1}}let o=-1,s=-1,l=-1;for(let u=n;u<r;u+=1){let d=e.charCodeAt(u);if(d===35||d===47||d===63){r=u;break}else d===64?o=u:d===93?s=u:d===58?l=u:d>=65&&d<=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;l!==-1&&l>n&&l<r&&(r=l)}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 qZ(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 KZ(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 QZ(e){return KZ(e)||qZ(e)}function nA(e){return e>=97&&e<=122||e>=48&&e<=57||e>127}function rA(e){if(e.length>255||e.length===0||!nA(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(!(nA(a)||a===45||a===95))return!1;n=a}return r-t-1<=63&&n!==45}function iA({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 YZ=iA({});function ZZ(e){return e===void 0?YZ:iA(e)}function JZ(e,t){return t.length===e.length?"":e.slice(0,-t.length-1)}function aA(){return{domain:null,domainWithoutSuffix:null,hostname:null,isIcann:null,isIp:null,isPrivate:null,publicSuffix:null,subdomain:null}}function oA(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 sA(e,t,n,r,i){let a=ZZ(r);return typeof e!="string"||(a.extractHostname?a.mixedInputs?i.hostname=tA(e,rA(e)):i.hostname=tA(e,!1):i.hostname=e,a.detectIp&&i.hostname!==null&&(i.isIp=QZ(i.hostname),i.isIp))?i:a.validateHostname&&a.extractHostname&&i.hostname!==null&&!rA(i.hostname)?(i.hostname=null,i):(t===0||i.hostname===null||(n(i.hostname,a,i),t===2||i.publicSuffix===null)||(i.domain=GZ(i.publicSuffix,i.hostname,a),t===3||i.domain===null)||(i.subdomain=JZ(i.hostname,i.domain),t===4)||(i.domainWithoutSuffix=WZ(i.domain,i.publicSuffix)),i)}function lA(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 XZ=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}]}]}]}]}]}]}(),$Z=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}],l=[1,{gov:e}],u=[0,{"transfer-webapp":t}],d=[0,{notebook:t,studio:t}],g=[0,{labeling:t,notebook:t,studio:t}],m=[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}],x=[1,{co:t}],y=[0,{objects:t}],b=[2,{nodes:t}],v=[0,{my:i}],C=[0,{s3:t,"s3-accesspoint":t,"s3-website":t}],S=[0,{s3:t,"s3-accesspoint":t}],T=[0,{direct:t}],w=[0,{"webview-assets":t}],E=[0,{vfs:t,"webview-assets":t}],k=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:C,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":w,cloud9:E}],D=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:S,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":w,cloud9:E}],U=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:C,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"analytics-gateway":t,"aws-cloud9":w,cloud9:E}],B=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:C,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t}],P=[0,{s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t,"s3-website":t}],O=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:P,s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":w,cloud9:E}],F=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:P,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":w,cloud9:E}],L=[0,{s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t}],R=[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}],A=[0,{auth:t}],j=[0,{auth:t,"auth-fips":t}],V=[0,{"auth-fips":t}],G=[0,{apps:t}],K=[0,{paas:t}],q=[2,{eu:t}],Z=[0,{app:t}],ne=[0,{site:t}],Y=[1,{com:e,edu:e,net:e,org:e}],oe=[0,{j:t}],Me=[0,{dyn:t}],Ce=[1,{co:e,com:e,edu:e,gov:e,net:e,org:e}],ue=[0,{p:t}],ge=[0,{user:t}],me=[0,{shop:t}],he=[0,{cdn:t}],te=[0,{cust:t,reservd:t}],Re=[0,{cust:t}],ye=[0,{s3:t}],ce=[1,{biz:e,com:e,edu:e,gov:e,info:e,net:e,org:e}],se=[0,{ipfs:t}],we=[1,{framer:t}],qe=[0,{forgot:t}],fe=[1,{gs:e}],ze=[0,{nes:e}],Ee=[1,{k12:e,cc:e,lib:e}],tt=[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:l,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:l,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:l,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:C,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:S,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":d,"cn-northwest-1":d}]}],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:v,myqnapcloud:t,quickconnect:T}],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":k,"ap-east-1":D,"ap-northeast-1":U,"ap-northeast-2":U,"ap-northeast-3":k,"ap-south-1":U,"ap-south-2":B,"ap-southeast-1":U,"ap-southeast-2":U,"ap-southeast-3":B,"ap-southeast-4":B,"ap-southeast-5":[0,{"execute-api":t,dualstack:C,s3:t,"s3-accesspoint":t,"s3-deprecated":t,"s3-object-lambda":t,"s3-website":t}],"ca-central-1":O,"ca-west-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:P,s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t}],"eu-central-1":U,"eu-central-2":B,"eu-north-1":D,"eu-south-1":k,"eu-south-2":B,"eu-west-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:C,s3:t,"s3-accesspoint":t,"s3-deprecated":t,"s3-object-lambda":t,"s3-website":t,"analytics-gateway":t,"aws-cloud9":w,cloud9:E}],"eu-west-2":D,"eu-west-3":k,"il-central-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:C,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":w,cloud9:[0,{vfs:t}]}],"me-central-1":B,"me-south-1":D,"sa-east-1":k,"us-east-1":[2,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:P,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":w,cloud9:E}],"us-east-2":F,"us-gov-east-1":R,"us-gov-west-1":R,"us-west-1":O,"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":A,"ap-east-1":A,"ap-northeast-1":A,"ap-northeast-2":A,"ap-northeast-3":A,"ap-south-1":A,"ap-south-2":A,"ap-southeast-1":A,"ap-southeast-2":A,"ap-southeast-3":A,"ap-southeast-4":A,"ap-southeast-5":A,"ca-central-1":A,"ca-west-1":A,"eu-central-1":A,"eu-central-2":A,"eu-north-1":A,"eu-south-1":A,"eu-south-2":A,"eu-west-1":A,"eu-west-2":A,"eu-west-3":A,"il-central-1":A,"me-central-1":A,"me-south-1":A,"sa-east-1":A,"us-east-1":j,"us-east-2":j,"us-gov-east-1":V,"us-gov-west-1":V,"us-west-1":j,"us-west-2":j}],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":K,hosteur:[0,{"rag-cloud":t,"rag-cloud-ch":t}],"ik-server":[0,{jcloud:t,"jcloud-ver-jpc":t}],jelastic:[0,{demo:t}],massivegrid:K,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:G,meteorapp:q,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:q,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:Z,"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":ne,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:Y,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:oe}],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:Me,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:Ce,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:Ce,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:me}],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:he,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:K,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":ne,"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:G,stolos:i,musician:t,utwente:t,edugit:t,telebit:t,thingdust:[0,{dev:te,disrec:te,prod:Re,testing:te}],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:ge,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:ye,isk02:ye}],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:ce,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:Y,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:l,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:ne,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:l,ms:[1,{com:e,edu:e,gov:e,net:e,org:e,minisite:t}],mt:Y,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:qe,his:qe}],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:he}],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:he,cloudflarecn:he,cloudflareglobal:he,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:oe,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:fe,ah:fe,bu:fe,fm:fe,hl:fe,hm:fe,"jan-mayen":fe,mr:fe,nl:fe,nt:fe,of:fe,ol:fe,oslo:fe,rl:fe,sf:fe,st:fe,svalbard:fe,tm:fe,tr:fe,va:fe,vf:fe,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:ze,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:ze,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:ce,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:Z,stg:[0,{os:Z}]}],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:ye,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:me,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:l,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:l,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:T,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:l}],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:oe,barsy:t,barsyonline:t,retrosnub:Re,"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:tt,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:tt,ne:Ee,nh:Ee,nj:Ee,nm:Ee,nv:Ee,ny:Ee,oh:Ee,ok:Ee,or:Ee,pa:Ee,pr:Ee,ri:tt,sc:Ee,sd:tt,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:Y,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":g,"ap-northeast-2":g,"ap-south-1":g,"ap-southeast-1":g,"ap-southeast-2":g,"ca-central-1":f,"eu-central-1":g,"eu-west-1":g,"eu-west-2":g,"us-east-1":f,"us-east-2":f,"us-west-2":f,"af-south-1":d,"ap-east-1":d,"ap-northeast-3":d,"ap-south-2":m,"ap-southeast-3":d,"ap-southeast-4":m,"ca-west-1":[0,{notebook:t,"notebook-fips":t}],"eu-central-2":d,"eu-north-1":d,"eu-south-1":d,"eu-south-2":d,"eu-west-3":d,"il-central-1":d,"me-central-1":d,"me-south-1":d,"sa-east-1":d,"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":u,"ap-southeast-1":u,"ap-southeast-2":u,"eu-central-1":u,"eu-north-1":u,"eu-west-1":u,"us-east-1":u,"us-east-2":u,"us-west-2":u}]}],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:x,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:b,s3:t,"s3-website":t,whm:t}],instances:[0,{priv:t,pub:t}],k8s:t,"nl-ams":[0,{cockpit:t,k8s:b,s3:t,"s3-website":t,whm:t}],"pl-waw":[0,{cockpit:t,k8s:b,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:x,email:[1,{crisp:[0,{on:t}],tawk:ue,tawkto:ue}],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:ge}],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:x,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:se,mypep:t,storacha:se,w3s:se}],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:we,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:we,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:x,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:v,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:x,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:Me,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:we,wed:e,wedding:e,weibo:e,weir:e,whoswho:e,wien:e,wiki:we,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 uA(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 eJ(e,t,n){var r;if(lA(e,t,n))return;let i=e.split("."),a=(t.allowPrivateDomains?2:0)|(t.allowIcannDomains?1:0),o=uA(i,XZ,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=uA(i,$Z,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 cA=aA();function _u(e,t={}){return oA(cA),sA(e,3,eJ,t,cA).domain}var Tg=sp.alert;function Uu(){let e=new Date;return`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}_${e.getHours()}-${e.getMinutes()}-${e.getSeconds()}`}function as(e){let n=e.toLocaleString("en-US",{timeZone:"Asia/Shanghai"}).split(" ")[0];return n.endsWith(",")&&(n=n.slice(0,-1)),n}function pp(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 hp(e){let[t,n,r]=e.split("-");return`${t}-${n.padStart(2,"0")}-${r.padStart(2,"0")}`}function dA(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 gA(e){let t=new Date(e),n=as(t),i=as(new Date);return n===i}function mA(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,l=t*o;return a>=s&&a<l}async function fA(e){let{events:t,ctx:n,env:r,isDaily:i,isInIframe:a,installedAt:o,imtBrowser:s}=e,l=Kn(),u=new Date,d=await wa(),g=await Pf(),m=await wu(),f=Ae(),p=new Date(o),h=as(p),x=as(u),y=h===x,b=24*60*60*1e3,v=u.getTime()-p.getTime()<7*b,C=u.getTime()-p.getTime()<30*b,S=u.getTime()-p.getTime()<365*b,T=Bu.parse(window.navigator.userAgent);return t.map(E=>{let k=E.params||{};if(T.os&&(k.os_name=T.os.name||"unknown",k.os_version=T.os.version||"unknown",k.os_version_name=T.os.versionName||"unknown"),T.browser&&(k.browser_name=T.browser.name||"unknown",k.browser_version=T.browser.version||"unknown",s&&(k.browser_name=s.name,k.browser_version=s.version)),T.platform&&(k.platform_type=T.platform.type||"unknown"),T.engine&&(k.engine_name=T.engine.name||"unknown",k.engine_version=T.engine.version||"unknown"),n.translationService){k.translation_service||(k.translation_service=n.translationService);let U=n.config.translationServices?.[k.translation_service];!k.ai_assistant&&k.translation_service&&n.specialAiAssistant?.applyTranslationService==k.translation_service&&(k.ai_assistant=n?.specialAiAssistant.id),U&&(U.group=="custom"&&U.type?k.translation_service=`${U.type}-custom`:U.group?k.translation_service=k.translation_service:U.type&&(k.translation_service=U?.type),U.enableAIContext&&(k.ai_assistant="ai_context"),U.provider&&(k.translation_service_provider=U.provider),U.group=="max"&&(k.translation_service_provider="max"),n.translationService==="openai"&&U.provider==="custom"&&(U.apiUrl?U.apiUrl.startsWith("https://api.openai.com/")?k.openai_is_official="1":k.openai_is_official="0":k.openai_is_official="1"),dr(U)&&!k.ai_assistant&&(k.ai_assistant="common"))}if(k.ai_assistant&&k.ai_assistant.startsWith("custom")&&(k.ai_assistant="custom"),k.ai_assistant_use&&k.ai_assistant_use.startsWith("custom")&&(k.ai_assistant_use="custom"),n.targetLanguage&&!k.target_language&&(k.target_language=n.targetLanguage),n.config.interfaceLanguage&&(k.interface_language=n.config.interfaceLanguage),n.config.enableDefaultAlwaysTranslatedUrls?k.enable_default_always_translated_urls=n.config.enableDefaultAlwaysTranslatedUrls?"1":"0":k.enable_default_always_translated_urls="0",l&&(k.version=l),n.config.enableInputTranslation?k.enable_input_translation=n.config.enableInputTranslation?"1":"0":k.enable_input_translation="0",n.rule.selectionTranslation?.enable?k.enable_selection_translation=n.rule.selectionTranslation.enable?"1":"0":k.enable_selection_translation="0",n.config.translationTheme&&(k.translation_theme=n.config.translationTheme),n.config.alpha&&(k.alpha=n.config.alpha.toString()),n.config.translationLanguagePattern&&n.config.translationLanguagePattern.matches?.length>0?k.always_translate_languages=n.config.translationLanguagePattern.matches.join(","):k.always_translate_languages="none",r.INSTALL_FROM&&(k.install_from=r.INSTALL_FROM),n.config.beta&&(k.beta=n.config.alpha.toString()),n.config.translationArea&&(k.translation_area=n.config.translationArea),h){k.install_day=pp(p);let U=dA(p);k.install_week=`${U.year}${U.week}`}if(n.user){let U=xf(n.user);U&&Object.keys(U).forEach(B=>{k[B]=U[B]})}else k.user_type="anonymous";n.config.translationMode&&(k.translation_mode=n.config.translationMode),k.userscript=f.toString(),y?k.is_new_user_today="1":k.is_new_user_today="0",k.is_new_user_this_week=v?"1":"0",k.is_new_user_this_month=C?"1":"0",k.is_new_user_this_year=S?"1":"0",n.config.tempTranslateDomainMinutes?k.temp_translate_domain_minutes=n.config.tempTranslateDomainMinutes.toString():k.temp_translate_domain_minutes="0";let D="html";return n.rule.pageType&&(D=n.rule.pageType),k.page_type=D,a?k.main_frame=0:k.main_frame=1,i||n.sourceLanguage&&(k.source_language=n.sourceLanguage),d&&(k.ab_tag=d),g&&(k.ab_group=g),k.campaign=m||"none",{...E,params:k}})}var pA={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 ab(e){return e?.install_day&&(e.install_day=hp(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(pA).forEach(t=>{e[t]!==void 0&&(e[pA[t]]=e[t],delete e[t])}),e.site_host&&delete e.site_host,e.ex_char_arg10=Ue()?"cn":"com",e}function yp(e){return e.endsWith("_daily")}async function hA(e){let{key:t,ctx:n,forceDaily:r=!1}=e,i=kt(),a=yp(t),o=`report_${t}`;if(a){if(i)return!1;let s=await oi(o,0),l=as(new Date(s)),u=Date.now(),d=as(new Date(u));if(l===d&&!r)return!1;await Jo(o,u)}else if(!n.config.telemetry)return!1;return!0}var tJ="self_service_report_batch_state",yA=Promise.resolve();function vA(e){let t=yA.then(e,e);return yA=t.then(()=>{},()=>{}),t}function xA(e){return`${tJ}_${e}`}async function CA(e){try{let t=await oi(xA(e),null);return{logs:t?.logs??[],firstEnqueueAt:t?.firstEnqueueAt??null}}catch{return{logs:[],firstEnqueueAt:null}}}async function TA(e,t){try{await Jo(xA(e),t)}catch{}}function nJ(e){if(!Ae())return e;let t=new URL(e);return t.searchParams.set("timestamp",Date.now().toString()),t.toString()}function SA(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 sb(e,t){return vA(async()=>{let n=await CA(t);n.logs.length===0&&(n.firstEnqueueAt=Date.now()),n.logs.push({log:e,source:t}),await TA(t,n)})}var bA={};async function ju(e,t,n=!1){try{let r=bA[t];r&&clearTimeout(r);let{enabled:i,maxSize:a,maxWaitMs:o}=SA(e);if(!i)return;await vA(async()=>{let s=await CA(t),l=s.logs.length>=a,u=s.firstEnqueueAt||0,d=Date.now()-u>=o;if(!l&&!d&&!n){let f=o-(Date.now()-u)+1e3;bA[t]=setTimeout(()=>ju(e,t,n),f);return}let g=s.logs.slice();if(g.length===0)return;await TA(t,{logs:[],firstEnqueueAt:null});let m=g.map(f=>f.log);bp(m)})}catch(r){M.debug("check and report self service error",r)}}function wA(e,t=!1){ju(e,"report",t),ju(e,"performance",t)}function lb(e){return SA(e).enabled}function bp(e){try{let t=Date.now()+(Math.random()*100).toFixed(0);_e({url:nJ(_.SELF_SERVICE_COLLECT_URL),method:"POST",responseType:"text",body:JSON.stringify({nonce:t,subject:"user_behaviour",logs:e})})}catch(t){M.debug("report request self service error",t)}}var Sg=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)}}},EA={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 AA="imt-browser-bridge-event-to-content-script",kA="imt-browser-bridge-event-to-inject",MA=new Sg({from:AA,to:kA}),pbe=new Sg({from:kA,to:AA}),ci=new Proxy(MA,EA);var rJ=!0,iJ,aJ=!0;async function IA(e){if(!e.rule.enableSiteAutoTranslate||!e.rule.enableAutoTranslateByReferrer)return!1;try{if(sJ())return ub(""),!1;let t=document.referrer,n=iJ||await lJ();if(!n||n!==t)return!1;let r=Ve();return oJ(r,n)}catch(t){return M.error("isAutoTranslateByReferrer error",t),!1}}function LA(e){!rJ||!aJ||ub(e==="Translated"?Ve():"")}function oJ(e,t){try{let n=_u(e||""),r=_u(t||"");if(!n||!r){let i=new URL(e||"").hostname,a=new URL(t||"").hostname;return i===a}return n===r}catch(n){return M.error("getIsSameMainDomain error",n),!1}}function sJ(){try{let e=performance.getEntriesByType("navigation");return!!(e[0]&&e[0].type==="reload")}catch(e){return M.error("isPageReload error",e),!1}}function lJ(){return le.getValue(z2,"")}function ub(e){return le.setValue(z2,e)}var zu="Original";function yt(){return zu}function Jn(e){zu=e,VA(zu);let t=new CustomEvent(dn,{detail:JSON.stringify({type:"updatePageStatus",payload:zu})});document.dispatchEvent(t),ot()&&ci.updatePageStatus({status:zu}),LA(zu)}var DA="Original";function Hu(){return DA}function di(e,t){if(t)return;DA=e;let n=new CustomEvent(Qo,{detail:e});document.dispatchEvent(n)}var PA=!1;function jn(){return PA}function os(e){PA=e}var RA="";function ss(){return RA}function vp(e){RA=e}var cb=[];function NA(e){cb=e(cb)}function xp(){return cb}var FA=!1;function BA(){return FA}function OA(e){FA=e}var _A=!1;function wg(){return _A}function bo(e){_A=e}var UA=!1;function db(){return UA}function gb(e){UA=e}var uJ;function jA(){return uJ}var zA=!1;function mb(){return zA}function Cp(e){zA=e}var HA;function ol(e){HA=e}function Ke(){return HA}async function fb(e,t,n=!1,r=!1){let i=Ke();if(i&&!i.config?.rawUserConfig?.disableReport)try{let a=v2(),o=mt(),s=o.INSTALL_FROM==="firefox_store";if(a&&(s=!1),s)return;let l=kt(),u=yp(e);if(!await hA({key:e,ctx:i,forceDaily:n}))return;let{fakeUserId:g,installedAt:m}=await $o(),f=Z2(),p=await fA({events:t,ctx:i,env:o,isDaily:u,isInIframe:l,installedAt:m,imtBrowser:a});r||f.forEach(async h=>{let x=await _e({responseType:"text",url:mJ(h),method:"POST",body:JSON.stringify({client_id:g,user_id:g,events:p})})}),i.config.enableSelfServiceReport&&cJ(i,g,p),i.config.enablePerformanceReport&&gJ(i,p)}catch(a){M.debug("report error",a)}}async function cJ(e,t,n){try{if(ao())return;let r=lb(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),yp(a.name)&&(i=!0),ab(o),r?await sb(JSON.stringify(o),"report"):bp([JSON.stringify(o)])}r&&ju(e,"report",i)}catch(r){M.debug("report self service error",r)}}var dJ=["translate_page","translate_video_subtitle"];function gJ(e,t){try{if(ao())return;let n=lb(e);t.forEach(async r=>{if(!dJ.includes(r.name)||e.config.performanceBlockUrls?.some(s=>et(globalThis.location.href,s)))return;let o={...r.params,event_name:`${r.name}_performance`};ab(o),o.site_host=_u(globalThis.location.origin)||"unknown",n?sb(JSON.stringify(o),"performance"):bp([JSON.stringify(o)])}),n&&ju(e,"performance")}catch(n){M.debug("report self service error",n)}}function mJ(e){if(!Ae())return e;let t=new URL(e);return t.searchParams.set("timestamp",Date.now().toString()),t.toString()}function ae({key:e,ctx:t,params:n,forceDaily:r,ignoreGA:i}){if(t=t||Ke(),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 fb(e,[{name:e,params:n}],r,i)}function St(e,t){e.isPro||fb("user_need_pro",[{name:"user_need_pro",params:{trigger:t}}])}var Tp=!1;async function pb(){try{if(typeof chrome>"u"||!chrome.runtime?.getContexts)return Tp;let t=(await chrome.runtime.getContexts({contextTypes:[chrome.runtime.ContextType.SIDE_PANEL]})).length>0;return M.debug(`[side-panel] getSidePanelOpenStatus result: ${t}`),Tp=t,Tp}catch{return Tp}}pb();var wp,Sp=null;async function GA(e,t=.3){try{if(wp==!1)return"auto";if("LanguageDetector"in self){if(!Sp){if(Sp=await Promise.race([await LanguageDetector.create(),new Promise(i=>setTimeout(()=>i(null),500))]),!Sp)throw new Error("googleDetector is null");wp=!0}let r=(await Sp.detect(e))[0];return!r||r.confidence<t?"auto":r.detectedLanguage==="zh"?Lu(e):Te(r.detectedLanguage)}}catch{return wp=!1,"auto"}return"auto"}function hb(){return wp}var yb=!1;async function ls(e,t=!1){if(Ae()||!yb&&!t)return null;try{let n=await WA(e);return M.debug("server language detect:",n),n}catch(n){return M.debug("server language detect error",n),Ep(!1),null}}async function WA(e,t=1500){let n,r=new Promise((a,o)=>{n=setTimeout(()=>o(new Error(`Timeout after ${t}ms`)),t)}),i=_e({url:`https://lang-detect.${_.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 fJ(a,e)}finally{n&&clearTimeout(n)}}function fJ(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=Te(o);return{lang:s,text:i,confidence:s==="auto"?0:a[o]}})}var qA="language_service_available";async function KA(e){if(!e.rule.enableServerDetectLanguage||Ae()||yb)return;if(await oi(qA,!1)){Ep(!0);return}try{await WA(["hello world"],1e3),Ep(!0),M.debug("Language service is available")}catch(n){Ep(!1),M.debug("Language service is not available",n)}}function Ep(e){yb=e,Jo(qA,e)}function QA(e,t){try{let n=mt();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);_e({url:_.SELF_SERVICE_LANG_DETECT_COLLECT_URL,method:"POST",responseType:"text",body:JSON.stringify({nonce:i,subject:"lang_detect",logs:[JSON.stringify(r)]})})}catch(n){M.debug("report language detect error",n)}}var YA=new Map;async function ZA(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 _e(r);if(i.error)throw new Error(i.error.message);let a=[];for(let o of i.output)a.push(o.text),YA.set(o.text,o.maskMeta);return a}async function JA(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:YA.get(t)}),headers:{"Content-Type":"application/json"},timeout:1e4};e.sensitiveApiKey&&(i.headers.Authorization=`Bearer ${e.sensitiveApiKey}`);let a=await _e(i);if(a.error)throw new Error(a.error.message);return a.output.text}var gi={getIsOpenSidePanel:()=>!1,toggleMockSidePanel:(e,t)=>{},closeMockSidePanel:()=>{}};function it(){return be("background",{method:"getUserConfig"})}var Tt={async get(e){let t=e.startsWith(_.BASE_API)?e:_.BASE_API+e,n=await le.getUserToken(),r=await We(),i=await _e({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(_.BASE_API)?e:_.BASE_API+e,r=await le.getUserToken(),i=await We(),a=await _e({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(_.BASE_API)?e:_.BASE_API+e,r=await le.getUserToken(),i=await We(),a=await _e({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 _e(e){return be("background",{method:"fetch",data:e})}function kg(e){return Ae()?(e.fetchPolyfill=globalThis.GM_fetch,_e(e)):(e.responseType="stream",lE(e))}function XA(e){return be("background",{method:"reportOptionsPageView",data:e})}function Bt(e){return be("background",{method:"setUserConfig",data:e})}function gn(){return Sn()}function Cr(e){return mr(e)}async function Eg(e,t){try{switch(e){case"locale-chinese":return Lu(t.text);case"background":return hb()?"auto":await be("background",{method:"detectLanguage",data:t});case"js-lib":return hb()?"auto":Iw(t.text,t.minLength);case"google-model":return await GA(t.text,.3)}}catch{}return"auto"}async function Ze(e){let t=e.logPrefix,n=(...s)=>{t&&M.debug(t,...s)};n(`\u5F00\u59CB\u68C0\u6D4B\u8F93\u5165\u8BED\u8A00 '${e.text}'`),e.minLength=2;let r=await Eg("locale-chinese",e);n("\u672C\u5730\u4E2D\u6587\u68C0\u6D4B\u7ED3\u679C",r);let i=[r];e.ignorePageLang||(i.push(Un()),n("\u8FFD\u52A0\u9875\u9762\u8BED\u8A00",i[i.length-1]));let a=await Eg("google-model",e);if(n("\u8C37\u6B4C\u6A21\u578B\u68C0\u6D4B\u7ED3\u679C",a),a=="auto")if(!Ae()&&!Mt()){let s=await Eg("background",e);if(i.unshift(s),n("\u540E\u53F0\u68C0\u6D4B\u7ED3\u679C",s),e.addJsLangDetect){let l=await Eg("js-lib",e);i.push(l),n("JS \u5E93\u68C0\u6D4B\u7ED3\u679C",l)}}else{let s=await Eg("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=pJ(i,e.strictCheck||!1,e.text);if(n("\u5019\u9009\u8BED\u8A00\u6700\u4F73\u7ED3\u679C",o),o==="auto"&&e.serverDetect){let l=(await ls([e.text],!0))?.[0]?.lang||"auto";if(n("\u670D\u52A1\u7AEF\u515C\u5E95\u68C0\u6D4B\u7ED3\u679C",l),l!=="auto")return l}return o=="auto"&&a!="auto"?a:o.startsWith("zh")&&!r.startsWith("zh")?"auto":o=="auto"?e.chineseFirst&&r.startsWith("zh")?r:!e.translateService||!h7.includes(e.translateService)?"auto":i[0]:o}function pJ(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 Ap(e){return await Ze({text:e,ignorePageLang:!0})}function VA(e){let t=new CustomEvent(Ko,{detail:e});return document.dispatchEvent(t),be("popup",{method:"setPageStatus",data:e})}function $A(e){return be("background",{method:"queryParagraphCache",data:e})}function ek(e){return be("background",{method:"setParagraphCache",data:e})}function Jr(e=!1,t="",n){let r=document.querySelector(`meta[name=${z}-options]`);return lo()?(location.href=_.OPTIONS_URL,Promise.resolve()):r?(location.href=location.href.replace(/options.html.+/g,`options.html${t}`),Promise.resolve()):n?(globalThis.open(vo(n)+t),Promise.resolve()):be("background",{method:"openOptionsPage",data:{newTab:e,pageRoute:t}})}function vo(e){return Ae()||Mt()||e?_.OPTIONS_URL:Ne.runtime.getURL("options.html")}function tk(e=""){return Ne&&Ne.runtime&&Ne.runtime.getURL?Ne.runtime.getURL("options.html"):""}function kp(e){return lo()?(location.href=_.OPTIONS_URL+"#about",Promise.resolve()):e?(globalThis.open(_.OPTIONS_URL+"#about"),Promise.resolve()):be("background",{method:"openAboutPage"})}function lt(e){return lo()?(location.href=e,Promise.resolve()):be("background",{method:"openInTab",data:e})}function Mg(e){return be("background",{method:"setBadge",data:{text:e}})}function Mp(e,t){return be("background",{method:"getDelay",data:{key:e,options:t}})}function nk(e,t){return be("background",{method:"acquirePermit",data:{key:e,limit:t}})}function rk(e,t){return be("background",{method:"releasePermit",data:{key:e,limit:t}})}function ik(e){return be("background",{method:"clearTranslateQueue",data:{key:e}})}function ak(){return be("background",{method:"getIsSupportIsOnToolbar"})}function ok(){return be("background",{method:"getIsOnToolbar"})}function Ip(){return be("background",{method:"updateVideoSubtitleStatus"})}function Ig({targetLanguage:e,text:t}){be("background",{method:"updateToggleTranslateContextMenu",data:{targetLanguage:e,text:t}})}function Lg(){be("background",{method:"updateImageMenu"})}function Dg(){be("background",{method:"updateUninstallUrl"})}async function sk(e,t,n,r,i){if(!await be("background",{method:"createOffscreen",data:{context:t,urlHash:n,mimeType:r,imgBuffer:i}}))throw Error(e("toOldChrome"));return be("offscreen",{method:"triggerTranslateImage",data:{context:t,urlHash:n,mimeType:r,imgBuffer:i}})}function xo(){return be("background",{method:"queryAllTermsMeta"})}async function ra(e){return await be("background",{method:"queryTerms",data:e})}function Vr(e){return be("background",{method:"saveTerms",data:e})}function Lp(e){return be("background",{method:"deleteTerms",data:e})}function lk(){return Ie.local.get(j2,"0")}function Vu(e){return Ie.local.set(j2,e)}function uk(e,t){return be("background",{method:"toggleTranslatePage",data:{trigger:e,currentPageStatus:t}})}var bb;function us(e,t,n,r){if(!e)return;let i=e.config,a;if(t==="shortcut"&&n===void 0?a=!gi.getIsOpenSidePanel():a=n!==!1,a){let l=document.body.clientWidth;setTimeout(()=>{document.body.clientWidth<l&&ae({key:"openSidePanel",ctx:e,params:{trigger:t}})},1500)}if(gi.getIsOpenSidePanel()||Ae()||!Wn()||lo()){gi.toggleMockSidePanel(i,a);return}if(bb&&clearTimeout(bb),t=="shortcut"&&r||(be("background",{method:"toggleSidePanel",data:{open:a}}),!a))return;let o=!1,s=()=>{o||gi.getIsOpenSidePanel()||(o=!0,gi.toggleMockSidePanel(i,a))};be("background",{method:"isSidePanelSupported"}).then(l=>{l||s()}),bb=setTimeout(async()=>{if(!(o||gi.getIsOpenSidePanel()))try{await vb()||(M.debug("[side-panel] fallback to mock side panel"),s())}catch{s()}},500)}function sl(e,t){e&&(us(e,"reward_center",!0),be({type:"side_panel",name:"reward_center"},{method:"openRewardCenter",data:{trigger:t}},!0))}function ck(){gi.getIsOpenSidePanel()&&gi.closeMockSidePanel(),Wn()&&be("background",{method:"setSidePanelStatus",data:{isOpen:!1}})}async function vb(){try{return gi.getIsOpenSidePanel()||await pb()?!0:await be("background",{method:"isOpenSidePanel"})}catch{return!1}}var Ag;async function xb(e,t){if(Ae())return!0;if(Ag!==void 0)return Ag;if(!await be("background",{method:"createOffscreen"}))return!1;if(typeof t=="number"&&t>0)try{return await Promise.race([be("offscreen",{method:"initAIFW",data:{maskConfig:e}}),new Promise((r,i)=>setTimeout(()=>i(new Error("timeout")),t))]),Ag=!0,!0}catch{return Ag=!1,!1}else return await be("offscreen",{method:"initAIFW",data:{maskConfig:e}}),Ag=!0,!0}async function dk(e,t){let n=t.map(r=>r.text);try{return e.sensitiveMode==="close"?n:e.sensitiveMode==="custom"?await ZA(e,t):Ae()?n:(await xb(e.maskConfig,5e3),await be("offscreen",{method:"maskTexts",data:{texts:t}})||n)}catch{return n}}async function gk(e,t,n,r){let i=null,a="";try{return!n.includes(df)||e?.sensitiveMode==="close"?n:(a=n,e?.sensitiveMode==="custom"?(a=await JA(e,t,n),a||n):Ae()?n:(a=await be("offscreen",{method:"restoreText",data:{originalText:t,translatedText:n}}),a||n))}catch(o){return i=o,M.error("[sensitive-decode] error",o),n}finally{!i&&a&&r&&M.info(`[sensitive-decode] "${t}" -> "${a}"`)}}var hJ={lang:"en"};function Cb(e){let t=Object.assign({},hJ,e),[n,r]=N(t.lang||"en"),[i,a]=N(0),o=(l,u)=>{let d=de(l,u);return t.enableReview&&yJ({key:l,value:d,projectName:"dash"}),d},s=async l=>{await Rf(l),r(l)};return W(()=>{if(!t.enableReview)return;let l=xJ(()=>{a(Date.now())});return()=>{l()}},[t.enableReview]),{lang:n,setLang:s,t:o}}var Pp="";function yJ(e){let{key:t,value:n,projectName:r}=e;if(typeof window>"u"||!t)return n;(!Pp||Pp==="account-shared")&&(Pp=r);let i=window.location.pathname,a=bJ(i);return a[t]=n,a.__project_name=Pp,vJ(a),n}var mk={};function bJ(e){let t=mk[e];return t||(t={},mk[e]=t),t}function vJ(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 xJ(e){if(typeof window>"u")return()=>{};let t=()=>{e()};return window.addEventListener("i18n-update",t),()=>{window.removeEventListener("i18n-update",t)}}var CJ=0;function c(e,t,n,r,i){var a,o,s={};for(o in t)o=="ref"?a=t[o]:s[o]=t[o];var l={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:--CJ,__source:i,__self:r};if(typeof e=="function"&&(a=e.defaultProps))for(o in a)s[o]===void 0&&(s[o]=a[o]);return at.vnode&&at.vnode(l),l}var Tb=zo(null),Pi=e=>{let{t,setLang:n,lang:r}=Cb({lang:e.lang,enableReview:e.enableReview});return c(Tb.Provider,{value:{t,setLang:n,lang:r},children:e.children})};function H(){return De(Tb)}function ut(e){Tg({type:"success",text:e})}function nt(e){Tg({type:"error",text:e})}function Rp(e){Tg({type:"info",text:e})}function Np(e){Tg({type:"warning",text:e})}var TJ=["prompt","systemPrompt","multiplePrompt","multipleSystemPrompt","subtitlePrompt","langOverrides"];function SJ(e){return TJ.some(t=>Object.prototype.hasOwnProperty.call(e,t))}function fk(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,l]=o.split("2");if(["auto",n.sourceLanguage].includes(s)&&["auto",n.targetLanguage].includes(l)){let u=i.get(o);if(!u)continue;if(u.extends){let d=i.get(u.extends);d&&(r={...r,...d})}r={...r,...u}}}return r}function To(e,t,n){let i=e.config.translationServices[t],a;return n&&(a=wJ(e,i)),a||(a=Pg(i,e.localConfig.aiAssistants||[])),a&&{...a,applyTranslationService:t}}function pk(e){let t=e.rawUserConfig?.translationServices||{},n=Ta(e.translationServices);for(let r of n){let i=t[r.legacyServiceId];if(!i)continue;let a=i.assistantId;if(a&&a!=="auto"&&a!=="common"||SJ(i))return!1}return!0}function wJ(e,t){if(!t||!dr(t))return;let n=t.assistantId;if(n!="auto")return;let r=Sb({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 Pg(e,t){if(!e||!dr(e))return;let n=e.assistantId;return!n||n=="common"?void 0:(n=="auto"&&(n=e.fallbackAssistantId),(t||[]).find(i=>i.id===n))}function Sb(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=>et(i,s.matches)&&!et(i,s.excludeMatches)).filter(s=>s.languageMatches?!!(s.languageMatches||[]).find(u=>{let[d,g]=u.split("2");return!!(["auto",e.sourceLanguage].includes(d)&&["auto",e.targetLanguage].includes(g))}):!0)?.[0]),a}catch(o){M.error(o)}}function Gu(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 Wu(e){!e||e.diff||(In({rule:e,valueIsArray:t=>Array.isArray(e[t]),getMergedValue:t=>e[t],onMergedResult:(t,n)=>{e[t]=n}}),e.diff=!0)}async function ll(e,t,n){n=n||await gn();let r=n.aiAssistants||[],i=!1;if(e=="edit"&&Co(t))for(let o=r.length-1;o>=0;o--)r[o].id===t.id&&(r[o]=t,i=!0);else if(e==="add"&&Co(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 Ln();a.aiAssistantIds=[...new Set(r.map(o=>o.id))];try{await Cr(n),await Ea(a)}catch{return!1}return i}async function Rg(){return(await gn()).aiAssistants||[]}async function EJ(e,t){(await Promise.allSettled(e.map(r=>_e({url:`${_.BASE_AI_URL}api/plugins/${r}.json`})))).forEach(r=>{if(r.status==="fulfilled"){let i=r.value;i&&ll("add",i,t)}})}async function wb(e,t,n=!0){e||(e=await We()),t||(t=await gn());let r=t.aiAssistants||[];if(ii&&r.length>0)return;let i=(e.aiAssistantIds||[]).filter(s=>!r.find(l=>l.id===s)),a=[];if(n){let s=await Eb();a=await kJ(t,s)}let o=[...new Set([...i,...a])].filter(s=>!s.startsWith("custom"));o.length!==0&&EJ(o,t)}var So=Dn(wb,1500);function Co(e){return dt(On(),e.extensionVersion)}function AJ(e,t){return t?!dt(e.version,t):!1}function kJ(e,t){let n=[];return(e.aiAssistants||[]).forEach(r=>{AJ(r,t[r.id]?.version)&&n.push(r.id)}),[...new Set(n)]}async function Eb(){return(await _e({url:`${_.BASE_AI_URL}api/plugins/meta.json`}))?.plugins||{}}async function Ab(e){return await _e({url:`${_.BASE_AI_URL}api/plugins/${e}.json`})||{}}function Fp(){let[e,t]=N(void 0),[n,r]=N(!1),{t:i}=H(),a=re(async()=>{try{let s=await Rg();t(s)}catch{nt(i("aiAssistant.getDataError"))}},[t]),o=re(async(s,l)=>{let u=setTimeout(()=>{r(!0)},200);try{let d=await Ab(s);if(Co(d)===!1&&(r(!1),nt(i("aiAssistant.versionNoMatch"))),!await ll(l,d))return;a()}catch{nt(i("aiAssistant.handleError"))}finally{clearTimeout(u),r(!1)}},[]);return W(()=>{a()},[]),{aiAssistantsData:e,handleInstall:o,operateLoading:n}}var MJ=["yandex","google","deepl","claude","grok","groq","openai","openrouter","gemini","chatgpt","babel-lite"];function hk(e){let t=JSON.parse(JSON.stringify(e));t.immediateTranslationPattern.matches=[],t.defaultAlwaysTranslatedUrls=[],t.generalRule.aiWriting.disabledAt="2025-09-01",t.generalRule.aiWriting.enable=!1,t.donateUrl="https://immersivetranslate.cn/pricing",t.uninstallUrl="https://onboarding.immersivetranslate.cn/uninstall";let n=t.generalRule;delete n.downloadAppUrl,delete n.downloadAppQrCode,n.detectionServiceOrder=n.detectionServiceOrder.filter(r=>r!=="google"),n.privacyProtocolVersion="1.0.1",n.imageRule.detectionServiceOrder=n.imageRule.detectionServiceOrder.filter(r=>r!=="google"),n.selectionTranslation.proService.service="deepseek-pro",n.selectionTranslation.proService.model="deepseek-chat",MJ.forEach(r=>{Object.keys(t.translationServices).forEach(i=>{i.includes(r)&&(t.translationServices[i].hidden=!0,t.translationServices[i].visible=void 0)})}),Object.keys(t.translationServices).forEach(r=>{t.translationServices[r].enableFallback&&(t.translationServices[r].enableFallback=!1),t.translationServices[r].ignoreResRegexs&&(t.translationServices[r].ignoreResRegexs=[])}),t.translationServices["zhipu-air-pro"].immersiveProApiUrl="https://api2.immersivetranslate.cn/bigmodel-air/translate";for(let r of["zhipu-free",gt]){let i=t.translationServices[r];i?.apiUrl?.includes("immersivetranslate.com")&&(i.apiUrl=i.apiUrl.replace("immersivetranslate.com","immersivetranslate.cn"))}return t.translationServices[gt].subServices=[{serviceType:"siliconcloud",legacyServiceId:"siliconcloud-free",preferredProvider:"siliconflow"},{serviceType:"zhipu",legacyServiceId:"zhipu-free",preferredProvider:"glm"}],t.translationServices[gt].fallbackService=null,t.generalRule.detectionServiceOrder=[gt,"bing","zhipu","siliconcloud"],t}function yk(e){if(mt().IMMERSIVE_TRANSLATE_OFFICIAL_SDK!=="1")return e;let n=JSON.parse(JSON.stringify(e)),i=Ue()?[gt,"zhipu-free","siliconcloud","bing"]:[gt,"zhipu-free","siliconcloud","bing","google"];return Object.keys(n.translationServices).forEach(a=>{i.some(s=>a===s||a.startsWith(`${s}-`))||delete n.translationServices[a]}),n}async function Nf(e){e=e||location.href;let t=await le.getPluginRegion(),n=mt();n&&(n[Zo]=t||(bS()?"mainland":"oversea"),Ji.updateEnv());let r={...rn(),buildinConfigUpdatedAt:n.BUILD_TIME};r=await BJ(r);let i=await RJ(r);r.targetLanguage=i;let a=rn(),o=await Ln(),s=Gr();Bf(o,s),bw(o,r),yw(r);let l=globalThis.IMMERSIVE_TRANSLATE_CONFIG||{},u=await Sn(),d=Object.assign({},l,JSON.parse(JSON.stringify(o)));if(!d.interfaceLanguage){let m=await DJ();d.interfaceLanguage=m}await FJ(d,o,r),OJ(u,d),r.interfaceLanguage=d.interfaceLanguage??r.interfaceLanguage,r.targetLanguage=d.targetLanguage??r.targetLanguage,r=await jJ(r);let g=Object.assign(a,r);return In({rule:r,valueIsArray:m=>Array.isArray(a[m]),getMergedValue:m=>a[m],onMergedResult:(m,f)=>{m!="generalRule"&&(g[m]=f)}}),In({rule:r.generalRule,valueIsArray:m=>Array.isArray(a.generalRule[m]),getMergedValue:m=>a.generalRule[m],onMergedResult:(m,f)=>{g.generalRule[m]=f}}),await NJ(g),g=await _J(g,d),g.donateUrl=r.donateUrl,g.minVersion=r.minVersion,g.feedbackUrl=r.feedbackUrl,g.rawUserConfig=o,await zJ(g,u),pw(g,s),Ue()&&(g=hk(g)),g=yk(g),IJ(e,g),await LJ(g),f7(g),g}function IJ(e,t){let n=t.accurateConfigs;if(!n)return;let r=t.rawUserConfig?.["accurateConfigs.add"],i=Object.entries(n).filter(([u,d])=>(d.enable=r?.[u]?.enable??d.enable,d?.enable?et(e,d.matches):!1))?.[0];if(!i)return;let[a,o]=i;t.userTranslationServices={...t.userTranslationServices},t.translationServices={...t.translationServices};let{translationService:s,serviceConfig:l}=o;t.translationService=s,t.userTranslationServices.translationService=s,t.translationServices[s]={applyAccurateKey:a,...t.translationServices[s],...l||{}}}async function Sn(){let e=await Ie.local.get(Xm);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 mr(a),Ji.updateStaticHostName(a.managedHostProbes?.s?.hostName||Zi()),a}else return Ji.updateStaticHostName(Zi()),{}}async function mr(e){await Ie.local.set(Xm,e),Ji.updateStaticHostName(e.managedHostProbes?.s?.hostName||Zi())}async function bk(){return Rt.DEBUG==="1"?void 0:await Ie.local.get(ES)}async function vk(){await Ie.local.set(Xm,{})}async function qu(){let e=await bk(),n={...rn(),buildinConfigUpdatedAt:Rt.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 xk=["forceAutoTranslate","translationTheme","translationMode","translationThemePatterns","selectTranslationFont"];function Ln(){return Ie.local.get($d,{})}function Ea(e){return Ie.local.set($d,e)}function ds(){return Ie.local.get(U2,{})}function Mb(e){return Ie.local.set(U2,e)}function Ib(e){let t={};return xk.forEach(n=>{let r=e?.[n];r!==void 0&&(t[n]=r)}),t}async function Ng(e){let t=Ib(e);if(!Object.keys(t).length)return;let n=await ds();await Mb({...n||{},...t})}async function LJ(e){if(!(Gt()||ot()))return;let n=await ds();xk.forEach(r=>{let i=n[r];i!==void 0&&(e[r]=i,e.rawUserConfig[r]=i)})}var DJ=async()=>{let e=["zh-CN"];try{e=await Ne.i18n.getAcceptLanguages()}catch(r){M.warn("get browser language error:",r)}let n=e.map(r=>Te(r)).find(r=>kf.find(i=>i===r));return n||"en"};function PJ(e,t){return e=e||[],t=t||[],e.length!==t.length?!0:t.filter(r=>!e.includes(r)).length>0}async function RJ(e){try{let t=e?.autoSelectTargetLanguageAfterInstalledAt;if(!t)return ba;let n=await Vt("installedAt","");if(n&&new Date(n)<new Date(t))return ba;let r=[ba];if(r=await Ne.i18n.getAcceptLanguages(),!r?.length)return ba;let i=Te(r[0]);if(!i||i=="auto")return ba;let a=e?.autoSelectAllTargetLanguageAfterInstalledAt;return i=="en"&&a&&n&&new Date(n)<new Date(a)?ba:i}catch(t){return M.warn("get browser language error:",t),ba}}function Ck(e,t){let n=e.translationServices||{},r={...t.translationServices};function i(d){d.hasMerged||(In({rule:d,valueIsArray:g=>Array.isArray(d[g]),getMergedValue:g=>d[g],onMergedResult:(g,m)=>{d[g]=m}}),d.hasMerged=!0)}let a=Object.keys(r).reduce((d,g)=>(r[g]?.type||(d[g]=r[g]),d),{});Object.keys(a).forEach(d=>{let g=a[d],m=a[g.extends];!m||g.extends==d||(i(m),i(a[d]),a[d]=kb(m,a[d]))}),Object.keys(n).forEach(d=>{let g=n[d];g?.systemPrompt!=null&&g?.multipleSystemPrompt===void 0&&(g.multipleSystemPrompt="")}),In({rule:{...a},valueIsArray:d=>Array.isArray(a[d]),getMergedValue:d=>a[d],onMergedResult:(d,g)=>{a[d]={...a[d],...g}}});let o=Object.keys(r).reduce((d,g)=>((r[g]?.type||g.includes("add_v"))&&(d[g]=r[g]),d),{});Object.keys(o).forEach(d=>{let g=o[d],m=a[g.extends];!m||g.extends==d||(i(o[d]),o[d]=kb(m,o[d]))}),In({rule:{...o},valueIsArray:d=>Array.isArray(o[d]),getMergedValue:d=>o[d],onMergedResult:(d,g)=>{o[d]&&(o[d]={...o[d],...g})}}),r={...a,...o},Object.keys(n).forEach(d=>{let g=n[d];if(!g.extends)return;let m=r[g.extends];!m||g.extends==d||(n[d]=kb(m,n[d]))}),In({rule:{...n},valueIsArray:d=>Array.isArray(r[d]),getMergedValue:d=>r[d],onMergedResult:(d,g)=>{let m=r[d]?.env||{},f=g.env||{};m={...m,...f},r[d]={...r[d],...g,env:m}}}),new Date(e.updatedAt)<=new Date("2024.4.2")&&Object.keys(n).forEach(d=>{["openai","gemini"].includes(d)&&n[d].prompt!=null&&(n[d].maxTextGroupLengthPerRequest==null&&(r[d].maxTextGroupLengthPerRequest=1),n[d].multiplePrompt==null&&(r[d].multiplePrompt=n[d].prompt))});let l=["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"],u=(d,g)=>{!d||!d[g]||!d?.env||(d[g]=d[g].replace(/{{(.+?)}}/g,(m,f)=>l.includes(f)?m:d?.env[f]||m))};Object.values(r).forEach(d=>{u(d,"prompt"),u(d,"multiplePrompt"),u(d,"subtitlePrompt")}),t.defaultTranslationServicesOrder?.length&&Object.keys(r).forEach(d=>{n[d]?.visible===void 0&&delete r[d].visible}),t.translationServices=r}async function NJ(e){try{let t=await Vt("installedAt",""),n=e.generalRule.subtitleRule.youtubeAutoEnableSubtitleAfterInstalledAt;if(!n||new Date(n)>new Date(t))return;e.generalRule.subtitleRule.youtubeAutoEnableSubtitle=!0}catch(t){M.error("updateYoutubeAutoEnableSubtitleWithAfterInstallAt error",t)}}function kb(e,t){let n={...e};["provider","visible"].forEach(a=>{n[a]&&delete n[a]});let i={...n,...t};return In({rule:t,valueIsArray:a=>Array.isArray(n[a]),getMergedValue:a=>n[a],onMergedResult:(a,o)=>{i[a]=o}}),i}async function FJ(e,t,n,r){v({isUiEn:e.interfaceLanguage==="en",isTargetEn:e.targetLanguage==="en",remoteEmpty:k(n),isFreeSvc:E(e.translationService)})?n.translationLanguagePattern||(n.translationLanguagePattern={matches:["en"],excludeMatches:[]}):n.translationLanguagePattern={matches:[],excludeMatches:[]};let a=C(n?.enableDefaultAlwaysTranslatedUrls,e.enableDefaultAlwaysTranslatedUrls),o=e?.isChangedAlwaysTranslatedUrls,s=e.translationUrlPattern?.matches||[],l=!1,u=D(o,s.length);o=u.flag,u.changed&&(e.isChangedAlwaysTranslatedUrls=u.flag,t.isChangedAlwaysTranslatedUrls=u.flag,l=!0);let d=T(e),g=r?.activity?.installedAt??await Vt("installedAt",""),m=Number(r?.activity?.lastTranslateAt??await oi("translage_page_daily",0)),f=Number(r?.activity?.lastManualAt??await Vt(Mi,0)),{isNewUser:p,isTranslateRecently:h,isManualTranslateRecently:x}=S(n.inactiveDays,g,f,m),y=e.modifiedBySystem;w({isEnableDefaultAlwaysTranslatedUrls:a,isChangedAlwaysTranslatedUrls:o,isUiEn:e.interfaceLanguage==="en",isTargetEn:e.targetLanguage==="en",isFreeSvc:E(e.translationService),isConfigAlwaysTranslateLanguages:d,modifiedBySystem:y,isNewUser:p,isTranslateRecently:h,isManualTranslateRecently:x})&&U(e,t,n.defaultAlwaysTranslatedUrls,s)&&(l=!0),l&&!r?.disablePersist&&(M.debug("isChangedUserConfig",l),await Ea(t));function v({isUiEn:B,isTargetEn:P,remoteEmpty:O,isFreeSvc:F}){return!B&&!P&&!O&&F}function C(B,P){let O=!!B;return P===!1&&(O=!1),O}function S(B,P,O,F){let L;O>0&&(L=Date.now()-O<B*24*60*60*1e3);let R;F>0&&(R=Date.now()-F<B*24*60*60*1e3);let A;if(P){let j=new Date(P);A=Date.now()-j.getTime()<24*60*60*1e3}return{isNewUser:A,isTranslateRecently:R,isManualTranslateRecently:L}}function T(B){return!!B?.translationLanguagePattern?.matches?.length}function w(B){return B.isEnableDefaultAlwaysTranslatedUrls&&!B.isChangedAlwaysTranslatedUrls&&!B.isUiEn&&!B.isTargetEn&&B.isFreeSvc&&!B.isConfigAlwaysTranslateLanguages&&(B.modifiedBySystem===!0||B.isNewUser||B.isTranslateRecently===!1||B.isManualTranslateRecently===!1||B.isTranslateRecently===void 0&&B.isManualTranslateRecently===void 0)}function E(B){return["bing","google","mock"].includes(B)||!B}function k(B){return!!B&&!!B.translationLanguagePattern&&!!B.translationLanguagePattern.matches&&B.translationLanguagePattern.matches.length===0}function D(B,P){return B!==void 0?{flag:B,changed:!1}:{flag:P>0,changed:!0}}function U(B,P,O,F){return PJ(F,O)?(B.translationUrlPattern||(B.translationUrlPattern={}),B.translationUrlPattern.matches||(B.translationUrlPattern.matches=[]),B.translationUrlPattern.excludeMatches||(B.translationUrlPattern.excludeMatches=[]),B.translationUrlPattern.matches=[...O],P.translationUrlPattern=B.translationUrlPattern,P.modifiedBySystem=!0,!0):!1}}async function BJ(e){let t=await bk();if(t&&t.buildinConfigUpdatedAt){let n=new Date(t.buildinConfigUpdatedAt),r=new Date(e.buildinConfigUpdatedAt);n>r&&(e=t)}return e}function OJ(e,t){let n=new Date;if(e&&e.tempTranslationUrlMatches&&e.tempTranslationUrlMatches.length>0){let r=e.tempTranslationUrlMatches.filter(i=>new Date(i.expiredAt)>n);if(r.length>0){let i=t.translationUrlPattern?t.translationUrlPattern?.matches||[]:[],a=Array.isArray(i)?i:[i],o=Array.from(new Set(a.concat(r.map(s=>s.match))));t.translationUrlPattern={...t.translationUrlPattern,matches:o}}}}async function _J(e,t){let n=await UJ(),r=Object.keys(e),i=["translationUrlPattern","translationLanguagePattern","immediateTranslationPattern","translationBodyAreaPattern","translationParagraphLanguagePattern","translationThemePatterns","translationGeneralConfig","shortcuts","inputTranslationUrlPattern","inputLanguageCodeAlias","tokenUsageTips","sensitiveConfig"];for(let a of r){let o=a;if(o==="generalRule")typeof t[o]=="object"&&(e[o]=il(e[o],t[o]));else if(o==="translationServices")Ck(t,e);else if(typeof t[o]!="string"&&typeof t[o]!="boolean"&&typeof t[o]!="number"&&i.includes(o))t[o]&&(e[o]=Object.assign(e[o],t[o])),o==="shortcuts"&&(Ae()||Mt()?e[o]={...e[o],...n}:e[o]={...n});else if(o==="rules"){if(Array.isArray(t[o])){let s=e[o]||[],l=new Map(s.filter(m=>typeof m?.id=="string").map(m=>[m.id,m])),u=t[o].map(m=>{let f=m.id?l.get(m.id):void 0;return f?S7(e.generalRule,f,m):m}),d=new Set;u.forEach(m=>{m?.id&&d.add(m.id)});let g=s.filter(m=>!m?.id||!d.has(m.id));e[o]=[...u,...g]}}else t[o]!==void 0&&(e[o]=t[o])}return e}async function UJ(){let e={};if(!Ae()&&Ne.commands&&Ne.commands.getAll){let t=await Ne.commands.getAll();for(let n of t)n.name&&n.shortcut&&(e[n.name]=n.shortcut)}return e}async function Fg(e,t,n){let r=t;if(!n)return r;let i=await Tk(e);return n.forEach(({condition:a,advanceConfig:o})=>{if(!a||!o||!ug(a,{...e,...i}))return;let{generalRule:l,translationServices:u,...d}=o;In({rule:d,valueIsArray:g=>Array.isArray(e[g]),getMergedValue:g=>e[g],onMergedResult:(g,m)=>{e[g]=m}}),u&&Ck(o,e),l&&(r=il(r,l))}),r}async function jJ(e){try{if(!e.advanceMergeConfig)return e;let t=e,n=await Tk(e);return e.advanceMergeConfig.forEach(({condition:r,advanceConfig:i})=>{if(!r||!i||!ug(r,{...e,...n}))return;let{generalRule:o,...s}=i;In({rule:s,valueIsArray:l=>Array.isArray(t[l]),getMergedValue:l=>t[l],onMergedResult:(l,u)=>{t[l]=u}}),o&&In({rule:o,valueIsArray:l=>Array.isArray(t.generalRule[l]),getMergedValue:l=>t.generalRule[l],onMergedResult:(l,u)=>{t.generalRule[l]=u}})}),t}catch(t){return M.error("mergeAdvanceConfig error",t),e}}var cs=null;async function Tk(e){try{let t=await le.getUserInfo(),n=Nt(t),r=Wo()||"0",i=ya()||"0",{userValue:a,localValue:o}=await Yn("rewardCenterOpenTime"),s=!!(a||o);if(cs&&cs.imtAndroidVersion===r&&cs.imtIOSVersion===i&&cs.targetLanguage===e.targetLanguage&&cs.interfaceLanguage===e.interfaceLanguage)return cs;let u=mt().INSTALL_FROM,d=Kn(),g=Ri(),m=x2()||"",f=aS(),p=oS()||"",h=await wa()||"a",x=h.charCodeAt(0)-"a".charCodeAt(0),y=new Date(await Lb()).getTime();return cs={isPro:n,isCNPlugin:Ue(),abTag:h,abTagNumber:x,version:d,imtAndroidVersion:r,imtIOSVersion:i,installFrom:u,platform:g,iosSafariVersion:m,iosSafariVersionNumber:f,iosSystemVersion:p,isMobile:!!Se().any,isMacOS:ay(),isMacSafari:oy(),isSteam:lo(),versionNumber:su(d),imtAndroidVersionNumber:su(r),imtIOSVersionNumber:su(i),installedAtTimestamp:y,hasOpenedRewardCenter:s,targetLanguage:e.targetLanguage,interfaceLanguage:e.interfaceLanguage},cs}catch(t){return M.error("getAdvanceConditionInfo error",t),null}}async function zJ(e,t,n=mr){if(typeof e.forceApplyFreeModel=="boolean"){e.isFreeModelMode=e.forceApplyFreeModel;return}if(!pk(e)){e.isFreeModelMode=!1,t.freeModelModeLock?await n({...t,freeModelModeLock:!1}):typeof t.freeModelModeLock!="boolean"&&await n({...t,freeModelModeLock:!1});return}if(e.enableFreeModelMode===!1){e.isFreeModelMode=!1;return}if(typeof t.freeModelModeLock=="boolean"){e.isFreeModelMode=t.freeModelModeLock;return}e.isFreeModelMode=!0,await n({...t,freeModelModeLock:!0})}function Sk(e){let{rules:t,...n}=e,r=[];return t.forEach((i,a)=>{let o=Object.keys(i).find(s=>s.startsWith("selectorMatches"));i.index=a,o&&r.push(i)}),{config:{...n,rules:r},urlMatchRules:t}}var Bp=null;async function We(e){return Bp=await Nf(e),Bp.rawUserConfig?.DEBUG&&Ji.updateIsProd(!1),Bp}async function Op(e,t){if(!t){let r=Bp||await rn();t=Sk(r).urlMatchRules}return t.find(r=>r.excludeMatches?.length&&et(e,r.excludeMatches)?!1:!!(r.matches?.length&&et(e,r.matches)))}function sn(e,t){if(!e||e.beta||t)return!1;if(Mt()&&e.spVersion)return dt(On(),e.spVersion);if(iS()&&e.gspVersion){let n=Wo();if(n)return dt(n,e.gspVersion)}if(ot()&&e.ispVersion){let n=ya();if(n)return dt(n,e.ispVersion)}return!1}function wk(e){e.message?.indexOf("token invalid")>=0&&(le.clearUserInfo(),Lg(),Dg())}function _p(e){return["zh-TW","zh-HK"].includes(e||"")}async function mi(e){let n=(await We())?.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"),lt(i.toString())}function Up(e){return e?e.map(n=>{let r=HJ(n),i={url:r?.url||"",name:r?.siteName||""};if(!r?.browserNames)return i;let a=Ri();return r.browserNames.split(",").includes(a)?i:null}).filter(n=>!!n):[]}function HJ(e){let t=/^(https?:\/\/[^[]+)(\[[^\]]+\])(\[[^\]]+\])?$/,n=e.match(t);if(n&&n.length>0){let r=n[1],i=n[2]?.replace("[","")?.replace("]",""),a=n[3]?.replace("[","")?.replace("]","");return{url:r,siteName:i,browserNames:a}}else return null}function ul(){return ot()?ot()&&dt(ya()||"",QS):!0}function Db(e,t){let n=e?.name;return n===e?.type&&["free","pro"].includes(e?.group)&&(n=""),n||t("translationServices."+e?.type)}function Ek(e,t){let n=e.subscription;if(!n)return t("freePlan");let r=t(`subscription.${n.memberShip}`);return n.memberType&&n.memberType!=="individual"&&(r+=`-${t(`subscription.${n.memberType}`)}`),n.datePeriod&&(r+=`(${t(`subscription.${n.datePeriod}`)})`),r}function VJ(e){let t=["SUPER_ADMIN","ADMIN"];return!!(e&&e.teamUserRoleCode&&t.includes(e.teamUserRoleCode))}function jp(e){return e?.subscription?.memberType==="team"||VJ(e)}var GJ={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 Xt(e){e==="zhipu-pro"&&(e="zhipu"),e==="hymt"&&(e="hunyuan"),e==="free-model"&&(e="free"),e=="qwen-mt"&&(e="qwen");let t=GJ[e];return!t&&e!="mock"&&M.debug("icon",e,"not found"),t}var Mk="reward_center_data_v1",Ik=24*60*6e4,ka=null,Aa=null,WJ=0;function Lk(e){return e?Date.now()-e>Ik:!0}function Dk(e){ka&&ka.token!==e&&(ka=null),Aa&&Aa.token!==e&&(Aa=null)}async function qJ(e){try{let t=await le.getExpired(Mk,null);return!t||!t.token||t.token!==e||!t.data||Lk(t.updatedAt)?null:t}catch{return null}}async function KJ(e,t){let n={token:e,updatedAt:Date.now(),data:t};ka=n;try{await le.setExpired(Mk,n,Ik)}catch{}}async function Ak(e,t){if(Dk(e),!t?.force&&Aa&&Aa.token===e)return await Aa.promise;let n=++WJ,r=(async()=>{let i=await Tt.get("v1/novice-tasks");return await KJ(e,i),i})().finally(()=>{Aa?.token===e&&Aa?.seq===n&&(Aa=null)});return Aa={token:e,seq:n,promise:r},await r}var Pb=async e=>{let t=await le.getUserToken();if(Dk(t),e?.forceRefresh)return await Ak(t,{force:!0});if(ka&&ka.token===t)if(Lk(ka.updatedAt))ka=null;else return ka.data;let n=await qJ(t);return n?(ka=n,n.data):await Ak(t)},QJ=async e=>{await Tt.post(`v1/novice-tasks/${e}/complete`,{})},Pk=async e=>{await Tt.post(`v1/novice-tasks/${e}/take-reward`,{})},Rk=async()=>{try{return await Tt.get("v1/user")}catch(e){return M.error("checkIsLogin error",e),!1}},Nk=async()=>{try{if(!await le.getUserToken())return null;let t=await Tt.get("v1/user");return le.saveUserInfo(t),t}catch(e){return M.warn("updateUserInfo error",e),null}};function YJ(e){let t=[_.EBOOK_VIEWER_URL,_.SUBTITLE_BUILDER_URL,_.HTML_VIEWER_URL,_.PDF_VIEWER_URL,_.EBOOK_BUILDER_URL].filter(r=>!!r),n=e.url;return!!t.find(r=>n.includes(r))}function ZJ(e){return!!e.url.includes(_.PDF_PRO_URL)}var fi=async(e,t)=>{if(Ku(t)||!!!await le.getUserToken())return!1;e==="translate_web_1"&&(YJ(t)?fi("translate_pdf_1",t):ZJ(t)?fi("translate_pdf_2",t):Of(t.config,t.translationService)&&fi("translate_web_2",t));try{let a=await Pb(),o=null;for(let s of a.groupViews){for(let l of s.taskItems)if(l.taskConfig.taskKey===e){o=l;break}if(o)break}return o?o.enabled?o.completed?(M.debug(`[reward-center] Task ${e} is already completed`),!1):(await QJ(e),M.debug(`[reward-center] Task ${e} completed successfully`),be({type:"side_panel",name:"reward_center"},{method:"refreshRewardCenter",data:{}},!0),!0):(M.debug(`[reward-center] Task ${e} is not enabled`),!1):(M.debug(`[reward-center] Task with key ${e} not found`),!1)}catch(a){return M.error(`Failed to complete task ${e}:`,a),!1}};function Ku(e){try{if(e.isTeam||Ue())return!0;let t=e.config.sidePanel?.rewardCenter?.disabledAt;return t?new Date(t).getTime()<Date.now():!1}catch{return!1}}var JJ={noviceAITokenQuota:{totalField:"noviceAITokenQuota",usedField:"noviceAITokenUsedQuota"},noviceProPdfQuota:{totalField:"noviceProPdfQuota",usedField:"noviceProPdfUsedQuota"},noviceAsrAudioQuota:{totalField:"noviceAsrAudioQuota",usedField:"noviceAsrAudioUsedQuota"}};function XJ(e,t){let n=JJ[t],r=e[n.totalField]||0,i=e[n.usedField]||0;return Math.max(0,r-i)}function kk(e){return{hasQuota:e>0,quota:e}}function zp({user:e,quotaType:t}){if(!e?.noviceQuota)return kk(0);let n=XJ(e.noviceQuota,t);return kk(n)}var Fk=(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 ia(e,t,n){return Tf(n,e)||n}function Ok(e,t,n){let r=[],i=new Set;for(let a of n){let o=ia(e,t,a);i.has(o)||(i.add(o),r.push(o))}return r}function Bg(e){if(Math.abs(e)<1024)return e+" Byte";let n=["KB","MB","GB","TB","PB","EB","ZB","YB"],r=-1;do e/=1024,++r;while(Math.abs(e)>=1024&&r<n.length-1);return e.toFixed(1)+" "+n[r]}function _k(e,t,n,r=!1){let i=$J(e,t),a={};if(r)a.all=i;else for(let s of i){let l=`${s.from}->${s.to}`;a[l]||(a[l]=[]),a[l].push(s)}let o=[];for(let s in a){let l=a[s];if(l.length===0)continue;let u=l[0].from,d=l[0].to,g=l[0].fromByService,m=l[0].url,f=e[0].inArticleContext;if(s!=="all"){let x=s.split("->"),y=l.find(b=>b.from===x[0]&&b.to===x[1]);y&&(u=y.from,d=y.to,g=y.fromByService)}let p={from:u,fromByService:g,to:d,tempSentences:[],url:m,inArticleContext:f},h=0;for(let x of l)(h+x.text.length>t||p.tempSentences.length>=n)&&(p.tempSentences.length>0&&o.push(p),p={from:u,fromByService:g,to:d,tempSentences:[],url:m,inArticleContext:f},h=0),p.tempSentences.push(x),h+=x.text.length;p.tempSentences.length>0&&o.push(p)}return o}function $J(e,t){let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],{from:o,fromByService:s,to:l,text:u,url:d,xpath:g}=a,m=0,f=u.split(/\r?\n/),p=[],h="";for(let x=0;x<f.length;x++){let y=f[x];if(y.trim()===""){p.length>0?x<f.length-1&&(p[p.length-1].suffix+=`
`):h+=`
`;continue}else if(y.length>t){let v=[];eX(y,t,v);for(let C=0;C<v.length;C++){let S=v[C],{text:T,prefix:w,suffix:E}=S;m++,p.push({from:o,fromByService:s,to:l,text:T,prefix:w,suffix:E,index:i,url:d,sentenceTotalParts:m,partIndex:m-1,xpath:g,force:a.force||!1}),r[i]=m}}else m++,p.push({text:y,prefix:h,suffix:"",from:o,fromByService:s,to:l,index:i,url:d,sentenceTotalParts:m,partIndex:m-1,xpath:g,force:a.force||!1}),r[i]=m;p.length>0&&x<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 gs(e,t,n){let{ignoreZhCNandZhTW:r}=n,i=Te(e),a=Te(t),o=i===a;return o?!0:(r===!0&&(o=i.startsWith("zh")&&a.startsWith("zh")),o)}function eX(e,t,n){let r=Sf(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?Uk(e,t,n):(n.push(...i),n)}function Uk(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)}),Uk(e.substring(i+1),t,n);break}}function wt(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 tX(e){let{packageMaxAIQuota:t=0,packageMaxAIUsedCount:n=0}=e.user?.subscription||{};return t-n}function Hp(e,t,n,r,i){let a=t==="inherit"?n.config.translationService:t,o=n.config.translationServices[a]||{},s=de.bind(null);o.name=Db(o,s);let l=i||_n[o.type]||_n[a],u=n.user,d=Nt(u);o.type==="custom-ai"&&(l={...rl,name:o.name});let g=!0,m=o.provider||"";!m&&o.group==="custom"&&(m="custom");let f=l.allProps?.slice()||[],p=o.type===gt||a===gt;if(l.ai&&!p){let v=n.localConfig.aiAssistants?.map(C=>({label:C.i18n?.[r]?.name||C.name,value:C.id}))?.filter(C=>C.label&&C.value)||[];if(v.length>0){let C=[{label:"aiAssistant.common",value:"common"}];v.length>1&&C.push({label:"aiAssistant.auto",value:"auto"});let S={type:"select",name:"assistantId",labelKey:"field_label.assistant",default:"common",required:!1,optional:!1,options:rX([...C,...v,{label:"aiAssistant.more",value:"more",action:"jumpOptions",args:[!0,"#ai"]}])};f.push(S),l.props=[S]}}let h=[],x=[];if(!d&&o.group==="pro"){let{quota:v}=zp({user:n.user,quotaType:"noviceAITokenQuota"});v<100&&(g=!1)}let y=tX(n);if(!n.isMax&&o.group==="max"&&y<=100&&(g=!1),f.length>0){f.forEach(C=>{C.providers&&C.providers.length>0&&!C.providers.includes(m)||(C.optional?x.push(C):h.push(C))});let v=x.concat(h).filter(C=>C.name=="APIKEY"?!o.freeModels?.includes(o.model):C.required);if(v.length>0){for(let C of v)if(!o[C.name]){g=!1;break}}}let b=ia(n.config,e,n[e])===t;return{...l,id:t,name:o.name,type:o.type||t,selected:b,ok:g,currentProvider:m,config:o,providers:l.providers||[],props:l.props||[],allProps:f,optionalProps:x,explicitProps:h}}var Qu=(e,t,n="en")=>{let{config:r}=e,i=r.debug,a=de.bind(null),o=ia(e.config,t,e[t]),s=Object.keys(e.config.translationServices).filter(l=>{let u=e.config.translationServices[l];return!!["free","pro","custom","max"].includes(u.group)});if(t!=="translationService"&&s.unshift("inherit"),!Gr()){s=Object.keys(_n),t!=="translationService"&&s.unshift("inherit");let l=Object.keys(e.config.translationServices).filter(u=>e.config.translationServices[u].type==="custom-ai");s=[...s,...l]}return s.filter(l=>sg(r,l)?!1:l===o||l==="inherit"?!0:l.startsWith("mock")?i:l=="custom-ai"?!1:Rb({serviceKey:l,ctx:e})).map(l=>{let u=Hp(t,l,e,n),d=r.defaultTranslationServicesOrder;return u.order=aX(l,d),u.name=Hk(e.config,u,a,!0)||u.name,u.id!=="inherit"&&(u.icon=Xt(u.config.type||u.id)),u.icon||(u.icon=Xt("custom-ai")),u.visible=jk(u.config,n,d,u.id),u.id===o&&(u.visible=!0),u}).sort((l,u)=>(l.order||0)-(u.order||0))};function Rb(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=_n[a?.type]||_n[t];if(!a||!o)return!1;let s=Nt(i);if(a.hiddenPro&&s&&n.translationService!==t)return!1;let l=r.alpha,u=r.beta,d=r.canary,g=a?.disabledAt,m=!!o.canary,f=!!o.alpha,p=!!o.beta;return t==="openai"&&Mt()?r.showOpenaiOnSafari||s?!0:!!(u||l||d||s):Nb(g)||a.isDeleted?!1:m&&d||f&&(l||d)||p&&(u||l||d)?!0:!f&&!p&&!m}function Tr(e,t,n,r=[]){let i=de.bind(null);return Qu(e,t,n).filter(a=>a.id=="inherit"||a.id==e[t]?!0:jk(a.config,n,e.config.defaultTranslationServicesOrder,a.id)||r.includes(a.id)).map(a=>(a.name=Hk(e.config,a,i,!0)||a.name,a.id=="inherit"?a.icon=Xt(a.type):a.icon=Xt(a.config.type||a.id),a.icon||(a.icon=Xt("custom-ai")),a))}function Ni(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:Ue()?[]:i}]}function jk(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 ms(e,t,n="en",r,i){let a=i?.normalizeServiceId===!1?r:ia(e.config,t,r);return i?.includeHiddenServices?e.config.translationServices?.[a]?Hp(t,a,e,n):void 0:Qu(e,t,n).find(l=>l.id===a)}function cl(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16))}function zk(e,t,n){if(!n)return i(e);if(!t.startsWith("zh")||!/[a-zA-Z]/.test(e))return e;let r=nX(e);for(let a=0;a<r.length;a++){let o=r[a];if(o.isTag)continue;let s=r[a-1],l=a;for(;s?.isTag;)l--,s=r[l-1];let u=r[a+1],d=a;for(;u?.isTag;)d++,u=r[d+1];s?.endChinese&&!o.startChinese&&(s.text=s.text+" "),!o.endChinese&&u?.startChinese&&(u.text=" "+u.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 nX(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 Hk(e,t,n,r=!1){if(t.id==="inherit")return n("translationServices.inherit");let i=Db(t.config,n);return!t.ok&&!r&&(ts(e,t.id)||(i=`${i} ${n("needAction")}`)),Gr()||(i=n("translationServices."+t.id),t.id.startsWith("custom-ai")&&(i=t.name)),i}function rX(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 iX(e,t){let n=y7(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 Vp(e,t){return e?`<div style="display:flex;flex-direction:row;">
  <div style="margin-right:6px;flex:1;border: 1px dashed #f78fb6;padding:6px;">${iX(t,e)}</div>
  <div style="margin-left:6px;flex:1;border: 1px dashed;padding:6px;">${t}</div></div>`:t}function Gp(e){let t=!1;if(typeof window<"u"&&typeof location<"u"&&(t=location.search.includes(af)),!e)return{queryEnable:t};let n=e.enableContextDiffPreview;return!t&&!n?null:{queryEnable:t,configEnable:n}}function Vk(e){return e.providers?.length===1&&e.providers[0]?.name==="pro"}function Nb(e){try{return e?new Date(e).getTime()<Date.now():!1}catch{return!1}}function Ma(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 Wp(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(),l=a[s]||[];l.push(o),a[s]=l}for(let o of i){let s=o.toLowerCase();a[s]&&r.push(...a[s])}}return r}function Gk(e){let{glossaries:t,text:n,delimiters:r,variables:i,counter:a,from:o}=e,s=n,l=Ca.includes(o);for(let u of t||[]){let d=new RegExp(l?u.k:`\\b${u.k}\\b`,"gi");s=s.replace(d,()=>{let g=a++;return i[`${g}`]=u.v||u.k,r.length>2?`<${r[2]}${g}></${r[2]}${g}>`:`${r[0]}${g}${r[1]}`})}return{text:s,variables:i}}function Fb(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+)>`),l=t;return Object.keys(r).length>0&&(l=l.replace(o,d=>{let g=d.match(s);if(!g)return d;let m=g[1],f=Number(m);if(isNaN(f))return d;let p=r[m];return p||d})),l}else{let a=`${n[0]}(\\d+)${n[1]}`,o=new RegExp(a,"g");i=i.replace(o,s=>{let u=s.replace(new RegExp(n[0],"g"),"").replace(new RegExp(n[1],"g"),""),d=Number(u);return isNaN(d)?s:r[d]?r[d]:s})}return i}function qp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Gr(){let e=On();return dt(e,"1.18.2")}function Xr(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),Gr()?a.userTranslationServices={...t.userTranslationServices,[r]:i}:a[r]=i,a}function Wk(e){let t=Xr(e),n=e.config.accurateConfigs;if(!n)return t;let r=Object.entries(n).find(([o,s])=>et(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 aX(e,t){if(t?.length){let n=t.indexOf(e);return n>=0?n:t.length+Bk(e)}return Bk(e)}function Bk(e){let t=0;if(e===gt)return 99;e.includes("-free")?t+=100:e.includes("-pro")?t+=200:e.includes("-max")?t+=300:t+=400;for(let n=0;n<uf.length;n++)if(!(e=="zhipu-pro"&&uf[n]=="zhipu")&&e.includes(uf[n]))return t+=n,t;return t+50}var Kp=[{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 oX=["inline","inline-block","inline-flex","inline-grid","inline-table","ruby","ruby-base","ruby-base-container","ruby-text","ruby-text-container","math","inline-math"];function Fi(e,t){if(!t||t.length===0)return!1;let n=t.join(",");return e.matches&&e.matches(n)||!1}function Bb(e,t){if(t.length===0)return!1;let n=t.join(",");return e.closest&&e.closest(n)&&!0||!1}function Ia(e,t,n){let{blockSelectors:r,extraBlockSelectors:i,extraInlineSelectors:a,atomicBlockSelectors:o}=t;if(Fi(e,a))return!1;if(Fi(e,i)||["br","input"].includes(e.nodeName.toLowerCase()))return!0;let u=null;if(e.parentNode&&e.parentNode.immersiveTranslateComputedStyle&&(u=e.parentNode.immersiveTranslateComputedStyle),u&&u.display&&u.display==="inline-flex")return!1;let d=g();return d&&(d=!Fi(e,o)),d;function g(){return n?.display?!oX.includes(n.display):Fi(e,r)}}var yn=Fi;function Yu(e){return!!e.shadowRoot}function fs(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 Og(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 Bi(e,t=!1){let n=mu;return t&&e?.translatedPlaceholderDelimiters?n=e.translatedPlaceholderDelimiters:e?.placeholderDelimiters&&(n=e.placeholderDelimiters),n}function dl(e,t,n=!1){let r=e?.[t];return Bi(r,n)}function Zu(e,t){return gs(t,e.targetLanguage,{ignoreZhCNandZhTW:e.rule.ignoreZhCNandZhTW})}function Ob(e){let{rule:t}=e,n=sX(e),r="&#160;";return!e.config.generalRule.blockMinTextCount&&!e.config.generalRule.blockMinWordCount&&(r="<br/>"),`${r} <${t.targetWrapperTag} class="${n} notranslate"></${t.targetWrapperTag}>`}function sX(e){let t=e.config.loadingTheme;return`${z}-loading-${t}`}function _g(e,t,n=!1){let r=e.rule,i=document.createElement(r.targetWrapperTag);i.classList.add("notranslate",It),i.setAttribute("translate","no"),i.setAttribute("lang",e.targetLanguage),zn(i,DS,t.toString(),!0);let a=Ob(e);return i.append(n?" ...":ht.sanitize(a,{RETURN_DOM_FRAGMENT:!0})),i}function Ju(e,t){return e.querySelector(`[${N2}][id='${t}']`)}function _b(e){e.querySelectorAll(`[${N2}]`).forEach(n=>{n.remove()})}function Ub(e){e.querySelectorAll(`.${It}-error`).forEach(n=>{n.remove()})}function qk(e,t,n,r){let i={},a=e,o=1001,s=d=>r.length>2?`<${r[2]}${d}></${r[2]}${d}>`:`${r[0]}${d}${r[1]}`,l=(d,g)=>{let m=o++,f=s(m);return i[`${m}`]=i7(g),d.replace(g,f)};t.forEach(d=>{let g=new RegExp(d,"gi");a=a.replace(g,l)}),(n||Kp).forEach(({include:d,exclude:g})=>{let m=typeof d=="string"?new RegExp(d,"gi"):d,f=typeof g=="string"?new RegExp(g,"gi"):g;a=a.replace(m,(p,h)=>f?.test(p.trim())?p:l(p,h))});let u=!1;if(Object.keys(i).length){let d=a,g=Object.keys(i);for(let m of g){let f=s(Number(m));d=d.replace(new RegExp(qp(f),"gi"),"")}u=d.trim()===""}return{originalText:e,text:a,variables:i,counter:o,isOnlyPlaceholder:u}}function ps(e){let{noTranslateRegexp:t,minTextCount:n,minWordCount:r,delimiters:i,text:a,html:o}=e,s=o||a,l=new RegExp(`${i[0]}(\\d+)${i[1]}`,"gi");if(i.length>2){let d=i[2];l=new RegExp(`<${d}(\\d+)>(.*?)</${d}\\d+>`,"gi")}let u=s.trim();return u=u.replace(l,""),u=u.trim(),u===""||/^[\u200B\u200C\u200D\u2060\uFEFF]+$/.test(u)||/^[0-9.,\/#!$%\^&\*;:{}=\-_`~()\s]+$/.test(s)||u.includes("</style>")||u.includes("< styles>")||oM(u)||nM(u)||aM(u)||rM(u)||iM(u)||lX(u)||l.test(u)||t&&t.length>0&&new RegExp(t.join("|"),"gi").test(u)?!1:eh(a?.trim(),n,r)}function hs(e){return e.nodeType===Node.ELEMENT_NODE}function Kk(e,t){return e.paragraphs?e.paragraphs[0]?.ctxId!==t?(e.paragraphs=[],!1):!0:!1}function jb(e){let t=new Date(e),n=t.getFullYear(),r=t.getMonth()+1,i=t.getDate(),a=t.getHours(),o=t.getMinutes(),s=t.getSeconds();return`${n}/${r}/${i} ${a}:${o}:${s}`}async function Sr(){return await Vt("fakeUserId","")}async function Lb(){return await Vt("installedAt","")}async function Yp(e,t){let r=mt().INSTALL_FROM,i=Kn(),a=await Lb(),o=await Sr(),s=await We(),l=Ri(),u=!1,d=await le.getUserInfo(),g=!1;d&&Nt(d)&&(u=!0,d.subscription&&d.subscription.isTrial&&(g=!0));let m=await wa(),f=await wu(),p={installFrom:r,version:i,installedAt:a,interfaceLang:e,optionInterfaceLang:s.interfaceLanguage,targetLang:t,deviceId:o,isProUser:u,isTrial:g,userTag:m,campaign:f,platform:l,isLogin:!!d,isCN:Ue()},h=await Pf();return h&&(p.abGroup=h),p}function gl(e,t){let[n,r]=N();return W(()=>{!e||!t||(async()=>{let i=await zb(e,t);r(i)})()},[e,t,r]),n}async function zb(e,t){if(!e||!t)return;let n=!1,r=!1,i,a=!0;!Mt()&&Ae()||Se().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 Vt("installedAt","");new Date(o).getTime()<new Date(i.afterInstalledAt).getTime()&&(i.enable=!1)}}catch(o){M.error(o)}i.isPc=a;try{r&&i&&globalThis?.IMMERSIVE_TRANSLATE_SHOW_PAGE_POPUP==="no"&&(i.enable=!1)}catch(o){M.error(o)}return i}function aa(e,t){return!Mt()&&Ae()||Se().any?e.monkeyH5FloatBall=t:e.pcFloatBall=t,e}function Qk(){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){M.error(i)}}return t}function Yk(e,t,n=10){let r=t,i=0;for(;r&&i<n;){if(r.nodeType!=Node.ELEMENT_NODE)return null;if(Ia(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 lX(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 Zk(e,t){let n=t,r=e.config.translationModeLanguagePattern?.dualMatches?.find(s=>s==n),i=Hb(e).find(s=>s==n),a=e.config.translationModeUrlPattern?.dualMatches?.find(s=>et(e.url,s));return e.config.translationModeUrlPattern?.translationMatches?.find(s=>et(e.url,s))?"translation":a?"dual":i?"translation":r?"dual":null}function Hb(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 Jk(e,t){let n=e.config.translationLanguagePairs;if(!n)return;let r=n.map(a=>a.split(":")).findIndex(([a,o])=>a==t&&o==e.targetLanguage);if(r<0)return;let i=n.slice();return i.splice(r,1),i}function Xk(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 Qp={};async function Zp(e,t){return Qp[e]&&(clearTimeout(Qp[e]),delete Qp[e]),new Promise((n,r)=>{Qp[e]=setTimeout(()=>{n("")},t)})}function $k(e){return e instanceof HTMLElement?getComputedStyle(e).display:""}async function oa(e,t){if(e.ok&&e.status>=200&&e.status<400)return e;let n=await e.text();throw new J(t,n).initNetWork(e.status)}function Jp(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 Ri(e){return Gt()?"imtAndroid":Vd()?"imtIOSNew":ot()?"imtIOS":Ae(e)?"userscript":Mt()?"safari":Cn()?"firefox":Wn()?"chrome":"other"}function Xu(e){return Ri(e)+"_"+(Se().any?"mobile":"pc")}function La(e,t){if(t)try{e?.setAttribute("imt-state",t||"")}catch{}}function Xp(e){return e?.getAttribute("imt-state")||""}function Qe(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=Qe(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){M.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){M.error("queryAdvanceSelector <-",i)}return r}return(t||document).querySelector(e)}function $u(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=Qe(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=Qe(e,a.parentElement);o&&r.push(o)}return r}return t.querySelectorAll(e)}function $p(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(Fi(i,n.atomicBlockSelectors))continue;if(r.every(a=>a.has(i)))return i}return null}function Vb(e){if(!e)return[];let t=[];return e.map(n=>{let r=document.querySelectorAll(n);t.push(...r)}),t}function eM(e,t){return t.map(n=>n.text).join(" ").slice(0,e.rule.bodyRule.contextReqLength||0)}function tM(e){return/^<[\w-]+.*?<\/[\w-]+(?![^<>]*>)/.test(e)}function ml(e,t,n){let r=e.includes("?")?"&":"?",i=`${e}${r}utm_source=extension&utm_medium=extension&utm_campaign=${t}${n?`&${n}`:""}`;lt(i)}var Qve=Ae();function sM(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 Gb(e,t){return e.nodeType===Node.ELEMENT_NODE?!Ia(e,{blockSelectors:t.blockSelectors,extraInlineSelectors:t.extraInlineSelectors,extraBlockSelectors:t.extraBlockSelectors,atomicBlockSelectors:t.atomicBlockSelectors},globalThis.getComputedStyle(e)||null):!1}function uX(e,t,n){if(!(e.nodeType===Node.ELEMENT_NODE||e.nodeType===Node.TEXT_NODE)||e.nodeType===Node.ELEMENT_NODE&&th(e,RS,!0))return!0;if(e.nodeType===Node.ELEMENT_NODE&&th(e,wS))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"))||cX(e.nodeName,a))}function eh(e,t,n){if(!e)return!1;let r=e.trim();return!uM(r)&&r.length>=n||r.length>=t}function lM(e,t,n){let r=e.trim();if(r.length<=t)return!0;if(uM(r)){if(r.split(" ").length<=n)return!0}else if(r.length<=n)return!0;return!1}function uM(e){for(let t=0;t<e.length;t++)if(e.charCodeAt(t)>127)return!1;return!0}function nM(e){if(e&&e.includes("://")&&!e.includes(" ")&&e.length<512)try{return new URL(e),!0}catch{return!1}else return!1}function rM(e){return e?/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/.test(e):!1}function iM(e){return e?/^[_\d:\-+\.。，,% ]+$/.test(e):!1}function aM(e){if(e&&e.startsWith("#")){if(e.split("#").length>2)return!1;if(e.indexOf(" ")===-1)return!0}return!1}function oM(e){return!!(e&&e.startsWith("@")&&e.indexOf(" ")===-1)}function cM(e){return(e?.innerText||e?.textContent||"")?.trim()}function nh(e){return e?typeof e=="string"?document.querySelector(e)!==null:e.some(t=>document.querySelector(t)):!1}function th(e,t,n=!1){return Wb(e,t,"1",n)}function Wb(e,t,n,r=!1){return r?e.dataset?.[t]===n:e[Br]?e[Br]?.[t]===n:!1}function qb(e,t,n=!1){return n?e.dataset[t]!==void 0:e[Br]?!!(e[Br]&&e[Br][t]):!1}function zn(e,t,n,r=!1,i=!1){e.isContentEditable&&!i||(r?e.dataset[t]!==n&&(e.dataset[t]=n):(e[Br]||(e[Br]={}),e[Br][t]=n))}function Ug(e,t,n=!1){if(n)delete e.dataset[t];else{if(!e[Br]||!e[Br][t])return;delete e[Br][t]}}function dM(e,t,n=!1){return n?e.dataset[t]:!e[Br]||!e[Br][t]?void 0:e[Br][t]}function Ve(){if(!globalThis||!globalThis.location)return"https://example.com";if(!kt())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 wn(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 M.warn("injectCSS failed, rootDocument does not have head node",e)}catch(r){M.warn("injectCSS failed, rootDocument"+r?.message,e)}}function ec(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="${R2}"]`):!1}catch{}return!1}function cX(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 gM(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 mM(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(l=>!!l?.shadowRoot);if(s)return Kb(s,e,t);if(o.nodeType!==Node.TEXT_NODE)return null}if(uX(o,n,!0))return null;try{a.setStart(o,i.offset),a.setEnd(o,i.offset)}catch(s){return M.warn("getRangeFromPoint error",s),null}return a}return null}else return r.document.caretRangeFromPoint?r.document.caretRangeFromPoint(e,t):null}function Kb(e,t,n){let r=0,i=(a,o,s,l)=>{if(++r>100||l===a)return a;let u=a.shadowRoot;if(!u||typeof u.elementFromPoint!="function")return a;let d=u.elementFromPoint(o,s);return d?i(d,o,s,a):a};return i(e,t,n)}function fM(e,t,n,r){try{if(r.document.elementsFromPoint){let a=r.document.elementsFromPoint(e,t).find(d=>d.nodeName==="IMG");if(!a)return null;let o=a.getBoundingClientRect(),s=n.imageRule,l=s?.hoverMinHeight||100,u=s?.hoverMinWidth||100;return o.width<u||o.height<l?null:a}}catch{}}function pM(e){let t=e?.toLowerCase();return t?.startsWith("mjx-")||t?.includes("math")||t?.startsWith("latex")}function fl(e,t,n,r,i){let a=dX(e,t,n,r,i);a?wn(e,a,z+"-user-custom-style"):i&&wn(e,"",z+"-user-custom-style")}function dX(e,t,n,r,i){let a=hM(e,t,n[t]||{},r),o=hM(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 hM(e,t,n,r){let i=t,a=Zd[i]||[],o="";e&&a&&a.length>0&&a.forEach(l=>{let{name:u}=l;if(e&&n&&n[u]){let d=n[u];if(["borderRadius"].includes(u)&&(d+="px"),o+=`--${z}-theme-${i}-${u}: ${d};
`,(t==="marker"||t==="background")&&u==="backgroundColor"&&typeof d=="string"){let{r:g,g:m,b:f}=gM(d);o+=`--${z}-theme-${i}-${u}-rgb: ${g}, ${m}, ${f};
`}}}),r||(r="inherit"),e&&(o+=`
.${z}-target-inner { font-family: ${r}; }
`);let s="";if(n&&n.textColor){let l=n.textColor;s+=`
[imt-state="dual"] .${z}-target-translation-theme-${i}-inner{color: ${l};}
`}if(n&&n.zoom){let l=n.zoom;s+=`
[imt-state="dual"] .${z}-target-translation-theme-${i}-inner{font-size: max(13px, ${l}%);}
`}if(n&&n.weight){let l=n.weight;s+=`
.${z}-target-translation-theme-${i}-inner{font-weight: ${l};}
`}return n&&n.italics&&(s+=`
[imt-state="dual"] .${z}-target-translation-theme-${i}-inner{font-style: italic;}
`),{variableCss:o,otherCss:s}}function ys(e,t){let r=mt()["inject.css"];wn(e,r,z+"-default-injected-css");let i=t.config.translationThemePatterns||{},a=t.state.translationTheme||t.config.translationTheme,o=t.config.selectTranslationFont;fl(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&&wn(e,s,z+"-dynamic-injected-css")}function Qb({value:e,defaultCase:t=null,cases:n}){if(e==null)return null;let r=e.split("?")[0],i=n[r]??t;if(e.includes("#services")&&(i=n["#services"]),e.includes("#ai")&&(i=n["#ai"]),e.includes("#terms")){let a=/^#terms\/.+$/.test(e);return i=a?n["#terms/:id"]:n["#terms"],c(ie,{children:[!a&&c(i,{id:e.split("#terms/")[1]}),a&&c(i,{})]})}return c(ie,{children:c(i,{})})}function wo(){let[e,t]=N(location.hash);return W(()=>{let n=()=>t(location.hash);return globalThis.addEventListener("hashchange",n,!1),()=>{globalThis.removeEventListener("hashchange",n)}},[]),e}var gX=()=>Qn,rh=()=>Qn.filter(e=>e!=="auto");function Lt(e,t){return(e||["ar","arc","az","dv","he","ckb","fa","ur","ug"]).includes(t)}var Et=(e,t,n,r)=>{let i=s7[e]||e,a=rg[e]||e,o=ig[e],s=ag[e],l={"zh-CN":o,"zh-TW":s,"zh-HK":s,en:a};if(n)return l[e]?l[e]:a;let u=e!==t&&i!=="All Languages";if(l[t]){let d=l[t];return r||e==="auto"||e==="placeholder"?d:u?`${d} (${i})`:`${d}`}else return u?`${a} (${i})`:a};function Oi(e,t,n){let r,i;n==="zh-CN"||n==="zh-CN-NE"?(r=ig,i="zh-CN"):n==="zh-TW"?(r=ag,i="zh-TW"):(r=rg,i="en");let a=e.slice(0,t),o=e.slice(t);return o.sort((s,l)=>{let u=r[s]||s,d=r[l]||l;return u.localeCompare(d,i)}),a.concat(o)}function yM(e){let t=gX(),{interfaceLanguage:n,useOriginal:r,useInterfaceLanguage:i}=e;return t.map(a=>({code:a,name:Et(a,n,r,i)}))}async function bM(e){try{return await be({type:"content",tabId:e,topFrame:!0},{method:"getPageStatus",data:{trigger:"shortcut"}})}catch{return null}}function Da(e,t){return Ae(t)&&!ot()?!1:vM(e.config,e.isPro,t)}function vM(e,t,n){let r=e.generalRule.imageRule,i=Xu(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}async function xM(){if(Ae())return!1;let e=await We(),t=await Cf();return vM(e,t)}function pl(e){let t=Ri();return!(e?.platforms&&!e.platforms.includes(t))}function ih(e){try{if(new URL(e).pathname.endsWith(".gif"))return!0}catch{return!1}}function jg(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 fX(){return Wn()&&!Mt()}var Zb=fX()?["action"]:["browser_action","page_action"],CM="",pX=[{id:"toggleTranslatePage",contexts:["page","frame","selection",...Zb]},{id:Qd,contexts:["image"]},{id:Kd,contexts:Zb},{id:AS,contexts:Zb}];async function hX(e){if(typeof e=="number")return e;if(!Ne.tabs?.query)return null;try{let n=(await Ne.tabs.query({active:!0,currentWindow:!0})).find(r=>typeof r.id=="number");return typeof n?.id=="number"?n.id:null}catch(t){return M.debug("resolve active tab id failed",t),null}}async function zg(e){e=e||await We(),M.debug("update ContextMenu",e);for(let t of pX){let n=de(`browser.${t.id}`,{targetLanguage:Et(e.targetLanguage,e.interfaceLanguage,!1,!0)});Ne.contextMenus.update(t.id,{title:n,visible:e.isShowContextMenu})}}async function Yb({targetLanguage:e,text:t,tabId:n}){let r=await We(),i="toggleTranslatePage",a;if(t)CM=t,a=de("browser.translateText",{text:t});else{let o=await hX(n),s=o!==null?await bM(o):null,l=s&&s!=="Original";a=de("browser.toggleTranslatePage",{targetLanguage:Et(e??r.targetLanguage,r.interfaceLanguage,!1,!0)}),l&&(a=`${de("show-original")}`);let u=Or(r.shortcuts.toggleTranslatePage);u&&(a+=`(${u})`),CM=""}Ne.contextMenus.update(i,{title:a,visible:r.isShowContextMenu})}async function Hg(){try{let e=await We(),t=await xM();Ne.contextMenus.update(Qd,{visible:t&&e.isShowContextMenu})}catch{}}function TM(e,t){let n=t;n||(n=mt()["inject.css"]||"");let i=`${`--${z}-${e}`}: (.+?);`,a=new RegExp(i),o=n.match(a);return o?o[1]:""}var SM=null;if(typeof trustedTypes<"u")try{SM=trustedTypes.createPolicy("sanitizer",{createHTML:e=>e,createScript:e=>e})}catch{}var wM=!1;globalThis.addEventListener("securitypolicyviolation",e=>{e.violatedDirective=="require-trusted-types-for"&&(wM=!0)});function ah(){return wM}var $n=SM;function EM(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(bX(t,a))return"";let o="",s,l="",u="";for(let h of n){let x=vX(t,h);if(u+=f(h),s&&x!=s){p(),s=x,l=f(h)||"";continue}s=x,l+=f(h)||""}p();let d=m(u),g=m(t.textContent||"");if(d==g&&t.innerText?.split(`
`).filter(h=>!!h.trim()).length!=u.split(`
`).filter(h=>!!h.trim()).length&&!/<[^>]+>/g.test(t.innerHTML))return t.innerText||"";return o;function m(h){return h.replace(/\s+/g,"")}function f(h){return h instanceof HTMLElement?h.innerText:h?.textContent||""}function p(){let h=m(f(s)),x=m(l);if(h==x){let y=f(s).replace(/ */g,"");if(!u.startsWith(`
`)&&y?.startsWith(`
`)||!u.endsWith(`
`)&&y?.endsWith(`
`)){o+=l;return}o+=PM(s,i)}else o+=l}}function AM(e,t,n,r,i){if(!e||!t)return"";let a=PM(n,i)||"";return t.replace(a,r)}var Jb=globalThis.document?.createElement("div");function yX(e){return Jb?(Jb.innerHTML=$n?.createHTML(e)||e,Jb?.childNodes?.[0]?.nodeType==Node.TEXT_NODE):!1}function kM(e,t,n){if(!t)return t;let r=t,i=/<([a-zA-Z0-9-]+)\s*([^<]*?)>/ig;return r.replace(i,(o,s,l,u)=>{if(n&&s.startsWith(n)&&s!=n||yX(`<${s} ${l}/>`))return o;let d=Object.keys(e).length;return e[d]={tag:s,attributes:l,index:u,id:d},`<${d}>`}).replace(/&&/ig,"%26%26").replace(/&lt;/ig,"%3C").replace(/&gt;/ig,"%3E")}function MM(e,t,n,r,i){let a=/<\/?([a-zA-Z0-9-]+)\s*([^<]*?)>/ig,o=[],s=[],l=[],u=t.replace(a,(g,m,f,p)=>{if(t[p+1]=="/"){let x=o.findIndex(b=>b.tag==m);if(x==-1)return g;let y=o[x];return o=o.slice(x+1),n?`</${n}${y.id}>`:`</${y.tag}>`}else{let x=e[m];if(!x)return g;if(o.unshift(x),n)return`<${n}${m}>`;if(!x.attributes)return`<${x.tag}>`;let y=i||"";return`<${x.tag} ${r||"id"}=${y}${x.id}${y}>`}});u.replace(a,(g,m,f,p)=>{if(u[p+1]=="/"){let x=s[0],y=s[1],b=l[l.length-1];x?.tag==m?(x.end==p?(x.endTag=g,x.end=p+g.length,l.push(x)):x.end==b?.begin&&b.end==p&&(x.endTag=g,x.end=p+g.length,x.times++,l[l.length-1]=x),s.shift()):y?.tag==m&&y.end==x.begin&&y.end==p&&(y.endTag=g,y.end=p+g.length,l.push(y),s.shift(),s.shift())}else s.unshift({tag:m,startTag:g,begin:p,end:p+g.length,times:0});return g});let d=u.slice();return l.forEach(g=>{if(!g.times)return;let m=Object.keys(e).length,f="";e[m]={tag:n||g.tag,content:"",id:m},n?f=`<${n}${m}></${n}${m}>`:f=`<${g.tag} ${r||"id"}=${m}></${g.tag}>`,e[m].content=d.slice(g.begin,g.end),u=u.replace(e[m].content,f)}),u}function IM(e,t,n,r){let i="";return n?i=LM(e,t,n):i=DM(e,t,r),i.replace(/%26%26/ig,"&&").replace(/%3C/ig,"&lt;").replace(/%3E/ig,"&gt;")}function LM(e,t,n){let r=/<\s*\/?([a-zA-Z0-9-]+)\s*([^<]*?)>/ig;return t.replace(r,(a,o,s,l)=>{let u=t[l+1];if(o[0]!=n)return a;let d=o.slice(1),g=e[d];return g?u=="/"?g.content?"":`</${g.tag}>`:g.content?LM(e,g.content,n):g.attributes?`<${g.tag} ${g.attributes}>`:`<${g.tag}>`:a})}function DM(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 l=e[s];if(!l)return a;if(l.content){let u=l.content.slice(0,l.content.length-`</${l.tag}>`.length);return DM(e,u,n)}return`<${l.tag} ${l.attributes||""}>`}).replace(/<\s*一个\s*id/ig,"<a id").replace(/<\s+(\/?[a-zA-Z0-9-]+)\s?>/,"<$1>")}function PM(e,t){if(e instanceof HTMLElement){if(pM(e.tagName))return e.innerHTML;let r="";return e.innerText.indexOf(`
`)<0?r=ht.sanitize(e.outerHTML.replace(/\s+/ig," "),{ADD_TAGS:t}):r=ht.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 bX(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 vX(e,t){let n=t;if(!e.contains(t))return t;for(;n&&n.parentNode!=e;)n=n?.parentNode||void 0;return n}function RM(e){return/<([a-zA-Z0-9-]+)\s*([^<]*?)>/ig.test(e)}function Xb(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}}),In({rule:n,valueIsArray:r=>Array.isArray(t[r]),getMergedValue:r=>t[r],onMergedResult:(r,i)=>{t[r]=i}},!0),t}function hl(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 NM(e,t){let n=t||e.translationService;return hl(e,n,e.config.translationServices)?Xb(e.rule):e.rule}function $b(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>`)}var e9={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 FM(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:e9[n]==e9[t.targetLanguage]?t.config.sameLangTranslationTheme:t.state.translationTheme}function oh(e,t,n,r,i){let a=t.original||t,o=EM(i,e,a,n.ignoreRichSelectors||[],n.domPurifyAddTags),s=null,{stayOriginalSelectors:l,delimiters:u,isPreWhitespace:d}=n,g=[],m={};for(let p=0;p<a.length;p++){let h=a[p],x=h.parentNode,y=x?.nodeName==="PRE",b=h.textContent||"",v=x?.textContent||"";if(h.nodeType===Node.TEXT_NODE&&x&&b===v&&(h=x),d)if(h.nodeType===Node.ELEMENT_NODE)if(h&&yn(h,l)){let S=Object.keys(m).length,T=BM(u,S);m[S]=h,g.push({text:T,type:"variable"})}else g.push({text:h.textContent||"",type:"text"});else{let C=h.textContent||"";y&&(C=fs(t9(h))),g.push({text:C,type:"text"})}else if(h.nodeType===Node.ELEMENT_NODE)if(h&&yn(h,l)){let S=Object.keys(m).length,T=BM(u,S);m[S]=h;let w=n9(g).endsWith(" ")?" ":"",E=fs(h.innerText||h.textContent),k=fs(h.nextSibling).startsWith(" ")?" ":"",D=Og(w+E+k),U=D[0]+T+D[1];if(w===" ")U=U.trimStart();else if(!U.startsWith(" ")){let B=Og(h.previousSibling)[1];B===""&&(B=" "),U=B+U}g.push({text:U,type:"variable"})}else{let C=n9(g).endsWith(" ")?" ":"",S=fs(h.innerText||h.textContent);y&&(S=fs(t9(h)));let T=fs(h.nextSibling).startsWith(" ")?" ":"",w=Og(C+S+T),E=w[0]+(h.innerText?.trim()||h.textContent?.trim()||"")+w[1];if(C===" ")E=E.trimStart();else{let k=Og(h.previousSibling)[1];k===""&&(h.nodeName==="A"||h.nodeName==="CODE")&&(k=" "),E=k+E}g.push({text:E,type:"text"})}else{let C=n9(g).endsWith(" ")?" ":"",S="";h.textContent&&(S=fs(t9(h))),C===" "&&(S=S.trimStart()),g.push({text:S,type:"text"})}}let f=o;if(g&&g.length>0){let p="";for(let y=0;y<g.length;y++){let b=g[y];if(b.type==="variable"){i&&a[y].nodeName=="CODE"&&n.smallCodeLength>0&&a[y].textContent.length<n.smallCodeLength||(f=AM(i,f,a[y],b.text,n.domPurifyAddTags));let C=null,S=null;y>0&&(C=g[y-1].text),y<g.length-1&&(S=g[y+1].text);let T="",w="";C!==null&&!C.endsWith(" ")&&(T=" "),S!==null&&!S.startsWith(" ")&&(w=" "),p+=`${T}${b.text.trim()}${w}`}else p+=b.text}let h={};n.purifyRichHtml&&(f=ht.sanitize(f,{ADD_TAGS:n.domPurifyAddTags})),f=kM(h,f,u[2])?.trim(),s={html:MM(h,f,r.richTag,r.richIdName,r.richIdSymbol),text:p,pureText:"",variables:m,richVariables:h}}return s&&g.length&&(s.pureText=g.filter(p=>p.type==="text").map(p=>p.text).join(" "),n.richMoreWordPercent&&g.length>4&&g.length/(s.pureText||"").split(/\s+/).length>n.richMoreWordPercent&&(s.html=void 0)),s}function BM(e,t){let n=`${e[0]}${t}${e[1]}`;return e[2]&&(n=`<${e[2]}${t}></${e[2]}${t}>`),n}function r9(e,t){let{rule:n}=t;if(!e.targetText)return"";let r=Gp(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=$b(e.targetText):e.targetText=ht.sanitize($b(e.targetText),{ADD_TAGS:t.rule.domPurifyAddTags});let o=[];if(e.variables){let x=Object.keys(e.variables);for(let y=0;y<x.length;y++){let b=x[y],v=e.variables[b];o[b]={type:"element",value:v}}}!r?.configEnable&&r?.queryEnable&&(e.targetText=Vp(e.contextTargetText,e.targetText));let s=t.config.translationServices[t.translationService];t.isRichTranslate&&(e.targetText=IM(e.richVariables,e.targetText,s.richTag,s.richIdName));let l=!1,u=e.text,d=u.split(" ").length,g=u.split(`
`).length;d<=n.blockMinWordCount&&u.length<=n.blockMinTextCount&&g<2&&(l=!0),e.display?.includes("flex")&&(l=!0);let m=t.rule.translationBlockStyle||"";e.hasFloatElement&&(m+="display:inline");let f=FM(e,t),p={id:Number(e.id),elements:[],isVertical:!1,rootFrame:e.commonAncestorContainer,text:e.text,variables:o,inline:l,preWhitespace:e.isPreWhitespace||!1,languageByLocal:"auto",languageByClient:"auto"},h=dl(t.config.translationServices,t.translationService);if(h.length>2){let x=h[2];return xX({delimiterTag:x,targetText:e.targetText,inline:l,preWhitespace:e.isPreWhitespace||!1,wrapperPrefix:t.rule.wrapperPrefix,wrapperSuffix:t.rule.wrapperSuffix,targetWrapperTag:t.rule.targetWrapperTag,translationTheme:f,translationBlockStyle:m,translationClasses:t.rule.translationClasses,variables:o,ctx:t}).html}else{let x=OM(p,{id:Number(e.id),url:"https://google.com",text:e.targetText,from:"auto",to:"auto"},t,f,m);return x.html}}function t9(e){return(e?.innerText||e.textContent||"").replace(/\s+/g," ")||""}function xX(e){let{delimiterTag:t,inline:n,translationClasses:r,targetWrapperTag:i,wrapperPrefix:a,variables:o,preWhitespace:s,wrapperSuffix:l,translationTheme:u,translationBlockStyle:d,ctx:g}=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,b=>{let v=f.indexOf(b),C=f[v-1]===" ",S=f[v+b.length]===" ",T=b.match(h);if(!T)return b;let w=T[1],E=Number(w);if(isNaN(E))return b;let k=o[Number(E)];if(k&&k.type==="element"){let D=ht.sanitize(k.value.outerHTML,{ADD_TAGS:g.rule.domPurifyAddTags});return C||(D=" "+D),S||(D=D+" "),D}else if(k&&k.type==="text"){let D=k.value;return C||(D=" "+D),S||(D=D+" "),D}else M.error("variable type not supported",k,b);return b}));let x=tc(u,n,r||[],s),y=nc(u);return i9({targetWrapperTag:i,innerClassList:y,classList:x,html:f,targetElementEffectAttributeName:gu,inline:n,wrapperPrefix:a,wrapperSuffix:l,position:"afterend",translationBlockStyle:d,translationPosition:g.config.translationPosition||"",translationMode:g.config.translationMode})}function i9({targetWrapperTag:e,innerClassList:t,classList:n,html:r,targetElementEffectAttributeName:i,inline:a,wrapperPrefix:o,wrapperSuffix:s,position:l,translationBlockStyle:u,translationPosition:d,translationMode:g}){let m="";u&&(m=`style="${u}"`),r=`<${e} class="${t.join(" ")}" ${i}="1">${r}</${e}>`,d!="before"&&(r=p(r));let f=[r];return a?o!=="smart"?f=[o,r]:g=="dual"?f=[`<${e} class="notranslate" ${i}="1">&#160;&#160;</${e}>`,r]:f=[r]:o==="smart"?f=["<br/>",r]:f=[o,r],r=d=="before"?f.reverse().join(""):f.join(""),d=="before"&&(r=p(r)),d!="before"&&(s==="smart"?r=`${r}`:r=`${r}${s}`),{html:r,position:l};function p(h){return`<${e} ${m} class="${n.join(" ")}" ${i}="1">${h}</${e}>`}}function n9(e){let t=e[e.length-1];return t?t.text:""}function tc(e,t,n=[],r){let i=["notranslate"];r&&i.push(US);let a=yl(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(jS):i.push(OS),i}function nc(e){let t=["notranslate",BS];return e&&t.push(yl(e).themeInner),t}function yl(e){return{theme:`${z}-target-translation-theme-${e}`,themeInnerInlineWrapper:`${z}-target-translation-inline-wrapper-theme-${e}`,themeInnerBlockWrapper:`${z}-target-translation-block-wrapper-theme-${e}`,themeInner:`${z}-target-translation-theme-${e}-inner`}}function _M(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 OM(e,t,n,r,i){let{rule:a}=n,{variables:o,isVertical:s}=e;o=o||[];let{text:l}=t,{wrapperPrefix:u,wrapperSuffix:d}=a,g=dl(n.config.translationServices,n.translationService,!0),m="afterend",f=g[0],p=g[1],h=`${f}(\\d+)${p}`,x=new RegExp(h,"g"),y=l;o.length>0&&(y=y.replace(x,C=>{let S=y.indexOf(C),T=y[S-1]===" ",w=y[S+C.length]===" ",k=C.replace(new RegExp(g[0],"g"),"").replace(new RegExp(g[1],"g"),""),D=Number(k);if(isNaN(D))return C;let U=o[D];if(U&&U.type==="element"){let B=ht.sanitize(U.value.outerHTML,{ADD_TAGS:n.rule.domPurifyAddTags});return T||(B=" "+B),w||(B=B+" "),B}else M.error("variable type not supported",U,C);return C}));let b=tc(r,e.inline,a.translationClasses||[],e.preWhitespace);s&&b.push(_S);let v=nc(r);return i9({targetWrapperTag:n.rule.targetWrapperTag,innerClassList:v,classList:b,html:y,targetElementEffectAttributeName:gu,inline:e.inline,wrapperPrefix:u,wrapperSuffix:d,position:m,translationBlockStyle:i,translationPosition:n.config.translationPosition||"",translationMode:n.config.translationMode})}var $e=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,Fw(),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&&Nb(t.disabledAt))throw new J("translationServiceDiscontinued","The service has been discontinued.");t.group&&(this.group=t.group)}async headerAttachLanguage(t,n){let r=await We(),i=$S(n,tl(Object.values(r.managedHostFallbacks||{}).flat()));return(!n||i)&&(t["Accept-Language"]=r.interfaceLanguage),t}async multipleTranslate(t,n,r){let i=ss();if(t.sentences.length===0)return{sentences:[]};let{sentences:a}=t,o=[],{isForceRefresh:s,isForceDebug:l}=CX(a),{maxTextLength:u,maxTextGroupLength:d}=this.getTextLengthLimits(),g=TX(this.serviceConfig,a,u,d,this.isAI,r);if(!g)return{sentences:[]};let m=this.formatRateLimit(this.getRateLimiter());return await SX(g,o,r,m,n,s,l,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=Bi(this.serviceConfig);if(this.serviceConfig&&a.length>0)try{let{text:l}=t;if(l.forEach((u,d)=>{r&&r[d]!==!0&&!ps({text:u,delimiters:a,minTextCount:2,minWordCount:1,noTranslateRegexp:[]})||i.push({text:u,index:d})}),i.length===0)return{text:l,from:t.from,to:t.to};n.text=i.map(u=>u.text)}catch(l){M.debug("formatAndTranslateList error",t,l)}let o=await this.translateList(n),s=t.text;return i.forEach((l,u)=>{s[l.index]=o.text[u]}),{text:s,from:o.from,to:o.to}}async request(t){return this.attachUsageSceneHeader(t),t.url=this.addTimestampToUrl(t.url),await _e(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(Js))return!0;let r=this.serviceConfig?.imtHeaderHosts;if(Array.isArray(r))return r.includes(n)}catch{return!1}return!1}addTimestampToUrl(t){if(!Ae())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 Ze({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||dr(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 CX(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 TX(e,t,n,r,i=!1,a){try{let o=_k(t,n,r,i);if(o)for(let s of o)s.originalSentences=t;if(Uf(e)){let s=[];for(let l of t)l.glossaries&&s.push(...l.glossaries);o.forEach(l=>{l.glossaries=Ma(s)})}return o}catch(o){if(a)for(let s=0;s<t.length;s++)a(o,null,t[s]);return null}}async function SX(e,t,n,r,i={},a=!1,o=!1,s,l){let u=[];for(let d=0;d<e.length;d++){let g=e[d],m=g.url,f=await Mp(l?.translationOptions.translationService||"",r);await rt(f||0);let p=ss();if(s&&p!==s)break;u.push(wX(g,m,i,a,o,r,t,n,g.originalSentences,l))}await Promise.allSettled(u)}async function wX(e,t,n,r,i,a,o,s,l,u){let d=!1,g="",m=1;try{if(!u)throw new Error("Translation instance is required");g=u.translationOptions.translationService||"",m=u.getConcurrencyLimit(),await nk(g,m),d=!0;let f=await EX(e,t,n,r,i,u,a),{text:p,sourceTempSentences:h}=f;for(let x=0;x<p.length;x++){let y=zk(p[x],e.to,u.isRichTranslate||!1),b=h[x];if(b){let{index:v,prefix:C,suffix:S}=b;UM(o,v,{sentence:{...l?l[v]:{text:"",id:-1,url:""},from:e.from,to:e.to},translatedSentence:{...e.originalSentences?.[v]||{text:"",id:-1,url:""},from:e.from,to:e.to},systemPrompt:f.systemPrompt,prompt:f.prompt,sentenceTotalParts:b.sentenceTotalParts,partIndex:b.partIndex,translatedTexts:[C+y+S],callback:s},null)}}}catch(f){PX(f instanceof J?f:new J("fetchError",f.message),e,o,s,u?.translationOptions)}finally{d&&await rk(g,m)}}async function EX(e,t,n,r,i,a,o){return a.isSupportList?AX(e,t,n,r,i,a):kX(e,t,n,r,i,a,o)}async function AX(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 kX(e,t,n,r,i,a,o){let{separator:s}=MX(a.serviceConfig),{realTempSentences:l,filteredSentences:u}=IX(e.tempSentences,a.serviceConfig,a.minTextCount);if(l.length===0){let f=e.tempSentences.map(p=>p.text);return{sourceTempSentences:e.tempSentences,text:f,from:e.from,to:e.to}}let d=LX(u,s),g=await a.translate({text:d,from:e.fromByService||e.from,to:e.to,url:t||"",options:{...n,rawTextArrayLength:l.length,usageScene:a.translationOptions.usageScene||""},refresh:r,debug:i,inArticleContext:e.inArticleContext,glossaries:e.glossaries}),m=a9(l.length,g.text,s);return l.forEach((f,p)=>{e.tempSentences[f.index].translatedText=m[p]}),{text:e.tempSentences.map(f=>f.translatedText||f.text),from:g.from,to:g.to,systemPrompt:g.systemPrompt,prompt:g.prompt,sourceTempSentences:e.tempSentences}}function MX(e){let t=FS;return e&&e.translationTextSeparator&&(t=e.translationTextSeparator),{separator:t}}function IX(e,t,n){let r=[],i=[],a=Bi(t);return e.forEach((o,s)=>{o.force!==!0&&!ps({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 LX(e,t){return e.map(n=>n.text).join(t)}function a9(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?a9(e,t,o,r+1,i):e!=1&&a.length==1&&t.split(`

`).length==e?a9(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(DX),a)}function DX(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 UM(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 J?new J(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 l=a.translatedTexts[s];l!=null&&(o+=1)}if(o===a.sentenceTotalParts){let l=a.translatedTexts.join("").split(qS);a.translatedSentence.text=l[0],a.translatedSentence.contextText=l[1],a?.callback?.(null,a.translatedSentence,a.sentence)}}function PX(e,t,n,r,i){if(!(!n||!r)){e instanceof J&&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];UM(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 rc="input is invalid type",o9=typeof window=="object",bs=o9?window:{};bs.JS_SHA256_NO_WINDOW&&(o9=!1);var RX=!o9&&typeof self=="object",NX=!bs.JS_SHA256_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;NX?bs=global:RX&&(bs=self);var bTe=!bs.JS_SHA256_NO_COMMON_JS&&typeof module=="object"&&module.exports,vTe=typeof define=="function"&&define.amd,Vg=!bs.JS_SHA256_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",je="0123456789abcdef".split(""),FX=[-2147483648,8388608,32768,128],sa=[24,16,8,0],sh=[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],lh=["hex","array","digest","arrayBuffer"],er=[];(bs.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(e){return Object.prototype.toString.call(e)==="[object Array]"});Vg&&(bs.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(e){return typeof e=="object"&&e.buffer&&e.buffer.constructor===ArrayBuffer});var jM=function(e,t){return function(n){return new tr(t,!0).update(n)[e]()}},HM=function(e){var t=jM("hex",e);t.create=function(){return new tr(e)},t.update=function(i){return t.create().update(i)};for(var n=0;n<lh.length;++n){var r=lh[n];t[r]=jM(r,e)}return t},zM=function(e,t){return function(n,r){return new uh(n,t,!0).update(r)[e]()}},VM=function(e){var t=zM("hex",e);t.create=function(i){return new uh(i,e)},t.update=function(i,a){return t.create(i).update(a)};for(var n=0;n<lh.length;++n){var r=lh[n];t[r]=zM(r,e)}return t};function tr(e,t){t?(er[0]=er[16]=er[1]=er[2]=er[3]=er[4]=er[5]=er[6]=er[7]=er[8]=er[9]=er[10]=er[11]=er[12]=er[13]=er[14]=er[15]=0,this.blocks=er):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}tr.prototype.update=function(e){if(!this.finalized){var t,n=typeof e;if(n!=="string"){if(n==="object"){if(e===null)throw new Error(rc);if(Vg&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!Vg||!ArrayBuffer.isView(e)))throw new Error(rc)}else throw new Error(rc);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]<<sa[a++&3];else for(a=this.start;i<o&&a<64;++i)r=e.charCodeAt(i),r<128?s[a>>2]|=r<<sa[a++&3]:r<2048?(s[a>>2]|=(192|r>>6)<<sa[a++&3],s[a>>2]|=(128|r&63)<<sa[a++&3]):r<55296||r>=57344?(s[a>>2]|=(224|r>>12)<<sa[a++&3],s[a>>2]|=(128|r>>6&63)<<sa[a++&3],s[a>>2]|=(128|r&63)<<sa[a++&3]):(r=65536+((r&1023)<<10|e.charCodeAt(++i)&1023),s[a>>2]|=(240|r>>18)<<sa[a++&3],s[a>>2]|=(128|r>>12&63)<<sa[a++&3],s[a>>2]|=(128|r>>6&63)<<sa[a++&3],s[a>>2]|=(128|r&63)<<sa[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}};tr.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>2]|=FX[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()}};tr.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,l=this.blocks,u,d,g,m,f,p,h,x,y,b,v;for(u=16;u<64;++u)f=l[u-15],d=(f>>>7|f<<25)^(f>>>18|f<<14)^f>>>3,f=l[u-2],g=(f>>>17|f<<15)^(f>>>19|f<<13)^f>>>10,l[u]=l[u-16]+d+l[u-7]+g<<0;for(v=t&n,u=0;u<64;u+=4)this.first?(this.is224?(x=300032,f=l[0]-1413257819,s=f-150054599<<0,r=f+24177077<<0):(x=704751109,f=l[0]-210244248,s=f-1521486534<<0,r=f+143694565<<0),this.first=!1):(d=(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10),g=(i>>>6|i<<26)^(i>>>11|i<<21)^(i>>>25|i<<7),x=e&t,m=x^e&n^v,h=i&a^~i&o,f=s+g+h+sh[u]+l[u],p=d+m,s=r+f<<0,r=f+p<<0),d=(r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10),g=(s>>>6|s<<26)^(s>>>11|s<<21)^(s>>>25|s<<7),y=r&e,m=y^r&t^x,h=s&i^~s&a,f=o+g+h+sh[u+1]+l[u+1],p=d+m,o=n+f<<0,n=f+p<<0,d=(n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10),g=(o>>>6|o<<26)^(o>>>11|o<<21)^(o>>>25|o<<7),b=n&r,m=b^n&e^y,h=o&s^~o&i,f=a+g+h+sh[u+2]+l[u+2],p=d+m,a=t+f<<0,t=f+p<<0,d=(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10),g=(a>>>6|a<<26)^(a>>>11|a<<21)^(a>>>25|a<<7),v=t&n,m=v^t&r^b,h=a&o^~a&s,f=i+g+h+sh[u+3]+l[u+3],p=d+m,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};tr.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,l=je[e>>28&15]+je[e>>24&15]+je[e>>20&15]+je[e>>16&15]+je[e>>12&15]+je[e>>8&15]+je[e>>4&15]+je[e&15]+je[t>>28&15]+je[t>>24&15]+je[t>>20&15]+je[t>>16&15]+je[t>>12&15]+je[t>>8&15]+je[t>>4&15]+je[t&15]+je[n>>28&15]+je[n>>24&15]+je[n>>20&15]+je[n>>16&15]+je[n>>12&15]+je[n>>8&15]+je[n>>4&15]+je[n&15]+je[r>>28&15]+je[r>>24&15]+je[r>>20&15]+je[r>>16&15]+je[r>>12&15]+je[r>>8&15]+je[r>>4&15]+je[r&15]+je[i>>28&15]+je[i>>24&15]+je[i>>20&15]+je[i>>16&15]+je[i>>12&15]+je[i>>8&15]+je[i>>4&15]+je[i&15]+je[a>>28&15]+je[a>>24&15]+je[a>>20&15]+je[a>>16&15]+je[a>>12&15]+je[a>>8&15]+je[a>>4&15]+je[a&15]+je[o>>28&15]+je[o>>24&15]+je[o>>20&15]+je[o>>16&15]+je[o>>12&15]+je[o>>8&15]+je[o>>4&15]+je[o&15];return this.is224||(l+=je[s>>28&15]+je[s>>24&15]+je[s>>20&15]+je[s>>16&15]+je[s>>12&15]+je[s>>8&15]+je[s>>4&15]+je[s&15]),l};tr.prototype.toString=tr.prototype.hex;tr.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,l=[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||l.push(s>>24&255,s>>16&255,s>>8&255,s&255),l};tr.prototype.array=tr.prototype.digest;tr.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 uh(e,t,n){var r,i=typeof e;if(i==="string"){var a=[],o=e.length,s=0,l;for(r=0;r<o;++r)l=e.charCodeAt(r),l<128?a[s++]=l:l<2048?(a[s++]=192|l>>6,a[s++]=128|l&63):l<55296||l>=57344?(a[s++]=224|l>>12,a[s++]=128|l>>6&63,a[s++]=128|l&63):(l=65536+((l&1023)<<10|e.charCodeAt(++r)&1023),a[s++]=240|l>>18,a[s++]=128|l>>12&63,a[s++]=128|l>>6&63,a[s++]=128|l&63);e=a}else if(i==="object"){if(e===null)throw new Error(rc);if(Vg&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!Vg||!ArrayBuffer.isView(e)))throw new Error(rc)}else throw new Error(rc);e.length>64&&(e=new tr(t,!0).update(e).array());var u=[],d=[];for(r=0;r<64;++r){var g=e[r]||0;u[r]=92^g,d[r]=54^g}tr.call(this,t,n),this.update(d),this.oKeyPad=u,this.inner=!0,this.sharedMemory=n}uh.prototype=new tr;uh.prototype.finalize=function(){if(tr.prototype.finalize.call(this),this.inner){this.inner=!1;var e=this.array();tr.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(e),tr.prototype.finalize.call(this)}};var ic=HM();ic.sha256=ic;ic.sha224=HM(!0);ic.sha256.hmac=VM();ic.sha224.hmac=VM(!0);var WM=ic;var qM=WM.sha256;function wr(e){return Promise.resolve(qM(e))}function ac(e){return Array.from(new Uint8Array(e)).map(r=>r.toString(16).padStart(2,"0")).join("")}function pi(e,t){let n=qM.hmac.create(t);return n.update(e),Promise.resolve(n.array())}async function KM(e,t){let n=await pi(e,t);return ac(n)}async function ch(e,t){let n=BX(t),r=await pi(e,n);return ac(r)}function BX(e){let t=[];return e.replace(/../g,function(n){return t.push(parseInt(n,16)),""}),new Uint8Array(t).buffer}var QM=[["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"]],Gg=class e extends $e{static langMap=new Map(QM);maxTextGroupLength=50;static langMapReverse=new Map(QM.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 J("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`,l=new Date,u=`${new Date().valueOf()}`.slice(0,10),d=["POST","/","","content-type:application/json; charset=utf-8",`host:${s}`,"","content-type;host",await wr(i)].join(`
`),g=e.getUTCDate(l),m=["TC3-HMAC-SHA256",u,`${g}/${a}/tc3_request`,await wr(d)].join(`
`),f=await KM(g,`TC3${n}`),p=await ch(a,f),h=await ch("tc3_request",p),x=await ch(m,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":u,"X-TC-Region":"ap-beijing","X-TC-Version":o,Authorization:`TC3-HMAC-SHA256 Credential=${t}/${g}/${a}/tc3_request, SignedHeaders=content-type;host, Signature=${x}`},body:i,timeout:this.requestTimeout});if(y instanceof Error)throw y;if(y.Response&&y.Response.Error&&y.Response.Error.Message)throw new J(y.Response.Error.Message);return y}};var YM=[["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"]],OX={"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"},Wg=class e extends $e{static langMap=new Map(YM);static langMapReverse=new Map(YM.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:OX,timeout:this.requestTimeout});return{text:o.targetText,from:e.langMapReverse.get(o.source)||r,to:e.langMapReverse.get(o.target)||i}}};var ZM=[["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"]],bl=class e extends $e{static langMap=new Map(ZM);static langMapReverse=new Map(ZM.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=wt(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 J("google translate NETWORK_ERROR");if(!s.data[0]||s.data[0].length<=0)throw new J("google translate API_SERVER_ERROR");return{text:s.data.map(u=>Array.isArray(u)?u[0]:u).map(u=>u.replace(/％3C/ig,"&lt;").replace(/％3E/ig,"&gt;")).map(u=>u.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 _X(e,t){return t?e+(t-e%t):e}function UX(e,t){return e.split(t).length-1}function s9(e){let t=Date.now(),n=1;for(let r of e)n+=UX(r,"i");return _X(t,n)}function jX(e,t){return Math.floor(Math.random()*(t-e+1))+e}function l9(){return jX(1e6,1e8)}var u9="https://www2.deepl.com/jsonrpc",c9="auto",JM=[{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 zX(e=JM){return e.reduce((t,n)=>(t[n.code.toLowerCase()]=n.code,t[n.language.toLowerCase()]=n.code,t),{})}function d9(e){return zX()[e.toLowerCase()]}var HX={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 VX(e){return JSON.stringify(e).replace('"method":"',()=>{let t=e;return(t.id+3)%13===0||(t.id+5)%29===0?'"method" : "':'"method": "'})}function GX(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 WX(e,t,n,r,i,a,o){let s=l9(),l=GX(r,n),u=[];t.forEach(m=>{u.push({text:m,requestAlternatives:3})}),l.id=s,l.params.texts=u,l.params.timestamp=s9(t);let d=await _e({retry:2,method:"POST",url:e,body:VX(l),headers:HX}),g={from:d.result.lang,to:n,text:[]};return d.result.texts.forEach(m=>{g.text.push(m.text)}),g}async function XM(e,t,n,r=c9,i,a,o){return t?t&&t.length===1&&t[0]===""?{text:[""],from:r,to:n}:WX(e,t,d9(n),d9(r)??"auto",i,a,o):{text:[],from:r,to:n}}var $M=[["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"]],oc=class e extends $e{static langMap=new Map($M);static langMapReverse=new Map($M.map(([t,n])=>[n,t]));maxTextGroupLength=3;maxTextLength=800;isSupportList=!0;API_URL=u9;constructor(t,n,r,i){super(t,n,r,i),t&&t.apiUrl&&(this.API_URL=wt(u9,t.apiUrl))}getDefaultRateLimit(){return{limit:1,interval:1050}}async translateList(t){let{text:n,to:r,from:i}=t,a=await XM(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 g9(){return Math.random()>=.001}var sc=class extends $e{isSupportList=!1;maxTextLength=1200;maxTextGroupLength=1;async translate(t){let{text:n}=t;if(!g9())throw new J("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(!g9())throw new J("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 tI=[["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"]],m9=new Map(tI),eI=new Map(tI.map(([e,t])=>[t,e])),f9=class e extends $e{static langMap=m9;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 J("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:m9.get(r)||"auto",target_lang:m9.get(i)||i}),timeout:this.requestTimeout});if(a.status){let o=a;return o.result&&i=="zh-TW",{text:o.result,from:eI.get(o.source_lang),to:eI.get(o.target_lang)}}else throw new J(a.msg)}},p9=f9;var h9="https://{s}bing.com",oI=h9+"/translator",qX=h9+"/ttranslatev3",KX=h9+"/tspellcheckv3",dh="bingGlobalConfig",sI=[["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"]],nI=new Map(sI),rI=new Map(sI.map(([e,t])=>[t,e])),iI=1e3,la,lc;function y9(e,t){return e.replace("{s}",t?t+".":"")}async function QX(){if(!la){let n=await Ne.storage.local.get(dh);return n&&(la=n[dh]),!0}let{tokenTs:e,tokenExpiryInterval:t}=la;return Date.now()-e>t}async function aI(){let e,t,n,r,i,a,o,s,l,u;try{let d=y9(oI,e),g=await _e({retry:2,url:d,responseType:"raw"}),{body:m,headers:f,url:p}=g;e=p.match(/^https?:\/\/(\w+)\.bing\.com/)[1],u=f["set-cookie"],t=m.match(/IG:"([^"]+)"/)[1],n=m.match(/data-iid="([^"]+)"/)[1],[i,r,a,o,s,l]=JSON.parse(m.match(/params_AbusePreventionHelper\s?=\s?([^\]]+\])/)[1])}catch(d){throw d}return la={subdomain:e,IG:t,IID:n,key:i,token:r,tokenTs:i,tokenExpiryInterval:a,isVertical:o,frontDoorBotClassification:s,isSignedInOrCorporateUser:l,cookie:u,count:0},await Ne.storage.local.set({[dh]:la}),la}function YX(e){let{IG:t,IID:n,subdomain:r,isVertical:i}=la;return y9(e?KX:qX,r)+"?isVertical=1"+(t&&t.length?"&IG="+t:"")+(n&&n.length?"&IID="+n+"."+la.count++:"")}function ZX(e,t,n,r){let{token:i,key:a}=la,o={fromLang:n,text:t,token:i,key:a};return!e&&r&&(o.to=r),o}async function lI(e,t,n){if(!e||!(e=e.trim()))return;if(e.length>iI)throw new Error(`The supported maximum length of text is ${iI}. Please shorten the text.`);lc||(lc=aI()),await lc,await QX()&&(lc=aI(),await lc),t=t||"auto",n=n||"zh-CN",t=nI.get(t)||t,n=nI.get(n)||n;let i=YX(!1),a=ZX(!1,e,t,n==="auto-detect"?"zh-Hans":n),o={referer:y9(oI,la.subdomain),"content-type":"application/x-www-form-urlencoded"},s=new URLSearchParams(a),l=i,u=s.toString(),d=await _e({retry:2,url:l,headers:o,method:"POST",body:u});if(d.ShowCaptcha||d.StatusCode===401||d.statusCode){if(la=null,lc=null,await Ne.storage.local.remove(dh),d.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 ${d.StatusCode}.
    `);if(d.StatusCode===401)throw new Error(`
      Max count of translation exceeded. Please try it again later.
      The response code is 401.
    `);if(d.statusCode)throw new Error(`Something went wrong! The response is ${JSON.stringify(d)}.`)}let g=d[0].translations[0],m=d[0].detectedLanguage;return{text:g.text,from:rI.get(m.language),to:rI.get(g.to)}}function gh(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 Eo(e){await le.remove(e)}async function ua(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 mh(e,t)}return mh(e,t)}async function mh(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 JX=[["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"]],b9=new Map(JX),Ao=class e extends $e{static langMap=b9;isSupportList=!0;maxTextLength=1800;constructor(t,n,r,i){super(t,n,r,i)}static async clearState(){await Eo(A2)}async translate(t){let{text:n,from:r,to:i}=t;return n?await lI(n,r,i):{...t}}async init(){await this.getAccessToken()}async getAccessToken(){return await ua(A2,async()=>{let t=await _e({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 gh(t)})}async translateList(t){try{return await this._translateList(t)}catch(n){if(n instanceof J&&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=b9.get(n)||"auto",o=b9.get(r)||r;a==="auto"&&(a="");let s=await this.getAccessToken(),l=[];for(let m of i)l.push({Text:m});let u=JSON.stringify(l),d=`https://api-edge.cognitive.microsofttranslator.com/translate?from=${a}&to=${o}&api-version=3.0&includeSentenceLength=true`,g=await super.request({url:d,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:u,method:"POST",timeout:this.requestTimeout});if(g&&g.length>0&&g[0].translations&&g[0].translations.length>0)return{text:g.map(m=>m.translations[0]?.text||""),from:n,to:r};throw new J("Microsoft translate error "+JSON.stringify(g))}};var XX=["chinese","english","japanese","korean","french","spanish","deutsch"],$X={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},v9=e=>$X.chinese.test(e);var iSe=[...XX,"others","matchAll"];var cI=[["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"]],qg=new Map(cI),e$=new Map(cI.map(([e,t])=>[t,e])),x9=class extends $e{static langMap=qg;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.${_.HOST_NAME}/v2/translate`,this.immersiveTranslateDeeplTokenUrl=_.BASE_API,this.immersiveTranslateDeeplProApiUrl=_.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 J("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 J("authKey are required");if(!this.authKey)throw new J("authKey are required");t&&t.freeApiUrl&&(this.freeApiUrl=wt(this.freeApiUrl,t.freeApiUrl)),t&&t.proApiUrl&&(this.proApiUrl=wt(this.proApiUrl,t.proApiUrl)),t&&t.immersiveTranslateApiUrl&&(this.immersiveTranslateApiUrl=wt(this.immersiveTranslateApiUrl,t.immersiveTranslateApiUrl)),t&&t.immersiveTranslateDeeplTokenUrl&&(this.immersiveTranslateDeeplTokenUrl=wt(this.immersiveTranslateDeeplTokenUrl,t.immersiveTranslateDeeplTokenUrl)),t&&t.immersiveTranslateDeeplProApiUrl&&(this.immersiveTranslateDeeplProApiUrl=wt(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",l=null;if(s)l=a.map(d=>({text:d||"",detected_source_language:n}));else{let d={source_lang:qg.get(n)||"",target_lang:qg.get(r)||r,tag_handling:"html",model_type:"quality_optimized"};this.serviceConfig?.tag_handling&&(this.serviceConfig.tag_handling==="smart"?this.isRichTranslate?d.tag_handling="html":delete d.tag_handling:this.serviceConfig.tag_handling==="none"?delete d.tag_handling:d.tag_handling=this.serviceConfig.tag_handling);let g=new URLSearchParams(d);a.forEach(v=>{g.append("text",v)});let m=g.toString(),f={text:a,source_lang:qg.get(n)||"auto",target_lang:qg.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,x={};t.refresh&&(x={"X-Refresh":"True"}),t.debug&&(x={...x,"X-Debug":"True"});let y={...x,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:m,headers:{Authorization:"DeepL-Auth-Key "+i,"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},extra:{overrideMimeType:"application/json; charset=utf-8"}}),l=this.restoreText(h,o,!!t.debug).translations}let u=l.map(d=>{let g=C9(this.serviceConfig,d.text,r);return g&&this.removeResReges.length&&this.removeResReges.forEach(m=>{g=g.replace(new RegExp(m),""),g=g.trimStart()}),g});if(s){let d=this.serviceConfig||{},m=await new Ao({},this.generalConfig,this.translationOptions,this.isRichTranslate||!1).translateList({from:n,to:r,text:l.map(f=>f.text),url:"",options:{},forces:[]});m&&m.text&&(u=m.text)}return{text:u,from:l[0]&&e$.get(l[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 l=s?.text?.split(this.splitor).map(u=>({text:!Ys()&&r?`[${u}]`:u,detected_source_language:s.detected_source_language}));a.push(...l)}else a.push(s)}return{...t,translations:a}}},uc=x9;function C9(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&&v9(t[0])&&uI(t,"\u300B")==1?"\u300A"+t:i<0&&r>0&&t.length-r<80&&v9(t[t.length-1])&&uI(t,"\u300A")==1?t+"\u300B":t$(e,t)}function t$(e,t){let n=e?.richIdName;return!n||!tM(t)||!t.includes(n)||t.endsWith(">")?t:t+">"}function uI(e,t){return e.split(t).length-1}var n$=[["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"]],T9=new Map(n$),S9=class extends $e{static langMap=T9;APIKEY="";isSupportList=!1;constructor(t,n,r,i){if(super(t,n,r,i),!t||!t.APIKEY)throw new J("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:T9.get(r)||r,to:T9.get(i)||i,apikey:this.APIKEY}),timeout:this.requestTimeout},s=await super.request(o);if(s.tgt_text){let l=s.tgt_text;return l.endsWith(`
`)&&(l=l.slice(0,-1)),{text:l,from:r,to:i}}else throw new J(s.error_msg||JSON.stringify(s).slice(0,500))}getDefaultRateLimit(){return{limit:4,interval:1350}}},dI=S9;var r$=[["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"]],w9=new Map(r$),E9=class extends $e{static langMap=w9;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 J("APIKEY are required");this.APIKEY=t.APIKEY?.trim(),t.region&&(this.region=t.region),t.apiUrl&&(this.apiUrl=wt(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:w9.get(i)||i};r!=="auto"&&(a.from=w9.get(r)||r);let o=new URLSearchParams(a),s=JSON.stringify(n.map(m=>({text:m}))),l=new URL(this.apiUrl),u=new URLSearchParams(l.search);u.toString()!==""&&u.forEach((m,f)=>{o.append(f,m)}),this.isRichTranslate&&o.append("textType","html"),l.search=o.toString();let d={url:l.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},g=await super.request(d);if(g.length===0)throw new J("server response invalid");return{from:r,to:i,text:g.map(m=>m.translations.map(p=>p.text).join(" "))}}},gI=E9;var i$=[["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"]],cc=new Map(i$),A9=class extends $e{static langMap=cc;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),l={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"||!cc.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,l.body=JSON.stringify({text:s,source:a||cc.get(r)||r,target:cc.get(i)||i})):l.body=JSON.stringify({text:s,source:cc.get(r),target:cc.get(i)||i});let u=await super.request(l);if(u.translatedText==="")throw new J("server response invalid");let d=u.translatedText.split("<br>").map(g=>g.trim());return{from:r,to:i,text:d}}},mI=A9;function dc(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(l=>l.toString(16).padStart(2,"0")).join("");t(s)},r.onerror=n,r.readAsArrayBuffer(e)})}function Pa(e){return Kg(JSON.stringify(k9(e)))}async function Kg(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 k9(e){if(Array.isArray(e))return e.map(t=>k9(t));if(e&&typeof e=="object"){let t={};for(let n of Object.keys(e).sort())t[n]=k9(e[n]);return t}return e}var hi,I9=0,fh=!1,gc="initial",L9=!1,fI="",pI,D9=!1,M9=new Map;async function vl(e,t,n,r){if(D9=!1,pI=e.usageScene,r!=null&&L9&&hi||hi&&fI==n&&!n.trim())return;let i=await le.getUserToken();gc="initial",L9=r||!1,hi=void 0;try{let a=e.rule.bodyRule;if(fh=!1,!n||!a||!e.isPro||(I9=(a.contextTimeout||0)/100,I9<=0))return;let o=e.config.translationServices?.[t];if(!Qg(o,e.specialAiAssistant)||(fh=o.enableAIContext||!1,!fh)||!i)return;let s=await Kg(n);if(M9.has(s)){hi=M9.get(s);return}let l=await Ze({text:n});gc="requesting";let u=await _e({url:_.BASE_API+"transai/summary-context",method:"POST",body:JSON.stringify({target:e.targetLanguage,source:l,body:n}),headers:{"Content-Type":"application/json",token:i}});fI=n,hi={theme:u.theme,termsRaw:u.terms,terms:a$(u.terms),styleGuide:u.style_guide},M9.set(s,hi)}catch{}finally{gc="finished"}M.debug("requestTermsByContext contextTerms",hi)}async function ph(e,t,n){if(!t?.trim())return;let r;for(let i of n){let a=e.config.translationServices?.[i];if(Qg(a,e.specialAiAssistant)&&a.enableAIContext){r=i;break}}r&&await vl(e,r,t.trim())}function hI(){L9||(gc="initial",hi=void 0)}function yI(){D9=!0}function hh(){return{contextTerms:hi,used:D9,usageScene:pI}}async function yh(e,t){let n=e.config.translationServices?.[t];if(Qg(n,e.specialAiAssistant)&&n.enableAIContext)return await P9(-1)}async function P9(e){if(!fh)return hi;let t=I9;e==-1&&(await rt(50),t=t*1.5);for(let n=0;n<t;n++){if(hi||gc=="finished"||gc=="initial")return hi;await rt(100)}return hi}function a$(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 Qg(e,t){if(!e)return!1;if(dr(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 o$=["prompt","systemPrompt","multipleSystemPrompt","multiplePrompt","subtitlePrompt"];async function bI(e,t,n,r,i){let a={...t},o=Sb(n,r,e.assistantId,i);if(!o&&t.fallbackAssistantId&&t.fallbackAssistantId!="common"&&t.assistantId=="auto"&&(o=r?.find(s=>s.id===t.fallbackAssistantId)),o){Wu(o);let s={...a.env||{},...o.env||{}};Object.assign(a,Gu({...o,env:s}))}if(a.env&&globalThis?.location&&!M7(globalThis.location.href,n.withAITitleBlockUrls)&&(a.env.imt_domain=globalThis.location.hostname||"",a.env.imt_title=globalThis.document.originTitle||globalThis.document.title||""),a=fk(a,a.langOverrides,n),o||o$.forEach(s=>{e?.hasOwnProperty(s)&&(a[s]=e[s]),s=="multipleSystemPrompt"&&!e?.hasOwnProperty(s)&&e?.hasOwnProperty("systemPrompt")&&delete a.multipleSystemPrompt}),Qg(t,o)){let s=await P9();a.contextTerms=s}return e.forceMaxTextGroupLengthPerRequest&&(a.maxTextGroupLengthPerRequest=e.forceMaxTextGroupLengthPerRequest),a}async function Wr(e){let{url:t,config:n,state:r}=e,i=new URL(t),a="auto",{translationService:o,translationParagraphLanguagePattern:s,translationServices:l,translationTheme:u,translationThemePatterns:d,translationUrlPattern:g,targetLanguage:m,sourceLanguageUrlPattern:f,immediateTranslationPattern:p}=n,h=m||"zh-CN",x=mc(t,s),y=mc(t,p),b=o,v=Object.keys(l);for(let me of v){let he=l[me];if(mc(t,he)){b=me;break}}let C=u,S=Object.keys(d);for(let me of S){let he=d[me];if(he&&mc(t,he)){C=me;break}}let T=mc(t,g),w=et(t,[...t7,...n.blockUrls]),E=R9(t,n.inputTranslationUrlPattern);E||(E=et(t,n.inputTranslationBlockUrls));let k=R9(t,n.generalRule?.selectionTranslation?.urlPattern||{}),D=R9(t,n.generalRule?.aiWriting?.urlPattern||{}),U=et(t,n.mutationBlockUrls),B=Object.keys(f),P={};for(let me of B){let he=f[me];if(he&&he.matches)for(let te of he.matches)P[te]=me}let O=Object.keys(P),F=ry(t,O);F&&(a=P[F]??"auto",P[F]&&P[F]!=="auto"&&li(P[F]));let L=i.hostname,R=await wr(L),A=i.pathname+i.search+i.hash,j=await wr(A),V=`https://${R}.com/${j}`,G=await Sn(),K=n.translationStartMode,q=s$(G,n);G.aiAssistants=l$(q,n),K==="dynamic"&&y&&(K="immediate");let Z=b;n.inputTranslationService&&n.inputTranslationService!=="inherit"&&(Z=n.inputTranslationService);let ne=b;n.mouseHoverTranslationService&&n.mouseHoverTranslationService!=="inherit"&&(ne=n.mouseHoverTranslationService);let Y=b;n.subtitleTranslateService&&n.subtitleTranslateService!=="inherit"&&(Y=n.subtitleTranslateService);let oe={targetLanguage:h,config:n,translationService:b,inputTranslationService:Z,mouseHoverTranslationService:ne,subtitleTranslateService:Y,clientImageTranslationService:Y,usageScene:"web_page",isTranslateUrl:T,isBlockByUrl:w,sourceLanguage:a,mainFrame:document.body,isMutationTranslationExcludeUrl:U,isInputTranslationExcludeUrl:E,isSelectionTranslationExcludeUrl:k,isAiWritingExcludeUrl:D,rule:n.generalRule,url:t,encryptedUrl:V,state:r?Object.assign({translationMode:n.translationMode,translationArea:n.translationArea,translationStartMode:K,isAutoTranslate:!1,translationDebounce:300,isNeedClean:!1,isDetectParagraphLanguage:x,cache:n.cache,translationTheme:C,isTranslateDirectlyOnHover:!1},r):{translationMode:n.translationMode,translationArea:n.translationArea,translationStartMode:K,isAutoTranslate:!1,translationDebounce:300,isNeedClean:!1,isDetectParagraphLanguage:x,cache:n.cache,translationTheme:C,isTranslateDirectlyOnHover:!1},localConfig:G};await N9(oe),oe.state.translationArea==="body"&&(oe.config.generalRule.excludeTags=oe.config.generalRule.excludeTags.filter(me=>!oe.config.generalRule.bodyTranslateTags.includes(me)),oe.config.generalRule.additionalExcludeSelectors=oe.config.generalRule.additionalExcludeSelectors.filter(me=>me!==".btn"));let Me=n.translationServices[oe.translationService]||{};Me&&Me.translationDebounce&&typeof Me.translationDebounce=="number"&&(oe.state.translationDebounce=Me.translationDebounce);let Ce=n.rules,ue;globalThis.PDFViewerApplication?ue=Ce.find(me=>me.pageType=="pdfReader"):globalThis.immersiveTranslateEbookViewer?ue=Ce.find(me=>me.pageType=="ebookReader"):globalThis.immersiveTranslateEbookBuilder?ue=Ce.find(me=>me.pageType=="ebookBuilder"):ue=Ce.find(me=>mc(t,me)),ue&&ue.pageType==="ebookBuilder"&&(oe.state.translationStartMode="immediate");let ge=n.generalRule;if(ue?(oe.rule=Object.keys(ue).length>=Object.keys(ge).length?ue:il(ge,ue),oe.rule=await Fg(n,oe.rule,[...ge.advanceMergeConfig||[],...ue.advanceMergeConfig||[]])):await Fg(n,oe.rule,oe.rule.advanceMergeConfig),oe.state.translationArea==="body"&&oe.rule.excludeTags&&(oe.rule.excludeTags=oe.rule.excludeTags.filter(me=>!oe.rule.bodyTranslateTags.includes(me)&&!oe.rule.forceTranslateTags.includes(me))),oe.rule.mainFrameSelector){let me=Qe(oe.rule.mainFrameSelector);me&&(oe.mainFrame=me)}return oe}function mc(e,t){if(!t)return!1;let{matches:n,excludeMatches:r,selectorMatches:i,excludeSelectorMatches:a}=t;return r&&r.length>0&&et(e,r)?!1:n&&n.length>0&&et(e,n)?!0:a&&a.length>0&&nh(a)?!1:!!(i&&i.length>0&&nh(i))}function R9(e,t){if(!t)return!1;let{excludeMatches:n,excludeSelectorMatches:r}=t;return!!(n&&n.length>0&&et(e,n)||r&&r.length>0&&nh(r))}function s$(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 l$(e,t){try{let n=t.rawUserConfig?.aiAssistantsMatches||{};return e.map(r=>{let i=Ef(r.matches||[],n[r.id]?.matches||[]);return{...r,matches:i}})}catch(n){return M.error(n),e}}async function N9(e){if(!e)return;let t=await le.getUserInfo(),n=Nt(t),r=jp(t);e.user=t,e.isPro=n,e.isMax=vf(t),e.isTeam=r}function vs(e,t){var n=(e&65535)+(t&65535),r=(e>>16)+(t>>16)+(n>>16);return r<<16|n&65535}function u$(e,t){return e<<t|e>>>32-t}function vh(e,t,n,r,i,a){return vs(u$(vs(vs(t,e),vs(r,a)),i),n)}function Er(e,t,n,r,i,a,o){return vh(t&n|~t&r,e,t,i,a,o)}function Ar(e,t,n,r,i,a,o){return vh(t&r|n&~r,e,t,i,a,o)}function kr(e,t,n,r,i,a,o){return vh(t^n^r,e,t,i,a,o)}function Mr(e,t,n,r,i,a,o){return vh(n^(t|~r),e,t,i,a,o)}function bh(e,t){e[t>>5]|=128<<t%32,e[(t+64>>>9<<4)+14]=t;var n,r,i,a,o,s=1732584193,l=-271733879,u=-1732584194,d=271733878;for(n=0;n<e.length;n+=16)r=s,i=l,a=u,o=d,s=Er(s,l,u,d,e[n],7,-680876936),d=Er(d,s,l,u,e[n+1],12,-389564586),u=Er(u,d,s,l,e[n+2],17,606105819),l=Er(l,u,d,s,e[n+3],22,-1044525330),s=Er(s,l,u,d,e[n+4],7,-176418897),d=Er(d,s,l,u,e[n+5],12,1200080426),u=Er(u,d,s,l,e[n+6],17,-1473231341),l=Er(l,u,d,s,e[n+7],22,-45705983),s=Er(s,l,u,d,e[n+8],7,1770035416),d=Er(d,s,l,u,e[n+9],12,-1958414417),u=Er(u,d,s,l,e[n+10],17,-42063),l=Er(l,u,d,s,e[n+11],22,-1990404162),s=Er(s,l,u,d,e[n+12],7,1804603682),d=Er(d,s,l,u,e[n+13],12,-40341101),u=Er(u,d,s,l,e[n+14],17,-1502002290),l=Er(l,u,d,s,e[n+15],22,1236535329),s=Ar(s,l,u,d,e[n+1],5,-165796510),d=Ar(d,s,l,u,e[n+6],9,-1069501632),u=Ar(u,d,s,l,e[n+11],14,643717713),l=Ar(l,u,d,s,e[n],20,-373897302),s=Ar(s,l,u,d,e[n+5],5,-701558691),d=Ar(d,s,l,u,e[n+10],9,38016083),u=Ar(u,d,s,l,e[n+15],14,-660478335),l=Ar(l,u,d,s,e[n+4],20,-405537848),s=Ar(s,l,u,d,e[n+9],5,568446438),d=Ar(d,s,l,u,e[n+14],9,-1019803690),u=Ar(u,d,s,l,e[n+3],14,-187363961),l=Ar(l,u,d,s,e[n+8],20,1163531501),s=Ar(s,l,u,d,e[n+13],5,-1444681467),d=Ar(d,s,l,u,e[n+2],9,-51403784),u=Ar(u,d,s,l,e[n+7],14,1735328473),l=Ar(l,u,d,s,e[n+12],20,-1926607734),s=kr(s,l,u,d,e[n+5],4,-378558),d=kr(d,s,l,u,e[n+8],11,-2022574463),u=kr(u,d,s,l,e[n+11],16,1839030562),l=kr(l,u,d,s,e[n+14],23,-35309556),s=kr(s,l,u,d,e[n+1],4,-1530992060),d=kr(d,s,l,u,e[n+4],11,1272893353),u=kr(u,d,s,l,e[n+7],16,-155497632),l=kr(l,u,d,s,e[n+10],23,-1094730640),s=kr(s,l,u,d,e[n+13],4,681279174),d=kr(d,s,l,u,e[n],11,-358537222),u=kr(u,d,s,l,e[n+3],16,-722521979),l=kr(l,u,d,s,e[n+6],23,76029189),s=kr(s,l,u,d,e[n+9],4,-640364487),d=kr(d,s,l,u,e[n+12],11,-421815835),u=kr(u,d,s,l,e[n+15],16,530742520),l=kr(l,u,d,s,e[n+2],23,-995338651),s=Mr(s,l,u,d,e[n],6,-198630844),d=Mr(d,s,l,u,e[n+7],10,1126891415),u=Mr(u,d,s,l,e[n+14],15,-1416354905),l=Mr(l,u,d,s,e[n+5],21,-57434055),s=Mr(s,l,u,d,e[n+12],6,1700485571),d=Mr(d,s,l,u,e[n+3],10,-1894986606),u=Mr(u,d,s,l,e[n+10],15,-1051523),l=Mr(l,u,d,s,e[n+1],21,-2054922799),s=Mr(s,l,u,d,e[n+8],6,1873313359),d=Mr(d,s,l,u,e[n+15],10,-30611744),u=Mr(u,d,s,l,e[n+6],15,-1560198380),l=Mr(l,u,d,s,e[n+13],21,1309151649),s=Mr(s,l,u,d,e[n+4],6,-145523070),d=Mr(d,s,l,u,e[n+11],10,-1120210379),u=Mr(u,d,s,l,e[n+2],15,718787259),l=Mr(l,u,d,s,e[n+9],21,-343485551),s=vs(s,r),l=vs(l,i),u=vs(u,a),d=vs(d,o);return[s,l,u,d]}function vI(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 F9(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 c$(e){return vI(bh(F9(e),e.length*8))}function d$(e,t){var n,r=F9(e),i=[],a=[],o;for(i[15]=a[15]=void 0,r.length>16&&(r=bh(r,e.length*8)),n=0;n<16;n+=1)i[n]=r[n]^909522486,a[n]=r[n]^1549556828;return o=bh(i.concat(F9(t)),512+t.length*8),vI(bh(a.concat(o),512+128))}function xI(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 B9(e){return unescape(encodeURIComponent(e))}function CI(e){return c$(B9(e))}function g$(e){return xI(CI(e))}function TI(e,t){return d$(B9(e),B9(t))}function m$(e,t){return xI(TI(e,t))}function Ra(e,t,n){return t?n?TI(t,e):m$(t,e):n?CI(e):g$(e)}function SI(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(u=>u.trim()).filter(u=>!!u);if(s.length>=2&&!/\S\s\S/.test(s[0])){let u=o.slice(o.indexOf(s[1])).trim();u?(i=s[0],u=="|-"?a="":a=u):a+=`
`+o}else a+=`
`+o;if(!i)continue;r||(r={});let l=Number(a);r[i]=Number.isNaN(l)?a:Number(a)}return r&&n.push(r),Object.values(n).forEach(o=>{Object.entries(o).forEach(([s,l])=>{if(typeof l=="string"){let u=l.trim();o[s]=u}})}),n}function Yg(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(l=>{if(typeof l!="object"||l===null){if(typeof l=="string"&&l.includes(`
`)){let f=l.split(`
`);return`${i}- |-
${f.map(p=>`${i}  ${p}`).join(`
`)}`}return`${i}- ${l}`}let d=Yg(l,t+2,!1,r).split(`
`),g=d[0].trimStart();return[`${i}- ${g}`,...d.slice(1)].join(`
`)}).join(`
`);let a=e,o=Object.keys(a),s=r?r([...o],a):o;return s.length===0?"{}":s.map(l=>{let u=a[l];if(u===void 0)return"";if(u===null)return`${i}${l}: null`;if(typeof u!="object"){if(typeof u=="string"&&u.includes(`
`)){let g=u.split(`
`);return`${i}${l}: |-
${g.map(m=>`${i}  ${m}`).join(`
`)}`}return`${i}${l}: ${u}`}if(Array.isArray(u)&&u.length===0)return`${i}${l}: []`;let d=u;return!Array.isArray(u)&&Object.keys(d).length===0?`${i}${l}: {}`:`${i}${l}:
${Yg(u,t+2,!1,r)}`}).filter(l=>l!=="").join(t===0&&n?`

`:`
`)}async function wI(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 EI(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 wI(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),l=new Uint8Array(s),u;a?u=[Uint8Array.of(1),a,o,l]:u=[Uint8Array.of(1),o,l];let d=u.reduce((f,p)=>f+p.length,0),g=new Uint8Array(d),m=0;for(let f of u)g.set(f,m),m+=f.length;return btoa(String.fromCharCode(...g))}async function AI(e,t){let n=new Uint8Array(atob(e).split("").map(d=>d.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 d=n.slice(i,i+16);i+=16,o=await wI(t.password,d)}else throw new Error("Either key or password must be provided");let s=n.slice(i,i+12);i+=12;let l=n.slice(i),u=await crypto.subtle.decrypt({name:"AES-GCM",iv:s,additionalData:r||new Uint8Array,tagLength:128},o,l);return new TextDecoder().decode(new Uint8Array(u))}function O9(){return crypto.getRandomValues(new Uint8Array(8)).join("").slice(0,16)}function kI(){return 16}var _9="imt_aes_";function MI(){let e=O9();for(;e.length<16;)e+=O9();return e.slice(0,16)}async function II(e,t,n){try{if(xl(e))return e;let r=await EI(e,{password:t,aadStr:n});return`${_9}${n}${r}`}catch(r){return M.error(r),e}}async function LI(e,t){let n=_9.length,r=kI(),i=e.slice(n,n+r),a=e.slice(n+r);return await AI(a,{password:t,aadStr:i})}function xl(e){return e?.startsWith(_9)}function U9(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=U9(e,o);if(s!=null)return s}return}let n=t.replace(/\.\[/g,"["),r=f$(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 f$(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 p$(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var DI,PI,RI=new Map(xu),j9=class extends $e{static langMap=RI;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(xl(a.APIKEY))throw new J("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=wt(this.apiUrl,a.apiUrl))}getLangMap(){return RI}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=NI(this.serviceConfig.preMessages),r=NI(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 l=i[s];return Vp(l,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 l=this.getLangMap(),u=this.prompt||"",d=this.systemPrompt||"",g=l.get(i)||i,m=l.get(a)||a,f=this.serviceConfig.env||{};f={...f};let p=s?.usageScene,h=["subtitle_video","subtitle_file"].includes(p),x=[r];s?.rawTextArrayLength&&(x=r.split(this.translationTextSeparator)),x.length>1&&this.multipleSystemPrompt&&(d=this.multipleSystemPrompt),x.length>1&&this.multiplePrompt&&(u=this.multiplePrompt),h&&this.subtitlePrompt&&(u=this.subtitlePrompt);let y="",b="",v=u.includes("{{yaml}}");if(f.title_prompt=f.imt_title?f.title_prompt:"",RM(r)&&this.isRichTranslate?f.content_type="html":f.html_only="",v){let U=[],B=f.imt_yaml_item||"";h&&(B=f.imt_subtitle_yaml_item||B);for(let P=0;P<x.length;P++){let O=B.replace(/{{id}}/g,P+1).replace(/{{text}}/g,x[P]);U.push(O)}b=U.join(`
`)}await this.handleGlossaries(i,f,r,t.glossaries||[],n),await C$(h,f,n,o||!1),u=D(u);let C=D(d),S=await this.handleOptions({systemPrompt:C,finalPrompt:u,payload:t});M.debug("request options",S),M.debug("request body",S.body),M.debug("finalPrompt",u);let T;try{T=await this.rawRequest(S),PI=!0}catch(U){let B=await this.handleSensitiveContentTimeout({err:U,payload:t,rawTextArray:x,systemPrompt:C,finalPrompt:u});if(B)return B;throw U}let w=this.parseResponse(T),E=await this.interceptResponse(w,{...t,text:x});if(E.handled)return{from:i,to:a,text:E.result||"",systemPrompt:C,prompt:u};w=this.filterContent(r,w,u),M.debug("filterContent after",w),w&&(w=h$(r,w));let k=await this.likeChineseFallback({text:r,resultText:w,rawTextArray:x,systemPrompt:C,finalPrompt:u,from:i,to:a});if(typeof k=="object")return k;k&&typeof k=="string"&&(w=k);try{if(v){let U={};if(v){M.debug("parseYAML before",w);let O=this.extractValidYaml(w);U=SI(O)}let B=f.imt_trans_field;h&&(B=f.imt_sub_trans_field||B);let P=f.imt_source_field;h&&(P=f.imt_sub_source_field||P),w=this.restoreText(x,U,B,P)}return w=await this.checkResultTextWithFallback(i,a,x,w,t),w=w.split(this.translationTextSeparator).map(U=>this.filterItemContent(U)).join(this.translationTextSeparator),{from:i,to:a,text:w,systemPrompt:C,prompt:u}}catch(U){return M.error("parse response failed",w,U),{from:i,to:a,text:w}}function D(U){return U.replace(/{{(.+?)}}/g,(B,P)=>P==="from"?g:P==="to"?m+" Language":P==="text"?r:P=="json"?y:P=="yaml"?b:f[P]===""?"":f[P]||B).replace(/{{(.+?)}}/g,(B,P)=>f[P]||B)}}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 kg(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:l=""}=o[0].delta;n.onMessage?.(l)}}catch(a){i.data.trim()!=="[DONE]"&&n.onError?.(new J("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 J(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],l=n[o];l&&l[r]?s===l[r]&&l[i]&&l[i]!==s?a.push(l[i]):a.push(l[r]):l&&typeof l=="string"?a.push(l):n[r]&&typeof n[r]=="string"?a.push(n[r]):l&&l[i]?a.push(l[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=U9(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=>p$(s.k)).sort((s,l)=>l.length-s.length);if(i.length===0)return[];let a;x$(t)||t=="auto"?a=new RegExp(`(${i.join("|")})`,"gi"):a=new RegExp(`\\b(${i.join("|")})\\b`,"gi");let o=Wp(n,r,a);return o=Ma(o),NA(s=>Ma([...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(l=>{s?.test(l)||a.terms[l]&&i.push({k:l,v:a.terms[l]})})}let o=this.getValidGlossaries(t,r,i);if(o.length){let s=!1,l=!1;n.imt_terms=o.map(u=>{let d=u.domain||"";return d?(d=`[${d}]`,s=!0):l=!0,`'${u.k.replace(/`/g,"\\`")}${d}': '${(u.v||u.k).replace(/`/g,"\\`")}'`}).join(", "),n.imt_terms_with_domain=s?n.imt_terms_with_domain:"",n.imt_terms_without_domain=l?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 l={url:this.apiUrl,method:"POST",headers:s,body:JSON.stringify(o,null,2),timeout:this.requestTimeout,retry:this.retry},u=this.getRandomKey();return u&&(l.headers.Authorization="Bearer "+u,l.headers["api-key"]=u),l}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){M.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 Ra(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(M.error("request failed",n),!n.message.includes("Request timeout")||!PI||this.provider!=="pro")return;M.debug("fallback timeout");let l=i.length>1,u;if(l?u=await this.translateRetryBySingeText(r,i):u=await this.translateFallbackByAutoSelectService(i,r.from,r.to),u)return{from:r.from,to:r.to,text:u,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 l=Lu(r),u;if(s!=l&&l.startsWith("zh"))return s!="zh-CN"&&l!="zh-CN"?void 0:(M.debug("fallback \u7B80\u7E41\u4E92\u6362 likeChineseFallback",n,r),await this.translateFallbackByBing([r],l,s));if(u)return{from:o,to:s,text:u,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=b$(r,s).join(this.translationTextSeparator));let l=o&&v$({texts:r,translations:s,payload:a}),u,d=!y$(r,s,this.maxTokensRatio,this.minTokensRatio);return d&&o||l?(M.debug("fallback isTokenRetry",d,"isMultipleRetry",l,r,`
`,i),u=await this.translateRetryBySingeText(a,r)):d&&(M.debug("fallback isTokenRetry",d,r,`
`,i),u=await this.translateFallbackByAutoSelectService(r,t,n)),u||i}async checkIgnoreAndFallbackByAutoSelectService(t,n){try{if(!this.enableFallback||!t||!this.ignoreResReges?.length||!this.ignoreResReges.some(a=>new RegExp(a).test(t)))return t;M.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("");M.debug("fallback translateRetryBySingeText",t.text,t.from,t.to);let r=[],i=this.formatRateLimit(this.getRateLimiter());for(let a of n){let o=await Mp(this.translationOptions.translationService||"",i);await rt(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"&&uc.langMap.has(n)&&uc.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 M.debug("fallback translateFallbackByDeepL",t,n,r),(await new uc({...rn().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(DI===!1)throw new Error("google service verify failed");return M.debug("fallback translateFallbackByGoogle",t,n,r),(await new bl({...rn().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 DI=!1,i}}async translateFallbackByBing(t,n,r){M.debug("fallback translateFallbackByBing",t,n,r);try{return(await new Ao({...rn().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}},nr=j9;function h$(e,t){return!e.includes(".")&&!e.includes("\u3002")&&(t.endsWith("\u3002")||t.endsWith("."))?t.slice(0,-1):t}function NI(e){return e?Array.isArray(e)?e:[e]:[]}function y$(e,t,n,r){for(let i=0;i<e.length;i++){let a=e[i],o=t[i];if(o){let s=FI(a),l=FI(o),u=l>s*n&&s>0,d=l<s*r&&s>10;if(u||d)return M.debug("fallback checkResponseToken",`Request: ${s} tokens, Response: ${l} tokens, Ratio: ${(l/s).toFixed(2)}`,"text",a,"resultText",o,"isBig",u,"isSmall",d),!1}}return!0}function b$(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 v$(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 FI(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 x$(e){return e?Ca.includes(e):!1}async function C$(e,t,n,r){n&&r&&(yI(),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 l of a||[]){let u=l.replace(/{{|}}/g,"");if(u.startsWith("imt_")&&(s=!0,t[u]?.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 z9(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,...l})=>{new RegExp(s.join("|")).test(r)&&(o&&!new RegExp(o).test(a)||In({rule:l,valueIsArray:d=>Array.isArray(n[d]),getMergedValue:d=>l[d],onMergedResult:(d,g)=>{n[d]=g}}))}),{...n}}catch(o){return M.error("modelsOverrideServiceConfig error",o),e}}var H9=class extends nr{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 J("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=wt(this.immersiveProApiUrl,t.immersiveProApiUrl)),t&&t.immersiveProStreamApiUrl&&(this.immersiveProStreamApiUrl=wt(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||He("tokenUsageChange",{aiUsage:t})}},Pn=H9;var V9=class extends Pn{provider="custom";constructor(t,n,r,i){super(t,n,r,i),this.immersiveProApiUrl=_.BASE_API+"openai/v1/chat/completions",this.immersiveProStreamApiUrl=_.BASE_API+"openai/translate/stream",t||(t={}),this.apiUrl="https://api.openai.com/v1/chat/completions",t.apiUrl&&(this.apiUrl=wt(this.apiUrl,t.apiUrl)),this.model=t.model||"gpt-3.5-turbo-1106",this.initPro(t,r)}getDefaultRateLimit(){return{limit:10,interval:1300}}},BI=V9;function fr(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 T$(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 Je(e,t){var n=(e&65535)+(t&65535),r=(e>>16)+(t>>16)+(n>>16);return r<<16|n&65535}function xs(e,t){return e<<t|e>>>32-t}function Na(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 fc(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 OI(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 pc(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 ko(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 Fa(e,t){var n=t.length,r=Array(),i,a,o,s,l,u,d,g;for(u=Array(Math.ceil(e.length/2)),s=u.length,i=0;i<s;i+=1)u[i]=e.charCodeAt(i*2)<<8|e.charCodeAt(i*2+1);for(;u.length>0;){for(l=Array(),o=0,i=0;i<u.length;i+=1)o=(o<<16)+u[i],a=Math.floor(o/n),o-=a*n,(l.length>0||a>0)&&(l[l.length]=a);r[r.length]=o,u=l}for(d="",i=r.length-1;i>=0;i--)d+=t.charAt(r[i]);for(g=Math.ceil(e.length*8/(Math.log(t.length)/Math.log(2))),i=d.length;i<g;i+=1)d=t[0]+d;return d}function Ba(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 _I={VERSION:"1.0.6",Base64:function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t="=",n=!1,r=!0;this.encode=function(i){var a,o,s,l="";for(t=t||"=",i=r?fr(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?l+=t:l+=e.charAt(s>>>6*(3-o)&63);return l},this.decode=function(i){var a,o,s,l,u,d,g,m,f,p,h="",x=[];if(!i)return i;a=p=0,i=i.replace(new RegExp("\\"+t,"gi"),"");do u=e.indexOf(i.charAt(a++)),d=e.indexOf(i.charAt(a++)),g=e.indexOf(i.charAt(a++)),m=e.indexOf(i.charAt(a++)),f=u<<18|d<<12|g<<6|m,o=f>>16&255,s=f>>8&255,l=f&255,p+=1,g===64?x[p]=String.fromCharCode(o):m===64?x[p]=String.fromCharCode(o,s):x[p]=String.fromCharCode(o,s,l);while(a<i.length);return h=x.join(""),h=r?T$(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=fr(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(m){return Na(i(m,r),t)},this.b64=function(m){return Ba(i(m),n)},this.any=function(m,f){return Fa(i(m,r),f)},this.raw=function(m){return i(m,r)},this.hex_hmac=function(m,f){return Na(a(m,f),t)},this.b64_hmac=function(m,f){return Ba(a(m,f),n)},this.any_hmac=function(m,f,p){return Fa(a(m,f),p)},this.vm_test=function(){return hex("abc").toLowerCase()==="900150983cd24fb0d6963f7d28e17f72"},this.setUpperCase=function(m){return typeof m=="boolean"&&(t=m),this},this.setPad=function(m){return n=m||n,this},this.setUTF8=function(m){return typeof m=="boolean"&&(r=m),this};function i(m){return m=r?fr(m):m,OI(o(pc(m),m.length*8))}function a(m,f){var p,h,x,y,b;for(m=r?fr(m):m,f=r?fr(f):f,p=pc(m),p.length>16&&(p=o(p,m.length*8)),h=Array(16),x=Array(16),b=0;b<16;b+=1)h[b]=p[b]^909522486,x[b]=p[b]^1549556828;return y=o(h.concat(pc(f)),512+f.length*8),OI(o(x.concat(y),512+128))}function o(m,f){var p,h,x,y,b,v=1732584193,C=-271733879,S=-1732584194,T=271733878;for(m[f>>5]|=128<<f%32,m[(f+64>>>9<<4)+14]=f,p=0;p<m.length;p+=16)h=v,x=C,y=S,b=T,v=l(v,C,S,T,m[p+0],7,-680876936),T=l(T,v,C,S,m[p+1],12,-389564586),S=l(S,T,v,C,m[p+2],17,606105819),C=l(C,S,T,v,m[p+3],22,-1044525330),v=l(v,C,S,T,m[p+4],7,-176418897),T=l(T,v,C,S,m[p+5],12,1200080426),S=l(S,T,v,C,m[p+6],17,-1473231341),C=l(C,S,T,v,m[p+7],22,-45705983),v=l(v,C,S,T,m[p+8],7,1770035416),T=l(T,v,C,S,m[p+9],12,-1958414417),S=l(S,T,v,C,m[p+10],17,-42063),C=l(C,S,T,v,m[p+11],22,-1990404162),v=l(v,C,S,T,m[p+12],7,1804603682),T=l(T,v,C,S,m[p+13],12,-40341101),S=l(S,T,v,C,m[p+14],17,-1502002290),C=l(C,S,T,v,m[p+15],22,1236535329),v=u(v,C,S,T,m[p+1],5,-165796510),T=u(T,v,C,S,m[p+6],9,-1069501632),S=u(S,T,v,C,m[p+11],14,643717713),C=u(C,S,T,v,m[p+0],20,-373897302),v=u(v,C,S,T,m[p+5],5,-701558691),T=u(T,v,C,S,m[p+10],9,38016083),S=u(S,T,v,C,m[p+15],14,-660478335),C=u(C,S,T,v,m[p+4],20,-405537848),v=u(v,C,S,T,m[p+9],5,568446438),T=u(T,v,C,S,m[p+14],9,-1019803690),S=u(S,T,v,C,m[p+3],14,-187363961),C=u(C,S,T,v,m[p+8],20,1163531501),v=u(v,C,S,T,m[p+13],5,-1444681467),T=u(T,v,C,S,m[p+2],9,-51403784),S=u(S,T,v,C,m[p+7],14,1735328473),C=u(C,S,T,v,m[p+12],20,-1926607734),v=d(v,C,S,T,m[p+5],4,-378558),T=d(T,v,C,S,m[p+8],11,-2022574463),S=d(S,T,v,C,m[p+11],16,1839030562),C=d(C,S,T,v,m[p+14],23,-35309556),v=d(v,C,S,T,m[p+1],4,-1530992060),T=d(T,v,C,S,m[p+4],11,1272893353),S=d(S,T,v,C,m[p+7],16,-155497632),C=d(C,S,T,v,m[p+10],23,-1094730640),v=d(v,C,S,T,m[p+13],4,681279174),T=d(T,v,C,S,m[p+0],11,-358537222),S=d(S,T,v,C,m[p+3],16,-722521979),C=d(C,S,T,v,m[p+6],23,76029189),v=d(v,C,S,T,m[p+9],4,-640364487),T=d(T,v,C,S,m[p+12],11,-421815835),S=d(S,T,v,C,m[p+15],16,530742520),C=d(C,S,T,v,m[p+2],23,-995338651),v=g(v,C,S,T,m[p+0],6,-198630844),T=g(T,v,C,S,m[p+7],10,1126891415),S=g(S,T,v,C,m[p+14],15,-1416354905),C=g(C,S,T,v,m[p+5],21,-57434055),v=g(v,C,S,T,m[p+12],6,1700485571),T=g(T,v,C,S,m[p+3],10,-1894986606),S=g(S,T,v,C,m[p+10],15,-1051523),C=g(C,S,T,v,m[p+1],21,-2054922799),v=g(v,C,S,T,m[p+8],6,1873313359),T=g(T,v,C,S,m[p+15],10,-30611744),S=g(S,T,v,C,m[p+6],15,-1560198380),C=g(C,S,T,v,m[p+13],21,1309151649),v=g(v,C,S,T,m[p+4],6,-145523070),T=g(T,v,C,S,m[p+11],10,-1120210379),S=g(S,T,v,C,m[p+2],15,718787259),C=g(C,S,T,v,m[p+9],21,-343485551),v=Je(v,h),C=Je(C,x),S=Je(S,y),T=Je(T,b);return Array(v,C,S,T)}function s(m,f,p,h,x,y){return Je(xs(Je(Je(f,m),Je(h,y)),x),p)}function l(m,f,p,h,x,y,b){return s(f&p|~f&h,m,f,x,y,b)}function u(m,f,p,h,x,y,b){return s(f&h|p&~h,m,f,x,y,b)}function d(m,f,p,h,x,y,b){return s(f^p^h,m,f,x,y,b)}function g(m,f,p,h,x,y,b){return s(p^(f|~h),m,f,x,y,b)}},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(u){return Na(i(u,r),t)},this.b64=function(u){return Ba(i(u,r),n)},this.any=function(u,d){return Fa(i(u,r),d)},this.raw=function(u){return i(u,r)},this.hex_hmac=function(u,d){return Na(a(u,d))},this.b64_hmac=function(u,d){return Ba(a(u,d),n)},this.any_hmac=function(u,d,g){return Fa(a(u,d),g)},this.vm_test=function(){return hex("abc").toLowerCase()==="900150983cd24fb0d6963f7d28e17f72"},this.setUpperCase=function(u){return typeof u=="boolean"&&(t=u),this},this.setPad=function(u){return n=u||n,this},this.setUTF8=function(u){return typeof u=="boolean"&&(r=u),this};function i(u){return u=r?fr(u):u,fc(o(ko(u),u.length*8))}function a(u,d){var g,m,f,p,h;for(u=r?fr(u):u,d=r?fr(d):d,g=ko(u),g.length>16&&(g=o(g,u.length*8)),m=Array(16),f=Array(16),p=0;p<16;p+=1)m[p]=g[p]^909522486,f[p]=g[p]^1549556828;return h=o(m.concat(ko(d)),512+d.length*8),fc(o(f.concat(h),512+160))}function o(u,d){var g,m,f,p,h,x,y,b,v=Array(80),C=1732584193,S=-271733879,T=-1732584194,w=271733878,E=-1009589776;for(u[d>>5]|=128<<24-d%32,u[(d+64>>9<<4)+15]=d,g=0;g<u.length;g+=16){for(p=C,h=S,x=T,y=w,b=E,m=0;m<80;m+=1)m<16?v[m]=u[g+m]:v[m]=xs(v[m-3]^v[m-8]^v[m-14]^v[m-16],1),f=Je(Je(xs(C,5),s(m,S,T,w)),Je(Je(E,v[m]),l(m))),E=w,w=T,T=xs(S,30),S=C,C=f;C=Je(C,p),S=Je(S,h),T=Je(T,x),w=Je(w,y),E=Je(E,b)}return Array(C,S,T,w,E)}function s(u,d,g,m){return u<20?d&g|~d&m:u<40?d^g^m:u<60?d&g|d&m|g&m:d^g^m}function l(u){return u<20?1518500249:u<40?1859775393:u<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(C){return Na(a(C,r))},this.b64=function(C){return Ba(a(C,r),n)},this.any=function(C,S){return Fa(a(C,r),S)},this.raw=function(C){return a(C,r)},this.hex_hmac=function(C,S){return Na(o(C,S))},this.b64_hmac=function(C,S){return Ba(o(C,S),n)},this.any_hmac=function(C,S,T){return Fa(o(C,S),T)},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,S){return C=S?fr(C):C,fc(v(ko(C),C.length*8))}function o(C,S){C=r?fr(C):C,S=r?fr(S):S;var T,w=0,E=ko(C),k=Array(16),D=Array(16);for(E.length>16&&(E=v(E,C.length*8));w<16;w+=1)k[w]=E[w]^909522486,D[w]=E[w]^1549556828;return T=v(k.concat(ko(S)),512+S.length*8),fc(v(D.concat(T),512+256))}function s(C,S){return C>>>S|C<<32-S}function l(C,S){return C>>>S}function u(C,S,T){return C&S^~C&T}function d(C,S,T){return C&S^C&T^S&T}function g(C){return s(C,2)^s(C,13)^s(C,22)}function m(C){return s(C,6)^s(C,11)^s(C,25)}function f(C){return s(C,7)^s(C,18)^l(C,3)}function p(C){return s(C,17)^s(C,19)^l(C,10)}function h(C){return s(C,28)^s(C,34)^s(C,39)}function x(C){return s(C,14)^s(C,18)^s(C,41)}function y(C){return s(C,1)^s(C,8)^l(C,7)}function b(C){return s(C,19)^s(C,61)^l(C,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 v(C,S){var T=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],w=new Array(64),E,k,D,U,B,P,O,F,L,R,A,j;for(C[S>>5]|=128<<24-S%32,C[(S+64>>9<<4)+15]=S,L=0;L<C.length;L+=16){for(E=T[0],k=T[1],D=T[2],U=T[3],B=T[4],P=T[5],O=T[6],F=T[7],R=0;R<64;R+=1)R<16?w[R]=C[R+L]:w[R]=Je(Je(Je(p(w[R-2]),w[R-7]),f(w[R-15])),w[R-16]),A=Je(Je(Je(Je(F,m(B)),u(B,P,O)),i[R]),w[R]),j=Je(g(E),d(E,k,D)),F=O,O=P,P=B,B=Je(U,A),U=D,D=k,k=E,E=Je(A,j);T[0]=Je(E,T[0]),T[1]=Je(k,T[1]),T[2]=Je(D,T[2]),T[3]=Je(U,T[3]),T[4]=Je(B,T[4]),T[5]=Je(P,T[5]),T[6]=Je(O,T[6]),T[7]=Je(F,T[7])}return T}},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(x){return Na(a(x))},this.b64=function(x){return Ba(a(x),n)},this.any=function(x,y){return Fa(a(x),y)},this.raw=function(x){return a(x,r)},this.hex_hmac=function(x,y){return Na(o(x,y))},this.b64_hmac=function(x,y){return Ba(o(x,y),n)},this.any_hmac=function(x,y,b){return Fa(o(x,y),b)},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){return x=r?fr(x):x,fc(s(ko(x),x.length*8))}function o(x,y){x=r?fr(x):x,y=r?fr(y):y;var b,v=0,C=ko(x),S=Array(32),T=Array(32);for(C.length>32&&(C=s(C,x.length*8));v<32;v+=1)S[v]=C[v]^909522486,T[v]=C[v]^1549556828;return b=s(S.concat(ko(y)),1024+y.length*8),fc(s(T.concat(b),1024+512))}function s(x,y){var b,v,C,S=new Array(80),T=new Array(16),w=[new l(1779033703,-205731576),new l(-1150833019,-2067093701),new l(1013904242,-23791573),new l(-1521486534,1595750129),new l(1359893119,-1377402159),new l(-1694144372,725511199),new l(528734635,-79577749),new l(1541459225,327033209)],E=new l(0,0),k=new l(0,0),D=new l(0,0),U=new l(0,0),B=new l(0,0),P=new l(0,0),O=new l(0,0),F=new l(0,0),L=new l(0,0),R=new l(0,0),A=new l(0,0),j=new l(0,0),V=new l(0,0),G=new l(0,0),K=new l(0,0),q=new l(0,0),Z=new l(0,0);for(i===void 0&&(i=[new l(1116352408,-685199838),new l(1899447441,602891725),new l(-1245643825,-330482897),new l(-373957723,-2121671748),new l(961987163,-213338824),new l(1508970993,-1241133031),new l(-1841331548,-1357295717),new l(-1424204075,-630357736),new l(-670586216,-1560083902),new l(310598401,1164996542),new l(607225278,1323610764),new l(1426881987,-704662302),new l(1925078388,-226784913),new l(-2132889090,991336113),new l(-1680079193,633803317),new l(-1046744716,-815192428),new l(-459576895,-1628353838),new l(-272742522,944711139),new l(264347078,-1953704523),new l(604807628,2007800933),new l(770255983,1495990901),new l(1249150122,1856431235),new l(1555081692,-1119749164),new l(1996064986,-2096016459),new l(-1740746414,-295247957),new l(-1473132947,766784016),new l(-1341970488,-1728372417),new l(-1084653625,-1091629340),new l(-958395405,1034457026),new l(-710438585,-1828018395),new l(113926993,-536640913),new l(338241895,168717936),new l(666307205,1188179964),new l(773529912,1546045734),new l(1294757372,1522805485),new l(1396182291,-1651133473),new l(1695183700,-1951439906),new l(1986661051,1014477480),new l(-2117940946,1206759142),new l(-1838011259,344077627),new l(-1564481375,1290863460),new l(-1474664885,-1136513023),new l(-1035236496,-789014639),new l(-949202525,106217008),new l(-778901479,-688958952),new l(-694614492,1432725776),new l(-200395387,1467031594),new l(275423344,851169720),new l(430227734,-1194143544),new l(506948616,1363258195),new l(659060556,-544281703),new l(883997877,-509917016),new l(958139571,-976659869),new l(1322822218,-482243893),new l(1537002063,2003034995),new l(1747873779,-692930397),new l(1955562222,1575990012),new l(2024104815,1125592928),new l(-2067236844,-1578062990),new l(-1933114872,442776044),new l(-1866530822,593698344),new l(-1538233109,-561857047),new l(-1090935817,-1295615723),new l(-965641998,-479046869),new l(-903397682,-366583396),new l(-779700025,566280711),new l(-354779690,-840897762),new l(-176337025,-294727304),new l(116418474,1914138554),new l(174292421,-1563912026),new l(289380356,-1090974290),new l(460393269,320620315),new l(685471733,587496836),new l(852142971,1086792851),new l(1017036298,365543100),new l(1126000580,-1676669620),new l(1288033470,-885112138),new l(1501505948,-60457430),new l(1607167915,987167468),new l(1816402316,1246189591)]),v=0;v<80;v+=1)S[v]=new l(0,0);for(x[y>>5]|=128<<24-(y&31),x[(y+128>>10<<5)+31]=y,C=x.length,v=0;v<C;v+=32){for(u(D,w[0]),u(U,w[1]),u(B,w[2]),u(P,w[3]),u(O,w[4]),u(F,w[5]),u(L,w[6]),u(R,w[7]),b=0;b<16;b+=1)S[b].h=x[v+2*b],S[b].l=x[v+2*b+1];for(b=16;b<80;b+=1)d(K,S[b-2],19),g(q,S[b-2],29),m(Z,S[b-2],6),j.l=K.l^q.l^Z.l,j.h=K.h^q.h^Z.h,d(K,S[b-15],1),d(q,S[b-15],8),m(Z,S[b-15],7),A.l=K.l^q.l^Z.l,A.h=K.h^q.h^Z.h,p(S[b],j,S[b-7],A,S[b-16]);for(b=0;b<80;b+=1)V.l=O.l&F.l^~O.l&L.l,V.h=O.h&F.h^~O.h&L.h,d(K,O,14),d(q,O,18),g(Z,O,9),j.l=K.l^q.l^Z.l,j.h=K.h^q.h^Z.h,d(K,D,28),g(q,D,2),g(Z,D,7),A.l=K.l^q.l^Z.l,A.h=K.h^q.h^Z.h,G.l=D.l&U.l^D.l&B.l^U.l&B.l,G.h=D.h&U.h^D.h&B.h^U.h&B.h,h(E,R,j,V,i[b],S[b]),f(k,A,G),u(R,L),u(L,F),u(F,O),f(O,P,E),u(P,B),u(B,U),u(U,D),f(D,E,k);f(w[0],w[0],D),f(w[1],w[1],U),f(w[2],w[2],B),f(w[3],w[3],P),f(w[4],w[4],O),f(w[5],w[5],F),f(w[6],w[6],L),f(w[7],w[7],R)}for(v=0;v<8;v+=1)T[2*v]=w[v].h,T[2*v+1]=w[v].l;return T}function l(x,y){this.h=x,this.l=y}function u(x,y){x.h=y.h,x.l=y.l}function d(x,y,b){x.l=y.l>>>b|y.h<<32-b,x.h=y.h>>>b|y.l<<32-b}function g(x,y,b){x.l=y.h>>>b|y.l<<32-b,x.h=y.l>>>b|y.h<<32-b}function m(x,y,b){x.l=y.l>>>b|y.h<<32-b,x.h=y.h>>>b}function f(x,y,b){var v=(y.l&65535)+(b.l&65535),C=(y.l>>>16)+(b.l>>>16)+(v>>>16),S=(y.h&65535)+(b.h&65535)+(C>>>16),T=(y.h>>>16)+(b.h>>>16)+(S>>>16);x.l=v&65535|C<<16,x.h=S&65535|T<<16}function p(x,y,b,v,C){var S=(y.l&65535)+(b.l&65535)+(v.l&65535)+(C.l&65535),T=(y.l>>>16)+(b.l>>>16)+(v.l>>>16)+(C.l>>>16)+(S>>>16),w=(y.h&65535)+(b.h&65535)+(v.h&65535)+(C.h&65535)+(T>>>16),E=(y.h>>>16)+(b.h>>>16)+(v.h>>>16)+(C.h>>>16)+(w>>>16);x.l=S&65535|T<<16,x.h=w&65535|E<<16}function h(x,y,b,v,C,S){var T=(y.l&65535)+(b.l&65535)+(v.l&65535)+(C.l&65535)+(S.l&65535),w=(y.l>>>16)+(b.l>>>16)+(v.l>>>16)+(C.l>>>16)+(S.l>>>16)+(T>>>16),E=(y.h&65535)+(b.h&65535)+(v.h&65535)+(C.h&65535)+(S.h&65535)+(w>>>16),k=(y.h>>>16)+(b.h>>>16)+(v.h>>>16)+(C.h>>>16)+(S.h>>>16)+(E>>>16);x.l=T&65535|w<<16,x.h=E&65535|k<<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 Na(l(h,r))},this.b64=function(h){return Ba(l(h,r),n)},this.any=function(h,x){return Fa(l(h,r),x)},this.raw=function(h){return l(h,r)},this.hex_hmac=function(h,x){return Na(u(h,x))},this.b64_hmac=function(h,x){return Ba(u(h,x),n)},this.any_hmac=function(h,x,y){return Fa(u(h,x),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 l(h){return h=r?fr(h):h,d(g(pc(h),h.length*8))}function u(h,x){h=r?fr(h):h,x=r?fr(x):x;var y,b,v=pc(h),C=Array(16),S=Array(16);for(v.length>16&&(v=g(v,h.length*8)),y=0;y<16;y+=1)C[y]=v[y]^909522486,S[y]=v[y]^1549556828;return b=g(C.concat(pc(x)),512+x.length*8),d(g(S.concat(b),512+160))}function d(h){var x,y="",b=h.length*32;for(x=0;x<b;x+=8)y+=String.fromCharCode(h[x>>5]>>>x%32&255);return y}function g(h,x){var y,b,v,C,S=1732584193,T=4023233417,w=2562383102,E=271733878,k=3285377520,D,U,B,P,O,F,L,R,A,j;for(h[x>>5]|=128<<x%32,h[(x+64>>>9<<4)+14]=x,C=h.length,v=0;v<C;v+=16){for(D=F=S,U=L=T,B=R=w,P=A=E,O=j=k,b=0;b<=79;b+=1)y=Je(D,m(b,U,B,P)),y=Je(y,h[v+i[b]]),y=Je(y,f(b)),y=Je(xs(y,o[b]),O),D=O,O=P,P=xs(B,10),B=U,U=y,y=Je(F,m(79-b,L,R,A)),y=Je(y,h[v+a[b]]),y=Je(y,p(b)),y=Je(xs(y,s[b]),j),F=j,j=A,A=xs(R,10),R=L,L=y;y=Je(T,Je(B,A)),T=Je(w,Je(P,j)),w=Je(E,Je(O,F)),E=Je(k,Je(D,L)),k=Je(S,Je(U,R)),S=y}return[S,T,w,E,k]}function m(h,x,y,b){return 0<=h&&h<=15?x^y^b:16<=h&&h<=31?x&y|~x&b:32<=h&&h<=47?(x|~y)^b:48<=h&&h<=63?x&b|y&~b:64<=h&&h<=79?x^(y|~b):"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 UI=[["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"]],Zg=class e extends $e{static langMap=new Map(UI);static langMapReverse=new Map(UI.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 J("AccessKeyID and AccessKeySecret are required");this.AccessKeyID=t.AccessKeyID?.trim(),this.AccessKeySecret=t.AccessKeySecret?.trim(),this.SHA1=new _I.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((u,d,g)=>(u[g]=d,u),{})),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"}),l=s.TranslatedList.length&&s.TranslatedList[0].detectedLanguage;return{text:s.TranslatedList.sort((u,d)=>parseInt(u.index)-parseInt(d.index)).map(u=>u.translated),from:l&&e.langMapReverse.get(l)||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(),l=Math.random().toString(36).slice(2),u={Action:r,Version:o,Format:"JSON",AccessKeyId:t,SignatureNonce:l,Timestamp:s,SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0"},g=(h=>{let y=Object.keys(h).sort().map(b=>`${this.encode(b)}=${this.encode(h[b])}`).join("&");return`POST&%2F&${this.encode(y)}`})(Object.assign({},u,i)),m=this.SHA1.b64_hmac(`${n}&`,g),f=new URLSearchParams(Object.assign({},u,{Signature:m})).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 J(p.Message);return p}};var S$=["authorization","content-type","content-length","user-agent","presigned-expires","expect"],En={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"},G9=e=>{try{return encodeURIComponent(e).replace(/[^A-Za-z0-9_.~\-%]+/g,escape).replace(/[*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)}catch{return""}},W9=e=>Object.keys(e).map(t=>{let n=e[t];if(typeof n>"u"||n===null)return;let r=G9(t);if(r)return Array.isArray(n)?`${r}=${n.map(G9).sort().join(`&${r}=`)}`:`${r}=${G9(n)}`}).filter(t=>t).join("&"),hc=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(`${En.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[En.tokenHeader]=t.sessionToken),i[En.dateHeader]=r,i[En.notSignBody]="",i[En.credential]=`${t.accessKeyId}/${this.credentialString(r)}`,i[En.algorithmKey]=En.algorithm,i[En.signHeadersKey]="",i[En.signQueriesKey]=void 0,i[En.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[En.signQueriesKey]=Object.keys(i).sort().join(";"),i[En.signatureKey]=s,W9(i)}getDateTime(t){return this.iso8601(t).replace(/[:\-]|\.\d{3}/g,"")}async addHeaders(t,n){if(this.request.headers[En.dateHeader]=n,t.sessionToken&&(this.request.headers[En.tokenHeader]=t.sessionToken),this.request.body){let r=this.request.body;this.request.headers[En.contentSha256Header]=await wr(r)}}async signature(t,n){let r=await this.getSigningKey(t,n.substr(0,8),this.request.region,this.serviceName);return ac(await pi(await this.stringToSign(n),r))}async stringToSign(t){let n=[];n.push(En.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=W9(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 J(`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 wr(t)}async hexEncodedBodyHash(){return this.request.headers[En.contentSha256Header]?this.request.headers[En.contentSha256Header]:this.request.body?await this.hexEncodedHash(W9(this.request.body)):await this.hexEncodedHash("")}isSignableHeader(t){return S$.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 pi(n,`${En.kDatePrefix}${t.secretKey}`),o=await pi(r,a),s=await pi(i,o);return pi(En.v4Identifier,s)}createScope(t,n,r){return[t.substr(0,8),n,r,En.v4Identifier].join("/")}};var jI=[["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"]],q9=new Map(jI),w$=new Map(jI.map(([e,t])=>[t,e])),K9=class extends $e{static langMap=q9;accessKeyId="";secretAccessKey="";maxTextGroupLength=8;constructor(t,n,r,i){if(super(t,n,r,i),!t||!t.accessKeyId||!t.secretAccessKey)throw new J("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 hc(r,"translate");await i.addAuthorization({accessKeyId:this.accessKeyId,secretKey:this.secretAccessKey});let a=new URLSearchParams(r.params),o=await _e({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 J(s.Code,s.Message)}else if(o.ResponseMetaData&&o.ResponseMetaData.Error){let s=o.ResponseMetaData.Error;throw new J(s.Code,s.Message)}else throw new J("response: "+JSON.stringify(o))}async translateList(t){let{text:n,from:r,to:i}=t,a=q9.get(r),o={TargetLanguage:q9.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)},l=new hc(s,"translate");await l.addAuthorization({accessKeyId:this.accessKeyId,secretKey:this.secretAccessKey});let u=new URLSearchParams(s.params),d=await _e({retry:2,url:"https://open.volcengineapi.com"+s.pathname+"?"+u.toString(),headers:l.request.headers,method:s.method,body:s.body});if(d.TranslationList){let g=d.TranslationList.map(f=>f.Translation),m=r;return d.TranslationList.length>0&&d.TranslationList[0].DetectedSourceLanguage&&(m=w$.get(d.TranslationList[0].DetectedSourceLanguage)||r),{text:g,from:m,to:i}}else if(d.ResponseMetadata&&d.ResponseMetadata.Error){let g=d.ResponseMetadata.Error;throw new J(g.Code,g.Message)}else if(d.ResponseMetaData&&d.ResponseMetaData.Error){let g=d.ResponseMetaData.Error;throw new J(g.Code,g.Message)}else throw new J("response: "+JSON.stringify(d))}},zI=K9;var HI=[["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"]],Q9=new Map(HI),E$=new Map(HI.map(([e,t])=>[t,e])),Jg=class extends $e{static langMap=Q9;maxTextGroupLength=50;isSupportList=!1;async translate(t){let{text:n,from:r,to:i}=t,a=Q9.get(r)||"detect",o=Q9.get(i)||i,s={source_language:a,target_language:o,text:n},l=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(l.base_resp&&l.base_resp.status_code===0){let u=l.translation,d=r;return l.detected_language&&(d=E$.get(l.detected_language)||r),{text:u,from:d,to:i}}else{let u=l.base_resp;throw new J(u.status_code.toString(),u.status_message)}}};var A$=[["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"]],Y9=new Map(A$),Xg=class extends $e{static langMap=Y9;url="";isSupportList=!1;maxTextGroupLength=1;apiKeys=[];constructor(t,n,r,i){if(super(t,n,r,i),!t||!t.url)throw new J("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:Y9.get(r)||r,target_lang:Y9.get(i)||i,text:n,tag_handling:"html"};this.isRichTranslate||delete o.tag_handling;let l=await super.request({retry:this.retry,url:a,headers:{"content-type":"application/json"},method:"POST",body:JSON.stringify(o),timeout:this.requestTimeout});if(l.code===200)return{text:C9(this.serviceConfig,l.data,i),from:r,to:i};throw new J(l.message||l.message||"API Error")}};var VI=[["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"]],Z9=new Map(VI),k$=new Map(VI.map(([e,t])=>[t,e])),J9=class extends $e{static langMap=Z9;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 J("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:l}=t,u=Ra(i+o+n+a);this.domain&&(u=Ra(i+o+n+this.domain+a));let d=new URLSearchParams({from:Z9.get(s)||"auto",to:Z9.get(l)||l,q:o,salt:n,appid:i,sign:u});this.action&&d.set("action","1"),this.domain&&d.set("domain",this.domain);let g=new URL(r);g.search=d.toString();let m=await super.request({url:g.toString(),retry:this.retry,timeout:this.requestTimeout});if(m.error_code)throw new J("API_SERVER_ERROR",m.error_msg);let{trans_result:f,from:p}=m,h=f.map(({dst:y})=>y);return{from:k$.get(p)||p,to:l,text:h.join(`
`)}}},GI=J9;var Cl=class extends $e{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 J(`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 J("serivce id not found config");let{text:n,from:r,to:i}=t;if(!this.langMap.has(i))throw new J(`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=l(a);let s=i.headers||{};return Object.keys(s).forEach(u=>{s[u]=l(s[u])}),i.headers=this.handleBodyHeaders({...s,...this.headerConfigs}),i.url=l(i.url||""),i;function l(u){return u.replaceAll('"{text}"',()=>Array.isArray(t)?JSON.stringify(t):`"${t}"`).replaceAll("{from}",n).replaceAll("{to}",r).replaceAll(/{([a-z:_]+)}/gi,(g,m)=>{let[f,p]=m.split(":"),h=o[f];return p==="random"?M$(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 M$(e){let t=Math.floor(Math.random()*e.length);return e[t]}var WI=[["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"]],X9=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"]),$9=class extends Cl{static langMap=new Map(WI);static supportedPairs=X9;constructor(t,n,r,i){if(!t?.token)throw new J("token are required");super({...t,isSupportList:!0,langs:WI,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 u=`${o}2${s}`;if(!X9.has(u))throw new J(`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 u=`${o}2${s}`;if(!X9.has(u))throw new J(`Unsupported translation direction: ${n} -> ${r}`)}return{...await super.translateList(t),from:i,to:a}}},qI=$9;var I$=[["auto","auto"],["zh-CN","zh"],["en","en"],["ja","ja"]],xh=new Map(I$),e6=class extends $e{static langMap=xh;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(!xh.get(i))throw new J(`Unsupported language: ${i}`);if(r==="auto")throw new J("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:`${xh.get(r)||"auto"}2${xh.get(i)}`}),timeout:this.requestTimeout})).target,from:r,to:i}}},KI=e6;var QI=[["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"]],t6=new Map(QI),L$=new Map(QI.map(([e,t])=>[t,e]));function D$(e){let t=e.length;return t<=20?e:e.substring(0,10)+t+e.substring(t-10,t)}var n6=class extends $e{static langMap=t6;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 J("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=P$(32),o=Math.round(new Date().getTime()/1e3),s=this.appId+D$(n)+a+o+this.appSecret,l=await wr(s),u={q:n,appKey:this.appId,salt:a.toString(),from:t6.get(r)||"auto",to:t6.get(i)||i,sign:l,signType:"v3",curtime:o.toString()};this.domain&&this.domain!=="general"&&(u.domain=this.domain),this.vocabId&&(u.vocabId=this.vocabId);let d=new URLSearchParams(u),m=await super.request({url:"https://openapi.youdao.com/api",method:"POST",body:d.toString(),headers:{"Content-Type":"application/x-www-form-urlencoded"},retry:this.retry,timeout:this.requestTimeout});if(!m.translation)throw new J(JSON.stringify(m));let f=m.l,[p,h]=f.split("2");return{text:m.translation.join(`
`),from:L$.get(p),to:i}}};function P$(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 YI=n6;var ZI=[["auto","auto"],["en","en"],["zh-CN","zh-CHS"]],r6=new Map(ZI),lEe=new Map(ZI.map(([e,t])=>[t,e]));function R$(e){let t=e.length;return t<=20?e:e.substring(0,10)+t+e.substring(t-10,t)}var i6=class extends nr{static langMap=r6;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 J("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/,l=o.match(s),u=o.split(s)[1],d="",g="";if(l&&l[0]&&(d=l[0].substring(6).trim()),u&&(g=u.substring(5).trim()),!d||!g)continue;let m=JSON.parse(g);if(d==="begin"){let f=m.type;f&&([r]=f.split("2"))}else if(d==="message")a.push(m);else if(d==="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(d==="error"){let f=m.code,p=m.msg;throw f==="411"?new J("\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 J(`${f}: ${p}`)}}if(n){let o=`

%%

`;return n=n.replace(/(\n)?\n%%\n\n/g,o),n}}throw new J("Youdao model translation failed")}async handleOptions({payload:t}){let{text:n,from:r,to:i}=t,a=N$(32),o=Math.round(new Date().getTime()/1e3),s=this.appKey+R$(n)+a+o+this.appSecret,l=await wr(s),u=this.handleBodyHeaders({i:n,streamType:this.streamType,salt:a.toString(),from:r6.get(r)||"auto",to:r6.get(i)||i,appKey:this.appKey,sign:l,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(u).toString(),timeout:this.requestTimeout,retry:this.retry,responseType:"text"}}};function N$(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 JI=i6;var XI=[["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"]],a6=new Map(XI),fEe=new Map(XI.map(([e,t])=>[t,e]));var o6=class extends $e{static langMap=a6;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:a6.get(r)||"auto",to:a6.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 J("Youdao translation failed: "+JSON.stringify(s))}},$I=o6;var $g=class extends Cl{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||mu,request:{url:t.url,retry:2,body:{text_list:"{text}",source_lang:"{from}",target_lang:"{to}"}},response:{text:"translations.text"}},n,r,i)}};var eL=z+"-gemini-fake-user-key",tL=new Map(xu),s6=class extends Pn{static langMap=tL;provider="custom";randomPrefix="My user id is {{id}}. ";fakeId="";constructor(t,n,r,i){super(t,n,r,i),this.immersiveProApiUrl=_.BASE_API+"gemini/translate",this.immersiveProStreamApiUrl=_.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 tL}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(eL,""),this.fakeId||(this.fakeId=F$(10),await le.setValue(eL,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(u=>({role:u.role,parts:u.parts||[{text:u.content}]}));let l=this.handleBodyHeaders({contents:s,...this.bodyConfigs});return t&&(l.systemInstruction={parts:[{text:t}]}),a.body=JSON.stringify(l,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:l=[]}=s[0].content,u=l[0].text;u&&n.onMessage?.(u)}catch(o){a.data.trim()!=="[DONE]"&&n.onError?.(o??new J("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 J("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,(u,d)=>s.has(d)?`{{${d}}}`:u)}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 F$(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 nL=s6;var rL=new Map(xu),l6=class extends Pn{static langMap=rL;constructor(t,n,r,i){super(t,n,r,i),this.immersiveProApiUrl=_.BASE_API+"claude/translate",this.immersiveProStreamApiUrl=_.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=wt(this.apiUrl,t.apiUrl)),this.initPro(t,r)}getApiUrl(){return this.apiUrl}getLangMap(){return rL}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||""}},iL=l6;var B$=[["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"]],aL=new Map(B$),e0=class extends nr{static langMap=aL;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=wt(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 ua(k2+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 aL}getDefaultRateLimit(){return{limit:10,interval:1300}}parseResponse(t){if(t.error_code&&t.error_msg)throw t.error_code===110||t.error_code===111?(mh(k2+this.AccessKeyID,()=>this.requestAccessToken(this.AccessKeyID,this.AccessKeySecret)),new J("token\u8FC7\u671F\uFF0C\u5DF2\u91CD\u65B0\u751F\u6210\uFF0C\u8BF7\u91CD\u8BD5")):new J(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:l}=await this.getAccessToken(this.AccessKeyID,this.AccessKeySecret);return s.headers={...s.headers,...i},l&&(s.url=s.url.replace("{key}",l)),s}};var Ch=class extends Pn{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=_.BASE_API+"hunyuan/translate",this.immersiveProStreamApiUrl=_.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 J(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(d=>({Role:d.Role||d.role,Content:d.Content||d.content}));let s=this.handleBodyHeaders({Model:this.model,Temperature:this.temperature,Messages:o,...this.bodyConfigs});isNaN(s.Temperature)&&delete s.Temperature;let l=JSON.stringify(s,null,2),u={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:l,timeout:this.requestTimeout,retry:this.retry};return u.headers.Authorization=await this.getSignV3(a,l),u}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:l}=await this.getStringToSign(r,i,o),u=await this.getSignature(r,l);return"TC3-HMAC-SHA256 Credential="+this.secret_id+"/"+s+", SignedHeaders="+a+", Signature="+u}async getSignature(t,n){let r=await pi(t,"TC3"+this.secret_key),i=await pi(this.service,r),a=await pi("tc3_request",i),o=await pi(n,a);return ac(o)}async getStringToSign(t,n,r){let i="TC3-HMAC-SHA256",a=await wr(r),o=t+"/"+this.service+"/tc3_request";return{credentialScope:o,stringToSign:i+`
`+n+`
`+o+`
`+a}}async getCanonicalRequest(t){let n=await wr(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 Cs({deviceId:e,retry:t}){let n=`${_.BASE_API}free-model/get-token?deviceId=${e}`,r=await We();return await ua(I2,async()=>{let i={},a=await le.getUserToken();a&&(i.token=a),i["Accept-Language"]=r.interfaceLanguage;let o=await _e({responseType:"json",url:n,headers:i,body:null,method:"GET",timeout:2e4,retry:t});return gh(o.data||"")})}async function yc(){await Eo(I2)}var Th=class extends nr{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=`${_.BASE_AIGW1_URL}v1/free/chat/completions`),t.apiUrl&&(this.apiUrl=wt(this.apiUrl,t.apiUrl))}async init(){if(this.apiKeys.length)return;try{this.deviceId=await Sr()}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 Eo(M2),await yc(),this.apiKeys=[],await this.init(),await super.rawRequest(t);throw n}}async getAPIKey(){if(this.enableImtServe)return await Cs({deviceId:this.deviceId,retry:this.retry});let t=M2,n=`${_.BASE_API}silicon/get-token?deviceId=${this.deviceId}`;return await ua(t,async()=>{let r=await _e({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 oL=pe+"ZhipuProTrialTokenStorageKey",sL=["glm-4-flash"],t0=class extends Pn{service="zhipu";freeUserToken;deviceId="";isEnableTrial=!1;immersiveProApiUrl=_.BASE_API+"bigmodel/translate";immersiveProStreamApiUrl=_.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=`${_.BASE_AIGW1_URL}v1/free/chat/completions`),t.apiUrl&&(this.apiUrl=wt(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 Eo(oL),this.apiKeys=[],await this.init(),await super.rawRequest(t);if(n?.errorCode===401&&this.enableImtServe)return await yc(),this.apiKeys=[],await this.init(),await super.rawRequest(t);let r=this.serviceConfig?.freeModels||sL;if((n?.errorCode===401||n.code==1e3)&&r.includes(this.model)&&this.provider==="custom")return Eo(L2),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 Sr();let{accessToken:r}=await this.getProTrialApiKey();this.proTrialToken=r;return}let t=this.serviceConfig?.freeModels||sL;if(!t.includes(this.model)&&!this.apiKeys.length)throw new J("apiKey are required");if(!t.includes(this.model)||this.apiKeys.length)return;try{this.deviceId=await Sr()}catch{this.deviceId="fake-device-id"}let{accessToken:n}=await this.getAPIKey();this.apiKeys=[n]}async getProTrialApiKey(){return await ua(oL,async()=>{let t=await _e({responseType:"json",url:`${_.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 Cs({deviceId:this.deviceId,retry:this.retry});let t={token:this.freeUserToken,"X-trigger":this.getXTrigger()};return await this.headerAttachLanguage(t),await ua(L2,async()=>{let n=await _e({responseType:"json",url:`${_.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 Sh=class extends Pn{constructor(t,n,r,i){super(t,n,r,i),this.immersiveProApiUrl=_.BASE_API+"deepseek/translate",this.immersiveProStreamApiUrl=_.BASE_API+"deepseek/translate/stream-fast",this.model=this.model||"deepseek-chat",this.apiUrl="https://api.deepseek.com/chat/completions",t.apiUrl&&(this.apiUrl=wt(this.apiUrl,t.apiUrl)),this.initPro(t,r)}getApiUrl(){return this.apiUrl}getDefaultRateLimit(){return{limit:10,interval:1300}}};var O$=[["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"]],_$=new Map(O$),wh=class e extends Pn{static langMap=_$;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=_.BASE_API+"qwen3/translate",t.provider==="custom"&&!t.apiKey)throw new J("apiKey are required");this.apiKey=t.apiKey?.trim(),this.domains=t.domains?.trim(),this.model=t.model?.trim()||this.model,t.apiUrl&&(this.apiUrl=wt(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 l=await this.interceptResponse(o,{...t,text:s});return l.handled?{from:r,to:i,text:l.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 u6=class extends Pn{constructor(t,n,r,i){super(t,n,r,i),this.immersiveProApiUrl=_.BASE_API+"qwen/translate",this.immersiveProStreamApiUrl=_.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=wt(this.apiUrl,t.apiUrl)),this.initPro(t,r)}getApiUrl(){return this.apiUrl}getDefaultRateLimit(){return{limit:10,interval:1300}}},lL=u6;var c6=class extends Pn{constructor(t,n,r,i){super(t,n,r,i),this.immersiveProApiUrl=_.BASE_API+"kimi/translate",this.immersiveProStreamApiUrl=_.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=wt(this.apiUrl,t.apiUrl)),this.initPro(t,r)}getApiUrl(){return this.apiUrl}getDefaultRateLimit(){return{limit:10,interval:1300}}},uL=c6;var d6=class extends $e{deviceId="";accessToken="";apiUrl="";isSupportList=!1;constructor(t,n,r,i){super(t,n,r,i),this.apiUrl=`https://aigw1.${_.HOST_NAME}/v1/free/translate`}async init(){this.deviceId=await Sr();let{accessToken:t}=await Cs({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}}},cL=d6;var dL="feature_usage_stats",Eh=7;function gL(e){let t=e.getFullYear(),n=`${e.getMonth()+1}`.padStart(2,"0"),r=`${e.getDate()}`.padStart(2,"0");return`${t}-${n}-${r}`}function Ah(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 mL(e,t,n){let r=Object.keys(e);for(let i of r){let a=Ah(i);if(Number.isNaN(a)){delete e[i];continue}let o=Math.floor((t-a)/864e5);(o<0||o>=n)&&delete e[i]}}function fL(){return Ie.local.get(dL,{})}async function pL(e){await Ie.local.set(dL,e)}function U$(e,t,n,r){mL(e,t,Eh);let i=r?0:1,a=i+n,o=[],s=0,l=0;for(let[d,{count:g}]of Object.entries(e)){let m=Ah(d);if(Number.isNaN(m))continue;let f=Math.floor((t-m)/864e5);f>=i&&f<a&&(l++,o.push({date:d,count:g}),s+=g)}o.sort((d,g)=>d.date.localeCompare(g.date));let u=l>0?s/l:0;return{summary:{total:s,avgPerDay:u,daily:o},cleanedUsage:e}}async function hL(e){let t=String(e);if(!t)return;let n=gL(new Date),r=Ah(n);if(Number.isNaN(r))return;let i=await fL(),a=i[t]||{},o=a[n]?.count??0;a[n]={count:o+1},mL(a,r,Eh),i[t]=a,await pL(i)}async function yL(e=Eh,t=!0){let n=Math.min(Math.max(e,1),Eh),r=gL(new Date),i=Ah(r);if(Number.isNaN(i))return{};let a=await fL(),o={};for(let[s,l]of Object.entries(a)){let{summary:u,cleanedUsage:d}=U$(l,i,n,t);o[s]=u,a[s]=d}return await pL(a),o}var kh=class extends Pn{provider="custom";constructor(t,n,r,i){super(t,n,r,i),this.immersiveProApiUrl=_.BASE_API+"grok/translate",this.immersiveProStreamApiUrl=_.BASE_API+"grok/translate/stream",t||(t={}),this.apiUrl="https://api.x.ai/v1/chat/completions",t.apiUrl&&(this.apiUrl=wt(this.apiUrl,t.apiUrl)),this.model=t.model||"grok-3-mini-fast",this.initPro(t,r)}getDefaultRateLimit(){return{limit:10,interval:1300}}};var bc=async()=>{try{if(!await le.getUserToken())return null;let t=await Tt.get("v1/user");return le.saveUserInfo(t),t}catch(e){return M.warn("updateUserInfo error",e),null}};var n0=new Map,g6=new Map;function bL(e,t){e&&(n0.set(e,(n0.get(e)||0)+1),t&&g6.set(e,t))}function vL(){n0.clear(),g6.clear()}function m6(e=.7){let t=0;for(let n of n0.values())t+=n;if(t===0)return null;for(let[n,r]of n0)if(r/t>=e)return n;return null}function vc(e=.7){let t=m6(e);return t&&g6.get(t)||null}var xc=class extends $e{deviceId="";accessToken="";apiUrl="";isSupportList=!0;constructor(t,n,r,i){super(t,n,r,i),this.apiUrl=t.apiUrl||`${_.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,l=await this.normalizeStreamRequest(t),u=()=>{s.signal.aborted||s.abort(t.signal?.reason||"request aborted")};t.signal&&(t.signal.aborted?u():t.signal.addEventListener("abort",u,{once:!0}));let d=h=>{i=!0,s.signal.aborted||s.abort(h||"fallback started")},g=h=>{if(n)return;n=!0;let x=h instanceof J?h:new J("fetchError",h instanceof Error?h.message:"free-model request failed");x.initData({...x.data,translationService:gt}),t.onError?.(x)},m=async h=>{if(n||r)return;if(this.isAbortError(h)){n=!0,t.onFinish?.("request aborted");return}if(this.isSelectionUsageScene()&&o){g(h);return}let x=this.getStreamFallbackServiceId();if(!x){g(h);return}r=!0,d(h?.message||"fallback started");try{await this.sendMessageStreamByFallback(t,l,x),n=!0}catch(y){g(y)}},f={...t,signal:s.signal,onMessage:h=>{i||n||(this.isSelectionUsageScene()&&h&&(o=!0),t.onMessage?.(h))},onError:h=>{n||(a=a||m(h))},onFinish:h=>{i||r||n||(n=!0,t.onFinish?.(h))}},p=await this.createStreamRequestOptions(f,l);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 yc()),this.accessToken)return;this.deviceId||(this.deviceId=await Sr());let{accessToken:n}=await Cs({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 kg(a())}catch(o){if(o?.errorCode!==401||r>=1){await n.onError?.(o);return}try{await this.ensureAccessToken(!0),await kg(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:l=>{if(!t.signal?.aborted)try{let u=JSON.parse(l.data),d=u.event||l.event;if(d==="json_text"||d==="result"){let g=d==="result"&&JSON.stringify(u.result)||"",m=d==="result"?this.resolveLegacySelectionResultChunk(o,g):u.delta||"";d==="result"?o=g:o+=m,m&&t.onMessage?.(m);return}if(d==="delta"){let g=u.delta||"";o+=g,t.onMessage?.(g);return}if(d==="done"&&!a){if(i&&!this.canParseSelectionJson(o)){a=!0,t.onError?.(new J("parseResponseError","free-model selection response is not valid JSON"));return}a=!0,t.onFinish?.("done")}}catch(u){a=!0,t.onError?.(new J("parseResponseError",u?.message||"Cannot parse response JSON"))}},onError:l=>{t.onError?.(l)},onFinish:l=>{a||(a=!0,t.onFinish?.(l))}}}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:gt,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 rn().translationServices}getFallbackServiceId(){return c7({[gt]:this.serviceConfig})}getStreamFallbackServiceId(){return d7({[gt]:this.serviceConfig})}async createFallbackTranslator(t){let r={...(await We()).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:Ta(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 We();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=yo(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&&bL(t,n)}resetProviderStats(){vL()}getDominantProviderId(t=.7){return m6(t)}getDominantSponsor(){return vc()}};var xL=new Map;var Lh={mock:sc,mock2:sc,custom:$g,google:bl,deepl:uc,volc:zI,volcAlpha:Jg,bing:Ao,tencent:Gg,tenAlpha:Wg,baidu:GI,caiyun:qI,cai:KI,openl:p9,youdao:YI,"youdao-ziyue":JI,you:$I,d:oc,dpro:oc,deeplx:Xg,niu:dI,azure:gI,openai:BI,gemini:nL,claude:iL,papago:mI,aliyun:Zg,qianfan:e0,qianfan2:nr,"custom-ai":nr,deepseek:Sh,"aliyun-bailian":nr,doubao:nr,hunyuan:Ch,siliconcloud:Th,lingyiwanwu:nr,zhipu:t0,"zhipu-pro":t0,grok:kh,ollama:nr,groq:nr,"azure-openai":nr,openrouter:nr,"qwen-mt":wh,qwen:lL,kimi:uL,"babel-lite":cL,[gt]:xc};globalThis.TranslationServicesClass=Lh;var Tl={};Object.keys(_n).forEach(e=>{Tl[e]={..._n[e],class:Lh[e]}});async function mn(e,t,n,r){t.config.monkeyAddTimeStampHosts&&(r={...r,monkeyAddTimeStampHosts:t.config.monkeyAddTimeStampHosts});let{config:i,state:a,usageScene:o}=t;o&&!xL.has(o)&&(xL.set(o,!0),hL(o)),So(i,t.localConfig,!1);let s=t.translationService;await J$(t,s,"precheck");let l=await le.getUserToken(),u=await ai(),d=G$(e.sentences),g=e.sentences[0].to??t.targetLanguage,m=t.usageScene=="verify"?"":await j$({ctx:t,userToken:l,isProUser:u,sourceLanguage:d,toLanguage:g,translationService:s,tempServiceConfig:r}),f=await z$({ctx:t,configHash:m,tempServiceConfig:r,sourceLanguage:d,toLanguage:g,translationService:s}),p=await K$(t.config.interfaceLanguage,g,t.rule.glossaries||[],t.config.termsDomainWithSelf),h=i.beta,x=a.cache===!1&&h,y=i.debug===!0&&h;if(e.sentences?.length){let E=Bi(f);e.sentences=e.sentences.map(k=>{x&&(k.refresh=!0),y&&(k.debug=!0);let{text:D,variables:U,counter:B,isOnlyPlaceholder:P,originalText:O}=qk(k.text,t.rule.excludeRegexps,t.rule.secretRegexpsV2,E);if(k.text=D,k.pureText=O,k.variables=U,k.onlyPlaceholder=P,Uf(f)){let F=Wp(k.text,p,Ih);F.length&&(k.glossaries=F)}else if(t.config.enableMachineTranslateTerms){let F=Gk({text:k.text,from:k.from,delimiters:E,glossaries:p,variables:k.variables||{},counter:B});k.text=F.text,k.variables=F.variables}return k})}let b={sentences:Array(e.sentences.length)},v=e.sentences.length,C=await H$({ctx:t,isProUser:u,userToken:l,configHash:m,sentences:e.sentences,serviceConfig:f,translationService:s,everySentenceCallback:n});if(!C)return{sentences:[]};let S=[];if(a.cache){let E=e.sentences.map(async(D,U)=>{let B=CL(s,D,f,C),P=TL(D.glossaries);try{if(D.onlyPlaceholder)return{index:U,text:D.pureText||D.text,sentence:D};let O=await ip($A({originalText:D.text,from:D.from,to:D.to,service:B}),200);if(O?.translatedText?.trim()){if(q$(O.glossaryHash,P)){let F=Fb({text:O.translatedText,delimiters:Bi(f),variables:D.variables||{}});return{index:U,text:F,sentence:D}}M.debug("[translate-sentences] glossary mismatch, treat as cache miss",{expectedGlossaryHash:P,cachedGlossaryHash:O.glossaryHash})}}catch(O){M.warn("[translate-sentences] query cache DB error, but it's ok",O)}return null});(await Promise.allSettled(E)).forEach((D,U)=>{let B=e.sentences[U];if(D.status==="fulfilled"&&D.value){let{index:P,text:O}=D.value,F={...B,text:O};b.sentences[P]=F,n&&n(null,F,B)}else S.push(B)})}else S.push(...e.sentences);let T=S.length;if(v-T>0&&M.debug(`[translate-sentences] use ${v-T} sentences from cache`),!S.length)return b;await W$(S,t),QA(S,t),await Q$(t.config.sensitiveConfig,S);let w=await C.multipleTranslate({sentences:S},f,async(E,k,D)=>{await AL(t.config.sensitiveConfig,k,D,!0);let U=k?.text;if(!E&&k&&D){let B=Fb({text:k.text,delimiters:Bi(f),variables:D.variables||{}});k.text=B}if(n&&n(E,k,D),U&&k?.text?.trim()&&!E&&k&&!s.startsWith("mock")&&a.cache){let B=CL(s,k,f,C);if(a.cache){let P=TL(D.glossaries||k.glossaries);ip(ek({translatedText:U,from:D.from,to:D.to,detectedFrom:k.from,key:Ra(D.text),service:B,glossaryHash:P??void 0}),3e3).catch(O=>{M.warn("[translate-sentences] set cache DB error",O)})}}});for(let E of w?.sentences||[]){let k=b.sentences.findIndex(U=>!U);if(k===-1)throw new J("translateFailed","can not match the result");let D=S[k];await AL(t.config.sensitiveConfig,E,D,!1),b.sentences[k]=E}return{sentences:b.sentences}}async function j$({ctx:e,userToken:t,isProUser:n,sourceLanguage:r,toLanguage:i,translationService:a,tempServiceConfig:o}){return Ra(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 Mh={},f6={};function ML(){for(let e of Object.values(Mh))e instanceof xc&&e.resetProviderStats()}async function z$({ctx:e,configHash:t,tempServiceConfig:n,sourceLanguage:r,toLanguage:i,translationService:a}){if(t&&f6[t])return f6[t];let o=e.config.translationServices[a]||{},s=e.config.rawUserConfig?.translationServices?.[a]||{};return o=await bI(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=z9(o)),f6[t]=o,o}async function H$({ctx:e,isProUser:t,userToken:n,configHash:r,sentences:i,serviceConfig:a,translationService:o,everySentenceCallback:s}){if(r&&Mh[r])return Mh[r];try{let l=new Tl[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 l.init(),Mh[r]=l,l}catch(l){if(s){let u={translationService:o,isPro:!!e.isPro,isLogin:!!n};for(let d of i){let g=l instanceof J?new J(l.name,l.message).initNetWork(l.errorCode).initData(l.data||u):l;s(g,null,d)}}return null}}function V$(e,t,n){let i=n.translationServices?.[e]?.type||e,a=Tl[i]?.class?.langMap;return!a||a.size===0?!0:!!a.get(t)}function Oa(e,t,n){let r=Qn,a=n.translationServices?.[e]?.type||e;if(Tl[a]?.class?.langMap?.size>0){let o=r.filter(s=>V$(e,s,n));return o.includes(t)||o.unshift("placeholder"),o}else return Qn}async function yi(e,t,n){if(!e.text)return e;let r=null,i=await mn({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 J("translateFailed","translate failed")}async function Cc(e,t){for(let n of e)try{return await yi({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 G$(e){return e?.length?e[0].from:"auto"}async function Ts(e,t){let{config:n}=t,r=await ai(),i=n.translationServices,a=n.translationGeneralConfig,o={...i[e.service]||{},...e.serviceConfigs};(n.rawUserConfig?.translationServices?.[e.service]||{}).bodyConfigs||(o=z9(o));let l=await le.getUserToken(),u;try{return u=new Tl[o.type||e.service].class(o,a,{translationService:e.service,userToken:l,isPro:r,usageScene:t.usageScene},!1),await u.init(),u}catch(d){throw new J("fetchError",d.message||d?.toString()||"Unknown error").initNetWork(d.status||-999).initData({translationService:e.service,isPro:r,isLogin:!!l})}}async function W$(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 ls(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 CL(e,t,n,r){let i=e;e==="openl"&&(i=e+"-"+n.codename||p9.DEFAULT_CODENAME);let a=r.getCacheKeyPrefix();return a&&(i=a+"-"+i),i}function TL(e){if(!e||!e.length)return null;let t=e.map(n=>`${n?.k??""}=${n?.v??""}`).sort().join("|");return Ra(t)}function q$(e,t){return t?e===t:!e}var SL={},wL={},Ih=null;async function K$(e,t,n,r){let i=[],a=(await xo()).filter(u=>u.active),o=a.map(u=>u.id).join(","),s=wL[o];if(s)return Ih=SL[o]||EL(s),s;for(let u of a){let d=u.matches?.length?u.matches:["*"];if(et(location.href,d)){let m=(await ra(u.id)).glossaries||[];m.forEach(f=>{u.id!="default"&&(!r&&u.author=="self"||(f.domain=u.i18ns?.en?.name||u.i18ns?.[e]?.name||u.name))}),i.push(...m)}}let l=i.length?i:n;return l=l.filter(u=>u.tl===t||!u.tl||u.tl==="auto"),Ih=EL(l),SL[o]=Ih,wL[o]=l,l}function EL(e){if(e.length===0)return new RegExp("(?!)");let t=e.map(n=>n.k).sort((n,r)=>r.length-n.length).map(n=>qp(n));return new RegExp(`(${t.join("|")})`,"gi")}async function Q$(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 dk(e,r);for(let[a,o]of i.entries()){if(Y$(o))if(!/\s+/.test(o.trim())&&/\s+/.test(n[a].text.trim())){M.info(`[sensitive-encode] \u8BEF\u5224 "${n[a].text}" -> "${o}"`);continue}else M.info(`[sensitive-encode] "${n[a].text}" -> "${o}"`);n[a].text=o}}function Y$(e){return!!e.includes(df)}async function AL(e,t,n,r){!e||e.sensitiveMode==="close"||!t||!n||t.text&&(t.text=await gk(e,n.text,t.text,r))}var Z$=3*60*1e3,kL=0,r0=null;async function J$(e,t,n){return!Gt()||e.isPro||e.isMax||e.usageScene==="verify"||!ts(e.config,t)||!await le.getUserToken()||n==="precheck"&&Date.now()-kL<Z$?!1:r0?await r0:(r0=(async()=>{try{let i=await bc();return i?(e.user=i,e.isPro=Nt(i),e.isMax=vf(i),!0):!1}finally{kL=Date.now(),r0=null}})(),await r0)}function ke(e){return c("div",{class:"nav-left",children:[c("div",{class:"title",children:e.title}),c("div",{class:"description",dangerouslySetInnerHTML:{__html:e.description||""}})]})}function bi(e){let{items:t,maxWidth:n,className:r,style:i,disabled:a}=e,{lang:o}=H();return n=n||(o==="en"?144:160),c("select",{autoComplete:"off",class:r||"min-select",style:{maxWidth:`${n}px`,...i},value:t.find(s=>s.selected)?.value,disabled:a,onChange:s=>{let l=s.target.value,u=t.find(d=>d.value===l);u&&u.onSelected(u)},children:t.map((s,l)=>c("option",{value:s.value,selected:s.selected,children:s.label},"selectlink"+l))})}function p6(e){let{disabled:t,items:n,maxWidth:r,isInput:i,value:a}=e;return r=r||128,i?c("input",{value:a,disabled:t,onChange:o=>{e.onChange(o.target.value)}}):c("select",{autoComplete:"off",disabled:t,style:{maxWidth:`${r}px`},value:n.find(o=>o.selected)?.value,onChange:o=>{let s=o.target.value,l=n.find(u=>u.value===s);l&&l.onSelected(l)},children:n.map((o,s)=>c("option",{value:o.value,selected:o.selected,children:o.label},"selectlink"+s))})}var Dh=({floatingRef:e,containerSelector:t,baseStyle:n,dependencies:r=[]})=>{let[i,a]=N({});return vr(()=>{let s=()=>{let u=document.querySelector(t);return u?u.getBoundingClientRect():{left:0,top:0,right:globalThis.innerWidth??0,bottom:globalThis.innerHeight??0}},l=()=>{let u=e.current;if(!u){a({});return}let d=u.getBoundingClientRect(),g=s(),m=0,f=0,p=d.right+8-g.right;p>0&&(m-=p);let h=g.left+8-d.left;h>0&&(m+=h);let x=d.bottom+8-g.bottom;x>0&&(f-=x);let y=g.top+8-d.top;if(y>0&&(f+=y),m!==0||f!==0){let b=n.transform||"",v=`translate(${m}px, ${f}px)`,C=[b,v].filter(Boolean).join(" ").trim();a({transform:C})}else a({})};return l(),globalThis.addEventListener?.("resize",l),globalThis.addEventListener?.("scroll",l,!0),()=>{globalThis.removeEventListener?.("resize",l),globalThis.removeEventListener?.("scroll",l,!0)}},[e,t,n.transform,...r]),i};var X$=({text:e,children:t,position:n="top",containerStyle:r,containerClass:i,multiple:a=!1,width:o,maxWidth:s,delay:l=0,disable:u,enableMobile:d,tipStyle:g,hidden:m,displayType:f,onHidden:p,onShow:h,onClick:x,class:y})=>{let[b,v]=N(!1),C=$(null),S=$(null),T=$(null),w=$(null),E=()=>{u||!d&&(Se().any||Bn())||(T.current&&clearTimeout(T.current),T.current=setTimeout(()=>{v(R=>(R||h?.(),!0))},l))},k=()=>{(Se().any||Bn())&&(w.current&&clearTimeout(w.current),w.current=setTimeout(()=>{D()},2e3))},D=()=>{T.current&&clearTimeout(T.current),w.current&&clearTimeout(w.current),v(R=>(R&&p?.(),!1))},U=X(()=>{let R={padding:"6px 20px",backgroundColor:"#000000",color:"#ffffff",borderRadius:"8px",fontSize:"12px"};return a&&(R.maxWidth="200px",o&&(R.width=o+"px"),s&&(R.maxWidth=s+"px"),R.whiteSpace="normal"),g?.width&&(R.width=g.width),g?.maxWidth&&(R.maxWidth=g.maxWidth),g?.whiteSpace&&(R.whiteSpace=g.whiteSpace),R},[a,s,o,g]),B=X(()=>{let R={position:"absolute",whiteSpace:"nowrap",zIndex:1e3,padding:10},A={...g};switch(A.width&&delete A.width,A.maxWidth&&delete A.maxWidth,n){case"top":return{...R,bottom:"100%",left:"50%",transform:"translateX(-50%)",marginBottom:"0px",...A};case"bottom":return{...R,top:"100%",left:"50%",transform:"translateX(-50%)",marginTop:"0px",...A};case"left":return{...R,right:"100%",top:"50%",transform:"translateY(-50%)",marginRight:"0px",...A};case"right":return{...R,left:"100%",top:"50%",transform:"translateY(-50%)",marginLeft:"0px",...A};default:return{}}},[n,a,o,g]),P=Dh({floatingRef:C,containerSelector:".popup-container",baseStyle:B,dependencies:[b,e]});W(()=>{if(!b)return;let R=A=>{let j=A.target;j&&S.current&&!S.current.contains(j)&&D()};return document.addEventListener("pointerdown",R),()=>{document.removeEventListener("pointerdown",R)}},[b]);let O=R=>{if(u||!d&&(Se().any||Bn())){x?.(R);return}T.current&&clearTimeout(T.current),v(A=>{let j=!A;return j?h?.():p?.(),j}),x?.(R)},F=R=>ah()?c("div",{style:U,role:"tooltip",children:R}):c("div",{style:U,role:"tooltip",dangerouslySetInnerHTML:{__html:R}}),L=f||"inline-block";return c("div",{ref:S,class:`${y??""} ${i??""}`,onMouseEnter:E,onMouseLeave:D,onTouchStart:()=>{d&&E()},onTouchEnd:()=>{d&&k()},style:{position:"relative",pointerEvents:"all",display:m?"none":L,...r},onClick:O,children:[c("div",{children:t}),b&&c("div",{ref:C,style:{...B,...P},children:F(e)})]})},Ye=X$;async function $$(){if(tp()!="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",l=e.getAttribute("data-color-scheme")==="dark"||t.getAttribute("data-color-scheme")==="dark",u=e.getAttribute("data-appearance")==="dark"||t.getAttribute("data-appearance")==="dark",d=globalThis.getComputedStyle(e),g=globalThis.getComputedStyle(t),m=d.backgroundColor,f=g.backgroundColor,p=!1;if(n||r||i||s||l||u||o.includes("dark"))p=!0;else{let h=f!=="rgba(0, 0, 0, 0)"?f:m;if(h==="rgba(0, 0, 0, 0)"||h==="transparent"){let x=globalThis.matchMedia("(prefers-color-scheme: dark)").matches,y="light";try{if(globalThis.chrome?.theme?.getCurrent){let b=await globalThis.chrome.theme.getCurrent();b?.properties?.color_scheme&&(y=b.properties.color_scheme)}}catch{}p=y==="dark"||(y==="light"?!1:x)}else{let x=h.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/);if(x){let y=parseInt(x[1]),b=parseInt(x[2]),v=parseInt(x[3]);p=(y*299+b*587+v*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 Ph=null,i0="light";function pr(){let[e,t]=N(i0);return W(()=>{let n=gr(async()=>{i0=await $$(),t(i0)},100);t(i0),setTimeout(()=>t(i0),100),!Ph&&document.body&&(n(),setTimeout(()=>n(),100),Ph=new MutationObserver(()=>{setTimeout(()=>n(),50)}),Ph.observe(document.body,{attributes:!0,attributeFilter:["class","data-theme","style"],subtree:!1}),Ph.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}function IL(e){return c("svg",{className:e.class,width:14,height:8,viewBox:"0 0 14 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:c("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 LL(e){return c("svg",{className:e.class,width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:c("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 DL(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:12,height:14,viewBox:"0 0 12 14",fill:"none",children:c("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 PL(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:20,height:20,viewBox:"0 0 20 20",children:c("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 Rh(e){return c("svg",{className:e.class,xmlns:"http://www.w3.org/2000/svg",class:e.class,width:14,height:15,viewBox:"0 0 14 15",children:c("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 a0(e){return c("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:c("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 Ss(e){return c("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",style:e.style,xmlns:"http://www.w3.org/2000/svg",children:c("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 h6(e){return c("svg",{class:e.class,width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:c("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 Sl(e){return c("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:c("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 RL(e){return c("svg",{class:e.class,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c("mask",{id:"mask0_33422_13719",style:"mask-type:alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20",children:c("rect",{width:"20",height:"20",fill:"#D9D9D9"})}),c("g",{mask:"url(#mask0_33422_13719)",children:c("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 NL(e){return c("svg",{class:e.class,width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:c("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 Tc(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:21,height:21,viewBox:"0 0 21 21",fill:"none",children:c("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 FL(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:21,height:21,fill:"none",children:c("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 bn(e){return c("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:c("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 y6(e){return c("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:[c("g",{"clip-path":"url(#clip0_33422_14745)",children:c("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"})}),c("defs",{children:c("clipPath",{id:"clip0_33422_14745",children:c("rect",{width:"14",height:"14",fill:"white"})})})]})}function BL(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[c("g",{"clip-path":"url(#clip0_33935_23820)",children:[c("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"}),c("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"})]}),c("defs",{children:c("clipPath",{id:"clip0_33935_23820",children:c("rect",{width:"20",height:"20",fill:"white"})})})]})}function OL(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",children:[c("path",{d:"M7.35425 0.645874L0.645914 7.35421",stroke:"#EA4C89","stroke-linecap":"round"}),c("path",{d:"M0.937498 0.645876L7.35417 7.06254",stroke:"#EA4C89","stroke-linecap":"round"})]})}function _L(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:"10",height:"7",viewBox:"0 0 10 7",fill:"none",children:c("path",{d:"M6.29908 6C5.72173 7 4.27836 7 3.70101 6L0.236903 8.32814e-07L9.76318 0L6.29908 6Z",fill:"#333333"})})}function UL(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:28,height:28,viewBox:"0 0 28 28",fill:"none",children:[c("mask",{id:"mask0_28349_160",style:"mask-type:alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"28",height:"28",children:c("rect",{width:"28",height:"28",fill:"#D9D9D9"})}),c("g",{mask:"url(#mask0_28349_160)",children:c("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 Nh(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:21,height:21,viewBox:"0 0 21 21",fill:"none",children:c("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 jL(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:21,height:21,viewBox:"0 0 21 21",fill:"none",children:c("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 zL(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:28,height:28,viewBox:"0 0 28 28",fill:"none",children:c("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 HL(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:28,height:28,viewBox:"0 0 28 28",fill:"none",children:c("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 Fh(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:16,height:17,viewBox:"0 0 16 17",fill:"none",children:c("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 _a(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:16,height:17,viewBox:"0 0 16 17",fill:"none",children:c("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 VL(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",children:c("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 GL(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:c("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 WL(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",children:c("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 qL(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:c("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 KL(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[c("mask",{id:"mask0_33422_14391",style:"mask-type:alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20",children:c("rect",{width:"20",height:"20",fill:"#D9D9D9"})}),c("g",{mask:"url(#mask0_33422_14391)",children:c("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 QL(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:24,height:24,viewBox:"0 0 24 24",fill:"none",children:c("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 YL(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:24,height:24,viewBox:"0 0 24 24",fill:"none",children:c("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 ZL(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:24,height:24,viewBox:"0 0 24 24",fill:"none",children:c("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 JL(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:24,height:24,viewBox:"0 0 24 24",fill:"none",children:c("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 XL(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:28,height:28,viewBox:"0 0 28 28",fill:"none",children:[c("mask",{id:"mask0_29692_415",style:"mask-type:alpha",maskUnits:"userSpaceOnUse",x:"5",y:"5",width:"18",height:"18",children:c("rect",{x:"5",y:"5",width:"18",height:"18",fill:"#D9D9D9"})}),c("g",{mask:"url(#mask0_29692_415)",children:c("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 $L(e){return c("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:[c("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"}),c("rect",{x:"7.55957",y:"10.2002",width:"8.88",height:"1.8",fill:"#EA4C89"}),c("rect",{x:"7.55957",y:"13.2002",width:"8.88",height:"1.68",fill:"#EA4C89"}),c("rect",{x:"7.55957",y:"16.0801",width:"4.92",height:"1.8",fill:"#EA4C89"})]})}function Bh({style:e,fillColor:t}){let n=t||"#666666";return c("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",style:e,xmlns:"http://www.w3.org/2000/svg",children:[c("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}),c("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 eD=c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 24 24",fill:"#222222",children:[c("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"}),c("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"}),c("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"})]}),tD=c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 24 24",fill:"#222222",children:[c("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"}),c("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 nD(e){return c("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:[c("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"}),c("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 rD(){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:c("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 Oh(e){return c("svg",{class:e.class,width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:c("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 b6(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:16,height:10,viewBox:"0 0 320 512",children:c("path",{opacity:"1",fill:"currentColor",d:"M80 160c0-35.3 28.7-64 64-64h32c35.3 0 64 28.7 64 64v3.6c0 21.8-11.1 42.1-29.4 53.8l-42.2 27.1c-25.2 16.2-40.4 44.1-40.4 74V320c0 17.7 14.3 32 32 32s32-14.3 32-32v-1.4c0-8.2 4.2-15.8 11-20.2l42.2-27.1c36.6-23.6 58.8-64.1 58.8-107.7V160c0-70.7-57.3-128-128-128H144C73.3 32 16 89.3 16 160c0 17.7 14.3 32 32 32s32-14.3 32-32zm80 320a40 40 0 1 0 0-80 40 40 0 1 0 0 80z"})})}function iD(e){return c("svg",{class:e.class,width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c("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"}),c("path",{d:"M13.062 17.1429V15.4286H11.4557L11.4563 17.1429H13.062Z",fill:"#EA4C89"}),c("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 Sc(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:24,height:24,viewBox:"0 0 24 24",style:e.style,children:[c("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"}),c("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"}),c("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"}),c("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"}),c("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 aD(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:24,height:24,viewBox:"0 0 24 24",children:[c("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"}),c("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"}),c("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"}),c("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"}),c("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"}),c("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 oD(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:24,height:24,viewBox:"0 0 24 24",children:[c("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"}),c("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"}),c("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"}),c("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"}),c("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"}),c("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 sD(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:18,height:19,viewBox:"0 0 18 19",children:c("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 lD(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:18,height:18,viewBox:"0 0 18 18",fill:"none",children:[c("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)"}),c("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"}),c("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"}),c("defs",{children:c("linearGradient",{id:"paint0_linear_28090_539",x1:"6.21379",y1:"17",x2:"17.8596",y2:"9.43011",gradientUnits:"userSpaceOnUse",children:[c("stop",{"stop-color":"#272727"}),c("stop",{offset:"0.990396","stop-color":"#696969"})]})})]})}function uD(){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",style:{verticalAlign:"middle"},children:[c("g",{"clip-path":"url(#clip0_13006_12686)",children:[c("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)"}),c("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"}),c("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"})]}),c("defs",{children:[c("linearGradient",{id:"paint0_linear_13006_12686",x1:"12.0001",y1:"0.857143",x2:"3.42864",y2:"8.57143",gradientUnits:"userSpaceOnUse",children:[c("stop",{"stop-color":"#FFEAB5"}),c("stop",{offset:"1","stop-color":"#F9C235"})]}),c("clipPath",{id:"clip0_13006_12686",children:c("rect",{width:"12",height:"12",fill:"white"})})]})]})}function cD(e){return c("svg",{class:e.class,width:10,height:6,viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:c("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 Hn(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:16,height:16,fill:"none",viewBox:"0 0 16 16",children:c("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 dD(){return c("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"#333333",xmlns:"http://www.w3.org/2000/svg",children:c("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.9091 2H7.04546C6.50297 2 5.9827 2.2155 5.5991 2.5991C5.2155 2.9827 5 3.50297 5 4.04546V17.9545C5 18.497 5.2155 19.0173 5.5991 19.4009C5.9827 19.7845 6.50297 20 7.04546 20H15.9091C16.4515 20 16.9718 19.7845 17.3554 19.4009C17.739 19.0173 17.9545 18.497 17.9545 17.9545V4.04546C17.9545 3.50297 17.739 2.9827 17.3554 2.5991C16.9718 2.2155 16.4516 2 15.9091 2ZM7.04546 3.36364H15.9091C16.0899 3.36364 16.2633 3.43548 16.3912 3.56334C16.519 3.69121 16.5909 3.86463 16.5909 4.04546V14.2727H6.36362V4.04546C6.36362 3.86463 6.43546 3.69121 6.56332 3.56334C6.69119 3.43548 6.86461 3.36364 7.04544 3.36364H7.04546ZM15.9091 18.6364H7.04546C6.95592 18.6364 6.86726 18.6187 6.78454 18.5845C6.70182 18.5502 6.62665 18.5 6.56334 18.4367C6.50003 18.3733 6.44981 18.2982 6.41554 18.2155C6.38128 18.1327 6.36364 18.0441 6.36364 17.9545V15.6364H16.5909V17.9545C16.5909 18.1354 16.5191 18.3088 16.3912 18.4367C16.2633 18.5645 16.0899 18.6364 15.9091 18.6364H15.9091ZM9.50007 6.09103H13.591C13.7718 6.09103 13.9452 6.01919 14.0731 5.89133C14.201 5.76346 14.2728 5.59004 14.2728 5.40921C14.2728 5.22838 14.201 5.05496 14.0731 4.9271C13.9452 4.79924 13.7718 4.72741 13.591 4.72741H9.50007C9.31924 4.72741 9.14582 4.79924 9.01796 4.9271C8.89009 5.05496 8.81825 5.22838 8.81825 5.40921C8.81825 5.49875 8.83588 5.58741 8.87015 5.67013C8.90441 5.75285 8.95464 5.82802 9.01795 5.89133C9.08126 5.95464 9.15642 6.00486 9.23915 6.03913C9.32187 6.07339 9.41053 6.09103 9.50007 6.09103ZM11.0634 17.6184C10.9355 17.4905 10.8637 17.3171 10.8637 17.1362C10.8637 16.9554 10.9355 16.782 11.0634 16.6541C11.1913 16.5262 11.3647 16.4544 11.5455 16.4544C11.7264 16.4544 11.8998 16.5262 12.0276 16.6541C12.1555 16.782 12.2273 16.9554 12.2273 17.1362C12.2273 17.3171 12.1555 17.4905 12.0276 17.6184C11.8998 17.7462 11.7264 17.8181 11.5455 17.8181C11.3647 17.8181 11.1913 17.7462 11.0634 17.6184Z"})})}function gD(){return c("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c("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"}),c("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"}),c("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 _h(){return c("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:c("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 mD(){return c("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c("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"}),c("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 fD(){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[c("mask",{id:"mask0_33152_7401",style:"mask-type:alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:c("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),c("g",{mask:"url(#mask0_33152_7401)",children:c("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 pD(){return c("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:c("path",{d:"M16.7619 17.4599L15.8203 12.0305H16.1383C16.3942 12.0305 16.6003 11.8244 16.6003 11.5685V8.15736C16.6003 7.90152 16.3942 7.69543 16.1383 7.69543H11.7678V4.46193C11.7678 4.20609 11.5617 4 11.3058 4H8.4632C8.20736 4 8.00127 4.20609 8.00127 4.46193V7.69543H3.63071C3.37487 7.69543 3.16878 7.90152 3.16878 8.15736V11.5685C3.16878 11.8244 3.37487 12.0305 3.63071 12.0305H3.94873L3.00711 17.4599C3.00178 17.4865 3 17.5132 3 17.5381C3 17.7939 3.20609 18 3.46193 18H16.3071C16.3338 18 16.3604 17.9982 16.3853 17.9929C16.6376 17.9503 16.8063 17.7104 16.7619 17.4599ZM4.41244 8.93909H9.24492V5.24365H10.5241V8.93909H15.3566V10.7868H4.41244V8.93909ZM12.7272 16.7563V13.9848C12.7272 13.9066 12.6632 13.8426 12.585 13.8426H11.7322C11.6541 13.8426 11.5901 13.9066 11.5901 13.9848V16.7563H8.17893V13.9848C8.17893 13.9066 8.11497 13.8426 8.0368 13.8426H7.18401C7.10584 13.8426 7.04188 13.9066 7.04188 13.9848V16.7563H4.39112L5.19239 12.1371H14.5749L15.3761 16.7563H12.7272Z",fill:"#EA4C89"})})}function hD(){return c("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:c("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.4741 3.00003C7.81418 2.99305 5.47348 4.36921 4.1357 6.44828C4.07639 6.54072 4.14267 6.66281 4.25256 6.66281H5.47872C5.56244 6.66281 5.64093 6.62618 5.69325 6.56165C5.81534 6.41339 5.94616 6.27037 6.08395 6.13432C6.65255 5.56746 7.3136 5.12095 8.04964 4.81049C8.81011 4.48956 9.61941 4.32561 10.4549 4.32561C11.2903 4.32561 12.0996 4.48781 12.8601 4.81049C13.5961 5.12095 14.2572 5.56746 14.8258 6.13432C15.3944 6.70118 15.8392 7.36223 16.1514 8.09653C16.474 8.85699 16.6363 9.66455 16.6363 10.5C16.6363 11.3355 16.4723 12.143 16.1514 12.9035C15.8409 13.6378 15.3944 14.2988 14.8258 14.8657C14.2572 15.4326 13.5961 15.8791 12.8601 16.1895C12.0996 16.5105 11.2903 16.6744 10.4549 16.6744C9.61941 16.6744 8.81011 16.5105 8.04964 16.1895C7.3136 15.8791 6.65255 15.4326 6.08395 14.8657C6.01013 14.7919 5.93882 14.7166 5.86948 14.64L6.07325 14.5461L6.06479 14.5277L7.78152 13.7361C7.93287 13.6663 7.93235 13.4454 7.78367 13.3665L3.72383 11.2154C3.60734 11.1528 3.46729 11.2174 3.43921 11.3466L2.4392 15.831C2.4004 15.9963 2.57033 16.1391 2.72167 16.0693L4.43841 15.2777L4.44687 15.296L4.61778 15.2172C5.9944 16.9145 8.09721 18 10.4549 18C14.5746 18 17.92 14.6843 17.9618 10.5768C18.0037 6.40293 14.6531 3.01049 10.4741 3.00003Z",fill:"#EA4C89"})})}function yD(){return c("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"pointer-events-none",children:c("path",{d:"M14.2855 6.66665H15.7141C16.093 6.66665 16.4563 6.81716 16.7242 7.08507C16.9921 7.35298 17.1426 7.71634 17.1426 8.09523V16.1905C17.1426 16.3781 17.1057 16.5638 17.0339 16.7372C16.9621 16.9105 16.8569 17.068 16.7242 17.2006C16.5916 17.3333 16.4341 17.4385 16.2608 17.5103C16.0874 17.5821 15.9017 17.619 15.7141 17.619H4.2855C4.0979 17.619 3.91214 17.5821 3.73881 17.5103C3.56549 17.4385 3.40801 17.3333 3.27535 17.2006C3.1427 17.068 3.03747 16.9105 2.96568 16.7372C2.89388 16.5638 2.85693 16.3781 2.85693 16.1905V8.09523C2.85693 7.71634 3.00744 7.35298 3.27535 7.08507C3.54326 6.81716 3.90662 6.66665 4.2855 6.66665H5.71408V8.09523H4.2855V16.1905H15.7141V8.09523H14.2855V6.66665ZM10.8303 1.92856L10.8312 9.68427L12.4831 8.03189L13.4926 9.04189L10.126 12.409L6.75884 9.04237L7.76884 8.03189L9.40217 9.66523V1.92856H10.8307H10.8303Z",fill:"#EA4C89"})})}function bD(){return c("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"pointer-events-none",children:c("path",{d:"M6.42122 7.38095L7.04074 16.1633H13.1084L13.7274 7.38095H15.1584L14.5331 16.2638C14.5077 16.6244 14.3466 16.9619 14.0822 17.2083C13.8178 17.4548 13.4698 17.5918 13.1084 17.5919H7.04074C6.67923 17.5918 6.33118 17.4547 6.06678 17.2081C5.80238 16.9616 5.64129 16.624 5.61598 16.2633L4.98979 7.38095H6.42122ZM9.53074 7.82334V14.49H8.10217V7.82334H9.53074ZM12.1426 7.82334V14.49H10.7141V7.82334H12.1426ZM2.85693 5H17.1426V6.42857H2.85693V5ZM12.9793 2.61905V4.04762H7.26503V2.61905H12.9793Z",fill:"#999999"})})}var Uh=c("svg",{class:"inline mr-1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"18",height:"18",children:[c("path",{fill:"none",d:"M0 0h24v24H0z"}),c("path",{d:"M3 19h18v2H3v-2zm10-5.828L19.071 7.1l1.414 1.414L12 17 3.515 8.515 4.929 7.1 11 13.17V2h2v11.172z"})]}),jh=c("svg",{class:"inline mr-1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"18",height:"18",children:[c("path",{fill:"none",d:"M0 0h24v24H0z"}),c("path",{d:"M3 19h18v2H3v-2zM13 5.828V17h-2V5.828L4.929 11.9l-1.414-1.414L12 2l8.485 8.485-1.414 1.414L13 5.83z"})]}),v6=c("svg",{class:"inline mr-1",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",children:c("path",{fill:"currentColor",d:"M15.375 19.25q-.525.25-.95-.038q-.425-.287-.425-.937q0-.25.163-.487q.162-.238.412-.363q1.575-.75 2.5-2.225T18 11.95q0-1.125-.425-2.188Q17.15 8.7 16.25 7.8L16 7.55V9q0 .425-.287.712Q15.425 10 15 10t-.712-.288Q14 9.425 14 9V5q0-.425.288-.713Q14.575 4 15 4h4q.425 0 .712.287Q20 4.575 20 5t-.288.713Q19.425 6 19 6h-1.75l.4.35q1.225 1.225 1.788 2.662Q20 10.45 20 11.95q0 2.4-1.25 4.362q-1.25 1.963-3.375 2.938ZM5 20q-.425 0-.713-.288Q4 19.425 4 19t.287-.712Q4.575 18 5 18h1.75l-.4-.35q-1.225-1.225-1.788-2.662Q4 13.55 4 12.05q0-2.4 1.25-4.363Q6.5 5.725 8.625 4.75q.525-.25.95.037q.425.288.425.938q0 .25-.162.487q-.163.238-.413.363q-1.575.75-2.5 2.225T6 12.05q0 1.125.425 2.187Q6.85 15.3 7.75 16.2l.25.25V15q0-.425.288-.713Q8.575 14 9 14t.713.287Q10 14.575 10 15v4q0 .425-.287.712Q9.425 20 9 20Z"})}),vD=()=>c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",children:c("path",{d:"M7.99999 2.02344C11.5768 2.02344 14.4762 4.92287 14.4762 8.49963C14.4762 12.0764 11.5768 14.9758 7.99999 14.9758C4.42323 14.9758 1.5238 12.0764 1.5238 8.49963C1.5238 4.92287 4.42323 2.02344 7.99999 2.02344ZM7.99999 3.16629C5.05447 3.16629 2.66666 5.5541 2.66666 8.49963C2.66666 11.4452 5.05447 13.833 7.99999 13.833C10.9455 13.833 13.3333 11.4452 13.3333 8.49963C13.3333 5.5541 10.9455 3.16629 7.99999 3.16629ZM8.57142 7.35677V11.9282H7.42857V7.35677H8.57142ZM8.57142 5.45201V6.59487H7.42857V5.45201H8.57142Z",fill:"#999999"})}),wc=({className:e})=>c("svg",{width:"14",height:"14",viewBox:"0 0 20 20",fill:"none",className:e,xmlns:"http://www.w3.org/2000/svg",children:[c("g",{"clip-path":"url(#clip0_32867_10384)",children:c("path",{d:"M10 20C7.34784 20 4.8043 18.9464 2.92893 17.0711C1.05357 15.1957 0 12.6522 0 10C0 7.34784 1.05357 4.8043 2.92893 2.92893C4.8043 1.05357 7.34784 0 10 0C12.6522 0 15.1957 1.05357 17.0711 2.92893C18.9464 4.8043 20 7.34784 20 10C20 12.6522 18.9464 15.1957 17.0711 17.0711C15.1957 18.9464 12.6522 20 10 20ZM9.03143 12.6329L6.17143 9.73857L4.28571 11.54C5.65714 12.2786 7.57857 13.6257 9.22429 15.7143C10.3871 13.5286 13.9714 9.05714 15.7143 8.65714C15.4329 7.53 15.2743 5.41429 15.7143 4.28571C12.14 6.64286 9.03143 12.6329 9.03143 12.6329Z",fill:"#21BB45"})}),c("defs",{children:c("clipPath",{id:"clip0_32867_10384",children:c("rect",{width:"20",height:"20",fill:"white"})})})]});function xD(e){return c("svg",{class:e.class,onClick:e.onClick,style:e.style,width:9,height:18,viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:c("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.00006 16.4375L7.95459 17.5L0.280979 9.70137C-0.101959 9.31219 -0.101958 8.68781 0.280979 8.29863L7.95459 0.5L9.00006 1.5625L1.68179 9L9.00006 16.4375Z",fill:"#333333"})})}function CD(e){return c("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:[c("mask",{id:"mask0_36074_9056",style:"mask-type:alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:c("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),c("g",{mask:"url(#mask0_36074_9056)",children:c("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 TD(e){let n=pr()==="dark"?"#b3b3b3":"#666666";return c("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:[c("mask",{id:"mask0_36366_4749",style:"mask-type:alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"18",height:"18",children:c("rect",{width:"18",height:"18",fill:"#D9D9D9"})}),c("g",{mask:"url(#mask0_36366_4749)",children:c("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 SD(e){let t=pr(),n=t==="dark"?"#212121":"#F9FBFC",r=t==="dark"?"#b3b3b3":"#666666";return c("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:[c("rect",{width:"16",height:"16",rx:"8",fill:n}),c("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 wD(){return c("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:c("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 wl(e){let{t}=H(),n={};e.width&&(n={width:`${e.width}px`});let[r,i]=N(e.value),{config:a,field:o,onFinish:s}=e,l=o.name;o.label&&(l=o.label),o.labelKey&&(l=t(o.labelKey));let u={},d={};if(a.translationServices&&e.service&&a.translationServices[e.service]&&(d=a.translationServices[e.service]),d.env){let x=Object.keys(d.env);for(let y=0;y<x.length;y++){let b=x[y];u[`env.${b}`]=d.env[b]}}e.service&&(u.service=qt(a,e.service)),o.descriptionLink1&&(u[1]=o.descriptionLink1);let g=Object.keys(d);for(let x=0;x<g.length;x++){let y=g[x],b=d[y];typeof b=="string"&&(u[`serviceConfig.${y}`]=eee(b))}o.descriptionLink2&&(u[2]=o.descriptionLink2);let m=e.field.placeholder||e.field.name;o.placeholderKey&&(m=t(o.placeholderKey));let f=e.field.type==="textarea",p=e.field.direction==="column",h="";return e.field.descriptionKey&&(h=t(e.field.descriptionKey,u)),c("div",{class:`mt-3 flex mb-[var(--spacing)] ${f||p?"flex-col":"justify-between items-center"}`,children:[c("div",{class:`flex ${f?"items-center mb-2":"flex-col"}`,children:[c("label",{for:e.field.name,children:[l,"\uFF1A"]}),h&&f?c(Ye,{containerStyle:{display:"inline-flex"},text:h,tipStyle:{width:200},multiple:!0,enableMobile:!0,children:c(vD,{})}):null,h&&!f&&!p?c("small",{class:"my-2",style:{display:"block",color:"var(--muted-color)"},dangerouslySetInnerHTML:{__html:h}}):null]}),e.field.type==="textarea"?c(ie,{children:c("textarea",{style:n,disabled:e.disabled,autoComplete:"off",required:e.field.required,placeholder:m,class:"input",rows:e.rows,value:Array.isArray(r)?r.join(","):r,type:e.type,onInput:x=>{let y=x.target.value,b=Array.isArray(r)?y.split(","):y;i(b),e.onChange(b)},onChange:()=>{s&&s()}})}):c(ie,{children:[c("input",{style:n,className:`${p?"mt-2":"ml-4"}`,required:e.field.required,placeholder:m,value:r,type:e.type,step:e.field.name==="temperature"||e.field.name==="limit"?"0.1":"",disabled:e.field.disabled||e.disabled||!1,name:e.field.name,autoComplete:"off",onInput:x=>{i(x.target.value),e.onChange(x.target.value)},onChange:()=>{(e.type==="text"||e.type==="password")&&s&&s()}}),p&&h&&c("small",{class:"service-item-description",style:{color:"var(--muted-color)"},dangerouslySetInnerHTML:{__html:h}})]})]})}function eee(e){return JSON.stringify(e).slice(1,-1)}function x6(e){let{t}=H(),n=$(null),{closeModal:r,visible:i}=e;if(!i)return null;let a=o=>{o?.target?.id===z+"-overlay"&&r(o)};return c("dialog",{id:z+"-overlay",onClick:a,open:!0,children:c("article",{class:"add-modal",children:[c("a",{href:"#close","aria-label":"Close",class:"close","data-target":"modal-example",onClick:o=>{o.preventDefault(),e.closeModal(o)}}),c("div",{class:"add-text",children:t("model.customMoreModels")}),c("textarea",{placeholder:"Models",ref:n,value:e.value.join(",")}),c("blockquote",{children:[c("p",{class:"text-sm",children:t("model.addModelsDescription")}),c("p",{class:"text-sm",children:t("model.addModelsSeniorDescription")})]}),c("div",{class:"flex",children:[c("div",{class:"footer-button",children:c("a",{href:"javascript:void(0)",role:"button",class:"full-button secondary margin-right","data-target":"modal-example",onClick:e.closeModal,children:t("cancel")})}),c("div",{class:"footer-button",children:c("a",{href:"#confirm",role:"button",class:"full-button margin-left","data-target":"modal-example",onClick:o=>{o.preventDefault();let s=n.current.value||"";e.onSubmitModels?.(s.split(",").map(l=>l.trim()).filter(l=>!!l))},children:t("confirm")})})]})]})})}function zh(e,t){return t.some(n=>n.label===e)}function ED(e,t){let n=e.slice(0,e.length-1);return t.forEach(r=>{if(r.startsWith("+")){let i=r.slice(1);zh(i,n)||n.push({label:i,value:i})}else if(r.startsWith("-")&&r!=="-all"){let i=r.slice(1);zh(i,n)&&(n=n.filter(a=>a.value!==i))}else if(r.includes("=")){let[i,a]=r.split("=").map(o=>o.trim());zh(i,n)?n=n.map(o=>(o.label===i&&(o.label=a),o)):n.push({label:a,value:a})}else r==="-all"?n=[]:zh(r,n)||n.push({label:r,value:r})}),n}function o0(e){let{disableTipText:t,className:n}=e;return e.disabled&&t?c(Ye,{text:t,enableMobile:!0,position:"left",tipStyle:{textAlign:"center",width:200},multiple:!0,children:c(AD,{className:n,...e})}):c(AD,{className:n,...e})}function AD(e){return c("input",{type:"checkbox",id:e.id,name:e.id,role:"switch",class:`flex-shrink-0 ${e.className}`,disabled:e.disabled,onChange:t=>{let n=t.target.checked;e.onChange?.(n)},checked:e.checked})}function ca(e){let{t}=H(),[n,r]=N(!0),[i,a]=N(!1),[o,s]=N(!1),{config:l,currentProvider:u,onFinish:d,field:g,onChange:m,value:f,disabled:p,disableTipText:h}=e;f=f??(g.default||"");let x={},y={};if(l.translationServices&&e.service&&l.translationServices[e.service]&&(y=l.translationServices[e.service]),y.env){let C=Object.keys(y.env);for(let S=0;S<C.length;S++){let T=C[S];x[`env.${T}`]=y.env[T]}}let b=Object.keys(y);for(let C=0;C<b.length;C++){let S=b[C],T=y[S];typeof T=="string"&&(x[`serviceConfig.${S}`]=iee(T))}let v=X(()=>ree(t,g,y),[g,y]);if(e.service&&(x.service=qt(l,e.service)),g.descriptionLink1&&(x[1]=g.descriptionLink1),W(()=>{if(!v?.length||g.type!="model-select")return;v.some(S=>S.value===f)||a(!0)},[v,g]),g.type==="select")return c("div",{class:"flex justify-between items-center mt-5 mb-6",children:[c("label",{class:"text-16 mb-2",children:[C6(t,g),"\uFF1A"]}),c(p6,{maxWidth:200,disabled:p,items:g.options.map(C=>({label:`${C.label?t(C.label):C.value}`,value:C.value,selected:f===C.value,onSelected:()=>{if(C.action=="jumpOptions"){let S=Array.isArray(C.args)?C.args:[];Jr.apply(null,S);return}m(C.value)}})),onChange:m,isInput:i,value:f})]});if(g.type==="model-select"){let C=v.map(S=>S.value);return c("div",{class:"flex flex-col mt-5 mb-6",children:[c("label",{class:"text-16 mb-2",children:[C6(t,g),"\uFF1A"]}),c(p6,{maxWidth:1250,disabled:p,items:(v||[]).map(S=>{let T=S.label===S.value?S.value:S.label;return{label:t(T),value:S.value,selected:f===S.value,onSelected:()=>{if(S.value=="more-models"){s(!0);return}m(S.value)}}}),onChange:m,isInput:u!=="pro"?i:!1,value:f}),c(x6,{visible:o,value:y.customModels||[],closeModal:()=>s(!1),onSubmitModels:S=>{let T=e.service||"";T&&(e.onSetSettings?.(w=>({translationServices:{[T]:{customModels:S}}})),s(!1))}}),u!=="pro"&&c("label",{for:"customContent",class:"text-sm",onClick:()=>{let S=C.includes(f);i&&!S&&m(C[0]),a(!i)},children:[c("input",{type:"checkbox",id:"customContent",name:"customContent",disabled:p,checked:i}),t("customContent")]})]})}else{if(g.type==="text")return c("div",{children:c(wl,{service:e.service,field:g,config:e.config,value:f,type:g.type,disabled:p,onChange:m,onFinish:d})});if(g.type==="textarea")return c("div",{children:c(wl,{service:e.service,field:g,rows:5,config:e.config,value:f,type:g.type,disabled:p,onChange:m,onFinish:d})});if(g.type==="jsonarea")return c("div",{children:c(wl,{service:e.service,field:{...g,type:"textarea"},config:e.config,value:f,rows:5,type:g.type,disabled:p,onChange:m,onFinish:d})});if(g.type==="number")return c("div",{children:c(wl,{service:e.service,field:g,config:e.config,value:f,type:g.type,width:196,disabled:p,onChange:m})});if(g.type==="password"){let C=!1;return xl(f)&&l.enableProSecretAPIKey&&(C=!0),c("div",{children:[c(wl,{service:e.service,field:g,config:e.config,value:f,type:n?g.type:"text",disabled:p||C,onChange:m,onFinish:d}),c("label",{for:"translate",onClick:()=>{r(!n)},children:[c("input",{type:"checkbox",id:"translate",name:"translate",disabled:p}),t("show password")]}),c("span",{class:"text-sm text-gray-500 mt-2",hidden:!C,dangerouslySetInnerHTML:{__html:t("secretKey.errorMsg",{1:_.DASH_BASE_URL+"#import-export"})}})]})}else if(g.type==="color"){let C=f,S="";C||(C="#FFFFFF",S="#FFFFFF");let{hex:T,opacity:w}=nee(C);return c("div",{children:c("label",{class:"flex items-center",for:g.name,children:[c("span",{class:"mr-2",children:g.label||g.name}),c("input",{type:"text",id:g.name,class:"border-color-text mr-2",placeholder:S||"",value:f,disabled:p,onInput:E=>{m(E.target.value)}}),c("input",{id:g.name,type:"color",name:g.name,value:T,style:{opacity:w},disabled:p,onInput:E=>{m(E.target.value)}})]})})}else return g.type=="boolean"?c("div",{class:"my-4 flex justify-between items-center",children:[c("div",{class:"flex flex-col mr-4",children:[c("label",{for:g.name,children:C6(t,g)}),tee(t,g,x)]}),c(o0,{className:"flex-shrink-0",id:g.name,checked:f,disableTipText:h,disabled:p,onChange:C=>m(C)})]}):null}}function C6(e,t){if(typeof t.labelKey=="object")return t.labelKey;let n=t.name;return t.label&&(n=t.label),t.labelKey&&(n=e(t.labelKey)),n}function tee(e,t,n){return t.descriptionKey?typeof t.descriptionKey=="object"?c("small",{class:"my-2",style:{display:"block",color:"var(--muted-color)"},children:t.descriptionKey}):c("small",{class:"my-2",style:{display:"block",color:"var(--muted-color)"},dangerouslySetInnerHTML:{__html:e(t.descriptionKey,n)}}):null}function nee(e){let t=1;return e.length==9&&(t=parseInt(e.substring(7,9),16)/255,e=e.slice(0,7)),{opacity:t,hex:e}}function ree(e,t,n){if(t.type!=="model-select")return t.options;let r=t.options||[],i=r[r.length-1];if(i?.value!="more-models")return t.options;let a=JSON.parse(JSON.stringify(r));return a=ED(a,n.customModels||[]),[...a,i]}function iee(e){return JSON.stringify(e).slice(1,-1)}function kD(e){let{t,lang:n}=H();return c("details",{role:"list",class:"nav-right",children:[c("summary",{"aria-haspopup":"listbox",children:t("edit")}),c("ul",{role:"listbox",class:"option-list",children:e.options.map((r,i)=>{let a=Et(r.value,n);return c("li",{children:c("label",{children:[c("input",{type:"checkbox",onChange:()=>{e.onToggleAlwaysLangs(!r.checked,r.value)},value:r.value,checked:r.checked}),a]})},"language-"+i)})})]})}function s0(e){let{selectLanguages:t,languages:n}=e,r=X(()=>!n||!t?[]:n.concat("<all>").map(i=>({checked:t?.includes(i),value:i})),[n,t]);return e.interfaceLanguage?c(ie,{children:[c("div",{class:"nav",children:[c(ke,{title:e.title,description:e.description}),c(kD,{options:r,onToggleAlwaysLangs:e.onChange})]}),c("div",{class:"langs-list",children:t.map((i,a)=>c("div",{class:"lang-card",children:[c("div",{id:`${i}`,children:Et(i,e.interfaceLanguage)}),c("a",{href:"#close",class:"close",target:"_blank","aria-label":"Close","data-target":`${i}`,onClick:o=>{o.preventDefault(),e.onChange(!1,t[a])}})]},"lang-"+a))})]}):null}function Ir(e){let{t}=H(),n=$(null),{toggleModal:r}=e,i=a=>{a?.target?.id===z+"-overlay"&&r(a)};return c("dialog",{id:z+"-overlay",onClick:i,open:!0,children:c("article",{class:"add-modal",children:[c("a",{href:"#close","aria-label":"Close",class:"close","data-target":"modal-example",onClick:e.toggleModal}),c("div",{class:"add-text",children:t("add url")}),c("input",{placeholder:"URL",ref:n,value:e.urlValue}),c("blockquote",{children:c("p",{class:"text-sm",children:t("addUrlDescription")})}),c("div",{class:"flex",children:[c("div",{class:"footer-button",children:c("a",{href:"#cancel",role:"button",class:"full-button secondary margin-right","data-target":"modal-example",onClick:e.toggleModal,children:t("cancel")})}),c("div",{class:"footer-button",children:c("a",{href:"#confirm",role:"button",class:"full-button margin-left","data-target":"modal-example",onClick:a=>{if(a.preventDefault(),n.current&&n.current.value){if(e.onSubmitAddUrl){if(e.urlValue!==""){e.onSubmitAddUrl(n.current.value,e.index,e.type,"edit");return}e.onSubmitAddUrl(n.current.value,e.index,e.type);return}else if(e.onAddInterfaceUrl){if(e.urlValue!==""){e.onAddInterfaceUrl(n.current.value,"edit");return}e.onAddInterfaceUrl(n.current.value)}}},children:t("confirm")})})]})]})})}function qr(e){let{t}=H(),[n,r]=N([]),[i,a]=N(!1),[o,s]=N(!1);function l(){e.onDeleteUrl(n,e.type),r([]),a(!1)}if(!e.urls.length)return null;let u=`checkAll${e.urls.length}`;return c("div",{children:[c(d,{}),c("div",{class:"url-list-item",children:e.urls.map((g,m)=>c("div",{className:"url-list",style:"padding:6px 24px;",children:c("div",{className:"url-left",style:{display:"flex",flexDirection:"row",alignItems:"center",width:"100%"},children:[o&&e.urls.length>1&&c("input",{type:"checkbox",checked:n.includes(g),style:"margin-right:12px;",onChange:f=>{f.target.checked?r([...n,g]):r(n.filter(p=>p!==g))}}),c("div",{className:"url-name height-tight",children:g}),c("div",{style:{flex:1}}),c("a",{style:{marginRight:"12px",cursor:"pointer"},onClick:f=>{e.onEditUrl(g,e.type,m)},children:t("edit")}),c("a",{style:{cursor:"pointer"},onClick:f=>{e.onDeleteUrl([g],e.type)},children:t("delete")})]})},"menu"+m))})]});function d(){return e.urls.length<2?null:c("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",padding:"0 24px",marginBottom:"12px"},children:o?c(ie,{children:[c("input",{type:"checkbox",id:u,checked:i,onChange:g=>{let f=g.target.checked;r(f?e.urls:[]),a(f)}}),c("label",{htmlFor:u,children:t("pickAll")}),c("div",{style:{flex:1}}),c("a",{style:{cursor:"pointer"},onClick:l,children:t("delete")})]}):c("a",{style:{marginLeft:"-24px",marginRight:"12px",cursor:"pointer"},onClick:()=>s(!0),children:t("batchEdit")})})}}function El(e){let{t}=H(),[n,r]=N(!1),[i,a]=N(""),[o,s]=N(0);W(()=>{zt("esc",()=>{r(!1)})},[]);let l=(d,g,m)=>{r(!n),a(d),s(m)},u=(d,g,m,f)=>{e.onSubmitAddUrl?.(d,g,m,f),r(!n),a(""),s(0)};return c(ie,{children:[c("div",{class:"nav",children:[c(ke,{title:e.title,description:e.description}),c("div",{class:"nav-right",children:c("a",{href:"#",role:"button",class:"add-button secondary outline",onClick:d=>{d.preventDefault(),r(!n)},children:t("add")})}),n?c(Ir,{toggleModal:d=>{d.preventDefault(),r(!n)},onSubmitAddUrl:u,type:e.type,urlValue:i,index:o}):null]}),c(qr,{urls:e.urls||[],type:e.type,onDeleteUrl:e.onDeleteUrl,onEditUrl:l})]})}var da=[],Ec=null,wLe=1e3*3600*24;async function Hh(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 l=o.result;(t||["cache"]).forEach(d=>{l.objectStoreNames.contains(d)||l.createObjectStore(d,{keyPath:"key"})})}})}async function aee(e){let t="cache_list",n=await Hh(z+"-cacheList",["cache_list"]),i=n.transaction([t],"readwrite").objectStore(t).put({key:e});i.onsuccess=a=>{n.close(),da.push(e),Ec?Ec.add(e):Ec=new Set(da),M.info(`[DB] \u5DF2\u767B\u8BB0\u7F13\u5B58\u5E93: ${e}`)},i.onerror=a=>{n.close(),M.error(`[DB] \u767B\u8BB0\u7F13\u5B58\u5E93\u5931\u8D25: ${e}`,a)}}async function MD(){return da&&da.length>0||(da=await lee(),Ec=new Set(da)),da}async function ID(){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 M.error("[DB] \u5217\u51FA\u7F13\u5B58\u5E93\u5931\u8D25",e),[]}}async function oee(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 l=t.transaction(r,"readonly").objectStore(r).count();l.onsuccess=()=>a((l.result||0)>0),l.onerror=()=>a(!0)}catch{a(!0)}}))return!1;return!0}catch(n){return M.error(`[DB] \u68C0\u67E5\u7F13\u5B58\u5E93\u5931\u8D25: ${e}`,n),!1}finally{t?.close()}}async function see(e){try{let t=await ID();if(!t.length)return[];let n=new Set(e),r=`${z}-`,i=t.filter(s=>!(!s||!s.startsWith(r)||s===`${z}-cacheList`||n.has(s))),a=5,o=[];for(let s=0;s<i.length;s+=a){let l=i.slice(s,s+a);(await Promise.all(l.map(d=>oee(d)))).forEach((d,g)=>{o.push({name:l[g],isEmpty:d})})}if(o.length){let s=o.filter(u=>u.isEmpty).map(u=>u.name),l=o.filter(u=>!u.isEmpty).map(u=>u.name);s.length&&M.warn(`[DB] \u53D1\u73B0\u672A\u767B\u8BB0\u7684\u7A7A\u7F13\u5B58\u5E93 ${s.length} \u4E2A: ${s.join(", ")}`),l.length&&M.warn(`[DB] \u53D1\u73B0\u672A\u767B\u8BB0\u4F46\u4ECD\u6709\u6570\u636E\u7684\u7F13\u5B58\u5E93 ${l.length} \u4E2A: ${l.join(", ")}`)}else M.debug("[DB] \u672A\u53D1\u73B0\u989D\u5916\u7F13\u5B58\u5E93");return o}catch(t){return M.error("[DB] \u626B\u63CF\u7A7A\u7F13\u5B58\u5E93\u5931\u8D25",t),[]}}async function lee(){let e=await Hh(z+"-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=>{M.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 ID();if(r.length){let i=new Set(r),a=n.filter(l=>!i.has(l));a.length&&(await LD(a),M.warn(`[DB] \u6E05\u7406 cache_list \u9057\u7559\u5E93\u540D: ${a.join(", ")}`),n=n.filter(l=>i.has(l)));let o=`${z}-`,s=r.filter(l=>typeof l=="string"&&l.startsWith(o)&&l!==`${z}-cacheList`&&!n.includes(l));for(let l of s)await aee(l),M.warn(`[DB] \u53D1\u73B0\u672A\u767B\u8BB0\u4F46\u5B58\u5728\u7684\u7F13\u5B58\u5E93\uFF0C\u5DF2\u8865\u767B\u8BB0: ${l}`),n.push(l)}}return M.debug(`[DB] \u5F53\u524D\u767B\u8BB0\u7684\u7F13\u5B58\u5E93\u6570\u91CF: ${n.length}`),n}finally{e.close()}}async function LD(e){if(!e.length)return;let t=await Hh(z+"-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){M.error("[DB] \u79FB\u9664\u7F13\u5B58\u5E93\u767B\u8BB0\u5931\u8D25",n)}finally{t.close()}for(let n of e){let r=da.indexOf(n);r!==-1&&da.splice(r,1),Ec?.delete(n)}M.info(`[DB] \u5DF2\u79FB\u9664\u7F13\u5B58\u5E93\u767B\u8BB0: ${e.join(", ")}`)}async function DD(){try{let e=[];(await MD()).forEach(r=>{e.push(uee(r))});let n=await Promise.all(e);return Bg(n.reduce((r,i)=>r+i,0))}catch(e){return M.error("[DB] \u8BA1\u7B97\u7F13\u5B58\u5360\u7528\u5931\u8D25",e),Bg(0)}}async function uee(e){let t=await Hh(e),r=[...t.objectStoreNames].reduce((o,s)=>{let l=cee(t,s);return o.push(l),o},[]),i=await Promise.all(r);return t.close(),i.reduce((o,s)=>o+s,0)}async function cee(e,t){return await new Promise((n,r)=>{try{if(e==null)return r();let i=0,a=e.transaction([t]).objectStore(t).openCursor();a.onsuccess=o=>{try{let s=a.result;if(s){let l=s.value,u=JSON.stringify(l);i+=u.length,s.continue()}else n(i)}catch(s){r(s)}},a.onerror=o=>r("error in "+t+": "+o)}catch(i){r(i)}})}async function PD(){try{let e=await MD(),n=(await see(e)).map(o=>o.name),r=Array.from(new Set([...e,...n]));M.info(`[DB] \u5F00\u59CB\u6E05\u7406\u7F13\u5B58\u5E93\uFF0C\u603B\u8BA1 ${r.length} \u4E2A`);let i=r.map(o=>dee(o));return(await Promise.all(i)).every(o=>o)?(await LD(r),da=[],Ec=new Set,M.info("[DB] \u6E05\u7406\u7F13\u5B58\u5E93\u5B8C\u6210"),!0):(M.warn("[DB] \u6E05\u7406\u7F13\u5B58\u5E93\u90E8\u5206\u5931\u8D25"),!1)}catch(e){return M.error("[DB] \u6E05\u7406\u7F13\u5B58\u5E93\u51FA\u9519",e),!1}}async function dee(e){return await new Promise(t=>{let n=indexedDB.deleteDatabase(e);n.onsuccess=()=>{t(!0)},n.onerror=r=>{t(!1)}})}async function ws(){let e=["bingGlobalConfig","baiduGlobalConfig",CS,cu];for(let t of e)await Ie.local.remove(t);Ae()||await PD(),await le.clear()}function RD(){return Ae()?Promise.resolve("0 B"):DD()}var Ac=`<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>
`,ND=`<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>
`,rr="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iI0ZGQzczNiIgZD0iTTMgN2gxN3YxMEgzeiIvPjxwYXRoIGZpbGw9InVybCgjYSkiIGQ9Ik02Ljg5NyA5LjI0MmMuNDE1IDAgLjcyLjExMS45MjguMzQ3LjIwNy4yMzUuMzE4LjUyNy4zMTguODczcy0uMTEuNjIzLS4zMTguODQ1Yy0uMjA4LjIyMi0uNTI3LjMzMy0uOTI4LjMzM2gtMS4zM1Y5LjI0MmgxLjMzWm05Ljg0NiAxLjc4OGMuMzg4IDAgLjY2NS4xNTIuODQ1LjQ1Ny4xNTIuMjY0LjIzNS41ODIuMjYzLjk4NHYuMzE5YzAgLjQ5OS0uMDgzLjg4Ny0uMjYzIDEuMTkyLS4xOC4zMDQtLjQ1Ny40NTctLjgzLjQ1Ny0uMzg5IDAtLjY2Ni0uMTUzLS44NDYtLjQ0NC0uMTUyLS4yNjMtLjIzNS0uNTk1LS4yNjMtMS4wMTF2LS4yOTFjMC0uNDg1LjA4My0uODczLjI2My0xLjE3OC4xOC0uMzA1LjQ0My0uNDg1LjgzMS0uNDg1Wm0tMy40MDctMS4xMzZhMS4xNyAxLjE3IDAgMCAwLS43MDYuMjM1IDEuNDgyIDEuNDgyIDAgMCAwLS40MTUuNWwtLjA4My4xNjUtLjA3LS44MDNoLTEuMzU3djUuNDMyaDEuNDU0di0zLjY1OWEuODguODggMCAwIDEgLjMxOS0uMzg4Yy4xMS0uMDY5LjI1LS4xMS40MTUtLjEyNGguMTI1bC41NC4wMTQuMTY2LTEuMzE3Yy0uMDctLjAxNC0uMTI0LS4wMjgtLjE5NC0uMDQxLS4wNTUtLjAxNC0uMTI0LS4wMTQtLjE5NC0uMDE0Wk02Ljg5NiA4LjEySDQuMTE0djcuMzE3aDEuNDY4VjEyLjc5aDEuMzNjLjg0NCAwIDEuNDk1LS4yMDggMS45OC0uNjM4LjQ4NS0uNDMuNzItLjk4My43Mi0xLjY5cy0uMjM1LTEuMjYxLS43Mi0xLjY5Yy0uNDQzLS4zODktMS4wMzktLjYxLTEuNzczLS42MzhsLS4yMjEtLjAxNFptOS44NDcgMS43NzRjLS44MDMgMC0xLjQyNi4yNjMtMS44ODMuNzc2LS40MTYuNDctLjYzNyAxLjA2Ny0uNjc5IDEuNzczdi4zMzNjMCAuODE4LjIyMiAxLjQ4My42NzkgMS45OTUuNDU3LjUxMyAxLjA4Ljc3NiAxLjg4My43NzYuODA0IDAgMS40MjctLjI2MyAxLjg4NC0uNzc2LjQxNS0uNDcuNjM3LTEuMDUzLjY3OC0xLjc3M3YtLjMzM2MwLS44MTctLjIyMS0xLjQ4Mi0uNjc4LTEuOTk1LS40NTctLjUxMy0xLjA4LS43NzYtMS44ODQtLjc3NlpNMTguMDAzIDZhNiA2IDAgMCAxIDAgMTJIMFY5LjQyM0EzLjQyIDMuNDIgMCAwIDEgMy40MiA2aDE0LjU4M1oiLz48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImEiIHgxPSI3LjUiIHgyPSIyMiIgeTE9IjE5IiB5Mj0iNiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIHN0b3AtY29sb3I9IiMyMjIiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiM2OTY5NjkiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48L3N2Zz4=",Ua="data:image/svg+xml;base64, ",FD="data:image/svg+xml;base64, ";var BD="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAMAAACfWMssAAABC1BMVEUAAADt7vHt7vHn5+/v7+/u7vLs7O/Y2urv7+/I0uTu7/Ls7e/r6+/r7e/J1OTE0OGdrMHu7/Hu7/Lt7vHHz9/I0+Ps7O/V3eju7/GXp72YqL7s7u/I0uPH0+Pv7/OWpr3H0uLH0+OXp7vl6e67xtmquszi5u3W3ejAzd66x9jJ0+O5xdimtcmYprzI0+Ps7e+Yp73t7vHI0+OXp7309vnCzt/N1+Xd4+ucrMHp7PLa4evR2uff5O3F0OHo6+/j5+6uu82jssedrMKaqr/Y3+nP2ObR2OOpt8rm6e/k5+68yNq6xdW2w9XT3OivvdCmtcnu8fa/ytezwNKhsMTL09/c4+zZ3+m/y9zGz9seNO0nAAAAMXRSTlMA3+8gEJ9gECDfv3BAgO/v78+vkCCQUO/f37ewoIB/cGBAQO/v79/f39/Pz8/Pv6CfPHl8AQAAAyVJREFUSMedluda4kAUQAcUkGJB0bXturq9b3JTaUkITQOiYHv/JzEzmZYYIp/nhyYz93hnbqaI0ijVqoX6oRJyWNmt1tBqlIqVvBIjv1tcQfvALZlcYe0tGmEvQz3gWmrW4rJ0BeUVCutp3lpOeZXc2ts8YWZ72abw3mKWqOdMp+3U8OaWanSpKVeI1rOrdnTVuHyhOaq6/V1tsdoKr0ib+roF/khvJry++mMHwFPZ+8GLCbZGENJ7nI7b/amBaX0zP7W2fgOmM2Zrlw12T6EYC8D4HTXGFyBc8Tls0oQKQ/UBs7MdF3eo+FWJpyzIovAEuiUyyinFJzQ8APC4J0yPzJGIImVREeIEvF8k9Op61uuB3/PcQMfvEws8dSwi8UbZ5W9dlsD1QcKbkMaOKn2mSijmuWcQreNCkp6uEkx5rDX+0ooGaUEK15HZ5cE1VGWPbdI1gXRGpLfFxaqYIhloAJBp8sIWUEVOqPuwlHksZR3l5BnOIANdnmUO0QebFAayGMUKy0QHt44yNLr2+0nRxKK1VCI9QRgySIpN/Olxr7kAN3Dpn7h1hmSnPdkWLY/BxZwQdRyjmWBrmmbeuVjUNHsOELY80VVg8OLUk6J2o0XYw+AO/w7ADRsti4gDvlj/ic/YIeJLhk74wzFhLn3IE7bkuqw4OF8qJjxKVa3yRY7FazwdEuTaLN6eOzRvT15zNbSel8rqA5g4yIVbJt6CS8WJVJs8Qmyx2iQlFWdCDGAWPfTlhXMiHR0POOUChjjozuJDdWbD6GGAE3bF0YHHKlLq1lBLp4m72/wrYjbp2yUxzQzvQexGJKVUSKfhpGg3ZNMN8kzcQDQlN0m/nfTuo3b5PGYpxR4hIWNpGdjTqPEdj8pt8H9T5KOVutP7dkiTjJF48dM4cV85JC4dgx3ke0iwXqc3aCb9LrvKBRvhthwbGRJNKiYozLa6Aib3hFleRSyn/GvVSJhXo95iNom3/WygFEr7sbuUX1SCfbSEj2X59k6a5XO0lMa+8BLm1vsSyqJxWk4e6V6mJg/4b+KS/Hx6jlbk4uz4+Ag7R3/+n12khjwDw+rmuecPQ74AAAAASUVORK5CYII=",OD="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=",_D="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",UD="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9IkZyYW1lIj4KPHBhdGggaWQ9IlZlY3RvciIgZD0iTTguNzEwMjMgMTMuMzg3NkwxMy4yODkzIDguODA4NkwxNC4wOTc3IDguMDAwMjJMMTMuMjg5NyA3LjE5MjIyTDguNzEwMjMgMi42MTI3OUw3LjkwMjIzIDMuNDIwNzlMMTEuOTA5NSA3LjQyODc5SDEuOTA1NjZWOC41NzE2NUgxMS45MDk1TDcuOTAxODUgMTIuNTc5M0w4LjcxMDIzIDEzLjM4NzZaIiBmaWxsPSIjODM4MzgzIi8+CjwvZz4KPC9zdmc+Cg==";var T6={get:(e,t,n)=>Ne.storage[n].get(e).then(r=>(r[e]===void 0&&(r[e]=t),r)),set:(e,t,n)=>Ne.storage[n].set({[e]:t})};function Vh(e,t,n){let[r]=N(()=>typeof t=="function"?t():t),[i]=N(n),[a,o]=N(r),[s,l]=N(!1),[u,d]=N("");W(()=>{T6.get(e,r,i).then(m=>{m[e]&&o(m[e]),l(!0),d("")}).catch(m=>{l(!1),d(m)})},[e,r,i]);let g=re(m=>{let f=typeof m=="function"?m(a):m;T6.set(e,f,i).then(()=>{o(f),l(!0),d("")}).catch(p=>{o(f),l(!1),d(p)})},[i,e,a]);return[a,g,s,u]}function Gh(e,t,n){let r=[];return function(){let[a,o,s,l]=Vh(e,t,n),u=re(d=>{for(let g of r)g(d)},[]);return W(()=>(r.push(o),()=>{r.splice(r.indexOf(o),1)}),[o]),[a,u,s,l]}}function jD(e,t){return Gh(e,t,"local")}function zD(e,t){return Gh(e,t,"local")}function ja(e){e.updatedAt=new Date().toISOString(),e.localUpdatedAt=e.updatedAt}var S6="userConfigHistory";async function Wh(){let e=await Ie.local.get(S6);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 HD(e){let n=(await Wh()).filter(r=>r.updatedAt!==e);return await Ie.local.set(S6,n),n}async function l0(e){if(Object.keys(e).length<=gf)return;let t=await Wh(),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(S6,r)}async function gee(e){let t=localStorage.getItem($s);if(!t)return e;let n=Object.keys(e.translationServices||{});for(let r of n){let i=e.translationServices[r],a=Mc(i.type||r);for(let o of a){if(!i[o])continue;let s=MI();i[o]=await II(i[o],t,s)}}return e}async function qh(e){try{let t=localStorage.getItem($s);if(!t)return e;let n=Object.keys(e.translationServices||{});for(let r of n){let i=e.translationServices[r],a=Mc(i.type||r);for(let o of a)xl(i[o])&&(i[o]=await LI(i[o],t))}}catch{nt(de("secretKey.decryptError"))}return e}async function kc(e=!0,t){let n=JSON.parse(JSON.stringify(t));if(e)return await gee(n),n;let r=Object.keys(n.translationServices||{});for(let i of r){let a=n.translationServices[i],o=Mc(a.type||i);for(let s of o)delete a[s]}return n}async function VD(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=Mc(a.type||i),s=n.translationServices[i];s&&o.forEach(l=>{if(!a[l])return;let u=a[l];s[l]=u})})}function Mc(e){let t=_n[e]?.allProps||[];!t.length&&e.endsWith("-custom")&&(t=_n[e.replace("-custom","")]?.allProps||[]);let n=[];return t.forEach(r=>{r.sensitive&&n.push(r.name)}),n}function Kh(e,t){return t?FD:e?Ua:rr}function _i(e){return c("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:[c("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"}),c("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"}),c("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"}),c("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"}),c("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 GD(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:"18",height:"18",viewBox:"0 0 1024 1024",fill:"none",children:[c("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"}),c("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"}),c("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"}),c("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"}),c("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 Qt({id:e=`${z}-modal`,render:t,styles:n="",closeOnOverlayClick:r=!0,zIndex:i=2147483647,showOverlay:a=!0,placement:o="center",placementOffset:s=24,anchorPlacement:l,width:u=0,height:d=0,borderRadius:g=12,disableEscapeKey:m=!1,presetSkin:f="standard",initialFocus:p,dir:h,onEnter:x,onEsc:y,onOverlayClick:b,enableEnterActive:v=!1}){if(e&&document.querySelector(`[data-modal-id="${CSS.escape(e)}"]`))return()=>{};let C=document.createElement("div");C.style.position="fixed",C.style.top="0",C.style.left="0",C.style.width="0",C.style.height="0",C.style.zIndex=i.toString(),C.style.display="block",e&&C.setAttribute("data-modal-id",e);let S=null,T=document.body.style.overflow,w=document.documentElement.style.overflow;a&&(document.body.style.overflow="hidden",document.documentElement.style.overflow="unset"),document.body.appendChild(C);let E=C.attachShadow({mode:"open"}),k=`
    :host {
      all: initial;
    }
    :host *, :host *::before, :host *::after {
      box-sizing: border-box;
    }
  `;try{if("adoptedStyleSheets"in E&&typeof CSSStyleSheet<"u"&&"replaceSync"in CSSStyleSheet.prototype){let F=new CSSStyleSheet;F.replaceSync(k),E.adoptedStyleSheets=[...E.adoptedStyleSheets,F]}else{let F=document.createElement("style");F.textContent=k,E.appendChild(F)}}catch{}let D=document.createElement("div");E.appendChild(D);let U=()=>{try{S&&document.removeEventListener("keydown",S),a&&(document.body.style.overflow=T,document.documentElement.style.overflow=w),tn(null,D),document.body.contains(C)&&document.body.removeChild(C)}catch{}};m||(S=F=>{F.key==="Escape"&&(F.preventDefault(),F.stopPropagation(),y?.(),U())},document.addEventListener("keydown",S));let B=`
    :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: ${u?`${u}px`:"auto"};
      height: ${d?`${d}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;
    }
  `,P={standard:`
      .modal-skin-standard {
        width: 100%;
        background: var(--c-ff, #ffffff);
        border-radius: ${g?`${g}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: ${g?`${g}px`:"0"};
      border: 1px solid var(--c-e6, #e6e6e6);
      box-shadow: var(--shadow-lg, 0 18px 48px rgba(0, 0, 0, 0.12));
    }`};return tn(c(()=>{let F=pr(),L=$(null),[R,A]=N(),j=f?`modal-skin-${f}`:"",V=()=>{let Y=t({close:U});return f?c("div",{className:j,children:Y}):Y},G=(...Y)=>Y.filter(Boolean).join(" ");vr(()=>{if(!l)return;let Y=l.position??"bottom",oe=l.align??"start",Me=l.gap??8,Ce=l.offsetX??0,ue=l.offsetY??0,ge=()=>{let ce=l.anchor;return ce instanceof HTMLElement?ce.getBoundingClientRect():ce&&typeof ce.width=="number"?ce:null},me=()=>{if(oe==="center")return"translateX(-50%)";if(oe==="end")return"translateX(-100%)"},he=()=>{if(oe==="center")return"translateY(-50%)";if(oe==="end")return"translateY(-100%)"},te=ce=>oe==="center"?ce.left+ce.width/2:oe==="end"?ce.right:ce.left,Re=ce=>oe==="center"?ce.top+ce.height/2:oe==="end"?ce.bottom:ce.top,ye=()=>{let ce=ge();if(!ce)return;let se={position:"fixed"};switch(Y){case"top":se.top=ce.top-Me+ue,se.left=te(ce)+Ce,se.transform=G(me(),"translateY(-100%)");break;case"left":se.left=ce.left-Me+Ce,se.top=Re(ce)+ue,se.transform=G("translateX(-100%)",he());break;case"right":se.left=ce.right+Me+Ce,se.top=Re(ce)+ue,se.transform=G(he());break;case"bottom":default:se.top=ce.bottom+Me+ue,se.left=te(ce)+Ce,se.transform=G(me());break}A(se)};return ye(),globalThis.addEventListener("resize",ye),globalThis.addEventListener("scroll",ye,!0),()=>{globalThis.removeEventListener("resize",ye),globalThis.removeEventListener("scroll",ye,!0)}},[l]),W(()=>{(()=>{let ue=L.current;if(ue){if(p){let ge=null;if(typeof p=="string"?ge=ue.querySelector(p):typeof p=="function"?ge=p()??null:p instanceof HTMLElement&&(ge=p),ge&&ge.isConnected)try{ge.focus();return}catch{}}ue.focus()}})();let oe=ue=>{let ge=ue;if(!ge)return!1;let me=ge.tagName?.toLowerCase();if(me==="textarea")return!0;if(me==="input"){let he=ge;return he.type!=="button"&&he.type!=="submit"}return!!(me==="select"||me==="option"||ge.isContentEditable)},Me=ue=>{if(ue.key!=="Enter")return;let ge=L.current;if(!ge)return;let me=ue.composedPath();if(!me.includes(ge))return;let he=me.find(Re=>Re instanceof HTMLElement);he&&oe(he)||v&&(()=>{let Re=ge.querySelector('[data-modal-active="true"]:not([disabled])');return Re?(ue.preventDefault(),ue.stopPropagation(),Re.click(),!0):!1})()||x&&(ue.preventDefault(),ue.stopPropagation(),x())},Ce=L.current;return Ce&&Ce.addEventListener("keydown",Me),()=>{Ce&&Ce.removeEventListener("keydown",Me)}},[p,x,v]);let K=Y=>{r&&Y.target===Y.currentTarget&&(b?.(),U())},q=(()=>{let Y={};if(a||(Y.backgroundColor="transparent",Y.pointerEvents="auto"),l)return Y.display="block",Y;switch(o){case"top":Y.alignItems="flex-start",Y.justifyContent="center",Y.paddingTop=`${s}px`;break;case"bottom":Y.alignItems="flex-end",Y.justifyContent="center",Y.paddingBottom=`${s}px`;break;case"left":Y.alignItems="center",Y.justifyContent="flex-start",Y.paddingLeft=`${s}px`;break;case"right":Y.alignItems="center",Y.justifyContent="flex-end",Y.paddingRight=`${s}px`;break;case"center":default:Y.alignItems="center",Y.justifyContent="center";break}return Y})(),Z=l?{...R,...a?void 0:{pointerEvents:"auto"}}:a?void 0:{pointerEvents:"auto"},ne=(()=>{if(h)return h;let Y=Ke();return Y?.config?.interfaceLanguage?Lt(Y.config.rtlLanguages,Y.config.interfaceLanguage)?"rtl":"ltr":document.documentElement?.getAttribute("dir")==="rtl"?"rtl":"ltr"})();return c(ie,{children:[c("style",{children:mt()["base.css"]}),c("style",{children:mt()["input.css"]}),c("style",{children:B}),f&&c("style",{children:P[f]}),n&&c("style",{children:n}),c("div",{id:"mount","data-theme":F,className:"modal-overlay",onClick:K,style:q,dir:ne,children:c("div",{className:"modal-content-wrapper notranslate",ref:L,tabIndex:-1,style:Z,children:V()})})]})},{}),D),U}function Yt({style:e,type:t,children:n,onClick:r,disabled:i,loading:a,active:o}){let s=(l,u)=>{(l.key==="Enter"||l.key===" ")&&(l.preventDefault(),u())};return c("button",{style:e,className:`modal-skin-standard__btn modal-skin-standard__btn--${t}`,onClick:r,onKeyDown:l=>s(l,r),disabled:i||a,"aria-busy":a,"data-modal-active":o?"true":void 0,tabIndex:0,type:"button",children:[a&&c("span",{className:`${z}-loading-spinner`,style:{width:"16px",height:"16px",marginRight:"8px",display:"inline-block"}}),n]})}function ir({hiddenLogo:e,children:t,close:n}){return c("div",{className:"modal-skin-standard__header",children:[!e&&c(_i,{style:{width:"var(--width-28)",height:"var(--width-28)"}}),c("div",{className:"modal-skin-standard__title",children:t}),c("button",{"aria-label":"close",className:"modal-skin-standard__close",onClick:n,children:c(bn,{})})]})}var u0="[prop]",w6=["userTranslationServices","targetLanguage","interfaceLanguage","translationArea","translationStartMode","rules","generalRule","translationUrlPattern","translationLanguagePattern","sourceLanguageUrlPattern","translationTheme","translationThemePatterns","selectTranslationFont","translationServices","aiAssistantIds","monkeyH5FloatBall","pcFloatBall","blockUrls"],mee=["proSyncAPIKey","accountLastSyncedAt","localUpdatedAt","updatedAt","override","revision","isChangedAlwaysTranslatedUrls","DEBUG","aiAssistantIds","translationServiceChangedbyUserAt","h5FloatBallMainBtnTooltipShownCount","pcFloatBallMainBtnTooltipShownCount","notificationShowTimes","protocolAgreeVersion","userTranslationServices"],WD=new Map(w6.map((e,t)=>[String(e),t])),qD=(e,t)=>e.sort((n,r)=>{let i=WD.get(n)??Number.MAX_SAFE_INTEGER,a=WD.get(r)??Number.MAX_SAFE_INTEGER;return i!==a?i-a:n.localeCompare(r)});function Yh(e,t,n){let r=de;if(YD(n.local)===0&&YD(n.remote)===0)return Promise.resolve("noupdate");let i=KD(e.localUpdatedAt),a=KD(t.updatedAt),o=l(n.remote),s=l(n.local);return new Promise((u,d)=>{ae({key:"show-config-conflict"}),Qt({width:450,render:({close:g})=>c("div",{class:`${z}-config-conflict`,children:[c(ir,{close:g,children:r("configConflict.importTitle")}),c("div",{class:"imt-conflict-diff",children:[c("div",{class:"imt-conflict-row",children:[c("button",{className:`${z}-btn imt-conflict-action-btn`,onClick:()=>{u("localOverrideRemote"),ae({key:"select-config-conflict",params:{trigger:"local"}}),g()},children:r("configConflict.currentLabel")}),i&&c("span",{class:"imt-conflict-timestamp",children:i})]}),c("div",{class:"imt-conflict-cell",children:c("pre",{class:"imt-conflict-pre",children:Yg(QD(s,w6),0,!0,qD)})}),c("div",{class:"imt-conflict-row",children:[c("button",{className:`${z}-btn imt-conflict-action-btn`,onClick:()=>{u("remoteOverrideLocal"),ae({key:"select-config-conflict",params:{trigger:"remote"}}),g()},children:r("configConflict.importedLabel")}),a&&c("span",{class:"imt-conflict-timestamp",children:a})]}),c("div",{class:"imt-conflict-cell",children:c("pre",{class:"imt-conflict-pre",children:Yg(QD(o,w6),0,!0,qD)})})]})]}),styles:`
.${z}-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 l(u){return u.filter(({key:d})=>!mee.includes(d))}}var KD=e=>e?new Date(e).toLocaleString("zh-CN",{timeZone:"Asia/Shanghai"}):"";function Al(e,t){let n=ZD(e),r=ZD(t),i=[],a=[];function o(s,l,u=""){let d=new Set([...Object.keys(s||{}),...Object.keys(l||{})]);for(let g of d){let m=u?`${u}${u0}${g}`:g,f=s?s[g]:void 0,p=l?l[g]:void 0;Array.isArray(f)&&Array.isArray(p)?JD(f,p)||(i.push({key:m,value:f,type:"not"}),a.push({key:m,value:p,type:"not"})):Qh(f)&&Qh(p)?o(f,p,m):f!==void 0&&p!==void 0&&!E6(f,p)?(i.push({key:m,value:f,type:"not"}),a.push({key:m,value:p,type:"not"})):f!==void 0&&p===void 0?i.push({key:m,value:f,type:"miss"}):f===void 0&&p!==void 0&&a.push({key:m,value:p,type:"miss"})}}return o(n,r),{local:i,remote:a}}function Ic(e,t,n){let r=fee(e);return n&&n[t].forEach(({key:i,value:a})=>{let o=i.split(u0),s=r;for(let d=0;d<o.length-1;d++){let g=o[d],m=o[d+1],f=m!==void 0&&/^\d+$/.test(m),p=s[g];(p==null||typeof p!="object"||Array.isArray(p)!==f)&&(s[g]=f?[]:{}),s=s[g]}let l=o[o.length-1],u=/^\d+$/.test(l)?Number(l):l;s[u]=a}),r}function E6(e,t){if(Array.isArray(e)&&Array.isArray(t))return JD(e,t);if(Qh(e)&&Qh(t)){let n=new Set([...Object.keys(e),...Object.keys(t)]);for(let r of n)if(!E6(e[r],t[r]))return!1;return!0}return Object.is(e,t)}function JD(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]&&E6(r,a));return i===-1?!1:(n[i]=!0,!0)})}function Qh(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function QD(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(u0)[0],s=r.key.split(u0)[0],l=t.indexOf(o),u=t.indexOf(s);return l!==u?l-u:o.localeCompare(s)}).map(({key:n,value:r})=>({[n.split(u0).reverse()[0]]:r}))}function YD(e){return e.length}function c0(e){return delete e.localUpdatedAt,delete e.DEBUG,delete e.conflictNeedConfirm,e}function ZD(e){let t=JSON.parse(JSON.stringify(e));return c0(t),t}function fee(e){let t=globalThis.structuredClone;return typeof t=="function"?t(e):JSON.parse(JSON.stringify(e))}var Lc=null;async function za(e,t=vi,n){let r=await t(e);if(r=="noupdate")return r;let i=await it();return n?.(i,{syncToRemote:!1}),r}async function vi(e,t){let n="noupdate",r=null,i=null;try{return!await Rc()||(r=await Jh(t?.useCache),!r)?n:(i=Al(e,r),e.conflictNeedConfirm?(n=await hee(e,r,i),n):(n=await A6(e,r,i),n))}finally{if(n!="noupdate"&&pee(),r&&n==="remoteOverrideLocal"&&await d0(r,e),r&&n=="remoteMergeToLocal"){let a=await Ic(e,"remote",i)||r;await d0(a,e)}if(n==="localOverrideRemote"&&await g0(e,r),n=="localMergeToRemote"){let a=await Ic(r||{},"local",i)||e;await g0(a,r)}}}async function pee(){let e=await gn();e.accountLastSyncedAt=Date.now(),await Cr(e)}async function Dc(e){try{if(!await Rc())return;let t=await Jh(!0);return t?(Al(e,t).local.some(i=>i.key==="translationMode")&&await xee(e),await g0(e,t)):void 0}catch(t){return M.error(t),"noupdate"}}async function m0(e){try{let t=await Jh(!0),n=await it(),r=!!t;return r&&await Rc()&&await g0(e,t),r||(e.conflictNeedConfirm=!0),await l0(n),await Zh(e),"remoteOverrideLocal"}catch(t){return M.error(t),"noupdate"}}async function Pc(){let e=await it(),t={updatedAt:new Date().toISOString()},n=await Jh(!0);n&&await Rc()&&await g0(t,n),await Zh(t),await l0(e),await vk().catch(r=>{M.error("clean local config error",r)}),await ws().catch(r=>{M.error("clean cache error",r)})}async function Zh(e){let t=await it();return t.DEBUG&&(e.DEBUG=t.DEBUG),await Bt(e),e}function A6(e,t,n){let r=n.local,i=n.remote,a=t.isChangedAlwaysTranslatedUrls===!0&&e.isChangedAlwaysTranslatedUrls!==!0&&i.some(m=>m.key.startsWith("translationUrlPattern")),o=i.every(m=>m.type!=="miss"||m.key!="reversion")&&Object.keys(t).length<=gf;if(r.length==0&&i.length==0)return"noupdate";let s=e.localUpdatedAt||e.updatedAt||"",l=t.updatedAt||"",u=new Date(s).getTime(),d=new Date(l).getTime(),g="localMergeToRemote";return a&&(g="remoteMergeToLocal"),d>u&&(o?g="remoteOverrideLocal":g="remoteMergeToLocal"),g}async function hee(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":Wm()?"noupdate":await Yh(e,t,n)}async function d0(e,t){if(!await Rc())return;let n={...e};delete n.terms,delete n.conflictNeedConfirm,VD(n.proSyncAPIKey,t,n),await qh(n);let r=yee(n,t);await Zh(r),await l0(t)}async function g0(e,t){if(!await Rc())return;let n=await XD(e);await vee(n),delete e.conflictNeedConfirm,await Zh(e),t&&await l0(t)}async function XD(e){let t=await kc(e.proSyncAPIKey,e);return c0(t),t}function yee(e,t){let n={...e};return $8.forEach(i=>{r(i)}),n;function r(i){if(!e.userTranslationServices||!e.userTranslationServices[i])return;!bee(e.translationServices||{},e.userTranslationServices[i])&&n.userTranslationServices&&t.userTranslationServices&&(n.userTranslationServices[i]=t.userTranslationServices[i])}}function bee(e,t){if(!t)return!0;let n=Object.keys(rn().translationServices).find(r=>t==r);return!n&&t?e[t]?.type:n}async function Jh(e){if(!await ai())return Lc=null,null;if(e&&Lc)return Lc;try{let t=await Tt.get("v1/user/settings");return Lc=t,t}catch(t){return M.error(t),Lc=null,null}}async function vee(e){let t=await XD(e);return Tt.post("v1/user/settings",t).then(n=>(Lc=n,n))}async function Rc(){return!(!await ai()||(await gn()).proAutoSync==!1)}async function xee(e){let t=await ds();t&&(t.translationMode=e.translationMode,await Mb(t))}var Cee=null,k6=zD($d,Cee);function fn(e){let[t,n,r,i]=k6(),a=re((o,s)=>{let l=s?.syncToRemote??!0,u=o;if(typeof o=="function"&&(u=o(t)),u?.updatedAt)return f0(u),l&&(ja(u),Dc(u)),n(u),e&&e(u),u;let d=Nc(t,u);return d&&(f0(d),l&&(ja(d),Dc(d)),n(d),e&&e(d)),d},[t]);return[t,a,r,i,n]}function Nc(e,t){if(Array.isArray(e))return Array.isArray(t)?t:[...e,t];{e=Tee(e,t);let n={...e};return Object.keys(t).forEach(r=>{n[r]==null?n[r]=t[r]:typeof n[r]=="object"?n[r]=Nc(n[r],t[r]):n[r]=t[r]}),n}}function Tee(e,t){if(!t.translationServices||!Gr())return e;let n={...e};n.translationServices={...n.translationServices},Bf(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 f0(e){let t=e?.translationServices;if(!t)return;let r=rn().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 u=s.split(".");delete a[u[0]],delete a[s]}if(s.startsWith("selection")&&delete a[s],s.startsWith("pro")){if(s=="provider")return;delete a[s]}let l=$D(r,a.type);for(;l;){if(a[s]==l[s]){delete a[s];break}if(!l.extends)break;l=$D(r,l.extends)}}))})}function $D(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=eP(i),s=eP(a);return o-s}),n.reduce((i,a)=>({...i,...e[a]}),{})):void 0}function eP(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 xe=zo([]);function ct(){let[e,t]=N({}),n=$(null),r=$(Ke()||null),[i,a,o,s]=k6();W(()=>{i&&l()},[i]);async function l(){n.current=await We(),n.current&&(r.current=await Wr({url:location.href,config:n.current,state:{cache:!1}}),Ke()||ol(r.current),t({}))}let u=re((d,g)=>{let m=g?.syncToRemote??!0,f=d;if(typeof d=="function"&&(f=d(i)),f?.updatedAt)return f0(f),m&&(ja(f),Dc(f)),a(f),f;let p=Nc(i,f);return p&&(f0(p),m&&(ja(p),Dc(p)),a(p),void 0),p},[i]);return{settingsHookValue:[i,u,o,s,a],config:n.current,ctx:r.current,ctxRef:r,configRef:n,refreshCtx:l}}function Ha(e){let[t,n]=N(null);return W(()=>{We().then(r=>{n(r)})},[e]),t}function tP(){let[e,t]=N(!1),n=On();return W(()=>{Ae(!0)&&(!n||n=="0.0.0"||dt(n,"0.9.0")||t(!0))},[n]),[e,t]}function Es(){let[e,t]=N(null);W(()=>{gn().then(r=>{t(r||null)})},[]);let n=re(r=>{t(r),Cr(r)},[]);return[e,n]}function Xh(e){let[t,n]=N(null);return W(()=>{le.getUserInfo().then(r=>{n(r?Nt(r):!1)}).catch(r=>{n(!1)})},[]),W(()=>{n(Nt(e))},[e]),t}function nP(){return X(()=>window.location.href.split("/").pop()||"",[])}var See=e=>{let{children:t,isOpen:n,closeModal:r}=e,i={position:"fixed",top:"0",left:"0",width:"100%",height:"100%",background:"rgba(0, 0, 0, 0.5)",display:n?"block":"none",zIndex:qn},a={position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",background:"white",padding:"30px",borderRadius:"5px",boxShadow:"0 2px 10px rgba(0, 0, 0, 0.2)",backgroundColor:"var(--background-color)",...e.contentStyles};return c("div",{style:i,onClick:s=>{s?.target?.id===`${z}-modal-overlay`&&r()},id:`${z}-modal-overlay`,children:c("div",{style:a,class:`max-[${xt}px]:!top-[unset] max-[${xt}px]:!left-[unset] max-[${xt}px]:!transform-none max-[${xt}px]:!bottom-[0]`,children:[c("div",{onClick:r,style:{position:"absolute",top:30,right:30,cursor:"pointer"},children:c(bn,{})}),t]})})},Va=See;var pt=class extends Vs{constructor(t){super(t),this.state={hasError:!1}}error;info;static getDerivedStateFromError(t){return{hasError:!0}}componentDidCatch(t,n){this.error=t,this.info=n}render(){return this.state.hasError?(M.error("ErrorBoundary",this.error,this.info),c(wee,{error:this.error,info:this.info})):this.props.children}};function wee({error:e,info:t}){let{t:n}=H(),r=location.protocol.includes("extension")&&location.href.includes("options.html");return c("div",{class:"error-boundary",children:[e?.message," ",JSON.stringify(t?.componentStack),c("div",{style:{marginTop:10},children:[n("error.configError"),c("a",{style:{marginLeft:6},href:r?location.href.replace(/#.+/,"#import_export"):"https://dash.immersivetranslate.com/#import_export",target:r?"":"_blank",children:n("error.goReset")})]})]})}var M6="Arial",kl=(e,t="at")=>{try{return typeof e!="string"||!document.createElement("canvas").getContext("2d")?!1:e.toLowerCase()===M6.toLowerCase()?!0:rP(M6,t).join("")!==rP(e,t).join("")}catch{return!1}};function rP(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+", "+M6,o.fillText(t,n/2,r/2);let s=o.getImageData(0,0,n,r).data;return Array.from(s).filter(u=>u!==0)}function I6(e){let{t}=H(),{userConfig:n,isProUser:r,currentProvider:i,provider:a,onChange:o}=e,s=t(a.descriptionKey,{1:a.descriptionLink1,2:a.descriptionLink2});return!r&&a.descriptionKeyForNormal&&(s=t(a.descriptionKeyForNormal,{1:a.descriptionLink1,2:a.descriptionLink2})),(!n||sn(n,r))&&!r&&a.name=="pro"?null:c("label",{class:"pro-radio-label",for:a.name,children:[c("div",{class:"pro-input-radio",children:c("input",{type:"radio",id:a.name,name:a.name,value:a.name,onClick:o,checked:a.name===i})}),c("div",{class:"pl-4",children:[c("div",{class:"pro-radio-title",children:t(a.nameKey)}),c("small",{class:"pro-radio-desc muted",dangerouslySetInnerHTML:{__html:s}})]})]})}async function $h(e,t,n,r,i,a,o){if(!n)throw new Error("serviceItem is undefined");let l=n.config?.apiUrl?.startsWith("http://"),u=globalThis.location.href.startsWith("http"),d=On();if(n.id!==gt&&dt(d,"1.14.9")&&(location.href.includes("dash.immersivetranslate.com")||location.href.includes("dist/userscript/options/"))){let p=f("verifyServiceConnection",n.id,o);return document.dispatchEvent(p),m(n.config,t)}if(n.id!==gt&&l&&u){let p=f("getAsyncTranslateContent",n.id,o);return document.dispatchEvent(p),m(o.config,t)}return(await yi({id:1e6,text:r,from:i,to:a,url:"https://google.com",refresh:!0},{...e,translationService:n.id,rule:{...e?.rule,paragraphMinTextCount:1},usageScene:"verify"},{retry:1,...o})).text;function m(p,h){return new Promise((x,y)=>{document.addEventListener(dn,b=>{let v=b;if(!v.detail){y(new Error("no detail"));return}try{let C=JSON.parse(v.detail);if(C.payload.errMsg){let S=JSON.parse(Rt.userscript_domains||"[]"),T=C.payload.errMsg,w=p.apiUrl&&new URL(p.apiUrl).hostname;S.length>0&&!S.includes(w)&&Ae(!0)&&T.includes("Network request failed")&&(T=h("error.userscriptDomain",{domain:w})),y(new Error(T));return}x(C.payload.sentences[0].text)}catch(C){y(C)}})})}function f(p,h,x){return new CustomEvent(qo,{detail:JSON.stringify({id:p,type:p,data:{textList:[r+" "+Date.now()],from:i,to:a,service:h,serviceConfig:x}})})}}function Eee(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 Aee({text:e,width:t,style:n}){return c("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 L6({text:e,children:t,width:n=220,position:r="top"}){let i=$(null),[a,o]=N(!1),[s,l]=N(null),u=Mee(()=>{let g=i.current;return g?Iee(g):document.body}),d=()=>{let g=u.current,m=i.current;if(!g||!a||!m){l(null);return}let f=g.parentElement;if(!f)return;let p=f.getBoundingClientRect(),h=m.getBoundingClientRect();l(Eee(h,p,n,r))};return vr(()=>{d()},[a,n,r]),W(()=>{if(!a)return;let g=i.current?.getRootNode(),m=g instanceof ShadowRoot?g:globalThis;return m.addEventListener("scroll",d,!0),()=>m.removeEventListener("scroll",d,!0)},[a]),vr(()=>{let g=u.current;if(!g)return;kee(a&&s?c(Aee,{text:e,width:n,style:s}):null,g)},[a,s,e,n]),c("span",{ref:i,style:{display:"inline-flex",alignItems:"center"},onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),children:t})}function kee(e,t){tn(e,t)}function Mee(e){let t=$(null);return W(()=>{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,()=>{tn(null,r),r.remove(),t.current=null}},[]),t}function Iee(e){let t=e.closest(".popup-container");return t||(e.getRootNode()===document?document.body:e)}var iP=220,Lee=6;function Fc(e){let{items:t}=e,n=t.length>0&&"options"in t[0],r;if(n)for(let m of t){let f=m.options.find(p=>p.selected);if(f){r=f;break}}else r=t.find(m=>m.selected);let[i,a]=N(!1),o=$(null),[s,l]=N(e.maxHeight||iP),[u,d]=N(0);vr(()=>{if(!o.current)return;let m=o.current,f=m.getBoundingClientRect(),p=m.closest(".popup-container");if(p){let h=p.getBoundingClientRect(),x=f.top-h.top,y=20,b=30,v=5,C=p.clientHeight-y*2,S=0;if(n)for(let E of t)S+=24+E.options.length*b;else S=t.length*b;S+=v*3;let T=x+f.height;if(S>p.clientHeight-T){let w=Math.min(C,S);d(p.clientHeight-x-w-y)}else d(0);l(Math.max(iP,C))}},[o.current,i,t,n]),W(()=>{if(!o.current||!i)return;let m=f=>{o.current?.contains(f.target)||a(!1)};return document.addEventListener("click",m),()=>{document.removeEventListener("click",m)}},[o,i]);let g=["custom-select-container",e.className||"",e.disabled?"is-disabled":""].filter(Boolean).join(" ");return c("div",{class:g,ref:o,children:[c("div",{id:"translation-service-select",className:"flex items-center",onClick:()=>{a(!i)},children:[c(P6,{item:r,isDefault:!0,showSponsorInDefault:e.showSponsorInDefault}),c(Hn,{})]}),c(Dee,{contentTop:u,items:e.items,visible:i,maxHeight:s,onClick:m=>{e.onSelected?.(m),a(!1)}})]})}function Dee(e){let{visible:t,items:n,maxHeight:r,onClick:i}=e,a=$(null),o=n.length>0&&"options"in n[0];return W(()=>{if(!t||!a.current)return;let s=a.current;if(o){let l=[],u=[];n.forEach(g=>{u.push(l.length),l=l.concat(g.options)});let d=l.findIndex(g=>g.selected);if(d>=0){let m=0;for(let p=0;p<u.length&&d>=u[p];p++)m=p+1;let f=d*30+m*24;if(f<s.offsetHeight)return;f=Math.min(f,s.scrollHeight-s.offsetHeight),s.scrollTo({top:f})}}else{let l=n.findIndex(d=>d.selected);if(l<0)return;let u=l*30;if(u<s.offsetHeight)return;u=Math.min(u,s.scrollHeight-s.offsetHeight),s.scrollTo({top:u})}},[t,n,i,r,o]),c("div",{class:"custom-select-popup",style:{display:t?"flex":"none"},children:c("div",{class:"custom-select-content",ref:a,style:{maxHeight:e.maxHeight,top:e.contentTop||"unset"},children:o?n.map(s=>c("div",{children:[s.name&&!!s.options.length&&c(Pee,{name:s.name}),s.options.map(l=>c(P6,{item:l,onClick:e.onClick},l.value))]},s.id)):n.map(s=>c(P6,{item:s,onClick:e.onClick},s.value))})})}function Pee({name:e}){return c("div",{className:"custom-select-group-header",children:e})}function aP({segments:e}){return c(ie,{children:e.map((t,n)=>t.type==="icon"?c("img",{src:t.src,style:{width:16,height:16,borderRadius:2,flexShrink:0}},n):c("span",{children:t.value},n))})}function oP(e,t,n=!1){return!!t?.length&&(!e||n)}function Ree(e,t,n){return!!e&&t&&!!n}function Nee({segments:e,animate:t}){let n=(r=!1)=>c("span",{className:"service-select-inline-sponsor-track","aria-hidden":r?"true":void 0,children:c(aP,{segments:e})});return t?c("span",{className:"service-select-inline-sponsor-marquee",children:[n(),n(!0)]}):n()}function Fee({item:e}){return c(ie,{children:[!!e.subtitleBefore&&c("span",{children:e.subtitleBefore}),!!e.subtitleImg&&c("img",{src:e.subtitleImg,style:{width:16,height:16,borderRadius:2,flexShrink:0}}),c("span",{children:e.subtitle}),!!e.subtitleAfter&&c("span",{children:e.subtitleAfter})]})}function Bee({text:e}){return c(L6,{width:220,text:e,children:c("span",{className:"flex items-center shrink-0",style:{cursor:"pointer",lineHeight:0},onClick:t=>{t.stopPropagation()},onMouseDown:t=>{t.stopPropagation()},children:c(wD,{})})})}function D6({item:e,isDefault:t}){return c("span",{className:"flex items-center",style:{minWidth:0,gap:4},children:[c("span",{className:"text-ellipsis overflow-hidden",style:{minWidth:0},children:e.label}),!t&&!!e.tipText&&c(Bee,{text:e.tipText}),!t&&c(_ee,{item:e})]})}function Oee({item:e,isDefault:t,showSponsorInDefault:n}){let r=oP(t,e.sponsorSegments,n);if(!sP({isDefault:t,hasSponsor:r,hasSubtitle:!!e.subtitle})){if(r&&t){let a=Ree(t,r,n);return c("span",{className:"flex items-center",style:{minWidth:0,gap:Lee},children:[c("span",{style:{flexShrink:0,minWidth:0},children:c(D6,{item:e,isDefault:t})}),c("span",{className:"service-select-inline-sponsor-container",style:{fontSize:12,color:"#999",lineHeight:"18px"},children:c(Nee,{segments:e.sponsorSegments,animate:a})})]})}return c(D6,{item:e,isDefault:t})}return c("div",{style:{display:"flex",flexDirection:"column",overflow:"hidden",minWidth:0},children:[c(D6,{item:e,isDefault:t}),c("span",{className:"flex items-center",style:{fontSize:12,color:"#999",lineHeight:"18px",gap:4,whiteSpace:"nowrap"},children:r?c(aP,{segments:e.sponsorSegments}):c(Fee,{item:e})})]})}function P6(e){let t=e.item;if(!t)return null;let n=oP(e.isDefault,t.sponsorSegments,e.showSponsorInDefault),r=sP({isDefault:e.isDefault,hasSponsor:n,hasSubtitle:!!t.subtitle});return c("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&&c("img",{class:"custom-select-item-img",src:t.img}),c(Oee,{item:t,isDefault:e.isDefault,showSponsorInDefault:e.showSponsorInDefault})]})}function _ee({item:e}){let{t}=H();return e.isShowProOnly?c("span",{class:"custom-select-item-pro",children:c("img",{src:rr})}):e.isShowMaxOnly?c("span",{class:"custom-select-item-pro",children:c("img",{src:Ua})}):e.isShowGoSetting?c("span",{class:"custom-select-item-pro",children:t("needAction")}):null}function sP({isDefault:e,hasSponsor:t,hasSubtitle:n}){return e?!1:t||n}function As({config:e,ctx:t,serviceType:n,title:r,description:i,user:a,whiteListServices:o,hiddenSetting:s}){let{t:l,lang:u}=H(),d=sn(e,t?.isPro),[g,m]=N(!1),[f,p]=N(""),[h,x]=N(""),[y,b,v,C,S]=De(xe),T=Xh(a),w=P=>{if(p(""),x(""),P==="more"){location.href=location.href.replace(/#.+/,"#services");return}b(O=>{let F=Xr({state:O,config:e,serviceType:n,serviceId:P});return n==="translationService"&&(ae({key:"change_translate_service",ctx:t,params:{translation_service:`${O.translationService}_${P}`}}),F.translationServiceChangedbyUserAt=new Date().toISOString()),F})},E=X(()=>{if(!t)return[];t.user=a??t.user;let P=Tr(t,n,u);return o?.length&&(P=P.filter(O=>o.find(F=>F==O.id))),P},[t,a,n,u,o]),k=X(()=>{if(e&&t){t.user=a??t.user;let{translationServices:P}=e,O=t[n],F=P?.[O],R=O===gt||F?.type===gt?void 0:Pg(F,t.localConfig.aiAssistants||[]);if(R&&F){Wu(R);let A=Gu(R);return{...F,...A,aiAssistant:R}}return F?{...F}:{}}return null},[e,t,a]),D=X(()=>{if(e&&t){t.user=a??t.user;let P=t[n];return ms(t,n,u,P)||null}return null},[e,t,a,u]),U=!!D?.providers?.length||!!D?.explicitProps?.length||!!D?.optionalProps?.length,B=X(()=>{if(!t)return[];if(!Gr()){let F=E.map(L=>{let R=L.config.group=="pro"&&!d,A=L.config.group=="max"&&!d;return{label:L.name,value:L.id,selected:L.selected,img:L.icon,isShowProOnly:R,isShowMaxOnly:A,isShowGoSetting:!L.ok&&!R}});return(!Ue()||F.length)&&F.push({label:l("moreTranslationServices"),value:"more",selected:!1,isShowGoSetting:!1,isShowProOnly:!1,isShowMaxOnly:!1,img:Xt("more")}),F}let P=Ni(E,l),O=E.find(F=>F.id==="inherit");return O&&P.unshift({id:"inherit",name:"",services:[O]}),P.map(F=>{let L=F.services.map(R=>{let A=R.config.group=="pro"&&!d,j=R.config.group=="max"&&!d;return{label:R.name,value:R.id,selected:R.selected,img:R.icon,isShowProOnly:A,isShowMaxOnly:j,isShowGoSetting:!R.ok&&!A}});return(!Ue()||L?.length)&&F.id==="custom"&&L.push({label:l("moreTranslationServices"),value:"more",selected:!1,isShowGoSetting:!1,isShowProOnly:!1,isShowMaxOnly:!1,img:Xt("more")}),{...F,options:L}})},[E]);return s&&(U=!1),c(ie,{children:[c("div",{class:"nav",children:[c(ke,{title:r||l("service"),description:i||l("select translation service")}),c(Fc,{className:"translate-service",items:B,maxHeight:Se().any?400:800,onSelected:P=>{w(P.value)}})]}),c(Uee,{verifiedErrorMessage:f}),c(jee,{ctx:t,curServiceConfig:k,curServiceItem:D,isVerifyingService:g,verifiedSuccessMessage:h,setVerifiedErrorMessage:p,setVerifiedSuccessMessage:x,setIsVerifyingService:m,t:l}),U&&c("article",{children:[c(N6,{config:e,curServiceItem:D,setSettings:b,isProUser:!!T,hidden:Gr(),t:l}),c(F6,{curServiceItem:D,t:l}),c(B6,{curServiceItem:D,t:l}),c(O6,{curServiceItem:D,t:l}),c(R6,{currentTranslationServiceItem:D,t:l}),_6({config:e,curServiceConfig:k,curServiceItem:D,setSettings:b,isProUser:!!T,t:l}),U6({config:e,curServiceConfig:k,curServiceItem:D,setSettings:b,isProUser:!!T,t:l,resetVisible:!0})]})]})}function R6({currentTranslationServiceItem:e,t}){return e?.id=="gemini"?e.config.disableWarning?null:c("div",{class:"description py-2",children:t("geminiWarning")}):null}function Uee({verifiedErrorMessage:e}){return e?c("p",{class:"verified text-red-500 mr-2",dangerouslySetInnerHTML:{__html:e}}):null}function jee({ctx:e,curServiceConfig:t,curServiceItem:n,isVerifyingService:r,verifiedSuccessMessage:i,setVerifiedErrorMessage:a,setVerifiedSuccessMessage:o,setIsVerifyingService:s,t:l}){return!t||!n?null:c("div",{class:"text-right text-sm flex items-center justify-end",children:[i&&c(wc,{className:"inline mr-1"}),c("a",{"aria-busy":r,href:"#",class:"secondary",onClick:async u=>{u.preventDefault();try{a(""),o(""),s(!0),await rt(500);let d=n.class;d&&d.clearState&&await d.clearState();let g=e.targetLanguage,m="Hello World.",f="en";g==="en"&&(m="\u4F60\u597D\uFF0C\u6211\u7684\u4E16\u754C\uFF01",f="zh-CN");let p={provider:n?.currentProvider},h=await $h(e,l,n,m,f,g,p);M.debug("result",h),o("verified")}catch(d){M.debug("e.status",d.status),M.error(d);let g=d.message;try{g=d?.uiConfig?.(e)?.errMsg||d.message}catch(m){M.error("final Message parse error",m)}a(g)}finally{s(!1)}},children:l("verifyService")})]})}function N6({config:e,curServiceItem:t,setSettings:n,isProUser:r,hidden:i,t:a}){return!t?.providers?.length||!e||sn(e,r)||i?null:Vk(t)?c(zee,{config:e,curServiceItem:t,isProUser:r}):c("fieldset",{children:[c("legend",{class:"mb-4",children:a("chooseProviderLabel")}),t.providers.map(s=>c(I6,{userConfig:e,isProUser:!!r,provider:s,currentProvider:t.currentProvider,onChange:l=>{l.preventDefault();let d=l.target.value;d&&n({translationServices:{[t.id]:{provider:d}}})}}))]})}function zee({curServiceItem:e,isProUser:t,config:n}){let{t:r}=H();if(!e?.providers?.length)return null;let i=e.providers[0];if(n&&sn(n,t))return null;if(!t&&i.descriptionKeyForNormal){let o=r(i.descriptionKeyForNormal,{1:i.descriptionLink1,2:i.descriptionLink2});return c("p",{class:"pro-radio-desc muted",style:{fontSize:16},dangerouslySetInnerHTML:{__html:o}})}return null}function F6({curServiceItem:e,t}){return e?.titleKey?c("div",{class:"description pb-1",dangerouslySetInnerHTML:{__html:ht.sanitize(t(e?.titleKey),{ALLOWED_ATTR:["href","target"]})}}):null}function B6({curServiceItem:e,t}){return!e?.docUrl||e.config?.provider=="pro"?null:c("div",{class:"mt-3",children:[c("a",{target:"_blank",class:"pb-1 docUrl",href:e.homepage,children:e.name}),"\xA0",c("span",{class:"description pb-1",children:t("please refer to")}),"\xA0",c("a",{target:"_blank",class:"pb-1 docUrl",href:e.docUrl,children:t("KeyAndConfigurationTutorial")})]})}function O6({curServiceItem:e,t}){return!e?.runningDocUrl||e.providers.length?null:c("div",{children:[c("a",{target:"_blank",class:"pb-1 docUrl",href:e.homepage,children:e.name}),"\xA0",c("span",{class:"description pb-1",children:t("please run to")}),"\xA0",c("a",{target:"_blank",class:"pb-1 docUrl",href:e.runningDocUrl,children:t("KeyAndConfigurationTutorial")})]})}function _6({config:e,curServiceConfig:t,curServiceItem:n,setSettings:r,isProUser:i,t:a}){return!t||!e||!n?.explicitProps?.length?null:c(ie,{children:n.explicitProps.map((o,s)=>{let{value:l,disabled:u,hidden:d,descriptionKey:g,disableTipText:m}=uP(i,e,t,n,o,a);return c("div",{class:"mt-2",hidden:d,children:[c(ca,{config:e,isProUser:!!i,currentProvider:n.currentProvider,service:n?.id,field:{...o,descriptionKey:g},value:l,disabled:u,onSetSettings:r,disableTipText:m,onChange:f=>{let p=cP(e.translationMode,o.name);r({translationServices:{[n.id]:{[o.name]:f,[p]:f}}})},onFinish:()=>{ut(a("saved"))}},o.name+n.id),c(Hee,{t:a,config:e,prop:o,curServiceConfig:t,curServiceItem:n,setSettings:r})]},"service-item-prop-"+o.name+s)})})}function U6({isProUser:e,config:t,curServiceConfig:n,curServiceItem:r,setSettings:i,t:a,forceExpand:o,resetVisible:s}){if(!n||!t||!r?.optionalProps?.length||!i)return null;let l=c(ie,{children:[c("div",{children:r.optionalProps.map((u,d)=>{let{value:g,disabled:m,hidden:f,descriptionKey:p}=uP(e,t,n,r,u,a);return n?.aiAssistant&&!n?.aiAssistant?.enableRichTranslate&&u.name=="enableRichTranslate"?null:c("div",{class:"mt-2",hidden:f,children:c(ca,{config:t,service:r?.id,disabled:m,field:{...u,descriptionKey:p},value:g,onSetSettings:i,onChange:h=>{let x=cP(t.translationMode,u.name);i({translationServices:{[r.id]:{[u.name]:h,[x]:h}}})},onFinish:()=>{ut(a("saved"))}},u.name+r.id+n.assistantId+n.fallbackAssistantId)},"service-item-optional-prop-"+u.name+d)})}),c(dP,{visible:s,curServiceItem:r,setSettings:i})]});return o?l:c(ie,{children:c("details",{class:"pt-4 border-none",children:[c("summary",{style:{lineHeight:"1rem"},children:[a("moreOptions"),"\xA0\u{1F449}"]}),l]})})}function Hee({config:e,curServiceConfig:t,curServiceItem:n,setSettings:r,t:i,prop:a}){if(a?.name!="assistantId")return null;let o=t.assistantId,s=t.fallbackAssistantId;if(o!="auto")return null;let l=X(()=>{let d={...a,labelKey:"field_label.fallbackAssistant"};return d.options=a.options?.filter(g=>!["auto","more"].includes(g.value)),d},[a]),u=re(d=>{r({translationServices:{[n.id]:{fallbackAssistantId:d}}})},[r]);return c(ca,{config:e,service:n?.id,field:l,value:s,onSetSettings:r,onChange:u,onFinish:()=>{ut(i("saved"))}})}function lP(e){let{ctx:t,setSettings:n,currentTranslationServiceItem:r}=e,{t:i}=H(),a=r?.id;if(!a)return null;let o=r.config?.group==="custom";return c("div",{class:"service-setting-footer",children:[c(dP,{visible:!0,curServiceItem:r,setSettings:n}),c("a",{hidden:!o,class:"cursor-pointer	mt-2 ml-2",style:{color:"red"},onClick:async()=>{let l=await qu();if(t?.translationService===a){nt(i("translationServices.deleteDefaultError"));return}globalThis.confirm(i("translationServices.deleteConfirm"))&&(await n(d=>{let g=d.translationServices||{},m=g[a];return l.translationServices[a]?{translationServices:{[a]:{isDeleted:!0}}}:(delete g[a],m?.migrateFrom&&g[m.migrateFrom]&&delete g[m.migrateFrom],{translationServices:{}})}),globalThis.location.href="#services")},children:i("translationServices.delete")})]})}function uP(e,t,n,r,i,a){let o="",s=i.descriptionKey,l=!1,u=r?.id===gt||n?.type===gt;if(!i)return{value:"",hidden:l,disabled:!1};let d=!1;n.aiAssistant&&["systemPrompt","prompt","multiplePrompt","subtitlePrompt","enableRichTranslate","maxTextGroupLengthPerRequestForSubtitle","maxTextGroupLengthPerRequest","maxTextLengthPerRequest"].includes(i.name)&&(d=!0);let g=n[i.name];if(i.name=="enableRichTranslate"&&(t.translationMode=="dual"?g=n.dualEnableRichTranslate??n.enableRichTranslate:t.translationMode=="translation"&&(g=n.translationEnableRichTranslate??n.enableRichTranslate)),i.descriptionKey=="description.enableRichTranslate"&&t.translationMode=="dual"&&n.dualEnableRichTranslate!=null&&dr(n)&&(i.descriptionKey="description.aiDualEnableRichTranslate"),i.descriptionKey=="description.aiDualEnableRichTranslate"&&t.translationMode=="translation"&&(i.descriptionKey="description.enableRichTranslate"),i.name==="apiUrl"&&r?.id==="openai"&&n?.APIKEY?.startsWith("immersiveopenai_")&&(d=!0,g=`https://openai-api.${_.HOST_NAME}/v1/chat/completions`),i.name=="placeholderDelimiters"&&(i.default=n.placeholderDelimiters||i.default),i.name=="enableAIContext"&&(i.descriptionLink1=_.GO_USER_PROFILE_WITH_YT_AI_ASR,e||(d=!0,g=!1,o=a("onlyProUseProTooltip",{1:_.GO_USER_PROFILE_WITH_FEATURE+"enableAIContext"}))),i.name=="enableAIContext"&&!dt(On(),"1.12.1")&&(l=!0),i.name=="enableAIContext"&&(s=c(ie,{children:[c("span",{dangerouslySetInnerHTML:{__html:a(i.descriptionKey||"",{1:i.descriptionLink1})}}),c(Ye,{containerStyle:{display:"inline-flex"},text:a("description.enableAIContextTip"),tipStyle:{width:200},multiple:!0,enableMobile:!0,children:c(Ss,{})})]}),sn(t,e)&&(l=!0)),i.name=="model"&&n.models){let p=n.models.split("|").map(h=>({label:h,value:h}));p.push({label:"more-models",value:"more-models"}),i.options=p}return i.name=="APIKEY"&&n.freeModels?.includes(n.model)&&(l=!0),i.name=="name"&&n.group!=="custom"&&n.type!=="custom-ai"&&(l=!0),i.name=="model"&&n.modelsHidden&&(l=!0),n.group==="free"&&["limit"].includes(i.name)&&(l=!0),u&&["assistantId","fallbackAssistantId","enableAIContext","enableRichTranslate"].includes(i.name)&&(l=!0,d=!0),{value:g,hidden:l,disabled:d,descriptionKey:s,disableTipText:o}}function cP(e,t){return e=="dual"&&t=="enableRichTranslate"?"dualEnableRichTranslate":e=="translation"&&t=="enableRichTranslate"?"translationEnableRichTranslate":t}function dP(e){let{t}=H(),{curServiceItem:n,setSettings:r,visible:i}=e;return!i||!n.optionalProps.length&&!n.explicitProps.length?null:c("a",{href:"#",class:"secondary text-sm mt-2",onClick:a=>{a.preventDefault(),globalThis.confirm(t("confirmResetToDefaultSettings"))&&r(s=>{let l=s.translationServices||{};setTimeout(()=>globalThis.location.reload(),50);let u=l[n.id]||{};if(n?.config?.group==="custom"){let d=["type","name","extends","apiUrl","APIKEY"];Object.keys(u).forEach(g=>{d.includes(g)||delete u[g]})}else u={};return{...s,translationServices:{...l,[n.id]:u}}})},children:t("resetToDefaultSettings")})}async function j6(){await fw(),await lw()}async function z6(e){try{let t=await Vee(e);t&&Ne.runtime.setUninstallURL&&Ne.runtime.setUninstallURL(t)}catch(t){M.error("setUninstallUrl error",t)}}async function Vee(e){try{if(e||(e=await We()),!e.uninstallUrl)return;let t=await le.getUserInfo(),{installedAt:n,fakeUserId:r}=await $o(),i=new URL(e.uninstallUrl);e.interfaceLanguage&&i.searchParams.set("interface_language",e.interfaceLanguage),e.targetLanguage&&i.searchParams.set("target_language",e.targetLanguage);let a=Bu.parse(globalThis.navigator.userAgent),o=gA(n);i.searchParams.set("is_new_user_today",o?"1":"0"),i.searchParams.set("install_day",hp(pp(new Date(n)))),i.searchParams.set("version",Kn()),a.browser&&(i.searchParams.set("browser_name",a.browser.name||"unknown"),i.searchParams.set("browser_version",a.browser.version||"unknown"));let s=xf(t);i.searchParams.set("user_type",s?.user_type||"anonymous"),i.searchParams.set("device_id",r||"unknown");let l=await wa();i.searchParams.set("t",l),i.searchParams.set("ab_tag",l);let u=await wu();return i.searchParams.set("campaign",u||"none"),i.toString()}catch(t){return M.error("getUninstallUrl error",t),e?.uninstallUrl}}function e1({values:e,value:t,defaultValue:n,onChange:r,label:i,placeholder:a,className:o,forId:s}){let[l,u]=N(!e.some(f=>f.value===t));W(()=>{u(!e.some(f=>f.value===t))},[t,e]);let d=()=>{let f=!l;u(f),f||e.some(h=>h.value===t)||r(n)},g=f=>{r(f.target.value)},m=f=>{r(f.target.value)};return c("div",{class:`flex items-center justify-end ${o||""}`,children:[e.length&&i?c("label",{for:s,class:"text-sm mr-2 cursor-pointer",onClick:d,children:[c("input",{type:"checkbox",id:s,name:s,checked:l,readOnly:!0,class:"mr-1"}),i]}):null,l?c("input",{type:"text",class:"input input-bordered input-sm input-select",placeholder:a,value:t,onChange:m}):c("select",{class:"select select-bordered select-sm input-select",value:t,onChange:g,children:e.map((f,p)=>c("option",{value:f.value,children:f.label},f.value+p))})]})}function t1({hidden:e,size:t="large"}){return t==="small"?c("div",{hidden:e,className:"flex justify-center items-center",children:c("div",{className:`${z}-loading-spinner`,style:" width: 12px !important; height: 12px !important;"})}):c("div",{hidden:e,className:"flex justify-center items-center",style:"height: 80vh;",children:c("div",{className:`${z}-loading-spinner`,style:" width: 30px !important; height: 30px !important;"})})}function Bc({text:e,hidden:t,size:n="large"}){let r=e?c("span",{className:"ml-2",children:e}):null;return n==="small"?c("div",{hidden:t,className:"flex justify-center items-center absolute top-0 left-0 right-0 bottom-0",children:e?c("div",{className:"bg-white dark:bg-gray-800 text-gray-900 dark:text-gray-100 rounded-lg shadow-lg px-3 py-2 max-w-[80%] flex items-center",children:[c("div",{className:`${z}-loading-spinner`,style:" width: 12px !important; height: 12px !important;"}),r]}):c(ie,{children:[c("div",{className:`${z}-loading-spinner`,style:" width: 12px !important; height: 12px !important;"}),r]})}):c("div",{hidden:t,className:"flex justify-center items-center absolute top-0 left-0 right-0 bottom-0",children:e?c("div",{className:"bg-white dark:bg-gray-800 text-gray-900 dark:text-gray-100 rounded-lg shadow-lg px-4 py-3 max-w-[80%] flex items-center",children:[c("div",{className:`${z}-loading-spinner`,style:" width: 30px !important; height: 30px !important;"}),r]}):c(ie,{children:[c("div",{className:`${z}-loading-spinner`,style:" width: 30px !important; height: 30px !important;"}),r]})})}var mP=rh();function r1(){let{settingsHookValue:e,config:t,ctx:n}=ct(),[r,i,a,o,s]=e,[l,u]=tP(),[d,g]=N(null);if(W(()=>()=>{zt.unbind("esc")},[]),!t||!n)return c("div",{children:"loading"});let m=Lt(n.config.rtlLanguages,t.interfaceLanguage);return c("div",{dir:m?"rtl":"ltr",children:c(pt,{children:c(xe.Provider,{value:e,children:[c(Gee,{}),c(tte,{config:t,user:d,setUser:g}),c(Zee,{config:t}),c(As,{config:t,ctx:n,user:d,serviceType:"translationService"}),c(Wee,{config:t}),c(lte,{config:t}),c($ee,{config:t}),c(ete,{config:t}),c(Jee,{config:t}),c(Xee,{config:t}),c(qee,{config:t}),c(ute,{config:t}),c(Yee,{setSettings:i,config:t}),c(Va,{isOpen:l,closeModal:()=>u(!0),children:["\u5F53\u524D\u6C89\u6D78\u5F0F\u63D2\u4EF6\u592A\u65E7\uFF0C\u70B9\u6B64\u5347\u7EA7\u81F3",c("a",{href:`https://download.${_.HOST_NAME}/${z}.user.js`,target:"_blank",children:"\u6700\u65B0\u7248"})]})]})})})}function Gee(){let[e,t]=De(xe),n=Ha(e),{t:r,setLang:i}=H(),a=async s=>{if(s.preventDefault(),confirm(r("confirmResetConfig"))){zg({...n,isShowContextMenu:!0}),await Pc();let l=await it();t(l);let u=await We();u?.interfaceLanguage&&await i(u.interfaceLanguage),ut(r("resetSuccess"))}},o=s=>{s.preventDefault(),s.stopPropagation(),ws().then(()=>{ut(r("cleanSuccess"))}).catch(l=>{nt(l.message)})};return c("div",{class:"nav",children:[c("strong",{class:"text-lg",children:r("general")}),c("div",{class:"flex",children:[c("a",{class:"text-sm mr-6 flex item-center",href:"#",onClick:o,children:[c(pD,{}),c("span",{class:"ml-1",children:r("cleanCache")})]}),c("a",{class:"text-sm flex item-center",href:"#",onClick:a,children:[c(hD,{}),c("span",{class:"ml-1",children:r("reset")})]})]})]})}function Wee({config:e}){let[t,n,r,i,a]=De(xe),{t:o,setLang:s}=H(),[l,u]=N(!1),d=g=>{n(m=>({...m,interfaceLanguage:g})),hP({interfaceLanguage:g})};return c("div",{class:"nav",children:[c(ke,{title:o("interface language"),description:o("desc.interfaceLanguage")}),c(t1,{size:"small",hidden:!l}),c("select",{class:"select",onChange:async g=>{u(!0),await s(g.target.value),u(!1),d(g.target.value),Ae(!0)||setTimeout(()=>{zg()},200)},children:Oi(kf,3,e.interfaceLanguage).map((g,m)=>c("option",{value:g,selected:g===e.interfaceLanguage,children:Et(g,e.interfaceLanguage)},"locale"+m))})]})}function qee({config:e}){let{t}=H(),[n,r,i,a,o]=De(xe),[s,l]=N(e.translationTheme),[u,d]=N(e.translationThemePatterns[s]),g=X(()=>ite(s),[s]),m=re(Dn((y,b)=>{n&&r(v=>{let C=v.translationThemePatterns||{};return{...v,translationTheme:b,translationThemePatterns:{...C,[b]:y}}})},400),[r]),f=y=>{l(y),r(b=>({...b,translationTheme:y})),d(e.translationThemePatterns[y])},p=y=>{typeof y=="function"?d(b=>{let v=y(b);return m(v,s),v}):(d(y),m(y,s))};return W(()=>{u&&fl(document,s,{[s]:u},e.selectTranslationFont,!0)},[u,s]),c(ie,{children:[c(Qee,{translationTheme:s,onChange:y=>{let b=y.target;f(b?.value)}}),c("div",{class:"pt-2 text-sm","imt-state":"dual",children:c("p",{children:[t("sampleSourceText"),c("div",{class:"pt-2"}),h(),x(),c(ote,{config:e}),c(Kee,{translationThemes:F2,selectedTheme:s,selectDisplay:f})]})})]});function h(){return c(ie,{children:c("font",{class:tc(s,!1,[],!1).join(" "),children:c("font",{class:nc(s).join(" "),children:t("sampleTargetText")})})})}function x(){return g?c("details",{class:"pt-2 border-none",children:[c("summary",{class:"text-sm",style:{textAlign:"right",lineHeight:"1rem"},children:t("customTheme")}),c("div",{class:"flex flex-col items-end",children:[g.map((y,b)=>{y.label=t(`customThemeLabel.${y.name}`);let v=u||{},C=`theme-${s}-${y.name}`,S=TM(C)||y.default||void 0,T=v[y.name]||S;return c(ca,{config:e,field:y,value:T,onSetSettings:r,onChange:w=>{p(E=>({...E,[y.name]:w}))}},"theme-prop"+s+b)}),c("a",{href:"#",class:"text-sm secondary",onClick:y=>{y.preventDefault(),p(b=>b.zoom?{zoom:b.zoom,matches:[],excludeMatches:[]}:{matches:[],excludeMatches:[]}),setTimeout(()=>{let b=g.find(v=>v.name=="backgroundOpacity");if(b){let v=document.querySelector("[name=backgroundOpacity]");if(!v)return;let C=b.default||12;v.value=C.toString()}},600)},children:t("resetToDefaultColor")})]})]}):null}}function Kee({selectedTheme:e,translationThemes:t,selectDisplay:n}){let{t:r}=H();return c("details",{class:"pt-2 border-none",children:[c("summary",{class:"text-sm",style:{textAlign:"right",lineHeight:"1rem"},children:r("previewAllThemes")}),t.map((i,a)=>c("div",{class:"pt-2 transition",children:c("label",{children:[c("div",{class:"flex justify-between",children:c("div",{children:[c("input",{type:"radio",name:"theme",value:i,checked:i===e,onChange:o=>{n(o.target.value)}}),r(`translationTheme.${i}`)]})}),c("p",{children:c("font",{class:tc(i,!1,[],!1).join(" "),children:c("font",{class:nc(i).join(" ")+" transition-all",children:r("sampleTargetText")})})})]})},"theme-index-"+a))]})}function Qee({translationTheme:e,onChange:t}){let{t:n}=H();return c("div",{class:"nav",children:[c(ke,{title:n("translation display"),description:n("select diplay style")}),c("select",{class:"select",onChange:t,children:F2.map((r,i)=>c("option",{value:r,selected:r===e,children:n(`translationTheme.${r}`)},"theme"+i))})]})}function Yee({setSettings:e,config:t}){let{t:n}=H(),[r,i]=N(0),[a,o]=N(""),[s,l]=N(!1),u=(m,f,p)=>{l(!s),e(h=>{let y=(h.translationThemePatterns||{})[f]||{},b=y.matches||[],v=[...b];return p==="edit"&&(v=Ut(a,b)),v=Jt(m,v),{translationThemePatterns:{[f]:{...y,matches:v}}}})},d=(m,f)=>{e(p=>{let h=p.translationThemePatterns||{},x=h[f]||{},b=[...x.matches||[]];return m.forEach(v=>{b=Ut(v,b)}),{...p,translationThemePatterns:{...h,[f]:{...x,matches:b}}}})},g=(m,f,p)=>{l(!s),o(m),i(p)};return c(ie,{children:[c("div",{class:"nav",children:[c(ke,{title:"",description:n("useAboveStyleForTheseSites",{theme:n(`translationTheme.${t.translationTheme}`)})}),c("div",{class:"nav-right",children:c("a",{href:"#",role:"button",class:"add-button secondary outline",onClick:m=>{m.preventDefault(),l(!s)},children:n("add")})})]}),s?c(Ir,{toggleModal:m=>{m.preventDefault(),l(!s)},onAddInterfaceUrl:(m,f)=>{u(m,t.translationTheme,f)},urlValue:a,index:r}):null,c(qr,{urls:ate(t),type:"matches",onDeleteUrl:m=>{d(m,t.translationTheme)},onEditUrl:g})]})}function Zee({config:e}){let[t,n,r,i,a]=De(xe),{t:o}=H();if(!e)return null;let s=u=>{Yb({targetLanguage:u}),n(d=>({...d,targetLanguage:u})),hP({targetLanguage:u})},l=Oa(e.translationService,e.targetLanguage,e);return c("div",{class:"nav",children:[c(ke,{title:o("target"),description:o("translate other languages into specific language")}),c("select",{class:"select",onChange:u=>{u.preventDefault(),s(u.target.value)},children:Oi(l,15,e.interfaceLanguage).filter(u=>u!=="auto").map((u,d)=>c("option",{value:u,selected:u===e?.targetLanguage,children:Et(u,e?.interfaceLanguage)},"language"+d))})]})}function Jee({config:e}){let{t}=H(),[n,r,i,a,o]=De(xe),{handleTranslationLanguagePatternSelected:s}=fP(r),l=(u,d)=>{s(u?"matches":void 0,d)};return c(s0,{title:t("always languages"),description:t("always translate the following languages"),languages:mP,selectLanguages:e?.translationLanguagePattern?.matches||[],interfaceLanguage:e?.interfaceLanguage,onChange:l})}function Xee({config:e}){let{t}=H(),[n,r,i,a,o]=De(xe),{handleTranslationLanguagePatternSelected:s}=fP(r),l=(u,d)=>{s(u?"excludeMatches":void 0,d)};return c(s0,{title:t("neverTranslateLanguagesLabel"),description:t("neverTranslateTheFollowingLanguagesDescription"),languages:mP,selectLanguages:e?.translationLanguagePattern?.excludeMatches||[],interfaceLanguage:e?.interfaceLanguage,onChange:l})}function $ee({config:e}){let{t}=H(),[n,r,i,a,o]=De(xe),s=(u,d,g,m)=>{r(f=>{let p=f.translationUrlPattern,h=[],x=[];p&&p.matches&&p.excludeMatches&&(h=p.matches,x=p.excludeMatches);let y=[...h],b=[...x];if(m==="edit"){if(!y[d])return f;y[d]=u}return y=Jt(u,y),b=Ut(u,x),{...f,isChangedAlwaysTranslatedUrls:!0,translationUrlPattern:{...f.translationUrlPattern,matches:y,excludeMatches:b}}})},l=async(u,d)=>{if(u&&u.length>0){let g=await Sn();for(let m of u){let f=m,p=g.tempTranslationUrlMatches||[],h=p.filter(y=>y.match!==f),x=!1;h.length!==p.length&&(x=!0),x&&mr({...g,tempTranslationUrlMatches:[...h]})}}r(g=>{let m=g.translationUrlPattern,f=[];m&&m.matches&&(f=m.matches);let p=[...f];return u.forEach(h=>{p=Ut(h,p)}),{...g,isChangedAlwaysTranslatedUrls:!0,translationUrlPattern:{...g.translationUrlPattern,[d]:p}}})};return c(El,{title:t("always sites"),description:t("always translate the following sites"),onDeleteUrl:l,onSubmitAddUrl:s,urls:e?.translationUrlPattern.matches||[],type:"matches"})}function ete({config:e}){let{t}=H(),[n,r,i,a,o]=De(xe),s=(u,d,g,m)=>{r(f=>{let p=f.translationUrlPattern,h=[],x=[];p&&p.matches&&p.excludeMatches&&(h=p.matches,x=p.excludeMatches);let y=[...h],b=[...x];return m==="edit"&&(b[d]=u),y=Ut(u,h),b=Jt(u,b),{...f,isChangedAlwaysTranslatedUrls:!0,translationUrlPattern:{...f.translationUrlPattern,matches:y,excludeMatches:b}}})},l=(u,d)=>{r(g=>{let m=g.translationUrlPattern,f=[];m&&m.excludeMatches&&(f=m.excludeMatches);let p=[...f];return u.forEach(h=>{p=Ut(h,p)}),{...g,isChangedAlwaysTranslatedUrls:!0,translationUrlPattern:{...g.translationUrlPattern,[d]:p}}})};return c(El,{title:t("never sites"),description:t("never translate the following sites"),urls:e?.translationUrlPattern.excludeMatches||[],onDeleteUrl:l,onSubmitAddUrl:s,type:"excludeMatches"})}function fP(e){return{handleTranslationLanguagePatternSelected:re((n,r)=>{if(!n){e(o=>{let s={...o.translationLanguagePattern};return{...o,translationLanguagePattern:{...o.translationLanguagePattern,matches:Ut(r,s.matches),excludeMatches:Ut(r,s.excludeMatches)}}});return}let i=n,a=i==="matches"?"excludeMatches":"matches";r&&e(o=>{let s={...o.translationLanguagePattern};return s[i]=Jt(r,s[i]),s[a]=Ut(r,s[a]),{...o,translationLanguagePattern:{...o.translationLanguagePattern,...s}}})},[e])}}var H6=0,V6;async function pP(e){if(H6>60*10)return null;H6++,le.refresh(),await rt(300);let t=await le.getUserInfo();M.debug("loopCheckUser",H6,t),t?(clearTimeout(V6),e(t)):V6=setTimeout(pP.bind(null,e),1500)}function gP(e){let{user:t,lang:n}=e,r=Mt(),i=t&&t.email===`test@${_.HOST_NAME}`,{t:a}=H();if(t&&t.subscription&&t.subscription.subscriptionStatus=="active"){let o=t,s=o.subscription,l=rte(s.subscriptionTo),u=s.subscriptionType,d=s.datePeriod=="day",g=["family","onetime_family"].includes(u),m=s.memberShip=="max",f=m?"maxYear":"year",p=m?"maxMonth":"month",h=!d&&s.cancelAtPeriodEnd!="true",x=Ek(o,a),y="";if(h){let b="";s.isTrial&&(b=a("autoRenewTrialSuffix")),y=a("currentPlanDescriptionForContinuous",{plan:`<a href="${_.BASE_SITE}billing/">${x}</a>${b}`,endAt:l})}else g?y=a("currentPlanDescriptionForAutoRenewCaceling",{plan:a("family"),endAt:l}):d?y=a("currentPlanDescriptionForOneTime",{plan:x,endAt:l,1:`${_.BASE_SITE}accounts/upgrade?type=${f}&lng=${n}`,2:`${_.BASE_SITE}accounts/upgrade?type=${p}&lng=${n}`}):o7(o)?y=a("currentYearlyPlanDescriptionForAutoRenewCacelingWithRealPaiedUser",{plan:x,endAt:l,1:_.BASE_SITE+"billing/"}):s.datePeriod==="yearly"?y=a("currentYearlyPlanDescriptionForAutoRenewCacelingWithAdmin",{plan:x,endAt:l,1:`${_.BASE_SITE}accounts/upgrade?type=${f}&lng=${n}`}):y=a("currentPlanDescriptionForAutoRenewCaceling",{plan:x,endAt:l});return c("span",{class:"info-subtitle",dangerouslySetInnerHTML:{__html:y}})}else return c("span",{class:"info-subtitle",children:r||i?"":a("currentPlanDescriptionForFree")})}function tte({config:e,user:t,setUser:n}){let{t:r}=H(),i=Mt(),a=!!e.showSponsorOnSafari,[o,s,l,u,d]=De(xe),g=e.interfaceLanguage;W(()=>(le.getUserInfo().then(y=>{y&&(n(y),Tt.get("v1/user").then(b=>{le.saveUserInfo(b),n(b),Hg(),z6()}).catch(b=>{wk(b),b.message?.indexOf("token invalid")>=0&&n(null)}))}),()=>{clearTimeout(V6)}),[]);let m=re(y=>{y&&y.preventDefault&&y.preventDefault(),Tt.delete("v1/user/logout").finally(async()=>{await le.clearUserInfo(),await rt(200),await le.refresh(),n(null),Hg(),z6()})},[t]),f=re(async y=>{P7()&&(y&&y.preventDefault&&y.preventDefault(),nte(_.USER_LOGIN_URL),await le.setValue(Jd,!0),pP(async b=>{G6?.close();let v=await Tt.get("v1/user");n(v),za(o,vi,s)}))},[n,s]),p=t?.avatar||BD;if(!t)return sn(e,!1)?null:c("div",{class:"header nav",children:[c("a",{href:_.USER_LOGIN_URL_WITH_RETURN_DASH,onClick:f,class:"flex items-center no-underline",children:[c("img",{src:p}),c("div",{class:"info",children:c("span",{class:"info-subtitle",children:r("nologin")})})]}),c("a",{class:"py-4",href:_.USER_LOGIN_URL_WITH_RETURN_DASH,onClick:f,children:r(i?"loginForSafari":"login")})]});if(!t.subscription||t.subscription.subscriptionStatus!="active")return sn(e,!!t.subscription)?null:c("div",{children:[c("div",{class:"title",children:r("currentAccount")}),c("article",{class:"header nav",style:"padding:16px 16px",children:[c("div",{class:"info",style:"margin-left:0",children:[c("span",{class:"info-title",title:t.email,children:t.email}),c(gP,{user:t,lang:g})]}),c("div",{class:"ops",children:[c("a",{class:i&&a===!1?"!hidden":"",style:{display:"flex",flexDirection:"row",alignItems:"center",marginRight:"24px"},href:`${_.PRICING_URL}?utm_campaign=extension_settings_general&from=${i?"safari":"extension"}`,children:[r("openPremium"),c("img",{width:24,height:24,style:{width:"24px",height:"24px"},src:rr})]}),c("div",{class:"",children:c("a",{href:`${_.USER_PROFILE_URL}?utm_campaign=extension_settings_general&from=${i?"safari":"extension"}`,children:r("manageAccount")})}),c("div",{class:"",children:c("a",{href:"#",onClick:m,children:r("logout")})})]})]})]});let h=t.subscription.memberShip==="max",x=jp(t);return c("div",{class:"",children:[c("div",{class:"title",children:r("currentAccount")}),c("article",{class:"header nav",style:"padding:16px 16px",children:[c("div",{class:"info",style:"margin-left:0",children:[c("div",{className:"flex",children:[c("span",{class:"info-title info-primary",children:t.email||t.userName}),c("img",{width:24,height:24,style:{width:"24px",height:"24px",marginLeft:"4px"},src:Kh(h,x)})]}),c(gP,{user:t,lang:g})]}),c("div",{class:"",children:c("a",{href:_.USER_PROFILE_URL,children:r("manageAccount")})}),c("div",{class:"",children:c("a",{href:"#",onClick:m,children:r("logout")})})]})]})}var G6=null;function nte(e){let r=screen.width/2-230,i=screen.height/2-640/2;return G6=window.open(e,"loginWindow",`toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no,left=${r},top=${i},width=460,height=640,chrome=yes,centerscreen=yes`),G6}function rte(e){let t=new Date(e),n=t.getFullYear(),r=String(t.getMonth()+1).padStart(2,"0"),i=String(t.getDate()).padStart(2,"0");return`${n}-${r}-${i}`}function ite(e){let t=[];return Zd[e]&&(t=t.concat(Zd[e])),t.push({name:"textColor",type:"color",required:!1}),t.push({name:"zoom",type:"number",default:100,required:!1}),t.push({name:"weight",type:"number",default:400,required:!1}),t.push({name:"italics",type:"boolean",default:!1,required:!1}),t}function ate(e){let t=e.translationTheme;return!e.translationThemePatterns[t]||!e.translationThemePatterns[t].matches?[]:[...e.translationThemePatterns[t].matches]}var n1="";function ote({config:e}){let{t}=H(),[n,r]=N(!1);return c("details",{class:"pt-2 border-none",onToggle:i=>{r(i.target?.open)},children:[c("summary",{class:"text-sm",style:{textAlign:"right",lineHeight:"1rem"},children:t("translationFont")}),c(ste,{config:e,isOpen:n})]})}function ste({config:e,isOpen:t}){let{t:n}=H(),[r,i]=N([]);W(()=>{if(!t||r.length)return;let m=e.translationFonts.filter(f=>kl(f,n("sampleTargetText").charAt(0)+"a"));m.length&&m.unshift("none"),i(m)},[e.translationFonts,t,r,i]);let[a,o,s,l,u]=De(xe),d=m=>{m!==n1&&!kl(m,n("sampleTargetText").charAt(0)+"a")&&nt(n("translationFont.notSupportErrorMessage")),o(f=>{let p=e.translationTheme,h={matches:[],excludeMatches:[]};return f&&p&&f.translationThemePatterns&&f.translationThemePatterns[p]&&(h=f.translationThemePatterns[p]),fl(document,p,{[p]:h},m),{...f,selectTranslationFont:m}})},g=r.map(m=>{let f=n(`font.${m}`);return f.startsWith("font.")&&(f=m),{label:f,value:m==="none"?n1:m}});return c(e1,{values:g,value:e.selectTranslationFont||n1,defaultValue:n1,onChange:d,label:n("translationFont.custom"),forId:"translationFont",placeholder:n("translationFont.customPlaceholder")})}function lte({config:e}){let{t}=H(),[n,r,i,a,o]=De(xe),s=["dual","translation"];return c("div",{class:"nav",children:[c(ke,{title:t("translationModePreferLabel"),description:t("translationModePreferDesc")}),c("select",{class:"select",onChange:l=>{l.preventDefault(),r(u=>({...u,translationMode:l.target.value}))},children:s.map(l=>c("option",{value:l,selected:e.translationMode==l,children:t(`translationMode.${l}`)},l))})]})}function ute({config:e}){let[t,n,r,i,a]=De(xe),{t:o}=H();return!e||e.translationTheme!=="none"?null:c("div",{class:"nav",style:{paddingTop:0},children:[c(ke,{title:o("sameLangTranslationThemeTitle"),description:o("sameLangTranslationThemeDes")}),c("label",{for:"sameLanguageFamilyTranslationTheme",children:c("input",{type:"checkbox",id:"sameLanguageFamilyTranslationTheme",name:"switch",role:"switch",onChange:s=>{let l=s.target.checked;n(u=>({...u,sameLangTranslationTheme:l?"background":"none"}))},checked:e.sameLangTranslationTheme!=="none"})})]})}async function hP({interfaceLanguage:e,targetLanguage:t}){try{let n=await We();e&&(n.interfaceLanguage=e),t&&(n.targetLanguage=t);let r=await Wr({url:"http://localhost",config:n,state:{cache:!1}});ae({key:"init_page_daily",ctx:r,forceDaily:!0})}catch(n){M.debug("report init_page_daily error",n)}}function Ml(e){let t=wo();return X(()=>{let r="";if(e)return t.startsWith("#services")&&(t.startsWith("#services/")&&(r=t.slice(10)),r||(r=ia(e.config,"translationService",e.translationService))),r},[t,e])}function yP(e){let{lang:t}=H(),n=Ml(e);return X(()=>{if(!(!e||!n))return ms(e,"translationService",t,n)},[e,n])}var Lr=gt;function bP({ctx:e}){let{t}=H(),[n,r,i,a,o]=De(xe),l=Ml(e)===Lr,u=n.translationServices?.[Lr]?.visible??e.config.translationServices?.[Lr]?.visible??e.config.translationServices?.[Lr]?.defaultVisible??!0,d=ia(e.config,"translationService",e.translationService)===Lr,g=re(f=>{let p=f.target.checked;o(h=>({...h,translationServices:{...h.translationServices||{},[Lr]:{...h.translationServices?.[Lr]||{},visible:p}}}))},[o]),m=re(f=>{f.stopPropagation(),f.preventDefault(),!(d||!u)&&r(p=>(ae({key:"change_translate_service",ctx:e,params:{translation_service:`${p.translationService}_${Lr}`}}),Xr({state:p,config:e.config,serviceType:"translationService",serviceId:Lr})))},[e,d,r,u]);return c("div",{class:`translation-service-item py-3 min-[${xt}px]:px-2`,"data-selected":l?"true":"false","data-configed":u,onClick:()=>{globalThis.location.href=`#services/${Lr}`},children:[c("div",{class:"flex items-center flex-1 min-w-0",children:[c("img",{class:"translation-service-item-img",src:Xt("free"),alt:""}),c("h3",{class:"mb-0 cursor-pointer truncate",children:t("services.freeTranslationModel")})]}),d?c("div",{class:`service-current-default max-[${xt}px]:!hidden`,children:t("currentDefault")}):u?c("a",{class:`service-set-default opacity-0 ml-1 max-[${xt}px]:!hidden`,onClick:m,href:"#",children:t("setDefault")}):null,c(_a,{class:`ml-2 min-[${xt}px]:!hidden`}),c("div",{style:{marginLeft:8},children:c("input",{type:"checkbox",name:t("services.freeTranslationModel"),role:"switch",checked:u,onChange:g,onClick:f=>f.stopPropagation()})})]})}var Oc=gt;function cte(e,t){let n=t.config.translationServices,r=Ta(n).map(o=>o.preferredProvider),i=e.translationServices?.[Oc]?.preferredProvider;if(typeof i=="string"&&r.includes(i))return i;let a=n?.[Oc]?.preferredProvider;if(typeof a=="string"&&r.includes(a))return a}function dte(e,t){let n=Ta(t).find(r=>e.type===r.serviceType||e.id.startsWith(r.serviceType));if(!n)throw new Error(`Unknown free-model provider mapping: ${e.id}`);return n.preferredProvider}function gte(e,t){let n={...e.translationServices||{}},r={...n[Oc]||{}};return t?(r.preferredProvider=t,n[Oc]=r):(delete r.preferredProvider,Object.keys(r).length>0?n[Oc]=r:delete n[Oc]),{...e,translationServices:n}}function mte(e,t){let n=e.config.translationServices;return Ta(n).map(r=>{let i=Object.entries(n||{}).find(([a,o])=>o.group!=="free"?!1:o.type===r.serviceType||a.startsWith(r.serviceType));if(i)return ms(e,"translationService",t,i[0],{normalizeServiceId:!1,includeHiddenServices:!0})}).filter(r=>!!r)}function W6(e,t){let n="translationServices."+t?.type+".introduction",r=e(n,{homepage:{tag:"a",href:t?.homepage||"",target:"_blank",class:z+"-link"},1:t?.link1||"",docUrl:{tag:"a",href:t?.docUrl||"",target:"_blank",class:z+"-link"},placeholder:t?.introductionPlaceholder||""});return r.startsWith(n)&&(r=""),r}function vP(e){let{ctx:t,settings:n,setSettings:r}=e,{lang:i}=H(),a=X(()=>mte(t,i),[t,i]),o=X(()=>cte(n,t),[t,n]);return c("div",{class:"free-model-setting-list",children:a.map((s,l)=>c(fte,{ctx:t,settings:n,setSettings:r,item:s,preferredProvider:o,isLast:l===a.length-1},s.id))})}function fte(e){let{t}=H(),{ctx:n,settings:r,setSettings:i,item:a,preferredProvider:o,isLast:s}=e,l=dte(a,n.config.translationServices),[u,d,g]=q6({ctx:n,translationServiceItem:a,settings:r,setSettings:i,overrideServiceId:gt,overrideTempServiceConfig:{preferredProvider:l}}),m=W6(t,a),f=o===l,p=h=>{h.preventDefault(),i(x=>gte(x,f?void 0:l))};return c("div",{class:"free-model-service-card",style:{borderBottom:s?"none":void 0},children:[c("div",{class:"free-model-service-card-header",children:[c("div",{class:"free-model-service-card-title-wrap",children:[c("img",{src:a.icon||Xt(a.config.type||a.id),alt:"",class:"free-model-service-card-icon"}),c("h3",{class:"free-model-service-card-title",children:[a.name,f&&c("span",{class:"free-model-service-card-preferred",children:t("freeModelCurrentPreferred")})]})]}),c("div",{class:"flex flex-row items-center shrink-0",children:[c("a",{href:"#",class:"secondary mr-3 free-model-service-card-action",onClick:p,children:t(f?"freeModelUnsetPreferred":"freeModelSetPreferred")}),d&&c("div",{class:"loading"}),!d&&g==="ok"&&c(wc,{className:"mr-1"}),c("a",{"aria-busy":d,href:"#",class:"secondary service-verify-link",onClick:u,children:t("verifyService")})]})]}),m&&c("div",{class:"free-model-service-card-description",dangerouslySetInnerHTML:{__html:m}}),g&&g!=="ok"&&c("div",{class:"mt-3",children:c("span",{class:"verified text-red-500 mr-2",dangerouslySetInnerHTML:{__html:a.id==="ollama"?g+t("ollamaQA"):g}})})]})}function xP({ctx:e,class:t,style:n}){let[r,i,a,o,s]=De(xe),l=e?.config,u=Xh(),{t:d}=H(),g=Ml(e),m=yP(e),f=m?.id||"",p=X(()=>{if(l&&e){let{translationServices:b}=l,v=m?.id||"",C=b?.[v],T=v===Lr||C?.type===Lr?void 0:Pg(C,e.localConfig.aiAssistants||[]),w=C?.group==="pro"?"pro":"custom";if(T&&C){let E=Gu(T);return{...C,...E,aiAssistant:T,provider:w}}return C?{...C,provider:w}:null}return null},[l,e,m,f]),h=!!m?.providers?.length||!!m?.explicitProps?.length||!!m?.optionalProps?.length;if(g===Lr)return c("div",{class:`translation-service-setting flex ${t}`,style:n,children:c(vP,{ctx:e,settings:r,setSettings:i})});if(!m)return null;let x=e?.isPro||e?.isMax||m.config.group!=="pro",y=e?.isMax||m.config.group!=="max";return c("div",{class:`translation-service-setting flex ${t}`,style:n,children:[c(pte,{ctx:e,currentTranslationServiceItem:m,settings:r,setSettings:i,service:f,serviceType:p?.type||f}),c("div",{hidden:x,class:"mt-6 mb-2 w-full",dangerouslySetInnerHTML:{__html:d("services.upgradeProUseModel",{1:{tag:"a",href:_.AUTH_PRICING_URL+"?utm_campaign=services_detail",target:"_blank"}})}}),c("div",{hidden:y,class:"mt-6 mb-2 w-full",dangerouslySetInnerHTML:{__html:d("services.upgradeMaxUseModel",{1:{tag:"a",href:_.AUTH_PRICING_URL+"?utm_campaign=services_detail",target:"_blank"}})}}),h&&c("div",{style:{width:"100%",paddingTop:Gr()?0:16},children:[c(N6,{config:l,curServiceItem:m,setSettings:i,isProUser:!!u,hidden:Gr(),t:d}),c(F6,{curServiceItem:m,t:d}),c(B6,{curServiceItem:m,t:d}),c(O6,{curServiceItem:m,t:d}),c(R6,{currentTranslationServiceItem:m,t:d}),_6({config:l,curServiceConfig:p,curServiceItem:m,setSettings:i,isProUser:!!u,t:d}),U6({isProUser:!!u,config:l,curServiceConfig:p,curServiceItem:m,setSettings:i,t:d,forceExpand:!0})]}),c(lP,{ctx:e,currentTranslationServiceItem:m,setSettings:i})]})}function pte(e){let{t}=H(),{ctx:n,currentTranslationServiceItem:r,settings:i,setSettings:a,service:o,serviceType:s}=e,[l,u,d]=q6({ctx:n,translationServiceItem:r,settings:i,setSettings:a}),g=Xt(s),m=W6(t,r);return c("div",{class:"service-setting-header",children:[c("div",{class:"flex flex-row justify-between items-center w-full",children:[c("div",{class:"flex flex-row items-center",onClick:()=>{Se().any&&(window.location.href="#services")},children:[c("div",{class:`flex p-2 items-center justify-center mr-2 cursor-pointer min-[${xt}px]:hidden`,children:c(xD,{style:{width:6}})}),c("img",{src:g,alt:o,class:`w-10 mr-2 max-[${xt}px]:w-8`,hidden:!g}),c("h3",{class:`mb-0 cursor-pointer truncate max-w-[400px] text-lg max-[${xt}px]:text-base`,title:r?.name,children:r?.name})]}),c("div",{class:"flex flex-row items-center",children:[u&&c("div",{class:"loading"}),!u&&d==="ok"&&c(wc,{className:"mr-1"}),c("a",{"aria-busy":u,href:"#",class:"secondary text-sm",onClick:l,children:t("verifyService")})]})]}),m&&c("div",{class:"service-setting-header-introduction",dangerouslySetInnerHTML:{__html:m}}),d&&d!=="ok"&&c("div",{class:"mt-4",children:c("span",{class:"verified text-red-500 mr-2",dangerouslySetInnerHTML:{__html:r?.id==="ollama"?d+t("ollamaQA"):d}})})]})}function q6({ctx:e,translationServiceItem:t,settings:n,setSettings:r,overrideServiceId:i,overrideTempServiceConfig:a}){let[o,s]=N(!1),[l,u]=N(""),{t:d}=H();return W(()=>{u(""),s(!1)},[t?.id]),[re(async m=>{if(m.preventDefault(),!!e){s(!0),u("");try{let f=a??{provider:t?.currentProvider},p=i&&t?{...t,id:i}:t,h=await $h(e,d,p,"Hello world","en","zh-CN",f);if(M.debug("result",h),s(!1),u("ok"),!t)return;n.translationServices?.[t.id]?.visible===void 0&&r({translationServices:{[t.id]:{visible:!0}}})}catch(f){let p=f.message;try{p=f?.uiConfig?.(e)?.errMsg||f.message}catch{}s(!1),u(p)}}},[n,e,r,t,i,a]),o,l]}function CP(e){let{visible:t,onClose:n,onSubmit:r,ctx:i,setSettings:a}=e,{t:o}=H();if(!t)return null;let s=async l=>{let u=`${l}-${go(8)}`;if(i?.config.translationServices[u]){s(l);return}await a(d=>{let g=d.translationServices||{},m=Object.values(g).filter(h=>h.type===l&&h.group==="custom").length,f={},p=qt(i.config,l);return f.type=l,f.extends=l,f.group="custom",f.name=`${p} ${m+1}`,{...d,translationServices:{...g,[u]:f}}}),globalThis.location.href=`#services/${u}`,e.onClose()};return c(Va,{isOpen:t,closeModal:n,children:c(hte,{ctx:i,onAddCustomService:s})})}function hte(e){let{t}=H(),n=X(()=>{let r=Object.keys(_n).filter(s=>!_n[s].allProps?.length||["zhipu-pro","qwen"].includes(s)?!1:Rb({serviceKey:s,ctx:e.ctx})),i=["custom-ai","zhipu"],a=i.filter(s=>r.includes(s)),o=r.filter(s=>!i.includes(s));return[...a,...o]},[e.ctx]);return c("div",{class:`add-custom-service-modal-content max-[${xt}px]:!w-[unset]`,children:[c("h1",{children:t("services.addCustom")}),c("div",{class:`add-custom-service-item-list max-[${xt}px]:!h-[60vh] max-[${xt}px]:!overflow-y-auto`,children:n.map(r=>c(yte,{config:e.ctx.config,service:r,onAddCustomService:e.onAddCustomService},r))})]})}function yte(e){let t=Xt(e.service),n=qt(e.config,e.service);return c("div",{class:`add-custom-service-item max-[${lf}px]:!w-[48%]`,onClick:()=>e.onAddCustomService(e.service),children:[t&&c("img",{class:"w-8 h-8 cursor-pointer mr-3",src:t,alt:""}),c("div",{children:n})]})}function TP(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:e.width||16,height:e.height||16,viewBox:"0 0 16 16",fill:"none",children:c("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 SP(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",class:e.class,width:e.width||16,height:e.height||16,viewBox:"0 0 16 16",fill:"none",children:c("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 i1({data:e,ctx:t}){let{t:n}=H(),[r,i,a,o,s]=De(xe),l=Ml(t),u=X(()=>ts(t.config,e.id),[e,t]),d=re(h=>{let x=h.target.checked;i({translationServices:{[e.id]:{visible:x}}})},[e.id,t.config]),g=t.translationService===e.id,m=l===e.id,f=e.visible||!1,p=vte(e,u,f);return c("div",{class:`translation-service-item py-3 min-[${xt}px]:px-2`,"data-selected":m?"true":"false","data-configed":f,onClick:h=>{globalThis.location.href="#services/"+e.id},children:[c(Ye,{text:n("needSettingTip"),position:"left",tipStyle:{whiteSpace:"pre"},disable:p,enableMobile:!0,class:`min-[${xt}px]:!hidden mr-2`,onClick:h=>{h.stopPropagation()},children:c("input",{type:"checkbox",name:e.name,role:"switch",disabled:!p||t.translationService===e.id,checked:f,onChange:h=>{d(h)},onClick:h=>h.stopPropagation()})}),c("div",{class:"flex items-center flex-1",children:[c("img",{class:"translation-service-item-img",src:e.icon,alt:"",onClick:()=>{globalThis.location.href="#services/"+e.id}}),c("h3",{class:"mb-0 cursor-pointer",onClick:()=>{globalThis.location.href="#services/"+e.id},children:e.name}),e.config.group==="pro"&&c("img",{src:rr,style:{marginTop:1,width:24,height:24}}),e.config.group==="max"&&c("img",{src:Ua,style:{marginTop:1,width:24,height:24}})]}),c(bte,{data:e,ctx:t,visible:f,isCanEdit:p,isDefault:g}),c(_a,{class:`ml-2 min-[${xt}px]:!hidden`}),c(Ye,{text:n("needSettingTip"),position:"left",tipStyle:{whiteSpace:"pre"},disable:p,containerClass:"ml-2",enableMobile:!0,class:`max-[${xt}px]:!hidden`,onClick:h=>{h.stopPropagation()},children:c("input",{type:"checkbox",name:e.name,role:"switch",disabled:!p||t.translationService===e.id,checked:f,onChange:h=>{d(h)},onClick:h=>h.stopPropagation()})})]})}function bte(e){let{data:t,ctx:n,visible:r,isCanEdit:i,isDefault:a}=e,{t:o}=H(),[s,l,u,d,g]=De(xe),m=sn(n.config,n.isPro),f=n.isPro,p=t.config.group=="pro",h=t.config.group=="max",x=b=>{b.stopPropagation(),b.preventDefault(),n.translationService!==t.id&&(!i||!r||l(v=>(ae({key:"change_translate_service",ctx:n,params:{translation_service:`${v.translationService}_${t.id}`}}),Xr({state:v,config:n.config,serviceType:"translationService",serviceId:t.id}))))},y=X(()=>t.ok?o("goEditing"):o(m?"needActionLabel":p?"translationServices.upgradePro":h?"translationServices.upgradeMax":"needActionLabel"),[m,f,t.id,t.ok]);return t.ok?a?c("div",{class:`service-current-default max-[${xt}px]:!hidden`,children:o("currentDefault")}):t.visible?c("a",{class:`service-set-default opacity-0 ml-1 max-[${xt}px]:!hidden`,onClick:x,children:o("setDefault")}):null:c("div",{class:"right-5 bottom-3",onClick:()=>{(p||h)&&globalThis.open(_.AUTH_PRICING_URL+"?utm_campaign=services_item","_blank")},children:c("a",{href:"#services/"+t.id,class:t.ok?"edit":"",children:y})})}function vte(e,t,n){let r=!0;return e.ok?r=!0:t||(r=!1),n&&(r=!0),r}function wP({id:e,name:t,defaultExpanded:n=!0,services:r,ctx:i,freeServiceListMode:a="legacy"}){let[o,s]=N(!1),[l,u,d,g,m]=De(xe),f=X(()=>{if(e!=="free"||a==="legacy")return r;let y=new Map(r.map(v=>[v.id,v]));return g7(i?.config?.translationServices).map(v=>y.get(v)).filter(v=>!!v&&v.id!==Lr)},[i,a,e,r]),p=e==="free"&&a==="transitional";W(()=>{if(!i)return;let y=i.config.rawUserConfig?.translationServiceExpanded?.[e];s(y??n),y==null&&!f.filter(b=>b.visible).length&&!p&&s(!1)},[i,n,f,e,p]);let h=()=>{let y=!o;s(y),m(b=>{let v={...b};return v.translationServiceExpanded={...b.translationServiceExpanded,[e]:y},v})},{t:x}=H();return f.length===0&&!p?null:c("div",{children:[c("div",{class:`service-group-header  py-3 min-[${xt}px]:px-2`,onClick:h,children:[c("div",{class:"m-0",children:t}),o?c(TP,{class:"mr-2 text-gray-600"}):c(SP,{class:"mr-2 text-gray-600"})]}),o&&c("div",{class:"flex flex-col",children:[p&&c(bP,{ctx:i}),f.map(y=>c(i1,{data:y,ctx:i},y.id)),!f.length&&!p&&c("div",{class:"text-gray-500 py-2 px-3",children:x("services.noService")})]})]})}function EP(e){let{visible:t,onClose:n,onConfirm:r}=e,{t:i}=H(),a=X(()=>i("services.consent.requiredText"),[i]),[o,s]=N("");if(!t)return null;let l=o.trim()===(a||"");return c(Va,{isOpen:t,closeModal:()=>{s(""),n()},contentStyles:{padding:"0",borderRadius:"12px",maxWidth:"550px",maxHeight:"90vh",overflowY:"auto"},children:c("div",{class:"consent-modal-wrapper",children:c("div",{class:"consent-modal",children:[c("h2",{children:i("services.consent.title")}),c("div",{dangerouslySetInnerHTML:{__html:i("services.consent.description.1")}}),c("div",{style:{margin:"16px 0"},dangerouslySetInnerHTML:{__html:i("services.consent.supportFeatures")}}),c("div",{dangerouslySetInnerHTML:{__html:i("services.consent.description.2")}}),c("div",{dangerouslySetInnerHTML:{__html:i("services.consent.description.3",{text:a})}}),c("input",{value:o,onInput:u=>s(u?.currentTarget?.value||"")}),c("div",{class:"button-container",style:{display:"inline-flex",justifyContent:"flex-end",gap:"16px",float:"right",margin:"0 0 16px 0"},children:[c("div",{class:"button cancel",onClick:n,children:i("cancel")}),c("div",{class:"button confirm",disabled:!l,onClick:async()=>{l&&(s(""),await jr("hasAgreedCustomServiceConsent",!0),r())},children:i("services.consent.confirmButtonText")})]})]})})})}var K6=!1;function Q6(){let{settingsHookValue:e,config:t,ctx:n}=ct(),[r,i]=e,a=$(null),[o,s]=N(!1),[l,u]=N(!1),{t:d,lang:g}=H();W(()=>{if(!Se().any&&a.current&&!a.current.style.height){let w=a.current.getBoundingClientRect().top+globalThis.scrollY,E=globalThis.innerHeight-w;a.current.style.height=`${E}px`}},[a,t]);let m=X(()=>n?Qu(n,"translationService",g):[],[n]),f=X(()=>n?Ni(m,d):[],[n,m]),p=wo(),h=p==="#services",x=Gr(),y=async()=>{if(x)s(!0);else{let T="custom-ai",w=`${T}-${go(8)}`;await i(E=>{let k=E.translationServices||{},D=Object.values(k).filter(P=>P.type===T).length,U={},B=n?.config?qt(n?.config,T):d("translationServices."+T);return U.type=T,U.extends=T,U.group="custom",U.name=`${B} ${D+1}`,{...E,translationServices:{...k,[w]:U}}}),globalThis.location.href=`#services/${w}`}},b=async()=>{let{userValue:T,localValue:w}=await Yn("hasAgreedCustomServiceConsent");T||w?y():(u(!0),ae({key:"show_3rd_party_privacy_confirmation"}))};if(!K6&&h&&(K6=!0),W(()=>()=>K6=!1,[]),W(()=>{Se().any?globalThis.scrollTo(0,200):document.querySelector(".translation-service-setting")?.scrollTo(0,0)},[p]),!t||!n)return c("div",{children:"loading"});let v=t.isFreeModelMode?"transitional":"legacy",C="text-[16px] leading-6 font-normal no-underline hover:no-underline focus:no-underline",S=T=>T==="compare"?c("a",{class:`online-translate-compare flex flex-row secondary ${C}`,onClick:()=>globalThis.open(_.TEXT_URL,"_blank"),children:c("span",{children:d("onlineTranslateCompare")})}):c("a",{class:`add-custom-service secondary ${C}`,onClick:w=>{w.preventDefault(),b()},children:d("services.addCustom")});return c(pt,{children:c(xe.Provider,{value:e,children:[c("div",{class:`translation-service-header flex ${h?"":`max-[${xt}px]:hidden`}`,children:c("div",{class:"translation-service-header-main",children:[c("div",{class:"translation-service-header-title-row",children:[c("strong",{class:"translation-service-header-title",children:d("services.listName")}),!Ue()&&c("div",{class:"translation-service-header-actions",children:["compare","addCustom"].map(T=>S(T))})]}),c("div",{class:"translation-service-header-description",children:d("services.listDescription")})]})}),c("div",{class:"translation-service-container",ref:a,children:[c("div",{"data-lang":n?.config.interfaceLanguage,class:`flex flex-col flex-1 ${h?"":`max-[${xt}px]:hidden`}`,children:[c("div",{class:`translation-service-mobile-actions flex flex-row justify-between py-2 border-b min-[${xt}px]:hidden max-[${xt}px]:text-sm`,style:{borderColor:"var(--muted-border-color)"},hidden:Ue(),children:["addCustom","compare"].map(T=>S(T))}),x&&c("div",{class:"flex translation-service-list",children:f.map(T=>c(wP,{id:T.id,name:T.name,services:T.services,ctx:n,defaultExpanded:!0,freeServiceListMode:v},T.id))}),!x&&c("div",{class:"flex translation-service-list",children:m.map(T=>c(i1,{data:T,ctx:n},T.id))})]}),c(xP,{ctx:n,class:`flex-[1.8] py-5 min-[${xt}px]:px-4 min-[${lf}px]:px-8 max-[${xt}px]:!bg-[unset] ${h?`max-[${xt}px]:hidden`:""}`})]}),c(EP,{visible:l,onClose:()=>u(!1),onConfirm:()=>{u(!1),ae({key:"accept_3rd_party_privacy_confirmation",ctx:n}),y()}}),c(CP,{visible:o,onClose:()=>s(!1),onSubmit:()=>s(!1),setSettings:i,ctx:n})]})})}function xi(e){return c("div",{class:`intro-container ${e.className||""}`,children:[c("div",{class:"intro-content",children:[c("img",{width:280,height:200,src:e.image,class:"intro-light-img"}),c("img",{width:280,height:200,src:e.nightImage,class:"intro-night-img"}),c("div",{class:"intro-right",children:[c("h1",{children:e.title}),c("p",{dangerouslySetInnerHTML:{__html:e.description}})]})]}),e.children&&c("div",{class:"intro-line"}),e.children]})}function An(e){return _.ASSETS_BASE_URL+e}function kP({assistantID:e,lang:t,hasAssistantsRoute:n}){let[r,i]=N(),[a,o]=N(),[s,l]=N(""),{t:u}=H(),[d,g]=N(""),m=re(()=>g(_.OSS_BASE+"assets/uploads/default-oade4Y.png"),[]),{aiAssistantsData:f,handleInstall:p,operateLoading:h}=Fp(),x=fn(),[y,b,v,C,S]=x,T=Ha(y);Wu(r);let w=rn().translationServices.ai,E=X(()=>{if(r)return{...r,systemPrompt:r.systemPrompt||w.systemPrompt,prompt:r.prompt||w.prompt,multiplePrompt:r.multiplePrompt||w.multiplePrompt,subtitlePrompt:r.subtitlePrompt||w.subtitlePrompt}},[r]);W(()=>{Ab(e).then(D=>{i(D),g(D.avatar),o({name:D.i18n[t]?.name||D.name,description:D.i18n[t]?.description||D.description,details:D.i18n[t]?.details||D.details}),l(ht.sanitize(D.i18n[t]?.details||D.details))}).catch(()=>{nt(u("aiAssistant.getDataError")),i(null)})},[]);let k=f?.some(D=>D.id===r?.id);return r===void 0?c("div",{className:"flex justify-center items-center",style:"height: 80vh;",children:c("div",{className:`${z}-loading-spinner`,style:" width: 30px !important; height: 30px !important;"})}):r===null?c("div",{className:"tipMsg",children:u("aiAssistant.getDataError")}):c("div",{className:"mt-4",children:[c("div",{className:"store-return mb-2",onClick:D=>{if(D.preventDefault(),!n){window.location.href="#ai";return}window.history.back()},children:[c("a",{href:"#"}),a.name+" "+u("setting")]}),c("div",{className:"flex justify-between items-center h-full p-1 mt-4 rounded-lg banner-container",children:c("div",{className:"flex flex-col h-full p-4 w-full",children:[c("div",{className:"flex justify-between items-center",children:[c("div",{className:"flex items-center",children:[c("img",{className:"w-14 h-14 rounded-lg",src:d,alt:"",onError:m}),c("div",{className:"flex flex-col items-start pl-2",children:[c("div",{className:"font-bold text-xl",children:a.name}),c("div",{className:"mt-2 h-6 text-xs",style:{color:"#999999"},children:r.author?`@${r.author}`:""})]})]}),c("div",{className:"btns",children:c(Ye,{text:u("aiAssistant.versionNoMatch"),position:Se().any?"left":"top",tipStyle:{whiteSpace:"pre"},enableMobile:!0,disable:Co(r),children:c(Y6,{assistantID:e,enable:Co(r),handleInstall:p,operateLoading:h,aiAssistantsData:f})})})]}),c("div",{className:"flex items-center flex-grow mt-4 text-sm min-h-16",children:a.description})]})}),c("div",{className:"py-4 font-bold",children:u("aiAssistant.detail")}),c("div",{children:c("div",{class:"text-sm details-note",dangerouslySetInnerHTML:{__html:s}})}),k&&c("div",{className:"py-4 font-bold",children:u("aiAssistant.autoEnableAssistant")}),c(Z6,{aiAssistant:r,isInstall:k}),T&&c(ie,{children:[c("div",{className:"py-4 font-bold",children:u("aiAssistant.promptDetails")}),c(ie,{children:xte.map((D,U)=>c("div",{className:"mt-2",children:c(ca,{service:"ai",config:T,field:D,value:E[D.name]||"",disabled:!0,onSetSettings:()=>{},onChange:()=>{},onFinish:()=>{}},U)},"custom-assistants-prop-"+U))})]})]})}function Y6({assistantID:e,enable:t,handleInstall:n,operateLoading:r,aiAssistantsData:i}){let{t:a}=H(),o=i?.some(d=>d.id===e),[s,l]=N(!0),u=$(null);return W(()=>{let d=()=>{if(u.current){let g=u.current.offsetWidth>80;l(!g)}};return d(),globalThis.addEventListener("resize",d),()=>{globalThis.removeEventListener("resize",d)}},[]),c("div",{className:"assistant-btn",children:c("button",{disabled:!t,className:`py-1 px-3 text-sm rounded-2xl bg-transparent flex items-center ${o?"gray-button":""}`,style:{whiteSpace:"nowrap"},onClick:async d=>{d.stopPropagation(),await n(e,o?"remove":"add")},children:[c("span",{children:o?c(bD,{}):c(yD,{})}),c("span",{children:[s&&c("span",{ref:u,className:"install-uninstall ml-1",children:a(o?"aiAssistant.Uninstall":"aiAssistant.install")}),r&&c("div",{className:`${z}-loading-spinner`})]})]})})}function Z6({aiAssistant:e,isInstall:t}){let{t:n}=H(),[r,i,a,o,s]=De(xe),l=X(()=>{let m=r?.aiAssistantsMatches?.[e.id]?.matches;return m?Ef(e.matches||[],m):e.matches||[]},[e,r]),u=(m,f)=>{i(p=>{let h=r?.aiAssistantsMatches?.[e.id]?.matches||[],x=[...h],y=l[f];if(e.matches?.find(v=>v===y))x=AP(e.matches||[],h,[y]),x.push(m);else{let v=x.findIndex(C=>C.endsWith(y));v!==-1&&(x[v]=m)}return{...p,aiAssistantsMatches:{...p.aiAssistantsMatches,[e.id]:{matches:x}}}})},d=(m,f,p,h)=>{if(h==="edit")return u(m,f);i(x=>{let y=r?.aiAssistantsMatches?.[e.id]?.matches||[],b=[...y],v=e.matches?.find(S=>S===m),C=y.find(S=>S.endsWith(m));if(v&&C){if(!C.startsWith("[-]"))return;b=b.filter(S=>S!==C)}else{if(v)return;b.push(m)}return{...x,aiAssistantsMatches:{...x.aiAssistantsMatches,[e.id]:{matches:b}}}})},g=(m,f)=>{i(p=>{let h=r?.aiAssistantsMatches?.[e.id]?.matches||[],x=AP(e.matches||[],h,m);return{...p,isChangedAlwaysTranslatedUrls:!0,aiAssistantsMatches:{...p.aiAssistantsMatches,[e.id]:{matches:x}}}})};return t?c(El,{title:n("aiAssistant.matchesTitle"),description:n("aiAssistant.matchesDescription"),onDeleteUrl:g,onSubmitAddUrl:d,urls:l||[],type:"matches"}):null}function AP(e,t,n){let r=[...t];return n.forEach(i=>{let a=e.find(s=>s===i),o=t.find(s=>s.endsWith(i));if(a&&o){if(!o.startsWith("[-]"))return;let s=r.findIndex(l=>l.endsWith(i));s!==-1&&(r[s]=`[-]${i}`)}else o?r=r.filter(s=>s!==o):a&&r.push(`[-]${i}`)}),r}var xte=[{name:"systemPrompt",label:"System Prompt",required:!1,descriptionKey:"description.systemPrompt",type:"textarea",optional:!0},{name:"prompt",label:"Prompt",required:!1,descriptionKey:"description.prompt",type:"textarea",default:"",optional:!0},{name:"multiplePrompt",label:"Multiple Prompt",required:!1,descriptionKey:"description.multiplePrompt",type:"textarea",default:"",optional:!0}];function MP(e){let t=fn(),[n,r,i,a,o]=t,s=Ha(n),{t:l}=H(),{aiAssistant:u,updateAiAssistant:d,handleDelete:g}=Tte({id:e.assistantID,userConfig:n,setSettings:r}),[m,f]=N(!1),p=re(async x=>{await d(x)},[d]);W(()=>{u&&f(u.disableSameLang!==!0)},[u]);let h=re(async x=>{if(!u)return;let y=x,b={...u,disableSameLang:y,strictPrompt:y};f(!0),await p(b)},[u,p]);return!s||!u?null:c("div",{className:"mt-4 mb-8",children:[c("div",{className:"store-return",children:[c("a",{href:"#",onClick:x=>{if(x.preventDefault(),!e.hasAssistantsRoute){window.location.href="#ai";return}window.history.back()}}),u.name+" "+l("setting")]}),c(ie,{children:Cte.map((x,y)=>c("div",{class:"mt-2",children:c(ca,{service:"ai",config:s,field:x,value:u[x.name]||"",onSetSettings:()=>{},onChange:b=>{p({...u,[x.name]:b})},onFinish:()=>{ut(l("saved"))}},y)},"custom-assistants-prop-"+y))}),c("div",{class:"nav",children:[c(ke,{title:l("aiAssistant.onlyTranslation"),description:l("aiAssistant.onlyTranslationDesc")}),c("label",{for:"enable",children:c("input",{type:"checkbox",id:"enable",name:"switch",role:"switch",onChange:x=>{h(!x.target.checked)},checked:m})})]}),c(Z6,{aiAssistant:u,isInstall:!0}),c("div",{class:"flex justify-center mt-6",children:c("a",{class:"cursor-pointer	",style:{color:"red"},onClick:g,children:l("translationServices.delete")})})]})}var Cte=[{name:"name",labelKey:"field.aiAssistantName",placeholderKey:"field.aiAssistantName",required:!0,type:"text",direction:"row"},{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:"systemPrompt",label:"System Prompt",required:!1,descriptionKey:"description.systemPrompt",type:"textarea",optional:!0},{name:"prompt",label:"Prompt",required:!1,descriptionKey:"description.prompt",type:"textarea",default:"",optional:!0},{name:"multiplePrompt",label:"Multiple Prompt",required:!1,descriptionKey:"description.multiplePrompt",type:"textarea",default:"",optional:!0}];function Tte({id:e,userConfig:t,setSettings:n}){let{t:r}=H(),i=X(()=>t?.customAiAssistants?.find(l=>l.id===e),[e,t]),a=re(async s=>{n&&await n(l=>{let u=l.customAiAssistants||[],d=u.findIndex(g=>g.id===e);return d<0?l:(u[d]=s,{...l,customAiAssistants:u})})},[n]),o=re(async()=>{!i||!n||!globalThis.confirm(r("aiAssistant.deleteConfirm"))||(await n(l=>{let u=(l.customAiAssistants||[]).filter(d=>d.id!==e);return{...l,customAiAssistants:u}}),window.location.href="#ai")},[i,n]);return{aiAssistant:i,handleDelete:o,updateAiAssistant:a}}var a1=!1;function J6(){let[e,t]=N(null),[n,r]=N(!1),[i,a]=N(null),{settingsHookValue:o,config:s,ctx:l}=ct(),{customAssistants:u,handleAddCustomAiAssistants:d}=wte(),g=X(()=>u.concat((e||[]).sort((x,y)=>{let b=x.priority||1e3,v=y.priority||1e3;return b-v})),[u,e]);W(()=>{(async()=>{try{r(!0);let x=await Eb(),y=Object.values(x);t(y),a(null)}catch{nt(p("aiAssistant.getDataError")),a(p("aiAssistant.getDataError")),t([])}finally{r(!1)}})()},[r]);let m=l?.config.interfaceLanguage||"zh-CN",f=wo(),{t:p}=H();W(()=>{wb(void 0,void 0,!0)},[]),!a1&&f==="#ai"&&(a1=!0),W(()=>()=>a1=!1,[]);let h=X(()=>{if(!f.startsWith("#ai/"))return null;let x=f.slice(4);return x.startsWith("custom")?c(MP,{assistantID:x}):c(kP,{assistantID:x,lang:m,hasAssistantsRoute:a1})},[f,m]);return i?c("div",{className:"tipMsg",children:i}):!n&&g.length===0&&!i?c("div",{className:"tipMsg",children:p("aiAssistant.noData")}):c(pt,{children:c(xe.Provider,{value:o,children:[f==="#ai"&&c("div",{children:[c("div",{class:"nav",children:c("strong",{class:"text-lg",children:p("field.assistant")})}),Ue()?null:c(xi,{image:An("images/assistant_intro.png"),nightImage:An("images/assistant_intro_night.png"),title:p("field.assistant"),description:p("aiAssistant.topBar",{1:`https://github.com/${z}/prompts`})}),c("div",{className:"flex flex-wrap relative min-h-[400px]",children:[c("div",{className:"w-full flex justify-between mb-4",children:[c("a",{className:"underline text-sm",style:{color:"#999999"},target:"_blank",onClick:async()=>{let x=await d(s);window.location.href=`#ai/${x.id}`},children:p("aiAssistant.addCustom")}),c("a",{href:`https://github.com/${z}/prompts`,className:"underline text-sm",style:{color:"#999999"},target:"_blank",children:p("aiAssistant.moreAI")})]}),c(Bc,{hidden:!n}),g.map(x=>c(Ste,{data:x,lang:m},x.id))]})]}),h]})})}function Ste({data:e,lang:t}){let{t:n}=H(),r=e.i18n[t]||e,[i,a]=N(e.avatar),o=re(()=>a(_.OSS_BASE+"assets/uploads/default-oade4Y.png"),[]),{aiAssistantsData:s,handleInstall:l,operateLoading:u}=Fp();return c("div",{className:"assistant-container",onClick:()=>{window.location.href="#ai/"+e.id},children:[c("div",{className:"flex items-center justify-between mb-4",children:c("div",{className:"flex justify-between items-center w-full",children:[c("div",{className:"w-12 h-12 rounded-full mr-3 flex items-center justify-center",children:c("img",{className:"cursor-pointer rounded-full",src:i,alt:"",onError:o})}),c("div",{className:"mb-0 cursor-pointer pr-2 flex justify-start flex-col text-left assistant-content flex-1",children:[c("div",{className:`text-base font-bold assistant-text ${e.custom?"custom-assistant-name":""}`,children:r.name}),c("div",{className:"font-normal assistant-text",style:{color:"#999999",fontSize:"14px"},children:e.author?`@${e.author}`:""})]}),!e.custom&&c("div",{style:{marginLeft:"auto"},children:c(Ye,{text:n("aiAssistant.versionNoMatch"),position:Se().any?"left":"top",tipStyle:{whiteSpace:"pre"},enableMobile:!0,disable:Co(e),children:c(Y6,{assistantID:e.id,enable:Co(e),aiAssistantsData:s,handleInstall:l,operateLoading:u})})})]})}),c("p",{dangerouslySetInnerHTML:{__html:r.description}})]})}function wte(){let e=$(!1),{t}=H(),[n,r,i,a,o]=fn(),s=n?.customAiAssistants||[];return W(()=>{!n||e.current||(async()=>{try{let d=(await Rg()||[]).filter(m=>m.custom&&m.id.startsWith("custom")),g=n.customAiAssistants||[];d.forEach(m=>{g.find(p=>p.id===m.id)||g.push(m),ll("remove",m)}),r(m=>({...m,customAiAssistants:g})),e.current=!0}catch(u){return M.error(u),[]}})()},[n,r]),{handleAddCustomAiAssistants:async u=>{let d=u?.translationServices?.openai,g={id:"custom-"+go(8),name:`${t("aiAssistant.customAiAssistant")}-${s.length+1}`,avatar:"",priority:0,custom:!0,description:"",version:"1.0.0",extensionVersion:"1.4.10",details:"",author:"",homepage:"",props:[],matches:[],env:{},systemPrompt:d?.systemPrompt||"",prompt:d?.prompt||"",multipleSystemPrompt:"",multiplePrompt:d?.multiplePrompt||"",subtitlePrompt:d?.subtitlePrompt||"",langOverrides:[],heat:0,i18n:{},maxTextGroupLengthPerRequest:d?.maxTextGroupLengthPerRequest||1,maxTextLengthPerRequest:d?.maxTextLengthPerRequest||1200};return await r(m=>({...m,customAiAssistants:(m.customAiAssistants||[]).concat([g])})),g},customAssistants:s}}function Ete(e){return e.config.rawUserConfig?.generalRule?.["imageRule.add"]}async function X6(e,t){let n=t||await xa(e),r=e.rule.imageRule.imageTranslateProvider;return!Ete(e)?.imageTranslateProvider&&n&&(r="pro"),!n&&r=="pro"&&(r="client"),Ate(e)?r||"client":"pro"}async function IP(e){let t=await Cf(e);return X6(e,t)}function p0(e){return e.rule.imageRule.enableMouseHover}function Ate(e){let t=Xu();return!!e.rule.imageRule.supportPlatform?.[t]}function LP(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 Mo(e){return e.rawUserConfig?.inputTargetLanguage,e.inputTargetLanguage}var Kr={};rf.forEach(e=>{e.labelKey&&(Kr[e.key]=e.labelKey)});function $6(){let{settingsHookValue:e,config:t,ctx:n}=ct(),{t:r}=H();return!n||!t?c("div",{children:"loading"}):c(pt,{children:c(xe.Provider,{value:e,children:[c("div",{class:"nav",children:c("strong",{class:"text-lg",children:r("inputOptions")})}),c(kte,{config:t}),c(Ite,{config:t}),c("div",{class:"card-header",children:c("strong",{class:"text-lg ml-3",children:r("target")})}),c("div",{class:"card-container",children:[c(Fte,{config:t}),c(Bte,{config:t}),c(Mte,{config:t,ctx:n})]}),c(As,{config:t,ctx:n,serviceType:"inputTranslationService"}),c(Nte,{config:t}),c(Lte,{config:t}),c(Dte,{config:t}),c(Rte,{config:t}),c(Pte,{config:t})]})})}function kte({config:e}){let[t,n,r,i,a]=De(xe),{t:o}=H();if(!e)return null;let s=Mo(e);return c(ie,{children:[c("details",{class:"mt-3",open:!0,hidden:Ue(),children:[c("summary",{children:[o("clickToSeeQuickDemo")," \u{1F447}\u{1F447}"]}),c("video",{controls:!0,autoPlay:!0,src:_p(e?.interfaceLanguage)?`${_.OSS_BASE}assets/uploads/input-translation-zh-tw-EsnKY2.mp4`:`${_.OSS_BASE}videos/input-translation-demo-202307044.mp4`})]}),c("div",{class:"nav",children:[c(ke,{title:o("enableInputTranslation"),description:e.enableInputTranslationWithoutTriggerKey?o("enableInputTranslationDescriptionForNoneKey",{inputTargetLanguage:Et(s,e.interfaceLanguage),trailingKey:Kr[e.inputTrailingTriggerKey]?o(Kr[e.inputTrailingTriggerKey]):e.inputTrailingTriggerKey,inputTrailingTriggerKeyRepeatTimes:e.inputTrailingTriggerKeyRepeatTimes}):o("enableInputTranslationDescription",{inputTargetLanguage:Et(s,e.interfaceLanguage),startingKey:Kr[e.inputStartingTriggerKey]?o(Kr[e.inputStartingTriggerKey]):e.inputStartingTriggerKey,trailingKey:Kr[e.inputTrailingTriggerKey]?o(Kr[e.inputTrailingTriggerKey]):e.inputTrailingTriggerKey,inputTrailingTriggerKeyRepeatTimes:e.inputTrailingTriggerKeyRepeatTimes})}),c("label",{for:"enableInputTranslation",children:c("input",{type:"checkbox",id:"enableInputTranslation",name:"switch",role:"switch",onChange:l=>{let u=l.target.checked;n(d=>({...d,enableInputTranslation:!!u}))},checked:e.enableInputTranslation})})]})]})}function Mte({config:e,ctx:t}){let[n,r,i,a,o]=De(xe),{t:s}=H(),l=g=>{r(m=>({...m,inputTargetLanguage:g}))};if(!e)return null;let u=Mo(e),d=Oa(t.inputTranslationService,e.targetLanguage,e);return c("div",{class:"nav",children:[c(ke,{title:s("inputTargetLanguage"),description:e.enableInputTranslationWithoutTriggerKey?s("inputTargetLanguageDescriptionForNoneKey"):s("inputTargetLanguageDescription",{startingKey:Kr[e.inputStartingTriggerKey]?s(Kr[e.inputStartingTriggerKey]):e.inputStartingTriggerKey})}),c("select",{class:"select",onChange:g=>{g.preventDefault(),l(g.target.value)},children:Oi(d,12,e.interfaceLanguage).filter(g=>g!=="auto").map((g,m)=>c("option",{value:g,selected:g===u,children:Et(g,e.interfaceLanguage)},"language"+m))})]})}function Ite({config:e}){let[t,n,r,i,a]=De(xe),{t:o}=H();if(!e)return null;let s=Mo(e);return c("div",{class:"nav",children:[c(ke,{title:o("enableInputTranslationWithoutTriggerKeyTitle",{trailingKey:Kr[e.inputTrailingTriggerKey]?o(Kr[e.inputTrailingTriggerKey]):e.inputTrailingTriggerKey,inputTargetLanguage:Et(s,e.interfaceLanguage)}),description:""}),c("label",{for:"enableInputTranslation",children:c("input",{type:"checkbox",id:"enableInputTranslation",name:"switch",role:"switch",onChange:l=>{let u=l.target.checked;n({enableInputTranslationWithoutTriggerKey:u})},checked:e.enableInputTranslationWithoutTriggerKey})})]})}function Lte({config:e}){let[t,n,r,i,a]=De(xe),{t:o}=H(),s=l=>{n(u=>({...u,inputStartingTriggerKey:l}))};return e?c("div",{class:"nav",children:[c(ke,{title:o("inputStartingTriggerKeyTitle"),description:e.inputStartingTriggerKey==="none"?o("inputStartingTriggerKeyDescriptionForNoneKey"):o("inputStartingTriggerKeyDescription",{startingKey:Kr[e.inputStartingTriggerKey]?o(Kr[e.inputStartingTriggerKey]):e.inputStartingTriggerKey})}),c("select",{class:"select",onChange:l=>{l.preventDefault(),s(l.target.value)},children:rf.filter(l=>l.skipForStarting!==!0&&l.key!==e.inputTrailingTriggerKey).map((l,u)=>c("option",{value:l.key,selected:l.key===e.inputStartingTriggerKey,children:l.labelKey?o(l.labelKey):l.key},"startingkey-"+u))})]}):null}function Dte({config:e}){let[t,n,r,i,a]=De(xe),{t:o}=H(),s=l=>{n(u=>({...u,inputTrailingTriggerKey:l}))};return e?c(ie,{children:[c("div",{class:"nav",children:[c(ke,{title:o("inputTrailingTriggerKeyTitle"),description:o("inputTrailingTriggerKeyDescription",{trailingKey:Kr[e.inputTrailingTriggerKey]?o(Kr[e.inputTrailingTriggerKey]):e.inputTrailingTriggerKey})}),c("select",{class:"select",onChange:l=>{l.preventDefault(),s(l.target.value)},children:rf.filter(l=>l.skipForTrailing!==!0&&l.key!==e.inputStartingTriggerKey).map((l,u)=>c("option",{value:l.key,selected:l.key===e.inputTrailingTriggerKey,children:l.labelKey?o(l.labelKey):l.key},"startingkey-"+u))})]}),c("blockquote",{class:"text-sm",dangerouslySetInnerHTML:{__html:o("inputHelperInfo",{1:_.BASE_SITE+"docs/input/"})}})]}):null}function Pte({config:e}){let[t,n,r,i,a]=De(xe),{t:o}=H(),[s,l]=N(!1),u=y=>{l(!s)},[d,g]=N(0),[m,f]=N(""),p=(y,b,v,C)=>{u(v),n(S=>{let T=S.inputTranslationUrlPattern,w=[],E=[];T&&T.matches&&T.excludeMatches&&(w=T.matches,E=T.excludeMatches);let k=[...w],D=[...E];return C==="edit"&&(v==="matches"?k[b]=y:D[b]=y),v==="matches"?(k=Jt(y,k),D=Ut(y,E)):(k=Ut(y,w),D=Jt(y,D)),{...S,inputTranslationUrlPattern:{...S.inputTranslationUrlPattern,matches:k,excludeMatches:D}}})},h=(y,b)=>{n(v=>{let C=v.inputTranslationUrlPattern,S=[];b==="matches"?C&&C.matches&&(S=C.matches):C&&C.excludeMatches&&(S=C.excludeMatches);let T=[...S];return y.forEach(w=>{T=Ut(w,T)}),{...v,inputTranslationUrlPattern:{...v.inputTranslationUrlPattern,[b]:T}}})},x=(y,b,v)=>{u(b),f(y),g(v)};return e?c(ie,{children:[c("div",{class:"nav",children:[c(ke,{title:o("inputTranslationBlockUrlsTitle"),description:o("inputTranslationBlockUrlsDescription")}),c("div",{class:"nav-right",children:c("a",{href:"#",role:"button",class:"add-button secondary outline",onClick:y=>{y.preventDefault(),u("excludeMatches")},children:o("add")})}),s?c(Ir,{toggleModal:y=>{y.preventDefault(),u("excludeMatches")},onSubmitAddUrl:p,type:"excludeMatches",urlValue:m,index:d}):null]}),c(qr,{urls:e.inputTranslationUrlPattern.excludeMatches,type:"excludeMatches",onDeleteUrl:h,onEditUrl:x})]}):null}function Rte({config:e}){let[t,n,r,i,a]=De(xe),{t:o}=H();if(!e)return null;let s=()=>Se().any?e.inputTrailingMobileTriggerKeyTimeout:e.inputTrailingTriggerKeyTimeout,l=u=>{n(d=>Se().any?{...d,inputTrailingMobileTriggerKeyTimeout:u}:{...d,inputTrailingTriggerKeyTimeout:u})};return c("nav",{children:[c(ke,{title:o("inputTrailingTriggerKeyTimeout"),description:o("inputTrailingTriggerKeyTimeoutDescription")}),c("div",{class:"option-input",children:c("input",{type:"number",value:s(),min:150,max:1e3,onChange:u=>{!u.target||Number(u.target.value)<100||l(Number(u.target.value))}})})]})}function Nte({config:e}){let{t}=H(),[n,r,i,a,o]=De(xe);return c("div",{class:"nav",children:[c(ke,{title:t("inputTranslationModeLabel"),description:t("inputTranslationModeDesc")}),c("label",{for:"inputTranslationMode",children:c("input",{type:"checkbox",id:"inputTranslationMode",name:"switch",role:"switch",onChange:s=>{let l=s.target.checked;r({inputTranslationMode:l?"dual":"translation"})},checked:e.inputTranslationMode=="dual"})})]})}function Fte({config:e}){let{t}=H(),[n,r,i,a,o]=De(xe),s=e.generalRule?.inputConfig,l=e.generalRule?.["inputConfig.add"]?.autoLanguageEnable||s?.autoLanguageEnable,u=Ue()?s?.autoLanguageSitesMainland:s?.autoLanguageSites;return c("div",{class:"nav",children:[c(ke,{title:t("label.inputAutoLanguageEnable"),description:t("description.inputAutoLanguageEnable",{sites:u?.join(", ")||" "})}),c("label",{for:"autoLanguageEnable",children:c("input",{type:"checkbox",id:"autoLanguageEnable",name:"switch",role:"switch",onChange:d=>{let g=d.target.checked;r({generalRule:{"inputConfig.add":{autoLanguageEnable:g}}})},checked:l})})]})}function Bte({config:e}){let{t}=H(),[n,r,i,a,o]=De(xe),s=e.generalRule?.inputConfig,l=e.generalRule?.["inputConfig.add"]?.autoLanguagePageEnable||s?.autoLanguagePageEnable;return c("div",{class:"nav",children:[c(ke,{title:t("label.autoLanguagePageEnable"),description:t("description.autoLanguagePageEnable")}),c("label",{for:"autoLanguagePageEnable",children:c("input",{type:"checkbox",id:"autoLanguagePageEnable",name:"switch",role:"switch",onChange:u=>{let d=u.target.checked;r({generalRule:{"inputConfig.add":{autoLanguagePageEnable:d}}})},checked:l})})]})}function Ui(e){return h0(e)?e.value||e.innerText||e.textContent:"\u2022\u2022\u2022\u2022"}function h0(e){if(e.tagName==="INPUT"){let t=e;if(t.type==="password"||t.type==="email")return!1}return!0}async function o1({text:e,ctx:t}){let n="en",r=Un();if(t.sourceLanguage&&t.sourceLanguage!=="auto"?n=t.sourceLanguage:r!=="auto"&&(n=r),!t.rule.enableServerDetectLanguage)return n;let i=await Ze({text:e});if(i&&i!=="auto")return i;let a=await ls([e]);return!a||!a.length?n:a[0].lang}var s1=async e=>{if(navigator.clipboard&&navigator.permissions)try{await navigator.clipboard.writeText(e)}catch{DP(e)}else DP(e)},DP=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)},Il=e=>{let t=e.rule.selectionTranslation,n=Tr(e,"translationService",e.config.interfaceLanguage,[]).filter(l=>l.ai===!0&&l.config.supportFeatures?.includes("selectionTranslation"))||[],r=l=>!!l&&n.some(u=>u.id===l),i=t?.service;if(i&&r(i))return i;let a=t?.proService.service,o=t?.commonService.service,s=n.find(l=>l.config.group==="free");if(!e.isPro&&!e.isMax)return s?s.id:o&&r(o)?o:n[0]?.id||o||"zhipu-free";{let l=n.filter(d=>d.config.group==="pro");if(!l.length)return a||"openai-pro";let u=l.find(d=>d.id===a)||l[0];return u?u.id:a||"openai-pro"}};function _c(){let e=document.activeElement;return e&&e.tagName==="TEXTAREA"&&"selectionStart"in e&&"selectionEnd"in e}function PP(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 l1(e){let t=e?.trim();if(t){let r=!1;return Kp.forEach(i=>{if(!i.include)return;let a=Array.from(t.matchAll(i.include));for(let o of a){let l=(o[0]||o[1]).replace(/^[^a-zA-Z0-9_-]+|[^a-zA-Z0-9_-]+$/g,"");if(i.exclude){if(!i.exclude.test(l)){r=!0;break}}else{r=!0;break}}}),r}let n=document.activeElement;return n?!h0(n):!1}function u1(e){let[t,n]=N([]),[r,i]=N(""),{t:a}=H();W(()=>{function s(){try{if(!e)return;let l=Tr(e,"translationService",e.config.interfaceLanguage,[]).filter(d=>d.ai===!0&&d.config.supportFeatures?.includes("selectionTranslation"))||[];n(l);let u=Il(e);i(u)}catch{i(e.rule.selectionTranslation?.commonService.service||"zhipu-free")}}s()},[e]);let o=X(()=>Ni(t,a).filter(s=>s.services.length>0).filter(s=>s.id!=="custom"),[t]);return{serviceItems:t,selectedService:r,setSelectedService:i,groupServices:o}}function e5(){let{settingsHookValue:e,config:t,ctx:n}=ct(),{t:r}=H();return n?c(pt,{children:c(xe.Provider,{value:e,children:[c("div",{class:"nav",children:c("strong",{class:"text-lg",children:r("selectionTranslation")})}),c("div",{class:"text-sm",children:r("selectionTranslation_description")}),c(Ote,{config:t}),c(Gte,{ctx:n}),c(_te,{config:t}),c(zte,{config:t}),c(Vte,{config:t}),c(Ute,{config:t})]})}):c("div",{children:"loading"})}function Ote({config:e}){let[t,n,r,i,a]=De(xe),{t:o}=H();return e?c(ie,{children:c("div",{class:"nav",children:[c(ke,{title:o("enableSelectionTranslationTitle")}),c("label",{for:"enableSelectionTranslation",children:c("input",{type:"checkbox",id:"enableSelectionTranslation",name:"switch",role:"switch",onChange:s=>{let l=s.target.checked;n(u=>({...u,generalRule:{...u.generalRule,"selectionTranslation.add":{...u.generalRule?.["selectionTranslation.add"],enable:l}}}))},checked:e.generalRule.selectionTranslation?.enable})})]})}):null}function _te({config:e}){let[t,n,r,i,a]=De(xe),{t:o}=H();return e?c("div",{class:"nav",children:[c(ke,{title:o("enableSelectionTranslationAutoReadTitle")}),c("label",{for:"enableSelectionTranslationAutoRead",children:c("input",{type:"checkbox",id:"enableSelectionTranslationAutoRead",name:"switch",role:"switch",onChange:s=>{let l=s.target.checked;n(u=>({...u,generalRule:{...u.generalRule,"selectionTranslation.add":{...u.generalRule?.["selectionTranslation.add"],enableAutoRead:l}}}))},checked:e.generalRule.selectionTranslation?.enableAutoRead})})]}):null}function Ute({config:e}){let[t,n,r,i,a]=De(xe),{t:o}=H(),[s,l]=N(!1),u=y=>{l(!s)},[d,g]=N(0),[m,f]=N(""),p=(y,b,v,C)=>{u(v),n(S=>{let T=S.generalRule?.["selectionTranslation.add"]?.urlPattern||void 0,w=[],E=[];T&&T.matches&&T.excludeMatches&&(w=T.matches,E=T.excludeMatches);let k=[...w],D=[...E];return C==="edit"&&(v==="matches"?k[b]=y:D[b]=y),v==="matches"?(k=Jt(y,k),D=Ut(y,E)):(k=Ut(y,w),D=Jt(y,D)),{...S,generalRule:{...S.generalRule,"selectionTranslation.add":{...S.generalRule?.["selectionTranslation.add"],urlPattern:{matches:k,excludeMatches:D}}}}})},h=(y,b)=>{n(v=>{let C=v.generalRule?.["selectionTranslation.add"]?.urlPattern||void 0,S=[];b==="matches"?C&&C.matches&&(S=C.matches):C&&C.excludeMatches&&(S=C.excludeMatches);let T=[...S];return y.forEach(w=>{T=Ut(w,T)}),{...v,generalRule:{...v.generalRule,"selectionTranslation.add":{...v.generalRule?.["selectionTranslation.add"],urlPattern:{...v?.generalRule?.["selectionTranslation.add"]?.urlPattern,[b]:T}}}}})},x=(y,b,v)=>{u(b),f(y),g(v)};return e?c(ie,{children:[c("div",{class:"nav",children:[c(ke,{title:o("selectionTranslationBlockUrlsTitle"),description:o("selectionTranslationBlockUrlsDescription")}),c("div",{class:"nav-right",children:c("a",{href:"#",role:"button",class:"add-button secondary outline",onClick:y=>{y.preventDefault(),u("excludeMatches")},children:o("add")})}),s?c(Ir,{toggleModal:y=>{y.preventDefault(),u("excludeMatches")},onSubmitAddUrl:p,type:"excludeMatches",urlValue:m,index:d}):null]}),c(qr,{urls:e.generalRule.selectionTranslation?.urlPattern?.excludeMatches||[],type:"excludeMatches",onDeleteUrl:h,onEditUrl:x})]}):null}var jte=[{name:"direct",descriptionKey:"selectionTranslationTriggerModeDescriptionForDirect"},{name:"icon",descriptionKey:"selectionTranslationTriggerModeDescriptionForIcon"},{name:"mini",descriptionKey:"selectionTranslationTriggerModeDescriptionForMini"},...pu.map(e=>({name:e,descriptionKey:"selectionTranslationShortcut"}))];function zte({config:e}){let[t,n,r,i,a]=De(xe),{t:o}=H(),s=d=>{n(g=>({...g,generalRule:{...g.generalRule,"selectionTranslation.add":{...g.generalRule?.["selectionTranslation.add"],triggerMode:d}}}))};if(!e)return null;let l=e.generalRule.selectionTranslation?.triggerMode,u=l==="direct"?o("selectionTranslationDirectModeDescription"):l==="icon"||l==="mini"?o("selectionTranslationIconModeDescription"):o("selectionTranslationShortcutDescription",{shortcut:Or(l)});return c("div",{class:"nav",children:[c(ke,{title:o("selectionTranslationTriggerModeTitle"),description:u}),c("select",{class:"select",onChange:d=>{d.preventDefault(),s(d.target.value)},children:jte.map((d,g)=>c("option",{value:d.name,selected:d.name===e.generalRule.selectionTranslation?.triggerMode,children:o(d.descriptionKey,{shortcut:Or(d.name)})},"triggerMode-"+g))})]})}var Hte=[{name:"hover",descriptionKey:"selectionTranslationTriggerModeDescriptionForHover"},{name:"click",descriptionKey:"selectionTranslationTriggerModeDescriptionForClick"}];function Vte({config:e}){let[t,n,r,i,a]=De(xe),{t:o}=H(),s=u=>{n(d=>({...d,generalRule:{...d.generalRule,"selectionTranslation.add":{...d.generalRule?.["selectionTranslation.add"],triggerModeForIcon:u}}}))};if(!e)return null;let l=e.generalRule.selectionTranslation?.triggerMode;return l!=="icon"&&l!=="mini"?null:c("div",{class:"nav",children:[c(ke,{title:o("selectionTranslationTriggerModeForIconTitle")}),c("select",{class:"select",onChange:u=>{u.preventDefault(),s(u.target.value)},children:Hte.map((u,d)=>c("option",{value:u.name,selected:u.name===e.generalRule.selectionTranslation?.triggerModeForIcon,children:o(u.descriptionKey)},"triggerModeForIcon-"+d))})]})}function Gte({ctx:e}){let[t,n,r,i,a]=De(xe),{t:o}=H(),{selectedService:s,groupServices:l,serviceItems:u}=u1(e);if(u.length===0)return null;let d=l.map(m=>({id:m.id,name:m.name,options:m.services.map(f=>({label:f.name,value:f.id,selected:f.id===s,isShowProOnly:f.config.group==="pro",isShowMaxOnly:f.config.group==="max",img:f.icon}))})),g=m=>{n({generalRule:{"selectionTranslation.add":{service:m.value}}})};return c("div",{class:"nav",children:[c(ke,{title:o("service")}),c(Fc,{items:d,onSelected:g,maxHeight:400})]})}function t5(){let{settingsHookValue:e,config:t,ctx:n}=ct(),{t:r}=H();return n?c(pt,{children:c(xe.Provider,{value:e,children:[c("div",{class:"nav",children:c("strong",{class:"text-lg",children:r("aiWriting.title")})}),c(xi,{image:`${_.R2_UPLOADS_BASE_URL}/ai_write_intro.png`,nightImage:`${_.R2_UPLOADS_BASE_URL}/ai_write_intro.png`,title:r("aiWriting.title"),description:r("aiWriting.description")}),c(Wte,{config:t}),c(qte,{config:t})]})}):c("div",{children:"loading"})}function Wte({config:e}){let[t,n,r,i,a]=De(xe),{t:o}=H();return e?c(ie,{children:c("div",{class:"nav",children:[c(ke,{title:o("aiWriting.enable"),description:o("aiWriting.enable_description")}),c("label",{for:"enableAiWriting",children:c("input",{type:"checkbox",id:"enableAiWriting",name:"switch",role:"switch",onChange:s=>{let l=s.target.checked;n(u=>({...u,generalRule:{...u.generalRule,"aiWriting.add":{...u.generalRule?.["aiWriting.add"],enable:l}}}))},checked:e.generalRule.aiWriting?.enable})})]})}):null}function qte({config:e}){let[t,n,r,i,a]=De(xe),{t:o}=H(),[s,l]=N(!1),u=y=>{l(!s)},[d,g]=N(0),[m,f]=N(""),p=(y,b,v,C)=>{u(v),n(S=>{let T=S.generalRule?.["aiWriting.add"]?.urlPattern||void 0,w=[],E=[];T&&T.matches&&T.excludeMatches&&(w=T.matches,E=T.excludeMatches);let k=[...w],D=[...E];return C==="edit"&&(v==="matches"?k[b]=y:D[b]=y),v==="matches"?(k=Jt(y,k),D=Ut(y,E)):(k=Ut(y,w),D=Jt(y,D)),{...S,generalRule:{...S.generalRule,"aiWriting.add":{...S.generalRule?.["aiWriting.add"],urlPattern:{matches:k,excludeMatches:D}}}}})},h=(y,b)=>{n(v=>{let C=v.generalRule?.["aiWriting.add"]?.urlPattern||void 0,S=[];b==="matches"?C&&C.matches&&(S=C.matches):C&&C.excludeMatches&&(S=C.excludeMatches);let T=[...S];return y.forEach(w=>{T=Ut(w,T)}),{...v,generalRule:{...v.generalRule,"aiWriting.add":{...v.generalRule?.["aiWriting.add"],urlPattern:{...v?.generalRule?.["aiWriting.add"]?.urlPattern,[b]:T}}}}})},x=(y,b,v)=>{u(b),f(y),g(v)};return e?c(ie,{children:[c("div",{class:"nav",children:[c(ke,{title:o("aiWriting.aiWritingBlockUrlsTitle"),description:o("aiWriting.aiWritingBlockUrlsDescription")}),c("div",{class:"nav-right",children:c("a",{href:"#",role:"button",class:"add-button secondary outline",onClick:y=>{y.preventDefault(),u("excludeMatches")},children:o("add")})}),s?c(Ir,{toggleModal:y=>{y.preventDefault(),u("excludeMatches")},onSubmitAddUrl:p,type:"excludeMatches",urlValue:m,index:d}):null]}),c(qr,{urls:e.generalRule.aiWriting?.urlPattern?.excludeMatches||[],type:"excludeMatches",onDeleteUrl:h,onEditUrl:x})]}):null}function n5(){let{settingsHookValue:e,config:t,ctx:n}=ct(),[r,i,a,o,s]=e,{t:l}=H(),[u,d]=N({}),[g,m]=N({});return W(()=>{Ie.sync.getAll().then(f=>{d(f)}),Ie.local.getAll().then(f=>{m(f)})},[r]),!t||!r?c("div",{children:"loading"}):c(pt,{children:c(xe.Provider,{value:e,children:c("div",{children:[c("div",{class:"nav",children:c("strong",{class:"text-lg",children:l("developer")})}),c("div",{dangerouslySetInnerHTML:{__html:l("developerDescription",{1:_.BASE_SITE+"docs/advanced/"})},class:"secondary text-xs text-gray-500 mb-4"}),c(Xte,{config:t}),c(Jte,{config:t}),c(Kte,{}),c(Qte,{}),c(Yte,{}),c(Zte,{ctx:n}),c("details",{class:"py-2",children:[c("summary",{children:"Click to expand the final config"}),c("pre",{children:c("code",{class:"code-editor",children:JSON.stringify(t,null,2)})})]}),c("details",{class:"py-2",children:[c("summary",{children:"Click to expand the sync storage object"}),c("pre",{children:c("code",{class:"code-editor",children:JSON.stringify(u,null,2)})})]}),c("details",{class:"py-2",children:[c("summary",{children:"Click to expand the local storage object"}),c("pre",{children:c("code",{class:"code-editor",children:JSON.stringify(g,null,2)})})]})]})})})}function Kte(){let[e,t,n,r,i]=De(xe),{t:a}=H(),o=u=>{try{let d=u.target.value,g={...e};if(!d)delete g.rules;else{let m=JSON.parse(d);if(!Array.isArray(m)){nt("Invalid rules, rules must be an array");return}g.rules=m}t(()=>g),ut(a("saved"))}catch(d){nt(`Invalid JSON ${d.message}`)}},s=u=>{if(u.preventDefault(),confirm(a("confirmResetConfig"))){let d={...e};delete d.rules,t(()=>d),ut(a("resetThisSuccess"))}};return c("details",{class:"py-2",children:[c("summary",{children:"Edit User Rules"}),c("textarea",{class:"user-rule code-editor",rows:15,onChange:o,placeholder:`[{
    "matches": "www.google.com",
    "selectors": [".title"]
  }, {
    "matches": "*.twitter.com",
    "selectors": [".text"],
    "excludeSelectors": ["footer"]
  }]`,spellcheck:!1,value:e.rules?JSON.stringify(e.rules||[],null,2):""}),c("div",{children:[c("a",{href:"#",class:"mr-3 !py-2",onClick:u=>u.preventDefault(),role:"button",children:a("save")}),c("a",{target:"_blank",class:"secondary text-sm mr-3",href:_.BASE_SITE+"docs/advanced/",children:[a("help"),"?"]}),c("a",{href:"#",onClick:s,class:"text-sm secondary mr-2",children:a("reset")})]})]})}function Qte(){let[e,t,n,r,i]=De(xe),{t:a}=H(),o=u=>{let d={...e};d.generalRule||(d.generalRule={}),d.generalRule={...d.generalRule,"injectedCss.add":[u.target.value||""]},t(()=>d),ut(a("saved"))},s=u=>{if(u.preventDefault(),confirm(a("confirmResetConfig"))){let d={...e};d.generalRule||(d.generalRule={}),d.generalRule={...d.generalRule},delete d.generalRule.injectedCss,t(()=>d),ut(a("resetThisSuccess"))}},l=(e.generalRule?.["injectedCss.add"]||[]).join("");return l||(l=e.generalRule?.injectedCss),c("details",{class:"py-2",children:[c("summary",{children:"Edit Injected CSS"}),c("textarea",{class:"code-editor",rows:10,onChange:o,spellcheck:!1,placeholder:".title { color: red }",value:l}),c("div",{children:[c("a",{href:"#",class:"mr-3 !py-2",onClick:u=>u.preventDefault(),role:"button",children:a("save")}),c("a",{class:"secondary text-sm mr-3",target:"_blank",href:_.BASE_SITE+"docs/advanced/",children:[a("help"),"?"]}),c("a",{href:"#",onClick:s,class:"text-sm secondary mr-2",children:a("reset")})]})]})}function Yte(){let[e,t,n,r,i]=De(xe),{t:a,setLang:o}=H(),s=async u=>{if(u.preventDefault(),confirm(a("confirmResetConfig"))){await Pc();let d=await it();t(d);let g=await We();g?.interfaceLanguage&&await o(g.interfaceLanguage),ut(a("resetSuccess"))}};return c("details",{class:"py-2",children:[c("summary",{children:"Edit Full User Config"}),c("textarea",{class:"code-editor",rows:20,onChange:u=>{try{let d=JSON.parse(u.target.value);d.DEBUG?i(d):t(()=>d),ut(a("saved"))}catch(d){nt(`Invalid JSON ${d.message}`)}},spellcheck:!1,value:JSON.stringify(e,null,2)}),c("div",{children:[c("a",{href:"#",class:"mr-3 !py-2",onClick:u=>u.preventDefault(),role:"button",children:a("save")}),c("a",{class:"secondary text-sm mr-3",target:"_blank",href:_.BASE_SITE+"docs/advanced/",children:[a("help"),"?"]}),c("a",{href:"#",onClick:s,class:"text-sm secondary mr-2",children:a("reset")})]})]})}function Zte({ctx:e}){let{t}=H(),[n,r]=N("");return W(()=>{if(!e)return;let o=(e.localConfig.customAiAssistants||[]).find(l=>l.id==="custom")||{};delete o.id,delete o.name,delete o.custom;let s=zd.dump(o||{});r(s||"")},[e]),c("details",{class:"py-2",children:[c("summary",{children:"Edit Custom AI Assistant"}),c("textarea",{class:"code-editor",rows:10,onChange:async a=>{try{let o=a.target.value,s=await gn();if(!o){s.customAiAssistants=[];let p=s.aiAssistants||[];s.aiAssistants=p.filter(h=>!h.custom),Cr(s),ut(t("saved"));return}let l=zd.load(o);l||(l={}),Object.keys(l).length>0&&(l.id||(l.id="custom"),l.name||(l.name="Custom"),l.custom=!0);let d=s.aiAssistants||[],g=s.customAiAssistants||[],m=d.findIndex(p=>p.id===l.id);m<0?d.push(l):d[m]=l;let f=g.findIndex(p=>p.id===l.id);f<0?g.push(l):g[f]=l,s.customAiAssistants=g,s.aiAssistants=d,Cr(s),ut(t("saved"))}catch(o){nt(`Invalid YAML ${o.message}`)}},spellcheck:!1,value:n})]})}function Jte({config:e}){if(!e)return null;let[t,n,r,i,a]=De(xe),{t:o}=H(),s=async l=>{await n(u=>({...u,beta:l})),Hg()};return c("fieldset",{class:"mt-2",children:[c("label",{for:"switch",children:[c("input",{type:"checkbox",id:"beta",name:"beta",role:"switch",onChange:()=>{s(!e?.beta)},checked:!!e?.beta}),o("toggleBeta")]}),c("small",{class:"text-gray-500",dangerouslySetInnerHTML:{__html:o("betaDescription")}})]})}function Xte({config:e}){if(!e)return null;let[t,n,r,i,a]=De(xe),{t:o}=H(),s=l=>{n(u=>({...u,debug:l}))};return c("fieldset",{children:c("label",{for:"switch",children:[c("input",{type:"checkbox",id:"debug",name:"debug",role:"switch",onChange:()=>{s(!e?.debug)},checked:e?.debug}),o("toggleDebug")]})})}var ga=class{accessToken;constructor(t){this.accessToken=t}async listAll(){let t=[],n="";do{let{nextPageToken:r,files:i}=await this.list(n).catch(a=>{throw a});t.push(...i),n=r||""}while(n);return t}async getConfig(t){try{return await(await fetch(`https://www.googleapis.com/drive/v3/files/${t}?alt=media`,{headers:{Authorization:`Bearer ${this.accessToken}`}})).json()}catch(n){return M.error("get config error, use default",n),{}}}async delete(t){await fetch(`https://www.googleapis.com/drive/v3/files/${t}`,{method:"DELETE",headers:{Authorization:`Bearer ${this.accessToken}`}})}findByName(t){return this.list(void 0,`name = '${t}'`)}uploadConfig(t,n=Km){let r=new Blob([JSON.stringify(t,null,2)],{type:"application/json"});return this.upload({name:n,parents:["appDataFolder"],mimeType:"application/json"},r)}updateConfig(t,n){let r=new Blob([JSON.stringify(n,null,2)],{type:"application/json"});return this.updateContent(t,r)}async upload(t,n){let r=new FormData;r.append("metadata",new Blob([JSON.stringify(t)],{type:"application/json; charset=UTF-8"})),r.append("file",n);let i=await fetch("https://www.googleapis.com/upload/drive/v3/files?uploadType=multipart",{method:"POST",headers:{Authorization:`Bearer ${this.accessToken}`},body:r});return i.ok?await i.json():Promise.reject(i.text())}async list(t,n){let r=new URL("https://www.googleapis.com/drive/v3/files");t&&r.searchParams.append("pageToken",t),n&&r.searchParams.append("q",n),r.searchParams.append("spaces","appDataFolder"),r.searchParams.append("fields","files(id,name,createdTime,modifiedTime,size)"),r.searchParams.append("pageSize","100"),r.searchParams.append("orderBy","createdTime desc");try{return M.debug("list api:",r.toString(),this.accessToken),await(await fetch(r.toString(),{headers:{Authorization:`Bearer ${this.accessToken}`}})).json()}catch(i){throw M.error("fetch google ip error",i),i}}async updateContent(t,n){return await(await fetch(`https://www.googleapis.com/upload/drive/v3/files/${t}?uploadType=media`,{method:"PATCH",headers:{Authorization:`Bearer ${this.accessToken}`},body:n})).text()}};function RP(e,t){let n=["https://www.googleapis.com/auth/drive.appdata"];return`https://accounts.google.com/o/oauth2/v2/auth?client_id=${qm}&response_type=token&redirect_uri=${encodeURIComponent(t)}&scope=${encodeURIComponent(n.join(" "))}&state=${encodeURIComponent(JSON.stringify(e))}`}function NP(e){let t=e.match(/[#?](.*)/);return!t||t.length<1?null:{access_token:new URLSearchParams(t[1].split("#")[0]).get("access_token")}}async function FP(e){let t=new ga(e),n=(await t.findByName(Km)).files;M.debug("[\u540C\u6B65\u7528\u6237\u914D\u7F6E] \u83B7\u53D6\u8FDC\u7A0B\u914D\u7F6E files",n);let r=n[0]?.id,i=null;return r&&(i=await t.getConfig(r).then(a=>({fileId:n[0]?.name,config:a}))),i}async function BP(e,t,n){await new ga(e).uploadConfig(t,n)}var $te="https://www.googleapis.com/oauth2/v3/tokeninfo",ene=qm;function OP(e){if(!e)throw"Authorization failure";let t=`${$te}?access_token=${e}`,n=new Request(t,{method:"GET"});function r(i){return new Promise((a,o)=>{i.status!=200&&o("Token validation error"),i.json().then(s=>{s.aud&&s.aud===ene?a(e):o("Token validation error")})})}return fetch(n).then(r)}function tne(e,t=!1){let n=_.REDIRECT_URL;if(typeof window<"u"&&window.location.protocol.startsWith("http")){let i=window.location.hostname,a=window.location.port;n=`${window.location.protocol}//${i}${a?`:${a}`:""}/auth-done/`}return new ks(e,n).auth(t)}function r5(e,t=!1){return tne(e,t).then(n=>n.access_token||null)}var nne="https://oauth2.googleapis.com/revoke",ks=class e{CLASSNAME="GoogleAuth";_state;_redirectUrl;constructor(t,n){this._state=t,this._redirectUrl=n}static revoke(t){let n=`${nne}?token=${t}`;return fetch(n,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then(async r=>(await e.removeAuthInfo(),Hd()&&globalThis.location.reload(),r))}static async getAuthInfo(){return Ie.local.get(cu)}static async removeAuthInfo(){return await Ie.local.remove(cu)}static setAuthInfo(t){return Ie.local.set(cu,t)}async auth(t=!1){let n=await e.getAuthInfo();if(M.debug(this.CLASSNAME,"token from cache:",n),n&&n.access_token&&await OP(n.access_token).then(a=>!0).catch(a=>!1))return Promise.resolve(n);let r=RP(this._state,this._redirectUrl);return M.debug(this.CLASSNAME,"auth url: "+r),Hd()?this.userscriptAuthWorkflow(r,t):this.extensionAuthWorkflow(r).then(i=>(e.setAuthInfo(i),i))}async userscriptAuthWorkflow(t,n){return n&&await Ie.local.set(Wd,!0),globalThis.open(t,"_self"),Promise.resolve({})}extensionAuthWorkflow(t){let n=typeof Ne<"u"&&!!Ne?.runtime?.id,r=n&&typeof Ne.windows?.create=="function",i,a=!1;return new Promise((o,s)=>{let l=()=>{n&&(Ne.tabs.onUpdated.removeListener(u),Ne.tabs.onRemoved.removeListener(d))},u=(f,p,h)=>{if(M.debug(this.CLASSNAME,"create tab onUpdated: "+h.url),i===f){let x=new URL(h.url||""),y=NP(h.url);x.pathname.startsWith("/auth-done")&&y?.access_token&&(M.debug(this.CLASSNAME,"auth done: "+h.url),o({access_token:y.access_token}),a=!0,Ne.tabs.remove(f),l())}},d=f=>{M.debug(this.CLASSNAME,"create tab onRemoved: "+f),(f===i||!a)&&(l(),s(new Error("auth failed")))},g=()=>{let f=globalThis.open(t,"google_oauth",`width=500,height=650,left=${screen.width/2-250},top=${screen.height/2-325}`);if(!f)throw new Error("Popup blocked. Please allow popups for this site.");return new Promise((p,h)=>{let x=setInterval(()=>{if(f.location.href.includes("google-auth-success")){f.close(),clearInterval(x);try{let y=localStorage.getItem("immersiveTranslateAuthState")||"",b=JSON.parse(y);o(b)}catch(y){h(y)}return}f.closed&&(clearInterval(x),h(new Error("User closed the window")))},100)})},m=()=>{if(r&&!Se().any){let f=globalThis.screen,p=f.availLeft??f.left,h=f.availTop??f.top,x=f.availWidth,y=f.availHeight,b=Math.max(400,Math.min(500,x)),v=Math.max(500,Math.min(650,y)),C=Math.max(p,Math.min(Math.round(p+(x-b)/2),p+x-b)),S=Math.max(h,Math.min(Math.round(h+(y-v)/2),h+y-v));return Ne.windows.create({url:t,type:"popup",width:b,height:v,left:C,top:S}).then(T=>{i=T.tabs?.[0]?.id})}else return Ne.tabs.create({url:t}).then(f=>{i=f.id})};try{(n?m():g()).then(()=>{n&&(Ne.tabs.onUpdated.addListener(u),Ne.tabs.onRemoved.addListener(d))}).catch(s)}catch(f){s(f)}})}};function rne(e){let{t}=H(),{accessToken:n,id:r,listAllFiles:i}=e,[a,o]=N(!1);function s(l,u){l.preventDefault(),o(!0),new ga(n).delete(u).catch(d=>{nt(t("delete"))}).then(()=>i()).finally(()=>o(!1))}return c("a",{href:"#",className:"secondary margin-left text-sm",onClick:l=>s(l,r),"aria-busy":a,children:t("delete")})}function i5(e){let{onClose:t,accessToken:n,authExpire:r,includeTerms:i}=e,{t:a}=H(),[o,s,l,u]=fn(),[d,g]=N([]),[m,f]=N(!0),[p,h]=N(!1),[x,y]=N({});W(()=>{n&&v().then(()=>f(!1))},[n]);let b=E=>{E?.target?.id===z+"-overlay"&&t()};function v(){return new ga(n).listAll().then(k=>{g(k)}).catch(k=>r())}async function C(E){if(E.preventDefault(),d.length>=10)return nt(a("maxBackupFiles",{count:10}));h(!0);let k=z+"-config-"+Uu()+".json",D={...o};if(i)try{let U=await Uc(a);U?(D.terms=U,M.debug("Including terms in Google Drive backup:",U)):M.debug("Include terms checked, but no terms data found for export.")}catch(U){M.error("Failed to get terms for Google Drive backup:",U),nt(a("terms.exportFailed")+": "+U.message)}else delete D.terms;new ga(n).uploadConfig(D,k).then(()=>(ut(a("successSyncConfig")),v())).catch(U=>{nt(a("uploadFail"))}).finally(()=>h(!1))}function S(E,k,D){E.preventDefault(),y({[D]:!0}),new ga(n).getConfig(k).then(U=>{let B=U,P={...B},O=null;B.terms&&(O=B.terms,delete P.terms),za(P,m0,s),ut(a("importSuccess")),O&&setTimeout(async()=>{try{await y0(O,a)}catch(F){nt(a("terms.importFailed")+": "+F.message)}},0)}).catch(U=>{M.error("Google Drive import error:",U),nt(a("importFail"))}).finally(()=>y({}))}function T(E,k){new ga(n).getConfig(E).then(D=>{let U=document.createElement("a");U.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(JSON.stringify(D,null,2))),U.setAttribute("download",k),U.style.display="none",document.body.appendChild(U),U.click(),document.body.removeChild(U)}).catch(D=>{M.error("download google config file failed",D),nt(a("downloadFail")+": "+D.message)})}function w(E){E.preventDefault(),s({...o,autoSync:!1}),ks.revoke(n).then(()=>t())}return c("dialog",{id:z+"-overlay",onClick:b,open:!0,children:c("article",{class:"md:w-[32rem] px-4",children:[c("a",{href:"#",title:a("clickToDownload"),"aria-label":"Close",className:"close","data-target":"modal-example",onClick:E=>{E.preventDefault(),t()}}),c("h4",{children:a("syncTitle")}),c("div",{className:"mb-4",children:d.map((E,k)=>c("div",{class:"flex flex-wrap justify-between",children:[c("div",{class:"mr-2 mb-2",children:[c("div",{children:c("a",{href:"#",onClick:D=>{D.preventDefault(),T(E.id,E.name)},class:"block truncate w-40 sm:w-auto",children:E.name.replace(z+"-","")})}),c("div",{class:"text-xs text-gray-500",children:[new Date(E.modifiedTime).toLocaleString(),",\xA0",Bg(parseInt(E.size))]})]}),c("div",{children:[c("a",{href:"#",role:"button",className:"margin-right secondary","aria-busy":x[k],disabled:x[k],onClick:D=>S(D,E.id,k),children:a("import_hint")}),c(rne,{accessToken:n,id:E.id,listAllFiles:v})]})]},"file"+k))}),c("div",{className:"flex items-center",children:[c("a",{href:"#",role:"button",className:"mr-4","data-target":"modal-example","aria-busy":p,onClick:C,disabled:m,children:a("create_new_backup")}),c("a",{href:"#",className:"secondary text-sm","data-target":"modal-example",onClick:w,disabled:m,children:a("revokeAuth")})]})]})})}var _P="custom-",Ci=[],Ll="",v0=[];async function o5(){if(v0.length)return{list:v0,syncTimestamp:Ll};try{let e=await Tt.get("v1/user/glossary-meta");return Array.isArray(e.list)&&e.list.length?(v0=e.list,Ll=e.syncTimestamp,e):{list:null,syncTimestamp:Ll}}catch{return{list:null,syncTimestamp:Ll}}}function s5(){return`${_P}${go(8)}`}async function c1(e,t=!1){Ci=(await o5())?.list||e;let n=Ci.find(i=>e.some(a=>a.id===i.id));n?Object.assign(n,e.find(i=>i.id===n.id)):Ci.push(...e),t&&(Ci=Ci.filter(i=>!e.some(a=>a.id===i.id))),Ll=Date.now()+"",v0=Ci,await Vu(Ll);let r=[];if(r.push(Tt.post("v1/user/glossary-meta",{list:ine(v0),syncTimestamp:Ll})),t)for(let i of e)r.push(one(i.id));return Ci=[],Promise.all(r)}function ine(e){return e.map(t=>{let{glossaries:n,...r}=t;return{...r}})}async function ane(e){let t=await Tt.get(`v1/user/glossary-config/${e}`);return d1(t).glossaries}async function one(e){return(await Tt.delete("v1/user/glossary-config",{metaKey:e})).data}async function l5(e,t){return(await Tt.post("v1/user/glossary-config",{metaKey:e,userGlossaryConfig:c5(t)})).data}async function UP(e=`${_.BASE_ASSETS_URL}static/terms/`){if(Ci.length>0)return Ci;let t=await fetch(e+"meta/index.json");return t.ok&&(Ci=await t.json()),Ci}async function u5(e,t){await UP(e);let n=Ci.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 jc(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 jP(e,n.id,i,r);return{glossaries:g5(a.flat()),langsHash:r}}catch{return{glossaries:[],langsHash:r}}}function a5(e){if(e==null)return"";let t=String(e);return t.includes(",")||t.includes('"')||t.includes(`
`)?`"${t.replace(/"/g,'""')}"`:t}function c5(e){let t="source,target,tgt_lng",n=e.map(r=>[a5(r.k),a5(r.v),a5(r.tl)].join(","));return`${t}
${n.join(`
`)}`}function d1(e){try{let t=e.split(`
`).filter(g=>g.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(g=>(g.split(",")[0]||"").trim()&&g.includes(",")),s=a.length!==o.length,l=o.map(g=>{let m=[],f,p=/"((?:[^"]|"")*)"|([^,]*)/g;for(;(f=p.exec(g))!==null;){let b=f[1]!==void 0?f[1].replace(/""/g,'"'):f[2];if(m.push(b.trim()),g[p.lastIndex]!==",")break;p.lastIndex++}for(;m.length<3;)m.push("");let[h,x,y]=m.slice(0,3);return{k:h,v:x,tl:y}}),u=l.filter(g=>g.k),d=s||u.length!==l.length;return{glossaries:u,hasInvalidItems:d}}catch{throw new Error("Failed to parse CSV content")}}function g1(e,t){return{name:t?.i18ns?.[e]?.name||t?.name||"",description:t?.i18ns?.[e]?.description||t?.description||""}}function d5(e,t,n,r){return{...e,[n]:r,i18ns:{...e.i18ns,[t]:{...e.i18ns?.[t],[n]:r}}}}function Dl(e){return!!e&&!e.id.startsWith(_P)}function g5(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 sne(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 jP(e,t,n,r){let i=n.map(o=>{let s=r[o]||"",l=`${e}glossaries/${t}_${o}.csv?hash=${s}`;return o=="auto"&&(l=`${e}glossaries/${t}.csv?hash=${s}`),fetch(l).then(u=>{if(!u.ok){if(u.status===404)return null;throw new Error(`[${t}] Failed to fetch ${l}: ${u.statusText}`)}return u.text()}).then(u=>{if(u===null)return[];let{glossaries:d,hasInvalidItems:g}=d1(u);return d.map(m=>({...m,tl:m.tl||o}))}).catch(u=>[])});return await Promise.all(i)}function lne(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 b0(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 m5(e,t,n=!1){if(!t.isPro)return null;let r=null;try{let i=b0(await lk()),{list:a=[],syncTimestamp:o}=await o5(),s=b0(o),l=await xo(),u=s>i;u||i>s;let d=new Map;l.forEach(x=>x.id&&d.set(x.id,x));let g=new Map;a?.forEach(x=>x.id&&g.set(x.id,x));let m=new Set([...d.keys(),...g.keys()]),f=[],p=[],h=new Set;n&&u&&d.forEach(x=>h.add(x.id));for(let x of m){let y=d.get(x),b=g.get(x);if(y&&b){n&&u&&h.delete(x);let v=b0(y.lastUserOpTime),C=b0(b.lastUserOpTime);v>C?f.push(y):C>v&&p.push(b)}else if(y&&!b)n&&u||u||f.push(y);else if(!y&&b){if(!n)continue;p.push(b)}}if(p.length>0){let x=p.map(async y=>{try{let b=await ane(y.id)||[],v=b.length?Ma(b):[],C={...y,glossaries:v};await Vr(C)}catch{}});await Promise.all(x)}if(f.length>0){let x=f.map(async b=>{try{let v=await ra(b.id),C=v?.glossaries?Ma(v.glossaries):[];await c1([b]),await l5(b.id,C)}catch{}});await Promise.all(x);let{syncTimestamp:y}=await o5();r=b0(y)}else s>=i?r=s:r=i;if(n&&u&&h.size>0){let x=Array.from(h).map(async y=>{try{await Lp(y)}catch{}});await Promise.all(x)}return r!==null&&r!==i&&await Vu(r+""),n?await xo():(await Promise.all(e.map(async y=>await ra(y.id)))).filter(y=>y!==null)}catch{return null}finally{}}async function f5(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 u5(t.termsBaseUrl,i.id);if(!s||!Dl(i))continue;let{i18ns:l}=s;if(s.id!="default"){let u=await Pa(o.i18ns||{}),d=await Pa(l||{});u!==d&&(o={...o,i18ns:l},a=!0)}if(!o.localLangsHash){a&&await Vr(o);continue}for(let u of Object.keys(o.localLangsHash))if(s.langsHash?.[u]&&o.localLangsHash[u]!=s.langsHash[u]){let{glossaries:d}=await jc(t.termsBaseUrl,[t?.targetLanguage],s),g=lne(d||[],o?.glossaries||[],o?.deleteRemoteGlossaries||[]);o.localLangsHash={...o.localLangsHash,[u]:s.langsHash?.[u]};let m={...o,glossaries:g};n.push(m),await Vr(m),a=!1;break}a&&await Vr(o)}return Ci=[],n}async function m1(e,t){let n=await xo();n.find(r=>r.id=="default")||Vr({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 m5(n,e,!0),await f5(n,e.config)}async function f1(e,t){let n=sne(await xo()||[]);n.length&&t?.(1,n);let r=await UP(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 zP(e,t,n){let r={};for(let i of n){let a=await ra(i);if(a)r[i]=a.glossaries||[];else{let o=await jP(e.termsBaseUrl,i,["auto",t],{auto:Date.now()+"",[t]:Date.now()+""});r[i]=o.flat()}}return r}function HP(e,t){let{t:n}=H(),[r,i]=N(""),[a,o]=N(""),[s,l]=N(!1);return W(()=>{let u=localStorage.getItem($s);u&&i(u)},[]),{encryptKeyErrorMsg:a,showEncryptKey:s,setShowEncryptKey:l,enableProSecretAPIKey:!!e.enableProSecretAPIKey,setEnableEncryptAPIKey:u=>{t({enableProSecretAPIKey:u}),u||(localStorage.removeItem($s),i(""))},encryptKey:r,setEncryptKey:async u=>{if(i(u),u.length<8){o(n("secretKey.placeholder"));return}o(""),localStorage.setItem($s,u),await qh(e),t({...e,enableProSecretAPIKey:!0})}}}var VP=M;function p5(){let{settingsHookValue:e,config:t,ctx:n}=ct(),[r,i,a,o,s]=e,[l,u]=Es(),d=dt(On(),"1.16.1"),{t:g}=H();return t?c(pt,{children:c("div",{class:"pb-4",children:[c("div",{class:"nav",children:c("strong",{class:"text-lg",children:g("import_export_title")})}),c(cne,{settings:r,setSettings:i}),c(une,{settings:r,setSettings:i,showTermsCheckbox:d}),!ou()&&c(mne,{settings:r,setSettings:i,localConfig:l,setLocalConfig:u,isPersistent:a,showTermsCheckbox:d}),c(fne,{ctx:n,settings:r,setSettings:i,localConfig:l,setLocalConfig:u})]})}):null}function une({settings:e,setSettings:t,showTermsCheckbox:n}){let{t:r,setLang:i}=H(),[a,o]=N(!0),s=async d=>{if(d.preventDefault(),confirm(r("confirmResetConfig"))){await Pc();let g=await it();t(g);let m=await We();m?.interfaceLanguage&&await i(m.interfaceLanguage),ut(r("resetSuccess"))}},l=d=>{d.preventDefault();let g=document.createElement("input");g.setAttribute("type","file"),g.setAttribute("accept","text/plain,application/json"),g.style.display="none",document.body.appendChild(g),g.oninput=m=>{let p=m.target.files?.[0];if(!p){document.body.removeChild(g);return}let h=new FileReader;h.onload=function(){try{let x=h.result,y=JSON.parse(x),b={...y},v=null;y.terms&&(a&&(v=y.terms),delete b.terms),m0(b),ut(r("successImportConfig")),v&&setTimeout(async()=>{try{await y0(v,r)}catch(C){nt(r("terms.importFailed")+": "+C.message)}},0)}catch(x){nt(`${r("importFail")} Invalid JSON: ${x.message}`)}finally{g.parentNode===document.body&&document.body.removeChild(g)}},h.onerror=()=>{nt(r("importFail")+": "+h.error?.message),g.parentNode===document.body&&document.body.removeChild(g)},h.readAsText(p)},g.onchange=m=>{},g.click(),setTimeout(()=>{g.parentNode===document.body&&!g.files?.length&&document.body.removeChild(g)},100)},u=async d=>{d.preventDefault();let g={...e},m="config";if(a){let f=await Uc(r);f?(g.terms=f,m="config-with-terms"):Rp(r("terms.noTermsToExport"))}if(ou())window.location.href=_.OPTIONS_URL+"#download_config?withTerms="+a;else{let f=new Blob([JSON.stringify(g,null,2)],{type:"application/json;charset=utf-8"});qs.saveAs(f,`${z}-${m}-${Uu()}.json`)}};return c(ie,{children:[c("hgroup",{class:"my-2 mt-4",children:[c("h5",{children:r("local_file")}),c("h6",{})]}),c("fieldset",{class:"my-2",children:c("label",{for:"includeTermsCheckbox",children:[c("input",{type:"checkbox",hidden:!n,id:"includeTermsCheckbox",name:"includeTermsCheckbox",checked:a,onChange:d=>o(d.target.checked)}),r("includeTermsInExport")]})}),c("div",{class:"pb-2",children:[c("a",{class:"mr-2 secondary mb-2 !text-sm",onClick:l,href:"#",role:"button",children:[Uh,r("import")]}),c("a",{href:"#",class:"secondary mr-2 mb-2 !text-sm",onClick:u,role:"button",children:[jh,r("export")]}),c("a",{href:"#",onClick:s,class:"secondary text-sm",children:r("reset")})]})]})}function cne({settings:e,setSettings:t}){let{t:n}=H(),[r,i]=N([]),[a,o]=N({}),s=re(async()=>{try{let m=await Wh();i(m)}catch(m){VP.error("[import_export] load history failed",m)}},[]);W(()=>{s()},[e,s]);let l=m=>{let f=m.updatedAt;if(!f)return"\u672A\u77E5\u65F6\u95F4";try{return jb(new Date(f).getTime())}catch{return f}},u=re((m,f)=>{za(m,m0,t),ut(n("importSuccess"))},[]),d=re(async m=>{let f=m.updatedAt;if(!f){nt("this record is missing timestamp, cannot delete");return}try{let p=await HD(f);i(p)}catch(p){VP.error("[import_export] delete history failed",p),nt("delete failed:"+p.message)}},[]),g=m=>{o(f=>({...f,[m]:!f[m]}))};return c("section",{class:"mt-3",children:[c("details",{class:"mb-4",children:[c("summary",{class:"cursor-pointer text-sm font-semibold",children:n("clickToExpandConfig")}),c("pre",{class:"mt-2",children:c("code",{children:JSON.stringify(e,null,2)})})]}),r.length>0?c("details",{class:"mt-3",children:[c("summary",{class:"cursor-pointer text-sm font-semibold",children:n("localConfigHistory")}),c(dne,{history:r,historyDetailsOpen:a,formatHistoryTime:l,onImport:u,onToggleDetail:g,onDelete:d})]}):null]})}function dne({history:e,historyDetailsOpen:t,formatHistoryTime:n,onImport:r,onToggleDetail:i,onDelete:a}){return e.length?c("ul",{class:"mt-2 space-y-2",children:e.map((o,s)=>{let l=(o.updatedAt||o.localUpdatedAt||"")+s;return c(gne,{item:o,index:s,detailKey:l,isOpen:t[l]||!1,formattedTime:n(o),onImport:r,onToggleDetail:i,onDelete:a},l)})}):null}function gne({item:e,index:t,detailKey:n,isOpen:r,formattedTime:i,onImport:a,onToggleDetail:o,onDelete:s}){let{t:l}=H();return c("li",{class:"flex flex-col rounded border px-2 py-2 text-sm",children:[c("div",{class:"flex items-center justify-between",children:[c("span",{class:"truncate pr-2 cursor-pointer",onClick:u=>{u.preventDefault(),o(n)},children:i}),c("span",{class:"flex items-center gap-2",children:[c("a",{href:"#",role:"button",className:"secondary margin-right !text-sm secondary",onClick:u=>{u.preventDefault(),a(e,t)},children:l("import_hint")}),c("a",{href:"#",className:"secondary margin-left text-sm mr-2",onClick:u=>{u.preventDefault(),s(e)},children:l("delete")})]})]}),r&&c("pre",{class:"mt-2 overflow-auto rounded bg-gray-50 p-2 text-xs",children:c("code",{children:JSON.stringify(e,null,2)})})]})}function mne({showTermsCheckbox:e,settings:t,setSettings:n,localConfig:r,setLocalConfig:i,isPersistent:a}){let{t:o}=H(),[s,l]=N(!1),[u,d]=N(!1),[g,m]=N(!1),[f,p]=N(""),[h,x]=N(!0),y=r;W(()=>{if(Hd()&&a){let E=localStorage.getItem(Wd);if(localStorage.removeItem(Wd),E){let k=globalThis.localStorage.getItem(D2);M.debug("import_export","rawAuthInfoStr",k);let D={},U={},B="";if(k){globalThis.localStorage.removeItem(D2);try{D=JSON.parse(k),U=D.state||{},B=D.access_token||""}catch(P){M.error("parse state error",P)}}if(B&&U&&(ks.setAuthInfo({access_token:B}),M.debug("import_export","Google OAuth:",D),D)){let P=D.state;M.debug("state",P),P?.mode==="auto"?(d(!0),w(B)):(m(!0),S(B))}}}},[a]);function b(){d(!0),r5({source:globalThis.location.href,mode:"auto"},!0).then(E=>{M.debug("import_export","Google OAuth:"+E),E!==null&&w(E)}).catch(E=>{E?.message.includes("Mobile web redirect")||(E?.message==="tokenValidateErrorRedirectToAuthUrl"?M.debug("tokenValidateErrorRedirectToAuthUrl, ignore"):T(E))})}function v(){m(!0),l(!1),r5({source:globalThis.location.href,mode:"manual"},!0).then(E=>{M.debug("import_export","Google OAuth:"+E),E!==null&&S(E)}).catch(E=>{E?.message.includes("Mobile web redirect")||(E?.message==="tokenValidateErrorRedirectToAuthUrl"?M.debug("tokenValidateErrorRedirectToAuthUrl, ignore"):T(E))})}function C(){p(""),b()}function S(E){p(E),m(!1),l(!0)}function T(E){d(!1),m(!1),l(!1),n({autoSync:!1}),M.error("import_export","Google OAuth error:"+E),nt(o("authFail"))}function w(E){d(!0),M.debug("sync latest with drive",E,t),p(E);let k=async(D,U,B)=>{try{let P=await FP(E),O=P?.config||{},F=P?.fileId||"",L=O?.terms,R=Al(D,O),A=A6(D,O,R);if(A==="remoteOverrideLocal")await d0(O,D),n(O,{syncToRemote:!1}),ut(o("successSyncConfig")),L&&await y0(L,o);else if(A=="remoteMergeToLocal"){let V=await Ic(D,"remote",R)||O;await d0(V,D),n(V,{syncToRemote:!1}),ut(o("successSyncConfig")),L&&await y0(L,o)}else if(A==="localMergeToRemote"){let V=await Ic(O,"local",R)||D;B&&(V.terms=U||L),c0(V),await BP(E,V,F),n(V,{syncToRemote:!1}),ut(o("successSyncConfig"))}else A=="noupdate"&&ut(o("successSyncButNoChange"));let j=await gn();i({...j,lastSyncedAt:new Date().toISOString()})}catch(P){nt(o("syncFail")+P.message)}finally{d(!1)}};if(!h){k(t,null,!1);return}Uc(o).then(D=>k(t,D,!!D)).catch(D=>k(t,null,!1))}return c("section",{class:"mt-4 mb-6",children:[c("hgroup",{class:"my-2 mt-4",children:[c("h5",{children:o("syncToGoogleDrive")}),c("h6",{class:"!text-sm mt-2",children:o("syncToCloudDescription")})]}),c("fieldset",{class:"my-2",hidden:Ue(),children:c("label",{for:"includeTerms",children:[c("input",{type:"checkbox",id:"includeTerms",name:"includeTerms",hidden:!e,checked:h,onChange:E=>x(E.target.checked)}),o("includeTermsInExport")]})}),c("div",{class:"pb-2 flex flex-row flex-wrap items-center",children:[c("a",{class:"mr-2 secondary mb-2 !text-sm",onClick:E=>{E.preventDefault(),b()},"aria-busy":u,href:"#",role:"button",children:[u?c(ie,{}):v6,o("syncToGoogleDrive")]}),c("a",{href:"#","aria-busy":g,onClick:E=>{E.preventDefault(),v()},class:"secondary text-sm",children:o("backupToCloud")})]}),c("div",{class:"text-xs text-gray-500",children:y?.lastSyncedAt&&o("lastSyncedAt",{date:new Date(y.lastSyncedAt).toLocaleString()})}),y?.lastSyncErrorMessage&&c("p",{class:"mt-2 text-xs text-red-500"}),s?c(i5,{onClose:()=>l(!1),authExpire:C,accessToken:f,includeTerms:h}):null]})}function fne({ctx:e,settings:t,setSettings:n,localConfig:r,setLocalConfig:i}){let[a,o]=N(!1),[s,l]=N(""),[u,d]=N(""),[g,m]=N(!1),f=r,{t:p}=H();if(!e?.user?.token)return null;let h=Nt(e.user);function x(){m(!0),St(e,"option_sync_config")}function y(O){m(!1),O?globalThis.open(_.GO_PRO_SYNC_CONFIG):M.debug("\u53D6\u6D88\u4F1A\u5458")}async function b(){if(!h){x();return}try{if(a)return;o(!0),d("");let O=await vi(t),F=await it();n(F,{syncToRemote:!1});let L=p("successSyncConfigToAccount");O=="noupdate"&&(L=p("syncConfigNoUpdate")),l(L)}catch(O){l(""),d(O.message)}finally{o(!1)}}let v=re(O=>{if(!h){x();return}i({...f,proAutoSync:O})},[]),C=re(O=>{if(!h){x();return}n(F=>({...F,proSyncAPIKey:O}))},[]),{showEncryptKey:S,setShowEncryptKey:T,encryptKey:w,setEncryptKey:E,enableProSecretAPIKey:k,setEnableEncryptAPIKey:D,encryptKeyErrorMsg:U}=HP(t,n),B=f?.proAutoSync!=!1,P=t?.proSyncAPIKey!=!1;return h||(B=!1,P=!1),c(ie,{children:[c("hgroup",{class:"my-2 mt-4",children:[c("h5",{children:p("syncToAccount")}),c("h6",{class:"!text-sm mt-2",children:p("syncToAccountDescription")})]}),c("fieldset",{class:"my-4",children:c("label",{for:"switch",children:[c("input",{type:"checkbox",id:"enabled",name:"enabled",role:"switch",onClick:O=>{O.preventDefault(),v(!B)},checked:B}),p("enableAutoSyncUserSettings")]})}),c("fieldset",{class:"my-4",hidden:!B,children:c("label",{for:"switch",children:[c("input",{type:"checkbox",id:"enabled",name:"enabled",role:"switch",onClick:O=>{O.preventDefault(),C(!P)},checked:P}),p("enableAutoSyncAPIKey")]})}),c("fieldset",{class:"my-4",hidden:!B,children:[c("label",{for:"switch",style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[c("input",{type:"checkbox",id:"enabled",name:"enabled",role:"switch",hidden:!B,onClick:O=>{O.preventDefault(),D(O.target.checked)},checked:k}),p("secretKey.enable")]}),c("span",{class:"text-sm text-gray-500 mt-2",dangerouslySetInnerHTML:{__html:p("secretKey.enableDescription")}}),c("div",{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[c("input",{id:"secretKey",name:"secretKey",type:S?"text":"password",style:{marginTop:10},value:w,hidden:!k,placeholder:p("secretKey.placeholder"),onChange:O=>{let F=O.target;E(F.value)}}),c("a",{className:"mr-4 secondary  mb-2 !text-sm ",href:"#",role:"button",style:{margin:"0 0 0 4px",whiteSpace:"nowrap"},hidden:!k,onClick:O=>{O.preventDefault(),T(!S)},children:p("show password")})]}),c("span",{class:"text-sm text-gray-9 mt-4 ml-1",hidden:!U,style:{color:"#D0931D"},children:U})]}),c("a",{className:"mr-4 secondary  mb-2 !text-sm ",href:"#",role:"button",onClick:async O=>{O.preventDefault();try{v(!1),await Tt.delete("v1/user/settings",{}),ut(p("deleteCloudConfig.success"))}catch(F){M.error("deleteCloudConfig error",F),nt(p("deleteCloudConfig.error"))}},children:p("deleteCloudConfig")}),c("a",{className:"mr-4 secondary  mb-2 !text-sm ",onClick:O=>{O.preventDefault(),b()},"aria-busy":a,href:"#",role:"button",children:[v6," ",p("syncToAccountButton")]}),c("p",{class:"text-xs text-gray-500 mb-2",hidden:!(!u&&s),children:s}),c("p",{class:"text-xs text-gray-500 mb-2",hidden:!(!u&&!s&&f?.accountLastSyncedAt&&h),children:p("lastSyncedAt",{date:jb(f.accountLastSyncedAt)})}),c("p",{class:"text-xs text-gray-500 mb-2",hidden:Mt()||h,children:c("span",{dangerouslySetInnerHTML:{__html:p("proRightDescription",{1:_.BASE_SITE+"pricing/?utm_source=extension&utm_medium=settings&utm_campaign=option_sync_config"})}})}),c("p",{class:"text-xs text-red-500 mb-2",hidden:!u,children:u}),g&&c(Va,{isOpen:g,closeModal:()=>y(!1),contentStyles:{padding:"24px 32px",borderRadius:"12px",maxWidth:"400px"},children:c("div",{children:[c("h4",{style:{marginBottom:"16px",marginTop:"0"},children:p("syncFail")}),c("p",{style:{marginBottom:"24px",lineHeight:"1.5"},children:p("proRightOpenPro")}),c("div",{style:{display:"flex",justifyContent:"flex-end",gap:"12px"},children:[c("button",{class:"secondary",style:{padding:12},onClick:()=>y(!1),children:p("cancel")}),c("button",{style:{padding:12},onClick:()=>y(!0),children:p("upgradeToPro")})]})]})})]})}async function Uc(e){try{let t=await xo();if(!t||t.length===0)return null;let n=[];for(let r of t)try{let i=await ra(r.id);i&&n.push({id:i.id,name:i.name,author:i.author,description:i.description,matches:i.matches,glossaries:i.glossaries,suffix:i.suffix,order:i.order,langs:i.langs,active:i.active,i18ns:i.i18ns})}catch{}return n.length===0?null:{version:1,exportedAt:new Date().toISOString(),data:n}}catch(t){return e&&nt(e("terms.exportFailed")+": "+t.message),null}}async function y0(e,t){if(!e||!e.version||!Array.isArray(e.data)){nt(t("terms.invalidFileFormat"));return}let n=e.data,r=0,i=0,a=0;for(let s of n)try{if(!s.id){a++;continue}let l=null;try{l=await ra(s.id)}catch{}if(l){let u=g5(l.glossaries||[],s.glossaries||[]),d={...s,glossaries:u,active:l.active!==void 0?l.active:s.active};await Vr(d),i++}else{let u={...s,active:s.active!==void 0?s.active:!0};await Vr(u),r++}}catch{a++}let o=t("importSuccess",{imported:r,merged:i,total:n.length});ut(o),a>0&&Np(t("termsimportFail"))}var pne="buildinConfig",hne={},p1=jD(pne,hne);var h5=class extends Error{constructor(t,n){super(`Exceeded max retry count (${n})`),this.name="RetryError",this.cause=t}},yne={multiplier:2,maxTimeout:6e4,maxAttempts:5,minTimeout:1e3};async function GP(e,t){let n={...yne,...t};if(n.maxTimeout>=0&&n.minTimeout>n.maxTimeout)throw new RangeError("minTimeout is greater than maxTimeout");let r=n.minTimeout,i;for(let a=0;a<n.maxAttempts;a++)try{return await e()}catch(o){let s=/currently.*pro.*upgrade.*max.*/i.test(o.message||"");if(o.message.includes("Request timeout")||o.message.includes("User subscription not found")||s||o.status===401)throw o;await new Promise(l=>setTimeout(l,r)),r*=n.multiplier,r=Math.max(r,n.minTimeout),n.maxTimeout>=0&&(r=Math.min(r,n.maxTimeout)),i=o}throw new h5(i,n.maxAttempts)}function Ms(e){if(!e)return e;let t=new FormData;return Object.entries(e).forEach(([n,r])=>{if(n.startsWith("base64_")){let i=ji(r);t.append(`${n.split("base64_")[1]}`,i)}else t.append(n,r)}),t}function WP(e){if(!e)return e;let t=new URLSearchParams;return Object.entries(e).forEach(([n,r])=>{if(Array.isArray(r))for(let i of r)t.append(n,i);else t.append(n,r)}),t.toString()}function zc(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 ji(e){let{mimeType:t,base64:n}=bne(e),r=atob(n),i=[],a=512;for(let s=0;s<r.length;s+=a){let l=r.slice(s,s+a),u=new Array(l.length);for(let g=0;g<l.length;g++)u[g]=l.charCodeAt(g);let d=new Uint8Array(u);i.push(d)}return new Blob(i,{type:t})}function bne(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 vne=30*60*1e3,mHe=60*1e3,xne=5e3,Cne={api2:"api2","test-api2":"api2",aigw1:"aigw1",analytics:"analytics",config:"config",ai:"ai","lang-detect":"lang-detect",s:"s"},y5=new Map;function Tne(e){return e&&Cne[e]||null}function QP(e,t){return tl(e?.managedHostFallbacks?.[t])}function Sne(e){return e.join(",")}function wne(e){let{config:t,localConfig:n,subdomain:r,currentHostName:i}=e;return tl([...QP(t,r),n?.managedHostProbes?.[r]?.hostName,i,Zi()].filter(Boolean))}function Ene(e){return!!e&&Date.now()-e<vne}async function Ane(e){let t=pf(e,[Zi(),"immersivetranslate.com","immersivetranslate.cn","imtintl.com"]);if(!t)return null;let n=Tne(t.subdomain);if(!n)return null;let r=await We(),i=await Sn(),a=wne({config:r,localConfig:i,subdomain:n,currentHostName:t.hostName}),o=pf(e,a);return o?{config:r,localConfig:i,managedHostNames:a,managedSubdomain:n,parsed:o}:null}async function h1(e,t,n,r,i=!1){let a=QP(t,r),o=Sne(a),s=a[0]||Zi(),l=n.managedHostProbes?.[r],u=l?.hostName,d=l?.hostNamesSignature===o,g=a.includes(u||"")?u:s;if(a.length<=1||d&&g===l?.hostName&&!i&&Ene(l?.checkedAt))return{fallbackHostNames:a,selectedHostName:g,primaryHostName:s,localConfig:n};let m=await kne(a,g,r,e),f=Date.now();return(l?.hostName!==m||l?.checkedAt!==f||l?.hostNamesSignature!==o)&&await mr({...n,managedHostProbes:{...n.managedHostProbes||{},[r]:{hostName:m,checkedAt:f,hostNamesSignature:o}}}),{fallbackHostNames:a,selectedHostName:m,primaryHostName:s,localConfig:n}}async function kne(e,t,n,r){let i=y5.get(n);if(i)return await i;let a=(async()=>{let o=[t,...e.filter(l=>l!==t)],s=_.BASE_API.startsWith("https://test-api2.")?"test-api2":"api2";for(let l of o){let u=`https://${s}.${l}/connectivity_check`,d;try{let g=new AbortController;if(d=setTimeout(()=>g.abort(),xne),(await r(u,{method:"GET",signal:g.signal})).status===434)return l}catch{}finally{d!==void 0&&clearTimeout(d)}}return e[0]||Zi()})();y5.set(n,a);try{return await a}finally{y5.delete(n)}}async function Mne(e,t,n){let{parsed:r,config:i,localConfig:a,managedSubdomain:o}=n,{fallbackHostNames:s,selectedHostName:l}=await h1(t,i,a,o),u=s.includes(l)?l:s[0];if(!u||r.hostName===u)return e;let d=new URL(e);return d.hostname=`${r.subdomain}.${u}`,d.toString()}function qP(e,t,n){n?.parsed&&h1(t,n.config,n.localConfig,n.managedSubdomain).then(()=>{h1(t,n.config,n.localConfig,n.managedSubdomain,!0).catch(i=>{M.debug("async managed host probe failed",i)})}).catch(i=>{M.debug("read managed host probe state failed",i)})}async function YP(e,t=fetch){let n=await We(),r=await Sn();await h1(t,n,r,e)}async function b5(e){let t;if(e&&e.retry&&e.retry>0)try{t=await GP(KP.bind(null,e),{multiplier:2,maxAttempts:e.retry})}catch(n){throw n&&n.name==="RetryError"&&n.cause?n.cause:n}else t=await KP(e);return t}async function KP(e){e.body;let{url:t,responseType:n,requestType:r,...i}=e;n||(n="json"),r||(r="json"),i={mode:"cors",...i},r=="formData"?i.body=Ms(e.body):r=="urlSearchParams"?i.body=WP(e.body):r=="blob"&&e.body&&(i.body=ji(e.body));let a=!0;e.fetchPolyfill&&(a=!1);let o=e.fetchPolyfill||fetch,s=await Ane(t);t=s?await Mne(t,o,s):t;let l=3e4,u;if(e.timeout&&(l=e.timeout),a&&!e.signal){let g=new AbortController,m=g.signal;u=setTimeout(()=>{g.abort()},l),i.signal=m}let d;try{d=await o(t,i)}catch(g){M.debug("fetch error",t,g),qP(t,o,s||void 0);let m=g.message||"Unknown Error";throw g.name==="AbortError"&&!e.signal&&(m=`Request timeout after ${l}ms`),new J("fetchError",m).initNetWork(-999).initStack(g.stack)}finally{u!==void 0&&(clearTimeout(u),u=void 0)}try{if(d.ok&&d.status>=200&&d.status<400){if(n=="HEAD"){if(d.url!==t)throw new J("fetchError","redirect url:"+d.url);return d.statusText}if(n==="json")return await d.json();if(n==="text")return await d.text();if(n==="raw"){let g=await d.text(),m=Object.fromEntries([...d.headers.entries()]),f=d.url;return f||(d.headers.get("X-Final-URL")?f=d.headers.get("X-Final-URL"):f=t),{body:g,headers:m,status:d.status,statusText:d.statusText,url:f}}else if(n==="base64"){let g=await d.blob(),m=new FileReader,f=new Promise((p,h)=>{m.onload=function(){let x=m.result;p(x)},m.onerror=function(){h(m.error)}});return m.readAsDataURL(g),f}else if(n==="stream"){let g=nb({onEvent:f=>{e.onMessage?.(f)},onError:f=>{M.debug("sseParser error",f),e.onError?.(new J("fetchError",f.message))}}),m=d?.body?.getReader();if(!m){e.onError?.(new J("fetchError","stream reader not found"));return}try{for(;;){let{done:f,value:p}=await m.read();if(f)break;let h=new TextDecoder().decode(p);g.feed(h)}}catch(f){if(f.name==="AbortError"){e.onFinish?.("request aborted");return}e.onError?.(f)}finally{e.onFinish?.("stream finished"),m.releaseLock()}}}else{let g;try{g=await d.text()}catch(x){M.error("parse response failed",x)}g&&M.error(`fail response: ${t} `,g);let m="";g&&(m=g.slice(0,500));let f=m,p=new URL(t),h=!!s?.managedHostNames.some(x=>p.hostname===x||p.hostname.endsWith(`.${x}`));throw t.endsWith("edge.microsoft.com/translate/auth")&&(f="bingAuth:"+m),h&&/translation quota.*reached/.test(m)&&(f="NewProQuota:"+m),qP(t,o,s||void 0),new J("fetchError",f).initNetWork(d.status)}}catch(g){throw d.ok&&g.message.includes(`Unexpected token '<', "<!DOCTYPE "... is not valid JSON`)&&s&&(await o(`${_.BASE_API}connectivity_check`,i)).status!==434?new J("fetchError",de("error.immersiveDomainAccessFailed")).initNetWork(d.status):g instanceof J?g:new J("fetchError",g.message).initNetWork(g.status)}}function ZP(e,t=2e3){return n=>{let r,i=0;return a=>{++i==e&&(n(a),i=0),clearTimeout(r),r=setTimeout(()=>i=0,t)}}}var Ine=_.OSS_BASE+"assets/uploads/full-intro-zh-CN-rYaxVV.mp4",Lne=_.OSS_BASE+"assets/uploads/full-intro-zh-TW-TQk3WC.mp4",Dne=_.OSS_BASE+"assets/uploads/full-intro-en-NlkG5c.mp4",v5={"zh-CN":{poster:_.OSS_BASE+"static/official-static/assets/price/video-poster-zh-Hans.png",src:Ine},"zh-TW":{poster:_.OSS_BASE+"assets/r2-uploads/video-poster-zh-TW2-qcLrFyk-pK_aF4QG.png",src:Lne},en:{poster:_.OSS_BASE+"static/official-static/assets/price/video-poster-en.png",src:Dne}},Pne=new Set(["zh-TW","zh-HK","zh-MO","zh-Hant"]),JP="?v=2";function x5(){let{t:e,lang:t}=H(),[n,r]=N(null),[i,a]=N(e("calculating")+"..."),[o,s]=N(null),[l,u]=N(null),[d,g]=N(""),[m,f]=N(!1),[p,h]=N(!1),[x,y]=N(null),{settingsHookValue:b,config:v,ctx:C}=ct(),[S,T,w,E,k]=b,[D,U]=N(!1),[B,P]=p1(),O=On(),F=X(()=>({...v?.sensitiveConfig??{},...S?.sensitiveConfig??{}}),[v,S]),L=X(()=>Cn()?!1:F.telemetry??!0,[F]),R=re(async fe=>{g(""),f(!1);try{let ze=fe??await b5({url:_.buildinConfigSyncUrl});if(!ze)throw new Error(e("canNotFetchRemoteRule"));s(ze),P(ze),u(!1),f(!0),r(ze.buildinConfigUpdatedAt)}catch(ze){let Ee=ze instanceof Error?ze.message:e("unknownError");g(Ee),u(null)}},[P,e]);W(()=>{if(!C||!v)return;let fe=!1;return r(v.buildinConfigUpdatedAt),h(!1),g(""),u(null),(async()=>{try{let Ee=await b5({url:_.buildinConfigSyncUrl});if(fe)return;if(s(Ee),Ee.resaleVersion&&y(dt(O,Ee.resaleVersion)),!dt(O,Ee.minVersion)){h(!0),u(null);return}let Xe=new Date(v.buildinConfigUpdatedAt);new Date(Ee.buildinConfigUpdatedAt)>Xe?(u(!0),await R(Ee)):u(!1)}catch(Ee){if(fe)return;let tt=Ee instanceof Error?Ee.message:e("unknownError");u(null),g(tt)}})(),RD().then(Ee=>{fe||a(Ee)}),()=>{fe=!0}},[C,v,O,R,e]),W(()=>{v&&So(v)},[v,n]);let A=re(()=>{T(fe=>{let ze=!fe.alpha;return ut(e(ze?"enableAlphaSuccess":"disableAlphaSuccess")),{...fe,alpha:ze}})},[T,e]),j=re(fe=>{fe.preventDefault(),fe.stopPropagation(),U(!0),ws().then(()=>{U(!1),ut(e("cleanSuccess")),a("0 B")}).catch(ze=>{U(!1);let Ee=ze instanceof Error?ze.message:String(ze);nt(Ee)})},[e]),V=re(fe=>{T({enabled:fe})},[T]),G=re(fe=>{T({isEnableGuideTips:fe})},[T]),K=re(fe=>{T({isEnableNotification:fe})},[T]),q=re(fe=>{T({cache:fe})},[T]),Z=re(fe=>{!fe&&C&&ae({key:"telemetry_disabled",ctx:C}),T({sensitiveConfig:{telemetry:fe}})},[C,T]),ne=X(()=>Rne(t),[t]),Y=re(fe=>{fe.preventDefault(),mi(`${_.BASE_SITE}changelog/`)},[]),oe=re(fe=>{fe.preventDefault(),mi(`${_.BASE_SITE}changelog/`)},[]),Me=re(fe=>{fe.preventDefault(),mi(_.BASE_SITE)},[]),Ce=X(()=>!v||!Mt()?!0:v.generalRule.showSponsorOnSafari,[v]),ue=Ue(),ge=ue?"aboutIntro":"aboutIntroCOM";Ce||(ge=ue?"aboutIntroWithoutSponsor":"aboutIntroWithoutSponsorCOM");let me=X(()=>e(ge,{1:_.BASE_SITE+"docs/thanks/",2:_.BASE_SITE+"docs/donate/",3:"https://twitter.com/immersivetran",5:`https://${Js}.substack.com`,6:_.BASE_SITE+"pricing/?utm_source=extension&utm_medium=extension&utm_campaign=about_page",7:_.BASE_SITE+"pricing/?utm_source=extension&utm_medium=extension&utm_campaign=about_page",8:`mailto:support@${_.HOST_NAME}`,9:`https://www.youtube.com/@${Js}_tw`,10:"https://x.com/immersivetrans"}),[e,ge]),he=v?.interfaceLanguage||"",te=ue&&he==="zh-CN",Re=_p(he),ye=v?!Re:!1,ce=X(()=>ZP(7)(A),[A]),se=!Ae(!0)&&!!i,we=new Date().getFullYear(),qe=ue?t==="zh-CN":!0;return v?c(pt,{children:c("div",{class:"text-sm",children:[c(zne,{title:e("about"),versionLabel:vu(v),onTitleClick:ce,onVersionClick:Y}),c(Une,{isLatestVersion:x,latestVersion:o?.releaseVersion||""}),c(Hne,{enabled:v.enabled??!1,guideTips:v.isEnableGuideTips??!1,notification:v.isEnableNotification??!1,cache:v.cache,telemetry:L,t:e,onEnabledChange:()=>V(!v.enabled),onGuideChange:()=>G(!v.isEnableGuideTips),onNotificationChange:()=>K(!v.isEnableNotification),onCacheChange:()=>q(!v.cache),onTelemetryChange:()=>Z(!L)}),c(Vne,{visible:se,label:e("cacheSize"),cacheSize:i,isCleaning:D,cleaningLabel:e("cleaning"),cleanLabel:e("cleanCache"),onClean:j}),c(Yne,{syncErrorMessage:d,isInvalidLocalVersion:p,remoteConfig:o,isNeedUpdate:l,isSyncSuccess:m,localBuildinConfigUpdatedAt:n,handleSyncing:()=>R()}),c(Gne,{hidden:ue,html:me}),c(Wne,{showMainlandContacts:!!te,showTraditionalContacts:!!Re,t:e}),c(qne,{t:e,isShowPricing:Ce,showSubscribeEmail:ye,isCN:ue,video:ne,onChangelogClick:oe,onHomepageClick:Me}),qe&&c(Qne,{content:e(ue?"about.footerNoticeCn":"about.footerNoticeGlobal",{thisYear:we})})]})}):null}var Rne=e=>Pne.has(e)?v5["zh-TW"]:e.startsWith("zh")?v5["zh-CN"]:v5.en,Nne=({date:e})=>{let{t}=H();return c("p",{class:"text-sm",children:[t("The local rules are up to date")," ",new Date(e).toLocaleString()]})},Fne=({date:e})=>{let{t}=H();return c("p",{class:"text-sm",children:[t("Successfully synchronized with the latest official rules:")," ",new Date(e).toLocaleString()]})},Bne=()=>{let{t:e}=H();return c("p",{class:"text-sm","aria-busy":!0,children:[e("Checking for updates"),"..."]})},One=()=>{let{t:e}=H();return c("p",{class:"text-sm",children:[e("Rules are being synchronized"),"..."]})},_ne=({minVersion:e})=>{let{t}=H();return c("p",{class:"text-sm",children:t("localVersionIsTooOld",{minVersion:e})})},Une=({isLatestVersion:e,latestVersion:t})=>{let{t:n}=H(),r=Ue();return e==null||e?c(ie,{children:c("p",{class:"text-sm",children:r?"\u5F53\u524D\u6269\u5C55\u662F\u6781\u901F\u7248\u3002":n("overseaPlugin")})}):c(ie,{children:c("p",{class:"text-sm",children:[Ue()?"\u5F53\u524D\u6269\u5C55\u662F\u6781\u901F\u7248\u3002":n("overseaPlugin")," ",n("foundNewVersion"),":"," ",c("a",{href:_.GitHub_BASE+"releases",children:t})]})})},jne=({message:e,handleSyncing:t,date:n})=>{let{t:r}=H();return c("p",{class:"text-sm",children:[r("failToSyncRules")," ",c("a",{onClick:t,children:r("retry")}),c("br",{}),r("failedReason"),"\uFF1A",e,c("br",{}),r("currentRuleVersion"),"\uFF1A",n]})},zne=({title:e,versionLabel:t,onTitleClick:n,onVersionClick:r})=>c(ie,{children:[c("div",{class:"nav",children:c("strong",{onClick:n,class:`text-lg ${z}-no-select`,children:e})}),c("p",{style:{cursor:"pointer"},class:`mb-2 ${z}-no-select`,onClick:r,children:t})]}),x0=({id:e,label:t,tooltip:n,checked:r,onChange:i})=>c("fieldset",{children:c("label",{for:e,children:[c("input",{type:"checkbox",id:e,name:e,role:"switch",onChange:i,checked:r}),t,n&&c(Ye,{containerStyle:{display:"inline-flex"},text:n??"",maxWidth:300,width:300,class:"ml-1",multiple:!0,enableMobile:!0,children:c(Ss,{})})]})}),Hne=({enabled:e,guideTips:t,notification:n,cache:r,telemetry:i,t:a,onEnabledChange:o,onGuideChange:s,onNotificationChange:l,onCacheChange:u,onTelemetryChange:d})=>c(ie,{children:[c(x0,{id:"toggle-enabled",label:a("enabledExtension"),checked:!!e,onChange:o}),c(x0,{id:"toggle-guide",label:a("about.enableGuideTips"),checked:!!t,onChange:s}),c(x0,{id:"toggle-notification",label:a("about.enableNotification"),checked:!!n,onChange:l}),c(x0,{id:"toggle-cache",label:a("allowCacheTranslations"),checked:!!r,onChange:u}),c(x0,{id:"toggle-telemetry",label:a("label.telemetryEnabled"),tooltip:a("description.telemetryEnabled"),checked:!!i,onChange:d})]}),Vne=({visible:e,label:t,cacheSize:n,isCleaning:r,cleaningLabel:i,cleanLabel:a,onClean:o})=>e?c("p",{class:"text-sm",children:[t,"\xA0",n,"\xA0",r?c("span",{children:[i,"..."]}):c("a",{class:"text-sm",href:"#",onClick:o,children:a})]}):null,Gne=({hidden:e,html:t})=>c("blockquote",{class:"text-sm",hidden:e,dangerouslySetInnerHTML:{__html:t}}),Wne=({showMainlandContacts:e,showTraditionalContacts:t,t:n})=>{if(!e&&!t)return null;let r=Ue()?_.OSS_BASE+"assets/uploads/wechat-contact-cn.png":_.OSS_BASE+"assets/uploads/wechat-contact-com.png";return e?c("div",{class:"flex items-center justify-center",children:[c("div",{class:"flex flex-col items-center",children:[c("img",{width:"125",src:_.OSS_BASE+"assets/uploads/wechat-qrcode.png"+JP,alt:"wechat contact"}),c("div",{class:"text-sm",children:n("wechatPublicAccount")})]}),c("div",{class:"w-16"}),c("div",{class:"flex flex-col items-center",children:[c("img",{width:"125",src:r+JP,alt:"qq channel contact"}),c("div",{class:"text-sm text-center",children:n("customerServiceWeChat")})]})]}):c("div",{class:"flex flex-col items-center justify-center",children:[c("div",{class:"flex flex-col items-center",children:[c("img",{width:"120",src:_.OSS_BASE+"assets/r2-uploads/Line-QRCode.jpeg",alt:"Line contact"}),c("div",{class:"text-sm mb-2",children:"Line"})]}),c("div",{class:"text-xs text-center space-y-1",children:[c("div",{children:c("a",{href:"https://line.me/R/ti/p/@645ymweu",class:"secondary",target:"_blank",children:"\u9EDE\u64CA\u52A0\u5165 Line"})}),c("div",{class:"text-gray-500",children:"Line ID: @immersivetranslate"})]})]})},qne=({t:e,isShowPricing:t,showSubscribeEmail:n,isCN:r,video:i,onChangelogClick:a,onHomepageClick:o})=>c("ul",{class:"text-sm ml-4",children:[c("li",{children:c("a",{class:"secondary",href:_.GitHub_BASE+"issues",children:e("feedback")})}),c("li",{children:c("a",{class:"secondary",href:_.BASE_SITE+"changelog/",onClick:a,children:e("changelog")})}),c("li",{children:c("a",{class:"secondary",href:_.BASE_SITE,onClick:o,children:e("projectHomepage")})}),t&&!1,n&&c("li",{children:c("a",{class:"secondary",href:"https://immersivetranslate.substack.com/",children:e("subscribeEmail")})}),c("li",{children:c("a",{class:"secondary",href:`https://s.${_.S_HOST_NAME}/license/THIRD_PARTY_NOTICES_plugin.html`,children:e("thirdPartyNotices")})}),c(Kne,{hidden:r,label:e("watchIntroVideo"),video:i})]}),Kne=({hidden:e,label:t,video:n})=>c("li",{hidden:e,children:[t,c("div",{class:"my-4 flex justify-center",children:c("video",{controls:!0,width:"400",poster:n.poster,src:n.src,style:"border-radius: 38px;"})})]}),Qne=({content:e})=>c("div",{class:"text-center my-6",style:{color:"rgb(117, 117, 117)"},children:e}),Yne=({syncErrorMessage:e,isInvalidLocalVersion:t,remoteConfig:n,isNeedUpdate:r,isSyncSuccess:i,localBuildinConfigUpdatedAt:a,handleSyncing:o})=>e?c(jne,{handleSyncing:o,message:e,date:a||""}):t?c(_ne,{minVersion:n?.minVersion||""}):r===null?c(Bne,{}):r===!0?c(One,{}):i&&a?c(Fne,{date:a}):a?c(Nne,{date:a}):null;function Zne(e){let{t}=H(),{visible:n,title:r,content:i,okText:a,cancelText:o,onConfirm:s,onCancel:l}=e;return n?c(Va,{isOpen:n,closeModal:l,contentStyles:{padding:"24px 32px",borderRadius:"12px",maxWidth:"520px"},children:c("div",{class:"flex flex-col gap-4",children:[r?c("h3",{class:"m-0",children:r}):null,i?c("div",{class:"text-sm leading-6 opacity-90",children:i}):null,c("div",{class:"flex items-center justify-end gap-3 mt-2",children:[c("button",{class:"full-button secondary cancel",onClick:l,children:o||t("cancel")}),c("button",{class:"full-button confirm",onClick:s,children:a||t("continue")})]})]})}):null}var XP=Zne;var Jne=rh();function C5(){let{settingsHookValue:e,config:t,ctx:n}=ct(),[r,i,a,o,s]=e,l=t?.translationMode==="dual",{t:u,setLang:d}=H();if(!t||!n)return c("div",{children:"loading"});let g=(m,f)=>{let p=h=>u(`${f}.translation.${h}`);return m?{matchKey:"translationMatches",title:p("title"),description:p("description")}:{matchKey:"dualMatches",title:p("dual.title"),description:p("dual.description")}};return c(pt,{children:c(xe.Provider,{value:e,children:c("div",{class:"pb-32",children:[c("div",{class:"nav",children:c("strong",{class:"text-lg",children:u("advanced")})}),c($ne,{config:t,ctx:n}),c(ere,{config:t}),c(Xne,{config:r,setSettings:i}),c(tre,{ctx:n}),c(nre,{ctx:n}),c(rre,{config:t}),c(are,{config:t}),c(ire,{config:t}),c(ore,{config:t}),c(pre,{config:t}),c(sre,{config:t}),c(fre,{config:t}),c(mre,{}),c(lre,{config:t}),c(ure,{config:t}),c(cre,{config:t}),c(dre,{config:t,ctx:n,...g(l,"translationModeLang")}),c(gre,{config:t,...g(l,"translationModeUrl")}),c(hre,{config:t}),c(vre,{config:t,ctx:n}),c(yre,{config:t})]})})})}function Xne(e){let{config:t,setSettings:n}=e,{t:r}=H();if(!t?.generalRule?.glossaries)return null;let i=re(({tag:a,index:o,action:s})=>{n(l=>{let u=l.generalRule?.glossaries||t.generalRule.glossaries,d=u,g=u.find(m=>m.k===a);return s==="add"&&!g&&(d=[...u,{k:a}]),s==="remove"&&(d=u.filter((m,f)=>f!==o)),{...l,generalRule:{...l.generalRule,glossaries:d}}})},[t]);return t?c(ie,{children:c("div",{class:"nav",children:c(ke,{title:r("neverTranslateText.title"),description:r("neverTranslateText.description")})})}):null}function $ne({config:e,ctx:t}){let{t:n}=H(),[r,i,a,o,s]=De(xe);return c("div",{class:"nav",children:[c(ke,{title:n("paragraphMinTextCountField"),description:n("paragraphMinTextCountDesc")}),c("label",{for:"count",children:c("input",{type:"number",id:"count",onChange:l=>{i(u=>{let d=u.generalRule||{},g=parseInt(l.target.value);if(g===0)d={...d,paragraphMinTextCount:1,paragraphMinWordCount:1};else{let m=2,f=Math.floor(g/2);f>2&&(m=f),d={...d,paragraphMinTextCount:g,paragraphMinWordCount:m}}return{...u,generalRule:d}})},name:"count",value:e.generalRule.paragraphMinTextCount,placeholder:"Text Length",required:!0})})]})}function ere({config:e}){let{t}=H(),[n,r,i,a,o]=De(xe);return c("div",{class:"nav",children:[c(ke,{title:t("beforeCharacters")}),c("label",{for:"count",children:c("input",{type:"number",id:"count",onChange:s=>{let l=s.target.value;r(u=>({...u,immediateTranslationTextCount:parseInt(l)}))},name:"count",value:e.immediateTranslationTextCount,placeholder:"Text Length",required:!0})})]})}function tre({ctx:e}){let{t}=H(),[n,r,i,a,o]=De(xe);return c("div",{class:"nav",children:[c(ke,{title:t("enableLineBreak"),description:t("enableLineBreakDescription")}),c("label",{for:"switch",children:c("input",{type:"checkbox",onChange:s=>{let l=s.target.checked;r(u=>{let d=u.generalRule||{};return{...u,generalRule:{...d,lineBreakMaxTextCount:l?280:0}}})},checked:e.rule.lineBreakMaxTextCount>0,id:"switch",name:"switch",role:"switch"})})]})}function nre({ctx:e}){let{t}=H(),[n,r,i,a,o]=De(xe);return e.rule.lineBreakMaxTextCount<=0?null:c("div",{class:"nav",children:[c(ke,{title:t("lineBreakMaxTextCount")}),c("label",{for:"count",children:c("input",{type:"number",id:"count",onChange:s=>{let l=s.target.value;r(u=>{let d=u.generalRule||{};return{...u,generalRule:{...d,lineBreakMaxTextCount:parseInt(l)}}})},name:"count",value:e.rule.lineBreakMaxTextCount,placeholder:"Text Length",required:!0})})]})}function rre({config:e}){let{t}=H(),[n,r,i,a,o]=De(xe);return c("div",{class:"nav",children:[c(ke,{title:t("translate to the bottom of the page"),description:t("translateToThePageEndImmediatelyDescription")}),c("label",{for:"translateToThePageEndImmediatelyDescription",children:c("input",{type:"checkbox",onChange:s=>{let l=s.target.checked;r(u=>({...u,translationStartMode:l?"immediate":"dynamic"}))},checked:e.translationStartMode==="immediate",id:"translateToThePageEndImmediatelyDescription",name:"switch",role:"switch"})})]})}function ire({config:e}){let{t}=H(),[n,r,i,a,o]=De(xe);return c("div",{class:"nav",children:[c(ke,{title:t("translationPosition"),description:t("translationPositionDescription")}),c("label",{for:"translationPosition",children:c("input",{type:"checkbox",onChange:s=>{let l=s.target.checked;r(u=>({...u,translationPosition:l?"before":"after"}))},checked:e.translationPosition==="before",id:"translationPosition",name:"switch",role:"switch"})})]})}function are({config:e}){let{t}=H(),[n,r,i,a,o]=De(xe);return Ae(!0)?null:c("div",{class:"nav",children:[c(ke,{title:t("isShowContextMenu"),description:t("isShowContextMenu.description")}),c("label",{for:"isShowContextMenu",children:c("input",{type:"checkbox",onChange:s=>{let l=s.target.checked;zg({...e,isShowContextMenu:l}),r(u=>({...u,isShowContextMenu:l}))},checked:e.isShowContextMenu===!0,id:"isShowContextMenu",name:"switch",role:"switch"})})]})}function ore({config:e}){let{t}=H(),[n,r,i,a,o]=De(xe);return c("div",{class:"nav",children:[c(ke,{title:t("translate all areas of the page"),description:t("translationAreaDescription")}),c("label",{for:"translationAreaDescription",children:c("input",{type:"checkbox",id:"translationAreaDescription",name:"switch",role:"switch",onChange:s=>{let l=s.target.checked;r(u=>({...u,translationArea:l?"body":"main"}))},checked:e.translationArea==="body"})})]})}function sre({config:e}){let{t}=H(),[n,r,i,a,o]=De(xe);return c("div",{class:"nav",children:[c(ke,{title:t("isTranslateTitle"),description:t("isTranslateTitleDescription")}),c("label",{for:"isTranslateTitle",children:c("input",{type:"checkbox",id:"isTranslateTitle",name:"isTranslateTitle",role:"switch",onChange:s=>{let l=s.target.checked;r(u=>({...u,generalRule:{...u.generalRule,isTranslateTitle:l}}))},checked:e.generalRule?.isTranslateTitle})})]})}function lre({config:e}){let{t}=H(),[n,r,i,a,o]=De(xe);return c("div",{class:"nav",children:[c(ke,{title:t("loadingThemeTitle"),description:t("loadingThemeDescription")}),c("select",{class:"select",onChange:s=>{r(l=>({...l,loadingTheme:s.target.value}))},children:[c("option",{value:"spinner",selected:e.loadingTheme==="spinner",children:t("loadingTheme.spinner")}),c("option",{value:"text",selected:e.loadingTheme==="text",children:t("loadingTheme.text")}),c("option",{value:"none",selected:e.loadingTheme==="none",children:t("loadingTheme.none")})]})]})}function ure({config:e}){let{t}=H(),[n,r,i,a,o]=De(xe),[s]=p1();return s.generalRule?c("div",{class:"nav",children:[c(ke,{title:t("translationLineBreakSettingTitle"),description:t("translationLineBreakSettingDescription",{count:s.generalRule.blockMinTextCount})}),c("select",{class:"select",onChange:l=>{r(u=>{let d=u.generalRule||{};return parseInt(l.target.value)===0?d={...d,blockMinTextCount:0,blockMinWordCount:0}:d={...d,blockMinTextCount:s.generalRule.blockMinTextCount,blockMinWordCount:s.generalRule.blockMinWordCount},{...u,generalRule:d}})},children:[c("option",{value:32,selected:e.generalRule.blockMinTextCount>0,children:t("smartLineBreak")}),c("option",{value:0,selected:e.generalRule.blockMinTextCount===0,children:t("alwaysLineBreak")})]})]}):null}function cre({config:e}){let{t}=H(),[n,r,i,a,o]=De(xe);return c("div",{class:"nav",children:[c(ke,{title:t("tempTranslateDomainTitle"),description:t("tempTranslateDomainDescription")}),c("select",{class:"select",onChange:s=>{r(l=>({...l,tempTranslateDomainMinutes:parseInt(s.target.value)}))},children:[c("option",{value:0,selected:e.tempTranslateDomainMinutes===0,children:t("disabled")}),c("option",{value:5,selected:e.tempTranslateDomainMinutes===5,children:t("xMinutes",{count:5})}),c("option",{value:10,selected:e.tempTranslateDomainMinutes===10,children:t("xMinutes",{count:10})}),c("option",{value:15,selected:e.tempTranslateDomainMinutes===15,children:t("xMinutes",{count:15})}),c("option",{value:30,selected:e.tempTranslateDomainMinutes===30,children:t("xMinutes",{count:30})}),c("option",{value:60,selected:e.tempTranslateDomainMinutes===60,children:t("xMinutes",{count:60})})]})]})}function dre({ctx:e,config:t,matchKey:n,title:r,description:i}){let{t:a}=H(),[o,s,l,u,d]=De(xe),g=n==="dualMatches"?"translationMatches":"dualMatches",m=X(()=>n=="dualMatches"?t?.translationModeLanguagePattern?.[n]||[]:Hb(e),[t,e,n]),f=(p,h)=>{s(x=>{let y=x.translationModeLanguagePattern,b=y?.[n]||[],v=y?.[g]||[],C=[...b];p?C=Array.from(new Set([...C,h])):C=C.filter(E=>E!==h);let S=v.filter(E=>E!==h),T={...x,isChangedAlwaysTranslatedUrls:!0,translationModeLanguagePattern:{...x.translationModeLanguagePattern,[n]:C,[g]:S}},w=Jk(e,h);return w&&(T.translationLanguagePairs=w),T})};return c(s0,{title:r,description:i,languages:Jne,selectLanguages:m,interfaceLanguage:t?.interfaceLanguage,onChange:f})}function gre({config:e,matchKey:t,title:n,description:r}){let{t:i}=H(),[a,o,s,l,u]=De(xe),d=t==="dualMatches"?"translationMatches":"dualMatches",g=(p,h,x,y)=>{o(b=>{let v=b.translationModeUrlPattern,C=v?.[t]||[],S=v?.[d]||[],T=[...C];y==="edit"?T[h]=p:T=Array.from(new Set([...T,p]));let w=S.filter(E=>E!==p);return{...b,isChangedAlwaysTranslatedUrls:!0,translationModeUrlPattern:{...b.translationModeUrlPattern,[t]:T,[d]:w}}})},m=X(()=>e?.translationModeUrlPattern[t]||[],[e,t]);return c(El,{title:n,description:r,urls:m,onDeleteUrl:(p,h)=>{o(x=>{let y=m.filter(b=>!p.find(v=>v==b));return{...x,translationModeUrlPattern:{...x.translationModeUrlPattern,[h]:y}}})},onSubmitAddUrl:g,type:t})}function mre(){let[e,t]=Es(),{t:n}=H();if(!vS())return null;let r=e?.confirmSupportMouse??Fr(e);return c("div",{class:"nav",children:[c(ke,{title:n("confirmSupportMouse"),description:n("confirmSupportMouseDescription")}),c("label",{for:"confirmSupportMouse",children:c("input",{type:"checkbox",onChange:i=>{let a=i.target.checked;t({...e,confirmSupportMouse:a})},checked:r,id:"confirmSupportMouse",name:"switch",role:"switch"})})]})}function fre({config:e}){let{t}=H(),[n,r,i,a,o]=De(xe);return c("div",{class:"nav",children:[c(ke,{title:t("sameLangCheck"),description:t("sameLangCheckDescription")}),c("label",{for:"sameLangCheck",children:c("input",{type:"checkbox",id:"sameLangCheck",name:"sameLangCheck",role:"switch",onChange:s=>{let l=s.target.checked;r(u=>({...u,sameLangCheck:l}))},checked:e.sameLangCheck})})]})}function pre({config:e}){let{t}=H(),[n,r,i,a,o]=De(xe);if(e.translationArea=="body")return null;let s=e.generalRule?.preTranslateLimiter?.["side.enableTranslate"];return c("div",{class:"nav",children:[c(ke,{title:t("navHeadEnableTranslate"),description:t("navHeadEnableTranslateDescription")}),c("label",{for:"navHeadEnableTranslate",children:c("input",{type:"checkbox",id:"navHeadEnableTranslate",name:"navHeadEnableTranslate",role:"switch",onChange:l=>{let u=l.target.checked;r(d=>({...d,generalRule:{...d.generalRule,"preTranslateLimiter.add":{"side.enableTranslate":u}}}))},checked:s})})]})}function hre({config:e}){let{t}=H(),[n,r,i,a,o]=De(xe);return c("div",{class:"nav",children:[c(ke,{title:t("field.enableSiteAutoTranslate"),description:t("description.enableSiteAutoTranslate")}),c("label",{for:"enableSiteAutoTranslate",children:c("input",{type:"checkbox",id:"enableSiteAutoTranslate",name:"enableSiteAutoTranslate",role:"switch",onChange:s=>{let l=s.target.checked;r(u=>({...u,generalRule:{...u.generalRule,enableSiteAutoTranslate:l}}))},checked:e.generalRule?.enableSiteAutoTranslate})})]})}function yre({config:e}){let{t}=H(),[n,r]=N({}),[i,a]=N(!1),[o,s]=N("oversea"),[l,u]=N(!1),[d,g]=N(null);return W(()=>{s(Ue()?"mainland":"oversea"),!Ue(!0)&&a(!0)},[]),c("div",{class:"nav",hidden:!i,children:[c(ke,{title:t("label.region"),description:t("description.region")}),c("select",{class:"select",value:o,onChange:async m=>{m.preventDefault(),r({});let f=m.target.value;if(e.interfaceLanguage=="zh-CN"&&f=="oversea"&&!await bre()){Np(t("region.toggleError"));return}if(await le.getUserInfo()){g(f),u(!0);return}let h=mt();await le.clearUserInfo(),s(f),h[Zo]=f,Ji.updateEnv(),le.setPluginRegion(f),f=="oversea"&&location.reload()},children:[c("option",{value:"oversea",selected:o=="oversea",children:t("region.oversea")}),c("option",{value:"mainland",selected:o=="mainland",children:t("region.mainland")})]}),c(XP,{visible:l,title:t("label.region"),content:t("region.switchConfirm"),okText:t("continue"),cancelText:t("cancel"),onCancel:()=>{u(!1),g(null)},onConfirm:async()=>{let m=d||o,f=mt();await le.clearUserInfo(),s(m),f[Zo]=m,Ji.updateEnv(),le.setPluginRegion(m),u(!1),g(null),m=="oversea"&&location.reload()}})]})}async function bre(){return(await fetch("https://immersivetranslate.com",{method:"HEAD"})).status===200}function vre({config:e,ctx:t}){if(!dt(Kn(),"1.23.1"))return null;let r="https://github.com/funstory-ai/aifw",i=`https://github.com/funstory-ai/aifw/blob/main/docs/oneaifw_services_api${e.interfaceLanguage=="zh-CN"?"_cn":""}.md`,{t:a}=H(),[o,s,l,u,d]=De(xe),[g,m]=N(!1),[f,p]=N(!1);W(()=>{Ae()||be("background",{method:"createOffscreen"}).then(S=>{S&&p(!0)})},[]);let h="http://127.0.0.1:8844/",x={...e?.sensitiveConfig,...o?.sensitiveConfig},y=X(()=>`${a("description.sensitiveBase",{1:"https://oneaifw.com/",2:r})} ${f?a("description.sensitiveInner",{1:r}):""} ${a("description.sensitiveCustom",{1:i})}`,[f]),b=X(()=>{let S=x?.sensitiveMode??"close";return!f&&S==="inner"?"close":S},[x,f]),v=x?.sensitiveApiHost??h,C=x?.sensitiveApiKey??"";return c(ie,{children:c("div",{style:{marginBottom:"10px",paddingBottom:"10px"},children:[c("div",{class:"nav",style:"position: relative;",children:[c("div",{class:"nav-left",children:[c("div",{class:"title flex flex-row items-center",children:a("label.sensitiveMode")}),c("div",{class:"description",dangerouslySetInnerHTML:{__html:y}})]}),c("select",{class:"select",value:b,onChange:async S=>{let T=S.target.value,w={sensitiveConfig:{sensitiveMode:T}};if(e.sensitiveConfig?.sensitiveApiHost||(w.sensitiveConfig.sensitiveApiHost=v),s(w),T=="inner"){m(!0);try{await xb(x?.maskConfig),ut(a("message.initAIFWSuccess"))}catch(E){nt(`${a("message.initAIFWFailed")}: ${E.message}`),s({sensitiveMode:"close"});return}finally{m(!1)}}ae({key:"sensitive_mode_changed",ctx:t,params:{trigger:T}})},children:[c("option",{value:"close",children:a("sensitiveMode.close")}),c("option",{hidden:!f,value:"inner",children:a("sensitiveMode.inner")}),c("option",{value:"custom",children:a("sensitiveMode.custom")})]}),c(Bc,{hidden:!g,size:"small",text:a("message.initAIFW")})]}),c("input",{type:"text",hidden:b!=="custom",placeholder:`API-HOST: ${h}`,value:v,onChange:S=>{let T=S.target.value;s({sensitiveConfig:{sensitiveApiHost:T}})}}),c("input",{type:"text",value:C,hidden:b!=="custom",placeholder:`API-KEY ${a("label.optional")}`,onChange:S=>{let T=S.target.value;s({sensitiveConfig:{sensitiveApiKey:T}})}})]})})}function T5(){let{settingsHookValue:e}=ct(),{t}=H();return c(pt,{children:c(xe.Provider,{value:e,children:[c("div",{class:"nav",children:c("strong",{class:"text-lg",children:t("contact")})}),c("div",{children:c("div",{children:t("contact.description",{email:`support@${_.HOST_NAME}`})})}),c("iframe",{class:"letterbird-embed contact-embed",src:`https://letterbird.co/${Js}?origin=http://localhost:8000&amp;hideheader=1`,width:"100%",height:"452px"})]})})}function Hc(){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 y1(){return[{key:"0",label:"0%"},{key:"25",label:"25%"},{key:"50",label:"50%"},{key:"75",label:"75%"},{key:"100",label:"100%"}]}function b1(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 v1(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 $P=[];function C0(e,t){let[n,r]=N($P);return W(()=>{if(n.length||!e.length)return;let a=e.filter(o=>kl(o,t("sampleTargetText").charAt(0)+"at"));a.length&&a.unshift("none"),r(a),$P=a},[n,e]),X(()=>n.map(a=>{let o=t(`font.${a}`);return o.startsWith("font.")&&(o=a),{key:a,label:o}}),[n])}function S5(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 Vc=[{key:"400",label:"400"},{key:"700",label:"700"},{key:"900",label:"900"}],x1=["translationPosition","sourceFontSize","translationFontSize","sourceTextColor","translationTextColor","backgroundColor","backgroundOpacity","textShadowType","sourceFontFamily","translationFontFamily","sourceFontWeight","translationFontWeight"];var C1=Se().any,xre={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"},Cre=Rt["attach_subtitle.css"];function Tre(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}function tR(e){let{t}=H(),{subtitleRule:n}=e,r=X(()=>{let a=n.backgroundColor+Tre(n.backgroundOpacity),o=n.textShadowType&&xre[n.textShadowType]||"";return{backgroundColor:a,textShadowStyle:o,sourceFontSize:16*eR(n.sourceFontSize),translationFontSize:16*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}},[n]);return c("div",{className:"mb-4",style:{borderRadius:"8px",padding:"20px",minHeight:"200px",display:"flex",alignItems:"flex-end",justifyContent:"center",position:"relative",overflow:"hidden",border:"1px solid #e5e7eb",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.1)",transition:"all 0.3s ease"},children:[c("div",{style:{position:"absolute",bottom:0,left:0,right:0,height:"60%",background:"linear-gradient(to top, rgba(0,0,0,0.3), transparent)",pointerEvents:"none"}}),c("div",{style:{width:C1?"75%":"90%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-end",position:"relative",zIndex:1},children:c("div",{style:{display:"flex",flexDirection:r.translationPosition==="top"?"column-reverse":"column",color:"white",borderRadius:"6px",textAlign:"center",whiteSpace:"pre-wrap",lineHeight:1.5,alignItems:"center"},children:[c("span",{style:{padding:"4px 12px",fontSize:`${r.sourceFontSize}px`,color:r.sourceTextColor,backgroundColor:r.backgroundColor,textShadow:r.textShadowStyle,fontFamily:r.sourceFontFamily,fontWeight:r.sourceFontWeight,display:"inline-block",maxWidth:"100%"},children:t("sampleSourceText")}),c("span",{class:n.translationStyle==="mask"?"imt-translation-style-mask":"",style:{padding:"4px 12px",fontSize:`${r.translationFontSize}px`,color:r.translationTextColor,backgroundColor:r.backgroundColor,textShadow:r.textShadowStyle,fontFamily:r.translationFontFamily,fontWeight:r.translationFontWeight,display:"inline-block",maxWidth:"100%"},children:t("sampleTargetText")})]})}),c("div",{style:{position:"absolute",...C1?{bottom:"8px",right:"8px"}:{top:"8px",right:"8px"},background:"rgba(0, 0, 0, 0.6)",color:"white",padding:C1?"2px 6px":"4px 8px",borderRadius:"4px",fontSize:C1?"10px":"12px",pointerEvents:"none",zIndex:2},children:t("subtitle.previewWidget")}),c("style",{children:Cre})]})}function iR(e){let t=document.createElement("span");return t.innerHTML=e,(t.textContent||"").trim()}function bt(e,t,n,r){ae({key:r||"translate_video_subtitle",ctx:{...e,sourceLanguage:t||"auto"},params:{video_platform:n||e.rule.id||""}}),fi("translate_video_1",e)}function At(e,t){return e==t}function Io(e,t){return!e||!t?!1:e.startsWith("zh")&&t.startsWith("zh")}function aR(e){let{url:t,method:n,headers:r,body:i}=e,a=new Headers;for(let[l,u]of Object.entries(r))a.append(l,u);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 oR(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 w5(e){return e.replace(/\n/g," ")}function sR(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 T1(e,t,n){return qt(e.config,n)}function S1(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 Sre=24*60*60*1e3;function Gc(e,t){let n=e.freeAiSubtitleCacheNewUserLimitDay;if(t&&n){let a=new Date(t.createTime);if(Date.now()-a.getTime()<n*Sre)return!0}return e.freeAiSubtitleCacheEndTime?new Date(e.freeAiSubtitleCacheEndTime)>new Date:!1}function lR(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(nR(n)),n=[i])}return n.length>0&&t.push(nR(n)),t}function nR(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 T0(e,t){let n=e.config.translationServices?.[t];return!!n&&dr(n)}function uR(e,t){let n=e.config.translationServices?.[t];return!!n&&dr(n)&&["max","pro"].includes(n.group)}function Wc(e){return es(e,e.rule.subtitleRule.defaultFallbackServices||[])[0]}function rR(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 cR(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)}rR(t),rR(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}function E5(){let{settingsHookValue:e,config:t,ctx:n}=ct(),[r,i,a,o,s]=e,{t:l}=H();if(!n||!t)return c("div",{children:"loading"});let u=Up(t.supportedVideoSubtitleSites),d=`<div>
    <br><a target="_blank" href="${_.GITHUB_BASE+"issues/1179"}">${l("feedbackOrMore")}</a>
  </div>`,g=[...u.map((m,f)=>`<span>
        <a target="_blank" href="${m.url}">${m.name}</a>
        ${f!==u.length-1?", ":""}
      </span>`),d].join("");return c(pt,{children:c(xe.Provider,{value:e,children:[c("div",{class:"nav",children:c("strong",{class:"text-lg",children:l("subtitle")})}),Ue()?null:c(xi,{image:An("images/dual_subtitle_intro.png"),nightImage:An("images/dual_subtitle_intro_night.png"),title:l("intro.subtitleTitle"),description:l("intro.subtitleDescription")+g}),c("div",{class:"nav",children:[c(ke,{title:l("subtitle.autoEnableSubtitle"),description:l("subtitle.autoEnableSubtitleDescription")}),c("label",{for:"subtitle.autoEnableSubtitle",children:c("input",{type:"checkbox",id:"subtitle.autoEnableSubtitle",name:"subtitle.autoEnableSubtitle",role:"switch",onChange:m=>{let f=m.target.checked;i(p=>({...p,generalRule:{...p.generalRule,"subtitleRule.add":{...p.generalRule?.["subtitleRule.add"],autoEnableSubtitle:f}}}))},checked:t.generalRule.subtitleRule.autoEnableSubtitle})})]}),c(Ere,{config:t,setSettings:i,isPro:n.isPro}),c("div",{class:"nav",children:[c(ke,{title:l("subtitle.meetingAutoEnableSubtitle"),description:Ue()?l("subtitle.meetingAutoEnableSubtitleDescription").replace(/google/ig,""):l("subtitle.meetingAutoEnableSubtitleDescription")}),c("label",{for:"subtitle.meetingAutoEnableSubtitle",children:c("input",{type:"checkbox",id:"subtitle.meetingAutoEnableSubtitle",name:"subtitle.meetingAutoEnableSubtitle",role:"switch",onChange:m=>{let f=m.target.checked;i(p=>({...p,generalRule:{...p.generalRule,"subtitleRule.add":{...p.generalRule?.["subtitleRule.add"],meetingAutoEnableSubtitle:f}}}))},checked:t.generalRule.subtitleRule.meetingAutoEnableSubtitle})})]}),c("div",{class:"nav",hidden:Ue(),children:[c(ke,{title:l("subtitle.humanSubtitlesPreferred"),description:l("subtitle.humanSubtitlesPreferredDescription")}),c("label",{for:"subtitle.humanSubtitlesPreferred",children:c("input",{type:"checkbox",id:"subtitle.humanSubtitlesPreferred",name:"subtitle.humanSubtitlesPreferred",role:"switch",onChange:m=>{let f=m.target.checked;i(p=>({...p,generalRule:{...p.generalRule,"subtitleRule.add":{...p.generalRule?.["subtitleRule.add"],humanPreferred:f}}}))},checked:t.generalRule.subtitleRule.humanPreferred})})]}),c(Lre,{ctx:n,config:t,setSettings:i,user:n.user}),c("div",{class:"nav",children:[c(ke,{title:l("subtitle.filterAmbientSounds"),description:l("subtitle.filterAmbientSoundsDescription")}),c("label",{for:"subtitle.filterAmbientSounds",children:c("input",{type:"checkbox",id:"subtitle.filterAmbientSounds",name:"subtitle.filterAmbientSounds",role:"switch",onChange:m=>{let f=m.target.checked;i(p=>({...p,generalRule:{...p.generalRule,"subtitleRule.add":{...p.generalRule?.["subtitleRule.add"],filterAmbientSounds:f}}}))},checked:t.generalRule.subtitleRule.filterAmbientSounds})})]}),c(As,{title:l("youtubeService"),config:t,ctx:n,description:l("videoSubtitleTranslationDescription"),serviceType:"subtitleTranslateService"}),c("div",{class:"nav",children:[c(ke,{title:l("subtitle.showQuickButton"),description:l("subtitle.showQuickButtonDescription")}),c("label",{for:"subtitle.showQuickButton",children:c("input",{type:"checkbox",id:"subtitle.showQuickButton",name:"subtitle.showQuickButton",role:"switch",onChange:m=>{let f=m.target.checked;i(p=>({...p,generalRule:{...p.generalRule,"subtitleRule.add":{...p.generalRule?.["subtitleRule.add"],showQuickButton:f}}}))},checked:t.generalRule.subtitleRule.showQuickButton})})]}),c(wre,{translationMode:t.generalRule.subtitleRule.translationMode,setSettings:i}),c(Are,{subtitleRule:t.generalRule.subtitleRule,setSettings:i}),c("div",{class:"nav",children:[c(ke,{title:l("subtitle.disabledSubtitle"),description:l("subtitle.disabledSubtitleDescription")}),c("label",{for:"subtitle.disabledSubtitle",children:c("input",{type:"checkbox",id:"subtitle.disabledSubtitle",name:"subtitle.disabledSubtitle",role:"switch",onChange:m=>{let f=m.target.checked;i(p=>({...p,generalRule:{...p.generalRule,"subtitleRule.add":{...p.generalRule?.["subtitleRule.add"],disabled:f}}}))},checked:t.generalRule.subtitleRule.disabled})})]}),c("div",{className:"intro-footer",dangerouslySetInnerHTML:{__html:l("intro.subtitleDescription")+"<br/>"+g}})]})})}function wre(e){let{t}=H(),n=["inherit","dual","translation"];return c("div",{class:"nav",children:[c(ke,{title:t("subtitle.translationMode"),description:t("subtitle.translationModeDescription")}),c("select",{class:"select",onChange:r=>{r.preventDefault(),e.setSettings(i=>({...i,generalRule:{...i.generalRule,"subtitleRule.add":{...i.generalRule?.["subtitleRule.add"],translationMode:r.target.value}}}))},children:n.map(r=>c("option",{value:r,selected:e.translationMode==r,children:t(`translationMode.${r}`)},r))})]})}function Ere(e){let{config:t,setSettings:n}=e,{t:r}=H();if(Ue())return null;let i=!!t.generalRule.ytAsrConfig?.aiEnable&&e.isPro;return c(ie,{children:[c("div",{class:"card-header",children:[c(Ire,{}),c("strong",{class:"text-lg ml-3",children:r("subtitle.youtube.groupTitle")})]}),c("div",{class:"card-container",children:[c("div",{class:"nav",children:[c(ke,{title:r("subtitle.youtube.autoEnableSubtitle"),description:r("subtitle.youtube.autoEnableSubtitleDescription")}),c("label",{for:"subtitle.youtube.autoEnableSubtitle",children:c("input",{type:"checkbox",id:"subtitle.youtube.autoEnableSubtitle",name:"subtitle.youtube.autoEnableSubtitle",role:"switch",onChange:a=>{let o=a.target.checked;n({generalRule:{"subtitleRule.add":{youtubeAutoEnableSubtitle:o}}})},checked:t.generalRule.subtitleRule.youtubeAutoEnableSubtitle})})]}),c("div",{class:"nav",children:[c(ke,{title:r("subtitle.preTranslation"),description:r("subtitle.preTranslationDescription")}),c("label",{for:"subtitle.preTranslation",children:c("input",{type:"checkbox",id:"subtitle.preTranslation",name:"subtitle.preTranslation",role:"switch",onChange:a=>{let o=a.target.checked;n(s=>({...s,generalRule:{...s.generalRule,"subtitleRule.add":{...s.generalRule?.["subtitleRule.add"],preTranslation:o}}}))},checked:t.generalRule.subtitleRule.preTranslation})})]}),c("div",{class:"nav",style:{marginLeft:24,marginTop:-16},children:[c(ke,{title:r("subtitle.ytAsr"),description:r("subtitle.ytAsrDescription")}),c(o0,{id:"subtitle.ytAsr",disabled:!t.generalRule.subtitleRule.preTranslation,disableTipText:r("subtitle.ytAsrDisableTooltip"),onChange:a=>{n(o=>{let s={...o.generalRule?.["ytAsrConfig.add"]};return a&&i&&(s.aiEnable=!1),{...o,generalRule:{...o.generalRule,"ytAsrConfig.add":{...s,enable:a}}}})},checked:!!t.generalRule.ytAsrConfig?.enable&&!i})]}),c("div",{class:"nav",style:{marginLeft:24,marginTop:-16},hidden:sn(t,e.isPro),children:[c(ke,{title:r("subtitle.ytAIAsr"),description:r("subtitle.ytAIAsrDescription",{1:_.GO_USER_PROFILE_WITH_YT_AI_ASR})}),c(o0,{id:"subtitle.ytAIAsr",disableTipText:e.isPro?r("subtitle.ytAsrDisableTooltip"):r("onlyProUseProTooltip",{1:_.GO_USER_PROFILE_WITH_YT_AI_ASR}),disabled:!t.generalRule.subtitleRule.preTranslation||!e.isPro,onChange:a=>{n(o=>{let s={...o.generalRule?.["ytAsrConfig.add"]};return a&&t.generalRule.ytAsrConfig?.enable&&(s.enable=!1),{...o,generalRule:{...o.generalRule,"ytAsrConfig.add":{...s,aiEnable:a}}}})},checked:i})]})]})]})}function Are(e){let{t}=H(),[n,r]=N(!1),i=Mre(e.subtitleRule,t,n),a=re(async()=>{let s=(await qu())?.generalRule?.subtitleRule;e.setSettings(l=>{let u={...l.generalRule?.["subtitleRule.add"]};return x1.forEach(d=>{u[d]&&(s[d]?u[d]=s[d]:delete u[d])}),{...l,generalRule:{...l.generalRule,"subtitleRule.add":u}}})},[e.setSettings]);return c(ie,{children:c("details",{class:"pt-2 border-none",onToggle:o=>{r(o.target?.open)},children:[c("summary",{class:"flex items-center",children:c(ke,{title:t("subtitle.stylesSetting"),description:Ue()?"":t("subtitle.stylesSettingDescription")})}),c("div",{style:{padding:"24px 0 0 24px"},children:[c(tR,{subtitleRule:e.subtitleRule}),i.map(o=>c(kre,{...o,onClick:s=>{e.setSettings(l=>({...l,generalRule:{...l.generalRule,"subtitleRule.add":{...l.generalRule?.["subtitleRule.add"],[o.key]:s}}}))}})),c("div",{class:"nav",style:{padding:"10px 0",justifyContent:"flex-end"},children:c("a",{onClick:a,children:t("subtitle.resetStyle")})})]})]})})}function kre(e){let{label:t,items:n,selectKey:r,key:i}=e,{t:a}=H(),o=s=>{!n.find(u=>u.key===s)&&!kl(s,a("sampleTargetText").charAt(0)+"a")&&nt(a("translationFont.notSupportErrorMessage")),e.onClick(s)};return i==="sourceFontFamily"||i==="translationFontFamily"?c("div",{class:"nav",style:{padding:"10px 0"},children:[c(ke,{title:t}),c(e1,{label:Se().any?"":a("custom"),forId:`subtitle-style-${i}`,values:n.map(s=>({label:s.label,value:s.key})),value:r||"",defaultValue:r||"",onChange:o})]}):c("div",{class:"nav",style:{padding:"10px 0"},children:[c(ke,{title:t}),c("select",{class:"select",onChange:s=>{s.preventDefault(),e.onClick(s.target.value)},children:n.map(s=>c("option",{value:s.key,selected:s.key==r,children:s.label},s.key))})]})}var Mre=(e,t,n)=>{let r=v1(t),i=C0(n?e.fonts:[],t);return[{key:"translationStyle",label:t("subtitle.quickButton.translationStyle"),items:[{key:"",label:t("subtitle.quickButton.translationStyleNone")},{key:"mask",label:t("subtitle.quickButton.translationStyleMask")}],selectKey:e.translationStyle},{key:"translationPosition",label:t("subtitle.quickButton.translationPosition"),items:[{key:"top",label:t("subtitle.quickButton.translationPositionTop")},{key:"bottom",label:t("subtitle.quickButton.translationPositionBottom")}],selectKey:e.translationPosition},{key:"sourceFontFamily",label:t("subtitle.quickButton.sourceFontFamily"),items:i,selectKey:e.sourceFontFamily},{key:"translationFontFamily",label:t("subtitle.quickButton.translationFontFamily"),items:i,selectKey:e.translationFontFamily},{key:"sourceFontSize",label:t("subtitle.quickButton.sourceFontSize"),items:Hc(),selectKey:e.sourceFontSize},{key:"translationFontSize",label:t("subtitle.quickButton.translationFontSize"),items:Hc(),selectKey:e.translationFontSize},{key:"sourceTextColor",label:t("subtitle.quickButton.sourceTextColor"),items:r,selectKey:e.sourceTextColor},{key:"translationTextColor",label:t("subtitle.quickButton.translationTextColor"),items:r,selectKey:e.translationTextColor},{key:"sourceFontWeight",label:t("subtitle.quickButton.sourceFontWeight"),items:Vc,selectKey:e.sourceFontWeight},{key:"translationFontWeight",label:t("subtitle.quickButton.translationFontWeight"),items:Vc,selectKey:e.translationFontWeight},{key:"backgroundColor",label:t("subtitle.quickButton.backgroundColor"),items:r,selectKey:e.backgroundColor},{key:"backgroundOpacity",label:t("subtitle.quickButton.backgroundOpacity"),items:y1(),selectKey:e.backgroundOpacity},{key:"textShadowType",label:t("subtitle.quickButton.textShadowType"),items:b1(t),selectKey:e.textShadowType}]};function Ire(){return c("svg",{width:"32",height:"23",viewBox:"0 0 32 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:c("path",{d:"M13.3333 16.3333V6.99998L21.3333 11.6826L13.3333 16.3333ZM31.68 5.22265C31.68 5.22265 31.3667 3.00265 30.408 2.02398C29.1907 0.73998 27.8267 0.734646 27.2013 0.659979C22.724 0.333313 16.0067 0.333313 16.0067 0.333313H15.9933C15.9933 0.333313 9.276 0.333313 4.79867 0.659979C4.172 0.734646 2.80933 0.73998 1.59067 2.02398C0.632 3.00265 0.32 5.22398 0.32 5.22398C0.32 5.22398 0 7.82931 0 10.436V12.8826C0 15.4906 0.32 18.0986 0.32 18.0986C0.32 18.0986 0.632 20.3186 1.59067 21.2973C2.80933 22.5813 4.408 22.54 5.12 22.6746C7.68 22.924 16 23 16 23C16 23 22.724 22.9893 27.2013 22.664C27.828 22.588 29.1907 22.5826 30.408 21.2986C31.368 20.32 31.68 18.0986 31.68 18.0986C31.68 18.0986 32 15.492 32 12.884V10.4386C32 7.83065 31.68 5.22265 31.68 5.22265Z",fill:"#FF0000"})})}function Lre(e){let{ctx:t,config:n,setSettings:r,user:i}=e,{t:a}=H();return!t.isPro&&!Gc(n.generalRule.subtitleRule,i)?null:c("div",{class:"nav",hidden:Ue(),children:[c(ke,{title:a("subtitle.aiSubtitlePreferred"),description:a("subtitle.aiSubtitlePreferredDescription",{1:_.GO_USER_PROFILE_WITH_YT_AI_SUBTITLE})}),c("label",{for:"subtitle.aiSubtitlePreferred",children:c("input",{type:"checkbox",id:"subtitle.aiSubtitlePreferred",name:"subtitle.aiSubtitlePreferred",role:"switch",onChange:o=>{let s=o.target.checked;r(l=>({generalRule:{"subtitleRule.add":{aiSubtitlePreferred:s}}}))},checked:n.generalRule.subtitleRule.aiSubtitlePreferred})})]})}var dR=Rd({presets:[Im(),Dm()]});function A5(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 k5=new Set,gR=0;function Pl(e){if(!e)return;gR+=1;let t=gR;e.imtPluginUpdateSeq=t,k5.add(t),setTimeout(()=>{k5.delete(t)},0)}function mR(e){if(!e)return!1;let t=e,n=0,r=20;for(;t&&n<r;){let i=t.imtPluginUpdateSeq;if(i&&k5.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 fR(e){let t=document.querySelector("title"),n;return t&&(n=new MutationObserver(function(r){r.length>0&&(r[0].target.text.includes(ef)||M5(e).catch(a=>{M.error("translateTitle error:",a.name,a.message,a.details||"")}))}),n.observe(t,{subtree:!0,characterData:!0,childList:!0})),n}var S0="";async function M5(e){let t=document.title;if(!t||t.includes(ef))return;S0!==t&&(S0=t);let n=await Ze({text:t});if(!Zu(e,n))try{let r=await yi({id:0,url:e.url,text:t,from:n,to:e.targetLanguage,force:!0},e);r&&r.text&&(document.originTitle=S0,document.title=r.text+ef+S0)}catch(r){throw r}}function pR(e){e.rule.isTranslateTitle&&(document.title=S0)}function Dre(e,t){let n=e.querySelectorAll("select"),r=t.querySelectorAll("select");n.forEach((l,u)=>{let d=r[u];if(d&&l.selectedIndex>-1){let g=l.selectedIndex;d.selectedIndex=g,Array.from(d.options).forEach(f=>f.removeAttribute("selected"));let m=d.options[g];m&&m.setAttribute("selected","true")}});let i=e.querySelectorAll("input"),a=t.querySelectorAll("input");i.forEach((l,u)=>{let d=a[u];d&&(["text","password","search","url","tel","email","number","date","time","color"].includes(l.type)?d.setAttribute("value",l.value):(l.type==="checkbox"||l.type==="radio")&&(l.checked?d.setAttribute("checked","true"):d.removeAttribute("checked")))});let o=e.querySelectorAll("textarea"),s=t.querySelectorAll("textarea");o.forEach((l,u)=>{let d=s[u];d&&(d.textContent=l.value)})}function w1(e){try{let t=document.head?.cloneNode(!0),n=document.body,r=n.cloneNode(!0),i=e.rule.shareConfig;Dre(n,r),hR(r),[...i?.removeSelectors||[]].forEach(u=>{[...t?.querySelectorAll(u),...r?.querySelectorAll(u)].forEach(d=>{d.nodeName.toLowerCase()=="script"&&d.type=="application/ld+json"||d.remove()})}),Pre(r,i?.cloneIframes);let o=i.injectCss?Qk():"",s="";globalThis.document.documentElement.getAttributeNames().forEach(u=>{s+=`${u}="${globalThis.document.documentElement.getAttribute(u)}" `});let l="";return globalThis.document.body.getAttributeNames().forEach(u=>{let d=globalThis.document.body.getAttribute(u)||"";u==="style"&&(d=d.replace(/overflow(-[xy])?:\s*hidden;?\s*/g,"").trim()),d=d.replace(/"/g,"&quot;"),l+=`${u}="${d}" `}),`<html ${s}>
          <head><base href="${location.protocol}://${location.hostname}/"><meta charset="UTF-8">${t.innerHTML}<style id="imt-inject-preview">${o}</style>${Ore}<style>body { overflow: auto !important; }</style></head>
          <body ${l}>${r.innerHTML}</body></html>`}catch{return""}}function Pre(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],l=a.contentDocument||a.contentWindow?.document;if(l){s.removeAttribute("src");let u=l.head?.cloneNode(!0),d=l.body?.cloneNode(!0);if(u&&d){hR(d);let g="";try{Array.from(l.styleSheets).forEach(f=>{try{let h=Array.from(f.cssRules).map(x=>x.cssText).join(`
`);g+=h+`
`}catch(p){M.debug("\u65E0\u6CD5\u8BBF\u95EE iframe \u6837\u5F0F\u8868\u89C4\u5219\uFF1A",p)}})}catch(f){M.debug("\u83B7\u53D6 iframe \u6837\u5F0F\u65F6\u51FA\u9519\uFF1A",f)}let m=`<!DOCTYPE html>
            <html>
            <head>
              <meta charset="UTF-8">
              ${u.innerHTML}
              ${g?`<style>${g}</style>`:""}
            </head>
            <body>
              ${d.innerHTML}
            </body>
            </html>`;s.srcdoc=m,!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 hR(e){try{let t=document.body.querySelectorAll("*"),n=e.querySelectorAll("*");if(t.length!==n.length){M.debug("originalNodes and clonedNodes length mismatch");return}t.forEach((r,i)=>{let a=r.shadowRoot;if(!a)return;let o=n[i];if(!o){M.debug(`Cannot find cloned node at index ${i}`);return}if(Rre(a)){o.remove();return}let s=Nre(a);o.appendChild(s)})}catch(t){M.debug("Error adding shadow root to cloned body:",t)}}function Rre(e){return!!e.querySelector(".modal-overlay")}function Nre(e){let t=document.createElement("template");return t.setAttribute("shadowroot","open"),Fre(e,t),Bre(e,t),t}function Fre(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){M.debug("Error getting shadow root styles:",i)}})}function Bre(e,t){let n=document.createElement("div");for(n.innerHTML=e.innerHTML;n.firstChild;)t.content.appendChild(n.firstChild)}var Ore=`<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 _re=1e5,yR=Date.now(),I5=0;async function qc(e){let{onParagraph:t,filterRule:n,id:r,engineCtx:i}=e,{stayOriginalSelectors:a,globalStyles:o,selectors:s,isTransformPreTagNewLine:l,lineBreakMaxTextCount:u,globalAttributes:d,isModifyImage:g,skipEditableCheck:m}=n,f={commonAncestorContainer:e.container,rootNodes:[],flatNodes:[],_currentStacks:[],isPreWhitespace:!1,hasFloatElement:!1},p=!1,h=null;async function x(T){let{container:w,onFrame:E,onIgnoreElement:k,id:D,isLongHtml:U}=T,B=document.createTreeWalker(w,NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT,F=>{let L=O(F);return L==NodeFilter.FILTER_ACCEPT?pn.mark(F,D,m):Zre(F,L,n)&&b(),L}),P=w;if(O(P)===NodeFilter.FILTER_REJECT)return;for(pn.mark(P,D,m);P;){if(jn())return;if(Date.now()-yR>50&&(yR=Date.now(),await rt(0)),s&&s.length>0){let{currentNode:L,isMatchedSelection:R}=y(B,P,s);if(L)P=L;else break;if(!R)continue}if(P.nodeType===Node.ELEMENT_NODE||P.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let L=P;if(L.nodeName=="FONT"&&L.className.includes(z)){L.remove(),P=B.nextSibling();continue}if(L.nodeName==="IFRAME"){E&&E(L),b(),L5(f,!0),P=B.nextNode();continue}L.nodeType===Node.ELEMENT_NODE&&(o&&P5(L,o),d&&E1(L,d));let R=Ia(L,{blockSelectors:n.blockSelectors,extraInlineSelectors:n.extraInlineSelectors,extraBlockSelectors:n.extraBlockSelectors,atomicBlockSelectors:n.atomicBlockSelectors},L.immersiveTranslateComputedStyle||null);if(R&&n.paragraphFirstLetterFontSize>0&&L.childNodes.length==1&&L.childNodes[0].nodeType===Node.TEXT_NODE&&L.innerText?.length==1&&L?.immersiveTranslateComputedStyle?.fontSize>=n.paragraphFirstLetterFontSize+"px"&&(R=!1),yn(L,a)&&!R){v(L);let V=null;for(;!(V=B.nextSibling())&&B.parentNode(););P=V;continue}let A=Yu(L);if(!bR(f,L)||R){b(L);let V=R?L:L.parentElement;V&&V.childNodes.length>0&&C(f,V,V.immersiveTranslateComputedStyle||null)}A&&L.shadowRoot?.mode==="open"&&(R?E?.(L.shadowRoot):x({...T,container:L.shadowRoot})),L.nodeType===Node.ELEMENT_NODE&&yn(L,n.likePreSelectors)&&l&&(U||(Pl(L),Hre(L,n)))}else if(P.nodeType===Node.TEXT_NODE)v(P);else throw new Error("should not be here");P=B.nextNode(),f.commonAncestorContainer&&P&&P.parentNode===f.commonAncestorContainer&&(f._currentStacks=[]),f.commonAncestorContainer&&P&&P.nodeType===Node.ELEMENT_NODE&&f._currentStacks.push(P)}function O(F){if(F.nodeType===Node.DOCUMENT_FRAGMENT_NODE)return NodeFilter.FILTER_ACCEPT;if(hs(F)){if(T.skipSelector&&F.matches?.(T.skipSelector)||(d&&E1(F,d),!T.force&&pn.isMarked(F,D))||Kk(F,D))return NodeFilter.FILTER_REJECT;if(F.nodeType===Node.ELEMENT_NODE){let j=globalThis.getComputedStyle(F);if(F.immersiveTranslateComputedStyle=j,(j?.float||"none")!="none"&&n.floatBlockEffectParagraphs&&n.floatBlockEffectParagraphs>0){let G=F.getBoundingClientRect();G.width>=140&&G.height>=140&&(I5=n.floatBlockEffectParagraphs)}}if(A1(F,{excludeSelectors:n.excludeSelectors,selectors:n.selectors,excludeSelectorsRegexes:n.excludeSelectorsRegexes,stayOriginalSelectors:a})||F.nodeName==="IFRAME"&&!ec(F))return NodeFilter.FILTER_REJECT;if(F.nodeType===Node.ELEMENT_NODE){let j=F.immersiveTranslateComputedStyle;if(R5(j)&&!yn(F,n.skipIgnoreSelectors))return k?.(F),NodeFilter.FILTER_REJECT;let V=Ia(F,{blockSelectors:n.blockSelectors,extraInlineSelectors:n.extraInlineSelectors,extraBlockSelectors:n.extraBlockSelectors,atomicBlockSelectors:n.atomicBlockSelectors},j||null);if(F.isBlock=V,yn(F,a)&&V)return NodeFilter.FILTER_REJECT}let L=F.getBoundingClientRect(),{width:R,height:A}=L;return F.nodeName==="IMG"&&R>0&&A>0&&g!==!1&&(F.setAttribute("width",R),F.setAttribute("height",A)),!F.childNodes||F.childNodes&&F.childNodes.length===0?NodeFilter.FILTER_ACCEPT:!f.isPreWhitespace&&(R>0&&R<4||A>0&&A<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 R=F.parentNode;if(R.getBoundingClientRect){let{width:A,height:j}=R.getBoundingClientRect();if(A>0&&A<4||j>0&&j<4)return NodeFilter.FILTER_REJECT}return u>0&&!n.advanceTransformPreTagNewLine&&L.length>=u&&Gre(F,u,n.customAbbreviations),NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_REJECT}}try{await x(e)}catch(T){M.error(T)}f&&f.commonAncestorContainer&&f.flatNodes.length>0&&b();function y(T,w,E){let k=w.immersiveTranslateComputedStyle||null;if(h){if(!h.contains(w))if(p=!1,w&&w.nodeType===Node.ELEMENT_NODE)if(w0(w,E))p=!0,h=w,b(),C(f,h,k);else return p=!1,w=T.nextNode(),{currentNode:w,isMatchedSelection:p};else return p=!1,w=T.nextNode(),{currentNode:w,isMatchedSelection:p}}else if(w&&w.nodeType===Node.ELEMENT_NODE)if(w0(w,E))p=!0,h=w,b(),C(f,h,k);else return p=!1,w=T.nextNode(),{currentNode:w,isMatchedSelection:p};else return p=!1,w=T.nextNode(),{currentNode:w,isMatchedSelection:p};return{currentNode:w,isMatchedSelection:!0}}function b(T){let w=f.flatNodes.length-1;if(n.skipTrailTextRegex&&w>0)for(let k=w;k>=0;k--){let U=f.flatNodes[k]?.textContent?.trim()||"";if(!U||new RegExp(n.skipTrailTextRegex).test(U)){f.flatNodes.splice(k,1);continue}break}if(T&&T.nodeName==="BR"){if(T.hasAttribute("data-imt")&&i?.translateState=="translation")return;f.commonAncestorContainer=Jre(T,n);let k=[...f.flatNodes],D=f.flatNodes.filter(U=>T.parentNode?.contains(U));D.length>0&&k.length!=D.length&&(f.flatNodes=D,f.flatNodes.original=k)}let E=zre(f,r,n,T);E&&(I5>0&&(I5--,E.hasFloatElement=!0),t?.(E)),L5(f)}function v(T){if(!bR(f,T)){b(),L5(f);let w=T.parentNode;w&&C(f,w,w.computedStyle)}f.flatNodes.push(T)}function C(T,w,E){T.commonAncestorContainer=w;let k=S(E);T.isPreWhitespace=k}function S(T){return T&&T.whiteSpace&&T.whiteSpace.startsWith("pre")||T&&T.whiteSpace==="break-spaces"||!1}}function bR(e,t){let n=!1;(t.nodeType===Node.ELEMENT_NODE||t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)&&(n=Yu(t));let r=jre(e),i=!0;return!n&&!r&&(e.commonAncestorContainer&&e.commonAncestorContainer.contains(t)?i=!0:e.commonAncestorContainer&&(i=!1,e._currentStacks=[])),i}function Ure(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 P5(e,t){if(t){let n=Object.keys(t);if(n.length>0&&yn(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 jre(e){return e&&e._currentStacks?e._currentStacks.some(t=>Yu(t)):!1}function zre(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=$p(i,a,n);s||(s=a);let l=[];for(let p of i){let h=Ure(e,s,p);h&&(r&&h?.contains(r)&&(h=p.parentNode),l.includes(h)||l.push(h))}if(l.length<1)return null;let u=l[0],d=l[l.length-1],g=[],m=u,f=0;for(;m;){if(m.contains(d)){g.push(d);break}if(g.push(m),m===d)break;if(f++,f>_re){M.warn("loop too many times for convert root nodes, break");break}m=m.nextSibling}return{ctxId:t,rootNodes:g,flatNodes:i,commonAncestorContainer:s,variables:{},richVariables:{},isPreWhitespace:e.isPreWhitespace,xpath:"",display:$k(s),hasFloatElement:e.hasFloatElement}}else return null}function L5(e,t=!1){e.rootNodes=[],e.flatNodes=[],e._currentStacks=[],t&&(e.commonAncestorContainer=null)}function R5(e){return e.display==="none"}var pn={_marked_key:IS,isMarked(e,t){return Wb(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)}),yn(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),l=s.currentNode;for(;l;)this._clearSingle(l),l=s.nextNode()}),r.size===0){let s=0,l=document.createTreeWalker(i,NodeFilter.SHOW_ELEMENT),u=l.currentNode;for(;u&&s<200;)(qb(u,this._marked_key)||u.hasAttribute?.("data-imt-pre")||u.hasAttribute?.(Yo))&&this._clearSingle(u),s+=1,u=l.nextNode()}}this._clearSingle(e)},_clearSingle(e){return e instanceof HTMLIFrameElement||Yu(e)?void 0:(e.imtRawHtml&&(delete e.imtRawHtml,e.removeAttribute("data-imt-pre")),e.hasAttribute(Yo)&&e.removeAttribute(Yo),Ug(e,this._marked_key))},clearToParentMark(e,t){let n=e;for(;n&&t&&n!=t;)pn.clearMark(n),n=n.parentElement},mark(e,t,n){if(!(!e||e.nodeType!==Node.ELEMENT_NODE)&&!(e instanceof HTMLIFrameElement||Yu(e)))return zn(e,this._marked_key,t,!1,n)},isSkipMarkEle(e){return e?e instanceof HTMLIFrameElement||e.nodeType==Node.DOCUMENT_FRAGMENT_NODE:!1},hasMark(e){return qb(e,this._marked_key)}},D5="<br data-imt /><br data-imt/>";function Hre(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,D5).replace(/\n\r?&nbsp;*\n\r?/g,D5);r!=n?A5(e,(i,a)=>{if(!t.advanceTransformPreTagNewLine){i.innerHTML=$n?.createHTML(r)||r;return}try{if(!Vre(i,r,t))return;let o=document.createTreeWalker(i,NodeFilter.SHOW_TEXT,null),s=[],l;for(;l=o.nextNode();)s.push(l);s.forEach(u=>{let d=(u.nodeValue||"")?.split(/\n\r? *\n\r?/);if(d?.length<=1&&(d=(u.nodeValue||"")?.split(/\n\r?&nbsp;*\n\r?/)),d.length>1){let g=u;g.immersive=!0,a.push(g),g.nodeValue=d[0],d.slice(1).forEach(m=>{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=g.parentNode;h.insertBefore(f,g.nextSibling),h.insertBefore(p,f.nextSibling);let x=document.createTextNode(m);x.immersive=!0,a.push(x),h.insertBefore(x,p.nextSibling),g=x})}})}catch(o){M.error("[formatPreHtml] advance transform error:",o)}}):t.forceFormatPre&&A5(e,i=>{i.innerHTML=$n?.createHTML(r)||r})}function Vre(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(D5).length;return!!(i&&s>=i||a&&e.innerText.length>=a)}catch{return!1}}function Gre(e,t,n){let r=e.textContent||"",i=Sf(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=qre(e)||e.parentElement;i.length>1&&s&&vR(s,"before");for(let l=1;l<i.length;l++){let u=document.createElement("br");u.immersive=!0,u.setAttribute(yu,"1"),a?.insertBefore(u,o);let d=document.createTextNode(i[l]);d.immersive=!0,a?.insertBefore(d,o)}i.length>1&&s&&vR(s,"after")}function vR(e,t){let n=e.parentNode;if(!n)return;let r=t==="before"?xR(e.previousSibling,-1):xR(e.nextSibling,1);if(Wre(r))return;let i=document.createElement("hr");if(i.immersive=!0,i.setAttribute(el,"1"),t==="before")n.insertBefore(i,e);else{let a=e.nextSibling;a?n.insertBefore(i,a):n.appendChild(i)}}function xR(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 Wre(e){return!e||e.nodeType!==Node.ELEMENT_NODE?!1:e.getAttribute(el)==="1"}function qre(e){let t=e.parentElement;for(;t;){let r=(t.immersiveTranslateComputedStyle||globalThis.getComputedStyle(t))?.display||"";if(!Kre(r))return t;t=t.parentElement}return null}function Kre(e){return e==="inline"||e==="inline-block"||e==="inline-flex"||e==="inline-grid"||e==="contents"}function CR(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=sM(e,[r]);for(let s of o)for(let l of a){let u=i[l];s.getAttribute(l)!==u&&(u===null?s.removeAttribute(l):s.setAttribute(l,u))}}}function TR(e,t,n,r,i,a,o){if(!e)return;let s=Object.keys(t);if(s.length>0)for(let l of s){let{selectAll:u,...d}=t[l],g=Object.keys(d);(u?e.querySelectorAll(l):[e.querySelector(l)]).forEach(f=>{if(f)for(let p of g){let h=d[p];if(p==="translate"&&h==="no"){let y=f.innerText||f.textContent||"";if(!y.trim()||Yre(f,i,a,o)||!lM(y,n,r))continue}f.getAttribute(p)!==h&&(h===null?f.removeAttribute(p):f.setAttribute(p,h))}})}}function E1(e,t){if(!t)return;let n=Object.keys(t);if(n.length===0||!yn(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 A1(e,t){return Qre(e,t.excludeSelectorsRegexes)?!0:yn(e,t.excludeSelectors||[])?yn(e,t.selectors||[])?!1:!yn(e,t.stayOriginalSelectors||[]):!1}function Qre(e,t){try{if(!t)return;let n=t;for(let[r,i]of Object.entries(n)){if(!yn(e,[r]))continue;if(Jp(i,e?.textContent?.trim()||""))return!0}return!1}catch(n){return M.error(n),!1}}function w0(e,t){if(t.length===0)return!1;let n=t.filter(r=>!r.endsWith("*")).map(r=>r+" *");return yn(e,t.concat(n))}function Yre(e,t,n,r){let i=document.createTreeWalker(e,NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT,a=>a.nodeType===Node.ELEMENT_NODE&&A1(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(eh(o,t,n))return!0}}return!1}function Zre(e,t,n){return t==NodeFilter.FILTER_REJECT&&e.nodeType==Node.ELEMENT_NODE&&e.childNodes.length>=1&&e.childNodes[0].childNodes.length>=1&&Ia(e,{blockSelectors:n.blockSelectors,extraInlineSelectors:n.extraInlineSelectors,extraBlockSelectors:n.extraBlockSelectors,atomicBlockSelectors:n.atomicBlockSelectors},null)}function Jre(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&&Ia(n,{blockSelectors:t.blockSelectors,extraInlineSelectors:t.extraInlineSelectors,extraBlockSelectors:t.extraBlockSelectors,atomicBlockSelectors:t.atomicBlockSelectors},null))return n;n=n?.parentElement}return e?.parentElement}function SR(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 M.debug("[parse-body] body rule has confirm"),{bodyIsRoot:a(),bodyNode:n,articleNode:r||n,preElements:Vb(i.preSelectors)};if(document.body.scrollHeight!=0&&document.body.scrollHeight>=globalThis.innerHeight*i.maxBodyScreenLength)return M.debug("[parse-body] content dom elements too long"),{bodyIsRoot:!1,bodyNode:n,articleNode:r};try{let o=globalThis.document.cloneNode(!0),l=new fp(o,{keepClasses:!0}).parse();if(!l)return{bodyIsRoot:!1,bodyNode:null,articleNode:null,preElements:[]};n=$re(l.content,t),n&&tie(i,n)&&(r=n)}catch(o){M.error("[parse-body]",o)}return{bodyIsRoot:a(),bodyNode:n,articleNode:r,preElements:Vb(i.preSelectors)};function a(){return e.state.translationArea==="body"?!1:!!i.bodyIsRoot}}function wR(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&&M.debug("[parse-body] update article node",n),e.articleNode=n)}function Xre(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 $re(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=Xre(o,20),l=eie(o),u=null;for(let d of l){let g=document.body.querySelectorAll(d);if(!(g.length>8)&&g.length&&(g.forEach(m=>{let f=m.textContent,p=m?.innerText||"",h=f?.trim().length||0,x=u?.textContent?.trim().length||0;h>x&&(s?(f?.includes(s)||p?.includes(s))&&(u=m):u=m)}),u)){a.push(u);break}}}),!!a.length)return $p(a,document.body,t)}function eie(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 tie(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}function k1(e){let t=NM(e);return t.stayOriginalTags.map(r=>r.toLowerCase()).concat(t.stayOriginalSelectors).concat(t.additionalStayOriginalSelectors)}function ar(e,t){if(!t&&e.filterRule)return e.filterRule;let n=e.rule;e.isRichTranslate&&(n=Xb(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(l=>{let u=n.preTranslateLimiter[`${l}.enableTranslate`],d=n.preTranslateLimiter[`${l}.selectors`]||[];u?r.length&&(r=r.concat(d)):(a.push(...d),r=r.filter(g=>!d.includes(g)))}),{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(l=>l.toLowerCase()).filter(l=>l!=="code"&&l!=="img").concat(a).concat(n.additionalExcludeSelectors),excludeSelectorsRegexes:o,blockSelectors:n.allBlockTags.map(l=>l.toLowerCase()).concat(n.extraBlockSelectors),extraBlockSelectors:n.extraBlockSelectors,extraInlineSelectors:n.extraInlineSelectors.concat(n.additionalInlineSelectors),stayOriginalSelectors:n.stayOriginalTags.map(l=>l.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 ER=!1;function N5(e){ER=e}function AR(e){Ue()&&e.config.aiTranslatedCheck&&!ER&&(N5(!0),He("showToast",{type:"aiTranslated"}))}function kR(e,t,n){let r=nie(e,n),i=encodeURIComponent(r.replaceAll(`
`,"")),a=n.message.replaceAll(`
`,"").replaceAll('"',"&quot;"),o=de("retryAllButton"),s=de("errorTooltipTitle")+": "+a,l=de("error.retry"),u=de("error.reason");tn(c("a",{href:"javascript:void(0)",children:c("font",{class:"immersive-translate-error notranslate",children:c("font",{class:"immersive-translate-error-wrapper",children:[c("font",{class:"immersive-translate-clickable-button notranslate",style:"display:flex;flex-direction:row;align-items:center;",title:o,onClick:()=>{be({type:"content",topFrame:!0},"retryFailedParagraphs")},children:[c("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:c("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"})}),c("span",{style:"color:#428ADF;text-decoration-line:underline;text-underline-offset:0.2em;margin-left:0.2em;pointer-events:none;",children:l})]}),"\xA0\xA0",c("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:()=>{He("showErrorModal",r)},children:[c("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:c("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"})}),c("span",{style:"color:#428ADF;text-decoration-line:underline;text-underline-offset:0.2em;margin-left:0.2em;pointer-events:none;",children:u})]})]})})}),t)}function MR(e,t,n){let r=n.uiConfig(e),i=encodeURIComponent(JSON.stringify(r).replaceAll(`
`,"")),a=n.message.replaceAll(`
`,"").replaceAll('"',"&quot;"),o=de("errorTooltipTitle")+": "+a,s=de("error.reason");tn(c("font",{class:"immersive-translate-error notranslate",style:"padding: 4px 0;",children:c("font",{class:"immersive-translate-error-wrapper",children:c("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:[c("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:c("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"})}),c("span",{style:"color:#428ADF;text-decoration-line:underline;text-underline-offset:0.2em;margin-left:0.2em;pointer-events:none;",children:s})]})})}),t)}function E0(){F5=0,N5(!1)}var F5=0;function nie(e,t){F5+=1;let n=t.message;if(t instanceof J){let r=t.uiConfig(e);n=JSON.stringify(r);let i=e.rule.toastErrorMinTimes;if(r.immediateShow&&(i=1),F5!=i)return n;He("showErrorModal",r)}return n}var RR="__imt_forwarded_event__",IR=new WeakSet;function LR(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 rie(e){let t=e.target;return t?t instanceof Element?t:t instanceof Node?t.parentElement:null:null}function NR(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 iie(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=NR(i),s=n.get(o)||[];s.push(i),n.set(o,s);let l=i.tagName.toLowerCase(),u=r.get(l)||[];u.push(i),r.set(l,u)}return{byId:t,bySignature:n,byTag:r}}function DR(e,t){for(;e.length;){let n=e.shift();if(!t.has(n))return t.add(n),n}return null}function aie(e,t){let n=new WeakMap,r=new WeakSet,i=iie(e);for(let a of t){let o=a.getAttribute("id")||"";if(o){let d=i.byId.get(o);if(d&&!r.has(d)){r.add(d),n.set(a,d);continue}}let s=NR(a),l=i.bySignature.get(s);if(l){let d=DR(l,r);if(d){n.set(a,d);continue}}let u=i.byTag.get(a.tagName.toLowerCase());if(u){let d=DR(u,r);if(d){n.set(a,d);continue}}}return n}function PR(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 oie(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[RR]=!0,i}function sie(e,t,n,r){let i=oie(e,t,r);n.dispatchEvent(i),i.defaultPrevented&&t.preventDefault()}function FR(e){let{paragraph:t,targetWrapper:n}=e;if(!IR.has(n)){IR.add(n);try{let r=LR(t.rootNodes||[]),a=LR([n]).filter(u=>u!==n);if(r.length>4e3||a.length>4e3)return;let o=aie(r,a),s=u=>{if(u[RR]||!u.isTrusted)return;let d=rie(u);if(!d)return;let g=PR(n,o,d);if(!g)return;let m=u,f=null,p=m.relatedTarget;p instanceof Element&&(f=PR(n,o,p)),sie(u.type,m,g,f)},l=["click","mouseover","mouseout","mouseenter","mouseleave"];for(let u of l)n.addEventListener(u,s,!0)}catch{}}}function BR(e){return e.trim().startsWith("@")}function lie(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 uie(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 cie(e){let t=e.parentElement;return t?!!t.closest('[contenteditable=""],[contenteditable="true"]'):!1}function die(e,t){if(!(t.nodeValue||"").trim()||cie(t))return!0;let r=t.parentElement;if(!r)return!0;let i=e.filterRule?.stayOriginalSelectors||e.rule?.stayOriginalSelectors||[];return!!(i.length&&yn(r,i))}function OR(e,t,n=!1){let r=[];function i(a){if(a.nodeType===3){let o=a;if(!(o.nodeValue||"").trim()||!n&&die(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&&lie(r[r.length-1]);)r.pop();return r}function _R(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 B5(e){let t=e.parentElement;if(!t)return"unknown";let n=_R(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 gie(e){let t=new Map;for(let n of e){let r=B5(n),i=t.get(r)||[];i.push(n),t.set(r,i)}return t}function mie(e){return e.length&&e.shift()||null}function fie(e,t){if(e.length!==t.length)return{ok:!1,pairs:[],coverage:0,sourceCount:e.length,targetCount:t.length};let n=[],r=gie(e);for(let o of t){let s=B5(o),l=r.get(s);if(l&&l.length){let u=mie(l);u&&n.push({source:u,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(u=>(u.source.nodeValue||"").length),s=n.map(u=>(u.target.nodeValue||"").length),l=!1;for(let u=0;u<o.length;u++){for(let d=u+1;d<o.length;d++){let g=o[u]-o[d],m=s[u]-s[d],f=Math.abs(g)>Math.max(Math.max(o[u],o[d])*.4,15),p=Math.abs(m)>Math.max(Math.max(s[u],s[d])*.4,15);if(f&&p&&Math.sign(g)!==Math.sign(m)){l=!0;break}}if(l)break}if(l)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 UR(e){let{ctx:t,paragraph:n,targetWrapper:r,debug:i}=e,a=[];for(let g of n.rootNodes||[])g&&a.push(...OR(g,t,!0));let o=OR(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=fie(a,o);if(!s.ok)return{ok:!1,reason:`low coverage: ${s.coverage}`,coverage:s.coverage,sourceCount:s.sourceCount,targetCount:s.targetCount};let l={items:s.pairs.map(g=>({node:g.source,value:g.source.nodeValue||"",mapValue:g.target.nodeValue||""}))},u;if(i?.enabled){let g=Math.max(0,i.maxPairs),m=Math.max(16,i.maxTextLength);u=s.pairs.slice(0,g).map(f=>{let p=B5(f.source),h=(f.source.nodeValue||"").slice(0,m),x=(f.target.nodeValue||"").slice(0,m);return{key:p,sourceBefore:h,targetText:x}})}for(let{source:g,target:m}of s.pairs){let f=g.nodeValue||"",p=m.nodeValue||"",h=uie(f,p),x=g.parentElement,y=x?_R(x):"",b=BR(f),v=BR(p);if(y.includes("href:")&&b&&!v){g.nodeValue=f;continue}g.nodeValue=h}let d=pie(t,n);return l.classAdjustments=d.classAdjustments,l.attributeAdjustments=d.attributeAdjustments,{ok:!0,backup:l,coverage:s.coverage,sourceCount:s.sourceCount,targetCount:s.targetCount,pairCount:s.pairs.length,debugPairs:u}}function pie(e,t){let n=[];if(_M(e)){let o=e.config.translationTheme||"none",s=yl(o).theme;n.push(s),n.push(`${z}-target-inner`)}let r=[],i=[],a=t.commonAncestorContainer;if(a&&a.nodeType===1){a.hasAttribute(Yo)||(a.setAttribute(Yo,"1"),i.push({node:a,name:Yo}));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 M1(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 jR(e,t){if(!e)return t;let n=m=>{let f=[],p=/(<[^>]+>)/g,h=0,x;for(;(x=p.exec(m))!==null;){if(x.index>h){let y=m.substring(h,x.index);y&&f.push({type:"text",val:y,index:h})}f.push({type:"tag",val:x[0],index:x.index}),h=p.lastIndex}if(h<m.length){let y=m.substring(h);y&&f.push({type:"text",val:y,index:h})}return f},r=n(e),i=n(t),a=(m,f)=>{for(let p=f;p<m.length;p++){let h=m[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=m=>{let f=m.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(m)||o.has(h)?{kind:"self",name:h}:{kind:"open",name:h}},l=r.map((m,f)=>({...m,tokenIndex:f})).filter(m=>m.type==="tag"),u=[],d=0,g=[];for(let m=0;m<i.length;m++){let f=i[m];if(f.type==="text"){u.push(f.val);continue}let p=-1;for(let S=d;S<l.length;S++)if(l[S].val===f.val){p=S;break}if(p===-1)continue;let h=a(r,l[p].tokenIndex+1),x=a(i,m+1),y=h?.type==="tag",b=x?.type==="text";if(y&&b)continue;let{kind:v,name:C}=s(f.val);if(v==="close"){if(!C||g[g.length-1]!==C)continue;g.pop()}else v==="open"&&C&&g.push(C);u.push(f.val),d=p+1}return u.join("")}var O5=new WeakMap,Fl=new Map,hie=12,zR=3,yie=3,WR=1e3,HR=3,bWe=WR+50,qR=300,bie={sanitize:e=>e};async function P1(e,t,n,r){if(jn())return;let i=ar(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 j5(e,a,!1,!1,r)},onFrame:a=>{_5(e,a,!0)},onIgnoreElement:a=>{pn.mark(a,e.id,i.skipEditableCheck),e.ignoreResizeObserver?.observe(a)},engineCtx:e})}function _5(e,t,n){try{if(t instanceof HTMLIFrameElement){if(!ec(t))return;let r=t?.contentWindow?.document;if(!r?.body)return;t.src&&M.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),La(r.documentElement,e.translateState),e.observeContainers.includes(r)||e.observeContainers.push(r),Rl(r.body,e,n),e.dynamicContainerObserver?.observe(r.body,{childList:!0,subtree:!0,characterData:!0})}else{if(M.debug("[walk-container] onFrame shadowRoot",t.host),!t.host)return;e.observeContainers.includes(t)||e.observeContainers.push(t),e.injectCssToDocument(t,e.ctx),Rl(t,e,n),e.dynamicContainerObserver?.observe(t,{childList:!0,subtree:!0,characterData:!0})}}catch{}}async function Rl(e,t,n=!0){let r=Date.now(),{globalStyles:i,globalAttributes:a}=ar(t.ctx),o=0;if(u(t,e,n))return;if(hs(e)&&l(e)){pn.mark(e,t.id,t.ctx.rule.skipEditableCheck),await s(e);return}try{let d=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,g=>jn()||(hs(g)&&(i&&P5(g,i),a&&E1(g,a)),u(t,g,n))?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT);for(pn.mark(d.currentNode,t.id,t.ctx.rule.skipEditableCheck);d.nextNode()&&!jn();){pn.mark(d.currentNode,t.id,t.ctx.rule.skipEditableCheck);let g=d.currentNode;if(l(g))for(await s(g);!jn();){if(d.nextSibling()){let m=d.currentNode;if(pn.mark(d.currentNode,t.id,t.ctx.rule.skipEditableCheck),l(m)){await s(m);continue}else break}if(!d.parentNode())return}}}catch{}if(o==0&&e instanceof HTMLElement){await s(e);return}return t.observeContainers;async function s(d){if(!jn())if(o++,t.observeContainers.includes(d)||t.observeContainers.push(d),pn.clearMark(d),t.immediateTranslateCapacity>0){await P1(t,d,void 0,"build-containers");let g=Date.now()-r;g>100&&(M.debug("[build-containers] \u8017\u65F6\u4EFB\u52A1",g,d),r=Date.now(),await rt(0))}else t.containerVisibleObserver?.unobserve(d),t.containerVisibleObserver?.observe(d)}function l(d){let g=d.nodeName.toLowerCase();if(d.shadowRoot)return _5(t,d.shadowRoot,n),!1;if(g==="iframe")return _5(t,d,n),!1;if(["script","#document-fragment","img"].includes(g))return!1;let m=t.containerRule;if(m.selectors&&m.selectors?.length>0)return w0(d,m.selectors);if(t.ctx.rule.enableSkipBuildContainer||m.containerSelectors&&w0(d,m.containerSelectors))return!0;if(m.pageHeight){let f=d.scrollHeight;if(f>0&&f<m.pageHeight)return!0;{let p=t.ctx?.rule?.longBuildPageLength||10;if(f>m.pageHeight*p)if(Se()){if(f>m.pageHeight*2*p)return!1}else return!1;for(let h of d.childNodes)if(h.nodeType==Node.TEXT_NODE&&h.textContent&&h.textContent.trim().length>0)return!0}}return!1}function u(d,g,m){wR(d.ctx,g);let f=g.nodeName.toLowerCase();if(f=="script")return g.childNodes.length==0||g.childNodes.length==1&&g.childNodes[0].nodeType==Node.TEXT_NODE;if(g.nodeType===Node.DOCUMENT_FRAGMENT_NODE)return!1;if(g.nodeType!==Node.ELEMENT_NODE||m&&pn.isMarked(g,d.id))return!0;if(d.ctx.rule.isTransformPreTagNewLine&&f==="pre")return!1;let p=ar(d.ctx);return!!(A1(g,{excludeSelectors:p.excludeSelectors,selectors:p.selectors,excludeSelectorsRegexes:p.excludeSelectorsRegexes,stayOriginalSelectors:p.stayOriginalSelectors})||yn(g,p.skipBuildContainerSelectors)||yn(g,p.stayOriginalSelectors))}}function vie(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 U5(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",l=Kc(t,n.targetNodes,s);Nl(t,l,r,n.rootNodes,s)}else{let s=Kc(t,n.targetNodes);Nl(t,s,r,n.rootNodes)}}function I1(e){let{ctx:t,paragraph:n,rootNode:r}=e,i=n.targetNodes?.[0];if(!i||r.contains(i))return;let a=Kc(t,n.rootNodes);Nl(t,a,r,n.targetNodes||[])}function VR(e){let{ctx:t,paragraph:n}=e,r=n.targetNodes?.[0];if(!r||!hs(r))return null;n.imtTranslationOnlyTextBackup&&(M1(n.imtTranslationOnlyTextBackup),n.imtTranslationOnlyTextBackup=void 0);let i=UR({ctx:t,paragraph:n,targetWrapper:r,debug:{enabled:!!t.config.debug,maxPairs:200,maxTextLength:2e3}});return i.ok?(M.debug("[translation-only] in-place text mapping ok",{id:n.id,coverage:i.coverage}),n.imtTranslationOnlyTextBackup=i.backup,U5(e),!0):(M.debug("[translation-only] mapping failed, use classic replacement",{id:n.id,reason:i.reason}),!1)}var xie={"original->dual":e=>(I1(e),!0),"original->translation":e=>{let t=VR(e);return t===null?(M.warn("[diffParagraph] original->translation: targetNodes[0] is not element, skipping",{id:e.paragraph.id}),e.paragraph.insertFailedReason="target_not_element",!1):(t?Lo(e.paragraph.targetNodes):(I1(e),Lo(e.paragraph.rootNodes)),!0)},"dual->original":e=>(Lo(e.paragraph.targetNodes),!0),"dual->translation":e=>{let t=VR(e);return t===null?(M.warn("[diffParagraph] dual->translation: targetNodes[0] is not element, skipping",{id:e.paragraph.id}),e.paragraph.insertFailedReason="target_not_element",!1):(Lo(t?e.paragraph.targetNodes:e.paragraph.rootNodes),!0)},"translation->original":e=>{if(e.paragraph.imtTranslationOnlyTextBackup){M1(e.paragraph.imtTranslationOnlyTextBackup),e.paragraph.imtTranslationOnlyTextBackup=void 0;let t=e.paragraph.targetNodes?.[0];if(!!!(t&&e.rootNode.contains(t)))return!0}return U5(e),Lo(e.paragraph.targetNodes),!0},"translation->dual":e=>{if(e.paragraph.imtTranslationOnlyTextBackup){M1(e.paragraph.imtTranslationOnlyTextBackup),e.paragraph.imtTranslationOnlyTextBackup=void 0;let t=e.paragraph.targetNodes?.[0];if(!!!(t&&e.rootNode.contains(t)))return I1(e),!0}return U5(e),I1(e),!0}};function Cie(e,t,n){let r=t.targetText,i="",a="";try{n==="translation"&&(t.targetText=t.text,i=r9(t,e)),t.targetText=r,a=r9(t,e)}finally{t.targetText=r}if(n!=="translation")return a;let o=a;try{o=jR(i,a)}catch(s){M.debug("[translation-only] normalize failed, use raw target HTML",s)}return o}function R1(e,t,n){if(Pl(t.commonAncestorContainer),t.insertFailedReason=void 0,!t.targetNodes?.length)return M.error("[diffParagraph] no targetNodes",{paragraphId:t.id,state:n}),t.insertFailedReason="no_target_nodes",!1;let r=t.commonAncestorContainer;if(pn.isSkipMarkEle(r))return M.error("[diffParagraph] isSkipMarkEle",{paragraphId:t.id,state:n}),t.insertFailedReason="skip_mark_element",!1;pn.hasMark(r)||M.error("[diffParagraph] has no mark",{paragraphId:t.id,state:n});let i=vie(t,r);if(i===null){M.debug("[diffParagraph] DOM cleared by host, skip render",{paragraphId:t.id}),t.insertFailedReason="dom_cleared";let l=r.paragraphs;if(Array.isArray(l)){let u=l.indexOf(t);u>=0&&l.splice(u,1)}return!1}if(n==i)return M.error("[diffParagraph] state unchanged",{paragraphId:t.id,state:n}),t.insertFailedReason="state_unchanged",!1;let a=`${i}->${n}`,o=xie[a];if(!o)return t.insertFailedReason="unknown_transition",!1;let s=!1;try{Mie(t),kie(t,n!="translation");let l={ctx:e,paragraph:t,rootNode:r,translationPosition:e.config.translationPosition==="before"?"before":"after"};o(l)?(t.state=n,s=!0):(M.error("[diffParagraph] handler returned false",{paragraphId:t.id,transitionKey:a}),t.insertFailedReason="handler_failed")}catch(l){M.error(l),t.insertFailedReason="exception"}return s}function L1(e){return!e||!hs(e)?!1:e.classList.contains(It)}function Tie(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;let t=e;return t.getAttribute(yu)==="1"||t.getAttribute(el)==="1"}function Ga(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&&!Tie(n))return n;n=t===-1?n.previousSibling:n.nextSibling}return null}function N1(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 Kc(e,t,n){return t?(n||e.config.translationPosition)=="before"?t[0]:t[t.length-1].nextSibling:null}function Lo(e){(e||[]).forEach(t=>t.parentNode?.removeChild(t))}function Nl(e,t,n,r,i,a){let o=i||e.config.translationPosition;if(!n)return!1;if(a&&t){let s=Ga(t,-1);if(L1(s))return M.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 l=Ga(s,1);if(L1(l))return M.warn("[imt-insert-skip] duplicate wrapper detected",{translationPosition:o,firstChild:s,meaningfulSibling:l}),!1}return r.forEach(l=>{n.insertBefore(l,s)}),!0}if(t)r.forEach(s=>{s&&t.parentNode?.insertBefore(s,t)});else{if(a){let s=Ga(n.lastChild,-1);if(L1(s))return M.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 Sie=gr(k0,qR);async function j5(e,t,n=!1,r=!1,i){if(jn())return;let a=t.commonAncestorContainer;if(a instanceof ShadowRoot)return;let o=a.paragraphs?.find(h=>h.rootNodes.some(x=>x===t.rootNodes[0]));if(o)return o;a.paragraphs=a.paragraphs||[],a.paragraphs.push(t);let s=a.paragraphs.length-1;t.imtExpectedVersion=N1(a),t.imtExpectedVersion;let{ctx:l}=e,{rule:u}=l,d=dl(l.config.translationServices,e.translationService),g=l.config.translationServices[l.translationService],m=oh(t.commonAncestorContainer,t.flatNodes,{isPreWhitespace:t.isPreWhitespace||!1,delimiters:d,stayOriginalSelectors:k1(l),ignoreRichSelectors:u.ignoreRichSelectors,smallCodeLength:u.smallCodeLength,domPurifyAddTags:u.domPurifyAddTags,richMoreWordPercent:u.richMoreWordPercent||0,purifyRichHtml:u.purifyRichHtml||!1},g,!!l.isRichTranslate);if(!m){a.paragraphs.splice(s,1);return}let f=l?.config?.translationLanguagePattern?.excludeMatches||[],p=await z5(l,t,m,{excludeLanguages:n?[]:f,targetLanguage:l.targetLanguage,noTranslateRegexp:l.rule.noTranslateRegexp,delimiters:Bi(l.config.translationServices[l.translationService]),minTextCount:n?3:u.paragraphMinTextCount,minWordCount:u.paragraphMinWordCount,isDetectParagraphLanguage:u.detectParagraphLanguage||l.state.isDetectParagraphLanguage,ignoreZhCNandZhTW:l.rule.ignoreZhCNandZhTW},r);if(p)if(a.setAttribute("data-imt-p","1"),M.debug(`[parse-paragraph] "${p.text}"`),a.paragraphs[s]=p,(l.rule.parseImmediateTypes||[]).includes(i||"")||e.immediateTranslateCapacity>0||n||e.ctx?.state?.translationStartMode==="immediate")n&&(t.force=!0),wie(e,t.text),D1(e,t,r);else{if(yn(p.commonAncestorContainer,u.skipIgnoreSelectors))return D1(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 wie(e,t){e.ctx?.state?.translationStartMode!=="immediate"&&(e.immediateTranslateCapacity-=t?.length||0)}function D1(e,t,n=!1){if(jn()||!t.text)return;let r=e.autoIncreaseParagraphId++;if(t.id=r.toString(),e.paragraphEntities[r]=t,e.paragraphQueue.push(r.toString()),zn(t.commonAncestorContainer,$m,"1"),n){k0.call(e,e.ctx,!1,!0);return}let a=e.ctx.rule.longHtmlTextLength||WS,o=e.allTextLength>a&&e.ctx?.state?.translationStartMode==="immediate";Sie.call(e,e.ctx,o)}async function k0(e,t=!1,n=!1){if(jn())return;let r=this.paragraphQueue;if(this.autoIncreaseParagraphId==2&&r.length==1&&!n){setTimeout(()=>{this.autoIncreaseParagraphId==2&&this.paragraphQueue.length==1&&k0.call(this,e,t,!0)},qR+10);return}this.paragraphQueue=[];let i=[],a=[];for(let s=0;s<r.length;s++){let l=r[s],u=this.paragraphEntities[l];u&&(this.ctx.bodyNode?.contains(u.commonAncestorContainer)?(u.inArticleContext=!0,a.push(u)):i.push(u))}let o={...e,translationService:this.translationService};A0({paragraphs:a,ctx:o,translationMode:this.translateState||"dual",isLongImmediateHtml:t,inArticleContext:!0,userDiffContext:Gp(e.config)?.queryEnable||!1}),A0({paragraphs:i,ctx:o,translationMode:this.translateState||"dual",isLongImmediateHtml:t,inArticleContext:!1,userDiffContext:!1})}async function A0({paragraphs:e,ctx:t,translationMode:n,isLongImmediateHtml:r,inArticleContext:i,userDiffContext:a}){if(e.length===0||jn()||!e.length)return;let o={sentences:[]},s=_g(t,"",r),l=[];for(let d of e){let g=d.id,m=s?.cloneNode(!0);m&&(m.id=g,l.push(m));let f=t.config.translationPosition,p=Kc(t,d.rootNodes,f);Nl(t,p,d.commonAncestorContainer,[m],f,!0),d.loadingElement=m;let h=d.languageByLocal||"auto";d.languageByClient!=="auto"&&(h=d.languageByClient),o.sentences.push({id:parseInt(g),url:t.encryptedUrl,text:d.text,pureText:d.pureText,from:h,to:t.targetLanguage,xpath:d.xpath,force:d.force,inArticleContext:d.inArticleContext})}if(await Eie(t,e,o,i,a||!1,n)||!o.sentences.length)return;let u=ss();try{await mn(o,t,(d,g,m)=>{if(jn())return;let f=ss();if(u!==f)return;let p=m.id,h=KR(e,p.toString());h&&QR.call(null,d,g,m,h,t,n)})}catch(d){M.error("translateCurrentQueue error",d);return}}async function Eie(e,t,n,r,i,a){if(!i||!r)return!1;let o=ss();await mn(n,e,l);let s={...n,sentences:n.sentences.map(u=>({...u,inArticleContext:!1}))};return await mn(s,{...e,state:{...e.state,cache:!1}},l),!1;function l(u,d,g){if(jn())return;let m=ss();if(o!==m)return;let f=g.id,p=KR(t,f.toString());!p||!d||(d.inArticleContext?p.contextTargetText=d.text:p.targetText=d.text,p.contextTargetText&&p.targetText&&(d.text=p.targetText,d.contextText=p.contextTargetText,QR.call(null,u,d,g,p,e,a)))}}function KR(e,t){return e.find(n=>n.id===t)}function QR(e,t,n,r,i,a){let o=!1,s=r;try{Ju(s.commonAncestorContainer,n.id)?.remove(),s.loadingElement?.remove()}catch(f){M.error("[remove-loading-element] error",f)}s.loadingElement=void 0;let l=s.commonAncestorContainer,u=s.imtExpectedVersion,d=N1(l);if(d!==u&&u){M.debug(`[translated-paragraph] version outdated, skip render: ${r.id} (expected ${u}, current ${d})`,r.text);return}if(s&&(e||!t))m(e);else if(!g(r)){let p=r.commonAncestorContainer;p.dataset[`${uo}_insert_failed_reason`]=r.insertFailedReason||"unknown"}document.dispatchEvent(new CustomEvent(dn,{detail:JSON.stringify({type:"paragraphTranslated",payload:{ok:o}})}));function g(f){if(!f)return M.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 x=f.commonAncestorContainer?.paragraphs||[],y=x?.indexOf(f);y>=0&&x.splice(y,1)}else{let x=document.createElement(i.rule.targetWrapperTag);x.classList.add("notranslate",It),zn(x,gu,"1"),Lt(i.config.rtlLanguages,i.targetLanguage)&&x.setAttribute("dir","rtl"),x.setAttribute("lang",i.targetLanguage);let y=Cie(i,f,a),b=bie.sanitize(y);if(x.innerHTML=$n?.createHTML(b)||b,FR({ctx:i,paragraph:f,targetWrapper:x}),f.targetNodes=[x],Aie(f.rootNodes,i.config.translationPosition)){let C=f.rootNodes?.[0]||null,S=f.rootNodes?.[(f.rootNodes?.length||1)-1]||null,T=Ga(C?.previousSibling||null,-1),w=Ga(S?.nextSibling||null,1);M.warn("[imt-insert-skip] already translated",{paragraphId:f.id,text:f.text,translatedText:f.targetText,translationPosition:i.config.translationPosition,beforeNode:T,afterNode:w});return}h=R1(i,f,a),h&&i.config.enableEditTranslation&&l.setAttribute("contenteditable","true")}}catch(x){h=!1,M.error("[render-paragraph] error",x)}return o=!0,AR(i),!h&&p&&M.error("[render-paragraph] skipped insert due to same text",{sentenceId:n.id,paragraphId:f.id,translationMode:a}),h}function m(f){if(i.config.enableSilentTranslation)return;f||(M.error("translate error",n,f,t),f=new Error("no response from server"));let{rule:p}=i,h=n.id,x=document.createElement(p.targetWrapperTag);zn(x,PS,h.toString(),!0),x.classList.add("notranslate",It,It+"-error"),x.setAttribute("translate","no"),x.setAttribute("lang",i.targetLanguage);let y=r.rootNodes[r.rootNodes.length-1].nextSibling,b=Ga(y,1);L1(b)||Nl(i,y,r.commonAncestorContainer,[x]),s&&(s.error=f),x&&kR(i,x,f)}}function Aie(e,t){if(!e||e.length===0)return!1;let n=e[0],r=e[e.length-1],i=a=>!!a&&hs(a)&&a.classList.contains(It);return t==="before"?i(Ga(n.previousSibling,-1)):t==="after"?i(Ga(r.nextSibling,1)):i(Ga(n.previousSibling,-1))||i(Ga(r.nextSibling,1))}var GR="";async function z5(e,t,n,r,i=!1){let{text:a,html:o,pureText:s}=n,l=s||"";!r.isDetectParagraphLanguage&&e.rule?.detectTextBufferLength>0&&(l=GR.slice(0,e.rule?.detectTextBufferLength)+" "+s),GR=l;let u=await Ze({text:l,minLength:15,translateService:e.translationService,logPrefix:i?"[hover-translate]":""}),{targetLanguage:d}=r,g=o||a;if(o&&!ps({text:a||"",html:o,delimiters:r.delimiters,minWordCount:r.minWordCount,minTextCount:r.minTextCount,noTranslateRegexp:r.noTranslateRegexp})){if(o==a)return null;g=a}if(g!=o&&!ps({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=g,t.pureText=n?.pureText;let m=r.excludeLanguages||[],f=rp();if(r.isDetectParagraphLanguage&&(f="auto"),t.languageByLocal=u,t.languageByClient=f,e.specialAiAssistant?.disableSameLang)return t;let p=u;return f!="auto"&&(p=u.startsWith("zh")?u:f),gs(p,d,{ignoreZhCNandZhTW:r.ignoreZhCNandZhTW})||m.length>0&&m.some(y=>gs(p,y,{ignoreZhCNandZhTW:r.ignoreZhCNandZhTW}))?null:t}function kie(e,t){let r=(e.targetNodes||[])[0]?.firstChild;r?.nodeName=="BR"&&(r.hidden=!t)}function Mie(e){let t=e.commonAncestorContainer,n=t.nodeName=="OPTION"?t:null;n?.label&&n?.label==n?.innerText&&n.removeAttribute("label")}function Iie(e){return e.nodeType===Node.ELEMENT_NODE,e.textContent?.length??0}function H5(e){let t=Date.now(),n=Iie(e),r=O5.get(e);if(!r){r={contentLength:n,contentLengthHistory:[1],contentLengthValueHistory:[n],contentLengthHistoryAt:[t],lastChangedAt:t,firstParsedAt:t},O5.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>hie&&(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 YR(e){let t=O5.get(e);if(!t)return{shouldSkip:!1,shouldDelay:!1};let n=Date.now(),r=Lie(t),i=Die(t,n);return{shouldSkip:r,shouldDelay:i}}function Lie(e){let t=e.contentLengthHistory;return t.length<zR?!1:t.slice(-zR).reduce((i,a)=>i+a,0)<yie}function Die(e,t){let n=e.contentLengthValueHistory,r=e.contentLengthHistoryAt;if(n.length<HR)return!1;let i=r.findIndex(o=>t-o<=WR);if(i<0)return!1;let a=n.slice(i);return a.length<HR?!1:a[a.length-1]>a[0]}function ZR(e,t){Pl(e),e.querySelectorAll("."+It).forEach(r=>{r.remove()}),(e.paragraphs||[]).forEach(r=>{r.targetNodes=void 0,r.loadingElement?.remove(),r.loadingElement=void 0})}function JR(e,t){e instanceof HTMLElement&&e.setAttribute("data-imt-dynamic-skip",t)}function V5(e){e instanceof HTMLElement&&e.hasAttribute("data-imt-dynamic-skip")&&e.removeAttribute("data-imt-dynamic-skip")}async function F1(e){let t="auto",n=document.querySelector(e.bodyRule?.bodySelector||"body")||document.body,r=cM(n);return r&&(t=await Ze({text:r})),t}var Pie=[];function XR(e){Pie.push(e)}function $R(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 Qc(){let t=Wa().map(n=>n.contentWindow).filter(n=>!!n);return[window,...t]}function Wa(){let e=document.querySelectorAll("iframe"),t=[];return e.forEach(n=>{ec(n)&&t.push(n)}),t}var Be=null;function _1(){return Be||null}var G5=new Set,W5=0;function U1(e){KA(e),ys(document,e),Rie(e),$R(e),rN(e),Bie(e),_ie(e),Jn("Translated"),tN(Be),Oie(Be),XR(Is),Nie(Be),Xie()}function Rie(e){let t={...e.rule.initialSelectorGlobalAttributes};if(e.state.translationArea==="main"&&t){let n=ar(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]})})}TR(document.body,t,e.rule.asideMaxTextCount,e.rule.asideMaxWordCount,e.rule.asideMaxTextCountPerParagraph,e.rule.asideMaxWordCountPerParagraph,n)}Lt(e.config.rtlLanguages,e.targetLanguage)?zn(document.documentElement,pe+"_rtl",e.targetLanguage):Ug(document.documentElement,pe+"_rtl")}function Nie(e){let t=e.ctx;uN(t,!0),Xk(window.location.href)}function Fie(e){let t=e.ctx;uN(t,!1)}async function tN(e){if(os(!1),!document.body)return;let t=e.ctx;oN(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 nN(e.ctx,ar(e.ctx));if(e.allTextLength=document.body?.innerText?.length||0,i&&a){if(o)for(let l of o||[])await Rl(l,e);await Rl(i,e)}if(r)return;let s=[];n.mainFrameSelector&&(s=[...document.querySelectorAll(n.mainFrameSelector||"")]),s.length<=0&&(s=[document.body]);for(let l of s)await Rl(l,e)}function nN(e,t){hI(),e.bodyNode=void 0,e.articleNode=void 0;let{bodyNode:n,articleNode:r,bodyIsRoot:i,preElements:a}=SR(e,t);return M.debug(`[parse-body] ${e.url} bodyIsRoot: ${i}, bodyNode: ${n}, articleNode: ${r}`),e.bodyNode=n,e.articleNode=r,n&&r&&(M.debug("[parse-body] requestTermsByContext articleNode"),vl({...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 Bie(e){if(!e.state.isAutoTranslate&&e.config.tempTranslateDomainMinutes>0){let t=await Sn(),n=Date.now(),i=new URL(e.url).hostname,a=t.tempTranslationUrlMatches||[],o=a.findIndex(l=>l.match===i&&l.expiredAt>n),s=!1;o>-1||(a.push({match:i,expiredAt:n+e.config.tempTranslateDomainMinutes*60*1e3}),s=!0),s&&await mr({...t,tempTranslationUrlMatches:[...a]})}}function Oie(e){e.ctx.rule.isTranslateTitle&&(M5(e.ctx),e.titleDynamicObserver=fR(e.ctx))}function _ie(e){if(e.rule.normalizeBody&&document.querySelector(e.rule.normalizeBody)){let n=document.body.innerHTML;document.body.innerHTML="",document.body.innerHTML=n}}function q5(e,t){Be&&(e.filterRule=ar(e,!0),e.isRichTranslate=hl(e,e.translationService,e.config.translationServices,e.specialAiAssistant),t||(t=ar(e)),Be.containerRule={pageHeight:screen.availHeight,selectors:t.selectors,containerSelectors:t.buildContainerSelectors},Be.translationService=e.translationService,Be.urlChangeDelay=e.rule.urlChangeDelay,Be.immediateTranslateCapacity=1,Be.translateState=e.rule.translationMode||e.state.translationMode||e.config.translationMode||"dual",La(document.documentElement,Be.translateState),e.config.translationPosition&&document.documentElement.setAttribute("imt-trans-position",e.config.translationPosition))}function rN(e){let t=cl();return Be&&(t=Be.id),Be=Be||{},Be.ctx=e,Be.id=t,vp(t),Be.paragraphQueue=Be.paragraphQueue||[],q5(e),Be.currentUrl=window.location.href,Be.paragraphEntities=Be.paragraphEntities||{},Be.autoIncreaseParagraphId=Be.autoIncreaseParagraphId||1,os(!1),Be.observeContainers=Be.observeContainers||[],Be.observeContainers.includes(document)||Be.observeContainers.push(document),Be.observeParagraphs=Be.observeParagraphs||[],Be.dynamicContainerObserver=Be.dynamicContainerObserver||Qie(Be),Be.ignoreResizeObserver=Be.ignoreResizeObserver||zie(Be),Be.containerVisibleObserver=Be.containerVisibleObserver||Hie(Be),Be.paragraphVisibleObserver=Be.paragraphVisibleObserver||Vie(Be),Be.injectCssToDocument=O1,Be.walkContainer=qc,e.specialAiAssistant=To(e,e.translationService,!0),globalThis.onerror=jie(Be,e),globalThis.immersiveTranslateSwitchTranslateState=Z5.bind(Be),Be}function iN(e,t){t.getRootNode()instanceof ShadowRoot?O1(t.getRootNode(),e):O1(t.ownerDocument,e),Uie(e)}function Uie(e){Be||(Be={},Be.ctx=e,Be.id=cl(),vp(Be.id),K5(Be,e))}function K5(e,t){let n={...e};n.injectCssToDocument=O1,n.translationService=t.mouseHoverTranslationService,n.currentUrl=window.location.href,n.paragraphQueue=n.paragraphQueue||[],n.paragraphEntities=n.paragraphEntities||{},n.autoIncreaseParagraphId=n.autoIncreaseParagraphId||1,os(!1),n.urlChangeDelay=t.rule.urlChangeDelay,n.translateState=t.rule.translationMode||t.state.translationMode||t.config.translationMode||"dual",n.observeContainers=[],n.observeParagraphs=[],window.switchTranslateState=Z5.bind(n);let r=To(t,n.translationService,!0);return t.isRichTranslate=hl(t,n.translationService,t.config.translationServices,r),{engineCtx:n,ctx:{...t,specialAiAssistant:r,isRichTranslate:hl(t,n.translationService,t.config.translationServices,t.specialAiAssistant)}}}function Is(e=!0){if(Jn("Original"),!Be)return;os(!0),vp(""),ik(),Be.ignoreResizeObserver?.disconnect(),Be.dynamicContainerObserver?.disconnect(),Be.containerVisibleObserver?.disconnect(),Be.paragraphVisibleObserver?.disconnect(),Be.titleDynamicObserver?.disconnect(),Fie(Be),E0(),Yie(),pR(Be.ctx),_b(document),Ub(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=$n?.createHTML(a)||a,delete i.imtRawHtml,i.removeAttribute("data-imt-pre"))})))};Be.observeContainers?.forEach(r=>{n(r)}),Wa()?.forEach(r=>{try{let i=r.contentWindow?.document;if(!i)return;Ub(i),_b(i),n(i)}catch{}}),e&&Z5.call(Be,"original"),Object.values(Be.paragraphEntities).forEach(r=>{r.commonAncestorContainer.paragraphs=null}),Be.observeContainers=[],Be=null}function jie(e,t){os(!1);let n;return function(r){let i=r.message,a=!1;return i?.indexOf("Minified React error")>=0&&(a=!0),a&&(clearTimeout(n),Is(),n=setTimeout(()=>{U1(t)},e.urlChangeDelay||2e3)),!0}}function aN(e){return LP(e,e.rawUserConfig).map(n=>n*globalThis.innerHeight+"px").join(" ")}function zie(e){return new ResizeObserver((t,n)=>{if(!jn())for(let r of t){if(r.target.nodeType!==Node.ELEMENT_NODE)return;let i=r.target;Q5(i);let a=globalThis.getComputedStyle(i);R5(a)||(n.unobserve(r.target),pn.clearMark(i,!0),Rl(i,e))}})}function Hie(e){let t=aN(e.ctx.config);return new IntersectionObserver(async(n,r)=>{if(!jn())for(let i of n){let a=i.target;(i.isIntersecting||a.slot)&&(Q5(a),await P1(e,a,void 0,"container-visible"),r.unobserve(a))}},{rootMargin:t})}function Vie(e){let t=aN(e.ctx.config);return new IntersectionObserver((n,r)=>{jn()||n.forEach(i=>{if(i.isIntersecting){let a=i.target;Q5(a),(a.paragraphs||[]).forEach(s=>{D1(e,s)}),r.unobserve(a)}})},{rootMargin:t})}var eN;function Gie(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 Wie(e){if(e.urlChangeDelay<=0||(clearTimeout(eN),e.translateState=="original"))return!1;Is(e.urlChangeDelay>20),eN=setTimeout(()=>{let t=e.ctx;U1(t)},e.urlChangeDelay)}function qie(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 Kie(e,t,n,r){if(e.target.nodeType===Node.COMMENT_NODE||e.target.nodeType===Node.DOCUMENT_FRAGMENT_NODE||qie(e)||mR(t)||n.mutationConfig.checkSelfUpdate&&Zie(e)||B1(t)||B1(e.target)||n.mutationObserverLimitTargetSelectors.length>0&&!Fi(e.target,n.mutationObserverLimitTargetSelectors)||n.mutationExcludeSelectors.length>0&&(Fi(t,n.mutationExcludeSelectors)||Bb(t,n.mutationExcludeSelectors)))return!0;let i=r.excludeSelectors.filter(a=>![".notranslate","[translate=no]"].includes(a));return!!(i.length>0&&(Fi(t,i)||Bb(t,i)))}function Qie(e){let n=ar(e.ctx),r=new Set,i=new Set,a=new Set,o=new Map,s=null,l=!1;return u();function u(){return new MutationObserver(async w=>{if(jn())return;let E=e.ctx.rule;if(Gie(e)){if(!E.enableSiteAutoTranslate&&e.translateState!="original"){Is();return}if(await $ie(e)||(nN(e.ctx,n),E.mutationConfig.enableUrlChange&&Wie(e)))return}let k=new Set,D=new Set;for(let U of w)try{let B=U.target,P=B.nodeType===Node.ELEMENT_NODE?B:B.parentElement;if(!P||Kie(U,P,E,n))continue;let O=P.closest('[data-imt-p="1"]');if(O){D.add(O);continue}if(U.addedNodes.length===0||![Node.ELEMENT_NODE,Node.DOCUMENT_FRAGMENT_NODE].includes(U.target.nodeType))continue;let F=d(P);F&&k.add(F)}catch(B){M.error(B)}for(let U of k)H5(U),!f(U,E)&&g(U);for(let U of D)H5(U),!f(U,E)&&m(U);(k.size>0||D.size>0)&&S()})}function d(T){let w=T;for(;w&&w!==document.body;){if(w.nodeType===Node.ELEMENT_NODE){let E=w;if(Ia(E,n,null))return E}w=w.parentNode||(w instanceof ShadowRoot?w.host:null)}return w}function g(T){r.add(T)}function m(T){i.add(T)}function f(T,w){let E=w.repeatTranslateNum??0;if(E<=0)return!1;let D=T.imtParagraphStats?.contentLengthHistory?.length??0;return D<=0?!1:E>=D}function p(T){for(let w of a)if(w.contains(T))return w;return null}function h(T,w){let E=o.get(T);if(E){E.add(w);return}o.set(T,new Set([w]))}async function x(T){for(let w of T){let E=p(w);if(E){if(E.contains(w)){h(E,w);continue}g(w);continue}a.add(w);try{await y(w)}finally{a.delete(w);let k=o.get(w);if(k){o.delete(w);for(let D of k)g(D)}}}}async function y(T){W5++;let w=W5;G5.add(T),pn.clearMark(T,!1);let E=0;await P1(e,T,{shouldParseParagraph:k=>{let D=k.commonAncestorContainer,U=YR(D);return U.shouldSkip?(JR(D,"stable-window"),ZR(D,e),{shouldParse:!1}):(D.imtExpectedVersion=w,U.shouldDelay?(V5(D),Fl.set(D,Date.now()),{shouldParse:!1,shouldDelay:!0}):(V5(D),{shouldParse:!0}))},onParsed:k=>{k&&E++}},"dynamic"),E>0&&await rt(100)}function b(T){let w=new Set,E=new Set,k=[];for(Array.from(T.children).forEach(D=>{D instanceof HTMLElement&&k.push({node:D,depth:1})});k.length>0;){let{node:D,depth:U}=k.pop();if(U>200)continue;if(pn.hasMark(D)||D.hasAttribute?.("data-imt-p")){let F=D.parentElement;if(!F||!T.contains(F))continue;if(!(pn.hasMark(F)||F.hasAttribute?.("data-imt-p"))){let R=D.closest('[data-imt-p="1"]');if(!R||R.querySelector?.("."+It))continue;T.contains(R)&&delete R.imtExpectedVersion,w.add(R)}D.hasAttribute?.("data-imt-p")||Array.from(D.children).forEach(R=>{R instanceof HTMLElement&&k.push({node:R,depth:U+1})});continue}let P=D.parentElement;if(P&&(pn.hasMark(P)||P.hasAttribute?.("data-imt-p"))){if(B1(D))continue;E.add(P);continue}Array.from(D.children).forEach(F=>{F instanceof HTMLElement&&k.push({node:F,depth:U+1})})}return{reusedRoots:Array.from(w),pendingRoots:Array.from(E)}}function v(T){let w=new Set,E=Array.from(T);for(let k=0;k<E.length;k++){let D=E[k];if(!w.has(D)){if(!D.isConnected){w.add(D);continue}for(let U=0;U<E.length;U++){if(k===U)continue;let B=E[U];if(!w.has(B)){if(B.contains(D)&&B!==D){w.add(D),D instanceof HTMLElement&&pn.clearToParentMark(D,B);break}D.contains(B)&&D!==B&&(w.add(B),B instanceof HTMLElement&&D instanceof HTMLElement&&pn.clearToParentMark(B,D))}}}}w.forEach(k=>T.delete(k)),w.size>0}async function C(){if(s=null,l){S();return}let T=1100,w=Date.now();for(let[U,B]of Fl){if(!U.isConnected){Fl.delete(U);continue}if(i.has(U)){i.delete(U);continue}if(r.has(U)){r.delete(U);continue}w-B>T&&(Fl.delete(U),m(U))}if(r.size===0&&i.size===0){(a.size>0||Fl.size>0)&&S();return}for(let U of Array.from(r))if(U instanceof HTMLElement&&!U.hasAttribute?.("data-imt-p")){let{reusedRoots:B,pendingRoots:P}=b(U);B.forEach(O=>m(O)),P.forEach(O=>g(O))}let E=new Set;for(let U of Array.from(i)){let B=U;if(!B.isConnected){i.delete(U);continue}let P=B.querySelectorAll("[data-imt-p]").length;B.hasAttribute("[data-imt-p]")&&P>2||(Y5(U),E.add(U),i.delete(U))}let k=new Set([...E,...Array.from(r)]);if(v(k),k.size===0)return;let D=Array.from(k);r.clear(),l=!0;try{await x(D)}finally{l=!1}(r.size>0||i.size>0||Fl.size>0||a.size>0)&&S()}function S(){s||(s=setTimeout(C,50))}}function Q5(e){if(!e.getAttribute("data-imt-p"))return;let t=N1(e.parentElement);t&&(delete e.imtExpectedVersion,e.imtExpectedVersion=t)}function Yie(){G5.forEach(e=>{delete e.imtExpectedVersion}),G5.clear(),document.querySelectorAll("[data-imt-p]").forEach(e=>{delete e.imtExpectedVersion}),W5=0}function Y5(e){Pl(e);let t=n=>{let r=n,i=r?.paragraphs?.length;i&&(e.querySelectorAll("."+It).forEach(a=>a.remove()),r.paragraphs?.forEach(a=>{a.state==="translation"&&R1(Be.ctx,a,"original")}),r.paragraphs=[],i&&n.removeAttribute("data-imt-p"),Ug(n,$m))};e.querySelectorAll("[data-imt-p]").forEach(n=>{t(n)}),t(e),pn.clearMark(e,!0),e.removeAttribute("data-imt_insert_failed_reason")}function B1(e){if(!e)return!1;if(e.nodeType===Node.ELEMENT_NODE){let i=e;if(i.immersive||i.formatHtml||i.classList?.contains(It))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(It))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 Zie(e){let t=[...e.addedNodes,...e.removedNodes];return t.length===0?!1:t.every(n=>B1(n))}async function Z5(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 Is(),await rt(50),be("content","translatePage");return}this.translateState=e,La(document.documentElement,e),Wa()?.forEach(a=>{La(a.contentWindow?.document?.documentElement||null,e)}),Object.values(this.paragraphEntities).forEach(a=>{a.loadingElement?.remove(),a.loadingElement=void 0,R1(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(`.${It}`).forEach(s=>s.remove()),oN(i,a,o)}}function oN(e,t,n){(e.rule.lineBreakMaxTextCount>0||e.rule.advanceTransformPreTagNewLine)&&(n.querySelectorAll(`[${el}]`).forEach(i=>i.hidden=t=="original"),n.querySelectorAll(`[${yu}]`).forEach(i=>i.hidden=t=="original"))}function O1(e,t){if(e instanceof HTMLIFrameElement){ys(e.contentDocument,t);return}ys(e,t)}async function sN(e){let t={},n=e.rule.pageLangDetectWeight,r=l7(),i=await F1(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(Ae()||Mt()){let s=document.querySelector("[lang]")?.getAttribute("lang")||"";!["en","zh"].includes(s.split("-")[0])&&(a=[r,i])}let o=Jie(t,a);return sE(o),o}function Jie(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 lN(){if(!Be)return;E0(),document.dispatchEvent(new CustomEvent(dn,{detail:JSON.stringify({type:"retryFailedParagraphsStart",payload:{}})}));let e=Be.paragraphEntities,t=Object.keys(e);for(let n of t){let r=e[n];if(r.error){Be.paragraphQueue.push(n);let a=r.commonAncestorContainer.querySelector(`[${Yd}='${n}']`);a&&a.remove()}}k0.call(Be,Be.ctx)}async function Xie(){try{if(ao()||await Ie.local.get("reportActive",""))return;M.debug("\u672A\u6FC0\u6D3B\u8FC7");let t=await Sr();await Tt.post(`v1/user/campaign-info-translated/${t}`),await Ie.local.set("reportActive","1")}catch(e){M.error(e)}}function uN(e,t){let n=e.rule?.subtitleRule,r=n?.autoEnableSubtitle,i=n?.enableTriggerTranslate||n?.liveSubtitleRule?.enableTriggerTranslate;!r&&i&&document.dispatchEvent(new CustomEvent(du,{detail:{tempEnableSubtitle:t}}))}async function $ie(e){let t=e.ctx.rule;if(!t.urlChangeUpdateRule)return!1;let n=e.ctx;ii;let r=await Op(e.currentUrl);if(n.rule.id!=r?.id){M.debug("new rule.id",r?.id,"old id",n.rule.id),M.debug("url change newRule",location.href,r);try{Is(!1);let i=n.config.generalRule;r&&(n.rule=il(i,r),n.rule=await Fg(n.config,n.rule,[...i.advanceMergeConfig||[],...t.advanceMergeConfig||[]])),await Zp("updateRuleByUrlChange",t.mutationChangeDelay||50),Jn("Translated");let a=rN(n);return n.filterRule=ar(n,!0),tN(a),!0}catch(i){return M.debug(i),!1}}return ii,!1}var J5={};function qa(e){let t=Bl(e)||{};J5[e.sourceUrl+"_"+e.to]={...t,...e}}function Bl(e){return J5[e.sourceUrl+"_"+e.to]}async function cN(e,t){let n=location.href,r=Object.values(J5).filter(a=>a.siteUrl==n),i={isCNPlugin:Ue(),targetLanguage:e.targetLanguage,siteUrl:n,hasLog:t,userAgent:navigator.userAgent,isMobile:Se().any,platform:Ri(),images:[],version:Kn()};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=w1(e);i.htmlBlob=new Blob([a],{type:"text/html"}),i.usedGlossaries=xp();let o=await it();i.userConfig={translationService:e.translationService,targetLanguage:e.targetLanguage,...await kc(!1,o)}}return i}async function dN(e,t,n,r,i,a){let{htmlBlob:o,...s}=r;n||(s.images=[]);let l=await Sr(),u={resource:r.siteUrl,reason:t,metaData:JSON.stringify(s),feedType:"comic",deviceId:l,domain:location.hostname};o&&n&&(u.base64_file=await zc(o)),a&&(u.contactInfo=a),i&&(u.reportType=i);let d=await le.getUserToken();return ul()?await _e({url:`${_.BASE_API}v1/feed-back/web-report-log`,method:"POST",requestType:"formData",body:u,headers:{token:d}}):await fetch(`${_.BASE_API}v1/feed-back/web-report-log`,{method:"POST",body:Ms(u),headers:{token:d}}).then(async g=>(await oa(g,"web"),g.json()))}var M0={width:94,height:80};function gN(e,t=1){if(!e)return;if(t>3)return e;let n=e.getBoundingClientRect();return!n.width||!n.height?gN(e.parentElement,t+1):e}function Yc(e,t,n,r,i){let a=de.bind(null),o=gN(t.parentElement);if(!o)return;let s=globalThis.getComputedStyle(o);s.position!=="absolute"&&s.position!=="fixed"&&(o.style.position="relative");let l=e.rule.imageRule.opImageType=="append",u=o.getBoundingClientRect(),d=t.getBoundingClientRect(),g=document.createElement("div");if(g.id=pe+"ImgLoading",g.style.minWidth=M0.width+"px",g.style.height=M0.height+"px",g.style.position="absolute",g.style.left=d.left-u.left+(d.width-M0.width)/2+"px",g.style.top=d.top-u.top+(d.height-M0.height)/2+"px",g.style.padding="8px",l&&(g.style.left="50%",g.style.transform="translateX(-50%)",g.style.top=(u.height-M0.height)/2+"px"),e.rule.imageRule.loadingStyle){let m=e.rule.imageRule.loadingStyle,f=g.getAttribute("style")||"";g.setAttribute("style",f+m)}if(g.classList.add("imt-image-status"),g.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"&&g.classList.add("imt-loading"),n=="error"){let m=a("translateFail");r==="gif_not_supported"&&(m=a("imageState.gifNotSupported")),r=="show_error"&&i&&(m=i),g.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>${m}</span>
    `}return n=="success"&&(g.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(g),n=="error"?setTimeout(()=>{g.remove()},1500):n=="success"&&g.remove(),g}function X5(e,t,n){if(!t)return null;let r=t.querySelector("span");if(!r)return null;let i=de.bind(null),a=$5(n,i);return r.textContent=a,a}function $5(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 zi=class extends Error{type;constructor(t,n){super(t),this.name="ImtImageError",this.type=n}};function j1(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 l=document.createElement("canvas"),u=l.getContext("2d");if(!u)return;let d=a.width,g=a.height;r&&i&&(d>g?(a.width>r&&(g=a.height*r/a.width,d=r),a.height>i&&(d*=i/g,g=i)):(a.height>i&&(d*=i/g,g=i),a.width>r&&(g=a.height*r/a.width,d=r))),l.width=d,l.height=g,u.drawImage(a,0,0,d,g),l.toBlob(function(m){o(m)},"image/jpeg",n)},a.onerror=function(l){o(null)}})}function ev(e){if(!e?.startsWith("blob:"))return e}var z1=[],mN=[];async function I0({context:e,sourceUrl:t,blob:n,imgHash:r,imageType:i,onStateChange:a}){let s=e.rule.imageRule.concurrency||4;if(nv()||z1.includes(t))return"";if(z1.length>=s)return new Promise((u,d)=>{mN.push({args:{sourceUrl:t,blob:n,imgHash:r},resolve:u,reject:d})});z1.push(t);try{let l=await nae(e,t,n,r,i);if(typeof l=="string")return l;let{task_id:u,comicHash:d}=l;return await fN(e,u,d,e.rule.imageRule,a)||""}catch(l){throw l}finally{z1.shift(),(async()=>{let l=mN.shift();if(l){let{args:u,resolve:d,reject:g}=l;try{let m=await I0({context:e,sourceUrl:u.sourceUrl,blob:u.blob,imgHash:u.imgHash,imageType:i});d(m)}catch(m){g(m)}}})()}}async function eae(e,t,n,r,i){let a=i?.replace("image/","");a=="undefined"&&(a="jpg");let o=`${_.BASE_API}v1/img/img-upload-url?fileType=${a}&imgHash=${n}&comicHash=${r}&domain=${pN(location.hostname)}`;return e.rule.imageRule?.forceRefresh&&(o+="&force=1"),await _e({responseType:"json",url:o,headers:{token:t}}).then(l=>l.data)}async function tae(e,t,n){let r=await j1(e,t,.9)||t,i=r.size>t.size?t:r;return t.type=="text/plain"&&(i=r),ul()?_e({url:n,method:"PUT",requestType:"blob",responseType:"raw",headers:{"Content-Type":i.type},body:await zc(i)}):fetch(n,{method:"PUT",body:i,headers:new Headers({"Content-Type":i.type})})}async function nae(e,t,n,r,i="manga"){let o=(e.rule.imageRule||{mangaTranslator:"openai",commonTranslator:"deepl"})[i+"Translator"],s=rae(e.rule.imageRule,e.targetLanguage,o),l={imgHash:r,size:"M",detector:"auto",translator:s.translator,direction:s.direction,tgt_lang:s.lang,type:i},u=await Pa(l);qa({sourceUrl:t,to:e.targetLanguage,comicHash:u});let d=await le.getUserToken(),g=await eae(e,d,r,u,n.type);if(g.objectKey&&qa({sourceUrl:t,to:e.targetLanguage,objectKey:g.objectKey}),g.imgUrl)return g.imgUrl;g.preSignedURL&&await tae(t,n,g.preSignedURL),l.objectKey=g.objectKey,l.comicHash=u;let m;return ul()?m=await _e({url:tv()+"/trigger",method:"POST",requestType:"formData",responseType:"json",body:l,headers:{token:d}}):m=await fetch(tv()+"/trigger",{method:"POST",body:Ms(l),headers:{token:d}}).then(async f=>(await oa(f,"manga"),f.json())),qa({sourceUrl:t,to:e.targetLanguage,taskId:m.task_id}),{task_id:m.task_id,comicHash:u}}async function fN(e,t,n,r,i){let a=nv();if(a)return;let o=await le.getUserToken();di("Translating",a);let s=await _e({url:tv()+`/${t}/task-state?comicHash=${n}&domain=${pN(location.hostname)}`,responseType:"json",headers:{token:o},timeout:6e4});if(i?.(s.state),s.state.startsWith("error")){M.error("error",s);return}return s.finished&&s.state=="saved"?s.oss_url:(await Zp(t,r.queryIntervalTime||100),fN(e,t,n,r,i))}function tv(){return _.BASE_API+"comics"}function rae(e,t,n){let r=e.latinLang||["en","fr","es","pt","pt-br","it"],i=Lh[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 pN(e){return e.replaceAll(".","_")}var iae=`
  .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;
      }
  }
`,rv="immersive-translate-toastify-shadow-root",iv=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(rv)){let t=document.getElementById(rv);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=rv,t.style.all="initial",t.style.zIndex="2147483647",document.body.appendChild(t);let n=t.attachShadow({mode:"open"}),r=document.createElement("style");r.textContent=iae,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 l=15;(window.innerWidth>0?window.innerWidth:screen.width)<=360?(i[o].style[a]=`${r[a]}px`,r[a]+=s+l):i[o].classList.contains("toastify-left")===!0?(i[o].style[a]=`${t[a]}px`,t[a]+=s+l):(i[o].style[a]=`${n[a]}px`,n[a]+=s+l)}}_getAxisOffsetAValue(t,n){return n.offset[t]?isNaN(n.offset[t])?n.offset[t]:`${n.offset[t]}px`:"0px"}};function H1(e){e=e||{},new iv({gravity:"bottom",duration:1500,style:{background:"#222",color:"#f2f2f2"},...e}).showToast()}var aae;async function hN(){if(kt()){if($f()){M.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=mo.iframe(zS,"*",{targetWindow:t});aae=n,await mo.connect(n).catch(r=>{M.error("connect with parent frame error",r)})}}function yN(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 xN=new Set,oae=["web_page","subtitle_video","selection","mouse_hover","input","ai_writing"];async function or(e){if(ao())return!0;if(e.usageScene==="web_page"&&kt())return await sae(e);try{return await uae(e)?!0:await av(e)?(await lae(e),!0):!1}catch(t){return M.error("checkAndRecordTranslationUsage error",t),!0}}async function sae(e){try{let t=new Promise(r=>{setTimeout(()=>{M.warn("checkAndRecordWebPageUsage timeout after 1s, fallback to allow"),r(!0)},1e3)}),n=be({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 M.error("checkAndRecordWebPageUsage iframe error",t),!0}}async function av(e){try{let t=await ov(e);if(!t)return!0;let{userType:n,usageScene:r,totalLimit:i,totalCount:a,dedupeHit:o}=t;return TN(n,i,a)?(await bN(n,"hard")&&(bae(n),await vN(n,"hard")),!1):(o||SN(n,i,a)&&await bN(n,"soft")&&(ae({key:"usage_limit_soft_hit",params:{trigger:n}}),yae(n,r),await vN(n,"soft")),!0)}catch(t){return M.error("checkTranslationUsage error",t),!0}}async function lae(e){try{let t=await ov(e);if(!t)return;let{usageScene:n,shouldCountTotal:r,dedupeHit:i}=t,a=EN(n,e.ctx.url);if(a&&i)return;let o=await Ol();if(r){let s=o[n]??0;o[n]=s+1}a&&xN.add(a),await sv(o)}catch(t){M.error("recordTranslationUsage error",t)}}async function Zc(e){try{let t=await ov(e);if(!t)return null;let{userType:n,totalLimit:r,totalCount:i}=t,a=TN(n,r,i),o=!a&&SN(n,r,i);if(!a&&!o)return null;let s=a?vae(n):wN(n);return{userType:n,softHit:o,hardHit:a,message:s}}catch(t){return M.error("getTranslationUsageLimitPopupStatus error",t),null}}async function CN(e){let{ctx:t,usageScene:n,service:r}=e,i=cae(t);if(!i?.enable)return{shouldSkip:!0};if(dae(t,n))return{shouldSkip:!0};let a=await fae(t);if(a==="pro")return{shouldSkip:!0};let o=gae(t,r);if(!o)return{shouldSkip:!0};if(!mae(o))return{shouldSkip:!0};let s=i.usageScenes||[],l=i.usageSceneWeights,u=s.includes(n);return u?{shouldSkip:!1,userType:a,limitConfig:i,usageScenes:s,usageSceneWeights:l,shouldCountTotal:u}:{shouldSkip:!0}}async function uae(e){return(await CN(e)).shouldSkip}async function ov(e){let{ctx:t,usageScene:n}=e,r=await CN(e);if(r.shouldSkip)return null;let{userType:i,limitConfig:a,usageScenes:o,usageSceneWeights:s,shouldCountTotal:l}=r,u=await Ol(),d=l?Sae(u,o,s):0,g=s?.[n]??1,m=EN(n,t.url),f=m?xN.has(m)===!0:!1;return{userType:i,usageScene:n,totalLimit:a.totalLimit,totalCount:d,currentSceneWeight:g,shouldCountTotal:l,dedupeHit:f}}function cae(e){return e.config?.translationUsageLimit}function dae(e,t){return t!=="web_page"?!1:(e.url||"").includes("immersivetranslate")}function gae(e,t){if(t)return e.config.translationServices?.[t]}function mae(e){return e.group==="free"}async function fae(e){if(e.isPro)return"pro";if(e.user)return Nt(e.user)?"pro":"free";let t=await le.getUserInfo();return t?Nt(t)?"pro":"free":"unregistered"}function TN(e,t,n){let r=hae(e,t);return r!==void 0&&n>=r}function SN(e,t,n){let r=pae(e,t);return r!==void 0&&n>=r}function pae(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 hae(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 yae(e,t){let n=wN(e);He("showToast",{type:"usageLimit",msg:n})}function bae(e){He("translationUsageLimitHard",{userType:e})}function wN(e){return e==="unregistered"?de("usageLimit.register.soft"):de("usageLimit.upgrade.soft")}function vae(e){return e==="unregistered"?de("usageLimit.register.hard"):de("usageLimit.upgrade.hard")}function xae(e){let t=e.getFullYear(),n=`${e.getMonth()+1}`.padStart(2,"0"),r=`${e.getDate()}`.padStart(2,"0");return`${t}-${n}-${r}`}function EN(e,t){if(e==="web_page")return"web_page";if(e==="subtitle_video"&&t)return t.trim()}async function Ol(){let e=await le.getValue(q2,{},!0),t=xae(new Date);if(e.date!==t){Cae(e,t);let n={date:t};return await sv(n),n}return e}async function AN(){if(!kt())try{await Ol()}catch(e){M.error("flushUsageLimitDailyReport error",e)}}async function sv(e){await le.setValue(q2,e,!0)}function Cae(e,t){let n=e.date;if(n&&n!==t)try{let r=Tae(e),i=Number(r.scene_total_count??0);if(!Number.isFinite(i)||i<=0)return;ae({key:"usage_limit_daily_stats",params:{trigger:n,...r}})}catch(r){M.error("reportPreviousDayUsageStats error",r)}}function Tae(e){let t={},n=0;return oae.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 kN(e,t){return e==="unregistered"?`unregistered_${t}`:`free_${t}`}async function bN(e,t){let n=kN(e,t),r=await Ol();return r.tipShown=r.tipShown||{},!(r.tipShown[n]||e==="unregistered"&&r.tipShown.free_hard)}async function vN(e,t){let n=kN(e,t),r=await Ol();r.tipShown=r.tipShown||{},r.tipShown[n]=!0,await sv(r)}function Sae(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}var wae=zt.filter;zt.filter=function(e){return!0};function lv(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&&zt(o,s=>{s.preventDefault();let l=r[a];!wae(s)&&l!="translateInputBox"||be("content",{method:l,data:{trigger:"shortcut"}})})}}var V1={};function G1(e,t,n,r){if(r=r||globalThis.location.href,!r)return;e.rule.subtitleRule.multipleVideoContainerSelector||(V1={});let i=Ca.includes(Te(n));V1[r]={title:document.title,url:r,subtitleItems:t.map(a=>{if(a.text.includes("<"))try{let o=S1(a.text);a.text=o.replaceAll(`
`,i?"":" ")}catch{}return a}),sourceLang:n,targetLang:e.state.targetLanguage||e.targetLanguage,translationService:e.subtitleTranslateService}}function MN(e){e=e||globalThis.location.href,V1[e]=null}function uv(e){e=e||globalThis.location.href;let t=V1[e];if(!(!t||!t.subtitleItems.length))return t}async function IN(e){e=e||globalThis.location.href;let t=uv(e);if(!t)return;let n=await Sn();n.downloadSubtitle=t,await mr(n),Cn()?lt(_.DOWNLOAD_SUBTITLE_URL):lt(`${_.DOWNLOAD_SUBTITLE_URL}?source_url=${encodeURIComponent(e)}`)}async function LN(){let e=await Sn();if(e.downloadSubtitle)return e.downloadSubtitle}var Eae="imt-fb";function $t({type:e,hidden:t,className:n,onClick:r,style:i}){if(t)return null;let a=pr(),o={onClick:r,style:i,className:n};switch(e){case"logo":return c(Iae,{...o,className:`${Eae}-logo-img ${n}`});case"close":return c(Aae,{...o});case"setting":return c(kae,{...o});case"file":return c(Dae,{...o});case"translated":return c(Pae,{...o,isDark:a==="dark"});case"modal-close":return c(Rae,{...o});case"manga":return c(Nae,{...o});case"loading":return c(Fae,{...o});case"feedback":return c(Mae,{...o});case"upgrade":return c(Bae,{style:i,isDark:a==="dark"});case"side":return c(Lae,{className:n});case"side-new-badge":return c(Oae,{});default:return null}}function Aae(e){return c("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:[c("g",{"clip-path":"url(#clip0_38845_9816)",children:[c("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"}),c("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"})]}),c("defs",{children:c("clipPath",{id:"clip0_38845_9816",children:c("rect",{width:"14",height:"14",fill:"white"})})})]})}function kae(e){return c("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[c("path",{d:"M17 8.66797H11.375",stroke:"#ED6D8F","stroke-linecap":"round","stroke-linejoin":"round"}),c("path",{d:"M12.625 15.332L7 15.332",stroke:"#ED6D8F","stroke-linecap":"round","stroke-linejoin":"round"}),c("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"}),c("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"}),c("rect",{x:"3",y:"4",width:"18",height:"16",rx:"1.66667",stroke:"#ED6D8F"})]})}function Mae(e){return c("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[c("mask",{id:"mask0_39772_2885",style:"mask-type:alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:c("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),c("g",{mask:"url(#mask0_39772_2885)",children:c("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 Iae(e){return c("svg",{...e,width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c("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"}),c("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 Lae(e){return c("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:c("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 Dae(e){return c("svg",{...e,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:c("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 Pae(e){let{isDark:t,...n}=e;return t?c("svg",{...n,width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c("circle",{cx:"5.5",cy:"5.5",r:"5.5",fill:"#60BB4C"}),c("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"})]}):c("svg",{...n,width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c("circle",{cx:"5.5",cy:"5.5",r:"5.5",fill:"#68CD52"}),c("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 Rae(e){return c("svg",{...e,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:c("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 Nae(e){return c("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:[c("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"}),c("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 Fae(e){return c("svg",{...e,width:"19",height:"19",viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c("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"}),c("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"}),c("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"}),c("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"}),c("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"}),c("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"}),c("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"}),c("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"}),c("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"}),c("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"}),c("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"}),c("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 Bae(e){let{style:t,isDark:n}=e;return n?c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:[c("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)"}),c("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"}),c("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"}),c("defs",{children:c("linearGradient",{id:"paint0_linear_36341_572",x1:"6.21428",y1:"17",x2:"17.8601",y2:"9.43011",gradientUnits:"userSpaceOnUse",children:[c("stop",{"stop-color":"#424242"}),c("stop",{offset:"0.990396","stop-color":"#898989"})]})})]}):c("svg",{width:"18",height:"18",style:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c("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)"}),c("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"}),c("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"}),c("defs",{children:c("linearGradient",{id:"paint0_linear_28090_539",x1:"6.21379",y1:"17",x2:"17.8596",y2:"9.43011",gradientUnits:"userSpaceOnUse",children:[c("stop",{"stop-color":"#272727"}),c("stop",{offset:"0.990396","stop-color":"#696969"})]})})]})}function Oae(){return c("span",{className:"imt-fb-new-badge",children:c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"8",viewBox:"0 0 22 8",fill:"none",children:[c("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"}),c("path",{d:"M7.64844 7.70492V0.294922H12.1884V1.53492H9.12844V3.24492H11.7184V4.48492H9.12844V6.46492H12.2984V7.70492H7.64844Z",fill:"white"}),c("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 DN(e){return c("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:[c("circle",{cx:"7",cy:"7",r:"7",fill:"#B1B1B166"}),c("g",{transform:"translate(2, 2)",children:[c("mask",{id:"mask0_39788_745",style:"mask-type:alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"10",height:"10",children:c("rect",{width:"10",height:"10",fill:"#D9D9D9"})}),c("g",{mask:"url(#mask0_39788_745)",children:c("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 PN(e){return c("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:[c("circle",{cx:"7",cy:"7",r:"7",fill:"#B1B1B166"}),c("g",{transform:"translate(2, 2)",children:[c("mask",{id:"mask0_39789_2446",style:"mask-type:alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"10",height:"10",children:c("rect",{width:"10",height:"10",fill:"#D9D9D9"})}),c("g",{mask:"url(#mask0_39789_2446)",children:c("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 RN(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 u of a){let g=n[u].matches;for(let m of g)i[m]||(i[m]=[]),i[m].push(u)}let o=i[e];if(o&&o.length>0)for(let u of o)n[u].matches.indexOf(e)>-1&&(n[u]={...n[u],matches:n[u].matches.filter(g=>g!==e)});let s=new Set(r);if(t==="auto")return{...n};s.add(e);let l=Array.from(s);return{...n,[t]:{...n[t],matches:l}}}var _ae=({date:e})=>{let{t}=H(),[n,r]=N(!1);return W(()=>{setTimeout(()=>{r(!0)},5e3)},[]),n?null:c("p",{class:"text-sm",children:[t("Successfully synchronized with the latest official rules:")," ",new Date(e).toLocaleString()]})},Uae=({minVersion:e})=>{let{t}=H();return c("p",{class:"text-sm",children:t("localVersionIsTooOld",{minVersion:e})})},jae=()=>{let{t:e}=H();return c("p",{class:"text-sm",dangerouslySetInnerHTML:{__html:e("badUserscriptBrowser",{1:_.BASE_SITE+"docs/installation/"})}})},zae=({message:e,handleSyncing:t,date:n})=>{let{t:r}=H();return c("p",{class:"text-sm",children:[r("failToSyncRules")," ",c("a",{onClick:t,children:r("retry")}),c("br",{}),r("failedReason"),"\uFF1A",e,c("br",{}),r("currentRuleVersion"),"\uFF1A",n]})};function cv(e){let{isShowError:t,actionsRef:n}=e,[r,i]=N(null),{t:a}=H(),[o,s]=N(null),[l,u]=N(null),[d,g]=N(""),[m,f]=N(!1),[p,h]=N(!1),[x,y]=N(!1),[b,v]=N(null),[C,S]=N(null),T=Kn(),w=async()=>{g("");let E=o;if(o===null)try{let k=await n.current?.request({url:_.BASE_API+"buildin-config/sync"});k?(s(k),E=k,f(!0)):(g(a("unknownError")),u(null))}catch(k){u(null),g(k.message);return}E!==null?(n.current?.setStorageBuildinConfig(E),u(!1),i(E.buildinConfigUpdatedAt)):(g(a("canNotFetchRemoteRule")),u(null))};return W(()=>{Rt.DEBUG||We().then(E=>{let k=E.buildinConfigUpdatedAt;v(E);let D=new Date(k);if(i(k),T==="0.0.0"){y(!0);return}n.current?.request({url:_.buildinConfigSyncUrl}).then(U=>{let B=U,P=B.minVersion,O=T;s(B);let F=B.latestVersion;if(F&&(dt(O,F)?S(!0):S(!1)),dt(O,P)){let L=B.buildinConfigUpdatedAt;new Date(L)>D?(u(!0),w()):u(!1)}else h(!0),u(null)}).catch(U=>{u(null),g(U.message)})})},[]),W(()=>{We().then(E=>{v(E),So(E)})},[r]),b?c("div",{class:"text-sm mt-2",style:{maxWidth:218},children:x?c(jae,{}):d?t===!1?null:c(zae,{handleSyncing:w,message:d,date:r||""}):p?t===!1?null:c(Uae,{minVersion:o.minVersion}):l===null||l===!0?null:m?c(_ae,{date:r}):null}):null}function NN({currentLang:e,ctx:t,actionsRef:n}){let{t:r}=H();if(!t)return null;let i=Oa(t.translationService,t.config.targetLanguage,t.config),a=Qn;i.length<=30&&(a=i.indexOf("auto")>=0?i:["auto",...i]);let o=i.filter(l=>l!=="auto"),s=t.state.targetLanguage??t.config.targetLanguage;return c("div",{class:"flex mt-4 items-center",children:[c(Hae,{supportedLanguages:a,interfaceLanguage:t.config.interfaceLanguage,currentLang:e,value:t.sourceLanguage,actionsRef:n}),c("img",{src:UD,style:{maxWidth:"unset"},class:"mx-2"}),c(Vae,{supportedLanguages:o,interfaceLanguage:t.config.interfaceLanguage,value:s,label:r("popupTarget"),onSelected:l=>{n.current?.setSettings(u=>({...u,targetLanguage:l})),n.current?.sendMessageToContent("updateTargetLanguage",!0,{targetLanguage:l}),n.current?.onReport({key:"init_page_daily",forceDaily:!0})}})]})}function Hae(e){let{t}=H(),n=e.actionsRef,{value:r,currentLang:i}=e,a=t("popupSourceLanguage");return r==="auto"&&i&&i!=="auto"&&(a=t("languages.auto")),c("div",{class:"language-select-container",children:[c("label",{children:a}),c("select",{autoComplete:"off",id:"source-language-select",class:"language-select",onChange:o=>{let s=o.target.value;s&&n.current?.onSetPageLanguage(s)},children:Oi(e.supportedLanguages,12,e.interfaceLanguage).map((o,s)=>{let l=Et(o,e.interfaceLanguage),u="";return o==="auto"&&r==="auto"&&(i&&i==="auto"?u=t("languages.auto"):u=Et(i,e.interfaceLanguage)+` (${t("languages.auto")})`),c("option",{value:o,selected:o===e.value,children:u||l},"selectlink"+s)})})]})}function Vae(e){return c("div",{class:"language-select-container",children:[c("select",{autoComplete:"off",id:"target-language-select",class:"language-select",onChange:t=>{let n=t.target.value;n&&e.onSelected(n)},children:Oi(e.supportedLanguages,12,e.interfaceLanguage).map((t,n)=>{let r=Et(t,e.interfaceLanguage);return c("option",{value:t,selected:t===e.value,children:r},"selectlink"+n)})}),c("label",{children:e.label})]})}var Gae={1:"babel-lite",2:"zhipu",3:"siliconcloud",4:"hymt"};function FN(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=Gae[o],u=(s?Xt(s):"")||t?.[o]||"";u&&n.push({type:"icon",src:u}),i=r.lastIndex}return i<e.length&&n.push({type:"text",value:e.slice(i)}),n}var W1=zo({popupFrom:"popup",actionsRef:null});function BN(e){let{t}=H(),{translationServiceItems:n,groupOptions:r,handleOnSelected:i}=Yae(e),a=X(()=>n.find(d=>d.selected)?.id,[n]);if(!n.length)return null;let s=e.ctx.config?.translationServices?.[e.ctx.translationService]||{},l=!!s.applyAccurateKey,u=l&&s.applyAccurateKey?t("accurateConfigs.tooltip",{site:s.applyAccurateKey||""}):void 0;return c("div",{class:"translation-service-container mt-3",children:[c(ON,{label:t("popupService"),items:r,ctx:e.ctx,class:e.showTrialPro?"border-bottom-radius-0":"",isServices:!0,disabled:l,disabledTooltip:u,onSelected:i}),c(qae,{...e,disabled:l,disabledTooltip:u,currentTranslationService:a}),c(Wae,{ctx:e.ctx,currentTranslationService:a,aiContextInfo:e.aiContextInfo})]})}function Wae({ctx:e,aiContextInfo:t,currentTranslationService:n}){let{popupFrom:r,actionsRef:i}=De(W1),a=i.current,{t:o}=H(),l=e.config?.translationServices?.[n]||{},u=e.config?.accurateConfigs,[d,g]=X(()=>Object.entries(u||{}).find(([x,y])=>et(e.url,y.matches))||[null,null],[e,u]),m=!!g,f=!1;m?f=!!g?.enable&&g?.translationService===n:e.isPro&&(f=!!l?.enableAIContext);let p=X(()=>{if(!t?.visible)return"";let h=new URL(e.url);return h.searchParams.append(af,"1"),h.searchParams.append("_immersive_translate_auto_translate","1"),h.toString()},[e.url,t]);return e.isPro&&!dr(l)&&!m?null:c("div",{class:"min-select-container",children:[c("label",{class:"inline-flex text-label mb-0 text-gray-6 flex-row items-center",style:{minWidth:60,flexShrink:0},children:[m?o("accurateConfigs.label",{site:d||""}):o("popup.enableAIContext"),e.isPro?null:c("img",{src:rr,class:"ml-2"}),c(Ye,{width:300,multiple:!0,text:`${o("popup.aiContextToolTip")} ${p?o("contextDiffPreview",{1:p}):""}`,enableMobile:!0,children:c(Ss,{style:{marginLeft:4,cursor:"pointer",verticalAlign:"text-top"}})})]}),c("input",{id:"toggle-ai-context",class:"shrink-0",role:"switch",type:"checkbox",checked:f,onClick:h=>{h.preventDefault();let x=!f;if(!e.isPro&&x){a?.onReport({key:"user_need_pro",params:{trigger:"popup_ai_context_toggle"}}),He("ai_context_upgrade",{trigger:r}),a?.onClose();return}a?.onReport({key:"popup_ai_context_toggle",params:{enable:x?1:0,trigger:r}}),a?.setSettings(()=>m?{"accurateConfigs.add":{[d]:{enable:x}}}:{translationServices:{[n]:{enableAIContext:x}}})}})]})}function ON(e){let t=e.items.length>0&&"options"in e.items[0],{t:n}=H(),r=X(()=>{if(t)return e.items;let o=e.items,s=o.find(d=>d.selected);if(!s||s.value!="auto")return o;e.ctx.specialAiAssistant=To(e.ctx,e.ctx.translationService,!0);let l=e.ctx.specialAiAssistant?.id;if(!l){let g=e.ctx.config?.translationServices?.[e.ctx.translationService];if(!g?.fallbackAssistantId||g?.fallbackAssistantId=="common")l="common";else return o}let u=o.find(d=>d.value==l);return!u||s.label.indexOf(u.label)>=0||(s.label=`${s.label} (${u.label})`),o},[e,n]),i=["min-select-container",e.class||"",e.disabled?"disabled":""].filter(Boolean).join(" "),a=c("div",{class:i,children:[c("label",{class:"inline-block text-label mb-0 text-gray-6",style:{minWidth:60,flexShrink:0},children:[e.label,"\uFF1A"]}),e.isServices&&t?c(Fc,{className:"translate-service",items:r,onSelected:e.onSelected,showSponsorInDefault:!0}):c(bi,{className:"translate-service transform-padding-left",maxWidth:300,items:r})]});return e.disabled?c(Ye,{width:300,multiple:!0,text:e.disabledTooltip||"",displayType:"block",enableMobile:!0,children:a}):a}function qae({ctx:e,disabled:t,disabledTooltip:n,pageStatus:r,actionsRef:i,currentTranslationService:a}){let{t:o}=H(),s=Qae(e,a),l=Kae(e,a),u=re((m,f)=>{i.current?.setSettings(p=>({translationServices:{[s.id]:{[m]:f}}})),r==="Translated"&&(e.rule.isTranslateWhenServiceChanged?setTimeout(()=>{i.current?.sendMessageToContent("translatePage")},1):setTimeout(()=>{i.current?.sendMessageToContent("restorePage")},1))},[s]),d=X(()=>s?.props.filter(m=>m.type==="select").map(m=>{let f=m.name;m.label&&(f=m.label),m.labelKey&&(f=o(m.labelKey));let p=m.options.map(h=>({label:`${h.label?o(h.label):h.value}`,value:h.value,selected:h.value==l[m.name],onSelected:x=>{if(h.action=="jumpOptions"){let y=h.args||[];i.current?.openOptionsPage(...y);return}u(m.name,h.value)}}));return{label:f,items:p}}),[l]);if(!l||!s?.props?.length||!d||!d?.length)return null;let g=c(ie,{children:d.map(({label:m,items:f},p)=>c(ON,{label:m,items:f,disabled:t,ctx:e},"field-"+p))});return t?c(Ye,{width:300,multiple:!0,text:n||"",displayType:"block",enableMobile:!0,children:g}):g}function Kae(e,t){return X(()=>{let{translationServices:r}=e.config;return r&&r[t]?r[t]||{}:{}},[e,t])}function Qae(e,t){let{lang:n}=H();return X(()=>{let i=ms(e,"translationService",n,t);return i?.props[0]?.labelKey=="field_label.assistant"&&(i.props[0].labelKey="field.assistant"),i},[_n,Hp,e,n,t])}function Yae({isProUser:e,ctx:t,pageStatus:n,actionsRef:r,dominantSponsor:i}){let{t:a,lang:o}=H(),s=X(()=>t?Tr(t,"translationService",o).filter(g=>t.config.showUnconfiguredTranslationServiceInPopup===!1?g.ok:!0):[],[t,o]),l=re(async d=>{let g=r.current;if(d.value=="more"){g?.openOptionsPage(!1,"#services");return}let m=s.find(f=>f.id===d.value);if(g?.sendMessageToContent("updateTranslationService",!0,{translationService:m.id}),g?.setSettings(f=>(g?.onChangeService(f.translationService||"",m.id),Xr({state:f,config:t.config,serviceType:"translationService",serviceId:m.id}))),m.ok){if(n!="Translated")return;t.rule.isTranslateWhenServiceChanged?setTimeout(()=>{g?.sendMessageToContent("translatePage")},1):setTimeout(()=>{g?.sendMessageToContent("restorePage")},1)}else m.currentProvider!=="custom"?Zae(t,m,r):setTimeout(()=>{g?.openOptionsPage(!1,"#services")},1)},[n]),u=X(()=>{let d=sn(t.config,t.isPro),g=t.config?.translationServices?.[gt]?.sponsorIconUrls,m=i?FN(i,g):null;return Ni(s,a).map(p=>{let h=p.services.map(x=>{let y=x.config.group=="pro"&&!d,b=x.config.group=="max"&&!d,v={label:x.name,value:x.id,selected:x.selected,img:x.icon,tipText:x.tipTextKey?a(x.tipTextKey):void 0,isShowProOnly:y,isShowMaxOnly:b,isShowGoSetting:!x.ok&&!y};return x.id===gt&&m?.length&&(v.sponsorSegments=m),v});return(!Ue()||h?.length)&&p.id==="custom"&&h.push({label:a("moreTranslationServices"),value:"more",selected:!1,isShowGoSetting:!1,isShowProOnly:!1,img:Xt("more")}),{...p,options:h}})},[s,t,i]);return{translationServiceItems:s,groupOptions:u,handleOnSelected:l}}function Zae(e,t,n){let r=de.bind(null),i=!!e.user,a=t.config.group,o=jf(e,a),s="",l="",u="",d=zf[a],g=r(a==="max"?"error.maxServiceDescription":"error.proServiceDescription");i?o?(s=r("notLoginPro"),l=r("upgradeToProErrorTitle",{service:t.name}),u="login"):(s=r("error.subscriptionExpiredTitle"),l=r("error.membershipServiceRequired",{service:t.name,membership:d,serviceDescription:g}),u=a==="max"?"upgradeToMax":"upgradeToPro"):(s=r("notLoginPro"),l=r("error.membershipServiceRequired",{service:t.name,membership:d,serviceDescription:g}),u=a==="max"?"loginUseMax":"loginUsePro"),He("showErrorModal",{title:s,errMsg:l,action:u})}var Jae=new Set(["http:","https:","file:","data:"]);function dv(e){if(e instanceof URL)return e;try{return new URL(e)}catch{return null}}function Xae(e){let t=dv(e);if(!t)return!1;let n=tk(),r="";try{r=new URL(n).hostname}catch{}return!!(r&&t.hostname===r)}function _N(e){let t=dv(e);return t?Xae(t)?!0:!(!Jae.has(t.protocol)||L0(t)||so()&&e.startsWith("https://microsoftedge.microsoft.com/addons/")||!so()&&Wn()&&e.startsWith("https://chromewebstore.google.com/")||Cn()&&/https?:\/\/[a-z]*\.mozilla\.org/.test(e)):!1}function L0(e){let t=dv(e);return t?t.protocol==="data:"?(t.pathname.split(",")[0]?.toLowerCase()??"").split(";")[0]==="application/pdf":t.pathname.toLowerCase().endsWith(".pdf"):!1}function UN(e){let t=e.indexOf("#");return t===-1?e:e.slice(0,t)}function jN(e){let{t}=H(),n=e.actionsRef,{currentUrlObj:r,isAlwaysTranslateDomain:i,isNeverTranslateDomain:a,handleTranslationUrlPatternSelected:o}=$ae(e),[s,l]=N(()=>a?"excludeMatches":"matches"),u=X(()=>i||a||!1,[i,a]),d=re(g=>{l(g),u&&o(g,r.hostname)},[l,o,u]);return c("div",{class:"flex justify-between mt-5",children:[c(bi,{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:()=>{d("matches")}},{label:t("neverTranslateThisSite"),value:"excludeMatches",selected:s==="excludeMatches",onSelected:()=>{d("excludeMatches")}}].filter(Boolean)}),c("input",{id:"always-translate-this-site-input",type:"checkbox",role:"switch",checked:u,class:"shrink-0",onChange:g=>{let m=g.target.checked;n.current?.onReport({key:"popup_switch_translate_for_this_site",params:{popup_switch_extend_field_enabled:m?1:0,popup_switch_extend_field:s}}),o(m?s:"default",r.hostname)}})]})}function $ae({currentUrl:e,ctx:t,currentLang:n,pageStatus:r,actionsRef:i}){let a=null,o=null,s=null,l=null,u=null,{translationUrlPattern:d}=t.config;if(a=X(()=>new URL(e||""),[e]),t.config&&e&&_N(e)){o=UN(e);let{matches:f,excludeMatches:p}=d;s=!!f.find(h=>et(e,h)),l=!!p.find(h=>et(e,h))}if(n&&n!=="auto"){let{translationLanguagePattern:f}=t.config,{matches:p}=f;p.includes(n)?u=!0:u=!1}let g=re(()=>{let f=a.hostname,p=t.localConfig.tempTranslationUrlMatches||[],h=p.filter(y=>y.match!==f),x=!1;h.length!==p.length&&(x=!0),x&&i.current?.onSetLocalConfig({...t.localConfig,tempTranslationUrlMatches:[...h]})},[]),m=re((f,p)=>{if(f==="default"){i.current?.setSettings(y=>{let b={...y.translationUrlPattern};return{isChangedAlwaysTranslatedUrls:!0,translationUrlPattern:{matches:gv(e,b.matches),excludeMatches:gv(e,b.excludeMatches)}}}),g();return}let h=f,x=h==="matches"?"excludeMatches":"matches";a&&i.current?.setSettings(y=>{let b={...y.translationUrlPattern};return b[x]=gv(e,b[x]),b[h]=Jt(p,b[h]),{isChangedAlwaysTranslatedUrls:!0,translationUrlPattern:{...b}}}),h==="matches"&&r==="Original"?setTimeout(()=>{i.current?.sendMessageToContent("translatePage")},100):h==="excludeMatches"&&r==="Translated"&&setTimeout(()=>{i.current?.sendMessageToContent("restorePage")},100)},[r,g]);return{currentUrlObj:a,currentUrlWithoutHash:o,isAlwaysTranslateDomain:s,isNeverTranslateDomain:l,isAlwaysTranslateLang:u,handleTranslationUrlPatternSelected:m}}function gv(e,t){return t?(Array.isArray(t)||(t=[t]),e?t.filter(n=>!et(e,n)):t):[]}function zN(e){let{t}=H(),{ctx:n,actionsRef:r}=e,i=eoe(e);return Fr(n.localConfig)?i.length?c("div",{class:"flex mt-3 items-center justify-between",children:[c("div",{class:"flex items-center",children:[c("label",{class:"mb-0 mr-2 shrink-0",children:[t("mouse-translate"),":"]}),c(bi,{style:{width:"100%",maxWidth:"100%"},className:"transform-padding-left min-select mouse-hover-translate-select",items:i})]}),c("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||va[0]}}),r.current?.setSettings(s=>{let l=s.generalRule?.mouseHoverPreferenceKey||n.config.generalRule.mouseHoverPreferenceKey||va[0];return{generalRule:{mouseHoverHoldKey:o?l:"Off"}}})}})]}):null:c(toe,{...e})}function eoe({ctx:e,actionsRef:t}){let{t:n}=H(),r=X(()=>{let o=e.config.generalRule,s=o.mouseHoverPreferenceKey;return o.mouseHoverHoldKey!=="Off"&&s!==o.mouseHoverHoldKey&&(s=o.mouseHoverHoldKey),s},[e]),i=X(()=>va.filter(o=>!(o==="Off"||va.includes(r)&&o==="OtherCustom")),[e,r]);return X(()=>i.map(o=>{let s=n("mouseHoldKey",{key:Or(o)}),l=va.includes(r),u=o===r;return o==="Auto"?s=n("mouseHoldKeyAuto"):o==="Off"?s=n("mouseHoldKeyOff"):o==="OtherCustom"?s=l?n("mouseHoldKeyOther"):n("mouseHoldKeyCustomKey",{key:r}):o==="Other"?s=n("mouseHoldKeyOther"):o==="MouseHoldKeyPressHold"&&(s=n("mouseHoldKeyPressHold")),l||o==="OtherCustom"&&(u=!0),{label:s,value:o,selected:u,onSelected:d=>{d.value==="Other"?t.current?.openOptionsPage(void 0,"#shortcuts"):(t.current?.onReport({key:"popup_mouse_translate_key_change",params:{new_key:String(d.value||"unknown"),old_key:String(r||"Off")}}),t.current?.setSettings(g=>{let m={...g.generalRule,mouseHoverPreferenceKey:d.value};return e.config.generalRule.mouseHoverHoldKey!=="Off"&&(m.mouseHoverHoldKey=d.value),{...g,generalRule:m}}))}}}),[i,r])}function toe(e){let{ctx:t,actionsRef:n}=e,{t:r}=H(),i=t.config.generalRule,a=Object.keys(D0).filter(u=>u!="touchShortcutsOff"),o=i.touchShortcutsToggleTranslateTouchElement,s=i.touchShortcutsToggleTranslateTouchElementPreferenceKey,l=s||"touchShortcutsOff";return o!=="touchShortcutsOff"&&o!==s&&(l=o),c("div",{class:"flex mt-3 items-center justify-between",children:[c("div",{class:"flex items-center",children:[c("label",{class:"mb-0 mr-2 shrink-0",children:[r("touch.mouse-translate"),":"]}),c(bi,{style:{width:"100%",maxWidth:"100%"},className:"transform-padding-left min-select",items:a.map((u,d)=>({value:u,label:r(u),selected:u==l,onSelected(g){n.current?.onReport({key:"popup_touch_translate_gesture_change",params:{new_gesture:String(g.value||"unknown"),old_gesture:l}}),n.current?.setSettings(m=>{let f={...m.generalRule,touchShortcutsToggleTranslateTouchElementPreferenceKey:g.value};return t.config.generalRule.touchShortcutsToggleTranslateTouchElement!=="touchShortcutsOff"&&(f.touchShortcutsToggleTranslateTouchElement=g.value),{...m,generalRule:f}})}}))})]}),c("input",{type:"checkbox",role:"switch",class:"shrink-0",checked:t.config.generalRule.touchShortcutsToggleTranslateTouchElement!=="touchShortcutsOff",onChange:u=>{let d=u.target.checked;n.current?.onReport({key:"popup_touch_translate_toggle",params:{enabled:d?1:0,touch_key:d?l||"slide.left":"touchShortcutsOff"}}),n.current?.setSettings(g=>{let m=g.generalRule?.touchShortcutsToggleTranslateTouchElementPreferenceKey||t.config.generalRule.touchShortcutsToggleTranslateTouchElementPreferenceKey||"slide.left";return{...g,generalRule:{...g.generalRule,touchShortcutsToggleTranslateTouchElement:d?m:"touchShortcutsOff"}}})}})]})}var noe=[{name:"direct",descriptionKey:"selectionTranslationTriggerModeDescriptionForDirect"},{name:"icon",descriptionKey:"selectionTranslationTriggerModeDescriptionForIcon"},{name:"mini",descriptionKey:"selectionTranslationTriggerModeDescriptionForMini"},...pu.map(e=>({name:e,descriptionKey:"selectionTranslationShortcut"}))];function HN(e){let{t}=H(),{ctx:n,actionsRef:r}=e;return Se().any||Ae()?null:c("div",{class:"flex mt-3 items-center justify-between",children:[c("div",{class:"flex items-center",children:[c("label",{class:"mb-0 mr-2 shrink-0",children:[t("selectionTranslation"),":"]}),c(bi,{style:{width:"100%",maxWidth:"100%"},className:"transform-padding-left min-select mouse-hover-translate-select",items:roe(e)})]}),c("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 roe=({ctx:e,actionsRef:t})=>{let{t:n}=H();return noe.map(i=>({label:n(i.descriptionKey,{shortcut:Or(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 VN(e){let{isAlwaysTranslateLang:t}=ioe({ctx:e.ctx,currentLang:e.currentLang}),{t:n}=H(),r=e.actionsRef;if(e.currentLang!=="auto")return c("div",{class:"flex justify-between mt-3 items-center",children:[c("label",{class:"mb-0 text-overflow-ellipsis flex-1",children:n("alwaysTranslateSomeLanguage",{language:Et(e.currentLang,e.ctx.config.interfaceLanguage,!1,!0)})}),c("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 c("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(l=>{let u={...l.translationLanguagePattern};return{translationLanguagePattern:{matches:Ut(e.currentLang,u.matches),excludeMatches:Ut(e.currentLang,u.excludeMatches)}}});return}let o=a,s=o==="matches"?"excludeMatches":"matches";e.currentLang&&r.current?.setSettings(l=>{let u={...l.translationLanguagePattern};return u[o]=Jt(e.currentLang,u[o]),u[s]=Ut(e.currentLang,u[s]),{...l,translationLanguagePattern:{...l.translationLanguagePattern,...u}}}),o==="matches"&&e.pageStatus==="Original"&&r.current?.sendMessageToContent("translatePage")}}function ioe({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 WN({type:e,isHiddenProSafari:t,config:n,ctx:r,actionsRef:i}){let{t:a}=H(),o=mt(),s=Ku(r)||Se().any,l=X(()=>{let u=[{title:a("widget.translateFile"),icon:c($L,{style:{marginRight:0}}),tooltipText:a("translateFileTooltip"),tooltipStyle:{left:-10,transform:"unset",fontSize:13,width:210,maxWidth:210},tooltipMultiple:!0,onClick:()=>{i.current?.onOpenUrl(_.APP_BASE_URL,`${e}_btn_document`)}},{title:a("widget.text"),icon:c(nD,{style:{marginRight:4}}),onClick:()=>{i.current?.onOpenUrl(_.TEXT_URL,`${e}_btn_text`)}}];return s?u.push({title:a("widget.helpCenter"),icon:c(iD,{style:{marginRight:4}}),onClick:()=>{i.current?.onOpenUrl(_.TUTORIAL_URL,`${e}_btn_help_center`)}}):u.push({title:a("rewardCenter.title"),icon:c(Sc,{style:{marginRight:0}}),onClick:()=>{i.current?.openRewardCenter()}}),u},[o,a,t,r,s]);return t?null:c("div",{class:`widgets-container mt-5 ${l.length===2?"widgets-two-items":""}`,children:l.map(u=>u.tooltipText?c(Ye,{text:u.tooltipText,containerStyle:l.length===2?{}:{flex:1},tipStyle:{...u.tooltipStyle,width:"200px",whiteSpace:"normal"},multiple:!0,children:c(GN,{...u})}):c(GN,{...u}))})}function GN(e){return c("div",{class:"widget-item",onClick:e.onClick,title:e.title,children:[e.icon,c("span",{class:"widget-icon-text",children:e.title})]})}function P0(e){return(e?.id?.endsWith("pdfWebPage")||!1)&&globalThis.top==globalThis.self}async function qN(){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 R0(e){try{if(!e||!P0(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 l=document.querySelectorAll(s);if(l.length){for(let u of l){for(let d of i)if(t=u.getAttribute(d)||"",t)break;if(t)break}if(t)break}}t||(t=document.querySelector("embed[type='application/pdf']")?.getAttribute("src")||"");let o=aoe(location.href,t);for(let s of a){let u=new URL(o).searchParams.get(s)||"";if(u)return u}return o}catch{return""}}function aoe(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 ooe=["bing","transmart","google","yandex"];function QN(e){let{t}=H();if(!e.showTrialPro)return null;let{actionsRef:n}=e;return c("div",{class:"trial-pro-container",children:[c("label",{class:"mb-0",children:t("popup.trial_pro_service")}),c("img",{src:rr,className:"cursor-pointer",onClick:r=>{n.current?.onOpenUrl(_.PRICING_URL,`${e.type}_trial_pro_service_logo`)}}),c("div",{class:"flex-1"}),c("input",{type:"checkbox",role:"switch",class:"shrink-0",checked:!1,onChange:r=>{n.current?.onOpenUrl(_.PRICING_URL,`${e.type}_trial_pro_service`)}})]})}var KN="popup_trial_pro_show_count";function YN(e){let{ctx:t,isHidden:n,isProUser:r}=e,[i,a]=N(null),o=$(!1);W(()=>{le.getValue(KN,0).then(l=>{a(l)})},[]);let s=X(()=>{if(n||r||i==null||!t.config.popupConfig.enableTrialPro)return!1;let l=t.config.popupConfig.trialProShowLimit;if(i>=l)return!1;let u=t.translationService;return!!ooe.includes(u)},[t,n,r,i]);return W(()=>{!s||i==null||o.current||(o.current=!0,le.setValue(KN,i+1))},[s,i,o]),{showTrialPro:s}}var q1="DROP_DOWN_DEFAULT_VALUE";function mv(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 l=$(null);return c("select",{id:"more-select",ref:l,autoComplete:"off",class:`min-select ${t?"":"min-select-no-arrow"} ${r||""}`,value:q1,style:{maxWidth:`${a}px`,...o},onClick:s,onChange:u=>{u.preventDefault();let d=u.target.value;if(l.current&&d!==q1){l.current.value=q1,l.current?.dispatchEvent(new Event("change"));let g=i.find(m=>m.value===d);g&&n(g)}},children:[{value:q1,label:e.label}].concat(i).map((u,d)=>c("option",{value:u.value,children:u.label},"option-"+d))})}function JN(e){let{t,lang:n}=H(),r=48,{defaultMenus:i}=soe(e),{configMenus:a,hasNewMenu:o,handleShowMenu:s}=loe(e),l=X(()=>[...a,...i],[i,a]);if(!l.length)return null;return n.startsWith("zh")||(r=Math.min(80,t("more").length*8+22),r=Math.max(r,48)),c("footer",{children:c("div",{class:"px-3 py-2-5 text-sm flex  items-center justify-between popup-footer",children:[c("div",{class:"setting flex flex-row items-center justify-center secondary clickable",onClick:u,children:[c(Bh,{style:{width:"16px",height:"16px"}}),c("span",{class:"ml-1 text-gray-6",children:t("options")})]}),c(uoe,{ctx:e.ctx,actionsRef:e.actionsRef}),c("div",{class:"more-container",children:[c(mv,{label:t("more"),showArrow:!0,maxWidth:r,className:"text-gray-6 more",onSelected:d=>{d?.onClick?.()},menus:l,onClick:()=>{s()}}),o?c("div",{class:"new-menu-indicator"}):null]})]})});function u(d){d.preventDefault(),e.actionsRef.current?.openOptionsPage()}}var ZN="POPUP_MORE_MENUS_SHOW_KEYS";function soe(e){let{isProUser:t,isShowPricing:n,ctx:r,isHiddenProSafari:i,isLogin:a,actionsRef:o}=e,{config:s}=e.ctx,{t:l}=H(),u=h=>{o.current?.setSettings(()=>(setTimeout(()=>o.current?.sendMessageToContent("translatePage"),100),{generalRule:{"preTranslateLimiter.add":{"side.enableTranslate":h}}}))},d=`${e.type}_more`,g=s.generalRule.preTranslateLimiter?.["side.enableTranslate"],m=re(h=>{r&&(o.current?.setSettings(x=>aa({...x},h)),o.current?.sendMessageToContent("updateFloatBallEnable",!0,h.enable))},[r,o]),f=gl(r,s.rawUserConfig);return{defaultMenus:X(()=>f?[{label:"\u{1F4D9} "+l("widget.instruction"),value:"openInstruction",onClick:()=>{o.current?.onOpenUrl(_.DOC_USAGE_URL,d)}},{label:"\u{1F524} "+l("changeToOnlyTranslationMode"),value:"changeToOnlyTranslationMode",visible:e.ctx.state.translationMode==="dual",onClick:()=>{o.current?.sendMessageToContent("switchTranslationMode",!0,{mode:"translation"})}},{label:"\u{1F521} "+l("changeToDualTranslationMode"),value:"changeToDualTranslationMode",visible:e.ctx.state.translationMode==="translation",onClick:()=>{o.current?.sendMessageToContent("switchTranslationMode",!0,{mode:"dual"})}},{label:"\u{1F480} "+l("changeToTranslateTheWholePage"),value:"changeToTranslateTheWholePage",visible:s.translationArea==="main",onClick:()=>{o.current?.setSettings(h=>({...h,translationArea:"body"})),o.current?.sendMessageToContent("translateTheWholePage")}},{label:"\u{1F4D6} "+l("changeToTranslateTheMainPage"),value:"changeToTranslateTheMainPage",visible:s.translationArea==="body",onClick:()=>{o.current?.setSettings(h=>({...h,translationArea:"main"})),o.current?.sendMessageToContent("translateTheMainPage")}},{label:`\u{1F4AA} ${l(g?"disableNavTranslate":"enableNavTranslate")}`,value:"switchNavEnableTranslate",visible:s.translationArea==="main",onClick:()=>{u(!g)}},{label:"\u26A1 "+l("translateToThePageEndImmediately"),value:"translateToThePageEndImmediately",onClick:()=>{o.current?.sendMessageToContent("translateToThePageEndImmediately")}},{label:"\u{1F4D8} "+l("browser.openEbookViewer"),value:"openEbookViewer",onClick:()=>{o.current?.onOpenUrl(_.EBOOK_VIEWER_URL,d)}},{label:"\u{1F4DA} "+l("browser.openEbookBuilder"),value:"openEbookBuilder",onClick:()=>{o.current?.onOpenUrl(_.EBOOK_BUILDER_URL,d)}},{label:"\u{1F4D5} "+l("browser.babelDOC"),value:"babelDOC",onClick:()=>{o.current?.onOpenUrl(_.BABELDOC_URL,`${e.type}_more_babeldoc`)}},{label:"\u{1F4C1} "+l("browser.translateLocalPdfFile"),value:"translateLocalPdfFile",onClick:()=>{o.current?.onOpenUrl(_.PDF_VIEWER_URL,`${e.type}_more_pdf`)}},{label:"\u2747\uFE0F "+l("browser.PdfProFile"),value:"pdfProFile",onClick:()=>{o.current?.onOpenUrl(_.PDF_PRO_URL,`${e.type}_more_pdfpro`)}},{label:"\u{1F310} "+l("browser.translateLocalHtmlFile"),value:"translateLocalHtmlFile",onClick:()=>{o.current?.onOpenUrl(_.HTML_VIEWER_URL,d)}},{label:"\u{1F4FA} "+l("browser.translateLocalSubtitleFile"),value:"translateLocalSubtitleFile",onClick:()=>{o.current?.onOpenUrl(_.SUBTITLE_BUILDER_URL,d)}},{label:"\u2B55 "+l("floatBallOptions.disable"),value:"disableFloatBall",visible:f?.enable,onClick:()=>{m({...f,enable:!1})}},{label:"\u2B55 "+l("floatBallOptions.enable"),value:"enableFloatBall",visible:!f?.enable,onClick:()=>{m({...f,enable:!0})}},{label:"\u{1F58C}\uFE0F "+(s.enableEditTranslation?l("disableEditTranslation"):l("enableEditTranslation")),value:"editTranslation",onClick:()=>{s.enableEditTranslation=!s.enableEditTranslation,o.current?.sendMessageToContent("toggleEnableEditTranslation",!0,!!s.enableEditTranslation)}},{label:"\u{1F451} "+l("upgradeToPro"),value:"goPro",visible:!t&&n,onClick:()=>{o.current?.onOpenUrl(_.PRICING_URL,d)}},{label:"\u{1F9F9} "+l("widget.cache"),value:"cleanCache",onClick:()=>{ws().then(()=>o.current?.onClose())}},{label:"\u{1F4AC} "+l("widget.webReport"),value:"webReport",onClick:()=>{He("webReport")}},{label:"\u{1F44D} "+l("widget.storeReview"),value:"storeReview",visible:Wn()||so(),onClick:()=>{o.current?.onReport({key:"click_good_review"}),so()?o.current?.onOpenUrl(_.Edge_Store_Url):o.current?.onOpenUrl(_.Chrome_Store_Url)}},{label:"\u2764\uFE0F "+l(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,l,e])}}function loe(e){let{isProUser:t,isLogin:n,actionsRef:r}=e,{config:i}=e.ctx,a=coe(n,t),[o,s]=N();W(()=>{oi(ZN,[]).then(g=>{s(g)})},[]);let l=X(()=>{let g=i.popupMoreMenus?.filter(f=>{let p=new Date().getTime(),h=new Date(f.startTime).getTime(),x=new Date(f.endTime).getTime();return p<h||p>x||f.interfaceLanguages&&!f.interfaceLanguages?.includes(i.interfaceLanguage)?!1:f.userType==="all"?!0:f.userType.includes(a)});return g?g.map(f=>({label:f.i18n[i.interfaceLanguage]||f.i18n.en,value:f.key,onClick:()=>{r.current?.onOpenUrl(f.targetUrl)}})):[]},[i,a]),u=X(()=>!l.length||!o?!1:l.some(g=>!o.includes(g.value)),[l,o]);return{configMenus:l,hasNewMenu:u,handleShowMenu:()=>{if(!o||!l.length)return;let g=l.map(f=>f.value),m=[...new Set([...o,...g])];s(m),Jo(ZN,m)}}}function uoe({ctx:e,actionsRef:t}){let{t:n}=H();return c("div",{class:"flex",children:c("span",{style:{cursor:"pointer"},class:`${z}-no-select text-sm text-gray-c2`,onClick:r=>{r.preventDefault(),mi(`${_.BASE_SITE}changelog/`)},children:[vu(e.config),e.config.enabled?null:c("a",{href:"#",onClick:()=>{t.current?.onToggleEnabled()},children:[" ","(",n("hasBeenDisabled"),")"]})]})})}function coe(e,t){return e?t?"pro":"normal":"guest"}async function Do(e){let t=await Sn();if(t.confirmSupportMouse==null){if(!e&&E2(!0)){mr({...t,confirmSupportMouse:!0});return}e&&E2(!1)&&mr({...t,confirmSupportMouse:!1})}}function N0(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 doe=({content:e,children:t,position:n="bottom",containerStyle:r,containerClass:i,width:a,delay:o=200,disable:s,enableMobile:l=!1,contentStyle:u,hidden:d,onHidden:g,onShow:m,onClick:f,class:p,autoAdjust:h=!0,backgroundColor:x="#ffffff",showShadow:y=!0,zIndex:b=1e3})=>{let[v,C]=N(!1),S=$(null),T=$(null),w=$(null),E=()=>{s||!l&&(Se().any||Bn())||(T.current&&clearTimeout(T.current),T.current=setTimeout(()=>{C(!0),m?.()},o))},k=()=>{(Se().any||Bn())&&(w.current&&clearTimeout(w.current),w.current=setTimeout(()=>{D()},3e3))},D=()=>{T.current&&clearTimeout(T.current),w.current&&clearTimeout(w.current),C(!1),g?.()},U=X(()=>({backgroundColor:x,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`},...u}),[x,y,a,u]),B=X(()=>{let L={position:"absolute",zIndex:b,transition:"opacity 0.2s ease-in-out, visibility 0.2s ease-in-out",pointerEvents:v?"auto":"none"},R=8;switch(n){case"top":return{...L,bottom:`calc(100% + ${R}px)`,left:"50%",transform:"translateX(-50%)"};case"bottom":return{...L,top:`calc(100% + ${R}px)`,left:"50%",transform:"translateX(-50%)"};case"left":return{...L,right:`calc(100% + ${R}px)`,top:"50%",transform:"translateY(-50%)"};case"right":return{...L,left:`calc(100% + ${R}px)`,top:"50%",transform:"translateY(-50%)"};default:return L}},[n,v,b]),P=Dh({floatingRef:S,containerSelector:".popup-container",baseStyle:B,dependencies:[v,e]}),O=h?{...B,...P}:B,F=()=>typeof e=="string"?ah()?c("div",{children:e}):c("div",{dangerouslySetInnerHTML:{__html:e}}):e;return c("div",{class:`${p??""} ${i??""}`,onMouseEnter:E,onMouseLeave:D,onTouchStart:()=>{l&&E()},onTouchEnd:()=>{l&&k()},style:{position:"relative",display:"inline-block",...r,opacity:d?0:1},onClick:f,children:[t,v&&c("div",{ref:S,style:O,children:c("div",{style:U,children:F()})})]})},XN=doe;function fv({ctx:e}){let{t}=H(),{showDownloadApp:n,setShowDownloadApp:r,qrCodeString:i}=goe(e),a=()=>{Se().any&&globalThis.open(e.config.downloadAppUrl,"_blank")},o=async s=>{s?.stopPropagation(),r(!1),await jr("downloadAppClosed",!0)};return!n||Ue()?null:c(XN,{content:c("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},dangerouslySetInnerHTML:{__html:i}}),position:"bottom",width:160,delay:100,backgroundColor:"#ffffff",enableMobile:!1,children:c("div",{class:"download-app",onClick:a,children:[c(TD,{}),c("span",{children:t("popup.downloadApp")}),c(SD,{onClick:o})]})})}function goe(e){let[t,n]=N(!1),[r,i]=N(null);return W(()=>{Yn("downloadAppClosed").then(({userValue:a,localValue:o})=>{let s=!Se().any,l=!1;s&&(l=!0),!s&&Ae()&&!ot()&&(l=!0),!(!l||a||o)&&(s?(e.config.downloadAppQrCode&&n(!0),fetch(e.config.downloadAppQrCode).then(d=>d.text()).then(d=>{if(d.includes("<html")){n(!1);return}i(d)}).catch(d=>{n(!1)})):e.config.downloadAppUrl&&n(!0))})},[e.config.downloadAppQrCode,e.config.downloadAppUrl]),{showDownloadApp:t,setShowDownloadApp:n,qrCodeString:r}}var $N=1e3*60*60*24;function K1(e){let{user:t,config:n}=e;return N0(n)||!t||!n?.enableNewUserActivity||t.subscription?!1:eF(t.createTime)>new Date(Date.now()-$N)}function eF(e){return e.endsWith("Z")?new Date(e):new Date(e+"Z")}function Q1(e){return e?eF(e.createTime).getTime()+$N:0}function tF(e){let{ctx:t,user:n,isProUser:r,config:i,actionsRef:a}=e,{t:o}=H(),s=X(()=>{let l=N0(i),u=K1({user:e.user,config:i});return l||u?{enable:!0,type:l?"discount":"new_user",title:l?.title||o("newUserActivity.title"),endTime:l?.enable?void 0:Q1(n),openUrl:l?.popupUrl}:null},[e.config,e.user,o]);return c("div",{class:"flex items-center justify-between ml-1",style:{height:28},children:[c("div",{class:"flex items-center",children:[c(moe,{isLogin:!!n,type:e.type,actionsRef:a}),!s?.enable&&c(foe,{isProUser:!!r,isMaxUser:!!t.isMax,isTeamUser:!!t.isTeam,config:i,type:e.type,actionsRef:a})]}),!s?.enable&&c(fv,{ctx:t}),c(poe,{isShowAct:s?.enable,text:s?.title||"",endTime:s?.endTime,onClick:()=>{if(Gd()){ci.openPage({path:"vip"});return}if(s?.openUrl){a.current?.onOpenUrl(s.openUrl);return}a.current?.onOpenUrl(_.PRICING_URL,`${e.type}_new_user`)}})]})}function moe(e){let{isLogin:t,actionsRef:n}=e,{t:r}=H();return c("a",{class:"flex items-center text-decoration-none cursor-pointer",target:"_blank",onClick:i=>{if(i.preventDefault(),t){n.current?.onOpenUrl(_.USER_PROFILE_URL,`${e.type}_user_info`);return}n.current?.onOpenUrl(_.USER_LOGIN_URL,`${e.type}_user_info`)},children:[c("img",{src:t?_D:OD}),c("span",{class:"text-xs ml-1 text-label",children:r(t?"loggedIn":"notLogin")})]})}function foe(e){let{t}=H(),n=e.actionsRef;return e.isProUser?c("a",{title:t("popup.openProForPro"),target:"_blank",class:"ml-2 cursor-pointer flex items-center",onClick:r=>{r.preventDefault(),n.current?.onOpenUrl(_.USER_PROFILE_URL,`${e.type}_pro_logo`)},children:c("img",{style:{width:24,height:24},src:Kh(e.isMaxUser,e.isTeamUser)})}):c("a",{class:"upgrade-pro ml-1 text-decoration-none cursor-pointer",title:t("popup.openPro"),target:"_blank",onClick:r=>{if(r.preventDefault(),Gd()){ci.openPage({path:"vip"});return}n.current?.onOpenUrl(_.PRICING_URL,`${e.type}_user_upgrade`)},children:[c(uD,{}),c("span",{children:t("popup.upgrade")})]})}function poe(e){let{endTime:t,isShowAct:n,text:r,onClick:i}=e,[a,o]=N(()=>pv(t));return W(()=>{if(!n){o(0);return}let s=()=>{o(pv(t))};if(s(),pv(t)<=0)return;let l=setInterval(s,1e3);return()=>{clearInterval(l)}},[t,n]),!n||a<=0&&t||Gt()||ot()?null:c("div",{class:"activity-tips flex items-center",onClick:i,children:[c("img",{class:"activity-tips-icon",src:yoe,alt:""}),c("span",{class:"countdown-container",style:t?{}:{display:"none"},children:hoe(a)}),c("span",{class:"activity-tips-text",children:r})]})}function pv(e){return e?Math.max(e-Date.now(),0):0}function hoe(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 yoe="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggM0MxMS4zMTM3IDMgMTQgNS42ODYyOSAxNCA5QzE0IDEwLjM4NzQgMTMuNTI3MSAxMS42NjMzIDEyLjczNjMgMTIuNjc5N0MxMi43NTEyIDEyLjY5MjQgMTIuNzY2MiAxMi43MDU2IDEyLjc4MDMgMTIuNzE5N0wxMy43ODAzIDEzLjcxOTdDMTQuMDczIDE0LjAxMjYgMTQuMDczMSAxNC40ODc0IDEzLjc4MDMgMTQuNzgwM0MxMy40ODc0IDE1LjA3MzEgMTMuMDEyNiAxNS4wNzMgMTIuNzE5NyAxNC43ODAzTDExLjcxOTcgMTMuNzgwM0MxMS43MDU2IDEzLjc2NjIgMTEuNjkyNCAxMy43NTEyIDExLjY3OTcgMTMuNzM2M0MxMC42NjMzIDE0LjUyNzEgOS4zODc0NSAxNSA4IDE1QzYuNjEyMjcgMTUgNS4zMzU3NyAxNC41Mjc0IDQuMzE5MzQgMTMuNzM2M0M0LjMwNjY4IDEzLjc1MTEgNC4yOTQyNiAxMy43NjYzIDQuMjgwMjcgMTMuNzgwM0wzLjI4MDI3IDE0Ljc4MDNDMi45ODc0NCAxNS4wNzMxIDIuNTEyNjMgMTUuMDczIDIuMjE5NzMgMTQuNzgwM0MxLjkyNjgzIDE0LjQ4NzQgMS45MjY4MyAxNC4wMTI2IDIuMjE5NzMgMTMuNzE5N0wzLjIxOTczIDEyLjcxOTdDMy4yMzM3IDEyLjcwNTggMy4yNDc5NCAxMi42OTIzIDMuMjYyNyAxMi42Nzk3QzIuNDcyMTggMTEuNjYzNCAyIDEwLjM4NzIgMiA5QzIgNS42ODYyOSA0LjY4NjI5IDMgOCAzWk04IDQuNUM1LjUxNDcyIDQuNSAzLjUgNi41MTQ3MiAzLjUgOUMzLjUgMTEuNDg1MyA1LjUxNDcyIDEzLjUgOCAxMy41QzEwLjQ4NTMgMTMuNSAxMi41IDExLjQ4NTMgMTIuNSA5QzEyLjUgNi41MTQ3MiAxMC40ODUzIDQuNSA4IDQuNVpNOC4yNSA2QzguNjY0MTQgNi4wMDAwOSA5IDYuMzM1ODQgOSA2Ljc1VjkuMjVDOC45OTk5NCA5LjUwMDY2IDguODc0NTYgOS43MzQ5NSA4LjY2NjAyIDkuODc0MDJMNy4xNjYwMiAxMC44NzRDNi44MjE0NCAxMS4xMDM3IDYuMzU1NzcgMTEuMDEwNSA2LjEyNTk4IDEwLjY2NkM1Ljg5NjIzIDEwLjMyMTQgNS45ODk0MiA5Ljg1NTc2IDYuMzMzOTggOS42MjU5OEw3LjUgOC44NDc2NlY2Ljc1QzcuNSA2LjMzNTc5IDcuODM1NzkgNiA4LjI1IDZaTTMuNzgxMjUgMS4xNjQwNkM0LjEwNDU4IDAuOTA1NDQ1IDQuNTc2MTYgMC45NTgxMjggNC44MzQ5NiAxLjI4MTI1QzUuMDkzNjcgMS42MDQ3IDUuMDQxMiAyLjA3NjIyIDQuNzE3NzcgMi4zMzQ5NkwyLjIxNzc3IDQuMzM0OTZDMS44OTQzMyA0LjU5MzYzIDEuNDIyNzkgNC41NDExOSAxLjE2NDA2IDQuMjE3NzdDMC45MDU2ODcgMy44OTQzNSAwLjk1Nzk2OSAzLjQyMjcyIDEuMjgxMjUgMy4xNjQwNkwzLjc4MTI1IDEuMTY0MDZaTTExLjE2NDEgMS4yODEyNUMxMS40MjI3IDAuOTU3OTY5IDExLjg5NDMgMC45MDU2ODcgMTIuMjE3OCAxLjE2NDA2TDE0LjcxNzggMy4xNjQwNkMxNS4wNDEyIDMuNDIyNzkgMTUuMDkzNiAzLjg5NDMzIDE0LjgzNSA0LjIxNzc3QzE0LjU3NjIgNC41NDEyIDE0LjEwNDcgNC41OTM2NyAxMy43ODEyIDQuMzM0OTZMMTEuMjgxMiAyLjMzNDk2QzEwLjk1ODEgMi4wNzYxNiAxMC45MDU0IDEuNjA0NTggMTEuMTY0MSAxLjI4MTI1WiIgZmlsbD0iIzMzMzMzMyIvPgo8L3N2Zz4K";function hv(e){let{config:t,ctx:n,errorMsg:r,aiContextInfo:i,actionsRef:a}=e,[o,s]=N(""),[l,u]=N(null),[d,g]=N(null),[m,f]=N(null);W(()=>{it().then(C=>{C&&za(C,vi,a.current?.setSettings)})},[a]),W(()=>{le.getUserInfo().then(C=>{C?(u(C),g(Nt(C))):g(!1)}).catch(C=>{g(!1)})},[]),W(()=>{n&&Zc({ctx:n,usageScene:"web_page",service:n.translationService}).then(C=>{f(C),s(C?.message||"")}).catch(C=>{f(null),s("")})},[n,a]);let p=!0,h=Mt();t&&h&&(p=t.generalRule.showSponsorOnSafari);let x=sn(t,d),{showTrialPro:y}=YN({ctx:n,isHidden:x,isProUser:!!d}),b=Lt(t.rtlLanguages,t.interfaceLanguage),v=pr();return c("div",{"data-theme":v,class:`popup-container ${e.className||""}`,style:e.style,dir:b?"rtl":"ltr",onTouchStart:Do.bind(null,!0),onMouseDown:Do.bind(null,!1),children:[c("div",{class:"popup-content text-sm",children:[c(tF,{...e,user:l,isProUser:!!d,config:t,actionsRef:a,type:e.type}),c(NN,{ctx:e.ctx,actionsRef:a,currentLang:e.currentLang}),c(BN,{isProUser:!!d,ctx:e.ctx,pageStatus:e.pageStatus,showTrialPro:y,aiContextInfo:i,actionsRef:a,dominantSponsor:e.dominantSponsor}),c(QN,{showTrialPro:y,actionsRef:a,type:e.type}),c("div",{class:"flex flex-row mt-3 items-center",children:[c(xoe,{ctx:n,actionsRef:a}),c(Coe,{ctx:e.ctx,pageStatus:e.pageStatus,currentUrl:e.currentUrl,disabledButton:e.disabledButton||!!m?.hardHit,actionsRef:a})]}),c("div",{class:`text-sm text-gray-9 mt-4 ml-1 ${o?"":"display-none"}`,children:o}),c("div",{class:`text-sm text-gray-9 mt-4 ml-1 ${r?"":"display-none"}`,style:{color:"#D0931D"},dangerouslySetInnerHTML:r?{__html:ht.sanitize(r,{ADD_ATTR:["target"]})}:void 0}),c(cv,{isShowError:!1,actionsRef:a}),c("div",{class:"text-sm px-1 text-gray-2",children:[c(jN,{ctx:e.ctx,pageStatus:e.pageStatus,currentUrl:e.currentUrl,currentLang:e.currentLang,actionsRef:a}),c(zN,{ctx:e.ctx,actionsRef:a}),c(HN,{ctx:e.ctx,actionsRef:a}),c(VN,{ctx:n,currentLang:e.currentLang,pageStatus:e.pageStatus,actionsRef:a}),c(voe,{ctx:n,actionsRef:a}),c(boe,{ctx:n})]}),c(WN,{config:n.config,type:e.type,actionsRef:a,isHiddenProSafari:x,ctx:n})]}),c(JN,{...e,isProUser:!!d,isLogin:!!l,isShowPricing:p,setMessage:s,isHiddenProSafari:x})]})}function boe({ctx:e}){if(e.rule.imageRule?.type!="manga"||!pl(e.rule.imageRule))return null;let{t}=H();return c("div",{class:"flex justify-between mt-3 items-center",children:c("label",{class:"mb-0",children:t("popup.mangaSiteSupport")})})}function voe(e){let{t}=H(),{ctx:n,actionsRef:r}=e,i=n?.rule?.subtitleRule;if(!X(()=>i?!i.disabled&&B2.includes(i.type||""):!1,[n,B2,i])||!i)return null;let o=i.autoEnableSubtitle;return i.type==="youtube"&&i.youtubeAutoEnableSubtitle&&(o=!0),i.liveSubtitleRule?.isMeeting&&i.meetingAutoEnableSubtitle&&(o=!0),c("div",{class:"flex justify-between mt-3 items-center",children:[c("label",{class:"mb-0",children:t("autoEnableSubtitle")}),c("input",{type:"checkbox",role:"switch",id:"autoEnableSubtitle",name:"autoEnableSubtitle",checked:o,onChange:s=>{let l=s.target.checked;r.current?.setSettings(u=>{let d={...u.generalRule?.["subtitleRule.add"],autoEnableSubtitle:l};return i.type==="youtube"&&(d.youtubeAutoEnableSubtitle=l),i.liveSubtitleRule?.isMeeting&&(d.meetingAutoEnableSubtitle=l),{generalRule:{"subtitleRule.add":d}}}),r.current?.sendMessageToContent("autoEnableSubtitleChanged")}})]})}function xoe({ctx:e,actionsRef:t}){let{t:n}=H(),r=e.state.translationMode,i=e.config.rawUserConfig?.translationMode,a=e.rule.translationMode,o=t.current,s=()=>{let g=r==="dual"?"translation":"dual";e.state.translationMode=g,o?.setSettings(m=>({...m,translationMode:g})),o?.sendMessageToContent("switchTranslationMode",!0,{mode:g})};function l(g){return n(g==="dual"?"translationMode.dual":"translationMode.translation")}function u(){return a?i!==a?n("translationModeDiffTooltip",{translationMode:l(a)}):n("translationModeSameTooltip",{translationMode:l(a)}):n(r==="dual"?"changeToOnlyTempTranslationMode":"changeToDualTempTranslationMode")}let d=u();return c(Ye,{text:d,multiple:!0,tipStyle:{left:-20,transform:"unset",fontSize:13,whiteSpace:"pre"},children:c("div",{class:"translate-mode mr-2 ",onClick:s,children:r==="dual"?eD:tD})})}function Coe({currentUrl:e,pageStatus:t,ctx:n,disabledButton:r,actionsRef:i,disableLabel:a}){let{t:o}=H(),s=n.config,[l,u]=N("");W(()=>{if(L0(e||"")){u(e);return}if(!P0(n?.rule))return;let m=R0(n.rule);u(m)},[e]);let d=o("translate");t==="Translated"||t==="Error"?d=o("show-original"):t==="Original"?l?d=o("translate-pdf"):d=o("translate"):d=o(t);let g=o("translateToThePageEndImmediately");return(t==="Original"||t==="Translated")&&(s.shortcuts.toggleTranslatePage&&(Bn(n.localConfig||{})?n.rule.touchShortcutsToggleTranslatePage&&n.rule.touchShortcutsToggleTranslatePage!=="touchShortcutsOff"&&(d+=` (${o(n.rule.touchShortcutsToggleTranslatePage)})`):d+=` (${Or(s.shortcuts.toggleTranslatePage)})`),s.shortcuts.toggleTranslateToThePageEndImmediately&&(g+=` (${s.shortcuts.toggleTranslateToThePageEndImmediately})`)),a&&r&&t==="Original"&&(d=a),c("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:d})}var Toe=async function(e){let{method:t,data:n}=e;if(t==="getTranslationStateSnapshot"){let r=Ke();return{pageStatus:yt(),state:r?Soe(r):void 0}}if(t==="checkAndRecordTranslationUsage"){let r=Ke();if(!r)return M.warn("checkAndRecordTranslationUsage: no context available"),!0;let{usageScene:i,service:a}=n||{};return i?await or({ctx:r,usageScene:i,service:a}):(M.warn("checkAndRecordTranslationUsage: missing usageScene parameter"),!0)}};function Soe(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 nF(){ea({type:"content",name:"main_top",topFrame:!0},Toe,{registerSender:!1})}var st={},yv=async function(e){let{method:t,data:n}=e;if(t==="getIsDulSubtitle")return st.getIsDulSubtitle();if(t==="getPageStatus")return yt();if(t==="toggleSidePanel"){let a=Ke();us(a,n?.trigger,n?.open,n?.toggled);return}if(t==="openAiWritingModal"){let a=Ke();st.openAiWritingModal(a,"shortcut");return}t==="updateContextState"&&await st.updateContextState(n);let r=await st.updateGlobalContext(),i=Date.now();if(t==="translateTheWholePage")await st.translateTheWholePage(n),Ft(Mi,i);else if(t==="translateTheMainPage")await st.translateTheMainPage(n),Ft(Mi,i);else if(t==="translateToThePageEndImmediately")await st.translateToThePageEndImmediately(n),Ft(Mi,i);else if(t==="toggleTranslateManga")await st.toggleTranslateManga(),Ft(Mi,i);else if(t==="toggleTranslatePage"){let a=location.href,o=L0(a)?a:"";if(!o&&await qN()&&(o=a),!o&&P0(r?.rule)){let s=R0(r.rule);s&&(o=s)}if(o)try{kt()||await st.translatePdfWithNewTab(o)}catch{}await st.toggleTranslatePage(n),Ft(Mi,i)}else if(t==="toggleTranslateTheWholePage")await st.toggleTranslateTheWholePage(n),Ft(Mi,i);else if(t==="toggleTranslateTheMainPage")await st.toggleTranslateTheMainPage(n),Ft(Mi,i);else if(t==="toggleOnlyTransation")await st.ensureSwitchTranslationMode(n),Ft(Mi,i);else if(t=="toggleEnableEditTranslation")st.toggleEnableEditTranslation();else if(t==="translatePage")await st.translatePage(r,n),Ft(Mi,i);else if(t==="toggleTranslationMask")await st.toggleTranslationMask(n);else if(t==="restorePage")st.restorePage();else if(t==="retryFailedParagraphs")st.retryFailedParagraphs();else if(t=="change_translate_service")st.reportTranslateService(r,n);else if(t==="switchTranslationMode"){if(r.rule.isPdf)return;n&&n.mode&&(await st.switchTranslationMode(n.mode),await st.reloadSubtitleWithTranslationModeChanged())}else if(t==="autoEnableSubtitleChanged")st.autoEnableSubtitleChanged(r,n);else if(t==="tempDisableSubtitleChanged")st.tempDisableSubtitleChanged(r,n);else if(t=="toggleTranslateToThePageEndImmediately")await st.toggleTranslateToThePageEndImmediately(n);else if(t==="toggleMouseHoverTranslateDirectly")globalThis.document.dispatchEvent(new CustomEvent(qd,{detail:n}));else if(t==="translateWithOpenAI")await st.translatePageWithTranslationService("openai",n);else if(t==="translateWithGoogle")await st.translatePageWithTranslationService("google",n);else if(t==="translateWithDeepL")await st.translatePageWithTranslationService("deepl",n);else if(t==="translateWithBing")await st.translatePageWithTranslationService("bing",n);else if(t==="translateWithTransmart")await st.translatePageWithTranslationService("transmart",n);else if(t==="translateWithGemini")await st.translatePageWithTranslationService("gemini",n);else if(t==="translateWithClaude")await st.translatePageWithTranslationService("claude",n);else if(t?.startsWith("translateWithCustom"))await st.translatePageWithTranslationService(r.config.rawUserConfig?.shortcuts?.translateWithCustomServices?.[t]??"bing",n);else if(t==="translateInputBox")await st.translateInputBoxWithShortcut(r);else if(t!=="updateGlobalCtx")if(t==="toggleVideoSubtitlePreTranslation")kt()||await st.toggleVideoSubtitlePreTranslation();else if(t==="inputSelectedTextTranslate")await st.inputSelectedTextTranslate(r,n);else{if(t==="popupEventReport")return st.popupEventReport(r,n);if(t==="updateFloatBallEnable")return st.updateFloatBallEnable();if(t==="selectionTranslate")return st.selectionTranslate(r,n);if(t===Qd)await st.translateSelectImage(r,n);else if(t=="openRewardCenter"){let a=Ke();sl(a,n?.trigger)}}};function rF(e){Object.assign(st,e)}function iF(e){Object.assign(st,e)}function aF(e){Object.assign(st,e)}var woe=async function(e){let{method:t,data:n}=e;if(M.debug(`content script received sync message: ${t}`,n||" "),t==="content_ready")return globalThis.location.href;if(t==="ping")return"pong";if(t==="getPageStatus")return yt();if(t==="getCurrentPageLanguage"){let r=Un();return st.detectCurrentPageLanguage().catch(i=>{M.warn("detectCurrentPageLanguage failed",i)}),r}else{if(t==="setCurrentPageLanguageByClient")return li(n),Un();if(t==="getContextString"){let r=await st.updateGlobalContext(),{articleNode:i,bodyNode:a,...o}=r;return JSON.stringify(o)}else if(t=="getPdfWebUrl"){let r=Ke();return R0(r?.rule)}else{if(t=="getAIContextInfo")return hh();if(t=="toggleSidePanel"){let r=Ke(),i=n?.open;us(r,"extension_popup",i)}else if(t=="openRewardCenter"){let r=Ke();sl(r,"popup")}else{if(t=="invalidateConfigCache")return void 0;if(t=="getFreeModelDominantSponsor")return vc()}}}};function oF(){ea({type:"content",name:"main"},yv,{registerSender:!0}),nF();let e=!0;J2(globalThis.location.href)&&(e=!1),ea({type:"content",name:"popup_res",topFrame:e},woe,{registerSender:!1}),kt()||be({type:"popup",name:"content_ready"},{method:"content_ready",data:globalThis.location.href},{backlog:!0})}var o$e=1e3*3600*24;async function sF(e,t=!1){try{let n=Ke(),r=new Date;M.debug("cron task start, next will run at",new Date(r.getTime()+e).toLocaleString()),await Ie.local.set(NS,r.toISOString());let i=de.bind(null);n&&!t&&(m1(n,i),So()),F0()}catch(n){M.error("run cron task failed",n)}}async function F0(){try{let e=await We(),t=await _e({url:_.buildinConfigSyncUrl});So(e);let n=e.buildinConfigUpdatedAt,r=new Date(n),i=t.buildinConfigUpdatedAt,a=new Date(i),o=t.minVersion,s=Ne.runtime.getManifest().version;dt(s,o)?a>r?(await Ie.local.set("buildinConfig",t),M.info(`sync remote rules success, latest: ${new Date(i).toLocaleString()}`),yv({method:"updateGlobalCtx",data:{}}).catch(l=>{M.error("send content message request failed from cron task",l)})):M.debug(`no need to sync rules, latest: ${r}`):M.info(`local version is too old, please update to ${o} or later`)}catch(e){M.error("sync rules error: ",e)}}function Y1(e){let{onClose:t,hidden:n}=e,[r,i]=N("Original"),{settingsHookValue:a,ctx:o}=ct(),[s,l]=a,[u,d]=N(null),[g,m]=N(globalThis.location.href),[f,p]=N("auto"),[h,x]=N({visible:!1,preview:!1}),[y,b]=N(null),v=$(()=>{});v.current=()=>{b(vc()??null)};let C=$(!1);W(()=>{n||C.current||(C.current=!0,ae({key:"show_page_popup"}))},[n,C]),W(()=>{n||v.current()},[n]),W(()=>{let F=R=>{i(R.detail),v.current()},L=()=>{m(globalThis.location.href),v.current()};return document.addEventListener(Ko,F,!1),We().then(R=>{d(R);let A=Un();p(A);let j=yt();i(j),sF(R.interval,!0),v.current()}),document.addEventListener("urlChange",L),()=>{document.removeEventListener(Ko,F),document.removeEventListener("urlChange",L)}},[]),W(()=>{We().then(F=>{d(F)})},[s]),W(()=>{let F=hh();x({visible:!!F?.used,preview:F?.usageScene=="web_page"})},[]);let S=re((F,L)=>{E("change_translate_service",!1,{translation_service:`${F}_${L}`})},[]);if(!u||!o||n)return null;let T=$({});return Object.assign(T.current,{sendMessageToContent:E,request:_e,onClose:k,onToggleEnabled:D,onChangeService:S,openOptionsPage:B,openRewardCenter:P,openAboutPage:O,onSetPageLanguage:w,onSetLocalConfig:Cr,onOpenUrl:U,onReport:F=>{E("popupEventReport",!1,F)},setSettings:l}),c(W1.Provider,{value:{popupFrom:"float_ball_popup",actionsRef:T},children:c(hv,{type:"float_ball_popup",className:e.className,aiContextInfo:h,config:u,pageStatus:r,ctx:o,currentUrl:g,currentLang:f,dominantSponsor:y,actionsRef:T})});function w(F){p(F);let L=RN(g,F,u.sourceLanguageUrlPattern);l(R=>({...R,sourceLanguageUrlPattern:L})),li(F)}function E(F,L=!0,R={}){let A={trigger:"page_popup",...R};be("content",{method:F,data:A}),L&&setTimeout(()=>{t()},100)}function k(){t()}function D(){l(F=>({...F,enabled:!F.enabled})),setTimeout(()=>{k()},50)}function U(F,L){let R=F;L&&(R=`${F}?utm_source=extension&utm_medium=extension&utm_campaign=${L}`),lt(R),setTimeout(()=>{k()},50)}function B(F=!0,L=""){Jr(F,L,u?.useOnlineOptions||!1),setTimeout(()=>{t()},50)}function P(){o&&(sl(o,"float_ball_popup"),t())}function O(){kp(),setTimeout(()=>{t()},50)}}function Dr({parent:e,ctx:t,Component:n,props:r={},style:i="",id:a,initialCSS:o=!0,isInsertMount:s,attribute:l}){let u=a;e.querySelector(`#${u}`)&&document.querySelector(`#${u}`)?.remove();let d=document.createElement("div");d.id=u,o&&d.setAttribute("style","all: initial"),l&&Object.entries(l).forEach(([p,h])=>{d.setAttribute(p,h)});let g=d.attachShadow({mode:"open"});i&&wn(g,i);let m=g,f=document.createElement("div");f.id="mount",f.style.display="block",s&&(g.appendChild(f),m=f),e.appendChild(d),tn(c(Pi,{lang:t.config.interfaceLanguage,children:c(n,{...r})}),m)}var Eoe=Object.create,vv=Object.defineProperty,Aoe=Object.getOwnPropertyDescriptor,koe=Object.getOwnPropertyNames,Moe=Object.getPrototypeOf,Ioe=Object.prototype.hasOwnProperty,Loe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Doe=(e,t)=>{for(var n in t)vv(e,n,{get:t[n],enumerable:!0})},bv=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of koe(t))!Ioe.call(e,i)&&i!==n&&vv(e,i,{get:()=>t[i],enumerable:!(r=Aoe(t,i))||r.enumerable});return e},Poe=(e,t,n)=>(bv(e,t,"default"),n&&bv(n,t,"default")),uF=(e,t,n)=>(n=e!=null?Eoe(Moe(e)):{},bv(t||!e||!e.__esModule?vv(n,"default",{value:e,enumerable:!0}):n,e)),cF=Loe((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,l,u,d;switch(o=Math.floor(e*6),s=e*6-o,l=n*(1-t),u=n*(1-s*t),d=n*(1-(1-s)*t),o%6){case 0:r=n,i=d,a=l;break;case 1:r=u,i=n,a=l;break;case 2:r=l,i=n,a=d;break;case 3:r=l,i=u,a=n;break;case 4:r=d,i=l,a=n;break;case 5:r=n,i=l,a=u;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,l=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,l]}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(m){n({data:m})}},a={postMessage:function(m){i.onmessage({data:m})}};function o(m){if(window.Worker&&window.Blob&&getWebWorker()){var f=new Blob(["var _workerSelf = self; self.onmessage = ",m.toString()],{type:"text/javascript"}),p=URL.createObjectURL(f);return new Worker(p)}return n=m,i}function s(){r||(r=o(function(m){function f(){function h(O,F){var L,R,A=O.length,j,V,G,K;for(R=0;R<A;R+=1)if(L=O[R],"ks"in L&&!L.completed){if(L.completed=!0,L.hasMask){var q=L.masksProperties;for(V=q.length,j=0;j<V;j+=1)if(q[j].pt.k.i)C(q[j].pt.k);else for(K=q[j].pt.k.length,G=0;G<K;G+=1)q[j].pt.k[G].s&&C(q[j].pt.k[G].s[0]),q[j].pt.k[G].e&&C(q[j].pt.k[G].e[0])}L.ty===0?(L.layers=b(L.refId,F),h(L.layers,F)):L.ty===4?v(L.shapes):L.ty===5&&B(L)}}function x(O,F){if(O){var L=0,R=O.length;for(L=0;L<R;L+=1)O[L].t===1&&(O[L].data.layers=b(O[L].data.refId,F),h(O[L].data.layers,F))}}function y(O,F){for(var L=0,R=F.length;L<R;){if(F[L].id===O)return F[L];L+=1}return null}function b(O,F){var L=y(O,F);return L?L.layers.__used?JSON.parse(JSON.stringify(L.layers)):(L.layers.__used=!0,L.layers):null}function v(O){var F,L=O.length,R,A;for(F=L-1;F>=0;F-=1)if(O[F].ty==="sh")if(O[F].ks.k.i)C(O[F].ks.k);else for(A=O[F].ks.k.length,R=0;R<A;R+=1)O[F].ks.k[R].s&&C(O[F].ks.k[R].s[0]),O[F].ks.k[R].e&&C(O[F].ks.k[R].e[0]);else O[F].ty==="gr"&&v(O[F].it)}function C(O){var F,L=O.i.length;for(F=0;F<L;F+=1)O.i[F][0]+=O.v[F][0],O.i[F][1]+=O.v[F][1],O.o[F][0]+=O.v[F][0],O.o[F][1]+=O.v[F][1]}function S(O,F){var L=F?F.split("."):[100,100,100];return O[0]>L[0]?!0:L[0]>O[0]?!1:O[1]>L[1]?!0:L[1]>O[1]?!1:O[2]>L[2]?!0:L[2]>O[2]?!1:null}var T=function(){var O=[4,4,14];function F(R){var A=R.t.d;R.t.d={k:[{s:A,t:0}]}}function L(R){var A,j=R.length;for(A=0;A<j;A+=1)R[A].ty===5&&F(R[A])}return function(R){if(S(O,R.v)&&(L(R.layers),R.assets)){var A,j=R.assets.length;for(A=0;A<j;A+=1)R.assets[A].layers&&L(R.assets[A].layers)}}}(),w=function(){var O=[4,7,99];return function(F){if(F.chars&&!S(O,F.v)){var L,R=F.chars.length;for(L=0;L<R;L+=1){var A=F.chars[L];A.data&&A.data.shapes&&(v(A.data.shapes),A.data.ip=0,A.data.op=99999,A.data.st=0,A.data.sr=1,A.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||(A.data.shapes.push({ty:"no"}),A.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"})))}}}}(),E=function(){var O=[5,7,15];function F(R){var A=R.t.p;typeof A.a=="number"&&(A.a={a:0,k:A.a}),typeof A.p=="number"&&(A.p={a:0,k:A.p}),typeof A.r=="number"&&(A.r={a:0,k:A.r})}function L(R){var A,j=R.length;for(A=0;A<j;A+=1)R[A].ty===5&&F(R[A])}return function(R){if(S(O,R.v)&&(L(R.layers),R.assets)){var A,j=R.assets.length;for(A=0;A<j;A+=1)R.assets[A].layers&&L(R.assets[A].layers)}}}(),k=function(){var O=[4,1,9];function F(R){var A,j=R.length,V,G;for(A=0;A<j;A+=1)if(R[A].ty==="gr")F(R[A].it);else if(R[A].ty==="fl"||R[A].ty==="st")if(R[A].c.k&&R[A].c.k[0].i)for(G=R[A].c.k.length,V=0;V<G;V+=1)R[A].c.k[V].s&&(R[A].c.k[V].s[0]/=255,R[A].c.k[V].s[1]/=255,R[A].c.k[V].s[2]/=255,R[A].c.k[V].s[3]/=255),R[A].c.k[V].e&&(R[A].c.k[V].e[0]/=255,R[A].c.k[V].e[1]/=255,R[A].c.k[V].e[2]/=255,R[A].c.k[V].e[3]/=255);else R[A].c.k[0]/=255,R[A].c.k[1]/=255,R[A].c.k[2]/=255,R[A].c.k[3]/=255}function L(R){var A,j=R.length;for(A=0;A<j;A+=1)R[A].ty===4&&F(R[A].shapes)}return function(R){if(S(O,R.v)&&(L(R.layers),R.assets)){var A,j=R.assets.length;for(A=0;A<j;A+=1)R.assets[A].layers&&L(R.assets[A].layers)}}}(),D=function(){var O=[4,4,18];function F(R){var A,j=R.length,V,G;for(A=j-1;A>=0;A-=1)if(R[A].ty==="sh")if(R[A].ks.k.i)R[A].ks.k.c=R[A].closed;else for(G=R[A].ks.k.length,V=0;V<G;V+=1)R[A].ks.k[V].s&&(R[A].ks.k[V].s[0].c=R[A].closed),R[A].ks.k[V].e&&(R[A].ks.k[V].e[0].c=R[A].closed);else R[A].ty==="gr"&&F(R[A].it)}function L(R){var A,j,V=R.length,G,K,q,Z;for(j=0;j<V;j+=1){if(A=R[j],A.hasMask){var ne=A.masksProperties;for(K=ne.length,G=0;G<K;G+=1)if(ne[G].pt.k.i)ne[G].pt.k.c=ne[G].cl;else for(Z=ne[G].pt.k.length,q=0;q<Z;q+=1)ne[G].pt.k[q].s&&(ne[G].pt.k[q].s[0].c=ne[G].cl),ne[G].pt.k[q].e&&(ne[G].pt.k[q].e[0].c=ne[G].cl)}A.ty===4&&F(A.shapes)}}return function(R){if(S(O,R.v)&&(L(R.layers),R.assets)){var A,j=R.assets.length;for(A=0;A<j;A+=1)R.assets[A].layers&&L(R.assets[A].layers)}}}();function U(O){O.__complete||(k(O),T(O),w(O),E(O),D(O),h(O.layers,O.assets),x(O.chars,O.assets),O.__complete=!0)}function B(O){O.t.a.length===0&&"m"in O.t.p}var P={};return P.completeData=U,P.checkColors=k,P.checkChars=w,P.checkPathProperties=E,P.checkShapes=D,P.completeLayers=h,P}if(a.dataManager||(a.dataManager=f()),a.assetLoader||(a.assetLoader=function(){function h(y){var b=y.getResponseHeader("content-type");return b&&y.responseType==="json"&&b.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 x(y,b,v,C){var S,T=new XMLHttpRequest;try{T.responseType="json"}catch{}T.onreadystatechange=function(){if(T.readyState===4)if(T.status===200)S=h(T),v(S);else try{S=h(T),v(S)}catch(w){C&&C(w)}};try{T.open(["G","E","T"].join(""),y,!0)}catch{T.open(["G","E","T"].join(""),b+"/"+y,!0)}T.send()}return{load:x}}()),m.data.type==="loadAnimation")a.assetLoader.load(m.data.path,m.data.fullPath,function(h){a.dataManager.completeData(h),a.postMessage({id:m.data.id,payload:h,status:"success"})},function(){a.postMessage({id:m.data.id,status:"error"})});else if(m.data.type==="complete"){var p=m.data.animation;a.dataManager.completeData(p),a.postMessage({id:m.data.id,payload:p,status:"success"})}else m.data.type==="loadData"&&a.assetLoader.load(m.data.path,m.data.fullPath,function(h){a.postMessage({id:m.data.id,payload:h,status:"success"})},function(){a.postMessage({id:m.data.id,status:"error"})})}),r.onmessage=function(m){var f=m.data,p=f.id,h=t[p];t[p]=null,f.status==="success"?h.onComplete(f.payload):h.onError&&h.onError()})}function l(m,f){e+=1;var p="processId_"+e;return t[p]={onComplete:m,onError:f},p}function u(m,f,p){s();var h=l(f,p);r.postMessage({type:"loadAnimation",path:m,fullPath:window.location.origin+window.location.pathname,id:h})}function d(m,f,p){s();var h=l(f,p);r.postMessage({type:"loadData",path:m,fullPath:window.location.origin+window.location.pathname,id:h})}function g(m,f,p){s();var h=l(f,p);r.postMessage({type:"complete",animation:m,id:h})}return{loadAnimation:u,loadData:d,completeAnimation:g}}(),ImagePreloader=function(){var e=function(){var y=createTag("canvas");y.width=1,y.height=1;var b=y.getContext("2d");return b.fillStyle="rgba(0,0,0,0)",b.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,b,v){var C="";if(y.e)C=y.p;else if(b){var S=y.p;S.indexOf("images/")!==-1&&(S=S.split("/")[1]),C=b+S}else C=v,C+=y.u?y.u:"",C+=y.p;return C}function i(y){var b=0,v=setInterval(function(){var C=y.getBBox();(C.width||b>500)&&(this._imageLoaded(),clearInterval(v)),b+=1}.bind(this),50)}function a(y){var b=r(y,this.assetsPath,this.path),v=createNS("image");isSafari?this.testImageLoaded(v):v.addEventListener("load",this._imageLoaded,!1),v.addEventListener("error",function(){C.img=e,this._imageLoaded()}.bind(this),!1),v.setAttributeNS("http://www.w3.org/1999/xlink","href",b),this._elementHelper.append?this._elementHelper.append(v):this._elementHelper.appendChild(v);var C={img:v,assetData:y};return C}function o(y){var b=r(y,this.assetsPath,this.path),v=createTag("img");v.crossOrigin="anonymous",v.addEventListener("load",this._imageLoaded,!1),v.addEventListener("error",function(){C.img=e,this._imageLoaded()}.bind(this),!1),v.src=b;var C={img:v,assetData:y};return C}function s(y){var b={assetData:y},v=r(y,this.assetsPath,this.path);return dataManager.loadData(v,function(C){b.img=C,this._footageLoaded()}.bind(this),function(){b.img={},this._footageLoaded()}.bind(this)),b}function l(y,b){this.imagesLoadedCb=b;var v,C=y.length;for(v=0;v<C;v+=1)y[v].layers||(!y[v].t||y[v].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(y[v]))):y[v].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(y[v]))))}function u(y){this.path=y||""}function d(y){this.assetsPath=y||""}function g(y){for(var b=0,v=this.images.length;b<v;){if(this.images[b].assetData===y)return this.images[b].img;b+=1}return null}function m(){this.imagesLoadedCb=null,this.images.length=0}function f(){return this.totalImages===this.loadedAssets}function p(){return this.totalFootages===this.loadedFootagesCount}function h(y,b){y==="svg"?(this._elementHelper=b,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function x(){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 x.prototype={loadAssets:l,setAssetsPath:d,setPath:u,loadedImages:f,loadedFootages:p,destroy:m,getAsset:g,createImgData:o,createImageData:a,imageLoaded:t,footageLoaded:n,setCacheType:h},x}();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 R=0,A=L.target;R<r;)t[R].animation===A&&(t.splice(R,1),R-=1,r-=1,A.isPaused||g()),R+=1}function l(L,R){if(!L)return null;for(var A=0;A<r;){if(t[A].elem===L&&t[A].elem!==null)return t[A].animation;A+=1}var j=new AnimationItem;return m(j,L),j.setData(L,R),j}function u(){var L,R=t.length,A=[];for(L=0;L<R;L+=1)A.push(t[L].animation);return A}function d(){i+=1,D()}function g(){i-=1}function m(L,R){L.addEventListener("destroy",s),L.addEventListener("_active",d),L.addEventListener("_idle",g),t.push({elem:R,animation:L}),r+=1}function f(L){var R=new AnimationItem;return m(R,null),R.setParams(L),R}function p(L,R){var A;for(A=0;A<r;A+=1)t[A].animation.setSpeed(L,R)}function h(L,R){var A;for(A=0;A<r;A+=1)t[A].animation.setDirection(L,R)}function x(L){var R;for(R=0;R<r;R+=1)t[R].animation.play(L)}function y(L){var R=L-n,A;for(A=0;A<r;A+=1)t[A].animation.advanceTime(R);n=L,i&&!o?window.requestAnimationFrame(y):a=!0}function b(L){n=L,window.requestAnimationFrame(y)}function v(L){var R;for(R=0;R<r;R+=1)t[R].animation.pause(L)}function C(L,R,A){var j;for(j=0;j<r;j+=1)t[j].animation.goToAndStop(L,R,A)}function S(L){var R;for(R=0;R<r;R+=1)t[R].animation.stop(L)}function T(L){var R;for(R=0;R<r;R+=1)t[R].animation.togglePause(L)}function w(L){var R;for(R=r-1;R>=0;R-=1)t[R].animation.destroy(L)}function E(L,R,A){var j=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),V,G=j.length;for(V=0;V<G;V+=1)A&&j[V].setAttribute("data-bm-type",A),l(j[V],L);if(R&&G===0){A||(A="svg");var K=document.getElementsByTagName("body")[0];K.innerText="";var q=createTag("div");q.style.width="100%",q.style.height="100%",q.setAttribute("data-bm-type",A),K.appendChild(q),l(q,L)}}function k(){var L;for(L=0;L<r;L+=1)t[L].animation.resize()}function D(){!o&&i&&a&&(window.requestAnimationFrame(b),a=!1)}function U(){o=!0}function B(){o=!1,D()}function P(L,R){var A;for(A=0;A<r;A+=1)t[A].animation.setVolume(L,R)}function O(L){var R;for(R=0;R<r;R+=1)t[R].animation.mute(L)}function F(L){var R;for(R=0;R<r;R+=1)t[R].animation.unmute(L)}return e.registerAnimation=l,e.loadAnimation=f,e.setSpeed=p,e.setDirection=h,e.play=x,e.pause=v,e.stop=S,e.togglePause=T,e.searchAnimations=E,e.resize=k,e.goToAndStop=C,e.destroy=w,e.freeze=U,e.unfreeze=B,e.setVolume=P,e.mute=O,e.unmute=F,e.getRegisteredAnimations=u,e}(),BezierFactory=function(){var e={};e.getBezierEasing=n;var t={};function n(b,v,C,S,T){var w=T||("bez_"+b+"_"+v+"_"+C+"_"+S).replace(/\./g,"p");if(t[w])return t[w];var E=new y([b,v,C,S]);return t[w]=E,E}var r=4,i=.001,a=1e-7,o=10,s=11,l=1/(s-1),u=typeof Float32Array=="function";function d(b,v){return 1-3*v+3*b}function g(b,v){return 3*v-6*b}function m(b){return 3*b}function f(b,v,C){return((d(v,C)*b+g(v,C))*b+m(v))*b}function p(b,v,C){return 3*d(v,C)*b*b+2*g(v,C)*b+m(v)}function h(b,v,C,S,T){var w,E,k=0;do E=v+(C-v)/2,w=f(E,S,T)-b,w>0?C=E:v=E;while(Math.abs(w)>a&&++k<o);return E}function x(b,v,C,S){for(var T=0;T<r;++T){var w=p(v,C,S);if(w===0)return v;var E=f(v,C,S)-b;v-=E/w}return v}function y(b){this._p=b,this._mSampleValues=u?new Float32Array(s):new Array(s),this._precomputed=!1,this.get=this.get.bind(this)}return y.prototype={get:function(b){var v=this._p[0],C=this._p[1],S=this._p[2],T=this._p[3];return this._precomputed||this._precompute(),v===C&&S===T?b:b===0?0:b===1?1:f(this._getTForX(b),C,T)},_precompute:function(){var b=this._p[0],v=this._p[1],C=this._p[2],S=this._p[3];this._precomputed=!0,(b!==v||C!==S)&&this._calcSampleValues()},_calcSampleValues:function(){for(var b=this._p[0],v=this._p[2],C=0;C<s;++C)this._mSampleValues[C]=f(C*l,b,v)},_getTForX:function(b){for(var v=this._p[0],C=this._p[2],S=this._mSampleValues,T=0,w=1,E=s-1;w!==E&&S[w]<=b;++w)T+=l;--w;var k=(b-S[w])/(S[w+1]-S[w]),D=T+k*l,U=p(D,v,C);return U>=i?x(b,D,v,C):U===0?D:h(b,T,T+l,v,C)}},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:l};function s(){var u;return r?(r-=1,u=a[r]):u=t(),u}function l(u){r===i&&(a=pooling.double(a),i*=2),n&&n(u),a[r]=u,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(m,f,p,h,x,y){var b=m*h+f*x+p*y-x*h-y*m-p*f;return b>-.001&&b<.001}function n(m,f,p,h,x,y,b,v,C){if(p===0&&y===0&&C===0)return t(m,f,h,x,b,v);var S=e.sqrt(e.pow(h-m,2)+e.pow(x-f,2)+e.pow(y-p,2)),T=e.sqrt(e.pow(b-m,2)+e.pow(v-f,2)+e.pow(C-p,2)),w=e.sqrt(e.pow(b-h,2)+e.pow(v-x,2)+e.pow(C-y,2)),E;return S>T?S>w?E=S-T-w:E=w-T-S:w>T?E=w-T-S:E=T-S-w,E>-1e-4&&E<1e-4}var r=function(){return function(m,f,p,h){var x=getDefaultCurveSegments(),y,b,v,C,S,T=0,w,E=[],k=[],D=bezierLengthPool.newElement();for(v=p.length,y=0;y<x;y+=1){for(S=y/(x-1),w=0,b=0;b<v;b+=1)C=bmPow(1-S,3)*m[b]+3*bmPow(1-S,2)*S*p[b]+3*(1-S)*bmPow(S,2)*h[b]+bmPow(S,3)*f[b],E[b]=C,k[b]!==null&&(w+=bmPow(E[b]-k[b],2)),k[b]=E[b];w&&(w=bmSqrt(w),T+=w),D.percents[y]=S,D.lengths[y]=T}return D.addedLength=T,D}}();function i(m){var f=segmentsLengthPool.newElement(),p=m.c,h=m.v,x=m.o,y=m.i,b,v=m._length,C=f.lengths,S=0;for(b=0;b<v-1;b+=1)C[b]=r(h[b],h[b+1],x[b],y[b+1]),S+=C[b].addedLength;return p&&v&&(C[b]=r(h[b],h[0],x[b],y[0]),S+=C[b].addedLength),f.totalLength=S,f}function a(m){this.segmentLength=0,this.points=new Array(m)}function o(m,f){this.partialLength=m,this.point=f}var s=function(){var m={};return function(f,p,h,x){var y=(f[0]+"_"+f[1]+"_"+p[0]+"_"+p[1]+"_"+h[0]+"_"+h[1]+"_"+x[0]+"_"+x[1]).replace(/\./g,"p");if(!m[y]){var b=getDefaultCurveSegments(),v,C,S,T,w,E=0,k,D,U=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]+x[0],p[1]+x[1])&&(b=2);var B=new a(b);for(S=h.length,v=0;v<b;v+=1){for(D=createSizedArray(S),w=v/(b-1),k=0,C=0;C<S;C+=1)T=bmPow(1-w,3)*f[C]+3*bmPow(1-w,2)*w*(f[C]+h[C])+3*(1-w)*bmPow(w,2)*(p[C]+x[C])+bmPow(w,3)*p[C],D[C]=T,U!==null&&(k+=bmPow(D[C]-U[C],2));k=bmSqrt(k),E+=k,B.points[v]=new o(k,D),U=D}B.segmentLength=E,m[y]=B}return m[y]}}();function l(m,f){var p=f.percents,h=f.lengths,x=p.length,y=bmFloor((x-1)*m),b=m*f.addedLength,v=0;if(y===x-1||y===0||b===h[y])return p[y];for(var C=h[y]>b?-1:1,S=!0;S;)if(h[y]<=b&&h[y+1]>b?(v=(b-h[y])/(h[y+1]-h[y]),S=!1):y+=C,y<0||y>=x-1){if(y===x-1)return p[y];S=!1}return p[y]+(p[y+1]-p[y])*v}function u(m,f,p,h,x,y){var b=l(x,y),v=1-b,C=e.round((v*v*v*m[0]+(b*v*v+v*b*v+v*v*b)*p[0]+(b*b*v+v*b*b+b*v*b)*h[0]+b*b*b*f[0])*1e3)/1e3,S=e.round((v*v*v*m[1]+(b*v*v+v*b*v+v*v*b)*p[1]+(b*b*v+v*b*b+b*v*b)*h[1]+b*b*b*f[1])*1e3)/1e3;return[C,S]}var d=createTypedArray("float32",8);function g(m,f,p,h,x,y,b){x<0?x=0:x>1&&(x=1);var v=l(x,b);y=y>1?1:y;var C=l(y,b),S,T=m.length,w=1-v,E=1-C,k=w*w*w,D=v*w*w*3,U=v*v*w*3,B=v*v*v,P=w*w*E,O=v*w*E+w*v*E+w*w*C,F=v*v*E+w*v*C+v*w*C,L=v*v*C,R=w*E*E,A=v*E*E+w*C*E+w*E*C,j=v*C*E+w*C*C+v*E*C,V=v*C*C,G=E*E*E,K=C*E*E+E*C*E+E*E*C,q=C*C*E+E*C*C+C*E*C,Z=C*C*C;for(S=0;S<T;S+=1)d[S*4]=e.round((k*m[S]+D*p[S]+U*h[S]+B*f[S])*1e3)/1e3,d[S*4+1]=e.round((P*m[S]+O*p[S]+F*h[S]+L*f[S])*1e3)/1e3,d[S*4+2]=e.round((R*m[S]+A*p[S]+j*h[S]+V*f[S])*1e3)/1e3,d[S*4+3]=e.round((G*m[S]+K*p[S]+q*h[S]+Z*f[S])*1e3)/1e3;return d}return{getSegmentsLength:i,getNewSegment:g,getPointInSegment:u,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,l,u,d;s;){if(l=this.keyframes[a],u=this.keyframes[a+1],a===o-1&&e>=u.t-n){l.h&&(l=u),i=0;break}if(u.t-n>e){i=a;break}a<o-1?a+=1:(i=0,s=!1)}d=this.keyframesMetadata[a]||{};var g,m,f,p,h,x,y=u.t-n,b=l.t-n,v;if(l.to){d.bezierData||(d.bezierData=bez.buildBezierData(l.s,u.s||l.e,l.to,l.ti));var C=d.bezierData;if(e>=y||e<b){var S=e>=y?C.points.length-1:0;for(m=C.points[S].point.length,g=0;g<m;g+=1)r[g]=C.points[S].point[g]}else{d.__fnct?x=d.__fnct:(x=BezierFactory.getBezierEasing(l.o.x,l.o.y,l.i.x,l.i.y,l.n).get,d.__fnct=x),f=x((e-b)/(y-b));var T=C.segmentLength*f,w,E=t.lastFrame<e&&t._lastKeyframeIndex===a?t._lastAddedLength:0;for(h=t.lastFrame<e&&t._lastKeyframeIndex===a?t._lastPoint:0,s=!0,p=C.points.length;s;){if(E+=C.points[h].partialLength,T===0||f===0||h===C.points.length-1){for(m=C.points[h].point.length,g=0;g<m;g+=1)r[g]=C.points[h].point[g];break}else if(T>=E&&T<E+C.points[h+1].partialLength){for(w=(T-E)/C.points[h+1].partialLength,m=C.points[h].point.length,g=0;g<m;g+=1)r[g]=C.points[h].point[g]+(C.points[h+1].point[g]-C.points[h].point[g])*w;break}h<p-1?h+=1:s=!1}t._lastPoint=h,t._lastAddedLength=E-C.points[h].partialLength,t._lastKeyframeIndex=a}}else{var k,D,U,B,P;if(o=l.s.length,v=u.s||l.e,this.sh&&l.h!==1)if(e>=y)r[0]=v[0],r[1]=v[1],r[2]=v[2];else if(e<=b)r[0]=l.s[0],r[1]=l.s[1],r[2]=l.s[2];else{var O=createQuaternion(l.s),F=createQuaternion(v),L=(e-b)/(y-b);quaternionToEuler(r,slerp(O,F,L))}else for(a=0;a<o;a+=1)l.h!==1&&(e>=y?f=1:e<b?f=0:(l.o.x.constructor===Array?(d.__fnct||(d.__fnct=[]),d.__fnct[a]?x=d.__fnct[a]:(k=l.o.x[a]===void 0?l.o.x[0]:l.o.x[a],D=l.o.y[a]===void 0?l.o.y[0]:l.o.y[a],U=l.i.x[a]===void 0?l.i.x[0]:l.i.x[a],B=l.i.y[a]===void 0?l.i.y[0]:l.i.y[a],x=BezierFactory.getBezierEasing(k,D,U,B).get,d.__fnct[a]=x)):d.__fnct?x=d.__fnct:(k=l.o.x,D=l.o.y,U=l.i.x,B=l.i.y,x=BezierFactory.getBezierEasing(k,D,U,B).get,l.keyframeMetadata=x),f=x((e-b)/(y-b)))),v=u.s||l.e,P=l.h===1?l.s[a]:l.s[a]+(v[a]-l.s[a])*f,this.propType==="multidimensional"?r[a]=P:r=P}return t.lastIndex=i,r}function slerp(e,t,n){var r=[],i=e[0],a=e[1],o=e[2],s=e[3],l=t[0],u=t[1],d=t[2],g=t[3],m,f,p,h,x;return f=i*l+a*u+o*d+s*g,f<0&&(f=-f,l=-l,u=-u,d=-d,g=-g),1-f>1e-6?(m=Math.acos(f),p=Math.sin(m),h=Math.sin((1-n)*m)/p,x=Math.sin(n*m)/p):(h=1-n,x=n),r[0]=h*i+x*l,r[1]=h*a+x*u,r[2]=h*o+x*d,r[3]=h*s+x*g,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),l=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]=l/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),l=Math.sin(n/2),u=Math.sin(r/2),d=i*a*o-s*l*u,g=s*l*o+i*a*u,m=s*a*o+i*l*u,f=i*l*o-s*a*u;return[g,m,f,d]}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,l,u;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,l=t.k[i].to,u=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]+l[0],o[1]+l[1])&&bez.pointOnLine2D(o[0],o[1],s[0],s[1],s[0]+u[0],s[1]+u[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]+l[0],o[1]+l[1],o[2]+l[2])&&bez.pointOnLine3D(o[0],o[1],o[2],s[0],s[1],s[2],s[0]+u[0],s[1]+u[1],s[2]+u[2]))&&(t.k[i].to=null,t.k[i].ti=null),o[0]===s[0]&&o[1]===s[1]&&l[0]===0&&l[1]===0&&u[0]===0&&u[1]===0&&(o.length===2||o[2]===s[2]&&l[2]===0&&u[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 d=t.k[0].s.length;for(this.v=createTypedArray("float32",d),this.pv=createTypedArray("float32",d),i=0;i<d;i+=1)this.v[i]=initFrame,this.pv[i]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",d)},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,l=o._length;for(s=0;s<l;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,b,v){var C=v.lastIndex,S,T,w,E,k,D,U,B,P,O=this.keyframes;if(y<O[0].t-this.offsetTime)S=O[0].s[0],w=!0,C=0;else if(y>=O[O.length-1].t-this.offsetTime)S=O[O.length-1].s?O[O.length-1].s[0]:O[O.length-2].e[0],w=!0;else{for(var F=C,L=O.length-1,R=!0,A,j,V;R&&(A=O[F],j=O[F+1],!(j.t-this.offsetTime>y));)F<L-1?F+=1:R=!1;if(V=this.keyframesMetadata[F]||{},w=A.h===1,C=F,!w){if(y>=j.t-this.offsetTime)B=1;else if(y<A.t-this.offsetTime)B=0;else{var G;V.__fnct?G=V.__fnct:(G=BezierFactory.getBezierEasing(A.o.x,A.o.y,A.i.x,A.i.y).get,V.__fnct=G),B=G((y-(A.t-this.offsetTime))/(j.t-this.offsetTime-(A.t-this.offsetTime)))}T=j.s?j.s[0]:A.e[0]}S=A.s[0]}for(D=b._length,U=S.i[0].length,v.lastIndex=C,E=0;E<D;E+=1)for(k=0;k<U;k+=1)P=w?S.i[E][k]:S.i[E][k]+(T.i[E][k]-S.i[E][k])*B,b.i[E][k]=P,P=w?S.o[E][k]:S.o[E][k]+(T.o[E][k]-S.o[E][k])*B,b.o[E][k]=P,P=w?S.v[E][k]:S.v[E][k]+(T.v[E][k]-S.v[E][k])*B,b.v[E][k]=P}function n(){var y=this.comp.renderedFrame-this.offsetTime,b=this.keyframes[0].t-this.offsetTime,v=this.keyframes[this.keyframes.length-1].t-this.offsetTime,C=this._caching.lastFrame;return C!==e&&(C<b&&y<b||C>v&&y>v)||(this._caching.lastIndex=C<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,b){if(y._length!==b._length||y.c!==b.c)return!1;var v,C=y._length;for(v=0;v<C;v+=1)if(y.v[v][0]!==b.v[v][0]||y.v[v][1]!==b.v[v][1]||y.o[v][0]!==b.o[v][0]||y.o[v][1]!==b.o[v][1]||y.i[v][0]!==b.i[v][0]||y.i[v][1]!==b.i[v][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 b,v=this.effectsSequence.length;for(b=0;b<v;b+=1)y=this.effectsSequence[b](y);this.setVValue(y),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function s(y,b,v){this.propType="shape",this.comp=y.comp,this.container=y,this.elem=y,this.data=b,this.k=!1,this.kf=!1,this._mdf=!1;var C=v===3?b.pt.k:b.ks.k;this.v=shapePool.clone(C),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 l(y){this.effectsSequence.push(y),this.container.addDynamicProperty(this)}s.prototype.interpolateShape=t,s.prototype.getValue=o,s.prototype.setVValue=a,s.prototype.addEffect=l;function u(y,b,v){this.propType="shape",this.comp=y.comp,this.elem=y,this.container=y,this.offsetTime=y.data.st,this.keyframes=v===3?b.pt.k:b.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var C=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,C),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)]}u.prototype.getValue=o,u.prototype.interpolateShape=t,u.prototype.setVValue=a,u.prototype.addEffect=l;var d=function(){var y=roundCorner;function b(v,C){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=C.d,this.elem=v,this.comp=v.comp,this.frameId=-1,this.initDynamicPropertyContainer(v),this.p=PropertyFactory.getProp(v,C.p,1,0,this),this.s=PropertyFactory.getProp(v,C.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return b.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 v=this.p.v[0],C=this.p.v[1],S=this.s.v[0]/2,T=this.s.v[1]/2,w=this.d!==3,E=this.v;E.v[0][0]=v,E.v[0][1]=C-T,E.v[1][0]=w?v+S:v-S,E.v[1][1]=C,E.v[2][0]=v,E.v[2][1]=C+T,E.v[3][0]=w?v-S:v+S,E.v[3][1]=C,E.i[0][0]=w?v-S*y:v+S*y,E.i[0][1]=C-T,E.i[1][0]=w?v+S:v-S,E.i[1][1]=C-T*y,E.i[2][0]=w?v+S*y:v-S*y,E.i[2][1]=C+T,E.i[3][0]=w?v-S:v+S,E.i[3][1]=C+T*y,E.o[0][0]=w?v+S*y:v-S*y,E.o[0][1]=C-T,E.o[1][0]=w?v+S:v-S,E.o[1][1]=C+T*y,E.o[2][0]=w?v-S*y:v+S*y,E.o[2][1]=C+T,E.o[3][0]=w?v-S:v+S,E.o[3][1]=C-T*y}},extendPrototype([DynamicPropertyContainer],b),b}(),g=function(){function y(b,v){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=b,this.comp=b.comp,this.data=v,this.frameId=-1,this.d=v.d,this.initDynamicPropertyContainer(b),v.sy===1?(this.ir=PropertyFactory.getProp(b,v.ir,0,0,this),this.is=PropertyFactory.getProp(b,v.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(b,v.pt,0,0,this),this.p=PropertyFactory.getProp(b,v.p,1,0,this),this.r=PropertyFactory.getProp(b,v.r,0,degToRads,this),this.or=PropertyFactory.getProp(b,v.or,0,0,this),this.os=PropertyFactory.getProp(b,v.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 b=Math.floor(this.pt.v)*2,v=Math.PI*2/b,C=!0,S=this.or.v,T=this.ir.v,w=this.os.v,E=this.is.v,k=2*Math.PI*S/(b*2),D=2*Math.PI*T/(b*2),U,B,P,O,F=-Math.PI/2;F+=this.r.v;var L=this.data.d===3?-1:1;for(this.v._length=0,U=0;U<b;U+=1){B=C?S:T,P=C?w:E,O=C?k:D;var R=B*Math.cos(F),A=B*Math.sin(F),j=R===0&&A===0?0:A/Math.sqrt(R*R+A*A),V=R===0&&A===0?0:-R/Math.sqrt(R*R+A*A);R+=+this.p.v[0],A+=+this.p.v[1],this.v.setTripleAt(R,A,R-j*O*P*L,A-V*O*P*L,R+j*O*P*L,A+V*O*P*L,U,!0),C=!C,F+=v*L}},convertPolygonToPath:function(){var b=Math.floor(this.pt.v),v=Math.PI*2/b,C=this.or.v,S=this.os.v,T=2*Math.PI*C/(b*4),w,E=-Math.PI*.5,k=this.data.d===3?-1:1;for(E+=this.r.v,this.v._length=0,w=0;w<b;w+=1){var D=C*Math.cos(E),U=C*Math.sin(E),B=D===0&&U===0?0:U/Math.sqrt(D*D+U*U),P=D===0&&U===0?0:-D/Math.sqrt(D*D+U*U);D+=+this.p.v[0],U+=+this.p.v[1],this.v.setTripleAt(D,U,D-B*T*S*k,U-P*T*S*k,D+B*T*S*k,U+P*T*S*k,w,!0),E+=v*k}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],y),y}(),m=function(){function y(b,v){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=b,this.comp=b.comp,this.frameId=-1,this.d=v.d,this.initDynamicPropertyContainer(b),this.p=PropertyFactory.getProp(b,v.p,1,0,this),this.s=PropertyFactory.getProp(b,v.s,1,0,this),this.r=PropertyFactory.getProp(b,v.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return y.prototype={convertRectToPath:function(){var b=this.p.v[0],v=this.p.v[1],C=this.s.v[0]/2,S=this.s.v[1]/2,T=bmMin(C,S,this.r.v),w=T*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(b+C,v-S+T,b+C,v-S+T,b+C,v-S+w,0,!0),this.v.setTripleAt(b+C,v+S-T,b+C,v+S-w,b+C,v+S-T,1,!0),T!==0?(this.v.setTripleAt(b+C-T,v+S,b+C-T,v+S,b+C-w,v+S,2,!0),this.v.setTripleAt(b-C+T,v+S,b-C+w,v+S,b-C+T,v+S,3,!0),this.v.setTripleAt(b-C,v+S-T,b-C,v+S-T,b-C,v+S-w,4,!0),this.v.setTripleAt(b-C,v-S+T,b-C,v-S+w,b-C,v-S+T,5,!0),this.v.setTripleAt(b-C+T,v-S,b-C+T,v-S,b-C+w,v-S,6,!0),this.v.setTripleAt(b+C-T,v-S,b+C-w,v-S,b+C-T,v-S,7,!0)):(this.v.setTripleAt(b-C,v+S,b-C+w,v+S,b-C,v+S,2),this.v.setTripleAt(b-C,v-S,b-C,v-S+w,b-C,v-S,3))):(this.v.setTripleAt(b+C,v-S+T,b+C,v-S+w,b+C,v-S+T,0,!0),T!==0?(this.v.setTripleAt(b+C-T,v-S,b+C-T,v-S,b+C-w,v-S,1,!0),this.v.setTripleAt(b-C+T,v-S,b-C+w,v-S,b-C+T,v-S,2,!0),this.v.setTripleAt(b-C,v-S+T,b-C,v-S+T,b-C,v-S+w,3,!0),this.v.setTripleAt(b-C,v+S-T,b-C,v+S-w,b-C,v+S-T,4,!0),this.v.setTripleAt(b-C+T,v+S,b-C+T,v+S,b-C+w,v+S,5,!0),this.v.setTripleAt(b+C-T,v+S,b+C-w,v+S,b+C-T,v+S,6,!0),this.v.setTripleAt(b+C,v+S-T,b+C,v+S-T,b+C,v+S-w,7,!0)):(this.v.setTripleAt(b-C,v-S,b-C+w,v-S,b-C,v-S,1,!0),this.v.setTripleAt(b-C,v+S,b-C,v+S-w,b-C,v+S,2,!0),this.v.setTripleAt(b+C,v+S,b+C-w,v+S,b+C,v+S,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,b,v){var C;if(v===3||v===4){var S=v===3?b.pt:b.ks,T=S.k;T.length?C=new u(y,b,v):C=new s(y,b,v)}else v===5?C=new m(y,b):v===6?C=new d(y,b):v===7&&(C=new g(y,b));return C.k&&y.addDynamicProperty(C),C}function p(){return s}function h(){return u}var x={};return x.getShapeProp=f,x.getConstructorFunction=p,x.getKeyframedConstructorFunction=h,x}(),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(A){if(A===0)return this;var j=e(A),V=t(A);return this._t(j,-V,0,0,V,j,0,0,0,0,1,0,0,0,0,1)}function o(A){if(A===0)return this;var j=e(A),V=t(A);return this._t(1,0,0,0,0,j,-V,0,0,V,j,0,0,0,0,1)}function s(A){if(A===0)return this;var j=e(A),V=t(A);return this._t(j,0,V,0,0,1,0,0,-V,0,j,0,0,0,0,1)}function l(A){if(A===0)return this;var j=e(A),V=t(A);return this._t(j,-V,0,0,V,j,0,0,0,0,1,0,0,0,0,1)}function u(A,j){return this._t(1,j,A,1,0,0)}function d(A,j){return this.shear(n(A),n(j))}function g(A,j){var V=e(j),G=t(j);return this._t(V,G,0,0,-G,V,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,n(A),1,0,0,0,0,1,0,0,0,0,1)._t(V,-G,0,0,G,V,0,0,0,0,1,0,0,0,0,1)}function m(A,j,V){return!V&&V!==0&&(V=1),A===1&&j===1&&V===1?this:this._t(A,0,0,0,0,j,0,0,0,0,V,0,0,0,0,1)}function f(A,j,V,G,K,q,Z,ne,Y,oe,Me,Ce,ue,ge,me,he){return this.props[0]=A,this.props[1]=j,this.props[2]=V,this.props[3]=G,this.props[4]=K,this.props[5]=q,this.props[6]=Z,this.props[7]=ne,this.props[8]=Y,this.props[9]=oe,this.props[10]=Me,this.props[11]=Ce,this.props[12]=ue,this.props[13]=ge,this.props[14]=me,this.props[15]=he,this}function p(A,j,V){return V=V||0,A!==0||j!==0||V!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,A,j,V,1):this}function h(A,j,V,G,K,q,Z,ne,Y,oe,Me,Ce,ue,ge,me,he){var te=this.props;if(A===1&&j===0&&V===0&&G===0&&K===0&&q===1&&Z===0&&ne===0&&Y===0&&oe===0&&Me===1&&Ce===0)return te[12]=te[12]*A+te[15]*ue,te[13]=te[13]*q+te[15]*ge,te[14]=te[14]*Me+te[15]*me,te[15]*=he,this._identityCalculated=!1,this;var Re=te[0],ye=te[1],ce=te[2],se=te[3],we=te[4],qe=te[5],fe=te[6],ze=te[7],Ee=te[8],tt=te[9],Xe=te[10],Dt=te[11],hr=te[12],Ki=te[13],xn=te[14],yr=te[15];return te[0]=Re*A+ye*K+ce*Y+se*ue,te[1]=Re*j+ye*q+ce*oe+se*ge,te[2]=Re*V+ye*Z+ce*Me+se*me,te[3]=Re*G+ye*ne+ce*Ce+se*he,te[4]=we*A+qe*K+fe*Y+ze*ue,te[5]=we*j+qe*q+fe*oe+ze*ge,te[6]=we*V+qe*Z+fe*Me+ze*me,te[7]=we*G+qe*ne+fe*Ce+ze*he,te[8]=Ee*A+tt*K+Xe*Y+Dt*ue,te[9]=Ee*j+tt*q+Xe*oe+Dt*ge,te[10]=Ee*V+tt*Z+Xe*Me+Dt*me,te[11]=Ee*G+tt*ne+Xe*Ce+Dt*he,te[12]=hr*A+Ki*K+xn*Y+yr*ue,te[13]=hr*j+Ki*q+xn*oe+yr*ge,te[14]=hr*V+Ki*Z+xn*Me+yr*me,te[15]=hr*G+Ki*ne+xn*Ce+yr*he,this._identityCalculated=!1,this}function x(A){var j=A.props;return this.transform(j[0],j[1],j[2],j[3],j[4],j[5],j[6],j[7],j[8],j[9],j[10],j[11],j[12],j[13],j[14],j[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 b(A){for(var j=0;j<16;){if(A.props[j]!==this.props[j])return!1;j+=1}return!0}function v(A){var j;for(j=0;j<16;j+=1)A.props[j]=this.props[j];return A}function C(A){var j;for(j=0;j<16;j+=1)this.props[j]=A[j]}function S(A,j,V){return{x:A*this.props[0]+j*this.props[4]+V*this.props[8]+this.props[12],y:A*this.props[1]+j*this.props[5]+V*this.props[9]+this.props[13],z:A*this.props[2]+j*this.props[6]+V*this.props[10]+this.props[14]}}function T(A,j,V){return A*this.props[0]+j*this.props[4]+V*this.props[8]+this.props[12]}function w(A,j,V){return A*this.props[1]+j*this.props[5]+V*this.props[9]+this.props[13]}function E(A,j,V){return A*this.props[2]+j*this.props[6]+V*this.props[10]+this.props[14]}function k(){var A=this.props[0]*this.props[5]-this.props[1]*this.props[4],j=this.props[5]/A,V=-this.props[1]/A,G=-this.props[4]/A,K=this.props[0]/A,q=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/A,Z=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/A,ne=new Matrix;return ne.props[0]=j,ne.props[1]=V,ne.props[4]=G,ne.props[5]=K,ne.props[12]=q,ne.props[13]=Z,ne}function D(A){var j=this.getInverseMatrix();return j.applyToPointArray(A[0],A[1],A[2]||0)}function U(A){var j,V=A.length,G=[];for(j=0;j<V;j+=1)G[j]=D(A[j]);return G}function B(A,j,V){var G=createTypedArray("float32",6);if(this.isIdentity())G[0]=A[0],G[1]=A[1],G[2]=j[0],G[3]=j[1],G[4]=V[0],G[5]=V[1];else{var K=this.props[0],q=this.props[1],Z=this.props[4],ne=this.props[5],Y=this.props[12],oe=this.props[13];G[0]=A[0]*K+A[1]*Z+Y,G[1]=A[0]*q+A[1]*ne+oe,G[2]=j[0]*K+j[1]*Z+Y,G[3]=j[0]*q+j[1]*ne+oe,G[4]=V[0]*K+V[1]*Z+Y,G[5]=V[0]*q+V[1]*ne+oe}return G}function P(A,j,V){var G;return this.isIdentity()?G=[A,j,V]:G=[A*this.props[0]+j*this.props[4]+V*this.props[8]+this.props[12],A*this.props[1]+j*this.props[5]+V*this.props[9]+this.props[13],A*this.props[2]+j*this.props[6]+V*this.props[10]+this.props[14]],G}function O(A,j){if(this.isIdentity())return A+","+j;var V=this.props;return Math.round((A*V[0]+j*V[4]+V[12])*100)/100+","+Math.round((A*V[1]+j*V[5]+V[13])*100)/100}function F(){for(var A=0,j=this.props,V="matrix3d(",G=1e4;A<16;)V+=r(j[A]*G)/G,V+=A===15?")":",",A+=1;return V}function L(A){var j=1e4;return A<1e-6&&A>0||A>-1e-6&&A<0?r(A*j)/j:A}function R(){var A=this.props,j=L(A[0]),V=L(A[1]),G=L(A[4]),K=L(A[5]),q=L(A[12]),Z=L(A[13]);return"matrix("+j+","+V+","+G+","+K+","+q+","+Z+")"}return function(){this.reset=i,this.rotate=a,this.rotateX=o,this.rotateY=s,this.rotateZ=l,this.skew=d,this.skewFromAxis=g,this.shear=u,this.scale=m,this.setTransform=f,this.translate=p,this.transform=h,this.multiply=x,this.applyToPoint=S,this.applyToX=T,this.applyToY=w,this.applyToZ=E,this.applyToPointArray=P,this.applyToTriplePoints=B,this.applyToPointStringified=O,this.toCSS=F,this.to2dCSS=R,this.clone=v,this.cloneFromProps=C,this.equals=b,this.inversePoints=U,this.inversePoint=D,this.getInverseMatrix=k,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,l=a.length,u;for(s=0;s<l;s+=1)if(u=a[s],!(u.e*i<r||u.s*i>r+n)){var d,g;u.s*i<=r?d=0:d=(u.s*i-r)/n,u.e*i>=r+n?g=1:g=(u.e*i-r)/n,o.push([d,g])}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,l,u,d,g,m,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,x;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,u=a._length,m=0,!h.shape._mdf&&h.pathsData.length)m=h.totalShapeLength;else{for(d=this.releasePathsData(h.pathsData),l=0;l<u;l+=1)g=bez.getSegmentsLength(a.shapes[l]),d.push(g),m+=g.totalLength;h.totalShapeLength=m,h.pathsData=d}f+=m,h.shape._mdf=!0}var y=t,b=n,v=0,C;for(o=s-1;o>=0;o-=1)if(h=this.shapes[o],h.shape._mdf){for(x=h.localShapeCollection,x.releaseShapes(),this.m===2&&s>1?(C=this.calculateShapeEdges(t,n,h.totalShapeLength,v,f),v+=h.totalShapeLength):C=[[y,b]],u=C.length,l=0;l<u;l+=1){y=C[l][0],b=C[l][1],p.length=0,b<=1?p.push({s:h.totalShapeLength*y,e:h.totalShapeLength*b}):y>=1?p.push({s:h.totalShapeLength*(y-1),e:h.totalShapeLength*(b-1)}):(p.push({s:h.totalShapeLength*y,e:h.totalShapeLength}),p.push({s:0,e:h.totalShapeLength*(b-1)}));var S=this.addShapes(h,p[0]);if(p[0].s!==p[0].e){if(p.length>1){var T=h.shape.paths.shapes[h.shape.paths._length-1];if(T.c){var w=S.pop();this.addPaths(S,x),S=this.addShapes(h,p[1],w)}else this.addPaths(S,x),S=this.addShapes(h,p[1])}this.addPaths(S,x)}}h.shape.paths=x}}},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,l,u=0,d,g,m,f,p=[],h,x=!0;for(n?(g=n._length,h=n._length):(n=shapePool.newElement(),g=0,h=0),p.push(n),a=0;a<o;a+=1){for(m=r[a].lengths,n.c=i[a].c,l=i[a].c?m.length:m.length+1,s=1;s<l;s+=1)if(d=m[s-1],u+d.addedLength<t.s)u+=d.addedLength,n.c=!1;else if(u>t.e){n.c=!1;break}else t.s<=u&&t.e>=u+d.addedLength?(this.addSegment(i[a].v[s-1],i[a].o[s-1],i[a].i[s],i[a].v[s],n,g,x),x=!1):(f=bez.getNewSegment(i[a].v[s-1],i[a].v[s],i[a].o[s-1],i[a].i[s],(t.s-u)/d.addedLength,(t.e-u)/d.addedLength,m[s-1]),this.addSegmentFromArray(f,n,g,x),x=!1,n.c=!1),u+=d.addedLength,g+=1;if(i[a].c&&m.length){if(d=m[s-1],u<=t.e){var y=m[s-1].addedLength;t.s<=u&&t.e>=u+y?(this.addSegment(i[a].v[s-1],i[a].o[s-1],i[a].i[0],i[a].v[0],n,g,x),x=!1):(f=bez.getNewSegment(i[a].v[s-1],i[a].v[0],i[a].o[s-1],i[a].i[0],(t.s-u)/y,(t.e-u)/y,m[s-1]),this.addSegmentFromArray(f,n,g,x),x=!1,n.c=!1)}else n.c=!1;u+=d.addedLength,g+=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)),u>t.e)break;a<o-1&&(n=shapePool.newElement(),x=!0,p.push(n),g=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,l,u,d,g,m;for(a=0;a<i;a+=1)s=e.v[a][0]+(r[0]-e.v[a][0])*n,l=e.v[a][1]+(r[1]-e.v[a][1])*n,u=e.o[a][0]+(r[0]-e.o[a][0])*-n,d=e.o[a][1]+(r[1]-e.o[a][1])*-n,g=e.i[a][0]+(r[0]-e.i[a][0])*-n,m=e.i[a][1]+(r[1]-e.i[a][1])*-n,o.setTripleAt(s,l,u,d,g,m,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,l;for(n=0;n<r;n+=1){if(s=this.shapes[n],l=s.localShapeCollection,!(!s.shape._mdf&&!this._mdf&&!e))for(l.releaseShapes(),s.shape._mdf=!0,t=s.shape.paths.shapes,a=s.shape.paths._length,i=0;i<a;i+=1)l.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(l){var u=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||u,this.a&&l.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&l.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&l.skewFromAxis(-this.sk.v,this.sa.v),this.r?l.rotate(-this.r.v):l.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?l.translate(this.px.v,this.py.v,-this.pz.v):l.translate(this.px.v,this.py.v,0):l.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function n(l){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||l){var u;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 d,g;if(u=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(d=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/u,0),g=this.p.getValueAtTime(this.p.keyframes[0].t/u,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(d=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/u,0),g=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/u,0)):(d=this.p.pv,g=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/u,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){d=[],g=[];var m=this.px,f=this.py;m._caching.lastFrame+m.offsetTime<=m.keyframes[0].t?(d[0]=m.getValueAtTime((m.keyframes[0].t+.01)/u,0),d[1]=f.getValueAtTime((f.keyframes[0].t+.01)/u,0),g[0]=m.getValueAtTime(m.keyframes[0].t/u,0),g[1]=f.getValueAtTime(f.keyframes[0].t/u,0)):m._caching.lastFrame+m.offsetTime>=m.keyframes[m.keyframes.length-1].t?(d[0]=m.getValueAtTime(m.keyframes[m.keyframes.length-1].t/u,0),d[1]=f.getValueAtTime(f.keyframes[f.keyframes.length-1].t/u,0),g[0]=m.getValueAtTime((m.keyframes[m.keyframes.length-1].t-.01)/u,0),g[1]=f.getValueAtTime((f.keyframes[f.keyframes.length-1].t-.01)/u,0)):(d=[m.pv,f.pv],g[0]=m.getValueAtTime((m._caching.lastFrame+m.offsetTime-.01)/u,m.offsetTime),g[1]=f.getValueAtTime((f._caching.lastFrame+f.offsetTime-.01)/u,f.offsetTime))}else g=e,d=g;this.v.rotate(-Math.atan2(d[1]-g[1],d[0]-g[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(l){this._addDynamicProperty(l),this.elem.addDynamicProperty(l),this._isDirty=!0}function o(l,u,d){if(this.elem=l,this.frameId=-1,this.propType="transform",this.data=u,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(d||l),u.p&&u.p.s?(this.px=PropertyFactory.getProp(l,u.p.x,0,0,this),this.py=PropertyFactory.getProp(l,u.p.y,0,0,this),u.p.z&&(this.pz=PropertyFactory.getProp(l,u.p.z,0,0,this))):this.p=PropertyFactory.getProp(l,u.p||{k:[0,0,0]},1,0,this),u.rx){if(this.rx=PropertyFactory.getProp(l,u.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(l,u.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(l,u.rz,0,degToRads,this),u.or.k[0].ti){var g,m=u.or.k.length;for(g=0;g<m;g+=1)u.or.k[g].to=null,u.or.k[g].ti=null}this.or=PropertyFactory.getProp(l,u.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(l,u.r||{k:0},0,degToRads,this);u.sk&&(this.sk=PropertyFactory.getProp(l,u.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(l,u.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(l,u.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(l,u.s||{k:[100,100,100]},1,.01,this),u.o?this.o=PropertyFactory.getProp(l,u.o,0,.01,l):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(l,u,d){return new o(l,u,d)}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),l=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/l:l),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 l={it:this.cloneElements(this._elements),ty:"gr"};l.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,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes(),o=!0}a=0;var u;for(r=0;r<=this._groups.length-1;r+=1){if(u=a<s,this._groups[r]._render=u,this.changeGroupRender(this._groups[r].it,u),!u){var d=this.elemsData[r].it,g=d[d.length-1];g.transform.op.v!==0?(g.transform.op._mdf=!0,g.transform.op.v=0):g.transform.op._mdf=!1}a+=1}this._currentCopies=s;var m=this.o.v,f=m%1,p=m>0?Math.floor(m):Math.ceil(m),h=this.pMatrix.props,x=this.rMatrix.props,y=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var b=0;if(m>0){for(;b<p;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),b+=1;f&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,f,!1),b+=f)}else if(m<0){for(;b>p;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),b-=1;f&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-f,!0),b-=f)}r=this.data.m===1?0:this._currentCopies-1,i=this.data.m===1?1:-1,a=this._currentCopies;for(var v,C;a;){if(t=this.elemsData[r].it,n=t[t.length-1].transform.mProps.v.props,C=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)),b!==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(x[0],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[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]),v=0;v<C;v+=1)n[v]=this.matrix.props[v];this.matrix.reset()}else for(this.matrix.reset(),v=0;v<C;v+=1)n[v]=this.matrix.props[v];b+=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,l,u,d,g=0,m,f,p,h,x,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],g),g+=1):(r===0?l=e.v[i-1]:l=e.v[r-1],u=Math.sqrt(Math.pow(a[0]-l[0],2)+Math.pow(a[1]-l[1],2)),d=u?Math.min(u/2,t)/u:0,x=a[0]+(l[0]-a[0])*d,m=x,y=a[1]-(a[1]-l[1])*d,f=y,p=m-(m-a[0])*roundCorner,h=f-(f-a[1])*roundCorner,n.setTripleAt(m,f,p,h,x,y,g),g+=1,r===i-1?l=e.v[0]:l=e.v[r+1],u=Math.sqrt(Math.pow(a[0]-l[0],2)+Math.pow(a[1]-l[1],2)),d=u?Math.min(u/2,t)/u:0,p=a[0]+(l[0]-a[0])*d,m=p,h=a[1]+(l[1]-a[1])*d,f=h,x=m-(m-a[0])*roundCorner,y=f-(f-a[1])*roundCorner,n.setTripleAt(m,f,p,h,x,y,g),g+=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],g),g+=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,l;for(n=0;n<r;n+=1){if(s=this.shapes[n],l=s.localShapeCollection,!(!s.shape._mdf&&!this._mdf&&!e))for(l.releaseShapes(),s.shape._mdf=!0,t=s.shape.paths.shapes,a=s.shape.paths._length,i=0;i<a;i+=1)l.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],l=crossProduct(crossProduct(i,a),crossProduct(o,s));return floatZero(l[2])?null:[l[0]/l[2],l[1]/l[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,l=n+Math.PI/2,u=t[0]+Math.cos(n)*r*i,d=t[1]-Math.sin(n)*r*i;e.setTripleAt(u,d,u+Math.cos(s)*a,d-Math.sin(s)*a,u+Math.cos(l)*o,d-Math.sin(l)*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),l=t.v[n%t._length],u=t.v[n===0?t._length-1:n-1],d=t.v[(n+1)%t._length],g=a===2?Math.sqrt(Math.pow(l[0]-u[0],2)+Math.pow(l[1]-u[1],2)):0,m=a===2?Math.sqrt(Math.pow(l[0]-d[0],2)+Math.pow(l[1]-d[1],2)):0;setPoint(e,t.v[n%t._length],s,o,r,m/((i+1)*2),g/((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),l=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,u=t.normalAngle(s),d=t.point(s);setPoint(e,d,u,a,n,l/((r+1)*2),l/((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 l=0;l<i;l+=1)o=zigZagSegment(a,s,t,n,r,-o),l===i-1&&!e.c?s=null:s=PolynomialBezier.shapeSegment(e,(l+1)%i),zigZagCorner(a,e,l+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)),l=this.pointsType.v;if(o!==0){var u,d;for(n=0;n<r;n+=1){if(u=this.shapes[n],d=u.localShapeCollection,!(!u.shape._mdf&&!this._mdf&&!e))for(d.releaseShapes(),u.shape._mdf=!0,t=u.shape.paths.shapes,a=u.shape.paths._length,i=0;i<a;i+=1)d.addShape(this.processPath(t[i],o,s,l));u.shape.paths=u.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,l;l=linearOffset(e.points[0],e.points[1],t),n=l[0],r=l[1],l=linearOffset(e.points[1],e.points[2],t),i=l[0],a=l[1],l=linearOffset(e.points[2],e.points[3],t),o=l[0],s=l[1];var u=lineIntersection(n,r,i,a);u===null&&(u=r);var d=lineIntersection(o,s,i,a);return d===null&&(d=o),new PolynomialBezier(n,u,d,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),l=-n.tangentAngle(0)+Math.PI,u=lineIntersection(a,polarOffset(a,s+Math.PI/2,100),o,polarOffset(o,s+Math.PI/2,100)),d=u?pointDistance(u,a):pointDistance(a,o)/2,g=polarOffset(a,s,2*d*roundCorner);return e.setXYAt(g[0],g[1],"o",e.length()-1),g=polarOffset(o,l,2*d*roundCorner),e.setTripleAt(o[0],o[1],o[0],o[1],g[0],g[1],e.length()),o}var m=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(m,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,l,u=[];for(o=0;o<a;o+=1)l=PolynomialBezier.shapeSegment(e,o),u.push(offsetSegmentSplit(l,t));if(!e.c)for(o=a-1;o>=0;o-=1)l=PolynomialBezier.shapeSegmentInverted(e,o),u.push(offsetSegmentSplit(l,t));u=pruneIntersections(u);var d=null,g=null;for(o=0;o<u.length;o+=1){var m=u[o];for(g&&(d=joinLines(i,g,m[0],n,r)),g=m[m.length-1],s=0;s<m.length;s+=1)l=m[s],d&&pointEqual(l.points[0],d)?i.setXYAt(l.points[1][0],l.points[1][1],"o",i.length()-1):i.setTripleAt(l.points[0][0],l.points[0][1],l.points[1][0],l.points[1][1],l.points[0][0],l.points[0][1],i.length()),i.setTripleAt(l.points[3][0],l.points[3][1],l.points[3][0],l.points[3][1],l.points[2][0],l.points[2][1],i.length()),d=l.points[3]}return u.length&&joinLines(i,g,u[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,l=this.lineJoin;if(o!==0){var u,d;for(n=0;n<r;n+=1){if(u=this.shapes[n],d=u.localShapeCollection,!(!u.shape._mdf&&!this._mdf&&!e))for(d.releaseShapes(),u.shape._mdf=!0,t=u.shape.paths.shapes,a=u.shape.paths._length,i=0;i<a;i+=1)d.addShape(this.processPath(t[i],o,l,s));u.shape.paths=u.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,l=8205,u=127462,d=127487,g=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function m(L){var R=L.split(","),A,j=R.length,V=[];for(A=0;A<j;A+=1)R[A]!=="sans-serif"&&R[A]!=="monospace"&&V.push(R[A]);return V.join(",")}function f(L,R){var A=createTag("span");A.setAttribute("aria-hidden",!0),A.style.fontFamily=R;var j=createTag("span");j.innerText="giItT1WQy@!-/#",A.style.position="absolute",A.style.left="-10000px",A.style.top="-10000px",A.style.fontSize="300px",A.style.fontVariant="normal",A.style.fontStyle="normal",A.style.fontWeight="normal",A.style.letterSpacing="0",A.appendChild(j),document.body.appendChild(A);var V=j.offsetWidth;return j.style.fontFamily=m(L)+", "+R,{node:j,w:V,parent:A}}function p(){var L,R=this.fonts.length,A,j,V=R;for(L=0;L<R;L+=1)this.fonts[L].loaded?V-=1:this.fonts[L].fOrigin==="n"||this.fonts[L].origin===0?this.fonts[L].loaded=!0:(A=this.fonts[L].monoCase.node,j=this.fonts[L].monoCase.w,A.offsetWidth!==j?(V-=1,this.fonts[L].loaded=!0):(A=this.fonts[L].sansCase.node,j=this.fonts[L].sansCase.w,A.offsetWidth!==j&&(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,R){var A=document.body&&R?"svg":"canvas",j,V=getFontProperties(L);if(A==="svg"){var G=createNS("text");G.style.fontSize="100px",G.setAttribute("font-family",L.fFamily),G.setAttribute("font-style",V.style),G.setAttribute("font-weight",V.weight),G.textContent="1",L.fClass?(G.style.fontFamily="inherit",G.setAttribute("class",L.fClass)):G.style.fontFamily=L.fFamily,R.appendChild(G),j=G}else{var K=new OffscreenCanvas(500,500).getContext("2d");K.font=V.style+" "+V.weight+" 100px "+L.fFamily,j=K}function q(Z){return A==="svg"?(j.textContent=Z,j.getComputedTextLength()):j.measureText(Z).width}return{measureText:q}}function x(L,R){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(Me){Me.helper=h(Me),Me.cache={}}),this.fonts=L.list;return}var A=L.list,j,V=A.length,G=V;for(j=0;j<V;j+=1){var K=!0,q,Z;if(A[j].loaded=!1,A[j].monoCase=f(A[j].fFamily,"monospace"),A[j].sansCase=f(A[j].fFamily,"sans-serif"),!A[j].fPath)A[j].loaded=!0,G-=1;else if(A[j].fOrigin==="p"||A[j].origin===3){if(q=document.querySelectorAll('style[f-forigin="p"][f-family="'+A[j].fFamily+'"], style[f-origin="3"][f-family="'+A[j].fFamily+'"]'),q.length>0&&(K=!1),K){var ne=createTag("style");ne.setAttribute("f-forigin",A[j].fOrigin),ne.setAttribute("f-origin",A[j].origin),ne.setAttribute("f-family",A[j].fFamily),ne.type="text/css",ne.innerText="@font-face {font-family: "+A[j].fFamily+"; font-style: normal; src: url('"+A[j].fPath+"');}",R.appendChild(ne)}}else if(A[j].fOrigin==="g"||A[j].origin===1){for(q=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),Z=0;Z<q.length;Z+=1)q[Z].href.indexOf(A[j].fPath)!==-1&&(K=!1);if(K){var Y=createTag("link");Y.setAttribute("f-forigin",A[j].fOrigin),Y.setAttribute("f-origin",A[j].origin),Y.type="text/css",Y.rel="stylesheet",Y.href=A[j].fPath,document.body.appendChild(Y)}}else if(A[j].fOrigin==="t"||A[j].origin===2){for(q=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),Z=0;Z<q.length;Z+=1)A[j].fPath===q[Z].src&&(K=!1);if(K){var oe=createTag("link");oe.setAttribute("f-forigin",A[j].fOrigin),oe.setAttribute("f-origin",A[j].origin),oe.setAttribute("rel","stylesheet"),oe.setAttribute("href",A[j].fPath),R.appendChild(oe)}}A[j].helper=h(A[j],R),A[j].cache={},this.fonts.push(A[j])}G===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function y(L){if(L){this.chars||(this.chars=[]);var R,A=L.length,j,V=this.chars.length,G;for(R=0;R<A;R+=1){for(j=0,G=!1;j<V;)this.chars[j].style===L[R].style&&this.chars[j].fFamily===L[R].fFamily&&this.chars[j].ch===L[R].ch&&(G=!0),j+=1;G||(this.chars.push(L[R]),V+=1)}}}function b(L,R,A){for(var j=0,V=this.chars.length;j<V;){if(this.chars[j].ch===L&&this.chars[j].style===R&&this.chars[j].fFamily===A)return this.chars[j];j+=1}return(typeof L=="string"&&L.charCodeAt(0)!==13||!L)&&console&&console.warn&&!this._warned&&(this._warned=!0),t}function v(L,R,A){var j=this.getFontByName(R),V=L;if(!j.cache[V]){var G=j.helper;if(L===" "){var K=G.measureText("|"+L+"|"),q=G.measureText("||");j.cache[V]=(K-q)/100}else j.cache[V]=G.measureText(L)/100}return j.cache[V]*A}function C(L){for(var R=0,A=this.fonts.length;R<A;){if(this.fonts[R].fName===L)return this.fonts[R];R+=1}return this.fonts[0]}function S(L){var R=0,A=L.charCodeAt(0);if(A>=55296&&A<=56319){var j=L.charCodeAt(1);j>=56320&&j<=57343&&(R=(A-55296)*1024+j-56320+65536)}return R}function T(L,R){var A=L.toString(16)+R.toString(16);return g.indexOf(A)!==-1}function w(L){return L===l}function E(L){return L===s}function k(L){var R=S(L);return R>=u&&R<=d}function D(L){return k(L.substr(0,2))&&k(L.substr(2,2))}function U(L){return n.indexOf(L)!==-1}function B(L,R){var A=S(L.substr(R,2));if(A!==r)return!1;var j=0;for(R+=2;j<5;){if(A=S(L.substr(R,2)),A<a||A>o)return!1;j+=1,R+=2}return S(L.substr(R,2))===i}function P(){this.isLoaded=!0}var O=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)};O.isModifier=T,O.isZeroWidthJoiner=w,O.isFlagEmoji=D,O.isRegionalCode=k,O.isCombinedCharacter=U,O.isRegionalFlag=B,O.isVariationSelector=E,O.BLACK_FLAG_CODE_POINT=r;var F={addChars:y,addFonts:x,getCharData:b,getFontByName:C,measureText:v,checkLoadedFonts:p,setIsLoaded:P};return O.prototype=F,O}();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,l=0,u=[],d,g,m=createElementID(),f,p,h,x,y="clipPath",b="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",b="mask"),(s[i].mode==="s"||s[i].mode==="i")&&l===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),u.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{l+=1,o.setAttribute("fill",s[i].mode==="s"?"#000000":"#ffffff"),o.setAttribute("clip-rule","nonzero");var v;if(s[i].x.k!==0?(y="mask",b="mask",x=PropertyFactory.getProp(this.element,s[i].x,0,null,this.element),v=createElementID(),p=createNS("filter"),p.setAttribute("id",v),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,x=null),this.storedData[i]={elem:o,x,expan:h,lastPath:"",lastOperator:"",filterId:v,lastRadius:0},s[i].mode==="i"){g=u.length;var C=createNS("g");for(d=0;d<g;d+=1)C.appendChild(u[d]);var S=createNS("mask");S.setAttribute("mask-type","alpha"),S.setAttribute("id",m+"_"+l),S.appendChild(o),r.appendChild(S),C.setAttribute("mask","url("+getLocationHref()+"#"+m+"_"+l+")"),u.length=0,u.push(C)}else u.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=u.length,i=0;i<a;i+=1)this.maskElement.appendChild(u[i]);l>0&&(this.maskElement.setAttribute("id",m),this.element.maskedElement.setAttribute(b,"url("+getLocationHref()+"#"+m+")"),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 l=e.data.ef[t].ty;if(registeredEffects$1[l]){var u=registeredEffects$1[l].effect;s=new u(a,e.effectsManager.effectElements[t],e,idPrefix+o,n),n=idPrefix+o,registeredEffects$1[l].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 l=createNS("g");s.appendChild(l),n=createElementID(),r=filtersFactory.createFilter(n);var u=createNS("feComponentTransfer");u.setAttribute("in","SourceGraphic"),r.appendChild(u);var d=createNS("feFuncA");d.setAttribute("type","table"),d.setAttribute("tableValues","1.0 0.0"),u.appendChild(d),this.globalData.defs.appendChild(r);var g=createNS("rect");g.setAttribute("width",this.comp.data.w),g.setAttribute("height",this.comp.data.h),g.setAttribute("x","0"),g.setAttribute("y","0"),g.setAttribute("fill","#ffffff"),g.setAttribute("opacity","0"),l.setAttribute("filter","url("+getLocationHref()+"#"+n+")"),l.appendChild(g),i=createNS("use"),i.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(i),featureSupport.maskType||(s.setAttribute("mask-type","luminance"),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),a=createNS("g"),l.appendChild(g),a.appendChild(this.layerElement),l.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(),l=createElementID();a.setAttribute("id",l);var u=createNS(e.t===1?"linearGradient":"radialGradient");u.setAttribute("id",s),u.setAttribute("spreadMethod","pad"),u.setAttribute("gradientUnits","userSpaceOnUse"),i=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var d=this.stops;for(r=e.g.p*4;r<i;r+=2)n=createNS("stop"),n.setAttribute("stop-color","rgb(255,255,255)"),u.appendChild(n),d.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=u,this.ms=a,this.ost=d,this.maskId=l,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,l=" M"+r.applyToPointStringified(o[0][0],o[0][1]);for(s=1;s<t;s+=1)l+=" 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&&(l+=" 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]),l+="z"),l},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix,n={createRenderFunction:r};function r(g){switch(g.ty){case"fl":return s;case"gf":return u;case"gs":return l;case"st":return d;case"sh":case"el":case"rc":case"sr":return o;case"tr":return i;case"no":return a;default:return null}}function i(g,m,f){(f||m.transform.op._mdf)&&m.transform.container.setAttribute("opacity",m.transform.op.v),(f||m.transform.mProps._mdf)&&m.transform.container.setAttribute("transform",m.transform.mProps.v.to2dCSS())}function a(){}function o(g,m,f){var p,h,x,y,b,v,C=m.styles.length,S=m.lvl,T,w,E,k;for(v=0;v<C;v+=1){if(y=m.sh._mdf||f,m.styles[v].lvl<S){for(w=t.reset(),E=S-m.styles[v].lvl,k=m.transformers.length-1;!y&&E>0;)y=m.transformers[k].mProps._mdf||y,E-=1,k-=1;if(y)for(E=S-m.styles[v].lvl,k=m.transformers.length-1;E>0;)w.multiply(m.transformers[k].mProps.v),E-=1,k-=1}else w=e;if(T=m.sh.paths,h=T._length,y){for(x="",p=0;p<h;p+=1)b=T.shapes[p],b&&b._length&&(x+=buildShapeString(b,b._length,b.c,w));m.caches[v]=x}else x=m.caches[v];m.styles[v].d+=g.hd===!0?"":x,m.styles[v]._mdf=y||m.styles[v]._mdf}}function s(g,m,f){var p=m.style;(m.c._mdf||f)&&p.pElem.setAttribute("fill","rgb("+bmFloor(m.c.v[0])+","+bmFloor(m.c.v[1])+","+bmFloor(m.c.v[2])+")"),(m.o._mdf||f)&&p.pElem.setAttribute("fill-opacity",m.o.v)}function l(g,m,f){u(g,m,f),d(g,m,f)}function u(g,m,f){var p=m.gf,h=m.g._hasOpacity,x=m.s.v,y=m.e.v;if(m.o._mdf||f){var b=g.ty==="gf"?"fill-opacity":"stroke-opacity";m.style.pElem.setAttribute(b,m.o.v)}if(m.s._mdf||f){var v=g.t===1?"x1":"cx",C=v==="x1"?"y1":"cy";p.setAttribute(v,x[0]),p.setAttribute(C,x[1]),h&&!m.g._collapsable&&(m.of.setAttribute(v,x[0]),m.of.setAttribute(C,x[1]))}var S,T,w,E;if(m.g._cmdf||f){S=m.cst;var k=m.g.c;for(w=S.length,T=0;T<w;T+=1)E=S[T],E.setAttribute("offset",k[T*4]+"%"),E.setAttribute("stop-color","rgb("+k[T*4+1]+","+k[T*4+2]+","+k[T*4+3]+")")}if(h&&(m.g._omdf||f)){var D=m.g.o;for(m.g._collapsable?S=m.cst:S=m.ost,w=S.length,T=0;T<w;T+=1)E=S[T],m.g._collapsable||E.setAttribute("offset",D[T*2]+"%"),E.setAttribute("stop-opacity",D[T*2+1])}if(g.t===1)(m.e._mdf||f)&&(p.setAttribute("x2",y[0]),p.setAttribute("y2",y[1]),h&&!m.g._collapsable&&(m.of.setAttribute("x2",y[0]),m.of.setAttribute("y2",y[1])));else{var U;if((m.s._mdf||m.e._mdf||f)&&(U=Math.sqrt(Math.pow(x[0]-y[0],2)+Math.pow(x[1]-y[1],2)),p.setAttribute("r",U),h&&!m.g._collapsable&&m.of.setAttribute("r",U)),m.e._mdf||m.h._mdf||m.a._mdf||f){U||(U=Math.sqrt(Math.pow(x[0]-y[0],2)+Math.pow(x[1]-y[1],2)));var B=Math.atan2(y[1]-x[1],y[0]-x[0]),P=m.h.v;P>=1?P=.99:P<=-1&&(P=-.99);var O=U*P,F=Math.cos(B+m.a.v)*O+x[0],L=Math.sin(B+m.a.v)*O+x[1];p.setAttribute("fx",F),p.setAttribute("fy",L),h&&!m.g._collapsable&&(m.of.setAttribute("fx",F),m.of.setAttribute("fy",L))}}}function d(g,m,f){var p=m.style,h=m.d;h&&(h._mdf||f)&&h.dashStr&&(p.pElem.setAttribute("stroke-dasharray",h.dashStr),p.pElem.setAttribute("stroke-dashoffset",h.dashoffset[0])),m.c&&(m.c._mdf||f)&&p.pElem.setAttribute("stroke","rgb("+bmFloor(m.c.v[0])+","+bmFloor(m.c.v[1])+","+bmFloor(m.c.v[2])+")"),(m.o._mdf||f)&&p.pElem.setAttribute("stroke-opacity",m.o.v),(m.w._mdf||f)&&(p.pElem.setAttribute("stroke-width",m.w.v),p.msElem&&p.msElem.setAttribute("stroke-width",m.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),l,u=e.length-1,d,g,m=[],f=[],p,h,x;for(l=u;l>=0;l-=1){if(x=this.searchProcessedElement(e[l]),x?t[l]=n[x-1]:e[l]._render=o,e[l].ty==="fl"||e[l].ty==="st"||e[l].ty==="gf"||e[l].ty==="gs"||e[l].ty==="no")x?t[l].style.closed=!1:t[l]=this.createStyleElement(e[l],i),e[l]._render&&t[l].style.pElem.parentNode!==r&&r.appendChild(t[l].style.pElem),m.push(t[l].style);else if(e[l].ty==="gr"){if(!x)t[l]=this.createGroupElement(e[l]);else for(g=t[l].it.length,d=0;d<g;d+=1)t[l].prevViewData[d]=t[l].it[d];this.searchShapes(e[l].it,t[l].it,t[l].prevViewData,t[l].gr,i+1,s,o),e[l]._render&&t[l].gr.parentNode!==r&&r.appendChild(t[l].gr)}else e[l].ty==="tr"?(x||(t[l]=this.createTransformElement(e[l],r)),p=t[l].transform,s.push(p)):e[l].ty==="sh"||e[l].ty==="rc"||e[l].ty==="el"||e[l].ty==="sr"?(x||(t[l]=this.createShapeElement(e[l],s,i)),this.setElementStyles(t[l])):e[l].ty==="tm"||e[l].ty==="rd"||e[l].ty==="ms"||e[l].ty==="pb"||e[l].ty==="zz"||e[l].ty==="op"?(x?(h=t[l],h.closed=!1):(h=ShapeModifiers.getModifier(e[l].ty),h.init(this,e[l]),t[l]=h,this.shapeModifiers.push(h)),f.push(h)):e[l].ty==="rp"&&(x?(h=t[l],h.closed=!0):(h=ShapeModifiers.getModifier(e[l].ty),t[l]=h,h.init(this,e,l,t),this.shapeModifiers.push(h),o=!1),f.push(h));this.addProcessedElement(e[l],l+1)}for(u=m.length,l=0;l<u;l+=1)m[l].closed=!0;for(u=f.length,l=0;l<u;l+=1)f[l].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,l="";n<r;)o=s,s=!1,i=e.charCodeAt(n),l=e.charAt(n),FontManager.isCombinedCharacter(i)?o=!0:i>=55296&&i<=56319?FontManager.isRegionalFlag(e,n)?l=e.substr(n,14):(a=e.charCodeAt(n+1),a>=56320&&a<=57343&&(FontManager.isModifier(i,a)?(l=e.substr(n,2),o=!0):FontManager.isFlagEmoji(e.substr(n,4))?l=e.substr(n,4):l=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]+=l,o=!1):t.push(l),n+=l.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,l,u=n.m.g,d=0,g=0,m=0,f=[],p=0,h=0,x,y,b=t.getFontByName(e.f),v,C=0,S=getFontProperties(b);e.fWeight=S.weight,e.fStyle=S.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),a=e.finalText.length,e.finalLineHeight=e.lh;var T=e.tr/1e3*e.finalSize,w;if(e.sz)for(var E=!0,k=e.sz[0],D=e.sz[1],U,B;E;){B=this.buildFinalText(e.t),U=0,p=0,a=B.length,T=e.tr/1e3*e.finalSize;var P=-1;for(i=0;i<a;i+=1)w=B[i].charCodeAt(0),o=!1,B[i]===" "?P=i:(w===13||w===3)&&(p=0,o=!0,U+=e.finalLineHeight||e.finalSize*1.2),t.chars?(v=t.getCharData(B[i],b.fStyle,b.fFamily),C=o?0:v.w*e.finalSize/100):C=t.measureText(B[i],e.f,e.finalSize),p+C>k&&B[i]!==" "?(P===-1?a+=1:i=P,U+=e.finalLineHeight||e.finalSize*1.2,B.splice(i,P===i?1:0,"\r"),P=-1,p=0):(p+=C,p+=T);U+=b.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&D<U?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=B,a=e.finalText.length,E=!1)}p=-T,C=0;var O=0,F;for(i=0;i<a;i+=1)if(o=!1,F=e.finalText[i],w=F.charCodeAt(0),w===13||w===3?(O=0,f.push(p),h=p>h?p:h,p=-2*T,l="",o=!0,m+=1):l=F,t.chars?(v=t.getCharData(F,b.fStyle,t.getFontByName(e.f).fFamily),C=o?0:v.w*e.finalSize/100):C=t.measureText(l,e.f,e.finalSize),F===" "?O+=C+T:(p+=C+T+O,O=0),r.push({l:C,an:C,add:d,n:o,anIndexes:[],val:l,line:m,animatorJustifyOffset:0}),u==2){if(d+=C,l===""||l===" "||i===a-1){for((l===""||l===" ")&&(d-=C);g<=i;)r[g].an=d,r[g].ind=s,r[g].extra=C,g+=1;s+=1,d=0}}else if(u==3){if(d+=C,l===""||i===a-1){for(l===""&&(d-=C);g<=i;)r[g].an=d,r[g].ind=s,r[g].extra=C,g+=1;d=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,R,A;y=L.length;var j,V,G=[];for(x=0;x<y;x+=1){for(R=L[x],R.a.sc&&(e.strokeColorAnim=!0),R.a.sw&&(e.strokeWidthAnim=!0),(R.a.fc||R.a.fh||R.a.fs||R.a.fb)&&(e.fillColorAnim=!0),V=0,j=R.s.b,i=0;i<a;i+=1)A=r[i],A.anIndexes[x]=V,(j==1&&A.val!==""||j==2&&A.val!==""&&A.val!==" "||j==3&&(A.n||A.val==" "||i==a-1)||j==4&&(A.n||i==a-1))&&(R.s.rn===1&&G.push(V),V+=1);n.a[x].s.totalChars=V;var K=-1,q;if(R.s.rn===1)for(i=0;i<a;i+=1)A=r[i],K!=A.anIndexes[x]&&(K=A.anIndexes[x],q=G.splice(Math.floor(Math.random()*G.length),1)[0]),A.anIndexes[x]=q}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=b.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,l=1,u=1;this.ne.v>0?o=this.ne.v/100:s=-this.ne.v/100,this.xe.v>0?l=1-this.xe.v/100:u=1+this.xe.v/100;var d=BezierFactory.getBezierEasing(o,s,l,u).get,g=0,m=this.finalS,f=this.finalE,p=this.data.sh;if(p===2)f===m?g=a>=f?1:0:g=e(0,t(.5/(f-m)+(a-m)/(f-m),1)),g=d(g);else if(p===3)f===m?g=a>=f?0:1:g=1-e(0,t(.5/(f-m)+(a-m)/(f-m),1)),g=d(g);else if(p===4)f===m?g=0:(g=e(0,t(.5/(f-m)+(a-m)/(f-m),1)),g<.5?g*=2:g=1-2*(g-.5)),g=d(g);else if(p===5){if(f===m)g=0;else{var h=f-m;a=t(e(0,a+.5-m),f-m);var x=-h/2+a,y=h/2;g=Math.sqrt(1-x*x/(y*y))}g=d(g)}else p===6?(f===m?g=0:(a=t(e(0,a+.5-m),f-m),g=(1+Math.cos(Math.PI+Math.PI*2*a/(f-m)))/2),g=d(g)):(a>=n(m)&&(a-m<0?g=e(0,t(t(f,1)-(m-a),1)):g=e(0,t(f-a,1))),g=d(g));if(this.sm.v!==100){var b=this.sm.v*.01;b===0&&(b=1e-8);var v=.5-b*.5;g<v?g=0:(g=(g-v)/b,g>1&&(g=1))}return g*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,l=this.s.v/o+s,u=this.e.v/o+s;if(l>u){var d=l;l=u,u=d}this.finalS=l,this.finalE=u}},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,l,u,d,g,m=e.l,f,p,h,x,y,b,v,C,S,T,w,E,k,D,U;if(this._hasMaskedPath){if(U=this._pathData.m,!this._pathData.n||this._pathData._mdf){var B=U.v;this._pathData.r.v&&(B=B.reverse()),f={tLength:0,segments:[]},g=B._length-1;var P;for(E=0,d=0;d<g;d+=1)P=bez.buildBezierData(B.v[d],B.v[d+1],[B.o[d][0]-B.v[d][0],B.o[d][1]-B.v[d][1]],[B.i[d+1][0]-B.v[d+1][0],B.i[d+1][1]-B.v[d+1][1]]),f.tLength+=P.segmentLength,f.segments.push(P),E+=P.segmentLength;d=g,U.v.c&&(P=bez.buildBezierData(B.v[d],B.v[0],[B.o[d][0]-B.v[d][0],B.o[d][1]-B.v[d][1]],[B.i[0][0]-B.v[0][0],B.i[0][1]-B.v[0][1]]),f.tLength+=P.segmentLength,f.segments.push(P),E+=P.segmentLength),this._pathData.pi=f}if(f=this._pathData.pi,p=this._pathData.f.v,v=0,b=1,x=0,y=!0,T=f.segments,p<0&&U.v.c)for(f.tLength<Math.abs(p)&&(p=-Math.abs(p)%f.tLength),v=T.length-1,S=T[v].points,b=S.length-1;p<0;)p+=S[b].partialLength,b-=1,b<0&&(v-=1,S=T[v].points,b=S.length-1);S=T[v].points,C=S[b-1],h=S[b],w=h.partialLength}g=m.length,l=0,u=0;var O=e.finalSize*1.2*.714,F=!0,L,R,A,j,V;j=r.length;var G,K=-1,q,Z,ne,Y=p,oe=v,Me=b,Ce=-1,ue,ge,me,he,te,Re,ye,ce,se="",we=this.defaultPropsArray,qe;if(e.j===2||e.j===1){var fe=0,ze=0,Ee=e.j===2?-.5:-1,tt=0,Xe=!0;for(d=0;d<g;d+=1)if(m[d].n){for(fe&&(fe+=ze);tt<d;)m[tt].animatorJustifyOffset=fe,tt+=1;fe=0,Xe=!0}else{for(A=0;A<j;A+=1)L=r[A].a,L.t.propType&&(Xe&&e.j===2&&(ze+=L.t.v*Ee),R=r[A].s,G=R.getMult(m[d].anIndexes[A],i.a[A].s.totalChars),G.length?fe+=L.t.v*G[0]*Ee:fe+=L.t.v*G*Ee);Xe=!1}for(fe&&(fe+=ze);tt<d;)m[tt].animatorJustifyOffset=fe,tt+=1}for(d=0;d<g;d+=1){if(a.reset(),ue=1,m[d].n)l=0,u+=e.yOffset,u+=F?1:0,p=Y,F=!1,this._hasMaskedPath&&(v=oe,b=Me,S=T[v].points,C=S[b-1],h=S[b],w=h.partialLength,x=0),se="",ce="",Re="",qe="",we=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Ce!==m[d].line){switch(e.j){case 1:p+=E-e.lineWidths[m[d].line];break;case 2:p+=(E-e.lineWidths[m[d].line])/2;break;default:break}Ce=m[d].line}K!==m[d].ind&&(m[K]&&(p+=m[K].extra),p+=m[d].an/2,K=m[d].ind),p+=n[0]*m[d].an*.005;var Dt=0;for(A=0;A<j;A+=1)L=r[A].a,L.p.propType&&(R=r[A].s,G=R.getMult(m[d].anIndexes[A],i.a[A].s.totalChars),G.length?Dt+=L.p.v[0]*G[0]:Dt+=L.p.v[0]*G),L.a.propType&&(R=r[A].s,G=R.getMult(m[d].anIndexes[A],i.a[A].s.totalChars),G.length?Dt+=L.a.v[0]*G[0]:Dt+=L.a.v[0]*G);for(y=!0,this._pathData.a.v&&(p=m[0].an*.5+(E-this._pathData.f.v-m[0].an*.5-m[m.length-1].an*.5)*K/(g-1),p+=this._pathData.f.v);y;)x+w>=p+Dt||!S?(k=(p+Dt-x)/h.partialLength,Z=C.point[0]+(h.point[0]-C.point[0])*k,ne=C.point[1]+(h.point[1]-C.point[1])*k,a.translate(-n[0]*m[d].an*.005,-(n[1]*O)*.01),y=!1):S&&(x+=h.partialLength,b+=1,b>=S.length&&(b=0,v+=1,T[v]?S=T[v].points:U.v.c?(b=0,v=0,S=T[v].points):(x-=h.partialLength,S=null)),S&&(C=h,h=S[b],w=h.partialLength));q=m[d].an/2-m[d].add,a.translate(-q,0,0)}else q=m[d].an/2-m[d].add,a.translate(-q,0,0),a.translate(-n[0]*m[d].an*.005,-n[1]*O*.01,0);for(A=0;A<j;A+=1)L=r[A].a,L.t.propType&&(R=r[A].s,G=R.getMult(m[d].anIndexes[A],i.a[A].s.totalChars),(l!==0||e.j!==0)&&(this._hasMaskedPath?G.length?p+=L.t.v*G[0]:p+=L.t.v*G:G.length?l+=L.t.v*G[0]:l+=L.t.v*G));for(e.strokeWidthAnim&&(me=e.sw||0),e.strokeColorAnim&&(e.sc?ge=[e.sc[0],e.sc[1],e.sc[2]]:ge=[0,0,0]),e.fillColorAnim&&e.fc&&(he=[e.fc[0],e.fc[1],e.fc[2]]),A=0;A<j;A+=1)L=r[A].a,L.a.propType&&(R=r[A].s,G=R.getMult(m[d].anIndexes[A],i.a[A].s.totalChars),G.length?a.translate(-L.a.v[0]*G[0],-L.a.v[1]*G[1],L.a.v[2]*G[2]):a.translate(-L.a.v[0]*G,-L.a.v[1]*G,L.a.v[2]*G));for(A=0;A<j;A+=1)L=r[A].a,L.s.propType&&(R=r[A].s,G=R.getMult(m[d].anIndexes[A],i.a[A].s.totalChars),G.length?a.scale(1+(L.s.v[0]-1)*G[0],1+(L.s.v[1]-1)*G[1],1):a.scale(1+(L.s.v[0]-1)*G,1+(L.s.v[1]-1)*G,1));for(A=0;A<j;A+=1){if(L=r[A].a,R=r[A].s,G=R.getMult(m[d].anIndexes[A],i.a[A].s.totalChars),L.sk.propType&&(G.length?a.skewFromAxis(-L.sk.v*G[0],L.sa.v*G[1]):a.skewFromAxis(-L.sk.v*G,L.sa.v*G)),L.r.propType&&(G.length?a.rotateZ(-L.r.v*G[2]):a.rotateZ(-L.r.v*G)),L.ry.propType&&(G.length?a.rotateY(L.ry.v*G[1]):a.rotateY(L.ry.v*G)),L.rx.propType&&(G.length?a.rotateX(L.rx.v*G[0]):a.rotateX(L.rx.v*G)),L.o.propType&&(G.length?ue+=(L.o.v*G[0]-ue)*G[0]:ue+=(L.o.v*G-ue)*G),e.strokeWidthAnim&&L.sw.propType&&(G.length?me+=L.sw.v*G[0]:me+=L.sw.v*G),e.strokeColorAnim&&L.sc.propType)for(te=0;te<3;te+=1)G.length?ge[te]+=(L.sc.v[te]-ge[te])*G[0]:ge[te]+=(L.sc.v[te]-ge[te])*G;if(e.fillColorAnim&&e.fc){if(L.fc.propType)for(te=0;te<3;te+=1)G.length?he[te]+=(L.fc.v[te]-he[te])*G[0]:he[te]+=(L.fc.v[te]-he[te])*G;L.fh.propType&&(G.length?he=addHueToRGB(he,L.fh.v*G[0]):he=addHueToRGB(he,L.fh.v*G)),L.fs.propType&&(G.length?he=addSaturationToRGB(he,L.fs.v*G[0]):he=addSaturationToRGB(he,L.fs.v*G)),L.fb.propType&&(G.length?he=addBrightnessToRGB(he,L.fb.v*G[0]):he=addBrightnessToRGB(he,L.fb.v*G))}}for(A=0;A<j;A+=1)L=r[A].a,L.p.propType&&(R=r[A].s,G=R.getMult(m[d].anIndexes[A],i.a[A].s.totalChars),this._hasMaskedPath?G.length?a.translate(0,L.p.v[1]*G[0],-L.p.v[2]*G[1]):a.translate(0,L.p.v[1]*G,-L.p.v[2]*G):G.length?a.translate(L.p.v[0]*G[0],L.p.v[1]*G[1],-L.p.v[2]*G[2]):a.translate(L.p.v[0]*G,L.p.v[1]*G,-L.p.v[2]*G));if(e.strokeWidthAnim&&(Re=me<0?0:me),e.strokeColorAnim&&(ye="rgb("+Math.round(ge[0]*255)+","+Math.round(ge[1]*255)+","+Math.round(ge[2]*255)+")"),e.fillColorAnim&&e.fc&&(ce="rgb("+Math.round(he[0]*255)+","+Math.round(he[1]*255)+","+Math.round(he[2]*255)+")"),this._hasMaskedPath){if(a.translate(0,-e.ls),a.translate(0,n[1]*O*.01+u,0),this._pathData.p.v){D=(h.point[1]-C.point[1])/(h.point[0]-C.point[0]);var hr=Math.atan(D)*180/Math.PI;h.point[0]<C.point[0]&&(hr+=180),a.rotate(-hr*Math.PI/180)}a.translate(Z,ne,0),p-=n[0]*m[d].an*.005,m[d+1]&&K!==m[d+1].ind&&(p+=m[d].an/2,p+=e.tr*.001*e.finalSize)}else{switch(a.translate(l,u,0),e.ps&&a.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:a.translate(m[d].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[m[d].line]),0,0);break;case 2:a.translate(m[d].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[m[d].line])/2,0,0);break;default:break}a.translate(0,-e.ls),a.translate(q,0,0),a.translate(n[0]*m[d].an*.005,n[1]*O*.01,0),l+=m[d].l+e.tr*.001*e.finalSize}o==="html"?se=a.toCSS():o==="svg"?se=a.to2dCSS():we=[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]],qe=ue}s<=d?(V=new LetterProps(qe,Re,ye,ce,se,we),this.renderedLetters.push(V),s+=1,this.lettersChangedFlag=!0):(V=this.renderedLetters[d],this.lettersChangedFlag=V.update(qe,Re,ye,ce,se,we)||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 l,u=this.mHelper,d="",g=this.data.singleShape,m=0,f=0,p=!0,h=n.tr*.001*n.finalSize;if(g&&!s&&!n.sz){var x=this.textContainer,y="start";switch(n.j){case 1:y="end";break;case 2:y="middle";break;default:y="start";break}x.setAttribute("text-anchor",y),x.setAttribute("letter-spacing",h);var b=this.buildTextContents(n.finalText);for(t=b.length,f=n.ps?n.ps[1]+n.ascent:0,e=0;e<t;e+=1)l=this.textSpans[e].span||createNS("tspan"),l.textContent=b[e],l.setAttribute("x",0),l.setAttribute("y",f),l.style.display="inherit",x.appendChild(l),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=l,f+=n.finalLineHeight;this.layerElement.appendChild(x)}else{var v=this.textSpans.length,C;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!s||!g||e===0){if(l=v>e?this.textSpans[e].span:createNS(s?"g":"text"),v<=e){if(l.setAttribute("stroke-linecap","butt"),l.setAttribute("stroke-linejoin","round"),l.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=l,s){var S=createNS("g");l.appendChild(S),this.textSpans[e].childSpan=S}this.textSpans[e].span=l,this.layerElement.appendChild(l)}l.style.display="inherit"}if(u.reset(),g&&(o[e].n&&(m=-h,f+=n.yOffset,f+=p?1:0,p=!1),this.applyTextPropertiesToMatrix(n,u,o[e].line,m,f),m+=o[e].l||0,m+=h),s){C=this.globalData.fontManager.getCharData(n.finalText[e],r.fStyle,this.globalData.fontManager.getFontByName(n.f).fFamily);var T;if(C.t===1)T=new SVGCompElement(C.data,this.globalData,this);else{var w=emptyShapeData;C.data&&C.data.shapes&&(w=this.buildShapeData(C.data,n.finalSize)),T=new SVGShapeElement(w,this.globalData,this)}if(this.textSpans[e].glyph){var E=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(E.layerElement),E.destroy()}this.textSpans[e].glyph=T,T._debug=!0,T.prepareFrame(0),T.renderFrame(),this.textSpans[e].childSpan.appendChild(T.layerElement),C.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+n.finalSize/100+","+n.finalSize/100+")")}else g&&l.setAttribute("transform","translate("+u.props[12]+","+u.props[13]+")"),l.textContent=o[e].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}g&&l&&l.setAttribute("d",d)}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 l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,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"),l=createNS("filter"),u=createNS("feColorMatrix");return l.setAttribute("id",e),u.setAttribute("type","matrix"),u.setAttribute("color-interpolation-filters","sRGB"),u.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"),l.appendChild(u),s.appendChild(l),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,l=o._length;for(s=1;s<l;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,l,u=[],d=[],g,m,f,p=[].concat(i);for(a=o;a>=0;a-=1){if(g=this.searchProcessedElement(e[a]),g?t[a]=n[g-1]:e[a]._shouldRender=r,e[a].ty==="fl"||e[a].ty==="st"||e[a].ty==="gf"||e[a].ty==="gs")g?t[a].style.closed=!1:t[a]=this.createStyleElement(e[a],p),u.push(t[a].style);else if(e[a].ty==="gr"){if(!g)t[a]=this.createGroupElement(e[a]);else for(l=t[a].it.length,s=0;s<l;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"?(g||(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"?g||(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"?(g?(m=t[a],m.closed=!1):(m=ShapeModifiers.getModifier(e[a].ty),m.init(this,e[a]),t[a]=m,this.shapeModifiers.push(m)),d.push(m)):e[a].ty==="rp"&&(g?(m=t[a],m.closed=!0):(m=ShapeModifiers.getModifier(e[a].ty),t[a]=m,m.init(this,e,a,t),this.shapeModifiers.push(m),r=!1),d.push(m));this.addProcessedElement(e[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(u),o=d.length,a=0;a<o;a+=1)d[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,l=this.globalData.renderer,u=this.globalData.canvasContext,d,g;for(e=0;e<t;e+=1)if(g=this.stylesList[e],d=g.type,!((d==="st"||d==="gs")&&g.wi===0||!g.data._shouldRender||g.coOp===0||this.globalData.currentGlobalAlpha===0)){for(l.save(),o=g.elements,d==="st"||d==="gs"?(l.ctxStrokeStyle(d==="st"?g.co:g.grd),l.ctxLineWidth(g.wi),l.ctxLineCap(g.lc),l.ctxLineJoin(g.lj),l.ctxMiterLimit(g.ml||0)):l.ctxFillStyle(d==="fl"?g.co:g.grd),l.ctxOpacity(g.coOp),d!=="st"&&d!=="gs"&&u.beginPath(),l.ctxTransform(g.preTransforms.finalTransform.props),r=o.length,n=0;n<r;n+=1){for((d==="st"||d==="gs")&&(u.beginPath(),g.da&&(u.setLineDash(g.da),u.lineDashOffset=g.do)),s=o[n].trNodes,a=s.length,i=0;i<a;i+=1)s[i].t==="m"?u.moveTo(s[i].p[0],s[i].p[1]):s[i].t==="c"?u.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]):u.closePath();(d==="st"||d==="gs")&&(l.ctxStroke(),g.da&&u.setLineDash(this.dashResetter))}d!=="st"&&d!=="gs"&&this.globalData.renderer.ctxFill(g.r),l.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 l=e.transforms.finalTransform;for(o=0;o<s;o+=1){var u=r.shapes[o];if(u&&u.v){for(a=u._length,i=1;i<a;i+=1)i===1&&n.push({t:"m",p:l.applyToPointArray(u.v[0][0],u.v[0][1],0)}),n.push({t:"c",pts:l.applyToTriplePoints(u.o[i-1],u.i[i],u.v[i])});a===1&&n.push({t:"m",p:l.applyToPointArray(u.v[0][0],u.v[0][1],0)}),u.c&&a&&(n.push({t:"c",pts:l.applyToTriplePoints(u.o[i-1],u.i[0],u.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 l=Math.sqrt(Math.pow(o[0]-s[0],2)+Math.pow(o[1]-s[1],2)),u=Math.atan2(s[1]-o[1],s[0]-o[0]),d=t.h.v;d>=1?d=.99:d<=-1&&(d=-.99);var g=l*d,m=Math.cos(u+t.a.v)*g+o[0],f=Math.sin(u+t.a.v)*g+o[1];i=a.createRadialGradient(m,f,0,o[0],o[1],l)}var p,h=e.g.p,x=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(x[p*4]/100,"rgba("+x[p*4+1]+","+x[p*4+2]+","+x[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 l,u,d,g,m,f,p,h,x,y,b=this.data.singleShape,v=e.tr*.001*e.finalSize,C=0,S=0,T=!0,w=0;for(i=0;i<a;i+=1){l=this.globalData.fontManager.getCharData(e.finalText[i],r.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),u=l&&l.data||{},s.reset(),b&&o[i].n&&(C=-v,S+=e.yOffset,S+=T?1:0,T=!1),m=u.shapes?u.shapes[0].it:[],p=m.length,s.scale(e.finalSize/100,e.finalSize/100),b&&this.applyTextPropertiesToMatrix(e,s,o[i].line,C,S),x=createSizedArray(p-1);var E=0;for(f=0;f<p;f+=1)if(m[f].ty==="sh"){for(g=m[f].ks.k.i.length,h=m[f].ks.k,y=[],d=1;d<g;d+=1)d===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[d-1][0],h.o[d-1][1],0),s.applyToY(h.o[d-1][0],h.o[d-1][1],0),s.applyToX(h.i[d][0],h.i[d][1],0),s.applyToY(h.i[d][0],h.i[d][1],0),s.applyToX(h.v[d][0],h.v[d][1],0),s.applyToY(h.v[d][0],h.v[d][1],0));y.push(s.applyToX(h.o[d-1][0],h.o[d-1][1],0),s.applyToY(h.o[d-1][0],h.o[d-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)),x[E]=y,E+=1}b&&(C+=o[i].l,C+=v),this.textSpans[w]?this.textSpans[w].elem=x:this.textSpans[w]={elem:x},w+=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,l=this.textProperty.currentData.l;n=l.length;var u,d=null,g=null,m=null,f,p,h=this.globalData.renderer;for(t=0;t<n;t+=1)if(!l[t].n){if(u=s[t],u&&(h.save(),h.ctxTransform(u.p),h.ctxOpacity(u.o)),this.fill){for(u&&u.fc?d!==u.fc&&(h.ctxFillStyle(u.fc),d=u.fc):d!==this.values.fill&&(d=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(u&&u.sw?m!==u.sw&&(m=u.sw,h.ctxLineWidth(u.sw)):m!==this.values.sWidth&&(m=this.values.sWidth,h.ctxLineWidth(this.values.sWidth)),u&&u.sc?g!==u.sc&&(g=u.sc,h.ctxStrokeStyle(u.sc)):g!==this.values.stroke&&(g=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()}u&&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,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;i>a&&l==="xMidYMid slice"||i<a&&l!=="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",l=o[0]||"xMidYMid",u=l.substr(0,4),d=l.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)),u==="xMid"&&(a<i&&s==="meet"||a>i&&s==="slice")?this.transformCanvas.tx=(n-this.transformCanvas.w*(r/this.transformCanvas.h))/2*this.renderConfig.dpr:u==="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,d==="YMid"&&(a>i&&s==="meet"||a<i&&s==="slice")?this.transformCanvas.ty=(r-this.transformCanvas.h*(n/this.transformCanvas.w))/2*this.renderConfig.dpr:d==="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,l,u;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]),l=this.getTransformedPoint(r,n.i[i+1]),u=this.getTransformedPoint(r,n.v[i+1]),this.checkBounds(o,s,l,u,t);n.c&&(o=this.getTransformedPoint(r,n.v[i]),s=this.getTransformedPoint(r,n.o[i]),l=this.getTransformedPoint(r,n.i[0]),u=this.getTransformedPoint(r,n.v[0]),this.checkBounds(o,s,l,u,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,l,u,d,g,m=0;m<2;++m)o=6*e[m]-12*t[m]+6*n[m],a=-3*e[m]+9*t[m]-9*n[m]+3*r[m],s=3*t[m]-3*e[m],o|=0,a|=0,s|=0,a===0&&o===0||(a===0?(l=-s/o,l>0&&l<1&&i[m].push(this.calculateF(l,e,t,n,r,m))):(u=o*o-4*s*a,u>=0&&(d=(-o+bmSqrt(u))/(2*a),d>0&&d<1&&i[m].push(this.calculateF(d,e,t,n,r,m)),g=(-o-bmSqrt(u))/(2*a),g>0&&g<1&&i[m].push(this.calculateF(g,e,t,n,r,m)))));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,l=e.l;s=l.length;var u,d,g,m=this.mHelper,f,p="",h=0;for(o=0;o<s;o+=1){if(this.globalData.fontManager.chars?(this.textPaths[h]?u=this.textPaths[h]:(u=createNS("path"),u.setAttribute("stroke-linecap",lineCapEnum[1]),u.setAttribute("stroke-linejoin",lineJoinEnum[2]),u.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[h]?(d=this.textSpans[h],g=d.children[0]):(d=createTag("div"),d.style.lineHeight=0,g=createNS("svg"),g.appendChild(u),styleDiv(d)))):this.isMasked?u=this.textPaths[h]?this.textPaths[h]:createNS("text"):this.textSpans[h]?(d=this.textSpans[h],u=this.textPaths[h]):(d=createTag("span"),styleDiv(d),u=createTag("span"),styleDiv(u),d.appendChild(u)),this.globalData.fontManager.chars){var x=this.globalData.fontManager.getCharData(e.finalText[o],r.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),y;if(x?y=x.data:y=null,m.reset(),y&&y.shapes&&y.shapes.length&&(f=y.shapes[0].it,m.scale(e.finalSize/100,e.finalSize/100),p=this.createPathShape(m,f),u.setAttribute("d",p)),this.isMasked)this.innerElem.appendChild(u);else{if(this.innerElem.appendChild(d),y&&y.shapes){document.body.appendChild(g);var b=g.getBBox();g.setAttribute("width",b.width+2),g.setAttribute("height",b.height+2),g.setAttribute("viewBox",b.x-1+" "+(b.y-1)+" "+(b.width+2)+" "+(b.height+2));var v=g.style,C="translate("+(b.x-1)+"px,"+(b.y-1)+"px)";v.transform=C,v.webkitTransform=C,l[o].yOffset=b.y-1}else g.setAttribute("width",1),g.setAttribute("height",1);d.appendChild(g)}}else if(u.textContent=l[o].val,u.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(u);else{this.innerElem.appendChild(d);var S=u.style,T="translate3d(0,"+-e.finalSize/1.2+"px,0)";S.transform=T,S.webkitTransform=T}this.isMasked?this.textSpans[h]=u:this.textSpans[h]=d,this.textSpans[h].style.display="block",this.textPaths[h]=u,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,l,u;for(n=0;n<r;n+=1)o[n].n?i+=1:(l=this.textSpans[n],u=this.textPaths[n],s=a[i],i+=1,s._mdf.m&&(this.isMasked?l.setAttribute("transform",s.m):(l.style.webkitTransform=s.m,l.style.transform=s.m)),l.style.opacity=s.o,s.sw&&s._mdf.sw&&u.setAttribute("stroke-width",s.sw),s.sc&&s._mdf.sc&&u.setAttribute("stroke",s.sc),s.fc&&s._mdf.fc&&(u.setAttribute("fill",s.fc),u.style.color=s.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var d=this.innerElem.getBBox();this.currentBBox.w!==d.width&&(this.currentBBox.w=d.width,this.svgElement.setAttribute("width",d.width)),this.currentBBox.h!==d.height&&(this.currentBBox.h=d.height,this.svgElement.setAttribute("height",d.height));var g=1;if(this.currentBBox.w!==d.width+g*2||this.currentBBox.h!==d.height+g*2||this.currentBBox.x!==d.x-g||this.currentBBox.y!==d.y-g){this.currentBBox.w=d.width+g*2,this.currentBBox.h=d.height+g*2,this.currentBBox.x=d.x-g,this.currentBBox.y=d.y-g,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var m="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=m,e.webkitTransform=m}}}};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]),l=Math.atan2(o[1],s),u=Math.atan2(o[0],-o[2]);this.mat.rotateY(u).rotateX(-l)}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 d=!this._prevMat.equals(this.mat);if((d||this.pe._mdf)&&this.comp.threeDElements){n=this.comp.threeDElements.length;var g,m,f;for(t=0;t<n;t+=1)if(g=this.comp.threeDElements[t],g.type==="3d"){if(d){var p=this.mat.toCSS();f=g.container.style,f.transform=p,f.webkitTransform=p}this.pe._mdf&&(m=g.perspectiveElem.style,m.perspective=this.pe.v+"px",m.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 l={container:a,perspectiveElem:n,startPos:e,endPos:e,type:t};return this.threeDElements.push(l),l},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 l=this.resizerElem.style;l.webkitTransform="matrix3d("+i+",0,0,0,0,"+a+",0,0,0,0,1,0,"+o+","+s+",0,1)",l.transform=l.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),l=t.pow(2,a),u=l*2,d=r-1,g;function m(v,C,S){var T=[];C=C===!0?{entropy:!0}:C||{};var w=x(h(C.entropy?[v,b(e)]:v===null?y():v,3),T),E=new f(T),k=function(){for(var D=E.g(i),U=s,B=0;D<l;)D=(D+B)*r,U*=r,B=E.g(1);for(;D>=u;)D/=2,U/=2,B>>>=1;return(D+B)/U};return k.int32=function(){return E.g(4)|0},k.quick=function(){return E.g(4)/4294967296},k.double=k,x(b(E.S),e),(C.pass||S||function(D,U,B,P){return P&&(P.S&&p(P,E),D.state=function(){return p(E,{})}),B?(t[o]=D,U):D})(k,w,"global"in C?C.global:this==t,C.state)}t["seed"+o]=m;function f(v){var C,S=v.length,T=this,w=0,E=T.i=T.j=0,k=T.S=[];for(S||(v=[S++]);w<r;)k[w]=w++;for(w=0;w<r;w++)k[w]=k[E=d&E+v[w%S]+(C=k[w])],k[E]=C;T.g=function(D){for(var U,B=0,P=T.i,O=T.j,F=T.S;D--;)U=F[P=d&P+1],B=B*r+F[d&(F[P]=F[O=d&O+U])+(F[O]=U)];return T.i=P,T.j=O,B}}function p(v,C){return C.i=v.i,C.j=v.j,C.S=v.S.slice(),C}function h(v,C){var S=[],T=_typeof$2(v),w;if(C&&T=="object")for(w in v)try{S.push(h(v[w],C-1))}catch{}return S.length?S:T=="string"?v:v+"\0"}function x(v,C){for(var S=v+"",T,w=0;w<S.length;)C[d&w]=d&(T^=C[d&w]*19)+S.charCodeAt(w++);return b(C)}function y(){try{if(g)return b(g.randomBytes(r));var v=new Uint8Array(r);return(n.crypto||n.msCrypto).getRandomValues(v),b(v)}catch{var C=n.navigator,S=C&&C.plugins;return[+new Date,n,S,n.screen,b(e)]}}function b(v){return String.fromCharCode.apply(0,v)}x(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,l=(i+a)/2;if(i===a)o=0,s=0;else{var u=i-a;switch(s=l>.5?u/(2-i-a):u/(i+a),i){case t:o=(n-r)/u+(n<r?6:0);break;case n:o=(r-t)/u+2;break;case r:o=(t-n)/u+4;break;default:break}o/=6}return[o,s,l,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,l=2*r-s;i=hue2rgb(l,s,t+1/3),a=hue2rgb(l,s,t),o=hue2rgb(l,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,l=r.length,u=createTypedArray("float32",l);for(s=0;s<l;s+=1)u[s]=r[s]+(i[s]-r[s])*o;return u}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],l,u;for(i=0;i<a;i+=1)l=t&&t[i]?t[i]:s,u=n&&n[i]?n[i]:s,o.setTripleAt(e[i][0],e[i][1],u[0]+e[i][0],u[1]+e[i][1],l[0]+e[i][0],l[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 l=time*t,u=l-Math.floor(l),d=createTypedArray("float32",a);if(a>1){for(i=0;i<a;i+=1)d[i]=this.pv[i]+o[i]+(-n+n*2*BMMath.random())*u;return d}return this.pv+o[0]+(-n+n*2*BMMath.random())*u}.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,l=i.length,u=createTypedArray("float32",l);for(s=0;s<l;s+=1)u[s]=(a[s]-i[s])*o+i[s];return u}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&&l()}function s(u){i.indexOf(u)===-1&&i.push(u)}function l(){var u,d=i.length;for(u=0;u<d;u+=1)i[u].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,l){Object.defineProperty(o,"velocity",{get:function(){return s.getVelocityAtTime(s.comp.currentFrame)}}),o.numKeys=s.keyframes?s.keyframes.length:0,o.key=function(u){if(!o.numKeys)return 0;var d="";"s"in s.keyframes[u-1]?d=s.keyframes[u-1].s:"e"in s.keyframes[u-2]?d=s.keyframes[u-2].e:d=s.keyframes[u-2].s;var g=l==="unidimensional"?new Number(d):Object.assign({},d);return g.time=s.keyframes[u-1].t/s.elem.comp.globalData.frameRate,g.value=l==="unidimensional"?d[0]:d,g},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,l=o.pv*s,u=new Number(l);return u.value=l,n(u,o,"unidimensional"),function(){return o.k&&o.getValue(),l=o.v*s,u.value!==l&&(u=new Number(l),u.value=l,n(u,o,"unidimensional")),u}}function i(o){(!o||!("pv"in o))&&(o=t);var s=1/o.mult,l=o.data&&o.data.l||o.pv.length,u=createTypedArray("float32",l),d=createTypedArray("float32",l);return u.value=d,n(u,o,"multidimensional"),function(){o.k&&o.getValue();for(var g=0;g<l;g+=1)d[g]=o.v[g]*s,u[g]=d[g];return u}}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(u){var d=new Matrix;if(u!==void 0){var g=this._elem.finalTransform.mProp.getValueAtTime(u);g.clone(d)}else{var m=this._elem.finalTransform.mProp;m.applyToMatrix(d)}return d}function t(u,d){var g=this.getMatrix(d);return g.props[12]=0,g.props[13]=0,g.props[14]=0,this.applyPoint(g,u)}function n(u,d){var g=this.getMatrix(d);return this.applyPoint(g,u)}function r(u,d){var g=this.getMatrix(d);return g.props[12]=0,g.props[13]=0,g.props[14]=0,this.invertPoint(g,u)}function i(u,d){var g=this.getMatrix(d);return this.invertPoint(g,u)}function a(u,d){if(this._elem.hierarchy&&this._elem.hierarchy.length){var g,m=this._elem.hierarchy.length;for(g=0;g<m;g+=1)this._elem.hierarchy[g].finalTransform.mProp.applyToMatrix(u)}return u.applyToPointArray(d[0],d[1],d[2]||0)}function o(u,d){if(this._elem.hierarchy&&this._elem.hierarchy.length){var g,m=this._elem.hierarchy.length;for(g=0;g<m;g+=1)this._elem.hierarchy[g].finalTransform.mProp.applyToMatrix(u)}return u.inversePoint(d)}function s(u){var d=new Matrix;if(d.reset(),this._elem.finalTransform.mProp.applyToMatrix(d),this._elem.hierarchy&&this._elem.hierarchy.length){var g,m=this._elem.hierarchy.length;for(g=0;g<m;g+=1)this._elem.hierarchy[g].finalTransform.mProp.applyToMatrix(d);return d.inversePoint(u)}return d.inversePoint(u)}function l(){return[1,1,1,1]}return function(u){var d;function g(h){f.mask=new MaskManagerInterface(h,u)}function m(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 d;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=l,f.sourceRectAtTime=u.sourceRectAtTime.bind(u),f._elem=u,d=TransformExpressionInterface(u.finalTransform.mProp);var p=getDescriptor(d,"anchorPoint");return Object.defineProperties(f,{hasParent:{get:function(){return u.hierarchy.length}},parent:{get:function(){return u.hierarchy[0].layerInterface}},rotation:getDescriptor(d,"rotation"),scale:getDescriptor(d,"scale"),position:getDescriptor(d,"position"),opacity:getDescriptor(d,"opacity"),anchorPoint:p,anchor_point:p,transform:{get:function(){return d}},active:{get:function(){return u.isInRange}}}),f.startTime=u.data.st,f.index=u.data.ind,f.source=u.data.refId,f.height=u.data.ty===0?u.data.h:100,f.width=u.data.ty===0?u.data.w:100,f.inPoint=u.data.ip/u.comp.globalData.frameRate,f.outPoint=u.data.op/u.comp.globalData.frameRate,f._name=u.data.nm,f.registerMaskInterface=g,f.registerEffectsInterface=m,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,l,u=i.effectsManager.effectElements.length;for(l=0;l<u;l+=1)o.push(n(s[l],i.effectsManager.effectElements[l],a,i));var d=i.data.ef||[],g=function(m){for(l=0,u=d.length;l<u;){if(m===d[l].nm||m===d[l].mn||m===d[l].ix)return o[l];l+=1}return null};return Object.defineProperty(g,"numProperties",{get:function(){return d.length}}),g}return null}function n(i,a,o,s){function l(f){for(var p=i.ef,h=0,x=p.length;h<x;){if(f===p[h].nm||f===p[h].mn||f===p[h].ix)return p[h].ty===5?d[h]:d[h]();h+=1}throw new Error}var u=propertyGroupFactory(l,o),d=[],g,m=i.ef.length;for(g=0;g<m;g+=1)i.ef[g].ty===5?d.push(n(i.ef[g],a.effectElements[g],a.effectElements[g].propertyGroup,s)):d.push(r(a.effectElements[g],i.ef[g].ty,s,u));return i.mn==="ADBE Color Control"&&Object.defineProperty(l,"color",{get:function(){return d[0]()}}),Object.defineProperties(l,{numProperties:{get:function(){return i.np}},_name:{value:i.nm},propertyGroup:{value:u}}),l.enabled=i.en!==0,l.active=l.enabled,l}function r(i,a,o,s){var l=ExpressionPropertyInterface(i.p);function u(){return a===10?o.comp.compInterface(i.p.v):l()}return i.p.setGroupProperty&&i.p.setGroupProperty(PropertyInterface("",s)),u}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,x){var y=[],b,v=p?p.length:0;for(b=0;b<v;b+=1)p[b].ty==="gr"?y.push(n(p[b],h[b],x)):p[b].ty==="fl"?y.push(r(p[b],h[b],x)):p[b].ty==="st"?y.push(o(p[b],h[b],x)):p[b].ty==="tm"?y.push(s(p[b],h[b],x)):p[b].ty==="tr"||(p[b].ty==="el"?y.push(u(p[b],h[b],x)):p[b].ty==="sr"?y.push(d(p[b],h[b],x)):p[b].ty==="sh"?y.push(ShapePathInterface(p[b],h[b],x)):p[b].ty==="rc"?y.push(g(p[b],h[b],x)):p[b].ty==="rd"?y.push(m(p[b],h[b],x)):p[b].ty==="rp"?y.push(f(p[b],h[b],x)):p[b].ty==="gf"?y.push(i(p[b],h[b],x)):y.push(a(p[b],h[b],x)));return y}function t(p,h,x){var y,b=function(C){for(var S=0,T=y.length;S<T;){if(y[S]._name===C||y[S].mn===C||y[S].propertyIndex===C||y[S].ix===C||y[S].ind===C)return y[S];S+=1}return typeof C=="number"?y[C-1]:null};b.propertyGroup=propertyGroupFactory(b,x),y=e(p.it,h.it,b.propertyGroup),b.numProperties=y.length;var v=l(p.it[p.it.length-1],h.it[h.it.length-1],b.propertyGroup);return b.transform=v,b.propertyIndex=p.cix,b._name=p.nm,b}function n(p,h,x){var y=function(C){switch(C){case"ADBE Vectors Group":case"Contents":case 2:return y.content;default:return y.transform}};y.propertyGroup=propertyGroupFactory(y,x);var b=t(p,h,y.propertyGroup),v=l(p.it[p.it.length-1],h.it[h.it.length-1],y.propertyGroup);return y.content=b,y.transform=v,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,x){function y(b){return b==="Color"||b==="color"?y.color:b==="Opacity"||b==="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",x)),h.o.setGroupProperty(PropertyInterface("Opacity",x)),y}function i(p,h,x){function y(b){return b==="Start Point"||b==="start point"?y.startPoint:b==="End Point"||b==="end point"?y.endPoint:b==="Opacity"||b==="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",x)),h.e.setGroupProperty(PropertyInterface("End Point",x)),h.o.setGroupProperty(PropertyInterface("Opacity",x)),y}function a(){function p(){return null}return p}function o(p,h,x){var y=propertyGroupFactory(w,x),b=propertyGroupFactory(T,y);function v(E){Object.defineProperty(T,p.d[E].nm,{get:ExpressionPropertyInterface(h.d.dataProps[E].p)})}var C,S=p.d?p.d.length:0,T={};for(C=0;C<S;C+=1)v(C),h.d.dataProps[C].p.setGroupProperty(b);function w(E){return E==="Color"||E==="color"?w.color:E==="Opacity"||E==="opacity"?w.opacity:E==="Stroke Width"||E==="stroke width"?w.strokeWidth:null}return Object.defineProperties(w,{color:{get:ExpressionPropertyInterface(h.c)},opacity:{get:ExpressionPropertyInterface(h.o)},strokeWidth:{get:ExpressionPropertyInterface(h.w)},dash:{get:function(){return T}},_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)),w}function s(p,h,x){function y(v){return v===p.e.ix||v==="End"||v==="end"?y.end:v===p.s.ix?y.start:v===p.o.ix?y.offset:null}var b=propertyGroupFactory(y,x);return y.propertyIndex=p.ix,h.s.setGroupProperty(PropertyInterface("Start",b)),h.e.setGroupProperty(PropertyInterface("End",b)),h.o.setGroupProperty(PropertyInterface("Offset",b)),y.propertyIndex=p.ix,y.propertyGroup=x,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 l(p,h,x){function y(v){return p.a.ix===v||v==="Anchor Point"?y.anchorPoint:p.o.ix===v||v==="Opacity"?y.opacity:p.p.ix===v||v==="Position"?y.position:p.r.ix===v||v==="Rotation"||v==="ADBE Vector Rotation"?y.rotation:p.s.ix===v||v==="Scale"?y.scale:p.sk&&p.sk.ix===v||v==="Skew"?y.skew:p.sa&&p.sa.ix===v||v==="Skew Axis"?y.skewAxis:null}var b=propertyGroupFactory(y,x);return h.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",b)),h.transform.mProps.p.setGroupProperty(PropertyInterface("Position",b)),h.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",b)),h.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",b)),h.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",b)),h.transform.mProps.sk&&(h.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",b)),h.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",b))),h.transform.op.setGroupProperty(PropertyInterface("Opacity",b)),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=x,y}function u(p,h,x){function y(C){return p.p.ix===C?y.position:p.s.ix===C?y.size:null}var b=propertyGroupFactory(y,x);y.propertyIndex=p.ix;var v=h.sh.ty==="tm"?h.sh.prop:h.sh;return v.s.setGroupProperty(PropertyInterface("Size",b)),v.p.setGroupProperty(PropertyInterface("Position",b)),Object.defineProperties(y,{size:{get:ExpressionPropertyInterface(v.s)},position:{get:ExpressionPropertyInterface(v.p)},_name:{value:p.nm}}),y.mn=p.mn,y}function d(p,h,x){function y(C){return p.p.ix===C?y.position:p.r.ix===C?y.rotation:p.pt.ix===C?y.points:p.or.ix===C||C==="ADBE Vector Star Outer Radius"?y.outerRadius:p.os.ix===C?y.outerRoundness:p.ir&&(p.ir.ix===C||C==="ADBE Vector Star Inner Radius")?y.innerRadius:p.is&&p.is.ix===C?y.innerRoundness:null}var b=propertyGroupFactory(y,x),v=h.sh.ty==="tm"?h.sh.prop:h.sh;return y.propertyIndex=p.ix,v.or.setGroupProperty(PropertyInterface("Outer Radius",b)),v.os.setGroupProperty(PropertyInterface("Outer Roundness",b)),v.pt.setGroupProperty(PropertyInterface("Points",b)),v.p.setGroupProperty(PropertyInterface("Position",b)),v.r.setGroupProperty(PropertyInterface("Rotation",b)),p.ir&&(v.ir.setGroupProperty(PropertyInterface("Inner Radius",b)),v.is.setGroupProperty(PropertyInterface("Inner Roundness",b))),Object.defineProperties(y,{position:{get:ExpressionPropertyInterface(v.p)},rotation:{get:ExpressionPropertyInterface(v.r)},points:{get:ExpressionPropertyInterface(v.pt)},outerRadius:{get:ExpressionPropertyInterface(v.or)},outerRoundness:{get:ExpressionPropertyInterface(v.os)},innerRadius:{get:ExpressionPropertyInterface(v.ir)},innerRoundness:{get:ExpressionPropertyInterface(v.is)},_name:{value:p.nm}}),y.mn=p.mn,y}function g(p,h,x){function y(C){return p.p.ix===C?y.position:p.r.ix===C?y.roundness:p.s.ix===C||C==="Size"||C==="ADBE Vector Rect Size"?y.size:null}var b=propertyGroupFactory(y,x),v=h.sh.ty==="tm"?h.sh.prop:h.sh;return y.propertyIndex=p.ix,v.p.setGroupProperty(PropertyInterface("Position",b)),v.s.setGroupProperty(PropertyInterface("Size",b)),v.r.setGroupProperty(PropertyInterface("Rotation",b)),Object.defineProperties(y,{position:{get:ExpressionPropertyInterface(v.p)},roundness:{get:ExpressionPropertyInterface(v.r)},size:{get:ExpressionPropertyInterface(v.s)},_name:{value:p.nm}}),y.mn=p.mn,y}function m(p,h,x){function y(C){return p.r.ix===C||C==="Round Corners 1"?y.radius:null}var b=propertyGroupFactory(y,x),v=h;return y.propertyIndex=p.ix,v.rd.setGroupProperty(PropertyInterface("Radius",b)),Object.defineProperties(y,{radius:{get:ExpressionPropertyInterface(v.rd)},_name:{value:p.nm}}),y.mn=p.mn,y}function f(p,h,x){function y(C){return p.c.ix===C||C==="Copies"?y.copies:p.o.ix===C||C==="Offset"?y.offset:null}var b=propertyGroupFactory(y,x),v=h;return y.propertyIndex=p.ix,v.c.setGroupProperty(PropertyInterface("Copies",b)),v.o.setGroupProperty(PropertyInterface("Offset",b)),Object.defineProperties(y,{copies:{get:ExpressionPropertyInterface(v.c)},offset:{get:ExpressionPropertyInterface(v.o)},_name:{value:p.nm}}),y.mn=p.mn,y}return function(p,h,x){var y;function b(C){if(typeof C=="number")return C=C===void 0?1:C,C===0?x:y[C-1];for(var S=0,T=y.length;S<T;){if(y[S]._name===C)return y[S];S+=1}return null}function v(){return x}return b.propertyGroup=propertyGroupFactory(b,v),y=e(p,h,b.propertyGroup),b.numProperties=y.length,b._name="Contents",b}}(),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 l=s.indexOf(r);if(l!==-1){var u=parseInt(s.substr(l+r.length),10);return i=i[u],_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,l){s.x&&(l.k=!0,l.x=!0,l.initiateExpression=ExpressionManager.initiateExpression,l.effectsSequence.push(l.initiateExpression(o,s,l).bind(l)))}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,l=this.getValueAtTime(o),u=this.getValueAtTime(o+s),d=0;if(l.length){var g;for(g=0;g<l.length;g+=1)d+=Math.pow(u[g]-l[g],2);d=Math.sqrt(d)*100}else d=0;return d}function r(o){if(this.vel!==void 0)return this.vel;var s=-.001,l=this.getValueAtTime(o),u=this.getValueAtTime(o+s),d;if(l.length){d=createTypedArray("float32",l.length);var g;for(g=0;g<l.length;g+=1)d[g]=(u[g]-l[g])/s}else d=(u-l)/s;return d}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(m,f,p){if(!this.k||!this.keyframes)return this.pv;m=m?m.toLowerCase():"";var h=this.comp.renderedFrame,x=this.keyframes,y=x[x.length-1].t;if(h<=y)return this.pv;var b,v;p?(f?b=Math.abs(y-this.elem.comp.globalData.frameRate*f):b=Math.max(0,y-this.elem.data.ip),v=y-b):((!f||f>x.length-1)&&(f=x.length-1),v=x[x.length-1-f].t,b=y-v);var C,S,T;if(m==="pingpong"){var w=Math.floor((h-v)/b);if(w%2!==0)return this.getValueAtTime((b-(h-v)%b+v)/this.comp.globalData.frameRate,0)}else if(m==="offset"){var E=this.getValueAtTime(v/this.comp.globalData.frameRate,0),k=this.getValueAtTime(y/this.comp.globalData.frameRate,0),D=this.getValueAtTime(((h-v)%b+v)/this.comp.globalData.frameRate,0),U=Math.floor((h-v)/b);if(this.pv.length){for(T=new Array(E.length),S=T.length,C=0;C<S;C+=1)T[C]=(k[C]-E[C])*U+D[C];return T}return(k-E)*U+D}else if(m==="continue"){var B=this.getValueAtTime(y/this.comp.globalData.frameRate,0),P=this.getValueAtTime((y-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(T=new Array(B.length),S=T.length,C=0;C<S;C+=1)T[C]=B[C]+(B[C]-P[C])*((h-y)/this.comp.globalData.frameRate)/5e-4;return T}return B+(B-P)*((h-y)/.001)}return this.getValueAtTime(((h-v)%b+v)/this.comp.globalData.frameRate,0)}function t(m,f,p){if(!this.k)return this.pv;m=m?m.toLowerCase():"";var h=this.comp.renderedFrame,x=this.keyframes,y=x[0].t;if(h>=y)return this.pv;var b,v;p?(f?b=Math.abs(this.elem.comp.globalData.frameRate*f):b=Math.max(0,this.elem.data.op-y),v=y+b):((!f||f>x.length-1)&&(f=x.length-1),v=x[f].t,b=v-y);var C,S,T;if(m==="pingpong"){var w=Math.floor((y-h)/b);if(w%2===0)return this.getValueAtTime(((y-h)%b+y)/this.comp.globalData.frameRate,0)}else if(m==="offset"){var E=this.getValueAtTime(y/this.comp.globalData.frameRate,0),k=this.getValueAtTime(v/this.comp.globalData.frameRate,0),D=this.getValueAtTime((b-(y-h)%b+y)/this.comp.globalData.frameRate,0),U=Math.floor((y-h)/b)+1;if(this.pv.length){for(T=new Array(E.length),S=T.length,C=0;C<S;C+=1)T[C]=D[C]-(k[C]-E[C])*U;return T}return D-(k-E)*U}else if(m==="continue"){var B=this.getValueAtTime(y/this.comp.globalData.frameRate,0),P=this.getValueAtTime((y+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(T=new Array(B.length),S=T.length,C=0;C<S;C+=1)T[C]=B[C]+(B[C]-P[C])*(y-h)/.001;return T}return B+(B-P)*(y-h)/.001}return this.getValueAtTime((b-((y-h)%b+y))/this.comp.globalData.frameRate,0)}function n(m,f){if(!this.k)return this.pv;if(m=(m||.4)*.5,f=Math.floor(f||5),f<=1)return this.pv;var p=this.comp.renderedFrame/this.comp.globalData.frameRate,h=p-m,x=p+m,y=f>1?(x-h)/(f-1):1,b=0,v=0,C;this.pv.length?C=createTypedArray("float32",this.pv.length):C=0;for(var S;b<f;){if(S=this.getValueAtTime(h+b*y),this.pv.length)for(v=0;v<this.pv.length;v+=1)C[v]+=S[v];else C+=S;b+=1}if(this.pv.length)for(v=0;v<this.pv.length;v+=1)C[v]/=f;else C/=f;return C}function r(m){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(m);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(m);f.scale(h[0]*this.s.mult,h[1]*this.s.mult,h[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var x=this.sk.getValueAtTime(m),y=this.sa.getValueAtTime(m);f.skewFromAxis(-x*this.sk.mult,y*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var b=this.r.getValueAtTime(m);f.rotate(-b*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var v=this.rz.getValueAtTime(m),C=this.ry.getValueAtTime(m),S=this.rx.getValueAtTime(m),T=this.or.getValueAtTime(m);f.rotateZ(-v*this.rz.mult).rotateY(C*this.ry.mult).rotateX(S*this.rx.mult).rotateZ(-T[2]*this.or.mult).rotateY(T[1]*this.or.mult).rotateX(T[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var w=this.px.getValueAtTime(m),E=this.py.getValueAtTime(m);if(this.data.p.z){var k=this.pz.getValueAtTime(m);f.translate(w*this.px.mult,E*this.py.mult,-k*this.pz.mult)}else f.translate(w*this.px.mult,E*this.py.mult,0)}else{var D=this.p.getValueAtTime(m);f.translate(D[0]*this.p.mult,D[1]*this.p.mult,-D[2]*this.p.mult)}return f}function i(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(m,f,p){var h=a(m,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(m,f,p,h,x){var y=o(m,f,p,h,x);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 b=0;return p!==0&&(b=createTypedArray("float32",f.a===1?f.k[0].s.length:f.k.length)),y._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:b},expressionHelpers.searchExpressions(m,f,y),y.k&&x.addDynamicProperty(y),y};function s(m){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),m*=this.elem.globalData.frameRate,m-=this.offsetTime,m!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<m?this._caching.lastIndex:0,this._cachingAtTime.lastTime=m,this.interpolateShape(m,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var l=ShapePropertyFactory.getConstructorFunction(),u=ShapePropertyFactory.getKeyframedConstructorFunction();function d(){}d.prototype={vertices:function(m,f){this.k&&this.getValue();var p=this.v;f!==void 0&&(p=this.getValueAtTime(f,0));var h,x=p._length,y=p[m],b=p.v,v=createSizedArray(x);for(h=0;h<x;h+=1)m==="i"||m==="o"?v[h]=[y[h][0]-b[h][0],y[h][1]-b[h][1]]:v[h]=[y[h][0],y[h][1]];return v},points:function(m){return this.vertices("v",m)},inTangents:function(m){return this.vertices("i",m)},outTangents:function(m){return this.vertices("o",m)},isClosed:function(){return this.v.c},pointOnPath:function(m,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,x=h.lengths,y=h.totalLength*m,b=0,v=x.length,C=0,S;b<v;){if(C+x[b].addedLength>y){var T=b,w=p.c&&b===v-1?0:b+1,E=(y-C)/x[b].addedLength;S=bez.getPointInSegment(p.v[T],p.v[w],p.o[T],p.i[w],E,x[b]);break}else C+=x[b].addedLength;b+=1}return S||(S=p.c?[p.v[0][0],p.v[0][1]]:[p.v[p._length-1][0],p.v[p._length-1][1]]),S},vectorOnPath:function(m,f,p){m==1?m=this.v.c:m==0&&(m=.999);var h=this.pointOnPath(m,f),x=this.pointOnPath(m+.001,f),y=x[0]-h[0],b=x[1]-h[1],v=Math.sqrt(Math.pow(y,2)+Math.pow(b,2));if(v===0)return[0,0];var C=p==="tangent"?[y/v,b/v]:[-b/v,y/v];return C},tangentOnPath:function(m,f){return this.vectorOnPath(m,f,"tangent")},normalOnPath:function(m,f){return this.vectorOnPath(m,f,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([d],l),extendPrototype([d],u),u.prototype.getValueAtTime=s,u.prototype.initiateExpression=ExpressionManager.initiateExpression;var g=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(m,f,p,h,x){var y=g(m,f,p,h,x);return y.propertyIndex=f.ix,y.lock=!1,p===3?expressionHelpers.searchExpressions(m,f.pt,y):p===4&&expressionHelpers.searchExpressions(m,f.ks,y),y.k&&m.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,l=i.getTotalLength();a="0 0 0 "+l*o+" ";var u=l*(s-o),d=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,g=Math.floor(u/d),m;for(m=0;m<g;m+=1)a+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+l*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 l=createNS("feFuncB");l.setAttribute("type","table"),a.appendChild(l),this.feFuncB=l,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,l=Math.min(e,t),u=Math.max(e,t),d=Array.call(null,{length:o}),g,m=0,f=i-r,p=t-e;a<=256;)s=a/256,s<=l?g=p<0?i:r:s>=u?g=p<0?r:i:g=r+f*Math.pow((s-e)/p,1/n),d[m]=g,m+=1,a+=256/(o-1);return d.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 l=createNS("feOffset");l.setAttribute("dx","25"),l.setAttribute("dy","0"),l.setAttribute("in",r+"_drop_shadow_1"),l.setAttribute("result",r+"_drop_shadow_2"),this.feOffset=l,e.appendChild(l);var u=createNS("feFlood");u.setAttribute("flood-color","#00ff00"),u.setAttribute("flood-opacity","1"),u.setAttribute("result",r+"_drop_shadow_3"),this.feFlood=u,e.appendChild(u);var d=createNS("feComposite");d.setAttribute("in",r+"_drop_shadow_3"),d.setAttribute("in2",r+"_drop_shadow_2"),d.setAttribute("operator","in"),d.setAttribute("result",r+"_drop_shadow_4"),e.appendChild(d);var g=this.createMergeNode(r,[r+"_drop_shadow_4",i]);e.appendChild(g)}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,l=t[6].p.v,u=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(-u*degToRads),this.matrix.skewFromAxis(-s*degToRads,(l+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})}),dF={};Doe(dF,{default:()=>Jc});var Roe=uF(cF());Poe(dF,uF(cF()));var{default:lF,...Noe}=Roe,Jc=lF!==void 0?lF:Noe;function xv({position:e}){let t=$(null),n=$(null),[r,i]=N(null);W(()=>{fetch(_.ARROW_ANIMATION_URL).then(o=>o.json()).then(o=>i(o)).catch(o=>{})},[]),W(()=>(t.current&&r&&(n.current=Jc.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 c("div",{ref:t,style:{...a}})}function gF(){return c("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c("g",{"clip-path":"url(#clip0_2589_9951)",children:c("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"})}),c("defs",{children:c("clipPath",{id:"clip0_2589_9951",children:c("rect",{width:"14",height:"14",fill:"white"})})})]})}var Foe=`${z}-new-user-guide`;function Cv(){return c("img",{class:`${Foe}-img`,src:An("images/new_float_ball_intro.png")})}var Z1=`${z}-new-user-guide`;function Tv({ctx:e}){let{t}=H(),n=X(()=>{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 c("div",{class:`${Z1}-select-service-guide`,children:c("div",{class:`${Z1}-select-service-guide-card`,children:[c("div",{class:`${Z1}-max-model`,children:t("translationServicesGroup.pro")}),c("div",{class:`${Z1}-model-example`,children:[c("img",{src:Xt(n.type),class:"service-icon"}),n.name,c("img",{src:rr})]})]})})}function mF(e){return c("span",{class:"logo",dangerouslySetInnerHTML:{__html:Ac}})}function fF(){return c("span",{class:"logo",dangerouslySetInnerHTML:{__html:ND}})}function J1(){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",children:c("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 pF(){return c("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:c("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 hF(){return c("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:c("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 Ls(e){switch(e){case"aiSubtitle":return Sv;case"aiSubtitleGray":return Boe;case"aiSubtitleGradient":return Ooe;case"enableDualSubtitle":return wv;case"tempEnableSubtitle":return _oe;case"disableSubtitleQuickButton":return Uoe;case"download":return joe;case"setting":return zoe;case"aiSubtitleWhite":return Ev;case"aiLogo":return Hoe;case"upgradePro":return Voe;case"moreIcon":return Goe;default:return null}}var Sv="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAhCAMAAACP+FljAAAAM1BMVEUAAAD///////////////////////////////////////////////////////////////+3leKCAAAAEHRSTlMAIL+QQO+f3xDPMIB/YHBQT60aqwAAAOlJREFUOMutk4uOhCAMRVukgK/x/P/Xrq6uHTDsZpM5MYbmlkubgnycafL1kJ76AssdZJMHgJUfM9BWj4wj8VqPkDepGRj2Tw4CB2fg7Nsj4cr9JlR6ASnGWcSWYYxSsREO7/WMFCapSbxEXve5ltseDD06Mb3y6wo1XTUnSCotZTGY5W5g0aec9N0sr+JohlB1pAGy9xBu2VkzwRNuQyeGt4TpOEIbmayVYVukzUXe0dlHt7Syb0uyM7hZgxpx/2NROgznsJL0WM9xb9KjYEWgSJdAjIw91S+t07n2fYoB8hszzH8+3n/yBfqyCgkfyi+kAAAAAElFTkSuQmCC",Boe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAhCAMAAACP+FljAAAAM1BMVEUAAACZmZmXl5eZmZmZmZmfn5+ampqampqZmZmYmJiXl5ebm5uampqZmZmZmZmfn5+ZmZl4mi+/AAAAEHRSTlMA7yDfkBC/n0AwgH/PYFAgrvShjAAAALxJREFUOMutk1kOwyAMRDGEfenc/7SNShIChi5S35etGeFFRvwd71u8Wa5HIF6JIm4AQPp8DHiMusOOO+IEqDIYNuxsr9AANelI2DHNW5OGxovaRFFAcqKjVEOumQS86LF9XVLjDFQNJA9/36G0uLBSjOhIuBMlkwdUvr+uMEG1GQymmO8Nfl7i3mdmFgq630JYyutFccu5ajeV2w1YsSJXQ+EKPxhO21haqe1oGezsl2gCIN4RgPDx8/7IE9BlEx/CVE0ZAAAAAElFTkSuQmCC",Ooe="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",wv="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAhBAMAAABKCLRiAAAAMFBMVEUAAAD///////////////////////////////////////////////////////////87TQQwAAAAD3RSTlMAYJ8g779A3xBQMICvkHCegVoAAAAAsElEQVQoz2OgDZj/HwK+wQTkg5RAQPUjXEAATDGSJGA0wWgCioC+g74DioD8BfkLDMzCKGYkCkKAAUzgPxQowAS+QhTIgwUUpRoTPkG084MF/v+pVwAK8HyECnTK/fcGqbAvhQowMH81YAAKiOQ3QAUYDBhAAjFLHsAEGEACzN9LAlAEGB3YfqAIcC3gyEARAAOEwHdQKEop6cMF6kEe+fL//waU8N//Gy1CmCOpFLMA29pG32KDHGQAAAAASUVORK5CYII=",_oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAhBAMAAABKCLRiAAAAMFBMVEUAAAD///////////////////////////////////////////////////////////87TQQwAAAAD3RSTlMA33AwIJ+QYO+/QM+vUF8sNn2gAAAAvUlEQVQoz2OgHjBKDVNG5mv/BwJxBH/h/0lXrDT/i8D4TP+PgCjX/wpQAf12CF3xCUKz/DCAMJj7F4Bpxu8wvfUCECoAJsAD0SPvABNg+Q3W+RNh/3wDkKWfEAL6IIvZfiEE7icACdbPDGyCYJDA4B8AEviCELAHCbD9RWhZn4BhKDZrGfYjHPYRou4ATIAV4ivGf2ie40J43wE1gF58ggdhCIjygQchg+P/SYt9Nf9LIewvBEXDJoyIIhcAAKgUPDyrfUqvAAAAAElFTkSuQmCC",Uoe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAhCAYAAAC4JqlRAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAF6SURBVHgB7VZtkYQwDI0EJCDhJFQCEnBwOKAOWAfg4CSchJNQCSsh1+yGIXRJKD3u1/JmOgMhycsXbQEuXLjwz0DEz7hqOAPRURVXF9dXXAEXBJa1kiw+9/z9B/4CJiZnd0F6Z2IZCOGWkJPeB5QiGjtBQs48yRS97mzyXmZGlThg8yDPsclx5ApsiLzm6vVwBMJRwI0JxmUYxzm4rbKLADA7iKjY7JBLp5NGnujPw+v2yKVzp+hkkwsbJ3QqK4CRFb3yvbXIOYFGsb2x7ghG9o/Sgx7gZJBXXJ1Rsa3M6rKTufeV4qTZImeZMzOEVftqMDIkDIaTF3KWjyxvd+zUAOcyqROrlJ0yH6zqieoE3DuYcD2xtUEu/xjVeaLXQA7wud8T/BY5yxouO61OyVySezgCNAYu097h0k4PJSgh57kYRGs8lEDp+TeK/T/Rd7i+MwTMPMS0AKak5x2uLyQzScDXi4rH0mM4CaJO3/G5HWtXsu4U4gsX3gq/vOH2NobgJXcAAAAASUVORK5CYII=",joe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAhBAMAAABKCLRiAAAAIVBMVEUAAAD////////////////////////////////////////PIev5AAAACnRSTlMA3yCfgO8wYHAQZqjsxgAAAHZJREFUKM9joCVgFKCxQHp5EURAHcgAAalVyyECVauWggWWurhBBFJcosACCxkY2BIYBdgSgIphAlPDGAVSg5AEWJYmikU5IAkweIWGLmFAFmBZtcoBSQCkBKgARYDFAVkADGgtoAQHEIFVSAAs0GwMBxZkxSkAgCMnSlrtVzsAAAAASUVORK5CYII=",zoe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAhCAMAAACP+FljAAAANlBMVEUAAAD////////////////////////////////////////////////////////////////////xY8b8AAAAEXRSTlMA358gQHDvvxCAYJBQoM+vMJFLxksAAAEESURBVDjLzZPNdoQgDIUJ+UNwdO77v2wFlGqd6aKLnvlWIeeaXBMIn4bGhr4VYOe9gHiDXgl4TiEIqMaEHELKfBFEkDqw1ngBXA0eTmQYAJd+EgJgkJOAIOzT93nyZ+03UMRwY8X4ggm7o6Qx5iNrlvawYOFDuUHcxT5KCIHmbqWIPECptjXYPHo8momM2AvWWT9QUhjMmFpOWsGmm5DPc3glmMMglZZTlD7V3NSRRwODadURokgBtSSB5JgbPN1/kxeUo4MZH2Zi1N08V+UosYYbEXpZ1vO6LG7LGggMGKbE27pzOOEwdWDpa4Qr/Vgw51THRXu/zfjMv1zav1/78XD+ly+y0Qt58+Tj8AAAAABJRU5ErkJggg==",Ev="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAYBAMAAAD9m0v1AAAAKlBMVEUAAAD///////////////////////////////////////////////////+Gu8ovAAAADXRSTlMAvyCfkEDfEO/Pr3Bg1Fi/JwAAAI1JREFUGNNjQAB2BRjDpYCBgdkByuO5u4GBgTMBymO8K8DAtPYyVCnv3XYGtrt3oZKxd68yMNnegsr53r3CwMA2Aaov9+5FBgYWAwgn8O7du6kMTAVQDggYQWSUgUwEVxbKu4jKQ1eJ4IrC/BIG50C1XgPTCJeBAMLVCFBx9wKYRvgWAbjvHgDTiFDCBACAxkeXrLp71wAAAABJRU5ErkJggg==",Hoe="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=",Voe="data:image/svg+xml;base64, ",Goe="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuMDc4OTcgOS4xNjY2N0MzLjc3OTgxIDkuMTY2NjcgMy41MjUyMiA5LjA2MDE0IDMuMzE1MjIgOC44NDcwOEMzLjEwNTA4IDguNjM0MDMgMy4wMDAwMiA4LjM3Nzk5IDMuMDAwMDIgOC4wNzg5NkMzLjAwMDAyIDcuNzc5NzkgMy4xMDY1NCA3LjUyNTIxIDMuMzE5NiA3LjMxNTIxQzMuNTMyNjUgNy4xMDUwNyAzLjc4ODcgNyA0LjA4NzcyIDdDNC4zODY4OSA3IDQuNjQxNTQgNy4xMDY1MyA0Ljg1MTY4IDcuMzE5NThDNS4wNjE2OCA3LjUzMjY0IDUuMTY2NjggNy43ODg2OCA1LjE2NjY4IDguMDg3NzFDNS4xNjY2OCA4LjM4Njg3IDUuMDYwMTUgOC42NDE0NiA0Ljg0NzEgOC44NTE0NkM0LjYzNDE4IDkuMDYxNiA0LjM3ODE0IDkuMTY2NjcgNC4wNzg5NyA5LjE2NjY3Wk04LjM4NjY4IDkuMTY2NjdDOC4wODc1MiA5LjE2NjY3IDcuODMyOTMgOS4wNjAxNCA3LjYyMjkzIDguODQ3MDhDNy40MTI3OSA4LjYzNDAzIDcuMzA3NzIgOC4zNzc5OSA3LjMwNzcyIDguMDc4OTZDNy4zMDc3MiA3Ljc3OTc5IDcuNDE0MjUgNy41MjUyMSA3LjYyNzMxIDcuMzE1MjFDNy44NDAzNiA3LjEwNTA3IDguMDk2NCA3IDguMzk1NDMgN0M4LjY5NDYgNyA4Ljk0OTE4IDcuMTA2NTMgOS4xNTkxOCA3LjMxOTU4QzkuMzY5MzIgNy41MzI2NCA5LjQ3NDM5IDcuNzg4NjggOS40NzQzOSA4LjA4NzcxQzkuNDc0MzkgOC4zODY4NyA5LjM2Nzg2IDguNjQxNDYgOS4xNTQ4MSA4Ljg1MTQ2QzguOTQxNzUgOS4wNjE2IDguNjg1NzEgOS4xNjY2NyA4LjM4NjY4IDkuMTY2NjdaTTEyLjY5NDQgOS4xNjY2N0MxMi4zOTUyIDkuMTY2NjcgMTIuMTQwNiA5LjA2MDE0IDExLjkzMDQgOC44NDcwOEMxMS43MjA0IDguNjM0MDMgMTEuNjE1NCA4LjM3Nzk5IDExLjYxNTQgOC4wNzg5NkMxMS42MTU0IDcuNzc5NzkgMTEuNzIyIDcuNTI1MjEgMTEuOTM1IDcuMzE1MjFDMTIuMTQ3OSA3LjEwNTA3IDEyLjQwNCA3IDEyLjcwMzEgN0MxMy4wMDIzIDcgMTMuMjU2OSA3LjEwNjUzIDEzLjQ2NjkgNy4zMTk1OEMxMy42NzcgNy41MzI2NCAxMy43ODIxIDcuNzg4NjggMTMuNzgyMSA4LjA4NzcxQzEzLjc4MjEgOC4zODY4NyAxMy42NzU2IDguNjQxNDYgMTMuNDYyNSA4Ljg1MTQ2QzEzLjI0OTUgOS4wNjE2IDEyLjk5MzQgOS4xNjY2NyAxMi42OTQ0IDkuMTY2NjdaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K";function yF(){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:[c("g",{"clip-path":"url(#clip0_34626_16822)",children:[c("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"}),c("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"})]}),c("defs",{children:c("clipPath",{id:"clip0_34626_16822",children:c("rect",{width:"12",height:"12",fill:"white"})})})]})}var bF=`${z}-new-user-guide`;function Av(){let{t:e}=H();return c("div",{class:`${bF}-video-subtitle-guide`,children:c("div",{class:`${bF}-video-subtitle-guide-card`,children:c("div",{children:[c("img",{src:Ev,class:"service-icon"}),e("subtitle.quickButton.requestAiSubtitle")]})})})}var vF=`${z}-new-user-guide`;function kv(){let{t:e}=H();return c("div",{class:`${vF}-video-subtitle-guide`,children:c("div",{class:`${vF}-video-subtitle-guide-card`,children:[c("div",{children:[c("img",{src:wv,class:"service-icon"}),e("autoEnableSubtitle")]}),c(J1,{})]})})}var B0=`${z}-new-user-guide`,Woe={"video-subtitle":kv,"ai-subtitle":Av,"translate-service":Tv,"float-ball":Cv};function xF({onClose:e,position:t,arrowDirection:n,type:r,ctx:i}){let{t:a}=H(),o={"video-subtitle":a("userGuide.guideVideoSubtitle"),"ai-subtitle":a("userGuide.guideAiSubtitle"),"translate-service":a("userGuide.guideSelectTranslateService"),"float-ball":a("floatBall.guideClickToTranslate")},{top:s,left:l,right:u,bottom:d}=t,g=Woe[r],m=X(()=>{let f={position:"absolute"};return s&&(f.top=s),d&&(f.bottom=d),l&&(f.left=l),u&&(f.right=u),f},[s,d,l,u,n]);return c("div",{class:`${B0}-container`,style:m,children:[c("div",{class:`${B0}-close-icon`,onClick:e,children:c(gF,{})}),c("img",{class:`${B0}-bg ${n}`,src:qoe}),c("div",{class:`${B0}-content ${n}`,children:[c(g,{ctx:i}),c("div",{class:`${B0}-message text-red-500`,children:[o[r],Se().any&&r==="float-ball"?`
${a("floatBall.longPress")}`:""]})]}),c(xv,{position:n})]})}var qoe="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjc2IiBoZWlnaHQ9IjIyNCIgdmlld0JveD0iMCAwIDI3NiAyMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGZpbHRlcj0idXJsKCNmaWx0ZXIwX2RfMjg2MDBfMTUwMjcxKSI+CjxwYXRoIGQ9Ik0yMCAzNi4xMjg5QzIwIDI1LjA4MzIgMjguOTU0MyAxNi4xMjg5IDQwIDE2LjEyODlIMjM2QzI0Ny4wNDYgMTYuMTI4OSAyNTYgMjUuMDgzMiAyNTYgMzYuMTI4OVYxMDMuMTIyVjEwOC4wNjRWMTEzLjc0OVYxODBDMjU2IDE5MS4wNDYgMjQ3LjA0NiAyMDAgMjM2IDIwMEg0MEMyOC45NTQzIDIwMCAyMCAxOTEuMDQ2IDIwIDE4MFYzNi4xMjg5WiIgZmlsbD0idXJsKCNwYWludDBfbGluZWFyXzI4NjAwXzE1MDI3MSkiLz4KPC9nPgo8ZGVmcz4KPGZpbHRlciBpZD0iZmlsdGVyMF9kXzI4NjAwXzE1MDI3MSIgeD0iMCIgeT0iMC4xMjg5MDYiIHdpZHRoPSIyNzYiIGhlaWdodD0iMjIzLjg3MSIgZmlsdGVyVW5pdHM9InVzZXJTcGFjZU9uVXNlIiBjb2xvci1pbnRlcnBvbGF0aW9uLWZpbHRlcnM9InNSR0IiPgo8ZmVGbG9vZCBmbG9vZC1vcGFjaXR5PSIwIiByZXN1bHQ9IkJhY2tncm91bmRJbWFnZUZpeCIvPgo8ZmVDb2xvck1hdHJpeCBpbj0iU291cmNlQWxwaGEiIHR5cGU9Im1hdHJpeCIgdmFsdWVzPSIwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAxMjcgMCIgcmVzdWx0PSJoYXJkQWxwaGEiLz4KPGZlT2Zmc2V0IGR5PSI0Ii8+CjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjEwIi8+CjxmZUNvbXBvc2l0ZSBpbjI9ImhhcmRBbHBoYSIgb3BlcmF0b3I9Im91dCIvPgo8ZmVDb2xvck1hdHJpeCB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMC4xIDAiLz4KPGZlQmxlbmQgbW9kZT0ibm9ybWFsIiBpbjI9IkJhY2tncm91bmRJbWFnZUZpeCIgcmVzdWx0PSJlZmZlY3QxX2Ryb3BTaGFkb3dfMjg2MDBfMTUwMjcxIi8+CjxmZUJsZW5kIG1vZGU9Im5vcm1hbCIgaW49IlNvdXJjZUdyYXBoaWMiIGluMj0iZWZmZWN0MV9kcm9wU2hhZG93XzI4NjAwXzE1MDI3MSIgcmVzdWx0PSJzaGFwZSIvPgo8L2ZpbHRlcj4KPGxpbmVhckdyYWRpZW50IGlkPSJwYWludDBfbGluZWFyXzI4NjAwXzE1MDI3MSIgeDE9IjE0NS4zMzEiIHkxPSIxNi4xMjg5IiB4Mj0iMTQ1LjMzMSIgeTI9IjIwMCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgo8c3RvcCBzdG9wLWNvbG9yPSIjRkY5MkJDIi8+CjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0id2hpdGUiLz4KPC9saW5lYXJHcmFkaWVudD4KPC9kZWZzPgo8L3N2Zz4K";var $r=`${z}-new-user-guide`,CF=`
    .${$r}-container {
      width: 276px;
      height: 224px;
      z-index: ${qn};
    }

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

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

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


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

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

    .${$r}-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;
    }

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

    .${$r}-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;
    }


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


    .${$r}-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;
    }
    .${$r}-video-subtitle-guide-card div {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .${$r}-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;
    }

    .${$r}-button {
      margin-top: 16px;
      line-height: 40px;
      height: 40px;
      padding: 0 20px;
      width: unset;
    }
`;var O0=`${z}-new-user-guide-root`,Koe={"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 Iv(e,t){M.debug("openUserGuide",t);let n=setInterval(()=>{let{type:r,arrowDirection:i="right"}=t,a=Koe[r],o=Qe(a);if(!o)return;clearInterval(n);let{x:s,y:l,right:u,height:d}=o.getBoundingClientRect(),g=276,m=224+30,f=20,p=i==="right"?{top:l-m+d/2,left:s-g+f}:{top:l-m+d/2,right:globalThis.innerWidth-u-g+f};Qoe(e,{type:r,arrowDirection:i,position:p})},100)}function Qoe(e,t){Mv(O0),Dr({id:O0,parent:document.documentElement,ctx:e,Component:xF,props:{ctx:e,...t,onClose:()=>{Mv(O0)}},style:CF});let n=r=>{let i=document.querySelector(`#${O0}`);i&&r.target!==i&&Mv(O0)};document.removeEventListener("mousedown",n),document.addEventListener("mousedown",n)}function Mv(e){let t=document.querySelector(`#${e}`);t&&t.remove()}function Lv(e){let{type:t,arrowDirection:n="right"}=e;le.setValue("showUserGuide",{type:t,arrowDirection:n})}function TF(e){le.getValue("showUserGuide",null).then(async t=>{if(t){await rt(300);let{type:n,arrowDirection:r}=t;Iv(e,{type:n,arrowDirection:r}),le.remove("showUserGuide")}})}async function Dv({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 ph(e,t,r),r.forEach(async u=>{for(let d of i){a({text:t,translateText:"",service:u,targetLang:d,loading:!0});let g=null;t.split(`
`).filter(f=>!!f.trim()).length>1&&(g=await yh(e,u));let m={...e.rule,withAITitleBlockUrls:[".*"]};o.push(yi({...s,to:d},{...e,translationService:u,usageScene:"text_side",rule:m},{retry:1,contextTerms:g}).then(f=>{a({text:t,translateText:f.text,service:u,targetLang:d,loading:!1})}).catch(f=>{a({text:t,translateText:"",service:u,targetLang:d,loading:!1,error:f instanceof J?f:new J(f.code,f.message)})}))}}),await Promise.all(o)}function SF(){let e="side-footer-expand",[t,n]=N(()=>(localStorage.getItem(e)||"1")=="1");return W(()=>{localStorage.setItem(e,t?"1":"0")},[t]),{expand:t,setExpand:n}}function Pv(){let[e,t]=N(!1);return W(()=>{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 rt(1e3),await le.getUserToken()){location.reload();return}}})(),()=>{n=!0}},[e]),[e,t]}var wF={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 EF={rate:10,volume:100},Yoe={"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]},Zoe=[/^Google/i,/Enhanced/i,/Neural/i,/Natural/i],Rv=[];globalThis.speechSynthesis&&(Rv=speechSynthesis.getVoices(),globalThis.speechSynthesis.onvoiceschanged=()=>{Rv=speechSynthesis.getVoices()});function Joe(e,t){let n=e.filter(i=>i.lang===t);if(n.length===0)return null;let r=Yoe[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 Zoe){let a=n.find(o=>i.test(o.name));if(a)return a}return n[0]}var Xoe={WebSpeech:Nv,YouDao:$oe};function X1({provider:e,text:t,lang:n,onFinish:r,signal:i,onStart:a}){let o=EF.rate,s=EF.volume,l=Xoe[e??"WebSpeech"];return M.debug("[tts] call tts provider",e),M.debug("[tts] call tts text",t),M.debug("[tts] call tts lang",n),l({text:t,lang:n??"en",rate:o,volume:s,signal:i,onFinish:r,onStart:a})}function Nv({text:e,lang:t,rate:n,volume:r,signal:i,onFinish:a,onStart:o}){if(!globalThis.speechSynthesis){M.warn("[tts] Web Speech API is not supported in this browser.");return}let s=(n??10)/10,l=r?r/100:1,u=wF[t]??"en-US",d=new SpeechSynthesisUtterance;a&&d.addEventListener("end",a,{once:!0}),d.text=e,d.lang=t,d.rate=s,d.volume=l;let g=Joe(Rv,u);d.voice=g,i.addEventListener("abort",()=>{speechSynthesis.cancel()},{once:!0}),o?.(),speechSynthesis.speak(d)}async function $oe({text:e,lang:t,rate:n,volume:r,signal:i,onFinish:a,onStart:o}){let l=`https://dict.youdao.com/dictvoice?audio=${encodeURIComponent(e)}&type=2`;try{let u=await _e({url:l,method:"GET",responseType:"base64",timeout:3e3}),d=ji(u),g=URL.createObjectURL(d),m=new Audio(g);m.volume=r?r/100:1,m.playbackRate=(n??10)/10,m.play();let f=!1,p=!1,h=!1;m.addEventListener("canplay",()=>{f||(o?.(),f=!0)}),m.addEventListener("ended",()=>{a?.(),f=!1}),m.addEventListener("error",x=>{if(M.error("[tts]Audio error",x),h){f=!1,URL.revokeObjectURL(g);return}if(!f)return URL.revokeObjectURL(g),p=!0,Nv({text:e,lang:t??"en",rate:n,volume:r,onFinish:a,onStart:o,signal:i});f=!1}),i.addEventListener("abort",()=>{h=!0,!p&&(m.pause(),m.currentTime=0,m.src="",URL.revokeObjectURL(g))},{once:!0}),o?.()}catch(u){return M.error("[tts]Youdao TTS API error",u),Nv({text:e,lang:t??"en",rate:n,volume:r,onFinish:a,onStart:o,signal:i})}}function $1({count:e,maxCount:t=1,style:n}){return e<=t?null:c("div",{className:"langs-tag",style:n,children:c("div",{className:"langs-tag-inner",children:e-t})})}function e4({show:e,className:t,values:n,options:r,style:i,multiple:a=!1,hideSearch:o=!1,position:s,onClose:l,onChange:u,renderOption:d}){let{t:g}=H(),[m,f]=N({}),p=$(null),h=$(null),x=X(()=>r.filter(b=>{let v=p.current?.value.trim();return v?b.label?.includes(v)||b.value.includes(v):!0}),[r,p,m]),y=X(()=>{let b=r[0]?.label||"";for(let v of r)v.label&&v.label.length>b.length&&(b=v.label);return b},[r]);return W(()=>{if(e){let S=h.current?.getRootNode();S&&S.querySelectorAll(".imt-dropdown").forEach(T=>{T.style.display="none"})}if(h.current){let S=h.current.parentElement;if(S){let T=S.getBoundingClientRect(),w=T.left,E=T.right,k=100,D=globalThis.innerWidth,U=s;!U&&w-k<0?U="left":!U&&E+k>D&&(U="right"),U==="left"?h.current.style.left="0px":U==="right"&&(h.current.style.right="0px")}h.current.style.display=e?"flex":"none"}let b=()=>{l?.()},C=h.current?.getRootNode()||document;return C.addEventListener("click",b),()=>{C.removeEventListener("click",b)}},[e,l]),c("div",{ref:h,className:`imt-dropdown ${t??""}`,style:{zIndex:qn-10,...i},children:[!o&&c("div",{className:"imt-search-box",children:[c(Rh,{class:"imt-search-icon"}),c("input",{ref:p,type:"text",placeholder:g("searchPlaceholder"),onClick:b=>{b.stopPropagation()},onInput:b=>{b.stopPropagation(),f({})}})]}),c("ul",{children:[x.map(b=>c("li",{className:`${n.includes(b.value)?"active":""} ${b.disabled?"disabled":""}`,onClick:v=>{if(v.stopPropagation(),b.disabled)return;let C=[...n];if(!C.includes(b.value))a?C.push(b.value):C.unshift(b.value);else{if(a&&C.length<=1)return;C.splice(C.indexOf(b.value),1)}p.current&&(p.current.value=""),u([...new Set(C)]),a||l?.()},children:c("label",{className:"checkbox-label",value:b.value,style:{opacity:a&&n.length<=1&&n.includes(b.value)?.6:1,cursor:a&&n.length<=1&&n.includes(b.value)?"not-allowed":"pointer"},children:(()=>{let v=a&&!b.disableChecked&&c(ie,{children:[c("input",{type:"checkbox",checked:n.includes(b.value),disabled:a&&n.length<=1&&n.includes(b.value)}),c("span",{className:"checkbox-mark"})]}),C=b.label;return d?d(b,v,C):c(ie,{children:[v,C]})})()})},b.value)),c("li",{style:{opacity:0,height:1},children:c("label",{className:"checkbox-label",children:[a&&c(ie,{children:[c("input",{type:"checkbox"}),c("span",{className:"checkbox-mark"})]}),y]})})]})]})}function Fv({ctx:e,autoDetectLang:t,className:n,checkedLangs:r,popPosition:i,multiple:a=!1,onChange:o}){if(!e)return null;let[s,l]=N(!1),u=X(()=>{let m=Oi(Qn,12,e.config?.interfaceLanguage).filter(f=>!r.includes(f)).filter(f=>f!=="auto");return m=[...r,...m],t&&!m.find(f=>f==="auto")&&m.unshift("auto"),m.map(f=>({code:f,name:Et(f,e.config?.interfaceLanguage)}))},[e.config?.interfaceLanguage,t,r]),d=u.find(m=>r[0]===m.code)?.name,g=X(()=>!t||t==="auto"?"":Et(t,e.config?.interfaceLanguage),[t,e.config?.interfaceLanguage]);return c("div",{className:"select-languages",children:[c("div",{className:`select-languages-box ${n??""}`,onClick:m=>{m.stopPropagation(),l(!s)},children:[c("div",{className:"select-languages-text",children:(()=>g?`${g} ${g&&`- ${d}`}`:d)()}),c($1,{count:r.length,maxCount:1}),c(Hn,{class:"arrow-down"})]}),c(e4,{show:s,values:r,multiple:a,position:i,onClose:()=>l(!1),options:u.map(m=>({label:m.name,value:m.code})),onChange:m=>{o(m)}})]})}function AF({ctx:e,popPosition:t,className:n,serviceItems:r,groupServiceItems:i,checkedServices:a,onChange:o}){if(!e)return null;let{t:s}=H(),[l,u]=N(!1),d=r.filter(m=>a.includes(m.id)),g=X(()=>{let m=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 m.push({label:s("moreTranslationServices"),value:"more",icon:Xt("more"),disabled:!1,disableChecked:!0,onClick:()=>{Jr(!0,"#services",!1)}}),m},[i]);return c("div",{className:`select-services ${n??""}`,children:[c("div",{className:"select-services-box",onClick:m=>{m.stopPropagation(),u(!l)},children:[d.slice(0,3).map((m,f)=>c("div",{className:"service-icon",style:{zIndex:f,marginLeft:f>0?-6:0},children:c("img",{src:m.icon,className:"icon"})})),c($1,{count:a.length,maxCount:3,style:{zIndex:4,marginLeft:-6}}),c(Hn,{class:"arrow-down"})]}),c(e4,{show:l,hideSearch:!0,position:t,values:a,onClose:()=>u(!1),options:g,multiple:!0,renderOption:(m,f,p)=>m.disabled?c("div",{style:{width:"max-content",display:"flex",alignItems:"center"},children:p}):c("div",{style:{width:"max-content",display:"flex",alignItems:"center"},onClick:h=>{m.onClick&&(m.onClick?.(),u(!1))},children:[f,c("div",{className:"service-icon",style:{display:m.icon?"block":"none",marginRight:8},children:c("img",{src:m.icon})}),p,m.group==="pro"&&c("img",{src:rr,style:{marginBottom:-2,marginLeft:6,width:20,height:20}}),m.group==="max"&&c("img",{src:Ua,style:{marginBottom:-2,marginLeft:6,width:20,height:20}})]}),onChange:m=>{o(m)}})]})}function Bv(e,t){return Ok(e.config,"translationService",al(e.config,t))}function kF({ctx:e,selectServices:t,groupServiceItems:n,serviceItems:r,resultsRef:i,onTranslate:a}){let{t:o}=H(),s=$([]),l=$([]),u=$("auto"),d=$("auto"),g=$(null),[m,f]=N({}),p=re(()=>{let v=g.current?.value??"";Ie.local.set("lastTranslate",{services:l.current,langs:s.current,sourceLang:u.current,autoDetectLang:d.current,text:v}),f({})},[f]);W(()=>{if(!e)return;async function v(){let C=await Ie.local.get("lastTranslate");if(C)s.current=C.langs,l.current=Bv(e,C.services),u.current=C.sourceLang,d.current=C.autoDetectLang,g.current.value=C.text;else{s.current=[e.targetLanguage],l.current=[ia(e.config,"translationService",e.translationService)];let S=Bv(e,H2),T=ia(e.config,"translationService",e.translationService);S.includes(T)&&es(e,S.filter(w=>T!=w)).forEach(async w=>{await Cc([w],e)&&(l.current.push(w),p())})}p()}v()},[e]);let h=re(()=>{let v=u.current==="auto"?d.current:u.current;ae({key:"translateTextInSidePanel",ctx:e,params:{target_language:s.current.length>1?"multiple":s.current[0],translation_service:l.current.length>1?"multiple":l.current[0]}}),a(l.current,v,s.current,g.current?.value??""),p()},[a]);W(()=>{e&&l.current.length>t.length&&t.length&&(l.current=r.filter(v=>t.includes(v.id)).map(v=>v.id),p())},[e,r,t,l]);let x=(v,C=!1)=>{let S=u.current=="auto"?d.current:u.current,T=s.current[0];u.current=T,d.current="auto",s.current=[S=="auto"?e.config.interfaceLanguage:S];let w=i.current?.find(E=>E.targetLang===u.current&&E.service===l.current[0]);w&&!C&&(g.current.value=w.translateText),ae({key:"exchangeLangInSidePanel",ctx:e,params:{trigger:"manual"}}),p()},y=re(Dn(async v=>{if(u.current!="auto"&&!v)return;let C=u.current=="auto"?d.current:u.current;C=C=="auto"?e.config.targetLanguage:C;let S=g.current?.value??"";if(!S.trim()){u.current="auto",d.current="auto",p();return}let T=await Ze({text:S});if(T=="auto"){let w=await ls([S],!0);w&&w.length&&(T=w[0].lang)}if(d.current=T,v&&(u.current="auto"),s.current.includes(T)&&(!s.current.includes(C)||T==C)&&(s.current.splice(s.current.findIndex(w=>w==T),1),T!=C&&s.current.unshift(C),ae({key:"exchangeLangInSidePanel",ctx:e,params:{trigger:"auto"}})),s.current.length==0){let w="auto";T!=e.config.interfaceLanguage?w=e.config.interfaceLanguage:T=="en"?w="zh-CN":w="en",s.current=[w]}p(),v&&h()},200),[u,e.config.interfaceLanguage]);W(()=>{y();let v=()=>{setTimeout(()=>y(!0),0)},C=k=>{k.code==="Enter"&&(k.shiftKey||(k.preventDefault(),h()))},S=!1,T=()=>{S=!0},w=k=>{S=!1,y()},E=k=>{S||y()};return g.current?.addEventListener("compositionstart",T),g.current?.addEventListener("compositionend",w),g.current?.addEventListener("keydown",C),g.current?.addEventListener("paste",v),g.current?.addEventListener("input",E),()=>{g.current?.removeEventListener("compositionstart",T),g.current?.removeEventListener("compositionend",w),g.current?.removeEventListener("input",E),g.current?.removeEventListener("keydown",C),g.current?.removeEventListener("paste",v)}},[e,y]);let b=()=>{g.current.value="",y()};return c("div",{className:"translate-area",children:[c(AF,{ctx:e,popPosition:"left",serviceItems:r,checkedServices:l.current,groupServiceItems:n,onChange:v=>{l.current=v,p()}}),c("div",{className:"translate-main",children:[c("header",{children:[c(Fv,{ctx:e,popPosition:"left",className:"source-language",checkedLangs:[u.current],multiple:!1,autoDetectLang:d.current,onChange:v=>{v.length&&(u.current=v[0],u.current!="auto"?d.current="auto":y(),p())}}),c("div",{className:"convert-icon",onClick:x,children:c(PL,{})}),c(Fv,{ctx:e,popPosition:"right",className:"target-languages",checkedLangs:s.current,multiple:!0,onChange:v=>{s.current=v,p()}})]}),c("textarea",{ref:g,rows:5,placeholder:o("pasteTextPlaceholder")}),c("footer",{children:[c("div",{className:"icon delete-button",onClick:b,children:c(DL,{})}),c("div",{style:{flex:1}}),c("button",{className:"translate-button",onClick:h,children:[o("translate"),c(IL,{})]})]})]})]})}async function MF(e){let t=await Ie.local.get("lastTranslate");return Bv(e,t?.services||[e.translationService])}async function IF(){return await Ie.local.get("lastTranslate")}var LF=({refreshKey:e,ctx:t})=>{let[n,r]=N(null),[i,a]=N(!1),[o,s]=N(null);return W(()=>{a(!0),s(null),Pb({forceRefresh:!0}).then(r).catch(s).finally(()=>{a(!1)})},[e,t]),{rewardData:n,isLoading:i,error:o}};function DF(e){let[t,n]=N(!1),r=$(e);return W(()=>{r.current&&!e&&n(!0),r.current=e},[e]),t}function Ov(e,t=!1){if(!t){try{if(!Ae()&&Wn()){Ne.tabs.create({url:`${e}`});return}globalThis.open(`${e}`,"_blank")}catch{globalThis.open(`${e}`,"_blank")}return}try{if(!Ae()&&Wn()){Ne.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 ese(){let{userValue:e,localValue:t}=await Yn("rewardCenterOpenTime");e||t||await jr("rewardCenterOpenTime",Date.now().toString())}function _v({visible:e,onClose:t,ctx:n,refreshKey:r=0,setSettings:i}){ese();let[a,o]=N(!1),[s,l]=N(!1),[u,d]=N({}),[g,m]=N(0),{t:f}=H(),[p,h]=N(""),x=`${r}_${g}`,{rewardData:y,isLoading:b,error:v}=LF({refreshKey:x,ctx:n}),C=()=>{m(P=>P+1)};W(()=>{if(e){o(!0),l(!1);let P=setTimeout(()=>{l(!0)},10);return()=>clearTimeout(P)}else{l(!1);let P=setTimeout(()=>{o(!1)},400);return()=>clearTimeout(P)}},[e]);let S=P=>{P.target===P.currentTarget&&t()},T=()=>{e||o(!1)};function w(P){return{translate_line_1:`${_.GUIDE_BASE}reward-task/?showUserGuide=true&guideType=selection-translate`,translate_web_1:`${_.GUIDE_BASE}reward-task/?showUserGuide=true&guideType=float-ball`,translate_web_2:`${_.GUIDE_BASE}reward-task/?showUserGuide=true&guideType=translate-service`,translate_pdf_1:`${_.APP_BASE_URL}`,translate_pdf_2:`${_.PDF_PRO_URL}`,translate_video_1:`${_.REWARD_TASK_YOUTUBE_URL}`,translate_video_2:`${_.REWARD_TASK_YOUTUBE_URL}`}[P]||""}let E=async P=>{if(M.debug("Task start:",P.taskConfig.taskKey),Ae()&&P.taskConfig.taskKey==="translate_line_1")return;let O=await Rk(),F=w(P.taskConfig.taskKey);if(!O){Ov(`${_.USER_LOGIN_URL}&return_url=${encodeURIComponent(F)}`,!1);return}if(P.enabled&&!P.completed){let L=P.taskConfig.taskKey;ae({key:"reward_center_start_task",ctx:n,params:{trigger:P.taskConfig.taskKey}}),L==="translate_line_1"&&(n.config.generalRule.selectionTranslation?.enable||i(A=>({...A,generalRule:{...A.generalRule,"selectionTranslation.add":{...A.generalRule?.["selectionTranslation.add"],enable:!0}}}))),L==="translate_video_1"&&Lv({type:"video-subtitle"}),L==="translate_video_2"&&Lv({type:"ai-subtitle"}),Ov(F);return}if(P.completed&&!P.taken){if(p)return;h(P.taskConfig.taskKey),ae({key:"reward_center_claim",ctx:n,params:{trigger:P.taskConfig.taskKey}});try{await Pk(P.taskConfig.taskKey),C(),Nk(),h("")}catch(L){M.error("takeReward error",L)}finally{h("")}}},k=(P,O=!1)=>{switch(P){case"ai_token":return O?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 P}},D=(P,O,F=!0)=>{let L=P.toLocaleString(),R=F?f("rewardCenter.reward.unit_pdf_token"):"",A=F?f("rewardCenter.reward.unit_video_token"):"";return O==="ai_token"?L:O==="video_token"?`${L}${A}`:O==="pdf_token"?`${L}${R}`:L},U=P=>{let{taskConfig:O,taken:F,completed:L,enabled:R}=P,A=O.rewards[0],j=O.groupName==="\u9AD8\u7EA7\u4EFB\u52A1",V=L&&F,G=!R&&!L&&!F,K=f("rewardCenter.task.start"),q="reward-task-button",Z=!1;return L&&!F?(K=f("rewardCenter.task.claim"),q+=" claim"):L&&F?(K=f("rewardCenter.task.claimed"),q+=" completed"):!R&&!L&&!F?(K=f("rewardCenter.task.start"),q+=" disabled"):j&&R&&!L&&!F&&(Fk(P,y)||(K=f("rewardCenter.task.start"),Z=!0)),c("div",{className:`reward-task-item ${G?"unavailable":""} ${V?"completed":""}`,children:[c("div",{className:"reward-task-content",children:[c("div",{className:"reward-task-title",children:f(`rewardCenter.task.${O.taskKey}`)}),A&&c("div",{className:"reward-task-reward",children:[f("rewardCenter.reward.get"),"  ",c("span",{className:`${j?"reward-amount-advanced":"reward-amount"}`,children:D(A.rewardAmount,A.rewardType)})," ",k(A.rewardType,!0)]})]}),V?c(sD,{}):Ae()&&O.taskKey==="translate_line_1"?c(Ye,{text:f("rewardCenter.task.translate_line_1.warning",{1:{tag:"a",style:"color: #EA4C89;",href:_.DOWNLOAD_URL+"?utm_campaign=reward_center",target:"_blank"}}),position:"left",tipStyle:{width:"150px",maxWidth:"150px",whiteSpace:"normal",wordBreak:"break-word"},children:c("button",{className:`${q} disabled`,disabled:!0,children:K})}):Z?c(Ye,{text:f("rewardCenter.task.unclaimedWarning"),position:"left",tipStyle:{width:"150px",maxWidth:"150px",whiteSpace:"normal",wordBreak:"break-word"},children:c("button",{className:q,onClick:()=>E(P),disabled:G,children:[K,p===O.taskKey?c(PF,{}):null]})}):c("button",{className:q,onClick:()=>E(P),disabled:G,children:[K,p===O.taskKey?c(PF,{}):null]})]},O.taskKey)},B=P=>{let O=P.groupName==="\u9AD8\u7EA7\u4EFB\u52A1",F=f(O?"rewardCenter.task.level2":"rewardCenter.task.level1"),L=P.taskItems.filter(A=>!(A.completed&&A.taken)),R=P.taskItems.filter(A=>A.completed&&A.taken);return c("div",{className:"reward-center-card",children:[c("div",{className:"reward-card-title",children:[O?c(oD,{}):c(aD,{}),F,O&&c("span",{className:"reward-task-subtitle",children:f("rewardCenter.task.level2.description")})]}),c("div",{className:"reward-card-content",children:[L.map(A=>U(A)),R.length>0&&c(ie,{children:[c("div",{className:"completed-tasks-divider clickable",onClick:()=>d(A=>({...A,[P.groupName]:!A[P.groupName]})),children:[c("span",{className:"completed-tasks-text",children:f("rewardCenter.task.completed")}),c("span",{className:`completed-tasks-arrow ${u[P.groupName]?"expanded":""}`,children:c(Hn,{})})]}),u[P.groupName]&&R.map(A=>U(A))]})]})]},P.groupName)};return!e&&!a?null:c(ie,{children:c("div",{className:`reward-center-overlay ${s?"visible":""}`,onClick:S,children:c("div",{className:`reward-center-drawer ${s?"visible":""}`,onTransitionEnd:T,children:[c("div",{className:"reward-center-fixed-header",children:[c("div",{className:"reward-center-header",children:[c("div",{className:"reward-center-header-left",children:[c(Sc,{}),c("div",{className:"reward-center-title",children:f("rewardCenter.title")})]}),c(bn,{class:"reward-center-close-icon",onClick:t})]}),c("div",{className:"reward-center-description",children:f("rewardCenter.description")})]}),c("div",{className:"reward-center-scrollable-content",children:[!y&&b&&c("div",{className:"reward-center-loading"}),v&&c("div",{className:"reward-center-error",children:v.message}),!v&&y&&c(ie,{children:[c("div",{className:"reward-center-card reward-progress-container",children:[c("div",{className:"reward-card-title",children:f("rewardCenter.progress")}),c("div",{className:"reward-card-content",children:y?.rewardViews.map(P=>{let O=P.rewardTotalAmount>0?P.completedAmount/P.rewardTotalAmount*100:0;return c("div",{className:"reward-progress-item",children:c("div",{className:"reward-progress-info",children:[c("div",{className:"reward-progress-label",children:k(P.rewardType)}),c("div",{className:"reward-progress-right",children:[c("div",{className:"reward-progress-value",children:[D(P.completedAmount,P.rewardType,!1),"/",D(P.rewardTotalAmount,P.rewardType,!1)]}),c("div",{className:"reward-progress-bar",children:c("div",{className:"reward-progress-fill",style:{width:`${O}%`}})})]})]})},P.rewardType)})})]}),y?.groupViews.map(P=>B(P))]}),c("div",{className:"reward-center-footer",children:[c(Oh,{}),c("div",{className:"reward-center-footer-text",onClick:()=>Ov(_.TUTORIAL_URL,!0),children:f("rewardCenter.help")})]})]})]})})})}var PF=()=>c("div",{className:"reward-task-loading"});async function RF(e){for(let t=0;t<e.length;t++)if(await tse(e[t]))return e[t];return null}async function tse(e){if(!e.enable)return!1;if(e.expireTime){let u=new Date(e.expireTime);if(new Date>u)return!1}let{userValue:t,localValue:n}=await Yn("notificationShowTimes"),r=t||n||{},i=e.id;if(r[i])return!1;let a=Object.values(r).sort((u,d)=>Number(d)-Number(u))[0];if(!a)return!0;let o=e.intervalTime??24*60*60;return Date.now()-Number(a)>=o*1e3}async function Uv(e){let{userValue:t,localValue:n}=await Yn("notificationShowTimes"),r=t||n||{};r[e]=Date.now()+"",await jr("notificationShowTimes",r)}function NF(e,t,n,r){if(r!=="webpage")return{};let i=globalThis.innerHeight,a=Se().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 FF=!1;function t4(e,t,n){let r=Se().any,[i,a]=N({isVisible:!1,notification:null}),o=re((s,l)=>{l&&ae({key:"notification_close",params:{notificationId:s.id,trigger:s.displayPosition||"webpage"},ctx:e}),Uv(s.id),a(u=>({...u,isVisible:!1}))},[e]);return W(()=>{if(!e)return;(async l=>{let u=l.config.notificationList;if(!u?.length||r&&t==="sidePanel")return;let d=await RF(u);!d||et(l.url,d.excludeMatches)||d.displayPosition===t&&(r&&t==="sidePanel"||a({isVisible:!0,notification:d}))})(e)},[e,t]),W(()=>{n&&Uv("new-guide")},[n]),n&&(FF=!0),{isVisible:i.isVisible&&!FF&&e?.config?.isEnableNotification,notification:i.notification,closeNotification:o}}var BF=`
.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: ${qn};
}

.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 jv(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,l=Object.fromEntries(s);document.dispatchEvent(new CustomEvent(qo,{detail:JSON.stringify({id:Date.now(),type:o,payload:l})}));return}let i=n.searchParams,a=Object.fromEntries(i);document.dispatchEvent(new CustomEvent(pe+r,{detail:a}))}function n4({ctx:e,isShowGuide:t,displayPosition:n,top:r=0,fixedPosition:i="right"}){let{isVisible:a,notification:o,closeNotification:s}=t4(e,n,t),[l,u]=N({}),d=$(null);return W(()=>{if(!a||!o||n!=="webpage")return;let g=d.current?.offsetHeight||400,m=NF(r,g,i,n);u(m)},[a,o,n,r,i]),W(()=>{!a||!o||ae({key:"notification_show",params:{notificationId:o.id,trigger:o.displayPosition||"webpage"},ctx:e})},[a,o]),!a||!o?null:c(ie,{children:[c("style",{children:BF}),c("div",{ref:d,children:c(nse,{config:o,ctx:e,displayPosition:n,position:n==="webpage"?l:void 0,floatDirection:n==="webpage"?i:void 0,onClose:s})})]})}function nse({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",l=e.content[s];if(!l)return null;let u=n==="sidePanel",d=n==="webpage",g=u?"side-panel":d?"webpage-float":"",m=d&&i?`float-${i}`:"";return c("div",{className:`modal-overlay ${g}`,children:c("div",{className:`modal-container ${g} ${m}`,style:d&&r?r:void 0,children:[c("div",{className:"close-button",onClick:()=>{a(e,!0)},"aria-label":"Close",children:c(BL,{})}),c("div",{className:`banner-area ${g}`,children:l.bannerUrl?c("img",{src:l.bannerUrl,alt:"",className:"banner-image"}):c("span",{children:"banner"})}),c("div",{className:`content-area ${g}`,children:[c("h2",{className:`title ${g}`,children:l.title}),c("div",{className:`update-list ${g}`,dangerouslySetInnerHTML:{__html:ht.sanitize(l.updateDetail)}}),c("div",{className:`button-area ${g}`,children:[c("a",{href:l.buttonLink,target:"_blank",rel:"noopener noreferrer",className:`primary-button ${g}`,onClick:f=>{jv(f,l.buttonLink),a(e,!1),ae({key:"notification_button_click",params:{trigger:e.displayPosition||n,notification_id:e.id},ctx:t})},children:l.buttonText}),l.customLink&&l.customLinkText&&c("a",{href:l.customLink,target:"_blank",rel:"noopener noreferrer",className:`custom-link ${g}`,onClick:f=>{jv(f,l.customLink),a(e,!1),ae({key:"notification_link_click",params:{trigger:e.displayPosition||n,notification_id:e.id},ctx:t})},children:l.customLinkText})]})]})]})})}var rse=15,zv="storeGuide_shown",ise=`
  .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 r4(e,{useNewUser:t,useUsageCondition:n}={}){let r=e?.config?.storeGuide;if(lo()||!r||!r.enable||Se().any||Ae()||Ue())return;let{installedAt:i}=await $o();if(t&&!mA(i,r.newUserDays,r.startNextDay))return;let a=await yL(r.usageDays),o=ug(r.usageCondition,a);if(n&&!o)return;let l=[{name:"chrome",reviewUrl:_.Chrome_Store_Url,visible:Wn()&&!so()},{name:"edge",reviewUrl:_.Edge_Store_Url,visible:so()},{name:"firefox",reviewUrl:_.Firefox_Store_Url,visible:Cn()}].filter(u=>u.visible&&r.platform.includes(u.name))?.[0];if(l)return l}function OF(){return Ie.local.get(zv,!1)}function Xc({storeReviewUrl:e,hiddenArrow:t,anchorPlacement:n,trigger:r}){let i=Ke()?.config?.storeGuide;ae({key:"store_guide_show",params:{trigger:r}}),Qt({anchorPlacement:n,showOverlay:!1,presetSkin:"none",styles:ise,onOverlayClick:()=>{Ie.local.set(zv,!0),ae({key:"store_guide_close",params:{trigger:"overlay"}})},render:({close:a})=>c(ase,{close:()=>{a(),Ie.local.set(zv,!0),ae({key:"store_guide_close",params:{trigger:"close"}})},hiddenArrow:t,countdownSeconds:i?.countdownSeconds||rse,onGood:()=>{lt(e),ae({key:"store_guide_good",params:{trigger:r}}),a()},onNotGood:()=>{He("webReport"),a(),ae({key:"store_guide_not_good",params:{trigger:r}})}})})}function ase({close:e,hiddenArrow:t,countdownSeconds:n,onGood:r,onNotGood:i}){let a=de,[o,s]=N(n);return W(()=>{if(n<=0){e();return}let l=setInterval(()=>{s(u=>{let d=u-1;return d<=0?(e(),0):d})},1e3);return()=>clearInterval(l)},[e,n]),c("div",{className:"store-guide",children:[c(use,{hiddenArrow:t,className:`store-guide__background${t?" store-guide__background--no-arrow":""}`}),c(sse,{className:"store-guide__close",onClick:e}),c("div",{className:"store-guide__content",children:[a("storeGuide.description"),c("div",{className:"store-guide__actions",children:[c("div",{className:"store-guide__button store-guide__button--good",onClick:r,children:[c(ose,{}),c("span",{className:"store-guide__button-text",children:a("storeGuide.good")})]}),c("div",{className:"store-guide__button store-guide__button--not-good",onClick:i,children:[c(lse,{}),c("span",{className:"store-guide__button-text",children:a("storeGuide.notGood")})]})]})]}),c("div",{className:"store-guide__countdown",children:a("storeGuide.countdown",{remainingSeconds:o})})]})}function ose(e){return c("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:c("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 sse(e){return c("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:[c("g",{"clip-path":"url(#clip0_37814_2374)",children:c("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"})}),c("defs",{children:c("clipPath",{id:"clip0_37814_2374",children:c("rect",{width:"16",height:"16",fill:"white"})})})]})}function lse(e){return c("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:c("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 use(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 c("svg",{className:e.className,xmlns:"http://www.w3.org/2000/svg",width:"312",height:"191",viewBox:"0 0 312 191",fill:"none",children:[c("g",{filter:"url(#filter0_d_37759_1828)",children:[c("path",{d:r,fill:"white"}),c("path",{d:r,fill:"url(#paint0_radial_37759_1828)"}),c("path",{d:r,fill:"url(#paint1_radial_37759_1828)"}),c("path",{d:r,fill:"url(#paint2_radial_37759_1828)"}),c("path",{d:r,fill:"url(#paint3_radial_37759_1828)"}),c("path",{d:r,fill:"white","fill-opacity":"0.4"}),c("path",{d:r,fill:"url(#paint4_linear_37759_1828)"})]}),c("defs",{children:[c("filter",{id:"filter0_d_37759_1828",x:"0",y:"0",width:"312.007",height:"191",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB",children:[c("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),c("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"}),c("feOffset",{dy:"4"}),c("feGaussianBlur",{stdDeviation:"10"}),c("feComposite",{in2:"hardAlpha",operator:"out"}),c("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"}),c("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_37759_1828"}),c("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_37759_1828",result:"shape"})]}),c("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:[c("stop",{"stop-color":"#757ED8"}),c("stop",{offset:"1","stop-color":"#6B6AC0"})]}),c("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:[c("stop",{"stop-color":"#AED5FF"}),c("stop",{offset:"1","stop-color":"#AED5FF","stop-opacity":"0"})]}),c("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:[c("stop",{"stop-color":"#E0C4F6"}),c("stop",{offset:"1","stop-color":"#E0C4F6","stop-opacity":"0"})]}),c("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:[c("stop",{"stop-color":"#E0C4F7"}),c("stop",{offset:"1","stop-color":"#E0C4F7","stop-opacity":"0"})]}),c("linearGradient",{id:"paint4_linear_37759_1828",x1:"116.09",y1:"16",x2:"129.424",y2:"110.759",gradientUnits:"userSpaceOnUse",children:[c("stop",{"stop-color":"white","stop-opacity":"0.3"}),c("stop",{offset:"1","stop-color":"white"})]})]})]})}var _F="sidePanelNewUserActivityShown";function jF(e){let[t,n]=N(!1),[r,i]=N(null),{ctx:a,config:o,forceVisible:s}=e,l=re(async()=>{try{if(!a||!a.user||!o)return!1;let d=await _e({url:`${_.PRICING_WORKER_BASE_URL}/goods?lang=${a.config.interfaceLanguage}&group=year_discount_7_year_trial_3`,method:"GET",headers:{"Content-Type":"application/json"}});if(!d.newUserActInfo)return!1;let g=d.entities.year;return d.newUserActInfo.discountRate&&(g.unitAmount=(1-d.newUserActInfo.discountRate)*g.unitAmount,g.displayedPrice=UF(g.unitAmount,g.currencySymbol)),i(d.entities),!0}catch{return!1}},[a,o]);W(()=>{let d=!1;async function g(){!a||!a.user||!o||await le.getValue(_F,!1)&&!s||!K1({user:a.user,config:o})||!await l()||d||(n(!0),await le.setValue(_F,!0))}return g(),()=>{d=!0}},[a,o,s,l]);let u=X(()=>{if(!r)return"";let d=r?.year;return UF(d.unitAmount/12,d.currencySymbol)},[r]);return{isVisible:t,goods:r,monthlyPrice:u,setIsVisible:n}}var cse=["bif","clp","djf","gnf","jpy","kmf","krw","mga","pyg","rwf","ugx","vnd","vuv","xaf","xof","xpf"];function UF(e,t){if(cse.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 dse=Rt.subscriptionActCss;function i4(e){let{ctx:t}=e,{t:n}=H(),{isVisible:r,goods:i,monthlyPrice:a,setIsVisible:o}=jF({ctx:e.ctx,config:e.config,forceVisible:e.forceVisible});if(W(()=>{wn(document,dse,"imt-imt-sub-act-css")},[]),!r||!t?.user||!i)return null;let s=[n("newUserActivity.pointUnlockModels"),"PDF Pro",n("newUserActivity.pointComic"),n("newUserActivity.pointAll")],l=()=>{ml(_.PRICING_URL,"side_panel_new_user"),o(!1)};return c("section",{class:"imt-sub-act-card","aria-label":n("newUserActivity.title"),children:[c(gse,{user:t.user}),c("div",{class:"imt-sub-act-body",children:[c("div",{class:"imt-sub-act-price",children:[c("span",{class:"imt-sub-act-price-month",children:[c("span",{children:a}),c("span",{class:"imt-sub-act-price-unit",children:n("newUserActivity.monthlyUnit")})]}),c("span",{class:"imt-sub-act-price-yearly",children:[i?.year.displayedPrice,n("newUserActivity.yearlyUnit"),c("span",{class:"imt-sub-act-price-original",children:[i?.year.originalDisplayedPrice,n("newUserActivity.yearlyUnit")]})]})]}),c("ul",{class:"imt-sub-act-points",children:s.map(u=>c("li",{children:[c("img",{class:"imt-sub-act-point-icon",src:_0.check,alt:"","aria-hidden":"true"}),c("span",{children:u})]},u))}),c("button",{type:"button",class:"imt-sub-act-cta",onClick:l,children:[c("img",{class:"imt-sub-act-cta-icon",src:_0.upgrade,alt:"","aria-hidden":"true"}),n("newUserActivity.cta")]})]}),c("div",{class:"imt-sub-act-close",onClick:()=>o(!1),children:c("img",{src:_0.close,alt:"","aria-hidden":"true"})})]})}function gse(e){let{t}=H(),{user:n}=e;return c("div",{class:"imt-sub-act-banner",children:[c("div",{class:"imt-sub-act-banner-bg"}),c("img",{width:55,class:"imt-sub-act-banner-left",src:_0.bannerLeft,alt:"","aria-hidden":"true"}),c("img",{height:152,class:"imt-sub-act-banner-right",src:_0.bannerRight,alt:"","aria-hidden":"true"}),c("div",{class:"imt-sub-act-banner-content",children:[c(mse,{endTime:Q1(n)}),c("div",{class:"imt-sub-act-banner-text",children:c("span",{class:"imt-sub-act-banner-label",children:t("newUserActivity.title")})})]})]})}function zF(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 mse({endTime:e}){let[t,n]=N({hours:0,minutes:0,seconds:0});return W(()=>{let r=setInterval(()=>{let{hours:s,minutes:l,seconds:u}=zF(e);n({hours:s,minutes:l,seconds:u})},1e3),{hours:i,minutes:a,seconds:o}=zF(e);return n({hours:i,minutes:a,seconds:o}),()=>{clearInterval(r)}},[]),!t.hours&&!t.minutes&&!t.seconds?null:c("div",{class:"imt-sub-act-countdown","aria-hidden":"true",children:[c("span",{class:"imt-sub-act-countdown-item",children:t.hours.toString().padStart(2,"0")}),c("span",{class:"imt-sub-act-countdown-item-separator",children:":"}),c("span",{class:"imt-sub-act-countdown-item",children:t.minutes.toString().padStart(2,"0")}),c("span",{class:"imt-sub-act-countdown-item-separator",children:":"}),c("span",{class:"imt-sub-act-countdown-item",children:t.seconds.toString().padStart(2,"0")})]})}var _0={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 Hv(){let e=pr();return c("div",{"data-theme":e,children:c(fse,{})})}function fse(){let{config:e,ctx:t,ctxRef:n,settingsHookValue:r,refreshCtx:i}=ct(),[a,o,s,l,u]=r,[d,g]=N("auto"),[m,f]=N([]),[p,h]=N([]),{expand:x,setExpand:y}=SF(),[b,v]=N(!1),C=$(!1);C.current=b;let[S,T]=N(0),w=$(i);w.current=i;let E=$(null),k=()=>{C.current||ae({key:"reward_center_open",ctx:t,params:{trigger:"side_panel"}}),v(!b)},{t:D}=H(),U=e&&Lt(e.rtlLanguages??[],e.interfaceLanguage),[B,P]=N([]);W(()=>{async function Z(){if(!t)return;let ne=await MF(t),Y=await Tr(t,"translationService","zh-CN",ne)||[];P(Y)}Z()},[t]);let O=X(()=>t?B.filter(Z=>p.includes(Z.id)):[],[t,B,p]),F=X(()=>Ni(B,D),[B]),[L,R]=N([]),A=$([]);A.current=L;let j=re(async(Z,ne,Y,oe)=>{t&&(g(ne),f(Y),h(Z),R([]),Dv({ctx:t,sourceLang:ne,text:oe,services:Z,targetLangs:Y,callback:Me=>{let Ce=A.current.find(ue=>ue.service===Me.service&&ue.targetLang===Me.targetLang);Ce?(Ce.loading=!1,Ce.translateText=Me.translateText,Ce.error=Me.error,R([...A.current])):(A.current.push(Me),R([...A.current]))}}))},[t,A]),V=re((Z,ne)=>{let Y=A.current.find(oe=>oe.service===Z&&oe.targetLang===ne);!t||!Y||Dv({ctx:t,sourceLang:d,text:Y.text,services:[Z],targetLangs:[ne],callback:oe=>{Y.translateText=oe.translateText,Y.loading=oe.loading,Y.error=oe.error,R([...A.current])}})},[t,A,d]),G=re(Z=>{h(p.filter(ne=>ne!==Z))},[p]),[K,q]=N(!1);return W(()=>{tp()=="content"&&q(!0)},[]),W(()=>{let Z,ne=({method:Y,data:oe})=>{switch(Y){case"openRewardCenter":C.current?(v(!1),ck()):(v(!0),ae({key:"reward_center_open",ctx:n.current,params:{trigger:oe?.trigger||"float_ball"}}));break;case"refreshRewardCenter":v(!0),T(Me=>Me+1);break;case"updateContext":w.current?.();break;case"close":Z?.dispose();break}};return Z=ea({type:"side_panel",name:"reward_center"},ne,{backlog:!0,confirm:"manual"}),location.href.includes("openRewardCenter=true")&&ne({method:"openRewardCenter",data:{trigger:"popup"}}),()=>{Z?.dispose()}},[]),t?c(ie,{children:[c("div",{className:"notranslate imt-side-panel",dir:U?"rtl":"ltr",ref:E,children:[K&&c(bn,{class:"panel-close-icon",onClick:()=>{us(t,"panel",!1)}}),c(kF,{ctx:t,selectServices:p,serviceItems:B,groupServiceItems:F,resultsRef:A,onTranslate:j}),c(i4,{ctx:t,config:e}),c(hse,{ctx:t,config:e,serviceItems:O,langs:m,results:L,onDeleteService:G,onRefresh:V}),c("div",{style:{height:x?160:50}}),c(pse,{ctx:t,expand:x,setExpand:y,toggleRewardCenter:k,rewardCenterVisible:b}),c(_v,{visible:b,onClose:k,ctx:t,refreshKey:S,setSettings:o})]}),c(n4,{ctx:t,displayPosition:"sidePanel"})]}):null}function pse({ctx:e,expand:t,setExpand:n,toggleRewardCenter:r,rewardCenterVisible:i}){let{t:a}=H(),[o,s]=N(!1),[l,u]=N(null),[d,g]=N(""),m=$(e);m.current=e,W(()=>{(async()=>{let E=await r4(m.current,{useNewUser:!1,useUsageCondition:!1});g(E?.reviewUrl||"")})()},[]);let f=re(()=>{s(!0),setTimeout(()=>{s(!1)},1200)},[]);W(()=>{(async()=>{let{userValue:E,localValue:k}=await Yn("rewardCenterClicked"),D=E||k;u(!!D),D||f()})()},[]),W(()=>{let E=setInterval(()=>{l||Ku(e)?clearInterval(E):f()},2e3);return()=>clearTimeout(E)},[f,e,l]);let p=DF(i),h=re(()=>{s(!1),jr("rewardCenterClicked",!0),u(!0)},[]),[x,y]=Pv(),b=e.config?.sidePanel||{},v=Ku(e),C=async()=>{let w=await IF();if(w){let E=w.langs[0],k=encodeURIComponent(w.text.trim()),D=`${_.APP_BASE_URL}text#${w.sourceLang}/${E}/${k}`;$c(D,"translate_text")}else $c(_.APP_BASE_URL+"text","translate_text")},S=(b.i18n?.[e.config.interfaceLanguage]||b.i18n?.en)?.upgradeTitle,T=b.upgradeUrl;return c("div",{className:"side-footer",children:[c("div",{className:"footer-expand",style:{marginBottom:t?4:-12},onClick:()=>n(!t),children:t?c(Hn,{}):c(cD,{})}),c("div",{className:"footer-area",style:{display:t?"flex":"none"},children:[c("div",{className:"divider"}),c("span",{className:"footer-area-title",children:a("alsoTranslate")}),c("div",{className:"footer-area-buttons-wrapper",children:[c("div",{className:"footer-area-button",onClick:()=>$c(_.APP_BASE_URL,"translate_file"),children:[c(_h,{}),a("translateFile")]}),c("div",{className:"footer-area-button",onClick:()=>$c(_.APP_BASE_URL+"image","translate_image"),children:[c(mD,{}),a("translateImage")]}),c("div",{className:"footer-area-button",onClick:C,children:[c(fD,{}),a("translateText")]})]})]}),c("div",{className:"side-footer-preview",children:[e.isPro?c("div",{className:"empty-space"}):c("a",{className:"upgrade",target:"_blank",href:T,onClick:()=>y(!0),children:[c(lD,{}),c("span",{children:S})]}),c(bse,{hidden:!p||l||v,onClick:()=>{h()}}),c("div",{className:"action-buttons",children:[!v&&c("div",{className:"action-icon-wrapper",onClick:()=>{r(),h()},children:[c("div",{className:`action-icon${o?" bounce-animate":""}`,children:c(Sc,{})}),c("span",{className:"reward-center-text",children:a("rewardCenter.title")})]}),c(Ye,{text:a("storeGuide.tint"),position:"top",hidden:!d,children:c("div",{className:"action-icon",onClick:()=>{Xc({hiddenArrow:!0,storeReviewUrl:d,trigger:"sidePanel"})},children:c(rD,{})})}),c("div",{className:"action-icon",onClick:()=>$c(_.TUTORIAL_URL,"help_center"),children:c(Oh,{})}),c("div",{className:"action-icon",onClick:()=>Jr(!1,"",!1),children:c(Bh,{style:{width:18,height:18},fillColor:"#999"})})]})]})]})}function $c(e,t){try{if(!Ae()&&Wn()){Ne.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 hse({ctx:e,config:t,serviceItems:n,langs:r,results:i,onDeleteService:a,onRefresh:o}){let{t:s}=H(),[l,u]=N(!1),d=m=>{s1(m),u(!0),setTimeout(()=>{u(!1)},2e3)},g=(m,f)=>{let p=new AbortController;X1({text:f,lang:m,provider:"WebSpeech",signal:p.signal})};return t?c("div",{className:"results-container",children:i.length>0&&n.map((m,f)=>{let p=r.map(h=>{let x=i.find(C=>C.service===m.id&&C.targetLang===h),y=Lt(e.config.rtlLanguages,h),b=x?.translateText,v=x?.loading||!x?.translateText&&!x?.error;return c("div",{className:"result-container",children:[b&&!x.error&&c("pre",{dir:y?"rtl":"ltr",children:b.trim()}),v&&c("div",{className:"skeleton-loader",children:[c("div",{className:"skeleton-text-line short"}),c("div",{className:"skeleton-text-line medium"})]}),c(yse,{ctx:e,error:x?.error,onRefresh:()=>o(m.id,h)}),c("div",{className:"result-lang",children:[c(Ye,{text:s(l?"selectionTranslationCopySuccess":"selectionTranslationCopy"),children:c("div",{className:"icon",onClick:()=>d(b??""),children:c(Nh,{})})}),c("div",{className:"icon",onClick:()=>g(h,b),children:c(Tc,{})}),c("div",{style:{flex:1}}),Et(h,t?.interfaceLanguage,!1,!0)]})]})});return c("div",{className:"service-wrapper-container",children:[c("div",{className:"service-wrapper",children:[c("img",{src:m.icon,className:"icon"}),c("span",{children:m.name}),c("div",{className:"close-icon",onClick:()=>a(m.id),children:c(bn,{})})]}),p,c("div",{className:"divider",hidden:f===n.length-1})]})}).flat()}):null}function yse({ctx:e,error:t,onRefresh:n}){let{t:r}=H(),[i,a]=Pv();if(!e||!t)return null;let o=t.uiConfig(e),s=o.errMsg||"",l=$n?.createHTML(s)||s;return["upgrade","login"].includes(o.action||"")?c("div",{className:"error-result error-info",children:[c("div",{className:"error-message",dangerouslySetInnerHTML:{__html:l}}),c("div",{className:"upgrade-button",onClick:()=>{$c(_.PRICING_URL,"upgrade"),a(!0)},children:[c("svg",{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:c("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")]})]}):c("div",{className:"error-result error-warning",children:[c("div",{className:"error-message",dangerouslySetInnerHTML:{__html:l}}),c("div",{className:"retry-button",onClick:n,children:c(LL,{})})]})}function bse({hidden:e,onClick:t}){let{t:n}=H();return e?null:c("div",{className:"reward-center-popup",children:[c("div",{className:"popup-content",children:[n("rewardCenter.popupTitle"),c("div",{className:"popup-close-icon-wrapper",onClick:t,children:c(OL,{})})]}),c(_L,{class:"reward-center-triangle"})]})}var o4=!1,a4=!1,s4=150,Vv=362,GF="mock-side-panel-width",Gv="cursor-mock-side-panel-host",ed=!1,td=!1;function U0(){return o4}async function vse(e,t){if(globalThis.top!==window||t&&o4||a4)return;let r=`${await wse()}px`,i="6px",a=document.getElementById(Gv),o=Rt["side-panel.css"],s=Rt["reward-center.css"];if(a)WF();else{o4=!0,a4=!0,a=document.createElement("div"),a.id=Gv,a.setAttribute("style",`
      all: initial;
      position: fixed;
      top: 0px;
      right: 0px;
      width: ${r};
      height: 100%;
      z-index: ${qn};
      background-color: white;
      display: flex;
      transform: translateX(100%);
      transition: transform ${s4}ms ease-out;
      `),document.documentElement.appendChild(a);let l=a.attachShadow({mode:"open"}),u=document.createElement("div");Object.assign(u.style,{width:i,height:"100%",cursor:"col-resize",backgroundColor:"transparent",borderRight:"1px solid #d1d1d1",borderLeft:"1px solid #d1d1d1",boxSizing:"border-box"});let d=document.createElement("div");d.id="mount",Object.assign(d.style,{flexGrow:"1",height:"100%",overflow:"auto",backgroundColor:"white"});let g=document.createElement("style");g.textContent=o;let m=document.createElement("style");m.textContent=s,tn(c(ie,{children:c(Pi,{lang:e.interfaceLanguage,children:c(Hv,{})})}),d),l.appendChild(g),l.appendChild(m),l.appendChild(u),l.appendChild(d),requestAnimationFrame(()=>{a&&(a.style.transform="translateX(0)",Tse(r),a.addEventListener("transitionend",()=>{a4=!1},{once:!0}))});let f=!1,p=0,h=0;u.addEventListener("mousedown",b=>{f=!0,p=b.clientX,h=a.offsetWidth,d.style.pointerEvents="none",a.style.transition="none",b.preventDefault(),document.addEventListener("mousemove",x),document.addEventListener("mouseup",y)});let x=b=>{if(!f||!a)return;let v=b.clientX-p,C=h-v,S=globalThis.innerWidth*(2/3);C>S?C=S:C<Vv&&(C=Vv),Ese(C),a.style.width=`${C}px`,Cse(`${C}px`)},y=()=>{f&&(f=!1,d.style.pointerEvents="auto",a&&(a.style.transition=`transform ${s4}ms ease-out`),document.removeEventListener("mousemove",x),document.removeEventListener("mouseup",y))}}}function WF(){let e=document.getElementById(Gv);e&&(e.remove(),Sse(),o4=!1),be({type:"side_panel",name:"reward_center"},{method:"close"},!0)}gi.toggleMockSidePanel=vse;gi.getIsOpenSidePanel=U0;gi.closeMockSidePanel=WF;function qF(e,t){let n=document.documentElement,r=document.body,i=getComputedStyle(r).position,a=i==="fixed"||i==="absolute",o=`padding-right ${s4}ms ease-out`;a?(HF(r,o,t),VF(r,!0),r.style.setProperty("padding-right",e,"important"),n.style.removeProperty("padding-right"),n.style.removeProperty("transition"),n.style.removeProperty("box-sizing"),ed&&(n.style.removeProperty("position"),ed=!1),td=!0):(HF(n,o,t),VF(n,!0),ed=xse(n,ed),n.style.setProperty("padding-right",e,"important"),td&&(r.style.removeProperty("padding-right"),r.style.removeProperty("transition"),r.style.removeProperty("box-sizing"),td=!1))}function HF(e,t,n){n?e.style.setProperty("transition",t,"important"):e.style.removeProperty("transition")}function VF(e,t){t?e.style.setProperty("box-sizing","border-box","important"):e.style.removeProperty("box-sizing")}function xse(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 Cse(e){qF(e,!1)}function Tse(e){qF(e,!0),setTimeout(()=>{td?document.body.style.removeProperty("transition"):document.documentElement.style.removeProperty("transition"),a4=!1},s4)}function Sse(){let e=document.documentElement,t=document.body;e.style.removeProperty("padding-right"),e.style.removeProperty("transition"),e.style.removeProperty("box-sizing"),ed&&e.style.removeProperty("position"),td&&(t.style.removeProperty("padding-right"),t.style.removeProperty("transition"),t.style.removeProperty("box-sizing")),ed=!1,td=!1}async function wse(){let e=await Ie.local.get(GF,Vv);return typeof e=="string"?parseInt(e):e}async function Ese(e){await Ie.local.set(GF,e)}var KF="imt-float-ball-active",Wv="floatBallGuideShowCount",nd=null,rd=null;function ZF(){let[e,t]=N("Original");return W(()=>{let n=yt();t(n);let r=i=>{t(i.detail)};return document.addEventListener(Ko,r),()=>{document.removeEventListener(Ko,r)}},[]),{pageStatus:e}}function JF(){let[e,t]=N("Original");return W(()=>{let n=Hu();t(n);let r=i=>{t(i.detail)};return document.addEventListener(Qo,r),()=>{document.removeEventListener(Qo,r)}},[]),{mangaStatus:e}}var Ase={position:"right",top:335};function XF({handleBallClick:e,isShow:t,localConfig:n,handleMobileBallLongPress:r,popupVisible:i,closeVisible:a,closeVisibleRef:o,rule:s,updateFloatBallRule:l}){let u=$(null),d=$(null),[g,m]=N(!1),f=$(!1);f.current=g;let p=$(null),[h,x]=N(!1),y=$(!1);y.current=h;let b=$(n.floatBallConfig||Ase),v=$(0),C=$(0),S=$(!1),T=$(0),w=$(0),E=$(0),k=$(0),D=$(!1),U=$(!1),B=re(P=>{if(!(i||o.current))if(clearTimeout(p.current),P)m(P);else{let O=Se().any||Bn(n);p.current=setTimeout(()=>{m(P),S.current=!1},O?3e3:0)}},[m,p,S,i,o,n]);return W(()=>{if(a){m(!0);return}i||m(!1)},[i,a]),W(()=>{if(u.current&&b.current){let P=qv(b.current.top);b.current.top=P,u.current.style.top=`${P}px`,u.current.style.display="flex"}},[t,u]),W(()=>{if(!d.current||!u.current)return;let P=V=>{V.preventDefault&&V.preventDefault(),v.current=V.clientX,C.current=V.clientY,T.current=Date.now(),U.current=!1,x(!1),y.current=!1,clearTimeout(p.current),B(!0),E.current=V.clientX,k.current=V.clientY,D.current=!1,(Se().any||Bn(n))&&(clearTimeout(w.current),w.current=setTimeout(()=>{QF({startX:v.current,startY:C.current,endX:E.current,endY:k.current})||(D.current=!0,r())},500)),document.addEventListener("mousemove",O),document.addEventListener("mouseup",F),document.addEventListener("touchmove",R,{passive:!1}),document.addEventListener("touchend",A,{passive:!1}),document.addEventListener("touchcancel",A,{passive:!1})},O=V=>{if(V.preventDefault&&V.preventDefault(),!u.current||!d.current||(E.current=V.clientX,k.current=V.clientY,D.current))return;if(QF({startX:v.current,startY:C.current,endX:V.clientX,endY:V.clientY})&&!U.current){U.current=!0,x(!0),y.current=!0;let ue=globalThis.getComputedStyle(u.current),ge=parseFloat(ue.left),me=parseFloat(ue.right);u.current.style.left="auto",u.current.style.right="auto",b.current.position==="right"?u.current.style.left=`${globalThis.innerWidth-me-u.current.offsetWidth}px`:u.current.style.left=`${ge}px`}if(!y.current)return;let K=d.current.getBoundingClientRect(),q=u.current.getBoundingClientRect(),Z=K.width/2+(K.left-q.left),ne=K.height/2+(K.top-q.top),Y=V.clientX-Z,oe=V.clientY-ne,Me=qv(oe),Ce=Math.max(0,Math.min(Y,globalThis.innerWidth-u.current.offsetWidth));u.current.style.top=`${Me}px`,u.current.style.left=`${Ce}px`},F=async V=>{if(V.preventDefault&&V.preventDefault(),clearTimeout(w.current),j(),x(!1),y.current=!1,clearTimeout(p.current),S.current||B(!1),D.current)return;if(!U.current){e();return}let G=qv(V.clientY-45),K=globalThis.innerWidth,q=u.current?.offsetWidth||0,ne=(u.current?.offsetLeft||0)+q/2>K/2?"right":"left";u.current&&(ne==="right"?(u.current.style.top=`${G}px`,u.current.style.right="0px",u.current.style.left="auto"):(u.current.style.top=`${G}px`,u.current.style.left="0px",u.current.style.right="auto")),b.current={...b.current,top:G,position:ne},s&&(s.fixedPosition=ne,l(s));let Y=await gn();Cr({...Y,floatBallConfig:b.current})},L=V=>{V.preventDefault&&V.preventDefault(),P(V.changedTouches[0])},R=V=>{V.preventDefault&&V.preventDefault(),O(V.changedTouches[0])},A=V=>{V.preventDefault&&V.preventDefault(),F(V.changedTouches[0])},j=()=>{document.removeEventListener("mousemove",O),document.removeEventListener("touchmove",R),document.removeEventListener("mouseup",F),document.removeEventListener("touchend",A),document.removeEventListener("touchcancel",A)};return d.current.addEventListener("mousedown",P),d.current.addEventListener("touchstart",L,{passive:!1}),()=>{d.current&&(d.current.removeEventListener("mousedown",P),d.current.removeEventListener("touchstart",L))}},[t,d,u,p,h,n,B,e]),W(()=>{if(Se().any)return;let P=F=>{F.target===u.current&&!S.current||!f.current&&YF(F)&&p.current||(S.current=!0,B(!0),clearTimeout(p.current))},O=F=>{if(!(!f.current&&YF(F)&&p.current)){if(y.current){S.current=!1;return}F.target===u.current&&!S.current||B(!1)}};return u.current?.addEventListener("mouseover",P),u.current?.addEventListener("mouseout",O),()=>{u.current?.removeEventListener("mouseover",P),u.current?.removeEventListener("mouseout",O)}},[u,h,B,t,S,f]),{ballRef:d,floatBallConfigRef:b,containerRef:u,active:g,setActive:B,isDragging:h}}function QF({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 $F(e,t,n,r){let i=e?.fixedPosition||"right",a=e?.clickType==="translate",{settingTransform:o,feedbackTransform:s,mangaTransform:l,sideTransform:u}=X(()=>{let d=i==="left",g=`translateX(${d?-60:60}px)`,m=`translateX(${d?5:-5}px)`,f=`translateX(${d?5:-5}px)`,p=`translateX(${d?10:2}px)`,h=!!n&&!t;return{settingTransform:t&&a?m:g,feedbackTransform:(r?!0:t&&a)?m:g,sideTransform:h?g:f,mangaTransform:h?g:p}},[i,t,n,a,r]);return{settingTransform:o,feedbackTransform:s,mangaTransform:l,sideTransform:u}}function eB(){let[e,t]=N(!1);return W(()=>{let n=()=>{document.querySelector("video")&&t(!!document.fullscreenElement)};return document.addEventListener("fullscreenchange",n),()=>{document.removeEventListener("fullscreenchange",n)}},[]),{isFullScreen:e}}function tB(e,t){let[n,r]=N(!1),i="2024-01-06",a=re(()=>{Vt(Wv,0).then(l=>{let u=l+1;Ft(Wv,u),r(!0)})},[r]);W(()=>{if(!e.config.enableShowFloatingBallGuide||Un()==e.targetLanguage)return;let l=et(e.url,t?.guideBlockUrls);!t||l||(async()=>{let u=await Vt(Wv,0),d=await Ie.local.get("reportActive",""),g=await Vt("installedAt","");g&&new Date(g)<new Date(i)||d||e?.config?.isEnableGuideTips&&(M.debug("showCount",u,t?.defaultShowGuideNums),u<(t?.defaultShowGuideNums||1)&&a())})()},[e,t,a]),rd||(rd=()=>{a()},document.addEventListener(Ym,rd)),W(()=>()=>{rd&&(document.removeEventListener(Ym,rd),rd=null)},[]);let s=re(()=>{r(!1)},[]);return{isShowGuide:n,handleCloseGuide:s}}function nB({ctx:e,fixedPosition:t,setPopupVisible:n}){nd||(nd=async()=>{n(!0),await rt(300),Iv(e,{arrowDirection:t,type:"translate-service"})},document.addEventListener(Zm,nd)),W(()=>()=>{nd&&(document.removeEventListener(Zm,nd),nd=null)},[])}function rB(){document.dispatchEvent(new CustomEvent(Ym))}function iB(){document.dispatchEvent(new CustomEvent(Zm))}function aB(e,t){let n=$(0),[r,i]=N(!0),[a,o]=N(!1),s=fn(),[l,u]=s,{t:d}=H(),g=re(()=>{e?.config.floatBallTooltipRule&&(Se().any||Bn(e.localConfig)?o(n.current>=(e.config.floatBallTooltipRule.h5MainBtnTooltipMaxShowCount||2)):i(n.current>=(e.config.floatBallTooltipRule.mainBtnTooltipImmediateShowCount||5)))},[i,n,e,o]);W(()=>{e&&(n.current=e.config.pcFloatBallMainBtnTooltipShownCount||0,Se().any&&(n.current=e.config.h5FloatBallMainBtnTooltipShownCount||0),g())},[e]);let m=re(async()=>{if(!e)return;n.current=n.current+1,g();let h=await Ln();u(x=>{let y={...h};return Se().any?y.h5FloatBallMainBtnTooltipShownCount=n.current:y.pcFloatBallMainBtnTooltipShownCount=n.current,y})},[u,g,n,e]),f=X(()=>Se().any||!r||Bn(e?.localConfig||{})?0:e?.config.floatBallTooltipRule?.mainBtnTooltipDelayTime||2e3,[r,e]),p=X(()=>{if(Se().any||Bn(e?.localConfig||{}))return d("floatBall.longPress");let h="";return t!=="Original"?h=d("floatBall.showOriginal"):e?.targetLanguage?h=d("floatBall.translateToLanguage",{language:Et(e.targetLanguage,e.targetLanguage,!0)}):h=d("floatBall.translate"),e?.config.shortcuts.toggleTranslatePage&&(h+=`(${Or(e.config.shortcuts.toggleTranslatePage)})`),h},[t,e]);return{disableTooltip:a,tooltipDelay:f,tooltipText:p,handleShowTooltip:m}}function qv(e){return Math.max(Math.min(e,globalThis.innerHeight-200),10)}var Kv=0;function YF(e){return e.target?.id=="manga-button"||e?.fromElement?.id=="manga-button"?(Kv=Date.now(),!0):Date.now()-Kv<100}function oB(e,t){W(()=>{if(Gt()||ot())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(Xs,n),()=>{globalThis.document.addEventListener(Xs,n)}},[e,t])}function sB(e,t){let n=$(e);n.current=e,W(()=>{!n.current||!t||ae({key:"show_float_ball",ctx:n.current})},[n,t])}function lB(e){W(()=>{let t=!!document.querySelector(`meta[name='${KF}'][content='true']`);t||(t=new URL(globalThis.location.href).searchParams.get(KF)==="true"),t&&setTimeout(()=>{e(!0)},10);let n=r=>{r.detail.active?e(!0):e(!1)};return document.addEventListener(Qm,n),()=>{document.removeEventListener(Qm,n)}},[])}function uB(e){document.dispatchEvent(new CustomEvent(Qm,{detail:{active:e}}))}function cB(){let[e,t]=N(0),n=$(0);return W(()=>{let r=document.documentElement,i=document.body;if(!r||!i)return;let a=()=>{let s=parseFloat(globalThis.getComputedStyle(r).paddingRight||"0")||0,l=parseFloat(globalThis.getComputedStyle(i).paddingRight||"0")||0,u=parseFloat(globalThis.getComputedStyle(i).marginRight||"0")||0,d=Math.max(s,l,u);if(!U0()){n.current!==0&&(n.current=0),t(0);return}d!==n.current&&(n.current=d),t(d)},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}}function kse({isOpen:e,onClose:t,children:n}){let[r,i]=N(e);return W(()=>{e?setTimeout(()=>{i(!0)},10):setTimeout(()=>{i(!1)},400)},[e]),!r&&!e?null:c(ie,{children:[e&&c("div",{className:`${z}-sheet-backdrop  ${e?"visible":""}`,style:{zIndex:2147483646},onClick:t}),c("div",{className:`${z}-sheet ${e&&r?"visible":""}`,style:{zIndex:2147483647},children:c("div",{className:`${z}-sheet-content`,children:n})})]})}var id=kse;var vn="imt-fb";function fB(e){let t=globalThis.innerWidth;if(Se().any&&t<=450)return c(id,{isOpen:e.visible,onClose:e.onClose,children:c(mB,{contentStyle:{width:"100%"},onConfirm:e.onConfirm,onClose:e.onClose,settingUrl:e.settingUrl,isMini:e.isMini})});let r=i=>{i?.target?.id===`${z}-popup-overlay`&&e.onClose()};return e.visible?c("div",{onClick:r,id:`${z}-popup-overlay`,class:`${z}-popup-overlay`,children:c("div",{class:`${z}-popup-wrapper ${vn}-setting-wrapper`,style:e.style||e.getModalStyle?.(),children:c(mB,{settingUrl:e.settingUrl,onConfirm:e.onConfirm,onClose:e.onClose,isMini:e.isMini})})}):null}function dB(e){return c("div",{class:`${vn}-toggle ${e.checked?"checked":""} ${e.disabled?"disabled":""}`,onClick:()=>{e.disabled||e.onChange(!e.checked)},children:c("div",{class:`${vn}-toggle-thumb`})})}function Mse(e){let t=e.isMini?"mini":"full";return c("div",{class:`${vn}-setting-preview`,children:c("div",{class:`${vn}-preview-wrapper`,children:[c("div",{class:`${vn}-preview-item light`,children:c("div",{class:`${vn}-preview-ball light ${t}`,children:c(gB,{size:28,className:`${vn}-preview-logo`})})}),c("div",{class:`${vn}-preview-item dark`,children:c("div",{class:`${vn}-preview-ball dark ${t}`,children:c(gB,{size:28,className:`${vn}-preview-logo`})})})]})})}function gB(e){return c("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:[c("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"}),c("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 mB(e){let{t}=H(),[n,r]=N(e.isMini??!1),[i,a]=N(!1),[o,s]=N("UntilNext"),l=re(f=>{r(f),f&&a(!1)},[]),u=re(f=>{a(f),f&&r(!1)},[]),d=re(()=>{i?e.onConfirm?.({type:"hide",closeType:o}):e.onConfirm?.({type:"setting",mini:n})},[n,i,o,e.onConfirm]),g=t("closeQuickTranslation.settingOpen",{1:e.settingUrl}),m=[{title:t("closeQuickTranslation.untilNext"),type:"UntilNext"},{title:t("closeQuickTranslation.alwaysClose"),type:"AlwaysClose",description:g},{title:t("closeQuickTranslation.currentWebsite"),type:"CurrentWebsite",description:g}];return c("div",{class:`${vn}-setting-content`,style:e.contentStyle,children:[c("div",{class:"flex justify-between items-center",children:[c("div",{class:`${vn}-setting-title`,children:t("floatBallSetting.title")}),c("div",{class:"clickable",onClick:e.onClose,children:c($t,{type:"modal-close"})})]}),c(Mse,{isMini:n}),c("div",{class:`${vn}-setting-options`,children:[c("div",{class:`${vn}-setting-option-row`,children:[c("span",{class:`${vn}-setting-option-label`,children:t("floatBallSetting.mini")}),c(dB,{checked:n,onChange:l})]}),c("div",{class:`${vn}-setting-option-row`,children:[c("span",{class:`${vn}-setting-option-label`,children:t("floatBallSetting.hide")}),c(dB,{checked:i,onChange:u})]}),i&&c("div",{class:`${vn}-setting-hide-options`,children:m.map(f=>c(Ise,{onClick:()=>s(f.type),title:f.title,description:f.description,selected:f.type===o,onLinkClick:p=>lt(p)},f.type))})]}),c("div",{class:`${vn}-setting-save-btn`,onClick:d,children:t(i?"floatBallSetting.hideBtn":"floatBallSetting.save")})]})}function Ise(e){let{selected:t,title:n,description:r,onLinkClick:i}=e,a=Lse(r||"");return c("div",{class:"flex items-center clickable",style:"padding: 8px 0",onClick:e.onClick,children:[c("div",{class:t?`${vn}-radio-sel`:`${vn}-radio-nor`,children:c("div",{})}),c("div",{class:"ml-2 text-sm",children:[c("span",{style:"color: var(--text-black-2);",children:n}),r?c("small",{class:"muted text-sm",children:a.map(o=>o.type==="text"?o.value:c("a",{onClick:s=>{s.stopPropagation(),o.href&&i&&i(o.href)},children:o.value}))}):null]})]})}function Lse(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 Qv({position:e,isHideContent:t}){let n=$(null),r=$(null),[i,a]=N(null);W(()=>{fetch(_.ARROW_ANIMATION_URL).then(s=>s.json()).then(s=>a(s)).catch(s=>{})},[]),W(()=>(n.current&&i&&(r.current=Jc.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 c("div",{ref:n,style:{...o}})}var j0="imt-fb";function pB(e){let{t}=H(),n=X(()=>{let a=globalThis.location.href;return et(a,e.rule?.guideContentBlockUrls)},[e.rule]),r=X(()=>{let a=globalThis.location.href;return et(a,e.rule?.guideArrowPermanentUrls)},[e.rule]);W(()=>{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=X(()=>{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:c("div",{class:`${j0}-guide-container`,style:i,children:[!n&&c(ie,{children:[c($t,{type:"close",style:{position:"absolute",top:"20px",[e.fixedPosition]:"15px",cursor:"pointer"},onClick:e.onClose}),c("img",{class:`${j0}-guide-bg ${e.fixedPosition}`,src:Dse,style:{left:e.fixedPosition==="left"?"22px":"30px"}}),c("div",{class:`${j0}-guide-content ${e.fixedPosition}`,children:[c("img",{class:`${j0}-guide-img`,src:An("images/new_float_ball_intro.png")}),c("div",{class:`${j0}-guide-message`,children:[t("floatBall.guideClickToTranslate"),Se().any?`
${t("floatBall.longPress")}`:""]})]})]}),c(Qv,{position:e.fixedPosition,isHideContent:n})]})}var Dse="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjc2IiBoZWlnaHQ9IjIyNCIgdmlld0JveD0iMCAwIDI3NiAyMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGZpbHRlcj0idXJsKCNmaWx0ZXIwX2RfMjg2MDBfMTUwMjcxKSI+CjxwYXRoIGQ9Ik0yMCAzNi4xMjg5QzIwIDI1LjA4MzIgMjguOTU0MyAxNi4xMjg5IDQwIDE2LjEyODlIMjM2QzI0Ny4wNDYgMTYuMTI4OSAyNTYgMjUuMDgzMiAyNTYgMzYuMTI4OVYxMDMuMTIyVjEwOC4wNjRWMTEzLjc0OVYxODBDMjU2IDE5MS4wNDYgMjQ3LjA0NiAyMDAgMjM2IDIwMEg0MEMyOC45NTQzIDIwMCAyMCAxOTEuMDQ2IDIwIDE4MFYzNi4xMjg5WiIgZmlsbD0idXJsKCNwYWludDBfbGluZWFyXzI4NjAwXzE1MDI3MSkiLz4KPC9nPgo8ZGVmcz4KPGZpbHRlciBpZD0iZmlsdGVyMF9kXzI4NjAwXzE1MDI3MSIgeD0iMCIgeT0iMC4xMjg5MDYiIHdpZHRoPSIyNzYiIGhlaWdodD0iMjIzLjg3MSIgZmlsdGVyVW5pdHM9InVzZXJTcGFjZU9uVXNlIiBjb2xvci1pbnRlcnBvbGF0aW9uLWZpbHRlcnM9InNSR0IiPgo8ZmVGbG9vZCBmbG9vZC1vcGFjaXR5PSIwIiByZXN1bHQ9IkJhY2tncm91bmRJbWFnZUZpeCIvPgo8ZmVDb2xvck1hdHJpeCBpbj0iU291cmNlQWxwaGEiIHR5cGU9Im1hdHJpeCIgdmFsdWVzPSIwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAxMjcgMCIgcmVzdWx0PSJoYXJkQWxwaGEiLz4KPGZlT2Zmc2V0IGR5PSI0Ii8+CjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjEwIi8+CjxmZUNvbXBvc2l0ZSBpbjI9ImhhcmRBbHBoYSIgb3BlcmF0b3I9Im91dCIvPgo8ZmVDb2xvck1hdHJpeCB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMC4xIDAiLz4KPGZlQmxlbmQgbW9kZT0ibm9ybWFsIiBpbjI9IkJhY2tncm91bmRJbWFnZUZpeCIgcmVzdWx0PSJlZmZlY3QxX2Ryb3BTaGFkb3dfMjg2MDBfMTUwMjcxIi8+CjxmZUJsZW5kIG1vZGU9Im5vcm1hbCIgaW49IlNvdXJjZUdyYXBoaWMiIGluMj0iZWZmZWN0MV9kcm9wU2hhZG93XzI4NjAwXzE1MDI3MSIgcmVzdWx0PSJzaGFwZSIvPgo8L2ZpbHRlcj4KPGxpbmVhckdyYWRpZW50IGlkPSJwYWludDBfbGluZWFyXzI4NjAwXzE1MDI3MSIgeDE9IjE0NS4zMzEiIHkxPSIxNi4xMjg5IiB4Mj0iMTQ1LjMzMSIgeTI9IjIwMCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgo8c3RvcCBzdG9wLWNvbG9yPSIjRkY5MkJDIi8+CjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0id2hpdGUiLz4KPC9saW5lYXJHcmFkaWVudD4KPC9kZWZzPgo8L3N2Zz4K";function Vn(e){Gd()?ci.openPage({path:"vip"}):globalThis.open(e||_.PRICING_URL)}var hB="imt-manga";function yB({visible:e,onClose:t,top:n,fixedPosition:r,ctx:i}){let{t:a}=H(),o=g=>{g?.target?.id===z+"-popup-overlay"&&t()},s=X(()=>{let g={position:"fixed",top:n+60+16};return r=="left"&&(g.left=48-10),r=="right"&&(g.right=48-10),g},[n,r]),l=X(()=>{let g=i.config.generalRule.imageRule.enableFreeCredit;return i.isPro||g&&i.user?a("guide.mangaProTip"):!i.user&&g?a("guide.mangaLoginTip",{freeImageQuota:ff}):a("guide.mangaNoProTip")},[i]),u=X(()=>{let g=i.config.generalRule.imageRule.enableFreeCredit;return i.isPro||g&&i.user?a("floatBall.iKnow"):!i.user&&g?a("imageQuota.loginNow"):a("upgradeToProWithProfile")},[i]),d=re(()=>{t();let g=i.config.generalRule.imageRule.enableFreeCredit;if(!i.user&&g){lt(_.USER_LOGIN_URL);return}i.isPro||Vn(_.GO_AUTH_PRICING_FOR_MANGA_GUIDE)},[i,t]);return e?(W(()=>{St(i,"manga_guide")},[i]),c("div",{onClick:o,id:z+"-popup-overlay",class:`${z}-popup-overlay`,style:{pointerEvents:"all"},children:c("div",{class:"imt-fb-guide-container",style:s,children:[c("img",{class:`${hB}-guide-bg ${r}`,src:`${_.OSS_BASE}static/extension/images/popup-manga-bg.png`}),c("div",{class:`${hB}-guide-content ${r}`,children:[c("div",{class:"imt-manga-guide-message",dangerouslySetInnerHTML:{__html:l}}),c("div",{class:"imt-fb-primary-btn imt-fb-guide-button img-manga-guide-button",onClick:d,children:u})]}),c($t,{className:"img-manga-close",type:"close",onClick:t})]})})):null}var Ds="imt-fb";var Pse={position:"right",right:0,top:335};function Yv(e){let{t}=H(),n=fn(),[r,i,a,o,s]=n,l=Ha(r),u=e.ctx,d=$(u);d.current=u;let{isFullScreen:g}=eB(),[m,f]=N(!1),p=re(Xe=>{if(Xe&&d.current){N9(d.current).then(()=>{f(Xe)});return}f(Xe)},[d,f]),h=$(m);h.current=m;let x=$(!1),[y,b]=N(!0),[v,C]=N(!1),{pageStatus:S}=ZF(),T=gl(u,r);vr(()=>{T?.mini!==void 0&&C(T.mini)},[T?.mini]);let w=T?.fixedPosition||"right",E=w==="right"?"left":"right",k=pr(),{isShowGuide:D,handleCloseGuide:U}=tB(e.ctx,T);nB({ctx:u,fixedPosition:w,setPopupVisible:p});let B=re(()=>{if(D&&U(),T?.clickType==="popup")return p(!0);T?.clickType==="translate"&&(u.rule?.enableDeepFrameTranslatePage?uk("float_ball",yt()):be("content",{method:"toggleTranslatePage",data:{trigger:"float_ball",currentPageStatus:yt()}}))},[T,p,D,U]),P=re(()=>{p(!0)},[p]),O=y&&!!l,[F,L]=N(!1),R=$(!1),A=re(Xe=>{R.current=Xe,L(Xe)},[]),{containerRef:j,active:V,ballRef:G,floatBallConfigRef:K,setActive:q,isDragging:Z}=XF({handleBallClick:B,handleMobileBallLongPress:P,isShow:O,localConfig:e.localConfig,popupVisible:m,closeVisible:F,closeVisibleRef:R,rule:T,updateFloatBallRule:Xe=>{i(Dt=>aa({...Dt},Xe))}}),ne=Bse(),Y=u.rule.imageRule,oe=Y?.type?.startsWith("manga")&&Y?.enable&&Y?.enableMangaFloatBall&&pl(Y),{settingTransform:Me,sideTransform:Ce,mangaTransform:ue,feedbackTransform:ge}=$F(T,V,v,ne);sB(u,V);let{tooltipDelay:me,disableTooltip:he,tooltipText:te,handleShowTooltip:Re}=aB(u,S),[ye,ce]=N(null),se=re(async()=>{let Xe=d.current;if(!Xe)return;let Dt=await Zc({ctx:Xe,usageScene:Xe.usageScene||"web_page",service:Xe.translationService});ce(Dt)},[]),we=re(async()=>{await Re(),await se()},[Re,se]);W(()=>{se()},[se,u.translationService,u.usageScene]),oB(p,h),lB(q);let fe=globalThis.innerWidth<=385;if(!O)return null;let ze=T?.transparency!=null?T?.transparency/100:.5,Ee=V?1:1-ze,{bodyRight:tt}=cB();return W(()=>{async function Xe(){let Dt=await r4(d.current,{useUsageCondition:!0,useNewUser:!0});!Dt||await ai()||await OF()||Xc({trigger:"floatBall",hiddenArrow:!1,storeReviewUrl:Dt.reviewUrl,anchorPlacement:{anchor:G.current,position:"left",align:"center",offsetY:35}})}Xe()},[]),c(ie,{children:c("div",{class:`${Ds}-container ${w} notranslate ${Z?"dragging":""}`,"data-theme":k,style:{zIndex:g?-1:qn-10,pointerEvents:V||m?"all":"none",right:tt},ref:j,onTouchStart:Do.bind(null,!0),onMouseDown:Do.bind(null,!1),children:[c(n4,{ctx:u,isShowGuide:D,displayPosition:"webpage",top:K.current.top,fixedPosition:w}),c(Ose,{ctx:u,rule:T,tooltipPosition:E,sideTransform:Ce,settingTransform:Me,ballOpacity:Ee,isShowGuide:D,setSettings:i}),c(Fse,{ctx:u,mangaResultRef:x,mangaTransform:ue,floatBallConfigRef:K,fixedPosition:w,hidden:D,ballOpacity:Ee}),!ne&&c("div",{style:{display:"flex",alignItems:"center",flexDirection:"row",gap:8},children:[c(pB,{visible:D,top:K.current.top,fixedPosition:w,rule:T,ctx:u,onClose:()=>{U(),q(!1)}}),c($t,{type:"close",style:{display:w=="left"?"none":"block",opacity:0}}),c("div",{style:{position:"relative"},children:[c("div",{class:`${Ds}-btn ${w} btn-animate ${v?"mini":""} ${V?"active":""}`,dir:"ltr",ref:G,style:{opacity:Ee},children:c(Ye,{enableMobile:!0,text:ye?.hardHit?ye.message:te,position:E,delay:me,onShow:we,disable:he||Z,children:c("div",{class:"imt-fb-btn-content",children:[v&&c("span",{class:"imt-fb-hit-area"}),c($t,{type:"logo",className:"imt-fb-logo-img-big-bg"}),c($t,{type:"translated",className:"imt-float-ball-translated",hidden:S==="Original"})]})})}),c(Rse,{ctx:u,setVisible:b,setActive:q,closeVisible:F,setCloseVisible:A,isMini:v,setMini:C,active:V&&!D,getModalStyle:()=>{let Xe=bB(K.current.top,300,w);return Xe.right&&(Xe.right=Xe.right+tt),Xe}})]}),c($t,{type:"close",style:{display:w=="left"?"block":"none",opacity:0}})]}),!ne&&c("div",{style:{marginTop:"10px",transform:Me},class:"btn-animate",children:c(Ye,{text:t("floatBall.setting"),position:E,containerClass:"btn-animate",children:c("div",{class:`${Ds}-round-button`,onClick:()=>{q(!0),p(!0)},children:c($t,{type:"setting",className:"imt-fb-icon",style:{width:24,height:24}})})})}),(!ne||oe)&&c("div",{style:{marginTop:ne?0:"10px",transform:ge},class:"btn-animate",children:c(Ye,{text:t("reportTip"),position:E,containerClass:"btn-animate",children:c("div",{class:`${Ds}-round-button`,onClick:()=>{He(x.current?"mangaReport":"webReport")},children:c($t,{type:"feedback",className:"imt-fb-icon"})})})}),c(Zv,{onClose:()=>{q(!1),p(!1)},isSheet:fe,visible:m,getModalStyle:()=>{let Xe=bB(K.current.top,ZS,w);return Xe.right&&(Xe.right=Xe.right+tt),Xe}},m+"")]})})}function Rse(e){let{t}=H(),n=fn(),[r,i,a,o]=n,s=gl(e.ctx,r),l=re(d=>{if(e.ctx&&s&&(e.setActive(!1),e.setCloseVisible(!1),d.type!=="cancel")){if(d.type==="setting"){e.setMini(d.mini),i(g=>aa({...g},{...s,mini:d.mini}));return}if(d.type==="hide"){let g=d.closeType;e.setVisible(!1),g==="AlwaysClose"?i(m=>(e.ctx?.rule.imageRule.type==="manga"&&(m.generalRule||(m.generalRule={}),m.generalRule["imageRule.add"]||(m.generalRule["imageRule.add"]={}),m.generalRule["imageRule.add"].enableMangaFloatBall=!1),aa({...m},{...s,enable:!1}))):g==="CurrentWebsite"&&i(m=>aa({...m},{...s,blockUrls:[...s.blockUrls,globalThis.location.hostname]}))}}},[r,aa,e.ctx,s,e.setVisible,e.setMini]),u=vo(e.ctx.config.useOnlineOptions)+"#floating";return c(ie,{children:[c("div",{title:t("floatBall.close"),class:`${Ds}-close-button`,style:{opacity:e.active?1:0,pointerEvents:e.active?"all":"none"},onClick:()=>{e.setActive(!0),e.setCloseVisible(!0)},children:c($t,{type:"close"})}),c(fB,{visible:e.closeVisible,onClose:()=>{e.setActive(!1),e.setCloseVisible(!1)},getModalStyle:e.getModalStyle,onConfirm:l,settingUrl:u,isMini:e.isMini})]})}function Zv(e){let t=n=>{n?.target?.id===z+"-popup-overlay"&&e.onClose()};return e.isSheet?c(id,{isOpen:e.visible,onClose:e.onClose,children:c(Y1,{onClose:e.onClose,className:"popup-container-sheet",hidden:!e.visible})}):c("div",{hidden:!e.visible,onClick:t,style:e.overlayStyle,id:z+"-popup-overlay",class:`${z}-popup-overlay`,children:c("div",{class:`${z}-popup-wrapper`,style:e.getModalStyle(),children:c(Y1,{onClose:e.onClose,hidden:!e.visible})})})}function Nse(){return{width:globalThis.innerWidth||document.documentElement.clientWidth,height:globalThis.innerHeight||document.documentElement.clientHeight}}var bB=(e,t,n)=>{let i=Nse().height,a={position:"fixed"},o=0;return tS()&&(e=Pse.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 Fse({ctx:e,mangaResultRef:t,floatBallConfigRef:n,fixedPosition:r,hidden:i,className:a,mangaTransform:o,ballOpacity:s}){let[l,u]=N(!1),{mangaStatus:d}=JF(),g=e.rule.imageRule,m=!g?.type?.startsWith("manga");W(()=>{m||gn().then(p=>{p.showMangaGuide||(p.showMangaGuide=!0,u(!0),mr(p))})},[m,u]);let f=re(async p=>{if(p.preventDefault(),p.stopPropagation(),!await xa(e)){if(!e.user){u(!0);return}He("freeImageQuotaExhausted");return}be("content","toggleTranslateManga")},[]);return!pl(g)||i||!g?.enable||!g.enableMangaFloatBall?null:(t.current=!m,c("div",{hidden:m,class:`imt-no-events ${a||""}`,id:"manga-button",style:{position:"relative",opacity:s},children:[c("div",{class:"imt-manga-button btn-animate",style:d!="Original"?{opacity:1,transform:o}:{transform:o},children:[c("div",{style:{position:"relative"},children:[c($t,{type:"manga",style:{verticalAlign:"middle"},onClick:f,hidden:d=="Translating"}),c($t,{type:"translated",onClick:f,hidden:d!="Translated",className:"imt-manga-translated"})]}),c($t,{type:"loading",onClick:f,style:"margin:9px",hidden:d!="Translating",className:"imt-float-ball-loading"})]}),c(yB,{ctx:e,visible:l,top:n.current.top,fixedPosition:r,onClose:()=>{u(!1)}})]}))}function Bse(){let e="";return ot()?e=ya()||"":Gt()&&(e=Wo()||""),!!e?.startsWith("2.")}function Ose({ctx:e,rule:t,tooltipPosition:n,sideTransform:r,settingTransform:i,ballOpacity:a,isShowGuide:o,setSettings:s}){if(!t)return null;let{t:l}=H(),u=t?.enableSidePanel==!1,d=$(null),[g,m]=N(t?.enablePinSidePanel===!0),f=$(!1);W(()=>{let x=!1;return vb().then(y=>{x||(f.current=!!y)}),()=>{x=!0}},[]);let{isVisible:p,notification:h}=t4(e,"sidePanel",o);return W(()=>{if(h?.forcePinSidePanel&&p){m(!0);return}m(t?.enablePinSidePanel==!0)},[t?.enablePinSidePanel,h?.forcePinSidePanel,p]),Use()||u?null:c(ie,{children:c("div",{style:{transform:g?r:i,opacity:g?a:1},ref:d,class:"btn-animate",children:c("div",{class:`${Ds}-btn ${Ds}-more-button ${Ds}-side`,onClick:()=>{U0()&&!f.current&&(f.current=!0);let x=!f.current;us(e,"float_ball",x),f.current=x},children:[p&&c($t,{type:"side-new-badge"}),c(Ye,{text:l("sidePanelTooltip"),position:n,containerClass:"btn-animate",delay:300,children:c(ie,{children:[c($t,{type:"side",className:"imt-fb-icon"}),c(_se,{pinSidePanel:g,onToggle:x=>{ae({key:"pin_side_panel",ctx:e,params:{trigger:x?"1":"0"}}),m(x),s(y=>{if(!t)return;let b={...t,enablePinSidePanel:x};return aa({...y},b)})}})]})})]})})})}function _se({pinSidePanel:e,onToggle:t}){let n=r=>{r.stopPropagation(),t(!e)};return e?c(DN,{class:"imt-fb-pin-icon",onClick:n}):c(PN,{class:"imt-fb-pin-icon",onClick:n})}function Use(){return Se().any||xS()}async function Jv(){try{let e=await We(),t={url:globalThis.location.href,config:e},n=await Wr(t),r=document.createElement("div");r.id=z+"-browser-popup",r.setAttribute("style","all: initial");let i=r.attachShadow({mode:"open"});jse(i,e,n),document.documentElement.appendChild(r)}catch{}}function jse(e,t,n){let r=document.createElement("div");r.id="mount",r.style.display="block";let i=mt(),a=[i["base.css"],i["tailwind-compat.css"],i["popup.css"],i["float_ball.css"]].join(`
`);zse(e,[a]),e.appendChild(r),tn(c(Pi,{lang:t.interfaceLanguage,children:c(Hse,{ctx:n})}),r)}function zse(e,t){for(let n of t){if(Ae()&&!Cn()&&typeof GM!==void 0&&GM.addElement){GM.addElement(e,"style",{textContent:n});continue}e.appendChild(document.createElement("style")).textContent=n}}function Hse(e){let[t,n]=N(!1),r=$(t);r.current=t;let i=$(""),a=$(""),[o,s]=N();W(()=>{let u=d=>{let g=d.detail;i.current=g.style||"",a.current=g.overlayStyle||"",s(g.isSheet),g.open===void 0||g.open===null?n(!r.current):n(g.open)};return globalThis.document.addEventListener(Xs,u),()=>{globalThis.document.addEventListener(Xs,u)}},[r]);let l=X(()=>{if(o!=null)return o;let u=globalThis.innerWidth;return Se().any&&u<=450},[o]);return c(Zv,{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:l,onClose:()=>{n(!1)}})}function l4(e){document.dispatchEvent(new CustomEvent(Xs,{detail:e||{}}))}function vB(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 Xv(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 u4(e){let t={};return Vd()&&(t.xreferer=location.origin),await _e({url:e,responseType:"base64",headers:t})}var Ka=null;async function xB(e,{srcUrl:t}){if(!Ka){M.error("rightMenu image ele not found",t,Ka);return}if(Ka.translationStatus!=="translating"){if(Ka.hasTranslate){Vi(Ka);return}if(!vB(t,Ka))try{let n=new URL(t),r=new URL(Ka.src);if(!(n.origin===r.origin&&n.pathname===r.pathname)){M.error("rightMenu image srcUrl not match",n,r);return}}catch(n){M.error("rightMenu image srcUrl not invalid",t,Ka.src,n);return}Hi({ctx:e,ele:Ka,isSingleImage:!0,trigger:"image_right_menu"})}}function CB(){return{type:"contextmenu",listener:e=>{e.target instanceof HTMLImageElement&&(Ka=e.target)}}}var ad={};function TB(e,t,n){return`${e}_${t}_${n}`}async function SB(e,t){let{sourceImageUrl:n,targetLanguage:r,mode:i}=t;try{let{blob:a,imgHash:o}=await EB(n);if(await jg(a))throw new zi("GIFs not supported","gif_not_supported");if(!o)throw new Error("Failed to calculate image hash");let u=Bl({sourceUrl:n,to:r});if(u?.targetUrl)return{translatedImageUrl:u.targetUrl,mode:i};let d,g,m={...e,targetLanguage:r},f={sourceUrl:n,to:r,imgHash:o,siteUrl:location.href},p=TB(i,o,r);ad[p]||(ad[p]={client:{state:"extension_uploading"},pro:{state:"extension_uploading"}});try{i==="client"?(m.isPro=!1,d=await c4({context:m,sourceUrl:o,imgEle:document.createElement("img"),blob:a,imgHash:o,onStateChange:h=>{ad[p][i]={state:h}},imageDb:f})):i==="pro"&&(d=await I0({context:m,sourceUrl:o,blob:a,imgHash:o,imageType:"common",onStateChange:h=>{ad[p][i]={state:h}}})),d&&i==="pro"&&qa({...f,targetUrl:d})}catch(h){let x=i==="client"?"Free translation failed":"Pro translation failed";g=h.message||x,ad[p][i].error=g}return{translatedImageUrl:d,mode:i,error:g}}catch(a){return{translatedImageUrl:"",mode:i,error:a.message||"Unknown error"}}}async function wB(e,t){let{sourceImageUrl:n,targetLanguage:r,mode:i}=t,{imgHash:a}=await EB(n),o=de.bind(null),s=TB(i,a,r),l=ad[s],u={state:"extension_uploading",error:void 0},d=l?.[i]||u;return{state:$5(d.state,o),mode:i,error:d.error}}async function EB(e){let t=await fetch(e);await oa(t);let n=await t.blob(),r=await dc(n);return{blob:n,imgHash:r}}var $v=class{bridge;waitForBridge(t=1e4){return!Gt()&&!ot()&&!ex()?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)}},Hst=new $v;function ex(){return ii?window.location.href.endsWith("browser.html"):!1}var d4;function AB(e){if(tx())return;let t=`${z}-modal-root`,n=`${z}-modal`,r=document.getElementById(t),i=`${z}-modal-title`,a=`${z}-modal-body`,o=`${z}-modal-footer`;r=document.createElement("div"),r.setAttribute("translate","no"),r.className=`no-translate ${z}-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"}),l=document.createElement("style"),u=mt();l.textContent=u["input.css"],s.appendChild(l);let d=document.createElement("div");d.className=n+" notranslate",d.id=n;let g=document.createElement("div");g.className=z+"-modal-content notranslate",d.appendChild(g);let m=document.createElement("span");m.textContent="\xD7",m.className=z+"-close",g.appendChild(m);let f=document.createElement("div");f.className=i+" notranslate",g.appendChild(f);let p=document.createElement("div");p.className=a+" notranslate",g.appendChild(p);let h=document.createElement("div");h.className=o,g.appendChild(h),s.appendChild(d),m.onclick=function(){z0()},d4=x=>{x.target===d&&z0()},setTimeout(()=>s.addEventListener("click",d4),100),e(d,f,p,h,z0)}function tx(){return!!document.querySelector(`#${z}-modal-root`)}function z0(){document.querySelector(`#${z}-modal-root`)?.remove(),d4&&document.removeEventListener("click",d4)}var Vse=2500;function kB({msg:e,type:t="sameLang",duration:n=Vse}){return Qt({showOverlay:!1,placement:"top",presetSkin:"none",render:({close:r})=>{let i=de.bind(null),a=$(),{displayMsg:o,showNeverBtn:s,disableKey:l}=X(()=>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]),u=re(()=>{a.current&&clearTimeout(a.current)},[]),d=re(()=>{u(),a.current=setTimeout(r,n)},[u,n,r]);W(()=>(d(),()=>u()),[d,u]);let g=re(async()=>{if(!l){r();return}try{let m=await Ln();await Bt({...m,[l]:!1})}catch{}finally{r()}},[l,r]);return c(ie,{children:c("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:u,onMouseLeave:d,role:"status","aria-live":"polite",children:[c("div",{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[c("span",{children:o}),s&&c("div",{style:{margin:"0 20px 0 72px",textDecoration:"underline",cursor:"pointer"},onClick:g,children:i("neverShowFuture")})]}),c("span",{style:{color:"#666666",fontSize:"20px",fontWeight:"bold",padding:"0 10px",cursor:"pointer"},onClick:r,role:"button","aria-label":"close",children:"\xD7"})]})})}})}function nx(e,t,n,r,i,a){let o=de.bind(null),s=document.createElement("div");s.className=z+"-btn-container";let l=document.createElement("button");l.className=z+"-btn",l.innerHTML=ht.sanitize(o(t)),l.onclick=()=>{n(l,!0),Vn(r)},s.appendChild(l);let u=document.createElement("div");return u.className=z+"-detect-service-text",u.style.marginTop="12px",u.style.fontSize="14px",u.style.color="#999",u.style.textAlign="center",u.innerHTML=o("detectServiceLoading"),a&&Ps(e,e.translationService,!1,a).then(d=>{if(d){let g=document.createElement("a");g.href="#",g.style.color="#999",g.style.textDecoration="none",g.innerHTML=o("toggleToService",{service:qt(e.config,d)}),g.onclick=m=>{m.preventDefault(),od(e.config,d),n(l,!0)},u.innerHTML="",u.appendChild(g)}else u.innerHTML=o("goSettings")}),s.appendChild(u),s}function MB(e,t,n,r="retry",i,a,o,s,l,u){let d=de.bind(null),g=t||d("networkError"),m=d("unknownError");o.innerText=g,o.style.textAlign="left";let f=`<div style="word-break: break-all;">${n||m}</div>`;s.innerHTML=ht.sanitize(f,{ADD_ATTR:["target"]}),l.innerText="",s.style.textAlign="left";let p="",h=null,x=document.createElement("button");if(r=="retry"){p=d("retryAllButton"),x.setAttribute(`data-${z}-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"/>',x.appendChild(y),x.onclick=()=>{a.style.display="none",be("content","retryFailedParagraphs"),u(x,!0)}}else if(r=="agreeProtocol")p=d("agreeAndContinue"),ae({key:"show_agree_protocol_modal",ctx:e}),x.onclick=async()=>{u(x,!0),await Au(e),ae({key:"click_agree_protocol",ctx:e})};else if(r=="login"){St(e,"error_modal_login");let y=e.rule.detectionServiceOrder,b=nx(e,"goLogin",u,i||_.PRICING_URL+"?utm_campaign=service_error&utm_source=extension&utm_medium=webpage","service_error",y);l.appendChild(b);return}else if(r=="upgradeAiSubtitle")St(e,"error_modal_ai_subtitle"),p=d("upgradeToPro"),x.onclick=()=>{u(x,!0),globalThis.open(i||_.USER_LOGIN_URL_FROM_ERROR)};else if(r=="upgrade"){St(e,"error_modal");let y=e.rule.detectionServiceOrder,b=nx(e,"upgradeToPro",u,i||_.GO_UPGRADE_FOR_ERROR_DIALOG,"upgrade_error",y);l.appendChild(b);return}else if(r=="loginOrUpgradeByDownloadSubtitle")St(e,"subtitle_download_login"),p=d("goLogin"),x.onclick=()=>{u(x,!0),Vn(i||_.GO_AUTH_PRICING_FOR_SUBTITLE_DOWNLOAD)};else if(r=="loginOrUpgradeByAiSubtitle")St(e,"error_modal_ai_subtitle"),p=d("upgradeToProWithProfile"),x.onclick=()=>{u(x,!0),Vn(i||_.GO_AUTH_PRICING_FOR_AI_SUBTITLE)};else if(r=="setting")p=d("goSettings"),x.onclick=()=>{u(x,!0),globalThis.open(i||_.OPTIONS_URL)};else if(r=="changeService"||r=="changeProService"){St(e,"service_error");let y=e.rule.detectionServiceOrder;if(r=="changeProService"&&y&&(y=[...Hf(),...y]),r=="changeService"&&!e.isPro){St(e,"error_modal");let b=nx(e,"upgradeToPro",u,i||_.PRICING_URL+"?utm_campaign=service_error&utm_source=extension&utm_medium=webpage","service_error",y);l.appendChild(b);return}else p=d("detectServiceLoading"),x.onclick=()=>{u(x,!0),globalThis.open(i||_.OPTIONS_URL)},Ps(e,e.translationService,!1,y).then(b=>{b?(p=d("toggleToService",{service:qt(e.config,b)}),x.innerHTML=ht.sanitize(p),x.onclick=()=>{od(e.config,b),u(x,!0)}):(p=d("goSettings"),x.innerHTML=ht.sanitize(p))})}else if(r=="autoEnableSubtitle")p=d("subtitle.enableDualSubtitleActionLabel"),x.onclick=async()=>{let y=await it();y.generalRule||(y.generalRule={}),y.generalRule["subtitleRule.add"]||(y.generalRule["subtitleRule.add"]={}),y.generalRule["subtitleRule.add"].autoEnableSubtitle=!0,await Bt(y),be("content",{method:"autoEnableSubtitleChanged",data:{trigger:"quick_button"}}),u(x,!0)};else if(r=="refreshPage")p=d("refreshPage"),x.onclick=()=>{window.location.reload()};else if(r=="usageTips"){p=d("iKnow"),h=document.createElement("div"),h.className=z+"-btn-container",h.appendChild(x),x.onclick=()=>{u(x,!0)};let y=g4(d("notShowAgain"),async()=>{u(x,!0);let b=await it();await Bt({...b,tokenUsageTips:{...b.tokenUsageTips,enableMaxTips:!1}})});h.appendChild(y)}else if(r=="aiSubtitleQuotaExceeded"||r=="aiSubtitleTrialQuotaExceeded"){let y=r=="aiSubtitleTrialQuotaExceeded";p=d(y?"endTrialNow":"buyAiSubtitleQuota"),h=document.createElement("div"),h.className=z+"-btn-container",h.appendChild(x),x.onclick=()=>{u(x,!0),y?globalThis.open(i||_.GO_UPGRADE_FROM_TRIAL_FOR_AI_SUBTITLE):globalThis.open(i||_.AI_SUBTITLE_QUOTA_URL)};let b=g4(d("showUsageRecord"),()=>{u(x,!0),globalThis.open(_.GO_ACCOUNT_USAGE_URL)});h.appendChild(b)}else if(r=="aiSubtitleLogin")St(e,"ai_subtitle_login"),p=d("goLogin"),x.onclick=()=>{u(x,!0),globalThis.open(i||_.USER_LOGIN_URL_FROM_ERROR)};else if(r=="freeImageError"){St(e,"freeImageError"),p=d("upgradeToPro"),x.onclick=()=>{u(x,!0),Vn(i||_.GO_AUTH_PRICING_FOR_FREE_IMAGE_ERROR)},h=document.createElement("div"),h.className="imt-action-container";let y=document.createElement("div");y.innerText=d("freeImage.continueText"),y.className="imt-retry-text",y.onclick=()=>{u(y,!0)},h.appendChild(x),h.appendChild(y);let b=document.createElement("div");b.style.textAlign="left",b.style.marginTop="12px",b.innerText=d("freeImage.upgradeToProText"),s.appendChild(b)}else if(r=="loginUsePro"||r=="loginUseMax"){let y=r=="loginUseMax";St(e,y?"error_modal_login_max":"error_modal_login_pro"),p=d(y?"error.freeUpgradeToMax":"upgradeToPro"),h=document.createElement("div"),h.className=z+"-btn-container",h.appendChild(x),x.onclick=()=>{u(x,!0);let v=y?"login_use_max":"login_use_pro";Vn(i||_.PRICING_URL+`?utm_campaign=${v}&utm_source=extension&utm_medium=popup`)};let b=g4(d("error.alreadyMemberLogin"),()=>{u(x,!0),globalThis.open(_.USER_LOGIN_URL_FROM_ERROR)});h.appendChild(b)}else if(r=="upgradeToPro"||r=="upgradeToMax"){let y=r=="upgradeToMax",b=!!e.isPro;St(e,y?"error_modal_upgrade_max":"error_modal_upgrade_pro"),y?p=d(b?"error.upgradeMaxBtn":"error.freeUpgradeToMax"):p=d("upgradeToPro"),h=document.createElement("div"),h.className=z+"-btn-container",h.appendChild(x),x.onclick=()=>{u(x,!0);let S=y?"upgrade_to_max":"upgrade_to_pro";Vn(i||_.PRICING_URL+`?utm_campaign=${S}&utm_source=extension&utm_medium=popup`)};let v=y&&e.isPro?d("error.switchToProModel"):d("error.switchToFreeModel"),C=g4(v,()=>{u(x,!0);let S=y&&e.isPro?"deepseek-pro":"bing-free";od(e.config,S)});v===d("error.switchToFreeModel")&&(C.style.color="#999"),h.appendChild(C)}else if(r=="iKnow")p=d("iKnow"),x.onclick=()=>{u(x,!0)};else if(r=="none")return;x.className=z+"-btn",x.innerHTML+=ht.sanitize(p),h?l.appendChild(h):l.appendChild(x)}function g4(e,t){let n=document.createElement("button");return n.className=z+"-link-btn",n.innerHTML=e,n.onclick=t,n}async function IB(e,t){let n,r,i;if(t){let u=w1(e);n=new Blob([u],{type:"text/html"}),r=await it(),r=await kc(!1,r),i=xp()}let a=Cn()?void 0:await Ol(),o=await wa(),l={subtitlePositions:(await Sn()).subtitlePositions};return{isCNPlugin:Ue(),siteUrl:location.href,pluginVersion:Kn(),isMobile:Se().any,platform:Ri(),sourceLanguage:e.sourceLanguage,targetLanguage:e.targetLanguage,userConfig:{targetLanguage:e.targetLanguage,userTranslationServices:{translationService:e.translationService},...r},localConfig:l,usedGlossaries:i,usageLimitStats:a,abTag:o,userAgent:navigator.userAgent,htmlBlob:n}}async function LB(e,t,n,r,i,a){let{htmlBlob:o,...s}=r,l=await Sr(),u={resource:r.siteUrl,reason:t,metaData:JSON.stringify(s),feedType:i,deviceId:l,domain:location.hostname};o&&n&&(u.base64_file=await zc(o)),a&&(u.contactInfo=a);let d=await le.getUserToken();return ul()?await _e({url:`${_.BASE_API}v1/feed-back/web-report-log`,method:"POST",requestType:"formData",body:u,headers:{token:d}}):await fetch(`${_.BASE_API}v1/feed-back/web-report-log`,{method:"POST",body:Ms(u),headers:{token:d}}).then(async g=>(await oa(g,"web"),g.json()))}function DB(e,t,n){if(e=="manga"||e=="image")return cN(t,n);if(e=="web"||e=="docTranslationForWeb")return IB(t,n)}function PB(e,t,n,r,i,a){if(e=="manga"||e=="image")return dN(t,n,i,a,e,r);if(e=="web"||e=="docTranslationForWeb")return LB(t,n,i,a,e,r)}var Gse=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)+$/,Wse=`
.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 NB(e,t,n){let r=de;return Qt({width:480,presetSkin:"standard",styles:`${Wse}${n?.styles||""}`,render:({close:i})=>c(qse,{type:e,ctx:t,close:i,options:n,t:r})})}function qse({type:e,ctx:t,close:n,options:r,t:i}){let[a,o]=N(r?.initialView??"form"),[s,l]=N(""),[u,d]=N(""),[g,m]=N(!1),[f,p]=N(""),[h,x]=N(!1),[y,b]=N(null);W(()=>{let S=!0;return le.getUserInfo().then(T=>{if(!S||!T)return;let w=t.config.ignoreReportEmailRegex&&new RegExp(t.config.ignoreReportEmailRegex).test(T.email);T.email&&!w&&d(T.email)}),()=>{S=!1}},[t.config.ignoreReportEmailRegex]),W(()=>{(Gt()||ot())&&ci.getBaseInfo().then(S=>{b(S)})},[]),W(()=>{u&&p(RB(u,i))},[u,i]);let v=X(()=>!!s.trim()&&!RB(u,i)&&!h,[s,u,h,i]),C=async()=>{if(v){x(!0);try{let S=await DB(e,t,g);if(y&&(S={...S,...y}),await PB(e,t,s,u,g,S),r?.showSuccessFeedback===!1){n();return}o("success")}catch{o("fail")}finally{x(!1)}}};return a==="success"||a==="fail"?c(Yse,{view:a,t:i,onClose:n,onRetry:()=>o("form")}):c("div",{className:"report-modal",children:[c(ir,{close:n,children:i("reportInfo.title")}),c(Qse,{ctx:t,t:i}),c(Kse,{reason:s,email:u,attachLog:g,emailError:f,uploading:h,canSubmit:v,t:i,onReasonChange:l,onEmailChange:d,onAttachLogChange:m,onSubmit:C})]})}function Kse({reason:e,email:t,attachLog:n,emailError:r,uploading:i,canSubmit:a,t:o,onReasonChange:s,onEmailChange:l,onAttachLogChange:u,onSubmit:d}){return c("div",{children:[c("div",{className:"report-form__field",children:[c("label",{htmlFor:"reason",className:"report-form__label",children:[c("span",{className:"report-form__required",children:"*"}),o("reportInfo.reasonLabel")]}),c("textarea",{id:"reason",value:e,placeholder:o("reportInfo.reasonDesc"),required:!0,onInput:g=>s(g.target.value),onKeyDown:g=>g.stopPropagation(),className:"report-form__textarea"})]}),c("div",{className:"report-form__field",children:[c("label",{htmlFor:"emailReport",className:"report-form__label",children:[c("span",{className:"report-form__required report-form__required--ghost",children:"*"}),o("reportInfo.email")]}),c("input",{id:"emailReport",type:"email",value:t,onInput:g=>l(g.target.value),onKeyDown:g=>g.stopPropagation(),placeholder:o("reportInfo.emailPlaceholder"),className:"report-form__input"})]}),c("div",{hidden:!r,className:"report-form__error",children:r||o("reportInfo.emailError")}),c("div",{className:"report-form__checkbox",children:[c("input",{id:"cbMangaReport",type:"checkbox",checked:n,onChange:g=>u(g.target.checked),className:"report-form__checkbox-input"}),c("label",{htmlFor:"cbMangaReport",className:"report-form__checkbox-label",dangerouslySetInnerHTML:{__html:o("reportInfo.attachLog",{},{markdown:!0})}})]}),c("div",{className:"modal-skin-standard__actions",children:c(Yt,{type:"primary",onClick:d,disabled:!a,loading:i,style:{minWidth:"160px"},children:o("reportInfo.submit")})})]})}function Qse({ctx:e,t}){if(e.rule?.id!=="pdf"&&e.rule?.id!=="pro-pdf-immersive")return null;let n=t("babelDoc.drainage",{babelDocUrl:_.BABELDOC_URL_BY_FEEDBACK_MODAL});return c("div",{className:"report-title-extra",dangerouslySetInnerHTML:{__html:n}})}function Yse({view:e,t,onClose:n,onRetry:r}){let i=e==="success";return c("div",{className:"report-modal",children:[c(ir,{close:n,children:t("reportInfo.title")}),i?c(Zse,{}):c(Jse,{}),c("div",{className:"report-feedback__title",children:t(i?"reportInfo.submitSuccess":"reportInfo.submitFail")}),!i&&c("div",{className:"report-feedback__desc",children:t("reportInfo.submitFailDes")}),c("div",{className:"report-feedback__actions",children:c(Yt,{style:{marginTop:i?"36px":"12px"},type:"primary",onClick:i?n:r,children:t(i?"reportInfo.ok":"error.retry")})})]})}function RB(e,t){let n=e.trim();return n?Gse.test(n)?"":t("reportInfo.emailError"):t("reportInfo.emailEmptyMsg")}function Zse(){return c("div",{className:"report-feedback__icon",children:c("svg",{width:"72",height:"72",viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c("g",{clipPath:"url(#clip0_success_report)",children:c("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)"})}),c("defs",{children:c("clipPath",{id:"clip0_success_report",children:c("rect",{width:"72",height:"72",fill:"white"})})})]})})}function Jse(){return c("div",{className:"report-feedback__icon",children:c("svg",{width:"72",height:"72",viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c("g",{clipPath:"url(#clip0_fail_report)",children:c("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)"})}),c("defs",{children:c("clipPath",{id:"clip0_fail_report",children:c("rect",{width:"72",height:"72",fill:"white"})})})]})})}function FB(e,t){let n=de.bind(null),{trigger:r}=t,i=_.PRICING_URL+`?utm_source=extension&utm_medium=extension&utm_campaign=${r}_ai_context`,a=Qt({closeOnOverlayClick:!1,showOverlay:!1,width:300,borderRadius:20,presetSkin:"custom",render:o=>{let s=u=>{u.preventDefault(),o.close(),Vn(i)},l=()=>{o.close()};return c("div",{style:{display:"flex",flexDirection:"column"},children:[c("img",{style:{borderRadius:"20px 20px 0 0"},src:Xse}),c("div",{style:{padding:"16px 24px 24px 24px",display:"flex",flexDirection:"column"},children:[c("span",{style:{marginBottom:"24px"},children:n("dialog.aiContextDesc")}),c("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")}),c("span",{id:"cancelBtn",style:{cursor:"pointer",marginTop:"16px",color:"#999",textAlign:"center"},onClick:l,children:n("dialog.cancel")})]})]})}});return ae({key:"ai_context_upgrade_show",ctx:e,params:{trigger:r}}),a}var Xse="data:image/png;base64, ";function BB(e,t){let n=de,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,l]=N(e.rule.detectionServiceOrder[0]);W(()=>{let m=!0;return Ps(e,e.translationService,!1,e.rule.detectionServiceOrder).then(f=>{m&&f&&l(f)}),()=>{m=!1}},[e]);let u=()=>{o(),ae({key:"new_user_login_modal_close",ctx:e})},d=()=>{globalThis.open(_.USER_LOGIN_URL_FROM_PRO_SERVICE_TRIAL_ERROR,"_blank"),o(),ae({key:"new_user_login_modal_login",ctx:e})},g=()=>{od(e.config,s),o(),ae({key:"new_user_login_modal_free",ctx:e})};return c("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:[c("span",{className:`${z}-close`,onClick:u,children:"\xD7"}),c("div",{style:{position:"absolute",top:"24px",left:"24px"},dangerouslySetInnerHTML:{__html:Ac}}),c("div",{style:{fontSize:"16px",color:"#333",marginTop:"32px"},children:n("error.proServiceTrialEnd")}),c("div",{style:{marginTop:"16px",fontSize:"16px",fontWeight:700,textAlign:"center"},dangerouslySetInnerHTML:{__html:n("error.loginGetProToken")}}),c("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;"> ${$se} OpenAI ${ele} DeepSeek</span>
    `})}}),c("div",{className:"imt-linear-black-btn",style:{margin:"0 auto",marginTop:"56px",maxWidth:"336px"},onClick:d,children:n("loginAction")}),c("div",{style:{margin:"0 auto",marginTop:"24px",fontSize:"14px",color:"#999",cursor:"pointer"},onClick:g,dangerouslySetInnerHTML:{__html:n("changeToFreeService")}})]})},a=Qt({closeOnOverlayClick:!0,borderRadius:24,presetSkin:"custom",render:({close:o})=>c(i,{close:o})});return ae({key:"new_user_login_modal_show",ctx:e}),a}var $se=`<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>
`,ele=`<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>`;var tle=`
  /* \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 nle({close:e,onDisable:t,onEnable:n}){let r=de;return c("div",{children:[c("div",{className:"modal-skin-standard__header",children:[c(_i,{style:{width:"var(--width-28)",height:"var(--width-28)"}}),c("div",{className:"modal-skin-standard__title",children:r("inputGuide.title")}),c("button",{"aria-label":"close",className:"modal-skin-standard__close",onClick:e,children:c(bn,{})})]}),c("div",{className:"modal-skin-standard__body",dangerouslySetInnerHTML:{__html:r("inputGuide.description",{},{markdown:!0})}}),c("p",{className:"modal-skin-standard__hint",dangerouslySetInnerHTML:{__html:r("inputGuide.settingDescription",{1:_.DASH_BASE_URL+"#input"})}}),c("div",{className:"modal-skin-standard__actions",children:[c(Yt,{type:"secondary",style:{flex:1},onClick:t,children:r("inputGuide.disable")}),c(Yt,{type:"primary",style:{flex:1},onClick:n,active:!0,children:r("inputGuide.enable")})]}),c("div",{className:"modal-skin-standard__footer",children:r("inputGuide.footer")})]})}function m4(){return new Promise(e=>{Qt({closeOnOverlayClick:!1,width:484,disableEscapeKey:!0,styles:tle,enableEnterActive:!0,render:({close:t})=>c(nle,{close:()=>{e("cancel"),t(),ae({key:"close_input_translation"})},onDisable:()=>{e("disable"),t(),ae({key:"disable_input_translation_forevery"})},onEnable:()=>{e("enable"),t(),ae({key:"still_use_input_translation"})}})})})}function OB(e){let t=de.bind(null);return ae({key:"show_long_text_confirm_modal",params:{contentLength:e}}),new Promise(n=>{Qt({width:420,presetSkin:"standard",enableEnterActive:!0,onEsc(){n("cancel")},render:({close:r})=>{let i=()=>{n("cancel"),r()};return c("div",{children:[c(ir,{close:i,children:t("inputGuide.confirm")}),c("p",{dangerouslySetInnerHTML:{__html:t("inputGuide.confirmDescription",{},{markdown:!0})}}),c("div",{className:"modal-skin-standard__actions",children:[c(Yt,{type:"secondary",style:{flex:1},onClick:i,children:t("cancel")}),c(Yt,{type:"secondary",active:!0,style:{flex:1},onClick:()=>{n("enable"),r()},children:t("translate")})]})]})}})})}function _B(){let e=Ke();e&&(St(e,"freeImageError"),Qt({width:400,render:({close:t})=>{let n=de;return c("div",{children:[c(ir,{close:t,children:n("upgradeToPro")}),c("p",{children:n("freeImage.notSupport")}),c("div",{className:"modal-skin-standard__actions",children:[c(Yt,{type:"primary",onClick:()=>{Ft(mf,"1"),t()},children:n("upgradeToPro")}),c(Yt,{type:"secondary",onClick:()=>{t()},children:n("close")})]})]})}}))}function UB(){let e=Ke();e&&(St(e,"free_image_tips"),Qt({width:400,render:({close:t})=>{let n=de;return c("div",{children:[c(ir,{close:t,children:n("freeImage.title")}),c("p",{children:n("freeImage.notSupport")}),c("div",{className:"modal-skin-standard__actions",children:[c(Yt,{type:"secondary",onClick:()=>{t()},children:n("freeImage.continueText")}),c(Yt,{type:"primary",onClick:()=>{lt(_.GO_AUTH_PRICING_FOR_FREE_IMAGE_GUIDE),t()},children:n("upgradeToPro")})]})]})}}))}function jB(){let e=Ke();e&&(St(e,"free_image_quota_exhausted"),Qt({id:"free_image_quota_exhausted",width:400,render:({close:t})=>{let n=de;return c("div",{children:[c(ir,{close:t,children:n("imageQuota.exhaustedTitle")}),c("p",{children:n("imageQuota.exhaustedMessage")}),c("div",{className:"modal-skin-standard__actions",children:[c(Yt,{type:"secondary",onClick:()=>{t()},children:n("close")}),c(Yt,{type:"primary",onClick:()=>{lt(_.GO_FREE_IMAGE_PRICING_URL),t()},children:n("imageQuota.tryProFree")})]})]})}}))}function zB(){Ke()&&Qt({id:"free_image_login_required",width:400,render:({close:t})=>{let n=de;return c("div",{children:[c(ir,{close:t,children:n("imageQuota.loginRequiredTitle")}),c("p",{children:n("imageQuota.loginRequiredMessage",{freeImageQuota:ff})}),c("div",{className:"modal-skin-standard__actions",children:[c(Yt,{type:"secondary",onClick:()=>{t()},children:n("close")}),c(Yt,{type:"primary",onClick:()=>{lt(_.USER_LOGIN_URL),t()},children:n("imageQuota.loginNow")})]})]})}})}function HB({title:e,message:t,action:n,targetUrl:r,canUseFreeService:i}){let a=Ke();if(!a)return;let s=rle(a,r,i)[n];if(s)return s.onBefore?.(),Qt({width:400,render:({close:l})=>{let u=de.bind(null);return c("div",{children:[c(ir,{hiddenLogo:!0,close:l,children:e||u("networkError")}),c("p",{dangerouslySetInnerHTML:{__html:ht.sanitize(t)}}),s.renderBody?.(l),c("div",{className:"modal-skin-standard__actions",hidden:!s.enableTitle,children:c(Yt,{onClick:()=>{s.onEnable?.(),l()},type:"primary",children:s.enableTitle})}),c("div",{class:"modal-skin-standard__hint",style:{textAlign:"center",cursor:"pointer",color:s.tintColor||"var(--p-main)"},onClick:()=>{s.onTintClick?.(),l()},hidden:!s.tintTitle,children:s.tintTitle})]})}}),s}function rle(e,t,n=!0){let r=de,i=!e.isPro&&n,o=(()=>e.isPro?{tintTitle:r("error.switchToProModel"),onTintClick:()=>{rx(e,"deepseek-pro")}}:i?{tintTitle:r("error.switchToFreeModel"),tintColor:"var(--c-99)",onTintClick:()=>{rx(e,"bing-free")}}:{})();return{retry:{enableTitle:r("retryAllButton"),onEnable:()=>be("content","retryFailedParagraphs")},agreeProtocol:{onBefore:()=>ae({key:"show_agree_protocol_modal"}),enableTitle:r("agreeAndContinue"),onEnable:async()=>{await Au(e),ae({key:"click_agree_protocol"})}},refreshPage:{enableTitle:r("refreshPage"),onEnable:()=>window.location.reload()},autoEnableSubtitle:{enableTitle:r("subtitle.enableDualSubtitleActionLabel"),onEnable:async()=>{let l=await it();l.generalRule||(l.generalRule={}),l.generalRule["subtitleRule.add"]||(l.generalRule["subtitleRule.add"]={}),l.generalRule["subtitleRule.add"].autoEnableSubtitle=!0,await Bt(l),be("content",{method:"autoEnableSubtitleChanged",data:{trigger:"quick_button"}})}},setting:{enableTitle:r("goSettings"),onEnable:()=>{lt(t||_.OPTIONS_URL)}},changeService:{onBefore:()=>St(e,"service_error"),renderBody:l=>{if(e.isPro)return c(sd,{type:"button",onModalClose:l});let u=t||_.PRICING_URL+"?utm_campaign=service_error&utm_source=extension&utm_medium=webpage";return c(sd,{type:"withTint",onModalClose:l,onClick:()=>{lt(u),l()},children:r("upgradeToPro")})}},changeProService:{onBefore:()=>St(e,"service_error"),renderBody:l=>{if(e.isPro)return c(sd,{type:"button",onModalClose:l});let u=t||_.PRICING_URL+"?utm_campaign=service_error&utm_source=extension&utm_medium=webpage";return c(sd,{type:"withTint",onModalClose:l,detectPro:!0,onClick:()=>{lt(u),l()},children:r("upgradeToPro")})}},upgrade:{onBefore:()=>St(e,"error_modal"),renderBody:l=>{let u=t||_.GO_UPGRADE_FOR_ERROR_DIALOG;return c(sd,{onModalClose:l,onClick:()=>{lt(u),l()},type:"withTint",children:r("upgradeToPro")})}},login:{onBefore:()=>St(e,"error_modal_login"),renderBody:l=>{let u=t||_.PRICING_URL+"?utm_campaign=service_error&utm_source=extension&utm_medium=webpage";return c(sd,{type:"withTint",onModalClose:l,onClick:()=>{lt(u),l()},children:r("goLogin")})}},loginUsePro:{onBefore:()=>St(e,"error_modal_login_pro"),enableTitle:r("upgradeToPro"),onEnable:()=>{Vn(t||_.PRICING_URL+"?utm_campaign=login_use_pro&utm_source=extension&utm_medium=popup")},tintTitle:r("error.alreadyMemberLogin"),onTintClick:()=>{lt(_.USER_LOGIN_URL_FROM_ERROR)}},loginUseMax:{onBefore:()=>St(e,"error_modal_login_max"),enableTitle:r("error.freeUpgradeToMax"),onEnable:()=>{Vn(t||_.PRICING_URL+"?utm_campaign=login_use_max&utm_source=extension&utm_medium=popup")},tintTitle:r("error.alreadyMemberLogin"),onTintClick:()=>{lt(_.USER_LOGIN_URL_FROM_ERROR)}},upgradeToPro:{onBefore:()=>St(e,"error_modal_upgrade_pro"),enableTitle:r("upgradeToPro"),onEnable:()=>{Vn(t||_.PRICING_URL+"?utm_campaign=upgrade_to_pro&utm_source=extension&utm_medium=popup")},...o},upgradeToMax:{onBefore:()=>St(e,"error_modal_upgrade_max"),enableTitle:e.isPro?r("error.upgradeMaxBtn"):r("error.freeUpgradeToMax"),onEnable:()=>{Vn(t||_.PRICING_URL+"?utm_campaign=upgrade_to_max&utm_source=extension&utm_medium=popup")},...o},loginOrUpgradeByAiSubtitle:{onBefore:()=>St(e,"error_modal_ai_subtitle"),enableTitle:r("upgradeToProWithProfile"),onEnable:()=>Vn(t||_.GO_AUTH_PRICING_FOR_AI_SUBTITLE)},loginOrUpgradeByDownloadSubtitle:{onBefore:()=>St(e,"subtitle_download_login"),enableTitle:r("goLogin"),onEnable:()=>{Vn(t||_.GO_AUTH_PRICING_FOR_SUBTITLE_DOWNLOAD)}},upgradeAiSubtitle:{onBefore:()=>St(e,"error_modal_ai_subtitle"),enableTitle:r("upgradeToPro"),onEnable:()=>{lt(t||_.USER_LOGIN_URL_FROM_ERROR)}},aiSubtitleLogin:{onBefore:()=>St(e,"ai_subtitle_login"),enableTitle:r("goLogin"),onEnable:()=>{lt(t||_.USER_LOGIN_URL_FROM_ERROR)}},aiSubtitleTrialQuotaExceeded:{enableTitle:r("endTrialNow"),onEnable:()=>{lt(t||_.GO_UPGRADE_FROM_TRIAL_FOR_AI_SUBTITLE)},tintTitle:r("showUsageRecord"),onTintClick:()=>{lt(_.GO_ACCOUNT_USAGE_URL)}},aiSubtitleQuotaExceeded:{enableTitle:r("buyAiSubtitleQuota"),onEnable:()=>{lt(t||_.AI_SUBTITLE_QUOTA_URL)},tintTitle:r("showUsageRecord"),onTintClick:()=>{lt(_.GO_ACCOUNT_USAGE_URL)}},iKnow:{enableTitle:r("iKnow")},usageTips:{enableTitle:r("iKnow"),tintTitle:r("notShowAgain"),onTintClick:async()=>{let l=await it();await Bt({...l,tokenUsageTips:{...l.tokenUsageTips,enableMaxTips:!1}})}},freeImageError:{onBefore:()=>{St(e,"freeImageError")},renderBody:()=>c("p",{children:r("freeImage.upgradeToProText")}),enableTitle:r("upgradeToPro"),onEnable:()=>{Vn(t||_.GO_AUTH_PRICING_FOR_FREE_IMAGE_ERROR)},tintTitle:r("freeImage.continueText")}}}function sd({type:e,detectPro:t,onModalClose:n,onClick:r,children:i}){let a=Ke();if(!a)return null;let o=de,{validService:s,detectService:l}=ile(a,t||!1,n);return e=="button"?c("div",{className:"modal-skin-standard__actions",children:c(Yt,{type:"primary",onClick:()=>{l(),n()},children:s?o("toggleToService",{service:qt(a.config,s)}):o("detectServiceLoading")})}):c("div",{className:"modal-skin-standard__actions",style:{textAlign:"center",display:"block"},children:[c(Yt,{type:"primary",onClick:()=>{r?.(),n()},children:i}),c("div",{class:"modal-skin-standard__hint",style:{textAlign:"center",cursor:"pointer"},hidden:!s,onClick:()=>{l(),n()},children:o("toggleToService",{service:qt(a.config,s)})})]})}function ile(e,t,n){let r=X(()=>{let o=e.rule.detectionServiceOrder||[];return t?[...Hf(),...o]:o},[e.rule.detectionServiceOrder,t]),[i,a]=N("");return W(()=>{ale(e,e.translationService,!1,r).then(o=>{o&&a(o)})},[r]),{validService:i,detectService:()=>{rx(e,i),n()}}}async function rx(e,t){if(location.href.includes("immersivetranslate")){Ke()&&be("content",{method:"translatePage",data:{translationService:t,targetLanguage:e.targetLanguage}});return}let n=await it(),r=Wk({state:n,config:e.config,serviceType:"translationService",serviceId:t,url:e.url});await Bt(r),ol(void 0),be("content",{method:"translatePage"})}async function ale(e,t,n=!0,r){let i=r||e.rule.detectionServiceOrder||["google","bing","transmart","yandex"];return i=es(e,i,{filterHiddenFreeModel:!0}),i.sort((a,o)=>a===t?n?-1:1:o===t?n?1:-1:0),await Cc(i,e)}function ole(e){let t={"zh-CN":ig,"zh-TW":ag,default:rg},n=t[e.config.interfaceLanguage]??t.default,r=e.config.inputTargetLanguage;return n[r]??r}function f4(e,t){let n=de,r=e.translationService?.toLowerCase().replace(/\s+/g,""),i=qt(e.config,r||""),a=n("modalInputTranslationSameDesc",{1:_.APP_BASE_URL+"text"+t,target:ole(e),service:i});Qt({presetSkin:"standard",width:460,enableEnterActive:!0,render:({close:o})=>c("div",{children:[c(ir,{close:o,children:n("modalEnableInputTranslationTitle")}),c("div",{className:"modal-skin-standard__body",children:c("p",{dangerouslySetInnerHTML:{__html:a}})}),c("div",{className:"modal-skin-standard__actions",children:c(Yt,{type:"primary",active:!0,onClick:o,children:n("closeModal")})})]})})}function VB(e,t){let n=t==="unregistered",r=n?de("usageLimit.register.hard"):de("usageLimit.upgrade.hard"),i=n?de("goLogin"):de("upgradeToPro"),a=n?_.USER_LOGIN_URL_FROM_ERROR:_.GO_UPGRADE_FOR_ERROR_DIALOG,o=n?de("usageLimit.register.title"):de("usageLimit.upgrade.title");n?St(e,"unregisteredUsageLimitModal"):St(e,"freeUsageLimitModal"),Qt({id:"translation_usage_limit_hard",width:400,render:({close:s})=>c("div",{children:[c(ir,{close:s,children:o}),c("p",{children:r}),c("div",{className:"modal-skin-standard__actions",children:[c(Yt,{type:"secondary",onClick:s,children:de("cancel")}),c(Yt,{type:"primary",onClick:()=>{lt(a),s()},children:i})]})]})})}var GB="imt-subscription-act-dialog",ix=null;function WB(e){ix?.();let t=e?.ctx??Ke(),n=e?.ctx?.config,r=e?.user??t?.user;if(!n||!r)return;let i=sle();return tn(c(Pi,{lang:n.interfaceLanguage,children:c(i4,{ctx:t??null,config:n,forceVisible:!0})}),i),ix=()=>{tn(null,i)},ix}function sle(){let e=document.getElementById(GB);return e||(e=document.createElement("div"),e.id=GB,document.body.appendChild(e)),e}function qB(e,t){try{return JSON.parse(e)}catch{return t}}var lle=[];function KB(){let e=(n,r)=>{globalThis.document.addEventListener(n,r),lle.push(()=>{globalThis.document.removeEventListener(n,r)})};e(pe+"showError",n=>{let{method:r,data:i}=n.detail||{};Ke()?.rule.allowInnerInvoke&&be({type:"content",name:"dialog"},{method:r,data:i})}),e(pe+"showModal",n=>{let{method:r,data:i}=n.detail||{};Ke()?.rule.allowInnerInvoke&&be({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(),be({type:"content",name:"dialog"},{method:"showErrorModal",data:a}))}),ea({type:"content",name:"dialog",topFrame:!0},async n=>{let r=Ke();if(!r)return;let{method:i,data:a}=n;if(i=="hiddenModal"){z0();return}if(i=="showToast"){let{msg:o,type:s}=a||{};kB({msg:o,type:s});return}if(i=="ai_context_upgrade")return FB(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,WB({ctx:r});return}if(!tx()){if(i==="configConflict"){let{localConfig:o,remoteConfig:s,diff:l}=a||{},u=o||{},d=s||{},g=l??Al(u,d);Yh(u,d,g).catch(m=>{});return}if(i=="showErrorModal"){let o;if(typeof a=="string"){let p=a;try{p=decodeURIComponent(a)}catch{}o=qB(p,{errMsg:a})}else o=a;let s=o.title??"",l=o.errMsg??"",u=o.action??"retry",d=o.targetUrl??"";if(u==="proServiceTrialLimit")return BB(r,{});let m=!(await Zc({ctx:r,usageScene:"web_page",service:"bing-free"}))?.hardHit;HB({title:s,message:l,action:u,targetUrl:d,canUseFreeService:m})||AB(MB.bind(null,r,s,l,u,d))}else if(i?.endsWith("Report")){let s={mangaReport:"manga",imageReport:"image",webReport:"web",docReport:"docTranslationForWeb"}[i];if(s){let l=typeof a=="object"&&a?a:{};NB(s,r,{showSuccessFeedback:l.showSuccessFeedback,styles:l.styles,initialView:l.initialView})}}else if(i=="clientImageNotSupport")_B();else if(i=="clientImageGuide")UB();else if(i=="freeImageQuotaExhausted")jB();else if(i=="freeImageLoginRequired")zB();else if(i=="translationUsageLimitHard"){let s=(typeof a=="object"&&a?a:{}).userType==="unregistered"?"unregistered":"free";VB(r,s)}else if(i=="tokenUsageChange")ule(r,a);else if(i=="inputTranslationSame"){let o=a?.jumpUrl||"#auto/en/Hello%20World";f4(r,o)}else if(i=="inputGuide")m4();else if(i=="storeGuide"){let{storeReviewUrl:o,trigger:s}=a||{};Xc({storeReviewUrl:o,trigger:s})}}})}var p4=!1;async function ule(e,t){if(p4)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()){p4=!0;return}let s=await it();if(s?.tokenUsageTips?.resetTime&&new Date(s.tokenUsageTips.resetTime).getTime()===o.getTime()){p4=!0;return}p4=!0,Bt({...s,tokenUsageTips:{...s?.tokenUsageTips,resetTime:r.maxAIUsedCountResetTime}}),be({type:"content",name:"dialog"},{method:"showErrorModal",data:JSON.stringify({title:de("error.usageTips"),errMsg:de("error.maxQuotaUsageTips",{maxAIQuota:r.maxAIQuota.toLocaleString("en-US"),maxAIUsed:"50%",1:_.GO_ACCOUNT_USAGE_URL}),action:"usageTips",type:"info"})})}var QB=!1,ox={};function JB(e){ox={...ox,...e}}function ei(e){let t=ox[e];return t||(M.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 Po={setupDomListenersForOnce:()=>{},clearAllListeners:()=>{},handleSecurityPolicyViolation:()=>{},handleThirdPartyTell:()=>{},eventUpload:()=>{}},XB=[()=>{zt.unbind()}],YB=[...XB],sx=[],cle=gr(async e=>{await Jr(!1,"",e)},50),dle=gr(async()=>{await kp()},50),ax=!1;Po.setupDomListenersForOnce=(e,t)=>{let n=(a,o)=>{e.document.addEventListener(a,o),sx.push(()=>{e.document.removeEventListener(a,o)})};if(QB)return;QB=!0,n("securitypolicyviolation",Po.handleSecurityPolicyViolation),n(pe+"DocumentMessageUser",ei("loginSuccessUpdateUser")),n(pe+"DocumentMessageUpdateUser",ei("onlyUpdateUser")),n(pe+"ChangeSuccessService",ei("changeToSuccessFreeEngine").bind(null,t)),n(pe+"ChangeService",ei("changeToEngine").bind(null,t)),n(qo,Po.handleThirdPartyTell.bind(null,t)),n(SS,Po.eventUpload.bind(null,t));let r="";n("selectionchange",()=>{let a=globalThis.getSelection()?.toString().trim()||"";r!=a&&(r=a,!ax&&a&&a.length>0?Ig({text:a}):Ig({}))}),n("contextmenu",()=>{ax=!0,setTimeout(()=>{ax=!1},100)});let i=CB();n(i.type,i.listener),KB()};Po.clearAllListeners=()=>{eO(),sx.forEach(e=>e()),sx=[]};function $B(e,t){eO(),Po.setupDomListenersForOnce(t,e),Ae()&&(kt()||(lv(e.config),fle(e.config))),Bn(e.localConfig||{})&&iO(e,t),Mt()&&lv(e.config)}async function gle(){let e=await it(),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 mle(){let e=await it(),t=e.enableInputTranslation;e.enableInputTranslation=!t,await Bt(e)}Po.handleThirdPartyTell=async(e,t)=>{let n=t;M.debug("receive third party message",n);let r=Ke()||e;if(n&&n.detail){let i;try{let a=JSON.parse(n.detail);if(a&&a.type){if(a.type==="retryFailedParagraphs")be("content","retryFailedParagraphs");else if(a.type==="toggleEnableDefaultAlwaysTranslatedUrls")gle();else if(a.type==="toggleEnableInputTranslation")mle();else if(a.type==="syncAppSetting")tO(r,a.data);else if(a.type==="translatePage")ple(r,a.data);else if(a.type==="getAsyncTranslationServiceList")i=await Ti(async()=>await xle(),r,a);else if(a.type==="getAsyncTargetLanguageList")i=Oa(a.data?.translationService,a.data?.targetLanguage,r.config);else if(a.type==="getAllLanguageListAsync")i=yM({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 ei("getGlobalContext")(Ve(),{},!0),s={...o,state:{...o.state,cache:!1},translationService:a.data.service},l={retry:1,...a.data.serviceConfig||{}};try{i=await Ti(async()=>await ZB(a.data,s,l),r,a)}catch(u){_l(a.type,u.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 Ti(async()=>{let l=await yh(r,a.data.service);return s.contextTerms=l,await ZB(a.data,o,s)},r,a)}catch(l){_l(a.type,l.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 yle(o,a.data)}catch(s){_l(a.type,{status:"error",error:s.uiConfig(o)},a.id)}}else if(a.type==="getAsyncLanguageByText")i=await Ap(a.data);else if(a.type==="getAsyncDownloadSubtitle")i=await LN();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;ei("switchTranslationMode")(o,{remember:s,triggerSource:a.data?.triggerSource})}else if(a.type=="updateTranslationThemeConfig")await ei("updateTranslationThemeConfig")(a.data),i={success:!0};else if(a.type=="getAsyncAiAssistants")i=await Rg();else if(a.type=="addAiAssistantAsync")i=await ll("add",a.data);else if(a.type=="removeAiAssistantAsync")i=await ll("remove",a.data);else if(a.type=="getMiniConfigAsync"||a.type=="getConfig")i=await ei("getMiniConfig")(r,a.data);else if(a.type=="setMiniConfigAsync"||a.type=="setConfig")i=await ei("setMiniConfig")(r,a.data);else if(a.type=="getDeviceInfoAsync")r.rule.allowInnerInvoke&&(i=await Yp("auto",r.targetLanguage));else if(a.type=="setABGroupAsync")r.rule.allowInnerInvoke&&(i=await ow(a.data));else if(a.type==="getIsSupportIsOnToolbarAsync")r.rule.allowInnerInvoke&&(i=await ak());else if(a.type==="getIsOnToolbarAsync")r.rule.allowInnerInvoke&&(i=await ok());else if(a.type==="setCampaignAsync")r.rule.allowInnerInvoke&&(i=await sw(a.data));else if(a.type==="openPopup")l4({...a.data,open:!0});else if(a.type==="closePopup")l4({...a.data,open:!1});else if(a.type==="togglePopup")l4({...a.data});else if(a.type==="getPageStatusAsync")i=yt();else if(a.type==="restorePage")ble();else if(a.type==="getPageLanguageAsync")i=Un();else if(a.type==="showFloatBallGuide")rB();else if(a.type==="showPopupModalGuide")iB();else if(a.type=="getAsyncDetectAndSetLanguage")i=await ei("detectSetLanguage")(a.data);else if(a.type=="setFloatBallActive")uB(a.data);else if(a.type=="requestTermsByContext"){let{text:o,translationService:s}=a.data;vl(r,s,o,!0)}else if(a.type=="requestTermsContextByServices"){let{text:o,services:s}=a.data;await ph(r,o,s)}else if(a.type=="getAsyncTranslateImageByUrl")i=await SB(r,a.data);else if(a.type=="getAsyncTranslateImageProgress")i=await wB(r,a.data);else if(a.type=="triggerTranslateImageBySrc")nO(r,a.data);else if(a.type=="cleanTranslateImageBySrc")rO(a.data);else if(a.type=="openImageTranslationFeedback")kt()||He("imageReport");else if(a.type=="getAsyncUserInfo")i=await Ti(async()=>await le.getUserInfo(),r);else if(a.type=="getOrCreatePkceChallengeAsync")i=await Ti(async()=>await be("background",{method:"getOrCreatePkceChallenge",data:a.data}),r);else if(a.type=="submitPkceAuthCodeAsync")i=await Ti(async()=>await be("background",{method:"exchangePkceToken",data:{requestId:a.data?.requestId,authCode:a.data?.authCode}}),r);else if(a.type=="getAsyncAllTerms")i=await Ti(async()=>await f1(r.config),r);else if(a.type=="getAsyncGlossaries")i=await Ti(async()=>await zP(r.config,a.data.targetLanguage,a.data.ids),r);else if(a.type=="openWebTranslationFeedback")kt()||He("webReport");else if(a.type=="openRewardCenter"){let o=a.payload?.trigger;a.data?.trigger&&(o=a.data.trigger),sl(r,o||"dom_trigger")}else a.type=="collectAnalytics"?Ti(async()=>{let o=a.data||{},s=o.ignoreGA||!1,l=o.params||{};ae({key:o.type,ctx:r,params:l,forceDaily:!1,ignoreGA:s})},r):a.type==="updateUserConfigAsync"?i=await Ti(async()=>await vle({translationServices:a.data.translationServices}),r):a.type==="syncUserLoginSetting"?Ti(async()=>{let o=await le.getUserInfo();if(o){let s=await it();Nt(o)&&await vi(s)}},r):a.type=="checkAgreeAndTriggerModalAsync"?(await Kf(r),await Bw()):a.type=="agreeProtocolAndRefreshPageAsync"?(await Au(r,a.data?.isRefreshPage),i={success:!0}):a.type=="getRuleId"?i=(await Op(a.data))?.id:a.type=="updateUserInfo"?i=await Ti(async()=>{let o=await bc();return o&&(r.user=o,r.isPro=Nt(o)),null},r):a.type==="switchPluginRegionAsync"?i=await Ti(async()=>await hle(r,a.data),r):be("content",a.type);i!==void 0&&a.id&&_l(a.type,i,a.id)}}catch(a){M.warn("parse message error",a)}}};Po.handleSecurityPolicyViolation=e=>{Rt.HAS_CSP_ERROR="1"};Po.eventUpload=(e,t)=>{let n=t.detail;(n.name=="open_pdf_page"||n.name==="open_html_page")&&(ae({key:n.name,ctx:e}),fi("translate_pdf_1",e))};function eO(){YB.forEach(e=>{e()}),YB=XB}function fle(e){if(Ae()&&typeof GM<"u"&&GM&&GM.registerMenuCommand){let t=hf.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=de(`browser.${o.slice(6,-2)}`)),{id:a,title:s}}),{id:Kd,title:de("browser.openOptionsPage"),key:"o"},{id:P2,title:de("browser.openAboutPage"),key:"a"}];for(let a of i)GM.registerMenuCommand(a.title,()=>{a.id===Kd?cle(e.useOnlineOptions):a.id===P2?dle():be("content",{method:a.id,data:{trigger:"userscript_menu"}})},a.key)}}async function tO(e,t){let n={};return t?.translationMode&&(n.translationMode=t.translationMode),t?.translationService&&(n.translationService=hw(e.config,t.translationService)),t?.targetLanguage&&(n.targetLanguage=t.targetLanguage),t?.translationStartMode&&(n.translationStartMode=t.translationStartMode),t?.usageScene&&(n.usageScene=t.usageScene),await ei("getGlobalContext")(Ve(),n)}async function ple(e,t){if(t?.triggerSource==="mobileBridge"&&yt()==="Translated")return;let n=await tO(e,t);await ei("translatePage")(n)}function _l(e,t,n){globalThis.document.dispatchEvent(new CustomEvent(dn,{detail:JSON.stringify({id:n,type:e,payload:t})}))}async function Ti(e,t,n){if(!t.rule.allowInnerInvoke&&!ot()&&!Gt()&&!ex()){if(!n)return;_l(n.type,new J("immersive","not in immersive environment, can't invoke translate").uiConfig(t),n.id);return}return await e()}async function hle(e,t){M.info("[switchPluginRegion] \u6536\u5230\u5207\u6362\u8BF7\u6C42:",t);let n=t?.region;if(!n||!["mainland","oversea"].includes(n))return M.warn("[switchPluginRegion] \u65E0\u6548\u7684\u76EE\u6807\u533A\u57DF:",n),{success:!1,region:"",changed:!1,error:"invalid_region"};let r=Ue()?"mainland":"oversea";return M.info("[switchPluginRegion] \u5F53\u524D\u533A\u57DF:",r,"\u76EE\u6807\u533A\u57DF:",n),r===n?(M.info("[switchPluginRegion] \u5DF2\u7ECF\u662F\u76EE\u6807\u533A\u57DF\uFF0C\u65E0\u9700\u5207\u6362"),{success:!0,region:n,changed:!1}):(M.info("[switchPluginRegion] \u5F00\u59CB\u6267\u884C\u5207\u6362..."),await le.setPluginRegion(n),M.info("[switchPluginRegion] \u5207\u6362\u5B8C\u6210\uFF0C\u65B0\u533A\u57DF:",n),{success:!0,region:n,changed:!0})}async function ZB({textList:e,from:t,to:n,service:r},i,a){let o=e.map(l=>({text:l||"",id:0,from:t,to:n,url:i.url,fromByClient:t,force:!0,inArticleContext:!0})),s=null;try{let l=await mn({sentences:o},{...i,isRichTranslate:!1,translationService:r},u=>s=u,a);if(s)throw s;return l}catch(l){throw l}}async function yle(e,t){let{textList:n,from:r,to:i,service:a,usageScene:o}=t;if(!e.rule.allowInnerInvoke)return;let s=n.map((l,u)=>({text:l||"",id:u,from:r,to:i,url:e.url,fromByClient:r,force:!0,inArticleContext:!0}));try{let l=[],u={...e,isRichTranslate:!1,translationService:a};return o&&(u.usageScene=o),await mn({sentences:s},u,(d,g,m)=>{let f=null;d&&(f={name:d?.name,message:d?.message,status:d instanceof J?d.errorCode:"error"}),l[m.id]={error:f,errorUIConfig:d instanceof J?d?.uiConfig(e):null,sentence:g,sentenceRequest:m}}),{status:"success",data:l.map(d=>d)}}catch(l){throw l}}function ble(){yt()!=="Original"&&ei("restorePage")()}async function vle(e){let t=await it(),n=Nc(t,e);return await Bt(n),n}async function xle(){let e=await ei("getGlobalContext")(Ve(),{},!0);return Qu(e,"translationService",e.config.interfaceLanguage).map(n=>{let r={...n.config},i=Mc(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 Ul={};async function lx(){let t=[...document.querySelectorAll(".source-text")].map(r=>r.textContent).join(""),n=await Ze({text:t,minLength:200});return li(n),n}async function aO(e){let t=0,n=0;Jn("Translating");let r=Un(),i=rp(),a=[...document.querySelectorAll(".source-text")];if(Zu(e,r))return;let o=a.filter(l=>l.innerText?.trim()).map((l,u)=>({text:l.innerText||"",id:u,from:r,to:e.targetLanguage,url:"https://google.com",fromByClient:i,force:!0,inArticleContext:!0,node:l}));document.dispatchEvent(new CustomEvent(dn,{detail:JSON.stringify({type:"totalParagraphsCount",payload:{totalParagraphsCount:o.length}})}));try{let l=o,u=_g(e,"",!0);for(;l.length;){let d=l.slice(0,100);l=l.slice(100),d.forEach(g=>{let m=g.node.parentElement?.parentElement?.querySelector(".target-text");if(zn(g.node,"id",g.id+""),m){Ju(m,g.id)?.remove();let f=u?.cloneNode(!0);f.id=g.id+"",m.appendChild(f)}}),await s(d),await rt(0)}}catch(l){throw l}finally{t=0,n=0,Jn("Translated")}async function s(l){await mn({sentences:l},{...e,usageScene:"subtitle_file"},(u,d,g)=>{n+=1;let m=g.id,f=Ju(document.body,m);if(!f)return;let p=f.parentElement;p&&(f.remove(),u?(t+=1,p.innerHTML=ht.sanitize(`<span id="error-id-${m}">${u.message}</span>`),Ul[m]={ok:!1,sentence:g},sO(l,e,t,n,u)):d&&(p.innerHTML=ht.sanitize(d.text),Ul[m]={ok:!0,sentence:g}),document.dispatchEvent(new CustomEvent(dn,{detail:JSON.stringify({type:"paragraphTranslated",payload:{ok:!u}})})))})}}async function oO(e){let t=0,n=0;Jn("Translating"),document.dispatchEvent(new CustomEvent(dn,{detail:JSON.stringify({type:"retryFailedParagraphsStart",payload:{}})}));let r=Object.keys(Ul),i=[],a=[],o=_g(e,"");for(let s of r){let l=Ul[s];if(!l.ok){let d=document.querySelector(`#error-id-${s}`);if(d){let g=d.parentElement;if(d.remove(),g){delete Ul[s];let m=o?.cloneNode(!0);m.id=s,g.appendChild(m),a.push(l.sentence)}}}}try{await mn({sentences:a},e,(s,l,u)=>{n+=1;let d=u.id,g=Ju(document.body,d);if(!g)return;let m=g.parentElement;m&&(g.remove(),s?(t+=1,m.innerHTML=ht.sanitize(`<span id="error-id-${d}">${s.message}</span>`),Ul[d]={ok:!1,sentence:u},sO(a,e,t,n,s)):l&&(m.innerHTML=ht.sanitize(l.text),Ul[d]={ok:!0,sentence:u}),document.dispatchEvent(new CustomEvent(dn,{detail:JSON.stringify({type:"paragraphTranslated",payload:{ok:!s}})})))})}catch(s){throw s}finally{t=0,n=0,Jn("Translated")}}function ux(){Jn("Original"),document.querySelectorAll(".target-text").forEach(e=>{e.innerHTML=""})}function sO(e,t,n,r,i){if(!(i instanceof J))return;let a=i.uiConfig(t);a.action=="retry"&&(a.action="none"),(n===t.rule.toastErrorMinTimes||r===e.length)&&He("showErrorModal",a)}var h4={};async function lO(){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 Ze({text:t});return li(n),n}async function uO(e){Jn("Translating"),document.dispatchEvent(new CustomEvent(dn,{detail:JSON.stringify({type:"retryFailedParagraphsStart",payload:{}})}));let t=Object.keys(h4),n=[];for(let r of t){let i=h4[r];if(i.error){let o=i.commonAncestorContainer.querySelector(`[${Yd}='${r}']`);o&&o.remove(),n.push(i)}}try{E0(),await A0({paragraphs:n,ctx:e,translationMode:e.state.translationMode||e.config.translationMode,isLongImmediateHtml:!1,inArticleContext:!0,userDiffContext:!1})}catch{}finally{Jn("Translated")}}function cO(e){Object.values(h4).forEach(t=>{try{let n=t.state,r=t.commonAncestorContainer,{targetNodes:i}=t;if(!i)return;if(n==="translation"){let a=Kc(e,t.targetNodes);Nl(e,a,r,t.rootNodes||[]),Lo(t.targetNodes)}else n==="dual"&&Lo(t.targetNodes)}catch(n){M.error("cleanEbook error",n)}}),Jn("Original")}async function dO(e){os(!1),Jn("Translating");let t=cl(),n=Bi(e.config.translationServices[e.translationService]),r=Wa(),i=0,a=1;for(let l of r){let u=l.contentDocument,d=u?.querySelectorAll(`[${Yd}]`);if(u?.querySelectorAll(`.${z}-loading-spinner`)?.forEach(x=>x.remove()),d?.forEach(x=>x.remove()),!u)continue;ys(u,e);let m=u.body;if(!m)continue;La(u.documentElement,e.state.translationMode);let f=ar(e);f.isModifyImage=!1;let p=[];await qc({id:t,container:m,filterRule:f,onParagraph:x=>{p.push(x)}});let h=await s(p);i+=h,o(Math.max(i,1e4)),await rt(0)}o(i),Jn("Translated");function o(l){document.dispatchEvent(new CustomEvent(dn,{detail:JSON.stringify({type:"totalParagraphsCount",payload:{totalParagraphsCount:l}})}))}async function s(l){let u=[],d=hl(e,e.translationService,e.config.translationServices,e.specialAiAssistant);try{for(let g of l){let m=oh(g.commonAncestorContainer,g.flatNodes,{isPreWhitespace:g.isPreWhitespace||!1,delimiters:n,stayOriginalSelectors:k1(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],d);if(!m)continue;g.id=(a++).toString();let f=await z5(e,g,m,{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,u.push(f),h4[f.id]=f)}A0({paragraphs:u,ctx:{...e,isRichTranslate:d},translationMode:e.state.translationMode||e.config.translationMode,isLongImmediateHtml:!1,inArticleContext:!0,userDiffContext:!1})}catch{}return u.length}}async function gO({text:e,inputContext:t,defaultTargetLang:n,detectAutoLanguage:r}){if(t.codePrefix==="none")return await a();let i=Cle(e,t);if(i.code)return i;return await a();async function a(){return{code:await r()||n,startContent:"",endContent:e}}}function Cle(e,t){let n="",r="",i=e,{protectedText:a,restoreUrls:o}=wle(e),s=Tle(t),l=a.split(s);if(l.length<2)return{code:n,startContent:o(r),endContent:o(i)};if(i=o(l[l.length-1]),r=o(l[0]),l.length>2){let d=l.map(o),g=e.lastIndexOf(i),m=e.slice(0,g).lastIndexOf(d[d.length-2]);r=e.slice(0,m+d[d.length-2].length)}if(r.endsWith(t.codePrefix))return{code:n,startContent:r,endContent:i};let u=e.slice(r.length+1,e.indexOf(i)).trim();return n=Sle(u,t.codeAlias)||"",{code:n,startContent:r,endContent:i}}function Tle({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 l=a+s;return i.includes(s)||(l+=" "),l});r.push(...o)}return new RegExp(r.join("|"))}function Sle(e,t){for(let[n,r]of Object.entries(t))if(r.includes(e))return n;return null}function wle(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 Qr=!1,Gi=0,ld=0,x4=0,cx,y4,b4,v4,mO=0,C4,Rs=0,Ele=0,H0=0,mx=new Set,fO=!1,V0=!1,Ale=`
.${z}-input {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 2147483647;
  display: flex;
  justify-content: center;
  align-items: center;
}
.${z}-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: ${pe}ShadowRolling 1.5s linear infinite;
}

@keyframes ${pe}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 yO(e){e.config.enableInputTranslation&&Qc().forEach(t=>{Mle(e,t)})}function fx(e){let{config:t}=e,n={...t.inputLanguageCodeAlias};Qn.forEach(s=>n[s]=[s,...n[s]||[]]);let r=t.inputStartingTriggerKeyAlias[t.inputStartingTriggerKey]||[];r.includes(t.inputStartingTriggerKey)||r.unshift(t.inputStartingTriggerKey);let i=Mo(e.config);n[i]=[...r,...n[i]];let a=t.inputTrailingTriggerKeyTimeout;Se().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 bO(){C4&&(clearTimeout(C4),C4=void 0)}function kle(e){Rs&&(mx.add(Rs),M.debug("[input-translate] \u89E6\u53D1\u7FFB\u8BD1\u5DF2\u53D6\u6D88",{requestId:Rs,reason:e}),E4(),Rs=0,H0=0)}function pO(e){return e?mx.has(e):!1}function ud(){Gi=0,x4=0,bO()}function Mle(e,t){if(!e.config.enableInputTranslation||!e.config.enableInputTranslationWithoutTriggerKey)return;if(e.isInputTranslationExcludeUrl){M.debug("[input-translate] exclude url for input");return}if(V0)return;ld=0,cx="input";let n=fx(e);y4&&t.removeEventListener("keyup",y4),b4&&t.removeEventListener("input",b4),v4&&t.removeEventListener("compositionend",v4),y4=r,b4=i.bind(null,"input",void 0),v4=()=>{mO=Date.now(),Gi=0},t.addEventListener("keyup",y4,!0),t.addEventListener("input",b4,!0),t.addEventListener("compositionend",v4,!0);function r(a){if(V0)return;let o=zl(t.document,e.rule.enableInputDeepActive),s=o?.tagName;(o?.isContentEditable||s=="INPUT"||s=="SELECT"||s=="TEXTAREA")&&Ule(a,n.triggerKey,n.codePrefixAlias)&&i("keyup",o,a)}function i(a,o,s){try{let l=Date.now();if(l-ld<5||cx=="input"&&a==="keyup"&&l-ld<=100||!s.isTrusted||(Rs&&H0>0&&l<=H0&&(kle("input-during-cancel-window"),ud()),Qr)||V0)return;if(typeof InputEvent<"u"&&s instanceof InputEvent){if(s.isComposing)return;if(s.inputType&&s.inputType.startsWith("delete")){ud();return}if(s.inputType==="insertCompositionText"){ud();return}if(l-mO<100){M.debug("[input-translate] \u8DF3\u8FC7\u5E76\u91CD\u7F6E\uFF1A\u5224\u5B9A\u4E3A\u8F93\u5165\u6CD5\u786E\u8BA4\u7A7A\u683C"),ud();return}}let d=o??zl(t.document,e.rule.enableInputDeepActive),g=o??s.target,m=typeof s.composedPath=="function"?s.composedPath():o?[o]:[];if(!d){M.debug("[input-translate] \u8DF3\u8FC7\uFF1A\u65E0\u6CD5\u83B7\u53D6\u5F53\u524D\u805A\u7126\u5143\u7D20");return}if(g&&g!==d&&(!(g instanceof Node)||!d.contains(g)&&!m.includes(d))){M.debug("[input-translate] \u8DF3\u8FC7\uFF1A\u4E8B\u4EF6\u76EE\u6807\u4E0E\u805A\u7126\u5143\u7D20\u4E0D\u5339\u914D");return}let f=d?.tagName;if(!(d?.isContentEditable||f=="INPUT"||f=="SELECT"||f=="TEXTAREA")){M.debug("[input-translate] \u8DF3\u8FC7\uFF1A\u76EE\u6807\u4E0D\u662F\u53EF\u8F93\u5165\u5143\u7D20",{tagName:f,isContentEditable:d?.isContentEditable});return}let h=Ui(d)||"";if(!h){M.debug("[input-translate] \u8DF3\u8FC7\uFF1A\u8F93\u5165\u5185\u5BB9\u4E3A\u7A7A");return}if(n.triggerKey==="space"){let y=G0(h);if(!xO(y.lastContentLine,n,"input").matched){ud();return}x4>0&&l-x4<=n.triggerGapMs?Gi++:Gi=1,x4=l,bO(),C4=t.setTimeout(()=>{let v=n.triggerTimes+n.triggerToleranceCount;if(Gi<n.triggerTimes||Gi>v){ud();return}if(Gi=0,!hO(t,n,d)){M.debug("[input-translate] \u8DF3\u8FC7\uFF1A\u4E25\u683C\u6821\u9A8C\u672A\u901A\u8FC7");return}if(typeof w4(h,n)!="string"){M.debug("[input-translate] \u8DF3\u8FC7\uFF1AremoveTail \u8FD4\u56DE\u503C\u5F02\u5E38");return}let S=++Ele;Rs=S,H0=Date.now()+n.triggerCancelWindowMs,M.debug("[input-translate] \u7A7A\u683C idle \u547D\u4E2D\uFF0C\u51C6\u5907\u89E6\u53D1\u7FFB\u8BD1",{requestId:S,triggerTimes:n.triggerTimes,triggerKey:n.triggerKey}),S4(s,e,t,n,{requestId:S})},n.triggerIdleMs);return}if(l-ld>n.triggerTimeout&&(Gi=0),Gi++,M.debug(`[input-translate] ${l-ld}ms \u6709\u6548\u8FDE\u7EED\u89E6\u53D1 ${Gi} \u6B21`),Gi<n.triggerTimes)return;if(Gi=0,!hO(t,n,d)){M.debug("[input-translate] \u8DF3\u8FC7\uFF1A\u4E25\u683C\u6821\u9A8C\u672A\u901A\u8FC7");return}let x=w4(h,n);if(typeof x!="string"){M.debug("[input-translate] \u8DF3\u8FC7\uFF1AremoveTail \u8FD4\u56DE\u503C\u5F02\u5E38");return}M.debug("[input-translate] \u51C6\u5907\u89E6\u53D1\u7FFB\u8BD1",{text:x,triggerKey:n.triggerKey,source:a}),S4(s,e,t,n)}finally{ld=Date.now(),cx=a}}}async function Ile(e,t=window){if(!e.config.enableInputTranslation)return;if(Qr){M.debug("[input-translate] \u8DF3\u8FC7\u5FEB\u6377\u952E\u89E6\u53D1\uFF1A\u5DF2\u6709\u7FFB\u8BD1\u8FDB\u884C\u4E2D");return}M.debug("[input-translate] \u5FEB\u6377\u952E\u89E6\u53D1",location.href);let r=globalThis.getSelection()?.toString();if(r){M.debug("[input-translate] \u5F53\u524D\u5B58\u5728\u9009\u4E2D\u6587\u672C\uFF0C\u76F4\u63A5\u7FFB\u8BD1\u9009\u533A",{selection:r}),px(e,t,r,"shortcutKey");return}try{let i=fx(e),a=zl(t.document,e.rule.enableInputDeepActive);if(!a){M.debug("[input-translate] \u5FEB\u6377\u952E\u89E6\u53D1\uFF1A\u672A\u83B7\u53D6\u5230\u6D3B\u52A8\u8F93\u5165\u5143\u7D20");return}if(a.tagName==="BODY"){M.debug("[input-translate] \u5FEB\u6377\u952E\u89E6\u53D1\u5931\u8D25\uFF1A\u7126\u70B9\u5728 BODY \u5143\u7D20");return}Qr=!0,M.debug("[input-translate] \u5F53\u524D\u6FC0\u6D3B\u7684\u8F93\u5165\u6846",a);let o=Ui(a)||"",{code:s,startContent:l,endContent:u}=await hx({activeEle:a,text:o,inputContext:i,ctx:e,selfWindow:t});if(M.debug("[input-translate] \u5FEB\u6377\u952E\u89E3\u6790\u8BED\u8A00\u5B8C\u6210",{currentText:o,targetLang:s}),!s)return;let d=w4(u,i)||"";if(!d){M.debug("[input-translate] \u5FEB\u6377\u952E\u8DF3\u8FC7\uFF1A\u5F85\u7FFB\u8BD1\u5185\u5BB9\u4E3A\u7A7A");return}if(d.length>5e3){M.debug("[input-translate] \u5FEB\u6377\u952E\u8DF3\u8FC7\uFF1A\u5185\u5BB9\u8D85\u51FA\u957F\u5EA6\u9650\u5236",{translateLength:d.length});return}let g=await bx({translateContent:d,targetLang:s,activeEle:a,selfWindow:t,trigger:"shortcutKey"});g?(M.debug("[input-translate] \u5FEB\u6377\u952E\u7FFB\u8BD1\u5B8C\u6210\uFF0C\u5199\u5165\u7ED3\u679C",{result:g}),AO(e,t,a,l+g)):M.debug("[input-translate] \u5FEB\u6377\u952E\u7FFB\u8BD1\u5B8C\u6210\u4F46\u65E0\u6709\u6548\u7ED3\u679C")}catch(i){throw M.debug("[input-translate] \u5FEB\u6377\u952E\u7FFB\u8BD1\u53D1\u751F\u5F02\u5E38",i),Qr=!1,i}finally{Qr=!1,E4()}}async function px(e,t,n,r){if(!e.config.enableInputTranslation||Qr)return;try{let o=zl(t.document,e.rule.enableInputDeepActive),s=globalThis.getSelection();if(!o||!n||!s)return;Qr=!0;let l=fx(e),{code:u,startContent:d,endContent:g}=await hx({activeEle:o,text:n,inputContext:l,ctx:e,selfWindow:t});if(!u)return;let f=await bx({translateContent:g||n,targetLang:u,activeEle:o,selfWindow:t,trigger:r});if(!f)return;o instanceof HTMLInputElement||o instanceof HTMLTextAreaElement?a(t,o,d+f):i(e,t,o,d+f)}catch(o){throw Qr=!1,o}finally{Qr=!1,E4()}async function i(o,s,l,u){let d=o.rule.inputConfig,g=CO(o.config,u,l);try{await Wi(50),d?.execCommandDeleteEnable&&!Cn()&&Ui(l)?.trim()!=""&&(s.document.execCommand("delete"),await Wi(50)),M.debug("[input-translate] clearContent",Ui(l))}catch(m){M.error(m)}for(let m of[...EO,SO,wO,TO]){await m(g,l);let f=kO(s);if(!f)return;if(M.debug("setContent",m.name,gx(g,f),Ui(f),g),gx(g,f))break}}function a(o,s,l){let u=s.selectionStart,d=s.selectionEnd;if(u===null||d===null||u===d)return;s.focus();let g=new InputEvent("beforeinput",{inputType:"deleteContentBackward",data:null,bubbles:!0,cancelable:!0});if(s.dispatchEvent(g),!g.defaultPrevented){o.document.execCommand("delete",!1);let m=new InputEvent("beforeinput",{inputType:"insertText",data:l,bubbles:!0,cancelable:!0});if(s.dispatchEvent(m),!m.defaultPrevented){o.document.execCommand("insertText",!1,l);let f=new Event("input",{bubbles:!0,cancelable:!0});s.dispatchEvent(f)}}}}var jl;function Lle(e){let t=e.parentElement;if(!t)return;jl=document.createElement("div"),jl.className=z+"-input";let n=`<div class="${z}-input-loading"/>`;jl.innerHTML=$n?.createHTML(n)||n,t.appendChild(jl);let r=e.getRootNode();if(r instanceof ShadowRoot){let o=document.createElement("style");o.textContent=Ale,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 E4(){jl&&(jl.remove(),jl=void 0)}async function hx({activeEle:e,text:t,inputContext:n,ctx:r,selfWindow:i}){let a=Mo(r.config);return await gO({text:t,inputContext:n,defaultTargetLang:a,detectAutoLanguage:async()=>await Hle(r,e,i.document,a)})}async function S4(e,t,n,r,i={}){if(e?.preventDefault&&e.preventDefault(),Qr){M.debug("[input-translate] \u8DF3\u8FC7\uFF1A\u5DF2\u6709\u7FFB\u8BD1\u4EFB\u52A1\u6B63\u5728\u6267\u884C");return}try{if(!await or({ctx:t,usageScene:"input",service:t.inputTranslationService}))return;M.debug("[input-translate] \u5F00\u59CB\u6267\u884C\u8F93\u5165\u7FFB\u8BD1\u6D41\u7A0B");let o=zl(n.document,t.rule.enableInputDeepActive);if(!o){M.debug("[input-translate] \u8DF3\u8FC7\uFF1A\u672A\u5B9A\u4F4D\u5230\u53EF\u7FFB\u8BD1\u7684\u8F93\u5165\u5143\u7D20");return}let s=Ui(o)||"",{code:l,startContent:u,endContent:d}=await hx({activeEle:o,text:s,inputContext:r,ctx:t,selfWindow:n});if(!l){M.debug("[input-translate] \u8DF3\u8FC7\uFF1A\u672A\u5339\u914D\u5230\u76EE\u6807\u8BED\u8A00\u4EE3\u7801");return}let g=w4(d,r)||"";if(!g){M.debug("[input-translate] \u8DF3\u8FC7\uFF1A\u5F85\u7FFB\u8BD1\u6587\u672C\u4E3A\u7A7A");return}if(pO(i.requestId)){M.debug("[input-translate] \u8DF3\u8FC7\uFF1A\u89E6\u53D1\u8BF7\u6C42\u5DF2\u53D6\u6D88",{requestId:i.requestId});return}let m=t.config.isShowInputTranslationConsent&&!fO;if(m){M.debug("[input-translate] \u5C06\u5C55\u793A\u8F93\u5165\u7FFB\u8BD1\u6388\u6743\u5F39\u7A97"),fO=!0;let h=await m4(),x=await it();if(x.isShowInputTranslationConsent=!1,x.enableInputTranslation=h!="disable",V0=h=="disable",await Bt(x),V0)return}else{let h=r.confirmLongTextLength>0&&g.length>r.confirmLongTextLength;if(!m&&h&&await OB(g.length)==="cancel")return}Qr=!0;let f=i.requestId?Date.now():0;M.debug(`[input-translate] \u8C03\u7528\u7FFB\u8BD1\u63A5\u53E3 '${g}' -> \u76EE\u6807\u8BED\u8A00: ${l}`);let p=await bx({translateContent:g,targetLang:l,activeEle:o,selfWindow:n,trigger:"inputKey",requestId:i.requestId});if(i.requestId){let h=Date.now()-f;h<r.triggerMinDurationMs&&await Wi(r.triggerMinDurationMs-h)}if(pO(i.requestId)){M.debug("[input-translate] \u7FFB\u8BD1\u7ED3\u679C\u5DF2\u53D6\u6D88\uFF0C\u8DF3\u8FC7\u5199\u5165",{requestId:i.requestId});return}p?(M.debug(`[input-translate] \u7FFB\u8BD1\u5B8C\u6210\uFF0C\u51C6\u5907\u5199\u5165' \u7ED3\u679C: '${p}'`),AO(t,n,o,u+p)):M.debug("[input-translate] \u7FFB\u8BD1\u63A5\u53E3\u672A\u8FD4\u56DE\u6709\u6548\u5185\u5BB9"),Qr=!1}catch(a){throw Qr=!1,M.debug("[input-translate] \u8F93\u5165\u7FFB\u8BD1\u6D41\u7A0B\u51FA\u73B0\u5F02\u5E38",a),a}finally{i.requestId&&(mx.delete(i.requestId),Rs===i.requestId&&(Rs=0),H0=0),Qr=!1,E4(),M.debug("[input-translate] \u8F93\u5165\u7FFB\u8BD1\u6D41\u7A0B\u7ED3\u675F")}}var T4=new Set([10,8629]),Dle=[" ","\xA0","\u3000"];function Ple(e,t){let n=0;for(let r=e.length-1;r>=0;r--){let i=e[r];if(!T4.has(i.charCodeAt(0))){if(!MO(i,t))break;n++}}return n}function vO(e,t,n){let{matched:r,matchedChar:i}=xO(e,t,n),a=t.triggerKey==="space"?Math.min(t.triggerTimes,2):t.triggerTimes,o=r&&i?Ple(e,i):0;return{matched:r,matchedChar:i,requiredCount:a,consecutiveCount:o}}function G0(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 M.debug("[input-translate] \u5C3E\u90E8\u5185\u5BB9\u5206\u6790",o),o}}let r={tailLine:n,lastContentLine:"",hasContent:!1};return M.debug("[input-translate] \u5C3E\u90E8\u5185\u5BB9\u5206\u6790",r),r}function Rle(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 Dle)i.add(s);let o=n.length===1||a==="space"?t:0;return M.debug("[input-translate] removeTail \u89E6\u53D1\u914D\u7F6E",{triggerKey:n,triggerTimes:t,maxDelete:o,allowedChars:Array.from(i)}),{maxDelete:o,allowedChars:i}}function xO(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 l=n==="input"?"\u8F93\u5165\u6846":"\u7F16\u8F91\u533A";return M.debug(`[input-translate] ${l}\u89E6\u53D1\u952E\u6821\u9A8C`,{triggerKey:r,alias:i,lastChar:a,matched:o,matchedChar:s}),{lastChar:a,matched:o,matchedChar:s}}function dx(e,t,n){if(!e.hasContent)return!1;let{lastContentLine:r}=e,i=n==="input"?"\u8F93\u5165\u6846":"\u7F16\u8F91\u533A",a=vO(r,t,n);if(!a.matched)return M.debug(`[input-translate] ${i}\u89E6\u53D1\u952E\u6821\u9A8C\u672A\u901A\u8FC7`,{lastContentLine:r}),!1;if(a.requiredCount>0){if(!a.matchedChar)return M.debug(`[input-translate] ${i}\u89E6\u53D1\u952E\u6570\u91CF\u6821\u9A8C\u8DF3\u8FC7`,{matchedChar:a.matchedChar,requiredCount:a.requiredCount,triggerKey:t.triggerKey}),!0;if(M.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 M.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 hO(e,t,n){if(!n||!h0(n))return!1;if(yx(n)){let r=n.selectionStart||0,i=n.value.trimEnd().length,{tailLine:a,lastContentLine:o,hasContent:s}=G0(n.value),l=i<=r;return M.debug("[input-translate] \u8F93\u5165\u6846\u5149\u6807\u6821\u9A8C",{cursorPosition:r,textLength:i,isTail:l,tailText:a,tailContentText:o,hasContent:s}),l&&s?dx({tailLine:a,lastContentLine:o,hasContent:s},t,"input"):!1}else{let r=e.getSelection();if(!r)return M.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=Fle(a,n),s=(a.textContent?.trimEnd()?.length||0)<=i.startOffset&&o,{tailLine:l,lastContentLine:u,hasContent:d}=G0(n.innerText||"");return!s&&u&&M.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&&d?dx({tailLine:l,lastContentLine:u,hasContent:d},t,"editable"):!1}else{let o=Nle(e,n);if(M.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=G0(n.innerText||"");return M.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}),dx(s,t,"editable")}}}return!1}function Nle(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 Fle(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 w4(e,t){if(!e)return;let n=Rle(t),r=G0(e),i=vO(r.lastContentLine,t,"input"),a=i.matched&&i.matchedChar&&i.consecutiveCount>0,o=e.length;if(a){for(;o>0&&T4.has(e.charCodeAt(o-1));)o--;let u=i.consecutiveCount;for(;o>0&&u>0;){let d=e[o-1];if(T4.has(d.charCodeAt(0))){o--;continue}if(!MO(d,i.matchedChar))break;o--,u--}}else for(let u=o-1;u>=0;u--){let d=e[u];if(T4.has(d.charCodeAt(0))){o--;continue}if(!n.allowedChars.has(d))break;o--}e.length-o<3&&o>0&&[".","\u3002"].includes(e[o-1])&&o--;let s=e.slice(0,o),l=e.slice(o);return M.debug("[input-translate] removeTail \u622A\u65AD\u7ED3\u679C",{originalText:e,resultText:s,removedText:l,originalLength:e.length,resultLength:s.length,removedLength:l.length,matchedChar:i.matchedChar,consecutiveCount:i.consecutiveCount,requiredCount:i.requiredCount,strategy:a?"matched":"fallback"}),s}function CO(e,t,n){let r=n.innerHTML,i=Ui(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 gx(e,t,n=!1){let r=Ui(t)?.trim()?.replace(/\n/g,""),i=e?.text?.trim()?.replace(/\n/g,"");return n?r?.endsWith(i):r?.indexOf(i)>=0}async function Wi(e){await new Promise((t,n)=>{setTimeout(()=>{t("")},e)})}async function Ble(e,t,n){await Wi(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 Wi(10)}async function TO(e,t){let n=document.createEvent("TextEvent");n.initTextEvent&&(n.initTextEvent("textInput",!0,!0,window,e.text),t.dispatchEvent(n),await Wi(10))}async function SO(e,t){t.value&&t.select(),document.execCommand("insertText",!1,e.text.replace(/\n/g,"\r")),await Wi(20),(t.value||t.value==="")&&(t.value=e.text)}async function wO(e,t){yx(t)&&(t.value=e.text,t.dispatchEvent(new Event("input",{bubbles:!0})),await Wi(20))}var EO=[Ble.bind(null,["plain"])];function yx(e){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"}function Ole(e,t){if(yx(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 AO(e,t,n,r){await Wi(50);let i=Ole(t,n);await Wi(50);let{enableRangeDeleteContent:a,execCommandDeleteEnable:o}=e.rule.inputConfig||{},s=e.rule.enableInputDeepActive,l=CO(e.config,r,n);try{await Wi(50),a&&i?i.deleteContents():o&&!Cn()&&Ui(n)?.trim()!=""&&(t.document.execCommand("delete"),await Wi(50)),M.debug("[input-translate] clearContent",Ui(n))}catch(u){M.error(u)}for(let u of[...EO,SO,wO,TO]){await u(l,n);let d=s?zl(t.document,s):kO(t);if(!d)return;let g=gx(l,d);if(M.debug("setContent",u.name,g,Ui(d),l),g)break}}function kO(e){return e.document.activeElement}function _le({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]),ae({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 Ule(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)}iF({translateInputBoxWithShortcut:Ile});function zl(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?jle(n):n}return zl(n,t)}function jle(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 zle(e){return e==="retry"||e==="changeService"}async function bx(e){let{translateContent:t,targetLang:n,activeEle:r,selfWindow:i,trigger:a}=e,o=await Ct(Ve(),{}),s="zh-CN";try{s=await Ze({text:t,translateService:o.inputTranslationService,ignorePageLang:!0,chineseFirst:!n.startsWith("zh"),serverDetect:!0,logPrefix:"[input-translate] \u8BED\u8A00\u68C0\u6D4B ->  "})}catch(d){M.error("[input-translate] \u7FFB\u8BD1\u5185\u5BB9\u8BED\u8A00\u68C0\u6D4B\u5931\u8D25",d)}M.debug(`[input-translate] \u7FFB\u8BD1\u5F53\u524D\u8BED\u8A00: ${s} \u5185\u5BB9: '${t}'`);let l=Mo(o.config);if(n==s&&l!=s&&(n=l),s==n)return;let u={text:t||"",id:0,from:s,to:n,url:"https://google.com",fromByClient:s,force:!0};Lle(r),Ft(MS,Date.now());try{o.specialAiAssistant=To(o,o.inputTranslationService,!0);let d=await yi(u,{...o,usageScene:"input",isRichTranslate:!1,translationService:o.inputTranslationService}),g=s.startsWith("zh")&&n.startsWith("zh");if(!/^\d+$/.test(t)&&t?.trim()===d?.text?.trim()&&t.trim()&&!g){let m=`#auto/${encodeURIComponent(Mo(o.config))}/${encodeURIComponent(t)}`;f4(o,m)}return _le({ctx:o,trigger:a||"inputKey",targetLang:n,contentLength:t.length}),d.text}catch(d){if(d instanceof J){let g=d.uiConfig(o);zle(g.action)&&(g.action="none"),He("showErrorModal",g)}}finally{Qr=!1}}async function Hle(e,t,n,r){let i=r,{autoLanguageEnable:a,autoLanguagePageEnable:o,autoLanguageSelectors:s}=e.rule.inputConfig||{},l="";if(a&&s){let u=[];for(let g of s){let m=n.documentElement,f=g,p=g.split(/\s+/);if(p[0]=="parentElementTo"){if(m=t.closest(p[1]),f=p.slice(1).join(" "),!m)continue;let x=Qe(f,m);if(x){u.push(x);break}}else{let x=$u(f,m);u.push(...x)}}let d="";u.forEach(g=>{let m=g.textContent||"";g.querySelectorAll(`font.${It}`).forEach(f=>{m=m.replace(f.textContent||"","")}),d+=" "+m||""}),d=d.trim(),d&&(l=await Ze({text:d,serverDetect:!0,logPrefix:"[input-translate] \u81EA\u52A8\u76EE\u6807\u8BED\u8A00\u68C0\u6D4B ->  "}),M.debug("[input-translate] \u81EA\u52A8\u8BC6\u522B\u5185\u5BB9\u8BED\u8A00",{detectAutoLang:l,allText:d}))}if(!l&&o){let u=await F1(e.rule);u!="auto"&&(l=u,M.debug("[input-translate] \u81EA\u52A8\u8BC6\u522B\u9875\u9762\u8BED\u8A00",{bodyLang:u}))}return!l||l=="auto"?i:l}function MO(e,t){if(!t)return!1;if(/\s/.test(t)){if(!/\s/.test(e))return!1}else if(e!==t)return!1;return!0}function cd(e){return dd(e).subtitles}function dd(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 Ns(e){let t="WEBVTT",n=e;Array.isArray(e)||(t=e.meta,n=e.subtitles);let r=n.map(i=>{let a=Si(i.text);return`${i.start} --> ${i.end}${i.style||""}
${a}`}).join(`

`);return`${t}

${r}`}function Si(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 vx(e){let t=dd(e);return Vle(t.subtitles)}function Vle(e){return e.map(t=>({startTime:sr(t.start),endTime:sr(t.end),text:t.text}))}function xx(e,t,n=`
`,r=.5){let i=IO(e),a=IO(t),o=[],s=0;for(let u=0;u<i.length&&s<a.length;){let d=i[u],g=a[s],m=sr(d.start),f=sr(d.end),p=sr(g.start),h=sr(g.end);if(h-r<=m){s++;continue}if(p+r>=f){u++;continue}let x=o[u]||[];x.push(g),o[u]=x,h<=f&&s++,h>=f&&u++}return i.map((u,d)=>{let g=o[d]?.map(m=>m.text).join(" ").replaceAll(n," ");return{...u,text:u.text.replaceAll(n," "),translation:g}})}function gd(e,t,n=`
`,r=.5){return xx(e,t,n,r).map(a=>({...a,text:a.translation?`${a.text}${n}${a.translation}`:a.text}))}function IO(e){for(let t=e.length-1;t>0;t--){let n=e[t],r=e[t-1];sr(n.start)<sr(r.end)&&(r.end=n.start)}return e}function sr(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 Gle(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 Wle(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 A4(e){let t=Gle(e);if(!t)return;let n=new globalThis.DOMParser().parseFromString(t.mdatContent,"text/xml");return{arrayBuffer:t.arrayBuffer,document:n}}function k4(e,t){let n=`<?xml version="1.0" encoding="utf-8" ?>${t.documentElement.outerHTML}`;return Wle(e,n)}function Cx(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 W0(e,t){let n=de.bind(null);if(t instanceof J){let r=t.uiConfig(e),i=r.title,a=encodeURIComponent(JSON.stringify(r));return qle(),`${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 LO=!1;function qle(){LO||(LO=!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));He("showErrorModal",i)}catch{}},!0))}function M4(e){let t=e.config.generalRule.subtitleRule;return t.translationMode&&t.translationMode!=="inherit"?t.translationMode:e.state.translationMode}function wx(e,t,n,r,i=!1){let a=[...e.textTracks].find(o=>o.createBy===z);if(!a)a=e.addTextTrack("subtitles",t,n),a.createBy=z,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 DO(e){for(let t=0;t<e.textTracks.length;t++)e.textTracks[t].mode="disabled"}function Kle(e){for(let t=0;t<e.textTracks.length;t++)e.textTracks[t].mode="hidden"}var Tx,Sx;function q0(e,t,n,r){let i=de.bind(null);try{if(!r.rule.subtitleRule.enableIOSFullScreenTextTrack||!Se().apple.phone&&!Se().apple.tablet)return;Kle(e),e.removeEventListener("webkitbeginfullscreen",Tx),e.removeEventListener("webkitendfullscreen",Sx);let a=e.webkitPresentationMode==="fullscreen",o=wx(e,i("bilingual"),t,n,a);Tx=()=>{o.mode="showing"},Sx=()=>{o.mode="hidden"},e.addEventListener("webkitbeginfullscreen",Tx),e.addEventListener("webkitendfullscreen",Sx)}catch{}}var md="imt-subtitle-inject",I4=class{from;to;constructor(t,n){this.from=t,this.to=n}sendMessages(t){globalThis.postMessage({eventType:md,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:md,to:this.to,from:this.from,type:t,data:n,id:i,isAsync:!0});let a=o=>{let s=o.data;md===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;md===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;md===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})=>{md===r.eventType&&r.to===this.from&&t(r)};return globalThis.addEventListener("message",n),()=>{globalThis.removeEventListener("message",n)}}},L4=new I4("content-script","inject"),Qle=new I4("inject","content-script"),PO={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})}},f0t=new Proxy(Qle,PO),D4=new Proxy(L4,PO);var P4="imt-attach-subtitle-update",R4="youtube_live_dom";function RO(e){globalThis.dispatchEvent(new CustomEvent(P4,{detail:e}))}var fd;function FO(e){let{t}=H(),{videoSelector:n,video:r}=e,i=$(e.subtitleItems),[a,o]=N({}),[s,l]=N([]),u=$(!1),d=$(!1),g=e.ctx.rule.subtitleRule;W(()=>{let y=eM(e.ctx,i.current);vl({...e.ctx,usageScene:"subtitle_video"},e.ctx.subtitleTranslateService,y)},[i]);let m=X(()=>{if(M4(e.ctx)==="translation"||Io(e.lang,e.ctx.targetLanguage)||e.lang===e.ctx.targetLanguage)return!0},[e]),f=re(()=>{let y=i.current.map(b=>{let v=b.text+`
`+(b.translation||"");return m&&(v=b.translation||b.text),{startTime:sr(b.start),endTime:sr(b.end),text:v}});q0(r,e.lang,y,e.ctx)},[i,q0,e,m,r]),p=re(()=>{f(),G1(e.ctx,i.current,e.lang,e.aiSubtitlePageUrl)},[f,e]);W(()=>{i.current=e.subtitleItems,o({})},[e.subtitleItems]),W(()=>{let y=b=>{let v=b.detail;v&&v.source===R4&&e.ctx.rule.subtitleRule.type==="youtube"&&(i.current=v.subtitleItems,o({}))};return globalThis.addEventListener(P4,y),()=>{globalThis.removeEventListener(P4,y)}},[e.ctx.rule.subtitleRule.type]);let h=re(async y=>{let b=g.velocityGroup||[1,3,5],v=i.current;if(!v[y])return;let C=!!v[y].needReTranslate;if(v[y].translation&&!C||v[y].state=="loading"){let T=v.slice(y).findIndex(D=>{let U=!!D.needReTranslate;return(!D.translation||U)&&D.state!="loading"});if(T<0)return;let w=b[b.length-1];if(T>w)return;let E=y+T,k=v.slice(E,E+w);x(k);return}let S=y;for(let T=0;T<b.length;T++){let w=b[T],E=v.slice(S,S+w);x(E),S+=w}},[i,e.ctx,o,f,g]);return W(()=>{let y=-1;N4=0;let b=null,v=e.ctx.rule.subtitleRule,C=v.type==="youtube_iframe",S=C||v.type==="youtube"&&v.videoPlayerSelector,T=async()=>{if(C){let U=v.iframePlayerGlobalName||TS;return globalThis[U]?.getCurrentTime?.()??null}let D=await Promise.race([D4.getCurrentTime(),new Promise(U=>{setTimeout(()=>U(null),200)})]);return D??null},w=async D=>{let U=D?D.target.currentTime:null;try{if(S){let B=Date.now(),P=await T();P!==null&&(U=P+(Date.now()-B)/1e3)}U!==null&&(U=Xle(v,U,e.videoContainer))}catch{}return U},E=D=>{y<0&&!e.isLive&&(y=r?$le(r,i.current):0),e.isLive&&(y=-1);let U=O=>{let F=sr(O.start)-y,L=sr(O.end)-y;return D>=F&&D<=L},B=i.current.findIndex(U),P=i.current.filter(U);l(P),B>=0&&e.ctx.targetLanguage!==e.lang&&(C&&!d.current&&(d.current=!0,M.info("[youtube_iframe] trigger translate",{index:B,time:D})),h(B))},k=async D=>{let U=await w(D);U!==null&&E(U)};return p(),r?(r.shouldRemoveListeners?.forEach(D=>D()),r.shouldRemoveListeners=[],r.addEventListener("timeupdate",k),r.shouldRemoveListeners?.push(()=>{r.removeEventListener("timeupdate",k)})):C&&(u.current||(u.current=!0,M.info("[youtube_iframe] use interval tick without video element")),b=setInterval(()=>{k()},100)),()=>{b&&clearInterval(b)}},[n,r,i,h,f]),{setActiveCues:l,activeCues:s,isHiddenSourceSubtitle:m};async function x(y){let b=y.filter(E=>(!E.translation||E.needReTranslate)&&E.state!="loading");if(!b.length)return;b.forEach(E=>{E.state="loading"});let v=b.map(E=>E.text);p();let C=e.ctx.subtitleTranslateService,S=T0(e.ctx,C);if(fd=fd??Wc(e.ctx),S&&fd!=="none"&&fd!==C&&!e.isLive){let E=Ex({...e.ctx,subtitleTranslateService:fd},v,e.lang,(D,U,B)=>{let P=B.id;if(D||!U){fd="none";return}b[P].translation||(b[P].state="translated",b[P].translation=Si(U.text),p(),o({}))}),k=Ex(e.ctx,v,e.lang,(D,U,B)=>{let P=B.id;if(D||!U){if(b[P].translation)return;b[P].state="error",b[P].translation=D?W0(e.ctx,D):t("translateFail"),p();return}let O=b[B.id].state!="translated";b[B.id].state="translated",b[B.id].translation=Si(U.text),p(),O&&o({})});await Promise.allSettled([E,k]);return}let T=b.some(E=>!!E.needReTranslate),w=Mx(e.ctx,e.isLive,T);await Ex({...e.ctx,subtitleTranslateService:w},v,e.lang,(E,k,D)=>{if(E||!k){b[D.id].state="error",b[D.id].translation=E?W0(e.ctx,E):t("translateFail"),b[D.id].needReTranslate=!1,p();return}b[D.id].state="translated",b[D.id].translation=Si(k.text),b[D.id].needReTranslate=!1,p(),o({})})}}function Mx(e,t,n=!1){if(!t)return e.subtitleTranslateService;let r=e.subtitleTranslateService;if(e.isPro&&n)return Wc(e)||r;let i=e.rule.subtitleRule?.proLiveSubtitleTranslateService;return e.isPro&&i&&uR(e,r)?i:T0(e,r)&&Wc(e)||r}async function Ex(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 mn({sentences:i},{...e,isRichTranslate:!1,translationService:e.subtitleTranslateService,usageScene:"subtitle_video"},r)).sentences.map((o,s)=>o.text)}function Yle(e){let[t,n]=N(16);return W(()=>{if(!e)return;let r=new ResizeObserver(i=>{for(let a of i){let{width:o,height:s}=a.contentRect,l=o/45,u=s/24,d=Math.min(l,u);(o==0||s==0)&&(d=16);let g=10;u>14&&u>l*2&&(g=Math.max(u/2.5,14));let m=Math.max(d,g);n(m)}});return r.observe(e),()=>{r.disconnect()}},[e]),{fontSize:t}}var Ax=pe+"DocumentMessageEventUpdateAttachSubtitleStyles",Zle={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 BO(e){let{ctx:t}=e,[n,r]=N(t.rule.subtitleRule),{fontSize:i}=Yle(e.videoContainer||e.video);W(()=>{let s=l=>{let u=l.detail;r(u)};return globalThis.document.addEventListener(Ax,s),()=>{globalThis.document.addEventListener(Ax,s)}},[]);let a=X(()=>n.backgroundColor+Jle(n.backgroundOpacity),[n]),o=X(()=>n.textShadowType&&Zle[n.textShadowType]||"",[n]);return{backgroundColor:a,textShadowStyle:o,sourceFontSize:i*NO(n.sourceFontSize),translationFontSize:i*NO(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 OO(e){let t=new CustomEvent(Ax,{detail:e});document.dispatchEvent(t)}function Jle(e="75"){let t=parseInt(e)*2.55;return Math.round(t).toString(16).padStart(2,"0")}function NO(e="1"){return parseFloat(e)/100}var kx=pe+"DocumentMessageEventResetSubtitlePosition";function _O(e,t){let n=X(()=>{let r=globalThis.location.hostname;return r.includes("youtube")&&globalThis.location.pathname.includes("shorts")?`${r}-shorts`:r},[]);W(()=>{if(!t.current)return;(async()=>{let o=(await gn()).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 gn(),o=a.subtitlePositions||{};delete o[n],Cr({...a,subtitlePositions:{...a.subtitlePositions}}),t.current.style.removeProperty("top"),t.current.style.removeProperty("bottom")};return document.addEventListener(kx,i),()=>{document.removeEventListener(kx,i)}},[t,n]),W(()=>{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",g),document.addEventListener("mouseup",u),document.addEventListener("touchend",m),document.addEventListener("touchcancel",m)},s=p=>{if(!r||!i)return;let h=p.pageY-r.top-a,x=r.height-i.height,y=Math.min(Math.max(0,h),x),b=y/r.height*100;if(b>50){let C=(r.height-y-i.height)/r.height*100;t.current.style.bottom=`${C}%`,t.current.style.top="unset",l({bottomPercent:C})}else t.current.style.top=`${b}%`,t.current.style.bottom="unset",l({topPercent:b})},l=async p=>{let h=await gn();Cr({...h,subtitlePositions:{...h.subtitlePositions,[n]:p}})},u=p=>{f()},d=p=>{p.preventDefault&&p.preventDefault(),o(p.changedTouches[0])},g=p=>{p.preventDefault&&p.preventDefault(),s(p.changedTouches[0])},m=p=>{p.preventDefault&&p.preventDefault(),u(p.changedTouches[0])},f=()=>{document.removeEventListener("mousemove",s),document.removeEventListener("touchmove",g),document.removeEventListener("mouseup",u),document.removeEventListener("touchend",m),document.removeEventListener("touchcancel",m)};return t.current.addEventListener("mousedown",o),t.current.addEventListener("touchstart",d),()=>{t.current&&(t.current.removeEventListener("mousedown",o),t.current.removeEventListener("touchstart",d))}},[e,t])}function UO(){let e=new CustomEvent(kx,{detail:{}});document.dispatchEvent(e)}var N4;function Xle(e,t,n){try{let r=e.attachRule,i=r?.realCurrentTimeSelector,a=r?.realCurrentTimeRegex,o=r?.realCurrentType;if(!i||!a)return t;let s=Qe(i,n);if(!s)return t;let l=s.textContent;if(!l)return t;let u=new RegExp(a),d=l.match(u);if(!d)return t;let g=sr(d[1]);return o=="-"&&(N4?g=N4-g:N4=g),g&&t-g>5?g+1:t}catch{return t}}function $le(e,t){let n=t[0];if(!n)return 0;let r=sr(n?.start);if(r<e.duration)return 0;let i=r%3600;return r-i}var eue=Rt["attach_subtitle.css"];function tue(e){let{t}=H(),{activeCues:n,isHiddenSourceSubtitle:r}=FO(e),i=$(null),a=$(null),o=e.ctx.rule.subtitleRule,{sourceFontSize:s,translationFontSize:l,backgroundColor:u,translationTextColor:d,sourceTextColor:g,translationPosition:m,textShadowStyle:f,sourceFontFamily:p,translationFontFamily:h,sourceFontWeight:x,translationFontWeight:y}=BO(e);_O(i,a);let b=e.lang===e.ctx.targetLanguage,v=n.map(P=>P.text).join(" ").replace(/\n\s+\n/,`
`),C=n.filter(P=>P.text!==P.translation).map(P=>P.translation).join(" "),[S,T]=N(!0),w=$(!1);W(()=>{if(v&&!w.current){w.current=!0;return}if(w.current){T(!1);return}},[v]),b&&(C=v);let E=t("attachSubtitleTranslating",{service:T1(e.ctx,t,Mx(e.ctx,e.isLive))});vr(()=>{Ip()},[]);let k=n?.[0]?.state==="loading"&&!C&&!e.isLive,D=!e.isAiSubtitle&&o.attachRule?.showSupportTips&&S&&!k&&!e.ctx.isPro,U=Lt(e.ctx.config.rtlLanguages,e.lang),B=Lt(e.ctx.config.rtlLanguages,e.ctx.targetLanguage);return c("div",{class:"imt-caption-container notranslate",ref:i,children:c("div",{class:"imt-caption-window",ref:a,children:!!n.length&&c("div",{class:"imt-captions-text",style:{flexDirection:m==="top"?"column-reverse":"column"},children:[!r&&c("span",{class:"source-cue imt-cue",dir:U?"rtl":"ltr",style:{fontSize:s,color:g,backgroundColor:u,textShadow:f,fontFamily:p,fontWeight:x},dangerouslySetInnerHTML:{__html:v}}),c("span",{class:`target-cue imt-cue ${o.translationStyle==="mask"?"imt-translation-style-mask":""}`,dir:B?"rtl":"ltr",style:{fontSize:l,color:d,backgroundColor:u,textShadow:f,fontFamily:h,fontWeight:y},dangerouslySetInnerHTML:{__html:C||""}}),k&&c("div",{class:"loading-text imt-cue",dir:B?"rtl":"ltr",style:{fontSize:s*.75,color:d,backgroundColor:u,textShadow:f},children:E}),D&&c("div",{class:"loading-text imt-cue",dir:B?"rtl":"ltr",style:{fontSize:l,color:d,backgroundColor:u,textShadow:f,fontFamily:h,fontWeight:y},children:t("attachSubtitle.supportByImmersiveTranslate")})]})})})}var Lx=z+"-caption-window",F4,Ix=!1;function Qa(e){let{ctx:t,props:n,videoContainer:r}=e,i=t.rule.subtitleRule;if(i?.urlRootSelector){let g=!0,m=i.urlRootSelector.replace(/\$(\d+)/g,(f,p)=>{let h=n.urlValueArray?.[Number(p)-1]||"";return h||(g=!1),h||""});m&&g&&(r=Qe(m,r))}if(!i.attachRule)return;let{appendSelector:a,isDelay:o}=i.attachRule,s=r;if(!a&&!s)return;if(a&&(s=Qe(a,r)||null,!s)){o&&(clearTimeout(F4),F4=setTimeout(()=>{Qa(e)},1e3));return}s?rue(s):Ya(i);let l=null;if(r?l=Qe(n.videoSelector||"video",r):l=Qe(n.videoSelector||"video"),o&&!l&&(clearTimeout(F4),F4=setTimeout(()=>{Qa(e)},1e3)),!s)return;let u=eue,d=i.attachRule?.injectedCSS;if(d){let g=typeof d=="string"?d:d.join(`
`);u=u+`
`+g}Dr({parent:s,id:Lx,ctx:t,Component:tue,props:{...n,video:l,videoContainer:r},style:u,initialCSS:!1,attribute:{[of]:n.isAiSubtitle?"ai":"normal"}}),Ix=!0,Dx(t)}var nue=`
#${z}-caption-window {
  position: absolute;
  width: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  transition: bottom 0.25s;
  pointer-events: none;
}
`,jO=z+"-attach-subtitle-dynamic-injected-css";function Dx(e){let t=e.rule.subtitleRule,n=Qe(t.attachRule?.injectedGlobalCSSContainer);n||(n=document);let r=t.attachRule?.injectedGlobalCSS;if(r){let i=typeof r=="string"?r:r.join(`
`);wn(n,nue+`
`+i,jO)}}function Ya(e,t,n=0){iue(e);let i=e.attachRule?.appendSelector;if(!i)return;let a=t||Qe(i);if(Ix=!1,!a){n<50&&setTimeout(()=>{Ix||Ya(e,t,n+1)},200);return}let o=[...a.querySelectorAll(`#${Lx}`)];o.length&&(Ip(),o.forEach(s=>s.remove()))}function rue(e){let t=[...e.querySelectorAll(`#${Lx}`)];t.length&&(Ip(),t.forEach(n=>n.remove()))}function iue(e){let n=(Qe(e.attachRule?.injectedGlobalCSSContainer)||document).querySelector(`[data-id="${jO}"]`);n&&n.remove()}function zO(){try{return!!document.querySelector(`#${z}-caption-window`)}catch(e){M.error(e)}}function VO(e,t,n){try{if(!n?.langsConfig)return null;let r=oue(t,n.langsConfig);if(!r)return null;let i=sue(e,r.isSpaceLang);if(aue(r,i))return null;let a=mue(i,{wordRegexStr:n?.wordsRegex});if(a?.length){M.debug("symbolList",a);let g=[],m=r.splitConfig;return a.forEach(f=>{let p=Px(f,{breakWords:m.symbolBreakWords,skipWords:m.skipWords,minInterval:(m.minInterval||1e3)*5,maxWords:m.maxWords||20,breakMiniTime:m.breakMiniTime||500});g.push(...p)}),HO(g)}let o=r.splitConfig,s=Px(i,{breakWords:o.breakWords,skipWords:o.skipWords,minInterval:o.minInterval||1e3,maxWords:o.maxWords||15,breakMiniTime:o.breakMiniTime||500}),l=r.mergeConfig,u=cue(s,{endWords:l?.endWords,startWords:l?.startWords,minInterval:l.minInterval||1e3,maxWords:l.maxWords||20});M.debug("mergeNextEndWords end",u);let d=u;for(let g of r.endCompatibleConfigs||[])d=due(d,{minInterval:g.minInterval,minWordLength:g.minWordLength,sentenceMinWord:g.sentenceMinWord});return HO(d)}catch{return[]}}function aue(e,t){return t.slice(0,20).find(n=>e.isSpaceLang?n.utf8.trim().split(/\s+/).length>=3:n.utf8.trim().length>=4)}function oue(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 sue(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=lue(r)),r}function lue(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 Px(e,t){let n=uue(e,{...t}),r=[],i=[];return n.forEach(o=>{if(Rx(o)>t.maxWords&&o.length>1){a();let l=Px(o,{...t,minInterval:t.minInterval-100});r.push(...l);return}else if(o.length==1&&Rx(o)<=1){i.push(o[0]);return}a(),r.push(o)}),a(),r;function a(){i.length&&(r.push(i),i=[])}}function uue(e,{breakWords:t,skipWords:n,minInterval:r,breakMiniTime:i}){let a=e[0].tStartMs,o=[],s=[];for(let u=0;u<e.length;u++){let d=e[u],g=e[u+1],m=d.tStartMs-a;if(t?.includes(d.utf8.trim())&&m>i){l(d,[d]);continue}if(g&&t?.includes((d.utf8+g.utf8).trim())&&m>i){l(d,[d,g]),u++;continue}if(n?.includes(d.utf8.trim())&&e[u+1]){a=e[u+1].tStartMs,s.push(e[u+1]),u++;continue}if(m<=r){a=d.tStartMs,s.push(d);continue}o.push(s),s=[d],a=d.tStartMs}return s.length&&o.push(s),o.filter(u=>u.length>0);function l(u,d){a=u.tStartMs,o.push(s),s=d,d[0].isBreak=!0}}function cue(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 l=0;l<e.length-1;){let u=e[l][e[l].length-1],d=e[l+1][0],g=d.tStartMs-u.tStartMs,m=a[a.length-1];if((d.utf8.match(s)||u.utf8.match(o))&&!d.isBreak&&g<=r){let f=[...m,...e[l+1]];Rx(f)<=i?m.push(...e[l+1]):a.push(e[l+1])}else a.push(e[l+1]);l++}return a}function Rx(e){let t="";return e?.forEach(n=>t+=n.utf8),t.split(/\s+/).length}function due(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 HO(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n],i="";r.forEach(s=>i+=s.utf8);let a=gue(r,e[n+1]),o={start:r[0].tStartMs/1e3,end:a/1e3,text:i.replace(/\n/ig," ")};t.push(o)}return t}function gue(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 mue(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 l=s.utf8.trim(),u=l[l.length-1];o.push(s),u?.match(n)&&!l?.match(i)&&(a.push(o.slice()),o=[])}),o.length&&(a.push(o.slice()),o=[]),a}function GO(e){return new URL(e).searchParams.get("kind")=="asr"}function WO(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}}function qO(e){let{ctx:t}=e,{t:n}=H(),[r,i]=N(!0),[a,o]=N(!1),[s,l]=N("home"),[u,d]=N(t.rule.subtitleRule),g=$(u);g.current=u;let m=$(a);m.current=a;let f=C0(s=="setting"?u.fonts:[],n),p=re(async T=>{let w=await Ln();w.generalRule||(w.generalRule={}),w.generalRule["subtitleRule.add"]||(w.generalRule["subtitleRule.add"]={}),w.generalRule["subtitleRule.add"]=T(w.generalRule["subtitleRule.add"]),await Bt(w);let E={...g.current,...w.generalRule["subtitleRule.add"]};d(E),OO(E)},[g,d]),{homeSettingItems:h,aiSubtitleLoading:x,aiSubtitleSetting:y}=fue({...e,setContentVisible:o,handleUpdateConfig:p,subtitleRuleRef:g,setVisible:i,setSelectType:l,contentVisible:a,subtitleRule:u}),{optionSetting:b}=pue({ctx:t,subtitleRule:u,setSelectType:l,selectType:s,handleUpdateConfig:p}),v=X(()=>({...b,home:{items:h},aiSubtitleSetting:y}),[b,h,y]);W(()=>{let T=()=>{o(!1)};return document.addEventListener("click",T),()=>{document.removeEventListener("click",T)}},[o,m]);let C=re(T=>{T.stopPropagation(),o(!m.current)},[o,m]),S=X(()=>{let T=v[s];return["setting","sourceSetting","translationSetting"].find(w=>w===s)&&T.items.forEach(w=>{if(w.key==="moreSetting")return;let E=u[w.key],k=v[w.key]?.items?.find(D=>D.key===E);w.value=k?.label}),{...T,items:T.items.filter(w=>{let E=!0;return(w.key==="sourceFontFamily"||w.key==="translationFontFamily")&&(E=f.length>0),E})}},[s,v,u,f]);return W(()=>{a&&l("home")},[a]),{visible:r,selectType:s,contentVisible:a,activeSetting:S,handleButtonClick:C,aiSubtitleLoading:x}}function fue(e){let{setContentVisible:t,handleUpdateConfig:n,setSelectType:r,subtitleRuleRef:i,setVisible:a,contentVisible:o,ctx:s,subtitleRule:l,hasSubtitle:u}=e,{t:d}=H(),[g,m]=N(e.tempEnableSubtitle),[f,p]=N(!1),[h,x]=N(!1),[y,b]=N(JO(e.aiSubtitlePageUrl)),v=QO(),C=re(async()=>{ae({key:"click_download_subtitle",ctx:s,params:{}}),t(!1);let D=uv(e.aiSubtitlePageUrl),U=i.current?.autoEnableSubtitle,B=i.current?.type==="youtube"&&i.current?.youtubeAutoEnableSubtitle;if(!U&&!B&&!g){He("showErrorModal",{title:d("subtitle.enableDualSubtitleModalTitle"),errMsg:d("subtitle.downloadDisabledDes"),action:"autoEnableSubtitle",type:"error"});return}if(D||He("showErrorModal",{title:d("subtitle.quickButton.downloadSubtitleNotFound"),errMsg:d("subtitle.quickButton.downloadSubtitleNotFoundDes"),action:"autoEnableSubtitle",type:"error"}),!await ai()){He("showErrorModal",{title:d("subtitle.upgradePro"),errMsg:d("subtitle.upgradeProMessage.downloadSubtitle"),action:"loginOrUpgradeByDownloadSubtitle",type:"error",targetUrl:_.USER_LOGIN_URL+"&utm_source=extension&utm_medium=extension&utm_campaign=subtitle_download_login"});return}ae({key:"open_download_subtitle_page",ctx:s}),IN(e.aiSubtitlePageUrl)},[i,s.isPro,g]),S=re(async D=>{t(!1),document.dispatchEvent(new CustomEvent(du,{detail:{tempEnableSubtitle:D}})),m(D),p(!1)},[m,n]),T=re(async()=>{let D=!f;p(D),t(!1),be("content",{method:"tempDisableSubtitleChanged",data:{tempDisableSubtitle:D,trigger:"quick_button"}})},[f]),w=re(async D=>{S(!1),await n(U=>(i.current?.type==="youtube"&&(U.youtubeAutoEnableSubtitle=D),U.autoEnableSubtitle=D,U)),be("content",{method:"autoEnableSubtitleChanged",data:{trigger:"quick_button"}}),t(!1)},[S,n,i]),E=X(()=>{let D=l.autoEnableSubtitle;l.type==="youtube"&&l.youtubeAutoEnableSubtitle&&(D=!0);let U="";y?U="ai-subtitle-loading":Hl(e.aiSubtitlePageUrl)&&(U="ai-subtitle-used");let B=d("subtitle.quickButton.requestAiSubtitle");Hl(e.aiSubtitlePageUrl)?B=d("subtitle.quickButton.aiSubtitleUsed"):y&&(B=d("subtitle.quickButton.aiSubtitleLoading"));let P="aiSubtitle";return Hl(e.aiSubtitlePageUrl)?P="aiSubtitleGradient":y&&(P="aiSubtitleGray"),[{key:"aiSubtitle",label:B,leftIcon:P,class:U,moreIcon:!0,onClick:()=>{if(ae({key:"ai_subtitle_click",ctx:s}),!y){if(t(!1),Hl(e.aiSubtitlePageUrl)){ZO(e.aiSubtitlePageUrl);return}b(!0),x(!0),Nx(e.aiSubtitlePageUrl||globalThis.location.href).finally(()=>{b(!1)})}},onMoreClick:()=>{r("aiSubtitleSetting")}},{key:"upgradePro",label:d("subtitle.quickButton.upgradePro"),leftIcon:"upgradePro",class:"ai-subtitle-used",onClick:()=>{lt(_.GO_AUTH_PRICING_FOR_YOUTUBE_LIVE)}},{key:"enable",label:d("autoEnableSubtitle"),leftIcon:"enableDualSubtitle",showSelectIcon:D,onClick:()=>w(!i.current?.autoEnableSubtitle)},{key:"tempEnableSubtitle",label:d("subtitle.quickButton.tempEnableSubtitle"),leftIcon:"tempEnableSubtitle",showSelectIcon:g,onClick:()=>{S(!0),be("content",{method:"autoEnableSubtitleChanged",data:{trigger:"quick_button"}})}},{key:"close",label:d("subtitle.quickButton.hideQuickButton"),leftIcon:"disableSubtitleQuickButton",onClick:()=>{n(F=>(F.showQuickButton=!1,F)),a(!1),ae({key:"close_subtitle_quick_button",ctx:s}),t(!1)}},{key:"download",label:d("subtitle.quickButton.downloadSubtitle"),leftIcon:"download",onClick:C},{key:"setting",label:d("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||!u&&(F.key==="enable"||F.key==="tempEnableSubtitle")?!1:l.enableHookDownload&&F.key=="download"?!0:!l?.attachRule&&(F.key=="setting"||F.key=="download")||!l.allowTempEnableSubtitle&&F.key==="tempEnableSubtitle"||D&&F.key==="tempEnableSubtitle"?!1:F.key==="tempDisableSubtitle"?D:!0)},[o,l,g,f,u,y,v,e]),k=X(()=>({title:d("subtitle.quickButton.aiSubtitleSetting"),onBackClick:()=>r("home"),onItemClick:D=>r(D.key),items:[{key:"reloadAiSubtitle",label:d("subtitle.quickButton.reloadAiSubtitle"),onClick:()=>{b(!0),Nx(e.aiSubtitlePageUrl||globalThis.location.href,!0).finally(()=>{b(!1)}),t(!1)}}]}),[r,r,d]);return{homeSettingItems:E,tempEnableSubtitle:g,tempEnableAiSubtitle:h,aiSubtitleLoading:y,aiSubtitleSetting:k}}function pue(e){let{ctx:t,subtitleRule:n,setSelectType:r,selectType:i,handleUpdateConfig:a}=e,{t:o}=H(),s=f=>{r(f.key)},l=X(()=>{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]),u=C0(l,o),d=f=>{a(p=>(p={...p,...f},p)),be("content",{method:"updateGlobalCtx",data:{trigger:"quick_button"}})},g=re(async()=>{let p=(await qu())?.generalRule?.subtitleRule;a(h=>{let x={...h};return x1.forEach(y=>{x[y]&&(p[y]?x[y]=p[y]:delete x[y])}),x}),be("content",{method:"updateGlobalCtx",data:{trigger:"quick_button"}}),UO()},[a]);return{optionSetting:X(()=>{let f=v1(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:g},{key:"moreSetting",label:o("subtitle.quickButton.moreSetting"),onClick:()=>{Jr(!0,"#subtitle",t.config.useOnlineOptions)}}]},sourceSetting:{title:o("subtitle.quickButton.sourceSetting"),onBackClick:()=>r("setting"),onItemClick:s,items:S5("source",o)},translationSetting:{title:o("subtitle.quickButton.translationSetting"),onBackClick:()=>r("setting"),onItemClick:s,items:S5("translation",o)},translationPosition:{title:o("subtitle.quickButton.translationPosition"),onBackClick:()=>r("setting"),onItemClick:h=>{d({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=>{d({sourceFontSize:h.key})},items:Hc()},translationFontSize:{title:o("subtitle.quickButton.translationFontSize"),onBackClick:()=>r("translationSetting"),onItemClick:h=>{d({translationFontSize:h.key})},items:Hc()},sourceTextColor:{title:o("subtitle.quickButton.sourceTextColor"),onBackClick:()=>r("sourceSetting"),onItemClick:h=>{d({sourceTextColor:h.key})},items:f},translationTextColor:{title:o("subtitle.quickButton.translationTextColor"),onBackClick:()=>r("translationSetting"),onItemClick:h=>{d({translationTextColor:h.key})},items:f},backgroundColor:{title:o("subtitle.quickButton.backgroundColor"),onBackClick:()=>r("setting"),onItemClick:h=>{d({backgroundColor:h.key})},items:f},backgroundOpacity:{title:o("subtitle.quickButton.backgroundOpacity"),onBackClick:()=>r("setting"),onItemClick:h=>{d({backgroundOpacity:h.key})},items:y1()},textShadowType:{title:o("subtitle.quickButton.textShadowType"),onBackClick:()=>r("setting"),onItemClick:h=>{d({textShadowType:h.key})},items:b1(o)},translationFontFamily:{title:o("subtitle.quickButton.translationFontFamily"),onBackClick:()=>r("translationSetting"),onItemClick:h=>{d({translationFontFamily:h.key})},items:u},sourceFontFamily:{title:o("subtitle.quickButton.sourceFontFamily"),onBackClick:()=>r("sourceSetting"),onItemClick:h=>{d({sourceFontFamily:h.key})},items:u},sourceFontWeight:{title:o("subtitle.quickButton.sourceFontWeight"),onBackClick:()=>r("sourceSetting"),onItemClick:h=>{d({sourceFontWeight:h.key})},items:Vc},translationFontWeight:{title:o("subtitle.quickButton.translationFontWeight"),onBackClick:()=>r("translationSetting"),onItemClick:h=>{d({translationFontWeight:h.key})},items:Vc}};return Object.keys(p).forEach(h=>{p[h].items.forEach(y=>{y.showRightIcon||n[h]&&(y.showSelectIcon=n[h]==y.key)})}),p},[t,n,u])}}function KO(e){let[t,n]=N(16);return W(()=>{let r=Qe(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 K0(){document.dispatchEvent(new CustomEvent(Jm))}function QO(){let[e,t]=N(0);return W(()=>{let n=()=>{t(r=>r+1)};return document.addEventListener(Jm,n),()=>{document.removeEventListener(Jm,n)}},[]),e}function YO(e){let{ctx:t,hasSubtitle:n,aiSubtitlePageUrl:r}=e,[i,a]=N(!1),o=t.rule.subtitleRule,s=QO(),l=X(()=>!(!t?.config?.isEnableGuideTips||!o.aiSubtitle?.enable||n||!o.isEnableAiSubtitleTip||o.isShowedAiSubtitleTip||i||XO(r)),[t?.config?.isEnableGuideTips,n,o.aiSubtitle?.enable,o.isEnableAiSubtitleTip,o.isShowedAiSubtitleTip,i,r,s]),u=re(async d=>{d.stopPropagation(),d.preventDefault(),a(!0),o.isShowedAiSubtitleTip=!0;let g=await Ln();g.generalRule||(g.generalRule={}),g.generalRule["subtitleRule.add"]||(g.generalRule["subtitleRule.add"]={}),g.generalRule["subtitleRule.add"].isShowedAiSubtitleTip=!0,await Bt(g)},[]);return{isShow:l,handleClose:u}}function $O(e){let{t}=H(),{isLive:n,ctx:r}=e,{visible:i,contentVisible:a,activeSetting:o,selectType:s,handleButtonClick:l,aiSubtitleLoading:u}=qO(e),d=KO(e.ctx.rule.subtitleRule.videoSelector||"video"),g=YO(e);if(!i)return null;if(!e.hasSubtitle&&!e.isEnableAiSubtitle)return c(vue,{});let m=Hl(e.aiSubtitlePageUrl||globalThis.location.href)||u||!1;return c("div",{class:`${ln}-button`,onClick:f=>{l(f),g.isShow&&g.handleClose(f)},children:[c("div",{style:{position:"relative"},children:[c(mF,{isAi:m}),u&&c("div",{class:`${ln}-loading-container`,children:c("div",{class:`${ln}-loading`})})]}),c("span",{class:"label",children:t("subtitle.bilingual")}),c(bue,{isShow:g.isShow,handleClose:g.handleClose}),c("div",{onClick:f=>{f.stopPropagation(),o.onBackClick?.()},style:{maxHeight:d},class:`${ln}-pop-content ${a?"show":""}`,children:[c(yue,{ctx:r,title:o.title,hasSubtitle:e.hasSubtitle,selectType:s,isLive:n}),o.items.map(f=>{let p={[z+"-subtitle-type"]:"enable"},h=f.leftIcon&&Ls(f.leftIcon);return Gs("p",{...p,key:f.key,class:"setting-item "+f.class||"",onClick:x=>{x.stopPropagation(),f.onClick?f.onClick(f):o.onItemClick?.(f)}},h&&c("img",{class:"left-icon",src:h}),c("label",{children:f.label}),f.value&&c("span",{children:f.value}),c("div",{class:"select-icon",children:f.showSelectIcon&&!f.showRightIcon&&c(J1,{})}),f.showRightIcon&&c(hF,{}),f.moreIcon&&c(hue,{onClick:x=>{x.stopPropagation(),f.onMoreClick&&f.onMoreClick(f)}}))})]})]})}function hue(e){let t=Ls("moreIcon"),{onClick:n}=e;return t?c("div",{class:"more-icon-container",onClick:n,children:c("img",{class:"more-icon",src:t})}):null}function yue(e){let{ctx:t,title:n,hasSubtitle:r,selectType:i,isLive:a}=e,{t:o}=H(),s=a&&!t.isPro&&i==="home"&&!t.rule.subtitleRule.allowFreeUserLive;return n?c("div",{class:"content-header",children:[c(pF,{}),c("span",{children:n})]}):i!=="home"?null:s?c("div",{class:"no-subtitle-header",children:o("subtitle.quickButton.liveOnlyPro")}):!t.isPro&&!r?c("div",{class:"no-subtitle-header",style:{whiteSpace:"pre-wrap",paddingTop:0,minWidth:179},dangerouslySetInnerHTML:{__html:o("subtitle.quickButton.freeUserAISubtitleTip",{1:_.GO_AUTH_PRICING_FOR_NO_SUBTITLE_QUICK_BUTTON})}}):r?null:c("div",{class:"no-subtitle-header",children:o("subtitle.quickButton.noSubtitleAndRequestAiSubtitle")})}function bue(e){let{isShow:t,handleClose:n}=e,{t:r}=H();return t?c("div",{class:`${ln}-ai-subtitle-tip`,children:[c("img",{src:Sv,style:{width:"12px",height:"12px"}}),r("subtitle.quickButton.noSubtitleAndRequestAiSubtitle"),c("div",{class:`${ln}-ai-subtitle-tip-close`,onClick:n,children:c(yF,{})})]}):null}function vue(){let{t:e}=H();return c("div",{style:{height:"100%",display:"flex",alignItems:"center"},children:c(Ye,{text:e("subtitle.noSubtitle"),position:"top",containerStyle:{height:"100%",display:"flex"},tipStyle:{pointerEvents:"none"},children:c("div",{class:`${ln}-button`,style:{opacity:.5},children:[c(fF,{}),c("span",{class:"label",children:e("subtitle.bilingual")})]})})})}var ln="imt-quick-subtitle",e_=`
  .${ln}-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;
  }

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

  .${ln}-button .label {
    margin-left: 8px;
    font-size: 1em;
    color: #ffffff;
    white-space: nowrap;
    display: none;
  }
  .${ln}-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));
  }
  .${ln}-pop-content::-webkit-scrollbar{
    width: 4px;
  }
  .${ln}-pop-content::-webkit-scrollbar-thumb {
      background: rgba(0, 0, 0, 0.5);
  }
  .${ln}-pop-content.show {
    display: block !important;
  }

  .${ln}-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;
  }
  .${ln}-pop-content p label {
    margin-left: 8px;
    white-space: nowrap;
    flex: 1;
    cursor: pointer;
    font-weight: 400;
  }

  .${ln}-pop-content p span {
    margin-left: 8px;
    white-space: nowrap;
    margin-left: 40px;
  }
  .${ln}-pop-content p .select {
    opacity: 0;
  }
  .${ln}-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) {
    .${ln}-button .label {
      display: none;
    }
  }

  .${ln}-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;
  }

  .${ln}-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;
  }

  .${ln}-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;
  }

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

`;var Fx=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)}}},lr=e=>new Fx(e);var xue="ssa",Vl={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}`}},Bx=(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 u=/^\s*\[([^\]]+)\]\r?\n([\s\S]*)$/.exec(o[s]);if(u){let d=u[1],g=u[2].split(/\r?\n/);for(let m=0;m<g.length;m++){let f=g[m];if(/^\s*;/.test(f))continue;let p=/^\s*([^\s:]+):\s*(.*)$/.exec(f);if(p){if(d==="Script Info")if(n||(n={},n.type="meta",n.data={},i.push(n)),typeof n.data=="object"){let h=p[1].trim(),x=p[2].trim();n.data[h]=x}else throw new Error(`Invalid meta data: ${f}`);else if(d==="V4 Styles"||d==="V4+ Styles"){let h=p[1].trim(),x=p[2].trim();if(h==="Format")r=x.split(/\s*,\s*/g);else if(h==="Style"&&r){let y=x.split(/\s*,\s*/g),b={};b.type="style",b.data={};for(let v=0;v<r.length&&v<y.length;v++)b.data[r[v]]=y[v];i.push(b)}}else if(d==="Events"){let h=p[1].trim(),x=p[2].trim();if(h==="Format")r=x.split(/\s*,\s*/g);else if(h==="Dialogue"&&r){let y=x.split(/\s*,\s*/g),b={};b.type="caption",b.data={};for(let S=0;S<r.length&&S<y.length;S++)b.data[r[S]]=y[S];b.start=Vl.toMilliseconds(b.data.Start),b.end=Vl.toMilliseconds(b.data.End),b.duration=b.end-b.start,b.content=b.data.Text;let C=((S,T,w)=>S.split(T,w).join(T).length)(x,",",r.length-1)+1;b.content=x.substring(C),b.data.Text=b.content,b.text=b.content.replace(/\\N/g,a).replace(/\{[^}]+\}/g,""),i.push(b)}}}}}t.verbose}return i},Ox=(e,t)=>{let n=t.eol||`\r
`,r=t.format==="ass",i=e.find(u=>u.type=="meta"),a=typeof i?.data=="object"?i.data:null,o=e.find(u=>u.type=="style"),s=typeof o?.data=="object"?o.data:null,l="";l+=`[Script Info]${n}`,l+=`ScriptType: ${a?.ScriptType||`v4.00${r?"+":""}${n}`} `,a?.WrapStyle&&(l+=`WrapStyle: ${a?.WrapStyle}${n}`),a?.ScaledBorderAndShadow&&(l+=`ScaledBorderAndShadow: ${a?.ScaledBorderAndShadow}${n}`),l+=`Collisions: Normal${n}`,l+=n,r?(l+=`[V4+ Styles]${n}`,l+=`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}`,l+=`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}`):(l+=`[V4 Styles]${n}`,l+=`Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding${n}`,l+=`Style: DefaultVCD, Arial,28,11861244,11861244,11861244,-2147483640,-1,0,1,1,2,2,30,30,30,0,0${n}`),l+=n,l+=`[Events]${n}`,l+=`Format: ${r?"Layer":"Marked"}, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text${n}`;for(let u=0;u<e.length;u++){let d=e[u];if(d.type!=="meta"){if(!d.type||d.type==="caption"){l+=`Dialogue: ${r?"0":"Marked=0"},${Vl.toTimeString(d.start)},${Vl.toTimeString(d.end)},${d.data?.Style||"DefaultVCD"}, ${d.data?.Name||""},${d.data?.MarginL||"0000"},${d.data?.MarginR||"0000"},${d.data?.MarginV||"0000"},,${d.text.replace(/\r?\n/g,"\\N")}${n}`;continue}t.verbose}}return l},_x=e=>/^\s*\[Script Info\]\r?\n/.test(e)&&/\s*\[Events\]\r?\n/.test(e)?e.indexOf("[V4+ Styles]")>0?"ass":"ssa":!1,t_=lr({name:xue,build:Ox,detect:_x,helper:Vl,parse:Bx});var Cue="ass",n_=lr({name:Cue,build:Ox,detect:_x,helper:Vl,parse:Bx});var Tue="json",Sue=(e,t)=>JSON.parse(e),wue=(e,t)=>JSON.stringify(e,void 0,2),Eue=e=>{try{let t=JSON.parse(e);return Array.isArray(t)&&t.length>0&&typeof t[0]=="object"}catch{return!1}},r_=lr({name:Tue,build:wue,detect:Eue,parse:Sue});var Aue="lrc",Ux={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)}`}},kue=(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 u={};u.type="caption",u.start=Ux.toMilliseconds(s[1]),u.end=u.start+2e3,u.duration=u.end-u.start,u.content=s[2],u.text=u.content,r.push(u),n&&(n.end=u.start,n.duration=n.end-n.start),n=u;continue}let l=/^\[(\w+):([^\]]*)\](?:\r?\n)*$/.exec(i[a]);if(l){let u={};u.type="meta",u.tag=l[1],l[2]&&(u.data=l[2]),r.push(u);continue}t.verbose}return r},Mue=(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+=`[${Ux.toTimeString(o.start)}]${o.text}${i}`;continue}t.verbose}return n},Iue=e=>/\r?\n\[\d+:\d{1,2}(?:[.,]\d{1,3})?\].*\r?\n/.test(e),i_=lr({name:Aue,build:Mue,detect:Iue,helper:Ux,parse:kue});var Lue="sbv",Q0={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}`}},Due=(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 l={};l.type="caption",l.start=Q0.toMilliseconds(s[1]),l.end=Q0.toMilliseconds(s[2]),l.duration=l.end-l.start;let u=s[3].split(/\[br\]|\r?\n/gi);l.content=u.join(r),l.text=l.content.replace(/>>[^:]+:\s*/g,""),n.push(l);continue}t.verbose}return n},Pue=(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+=`${Q0.toTimeString(a.start)},${Q0.toTimeString(a.end)}${r}`,n+=a.text+r,n+=r;continue}t.verbose}return n},Rue=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),a_=lr({name:Lue,build:Pue,detect:Rue,helper:Q0,parse:Due});var o_="smi",jx={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,"&")},Nue=(e,t)=>{if(t.format&&t.format!==o_)throw new Error(`Invalid format: ${t.format}`);let n=[],r=t.eol||`\r
`,i=/<TITLE[^>]*>([\s\S]*)<\/TITLE>/i.exec(e);if(i){let u={};u.type="meta",u.name="title",u.data=i[1].replace(/^\s*/g,"").replace(/\s*$/g,""),n.push(u)}let a=/<STYLE[^>]*>([\s\S]*)<\/STYLE>/i.exec(e);if(a){let u={};u.type="meta",u.name="style",u.data=a[1],n.push(u)}let o=e.replace(/^[\s\S]*<BODY[^>]*>/gi,"").replace(/<\/BODY[^>]*>[\s\S]*$/gi,""),s=null,l=o.split(/<SYNC/gi);for(let u=0;u<l.length;u++){if(!l[u]||l[u].trim().length===0)continue;let d=`<SYNC${l[u]}`,g=/^<SYNC[^>]+Start\s*=\s*["']?(\d+)[^\d>]*>([\s\S]*)/i.exec(d);if(g){let m={};m.type="caption",m.start=parseInt(g[1]),m.end=m.start+2e3,m.duration=m.end-m.start,m.content=g[2].replace(/^<\/SYNC[^>]*>/gi,"");let f=!0,p=/^<P.+Class\s*=\s*["']?([\w-]+)(?: .*)?>([\s\S]*)/i.exec(m.content)||/^<P([^>]*)>([\s\S]*)/i.exec(m.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,m.text=jx.htmlDecode(h,r)}!t.preserveSpaces&&f?t.verbose:n.push(m),s&&(s.end=m.start,s.duration=s.end-s.start),s=m;continue}t.verbose}return n},Fue=(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>${jx.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},Bue=e=>/<SAMI[^>]*>[\s\S]*<BODY[^>]*>/.test(e),s_=lr({name:o_,build:Fue,detect:Bue,helper:jx,parse:Nue});var Oue="srt",Y0={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}`}},_ue=(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 l={};l.type="caption",l.index=parseInt(s[1]),l.start=Y0.toMilliseconds(s[2]),l.end=Y0.toMilliseconds(s[3]),l.duration=l.end-l.start;let u=s[4].split(/\r?\n/);l.content=u.join(r),l.text=l.content.replace(/<[^>]+>/g,"").replace(/\{[^}]+\}/g,"").replace(/>>[^:]*:\s*/g,""),n.push(l);continue}t.verbose}return n},Uue=(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+=`${Y0.toTimeString(a.start)} --> ${Y0.toTimeString(a.end)}${r}`,n+=a.text+r,n+=r;continue}t.verbose}return n},jue=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),l_=lr({name:Oue,build:Uue,detect:jue,helper:Y0,parse:_ue});var zue="sub",zx=25,Hue=(e,t)=>{t.fps||=zx;let n=t.fps>0?t.fps:zx,r=[],i=t.eol||`\r
`,a=e.split(/\r?\n/g);for(let o=0;o<a.length;o++){let l=/^\{(\d+)\}\{(\d+)\}(.*)$/.exec(a[o]);if(l){let u={};u.type="caption",u.index=o+1,u.frame={start:parseInt(l[1]),end:parseInt(l[2]),count:parseInt(l[2])-parseInt(l[1])},u.start=Math.round(u.frame.start/n),u.end=Math.round(u.frame.end/n),u.duration=u.end-u.start;let d=l[3].split(/\|/g);u.content=d.join(i),u.text=u.content.replace(/\{[^}]+\}/g,""),r.push(u);continue}t.verbose}return r},Vue=(e,t)=>{let n=(t.fps||0)>0?t.fps:zx,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,l=typeof o.frame=="object"&&o.frame.end>=0?o.frame.end:o.end*n,u=o.text.replace(/\r?\n/,"|");r+=`{${s}}{${l}}${u}${i}`;continue}t.verbose}return r},Gue=e=>/^\{\d+\}\{\d+\}.*/.test(e),u_=lr({name:zue,build:Vue,detect:Gue,parse:Hue});var Wue="vtt",Z0={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}`}},que=(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 u={};u.type="caption",u.index=n++,s[1]&&(u.cue=s[1].replace(/[\r\n]*/g,"")),u.start=Z0.toMilliseconds(s[2]),u.end=Z0.toMilliseconds(s[3]),u.duration=u.end-u.start;let d=s[4].split(/\r?\n/);u.content=d.join(" "),u.text=u.content.replace(/<[^>]+>/g,"").replace(/\{[^}]+\}/g,""),r.push(u);continue}let l=/^([A-Z]+)(\r?\n([\s\S]*))?$/.exec(i[a])||/^([A-Z]+)\s+([^\r\n]*)$/.exec(i[a]);if(l){let u={};u.type="meta",u.name=l[1],l[3]&&(u.data=l[3]),r.push(u);continue}t.verbose}return r},Kue=(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+=`${Z0.toTimeString(a.start)} --> ${Z0.toTimeString(a.end)}${n}`,r+=a.text+n,r+=n;continue}t.verbose}return r},Que=e=>/^\s*WEBVTT(?:[ \t][^\r\n]*)?\r?\n/.test(e),c_=lr({name:Wue,build:Kue,detect:Que,helper:Z0,parse:que});var Yue={vtt:c_,lrc:i_,smi:s_,ssa:t_,ass:n_,sub:u_,srt:l_,sbv:a_,json:r_},d_=Yue;var Zue=e=>JSON.parse(JSON.stringify(e)),Hx=class{format=d_;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=l=>[l[0]+o,l[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=l=>[Math.round(l[0]*i+o),Math.round(l[1]*i+o)];else throw new Error("Argument 'options' not defined!");let s=[];for(let l=0;l<t.length;l++){let u=Zue(t[l]);if(!u.type||u.type==="caption")if(a){let d=r([u.frame.start,u.frame.end]);d&&d.length===2&&(u.frame.start=d[0],u.frame.end=d[1],u.frame.count=u.frame.end-u.frame.start)}else{let d=r([u.start,u.end]);d&&d.length===2&&(u.start=d[0],u.end=d[1],u.duration=u.end-u.start)}s.push(u)}return s}},g_=new Hx,ma=g_,{format:Dft,list:Pft,detect:Rft,parse:Nft,build:Fft,convert:Bft,resync:Oft}=g_;var Ot=class{inject=D4;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(du,this.handleTempEnableSubtitle.bind(this))}handleMessage(){L4.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),L4.sendMessages({id:n,data:a})})}isContentReady(){return this.inject.contentReady(),!0}startRequestSubtitle(){this.isEnableSubtitle()&&Dx(this.ctx)}subtitleRequestError(t){}injectCSS(){let t=this.config.injectedCss||[];Lt(this.ctx.config.rtlLanguages,this.ctx.targetLanguage)&&this.isEnableSubtitle()&&(zn(document.documentElement,pe+"_rtl",this.ctx.targetLanguage),this.config.rtlInjectedCss?.length?t.push(...this.config.rtlInjectedCss):this.config.loadingContainerSelector&&t.push(`[data-${z}_rtl] ${this.config.loadingContainerSelector} * {direction: rtl;}`)),t.length&&wn(document,`${t.join(`
`)}`,z+"-subtitle-dynamic-injected-css")}initConfig(t){this.ctx=t,this.config=t.rule.subtitleRule}async requestSubtitle(t){let n=await Ct(Ve(),{});if(this.initConfig(n),!await or({ctx:n,usageScene:"subtitle_video",service:n.subtitleTranslateService}))return Ya(this.config),[];if(await rt(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,l=this.getMemoryCache(s);if(l)return l;let u=await this.loadSubtitle({input:aR(i),options:oR(a)});return u&&this.setMemoryCache(s,u),u}catch(i){return M.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&&!et(Ve(),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 de(t,n)}getLoadingText(t){let n=this.i18nFormat("subtitleLoading");return t&&(n=this.i18nFormat("subtitleTranslating",{service:T1(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=ht.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 mn({sentences:i},{...this.ctx,isRichTranslate:!1,translationService:this.ctx.subtitleTranslateService,usageScene:"subtitle_video"},(o,s,l)=>{o?a[l.id]=W0(this.ctx,o):s?a[l.id]=s.text:a[l.id]=this.i18nFormat("translateFail")}),a.map((o,s)=>{let l="";return this.getTranslationMode(n)==="translation"?l=o:l=`${t[s].replace(/\n/g," ")||""}${r}${o}`,{text:t[s]||"",translation:o,displayText:l}})}updateDownloadSubtitle(t){let{subtitleItems:n,lang:r,translations:i}=t;i.length===n.length&&n.forEach((a,o)=>{a.translation=i[o].translation}),G1(this.ctx,n,r)}getTranslationMode(t){return Io(t,this.ctx.targetLanguage)?"translation":M4(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(Dn(()=>{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(Dn(()=>{let r=$u(this.config.multipleVideoContainerSelector);r.length&&r.forEach(i=>{if(!i.getAttribute(eg)){let a=this.getAiSubtitlePageUrl(i);a&&(i.setAttribute(eg,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=Qe(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=Qe(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=z+"-quick-button-container";getAppendQuickButtonElement(t=document){if(!this.quickButtonRule||!this.quickButtonRule.appendSelector)return null;let n=Qe(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=Qe(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,bt(this.ctx,n);let o=t.filter(l=>l.text),s;i&&(s=this.getAiSubtitlePageUrl(i)),Qa({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;Ya(this.config,t),this.isAttachSubtitled=!1;let n=null;t&&(n=this.getAiSubtitlePageUrl(t)),n&&MN(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);Dr({id:z+"quick-button",parent:r,ctx:this.ctx,Component:$O,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;",[sf]:i?"true":"false"},style:e_+this.quickButtonRule?.injectCSS||""});let o=z+"-quick-button-injected-global-css",s=this.quickButtonRule?.injectedGlobalCSS;!s||document.getElementById(o)||wn(document,s,o)}async isSubtitleAvailable(t=document){let n=this.quickButtonRule;if(!n)return!1;if(n.ccEnableSelector){let r=Qe(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=Qe(this.quickButtonRule.appendSelector,t);if(!n)return;let r=n.querySelector(this.quickButtonRule.ccEnableSelector);r&&(this.ccBtnObserver=new MutationObserver(()=>{let i=n.querySelector(`[${sf}]`)?.getAttribute(sf)==="true";getComputedStyle(r).display!=="none"&&!i&&Promise.resolve().then(async()=>{await this.reloadQuickButton(n)}).catch(M.error)}),this.ccBtnObserver.observe(r,{attributes:!0,attributeFilter:["style","class"]}))}async _fetchSubtitle(t,n){let r;if(ot()?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?ma.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 Ap(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 Jue=60*60,m_=`${uo}-ai-subtitle-tip`,pd=class extends Ot{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 ai()&&!Gc(this.config,n))return;await this.useAiSubtitleServerCacheByUrl(t,!0)&&this.reportUseAiSubtitle("auto"),K0()}async useAiSubtitleServerCacheByUrl(t,n){if(!await le.getUserToken())return!1;try{let r=await Tt.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),M.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 Tt.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*Jue?(this.showAiSubtitleTipWithText({text:this.i18nFormat("subtitle.requestAiSubtitleMaxDurationLimitTip",{maxDurationHours:n}),url:t}),!1):!0}async hasAiSubtitleQuota(){let t=await le.getUserInfo(),{hasQuota:n}=zp({user:t,quotaType:"noviceAsrAudioQuota"});return n||await ai()}async toggleAiSubtitle(t,n){let r=await le.getUserToken(),i=Gc(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 d=this.getTaskCache(t);if(d?.status==="completed"&&d.result)return this.updateTask(t,{isCacheHit:!0}),await this.handleAttachAiSubtitle(t),d.result;if(await this.useAiSubtitleServerCacheByUrl(t))return}if(!await this.hasAiSubtitleQuota()){this.showUpgradeProModal();return}a=setTimeout(()=>{this.showAiSubtitleTipWithStatus("loading",t)},1e3);let l=await this.createTask(t,n);if(!l)return;this.currentTaskId=l;let u=await this.pollTaskStatus(l,t);return clearTimeout(a),await this.handleAttachAiSubtitle(t),u}catch(o){return M.error("ai subtitle get subtitle error",o),this.updateTask(t,{status:"failed",result:o.message}),a&&clearTimeout(a),o instanceof J&&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)He("showErrorModal",{title:this.i18nFormat("error.usageTips"),errMsg:this.i18nFormat("error.aiSubtitleTrialQuotaExceeded"),action:"aiSubtitleTrialQuotaExceeded",type:"error"});else{let r=n.subscription.openAITokenUsedCountResetTime;He("showErrorModal",{title:this.i18nFormat("error.usageTips"),errMsg:this.i18nFormat("error.aiSubtitleQuotaExceeded",{nextResetTime:Wf(r,"YYYY-MM-DD HH:mm:ss")}),action:"aiSubtitleQuotaExceeded",type:"error"})}}showLoginOrUpgradeProModal(){He("showErrorModal",{title:this.i18nFormat("subtitle.upgradePro"),errMsg:this.i18nFormat("subtitle.upgradeProMessage",{featureName:this.i18nFormat("subtitle.aiSubtitle")}),action:"loginOrUpgradeByAiSubtitle",type:"error"})}showUpgradeProModal(){He("showErrorModal",{title:this.i18nFormat("upgradeToPro"),errMsg:this.i18nFormat("subtitle.error.aiSubtitleProOnly"),action:"upgradeAiSubtitle",targetUrl:_.GO_AUTH_PRICING_FOR_AI_SUBTITLE,type:"error"})}showNotLoginModal(){He("showErrorModal",{title:this.i18nFormat("subtitle.upgradePro"),errMsg:this.i18nFormat("subtitle.error.aiSubtitleLimitFree"),targetUrl:_.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 Tt.get(`asr-audio/v2/task/${t}`);if(r.status==="completed")return M.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 rt(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=ma.parse(r.result).filter(l=>l.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:Ls("aiSubtitleWhite")});return}let s=await Ze({text:i.map(l=>l.text).join(`
`)});if(this.config.attachRule?.appendSelector){let l=this.getAiSubtitleItems(i);this.attachSubtitle(l,s,!0),this.showAiSubtitleTipWithStatus("used",t),setTimeout(()=>{K0()},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 M.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 Ze({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=Ls("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()&&Gc(this.config)&&(r+=this.i18nFormat("subtitle.limitFree")),i=Ls("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(`#${m_}`);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=m_,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||Ls("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){ae({key:"use_ai_subtitle",ctx:this.ctx,params:{trigger:t}}),fi("translate_video_2",this.ctx)}getHasAiSubtitleCache(t){return t=t||globalThis.location.href,this.cacheStatusMap.get(t)!==!1}};var B4=class extends pd{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}RO({source:R4,subtitleItems:n,lang:t})}}mutationVideoChange(){let t=this.config;this.autoShowObserver&&this.autoShowObserver.disconnect(),this.autoShowObserver=new MutationObserver(Dn(()=>{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 u=!this.videoSrc&&!this.isAttachSubtitled;this.inject.triggerSubtitle({force:u})}(!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(),!Se().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){M.debug("[subtitle] remove"),super.removeAttachSubtitle(t),document.querySelectorAll(".html5-video-player").forEach(r=>{Ya(this.config,r)})}isEnableSubtitle(){if(this.config.disabled)return!1;let t=this.config.autoEnableSubtitle||this.tempEnableSubtitle;return this.config.translationOnlyPattern&&!et(Ve(),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=At(Te(i),this.ctx.targetLanguage);if(a||Io(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,l=!!o?.aiSupportLanguages?.find(h=>h===i),u=this.config.preTranslation&&o?.aiEnable&&this.ctx.isPro&&l;if(GO(t)&&(s||u)){let h=await this.requestOriginalEvents(t,n);u&&this.requestServerMerge(h,i);let x=VO(h,i,this.ctx.rule.ytAsrConfig);if(x){this.attachSubtitle(x,i);return}}let d=await this.requestOriginalSubtitle(t,n);if(!d||!d?.length)return null;let g=this.mergeSelfSubtitle(d,this.getSpaceWithLang(i));if(a){let h=this.formatToSubtitleItem(g);return this.attachSubtitle(h,i),null}let m=await this.requestHumanSubtitle(g,r);m?.length||(m=await this.requestYoutubeTranslateSubtitle(t,d,i,r)),m?.length||(m=this.formatToSubtitleItem(g));let p=(await this.inject.getVideoMeta())?.videoDetails?.videoId;return p&&!t.includes(p)||this.attachSubtitle(m,i),null}catch(r){return this.config?.attachRule?.appendSelector&&Ya(this.config),M.error(r),null}finally{this.hideSubtitleLoading()}}async requestServerMerge(t,n){if(await le.getUserToken())try{let i=await Pa(t),o=(await Tt.post("subtitles/yt-asr-subs",{subtitles:t,subtitleHash:i})).data?.map(s=>({start:s.start/1e3,end:s.end/1e3,text:s.text}));if(M.debug("yt asr merge subtitles:",o),o){this.attachSubtitle(o,n);return}}catch(i){M.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&&!At(Te(o),r)&&!Io(Te(o),r))return i.searchParams.delete("tlang"),i.toString();let s=n?.captions?.playerCaptionsTracklistRenderer?.captionTracks.filter(g=>!At(Te(g.languageCode),r)&&!Io(Te(g.languageCode),r));if(!this.config.autoSwitchSubtitleWithSameLanguage||!s)return null;let l=s.find(g=>g.kind);if(!l&&s.length&&(l=s.sort((m,f)=>Te(m.languageCode)==="en"?-1:0)[0]),!l)return;let u=Te(l.languageCode),d=this.getHumanCaptionTrack(u,n);return d?d.baseUrl:l.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=WO(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 M.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 Ze({text:t});return M.debug("youtube detect language:",n,"target language:",this.ctx.targetLanguage),At(Te(n),this.ctx.targetLanguage)}catch(n){return M.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 u=this.mergeSelfSubtitle(n,this.getSpaceWithLang(r)),d=this.mergeSelfSubtitle(s,this.getSpaceWithLang(this.ctx.targetLanguage)),g=d.filter(f=>!!f.text);if(Math.abs(u.length-g.length)>n.length*.1)return null;M.debug("youtube subtitle ",u,d);let m=d.reduce((f,p)=>(f[p.tStartMs]=p.text||"",f),{});return u.map(f=>({start:f.tStartMs/1e3,end:(f.tStartMs+f.dDurationMs)/1e3,text:f.text||"",translation:m[f.tStartMs]}))}catch(a){return M.error("youtube translate subtitle error:",a),null}}getHumanCaptionTrack(t,n){if(n&&n.captions)return n.captions.playerCaptionsTracklistRenderer.captionTracks.find(i=>Te(i.languageCode)===t&&!i.kind)}getYoutubeTranslateLang(t,n){let r=t;if(n&&n.captions){let i=n.captions.playerCaptionsTracklistRenderer?.translationLanguages?.find(a=>Te(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 Te(r)}modifyLanguageObserver=null;modifyLanguageNode(t){let n=this.config,r=z+"-bilingual-subtitle-mark";if(!n.languageSelector||!t.captions)return;let i=t.captions.playerCaptionsTracklistRenderer.captionTracks.reduce((o,s)=>(Object.values(s.name).forEach(l=>{o[l]=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 l=s.innerText.trim();if(i[l]&&!At(Te(i[l]),this.ctx.targetLanguage)&&!Io(Te(i[l]),this.ctx.targetLanguage)){let u=document.createElement("span");u.innerText=`-${this.i18nFormat("bilingual")}`,u.setAttribute(r,"true"),s.appendChild(u)}})});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:iR(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=xx(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 Ct(Ve(),{});this.reloadLiveSubtitle(),this.initConfig(t),this.isEnableSubtitle()||(this.isAiSubtitle=!1),this.reloadQuickButton(),!this.config.disabled&&(!this.isEnableSubtitle()&&this.config.attachRule?.appendSelector&&Ya(this.config),!(this.isEnableSubtitle()&&this.isAttachSubtitled)&&this.inject.triggerSubtitle({force:!0}))}async onTranslationModeChanged(){let t=await Ct(Ve(),{});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(Se().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=A4(r);if(!i)return null;let a=[...i.document.querySelectorAll("p")].filter(d=>d.textContent?.trim()),o=a.map(d=>d.textContent||""),s=await Ze({text:o.join(`
`)});return At(Te(s),this.ctx.targetLanguage)?null:(this.lastReportUrl!==Ve()&&(this.lastReportUrl=Ve(),bt(this.ctx,Te(s),"youtube.live")),(await this._translateSubtitle(o,s)).forEach((d,g)=>{a[g]&&(a[g].innerHTML=d.displayText)}),k4(i.arrayBuffer,i.document))}catch{}}getSpaceWithLang(t){return Ca.includes(Te(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,Ac);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 or({ctx:this.ctx,usageScene:"subtitle_video",service:this.ctx.subtitleTranslateService})){Ya(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:l}=this.extractLiveCaptionFromContainer(i),u=await this.getLiveCurrentTime();s==this.ctx.targetLanguage&&!this.isAttachSubtitled||this.consumeLiveCaption(o,u,s,l)};this.liveObserver=new MutationObserver(()=>{a()}),this.liveObserver.observe(i,{subtree:!0,childList:!0,characterData:!0}),a(),bt(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=Te(o),l=!!i?.classList.contains("ytp-caption-window-rollup"),u=[...a.querySelectorAll(".ytp-caption-segment, .caption-visual-line")];if(u.length){let d=[];return u.forEach(g=>{let m=this.normalizeLiveCaptionText(g.innerText||g.textContent||"");m&&d[d.length-1]!==m&&d.push(m)}),{text:this.filterLiveCaptionText(d.join(" ")),lang:s==="auto"?"en":s,isRollup:l}}return{text:this.filterLiveCaptionText(a.innerText||a.textContent||""),lang:s==="auto"?"en":s,isRollup:l}}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 Xue="iframe[data-subtitle-url]",$ue="data-subtitle-url",O4=class extends Ot{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||Xue;return document.querySelector(t)}getSubtitleUrlAttr(){return this.config.iframeSubtitleUrlAttr||$ue}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,M.info("[youtube_iframe] attach subtitle",{subtitleUrl:n,count:r.length,lang:i}),this.attachSubtitle(r,i,!1)}catch(r){M.error("youtube_iframe attach subtitle error",r)}}};var _4=class extends Ot{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(At(Te(o),this.ctx.targetLanguage))return null;bt(this.ctx,Te(o));let s=await this.fetchSubtitle(n,!0);if(!s)return null;let l=this.getSubtitlesByDoc(s);if(this.config.attachRule?.appendSelector){let g=this.isMatchVideoMeta(n,i);if(g&&i?.movieId&&(this.cacheSubtitleItems[i.movieId]={subtitleItems:l,lang:Te(o)}),!g&&this.isAttachSubtitled||g&&r&&i?.movieId!==r)return;this.attachSubtitle(l,Te(o));return}this.downloadSubtitle(s,Te(o),[]);let u=await this.requestHumanSubtitle(s,Te(o),i);if(u)return this.handleIOSFullScreen(u,Te(o)),u.documentElement.outerHTML;let d=await this.translateSubtitle(s,l,Te(o));return d?(this.handleIOSFullScreen(d,Te(o)),d.documentElement.outerHTML):null}catch(r){return M.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){M.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(l=>l.text),s=await this._translateSubtitle(o,r,"<br />");return this.downloadSubtitle(t,r,s),s.forEach((l,u)=>{a[u].innerHTML=l.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(l=>l.url)),[]),a=n[Te(r.language)]||[];n[Te(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 M.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),l=this.formatToSubtitleItems(o),u=gd(s,l,"<br />");return u.forEach((d,g)=>{a.length<=g||(a[g].innerHTML=d.text)}),this.downloadSubtitle(t,r,u),i}iosFullScreenTimer=0;handleIOSFullScreen(t,n,r=0){try{if(!Ae()||!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}));q0(i,n,a,this.ctx)}catch(i){M.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),l=this.formatToSubtitleItem(a);if(s.start!==l.start||s.end!==l.end){a=o;return}let u=a.getAttribute("region"),d=o.getAttribute("region");if(!u||!d||u===d){a.innerHTML=`${l.text} ${s.text}`,o.remove();return}let g=i[u],m=i[d];if(!(!g||!m)){if(g.y>m.y){a.innerHTML=`${s.text} ${l.text}`,o.remove();return}a.innerHTML=`${l.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(Ve()).pathname.replace("/watch/","");return n?parseInt(n):null}};var Fs=class extends pd{autoShowObserver=null;attachTextTrack=null;mutationVideoChange(){let t=this.config;this.autoShowObserver&&this.autoShowObserver.disconnect(),t.videoPlayerSelector&&(this.autoShowObserver=new MutationObserver(()=>{$u(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&&Qe(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(At(Te(t.language),this.ctx.targetLanguage))return;let r=i=>{if(M.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==z)){if(this.config.attachRule?.appendSelector&&a.cues&&this.attachTextTrack!=a){this.attachSubtitle(this.formatToSubtitleItem([...a.cues]),Te(a.language)),a.isTranslated=!0,this.attachTextTrack=a;return}a?.isTranslated&&a?.cues?.length||(bt(this.ctx,Te(a.language)),this.translateSubtitle([...a.cues||[]],Te(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 or({ctx:this.ctx,usageScene:"subtitle_video",service:this.ctx.subtitleTranslateService})){this.showSubtitleLoading(!0);try{let a=t.map(s=>ece(s.text).trim());return(await this._translateSubtitle(a,n,r)).forEach((s,l)=>{t[l].originText=t[l].text,t[l].text=s.displayText}),this.handleHookDownloadTextTrackSubtitle(t,n),t}catch(a){M.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){M.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 ece(e=""){return S1(e).replace(/\n/g," ").replace(/<\d{2}:\d{2}:\d{2}\.\d{3}>/g,"")}var Za=class extends Fs{mutationSubtitleChange(t){if(!t)return;t.removeCueChangeListeners?.forEach(a=>a()),t.removeCueChangeListeners=[],t?.textTracks?.length&&bt(this.ctx,Te(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(At(Te(t.language),this.ctx.targetLanguage))return;let r=async i=>{M.debug("handEvent",i.target);let a=[...t.cues||[]];if(!a.length)return;let o=a.filter(s=>!(s.isTranslated||s.text.includes(Xd)));o.length&&(o.forEach(s=>s.isTranslated=!0),await this.translateSubtitle(o,Te(t.language),Xd),this.handleHookDownloadTextTrackSubtitle(a,Te(t.language)))};t.addEventListener("cuechange",r),n.removeCueChangeListeners||(n.removeCueChangeListeners=[]),n.removeCueChangeListeners.push(()=>t.removeEventListener("cuechange",r))}};var hd=class extends Za{autoShowObserver=null;videoSrc=null;async loadSubtitle({input:t,options:n}){try{let r=await this.fetchSubtitle(t,n);if(!r)return null;let i=dd(r),a=await Ze({text:i.subtitles.map(u=>u.text).join(`
`)});if(this.config.attachRule?.appendSelector){let u=i.subtitles;this.attachSubtitle(u,a);return}if(At(Te(a),this.ctx.targetLanguage))return null;this.showSubtitleLoading(!0),bt(this.ctx,Te(a));let o=i.subtitles.map(u=>u.text),s=await this._translateSubtitle(o,a);if(this.config.enableHookDownload)try{let u=JSON.parse(JSON.stringify(i.subtitles));this.updateDownloadSubtitle({subtitleItems:u,translations:s,lang:a})}catch(u){M.error("download subtitle error",u)}return i.subtitles.forEach((u,d)=>{u.text=s[d].displayText}),Ns(i)}catch(r){return M.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 U4=class extends Ot{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(At(Te(i),this.ctx.targetLanguage))return null;bt(this.ctx,Te(i));let a=await this.fetchSubtitle(t,n);if(!a)return null;let o=await this.translateSubtitle(a,Te(i));return JSON.stringify(o)}catch(r){return M.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:w5(o.text||""),id:s,from:n,to:this.ctx.targetLanguage,url:"https://google.com",fromByClient:n,force:!0}));return await mn({sentences:a},{...this.ctx,isRichTranslate:!1,translationService:this.ctx.subtitleTranslateService,usageScene:"subtitle_video"},(o,s,l)=>{if(o||!s){M.debug("translate subtitle:",o,s,l);return}let u=Si(s.text),d=i[l.id];d&&this.getTranslationMode(n)==="translation"?d.text=u:d&&(d.text=`${w5(d.text)}
${u}`)}),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 j4=class extends Fs{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(At(Te(a),this.ctx.targetLanguage))return null;bt(this.ctx,Te(a));let o=await this.fetchSubtitle(t);if(!o)return null;let s=await this.requestHumanSubtitle(o,Te(a),r);if(s){let u=this.ctx.rule.subtitleRule.humanTrust;if(!u||s.trust>=u)return s.text}return await this.translateSubtitleByText(o,Te(a))}catch(n){return M.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=cd(t),s=cd(a),l=gd(o,s);return{text:Ns(l),trust:100-Math.abs(o.length-s.length)*100/o.length}}async translateSubtitleByText(t,n){let r=cd(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 mn({sentences:i},{...this.ctx,isRichTranslate:!1,translationService:this.ctx.subtitleTranslateService,usageScene:"subtitle_video"},(a,o,s)=>{if(a||!o){M.debug("translate subtitle:",a,o,s);return}let l=Si(o.text),u=r[s.id];u&&this.getTranslationMode(n)==="translation"?u.text=l:u&&(u.text=`${u.text}
${l}`)}),Ns(r)}formatCaptionTrackUrl(t){let n={};return t?.captions.forEach(r=>{n[Te(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(Ve()).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 z4=class extends Ot{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=f_(i,r.captionsPath);o&&(a=o)}else a.push(i);for(let o of a){let s=o;if(r.itemsPath?s=f_(o,r.itemsPath):Array.isArray(o)?s=o:s=nce(o,r),!s?.length)continue;let l=await Ze({text:s.map(u=>J0(u,r.textKey)).join(`
`)});if(At(Te(l),this.ctx.targetLanguage))return null;if(this.config.attachRule?.appendSelector){let u=s.map(d=>({start:d[r.startKey],end:d[r.endKey],text:J0(d,r.textKey)||""}));this.attachSubtitle(u,l);return}this.showSubtitleLoading(!0),bt(this.ctx,Te(l)),await this.translateSubtitle(s,l)}return JSON.stringify(i)}catch(r){return M.error(r),null}finally{this.hideSubtitleLoading()}}async translateSubtitle(t,n){let r=this.config.generalSetting,i=t.map(o=>J0(o,r.textKey)?.replace(/\n/g," ")||"");return(await this._translateSubtitle(i,n)).forEach((o,s)=>{let l=t[s];if(!l)return;let u=this.getTranslationMode(n)==="translation";t[s]=tce(l,r.textKey,o.translation,u)}),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 f_(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 J0(e,t){if(!e)return null;if(!t)return e;let n=e[t];return Array.isArray(n)?n.join(" "):n}function tce(e,t,n="",r=!1){return e?(t?Array.isArray(e[t])?e[t]=r?[n]:[J0(e,t),n]:e[t]=r?n:e[t]+`
`+n:e=r?n:J0(e,t)+`
`+n,e):null}function nce(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 l=0;l<i.length;l++)o.push({[t.startKey]:n[l]/s,[t.endKey]:r[l]/s,[t.textKey]:i[l]});return o}var yd=class extends Ot{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=ar(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=Yk(t,o.parentElement,n.findParentBlockDepth);if(n.textContentSelector&&!s?.querySelector(n.textContentSelector))return;let l=n.textContentSelector?s?.querySelector(n.textContentSelector):o;if(!s)continue;this.debounceBuildContainers(l,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,bt(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(It)){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("."+It).forEach(r=>{r.remove()}),n.hasMutationText=!1)}translateAll(t){this.config.liveSubtitleRule?.textSelectors?.forEach(r=>{t.querySelectorAll(r).forEach(i=>{!i.textContent||i.querySelector("."+It)||this.translate(this.ctx,i.textContent||"",i)})})}isSelf(t){return Fi(t,["."+It])}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("."+It);if(!s){let p=document.createElement("font");p.classList.add(It),p.classList.add("notranslate");let h=Ob(t);p.append(ht.sanitize(h,{RETURN_DOM_FRAGMENT:!0})),s=p,r.appendChild(s),a&&o&&this.removedTranslations.set(o,s.innerHTML)}let l;try{l=await Ze({text:n})}catch(p){let h=p;this.handleTranslateError(t,h),this.renderError(t,h,r,o,a);return}if(Zu(t,l))return;let u=t.subtitleTranslateService,d=T0(t,u);this.fallbackService=this.fallbackService??Wc(t);let g=l??t.sourceLanguage,m=this.assignTranslateRequestTag(r);if(d&&this.fallbackService!="none"&&this.fallbackService!==u){await this.translateWithDualServices({ctx:t,text:n,root:r,fromLanguage:g,parentId:o,preventRemovalActive:a,currentService:u,fallbackService:this.fallbackService,requestTag:m});return}let f=await this.requestTranslation(t,n,g,u);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:l,fallbackService:u,requestTag:d}=t,g=!1,m=null,f=this.requestTranslation(n,r,a,u).then(h=>{h.text!=null?(M.info(`[live-subtitle] fallback tag=${d} text="${h.text}"`),this.applyTranslatedText(i,h.text,o,s),g=!0):this.fallbackService="none"}),p=this.requestTranslation(n,r,a,l).then(h=>{if(!this.isLatestTranslateRequest(i,d)){M.info(`[live-subtitle] ai-skip tag=${d}`);return}h.text!=null?(M.info(`[live-subtitle] ai tag=${d} text="${h.text}"`),this.applyTranslatedText(i,h.text,o,s),g=!0):!g&&h.error&&(m=h.error)});await Promise.allSettled([f,p]),m&&(this.handleTranslateError(n,m),this.renderError(n,m,i,o,s))}async requestTranslation(t,n,r,i){try{return{text:(await yi({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("."+It),s=ht.sanitize(a);if(o)o.innerHTML=$n?.createHTML(s)||s,o.classList.remove(It+"-error");else{let l=document.createElement("font");l.classList.add(It),l.classList.add("notranslate"),l.innerHTML=$n?.createHTML(s)||s,t.appendChild(l)}}assignTranslateRequestTag(t){let n=cl();return t.dataset.immersiveTranslateTag=n,n}isLatestTranslateRequest(t,n){return t.dataset.immersiveTranslateTag===n}formatTranslatedHTML(t){return`<br/> ${t}<br/>`}async autoEnableSubtitleChanged(){let t=yt(),n=await Ct(Ve(),{});this.initConfig(n),!(this.config.disabled||t!=="Original")&&this.applyLiveSubtitle()}async onPageStatusChange(){let t=await Ct(Ve(),{});this.initConfig(t),!(this.config.disabled||this.config.autoEnableSubtitle)&&this.applyLiveSubtitle()}restoreTranslation(t,n){if(!t||!document.contains(t)||t.querySelector(`.${It}`))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(It),o.classList.add("notranslate"),o.innerHTML=a,t.appendChild(o)}shouldEnableSubtitle(){return this.isEnableSubtitle()||!!this.config.meetingAutoEnableSubtitle}handleTranslateError(t,n){if(n instanceof J&&(this.errorTimes+=1,this.errorTimes===t.rule.toastErrorMinTimes)){let r=n.uiConfig(t);r.action==="retry"&&(r.action="none"),He("showErrorModal",r)}}renderError(t,n,r,i,a){if(t.config.enableSilentTranslation)return;let o=r.querySelector("."+It);o&&(o.classList.add(It+"-error"),MR(t,o,n)),a&&i&&this.removedTranslations.set(i,o?.innerHTML||"")}};var H4=class extends Ot{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}=rce(r),o=await Ze({text:a.map(l=>l.textContent).join(`
`)});if(At(Te(o),this.ctx.targetLanguage))return null;if(this.config.attachRule?.appendSelector){let l=p_(r);this.attachSubtitle(l,o);return}this.showSubtitleLoading(!0),bt(this.ctx,Te(o));let s=await this.translateSubtitle(i,a,Te(o));if(this.config.enableHookDownload)try{let l=p_(r);this.updateDownloadSubtitle({subtitleItems:l,translations:s,lang:o})}catch(l){M.error("download subtitle error",l)}return new XMLSerializer().serializeToString(i)}catch(r){return M.error(r),null}finally{this.hideSubtitleLoading()}}async translateSubtitle(t,n,r){let i=await this._translateSubtitle(n.map(a=>a.textContent||""),Te(r));return i.forEach(({translation:a},o)=>{let s=n[o],l=Si(a);if(s&&this.getTranslationMode(r)==="translation")s.innerHTML=l;else if(s){let u=s.parentElement;if(!u)return;let d=s?.tagName?.split(":")||[],g="br";d.length>1&&(g=d[0]+":"+g);let m=t.createElementNS(X0,g),f=s.cloneNode(!0);f.nodeType==Node.TEXT_NODE?f.textContent=l.trim():f.innerHTML=l.trim(),u?.appendChild(m),u?.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,`
`)}},X0="http://www.w3.org/ns/ttml";function rce(e){let t=new DOMParser().parseFromString(e,"text/xml"),n=t.getElementsByTagNameNS(X0,"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(X0,"span")[0];if(!s||a.length<=1)return;s.innerHTML=a.replace(/</g,"&lt;").replace(/>/g,"&gt;"),i.innerHTML=s.outerHTML,s=i.getElementsByTagNameNS(X0,"span")[0],r.push(s)}}catch{}}),{doc:t,subtitles:r}}function p_(e){let n=new DOMParser().parseFromString(e,"text/xml").getElementsByTagNameNS(X0,"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:h_(a),end:h_(o),text:s})}),r}function h_(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 V4=class extends Ot{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=dd(a);if(!o.subtitles.length)return null;let s=await this.getLangCodeFromVtt(o.subtitles);if(At(s,this.ctx.targetLanguage))return null;if(bt(this.ctx,s),r){let u=await this.requestHumanSubtitle(n,o,r,s);if(u)return u}return await this.translateSubtitle(o,Te(s))}catch(r){return M.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(d=>d.endsWith(o[o.length-1]));if(!s)return null;let l=await this.fetchSubtitle(s);if(this.getTranslationMode(i)==="translation")return l;let u=gd(n.subtitles,cd(l));return n.subtitles=u,Ns(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 mn({sentences:r},{...this.ctx,isRichTranslate:!1,translationService:this.ctx.subtitleTranslateService,usageScene:"subtitle_video"},(i,a,o)=>{if(i||!a){M.debug("translate subtitle:",i,a,o);return}let s=Si(a.text),l=t.subtitles[o.id];l&&this.getTranslationMode(n)==="translation"?l.text=s:l&&(l.text=`${l.text.replace(/\n/g," ")}
${s}`)}),Ns(t)}async getHumanSubtitleUrls(t,n){if(!n)return null;let r=n.find(s=>Te(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=oce(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 Ze({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(Ve()).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=ace(r),a=ice(n),o=i.map(s=>({language:s.language,url:`${a}/${s.uri}`,baseUrl:a}));return o.length?(this.videoMetaMap[t]=o,o):null}};function ice(e){let t=new URL(e),n=t.pathname.split("/");n.pop();let r=n.join("/");return`${t.origin}${r}`}function ace(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 oce(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 G4=class extends Ot{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=A4(r);if(!i)return;let a=[...i.document.querySelectorAll("p")].filter(d=>d.textContent?.trim()),o=a.map(d=>d.textContent||"");if(!o.length)return null;let s=await Ze({text:o.join(`
`)});return At(Te(s),this.ctx.targetLanguage)?null:(bt(this.ctx,Te(s)),(await this._translateSubtitle(o,s,"<br />")).forEach(({displayText:d},g)=>{a[g]&&(a[g].innerHTML=d)}),k4(i.arrayBuffer,i.document))}catch(r){return M.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 W4=class extends Ot{async requestSubtitle(t){let n=await Ct(Ve(),{});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 hd(this.ctx).loadSubtitle({input:a.url});if(!s)return;let l=vx(s);if(this.config.attachRule?.appendSelector){this.attachSubtitle(l.map(u=>({start:u.startTime,end:u.endTime,text:u.text})),a.lang);return}DO(i),wx(i,a.lang,a.lang,l,!0)}parseVTTUrl(t){if(t?.webvtt){let[n,r]=Object.entries(t?.webvtt||{})[0];return{url:r,lang:n}}}};var q4=class extends Ot{autoShowObserver=null;videoSrc=null;subtitleMap={};reversedLangMap={};currentLang="en";constructor(t){super(t),Object.keys(y_).forEach(n=>{y_[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),At(Te(a),this.ctx.targetLanguage))return null;if(a!==this.currentLang)return;this.attachMultiSubtitle(a)}catch(r){return M.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&&(bt(this.ctx,t),Qa({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=sR(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}},y_={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 K4=class extends Za{constructor(t){super(t),new yd(t,{disableQuickButton:!0})}handleTextTracks(t,n){if(!this.config.attachRule?.appendSelector||!this.config.multipleVideoContainerSelector)return super.handleTextTracks(t,n);if(At(Te(t.language),this.ctx.targetLanguage))return;let r=i=>{if(M.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]),Te(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 u=new URL(s.href).pathname.replace(/\/analytics$/,"").replace(/\/history$/,"");if(!/^\/([^\/]+)\/status\/(\d+)\/?$/.test(u))return!1;let d=s.closest("div[role='link']");return!(d&&(!this.config.multipleVideoContainerSelector||d.querySelector(this.config.multipleVideoContainerSelector)!==t))});return sce(o[0]?.href??null)}n=n.parentElement}return null}catch{return null}}getAppendContainerByAiPageUrl(t){if(!this.config.multipleVideoContainerSelector)return null;let n=document.querySelector(`[${eg}="${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=ma.parse(n.result).filter(l=>l.type==="caption"),o=await Ze({text:a.map(l=>l.text).join(`
`)}),s=this.getAiSubtitleItems(a);this.attachSubtitle(s,o,!0,r),this.showAiSubtitleTipWithStatus("used",t),setTimeout(()=>{K0()},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]),Te(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(`[${of}="ai"]`)}};function sce(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 Q4=class extends Za{autoShowObserver=null;videoSrc=null;async loadSubtitle({input:t,options:n}){try{let r=await this._fetchSubtitle(t,n);if(!r)return null;let i=ma.parse(r),a=i.filter(g=>g.type==="caption");this.config.deduplicateSubtitles&&(a=lR(a)),this.config.formatAsrSubtitles&&(a=cR(a));let o=await Ze({text:a.map(g=>g.text).join(`
`)});if(this.config.attachRule?.appendSelector){let g=this.getSubtitleItems(a);this.attachSubtitle(g,o);return}if(At(Te(o),this.ctx.targetLanguage))return null;this.showSubtitleLoading(!0),bt(this.ctx,Te(o));let s=a.map(g=>g.text),l=await this._translateSubtitle(s,o,Xd);if(this.config.enableHookDownload)try{let g=this.getSubtitleItems(a);this.updateDownloadSubtitle({subtitleItems:g,translations:l,lang:o})}catch(g){M.error("download subtitle error",g)}a.forEach((g,m)=>{g.text=l[m].displayText});let u=[...i.filter(g=>g.type!=="caption"),...a];return ma.build(u,{format:this.config.subsrtFormat||"vtt"})}catch(r){return M.error(r),null}finally{this.hideSubtitleLoading()}}getSubtitleItems(t){return t.map(r=>({start:r.start/1e3,end:r.end/1e3,text:r.text}))}};var Y4=class extends Ot{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 Ze({text:i.map(l=>l.textContent).join(`
`)});if(this.config.attachRule?.appendSelector){let l=this.parseXMLSubtitles(r);this.attachSubtitle(l,o);return}if(At(Te(o),this.ctx.targetLanguage))return null;this.showSubtitleLoading(!0),bt(this.ctx,Te(o));let s=await this._translateSubtitle(i.map(l=>l.textContent||""),Te(o));if(s.forEach((l,u)=>{i[u].textContent=l.displayText}),this.config.enableHookDownload)try{let l=this.parseXMLSubtitles(r);this.updateDownloadSubtitle({subtitleItems:l,translations:s,lang:o})}catch(l){M.error("download subtitle error",l)}return new XMLSerializer().serializeToString(a)}catch(r){return M.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:l,timeDivisor:u,timePartCount:d}=this.config.xmlSetting,g=new DOMParser().parseFromString(t,"application/xml"),m=[];return g.querySelectorAll(o).forEach(p=>{let h=this.getTimeStr(n,i,p)||"",x=this.getTimeStr(r,a,p)||"",y=Cx(h,u),b=Cx(x,u),v=sr(y,d),C=sr(b,d);l==="duration"&&(C=v+C);let S=s?p.querySelector(s)?.textContent:p.textContent;m.push({start:v,end:C,text:(S||"").trim()})}),m}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 Z4=class extends Ot{hasSubtitle=!1;async mutationVideoChange(){let t=lce(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&&(bt(this.ctx,"ja","av"),this.hasSubtitle=!0,Qa({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 _e({url:`https://subhub.weixin.so/missav/${t}`,responseType:"text"});if(!n)throw new Error("request subtitle error");return ma.parse(n,{format:"vtt"}).map(i=>({...i,start:i.start/1e3,end:i.end/1e3}))}catch(n){M.error("fetchSubtitle",n);return}}};function lce(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 J4=class extends Ot{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&&(bt(this.ctx,n.language_code),Qa({ctx:this.ctx,props:{videoSelector:this.config.videoSelector||"video",subtitleItems:n.subs,ctx:this.ctx,lang:n.language_code,urlValueArray:this.urlValueArray}}))}};var X4=class extends Ot{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 M.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=Te(this.currentLang);if(At(i,this.ctx.targetLanguage))return null;if(!this.config.attachRule?.appendSelector)return;this.attachSubtitle(r,i),bt(this.ctx,i)}catch(n){return M.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 l=r[s],u=i[s],d=a[s];typeof l!="number"||typeof u!="number"||!d?.trim()||o.push({start:l/1e3,end:u/1e3,text:d.trim()})}return o}catch(n){return M.error("EdX subtitle parsing error:",n),[]}}};var uce={youtube:B4,youtube_iframe:O4,netflix:_4,webvtt:hd,khanacademy:U4,udemy:j4,hulu:W4,mubi:J4,edx:X4,text_track:Fs,text_track_dynamic:Za,general:z4,live:yd,ebutt:H4,disneyplus:V4,"fmp4.xml":G4,multi_attach_vtt:q4,twitter:K4,subsrt:Q4,xml:Y4,av:Z4},wi;async function b_(e){try{Ae()&&await rt(50);let t=e.rule.subtitleRule;if(t.disabled||!t.type)return;let n=uce[t.type];if(!n)return;wi=new n(e),TF(e)}catch(t){M.error(t)}}async function Vx(){wi?.onPageStatusChange()}async function cce(e,t){if(wi?.autoEnableSubtitleChanged(),t&&t.trigger==="popup"&&kt())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),ae({key:"auto_enable_subtitles_changed",ctx:e,params:n})}async function dce(){wi?.onTranslationModeChanged()}async function gce(e,t){wi&&(wi.tempDisableSubtitle=!!t?.tempDisableSubtitle,t?.tempDisableSubtitle?wi.removeAttachSubtitle():await wi.autoEnableSubtitleChanged())}aF({autoEnableSubtitleChanged:cce,reloadSubtitleWithTranslationModeChanged:dce,tempDisableSubtitleChanged:gce});function Nx(e,t){return wi?.toggleAiSubtitle?.(e,t)}function Hl(e){return wi?.getIsAiSubtitleUsed?.(e)}function ZO(e){wi?.resetAiSubtitle?.(e)}function JO(e){return wi?.getAiSubtitleLoading?.(e)}function XO(e){return wi?.getHasAiSubtitleCache?.(e)}function mce(e,t){return Math.floor(Math.random()*(t-e+1))+e}var fce=30,Gx="RATE_LIMITER_TICKS",$4=class e{static strictTicks={};static clearStrictTicks(){Ie.local.set(Gx,"{}")}static async getStrictTicks(t,n){if(n)return this.strictTicks[t]||[];try{let r=await Ie.local.get(Gx,{});typeof r=="string"?this.strictTicks=JSON.parse(r)||{}:this.strictTicks=r}catch(r){M.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(Gx,this.strictTicks)}catch(i){M.debug("Error setting rate limiter ticks",i)}}static async getDelay(t,n,r=!1){if(!r){let u=mce(4,fce);await rt(u)}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 l=i.shift()+o;return s>=l?(i.push(s),await this.setStrictTicks(t,i,r),0):(i.push(l),await this.setStrictTicks(t,i,r),l-s)}};function pce(e,t){for(let n of t){if(Ae()&&!Cn()&&typeof GM!==void 0&&GM.addElement){GM.addElement(e,"style",{textContent:n});continue}e.appendChild(document.createElement("style")).textContent=n}}async function hce(){(rn()?.supportedMangaSites?.length||0)<10&&await F0();let n=await We(),r=await Ln(),i={url:globalThis.location.href,config:n},a=await Wr(i),o=await zb(a,r),s=et(a.url,o?.blockUrls),l=await Sn();if(!(o?.enable||a.rule.imageRule.enableMangaFloatBall&&a.rule.imageRule.type==="manga")||s)return Jv();(Gt()||ot())&&Jv();let d=document.createElement("div");d.id=z+"-popup",d.setAttribute("style","all: initial");let g=d.attachShadow({mode:"open"});return yce(g,n,l,a),document.documentElement.appendChild(d),d}function v_(){let e=document.getElementById(z+"-popup");e&&e.remove(),hce()}function yce(e,t,n,r){let i=document.createElement("div");i.id="mount",i.style.display="block";let a=mt(),o=[a["base.css"],a["tailwind-compat.css"],a["popup.css"],a["float_ball.css"]].join(`
`);pce(e,[o]),e.appendChild(i),tn(c(Pi,{lang:t.interfaceLanguage,children:c(Yv,{localConfig:n,ctx:r})}),i)}function x_({selectionRect:e,gap:t=10,modalWidth:n=450,modalHeight:r=480}){let[i,a]=N(null),o=re(()=>{if(!e)return null;let s=globalThis.innerWidth,l=globalThis.innerHeight,u,d,g=e.width>0&&e.height>0;u=e.left,_c()&&(u=u+Math.max(0,(e.width-n)/2));let f=C_(),p=T_();f?.x?u=f.x-n/2:p?.x&&(u=p.x-n/2);let h=u+n;if(h>s&&(u-=h-s-t),g){let x=e.bottom+t;x+r<=l?d=x:d=l-r}else if(p?.y){let x=p.y+t;if(x+r<=l)d=x;else{let b=p.y-r-t;b>=0?d=b:d=l-r}}else d=Math.max(0,(l-r)/2);return d=Math.max(0,d),u=Math.max(0,u),{top:d,left:u}},[e,t,n,r]);return W(()=>{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 e3=`
  .${z}-service-dropdown {
    position: relative;
    display: inline-block;
  }

  .${z}-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 .${z}-service-select {
    background: #252626;
    color: #DBDBDB;
  }


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

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

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

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

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

  .${z}-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 .${z}-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 t3=`
  .${z}-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 .${z}-error {
    background-color: #1D1E1E;
    color: #DBDBDB;
  }

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

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

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

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

  .${z}-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 S_=`
    ${e3}
    ${t3}

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

  .${z}-modal {
    position: absolute;
    z-index: ${qn-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";
  }

  .${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 0;
    cursor: move;
  }

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

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

  .${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: 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;
  }

  .${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: ${pe}ShadowRolling 1.5s linear infinite;
  }

  @keyframes ${pe}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);
    }
  }

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

  .${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;
  }

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

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

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

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

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

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

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

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

  .${z}-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 .${z}-dropdown-group-title {
    color: #DBDBDB;
  }

  .dark .${z}-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;
  }

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

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

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

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

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

  .${z}-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 .${z}-dropdown-submenu {
    background: #111;
    box-shadow: 0px 4px 16px 0px rgba(255, 255, 255, 0.10);
    color: #DBDBDB;
  }

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

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

  .${z}-dropdown-item:hover .${z}-dropdown-submenu {
    display: block;
  }

  .${z}-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"] .${z}-modal-body .translation-action {
     flex-direction: row-reverse;
  }

  [dir="rtl"] .${z}-modal-body .feedback-action {
    justify-content: start;
  }

  .modal-body-rtl .error-container {
    align-items: flex-end;
  }


  [dir="rtl"] .${z}-dropdown-menu.bottomLeft {
    left: auto;
    right: 0;
  }

  [dir="rtl"] .${z}-dropdown-menu.bottomRight {
    right: auto;
    left: 0;
  }

  [dir="rtl"] .${z}-dropdown-menu.topLeft {
    left: auto;
    right: 0;
  }

  [dir="rtl"] .${z}-dropdown-menu.topRight {
    right: auto;
    left: 0;
  }

  /* Submenu positioning adjustments */
  [dir="rtl"] .${z}-dropdown-submenu.bottomLeft {
    left: auto;
    right: 100%;
  }

  [dir="rtl"] .${z}-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 n3({text:e,lang:t,className:n,immediate:r=!1,ctx:i,onStopRefChange:a}){let[o,s]=N(!1),[l,u]=N(t),d=$();if(!e)return null;W(()=>{(!t||t==="auto")&&o1({text:e,ctx:i}).then(m=>{M.debug("[tts] detectedLang",m),u(m)})},[]),W(()=>{r&&l&&g()},[r,e,l]),W(()=>{a?.(d.current)},[d.current,a]);let g=m=>{if(m?.preventDefault(),m?.stopPropagation(),o){d.current?.();return}let f=new AbortController,{signal:p}=f;d.current=()=>{f.abort(),s(!1)};let h="YouDao";X1({text:e.toLowerCase(),lang:l,signal:p,provider:h,onStart:()=>{s(!0)},onFinish:()=>{s(!1)}}),ae({key:"selection_translate_speak",ctx:i,params:{trigger:r?"auto":"manual"}})};return c("span",{class:`icon-wrapper speaker-icon ${n??""}`,onClick:m=>g(m),children:c(Tc,{})})}function w_({ctx:e,translationResult:t,text:n,currentIndex:r,visible:i}){let[a,o]=N({}),s=u=>{if(r===void 0||a[r]===u)return;o(m=>({...m,[r]:u}));let g=`selection_translate_${u.toLowerCase()}`;ae({key:g,ctx:e,params:{trigger:e.rule.selectionTranslation?.triggerMode||"",translation_service:Il(e),selection_text:n,translation_result:JSON.stringify(t??{})},forceDaily:!1,ignoreGA:!0})},l=r!==void 0?a[r]:void 0;return i?c("div",{class:"feedback-action",children:[c("div",{className:"icon-wrapper-no-bg feedback-action-icon",onClick:()=>{s("ThumbUp")},children:l==="ThumbUp"?c(YL,{}):c(QL,{})}),c("div",{className:"icon-wrapper-no-bg feedback-action-icon",onClick:()=>{s("ThumbDown")},children:l==="ThumbDown"?c(JL,{}):c(ZL,{})})]}):null}function Gl({text:e,ctx:t,className:n,iconClassName:r}){let[i,a]=N(!1),o=de.bind(null);async function s(l){await s1(l),a(!0),setTimeout(()=>{a(!1)},2e3)}return c(Ye,{text:o(i?"selectionTranslationCopySuccess":"selectionTranslationCopy"),children:c("div",{class:`icon-wrapper ${n||""}`,onClick:()=>s(e),children:c(Nh,{class:r||""})})})}function E_(e,t,n,r,i){return e.replaceAll("{{to}}",n).replaceAll("{{from}}",t).replaceAll("{{text}}",r).replaceAll("{{context_text}}",i)}function k_({ctx:e,service:t,fromLanguage:n,text:r,contextText:i}){let a=e.targetLanguage,s=e.config.translationServices[t]?.type||t,l=Tl[s]?.class?.langMap,u=l?.get(n)||n,d=l?.get(a)||a,g=A_(e,t,"selectionSystemPrompt",n,a),m=A_(e,t,"selectionPrompt",n,a),f=E_(g,u,d,r,i),p=E_(m,u,d,r,i);return{systemPrompt:f,userPrompt:p}}function A_(e,t,n,r,i){let a=`${r}2${i}`,o=e.rule.selectionTranslation?.prompts,s=o?.[t],l=o?.langOverrides?.find(g=>g.id===a),d=s?.langOverrides?.find(g=>g.id===a);return d?.[n]?d[n]:l?.[n]?l[n]:s?.[n]?s[n]:o?.[n]}function Ja({ctx:e,error:t,className:n,reload:r,serviceId:i,showReload:a=!0,source:o}){if(!e||!t)return null;let[s,l]=N(null),{t:u}=H();W(()=>{let f=t.initData({translationService:i}).uiConfig(e);l(f)},[]);let d=s?.errMsg||"",g=$n?.createHTML(d)||d,m=qt(e.config,i||"");return s?.errMsg?.includes("quota")?(Of(e.config,i||"")&&(g=u("error.pro_translation_quota_reached")),_f(e.config,i||"")&&(e.isMax?g=u("error.max_translation_quota_reached"):g=u("error.pro_upgrade_max_description",{serviceName:m})),c("div",{class:`${z}-error ${n||""}`,children:[c("div",{class:`${z}-error-text`,dangerouslySetInnerHTML:{__html:g}}),c("div",{class:`${z}-error-actions`,children:[_f(e.config,i||"")&&!e.isMax&&c("div",{className:"upgrade-button buy-package-button",onClick:()=>{ml(_.PRICING_URL,o)},children:[c(a0,{style:{color:"#FFFFFF"}}),u("error.upgradeMaxBtn")]}),c("div",{className:"upgrade-button buy-package-button",onClick:()=>{ml(_.QUOTA_BASE_URL,o,_f(e.config,i||"")?"type=top_model":"")},children:[c(a0,{style:{color:"#FFFFFF"}}),u("error.buy_package")]}),a&&c(Sl,{onClick:r,class:"imt-icon"})]})]})):["upgradeToPro","upgradeToMax","loginUsePro","loginUseMax"].includes(s?.action||"")?c("div",{class:`${z}-error ${n||""}`,children:[c("div",{class:`${z}-error-title`,children:s?.title}),c("div",{class:`${z}-error-text`,dangerouslySetInnerHTML:{__html:g}}),c("div",{class:`${z}-error-actions`,children:[s?.action==="upgradeToMax"||s?.action==="loginUseMax"?c("div",{className:"upgrade-button buy-package-button",onClick:()=>{ml(_.PRICING_URL,o)},children:[c(a0,{style:{color:"#FFFFFF"}}),u("error.freeUpgradeToMax")]}):c("div",{className:"upgrade-button",onClick:()=>{ml(_.PRICING_URL,o)},children:[c(a0,{style:{color:"#FFC736"}}),u("upgradeToPro")]}),a&&c(Sl,{onClick:r,class:"imt-icon"})]})]}):c("div",{class:`${z}-error ${n||""}`,children:c("div",{class:`${z}-error-text`,dangerouslySetInnerHTML:{__html:g}})})}var M_=({ctx:e,record:t,signal:n,onTranslationComplete:r,onStopRefChange:i,currentIndex:a,translateAction:o})=>{let[s,l]=N(null),[u,d]=N(!0),[g,m]=N(!1),[f,p]=N(),[h,x]=N(!1),[y,b]=N(),v=Lt(e.config.rtlLanguages,e.targetLanguage);W(()=>{S(t)},[o]),W(()=>{t.error&&l(t.error),t.result&&(p(t.result),l(null))},[a]);let C=(k,D)=>{if(!k||!D)return k;let U=D.toLowerCase(),B="",P=0;for(;P<k.length;){let O=k.toLowerCase().indexOf(U,P);if(O===-1){B+=k.slice(P);break}B+=k.slice(P,O),B+=`<span class="highlight">${k.slice(O,O+U.length)}</span>`,P=O+U.length}return B},S=async k=>{if(k.service){l(null),d(!0),m(!1),bo(!0),p(void 0);try{let D=await o1({text:k.params.contextText,ctx:e});b(D);let U=await Ts({service:k.service,serviceConfigs:e.rule.selectionTranslation?.serviceConfigs},e),{systemPrompt:B,userPrompt:P}=k_({ctx:e,text:k.params.originalText,contextText:k.params.contextText,service:k.service,fromLanguage:D}),O="";await U?.sendMessageStream({systemPrompt:B,userPrompt:P,from:D,to:e.targetLanguage,selectionText:k.params.originalText,contextText:k.params.contextText,responseMode:"dictionary_or_translation",signal:n,onMessage:F=>{M.debug("[selection-translation] stream message",F),O=O+F;try{O.startsWith("```json\n")&&(O=O.substring(8)),O.endsWith("\n```")&&(O=O.substring(0,O.length-4));let L=yo(O);M.debug("[selection-translation] stream parsedMsg",L),d(!1),p(L),T(L)}catch{}},onFinish:F=>{M.debug("[selection-translation] stream onFinish",F),m(!0),u&&d(!1),bo(!1);try{let L=yo(O);L&&r({...k,result:L})}catch{}},onError:F=>{bo(!1),d(!1),r({...k,error:F}),l(F)}})}catch(D){d(!1),bo(!1);let U=D instanceof J?D:new J("fetchError",D.message||D?.toString()||"Unknown error");r({...k,error:U}),l(U)}}},T=k=>{e.rule.selectionTranslation?.enableAutoRead&&k?.phonetic&&x(!0)},w=()=>c("div",{class:`${z}-loading`}),E=()=>s?null:c("div",{class:"translation-result-container",children:[f?.phonetic&&c("div",{className:"word-dictionary",children:[c("div",{class:"word-original",children:[c("div",{className:"word-original-text",children:t.params.originalText}),f?.phonetic&&c("span",{className:"word-phonetic",children:f?.phonetic}),c(n3,{text:t.params.originalText,ctx:e,immediate:h,onStopRefChange:i})]}),c("div",{children:f?.definitions?.map(k=>c("div",{className:"word-dictionary-item",children:[c("div",{className:"word-dictionary-definition",children:[c("div",{className:"word-dictionary-pos",children:k?.pos}),c("div",{className:"word-dictionary-meaning",children:k?.meaning})]}),k?.example&&c("div",{className:"word-example",children:[c("span",{dangerouslySetInnerHTML:{__html:C(k?.example?.source,t.params.originalText)}}),c("span",{className:"word-example-target",children:k?.example?.target})]})]}))})]}),f?.definitions&&f?.definitions.length>0?f?.translation&&c(ie,{children:c("div",{class:"word-translation",children:[c("div",{className:"word-translation-text",children:[f?.translation,c("div",{class:"translation-action",children:[c(n3,{text:f?.translation,lang:e.targetLanguage,ctx:e,onStopRefChange:i}),c(Gl,{text:f?.translation,ctx:e})]})]}),f?.contextual_analysis&&c("div",{className:"word-contextual-meaning",children:f?.contextual_analysis})]})}):c("div",{class:"sentences-translation",children:[c("div",{className:"sentences-translation-text",children:f?.translation}),f?.translation&&c("div",{class:"translation-action",children:[c(n3,{text:f?.translation,lang:e.targetLanguage,ctx:e,onStopRefChange:i}),c(Gl,{text:f?.translation,ctx:e})]}),f?.contextual_analysis&&c("div",{className:"word-contextual-meaning",children:f?.contextual_analysis})]})]});return c(ie,{children:[c("div",{className:`${z}-modal-body notranslate ${v?"modal-body-rtl":""}`,children:[u&&w(),s&&c(Ja,{ctx:e,error:s,serviceId:t.service,showReload:!1,source:"selection_translation"}),!s&&!u&&E()]}),c(w_,{visible:g,ctx:e,translationResult:f,text:t.params.originalText,currentIndex:a})]})};function I_({menu:e,children:t,onClick:n}){let[r,i]=N(!1),[a,o]=N(null),s=$(null),l=$(null),[u,d]=N("bottomLeft"),[g,m]=N("bottomLeft");W(()=>{let x=`${z}-modal`,y=b=>{s.current&&!s.current.contains(b.target)&&(i(!1),o(null))};return Qe(`#${Ei} -> .${x}`)?.addEventListener("mousedown",y),()=>Qe(`#${Ei} -> .${x}`)?.removeEventListener("mousedown",y)},[]),W(()=>{f()},[r]);let f=()=>{if(r&&s.current){let x=s.current.getBoundingClientRect(),b=globalThis.innerWidth-x.right;b<200?(d("bottomRight"),m("bottomRight")):b>=200&&b<400?(d("bottomLeft"),m("bottomRight")):(d("bottomLeft"),m("bottomLeft"))}},p=x=>{x.preventDefault(),i(!r)},h=x=>x.type==="group"?c("div",{class:`${z}-dropdown-group`,children:x.children?.map(y=>h(y))}):c("div",{className:`${z}-dropdown-item ${x.disabled?"disabled":""} ${x.children?"has-children":""}`,onMouseEnter:()=>x.children&&o(x.key),onClick:y=>{y.stopPropagation(),!x.disabled&&n?.(x)},children:[c("span",{className:`${z}-dropdown-item-label`,children:typeof x.label=="function"?x.label():x.label}),x.children&&a===x.key&&c("div",{className:`${z}-dropdown-submenu ${g}`,children:x.children.map(y=>h(y))})]});return c("div",{ref:s,className:`${z}-dropdown`,children:[c("div",{onClick:p,children:t}),r&&c("div",{ref:l,className:`${z}-dropdown-menu ${u}`,children:e.map(x=>h(x))})]})}function L_({onClose:e,ctx:t}){let n=fn(),[r,i]=n,a=de.bind(null),o=[{key:"toggleAutoRead",label:()=>c("div",{class:"label-item",children:c("div",{class:"label-item-left",children:[c("div",{class:"icon-wrapper-no-bg",children:r.generalRule?.["selectionTranslation.add"]?.enableAutoRead?c(Tc,{}):c(FL,{})}),c("div",{children:r.generalRule?.["selectionTranslation.add"]?.enableAutoRead?a("enableAutoRead"):a("disableAutoRead")})]})})},{key:"ban-selection-translation",label:()=>c("div",{class:"label-item",children:[c("div",{class:"label-item-left",children:[c("div",{class:"icon-wrapper-no-bg",children:c(jL,{})}),c("div",{children:a("banSelectionTranslation")})]}),c("div",{class:"label-item-right arrow-icon-wrapper",children:c(_a,{})})]}),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:()=>c("div",{class:"label-tip",onClick:l,dangerouslySetInnerHTML:{__html:a("reEnableSelectionTranslation",{settings:`<span class="link" id="open-options">${a("setting")}</span>`})}})}]}],s=()=>{Jr(!0,"#selection_translation",t.config.useOnlineOptions)},l=d=>{d.target.id==="open-options"&&s()};return c(I_,{menu:o,onClick:async d=>{if(d.key==="toggleAutoRead"){let g=r.generalRule?.["selectionTranslation.add"]?.enableAutoRead;i(m=>({...m,generalRule:{...m.generalRule,"selectionTranslation.add":{...m.generalRule?.["selectionTranslation.add"],enableAutoRead:!g}}})),await fa()}if(d.key==="ban-once"&&(OA(!0),e()),d.key==="ban-this-site"){let g=r.generalRule?.["selectionTranslation.add"]?.urlPattern,m=g?.excludeMatches||[],f=window.location.href,p=Jt(f,m);i(h=>({...h,generalRule:{...h.generalRule,"selectionTranslation.add":{...h.generalRule?.["selectionTranslation.add"],urlPattern:{...g,excludeMatches:p}}}})),await fa(),e()}d.key==="ban-forever"&&(i(g=>({...g,generalRule:{...g.generalRule,"selectionTranslation.add":{...g.generalRule?.["selectionTranslation.add"],enable:!1}}})),await fa(),e())},children:c("div",{class:"icon-wrapper-no-bg menu-icon",children:c(UL,{})})})}function r3({onChange:e,groupServices:t,selectedService:n,disabled:r=!1,shadowRootId:i,onlyShowIcon:a=!1,className:o,modalClass:s}){let l=$(null),[u,d]=N(!1);if(!n)return null;W(()=>{let f=h=>{l.current&&!l.current.contains(h.target)&&d(!1)},p=[`#${i} -> .${s}`];return p.forEach(h=>{Qe(h)?.addEventListener("mousedown",f)}),()=>{p.forEach(h=>{Qe(h)?.removeEventListener("mousedown",f)})}},[]);let g=f=>{f.preventDefault(),!r&&d(!u)},m=f=>{r||(d(!1),e(f))};return c("div",{ref:l,className:`${z}-service-dropdown ${o||""}`,children:[c("div",{onClick:g,class:`${z}-service-select ${r?`${z}-service-select-disabled`:""}
        `,children:[c("div",{className:"service-select-content",children:[c("img",{src:n?.icon,className:"service-icon"}),a?null:c("div",{className:"select-service-name",children:n?.name})]}),c(Hn,{class:`imt-icon ${z}-arrow ${u?"rotate-180":""}`})]}),u&&c("div",{className:`${z}-service-dropdown-menu`,children:t.map(f=>c(ie,{children:[c("div",{className:"group-name",children:f.name}),f.services.map(p=>c("div",{className:"service-item",onClick:()=>{m(p)},children:[c("img",{src:p.icon,className:"service-icon"}),c("div",{className:"service-name",children:p.name}),p.config.group==="pro"&&c("img",{src:rr,style:{marginBottom:-2,marginLeft:6,width:20,height:20}}),p.config.group==="max"&&c("img",{src:Ua,style:{marginBottom:-2,marginLeft:6,width:20,height:20}})]}))]}))})]})}var Ei=`${z}-modal-selection-root`;function bce(e){let{serviceItems:t,selectedService:n,setSelectedService:r,groupServices:i}=u1(e.ctx);return n?c(vce,{...e,serviceItems:t,selectedService:n,setSelectedService:r,groupServices:i}):null}function vce({ctx:e,params:t,signal:n,onClose:r,serviceItems:i,selectedService:a,setSelectedService:o,groupServices:s}){let{t:l}=H(),[u,d]=N(!1),g=$(null),[m,f]=N(null),[p,h]=N(0),[x,y]=N(!1),[b,v]=N({x:0,y:0}),C=$({x:0,y:0}),S=$({x:0,y:0}),T=pr(),w=$(),[E,k]=N(0),D=$([]),[U,B]=N(!0),[P,O]=fn(),[F,L]=N(()=>[{params:t,service:a,id:Date.now()}]),{style:R}=x_({selectionRect:t.selectionRect,gap:10});W(()=>{R&&m===null&&f(R)},[R]),W(()=>{let Y=()=>{w.current&&w.current()};return n.addEventListener("abort",Y),()=>{n.removeEventListener("abort",Y)}},[n]),W(()=>{let Y=oe=>{if(oe.detail){let Me={params:oe.detail,service:a,id:Date.now()};L(Ce=>[...Ce,Me])}};return document.getElementById(Ei)?.removeEventListener(hu,Y),document.getElementById(Ei)?.addEventListener(hu,Y),()=>{document.getElementById(Ei)?.removeEventListener(hu,Y)}},[]),W(()=>{D.current.length>0&&F.length>D.current.length&&(h(F.length-1),k(Y=>Y+1),B(!0)),D.current=[...F]},[F]),W(()=>{if(u)return;let Y=oe=>{oe.key==="Escape"&&r()};return document.addEventListener("keydown",Y),()=>document.removeEventListener("keydown",Y)},[u,r]);let A=Lt(e.config.rtlLanguages,e.config.interfaceLanguage),j=()=>{d(!u),gb(!u)},V=()=>{d(!1),gb(!1),r()},G=Y=>{w.current=Y},K=Y=>{wg()||(Y==="next"?p<F.length-1&&h(oe=>oe+1):p>0&&h(oe=>oe-1))};W(()=>{let Y=g.current?.querySelector(`.${z}-modal-title`);if(!Y)return;let oe=[".toggle-icon",`.${z}-modal-title-right`],Me=ge=>{ge.target.closest(oe.join(","))||(y(!0),C.current={x:ge.clientX,y:ge.clientY},S.current={...b},ge.preventDefault())},Ce=gr(ge=>{if(!x)return;let me=ge.clientX-C.current.x,he=ge.clientY-C.current.y;v({x:S.current.x+me,y:S.current.y+he})},16),ue=()=>{if(!x)return;y(!1);let ge=450,me=g.current?.offsetHeight||40,he=globalThis.innerWidth,te=globalThis.innerHeight,Re=g.current;if(!Re)return;let ye=Re.getBoundingClientRect(),ce=b.x,se=b.y,we=!1,qe=20,fe=ye.left-b.x,ze=ye.top-b.y;ye.left<0&&(ce=-fe+qe,we=!0),ye.right>he&&(ce=he-fe-ge-qe,we=!0),ye.top<0&&(se=-ze+qe,we=!0),ye.bottom>te&&(se=te-ze-me-qe,we=!0),we&&Re&&(requestAnimationFrame(()=>{Re.style.transition="transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)",v({x:ce,y:se})}),setTimeout(()=>{Re.style.transition=""},300))};return Y.addEventListener("mousedown",Me),document.addEventListener("mousemove",Ce),document.addEventListener("mouseup",ue),()=>{Y.removeEventListener("mousedown",Me),document.removeEventListener("mousemove",Ce),document.removeEventListener("mouseup",ue)}},[x,b]);let q={transform:`translate(${b.x}px, ${b.y}px)`},Z=Y=>{o(Y.id),O({generalRule:{"selectionTranslation.add":{service:Y.id}}});let Me={params:F[p].params,service:Y.id,id:Date.now()};L(Ce=>[...Ce,Me]),ae({key:"selection_translate_change_service",ctx:e,params:{translation_service:Y.id}}),fa()},ne=Y=>{B(!1),L(oe=>oe.map(Me=>Me.id===Y.id?Y:Me))};return c("div",{ref:g,className:`${z}-modal ${A?"modal-rtl":""} notranslate ${T}`,dir:A?"rtl":"ltr",style:{...m,...q},children:[c("div",{className:`${z}-modal-title notranslate`,style:x?{cursor:"grabbing"}:{cursor:"move"},children:[c("div",{className:`${z}-modal-title-left`,children:[c(_i,{class:"logo"}),F.length>1&&c("div",{class:"toggle-container",children:[c("span",{class:"icon-wrapper toggle-icon left-icon",onClick:()=>K("prev"),children:c(Fh,{})}),c("span",{class:"toggle-text",children:[p+1,"/",F.length]}),c("span",{class:"icon-wrapper toggle-icon right-icon",onClick:()=>K("next"),children:c(_a,{})})]})]}),c("div",{class:`${z}-modal-title-right`,children:[a&&i.length>0&&c(r3,{groupServices:s,selectedService:i.find(Y=>Y.id===a)||null,onChange:Z,disabled:U,shadowRootId:Ei,modalClass:`${z}-modal`}),c("span",{class:"icon-wrapper-no-bg text-translate-icon header-icon",onClick:()=>xce({text:F[p].params.originalText,ctx:e}),children:c(Ye,{text:l("compareWithTextTranslate"),children:c(XL,{})})}),c("span",{class:"icon-wrapper-no-bg header-icon",onClick:j,children:u?c(HL,{}):c(zL,{})}),c(L_,{onClose:V,ctx:e}),c("span",{class:"icon-wrapper-no-bg close-icon header-icon",onClick:V,children:c(bn,{})})]})]}),F[p]&&c(M_,{ctx:e,record:F[p],signal:n,onTranslationComplete:ne,onStopRefChange:G,currentIndex:p,translateAction:E})]})}function D_(e){let t=document.querySelector(`#${e}`);t&&t.remove()}function P_(e,t){D_(Ei);let n=new AbortController,{signal:r}=n,i=()=>{db()||(bo(!1),n.abort(),D_(Ei))};return Dr({id:Ei,parent:document.documentElement,ctx:e,Component:bce,props:{ctx:e,params:t,signal:r,onClose:i},style:S_}),i}var xce=({text:e,ctx:t})=>{let n=encodeURIComponent(e),r=`${_.TEXT_TRANSLATE_URL}#auto/${t.targetLanguage}/${n}`;lt(r),ae({key:"translate_select_text",ctx:t,params:{trigger:"selection_translation_modal",targetLanguage:t.targetLanguage,has_pined:db()?"1":"0"}})};var bd=z+"-selection-translation-button";function Cce(e){let t=document.querySelector(`#${e}`);t&&t.remove()}function R_(e){Cce(bd),Dr({id:bd,parent:document.documentElement,ctx:e,Component:Tce,props:{ctx:e},style:Sce})}function Tce(e){return e.ctx.rule.selectionTranslation?.triggerMode==="icon"?c("div",{class:`${Wl}-button icon-btn`,children:c(_i,{class:"logo"})}):c("div",{class:`${Wl}-button mini-btn`})}var Wl="imt-selection-translation",Sce=`

  .${Wl}-button {
    cursor: pointer;
    position: absolute;
    height: 100%;
    z-index: 2147483647;
    transform: translate(-50%, -50%);
  }

  .${Wl}-button.mini-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #FFF;
    background: #EA4C89;
  }

  .${Wl}-button.mini-btn:hover {
    scale: 1.1;
  }

  .${Wl}-button.icon-btn {
    width: 24px;
    height: 24px;
  }

  .${Wl}-button .logo {
    width: 24px;
    height: 24px;
    color: #EC4C8C;
  }
`;var qi=null,N_=null,Ro=null,i3=[],Wx=null,Bs=[];function qx(e){Ece(),Qc().forEach(n=>{wce(e,n)})}function wce(e,t){try{if(Se().any||Ae())return;if(!e.rule.selectionTranslation?.enable||e.isSelectionTranslationExcludeUrl){M.debug("[selection-translation] selectionTranslation is disabled");return}let n=a=>Mce(a,e,t),r=()=>Ace(t,e),i=F_;t.document.addEventListener("selectionchange",r),Bs.push(()=>{t.document.removeEventListener("selectionchange",r)}),t.document.addEventListener("mouseup",n),Bs.push(()=>{t.document.removeEventListener("mouseup",n)}),t.document.addEventListener("mousedown",i),Bs.push(()=>{t.document.removeEventListener("mousedown",i)}),Ice(e)}catch(n){M.error(n)}}function Ece(){Wx=null;try{Bs.forEach(e=>e())}catch{}Bs=[],a3()}function Ace(e,t){let n=e.document.activeElement,r=_c(),i=t.rule.selectionTranslation?.ignoreSelectionCollapsed;if(r){let o=n;if(l1())return;let s=o.value,l=o.selectionStart||0,u=o.selectionEnd||0;if(l!==u){let d=s.substring(l,u);if(d.trim()!==""){let g=o.getBoundingClientRect();qi={text:d,range:null,rect:g,contextText:s};return}}}let a=e.getSelection();if(a&&(i||!a?.isCollapsed)){let o=a.toString();if(o.trim()===""){$0(),qi=null;return}let s=a.rangeCount>0?a.getRangeAt(0):null;if(!s){$0(),qi=null;return}if(o!==qi?.text){let l=Kx(a);qi={text:o,range:s,rect:s.getBoundingClientRect(),contextText:l}}}else $0(),qi=null}var kce=Dn(e=>{a3();let t=qi,n=e.rule.selectionTranslation?.triggerMode;if(!l1(t?.text)){if(n==="direct"){t&&t.text&&(Qx({lastSelection:t,ctx:e}),qi=null);return}if(n!=="icon"&&n!=="mini"){let r=PP(t?.range),i=_c();if(r||i){t&&t.text&&(zt.filter=function(){return zt.setScope("selectionTranslation"),!0});return}t&&t.text?zt.setScope("selectionTranslation"):$0();return}t&&(Dce({lastSelection:t,ctx:e}),qi=null)}},300);function Mce(e,t,n){if($0(),BA()){M.debug("[selection-translation] disable selectionTranslation for this time");return}wg()||(Ro={x:e.clientX,y:e.clientY},kce(t))}function Kx(e){if(!e)return"";let n=e.baseNode;if(!n)return"";let r=n.textContent,i=n.parentElement;if(!i)return r;let a=g=>{if(!g)return"";let m=g.cloneNode(!0);return m.querySelectorAll(`font.${It}`).forEach(f=>{f.remove()}),m?.textContent?.slice(0,200)||""},o=i.previousElementSibling,s=i.nextElementSibling,l=a(o),u=a(s),d=a(i)||r;return`${l}
${d}
${u}`}function Ice(e){let t=e.rule.selectionTranslation?.triggerMode;if(!t||!pu.includes(t))return;let n=t.toLowerCase();zt("*",{scope:"selectionTranslation",element:globalThis.document,keyup:!0},r=>{if(r.type==="keydown"&&(i3=zt.getPressedKeyCodes()),r.type==="keyup"){let i=i3;if(M.debug(`[selection-translation] hotkeys: press keycodes: ${i}`),i.length>1){M.debug("[selection-translation] hotkeys: more than one keycodes"),i3=[];return}if(i.length===0){M.debug("[selection-translation] hotkeys: no keycodes");return}let a=nf[n]===i[0];M.debug(`[selection-translation] hotkeys: Whether the shortcut key pressed is ${n}: ${a}`),a&&(i3=[],qi&&qi.text&&Qx({lastSelection:qi,ctx:e}))}}),Bs.push(()=>{zt.deleteScope("selectionTranslation")})}function Lce(e,t,n){let r=globalThis.getSelection();if(!r||!r.rangeCount)return null;let i=n==="icon"?20:10,a=document.activeElement;if(_c()){let p=Ro?.x,h=Ro?.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,l=[];for(let p=0;p<r.rangeCount;p++){let h=r.getRangeAt(p),x=Array.from(h.getClientRects()).filter(y=>{let b=document.elementFromPoint(y.left+y.width/2,y.top+y.height/2);if(!b)return!1;let v=globalThis.getComputedStyle(b);return v.userSelect!=="none"&&v.getPropertyValue("-webkit-user-select")!=="none"});l.push(...x)}if(l.length===0)return r.toString().trim().length>0&&Ro?{x:Ro.x+globalThis.scrollX+i,y:Ro.y+globalThis.scrollY+i}:null;let u=-1/0,d=-1/0,g=1/0,m=1/0;for(let p of l)(p.bottom>u||p.bottom===u&&p.right>d)&&(u=p.bottom,d=p.right,s=p),(p.top<g||p.top===g&&p.left<m)&&(g=p.top,m=p.left);if(!s)return null;if(d-m<150)return{x:d+globalThis.scrollX,y:u+globalThis.scrollY+i};if(e!==void 0&&t!==void 0){let p=(m+d)/2;return e<p?{x:m+globalThis.scrollX,y:g+globalThis.scrollY-i}:{x:d+globalThis.scrollX,y:u+globalThis.scrollY+i}}return{x:d+globalThis.scrollX,y:u+globalThis.scrollY+i}}function Dce({lastSelection:e,ctx:t}){R_(t);let n=Qe(`#${bd} -> .imt-selection-translation-button`);if(!n)throw new Error("\u5212\u8BCD\u7FFB\u8BD1\u56FE\u6807\u521B\u5EFA\u5931\u8D25");let r=Ro?.x,i=Ro?.y,a=t.rule.selectionTranslation?.triggerMode,o=Lce(r,i,a);if(!o)return;let{x:s,y:l}=o;Wx=o,n.style.top=`${l}px`,n.style.left=`${s}px`,n.style.display="block";let u=()=>{Qx({lastSelection:e,ctx:t})};if(t.rule.selectionTranslation?.triggerModeForIcon==="click")n.addEventListener("click",u),Bs.push(()=>{n?.removeEventListener("click",u)});else{let d=null,g=200,m=()=>{d!==null&&clearTimeout(d),d=setTimeout(()=>{u(),d=null},g)},f=()=>{d!==null&&(clearTimeout(d),d=null)};n.addEventListener("mouseover",m),n.addEventListener("mouseout",f),Bs.push(()=>{d!==null&&(clearTimeout(d),d=null),n?.removeEventListener("mouseover",m),n?.removeEventListener("mouseout",f)})}}function a3(){let e=Qe(`#${bd}`);e&&e.remove()}function F_(e){let t=document.querySelector(`#${bd}`);e.target!==t&&a3();let n=document.querySelector(`#${Ei}`),r=document.querySelector(`#${z}-popup`),i=document.querySelector(`#${z}-modal-root`);n&&e.target!==n&&e.target!==r&&e.target!==i&&N_?.()}function Qx({lastSelection:e,ctx:t}){if(!wg())try{a3(),Yx({selection:e,ctx:t})}catch(n){throw n}}async function Yx({selection:e,ctx:t,trigger:n}){let r={...t,usageScene:"selection"};if(l1(e.text)||!await or({ctx:r,usageScene:"selection",service:Il(r)}))return;bo(!0),ae({key:"selection_translate",ctx:r,params:{trigger:n||r.rule.selectionTranslation?.triggerMode||"",translation_service:Il(r)}}),fi("translate_line_1",t);let a=document.querySelector(`#${Ei}`);if(a){let s={originalText:e.text.trim(),contextText:e.contextText,selectionRect:e.rect},l=new CustomEvent(hu,{detail:s});a.dispatchEvent(l);return}N_=P_(r,{originalText:e.text.trim(),contextText:e.contextText,selectionRect:e.rect});let o=F_;document.removeEventListener("mousedown",o),document.addEventListener("mousedown",o)}function $0(){zt.setScope("mouseHover"),Pce()}function Pce(){zt.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 C_(){return Wx}function T_(){return Ro}function vd(e){let[t,n]=fn(),[r,i]=N(null);W(()=>{let o=t?.generalRule?.["aiWriting.add"]||{};if(e?.rule?.aiWriting&&t){i({...e?.rule?.aiWriting,...o});return}},[t]);let a=re(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 No=`${z}-ai-writing`;function B_({onClose:e}){let{t}=H(),[n,r]=N("once"),i=vo()+"#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 c("div",{class:`${No}-close-modal`,children:[c("div",{class:`${No}-close-modal-header`,children:[c("div",{class:`${No}-close-modal-header-title`,children:t("aiWriting.disable_modal_title")}),c("span",{class:"icon-wrapper-no-bg close-icon-wrapper",onClick:()=>e("cancel"),children:c(bn,{class:"imt-icon"})})]}),c("div",{class:`${No}-close-modal-content`,children:o.map(s=>c(Rce,{onClick:()=>{r(s.type)},title:s.title,description:s.description,selected:s.type===n,onLinkClick:l=>{lt(l)}},s.type))}),c("div",{class:`${No}-close-modal-footer`,children:[c("button",{class:`${No}-close-modal-footer-button cancel-button`,onClick:()=>e("cancel"),children:t("cancel")}),c("button",{class:`${No}-close-modal-footer-button confirm-button`,onClick:()=>e(n),children:t("confirm")})]})]})}function Rce(e){let{selected:t,title:n,description:r,onLinkClick:i}=e,a=Nce(r||"");return c("div",{class:"radio-wrapper",onClick:e.onClick,children:[c("div",{class:t?`${No}-radio-sel`:`${No}-radio-nor`,children:c("div",{})}),c("div",{children:[c("span",{children:n}),r?c("small",{class:"description",children:a.map(o=>o.type==="text"?o.value:c("a",{onClick:()=>o.href&&i&&i(o.href),children:o.value}))}):null]})]})}function Nce(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 xd=`${z}-ai-writing-onboarding`;function O_({onClose:e}){let{t}=H();return c("div",{class:`${xd}-container`,children:[c("img",{src:_.BASE_OSS_URL+"ai-writing-guide.webp",class:`${xd}-image`}),c("p",{class:`${xd}-title`,children:t("aiWriting.onboarding.title")}),c("p",{class:`${xd}-description`,children:t("aiWriting.onboarding.description")}),c("div",{class:`${xd}-button`,onClick:e,children:t("iKnow")}),c("div",{class:`${xd}-arrow`})]})}var em=`${z}-ai-writing`;function __({ctx:e}){let[t,n]=N(!1),[r,i]=N(!1),{updateAiWritingConfig:a}=vd(e),o=pr(),s=Lt(e.config.rtlLanguages,e.config.interfaceLanguage);W(()=>{Yn("aiWritingOnboardingShown").then(({userValue:m,localValue:f})=>{!m&&!f&&i(!0)})},[]);let l=()=>{i(!1),jr("aiWritingOnboardingShown",!0)},u=()=>{s3(e,"ai_writing_button"),l()},d=m=>{if(n(!1),m!=="cancel"){if(ae({key:"ai_writing_ban",ctx:e,params:{trigger:m,ai_writing_mode:e.rule.aiWriting?.mode||"simple",ai_writing_scene:e.rule.aiWriting?.scene||"general"}}),m==="once"&&Cp(!0),m==="current"){Cp(!0);let f=e.rule.aiWriting?.urlPattern,p=f?.excludeMatches||[];a({urlPattern:{...f,excludeMatches:[...p,window.location.origin]}})}m==="forever"&&(Cp(!0),a({enable:!1})),tm()}},g=()=>{n(!t),r&&l()};return c("div",{class:`${em}-container ${o}`,dir:s?"rtl":"ltr",children:[c("div",{class:`${em}-action-wrapper`,children:[c("div",{class:`${em}-button`,onClick:u,children:[c(GD,{class:"button-logo"}),c("div",{class:`${em}-button-text`,children:o3})]}),c("div",{class:`${em}-more-action-icon`,onClick:g,children:c(gD,{})})]}),t&&c(B_,{onClose:d}),r&&c(O_,{onClose:l})]})}function U_(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 l="";a&&(a instanceof HTMLInputElement||a instanceof HTMLTextAreaElement?l=a.value:l=a.textContent||"");let u=Array.from(o).map(p=>p?.textContent||""),d=s?`TITLE: ${s}`:"",g=l?`CONTENT: ${l}`:"",m=u.length>0?`COMMENTS: ${u.join(`
`)}`:"",f=`
    ${d}
    

    ${g}
    

    ${m}
  `;return M.debug("[ai-writing] context",f),f}function j_(){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 M.debug("[ai-writing] currentSiteInfo",i),i}function l3(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 z_({ctx:e,context:t,service:n,scene:r}){let i=e.targetLanguage,a=t.trim()?t:"",s=u3(e,n,"summaryPrompt").replaceAll("{{ai_writing_scene}}",r||"").replaceAll("{{target_language}}",i).replaceAll("{{ai_writing_context}}",a),l=`
    Context:
  ${t}
  `;return{systemPrompt:s,userPrompt:l}}function H_({ctx:e,context:t,scene:n,service:r,promptStyle:i}){let a=e.targetLanguage,o=l3(i),s=t.trim()?t:"",u=u3(e,r,"suggestionPrompt").replaceAll("{{ai_writing_scene}}",n).replaceAll("{{target_language}}",a).replaceAll("{{ai_writing_style}}",o).replaceAll("{{ai_writing_context}}",s),d=`
    Context:
  ${t}
  `;return{systemPrompt:u,userPrompt:d}}function V_({ctx:e,scene:t,context:n,promptStyle:r,service:i}){let a=e.targetLanguage,o=l3(r),s=n.trim()?n:"",l=j_();return{systemPrompt:u3(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}}",l)}}function G_({ctx:e,scene:t,context:n,promptStyle:r,userInput:i}){if(t==="general")return{userPrompt:i};let a=e.targetLanguage,o=l3(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 W_({ctx:e,context:t,promptStyle:n,service:r}){let i=e.targetLanguage,a=l3(n),o=t.trim()?t:"",s=j_();return{systemPrompt:u3(e,r,"generalSystemPrompt").replaceAll("{{target_language}}",i).replaceAll("{{ai_writing_style}}",a).replaceAll("{{ai_writing_context}}",o).replaceAll("{{current_site_info}}",s)}}function u3(e,t,n){let r=e.rule.aiWriting?.prompts;return r?.[t]?.[n]||r?.[n]||""}var Fce="Draft a professional reply to the following {{ai_writing_scene}}.";function q_({scene:e}){return Fce.replaceAll("{{ai_writing_scene}}",e||"content")}var Zx=`${z}-ai-writing`;function K_({ctx:e,context:t,scene:n,selectedService:r,AiWritingConfig:i,onStartGenerating:a,onFinishGenerating:o,disableReload:s=!1}){let{t:l}=H(),[u,d]=N(""),[g,m]=N(null),f=$(null),[p,h]=N(!1);if(n==="general")return null;W(()=>{x()},[]),W(()=>{if(f.current===null){f.current=r.id;return}s||(f.current=r.id,y())},[r]);let x=async()=>{try{h(!0),a?.(),m(null),d("");let{systemPrompt:b,userPrompt:v}=z_({ctx:e,context:t,scene:i?.scene||"",service:r.id}),C=await Ts({service:r.id,serviceConfigs:i.serviceConfigs},e);M.debug("[ai-writing:summary] getSummary",{systemPrompt:b,userPrompt:v,service:r.id}),await C?.sendMessageStream({systemPrompt:b,userPrompt:v,onMessage:S=>{h(!1),d(T=>T+S)},onError:S=>{M.debug("[ai-writing:summary] onError",S),h(!1),o?.(),m(S)},onFinish:S=>{h(!1),o?.(),M.debug("[ai-writing:summary] onFinish",S)}})}catch(b){M.debug("[ai-writing:summary] getSummary error",b),h(!1),o?.(),b instanceof J?m(b):m(new J("fetchError",b.message||b?.toString()||"Unknown error"))}},y=()=>{m(null),x()};return c("div",{class:`${Zx}-summary`,children:[c("div",{class:`${Zx}-summary-title`,children:l("aiWriting.summary")}),p&&!g&&!u&&c("div",{className:"skeleton-loader",children:[c("div",{className:"skeleton-text-line short"}),c("div",{className:"skeleton-text-line medium"})]}),!g&&!p&&u&&c("div",{class:`${Zx}-summary-content`,children:u}),g&&c(Ja,{ctx:e,error:g,reload:y,serviceId:r.id,source:"aiWriting"})]})}var vt=`${z}-ai-writing`;function c3({ctx:e,onChange:t,className:n,promptStyle:r,updatePromptStyle:i,menuClassName:a,disabled:o=!1}){let s=$(null),l=$(null),[u,d]=N(!1),[g,m]=N(!1),[f,p]=N(null),[h,x]=N("top"),y=$(r);vr(()=>{if(u&&s.current&&l.current){let P=s.current.getBoundingClientRect(),O=P.top,F=globalThis.innerHeight-P.bottom;x(O>F?"top":"bottom")}},[u]);let b=P=>P.formalityLevel.selected!==y.current?.formalityLevel.selected||P.tone.selected!==y.current?.tone.selected||P.length.selected!==y.current?.length.selected||P.role.selected!==y.current?.role.selected,{t:v}=H(),C=P=>{P.preventDefault(),!o&&d(!u)},S=(P,O)=>{let F={...r,[P]:{...r[P],selected:O}};i({promptStyle:F})},T=()=>{d(!1),D(),b(r)&&(t(r),ae({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},w=(P,O,F)=>{P.stopPropagation();let R=r[O].options.filter(j=>j.value!==F),A={...r,[O]:{...r[O],options:R}};i({promptStyle:A})},E=P=>{p(P),m(!0)},k=P=>{if(!r||!f||!P.trim())return;let O=r[f].options,F={labelKey:P.trim(),value:P.trim().toLowerCase().replace(/\s+/g,"_")};if(O.some(j=>j.value===F.value))return;let R=[...O,F],A={...r,[f]:{...r[f],options:R}};i({promptStyle:A}),m(!1),p(null)},D=()=>{m(!1),p(null)},U=(P,O)=>!(O.includes("auto")||O===r[P].selected),B=()=>{let P=r,O=P?.length.options.find(V=>V.value===P?.length.selected)?.labelKey,F=P?.formalityLevel.options.find(V=>V.value===P?.formalityLevel.selected)?.labelKey,L=P?.tone.options.find(V=>V.value===P?.tone.selected)?.labelKey,R=P?.role.options.find(V=>V.value===P?.role.selected)?.labelKey;return[O,F,L,R].filter(V=>!(V?.includes("auto")||!V)).map(V=>`${v(V)}`).join("/")||v("aiWriting.promptStyle_title")};return c(ie,{children:[u&&c("div",{className:`${vt}-prompt-style-overlay`,onClick:T}),c("div",{ref:s,className:`${vt}-dropdown ${n||""}`,children:[c("div",{onClick:C,class:`${vt}-prompt-style-select ${o?`${vt}-prompt-style-select-disabled`:""}`,children:[c(qL,{}),c("div",{className:`${vt}-prompt-style-select-text`,children:B()}),c(Hn,{class:`imt-icon ${vt}-arrow ${u?"rotate-180":""}`})]}),u&&c("div",{ref:l,className:`${vt}-prompt-style-menu ${a||""} ${h==="bottom"?`${vt}-prompt-style-menu-bottom`:""}`,children:[c("span",{class:`${vt}-prompt-style-close-icon icon-wrapper-no-bg  close-icon-wrapper`,onClick:T,children:c(bn,{class:"imt-icon"})}),c("div",{className:`${vt}-prompt-style-item`,children:[c("div",{className:`${vt}-prompt-style-label`,children:v("aiWriting.promptStyle.length_title")}),c("div",{className:`${vt}-prompt-style-values`,children:r?.length.options.map(P=>c("div",{className:`${vt}-prompt-style-value ${P.value===r?.length.selected?"active":""}`,onClick:()=>S("length",P.value),children:v(P.labelKey)},P.value))})]}),c("div",{className:`${vt}-prompt-style-item`,children:[c("div",{className:`${vt}-prompt-style-label`,children:v("aiWriting.promptStyle.formalityLevel_title")}),c("div",{className:`${vt}-prompt-style-values`,children:r?.formalityLevel.options.map(P=>c("div",{className:`${vt}-prompt-style-value ${P.value===r?.formalityLevel.selected?"active":""}`,onClick:()=>S("formalityLevel",P.value),children:v(P.labelKey)},P.value))})]}),c("div",{className:`${vt}-prompt-style-item`,children:[c("div",{className:`${vt}-prompt-style-label`,children:v("aiWriting.promptStyle.tone_title")}),c("div",{className:`${vt}-prompt-style-values`,children:[r?.tone.options.map(P=>c("div",{className:`${vt}-prompt-style-value ${P.value===r?.tone.selected?"active":""}`,onClick:()=>S("tone",P.value),children:[v(P.labelKey),U("tone",P.value)&&c("div",{className:`${vt}-prompt-style-delete-icon`,onClick:O=>w(O,"tone",P.value),children:c(y6,{})})]},P.value)),c("div",{className:`${vt}-prompt-style-value ${vt}-prompt-style-add-button`,onClick:()=>E("tone"),children:[c(h6,{}),v("aiWriting.promptStyle.add_tone")]})]})]}),c("div",{className:`${vt}-prompt-style-item`,children:[c("div",{className:`${vt}-prompt-style-label`,children:v("aiWriting.promptStyle.role_title")}),c("div",{className:`${vt}-prompt-style-values`,children:[r?.role.options.map(P=>c("div",{className:`${vt}-prompt-style-value ${P.value===r?.role.selected?"active":""}`,onClick:()=>S("role",P.value),children:[v(P.labelKey),U("role",P.value)&&c("div",{className:`${vt}-prompt-style-delete-icon`,onClick:O=>w(O,"role",P.value),children:c(y6,{})})]},P.value)),c("div",{className:`${vt}-prompt-style-value ${vt}-prompt-style-add-button`,onClick:()=>E("role"),children:[c(h6,{}),v("aiWriting.promptStyle.add_role")]})]})]}),g&&f&&c(Bce,{ctx:e,category:f,onClose:D,onConfirm:k})]})]})]})}var Bce=({ctx:e,category:t,onClose:n,onConfirm:r})=>{let{t:i}=H(),[a,o]=N(""),s=d=>{let g=d.target;o(g.value)},l=()=>{a.trim()&&(r(a),o(""))},u=()=>{o(""),n()};return c(ie,{children:c("div",{className:`${vt}-prompt-style-add-modal`,children:[c("div",{className:`${vt}-prompt-style-add-modal-header`,children:[c("div",{className:`${vt}-prompt-style-add-modal-title`,children:i(t==="tone"?"aiWriting.promptStyle.add_tone":"aiWriting.promptStyle.add_role")}),c("span",{class:"icon-wrapper-no-bg close-icon header-icon",onClick:u,children:c(bn,{})})]}),c("div",{className:`${vt}-prompt-style-add-modal-content`,children:c("input",{type:"text",className:`${vt}-prompt-style-add-modal-input`,placeholder:i(t==="tone"?"aiWriting.promptStyle.add_tone_placeholder":"aiWriting.promptStyle.add_role_placeholder"),value:a,onInput:s})}),c("div",{className:`${vt}-prompt-style-add-modal-footer`,children:[c("button",{className:`${vt}-prompt-style-add-modal-cancel`,onClick:u,children:i("cancel")}),c("button",{className:`${vt}-prompt-style-add-modal-confirm`,onClick:l,disabled:!a.trim(),children:i("add")})]})]})})};var nm=`${z}-ai-writing`;function rm({inputValue:e,onInputChange:t,onSubmit:n,placeholder:r,type:i="input",expandOnClick:a=!1,disabled:o=!1,autoFocus:s=!1}){let l=$(null),u=$(null),[d,g]=N(!1),m=a&&d?"textarea":i;W(()=>{s&&(m==="input"&&l.current?l.current.focus():m==="textarea"&&u.current&&u.current.focus())},[s,m]),W(()=>{d&&u.current&&u.current.focus()},[d]);let f=()=>{!e.trim()||o||n(e)},p=v=>{if(v.key==="Enter"&&!v.shiftKey){if(v.keyCode===229)return;v.preventDefault(),f()}},h=v=>{v.preventDefault();let C=v.target;t(C.value)},x=()=>{a&&i==="input"&&!d&&g(!0)},y=m==="textarea"?`${nm}-textarea-container`:`${nm}-input-container`,b=m==="textarea"?`${nm}-textarea`:`${nm}-input`;return c("div",{class:y,children:[m==="input"&&c(KL,{}),m==="input"?c("input",{ref:l,autoFocus:s,onKeyDown:p,onClick:x,name:"ai-writing-input",value:e,onInput:h,class:b,placeholder:r,disabled:o}):c("textarea",{ref:u,autoFocus:s,onKeyDown:p,name:"ai-writing-textarea",value:e,onInput:h,class:b,placeholder:r,disabled:o}),c("div",{class:`${nm}-confirm-btn`,disabled:!e.trim()||o,onClick:f,children:c(GL,{})})]})}var Cd=`${z}-ai-writing`;function Q_({ctx:e,context:t,scene:n,onChange:r,selectedService:i,AiWritingConfig:a,updateAiWritingConfig:o,onStartGenerating:s,onFinishGenerating:l}){let{t:u}=H(),[d,g]=N([]),[m,f]=N(""),[p,h]=N(null),[x,y]=N(!1),[b,v]=N(!1),C=$(null);if(n==="general")return null;W(()=>{if(C.current===null){C.current=i.id;return}C.current=i.id,w()},[i]),W(()=>{S(a?.promptStyle)},[]);let S=async E=>{try{y(!0),v(!0),s?.(),h(null),g([]);let{systemPrompt:k,userPrompt:D}=H_({ctx:e,context:t,scene:a?.scene||"",promptStyle:E,service:i.id}),U=await Ts({service:i.id,serviceConfigs:a.serviceConfigs},e);M.debug("[ai-writing:suggestion] getSuggestion",{systemPrompt:k,userPrompt:D,service:i.id});let B="";await U?.sendMessageStream({systemPrompt:k,userPrompt:D,onMessage:P=>{y(!1),M.debug("[ai-writing:suggestion] stream message",P),B=B+P;try{B.startsWith("```json\n")&&(B=B.substring(8)),B.endsWith("\n```")&&(B=B.substring(0,B.length-4));let O=yo(B);M.debug("[ai-writing:suggestion] stream parsedMsg",O),g(O)}catch{}},onError:P=>{y(!1),v(!1),l?.(),h(P)},onFinish:P=>{y(!1),v(!1),l?.(),M.debug("[ai-writing:suggestion] onFinish",P)}})}catch(k){y(!1),v(!1),l?.(),k instanceof J?h(k):h(new J("fetchError",k.message||k?.toString()||"Unknown error"))}},T=E=>{S(E)},w=()=>{h(null),S(a?.promptStyle)};return c("div",{class:`${Cd}-suggestion`,children:[c("div",{class:`${Cd}-suggestion-title`,children:[u("aiWriting.suggestion"),c(c3,{ctx:e,onChange:T,promptStyle:a.promptStyle,updatePromptStyle:o,disabled:b,className:`${Cd}-prompt-style-in-suggestion`})]}),x&&!p&&!d.length&&c("div",{className:"skeleton-loader suggestion-skeleton-loader",children:[c("div",{className:"skeleton-text-line short"}),c("div",{className:"skeleton-text-line medium"})]}),!p&&!x&&d.length>0&&c("div",{class:`${Cd}-suggestion-content`,children:d instanceof Array&&d.map((E,k)=>c("div",{class:`${Cd}-suggestion-item`,onClick:()=>{r(E),ae({key:"ai_writing_suggestion_select",ctx:e,params:{translation_service:i.id,ai_writing_mode:a?.mode||"simple",ai_writing_scene:n}})},children:[E,E.length>0&&c(VL,{})]},k))}),p&&c(Ja,{ctx:e,error:p,reload:w,className:`${Cd}-error-in-suggestion`,serviceId:i.id,source:"aiWriting"}),c(rm,{inputValue:m,onInputChange:f,onSubmit:E=>{r(E),f("")},placeholder:u("aiWriting.suggestion_placeholder"),type:"textarea",disabled:x||b})]})}var im=`${z}-ai-writing`;function d3({ctx:e,onChange:t,onTranslate:n,defaultSelectedLanguage:r,className:i,type:a="button"}){let{t:o}=H(),s=$(null),[l,u]=N(!1),[d,g]=N(r),[m,f]=N(""),p=X(()=>Oi(Qn,12,e.config?.interfaceLanguage).filter(C=>C!=="auto").map(C=>({code:C,name:Et(C,e.config?.interfaceLanguage)})),[e.config?.interfaceLanguage]),h=X(()=>{if(!m.trim())return p;let v=m.toLowerCase();return p.filter(C=>C.name.toLowerCase().includes(v)||C.code.toLowerCase().includes(v))},[p,m]);W(()=>{let v=`${z}-ai-writing-modal`,C=T=>{s.current&&!s.current.contains(T.target)&&u(!1)},S=[`#${Fo} -> .${v}`];return S.forEach(T=>{Qe(T)?.addEventListener("mousedown",C)}),()=>{S.forEach(T=>{Qe(T)?.removeEventListener("mousedown",C)})}},[]);let x=v=>{v.preventDefault(),u(!l)},y=v=>{u(!1),g(v),t(v)},b=v=>{let C=v.target;f(C.value)};return W(()=>{l&&(f(""),setTimeout(()=>{s.current?.querySelector('input[type="text"]')?.focus()},0))},[l]),c("div",{ref:s,className:`${im}-dropdown ${i??""}`,children:[a==="button"?c("div",{class:`${im}-language-select`,children:[c("div",{}),c("div",{className:"translate-btn",onClick:()=>n(d),children:o("aiWriting.translate_btn",{language:Et(d,e.config?.interfaceLanguage,!1,!0)})}),c("div",{className:"translate-btn-arrow",onClick:x,children:c(Hn,{class:`${im}-arrow ${l?"rotate-180":""}`})})]}):c("div",{class:`${im}-language-select language-select-gap`,onClick:x,children:[c(WL,{}),Et(d,e.config?.interfaceLanguage,!1,!0),c(Hn,{class:`${im}-arrow ${l?"rotate-180":""}`})]}),l&&c("div",{className:"language-select-dropdown-menu",children:[c("div",{className:"language-select-dropdown-menu-search",children:[c(Rh,{}),c("input",{type:"text",placeholder:o("searchPlaceholder"),value:m,onChange:b,onInput:b})]}),c("div",{className:"language-select-dropdown-menu-content",children:h.length>0?h.map(v=>c(ie,{children:c("div",{className:`language-item ${d===v.code?"selected":""}`,onClick:()=>{y(v.code)},children:v.name})})):c("div",{className:"language-item no-results",children:o("noData")})})]})]})}var Y_=`${z}-ai-writing`,Jx=e=>{let t=document.createElement("div");t.className=`${Y_}-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"}),Qe(`#${Fo} -> .${Y_}-modal`).appendChild(t),setTimeout(()=>{t.style.opacity="1"},100),setTimeout(()=>{t.style.opacity="0",setTimeout(()=>{t.parentNode&&t.parentNode.removeChild(t)},300)},2e3)};var Oce=`${z}-ai-writing`,g3=({ctx:e,text:t,insertSelector:n})=>{let{t:r}=H();if(!n||!Qe(n))return null;let a=(o,s)=>{let l=Qe(s);if(l){if(ae({key:"ai_writing_insert",ctx:e,params:{ai_writing_mode:e.rule.aiWriting?.mode||"simple",ai_writing_scene:e.rule.aiWriting?.scene||"general"}}),l.focus(),l.tagName==="TEXTAREA"||l.tagName==="INPUT"){let u=l;u.focus();let d=u.value.length;u.setSelectionRange(d,d);let m=u.value+o;u.value=m;let f=m.length;u.setSelectionRange(f,f);let p=new Event("input",{bubbles:!0});u.dispatchEvent(p),Jx(r("aiWriting.insert_success"));return}if(l.contentEditable==="true"||l.isContentEditable){l.focus();let u=window.getSelection();if(!u)return;let d;u.rangeCount>0?d=u.getRangeAt(0):(d=document.createRange(),d.selectNodeContents(l),d.collapse(!1)),d.deleteContents();let g=document.createDocumentFragment();o.split(`
`).forEach((p,h)=>{if(h>0){let x=document.createElement("br");g.appendChild(x)}if(p.length>0){let x=document.createTextNode(p);g.appendChild(x)}}),d.insertNode(g),d.collapse(!1),u.removeAllRanges(),u.addRange(d);let f=new Event("input",{bubbles:!0});l.dispatchEvent(f),Jx(r("aiWriting.insert_success"));return}}};return c("div",{class:`${Oce}-insert-btn`,onClick:()=>{a(t,n)},children:[c(RL,{}),r("aiWriting.insert")]})};function Z_(e,t){let[n,r]=N(!1),[i,a]=N(null),[o,s]=N(""),l=async({ctx:d,text:g,targetLang:m})=>g.trim()?await yi({id:0,url:"ai-writing",text:g,to:m,from:"auto",force:!0},{...d,translationService:t.id},{retry:1}):void 0;return{translateResult:o,translationLoading:n,translationError:i,translateText:async(d,g)=>{r(!0),a(null),s(""),M.debug("[ai-writing:use-translate] translateText",{text:d,language:g}),ae({key:"ai_writing_translate",ctx:e,params:{translation_service:t.id,target_language:g,ai_writing_mode:e.rule.aiWriting?.mode||"simple",ai_writing_scene:e.rule.aiWriting?.scene||"general"}});try{let m=await l({ctx:e,text:d,targetLang:g});m?(s(m.text),r(!1)):(a(new J("translateError","\u7FFB\u8BD1\u5931\u8D25")),r(!1))}catch(m){a(m),r(!1)}}}}var Os=`${z}-ai-writing`,J_=({ctx:e,AiWritingConfig:t,translateResult:n,loading:r,error:i,currentLang:a,onTranslate:o,selectedService:s})=>{let{t:l}=H(),[u,d]=N(a),g=Lt(e.config.rtlLanguages,u);return c("div",{class:`${Os}-translate-result`,children:[r&&c("div",{className:`${Os}-translate-loading`,children:[c("div",{className:`${Os}-translate-loading-text`,children:l("Translating")}),c("div",{className:"skeleton-loader chat-skeleton-loader",children:[c("div",{className:"skeleton-text-line short"}),c("div",{className:"skeleton-text-line medium"})]})]}),i&&c(Ja,{ctx:e,error:i,showReload:!1,className:`${Os}-error-in-chat`,serviceId:s.id,source:"aiWriting"}),n&&!r&&!i&&c(ie,{children:[c("div",{class:`${Os}-translate-result-text ${g?"rtl":""}`,children:n}),c("div",{class:`${Os}-translate-result-action`,children:[c("div",{class:`${Os}-translate-result-action-left`,children:[c(d3,{ctx:e,type:"dropdown",defaultSelectedLanguage:u,className:`${Os}-language-select-in-translate-result`,onChange:m=>{d(m),o(m)},onTranslate:m=>{d(m),o(m)}}),c(Gl,{text:n,ctx:e,className:"icon-wrapper-no-bg",iconClassName:"imt-icon"}),c(Ye,{text:l("aiWriting.retranslate"),children:c("div",{class:"icon-wrapper-no-bg",onClick:()=>{o(u)},children:c(Sl,{class:"imt-icon"})})})]}),c(g3,{ctx:e,insertSelector:t.insertInputSelector,text:n})]})]})]})};var am=`${z}-ai-writing`;function X_({message:e}){let[t,n]=N(!1),r=$(null),[i,a]=N(!1);if(!e.trim())return null;let o=()=>{let s=r.current;if(!s)return;let l=s.style.whiteSpace,u=s.style.webkitLineClamp,d=s.style.display;s.style.whiteSpace="nowrap",s.style.webkitLineClamp="unset",s.style.display="block";let g=s.scrollWidth>s.clientWidth;s.style.whiteSpace=l,s.style.webkitLineClamp=u,s.style.display=d,a(g)};return W(()=>{e?(n(!1),setTimeout(o,0)):(a(!1),n(!1))},[e]),c("div",{class:`${am}-chat-user-input ${t?`${am}-chat-user-input-expanded`:""} ${i?`${am}-chat-user-input-clickable`:""}`,onClick:i?()=>n(!t):void 0,children:[c("div",{ref:r,class:`${am}-chat-user-input-content`,children:e||""}),i&&c("div",{class:`${am}-chat-user-input-arrow`,children:c(Hn,{class:t?"rotate-180":""})})]})}var ur=`${z}-ai-writing`;function $_({ctx:e,context:t,scene:n,userFirstInput:r,selectedService:i,AiWritingConfig:a,updateAiWritingConfig:o,onStartGenerating:s,onFinishGenerating:l,onStopRefChange:u,isSimpleMode:d=!1}){let{t:g}=H(),[m,f]=N(""),[p,h]=N(""),[x,y]=N(!1),[b,v]=N([]),[C,S]=N([]),[T,w]=N(0),E=$(null),[k,D]=N([]),[U,B]=N(null),[P,O]=N(!1),F=$(""),{translateText:L,translationLoading:R,translationError:A,translateResult:j}=Z_(e,i),[V,G]=N(!1),[K,q]=N(!1),[Z,ne]=N(e.targetLanguage),Y=$(),oe=$(0),Me=(ye,ce)=>{if(n==="general")return ye;let se=-1;for(let we=ye.length-1;we>=0;we--)if(ye[we].role==="user"){se=we;break}return ye.map((we,qe)=>{if(we.role==="user"&&qe===se){let{userPrompt:fe}=G_({ctx:e,scene:n,context:t,promptStyle:ce??a?.promptStyle,userInput:we.content});return{...we,content:fe}}return we})};W(()=>{let{systemPrompt:ye}=me(a?.promptStyle),ce=[{role:"system",content:ye}];if(n==="general"){v(ce),S(ce);return}r&&ce.push({role:"user",content:r}),v(ce);let se=Me(ce);S(se),Ce(se);let we={userMessage:r,aiResponse:"",service:i.id};D([we])},[]),W(()=>{if(E.current===null){E.current=i.id;return}E.current=i.id,ge(a?.promptStyle)},[i]),W(()=>{u?.(Y.current)},[Y.current,u]);let Ce=async ye=>{M.debug("[ai-writing:chat] generateAIResponse",{messages:ye,service:i.id});try{if(!await or({ctx:e,usageScene:"ai_writing",service:i.id})){l?.();return}G(!1),y(!0),s?.(),O(!0),h(""),F.current="";let se=await Ts({service:i.id,serviceConfigs:a.serviceConfigs},e),we=new AbortController,{signal:qe}=we;Y.current=()=>{we.abort(),y(!1),O(!1),l?.()};let fe="";ae({key:"ai_writing_chat",ctx:e,params:{translation_service:i.id,trigger:"ai_writing_chat",ai_writing_record_length:k.length,ai_writing_mode:a?.mode||"simple",ai_writing_scene:n}}),await se?.sendMessageStream({messages:ye,signal:qe,onMessage:ze=>{O(!1),fe+=ze,h(fe),F.current=fe},onError:ze=>{O(!1),y(!1),l?.(),B(ze),D(Ee=>{let tt=[...Ee],Xe=tt.length-1;return tt[Xe]={...tt[Xe],error:ze,service:i.id},tt})},onFinish:ze=>{M.debug("[ai-writing:chat] onFinish",{reason:ze,responseContent:fe}),y(!1),l?.(),O(!1);let Ee={role:"assistant",content:fe};v(tt=>[...tt,Ee]),S(tt=>[...tt,Ee]),D(tt=>{let Xe=[...tt],Dt=Xe.length-1;return Xe[Dt]={...Xe[Dt],aiResponse:fe,service:i.id},Xe})}})}catch(ce){O(!1);let se=ce instanceof J?ce:new J("fetchError",ce.message||ce?.toString()||"Unknown error");B(se),D(we=>{let qe=[...we],fe=qe.length-1;return qe[fe]={...qe[fe],error:se,service:i.id},qe}),y(!1),l?.()}};W(()=>{(async()=>{let ce=await Ze({text:t,ignorePageLang:!0,chineseFirst:!0}),se=e.sourceLanguage==="auto"?"en":e.sourceLanguage,we=ce==="auto"?se:ce;ne(we),q(we!==e.targetLanguage)})()},[e.targetLanguage,t]),W(()=>{n!=="general"&&d&&K&&p&&!x&&!k[T]?.translatedResult&&(oe.current=T,L(p,Z),G(!0))},[d,K,p,x,T,k]),W(()=>{if(j&&!R&&!A){let ye=oe.current;D(ce=>{let se=[...ce];return se[ye]&&(se[ye]={...se[ye],translatedResult:j}),se})}},[j,R,A]);let ue=()=>{if(B(null),k.length===0)return;let ye=[...k,{userMessage:k[k.length-1].userMessage,aiResponse:"",service:i.id}];D(ye),w(ye.length-1);let se=b[b.length-1].role==="assistant"?b.slice(0,-1):b;v(se);let we=Me(se);S(we),Ce(we)},ge=ye=>{if(B(null),k.length===0)return;let ce=k[k.length-1].userMessage,we=b[b.length-1].role==="assistant"?b.slice(0,-1):b;v(we);let qe=Me(we,ye);S(qe);let fe=[...k,{userMessage:ce,aiResponse:"",service:i.id}];D(fe),w(fe.length-1),Ce(qe)},me=ye=>n==="general"?W_({ctx:e,context:t,promptStyle:ye,service:i.id}):V_({ctx:e,context:t,scene:a?.scene||"",promptStyle:ye,service:i.id}),he=ye=>{if(M.debug("[ai-writing:chat] handleUserMessageSubmit",ye),!ye.trim()||x)return;let ce=[...k,{userMessage:ye,aiResponse:"",service:i.id}];D(ce),f("");let se=[...b,{role:"user",content:ye}];v(se);let we=Me(se);S(we),Ce(we),w(ce.length-1)},te=ye=>{if(x||R)return;let ce=T;if(ye==="prev"){if(T===0)return;ce=T-1}else{if(T===k.length-1)return;ce=T+1}let se=!!k[ce]?.translatedResult;G(se);let we=k[ce]?.aiResponse;we!==void 0?(h(we),F.current=we):F.current="";let qe=k[ce]?.error;B(qe||null),w(ce)},Re=ye=>{D(se=>{let we=[...se];return we[T]={...we[T],aiResponse:ye},we});let ce=T*2+2;v(se=>{let we=[...se];return ce<we.length&&we[ce].role==="assistant"&&(we[ce]={...we[ce],content:ye}),we}),S(se=>{let we=[...se];return ce<we.length&&we[ce].role==="assistant"&&(we[ce]={...we[ce],content:ye}),we})};return c("div",{class:`${ur}-chat`,children:[c("div",{class:`${ur}-chat-title`,children:[c("div",{children:n!=="general"&&g("aiWriting.chat_title")}),!x&&k.length>0&&c("div",{class:"toggle-container",children:[c("span",{class:"icon-wrapper toggle-icon-wrapper left-icon",onClick:()=>te("prev"),children:c(Fh,{class:"mini-arrow-icon"})}),c("span",{class:"toggle-text",children:[T+1,"/",k.length]}),c("span",{class:"icon-wrapper toggle-icon-wrapper right-icon",onClick:()=>te("next"),children:c(_a,{class:"mini-arrow-icon"})})]})]}),c(X_,{message:k[T]?.userMessage||""}),c("div",{class:`${ur}-chat-content-container`,children:[c(ie,{children:[P&&!U&&!p&&c("div",{className:"skeleton-loader chat-skeleton-loader",children:[c("div",{className:"skeleton-text-line short"}),c("div",{className:"skeleton-text-line medium"})]}),!U&&p&&c("div",{class:`${ur}-chat-content`,children:[c("div",{class:`${ur}-chat-content-text ${ur}-editable-text`,contentEditable:!x,onInput:ye=>{let ce=ye.target.textContent||"";Re(ce)},onFocus:ye=>{let ce=ye.target;ce&&ce.classList.add(`${ur}-editing`)},onBlur:ye=>{let ce=ye.target;if(ce){ce.classList.remove(`${ur}-editing`);let se=ce.textContent||"";Re(se),se!==p&&ae({key:"ai_writing_edit_response",ctx:e,params:{translation_service:i.id,ai_writing_mode:a?.mode||"simple",ai_writing_scene:n}}),h(se)}},children:p},`${T}-${p}`),!x&&c("div",{class:`${ur}-chat-action-container`,children:[c("div",{class:`${ur}-chat-action-container-left`,children:[c(c3,{ctx:e,disabled:x,promptStyle:a.promptStyle,updatePromptStyle:o,className:`${ur}-prompt-style-in-chat`,menuClassName:`${ur}-prompt-style-menu-in-chat`,onChange:ge}),c(Gl,{text:p,ctx:e,className:"icon-wrapper-no-bg",iconClassName:"imt-icon"}),c(Ye,{text:g("aiWriting.regenerate"),children:c("div",{class:"icon-wrapper-no-bg",onClick:ue,children:c(Sl,{class:"imt-icon"})})})]}),c("div",{class:`${ur}-chat-action-container-right`,children:[!K&&c(g3,{ctx:e,insertSelector:a.insertInputSelector,text:p}),(!d||d&&T!==0)&&K&&!V&&c(d3,{ctx:e,defaultSelectedLanguage:Z,className:`${ur}-language-select-in-chat`,onChange:ye=>{oe.current=T,L(p,ye),G(!0)},onTranslate:ye=>{oe.current=T,L(p,ye),G(!0)}})]})]})]}),U&&c(Ja,{ctx:e,error:U,reload:ue,className:`${ur}-error-in-chat`,source:"aiWriting",serviceId:k[T]?.service||i.id})]}),V&&c(J_,{ctx:e,currentLang:Z,AiWritingConfig:a,translateResult:k[T]?.translatedResult||j,loading:R,error:A,selectedService:i,onTranslate:ye=>{oe.current=T,L(p,ye)}})]}),x&&c("div",{class:`${ur}-stop-container`,children:c("div",{class:`${ur}-stop-wrapper`,onClick:()=>Y.current?.(),children:[c(NL,{class:"imt-icon stop-icon"}),c("div",{class:`${ur}-stop-text`,children:g("aiWriting.stop")})]})}),!x&&n!=="general"&&c(rm,{inputValue:m,onInputChange:f,onSubmit:he,placeholder:g("aiWriting.chat_placeholder"),type:"input",expandOnClick:!0,disabled:x,autoFocus:!0}),!x&&n==="general"&&c(rm,{inputValue:m,onInputChange:f,onSubmit:he,placeholder:g("aiWriting.chat_placeholder_textarea"),type:"textarea",disabled:x,autoFocus:!0})]})}var ql=`${z}-ai-writing`;function eU({mode:e,onChange:t,disabled:n=!1}){let{t:r}=H(),i=$(null),[a,o]=N(!1),s=e||"simple";W(()=>{let d=`${z}-ai-writing-modal`,g=f=>{i.current&&!i.current.contains(f.target)&&o(!1)},m=[`#${Fo} -> .${d}`];return m.forEach(f=>{Qe(f)?.addEventListener("mousedown",g)}),()=>{m.forEach(f=>{Qe(f)?.removeEventListener("mousedown",g)})}},[]);let l=()=>{n||o(!a)},u=d=>{o(!1),s!==d&&t(d)};return c("div",{ref:i,class:`${ql}-dropdown ${ql}-mode-select`,children:[c("span",{class:`${ql}-mode-select-trigger ${n?"disabled":""}`,onClick:l,children:c(CD,{})}),a&&c("div",{class:`${ql}-dropdown-menu ${ql}-mode-select-menu`,children:[c("div",{class:`${ql}-mode-select-item ${s==="simple"?"active":""}`,onClick:()=>u("simple"),children:r("aiWriting.simpleMode")}),c("div",{class:`${ql}-mode-select-item ${s==="professional"?"active":""}`,onClick:()=>u("professional"),children:r("aiWriting.professionalMode")})]})]})}var _ce=`${z}-ai-writing`;function tU(e,t={}){let{modalWidth:n=650,modalHeight:r=400,boundaryGap:i=20,dragHandleSelector:a=".drag-handle"}=t,[o,s]=N(!1),[l,u]=N({x:0,y:0}),d=$({x:0,y:0}),[g,m]=N("center"),[f,p]=N(null),[h,x]=N(0),y=$({x:0,y:0}),b=$({x:0,y:0}),v=T=>{d.current=T,u(T)},C=()=>{v({x:0,y:0}),m("center"),p(null),x(0)};return W(()=>{let T=e.current;if(!T)return;let w=T.querySelector(a);if(!w)return;let E=[`.${_ce}-modal-title-right`],k=B=>{B.target.closest(E.join(","))||(s(!0),y.current={x:B.clientX,y:B.clientY},b.current={...l},B.preventDefault())},D=gr(B=>{if(!o)return;let P=B.clientX-y.current.x,O=B.clientY-y.current.y;v({x:b.current.x+P,y:b.current.y+O})},16),U=()=>{if(!o)return;s(!1);let B=T.offsetHeight||r,P=globalThis.innerWidth,O=globalThis.innerHeight,F=T.getBoundingClientRect(),L=d.current,R=L.x,A=L.y,j=!1,V=F.left-L.x,G=F.top-L.y;F.left<0&&(R=-V+i,j=!0),F.right>P&&(R=P-V-n-i,j=!0),F.top<0&&(A=-G+i,j=!0),F.bottom>O&&(A=O-G-B-i,j=!0),j&&T&&(requestAnimationFrame(()=>{T.style.transition="transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)",v({x:R,y:A})}),setTimeout(()=>{T.style.transition=""},300));let K=T.getBoundingClientRect(),q=j?A:L.y,Z=j?G+A:K.top,ne=O/3;Z<ne?(m("top"),p(Math.max(Z,i)),x(q)):(m("center"),p(null),x(0))};return w.addEventListener("mousedown",k),document.addEventListener("mousemove",D),document.addEventListener("mouseup",U),()=>{w.removeEventListener("mousedown",k),document.removeEventListener("mousemove",D),document.removeEventListener("mouseup",U)}},[o,l,a,n,r,i]),{transformStyle:{transform:`translate(${l.x}px, ${l.y}px)`},isDragging:o,transformOffset:l,resetPosition:C,anchorMode:g,fixedTop:f,anchorTransformY:h}}var Xa=`${z}-ai-writing`;function nU({ctx:e,onClose:t,context:n,scene:r,AiWritingConfig:i,updateAiWritingConfig:a}){let o=$(null),s=$(Date.now()),[l,u]=N([]),[d,g]=N(null),[m,f]=N(!1),[p,h]=N(!1),x=$(),{t:y}=H(),{transformStyle:b,isDragging:v,anchorMode:C,fixedTop:S,transformOffset:T,anchorTransformY:w}=tU(o,{modalWidth:550,dragHandleSelector:`.${Xa}-modal-title`}),E=X(()=>{if(C==="top"&&S!==null){let L=T.y-w;return{position:"fixed",top:`${S+L}px`,left:"50%",transform:`translateX(calc(-50% + ${T.x}px))`}}return b},[C,S,T,w,b]);W(()=>{function L(){if(!e)return;let R=Tr(e,"translationService",e.config.interfaceLanguage,[]).filter(j=>j.ai===!0&&j.config.supportFeatures?.includes("aiWriting"))||[];if(u(R),i?.service){let j=R.find(V=>V.id===i.service);if(j){g(j),h(!0);return}}let A=R.find(j=>j.config.group==="free");if(A&&g(A),e.isPro){let j=R.filter(G=>G.config.group==="pro");if(!j.length){h(!0);return}let V=j.find(G=>G.id==="openai-pro")||j[0];V&&g(V)}if(e.isMax){let j=R.filter(G=>G.config.group==="max");if(!j.length){h(!0);return}let V=j.find(G=>G.id==="openai-max")||j[0];V&&g(V)}h(!0)}L()},[e]);let k=X(()=>Ni(l,y).filter(L=>L.services.length>0).filter(L=>L.id!=="custom"),[l]);W(()=>{let L=R=>{R.key==="Escape"&&(F(),t())};return document.addEventListener("keydown",L),()=>{document.removeEventListener("keydown",L)}},[e]);let D=Lt(e.config.rtlLanguages,e.config.interfaceLanguage),U=L=>{g(L),a({service:L.id}),ae({key:"ai_writing_change_service",ctx:e,params:{translation_service:L.id,ai_writing_mode:i?.mode||"simple"}})},B=L=>{x.current=L},P=()=>{x.current?.(),F(),t()},O=L=>{a({mode:L}),ae({key:"ai_writing_change_mode",ctx:e,params:{ai_writing_mode:L,ai_writing_scene:r}})},F=()=>{let L=Date.now()-s.current;ae({key:"ai_writing_modal_close",ctx:e,params:{ai_writing_mode:i?.mode||"simple",ai_writing_scene:r,ai_writing_duration:L}})};return i?c("div",{className:`${Xa}-modal-overlay`,children:c("div",{ref:o,className:`${Xa}-modal ${D?"modal-rtl":""} notranslate`,dir:D?"rtl":"ltr",style:{...E},children:[c("div",{className:`${Xa}-modal-title notranslate`,style:v?{cursor:"grabbing"}:{cursor:"move"},children:[c("div",{className:`${Xa}-modal-title-left`,children:[c(_i,{class:"logo"}),c("span",{className:`${Xa}-modal-title-text`,children:r==="general"?y("aiWriting.title"):o3})]}),c("div",{class:`${Xa}-modal-title-right`,children:[d&&c(r3,{modalClass:`${Xa}-modal`,groupServices:k,selectedService:d,onChange:U,disabled:m,shadowRootId:Fo}),r!=="general"&&c(eU,{mode:i.mode,onChange:O,disabled:m}),c("span",{class:"icon-wrapper-no-bg close-icon-wrapper",onClick:P,children:c(bn,{class:"imt-icon"})})]})]}),c("div",{className:`${Xa}-modal-body`,children:[!p&&c("div",{className:"skeleton-loader",children:[c("div",{className:"skeleton-text-line short"}),c("div",{className:"skeleton-text-line medium"})]}),p&&(l.length>0&&d&&i||r==="general"?c(Uce,{ctx:e,context:n,scene:r,selectedService:d,AiWritingConfig:i,updateAiWritingConfig:a,setIsGenerating:f,onStopChatRefChange:B},i.mode||"simple"):c("div",{className:`${Xa}-modal-body-unavailable`,children:y("aiWriting.no_available_service")}))]})]})}):null}function Uce({ctx:e,context:t,scene:n,selectedService:r,AiWritingConfig:i,updateAiWritingConfig:a,setIsGenerating:o,onStopChatRefChange:s}){let l=i?.mode==="simple"||i?.mode===void 0,[u,d]=N(()=>l&&n!=="general"?q_({scene:n}):""),[g,m]=N(!1),[f,p]=N(!1),[h,x]=N(!1);return r?(W(()=>{o(g||f||h)},[g,f,h,o]),c(ie,{children:[!l&&c(ie,{children:[c(K_,{ctx:e,context:t,scene:n,selectedService:r,AiWritingConfig:i,disableReload:!!u,onStartGenerating:()=>{m(!0)},onFinishGenerating:()=>{m(!1)}}),!u&&c(Q_,{ctx:e,context:t,scene:n,selectedService:r,AiWritingConfig:i,updateAiWritingConfig:a,onChange:y=>{d(y)},onStartGenerating:()=>{p(!0)},onFinishGenerating:()=>{p(!1)}})]}),(u||n==="general")&&c($_,{ctx:e,context:t,scene:n,userFirstInput:u,selectedService:r,AiWritingConfig:i,updateAiWritingConfig:a,onStartGenerating:()=>{x(!0)},onFinishGenerating:()=>{x(!1)},onStopRefChange:s,isSimpleMode:l})]})):null}var jce=`${z}-ai-writing`;function rU({ctx:e,scene:t,context:n="",onCloseModal:r}){let[i]=N(n||""),{AiWritingConfig:a,updateAiWritingConfig:o}=vd(e),s=Lt(e.config.rtlLanguages,e.config.interfaceLanguage),l=()=>{r?.()};return c("div",{class:`${jce}-container`,dir:s?"rtl":"ltr",children:a&&c(nU,{ctx:e,onClose:l,context:i,scene:t,AiWritingConfig:a,updateAiWritingConfig:o})})}var un=`${z}-ai-writing-test`,iU=`
  .${un}-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;
  }
  .${un}-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
  }
  .${un}-title {
    font-size: 16px;
    font-weight: 600;
  }
  .${un}-status {
    font-size: 13px;
    color: #0f172a;
  }
  .${un}-status.error {
    color: #b91c1c;
  }
  .${un}-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;
  }
  .${un}-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .${un}-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;
  }
  .${un}-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  }
  .${un}-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
  }
  .${un}-ghost {
    background: #e2e8f0;
    color: #0f172a;
  }
  .${un}-note {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
  }
  .${un}-hint {
    font-size: 12px;
    color: #059669;
    line-height: 1.5;
  }
`;function aU({ctx:e}){let[t,n]=N(""),[r,i]=N(!1),[a,o]=N("\u7B49\u5F85\u52A0\u8F7D..."),[s,l]=N(!0),[u,d]=N(""),g=$(null),{AiWritingConfig:m,updateAiWritingConfig:f}=vd(e),p=X(()=>m?.prompts?.polishReplyPrompt||e.config.generalRule.aiWriting?.prompts?.polishReplyPrompt||"",[m,e]),h=re(()=>{l(!0),o("\u8BFB\u53D6\u4E2D..."),i(!1);try{n(p),o("\u8BFB\u53D6\u5B8C\u6210")}catch(y){M.error("[ai-writing:test] load prompt failed",y),o("\u8BFB\u53D6\u5931\u8D25"),i(!0)}finally{l(!1)}},[p]),x=re(()=>{l(!0),o("\u4FDD\u5B58\u4E2D..."),i(!1);try{let y={...m?.prompts||{},polishReplyPrompt:t};f({prompts:y}),o("\u5DF2\u4FDD\u5B58\u5230\u7528\u6237\u914D\u7F6E"),d("\u4FDD\u5B58\u6210\u529F\uFF0C\u5DF2\u5199\u5165\u7528\u6237\u914D\u7F6E"),g.current&&clearTimeout(g.current),g.current=setTimeout(()=>d(""),2e3)}catch(y){M.error("[ai-writing:test] save prompt failed",y),o("\u4FDD\u5B58\u5931\u8D25"),i(!0)}finally{l(!1)}},[m?.prompts,f,t]);return W(()=>{m&&h()},[m,h]),W(()=>()=>{g.current&&clearTimeout(g.current)},[]),c("div",{class:`${un}-card`,children:[c("div",{class:`${un}-header`,children:[c("div",{class:`${un}-title`,children:"polishReplyPrompt"}),c("div",{class:`${un}-status ${r?"error":""}`,children:a})]}),c("textarea",{class:`${un}-textarea`,value:t,placeholder:"\u7B49\u5F85\u52A0\u8F7D...",onInput:y=>n(y.target.value),disabled:!m}),c("div",{class:`${un}-actions`,children:[c("button",{class:`${un}-btn ${un}-ghost`,onClick:y=>{y.preventDefault(),h()},disabled:s||!m,children:"\u91CD\u65B0\u8BFB\u53D6"}),c("button",{class:`${un}-btn`,onClick:y=>{y.preventDefault(),x()},disabled:s||!m,children:"\u4FDD\u5B58\u5230\u7528\u6237\u914D\u7F6E"})]}),c("p",{class:`${un}-note`,children:'\u9700\u786E\u4FDD\u6269\u5C55\u5DF2\u6CE8\u5165\u672C\u9875\uFF0C\u6570\u636E\u5199\u5165 generalRule["aiWriting.add"].prompts\u3002'}),u&&c("div",{class:`${un}-hint`,children:u})]})}var ee=`${z}-ai-writing`,zce=`
  .${ee}-container {
    position: relative;
  }

  .${ee}-action-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
  }

  .${ee}-more-action-icon {
    cursor: pointer;
  }

  .${ee}-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;
  }

  .${ee}-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;
  }
`,Hce=`
  .${ee}-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: ${qn};
  }

  .${ee}-close-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .${ee}-close-modal-header-title {
    color: #333;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
  }

  .${ee}-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;
  }

  .${ee}-radio-sel,
  .${ee}-radio-nor {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .${ee}-radio-sel {
    border: 2px solid #EA4C89;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .${ee}-radio-sel div {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background-color: #EA4C89;
  }

  .${ee}-radio-nor {
    border: 2px solid #d3d4d6;
  }

  .description {
    color: #999;
    font-size: 14px;
  }

  .description a {
    color: #EA4C89;
  }

  .description a:hover {
    text-decoration: underline;
  }

  .${ee}-close-modal-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    gap: 12px;
  }

  .${ee}-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;
  }

  .${ee}-close-modal-footer-button.cancel-button {
    border: 1px solid #EA4C89;
    background: #FFF;
    color: #EA4C89;
  }

  .${ee}-close-modal-footer-button.confirm-button {
    border: 1px solid #EA4C89;
    background: #EA4C89;
    color: #FFF;
  }
`,Vce=`
  .${ee}-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: ${qn-1};
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }

  .${ee}-modal {
    position: relative;
    top: 0;
    left: 0;
    z-index: ${qn};
    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;
  }

  .${ee}-modal-title-text {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5;
    color: #333;
    margin-left: 12px;
  }

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

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

  .${ee}-modal-body {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-height: 0;
  }

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

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

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

  .${ee}-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;
  }
`,Gce=`
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  ${ee}-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: ${pe}ShadowRolling 1.5s linear infinite;
  }

  @keyframes ${pe}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);
    }
  }
`,Wce=`
  .${ee}-summary {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    margin: 0 20px;
    max-height: 30%;
    min-height: 0;
  }

  .${ee}-summary-title {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5;
    color: #222;
    user-select: none;
    flex-shrink: 0;
  }

  .${ee}-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;
  }
`,qce=`
  .${ee}-suggestion {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-height: 30%;
    min-height: 0;
  }

  .${ee}-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;
  }

  .${ee}-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;
  }

  .${ee}-suggestion-item {
    background-color: #F3F5F6;
    border-radius: 12px;
    padding: 12px;
    margin-top: 12px;
    cursor: pointer;
    display: flex;
    gap: 8px;
  }

  .${ee}-suggestion-item:hover {
    background-color: #F6F8F9;
  }
`,Kce=`
  .${ee}-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-height: 70%;
    overflow: hidden;
  }

  .${ee}-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;
  }

  .${ee}-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;
  }

  .${ee}-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 */
  .${ee}-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;
  }

  .${ee}-chat-content-container {
    display: flex;
    border-bottom: 1px solid #F3F5F6;
    flex: 1;
    overflow: hidden;
    min-height: 0;
  }

  .${ee}-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);
  }

  .${ee}-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);
  }

  .${ee}-chat-user-input-clickable:hover {
    background-color: #F8F9FA;
  }

  .${ee}-chat-user-input-clickable:active {
    background-color: #F0F2F4;
  }

  .dark .${ee}-chat-user-input-clickable:hover {
    background-color: #2D2E2E;
  }

  .dark .${ee}-chat-user-input-clickable:active {
    background-color: #202121;
  }

  .${ee}-chat-user-input-expanded {
    max-height: 120px; /* \u589E\u52A0\u8DB3\u591F\u7684\u9AD8\u5EA6\u6765\u786E\u4FDD\u52A8\u753B\u660E\u663E */
  }

  .${ee}-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;
  }

  .${ee}-chat-user-input-expanded .${ee}-chat-user-input-content {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .${ee}-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;
  }

  .${ee}-chat-user-input-arrow:hover {
    color: #666;
  }

  .${ee}-chat-action-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
  }

  .${ee}-chat-action-container-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .${ee}-chat-action-container-right {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .${ee}-stop-container {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 16px 20px;
    box-sizing: border-box;
  }

  .${ee}-stop-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
  }

  .${ee}-stop-text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #999;
  }

  .stop-icon {
    width: 20px;
    height: 20px;
  }

  .${ee}-stop-wrapper:hover .${ee}-stop-text, .${ee}-stop-wrapper:hover .stop-icon {
    color: #666;
  }
`,Qce=`
  .${ee}-textarea-container, .${ee}-input-container {
    position: relative;
    padding: 16px 20px;
    box-sizing: border-box;
    flex-shrink: 0;
  }

  .${ee}-input-container {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
  }

  .${ee}-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;
  }

  .${ee}-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #fff;
    background-color: #fff;
    height: 40px;
    padding-right: 50px;
    color: #333;
  }

  .${ee}-textarea:focus, .${ee}-textarea:hover {
    border-color: #EA4C89;
    outline: none;
  }

  .${ee}-input:focus, .${ee}-input:hover {
    outline: none;
  }

  .${ee}-confirm-btn {
    position: absolute;
    right: 32px;
    bottom: 32px;
    width: 20px;
    height: 20px;
    background-color: #EA4C89;
    border-radius: 8px;
    padding: 6px;
    cursor: pointer;
  }

  .${ee}-input-container .${ee}-confirm-btn {
    right: 24px;
    bottom: 20px;
  }

  .${ee}-confirm-btn[disabled] {
    background-color: #F4A5C4;
    cursor: not-allowed;
  }

  .${ee}-confirm-btn:hover {
    background-color: #EC5E95;
  }

  .${ee}-confirm-btn:active {
    background-color: #EC5E95;
  }

  .${ee}-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;
  }

  .${ee}-insert-btn:hover {
    background-color: #EC5E95;
  }

  .${ee}-insert-btn:active {
    background-color: #EC5E95;
  }

  .${ee}-insert-btn:disabled {
    background-color: #F4A5C4;
    cursor: not-allowed;
  }
`,Yce=`
  .${ee}-dropdown {
    position: relative;
    display: inline-block;
  }

  .${ee}-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease-in-out;
  }

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

  .${ee}-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 .${ee}-dropdown-menu {
    background: #111;
    box-shadow: 0px 4px 16px 0px rgba(255, 255, 255, 0.10);
  }

  /* \u6A21\u5F0F\u9009\u62E9\u5668\u6837\u5F0F */
  .${ee}-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;
  }

  .${ee}-mode-select-trigger:hover {
    background-color: #F6F8F9;
  }

  .${ee}-mode-select-trigger.disabled {
    cursor: not-allowed;
    opacity: 0.5;
  }

  .dark .${ee}-mode-select-trigger:hover {
    background-color: #2D2E2E;
  }

  .${ee}-mode-select-menu {
    min-width: 120px;
    right: auto;
    left: 0;
  }

  .${ee}-mode-select-item {
    padding: 8px 12px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease;
  }

  .${ee}-mode-select-item:hover {
    background-color: #F6F8F9;
  }

  .${ee}-mode-select-item.active {
    color: #333;
    background-color: #F6F8F9;
  }

  .dark .${ee}-mode-select-item {
    color: #B3B3B3;
  }

  .dark .${ee}-mode-select-item:hover {
    background-color: #2D2E2E;
  }

  .dark .${ee}-mode-select-item.active {
    color: #B3B3B3;
    background-color: #2D2E2E;
  }
`,Zce=`
  .${ee}-prompt-style-in-suggestion {
    position: relative;
  }

  .${ee}-prompt-style-select {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .${ee}-prompt-style-select-disabled {
    cursor: not-allowed;
    color: #999;
  }

  .${ee}-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;
  }

  .${ee}-prompt-style-select:hover {
    color: #333;
  }

  .${ee}-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"] .${ee}-prompt-style-menu {
    bottom: 0;
    right: 0;
  }

  .${ee}-prompt-style-close-icon {
    position: absolute;
    top: 16px;
    right: 20px;
    z-index: 1001;
  }

  .${ee}-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;
  }

  .${ee}-prompt-style-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .${ee}-prompt-style-label {
    color: #999;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
  }

  .${ee}-prompt-style-values {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .${ee}-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;
  }

  .${ee}-prompt-style-value:hover {
    background-color: #F6F8F9;
  }

  .${ee}-prompt-style-value.active {
    background-color: #FDEDF3;
    color: #EA4C89;
    border: 1px solid #EA4C89;
  }

  .${ee}-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;
  }

  .${ee}-prompt-style-value:hover .${ee}-prompt-style-delete-icon {
    opacity: 1;
  }

  .${ee}-prompt-style-menu-in-chat {
    position: fixed;
    left: 70px;
    top: unset;
    bottom: 120px;
  }

  [dir="rtl"] .${ee}-prompt-style-menu-in-chat {
    left: unset;
    right: -100px;
  }

  /* \u5411\u4E0B\u5F39\u51FA\u6837\u5F0F\u53D8\u4F53 */
  .${ee}-prompt-style-menu-bottom.${ee}-prompt-style-menu-in-chat {
    bottom: unset;
    top: 40px;
  }

  [dir="rtl"] .${ee}-prompt-style-menu-bottom.${ee}-prompt-style-menu-in-chat {
    bottom: unset;
    top: 40px;
  }

  .dark .${ee}-prompt-style-value {
    background-color: #252626;
    color: #B3B3B3;
    border: 1px solid #252626;
  }

  .dark .${ee}-prompt-style-value:hover {
    background-color: #2D2E2E;
  }

  .dark .${ee}-prompt-style-value.active {
    background-color: #2D1B1F;
    color: #EA4C89;
    border: 1px solid #EA4C89;
  }
`,Jce=`
  .${ee}-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;
  }

  .${ee}-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;
  }

  .${ee}-prompt-style-add-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 0;
  }

  .${ee}-prompt-style-add-modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
  }

  .${ee}-prompt-style-add-modal-close {
    width: 24px;
    height: 24px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
  }

  .${ee}-prompt-style-add-modal-close:hover {
    background-color: #F3F5F6;
  }

  .${ee}-prompt-style-add-modal-content {
    padding: 20px 24px;
  }

  .${ee}-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;
  }

  .${ee}-prompt-style-add-modal-input::placeholder {
    color: #9CA3AF;
  }

  .${ee}-prompt-style-add-modal-input:focus {
    border-color: #EA4C89;
    box-shadow: 0 0 0 3px rgba(234, 76, 137, 0.1);
  }

  .${ee}-prompt-style-add-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 24px 24px;
  }

  .${ee}-prompt-style-add-modal-cancel,
  .${ee}-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;
  }

  .${ee}-prompt-style-add-modal-cancel {
    background-color: #F3F5F6;
    color: #333;
  }

  .${ee}-prompt-style-add-modal-cancel:hover {
    background-color: #E5E7EB;
  }

  .${ee}-prompt-style-add-modal-confirm {
    background-color: #EA4C89;
    color: white;
  }

  .${ee}-prompt-style-add-modal-confirm:hover:not(:disabled) {
    background-color: #d63384;
  }

  .${ee}-prompt-style-add-modal-confirm:disabled {
    background-color: #F4A5C4;
    cursor: not-allowed;
  }
`,Xce=`
  .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;
  }
`,$ce=`
  .${ee}-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;
  }

  .${ee}-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;
  }
`,ede=`
  .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;
  }

  .${ee}-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;
  }

  .${ee}-translate-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
  }

  .${ee}-translate-loading-text {
    font-size: 14px;
    font-weight: 400;
    color: #999;
    text-align: center;
  }

  .${ee}-translate-result-text.rtl {
    direction: rtl;
    text-align: right;
  }

  .${ee}-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;
  }

  .${ee}-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;
  }

  .${ee}-translate-result-action-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }
`,tde=`

  .${ee}-error-in-suggestion {
    margin: 12px 20px;
    box-sizing: border-box;
  }

  .${ee}-error-in-chat {
    width: 100%;
    margin: 0 20px 12px;
    box-sizing: border-box;
    background-color: #FDEDF3;
  }
`,nde=`
  .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;
    }
  }
`,rde=`
  .${ee}-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;
  }

  .${ee}-onboarding-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    width: 100%;
    text-align: center;
    margin: 0;
    margin-top: 12px;
  }

  .${ee}-onboarding-description {
    font-size: 14px;
    color: #333;
    text-align: center;
    margin: 0;
    margin-top: 12px;
  }

  .${ee}-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;
  }

  .${ee}-onboarding-image {
    width: 88px;
    height: 88px;
    object-fit: cover;
  }

  .${ee}-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;
  }
`,Xx=`
  ${zce}
  ${Vce}
  ${Hce}
  ${Gce}
  ${e3}
  ${Wce}
  ${qce}
  ${Kce}
  ${Qce}
  ${Yce}
  ${Zce}
  ${Jce}
  ${Xce}
  ${$ce}
  ${ede}
  ${t3}
  ${tde}
  ${nde}
  ${rde}
`;var ide=`${z}-ai-writing-button-root`,Fo=`${z}-ai-writing-modal-root`,om=`${z}-ai-writing-button-container`,ade="imt-ai-writing-test-root",ode=`${z}-ai-writing-test-root`,o3="AI Reply",sm=null,Td=null,_s=!1,Bo=null,$x=!1;function sde(e){return mb()?(M.debug("[ai-writing] ai writing is disabled for this session"),!1):e.rule.aiWriting?.scene?Se().any?(M.debug("[ai-writing] mobile is not supported"),!1):!e.rule.aiWriting?.enable||e.isAiWritingExcludeUrl?(M.debug("[ai-writing] ai writing is disabled"),!1):e.rule.aiWriting?.appendSelector?!0:(M.debug("[ai-writing] appendSelector is not set"),!1):(M.debug("[ai-writing] ai writing not supported for this site"),!1)}function lde(){let e=document.createElement("div");return e.id=om,e}function oU(e){Bo&&sU(e),Bo=t=>{t.key!=="Escape"&&(t.stopPropagation(),t.stopImmediatePropagation())},e.addEventListener("keydown",Bo,!1),e.addEventListener("keyup",Bo,!1),e.addEventListener("keypress",Bo,!1)}function sU(e){Bo&&(e.removeEventListener("keydown",Bo,!1),e.removeEventListener("keyup",Bo,!1),e.removeEventListener("keypress",Bo,!1))}function ude(e){lU(),Td=e;let t=e.rule.aiWriting?.appendSelector;if(!t){M.debug("[ai-writing] no appendSelector found");return}M.debug(`[ai-writing] starting continuous monitoring for: ${t}`),uU(),cde()}function cde(){sm=new MutationObserver(()=>{uU()}),sm.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0,characterData:!0,attributeOldValue:!0})}function lU(){sm&&(sm.disconnect(),sm=null,M.debug("[ai-writing] stopped MutationObserver monitoring"))}function uU(){if(!Td)return;if(mb()){M.debug("[ai-writing] ai writing is disabled for this session"),lU();return}let e=Td.rule.aiWriting?.appendSelector,t=Td.rule.aiWriting?.insertBeforeSelector;if(!e)return;let n=Qe(e),r=document.querySelector(`#${om}`)!==null,i=!1;n&&(t?i=Qe(t)!==null:i=!0),i&&!r&&!_s?(M.debug("[ai-writing] required elements found, injecting component"),_s=!0,setTimeout(()=>{try{if(document.querySelector(`#${om}`)){M.debug("[ai-writing] container already exists, skipping injection");return}let o=lde(),s=Qe(e);if(t){let l=Qe(t);l?.parentElement===s?s?.insertBefore(o,l):(s?.appendChild(o),M.debug("[ai-writing] appended to parent"))}else s?.appendChild(o),M.debug("[ai-writing] appended to parent");dde(Td,o)}catch(a){M.error("[ai-writing] failed to inject component:",a),_s=!1}},Td.rule.aiWriting?.injectDelay||0)):!n&&r?(M.debug("[ai-writing] required elements disappeared, removing component"),tm(om),_s=!1):r&&!_s?_s=!0:!r&&_s&&(_s=!1)}function cU(e){try{if(Sd(e)){M.debug("[ai-writing] ai writing is disabled, skip init");return}if(mde(e),!sde(e))return;M.debug("[ai-writing] initAiWriting - starting continuous monitoring"),ude(e)}catch(t){M.error("[ai-writing] initialization failed:",t)}}function dde(e,t){try{M.debug("[ai-writing] executing component render"),Dr({id:ide,parent:t,ctx:e,Component:__,props:{ctx:e,scene:e.rule.aiWriting?.scene||"general"},style:Xx+e.rule.aiWriting?.injectCSS||""}),oU(t),M.debug("[ai-writing] component rendered successfully")}catch(n){M.error("[ai-writing] failed to render component:",n)}}function tm(e=om){try{let t=document.querySelector(`#${e}`);t&&(t.remove(),M.debug(`[ai-writing] removed container: ${e}`))}catch(t){M.error(`[ai-writing] failed to remove container ${e}:`,t)}}async function s3(e,t){let n={...e,usageScene:"ai_writing"};if(Sd(e)){M.debug("[ai-writing] ai writing is disabled");return}if(kt()){M.debug("[ai-writing] openAiWritingModal blocked in iframe/subframe");return}let r=gde(n);if(r&&!await av({ctx:n,usageScene:"ai_writing",service:r}))return;let i=Fo;if(document.querySelector(`#${i}`)){M.debug("[ai-writing] ai writing modal already exists, removing it"),tm(i);return}let o=U_(n),s=o.trim()&&n.rule.aiWriting?.scene||"general";ae({key:"ai_writing_modal_open",ctx:n,params:{trigger:t,ai_writing_mode:n.rule.aiWriting?.mode||"simple",ai_writing_scene:s}}),Dr({id:i,parent:document.body,ctx:n,Component:rU,props:{ctx:n,showModal:!0,scene:s,context:o,onCloseModal:()=>{sU(document.body),tm(i)}},style:Xx+e.rule.aiWriting?.injectCSS||""}),oU(document.body)}function gde(e){let t=Tr(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 Sd(e){try{let t=e.config.generalRule.aiWriting?.disabledAt;return t?new Date(t).getTime()<Date.now():!1}catch{return!1}}function mde(e){if($x)return;let t=document.getElementById(ade);if(t){$x=!0;try{t.replaceChildren(),Dr({id:ode,parent:t,ctx:e,Component:aU,props:{ctx:e},style:iU})}catch(n){$x=!1,M.error("[ai-writing] render test panel failed:",n)}}}var gU="pro_trial_used_count",dU=!1;async function mU(e){let t=pU(e);if(!t)return!0;let n=await fde();return n>=t?!1:(pde(n,t),!0)}async function fU(e){if(!e.config.translationServices?.[e.translationService])return!1;let n=await le.getUserInfo();return n?!1:!!pU(e)&&!n}function pU(e){return e.config.translationServices?.[e.translationService]?.guestTrialLimit}async function fde(){let e=await Vt(gU,0);return typeof e=="number"&&Number.isFinite(e)?e:0}async function pde(e,t){kt()||dU||(dU=!0,e<t&&await Ft(gU,e+1))}function hU(e){He("showErrorModal",{title:de("error.usageTips"),errMsg:de("error.proServiceTrialLimitDescription"),action:"proServiceTrialLimit",type:"error"})}var wd=null;async function bU(e,t,n){M.debug("[updateTranslationThemeConfig] payload",e),wd||(wd={translationTheme:t.config.translationTheme,translationThemePatterns:t.config.translationThemePatterns,selectTranslationFont:t.config.selectTranslationFont});let r=rn(),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}),!(Pa(i)!==Pa(wd)))return M.debug("[updateTranslationThemeConfig] skip update due to no changes"),!1;let o=n?.triggerSource==="mobileBridge",l={...o?await ds():await it(),...i};return o?await Ng(l):await Bt(l),yU(document,wd,i),Wa().forEach(u=>{u.contentDocument&&yU(u.contentDocument,wd,i)}),wd={...i},!0}function yU(e,t,n){if(fl(e,n.translationTheme,n.translationThemePatterns||{},n.selectTranslationFont),!t)return;let r=yl(t.translationTheme),i=yl(n.translationTheme);hde(e,r,i)}function hde(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:l})=>{o.classList.contains(s)&&(typeof o.classList.replace=="function"?o.classList.replace(s,l):(o.classList.remove(s),o.classList.add(l)))})})}var yde=1e4;async function xU(e){M.debug("[pdf-bridge] \u5F00\u59CB\u5904\u7406 PDF \u7FFB\u8BD1:",e);try{if(Ae()){await vU(e);return}if(await Ede(e)){await be("background",{method:"openPdfViewerPage",data:{pdfUrl:e}});return}await vU(e)}catch(t){M.error("[pdf-bridge] PDF \u5904\u7406\u5931\u8D25:",t)}}async function vU(e){let t=await bde(e);if(!t){M.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([Tde(e),vde(t)]);if(t.closed){M.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}xde(t,r,e),M.debug("[pdf-bridge] PDF \u4F20\u8F93\u5B8C\u6210")}function bde(e){M.debug("[tab-manager] \u521B\u5EFA\u65B0\u6807\u7B7E\u9875");let t=`${_.APP_BASE_URL}pdf?file=${e}&loading=true`,n=globalThis.open(t,"_blank");return n?(M.debug("[tab-manager] \u65B0\u6807\u7B7E\u9875\u5DF2\u521B\u5EFA"),Promise.resolve(n)):(M.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 vde(e,t=yde){return new Promise(n=>{let r=!1,i=setTimeout(()=>{r||(r=!0,globalThis.removeEventListener("message",a),M.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(M.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 xde(e,t,n){let r={type:"pdf-local-file",blob:t,fileName:Cde(n)};e.postMessage(r,"*")}function Cde(e){let t=e.split("/").pop();return decodeURIComponent(t||"")}async function Tde(e,t=3e4){if(M.debug("[pdf-fetcher] \u5F00\u59CB\u83B7\u53D6 PDF:",e),!e||typeof e!="string")throw new Error("Invalid PDF URL");try{return CU(e)?await Sde(e,t):await wde(e,t)}catch(n){return M.debug("[pdf-fetcher] \u83B7\u53D6 PDF \u5931\u8D25:",n),null}}function CU(e){return e.startsWith("file://")||e.startsWith("chrome-extension://")||e.startsWith("moz-extension://")||e.startsWith("safari-web-extension://")}function TU(e){return e.includes("pdf")?null:(M.warn("[pdf-fetcher] \u975E PDF \u6587\u4EF6:",e),{success:!1,error:"NOT_PDF",errorMessage:`Invalid file type: ${e}`})}async function Sde(e,t){M.debug("[pdf-fetcher] \u68C0\u6D4B\u5230\u672C\u5730\u6587\u4EF6\uFF0C\u4F7F\u7528 request \u83B7\u53D6");let n=await _e({url:e,responseType:"base64",timeout:t}),r=ji(n);M.debug("[pdf-fetcher] \u672C\u5730\u6587\u4EF6\u83B7\u53D6\u6210\u529F\uFF0C\u5927\u5C0F:",r.size,"bytes");let i=TU(r.type);if(i)throw new Error(i.errorMessage);return r}async function wde(e,t){M.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 M.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=TU(a);if(s)throw new Error(s.errorMessage)}let o=await i.blob();return M.debug("[pdf-fetcher] \u8FDC\u7A0B\u6587\u4EF6\u83B7\u53D6\u6210\u529F\uFF0C\u5927\u5C0F:",o.size,"bytes"),o}finally{clearTimeout(r)}}async function Ede(e){if(CU(e))return!0;try{return await _e({url:e,method:"HEAD",responseType:"HEAD"}),!0}catch(t){return!!(t instanceof Error&&t.message?.includes("redirect url"))}}var m3,SU=!1;async function Ade(){$4.clearStrictTicks();let e=await Ct(Ve(),{});AN(),wA(e),M.debug("[initPage] rule",location.href,e.rule?.id);let t=await tge(e);if(t&&(e=t),b_(e),qx(e),cU(e),await Kf(e),e.rule.pageType=="subtitleBuilder"){lx();return}if(e.rule.pageType=="ebookBuilder"){lO();return}if(e.rule.urlChangeDelay&&await rt(e.rule.urlChangeDelay),e.rule?.waitForSelectors?.length&&await qde(e.rule.waitForSelectors,e.rule.waitForSelectorsTimeout),e.rule.isInjectOptionsUrl){let o=vo(e.config.useOnlineOptions),s=document.createElement("meta");s.name=z+"-options-url",s.content=o;try{document.head?.appendChild?.(s)}catch(l){M.warn("[initPage] inject options url failed",l)}}if(e.rule.initialGlobalAttributes&&CR(document.body,e.rule.initialGlobalAttributes),rge(e),e.rule.isOnBoardingPage){document.dispatchEvent(new CustomEvent(dn,{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")))}SU||(SU=!0,kt()&&e.rule.useIframePostMessage&&await hN());let n=e.sourceLanguage;n==="auto"?n=await EU():li(n);let r=Zk(e,n);if(r&&(e=await Ct(Ve(),{translationMode:r})),e.rule.isInjectMeta)try{let o=await Yp(n,e.targetLanguage),s=document.createElement("meta");s.name=z+"-meta",s.content=Ny(JSON.stringify(o)),document.head?.appendChild?.(s)}catch(o){M.warn("[initPage] inject meta failed",o)}await lge(e),await nge(e);let i=await Xde(e,n);iC(e);let a=Ke();if(i)a.state.isAutoTranslate=!0,Xp(document.documentElement)&&globalThis.parent!=globalThis.self?Jn("Translated"):Ai(a);else if(e.rule.initTranslationServiceAsSoonAsPossible&&e.translationService==="deepl"&&(gs(n,e.targetLanguage,{ignoreZhCNandZhTW:e.rule.ignoreZhCNandZhTW})||n==="auto"))return;if(e.rule.immediatelyInjectedCss)try{wn(document,e.rule.immediatelyInjectedCss.join(`
`),z+"-immediately-injected-css")}catch(o){M.warn("[initPage] inject immediately css error",o)}}async function kde(){if(!kt())return null;try{return await be({type:"content",name:"main_top",topFrame:!0},{method:"getTranslationStateSnapshot"})}catch(e){return M.debug("[initPage] iframe sync snapshot failed",e),null}}var wU=0;async function Mde(e){let t=Ke();if(Date.now()-wU<100)return;wU=Date.now();let n=e?.currentPageStatus||yt();if(n==="Original"){let r={};m3&&(r.translationTheme=m3),t&&(r={...t.state,...r}),await Ai(t,e)}else["Translated","Error"].includes(n)&&Us()}async function Ide(){let e=Ke()||await Ct(Ve(),{});Hu()=="Original"?RU(e):(NU(),di("Original"))}async function Lde(){let e=Ke()||await Ct(Ve(),{});await Ie.memory.set("enableEditTranslation",!e?.config.enableEditTranslation);let t=await Ie.memory.get("enableEditTranslation",!1);e&&(e.config.enableEditTranslation=t);let n=_1();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 Dde(){let e=await Ct(Ve(),{});if(e.rule.pageType=="ebookBuilder")return uO(e);if(e.rule.pageType=="subtitleBuilder")return oO(e);lN()}async function tC(e){let t=Ke();if(yt()==="Original"){t=await Ct(Ve(),{}),m3||(m3=t.state.translationTheme);let n="mask";t.state.translationTheme==="opacity"&&(n="opacity"),t=await Ct(Ve(),{translationTheme:n}),await Ai(t,e)}else if(yt()==="Translated"){let n="mask";t?.state?.translationTheme==="opacity"&&(n="opacity");let r=Wa().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=dM(o,fu,!0);a==="mask"||a==="opacity"?s!=="none"?zn(o,fu,"none",!0):zn(o,fu,n,!0):s!=="mask"&&s!=="opacity"?zn(o,fu,n,!0):zn(o,fu,"none",!0)}}}async function EU(){let e=await Ct(Ve(),{});return e.rule.pageType=="subtitleBuilder"?lx():sN(e)}function Pde(e){yt()==="Original"?aO(e):ux()}function Rde(e){yt()==="Original"?(Bde(e.config?.conflictOtherTranslator||[]),Nde(e)):AU()}function Nde(e){U1(e),Vx()}function AU(){Vx(),Is()}async function Us(){Mg(""),document.dispatchEvent(new CustomEvent(dn,{detail:JSON.stringify({type:"restorePage",payload:{}})}));let e=await Ct(Ve(),{});if(e.rule.pageType=="subtitleBuilder"){ux();return}else e.rule.pageType=="ebookBuilder"&&cO(e);AU()}function Fde(e){if(e.config.sameLangCheck&&!(e.rule.detectParagraphLanguage||e.state.isDetectParagraphLanguage)&&Un()==e.targetLanguage){if(document.body?.innerText.length<100&&globalThis.self!==globalThis.top)return;He("showToast",{type:"sameLang"})}}function Bde(e){let t="",n=e;for(let r of n)if(document.querySelector(r.selector)!==null){t=r.name;break}t&&He("showToast",{type:"conflictOther",msg:de("conflictOtherTranslator",{name:t})})}async function Ai(e,t){if(globalThis.self!==globalThis.top&&globalThis.self.innerWidth===0&&globalThis.self.innerHeight===0)return;let n=e;if(t&&(n=await Ct(Ve(),t)),!await or({ctx:n,usageScene:"web_page",service:n.translationService}))return;if(await fU(n)&&!await mU(n)){hU(n);return}if(Fde(n),yt()!=="Original"&&await Us(),ML(),document.dispatchEvent(new CustomEvent(dn,{detail:JSON.stringify({type:"translateStart",payload:{}})})),document.dispatchEvent(new CustomEvent(dn,{detail:JSON.stringify({type:"targetLanguage",payload:{targetLanguage:n.targetLanguage}})})),n.specialAiAssistant=To(n,n.translationService,!0),Jde(n,t),n.rule.pageType=="subtitleBuilder"){Pde(n),Mg("yes");return}if(n.rule.pageType=="ebookBuilder"){dO(n),Mg("yes");return}Rde(n),Mg("yes")}async function Ode(e,t){let n=Ke(),r=n?.translationService;if(yt()==="Original"||r!=e){n=await Ct(Ve(),{translationService:e});let i=qt(n.config,e),a=de("tempChangeTransToService",{service:i});H1({text:a}),await Ai(n,t)}else{Us();let i=await We(),a={url:Ve(),config:i,state:{}},o=await Wr(a);n=await Ct(Ve(),{translationService:o.translationService})}}async function _de(e){let t=Ke();yt()==="Original"?await eC(e):(yt()==="Translated"||yt()==="Error")&&(t=await Ct(Ve(),{}),t.state.translationArea!=="main"?await eC(e):Us())}async function eC(e){let t=await Ct(Ve(),{translationArea:"main"});await Ai(t,e)}async function kU(e){let t=await Ct(Ve(),{translationArea:"body"});await Ai(t,e)}async function Ude(e){let t=await Ze({text:e,ignorePageLang:!0});return li(t),t}async function nC(e){let t=await Ct(Ve(),{}),n=t.state.translationMode=="dual"?"translation":"dual";if(t=await Ct(Ve(),{translationMode:n}),yt()==="Original"){Ai(t,e);return}globalThis.immersiveTranslateSwitchTranslateState&&globalThis.immersiveTranslateSwitchTranslateState(n)}async function jde(e){let t=Ke();await bU(e||{},await Ct(Ve(),{translationTheme:e.translationTheme||t?.config?.translationTheme}),{triggerSource:e?.triggerSource}),await fa()}async function MU(e,t){let{remember:n,triggerSource:r}=t||{},i=await Ct(Ve(),{translationMode:e});if(ae({key:"switch_translation_mode",params:{mode:e},ctx:{...i,sourceLanguage:"unknown"}}),n){let s={...await it(),translationMode:e};r==="mobileBridge"?await Ng(s):await Bt(s),await fa()}if(yt()==="Original"){Ai(i);return}globalThis.immersiveTranslateSwitchTranslateState&&globalThis.immersiveTranslateSwitchTranslateState(e)}async function zde(e){let t=Ke();if(yt()==="Original")await kU(e);else if(yt()==="Translated"||yt()==="Error"){let n={};t&&t.state&&(n=t.state),t=await Ct(Ve(),n),t.state.translationArea!=="body"?(t.state.translationArea="body",t=await Ct(Ve(),t.state),await Ai(t,e)):Us()}}async function IU(e){let t=await Ct(Ve(),{translationStartMode:"immediate"});await Ai(t,e)}async function Hde(e){yt()==="Original"?await IU(e):(yt()==="Translated"||yt()==="Error")&&Us()}async function Ct(e,t,n){let r=Ke(),i=r?.state?.translationMode,a=r,o=Object.keys(t);if(!a||n){let s=await We(),l=t;o.length===0&&(l=void 0),a=await Wr({url:e,config:s,state:l})}else{let s={url:e,config:a.config,state:{...a.state,...t}};a=await Wr(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),Vde(a),ol(a),a}function Vde(e){e.state?.usageScene&&(e.usageScene=e.state.usageScene)}async function Gde(){let e=await it()||{},t=e.generalRule||{},n=t["subtitleRule.add"]||{},r=!n.preTranslation;await Bt({...e,generalRule:{...t,"subtitleRule.add":{...n,preTranslation:r}}}),r?H1({text:de("videoSubtitlePreTranslationOn")}):H1({text:de("videoSubtitlePreTranslationOff")}),setTimeout(()=>{window.location.reload()},1e3)}async function fa(){let e=await We(),t=await Ie.memory.get("enableEditTranslation",!1);t!=null&&(e.enableEditTranslation=t);let n,r=Ke();r&&r.state&&(n=r.state);let i={url:Ve(),config:e,state:n},a=await Wr(i);return a.state.translationService&&(a.translationService=a.state.translationService),a.state.targetLanguage&&(a.targetLanguage=a.state.targetLanguage),q5(a),Wde(a),ol(a),a}function Wde(e){$B(e,window),iC(e),yO(e),qx(e)}function qde(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 Kde(e){let t=e.detail;await le.setUserToken(t.token);let n=await le.getValue(Jd,!1);le.setValue(Jd,!1),await Promise.all([Tt.get("v1/user").then(r=>le.saveUserInfo(r)),async()=>{if(Nt(t))return await Tt.get("v1/user/settings").then(r=>Bt(r))}]),document.dispatchEvent(new CustomEvent(pe+"DocumentMessageUserResult",{detail:n?"close":"success"})),Lg(),Dg(),be({type:"side_panel",name:"reward_center"},{method:"updateContext"},!0)}function Qde(e){M.debug("update user info",e);let t=e.detail;le.saveUserInfo(t),Lg(),Dg(),fa(),be({type:"side_panel",name:"reward_center"},{method:"updateContext"},!0)}async function Yde(e){let t=await it();if(t.translationService)return;let n=e.config.translationService,r=await Ps(e,n);if(e.translationService===r)return;if(!r){ae({key:"no_avaliable_translation_service",ctx:e});return}let i=Xr({state:t,config:e.config,serviceType:"translationService",serviceId:r});Bt(i),e.translationService=r,ae({key:"change_default_translation_service",params:{translation_service:r},ctx:e})}async function Zde(e,t){let n=t.detail;if(!e.rule.allowInnerInvoke)return;let r=n.translateService;if(!r)return;let[i]=al(e.config,[r])||[],a=await it(),o=Xr({state:a,config:e.config,serviceType:"translationService",serviceId:i});Bt(o)}async function Ps(e,t,n=!0,r,i=!0){let a=r||e.rule.detectionServiceOrder||["google","bing","transmart","yandex"];return a=es(e,a,{filterHiddenFreeModel:i}),a.sort((o,s)=>o===t?n?-1:1:s===t?n?1:-1:0),await Cc(a,e)}async function od(e,t){let n=await it(),r=Xr({state:n,config:e,serviceType:"translationService",serviceId:t});await Bt(r);let i=await PU({translationService:t});await Ai(i)}var rC={interfaceLanguage:"",targetLanguage:"",translationService:"",aiAssistantIds:[],subtitleTranslateService:"",inputTranslationService:"",mouseHoverTranslationService:"",protocolAgreeVersion:"",isEnableGuideTips:!1,isEnableNotification:!1,forceAutoTranslate:!1,translationTheme:"",translationMode:"dual",translationThemePatterns:{},selectTranslationFont:""};async function LU(e,t){let{triggerSource:n,...r}=t,i=await it(),a=!1,o=!1;return Object.keys(rC).forEach(s=>{let l=r[s];if(l!=null){if((s==="targetLanguage"||s==="interfaceLanguage")&&(l=Te(l),l!==i[s]&&(o=!0)),s.endsWith("Service")){let[u]=al(e.config,[l])||[];i=Xr({state:i,config:e.config,serviceType:s,serviceId:u}),a=!0;return}i[s]=l,a=!0}}),i?.interfaceLanguage&&Rf(i.interfaceLanguage),a&&(n==="mobileBridge"?await Ng(i):(ja(i),await Bt(i)),e=await fa()),o&&ae({key:"init_page_daily",ctx:e,forceDaily:!0}),await DU(e,{triggerSource:n})}async function DU(e,t){let n=e.config,r={};if(Object.keys(rC).forEach(i=>{n[i]!=null&&(r[i]=n[i])}),t?.triggerSource==="mobileBridge"){let i=await ds();Object.assign(r,Ib(i))}return r}async function PU(e){let t=await Ct(Ve(),e);return _l("syncContextState",e),e?.targetLanguage&&Ig({targetLanguage:e.targetLanguage}),t}function Jde(e,t){if(kt())return;let n={};t&&t.trigger&&(n.trigger=t.trigger),ae({key:"translage_page_daily",params:n,ctx:e}),ae({key:"translate_page",params:n,ctx:{...e,sourceLanguage:Un()}}),fi("translate_web_1",e);let r=e.config.translationServices?.[e.translationService];r.assistantId&&r.assistantId!="common"&&ae({key:"assistant_translate_page",params:{...n,ai_assistant:r.assistantId,ai_assistant_use:e.specialAiAssistant?.id||"common"},ctx:{...e,sourceLanguage:Un()}})}async function Xde(e,t){let n=await kde();n?.state&&Object.keys(n.state).length>0&&(e=await Ct(Ve(),n.state));let r=!!e.config.forceAutoTranslate||$de(e);return!r&&t!="auto"&&!gs(t,e.targetLanguage,{ignoreZhCNandZhTW:e.rule.ignoreZhCNandZhTW})&&yN(t,e.config.translationLanguagePattern)&&(r=!0),!r&&await IA(e)&&(r=!0,M.debug("[initPage] auto translate by referrer")),!r&&kt()&&n?.pageStatus==="Translated"&&yt()==="Original"&&(r=!0),r&&et(e.url,e.config.translationUrlPattern.excludeMatches)&&(M.debug("[initPage] disable auto translate by exclude url"),r=!1),r}function $de(e){let t=Ke()||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=Te(o),t.targetLanguage=Te(o))}return["1","true"].includes(a)})||e.state.isAutoTranslate||e.isTranslateUrl}var ege=["translationMode","translationArea","isAutoTranslate","translationService","targetLanguage","subtitleTranslateService"];async function tge(e){let t=uo+"_set_state_";try{let n=[];new URL(jA()||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(!ege.includes(s))return;i[s]=o}return Object.keys(i).length?await Ct(Ve(),i):void 0}catch(n){M.error(n)}}async function nge(e){let t=uo+"_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(rC[s]==null)return;i[s]=o}if(!Object.keys(i).length)return;await LU(e,i)}catch(n){M.error(n)}}async function rge(e){let t=e.config.arxivRule;if(!t?.matches||!et(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 _e({url:`${s}/`+o,responseType:"HEAD",method:"HEAD"});let l=document.createElement("li");l.innerHTML=`<a target="_blank" href="${s}/${o}?_immersive_translate_auto_translate=1" aria-describedby="download-button-info" accesskey="f" class="abs-button download-pdf">${de("viewWithImmersiveTranslate")}</a>`,r.appendChild(l);break}catch{}}function ige(e,{text:t,trigger:n}){let r=document.activeElement;r&&(r.tagName!=="INPUT"&&r.tagName!=="TEXTAREA"&&!r.isContentEditable||px(e,window,t,n))}function age(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=Kx(r);Yx({selection:{text:t,range:i,rect:i.getBoundingClientRect(),contextText:a},ctx:e,trigger:n})}function oge(e,{translation_service:t}){ae({key:"change_translate_service",params:{translation_service:t},ctx:e})}function sge(e,{key:t,params:n,forceDaily:r,trigger:i,ignoreGA:a}){n={...n},i&&!n?.trigger&&(n.trigger=i),ae({key:t,params:n,ctx:e,forceDaily:r,ignoreGA:a})}async function lge(e){let n=new URL(e.url).searchParams.get("imt_refresh_rule");["1","true"].includes(n||"")&&await F0()}rF({detectCurrentPageLanguage:EU,ensureSwitchTranslationMode:nC,restorePage:Us,retryFailedParagraphs:Dde,switchTranslationMode:MU,toggleTranslateManga:Ide,toggleTranslatePage:Mde,toggleTranslateTheMainPage:_de,toggleTranslateTheWholePage:zde,toggleTranslationMask:tC,toggleEnableEditTranslation:Lde,toggleVideoSubtitlePreTranslation:Gde,translatePage:Ai,translatePageWithTranslationService:Ode,translateTheMainPage:eC,translateTheWholePage:kU,translateToThePageEndImmediately:IU,toggleTranslateToThePageEndImmediately:Hde,updateGlobalContext:fa,getIsDulSubtitle:zO,updateContextState:PU,inputSelectedTextTranslate:ige,reportTranslateService:oge,popupEventReport:sge,updateFloatBallEnable:v_,translateSelectImage:xB,selectionTranslate:age,openAiWritingModal:s3,translatePdfWithNewTab:xU});JB({changeToEngine:Zde,changeToSuccessFreeEngine:Yde,detectSetLanguage:Ude,getGlobalContext:Ct,getMiniConfig:DU,initPage:Ade,loginSuccessUpdateUser:Kde,onlyUpdateUser:Qde,restorePage:Us,setMiniConfig:LU,switchTranslationMode:MU,translatePage:Ai,updateTranslationThemeConfig:jde});function FU(e,t,n="center",r=!1,i){if(!t)return"";let a=e.getContext("2d");if(!a)return"";let o=new aC(a);return t.forEach(s=>{let l=oC.getDominantColors(a,s,i?.showBox),u="";i?.showOriginalText&&(u=s.originalText||u),(i?.showTranslatedText||!i)&&(u=s.translatedText||s.originalText||u),u&&o.renderText(u,s,l,n,r)}),e.toDataURL()}var aC=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,l,u]=n.bounding,d=this.calculateFontSize(t,l,u),g=d,m=[];for(this.ctx.font=`${d}px Arial`,m=this.breakTextIntoLines(t,l-this.H_PADDING);d<this.MAX_FONT_SIZE;){this.ctx.font=`${d}px Arial`;let p=d*1.2,h=l-this.H_PADDING,x=this.breakTextIntoLines(t,h),y=this.ctx.measureText("M"),b=y.actualBoundingBoxAscent,v=y.actualBoundingBoxDescent,C=(p-(b+v))/2,S=x.length*p,T=S+this.V_PADDING*2,w=s+this.V_PADDING+C+b,E=w+S-p+v;if(T>u||w<s||E>s+u)break;g=d,m=x,d+=this.FONT_STEP}if(m.length===0||g===this.MAX_FONT_SIZE)for(d=g;d>this.MIN_FONT_SIZE;){d-=this.FONT_STEP,this.ctx.font=`${d}px Arial`;let p=d*1.2,h=l-this.H_PADDING,x=this.breakTextIntoLines(t,h);if(x.length*p<=u-this.V_PADDING){g=d,m=x;break}}this.ctx.font=`${g}px Arial`,this.drawTextLines(m,n,g*1.2,r,i,a)}breakTextIntoLines(t,n){let r=Oo.splitText(t),i=[],a="",o="";r.forEach(s=>{let l=a!==""&&!Oo.isCJK(o)&&!Oo.isCJK(s),u=a+(l?" ":"")+s;o=s,this.ctx.measureText(u).width>n&&a!==""?(i.push(a),a=s):a=u}),a&&i.push(a);for(let s=0;s<i.length-1;s++){let l=i[s+1];if(l&&/^[，。！？、：；'"（）【】《》「」『』,.!?:;"()[\]<>]/.test(l)){let u=l[0],d=i[s],g=l.slice(1),m=d+u;this.ctx.measureText(m).width<=n*1.1&&(i[s]=m,i[s+1]=g||" ")}}if(i.length>=2){let s=i[i.length-1];if((u=>!!(u.length===1||u.length===2&&!Oo.isCJK(u)||u.length===2&&Oo.isCJK(u[0])&&/[，。！？、：；'"）】》」』】,.!?:;"')}\]>]/.test(u[1])))(s)){let u=i[i.length-2],d=!Oo.isCJK(u)&&!Oo.isCJK(s),g=u+(d?" ":"")+s;this.ctx.measureText(g).width<=n*1.1&&i.splice(-2,2,g)}}return i}drawTextLines(t,n,r,i,a="center",o=!1){o&&(a="right");let[s,l,u,d]=n.bounding,g=this.ctx.measureText("M"),m=g.actualBoundingBoxAscent,f=g.actualBoundingBoxDescent,p=(r-(m+f))/2,h=t.length*r,x=(d-h)/2,y=l+x+p+m;this.ctx.fillStyle=i.primary||"#000000",this.ctx.fillRect(s,l,u,d),this.ctx.fillStyle=i.secondary||"#ffffff",o?this.ctx.direction="rtl":this.ctx.direction="ltr",t.forEach((b,v)=>{let C;switch(a){case"left":C=s+this.H_PADDING;break;case"right":C=s+u-this.H_PADDING;break;case"center":default:C=s+u/2;break}let S=y+v*r;this.ctx.fillText(b,Math.max(4,C),S)})}},Oo=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}},oC=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 l=t.getImageData(i,a,o,s);return this.analyzeImageColors(l)}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,l=Math.round(r[o+1]/16)*16,u=Math.round(r[o+2]/16)*16,d=`rgb(${s},${l},${u})`;n.set(d,(n.get(d)||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 f3().get(0),[a,o,s,l]=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,l),t.fillStyle=f3.hexToRgba(i,.2)||"",t.fillRect(a,o,s,l)}},f3=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 _U="Client Image: ";async function c4({context:e,sourceUrl:t,imgEle:n,blob:r,onStateChange:i,imageDb:a}){try{let o=await j1(t,r,1)||r,s=o.size>r.size?r:o;r.type=="text/plain"&&(s=o);let l=de.bind(null),u=e.rule.imageRule,d=await Kg(t);i?.("free_translating"),await bge(l,e,t,d,s);let g=u.clientOcrTimeout||3e3;for(let m=0;m<g;m+=100){await rt(100);let f=await pge(d);if(lm("imgState",f),i?.(f?.state),fge(e,f,n))return"";if(yge(e,f),f?.result){let p=f.result?.boxesWithText||[];u.debug||await gge(e,p.map(y=>y.originalText).join(" "),n,l,!1),(u.debug?.showTranslatedText||!u.debug)&&(i?.("translating"),p=await dge(e,p,a),p=xge(e,p)),i?.("inpainting_translating");let h=await hge(o),x=FU(h,p,"left",Lt(e.config.rtlLanguages,e.targetLanguage),u.debug);return x=uge(d,x),OU({originalUrl:t,translatedUrl:x,ok:!0}),x}}throw new Error("ocr timeout")}catch(o){throw OU({originalUrl:t,ok:!1,errMsg:o.message}),n.translationStatus="error",n.hasTranslate=!1,o}}function uge(e,t){return t.replace("base64,",`imt_${e};base64,`)}function BU(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 Ze({text:r.map(u=>u.originalText).join(" "),ignorePageLang:!0,addJsLangDetect:!0,translateService:t});ii&&M.debug(`${_U} fromLang ${o}`);let s=r.map((u,d)=>({id:d,url:"",text:UU(e,u.originalText)?u.originalText:"",from:o,fromByClient:e.sourceLanguage,to:e.targetLanguage,inArticleContext:!0})),l=!1;return ii,await mn({sentences:s},{...e,translationService:t},(u,d,g)=>{if(u){M.debug(u),l=!0;return}let m=g.id,f=d?.text;f&&(f=cge(e,f)),r[m].translatedText=f||r[m].originalText}),ii,l?null:r}catch(o){return M.debug(o),null}}}function cge(e,t){return(e.rule.imageRule.removeTextRegexes||[]).forEach(r=>{t=t.replace(new RegExp(r,"g"),"")}),t}async function dge(e,t,n){let r=e.rule.imageRule,i=await BU(e,e.clientImageTranslationService,r.clientTranslateTimeout,t),a=e.clientImageTranslationService;if(lm(`${e.clientImageTranslationService} \u7FFB\u8BD1\u7ED3\u679C`,i),!i){let o=await Ps(e,e.clientImageTranslationService,!1,e.rule.imageRule.detectionServiceOrder,!1);lm(`validService: ${o}`),o&&(a=o,i=await BU(e,o,r.clientTranslateTimeout,t),lm(`${o} \u7FFB\u8BD1\u7ED3\u679C`,i))}if(!i)throw new Error("translateFail");return n.clientTranslationService=a,i}async function gge(e,t,n,r,i){let a=e.rule.imageRule,o=a.clientSupportLangs||[],s=await mge(t,o,a.notSupportRegexes),l=e.config.rawUserConfig;l&&!l.disableShowClientImageGuide&&!e.url?.includes(_.HOST_NAME)&&(l.disableShowClientImageGuide=!0,ja(l),Ea(l),He("clientImageGuide"));let u=!!s;if(e.isPro&&(u=o.includes(s)),i&&(u=!1),!u)throw!e.isPro&&await Vt(mf,"")?new zi(r("freeImage.supportLangError"),"show_error"):e.isPro?(n.hasTranslate=!1,setTimeout(()=>Hi({ctx:e,ele:n,forceUsePro:!0}),0),"none"):(He("clientImageNotSupport"),"none")}async function mge(e,t,n){if(n.some(i=>new RegExp(i).test(e)))return"";let r=await Ze({text:e,strictCheck:!0,ignorePageLang:!0,addJsLangDetect:!0});return lm(r,e),t.includes(r)||t.includes("all")?r:""}function fge(e,t,n){let r=e.rule.imageRule;if(t?.state=="error"){if(M.error(t.errorMsg),e.isPro)throw n.hasTranslate=!1,setTimeout(()=>Hi({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 pge(e){return sC()?ci.queryImageTranslateState({urlHash:e}).then(({state:n})=>n):await be("offscreen",{method:"queryImageState",data:{urlHash:e}})}function UU(e,t){let n=t.split(/\s+/).length;return ps({text:t,delimiters:[],minTextCount:2,minWordCount:1,noTranslateRegexp:[...e.rule.noTranslateRegexp,...e.rule.imageRule.noTranslateRegexes]})&&n>1}function lm(...e){ii&&M.debug(`${_U}`,...e)}function hge(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 yge(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=>UU(e,a.originalText))||[],t.result.boxesWithText=i,i}async function bge(e,t,n,r,i){let a=await i.arrayBuffer();if(sC()){let o=await vge(i);ci.triggerClientTranslateImage({urlHash:r,imgData:o,originalUrl:n});return}return sk(e,t,r,i.type,new Uint8Array(a))}function vge(e){return new Promise((t,n)=>{let r=new FileReader;r.onloadend=()=>t(r.result),r.onerror=n,r.readAsDataURL(e)})}async function OU(e){if(sC()){ci.notifyClientImageTranslatedResult({originalUrl:e.originalUrl,ok:e.ok,errMsg:e.errMsg});return}}function sC(){return Gt()||ot()}function xge(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 Kl="imt-fb";function zU(e){if(globalThis.innerWidth<=385)return c(id,{isOpen:e.visible,onClose:e.onClose,children:c(jU,{contentStyle:{width:"100%"},onConfirm:e.onCloseConfirm,onClose:e.onClose,settingUrl:e.settingUrl})});let r=i=>{i?.target?.id===`${z}-popup-overlay`&&e.onClose()};return e.visible?c("div",{onClick:r,id:`${z}-popup-overlay`,class:`${z}-popup-overlay`,children:c("div",{class:`${z}-popup-wrapper`,style:e.style||e.getModalStyle?.(),children:c(jU,{title:e.title,settingUrl:e.settingUrl,onConfirm:e.onCloseConfirm,onClose:e.onClose})})}):null}function jU(e){let{t}=H(),[n,r]=N("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 c("div",{class:`${Kl}-close-content`,style:e.contentStyle,children:[c("div",{class:"flex justify-between",children:[c("div",{class:`${Kl}-close-title`,children:e.title||t("closeQuickTranslation")}),c("div",{class:"clickable",onClick:e.onClose,children:c($t,{type:"modal-close"})})]}),c("div",{class:`${Kl}-close-radio-content mt-3`,children:a.map(o=>c(Cge,{onClick:()=>{r(o.type)},title:o.title,description:o.description,selected:o.type===n,onLinkClick:s=>{lt(s)}},o.type))}),c("div",{class:"flex mt-3 flex-end",children:[c("div",{class:`${Kl}-default-btn`,onClick:e.onClose,children:t("closeQuickTranslation.cancel")}),c("div",{class:`${Kl}-primary-btn ml-2`,onClick:()=>{e.onConfirm&&e.onConfirm(n)},children:t("closeQuickTranslation.confirm")})]})]})}function Cge(e){let{selected:t,title:n,description:r,onLinkClick:i}=e,a=Tge(r||"");return c("div",{class:"flex items-center clickable",style:"padding: 8px 0",onClick:e.onClick,children:[c("div",{class:t?`${Kl}-radio-sel`:`${Kl}-radio-nor`,children:c("div",{})}),c("div",{class:"ml-2 text-sm",children:[c("span",{children:n}),r?c("small",{class:"muted text-sm",children:a.map(o=>o.type==="text"?o.value:c("a",{onClick:()=>o.href&&i&&i(o.href),children:o.value}))}):null]})]})}function Tge(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 um=null;function HU(e){let[t,n]=N(null),[r,i]=N({}),[a,o]=N(0);W(()=>{let u=e.rule.imageRule,d=u?.toolsMinHeight||100,g=u?.toolsMinWidth||100,m=null,f=h=>{if(h.isHoverMarked||(h.isHoverMarked=!0,ih(h.src)))return;let x=()=>{m&&clearTimeout(m),!h.closest('[contenteditable="true"]')&&(h.width<g||h.height<d||(u.toolsDelayTime?m=setTimeout(()=>{n(h)},u.toolsDelayTime):n(h)))},y=S=>{m&&clearTimeout(m),!globalThis.document.elementsFromPoint(S.clientX,S.clientY).find(E=>E.classList.contains("imt-img")?!0:E==h)&&n(null)};if(h.addEventListener("mouseover",x),h.addEventListener("mouseout",y),!u.enableParentTriggerTools)return;let b=h.getBoundingClientRect();if(b.width<=d||b.height<=g)return;let v=h;for(;v;){let S=v.parentElement;if(!S)break;let T=S.getBoundingClientRect();if(T.width==b.width&&T.height==b.height)v=S;else break}if(v==h)return;let C=S=>{globalThis.document.elementsFromPoint(S.clientX,S.clientY).find(E=>E==h)||(y(S),globalThis.removeEventListener("mousemove",C))};v.addEventListener("mouseover",()=>{x(),globalThis.addEventListener("mousemove",C)})};um&&um.disconnect();let p=Dn(()=>{document.querySelectorAll("img").forEach(h=>{f(h)})},200);return um=new MutationObserver(()=>{p()}),um.observe(document,{subtree:!0,childList:!0}),()=>{um?.disconnect()}},[e]),W(()=>{let u=document.querySelector("#monica-content-root");if(!t){i({});return}let d=()=>{let g=t.getBoundingClientRect(),m=u?56:16,f=g.top+g.height-50,p=g.left+g.width-30-m;i({top:f,left:p})};return d(),globalThis.addEventListener("wheel",d),()=>{globalThis.removeEventListener("wheel",d)}},[t]),W(()=>{if(!t)return;let u=new IntersectionObserver((d,g)=>{d.forEach(m=>{if(!m.isIntersecting){let f=m.target.classList.contains("imt-img"),p=m.target?.translationStatus==="success";if(f||p)return;n(null)}})});return u.observe(t),()=>{u.disconnect()}},[t]);let s=re(async u=>{if(u.translationStatus==="translating")return;if(p3(u)){Vi(u),o(g=>g+1);return}if(setTimeout(()=>{o(g=>g+1)},100),!await xa(e)){e.user?He("freeImageQuotaExhausted"):He("freeImageLoginRequired");return}await Hi({ctx:Ke()||e,ele:u,isSingleImage:!0,trigger:"image_tools"}),o(g=>g+1)},[e]),l=X(()=>{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:l,handleTranslate:s}}function VU(e){let[t,n]=N(!0),r=re(async i=>{if(i==="UntilNext"){n(!1);return}let a=await Ln(),o=a.generalRule?.["imageRule.add"]||{};if(i=="AlwaysClose")await Ea({...a,generalRule:{...a.generalRule,"imageRule.add":{...a.generalRule?.["imageRule.add"],enableTools:!1}}});else if(i=="CurrentWebsite"){let s=o.blockToolsUrls||[];await Ea({...a,generalRule:{...a.generalRule,"imageRule.add":{...o,blockToolsUrls:[...s,globalThis.location.hostname]}}})}n(!1)},[]);return{enable:t,handleCloseConfirm:r}}function Sge({ctx:e,force:t}){let{hoveImage:n,hoveImageStyles:r,imageStatus:i,handleTranslate:a}=HU(e),{t:o}=H(),[s,l]=N({}),{enable:u,handleCloseConfirm:d}=VU(e),g=e.rule.imageRule.enableTools,m=X(()=>o(i==="translating"?"imageState.translating":i==="success"?"imageTools.resetImage":"imageTools.translateImage"),[n,i]),f=n&&u&&g,p=X(()=>{let x=Number(r.left)-(f?36:0);return{...r,left:x}},[r,f]),h=X(()=>n?n?.hasTranslate:t,[n,t,s]);return c("div",{class:"imt-image-tools notranslate",style:p,children:[!Se().any&&c(Ye,{enableMobile:!0,text:o("feedback"),tipStyle:{left:"unset",right:0,transform:"unset"},position:"top",hidden:!h,children:c("div",{class:"imt-image-translate-button",style:{marginRight:6},onClick:()=>{He("imageReport")},children:c($t,{type:"feedback",className:"imt-manga-feedback",fillColor:"white",style:{margin:6}})})}),f&&c(ie,{children:[c(Ye,{enableMobile:!0,text:m,tipStyle:{left:"unset",right:0,transform:"unset"},position:"top",children:c("div",{class:"imt-image-translate-button",onClick:()=>{a(n);let x=y=>{y.detail==="Translating"||y.detail==="Original"||(l({}),document.removeEventListener(Qo,x))};document.addEventListener(Qo,x)},children:[c($t,{type:"logo",className:"logo",style:{width:18,height:18}}),c($t,{type:"translated",className:"translated-icon",hidden:i!=="success"})]})}),c(wge,{ctx:e,imgElement:n,onCloseConfirm:d})]})]})}function wge(e){let{t}=H(),[n,r]=N(!1),[i,a]=N({});W(()=>{let s=document.querySelector("#monica-content-root"),l=()=>{if(!e.imgElement)return a({});let u=e.imgElement.getBoundingClientRect(),d=s?56:16,g=u.right-d-360,m=u.top+u.height-100,f=globalThis.innerHeight-260;a({position:"fixed",left:g+"px",top:Math.min(m,f)+"px"})};return l(),globalThis.addEventListener("scroll",l),()=>{globalThis.removeEventListener("scroll",l)}},[e.imgElement]);let o=vo(e.ctx.config.useOnlineOptions)+"#manga";return c(ie,{children:[c("div",{title:t("floatBall.close"),class:"close-button",onClick:()=>{r(!0)},children:c(Ege,{})}),c(zU,{title:t("closeImageTools.title"),visible:n,settingUrl:o,onClose:()=>{r(!1)},style:i,onCloseConfirm:e.onCloseConfirm})]})}function GU(e,t){try{if(et(e.url,e.rule.imageRule.blockToolsUrls))return null;let r=Da(e)&&e.rule.imageRule.enableTools;if(t&&(r=!0),!r)return null;let i=z+"-image-tools";if(document.getElementById(i))return;let a=[Rt["base.css"],Rt["tailwind-compat.css"],Rt["float_ball.css"],Rt["image_tools.css"]].join(`
`);Dr({id:i,parent:document.body,ctx:e,Component:Sge,props:{ctx:e,force:t},style:a,isInsertMount:!0})}catch(n){M.error("initImageTools error",n)}}function Ege(){return c("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c("g",{"clip-path":"url(#clip0_14556_6069)",children:c("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"})}),c("defs",{children:c("clipPath",{id:"clip0_14556_6069",children:c("rect",{width:"14",height:"14",fill:"white"})})})]})}var Zt,lC,Ed,dm,en=!1;function nv(){return en}var WU=!1,qU="",Age=`
.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 ZU(){WU||(wn(document,Age,z+"-image-base-injected-css"),WU=!0);let e=Zt?.injectedCss||"";qU!==e&&(wn(document,e,z+"-image-injected-css"),qU=e)}async function RU(e){if(Zt=e.rule.imageRule,!Zt.type)return;if(!await xa(e)){e.user?He("freeImageQuotaExhausted"):He("freeImageLoginRequired");return}en=!1,ZU();let t=!1,n=Dn(async function(){Zt?.disableMarkSelector&&(t=!!document.querySelector(Zt.disableMarkSelector));let i=ej(Zt),a=tj(Zt),o=[...i,...a];for(let s of o){if(en)return;s.isMarked&&!Zt?.disableMarkElement||(s.isMarked=!0,await rt(20),await r({ctx:e,ele:s,disableMark:t,disableLoading:!1}))}},100);if(ae({key:"translate_manga",ctx:e}),n(),lC=new MutationObserver(()=>{n()}),lC.observe(document.body,{childList:!0,subtree:!0}),Zt.intersectionRootMargin){let i=Zt?.intersectionRootSelector?document.querySelector(Zt?.intersectionRootSelector):void 0;dm=new IntersectionObserver(a=>{a.forEach(o=>{o.isIntersecting&&(Hi({ctx:e,ele:o.target}),dm?.unobserve(o.target))})},{root:i,rootMargin:Zt.intersectionRootMargin,threshold:Zt.intersectionThreshold})}Ed=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&&Zt?.urlFetchType=="canvasArgs"){let o=a.target.getAttribute("data")||"";if(o){a.oldValue&&Vi(a.target,!0),r({ctx:e,ele:a.target,disableMark:t,disableLoading:Dge(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&&Vi(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||(Zt?.intersectionRootMargin?(dm?.unobserve(a),dm?.observe(a)):await Hi({ctx:i,ele:a,disableLoading:s})))}}async function Hi({ctx:e,ele:t,forceUsePro:n,isSingleImage:r,trigger:i,disableLoading:a}){let o=e.rule.imageRule.type||"common",s=Hu();if(r&&(en=!1),en||Bge(e,t)||t.hasTranslate)return;Zt=e.rule.imageRule,ZU();let l=!1;Zt?.disableMarkSelector&&(l=!!document.querySelector(Zt.disableMarkSelector)),t.translationStatus="translating";let u=null,d=Ige(e,t)||a;d||(u=Yc(e,t,"translating")),r&&(o="common");try{if(!pl(Zt))throw new zi(de("error.mangaPlatformLimit"),"show_error");let g=!1;if(t instanceof HTMLImageElement?(jge(e,t),g=await Pge({context:e,trigger:i||"",forceUsePro:n||!1,imgEle:t,imageType:o,loading:u})):t instanceof HTMLCanvasElement?g=await kge({context:e,trigger:i||"",forceUsePro:n||!1,canvasEle:t,disableMark:l,imageType:o,loading:u}):XU(t)&&(g=await Mge({context:e,trigger:i||"",forceUsePro:n||!1,bgEle:t,disableMark:l,imageType:o,loading:u})),en&&!r)return;g?(t.translationStatus="success",d||Yc(e,t,"success")):g==!1&&(d||Yc(e,t,"error"),t.translationStatus="error",!r&&o==="manga"&&di("Error",en))}catch(g){if(u?.remove(),g=="none"||en&&!r)return;if(t.translationStatus="error",o=="manga"&&di("Error",en),g instanceof J&&g.errorMessage.includes("Comics free quota exceeded")){He("freeImageQuotaExhausted"),en=!0,Hge(e);return}if(g instanceof zi)return Yc(e,t,"error",g.type,g.message);if(Fge(e,g,r||!1),d)return;Yc(e,t,"error")}finally{r&&di(s,en),u?.remove()}}function nO(e,t){let n=Xv(t);n&&Hi({ctx:e,ele:n})}function rO(e){let t=Xv(e);t&&Vi(t)}function NU(){if(!Zt)return;en=!0,lC?.disconnect(),Ed?.disconnect(),dm?.disconnect();let e=ej(Zt),t=tj(Zt),n=[...e,...t];for(let r of n)Vi(r)}function Vi(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&&Vi(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 kge({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 l=null,u;if(s.urlFetchType=="canvasArgs"){if(r.hasObserve||(Ed?.observe(r,{attributeOldValue:!0,attributes:!0,attributeFilter:["data"]}),r.hasObserve=!0),u=r.getAttribute("data")||"",!u)throw new zi(de("error.mangaPlatformLimit"),"show_error");let{url:m,args:f,width:p,height:h}=JSON.parse(atob(u));p&&h&&p!=r.width&&h!=r.height&&(r.width=p,r.height=h),l=await Rge(m,f,r.cloneNode(!0))}else l=await nj(r);if(en)return;if(!l||l.size<6*1e4){Ed?.observe(r,{attributeOldValue:!0,attributes:!0});return}r.hasTranslate=!0;let d=await dc(l);if(await gm(e,r,d))return!0;if(!d)return;let g=await cC({context:e,imgEle:r,trigger:t,blob:l,imgHash:d,imageType:a,loading:o,forceUsePro:n});return Lge(u),g}function JU(e){return e&&e.match(/url\(("|')?(.*?)\1\)/i)?.[2]||""}function XU(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 Mge({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 l=globalThis.getComputedStyle(r).backgroundImage||"",u=JU(l);if(!aj(s,u)){Ed?.observe(r,{attributeOldValue:!0,attributes:!0});return}r.hasTranslate=!0;let d=ev(u);if(await gm(e,r,d))return!0;if(di("Translating",en),en)return;let m=null;if(u.startsWith("blob:")){let h=await fetch(u);await oa(h),m=await h.blob()}else if(m=await ij(u),!m){let h=await u4(u);m=ji(h)}if(en)return;if(await jg(m))throw new zi("GIFs not supported","gif_not_supported");let p=await dc(m);return!d&&(d=p,await gm(e,r,d))?!0:d?cC({context:e,trigger:t,imgEle:r,blob:m,cacheKey:d,imgHash:p,imageType:a,loading:o,forceUsePro:n}):!1}async function cC({context:e,trigger:t,imgEle:n,blob:r,cacheKey:i,imgHash:a,imageType:o,loading:s,forceUsePro:l}){let u=await Nge(r)||r,d=i||a;try{if(en)return;di("Translating",en),X5(e,s,"extension_uploading");let g={sourceUrl:d,to:e.targetLanguage,imgHash:a,siteUrl:location.href};qa(g);let m=h=>{X5(e,s,h)},f=await _ge(e,l)||o=="manga";o=="common"&&GU(e,!0),Uge(e,o,t,f);let p=f?await I0({context:e,sourceUrl:d,blob:u,imgHash:a,imageType:o,onStateChange:m}):await c4({context:e,sourceUrl:d,imgEle:n,blob:u,imgHash:a,onStateChange:m,imageDb:g});return p?(f&&(g.targetUrl=p),qa(g),await rj(Zt,n,p),di("Translated",en),!0):void 0}catch(g){if(qa({sourceUrl:d,to:e.targetLanguage,error:g.message}),en)return;throw g}}async function gm(e,t,n){if(!n)return!1;let r={sourceUrl:n,to:e.targetLanguage},i=Bl(r);return i&&i?.targetUrl?(await rj(Zt,t,i.targetUrl||""),di("Translated",en),!0):!1}function Ige(e,t){if(t instanceof HTMLImageElement){let r={sourceUrl:t.src,to:e.targetLanguage},i=Bl(r);return i&&i?.targetUrl}if(t instanceof HTMLElement){let n=globalThis.getComputedStyle(t).backgroundImage,r=JU(n);if(r){let i={sourceUrl:r,to:e.targetLanguage},a=Bl(i);return a&&a?.targetUrl}}return!1}var $U={};function Lge(e){e&&($U[e]=!0)}function Dge(e){if(e)return $U[e]}async function Pge({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(!aj(o,s)){Ed?.observe(r,{attributeOldValue:!0,attributes:!0});return}r.hasTranslate=!0;let l=ev(s);if(await gm(e,r,l))return!0;let u=null;if(di("Translating",en),en)return;if(s.startsWith("blob:")){let m=await fetch(s);await oa(m),u=await m.blob()}else if(u=await ij(s),!u){let m=await u4(s);u=ji(m)}if(en)return;if(await jg(u))throw new zi("GIFs not supported","gif_not_supported");let g=await dc(u);return!l&&(l=g,await gm(e,r,l))?!0:l?cC({context:e,trigger:t,imgEle:r,blob:u,cacheKey:l,imgHash:g,imageType:i,loading:a,forceUsePro:n}):!1}function ej(e){if(!e?.imageSelectors)return[];let t=[];return e.imageSelectors?.forEach(n=>{t.push(...document.querySelectorAll(n))}),t}function tj(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 nj(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 Rge(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)):Ae()&&!ot()?a=await fetch(e).then(s=>s.blob()).then(s=>URL.createObjectURL(s)):a=await u4(e);let o=document.createElement("img");o.src=a,o.onload=async()=>{let s=n.getContext("2d");t.forEach(u=>{s?.drawImage?.apply(s,[o,...u])});let l=await nj(n);r(l)},o.onerror=()=>{i(new Error("\u65E0\u6CD5\u83B7\u53D6Canvas\u4E0A\u4E0B\u6587"))}}catch(a){i(a)}})}async function rj(e,t,n){try{return await KU(e,t,n)}catch{let i=await Oge(n);return KU(e,t,i)}}async function KU(e,t,n){return new Promise((i,a)=>{if(en)return i("");if(e?.opImageType=="append"||e?.opImageType=="insertFirst"){let o=t.parentElement?.querySelectorAll(".imt-img"),s=o?.[0];o&&o.forEach(l=>l.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 l=t.cloneNode(!0);l.removeAttribute("data"),l.classList.add("imt-img"),l.style.display="unset",l.hasTranslate=!0,l.getContext("2d")?.drawImage(s,0,0),r(l),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(XU(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 ij(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),M.error("Blob conversion failed"))},"image/png")},r.onerror=function(){t(null),M.error("Image loading failed")},r.src=e})}function Nge(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 aj(e,t){return!t||t.startsWith("/")?!1:e.inValidSrcRegex?!Jp(e.inValidSrcRegex,t):!0}var h3=0,cm=0;function Fge(e,t,n){let r=n?1:Zt.errorTimes,i=n?0:Zt.errorInterval||3e3;if(h3!=0){cm++;return}if(t.message.indexOf("quota exceeded")>0){QU(e,t);return}cm++,h3=setTimeout(()=>{if(cm<(r||3)){h3=0,cm=0;return}QU(e,t),cm=0,h3=0},i)}function QU(e,t){let n=t instanceof J?t:new J("manga",t.message);n.name="manga";let r=n.uiConfig(e);He("showErrorModal",r)}function p3(e){return e.classList.contains("imt-img")||e.hasTranslate}function Bge(e,t){return t.classList.contains("imt-img")||t.classList.contains("imt-img-loading")}async function Oge(e){let t;if(ot()){let n=await _e({url:e,responseType:"base64"});t=ji(n)}else t=await(await fetch(e)).blob();return URL.createObjectURL(t)}async function _ge(e,t){return await IP(e)=="pro"||t}function Uge(e,t,n,r){if(t!="common")return;ae({key:r?"translate_image":"translate_image_client",ctx:e,params:{trigger:n||""}})}var uC;function jge(e,t){e.rule.imageRule.enableImageSrcObserver&&(zge(e),uC?.observe(t,{attributeOldValue:!0,attributes:!0,attributeFilter:["src","srcset"]}))}function zge(e){if(uC)return;let n=e.rule.imageRule.imageTranslationUrls;uC=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}Vi(i.target,!0)}})})}var YU=!1;async function Hge(e){if(YU)return;YU=!0;let t=await bc();t&&(e.user=t,e.isPro=Nt(t))}var dC=[],Vge=new AbortController,{signal:Gge}=Vge,fm=0,pm=0,Ql=!1,js,oj=0,_o=[];async function iC(e){let t=await gn();Fr(t)&&e.rule.pageType!="pdfReader"&&(Wge(),Qc().forEach(n=>{y3(e,n)}))}function y3(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"&&Qge(n,t);function l(){s=!s,s?(M.debug("mouse hover translate on"),n.state.isTranslateDirectlyOnHover=!0,y3(n,t)):(M.debug("mouse hover translate off"),n.state.isTranslateDirectlyOnHover=!1,y3(n,t))}t.document.addEventListener(qd,l),_o.push(()=>{t.document.removeEventListener(qd,l)});let u=gr(f=>{if(!(Math.abs(f.clientX-fm)+Math.abs(f.clientY-pm)<=3)&&(fm=f.clientX,pm=f.clientY,Ql&&!js&&fC(n,!1,t),s||Ql&&!js)){let p=ar(n),h=cj(n.rule,p,t);if(h){if(mC(h))return;b3(n,!1,t,h)}}},s?700:300),d=f=>{let p=f.target;mC(p)||(b3(n,!0,t),fC(n,!0,t,!0))},g=f=>{let p=r?.mouseHoverHoldKey?.toLowerCase()||"alt";if(f.type==="keydown"&&(dC=zt.getPressedKeyCodes()),f.type==="keyup"){let h=dC,x=nf[p]===h[0];if(h.length>1&&x&&(oj=Date.now(),Ql=!1),h.length===1&&x){let y=Date.now();Ql=!0,js&&clearTimeout(js),js=setTimeout(()=>{let b=oj-y;b>0&&b<=o?Ql=!1:d(f),js=void 0},o)}dC=[]}};if(_o.push(()=>{js&&clearTimeout(js)}),a)return;mm("mousemove",u,t),_o.push(()=>{t.removeEventListener("mousemove",u)});function m(){s?u.cancel():Ql=!1}if(mm("blur",m,t),_o.push(()=>{t.removeEventListener("blur",m)}),!s){let f=r?.mouseHoverHoldKey?.toLowerCase()||"alt",p=HS;mm("keyup",sj,t),_o.push(()=>{t.removeEventListener("keyup",sj)}),p.includes(f)?zt("*",{scope:"mouseHover",element:t.document,keyup:!0},g):zt(r.mouseHoverHoldKey,{scope:"mouseHover",element:t.document},h=>{if(f==="*"){h.key==="*"&&d(h);return}d(h)}),zt.setScope("mouseHover"),_o.push(()=>{zt.deleteScope("mouseHover")})}}function Wge(){try{_o.forEach(e=>e())}catch{}_o=[],zt.setScope("all")}function sj(e){Ql=!1}function mm(e,t,n=window){return n.addEventListener(e,t,{signal:Gge})}async function b3(e,t,n,r){let i={...ar(e)};if(r=r||cj(e.rule,i,n),!r){M.debug("can not find selection part!");return}if(Kge(r,t))return;if(mC(r)){M.debug("exclude  dom");return}iN(e,r);let o=_1();o&&(o.setupMouseHoverListener=y3),i.excludeSelectors=[...e.rule.mouseHoverExcludeSelectors],i.excludeSelectorsRegexes={},i.selectors=[];let s=!1,{engineCtx:l,ctx:u}=K5(o,e);qc({id:o.id,container:r,filterRule:i,force:!0,onParagraph:async d=>{if(!await or({ctx:e,usageScene:"mouse_hover",service:e.mouseHoverTranslationService}))return;Xp(n.document.documentElement)!==u.state.translationMode&&La(n.document.documentElement,u.state.translationMode),j5(l,d,!0,!0,"hotkey-hover").then(f=>{if(o.autoIncreaseParagraphId=l.autoIncreaseParagraphId,o.paragraphEntities=l.paragraphEntities,o.paragraphQueue=l.paragraphQueue,f&&!s){s=!0;let p=Date.now();Ft(kS,p);let h={translation_service:l?.translationService||""};ae({key:"mouse_hover_translate",ctx:{...u,sourceLanguage:"mouseHover"},params:h})}})},onFrame:()=>{},onIgnoreElement:()=>{}})}function cj(e,t,n){return qge(fm,pm,e,t,n)}function qge(e,t,n,r,i){let a=mM(e,t,n,i);if(a==null)return;if(a instanceof HTMLElement)return a;let o=()=>{let u=i.document.elementFromPoint(e,t);if(!u)return;let d=Kb(u,e,t);return d===u?u.nodeName==="BUTTON"?u:void 0:uj(d,r)},s=()=>{try{a.setStartBefore(a.startContainer),a.setEndAfter(a.startContainer)}catch(d){M.debug("get mouse over word fail",d)}let u=a.getBoundingClientRect();if(!(u.left>e||u.right<e||u.top>t||u.bottom<t))return uj(a.startContainer,r)},l;return a.startContainer.nodeType!==Node.TEXT_NODE?l=o():l=s(),l}function mC(e){return!!(!(e.nodeType===Node.ELEMENT_NODE||e.nodeType===Node.TEXT_NODE)||e.nodeType===Node.ELEMENT_NODE&&th(e,LS))}function Kge(e,t){let n=e.closest("[data-imt-p]")||e.querySelector("[data-imt-p]");return!t||!n?.paragraphs?.length?!1:(Y5(n),!0)}function gC(e){return!!(e.host&&e.mode)}function lj(e,t){let n=e.parentNode;if(n.nodeName==="BODY"||gC(n))return e;for(;n&&n.nodeName!=="BODY"&&!gC(n)&&Gb(n,t);){let r=n.parentNode;if(r&&gC(r))break;n=r}return n}function uj(e,t){return e.nodeType===Node.TEXT_NODE||Gb(e,t)?lj(e,t):e}function dj(e,t,n){fm=t.clientX,pm=t.clientY,b3(e,!0,n),fC(e,!0,n)}async function fC(e,t,n,r){if(!p0(e)||!Da(e))return;let i=fM(fm,pm,e.rule,n);if(!i||ih(i.src)||i.translationStatus==="translating")return;let a=p3(i);if(!(a&&!t)&&!(a&&!r)){if(a){Vi(i);return}Hi({ctx:e,ele:i,isSingleImage:!0,trigger:"image_mouse_hover"})}}function Qge(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 l=t.getSelection()?.toString().trim();i&&l===""&&b3(e,!0,t)},n))},o=()=>{i=!1,r&&clearTimeout(r)};mm("mousedown",a,t),mm("mouseup",o,t),_o.push(()=>{t.removeEventListener("mousedown",a),t.removeEventListener("mouseup",o)})}var hm=[];function pC(e,t){let n=0,r=0,i,a=s=>{let l=new Date().getTime();r++,l-n<300?o(s):r=1,n=l},o=s=>{clearTimeout(i),r===parseInt(e+"")&&(i=setTimeout(()=>{r=0,t(s)},400))};document.addEventListener("click",a),hm.push(()=>{document.removeEventListener("click",a)})}function gj(e,t){let n=0,r=0,i=0,a=s=>{let l=s.changedTouches[0];n=new Date().getTime(),r=l.clientX,i=l.clientY},o=s=>{let l=s.changedTouches[0];n-new Date().getTime()>1e3||Math.abs(i-l.clientY)>50||(e==="left"&&l.clientX-r>50&&t(s.changedTouches[0]),e==="right"&&l.clientX-r<-50&&t(s.changedTouches[0]))};document.addEventListener("touchstart",a,{passive:!0}),document.addEventListener("touchend",o),hm.push(()=>{document.removeEventListener("touchstart",a),document.removeEventListener("touchend",o)})}function v3(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}),hm.push(()=>{document.removeEventListener("touchstart",r)})}var D0={touchShortcutsOff:()=>{},"multipleClick.2":pC,"multipleClick.3":pC,"multipleClick.4":pC,"slide.left":gj,"slide.right":gj,"fingers.2":v3,"fingers.3":v3,"fingers.4":v3,"fingers.5":v3};async function iO(e,t=window){try{Xge();let n=await Ln(),r=tf.find(i=>i.name==="touch");if(!r)return;r.shortcuts.forEach(i=>{if(typeof i=="string")return;let a=hC(e,n,i.command),o=D0[a];if(a==="touchShortcutsOff"||!o)return;let s=a.split(".");if(s.length!==2)return;let l=s[1];l&&o(l,u=>{Jge(i.command,e,t,u)})})}catch(n){M.error(n)}}function hC(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 Yge=()=>{nC()},Zge=()=>{tC()},mj=0,Jge=(e,t,n,r)=>{if(!(new Date().getTime()-mj<200)){if(mj=new Date().getTime(),e==="touchShortcutsToggleTranslatePage")be("content",{method:"toggleTranslatePage",data:{trigger:"touch_shortcut"}});else if(e==="touchShortcutsToggleTranslationMask")Zge();else if(e==="touchShortcutsToggleTranslatePageOnlyTranslation")Yge();else if(e==="touchShortcutsToggleTranslateTouchElement")dj(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,l={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};S4(r,t,n,l)}}};function Xge(){hm.forEach(e=>{e()}),hm=[]}function zs(e){let{onChange:t,type:n,title:r,command:i,description:a,shortcut:o,disabled:s,service:l,serviceIdList:u}=e,[d,g]=N(!1),{t:m}=H();if(n==="finger")return c("div",{class:"nav",children:[c(ke,{title:r,description:a||""}),c("select",{class:"select !w-36",onChange:f=>{f.preventDefault();let p=f.target.value;t(p)},children:Object.keys(D0).map((f,p)=>c("option",{value:f,selected:o===f,children:`${m(f)}`},"finger-"+p))})]});if(n==="mouseHoverHoldKey"){let f=va.includes(o);return c("div",{children:[c("div",{class:"nav",children:[c(ke,{title:r,description:a||""}),c(bi,{className:"select",maxWidth:250,items:va.filter(p=>!(f&&p==="OtherCustom"||p==="OtherCustom")).map(p=>{let h=m("mouseHoldKey",{key:Or(p)}),x=va.includes(o),y=p===o;return o==="Off"&&p===o&&d&&(y=!1),p==="Auto"?h=m("mouseHoldKeyAuto"):p==="Off"?h=m("mouseHoldKeyOff"):p==="OtherCustom"?h=x?m("mouseHoldKeyOther"):m("mouseHoldKeyCustomKey",{key:o}):p==="Other"?h=m("mouseHoldKeyOther"):p==="MouseHoldKeyPressHold"&&(h=m("mouseHoldKeyPressHold")),x||p==="Other"&&(y=!0),{label:h,value:p,selected:y,onSelected:b=>{b.value==="Other"?(g(!0),t("Off",!0)):(g(!1),t(b.value))}}})})]}),(!f||d)&&c("div",{class:"nav",children:[c(ke,{title:m("mouseHoverCustomKeyTitle"),description:m("mouseHoverCustomKeyDescription")||""}),c("input",{type:"text",class:"!w-36",placeholder:m("mouseHoverShortcutPlaceholder"),name:"mouseHoverHoldKey",value:o==="Off"?"":o,onChange:p=>{t(p.target.value)}})]})]})}else if(n?.startsWith("translateWithCustom")&&u?.length)return c("div",{class:"nav flex-wrap",children:[c(ke,{title:r,description:a||""}),c("div",{class:"nav",children:[c(bi,{className:"select",style:{marginBottom:"var(--spacing)",marginRight:"var(--spacing)"},maxWidth:250,items:u.map(({service:f,name:p})=>{let h=l===f;return{label:p||m(`translationServices.${f}`),value:f,selected:h,onSelected:x=>{x.value==="Other"?(g(!0),t("Off",!0)):(g(!1),t(x.value))}}})}),c("div",{children:[c("input",{type:"text",class:"!w-36",disabled:s,id:i,name:i,value:o,onChange:f=>{t(f.target.value)}}),s&&c("div",{class:"ml-2 inline-block",children:c(Ye,{width:200,multiple:!0,text:m("shortcutDisableTooltip"),children:c("span",{children:c(b6,{style:{width:20,height:16}})})})})]})]})]});return c("div",{class:"nav",children:[c(ke,{title:r,description:a||""}),c("div",{children:[c("input",{type:"text",class:"!w-36",disabled:s,id:i,name:i,value:o,onChange:f=>{t(f.target.value)}}),s&&c("div",{class:"ml-2 inline-block",children:c(Ye,{width:200,multiple:!0,text:m("shortcutDisableTooltip"),children:c("span",{children:c(b6,{style:{width:20,height:16}})})})})]})]})}function yC(){let{settingsHookValue:e,config:t,ctx:n}=ct(),[r,i,a,o,s]=e,[l,u]=Es(),{t:d}=H();return t?c(pt,{children:c(xe.Provider,{value:e,children:[c("div",{class:"nav",children:c("strong",{class:"text-lg",children:d("mouseHoverOptions")})}),c(xi,{image:An("images/hover_intro.png"),nightImage:An("images/hover_intro_night.png"),title:d("intro.hoverTitle"),description:d("intro.hoverDescription")}),c($ge,{setSettings:i,config:t,localConfig:l}),c(e0e,{setSettings:i,config:t,localConfig:l}),c(As,{config:t,ctx:n,serviceType:"mouseHoverTranslationService"})]})}):null}function $ge({setSettings:e,config:t,localConfig:n}){let{t:r}=H();return Fr(n)?c(zs,{onChange:(i,a)=>{e(o=>{let l={...o.generalRule||{},mouseHoverHoldKey:i||"Off"};return i!=="Off"&&(l.mouseHoverPreferenceKey=i),{...o,generalRule:l}}),a||ut(r("saved"))},type:"mouseHoverHoldKey",title:r("mouseHoverHoldKey"),command:"mouseHoverHoldKey",description:r("desc.mouseHoverHoldKey"),shortcut:t.generalRule.mouseHoverHoldKey,disabled:!1}):null}function e0e({setSettings:e,config:t,localConfig:n}){let{t:r}=H();return Fr(n)?null:c(zs,{onChange:(i,a)=>{e(o=>{let l={...o.generalRule||{},touchShortcutsToggleTranslateTouchElement:i||"touchShortcutsOff"};return i&&i!=="touchShortcutsOff"&&(l.touchShortcutsToggleTranslateTouchElementPreferenceKey=i),{...o,generalRule:l}}),a||ut(r("saved"))},type:"finger",title:r("touchShortcutsToggleTranslateTouchElement"),command:"touchShortcutsToggleTranslateTouchElement",description:r("desc.touchShortcutsToggleTranslateTouchElement"),shortcut:t.generalRule.touchShortcutsToggleTranslateTouchElement,disabled:!1})}function bC(){let{settingsHookValue:e,ctx:t}=ct(),[n,r,i,a,o]=e,s=re(g=>{t&&r(m=>aa({...m},g))},[t,r]),l=gl(t,n),{t:u}=H(),d=re((g,m)=>u("floatBallOptions."+g,m),[]);return!t||!l?c("div",{children:"loading"}):c(pt,{children:c(xe.Provider,{value:e,children:[c("div",{class:"nav",children:c("strong",{class:"text-lg",children:u("floatBallOptions")})}),c(xi,{image:An("images/float_ball_intro.png"),nightImage:An("images/float_ball_intro_night.png"),title:u("intro.floatBallTitle"),description:u("intro.floatBallDescription")}),c(t0e,{config:t.config,t:d,rawT:u,rule:l,updateFloatBallRule:s}),c(n0e,{config:t.config,t:d,rawT:u,rule:l,updateFloatBallRule:s}),c(r0e,{t:d,rule:l,updateFloatBallRule:s}),c(i0e,{t:d,rule:l,updateFloatBallRule:s}),c(a0e,{t:d,rule:l,updateFloatBallRule:s}),c(o0e,{t:d,rule:l,updateFloatBallRule:s})]})})}function t0e({rule:e,config:t,updateFloatBallRule:n,t:r,rawT:i}){return c(ie,{children:c("div",{class:"nav",children:[c(ke,{title:r("enable"),description:e.isPc?r("enableDescPc"):r("enableDesc",{touch:i("fingers."+t.generalRule.fingerCountToToggleTranslagePageWhenTouching)})}),c("label",{for:"enable",children:c("input",{type:"checkbox",id:"enable",name:"switch",role:"switch",onChange:a=>{let o=a.target.checked;e.enable=o,n(e)},checked:e.enable})})]})})}function n0e({rule:e,config:t,updateFloatBallRule:n,t:r,rawT:i}){if(Se().any)return null;let a=e?.enablePinSidePanel==!1;return c(ie,{children:c("div",{class:"nav",children:[c(ke,{title:r("enableSidePanel"),description:r("enableSidePanelDesc")}),c("label",{for:"enable",children:c("input",{type:"checkbox",id:"enable",name:"switch",role:"switch",onChange:o=>{let s=o.target.checked;e.enablePinSidePanel=!s,n(e)},checked:a})})]})})}function r0e({t:e,rule:t,updateFloatBallRule:n}){let[r,i]=N(!1),[a,o]=N(""),[s,l]=N(-1);W(()=>{zt("esc",()=>{i(!1)})},[]);let u=()=>{i(!r)},d=(f,p,h,x)=>{u(),s==p&&p!=-1?t.blockUrls[p]=f:t.blockUrls=Jt(f,t.blockUrls),n(t),l(-1),o("")},g=(f,p)=>{f.forEach(h=>{t.blockUrls=Ut(h,t.blockUrls)}),n(t),l(-1),o("")},m=(f,p,h)=>{i(!r),o(f),l(h)};return c(ie,{children:[c("div",{class:"nav",children:[c(ke,{title:e("blockUrls"),description:e("blockUrlDesc")}),c("div",{class:"nav-right",children:c("a",{href:"#",role:"button",class:"add-button secondary outline",onClick:f=>{f.preventDefault(),u()},children:e("add")})}),r?c(Ir,{toggleModal:f=>{f.preventDefault(),u()},onSubmitAddUrl:d,type:"excludeMatches",urlValue:a,index:s}):null]}),c(qr,{urls:t.blockUrls||[],type:"excludeMatches",onDeleteUrl:g,onEditUrl:m})]})}function i0e({t:e,rule:t,updateFloatBallRule:n}){return c(ie,{children:c("div",{class:"nav",children:[c(ke,{title:e("clickType"),description:e("clickTypeDesc")}),c("select",{class:"select",onChange:r=>{r.preventDefault(),t.clickType=r.target.value,n(t)},children:[c("option",{value:"translate",selected:t.clickType=="translate",children:e("clickTranslate")}),c("option",{value:"popup",selected:t.clickType=="popup",children:e("clickPopup")})]})]})})}function a0e({t:e,rule:t,updateFloatBallRule:n}){return c(ie,{children:c("div",{class:"nav",children:[c(ke,{title:e("fixedPosition"),description:e("fixedPositionDesc")}),c("select",{class:"select",onChange:r=>{r.preventDefault(),t.fixedPosition=r.target.value,n(t)},children:[c("option",{value:"left",selected:t.fixedPosition=="left",children:e("fixedPositionLeft")}),c("option",{value:"right",selected:t.fixedPosition=="right",children:e("fixedPositionRight")})]})]})})}function o0e({t:e,rule:t,updateFloatBallRule:n}){return c(ie,{children:c("div",{class:"nav",children:[c(ke,{title:e("opacity"),description:e("opacityDesc")}),c("input",{class:"select",type:"number",value:t.transparency!=null?t.transparency:30,min:0,max:100,onChange:r=>{if(!r.target)return;let i=Number(r.target.value),a=Math.min(Math.max(i,0),100);t.transparency=a,n(t)}})]})})}function vC(){let{settingsHookValue:e,config:t,ctx:n}=ct(),[r,i,a,o,s]=e,[l]=Es(),{t:u,lang:d}=H(),g=X(()=>n?Tr(n,"translationService",d).map(h=>h.id):[],[n,d]);if(!n||!t)return c("div",{children:"loading"});let m=tf.filter(p=>{if(p.name==="touch"){let h=Fr(l);return M.debug("isSupportMouseHover",h),!h}else if(p.name==="mouse"){let h=Fr(l);return M.debug("isSupportMouseHover",h),h}else return!0}).map(p=>({name:p.name,shortcuts:p.shortcuts.filter(h=>!(Sd(n)&&h==="openAiWritingModal")).map(h=>{let x="",y="normal";typeof h=="string"?x=h:(x=h.command,h.type&&(y=h.type));let b="";u(`desc.${x}`)!==`desc.${x}`&&(b=u(`desc.${x}`));let C="";y==="finger"?C=hC(n,r,x):y==="mouseHoverHoldKey"?r?.generalRule&&r?.generalRule[x]!==void 0?C=r.generalRule[x]:C=t.generalRule[x]:r?.shortcuts&&r?.shortcuts[x]!==void 0?C=r.shortcuts[x]:C=t.shortcuts[x];let S=u(`browser.${x}`,{targetLanguage:Et(t.targetLanguage,t.interfaceLanguage,!1,!0)});(y==="finger"||y==="mouseHoverHoldKey")&&(S=u(`${x}`));let T,w;return y.startsWith("translateWithCustom")&&(T=r?.shortcuts?.translateWithCustomServices?.[x],w=g.map(E=>{let k={service:E,name:null};return k.name=qt(n.config,E),k})),{command:x,type:y,shortcut:C,title:S,description:b,service:T,serviceIdList:w,disabled:!(Ae(!0)||ou())}})})),f=()=>c("blockquote",{class:"text-sm",children:[u("browserShortcutsSucks")," ",c("kbd",{children:"Ctrl+A"}),"\xA0",c("kbd",{children:"Alt+B"}),"\xA0",c("kbd",{children:"Command+C"}),"\xA0 ",c("kbd",{children:"Ctrl+Shift+D"})," "]});return Ae(!0)||(Cn()?f=()=>c("blockquote",{class:"text-sm",children:[u("browserShortcutsNoteForFirefox"),"  ",c("a",{target:"_blank",href:"https://support.mozilla.org/zh-CN/kb/%E7%AE%A1%E7%90%86Firefox%E7%9A%84%E6%89%A9%E5%B1%95%E5%BF%AB%E6%8D%B7%E6%96%B9%E5%BC%8F",children:[u("help"),"?"]})]}):ou()||(f=()=>c("blockquote",{class:"text-sm",children:[u("browserShortcutsNoteForChrome"),"\xA0",c("a",{href:"#",onClick:p=>{p.preventDefault(),Ne.tabs.create({url:"chrome://extensions/shortcuts"})},children:u("goSettings")})]}))),c(pt,{children:c(xe.Provider,{value:e,children:[c("div",{class:"nav",children:c("strong",{class:"text-lg",children:u("shortcutSettingsTitle")})}),c("div",{children:c(f,{})}),m.map((p,h)=>c("article",{class:"mb-8",children:[c("div",{class:"text-gray-500 text-sm",children:u(`shortcutGroup.${p.name}`)}),p.shortcuts.map((x,y)=>Gs(zs,{...x,key:`shortcut-${y}`,onChange:(b,v)=>{i(C=>{if(x.type==="finger"){let T={...C.generalRule||{},[x.command]:b||"touchShortcutsOff"};return x.command==="touchShortcutsToggleTranslateTouchElement"&&b&&b!=="touchShortcutsOff"&&(T.touchShortcutsToggleTranslateTouchElementPreferenceKey=b),{...C,generalRule:T}}else if(x.type==="mouseHoverHoldKey"){let T={...C.generalRule||{},[x.command]:b||"Off"};return b!=="Off"&&(T.mouseHoverPreferenceKey=b),{...C,generalRule:T}}else if(x.type.startsWith("translateWithCustom")){let S={...C?.shortcuts};if(g.includes(b)){let w=S.translateWithCustomServices||{};return{...C,shortcuts:{...S,translateWithCustomServices:{...w,[x.command]:b}}}}let T={...C,shortcuts:{...S,[x.command]:b}};return b||(T.shortcuts[x.command]=""),T}else{let S={...C?.shortcuts},T={...C,shortcuts:{...S,[x.command]:b}};return b||(T.shortcuts[x.command]=""),T}}),v||ut(u("saved"))}}))]},`shortcut-group-${h}`))]})})}function xC(){let{settingsHookValue:e,config:t}=ct(),[n,r,i,a,o]=e,{t:s,setLang:l}=H();if(!t)return null;return c(pt,{children:c("div",{class:"pb-4",children:c(u,{})})});function u(){return W(()=>{n&&d()},[n]),c(ie,{children:c("div",{style:{width:"100%"},children:c("p",{children:[s("download_started")," ",c("a",{href:"#",class:"secondary",onClick:g=>{g.preventDefault(),d()},children:s("here")})]})})});async function d(){let g=location.href.includes("withTerms=true"),m={...n},f="config";if(g){let h=await Uc(s);h?(m.terms=h,f="config-with-terms"):Rp(s("terms.noTermsToExport"))}let p=new Blob([JSON.stringify(m,null,2)],{type:"application/json;charset=utf-8"});qs.saveAs(p,`${z}-${f}-${Uu()}.json`)}}}function CC({config:e,ctx:t}){let{t:n}=H(),r=sn(e,t.isPro);return c(ie,{children:[c("header",{className:"header-navbar",children:[c("a",{class:"header-navbar-brand",href:r?"javascript:void(0)":_.BASE_SITE,target:"_blank",children:[c(_i,{style:{width:"30px",height:"30px"}}),c("h1",{children:n("browser.shortBrandName")})]}),c("span",{style:{cursor:"pointer"},class:"version",onClick:i=>{i.preventDefault(),!r&&mi(`${_.BASE_SITE}changelog/`)},children:vu(e)}),c("div",{style:{flex:1}}),c("div",{class:"header-right",hidden:r,children:[c(s0e,{}),c(l0e,{})]})]}),c("div",{className:"header-navbar-height"})]})}function s0e(){let{t:e}=H();return c("a",{class:"header-navbar-item mobile-hidden",href:_.DOWNLOAD_FROM_OPTIONS_NAV,target:"_blank",children:[c(dD,{}),c("span",{children:e("options.navbar.installApp")})]})}function l0e(){let{t:e}=H();return c(Ye,{text:e("translateFileTooltip"),position:"bottom",width:180,multiple:!0,containerClass:"btn-animate",children:c("a",{class:"header-navbar-item ml-8",href:_.TRANSLATE_FILE_FROM_OPTIONS_NAV,target:"_blank",children:[c(_h,{}),c("span",{children:e("options.navbar.translateFile")})]})})}function TC(){let{settingsHookValue:e,config:t,ctx:n}=ct(),{t:r}=H();if(!n||!t)return c("div",{children:"loading"});let i=Up(t.supportedMangaSites),a=`<div>
<br>
    <a target="_blank" href="${_.GitHub_BASE+"issues/1809"}">${r("feedbackOrMore")}</a>
  </div>`,o=[...i.map((l,u)=>`<span>
        <a target="_blank" href="${l.url}">${l.name}</a>
        ${u!==i.length-1?", ":""}
      </span>`),a].join(""),s=Da(n,!0);return c(pt,{children:c(xe.Provider,{value:e,children:[c("div",{class:"nav",children:c("strong",{class:"text-lg",children:r(s?"mangaAndImage":"manga")})}),c(xi,{image:An("images/popup-manga-guide.png"),nightImage:An("images/popup-manga-guide.png"),title:r("intro.mangaTitle"),description:r("intro.mangaDescription",{1:_.GO_MANGA_URL})+o,children:c("div",{class:"px-6",children:c(fj,{config:n.config,ctx:n})})}),c(fj,{config:n.config,ctx:n,className:"manga-enable"}),c("div",{className:"intro-footer",dangerouslySetInnerHTML:{__html:r("intro.mangaDescription",{1:_.GO_MANGA_URL})+"<br/>"+o}}),c(u0e,{ctx:n}),c(c0e,{ctx:n})]})})}function fj({config:e,ctx:t,className:n}){let[r,i,a,o]=De(xe),{t:s}=H();return c(ie,{children:c("div",{class:`nav ${n}`,children:[c(ke,{title:s("image.enableMangaFloatBall"),description:s("image.enableMangaFloatBallDesc")}),c("label",{for:"enable",children:c("input",{type:"checkbox",id:"enable",name:"switch",role:"switch",onChange:l=>{let u=l.target.checked;i(d=>({...d,generalRule:{...d.generalRule,"imageRule.add":{...d.generalRule?.["imageRule.add"],enableMangaFloatBall:u}}}))},checked:e.generalRule.imageRule.enableMangaFloatBall})})]})})}var pj=768;function u0e({ctx:e}){let{t}=H(),n=Da(e,!0);return globalThis.innerWidth<pj||!n?null:c(ie,{children:[c(xi,{image:An("images/image_tansalte_intro-qkKVLH.png"),nightImage:An("images/image_tansalte_intro-qkKVLH.png"),title:t("image.imageTranslate"),description:t("image.imageTranslateDes",{1:_.GO_IMAGE_PRICING_URL}),children:c("div",{class:"px-6",children:[c(d0e,{ctx:e}),c(g0e,{ctx:e,styles:{paddingTop:0}}),c(yj,{ctx:e,styles:{paddingTop:0}}),c(bj,{ctx:e,styles:{paddingTop:0}})]})}),c(hj,{ctx:e})]})}function c0e({ctx:e}){let t=Da(e,!0);return globalThis.innerWidth>pj||!t?null:c(ie,{children:c("div",{style:{paddingTop:24},children:[c(yj,{ctx:e,styles:{paddingBottom:0}}),p0(e)&&c(hj,{ctx:e}),c(bj,{ctx:e,styles:{paddingTop:0}})]})})}function hj({ctx:e}){let[t,n,r,i,a]=De(xe),{t:o}=H(),s=e.config;return Fr(e.localConfig||{})?null:c(zs,{onChange:(l,u)=>{n(d=>{let m={...d.generalRule||{},touchShortcutsToggleTranslateTouchElement:l||"touchShortcutsOff"};return l&&l!=="touchShortcutsOff"&&(m.touchShortcutsToggleTranslateTouchElementPreferenceKey=l),{...d,generalRule:m}}),u||ut(o("saved"))},type:"finger",title:o("touchShortcutsToggleTranslateTouchAndImgElement"),command:"touchShortcutsToggleTranslateTouchElement",description:o("desc.touchShortcutsToggleTranslateTouchAndImgElement"),shortcut:s.generalRule.touchShortcutsToggleTranslateTouchElement,disabled:!1})}function d0e({ctx:e,className:t}){let[n,r,i,a,o]=De(xe),s=e.rule.imageRule,{t:l}=H();return c(ie,{children:c("div",{class:`nav ${t}`,children:[c(ke,{title:l("image.enableTools")}),c("label",{for:"enable",children:c("input",{type:"checkbox",id:"enable",name:"switch",role:"switch",onChange:u=>{let d=u.target.checked;r(g=>({...g,generalRule:{...g.generalRule,"imageRule.add":{...g.generalRule?.["imageRule.add"],enableTools:d}}}))},checked:s.enableTools})})]})})}function yj({ctx:e,className:t,styles:n}){let[r,i,a,o,s]=De(xe),{t:l}=H();return c(ie,{children:c("div",{class:`nav ${t}`,style:{...n},children:[c(ke,{title:Bn(e.localConfig||{})?l("image.touchShortcuts"):l("image.enableMouseHover")}),c("label",{for:"enable",children:c("input",{type:"checkbox",id:"enable",name:"switch",role:"switch",onChange:u=>{let d=u.target.checked;i(g=>({...g,generalRule:{...g.generalRule,"imageRule.add":{...g.generalRule?.["imageRule.add"],enableMouseHover:d}}}))},checked:p0(e)})})]})})}function bj({ctx:e,className:t,styles:n}){let r=Xu(),i=e.config.generalRule.imageRule;if(i.supportPlatform?.[r]!="all")return null;let[o,s]=N(""),{t:l}=H();W(()=>{(async()=>{let h=await X6(e,e.isPro);s(h)})()},[e,i]);let[u,d,g,m]=De(xe),f=re(async p=>{let h=p.target.value;if(h){if(!await xa(e)&&h=="pro"){globalThis.open(_.GO_CLIENT_IMAGE_PRICING_URL,"_blank"),globalThis.location.reload();return}d(x=>{let y={...x,generalRule:{...x.generalRule,"imageRule.add":{...x.generalRule?.["imageRule.add"],imageTranslateProvider:h}}};return h=="client"&&y.disableShowClientImageGuide==null&&(y.disableShowClientImageGuide=!0),y})}},[d]);return c("fieldset",{class:`nav ${t||""}`,style:{justifyContent:"unset",...n},children:[c("legend",{class:"mb-4",children:l("chooseProviderLabel")}),c("div",{class:"flex flex-col",children:["client","pro"].map(p=>{let h=l(`chooseProvider.${p}`),x=l(`chooseProvider.${p}Desc`,{1:_.GO_CLIENT_IMAGE_PRICING_URL});return e.isPro&&p=="client"&&(x=l("chooseProvider.clientDescPro"),h=l("chooseProvider.clientPro")),c("label",{class:"pro-radio-label",for:p,children:[c("div",{class:"pro-input-radio",children:c("input",{type:"radio",id:p,name:p,value:p,onClick:f,checked:p===o})}),c("div",{class:"pl-4",children:[c("div",{class:"pro-radio-title",children:h}),c("small",{class:"pro-radio-desc muted",dangerouslySetInnerHTML:{__html:x}})]})]})})})]})}function g0e({ctx:e,className:t,styles:n}){let{t:r}=H(),[i,a,o,s]=De(xe);return c("div",{class:`nav ${t}`,style:n,children:[c(ke,{title:r("image.toolsDelayTime"),description:r("image.toolsDelayTimeDes")}),c("label",{for:"count",class:"option-input",children:c("input",{type:"number",id:"count",onChange:l=>{a(u=>({...u,generalRule:{...u.generalRule,"imageRule.add":{...u.generalRule?.["imageRule.add"],toolsDelayTime:parseInt(l.target.value||"0")}}}))},name:"count",value:e.config.generalRule.imageRule.toolsDelayTime,required:!0})})]})}function x3(){let{t:e}=H(),[t,n]=N(!1),[r,i]=N(null),[a,o]=N(null),[s,l]=N(null),u=async m=>{if(!m){o(e("terms.noFileSelected"));return}n(!0),o(null),l(null);try{let f=await m0e(m);i(m.name);let{glossaries:p,hasInvalidItems:h}=d1(f),x=Ma(p);if(x.length===0){o(e("terms.noValidTermsInFile")),n(!1);return}x.length,p.length,l(x)}catch{o(e("terms.csvParseError"))}finally{n(!1)}};return{isLoading:t,error:a,importedGlossaries:s,importedFileName:r,importFile:u,triggerFileSelect:()=>new Promise(m=>{let f=document.createElement("input");f.type="file",f.accept=".csv,.txt",f.onchange=async p=>{let x=p.target.files?.[0];if(!x){m(!1);return}await u(x),m(!0)},f.oncancel=()=>{m(!1)},f.click()}),clearImportResult:()=>{l(null),o(null)}}}function m0e(e){return new Promise((t,n)=>{let r=new FileReader;r.onload=i=>{let a=i.target?.result;if(!a){n(new Error("Failed to read file buffer"));return}try{let s=new TextDecoder("utf-8",{fatal:!0}).decode(a);t(s)}catch{try{let l=new TextDecoder("gbk").decode(a);t(l)}catch{try{let u=new TextDecoder("utf-8",{fatal:!1}).decode(a);t(u)}catch{n(new Error("Failed to decode file with UTF-8 (fatal and non-fatal) or GBK."))}}}},r.onerror=i=>{n(new Error("Failed to read file"))},r.readAsArrayBuffer(e)})}function vj(e,t={}){let{initialItemsPerPage:n=50}=t,[r,i]=N(1),[a,o]=N(n),s=X(()=>Math.max(1,Math.ceil(e.length/a)),[e.length,a]),l=X(()=>{let f=(r-1)*a,p=Math.min(f+a,e.length);return e.slice(f,p)},[e,r,a]),u=re(()=>{i(f=>Math.max(1,f-1))},[]),d=re(()=>{i(f=>Math.min(s,f+1))},[s]),g=re(f=>{let p=Math.max(1,Math.min(f,s));i(p)},[s]),m=re(f=>{let p=Math.max(1,f);o(p),i(1)},[]);return{currentPage:r,totalPages:s,paginatedData:l,itemsPerPage:a,goToPrevPage:u,goToNextPage:d,goToPage:g,setItemsPerPage:m,setCurrentPage:i}}function xj(e){let[t,n]=N(""),r=X(()=>{if(!t.trim())return e;e.forEach((s,l)=>{s.id=l});let o=t.toLowerCase().trim();return e.filter(s=>s.k.toLowerCase().includes(o)||s.v&&s.v.toLowerCase().includes(o))},[e,t]),i=re(()=>{n("")},[]),a=t.trim().length>0;return{searchQuery:t,setSearchQuery:n,filteredGlossaries:r,clearSearch:i,hasSearchQuery:a}}function Cj({isOpen:e,onClose:t,onImport:n,onCreateNew:r}){let{t:i}=H();if(!e)return null;let a=o=>{o?.target?.id===z+"-glossary-overlay"&&t()};return c("dialog",{id:z+"-glossary-overlay",onClick:a,open:!0,children:c("article",{class:"add-modal",children:[c("a",{"aria-label":"Close",class:"close cursor-pointer","data-target":"modal-example",onClick:t}),c("div",{class:"add-text",children:i("terms.addCustomTitle")}),c("p",{children:i("terms.importCsvDescription")}),c("blockquote",{children:c("div",{class:"font-mono text-sm overflow-auto",children:["source,target,tgt_lng",c("br",{}),"LLM,LLM,zh-CN",c("br",{}),"LLMs,LLM,zh-CN"]})}),c("div",{class:"flex",children:[c("div",{class:"footer-button",children:c("a",{href:"#import",role:"button",class:"full-button secondary margin-right","data-target":"modal-example",onClick:o=>{o.preventDefault(),n()},children:i("terms.importCsvButton")})}),c("div",{class:"footer-button",children:c("a",{href:"#create",role:"button",class:"full-button margin-left","data-target":"modal-example",onClick:o=>{o.preventDefault(),r()},children:i("terms.createButton")})})]})]})})}function SC(){let[e,t]=N([]),n=$([]);n.current=e;let[r,i]=N(!1),[a,o]=N(!1),{t:s}=H(),{settingsHookValue:l,ctx:u}=ct(),d=$(!1),[g,m]=N(!1);W(()=>{if(!u?.rule||d.current)return;d.current=!0;let C=async()=>{f1(u.config,(S,T)=>{S==1&&n.current.length>T.length||(t(T),S==2&&m(!1))})};m1(u,s).then(()=>C()),C()},[u,t,n]);let{error:f,importedGlossaries:p,importedFileName:h,triggerFileSelect:x,clearImportResult:y}=x3();W(()=>{p&&p.length>0&&!r&&(async()=>{i(!0);try{let C=s5(),T=(h||s("terms.unname")).replace(/\.(csv|txt)$/i,""),w={id:C,name:T,description:"",matches:["*"],author:"self",glossaries:p,active:!0,lastUserOpTime:Date.now()+""};await Vr(w),window.location.href=`#terms/${w.id}`}catch{alert(s("terms.saveError"))}finally{i(!1),y()}})()},[p,r,s,y,h]),W(()=>{f&&(alert(f),y())},[f,y]);let b=async()=>{o(!0)},v=async()=>{try{m(!0);let S={id:s5(),name:s("terms.unname"),description:"",matches:["*"],author:"self",glossaries:[],active:!0,lastUserOpTime:Date.now()+""};await Vr(S),await Vu(Date.now()+""),window.location.href=`#terms/${S.id}`}catch{alert("\u521B\u5EFA\u672F\u8BED\u5E93\u5931\u8D25")}finally{m(!1),o(!1)}};return c(pt,{children:c(xe.Provider,{value:l,children:[c("div",{style:{minHeight:"calc(100vh - 100px)"},children:[c("div",{className:"nav",children:c("div",{children:[c("strong",{className:"text-lg",children:s("field.terms")}),c(Ye,{text:s("terms.addCustomTooltip"),position:Se().any?"right":"bottom",enableMobile:!0,tipStyle:{whiteSpace:"pre"},children:c("div",{class:"ml-2 cursor-pointer text-gray-500",children:c(Ss,{})})})]})}),c("div",{className:"w-full flex justify-between mb-4",children:[c("a",{className:"underline text-sm cursor-pointer",style:{color:"#999999"},onClick:b,children:s("terms.addCustom")}),c("a",{href:`https://github.com/${z}/terms`,className:"underline text-sm",style:{color:"#999999"},target:"_blank",children:s("terms.contribute")})]}),c("div",{className:"flex flex-wrap",children:e?.map(C=>c(f0e,{data:C,targetLanguage:u?.config.interfaceLanguage||"",ctx:u},C.id))})]}),c(Bc,{hidden:!g}),c(Cj,{isOpen:a,onClose:()=>o(!1),onImport:()=>{x(),o(!1)},onCreateNew:v})]})})}function f0e({data:e,targetLanguage:t,ctx:n}){let[r,i]=N({}),{name:a,description:o}=g1(t||"",e),s=async l=>{l.preventDefault(),l.stopPropagation();let u=!e.active;if(e.active=u,Dl(e)&&ae({key:"terms_switch",ctx:n,params:{ai_assistant:e.id,ai_assistant_use:u?"1":"0"}}),i({}),!e.glossaries?.length&&e.author!="self"){let{glossaries:g,langsHash:m}=await jc(n?.config.termsBaseUrl||"",["auto",t],e);e.glossaries=g,e.localLangsHash=m}let d={...e,active:u,lastUserOpTime:Date.now()+""};await Vu(Date.now()+""),await Vr(d)};return c("div",{className:"store-container",style:{paddingBottom:0},onClick:()=>{window.location.href=`#terms/${e.id}`},children:[c("div",{className:"flex items-center justify-between mb-4",children:[c("div",{className:"mb-0 pr-2 flex justify-start flex-col text-left assistant-content flex-1 cursor-pointer",children:[c("div",{className:"text-base font-bold assistant-text",children:a}),c("div",{className:"font-normal assistant-text",style:{color:"#999999",fontSize:"14px"},children:e.author?`@${e.author}`:""})]}),c("div",{className:"flex items-center",onClick:l=>l.stopPropagation(),children:c("label",{className:"relative inline-flex items-center cursor-pointer",onClick:s,children:c("input",{type:"checkbox",role:"switch",checked:e.active})})})]}),c("p",{class:"cursor-pointer",dangerouslySetInnerHTML:{__html:o}})]})}function Tj({total:e,currentPage:t,totalPages:n,itemsPerPage:r,goToPrevPage:i,goToNextPage:a,onItemsPerPageChange:o}){let{t:s}=H(),l=`items-per-page-${t}`;return e<r?null:c("nav",{"aria-label":"Pagination",class:"flex flex-row items-center",children:[c("div",{class:"flex flex-row",children:[c("button",{onClick:i,role:"button",style:"margin-right: var(--spacing);",disabled:t<=1,"aria-label":s("pagination.prev"),children:s("pagination.prev")}),c("button",{onClick:a,role:"button",disabled:t>=n,"aria-label":s("pagination.next"),children:s("pagination.next")})]}),c("div",{children:c("div",{children:[t," / ",n]})}),c("div",{children:c("div",{children:[c("label",{for:l,class:"sr-only",children:s("pagination.itemsPerPage")}),c("select",{class:"select",id:l,value:r,onChange:o,children:[c("option",{value:"10",children:"10"}),c("option",{value:"20",children:"20"}),c("option",{value:"50",children:"50"}),c("option",{value:"100",children:"100"})]})]})})]})}function Sj({glossaries:e,onGlossariesUpdate:t,onDeleteTerm:n,defaultLanguage:r="en",termsName:i="glossary"}){let{t:a}=H(),o=fn(),[s]=o,l=Ha(s),[u,d]=N(!1),[g,m]=N({k:"",v:"",tl:r}),{searchQuery:f,setSearchQuery:p,filteredGlossaries:h,hasSearchQuery:x}=xj(e),{currentPage:y,totalPages:b,paginatedData:v,itemsPerPage:C,goToPrevPage:S,goToNextPage:T,goToPage:w,setItemsPerPage:E,setCurrentPage:k}=vj(h,{initialItemsPerPage:50});W(()=>{y>b&&k(b)},[b,y,k]);let D=q=>{let Z=parseInt(q.target.value,10);E(Z)},{error:U,importedGlossaries:B,importFile:P,clearImportResult:O}=x3();W(()=>{B&&B.length>0&&(t(B),O(),k(1))},[B,t,O,k]);let F=l?.translationService?Oa(l.translationService,l.targetLanguage,l):[],L=(q,Z,ne)=>{let Y=(y-1)*C+q,oe=[...e];Y>=0&&Y<oe.length&&(oe[Y]={...oe[Y],[Z]:ne},t(oe))},R=()=>{d(!0)},A=()=>{g.k.trim()&&(t([g,...e]),m({k:"",v:"",tl:r}),d(!1),k(1))},j=q=>{let Z=(y-1)*C+q;if(Z>=0&&Z<e.length){let ne=e[Z];ne&&n(ne)}},V=q=>{let Z=q.target,ne=Z.files?.[0];ne&&P(ne),Z.value=""},G=()=>{let q=c5(e),Z=new Blob([q],{type:"text/csv"}),ne=URL.createObjectURL(Z),Y=document.createElement("a");Y.href=ne,Y.download=`${i}_glossary.csv`,document.body.appendChild(Y),Y.click(),setTimeout(()=>{document.body.removeChild(Y),URL.revokeObjectURL(ne)},0)},K=q=>{q?.target?.id===z+"-glossary-modal-overlay"&&d(!1)};return c("div",{children:[c("style",{children:`
          .glossary-table th, .glossary-table td {
              padding: 0.1rem 0.4rem; /* Reduced padding */
              font-size: 0.9rem; /* Reduced font size */
              vertical-align: middle; /* Align text vertically */
          }
          .glossary-table td textarea {
            border: 0px;
          }
          .glossary-table textarea, .glossary-table select {
              font-size: 0.9rem; /* Match font size */
              padding: 0.2rem 0.4rem; /* Adjust padding */
              margin-bottom: 0; /* Remove default pico margin */
          }
          .glossary-table textarea {
              min-height: auto; /* Allow textarea to shrink */
              line-height: 1.2; /* Adjust line height */
          }
          .glossary-table select {
              padding-right: calc(1.5rem + 0.4rem); /* Adjust icon padding for select */
          }
          .glossary-table td:last-child a {
              padding: 0.1rem 0.2rem; /* Reduced padding for delete icon */
          }

          @media (max-width: 768px) {
            .glossary-table th:nth-child(1) {
              width: 30%;
            }
            .glossary-table th:nth-child(2) {
              width: 30%;
            }
            .glossary-table th:nth-child(3) {
              width: 30%;
            }
            .glossary-table th:nth-child(4) {
              width: 10%;
            }
            /* Adjust padding for smaller icons/text on mobile */
            .glossary-table td:last-child a {
                padding: 0.05rem 0.1rem; /* Further reduce padding on mobile */
            }
            .glossary-table th, .glossary-table td {
                padding: 0.2rem 0.3rem; /* Smaller padding on mobile */
                font-size: 0.8rem; /* Smaller font on mobile */
            }
            .glossary-table textarea {
                 font-size: 0.8rem; /* Smaller font in textarea */
                 line-height: 1.1;
                 resize: none; /* Hide resize handle on mobile */
            }
            .glossary-table select {
                font-size: 0.8rem; /* Smaller font in select */
                padding: 0.1rem 0.2rem; /* Adjust padding */
                padding-right: calc(1.2rem + 0.2rem); /* Adjust icon padding */
            }
          }
        `}),c("div",{class:"grid",style:{marginBottom:"var(--spacing)"},children:c("div",{children:[c("input",{id:"import-glossary",type:"file",accept:".csv,.txt",style:{display:"none"},onChange:V}),c("a",{href:"javascript:void(0)",role:"button",class:"secondary",style:{marginRight:"var(--spacing)"},onClick:()=>document.getElementById("import-glossary")?.click(),children:[jh,a("pureImport")]}),c("a",{href:"javascript:void(0)",role:"button",style:{marginRight:"var(--spacing)"},onClick:G,children:[Uh,a("pureExport")]}),c("a",{href:"javascript:void(0)",role:"button",onClick:R,children:a("add")}),c("div",{class:`inline-flex items-center mr-4 max-[${xt}px]:mt-2`,children:[c("input",{type:"text",placeholder:a("searchPlaceholder"),value:f,onChange:q=>{p(q.target.value)},class:`pr-10 min-w-[200px] mx-4 max-[${xt}px]:ml-0`}),c("div",{onClick:()=>k(1),class:"bg-none border-none cursor-pointer w-auto mb-0",title:a("search"),children:c("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:c("path",{d:"M11.7422 10.3439C12.5329 9.2673 12.9501 7.9385 12.9501 6.5C12.9501 2.91015 10.0399 0 6.45005 0C2.8602 0 0 2.91015 0 6.5C0 10.0898 2.8602 13 6.45005 13C7.88855 13 9.21735 12.5828 10.2939 11.7921L14.3711 15.8693C14.7639 16.2621 15.3969 16.2621 15.7897 15.8693C16.1825 15.4765 16.1825 14.8435 15.7897 14.4507L11.7422 10.3439ZM6.45005 11C3.73543 11 1.5 8.76457 1.5 6.5C1.5 4.23543 3.73543 2 6.45005 2C9.16467 2 11.4001 4.23543 11.4001 6.5C11.4001 8.76457 9.16467 11 6.45005 11Z",fill:"#666666"})})})]})]})}),U&&c("blockquote",{style:{color:"var(--del-color)"},children:U}),x&&c("div",{style:{marginBottom:"var(--spacing)",fontSize:"0.9rem",color:"var(--muted-color)"},children:a("terms.searchResults",{count:h.length,total:e.length})}),c("div",{children:[c("table",{role:"grid",class:"glossary-table",children:[c("thead",{children:c("tr",{children:[c("th",{style:{width:"5%"}}),c("th",{style:{width:"30%"},children:[a("terms.term"),"(",x?h.length:e.length,")"]}),c("th",{style:{width:"30%"},children:a("terms.translation")}),c("th",{style:{width:"25%"},children:a("terms.language")}),c("th",{style:{width:"10%"},children:a("actions")})]})}),c("tbody",{children:[v.map((q,Z)=>{let ne=q.id??Z;return c("tr",{children:[c("td",{style:{fontSize:"0.8rem"},children:ne+1+(y-1)*C}),c("td",{children:c("textarea",{value:q.k,rows:1,placeholder:a("terms.termPlaceholder"),onChange:Y=>L(ne,"k",Y.target.value)})}),c("td",{children:c("textarea",{value:q.v,rows:1,placeholder:a("terms.translationPlaceholder"),onChange:Y=>L(ne,"v",Y.target.value)})}),c("td",{children:c("select",{value:q.tl||"auto",onChange:Y=>L(ne,"tl",Y.target.value==="auto"?"":Y.target.value),children:[c("option",{value:"auto",children:a("auto")}),F.filter(Y=>Y!=="auto").map(Y=>c("option",{value:Y,children:Et(Y,l?.interfaceLanguage)},`lang-${ne}-${Y}`))]})}),c("td",{children:c("a",{href:"javascript:void(0)",onClick:()=>j(ne),title:a("delete"),style:{display:"inline-flex",alignItems:"center",justifyContent:"center",padding:"0.25rem"},children:c(bn,{style:{width:32,height:32}})})})]},`${q.k}-${ne}`)}),c("tr",{hidden:e.length>0,children:c("td",{colSpan:5,style:{textAlign:"center",padding:"1rem"},children:a("noData")})})]})]}),c(Tj,{total:h.length,currentPage:y,totalPages:b,itemsPerPage:C,goToPrevPage:S,goToNextPage:T,onItemsPerPageChange:D})]}),u&&c("dialog",{id:z+"-glossary-modal-overlay",onClick:K,open:!0,children:c("article",{class:"add-modal",children:[c("a",{"aria-label":"Close",class:"close cursor-pointer","data-target":"modal-example",onClick:()=>d(!1)}),c("div",{class:"add-text",children:a("terms.addNewTerm")}),c("div",{children:[c("label",{children:a("terms.term")}),c("input",{type:"text",value:g.k,onInput:q=>m({...g,k:q.target.value}),placeholder:a("terms.termPlaceholder")})]}),c("div",{children:[c("label",{children:a("terms.translation")}),c("input",{type:"text",value:g.v,onInput:q=>m({...g,v:q.target.value}),placeholder:a("terms.translationPlaceholder")})]}),c("div",{children:[c("label",{children:a("terms.language")}),c("select",{value:g.tl,onChange:q=>m({...g,tl:q.target.value}),children:[c("option",{value:"auto",children:a("auto")}),F.filter(q=>q!=="auto").map(q=>c("option",{value:q,children:Et(q,l?.interfaceLanguage)},q))]})]}),c("div",{class:"flex",children:[c("div",{class:"footer-button",children:c("a",{href:"javascript:void(0)",role:"button",class:"full-button secondary margin-right","data-target":"modal-example",onClick:()=>d(!1),children:a("cancel")})}),c("div",{class:"footer-button",children:c("a",{href:"javascript:void(0)",role:"button",class:"full-button margin-left","data-target":"modal-example",onClick:A,children:a("confirm")})})]})]})})]})}function wC(){let e=nP(),{t}=H(),[n,r]=N(null),{settingsHookValue:i,config:a,ctx:o}=ct(),[s,l,u,d,g]=i,[m,f]=N(!1),[p,h]=N(null),x=$(!1),[y,b]=N(!0),[v,C]=N(!1);W(()=>{if(!e||!o?.rule||n||x.current)return;x.current=!0,(async()=>{let P=null,O=await ra(e);O?.id&&(P=O,b(!1),r(O),f(!0));let F=await le.getUserToken();if(o.isPro&&F&&P)try{let[L]=await m5([P],o,!1)||[];L&&(r(L),b(!1),M.debug(`Pro\u7528\u6237\u672F\u8BED\u5E93 ${e} \u540C\u6B65\u5B8C\u6210`))}catch(L){M.error(`\u540C\u6B65Pro\u7528\u6237\u672F\u8BED\u5E93 ${e} \u5931\u8D25:`,L)}if(P){let[L]=await f5([P],o.config)||[];L&&(r(L),b(!1))}if(!P&&(P=await u5(o?.config.termsBaseUrl||"",e),P)){let{glossaries:L}=await jc(o?.config.termsBaseUrl||"",["auto",o.targetLanguage||""],P);r({...P,glossaries:L}),b(!1)}if(P?.localLangsHash&&Dl(P)){let{glossaries:L}=await jc(o?.config.termsBaseUrl||"",Object.keys(P?.localLangsHash||{}),P);h(L)}b(!1)})()},[e,o,n,a?.targetLanguage]);let S=async B=>{r(B);let P={...B,lastUserOpTime:Date.now()+""};Vr(P);let O=await le.getUserToken();if(o?.isPro&&O)try{(async()=>{try{await c1([P]),P.glossaries?.length&&await l5(P.id,P.glossaries),M.debug(`\u6210\u529F\u5C06\u672F\u8BED\u5E93 ${P.id} \u7684\u66F4\u6539\u540C\u6B65\u5230\u670D\u52A1\u5668`)}catch(F){M.error(`\u540C\u6B65\u672F\u8BED\u5E93 ${P.id} \u5230\u670D\u52A1\u5668\u5931\u8D25:`,F)}})()}catch(F){M.error("\u540C\u6B65\u672F\u8BED\u5E93\u5230\u670D\u52A1\u5668\u5931\u8D25:",F)}},T=B=>{n&&S({...n,glossaries:B})},w=B=>{if(!n)return;let P={...n};if(Dl(n)&&p&&p.some(R=>R.k===B.k&&R.tl===B.tl)){let R=P.deleteRemoteGlossaries||[];R.some(A=>A.k===B.k&&A.tl===B.tl)||(P={...P,deleteRemoteGlossaries:[...R,B]})}let F=(P.glossaries||[]).filter(L=>!(L.k===B.k&&L.tl===B.tl));P={...P,glossaries:F},S(P)},E=n?.author!=="self",{name:k,description:D}=g1(a?.interfaceLanguage||"",n),U=Object.keys(n||{}).length>0;return c("div",{children:[c("div",{className:"flex flex-row justify-between mt-4 mb-2",children:[c("div",{className:"store-return",onClick:B=>{B.preventDefault(),window.location.href="#terms"},children:[c("a",{class:"back",href:"#"}),k,"\xA0",t("setting")]}),m&&c("div",{className:"cursor-pointer text-red-500",children:c("a",{"aria-busy":v,onClick:async B=>{if(B.preventDefault(),!(!e||v)&&globalThis.confirm(t("terms.confirmDelete",{name:k}))){C(!0);try{Dl(n)&&ae({key:"terms_switch",ctx:o,params:{ai_assistant:e,ai_assistant_use:"0"}}),await Lp(e),await rt(100),o?.isPro&&n&&await c1([n],!0),window.location.href="#terms"}catch(P){nt(P.message),M.error("Failed to delete terms:",P)}finally{C(!1)}}},children:t("terms.delete")})})]}),c(t1,{hidden:!y}),c("div",{className:"tipMsg",hidden:y||U,children:t("terms.notFound")}),c("div",{className:"mt-3",hidden:y||!U,children:[c("label",{children:t("terms.name")}),c("input",{className:"input",value:k,disabled:E,onChange:B=>{n&&S(d5(n,a?.targetLanguage||"","name",B.target.value||""))}})]}),c("div",{className:"mt-3",hidden:y||!U,children:[c("label",{children:t("terms.description")}),c("textarea",{className:"input",value:D,disabled:E,placeholder:t("terms.descriptionPlaceholder"),onChange:B=>{n&&S(d5(n,a?.targetLanguage||"","description",B.target.value))}})]}),n&&!y&&c(p0e,{termItem:n,onUpdateTerms:S}),n&&!y&&c(Sj,{glossaries:n?.glossaries||[],onGlossariesUpdate:T,onDeleteTerm:w,defaultLanguage:a?.targetLanguage,termsName:n.name})]})}function p0e({termItem:e,onUpdateTerms:t}){let{t:n}=H(),[r,i]=N(0),[a,o]=N(""),[s,l]=N(!1),u=(m,f)=>{if(l(!s),f==="edit"){let h=[...e.matches||[]];h[r]=m,t({...e,matches:h})}else{let p=e.matches||[],h=Jt(m,p);t({...e,matches:h})}},d=m=>{let p=[...e.matches||[]];m.forEach(h=>{p=Ut(h,p)}),t({...e,matches:p})},g=(m,f,p)=>{l(!s),o(m),i(p)};return c(ie,{children:c("div",{className:"mb-4",children:[c("div",{className:"nav",children:[c("label",{children:n("terms.matches")}),c("div",{className:"nav-right",children:c("a",{href:"#",role:"button",className:"add-button secondary outline",onClick:m=>{m.preventDefault(),o(""),i(0),l(!s)},children:n("add")})})]}),s&&c(Ir,{toggleModal:m=>{m.preventDefault(),l(!s)},onAddInterfaceUrl:(m,f)=>{u(m,f)},urlValue:a,index:r}),c(qr,{urls:e.matches?.length?e.matches:["*"],type:"matches",onDeleteUrl:m=>{d(m)},onEditUrl:g})]})})}var Aj="imt:options:enableReview";function kj(e){if(!e)return!1;try{let t=new URL(globalThis.location.href).searchParams.get("enableReview");if(t===null)return wj()||!1;let n=t.trim().toLowerCase();if(n==="1"||n==="true")return Ej(!0),!0;if(n==="0"||n==="false")return Ej(!1),!1}catch{return wj()||!1}return!1}function wj(){try{let e=globalThis.localStorage.getItem(Aj);if(e==="1")return!0;if(e==="0")return!1}catch{}return null}function Ej(e){try{globalThis.localStorage.setItem(Aj,e?"1":"0")}catch{}}var Uo=1200;function h0e(e){let t=wo(),{t:n,lang:r}=H(),{config:i}=e,a=sn(i,e.ctx.isPro),o=i.generalRule?.imageRule?.enable;y0e(r),v0e(),W(()=>{YP("s").catch(g=>{M.debug("warmup static host failed",g)})},[]);let s=x0e(e.ctx,i,t);b0e(t);let l=!0;Mt()&&(l=i.generalRule.showSponsorOnSafari);let u={"#terms":SC,"#terms/:id":wC,"#selection_translation":e5,"#writing":t5,"#general":r1,"#services":Q6,"#ai":J6,"#mouse_hover":yC,"#input":$6,"#shortcuts":vC,"#floating":bC,"#import_export":p5,"#about":x5,"#advanced":C5,"#developer":n5,"#subtitle":E5,"#manga":TC,"#contact":T5,"#download_config":xC};o||delete u["#manga"];let d=Lt(e.ctx.config.rtlLanguages,i.interfaceLanguage);return c(pt,{children:[c(CC,{config:i,ctx:e.ctx}),c(ie,{children:c("main",{class:"container-fluid flex-1",dir:d?"rtl":"ltr",onTouchStart:Do.bind(null,!0),onMouseDown:Do.bind(null,!1),children:[c("aside",{class:`min-[${Uo}px]:mt-6`,children:c("nav",{class:`menu-nav flex flex-col h-full justify-between min-[${Uo}px]:pr-2`,children:[c("div",{class:`max-[${Uo}px]:px-2`,children:c("ul",{class:`flex flex-wrap flex-start min-[${Uo}px]:block min-[${Uo}px]:text-base`,children:s.map((g,m)=>c("li",{class:"li",children:c("a",{...g.props,children:g.name})},`nav-${m}`))})}),c("div",{class:`flex flex-wrap min-[${Uo}px]:flex-col max-[${Uo}px]:px-4`,children:[l&&c("a",{class:"py-3 no-focus secondary mr-2",href:e.donateUrl,onClick:g=>{g.preventDefault(),mi(e.donateUrl)},children:n("donateCafe")}),c("a",{class:"py-3 no-focus secondary  mr-2",href:_.DOC_USAGE_URL,hidden:a,onClick:g=>{g.preventDefault(),mi(_.DOC_USAGE_URL)},children:n("document")}),c("a",{class:"py-3 no-focus secondary  mr-2",hidden:a,href:_.BASE_SITE+"changelog/",onClick:g=>{g.preventDefault(),mi(_.BASE_SITE+"changelog/")},children:n("changelog")}),c("a",{class:"py-3 no-focus secondary  mr-2",href:_.DOC_COMMUNITIES,hidden:a,onClick:g=>{g.preventDefault(),mi(_.DOC_COMMUNITIES)},children:n("feedbackAndJoin")}),r!=="zh-CN"&&c("a",{class:"py-3 no-focus secondary  mr-2",target:"_blank",hidden:a,href:`https://weblate.${_.HOST_NAME}/browse/${z}/extension/${r}/`,children:n("helpToTranslate")}),c("a",{class:"py-3 no-focus secondary  mr-2",href:"#developer",hidden:a,children:n("developer")})]})]})}),c("div",{role:"main",class:`relative max-[${Uo}px]:px-4 min-[${Uo}px]:pt-6`,children:c(Qb,{value:t,defaultCase:r1,cases:u})})]})})]})}async function Mj(){ea({type:"options"},()=>{},{registerSender:!0}),oF(),await j6();let e=document.getElementById("mount");e&&(e.classList.add("min-h-screen","flex","flex-col"),(async()=>{J3(dR);let t=await We();if(location.href.includes(_.DASH_BASE_URL)&&t.joinJobs){let a=KS.replace("{jobs}",t.joinJobs.map(o=>`    \u2022 ${o}`).join(`
`))}t.debug&&M.setLevel("debug"),document.documentElement.lang=t.interfaceLanguage||"en",globalThis.location.hash||(globalThis.location.hash="#general");let n=await Wr({url:"http://localhost",config:t});ae({key:"options_page_view",ctx:{...n,sourceLanguage:globalThis.location.hash}}),ys(document,n);let r=location.href.startsWith(_.DASH_BASE_URL),i=kj(r);tn(c(Pi,{lang:t.interfaceLanguage,enableReview:i,children:c(h0e,{donateUrl:t.donateUrl,config:t,ctx:n})}),e)})())}function y0e(e){W(()=>{e&&(document.documentElement.lang=e)},[e])}function b0e(e){let t=$(0),n=$(0),r=$(),i=re(async()=>{if(!r.current){r.current=e,t.current=Date.now();return}t.current&&(n.current+=Date.now()-t.current),await XA({pageTitle:r.current,pageLocation:r.current,time:n.current}),n.current=0,r.current=e,t.current=Date.now()},[t,n,r,e]);W(()=>{let a=()=>{document.hidden?(t.current&&(n.current+=Date.now()-t.current),t.current=0):t.current=Date.now()};return i(),globalThis.addEventListener("visibilitychange",a),()=>{globalThis.removeEventListener("visibilitychange",a)}},[i]),W(()=>{let a=async()=>(await i(),!0);return globalThis.addEventListener("beforeunload",a),()=>{globalThis.removeEventListener("beforeunload",a)}},[i])}function v0e(){let e=fn(),[t,n]=e;W(()=>{if(!t||!n)return;(async()=>{try{let i=new URL(globalThis.location.href),a=i.searchParams.get("token");if(!a||(i.searchParams.delete("token"),globalThis.history.replaceState(null,"",i.toString()),(await le.getUserInfo())?.token===a))return;let s=await it();await vi(s),n(s,{syncToRemote:!1})}catch{}})()},[t,n]),W(()=>{it().then(r=>{za(r,vi,n)})},[])}function x0e(e,t,n){let r=On(),i=dt(r,"1.16.1"),{t:a,lang:o}=H(),{beta:s}=t,l=sn(t,e.isPro),u=t.generalRule?.imageRule?.enable,d=[{name:a("general"),props:{href:"#general",className:"secondary"}},{name:a("translationServiceNav"),props:{href:"#services",className:"secondary"}},...s||t.enableAiAssistant?[{name:a("field.assistant"),props:{href:"#ai",className:"secondary"}}]:[],...i?[{name:a("field.terms"),props:{href:"#terms",className:"secondary"}}]:[],...Se().any||Sd(e)?[]:[{name:a("aiWriting.title"),props:{href:"#writing",className:"secondary"}}],{name:a("subtitle"),props:{href:"#subtitle",className:"secondary"}},...u&&!l?[{name:Da(e,!0)?a("mangaAndImage"):a("manga"),props:{href:"#manga",className:"secondary"}}]:[],{name:a("inputOptions"),props:{href:"#input",className:"secondary"}},...Se().any||Ae()?[]:[{name:a("selectionTranslation"),props:{href:"#selection_translation",className:"secondary"}}],{name:a("mouseHoverOptions"),props:{href:"#mouse_hover",className:"secondary"}},{name:a("floatBallOptions"),props:{href:"#floating",className:"secondary"}},{name:a("shortcutSettings"),props:{href:"#shortcuts",className:"secondary"}},{name:a("advanced"),props:{href:"#advanced",className:"secondary"}},{name:a("import_export"),props:{href:"#import_export",className:"secondary"}},{name:a("about"),props:{href:"#about",className:"secondary"}}];return o.startsWith("zh")||d.splice(d.length-1,0,{name:a("contact"),props:{href:"#contact",className:"secondary"}}),d.forEach(g=>{if(g.props.href==="#services"){if(!n.startsWith("#services"))return;g.props.className="primary",g.props["aria-current"]="page";return}if(g.props.href==="#ai"){if(!n.startsWith("#ai"))return;g.props.className="primary",g.props["aria-current"]="page";return}n===g.props.href&&(g.props.className="primary",g.props["aria-current"]="page")}),d}Mj();})();
/*! 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:

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 *)
*/
/*!
 * Toastify js 1.12.0
 * https://github.com/apvarun/toastify-js
 * @license MIT licensed
 *
 * Copyright (C) 2018 Varun A P
 */
/*! 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.
   *)
*/
