BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr
Added multi-language page settings
zdm5dc3989b4662
diff --git a/core/public/dist/index.html b/core/public/dist/index.htmlindex 40e61ae4..5c552709 100644--- a/core/public/dist/index.html+++ b/core/public/dist/index.html@@ -8,7 +8,7 @@<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /><meta name="naive-ui-style" /><title>BillionMail</title>- <script defer src="/static/js/lib-axios.a492ca1d.js"></script><script defer src="/static/js/lib-vue.1514baec.js"></script><script defer src="/static/js/lib-router.1d9495fc.js"></script><script defer src="/static/js/3530.fdbc425d.js"></script><script defer src="/static/js/index.9aa7fe0f.js"></script><link href="/static/css/index.09684823.css" rel="stylesheet"></head>+ <script defer src="/static/js/lib-axios.a492ca1d.js"></script><script defer src="/static/js/lib-vue.1514baec.js"></script><script defer src="/static/js/lib-router.1d9495fc.js"></script><script defer src="/static/js/3530.fdbc425d.js"></script><script defer src="/static/js/index.45f99906.js"></script><link href="/static/css/index.a24581de.css" rel="stylesheet"></head><body><div id="root"></div></body>diff --git a/core/public/dist/static/css/async/1430.ca21fa0f.css b/core/public/dist/static/css/async/1430.ca21fa0f.cssdeleted file mode 100644index ca10c3af..00000000--- a/core/public/dist/static/css/async/1430.ca21fa0f.css+++ /dev/null@@ -1 +0,0 @@-.bt-tips[data-v-8731a1b4] li{margin-left:1.5em;list-style:outside}[data-v-c97e6920],[data-v-c97e6920]:before{box-sizing:border-box}html[data-v-c97e6920],body[data-v-c97e6920],#root[data-v-c97e6920]{width:100%;height:100%}body[data-v-c97e6920]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-c97e6920]::-ms-reveal{display:none}a[data-v-c97e6920]{text-decoration:none}p[data-v-c97e6920],ul[data-v-c97e6920],pre[data-v-c97e6920]{margin:0;padding:0}pre[data-v-c97e6920]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-c97e6920]{border:none;outline:none}[data-v-c97e6920]::-webkit-scrollbar{width:10px;height:10px}[data-v-c97e6920]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-c97e6920]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-c97e6920]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-c97e6920]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff}:root[theme-mode=dark][data-v-c97e6920]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424}div.n-card[data-v-c97e6920]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-c97e6920]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-c97e6920]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-c97e6920]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-c97e6920]{display:none}.n-radio-group.n-radio-group--button-group[data-v-c97e6920]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-c97e6920]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-c97e6920]{margin-left:16px}.wrapper[data-v-c97e6920]{flex-direction:column;justify-content:center;align-items:center;gap:20px;height:153px;display:flex}.wrapper .creation-methods[data-v-c97e6920]{border-bottom:1px solid var(--color-border-1);flex-direction:row;justify-content:center;align-items:center;gap:25px;width:90%;display:flex}.wrapper .creation-methods .choose-item[data-v-c97e6920]{cursor:pointer;color:var(--color-text-2);box-sizing:border-box;flex-direction:row;justify-content:start;align-items:center;gap:5px;padding:6px 15px;transition:all .1s ease-in-out;display:flex}.wrapper .creation-methods .choose-item .item-label[data-v-c97e6920]{font-size:16px;transition:all .2s ease-in-out}.wrapper .creation-methods .choose-item[data-v-c97e6920]:hover{color:var(--color-primary-1)}.wrapper .creation-methods .choose-item.active[data-v-c97e6920]{color:var(--color-primary-1);border-bottom:2px solid var(--color-primary-1);font-weight:700;transform:scale(1.3)translateY(-5px)}.wrapper .url-source[data-v-c97e6920]{flex-direction:row;justify-content:start;align-items:center;gap:10px;width:90%;display:flex}.wrapper .url-source.hidden[data-v-c97e6920]{visibility:hidden}.wrapper .desc[data-v-c97e6920]{width:90%;color:var(--color-text-3);font-size:14px}[data-v-6ab5f7fe],[data-v-6ab5f7fe]:before{box-sizing:border-box}html[data-v-6ab5f7fe],body[data-v-6ab5f7fe],#root[data-v-6ab5f7fe]{width:100%;height:100%}body[data-v-6ab5f7fe]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-6ab5f7fe]::-ms-reveal{display:none}a[data-v-6ab5f7fe]{text-decoration:none}p[data-v-6ab5f7fe],ul[data-v-6ab5f7fe],pre[data-v-6ab5f7fe]{margin:0;padding:0}pre[data-v-6ab5f7fe]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-6ab5f7fe]{border:none;outline:none}[data-v-6ab5f7fe]::-webkit-scrollbar{width:10px;height:10px}[data-v-6ab5f7fe]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-6ab5f7fe]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-6ab5f7fe]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-6ab5f7fe]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff}:root[theme-mode=dark][data-v-6ab5f7fe]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424}div.n-card[data-v-6ab5f7fe]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-6ab5f7fe]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-6ab5f7fe]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-6ab5f7fe]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-6ab5f7fe]{display:none}.n-radio-group.n-radio-group--button-group[data-v-6ab5f7fe]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-6ab5f7fe]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-6ab5f7fe]{margin-left:16px}.content-wrapper[data-v-6ab5f7fe]{width:866px;margin:0 auto;padding-top:32px}.content-wrapper .page-tit[data-v-6ab5f7fe]{flex-direction:row;justify-content:space-between;align-items:center;gap:5px;display:flex}.content-wrapper .page-tit .left-tit[data-v-6ab5f7fe]{flex-direction:row;justify-content:start;align-items:center;gap:8px;display:flex}.content-wrapper .page-tit .left-tit .back-tool[data-v-6ab5f7fe]{color:var(--color-primary-1);cursor:pointer;flex-direction:row;justify-content:start;align-items:center;gap:5px;transition:all .1s ease-in-out;display:flex}.content-wrapper .page-tit .left-tit .back-tool .back-btn[data-v-6ab5f7fe]{font-size:18px}.content-wrapper .page-tit .left-tit .tit-content[data-v-6ab5f7fe]{color:var(--color-text-1);font-size:16px;font-weight:700}.content-wrapper .form-label[data-v-6ab5f7fe]{color:var(--color-text-2);font-size:14px}.content-wrapper .switch-settings .switch-item[data-v-6ab5f7fe]{flex-direction:row;justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.content-wrapper .switch-settings .switch-item .label[data-v-6ab5f7fe]{color:var(--color-text-2);font-size:14px;font-weight:700}.content-wrapper .close[data-v-6ab5f7fe]{background:var(--color-bg-1);border:1px solid var(--color-border-1);width:34px;height:34px;color:var(--color-text-2);cursor:pointer;border-radius:5px;flex-direction:row;justify-content:center;align-items:center;transition:all .2s ease-in-out;display:flex}.content-wrapper .close.close[data-v-6ab5f7fe]{border-color:var(--color-error-1);color:var(--color-error-1)}.content-wrapper .close.close[data-v-6ab5f7fe]:hover{color:#fff;background:var(--color-error-1)}\ No newline at end of filediff --git a/core/public/dist/static/css/async/192.8b48314d.css b/core/public/dist/static/css/async/192.8b48314d.cssdeleted file mode 100644index 12149719..00000000--- a/core/public/dist/static/css/async/192.8b48314d.css+++ /dev/null@@ -1 +0,0 @@-[data-v-55feeab4],[data-v-55feeab4]:before{box-sizing:border-box}html[data-v-55feeab4],body[data-v-55feeab4],#root[data-v-55feeab4]{width:100%;height:100%}body[data-v-55feeab4]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-55feeab4]::-ms-reveal{display:none}a[data-v-55feeab4]{text-decoration:none}p[data-v-55feeab4],ul[data-v-55feeab4],pre[data-v-55feeab4]{margin:0;padding:0}pre[data-v-55feeab4]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-55feeab4]{border:none;outline:none}[data-v-55feeab4]::-webkit-scrollbar{width:10px;height:10px}[data-v-55feeab4]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-55feeab4]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-55feeab4]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-55feeab4]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff}:root[theme-mode=dark][data-v-55feeab4]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424}div.n-card[data-v-55feeab4]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-55feeab4]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-55feeab4]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-55feeab4]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-55feeab4]{display:none}.n-radio-group.n-radio-group--button-group[data-v-55feeab4]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-55feeab4]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-55feeab4]{margin-left:16px}.wrapper[data-v-55feeab4]{box-sizing:border-box;grid-template-rows:40px 45px 1fr 80px;height:calc(100% - 48px);padding:24px;display:grid}.footer-tool[data-v-55feeab4]{background:#fff;flex-direction:row;justify-content:flex-start;align-items:center;width:100%;height:80px;padding:0 20px;display:flex;position:absolute;bottom:0;left:0}.page-tit[data-v-55feeab4]{flex-direction:row;justify-content:start;align-items:center;gap:15px;margin-bottom:20px;display:flex}.page-tit .back-tool[data-v-55feeab4]{color:var(--color-primary-1);cursor:pointer;flex-direction:row;justify-content:start;align-items:center;gap:5px;transition:all .1s ease-in-out;display:flex}.page-tit .back-tool[data-v-55feeab4]:hover{color:var(--color-primary-3)}.page-tit .back-tool .back-btn[data-v-55feeab4]{font-size:18px}.page-tit .tit-content[data-v-55feeab4]{color:var(--color-text-1);font-size:18px;font-weight:700}.content-tabs[data-v-55feeab4]{border-bottom:1px solid var(--color-border-1);flex-direction:row;justify-content:start;align-items:center;width:100%;height:46px;display:flex}.content-tabs .tab-item[data-v-55feeab4]{cursor:pointer;flex-direction:column;justify-content:center;align-items:center;height:100%;padding:0 20px;font-size:14px;transition:color .1s ease-in-out;display:flex}.content-tabs .tab-item[data-v-55feeab4]:hover{color:var(--color-primary-1)}.content-tabs .tab-item.active[data-v-55feeab4]{border-bottom:2px solid var(--color-primary-1);margin-bottom:-2px}.dynamic-content[data-v-55feeab4]{box-sizing:border-box;height:calc(100vh - 240px);padding:20px}\ No newline at end of filediff --git a/core/public/dist/static/css/async/5052.d68fdc8e.css b/core/public/dist/static/css/async/2102.d68fdc8e.csssimilarity index 100%rename from core/public/dist/static/css/async/5052.d68fdc8e.cssrename to core/public/dist/static/css/async/2102.d68fdc8e.cssdiff --git a/core/public/dist/static/css/async/3324.d81793cd.css b/core/public/dist/static/css/async/3324.d81793cd.cssnew file mode 100644index 00000000..2e58b569--- /dev/null+++ b/core/public/dist/static/css/async/3324.d81793cd.css@@ -0,0 +1 @@+[data-v-8e415c6e],[data-v-8e415c6e]:before{box-sizing:border-box}html[data-v-8e415c6e],body[data-v-8e415c6e],#root[data-v-8e415c6e]{width:100%;height:100%}body[data-v-8e415c6e]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-8e415c6e]::-ms-reveal{display:none}a[data-v-8e415c6e]{text-decoration:none}p[data-v-8e415c6e],ul[data-v-8e415c6e],pre[data-v-8e415c6e]{margin:0;padding:0}pre[data-v-8e415c6e]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-8e415c6e]{border:none;outline:none}[data-v-8e415c6e]::-webkit-scrollbar{width:10px;height:10px}[data-v-8e415c6e]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-8e415c6e]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-8e415c6e]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-8e415c6e]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff;--color-command:#101010}:root[theme-mode=dark][data-v-8e415c6e]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424;--color-command:#101010}div.n-card[data-v-8e415c6e]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-8e415c6e]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-8e415c6e]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-8e415c6e]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-8e415c6e]{display:none}.n-radio-group.n-radio-group--button-group[data-v-8e415c6e]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-8e415c6e]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-8e415c6e]{margin-left:16px}.content-wrapper[data-v-8e415c6e]{width:866px;margin:0 auto;padding-top:32px}.content-wrapper .page-tit[data-v-8e415c6e]{flex-direction:row;justify-content:space-between;align-items:center;gap:5px;display:flex}.content-wrapper .page-tit .left-tit[data-v-8e415c6e]{flex-direction:row;justify-content:start;align-items:center;gap:8px;display:flex}.content-wrapper .page-tit .left-tit .back-tool[data-v-8e415c6e]{color:var(--color-primary-1);cursor:pointer;flex-direction:row;justify-content:start;align-items:center;gap:5px;transition:all .1s ease-in-out;display:flex}.content-wrapper .page-tit .left-tit .back-tool .back-btn[data-v-8e415c6e]{font-size:18px}.content-wrapper .page-tit .left-tit .tit-content[data-v-8e415c6e]{color:var(--color-text-1);font-size:16px;font-weight:700}.content-wrapper .form-label[data-v-8e415c6e]{color:var(--color-text-2);font-size:14px}.content-wrapper .sub-tit[data-v-8e415c6e]{color:var(--color-text-1)}.content-wrapper .form-desc[data-v-8e415c6e]{border:1px solid var(--color-border-1)}.content-wrapper .form-desc .container[data-v-8e415c6e]{flex-direction:column;justify-content:start;align-items:flex-start;gap:10px;display:flex}.content-wrapper .form-desc .container .desc[data-v-8e415c6e]{color:var(--color-text-1);font-size:14px}.content-wrapper .attention .attention-tit[data-v-8e415c6e]{margin-bottom:10px}.content-wrapper .attention .attention-item[data-v-8e415c6e]{padding-left:10px;position:relative}.content-wrapper .attention .attention-item[data-v-8e415c6e]:before{content:"";background:var(--color-text-2);border-radius:50%;width:4px;height:4px;display:block;position:absolute;top:7px;left:0}\ No newline at end of filediff --git a/core/public/dist/static/css/async/3324.e59851da.css b/core/public/dist/static/css/async/3324.e59851da.cssdeleted file mode 100644index bc31eb43..00000000--- a/core/public/dist/static/css/async/3324.e59851da.css+++ /dev/null@@ -1 +0,0 @@-[data-v-8e415c6e],[data-v-8e415c6e]:before{box-sizing:border-box}html[data-v-8e415c6e],body[data-v-8e415c6e],#root[data-v-8e415c6e]{width:100%;height:100%}body[data-v-8e415c6e]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-8e415c6e]::-ms-reveal{display:none}a[data-v-8e415c6e]{text-decoration:none}p[data-v-8e415c6e],ul[data-v-8e415c6e],pre[data-v-8e415c6e]{margin:0;padding:0}pre[data-v-8e415c6e]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-8e415c6e]{border:none;outline:none}[data-v-8e415c6e]::-webkit-scrollbar{width:10px;height:10px}[data-v-8e415c6e]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-8e415c6e]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-8e415c6e]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-8e415c6e]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff}:root[theme-mode=dark][data-v-8e415c6e]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424}div.n-card[data-v-8e415c6e]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-8e415c6e]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-8e415c6e]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-8e415c6e]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-8e415c6e]{display:none}.n-radio-group.n-radio-group--button-group[data-v-8e415c6e]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-8e415c6e]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-8e415c6e]{margin-left:16px}.content-wrapper[data-v-8e415c6e]{width:866px;margin:0 auto;padding-top:32px}.content-wrapper .page-tit[data-v-8e415c6e]{flex-direction:row;justify-content:space-between;align-items:center;gap:5px;display:flex}.content-wrapper .page-tit .left-tit[data-v-8e415c6e]{flex-direction:row;justify-content:start;align-items:center;gap:8px;display:flex}.content-wrapper .page-tit .left-tit .back-tool[data-v-8e415c6e]{color:var(--color-primary-1);cursor:pointer;flex-direction:row;justify-content:start;align-items:center;gap:5px;transition:all .1s ease-in-out;display:flex}.content-wrapper .page-tit .left-tit .back-tool .back-btn[data-v-8e415c6e]{font-size:18px}.content-wrapper .page-tit .left-tit .tit-content[data-v-8e415c6e]{color:var(--color-text-1);font-size:16px;font-weight:700}.content-wrapper .form-label[data-v-8e415c6e]{color:var(--color-text-2);font-size:14px}.content-wrapper .sub-tit[data-v-8e415c6e]{color:var(--color-text-1)}.content-wrapper .form-desc[data-v-8e415c6e]{border:1px solid var(--color-border-1)}.content-wrapper .form-desc .container[data-v-8e415c6e]{flex-direction:column;justify-content:start;align-items:flex-start;gap:10px;display:flex}.content-wrapper .form-desc .container .desc[data-v-8e415c6e]{color:var(--color-text-1);font-size:14px}.content-wrapper .attention .attention-tit[data-v-8e415c6e]{margin-bottom:10px}.content-wrapper .attention .attention-item[data-v-8e415c6e]{padding-left:10px;position:relative}.content-wrapper .attention .attention-item[data-v-8e415c6e]:before{content:"";background:var(--color-text-2);border-radius:50%;width:4px;height:4px;display:block;position:absolute;top:7px;left:0}\ No newline at end of filediff --git a/core/public/dist/static/css/async/3635.c76f3182.css b/core/public/dist/static/css/async/3635.c76f3182.cssnew file mode 100644index 00000000..258eb60e--- /dev/null+++ b/core/public/dist/static/css/async/3635.c76f3182.css@@ -0,0 +1 @@+[data-v-3e6fdcc4],[data-v-3e6fdcc4]:before{box-sizing:border-box}html[data-v-3e6fdcc4],body[data-v-3e6fdcc4],#root[data-v-3e6fdcc4]{width:100%;height:100%}body[data-v-3e6fdcc4]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-3e6fdcc4]::-ms-reveal{display:none}a[data-v-3e6fdcc4]{text-decoration:none}p[data-v-3e6fdcc4],ul[data-v-3e6fdcc4],pre[data-v-3e6fdcc4]{margin:0;padding:0}pre[data-v-3e6fdcc4]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-3e6fdcc4]{border:none;outline:none}[data-v-3e6fdcc4]::-webkit-scrollbar{width:10px;height:10px}[data-v-3e6fdcc4]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-3e6fdcc4]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-3e6fdcc4]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-3e6fdcc4]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff;--color-command:#101010}:root[theme-mode=dark][data-v-3e6fdcc4]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424;--color-command:#101010}div.n-card[data-v-3e6fdcc4]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-3e6fdcc4]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-3e6fdcc4]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-3e6fdcc4]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-3e6fdcc4]{display:none}.n-radio-group.n-radio-group--button-group[data-v-3e6fdcc4]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-3e6fdcc4]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-3e6fdcc4]{margin-left:16px}.manager-wrapper[data-v-3e6fdcc4]{grid-template-columns:230px 1fr;display:grid}.manager-wrapper .left-provider[data-v-3e6fdcc4]{border-right:1px solid var(--color-border-2);grid-template-rows:1fr 60px;height:100%;display:grid}.manager-wrapper .left-provider .provider-list[data-v-3e6fdcc4]{flex-direction:column;align-items:center;gap:0;display:flex}.manager-wrapper .left-provider .provider-list .provider-item[data-v-3e6fdcc4]{box-sizing:border-box;border-bottom:1px solid var(--color-border-1);cursor:pointer;flex-direction:row;justify-content:start;align-items:center;gap:5px;width:100%;height:50px;padding-left:10px;transition:all .15s ease-in-out;display:flex}.manager-wrapper .left-provider .provider-list .provider-item .tit[data-v-3e6fdcc4]{font-size:14px;font-weight:700}.manager-wrapper .left-provider .provider-list .provider-item[data-v-3e6fdcc4]:hover,.manager-wrapper .left-provider .provider-list .provider-item.active[data-v-3e6fdcc4]{background:var(--color-primary-2)}.manager-wrapper .left-provider .provider-list .provider-item .item-icon[data-v-3e6fdcc4]{flex-direction:row;justify-content:center;align-items:center;width:32px;display:flex}.manager-wrapper .left-provider .provider-list .provider-item .status[data-v-3e6fdcc4]{background:var(--color-text-3);border-radius:50%;width:8px;height:8px;display:block}.manager-wrapper .left-provider .provider-list .provider-item .status.active[data-v-3e6fdcc4]{background:var(--color-primary-1)}.manager-wrapper .left-provider .add-privider[data-v-3e6fdcc4]{flex-direction:row;justify-content:center;align-items:center;display:flex}.manager-wrapper .right-configuration[data-v-3e6fdcc4]{padding:0 15px 15px}.manager-wrapper .right-configuration .top-switch[data-v-3e6fdcc4]{border-bottom:1px solid var(--color-border-2);flex-direction:row;justify-content:space-between;align-items:center;height:50px;display:flex}.manager-wrapper .right-configuration .top-switch .switch-info[data-v-3e6fdcc4]{flex-direction:row;justify-content:start;align-items:center;gap:5px;display:flex}.manager-wrapper .right-configuration .top-switch .switch-info .tit[data-v-3e6fdcc4]{font-size:14px;font-weight:700}.manager-wrapper .right-configuration .center-api[data-v-3e6fdcc4]{border-bottom:1px solid var(--color-border-2);padding-bottom:15px}.manager-wrapper .right-configuration .bottom-model-list[data-v-3e6fdcc4]{margin-top:15px}.manager-wrapper .right-configuration .bottom-model-list .header-tit[data-v-3e6fdcc4]{flex-direction:row;justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.manager-wrapper .right-configuration .bottom-model-list .header-tit .tit[data-v-3e6fdcc4]{margin-right:5px;font-size:14px;font-weight:700}.manager-wrapper .right-configuration .bottom-model-list .header-tit .sub-tit[data-v-3e6fdcc4]{color:var(--color-text-3)}.manager-wrapper .right-configuration .bottom-model-list .header-tit .add-model[data-v-3e6fdcc4]{cursor:pointer;flex-direction:row;justify-content:start;align-items:center;gap:5px;display:flex}.manager-wrapper .right-configuration .bottom-model-list .header-tit .add-model .tit[data-v-3e6fdcc4]{font-size:14px}.manager-wrapper .right-configuration .bottom-model-list .model-list[data-v-3e6fdcc4]{flex-direction:column;justify-content:flex-start;align-items:center;display:flex}.manager-wrapper .right-configuration .bottom-model-list .model-list .model-item[data-v-3e6fdcc4]{cursor:pointer;flex-direction:row;justify-content:space-between;align-items:center;width:100%;padding:10px 5px;transition:all .15s ease-in-out;display:flex}.manager-wrapper .right-configuration .bottom-model-list .model-list .model-item i.active[data-v-3e6fdcc4]{color:var(--color-primary-1)}.manager-wrapper .right-configuration .bottom-model-list .model-list .model-item .model-name[data-v-3e6fdcc4]{font-size:14px;font-weight:700}.manager-wrapper .right-configuration .bottom-model-list .model-list .model-item[data-v-3e6fdcc4]:hover{background:#eef9ee}.manager-wrapper .right-configuration .bottom-model-list .model-list .model-item .operation[data-v-3e6fdcc4]{flex-direction:row;justify-content:start;align-items:center;gap:10px;display:flex}.customer-modal .n-card__content{padding:0!important}[data-v-c50590a6],[data-v-c50590a6]:before{box-sizing:border-box}html[data-v-c50590a6],body[data-v-c50590a6],#root[data-v-c50590a6]{width:100%;height:100%}body[data-v-c50590a6]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-c50590a6]::-ms-reveal{display:none}a[data-v-c50590a6]{text-decoration:none}p[data-v-c50590a6],ul[data-v-c50590a6],pre[data-v-c50590a6]{margin:0;padding:0}pre[data-v-c50590a6]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-c50590a6]{border:none;outline:none}[data-v-c50590a6]::-webkit-scrollbar{width:10px;height:10px}[data-v-c50590a6]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-c50590a6]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-c50590a6]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-c50590a6]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff;--color-command:#101010}:root[theme-mode=dark][data-v-c50590a6]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424;--color-command:#101010}div.n-card[data-v-c50590a6]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-c50590a6]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-c50590a6]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-c50590a6]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-c50590a6]{display:none}.n-radio-group.n-radio-group--button-group[data-v-c50590a6]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-c50590a6]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-c50590a6]{margin-left:16px}.page-tit[data-v-c50590a6]{flex-direction:row;justify-content:space-between;align-items:center;gap:5px;display:flex}.page-tit .left-tit[data-v-c50590a6]{flex-direction:row;justify-content:start;align-items:center;gap:8px;display:flex}.page-tit .left-tit .back-tool[data-v-c50590a6]{color:var(--color-primary-1);cursor:pointer;flex-direction:row;justify-content:start;align-items:center;gap:5px;transition:all .1s ease-in-out;display:flex}.page-tit .left-tit .back-tool .back-btn[data-v-c50590a6]{font-size:18px}.page-tit .left-tit .tit-content[data-v-c50590a6]{color:var(--color-text-1);font-size:16px;font-weight:700}.model-item .item-header[data-v-c50590a6]{flex-direction:row;justify-content:space-between;align-items:center;display:flex}.model-item .item-header .header-left[data-v-c50590a6]{flex-direction:row;justify-content:start;align-items:center;gap:10px;display:flex}.model-item .item-header .header-left .model-tit[data-v-c50590a6]{font-size:16px;font-weight:700}.model-item .item-header .header-right .remove-model[data-v-c50590a6]{cursor:pointer;flex-direction:row;justify-content:center;align-items:center;padding:5px;transition:all .15s ease-in-out;display:flex}.model-item .item-header .header-right .remove-model[data-v-c50590a6]:hover{background:var(--color-bg-4)}.model-item .item-desc[data-v-c50590a6]{flex-direction:row;justify-content:start;align-items:center;gap:15px;display:flex}.model-item .item-desc .label[data-v-c50590a6]{font-weight:700}\ No newline at end of filediff --git a/core/public/dist/static/css/async/5607.e0927d46.css b/core/public/dist/static/css/async/5607.e0927d46.cssdeleted file mode 100644index a605ec40..00000000--- a/core/public/dist/static/css/async/5607.e0927d46.css+++ /dev/null@@ -1 +0,0 @@-[data-v-3e6fdcc4],[data-v-3e6fdcc4]:before{box-sizing:border-box}html[data-v-3e6fdcc4],body[data-v-3e6fdcc4],#root[data-v-3e6fdcc4]{width:100%;height:100%}body[data-v-3e6fdcc4]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-3e6fdcc4]::-ms-reveal{display:none}a[data-v-3e6fdcc4]{text-decoration:none}p[data-v-3e6fdcc4],ul[data-v-3e6fdcc4],pre[data-v-3e6fdcc4]{margin:0;padding:0}pre[data-v-3e6fdcc4]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-3e6fdcc4]{border:none;outline:none}[data-v-3e6fdcc4]::-webkit-scrollbar{width:10px;height:10px}[data-v-3e6fdcc4]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-3e6fdcc4]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-3e6fdcc4]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-3e6fdcc4]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff}:root[theme-mode=dark][data-v-3e6fdcc4]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424}div.n-card[data-v-3e6fdcc4]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-3e6fdcc4]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-3e6fdcc4]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-3e6fdcc4]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-3e6fdcc4]{display:none}.n-radio-group.n-radio-group--button-group[data-v-3e6fdcc4]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-3e6fdcc4]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-3e6fdcc4]{margin-left:16px}.manager-wrapper[data-v-3e6fdcc4]{grid-template-columns:230px 1fr;display:grid}.manager-wrapper .left-provider[data-v-3e6fdcc4]{border-right:1px solid var(--color-border-2);grid-template-rows:1fr 60px;height:100%;display:grid}.manager-wrapper .left-provider .provider-list[data-v-3e6fdcc4]{flex-direction:column;align-items:center;gap:0;display:flex}.manager-wrapper .left-provider .provider-list .provider-item[data-v-3e6fdcc4]{box-sizing:border-box;border-bottom:1px solid var(--color-border-1);cursor:pointer;flex-direction:row;justify-content:start;align-items:center;gap:5px;width:100%;height:50px;padding-left:10px;transition:all .15s ease-in-out;display:flex}.manager-wrapper .left-provider .provider-list .provider-item .tit[data-v-3e6fdcc4]{font-size:14px;font-weight:700}.manager-wrapper .left-provider .provider-list .provider-item[data-v-3e6fdcc4]:hover,.manager-wrapper .left-provider .provider-list .provider-item.active[data-v-3e6fdcc4]{background:var(--color-primary-2)}.manager-wrapper .left-provider .provider-list .provider-item .item-icon[data-v-3e6fdcc4]{flex-direction:row;justify-content:center;align-items:center;width:32px;display:flex}.manager-wrapper .left-provider .provider-list .provider-item .status[data-v-3e6fdcc4]{background:var(--color-text-3);border-radius:50%;width:8px;height:8px;display:block}.manager-wrapper .left-provider .provider-list .provider-item .status.active[data-v-3e6fdcc4]{background:var(--color-primary-1)}.manager-wrapper .left-provider .add-privider[data-v-3e6fdcc4]{flex-direction:row;justify-content:center;align-items:center;display:flex}.manager-wrapper .right-configuration[data-v-3e6fdcc4]{padding:0 15px 15px}.manager-wrapper .right-configuration .top-switch[data-v-3e6fdcc4]{border-bottom:1px solid var(--color-border-2);flex-direction:row;justify-content:space-between;align-items:center;height:50px;display:flex}.manager-wrapper .right-configuration .top-switch .switch-info[data-v-3e6fdcc4]{flex-direction:row;justify-content:start;align-items:center;gap:5px;display:flex}.manager-wrapper .right-configuration .top-switch .switch-info .tit[data-v-3e6fdcc4]{font-size:14px;font-weight:700}.manager-wrapper .right-configuration .center-api[data-v-3e6fdcc4]{border-bottom:1px solid var(--color-border-2);padding-bottom:15px}.manager-wrapper .right-configuration .bottom-model-list[data-v-3e6fdcc4]{margin-top:15px}.manager-wrapper .right-configuration .bottom-model-list .header-tit[data-v-3e6fdcc4]{flex-direction:row;justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.manager-wrapper .right-configuration .bottom-model-list .header-tit .tit[data-v-3e6fdcc4]{margin-right:5px;font-size:14px;font-weight:700}.manager-wrapper .right-configuration .bottom-model-list .header-tit .sub-tit[data-v-3e6fdcc4]{color:var(--color-text-3)}.manager-wrapper .right-configuration .bottom-model-list .header-tit .add-model[data-v-3e6fdcc4]{cursor:pointer;flex-direction:row;justify-content:start;align-items:center;gap:5px;display:flex}.manager-wrapper .right-configuration .bottom-model-list .header-tit .add-model .tit[data-v-3e6fdcc4]{font-size:14px}.manager-wrapper .right-configuration .bottom-model-list .model-list[data-v-3e6fdcc4]{flex-direction:column;justify-content:flex-start;align-items:center;display:flex}.manager-wrapper .right-configuration .bottom-model-list .model-list .model-item[data-v-3e6fdcc4]{cursor:pointer;flex-direction:row;justify-content:space-between;align-items:center;width:100%;padding:10px 5px;transition:all .15s ease-in-out;display:flex}.manager-wrapper .right-configuration .bottom-model-list .model-list .model-item i.active[data-v-3e6fdcc4]{color:var(--color-primary-1)}.manager-wrapper .right-configuration .bottom-model-list .model-list .model-item .model-name[data-v-3e6fdcc4]{font-size:14px;font-weight:700}.manager-wrapper .right-configuration .bottom-model-list .model-list .model-item[data-v-3e6fdcc4]:hover{background:#eef9ee}.manager-wrapper .right-configuration .bottom-model-list .model-list .model-item .operation[data-v-3e6fdcc4]{flex-direction:row;justify-content:start;align-items:center;gap:10px;display:flex}.customer-modal .n-card__content{padding:0!important}[data-v-c50590a6],[data-v-c50590a6]:before{box-sizing:border-box}html[data-v-c50590a6],body[data-v-c50590a6],#root[data-v-c50590a6]{width:100%;height:100%}body[data-v-c50590a6]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-c50590a6]::-ms-reveal{display:none}a[data-v-c50590a6]{text-decoration:none}p[data-v-c50590a6],ul[data-v-c50590a6],pre[data-v-c50590a6]{margin:0;padding:0}pre[data-v-c50590a6]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-c50590a6]{border:none;outline:none}[data-v-c50590a6]::-webkit-scrollbar{width:10px;height:10px}[data-v-c50590a6]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-c50590a6]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-c50590a6]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-c50590a6]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff}:root[theme-mode=dark][data-v-c50590a6]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424}div.n-card[data-v-c50590a6]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-c50590a6]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-c50590a6]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-c50590a6]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-c50590a6]{display:none}.n-radio-group.n-radio-group--button-group[data-v-c50590a6]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-c50590a6]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-c50590a6]{margin-left:16px}.page-tit[data-v-c50590a6]{flex-direction:row;justify-content:space-between;align-items:center;gap:5px;display:flex}.page-tit .left-tit[data-v-c50590a6]{flex-direction:row;justify-content:start;align-items:center;gap:8px;display:flex}.page-tit .left-tit .back-tool[data-v-c50590a6]{color:var(--color-primary-1);cursor:pointer;flex-direction:row;justify-content:start;align-items:center;gap:5px;transition:all .1s ease-in-out;display:flex}.page-tit .left-tit .back-tool .back-btn[data-v-c50590a6]{font-size:18px}.page-tit .left-tit .tit-content[data-v-c50590a6]{color:var(--color-text-1);font-size:16px;font-weight:700}.model-item .item-header[data-v-c50590a6]{flex-direction:row;justify-content:space-between;align-items:center;display:flex}.model-item .item-header .header-left[data-v-c50590a6]{flex-direction:row;justify-content:start;align-items:center;gap:10px;display:flex}.model-item .item-header .header-left .model-tit[data-v-c50590a6]{font-size:16px;font-weight:700}.model-item .item-header .header-right .remove-model[data-v-c50590a6]{cursor:pointer;flex-direction:row;justify-content:center;align-items:center;padding:5px;transition:all .15s ease-in-out;display:flex}.model-item .item-header .header-right .remove-model[data-v-c50590a6]:hover{background:var(--color-bg-4)}.model-item .item-desc[data-v-c50590a6]{flex-direction:row;justify-content:start;align-items:center;gap:15px;display:flex}.model-item .item-desc .label[data-v-c50590a6]{font-weight:700}\ No newline at end of filediff --git a/core/public/dist/static/css/async/633.1b7c4845.css b/core/public/dist/static/css/async/633.1b7c4845.cssnew file mode 100644index 00000000..46d3e6d6--- /dev/null+++ b/core/public/dist/static/css/async/633.1b7c4845.css@@ -0,0 +1 @@+.bt-tips[data-v-8731a1b4] li{margin-left:1.5em;list-style:outside}[data-v-c97e6920],[data-v-c97e6920]:before{box-sizing:border-box}html[data-v-c97e6920],body[data-v-c97e6920],#root[data-v-c97e6920]{width:100%;height:100%}body[data-v-c97e6920]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-c97e6920]::-ms-reveal{display:none}a[data-v-c97e6920]{text-decoration:none}p[data-v-c97e6920],ul[data-v-c97e6920],pre[data-v-c97e6920]{margin:0;padding:0}pre[data-v-c97e6920]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-c97e6920]{border:none;outline:none}[data-v-c97e6920]::-webkit-scrollbar{width:10px;height:10px}[data-v-c97e6920]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-c97e6920]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-c97e6920]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-c97e6920]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff;--color-command:#101010}:root[theme-mode=dark][data-v-c97e6920]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424;--color-command:#101010}div.n-card[data-v-c97e6920]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-c97e6920]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-c97e6920]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-c97e6920]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-c97e6920]{display:none}.n-radio-group.n-radio-group--button-group[data-v-c97e6920]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-c97e6920]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-c97e6920]{margin-left:16px}.wrapper[data-v-c97e6920]{flex-direction:column;justify-content:center;align-items:center;gap:20px;height:153px;display:flex}.wrapper .creation-methods[data-v-c97e6920]{border-bottom:1px solid var(--color-border-1);flex-direction:row;justify-content:center;align-items:center;gap:25px;width:90%;display:flex}.wrapper .creation-methods .choose-item[data-v-c97e6920]{cursor:pointer;color:var(--color-text-2);box-sizing:border-box;flex-direction:row;justify-content:start;align-items:center;gap:5px;padding:6px 15px;transition:all .1s ease-in-out;display:flex}.wrapper .creation-methods .choose-item .item-label[data-v-c97e6920]{font-size:16px;transition:all .2s ease-in-out}.wrapper .creation-methods .choose-item[data-v-c97e6920]:hover{color:var(--color-primary-1)}.wrapper .creation-methods .choose-item.active[data-v-c97e6920]{color:var(--color-primary-1);border-bottom:2px solid var(--color-primary-1);font-weight:700;transform:scale(1.3)translateY(-5px)}.wrapper .url-source[data-v-c97e6920]{flex-direction:row;justify-content:start;align-items:center;gap:10px;width:90%;display:flex}.wrapper .url-source.hidden[data-v-c97e6920]{visibility:hidden}.wrapper .desc[data-v-c97e6920]{width:90%;color:var(--color-text-3);font-size:14px}[data-v-7b64ca0c],[data-v-7b64ca0c]:before{box-sizing:border-box}html[data-v-7b64ca0c],body[data-v-7b64ca0c],#root[data-v-7b64ca0c]{width:100%;height:100%}body[data-v-7b64ca0c]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-7b64ca0c]::-ms-reveal{display:none}a[data-v-7b64ca0c]{text-decoration:none}p[data-v-7b64ca0c],ul[data-v-7b64ca0c],pre[data-v-7b64ca0c]{margin:0;padding:0}pre[data-v-7b64ca0c]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-7b64ca0c]{border:none;outline:none}[data-v-7b64ca0c]::-webkit-scrollbar{width:10px;height:10px}[data-v-7b64ca0c]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-7b64ca0c]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-7b64ca0c]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-7b64ca0c]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff;--color-command:#101010}:root[theme-mode=dark][data-v-7b64ca0c]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424;--color-command:#101010}div.n-card[data-v-7b64ca0c]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-7b64ca0c]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-7b64ca0c]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-7b64ca0c]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-7b64ca0c]{display:none}.n-radio-group.n-radio-group--button-group[data-v-7b64ca0c]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-7b64ca0c]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-7b64ca0c]{margin-left:16px}.close[data-v-7b64ca0c]{background:var(--color-bg-1);border:1px solid var(--color-border-1);width:34px;height:34px;color:var(--color-text-2);cursor:pointer;border-radius:5px;flex-direction:row;justify-content:center;align-items:center;transition:all .2s ease-in-out;display:flex}.close.close[data-v-7b64ca0c]{border-color:var(--color-error-1);color:var(--color-error-1)}.close.close[data-v-7b64ca0c]:hover{color:#fff;background:var(--color-error-1)}.bt-tabs[data-v-53057eda]{--n-tab-gap:4px;--n-tab-text-color-active:var(--color-text-1);--n-tab-border-color:var(--color-border-1);--n-tab-padding-vertical:0 16px;--n-pane-padding-top:16px;--n-pane-padding-left:0;--n-pane-padding-right:0;--n-pane-padding-bottom:0}.bt-tabs[data-v-53057eda]>.n-tabs-nav .n-tabs-wrapper .n-tabs-tab-wrapper .n-tabs-tab{background:-webkit-gradient(linear,0 0,0 100%,from(#f6f6f6),to(#ddd));border-bottom:none;height:32px}.bt-tabs[data-v-53057eda]>.n-tabs-nav .n-tabs-wrapper .n-tabs-tab-wrapper .n-tabs-tab--active{background:0 0}.bt-tabs[data-v-53057eda]>.n-tab-pane{flex:1;overflow:auto}.ssl-cert-container .brand-info[data-v-bd7d6d60]{align-items:center;gap:8px;display:flex}.ssl-cert-container .brand-info .info-label[data-v-bd7d6d60]{color:var(--color-text-3);font-weight:500}.ssl-cert-container .brand-info .info-value[data-v-bd7d6d60]{color:#67c23a;margin-right:16px;font-weight:700}.ssl-cert-container .brand-info .info-value .n-tag+.n-tag[data-v-bd7d6d60]{margin-left:8px}.ssl-cert-container .cert-content[data-v-bd7d6d60]{gap:20px;margin-bottom:20px;display:flex}.ssl-cert-container .cert-content .cert-section[data-v-bd7d6d60]{flex:1}.ssl-cert-container .cert-content .cert-section .section-title[data-v-bd7d6d60]{color:var(--color-text-1);margin-bottom:8px;font-weight:500}.ssl-cert-container .cert-actions[data-v-bd7d6d60]{gap:12px;margin-bottom:24px;display:flex}.record-title[data-v-8094e116]{color:var(--color-text-1);margin-bottom:10px;font-size:14px;font-weight:600}.record-desc[data-v-8094e116]{color:var(--color-text-2);margin-bottom:10px;font-size:12px}.command-alert[data-v-27e6c7c6]{--n-color:var(--color-command);--n-content-text-color:#fff}.domain-container[data-v-2c3e8a15]{background-color:#fff;border-radius:3px;padding:16px}.domain-container .action-bar[data-v-2c3e8a15]{justify-content:space-between;margin-bottom:16px;display:flex}\ No newline at end of filediff --git a/core/public/dist/static/css/async/6463.debcc7bd.css b/core/public/dist/static/css/async/6463.debcc7bd.cssnew file mode 100644index 00000000..bb487045--- /dev/null+++ b/core/public/dist/static/css/async/6463.debcc7bd.css@@ -0,0 +1 @@+[data-v-ed02e686],[data-v-ed02e686]:before{box-sizing:border-box}html[data-v-ed02e686],body[data-v-ed02e686],#root[data-v-ed02e686]{width:100%;height:100%}body[data-v-ed02e686]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-ed02e686]::-ms-reveal{display:none}a[data-v-ed02e686]{text-decoration:none}p[data-v-ed02e686],ul[data-v-ed02e686],pre[data-v-ed02e686]{margin:0;padding:0}pre[data-v-ed02e686]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-ed02e686]{border:none;outline:none}[data-v-ed02e686]::-webkit-scrollbar{width:10px;height:10px}[data-v-ed02e686]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-ed02e686]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-ed02e686]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-ed02e686]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff;--color-command:#101010}:root[theme-mode=dark][data-v-ed02e686]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424;--color-command:#101010}div.n-card[data-v-ed02e686]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-ed02e686]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-ed02e686]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-ed02e686]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-ed02e686]{display:none}.n-radio-group.n-radio-group--button-group[data-v-ed02e686]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-ed02e686]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-ed02e686]{margin-left:16px}.content-wrapper[data-v-ed02e686]{width:866px;margin:0 auto;padding-top:32px}.content-wrapper .page-tit[data-v-ed02e686]{flex-direction:row;justify-content:space-between;align-items:center;gap:5px;display:flex}.content-wrapper .page-tit .left-tit[data-v-ed02e686]{flex-direction:row;justify-content:start;align-items:center;gap:8px;display:flex}.content-wrapper .page-tit .left-tit .back-tool[data-v-ed02e686]{color:var(--color-primary-1);cursor:pointer;flex-direction:row;justify-content:start;align-items:center;gap:5px;transition:all .1s ease-in-out;display:flex}.content-wrapper .page-tit .left-tit .back-tool .back-btn[data-v-ed02e686]{font-size:18px}.content-wrapper .page-tit .left-tit .tit-content[data-v-ed02e686]{color:var(--color-text-1);font-size:16px;font-weight:700}.content-wrapper .sub-tit[data-v-ed02e686]{color:var(--color-text-2);flex-direction:column;justify-content:start;align-items:flex-start;gap:10px;margin-bottom:40px;display:flex}.content-wrapper .sub-tit .tit[data-v-ed02e686]{font-size:14px;font-weight:700}.content-wrapper .logo-operation[data-v-ed02e686]{grid-template-columns:repeat(3,1fr);gap:20px;display:grid}.content-wrapper .logo-operation .operation-item .operation-tit[data-v-ed02e686]{margin-bottom:5px;font-size:14px;font-weight:700}.content-wrapper .logo-operation .operation-item .operation-sub-tit[data-v-ed02e686]{margin-bottom:15px}.content-wrapper .logo-operation .operation-item .logo-area[data-v-ed02e686]{border:1px solid var(--color-border-1);border-radius:16px;flex-direction:row;justify-content:center;align-items:center;width:100%;height:130px;margin-bottom:10px;display:flex}.content-wrapper .logo-operation .operation-item .logo-area .upload-logo-placeholder[data-v-ed02e686]{flex-direction:column;justify-content:center;align-items:center;gap:5px;height:100%;display:flex}.content-wrapper .logo-operation .operation-item .operation-tools[data-v-ed02e686]{flex-direction:row;justify-content:start;align-items:center;gap:10px;display:flex}.content-wrapper .logo-operation .operation-item .operation-tools .tool-item[data-v-ed02e686]{background:var(--color-bg-1);border:1px solid var(--color-border-1);width:34px;height:34px;color:var(--color-text-2);cursor:pointer;border-radius:5px;flex-direction:row;justify-content:center;align-items:center;display:flex}.content-wrapper .logo-operation .operation-item .operation-tools .tool-item[data-v-ed02e686]:hover{background:var(--color-bg-4)}.content-wrapper .form-label[data-v-ed02e686]{color:var(--color-text-2);font-size:14px}.content-wrapper .knowledge-box[data-v-ed02e686]{flex-direction:column;justify-content:flex-start;align-items:flex-start;display:flex}.content-wrapper .knowledge-box .top-info[data-v-ed02e686]{flex-direction:row;justify-content:space-between;align-items:flex-start;width:100%;margin-bottom:20px;display:flex}.content-wrapper .knowledge-box .top-info .info-left[data-v-ed02e686]{flex-direction:column;justify-content:flex-start;align-items:flex-start;display:flex}.content-wrapper .knowledge-box .top-info .info-left .info-tit[data-v-ed02e686]{font-size:16px;font-weight:700}.content-wrapper .knowledge-box .top-info .info-right[data-v-ed02e686]{cursor:pointer;flex-direction:row;justify-content:center;align-items:center;padding:5px;transition:all .15s ease-in-out;display:flex}.content-wrapper .knowledge-box .top-info .info-right[data-v-ed02e686]:hover{background:var(--color-border-2)}.content-wrapper .knowledge-box .operation[data-v-ed02e686]{flex-direction:row;justify-content:start;align-items:center;gap:15px;display:flex}.preview-wrapper{max-height:700px}.preview-wrapper img{max-width:100%!important}\ No newline at end of filediff --git a/core/public/dist/static/css/async/6463.f56c4b39.css b/core/public/dist/static/css/async/6463.f56c4b39.cssdeleted file mode 100644index 2cf3b87f..00000000--- a/core/public/dist/static/css/async/6463.f56c4b39.css+++ /dev/null@@ -1 +0,0 @@-[data-v-ed02e686],[data-v-ed02e686]:before{box-sizing:border-box}html[data-v-ed02e686],body[data-v-ed02e686],#root[data-v-ed02e686]{width:100%;height:100%}body[data-v-ed02e686]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-ed02e686]::-ms-reveal{display:none}a[data-v-ed02e686]{text-decoration:none}p[data-v-ed02e686],ul[data-v-ed02e686],pre[data-v-ed02e686]{margin:0;padding:0}pre[data-v-ed02e686]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-ed02e686]{border:none;outline:none}[data-v-ed02e686]::-webkit-scrollbar{width:10px;height:10px}[data-v-ed02e686]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-ed02e686]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-ed02e686]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-ed02e686]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff}:root[theme-mode=dark][data-v-ed02e686]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424}div.n-card[data-v-ed02e686]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-ed02e686]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-ed02e686]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-ed02e686]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-ed02e686]{display:none}.n-radio-group.n-radio-group--button-group[data-v-ed02e686]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-ed02e686]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-ed02e686]{margin-left:16px}.content-wrapper[data-v-ed02e686]{width:866px;margin:0 auto;padding-top:32px}.content-wrapper .page-tit[data-v-ed02e686]{flex-direction:row;justify-content:space-between;align-items:center;gap:5px;display:flex}.content-wrapper .page-tit .left-tit[data-v-ed02e686]{flex-direction:row;justify-content:start;align-items:center;gap:8px;display:flex}.content-wrapper .page-tit .left-tit .back-tool[data-v-ed02e686]{color:var(--color-primary-1);cursor:pointer;flex-direction:row;justify-content:start;align-items:center;gap:5px;transition:all .1s ease-in-out;display:flex}.content-wrapper .page-tit .left-tit .back-tool .back-btn[data-v-ed02e686]{font-size:18px}.content-wrapper .page-tit .left-tit .tit-content[data-v-ed02e686]{color:var(--color-text-1);font-size:16px;font-weight:700}.content-wrapper .sub-tit[data-v-ed02e686]{color:var(--color-text-2);flex-direction:column;justify-content:start;align-items:flex-start;gap:10px;margin-bottom:40px;display:flex}.content-wrapper .sub-tit .tit[data-v-ed02e686]{font-size:14px;font-weight:700}.content-wrapper .logo-operation[data-v-ed02e686]{grid-template-columns:repeat(3,1fr);gap:20px;display:grid}.content-wrapper .logo-operation .operation-item .operation-tit[data-v-ed02e686]{margin-bottom:5px;font-size:14px;font-weight:700}.content-wrapper .logo-operation .operation-item .operation-sub-tit[data-v-ed02e686]{margin-bottom:15px}.content-wrapper .logo-operation .operation-item .logo-area[data-v-ed02e686]{border:1px solid var(--color-border-1);border-radius:16px;flex-direction:row;justify-content:center;align-items:center;width:100%;height:130px;margin-bottom:10px;display:flex}.content-wrapper .logo-operation .operation-item .logo-area .upload-logo-placeholder[data-v-ed02e686]{flex-direction:column;justify-content:center;align-items:center;gap:5px;height:100%;display:flex}.content-wrapper .logo-operation .operation-item .operation-tools[data-v-ed02e686]{flex-direction:row;justify-content:start;align-items:center;gap:10px;display:flex}.content-wrapper .logo-operation .operation-item .operation-tools .tool-item[data-v-ed02e686]{background:var(--color-bg-1);border:1px solid var(--color-border-1);width:34px;height:34px;color:var(--color-text-2);cursor:pointer;border-radius:5px;flex-direction:row;justify-content:center;align-items:center;display:flex}.content-wrapper .logo-operation .operation-item .operation-tools .tool-item[data-v-ed02e686]:hover{background:var(--color-bg-4)}.content-wrapper .form-label[data-v-ed02e686]{color:var(--color-text-2);font-size:14px}.content-wrapper .knowledge-box[data-v-ed02e686]{flex-direction:column;justify-content:flex-start;align-items:flex-start;display:flex}.content-wrapper .knowledge-box .top-info[data-v-ed02e686]{flex-direction:row;justify-content:space-between;align-items:flex-start;width:100%;margin-bottom:20px;display:flex}.content-wrapper .knowledge-box .top-info .info-left[data-v-ed02e686]{flex-direction:column;justify-content:flex-start;align-items:flex-start;display:flex}.content-wrapper .knowledge-box .top-info .info-left .info-tit[data-v-ed02e686]{font-size:16px;font-weight:700}.content-wrapper .knowledge-box .top-info .info-right[data-v-ed02e686]{cursor:pointer;flex-direction:row;justify-content:center;align-items:center;padding:5px;transition:all .15s ease-in-out;display:flex}.content-wrapper .knowledge-box .top-info .info-right[data-v-ed02e686]:hover{background:var(--color-border-2)}.content-wrapper .knowledge-box .operation[data-v-ed02e686]{flex-direction:row;justify-content:start;align-items:center;gap:15px;display:flex}.preview-wrapper{max-height:700px}.preview-wrapper img{max-width:100%!important}\ No newline at end of filediff --git a/core/public/dist/static/css/async/6480.2d04b03a.css b/core/public/dist/static/css/async/6480.2d04b03a.cssnew file mode 100644index 00000000..9795947d--- /dev/null+++ b/core/public/dist/static/css/async/6480.2d04b03a.css@@ -0,0 +1 @@+pre code.hljs{padding:1em;display:block;overflow-x:auto}code.hljs{padding:3px 5px}.code-area pre{color:#fff!important}.hljs{color:#e4e4e4;background:#282c34}.hljs-comment,.hljs-quote{color:#e1e2e4;font-style:italic}.hljs-doctag,.hljs-keyword,.hljs-formula{color:#c678dd}.hljs-section,.hljs-name,.hljs-selector-tag,.hljs-deletion,.hljs-subst{color:#e06c75}.hljs-literal{color:#56b6c2}.hljs-string,.hljs-regexp,.hljs-addition,.hljs-attribute,.hljs-meta .hljs-string{color:#98c379}.hljs-attr,.hljs-variable,.hljs-template-variable,.hljs-type,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-number{color:#d19a66}.hljs-symbol,.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-title{color:#61aeee}.hljs-built_in,.hljs-title.class_,.hljs-class .hljs-title{color:#e6c07b}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-link{text-decoration:underline}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#d19a66}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#5ae4e5}[data-v-92f782a0],[data-v-92f782a0]:before{box-sizing:border-box}html[data-v-92f782a0],body[data-v-92f782a0],#root[data-v-92f782a0]{width:100%;height:100%}body[data-v-92f782a0]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-92f782a0]::-ms-reveal{display:none}a[data-v-92f782a0]{text-decoration:none}p[data-v-92f782a0],ul[data-v-92f782a0],pre[data-v-92f782a0]{margin:0;padding:0}pre[data-v-92f782a0]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-92f782a0]{border:none;outline:none}[data-v-92f782a0]::-webkit-scrollbar{width:10px;height:10px}[data-v-92f782a0]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-92f782a0]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-92f782a0]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-92f782a0]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff;--color-command:#101010}:root[theme-mode=dark][data-v-92f782a0]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424;--color-command:#101010}div.n-card[data-v-92f782a0]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-92f782a0]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-92f782a0]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-92f782a0]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-92f782a0]{display:none}.n-radio-group.n-radio-group--button-group[data-v-92f782a0]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-92f782a0]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-92f782a0]{margin-left:16px}.code-area .code-tool[data-v-92f782a0]{background:var(--color-card-text-1);height:34px;color:var(--color-bg-1);flex-direction:row;justify-content:space-between;align-items:center;padding:0 0 0 10px;display:flex}.code-area .code-tool .tools[data-v-92f782a0]{flex-direction:row;justify-content:start;align-items:center;gap:10px;display:flex}.code-area .code-tool .tools .tool-item[data-v-92f782a0]{cursor:pointer;border-radius:0;flex-direction:row;justify-content:start;align-items:center;gap:5px;height:34px;padding:5px 10px;font-size:12px;transition:all .1s ease-in-out;display:flex}.code-area .code-tool .tools .tool-item[data-v-92f782a0]:hover{background:var(--color-primary-1);color:#fff}.code-area .code-tool .tools .tool-item[data-v-92f782a0]:active{background:var(--color-primary-3)}.code-area[data-v-92f782a0] pre{background:#333;margin:0;padding:10px;font-size:14px}.monaco-editor-container[data-v-72ffe419]{border-radius:4px;width:100%;height:100%;min-height:400px;overflow:hidden}[data-v-9630b932],[data-v-9630b932]:before{box-sizing:border-box}html[data-v-9630b932],body[data-v-9630b932],#root[data-v-9630b932]{width:100%;height:100%}body[data-v-9630b932]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-9630b932]::-ms-reveal{display:none}a[data-v-9630b932]{text-decoration:none}p[data-v-9630b932],ul[data-v-9630b932],pre[data-v-9630b932]{margin:0;padding:0}pre[data-v-9630b932]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-9630b932]{border:none;outline:none}[data-v-9630b932]::-webkit-scrollbar{width:10px;height:10px}[data-v-9630b932]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-9630b932]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-9630b932]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-9630b932]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff;--color-command:#101010}:root[theme-mode=dark][data-v-9630b932]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424;--color-command:#101010}div.n-card[data-v-9630b932]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-9630b932]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-9630b932]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-9630b932]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-9630b932]{display:none}.n-radio-group.n-radio-group--button-group[data-v-9630b932]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-9630b932]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-9630b932]{margin-left:16px}.wrapper[data-v-9630b932]{box-sizing:border-box;grid-template-rows:40px 1fr;height:100%;padding:24px;display:grid;width:100%!important}.wrapper .page-tit[data-v-9630b932]{flex-direction:row;justify-content:start;align-items:center;gap:15px;margin-bottom:20px;display:flex}.wrapper .page-tit .back-tool[data-v-9630b932]{color:var(--color-primary-1);cursor:pointer;flex-direction:row;justify-content:start;align-items:center;gap:5px;transition:all .1s ease-in-out;display:flex}.wrapper .page-tit .back-tool[data-v-9630b932]:hover{color:var(--color-primary-3)}.wrapper .page-tit .back-tool .back-btn[data-v-9630b932]{font-size:18px}.wrapper .page-tit .tit-content[data-v-9630b932]{color:var(--color-text-1);font-size:18px;font-weight:700}.wrapper .ai-container[data-v-9630b932]{grid-template-columns:minmax(400px,2fr) 5fr;gap:15px;width:100%;display:grid}.wrapper .ai-container .chat-area[data-v-9630b932]{grid-template-rows:1fr 230px;gap:15px;display:grid}.wrapper .ai-container .chat-area .answer[data-v-9630b932]{width:100%}.wrapper .ai-container .chat-area .answer .answer-container[data-v-9630b932]{padding:30px 10px}.wrapper .ai-container .chat-area .answer .answer-container .ask-content[data-v-9630b932],.wrapper .ai-container .chat-area .answer .answer-container .answer-content[data-v-9630b932]{background:var(--color-bg-3);border-radius:5px;grid-template-rows:30px 1fr;gap:10px;margin-bottom:20px;padding:20px;display:grid}.wrapper .ai-container .chat-area .answer .answer-container .ask-content .pic[data-v-9630b932],.wrapper .ai-container .chat-area .answer .answer-container .answer-content .pic[data-v-9630b932]{flex-direction:row;align-items:center;display:flex}.wrapper .ai-container .chat-area .answer .answer-container .ask-content .text[data-v-9630b932],.wrapper .ai-container .chat-area .answer .answer-container .answer-content .text[data-v-9630b932]{font-size:14px}.wrapper .ai-container .chat-area .answer .answer-container .ask-content .answer-tool[data-v-9630b932],.wrapper .ai-container .chat-area .answer .answer-container .answer-content .answer-tool[data-v-9630b932]{border-top:1px solid var(--color-border-1);flex-direction:row;justify-content:end;align-items:center;height:30px;padding-top:20px;display:flex}.wrapper .ai-container .chat-area .answer .answer-container .ask-content .answer-tool .tool-item[data-v-9630b932],.wrapper .ai-container .chat-area .answer .answer-container .answer-content .answer-tool .tool-item[data-v-9630b932]{cursor:pointer;border-radius:3px;flex-direction:row;justify-content:start;align-items:center;gap:5px;padding:5px 10px;font-size:12px;transition:all .1s ease-in-out;display:flex}.wrapper .ai-container .chat-area .answer .answer-container .ask-content .answer-tool .tool-item[data-v-9630b932]:hover,.wrapper .ai-container .chat-area .answer .answer-container .answer-content .answer-tool .tool-item[data-v-9630b932]:hover{background:var(--color-primary-1);color:#fff}.wrapper .ai-container .chat-area .answer .answer-container .ask-content .answer-tool .tool-item[data-v-9630b932]:active,.wrapper .ai-container .chat-area .answer .answer-container .answer-content .answer-tool .tool-item[data-v-9630b932]:active{background:var(--color-primary-3)}.wrapper .ai-container .chat-area .answer .answer-container .answer-content[data-v-9630b932]{background:var(--color-bg-2)}.wrapper .ai-container .chat-area .question[data-v-9630b932]{position:relative}.wrapper .ai-container .chat-area .question .question-input[data-v-9630b932]{height:100%;font-size:14px}.wrapper .ai-container .chat-area .question .question-tools[data-v-9630b932]{flex-direction:row;justify-content:space-between;align-items:center;gap:100px;width:100%;padding:5px 30px;display:flex;position:absolute;bottom:22px;left:0}.wrapper .ai-container .chat-area .question .question-tools .send-btn[data-v-9630b932]{flex-direction:row;justify-content:start;align-items:center;gap:10px;display:flex}.wrapper .ai-container .chat-area .question .question-tools .send-btn i[data-v-9630b932]{cursor:pointer}\ No newline at end of filediff --git a/core/public/dist/static/css/async/6675.5ef39fca.css b/core/public/dist/static/css/async/6675.5ef39fca.cssdeleted file mode 100644index 1383edbb..00000000--- a/core/public/dist/static/css/async/6675.5ef39fca.css+++ /dev/null@@ -1 +0,0 @@-.bt-tips[data-v-8731a1b4] li{margin-left:1.5em;list-style:outside}[data-v-c97e6920],[data-v-c97e6920]:before{box-sizing:border-box}html[data-v-c97e6920],body[data-v-c97e6920],#root[data-v-c97e6920]{width:100%;height:100%}body[data-v-c97e6920]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-c97e6920]::-ms-reveal{display:none}a[data-v-c97e6920]{text-decoration:none}p[data-v-c97e6920],ul[data-v-c97e6920],pre[data-v-c97e6920]{margin:0;padding:0}pre[data-v-c97e6920]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-c97e6920]{border:none;outline:none}[data-v-c97e6920]::-webkit-scrollbar{width:10px;height:10px}[data-v-c97e6920]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-c97e6920]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-c97e6920]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-c97e6920]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff}:root[theme-mode=dark][data-v-c97e6920]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424}div.n-card[data-v-c97e6920]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-c97e6920]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-c97e6920]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-c97e6920]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-c97e6920]{display:none}.n-radio-group.n-radio-group--button-group[data-v-c97e6920]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-c97e6920]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-c97e6920]{margin-left:16px}.wrapper[data-v-c97e6920]{flex-direction:column;justify-content:center;align-items:center;gap:20px;height:153px;display:flex}.wrapper .creation-methods[data-v-c97e6920]{border-bottom:1px solid var(--color-border-1);flex-direction:row;justify-content:center;align-items:center;gap:25px;width:90%;display:flex}.wrapper .creation-methods .choose-item[data-v-c97e6920]{cursor:pointer;color:var(--color-text-2);box-sizing:border-box;flex-direction:row;justify-content:start;align-items:center;gap:5px;padding:6px 15px;transition:all .1s ease-in-out;display:flex}.wrapper .creation-methods .choose-item .item-label[data-v-c97e6920]{font-size:16px;transition:all .2s ease-in-out}.wrapper .creation-methods .choose-item[data-v-c97e6920]:hover{color:var(--color-primary-1)}.wrapper .creation-methods .choose-item.active[data-v-c97e6920]{color:var(--color-primary-1);border-bottom:2px solid var(--color-primary-1);font-weight:700;transform:scale(1.3)translateY(-5px)}.wrapper .url-source[data-v-c97e6920]{flex-direction:row;justify-content:start;align-items:center;gap:10px;width:90%;display:flex}.wrapper .url-source.hidden[data-v-c97e6920]{visibility:hidden}.wrapper .desc[data-v-c97e6920]{width:90%;color:var(--color-text-3);font-size:14px}[data-v-29d787c6],[data-v-29d787c6]:before{box-sizing:border-box}html[data-v-29d787c6],body[data-v-29d787c6],#root[data-v-29d787c6]{width:100%;height:100%}body[data-v-29d787c6]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-29d787c6]::-ms-reveal{display:none}a[data-v-29d787c6]{text-decoration:none}p[data-v-29d787c6],ul[data-v-29d787c6],pre[data-v-29d787c6]{margin:0;padding:0}pre[data-v-29d787c6]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-29d787c6]{border:none;outline:none}[data-v-29d787c6]::-webkit-scrollbar{width:10px;height:10px}[data-v-29d787c6]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-29d787c6]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-29d787c6]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-29d787c6]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff}:root[theme-mode=dark][data-v-29d787c6]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424}div.n-card[data-v-29d787c6]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-29d787c6]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-29d787c6]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-29d787c6]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-29d787c6]{display:none}.n-radio-group.n-radio-group--button-group[data-v-29d787c6]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-29d787c6]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-29d787c6]{margin-left:16px}.close[data-v-29d787c6]{background:var(--color-bg-1);border:1px solid var(--color-border-1);width:34px;height:34px;color:var(--color-text-2);cursor:pointer;border-radius:5px;flex-direction:row;justify-content:center;align-items:center;transition:all .2s ease-in-out;display:flex}.close.close[data-v-29d787c6]{border-color:var(--color-error-1);color:var(--color-error-1)}.close.close[data-v-29d787c6]:hover{color:#fff;background:var(--color-error-1)}.bt-tabs[data-v-53057eda]{--n-tab-gap:4px;--n-tab-text-color-active:var(--color-text-1);--n-tab-border-color:var(--color-border-1);--n-tab-padding-vertical:0 16px;--n-pane-padding-top:16px;--n-pane-padding-left:0;--n-pane-padding-right:0;--n-pane-padding-bottom:0}.bt-tabs[data-v-53057eda]>.n-tabs-nav .n-tabs-wrapper .n-tabs-tab-wrapper .n-tabs-tab{background:-webkit-gradient(linear,0 0,0 100%,from(#f6f6f6),to(#ddd));border-bottom:none;height:32px}.bt-tabs[data-v-53057eda]>.n-tabs-nav .n-tabs-wrapper .n-tabs-tab-wrapper .n-tabs-tab--active{background:0 0}.bt-tabs[data-v-53057eda]>.n-tab-pane{flex:1;overflow:auto}.ssl-cert-container .brand-info[data-v-bd7d6d60]{align-items:center;gap:8px;display:flex}.ssl-cert-container .brand-info .info-label[data-v-bd7d6d60]{color:var(--color-text-3);font-weight:500}.ssl-cert-container .brand-info .info-value[data-v-bd7d6d60]{color:#67c23a;margin-right:16px;font-weight:700}.ssl-cert-container .brand-info .info-value .n-tag+.n-tag[data-v-bd7d6d60]{margin-left:8px}.ssl-cert-container .cert-content[data-v-bd7d6d60]{gap:20px;margin-bottom:20px;display:flex}.ssl-cert-container .cert-content .cert-section[data-v-bd7d6d60]{flex:1}.ssl-cert-container .cert-content .cert-section .section-title[data-v-bd7d6d60]{color:var(--color-text-1);margin-bottom:8px;font-weight:500}.ssl-cert-container .cert-actions[data-v-bd7d6d60]{gap:12px;margin-bottom:24px;display:flex}.record-title[data-v-8094e116]{color:var(--color-text-1);margin-bottom:10px;font-size:14px;font-weight:600}.record-desc[data-v-8094e116]{color:var(--color-text-2);margin-bottom:10px;font-size:12px}.domain-container[data-v-70f57330]{background-color:#fff;border-radius:3px;padding:16px}.domain-container .action-bar[data-v-70f57330]{justify-content:space-between;margin-bottom:16px;display:flex}\ No newline at end of filediff --git a/core/public/dist/static/css/async/672.af2414b3.css b/core/public/dist/static/css/async/672.af2414b3.cssdeleted file mode 100644index bb6f0293..00000000--- a/core/public/dist/static/css/async/672.af2414b3.css+++ /dev/null@@ -1 +0,0 @@-pre code.hljs{padding:1em;display:block;overflow-x:auto}code.hljs{padding:3px 5px}.code-area pre{color:#fff!important}.hljs{color:#e4e4e4;background:#282c34}.hljs-comment,.hljs-quote{color:#e1e2e4;font-style:italic}.hljs-doctag,.hljs-keyword,.hljs-formula{color:#c678dd}.hljs-section,.hljs-name,.hljs-selector-tag,.hljs-deletion,.hljs-subst{color:#e06c75}.hljs-literal{color:#56b6c2}.hljs-string,.hljs-regexp,.hljs-addition,.hljs-attribute,.hljs-meta .hljs-string{color:#98c379}.hljs-attr,.hljs-variable,.hljs-template-variable,.hljs-type,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-number{color:#d19a66}.hljs-symbol,.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-title{color:#61aeee}.hljs-built_in,.hljs-title.class_,.hljs-class .hljs-title{color:#e6c07b}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-link{text-decoration:underline}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#d19a66}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#5ae4e5}[data-v-92f782a0],[data-v-92f782a0]:before{box-sizing:border-box}html[data-v-92f782a0],body[data-v-92f782a0],#root[data-v-92f782a0]{width:100%;height:100%}body[data-v-92f782a0]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-92f782a0]::-ms-reveal{display:none}a[data-v-92f782a0]{text-decoration:none}p[data-v-92f782a0],ul[data-v-92f782a0],pre[data-v-92f782a0]{margin:0;padding:0}pre[data-v-92f782a0]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-92f782a0]{border:none;outline:none}[data-v-92f782a0]::-webkit-scrollbar{width:10px;height:10px}[data-v-92f782a0]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-92f782a0]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-92f782a0]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-92f782a0]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff}:root[theme-mode=dark][data-v-92f782a0]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424}div.n-card[data-v-92f782a0]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-92f782a0]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-92f782a0]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-92f782a0]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-92f782a0]{display:none}.n-radio-group.n-radio-group--button-group[data-v-92f782a0]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-92f782a0]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-92f782a0]{margin-left:16px}.code-area .code-tool[data-v-92f782a0]{background:var(--color-card-text-1);height:34px;color:var(--color-bg-1);flex-direction:row;justify-content:space-between;align-items:center;padding:0 0 0 10px;display:flex}.code-area .code-tool .tools[data-v-92f782a0]{flex-direction:row;justify-content:start;align-items:center;gap:10px;display:flex}.code-area .code-tool .tools .tool-item[data-v-92f782a0]{cursor:pointer;border-radius:0;flex-direction:row;justify-content:start;align-items:center;gap:5px;height:34px;padding:5px 10px;font-size:12px;transition:all .1s ease-in-out;display:flex}.code-area .code-tool .tools .tool-item[data-v-92f782a0]:hover{background:var(--color-primary-1);color:#fff}.code-area .code-tool .tools .tool-item[data-v-92f782a0]:active{background:var(--color-primary-3)}.code-area[data-v-92f782a0] pre{background:#333;margin:0;padding:10px;font-size:14px}.monaco-editor-container[data-v-72ffe419]{border-radius:4px;width:100%;height:100%;min-height:400px;overflow:hidden}[data-v-0c3ddbd1],[data-v-0c3ddbd1]:before{box-sizing:border-box}html[data-v-0c3ddbd1],body[data-v-0c3ddbd1],#root[data-v-0c3ddbd1]{width:100%;height:100%}body[data-v-0c3ddbd1]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-0c3ddbd1]::-ms-reveal{display:none}a[data-v-0c3ddbd1]{text-decoration:none}p[data-v-0c3ddbd1],ul[data-v-0c3ddbd1],pre[data-v-0c3ddbd1]{margin:0;padding:0}pre[data-v-0c3ddbd1]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-0c3ddbd1]{border:none;outline:none}[data-v-0c3ddbd1]::-webkit-scrollbar{width:10px;height:10px}[data-v-0c3ddbd1]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-0c3ddbd1]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-0c3ddbd1]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-0c3ddbd1]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff}:root[theme-mode=dark][data-v-0c3ddbd1]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424}div.n-card[data-v-0c3ddbd1]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-0c3ddbd1]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-0c3ddbd1]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-0c3ddbd1]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-0c3ddbd1]{display:none}.n-radio-group.n-radio-group--button-group[data-v-0c3ddbd1]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-0c3ddbd1]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-0c3ddbd1]{margin-left:16px}.wrapper[data-v-0c3ddbd1]{box-sizing:border-box;grid-template-rows:40px 1fr;height:100%;padding:24px;display:grid;width:100%!important}.wrapper .page-tit[data-v-0c3ddbd1]{flex-direction:row;justify-content:start;align-items:center;gap:15px;margin-bottom:20px;display:flex}.wrapper .page-tit .back-tool[data-v-0c3ddbd1]{color:var(--color-primary-1);cursor:pointer;flex-direction:row;justify-content:start;align-items:center;gap:5px;transition:all .1s ease-in-out;display:flex}.wrapper .page-tit .back-tool[data-v-0c3ddbd1]:hover{color:var(--color-primary-3)}.wrapper .page-tit .back-tool .back-btn[data-v-0c3ddbd1]{font-size:18px}.wrapper .page-tit .tit-content[data-v-0c3ddbd1]{color:var(--color-text-1);font-size:18px;font-weight:700}.wrapper .ai-container[data-v-0c3ddbd1]{grid-template-columns:minmax(400px,2fr) 5fr;gap:15px;width:100%;display:grid}.wrapper .ai-container .chat-area[data-v-0c3ddbd1]{grid-template-rows:1fr 230px;gap:15px;display:grid}.wrapper .ai-container .chat-area .answer[data-v-0c3ddbd1]{width:100%}.wrapper .ai-container .chat-area .answer .answer-container[data-v-0c3ddbd1]{padding:30px 10px}.wrapper .ai-container .chat-area .answer .answer-container .ask-content[data-v-0c3ddbd1],.wrapper .ai-container .chat-area .answer .answer-container .answer-content[data-v-0c3ddbd1]{background:var(--color-bg-3);border-radius:5px;grid-template-rows:30px 1fr;gap:10px;margin-bottom:20px;padding:20px;display:grid}.wrapper .ai-container .chat-area .answer .answer-container .ask-content .pic[data-v-0c3ddbd1],.wrapper .ai-container .chat-area .answer .answer-container .answer-content .pic[data-v-0c3ddbd1]{flex-direction:row;align-items:center;display:flex}.wrapper .ai-container .chat-area .answer .answer-container .ask-content .text[data-v-0c3ddbd1],.wrapper .ai-container .chat-area .answer .answer-container .answer-content .text[data-v-0c3ddbd1]{font-size:14px}.wrapper .ai-container .chat-area .answer .answer-container .ask-content .answer-tool[data-v-0c3ddbd1],.wrapper .ai-container .chat-area .answer .answer-container .answer-content .answer-tool[data-v-0c3ddbd1]{border-top:1px solid var(--color-border-1);flex-direction:row;justify-content:end;align-items:center;height:30px;padding-top:20px;display:flex}.wrapper .ai-container .chat-area .answer .answer-container .ask-content .answer-tool .tool-item[data-v-0c3ddbd1],.wrapper .ai-container .chat-area .answer .answer-container .answer-content .answer-tool .tool-item[data-v-0c3ddbd1]{cursor:pointer;border-radius:3px;flex-direction:row;justify-content:start;align-items:center;gap:5px;padding:5px 10px;font-size:12px;transition:all .1s ease-in-out;display:flex}.wrapper .ai-container .chat-area .answer .answer-container .ask-content .answer-tool .tool-item[data-v-0c3ddbd1]:hover,.wrapper .ai-container .chat-area .answer .answer-container .answer-content .answer-tool .tool-item[data-v-0c3ddbd1]:hover{background:var(--color-primary-1);color:#fff}.wrapper .ai-container .chat-area .answer .answer-container .ask-content .answer-tool .tool-item[data-v-0c3ddbd1]:active,.wrapper .ai-container .chat-area .answer .answer-container .answer-content .answer-tool .tool-item[data-v-0c3ddbd1]:active{background:var(--color-primary-3)}.wrapper .ai-container .chat-area .answer .answer-container .answer-content[data-v-0c3ddbd1]{background:var(--color-bg-2)}.wrapper .ai-container .chat-area .question[data-v-0c3ddbd1]{position:relative}.wrapper .ai-container .chat-area .question .question-input[data-v-0c3ddbd1]{height:100%;font-size:14px}.wrapper .ai-container .chat-area .question .question-tools[data-v-0c3ddbd1]{flex-direction:row;justify-content:space-between;align-items:center;gap:100px;width:100%;padding:5px 30px;display:flex;position:absolute;bottom:22px;left:0}.wrapper .ai-container .chat-area .question .question-tools .send-btn[data-v-0c3ddbd1]{flex-direction:row;justify-content:start;align-items:center;gap:10px;display:flex}.wrapper .ai-container .chat-area .question .question-tools .send-btn i[data-v-0c3ddbd1]{cursor:pointer}\ No newline at end of filediff --git a/core/public/dist/static/css/async/6928.41e4df66.css b/core/public/dist/static/css/async/6928.41e4df66.cssnew file mode 100644index 00000000..6b04bc97--- /dev/null+++ b/core/public/dist/static/css/async/6928.41e4df66.css@@ -0,0 +1 @@+.bt-tips[data-v-8731a1b4] li{margin-left:1.5em;list-style:outside}[data-v-c97e6920],[data-v-c97e6920]:before{box-sizing:border-box}html[data-v-c97e6920],body[data-v-c97e6920],#root[data-v-c97e6920]{width:100%;height:100%}body[data-v-c97e6920]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-c97e6920]::-ms-reveal{display:none}a[data-v-c97e6920]{text-decoration:none}p[data-v-c97e6920],ul[data-v-c97e6920],pre[data-v-c97e6920]{margin:0;padding:0}pre[data-v-c97e6920]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-c97e6920]{border:none;outline:none}[data-v-c97e6920]::-webkit-scrollbar{width:10px;height:10px}[data-v-c97e6920]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-c97e6920]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-c97e6920]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-c97e6920]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff;--color-command:#101010}:root[theme-mode=dark][data-v-c97e6920]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424;--color-command:#101010}div.n-card[data-v-c97e6920]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-c97e6920]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-c97e6920]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-c97e6920]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-c97e6920]{display:none}.n-radio-group.n-radio-group--button-group[data-v-c97e6920]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-c97e6920]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-c97e6920]{margin-left:16px}.wrapper[data-v-c97e6920]{flex-direction:column;justify-content:center;align-items:center;gap:20px;height:153px;display:flex}.wrapper .creation-methods[data-v-c97e6920]{border-bottom:1px solid var(--color-border-1);flex-direction:row;justify-content:center;align-items:center;gap:25px;width:90%;display:flex}.wrapper .creation-methods .choose-item[data-v-c97e6920]{cursor:pointer;color:var(--color-text-2);box-sizing:border-box;flex-direction:row;justify-content:start;align-items:center;gap:5px;padding:6px 15px;transition:all .1s ease-in-out;display:flex}.wrapper .creation-methods .choose-item .item-label[data-v-c97e6920]{font-size:16px;transition:all .2s ease-in-out}.wrapper .creation-methods .choose-item[data-v-c97e6920]:hover{color:var(--color-primary-1)}.wrapper .creation-methods .choose-item.active[data-v-c97e6920]{color:var(--color-primary-1);border-bottom:2px solid var(--color-primary-1);font-weight:700;transform:scale(1.3)translateY(-5px)}.wrapper .url-source[data-v-c97e6920]{flex-direction:row;justify-content:start;align-items:center;gap:10px;width:90%;display:flex}.wrapper .url-source.hidden[data-v-c97e6920]{visibility:hidden}.wrapper .desc[data-v-c97e6920]{width:90%;color:var(--color-text-3);font-size:14px}[data-v-30bbfe3c],[data-v-30bbfe3c]:before{box-sizing:border-box}html[data-v-30bbfe3c],body[data-v-30bbfe3c],#root[data-v-30bbfe3c]{width:100%;height:100%}body[data-v-30bbfe3c]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-30bbfe3c]::-ms-reveal{display:none}a[data-v-30bbfe3c]{text-decoration:none}p[data-v-30bbfe3c],ul[data-v-30bbfe3c],pre[data-v-30bbfe3c]{margin:0;padding:0}pre[data-v-30bbfe3c]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-30bbfe3c]{border:none;outline:none}[data-v-30bbfe3c]::-webkit-scrollbar{width:10px;height:10px}[data-v-30bbfe3c]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-30bbfe3c]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-30bbfe3c]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-30bbfe3c]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff;--color-command:#101010}:root[theme-mode=dark][data-v-30bbfe3c]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424;--color-command:#101010}div.n-card[data-v-30bbfe3c]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-30bbfe3c]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-30bbfe3c]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-30bbfe3c]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-30bbfe3c]{display:none}.n-radio-group.n-radio-group--button-group[data-v-30bbfe3c]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-30bbfe3c]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-30bbfe3c]{margin-left:16px}.content-wrapper[data-v-30bbfe3c]{width:866px;margin:0 auto;padding-top:32px;padding-bottom:32px}.content-wrapper .page-tit[data-v-30bbfe3c]{flex-direction:row;justify-content:space-between;align-items:center;gap:5px;display:flex}.content-wrapper .page-tit .left-tit[data-v-30bbfe3c]{flex-direction:row;justify-content:start;align-items:center;gap:8px;display:flex}.content-wrapper .page-tit .left-tit .back-tool[data-v-30bbfe3c]{color:var(--color-primary-1);cursor:pointer;flex-direction:row;justify-content:start;align-items:center;gap:5px;transition:all .1s ease-in-out;display:flex}.content-wrapper .page-tit .left-tit .back-tool .back-btn[data-v-30bbfe3c]{font-size:18px}.content-wrapper .page-tit .left-tit .tit-content[data-v-30bbfe3c]{color:var(--color-text-1);font-size:16px;font-weight:700}.content-wrapper .form-label[data-v-30bbfe3c]{color:var(--color-text-2);font-size:14px}.content-wrapper .switch-settings .switch-item[data-v-30bbfe3c]{flex-direction:row;justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.content-wrapper .switch-settings .switch-item .label[data-v-30bbfe3c]{color:var(--color-text-2);font-size:14px;font-weight:700}.content-wrapper .close[data-v-30bbfe3c]{background:var(--color-bg-1);border:1px solid var(--color-border-1);width:34px;height:34px;color:var(--color-text-2);cursor:pointer;border-radius:5px;flex-direction:row;justify-content:center;align-items:center;transition:all .2s ease-in-out;display:flex}.content-wrapper .close.close[data-v-30bbfe3c]{border-color:var(--color-error-1);color:var(--color-error-1)}.content-wrapper .close.close[data-v-30bbfe3c]:hover{color:#fff;background:var(--color-error-1)}\ No newline at end of filediff --git a/core/public/dist/static/css/async/7699.12b9bbb1.css b/core/public/dist/static/css/async/7699.12b9bbb1.cssnew file mode 100644index 00000000..56661fa5--- /dev/null+++ b/core/public/dist/static/css/async/7699.12b9bbb1.css@@ -0,0 +1 @@+.monaco-editor-container[data-v-72ffe419]{border-radius:4px;width:100%;height:100%;min-height:400px;overflow:hidden}.n-upload-dragger[data-v-6410fc8e]{padding:32px 0}.n-upload-dragger[data-v-6410fc8e]:hover{--n-dragger-color:var(--color-primary-2);--n-dragger-border-hover:1px dashed var(--color-primary-3)}.n-upload-dragger[data-v-6410fc8e]:hover .drag-icon{background-color:var(--color-primary-1);color:#fff}.n-upload-dragger[data-v-6410fc8e] .drag-icon{background-color:var(--color-bg-4);border-radius:4px;justify-content:center;align-items:center;width:40px;height:40px;font-size:16px;transition:background-color .3s,color .3s;display:flex}.n-upload-dragger[data-v-6410fc8e] .drag-text{margin-top:16px;font-size:14px;font-weight:500}.n-upload-dragger[data-v-6410fc8e] .drag-suffix{color:var(--color-text-2);margin-top:4px}[data-v-c97e6920],[data-v-c97e6920]:before{box-sizing:border-box}html[data-v-c97e6920],body[data-v-c97e6920],#root[data-v-c97e6920]{width:100%;height:100%}body[data-v-c97e6920]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-c97e6920]::-ms-reveal{display:none}a[data-v-c97e6920]{text-decoration:none}p[data-v-c97e6920],ul[data-v-c97e6920],pre[data-v-c97e6920]{margin:0;padding:0}pre[data-v-c97e6920]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-c97e6920]{border:none;outline:none}[data-v-c97e6920]::-webkit-scrollbar{width:10px;height:10px}[data-v-c97e6920]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-c97e6920]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-c97e6920]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-c97e6920]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff;--color-command:#101010}:root[theme-mode=dark][data-v-c97e6920]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424;--color-command:#101010}div.n-card[data-v-c97e6920]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-c97e6920]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-c97e6920]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-c97e6920]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-c97e6920]{display:none}.n-radio-group.n-radio-group--button-group[data-v-c97e6920]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-c97e6920]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-c97e6920]{margin-left:16px}.wrapper[data-v-c97e6920]{flex-direction:column;justify-content:center;align-items:center;gap:20px;height:153px;display:flex}.wrapper .creation-methods[data-v-c97e6920]{border-bottom:1px solid var(--color-border-1);flex-direction:row;justify-content:center;align-items:center;gap:25px;width:90%;display:flex}.wrapper .creation-methods .choose-item[data-v-c97e6920]{cursor:pointer;color:var(--color-text-2);box-sizing:border-box;flex-direction:row;justify-content:start;align-items:center;gap:5px;padding:6px 15px;transition:all .1s ease-in-out;display:flex}.wrapper .creation-methods .choose-item .item-label[data-v-c97e6920]{font-size:16px;transition:all .2s ease-in-out}.wrapper .creation-methods .choose-item[data-v-c97e6920]:hover{color:var(--color-primary-1)}.wrapper .creation-methods .choose-item.active[data-v-c97e6920]{color:var(--color-primary-1);border-bottom:2px solid var(--color-primary-1);font-weight:700;transform:scale(1.3)translateY(-5px)}.wrapper .url-source[data-v-c97e6920]{flex-direction:row;justify-content:start;align-items:center;gap:10px;width:90%;display:flex}.wrapper .url-source.hidden[data-v-c97e6920]{visibility:hidden}.wrapper .desc[data-v-c97e6920]{width:90%;color:var(--color-text-3);font-size:14px}.template-container[data-v-0e970b7e]{background-color:#fff;border-radius:3px;padding:16px}.template-container .action-bar[data-v-0e970b7e]{justify-content:space-between;margin-bottom:16px;display:flex}[data-v-0e970b7e] .edit-domain-input,[data-v-0e970b7e] .edit-domain-input .n-input__input-el{height:26px}\ No newline at end of filediff --git a/core/public/dist/static/css/async/7699.cb2f7568.css b/core/public/dist/static/css/async/7699.cb2f7568.cssdeleted file mode 100644index b021293f..00000000--- a/core/public/dist/static/css/async/7699.cb2f7568.css+++ /dev/null@@ -1 +0,0 @@-.monaco-editor-container[data-v-72ffe419]{border-radius:4px;width:100%;height:100%;min-height:400px;overflow:hidden}.n-upload-dragger[data-v-6410fc8e]{padding:32px 0}.n-upload-dragger[data-v-6410fc8e]:hover{--n-dragger-color:var(--color-primary-2);--n-dragger-border-hover:1px dashed var(--color-primary-3)}.n-upload-dragger[data-v-6410fc8e]:hover .drag-icon{background-color:var(--color-primary-1);color:#fff}.n-upload-dragger[data-v-6410fc8e] .drag-icon{background-color:var(--color-bg-4);border-radius:4px;justify-content:center;align-items:center;width:40px;height:40px;font-size:16px;transition:background-color .3s,color .3s;display:flex}.n-upload-dragger[data-v-6410fc8e] .drag-text{margin-top:16px;font-size:14px;font-weight:500}.n-upload-dragger[data-v-6410fc8e] .drag-suffix{color:var(--color-text-2);margin-top:4px}[data-v-c97e6920],[data-v-c97e6920]:before{box-sizing:border-box}html[data-v-c97e6920],body[data-v-c97e6920],#root[data-v-c97e6920]{width:100%;height:100%}body[data-v-c97e6920]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-c97e6920]::-ms-reveal{display:none}a[data-v-c97e6920]{text-decoration:none}p[data-v-c97e6920],ul[data-v-c97e6920],pre[data-v-c97e6920]{margin:0;padding:0}pre[data-v-c97e6920]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-c97e6920]{border:none;outline:none}[data-v-c97e6920]::-webkit-scrollbar{width:10px;height:10px}[data-v-c97e6920]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-c97e6920]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-c97e6920]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-c97e6920]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff}:root[theme-mode=dark][data-v-c97e6920]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424}div.n-card[data-v-c97e6920]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-c97e6920]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-c97e6920]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-c97e6920]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-c97e6920]{display:none}.n-radio-group.n-radio-group--button-group[data-v-c97e6920]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-c97e6920]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-c97e6920]{margin-left:16px}.wrapper[data-v-c97e6920]{flex-direction:column;justify-content:center;align-items:center;gap:20px;height:153px;display:flex}.wrapper .creation-methods[data-v-c97e6920]{border-bottom:1px solid var(--color-border-1);flex-direction:row;justify-content:center;align-items:center;gap:25px;width:90%;display:flex}.wrapper .creation-methods .choose-item[data-v-c97e6920]{cursor:pointer;color:var(--color-text-2);box-sizing:border-box;flex-direction:row;justify-content:start;align-items:center;gap:5px;padding:6px 15px;transition:all .1s ease-in-out;display:flex}.wrapper .creation-methods .choose-item .item-label[data-v-c97e6920]{font-size:16px;transition:all .2s ease-in-out}.wrapper .creation-methods .choose-item[data-v-c97e6920]:hover{color:var(--color-primary-1)}.wrapper .creation-methods .choose-item.active[data-v-c97e6920]{color:var(--color-primary-1);border-bottom:2px solid var(--color-primary-1);font-weight:700;transform:scale(1.3)translateY(-5px)}.wrapper .url-source[data-v-c97e6920]{flex-direction:row;justify-content:start;align-items:center;gap:10px;width:90%;display:flex}.wrapper .url-source.hidden[data-v-c97e6920]{visibility:hidden}.wrapper .desc[data-v-c97e6920]{width:90%;color:var(--color-text-3);font-size:14px}.template-container[data-v-0e970b7e]{background-color:#fff;border-radius:3px;padding:16px}.template-container .action-bar[data-v-0e970b7e]{justify-content:space-between;margin-bottom:16px;display:flex}[data-v-0e970b7e] .edit-domain-input,[data-v-0e970b7e] .edit-domain-input .n-input__input-el{height:26px}\ No newline at end of filediff --git a/core/public/dist/static/css/async/7704.59e548ee.css b/core/public/dist/static/css/async/7704.59e548ee.cssdeleted file mode 100644index 897d8456..00000000--- a/core/public/dist/static/css/async/7704.59e548ee.css+++ /dev/null@@ -1 +0,0 @@-[data-v-23ce9087],[data-v-23ce9087]:before{box-sizing:border-box}html[data-v-23ce9087],body[data-v-23ce9087],#root[data-v-23ce9087]{width:100%;height:100%}body[data-v-23ce9087]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-23ce9087]::-ms-reveal{display:none}a[data-v-23ce9087]{text-decoration:none}p[data-v-23ce9087],ul[data-v-23ce9087],pre[data-v-23ce9087]{margin:0;padding:0}pre[data-v-23ce9087]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-23ce9087]{border:none;outline:none}[data-v-23ce9087]::-webkit-scrollbar{width:10px;height:10px}[data-v-23ce9087]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-23ce9087]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-23ce9087]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-23ce9087]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff}:root[theme-mode=dark][data-v-23ce9087]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424}div.n-card[data-v-23ce9087]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-23ce9087]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-23ce9087]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-23ce9087]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-23ce9087]{display:none}.n-radio-group.n-radio-group--button-group[data-v-23ce9087]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-23ce9087]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-23ce9087]{margin-left:16px}.content-wrapper[data-v-23ce9087]{width:866px;margin:0 auto;padding-top:32px}.content-wrapper .page-tit[data-v-23ce9087]{flex-direction:row;justify-content:space-between;align-items:center;gap:5px;display:flex}.content-wrapper .page-tit .left-tit[data-v-23ce9087]{flex-direction:row;justify-content:start;align-items:center;gap:8px;display:flex}.content-wrapper .page-tit .left-tit .back-tool[data-v-23ce9087]{color:var(--color-primary-1);cursor:pointer;flex-direction:row;justify-content:start;align-items:center;gap:5px;transition:all .1s ease-in-out;display:flex}.content-wrapper .page-tit .left-tit .back-tool .back-btn[data-v-23ce9087]{font-size:18px}.content-wrapper .page-tit .left-tit .tit-content[data-v-23ce9087]{color:var(--color-text-1);font-size:16px;font-weight:700}.content-wrapper .form-label[data-v-23ce9087]{color:var(--color-text-2);font-size:14px}\ No newline at end of filediff --git a/core/public/dist/static/css/async/7704.c43735fd.css b/core/public/dist/static/css/async/7704.c43735fd.cssnew file mode 100644index 00000000..a4c1b667--- /dev/null+++ b/core/public/dist/static/css/async/7704.c43735fd.css@@ -0,0 +1 @@+[data-v-23ce9087],[data-v-23ce9087]:before{box-sizing:border-box}html[data-v-23ce9087],body[data-v-23ce9087],#root[data-v-23ce9087]{width:100%;height:100%}body[data-v-23ce9087]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-23ce9087]::-ms-reveal{display:none}a[data-v-23ce9087]{text-decoration:none}p[data-v-23ce9087],ul[data-v-23ce9087],pre[data-v-23ce9087]{margin:0;padding:0}pre[data-v-23ce9087]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-23ce9087]{border:none;outline:none}[data-v-23ce9087]::-webkit-scrollbar{width:10px;height:10px}[data-v-23ce9087]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-23ce9087]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-23ce9087]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-23ce9087]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff;--color-command:#101010}:root[theme-mode=dark][data-v-23ce9087]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424;--color-command:#101010}div.n-card[data-v-23ce9087]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-23ce9087]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-23ce9087]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-23ce9087]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-23ce9087]{display:none}.n-radio-group.n-radio-group--button-group[data-v-23ce9087]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-23ce9087]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-23ce9087]{margin-left:16px}.content-wrapper[data-v-23ce9087]{width:866px;margin:0 auto;padding-top:32px}.content-wrapper .page-tit[data-v-23ce9087]{flex-direction:row;justify-content:space-between;align-items:center;gap:5px;display:flex}.content-wrapper .page-tit .left-tit[data-v-23ce9087]{flex-direction:row;justify-content:start;align-items:center;gap:8px;display:flex}.content-wrapper .page-tit .left-tit .back-tool[data-v-23ce9087]{color:var(--color-primary-1);cursor:pointer;flex-direction:row;justify-content:start;align-items:center;gap:5px;transition:all .1s ease-in-out;display:flex}.content-wrapper .page-tit .left-tit .back-tool .back-btn[data-v-23ce9087]{font-size:18px}.content-wrapper .page-tit .left-tit .tit-content[data-v-23ce9087]{color:var(--color-text-1);font-size:16px;font-weight:700}.content-wrapper .form-label[data-v-23ce9087]{color:var(--color-text-2);font-size:14px}\ No newline at end of filediff --git a/core/public/dist/static/css/async/8749.c2216d51.css b/core/public/dist/static/css/async/8749.c2216d51.cssnew file mode 100644index 00000000..5cd745b5--- /dev/null+++ b/core/public/dist/static/css/async/8749.c2216d51.css@@ -0,0 +1 @@+[data-v-25dcc830],[data-v-25dcc830]:before{box-sizing:border-box}html[data-v-25dcc830],body[data-v-25dcc830],#root[data-v-25dcc830]{width:100%;height:100%}body[data-v-25dcc830]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-25dcc830]::-ms-reveal{display:none}a[data-v-25dcc830]{text-decoration:none}p[data-v-25dcc830],ul[data-v-25dcc830],pre[data-v-25dcc830]{margin:0;padding:0}pre[data-v-25dcc830]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-25dcc830]{border:none;outline:none}[data-v-25dcc830]::-webkit-scrollbar{width:10px;height:10px}[data-v-25dcc830]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-25dcc830]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-25dcc830]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-25dcc830]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff;--color-command:#101010}:root[theme-mode=dark][data-v-25dcc830]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424;--color-command:#101010}div.n-card[data-v-25dcc830]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-25dcc830]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-25dcc830]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-25dcc830]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-25dcc830]{display:none}.n-radio-group.n-radio-group--button-group[data-v-25dcc830]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-25dcc830]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-25dcc830]{margin-left:16px}.wrapper[data-v-25dcc830]{box-sizing:border-box;grid-template-rows:40px 45px 1fr 80px;height:calc(100% - 48px);padding:24px;display:grid}.footer-tool[data-v-25dcc830]{background:#fff;flex-direction:row;justify-content:flex-start;align-items:center;width:100%;height:80px;padding:0 20px;display:flex;position:absolute;bottom:0;left:0}.page-tit[data-v-25dcc830]{flex-direction:row;justify-content:start;align-items:center;gap:15px;margin-bottom:20px;display:flex}.page-tit .back-tool[data-v-25dcc830]{color:var(--color-primary-1);cursor:pointer;flex-direction:row;justify-content:start;align-items:center;gap:5px;transition:all .1s ease-in-out;display:flex}.page-tit .back-tool[data-v-25dcc830]:hover{color:var(--color-primary-3)}.page-tit .back-tool .back-btn[data-v-25dcc830]{font-size:18px}.page-tit .tit-content[data-v-25dcc830]{color:var(--color-text-1);font-size:18px;font-weight:700}.content-tabs[data-v-25dcc830]{border-bottom:1px solid var(--color-border-1);flex-direction:row;justify-content:start;align-items:center;width:100%;height:46px;display:flex}.content-tabs .tab-item[data-v-25dcc830]{cursor:pointer;flex-direction:column;justify-content:center;align-items:center;height:100%;padding:0 20px;font-size:14px;transition:color .1s ease-in-out;display:flex}.content-tabs .tab-item[data-v-25dcc830]:hover{color:var(--color-primary-1)}.content-tabs .tab-item.active[data-v-25dcc830]{color:var(--color-primary-1);border-bottom:2px solid var(--color-primary-1);margin-bottom:-2px}.dynamic-content[data-v-25dcc830]{box-sizing:border-box;height:calc(100vh - 240px);padding:20px}\ No newline at end of filediff --git a/core/public/dist/static/css/async/8813.245c9c7c.css b/core/public/dist/static/css/async/8813.245c9c7c.cssdeleted file mode 100644index 178ab8cf..00000000--- a/core/public/dist/static/css/async/8813.245c9c7c.css+++ /dev/null@@ -1 +0,0 @@-[data-v-6537ae30],[data-v-6537ae30]:before{box-sizing:border-box}html[data-v-6537ae30],body[data-v-6537ae30],#root[data-v-6537ae30]{width:100%;height:100%}body[data-v-6537ae30]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-6537ae30]::-ms-reveal{display:none}a[data-v-6537ae30]{text-decoration:none}p[data-v-6537ae30],ul[data-v-6537ae30],pre[data-v-6537ae30]{margin:0;padding:0}pre[data-v-6537ae30]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-6537ae30]{border:none;outline:none}[data-v-6537ae30]::-webkit-scrollbar{width:10px;height:10px}[data-v-6537ae30]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-6537ae30]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-6537ae30]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-6537ae30]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff}:root[theme-mode=dark][data-v-6537ae30]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424}div.n-card[data-v-6537ae30]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-6537ae30]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-6537ae30]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-6537ae30]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-6537ae30]{display:none}.n-radio-group.n-radio-group--button-group[data-v-6537ae30]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-6537ae30]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-6537ae30]{margin-left:16px}.content-wrapper[data-v-6537ae30]{width:866px;margin:0 auto;padding-top:32px}.content-wrapper .page-tit[data-v-6537ae30]{flex-direction:row;justify-content:space-between;align-items:center;gap:5px;display:flex}.content-wrapper .page-tit .left-tit[data-v-6537ae30]{flex-direction:row;justify-content:start;align-items:center;gap:8px;display:flex}.content-wrapper .page-tit .left-tit .back-tool[data-v-6537ae30]{color:var(--color-primary-1);cursor:pointer;flex-direction:row;justify-content:start;align-items:center;gap:5px;transition:all .1s ease-in-out;display:flex}.content-wrapper .page-tit .left-tit .back-tool .back-btn[data-v-6537ae30]{font-size:18px}.content-wrapper .page-tit .left-tit .tit-content[data-v-6537ae30]{color:var(--color-text-1);font-size:16px;font-weight:700}.content-wrapper .form-label[data-v-6537ae30]{color:var(--color-text-2);font-size:14px}.content-wrapper .inline-form-items[data-v-6537ae30]{flex-direction:row;justify-content:space-between;align-items:center;gap:10px;width:100%;display:flex}.content-wrapper .inline-form-items .name[data-v-6537ae30],.content-wrapper .inline-form-items .url[data-v-6537ae30]{flex:3.5}.content-wrapper .inline-form-items .type[data-v-6537ae30]{flex:2}.content-wrapper .inline-form-items .operation[data-v-6537ae30]{background:var(--color-bg-1);border:1px solid var(--color-border-1);width:34px;height:34px;color:var(--color-text-2);cursor:pointer;border-radius:5px;flex-direction:row;justify-content:center;align-items:center;transition:all .2s ease-in-out;display:flex}.content-wrapper .inline-form-items .operation.close[data-v-6537ae30]{border-color:var(--color-error-1);color:var(--color-error-1)}.content-wrapper .inline-form-items .operation.close[data-v-6537ae30]:hover{color:#fff;background:var(--color-error-1)}.content-wrapper .inline-form-items .operation.save[data-v-6537ae30]{color:var(--color-primary-1);border-color:var(--color-primary-1)}.content-wrapper .inline-form-items .operation.save[data-v-6537ae30]:hover{color:#fff;background:var(--color-primary-hover-1)}.content-wrapper .inline-form-items .operation.disabled[data-v-6537ae30]{opacity:.5;cursor:not-allowed}\ No newline at end of filediff --git a/core/public/dist/static/css/async/8813.fe1ed16e.css b/core/public/dist/static/css/async/8813.fe1ed16e.cssnew file mode 100644index 00000000..2a0f897d--- /dev/null+++ b/core/public/dist/static/css/async/8813.fe1ed16e.css@@ -0,0 +1 @@+[data-v-6537ae30],[data-v-6537ae30]:before{box-sizing:border-box}html[data-v-6537ae30],body[data-v-6537ae30],#root[data-v-6537ae30]{width:100%;height:100%}body[data-v-6537ae30]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-6537ae30]::-ms-reveal{display:none}a[data-v-6537ae30]{text-decoration:none}p[data-v-6537ae30],ul[data-v-6537ae30],pre[data-v-6537ae30]{margin:0;padding:0}pre[data-v-6537ae30]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-6537ae30]{border:none;outline:none}[data-v-6537ae30]::-webkit-scrollbar{width:10px;height:10px}[data-v-6537ae30]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-6537ae30]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-6537ae30]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-6537ae30]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff;--color-command:#101010}:root[theme-mode=dark][data-v-6537ae30]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424;--color-command:#101010}div.n-card[data-v-6537ae30]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-6537ae30]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-6537ae30]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-6537ae30]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-6537ae30]{display:none}.n-radio-group.n-radio-group--button-group[data-v-6537ae30]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-6537ae30]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-6537ae30]{margin-left:16px}.content-wrapper[data-v-6537ae30]{width:866px;margin:0 auto;padding-top:32px}.content-wrapper .page-tit[data-v-6537ae30]{flex-direction:row;justify-content:space-between;align-items:center;gap:5px;display:flex}.content-wrapper .page-tit .left-tit[data-v-6537ae30]{flex-direction:row;justify-content:start;align-items:center;gap:8px;display:flex}.content-wrapper .page-tit .left-tit .back-tool[data-v-6537ae30]{color:var(--color-primary-1);cursor:pointer;flex-direction:row;justify-content:start;align-items:center;gap:5px;transition:all .1s ease-in-out;display:flex}.content-wrapper .page-tit .left-tit .back-tool .back-btn[data-v-6537ae30]{font-size:18px}.content-wrapper .page-tit .left-tit .tit-content[data-v-6537ae30]{color:var(--color-text-1);font-size:16px;font-weight:700}.content-wrapper .form-label[data-v-6537ae30]{color:var(--color-text-2);font-size:14px}.content-wrapper .inline-form-items[data-v-6537ae30]{flex-direction:row;justify-content:space-between;align-items:center;gap:10px;width:100%;display:flex}.content-wrapper .inline-form-items .name[data-v-6537ae30],.content-wrapper .inline-form-items .url[data-v-6537ae30]{flex:3.5}.content-wrapper .inline-form-items .type[data-v-6537ae30]{flex:2}.content-wrapper .inline-form-items .operation[data-v-6537ae30]{background:var(--color-bg-1);border:1px solid var(--color-border-1);width:34px;height:34px;color:var(--color-text-2);cursor:pointer;border-radius:5px;flex-direction:row;justify-content:center;align-items:center;transition:all .2s ease-in-out;display:flex}.content-wrapper .inline-form-items .operation.close[data-v-6537ae30]{border-color:var(--color-error-1);color:var(--color-error-1)}.content-wrapper .inline-form-items .operation.close[data-v-6537ae30]:hover{color:#fff;background:var(--color-error-1)}.content-wrapper .inline-form-items .operation.save[data-v-6537ae30]{color:var(--color-primary-1);border-color:var(--color-primary-1)}.content-wrapper .inline-form-items .operation.save[data-v-6537ae30]:hover{color:#fff;background:var(--color-primary-hover-1)}.content-wrapper .inline-form-items .operation.disabled[data-v-6537ae30]{opacity:.5;cursor:not-allowed}\ No newline at end of filediff --git a/core/public/dist/static/css/async/9234.0de153a8.css b/core/public/dist/static/css/async/9234.0de153a8.cssnew file mode 100644index 00000000..6f7a9b0f--- /dev/null+++ b/core/public/dist/static/css/async/9234.0de153a8.css@@ -0,0 +1 @@+[data-v-dea3c9fa],[data-v-dea3c9fa]:before{box-sizing:border-box}html[data-v-dea3c9fa],body[data-v-dea3c9fa],#root[data-v-dea3c9fa]{width:100%;height:100%}body[data-v-dea3c9fa]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-dea3c9fa]::-ms-reveal{display:none}a[data-v-dea3c9fa]{text-decoration:none}p[data-v-dea3c9fa],ul[data-v-dea3c9fa],pre[data-v-dea3c9fa]{margin:0;padding:0}pre[data-v-dea3c9fa]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-dea3c9fa]{border:none;outline:none}[data-v-dea3c9fa]::-webkit-scrollbar{width:10px;height:10px}[data-v-dea3c9fa]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-dea3c9fa]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-dea3c9fa]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-dea3c9fa]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff;--color-command:#101010}:root[theme-mode=dark][data-v-dea3c9fa]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424;--color-command:#101010}div.n-card[data-v-dea3c9fa]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-dea3c9fa]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-dea3c9fa]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-dea3c9fa]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-dea3c9fa]{display:none}.n-radio-group.n-radio-group--button-group[data-v-dea3c9fa]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-dea3c9fa]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-dea3c9fa]{margin-left:16px}.content-wrapper[data-v-dea3c9fa]{width:866px;margin:0 auto;padding-top:32px}.content-wrapper .page-tit[data-v-dea3c9fa]{flex-direction:row;justify-content:space-between;align-items:center;gap:5px;display:flex}.content-wrapper .page-tit .left-tit[data-v-dea3c9fa]{flex-direction:row;justify-content:start;align-items:center;gap:8px;display:flex}.content-wrapper .page-tit .left-tit .back-tool[data-v-dea3c9fa]{color:var(--color-primary-1);cursor:pointer;flex-direction:row;justify-content:start;align-items:center;gap:5px;transition:all .1s ease-in-out;display:flex}.content-wrapper .page-tit .left-tit .back-tool .back-btn[data-v-dea3c9fa]{font-size:18px}.content-wrapper .page-tit .left-tit .tit-content[data-v-dea3c9fa]{color:var(--color-text-1);font-size:16px;font-weight:700}.content-wrapper .form-label[data-v-dea3c9fa]{color:var(--color-text-2);font-size:14px}\ No newline at end of filediff --git a/core/public/dist/static/css/async/9234.97b5fe1f.css b/core/public/dist/static/css/async/9234.97b5fe1f.cssdeleted file mode 100644index 98c8bc07..00000000--- a/core/public/dist/static/css/async/9234.97b5fe1f.css+++ /dev/null@@ -1 +0,0 @@-[data-v-dea3c9fa],[data-v-dea3c9fa]:before{box-sizing:border-box}html[data-v-dea3c9fa],body[data-v-dea3c9fa],#root[data-v-dea3c9fa]{width:100%;height:100%}body[data-v-dea3c9fa]{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password][data-v-dea3c9fa]::-ms-reveal{display:none}a[data-v-dea3c9fa]{text-decoration:none}p[data-v-dea3c9fa],ul[data-v-dea3c9fa],pre[data-v-dea3c9fa]{margin:0;padding:0}pre[data-v-dea3c9fa]{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe[data-v-dea3c9fa]{border:none;outline:none}[data-v-dea3c9fa]::-webkit-scrollbar{width:10px;height:10px}[data-v-dea3c9fa]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-dea3c9fa]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-dea3c9fa]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-dea3c9fa]:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff}:root[theme-mode=dark][data-v-dea3c9fa]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424}div.n-card[data-v-dea3c9fa]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-dea3c9fa]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-dea3c9fa]{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content[data-v-dea3c9fa]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-dea3c9fa]{display:none}.n-radio-group.n-radio-group--button-group[data-v-dea3c9fa]{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button[data-v-dea3c9fa]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-dea3c9fa]{margin-left:16px}.content-wrapper[data-v-dea3c9fa]{width:866px;margin:0 auto;padding-top:32px}.content-wrapper .page-tit[data-v-dea3c9fa]{flex-direction:row;justify-content:space-between;align-items:center;gap:5px;display:flex}.content-wrapper .page-tit .left-tit[data-v-dea3c9fa]{flex-direction:row;justify-content:start;align-items:center;gap:8px;display:flex}.content-wrapper .page-tit .left-tit .back-tool[data-v-dea3c9fa]{color:var(--color-primary-1);cursor:pointer;flex-direction:row;justify-content:start;align-items:center;gap:5px;transition:all .1s ease-in-out;display:flex}.content-wrapper .page-tit .left-tit .back-tool .back-btn[data-v-dea3c9fa]{font-size:18px}.content-wrapper .page-tit .left-tit .tit-content[data-v-dea3c9fa]{color:var(--color-text-1);font-size:16px;font-weight:700}.content-wrapper .form-label[data-v-dea3c9fa]{color:var(--color-text-2);font-size:14px}\ No newline at end of filediff --git a/core/public/dist/static/css/index.09684823.css b/core/public/dist/static/css/index.09684823.cssdeleted file mode 100644index cdf59dec..00000000--- a/core/public/dist/static/css/index.09684823.css+++ /dev/null@@ -1 +0,0 @@-.bt-message-ke2eaH{border:1px solid var(--color-border-2);background-color:var(--color-bg-1);min-width:180px;max-width:360px;max-height:700px;color:var(--color-text-1);opacity:0;border-radius:4px;align-items:center;padding:16px;display:flex;position:fixed;top:0;left:0}.bt-close-btn[data-v-52951952]{z-index:1000;position:absolute;top:15px;right:15px}.bt-close-btn .close-icon[data-v-52951952]{cursor:pointer;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKwwAACsMBNCkkqwAAABZ0RVh0Q3JlYXRpb24gVGltZQAwMy8xNC8xNxpI5/gAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAEN0lEQVRIiaWXTUhjVxTH/+diAmNMDGpCSCBNtWFEIQ0MFAYGZlNt6aKbUhpxYeAZxY0MlGy7K67LLIraYA26sd2UblrUEYp0oIKIgviBaaqNlYRIJgkulDm3i+Q9XvJenjoeCLxz7j3nd9595957QlJKqEJEsBJmfg7gGYAgAB+AtwAKRPQ3gE0i2rQMoBcppfZrMR5l5llmzstbhJn/ZeaXzDxw5wRMgEFmnrkNZpHEN8zsaRXfdG2llB9LKX8iIrfeXigUsLe3h1KphGq1CiKCw+FAV1cXIpEIurq6muP8ByAmhPjjVjAzjxHRj3rb7u4u1tbWkM/nLVfJ7/djeHgY/f39zQl8LoT4tSWYmT8hot9UvVKpYHl5Gdls1hLYLOFwGCMjI2hvb9fDn+vfXAMz8/sA9ojIAQC5XA6Li4sol8v3gqrS3d0NRVG05ZdS/kNEHxLRGwAQurlTKrRcLj8ICgDFYhGpVApXV1cAACJ6D8CUOi7q2TwhoqRqXFpaehBUD19ZWdGbZpj5Az1Yy2RnZwenp6eGIH6/3xJit9vhdrsN9oODAxwdHelNUxqYiBTVur6+bnCORqOYnp5GIpGAzWYzjPt8PiSTSSSTSdjtdsP46uqq9qyyBDMPqcZsNotCoWBwPDk5QblcRl9fH+LxeAPc6/UikUjA6XQik8ng+vra4H92doaLiwtV7WTmjwRqZy8A4Pj42OAE1LbV7OysAe71ejE5OQmHw4FMJoN0Om3qbxL7mQDwWNXM3laVYrHYAFcUpQG6sLCAm5ublv5NsR8LIvKpWrVabemowufn51EulxEKhe4MNYntE60mthIiarg+hbh3iJqflFL76h0dHZaTPR6PVkjZbBaVSgWhUAiKophWu16aYl8IAIf6wFbQiYkJrXpTqRTm5uYa4GZbqUXsQwFA6xrC4bCpk9vtboCq37RQKDTAx8bGWi59U+xNQUSvVC0YDBruVAAIBAJwOp04OTkxFJIKVwuura3N1N/n02r4jRDiLwIAZv6TiJ4CwPb2dvP5CqB2UFjdxzabDY8ePTI94+PxuHZHSym/E0K8UNfla3VSNBpFIBAwON/WBNzc3JhCe3t7mxuD74H6WS2EeC2lfF1/RiwWa7jE31VcLhdisZimSym/FUIcauC6TEkpr4FaBSqKAqfT+c5Qt9uN8fFxuFwuFVpE/W0BY+vzBRH9rOqlUgnpdBrn5+f3goZCIYyOjjYkLqX8VAjxuym4Djc0e1tbW9jY2MDl5aUl0OPxYGhoCJFIpMEupfxKCNFQsabtLTN/BuAXImrYG7lcDvv7+6hUKsjn8xBCoKenB52dnRgcHNRvGRVYIqIviWjNMuMm+AAzv3xAQz8jpQzeGWiSwFNmTjPz1R14JWb+QUr55La41v/SjEkModY4+AAMENFbKeUhgByATSHEK8sAOvkfU5us3WE/neAAAAAASUVORK5CYII=);background-position:50%;border-radius:50%;width:30px;height:30px;transition:all .4s ease-in-out;position:absolute;top:-28px;right:-28px}.bt-close-btn .close-icon[data-v-52951952]:hover{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKwwAACsMBNCkkqwAAABZ0RVh0Q3JlYXRpb24gVGltZQAwMy8xNC8xNxpI5/gAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAEXUlEQVRIiaWXf2iVZRTHv8957t3d3ruSja0mA82NLTMl7gZzjJH0A0RLCKIiskDTzFhmhFrLqKDAMtHMGvvRVn8lSFFS2i/s19rWmC2DVlKbiRtzc2Ngce1u95ynP+7e1/e97/2x6fnvnOf5ns95fr3P8yrMw0RkFYB6AIsAlABgABeUUmcAdCqlOueTL6MZYx5g4QEWZpPFWDjOwqdYeN3VAGtZuDsbLEMRJ1h4abr8Kg10pxjZQ4o87dOjo+CeXtDkFGR4GABAlRUwxUUI1K1EIJzvySNGBMB2TfqtrGAWbiVFmzzArh7EWzsQ/6k37Qwpy0LgztsR2LwBwfKy5AJe0aRfSAtm4UZS9KrjT0witvtlxL//IS3QZ8EchDY+guATj4GCQTd8m3vkDpiFbwXwrT29M4NDiDVsh5w9N3eoywL1dQgd2AttWTY4TorKlFLnAIBcfffaUJ6YQOzxbVcMBYB4ZxemdzTCxOMAAFIUANBqtxMAGGPWk6IaOxjb8TxkZOSKobbNfPMdplva3aHVLHyHAxYjzsLPfPFVyk1ES2/MCFGWBVpY4otPt7ZDxsbdodccMCmqtKOxg2/7xMG71iD/o8Ow2puhQiF/UZUVCB//BPmfH4WaXVPbTCyGWFPL5b6KqgCAWHiXHeT+XyFnzvoS88/9kAsTCNTWIK/poAdO5WUItzeDiosQ7+2DiUZ9+vixL2H+i9muYuENBGCt06G7xycCABk9j+jGLT44lZch/H4bVGEBuLcPlxqeTqk3//4D+W3AHbqHANzgAP4aSikEABkc8sCttiYPNLqlASYWS6vn30+73QoiRdc6yScn0gqT4bo6MmcoAJipKbdbQJ5WlozilKb1/DUASIxcdJyiosydlyyGNbuR+GS/M3KrrSnlbnebKihwu1ME4G8ncfmSzND32hLQ3j5EN231TLvV1uQ7Ssl6l/1JAI7ZXqCuNrVoYYkXOrumyWued2g/QOTTq1AIurrKHfqYSNF+29ORW0ClpT6hXnZT4pz29Po2kgMfG0egOgKVm+vTB+5eA5XrLIXRpDsSl4LwRVJ0DQDMfHocl3Y2+kddXgYZTH/cVCgEtWABZHzc2xDMQfjoEejFixKFGvlFk47Y8/KM02/taugVy32JM0GBxKfRBwWQ8/CDDnTWngO897EzahkbR/S+hyATmc91NgusrIHVcgiYfRCIkR816XrAex8/KiZxjun665D3zptZj1cm01UR5O3b44YaAE/Z7Q5Ykz4C4A3HX74M1ocfQFdF5g0N3n8vwh3NUIWes7tbkz5pO3N67M18fQLTze+CvR96P/C2Vch5cit00t0tRg5o0p4bJOXzloVfBPASqaQv6vAIuKsbPPDH5QR5eaAVN0PX1kAXFiYDDSl6Vin1esaKk+DrWPjUVTzou40xqb9IcyxgMwsPsmT9gzHGGGHh08aY9dnyppzqDEXsQuLhUAyglBSJGBkFcB7AZ5r0vrnm+h+4JqLbk005nAAAAABJRU5ErkJggg==);transform:rotate(180deg)}@keyframes bounce-in{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}@keyframes bounce-out{0%{transform:scale(1)}30%{transform:scale(1.05)}to{opacity:0;transform:scale(.7)}}.bounce-enter-active{animation:.3s both bounce-in}.bounce-leave-active{animation-name:bounce-out;animation-duration:.2s;animation-fill-mode:both}:where(html){-moz-text-size-adjust:100%;text-size-adjust:100%;line-height:1.15}:where(h1){margin-block-start:.67em;margin-block-end:.67em;font-size:2em}:where(dl,ol,ul) :where(dl,ol,ul){margin-block-start:0;margin-block-end:0}:where(hr){box-sizing:content-box;color:inherit;height:0}:where(abbr[title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}:where(b,strong){font-weight:bolder}:where(code,kbd,pre,samp){font-family:monospace;font-size:1em}:where(small){font-size:80%}:where(table){text-indent:0;border-color:currentColor}:where(button,input,select){margin:0}:where(button){text-transform:none}:where(button,input:-webkit-any([type=button i],[type=reset i],[type=submit i])){-webkit-appearance:button}:where(button,input:-moz-any([type=button i],[type=reset i],[type=submit i])){-webkit-appearance:button}:where(button,input:-webkit-any([type=button i],[type=reset i],[type=submit i])){-webkit-appearance:button}:where(button,input:-moz-any([type=button i],[type=reset i],[type=submit i])){-webkit-appearance:button}:where(button,input:is([type=button i],[type=reset i],[type=submit i])){-webkit-appearance:button}:where(progress){vertical-align:baseline}:where(select){text-transform:none}:where(textarea){margin:0}:where(input[type=search i]){-webkit-appearance:textfield;outline-offset:-2px}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}:where(button,input:-webkit-any([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focus-inner{border-style:none;padding:0}:where(button,input:-moz-any([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focus-inner{border-style:none;padding:0}:where(button,input:-webkit-any([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focus-inner{border-style:none;padding:0}:where(button,input:-moz-any([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focus-inner{border-style:none;padding:0}:where(button,input:is([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focus-inner{border-style:none;padding:0}:where(button,input:-webkit-any([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focusring{outline:1px dotted buttontext}:where(button,input:-moz-any([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focusring{outline:1px dotted buttontext}:where(button,input:-webkit-any([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focusring{outline:1px dotted buttontext}:where(button,input:-moz-any([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focusring{outline:1px dotted buttontext}:where(button,input:is([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focusring{outline:1px dotted buttontext}:where(:-moz-ui-invalid){box-shadow:none}:where(dialog){color:#000;background-color:#fff;border:solid;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;margin:auto;padding:1em;position:absolute;left:0;right:0}:where(dialog:not([open])){display:none}:where(summary){display:list-item}.i-ai\:big-model{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' t='1751947525846' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='8882' width='256' height='256'%3E%3Cpath d='M179.32 355.99c-3.433 9.036-5.18 18.433-5.18 27.95V629.7c0 31.382 18.914 60.476 49.875 76.62l230.701 120.108c5.24 2.65 10.662 4.94 16.264 6.807v140.71a109.086 109.086 0 0 1-11.626-5.18l-359.002-186.85c-30.9-16.083-49.875-45.177-49.875-76.5V326.055c0-10.843 2.29-21.504 6.626-31.383l122.217 61.26z m794.203-29.936v379.301c0 31.383-18.974 60.416-49.935 76.5l-358.942 186.97c-3.795 1.867-7.65 3.614-11.626 5.12V829.8c2.41-1.084 4.82-2.168 7.108-3.373L790.829 706.32c30.961-16.143 49.935-45.176 49.935-76.62V383.94c0-5.059-0.482-10.059-1.445-15.058l130.83-65.536c2.17 7.349 3.374 14.938 3.374 22.709zM564.646 62.704l354.002 184.2-124.325 62.284a122.458 122.458 0 0 0-3.494-1.807L560.19 187.15a115.893 115.893 0 0 0-105.413 0L235.038 301.598l-119.627-59.994 343.943-178.96c32.467-16.865 72.885-16.865 105.412 0z' fill='%233888FF' p-id='8883'%3E%3C/path%3E%3Cpath d='M256.301 383.277L483.147 496.52v248.29a110.29 110.29 0 0 1-32.888-10.843L297.864 655c-30.48-15.842-49.152-44.514-49.152-75.415V416.708c0-11.686 2.71-23.01 7.59-33.43z' fill='%233888FF' p-id='8884'%3E%3C/path%3E%3Cpath d='M755.11 579.584c0 30.9-18.673 59.573-49.273 75.415l-152.275 78.908c-2.65 1.385-5.42 2.71-8.192 3.855V504.23l207.993-103.726c1.205 5.361 1.747 10.783 1.747 16.204v162.876z' fill='%23A6C6FD' p-id='8885'%3E%3C/path%3E%3Cpath d='M705.958 341.353c6.385 3.313 12.408 7.289 17.83 11.807l-200.102 99.81h-3.253L297.382 341.593l0.542-0.3 152.335-78.97a114.025 114.025 0 0 1 103.303 0l152.396 79.03z' fill='%233888FF' p-id='8886'%3E%3C/path%3E%3C/svg%3E") 0 0/100% 100% no-repeat;width:256px;height:256px;display:inline-flex}.i-carbon\:cloud-upload{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m11 18l1.41 1.41L15 16.83V29h2V16.83l2.59 2.58L21 18l-5-5z'/%3E%3Cpath fill='currentColor' d='M23.5 22H23v-2h.5a4.5 4.5 0 0 0 .36-9H23l-.1-.82a7 7 0 0 0-13.88 0L9 11h-.86a4.5 4.5 0 0 0 .36 9H9v2h-.5A6.5 6.5 0 0 1 7.2 9.14a9 9 0 0 1 17.6 0A6.5 6.5 0 0 1 23.5 22'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-carbon\:copy{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M28 10v18H10V10zm0-2H10a2 2 0 0 0-2 2v18a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2'/%3E%3Cpath fill='currentColor' d='M4 18H2V4a2 2 0 0 1 2-2h14v2H4Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-carbon\:export{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M26 24v4H6v-4H4v4l.008-.005A2 2 0 0 0 6 30h20a2 2 0 0 0 2-2v-4zM6 12l1.411 1.405L15 5.825V24h2V5.825l7.591 7.58L26 12L16 2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-carbon\:overflow-menu-vertical{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Ccircle cx='16' cy='8' r='2' fill='currentColor'/%3E%3Ccircle cx='16' cy='16' r='2' fill='currentColor'/%3E%3Ccircle cx='16' cy='24' r='2' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-carbon\:warning-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 2C8.3 2 2 8.3 2 16s6.3 14 14 14s14-6.3 14-14S23.7 2 16 2m-1.1 6h2.2v11h-2.2zM16 25c-.8 0-1.5-.7-1.5-1.5S15.2 22 16 22s1.5.7 1.5 1.5S16.8 25 16 25'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ci\:edit-pencil-line-01{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 20h16M4 20v-4l8-8M4 20h4l8-8m-4-4l2.869-2.869l.001-.001c.395-.395.593-.593.821-.667a1 1 0 0 1 .618 0c.228.074.425.272.82.666l1.74 1.74c.396.396.594.594.668.822a1 1 0 0 1 0 .618c-.074.228-.272.426-.668.822h0L16 12.001m-4-4l4 4'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-cuida\:mail-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg class='mail-outline'%3E%3Cg fill='currentColor' fill-rule='evenodd' class='Vector' clip-rule='evenodd'%3E%3Cpath d='M6 5h12a4 4 0 0 1 4 4v7a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V9a4 4 0 0 1 4-4m0 2a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z'/%3E%3Cpath d='M3.643 6.986a1 1 0 0 1 1.372-.343l6.47 3.882a1 1 0 0 0 1.03 0l6.47-3.882a1 1 0 0 1 1.03 1.715l-6.472 3.882a3 3 0 0 1-3.086 0L3.984 8.358a1 1 0 0 1-.342-1.372Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-custom\:help{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' aria-hidden='true' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' fill-rule='evenodd' clip-rule='evenodd' d='M6.886 4.923c-.232.25-.386.63-.386 1.122a.75.75 0 1 1-1.5 0c0-.803.254-1.57.788-2.144C6.33 3.32 7.1 3 8 3c.9 0 1.67.32 2.212.901.534.574.788 1.341.788 2.144 0 1.234-.869 1.922-1.436 2.332-.094.068-.178.127-.255.181-.19.134-.33.233-.449.343a.64.64 0 0 0-.11.121V9.5a.75.75 0 0 1-1.5 0V9c0-.563.326-.956.593-1.202.198-.183.457-.364.672-.516l.17-.121c.559-.404.815-.693.815-1.116 0-.492-.154-.872-.386-1.122C8.888 4.68 8.533 4.5 8 4.5c-.533 0-.888.18-1.114.423Z'%3E%3C/path%3E%3Cpath d='M9 12a1.001 1.001 0 0 1-2 0 1.001 1.001 0 0 1 2 0Z'%3E%3C/path%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 14.5A6.5 6.5 0 1 0 1.5 8c0 1.022.179 1.608.603 2.399.316.59.407 1.313.178 2.003l-.66 1.976 1.977-.659a2.541 2.541 0 0 1 2.004.178c.79.424 1.376.603 2.398.603ZM8 16a8 8 0 1 0-8-8c0 1.29.25 2.117.78 3.107.136.252.168.549.078.82l-.807 2.42a1 1 0 0 0-.051.315V15a1 1 0 0 0 1 1h.338a1 1 0 0 0 .316-.051l2.419-.807c.271-.09.568-.057.82.078.99.53 1.817.78 3.107.78Z'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-custom\:mailbox{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1747732902190' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='20987' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M838.83 280.42c-8.76-1.74-17.74-2.73-26.72-2.94l-11.05-2.49V154.13c0-37.89-33.19-68.72-74-68.72H288.34c-40.8 0-74 30.83-74 68.72v123.13l-1.23 0.2c-9.26 0.16-18.48 1.13-26.52 2.74C117.35 291.12 67.1 346.02 67.1 410.75V813.9c0 68.89 60.82 124.95 135.57 124.95h618.86c74.75 0 135.56-56.06 135.56-124.95V410.75c0.01-64.74-50.25-119.63-118.26-130.33z m-37.21 58.36l6.83 0.76c6.15 0 12.29 0.61 19.49 2.01 7.34 1.15 14.14 3.36 20.6 6.04l-47.49 31.93v-40.86l0.57 0.12zM288.34 147.51h438.72c7.38 0 11.9 4.29 11.9 6.62v267.14L548.81 549.12l-4.63 3.81c-17.29 17.28-44.36 18.39-60.31 2.44L276.45 414.64V154.13c0-2.34 4.51-6.62 11.89-6.62z m-90.9 193.83c5.58-1.1 11.26-1.58 16.91-1.66v32.83l-37.33-25.32c6.4-2.56 13.13-4.7 20.42-5.85zM895 813.9c0 34.66-32.95 62.85-73.46 62.85H202.67c-40.51 0-73.47-28.19-73.47-62.85V410.75c0-6.5 1.33-12.73 3.28-18.75l309.81 209.54c19.35 18.14 44.28 27.17 69.49 27.17 26.4-0.01 53.11-9.91 73.98-29.59l306.33-205.98c1.71 5.68 2.91 11.52 2.91 17.61V813.9z' fill='currentColor' p-id='20988'%3E%3C/path%3E%3Cpath d='M517.91 465.9c45.28 0.75 83.39-13.21 114.34-41.89l-18.11-22.64c-27.17 19.62-58.49 29.43-93.96 29.43-65.66-0.76-98.87-36.6-99.62-107.54 4.53-70.93 38.11-109.05 100.75-114.34 59.61 1.52 90.56 33.59 92.83 96.22-1.52 38.49-12.45 59.25-32.83 62.26-7.55 0.76-10.95-2.64-10.19-10.19 0-3.77 0.37-8.3 1.13-13.58l12.45-105.28h-35.1l-1.13 11.32c-6.79-9.06-16.23-13.58-28.3-13.58-45.28 3.78-70.57 35.09-75.85 93.96-1.52 47.55 14.33 71.7 47.55 72.45 18.86 0 33.96-8.3 45.28-24.9 0.75 17.36 13.58 26.04 38.49 26.04 46.03-4.53 70.93-38.11 74.72-100.75-4.53-81.51-47.17-124.53-127.92-129.05-86.04 6.04-132.08 55.85-138.11 149.43 1.5 93.56 46.02 141.11 133.58 142.63z m-16.98-97.36c-15.85 0-23.02-12.07-21.51-36.23 5.28-37.73 19.62-58.11 43.02-61.13 11.32 0.76 17.73 10.19 19.24 28.3-3.78 41.52-17.37 64.53-40.75 69.06z' fill='currentColor' p-id='20989'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-custom\:smtp{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1747640620453' viewBox='0 0 1025 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='3817' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M841.142857 73.142857a109.714286 109.714286 0 0 1 109.202286 99.181714L950.857143 182.857143v294.107428a36.571429 36.571429 0 0 1-72.557714 6.582858L877.714286 476.964571V194.340571L569.051429 459.776c-32.182857 19.529143-71.826286 21.211429-108.909715 2.121143l-10.020571-5.705143L146.285714 194.56v573.44a36.571429 36.571429 0 0 0 29.988572 35.986286L182.857143 804.571429h221.842286a36.571429 36.571429 0 0 1 6.582857 72.557714l-6.582857 0.585143H182.857143a109.714286 109.714286 0 0 1-109.202286-99.181715L73.142857 768v-585.142857a109.714286 109.714286 0 0 1 99.181714-109.202286L182.857143 73.142857h658.285714z m-19.675428 73.142857H202.24L492.982857 397.238857a40.740571 40.740571 0 0 0 29.257143 5.046857l3.949714-1.462857L821.467429 146.285714z' fill='currentColor' p-id='3818'%3E%3C/path%3E%3Cpath d='M857.526857 626.395429l5.632 3.510857 146.651429 109.421714a36.571429 36.571429 0 0 1 5.558857 53.613714l-5.266286 4.827429-142.482286 108.544a36.571429 36.571429 0 0 1-49.225142-53.76l4.900571-4.388572 56.32-43.008-257.755429 0.073143a36.571429 36.571429 0 0 1-6.582857-72.557714l6.582857-0.585143H877.714286l-58.294857-43.593143a36.571429 36.571429 0 0 1 38.107428-62.098285z' fill='currentColor' p-id='3819'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-domain\:brand-info{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' t='1742268666395' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='29657' xmlns:xlink='http://www.w3.org/1999/xlink' width='200' height='200'%3E%3Cdefs%3E%3ClinearGradient id='grad1' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' style='stop-color:rgb(57, 52, 161); stop-opacity:1'/%3E%3Cstop offset='100%25' style='stop-color:rgb(208, 39, 255); stop-opacity:1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23grad1)' d='M602.24 246.72a17.28 17.28 0 0 0-11.84-16.32l-42.88-14.4A90.56 90.56 0 0 1 490.24 160l-14.4-42.88a17.28 17.28 0 0 0-32 0L428.8 160a90.56 90.56 0 0 1-57.28 57.28l-42.88 14.4a17.28 17.28 0 0 0 0 32l42.88 14.4a90.56 90.56 0 0 1 57.28 57.28l14.4 42.88a17.28 17.28 0 0 0 32 0l14.4-42.88a90.56 90.56 0 0 1 57.28-57.28l42.88-14.4a17.28 17.28 0 0 0 12.48-16.96z m301.12 221.76l-48.32-16a101.44 101.44 0 0 1-64-64l-16-48.32a19.2 19.2 0 0 0-36.8 0l-16 48.32a101.44 101.44 0 0 1-64 64l-48.32 16a19.2 19.2 0 0 0 0 36.8l48.32 16a101.44 101.44 0 0 1 64 64l16 48.32a19.2 19.2 0 0 0 36.8 0l16-48.32a101.44 101.44 0 0 1 64-64l48.32-16a19.2 19.2 0 0 0 0-36.8z m-376.64 195.52l-64-20.8a131.84 131.84 0 0 1-83.52-83.52l-20.8-64a25.28 25.28 0 0 0-47.68 0l-20.8 64a131.84 131.84 0 0 1-82.24 83.52l-64 20.8a25.28 25.28 0 0 0 0 47.68l64 20.8a131.84 131.84 0 0 1 83.52 83.84l20.8 64a25.28 25.28 0 0 0 47.68 0l20.8-64a131.84 131.84 0 0 1 83.52-83.52l64-20.8a25.28 25.28 0 0 0 0-47.68z' p-id='29658'%3E%3C/path%3E%3C/svg%3E") 0 0/100% 100% no-repeat;width:200px;height:200px;display:inline-flex}.i-fa\:ban{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1536 1568' display='inline-flex' width='0.98em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M1312 797q0-161-87-295l-754 753q137 89 297 89q111 0 211.5-43.5T1153 1184t116-174.5t43-212.5m-999 299l755-754q-135-91-300-91q-148 0-273 73T297 523t-73 274q0 162 89 299m1223-299q0 157-61 300t-163.5 246t-245 164t-298.5 61t-298.5-61t-245-164T61 1097T0 797t61-299.5T224.5 252t245-164T768 27t298.5 61t245 164T1475 497.5t61 299.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:.98em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-fa\:envelope-open{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1792 1792' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M1792 654v978q0 66-47 113t-113 47H160q-66 0-113-47T0 1632V654q0-15 11-24q8-7 39-34.5t41.5-36T137 522t70-55.5t96-73t143.5-107T639 146q5-4 52.5-40T763 53.5t64-35T896 0t69 18.5t65 35.5t71 52t52 40q110 80 192.5 140.5t143.5 107t96 73t70 55.5t45.5 37.5t41.5 36t39 34.5q11 9 11 24m-564 585q263-191 345-252q11-8 12.5-20.5T1579 943l-38-52q-8-11-21-12.5t-24 6.5q-231 169-343 250q-5 3-52 39t-71.5 52.5t-64.5 35t-69 18.5t-69-18.5t-64.5-35T691 1174t-52-39q-186-134-343-250q-11-8-24-6.5T251 891l-38 52q-8 11-6.5 23.5T219 987q82 61 345 252q10 8 50 38t65 47t64 39.5t77.5 33.5t75.5 11t75.5-11t79-34.5t64.5-39.5t65-47.5t48-36.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-fa\:mouse-pointer{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1152 1792' display='inline-flex' width='0.65em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M1133 1043q31 30 14 69q-17 40-59 40H706l201 476q10 25 0 49t-34 35l-177 75q-25 10-49 0t-35-34l-191-452l-312 312q-19 19-45 19q-12 0-24-5q-40-17-40-59V64Q0 22 40 5q12-5 24-5q27 0 45 19z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:.65em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-fa\:paper-plane{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1792 1792' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M1764 11q33 24 27 64l-256 1536q-5 29-32 45q-14 8-31 8q-11 0-24-5l-453-185l-242 295q-18 23-49 23q-13 0-22-4q-19-7-30.5-23.5T640 1728v-349l864-1059l-1069 925l-395-162q-37-14-40-55q-2-40 32-59L1696 9q15-9 32-9q20 0 36 11'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ic\:baseline-add-circle{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2m5 11h-4v4h-2v-4H7v-2h4V7h2v4h4z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ic\:baseline-control-point{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10s10-4.49 10-10S17.51 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ic\:baseline-error{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ic\:baseline-save{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3s3 1.34 3 3s-1.34 3-3 3m3-10H5V5h10z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ic\:round-check-circle-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8m3.88-11.71L10 14.17l-1.88-1.88a.996.996 0 1 0-1.41 1.41l2.59 2.59c.39.39 1.02.39 1.41 0L17.3 9.7a.996.996 0 0 0 0-1.41c-.39-.39-1.03-.39-1.42 0'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-icon-park-outline\:log{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 48 48' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linejoin='round' stroke-width='4'%3E%3Cpath d='M13 10h28v34H13z'/%3E%3Cpath stroke-linecap='round' d='M35 10V4H8a1 1 0 0 0-1 1v33h6m8-16h12m-12 8h12'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-icon-park-twotone\:arrow-circle-up{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 48 48' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cdefs%3E%3Cmask id='ipTArrowCircleUp0'%3E%3Cg fill='none' stroke='%23fff' stroke-linejoin='round' stroke-width='4'%3E%3Cpath fill='%23555' d='M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4S4 12.954 4 24s8.954 20 20 20Z'/%3E%3Cpath stroke-linecap='round' d='M24 33.5v-18m9 9l-9-9l-9 9'/%3E%3C/g%3E%3C/mask%3E%3C/defs%3E%3Cpath fill='currentColor' d='M0 0h48v48H0z' mask='url(%23ipTArrowCircleUp0)'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-icon-park-twotone\:new-picture{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 48 48' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cdefs%3E%3Cmask id='ipTNewPicture0'%3E%3Cg fill='none' stroke='%23fff' stroke-linejoin='round' stroke-width='4'%3E%3Crect width='36' height='36' x='6' y='6' fill='%23555' rx='3'/%3E%3Cpath stroke-linecap='round' d='m6 28l10.693-9.802a2 2 0 0 1 2.653-.044L32 29m-4-5l4.773-4.773a2 2 0 0 1 2.615-.186L42 24M6 20v10m36-10v10'/%3E%3C/g%3E%3C/mask%3E%3C/defs%3E%3Cpath fill='currentColor' d='M0 0h48v48H0z' mask='url(%23ipTNewPicture0)'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-material-symbols\:account-circle{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M5.85 17.1q1.275-.975 2.85-1.537T12 15t3.3.563t2.85 1.537q.875-1.025 1.363-2.325T20 12q0-3.325-2.337-5.663T12 4T6.337 6.338T4 12q0 1.475.488 2.775T5.85 17.1M12 13q-1.475 0-2.488-1.012T8.5 9.5t1.013-2.488T12 6t2.488 1.013T15.5 9.5t-1.012 2.488T12 13m0 9q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-material-symbols\:add-circle-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M11 17h2v-4h4v-2h-4V7h-2v4H7v2h4zm1 5q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4T6.325 6.325T4 12t2.325 5.675T12 20m0-8'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-material-symbols\:chrome-restore-rounded{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M10 16q-.825 0-1.413-.588T8 14V6q0-.825.588-1.413T10 4h8q.825 0 1.413.588T20 6v8q0 .825-.588 1.413T18 16h-8Zm-4 4q-.825 0-1.413-.588T4 18V9.525q0-.425.288-.713T5 8.525q.425 0 .713.288T6 9.524V18h8.475q.425 0 .713.288t.287.712q0 .425-.287.713t-.713.287H6Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-material-symbols\:close-rounded{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m12 13.4l-4.9 4.9q-.275.275-.7.275t-.7-.275t-.275-.7t.275-.7l4.9-4.9l-4.9-4.9q-.275-.275-.275-.7t.275-.7t.7-.275t.7.275l4.9 4.9l4.9-4.9q.275-.275.7-.275t.7.275t.275.7t-.275.7L13.4 12l4.9 4.9q.275.275.275.7t-.275.7t-.7.275t-.7-.275z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-material-symbols\:delete-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7 21q-.825 0-1.412-.587T5 19V6H4V4h5V3h6v1h5v2h-1v13q0 .825-.587 1.413T17 21zM17 6H7v13h10zM9 17h2V8H9zm4 0h2V8h-2zM7 6v13z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-alert-circle{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M13 13h-2V7h2m0 10h-2v-2h2M12 2A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-chart-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m16 11.78l4.24-7.33l1.73 1l-5.23 9.05l-6.51-3.75L5.46 19H22v2H2V3h2v14.54L9.5 8z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-chevron-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-cog{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 15.5A3.5 3.5 0 0 1 8.5 12A3.5 3.5 0 0 1 12 8.5a3.5 3.5 0 0 1 3.5 3.5a3.5 3.5 0 0 1-3.5 3.5m7.43-2.53c.04-.32.07-.64.07-.97s-.03-.66-.07-1l2.11-1.63c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.31-.61-.22l-2.49 1c-.52-.39-1.06-.73-1.69-.98l-.37-2.65A.506.506 0 0 0 14 2h-4c-.25 0-.46.18-.5.42l-.37 2.65c-.63.25-1.17.59-1.69.98l-2.49-1c-.22-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64L4.57 11c-.04.34-.07.67-.07 1s.03.65.07.97l-2.11 1.66c-.19.15-.25.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1.01c.52.4 1.06.74 1.69.99l.37 2.65c.04.24.25.42.5.42h4c.25 0 .46-.18.5-.42l.37-2.65c.63-.26 1.17-.59 1.69-.99l2.49 1.01c.22.08.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-content-copy{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19 21H8V7h11m0-2H8a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2m-3-4H4a2 2 0 0 0-2 2v14h2V3h12z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-delete{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19 4h-3.5l-1-1h-5l-1 1H5v2h14M6 19a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7H6z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-edit{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M20.71 7.04c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.37-.39-1.02-.39-1.41 0l-1.84 1.83l3.75 3.75M3 17.25V21h3.75L17.81 9.93l-3.75-3.75z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-email-fast-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M22 5.5H9c-1.1 0-2 .9-2 2v9a2 2 0 0 0 2 2h13c1.11 0 2-.89 2-2v-9a2 2 0 0 0-2-2m0 11H9V9.17l6.5 3.33L22 9.17zm-6.5-5.69L9 7.5h13zM5 16.5c0 .17.03.33.05.5H1c-.552 0-1-.45-1-1s.448-1 1-1h4zM3 7h2.05c-.02.17-.05.33-.05.5V9H3c-.55 0-1-.45-1-1s.45-1 1-1m-2 5c0-.55.45-1 1-1h3v2H2c-.55 0-1-.45-1-1'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-eye-off-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M2 5.27L3.28 4L20 20.72L18.73 22l-3.08-3.08c-1.15.38-2.37.58-3.65.58c-5 0-9.27-3.11-11-7.5c.69-1.76 1.79-3.31 3.19-4.54zM12 9a3 3 0 0 1 3 3a3 3 0 0 1-.17 1L11 9.17A3 3 0 0 1 12 9m0-4.5c5 0 9.27 3.11 11 7.5a11.8 11.8 0 0 1-4 5.19l-1.42-1.43A9.86 9.86 0 0 0 20.82 12A9.82 9.82 0 0 0 12 6.5c-1.09 0-2.16.18-3.16.5L7.3 5.47c1.44-.62 3.03-.97 4.7-.97M3.18 12A9.82 9.82 0 0 0 12 17.5c.69 0 1.37-.07 2-.21L11.72 15A3.064 3.064 0 0 1 9 12.28L5.6 8.87c-.99.85-1.82 1.91-2.42 3.13'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-eye-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 9a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m0-4.5c5 0 9.27 3.11 11 7.5c-1.73 4.39-6 7.5-11 7.5S2.73 16.39 1 12c1.73-4.39 6-7.5 11-7.5M3.18 12a9.821 9.821 0 0 0 17.64 0a9.821 9.821 0 0 0-17.64 0'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-file{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M13 9V3.5L18.5 9M6 2c-1.11 0-2 .89-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-language{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m12.87 15.07l-2.54-2.51l.03-.03A17.5 17.5 0 0 0 14.07 6H17V4h-7V2H8v2H1v2h11.17C11.5 7.92 10.44 9.75 9 11.35C8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5l3.11 3.11zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2zm-2.62 7l1.62-4.33L19.12 17z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-logout{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m17 7l-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5M4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-menu-close{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M3 6h10v2H3zm0 10h10v2H3zm0-5h12v2H3zm13-4l-1.42 1.39L18.14 12l-3.56 3.61L16 17l5-5z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-menu-open{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M21 15.61L19.59 17l-5.01-5l5.01-5L21 8.39L17.44 12zM3 6h13v2H3zm0 7v-2h10v2zm0 5v-2h13v2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-network{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17 3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-4v2h1a1 1 0 0 1 1 1h7v2h-7a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1H2v-2h7a1 1 0 0 1 1-1h1v-2H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-remove-circle{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 2c5.53 0 10 4.47 10 10s-4.47 10-10 10S2 17.53 2 12S6.47 2 12 2m3.59 5L12 10.59L8.41 7L7 8.41L10.59 12L7 15.59L8.41 17L12 13.41L15.59 17L17 15.59L13.41 12L17 8.41z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-search{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5l-1.5 1.5l-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16A6.5 6.5 0 0 1 3 9.5A6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14S14 12 14 9.5S12 5 9.5 5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-settings-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 8a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m0 2a2 2 0 0 0-2 2a2 2 0 0 0 2 2a2 2 0 0 0 2-2a2 2 0 0 0-2-2m-2 12c-.25 0-.46-.18-.5-.42l-.37-2.65c-.63-.25-1.17-.59-1.69-.99l-2.49 1.01c-.22.08-.49 0-.61-.22l-2-3.46a.493.493 0 0 1 .12-.64l2.11-1.66L4.5 12l.07-1l-2.11-1.63a.493.493 0 0 1-.12-.64l2-3.46c.12-.22.39-.31.61-.22l2.49 1c.52-.39 1.06-.73 1.69-.98l.37-2.65c.04-.24.25-.42.5-.42h4c.25 0 .46.18.5.42l.37 2.65c.63.25 1.17.59 1.69.98l2.49-1c.22-.09.49 0 .61.22l2 3.46c.13.22.07.49-.12.64L19.43 11l.07 1l-.07 1l2.11 1.63c.19.15.25.42.12.64l-2 3.46c-.12.22-.39.31-.61.22l-2.49-1c-.52.39-1.06.73-1.69.98l-.37 2.65c-.04.24-.25.42-.5.42zm1.25-18l-.37 2.61c-1.2.25-2.26.89-3.03 1.78L5.44 7.35l-.75 1.3L6.8 10.2a5.55 5.55 0 0 0 0 3.6l-2.12 1.56l.75 1.3l2.43-1.04c.77.88 1.82 1.52 3.01 1.76l.37 2.62h1.52l.37-2.61c1.19-.25 2.24-.89 3.01-1.77l2.43 1.04l.75-1.3l-2.12-1.55c.4-1.17.4-2.44 0-3.61l2.11-1.55l-.75-1.3l-2.41 1.04a5.42 5.42 0 0 0-3.03-1.77L12.75 4z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-shield-account{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12c5.16-1.26 9-6.45 9-12V5zm0 4a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m5.13 12A9.7 9.7 0 0 1 12 20.92A9.7 9.7 0 0 1 6.87 17c-.34-.5-.63-1-.87-1.53c0-1.65 2.71-3 6-3s6 1.32 6 3c-.24.53-.53 1.03-.87 1.53'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-success-circle{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10s10-4.5 10-10S17.5 2 12 2m-2 15l-5-5l1.41-1.41L10 14.17l7.59-7.59L19 8z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-upload{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M9 16v-6H5l7-7l7 7h-4v6zm-4 4v-2h14v2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-user-multiple-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M13.07 10.41a5 5 0 0 0 0-5.82A3.4 3.4 0 0 1 15 4a3.5 3.5 0 0 1 0 7a3.4 3.4 0 0 1-1.93-.59M5.5 7.5A3.5 3.5 0 1 1 9 11a3.5 3.5 0 0 1-3.5-3.5m2 0A1.5 1.5 0 1 0 9 6a1.5 1.5 0 0 0-1.5 1.5M16 17v2H2v-2s0-4 7-4s7 4 7 4m-2 0c-.14-.78-1.33-2-5-2s-4.93 1.31-5 2m11.95-4A5.32 5.32 0 0 1 18 17v2h4v-2s0-3.63-6.06-4Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-user-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 4a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m0 2a2 2 0 0 0-2 2a2 2 0 0 0 2 2a2 2 0 0 0 2-2a2 2 0 0 0-2-2m0 7c2.67 0 8 1.33 8 4v3H4v-3c0-2.67 5.33-4 8-4m0 1.9c-2.97 0-6.1 1.46-6.1 2.1v1.1h12.2V17c0-.64-3.13-2.1-6.1-2.1'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-web{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16.36 14c.08-.66.14-1.32.14-2s-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2m-5.15 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56M14.34 14H9.66c-.1-.66-.16-1.32-.16-2s.06-1.35.16-2h4.68c.09.65.16 1.32.16 2s-.07 1.34-.16 2M12 19.96c-.83-1.2-1.5-2.53-1.91-3.96h3.82c-.41 1.43-1.08 2.76-1.91 3.96M8 8H5.08A7.92 7.92 0 0 1 9.4 4.44C8.8 5.55 8.35 6.75 8 8m-2.92 8H8c.35 1.25.8 2.45 1.4 3.56A8 8 0 0 1 5.08 16m-.82-2C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2s.06 1.34.14 2M12 4.03c.83 1.2 1.5 2.54 1.91 3.97h-3.82c.41-1.43 1.08-2.77 1.91-3.97M18.92 8h-2.95a15.7 15.7 0 0 0-1.38-3.56c1.84.63 3.37 1.9 4.33 3.56M12 2C6.47 2 2 6.5 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi\:arrow-right{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M4 11v2h12l-5.5 5.5l1.42 1.42L19.84 12l-7.92-7.92L10.5 5.5L16 11z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi\:button-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M20 20H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2M4 6v12h16V6z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi\:delete-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M6 19a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7H6zM8 9h8v10H8zm7.5-5l-1-1h-5l-1 1H5v2h14V4z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi\:file-image{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M13 9h5.5L13 3.5zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m0 18h12v-8l-4 4l-2-2zM8 9a2 2 0 0 0-2 2a2 2 0 0 0 2 2a2 2 0 0 0 2-2a2 2 0 0 0-2-2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi\:format-list-bulleted{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7 5h14v2H7zm0 8v-2h14v2zM4 4.5A1.5 1.5 0 0 1 5.5 6A1.5 1.5 0 0 1 4 7.5A1.5 1.5 0 0 1 2.5 6A1.5 1.5 0 0 1 4 4.5m0 6A1.5 1.5 0 0 1 5.5 12A1.5 1.5 0 0 1 4 13.5A1.5 1.5 0 0 1 2.5 12A1.5 1.5 0 0 1 4 10.5M7 19v-2h14v2zm-3-2.5A1.5 1.5 0 0 1 5.5 18A1.5 1.5 0 0 1 4 19.5A1.5 1.5 0 0 1 2.5 18A1.5 1.5 0 0 1 4 16.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi\:format-text{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m18.5 4l1.16 4.35l-.96.26c-.45-.87-.91-1.74-1.44-2.18C16.73 6 16.11 6 15.5 6H13v10.5c0 .5 0 1 .33 1.25c.34.25 1 .25 1.67.25v1H9v-1c.67 0 1.33 0 1.67-.25c.33-.25.33-.75.33-1.25V6H8.5c-.61 0-1.23 0-1.76.43c-.53.44-.99 1.31-1.44 2.18l-.96-.26L5.5 4z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi\:horizontal-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19 13H5v-2h14z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi\:link{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7a5 5 0 0 0-5 5a5 5 0 0 0 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4a5 5 0 0 0 5-5a5 5 0 0 0-5-5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi\:menu{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi\:view-column-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M4 5v13h17V5zm10 2v9h-3V7zM6 7h3v9H6zm13 9h-3V7h3z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mingcute\:close-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='currentColor' d='m12 14.122l5.303 5.303a1.5 1.5 0 0 0 2.122-2.122L14.12 12l5.304-5.303a1.5 1.5 0 1 0-2.122-2.121L12 9.879L6.697 4.576a1.5 1.5 0 1 0-2.122 2.12L9.88 12l-5.304 5.304a1.5 1.5 0 1 0 2.122 2.12z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mingcute\:eye-2-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none'%3E%3Cpath d='m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='currentColor' d='M12 5c3.679 0 8.162 2.417 9.73 5.901c.146.328.27.71.27 1.099c0 .388-.123.771-.27 1.099C20.161 16.583 15.678 19 12 19s-8.162-2.417-9.73-5.901C2.124 12.77 2 12.389 2 12c0-.388.123-.771.27-1.099C3.839 7.417 8.322 5 12 5m0 3a4 4 0 1 0 0 8a4 4 0 0 0 0-8m0 2a2 2 0 1 1 0 4a2 2 0 0 1 0-4'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mingcute\:mail-send-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none'%3E%3Cpath d='m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='currentColor' d='M20 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-1h2v1h16V7.423l-6.935 6.935a1.5 1.5 0 0 1-2.121 0L4 7.414V8H2V6a2 2 0 0 1 2-2zM6 13a1 1 0 0 1 .117 1.993L6 15H1a1 1 0 0 1-.117-1.993L1 13zm-1-3a1 1 0 1 1 0 2H2a1 1 0 1 1 0-2z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mingcute\:pic-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none'%3E%3Cpath d='m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='currentColor' d='M20 3a2 2 0 0 1 1.995 1.85L22 5v14a2 2 0 0 1-1.85 1.995L20 21H4a2 2 0 0 1-1.995-1.85L2 19V5a2 2 0 0 1 1.85-1.995L4 3zM9.879 12.05l-5.657 5.657a1 1 0 0 1-.222.168V19h16v-1.125a1 1 0 0 1-.222-.168L16.95 14.88l-.707.707l.207.207a1 1 0 0 1-1.415 1.414L9.88 12.05ZM20 5H4v10.1l4.995-4.994a1.25 1.25 0 0 1 1.666-.091l.101.09l4.066 4.067l1.238-1.238a1.25 1.25 0 0 1 1.666-.091l.102.091L20 15.101zm-4.5 2a1.5 1.5 0 1 1 0 3a1.5 1.5 0 0 1 0-3'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mingcute\:save-2-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='m12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.036q-.016-.004-.024.006l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.016-.018m.264-.113l-.014.002l-.184.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092q.019.005.029-.008l.004-.014l-.034-.614q-.005-.019-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.003-.011l.018-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='currentColor' d='M15.586 3A2 2 0 0 1 17 3.586L19.414 6A2 2 0 0 1 20 7.414V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM8 5H5v14h2v-5a2 2 0 0 1 2-2h5a2 2 0 0 1 2 2v5h2V7.414L15.586 5H15v2.5A1.5 1.5 0 0 1 13.5 9h-4A1.5 1.5 0 0 1 8 7.5zm6 9H9v5h5zm-1-9h-3v2h3z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ri-moon-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M10 7a7 7 0 0 0 12 4.9v.1c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2h.1A6.98 6.98 0 0 0 10 7m-6 5a8 8 0 0 0 15.062 3.762A9 9 0 0 1 8.238 4.938A8 8 0 0 0 4 12'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ri-sun-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 18a6 6 0 1 1 0-12a6 6 0 0 1 0 12m0-2a4 4 0 1 0 0-8a4 4 0 0 0 0 8M11 1h2v3h-2zm0 19h2v3h-2zM3.515 4.929l1.414-1.414L7.05 5.636L5.636 7.05zM16.95 18.364l1.414-1.414l2.121 2.121l-1.414 1.414zm2.121-14.85l1.414 1.415l-2.121 2.121l-1.414-1.414zM5.636 16.95l1.414 1.414l-2.121 2.121l-1.414-1.414zM23 11v2h-3v-2zM4 11v2H1v-2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ri\:apps-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M6.75 2.5A4.25 4.25 0 0 1 11 6.75V11H6.75a4.25 4.25 0 0 1 0-8.5m0 10.5H11v4.25A4.25 4.25 0 1 1 6.75 13m10.5-10.5a4.25 4.25 0 0 1 0 8.5H13V6.75a4.25 4.25 0 0 1 4.25-4.25M13 13h4.25A4.25 4.25 0 1 1 13 17.25z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ri\:computer-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M4 16h16V5H4zm9 2v2h4v2H7v-2h4v-2H2.992A1 1 0 0 1 2 16.992V4.008C2 3.451 2.455 3 2.992 3h18.016c.548 0 .992.449.992 1.007v12.985c0 .557-.455 1.008-.992 1.008z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ri\:delete-bin-3-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M20 7v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7H2V5h20v2zM6 7v13h12V7zm5 2h2v2h-2zm0 3h2v2h-2zm0 3h2v2h-2zM7 2h10v2H7z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ri\:earth-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2m4.004 10.878c-.345-.525-.594-.903-1.542-.753c-1.79.284-1.989.597-2.074 1.113l-.024.156l-.025.166c-.097.683-.094.941.22 1.27c1.265 1.328 2.023 2.285 2.253 2.845c.112.273.4 1.1.202 1.918a8.2 8.2 0 0 0 3.151-2.237c.11-.374.19-.84.19-1.404v-.105c0-.922 0-1.343-.652-1.716a7 7 0 0 0-.645-.325c-.367-.167-.61-.276-.938-.756q-.06-.085-.116-.172M12 3.833c-2.317 0-4.41.966-5.896 2.516c.177.123.331.296.437.534c.204.457.204.928.204 1.345c0 .328 0 .64.105.865c.144.308.766.44 1.315.554c.197.042.399.084.583.135c.506.14.898.595 1.211.96c.13.151.323.374.42.43c.05-.036.211-.211.29-.498c.062-.22.044-.414-.045-.52c-.56-.66-.529-1.93-.356-2.399c.272-.739 1.122-.684 1.744-.644c.232.015.45.03.614.009c.622-.078.814-1.025.949-1.21c.292-.4 1.186-1.003 1.74-1.375A8.1 8.1 0 0 0 12 3.833'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ri\:file-copy-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7 6V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-3v3c0 .552-.45 1-1.007 1H4.007A1 1 0 0 1 3 21l.003-14c0-.552.45-1 1.006-1zM5.002 8L5 20h10V8zM9 6h8v10h2V4H9z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ri\:heading{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17 11V4h2v17h-2v-8H7v8H5V4h2v7z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ri\:information-2-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10m0-12.5a1.5 1.5 0 1 0 0-3a1.5 1.5 0 0 0 0 3m2 5.5h-1v-4.5h-3v2h1V15h-1v2h4z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ri\:refresh-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M5.463 4.433A9.96 9.96 0 0 1 12 2c5.523 0 10 4.477 10 10c0 2.136-.67 4.116-1.81 5.74L17 12h3A8 8 0 0 0 6.46 6.228zm13.074 15.134A9.96 9.96 0 0 1 12 22C6.477 22 2 17.523 2 12c0-2.136.67-4.116 1.81-5.74L7 12H4a8 8 0 0 0 13.54 5.772z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ri\:smartphone-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7 4v16h10V4zM6 2h12a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1m6 15a1 1 0 1 1 0 2a1 1 0 0 1 0-2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-svg-spinners\:bars-scale{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Crect width='2.8' height='12' x='1' y='6' fill='currentColor'%3E%3Canimate id='svgSpinnersBarsScale0' attributeName='y' begin='0;svgSpinnersBarsScale1.end-0.1s' calcMode='spline' dur='0.6s' keySplines='.36,.61,.3,.98;.36,.61,.3,.98' values='6;1;6'/%3E%3Canimate attributeName='height' begin='0;svgSpinnersBarsScale1.end-0.1s' calcMode='spline' dur='0.6s' keySplines='.36,.61,.3,.98;.36,.61,.3,.98' values='12;22;12'/%3E%3C/rect%3E%3Crect width='2.8' height='12' x='5.8' y='6' fill='currentColor'%3E%3Canimate attributeName='y' begin='svgSpinnersBarsScale0.begin+0.1s' calcMode='spline' dur='0.6s' keySplines='.36,.61,.3,.98;.36,.61,.3,.98' values='6;1;6'/%3E%3Canimate attributeName='height' begin='svgSpinnersBarsScale0.begin+0.1s' calcMode='spline' dur='0.6s' keySplines='.36,.61,.3,.98;.36,.61,.3,.98' values='12;22;12'/%3E%3C/rect%3E%3Crect width='2.8' height='12' x='10.6' y='6' fill='currentColor'%3E%3Canimate attributeName='y' begin='svgSpinnersBarsScale0.begin+0.2s' calcMode='spline' dur='0.6s' keySplines='.36,.61,.3,.98;.36,.61,.3,.98' values='6;1;6'/%3E%3Canimate attributeName='height' begin='svgSpinnersBarsScale0.begin+0.2s' calcMode='spline' dur='0.6s' keySplines='.36,.61,.3,.98;.36,.61,.3,.98' values='12;22;12'/%3E%3C/rect%3E%3Crect width='2.8' height='12' x='15.4' y='6' fill='currentColor'%3E%3Canimate attributeName='y' begin='svgSpinnersBarsScale0.begin+0.3s' calcMode='spline' dur='0.6s' keySplines='.36,.61,.3,.98;.36,.61,.3,.98' values='6;1;6'/%3E%3Canimate attributeName='height' begin='svgSpinnersBarsScale0.begin+0.3s' calcMode='spline' dur='0.6s' keySplines='.36,.61,.3,.98;.36,.61,.3,.98' values='12;22;12'/%3E%3C/rect%3E%3Crect width='2.8' height='12' x='20.2' y='6' fill='currentColor'%3E%3Canimate id='svgSpinnersBarsScale1' attributeName='y' begin='svgSpinnersBarsScale0.begin+0.4s' calcMode='spline' dur='0.6s' keySplines='.36,.61,.3,.98;.36,.61,.3,.98' values='6;1;6'/%3E%3Canimate attributeName='height' begin='svgSpinnersBarsScale0.begin+0.4s' calcMode='spline' dur='0.6s' keySplines='.36,.61,.3,.98;.36,.61,.3,.98' values='12;22;12'/%3E%3C/rect%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-svg-spinners\:pulse-2{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Ccircle cx='12' cy='12' r='0' fill='currentColor'%3E%3Canimate id='svgSpinnersPulse20' fill='freeze' attributeName='r' begin='0;svgSpinnersPulse21.begin+0.6s' calcMode='spline' dur='1.2s' keySplines='.52,.6,.25,.99' values='0;11'/%3E%3Canimate fill='freeze' attributeName='opacity' begin='0;svgSpinnersPulse21.begin+0.6s' calcMode='spline' dur='1.2s' keySplines='.52,.6,.25,.99' values='1;0'/%3E%3C/circle%3E%3Ccircle cx='12' cy='12' r='0' fill='currentColor'%3E%3Canimate id='svgSpinnersPulse21' fill='freeze' attributeName='r' begin='svgSpinnersPulse20.begin+0.6s' calcMode='spline' dur='1.2s' keySplines='.52,.6,.25,.99' values='0;11'/%3E%3Canimate fill='freeze' attributeName='opacity' begin='svgSpinnersPulse20.begin+0.6s' calcMode='spline' dur='1.2s' keySplines='.52,.6,.25,.99' values='1;0'/%3E%3C/circle%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-tdesign\:code{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m.586 12l4.95-4.95L6.95 8.464L3.414 12l3.536 3.536l-1.414 1.414zm8.201 8.728l4.486-17.94l1.94.485l-4.485 17.94zm8.263-5.192L20.586 12L17.05 8.464l1.415-1.414l4.95 4.95l-4.95 4.95z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.container,[container=""]{width:100%}[\!container=""]{width:100%!important}.empty-container:empty,[before~=container]:before{width:100%}.flex-center{justify-content:center;align-items:center;display:flex}@media (min-width:640px){.container,[container=""]{max-width:640px}[\!container=""]{max-width:640px!important}.empty-container:empty,[before~=container]:before{max-width:640px}}@media (min-width:768px){.container,[container=""]{max-width:768px}[\!container=""]{max-width:768px!important}.empty-container:empty,[before~=container]:before{max-width:768px}}@media (min-width:1024px){.container,[container=""]{max-width:1024px}[\!container=""]{max-width:1024px!important}.empty-container:empty,[before~=container]:before{max-width:1024px}}@media (min-width:1280px){.container,[container=""]{max-width:1280px}[\!container=""]{max-width:1280px!important}.empty-container:empty,[before~=container]:before{max-width:1280px}}@media (min-width:1536px){.container,[container=""]{max-width:1536px}[\!container=""]{max-width:1536px!important}.empty-container:empty,[before~=container]:before{max-width:1536px}}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.right-16px{right:16px}.top-0px{top:0}[line-clamp~="1"]{-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}[line-clamp~="999"]{-webkit-line-clamp:999;line-clamp:999;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}[line-clamp~="9999"]{-webkit-line-clamp:9999;line-clamp:9999;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.grid{display:grid}.grid-cols-1,[cols~="1"]{grid-template-columns:repeat(1,minmax(0,1fr))}[cols~="12"]{grid-template-columns:repeat(12,minmax(0,1fr))}[cols~="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}[cols~="24"]{grid-template-columns:repeat(24,minmax(0,1fr))}[cols~="8"]{grid-template-columns:repeat(8,minmax(0,1fr))}[rows~="14"]{grid-template-rows:repeat(14,minmax(0,1fr))}[rows~="6"]{grid-template-rows:repeat(6,minmax(0,1fr))}[rows~="7"]{grid-template-rows:repeat(7,minmax(0,1fr))}[rows~="8"]{grid-template-rows:repeat(8,minmax(0,1fr))}.mx{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-12px{margin-bottom:12px}.mb-12px\!{margin-bottom:12px!important}.mb-15px{margin-bottom:15px}.mb-16px{margin-bottom:16px}.mb-2{margin-bottom:.5rem}.mb-2\.5{margin-bottom:.625rem}.mb-20px{margin-bottom:20px}.mb-24px{margin-bottom:24px}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-4px{margin-bottom:4px}.mb-5{margin-bottom:1.25rem}.mb-8{margin-bottom:2rem}.mb-8px{margin-bottom:8px}.mb-8px\!{margin-bottom:8px!important}.ml-10px{margin-left:10px}.ml-12px{margin-left:12px}.ml-16px{margin-left:16px}.ml-1px{margin-left:1px}.ml-2{margin-left:.5rem}.ml-20px{margin-left:20px}.ml-4px{margin-left:4px}.ml-6px{margin-left:6px}.ml-8px{margin-left:8px}.mr-1\.25{margin-right:.3125rem}.mr-10px{margin-right:10px}.mr-12px{margin-right:12px}.mr-16px{margin-right:16px}.mr-2{margin-right:.5rem}.mr-4px{margin-right:4px}.mr-5{margin-right:1.25rem}.mt-1{margin-top:.25rem}.mt-12px{margin-top:12px}.mt-15px{margin-top:15px}.mt-16px{margin-top:16px}.mt-2{margin-top:.5rem}.mt-24px{margin-top:24px}.mt-4{margin-top:1rem}.mt-4px{margin-top:4px}.mt-5{margin-top:1.25rem}.mt-5px{margin-top:5px}.mt-6{margin-top:1.5rem}.mt-8px{margin-top:8px}.block,[block=""]{display:block}.inline-block{display:inline-block}.contents{display:contents}.hidden{display:none}[size~="12"]{width:3rem;height:3rem}[size~="15"]{width:3.75rem;height:3.75rem}[size~="16"]{width:4rem;height:4rem}[size~="20"]{width:5rem;height:5rem}[size~="30"]{width:7.5rem;height:7.5rem}.h-1{height:.25rem}.h-10{height:2.5rem}.h-100\%,.h-full{height:100%}.h-160px{height:160px}.h-180px{height:180px}.h-3{height:.75rem}.h-32px{height:32px}.h-34px{height:34px}.h-4{height:1rem}.h-400px{height:400px}.h-5{height:1.25rem}.h-560px{height:560px}.h-580px{height:580px}.h-6\.5{height:1.625rem}.h-600px{height:600px}.max-h-600px{max-height:600px}.max-w-160px{max-width:160px}.max-w-320px\!{max-width:320px!important}.max-w-4xl{max-width:56rem}.max-w-full{max-width:100%}.min-h-180px{min-height:180px}.min-h-300px{min-height:300px}.min-w-0{min-width:0}.w-0{width:0}.w-100{width:25rem}.w-100\%,.w-full{width:100%}.w-100px{width:100px}.w-110{width:27.5rem}.w-1200px{width:1200px}.w-120px{width:120px}.w-130px{width:130px}.w-140px{width:140px}.w-150{width:37.5rem}.w-180{width:45rem}.w-180px{width:180px}.w-20{width:5rem}.w-200px{width:200px}.w-220px{width:220px}.w-240px{width:240px}.w-260px{width:260px}.w-3{width:.75rem}.w-32px{width:32px}.w-34px{width:34px}.w-4{width:1rem}.w-40px{width:40px}.w-420px{width:420px}.w-5{width:1.25rem}.w-6\.5{width:1.625rem}.w-60px{width:60px}.w-80\%{width:80%}.w-92px{width:92px}.w-94\%{width:94%}.w-96\%{width:96%}.w-auto{width:auto}.flex{display:flex}.inline-flex{display:inline-flex}.flex-1{flex:1}.flex-shrink{flex-shrink:1}.flex-basis-30px{flex-basis:30px}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.table,[table=""]{display:table}[scale~="0.85"]{--un-scale-x:.0085;--un-scale-y:.0085;transform:translateX(var(--un-translate-x))translateY(var(--un-translate-y))translateZ(var(--un-translate-z))rotate(var(--un-rotate))rotateX(var(--un-rotate-x))rotateY(var(--un-rotate-y))rotateZ(var(--un-rotate-z))skewX(var(--un-skew-x))skewY(var(--un-skew-y))scaleX(var(--un-scale-x))scaleY(var(--un-scale-y))scaleZ(var(--un-scale-z))}.transform{transform:translateX(var(--un-translate-x))translateY(var(--un-translate-y))translateZ(var(--un-translate-z))rotate(var(--un-rotate))rotateX(var(--un-rotate-x))rotateY(var(--un-rotate-y))rotateZ(var(--un-rotate-z))skewX(var(--un-skew-x))skewY(var(--un-skew-y))scaleX(var(--un-scale-x))scaleY(var(--un-scale-y))scaleZ(var(--un-scale-z))}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.animate-pulse{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse}.cursor-pointer{cursor:pointer}.cursor-grab{cursor:grab}.resize,[resize=""]{resize:both}.list-disc{list-style-type:disc}.list-outside{list-style-position:outside}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1\.25{gap:.3125rem}.gap-10px{gap:10px}.gap-12px{gap:12px}.gap-15px{gap:15px}.gap-16px{gap:16px}.gap-2\.5{gap:.625rem}.gap-20px{gap:20px}.gap-4{gap:1rem}.gap-4px{gap:4px}.gap-5{gap:1.25rem}.gap-8px{gap:8px}.space-y-8>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-top:calc(2rem*calc(1 - var(--un-space-y-reverse)));margin-bottom:calc(2rem*var(--un-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.break-all{word-break:break-all}.break-all\!{word-break:break-all!important}.border,[b=""]{border-width:1px}.rounded-8px{border-radius:8px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.bg-error{background-color:var(--color-error-1)}.bg-gray-200{--un-bg-opacity:1;background-color:rgb(229 231 235/var(--un-bg-opacity))}.bg-gray-300{--un-bg-opacity:1;background-color:rgb(209 213 219/var(--un-bg-opacity))}.bg-gray-900{--un-bg-opacity:1;background-color:rgb(17 24 39/var(--un-bg-opacity))}.bg-primary{background-color:var(--color-primary-1)}.bg-transparent{background-color:#0000}.bg-warning{background-color:var(--color-warning-1)}.object-contain{object-fit:contain}.p-16px{padding:16px}.p-20px{padding:20px}.p-24px{padding:24px}.p-4{padding:1rem}.px,.px-4{padding-left:1rem;padding-right:1rem}.py-16px{padding-top:16px;padding-bottom:16px}.py-8{padding-top:2rem;padding-bottom:2rem}.py-8px{padding-top:8px;padding-bottom:8px}.pb-100px{padding-bottom:100px}.pb-10px{padding-bottom:10px}.pr-48px{padding-right:48px}.pt-12px{padding-top:12px}.pt-16px{padding-top:16px}.pt-20px{padding-top:20px}.pt-6px{padding-top:6px}.pt-8px{padding-top:8px}.text-center{text-align:center}[root-indent~="24"]:root{text-indent:6rem}.text-12px{font-size:12px}.text-13px{font-size:13px}.text-14px{font-size:14px}.text-15{font-size:3.75rem}.text-15px{font-size:15px}.text-16px{font-size:16px}.text-17px{font-size:17px}.text-18px{font-size:18px}.text-18px\!{font-size:18px!important}.text-20px{font-size:20px}.text-4{font-size:1rem}.text-5{font-size:1.25rem}.text-5\.5{font-size:1.375rem}.text-6{font-size:1.5rem}.text-7{font-size:1.75rem}.text-8{font-size:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-\[\#777\]{--un-text-opacity:1;color:rgb(119 119 119/var(--un-text-opacity))}.text-\[var\(--color-primary-1\)\],.text-primary{color:var(--color-primary-1)}.text-\[var\(--color-primary-hover-1\)\]{color:var(--color-primary-hover-1)}.text-\[var\(--color-text-3\)\],.text-desc{color:var(--color-text-3)}.text-\#333{--un-text-opacity:1;color:rgb(51 51 51/var(--un-text-opacity))}.text-\#fff{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}.text-basic{color:var(--color-text-1)}.text-default{color:var(--color-text-2)}.text-error{color:var(--color-error-1)}.text-gray-100{--un-text-opacity:1;color:rgb(243 244 246/var(--un-text-opacity))}.text-gray-400{--un-text-opacity:1;color:rgb(156 163 175/var(--un-text-opacity))}.text-gray-500{--un-text-opacity:1;color:rgb(107 114 128/var(--un-text-opacity))}[text~="$t("]{color:var(--t\()}.hover-text-\[var\(--color-primary-hover-1\)\]:hover{color:var(--color-primary-hover-1)}.hover\:text-red-5:hover{--un-text-opacity:1;color:rgb(239 68 68/var(--un-text-opacity))}.font-600{font-weight:600}.font-bold,.fw-bold{font-weight:700}.font-medium{font-weight:500}.font-normal\!{font-weight:400!important}.leading-20px{line-height:20px}.leading-22px{line-height:22px}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.italic{font-style:italic}.underline{text-decoration-line:underline}.tab{-moz-tab-size:4;tab-size:4}[tab~="$t("]{-moz-tab-size:var(--t\();-o-tab-size:var(--t\();tab-size:var(--t\()}.shadow{--un-shadow:var(--un-shadow-inset)0 1px 3px 0 var(--un-shadow-color,#0000001a),var(--un-shadow-inset)0 1px 2px -1px var(--un-shadow-color,#0000001a);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-sm{--un-shadow:var(--un-shadow-inset)0 1px 2px 0 var(--un-shadow-color,#0000000d);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.blur{--un-blur:blur(8px);filter:var(--un-blur)var(--un-brightness)var(--un-contrast)var(--un-drop-shadow)var(--un-grayscale)var(--un-hue-rotate)var(--un-invert)var(--un-saturate)var(--un-sepia)}[filter=""]{filter:var(--un-blur)var(--un-brightness)var(--un-contrast)var(--un-drop-shadow)var(--un-grayscale)var(--un-hue-rotate)var(--un-invert)var(--un-saturate)var(--un-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter,backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-property:all;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease,.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}[placeholder~="$t("]::placeholder{color:var(--t\()}@media (min-width:768px){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1024px){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}*,:before{box-sizing:border-box}html,body,#root{width:100%;height:100%}body{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password]::-ms-reveal{display:none}a{text-decoration:none}p,ul,pre{margin:0;padding:0}pre{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe{border:none;outline:none}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title{margin-bottom:20px;font-size:18px;font-weight:700}:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff}:root[theme-mode=dark]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424}div.n-card{box-shadow:0 1px 20px #455a6414}button.n-button{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content{height:100%}.n-radio-group .n-radio-group__splitor{display:none}.n-radio-group.n-radio-group--button-group{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio{margin-left:16px}\ No newline at end of filediff --git a/core/public/dist/static/css/index.a24581de.css b/core/public/dist/static/css/index.a24581de.cssnew file mode 100644index 00000000..a1a43ec3--- /dev/null+++ b/core/public/dist/static/css/index.a24581de.css@@ -0,0 +1 @@+.bt-message-ke2eaH{border:1px solid var(--color-border-2);background-color:var(--color-bg-1);min-width:180px;max-width:360px;max-height:700px;color:var(--color-text-1);opacity:0;border-radius:4px;align-items:center;padding:16px;display:flex;position:fixed;top:0;left:0}.bt-close-btn[data-v-52951952]{z-index:1000;position:absolute;top:15px;right:15px}.bt-close-btn .close-icon[data-v-52951952]{cursor:pointer;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKwwAACsMBNCkkqwAAABZ0RVh0Q3JlYXRpb24gVGltZQAwMy8xNC8xNxpI5/gAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAEN0lEQVRIiaWXTUhjVxTH/+diAmNMDGpCSCBNtWFEIQ0MFAYGZlNt6aKbUhpxYeAZxY0MlGy7K67LLIraYA26sd2UblrUEYp0oIKIgviBaaqNlYRIJgkulDm3i+Q9XvJenjoeCLxz7j3nd9595957QlJKqEJEsBJmfg7gGYAgAB+AtwAKRPQ3gE0i2rQMoBcppfZrMR5l5llmzstbhJn/ZeaXzDxw5wRMgEFmnrkNZpHEN8zsaRXfdG2llB9LKX8iIrfeXigUsLe3h1KphGq1CiKCw+FAV1cXIpEIurq6muP8ByAmhPjjVjAzjxHRj3rb7u4u1tbWkM/nLVfJ7/djeHgY/f39zQl8LoT4tSWYmT8hot9UvVKpYHl5Gdls1hLYLOFwGCMjI2hvb9fDn+vfXAMz8/sA9ojIAQC5XA6Li4sol8v3gqrS3d0NRVG05ZdS/kNEHxLRGwAQurlTKrRcLj8ICgDFYhGpVApXV1cAACJ6D8CUOi7q2TwhoqRqXFpaehBUD19ZWdGbZpj5Az1Yy2RnZwenp6eGIH6/3xJit9vhdrsN9oODAxwdHelNUxqYiBTVur6+bnCORqOYnp5GIpGAzWYzjPt8PiSTSSSTSdjtdsP46uqq9qyyBDMPqcZsNotCoWBwPDk5QblcRl9fH+LxeAPc6/UikUjA6XQik8ng+vra4H92doaLiwtV7WTmjwRqZy8A4Pj42OAE1LbV7OysAe71ejE5OQmHw4FMJoN0Om3qbxL7mQDwWNXM3laVYrHYAFcUpQG6sLCAm5ublv5NsR8LIvKpWrVabemowufn51EulxEKhe4MNYntE60mthIiarg+hbh3iJqflFL76h0dHZaTPR6PVkjZbBaVSgWhUAiKophWu16aYl8IAIf6wFbQiYkJrXpTqRTm5uYa4GZbqUXsQwFA6xrC4bCpk9vtboCq37RQKDTAx8bGWi59U+xNQUSvVC0YDBruVAAIBAJwOp04OTkxFJIKVwuura3N1N/n02r4jRDiLwIAZv6TiJ4CwPb2dvP5CqB2UFjdxzabDY8ePTI94+PxuHZHSym/E0K8UNfla3VSNBpFIBAwON/WBNzc3JhCe3t7mxuD74H6WS2EeC2lfF1/RiwWa7jE31VcLhdisZimSym/FUIcauC6TEkpr4FaBSqKAqfT+c5Qt9uN8fFxuFwuFVpE/W0BY+vzBRH9rOqlUgnpdBrn5+f3goZCIYyOjjYkLqX8VAjxuym4Djc0e1tbW9jY2MDl5aUl0OPxYGhoCJFIpMEupfxKCNFQsabtLTN/BuAXImrYG7lcDvv7+6hUKsjn8xBCoKenB52dnRgcHNRvGRVYIqIviWjNMuMm+AAzv3xAQz8jpQzeGWiSwFNmTjPz1R14JWb+QUr55La41v/SjEkModY4+AAMENFbKeUhgByATSHEK8sAOvkfU5us3WE/neAAAAAASUVORK5CYII=);background-position:50%;border-radius:50%;width:30px;height:30px;transition:all .4s ease-in-out;position:absolute;top:-28px;right:-28px}.bt-close-btn .close-icon[data-v-52951952]:hover{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKwwAACsMBNCkkqwAAABZ0RVh0Q3JlYXRpb24gVGltZQAwMy8xNC8xNxpI5/gAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAEXUlEQVRIiaWXf2iVZRTHv8957t3d3ruSja0mA82NLTMl7gZzjJH0A0RLCKIiskDTzFhmhFrLqKDAMtHMGvvRVn8lSFFS2i/s19rWmC2DVlKbiRtzc2Ngce1u95ynP+7e1/e97/2x6fnvnOf5ns95fr3P8yrMw0RkFYB6AIsAlABgABeUUmcAdCqlOueTL6MZYx5g4QEWZpPFWDjOwqdYeN3VAGtZuDsbLEMRJ1h4abr8Kg10pxjZQ4o87dOjo+CeXtDkFGR4GABAlRUwxUUI1K1EIJzvySNGBMB2TfqtrGAWbiVFmzzArh7EWzsQ/6k37Qwpy0LgztsR2LwBwfKy5AJe0aRfSAtm4UZS9KrjT0witvtlxL//IS3QZ8EchDY+guATj4GCQTd8m3vkDpiFbwXwrT29M4NDiDVsh5w9N3eoywL1dQgd2AttWTY4TorKlFLnAIBcfffaUJ6YQOzxbVcMBYB4ZxemdzTCxOMAAFIUANBqtxMAGGPWk6IaOxjb8TxkZOSKobbNfPMdplva3aHVLHyHAxYjzsLPfPFVyk1ES2/MCFGWBVpY4otPt7ZDxsbdodccMCmqtKOxg2/7xMG71iD/o8Ow2puhQiF/UZUVCB//BPmfH4WaXVPbTCyGWFPL5b6KqgCAWHiXHeT+XyFnzvoS88/9kAsTCNTWIK/poAdO5WUItzeDiosQ7+2DiUZ9+vixL2H+i9muYuENBGCt06G7xycCABk9j+jGLT44lZch/H4bVGEBuLcPlxqeTqk3//4D+W3AHbqHANzgAP4aSikEABkc8sCttiYPNLqlASYWS6vn30+73QoiRdc6yScn0gqT4bo6MmcoAJipKbdbQJ5WlozilKb1/DUASIxcdJyiosydlyyGNbuR+GS/M3KrrSnlbnebKihwu1ME4G8ncfmSzND32hLQ3j5EN231TLvV1uQ7Ssl6l/1JAI7ZXqCuNrVoYYkXOrumyWued2g/QOTTq1AIurrKHfqYSNF+29ORW0ClpT6hXnZT4pz29Po2kgMfG0egOgKVm+vTB+5eA5XrLIXRpDsSl4LwRVJ0DQDMfHocl3Y2+kddXgYZTH/cVCgEtWABZHzc2xDMQfjoEejFixKFGvlFk47Y8/KM02/taugVy32JM0GBxKfRBwWQ8/CDDnTWngO897EzahkbR/S+hyATmc91NgusrIHVcgiYfRCIkR816XrAex8/KiZxjun665D3zptZj1cm01UR5O3b44YaAE/Z7Q5Ykz4C4A3HX74M1ocfQFdF5g0N3n8vwh3NUIWes7tbkz5pO3N67M18fQLTze+CvR96P/C2Vch5cit00t0tRg5o0p4bJOXzloVfBPASqaQv6vAIuKsbPPDH5QR5eaAVN0PX1kAXFiYDDSl6Vin1esaKk+DrWPjUVTzou40xqb9IcyxgMwsPsmT9gzHGGGHh08aY9dnyppzqDEXsQuLhUAyglBSJGBkFcB7AZ5r0vrnm+h+4JqLbk005nAAAAABJRU5ErkJggg==);transform:rotate(180deg)}@keyframes bounce-in{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}@keyframes bounce-out{0%{transform:scale(1)}30%{transform:scale(1.05)}to{opacity:0;transform:scale(.7)}}.bounce-enter-active{animation:.3s both bounce-in}.bounce-leave-active{animation-name:bounce-out;animation-duration:.2s;animation-fill-mode:both}:where(html){-moz-text-size-adjust:100%;text-size-adjust:100%;line-height:1.15}:where(h1){margin-block-start:.67em;margin-block-end:.67em;font-size:2em}:where(dl,ol,ul) :where(dl,ol,ul){margin-block-start:0;margin-block-end:0}:where(hr){box-sizing:content-box;color:inherit;height:0}:where(abbr[title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}:where(b,strong){font-weight:bolder}:where(code,kbd,pre,samp){font-family:monospace;font-size:1em}:where(small){font-size:80%}:where(table){text-indent:0;border-color:currentColor}:where(button,input,select){margin:0}:where(button){text-transform:none}:where(button,input:-webkit-any([type=button i],[type=reset i],[type=submit i])){-webkit-appearance:button}:where(button,input:-moz-any([type=button i],[type=reset i],[type=submit i])){-webkit-appearance:button}:where(button,input:-webkit-any([type=button i],[type=reset i],[type=submit i])){-webkit-appearance:button}:where(button,input:-moz-any([type=button i],[type=reset i],[type=submit i])){-webkit-appearance:button}:where(button,input:is([type=button i],[type=reset i],[type=submit i])){-webkit-appearance:button}:where(progress){vertical-align:baseline}:where(select){text-transform:none}:where(textarea){margin:0}:where(input[type=search i]){-webkit-appearance:textfield;outline-offset:-2px}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}:where(button,input:-webkit-any([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focus-inner{border-style:none;padding:0}:where(button,input:-moz-any([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focus-inner{border-style:none;padding:0}:where(button,input:-webkit-any([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focus-inner{border-style:none;padding:0}:where(button,input:-moz-any([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focus-inner{border-style:none;padding:0}:where(button,input:is([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focus-inner{border-style:none;padding:0}:where(button,input:-webkit-any([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focusring{outline:1px dotted buttontext}:where(button,input:-moz-any([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focusring{outline:1px dotted buttontext}:where(button,input:-webkit-any([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focusring{outline:1px dotted buttontext}:where(button,input:-moz-any([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focusring{outline:1px dotted buttontext}:where(button,input:is([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focusring{outline:1px dotted buttontext}:where(:-moz-ui-invalid){box-shadow:none}:where(dialog){color:#000;background-color:#fff;border:solid;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;margin:auto;padding:1em;position:absolute;left:0;right:0}:where(dialog:not([open])){display:none}:where(summary){display:list-item}.i-ai\:big-model{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' t='1751947525846' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='8882' width='256' height='256'%3E%3Cpath d='M179.32 355.99c-3.433 9.036-5.18 18.433-5.18 27.95V629.7c0 31.382 18.914 60.476 49.875 76.62l230.701 120.108c5.24 2.65 10.662 4.94 16.264 6.807v140.71a109.086 109.086 0 0 1-11.626-5.18l-359.002-186.85c-30.9-16.083-49.875-45.177-49.875-76.5V326.055c0-10.843 2.29-21.504 6.626-31.383l122.217 61.26z m794.203-29.936v379.301c0 31.383-18.974 60.416-49.935 76.5l-358.942 186.97c-3.795 1.867-7.65 3.614-11.626 5.12V829.8c2.41-1.084 4.82-2.168 7.108-3.373L790.829 706.32c30.961-16.143 49.935-45.176 49.935-76.62V383.94c0-5.059-0.482-10.059-1.445-15.058l130.83-65.536c2.17 7.349 3.374 14.938 3.374 22.709zM564.646 62.704l354.002 184.2-124.325 62.284a122.458 122.458 0 0 0-3.494-1.807L560.19 187.15a115.893 115.893 0 0 0-105.413 0L235.038 301.598l-119.627-59.994 343.943-178.96c32.467-16.865 72.885-16.865 105.412 0z' fill='%233888FF' p-id='8883'%3E%3C/path%3E%3Cpath d='M256.301 383.277L483.147 496.52v248.29a110.29 110.29 0 0 1-32.888-10.843L297.864 655c-30.48-15.842-49.152-44.514-49.152-75.415V416.708c0-11.686 2.71-23.01 7.59-33.43z' fill='%233888FF' p-id='8884'%3E%3C/path%3E%3Cpath d='M755.11 579.584c0 30.9-18.673 59.573-49.273 75.415l-152.275 78.908c-2.65 1.385-5.42 2.71-8.192 3.855V504.23l207.993-103.726c1.205 5.361 1.747 10.783 1.747 16.204v162.876z' fill='%23A6C6FD' p-id='8885'%3E%3C/path%3E%3Cpath d='M705.958 341.353c6.385 3.313 12.408 7.289 17.83 11.807l-200.102 99.81h-3.253L297.382 341.593l0.542-0.3 152.335-78.97a114.025 114.025 0 0 1 103.303 0l152.396 79.03z' fill='%233888FF' p-id='8886'%3E%3C/path%3E%3C/svg%3E") 0 0/100% 100% no-repeat;width:256px;height:256px;display:inline-flex}.i-carbon\:cloud-upload{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m11 18l1.41 1.41L15 16.83V29h2V16.83l2.59 2.58L21 18l-5-5z'/%3E%3Cpath fill='currentColor' d='M23.5 22H23v-2h.5a4.5 4.5 0 0 0 .36-9H23l-.1-.82a7 7 0 0 0-13.88 0L9 11h-.86a4.5 4.5 0 0 0 .36 9H9v2h-.5A6.5 6.5 0 0 1 7.2 9.14a9 9 0 0 1 17.6 0A6.5 6.5 0 0 1 23.5 22'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-carbon\:copy{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M28 10v18H10V10zm0-2H10a2 2 0 0 0-2 2v18a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2'/%3E%3Cpath fill='currentColor' d='M4 18H2V4a2 2 0 0 1 2-2h14v2H4Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-carbon\:export{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M26 24v4H6v-4H4v4l.008-.005A2 2 0 0 0 6 30h20a2 2 0 0 0 2-2v-4zM6 12l1.411 1.405L15 5.825V24h2V5.825l7.591 7.58L26 12L16 2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-carbon\:overflow-menu-vertical{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Ccircle cx='16' cy='8' r='2' fill='currentColor'/%3E%3Ccircle cx='16' cy='16' r='2' fill='currentColor'/%3E%3Ccircle cx='16' cy='24' r='2' fill='currentColor'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-carbon\:warning-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 2C8.3 2 2 8.3 2 16s6.3 14 14 14s14-6.3 14-14S23.7 2 16 2m-1.1 6h2.2v11h-2.2zM16 25c-.8 0-1.5-.7-1.5-1.5S15.2 22 16 22s1.5.7 1.5 1.5S16.8 25 16 25'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ci\:edit-pencil-line-01{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 20h16M4 20v-4l8-8M4 20h4l8-8m-4-4l2.869-2.869l.001-.001c.395-.395.593-.593.821-.667a1 1 0 0 1 .618 0c.228.074.425.272.82.666l1.74 1.74c.396.396.594.594.668.822a1 1 0 0 1 0 .618c-.074.228-.272.426-.668.822h0L16 12.001m-4-4l4 4'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-cuida\:mail-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg class='mail-outline'%3E%3Cg fill='currentColor' fill-rule='evenodd' class='Vector' clip-rule='evenodd'%3E%3Cpath d='M6 5h12a4 4 0 0 1 4 4v7a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V9a4 4 0 0 1 4-4m0 2a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z'/%3E%3Cpath d='M3.643 6.986a1 1 0 0 1 1.372-.343l6.47 3.882a1 1 0 0 0 1.03 0l6.47-3.882a1 1 0 0 1 1.03 1.715l-6.472 3.882a3 3 0 0 1-3.086 0L3.984 8.358a1 1 0 0 1-.342-1.372Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-custom\:help{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' aria-hidden='true' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' fill-rule='evenodd' clip-rule='evenodd' d='M6.886 4.923c-.232.25-.386.63-.386 1.122a.75.75 0 1 1-1.5 0c0-.803.254-1.57.788-2.144C6.33 3.32 7.1 3 8 3c.9 0 1.67.32 2.212.901.534.574.788 1.341.788 2.144 0 1.234-.869 1.922-1.436 2.332-.094.068-.178.127-.255.181-.19.134-.33.233-.449.343a.64.64 0 0 0-.11.121V9.5a.75.75 0 0 1-1.5 0V9c0-.563.326-.956.593-1.202.198-.183.457-.364.672-.516l.17-.121c.559-.404.815-.693.815-1.116 0-.492-.154-.872-.386-1.122C8.888 4.68 8.533 4.5 8 4.5c-.533 0-.888.18-1.114.423Z'%3E%3C/path%3E%3Cpath d='M9 12a1.001 1.001 0 0 1-2 0 1.001 1.001 0 0 1 2 0Z'%3E%3C/path%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 14.5A6.5 6.5 0 1 0 1.5 8c0 1.022.179 1.608.603 2.399.316.59.407 1.313.178 2.003l-.66 1.976 1.977-.659a2.541 2.541 0 0 1 2.004.178c.79.424 1.376.603 2.398.603ZM8 16a8 8 0 1 0-8-8c0 1.29.25 2.117.78 3.107.136.252.168.549.078.82l-.807 2.42a1 1 0 0 0-.051.315V15a1 1 0 0 0 1 1h.338a1 1 0 0 0 .316-.051l2.419-.807c.271-.09.568-.057.82.078.99.53 1.817.78 3.107.78Z'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-custom\:mailbox{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1747732902190' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='20987' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M838.83 280.42c-8.76-1.74-17.74-2.73-26.72-2.94l-11.05-2.49V154.13c0-37.89-33.19-68.72-74-68.72H288.34c-40.8 0-74 30.83-74 68.72v123.13l-1.23 0.2c-9.26 0.16-18.48 1.13-26.52 2.74C117.35 291.12 67.1 346.02 67.1 410.75V813.9c0 68.89 60.82 124.95 135.57 124.95h618.86c74.75 0 135.56-56.06 135.56-124.95V410.75c0.01-64.74-50.25-119.63-118.26-130.33z m-37.21 58.36l6.83 0.76c6.15 0 12.29 0.61 19.49 2.01 7.34 1.15 14.14 3.36 20.6 6.04l-47.49 31.93v-40.86l0.57 0.12zM288.34 147.51h438.72c7.38 0 11.9 4.29 11.9 6.62v267.14L548.81 549.12l-4.63 3.81c-17.29 17.28-44.36 18.39-60.31 2.44L276.45 414.64V154.13c0-2.34 4.51-6.62 11.89-6.62z m-90.9 193.83c5.58-1.1 11.26-1.58 16.91-1.66v32.83l-37.33-25.32c6.4-2.56 13.13-4.7 20.42-5.85zM895 813.9c0 34.66-32.95 62.85-73.46 62.85H202.67c-40.51 0-73.47-28.19-73.47-62.85V410.75c0-6.5 1.33-12.73 3.28-18.75l309.81 209.54c19.35 18.14 44.28 27.17 69.49 27.17 26.4-0.01 53.11-9.91 73.98-29.59l306.33-205.98c1.71 5.68 2.91 11.52 2.91 17.61V813.9z' fill='currentColor' p-id='20988'%3E%3C/path%3E%3Cpath d='M517.91 465.9c45.28 0.75 83.39-13.21 114.34-41.89l-18.11-22.64c-27.17 19.62-58.49 29.43-93.96 29.43-65.66-0.76-98.87-36.6-99.62-107.54 4.53-70.93 38.11-109.05 100.75-114.34 59.61 1.52 90.56 33.59 92.83 96.22-1.52 38.49-12.45 59.25-32.83 62.26-7.55 0.76-10.95-2.64-10.19-10.19 0-3.77 0.37-8.3 1.13-13.58l12.45-105.28h-35.1l-1.13 11.32c-6.79-9.06-16.23-13.58-28.3-13.58-45.28 3.78-70.57 35.09-75.85 93.96-1.52 47.55 14.33 71.7 47.55 72.45 18.86 0 33.96-8.3 45.28-24.9 0.75 17.36 13.58 26.04 38.49 26.04 46.03-4.53 70.93-38.11 74.72-100.75-4.53-81.51-47.17-124.53-127.92-129.05-86.04 6.04-132.08 55.85-138.11 149.43 1.5 93.56 46.02 141.11 133.58 142.63z m-16.98-97.36c-15.85 0-23.02-12.07-21.51-36.23 5.28-37.73 19.62-58.11 43.02-61.13 11.32 0.76 17.73 10.19 19.24 28.3-3.78 41.52-17.37 64.53-40.75 69.06z' fill='currentColor' p-id='20989'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-custom\:smtp{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' width='1em' height='1em' t='1747640620453' viewBox='0 0 1025 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='3817' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpath d='M841.142857 73.142857a109.714286 109.714286 0 0 1 109.202286 99.181714L950.857143 182.857143v294.107428a36.571429 36.571429 0 0 1-72.557714 6.582858L877.714286 476.964571V194.340571L569.051429 459.776c-32.182857 19.529143-71.826286 21.211429-108.909715 2.121143l-10.020571-5.705143L146.285714 194.56v573.44a36.571429 36.571429 0 0 0 29.988572 35.986286L182.857143 804.571429h221.842286a36.571429 36.571429 0 0 1 6.582857 72.557714l-6.582857 0.585143H182.857143a109.714286 109.714286 0 0 1-109.202286-99.181715L73.142857 768v-585.142857a109.714286 109.714286 0 0 1 99.181714-109.202286L182.857143 73.142857h658.285714z m-19.675428 73.142857H202.24L492.982857 397.238857a40.740571 40.740571 0 0 0 29.257143 5.046857l3.949714-1.462857L821.467429 146.285714z' fill='currentColor' p-id='3818'%3E%3C/path%3E%3Cpath d='M857.526857 626.395429l5.632 3.510857 146.651429 109.421714a36.571429 36.571429 0 0 1 5.558857 53.613714l-5.266286 4.827429-142.482286 108.544a36.571429 36.571429 0 0 1-49.225142-53.76l4.900571-4.388572 56.32-43.008-257.755429 0.073143a36.571429 36.571429 0 0 1-6.582857-72.557714l6.582857-0.585143H877.714286l-58.294857-43.593143a36.571429 36.571429 0 0 1 38.107428-62.098285z' fill='currentColor' p-id='3819'%3E%3C/path%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-domain\:brand-info{background:url("data:image/svg+xml;utf8,%3Csvg display='inline-flex' t='1742268666395' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='29657' xmlns:xlink='http://www.w3.org/1999/xlink' width='200' height='200'%3E%3Cdefs%3E%3ClinearGradient id='grad1' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' style='stop-color:rgb(57, 52, 161); stop-opacity:1'/%3E%3Cstop offset='100%25' style='stop-color:rgb(208, 39, 255); stop-opacity:1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23grad1)' d='M602.24 246.72a17.28 17.28 0 0 0-11.84-16.32l-42.88-14.4A90.56 90.56 0 0 1 490.24 160l-14.4-42.88a17.28 17.28 0 0 0-32 0L428.8 160a90.56 90.56 0 0 1-57.28 57.28l-42.88 14.4a17.28 17.28 0 0 0 0 32l42.88 14.4a90.56 90.56 0 0 1 57.28 57.28l14.4 42.88a17.28 17.28 0 0 0 32 0l14.4-42.88a90.56 90.56 0 0 1 57.28-57.28l42.88-14.4a17.28 17.28 0 0 0 12.48-16.96z m301.12 221.76l-48.32-16a101.44 101.44 0 0 1-64-64l-16-48.32a19.2 19.2 0 0 0-36.8 0l-16 48.32a101.44 101.44 0 0 1-64 64l-48.32 16a19.2 19.2 0 0 0 0 36.8l48.32 16a101.44 101.44 0 0 1 64 64l16 48.32a19.2 19.2 0 0 0 36.8 0l16-48.32a101.44 101.44 0 0 1 64-64l48.32-16a19.2 19.2 0 0 0 0-36.8z m-376.64 195.52l-64-20.8a131.84 131.84 0 0 1-83.52-83.52l-20.8-64a25.28 25.28 0 0 0-47.68 0l-20.8 64a131.84 131.84 0 0 1-82.24 83.52l-64 20.8a25.28 25.28 0 0 0 0 47.68l64 20.8a131.84 131.84 0 0 1 83.52 83.84l20.8 64a25.28 25.28 0 0 0 47.68 0l20.8-64a131.84 131.84 0 0 1 83.52-83.52l64-20.8a25.28 25.28 0 0 0 0-47.68z' p-id='29658'%3E%3C/path%3E%3C/svg%3E") 0 0/100% 100% no-repeat;width:200px;height:200px;display:inline-flex}.i-fa-solid\:unlink{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 512 512' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M304.083 405.907c4.686 4.686 4.686 12.284 0 16.971l-44.674 44.674c-59.263 59.262-155.693 59.266-214.961 0c-59.264-59.265-59.264-155.696 0-214.96l44.675-44.675c4.686-4.686 12.284-4.686 16.971 0l39.598 39.598c4.686 4.686 4.686 12.284 0 16.971l-44.675 44.674c-28.072 28.073-28.072 73.75 0 101.823s73.75 28.073 101.824 0l44.674-44.674c4.686-4.686 12.284-4.686 16.971 0zm-56.568-260.216c4.686 4.686 12.284 4.686 16.971 0l44.674-44.674c28.072-28.075 73.75-28.073 101.824 0c28.072 28.073 28.072 73.75 0 101.823l-44.675 44.674c-4.686 4.686-4.686 12.284 0 16.971l39.598 39.598c4.686 4.686 12.284 4.686 16.971 0l44.675-44.675c59.265-59.265 59.265-155.695 0-214.96c-59.266-59.264-155.695-59.264-214.961 0l-44.674 44.674c-4.686 4.686-4.686 12.284 0 16.971zm234.828 359.28l22.627-22.627c9.373-9.373 9.373-24.569 0-33.941L63.598 7.029c-9.373-9.373-24.569-9.373-33.941 0L7.029 29.657c-9.373 9.373-9.373 24.569 0 33.941l441.373 441.373c9.373 9.372 24.569 9.372 33.941 0'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-fa\:ban{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1536 1568' display='inline-flex' width='0.98em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M1312 797q0-161-87-295l-754 753q137 89 297 89q111 0 211.5-43.5T1153 1184t116-174.5t43-212.5m-999 299l755-754q-135-91-300-91q-148 0-273 73T297 523t-73 274q0 162 89 299m1223-299q0 157-61 300t-163.5 246t-245 164t-298.5 61t-298.5-61t-245-164T61 1097T0 797t61-299.5T224.5 252t245-164T768 27t298.5 61t245 164T1475 497.5t61 299.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:.98em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-fa\:envelope-open{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1792 1792' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M1792 654v978q0 66-47 113t-113 47H160q-66 0-113-47T0 1632V654q0-15 11-24q8-7 39-34.5t41.5-36T137 522t70-55.5t96-73t143.5-107T639 146q5-4 52.5-40T763 53.5t64-35T896 0t69 18.5t65 35.5t71 52t52 40q110 80 192.5 140.5t143.5 107t96 73t70 55.5t45.5 37.5t41.5 36t39 34.5q11 9 11 24m-564 585q263-191 345-252q11-8 12.5-20.5T1579 943l-38-52q-8-11-21-12.5t-24 6.5q-231 169-343 250q-5 3-52 39t-71.5 52.5t-64.5 35t-69 18.5t-69-18.5t-64.5-35T691 1174t-52-39q-186-134-343-250q-11-8-24-6.5T251 891l-38 52q-8 11-6.5 23.5T219 987q82 61 345 252q10 8 50 38t65 47t64 39.5t77.5 33.5t75.5 11t75.5-11t79-34.5t64.5-39.5t65-47.5t48-36.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-fa\:mouse-pointer{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1152 1792' display='inline-flex' width='0.65em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M1133 1043q31 30 14 69q-17 40-59 40H706l201 476q10 25 0 49t-34 35l-177 75q-25 10-49 0t-35-34l-191-452l-312 312q-19 19-45 19q-12 0-24-5q-40-17-40-59V64Q0 22 40 5q12-5 24-5q27 0 45 19z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:.65em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-fa\:paper-plane{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1792 1792' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M1764 11q33 24 27 64l-256 1536q-5 29-32 45q-14 8-31 8q-11 0-24-5l-453-185l-242 295q-18 23-49 23q-13 0-22-4q-19-7-30.5-23.5T640 1728v-349l864-1059l-1069 925l-395-162q-37-14-40-55q-2-40 32-59L1696 9q15-9 32-9q20 0 36 11'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ic\:baseline-add-circle{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2m5 11h-4v4h-2v-4H7v-2h4V7h2v4h4z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ic\:baseline-control-point{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4zm-1-5C6.49 2 2 6.49 2 12s4.49 10 10 10s10-4.49 10-10S17.51 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ic\:baseline-error{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ic\:baseline-save{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3s3 1.34 3 3s-1.34 3-3 3m3-10H5V5h10z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ic\:round-check-circle-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8m3.88-11.71L10 14.17l-1.88-1.88a.996.996 0 1 0-1.41 1.41l2.59 2.59c.39.39 1.02.39 1.41 0L17.3 9.7a.996.996 0 0 0 0-1.41c-.39-.39-1.03-.39-1.42 0'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-icon-park-outline\:log{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 48 48' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linejoin='round' stroke-width='4'%3E%3Cpath d='M13 10h28v34H13z'/%3E%3Cpath stroke-linecap='round' d='M35 10V4H8a1 1 0 0 0-1 1v33h6m8-16h12m-12 8h12'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-icon-park-twotone\:arrow-circle-up{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 48 48' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cdefs%3E%3Cmask id='ipTArrowCircleUp0'%3E%3Cg fill='none' stroke='%23fff' stroke-linejoin='round' stroke-width='4'%3E%3Cpath fill='%23555' d='M24 44c11.046 0 20-8.954 20-20S35.046 4 24 4S4 12.954 4 24s8.954 20 20 20Z'/%3E%3Cpath stroke-linecap='round' d='M24 33.5v-18m9 9l-9-9l-9 9'/%3E%3C/g%3E%3C/mask%3E%3C/defs%3E%3Cpath fill='currentColor' d='M0 0h48v48H0z' mask='url(%23ipTArrowCircleUp0)'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-icon-park-twotone\:new-picture{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 48 48' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cdefs%3E%3Cmask id='ipTNewPicture0'%3E%3Cg fill='none' stroke='%23fff' stroke-linejoin='round' stroke-width='4'%3E%3Crect width='36' height='36' x='6' y='6' fill='%23555' rx='3'/%3E%3Cpath stroke-linecap='round' d='m6 28l10.693-9.802a2 2 0 0 1 2.653-.044L32 29m-4-5l4.773-4.773a2 2 0 0 1 2.615-.186L42 24M6 20v10m36-10v10'/%3E%3C/g%3E%3C/mask%3E%3C/defs%3E%3Cpath fill='currentColor' d='M0 0h48v48H0z' mask='url(%23ipTNewPicture0)'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-material-symbols\:account-circle{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M5.85 17.1q1.275-.975 2.85-1.537T12 15t3.3.563t2.85 1.537q.875-1.025 1.363-2.325T20 12q0-3.325-2.337-5.663T12 4T6.337 6.338T4 12q0 1.475.488 2.775T5.85 17.1M12 13q-1.475 0-2.488-1.012T8.5 9.5t1.013-2.488T12 6t2.488 1.013T15.5 9.5t-1.012 2.488T12 13m0 9q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-material-symbols\:add-circle-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M11 17h2v-4h4v-2h-4V7h-2v4H7v2h4zm1 5q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4T6.325 6.325T4 12t2.325 5.675T12 20m0-8'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-material-symbols\:chrome-restore-rounded{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M10 16q-.825 0-1.413-.588T8 14V6q0-.825.588-1.413T10 4h8q.825 0 1.413.588T20 6v8q0 .825-.588 1.413T18 16h-8Zm-4 4q-.825 0-1.413-.588T4 18V9.525q0-.425.288-.713T5 8.525q.425 0 .713.288T6 9.524V18h8.475q.425 0 .713.288t.287.712q0 .425-.287.713t-.713.287H6Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-material-symbols\:close-rounded{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m12 13.4l-4.9 4.9q-.275.275-.7.275t-.7-.275t-.275-.7t.275-.7l4.9-4.9l-4.9-4.9q-.275-.275-.275-.7t.275-.7t.7-.275t.7.275l4.9 4.9l4.9-4.9q.275-.275.7-.275t.7.275t.275.7t-.275.7L13.4 12l4.9 4.9q.275.275.275.7t-.275.7t-.7.275t-.7-.275z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-material-symbols\:delete-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7 21q-.825 0-1.412-.587T5 19V6H4V4h5V3h6v1h5v2h-1v13q0 .825-.587 1.413T17 21zM17 6H7v13h10zM9 17h2V8H9zm4 0h2V8h-2zM7 6v13z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-alert-circle{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M13 13h-2V7h2m0 10h-2v-2h2M12 2A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-chart-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m16 11.78l4.24-7.33l1.73 1l-5.23 9.05l-6.51-3.75L5.46 19H22v2H2V3h2v14.54L9.5 8z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-chevron-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-cog{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 15.5A3.5 3.5 0 0 1 8.5 12A3.5 3.5 0 0 1 12 8.5a3.5 3.5 0 0 1 3.5 3.5a3.5 3.5 0 0 1-3.5 3.5m7.43-2.53c.04-.32.07-.64.07-.97s-.03-.66-.07-1l2.11-1.63c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.31-.61-.22l-2.49 1c-.52-.39-1.06-.73-1.69-.98l-.37-2.65A.506.506 0 0 0 14 2h-4c-.25 0-.46.18-.5.42l-.37 2.65c-.63.25-1.17.59-1.69.98l-2.49-1c-.22-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64L4.57 11c-.04.34-.07.67-.07 1s.03.65.07.97l-2.11 1.66c-.19.15-.25.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1.01c.52.4 1.06.74 1.69.99l.37 2.65c.04.24.25.42.5.42h4c.25 0 .46-.18.5-.42l.37-2.65c.63-.26 1.17-.59 1.69-.99l2.49 1.01c.22.08.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-content-copy{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19 21H8V7h11m0-2H8a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2m-3-4H4a2 2 0 0 0-2 2v14h2V3h12z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-delete{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19 4h-3.5l-1-1h-5l-1 1H5v2h14M6 19a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7H6z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-edit{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M20.71 7.04c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.37-.39-1.02-.39-1.41 0l-1.84 1.83l3.75 3.75M3 17.25V21h3.75L17.81 9.93l-3.75-3.75z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-email-fast-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M22 5.5H9c-1.1 0-2 .9-2 2v9a2 2 0 0 0 2 2h13c1.11 0 2-.89 2-2v-9a2 2 0 0 0-2-2m0 11H9V9.17l6.5 3.33L22 9.17zm-6.5-5.69L9 7.5h13zM5 16.5c0 .17.03.33.05.5H1c-.552 0-1-.45-1-1s.448-1 1-1h4zM3 7h2.05c-.02.17-.05.33-.05.5V9H3c-.55 0-1-.45-1-1s.45-1 1-1m-2 5c0-.55.45-1 1-1h3v2H2c-.55 0-1-.45-1-1'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-eye-off-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M2 5.27L3.28 4L20 20.72L18.73 22l-3.08-3.08c-1.15.38-2.37.58-3.65.58c-5 0-9.27-3.11-11-7.5c.69-1.76 1.79-3.31 3.19-4.54zM12 9a3 3 0 0 1 3 3a3 3 0 0 1-.17 1L11 9.17A3 3 0 0 1 12 9m0-4.5c5 0 9.27 3.11 11 7.5a11.8 11.8 0 0 1-4 5.19l-1.42-1.43A9.86 9.86 0 0 0 20.82 12A9.82 9.82 0 0 0 12 6.5c-1.09 0-2.16.18-3.16.5L7.3 5.47c1.44-.62 3.03-.97 4.7-.97M3.18 12A9.82 9.82 0 0 0 12 17.5c.69 0 1.37-.07 2-.21L11.72 15A3.064 3.064 0 0 1 9 12.28L5.6 8.87c-.99.85-1.82 1.91-2.42 3.13'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-eye-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 9a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m0-4.5c5 0 9.27 3.11 11 7.5c-1.73 4.39-6 7.5-11 7.5S2.73 16.39 1 12c1.73-4.39 6-7.5 11-7.5M3.18 12a9.821 9.821 0 0 0 17.64 0a9.821 9.821 0 0 0-17.64 0'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-file{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M13 9V3.5L18.5 9M6 2c-1.11 0-2 .89-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-language{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m12.87 15.07l-2.54-2.51l.03-.03A17.5 17.5 0 0 0 14.07 6H17V4h-7V2H8v2H1v2h11.17C11.5 7.92 10.44 9.75 9 11.35C8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5l3.11 3.11zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2zm-2.62 7l1.62-4.33L19.12 17z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-logout{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m17 7l-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5M4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-menu-close{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M3 6h10v2H3zm0 10h10v2H3zm0-5h12v2H3zm13-4l-1.42 1.39L18.14 12l-3.56 3.61L16 17l5-5z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-menu-open{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M21 15.61L19.59 17l-5.01-5l5.01-5L21 8.39L17.44 12zM3 6h13v2H3zm0 7v-2h10v2zm0 5v-2h13v2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-network{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17 3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-4v2h1a1 1 0 0 1 1 1h7v2h-7a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1H2v-2h7a1 1 0 0 1 1-1h1v-2H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-remove-circle{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 2c5.53 0 10 4.47 10 10s-4.47 10-10 10S2 17.53 2 12S6.47 2 12 2m3.59 5L12 10.59L8.41 7L7 8.41L10.59 12L7 15.59L8.41 17L12 13.41L15.59 17L17 15.59L13.41 12L17 8.41z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-search{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5l-1.5 1.5l-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16A6.5 6.5 0 0 1 3 9.5A6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14S14 12 14 9.5S12 5 9.5 5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-settings-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 8a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m0 2a2 2 0 0 0-2 2a2 2 0 0 0 2 2a2 2 0 0 0 2-2a2 2 0 0 0-2-2m-2 12c-.25 0-.46-.18-.5-.42l-.37-2.65c-.63-.25-1.17-.59-1.69-.99l-2.49 1.01c-.22.08-.49 0-.61-.22l-2-3.46a.493.493 0 0 1 .12-.64l2.11-1.66L4.5 12l.07-1l-2.11-1.63a.493.493 0 0 1-.12-.64l2-3.46c.12-.22.39-.31.61-.22l2.49 1c.52-.39 1.06-.73 1.69-.98l.37-2.65c.04-.24.25-.42.5-.42h4c.25 0 .46.18.5.42l.37 2.65c.63.25 1.17.59 1.69.98l2.49-1c.22-.09.49 0 .61.22l2 3.46c.13.22.07.49-.12.64L19.43 11l.07 1l-.07 1l2.11 1.63c.19.15.25.42.12.64l-2 3.46c-.12.22-.39.31-.61.22l-2.49-1c-.52.39-1.06.73-1.69.98l-.37 2.65c-.04.24-.25.42-.5.42zm1.25-18l-.37 2.61c-1.2.25-2.26.89-3.03 1.78L5.44 7.35l-.75 1.3L6.8 10.2a5.55 5.55 0 0 0 0 3.6l-2.12 1.56l.75 1.3l2.43-1.04c.77.88 1.82 1.52 3.01 1.76l.37 2.62h1.52l.37-2.61c1.19-.25 2.24-.89 3.01-1.77l2.43 1.04l.75-1.3l-2.12-1.55c.4-1.17.4-2.44 0-3.61l2.11-1.55l-.75-1.3l-2.41 1.04a5.42 5.42 0 0 0-3.03-1.77L12.75 4z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-shield-account{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12c5.16-1.26 9-6.45 9-12V5zm0 4a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m5.13 12A9.7 9.7 0 0 1 12 20.92A9.7 9.7 0 0 1 6.87 17c-.34-.5-.63-1-.87-1.53c0-1.65 2.71-3 6-3s6 1.32 6 3c-.24.53-.53 1.03-.87 1.53'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-success-circle{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10s10-4.5 10-10S17.5 2 12 2m-2 15l-5-5l1.41-1.41L10 14.17l7.59-7.59L19 8z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-upload{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M9 16v-6H5l7-7l7 7h-4v6zm-4 4v-2h14v2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-user-multiple-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M13.07 10.41a5 5 0 0 0 0-5.82A3.4 3.4 0 0 1 15 4a3.5 3.5 0 0 1 0 7a3.4 3.4 0 0 1-1.93-.59M5.5 7.5A3.5 3.5 0 1 1 9 11a3.5 3.5 0 0 1-3.5-3.5m2 0A1.5 1.5 0 1 0 9 6a1.5 1.5 0 0 0-1.5 1.5M16 17v2H2v-2s0-4 7-4s7 4 7 4m-2 0c-.14-.78-1.33-2-5-2s-4.93 1.31-5 2m11.95-4A5.32 5.32 0 0 1 18 17v2h4v-2s0-3.63-6.06-4Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-user-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 4a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m0 2a2 2 0 0 0-2 2a2 2 0 0 0 2 2a2 2 0 0 0 2-2a2 2 0 0 0-2-2m0 7c2.67 0 8 1.33 8 4v3H4v-3c0-2.67 5.33-4 8-4m0 1.9c-2.97 0-6.1 1.46-6.1 2.1v1.1h12.2V17c0-.64-3.13-2.1-6.1-2.1'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi-web{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16.36 14c.08-.66.14-1.32.14-2s-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2m-5.15 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56M14.34 14H9.66c-.1-.66-.16-1.32-.16-2s.06-1.35.16-2h4.68c.09.65.16 1.32.16 2s-.07 1.34-.16 2M12 19.96c-.83-1.2-1.5-2.53-1.91-3.96h3.82c-.41 1.43-1.08 2.76-1.91 3.96M8 8H5.08A7.92 7.92 0 0 1 9.4 4.44C8.8 5.55 8.35 6.75 8 8m-2.92 8H8c.35 1.25.8 2.45 1.4 3.56A8 8 0 0 1 5.08 16m-.82-2C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2s.06 1.34.14 2M12 4.03c.83 1.2 1.5 2.54 1.91 3.97h-3.82c.41-1.43 1.08-2.77 1.91-3.97M18.92 8h-2.95a15.7 15.7 0 0 0-1.38-3.56c1.84.63 3.37 1.9 4.33 3.56M12 2C6.47 2 2 6.5 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi\:arrow-right{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M4 11v2h12l-5.5 5.5l1.42 1.42L19.84 12l-7.92-7.92L10.5 5.5L16 11z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi\:button-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M20 20H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2M4 6v12h16V6z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi\:delete-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M6 19a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7H6zM8 9h8v10H8zm7.5-5l-1-1h-5l-1 1H5v2h14V4z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi\:file-image{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M13 9h5.5L13 3.5zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m0 18h12v-8l-4 4l-2-2zM8 9a2 2 0 0 0-2 2a2 2 0 0 0 2 2a2 2 0 0 0 2-2a2 2 0 0 0-2-2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi\:format-list-bulleted{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7 5h14v2H7zm0 8v-2h14v2zM4 4.5A1.5 1.5 0 0 1 5.5 6A1.5 1.5 0 0 1 4 7.5A1.5 1.5 0 0 1 2.5 6A1.5 1.5 0 0 1 4 4.5m0 6A1.5 1.5 0 0 1 5.5 12A1.5 1.5 0 0 1 4 13.5A1.5 1.5 0 0 1 2.5 12A1.5 1.5 0 0 1 4 10.5M7 19v-2h14v2zm-3-2.5A1.5 1.5 0 0 1 5.5 18A1.5 1.5 0 0 1 4 19.5A1.5 1.5 0 0 1 2.5 18A1.5 1.5 0 0 1 4 16.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi\:format-text{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m18.5 4l1.16 4.35l-.96.26c-.45-.87-.91-1.74-1.44-2.18C16.73 6 16.11 6 15.5 6H13v10.5c0 .5 0 1 .33 1.25c.34.25 1 .25 1.67.25v1H9v-1c.67 0 1.33 0 1.67-.25c.33-.25.33-.75.33-1.25V6H8.5c-.61 0-1.23 0-1.76.43c-.53.44-.99 1.31-1.44 2.18l-.96-.26L5.5 4z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi\:horizontal-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M19 13H5v-2h14z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi\:link{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7a5 5 0 0 0-5 5a5 5 0 0 0 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4a5 5 0 0 0 5-5a5 5 0 0 0-5-5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi\:menu{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mdi\:view-column-outline{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M4 5v13h17V5zm10 2v9h-3V7zM6 7h3v9H6zm13 9h-3V7h3z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mingcute\:close-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='currentColor' d='m12 14.122l5.303 5.303a1.5 1.5 0 0 0 2.122-2.122L14.12 12l5.304-5.303a1.5 1.5 0 1 0-2.122-2.121L12 9.879L6.697 4.576a1.5 1.5 0 1 0-2.122 2.12L9.88 12l-5.304 5.304a1.5 1.5 0 1 0 2.122 2.12z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mingcute\:eye-2-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none'%3E%3Cpath d='m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='currentColor' d='M12 5c3.679 0 8.162 2.417 9.73 5.901c.146.328.27.71.27 1.099c0 .388-.123.771-.27 1.099C20.161 16.583 15.678 19 12 19s-8.162-2.417-9.73-5.901C2.124 12.77 2 12.389 2 12c0-.388.123-.771.27-1.099C3.839 7.417 8.322 5 12 5m0 3a4 4 0 1 0 0 8a4 4 0 0 0 0-8m0 2a2 2 0 1 1 0 4a2 2 0 0 1 0-4'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mingcute\:mail-send-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none'%3E%3Cpath d='m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='currentColor' d='M20 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-1h2v1h16V7.423l-6.935 6.935a1.5 1.5 0 0 1-2.121 0L4 7.414V8H2V6a2 2 0 0 1 2-2zM6 13a1 1 0 0 1 .117 1.993L6 15H1a1 1 0 0 1-.117-1.993L1 13zm-1-3a1 1 0 1 1 0 2H2a1 1 0 1 1 0-2z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mingcute\:pic-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none'%3E%3Cpath d='m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='currentColor' d='M20 3a2 2 0 0 1 1.995 1.85L22 5v14a2 2 0 0 1-1.85 1.995L20 21H4a2 2 0 0 1-1.995-1.85L2 19V5a2 2 0 0 1 1.85-1.995L4 3zM9.879 12.05l-5.657 5.657a1 1 0 0 1-.222.168V19h16v-1.125a1 1 0 0 1-.222-.168L16.95 14.88l-.707.707l.207.207a1 1 0 0 1-1.415 1.414L9.88 12.05ZM20 5H4v10.1l4.995-4.994a1.25 1.25 0 0 1 1.666-.091l.101.09l4.066 4.067l1.238-1.238a1.25 1.25 0 0 1 1.666-.091l.102.091L20 15.101zm-4.5 2a1.5 1.5 0 1 1 0 3a1.5 1.5 0 0 1 0-3'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-mingcute\:save-2-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='m12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.036q-.016-.004-.024.006l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.016-.018m.264-.113l-.014.002l-.184.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092q.019.005.029-.008l.004-.014l-.034-.614q-.005-.019-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.003-.011l.018-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='currentColor' d='M15.586 3A2 2 0 0 1 17 3.586L19.414 6A2 2 0 0 1 20 7.414V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM8 5H5v14h2v-5a2 2 0 0 1 2-2h5a2 2 0 0 1 2 2v5h2V7.414L15.586 5H15v2.5A1.5 1.5 0 0 1 13.5 9h-4A1.5 1.5 0 0 1 8 7.5zm6 9H9v5h5zm-1-9h-3v2h3z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ri-moon-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M10 7a7 7 0 0 0 12 4.9v.1c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2h.1A6.98 6.98 0 0 0 10 7m-6 5a8 8 0 0 0 15.062 3.762A9 9 0 0 1 8.238 4.938A8 8 0 0 0 4 12'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ri-sun-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 18a6 6 0 1 1 0-12a6 6 0 0 1 0 12m0-2a4 4 0 1 0 0-8a4 4 0 0 0 0 8M11 1h2v3h-2zm0 19h2v3h-2zM3.515 4.929l1.414-1.414L7.05 5.636L5.636 7.05zM16.95 18.364l1.414-1.414l2.121 2.121l-1.414 1.414zm2.121-14.85l1.414 1.415l-2.121 2.121l-1.414-1.414zM5.636 16.95l1.414 1.414l-2.121 2.121l-1.414-1.414zM23 11v2h-3v-2zM4 11v2H1v-2z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ri\:apps-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M6.75 2.5A4.25 4.25 0 0 1 11 6.75V11H6.75a4.25 4.25 0 0 1 0-8.5m0 10.5H11v4.25A4.25 4.25 0 1 1 6.75 13m10.5-10.5a4.25 4.25 0 0 1 0 8.5H13V6.75a4.25 4.25 0 0 1 4.25-4.25M13 13h4.25A4.25 4.25 0 1 1 13 17.25z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ri\:computer-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M4 16h16V5H4zm9 2v2h4v2H7v-2h4v-2H2.992A1 1 0 0 1 2 16.992V4.008C2 3.451 2.455 3 2.992 3h18.016c.548 0 .992.449.992 1.007v12.985c0 .557-.455 1.008-.992 1.008z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ri\:delete-bin-3-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M20 7v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7H2V5h20v2zM6 7v13h12V7zm5 2h2v2h-2zm0 3h2v2h-2zm0 3h2v2h-2zM7 2h10v2H7z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ri\:earth-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2m4.004 10.878c-.345-.525-.594-.903-1.542-.753c-1.79.284-1.989.597-2.074 1.113l-.024.156l-.025.166c-.097.683-.094.941.22 1.27c1.265 1.328 2.023 2.285 2.253 2.845c.112.273.4 1.1.202 1.918a8.2 8.2 0 0 0 3.151-2.237c.11-.374.19-.84.19-1.404v-.105c0-.922 0-1.343-.652-1.716a7 7 0 0 0-.645-.325c-.367-.167-.61-.276-.938-.756q-.06-.085-.116-.172M12 3.833c-2.317 0-4.41.966-5.896 2.516c.177.123.331.296.437.534c.204.457.204.928.204 1.345c0 .328 0 .64.105.865c.144.308.766.44 1.315.554c.197.042.399.084.583.135c.506.14.898.595 1.211.96c.13.151.323.374.42.43c.05-.036.211-.211.29-.498c.062-.22.044-.414-.045-.52c-.56-.66-.529-1.93-.356-2.399c.272-.739 1.122-.684 1.744-.644c.232.015.45.03.614.009c.622-.078.814-1.025.949-1.21c.292-.4 1.186-1.003 1.74-1.375A8.1 8.1 0 0 0 12 3.833'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ri\:file-copy-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7 6V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-3v3c0 .552-.45 1-1.007 1H4.007A1 1 0 0 1 3 21l.003-14c0-.552.45-1 1.006-1zM5.002 8L5 20h10V8zM9 6h8v10h2V4H9z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ri\:heading{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17 11V4h2v17h-2v-8H7v8H5V4h2v7z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ri\:information-2-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10m0-12.5a1.5 1.5 0 1 0 0-3a1.5 1.5 0 0 0 0 3m2 5.5h-1v-4.5h-3v2h1V15h-1v2h4z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ri\:refresh-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M5.463 4.433A9.96 9.96 0 0 1 12 2c5.523 0 10 4.477 10 10c0 2.136-.67 4.116-1.81 5.74L17 12h3A8 8 0 0 0 6.46 6.228zm13.074 15.134A9.96 9.96 0 0 1 12 22C6.477 22 2 17.523 2 12c0-2.136.67-4.116 1.81-5.74L7 12H4a8 8 0 0 0 13.54 5.772z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ri\:smartphone-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M7 4v16h10V4zM6 2h12a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1m6 15a1 1 0 1 1 0 2a1 1 0 0 1 0-2'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-svg-spinners\:bars-scale{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Crect width='2.8' height='12' x='1' y='6' fill='currentColor'%3E%3Canimate id='svgSpinnersBarsScale0' attributeName='y' begin='0;svgSpinnersBarsScale1.end-0.1s' calcMode='spline' dur='0.6s' keySplines='.36,.61,.3,.98;.36,.61,.3,.98' values='6;1;6'/%3E%3Canimate attributeName='height' begin='0;svgSpinnersBarsScale1.end-0.1s' calcMode='spline' dur='0.6s' keySplines='.36,.61,.3,.98;.36,.61,.3,.98' values='12;22;12'/%3E%3C/rect%3E%3Crect width='2.8' height='12' x='5.8' y='6' fill='currentColor'%3E%3Canimate attributeName='y' begin='svgSpinnersBarsScale0.begin+0.1s' calcMode='spline' dur='0.6s' keySplines='.36,.61,.3,.98;.36,.61,.3,.98' values='6;1;6'/%3E%3Canimate attributeName='height' begin='svgSpinnersBarsScale0.begin+0.1s' calcMode='spline' dur='0.6s' keySplines='.36,.61,.3,.98;.36,.61,.3,.98' values='12;22;12'/%3E%3C/rect%3E%3Crect width='2.8' height='12' x='10.6' y='6' fill='currentColor'%3E%3Canimate attributeName='y' begin='svgSpinnersBarsScale0.begin+0.2s' calcMode='spline' dur='0.6s' keySplines='.36,.61,.3,.98;.36,.61,.3,.98' values='6;1;6'/%3E%3Canimate attributeName='height' begin='svgSpinnersBarsScale0.begin+0.2s' calcMode='spline' dur='0.6s' keySplines='.36,.61,.3,.98;.36,.61,.3,.98' values='12;22;12'/%3E%3C/rect%3E%3Crect width='2.8' height='12' x='15.4' y='6' fill='currentColor'%3E%3Canimate attributeName='y' begin='svgSpinnersBarsScale0.begin+0.3s' calcMode='spline' dur='0.6s' keySplines='.36,.61,.3,.98;.36,.61,.3,.98' values='6;1;6'/%3E%3Canimate attributeName='height' begin='svgSpinnersBarsScale0.begin+0.3s' calcMode='spline' dur='0.6s' keySplines='.36,.61,.3,.98;.36,.61,.3,.98' values='12;22;12'/%3E%3C/rect%3E%3Crect width='2.8' height='12' x='20.2' y='6' fill='currentColor'%3E%3Canimate id='svgSpinnersBarsScale1' attributeName='y' begin='svgSpinnersBarsScale0.begin+0.4s' calcMode='spline' dur='0.6s' keySplines='.36,.61,.3,.98;.36,.61,.3,.98' values='6;1;6'/%3E%3Canimate attributeName='height' begin='svgSpinnersBarsScale0.begin+0.4s' calcMode='spline' dur='0.6s' keySplines='.36,.61,.3,.98;.36,.61,.3,.98' values='12;22;12'/%3E%3C/rect%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-svg-spinners\:pulse-2{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Ccircle cx='12' cy='12' r='0' fill='currentColor'%3E%3Canimate id='svgSpinnersPulse20' fill='freeze' attributeName='r' begin='0;svgSpinnersPulse21.begin+0.6s' calcMode='spline' dur='1.2s' keySplines='.52,.6,.25,.99' values='0;11'/%3E%3Canimate fill='freeze' attributeName='opacity' begin='0;svgSpinnersPulse21.begin+0.6s' calcMode='spline' dur='1.2s' keySplines='.52,.6,.25,.99' values='1;0'/%3E%3C/circle%3E%3Ccircle cx='12' cy='12' r='0' fill='currentColor'%3E%3Canimate id='svgSpinnersPulse21' fill='freeze' attributeName='r' begin='svgSpinnersPulse20.begin+0.6s' calcMode='spline' dur='1.2s' keySplines='.52,.6,.25,.99' values='0;11'/%3E%3Canimate fill='freeze' attributeName='opacity' begin='svgSpinnersPulse20.begin+0.6s' calcMode='spline' dur='1.2s' keySplines='.52,.6,.25,.99' values='1;0'/%3E%3C/circle%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-tdesign\:check-circle-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 23c6.075 0 11-4.925 11-11S18.075 1 12 1S1 5.925 1 12s4.925 11 11 11M7.5 10.586l3 3l6-6L17.914 9L10.5 16.414L6.086 12z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-tdesign\:code{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m.586 12l4.95-4.95L6.95 8.464L3.414 12l3.536 3.536l-1.414 1.414zm8.201 8.728l4.486-17.94l1.94.485l-4.485 17.94zm8.263-5.192L20.586 12L17.05 8.464l1.415-1.414l4.95 4.95l-4.95 4.95z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-tdesign\:time-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-flex' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 23C5.925 23 1 18.075 1 12S5.925 1 12 1s11 4.925 11 11s-4.925 11-11 11m1-17.5h-2v6.914l4 4L16.414 15L13 11.586z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;background-color:currentColor;width:1em;height:1em;display:inline-flex;-webkit-mask-size:100% 100%;mask-size:100% 100%}.container,[container=""]{width:100%}[\!container=""]{width:100%!important}.empty-container:empty,[before~=container]:before{width:100%}.flex-center{justify-content:center;align-items:center;display:flex}@media (min-width:640px){.container,[container=""]{max-width:640px}[\!container=""]{max-width:640px!important}.empty-container:empty,[before~=container]:before{max-width:640px}}@media (min-width:768px){.container,[container=""]{max-width:768px}[\!container=""]{max-width:768px!important}.empty-container:empty,[before~=container]:before{max-width:768px}}@media (min-width:1024px){.container,[container=""]{max-width:1024px}[\!container=""]{max-width:1024px!important}.empty-container:empty,[before~=container]:before{max-width:1024px}}@media (min-width:1280px){.container,[container=""]{max-width:1280px}[\!container=""]{max-width:1280px!important}.empty-container:empty,[before~=container]:before{max-width:1280px}}@media (min-width:1536px){.container,[container=""]{max-width:1536px}[\!container=""]{max-width:1536px!important}.empty-container:empty,[before~=container]:before{max-width:1536px}}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.right-16px{right:16px}.top-0px{top:0}[line-clamp~="1"]{-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}[line-clamp~="999"]{-webkit-line-clamp:999;line-clamp:999;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}[line-clamp~="9999"]{-webkit-line-clamp:9999;line-clamp:9999;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.grid{display:grid}.grid-cols-1,[cols~="1"]{grid-template-columns:repeat(1,minmax(0,1fr))}[cols~="12"]{grid-template-columns:repeat(12,minmax(0,1fr))}[cols~="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}[cols~="24"]{grid-template-columns:repeat(24,minmax(0,1fr))}[cols~="8"]{grid-template-columns:repeat(8,minmax(0,1fr))}[rows~="14"]{grid-template-rows:repeat(14,minmax(0,1fr))}[rows~="6"]{grid-template-rows:repeat(6,minmax(0,1fr))}[rows~="7"]{grid-template-rows:repeat(7,minmax(0,1fr))}[rows~="8"]{grid-template-rows:repeat(8,minmax(0,1fr))}.mx{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-12px{margin-bottom:12px}.mb-12px\!{margin-bottom:12px!important}.mb-15px{margin-bottom:15px}.mb-16px{margin-bottom:16px}.mb-2{margin-bottom:.5rem}.mb-2\.5{margin-bottom:.625rem}.mb-20px{margin-bottom:20px}.mb-24px{margin-bottom:24px}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-4px{margin-bottom:4px}.mb-5{margin-bottom:1.25rem}.mb-8{margin-bottom:2rem}.mb-8px{margin-bottom:8px}.mb-8px\!{margin-bottom:8px!important}.ml-10px{margin-left:10px}.ml-12px{margin-left:12px}.ml-16px{margin-left:16px}.ml-1px{margin-left:1px}.ml-2{margin-left:.5rem}.ml-20px{margin-left:20px}.ml-4px{margin-left:4px}.ml-6px{margin-left:6px}.ml-8px{margin-left:8px}.mr-1\.25{margin-right:.3125rem}.mr-10px{margin-right:10px}.mr-12px{margin-right:12px}.mr-16px{margin-right:16px}.mr-2{margin-right:.5rem}.mr-4px{margin-right:4px}.mr-5{margin-right:1.25rem}.mr-6px{margin-right:6px}.mt-1{margin-top:.25rem}.mt-12px{margin-top:12px}.mt-15px{margin-top:15px}.mt-16px{margin-top:16px}.mt-2{margin-top:.5rem}.mt-24px{margin-top:24px}.mt-4{margin-top:1rem}.mt-4px{margin-top:4px}.mt-5{margin-top:1.25rem}.mt-5px{margin-top:5px}.mt-6{margin-top:1.5rem}.mt-8px{margin-top:8px}.block,[block=""]{display:block}.inline-block{display:inline-block}.contents{display:contents}.hidden{display:none}[size~="12"]{width:3rem;height:3rem}[size~="15"]{width:3.75rem;height:3.75rem}[size~="16"]{width:4rem;height:4rem}[size~="20"]{width:5rem;height:5rem}[size~="30"]{width:7.5rem;height:7.5rem}.h-1{height:.25rem}.h-10{height:2.5rem}.h-100\%,.h-full{height:100%}.h-160px{height:160px}.h-16px{height:16px}.h-180px{height:180px}.h-3{height:.75rem}.h-32px{height:32px}.h-34px{height:34px}.h-4{height:1rem}.h-400px{height:400px}.h-5{height:1.25rem}.h-560px{height:560px}.h-580px{height:580px}.h-6\.5{height:1.625rem}.h-600px{height:600px}.max-h-600px{max-height:600px}.max-w-160px{max-width:160px}.max-w-320px\!{max-width:320px!important}.max-w-4xl{max-width:56rem}.max-w-full{max-width:100%}.min-h-180px{min-height:180px}.min-h-300px{min-height:300px}.min-w-0{min-width:0}.w-0{width:0}.w-100{width:25rem}.w-100\%,.w-full{width:100%}.w-100px{width:100px}.w-110{width:27.5rem}.w-1200px{width:1200px}.w-120px{width:120px}.w-130px{width:130px}.w-140px{width:140px}.w-150{width:37.5rem}.w-16px{width:16px}.w-180{width:45rem}.w-180px{width:180px}.w-200px{width:200px}.w-220px{width:220px}.w-240px{width:240px}.w-260px{width:260px}.w-3{width:.75rem}.w-32px{width:32px}.w-34px{width:34px}.w-4{width:1rem}.w-40px{width:40px}.w-420px{width:420px}.w-5{width:1.25rem}.w-50px{width:50px}.w-6\.5{width:1.625rem}.w-60px{width:60px}.w-80\%{width:80%}.w-80px{width:80px}.w-92px{width:92px}.w-94\%{width:94%}.w-96\%{width:96%}.w-auto{width:auto}.flex{display:flex}.inline-flex{display:inline-flex}.flex-1{flex:1}.flex-shrink{flex-shrink:1}.flex-basis-30px{flex-basis:30px}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.table,[table=""]{display:table}[scale~="0.85"]{--un-scale-x:.0085;--un-scale-y:.0085;transform:translateX(var(--un-translate-x))translateY(var(--un-translate-y))translateZ(var(--un-translate-z))rotate(var(--un-rotate))rotateX(var(--un-rotate-x))rotateY(var(--un-rotate-y))rotateZ(var(--un-rotate-z))skewX(var(--un-skew-x))skewY(var(--un-skew-y))scaleX(var(--un-scale-x))scaleY(var(--un-scale-y))scaleZ(var(--un-scale-z))}.transform{transform:translateX(var(--un-translate-x))translateY(var(--un-translate-y))translateZ(var(--un-translate-z))rotate(var(--un-rotate))rotateX(var(--un-rotate-x))rotateY(var(--un-rotate-y))rotateZ(var(--un-rotate-z))skewX(var(--un-skew-x))skewY(var(--un-skew-y))scaleX(var(--un-scale-x))scaleY(var(--un-scale-y))scaleZ(var(--un-scale-z))}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.animate-pulse{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse}.cursor-pointer{cursor:pointer}.cursor-grab{cursor:grab}.resize,[resize=""]{resize:both}.list-disc{list-style-type:disc}.list-outside{list-style-position:outside}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1\.25{gap:.3125rem}.gap-10px{gap:10px}.gap-12px{gap:12px}.gap-15px{gap:15px}.gap-16px{gap:16px}.gap-2\.5{gap:.625rem}.gap-20px{gap:20px}.gap-4{gap:1rem}.gap-4px{gap:4px}.gap-5{gap:1.25rem}.gap-8px{gap:8px}.space-y-8>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-top:calc(2rem*calc(1 - var(--un-space-y-reverse)));margin-bottom:calc(2rem*var(--un-space-y-reverse))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.break-all{word-break:break-all}.break-all\!{word-break:break-all!important}.border,[b=""]{border-width:1px}.rounded-8px{border-radius:8px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.bg-error{background-color:var(--color-error-1)}.bg-gray-200{--un-bg-opacity:1;background-color:rgb(229 231 235/var(--un-bg-opacity))}.bg-gray-300{--un-bg-opacity:1;background-color:rgb(209 213 219/var(--un-bg-opacity))}.bg-gray-900{--un-bg-opacity:1;background-color:rgb(17 24 39/var(--un-bg-opacity))}.bg-primary{background-color:var(--color-primary-1)}.bg-transparent{background-color:#0000}.bg-warning{background-color:var(--color-warning-1)}.object-contain{object-fit:contain}.p-16px{padding:16px}.p-20px{padding:20px}.p-24px{padding:24px}.p-4{padding:1rem}.px,.px-4{padding-left:1rem;padding-right:1rem}.px-16px{padding-left:16px;padding-right:16px}.py-16px{padding-top:16px;padding-bottom:16px}.py-8{padding-top:2rem;padding-bottom:2rem}.py-8px{padding-top:8px;padding-bottom:8px}.pb-100px{padding-bottom:100px}.pb-10px{padding-bottom:10px}.pr-48px{padding-right:48px}.pt-12px{padding-top:12px}.pt-16px{padding-top:16px}.pt-20px{padding-top:20px}.pt-6px{padding-top:6px}.pt-8px{padding-top:8px}.text-center{text-align:center}[root-indent~="24"]:root{text-indent:6rem}.text-10px{font-size:10px}.text-12px{font-size:12px}.text-13px{font-size:13px}.text-14px{font-size:14px}.text-15{font-size:3.75rem}.text-15px{font-size:15px}.text-16px{font-size:16px}.text-17px{font-size:17px}.text-18px{font-size:18px}.text-18px\!{font-size:18px!important}.text-20px{font-size:20px}.text-28px{font-size:28px}.text-4{font-size:1rem}.text-5{font-size:1.25rem}.text-5\.5{font-size:1.375rem}.text-6{font-size:1.5rem}.text-7{font-size:1.75rem}.text-8{font-size:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-\[\#777\]{--un-text-opacity:1;color:rgb(119 119 119/var(--un-text-opacity))}.text-\[\#999\]{--un-text-opacity:1;color:rgb(153 153 153/var(--un-text-opacity))}.text-\[var\(--color-primary-1\)\],.text-primary{color:var(--color-primary-1)}.text-\[var\(--color-primary-hover-1\)\]{color:var(--color-primary-hover-1)}.text-\[var\(--color-text-3\)\],.text-desc{color:var(--color-text-3)}.text-\#333{--un-text-opacity:1;color:rgb(51 51 51/var(--un-text-opacity))}.text-\#fff{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}.text-basic{color:var(--color-text-1)}.text-default{color:var(--color-text-2)}.text-error{color:var(--color-error-1)}.text-gray-100{--un-text-opacity:1;color:rgb(243 244 246/var(--un-text-opacity))}.text-gray-400{--un-text-opacity:1;color:rgb(156 163 175/var(--un-text-opacity))}.text-gray-500{--un-text-opacity:1;color:rgb(107 114 128/var(--un-text-opacity))}[text~="$t("]{color:var(--t\()}.hover-text-\[var\(--color-primary-hover-1\)\]:hover{color:var(--color-primary-hover-1)}.hover\:text-red-5:hover{--un-text-opacity:1;color:rgb(239 68 68/var(--un-text-opacity))}.font-600{font-weight:600}.font-bold,.fw-bold{font-weight:700}.font-medium{font-weight:500}.font-normal\!{font-weight:400!important}.leading-14px{line-height:14px}.leading-20px{line-height:20px}.leading-22px{line-height:22px}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.italic{font-style:italic}.underline{text-decoration-line:underline}.tab{-moz-tab-size:4;tab-size:4}[tab~="$t("]{-moz-tab-size:var(--t\();-o-tab-size:var(--t\();tab-size:var(--t\()}.shadow{--un-shadow:var(--un-shadow-inset)0 1px 3px 0 var(--un-shadow-color,#0000001a),var(--un-shadow-inset)0 1px 2px -1px var(--un-shadow-color,#0000001a);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-sm{--un-shadow:var(--un-shadow-inset)0 1px 2px 0 var(--un-shadow-color,#0000000d);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.blur{--un-blur:blur(8px);filter:var(--un-blur)var(--un-brightness)var(--un-contrast)var(--un-drop-shadow)var(--un-grayscale)var(--un-hue-rotate)var(--un-invert)var(--un-saturate)var(--un-sepia)}[filter=""]{filter:var(--un-blur)var(--un-brightness)var(--un-contrast)var(--un-drop-shadow)var(--un-grayscale)var(--un-hue-rotate)var(--un-invert)var(--un-saturate)var(--un-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter,backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-property:all;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease,.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}[placeholder~="$t("]::placeholder{color:var(--t\()}@media (min-width:768px){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1024px){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}*,:before{box-sizing:border-box}html,body,#root{width:100%;height:100%}body{min-width:1100px;color:var(--color-text-1);margin:0;font-family:Open Sans,sans-serif;font-size:12px;line-height:1.2}input[type=password]::-ms-reveal{display:none}a{text-decoration:none}p,ul,pre{margin:0;padding:0}pre{white-space:pre-wrap;font-family:Menlo,Monaco,Consolas,Courier New,monospace}iframe{border:none;outline:none}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title{margin-bottom:20px;font-size:18px;font-weight:700}:root{--color-primary-1:#20a53a;--color-primary-2:#e9f6eb;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#f0ad4e;--color-error-1:#ef0808;--color-bg-1:#fff;--color-bg-2:#f4f7fa;--color-bg-3:linear-gradient(135deg,#f0f3ff 0%,#e5f8f7 100%);--color-bg-4:#e5e7eb;--color-text-1:#333;--color-text-2:#666;--color-text-3:#999;--color-text-4:#5b6b79;--color-text-5:#20a53a;--color-border-1:#e5e7eb;--color-border-2:#d3d4d3;--color-menu-1:#374151;--color-menu-active-1:#20a53a1a;--color-menu-active-2:var(--color-primary-1);--color-card-text-1:#1d2630;--color-radio-1:#e8e8e8;--color-radio-2:#fff;--color-button-text-1:#fff;--color-table-th-1:#fafafc;--color-table-td-1:#fff;--color-command:#101010}:root[theme-mode=dark]{--color-primary-1:#4caf50;--color-primary-2:#1d3b23;--color-primary-3:#90dda2;--color-primary-hover-1:#20a53a;--color-warning-1:#cd8717;--color-error-1:#b23030;--color-bg-1:#242424;--color-bg-2:#181818;--color-bg-3:#181818;--color-bg-4:#2d2f33;--color-text-1:#fff;--color-text-2:#ffffff8c;--color-text-3:#ffffff59;--color-text-4:#6f747f;--color-text-5:#fff;--color-border-1:#393939;--color-border-2:#393939;--color-menu-1:#d1d5db;--color-menu-active-1:var(--color-primary-1);--color-menu-active-2:var(--color-text-1);--color-card-text-1:#fff;--color-radio-1:#303030;--color-radio-2:#5e5e5e;--color-button-text-1:#fff;--color-table-th-1:#2c2c2c;--color-table-td-1:#242424;--color-command:#101010}div.n-card{box-shadow:0 1px 20px #455a6414}button.n-button{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input{font-family:v-sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.n-spin-container .n-spin-content{height:100%}.n-radio-group .n-radio-group__splitor{display:none}.n-radio-group.n-radio-group--button-group{background-color:var(--n-button-color);border-radius:4px;padding:2px;transition:all .3s}.n-radio-group.n-radio-group--button-group .n-radio-button{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio{margin-left:16px}\ No newline at end of filediff --git a/core/public/dist/static/js/async/1430.3127dab0.js b/core/public/dist/static/js/async/1430.3127dab0.jsdeleted file mode 100644index 8f65f412..00000000--- a/core/public/dist/static/js/async/1430.3127dab0.js+++ /dev/null@@ -1,48 +0,0 @@-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["1430"],{65977:function(e,o,l){l.d(o,{Z:()=>n});var t=l(58786);let n=(0,t.aZ)({name:"Add",render:()=>(0,t.h)("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.h)("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))})},60309:function(e,o,l){l.d(o,{L:()=>t});function t(e,o){if(!e)return;let l=document.createElement("a");l.href=e,void 0!==o&&(l.download=o),document.body.appendChild(l),l.click(),document.body.removeChild(l)}},99321:function(e,o,l){l.d(o,{Z:()=>z});var t=l(65083),n=l(58786),r=l(77565),a=l(1183),i=l(96823),s=l(87075),c=l(52317),d=l(64812),u=l(62198),v=l(56946),m=l(54470),f=l(53198),p=l(51048),h=l(71309),g=l(93950),b=l(19595),w=l(9798),C=l(18877);let _={name:"Alert",common:w.Z,self:function(e){let{lineHeight:o,borderRadius:l,fontWeightStrong:t,baseColor:n,dividerColor:r,actionColor:a,textColor1:i,textColor2:s,closeColorHover:c,closeColorPressed:d,closeIconColor:u,closeIconColorHover:v,closeIconColorPressed:m,infoColor:f,successColor:p,warningColor:h,errorColor:g,fontSize:w}=e;return Object.assign(Object.assign({},C.Z),{fontSize:w,lineHeight:o,titleFontWeight:t,borderRadius:l,border:`1px solid ${r}`,color:a,titleTextColor:i,iconColor:s,contentTextColor:s,closeBorderRadius:l,closeColorHover:c,closeColorPressed:d,closeIconColor:u,closeIconColorHover:v,closeIconColorPressed:m,borderInfo:`1px solid ${(0,b.h$)(n,(0,b.zX)(f,{alpha:.25}))}`,colorInfo:(0,b.h$)(n,(0,b.zX)(f,{alpha:.08})),titleTextColorInfo:i,iconColorInfo:f,contentTextColorInfo:s,closeColorHoverInfo:c,closeColorPressedInfo:d,closeIconColorInfo:u,closeIconColorHoverInfo:v,closeIconColorPressedInfo:m,borderSuccess:`1px solid ${(0,b.h$)(n,(0,b.zX)(p,{alpha:.25}))}`,colorSuccess:(0,b.h$)(n,(0,b.zX)(p,{alpha:.08})),titleTextColorSuccess:i,iconColorSuccess:p,contentTextColorSuccess:s,closeColorHoverSuccess:c,closeColorPressedSuccess:d,closeIconColorSuccess:u,closeIconColorHoverSuccess:v,closeIconColorPressedSuccess:m,borderWarning:`1px solid ${(0,b.h$)(n,(0,b.zX)(h,{alpha:.33}))}`,colorWarning:(0,b.h$)(n,(0,b.zX)(h,{alpha:.08})),titleTextColorWarning:i,iconColorWarning:h,contentTextColorWarning:s,closeColorHoverWarning:c,closeColorPressedWarning:d,closeIconColorWarning:u,closeIconColorHoverWarning:v,closeIconColorPressedWarning:m,borderError:`1px solid ${(0,b.h$)(n,(0,b.zX)(g,{alpha:.25}))}`,colorError:(0,b.h$)(n,(0,b.zX)(g,{alpha:.08})),titleTextColorError:i,iconColorError:g,contentTextColorError:s,closeColorHoverError:c,closeColorPressedError:d,closeIconColorError:u,closeIconColorHoverError:v,closeIconColorPressedError:m})}};var x=l(74482);let y=(0,h.cB)("alert",`- line-height: var(--n-line-height);- border-radius: var(--n-border-radius);- position: relative;- transition: background-color .3s var(--n-bezier);- background-color: var(--n-color);- text-align: start;- word-break: break-word;-`,[(0,h.cE)("border",`- border-radius: inherit;- position: absolute;- left: 0;- right: 0;- top: 0;- bottom: 0;- transition: border-color .3s var(--n-bezier);- border: var(--n-border);- pointer-events: none;- `),(0,h.cM)("closable",[(0,h.cB)("alert-body",[(0,h.cE)("title",`- padding-right: 24px;- `)])]),(0,h.cE)("icon",{color:"var(--n-icon-color)"}),(0,h.cB)("alert-body",{padding:"var(--n-padding)"},[(0,h.cE)("title",{color:"var(--n-title-text-color)"}),(0,h.cE)("content",{color:"var(--n-content-text-color)"})]),(0,x.Y)({originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.9)"}}),(0,h.cE)("icon",`- position: absolute;- left: 0;- top: 0;- align-items: center;- justify-content: center;- display: flex;- width: var(--n-icon-size);- height: var(--n-icon-size);- font-size: var(--n-icon-size);- margin: var(--n-icon-margin);- `),(0,h.cE)("close",`- transition:- color .3s var(--n-bezier),- background-color .3s var(--n-bezier);- position: absolute;- right: 0;- top: 0;- margin: var(--n-close-margin);- `),(0,h.cM)("show-icon",[(0,h.cB)("alert-body",{paddingLeft:"calc(var(--n-icon-margin-left) + var(--n-icon-size) + var(--n-icon-margin-right))"})]),(0,h.cM)("right-adjust",[(0,h.cB)("alert-body",{paddingRight:"calc(var(--n-close-size) + var(--n-padding) + 2px)"})]),(0,h.cB)("alert-body",`- border-radius: var(--n-border-radius);- transition: border-color .3s var(--n-bezier);- `,[(0,h.cE)("title",`- transition: color .3s var(--n-bezier);- font-size: 16px;- line-height: 19px;- font-weight: var(--n-title-font-weight);- `,[(0,h.c)("& +",[(0,h.cE)("content",{marginTop:"9px"})])]),(0,h.cE)("content",{transition:"color .3s var(--n-bezier)",fontSize:"var(--n-font-size)"})]),(0,h.cE)("icon",{transition:"color .3s var(--n-bezier)"})]),k=Object.assign(Object.assign({},v.Z.props),{title:String,showIcon:{type:Boolean,default:!0},type:{type:String,default:"default"},bordered:{type:Boolean,default:!0},closable:Boolean,onClose:Function,onAfterLeave:Function,onAfterHide:Function}),z=(0,n.aZ)({name:"Alert",inheritAttrs:!1,props:k,slots:Object,setup(e){let{mergedClsPrefixRef:o,mergedBorderedRef:l,inlineThemeDisabled:r,mergedRtlRef:a}=(0,m.ZP)(e),i=(0,v.Z)("Alert","-alert",y,_,e,o),s=(0,p.V)("Alert",a,o),c=(0,n.Fl)(()=>{let{common:{cubicBezierEaseInOut:o},self:l}=i.value,{fontSize:n,borderRadius:r,titleFontWeight:a,lineHeight:s,iconSize:c,iconMargin:d,iconMarginRtl:u,closeIconSize:v,closeBorderRadius:m,closeSize:f,closeMargin:p,closeMarginRtl:g,padding:b}=l,{type:w}=e,{left:C,right:_}=(0,t.mH)(d);return{"--n-bezier":o,"--n-color":l[(0,h.Tl)("color",w)],"--n-close-icon-size":v,"--n-close-border-radius":m,"--n-close-color-hover":l[(0,h.Tl)("closeColorHover",w)],"--n-close-color-pressed":l[(0,h.Tl)("closeColorPressed",w)],"--n-close-icon-color":l[(0,h.Tl)("closeIconColor",w)],"--n-close-icon-color-hover":l[(0,h.Tl)("closeIconColorHover",w)],"--n-close-icon-color-pressed":l[(0,h.Tl)("closeIconColorPressed",w)],"--n-icon-color":l[(0,h.Tl)("iconColor",w)],"--n-border":l[(0,h.Tl)("border",w)],"--n-title-text-color":l[(0,h.Tl)("titleTextColor",w)],"--n-content-text-color":l[(0,h.Tl)("contentTextColor",w)],"--n-line-height":s,"--n-border-radius":r,"--n-font-size":n,"--n-title-font-weight":a,"--n-icon-size":c,"--n-icon-margin":d,"--n-icon-margin-rtl":u,"--n-close-size":f,"--n-close-margin":p,"--n-close-margin-rtl":g,"--n-padding":b,"--n-icon-margin-left":C,"--n-icon-margin-right":_}}),d=r?(0,f.F)("alert",(0,n.Fl)(()=>e.type[0]),c,e):void 0,u=(0,n.iH)(!0),g=()=>{let{onAfterLeave:o,onAfterHide:l}=e;o&&o(),l&&l()};return{rtlEnabled:s,mergedClsPrefix:o,mergedBordered:l,visible:u,handleCloseClick:()=>{var o;Promise.resolve(null==(o=e.onClose)?void 0:o.call(e)).then(e=>{!1!==e&&(u.value=!1)})},handleAfterLeave:()=>{g()},mergedTheme:i,cssVars:r?void 0:c,themeClass:null==d?void 0:d.themeClass,onRender:null==d?void 0:d.onRender}},render(){var e;return null==(e=this.onRender)||e.call(this),(0,n.h)(r.Z,{onAfterLeave:this.handleAfterLeave},{default:()=>{let{mergedClsPrefix:e,$slots:o}=this,l={class:[`${e}-alert`,this.themeClass,this.closable&&`${e}-alert--closable`,this.showIcon&&`${e}-alert--show-icon`,!this.title&&this.closable&&`${e}-alert--right-adjust`,this.rtlEnabled&&`${e}-alert--rtl`],style:this.cssVars,role:"alert"};return this.visible?(0,n.h)("div",Object.assign({},(0,n.dG)(this.$attrs,l)),this.closable&&(0,n.h)(a.Z,{clsPrefix:e,class:`${e}-alert__close`,onClick:this.handleCloseClick}),this.bordered&&(0,n.h)("div",{class:`${e}-alert__border`}),this.showIcon&&(0,n.h)("div",{class:`${e}-alert__icon`,"aria-hidden":"true"},(0,g.gI)(o.icon,()=>[(0,n.h)(i.Z,{clsPrefix:e},{default:()=>{switch(this.type){case"success":return(0,n.h)(s.Z,null);case"info":return(0,n.h)(c.Z,null);case"warning":return(0,n.h)(d.Z,null);case"error":return(0,n.h)(u.Z,null);default:return null}}})])),(0,n.h)("div",{class:[`${e}-alert-body`,this.mergedBordered&&`${e}-alert-body--bordered`]},(0,g.K9)(o.header,o=>{let l=o||this.title;return l?(0,n.h)("div",{class:`${e}-alert-body__title`},l):null}),o.default&&(0,n.h)("div",{class:`${e}-alert-body__content`},o))):null}})}})},50144:function(e,o,l){l.d(o,{Z:()=>c});var t=l(58786),n=l(56946),r=l(54470),a=l(49942),i=l(44108);let s=Object.assign(Object.assign({},a.Kd),n.Z.props),c=(0,t.aZ)({name:"Tooltip",props:s,slots:Object,__popover__:!0,setup(e){let{mergedClsPrefixRef:o}=(0,r.ZP)(e),l=(0,n.Z)("Tooltip","-tooltip",void 0,i.Z,e,o),a=(0,t.iH)(null);return Object.assign(Object.assign({},{syncPosition(){a.value.syncPosition()},setShow(e){a.value.setShow(e)}}),{popoverRef:a,mergedTheme:l,popoverThemeOverrides:(0,t.Fl)(()=>l.value.self)})},render(){let{mergedTheme:e,internalExtraClass:o}=this;return(0,t.h)(a.ZP,Object.assign(Object.assign({},this.$props),{theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:o.concat("tooltip"),ref:"popoverRef"}),this.$slots)}})},88583:function(e,o,l){l.d(o,{Z:()=>r});var t=l(58786);let n={class:"bt-tips flex flex-col gap-4px list-outside list-disc leading-20px text-[#777]"},r=(0,l(41748).default)({},[["render",function(e,o){return(0,t.wg)(),(0,t.iD)("ul",n,[(0,t.WI)(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-8731a1b4"]])},1418:function(e,o,l){l.d(o,{Z:()=>m});var t=l(5057),n=l(57869),r=l(58786),a=l(99778),i=l(31708),s=l(34541),c=l(68271),d=l(52495);let u={class:"flex justify-start gap-2.5 bg-transparent items-center"},v={class:"flex items-center text-4"},m=(0,r.aZ)({__name:"WaitAndCheckDomainStatus",setup(e,o){let{expose:l}=o,{t:m}=(0,d.QT)(),f=(0,r.iH)(!1),p=(0,i.s6)(),h=(0,r.iH)();function g(){f.value=!1}function b(e,o){let l=setInterval(async()=>{await w(e)&&(c.v0.success(m("domain.waitAndCheckDomainStatus.success")),o&&o(),g(),clearInterval(l),h.value.open())},1e3)}async function w(e){try{if((await s.e.post("/askai/project/get_base_info",{domain:e})).update_time)return!0;return!1}catch(e){return console.warn(e),c.v0.error(m("domain.waitAndCheckDomainStatus.error")),!1}}return l({open:function(e,o){b(e,o),p.domainSource=e,f.value=!0},close:g,checkStatus:b}),(e,o)=>{let l=n.ZP,i=t.Z;return(0,r.wg)(),(0,r.iD)(r.HY,null,[(0,r.Wm)(i,{show:(0,r.SU)(f),"onUpdate:show":o[0]||(o[0]=e=>(0,r.dq)(f)?f.value=e:null),"close-on-esc":!1,"mask-closable":!1},{default:(0,r.w5)(()=>[(0,r.Wm)(l,{style:{width:"auto"}},{default:(0,r.w5)(()=>[(0,r._)("div",u,[o[1]||(o[1]=(0,r._)("i",{class:"i-svg-spinners:bars-scale text-[var(--color-primary-1)] text-6"},null,-1)),(0,r._)("span",v,(0,r.zw)(e.$t("domain.waitAndCheckDomainStatus.loading")),1)])]),_:1})]),_:1},8,["show"]),(0,r.Wm)(a.Z,{ref_key:"createTplModal",ref:h,"only-ai":!0},null,512)],64)}}})},14531:function(e,o,l){l.r(o),l.d(o,{default:()=>q});var t=l(88583),n=l(99321),r=l(15496),a=l(29875),i=l(57869),s=l(98048),c=l(29283),d=l(8490),u=l(6455),v=l(73084),m=l(58786),f=l(1418),p=l(39432),h=l(54686),g=l(42205),b=l(65965);let w={class:"content-wrapper"},C={class:"page-tit mb-5"},_={class:"left-tit"},x={class:"tit-content"},y={class:"form-label"},k={class:"form-label"},z={class:"flex justify-between gap-5 items-center w-100%"},$={class:"form-label"},S={class:"form-label"},Z={class:"page-tit mb-5"},I={class:"left-tit"},U={class:"tit-content"},T={class:"right-tit"},W={class:"w-100% flex flex-col gap-2.5"},P=["onClick"],j={class:"fw-bold text-4 mb-5 text-[#777] flex justify-between items-center"},B={class:"w-100% flex justify-between items-center"},E={class:"mr-5"},H={class:"text-[#777]"},A={class:"w-100% flex flex-col gap-2.5"},O=["onClick"],D=(0,m.aZ)({__name:"DomainConfiguration",setup(e){let o=(0,b.tv)(),l=(0,m.iH)(!1),{domainTit:D,quota:q,unit:L,mailboxes:M,catch_email:R,urls:X,brandInfo:F,createdBrandInfo:K,waitAndCheckDomainStatusRef:V}=(0,g.J)(),Y=(0,b.yj)().params.domain,G=(0,m.iH)([{label:"B",value:"B"},{label:"KB",value:"KB"},{label:"MB",value:"MB"},{label:"GB",value:"GB"},{label:"TB",value:"TB"}]);function Q(){o.push({name:"AiModel"})}return(0,h.lQ)(Y),async function(){let e=await (0,p.Lb)();e&&(l.value=e.is_configured)}(),(e,o)=>{let p=v.Z,g=u.ZP,b=d.Z,Y=c.Z,J=s.Z,N=i.ZP,ee=a.Z,eo=r.ZP,el=n.Z,et=t.Z;return(0,m.wg)(),(0,m.iD)(m.HY,null,[(0,m._)("div",w,[(0,m._)("div",null,[(0,m.Wm)(N,null,{default:(0,m.w5)(()=>[(0,m._)("div",C,[(0,m._)("div",_,[o[6]||(o[6]=(0,m._)("div",{class:"back-tool"},[(0,m._)("i",{class:"i-cuida:mail-outline text-7"})],-1)),(0,m._)("span",x,(0,m.zw)(e.$t("domain.edit.domainConfiguration.title")),1)])]),(0,m.Wm)(J,null,{default:(0,m.w5)(()=>[(0,m.Wm)(g,null,{label:(0,m.w5)(()=>[(0,m._)("span",y,(0,m.zw)(e.$t("domain.edit.domainConfiguration.domain")),1)]),default:(0,m.w5)(()=>[(0,m.Wm)(p,{value:(0,m.SU)(D),"onUpdate:value":o[0]||(o[0]=e=>(0,m.dq)(D)?D.value=e:null),disabled:!0,onInput:(0,m.SU)(h.L7)},null,8,["value","onInput"])]),_:1}),(0,m.Wm)(g,{label:""},{label:(0,m.w5)(()=>[(0,m._)("span",k,(0,m.zw)(e.$t("domain.edit.domainConfiguration.domainQuota")),1)]),default:(0,m.w5)(()=>[(0,m._)("div",z,[(0,m.Wm)(p,{value:(0,m.SU)(q),"onUpdate:value":o[1]||(o[1]=e=>(0,m.dq)(q)?q.value=e:null)},null,8,["value"]),(0,m.Wm)(b,{value:(0,m.SU)(L),"onUpdate:value":o[2]||(o[2]=e=>(0,m.dq)(L)?L.value=e:null),options:(0,m.SU)(G),class:"w-20"},null,8,["value","options"])])]),_:1}),(0,m.Wm)(g,null,{label:(0,m.w5)(()=>[(0,m._)("span",$,(0,m.zw)(e.$t("domain.edit.domainConfiguration.mailboxCount")),1)]),default:(0,m.w5)(()=>[(0,m.Wm)(Y,{value:(0,m.SU)(M),"onUpdate:value":o[3]||(o[3]=e=>(0,m.dq)(M)?M.value=e:null),"show-button":!1},null,8,["value"])]),_:1}),(0,m.Wm)(g,null,{label:(0,m.w5)(()=>[(0,m._)("span",S,(0,m.zw)(e.$t("domain.edit.domainConfiguration.catchAll")),1)]),default:(0,m.w5)(()=>[(0,m.Wm)(p,{value:(0,m.SU)(R),"onUpdate:value":o[4]||(o[4]=e=>(0,m.dq)(R)?R.value=e:null)},null,8,["value"])]),_:1})]),_:1})]),_:1}),(0,m.SU)(K)?((0,m.wg)(),(0,m.j4)(N,{key:0,class:"mt-5"},{default:(0,m.w5)(()=>[(0,m._)("div",Z,[(0,m._)("div",I,[o[7]||(o[7]=(0,m._)("div",{class:"back-tool"},[(0,m._)("i",{class:"i-cuida:mail-outline text-7"})],-1)),(0,m._)("span",U,(0,m.zw)(e.$t("domain.edit.domainConfiguration.brandInfo")),1)]),(0,m._)("div",T,[(0,m.Wm)(ee,{value:(0,m.SU)(F),"onUpdate:value":[o[5]||(o[5]=e=>(0,m.dq)(F)?F.value=e:null),(0,m.SU)(h.Vq)]},null,8,["value","onUpdate:value"])])]),(0,m._)("div",W,[((0,m.wg)(!0),(0,m.iD)(m.HY,null,(0,m.Ko)((0,m.SU)(X),(t,n)=>((0,m.wg)(),(0,m.iD)("div",{key:n,class:"flex justify-start items-center gap-2.5"},[(0,m.Wm)(p,{value:(0,m.SU)(X)[n],"onUpdate:value":e=>(0,m.SU)(X)[n]=e,placeholder:e.$t("domain.form.urlsPlacement"),disabled:!(0,m.SU)(l),readonly:""},null,8,["value","onUpdate:value","placeholder","disabled"]),0!=n?((0,m.wg)(),(0,m.iD)("div",{key:0,class:"close",onClick:e=>(0,m.SU)(h.Rw)(n)},o[8]||(o[8]=[(0,m._)("i",{class:"i-material-symbols:close-rounded text-5"},null,-1)]),8,P)):(0,m.kq)("",!0)]))),128))])]),_:1})):((0,m.wg)(),(0,m.j4)(N,{key:1,class:"mt-5"},{default:(0,m.w5)(()=>[(0,m._)("div",j,[(0,m._)("span",null,(0,m.zw)(e.$t("domain.edit.domainConfiguration.noBrandInfo")),1)]),(0,m.SU)(l)?(0,m.kq)("",!0):((0,m.wg)(),(0,m.j4)(el,{key:0,type:"warning",class:"mb-15px","show-icon":!1},{default:(0,m.w5)(()=>[(0,m._)("div",B,[(0,m._)("span",E,(0,m.zw)(e.$t("domain.edit.domainConfiguration.aiIntegrationWarning")),1),(0,m.Wm)(eo,{ghost:"",type:"primary",onClick:Q},{default:(0,m.w5)(()=>[(0,m.Uk)((0,m.zw)(e.$t("domain.edit.domainConfiguration.integrateImmediately")),1)]),_:1})])]),_:1})),(0,m._)("div",H,(0,m.zw)(e.$t("domain.edit.domainConfiguration.aiDescription")),1),(0,m.Wm)(et,{style:{"margin-bottom":"15px"}},{default:(0,m.w5)(()=>[(0,m._)("li",null,(0,m.zw)(e.$t("domain.edit.domainConfiguration.features.extractBrand")),1),(0,m._)("li",null,(0,m.zw)(e.$t("domain.edit.domainConfiguration.features.analyzeStructure")),1),(0,m._)("li",null,(0,m.zw)(e.$t("domain.edit.domainConfiguration.features.importContent")),1),(0,m._)("li",null,(0,m.zw)(e.$t("domain.edit.domainConfiguration.features.customLogo")),1)]),_:1}),(0,m.Wm)(g,{label:e.$t("domain.edit.domainConfiguration.specifyDomain")},{default:(0,m.w5)(()=>[(0,m._)("div",A,[((0,m.wg)(!0),(0,m.iD)(m.HY,null,(0,m.Ko)((0,m.SU)(X),(t,n)=>((0,m.wg)(),(0,m.iD)("div",{key:n,class:"flex justify-start items-center gap-2.5"},[(0,m.Wm)(p,{value:(0,m.SU)(X)[n],"onUpdate:value":e=>(0,m.SU)(X)[n]=e,placeholder:e.$t("domain.form.urlsPlacement"),disabled:!(0,m.SU)(l)},null,8,["value","onUpdate:value","placeholder","disabled"]),0!=n?((0,m.wg)(),(0,m.iD)("div",{key:0,class:"close",onClick:e=>(0,m.SU)(h.Rw)(n)},o[9]||(o[9]=[(0,m._)("i",{class:"i-material-symbols:close-rounded text-5"},null,-1)]),8,O)):(0,m.kq)("",!0)]))),128))])]),_:1},8,["label"]),(0,m.Wm)(eo,{type:"primary",onClick:(0,m.SU)(h.Xe)},{default:(0,m.w5)(()=>[(0,m.Uk)((0,m.zw)(e.$t("domain.edit.domainConfiguration.createNow")),1)]),_:1},8,["onClick"])]),_:1})),(0,m.Wm)(eo,{type:"primary",class:"w-100% mt-5",onClick:(0,m.SU)(h.gK)},{icon:(0,m.w5)(()=>o[10]||(o[10]=[(0,m._)("i",{class:"i-mingcute:save-2-line text-5"},null,-1)])),default:(0,m.w5)(()=>[(0,m.Uk)(" "+(0,m.zw)(e.$t("domain.edit.save")),1)]),_:1},8,["onClick"])])]),(0,m.Wm)(f.Z,{ref_key:"waitAndCheckDomainStatusRef",ref:V},null,512)],64)}}}),q=(0,l(41748).default)(D,[["__scopeId","data-v-6ab5f7fe"]])}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/1799.82bcc179.js b/core/public/dist/static/js/async/1799.82bcc179.jsnew file mode 100644index 00000000..8a6eb232--- /dev/null+++ b/core/public/dist/static/js/async/1799.82bcc179.js@@ -0,0 +1,157 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["1799"],{93953:function(t,e,r){r.d(e,{Z:()=>p});var o=r(65083),i=r(58786),a=r(56946),n=r(54470),l=r(51048),d=r(71309),c=r(60951),s=r(6445),u=r(73238);let h={name:"Flex",self:function(){return u.Z}},b=Object.assign(Object.assign({},a.Z.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrap:{type:Boolean,default:!0}}),p=(0,i.aZ)({name:"Flex",props:b,setup(t){let{mergedClsPrefixRef:e,mergedRtlRef:r}=(0,n.ZP)(t),c=(0,a.Z)("Flex","-flex",void 0,h,t,e);return{rtlEnabled:(0,l.V)("Flex",r,e),mergedClsPrefix:e,margin:(0,i.Fl)(()=>{let{size:e}=t;if(Array.isArray(e))return{horizontal:e[0],vertical:e[1]};if("number"==typeof e)return{horizontal:e,vertical:e};let{self:{[(0,d.Tl)("gap",e)]:r}}=c.value,{row:i,col:a}=(0,o.yU)(r);return{horizontal:(0,o.fQ)(a),vertical:(0,o.fQ)(i)}})}},render(){let{vertical:t,reverse:e,align:r,inline:o,justify:a,margin:n,wrap:l,mergedClsPrefix:d,rtlEnabled:u}=this,h=(0,c.x)((0,s.z)(this),!1);return h.length?(0,i.h)("div",{role:"none",class:[`${d}-flex`,u&&`${d}-flex--rtl`],style:{display:o?"inline-flex":"flex",flexDirection:t&&!e?"column":t&&e?"column-reverse":!t&&e?"row-reverse":"row",justifyContent:a,flexWrap:!l||t?"nowrap":"wrap",alignItems:r,gap:`${n.vertical}px ${n.horizontal}px`}},h):null}})},79537:function(t,e,r){r.d(e,{Z:()=>d});var o=r(58786),i=r(54470),a=r(27046),n=r(71309);let l=(0,n.cB)("input-group",`+ display: inline-flex;+ width: 100%;+ flex-wrap: nowrap;+ vertical-align: bottom;+`,[(0,n.c)(">",[(0,n.cB)("input",[(0,n.c)("&:not(:last-child)",`+ border-top-right-radius: 0!important;+ border-bottom-right-radius: 0!important;+ `),(0,n.c)("&:not(:first-child)",`+ border-top-left-radius: 0!important;+ border-bottom-left-radius: 0!important;+ margin-left: -1px!important;+ `)]),(0,n.cB)("button",[(0,n.c)("&:not(:last-child)",`+ border-top-right-radius: 0!important;+ border-bottom-right-radius: 0!important;+ `,[(0,n.cE)("state-border, border",`+ border-top-right-radius: 0!important;+ border-bottom-right-radius: 0!important;+ `)]),(0,n.c)("&:not(:first-child)",`+ border-top-left-radius: 0!important;+ border-bottom-left-radius: 0!important;+ `,[(0,n.cE)("state-border, border",`+ border-top-left-radius: 0!important;+ border-bottom-left-radius: 0!important;+ `)])]),(0,n.c)("*",[(0,n.c)("&:not(:last-child)",`+ border-top-right-radius: 0!important;+ border-bottom-right-radius: 0!important;+ `,[(0,n.c)(">",[(0,n.cB)("input",`+ border-top-right-radius: 0!important;+ border-bottom-right-radius: 0!important;+ `),(0,n.cB)("base-selection",[(0,n.cB)("base-selection-label",`+ border-top-right-radius: 0!important;+ border-bottom-right-radius: 0!important;+ `),(0,n.cB)("base-selection-tags",`+ border-top-right-radius: 0!important;+ border-bottom-right-radius: 0!important;+ `),(0,n.cE)("box-shadow, border, state-border",`+ border-top-right-radius: 0!important;+ border-bottom-right-radius: 0!important;+ `)])])]),(0,n.c)("&:not(:first-child)",`+ margin-left: -1px!important;+ border-top-left-radius: 0!important;+ border-bottom-left-radius: 0!important;+ `,[(0,n.c)(">",[(0,n.cB)("input",`+ border-top-left-radius: 0!important;+ border-bottom-left-radius: 0!important;+ `),(0,n.cB)("base-selection",[(0,n.cB)("base-selection-label",`+ border-top-left-radius: 0!important;+ border-bottom-left-radius: 0!important;+ `),(0,n.cB)("base-selection-tags",`+ border-top-left-radius: 0!important;+ border-bottom-left-radius: 0!important;+ `),(0,n.cE)("box-shadow, border, state-border",`+ border-top-left-radius: 0!important;+ border-bottom-left-radius: 0!important;+ `)])])])])])]),d=(0,o.aZ)({name:"InputGroup",props:{},setup(t){let{mergedClsPrefixRef:e}=(0,i.ZP)(t);return(0,a.Z)("-input-group",l,e),{mergedClsPrefix:e}},render(){let{mergedClsPrefix:t}=this;return(0,o.h)("div",{class:`${t}-input-group`},this.$slots)}})},29875:function(t,e,r){let o;r.d(e,{Z:()=>B});var i=r(65083),a=r(20013),n=r(58786),l=r(76128),d=r(62594),c=r(56946),s=r(54470),u=r(32196),h=r(53198),b=r(44267),p=r(71309),f=r(93950),v=r(19595),g=r(9798),m=r(30951);let w={name:"Switch",common:g.Z,self:function(t){let{primaryColor:e,opacityDisabled:r,borderRadius:o,textColor3:i}=t;return Object.assign(Object.assign({},m.Z),{iconColor:i,textColor:"white",loadingColor:e,opacityDisabled:r,railColor:"rgba(0, 0, 0, .14)",railColorActive:e,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 0 2px ${(0,v.zX)(e,{alpha:.2})}`})}};var x=r(28632);let y=(0,p.cB)("switch",`+ height: var(--n-height);+ min-width: var(--n-width);+ vertical-align: middle;+ user-select: none;+ -webkit-user-select: none;+ display: inline-flex;+ outline: none;+ justify-content: center;+ align-items: center;+`,[(0,p.cE)("children-placeholder",`+ height: var(--n-rail-height);+ display: flex;+ flex-direction: column;+ overflow: hidden;+ pointer-events: none;+ visibility: hidden;+ `),(0,p.cE)("rail-placeholder",`+ display: flex;+ flex-wrap: none;+ `),(0,p.cE)("button-placeholder",`+ width: calc(1.75 * var(--n-rail-height));+ height: var(--n-rail-height);+ `),(0,p.cB)("base-loading",`+ position: absolute;+ top: 50%;+ left: 50%;+ transform: translateX(-50%) translateY(-50%);+ font-size: calc(var(--n-button-width) - 4px);+ color: var(--n-loading-color);+ transition: color .3s var(--n-bezier);+ `,[(0,x.c)({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),(0,p.cE)("checked, unchecked",`+ transition: color .3s var(--n-bezier);+ color: var(--n-text-color);+ box-sizing: border-box;+ position: absolute;+ white-space: nowrap;+ top: 0;+ bottom: 0;+ display: flex;+ align-items: center;+ line-height: 1;+ `),(0,p.cE)("checked",`+ right: 0;+ padding-right: calc(1.25 * var(--n-rail-height) - var(--n-offset));+ `),(0,p.cE)("unchecked",`+ left: 0;+ justify-content: flex-end;+ padding-left: calc(1.25 * var(--n-rail-height) - var(--n-offset));+ `),(0,p.c)("&:focus",[(0,p.cE)("rail",`+ box-shadow: var(--n-box-shadow-focus);+ `)]),(0,p.cM)("round",[(0,p.cE)("rail","border-radius: calc(var(--n-rail-height) / 2);",[(0,p.cE)("button","border-radius: calc(var(--n-button-height) / 2);")])]),(0,p.u4)("disabled",[(0,p.u4)("icon",[(0,p.cM)("rubber-band",[(0,p.cM)("pressed",[(0,p.cE)("rail",[(0,p.cE)("button","max-width: var(--n-button-width-pressed);")])]),(0,p.cE)("rail",[(0,p.c)("&:active",[(0,p.cE)("button","max-width: var(--n-button-width-pressed);")])]),(0,p.cM)("active",[(0,p.cM)("pressed",[(0,p.cE)("rail",[(0,p.cE)("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),(0,p.cE)("rail",[(0,p.c)("&:active",[(0,p.cE)("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),(0,p.cM)("active",[(0,p.cE)("rail",[(0,p.cE)("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),(0,p.cE)("rail",`+ overflow: hidden;+ height: var(--n-rail-height);+ min-width: var(--n-rail-width);+ border-radius: var(--n-rail-border-radius);+ cursor: pointer;+ position: relative;+ transition:+ opacity .3s var(--n-bezier),+ background .3s var(--n-bezier),+ box-shadow .3s var(--n-bezier);+ background-color: var(--n-rail-color);+ `,[(0,p.cE)("button-icon",`+ color: var(--n-icon-color);+ transition: color .3s var(--n-bezier);+ font-size: calc(var(--n-button-height) - 4px);+ position: absolute;+ left: 0;+ right: 0;+ top: 0;+ bottom: 0;+ display: flex;+ justify-content: center;+ align-items: center;+ line-height: 1;+ `,[(0,x.c)()]),(0,p.cE)("button",`+ align-items: center;+ top: var(--n-offset);+ left: var(--n-offset);+ height: var(--n-button-height);+ width: var(--n-button-width-pressed);+ max-width: var(--n-button-width);+ border-radius: var(--n-button-border-radius);+ background-color: var(--n-button-color);+ box-shadow: var(--n-button-box-shadow);+ box-sizing: border-box;+ cursor: inherit;+ content: "";+ position: absolute;+ transition:+ background-color .3s var(--n-bezier),+ left .3s var(--n-bezier),+ opacity .3s var(--n-bezier),+ max-width .3s var(--n-bezier),+ box-shadow .3s var(--n-bezier);+ `)]),(0,p.cM)("active",[(0,p.cE)("rail","background-color: var(--n-rail-color-active);")]),(0,p.cM)("loading",[(0,p.cE)("rail",`+ cursor: wait;+ `)]),(0,p.cM)("disabled",[(0,p.cE)("rail",`+ cursor: not-allowed;+ opacity: .5;+ `)])]),k=Object.assign(Object.assign({},c.Z.props),{size:{type:String,default:"medium"},value:{type:[String,Number,Boolean],default:void 0},loading:Boolean,defaultValue:{type:[String,Number,Boolean],default:!1},disabled:{type:Boolean,default:void 0},round:{type:Boolean,default:!0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},railStyle:Function,rubberBand:{type:Boolean,default:!0},onChange:[Function,Array]}),B=(0,n.aZ)({name:"Switch",props:k,slots:Object,setup(t){void 0===o&&(o="undefined"==typeof CSS||void 0!==CSS.supports&&CSS.supports("width","max(1px)"));let{mergedClsPrefixRef:e,inlineThemeDisabled:r}=(0,s.ZP)(t),l=(0,c.Z)("Switch","-switch",y,w,t,e),d=(0,u.Z)(t),{mergedSizeRef:f,mergedDisabledRef:v}=d,g=(0,n.iH)(t.defaultValue),m=(0,n.Vh)(t,"value"),x=(0,a.Z)(m,g),k=(0,n.Fl)(()=>x.value===t.checkedValue),B=(0,n.iH)(!1),$=(0,n.iH)(!1),E=(0,n.Fl)(()=>{let{railStyle:e}=t;if(e)return e({focused:$.value,checked:k.value})});function z(e){let{"onUpdate:value":r,onChange:o,onUpdateValue:i}=t,{nTriggerFormInput:a,nTriggerFormChange:n}=d;r&&(0,b.R)(r,e),i&&(0,b.R)(i,e),o&&(0,b.R)(o,e),g.value=e,a(),n()}let S=(0,n.Fl)(()=>{let t,e,r,{value:a}=f,{self:{opacityDisabled:n,railColor:d,railColorActive:c,buttonBoxShadow:s,buttonColor:u,boxShadowFocus:h,loadingColor:b,textColor:v,iconColor:g,[(0,p.Tl)("buttonHeight",a)]:m,[(0,p.Tl)("buttonWidth",a)]:w,[(0,p.Tl)("buttonWidthPressed",a)]:x,[(0,p.Tl)("railHeight",a)]:y,[(0,p.Tl)("railWidth",a)]:k,[(0,p.Tl)("railBorderRadius",a)]:B,[(0,p.Tl)("buttonBorderRadius",a)]:$},common:{cubicBezierEaseInOut:E}}=l.value;return o?(t=`calc((${y} - ${m}) / 2)`,e=`max(${y}, ${m})`,r=`max(${k}, calc(${k} + ${m} - ${y}))`):(t=(0,i.BL)(((0,i.fQ)(y)-(0,i.fQ)(m))/2),e=(0,i.BL)(Math.max((0,i.fQ)(y),(0,i.fQ)(m))),r=(0,i.fQ)(y)>(0,i.fQ)(m)?k:(0,i.BL)((0,i.fQ)(k)+(0,i.fQ)(m)-(0,i.fQ)(y))),{"--n-bezier":E,"--n-button-border-radius":$,"--n-button-box-shadow":s,"--n-button-color":u,"--n-button-width":w,"--n-button-width-pressed":x,"--n-button-height":m,"--n-height":e,"--n-offset":t,"--n-opacity-disabled":n,"--n-rail-border-radius":B,"--n-rail-color":d,"--n-rail-color-active":c,"--n-rail-height":y,"--n-rail-width":k,"--n-width":r,"--n-box-shadow-focus":h,"--n-loading-color":b,"--n-text-color":v,"--n-icon-color":g}}),C=r?(0,h.F)("switch",(0,n.Fl)(()=>f.value[0]),S,t):void 0;return{handleClick:function(){t.loading||v.value||(x.value!==t.checkedValue?z(t.checkedValue):z(t.uncheckedValue))},handleBlur:function(){$.value=!1;let{nTriggerFormBlur:t}=d;t(),B.value=!1},handleFocus:function(){$.value=!0;let{nTriggerFormFocus:t}=d;t()},handleKeyup:function(e){t.loading||v.value||" "===e.key&&(x.value!==t.checkedValue?z(t.checkedValue):z(t.uncheckedValue),B.value=!1)},handleKeydown:function(e){t.loading||v.value||" "===e.key&&(e.preventDefault(),B.value=!0)},mergedRailStyle:E,pressed:B,mergedClsPrefix:e,mergedValue:x,checked:k,mergedDisabled:v,cssVars:r?void 0:S,themeClass:null==C?void 0:C.themeClass,onRender:null==C?void 0:C.onRender}},render(){let{mergedClsPrefix:t,mergedDisabled:e,checked:r,mergedRailStyle:o,onRender:i,$slots:a}=this;null==i||i();let{checked:c,unchecked:s,icon:u,"checked-icon":h,"unchecked-icon":b}=a,p=!((0,f.aD)(u)&&(0,f.aD)(h)&&(0,f.aD)(b));return(0,n.h)("div",{role:"switch","aria-checked":r,class:[`${t}-switch`,this.themeClass,p&&`${t}-switch--icon`,r&&`${t}-switch--active`,e&&`${t}-switch--disabled`,this.round&&`${t}-switch--round`,this.loading&&`${t}-switch--loading`,this.pressed&&`${t}-switch--pressed`,this.rubberBand&&`${t}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},(0,n.h)("div",{class:`${t}-switch__rail`,"aria-hidden":"true",style:o},(0,f.K9)(c,e=>(0,f.K9)(s,r=>e||r?(0,n.h)("div",{"aria-hidden":!0,class:`${t}-switch__children-placeholder`},(0,n.h)("div",{class:`${t}-switch__rail-placeholder`},(0,n.h)("div",{class:`${t}-switch__button-placeholder`}),e),(0,n.h)("div",{class:`${t}-switch__rail-placeholder`},(0,n.h)("div",{class:`${t}-switch__button-placeholder`}),r)):null)),(0,n.h)("div",{class:`${t}-switch__button`},(0,f.K9)(u,e=>(0,f.K9)(h,r=>(0,f.K9)(b,o=>(0,n.h)(l.Z,null,{default:()=>this.loading?(0,n.h)(d.Z,{key:"loading",clsPrefix:t,strokeWidth:20}):this.checked&&(r||e)?(0,n.h)("div",{class:`${t}-switch__button-icon`,key:r?"checked-icon":"icon"},r||e):!this.checked&&(o||e)?(0,n.h)("div",{class:`${t}-switch__button-icon`,key:o?"unchecked-icon":"icon"},o||e):null})))),(0,f.K9)(c,e=>e&&(0,n.h)("div",{key:"checked",class:`${t}-switch__checked`},e)),(0,f.K9)(s,e=>e&&(0,n.h)("div",{key:"unchecked",class:`${t}-switch__unchecked`},e)))))}})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/192.441239d1.js b/core/public/dist/static/js/async/192.441239d1.jsdeleted file mode 100644index 87126267..00000000--- a/core/public/dist/static/js/async/192.441239d1.js+++ /dev/null@@ -1 +0,0 @@-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["192"],{20099:function(e,a,t){t.d(a,{Z:()=>l});var i=t(58786),o=t(97756);let n=Object.assign(Object.assign({},t(56946).Z.props),{trigger:String,xScrollable:Boolean,onScroll:Function,contentClass:String,contentStyle:[Object,String],size:Number,yPlacement:{type:String,default:"right"},xPlacement:{type:String,default:"bottom"}}),l=(0,i.aZ)({name:"Scrollbar",props:n,setup(){let e=(0,i.iH)(null);return Object.assign(Object.assign({},{scrollTo:(...a)=>{var t;null==(t=e.value)||t.scrollTo(a[0],a[1])},scrollBy:(...a)=>{var t;null==(t=e.value)||t.scrollBy(a[0],a[1])}}),{scrollbarInstRef:e})},render(){return(0,i.h)(o.Z,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}})},39432:function(e,a,t){t.d(a,{Au:()=>d,Fj:()=>s,LC:()=>l,Lb:()=>f,OV:()=>r,dj:()=>u,gK:()=>c,i7:()=>n,rU:()=>g,v1:()=>p,xh:()=>m,yW:()=>v});var i=t(34541);let{t:o}=t(76882).Z.global,n=e=>i.e.get("/domains/list",{params:e}),l=()=>i.e.get("/domains/all"),s=e=>i.e.post("/domains/create",e,{fetchOptions:{loading:o("domain.api.loading.creating"),successMessage:!0}}),c=e=>i.e.post("/domains/update",e,{fetchOptions:{loading:o("domain.api.loading.updating"),successMessage:!0}}),u=e=>i.e.post("/domains/delete",e,{fetchOptions:{loading:o("domain.api.loading.deleting"),successMessage:!0}}),r=e=>i.e.post("/domains/set_ssl",e,{fetchOptions:{loading:o("domain.api.loading.settingSSL"),successMessage:!0}}),d=e=>i.e.get("/domains/get_ssl",{params:e}),p=e=>i.e.post("/domains/fresh_dns_records",e,{fetchOptions:{loading:o("domain.api.loading.refreshingDns"),successMessage:!0}}),v=e=>i.e.post("/ssl/apply_cert",e,{fetchOptions:{loading:o("domain.api.loading.applyingCert"),successMessage:!0}}),m=e=>i.e.post("/domains/set_default_domain",e,{fetchOptions:{loading:"Setting Default Domain, please wait...",successMessage:!0}}),g=e=>i.e.post("/askai/project/create",e,{fetchOptions:{loading:"Setting domain brand info , please wait...",successMessage:!0}}),f=()=>i.e.post("/askai/supplier/status")},16634:function(e,a,t){t.d(a,{Ao:()=>l,mL:()=>s,uL:()=>n});var i=t(34541),o=t(42205);let n={fetchOptions:{loading:"Loading... Please wait.",successMessage:!0}};async function l(e){let{legal_company_name:a,web_site:t,company_profile:n,email:l,phone:s,support_url:c,hasGotCompanyProfile:u}=(0,o.J)();if(!u.value)try{let o=await i.e.post("/askai/project/get_company_profile",{domain:e});a.value=o.legal_company_name,t.value=o.web_site,n.value=o.company_profile,l.value=o.email,s.value=o.phone,c.value=o.support_url,u.value=!0}catch(e){console.warn(e)}}async function s(e){let{legal_company_name:a,web_site:t,company_profile:l,email:s,phone:c,support_url:u}=(0,o.J)();try{await i.e.post("/askai/project/modify_company_profile",{domain:e,legal_company_name:a.value,web_site:t.value,company_profile:l.value,email:s.value,phone:c.value,support_url:u.value},n)}catch(e){console.warn(e)}}},54686:function(e,a,t){t.d(a,{L7:()=>g,Rw:()=>f,VP:()=>_,Vq:()=>y,Xe:()=>v,gK:()=>p,ke:()=>m,lQ:()=>r});var i=t(34541),o=t(16634),n=t(42205),l=t(68271),s=t(39432),c=t(31708),u=t(76882);async function r(e){let{domainTit:a,quota:t,unit:o,mailboxes:s,catch_email:c,hasGotDomainConfiguration:u,urls:r}=(0,n.J)();if(!u.value)try{let{list:n}=await i.e.get("/domains/list",{params:{keyword:e,page:1,page_size:1}}),p=(0,l.UO)(n[0].quota,!0,2).split(" ");a.value=n[0].domain,t.value=p[0],o.value=p[1],s.value=n[0].mailboxes,c.value=n[0].email,r.value=n[0].urls&&n[0].urls.length>0&&""!=n[0].urls[0]?n[0].urls:[`https://${e}`],await d(e),u.value=!0}catch(e){console.warn(e)}}async function d(e){let{brandInfo:a,createdBrandInfo:t}=(0,n.J)();try{let o=await i.e.post("/askai/project/get_project_status",{domain:e});a.value=o.status,t.value=o.create_status}catch(e){console.warn(e)}}async function p(){let{domainTit:e,quota:a,unit:t,urls:l,mailboxes:s,catch_email:c}=(0,n.J)(),u=function(e,a){switch(a){case"KB":return 1024*e;case"MB":return 1024*e*1024;case"GB":return 1024*e*1048576;case"TB":return 1024*e*0x40000000;default:return e}}(Number(a.value),t.value);try{await i.e.post("/domains/update",{domain:e.value,mailboxes:s.value,mailboxQuota:u,quota:u,rateLimit:1,active:1,email:c.value,urls:l.value},o.uL)}catch(e){console.warn(e)}}async function v(){let{waitAndCheckDomainStatusRef:e,domainTit:a,urls:t,hasGotDomainConfiguration:i}=(0,n.J)(),o=(0,c.s6)();if(i.value=!1,0==t.value.length||""==t.value[0])l.v0.error(u.Z.global.t("domain.edit.domainConfiguration.fillDomain"));else if((0,l.CB)(t.value[0]))try{await (0,s.rU)({domain:a.value,urls:t.value}),o.domainSource=a.value,e.value.open(a.value,()=>{m(a.value,1),r(a.value)})}catch(e){console.warn(e)}else l.v0.error(u.Z.global.t("domain.edit.domainConfiguration.fillValidDomain"))}async function m(e,a){try{await i.e.post("/domains/update",{domain:e,hasbrandinfo:a})}catch(e){console.warn(e)}}function g(e){let{urls:a}=(0,n.J)(),t=a.value[0].match(/http:\/\/?/g),i=a.value[0].match(/https:\/\/?/g);t&&(a.value[0]=t[0]+e),i&&(a.value[0]=i[0]+e),t||i||(a.value[0]="https://"+e)}function f(e){let{urls:a}=(0,n.J)();a.value.splice(e,1)}function _(){let{hasGotAisettings:e,hasGotCompanyProfile:a,hasGotDomainConfiguration:t,hasGotFootersettings:i,hasGotProjectDetail:o,hasGotSitemap:l,hasGotStyling:s}=(0,n.J)();e.value=!1,a.value=!1,t.value=!1,i.value=!1,o.value=!1,l.value=!1,s.value=!1}async function y(e){let{brandInfo:a,domainTit:t}=(0,n.J)();try{await i.e.post("/askai/project/set_project_status",{domain:t.value,status:e},o.uL),await i.e.post("/domains/update",{domain:t.value,active:1,hasbrandinfo:Number(e)})}catch(t){a.value=!e,console.warn(t)}}},65539:function(e,a,t){t.d(a,{H:()=>l,v:()=>s});var i=t(34541),o=t(16634),n=t(42205);async function l(e){let{copyright_text:a,disclaimer:t,hasGotFootersettings:o}=(0,n.J)();if(!o.value)try{let n=await i.e.post("/askai/project/get_footer",{domain:e});a.value=n.copyright_text,t.value=n.disclaimer,o.value=!0}catch(e){console.warn(e)}}async function s(e){let{copyright_text:a,disclaimer:t}=(0,n.J)();try{await i.e.post("/askai/project/modify_footer",{domain:e,copyright_text:a.value,disclaimer:t.value},o.uL)}catch(e){console.warn(e)}}},6430:function(e,a,t){t.d(a,{CH:()=>u,D9:()=>c,Id:()=>v,Ix:()=>m,Px:()=>r,Sg:()=>s,T:()=>l,Xd:()=>d,eV:()=>p});var i=t(42205),o=t(34541),n=t(16634);async function l(e){let{project_name:a,primary_logo:t,favicon:n,industry:l,description:s,secondary_logo:c,hasGotProjectDetail:u,knowledge_base:r}=(0,i.J)();if(!u.value)try{let i=await o.e.post("/askai/project/get_base_info",{domain:e});a.value=i.project_name,t.value=i.primary_logo,n.value=i.favicon,l.value=i.industry,s.value=i.description,c.value=i.secondary_logo,r.value=i.knowledge_base,u.value=!0}catch(e){console.warn(e)}}async function s(e){let{project_name:a,primary_logo:t,favicon:l,industry:s,description:c,secondary_logo:u}=(0,i.J)();try{await o.e.post("/askai/project/modify_base_info",{domain:e,project_name:a.value,primary_logo:t.value,favicon:l.value,industry:s.value,description:c.value,secondary_logo:u.value},n.uL)}catch(e){console.warn(e)}}async function c(e){try{let{knowledgeTitle:a,knowledgeContent:t,hasGotProjectDetail:s}=(0,i.J)();await o.e.post("/askai/project/create_knowledge_base_file",{domain:e,title:a.value,content:t.value},n.uL),s.value=!1,await l(e),r()}catch(e){console.warn(e)}}async function u(e){let{activeKnowledge:a,hasGotProjectDetail:t,knowledgeTitle:n,knowledgeContent:s}=(0,i.J)();try{await o.e.post("/askai/project/modify_knowledge_base_file",{domain:e,title:n.value,content:s.value,kid:a.value.kid}),t.value=!1,await l(e),r()}catch(e){console.warn(e)}}function r(){let{knowledgeContent:e,knowledgeTitle:a,knowledgeModalShow:t,isEditKnowledge:o}=(0,i.J)();e.value="",a.value="",t.value=!1,o.value=!1}function d(e){let{knowledgeTitle:a,knowledgeContent:t,knowledgeModalShow:o,activeKnowledge:n,isEditKnowledge:l}=(0,i.J)();n.value=e,a.value=e.title,t.value=e.content,o.value=!0,l.value=!0}async function p(e,a){let{hasGotProjectDetail:t}=(0,i.J)();try{await o.e.post("/askai/project/remove_knowledge_base_file",{domain:e,kid:a.kid},n.uL),t.value=!1,l(e)}catch(e){console.warn(e)}}function v(e){let{knowledge_base_content:a,knowledgeBasePreview:t,knowledgeBasePreviewTit:o}=(0,i.J)();t.value=!0,a.value=e.content,o.value=e.title}async function m(e,a,t,i,l){try{await o.e.post("/askai/project/upload_image",{domain:e,image:a,filename:t,alt_text:i,image_tag:l},n.uL)}catch(e){return console.warn(e),""}}},17559:function(e,a,t){t.d(a,{I:()=>s,M:()=>l});var i=t(34541),o=t(42205),n=t(16634);async function l(e){let{accent_color:a,text_color:t,page_background:n,container_background:l,link_social_color:s,link_footer_color:c,heading_font:u,body_font:r,hasGotStyling:d}=(0,o.J)();if(!d.value)try{let o=await i.e.post("/askai/project/get_style_config",{domain:e});a.value=o.accent_color,t.value=o.text_color,n.value=o.page_background,l.value=o.container_background,s.value=o.link_social_color,c.value=o.link_footer_color,u.value=o.heading_font,r.value=o.body_font,d.value=!0}catch(e){console.warn(e)}}async function s(e){let{accent_color:a,text_color:t,page_background:l,container_background:s,link_social_color:c,link_footer_color:u,heading_font:r,body_font:d}=(0,o.J)();try{await i.e.post("/askai/project/modify_style_config",{domain:e,accent_color:a.value,text_color:t.value,page_background:l.value,container_background:s.value,link_social_color:c.value,link_footer_color:u.value,heading_font:r.value,body_font:d.value},n.uL)}catch(e){console.warn(e)}}},42205:function(e,a,t){t.d(a,{J:()=>l});var i=t(30989),o=t(58786);let n=(0,i.Q_)("editDomainStore",()=>{let e=(0,o.iH)(!1),a=(0,o.iH)(""),t=(0,o.iH)("0"),i=(0,o.iH)("B"),n=(0,o.iH)(0),l=(0,o.iH)(""),s=(0,o.iH)(["https://"]),c=(0,o.iH)(!1),u=(0,o.iH)(),r=(0,o.iH)(!1),d=(0,o.iH)(!1),p=(0,o.iH)(""),v=(0,o.iH)(""),m=(0,o.iH)(""),g=(0,o.iH)(""),f=(0,o.iH)(""),_=(0,o.iH)(""),y=(0,o.iH)(""),w=(0,o.iH)([]),h=(0,o.iH)({title:"",content:"",kid:"",update_time:0}),b=(0,o.iH)(""),k=(0,o.iH)(""),H=(0,o.iH)(!1),S=(0,o.iH)(!1),j=(0,o.iH)(""),C=(0,o.iH)(!1),J=(0,o.iH)(""),D=(0,o.iH)(!1),P=(0,o.iH)(""),L=(0,o.iH)(""),O=(0,o.iH)(""),x=(0,o.iH)(""),M=(0,o.iH)(""),B=(0,o.iH)(""),Z=(0,o.iH)(!1),I=(0,o.iH)(""),U=(0,o.iH)(""),R=(0,o.iH)(""),T=(0,o.iH)(""),F=(0,o.iH)(""),V=(0,o.iH)(""),z=(0,o.iH)(""),A=(0,o.iH)(""),K=(0,o.iH)(!1),$=(0,o.iH)([{title:"",uri_path:""}]),q=(0,o.iH)(!1),Q=(0,o.iH)(""),N=(0,o.iH)("");return{hasGotDomainConfiguration:e,domainTit:a,quota:t,unit:i,mailboxes:n,catch_email:l,urls:s,brandInfo:c,waitAndCheckDomainStatusRef:u,createdBrandInfo:r,hasGotProjectDetail:d,domain:p,description:v,favicon:m,industry:g,primary_logo:f,project_name:_,secondary_logo:y,knowledge_base:w,activeKnowledge:h,knowledgeTitle:b,knowledgeContent:k,knowledgeModalShow:H,isEditKnowledge:S,knowledge_base_content:j,knowledgeBasePreview:C,knowledgeBasePreviewTit:J,hasGotCompanyProfile:D,legal_company_name:P,web_site:L,company_profile:O,email:x,phone:M,support_url:B,hasGotStyling:Z,accent_color:I,text_color:U,page_background:R,container_background:T,link_social_color:F,link_footer_color:V,heading_font:z,body_font:A,hasGotSitemap:K,sitemap:$,hasGotFootersettings:q,copyright_text:Q,disclaimer:N,hasGotAisettings:(0,o.iH)(!1),prompt:(0,o.iH)("")}});function l(){let e=n();return{...(0,i.Jk)(e)}}},2963:function(e,a,t){t.r(a),t.d(a,{default:()=>C});var i=t(15496),o=t(20099),n=t(58786),l=t(65965),s=t(54686),c=t(6430),u=t(16634),r=t(17559),d=t(34541),p=t(42205);async function v(e){let{heading_font:a,body_font:t}=(0,p.J)();try{await d.e.post("/askai/project/modify_style_config",{domain:e,heading_font:a.value,body_font:t.value})}catch(e){console.warn(e)}}var m=t(65539);async function g(e){let{prompt:a}=(0,p.J)();try{let t=await d.e.post("/askai/project/modify_prompt",{domain:e,prompt:a.value},u.uL);a.value=t.prompt}catch(e){console.warn(e)}}var f=t(68271),_=t(52495);let y={class:"wrapper"},w={class:"page-tit"},h={class:"tit-content"},b={class:"content-tabs"},k=["onClick"],H={class:"dynamic-content"},S={key:0,class:"footer-tool"},j=(0,n.aZ)({__name:"index",setup(e){let{createdBrandInfo:a}=(0,p.J)(),d=(0,n.RC)(()=>Promise.all([t.e("9602"),t.e("5293"),t.e("579"),t.e("69"),t.e("3354"),t.e("9372"),t.e("6061"),t.e("5274"),t.e("9097"),t.e("1430")]).then(t.bind(t,14531))),j=(0,n.RC)(()=>Promise.all([t.e("9602"),t.e("5293"),t.e("579"),t.e("9372"),t.e("6061"),t.e("37"),t.e("6463")]).then(t.bind(t,48936))),C=(0,n.RC)(()=>Promise.all([t.e("9602"),t.e("9372"),t.e("7704")]).then(t.bind(t,8024))),J=(0,n.RC)(()=>Promise.all([t.e("9602"),t.e("5293"),t.e("9372"),t.e("5867"),t.e("3324")]).then(t.bind(t,52945))),D=(0,n.RC)(()=>Promise.all([t.e("9602"),t.e("8813")]).then(t.bind(t,85303))),P=(0,n.RC)(()=>Promise.all([t.e("9602"),t.e("9372"),t.e("9234")]).then(t.bind(t,93015))),{t:L}=(0,_.QT)(),O=(0,n.iH)(["Domain Configuration","Project Details","Company Profile","Styling","Sitemap","Footer Settings"]),x=(0,n.iH)("Domain Configuration"),M=new Map([["Domain Configuration",d],["Project Details",j],["Company Profile",C],["Styling",J],["Sitemap",D],["Footer Settings",P]]),B=(0,l.yj)().params.domain;function Z(){switch(x.value){case"Domain Configuration":(0,s.gK)();break;case"Project Details":(0,c.Sg)(B);break;case"Company Profile":(0,u.mL)(B);break;case"Styling":(0,r.I)(B);break;case"Typography":v(B);break;case"Sitemap":break;case"Footer Settings":(0,m.v)(B);break;case"AI Settings":g(B)}}return(0,l.iS)(s.VP),(e,t)=>{let l=o.Z,s=i.ZP;return(0,n.wg)(),(0,n.iD)("div",y,[(0,n._)("div",w,[(0,n._)("span",h,(0,n.zw)(e.$t("domain.edit.pageTitle")),1)]),(0,n._)("div",b,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)((0,n.SU)(O),(e,t)=>((0,n.wg)(),(0,n.iD)("div",{key:t,class:(0,n.C_)(["tab-item",{active:(0,n.SU)(x)==e}]),onClick:t=>{"Domain Configuration"==e||a.value?x.value=e:f.v0.info(L("domain.edit.common.noBrandInfo"))}},[(0,n._)("span",null,(0,n.zw)(L({"Domain Configuration":"domain.edit.tabs.domainConfiguration","Project Details":"domain.edit.tabs.projectDetails","Company Profile":"domain.edit.tabs.companyProfile",Styling:"domain.edit.tabs.styling",Sitemap:"domain.edit.tabs.sitemap","Footer Settings":"domain.edit.tabs.footerSettings","AI Settings":"domain.edit.tabs.aiSettings"}[e]||e)),1)],10,k))),128))]),(0,n._)("div",H,[(0,n.Wm)(l,{style:{height:"100%"}},{default:(0,n.w5)(()=>[((0,n.wg)(),(0,n.j4)((0,n.LL)((0,n.SU)(M).get((0,n.SU)(x)))))]),_:1})]),["Domain Configuration","Sitemap"].includes((0,n.SU)(x))?(0,n.kq)("",!0):((0,n.wg)(),(0,n.iD)("div",S,[(0,n.Wm)(s,{type:"primary",onClick:Z},{icon:(0,n.w5)(()=>t[0]||(t[0]=[(0,n._)("i",{class:"i-mingcute:save-2-line text-5"},null,-1)])),default:(0,n.w5)(()=>[(0,n.Uk)(" "+(0,n.zw)(e.$t("domain.edit.save")),1)]),_:1})]))])}}}),C=(0,t(41748).default)(j,[["__scopeId","data-v-55feeab4"]])}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/2102.91138a35.js b/core/public/dist/static/js/async/2102.91138a35.jsnew file mode 100644index 00000000..6c8e9e43--- /dev/null+++ b/core/public/dist/static/js/async/2102.91138a35.js@@ -0,0 +1,4 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["2102"],{84075:function(e,a,t){t.d(a,{WH:()=>u,hI:()=>i,iE:()=>c,mD:()=>o,sS:()=>n,uz:()=>v,vi:()=>m,yG:()=>p,yL:()=>d});var l=t(76882),s=t(34541);let{t:r}=l.Z.global,i=e=>s.e.get("/contact/group/list",{params:e}),u=()=>s.e.get("/contact/group/all"),d=e=>s.e.get("/contact/group/info",{params:e}),n=e=>s.e.post("/contact/group/create",e,{fetchOptions:{loading:r("contacts.group.loading.createGroup"),successMessage:!0}}),o=e=>s.e.post("/contact/group/update",e,{fetchOptions:{loading:r("contacts.group.loading.updateGroup"),successMessage:!0}}),c=e=>s.e.post("/contact/group/delete",e,{fetchOptions:{loading:r("contacts.group.loading.deleteGroup"),successMessage:!0}}),m=e=>s.e.post("/contact/group/contact_count",e),p=e=>s.e.post("/contact/group/export",e,{fetchOptions:{loading:r("contacts.group.loading.exportGroup"),successMessage:!0}}),v=e=>s.e.post("/contact/group/update",e,{fetchOptions:{loading:r("contacts.group.loading.saveSettings"),successMessage:!0}})},55855:function(e,a,t){t.d(a,{Gk:()=>u,Q5:()=>m,Xr:()=>c,ZS:()=>i,_5:()=>o,gI:()=>n,jC:()=>p,ke:()=>v,mQ:()=>d,oS:()=>k});var l=t(76882),s=t(34541);let{t:r}=l.Z.global;function i(e){return s.e.get("/batch_mail/task/list",{params:e})}function u(e){return s.e.get("/batch_mail/task/stat_chart",{params:e})}function d(e){return s.e.get("/batch_mail/task/find",{params:e})}function n(e){return s.e.post("/batch_mail/task/create",e,{fetchOptions:{loading:r("market.task.loading.creating"),successMessage:!0}})}function o(e){return s.e.post("/batch_mail/task/delete",e,{fetchOptions:{loading:r("market.task.loading.deleting"),successMessage:!0}})}function c(e){return s.e.post("/batch_mail/task/pause",e,{fetchOptions:{loading:r("market.task.loading.pausing"),successMessage:!0}})}function m(e){return s.e.post("/batch_mail/task/resume",e,{fetchOptions:{loading:r("market.task.loading.resuming"),successMessage:!0}})}function p(e){return s.e.post("/batch_mail/task/send_test",e,{fetchOptions:{loading:r("market.task.loading.sendingTest"),successMessage:!0}})}function v(e){return s.e.get("/batch_mail/tracking/mail_provider",{params:e})}function k(e){return s.e.get("/batch_mail/tracking/logs",{params:e})}},36289:function(e,a,t){t.r(a),t.d(a,{default:()=>eo});var l=t(53472),s=t(46244),r=t(17977),i=t(57869),u=t(29283),d=t(16715),n=t(2352),o=t(29875),c=t(15496),m=t(73084),p=t(6455),v=t(66236),k=t(70958),_=t(58786),f=t(31708),b=t(94821),g=t(68271),w=t(55855),h=t(19664),U=t(8490),S=t(51169),W=t(84075),y=t(3179),x=t(46471),j=t(98003),Z=t(52495);let $={class:"pt-12px"},z={class:"flex-1"},q={class:"mt-8px text-12px text-desc"},C=`email,attributes[email protected],"{""age"": ""13"", ""Gender"": ""XXX""}"[email protected],"{""age"": ""45"", ""city"": ""XXX""}"+`,R=(0,_.aZ)({__name:"CreateGroup",setup(e){let{t:a}=(0,Z.QT)(),t=(0,_.AE)("formRef"),l=(0,_.qj)({create_type:2,name:"",file_data:"",file_type:"",description:"",status:1}),r={name:{required:!0,message:a("market.task.createGroup.validation.groupNameRequired"),trigger:["blur","input"]}},i=[{label:"Confirmed",value:1},{label:"Unconfirmed",value:0}],u=e=>{let a=new FileReader;a.onload=a=>{var t;l.file_type=e.name.substring(e.name.lastIndexOf(".")+1),l.file_data=null==(t=a.target)?void 0:t.result},e.file&&a.readAsText(e.file)},d=async()=>{await (0,j.Sv)({file_path:"./template/example_recipients.csv"})},n=async()=>{var e;if(await (null==(e=t.value)?void 0:e.validate()),(0,x.Z)(l.file_data))return g.v0.error(a("contacts.subscribers.import.validation.fileRequired")),Promise.reject()},[o,v]=(0,S.d)({onChangeState:e=>{e&&(l.name="",l.file_data="",l.file_type="")},onConfirm:async()=>{await n(),await (0,W.sS)((0,_.IU)(l));let e=v.getState();null==e||e.refresh()}});return(e,n)=>{let v=m.Z,k=p.ZP,f=U.Z,b=y.Z,g=c.ZP,w=s.Z;return(0,_.wg)(),(0,_.j4)((0,_.SU)(o),{title:(0,_.SU)(a)("market.task.createGroup.title"),width:"500"},{default:(0,_.w5)(()=>[(0,_._)("div",$,[(0,_.Wm)(w,{ref_key:"formRef",ref:t,model:(0,_.SU)(l),rules:r},{default:(0,_.w5)(()=>[(0,_.Wm)(k,{label:(0,_.SU)(a)("market.task.createGroup.groupName"),path:"name"},{default:(0,_.w5)(()=>[(0,_.Wm)(v,{value:(0,_.SU)(l).name,"onUpdate:value":n[0]||(n[0]=e=>(0,_.SU)(l).name=e),placeholder:(0,_.SU)(a)("market.task.createGroup.groupNamePlaceholder")},null,8,["value","placeholder"])]),_:1},8,["label"]),(0,_.Wm)(k,{label:"Status"},{default:(0,_.w5)(()=>[(0,_.Wm)(f,{value:(0,_.SU)(l).status,"onUpdate:value":n[1]||(n[1]=e=>(0,_.SU)(l).status=e),options:i},null,8,["value"])]),_:1}),(0,_.Wm)(k,{label:(0,_.SU)(a)("market.task.createGroup.email"),path:"file_data"},{default:(0,_.w5)(()=>[(0,_._)("div",z,[(0,_.Wm)(b,{"is-upload":!1,accept:["csv"],onChange:u}),(0,_._)("div",q,[(0,_.Uk)((0,_.zw)(e.$t("contacts.subscribers.import.fileTypeHint"))+" ",1),(0,_.Wm)(g,{text:"",type:"primary",onClick:d},{default:(0,_.w5)(()=>[(0,_.Uk)((0,_.zw)(e.$t("common.actions.download")),1)]),_:1})])])]),_:1},8,["label"]),(0,_.Wm)(k,{label:e.$t("contacts.subscribers.import.exampleCsvLabel")},{default:(0,_.w5)(()=>[(0,_._)("pre",{class:"csv-example"},(0,_.zw)(C))]),_:1},8,["label"])]),_:1},8,["model"])])]),_:1},8,["title"])}}});var G=t(41748);let P=(0,G.default)(R,[["__scopeId","data-v-49081638"]]),T={class:"flex-1"},E={class:"flex items-center"},H={class:"flex-1"},M={class:"ml-12px"},O=(0,_.aZ)({__name:"GroupSelect",props:{value:{default:()=>[]},valueModifiers:{},label:{default:()=>[]},labelModifiers:{}},emits:["update:value","update:label"],setup(e){let a=(0,_.tT)(e,"value"),t=(0,_.tT)(e,"label"),l=(0,_.iH)(!1),s=(0,_.iH)([]),r=(0,_.iH)(0),[i,u]=(0,S.d)({component:P,state:{refresh:()=>{o()}}}),d=()=>{u.open()},n=async e=>{if(t.value=e.map(e=>{let a=s.value.find(a=>a.value===e);return`${(null==a?void 0:a.label)||""}`}),0===e.length){r.value=0;return}let a=await (0,W.vi)({group_ids:e});(0,g.Kn)(a)&&(r.value=a.total)},o=async()=>{try{l.value=!0;let e=await (0,W.WH)();(0,g.Kn)(e)&&(s.value=e.list.map(e=>({label:e.name,value:e.id})))}finally{l.value=!1}};return o(),(e,t)=>{let u=U.Z,o=c.ZP,m=(0,_.up)("i18n-t");return(0,_.wg)(),(0,_.iD)("div",T,[(0,_._)("div",E,[(0,_._)("div",H,[(0,_.Wm)(u,{value:a.value,"onUpdate:value":[t[0]||(t[0]=e=>a.value=e),n],options:(0,_.SU)(s),multiple:!0,filterable:!0,"max-tag-count":"responsive",loading:(0,_.SU)(l),placeholder:e.$t("market.task.edit.recipientsPlaceholder")},null,8,["value","options","loading","placeholder"])]),(0,_._)("div",M,[(0,_.Wm)(o,{text:"",type:"primary",onClick:d},{default:(0,_.w5)(()=>[(0,_.Uk)((0,_.zw)(e.$t("common.actions.create")),1)]),_:1})])]),(0,_.Wm)(m,{class:"mt-8px",tag:"div",scope:"global",keypath:"market.task.edit.recipientsCount"},{count:(0,_.w5)(()=>[(0,_._)("b",null,(0,_.zw)((0,_.SU)(r)),1)]),_:1}),(0,_.Wm)((0,_.SU)(i))])}}});var N=t(28444),I=t(65965);let X={class:"task-edit-container"},D={class:"flex flex-col flex-1 p-24px overflow-auto"},A={class:"flex-1"},Q={class:"ml-12px text-desc"},L={class:"w-60px"},K={class:"flex-1 mr-10px"},F={class:"task-preview"},B={class:"preview-header"},J={class:"preview-header-item"},V={class:"preview-label"},Y={class:"preview-value"},ee={class:"preview-header-item"},ea={class:"preview-label"},et={class:"preview-value"},el={class:"preview-header-item"},es={class:"preview-label"},er={class:"preview-value"},ei={class:"preview-content"},eu={key:1,class:"empty-preview"},ed={class:"action-buttons"},en=(0,_.aZ)({__name:"edit",setup(e){let{t:a}=(0,Z.QT)(),t=(0,f.s6)(),U=(0,I.tv)(),S=(0,I.yj)(),W=(0,_.AE)("formRef"),y=(0,_.AE)("formContentRef"),{height:x}=(0,b.rBN)(y),j=(0,_.qj)({addresser:null,full_name:"",subject:"",group_ids:[],template_id:null,is_record:1,unsubscribe:1,warmup:0,threads:0,start_time:null,remark:""}),$={full_name:{trigger:["blur","input"],validator:()=>""!==j.full_name||Error(a("market.task.edit.validation.displayNameRequired"))},subject:{trigger:["blur","input"],validator:()=>""!==j.subject||Error(a("market.task.edit.validation.subjectRequired"))},group_ids:{trigger:"change",validator:()=>0!==j.group_ids.length||Error(a("market.task.edit.validation.recipientsRequired"))},template_id:{trigger:"change",validator:()=>null!==j.template_id||Error(a("market.task.edit.validation.templateRequired"))},start_time:{validator:()=>1!==C.value||null!==j.start_time||Error(a("market.task.edit.validation.sendTimeRequired"))}},z=(0,_.iH)([]),q=(0,_.iH)(0),C=(0,_.iH)(0),R=(0,_.iH)(""),G=(0,_.iH)(""),P=()=>{U.push("/template")},T=e=>{0===e?j.threads=0:j.threads=5},E=()=>{0===C.value&&(j.start_time=null)},H=async()=>R.value?j.subject?j.template_id?void await (0,w.jC)({addresser:j.addresser||"",subject:j.subject,recipient:R.value,template_id:j.template_id||0}):void g.v0.error(a("market.task.edit.validation.templateRequired")):void g.v0.error(a("market.task.edit.validation.subjectRequired")):void g.v0.error(a("market.task.edit.validation.testEmailRequired")),M=()=>{j.subject||j.group_ids.length>0?(0,g.iG)({title:a("market.task.edit.discard.title"),content:a("market.task.edit.discard.content"),onConfirm:()=>{U.go(-1)}}):U.go(-1)},en=()=>{let e=j.start_time;return(0===C.value||null===e)&&(e=Date.now()),{track_open:1,track_click:1,addresser:j.addresser||"",full_name:j.full_name,subject:j.subject,group_ids:j.group_ids,template_id:j.template_id||0,is_record:j.is_record,unsubscribe:j.unsubscribe,warmup:j.warmup,threads:j.threads,start_time:e/1e3,remark:j.remark}},eo=async()=>{var e;await (null==(e=W.value)?void 0:e.validate()),await (0,w.gI)(en()),U.push("/market/task")};function ec(e){if(S.query.chat_id){let a=e.find(e=>e.chat_id==S.query.chat_id);a&&(j.template_id=a.id,j.subject=t.temp_subject,G.value=a.html_content)}}return(async()=>{let{task_id:e}=S.query;if(!e)return;let a=await (0,w.mQ)({id:Number(e)});(0,g.Kn)(a)&&(j.addresser=a.addresser,j.full_name=a.full_name,j.subject=a.subject,j.group_ids=a.etypes.split(",").map(e=>Number(e)),j.template_id=a.template_id,j.is_record=a.is_record,j.unsubscribe=a.unsubscribe,j.threads=a.threads,q.value=+(0!==a.threads),j.remark=a.remark)})(),(e,t)=>{let f=(0,_.up)("router-link"),b=k.Z,g=v.ZP,w=p.ZP,U=m.Z,S=c.ZP,Z=o.Z,I=n.Z,en=d.Z,em=u.Z,ep=i.ZP,ev=r.Z,ek=s.Z,e_=l.Z;return(0,_.wg)(),(0,_.iD)("div",X,[(0,_._)("div",D,[(0,_.Wm)(g,{class:"mb-20px"},{default:(0,_.w5)(()=>[(0,_.Wm)(b,null,{default:(0,_.w5)(()=>[(0,_.Wm)(f,{to:"/market/task"},{default:(0,_.w5)(()=>[(0,_.Uk)((0,_.zw)(e.$t("market.task.title")),1)]),_:1})]),_:1}),(0,_.Wm)(b,null,{default:(0,_.w5)(()=>[(0,_.Uk)((0,_.zw)(e.$t("market.task.edit.addTitle")),1)]),_:1})]),_:1}),(0,_._)("div",{class:"task-edit-box",style:(0,_.j5)({minHeight:(0,_.SU)(x)+"px"})},[(0,_.Wm)(ek,{ref_key:"formRef",ref:W,class:"task-edit-form",model:(0,_.SU)(j),rules:$},{default:(0,_.w5)(()=>[(0,_._)("div",{ref_key:"formContentRef",ref:y},[(0,_.Wm)(ep,{class:"mb-24px"},{default:(0,_.w5)(()=>[(0,_.Wm)(w,{label:e.$t("market.task.edit.from")},{default:(0,_.w5)(()=>[(0,_.Wm)(h.Z,{value:(0,_.SU)(j).addresser,"onUpdate:value":t[0]||(t[0]=e=>(0,_.SU)(j).addresser=e),name:(0,_.SU)(j).full_name,"onUpdate:name":t[1]||(t[1]=e=>(0,_.SU)(j).full_name=e)},null,8,["value","name"])]),_:1},8,["label"]),(0,_.Wm)(w,{label:e.$t("market.task.edit.displayName"),path:"full_name"},{default:(0,_.w5)(()=>[(0,_.Wm)(U,{value:(0,_.SU)(j).full_name,"onUpdate:value":t[2]||(t[2]=e=>(0,_.SU)(j).full_name=e),placeholder:e.$t("market.task.edit.displayNamePlaceholder")},null,8,["value","placeholder"])]),_:1},8,["label"]),(0,_.Wm)(w,{label:e.$t("market.task.edit.subject"),path:"subject"},{default:(0,_.w5)(()=>[(0,_.Wm)(U,{value:(0,_.SU)(j).subject,"onUpdate:value":t[3]||(t[3]=e=>(0,_.SU)(j).subject=e),placeholder:e.$t("market.task.edit.subjectPlaceholder")},null,8,["value","placeholder"])]),_:1},8,["label"]),(0,_.Wm)(w,{label:e.$t("market.task.edit.recipients"),type:"group_ids"},{default:(0,_.w5)(()=>[(0,_.Wm)(O,{value:(0,_.SU)(j).group_ids,"onUpdate:value":t[4]||(t[4]=e=>(0,_.SU)(j).group_ids=e),label:(0,_.SU)(z),"onUpdate:label":t[5]||(t[5]=e=>(0,_.dq)(z)?z.value=e:null)},null,8,["value","label"])]),_:1},8,["label"]),(0,_.Wm)(w,{label:e.$t("market.task.edit.template"),path:"template_id"},{default:(0,_.w5)(()=>[(0,_._)("div",A,[(0,_.Wm)(N.Z,{value:(0,_.SU)(j).template_id,"onUpdate:value":t[6]||(t[6]=e=>(0,_.SU)(j).template_id=e),content:(0,_.SU)(G),"onUpdate:content":t[7]||(t[7]=e=>(0,_.dq)(G)?G.value=e:null),onListReady:ec},null,8,["value","content"])]),(0,_.Wm)(S,{text:"",type:"primary",class:"ml-12px",onClick:P},{default:(0,_.w5)(()=>[(0,_.Uk)((0,_.zw)((0,_.SU)(a)("common.actions.create")),1)]),_:1})]),_:1},8,["label"]),(0,_.kq)("",!0),(0,_.Wm)(w,{label:(0,_.SU)(a)("market.task.edit.ipWarmup")},{default:(0,_.w5)(()=>[(0,_.Wm)(Z,{value:(0,_.SU)(j).warmup,"onUpdate:value":t[9]||(t[9]=e=>(0,_.SU)(j).warmup=e),"checked-value":1,"unchecked-value":0},null,8,["value"]),(0,_._)("span",Q,(0,_.zw)((0,_.SU)(a)("market.task.edit.ipWarmupTip")),1)]),_:1},8,["label"]),(0,_.Wm)(w,{label:e.$t("market.task.edit.unsubscribeLink")},{default:(0,_.w5)(()=>[(0,_.Wm)(Z,{value:(0,_.SU)(j).unsubscribe,"onUpdate:value":t[10]||(t[10]=e=>(0,_.SU)(j).unsubscribe=e),"checked-value":1,"unchecked-value":0},null,8,["value"])]),_:1},8,["label"]),(0,_.Wm)(w,{label:e.$t("market.task.edit.threads"),"show-feedback":!1},{default:(0,_.w5)(()=>[(0,_.Wm)(en,{value:(0,_.SU)(q),"onUpdate:value":[t[11]||(t[11]=e=>(0,_.dq)(q)?q.value=e:null),T]},{default:(0,_.w5)(()=>[(0,_.Wm)(I,{value:0},{default:(0,_.w5)(()=>[(0,_.Uk)((0,_.zw)(e.$t("market.task.edit.threadsAuto")),1)]),_:1}),(0,_.Wm)(I,{value:1},{default:(0,_.w5)(()=>[(0,_.Uk)((0,_.zw)(e.$t("market.task.edit.threadsCustom")),1)]),_:1})]),_:1},8,["value"]),(0,_.wy)((0,_._)("div",L,[(0,_.Wm)(em,{value:(0,_.SU)(j).threads,"onUpdate:value":t[12]||(t[12]=e=>(0,_.SU)(j).threads=e),min:1,max:100,"show-button":!1},null,8,["value"])],512),[[_.F8,1===(0,_.SU)(q)]])]),_:1},8,["label"])]),_:1}),(0,_.Wm)(ep,null,{default:(0,_.w5)(()=>[(0,_.Wm)(w,{label:(0,_.SU)(a)("market.task.edit.sendTime"),path:"start_time"},{default:(0,_.w5)(()=>[(0,_.Wm)(en,{value:(0,_.SU)(C),"onUpdate:value":[t[14]||(t[14]=e=>(0,_.dq)(C)?C.value=e:null),E],class:"flex items-center"},{default:(0,_.w5)(()=>[(0,_.Wm)(I,{value:0},{default:(0,_.w5)(()=>[(0,_.Uk)((0,_.zw)((0,_.SU)(a)("market.task.edit.sendTimeNow")),1)]),_:1}),(0,_.Wm)(I,{class:"items-center",value:1}),(0,_.Wm)(ev,{value:(0,_.SU)(j).start_time,"onUpdate:value":t[13]||(t[13]=e=>(0,_.SU)(j).start_time=e),class:"ml-8px",type:"datetime",disabled:0===(0,_.SU)(C)},null,8,["value","disabled"])]),_:1},8,["value"])]),_:1},8,["label"]),(0,_.Wm)(w,{label:e.$t("market.task.edit.remark")},{default:(0,_.w5)(()=>[(0,_.Wm)(U,{value:(0,_.SU)(j).remark,"onUpdate:value":t[15]||(t[15]=e=>(0,_.SU)(j).remark=e),placeholder:e.$t("market.task.edit.remarkPlaceholder")},null,8,["value","placeholder"])]),_:1},8,["label"]),(0,_.Wm)(w,{label:e.$t("market.task.edit.testEmail"),"show-feedback":!1},{default:(0,_.w5)(()=>[(0,_._)("div",K,[(0,_.Wm)(U,{value:(0,_.SU)(R),"onUpdate:value":t[16]||(t[16]=e=>(0,_.dq)(R)?R.value=e:null),placeholder:e.$t("market.task.edit.testEmailPlaceholder")},null,8,["value","placeholder"])]),(0,_.Wm)(S,{onClick:H},{default:(0,_.w5)(()=>[(0,_.Uk)((0,_.zw)(e.$t("market.task.edit.sendTest")),1)]),_:1})]),_:1},8,["label"])]),_:1})],512)]),_:1},8,["model"]),(0,_._)("div",F,[(0,_.Wm)(ep,{class:"h-full","content-style":{display:"flex",flexDirection:"column",height:"100%"}},{default:(0,_.w5)(()=>[(0,_._)("div",B,[(0,_._)("div",J,[(0,_._)("div",V,(0,_.zw)((0,_.SU)(a)("market.task.edit.from"))+":",1),(0,_._)("div",Y,(0,_.zw)((0,_.SU)(j).addresser),1)]),(0,_._)("div",ee,[(0,_._)("div",ea,(0,_.zw)((0,_.SU)(a)("market.task.edit.to"))+":",1),(0,_._)("div",et,(0,_.zw)((0,_.SU)(z).length>0?(0,_.SU)(z).join(", "):"--"),1)]),(0,_._)("div",el,[(0,_._)("div",es,(0,_.zw)((0,_.SU)(a)("market.task.edit.subject"))+":",1),(0,_._)("div",er,(0,_.zw)((0,_.SU)(j).subject||"--"),1)])]),(0,_._)("div",ei,[(0,_.SU)(G)?((0,_.wg)(),(0,_.j4)(e_,{key:0,value:(0,_.SU)(G)},null,8,["value"])):((0,_.wg)(),(0,_.iD)("div",eu,(0,_.zw)((0,_.SU)(a)("market.task.edit.preview.empty")),1))])]),_:1})])],4)]),(0,_._)("div",ed,[(0,_.Wm)(S,{type:"primary",onClick:eo},{default:(0,_.w5)(()=>[(0,_.Uk)((0,_.zw)(e.$t("common.actions.confirm")),1)]),_:1}),(0,_.Wm)(S,{class:"ml-16px",secondary:"",onClick:M},{default:(0,_.w5)(()=>[(0,_.Uk)((0,_.zw)(e.$t("common.actions.back")),1)]),_:1})])])}}}),eo=(0,G.default)(en,[["__scopeId","data-v-df8dad9a"]])}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/2364.363ded29.js b/core/public/dist/static/js/async/2364.363ded29.jsdeleted file mode 100644index 3e8ecb2d..00000000--- a/core/public/dist/static/js/async/2364.363ded29.js+++ /dev/null@@ -1,56 +0,0 @@-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["2364"],{93953:function(e,a,t){t.d(a,{Z:()=>f});var l=t(65083),i=t(58786),o=t(56946),r=t(54470),n=t(51048),s=t(71309),u=t(60951),d=t(6445),p=t(73238);let m={name:"Flex",self:function(){return p.Z}},c=Object.assign(Object.assign({},o.Z.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrap:{type:Boolean,default:!0}}),f=(0,i.aZ)({name:"Flex",props:c,setup(e){let{mergedClsPrefixRef:a,mergedRtlRef:t}=(0,r.ZP)(e),u=(0,o.Z)("Flex","-flex",void 0,m,e,a);return{rtlEnabled:(0,n.V)("Flex",t,a),mergedClsPrefix:a,margin:(0,i.Fl)(()=>{let{size:a}=e;if(Array.isArray(a))return{horizontal:a[0],vertical:a[1]};if("number"==typeof a)return{horizontal:a,vertical:a};let{self:{[(0,s.Tl)("gap",a)]:t}}=u.value,{row:i,col:o}=(0,l.yU)(t);return{horizontal:(0,l.fQ)(o),vertical:(0,l.fQ)(i)}})}},render(){let{vertical:e,reverse:a,align:t,inline:l,justify:o,margin:r,wrap:n,mergedClsPrefix:s,rtlEnabled:p}=this,m=(0,u.x)((0,d.z)(this),!1);return m.length?(0,i.h)("div",{role:"none",class:[`${s}-flex`,p&&`${s}-flex--rtl`],style:{display:l?"inline-flex":"flex",flexDirection:e&&!a?"column":e&&a?"column-reverse":!e&&a?"row-reverse":"row",justifyContent:o,flexWrap:!n||e?"nowrap":"wrap",alignItems:t,gap:`${r.vertical}px ${r.horizontal}px`}},m):null}})},79537:function(e,a,t){t.d(a,{Z:()=>s});var l=t(58786),i=t(54470),o=t(27046),r=t(71309);let n=(0,r.cB)("input-group",`- display: inline-flex;- width: 100%;- flex-wrap: nowrap;- vertical-align: bottom;-`,[(0,r.c)(">",[(0,r.cB)("input",[(0,r.c)("&:not(:last-child)",`- border-top-right-radius: 0!important;- border-bottom-right-radius: 0!important;- `),(0,r.c)("&:not(:first-child)",`- border-top-left-radius: 0!important;- border-bottom-left-radius: 0!important;- margin-left: -1px!important;- `)]),(0,r.cB)("button",[(0,r.c)("&:not(:last-child)",`- border-top-right-radius: 0!important;- border-bottom-right-radius: 0!important;- `,[(0,r.cE)("state-border, border",`- border-top-right-radius: 0!important;- border-bottom-right-radius: 0!important;- `)]),(0,r.c)("&:not(:first-child)",`- border-top-left-radius: 0!important;- border-bottom-left-radius: 0!important;- `,[(0,r.cE)("state-border, border",`- border-top-left-radius: 0!important;- border-bottom-left-radius: 0!important;- `)])]),(0,r.c)("*",[(0,r.c)("&:not(:last-child)",`- border-top-right-radius: 0!important;- border-bottom-right-radius: 0!important;- `,[(0,r.c)(">",[(0,r.cB)("input",`- border-top-right-radius: 0!important;- border-bottom-right-radius: 0!important;- `),(0,r.cB)("base-selection",[(0,r.cB)("base-selection-label",`- border-top-right-radius: 0!important;- border-bottom-right-radius: 0!important;- `),(0,r.cB)("base-selection-tags",`- border-top-right-radius: 0!important;- border-bottom-right-radius: 0!important;- `),(0,r.cE)("box-shadow, border, state-border",`- border-top-right-radius: 0!important;- border-bottom-right-radius: 0!important;- `)])])]),(0,r.c)("&:not(:first-child)",`- margin-left: -1px!important;- border-top-left-radius: 0!important;- border-bottom-left-radius: 0!important;- `,[(0,r.c)(">",[(0,r.cB)("input",`- border-top-left-radius: 0!important;- border-bottom-left-radius: 0!important;- `),(0,r.cB)("base-selection",[(0,r.cB)("base-selection-label",`- border-top-left-radius: 0!important;- border-bottom-left-radius: 0!important;- `),(0,r.cB)("base-selection-tags",`- border-top-left-radius: 0!important;- border-bottom-left-radius: 0!important;- `),(0,r.cE)("box-shadow, border, state-border",`- border-top-left-radius: 0!important;- border-bottom-left-radius: 0!important;- `)])])])])])]),s=(0,l.aZ)({name:"InputGroup",props:{},setup(e){let{mergedClsPrefixRef:a}=(0,i.ZP)(e);return(0,o.Z)("-input-group",n,a),{mergedClsPrefix:a}},render(){let{mergedClsPrefix:e}=this;return(0,l.h)("div",{class:`${e}-input-group`},this.$slots)}})},39432:function(e,a,t){t.d(a,{Au:()=>p,Fj:()=>n,LC:()=>r,Lb:()=>b,OV:()=>d,dj:()=>u,gK:()=>s,i7:()=>o,rU:()=>v,v1:()=>m,xh:()=>f,yW:()=>c});var l=t(34541);let{t:i}=t(76882).Z.global,o=e=>l.e.get("/domains/list",{params:e}),r=()=>l.e.get("/domains/all"),n=e=>l.e.post("/domains/create",e,{fetchOptions:{loading:i("domain.api.loading.creating"),successMessage:!0}}),s=e=>l.e.post("/domains/update",e,{fetchOptions:{loading:i("domain.api.loading.updating"),successMessage:!0}}),u=e=>l.e.post("/domains/delete",e,{fetchOptions:{loading:i("domain.api.loading.deleting"),successMessage:!0}}),d=e=>l.e.post("/domains/set_ssl",e,{fetchOptions:{loading:i("domain.api.loading.settingSSL"),successMessage:!0}}),p=e=>l.e.get("/domains/get_ssl",{params:e}),m=e=>l.e.post("/domains/fresh_dns_records",e,{fetchOptions:{loading:i("domain.api.loading.refreshingDns"),successMessage:!0}}),c=e=>l.e.post("/ssl/apply_cert",e,{fetchOptions:{loading:i("domain.api.loading.applyingCert"),successMessage:!0}}),f=e=>l.e.post("/domains/set_default_domain",e,{fetchOptions:{loading:"Setting Default Domain, please wait...",successMessage:!0}}),v=e=>l.e.post("/askai/project/create",e,{fetchOptions:{loading:"Setting domain brand info , please wait...",successMessage:!0}}),b=()=>l.e.post("/askai/supplier/status")},67127:function(e,a,t){t.d(a,{EV:()=>s,H2:()=>p,Ts:()=>r,WS:()=>u,Yi:()=>n,iC:()=>o,ym:()=>d});var l=t(34541);let{t:i}=t(76882).Z.global,o=e=>l.e.get("/mailbox/list",{params:e}),r=e=>l.e.post("/mailbox/create",e,{fetchOptions:{loading:i("mailbox.api.loading.creating"),successMessage:!0}}),n=e=>l.e.post("/mailbox/batch_create",e,{fetchOptions:{loading:i("mailbox.api.loading.creating"),successMessage:!0}}),s=e=>l.e.post("/mailbox/update",e,{fetchOptions:{loading:i("mailbox.api.loading.updating"),successMessage:!0}}),u=e=>l.e.post("/mailbox/delete",e,{fetchOptions:{loading:i("mailbox.api.loading.deleting"),successMessage:!0}}),d=e=>l.e.post("/mailbox/export",e,{responseType:"blob",fetchOptions:{loading:i("mailbox.api.loading.exporting"),successMessage:!0}}),p=e=>l.e.post("/mailbox/import",e,{fetchOptions:{loading:i("mailbox.api.loading.importing"),successMessage:!0}})},77984:function(e,a,t){t.d(a,{F:()=>r});var l=t(68271),i=t(94821),o=t(76882);let r=()=>{let{t:e}=o.Z.global,{copy:a,isSupported:t,copied:r}=(0,i.VPI)({legacy:!0});return{copied:r,copyText:async i=>{if(!i)return void l.v0.error(e("common.useCopy.noText"));t.value?(await a(i),l.v0.success(e("common.useCopy.success"))):l.v0.error(e("common.useCopy.failed"))}}}},80947:function(e,a,t){t.d(a,{N:()=>r});var l=t(22895),i=t(68271),o=t(58786);let r=e=>{let{params:a,fetchFn:t,useParams:r,loading:n=!0,immediate:s=!0,rowKey:u=e=>e.id}=e,d=(0,o.iH)(n),p=(0,o.iH)([]),m=(0,o.iH)(0),c=(0,o.iH)(a),f=(0,o.iH)([]),v=()=>r?r(c.value):c.value,b=(0,l.DI)(async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&(c.value.page=1),d.value=!0;try{let e=v(),a=await t(e);(0,i.Kn)(a)&&(p.value=(0,i.kJ)(a.list)?a.list:[],m.value=(0,i.hj)(a.total)?a.total:0)}finally{f.value=[],d.value=!1}},300),g=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return b(e)},h=e=>{c.value.page=e},w=e=>{c.value.page_size=e};return(0,o.bv)(()=>{s&&g()}),{tableData:p,tableTotal:m,tableKeys:f,tableParams:c,fetchTable:g,resetTable:()=>g(!0),tableProps:(0,o.Fl)(()=>({rowKey:u,data:p.value,loading:d.value,checkedRowKeys:f.value,onUpdateCheckedRowKeys:e=>{f.value=e}})),batchProps:(0,o.Fl)(()=>({rowKey:u,data:p.value,checkedRowKeys:f.value,onUpdateCheckedRowKeys:e=>{f.value=e}})),pageProps:(0,o.Fl)(()=>({page:c.value.page,pageSize:c.value.page_size,itemCount:m.value,onUpdatePage:h,onUpdatePageSize:w}))}}},86559:function(e,a,t){t.d(a,{Z:()=>o});var l=t(73084),i=t(58786);let o=(0,i.aZ)({__name:"index",props:(0,i.Vf)({width:{default:240},prefix:{type:Boolean,default:!1}},{value:{default:""},valueModifiers:{}}),emits:(0,i.Vf)(["search"],["update:value"]),setup(e,a){let{expose:t,emit:o}=a,r=(0,i.iH)(null),n=(0,i.tT)(e,"value"),s=()=>{o("search",n.value)};return t({focus:()=>{var e;null==(e=r.value)||e.focus()}}),(e,a)=>{let t=l.Z;return(0,i.wg)(),(0,i.j4)(t,(0,i.dG)({ref_key:"inputRef",ref:r,value:n.value,"onUpdate:value":a[0]||(a[0]=e=>n.value=e)},e.$attrs,{class:"bt-search",style:{width:`${e.width}px`},onKeyup:(0,i.D2)(s,["enter"])}),(0,i.Nv)({_:2},[e.prefix?{name:"prefix",fn:(0,i.w5)(()=>[(0,i._)("div",{class:"flex items-center cursor-pointer",onClick:s},a[1]||(a[1]=[(0,i._)("i",{class:"i-mdi-search text-16px"},null,-1)]))]),key:"0"}:void 0,e.prefix?void 0:{name:"suffix",fn:(0,i.w5)(()=>[(0,i._)("div",{class:"flex items-center cursor-pointer",onClick:s},a[2]||(a[2]=[(0,i._)("i",{class:"i-mdi-search text-16px"},null,-1)]))]),key:"1"}]),1040,["value","style"])}}})},4340:function(e,a,t){t.d(a,{Z:()=>s});var l=t(15496),i=t(23685),o=t(58786);let r={class:"flex gap-10px"},n={class:"flex-center w-40px"},s=(0,o.aZ)({__name:"index",props:{data:{type:Array,default:()=>[]},rowKey:{type:Function,required:!0},options:{type:Array,default:()=>[]},checkedRowKeys:{type:Array,default:()=>[]}},emits:["updateCheckedRowKeys","select"],setup(e,a){let{emit:t}=a,s=(0,o.Fl)({get:()=>e.checkedRowKeys.length>0&&e.checkedRowKeys.length===e.data.length,set(a){t("updateCheckedRowKeys",a?e.data.map(a=>e.rowKey(a)):[])}}),u=(0,o.Fl)(()=>0===e.data.length),d=(0,o.Fl)(()=>e.checkedRowKeys.length>0&&e.checkedRowKeys.length<e.data.length),p=(0,o.Fl)(()=>0===e.checkedRowKeys.length),m=a=>{t("select",a,e.checkedRowKeys)};return(a,t)=>{let c=i.Z,f=l.ZP;return(0,o.wg)(),(0,o.iD)("div",r,[(0,o._)("div",n,[(0,o.Wm)(c,{checked:(0,o.SU)(s),"onUpdate:checked":t[0]||(t[0]=e=>(0,o.dq)(s)?s.value=e:null),disabled:(0,o.SU)(u),indeterminate:(0,o.SU)(d)},null,8,["checked","disabled","indeterminate"])]),((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.options,e=>((0,o.wg)(),(0,o.j4)(f,{key:e.value,disabled:(0,o.SU)(p),onClick:a=>m(e.value)},{default:(0,o.w5)(()=>[(0,o.Uk)((0,o.zw)(e.label),1)]),_:2},1032,["disabled","onClick"]))),128))])}}})},66760:function(e,a,t){t.d(a,{Z:()=>n});var l=t(81021),i=t(15496),o=t(58786);let r={class:"leading-22px text-13px text-desc text-center"},n=(0,o.aZ)({__name:"index",setup(e){let a=()=>{window.open("https://github.com/aaPanel/BillionMail/issues")},t=()=>{window.open("https://github.com/aaPanel/BillionMail")};return(e,n)=>{let s=i.ZP,u=(0,o.up)("i18n-t"),d=l.Z;return(0,o.wg)(),(0,o.j4)(d,null,{default:(0,o.w5)(()=>[(0,o._)("div",r,[(0,o.Wm)(u,{tag:"span",scope:"global",keypath:"components.tableHelp.text1"},{issues:(0,o.w5)(()=>[(0,o.Wm)(s,{class:"text-13px",type:"primary",text:"",onClick:a},{default:(0,o.w5)(()=>n[0]||(n[0]=[(0,o._)("span",null,"Issues",-1),(0,o._)("i",{class:"i-mdi:arrow-right ml-1px"},null,-1)])),_:1,__:[0]})]),star:(0,o.w5)(()=>[(0,o.Wm)(s,{class:"text-13px",type:"primary",text:"",onClick:t},{default:(0,o.w5)(()=>n[1]||(n[1]=[(0,o.Uk)(" Star "),(0,o._)("i",{class:"i-mdi:arrow-right ml-1px"},null,-1)])),_:1,__:[1]})]),_:1}),n[2]||(n[2]=(0,o._)("br",null,null,-1)),(0,o._)("span",null,(0,o.zw)(e.$t("components.tableHelp.text2")),1)])]),_:1})}}})},39244:function(e,a,t){t.d(a,{Z:()=>o});var l=t(93953),i=t(58786);let o=(0,i.aZ)({__name:"index",setup(e){let a=!!(0,i.Rr)().toolsLeft,t=!!(0,i.Rr)().toolsRight,o=!!(0,i.Rr)().pageLeft||!!(0,i.Rr)().pageRight;return(e,r)=>{let n=l.Z;return(0,i.wg)(),(0,i.iD)("div",null,[a||t?((0,i.wg)(),(0,i.j4)(n,{key:0,class:"items-center mb-12px",justify:"space-between"},{default:(0,i.w5)(()=>[(0,i.Wm)(n,{class:"items-center",size:12},{default:(0,i.w5)(()=>[(0,i.WI)(e.$slots,"toolsLeft")]),_:3}),(0,i.Wm)(n,{class:"items-center",size:12},{default:(0,i.w5)(()=>[(0,i.WI)(e.$slots,"toolsRight")]),_:3})]),_:3})):(0,i.kq)("",!0),(0,i.WI)(e.$slots,"table"),(0,i.SU)(o)?((0,i.wg)(),(0,i.j4)(n,{key:1,class:"items-center mt-12px",justify:"space-between"},{default:(0,i.w5)(()=>[(0,i._)("div",null,[(0,i.WI)(e.$slots,"pageLeft")]),(0,i.Wm)(n,null,{default:(0,i.w5)(()=>[(0,i.WI)(e.$slots,"pageRight")]),_:3})]),_:3})):(0,i.kq)("",!0),(0,i.WI)(e.$slots,"modal")])}}})},25170:function(e,a,t){t.d(a,{Z:()=>n});var l=t(75459),i=t(58786),o=t(68271);let r={class:"ml-8px text-14px"},n=(0,i.aZ)({__name:"index",props:(0,i.Vf)({storeKey:{default:""},pageSizes:{default:()=>[10,20,50,100]},showTotal:{type:Boolean,default:!0},showSizePicker:{type:Boolean,default:!0},showQuickJumper:{type:Boolean,default:!0},onUpdatePage:{}},{page:{},pageModifiers:{},pageSize:{},pageSizeModifiers:{}}),emits:(0,i.Vf)(["refresh"],["update:page","update:pageSize"]),setup(e,a){let{emit:t}=a,n=(0,i.Fl)(()=>{let{storeKey:a}=e;return a?`${a}-page`:""}),s=(0,i.tT)(e,"page"),u=(0,i.tT)(e,"pageSize"),d=a=>{var l;null==(l=e.onUpdatePage)||l.call(e,a),t("refresh")},p=a=>{var l;s.value=1,null==(l=e.onUpdatePage)||l.call(e,1),m(a),t("refresh")},m=e=>{n.value&&(0,o.qQ)(n.value,String(e))};if(n.value){let e=(0,o.$o)(n.value);e&&(u.value=(0,o.Dx)(e))}return(e,a)=>{let t=l.Z;return(0,i.wg)(),(0,i.j4)(t,(0,i.dG)(e.$attrs,{page:s.value,"onUpdate:page":[a[0]||(a[0]=e=>s.value=e),d],"page-size":u.value,"onUpdate:pageSize":[a[1]||(a[1]=e=>u.value=e),p],"show-size-picker":e.showSizePicker,"show-quick-jumper":e.showQuickJumper,"page-sizes":e.pageSizes,"display-order":["pages","size-picker","quick-jumper"]}),(0,i.Nv)({_:2},[e.showTotal?{name:"suffix",fn:(0,i.w5)(e=>{let{itemCount:a}=e;return[(0,i._)("span",r," Total "+(0,i.zw)(a),1)]}),key:"0"}:void 0]),1040,["page","page-size","show-size-picker","show-quick-jumper","page-sizes"])}}})},26638:function(e,a,t){t.r(a),t.d(a,{default:()=>G});var l=t(39244),i=t(25170),o=t(4340),r=t(60424),n=t(66760),s=t(86559),u=t(58786),d=t(15496),p=t(29875),m=t(93953),c=t(94821),f=t(68271),v=t(51169),b=t(77984),g=t(80947),h=t(67127),w=t(35409);let x={class:"flex"},_={class:"w-0 flex-1 flex items-center"},y={class:"min-w-0"},U=(0,u.aZ)({__name:"index",props:{value:{default:""}},setup(e){let{copyText:a}=(0,b.F)(),t=(0,u.iH)(!1),l=(0,u.Fl)(()=>t.value?e.value:"**********"),i=()=>{t.value=!t.value},o=async()=>{a(`${e.value}`)};return(e,a)=>{let r=w.ZP;return(0,u.wg)(),(0,u.iD)("div",x,[(0,u._)("div",_,[(0,u._)("div",y,[(0,u.Wm)(r,{class:"max-w-full",tooltip:{contentStyle:{maxWidth:"200px"}}},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)((0,u.SU)(l)),1)]),_:1})]),(0,u._)("div",{class:"ml-6px text-15px cursor-pointer",title:"Show",onClick:i},[(0,u._)("i",{class:(0,u.C_)((0,u.SU)(t)?"i-mdi-eye-outline":"i-mdi-eye-off-outline")},null,2)]),(0,u._)("div",{class:"reset ml-6px text-15px cursor-pointer text-#333",title:"Copy",onClick:o},a[0]||(a[0]=[(0,u._)("i",{class:"i-mdi-content-copy"},null,-1)]))])])}}});var S=t(8490),k=t(39432),W=t(52495);let Z=(0,u.aZ)({__name:"DomainSelect",props:(0,u.Vf)({isAll:{type:Boolean,default:!0}},{value:{default:()=>null},valueModifiers:{}}),emits:["update:value"],setup(e){let{t:a}=(0,W.QT)(),t=(0,u.tT)(e,"value"),l=(0,u.iH)(!1),i=(0,u.iH)([]);return(async()=>{try{l.value=!0;let o=await (0,k.LC)();(0,f.kJ)(o)&&(i.value=o.map(e=>({label:e.domain,value:e.domain})),e.isAll?(i.value.unshift({label:a("common.all.text"),value:""}),t.value||(t.value="")):o.length>0&&!t.value&&(t.value=o[0].domain))}finally{l.value=!1}})(),(e,o)=>{let r=S.Z;return(0,u.wg)(),(0,u.j4)(r,{value:t.value,"onUpdate:value":o[0]||(o[0]=e=>t.value=e),loading:(0,u.SU)(l),filterable:!0,options:(0,u.SU)(i),placeholder:(0,u.SU)(a)("mailbox.domain.selectPlaceholder")},null,8,["value","loading","options","placeholder"])}}}),q=(0,t(41748).default)(Z,[["__scopeId","data-v-186220da"]]);var R=t(46244),C=t(29283),z=t(6455),B=t(79537),T=t(73084);let A=(0,u.aZ)({__name:"MailboxForm",setup(e){let{t:a}=(0,W.QT)(),t=(0,u.iH)(!1),l=(0,u.Fl)(()=>t.value?a("mailbox.form.editTitle"):a("mailbox.form.addTitle")),i=(0,u.AE)("formRef"),o=(0,u.qj)({quota:5,unit:"GB",isAdmin:0,full_name:"",local_part:"",domain:null,password:(0,f.JL)(),active:1}),r=[{label:"GB",value:"GB"},{label:"MB",value:"MB"}],n=[{label:a("mailbox.userType.general"),value:0},{label:a("mailbox.userType.admin"),value:1}],s={full_name:{required:!0,trigger:"blur",validator:()=>""!==o.full_name.trim()||Error("Please enter name")},domain:{trigger:"blur",required:!0,validator:()=>""!==o.local_part.trim()&&!!o.domain||Error(a("mailbox.validation.emailRequired"))},password:{trigger:"blur",required:!0,validator:()=>{if(t.value){if(o.password&&o.password.trim().length<8)return Error(a("mailbox.validation.passwordLength"));if(o.password&&!/^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).*$/.test(o.password))return Error(a("mailbox.validation.passwordFormat"))}else{if(o.password.trim().length<8)return Error(a("mailbox.validation.passwordLength"));if(!/^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).*$/.test(o.password))return Error(a("mailbox.validation.passwordFormat"))}return!0}}},d=e=>{o.full_name=e},m=(e,a)=>{switch(a){case"GB":e*=1024;case"MB":e*=1048576}return e},c=()=>({full_name:o.full_name,local_part:o.local_part,domain:o.domain||"",password:o.password,quota:m(o.quota,o.unit),isAdmin:o.isAdmin,active:o.active}),[b,g]=(0,v.d)({onChangeState:e=>{if(e){let e=g.getState(),{row:a}=e;if(t.value=e.isEdit,a){o.full_name=a.full_name,o.local_part=a.local_part,o.domain=a.domain,o.isAdmin=a.is_admin,o.active=a.active,o.password=a.password;let[e,t]=(0,f.UO)(a.quota).split(" ");o.quota=(0,f.Dx)(e),o.unit=t}}else o.full_name="",o.local_part="",o.domain=null,o.password=(0,f.JL)(),o.quota=5,o.unit="GB",o.isAdmin=0,o.active=1},onConfirm:async()=>{var e;await (null==(e=i.value)?void 0:e.validate());let a=c();t.value?await (0,h.EV)(a):await (0,h.Ts)(a),g.getState().refresh()}});return(e,m)=>{let c=T.Z,f=B.Z,v=z.ZP,g=C.Z,h=S.Z,w=p.Z,x=R.Z;return(0,u.wg)(),(0,u.j4)((0,u.SU)(b),{title:(0,u.SU)(l),width:"520"},{default:(0,u.w5)(()=>[(0,u.Wm)(x,{ref_key:"formRef",ref:i,class:"pt-20px",model:(0,u.SU)(o),rules:s},{default:(0,u.w5)(()=>[(0,u.Wm)(v,{label:(0,u.SU)(a)("mailbox.form.emailAddress"),path:"domain"},{default:(0,u.w5)(()=>[(0,u.Wm)(f,null,{default:(0,u.w5)(()=>[(0,u.Wm)(c,{value:(0,u.SU)(o).local_part,"onUpdate:value":[m[0]||(m[0]=e=>(0,u.SU)(o).local_part=e),d],class:"flex-1",disabled:(0,u.SU)(t)},null,8,["value","disabled"]),(0,u.Wm)(q,{value:(0,u.SU)(o).domain,"onUpdate:value":m[1]||(m[1]=e=>(0,u.SU)(o).domain=e),class:"flex-1","is-all":!1,disabled:(0,u.SU)(t)},null,8,["value","disabled"])]),_:1})]),_:1},8,["label"]),(0,u.Wm)(v,{label:"Display Name",path:"full_name"},{default:(0,u.w5)(()=>[(0,u.Wm)(c,{value:(0,u.SU)(o).full_name,"onUpdate:value":m[2]||(m[2]=e=>(0,u.SU)(o).full_name=e)},null,8,["value"])]),_:1}),(0,u.Wm)(v,{label:(0,u.SU)(a)("mailbox.form.password"),path:"password"},{default:(0,u.w5)(()=>[(0,u.Wm)(c,{value:(0,u.SU)(o).password,"onUpdate:value":m[3]||(m[3]=e=>(0,u.SU)(o).password=e),placeholder:(0,u.SU)(a)("mailbox.form.passwordPlaceholder")},null,8,["value","placeholder"])]),_:1},8,["label"]),(0,u.Wm)(v,{label:(0,u.SU)(a)("mailbox.form.quota"),path:"quota"},{default:(0,u.w5)(()=>[(0,u.Wm)(f,null,{default:(0,u.w5)(()=>[(0,u.Wm)(g,{value:(0,u.SU)(o).quota,"onUpdate:value":m[4]||(m[4]=e=>(0,u.SU)(o).quota=e),class:"flex-1",min:1,"show-button":!1},null,8,["value"]),(0,u.Wm)(h,{value:(0,u.SU)(o).unit,"onUpdate:value":m[5]||(m[5]=e=>(0,u.SU)(o).unit=e),class:"flex-1",options:r},null,8,["value"])]),_:1})]),_:1},8,["label"]),(0,u.Wm)(v,{label:(0,u.SU)(a)("mailbox.form.userType"),path:"userType"},{default:(0,u.w5)(()=>[(0,u.Wm)(h,{value:(0,u.SU)(o).isAdmin,"onUpdate:value":m[6]||(m[6]=e=>(0,u.SU)(o).isAdmin=e),options:n},null,8,["value"])]),_:1},8,["label"]),(0,u.Wm)(v,{label:(0,u.SU)(a)("mailbox.form.status"),"show-feedback":!1},{default:(0,u.w5)(()=>[(0,u.Wm)(w,{value:(0,u.SU)(o).active,"onUpdate:value":m[7]||(m[7]=e=>(0,u.SU)(o).active=e),"checked-value":1,"unchecked-value":0},null,8,["value"])]),_:1},8,["label"])]),_:1},8,["model"])]),_:1},8,["title"])}}});var P=t(49247);let $=(0,u.aZ)({__name:"MailboxBatchAdd",emits:["refresh"],setup(e,a){let{expose:t,emit:l}=a,{t:i}=(0,W.QT)(),o=(0,u.iH)(!1),r=(0,u.AE)("formRef"),n=(0,u.qj)({domain:null,prefix:"",count:10,quota:5,unit:"GB",password:""}),s={domain:{trigger:"change",required:!0,validator:()=>!!n.domain||Error(i("mailbox.validation.domainRequired"))},prefix:{trigger:"blur",required:!0,validator:()=>!(n.prefix.trim().length<1)||Error(i("mailbox.validation.prefixRequired"))},count:{trigger:"blur",required:!0,validator:()=>!(n.count<1)||Error(i("mailbox.validation.countRequired"))}},d=[{label:"GB",value:"GB"},{label:"MB",value:"MB"}],p=async()=>{var e;await (null==(e=r.value)?void 0:e.validate()),await (0,h.Yi)(m()),l("refresh")},m=()=>({domain:n.domain||"",quota:c(n.quota,n.unit),prefix:n.prefix,count:n.count}),c=(e,a)=>{switch(a){case"GB":e*=1024;case"MB":e*=1048576}return e},f=()=>{n.domain=null,n.prefix="",n.count=10,n.quota=5,n.unit="GB",n.password=""};return t({open:()=>{f(),o.value=!0}}),(e,a)=>{let t=z.ZP,l=T.Z,i=C.Z,m=S.Z,c=B.Z,f=R.Z,v=P.Z;return(0,u.wg)(),(0,u.j4)(v,{show:(0,u.SU)(o),"onUpdate:show":a[6]||(a[6]=e=>(0,u.dq)(o)?o.value=e:null),title:e.$t("mailbox.form.batchAddTitle"),width:500,onConfirm:p},{default:(0,u.w5)(()=>[(0,u.Wm)(f,{ref_key:"formRef",ref:r,class:"pt-8px",model:(0,u.SU)(n),rules:s},{default:(0,u.w5)(()=>[(0,u.Wm)(t,{label:e.$t("mailbox.form.domain"),path:"domain"},{default:(0,u.w5)(()=>[(0,u.Wm)(q,{value:(0,u.SU)(n).domain,"onUpdate:value":a[0]||(a[0]=e=>(0,u.SU)(n).domain=e),class:"flex-1","is-all":!1,disabled:!1},null,8,["value"])]),_:1},8,["label"]),(0,u.Wm)(t,{label:e.$t("mailbox.form.prefix"),path:"prefix"},{default:(0,u.w5)(()=>[(0,u.Wm)(l,{value:(0,u.SU)(n).prefix,"onUpdate:value":a[1]||(a[1]=e=>(0,u.SU)(n).prefix=e)},null,8,["value"])]),_:1},8,["label"]),(0,u.Wm)(t,{label:e.$t("mailbox.form.count"),path:"count"},{default:(0,u.w5)(()=>[(0,u.Wm)(i,{value:(0,u.SU)(n).count,"onUpdate:value":a[2]||(a[2]=e=>(0,u.SU)(n).count=e),class:"flex-1",min:1,"show-button":!1},null,8,["value"])]),_:1},8,["label"]),(0,u.kq)("",!0),(0,u.Wm)(t,{label:e.$t("mailbox.form.quota"),path:"quota"},{default:(0,u.w5)(()=>[(0,u.Wm)(c,null,{default:(0,u.w5)(()=>[(0,u.Wm)(i,{value:(0,u.SU)(n).quota,"onUpdate:value":a[4]||(a[4]=e=>(0,u.SU)(n).quota=e),class:"flex-1",min:1,"show-button":!1},null,8,["value"]),(0,u.Wm)(m,{value:(0,u.SU)(n).unit,"onUpdate:value":a[5]||(a[5]=e=>(0,u.SU)(n).unit=e),class:"flex-1",options:d},null,8,["value"])]),_:1})]),_:1},8,["label"])]),_:1},8,["model"])]),_:1},8,["show","title"])}}});var j=t(3179);let M={class:"py-16px"},E=(0,u.aZ)({__name:"MailboxImport",emits:["refresh"],setup(e,a){let{expose:t,emit:l}=a,{t:i}=(0,W.QT)(),o=(0,u.iH)(!1),r=(0,u.qj)({file_data:"",file_type:""}),n=e=>{let a=new FileReader;a.onload=a=>{var t;r.file_type=e.name.substring(e.name.lastIndexOf(".")+1),r.file_data=null==(t=a.target)?void 0:t.result},e.file&&a.readAsText(e.file)},s=async()=>{if(!r.file_data||!r.file_type)return f.v0.error(i("mailbox.validation.fileRequired")),!1;await (0,h.H2)((0,u.IU)(r)),l("refresh")},d=()=>{r.file_data="",r.file_type=""};return t({open:()=>{d(),o.value=!0}}),(e,a)=>{let t=j.Z,l=P.Z;return(0,u.wg)(),(0,u.j4)(l,{show:(0,u.SU)(o),"onUpdate:show":a[0]||(a[0]=e=>(0,u.dq)(o)?o.value=e:null),title:e.$t("mailbox.form.importTitle"),width:480,onConfirm:s},{default:(0,u.w5)(()=>[(0,u._)("div",M,[(0,u.Wm)(t,{"is-upload":!1,accept:["csv"],onChange:n})])]),_:1},8,["show","title"])}}}),F=(0,u.aZ)({__name:"MailboxExport",setup(e,a){let{expose:t}=a,l=(0,u.iH)(!1),i=(0,u.iH)(null),o=async()=>{await (0,h.ym)({domain:i.value||""})};return t({open:e=>{i.value=e||null,l.value=!0}}),(e,a)=>{let t=z.ZP,r=R.Z,n=P.Z;return(0,u.wg)(),(0,u.j4)(n,{show:(0,u.SU)(l),"onUpdate:show":a[1]||(a[1]=e=>(0,u.dq)(l)?l.value=e:null),title:e.$t("mailbox.form.exportTitle"),width:480,onConfirm:o},{default:(0,u.w5)(()=>[(0,u.Wm)(r,{class:"pt-8px"},{default:(0,u.w5)(()=>[(0,u.Wm)(t,{label:e.$t("mailbox.form.domain")},{default:(0,u.w5)(()=>[(0,u.Wm)(q,{value:(0,u.SU)(i),"onUpdate:value":a[0]||(a[0]=e=>(0,u.dq)(i)?i.value=e:null)},null,8,["value"])]),_:1},8,["label"])]),_:1})]),_:1},8,["show","title"])}}}),O={class:"p-24px"},K={class:"bt-title"},H={class:"w-220px"};function D(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,u.lA)(e)}let G=(0,u.aZ)({__name:"index",setup(e){let a=(0,c.tLD)(),{t}=(0,W.QT)(),{copyText:w}=(0,b.F)(),x=(0,u.AE)("batchAddRef"),_=()=>{var e;null==(e=x.value)||e.open()},y=(0,u.AE)("importRef"),S=()=>{var e;null==(e=y.value)||e.open()},k=(0,u.AE)("exportRef"),Z=()=>{var e;null==(e=k.value)||e.open(R.value.domain)},{tableParams:R,tableProps:C,pageProps:z,batchProps:B,fetchTable:T,resetTable:P}=(0,g.N)({loading:!0,immediate:!0,params:{page:1,page_size:10,domain:a.value.state.domain||"",keyword:""},rowKey:e=>e.username,fetchFn:h.iC}),j=(0,u.iH)([{type:"selection",width:40},{key:"username",title:t("mailbox.columns.username"),minWidth:120,ellipsis:{tooltip:!0}},{key:"password",title:t("mailbox.columns.password"),width:"18%",minWidth:120,render:e=>(0,u.Wm)(U,{value:e.password||"--"},null)},{key:"login",title:t("mailbox.columns.loginInfo"),align:"center",render:e=>{let a;return(0,u.Wm)(d.ZP,{text:!0,type:"primary",onClick:()=>{w(t("mailbox.loginInfo.template",{webmail:window.location.origin+"/roundcube",username:e.username,password:e.password,mx:e.mx}))}},D(a=t("common.actions.copy"))?a:{default:()=>[a]})}},{key:"quota",title:t("mailbox.columns.quota"),width:"14%",minWidth:120,render:e=>(0,f.UO)(e.quota)},{key:"is_admin",title:t("mailbox.columns.type"),width:"14%",minWidth:100,render:e=>1===e.is_admin?t("mailbox.userType.admin"):t("mailbox.userType.general")},{key:"status",title:t("mailbox.columns.status"),width:"12%",minWidth:80,render:e=>(0,u.Wm)(p.Z,{value:e.active,"checked-value":1,"unchecked-value":0,size:"small",onUpdateValue:a=>{L(e,a)}},null)},{title:t("common.columns.actions"),key:"actions",align:"right",width:120,render:e=>{let a,l;return(0,u.Wm)(m.Z,{inline:!0},{default:()=>[(0,u.Wm)(d.ZP,{type:"primary",text:!0,onClick:()=>{V(e)}},D(a=t("common.actions.edit"))?a:{default:()=>[a]}),(0,u.Wm)(d.ZP,{type:"error",text:!0,onClick:()=>{Q(e)}},D(l=t("common.actions.delete"))?l:{default:()=>[l]})]})}}]),[M,G]=(0,v.d)({component:A,state:{isEdit:!1,refresh:T}}),I=()=>{G.setState({isEdit:!1,row:null}),G.open()},L=async(e,a)=>{await (0,h.EV)({full_name:e.full_name,domain:e.domain,password:e.password,quota:e.quota,isAdmin:e.is_admin,active:a}),e.active=a},V=e=>{G.setState({isEdit:!0,row:e}),G.open()},Q=e=>{(0,f.iG)({title:t("mailbox.delete.title"),content:t("mailbox.delete.confirm",{name:e.username}),confirmText:t("common.actions.delete"),confirmType:"error",onConfirm:async()=>{await (0,h.WS)({emails:[e.username]}),T()}})},J=[{label:t("mailbox.actions.batchDelete"),value:"delete"}],N=(e,a)=>{"delete"===e&&Y(a)},Y=e=>{(0,f.iG)({title:t("mailbox.actions.batchDelete"),content:t("mailbox.delete.batchConfirm",{count:e.length}),confirmText:t("common.actions.delete"),confirmType:"error",onConfirm:async()=>{await (0,h.WS)({emails:e}),T()}})};return(e,a)=>{let p=s.Z,m=n.Z,c=r.Z,f=o.Z,v=i.Z,b=l.Z;return(0,u.wg)(),(0,u.iD)("div",O,[(0,u._)("div",K,(0,u.zw)((0,u.SU)(t)("layout.menu.mailboxes")),1),(0,u.Wm)(b,null,{toolsLeft:(0,u.w5)(()=>[(0,u.Wm)((0,u.SU)(d.ZP),{type:"primary",onClick:I},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)((0,u.SU)(t)("mailbox.actions.add")),1)]),_:1}),(0,u.Wm)((0,u.SU)(d.ZP),{onClick:_},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)(e.$t("mailbox.actions.batchAdd")),1)]),_:1}),(0,u.Wm)((0,u.SU)(d.ZP),{onClick:S},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)(e.$t("common.actions.import")),1)]),_:1}),(0,u.Wm)((0,u.SU)(d.ZP),{onClick:Z},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)((0,u.SU)(t)("mailbox.actions.exportAll")),1)]),_:1})]),toolsRight:(0,u.w5)(()=>[(0,u._)("div",H,[(0,u.Wm)(q,{value:(0,u.SU)(R).domain,"onUpdate:value":[a[0]||(a[0]=e=>(0,u.SU)(R).domain=e),a[1]||(a[1]=()=>(0,u.SU)(P)())]},null,8,["value"])]),(0,u.Wm)(p,{value:(0,u.SU)(R).keyword,"onUpdate:value":a[2]||(a[2]=e=>(0,u.SU)(R).keyword=e),width:280,placeholder:(0,u.SU)(t)("mailbox.search.usernamePlaceholder"),onSearch:a[3]||(a[3]=()=>(0,u.SU)(P)())},null,8,["value","placeholder"])]),table:(0,u.w5)(()=>[(0,u.Wm)(c,(0,u.dG)((0,u.SU)(C),{columns:(0,u.SU)(j)}),{empty:(0,u.w5)(()=>[(0,u.Wm)(m)]),_:1},16,["columns"])]),pageLeft:(0,u.w5)(()=>[(0,u.Wm)(f,(0,u.dG)((0,u.SU)(B),{options:J,onSelect:N}),null,16)]),pageRight:(0,u.w5)(()=>[(0,u.Wm)(v,(0,u.dG)((0,u.SU)(z),{onRefresh:(0,u.SU)(T)}),null,16,["onRefresh"])]),modal:(0,u.w5)(()=>[(0,u.Wm)((0,u.SU)(M)),(0,u.Wm)($,{ref_key:"batchAddRef",ref:x,onRefresh:(0,u.SU)(T)},null,8,["onRefresh"]),(0,u.Wm)(E,{ref_key:"importRef",ref:y,onRefresh:(0,u.SU)(T)},null,8,["onRefresh"]),(0,u.Wm)(F,{ref_key:"exportRef",ref:k},null,512)]),_:1})])}}})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/2364.eb92ae55.js b/core/public/dist/static/js/async/2364.eb92ae55.jsnew file mode 100644index 00000000..5db39ae8--- /dev/null+++ b/core/public/dist/static/js/async/2364.eb92ae55.js@@ -0,0 +1 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["2364"],{39432:function(e,a,l){l.d(a,{Au:()=>p,Fj:()=>u,LC:()=>n,Lb:()=>h,M7:()=>g,OV:()=>m,dj:()=>d,gK:()=>r,i7:()=>o,qt:()=>s,rU:()=>w,v1:()=>c,xh:()=>v,yW:()=>f});var t=l(34541);let{t:i}=l(76882).Z.global,o=e=>t.e.get("/domains/list",{params:e}),n=()=>t.e.get("/domains/all"),s=()=>t.e.post("/multi_ip_domain/apply"),u=e=>t.e.post("/domains/create",e,{fetchOptions:{loading:i("domain.api.loading.creating"),successMessage:!0}}),r=e=>t.e.post("/domains/update",e,{fetchOptions:{loading:i("domain.api.loading.updating"),successMessage:!0}}),d=e=>t.e.post("/domains/delete",e,{fetchOptions:{loading:i("domain.api.loading.deleting"),successMessage:!0}}),m=e=>t.e.post("/domains/set_ssl",e,{fetchOptions:{loading:i("domain.api.loading.settingSSL"),successMessage:!0}}),p=e=>t.e.get("/domains/get_ssl",{params:e}),c=e=>t.e.post("/domains/fresh_dns_records",e,{fetchOptions:{loading:i("domain.api.loading.refreshingDns"),successMessage:!0}}),f=e=>t.e.post("/ssl/apply_cert",e,{fetchOptions:{loading:i("domain.api.loading.applyingCert"),successMessage:!0}}),v=e=>t.e.post("/domains/set_default_domain",e,{fetchOptions:{loading:i("domain.api.loading.settingDefault"),successMessage:!0}}),w=e=>t.e.post("/askai/project/create",e,{fetchOptions:{loading:i("domain.api.loading.settingBrandInfo"),successMessage:!0}}),g=e=>t.e.post("/multi_ip_domain/test",e,{fetchOptions:{loading:i("domain.api.loading.testingConnection"),successMessage:!0}}),h=()=>t.e.post("/askai/supplier/status")},67127:function(e,a,l){l.d(a,{EV:()=>u,H2:()=>m,Ts:()=>n,WS:()=>r,Yi:()=>s,iC:()=>o,ym:()=>d});var t=l(34541);let{t:i}=l(76882).Z.global,o=e=>t.e.get("/mailbox/list",{params:e}),n=e=>t.e.post("/mailbox/create",e,{fetchOptions:{loading:i("mailbox.api.loading.creating"),successMessage:!0}}),s=e=>t.e.post("/mailbox/batch_create",e,{fetchOptions:{loading:i("mailbox.api.loading.creating"),successMessage:!0}}),u=e=>t.e.post("/mailbox/update",e,{fetchOptions:{loading:i("mailbox.api.loading.updating"),successMessage:!0}}),r=e=>t.e.post("/mailbox/delete",e,{fetchOptions:{loading:i("mailbox.api.loading.deleting"),successMessage:!0}}),d=e=>t.e.post("/mailbox/export",e,{responseType:"blob",fetchOptions:{loading:i("mailbox.api.loading.exporting"),successMessage:!0}}),m=e=>t.e.post("/mailbox/import",e,{fetchOptions:{loading:i("mailbox.api.loading.importing"),successMessage:!0}})},77984:function(e,a,l){l.d(a,{F:()=>n});var t=l(68271),i=l(94821),o=l(76882);let n=()=>{let{t:e}=o.Z.global,{copy:a,isSupported:l,copied:n}=(0,i.VPI)({legacy:!0});return{copied:n,copyText:async function(i){let o=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!i)return void t.v0.error(e("common.useCopy.noText"));l.value?(await a(i),o&&t.v0.success(e("common.useCopy.success"))):t.v0.error(e("common.useCopy.failed"))}}}},80947:function(e,a,l){l.d(a,{N:()=>n});var t=l(22895),i=l(68271),o=l(58786);let n=e=>{let{params:a,fetchFn:l,useParams:n,loading:s=!0,immediate:u=!0,rowKey:r=e=>e.id}=e,d=(0,o.iH)(s),m=(0,o.iH)([]),p=(0,o.iH)(0),c=(0,o.iH)(a),f=(0,o.iH)([]),v=()=>n?n(c.value):c.value,w=(0,t.DI)(async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&(c.value.page=1),d.value=!0;try{let e=v(),a=await l(e);(0,i.Kn)(a)&&(m.value=(0,i.kJ)(a.list)?a.list:[],p.value=(0,i.hj)(a.total)?a.total:0)}finally{f.value=[],d.value=!1}},300),g=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return w(e)},h=e=>{c.value.page=e},x=e=>{c.value.page_size=e};return(0,o.bv)(()=>{u&&g()}),{tableData:m,tableTotal:p,tableKeys:f,tableParams:c,fetchTable:g,resetTable:()=>g(!0),tableProps:(0,o.Fl)(()=>({rowKey:r,data:m.value,loading:d.value,checkedRowKeys:f.value,onUpdateCheckedRowKeys:e=>{f.value=e}})),batchProps:(0,o.Fl)(()=>({rowKey:r,data:m.value,checkedRowKeys:f.value,onUpdateCheckedRowKeys:e=>{f.value=e}})),pageProps:(0,o.Fl)(()=>({page:c.value.page,pageSize:c.value.page_size,itemCount:p.value,onUpdatePage:h,onUpdatePageSize:x}))}}},86559:function(e,a,l){l.d(a,{Z:()=>o});var t=l(73084),i=l(58786);let o=(0,i.aZ)({__name:"index",props:(0,i.Vf)({width:{default:240},prefix:{type:Boolean,default:!1}},{value:{default:""},valueModifiers:{}}),emits:(0,i.Vf)(["search"],["update:value"]),setup(e,a){let{expose:l,emit:o}=a,n=(0,i.iH)(null),s=(0,i.tT)(e,"value"),u=()=>{o("search",s.value)};return l({focus:()=>{var e;null==(e=n.value)||e.focus()}}),(e,a)=>{let l=t.Z;return(0,i.wg)(),(0,i.j4)(l,(0,i.dG)({ref_key:"inputRef",ref:n,value:s.value,"onUpdate:value":a[0]||(a[0]=e=>s.value=e)},e.$attrs,{class:"bt-search",style:{width:`${e.width}px`},onKeyup:(0,i.D2)(u,["enter"])}),(0,i.Nv)({_:2},[e.prefix?{name:"prefix",fn:(0,i.w5)(()=>[(0,i._)("div",{class:"flex items-center cursor-pointer",onClick:u},a[1]||(a[1]=[(0,i._)("i",{class:"i-mdi-search text-16px"},null,-1)]))]),key:"0"}:void 0,e.prefix?void 0:{name:"suffix",fn:(0,i.w5)(()=>[(0,i._)("div",{class:"flex items-center cursor-pointer",onClick:u},a[2]||(a[2]=[(0,i._)("i",{class:"i-mdi-search text-16px"},null,-1)]))]),key:"1"}]),1040,["value","style"])}}})},4340:function(e,a,l){l.d(a,{Z:()=>u});var t=l(15496),i=l(23685),o=l(58786);let n={class:"flex gap-10px"},s={class:"flex-center w-40px"},u=(0,o.aZ)({__name:"index",props:{data:{type:Array,default:()=>[]},rowKey:{type:Function,required:!0},options:{type:Array,default:()=>[]},checkedRowKeys:{type:Array,default:()=>[]}},emits:["updateCheckedRowKeys","select"],setup(e,a){let{emit:l}=a,u=(0,o.Fl)({get:()=>e.checkedRowKeys.length>0&&e.checkedRowKeys.length===e.data.length,set(a){l("updateCheckedRowKeys",a?e.data.map(a=>e.rowKey(a)):[])}}),r=(0,o.Fl)(()=>0===e.data.length),d=(0,o.Fl)(()=>e.checkedRowKeys.length>0&&e.checkedRowKeys.length<e.data.length),m=(0,o.Fl)(()=>0===e.checkedRowKeys.length),p=a=>{l("select",a,e.checkedRowKeys)};return(a,l)=>{let c=i.Z,f=t.ZP;return(0,o.wg)(),(0,o.iD)("div",n,[(0,o._)("div",s,[(0,o.Wm)(c,{checked:(0,o.SU)(u),"onUpdate:checked":l[0]||(l[0]=e=>(0,o.dq)(u)?u.value=e:null),disabled:(0,o.SU)(r),indeterminate:(0,o.SU)(d)},null,8,["checked","disabled","indeterminate"])]),((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(e.options,e=>((0,o.wg)(),(0,o.j4)(f,{key:e.value,disabled:(0,o.SU)(m),onClick:a=>p(e.value)},{default:(0,o.w5)(()=>[(0,o.Uk)((0,o.zw)(e.label),1)]),_:2},1032,["disabled","onClick"]))),128))])}}})},66760:function(e,a,l){l.d(a,{Z:()=>s});var t=l(81021),i=l(15496),o=l(58786);let n={class:"leading-22px text-13px text-desc text-center"},s=(0,o.aZ)({__name:"index",setup(e){let a=()=>{window.open("https://github.com/aaPanel/BillionMail/issues")},l=()=>{window.open("https://github.com/aaPanel/BillionMail")};return(e,s)=>{let u=i.ZP,r=(0,o.up)("i18n-t"),d=t.Z;return(0,o.wg)(),(0,o.j4)(d,null,{default:(0,o.w5)(()=>[(0,o._)("div",n,[(0,o.Wm)(r,{tag:"span",scope:"global",keypath:"components.tableHelp.text1"},{issues:(0,o.w5)(()=>[(0,o.Wm)(u,{class:"text-13px",type:"primary",text:"",onClick:a},{default:(0,o.w5)(()=>s[0]||(s[0]=[(0,o._)("span",null,"Issues",-1),(0,o._)("i",{class:"i-mdi:arrow-right ml-1px"},null,-1)])),_:1,__:[0]})]),star:(0,o.w5)(()=>[(0,o.Wm)(u,{class:"text-13px",type:"primary",text:"",onClick:l},{default:(0,o.w5)(()=>s[1]||(s[1]=[(0,o.Uk)(" Star "),(0,o._)("i",{class:"i-mdi:arrow-right ml-1px"},null,-1)])),_:1,__:[1]})]),_:1}),s[2]||(s[2]=(0,o._)("br",null,null,-1)),(0,o._)("span",null,(0,o.zw)(e.$t("components.tableHelp.text2")),1)])]),_:1})}}})},39244:function(e,a,l){l.d(a,{Z:()=>o});var t=l(93953),i=l(58786);let o=(0,i.aZ)({__name:"index",setup(e){let a=!!(0,i.Rr)().toolsLeft,l=!!(0,i.Rr)().toolsRight,o=!!(0,i.Rr)().pageLeft||!!(0,i.Rr)().pageRight;return(e,n)=>{let s=t.Z;return(0,i.wg)(),(0,i.iD)("div",null,[a||l?((0,i.wg)(),(0,i.j4)(s,{key:0,class:"items-center mb-12px",justify:"space-between"},{default:(0,i.w5)(()=>[(0,i.Wm)(s,{class:"items-center",size:12},{default:(0,i.w5)(()=>[(0,i.WI)(e.$slots,"toolsLeft")]),_:3}),(0,i.Wm)(s,{class:"items-center",size:12},{default:(0,i.w5)(()=>[(0,i.WI)(e.$slots,"toolsRight")]),_:3})]),_:3})):(0,i.kq)("",!0),(0,i.WI)(e.$slots,"table"),(0,i.SU)(o)?((0,i.wg)(),(0,i.j4)(s,{key:1,class:"items-center mt-12px",justify:"space-between"},{default:(0,i.w5)(()=>[(0,i._)("div",null,[(0,i.WI)(e.$slots,"pageLeft")]),(0,i.Wm)(s,null,{default:(0,i.w5)(()=>[(0,i.WI)(e.$slots,"pageRight")]),_:3})]),_:3})):(0,i.kq)("",!0),(0,i.WI)(e.$slots,"modal")])}}})},25170:function(e,a,l){l.d(a,{Z:()=>s});var t=l(75459),i=l(58786),o=l(68271);let n={class:"ml-8px text-14px"},s=(0,i.aZ)({__name:"index",props:(0,i.Vf)({storeKey:{default:""},pageSizes:{default:()=>[10,20,50,100]},showTotal:{type:Boolean,default:!0},showSizePicker:{type:Boolean,default:!0},showQuickJumper:{type:Boolean,default:!0},onUpdatePage:{}},{page:{},pageModifiers:{},pageSize:{},pageSizeModifiers:{}}),emits:(0,i.Vf)(["refresh"],["update:page","update:pageSize"]),setup(e,a){let{emit:l}=a,s=(0,i.Fl)(()=>{let{storeKey:a}=e;return a?`${a}-page`:""}),u=(0,i.tT)(e,"page"),r=(0,i.tT)(e,"pageSize"),d=a=>{var t;null==(t=e.onUpdatePage)||t.call(e,a),l("refresh")},m=a=>{var t;u.value=1,null==(t=e.onUpdatePage)||t.call(e,1),p(a),l("refresh")},p=e=>{s.value&&(0,o.qQ)(s.value,String(e))};if(s.value){let e=(0,o.$o)(s.value);e&&(r.value=(0,o.Dx)(e))}return(e,a)=>{let l=t.Z;return(0,i.wg)(),(0,i.j4)(l,(0,i.dG)(e.$attrs,{page:u.value,"onUpdate:page":[a[0]||(a[0]=e=>u.value=e),d],"page-size":r.value,"onUpdate:pageSize":[a[1]||(a[1]=e=>r.value=e),m],"show-size-picker":e.showSizePicker,"show-quick-jumper":e.showQuickJumper,"page-sizes":e.pageSizes,"display-order":["pages","size-picker","quick-jumper"]}),(0,i.Nv)({_:2},[e.showTotal?{name:"suffix",fn:(0,i.w5)(e=>{let{itemCount:a}=e;return[(0,i._)("span",n," Total "+(0,i.zw)(a),1)]}),key:"0"}:void 0]),1040,["page","page-size","show-size-picker","show-quick-jumper","page-sizes"])}}})},26638:function(e,a,l){l.r(a),l.d(a,{default:()=>D});var t=l(39244),i=l(25170),o=l(4340),n=l(60424),s=l(66760),u=l(86559),r=l(58786),d=l(15496),m=l(29875),p=l(93953),c=l(94821),f=l(68271),v=l(51169),w=l(77984),g=l(80947),h=l(67127),x=l(35409);let b={class:"flex"},_={class:"w-0 flex-1 flex items-center"},y={class:"min-w-0"},U=(0,r.aZ)({__name:"index",props:{value:{default:""}},setup(e){let{copyText:a}=(0,w.F)(),l=(0,r.iH)(!1),t=(0,r.Fl)(()=>l.value?e.value:"**********"),i=()=>{l.value=!l.value},o=async()=>{a(`${e.value}`)};return(e,a)=>{let n=x.ZP;return(0,r.wg)(),(0,r.iD)("div",b,[(0,r._)("div",_,[(0,r._)("div",y,[(0,r.Wm)(n,{class:"max-w-full",tooltip:{contentStyle:{maxWidth:"200px"}}},{default:(0,r.w5)(()=>[(0,r.Uk)((0,r.zw)((0,r.SU)(t)),1)]),_:1})]),(0,r._)("div",{class:"ml-6px text-15px cursor-pointer",title:"Show",onClick:i},[(0,r._)("i",{class:(0,r.C_)((0,r.SU)(l)?"i-mdi-eye-outline":"i-mdi-eye-off-outline")},null,2)]),(0,r._)("div",{class:"reset ml-6px text-15px cursor-pointer text-#333",title:"Copy",onClick:o},a[0]||(a[0]=[(0,r._)("i",{class:"i-mdi-content-copy"},null,-1)]))])])}}});var S=l(8490),k=l(39432),W=l(52495);let Z=(0,r.aZ)({__name:"DomainSelect",props:(0,r.Vf)({isAll:{type:Boolean,default:!0}},{value:{default:()=>null},valueModifiers:{}}),emits:["update:value"],setup(e){let{t:a}=(0,W.QT)(),l=(0,r.tT)(e,"value"),t=(0,r.iH)(!1),i=(0,r.iH)([]);return(async()=>{try{t.value=!0;let o=await (0,k.LC)();(0,f.kJ)(o)&&(i.value=o.map(e=>({label:e.domain,value:e.domain})),e.isAll?(i.value.unshift({label:a("common.all.text"),value:""}),l.value||(l.value="")):o.length>0&&!l.value&&(l.value=o[0].domain))}finally{t.value=!1}})(),(e,o)=>{let n=S.Z;return(0,r.wg)(),(0,r.j4)(n,{value:l.value,"onUpdate:value":o[0]||(o[0]=e=>l.value=e),loading:(0,r.SU)(t),filterable:!0,options:(0,r.SU)(i),placeholder:(0,r.SU)(a)("mailbox.domain.selectPlaceholder")},null,8,["value","loading","options","placeholder"])}}}),q=(0,l(41748).default)(Z,[["__scopeId","data-v-186220da"]]);var R=l(46244),C=l(29283),z=l(6455),T=l(79537),M=l(73084);let A=(0,r.aZ)({__name:"MailboxForm",setup(e){let{t:a}=(0,W.QT)(),l=(0,r.iH)(!1),t=(0,r.Fl)(()=>l.value?a("mailbox.form.editTitle"):a("mailbox.form.addTitle")),i=(0,r.AE)("formRef"),o=(0,r.qj)({quota:5,unit:"GB",isAdmin:0,full_name:"",local_part:"",domain:null,password:(0,f.JL)(),active:1}),n=[{label:"GB",value:"GB"},{label:"MB",value:"MB"}],s=[{label:a("mailbox.userType.general"),value:0},{label:a("mailbox.userType.admin"),value:1}],u={full_name:{required:!0,trigger:"blur",validator:()=>""!==o.full_name.trim()||Error("Please enter name")},domain:{trigger:"blur",required:!0,validator:()=>""!==o.local_part.trim()&&!!o.domain||Error(a("mailbox.validation.emailRequired"))},password:{trigger:"blur",required:!0,validator:()=>{if(l.value){if(o.password&&o.password.trim().length<8)return Error(a("mailbox.validation.passwordLength"));if(o.password&&!/^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).*$/.test(o.password))return Error(a("mailbox.validation.passwordFormat"))}else{if(o.password.trim().length<8)return Error(a("mailbox.validation.passwordLength"));if(!/^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).*$/.test(o.password))return Error(a("mailbox.validation.passwordFormat"))}return!0}}},d=e=>{o.full_name=e},p=(e,a)=>{switch(a){case"GB":e*=1024;case"MB":e*=1048576}return e},c=()=>({full_name:o.full_name,local_part:o.local_part,domain:o.domain||"",password:o.password,quota:p(o.quota,o.unit),isAdmin:o.isAdmin,active:o.active}),[w,g]=(0,v.d)({onChangeState:e=>{if(e){let e=g.getState(),{row:a}=e;if(l.value=e.isEdit,a){o.full_name=a.full_name,o.local_part=a.local_part,o.domain=a.domain,o.isAdmin=a.is_admin,o.active=a.active,o.password=a.password;let[e,l]=(0,f.UO)(a.quota).split(" ");o.quota=(0,f.Dx)(e),o.unit=l}}else o.full_name="",o.local_part="",o.domain=null,o.password=(0,f.JL)(),o.quota=5,o.unit="GB",o.isAdmin=0,o.active=1},onConfirm:async()=>{var e;await (null==(e=i.value)?void 0:e.validate());let a=c();l.value?await (0,h.EV)(a):await (0,h.Ts)(a),g.getState().refresh()}});return(e,p)=>{let c=M.Z,f=T.Z,v=z.ZP,g=C.Z,h=S.Z,x=m.Z,b=R.Z;return(0,r.wg)(),(0,r.j4)((0,r.SU)(w),{title:(0,r.SU)(t),width:"520"},{default:(0,r.w5)(()=>[(0,r.Wm)(b,{ref_key:"formRef",ref:i,class:"pt-20px",model:(0,r.SU)(o),rules:u},{default:(0,r.w5)(()=>[(0,r.Wm)(v,{label:(0,r.SU)(a)("mailbox.form.emailAddress"),path:"domain"},{default:(0,r.w5)(()=>[(0,r.Wm)(f,null,{default:(0,r.w5)(()=>[(0,r.Wm)(c,{value:(0,r.SU)(o).local_part,"onUpdate:value":[p[0]||(p[0]=e=>(0,r.SU)(o).local_part=e),d],class:"flex-1",disabled:(0,r.SU)(l)},null,8,["value","disabled"]),(0,r.Wm)(q,{value:(0,r.SU)(o).domain,"onUpdate:value":p[1]||(p[1]=e=>(0,r.SU)(o).domain=e),class:"flex-1","is-all":!1,disabled:(0,r.SU)(l)},null,8,["value","disabled"])]),_:1})]),_:1},8,["label"]),(0,r.Wm)(v,{label:"Display Name",path:"full_name"},{default:(0,r.w5)(()=>[(0,r.Wm)(c,{value:(0,r.SU)(o).full_name,"onUpdate:value":p[2]||(p[2]=e=>(0,r.SU)(o).full_name=e)},null,8,["value"])]),_:1}),(0,r.Wm)(v,{label:(0,r.SU)(a)("mailbox.form.password"),path:"password"},{default:(0,r.w5)(()=>[(0,r.Wm)(c,{value:(0,r.SU)(o).password,"onUpdate:value":p[3]||(p[3]=e=>(0,r.SU)(o).password=e),placeholder:(0,r.SU)(a)("mailbox.form.passwordPlaceholder")},null,8,["value","placeholder"])]),_:1},8,["label"]),(0,r.Wm)(v,{label:(0,r.SU)(a)("mailbox.form.quota"),path:"quota"},{default:(0,r.w5)(()=>[(0,r.Wm)(f,null,{default:(0,r.w5)(()=>[(0,r.Wm)(g,{value:(0,r.SU)(o).quota,"onUpdate:value":p[4]||(p[4]=e=>(0,r.SU)(o).quota=e),class:"flex-1",min:1,"show-button":!1},null,8,["value"]),(0,r.Wm)(h,{value:(0,r.SU)(o).unit,"onUpdate:value":p[5]||(p[5]=e=>(0,r.SU)(o).unit=e),class:"flex-1",options:n},null,8,["value"])]),_:1})]),_:1},8,["label"]),(0,r.Wm)(v,{label:(0,r.SU)(a)("mailbox.form.userType"),path:"userType"},{default:(0,r.w5)(()=>[(0,r.Wm)(h,{value:(0,r.SU)(o).isAdmin,"onUpdate:value":p[6]||(p[6]=e=>(0,r.SU)(o).isAdmin=e),options:s},null,8,["value"])]),_:1},8,["label"]),(0,r.Wm)(v,{label:(0,r.SU)(a)("mailbox.form.status"),"show-feedback":!1},{default:(0,r.w5)(()=>[(0,r.Wm)(x,{value:(0,r.SU)(o).active,"onUpdate:value":p[7]||(p[7]=e=>(0,r.SU)(o).active=e),"checked-value":1,"unchecked-value":0},null,8,["value"])]),_:1},8,["label"])]),_:1},8,["model"])]),_:1},8,["title"])}}});var P=l(49247);let j=(0,r.aZ)({__name:"MailboxBatchAdd",emits:["refresh"],setup(e,a){let{expose:l,emit:t}=a,{t:i}=(0,W.QT)(),o=(0,r.iH)(!1),n=(0,r.AE)("formRef"),s=(0,r.qj)({domain:null,prefix:"",count:10,quota:5,unit:"GB",password:""}),u={domain:{trigger:"change",required:!0,validator:()=>!!s.domain||Error(i("mailbox.validation.domainRequired"))},prefix:{trigger:"blur",required:!0,validator:()=>!(s.prefix.trim().length<1)||Error(i("mailbox.validation.prefixRequired"))},count:{trigger:"blur",required:!0,validator:()=>!(s.count<1)||Error(i("mailbox.validation.countRequired"))}},d=[{label:"GB",value:"GB"},{label:"MB",value:"MB"}],m=async()=>{var e;await (null==(e=n.value)?void 0:e.validate()),await (0,h.Yi)(p()),t("refresh")},p=()=>({domain:s.domain||"",quota:c(s.quota,s.unit),prefix:s.prefix,count:s.count}),c=(e,a)=>{switch(a){case"GB":e*=1024;case"MB":e*=1048576}return e},f=()=>{s.domain=null,s.prefix="",s.count=10,s.quota=5,s.unit="GB",s.password=""};return l({open:()=>{f(),o.value=!0}}),(e,a)=>{let l=z.ZP,t=M.Z,i=C.Z,p=S.Z,c=T.Z,f=R.Z,v=P.Z;return(0,r.wg)(),(0,r.j4)(v,{show:(0,r.SU)(o),"onUpdate:show":a[6]||(a[6]=e=>(0,r.dq)(o)?o.value=e:null),title:e.$t("mailbox.form.batchAddTitle"),width:500,onConfirm:m},{default:(0,r.w5)(()=>[(0,r.Wm)(f,{ref_key:"formRef",ref:n,class:"pt-8px",model:(0,r.SU)(s),rules:u},{default:(0,r.w5)(()=>[(0,r.Wm)(l,{label:e.$t("mailbox.form.domain"),path:"domain"},{default:(0,r.w5)(()=>[(0,r.Wm)(q,{value:(0,r.SU)(s).domain,"onUpdate:value":a[0]||(a[0]=e=>(0,r.SU)(s).domain=e),class:"flex-1","is-all":!1,disabled:!1},null,8,["value"])]),_:1},8,["label"]),(0,r.Wm)(l,{label:e.$t("mailbox.form.prefix"),path:"prefix"},{default:(0,r.w5)(()=>[(0,r.Wm)(t,{value:(0,r.SU)(s).prefix,"onUpdate:value":a[1]||(a[1]=e=>(0,r.SU)(s).prefix=e)},null,8,["value"])]),_:1},8,["label"]),(0,r.Wm)(l,{label:e.$t("mailbox.form.count"),path:"count"},{default:(0,r.w5)(()=>[(0,r.Wm)(i,{value:(0,r.SU)(s).count,"onUpdate:value":a[2]||(a[2]=e=>(0,r.SU)(s).count=e),class:"flex-1",min:1,"show-button":!1},null,8,["value"])]),_:1},8,["label"]),(0,r.kq)("",!0),(0,r.Wm)(l,{label:e.$t("mailbox.form.quota"),path:"quota"},{default:(0,r.w5)(()=>[(0,r.Wm)(c,null,{default:(0,r.w5)(()=>[(0,r.Wm)(i,{value:(0,r.SU)(s).quota,"onUpdate:value":a[4]||(a[4]=e=>(0,r.SU)(s).quota=e),class:"flex-1",min:1,"show-button":!1},null,8,["value"]),(0,r.Wm)(p,{value:(0,r.SU)(s).unit,"onUpdate:value":a[5]||(a[5]=e=>(0,r.SU)(s).unit=e),class:"flex-1",options:d},null,8,["value"])]),_:1})]),_:1},8,["label"])]),_:1},8,["model"])]),_:1},8,["show","title"])}}});var B=l(3179);let $={class:"py-16px"},E=(0,r.aZ)({__name:"MailboxImport",emits:["refresh"],setup(e,a){let{expose:l,emit:t}=a,{t:i}=(0,W.QT)(),o=(0,r.iH)(!1),n=(0,r.qj)({file_data:"",file_type:""}),s=e=>{let a=new FileReader;a.onload=a=>{var l;n.file_type=e.name.substring(e.name.lastIndexOf(".")+1),n.file_data=null==(l=a.target)?void 0:l.result},e.file&&a.readAsText(e.file)},u=async()=>{if(!n.file_data||!n.file_type)return f.v0.error(i("mailbox.validation.fileRequired")),!1;await (0,h.H2)((0,r.IU)(n)),t("refresh")},d=()=>{n.file_data="",n.file_type=""};return l({open:()=>{d(),o.value=!0}}),(e,a)=>{let l=B.Z,t=P.Z;return(0,r.wg)(),(0,r.j4)(t,{show:(0,r.SU)(o),"onUpdate:show":a[0]||(a[0]=e=>(0,r.dq)(o)?o.value=e:null),title:e.$t("mailbox.form.importTitle"),width:480,onConfirm:u},{default:(0,r.w5)(()=>[(0,r._)("div",$,[(0,r.Wm)(l,{"is-upload":!1,accept:["csv"],onChange:s})])]),_:1},8,["show","title"])}}}),K=(0,r.aZ)({__name:"MailboxExport",setup(e,a){let{expose:l}=a,t=(0,r.iH)(!1),i=(0,r.iH)(null),o=async()=>{await (0,h.ym)({domain:i.value||""})};return l({open:e=>{i.value=e||null,t.value=!0}}),(e,a)=>{let l=z.ZP,n=R.Z,s=P.Z;return(0,r.wg)(),(0,r.j4)(s,{show:(0,r.SU)(t),"onUpdate:show":a[1]||(a[1]=e=>(0,r.dq)(t)?t.value=e:null),title:e.$t("mailbox.form.exportTitle"),width:480,onConfirm:o},{default:(0,r.w5)(()=>[(0,r.Wm)(n,{class:"pt-8px"},{default:(0,r.w5)(()=>[(0,r.Wm)(l,{label:e.$t("mailbox.form.domain")},{default:(0,r.w5)(()=>[(0,r.Wm)(q,{value:(0,r.SU)(i),"onUpdate:value":a[0]||(a[0]=e=>(0,r.dq)(i)?i.value=e:null)},null,8,["value"])]),_:1},8,["label"])]),_:1})]),_:1},8,["show","title"])}}}),O={class:"p-24px"},F={class:"bt-title"},H={class:"w-220px"};function G(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,r.lA)(e)}let D=(0,r.aZ)({__name:"index",setup(e){let a=(0,c.tLD)(),{t:l}=(0,W.QT)(),{copyText:x}=(0,w.F)(),b=(0,r.AE)("batchAddRef"),_=()=>{var e;null==(e=b.value)||e.open()},y=(0,r.AE)("importRef"),S=()=>{var e;null==(e=y.value)||e.open()},k=(0,r.AE)("exportRef"),Z=()=>{var e;null==(e=k.value)||e.open(R.value.domain)},{tableParams:R,tableProps:C,pageProps:z,batchProps:T,fetchTable:M,resetTable:P}=(0,g.N)({loading:!0,immediate:!0,params:{page:1,page_size:10,domain:a.value.state.domain||"",keyword:""},rowKey:e=>e.username,fetchFn:h.iC}),B=(0,r.iH)([{type:"selection",width:40},{key:"username",title:l("mailbox.columns.username"),minWidth:120,ellipsis:{tooltip:!0}},{key:"password",title:l("mailbox.columns.password"),width:"18%",minWidth:120,render:e=>(0,r.Wm)(U,{value:e.password||"--"},null)},{key:"login",title:l("mailbox.columns.loginInfo"),align:"center",render:e=>{let a;return(0,r.Wm)(d.ZP,{text:!0,type:"primary",onClick:()=>{x(l("mailbox.loginInfo.template",{webmail:window.location.origin+"/roundcube",username:e.username,password:e.password,mx:e.mx}))}},G(a=l("common.actions.copy"))?a:{default:()=>[a]})}},{key:"quota",title:l("mailbox.columns.quota"),width:"14%",minWidth:120,render:e=>(0,f.UO)(e.quota)},{key:"is_admin",title:l("mailbox.columns.type"),width:"14%",minWidth:100,render:e=>1===e.is_admin?l("mailbox.userType.admin"):l("mailbox.userType.general")},{key:"status",title:l("mailbox.columns.status"),width:"12%",minWidth:80,render:e=>(0,r.Wm)(m.Z,{value:e.active,"checked-value":1,"unchecked-value":0,size:"small",onUpdateValue:a=>{L(e,a)}},null)},{title:l("common.columns.actions"),key:"actions",align:"right",width:120,render:e=>{let a,t;return(0,r.Wm)(p.Z,{inline:!0},{default:()=>[(0,r.Wm)(d.ZP,{type:"primary",text:!0,onClick:()=>{V(e)}},G(a=l("common.actions.edit"))?a:{default:()=>[a]}),(0,r.Wm)(d.ZP,{type:"error",text:!0,onClick:()=>{Q(e)}},G(t=l("common.actions.delete"))?t:{default:()=>[t]})]})}}]),[$,D]=(0,v.d)({component:A,state:{isEdit:!1,refresh:M}}),I=()=>{D.setState({isEdit:!1,row:null}),D.open()},L=async(e,a)=>{await (0,h.EV)({full_name:e.full_name,domain:e.domain,password:e.password,quota:e.quota,isAdmin:e.is_admin,active:a}),e.active=a},V=e=>{D.setState({isEdit:!0,row:e}),D.open()},Q=e=>{(0,f.iG)({title:l("mailbox.delete.title"),content:l("mailbox.delete.confirm",{name:e.username}),confirmText:l("common.actions.delete"),confirmType:"error",onConfirm:async()=>{await (0,h.WS)({emails:[e.username]}),M()}})},J=[{label:l("mailbox.actions.batchDelete"),value:"delete"}],N=(e,a)=>{"delete"===e&&Y(a)},Y=e=>{(0,f.iG)({title:l("mailbox.actions.batchDelete"),content:l("mailbox.delete.batchConfirm",{count:e.length}),confirmText:l("common.actions.delete"),confirmType:"error",onConfirm:async()=>{await (0,h.WS)({emails:e}),M()}})};return(e,a)=>{let m=u.Z,p=s.Z,c=n.Z,f=o.Z,v=i.Z,w=t.Z;return(0,r.wg)(),(0,r.iD)("div",O,[(0,r._)("div",F,(0,r.zw)((0,r.SU)(l)("layout.menu.mailboxes")),1),(0,r.Wm)(w,null,{toolsLeft:(0,r.w5)(()=>[(0,r.Wm)((0,r.SU)(d.ZP),{type:"primary",onClick:I},{default:(0,r.w5)(()=>[(0,r.Uk)((0,r.zw)((0,r.SU)(l)("mailbox.actions.add")),1)]),_:1}),(0,r.Wm)((0,r.SU)(d.ZP),{onClick:_},{default:(0,r.w5)(()=>[(0,r.Uk)((0,r.zw)(e.$t("mailbox.actions.batchAdd")),1)]),_:1}),(0,r.Wm)((0,r.SU)(d.ZP),{onClick:S},{default:(0,r.w5)(()=>[(0,r.Uk)((0,r.zw)(e.$t("common.actions.import")),1)]),_:1}),(0,r.Wm)((0,r.SU)(d.ZP),{onClick:Z},{default:(0,r.w5)(()=>[(0,r.Uk)((0,r.zw)((0,r.SU)(l)("mailbox.actions.exportAll")),1)]),_:1})]),toolsRight:(0,r.w5)(()=>[(0,r._)("div",H,[(0,r.Wm)(q,{value:(0,r.SU)(R).domain,"onUpdate:value":[a[0]||(a[0]=e=>(0,r.SU)(R).domain=e),a[1]||(a[1]=()=>(0,r.SU)(P)())]},null,8,["value"])]),(0,r.Wm)(m,{value:(0,r.SU)(R).keyword,"onUpdate:value":a[2]||(a[2]=e=>(0,r.SU)(R).keyword=e),width:280,placeholder:(0,r.SU)(l)("mailbox.search.usernamePlaceholder"),onSearch:a[3]||(a[3]=()=>(0,r.SU)(P)())},null,8,["value","placeholder"])]),table:(0,r.w5)(()=>[(0,r.Wm)(c,(0,r.dG)((0,r.SU)(C),{columns:(0,r.SU)(B)}),{empty:(0,r.w5)(()=>[(0,r.Wm)(p)]),_:1},16,["columns"])]),pageLeft:(0,r.w5)(()=>[(0,r.Wm)(f,(0,r.dG)((0,r.SU)(T),{options:J,onSelect:N}),null,16)]),pageRight:(0,r.w5)(()=>[(0,r.Wm)(v,(0,r.dG)((0,r.SU)(z),{onRefresh:(0,r.SU)(M)}),null,16,["onRefresh"])]),modal:(0,r.w5)(()=>[(0,r.Wm)((0,r.SU)($)),(0,r.Wm)(j,{ref_key:"batchAddRef",ref:b,onRefresh:(0,r.SU)(M)},null,8,["onRefresh"]),(0,r.Wm)(E,{ref_key:"importRef",ref:y,onRefresh:(0,r.SU)(M)},null,8,["onRefresh"]),(0,r.Wm)(K,{ref_key:"exportRef",ref:k},null,512)]),_:1})])}}})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/2546.32a7a0b5.js b/core/public/dist/static/js/async/2546.32a7a0b5.jsnew file mode 100644index 00000000..8151abe9--- /dev/null+++ b/core/public/dist/static/js/async/2546.32a7a0b5.js@@ -0,0 +1 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["2546"],{39432:function(e,a,t){t.d(a,{Au:()=>g,Fj:()=>u,LC:()=>s,Lb:()=>_,M7:()=>h,OV:()=>c,dj:()=>p,gK:()=>d,i7:()=>n,qt:()=>o,rU:()=>f,v1:()=>m,xh:()=>v,yW:()=>r});var i=t(34541);let{t:l}=t(76882).Z.global,n=e=>i.e.get("/domains/list",{params:e}),s=()=>i.e.get("/domains/all"),o=()=>i.e.post("/multi_ip_domain/apply"),u=e=>i.e.post("/domains/create",e,{fetchOptions:{loading:l("domain.api.loading.creating"),successMessage:!0}}),d=e=>i.e.post("/domains/update",e,{fetchOptions:{loading:l("domain.api.loading.updating"),successMessage:!0}}),p=e=>i.e.post("/domains/delete",e,{fetchOptions:{loading:l("domain.api.loading.deleting"),successMessage:!0}}),c=e=>i.e.post("/domains/set_ssl",e,{fetchOptions:{loading:l("domain.api.loading.settingSSL"),successMessage:!0}}),g=e=>i.e.get("/domains/get_ssl",{params:e}),m=e=>i.e.post("/domains/fresh_dns_records",e,{fetchOptions:{loading:l("domain.api.loading.refreshingDns"),successMessage:!0}}),r=e=>i.e.post("/ssl/apply_cert",e,{fetchOptions:{loading:l("domain.api.loading.applyingCert"),successMessage:!0}}),v=e=>i.e.post("/domains/set_default_domain",e,{fetchOptions:{loading:l("domain.api.loading.settingDefault"),successMessage:!0}}),f=e=>i.e.post("/askai/project/create",e,{fetchOptions:{loading:l("domain.api.loading.settingBrandInfo"),successMessage:!0}}),h=e=>i.e.post("/multi_ip_domain/test",e,{fetchOptions:{loading:l("domain.api.loading.testingConnection"),successMessage:!0}}),_=()=>i.e.post("/askai/supplier/status")},67127:function(e,a,t){t.d(a,{EV:()=>u,H2:()=>c,Ts:()=>s,WS:()=>d,Yi:()=>o,iC:()=>n,ym:()=>p});var i=t(34541);let{t:l}=t(76882).Z.global,n=e=>i.e.get("/mailbox/list",{params:e}),s=e=>i.e.post("/mailbox/create",e,{fetchOptions:{loading:l("mailbox.api.loading.creating"),successMessage:!0}}),o=e=>i.e.post("/mailbox/batch_create",e,{fetchOptions:{loading:l("mailbox.api.loading.creating"),successMessage:!0}}),u=e=>i.e.post("/mailbox/update",e,{fetchOptions:{loading:l("mailbox.api.loading.updating"),successMessage:!0}}),d=e=>i.e.post("/mailbox/delete",e,{fetchOptions:{loading:l("mailbox.api.loading.deleting"),successMessage:!0}}),p=e=>i.e.post("/mailbox/export",e,{responseType:"blob",fetchOptions:{loading:l("mailbox.api.loading.exporting"),successMessage:!0}}),c=e=>i.e.post("/mailbox/import",e,{fetchOptions:{loading:l("mailbox.api.loading.importing"),successMessage:!0}})},31651:function(e,a,t){t.d(a,{A8:()=>s,NI:()=>o,QB:()=>d,WF:()=>u,Xc:()=>c,ef:()=>p});var i=t(76882),l=t(34541);let{t:n}=i.Z.global;function s(e){return l.e.get("/email_template/list",{params:e})}function o(){return l.e.get("/email_template/all")}function u(e){return l.e.post("/email_template/create",e,{fetchOptions:{loading:n("market.template.loading.creating"),successMessage:!0}})}function d(e){return l.e.post("/email_template/update",e,{fetchOptions:{loading:n("market.template.loading.updating"),successMessage:!0}})}function p(e){return l.e.post("/email_template/copy",e,{fetchOptions:{loading:n("market.template.loading.copying"),successMessage:!0}})}function c(e){return l.e.post("/email_template/delete",e,{fetchOptions:{loading:n("market.template.loading.deleting"),successMessage:!0}})}},53472:function(e,a,t){t.d(a,{Z:()=>n});var i=t(58786);let l=["height","srcdoc"],n=(0,i.aZ)({__name:"index",props:{value:{type:String,default:""},height:{type:[String,Number],default:"100%"}},setup:e=>(a,t)=>((0,i.wg)(),(0,i.iD)("iframe",{width:"100%",height:e.height,srcdoc:e.value,style:{border:"none",borderRadius:"4px"}},null,8,l))})},19664:function(e,a,t){t.d(a,{Z:()=>p});var i=t(8490),l=t(58786),n=t(68271),s=t(39432),o=t(67127);let u={class:"flex-1"},d={class:"flex-1 ml-10px"},p=(0,l.aZ)({__name:"FromSelect",props:{value:{},valueModifiers:{},name:{},nameModifiers:{},domain:{},domainModifiers:{}},emits:["update:value","update:name","update:domain"],setup(e){let a=(0,l.tT)(e,"value"),t=(0,l.tT)(e,"name"),p=(0,l.iH)(!1),c=(0,l.tT)(e,"domain"),g=(0,l.iH)([]),m=(0,l.iH)([]),r=(0,l.Fl)(()=>m.value.filter(e=>e.domain===c.value).map(e=>({label:e.username,value:e.username,data:e}))),v=async()=>{await (0,l.Y3)(),r.value.length>0?(a.value=r.value[0].value,f(a.value,r.value[0])):(a.value=null,t.value="")},f=(e,a)=>{let{data:i}=a;(0,n.Kn)(i)&&(t.value=i.full_name)},h=async()=>{let e=await (0,s.LC)();(0,n.kJ)(e)&&(g.value=e.map(e=>({label:e.domain,value:e.domain})),null===c.value&&e.length>0&&(c.value=e[0].domain))},_=async()=>{let e=await (0,o.iC)({page:1,page_size:1e3,domain:""});(0,n.Kn)(e)&&(m.value=e.list)};return(async()=>{try{p.value=!0,await _(),await h(),await (0,l.Y3)(),null===a.value?v():a.value&&(c.value=a.value.split("@")[1])}finally{p.value=!1}})(),(e,t)=>{let n=i.Z;return(0,l.wg)(),(0,l.iD)(l.HY,null,[(0,l._)("div",u,[(0,l.Wm)(n,{value:c.value,"onUpdate:value":[t[0]||(t[0]=e=>c.value=e),v],loading:(0,l.SU)(p),options:(0,l.SU)(g)},null,8,["value","loading","options"])]),(0,l._)("div",d,[(0,l.Wm)(n,{value:a.value,"onUpdate:value":[t[1]||(t[1]=e=>a.value=e),f],loading:(0,l.SU)(p),options:(0,l.SU)(r),filterable:!0},null,8,["value","loading","options"])])],64)}}})},28444:function(e,a,t){t.d(a,{Z:()=>o});var i=t(8490),l=t(58786),n=t(68271),s=t(31651);let o=(0,l.aZ)({__name:"TemplateSelect",props:{value:{},valueModifiers:{},content:{},contentModifiers:{}},emits:(0,l.Vf)(["listReady"],["update:value","update:content"]),setup(e,a){let{emit:t}=a,o=(0,l.tT)(e,"value"),u=(0,l.tT)(e,"content"),d=(0,l.iH)(!1),p=(0,l.iH)([]),c=(e,a)=>{let{data:t}=a;(0,n.Kn)(t)&&(u.value=t.html_content)};return(async()=>{try{d.value=!0;let e=await (0,s.NI)();if((0,n.kJ)(e)){if(p.value=e.map(e=>({label:e.temp_name,value:e.id,data:e})),null===o.value)o.value=e[0].id,u.value=e[0].html_content;else{let a=e.find(e=>e.id===o.value);a&&(u.value=a.html_content)}t("listReady",e)}}finally{d.value=!1}})(),(e,a)=>{let t=i.Z;return(0,l.wg)(),(0,l.j4)(t,{value:o.value,"onUpdate:value":[a[0]||(a[0]=e=>o.value=e),c],loading:(0,l.SU)(d),filterable:!0,options:(0,l.SU)(p)},null,8,["value","loading","options"])}}})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/2546.9ad18d62.js b/core/public/dist/static/js/async/2546.9ad18d62.jsdeleted file mode 100644index 309cb450..00000000--- a/core/public/dist/static/js/async/2546.9ad18d62.js+++ /dev/null@@ -1 +0,0 @@-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["2546"],{39432:function(e,a,t){t.d(a,{Au:()=>c,Fj:()=>o,LC:()=>s,Lb:()=>f,OV:()=>p,dj:()=>d,gK:()=>u,i7:()=>n,rU:()=>v,v1:()=>g,xh:()=>r,yW:()=>m});var l=t(34541);let{t:i}=t(76882).Z.global,n=e=>l.e.get("/domains/list",{params:e}),s=()=>l.e.get("/domains/all"),o=e=>l.e.post("/domains/create",e,{fetchOptions:{loading:i("domain.api.loading.creating"),successMessage:!0}}),u=e=>l.e.post("/domains/update",e,{fetchOptions:{loading:i("domain.api.loading.updating"),successMessage:!0}}),d=e=>l.e.post("/domains/delete",e,{fetchOptions:{loading:i("domain.api.loading.deleting"),successMessage:!0}}),p=e=>l.e.post("/domains/set_ssl",e,{fetchOptions:{loading:i("domain.api.loading.settingSSL"),successMessage:!0}}),c=e=>l.e.get("/domains/get_ssl",{params:e}),g=e=>l.e.post("/domains/fresh_dns_records",e,{fetchOptions:{loading:i("domain.api.loading.refreshingDns"),successMessage:!0}}),m=e=>l.e.post("/ssl/apply_cert",e,{fetchOptions:{loading:i("domain.api.loading.applyingCert"),successMessage:!0}}),r=e=>l.e.post("/domains/set_default_domain",e,{fetchOptions:{loading:"Setting Default Domain, please wait...",successMessage:!0}}),v=e=>l.e.post("/askai/project/create",e,{fetchOptions:{loading:"Setting domain brand info , please wait...",successMessage:!0}}),f=()=>l.e.post("/askai/supplier/status")},67127:function(e,a,t){t.d(a,{EV:()=>u,H2:()=>c,Ts:()=>s,WS:()=>d,Yi:()=>o,iC:()=>n,ym:()=>p});var l=t(34541);let{t:i}=t(76882).Z.global,n=e=>l.e.get("/mailbox/list",{params:e}),s=e=>l.e.post("/mailbox/create",e,{fetchOptions:{loading:i("mailbox.api.loading.creating"),successMessage:!0}}),o=e=>l.e.post("/mailbox/batch_create",e,{fetchOptions:{loading:i("mailbox.api.loading.creating"),successMessage:!0}}),u=e=>l.e.post("/mailbox/update",e,{fetchOptions:{loading:i("mailbox.api.loading.updating"),successMessage:!0}}),d=e=>l.e.post("/mailbox/delete",e,{fetchOptions:{loading:i("mailbox.api.loading.deleting"),successMessage:!0}}),p=e=>l.e.post("/mailbox/export",e,{responseType:"blob",fetchOptions:{loading:i("mailbox.api.loading.exporting"),successMessage:!0}}),c=e=>l.e.post("/mailbox/import",e,{fetchOptions:{loading:i("mailbox.api.loading.importing"),successMessage:!0}})},31651:function(e,a,t){t.d(a,{A8:()=>s,NI:()=>o,QB:()=>d,WF:()=>u,Xc:()=>c,ef:()=>p});var l=t(76882),i=t(34541);let{t:n}=l.Z.global;function s(e){return i.e.get("/email_template/list",{params:e})}function o(){return i.e.get("/email_template/all")}function u(e){return i.e.post("/email_template/create",e,{fetchOptions:{loading:n("market.template.loading.creating"),successMessage:!0}})}function d(e){return i.e.post("/email_template/update",e,{fetchOptions:{loading:n("market.template.loading.updating"),successMessage:!0}})}function p(e){return i.e.post("/email_template/copy",e,{fetchOptions:{loading:n("market.template.loading.copying"),successMessage:!0}})}function c(e){return i.e.post("/email_template/delete",e,{fetchOptions:{loading:n("market.template.loading.deleting"),successMessage:!0}})}},53472:function(e,a,t){t.d(a,{Z:()=>n});var l=t(58786);let i=["height","srcdoc"],n=(0,l.aZ)({__name:"index",props:{value:{type:String,default:""},height:{type:[String,Number],default:"100%"}},setup:e=>(a,t)=>((0,l.wg)(),(0,l.iD)("iframe",{width:"100%",height:e.height,srcdoc:e.value,style:{border:"none",borderRadius:"4px"}},null,8,i))})},19664:function(e,a,t){t.d(a,{Z:()=>p});var l=t(8490),i=t(58786),n=t(68271),s=t(39432),o=t(67127);let u={class:"flex-1"},d={class:"flex-1 ml-10px"},p=(0,i.aZ)({__name:"FromSelect",props:{value:{},valueModifiers:{},name:{},nameModifiers:{},domain:{},domainModifiers:{}},emits:["update:value","update:name","update:domain"],setup(e){let a=(0,i.tT)(e,"value"),t=(0,i.tT)(e,"name"),p=(0,i.iH)(!1),c=(0,i.tT)(e,"domain"),g=(0,i.iH)([]),m=(0,i.iH)([]),r=(0,i.Fl)(()=>m.value.filter(e=>e.domain===c.value).map(e=>({label:e.username,value:e.username,data:e}))),v=async()=>{await (0,i.Y3)(),r.value.length>0?(a.value=r.value[0].value,f(a.value,r.value[0])):(a.value=null,t.value="")},f=(e,a)=>{let{data:l}=a;(0,n.Kn)(l)&&(t.value=l.full_name)},h=async()=>{let e=await (0,s.LC)();(0,n.kJ)(e)&&(g.value=e.map(e=>({label:e.domain,value:e.domain})),null===c.value&&e.length>0&&(c.value=e[0].domain))},b=async()=>{let e=await (0,o.iC)({page:1,page_size:1e3,domain:""});(0,n.Kn)(e)&&(m.value=e.list)};return(async()=>{try{p.value=!0,await b(),await h(),await (0,i.Y3)(),null===a.value?v():a.value&&(c.value=a.value.split("@")[1])}finally{p.value=!1}})(),(e,t)=>{let n=l.Z;return(0,i.wg)(),(0,i.iD)(i.HY,null,[(0,i._)("div",u,[(0,i.Wm)(n,{value:c.value,"onUpdate:value":[t[0]||(t[0]=e=>c.value=e),v],loading:(0,i.SU)(p),options:(0,i.SU)(g)},null,8,["value","loading","options"])]),(0,i._)("div",d,[(0,i.Wm)(n,{value:a.value,"onUpdate:value":[t[1]||(t[1]=e=>a.value=e),f],loading:(0,i.SU)(p),options:(0,i.SU)(r),filterable:!0},null,8,["value","loading","options"])])],64)}}})},28444:function(e,a,t){t.d(a,{Z:()=>o});var l=t(8490),i=t(58786),n=t(68271),s=t(31651);let o=(0,i.aZ)({__name:"TemplateSelect",props:{value:{},valueModifiers:{},content:{},contentModifiers:{}},emits:(0,i.Vf)(["listReady"],["update:value","update:content"]),setup(e,a){let{emit:t}=a,o=(0,i.tT)(e,"value"),u=(0,i.tT)(e,"content"),d=(0,i.iH)(!1),p=(0,i.iH)([]),c=(e,a)=>{let{data:t}=a;(0,n.Kn)(t)&&(u.value=t.html_content)};return(async()=>{try{d.value=!0;let e=await (0,s.NI)();if((0,n.kJ)(e)){if(p.value=e.map(e=>({label:e.temp_name,value:e.id,data:e})),null===o.value)o.value=e[0].id,u.value=e[0].html_content;else{let a=e.find(e=>e.id===o.value);a&&(u.value=a.html_content)}t("listReady",e)}}finally{d.value=!1}})(),(e,a)=>{let t=l.Z;return(0,i.wg)(),(0,i.j4)(t,{value:o.value,"onUpdate:value":[a[0]||(a[0]=e=>o.value=e),c],loading:(0,i.SU)(d),filterable:!0,options:(0,i.SU)(p)},null,8,["value","loading","options"])}}})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/2768.0d0cdcdb.js b/core/public/dist/static/js/async/2768.0d0cdcdb.jsnew file mode 100644index 00000000..ec0ed53a--- /dev/null+++ b/core/public/dist/static/js/async/2768.0d0cdcdb.js@@ -0,0 +1 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["2768"],{84075:function(e,t,l){l.d(t,{WH:()=>u,hI:()=>n,iE:()=>m,mD:()=>r,sS:()=>o,uz:()=>_,vi:()=>d,yG:()=>p,yL:()=>c});var a=l(76882),s=l(34541);let{t:i}=a.Z.global,n=e=>s.e.get("/contact/group/list",{params:e}),u=()=>s.e.get("/contact/group/all"),c=e=>s.e.get("/contact/group/info",{params:e}),o=e=>s.e.post("/contact/group/create",e,{fetchOptions:{loading:i("contacts.group.loading.createGroup"),successMessage:!0}}),r=e=>s.e.post("/contact/group/update",e,{fetchOptions:{loading:i("contacts.group.loading.updateGroup"),successMessage:!0}}),m=e=>s.e.post("/contact/group/delete",e,{fetchOptions:{loading:i("contacts.group.loading.deleteGroup"),successMessage:!0}}),d=e=>s.e.post("/contact/group/contact_count",e),p=e=>s.e.post("/contact/group/export",e,{fetchOptions:{loading:i("contacts.group.loading.exportGroup"),successMessage:!0}}),_=e=>s.e.post("/contact/group/update",e,{fetchOptions:{loading:i("contacts.group.loading.saveSettings"),successMessage:!0}})},77984:function(e,t,l){l.d(t,{F:()=>n});var a=l(68271),s=l(94821),i=l(76882);let n=()=>{let{t:e}=i.Z.global,{copy:t,isSupported:l,copied:n}=(0,s.VPI)({legacy:!0});return{copied:n,copyText:async function(s){let i=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!s)return void a.v0.error(e("common.useCopy.noText"));l.value?(await t(s),i&&a.v0.success(e("common.useCopy.success"))):a.v0.error(e("common.useCopy.failed"))}}}},88253:function(e,t,l){l.d(t,{Z:()=>u});var a=l(60579),s=l(58786),i=l(6768);let n=(0,s.aZ)({__name:"index",props:(0,s.Vf)({language:{type:String,default:"html"},theme:{type:String,default:"vs-dark"},options:{type:Object,default:()=>({})}},{value:{default:""},valueModifiers:{}}),emits:(0,s.Vf)(["save"],["update:value"]),setup(e,t){let{expose:l,emit:n}=t,u=(0,s.tT)(e,"value"),c=(0,s.iH)(null),o=null,r=(0,s.iH)(!1);i.Z.config({paths:{vs:`${location.origin}/static/plugin/monaco`}});let m=async()=>{if(c.value&&!o)try{r.value=!0;let t=await i.Z.init();(o=t.editor.create(c.value,{value:u.value,language:e.language,theme:e.theme,minimap:{enabled:!1},automaticLayout:!0,scrollBeyondLastLine:!1,fontSize:14,tabSize:2,wordWrap:"on",...e.options})).onDidChangeModelContent(()=>{u.value=(null==o?void 0:o.getValue())||""}),o.addCommand(t.KeyMod.CtrlCmd|t.KeyCode.KeyS,function(){n("save")})}finally{r.value=!1}},d=()=>{o&&(o.dispose(),o=null)};return(0,s.YP)(()=>u.value,e=>{o&&e!==o.getValue()&&o.setValue(e)}),(0,s.bv)(()=>{m()}),(0,s.Jd)(()=>{d()}),l({getEditor:()=>o}),(e,t)=>{let l=a.Z;return(0,s.wg)(),(0,s.j4)(l,{class:"h-full",show:(0,s.SU)(r)},{default:(0,s.w5)(()=>[(0,s._)("div",{ref_key:"containerRef",ref:c,class:"monaco-editor-container"},null,512)]),_:1},8,["show"])}}}),u=(0,l(41748).default)(n,[["__scopeId","data-v-72ffe419"]])},53472:function(e,t,l){l.d(t,{Z:()=>i});var a=l(58786);let s=["height","srcdoc"],i=(0,a.aZ)({__name:"index",props:{value:{type:String,default:""},height:{type:[String,Number],default:"100%"}},setup:e=>(t,l)=>((0,a.wg)(),(0,a.iD)("iframe",{width:"100%",height:e.height,srcdoc:e.value,style:{border:"none",borderRadius:"4px"}},null,8,s))})},67068:function(e,t,l){l.r(t),l.d(t,{default:()=>eo});var a=l(10320),s=l(43751),i=l(66236),n=l(70958),u=l(58786),c=l(68271),o=l(84075);let r=Symbol("group-settings");var m=l(15496),d=l(57869),p=l(77984);let _={class:"flex items-center gap-16px w-full"},v=(0,u.aZ)({__name:"Code",props:{value:{type:String,default:""}},setup(e){let{copyText:t}=(0,p.F)(),l=async()=>{await t(e.value)};return(t,a)=>{let s=d.ZP,i=m.ZP;return(0,u.wg)(),(0,u.iD)("div",_,[(0,u.Wm)(s,{class:"flex-1"},{default:(0,u.w5)(()=>[(0,u._)("pre",null,(0,u.zw)(e.value||"--"),1)]),_:1}),(0,u.Wm)(i,{onClick:l},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)(t.$t("common.actions.copy")),1)]),_:1})])}}});var b=l(41748);let g=(0,b.default)(v,[["__scopeId","data-v-73f6a82a"]]),f={class:"subscribe-form-container"},w={class:"section"},S={class:"section-title"},h={class:"section-description"},U={class:"section"},y={class:"section-title"},W={class:"section-description"},k=(0,u.aZ)({__name:"SubscribeForm",setup(e){let t=(0,u.iH)(""),l=(0,u.iH)(""),{groupInfo:a}=(0,u.f3)(r);return(0,u.m0)(()=>{a.value&&(t.value=a.value.subscribe_link,l.value=a.value.subscribe_form)}),(e,a)=>((0,u.wg)(),(0,u.iD)("div",f,[(0,u._)("div",w,[(0,u._)("h3",S,(0,u.zw)(e.$t("contacts.settings.subscribeForm.separateSubscriptionPage.title")),1),(0,u._)("p",h,(0,u.zw)(e.$t("contacts.settings.subscribeForm.separateSubscriptionPage.description")),1),(0,u.Wm)(g,{value:(0,u.SU)(t)},null,8,["value"])]),(0,u._)("div",U,[(0,u._)("h3",y,(0,u.zw)(e.$t("contacts.settings.subscribeForm.embeddableForm.title")),1),(0,u._)("p",W,(0,u.zw)(e.$t("contacts.settings.subscribeForm.embeddableForm.description")),1),(0,u.Wm)(g,{value:(0,u.SU)(l)},null,8,["value"])])]))}}),x=(0,b.default)(k,[["__scopeId","data-v-8feacfbe"]]);var z=l(46244),Z=l(29875),$=l(53903),j=l(73084),C=l(6455),E=l(8490),T=l(88253),F=l(3179),P=l(51169),D=l(65302);let H={class:"flex-1"},L={class:"flex justify-end gap-12px mb-8px"},M={class:"h-400px"},O=(0,u.aZ)({__name:"Editor",props:{value:{},valueModifiers:{}},emits:["update:value"],setup(e){let t=(0,u.tT)(e,"value"),l=e=>{let l=new FileReader;l.onload=e=>{var l;t.value=null==(l=e.target)?void 0:l.result},e.file&&l.readAsText(e.file)},[a,s]=(0,P.d)({component:D.Z}),i=()=>{s.setState({html:t.value}),s.open()};return(e,s)=>{let n=F.Z,c=m.ZP,o=T.Z;return(0,u.wg)(),(0,u.iD)("div",H,[(0,u._)("div",L,[(0,u._)("div",null,[(0,u.Wm)(n,{mode:"button","button-type":"primary","button-size":"small",accept:["html"],onChange:l},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)(e.$t("market.template.uploadHtml")),1)]),_:1})]),(0,u.Wm)(c,{type:"primary",ghost:"",onClick:i},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)(e.$t("common.actions.preview")),1)]),_:1})]),(0,u._)("div",M,[(0,u.Wm)(o,{value:t.value,"onUpdate:value":s[0]||(s[0]=e=>t.value=e),language:"html"},null,8,["value"])]),(0,u.Wm)((0,u.SU)(a))])}}});var I=l(52495);let V={class:"w-200px"},G={class:"w-420px"},q={class:"flex-1"},K={class:"setting-description mb-8px"},R={class:"w-420px"},J={class:"flex-1"},N={class:"setting-description mb-8px"},A={class:"w-420px"},B={class:"flex-1"},Q={class:"setting-description mb-8px"},Y={class:"w-420px"},X={class:"mr-16px"},ee={class:"flex-1"},et={class:"setting-description mb-8px"},el={class:"flex-1"},ea={class:"w-420px"},es=(0,u.aZ)({__name:"SubscribeSettings",setup(e){let{t}=(0,I.QT)(),l=(0,u.iH)("--"),a=(0,u.qj)({group_id:0,double_optin:1,send_welcome_email:1,welcome_subject:"",thank_you_subject:"",welcome_mail_html:"",welcome_mail_drag:"",success_url:"",confirm_subject:"",confirm_mail_html:"",confirm_mail_drag:"",confirm_url:"",already_url:""}),s=[{label:t("contacts.settings.subscribeSettings.listType.options.doubleOptin"),value:1},{label:t("contacts.settings.subscribeSettings.listType.options.singleOptin"),value:0}],{groupInfo:i,getInfo:n}=(0,u.f3)(r),c=async()=>{await (0,o.uz)((0,u.IU)(a)),n()};return(0,u.m0)(()=>{i.value&&(a.group_id=i.value.id,a.double_optin=i.value.double_optin,a.welcome_subject=i.value.welcome_subject,a.send_welcome_email=i.value.send_welcome_email,a.welcome_mail_html=i.value.welcome_mail_html,a.welcome_mail_drag=i.value.welcome_mail_drag,a.success_url=i.value.success_url,a.confirm_subject=i.value.confirm_subject,a.confirm_mail_html=i.value.confirm_mail_html,a.confirm_mail_drag=i.value.confirm_mail_drag,a.confirm_url=i.value.confirm_url,a.already_url=i.value.already_url,l.value=i.value.sender)}),(e,t)=>{let i=E.Z,n=C.ZP,o=j.Z,r=$.ZP,d=Z.Z,p=m.ZP,_=z.Z;return(0,u.wg)(),(0,u.j4)(_,{class:"subscribe-settings"},{default:(0,u.w5)(()=>[(0,u.Wm)(n,{label:e.$t("contacts.settings.subscribeSettings.listType.label")},{default:(0,u.w5)(()=>[(0,u._)("div",V,[(0,u.Wm)(i,{value:(0,u.SU)(a).double_optin,"onUpdate:value":t[0]||(t[0]=e=>(0,u.SU)(a).double_optin=e),options:s,placeholder:e.$t("contacts.settings.subscribeSettings.listType.placeholder")},null,8,["value","placeholder"])])]),_:1},8,["label"]),1===(0,u.SU)(a).double_optin?((0,u.wg)(),(0,u.j4)(n,{key:0,label:e.$t("contacts.settings.subscribeSettings.confirmEmail.subject")},{default:(0,u.w5)(()=>[(0,u._)("div",G,[(0,u.Wm)(o,{value:(0,u.SU)(a).confirm_subject,"onUpdate:value":t[1]||(t[1]=e=>(0,u.SU)(a).confirm_subject=e)},null,8,["value"])])]),_:1},8,["label"])):(0,u.kq)("",!0),1===(0,u.SU)(a).double_optin?((0,u.wg)(),(0,u.j4)(n,{key:1,label:e.$t("contacts.settings.subscribeSettings.confirmEmail.redirectLink")},{default:(0,u.w5)(()=>[(0,u._)("div",q,[(0,u._)("div",K,(0,u.zw)(e.$t("contacts.settings.subscribeSettings.confirmEmail.redirectDescription")),1),(0,u._)("div",R,[(0,u.Wm)(o,{value:(0,u.SU)(a).confirm_url,"onUpdate:value":t[2]||(t[2]=e=>(0,u.SU)(a).confirm_url=e)},null,8,["value"])])])]),_:1},8,["label"])):(0,u.kq)("",!0),1===(0,u.SU)(a).double_optin?((0,u.wg)(),(0,u.j4)(n,{key:2,label:e.$t("contacts.settings.subscribeSettings.confirmEmail.emailContent")},{default:(0,u.w5)(()=>[(0,u._)("div",J,[(0,u._)("div",N,[(0,u._)("p",null,[(0,u._)("span",null,(0,u.zw)(e.$t("contacts.settings.subscribeSettings.confirmEmail.emailTip1")),1),(0,u.Wm)(r,{size:"small"},{default:(0,u.w5)(()=>t[9]||(t[9]=[(0,u.Uk)((0,u.zw)("{{ ConfirmURL . }}"))])),_:1,__:[9]}),(0,u._)("span",null,(0,u.zw)(e.$t("contacts.settings.subscribeSettings.confirmEmail.emailTip2")),1)])]),(0,u.Wm)(O,{value:(0,u.SU)(a).confirm_mail_html,"onUpdate:value":t[3]||(t[3]=e=>(0,u.SU)(a).confirm_mail_html=e)},null,8,["value"])])]),_:1},8,["label"])):(0,u.kq)("",!0),(0,u.Wm)(n,{label:e.$t("contacts.settings.subscribeSettings.welcomeEmail.subject")},{default:(0,u.w5)(()=>[(0,u._)("div",A,[(0,u.Wm)(o,{value:(0,u.SU)(a).welcome_subject,"onUpdate:value":t[4]||(t[4]=e=>(0,u.SU)(a).welcome_subject=e)},null,8,["value"])])]),_:1},8,["label"]),(0,u.Wm)(n,{label:e.$t("contacts.settings.subscribeSettings.welcomeEmail.redirectLink")},{default:(0,u.w5)(()=>[(0,u._)("div",B,[(0,u._)("div",Q,(0,u.zw)(e.$t("contacts.settings.subscribeSettings.welcomeEmail.redirectDescription")),1),(0,u._)("div",Y,[(0,u.Wm)(o,{value:(0,u.SU)(a).success_url,"onUpdate:value":t[5]||(t[5]=e=>(0,u.SU)(a).success_url=e)},null,8,["value"])])])]),_:1},8,["label"]),(0,u.Wm)(n,null,{label:(0,u.w5)(()=>[(0,u._)("span",X,(0,u.zw)(e.$t("contacts.settings.subscribeSettings.welcomeEmail.emailContent")),1),(0,u.Wm)(d,{value:(0,u.SU)(a).send_welcome_email,"onUpdate:value":t[6]||(t[6]=e=>(0,u.SU)(a).send_welcome_email=e),"checked-value":1,"unchecked-value":0},null,8,["value"])]),default:(0,u.w5)(()=>[(0,u._)("div",ee,[(0,u._)("div",et,[(0,u._)("p",null,[(0,u.Uk)((0,u.zw)(e.$t("contacts.settings.subscribeSettings.welcomeEmail.sendThroughTip"))+" ",1),(0,u.Wm)(r,{size:"small"},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)((0,u.SU)(l)),1)]),_:1}),(0,u.Uk)(" "+(0,u.zw)(e.$t("contacts.settings.subscribeSettings.welcomeEmail.mailboxTip")),1)]),(0,u._)("p",null,(0,u.zw)(e.$t("contacts.settings.subscribeSettings.welcomeEmail.enabledDescription")),1),(0,u._)("p",null,[(0,u._)("span",null,(0,u.zw)(e.$t("contacts.settings.subscribeSettings.welcomeEmail.templateVariablesTip")),1),(0,u.Wm)(r,{size:"small"},{default:(0,u.w5)(()=>t[10]||(t[10]=[(0,u.Uk)((0,u.zw)("{{ .Subscriber.Email }}"))])),_:1,__:[10]}),t[12]||(t[12]=(0,u._)("span",null,", ",-1)),(0,u.Wm)(r,{size:"small"},{default:(0,u.w5)(()=>t[11]||(t[11]=[(0,u.Uk)((0,u.zw)("{{ .Subscriber.name }}"))])),_:1,__:[11]}),t[13]||(t[13]=(0,u._)("span",null," ...",-1))])]),(0,u.Wm)(O,{value:(0,u.SU)(a).welcome_mail_html,"onUpdate:value":t[7]||(t[7]=e=>(0,u.SU)(a).welcome_mail_html=e)},null,8,["value"])])]),_:1}),(0,u.Wm)(n,{label:e.$t("contacts.settings.subscribeSettings.alreadySubscribed.redirectLink")},{default:(0,u.w5)(()=>[(0,u._)("div",el,[t[14]||(t[14]=(0,u._)("div",{class:"setting-description mb-8px"},null,-1)),(0,u._)("div",ea,[(0,u.Wm)(o,{value:(0,u.SU)(a).already_url,"onUpdate:value":t[8]||(t[8]=e=>(0,u.SU)(a).already_url=e)},null,8,["value"])])])]),_:1},8,["label"]),(0,u.Wm)(n,{"show-label":!1},{default:(0,u.w5)(()=>[(0,u.Wm)(p,{size:"large",type:"primary",onClick:c},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)(e.$t("common.actions.save")),1)]),_:1})]),_:1})]),_:1})}}}),ei=(0,b.default)(es,[["__scopeId","data-v-20b8cdac"]]);var en=l(65965);let eu={class:"p-24px"},ec={class:"bt-title mb-12px!"},eo=(0,u.aZ)({__name:"index",setup(e){var t;let l=(0,en.yj)(),m=(0,en.tv)(),d=(0,u.Fl)(()=>Number(l.params.id)),p=(0,u.iH)("form"),_=(0,u.iH)(null),v=async()=>{let e=await (0,o.yL)({group_id:d.value});(0,c.Kn)(e)&&(_.value=e)},b=()=>{m.back()};return t={groupInfo:_,getInfo:v},(0,u.JJ)(r,t),v(),(e,t)=>{let l=(0,u.up)("router-link"),c=n.Z,o=i.ZP,r=s.Z,m=a.Z;return(0,u.wg)(),(0,u.iD)("div",eu,[(0,u._)("div",ec,(0,u.zw)(e.$t("layout.menu.contacts")),1),(0,u.Wm)(o,{class:"mb-4px"},{default:(0,u.w5)(()=>[(0,u.Wm)(c,null,{default:(0,u.w5)(()=>[(0,u.Wm)(l,{to:"/contacts/group"},{default:(0,u.w5)(()=>t[1]||(t[1]=[(0,u.Uk)("Group")])),_:1,__:[1]})]),_:1}),(0,u.Wm)(c,{onClick:b},{default:(0,u.w5)(()=>{var e;return[(0,u.Uk)((0,u.zw)((null==(e=(0,u.SU)(_))?void 0:e.name)||"--"),1)]}),_:1}),(0,u.Wm)(c,null,{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)(e.$t("contacts.settings.title")),1)]),_:1})]),_:1}),(0,u.Wm)(m,{value:(0,u.SU)(p),"onUpdate:value":t[0]||(t[0]=e=>(0,u.dq)(p)?p.value=e:null),type:"line"},{default:(0,u.w5)(()=>[(0,u.Wm)(r,{name:"form",tab:e.$t("contacts.settings.tabs.subscribeForm")},{default:(0,u.w5)(()=>[(0,u.Wm)(x)]),_:1},8,["tab"]),(0,u.Wm)(r,{name:"subscribe",tab:e.$t("contacts.settings.tabs.subscribeSettings")},{default:(0,u.w5)(()=>[(0,u.Wm)(ei)]),_:1},8,["tab"])]),_:1},8,["value"])])}}})},65302:function(e,t,l){l.d(t,{Z:()=>n});var a=l(53472),s=l(58786),i=l(51169);let n=(0,s.aZ)({__name:"TemplatePreview",setup(e){let t=(0,s.iH)(""),[l,n]=(0,i.d)({onChangeState:e=>{e&&(t.value=n.getState().html||"")}});return(e,i)=>{let n=a.Z;return(0,s.wg)(),(0,s.j4)((0,s.SU)(l),{title:e.$t("market.template.preview.title"),width:"820",footer:!1},{default:(0,s.w5)(()=>[(0,s.Wm)(n,{height:580,value:(0,s.SU)(t)},null,8,["value"])]),_:1},8,["title"])}}})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/2768.90236d4d.js b/core/public/dist/static/js/async/2768.90236d4d.jsdeleted file mode 100644index aa3c1b0a..00000000--- a/core/public/dist/static/js/async/2768.90236d4d.js+++ /dev/null@@ -1 +0,0 @@-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["2768"],{84075:function(e,t,l){l.d(t,{WH:()=>u,hI:()=>n,iE:()=>m,mD:()=>r,sS:()=>o,uz:()=>_,vi:()=>d,yG:()=>p,yL:()=>c});var a=l(76882),s=l(34541);let{t:i}=a.Z.global,n=e=>s.e.get("/contact/group/list",{params:e}),u=()=>s.e.get("/contact/group/all"),c=e=>s.e.get("/contact/group/info",{params:e}),o=e=>s.e.post("/contact/group/create",e,{fetchOptions:{loading:i("contacts.group.loading.createGroup"),successMessage:!0}}),r=e=>s.e.post("/contact/group/update",e,{fetchOptions:{loading:i("contacts.group.loading.updateGroup"),successMessage:!0}}),m=e=>s.e.post("/contact/group/delete",e,{fetchOptions:{loading:i("contacts.group.loading.deleteGroup"),successMessage:!0}}),d=e=>s.e.post("/contact/group/contact_count",e),p=e=>s.e.post("/contact/group/export",e,{fetchOptions:{loading:i("contacts.group.loading.exportGroup"),successMessage:!0}}),_=e=>s.e.post("/contact/group/update",e,{fetchOptions:{loading:i("contacts.group.loading.saveSettings"),successMessage:!0}})},77984:function(e,t,l){l.d(t,{F:()=>n});var a=l(68271),s=l(94821),i=l(76882);let n=()=>{let{t:e}=i.Z.global,{copy:t,isSupported:l,copied:n}=(0,s.VPI)({legacy:!0});return{copied:n,copyText:async s=>{if(!s)return void a.v0.error(e("common.useCopy.noText"));l.value?(await t(s),a.v0.success(e("common.useCopy.success"))):a.v0.error(e("common.useCopy.failed"))}}}},88253:function(e,t,l){l.d(t,{Z:()=>u});var a=l(60579),s=l(58786),i=l(6768);let n=(0,s.aZ)({__name:"index",props:(0,s.Vf)({language:{type:String,default:"html"},theme:{type:String,default:"vs-dark"},options:{type:Object,default:()=>({})}},{value:{default:""},valueModifiers:{}}),emits:(0,s.Vf)(["save"],["update:value"]),setup(e,t){let{expose:l,emit:n}=t,u=(0,s.tT)(e,"value"),c=(0,s.iH)(null),o=null,r=(0,s.iH)(!1);i.Z.config({paths:{vs:`${location.origin}/static/plugin/monaco`}});let m=async()=>{if(c.value&&!o)try{r.value=!0;let t=await i.Z.init();(o=t.editor.create(c.value,{value:u.value,language:e.language,theme:e.theme,minimap:{enabled:!1},automaticLayout:!0,scrollBeyondLastLine:!1,fontSize:14,tabSize:2,wordWrap:"on",...e.options})).onDidChangeModelContent(()=>{u.value=(null==o?void 0:o.getValue())||""}),o.addCommand(t.KeyMod.CtrlCmd|t.KeyCode.KeyS,function(){n("save")})}finally{r.value=!1}},d=()=>{o&&(o.dispose(),o=null)};return(0,s.YP)(()=>u.value,e=>{o&&e!==o.getValue()&&o.setValue(e)}),(0,s.bv)(()=>{m()}),(0,s.Jd)(()=>{d()}),l({getEditor:()=>o}),(e,t)=>{let l=a.Z;return(0,s.wg)(),(0,s.j4)(l,{class:"h-full",show:(0,s.SU)(r)},{default:(0,s.w5)(()=>[(0,s._)("div",{ref_key:"containerRef",ref:c,class:"monaco-editor-container"},null,512)]),_:1},8,["show"])}}}),u=(0,l(41748).default)(n,[["__scopeId","data-v-72ffe419"]])},53472:function(e,t,l){l.d(t,{Z:()=>i});var a=l(58786);let s=["height","srcdoc"],i=(0,a.aZ)({__name:"index",props:{value:{type:String,default:""},height:{type:[String,Number],default:"100%"}},setup:e=>(t,l)=>((0,a.wg)(),(0,a.iD)("iframe",{width:"100%",height:e.height,srcdoc:e.value,style:{border:"none",borderRadius:"4px"}},null,8,s))})},67068:function(e,t,l){l.r(t),l.d(t,{default:()=>eo});var a=l(10320),s=l(43751),i=l(66236),n=l(70958),u=l(58786),c=l(68271),o=l(84075);let r=Symbol("group-settings");var m=l(15496),d=l(57869),p=l(77984);let _={class:"flex items-center gap-16px w-full"},v=(0,u.aZ)({__name:"Code",props:{value:{type:String,default:""}},setup(e){let{copyText:t}=(0,p.F)(),l=async()=>{await t(e.value)};return(t,a)=>{let s=d.ZP,i=m.ZP;return(0,u.wg)(),(0,u.iD)("div",_,[(0,u.Wm)(s,{class:"flex-1"},{default:(0,u.w5)(()=>[(0,u._)("pre",null,(0,u.zw)(e.value||"--"),1)]),_:1}),(0,u.Wm)(i,{onClick:l},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)(t.$t("common.actions.copy")),1)]),_:1})])}}});var b=l(41748);let g=(0,b.default)(v,[["__scopeId","data-v-73f6a82a"]]),f={class:"subscribe-form-container"},w={class:"section"},S={class:"section-title"},h={class:"section-description"},U={class:"section"},y={class:"section-title"},W={class:"section-description"},k=(0,u.aZ)({__name:"SubscribeForm",setup(e){let t=(0,u.iH)(""),l=(0,u.iH)(""),{groupInfo:a}=(0,u.f3)(r);return(0,u.m0)(()=>{a.value&&(t.value=a.value.subscribe_link,l.value=a.value.subscribe_form)}),(e,a)=>((0,u.wg)(),(0,u.iD)("div",f,[(0,u._)("div",w,[(0,u._)("h3",S,(0,u.zw)(e.$t("contacts.settings.subscribeForm.separateSubscriptionPage.title")),1),(0,u._)("p",h,(0,u.zw)(e.$t("contacts.settings.subscribeForm.separateSubscriptionPage.description")),1),(0,u.Wm)(g,{value:(0,u.SU)(t)},null,8,["value"])]),(0,u._)("div",U,[(0,u._)("h3",y,(0,u.zw)(e.$t("contacts.settings.subscribeForm.embeddableForm.title")),1),(0,u._)("p",W,(0,u.zw)(e.$t("contacts.settings.subscribeForm.embeddableForm.description")),1),(0,u.Wm)(g,{value:(0,u.SU)(l)},null,8,["value"])])]))}}),x=(0,b.default)(k,[["__scopeId","data-v-8feacfbe"]]);var z=l(46244),Z=l(29875),$=l(53903),j=l(73084),C=l(6455),E=l(8490),T=l(88253),F=l(3179),P=l(51169),D=l(65302);let H={class:"flex-1"},L={class:"flex justify-end gap-12px mb-8px"},M={class:"h-400px"},O=(0,u.aZ)({__name:"Editor",props:{value:{},valueModifiers:{}},emits:["update:value"],setup(e){let t=(0,u.tT)(e,"value"),l=e=>{let l=new FileReader;l.onload=e=>{var l;t.value=null==(l=e.target)?void 0:l.result},e.file&&l.readAsText(e.file)},[a,s]=(0,P.d)({component:D.Z}),i=()=>{s.setState({html:t.value}),s.open()};return(e,s)=>{let n=F.Z,c=m.ZP,o=T.Z;return(0,u.wg)(),(0,u.iD)("div",H,[(0,u._)("div",L,[(0,u._)("div",null,[(0,u.Wm)(n,{mode:"button","button-type":"primary","button-size":"small",accept:["html"],onChange:l},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)(e.$t("market.template.uploadHtml")),1)]),_:1})]),(0,u.Wm)(c,{type:"primary",ghost:"",onClick:i},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)(e.$t("common.actions.preview")),1)]),_:1})]),(0,u._)("div",M,[(0,u.Wm)(o,{value:t.value,"onUpdate:value":s[0]||(s[0]=e=>t.value=e),language:"html"},null,8,["value"])]),(0,u.Wm)((0,u.SU)(a))])}}});var I=l(52495);let V={class:"w-200px"},G={class:"w-420px"},q={class:"flex-1"},K={class:"setting-description mb-8px"},R={class:"w-420px"},J={class:"flex-1"},N={class:"setting-description mb-8px"},A={class:"w-420px"},B={class:"flex-1"},Q={class:"setting-description mb-8px"},Y={class:"w-420px"},X={class:"mr-16px"},ee={class:"flex-1"},et={class:"setting-description mb-8px"},el={class:"flex-1"},ea={class:"w-420px"},es=(0,u.aZ)({__name:"SubscribeSettings",setup(e){let{t}=(0,I.QT)(),l=(0,u.iH)("--"),a=(0,u.qj)({group_id:0,double_optin:1,send_welcome_email:1,welcome_subject:"",thank_you_subject:"",welcome_mail_html:"",welcome_mail_drag:"",success_url:"",confirm_subject:"",confirm_mail_html:"",confirm_mail_drag:"",confirm_url:"",already_url:""}),s=[{label:t("contacts.settings.subscribeSettings.listType.options.doubleOptin"),value:1},{label:t("contacts.settings.subscribeSettings.listType.options.singleOptin"),value:0}],{groupInfo:i,getInfo:n}=(0,u.f3)(r),c=async()=>{await (0,o.uz)((0,u.IU)(a)),n()};return(0,u.m0)(()=>{i.value&&(a.group_id=i.value.id,a.double_optin=i.value.double_optin,a.welcome_subject=i.value.welcome_subject,a.send_welcome_email=i.value.send_welcome_email,a.welcome_mail_html=i.value.welcome_mail_html,a.welcome_mail_drag=i.value.welcome_mail_drag,a.success_url=i.value.success_url,a.confirm_subject=i.value.confirm_subject,a.confirm_mail_html=i.value.confirm_mail_html,a.confirm_mail_drag=i.value.confirm_mail_drag,a.confirm_url=i.value.confirm_url,a.already_url=i.value.already_url,l.value=i.value.sender)}),(e,t)=>{let i=E.Z,n=C.ZP,o=j.Z,r=$.ZP,d=Z.Z,p=m.ZP,_=z.Z;return(0,u.wg)(),(0,u.j4)(_,{class:"subscribe-settings"},{default:(0,u.w5)(()=>[(0,u.Wm)(n,{label:e.$t("contacts.settings.subscribeSettings.listType.label")},{default:(0,u.w5)(()=>[(0,u._)("div",V,[(0,u.Wm)(i,{value:(0,u.SU)(a).double_optin,"onUpdate:value":t[0]||(t[0]=e=>(0,u.SU)(a).double_optin=e),options:s,placeholder:e.$t("contacts.settings.subscribeSettings.listType.placeholder")},null,8,["value","placeholder"])])]),_:1},8,["label"]),1===(0,u.SU)(a).double_optin?((0,u.wg)(),(0,u.j4)(n,{key:0,label:e.$t("contacts.settings.subscribeSettings.confirmEmail.subject")},{default:(0,u.w5)(()=>[(0,u._)("div",G,[(0,u.Wm)(o,{value:(0,u.SU)(a).confirm_subject,"onUpdate:value":t[1]||(t[1]=e=>(0,u.SU)(a).confirm_subject=e)},null,8,["value"])])]),_:1},8,["label"])):(0,u.kq)("",!0),1===(0,u.SU)(a).double_optin?((0,u.wg)(),(0,u.j4)(n,{key:1,label:e.$t("contacts.settings.subscribeSettings.confirmEmail.redirectLink")},{default:(0,u.w5)(()=>[(0,u._)("div",q,[(0,u._)("div",K,(0,u.zw)(e.$t("contacts.settings.subscribeSettings.confirmEmail.redirectDescription")),1),(0,u._)("div",R,[(0,u.Wm)(o,{value:(0,u.SU)(a).confirm_url,"onUpdate:value":t[2]||(t[2]=e=>(0,u.SU)(a).confirm_url=e)},null,8,["value"])])])]),_:1},8,["label"])):(0,u.kq)("",!0),1===(0,u.SU)(a).double_optin?((0,u.wg)(),(0,u.j4)(n,{key:2,label:e.$t("contacts.settings.subscribeSettings.confirmEmail.emailContent")},{default:(0,u.w5)(()=>[(0,u._)("div",J,[(0,u._)("div",N,[(0,u._)("p",null,[(0,u._)("span",null,(0,u.zw)(e.$t("contacts.settings.subscribeSettings.confirmEmail.emailTip1")),1),(0,u.Wm)(r,{size:"small"},{default:(0,u.w5)(()=>t[9]||(t[9]=[(0,u.Uk)((0,u.zw)("{{ ConfirmURL . }}"))])),_:1,__:[9]}),(0,u._)("span",null,(0,u.zw)(e.$t("contacts.settings.subscribeSettings.confirmEmail.emailTip2")),1)])]),(0,u.Wm)(O,{value:(0,u.SU)(a).confirm_mail_html,"onUpdate:value":t[3]||(t[3]=e=>(0,u.SU)(a).confirm_mail_html=e)},null,8,["value"])])]),_:1},8,["label"])):(0,u.kq)("",!0),(0,u.Wm)(n,{label:e.$t("contacts.settings.subscribeSettings.welcomeEmail.subject")},{default:(0,u.w5)(()=>[(0,u._)("div",A,[(0,u.Wm)(o,{value:(0,u.SU)(a).welcome_subject,"onUpdate:value":t[4]||(t[4]=e=>(0,u.SU)(a).welcome_subject=e)},null,8,["value"])])]),_:1},8,["label"]),(0,u.Wm)(n,{label:e.$t("contacts.settings.subscribeSettings.welcomeEmail.redirectLink")},{default:(0,u.w5)(()=>[(0,u._)("div",B,[(0,u._)("div",Q,(0,u.zw)(e.$t("contacts.settings.subscribeSettings.welcomeEmail.redirectDescription")),1),(0,u._)("div",Y,[(0,u.Wm)(o,{value:(0,u.SU)(a).success_url,"onUpdate:value":t[5]||(t[5]=e=>(0,u.SU)(a).success_url=e)},null,8,["value"])])])]),_:1},8,["label"]),(0,u.Wm)(n,null,{label:(0,u.w5)(()=>[(0,u._)("span",X,(0,u.zw)(e.$t("contacts.settings.subscribeSettings.welcomeEmail.emailContent")),1),(0,u.Wm)(d,{value:(0,u.SU)(a).send_welcome_email,"onUpdate:value":t[6]||(t[6]=e=>(0,u.SU)(a).send_welcome_email=e),"checked-value":1,"unchecked-value":0},null,8,["value"])]),default:(0,u.w5)(()=>[(0,u._)("div",ee,[(0,u._)("div",et,[(0,u._)("p",null,[(0,u.Uk)((0,u.zw)(e.$t("contacts.settings.subscribeSettings.welcomeEmail.sendThroughTip"))+" ",1),(0,u.Wm)(r,{size:"small"},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)((0,u.SU)(l)),1)]),_:1}),(0,u.Uk)(" "+(0,u.zw)(e.$t("contacts.settings.subscribeSettings.welcomeEmail.mailboxTip")),1)]),(0,u._)("p",null,(0,u.zw)(e.$t("contacts.settings.subscribeSettings.welcomeEmail.enabledDescription")),1),(0,u._)("p",null,[(0,u._)("span",null,(0,u.zw)(e.$t("contacts.settings.subscribeSettings.welcomeEmail.templateVariablesTip")),1),(0,u.Wm)(r,{size:"small"},{default:(0,u.w5)(()=>t[10]||(t[10]=[(0,u.Uk)((0,u.zw)("{{ .Subscriber.Email }}"))])),_:1,__:[10]}),t[12]||(t[12]=(0,u._)("span",null,", ",-1)),(0,u.Wm)(r,{size:"small"},{default:(0,u.w5)(()=>t[11]||(t[11]=[(0,u.Uk)((0,u.zw)("{{ .Subscriber.name }}"))])),_:1,__:[11]}),t[13]||(t[13]=(0,u._)("span",null," ...",-1))])]),(0,u.Wm)(O,{value:(0,u.SU)(a).welcome_mail_html,"onUpdate:value":t[7]||(t[7]=e=>(0,u.SU)(a).welcome_mail_html=e)},null,8,["value"])])]),_:1}),(0,u.Wm)(n,{label:e.$t("contacts.settings.subscribeSettings.alreadySubscribed.redirectLink")},{default:(0,u.w5)(()=>[(0,u._)("div",el,[t[14]||(t[14]=(0,u._)("div",{class:"setting-description mb-8px"},null,-1)),(0,u._)("div",ea,[(0,u.Wm)(o,{value:(0,u.SU)(a).already_url,"onUpdate:value":t[8]||(t[8]=e=>(0,u.SU)(a).already_url=e)},null,8,["value"])])])]),_:1},8,["label"]),(0,u.Wm)(n,{"show-label":!1},{default:(0,u.w5)(()=>[(0,u.Wm)(p,{size:"large",type:"primary",onClick:c},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)(e.$t("common.actions.save")),1)]),_:1})]),_:1})]),_:1})}}}),ei=(0,b.default)(es,[["__scopeId","data-v-20b8cdac"]]);var en=l(65965);let eu={class:"p-24px"},ec={class:"bt-title mb-12px!"},eo=(0,u.aZ)({__name:"index",setup(e){var t;let l=(0,en.yj)(),m=(0,en.tv)(),d=(0,u.Fl)(()=>Number(l.params.id)),p=(0,u.iH)("form"),_=(0,u.iH)(null),v=async()=>{let e=await (0,o.yL)({group_id:d.value});(0,c.Kn)(e)&&(_.value=e)},b=()=>{m.back()};return t={groupInfo:_,getInfo:v},(0,u.JJ)(r,t),v(),(e,t)=>{let l=(0,u.up)("router-link"),c=n.Z,o=i.ZP,r=s.Z,m=a.Z;return(0,u.wg)(),(0,u.iD)("div",eu,[(0,u._)("div",ec,(0,u.zw)(e.$t("layout.menu.contacts")),1),(0,u.Wm)(o,{class:"mb-4px"},{default:(0,u.w5)(()=>[(0,u.Wm)(c,null,{default:(0,u.w5)(()=>[(0,u.Wm)(l,{to:"/contacts/group"},{default:(0,u.w5)(()=>t[1]||(t[1]=[(0,u.Uk)("Group")])),_:1,__:[1]})]),_:1}),(0,u.Wm)(c,{onClick:b},{default:(0,u.w5)(()=>{var e;return[(0,u.Uk)((0,u.zw)((null==(e=(0,u.SU)(_))?void 0:e.name)||"--"),1)]}),_:1}),(0,u.Wm)(c,null,{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)(e.$t("contacts.settings.title")),1)]),_:1})]),_:1}),(0,u.Wm)(m,{value:(0,u.SU)(p),"onUpdate:value":t[0]||(t[0]=e=>(0,u.dq)(p)?p.value=e:null),type:"line"},{default:(0,u.w5)(()=>[(0,u.Wm)(r,{name:"form",tab:e.$t("contacts.settings.tabs.subscribeForm")},{default:(0,u.w5)(()=>[(0,u.Wm)(x)]),_:1},8,["tab"]),(0,u.Wm)(r,{name:"subscribe",tab:e.$t("contacts.settings.tabs.subscribeSettings")},{default:(0,u.w5)(()=>[(0,u.Wm)(ei)]),_:1},8,["tab"])]),_:1},8,["value"])])}}})},65302:function(e,t,l){l.d(t,{Z:()=>n});var a=l(53472),s=l(58786),i=l(51169);let n=(0,s.aZ)({__name:"TemplatePreview",setup(e){let t=(0,s.iH)(""),[l,n]=(0,i.d)({onChangeState:e=>{e&&(t.value=n.getState().html||"")}});return(e,i)=>{let n=a.Z;return(0,s.wg)(),(0,s.j4)((0,s.SU)(l),{title:e.$t("market.template.preview.title"),width:"820",footer:!1},{default:(0,s.w5)(()=>[(0,s.Wm)(n,{height:580,value:(0,s.SU)(t)},null,8,["value"])]),_:1},8,["title"])}}})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/3635.93c2a49b.js b/core/public/dist/static/js/async/3635.93c2a49b.jsnew file mode 100644index 00000000..54d392f7--- /dev/null+++ b/core/public/dist/static/js/async/3635.93c2a49b.js@@ -0,0 +1 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["3635"],{42987:function(e,l,a){a.r(l),a.d(l,{default:()=>ed});var t=a(57869),i=a(58786),s=a(60579),u=a(98048),r=a(6455),o=a(79537),p=a(73084),n=a(29875),d=a(15496),c=a(40972),m=a(5057),v=a(34541),_=a(68271);let w={fetchOptions:{loading:"Loading... Please wait.",successMessage:!0}};async function U(e){let{providerList:l,currentProvider:a}=e;try{let t=await v.e.post("/askai/supplier/list");l.value=t,t.length&&(a.value=t[0],await f(a.value.supplierName,e))}catch(e){console.warn(e)}}async function f(e,l){let{modelList:a,configurationLoading:t}=l;try{t.value=!0,a.value=await v.e.post("/askai/supplier/models",{supplierName:e})}catch(e){console.warn(e)}finally{t.value=!1}}async function y(e){let{addProviderFormData:l,addProviderFormDataRef:a,addProviderRef:t}=e;try{var i;if(!await x(e))return!1;await (null==(i=a.value)?void 0:i.validate()),await v.e.post("/askai/supplier/add_supplier",l.value,w),t.value.close(),await U(e)}catch(e){console.warn(e)}}async function g(e){let{currentProvider:l,addModelFormData:a,addModelFormRef:t,addModelRef:i}=e;try{var s;await (null==(s=t.value)?void 0:s.validate()),await v.e.post("/askai/supplier/add_model",{...a.value,supplierName:l.value.supplierName},w),await f(l.value.supplierName,e),i.value.close()}catch(e){console.warn(e)}}async function b(e){let{currentProvider:l,providerList:a}=e;try{let e=await v.e.post("/askai/supplier/get_supplier_config",{supplierName:l.value.supplierName},w),t=a.value.find(e=>e.supplierName==l.value.supplierName);t&&(t.apiKey=e.apiKey,t.baseUrl=e.baseUrl)}catch(e){console.warn(e)}}async function k(e,l){let{currentProvider:a}=l;try{await v.e.post("/askai/supplier/set_supplier_status",{supplierName:a.value.supplierName,status:e},w),a.value.status=e,f(a.value.supplierName,l)}catch(l){a.value.status=!e,console.warn(l)}}async function S(e){let{currentProvider:l}=e;try{await v.e.post("/askai/supplier/testing",{supplierName:l.value.supplierName,baseUrl:l.value.baseUrl,apiKey:l.value.apiKey},w)}catch(e){console.warn(e)}}async function h(e){let{currentProvider:l}=e;try{await v.e.post("/askai/supplier/set_supplier_config",{supplierName:l.value.supplierName,baseUrl:l.value.baseUrl,apiKey:l.value.apiKey},w),k(!0,e)}catch(e){console.warn(e)}}async function N(e,l,a){let{currentProvider:t}=a;try{await v.e.post("/askai/supplier/set_model_status",{supplierName:t.value.supplierName,modelId:e.modelId,status:l},w)}catch(a){e.status=!l,console.warn(a)}}async function W(e){let{currentProvider:l}=e;(0,_.iG)({title:"Notice",content:`Are you sure to remove the provider "${l.value.supplierName}"?`,onConfirm:async()=>{try{await v.e.post("/askai/supplier/remove_supplier",{supplierName:l.value.supplierName},w),await U(e)}catch(e){console.warn(e)}}})}async function x(e){let{addProviderFormData:l}=e;try{return await v.e.post("/askai/supplier/testing",l.value),!0}catch(e){return console.warn(e),!1}}async function M(e,l){(0,_.iG)({title:"Notice",content:`Are you sure to remove the Model "${e.title}"?`,onConfirm:async()=>{try{await v.e.post("/askai/supplier/remove_model",{supplierName:e.supplierName,modelId:e.modelId},w),await f(e.supplierName,l)}catch(e){console.warn(e)}}})}let C={class:"flex justify-end gap-5"},Z=(0,i.aZ)({__name:"AddProvider",setup(e,l){let{expose:a}=l,t=(0,i.f3)("modelStore"),{addProviderFormData:s,addProviderFormDataRef:o}=t,n=(0,i.iH)(!1),c={supplierTitle:[{required:!0,message:"supplierTitle is required",trigger:"blur"}],supplierName:[{required:!0,message:"supplierName is required",trigger:"blur"}],baseUrl:[{required:!0,message:"baseUrl is required",trigger:"blur"}],apiKey:[{required:!0,message:"apiKey is required",trigger:"blur"}]};return a({open:function(){n.value=!0},close:function(){n.value=!1}}),(e,l)=>{let a=p.Z,v=r.ZP,_=u.Z,w=d.ZP,U=m.Z;return(0,i.wg)(),(0,i.j4)(U,{show:(0,i.SU)(n),"onUpdate:show":l[5]||(l[5]=e=>(0,i.dq)(n)?n.value=e:null),preset:"card","close-on-esc":!1,"mask-closable":!1,draggable:"",class:"w-150",title:"Add Provider"},{footer:(0,i.w5)(()=>[(0,i._)("div",C,[(0,i.Wm)(w,null,{default:(0,i.w5)(()=>l[6]||(l[6]=[(0,i.Uk)("Cancel")])),_:1,__:[6]}),(0,i.Wm)(w,{type:"primary",onClick:l[4]||(l[4]=e=>(0,i.SU)(y)((0,i.SU)(t)))},{default:(0,i.w5)(()=>l[7]||(l[7]=[(0,i.Uk)("Confirm")])),_:1,__:[7]})])]),default:(0,i.w5)(()=>[(0,i.Wm)(_,{ref_key:"addProviderFormDataRef",ref:o,model:(0,i.SU)(s),rules:c},{default:(0,i.w5)(()=>[(0,i.Wm)(v,{label:e.$t("settings.aiModel.supplierTitle"),path:"supplierTitle"},{default:(0,i.w5)(()=>[(0,i.Wm)(a,{value:(0,i.SU)(s).supplierTitle,"onUpdate:value":l[0]||(l[0]=e=>(0,i.SU)(s).supplierTitle=e)},null,8,["value"])]),_:1},8,["label"]),(0,i.Wm)(v,{label:e.$t("settings.aiModel.supplierName"),path:"supplierName"},{default:(0,i.w5)(()=>[(0,i.Wm)(a,{value:(0,i.SU)(s).supplierName,"onUpdate:value":l[1]||(l[1]=e=>(0,i.SU)(s).supplierName=e)},null,8,["value"])]),_:1},8,["label"]),(0,i.Wm)(v,{label:"BaseURL",path:"baseUrl"},{default:(0,i.w5)(()=>[(0,i.Wm)(a,{value:(0,i.SU)(s).baseUrl,"onUpdate:value":l[2]||(l[2]=e=>(0,i.SU)(s).baseUrl=e)},null,8,["value"])]),_:1}),(0,i.Wm)(v,{label:"ApiKey",path:"apiKey"},{default:(0,i.w5)(()=>[(0,i.Wm)(a,{value:(0,i.SU)(s).apiKey,"onUpdate:value":l[3]||(l[3]=e=>(0,i.SU)(s).apiKey=e)},null,8,["value"])]),_:1})]),_:1},8,["model"])]),_:1},8,["show"])}}});var K=a(29283),I=a(8490);let $={class:"flex justify-end gap-5"},q=(0,i.aZ)({__name:"AddModel",setup(e,l){let{expose:a}=l,t=(0,i.f3)("modelStore"),{addModelFormData:s,addModelFormRef:o}=t,n=(0,i.iH)(!1),c=[{label:"llm",value:"llm"},{label:"vision",value:"vision"},{label:"tools",value:"tools"},{label:"text-to-image",value:"text-to-image"}],v=(0,i.Fl)(()=>s.value.capability.includes("llm")||s.value.capability.includes("vision")||s.value.capability.includes("tools")?c.map(e=>"text-to-image"===e.value?{...e,disabled:!0}:e):s.value.capability.includes("text-to-image")?c.map(e=>"text-to-image"===e.value?{...e}:{...e,disabled:!0}):c),_={modelId:[{required:!0,message:"modelId is required",trigger:"blur"}],title:[{required:!0,message:"title is required",trigger:"blur"}],capability:[{validator:(e,l)=>!!l.length||Error("capability is required"),trigger:"blur"}],max_tokens:[{validator:(e,l)=>!!l||Error("max_tokens is required"),trigger:"blur"}]};function w(){n.value=!1,s.value.capability=["llm"],s.value.max_tokens=8192,s.value.modelId="",s.value.title=""}return a({open:function(){n.value=!0},close:w}),(e,l)=>{let a=p.Z,c=r.ZP,U=I.Z,f=K.Z,y=u.Z,b=d.ZP,k=m.Z;return(0,i.wg)(),(0,i.j4)(k,{show:(0,i.SU)(n),"onUpdate:show":l[5]||(l[5]=e=>(0,i.dq)(n)?n.value=e:null),preset:"card",draggable:"","close-on-esc":!1,"mask-closable":!1,title:"Add Model",class:"w-100"},{footer:(0,i.w5)(()=>[(0,i._)("div",$,[(0,i.Wm)(b,{onClick:w},{default:(0,i.w5)(()=>l[6]||(l[6]=[(0,i.Uk)("Cancel")])),_:1,__:[6]}),(0,i.Wm)(b,{type:"primary",onClick:l[4]||(l[4]=e=>(0,i.SU)(g)((0,i.SU)(t)))},{default:(0,i.w5)(()=>l[7]||(l[7]=[(0,i.Uk)("Confirm")])),_:1,__:[7]})])]),default:(0,i.w5)(()=>[(0,i.Wm)(y,{ref_key:"addModelFormRef",ref:o,model:(0,i.SU)(s),rules:_},{default:(0,i.w5)(()=>[(0,i.Wm)(c,{label:e.$t("settings.aiModel.modelId"),path:"modelId"},{default:(0,i.w5)(()=>[(0,i.Wm)(a,{value:(0,i.SU)(s).modelId,"onUpdate:value":l[0]||(l[0]=e=>(0,i.SU)(s).modelId=e)},null,8,["value"])]),_:1},8,["label"]),(0,i.Wm)(c,{label:e.$t("settings.aiModel.modelAlias"),path:"title"},{default:(0,i.w5)(()=>[(0,i.Wm)(a,{value:(0,i.SU)(s).title,"onUpdate:value":l[1]||(l[1]=e=>(0,i.SU)(s).title=e)},null,8,["value"])]),_:1},8,["label"]),(0,i.Wm)(c,{label:e.$t("settings.aiModel.modelFeature"),path:"capability"},{default:(0,i.w5)(()=>[(0,i.Wm)(U,{value:(0,i.SU)(s).capability,"onUpdate:value":l[2]||(l[2]=e=>(0,i.SU)(s).capability=e),options:(0,i.SU)(v),multiple:""},null,8,["value","options"])]),_:1},8,["label"]),(0,i.Wm)(c,{label:e.$t("settings.aiModel.contentLength"),path:"max_tokens"},{default:(0,i.w5)(()=>[(0,i.Wm)(f,{value:(0,i.SU)(s).max_tokens,"onUpdate:value":l[3]||(l[3]=e=>(0,i.SU)(s).max_tokens=e),min:1,class:"w-100%"},null,8,["value"])]),_:1},8,["label"])]),_:1},8,["model"])]),_:1},8,["show"])}}}),H={class:"manager-wrapper"},P={class:"left-provider"},A={class:"provider-list"},z=["onClick"],T={class:"item-icon"},D={key:1,class:"i-ai:big-model w-6.5 h-6.5"},R={class:"tit"},j={class:"add-privider"},F={class:"right-configuration"},E={class:"top-switch"},L={class:"switch-info"},Y={class:"tit"},G={class:"center-api"},J={class:"w-100%"},B={class:"w-100%"},O={class:"text-[var(--color-text-3)] mt-5"},Q={class:"bottom-model-list"},V={class:"header-tit"},X={class:"tit"},ee={class:"sub-tit"},el={class:"tit"},ea={class:"model-item"},et={class:"model-name"},ei={class:"operation"},es=["onClick"],eu=(0,i.aZ)({__name:"ModelManager",setup(e){let l=(0,i.f3)("modelStore"),{providerList:a,modelList:t,currentProvider:m,configurationLoading:v,addProviderRef:_,addModelRef:w}=l;function y(){_.value.open()}function g(){w.value.open()}return U(l),(e,U)=>{let x=c.Z,C=d.ZP,K=n.Z,I=p.Z,$=o.Z,eu=r.ZP,er=u.Z,eo=s.Z;return(0,i.wg)(),(0,i.iD)(i.HY,null,[(0,i._)("div",H,[(0,i._)("div",P,[(0,i._)("div",A,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)((0,i.SU)(a),e=>{var a;return(0,i.wg)(),(0,i.iD)("div",{key:e.supplierName,class:(0,i.C_)(["provider-item",{active:e.supplierName==(null==(a=(0,i.SU)(m))?void 0:a.supplierName)}]),onClick:a=>{m.value=e,f(e.supplierName,l)}},[(0,i._)("div",T,[e.icon?((0,i.wg)(),(0,i.j4)(x,{key:0,src:e.icon,height:"24",width:"24"},null,8,["src"])):((0,i.wg)(),(0,i.iD)("i",D))]),(0,i._)("span",R,(0,i.zw)(e.supplierTitle[0].toUpperCase()+e.supplierTitle.slice(1)),1),(0,i._)("span",{class:(0,i.C_)(["status",{active:e.status}])},null,2)],10,z)}),128))]),(0,i._)("div",j,[(0,i.Wm)(C,{onClick:y},{icon:(0,i.w5)(()=>U[8]||(U[8]=[(0,i._)("i",{class:"i-ic:baseline-add-circle"},null,-1)])),default:(0,i.w5)(()=>[U[9]||(U[9]=(0,i.Uk)(" Add model service provider "))]),_:1,__:[9]})])]),(0,i.Wm)(eo,{show:(0,i.SU)(v)},{default:(0,i.w5)(()=>[(0,i._)("div",F,[(0,i._)("div",E,[(0,i._)("div",L,[(0,i._)("span",Y,(0,i.zw)((0,i.SU)(m).supplierName?(0,i.SU)(m).supplierName[0].toUpperCase()+(0,i.SU)(m).supplierName.slice(1):""),1),(0,i.Wm)(K,{value:(0,i.SU)(m).status,"onUpdate:value":[U[0]||(U[0]=e=>(0,i.SU)(m).status=e),U[1]||(U[1]=e=>(0,i.SU)(k)(e,(0,i.SU)(l)))]},null,8,["value"])]),(0,i._)("i",{class:"i-ri:delete-bin-3-line text-5.5 hover:text-red-5 cursor-pointer",onClick:U[2]||(U[2]=e=>(0,i.SU)(W)((0,i.SU)(l)))})]),(0,i._)("div",G,[(0,i.Wm)(er,{class:"mt-15px"},{default:(0,i.w5)(()=>[(0,i.Wm)(eu,{label:e.$t("settings.aiModel.aPIKey")},{default:(0,i.w5)(()=>[(0,i._)("div",J,[(0,i.Wm)($,null,{default:(0,i.w5)(()=>[(0,i.Wm)(I,{value:(0,i.SU)(m).apiKey,"onUpdate:value":U[3]||(U[3]=e=>(0,i.SU)(m).apiKey=e)},null,8,["value"]),(0,i.Wm)(C,{onClick:U[4]||(U[4]=e=>(0,i.SU)(S)((0,i.SU)(l)))},{default:(0,i.w5)(()=>[(0,i.Uk)((0,i.zw)(e.$t("settings.aiModel.check")),1)]),_:1})]),_:1}),(0,i.Wm)(C,{text:"",type:"info",class:"mt-5px",onClick:U[5]||(U[5]=e=>(0,i.SU)(b)((0,i.SU)(l)))},{default:(0,i.w5)(()=>[(0,i.Uk)((0,i.zw)(e.$t("settings.aiModel.getKey")),1)]),_:1})])]),_:1},8,["label"]),(0,i.Wm)(eu,{label:e.$t("settings.aiModel.apiPath")},{default:(0,i.w5)(()=>[(0,i._)("div",B,[(0,i.Wm)(I,{value:(0,i.SU)(m).baseUrl,"onUpdate:value":U[6]||(U[6]=e=>(0,i.SU)(m).baseUrl=e)},null,8,["value"]),(0,i._)("span",O,(0,i.zw)(e.$t("settings.aiModel.example"))+": https://api.deepseek.com/v1",1)])]),_:1},8,["label"])]),_:1}),(0,i.Wm)(C,{type:"primary",onClick:U[7]||(U[7]=e=>(0,i.SU)(h)((0,i.SU)(l)))},{default:(0,i.w5)(()=>[(0,i.Uk)((0,i.zw)(e.$t("settings.aiModel.saveAPI")),1)]),_:1})]),(0,i._)("div",Q,[(0,i._)("div",V,[(0,i._)("div",null,[(0,i._)("span",X,(0,i.zw)(e.$t("settings.aiModel.model")),1),(0,i._)("span",ee,(0,i.zw)(e.$t("settings.aiModel.byDefault")),1)]),(0,i._)("div",{class:"add-model",onClick:g},[U[10]||(U[10]=(0,i._)("i",{class:"i-ic:baseline-control-point text-4"},null,-1)),(0,i._)("span",el,(0,i.zw)(e.$t("settings.aiModel.addModel")),1)])]),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)((0,i.SU)(t),e=>((0,i.wg)(),(0,i.iD)("div",{key:e.title,class:"model-list"},[(0,i._)("div",ea,[(0,i._)("span",et,(0,i.zw)(e.title),1),(0,i._)("div",ei,[(0,i.Wm)(K,{value:e.status,"onUpdate:value":[l=>e.status=l,a=>(0,i.SU)(N)(e,a,(0,i.SU)(l))]},null,8,["value","onUpdate:value"]),(0,i._)("i",{class:"i-material-symbols:delete-outline text-5",onClick:a=>(0,i.SU)(M)(e,(0,i.SU)(l))},null,8,es)])])]))),128))])])]),_:1},8,["show"])]),(0,i.Wm)(Z,{ref_key:"addProviderRef",ref:_},null,512),(0,i.Wm)(q,{ref_key:"addModelRef",ref:w},null,512)],64)}}});var er=a(41748);let eo=(0,er.default)(eu,[["__scopeId","data-v-3e6fdcc4"]]),ep={class:"max-w-4xl mx-auto px-4 py-8"},en=(0,i.aZ)({__name:"index",setup(e){let l=function(){let e=(0,i.iH)([]),l=(0,i.iH)([]),a=(0,i.iH)(),t=(0,i.iH)({supplierTitle:"",supplierName:"",baseUrl:"",baseUrlExample:"",isUseUrlExample:!1,apiKey:"",home:"",help:"",status:!1,icon:"",sort:0}),s=(0,i.iH)(!1),u=(0,i.iH)({supplierTitle:"",supplierName:"",baseUrl:"",apiKey:""}),r=(0,i.iH)(),o=(0,i.iH)({title:"",modelId:"",max_tokens:8192,capability:["llm"]});return{providerList:e,modelList:l,addProviderRef:a,currentProvider:t,configurationLoading:s,addProviderFormData:u,addProviderFormDataRef:r,addModelFormData:o,addModelFormRef:(0,i.iH)(),addModelRef:(0,i.iH)()}}();return(0,i.JJ)("modelStore",l),(e,l)=>{let a=t.ZP;return(0,i.wg)(),(0,i.iD)("div",ep,[(0,i.Wm)(a,{class:"mb-5"},{default:(0,i.w5)(()=>l[0]||(l[0]=[(0,i._)("div",{class:"page-tit",style:{margin:"0"}},[(0,i._)("div",{class:"left-tit"},[(0,i._)("div",{class:"back-tool"},[(0,i._)("i",{class:"i-ri:apps-fill text-6"})]),(0,i._)("span",{class:"tit-content"}," AI Model ")])],-1)])),_:1,__:[0]}),(0,i.Wm)(a,null,{default:(0,i.w5)(()=>[(0,i.Wm)(eo)]),_:1})])}}}),ed=(0,er.default)(en,[["__scopeId","data-v-c50590a6"]])}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/587.9825e286.js b/core/public/dist/static/js/async/3697.9e630381.jssimilarity index 72%rename from core/public/dist/static/js/async/587.9825e286.jsrename to core/public/dist/static/js/async/3697.9e630381.jsindex f332784b..b6fabc28 100644--- a/core/public/dist/static/js/async/587.9825e286.js+++ b/core/public/dist/static/js/async/3697.9e630381.js@@ -1,9 +1,9 @@-/*! For license information please see 587.9825e286.js.LICENSE.txt */-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["587"],{25774:function(){},44861:function(e,t,n){let r,o,i,a;n.d(t,{Au:()=>OP,Ej:()=>Dn,Jh:()=>ecL,k5:()=>ecM});var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function s(e){var t={exports:{}};return e(t,t.exports),t.exports}var l,c,f=function(e){return e&&e.Math==Math&&e},d=f("object"==typeof globalThis&&globalThis)||f("object"==typeof window&&window)||f("object"==typeof self&&self)||f("object"==typeof u&&u)||function(){return this}()||Function("return this")(),p=Function.prototype,h=p.apply,g=p.bind,v=p.call,y="object"==typeof Reflect&&Reflect.apply||(g?v.bind(h):function(){return v.apply(h,arguments)}),m=Function.prototype,b=m.bind,w=m.call,E=b&&b.bind(w),D=b?function(e){return e&&E(w,e)}:function(e){return e&&function(){return w.apply(e,arguments)}},S=function(e){return"function"==typeof e},x=function(e){try{return!!e()}catch(e){return!0}},C=!x(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),O=Function.prototype.call,A=O.bind?O.bind(O):function(){return O.apply(O,arguments)},k={}.propertyIsEnumerable,T=Object.getOwnPropertyDescriptor,B={f:T&&!k.call({1:2},1)?function(e){var t=T(this,e);return!!t&&t.enumerable}:k},F=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},P=D({}.toString),_=D("".slice),j=function(e){return _(P(e),8,-1)},I=d.Object,N=D("".split),R=x(function(){return!I("z").propertyIsEnumerable(0)})?function(e){return"String"==j(e)?N(e,""):I(e)}:I,L=d.TypeError,M=function(e){if(null==e)throw L("Can't call method on "+e);return e},z=function(e){return R(M(e))},$=function(e){return"object"==typeof e?null!==e:S(e)},H={},U=function(e){return S(e)?e:void 0},V=function(e,t){return arguments.length<2?U(H[e])||U(d[e]):H[e]&&H[e][t]||d[e]&&d[e][t]},W=D({}.isPrototypeOf),q=V("navigator","userAgent")||"",G=d.process,K=d.Deno,Z=G&&G.versions||K&&K.version,X=Z&&Z.v8;X&&(c=(l=X.split("."))[0]>0&&l[0]<4?1:+(l[0]+l[1])),!c&&q&&(!(l=q.match(/Edge\/(\d+)/))||l[1]>=74)&&(l=q.match(/Chrome\/(\d+)/))&&(c=+l[1]);var Y,J=c,Q=!!Object.getOwnPropertySymbols&&!x(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&J&&J<41}),ee=Q&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,et=d.Object,en=ee?function(e){return"symbol"==typeof e}:function(e){var t=V("Symbol");return S(t)&&W(t.prototype,et(e))},er=d.String,eo=function(e){try{return er(e)}catch(e){return"Object"}},ei=d.TypeError,ea=function(e){if(S(e))return e;throw ei(eo(e)+" is not a function")},eu=function(e,t){var n=e[t];return null==n?void 0:ea(n)},es=d.TypeError,el=Object.defineProperty,ec=d["__core-js_shared__"]||function(e,t){try{el(d,e,{value:t,configurable:!0,writable:!0})}catch(n){d[e]=t}return t}("__core-js_shared__",{}),ef=s(function(e){(e.exports=function(e,t){return ec[e]||(ec[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})}),ed=d.Object,ep=function(e){return ed(M(e))},eh=D({}.hasOwnProperty),eg=Object.hasOwn||function(e,t){return eh(ep(e),t)},ev=0,ey=Math.random(),em=D(1..toString),eb=function(e){return"Symbol("+(void 0===e?"":e)+")_"+em(++ev+ey,36)},ew=ef("wks"),eE=d.Symbol,eD=eE&&eE.for,eS=ee?eE:eE&&eE.withoutSetter||eb,ex=function(e){if(!eg(ew,e)||!Q&&"string"!=typeof ew[e]){var t="Symbol."+e;Q&&eg(eE,e)?ew[e]=eE[e]:ew[e]=ee&&eD?eD(t):eS(t)}return ew[e]},eC=d.TypeError,eO=ex("toPrimitive"),eA=function(e,t){if(!$(e)||en(e))return e;var n,r=eu(e,eO);if(r){if(void 0===t&&(t="default"),!$(n=A(r,e,t))||en(n))return n;throw eC("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&S(n=e.toString)&&!$(r=A(n,e))||S(n=e.valueOf)&&!$(r=A(n,e))||"string"!==t&&S(n=e.toString)&&!$(r=A(n,e)))return r;throw es("Can't convert object to primitive value")}(e,t)},ek=function(e){var t=eA(e,"string");return en(t)?t:t+""},eT=d.document,eB=$(eT)&&$(eT.createElement),eF=function(e){return eB?eT.createElement(e):{}},eP=!C&&!x(function(){return 7!=Object.defineProperty(eF("div"),"a",{get:function(){return 7}}).a}),e_=Object.getOwnPropertyDescriptor,ej={f:C?e_:function(e,t){if(e=z(e),t=ek(t),eP)try{return e_(e,t)}catch(e){}if(eg(e,t))return F(!A(B.f,e,t),e[t])}},eI=/#|\.prototype\./,eN=function(e,t){var n=eL[eR(e)];return n==ez||n!=eM&&(S(t)?x(t):!!t)},eR=eN.normalize=function(e){return String(e).replace(eI,".").toLowerCase()},eL=eN.data={},eM=eN.NATIVE="N",ez=eN.POLYFILL="P",e$=D(D.bind),eH=function(e,t){return ea(e),void 0===t?e:e$?e$(e,t):function(){return e.apply(t,arguments)}},eU=d.String,eV=d.TypeError,eW=function(e){if($(e))return e;throw eV(eU(e)+" is not an object")},eq=d.TypeError,eG=Object.defineProperty,eK={f:C?eG:function(e,t,n){if(eW(e),t=ek(t),eW(n),eP)try{return eG(e,t,n)}catch(e){}if("get"in n||"set"in n)throw eq("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},eZ=C?function(e,t,n){return eK.f(e,t,F(1,n))}:function(e,t,n){return e[t]=n,e},eX=ej.f,eY=function(e){var t=function(n,r,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,o)}return y(e,this,arguments)};return t.prototype=e.prototype,t},eJ=function(e,t){var n,r,o,i,a,u,s,l,c=e.target,f=e.global,p=e.stat,h=e.proto,g=f?d:p?d[c]:(d[c]||{}).prototype,v=f?H:H[c]||eZ(H,c,{})[c],y=v.prototype;for(o in t)n=!eN(f?o:c+(p?".":"#")+o,e.forced)&&g&&eg(g,o),a=v[o],n&&(u=e.noTargetGet?(l=eX(g,o))&&l.value:g[o]),i=n&&u?u:t[o],n&&typeof a==typeof i||(s=e.bind&&n?eH(i,d):e.wrap&&n?eY(i):h&&S(i)?D(i):i,(e.sham||i&&i.sham||a&&a.sham)&&eZ(s,"sham",!0),eZ(v,o,s),h&&(eg(H,r=c+"Prototype")||eZ(H,r,{}),eZ(H[r],o,i),e.real&&y&&!y[o]&&eZ(y,o,i)))},eQ=ef("keys"),e0=function(e){return eQ[e]||(eQ[e]=eb(e))},e1=!x(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),e2=e0("IE_PROTO"),e4=d.Object,e3=e4.prototype,e6=e1?e4.getPrototypeOf:function(e){var t=ep(e);if(eg(t,e2))return t[e2];var n=t.constructor;return S(n)&&t instanceof n?n.prototype:t instanceof e4?e3:null},e5=d.String,e8=d.TypeError,e7=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=D(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return eW(n),function(e){if(!("object"==typeof e||S(e)))throw e8("Can't set "+e5(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),e9=Math.ceil,te=Math.floor,tt=function(e){var t=+e;return t!=t||0===t?0:(t>0?te:e9)(t)},tn=Math.max,tr=Math.min,to=function(e,t){var n=tt(e);return n<0?tn(n+t,0):tr(n,t)},ti=Math.min,ta=function(e){var t;return(t=e.length)>0?ti(tt(t),0x1fffffffffffff):0},tu=function(e){return function(t,n,r){var o,i=z(t),a=ta(i),u=to(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},ts={includes:tu(!0),indexOf:tu(!1)},tl={},tc=ts.indexOf,tf=D([].push),td=function(e,t){var n,r=z(e),o=0,i=[];for(n in r)!eg(tl,n)&&eg(r,n)&&tf(i,n);for(;t.length>o;)eg(r,n=t[o++])&&(~tc(i,n)||tf(i,n));return i},tp=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],th=tp.concat("length","prototype"),tg={f:Object.getOwnPropertyNames||function(e){return td(e,th)}},tv={f:Object.getOwnPropertySymbols},ty=D([].concat),tm=V("Reflect","ownKeys")||function(e){var t=tg.f(eW(e)),n=tv.f;return n?ty(t,n(e)):t},tb=Object.keys||function(e){return td(e,tp)},tw=C?Object.defineProperties:function(e,t){eW(e);for(var n,r=z(t),o=tb(t),i=o.length,a=0;i>a;)eK.f(e,n=o[a++],r[n]);return e},tE=V("document","documentElement"),tD=e0("IE_PROTO"),tS=function(){},tx=function(e){return"<script>"+e+"<\/script>"},tC=function(e){e.write(tx("")),e.close();var t=e.parentWindow.Object;return e=null,t},tO=function(){try{Y=new ActiveXObject("htmlfile")}catch(e){}tO="undefined"!=typeof document?document.domain&&Y?tC(Y):((t=eF("iframe")).style.display="none",tE.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(tx("document.F=Object")),e.close(),e.F):tC(Y);for(var e,t,n=tp.length;n--;)delete tO.prototype[tp[n]];return tO()};tl[tD]=!0;var tA=Object.create||function(e,t){var n;return null!==e?(tS.prototype=eW(e),n=new tS,tS.prototype=null,n[tD]=e):n=tO(),void 0===t?n:tw(n,t)},tk=function(e,t,n){var r=ek(t);r in e?eK.f(e,r,F(0,n)):e[r]=n},tT=d.Array,tB=Math.max,tF=function(e,t,n){for(var r=ta(e),o=to(t,r),i=to(void 0===n?r:n,r),a=tT(tB(i-o,0)),u=0;o<i;o++,u++)tk(a,u,e[o]);return a.length=u,a},tP=D("".replace),t_=D("".split),tj=D([].join),tI=String(Error("zxcasd").stack),tN=/\n\s*at [^:]*:[^\n]*/,tR=tN.test(tI),tL=/@[^\n]*\n/.test(tI)&&!/zxcasd/.test(tI),tM=function(e,t){if("string"!=typeof e)return e;if(tR)for(;t--;)e=tP(e,tN,"");else if(tL)return tj(tF(t_(e,"\n"),t),"\n");return e},tz=function(e,t){$(t)&&"cause"in t&&eZ(e,"cause",t.cause)},t$={},tH=ex("iterator"),tU=Array.prototype,tV={};tV[ex("toStringTag")]="z";var tW="[object z]"===String(tV),tq=ex("toStringTag"),tG=d.Object,tK="Arguments"==j(function(){return arguments}()),tZ=tW?j:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=tG(e),tq))?n:tK?j(t):"Object"==(r=j(t))&&S(t.callee)?"Arguments":r},tX=ex("iterator"),tY=function(e){if(null!=e)return eu(e,tX)||eu(e,"@@iterator")||t$[tZ(e)]},tJ=d.TypeError,tQ=function(e,t,n){var r,o;eW(e);try{if(!(r=eu(e,"return"))){if("throw"===t)throw n;return n}r=A(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return eW(r),n},t0=d.TypeError,t1=function(e,t){this.stopped=e,this.result=t},t2=t1.prototype,t4=function(e,t,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=eH(t,c),g=function(e){return r&&tQ(r,"normal",e),new t1(!0,e)},v=function(e){return f?(eW(e),p?h(e[0],e[1],g):h(e[0],e[1])):p?h(e,g):h(e)};if(d)r=e;else{if(!(o=tY(e)))throw t0(eo(e)+" is not iterable");if(void 0!==o&&(t$.Array===o||tU[tH]===o)){for(i=0,a=ta(e);a>i;i++)if((u=v(e[i]))&&W(t2,u))return u;return new t1(!1)}r=function(e,t){var n=arguments.length<2?tY(e):t;if(ea(n))return eW(A(n,e));throw tJ(eo(e)+" is not iterable")}(e,o)}for(s=r.next;!(l=A(s,r)).done;){try{u=v(l.value)}catch(e){tQ(r,"throw",e)}if("object"==typeof u&&u&&W(t2,u))return u}return new t1(!1)},t3=d.String,t6=function(e){if("Symbol"===tZ(e))throw TypeError("Cannot convert a Symbol value to a string");return t3(e)},t5=!x(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",F(1,7)),7!==e.stack)}),t8=ex("toStringTag"),t7=d.Error,t9=[].push,ne=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,o=W(nt,this);e7?n=e7(new t7(void 0),o?e6(this):nt):eZ(n=o?this:tA(nt),t8,"Error"),eZ(n,"message",function(e,t){return void 0===e?arguments.length<2?"":t:t6(e)}(t,"")),t5&&eZ(n,"stack",tM(n.stack,1)),tz(n,r);var i=[];return t4(e,t9,{that:i}),eZ(n,"errors",i),n};e7?e7(ne,t7):function(e,t){for(var n=tm(t),r=eK.f,o=ej.f,i=0;i<n.length;i++){var a=n[i];eg(e,a)||r(e,a,o(t,a))}}(ne,t7);var nt=ne.prototype=tA(t7.prototype,{constructor:F(1,ne),message:F(1,""),name:F(1,"AggregateError")});eJ({global:!0},{AggregateError:ne});var nn=D(Function.toString);S(ec.inspectSource)||(ec.inspectSource=function(e){return nn(e)});var nr,no,ni,na=ec.inspectSource,nu=d.WeakMap,ns=S(nu)&&/native code/.test(na(nu)),nl=d.TypeError,nc=d.WeakMap;if(ns||ec.state){var nf=ec.state||(ec.state=new nc),nd=D(nf.get),np=D(nf.has),nh=D(nf.set);nr=function(e,t){if(np(nf,e))throw new nl("Object already initialized");return t.facade=e,nh(nf,e,t),t},no=function(e){return nd(nf,e)||{}}}else{var ng=e0("state");tl[ng]=!0,nr=function(e,t){if(eg(e,ng))throw new nl("Object already initialized");return t.facade=e,eZ(e,ng,t),t},no=function(e){return eg(e,ng)?e[ng]:{}}}var nv,ny,nm,nb=nr,nw=function(e){return function(t){var n;if(!$(t)||(n=no(t)).type!==e)throw nl("Incompatible receiver, "+e+" required");return n}},nE=Function.prototype,nD=C&&Object.getOwnPropertyDescriptor,nS=eg(nE,"name"),nx={EXISTS:nS,PROPER:nS&&"something"===(function(){}).name,CONFIGURABLE:nS&&(!C||C&&nD(nE,"name").configurable)},nC=function(e,t,n,r){r&&r.enumerable?e[t]=n:eZ(e,t,n)},nO=ex("iterator"),nA=!1;[].keys&&("next"in(nm=[].keys())?(ny=e6(e6(nm)))!==Object.prototype&&(nv=ny):nA=!0),S((nv=null==nv||x(function(){var e={};return nv[nO].call(e)!==e})?{}:tA(nv))[nO])||nC(nv,nO,function(){return this});var nk=nv,nT=nA,nB=tW?({}).toString:function(){return"[object "+tZ(this)+"]"},nF=eK.f,nP=ex("toStringTag"),n_=function(e,t,n,r){if(e){var o=n?e:e.prototype;eg(o,nP)||nF(o,nP,{configurable:!0,value:t}),r&&!tW&&eZ(o,"toString",nB)}},nj=function(){return this},nI=nx.PROPER,nN=ex("iterator"),nR=function(){return this},nL=function(e,t,n,r,o,i,a){u=t+" Iterator",n.prototype=tA(nk,{next:F(1,r)}),n_(n,u,!1,!0),t$[u]=nj;var u,s,l,c,f=function(e){if(e===o&&v)return v;if(!nT&&e in h)return h[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,g=h[nN]||h["@@iterator"]||o&&h[o],v=!nT&&g||f(o),y="Array"==t&&h.entries||g;if(y&&(s=e6(y.call(new e)))!==Object.prototype&&s.next&&(n_(s,d,!0,!0),t$[d]=nR),nI&&"values"==o&&g&&"values"!==g.name&&(p=!0,v=function(){return A(g,this)}),o)if(l={values:f("values"),keys:i?v:f("keys"),entries:f("entries")},a)for(c in l)!nT&&!p&&c in h||nC(h,c,l[c]);else eJ({target:t,proto:!0,forced:nT||p},l);return a&&h[nN]!==v&&nC(h,nN,v,{name:o}),t$[t]=v,l},nM=nw("Array Iterator");nL(Array,"Array",function(e,t){nb(this,{type:"Array Iterator",target:z(e),index:0,kind:t})},function(){var e=nM(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values"),t$.Arguments=t$.Array;var nz=D("".charAt),n$=D("".charCodeAt),nH=D("".slice),nU=function(e){return function(t,n){var r,o,i=t6(M(t)),a=tt(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=n$(i,a))<55296||r>56319||a+1===u||(o=n$(i,a+1))<56320||o>57343?e?nz(i,a):r:e?nH(i,a,a+2):o-56320+(r-55296<<10)+65536}},nV={codeAt:nU(!1),charAt:nU(!0)}.charAt,nW=nw("String Iterator");nL(String,"String",function(e){nb(this,{type:"String Iterator",string:t6(e),index:0})},function(){var e,t=nW(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=nV(n,r),t.index+=e.length,{value:e,done:!1})});var nq=H.AggregateError,nG=ex("toStringTag");for(var nK in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var nZ=d[nK],nX=nZ&&nZ.prototype;nX&&tZ(nX)!==nG&&eZ(nX,nG,nK),t$[nK]=t$.Array}var nY,nJ,nQ=function(e){return e&&e.Math==Math&&e},n0=nQ("object"==typeof globalThis&&globalThis)||nQ("object"==typeof window&&window)||nQ("object"==typeof self&&self)||nQ("object"==typeof u&&u)||function(){return this}()||Function("return this")(),n1=function(e){try{return!!e()}catch(e){return!0}},n2=!n1(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),n4=Function.prototype.call,n3=n4.bind?n4.bind(n4):function(){return n4.apply(n4,arguments)},n6={}.propertyIsEnumerable,n5=Object.getOwnPropertyDescriptor,n8={f:n5&&!n6.call({1:2},1)?function(e){var t=n5(this,e);return!!t&&t.enumerable}:n6},n7=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},n9=Function.prototype,re=n9.bind,rt=n9.call,rn=re&&re.bind(rt),rr=re?function(e){return e&&rn(rt,e)}:function(e){return e&&function(){return rt.apply(e,arguments)}},ro=rr({}.toString),ri=rr("".slice),ra=function(e){return ri(ro(e),8,-1)},ru=n0.Object,rs=rr("".split),rl=n1(function(){return!ru("z").propertyIsEnumerable(0)})?function(e){return"String"==ra(e)?rs(e,""):ru(e)}:ru,rc=n0.TypeError,rf=function(e){if(null==e)throw rc("Can't call method on "+e);return e},rd=function(e){return rl(rf(e))},rp=function(e){return"function"==typeof e},rh=function(e){return"object"==typeof e?null!==e:rp(e)},rg=function(e,t){var n;return arguments.length<2?rp(n=n0[e])?n:void 0:n0[e]&&n0[e][t]},rv=rr({}.isPrototypeOf),ry=rg("navigator","userAgent")||"",rm=n0.process,rb=n0.Deno,rw=rm&&rm.versions||rb&&rb.version,rE=rw&&rw.v8;rE&&(nJ=(nY=rE.split("."))[0]>0&&nY[0]<4?1:+(nY[0]+nY[1])),!nJ&&ry&&(!(nY=ry.match(/Edge\/(\d+)/))||nY[1]>=74)&&(nY=ry.match(/Chrome\/(\d+)/))&&(nJ=+nY[1]);var rD=nJ,rS=!!Object.getOwnPropertySymbols&&!n1(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&rD&&rD<41}),rx=rS&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,rC=n0.Object,rO=rx?function(e){return"symbol"==typeof e}:function(e){var t=rg("Symbol");return rp(t)&&rv(t.prototype,rC(e))},rA=n0.String,rk=function(e){try{return rA(e)}catch(e){return"Object"}},rT=n0.TypeError,rB=function(e){if(rp(e))return e;throw rT(rk(e)+" is not a function")},rF=function(e,t){var n=e[t];return null==n?void 0:rB(n)},rP=n0.TypeError,r_=Object.defineProperty,rj=function(e,t){try{r_(n0,e,{value:t,configurable:!0,writable:!0})}catch(n){n0[e]=t}return t},rI=n0["__core-js_shared__"]||rj("__core-js_shared__",{}),rN=s(function(e){(e.exports=function(e,t){return rI[e]||(rI[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})}),rR=n0.Object,rL=function(e){return rR(rf(e))},rM=rr({}.hasOwnProperty),rz=Object.hasOwn||function(e,t){return rM(rL(e),t)},r$=0,rH=Math.random(),rU=rr(1..toString),rV=function(e){return"Symbol("+(void 0===e?"":e)+")_"+rU(++r$+rH,36)},rW=rN("wks"),rq=n0.Symbol,rG=rq&&rq.for,rK=rx?rq:rq&&rq.withoutSetter||rV,rZ=function(e){if(!rz(rW,e)||!rS&&"string"!=typeof rW[e]){var t="Symbol."+e;rS&&rz(rq,e)?rW[e]=rq[e]:rW[e]=rx&&rG?rG(t):rK(t)}return rW[e]},rX=n0.TypeError,rY=rZ("toPrimitive"),rJ=function(e,t){if(!rh(e)||rO(e))return e;var n,r=rF(e,rY);if(r){if(void 0===t&&(t="default"),!rh(n=n3(r,e,t))||rO(n))return n;throw rX("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&rp(n=e.toString)&&!rh(r=n3(n,e))||rp(n=e.valueOf)&&!rh(r=n3(n,e))||"string"!==t&&rp(n=e.toString)&&!rh(r=n3(n,e)))return r;throw rP("Can't convert object to primitive value")}(e,t)},rQ=function(e){var t=rJ(e,"string");return rO(t)?t:t+""},r0=n0.document,r1=rh(r0)&&rh(r0.createElement),r2=function(e){return r1?r0.createElement(e):{}},r4=!n2&&!n1(function(){return 7!=Object.defineProperty(r2("div"),"a",{get:function(){return 7}}).a}),r3=Object.getOwnPropertyDescriptor,r6=n2?r3:function(e,t){if(e=rd(e),t=rQ(t),r4)try{return r3(e,t)}catch(e){}if(rz(e,t))return n7(!n3(n8.f,e,t),e[t])},r5=n0.String,r8=n0.TypeError,r7=function(e){if(rh(e))return e;throw r8(r5(e)+" is not an object")},r9=n0.TypeError,oe=Object.defineProperty,ot={f:n2?oe:function(e,t,n){if(r7(e),t=rQ(t),r7(n),r4)try{return oe(e,t,n)}catch(e){}if("get"in n||"set"in n)throw r9("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},on=n2?function(e,t,n){return ot.f(e,t,n7(1,n))}:function(e,t,n){return e[t]=n,e},or=rr(Function.toString);rp(rI.inspectSource)||(rI.inspectSource=function(e){return or(e)});var oo,oi,oa,ou=rI.inspectSource,os=n0.WeakMap,ol=rp(os)&&/native code/.test(ou(os)),oc=rN("keys"),of=function(e){return oc[e]||(oc[e]=rV(e))},od={},op=n0.TypeError,oh=n0.WeakMap;if(ol||rI.state){var og=rI.state||(rI.state=new oh),ov=rr(og.get),oy=rr(og.has),om=rr(og.set);oo=function(e,t){if(oy(og,e))throw new op("Object already initialized");return t.facade=e,om(og,e,t),t},oi=function(e){return ov(og,e)||{}},oa=function(e){return oy(og,e)}}else{var ob=of("state");od[ob]=!0,oo=function(e,t){if(rz(e,ob))throw new op("Object already initialized");return t.facade=e,on(e,ob,t),t},oi=function(e){return rz(e,ob)?e[ob]:{}},oa=function(e){return rz(e,ob)}}var ow=oo,oE=oi,oD=function(e){return function(t){var n;if(!rh(t)||(n=oi(t)).type!==e)throw op("Incompatible receiver, "+e+" required");return n}},oS=Function.prototype,ox=n2&&Object.getOwnPropertyDescriptor,oC=rz(oS,"name"),oO={EXISTS:oC,PROPER:oC&&"something"===(function(){}).name,CONFIGURABLE:oC&&(!n2||n2&&ox(oS,"name").configurable)},oA=s(function(e){var t=oO.CONFIGURABLE,n=String(String).split("String");(e.exports=function(e,r,o,i){var a,u,s=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet,f=i&&void 0!==i.name?i.name:r;rp(o)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!rz(o,"name")||t&&o.name!==f)&&on(o,"name",f),(u=oa(a=o)?oi(a):oo(a,{})).source||(u.source=n.join("string"==typeof f?f:""))),e!==n0?(s?!c&&e[r]&&(l=!0):delete e[r],l?e[r]=o:on(e,r,o)):l?e[r]=o:rj(r,o)})(Function.prototype,"toString",function(){return rp(this)&&oE(this).source||ou(this)})}),ok=Math.ceil,oT=Math.floor,oB=function(e){var t=+e;return t!=t||0===t?0:(t>0?oT:ok)(t)},oF=Math.max,oP=Math.min,o_=function(e,t){var n=oB(e);return n<0?oF(n+t,0):oP(n,t)},oj=Math.min,oI=function(e){return e>0?oj(oB(e),0x1fffffffffffff):0},oN=function(e){return oI(e.length)},oR=function(e){return function(t,n,r){var o,i=rd(t),a=oN(i),u=o_(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},oL={includes:oR(!0),indexOf:oR(!1)}.indexOf,oM=rr([].push),oz=function(e,t){var n,r=rd(e),o=0,i=[];for(n in r)!rz(od,n)&&rz(r,n)&&oM(i,n);for(;t.length>o;)rz(r,n=t[o++])&&(~oL(i,n)||oM(i,n));return i},o$=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],oH=o$.concat("length","prototype"),oU={f:Object.getOwnPropertyNames||function(e){return oz(e,oH)}},oV={f:Object.getOwnPropertySymbols},oW=rr([].concat),oq=rg("Reflect","ownKeys")||function(e){var t=oU.f(r7(e)),n=oV.f;return n?oW(t,n(e)):t},oG=function(e,t){for(var n=oq(t),r=ot.f,o=0;o<n.length;o++){var i=n[o];rz(e,i)||r(e,i,r6(t,i))}},oK=/#|\.prototype\./,oZ=function(e,t){var n=oY[oX(e)];return n==oQ||n!=oJ&&(rp(t)?n1(t):!!t)},oX=oZ.normalize=function(e){return String(e).replace(oK,".").toLowerCase()},oY=oZ.data={},oJ=oZ.NATIVE="N",oQ=oZ.POLYFILL="P",o0=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?n0:l?n0[u]||rj(u,{}):(n0[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=r6(n,r))&&a.value:n[r],!oZ(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;oG(i,o)}(e.sham||o&&o.sham)&&on(i,"sham",!0),oA(n,r,i,e)}},o1={};o1[rZ("toStringTag")]="z";var o2,o4="[object z]"===String(o1),o3=rZ("toStringTag"),o6=n0.Object,o5="Arguments"==ra(function(){return arguments}()),o8=o4?ra:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=o6(e),o3))?n:o5?ra(t):"Object"==(r=ra(t))&&rp(t.callee)?"Arguments":r},o7=n0.String,o9=function(e){if("Symbol"===o8(e))throw TypeError("Cannot convert a Symbol value to a string");return o7(e)},ie=function(){var e=r7(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},it=n0.RegExp,ir=n1(function(){var e=it("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),io=(ir||n1(function(){return!it("a","y").sticky}),ir||n1(function(){var e=it("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),ii=Object.keys||function(e){return oz(e,o$)},ia=n2?Object.defineProperties:function(e,t){r7(e);for(var n,r=rd(t),o=ii(t),i=o.length,a=0;i>a;)ot.f(e,n=o[a++],r[n]);return e},iu=rg("document","documentElement"),is=of("IE_PROTO"),il=function(){},ic=function(e){return"<script>"+e+"<\/script>"},id=function(e){e.write(ic("")),e.close();var t=e.parentWindow.Object;return e=null,t},ip=function(){try{o2=new ActiveXObject("htmlfile")}catch(e){}ip="undefined"!=typeof document?document.domain&&o2?id(o2):((t=r2("iframe")).style.display="none",iu.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(ic("document.F=Object")),e.close(),e.F):id(o2);for(var e,t,n=o$.length;n--;)delete ip.prototype[o$[n]];return ip()};od[is]=!0;var ih,ig,iv=Object.create||function(e,t){var n;return null!==e?(il.prototype=r7(e),n=new il,il.prototype=null,n[is]=e):n=ip(),void 0===t?n:ia(n,t)},iy=n0.RegExp,im=n1(function(){var e=iy(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),ib=n0.RegExp,iw=n1(function(){var e=ib("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),iE=rN("native-string-replace",String.prototype.replace),iD=RegExp.prototype.exec,iS=iD,ix=rr("".charAt),iC=rr("".indexOf),iO=rr("".replace),iA=rr("".slice),ik=(ig=/b*/g,n3(iD,ih=/a/,"a"),n3(iD,ig,"a"),0!==ih.lastIndex||0!==ig.lastIndex),iT=void 0!==/()??/.exec("")[1];(ik||iT||io||im||iw)&&(iS=function(e){var t,n,r,o,i,a,u,s=oE(this),l=o9(e),c=s.raw;if(c)return c.lastIndex=this.lastIndex,t=n3(iS,c,l),this.lastIndex=c.lastIndex,t;var f=s.groups,d=io&&this.sticky,p=n3(ie,this),h=this.source,g=0,v=l;if(d&&(-1===iC(p=iO(p,"y",""),"g")&&(p+="g"),v=iA(l,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==ix(l,this.lastIndex-1))&&(h="(?: "+h+")",v=" "+v,g++),n=RegExp("^(?:"+h+")",p)),iT&&(n=RegExp("^"+h+"$(?!\\s)",p)),ik&&(r=this.lastIndex),o=n3(iD,d?n:this,v),d?o?(o.input=iA(o.input,g),o[0]=iA(o[0],g),o.index=this.lastIndex,this.lastIndex+=o[0].length):this.lastIndex=0:ik&&o&&(this.lastIndex=this.global?o.index+o[0].length:r),iT&&o&&o.length>1&&n3(iE,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)}),o&&f)for(o.groups=a=iv(null),i=0;i<f.length;i++)a[(u=f[i])[0]]=o[u[1]];return o});var iB=iS;o0({target:"RegExp",proto:!0,forced:/./.exec!==iB},{exec:iB});var iF=rZ("species"),iP=RegExp.prototype,i_=rr("".charAt),ij=rr("".charCodeAt),iI=rr("".slice),iN=function(e){return function(t,n){var r,o,i=o9(rf(t)),a=oB(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=ij(i,a))<55296||r>56319||a+1===u||(o=ij(i,a+1))<56320||o>57343?e?i_(i,a):r:e?iI(i,a,a+2):o-56320+(r-55296<<10)+65536}},iR={codeAt:iN(!1),charAt:iN(!0)},iL=iR.charAt,iM=n0.TypeError,iz=function(e,t){var n=e.exec;if(rp(n)){var r=n3(n,e,t);return null!==r&&r7(r),r}if("RegExp"===ra(e))return n3(iB,e,t);throw iM("RegExp#exec called on incompatible receiver")};!function(e,t,n,r){var o=rZ(e),i=!n1(function(){var t={};return t[o]=function(){return 7},7!=""[e](t)}),a=i&&!n1(function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[iF]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t});if(!i||!a){var u=rr(/./[o]),s=t(o,""[e],function(e,t,n,r,o){var a=rr(e),s=t.exec;return s===iB||s===iP.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}});oA(String.prototype,e,s[0]),oA(iP,o,s[1])}}("match",function(e,t,n){return[function(t){var n=rf(this),r=null==t?void 0:rF(t,e);return r?n3(r,t,n):new RegExp(t)[e](o9(n))},function(e){var r=r7(this),o=o9(e),i=n(t,r,o);if(i.done)return i.value;if(!r.global)return iz(r,o);var a=r.unicode;r.lastIndex=0;for(var u,s=[],l=0;null!==(u=iz(r,o));){var c,f=o9(u[0]);s[l]=f,""===f&&(c=oI(r.lastIndex),r.lastIndex=c+(a?iL(o,c).length:1)),l++}return 0===l?null:s}]}),o0({global:!0},{globalThis:n0});var i$=!n1(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),iH=of("IE_PROTO"),iU=n0.Object,iV=iU.prototype,iW=i$?iU.getPrototypeOf:function(e){var t=rL(e);if(rz(t,iH))return t[iH];var n=t.constructor;return rp(n)&&t instanceof n?n.prototype:t instanceof iU?iV:null},iq=n0.String,iG=n0.TypeError,iK=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=rr(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return r7(n),function(e){if(!("object"==typeof e||rp(e)))throw iG("Can't set "+iq(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),iZ=n0.Array,iX=Math.max,iY=rr("".replace),iJ=rr("".split),iQ=rr([].join),i0=String(Error("zxcasd").stack),i1=/\n\s*at [^:]*:[^\n]*/,i2=i1.test(i0),i4=/@[^\n]*\n/.test(i0)&&!/zxcasd/.test(i0),i3=function(e,t){if("string"!=typeof e)return e;if(i2)for(;t--;)e=iY(e,i1,"");else if(i4)return iQ(function(e,t,n){for(var r,o,i,a=oN(e),u=o_(t,a),s=o_(a,a),l=iZ(iX(s-u,0)),c=0;u<s;u++,c++)r=c,o=e[u],i=void 0,(i=rQ(r))in l?ot.f(l,i,n7(0,o)):l[i]=o;return l.length=c,l}(iJ(e,"\n"),t),"\n");return e},i6=function(e,t){rh(t)&&"cause"in t&&on(e,"cause",t.cause)},i5=rr(rr.bind),i8=function(e,t){return rB(e),void 0===t?e:i5?i5(e,t):function(){return e.apply(t,arguments)}},i7={},i9=rZ("iterator"),ae=Array.prototype,at=rZ("iterator"),an=function(e){if(null!=e)return rF(e,at)||rF(e,"@@iterator")||i7[o8(e)]},ar=n0.TypeError,ao=function(e,t,n){var r,o;r7(e);try{if(!(r=rF(e,"return"))){if("throw"===t)throw n;return n}r=n3(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return r7(r),n},ai=n0.TypeError,aa=function(e,t){this.stopped=e,this.result=t},au=aa.prototype,as=function(e,t,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=i8(t,c),g=function(e){return r&&ao(r,"normal",e),new aa(!0,e)},v=function(e){return f?(r7(e),p?h(e[0],e[1],g):h(e[0],e[1])):p?h(e,g):h(e)};if(d)r=e;else{if(!(o=an(e)))throw ai(rk(e)+" is not iterable");if(void 0!==o&&(i7.Array===o||ae[i9]===o)){for(i=0,a=oN(e);a>i;i++)if((u=v(e[i]))&&rv(au,u))return u;return new aa(!1)}r=function(e,t){var n=arguments.length<2?an(e):t;if(rB(n))return r7(n3(n,e));throw ar(rk(e)+" is not iterable")}(e,o)}for(s=r.next;!(l=n3(s,r)).done;){try{u=v(l.value)}catch(e){ao(r,"throw",e)}if("object"==typeof u&&u&&rv(au,u))return u}return new aa(!1)},al=!n1(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",n7(1,7)),7!==e.stack)}),ac=rZ("toStringTag"),af=n0.Error,ad=[].push,ap=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,o=rv(ah,this);iK?n=iK(new af(void 0),o?iW(this):ah):on(n=o?this:iv(ah),ac,"Error"),on(n,"message",function(e,t){return void 0===e?arguments.length<2?"":t:o9(e)}(t,"")),al&&on(n,"stack",i3(n.stack,1)),i6(n,r);var i=[];return as(e,ad,{that:i}),on(n,"errors",i),n};iK?iK(ap,af):oG(ap,af);var ah=ap.prototype=iv(af.prototype,{constructor:n7(1,ap),message:n7(1,""),name:n7(1,"AggregateError")});o0({global:!0},{AggregateError:ap});var ag=rZ("unscopables"),av=Array.prototype;null==av[ag]&&ot.f(av,ag,{configurable:!0,value:iv(null)});var ay,am,ab,aw=function(e){av[ag][e]=!0},aE=rZ("iterator"),aD=!1;[].keys&&("next"in(ab=[].keys())?(am=iW(iW(ab)))!==Object.prototype&&(ay=am):aD=!0),(null==ay||n1(function(){var e={};return ay[aE].call(e)!==e}))&&(ay={}),rp(ay[aE])||oA(ay,aE,function(){return this});var aS=ay,ax=aD,aC=ot.f,aO=rZ("toStringTag"),aA=function(e,t,n){e&&!rz(e=n?e:e.prototype,aO)&&aC(e,aO,{configurable:!0,value:t})},ak=function(){return this},aT=oO.PROPER,aB=oO.CONFIGURABLE,aF=rZ("iterator"),aP=function(){return this},a_=function(e,t,n,r,o,i,a){u=t+" Iterator",n.prototype=iv(aS,{next:n7(1,r)}),aA(n,u,!1),i7[u]=ak;var u,s,l,c,f=function(e){if(e===o&&g)return g;if(!ax&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=!1,p=e.prototype,h=p[aF]||p["@@iterator"]||o&&p[o],g=!ax&&h||f(o),v="Array"==t&&p.entries||h;if(v&&(s=iW(v.call(new e)))!==Object.prototype&&s.next&&(iW(s)!==aS&&(iK?iK(s,aS):rp(s[aF])||oA(s,aF,aP)),aA(s,t+" Iterator",!0)),aT&&"values"==o&&h&&"values"!==h.name&&(aB?on(p,"name","values"):(d=!0,g=function(){return n3(h,this)})),o)if(l={values:f("values"),keys:i?g:f("keys"),entries:f("entries")},a)for(c in l)!ax&&!d&&c in p||oA(p,c,l[c]);else o0({target:t,proto:!0,forced:ax||d},l);return p[aF]!==g&&oA(p,aF,g,{name:o}),i7[t]=g,l},aj=oD("Array Iterator"),aI=a_(Array,"Array",function(e,t){ow(this,{type:"Array Iterator",target:rd(e),index:0,kind:t})},function(){var e=aj(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");i7.Arguments=i7.Array,aw("keys"),aw("values"),aw("entries");var aN=iR.charAt,aR=oD("String Iterator");a_(String,"String",function(e){ow(this,{type:"String Iterator",string:o9(e),index:0})},function(){var e,t=aR(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=aN(n,r),t.index+=e.length,{value:e,done:!1})});var aL,aM={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},az=r2("span").classList,a$=az&&az.constructor&&az.constructor.prototype,aH=a$===Object.prototype?void 0:a$,aU=rZ("iterator"),aV=rZ("toStringTag"),aW=aI.values,aq=function(e,t){if(e){if(e[aU]!==aW)try{on(e,aU,aW)}catch(t){e[aU]=aW}if(e[aV]||on(e,aV,t),aM[t]){for(var n in aI)if(e[n]!==aI[n])try{on(e,n,aI[n])}catch(t){e[n]=aI[n]}}}};for(var aG in aM)aq(n0[aG]&&n0[aG].prototype,aG);function aK(){"undefined"==typeof globalThis&&(window.globalThis=window)}function aZ(){void 0===nq&&(window.AggregateError=function(e,t){var n=Error(t);return n.errors=e,n})}(aq(aH,"DOMTokenList"),void 0===n.g)?("ActiveXObject"in window&&console.error("抱歉,wangEditor V5+ 版本开始,不在支持 IE 浏览器\n Sorry, wangEditor V5+ versions do not support IE browser."),aK(),aZ()):n.g&&(null==(aL=n.g.navigator)?void 0:aL.userAgent.match("QQBrowser"))&&(aK(),aZ());var aX,aY=Array.isArray||function(e){return"Array"==j(e)},aJ=function(){},aQ=[],a0=V("Reflect","construct"),a1=/^\s*(?:class|function)\b/,a2=D(a1.exec),a4=!a1.exec(aJ),a3=function(e){if(!S(e))return!1;try{return a0(aJ,aQ,e),!0}catch(e){return!1}},a6=!a0||x(function(){var e;return a3(a3.call)||!a3(Object)||!a3(function(){e=!0})||e})?function(e){if(!S(e))return!1;switch(tZ(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return a4||!!a2(a1,na(e))}:a3,a5=ex("species"),a8=d.Array,a7=function(e,t){var n;return new(aY(e)&&(a6(n=e.constructor)&&(n===a8||aY(n.prototype))||$(n)&&null===(n=n[a5]))&&(n=void 0),void 0===n?a8:n)(0===t?0:t)},a9=ex("species"),ue=ex("isConcatSpreadable"),ut=d.TypeError,un=J>=51||!x(function(){var e=[];return e[ue]=!1,e.concat()[0]!==e}),ur=(aX="concat",J>=51||!x(function(){var e=[];return(e.constructor={})[a9]=function(){return{foo:1}},1!==e[aX](Boolean).foo})),uo=function(e){if(!$(e))return!1;var t=e[ue];return void 0!==t?!!t:aY(e)};eJ({target:"Array",proto:!0,forced:!un||!ur},{concat:function(e){var t,n,r,o,i,a=ep(this),u=a7(a,0),s=0;for(t=-1,r=arguments.length;t<r;t++)if(uo(i=-1===t?a:arguments[t])){if(s+(o=ta(i))>0x1fffffffffffff)throw ut("Maximum allowed index exceeded");for(n=0;n<o;n++,s++)n in i&&tk(u,s,i[n])}else{if(s>=0x1fffffffffffff)throw ut("Maximum allowed index exceeded");tk(u,s++,i)}return u.length=s,u}});var ui=tg.f,ua="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],uu={f:function(e){return ua&&"Window"==j(e)?function(e){try{return ui(e)}catch(e){return tF(ua)}}(e):ui(z(e))}},us=D([].slice),ul={f:ex},uc=eK.f,uf=function(e){var t=H.Symbol||(H.Symbol={});eg(t,e)||uc(t,e,{value:ul.f(e)})},ud=D([].push),up=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=ep(s),g=R(h),v=eH(l,c),y=ta(g),m=0,b=f||a7,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:ud(w,d)}else switch(e){case 4:return!1;case 7:ud(w,d)}return i?-1:r||o?o:w}},uh={forEach:up(0),map:up(1),filter:up(2),some:up(3),every:up(4),find:up(5),findIndex:up(6),filterReject:up(7)}.forEach,ug=e0("hidden"),uv=ex("toPrimitive"),uy=nw("Symbol"),um=Object.prototype,ub=d.Symbol,uw=ub&&ub.prototype,uE=d.TypeError,uD=d.QObject,uS=V("JSON","stringify"),ux=ej.f,uC=eK.f,uO=uu.f,uA=B.f,uk=D([].push),uT=ef("symbols"),uB=ef("op-symbols"),uF=ef("string-to-symbol-registry"),uP=ef("symbol-to-string-registry"),u_=ef("wks"),uj=!uD||!uD.prototype||!uD.prototype.findChild,uI=C&&x(function(){return 7!=tA(uC({},"a",{get:function(){return uC(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=ux(um,t);r&&delete um[t],uC(e,t,n),r&&e!==um&&uC(um,t,r)}:uC,uN=function(e,t){var n=uT[e]=tA(uw);return nb(n,{type:"Symbol",tag:e,description:t}),C||(n.description=t),n},uR=function(e,t,n){e===um&&uR(uB,t,n),eW(e);var r=ek(t);return eW(n),eg(uT,r)?(n.enumerable?(eg(e,ug)&&e[ug][r]&&(e[ug][r]=!1),n=tA(n,{enumerable:F(0,!1)})):(eg(e,ug)||uC(e,ug,F(1,{})),e[ug][r]=!0),uI(e,r,n)):uC(e,r,n)},uL=function(e,t){eW(e);var n=z(t);return uh(tb(n).concat(uH(n)),function(t){C&&!A(uM,n,t)||uR(e,t,n[t])}),e},uM=function(e){var t=ek(e),n=A(uA,this,t);return!(this===um&&eg(uT,t)&&!eg(uB,t))&&(!(n||!eg(this,t)||!eg(uT,t)||eg(this,ug)&&this[ug][t])||n)},uz=function(e,t){var n=z(e),r=ek(t);if(n!==um||!eg(uT,r)||eg(uB,r)){var o=ux(n,r);return!o||!eg(uT,r)||eg(n,ug)&&n[ug][r]||(o.enumerable=!0),o}},u$=function(e){var t=uO(z(e)),n=[];return uh(t,function(e){eg(uT,e)||eg(tl,e)||uk(n,e)}),n},uH=function(e){var t=e===um,n=uO(t?uB:z(e)),r=[];return uh(n,function(e){eg(uT,e)&&(!t||eg(um,e))&&uk(r,uT[e])}),r};if(Q||(nC(uw=(ub=function(){if(W(uw,this))throw uE("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?t6(arguments[0]):void 0,t=eb(e),n=function(e){this===um&&A(n,uB,e),eg(this,ug)&&eg(this[ug],t)&&(this[ug][t]=!1),uI(this,t,F(1,e))};return C&&uj&&uI(um,t,{configurable:!0,set:n}),uN(t,e)}).prototype,"toString",function(){return uy(this).tag}),nC(ub,"withoutSetter",function(e){return uN(eb(e),e)}),B.f=uM,eK.f=uR,ej.f=uz,tg.f=uu.f=u$,tv.f=uH,ul.f=function(e){return uN(ex(e),e)},C&&uC(uw,"description",{configurable:!0,get:function(){return uy(this).description}})),eJ({global:!0,wrap:!0,forced:!Q,sham:!Q},{Symbol:ub}),uh(tb(u_),function(e){uf(e)}),eJ({target:"Symbol",stat:!0,forced:!Q},{for:function(e){var t=t6(e);if(eg(uF,t))return uF[t];var n=ub(t);return uF[t]=n,uP[n]=t,n},keyFor:function(e){if(!en(e))throw uE(e+" is not a symbol");if(eg(uP,e))return uP[e]},useSetter:function(){uj=!0},useSimple:function(){uj=!1}}),eJ({target:"Object",stat:!0,forced:!Q,sham:!C},{create:function(e,t){return void 0===t?tA(e):uL(tA(e),t)},defineProperty:uR,defineProperties:uL,getOwnPropertyDescriptor:uz}),eJ({target:"Object",stat:!0,forced:!Q},{getOwnPropertyNames:u$,getOwnPropertySymbols:uH}),eJ({target:"Object",stat:!0,forced:x(function(){tv.f(1)})},{getOwnPropertySymbols:function(e){return tv.f(ep(e))}}),uS&&eJ({target:"JSON",stat:!0,forced:!Q||x(function(){var e=ub();return"[null]"!=uS([e])||"{}"!=uS({a:e})||"{}"!=uS(Object(e))})},{stringify:function(e,t,n){var r=us(arguments),o=t;if(($(t)||void 0!==e)&&!en(e))return aY(t)||(t=function(e,t){if(S(o)&&(t=A(o,this,e,t)),!en(t))return t}),r[1]=t,y(uS,null,r)}}),!uw[uv]){var uU=uw.valueOf;nC(uw,uv,function(e){return A(uU,this)})}n_(ub,"Symbol"),tl[ug]=!0,uf("asyncIterator"),uf("hasInstance"),uf("isConcatSpreadable"),uf("iterator"),uf("match"),uf("matchAll"),uf("replace"),uf("search"),uf("species"),uf("split"),uf("toPrimitive"),uf("toStringTag"),uf("unscopables"),n_(d.JSON,"JSON",!0);var uV=H.Symbol;uf("asyncDispose"),uf("dispose"),uf("matcher"),uf("metadata"),uf("observable"),uf("patternMatch"),uf("replaceAll");var uW=ul.f("iterator"),uq=(sy=s(function(e){function t(n){return"function"==typeof uV&&"symbol"==typeof uW?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"==typeof uV&&e.constructor===uV&&e!==uV.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0,t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}))&&sy.__esModule&&Object.prototype.hasOwnProperty.call(sy,"default")?sy.default:sy,uG=n1(function(){r6(1)});if(o0({target:"Object",stat:!0,forced:!n2||uG,sham:!n2},{getOwnPropertyDescriptor:function(e,t){return r6(rd(e),t)}}),"object"===(void 0===n.g?"undefined":uq(n.g))){var uK=Object.getOwnPropertyDescriptor(n.g,"window");n.g.window&&!uK.set||(n.g.window=n.g,n.g.requestAnimationFrame=function(){},n.g.navigator={userAgent:""},n.g.location={hostname:"0.0.0.0",port:0,protocol:"http:"},n.g.btoa=function(){},n.g.crypto={getRandomValues:function(e){return nodeCrypto.randomFillSync(e)}}),null!=n.g.document&&null==n.g.document.getElementsByTagName&&(n.g.document.getElementsByTagName=function(){return[]})}function uZ(e){return"[object Object]"===Object.prototype.toString.call(e)}function uX(e){var t,n;return!1!==uZ(e)&&(void 0===(t=e.constructor)||!1!==uZ(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}function uY(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map(function(e){return"'"+e+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function uJ(e){return!!e&&!!e[sO]}function uQ(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===sA}(e)||Array.isArray(e)||!!e[sC]||!!e.constructor[sC]||u3(e)||u6(e))}function u0(e,t,n){void 0===n&&(n=!1),0===u1(e)?(n?Object.keys:sk)(e).forEach(function(r){n&&"symbol"==typeof r||t(r,e[r],e)}):e.forEach(function(n,r){return t(r,n,e)})}function u1(e){var t=e[sO];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:u3(e)?2:3*!!u6(e)}function u2(e,t){return 2===u1(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function u4(e,t,n){var r=u1(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n}function u3(e){return sE&&e instanceof Map}function u6(e){return sD&&e instanceof Set}function u5(e){return e.o||e.t}function u8(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=sT(e);delete t[sO];for(var n=sk(t),r=0;r<n.length;r++){var o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function u7(e,t){return void 0===t&&(t=!1),se(e)||uJ(e)||!uQ(e)||(u1(e)>1&&(e.set=e.add=e.clear=e.delete=u9),Object.freeze(e),t&&u0(e,function(e,t){return u7(t,!0)},!0)),e}function u9(){uY(2)}function se(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function st(e){var t=sB[e];return t||uY(18,e),t}function sn(e,t){t&&(st("Patches"),e.u=[],e.s=[],e.v=t)}function sr(e){so(e),e.p.forEach(sa),e.p=null}function so(e){e===sb&&(sb=e.l)}function si(e){return sb={p:[],l:sb,h:e,m:!0,_:0}}function sa(e){var t=e[sO];0===t.i||1===t.i?t.j():t.O=!0}function su(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.g||st("ES5").S(t,e,r),r?(n[sO].P&&(sr(t),uY(4)),uQ(e)&&(e=ss(t,e),t.l||sc(t,e)),t.u&&st("Patches").M(n[sO],e,t.u,t.s)):e=ss(t,n,[]),sr(t),t.u&&t.v(t.u,t.s),e!==sx?e:void 0}function ss(e,t,n){if(se(t))return t;var r=t[sO];if(!r)return u0(t,function(o,i){return sl(e,r,t,o,i,n)},!0),t;if(r.A!==e)return t;if(!r.P)return sc(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=u8(r.k):r.o;u0(3===r.i?new Set(o):o,function(t,i){return sl(e,r,o,t,i,n)}),sc(e,o,!1),n&&e.u&&st("Patches").R(r,n,e.u,e.s)}return r.o}function sl(e,t,n,r,o,i){if(uJ(o)){var a=ss(e,o,i&&t&&3!==t.i&&!u2(t.D,r)?i.concat(r):void 0);if(u4(n,r,a),!uJ(a))return;e.m=!1}if(uQ(o)&&!se(o)){if(!e.h.F&&e._<1)return;ss(e,o),t&&t.A.l||sc(e,o)}}function sc(e,t,n){void 0===n&&(n=!1),e.h.F&&e.m&&u7(t,n)}function sf(e,t){var n=e[sO];return(n?u5(n):e)[t]}function sd(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function sp(e){e.P||(e.P=!0,e.l&&sp(e.l))}function sh(e){e.o||(e.o=u8(e.t))}function sg(e,t,n){var r,o,i,a,u,s,l,c=u3(t)?st("MapSet").N(t,n):u6(t)?st("MapSet").T(t,n):e.g?(i=o={i:+!!(r=Array.isArray(t)),A:n?n.A:sb,P:!1,I:!1,D:{},l:n,t:t,k:null,o:null,j:null,C:!1},a=sF,r&&(i=[o],a=sP),s=(u=Proxy.revocable(i,a)).revoke,o.k=l=u.proxy,o.j=s,l):st("ES5").J(t,n);return(n?n.A:sb).p.push(c),c}function sv(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return u8(e)}var sy,sm,sb,sw="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),sE="undefined"!=typeof Map,sD="undefined"!=typeof Set,sS="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,sx=sw?Symbol.for("immer-nothing"):((sm={})["immer-nothing"]=!0,sm),sC=sw?Symbol.for("immer-draftable"):"__$immer_draftable",sO=sw?Symbol.for("immer-state"):"__$immer_state",sA=""+Object.prototype.constructor,sk="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,sT=Object.getOwnPropertyDescriptors||function(e){var t={};return sk(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},sB={},sF={get:function(e,t){if(t===sO)return e;var n,r,o=u5(e);if(!u2(o,t))return(r=sd(o,t))?"value"in r?r.value:null==(n=r.get)?void 0:n.call(e.k):void 0;var i=o[t];return e.I||!uQ(i)?i:i===sf(e.t,t)?(sh(e),e.o[t]=sg(e.A.h,i,e)):i},has:function(e,t){return t in u5(e)},ownKeys:function(e){return Reflect.ownKeys(u5(e))},set:function(e,t,n){var r=sd(u5(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=sf(u5(e),t),i=null==o?void 0:o[sO];if(i&&i.t===n)return e.o[t]=n,e.D[t]=!1,!0;if((n===o?0!==n||1/n==1/o:n!=n&&o!=o)&&(void 0!==n||u2(e.t,t)))return!0;sh(e),sp(e)}return e.o[t]===n&&"number"!=typeof n&&(void 0!==n||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==sf(e.t,t)||t in e.t?(e.D[t]=!1,sh(e),sp(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=u5(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){uY(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){uY(12)}},sP={};u0(sF,function(e,t){sP[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),sP.deleteProperty=function(e,t){return sF.deleteProperty.call(this,e[0],t)},sP.set=function(e,t,n){return sF.set.call(this,e[0],t,n,e[0])};var s_=new(function(){function e(e){var t=this;this.g=sS,this.F=!0,this.produce=function(e,n,r){if("function"==typeof e&&"function"!=typeof n){var o,i=n;return n=e,function(e){var r=this;void 0===e&&(e=i);for(var o=arguments.length,a=Array(o>1?o-1:0),u=1;u<o;u++)a[u-1]=arguments[u];return t.produce(e,function(e){var t;return(t=n).call.apply(t,[r,e].concat(a))})}}if("function"!=typeof n&&uY(6),void 0!==r&&"function"!=typeof r&&uY(7),uQ(e)){var a=si(t),u=sg(t,e,void 0),s=!0;try{o=n(u),s=!1}finally{s?sr(a):so(a)}return"undefined"!=typeof Promise&&o instanceof Promise?o.then(function(e){return sn(a,r),su(e,a)},function(e){throw sr(a),e}):(sn(a,r),su(o,a))}if(!e||"object"!=typeof e){if((o=n(e))===sx)return;return void 0===o&&(o=e),t.F&&u7(o,!0),o}uY(21,e)},this.produceWithPatches=function(e,n){var r,o;return"function"==typeof e?function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.produceWithPatches(n,function(t){return e.apply(void 0,[t].concat(o))})}:[t.produce(e,n,function(e,t){r=e,o=t}),r,o]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){uQ(e)||uY(8),uJ(e)&&(uJ(t=e)||uY(22,t),e=function e(t){if(!uQ(t))return t;var n,r=t[sO],o=u1(t);if(r){if(!r.P&&(r.i<4||!st("ES5").K(r)))return r.t;r.I=!0,n=sv(t,o),r.I=!1}else n=sv(t,o);return u0(n,function(t,o){var i;r&&(i=r.t,(2===u1(i)?i.get(t):i[t])===o)||u4(n,t,e(o))}),3===o?new Set(n):n}(t));var t,n=si(this),r=sg(this,e,void 0);return r[sO].C=!0,so(n),r},t.finishDraft=function(e,t){var n=(e&&e[sO]).A;return sn(n,t),su(void 0,n)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!sS&&uY(20),this.g=e},t.applyPatches=function(e,t){for(n=t.length-1;n>=0;n--){var n,r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=st("Patches").$;return uJ(e)?o(e,t):this.produce(e,function(e){return o(e,t)})},e}()),sj=s_.produce;s_.produceWithPatches.bind(s_),s_.setAutoFreeze.bind(s_),s_.setUseProxies.bind(s_),s_.applyPatches.bind(s_);var sI=s_.createDraft.bind(s_),sN=s_.finishDraft.bind(s_);function sR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sL=new WeakMap,sM=new WeakMap,sz=new WeakMap,s$=new WeakMap,sH=new WeakMap,sU=new WeakMap;function sV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function sW(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sV(Object(n),!0).forEach(function(t){sR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sV(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var sq=()=>{var e={children:[],operations:[],selection:null,marks:null,isInline:()=>!1,isVoid:()=>!1,onChange:()=>{},apply:t=>{for(var n of ly.pathRefs(e))lA.transform(n,t);for(var r of ly.pointRefs(e))lF.transform(r,t);for(var o of ly.rangeRefs(e))lI.transform(o,t);var i=new Set,a=[],u=e=>{if(e){var t=e.join(",");i.has(t)||(i.add(t),a.push(e))}},s=sL.get(e)||[],l=sG(t);for(var c of s)u(lO.transform(c,t));for(var f of l)u(f);sL.set(e,a),l6.transform(e,t),e.operations.push(t),ly.normalize(e),"set_selection"===t.type&&(e.marks=null),sM.get(e)||(sM.set(e,!0),Promise.resolve().then(()=>{sM.set(e,!1),e.onChange(),e.operations=[]}))},addMark:(t,n)=>{var{selection:r}=e;if(r)if(lj.isExpanded(r))l6.setNodes(e,{[t]:n},{match:l$.isText,split:!0});else{var o=sW(sW({},ly.marks(e)||{}),{},{[t]:n});e.marks=o,sM.get(e)||e.onChange()}},deleteBackward:t=>{var{selection:n}=e;n&&lj.isCollapsed(n)&&l6.delete(e,{unit:t,reverse:!0})},deleteForward:t=>{var{selection:n}=e;n&&lj.isCollapsed(n)&&l6.delete(e,{unit:t})},deleteFragment:t=>{var{selection:n}=e;n&&lj.isExpanded(n)&&l6.delete(e,{reverse:"backward"===t})},getFragment:()=>{var{selection:t}=e;return t?lD.fragment(e,t):[]},insertBreak:()=>{l6.splitNodes(e,{always:!0})},insertFragment:t=>{l6.insertFragment(e,t)},insertNode:t=>{l6.insertNodes(e,t)},insertText:t=>{var{selection:n,marks:r}=e;if(n){if(r){var o=sW({text:t},r);l6.insertNodes(e,o)}else l6.insertText(e,t);e.marks=null}},normalizeNode:t=>{var[n,r]=t;if(!l$.isText(n))if(lf.isElement(n)&&0===n.children.length)l6.insertNodes(e,{text:""},{at:r.concat(0),voids:!0});else for(var o=!ly.isEditor(n)&&lf.isElement(n)&&(e.isInline(n)||0===n.children.length||l$.isText(n.children[0])||e.isInline(n.children[0])),i=0,a=0;a<n.children.length;a++,i++){var u=lD.get(e,r);if(!l$.isText(u)){var s=n.children[a],l=u.children[i-1],c=a===n.children.length-1;(l$.isText(s)||lf.isElement(s)&&e.isInline(s))!==o?(l6.removeNodes(e,{at:r.concat(i),voids:!0}),i--):lf.isElement(s)?e.isInline(s)&&(null!=l&&l$.isText(l)?c&&(l6.insertNodes(e,{text:""},{at:r.concat(i+1),voids:!0}),i++):(l6.insertNodes(e,{text:""},{at:r.concat(i),voids:!0}),i++)):null!=l&&l$.isText(l)&&(l$.equals(s,l,{loose:!0})?(l6.mergeNodes(e,{at:r.concat(i),voids:!0}),i--):""===l.text?(l6.removeNodes(e,{at:r.concat(i-1),voids:!0}),i--):""===s.text&&(l6.removeNodes(e,{at:r.concat(i),voids:!0}),i--))}}},removeMark:t=>{var{selection:n}=e;if(n)if(lj.isExpanded(n))l6.unsetNodes(e,t,{match:l$.isText,split:!0});else{var r=sW({},ly.marks(e)||{});delete r[t],e.marks=r,sM.get(e)||e.onChange()}}};return e},sG=e=>{switch(e.type){case"insert_text":case"remove_text":case"set_node":var{path:t}=e;return lO.levels(t);case"insert_node":var{node:n,path:r}=e;return[...lO.levels(r),...l$.isText(n)?[]:Array.from(lD.nodes(n),e=>{var[,t]=e;return r.concat(t)})];case"merge_node":var{path:o}=e;return[...lO.ancestors(o),lO.previous(o)];case"move_node":var{path:i,newPath:a}=e;if(lO.equals(i,a))return[];var u=[],s=[];for(var l of lO.ancestors(i)){var c=lO.transform(l,e);u.push(c)}for(var f of lO.ancestors(a)){var d=lO.transform(f,e);s.push(d)}var p=s[s.length-1],h=a[a.length-1];return[...u,...s,p.concat(h)];case"remove_node":var{path:g}=e;return[...lO.ancestors(g)];case"split_node":var{path:v}=e;return[...lO.levels(v),lO.next(v)];default:return[]}};function sK(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var sZ,sX=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!t,r=t?s2(e):e,o=sZ.None,i=sZ.None,a=0,u=null;for(var s of r){var l=s.codePointAt(0);if(!l)break;var c=lo(s,l);if([o,i]=n?[i,c]:[c,o],0!=(o&sZ.ZWJ)&&0!=(i&sZ.ExtPict)&&!lu(n?e.substring(0,a):e.substring(0,e.length-a))||0!=(o&sZ.RI)&&0!=(i&sZ.RI)&&!(u=null!==u?!u:!!n||ll(e.substring(0,e.length-a)))||o!==sZ.None&&i!==sZ.None&&function(e,t){return -1===li.findIndex(n=>0!=(e&n[0])&&0!=(t&n[1]))}(o,i))break;a+=s.length}return a||1},sY=/\s/,sJ=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,sQ=/['\u2018\u2019]/,s0=(e,t,n)=>{if(n){var r=e.length-t;return[e.slice(r,e.length),e.slice(0,r)]}return[e.slice(0,t),e.slice(t)]},s1=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(sY.test(t))return!1;if(sQ.test(t)){var o=sX(n,r),[i,a]=s0(n,o,r);if(e(i,a,r))return!0}return!sJ.test(t)},s2=function*(e){for(var t=e.length-1,n=0;n<e.length;n++){var r=e.charAt(t-n);if(s3(r.charCodeAt(0))){var o=e.charAt(t-n-1);if(s4(o.charCodeAt(0))){yield o+r,n++;continue}}yield r}},s4=e=>e>=55296&&e<=56319,s3=e=>e>=56320&&e<=57343;(l1=sZ||(sZ={}))[l1.None=0]="None",l1[l1.Extend=1]="Extend",l1[l1.ZWJ=2]="ZWJ",l1[l1.RI=4]="RI",l1[l1.Prepend=8]="Prepend",l1[l1.SpacingMark=16]="SpacingMark",l1[l1.L=32]="L",l1[l1.V=64]="V",l1[l1.T=128]="T",l1[l1.LV=256]="LV",l1[l1.LVT=512]="LVT",l1[l1.ExtPict=1024]="ExtPict",l1[l1.Any=2048]="Any";var s6=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,s5=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,s8=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,s7=/^[\u1100-\u115F\uA960-\uA97C]$/,s9=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,le=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,lt=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,ln=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,lr=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,lo=(e,t)=>{var n=sZ.Any;return -1!==e.search(s6)&&(n|=sZ.Extend),8205===t&&(n|=sZ.ZWJ),t>=127462&&t<=127487&&(n|=sZ.RI),-1!==e.search(s5)&&(n|=sZ.Prepend),-1!==e.search(s8)&&(n|=sZ.SpacingMark),-1!==e.search(s7)&&(n|=sZ.L),-1!==e.search(s9)&&(n|=sZ.V),-1!==e.search(le)&&(n|=sZ.T),-1!==e.search(lt)&&(n|=sZ.LV),-1!==e.search(ln)&&(n|=sZ.LVT),-1!==e.search(lr)&&(n|=sZ.ExtPict),n},li=[[sZ.L,sZ.L|sZ.V|sZ.LV|sZ.LVT],[sZ.LV|sZ.V,sZ.V|sZ.T],[sZ.LVT|sZ.T,sZ.T],[sZ.Any,sZ.Extend|sZ.ZWJ],[sZ.Any,sZ.SpacingMark],[sZ.Prepend,sZ.Any],[sZ.ZWJ,sZ.ExtPict],[sZ.RI,sZ.RI]],la=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,lu=e=>-1!==e.search(la),ls=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,ll=e=>{var t=e.match(ls);return null!==t&&t[0].length/2%2==1},lc=e=>uX(e)&&lD.isNodeList(e.children)&&!ly.isEditor(e),lf={isAncestor:e=>uX(e)&&lD.isNodeList(e.children),isElement:lc,isElementList:e=>Array.isArray(e)&&e.every(e=>lf.isElement(e)),isElementProps:e=>void 0!==e.children,isElementType:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"type";return lc(e)&&e[n]===t},matches(e,t){for(var n in t)if("children"!==n&&e[n]!==t[n])return!1;return!0}},ld=["text"],lp=["text"];function lh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lh(Object(n),!0).forEach(function(t){sR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lh(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var lv=new WeakMap,ly={above(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{voids:n=!1,mode:r="lowest",at:o=e.selection,match:i}=t;if(o){var a=ly.path(e,o);for(var[u,s]of ly.levels(e,{at:a,voids:n,match:i,reverse:"lowest"===r}))if(!l$.isText(u)&&!lO.equals(a,s))return[u,s]}},addMark(e,t,n){e.addMark(t,n)},after(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={anchor:ly.point(e,t,{edge:"end"}),focus:ly.end(e,[])},{distance:i=1}=r,a=0;for(var u of ly.positions(e,lg(lg({},r),{},{at:o}))){if(a>i)break;0!==a&&(n=u),a++}return n},before(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={anchor:ly.start(e,[]),focus:ly.point(e,t,{edge:"start"})},{distance:i=1}=r,a=0;for(var u of ly.positions(e,lg(lg({},r),{},{at:o,reverse:!0}))){if(a>i)break;0!==a&&(n=u),a++}return n},deleteBackward(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:n="character"}=t;e.deleteBackward(n)},deleteForward(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:n="character"}=t;e.deleteForward(n)},deleteFragment(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{direction:n="forward"}=t;e.deleteFragment(n)},edges:(e,t)=>[ly.start(e,t),ly.end(e,t)],end:(e,t)=>ly.point(e,t,{edge:"end"}),first(e,t){var n=ly.path(e,t,{edge:"start"});return ly.node(e,n)},fragment(e,t){var n=ly.range(e,t);return lD.fragment(e,n)},hasBlocks:(e,t)=>t.children.some(t=>ly.isBlock(e,t)),hasInlines:(e,t)=>t.children.some(t=>l$.isText(t)||ly.isInline(e,t)),hasTexts:(e,t)=>t.children.every(e=>l$.isText(e)),insertBreak(e){e.insertBreak()},insertFragment(e,t){e.insertFragment(t)},insertNode(e,t){e.insertNode(t)},insertText(e,t){e.insertText(t)},isBlock:(e,t)=>lf.isElement(t)&&!e.isInline(t),isEditor(e){if(!uX(e))return!1;var t=lv.get(e);if(void 0!==t)return t;var n="function"==typeof e.addMark&&"function"==typeof e.apply&&"function"==typeof e.deleteBackward&&"function"==typeof e.deleteForward&&"function"==typeof e.deleteFragment&&"function"==typeof e.insertBreak&&"function"==typeof e.insertFragment&&"function"==typeof e.insertNode&&"function"==typeof e.insertText&&"function"==typeof e.isInline&&"function"==typeof e.isVoid&&"function"==typeof e.normalizeNode&&"function"==typeof e.onChange&&"function"==typeof e.removeMark&&(null===e.marks||uX(e.marks))&&(null===e.selection||lj.isRange(e.selection))&&lD.isNodeList(e.children)&&lC.isOperationList(e.operations);return lv.set(e,n),n},isEnd(e,t,n){var r=ly.end(e,n);return lB.equals(t,r)},isEdge:(e,t,n)=>ly.isStart(e,t,n)||ly.isEnd(e,t,n),isEmpty(e,t){var{children:n}=t,[r]=n;return 0===n.length||1===n.length&&l$.isText(r)&&""===r.text&&!e.isVoid(t)},isInline:(e,t)=>lf.isElement(t)&&e.isInline(t),isNormalizing(e){var t=sz.get(e);return void 0===t||t},isStart(e,t,n){if(0!==t.offset)return!1;var r=ly.start(e,n);return lB.equals(t,r)},isVoid:(e,t)=>lf.isElement(t)&&e.isVoid(t),last(e,t){var n=ly.path(e,t,{edge:"end"});return ly.node(e,n)},leaf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=ly.path(e,t,n);return[lD.leaf(e,r),r]},*levels(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:n=e.selection,reverse:r=!1,voids:o=!1}=t,{match:i}=t;if(null==i&&(i=()=>!0),n){var a=[],u=ly.path(e,n);for(var[s,l]of lD.levels(e,u))if(i(s,l)&&(a.push([s,l]),!o&&ly.isVoid(e,s)))break;r&&a.reverse(),yield*a}},marks(e){var{marks:t,selection:n}=e;if(!n)return null;if(t)return t;if(lj.isExpanded(n)){var[r]=ly.nodes(e,{match:l$.isText});if(r){var[o]=r;return sK(o,ld)}return{}}var{anchor:i}=n,{path:a}=i,[u]=ly.leaf(e,a);if(0===i.offset){var s=ly.previous(e,{at:a,match:l$.isText}),l=ly.above(e,{match:t=>ly.isBlock(e,t)});if(s&&l){var[c,f]=s,[,d]=l;lO.isAncestor(d,f)&&(u=c)}}return sK(u,lp)},next(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(i){var a=ly.after(e,i,{voids:r});if(a){var[,u]=ly.last(e,[]),s=[a.path,u];if(lO.isPath(i)&&0===i.length)throw Error("Cannot get the next node from the root node!");if(null==o)if(lO.isPath(i)){var[l]=ly.parent(e,i);o=e=>l.children.includes(e)}else o=()=>!0;var[c]=ly.nodes(e,{at:s,match:o,mode:n,voids:r});return c}}},node(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=ly.path(e,t,n);return[lD.get(e,r),r]},*nodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:n=e.selection,mode:r="all",universal:o=!1,reverse:i=!1,voids:a=!1}=t,{match:u}=t;if(u||(u=()=>!0),n){if(lm.isSpan(n))c=n[0],f=n[1];else{var s=ly.path(e,n,{edge:"start"}),l=ly.path(e,n,{edge:"end"});c=i?l:s,f=i?s:l}var c,f,d,p=lD.nodes(e,{reverse:i,from:c,to:f,pass:t=>{var[n]=t;return!a&&ly.isVoid(e,n)}}),h=[];for(var[g,v]of p){var y=d&&0===lO.compare(v,d[1]);if("highest"!==r||!y){if(u(g,v))if("lowest"===r&&y)d=[g,v];else{var m="lowest"===r?d:[g,v];m&&(o?h.push(m):yield m),d=[g,v]}else if(o&&!y&&l$.isText(g))return}}"lowest"===r&&d&&(o?h.push(d):yield d),o&&(yield*h)}},normalize(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{force:n=!1}=t,r=e=>sL.get(e)||[];if(ly.isNormalizing(e)){if(n){var o=Array.from(lD.nodes(e),e=>{var[,t]=e;return t});sL.set(e,o)}0!==r(e).length&&ly.withoutNormalizing(e,()=>{for(var t of r(e))if(lD.has(e,t)){var n=ly.node(e,t),[o,i]=n;lf.isElement(o)&&0===o.children.length&&e.normalizeNode(n)}for(var a=42*r(e).length,u=0;0!==r(e).length;){if(u>a)throw Error("\n Could not completely normalize the editor after ".concat(a," iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state.\n "));var s=r(e).pop();if(lD.has(e,s)){var l=ly.node(e,s);e.normalizeNode(l)}u++}})}},parent(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=ly.path(e,t,n),o=lO.parent(r);return ly.node(e,o)},path(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{depth:r,edge:o}=n;if(lO.isPath(t)){if("start"===o){var[,i]=lD.first(e,t);t=i}else if("end"===o){var[,a]=lD.last(e,t);t=a}}return lj.isRange(t)&&(t="start"===o?lj.start(t):"end"===o?lj.end(t):lO.common(t.anchor.path,t.focus.path)),lB.isPoint(t)&&(t=t.path),null!=r&&(t=t.slice(0,r)),t},hasPath:(e,t)=>lD.has(e,t),pathRef(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return ly.pathRefs(e).delete(o),o.current=null,t}};return ly.pathRefs(e).add(o),o},pathRefs(e){var t=s$.get(e);return t||(t=new Set,s$.set(e,t)),t},point(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{edge:r="start"}=n;if(lO.isPath(t)){if("end"===r){var o,[,i]=lD.last(e,t);o=i}else{var[,a]=lD.first(e,t);o=a}var u=lD.get(e,o);if(!l$.isText(u))throw Error("Cannot get the ".concat(r," point in the node at path [").concat(t,"] because it has no ").concat(r," text node."));return{path:o,offset:"end"===r?u.text.length:0}}if(lj.isRange(t)){var[s,l]=lj.edges(t);return"start"===r?s:l}return t},pointRef(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return ly.pointRefs(e).delete(o),o.current=null,t}};return ly.pointRefs(e).add(o),o},pointRefs(e){var t=sH.get(e);return t||(t=new Set,sH.set(e,t)),t},*positions(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:n=e.selection,unit:r="offset",reverse:o=!1,voids:i=!1}=t;if(n){var a=ly.range(e,n),[u,s]=lj.edges(a),l=o?s:u,c=!1,f="",d=0,p=0,h=0;for(var[g,v]of ly.nodes(e,{at:n,reverse:o,voids:i})){if(lf.isElement(g)){if(!i&&e.isVoid(g)){yield ly.start(e,v);continue}if(e.isInline(g))continue;if(ly.hasInlines(e,g)){var y=lO.isAncestor(v,s.path)?s:ly.end(e,v),m=lO.isAncestor(v,u.path)?u:ly.start(e,v);f=ly.string(e,{anchor:m,focus:y},{voids:i}),c=!0}}if(l$.isText(g)){var b,w,E,D=lO.equals(v,l.path);for(D?(p=o?l.offset:g.text.length-l.offset,h=l.offset):(p=g.text.length,h=o?p:0),(D||c||"offset"===r)&&(yield{path:v,offset:h},c=!1);;){if(0===d){if(""===f)break;b=f,w=r,E=o,d="character"===w?sX(b,E):"word"===w?function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=0,r=!1;e.length>0;){var o=sX(e,t),[i,a]=s0(e,o,t);if(s1(i,a,t))r=!0,n+=o;else{if(r)break;n+=o}e=a}return n}(b,E):"line"===w||"block"===w?b.length:1,f=s0(f,d,o)[1]}if(h=o?h-d:h+d,(p-=d)<0){d=-p;break}d=0,yield{path:v,offset:h}}}}}},previous(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(i){var a=ly.before(e,i,{voids:r});if(a){var[,u]=ly.first(e,[]),s=[a.path,u];if(lO.isPath(i)&&0===i.length)throw Error("Cannot get the previous node from the root node!");if(null==o)if(lO.isPath(i)){var[l]=ly.parent(e,i);o=e=>l.children.includes(e)}else o=()=>!0;var[c]=ly.nodes(e,{reverse:!0,at:s,match:o,mode:n,voids:r});return c}}},range:(e,t,n)=>lj.isRange(t)&&!n?t:{anchor:ly.start(e,t),focus:ly.end(e,n||t)},rangeRef(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return ly.rangeRefs(e).delete(o),o.current=null,t}};return ly.rangeRefs(e).add(o),o},rangeRefs(e){var t=sU.get(e);return t||(t=new Set,sU.set(e,t)),t},removeMark(e,t){e.removeMark(t)},setNormalizing(e,t){sz.set(e,t)},start:(e,t)=>ly.point(e,t,{edge:"start"}),string(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=n,o=ly.range(e,t),[i,a]=lj.edges(o),u="";for(var[s,l]of ly.nodes(e,{at:o,match:l$.isText,voids:r})){var c=s.text;lO.equals(l,a.path)&&(c=c.slice(0,a.offset)),lO.equals(l,i.path)&&(c=c.slice(i.offset)),u+=c}return u},unhangRange(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=n,[o,i]=lj.edges(t);if(0!==o.offset||0!==i.offset||lj.isCollapsed(t))return t;var a=ly.above(e,{at:i,match:t=>ly.isBlock(e,t)}),u=a?a[1]:[],s={anchor:ly.start(e,[]),focus:i},l=!0;for(var[c,f]of ly.nodes(e,{at:s,match:l$.isText,reverse:!0,voids:r}))if(l)l=!1;else if(""!==c.text||lO.isBefore(f,u)){i={path:f,offset:c.text.length};break}return{anchor:o,focus:i}},void(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return ly.above(e,lg(lg({},t),{},{match:t=>ly.isVoid(e,t)}))},withoutNormalizing(e,t){var n=ly.isNormalizing(e);ly.setNormalizing(e,!1);try{t()}finally{ly.setNormalizing(e,n)}ly.normalize(e)}},lm={isSpan:e=>Array.isArray(e)&&2===e.length&&e.every(lO.isPath)},lb=["children"],lw=["text"],lE=new WeakMap,lD={ancestor(e,t){var n=lD.get(e,t);if(l$.isText(n))throw Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(n));return n},*ancestors(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of lO.ancestors(t,n)){var o=[lD.ancestor(e,r),r];yield o}},child(e,t){if(l$.isText(e))throw Error("Cannot get the child of a text node: ".concat(JSON.stringify(e)));var n=e.children[t];if(null==n)throw Error("Cannot get child at index `".concat(t,"` in node: ").concat(JSON.stringify(e)));return n},*children(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{reverse:r=!1}=n,o=lD.ancestor(e,t),{children:i}=o,a=r?i.length-1:0;r?a>=0:a<i.length;){var u=lD.child(o,a),s=t.concat(a);yield[u,s],a=r?a-1:a+1}},common(e,t,n){var r=lO.common(t,n);return[lD.get(e,r),r]},descendant(e,t){var n=lD.get(e,t);if(ly.isEditor(n))throw Error("Cannot get the descendant node at path [".concat(t,"] because it refers to the root editor node instead: ").concat(n));return n},*descendants(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of lD.nodes(e,t))0!==r.length&&(yield[n,r])},*elements(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of lD.nodes(e,t))lf.isElement(n)&&(yield[n,r])},extractProps:e=>lf.isAncestor(e)?sK(e,lb):sK(e,lw),first(e,t){for(var n=t.slice(),r=lD.get(e,n);r&&!l$.isText(r)&&0!==r.children.length;)r=r.children[0],n.push(0);return[r,n]},fragment(e,t){if(l$.isText(e))throw Error("Cannot get a fragment starting from a root text node: ".concat(JSON.stringify(e)));return sj({children:e.children},e=>{var[n,r]=lj.edges(t);for(var[,o]of lD.nodes(e,{reverse:!0,pass:e=>{var[,n]=e;return!lj.includes(t,n)}})){if(!lj.includes(t,o)){var i=lD.parent(e,o),a=o[o.length-1];i.children.splice(a,1)}if(lO.equals(o,r.path)){var u=lD.leaf(e,o);u.text=u.text.slice(0,r.offset)}if(lO.equals(o,n.path)){var s=lD.leaf(e,o);s.text=s.text.slice(n.offset)}}ly.isEditor(e)&&(e.selection=null)}).children},get(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(l$.isText(n)||!n.children[o])throw Error("Cannot find a descendant at path [".concat(t,"] in node: ").concat(JSON.stringify(e)));n=n.children[o]}return n},has(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(l$.isText(n)||!n.children[o])return!1;n=n.children[o]}return!0},isNode:e=>l$.isText(e)||lf.isElement(e)||ly.isEditor(e),isNodeList(e){if(!Array.isArray(e))return!1;var t=lE.get(e);if(void 0!==t)return t;var n=e.every(e=>lD.isNode(e));return lE.set(e,n),n},last(e,t){for(var n=t.slice(),r=lD.get(e,n);r&&!l$.isText(r)&&0!==r.children.length;){var o=r.children.length-1;r=r.children[o],n.push(o)}return[r,n]},leaf(e,t){var n=lD.get(e,t);if(!l$.isText(n))throw Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(n));return n},*levels(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of lO.levels(t,n)){var o=lD.get(e,r);yield[o,r]}},matches:(e,t)=>lf.isElement(e)&&lf.isElementProps(t)&&lf.matches(e,t)||l$.isText(e)&&l$.isTextProps(t)&&l$.matches(e,t),*nodes(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{pass:n,reverse:r=!1}=t,{from:o=[],to:i}=t,a=new Set,u=[],s=e;!i||!(r?lO.isBefore(u,i):lO.isAfter(u,i));)if(a.has(s)||(yield[s,u]),a.has(s)||l$.isText(s)||0===s.children.length||null!=n&&!1!==n([s,u])){if(0===u.length)break;if(!r){var l=lO.next(u);if(lD.has(e,l)){u=l,s=lD.get(e,u);continue}}r&&0!==u[u.length-1]?(u=lO.previous(u),s=lD.get(e,u)):(u=lO.parent(u),s=lD.get(e,u),a.add(s))}else{a.add(s);var c=r?s.children.length-1:0;lO.isAncestor(u,o)&&(c=o[u.length]),u=u.concat(c),s=lD.get(e,u)}},parent(e,t){var n=lO.parent(t),r=lD.get(e,n);if(l$.isText(r))throw Error("Cannot get the parent of path [".concat(t,"] because it does not exist in the root."));return r},string:e=>l$.isText(e)?e.text:e.children.map(lD.string).join(""),*texts(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of lD.nodes(e,t))l$.isText(n)&&(yield[n,r])}};function lS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lS(Object(n),!0).forEach(function(t){sR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lS(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var lC={isNodeOperation:e=>lC.isOperation(e)&&e.type.endsWith("_node"),isOperation(e){if(!uX(e))return!1;switch(e.type){case"insert_node":case"remove_node":return lO.isPath(e.path)&&lD.isNode(e.node);case"insert_text":case"remove_text":return"number"==typeof e.offset&&"string"==typeof e.text&&lO.isPath(e.path);case"merge_node":return"number"==typeof e.position&&lO.isPath(e.path)&&uX(e.properties);case"move_node":return lO.isPath(e.path)&&lO.isPath(e.newPath);case"set_node":return lO.isPath(e.path)&&uX(e.properties)&&uX(e.newProperties);case"set_selection":return null===e.properties&&lj.isRange(e.newProperties)||null===e.newProperties&&lj.isRange(e.properties)||uX(e.properties)&&uX(e.newProperties);case"split_node":return lO.isPath(e.path)&&"number"==typeof e.position&&uX(e.properties);default:return!1}},isOperationList:e=>Array.isArray(e)&&e.every(e=>lC.isOperation(e)),isSelectionOperation:e=>lC.isOperation(e)&&e.type.endsWith("_selection"),isTextOperation:e=>lC.isOperation(e)&&e.type.endsWith("_text"),inverse(e){switch(e.type){case"insert_node":return lx(lx({},e),{},{type:"remove_node"});case"insert_text":return lx(lx({},e),{},{type:"remove_text"});case"merge_node":return lx(lx({},e),{},{type:"split_node",path:lO.previous(e.path)});case"move_node":var{newPath:t,path:n}=e;if(lO.equals(t,n))return e;if(lO.isSibling(n,t))return lx(lx({},e),{},{path:t,newPath:n});var r=lO.transform(n,e),o=lO.transform(lO.next(n),e);return lx(lx({},e),{},{path:r,newPath:o});case"remove_node":return lx(lx({},e),{},{type:"insert_node"});case"remove_text":return lx(lx({},e),{},{type:"insert_text"});case"set_node":var{properties:i,newProperties:a}=e;return lx(lx({},e),{},{properties:a,newProperties:i});case"set_selection":var{properties:u,newProperties:s}=e;return lx(lx({},e),{},null==u?{properties:s,newProperties:null}:null==s?{properties:null,newProperties:u}:{properties:s,newProperties:u});case"split_node":return lx(lx({},e),{},{type:"merge_node",path:lO.next(e.path)})}}},lO={ancestors(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,r=lO.levels(e,t);return n?r.slice(1):r.slice(0,-1)},common(e,t){for(var n=[],r=0;r<e.length&&r<t.length;r++){var o=e[r];if(o!==t[r])break;n.push(o)}return n},compare(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++){if(e[r]<t[r])return -1;if(e[r]>t[r])return 1}return 0},endsAfter(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return lO.equals(r,o)&&i>a},endsAt(e,t){var n=e.length,r=e.slice(0,n),o=t.slice(0,n);return lO.equals(r,o)},endsBefore(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return lO.equals(r,o)&&i<a},equals:(e,t)=>e.length===t.length&&e.every((e,n)=>e===t[n]),hasPrevious:e=>e[e.length-1]>0,isAfter:(e,t)=>1===lO.compare(e,t),isAncestor:(e,t)=>e.length<t.length&&0===lO.compare(e,t),isBefore:(e,t)=>-1===lO.compare(e,t),isChild:(e,t)=>e.length===t.length+1&&0===lO.compare(e,t),isCommon:(e,t)=>e.length<=t.length&&0===lO.compare(e,t),isDescendant:(e,t)=>e.length>t.length&&0===lO.compare(e,t),isParent:(e,t)=>e.length+1===t.length&&0===lO.compare(e,t),isPath:e=>Array.isArray(e)&&(0===e.length||"number"==typeof e[0]),isSibling(e,t){if(e.length!==t.length)return!1;var n=e.slice(0,-1),r=t.slice(0,-1);return e[e.length-1]!==t[t.length-1]&&lO.equals(n,r)},levels(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,r=[],o=0;o<=e.length;o++)r.push(e.slice(0,o));return n&&r.reverse(),r},next(e){if(0===e.length)throw Error("Cannot get the next path of a root path [".concat(e,"], because it has no next index."));var t=e[e.length-1];return e.slice(0,-1).concat(t+1)},parent(e){if(0===e.length)throw Error("Cannot get the parent path of the root path [".concat(e,"]."));return e.slice(0,-1)},previous(e){if(0===e.length)throw Error("Cannot get the previous path of a root path [".concat(e,"], because it has no previous index."));var t=e[e.length-1];if(t<=0)throw Error("Cannot get the previous path of a first child path [".concat(e,"] because it would result in a negative index."));return e.slice(0,-1).concat(t-1)},relative(e,t){if(!lO.isAncestor(t,e)&&!lO.equals(e,t))throw Error("Cannot get the relative path of [".concat(e,"] inside ancestor [").concat(t,"], because it is not above or equal to the path."));return e.slice(t.length)},transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return sj(e,r=>{var{affinity:o="forward"}=n;if(e&&0!==(null==e?void 0:e.length)){if(null===r)return null;switch(t.type){case"insert_node":var{path:i}=t;(lO.equals(i,r)||lO.endsBefore(i,r)||lO.isAncestor(i,r))&&(r[i.length-1]+=1);break;case"remove_node":var{path:a}=t;if(lO.equals(a,r)||lO.isAncestor(a,r))return null;lO.endsBefore(a,r)&&(r[a.length-1]-=1);break;case"merge_node":var{path:u,position:s}=t;lO.equals(u,r)||lO.endsBefore(u,r)?r[u.length-1]-=1:lO.isAncestor(u,r)&&(r[u.length-1]-=1,r[u.length]+=s);break;case"split_node":var{path:l,position:c}=t;if(lO.equals(l,r)){if("forward"===o)r[r.length-1]+=1;else if("backward"!==o)return null}else lO.endsBefore(l,r)?r[l.length-1]+=1:lO.isAncestor(l,r)&&e[l.length]>=c&&(r[l.length-1]+=1,r[l.length]-=c);break;case"move_node":var{path:f,newPath:d}=t;if(lO.equals(f,d))return;if(lO.isAncestor(f,r)||lO.equals(f,r)){var p=d.slice();return lO.endsBefore(f,d)&&f.length<d.length&&(p[f.length-1]-=1),p.concat(r.slice(f.length))}lO.isSibling(f,d)&&(lO.isAncestor(d,r)||lO.equals(d,r))?lO.endsBefore(f,r)?r[f.length-1]-=1:r[f.length-1]+=1:lO.endsBefore(d,r)||lO.equals(d,r)||lO.isAncestor(d,r)?(lO.endsBefore(f,r)&&(r[f.length-1]-=1),r[d.length-1]+=1):lO.endsBefore(f,r)&&(lO.equals(d,r)&&(r[d.length-1]+=1),r[f.length-1]-=1)}}})}},lA={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=lO.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}};function lk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lT(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lk(Object(n),!0).forEach(function(t){sR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lk(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var lB={compare(e,t){var n=lO.compare(e.path,t.path);return 0===n?e.offset<t.offset?-1:+(e.offset>t.offset):n},isAfter:(e,t)=>1===lB.compare(e,t),isBefore:(e,t)=>-1===lB.compare(e,t),equals:(e,t)=>e.offset===t.offset&&lO.equals(e.path,t.path),isPoint:e=>uX(e)&&"number"==typeof e.offset&&lO.isPath(e.path),transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return sj(e,e=>{if(null===e)return null;var{affinity:r="forward"}=n,{path:o,offset:i}=e;switch(t.type){case"insert_node":case"move_node":e.path=lO.transform(o,t,n);break;case"insert_text":lO.equals(t.path,o)&&t.offset<=i&&(e.offset+=t.text.length);break;case"merge_node":lO.equals(t.path,o)&&(e.offset+=t.position),e.path=lO.transform(o,t,n);break;case"remove_text":lO.equals(t.path,o)&&t.offset<=i&&(e.offset-=Math.min(i-t.offset,t.text.length));break;case"remove_node":if(lO.equals(t.path,o)||lO.isAncestor(t.path,o))return null;e.path=lO.transform(o,t,n);break;case"split_node":if(lO.equals(t.path,o)){if(t.position===i&&null==r)return null;(t.position<i||t.position===i&&"forward"===r)&&(e.offset-=t.position,e.path=lO.transform(o,t,lT(lT({},n),{},{affinity:"forward"})))}else e.path=lO.transform(o,t,n)}})}},lF={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=lB.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}},lP=["anchor","focus"];function l_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}var lj={edges(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,{anchor:r,focus:o}=e;return lj.isBackward(e)===n?[r,o]:[o,r]},end(e){var[,t]=lj.edges(e);return t},equals:(e,t)=>lB.equals(e.anchor,t.anchor)&&lB.equals(e.focus,t.focus),includes(e,t){if(lj.isRange(t)){if(lj.includes(e,t.anchor)||lj.includes(e,t.focus))return!0;var[n,r]=lj.edges(e),[o,i]=lj.edges(t);return lB.isBefore(n,o)&&lB.isAfter(r,i)}var[a,u]=lj.edges(e),s=!1,l=!1;return lB.isPoint(t)?(s=lB.compare(t,a)>=0,l=0>=lB.compare(t,u)):(s=lO.compare(t,a.path)>=0,l=0>=lO.compare(t,u.path)),s&&l},intersection(e,t){var n=sK(e,lP),[r,o]=lj.edges(e),[i,a]=lj.edges(t),u=lB.isBefore(r,i)?i:r,s=lB.isBefore(o,a)?o:a;return lB.isBefore(s,u)?null:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l_(Object(n),!0).forEach(function(t){sR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l_(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({anchor:u,focus:s},n)},isBackward(e){var{anchor:t,focus:n}=e;return lB.isAfter(t,n)},isCollapsed(e){var{anchor:t,focus:n}=e;return lB.equals(t,n)},isExpanded:e=>!lj.isCollapsed(e),isForward:e=>!lj.isBackward(e),isRange:e=>uX(e)&&lB.isPoint(e.anchor)&&lB.isPoint(e.focus),*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=lj.edges(e);return t},transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return sj(e,e=>{if(null===e)return null;var r,o,{affinity:i="inward"}=n;if("inward"===i){var a=lj.isCollapsed(e);lj.isForward(e)?(r="forward",o=a?r:"backward"):(r="backward",o=a?r:"forward")}else"outward"===i?lj.isForward(e)?(r="backward",o="forward"):(r="forward",o="backward"):(r=i,o=i);var u=lB.transform(e.anchor,t,{affinity:r}),s=lB.transform(e.focus,t,{affinity:o});if(!u||!s)return null;e.anchor=u,e.focus=s})}},lI={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=lj.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}},lN=(e,t)=>{for(var n in e){var r=e[n],o=t[n];if(uX(r)&&uX(o)){if(!lN(r,o))return!1}else if(Array.isArray(r)&&Array.isArray(o)){if(r.length!==o.length)return!1;for(var i=0;i<r.length;i++)if(r[i]!==o[i])return!1}else if(r!==o)return!1}for(var a in t)if(void 0===e[a]&&void 0!==t[a])return!1;return!0},lR=["text"],lL=["anchor","focus"];function lM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lM(Object(n),!0).forEach(function(t){sR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lM(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var l$={equals(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{loose:r=!1}=n;return lN(r?sK(e,lR):e,r?sK(t,lR):t)},isText:e=>uX(e)&&"string"==typeof e.text,isTextList:e=>Array.isArray(e)&&e.every(e=>l$.isText(e)),isTextProps:e=>void 0!==e.text,matches(e,t){for(var n in t)if("text"!==n&&(!e.hasOwnProperty(n)||e[n]!==t[n]))return!1;return!0},decorations(e,t){var n=[lz({},e)];for(var r of t){var o=sK(r,lL),[i,a]=lj.edges(r),u=[],s=0;for(var l of n){var{length:c}=l.text,f=s;if(s+=c,i.offset<=f&&a.offset>=s)Object.assign(l,o),u.push(l);else if(i.offset!==a.offset&&(i.offset===s||a.offset===f)||i.offset>s||a.offset<f||a.offset===f&&0!==f)u.push(l);else{var d=l,p=void 0,h=void 0;if(a.offset<s){var g=a.offset-f;h=lz(lz({},d),{},{text:d.text.slice(g)}),d=lz(lz({},d),{},{text:d.text.slice(0,g)})}if(i.offset>f){var v=i.offset-f;p=lz(lz({},d),{},{text:d.text.slice(0,v)}),d=lz(lz({},d),{},{text:d.text.slice(v)})}Object.assign(d,o),p&&u.push(p),u.push(d),h&&u.push(h)}}n=u}return n}};function lH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lU(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lH(Object(n),!0).forEach(function(t){sR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lH(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var lV=["text"],lW=["children"];function lq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lG(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lq(Object(n),!0).forEach(function(t){sR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lq(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var lK=(e,t)=>lf.isElement(t)?!!ly.isVoid(e,t)||1===t.children.length&&lK(e,t.children[0]):!ly.isEditor(t),lZ=(e,t)=>{if(lj.isCollapsed(t))return t.anchor;var[,n]=lj.edges(t),r=ly.pointRef(e,n);return l6.delete(e,{at:t}),r.unref()},lX=(e,t)=>{var[n]=ly.node(e,t);return e=>e===n};function lY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lJ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lY(Object(n),!0).forEach(function(t){sR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lY(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function lQ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l0(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lQ(Object(n),!0).forEach(function(t){sR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lQ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var l1,l2,l4,l3,l6=l0(l0(l0(l0({},{transform(e,t){e.children=sI(e.children);var n=e.selection&&sI(e.selection);try{n=((e,t,n)=>{switch(n.type){case"insert_node":var{path:r,node:o}=n,i=lD.parent(e,r),a=r[r.length-1];if(a>i.children.length)throw Error('Cannot apply an "insert_node" operation at path ['.concat(r,"] because the destination is past the end of the node."));if(i.children.splice(a,0,o),t)for(var[u,s]of lj.points(t))t[s]=lB.transform(u,n);break;case"insert_text":var{path:l,offset:c,text:f}=n;if(0===f.length)break;var d=lD.leaf(e,l),p=d.text.slice(0,c),h=d.text.slice(c);if(d.text=p+f+h,t)for(var[g,v]of lj.points(t))t[v]=lB.transform(g,n);break;case"merge_node":var{path:y}=n,m=lD.get(e,y),b=lO.previous(y),w=lD.get(e,b),E=lD.parent(e,y),D=y[y.length-1];if(l$.isText(m)&&l$.isText(w))w.text+=m.text;else{if(l$.isText(m)||l$.isText(w))throw Error('Cannot apply a "merge_node" operation at path ['.concat(y,"] to nodes of different interfaces: ").concat(m," ").concat(w));w.children.push(...m.children)}if(E.children.splice(D,1),t)for(var[S,x]of lj.points(t))t[x]=lB.transform(S,n);break;case"move_node":var{path:C,newPath:O}=n;if(lO.isAncestor(C,O))throw Error("Cannot move a path [".concat(C,"] to new path [").concat(O,"] because the destination is inside itself."));var A=lD.get(e,C),k=lD.parent(e,C),T=C[C.length-1];k.children.splice(T,1);var B=lO.transform(C,n),F=lD.get(e,lO.parent(B)),P=B[B.length-1];if(F.children.splice(P,0,A),t)for(var[_,j]of lj.points(t))t[j]=lB.transform(_,n);break;case"remove_node":var{path:I}=n,N=I[I.length-1];if(lD.parent(e,I).children.splice(N,1),t)for(var[R,L]of lj.points(t)){var M=lB.transform(R,n);if(null!=t&&null!=M)t[L]=M;else{var z=void 0,$=void 0;for(var[H,U]of lD.texts(e)){if(-1!==lO.compare(U,I)){$=[H,U];break}z=[H,U]}var V=!1;z&&$&&(V=lO.equals($[1],I)?!lO.hasPrevious($[1]):lO.common(z[1],I).length<lO.common($[1],I).length),z&&!V?(R.path=z[1],R.offset=z[0].text.length):$?(R.path=$[1],R.offset=0):t=null}}break;case"remove_text":var{path:W,offset:q,text:G}=n;if(0===G.length)break;var K=lD.leaf(e,W),Z=K.text.slice(0,q),X=K.text.slice(q+G.length);if(K.text=Z+X,t)for(var[Y,J]of lj.points(t))t[J]=lB.transform(Y,n);break;case"set_node":var{path:Q,properties:ee,newProperties:et}=n;if(0===Q.length)throw Error("Cannot set properties on the root node!");var en=lD.get(e,Q);for(var er in et){if("children"===er||"text"===er)throw Error('Cannot set the "'.concat(er,'" property of nodes!'));var eo=et[er];null==eo?delete en[er]:en[er]=eo}for(var ei in ee)et.hasOwnProperty(ei)||delete en[ei];break;case"set_selection":var{newProperties:ea}=n;if(null==ea)t=ea;else{if(null==t){if(!lj.isRange(ea))throw Error('Cannot apply an incomplete "set_selection" operation properties '.concat(JSON.stringify(ea)," when there is no current selection."));t=lU({},ea)}for(var eu in ea){var es=ea[eu];if(null==es){if("anchor"===eu||"focus"===eu)throw Error('Cannot remove the "'.concat(eu,'" selection property'));delete t[eu]}else t[eu]=es}}break;case"split_node":var{path:el,position:ec,properties:ef}=n;if(0===el.length)throw Error('Cannot apply a "split_node" operation at path ['.concat(el,"] because the root node cannot be split."));var ed,ep=lD.get(e,el),eh=lD.parent(e,el),eg=el[el.length-1];if(l$.isText(ep)){var ev=ep.text.slice(0,ec),ey=ep.text.slice(ec);ep.text=ev,ed=lU(lU({},ef),{},{text:ey})}else{var em=ep.children.slice(0,ec),eb=ep.children.slice(ec);ep.children=em,ed=lU(lU({},ef),{},{children:eb})}if(eh.children.splice(eg+1,0,ed),t)for(var[ew,eE]of lj.points(t))t[eE]=lB.transform(ew,n)}return t})(e,n,t)}finally{e.children=sN(e.children),e.selection=n?uJ(n)?sN(n):n:null}}}),{insertNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ly.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:o=!1,mode:i="lowest"}=n,{at:a,match:u,select:s}=n;if(lD.isNode(t)&&(t=[t]),0!==t.length){var[l]=t;if(a||(a=e.selection?e.selection:e.children.length>0?ly.end(e,[]):[0],s=!0),null==s&&(s=!1),lj.isRange(a))if(r||(a=ly.unhangRange(e,a)),lj.isCollapsed(a))a=a.anchor;else{var[,c]=lj.edges(a),f=ly.pointRef(e,c);l6.delete(e,{at:a}),a=f.unref()}if(lB.isPoint(a)){null==u&&(u=l$.isText(l)?e=>l$.isText(e):e.isInline(l)?t=>l$.isText(t)||ly.isInline(e,t):t=>ly.isBlock(e,t));var[d]=ly.nodes(e,{at:a.path,match:u,mode:i,voids:o});if(!d)return;var[,p]=d,h=ly.pathRef(e,p),g=ly.isEnd(e,a,p);l6.splitNodes(e,{at:a,match:u,mode:i,voids:o});var v=h.unref();a=g?lO.next(v):v}var y=lO.parent(a),m=a[a.length-1];if(o||!ly.void(e,{at:y})){for(var b of t){var w=y.concat(m);m++,e.apply({type:"insert_node",path:w,node:b}),a=lO.next(a)}if(a=lO.previous(a),s){var E=ly.end(e,a);E&&l6.select(e,E)}}}})},liftNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ly.withoutNormalizing(e,()=>{var{at:n=e.selection,mode:r="lowest",voids:o=!1}=t,{match:i}=t;if(null==i&&(i=lO.isPath(n)?lX(e,n):t=>ly.isBlock(e,t)),n)for(var a of Array.from(ly.nodes(e,{at:n,match:i,mode:r,voids:o}),t=>{var[,n]=t;return ly.pathRef(e,n)})){var u=a.unref();if(u.length<2)throw Error("Cannot lift node at a path [".concat(u,"] because it has a depth of less than `2`."));var[s,l]=ly.node(e,lO.parent(u)),c=u[u.length-1],{length:f}=s.children;if(1===f){var d=lO.next(l);l6.moveNodes(e,{at:u,to:d,voids:o}),l6.removeNodes(e,{at:l,voids:o})}else if(0===c)l6.moveNodes(e,{at:u,to:l,voids:o});else if(c===f-1){var p=lO.next(l);l6.moveNodes(e,{at:u,to:p,voids:o})}else{var h=lO.next(u),g=lO.next(l);l6.splitNodes(e,{at:h,voids:o}),l6.moveNodes(e,{at:u,to:g,voids:o})}}})},mergeNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ly.withoutNormalizing(e,()=>{var{match:n,at:r=e.selection}=t,{hanging:o=!1,voids:i=!1,mode:a="lowest"}=t;if(r){if(null==n)if(lO.isPath(r)){var[u]=ly.parent(e,r);n=e=>u.children.includes(e)}else n=t=>ly.isBlock(e,t);if(!o&&lj.isRange(r)&&(r=ly.unhangRange(e,r)),lj.isRange(r))if(lj.isCollapsed(r))r=r.anchor;else{var[,s]=lj.edges(r),l=ly.pointRef(e,s);l6.delete(e,{at:r}),r=l.unref(),null==t.at&&l6.select(e,r)}var[c]=ly.nodes(e,{at:r,match:n,voids:i,mode:a}),f=ly.previous(e,{at:r,match:n,voids:i,mode:a});if(c&&f){var[d,p]=c,[h,g]=f;if(0!==p.length&&0!==g.length){var v,y,m=lO.next(g),b=lO.common(p,g),w=lO.isSibling(p,g),E=Array.from(ly.levels(e,{at:p}),e=>{var[t]=e;return t}).slice(b.length).slice(0,-1),D=ly.above(e,{at:p,mode:"highest",match:t=>E.includes(t)&&lK(e,t)}),S=D&&ly.pathRef(e,D[1]);if(l$.isText(d)&&l$.isText(h)){var x=sK(d,lV);y=h.text.length,v=x}else{if(!lf.isElement(d)||!lf.isElement(h))throw Error("Cannot merge the node at path [".concat(p,"] with the previous sibling because it is not the same kind: ").concat(JSON.stringify(d)," ").concat(JSON.stringify(h)));x=sK(d,lW),y=h.children.length,v=x}w||l6.moveNodes(e,{at:p,to:m,voids:i}),S&&l6.removeNodes(e,{at:S.current,voids:i}),lf.isElement(h)&&ly.isEmpty(e,h)||l$.isText(h)&&""===h.text&&0!==g[g.length-1]?l6.removeNodes(e,{at:g,voids:i}):e.apply({type:"merge_node",path:m,position:y,properties:v}),S&&S.unref()}}}})},moveNodes(e,t){ly.withoutNormalizing(e,()=>{var{to:n,at:r=e.selection,mode:o="lowest",voids:i=!1}=t,{match:a}=t;if(r){null==a&&(a=lO.isPath(r)?lX(e,r):t=>ly.isBlock(e,t));var u=ly.pathRef(e,n);for(var s of Array.from(ly.nodes(e,{at:r,match:a,mode:o,voids:i}),t=>{var[,n]=t;return ly.pathRef(e,n)})){var l=s.unref(),c=u.current;0!==l.length&&e.apply({type:"move_node",path:l,newPath:c}),u.current&&lO.isSibling(c,l)&&lO.isAfter(c,l)&&(u.current=lO.next(u.current))}u.unref()}})},removeNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ly.withoutNormalizing(e,()=>{var{hanging:n=!1,voids:r=!1,mode:o="lowest"}=t,{at:i=e.selection,match:a}=t;if(i)for(var u of(null==a&&(a=lO.isPath(i)?lX(e,i):t=>ly.isBlock(e,t)),!n&&lj.isRange(i)&&(i=ly.unhangRange(e,i)),Array.from(ly.nodes(e,{at:i,match:a,mode:o,voids:r}),t=>{var[,n]=t;return ly.pathRef(e,n)}))){var s=u.unref();if(s){var[l]=ly.node(e,s);e.apply({type:"remove_node",path:s,node:l})}}})},setNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ly.withoutNormalizing(e,()=>{var{match:r,at:o=e.selection}=n,{hanging:i=!1,mode:a="lowest",split:u=!1,voids:s=!1}=n;if(o){if(null==r&&(r=lO.isPath(o)?lX(e,o):t=>ly.isBlock(e,t)),!i&&lj.isRange(o)&&(o=ly.unhangRange(e,o)),u&&lj.isRange(o)){if(lj.isCollapsed(o)&&ly.leaf(e,o.anchor)[0].text.length>0)return;var l=ly.rangeRef(e,o,{affinity:"inward"}),[c,f]=lj.edges(o),d="lowest"===a?"lowest":"highest",p=ly.isEnd(e,f,f.path);l6.splitNodes(e,{at:f,match:r,mode:d,voids:s,always:!p});var h=ly.isStart(e,c,c.path);l6.splitNodes(e,{at:c,match:r,mode:d,voids:s,always:!h}),o=l.unref(),null==n.at&&l6.select(e,o)}for(var[g,v]of ly.nodes(e,{at:o,match:r,mode:a,voids:s})){var y={},m={};if(0!==v.length){var b=!1;for(var w in t)"children"!==w&&"text"!==w&&t[w]!==g[w]&&(b=!0,g.hasOwnProperty(w)&&(y[w]=g[w]),null!=t[w]&&(m[w]=t[w]));b&&e.apply({type:"set_node",path:v,properties:y,newProperties:m})}}}})},splitNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ly.withoutNormalizing(e,()=>{var{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection,height:a=0,always:u=!1}=t;if(null==o&&(o=t=>ly.isBlock(e,t)),lj.isRange(i)&&(i=lZ(e,i)),lO.isPath(i)){var s=i,l=ly.point(e,s),[c]=ly.parent(e,s);o=e=>e===c,a=l.path.length-s.length+1,i=l,u=!0}if(i){var f=ly.pointRef(e,i,{affinity:"backward"}),[d]=ly.nodes(e,{at:i,match:o,mode:n,voids:r});if(d){var p=ly.void(e,{at:i,mode:"highest"});if(!r&&p){var[h,g]=p;if(lf.isElement(h)&&e.isInline(h)){var v=ly.after(e,g);if(!v){var y=lO.next(g);l6.insertNodes(e,{text:""},{at:y,voids:r}),v=ly.point(e,y)}i=v,u=!0}a=i.path.length-g.length+1,u=!0}var m=ly.pointRef(e,i),b=i.path.length-a,[,w]=d,E=i.path.slice(0,b),D=0===a?i.offset:i.path[b]+0;for(var[S,x]of ly.levels(e,{at:E,reverse:!0,voids:r})){var C=!1;if(x.length<w.length||0===x.length||!r&&ly.isVoid(e,S))break;var O=f.current,A=ly.isEnd(e,O,x);if(u||!f||!ly.isEdge(e,O,x)){C=!0;var k=lD.extractProps(S);e.apply({type:"split_node",path:x,position:D,properties:k})}D=x[x.length-1]+(C||A?1:0)}if(null==t.at){var T=m.current||ly.end(e,[]);l6.select(e,T)}f.unref(),m.unref()}}})},unsetNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Array.isArray(t)||(t=[t]);var r={};for(var o of t)r[o]=null;l6.setNodes(e,r,n)},unwrapNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ly.withoutNormalizing(e,()=>{var{mode:n="lowest",split:r=!1,voids:o=!1}=t,{at:i=e.selection,match:a}=t;if(i){null==a&&(a=lO.isPath(i)?lX(e,i):t=>ly.isBlock(e,t)),lO.isPath(i)&&(i=ly.range(e,i));var u=lj.isRange(i)?ly.rangeRef(e,i):null;for(var s of Array.from(ly.nodes(e,{at:i,match:a,mode:n,voids:o}),t=>{var[,n]=t;return ly.pathRef(e,n)}).reverse())!function(t){var n=t.unref(),[i]=ly.node(e,n),a=ly.range(e,n);r&&u&&(a=lj.intersection(u.current,a)),l6.liftNodes(e,{at:a,match:e=>lf.isAncestor(i)&&i.children.includes(e),voids:o})}(s);u&&u.unref()}})},wrapNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ly.withoutNormalizing(e,()=>{var{mode:r="lowest",split:o=!1,voids:i=!1}=n,{match:a,at:u=e.selection}=n;if(u){if(null==a&&(a=lO.isPath(u)?lX(e,u):e.isInline(t)?t=>ly.isInline(e,t)||l$.isText(t):t=>ly.isBlock(e,t)),o&&lj.isRange(u)){var[s,l]=lj.edges(u),c=ly.rangeRef(e,u,{affinity:"inward"});l6.splitNodes(e,{at:l,match:a,voids:i}),l6.splitNodes(e,{at:s,match:a,voids:i}),u=c.unref(),null==n.at&&l6.select(e,u)}for(var[,f]of Array.from(ly.nodes(e,{at:u,match:e.isInline(t)?t=>ly.isBlock(e,t):e=>ly.isEditor(e),mode:"lowest",voids:i}))){var d=lj.isRange(u)?lj.intersection(u,ly.range(e,f)):u;if(d){var p=Array.from(ly.nodes(e,{at:d,match:a,mode:r,voids:i}));if(p.length>0&&"continue"===function(){var[n]=p,r=p[p.length-1],[,o]=n,[,a]=r;if(0===o.length&&0===a.length)return"continue";var u=lO.equals(o,a)?lO.parent(o):lO.common(o,a),s=ly.range(e,o,a),[l]=ly.node(e,u),c=u.length+1,f=lO.next(a.slice(0,c)),d=lG(lG({},t),{},{children:[]});l6.insertNodes(e,d,{at:f,voids:i}),l6.moveNodes(e,{at:s,match:e=>lf.isAncestor(l)&&l.children.includes(e),to:f.concat(0),voids:i})}())continue}}}})}}),{collapse(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{edge:n="anchor"}=t,{selection:r}=e;if(r){if("anchor"===n)l6.select(e,r.anchor);else if("focus"===n)l6.select(e,r.focus);else if("start"===n){var[o]=lj.edges(r);l6.select(e,o)}else if("end"===n){var[,i]=lj.edges(r);l6.select(e,i)}}},deselect(e){var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null})},move(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{selection:n}=e,{distance:r=1,unit:o="character",reverse:i=!1}=t,{edge:a=null}=t;if(n){"start"===a&&(a=lj.isBackward(n)?"focus":"anchor"),"end"===a&&(a=lj.isBackward(n)?"anchor":"focus");var{anchor:u,focus:s}=n,l={distance:r,unit:o},c={};if(null==a||"anchor"===a){var f=i?ly.before(e,u,l):ly.after(e,u,l);f&&(c.anchor=f)}if(null==a||"focus"===a){var d=i?ly.before(e,s,l):ly.after(e,s,l);d&&(c.focus=d)}l6.setSelection(e,c)}},select(e,t){var{selection:n}=e;if(t=ly.range(e,t),n)l6.setSelection(e,t);else{if(!lj.isRange(t))throw Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(JSON.stringify(t)));e.apply({type:"set_selection",properties:n,newProperties:t})}},setPoint(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{selection:r}=e,{edge:o="both"}=n;if(r){"start"===o&&(o=lj.isBackward(r)?"focus":"anchor"),"end"===o&&(o=lj.isBackward(r)?"anchor":"focus");var{anchor:i,focus:a}=r,u="anchor"===o?i:a;l6.setSelection(e,{["anchor"===o?"anchor":"focus"]:lJ(lJ({},u),t)})}},setSelection(e,t){var{selection:n}=e,r={},o={};if(n){for(var i in t)("anchor"!==i||null==t.anchor||lB.equals(t.anchor,n.anchor))&&("focus"!==i||null==t.focus||lB.equals(t.focus,n.focus))&&("anchor"===i||"focus"===i||t[i]===n[i])||(r[i]=n[i],o[i]=t[i]);Object.keys(r).length>0&&e.apply({type:"set_selection",properties:r,newProperties:o})}}}),{delete(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ly.withoutNormalizing(e,()=>{var{reverse:n=!1,unit:r="character",distance:o=1,voids:i=!1}=t,{at:a=e.selection,hanging:u=!1}=t;if(a){if(lj.isRange(a)&&lj.isCollapsed(a)&&(a=a.anchor),lB.isPoint(a)){var s=ly.void(e,{at:a,mode:"highest"});if(!i&&s){var[,l]=s;a=l}else{var c={unit:r,distance:o};a={anchor:a,focus:n?ly.before(e,a,c)||ly.start(e,[]):ly.after(e,a,c)||ly.end(e,[])},u=!0}}if(lO.isPath(a))l6.removeNodes(e,{at:a,voids:i});else if(!lj.isCollapsed(a)){if(!u){var[,f]=lj.edges(a),d=ly.end(e,[]);lB.equals(f,d)||(a=ly.unhangRange(e,a,{voids:i}))}var[p,h]=lj.edges(a),g=ly.above(e,{match:t=>ly.isBlock(e,t),at:p,voids:i}),v=ly.above(e,{match:t=>ly.isBlock(e,t),at:h,voids:i}),y=g&&v&&!lO.equals(g[1],v[1]),m=lO.equals(p.path,h.path),b=i?null:ly.void(e,{at:p,mode:"highest"}),w=i?null:ly.void(e,{at:h,mode:"highest"});if(b){var E=ly.before(e,p);E&&g&&lO.isAncestor(g[1],E.path)&&(p=E)}if(w){var D=ly.after(e,h);D&&v&&lO.isAncestor(v[1],D.path)&&(h=D)}var S,x=[];for(var C of ly.nodes(e,{at:a,voids:i})){var[O,A]=C;S&&0===lO.compare(A,S)||(!i&&ly.isVoid(e,O)||!lO.isCommon(A,p.path)&&!lO.isCommon(A,h.path))&&(x.push(C),S=A)}var k=Array.from(x,t=>{var[,n]=t;return ly.pathRef(e,n)}),T=ly.pointRef(e,p),B=ly.pointRef(e,h);if(!m&&!b){var F=T.current,[P]=ly.leaf(e,F),{path:_}=F,{offset:j}=p,I=P.text.slice(j);I.length>0&&e.apply({type:"remove_text",path:_,offset:j,text:I})}for(var N of k){var R=N.unref();l6.removeNodes(e,{at:R,voids:i})}if(!w){var L=B.current,[M]=ly.leaf(e,L),{path:z}=L,$=m?p.offset:0,H=M.text.slice($,h.offset);H.length>0&&e.apply({type:"remove_text",path:z,offset:$,text:H})}!m&&y&&B.current&&T.current&&l6.mergeNodes(e,{at:B.current,hanging:!0,voids:i});var U=n?T.unref()||B.unref():B.unref()||T.unref();null==t.at&&U&&l6.select(e,U)}}})},insertFragment(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ly.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:o=!1}=n,{at:i=e.selection}=n;if(t.length&&i){if(lj.isRange(i))if(r||(i=ly.unhangRange(e,i)),lj.isCollapsed(i))i=i.anchor;else{var[,a]=lj.edges(i);if(!o&&ly.void(e,{at:a}))return;var u=ly.pointRef(e,a);l6.delete(e,{at:i}),i=u.unref()}else lO.isPath(i)&&(i=ly.start(e,i));if(o||!ly.void(e,{at:i})){var s=ly.above(e,{at:i,match:t=>ly.isInline(e,t),mode:"highest",voids:o});if(s){var[,l]=s;ly.isEnd(e,i,l)?i=ly.after(e,l):ly.isStart(e,i,l)&&(i=ly.before(e,l))}var[,c]=ly.above(e,{match:t=>ly.isBlock(e,t),at:i,voids:o}),f=ly.isStart(e,i,c),d=ly.isEnd(e,i,c),p=f&&d,h=!f||f&&d,g=!d,[,v]=lD.first({children:t},[]),[,y]=lD.last({children:t},[]),m=[],b=t=>{var[n,r]=t;return 0!==r.length&&(!!p||!(h&&lO.isAncestor(r,v)&&lf.isElement(n)&&!e.isVoid(n)&&!e.isInline(n))&&!(g&&lO.isAncestor(r,y)&&lf.isElement(n)&&!e.isVoid(n)&&!e.isInline(n)))};for(var w of lD.nodes({children:t},{pass:b}))b(w)&&m.push(w);var E=[],D=[],S=[],x=!0,C=!1;for(var[O]of m)lf.isElement(O)&&!e.isInline(O)?(x=!1,C=!0,D.push(O)):x?E.push(O):S.push(O);var[A]=ly.nodes(e,{at:i,match:t=>l$.isText(t)||ly.isInline(e,t),mode:"highest",voids:o}),[,k]=A,T=ly.isStart(e,i,k),B=ly.isEnd(e,i,k),F=ly.pathRef(e,d?lO.next(c):c),P=ly.pathRef(e,B?lO.next(k):k),_=ly.pathRef(e,c);l6.splitNodes(e,{at:i,match:t=>C?ly.isBlock(e,t):l$.isText(t)||ly.isInline(e,t),mode:C?"lowest":"highest",voids:o});var j=ly.pathRef(e,!T||T&&B?lO.next(k):k);if(l6.insertNodes(e,E,{at:j.current,match:t=>l$.isText(t)||ly.isInline(e,t),mode:"highest",voids:o}),p&&D.length&&l6.delete(e,{at:_.unref(),voids:o}),l6.insertNodes(e,D,{at:F.current,match:t=>ly.isBlock(e,t),mode:"lowest",voids:o}),l6.insertNodes(e,S,{at:P.current,match:t=>l$.isText(t)||ly.isInline(e,t),mode:"highest",voids:o}),!n.at){var I=S.length>0?lO.previous(P.current):D.length>0?lO.previous(F.current):lO.previous(j.current),N=ly.end(e,I);l6.select(e,N)}j.unref(),F.unref(),P.unref()}}})},insertText(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ly.withoutNormalizing(e,()=>{var{voids:r=!1}=n,{at:o=e.selection}=n;if(o){if(lO.isPath(o)&&(o=ly.range(e,o)),lj.isRange(o))if(lj.isCollapsed(o))o=o.anchor;else{var i=lj.end(o);if(!r&&ly.void(e,{at:i}))return;var a=ly.pointRef(e,i);l6.delete(e,{at:o,voids:r}),o=a.unref(),l6.setSelection(e,{anchor:o,focus:o})}if(r||!ly.void(e,{at:o})){var{path:u,offset:s}=o;t.length>0&&e.apply({type:"insert_text",path:u,offset:s,text:t})}}})}}),l5="[object Map]",l8="[object Set]",l7=/^\[object .+?Constructor\]$/,l9=/^(?:0|[1-9]\d*)$/,ce="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",ct="\ud83c[\udffb-\udfff]",cn="[^\ud800-\udfff]",cr="(?:\ud83c[\udde6-\uddff]){2}",co="[\ud800-\udbff][\udc00-\udfff]",ci="(?:"+ce+"|"+ct+")?",ca="[\\ufe0e\\ufe0f]?"+ci+("(?:\\u200d(?:"+[cn,cr,co].join("|")+")[\\ufe0e\\ufe0f]?")+ci+")*",cu=RegExp(ct+"(?="+ct+")|"+("(?:"+[cn+ce+"?",ce,cr,co,"[\ud800-\udfff]"].join("|"))+")"+ca,"g"),cs=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),cl="object"==typeof u&&u&&u.Object===Object&&u,cc="object"==typeof self&&self&&self.Object===Object&&self,cf=cl||cc||Function("return this")(),cd=Function.prototype,cp=Object.prototype,ch=cf["__core-js_shared__"],cg=(l2=/[^.]+$/.exec(ch&&ch.keys&&ch.keys.IE_PROTO||""))?"Symbol(src)_1."+l2:"",cv=cd.toString,cy=cp.hasOwnProperty,cm=cp.toString,cb=RegExp("^"+cv.call(cy).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),cw=cf.Symbol,cE=cw?cw.iterator:void 0,cD=cp.propertyIsEnumerable,cS=(l4=Object.keys,l3=Object,function(e){return l4(l3(e))}),cx=cj(cf,"DataView"),cC=cj(cf,"Map"),cO=cj(cf,"Promise"),cA=cj(cf,"Set"),ck=cj(cf,"WeakMap"),cT=cN(cx),cB=cN(cC),cF=cN(cO),cP=cN(cA),c_=cN(ck);function cj(e,t){var n=null==e?void 0:e[t];return cz(n)&&(!cg||!(cg in n))&&(cM(n)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(n)?cb:l7).test(cN(n))?n:void 0}var cI=function(e){return cm.call(e)};function cN(e){if(null!=e){try{return cv.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(cx&&"[object DataView]"!=cI(new cx(new ArrayBuffer(1)))||cC&&cI(new cC)!=l5||cO&&"[object Promise]"!=cI(cO.resolve())||cA&&cI(new cA)!=l8||ck&&"[object WeakMap]"!=cI(new ck))&&(cI=function(e){var t=cm.call(e),n="[object Object]"==t?e.constructor:void 0,r=n?cN(n):void 0;if(r)switch(r){case cT:return"[object DataView]";case cB:return l5;case cF:return"[object Promise]";case cP:return l8;case c_:return"[object WeakMap]"}return t});var cR=Array.isArray;function cL(e){var t;return null!=e&&"number"==typeof(t=e.length)&&t>-1&&t%1==0&&t<=0x1fffffffffffff&&!cM(e)}function cM(e){var t=cz(e)?cm.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function cz(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function c$(e){return!!e&&"object"==typeof e}var cH=function(e){if(!e)return[];if(cL(e))return"string"==typeof e||!cR(e)&&c$(e)&&"[object String]"==cm.call(e)?function(e){return cs.test(e)?e.match(cu)||[]:e.split("")}(e):function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(e);if(cE&&e[cE]){for(var t,n=e[cE](),r=[];!(t=n.next()).done;)r.push(t.value);return r}var o=cI(e);return(o==l5?function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}:o==l8?function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}:function(e){return e?function(e,t){for(var n=-1,r=e?e.length:0,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}(cL(e)?function(e,t){var n,r,o=cR(e)||c$(e)&&cL(e)&&cy.call(e,"callee")&&(!cD.call(e,"callee")||"[object Arguments]"==cm.call(e))?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],i=o.length,a=!!i;for(var u in e){!cy.call(e,u)||a&&("length"==u||(n=u,(r=null==(r=i)?0x1fffffffffffff:r)&&("number"==typeof n||l9.test(n))&&n>-1&&n%1==0&&n<r))||o.push(u)}return o}(e):function(e){if(n="function"==typeof(t=e&&e.constructor)&&t.prototype||cp,e!==n)return cS(e);var t,n,r=[];for(var o in Object(e))cy.call(e,o)&&"constructor"!=o&&r.push(o);return r}(e),function(t){return e[t]}):[]})(e)};function cU(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function cV(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach(function(n){void 0===e[n]?e[n]=t[n]:cU(t[n])&&cU(e[n])&&Object.keys(t[n]).length>0&&cV(e[n],t[n])})}var cW={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function cq(){var e="undefined"!=typeof document?document:{};return cV(e,cW),e}var cG={document:cW,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function cK(){var e="undefined"!=typeof window?window:{};return cV(e,cG),e}function cZ(e){return(cZ=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function cX(e,t){return(cX=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function cY(e,t,n){return(cY=!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&cX(o,n.prototype),o}:Reflect.construct).apply(null,arguments)}function cJ(e){var t="function"==typeof Map?new Map:void 0;return(cJ=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return cY(e,arguments,cZ(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),cX(n,e)})(e)}var cQ=function(e){function t(t){var n,r,o;return o=(r=function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n=e.call.apply(e,[this].concat(t))||this)).__proto__,Object.defineProperty(r,"__proto__",{get:function(){return o},set:function(e){o.__proto__=e}}),n}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e,t}(cJ(Array));function c0(e){void 0===e&&(e=[]);var t=[];return e.forEach(function(e){Array.isArray(e)?t.push.apply(t,c0(e)):t.push(e)}),t}function c1(e,t){return Array.prototype.filter.call(e,t)}function c2(e,t){var n=cK(),r=cq(),o=[];if(!t&&e instanceof cQ)return e;if(!e)return new cQ(o);if("string"==typeof e){var i=e.trim();if(i.indexOf("<")>=0&&i.indexOf(">")>=0){var a="div";0===i.indexOf("<li")&&(a="ul"),0===i.indexOf("<tr")&&(a="tbody"),0!==i.indexOf("<td")&&0!==i.indexOf("<th")||(a="tr"),0===i.indexOf("<tbody")&&(a="table"),0===i.indexOf("<option")&&(a="select");var u=r.createElement(a);u.innerHTML=i;for(var s=0;s<u.childNodes.length;s+=1)o.push(u.childNodes[s])}else o=function(e,t){if("string"!=typeof e)return[e];for(var n=[],r=t.querySelectorAll(e),o=0;o<r.length;o+=1)n.push(r[o]);return n}(e.trim(),t||r)}else if(e.nodeType||e===n||e===r)o.push(e);else if(Array.isArray(e)){if(e instanceof cQ)return e;o=e}return new cQ(function(e){for(var t=[],n=0;n<e.length;n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(o))}function c4(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=c0(t.map(function(e){return e.split(" ")}));return this.forEach(function(e){var t;(t=e.classList).add.apply(t,r)}),this}function c3(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=c0(t.map(function(e){return e.split(" ")}));return this.forEach(function(e){var t;(t=e.classList).remove.apply(t,r)}),this}function c6(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=c0(t.map(function(e){return e.split(" ")}));return c1(this,function(e){return r.filter(function(t){return e.classList.contains(t)}).length>0}).length>0}function c5(e,t){if(1==arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n+=1)if(2==arguments.length)this[n].setAttribute(e,t);else for(var r in e)this[n][r]=e[r],this[n].setAttribute(r,e[r]);return this}function c8(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function c7(){var e=this[0];if(e){var t={};if(e.dataset)for(var n in e.dataset)t[n]=e.dataset[n];else for(var r=0;r<e.attributes.length;r+=1){var o=e.attributes[r];o.name.indexOf("data-")>=0&&(t[o.name.split("data-")[1].toLowerCase().replace(/-(.)/g,function(e,t){return t.toUpperCase()})]=o.value)}for(var i in t)"false"===t[i]?t[i]=!1:"true"===t[i]?t[i]=!0:parseFloat(t[i])===+t[i]&&(t[i]*=1);return t}}function c9(e){if(void 0===e){var t=this[0];if(!t)return;if(t.multiple&&"select"===t.nodeName.toLowerCase()){for(var n=[],r=0;r<t.selectedOptions.length;r+=1)n.push(t.selectedOptions[r].value);return n}return t.value}for(var o=0;o<this.length;o+=1){var i=this[o];if(Array.isArray(e)&&i.multiple&&"select"===i.nodeName.toLowerCase())for(var a=0;a<i.options.length;a+=1)i.options[a].selected=e.indexOf(i.options[a].value)>=0;else i.value=e}return this}function fe(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t[1],i=t[2],a=t[3];function u(e){var t=e.target;if(t){var n=e.target.dom7EventData||[];if(0>n.indexOf(e)&&n.unshift(e),c2(t).is(o))i.apply(t,n);else for(var r=c2(t).parents(),a=0;a<r.length;a+=1)c2(r[a]).is(o)&&i.apply(r[a],n)}}function s(e){var t=e&&e.target&&e.target.dom7EventData||[];0>t.indexOf(e)&&t.unshift(e),i.apply(this,t)}"function"==typeof t[1]&&(r=t[0],i=t[1],a=t[2],o=void 0),a||(a=!1);for(var l,c=r.split(" "),f=0;f<this.length;f+=1){var d=this[f];if(o)for(l=0;l<c.length;l+=1){var p=c[l];d.dom7LiveListeners||(d.dom7LiveListeners={}),d.dom7LiveListeners[p]||(d.dom7LiveListeners[p]=[]),d.dom7LiveListeners[p].push({listener:i,proxyListener:u}),d.addEventListener(p,u,a)}else for(l=0;l<c.length;l+=1){var h=c[l];d.dom7Listeners||(d.dom7Listeners={}),d.dom7Listeners[h]||(d.dom7Listeners[h]=[]),d.dom7Listeners[h].push({listener:i,proxyListener:s}),d.addEventListener(h,s,a)}}return this}function ft(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t[1],i=t[2],a=t[3];"function"==typeof t[1]&&(r=t[0],i=t[1],a=t[2],o=void 0),a||(a=!1);for(var u=r.split(" "),s=0;s<u.length;s+=1)for(var l=u[s],c=0;c<this.length;c+=1){var f=this[c],d=void 0;if(!o&&f.dom7Listeners?d=f.dom7Listeners[l]:o&&f.dom7LiveListeners&&(d=f.dom7LiveListeners[l]),d&&d.length)for(var p=d.length-1;p>=0;p-=1){var h=d[p];i&&h.listener===i||i&&h.listener&&h.listener.dom7proxy&&h.listener.dom7proxy===i?(f.removeEventListener(l,h.proxyListener,a),d.splice(p,1)):i||(f.removeEventListener(l,h.proxyListener,a),d.splice(p,1))}}return this}function fn(){var e=cK();return this[0]===e?e.innerWidth:this.length>0?parseFloat(this.css("width")):null}function fr(){var e=cK();return this[0]===e?e.innerHeight:this.length>0?parseFloat(this.css("height")):null}function fo(){if(this.length>0){var e=cK(),t=cq(),n=this[0],r=n.getBoundingClientRect(),o=t.body,i=n.clientTop||o.clientTop||0,a=n.clientLeft||o.clientLeft||0,u=n===e?e.scrollY:n.scrollTop,s=n===e?e.scrollX:n.scrollLeft;return{top:r.top+u-i,left:r.left+s-a}}return null}function fi(){for(var e=0;e<this.length;e+=1)this[e].style.display="none";return this}function fa(){for(var e=cK(),t=0;t<this.length;t+=1){var n=this[t];"none"===n.style.display&&(n.style.display=""),"none"===e.getComputedStyle(n,null).getPropertyValue("display")&&(n.style.display="block")}return this}function fu(e,t){var n,r=cK();if(1==arguments.length){if("string"!=typeof e){for(n=0;n<this.length;n+=1)for(var o in e)this[n].style[o]=e[o];return this}if(this[0])return r.getComputedStyle(this[0],null).getPropertyValue(e)}if(2==arguments.length&&"string"==typeof e)for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}function fs(e){return e&&this.forEach(function(t,n){e.apply(t,[t,n])}),this}function fl(e){return c2(c1(this,e))}function fc(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function ff(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this}function fd(e){var t,n,r=cK(),o=cq(),i=this[0];if(!i||void 0===e)return!1;if("string"==typeof e){if(i.matches)return i.matches(e);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(e);if(i.msMatchesSelector)return i.msMatchesSelector(e);for(t=c2(e),n=0;n<t.length;n+=1)if(t[n]===i)return!0;return!1}if(e===o)return i===o;if(e===r)return i===r;if(e.nodeType||e instanceof cQ){for(t=e.nodeType?[e]:e,n=0;n<t.length;n+=1)if(t[n]===i)return!0}return!1}function fp(){for(var e,t=cq(),n=0;n<arguments.length;n+=1){e=n<0||arguments.length<=n?void 0:arguments[n];for(var r=0;r<this.length;r+=1)if("string"==typeof e){var o=t.createElement("div");for(o.innerHTML=e;o.firstChild;)this[r].appendChild(o.firstChild)}else if(e instanceof cQ)for(var i=0;i<e.length;i+=1)this[r].appendChild(e[i]);else this[r].appendChild(e)}return this}function fh(e){var t,n,r=cq();for(t=0;t<this.length;t+=1)if("string"==typeof e){var o=r.createElement("div");for(o.innerHTML=e,n=o.childNodes.length-1;n>=0;n-=1)this[t].insertBefore(o.childNodes[n],this[t].childNodes[0])}else if(e instanceof cQ)for(n=0;n<e.length;n+=1)this[t].insertBefore(e[n],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this}function fg(e){for(var t=[],n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?c2(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return c2(t)}function fv(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].parentNode;r;)e?c2(r).is(e)&&t.push(r):t.push(r),r=r.parentNode;return c2(t)}function fy(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].querySelectorAll(e),o=0;o<r.length;o+=1)t.push(r[o]);return c2(t)}function fm(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].children,o=0;o<r.length;o+=1)e&&!c2(r[o]).is(e)||t.push(r[o]);return c2(t)}function fb(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}function fw(){for(var e=0;e<this.length;e+=1){var t=this[e];if(1===t.nodeType){for(var n=0;n<t.childNodes.length;n+=1)t.childNodes[n].parentNode&&t.childNodes[n].parentNode.removeChild(t.childNodes[n]);t.textContent=""}}return this}c2.fn=cQ.prototype;var fE="resize scroll".split(" ");function fD(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];if(void 0===n[0]){for(var o=0;o<this.length;o+=1)0>fE.indexOf(e)&&(e in this[o]?this[o][e]():c2(this[o]).trigger(e));return this}return this.on.apply(this,[e].concat(n))}}var fS,fx,fC,fO,fA=fD("click"),fk=fD("focus"),fT=/^(?:0|[1-9]\d*)$/,fB=Object.prototype,fF=fB.hasOwnProperty,fP=fB.toString,f_=fB.propertyIsEnumerable,fj=(fS=Object.keys,fx=Object,function(e){return fS(fx(e))}),fI=(fC=function(e,t){return e&&fN(e,t,fM)},function(e,t){if(null==e)return e;if(!fL(e))return fC(e,t);for(var n=e.length,r=fO?n:-1,o=Object(e);(fO?r--:++r<n)&&!1!==t(o[r],r,o););return e}),fN=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var u=i[++r];if(!1===t(o[u],u,o))break}return e},fR=Array.isArray;function fL(e){var t,n,r;return null!=e&&"number"==typeof(t=e.length)&&t>-1&&t%1==0&&t<=0x1fffffffffffff&&"[object Function]"!=(n=typeof e,r=e&&("object"==n||"function"==n)?fP.call(e):"")&&"[object GeneratorFunction]"!=r}function fM(e){return fL(e)?function(e,t){var n,r,o=fR(e)||e&&"object"==typeof e&&fL(e)&&fF.call(e,"callee")&&(!f_.call(e,"callee")||"[object Arguments]"==fP.call(e))?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],i=o.length,a=!!i;for(var u in e){!fF.call(e,u)||a&&("length"==u||(n=u,(r=null==(r=i)?0x1fffffffffffff:r)&&("number"==typeof n||fT.test(n))&&n>-1&&n%1==0&&n<r))||o.push(u)}return o}(e):function(e){if(n="function"==typeof(t=e&&e.constructor)&&t.prototype||fB,e!==n)return fj(e);var t,n,r=[];for(var o in Object(e))fF.call(e,o)&&"constructor"!=o&&r.push(o);return r}(e)}function fz(e){return e}var f$=function(e,t){return(fR(e)?function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););return e}:fI)(e,"function"==typeof t?t:fz)};let fH=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=63&n[e];t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?"_":"-"}return t};var fU=/^\s+|\s+$/g,fV=/^[-+]0x[0-9a-f]+$/i,fW=/^0b[01]+$/i,fq=/^0o[0-7]+$/i,fG=parseInt,fK="object"==typeof u&&u&&u.Object===Object&&u,fZ="object"==typeof self&&self&&self.Object===Object&&self,fX=fK||fZ||Function("return this")(),fY=Object.prototype.toString,fJ=Math.max,fQ=Math.min,f0=function(){return fX.Date.now()};function f1(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function f2(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==fY.call(t))return NaN;if(f1(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=f1(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(fU,"");var r=fW.test(e);return r||fq.test(e)?fG(e.slice(2),r?2:8):fV.test(e)?NaN:+e}var f4=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw TypeError("Expected a function");return f1(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),function(e,t,n){var r,o,i,a,u,s,l=0,c=!1,f=!1,d=!0;if("function"!=typeof e)throw TypeError("Expected a function");function p(t){var n=r,i=o;return r=o=void 0,l=t,a=e.apply(i,n)}function h(e){var n=e-s;return void 0===s||n>=t||n<0||f&&e-l>=i}function g(){var e,n=f0();if(h(n))return v(n);u=setTimeout(g,(e=t-(n-s),f?fQ(e,i-(n-l)):e))}function v(e){return u=void 0,d&&r?p(e):(r=o=void 0,a)}function y(){var e,n=f0(),i=h(n);if(r=arguments,o=this,s=n,i){if(void 0===u)return l=e=s,u=setTimeout(g,t),c?p(e):a;if(f)return u=setTimeout(g,t),p(s)}return void 0===u&&(u=setTimeout(g,t)),a}return t=f2(t)||0,f1(n)&&(c=!!n.leading,i=(f="maxWait"in n)?fJ(f2(n.maxWait)||0,t):i,d="trailing"in n?!!n.trailing:d),y.cancel=function(){void 0!==u&&clearTimeout(u),l=0,r=s=o=u=void 0},y.flush=function(){return void 0===u?a:v(f0())},y}(e,t,{leading:r,maxWait:t,trailing:o})};let f3={createElement:function(e,t){return document.createElement(e,t)},createElementNS:function(e,t,n){return document.createElementNS(e,t,n)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},getTextContent:function(e){return e.textContent},isElement:function(e){return 1===e.nodeType},isText:function(e){return 3===e.nodeType},isComment:function(e){return 8===e.nodeType}};function f6(e,t,n,r,o){return{sel:e,data:t,children:n,text:r,elm:o,key:void 0===t?void 0:t.key}}let f5=Array.isArray;function f8(e){return"string"==typeof e||"number"==typeof e||e instanceof String||e instanceof Number}function f7(e){return void 0===e}function f9(e){return void 0!==e}let de=f6("",{},[],void 0,void 0);function dt(e,t){var n,r;let o=e.key===t.key,i=(null==(n=e.data)?void 0:n.is)===(null==(r=t.data)?void 0:r.is);return e.sel===t.sel&&o&&i}let dn=["create","update","remove","destroy","pre","post"];function dr(e,t,n){let r,o,i,a={};if(void 0!==n?(null!==t&&(a=t),f5(n)?r=n:f8(n)?o=n.toString():n&&n.sel&&(r=[n])):null!=t&&(f5(t)?r=t:f8(t)?o=t.toString():t&&t.sel?r=[t]:a=t),void 0!==r)for(i=0;i<r.length;++i)f8(r[i])&&(r[i]=f6(void 0,void 0,void 0,r[i],void 0));return"s"!==e[0]||"v"!==e[1]||"g"!==e[2]||3!==e.length&&"."!==e[3]&&"#"!==e[3]||function e(t,n,r){if(t.ns="http://www.w3.org/2000/svg","foreignObject"!==r&&void 0!==n)for(let t=0;t<n.length;++t){let r=n[t].data;void 0!==r&&e(r,n[t].children,n[t].sel)}}(a,r,e),f6(e,a,r,o,void 0)}function di(e,t){let n,r=t.elm,o=e.data.attrs,i=t.data.attrs;if((o||i)&&o!==i){for(n in o=o||{},i=i||{}){let e=i[n];o[n]!==e&&(!0===e?r.setAttribute(n,""):!1===e?r.removeAttribute(n):120!==n.charCodeAt(0)?r.setAttribute(n,e):58===n.charCodeAt(3)?r.setAttributeNS("http://www.w3.org/XML/1998/namespace",n,e):58===n.charCodeAt(5)?r.setAttributeNS("http://www.w3.org/1999/xlink",n,e):r.setAttribute(n,e))}for(n in o)n in i||r.removeAttribute(n)}}let da={create:di,update:di};function du(e,t){let n,r,o=t.elm,i=e.data.class,a=t.data.class;if((i||a)&&i!==a){for(r in a=a||{},i=i||{})i[r]&&!Object.prototype.hasOwnProperty.call(a,r)&&o.classList.remove(r);for(r in a)(n=a[r])!==i[r]&&o.classList[n?"add":"remove"](r)}}let ds={create:du,update:du},dl=/[A-Z]/g;function dc(e,t){let n=t.elm,r,o=e.data.dataset,i=t.data.dataset;if(!o&&!i||o===i)return;o=o||{},i=i||{};let a=n.dataset;for(r in o)i[r]||(a?r in a&&delete a[r]:n.removeAttribute("data-"+r.replace(dl,"-$&").toLowerCase()));for(r in i)o[r]!==i[r]&&(a?a[r]=i[r]:n.setAttribute("data-"+r.replace(dl,"-$&").toLowerCase(),i[r]))}let df={create:dc,update:dc};function dd(e,t){let n,r=e.data.on,o=e.listener,i=e.elm,a=t&&t.data.on,u=t&&t.elm;if(r!==a){if(r&&o)if(a)for(n in r)a[n]||i.removeEventListener(n,o,!1);else for(n in r)i.removeEventListener(n,o,!1);if(a){let o=t.listener=e.listener||function e(t){var n=e.vnode;let r=t.type,o=n.data.on;o&&o[r]&&function e(t,n,r){if("function"==typeof t)t.call(n,r,n);else if("object"==typeof t)for(let o=0;o<t.length;o++)e(t[o],n,r)}(o[r],n,t)};if(o.vnode=t,r)for(n in a)r[n]||u.addEventListener(n,o,!1);else for(n in a)u.addEventListener(n,o,!1)}}}let dp={create:dd,update:dd,destroy:dd};function dh(e,t){let n,r,o=t.elm,i=e.data.props,a=t.data.props;if((i||a)&&i!==a)for(n in i=i||{},a=a||{})r=a[n],i[n]===r||"value"===n&&o[n]===r||(o[n]=r)}let dg={create:dh,update:dh},dv="undefined"!=typeof window&&window.requestAnimationFrame.bind(window)||setTimeout,dy=!1;function dm(e,t){let n,r,o=t.elm,i=e.data.style,a=t.data.style;if(!i&&!a||i===a)return;i=i||{},a=a||{};let u="delayed"in i;for(r in i)a[r]||("-"===r[0]&&"-"===r[1]?o.style.removeProperty(r):o.style[r]="");for(r in a)if(n=a[r],"delayed"===r&&a.delayed)for(let e in a.delayed)n=a.delayed[e],u&&n===i.delayed[e]||function(e,t,n){var r;r=function(){e[t]=n},dv(function(){dv(r)})}(o.style,e,n);else"remove"!==r&&n!==i[r]&&("-"===r[0]&&"-"===r[1]?o.style.setProperty(r,n):o.style[r]=n)}let db={pre:function(){dy=!1},create:dm,update:dm,destroy:function(e){let t,n,r=e.elm,o=e.data.style;if(o&&(t=o.destroy))for(n in t)r.style[n]=t[n]},remove:function(e,t){let n,r=e.data.style;if(!r||!r.remove)return void t();dy||(e.elm.offsetLeft,dy=!0);let o=e.elm,i=0,a=r.remove,u=0,s=[];for(n in a)s.push(n),o.style[n]=a[n];let l=getComputedStyle(o)["transition-property"].split(", ");for(;i<l.length;++i)-1!==s.indexOf(l[i])&&u++;o.addEventListener("transitionend",function(e){e.target===o&&--u,0===u&&t()})}};function dw(e,t,...n){let r=function e(t,n){for(let r of t)null!=r&&!1!==r&&""!==r&&(Array.isArray(r)?e(r,n):"string"==typeof r||"number"==typeof r||"boolean"==typeof r?n.push(f6(void 0,void 0,void 0,String(r),void 0)):n.push(r));return n}(n,[]);return"function"==typeof e?e(t,r):1===r.length&&!r[0].sel&&r[0].text?dr(e,t,r[0].text):dr(e,t,r)}dw||(dw={});var dE,dD=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,dS=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,dx="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",dC="["+dx+"]",dO="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",dA="[a-z\\xdf-\\xf6\\xf8-\\xff]",dk="[^\ud800-\udfff"+dx+"\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",dT="\ud83c[\udffb-\udfff]",dB="[^\ud800-\udfff]",dF="(?:\ud83c[\udde6-\uddff]){2}",dP="[\ud800-\udbff][\udc00-\udfff]",d_="[A-Z\\xc0-\\xd6\\xd8-\\xde]",dj="(?:"+dA+"|"+dk+")",dI="(?:"+d_+"|"+dk+")",dN="(?:"+dO+"|"+dT+")?",dR="[\\ufe0e\\ufe0f]?"+dN+("(?:\\u200d(?:"+[dB,dF,dP].join("|")+")[\\ufe0e\\ufe0f]?")+dN+")*",dL="(?:"+["[\\u2700-\\u27bf]",dF,dP].join("|")+")"+dR,dM="(?:"+[dB+dO+"?",dO,dF,dP,"[\ud800-\udfff]"].join("|")+")",dz=RegExp("['’]","g"),d$=RegExp(dO,"g"),dH=RegExp(dT+"(?="+dT+")|"+dM+dR,"g"),dU=RegExp([d_+"?"+dA+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[dC,d_,"$"].join("|")+")",dI+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[dC,d_+dj,"$"].join("|")+")",d_+"?"+dj+"+(?:['’](?:d|ll|m|re|s|t|ve))?",d_+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d+",dL].join("|"),"g"),dV=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),dW=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,dq="object"==typeof u&&u&&u.Object===Object&&u,dG="object"==typeof self&&self&&self.Object===Object&&self,dK=dq||dG||Function("return this")(),dZ=(dE={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"ss"},function(e){return null==dE?void 0:dE[e]}),dX=Object.prototype.toString,dY=dK.Symbol,dJ=dY?dY.prototype:void 0,dQ=dJ?dJ.toString:void 0;function d0(e){return null==e?"":function(e){if("string"==typeof e)return e;if("symbol"==typeof e||e&&"object"==typeof e&&"[object Symbol]"==dX.call(e))return dQ?dQ.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}for(var d1,d2,d4=(d1=function(e,t,n){return t=t.toLowerCase(),e+(n?d3(d0(t).toLowerCase()):t)},function(e){var t,n,r,o;return function(e,t,n,r){for(var o=-1,i=e?e.length:0;++o<i;)n=t(n,e[o],o,e);return n}((n=((t=d0(t=e))&&t.replace(dS,dZ).replace(d$,"")).replace(dz,""),n=d0(n),void 0===r?(o=n,dW.test(o))?n.match(dU)||[]:n.match(dD)||[]:n.match(r)||[]),d1,"")}),d3=(d2="toUpperCase",function(e){var t,n,r,o=(t=e=d0(e),dV.test(t))?function(e){return dV.test(e)?e.match(dH)||[]:e.split("")}(e):void 0,i=o?o[0]:e.charAt(0),a=o?(r=o.length,function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}(o,1,n=void 0===n?r:n)).join(""):e.slice(1);return i[d2]()+a}),d6="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),d5={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},d8={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:d6?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},d7={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},d9=1;d9<20;d9++)d7["f"+d9]=111+d9;function pe(e,t,n){!t||"byKey"in t||(n=t,t=null),Array.isArray(e)||(e=[e]);var r=e.map(function(e){return function(e,t){var n=t&&t.byKey,r={},o=(e=e.replace("++","+add")).split("+"),i=o.length;for(var a in d5)r[d5[a]]=!1;var u=!0,s=!1,l=void 0;try{for(var c,f=o[Symbol.iterator]();!(u=(c=f.next()).done);u=!0){var d,p=c.value,h=p.endsWith("?")&&p.length>1;h&&(p=p.slice(0,-1));var g=pt(p),v=d5[g];if(p.length>1&&!v&&!d8[p]&&!d7[g])throw TypeError('Unknown modifier: "'+p+'"');1!==i&&v||(n?r.key=g:(d=p,r.which=d7[d=pt(d)]||d.toUpperCase().charCodeAt(0))),v&&(r[v]=!h||null)}}catch(e){s=!0,l=e}finally{try{!u&&f.return&&f.return()}finally{if(s)throw l}}return r}(e,t)}),o=function(e){return r.some(function(t){for(var n in t){var r=t[n],o=void 0;if(null!=r&&(null!=(o="key"===n&&null!=e.key?e.key.toLowerCase():"which"===n?91===r&&93===e.which?91:e.which:e[n])||!1!==r)&&o!==r)return!1}return!0})};return null==n?o:o(n)}function pt(e){return e=d8[e=e.toLowerCase()]||e}var pn=function(e,t){return pe(e,{byKey:!0},t)},pr=/^\s+|\s+$/g,po=/^[-+]0x[0-9a-f]+$/i,pi=/^0b[01]+$/i,pa=/^0o[0-7]+$/i,pu=parseInt,ps="object"==typeof u&&u&&u.Object===Object&&u,pl="object"==typeof self&&self&&self.Object===Object&&self,pc=ps||pl||Function("return this")(),pf=Object.prototype.toString,pd=Math.max,pp=Math.min,ph=function(){return pc.Date.now()};function pg(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function pv(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==pf.call(t))return NaN;if(pg(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=pg(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(pr,"");var r=pi.test(e);return r||pa.test(e)?pu(e.slice(2),r?2:8):po.test(e)?NaN:+e}var py,pm=function(e,t,n){var r,o,i,a,u,s,l=0,c=!1,f=!1,d=!0;if("function"!=typeof e)throw TypeError("Expected a function");function p(t){var n=r,i=o;return r=o=void 0,l=t,a=e.apply(i,n)}function h(e){var n=e-s;return void 0===s||n>=t||n<0||f&&e-l>=i}function g(){var e,n=ph();if(h(n))return v(n);u=setTimeout(g,(e=t-(n-s),f?pp(e,i-(n-l)):e))}function v(e){return u=void 0,d&&r?p(e):(r=o=void 0,a)}function y(){var e,n=ph(),i=h(n);if(r=arguments,o=this,s=n,i){if(void 0===u)return l=e=s,u=setTimeout(g,t),c?p(e):a;if(f)return u=setTimeout(g,t),p(s)}return void 0===u&&(u=setTimeout(g,t)),a}return t=pv(t)||0,pg(n)&&(c=!!n.leading,i=(f="maxWait"in n)?pd(pv(n.maxWait)||0,t):i,d="trailing"in n?!!n.trailing:d),y.cancel=function(){void 0!==u&&clearTimeout(u),l=0,r=s=o=u=void 0},y.flush=function(){return void 0===u?a:v(ph())},y},pb=s(function(e,t){var n,r="__lodash_hash_undefined__",o="[object Arguments]",i="[object Boolean]",a="[object Date]",s="[object Function]",l="[object GeneratorFunction]",c="[object Map]",f="[object Number]",d="[object Object]",p="[object Promise]",h="[object RegExp]",g="[object Set]",v="[object String]",y="[object Symbol]",m="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",E="[object Float32Array]",D="[object Float64Array]",S="[object Int8Array]",x="[object Int16Array]",C="[object Int32Array]",O="[object Uint8Array]",A="[object Uint8ClampedArray]",k="[object Uint16Array]",T="[object Uint32Array]",B=/\w*$/,F=/^\[object .+?Constructor\]$/,P=/^(?:0|[1-9]\d*)$/,_={};_[o]=_["[object Array]"]=_[b]=_[w]=_[i]=_[a]=_[E]=_[D]=_[S]=_[x]=_[C]=_[c]=_[f]=_[d]=_[h]=_[g]=_[v]=_[y]=_[O]=_[A]=_[k]=_[T]=!0,_["[object Error]"]=_[s]=_[m]=!1;var j="object"==typeof u&&u&&u.Object===Object&&u,I="object"==typeof self&&self&&self.Object===Object&&self,N=j||I||Function("return this")(),R=t&&!t.nodeType&&t,L=R&&e&&!e.nodeType&&e,M=L&&L.exports===R;function z(e,t){return e.set(t[0],t[1]),e}function $(e,t){return e.add(t),e}function H(e,t,n,r){var o=-1,i=e?e.length:0;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function U(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function V(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function W(e,t){return function(n){return e(t(n))}}function q(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var G=Array.prototype,K=Function.prototype,Z=Object.prototype,X=N["__core-js_shared__"],Y=(n=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",J=K.toString,Q=Z.hasOwnProperty,ee=Z.toString,et=RegExp("^"+J.call(Q).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),en=M?N.Buffer:void 0,er=N.Symbol,eo=N.Uint8Array,ei=W(Object.getPrototypeOf,Object),ea=Object.create,eu=Z.propertyIsEnumerable,es=G.splice,el=Object.getOwnPropertySymbols,ec=en?en.isBuffer:void 0,ef=W(Object.keys,Object),ed=ej(N,"DataView"),ep=ej(N,"Map"),eh=ej(N,"Promise"),eg=ej(N,"Set"),ev=ej(N,"WeakMap"),ey=ej(Object,"create"),em=eL(ed),eb=eL(ep),ew=eL(eh),eE=eL(eg),eD=eL(ev),eS=er?er.prototype:void 0,ex=eS?eS.valueOf:void 0;function eC(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function eO(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function eA(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ek(e){this.__data__=new eO(e)}function eT(e,t,n){var r=e[t];Q.call(e,t)&&eM(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function eB(e,t){for(var n=e.length;n--;)if(eM(e[n][0],t))return n;return -1}function eF(e){var t=new e.constructor(e.byteLength);return new eo(t).set(new eo(e)),t}function eP(e,t,n,r){n||(n={});for(var o=-1,i=t.length;++o<i;){var a=t[o],u=r?r(n[a],e[a],a,n,e):void 0;eT(n,a,void 0===u?e[a]:u)}return n}function e_(e,t){var n,r=e.__data__;return("string"==(n=typeof t)||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?r["string"==typeof t?"string":"hash"]:r.map}function ej(e,t){var n=null==e?void 0:e[t];return!(!eV(n)||Y&&Y in n)&&(eU(n)||U(n)?et:F).test(eL(n))?n:void 0}eC.prototype.clear=function(){this.__data__=ey?ey(null):{}},eC.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},eC.prototype.get=function(e){var t=this.__data__;if(ey){var n=t[e];return n===r?void 0:n}return Q.call(t,e)?t[e]:void 0},eC.prototype.has=function(e){var t=this.__data__;return ey?void 0!==t[e]:Q.call(t,e)},eC.prototype.set=function(e,t){return this.__data__[e]=ey&&void 0===t?r:t,this},eO.prototype.clear=function(){this.__data__=[]},eO.prototype.delete=function(e){var t=this.__data__,n=eB(t,e);return!(n<0)&&(n==t.length-1?t.pop():es.call(t,n,1),!0)},eO.prototype.get=function(e){var t=this.__data__,n=eB(t,e);return n<0?void 0:t[n][1]},eO.prototype.has=function(e){return eB(this.__data__,e)>-1},eO.prototype.set=function(e,t){var n=this.__data__,r=eB(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},eA.prototype.clear=function(){this.__data__={hash:new eC,map:new(ep||eO),string:new eC}},eA.prototype.delete=function(e){return e_(this,e).delete(e)},eA.prototype.get=function(e){return e_(this,e).get(e)},eA.prototype.has=function(e){return e_(this,e).has(e)},eA.prototype.set=function(e,t){return e_(this,e).set(e,t),this},ek.prototype.clear=function(){this.__data__=new eO},ek.prototype.delete=function(e){return this.__data__.delete(e)},ek.prototype.get=function(e){return this.__data__.get(e)},ek.prototype.has=function(e){return this.__data__.has(e)},ek.prototype.set=function(e,t){var n=this.__data__;if(n instanceof eO){var r=n.__data__;if(!ep||r.length<199)return r.push([e,t]),this;n=this.__data__=new eA(r)}return n.set(e,t),this};var eI=el?W(el,Object):function(){return[]},eN=function(e){return ee.call(e)};function eR(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Z)}function eL(e){if(null!=e){try{return J.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function eM(e,t){return e===t||e!=e&&t!=t}(ed&&eN(new ed(new ArrayBuffer(1)))!=w||ep&&eN(new ep)!=c||eh&&eN(eh.resolve())!=p||eg&&eN(new eg)!=g||ev&&eN(new ev)!=m)&&(eN=function(e){var t=ee.call(e),n=t==d?e.constructor:void 0,r=n?eL(n):void 0;if(r)switch(r){case em:return w;case eb:return c;case ew:return p;case eE:return g;case eD:return m}return t});var ez=Array.isArray;function e$(e){var t;return null!=e&&"number"==typeof(t=e.length)&&t>-1&&t%1==0&&t<=0x1fffffffffffff&&!eU(e)}var eH=ec||function(){return!1};function eU(e){var t=eV(e)?ee.call(e):"";return t==s||t==l}function eV(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function eW(e){return e$(e)?function(e,t){var n,r,i=ez(e)||e&&"object"==typeof e&&e$(e)&&Q.call(e,"callee")&&(!eu.call(e,"callee")||ee.call(e)==o)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],a=i.length,u=!!a;for(var s in e){!Q.call(e,s)||u&&("length"==s||(n=s,(r=null==(r=a)?0x1fffffffffffff:r)&&("number"==typeof n||P.test(n))&&n>-1&&n%1==0&&n<r))||i.push(s)}return i}(e):function(e){if(!eR(e))return ef(e);var t=[];for(var n in Object(e))Q.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}e.exports=function(e){return function e(t,n,r,u,p,m,F){if(u&&(P=m?u(t,p,m,F):u(t)),void 0!==P)return P;if(!eV(t))return t;var P,j=ez(t);if(j){if(I=t.length,N=t.constructor(I),I&&"string"==typeof t[0]&&Q.call(t,"index")&&(N.index=t.index,N.input=t.input),P=N,!n){var I,N,R=P,L=-1,M=t.length;for(R||(R=Array(M));++L<M;)R[L]=t[L];return R}}else{var W,G,K,Z,X=eN(t),Y=X==s||X==l;if(eH(t)){if(n)return t.slice();var J=new t.constructor(t.length);return t.copy(J),J}if(X==d||X==o||Y&&!m){if(U(t))return m?t:{};if(P="function"!=typeof(W=Y?{}:t).constructor||eR(W)?{}:eV(G=ei(W))?ea(G):{},!n)return Z=(K=P)&&eP(t,eW(t),K),eP(t,eI(t),Z)}else{if(!_[X])return m?t:{};P=function(e,t,n,r){var o,u,s,l=e.constructor;switch(t){case b:return eF(e);case i:case a:return new l(+e);case w:return o=r?eF(e.buffer):e.buffer,new e.constructor(o,e.byteOffset,e.byteLength);case E:case D:case S:case x:case C:case O:case A:case k:case T:return u=r?eF(e.buffer):e.buffer,new e.constructor(u,e.byteOffset,e.length);case c:return H(r?n(V(e),!0):V(e),z,new e.constructor);case f:case v:return new l(e);case h:return(s=new e.constructor(e.source,B.exec(e))).lastIndex=e.lastIndex,s;case g:return H(r?n(q(e),!0):q(e),$,new e.constructor);case y:return ex?Object(ex.call(e)):{}}}(t,X,e,n)}}F||(F=new ek);var ee=F.get(t);if(ee)return ee;if(F.set(t,P),!j)var et,en=r?(et=eW(t),ez(t)?et:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(et,eI(t))):eW(t);return function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););}(en||t,function(o,i){en&&(o=t[i=o]),eT(P,i,e(o,n,r,u,i,t,F))}),P}(e,!0,!0)}});function pw(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var pE=0;function pD(e,t){let n=/\$/g,r=[e];if(null==t)return r;for(let e of Object.keys(t))if("_"!==e){let o=t[e];"string"==typeof o&&(o=n[Symbol.replace](o,"$$$$")),r=function(e,t,n){let r=[];return e.forEach(e=>"string"!=typeof e?r.push(e):t[Symbol.split](e).forEach((e,t,o)=>{""!==e&&r.push(e),t<o.length-1&&r.push(n)})),r}(r,RegExp(`%\\{${e}\\}`,"g"),o)}return r}var pS=(py="__private_"+pE+++"_apply",class{constructor(e){Object.defineProperty(this,py,{value:px}),this.locale={strings:{},pluralize:e=>+(1!==e)},Array.isArray(e)?e.forEach(pw(this,py)[py],this):pw(this,py)[py](e)}translate(e,t){return this.translateArray(e,t).join("")}translateArray(e,t){var n;if(n=this.locale.strings,!Object.prototype.hasOwnProperty.call(n,e))throw Error(`missing string: ${e}`);let r=this.locale.strings[e];if("object"==typeof r){if(t&&void 0!==t.smart_count)return pD(r[this.locale.pluralize(t.smart_count)],t);throw Error("Attempted to use a string with plural forms, but no value was given for %{smart_count}")}return pD(r,t)}});function px(e){if(null==e||!e.strings)return;let t=this.locale;this.locale={...t,strings:{...t.strings,...e.strings}},this.locale.pluralize=e.pluralize||t.pluralize}var pC=function(){var e={},t=e._fns={};return e.emit=function(e,n,r,o,i,a,u){var s=function(e){for(var n=t[e]?t[e]:[],r=e.indexOf(":"),o=-1===r?[e]:[e.substring(0,r),e.substring(r+1)],i=Object.keys(t),a=0,u=i.length;a<u;a++){var s=i[a];if("*"===s&&(n=n.concat(t[s])),2===o.length&&o[0]===s){n=n.concat(t[s]);break}}return n}(e);s.length&&function(e,t,n){for(var r=0,o=t.length;r<o&&t[r];r++)t[r].event=e,t[r].apply(t[r],n)}(e,s,[n,r,o,i,a,u])},e.on=function(e,n){t[e]||(t[e]=[]),t[e].push(n)},e.once=function(t,n){this.on(t,function r(){n.apply(this,arguments),e.off(t,r)})},e.off=function(e,t){var n=[];if(e&&t)for(var r=this._fns[e],o=0,i=r?r.length:0;o<i;o++)r[o]!==t&&n.push(r[o]);n.length?this._fns[e]=n:delete this._fns[e]},e};let{urlAlphabet:pO}={urlAlphabet:"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"},pA=e=>crypto.getRandomValues(new Uint8Array(e)),pk=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,o=-~(1.6*r*t/e.length);return()=>{let i="";for(;;){let a=n(o),u=o;for(;u--;)if((i+=e[a[u]&r]||"").length===t)return i}}};var pT={nanoid:(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=63&n[e];t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?"_":"-"}return t},customAlphabet:(e,t)=>pk(e,t,pA),customRandom:pk,urlAlphabet:pO,random:pA},pB=function(e){if("number"!=typeof e||isNaN(e))throw TypeError("Expected a number, got "+typeof e);var t=e<0,n=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];if(t&&(e=-e),e<1)return(t?"-":"")+e+" B";var r=Math.min(Math.floor(Math.log(e)/Math.log(1024)),n.length-1);e=Number(e/Math.pow(1024,r));var o=n[r];return e>=10||e%1==0?(t?"-":"")+e.toFixed(0)+" "+o:(t?"-":"")+e.toFixed(1)+" "+o};function pF(e,t){this.text=e=e||"",this.hasWild=~e.indexOf("*"),this.separator=t,this.parts=e.split(t)}pF.prototype.match=function(e){var t,n,r=!0,o=this.parts,i=o.length;if("string"==typeof e||e instanceof String)if(this.hasWild||this.text==e){for(n=(e||"").split(this.separator),t=0;r&&t<i;t++)"*"!==o[t]&&(r=t<n.length&&o[t]===n[t]);r=r&&n}else r=!1;else if("function"==typeof e.splice)for(r=[],t=e.length;t--;)this.match(e[t])&&(r[r.length]=e[t]);else if("object"==typeof e)for(var a in r={},e)this.match(a)&&(r[a]=e[a]);return r};var pP=/[\/\+\.]/,p_=function(e,t){function n(t){var n,r=(n=new pF(t,pP||/[\/\.]/),void 0!==e?n.match(e):n);return r&&r.length>=2}return t?n(t.split(";")[0]):n},pj=0,pI="__private_"+pj+++"_publish";class pN{constructor(){Object.defineProperty(this,pI,{value:pR}),this.state={},this.callbacks=[]}getState(){return this.state}setState(e){let t={...this.state},n={...this.state,...e};this.state=n,(function(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e})(this,pI)[pI](t,n,e)}subscribe(e){return this.callbacks.push(e),()=>{this.callbacks.splice(this.callbacks.indexOf(e),1)}}}function pR(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];this.callbacks.forEach(e=>{e(...t)})}pN.VERSION="2.0.3";var pL=function(e){let t=e.lastIndexOf(".");return -1===t||t===e.length-1?{name:e,extension:void 0}:{name:e.slice(0,t),extension:e.slice(t+1)}},pM={md:"text/markdown",markdown:"text/markdown",mp4:"video/mp4",mp3:"audio/mp3",svg:"image/svg+xml",jpg:"image/jpeg",png:"image/png",gif:"image/gif",heic:"image/heic",heif:"image/heif",yaml:"text/yaml",yml:"text/yaml",csv:"text/csv",tsv:"text/tab-separated-values",tab:"text/tab-separated-values",avi:"video/x-msvideo",mks:"video/x-matroska",mkv:"video/x-matroska",mov:"video/quicktime",doc:"application/msword",docm:"application/vnd.ms-word.document.macroenabled.12",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",dot:"application/msword",dotm:"application/vnd.ms-word.template.macroenabled.12",dotx:"application/vnd.openxmlformats-officedocument.wordprocessingml.template",xla:"application/vnd.ms-excel",xlam:"application/vnd.ms-excel.addin.macroenabled.12",xlc:"application/vnd.ms-excel",xlf:"application/x-xliff+xml",xlm:"application/vnd.ms-excel",xls:"application/vnd.ms-excel",xlsb:"application/vnd.ms-excel.sheet.binary.macroenabled.12",xlsm:"application/vnd.ms-excel.sheet.macroenabled.12",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xlt:"application/vnd.ms-excel",xltm:"application/vnd.ms-excel.template.macroenabled.12",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template",xlw:"application/vnd.ms-excel",txt:"text/plain",text:"text/plain",conf:"text/plain",log:"text/plain",pdf:"application/pdf",zip:"application/zip","7z":"application/x-7z-compressed",rar:"application/x-rar-compressed",tar:"application/x-tar",gz:"application/gzip",dmg:"application/x-apple-diskimage"};function pz(e){let t="";return e.replace(/[^A-Z0-9]/gi,e=>(t+=`-${e.charCodeAt(0).toString(32)}`,"/"))+t}var p$=function(e){if(null==e&&(e="undefined"!=typeof navigator?navigator.userAgent:null),!e)return!0;let t=/Edge\/(\d+\.\d+)/.exec(e);if(!t)return!0;let[n,r]=t[1].split(".");return n=parseInt(n,10),r=parseInt(r,10),n<15||15===n&&r<15063||n>18||18===n&&r>=18218};function pH(e){return e<10?`0${e}`:e.toString()}var pU=function(){let e=new Date;return`${pH(e.getHours())}:${pH(e.getMinutes())}:${pH(e.getSeconds())}`},pV={justErrorsLogger:{debug:()=>{},warn:()=>{},error:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(`[Uppy] [${pU()}]`,...t)}},debugLogger:{debug:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.debug(`[Uppy] [${pU()}]`,...t)},warn:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.warn(`[Uppy] [${pU()}]`,...t)},error:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(`[Uppy] [${pU()}]`,...t)}}},pW={strings:{addBulkFilesFailed:{0:"Failed to add %{smart_count} file due to an internal error",1:"Failed to add %{smart_count} files due to internal errors"},youCanOnlyUploadX:{0:"You can only upload %{smart_count} file",1:"You can only upload %{smart_count} files"},youHaveToAtLeastSelectX:{0:"You have to select at least %{smart_count} file",1:"You have to select at least %{smart_count} files"},exceedsSize:"%{file} exceeds maximum allowed size of %{size}",missingRequiredMetaField:"Missing required meta fields",missingRequiredMetaFieldOnFile:"Missing required meta fields in %{fileName}",inferiorSize:"This file is smaller than the allowed size of %{size}",youCanOnlyUploadFileTypes:"You can only upload: %{types}",noMoreFilesAllowed:"Cannot add more files",noDuplicates:"Cannot add the duplicate file '%{fileName}', it already exists",companionError:"Connection with Companion failed",authAborted:"Authentication aborted",companionUnauthorizeHint:"To unauthorize to your %{provider} account, please go to %{url}",failedToUpload:"Failed to upload %{file}",noInternetConnection:"No Internet connection",connectedToInternet:"Connected to the Internet",noFilesFound:"You have no files or folders here",selectX:{0:"Select %{smart_count}",1:"Select %{smart_count}"},allFilesFromFolderNamed:"All files from folder %{name}",openFolderNamed:"Open folder %{name}",cancel:"Cancel",logOut:"Log out",filter:"Filter",resetFilter:"Reset filter",loading:"Loading...",authenticateWithTitle:"Please authenticate with %{pluginName} to select files",authenticateWith:"Connect to %{pluginName}",signInWithGoogle:"Sign in with Google",searchImages:"Search for images",enterTextToSearch:"Enter text to search for images",backToSearch:"Back to Search",emptyFolderAdded:"No files were added from empty folder",folderAlreadyAdded:'The folder "%{folder}" was already added',folderAdded:{0:"Added %{smart_count} file from %{folder}",1:"Added %{smart_count} files from %{folder}"}}};function pq(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var pG=0;function pK(e){return"__private_"+pG+++"_"+e}let{nanoid:pZ}=pT,{justErrorsLogger:pX,debugLogger:pY}=pV;class pJ extends Error{constructor(){super(...arguments),this.isRestriction=!0}}"undefined"==typeof AggregateError&&(globalThis.AggregateError=class extends Error{constructor(e,t){super(t),this.errors=e}});class pQ extends AggregateError{constructor(){super(...arguments),this.isRestriction=!0}}var p0=pK("plugins"),p1=pK("storeUnsubscribe"),p2=pK("emitter"),p4=pK("preProcessors"),p3=pK("uploaders"),p6=pK("postProcessors"),p5=pK("checkRestrictions"),p8=pK("checkMinNumberOfFiles"),p7=pK("checkRequiredMetaFieldsOnFile"),p9=pK("checkRequiredMetaFields"),he=pK("showOrLogErrorAndThrow"),ht=pK("assertNewUploadAllowed"),hn=pK("checkAndCreateFileStateObject"),hr=pK("startIfAutoProceed"),ho=pK("addListeners"),hi=pK("updateOnlineStatus"),ha=pK("createUpload"),hu=pK("getUpload"),hs=pK("removeUpload"),hl=pK("runUpload");r=Symbol.for("uppy test: getPlugins"),o=Symbol.for("uppy test: createUpload");class hc{constructor(e){Object.defineProperty(this,hl,{value:hS}),Object.defineProperty(this,hs,{value:hD}),Object.defineProperty(this,hu,{value:hE}),Object.defineProperty(this,ha,{value:hw}),Object.defineProperty(this,ho,{value:hb}),Object.defineProperty(this,hr,{value:hm}),Object.defineProperty(this,hn,{value:hy}),Object.defineProperty(this,ht,{value:hv}),Object.defineProperty(this,he,{value:hg}),Object.defineProperty(this,p9,{value:hh}),Object.defineProperty(this,p7,{value:hp}),Object.defineProperty(this,p8,{value:hd}),Object.defineProperty(this,p5,{value:hf}),Object.defineProperty(this,p0,{writable:!0,value:Object.create(null)}),Object.defineProperty(this,p1,{writable:!0,value:void 0}),Object.defineProperty(this,p2,{writable:!0,value:pC()}),Object.defineProperty(this,p4,{writable:!0,value:new Set}),Object.defineProperty(this,p3,{writable:!0,value:new Set}),Object.defineProperty(this,p6,{writable:!0,value:new Set}),Object.defineProperty(this,hi,{writable:!0,value:this.updateOnlineStatus.bind(this)}),this.defaultLocale=pW;let t={id:"uppy",autoProceed:!1,allowMultipleUploads:!0,allowMultipleUploadBatches:!0,debug:!1,restrictions:{maxFileSize:null,minFileSize:null,maxTotalFileSize:null,maxNumberOfFiles:null,minNumberOfFiles:null,allowedFileTypes:null,requiredMetaFields:[]},meta:{},onBeforeFileAdded:e=>e,onBeforeUpload:e=>e,store:new pN,logger:pX,infoTimeout:5e3};if(this.opts={...t,...e,restrictions:{...t.restrictions,...e&&e.restrictions}},e&&e.logger&&e.debug?this.log("You are using a custom `logger`, but also set `debug: true`, which uses built-in logger to output logs to console. Ignoring `debug: true` and using your custom `logger`.","warning"):e&&e.debug&&(this.opts.logger=pY),this.log(`Using Core v${this.constructor.VERSION}`),this.opts.restrictions.allowedFileTypes&&null!==this.opts.restrictions.allowedFileTypes&&!Array.isArray(this.opts.restrictions.allowedFileTypes))throw TypeError("`restrictions.allowedFileTypes` must be an array");this.i18nInit(),this.calculateProgress=f4(this.calculateProgress.bind(this),500,{leading:!0,trailing:!0}),this.store=this.opts.store,this.setState({plugins:{},files:{},currentUploads:{},allowNewUpload:!0,capabilities:{uploadProgress:p$(),individualCancellation:!0,resumableUploads:!1},totalProgress:0,meta:{...this.opts.meta},info:[],recoveredState:null}),pq(this,p1)[p1]=this.store.subscribe((e,t,n)=>{this.emit("state-update",e,t,n),this.updateAll(t)}),this.opts.debug&&"undefined"!=typeof window&&(window[this.opts.id]=this),pq(this,ho)[ho]()}emit(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];pq(this,p2)[p2].emit(e,...n)}on(e,t){return pq(this,p2)[p2].on(e,t),this}once(e,t){return pq(this,p2)[p2].once(e,t),this}off(e,t){return pq(this,p2)[p2].off(e,t),this}updateAll(e){this.iteratePlugins(t=>{t.update(e)})}setState(e){this.store.setState(e)}getState(){return this.store.getState()}get state(){return this.getState()}setFileState(e,t){if(!this.getState().files[e])throw Error(`Can’t set state for ${e} (the file could have been removed)`);this.setState({files:{...this.getState().files,[e]:{...this.getState().files[e],...t}}})}i18nInit(){let e=new pS([this.defaultLocale,this.opts.locale]);this.i18n=e.translate.bind(e),this.i18nArray=e.translateArray.bind(e),this.locale=e.locale}setOptions(e){this.opts={...this.opts,...e,restrictions:{...this.opts.restrictions,...e&&e.restrictions}},e.meta&&this.setMeta(e.meta),this.i18nInit(),e.locale&&this.iteratePlugins(e=>{e.setOptions()}),this.setState()}resetProgress(){let e={percentage:0,bytesUploaded:0,uploadComplete:!1,uploadStarted:null},t={...this.getState().files},n={};Object.keys(t).forEach(r=>{let o={...t[r]};o.progress={...o.progress,...e},n[r]=o}),this.setState({files:n,totalProgress:0}),this.emit("reset-progress")}addPreProcessor(e){pq(this,p4)[p4].add(e)}removePreProcessor(e){return pq(this,p4)[p4].delete(e)}addPostProcessor(e){pq(this,p6)[p6].add(e)}removePostProcessor(e){return pq(this,p6)[p6].delete(e)}addUploader(e){pq(this,p3)[p3].add(e)}removeUploader(e){return pq(this,p3)[p3].delete(e)}setMeta(e){let t={...this.getState().meta,...e},n={...this.getState().files};Object.keys(n).forEach(t=>{n[t]={...n[t],meta:{...n[t].meta,...e}}}),this.log("Adding metadata:"),this.log(e),this.setState({meta:t,files:n})}setFileMeta(e,t){let n={...this.getState().files};if(!n[e])return void this.log("Was trying to set metadata for a file that has been removed: ",e);let r={...n[e].meta,...t};n[e]={...n[e],meta:r},this.setState({files:n})}getFile(e){return this.getState().files[e]}getFiles(){let{files:e}=this.getState();return Object.values(e)}getObjectOfFilesPerState(){let{files:e,totalProgress:t,error:n}=this.getState(),r=Object.values(e),o=r.filter(e=>{let{progress:t}=e;return!t.uploadComplete&&t.uploadStarted}),i=r.filter(e=>!e.progress.uploadStarted),a=r.filter(e=>e.progress.uploadStarted||e.progress.preprocess||e.progress.postprocess),u=r.filter(e=>e.progress.uploadStarted),s=r.filter(e=>e.isPaused),l=r.filter(e=>e.progress.uploadComplete),c=r.filter(e=>e.error),f=o.filter(e=>!e.isPaused),d=r.filter(e=>e.progress.preprocess||e.progress.postprocess);return{newFiles:i,startedFiles:a,uploadStartedFiles:u,pausedFiles:s,completeFiles:l,erroredFiles:c,inProgressFiles:o,inProgressNotPausedFiles:f,processingFiles:d,isUploadStarted:u.length>0,isAllComplete:100===t&&l.length===r.length&&0===d.length,isAllErrored:!!n&&c.length===r.length,isAllPaused:0!==o.length&&s.length===o.length,isUploadInProgress:o.length>0,isSomeGhost:r.some(e=>e.isGhost)}}validateRestrictions(e,t){try{return pq(this,p5)[p5](e,t),{result:!0}}catch(e){return{result:!1,reason:e.message}}}checkIfFileAlreadyExists(e){let{files:t}=this.getState();return!(!t[e]||t[e].isGhost)}addFile(e){pq(this,ht)[ht](e);let{files:t}=this.getState(),n=pq(this,hn)[hn](t,e);return t[n.id]&&t[n.id].isGhost&&(n={...t[n.id],data:e.data,isGhost:!1},this.log(`Replaced the blob in the restored ghost file: ${n.name}, ${n.id}`)),this.setState({files:{...t,[n.id]:n}}),this.emit("file-added",n),this.emit("files-added",[n]),this.log(`Added file: ${n.name}, ${n.id}, mime type: ${n.type}`),pq(this,hr)[hr](),n.id}addFiles(e){pq(this,ht)[ht]();let t={...this.getState().files},n=[],r=[];for(let o=0;o<e.length;o++)try{let r=pq(this,hn)[hn](t,e[o]);t[r.id]&&t[r.id].isGhost&&(r={...t[r.id],data:e[o].data,isGhost:!1},this.log(`Replaced blob in a ghost file: ${r.name}, ${r.id}`)),t[r.id]=r,n.push(r)}catch(e){e.isRestriction||r.push(e)}if(this.setState({files:t}),n.forEach(e=>{this.emit("file-added",e)}),this.emit("files-added",n),n.length>5?this.log(`Added batch of ${n.length} files`):Object.keys(n).forEach(e=>{this.log(`Added file: ${n[e].name}+/*! For license information please see 3697.9e630381.js.LICENSE.txt */+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["3697"],{25774:function(){},44861:function(e,t,n){let r,o,i,a;n.d(t,{Au:()=>O_,Ej:()=>Dn,Jh:()=>ecL,k5:()=>ecM});var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function s(e){var t={exports:{}};return e(t,t.exports),t.exports}var l,c,f=function(e){return e&&e.Math==Math&&e},d=f("object"==typeof globalThis&&globalThis)||f("object"==typeof window&&window)||f("object"==typeof self&&self)||f("object"==typeof u&&u)||function(){return this}()||Function("return this")(),p=Function.prototype,h=p.apply,g=p.bind,v=p.call,y="object"==typeof Reflect&&Reflect.apply||(g?v.bind(h):function(){return v.apply(h,arguments)}),m=Function.prototype,b=m.bind,w=m.call,E=b&&b.bind(w),D=b?function(e){return e&&E(w,e)}:function(e){return e&&function(){return w.apply(e,arguments)}},S=function(e){return"function"==typeof e},x=function(e){try{return!!e()}catch(e){return!0}},C=!x(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),O=Function.prototype.call,A=O.bind?O.bind(O):function(){return O.apply(O,arguments)},k={}.propertyIsEnumerable,T=Object.getOwnPropertyDescriptor,B={f:T&&!k.call({1:2},1)?function(e){var t=T(this,e);return!!t&&t.enumerable}:k},F=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},_=D({}.toString),P=D("".slice),j=function(e){return P(_(e),8,-1)},I=d.Object,N=D("".split),R=x(function(){return!I("z").propertyIsEnumerable(0)})?function(e){return"String"==j(e)?N(e,""):I(e)}:I,L=d.TypeError,M=function(e){if(null==e)throw L("Can't call method on "+e);return e},z=function(e){return R(M(e))},$=function(e){return"object"==typeof e?null!==e:S(e)},H={},U=function(e){return S(e)?e:void 0},V=function(e,t){return arguments.length<2?U(H[e])||U(d[e]):H[e]&&H[e][t]||d[e]&&d[e][t]},W=D({}.isPrototypeOf),q=V("navigator","userAgent")||"",G=d.process,K=d.Deno,Z=G&&G.versions||K&&K.version,X=Z&&Z.v8;X&&(c=(l=X.split("."))[0]>0&&l[0]<4?1:+(l[0]+l[1])),!c&&q&&(!(l=q.match(/Edge\/(\d+)/))||l[1]>=74)&&(l=q.match(/Chrome\/(\d+)/))&&(c=+l[1]);var Y,J=c,Q=!!Object.getOwnPropertySymbols&&!x(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&J&&J<41}),ee=Q&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,et=d.Object,en=ee?function(e){return"symbol"==typeof e}:function(e){var t=V("Symbol");return S(t)&&W(t.prototype,et(e))},er=d.String,eo=function(e){try{return er(e)}catch(e){return"Object"}},ei=d.TypeError,ea=function(e){if(S(e))return e;throw ei(eo(e)+" is not a function")},eu=function(e,t){var n=e[t];return null==n?void 0:ea(n)},es=d.TypeError,el=Object.defineProperty,ec=d["__core-js_shared__"]||function(e,t){try{el(d,e,{value:t,configurable:!0,writable:!0})}catch(n){d[e]=t}return t}("__core-js_shared__",{}),ef=s(function(e){(e.exports=function(e,t){return ec[e]||(ec[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})}),ed=d.Object,ep=function(e){return ed(M(e))},eh=D({}.hasOwnProperty),eg=Object.hasOwn||function(e,t){return eh(ep(e),t)},ev=0,ey=Math.random(),em=D(1..toString),eb=function(e){return"Symbol("+(void 0===e?"":e)+")_"+em(++ev+ey,36)},ew=ef("wks"),eE=d.Symbol,eD=eE&&eE.for,eS=ee?eE:eE&&eE.withoutSetter||eb,ex=function(e){if(!eg(ew,e)||!Q&&"string"!=typeof ew[e]){var t="Symbol."+e;Q&&eg(eE,e)?ew[e]=eE[e]:ew[e]=ee&&eD?eD(t):eS(t)}return ew[e]},eC=d.TypeError,eO=ex("toPrimitive"),eA=function(e,t){if(!$(e)||en(e))return e;var n,r=eu(e,eO);if(r){if(void 0===t&&(t="default"),!$(n=A(r,e,t))||en(n))return n;throw eC("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&S(n=e.toString)&&!$(r=A(n,e))||S(n=e.valueOf)&&!$(r=A(n,e))||"string"!==t&&S(n=e.toString)&&!$(r=A(n,e)))return r;throw es("Can't convert object to primitive value")}(e,t)},ek=function(e){var t=eA(e,"string");return en(t)?t:t+""},eT=d.document,eB=$(eT)&&$(eT.createElement),eF=function(e){return eB?eT.createElement(e):{}},e_=!C&&!x(function(){return 7!=Object.defineProperty(eF("div"),"a",{get:function(){return 7}}).a}),eP=Object.getOwnPropertyDescriptor,ej={f:C?eP:function(e,t){if(e=z(e),t=ek(t),e_)try{return eP(e,t)}catch(e){}if(eg(e,t))return F(!A(B.f,e,t),e[t])}},eI=/#|\.prototype\./,eN=function(e,t){var n=eL[eR(e)];return n==ez||n!=eM&&(S(t)?x(t):!!t)},eR=eN.normalize=function(e){return String(e).replace(eI,".").toLowerCase()},eL=eN.data={},eM=eN.NATIVE="N",ez=eN.POLYFILL="P",e$=D(D.bind),eH=function(e,t){return ea(e),void 0===t?e:e$?e$(e,t):function(){return e.apply(t,arguments)}},eU=d.String,eV=d.TypeError,eW=function(e){if($(e))return e;throw eV(eU(e)+" is not an object")},eq=d.TypeError,eG=Object.defineProperty,eK={f:C?eG:function(e,t,n){if(eW(e),t=ek(t),eW(n),e_)try{return eG(e,t,n)}catch(e){}if("get"in n||"set"in n)throw eq("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},eZ=C?function(e,t,n){return eK.f(e,t,F(1,n))}:function(e,t,n){return e[t]=n,e},eX=ej.f,eY=function(e){var t=function(n,r,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,o)}return y(e,this,arguments)};return t.prototype=e.prototype,t},eJ=function(e,t){var n,r,o,i,a,u,s,l,c=e.target,f=e.global,p=e.stat,h=e.proto,g=f?d:p?d[c]:(d[c]||{}).prototype,v=f?H:H[c]||eZ(H,c,{})[c],y=v.prototype;for(o in t)n=!eN(f?o:c+(p?".":"#")+o,e.forced)&&g&&eg(g,o),a=v[o],n&&(u=e.noTargetGet?(l=eX(g,o))&&l.value:g[o]),i=n&&u?u:t[o],n&&typeof a==typeof i||(s=e.bind&&n?eH(i,d):e.wrap&&n?eY(i):h&&S(i)?D(i):i,(e.sham||i&&i.sham||a&&a.sham)&&eZ(s,"sham",!0),eZ(v,o,s),h&&(eg(H,r=c+"Prototype")||eZ(H,r,{}),eZ(H[r],o,i),e.real&&y&&!y[o]&&eZ(y,o,i)))},eQ=ef("keys"),e0=function(e){return eQ[e]||(eQ[e]=eb(e))},e1=!x(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),e2=e0("IE_PROTO"),e4=d.Object,e3=e4.prototype,e6=e1?e4.getPrototypeOf:function(e){var t=ep(e);if(eg(t,e2))return t[e2];var n=t.constructor;return S(n)&&t instanceof n?n.prototype:t instanceof e4?e3:null},e5=d.String,e8=d.TypeError,e7=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=D(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return eW(n),function(e){if(!("object"==typeof e||S(e)))throw e8("Can't set "+e5(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),e9=Math.ceil,te=Math.floor,tt=function(e){var t=+e;return t!=t||0===t?0:(t>0?te:e9)(t)},tn=Math.max,tr=Math.min,to=function(e,t){var n=tt(e);return n<0?tn(n+t,0):tr(n,t)},ti=Math.min,ta=function(e){var t;return(t=e.length)>0?ti(tt(t),0x1fffffffffffff):0},tu=function(e){return function(t,n,r){var o,i=z(t),a=ta(i),u=to(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},ts={includes:tu(!0),indexOf:tu(!1)},tl={},tc=ts.indexOf,tf=D([].push),td=function(e,t){var n,r=z(e),o=0,i=[];for(n in r)!eg(tl,n)&&eg(r,n)&&tf(i,n);for(;t.length>o;)eg(r,n=t[o++])&&(~tc(i,n)||tf(i,n));return i},tp=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],th=tp.concat("length","prototype"),tg={f:Object.getOwnPropertyNames||function(e){return td(e,th)}},tv={f:Object.getOwnPropertySymbols},ty=D([].concat),tm=V("Reflect","ownKeys")||function(e){var t=tg.f(eW(e)),n=tv.f;return n?ty(t,n(e)):t},tb=Object.keys||function(e){return td(e,tp)},tw=C?Object.defineProperties:function(e,t){eW(e);for(var n,r=z(t),o=tb(t),i=o.length,a=0;i>a;)eK.f(e,n=o[a++],r[n]);return e},tE=V("document","documentElement"),tD=e0("IE_PROTO"),tS=function(){},tx=function(e){return"<script>"+e+"<\/script>"},tC=function(e){e.write(tx("")),e.close();var t=e.parentWindow.Object;return e=null,t},tO=function(){try{Y=new ActiveXObject("htmlfile")}catch(e){}tO="undefined"!=typeof document?document.domain&&Y?tC(Y):((t=eF("iframe")).style.display="none",tE.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(tx("document.F=Object")),e.close(),e.F):tC(Y);for(var e,t,n=tp.length;n--;)delete tO.prototype[tp[n]];return tO()};tl[tD]=!0;var tA=Object.create||function(e,t){var n;return null!==e?(tS.prototype=eW(e),n=new tS,tS.prototype=null,n[tD]=e):n=tO(),void 0===t?n:tw(n,t)},tk=function(e,t,n){var r=ek(t);r in e?eK.f(e,r,F(0,n)):e[r]=n},tT=d.Array,tB=Math.max,tF=function(e,t,n){for(var r=ta(e),o=to(t,r),i=to(void 0===n?r:n,r),a=tT(tB(i-o,0)),u=0;o<i;o++,u++)tk(a,u,e[o]);return a.length=u,a},t_=D("".replace),tP=D("".split),tj=D([].join),tI=String(Error("zxcasd").stack),tN=/\n\s*at [^:]*:[^\n]*/,tR=tN.test(tI),tL=/@[^\n]*\n/.test(tI)&&!/zxcasd/.test(tI),tM=function(e,t){if("string"!=typeof e)return e;if(tR)for(;t--;)e=t_(e,tN,"");else if(tL)return tj(tF(tP(e,"\n"),t),"\n");return e},tz=function(e,t){$(t)&&"cause"in t&&eZ(e,"cause",t.cause)},t$={},tH=ex("iterator"),tU=Array.prototype,tV={};tV[ex("toStringTag")]="z";var tW="[object z]"===String(tV),tq=ex("toStringTag"),tG=d.Object,tK="Arguments"==j(function(){return arguments}()),tZ=tW?j:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=tG(e),tq))?n:tK?j(t):"Object"==(r=j(t))&&S(t.callee)?"Arguments":r},tX=ex("iterator"),tY=function(e){if(null!=e)return eu(e,tX)||eu(e,"@@iterator")||t$[tZ(e)]},tJ=d.TypeError,tQ=function(e,t,n){var r,o;eW(e);try{if(!(r=eu(e,"return"))){if("throw"===t)throw n;return n}r=A(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return eW(r),n},t0=d.TypeError,t1=function(e,t){this.stopped=e,this.result=t},t2=t1.prototype,t4=function(e,t,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=eH(t,c),g=function(e){return r&&tQ(r,"normal",e),new t1(!0,e)},v=function(e){return f?(eW(e),p?h(e[0],e[1],g):h(e[0],e[1])):p?h(e,g):h(e)};if(d)r=e;else{if(!(o=tY(e)))throw t0(eo(e)+" is not iterable");if(void 0!==o&&(t$.Array===o||tU[tH]===o)){for(i=0,a=ta(e);a>i;i++)if((u=v(e[i]))&&W(t2,u))return u;return new t1(!1)}r=function(e,t){var n=arguments.length<2?tY(e):t;if(ea(n))return eW(A(n,e));throw tJ(eo(e)+" is not iterable")}(e,o)}for(s=r.next;!(l=A(s,r)).done;){try{u=v(l.value)}catch(e){tQ(r,"throw",e)}if("object"==typeof u&&u&&W(t2,u))return u}return new t1(!1)},t3=d.String,t6=function(e){if("Symbol"===tZ(e))throw TypeError("Cannot convert a Symbol value to a string");return t3(e)},t5=!x(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",F(1,7)),7!==e.stack)}),t8=ex("toStringTag"),t7=d.Error,t9=[].push,ne=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,o=W(nt,this);e7?n=e7(new t7(void 0),o?e6(this):nt):eZ(n=o?this:tA(nt),t8,"Error"),eZ(n,"message",function(e,t){return void 0===e?arguments.length<2?"":t:t6(e)}(t,"")),t5&&eZ(n,"stack",tM(n.stack,1)),tz(n,r);var i=[];return t4(e,t9,{that:i}),eZ(n,"errors",i),n};e7?e7(ne,t7):function(e,t){for(var n=tm(t),r=eK.f,o=ej.f,i=0;i<n.length;i++){var a=n[i];eg(e,a)||r(e,a,o(t,a))}}(ne,t7);var nt=ne.prototype=tA(t7.prototype,{constructor:F(1,ne),message:F(1,""),name:F(1,"AggregateError")});eJ({global:!0},{AggregateError:ne});var nn=D(Function.toString);S(ec.inspectSource)||(ec.inspectSource=function(e){return nn(e)});var nr,no,ni,na=ec.inspectSource,nu=d.WeakMap,ns=S(nu)&&/native code/.test(na(nu)),nl=d.TypeError,nc=d.WeakMap;if(ns||ec.state){var nf=ec.state||(ec.state=new nc),nd=D(nf.get),np=D(nf.has),nh=D(nf.set);nr=function(e,t){if(np(nf,e))throw new nl("Object already initialized");return t.facade=e,nh(nf,e,t),t},no=function(e){return nd(nf,e)||{}}}else{var ng=e0("state");tl[ng]=!0,nr=function(e,t){if(eg(e,ng))throw new nl("Object already initialized");return t.facade=e,eZ(e,ng,t),t},no=function(e){return eg(e,ng)?e[ng]:{}}}var nv,ny,nm,nb=nr,nw=function(e){return function(t){var n;if(!$(t)||(n=no(t)).type!==e)throw nl("Incompatible receiver, "+e+" required");return n}},nE=Function.prototype,nD=C&&Object.getOwnPropertyDescriptor,nS=eg(nE,"name"),nx={EXISTS:nS,PROPER:nS&&"something"===(function(){}).name,CONFIGURABLE:nS&&(!C||C&&nD(nE,"name").configurable)},nC=function(e,t,n,r){r&&r.enumerable?e[t]=n:eZ(e,t,n)},nO=ex("iterator"),nA=!1;[].keys&&("next"in(nm=[].keys())?(ny=e6(e6(nm)))!==Object.prototype&&(nv=ny):nA=!0),S((nv=null==nv||x(function(){var e={};return nv[nO].call(e)!==e})?{}:tA(nv))[nO])||nC(nv,nO,function(){return this});var nk=nv,nT=nA,nB=tW?({}).toString:function(){return"[object "+tZ(this)+"]"},nF=eK.f,n_=ex("toStringTag"),nP=function(e,t,n,r){if(e){var o=n?e:e.prototype;eg(o,n_)||nF(o,n_,{configurable:!0,value:t}),r&&!tW&&eZ(o,"toString",nB)}},nj=function(){return this},nI=nx.PROPER,nN=ex("iterator"),nR=function(){return this},nL=function(e,t,n,r,o,i,a){u=t+" Iterator",n.prototype=tA(nk,{next:F(1,r)}),nP(n,u,!1,!0),t$[u]=nj;var u,s,l,c,f=function(e){if(e===o&&v)return v;if(!nT&&e in h)return h[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,g=h[nN]||h["@@iterator"]||o&&h[o],v=!nT&&g||f(o),y="Array"==t&&h.entries||g;if(y&&(s=e6(y.call(new e)))!==Object.prototype&&s.next&&(nP(s,d,!0,!0),t$[d]=nR),nI&&"values"==o&&g&&"values"!==g.name&&(p=!0,v=function(){return A(g,this)}),o)if(l={values:f("values"),keys:i?v:f("keys"),entries:f("entries")},a)for(c in l)!nT&&!p&&c in h||nC(h,c,l[c]);else eJ({target:t,proto:!0,forced:nT||p},l);return a&&h[nN]!==v&&nC(h,nN,v,{name:o}),t$[t]=v,l},nM=nw("Array Iterator");nL(Array,"Array",function(e,t){nb(this,{type:"Array Iterator",target:z(e),index:0,kind:t})},function(){var e=nM(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values"),t$.Arguments=t$.Array;var nz=D("".charAt),n$=D("".charCodeAt),nH=D("".slice),nU=function(e){return function(t,n){var r,o,i=t6(M(t)),a=tt(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=n$(i,a))<55296||r>56319||a+1===u||(o=n$(i,a+1))<56320||o>57343?e?nz(i,a):r:e?nH(i,a,a+2):o-56320+(r-55296<<10)+65536}},nV={codeAt:nU(!1),charAt:nU(!0)}.charAt,nW=nw("String Iterator");nL(String,"String",function(e){nb(this,{type:"String Iterator",string:t6(e),index:0})},function(){var e,t=nW(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=nV(n,r),t.index+=e.length,{value:e,done:!1})});var nq=H.AggregateError,nG=ex("toStringTag");for(var nK in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var nZ=d[nK],nX=nZ&&nZ.prototype;nX&&tZ(nX)!==nG&&eZ(nX,nG,nK),t$[nK]=t$.Array}var nY,nJ,nQ=function(e){return e&&e.Math==Math&&e},n0=nQ("object"==typeof globalThis&&globalThis)||nQ("object"==typeof window&&window)||nQ("object"==typeof self&&self)||nQ("object"==typeof u&&u)||function(){return this}()||Function("return this")(),n1=function(e){try{return!!e()}catch(e){return!0}},n2=!n1(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),n4=Function.prototype.call,n3=n4.bind?n4.bind(n4):function(){return n4.apply(n4,arguments)},n6={}.propertyIsEnumerable,n5=Object.getOwnPropertyDescriptor,n8={f:n5&&!n6.call({1:2},1)?function(e){var t=n5(this,e);return!!t&&t.enumerable}:n6},n7=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},n9=Function.prototype,re=n9.bind,rt=n9.call,rn=re&&re.bind(rt),rr=re?function(e){return e&&rn(rt,e)}:function(e){return e&&function(){return rt.apply(e,arguments)}},ro=rr({}.toString),ri=rr("".slice),ra=function(e){return ri(ro(e),8,-1)},ru=n0.Object,rs=rr("".split),rl=n1(function(){return!ru("z").propertyIsEnumerable(0)})?function(e){return"String"==ra(e)?rs(e,""):ru(e)}:ru,rc=n0.TypeError,rf=function(e){if(null==e)throw rc("Can't call method on "+e);return e},rd=function(e){return rl(rf(e))},rp=function(e){return"function"==typeof e},rh=function(e){return"object"==typeof e?null!==e:rp(e)},rg=function(e,t){var n;return arguments.length<2?rp(n=n0[e])?n:void 0:n0[e]&&n0[e][t]},rv=rr({}.isPrototypeOf),ry=rg("navigator","userAgent")||"",rm=n0.process,rb=n0.Deno,rw=rm&&rm.versions||rb&&rb.version,rE=rw&&rw.v8;rE&&(nJ=(nY=rE.split("."))[0]>0&&nY[0]<4?1:+(nY[0]+nY[1])),!nJ&&ry&&(!(nY=ry.match(/Edge\/(\d+)/))||nY[1]>=74)&&(nY=ry.match(/Chrome\/(\d+)/))&&(nJ=+nY[1]);var rD=nJ,rS=!!Object.getOwnPropertySymbols&&!n1(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&rD&&rD<41}),rx=rS&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,rC=n0.Object,rO=rx?function(e){return"symbol"==typeof e}:function(e){var t=rg("Symbol");return rp(t)&&rv(t.prototype,rC(e))},rA=n0.String,rk=function(e){try{return rA(e)}catch(e){return"Object"}},rT=n0.TypeError,rB=function(e){if(rp(e))return e;throw rT(rk(e)+" is not a function")},rF=function(e,t){var n=e[t];return null==n?void 0:rB(n)},r_=n0.TypeError,rP=Object.defineProperty,rj=function(e,t){try{rP(n0,e,{value:t,configurable:!0,writable:!0})}catch(n){n0[e]=t}return t},rI=n0["__core-js_shared__"]||rj("__core-js_shared__",{}),rN=s(function(e){(e.exports=function(e,t){return rI[e]||(rI[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})}),rR=n0.Object,rL=function(e){return rR(rf(e))},rM=rr({}.hasOwnProperty),rz=Object.hasOwn||function(e,t){return rM(rL(e),t)},r$=0,rH=Math.random(),rU=rr(1..toString),rV=function(e){return"Symbol("+(void 0===e?"":e)+")_"+rU(++r$+rH,36)},rW=rN("wks"),rq=n0.Symbol,rG=rq&&rq.for,rK=rx?rq:rq&&rq.withoutSetter||rV,rZ=function(e){if(!rz(rW,e)||!rS&&"string"!=typeof rW[e]){var t="Symbol."+e;rS&&rz(rq,e)?rW[e]=rq[e]:rW[e]=rx&&rG?rG(t):rK(t)}return rW[e]},rX=n0.TypeError,rY=rZ("toPrimitive"),rJ=function(e,t){if(!rh(e)||rO(e))return e;var n,r=rF(e,rY);if(r){if(void 0===t&&(t="default"),!rh(n=n3(r,e,t))||rO(n))return n;throw rX("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&rp(n=e.toString)&&!rh(r=n3(n,e))||rp(n=e.valueOf)&&!rh(r=n3(n,e))||"string"!==t&&rp(n=e.toString)&&!rh(r=n3(n,e)))return r;throw r_("Can't convert object to primitive value")}(e,t)},rQ=function(e){var t=rJ(e,"string");return rO(t)?t:t+""},r0=n0.document,r1=rh(r0)&&rh(r0.createElement),r2=function(e){return r1?r0.createElement(e):{}},r4=!n2&&!n1(function(){return 7!=Object.defineProperty(r2("div"),"a",{get:function(){return 7}}).a}),r3=Object.getOwnPropertyDescriptor,r6=n2?r3:function(e,t){if(e=rd(e),t=rQ(t),r4)try{return r3(e,t)}catch(e){}if(rz(e,t))return n7(!n3(n8.f,e,t),e[t])},r5=n0.String,r8=n0.TypeError,r7=function(e){if(rh(e))return e;throw r8(r5(e)+" is not an object")},r9=n0.TypeError,oe=Object.defineProperty,ot={f:n2?oe:function(e,t,n){if(r7(e),t=rQ(t),r7(n),r4)try{return oe(e,t,n)}catch(e){}if("get"in n||"set"in n)throw r9("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},on=n2?function(e,t,n){return ot.f(e,t,n7(1,n))}:function(e,t,n){return e[t]=n,e},or=rr(Function.toString);rp(rI.inspectSource)||(rI.inspectSource=function(e){return or(e)});var oo,oi,oa,ou=rI.inspectSource,os=n0.WeakMap,ol=rp(os)&&/native code/.test(ou(os)),oc=rN("keys"),of=function(e){return oc[e]||(oc[e]=rV(e))},od={},op=n0.TypeError,oh=n0.WeakMap;if(ol||rI.state){var og=rI.state||(rI.state=new oh),ov=rr(og.get),oy=rr(og.has),om=rr(og.set);oo=function(e,t){if(oy(og,e))throw new op("Object already initialized");return t.facade=e,om(og,e,t),t},oi=function(e){return ov(og,e)||{}},oa=function(e){return oy(og,e)}}else{var ob=of("state");od[ob]=!0,oo=function(e,t){if(rz(e,ob))throw new op("Object already initialized");return t.facade=e,on(e,ob,t),t},oi=function(e){return rz(e,ob)?e[ob]:{}},oa=function(e){return rz(e,ob)}}var ow=oo,oE=oi,oD=function(e){return function(t){var n;if(!rh(t)||(n=oi(t)).type!==e)throw op("Incompatible receiver, "+e+" required");return n}},oS=Function.prototype,ox=n2&&Object.getOwnPropertyDescriptor,oC=rz(oS,"name"),oO={EXISTS:oC,PROPER:oC&&"something"===(function(){}).name,CONFIGURABLE:oC&&(!n2||n2&&ox(oS,"name").configurable)},oA=s(function(e){var t=oO.CONFIGURABLE,n=String(String).split("String");(e.exports=function(e,r,o,i){var a,u,s=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet,f=i&&void 0!==i.name?i.name:r;rp(o)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!rz(o,"name")||t&&o.name!==f)&&on(o,"name",f),(u=oa(a=o)?oi(a):oo(a,{})).source||(u.source=n.join("string"==typeof f?f:""))),e!==n0?(s?!c&&e[r]&&(l=!0):delete e[r],l?e[r]=o:on(e,r,o)):l?e[r]=o:rj(r,o)})(Function.prototype,"toString",function(){return rp(this)&&oE(this).source||ou(this)})}),ok=Math.ceil,oT=Math.floor,oB=function(e){var t=+e;return t!=t||0===t?0:(t>0?oT:ok)(t)},oF=Math.max,o_=Math.min,oP=function(e,t){var n=oB(e);return n<0?oF(n+t,0):o_(n,t)},oj=Math.min,oI=function(e){return e>0?oj(oB(e),0x1fffffffffffff):0},oN=function(e){return oI(e.length)},oR=function(e){return function(t,n,r){var o,i=rd(t),a=oN(i),u=oP(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},oL={includes:oR(!0),indexOf:oR(!1)}.indexOf,oM=rr([].push),oz=function(e,t){var n,r=rd(e),o=0,i=[];for(n in r)!rz(od,n)&&rz(r,n)&&oM(i,n);for(;t.length>o;)rz(r,n=t[o++])&&(~oL(i,n)||oM(i,n));return i},o$=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],oH=o$.concat("length","prototype"),oU={f:Object.getOwnPropertyNames||function(e){return oz(e,oH)}},oV={f:Object.getOwnPropertySymbols},oW=rr([].concat),oq=rg("Reflect","ownKeys")||function(e){var t=oU.f(r7(e)),n=oV.f;return n?oW(t,n(e)):t},oG=function(e,t){for(var n=oq(t),r=ot.f,o=0;o<n.length;o++){var i=n[o];rz(e,i)||r(e,i,r6(t,i))}},oK=/#|\.prototype\./,oZ=function(e,t){var n=oY[oX(e)];return n==oQ||n!=oJ&&(rp(t)?n1(t):!!t)},oX=oZ.normalize=function(e){return String(e).replace(oK,".").toLowerCase()},oY=oZ.data={},oJ=oZ.NATIVE="N",oQ=oZ.POLYFILL="P",o0=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?n0:l?n0[u]||rj(u,{}):(n0[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=r6(n,r))&&a.value:n[r],!oZ(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;oG(i,o)}(e.sham||o&&o.sham)&&on(i,"sham",!0),oA(n,r,i,e)}},o1={};o1[rZ("toStringTag")]="z";var o2,o4="[object z]"===String(o1),o3=rZ("toStringTag"),o6=n0.Object,o5="Arguments"==ra(function(){return arguments}()),o8=o4?ra:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=o6(e),o3))?n:o5?ra(t):"Object"==(r=ra(t))&&rp(t.callee)?"Arguments":r},o7=n0.String,o9=function(e){if("Symbol"===o8(e))throw TypeError("Cannot convert a Symbol value to a string");return o7(e)},ie=function(){var e=r7(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},it=n0.RegExp,ir=n1(function(){var e=it("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),io=(ir||n1(function(){return!it("a","y").sticky}),ir||n1(function(){var e=it("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),ii=Object.keys||function(e){return oz(e,o$)},ia=n2?Object.defineProperties:function(e,t){r7(e);for(var n,r=rd(t),o=ii(t),i=o.length,a=0;i>a;)ot.f(e,n=o[a++],r[n]);return e},iu=rg("document","documentElement"),is=of("IE_PROTO"),il=function(){},ic=function(e){return"<script>"+e+"<\/script>"},id=function(e){e.write(ic("")),e.close();var t=e.parentWindow.Object;return e=null,t},ip=function(){try{o2=new ActiveXObject("htmlfile")}catch(e){}ip="undefined"!=typeof document?document.domain&&o2?id(o2):((t=r2("iframe")).style.display="none",iu.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(ic("document.F=Object")),e.close(),e.F):id(o2);for(var e,t,n=o$.length;n--;)delete ip.prototype[o$[n]];return ip()};od[is]=!0;var ih,ig,iv=Object.create||function(e,t){var n;return null!==e?(il.prototype=r7(e),n=new il,il.prototype=null,n[is]=e):n=ip(),void 0===t?n:ia(n,t)},iy=n0.RegExp,im=n1(function(){var e=iy(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),ib=n0.RegExp,iw=n1(function(){var e=ib("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),iE=rN("native-string-replace",String.prototype.replace),iD=RegExp.prototype.exec,iS=iD,ix=rr("".charAt),iC=rr("".indexOf),iO=rr("".replace),iA=rr("".slice),ik=(ig=/b*/g,n3(iD,ih=/a/,"a"),n3(iD,ig,"a"),0!==ih.lastIndex||0!==ig.lastIndex),iT=void 0!==/()??/.exec("")[1];(ik||iT||io||im||iw)&&(iS=function(e){var t,n,r,o,i,a,u,s=oE(this),l=o9(e),c=s.raw;if(c)return c.lastIndex=this.lastIndex,t=n3(iS,c,l),this.lastIndex=c.lastIndex,t;var f=s.groups,d=io&&this.sticky,p=n3(ie,this),h=this.source,g=0,v=l;if(d&&(-1===iC(p=iO(p,"y",""),"g")&&(p+="g"),v=iA(l,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==ix(l,this.lastIndex-1))&&(h="(?: "+h+")",v=" "+v,g++),n=RegExp("^(?:"+h+")",p)),iT&&(n=RegExp("^"+h+"$(?!\\s)",p)),ik&&(r=this.lastIndex),o=n3(iD,d?n:this,v),d?o?(o.input=iA(o.input,g),o[0]=iA(o[0],g),o.index=this.lastIndex,this.lastIndex+=o[0].length):this.lastIndex=0:ik&&o&&(this.lastIndex=this.global?o.index+o[0].length:r),iT&&o&&o.length>1&&n3(iE,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)}),o&&f)for(o.groups=a=iv(null),i=0;i<f.length;i++)a[(u=f[i])[0]]=o[u[1]];return o});var iB=iS;o0({target:"RegExp",proto:!0,forced:/./.exec!==iB},{exec:iB});var iF=rZ("species"),i_=RegExp.prototype,iP=rr("".charAt),ij=rr("".charCodeAt),iI=rr("".slice),iN=function(e){return function(t,n){var r,o,i=o9(rf(t)),a=oB(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=ij(i,a))<55296||r>56319||a+1===u||(o=ij(i,a+1))<56320||o>57343?e?iP(i,a):r:e?iI(i,a,a+2):o-56320+(r-55296<<10)+65536}},iR={codeAt:iN(!1),charAt:iN(!0)},iL=iR.charAt,iM=n0.TypeError,iz=function(e,t){var n=e.exec;if(rp(n)){var r=n3(n,e,t);return null!==r&&r7(r),r}if("RegExp"===ra(e))return n3(iB,e,t);throw iM("RegExp#exec called on incompatible receiver")};!function(e,t,n,r){var o=rZ(e),i=!n1(function(){var t={};return t[o]=function(){return 7},7!=""[e](t)}),a=i&&!n1(function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[iF]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t});if(!i||!a){var u=rr(/./[o]),s=t(o,""[e],function(e,t,n,r,o){var a=rr(e),s=t.exec;return s===iB||s===i_.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}});oA(String.prototype,e,s[0]),oA(i_,o,s[1])}}("match",function(e,t,n){return[function(t){var n=rf(this),r=null==t?void 0:rF(t,e);return r?n3(r,t,n):new RegExp(t)[e](o9(n))},function(e){var r=r7(this),o=o9(e),i=n(t,r,o);if(i.done)return i.value;if(!r.global)return iz(r,o);var a=r.unicode;r.lastIndex=0;for(var u,s=[],l=0;null!==(u=iz(r,o));){var c,f=o9(u[0]);s[l]=f,""===f&&(c=oI(r.lastIndex),r.lastIndex=c+(a?iL(o,c).length:1)),l++}return 0===l?null:s}]}),o0({global:!0},{globalThis:n0});var i$=!n1(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),iH=of("IE_PROTO"),iU=n0.Object,iV=iU.prototype,iW=i$?iU.getPrototypeOf:function(e){var t=rL(e);if(rz(t,iH))return t[iH];var n=t.constructor;return rp(n)&&t instanceof n?n.prototype:t instanceof iU?iV:null},iq=n0.String,iG=n0.TypeError,iK=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=rr(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return r7(n),function(e){if(!("object"==typeof e||rp(e)))throw iG("Can't set "+iq(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),iZ=n0.Array,iX=Math.max,iY=rr("".replace),iJ=rr("".split),iQ=rr([].join),i0=String(Error("zxcasd").stack),i1=/\n\s*at [^:]*:[^\n]*/,i2=i1.test(i0),i4=/@[^\n]*\n/.test(i0)&&!/zxcasd/.test(i0),i3=function(e,t){if("string"!=typeof e)return e;if(i2)for(;t--;)e=iY(e,i1,"");else if(i4)return iQ(function(e,t,n){for(var r,o,i,a=oN(e),u=oP(t,a),s=oP(a,a),l=iZ(iX(s-u,0)),c=0;u<s;u++,c++)r=c,o=e[u],i=void 0,(i=rQ(r))in l?ot.f(l,i,n7(0,o)):l[i]=o;return l.length=c,l}(iJ(e,"\n"),t),"\n");return e},i6=function(e,t){rh(t)&&"cause"in t&&on(e,"cause",t.cause)},i5=rr(rr.bind),i8=function(e,t){return rB(e),void 0===t?e:i5?i5(e,t):function(){return e.apply(t,arguments)}},i7={},i9=rZ("iterator"),ae=Array.prototype,at=rZ("iterator"),an=function(e){if(null!=e)return rF(e,at)||rF(e,"@@iterator")||i7[o8(e)]},ar=n0.TypeError,ao=function(e,t,n){var r,o;r7(e);try{if(!(r=rF(e,"return"))){if("throw"===t)throw n;return n}r=n3(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return r7(r),n},ai=n0.TypeError,aa=function(e,t){this.stopped=e,this.result=t},au=aa.prototype,as=function(e,t,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=i8(t,c),g=function(e){return r&&ao(r,"normal",e),new aa(!0,e)},v=function(e){return f?(r7(e),p?h(e[0],e[1],g):h(e[0],e[1])):p?h(e,g):h(e)};if(d)r=e;else{if(!(o=an(e)))throw ai(rk(e)+" is not iterable");if(void 0!==o&&(i7.Array===o||ae[i9]===o)){for(i=0,a=oN(e);a>i;i++)if((u=v(e[i]))&&rv(au,u))return u;return new aa(!1)}r=function(e,t){var n=arguments.length<2?an(e):t;if(rB(n))return r7(n3(n,e));throw ar(rk(e)+" is not iterable")}(e,o)}for(s=r.next;!(l=n3(s,r)).done;){try{u=v(l.value)}catch(e){ao(r,"throw",e)}if("object"==typeof u&&u&&rv(au,u))return u}return new aa(!1)},al=!n1(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",n7(1,7)),7!==e.stack)}),ac=rZ("toStringTag"),af=n0.Error,ad=[].push,ap=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,o=rv(ah,this);iK?n=iK(new af(void 0),o?iW(this):ah):on(n=o?this:iv(ah),ac,"Error"),on(n,"message",function(e,t){return void 0===e?arguments.length<2?"":t:o9(e)}(t,"")),al&&on(n,"stack",i3(n.stack,1)),i6(n,r);var i=[];return as(e,ad,{that:i}),on(n,"errors",i),n};iK?iK(ap,af):oG(ap,af);var ah=ap.prototype=iv(af.prototype,{constructor:n7(1,ap),message:n7(1,""),name:n7(1,"AggregateError")});o0({global:!0},{AggregateError:ap});var ag=rZ("unscopables"),av=Array.prototype;null==av[ag]&&ot.f(av,ag,{configurable:!0,value:iv(null)});var ay,am,ab,aw=function(e){av[ag][e]=!0},aE=rZ("iterator"),aD=!1;[].keys&&("next"in(ab=[].keys())?(am=iW(iW(ab)))!==Object.prototype&&(ay=am):aD=!0),(null==ay||n1(function(){var e={};return ay[aE].call(e)!==e}))&&(ay={}),rp(ay[aE])||oA(ay,aE,function(){return this});var aS=ay,ax=aD,aC=ot.f,aO=rZ("toStringTag"),aA=function(e,t,n){e&&!rz(e=n?e:e.prototype,aO)&&aC(e,aO,{configurable:!0,value:t})},ak=function(){return this},aT=oO.PROPER,aB=oO.CONFIGURABLE,aF=rZ("iterator"),a_=function(){return this},aP=function(e,t,n,r,o,i,a){u=t+" Iterator",n.prototype=iv(aS,{next:n7(1,r)}),aA(n,u,!1),i7[u]=ak;var u,s,l,c,f=function(e){if(e===o&&g)return g;if(!ax&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=!1,p=e.prototype,h=p[aF]||p["@@iterator"]||o&&p[o],g=!ax&&h||f(o),v="Array"==t&&p.entries||h;if(v&&(s=iW(v.call(new e)))!==Object.prototype&&s.next&&(iW(s)!==aS&&(iK?iK(s,aS):rp(s[aF])||oA(s,aF,a_)),aA(s,t+" Iterator",!0)),aT&&"values"==o&&h&&"values"!==h.name&&(aB?on(p,"name","values"):(d=!0,g=function(){return n3(h,this)})),o)if(l={values:f("values"),keys:i?g:f("keys"),entries:f("entries")},a)for(c in l)!ax&&!d&&c in p||oA(p,c,l[c]);else o0({target:t,proto:!0,forced:ax||d},l);return p[aF]!==g&&oA(p,aF,g,{name:o}),i7[t]=g,l},aj=oD("Array Iterator"),aI=aP(Array,"Array",function(e,t){ow(this,{type:"Array Iterator",target:rd(e),index:0,kind:t})},function(){var e=aj(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");i7.Arguments=i7.Array,aw("keys"),aw("values"),aw("entries");var aN=iR.charAt,aR=oD("String Iterator");aP(String,"String",function(e){ow(this,{type:"String Iterator",string:o9(e),index:0})},function(){var e,t=aR(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=aN(n,r),t.index+=e.length,{value:e,done:!1})});var aL,aM={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},az=r2("span").classList,a$=az&&az.constructor&&az.constructor.prototype,aH=a$===Object.prototype?void 0:a$,aU=rZ("iterator"),aV=rZ("toStringTag"),aW=aI.values,aq=function(e,t){if(e){if(e[aU]!==aW)try{on(e,aU,aW)}catch(t){e[aU]=aW}if(e[aV]||on(e,aV,t),aM[t]){for(var n in aI)if(e[n]!==aI[n])try{on(e,n,aI[n])}catch(t){e[n]=aI[n]}}}};for(var aG in aM)aq(n0[aG]&&n0[aG].prototype,aG);function aK(){"undefined"==typeof globalThis&&(window.globalThis=window)}function aZ(){void 0===nq&&(window.AggregateError=function(e,t){var n=Error(t);return n.errors=e,n})}(aq(aH,"DOMTokenList"),void 0===n.g)?("ActiveXObject"in window&&console.error("抱歉,wangEditor V5+ 版本开始,不在支持 IE 浏览器\n Sorry, wangEditor V5+ versions do not support IE browser."),aK(),aZ()):n.g&&(null==(aL=n.g.navigator)?void 0:aL.userAgent.match("QQBrowser"))&&(aK(),aZ());var aX,aY=Array.isArray||function(e){return"Array"==j(e)},aJ=function(){},aQ=[],a0=V("Reflect","construct"),a1=/^\s*(?:class|function)\b/,a2=D(a1.exec),a4=!a1.exec(aJ),a3=function(e){if(!S(e))return!1;try{return a0(aJ,aQ,e),!0}catch(e){return!1}},a6=!a0||x(function(){var e;return a3(a3.call)||!a3(Object)||!a3(function(){e=!0})||e})?function(e){if(!S(e))return!1;switch(tZ(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return a4||!!a2(a1,na(e))}:a3,a5=ex("species"),a8=d.Array,a7=function(e,t){var n;return new(aY(e)&&(a6(n=e.constructor)&&(n===a8||aY(n.prototype))||$(n)&&null===(n=n[a5]))&&(n=void 0),void 0===n?a8:n)(0===t?0:t)},a9=ex("species"),ue=ex("isConcatSpreadable"),ut=d.TypeError,un=J>=51||!x(function(){var e=[];return e[ue]=!1,e.concat()[0]!==e}),ur=(aX="concat",J>=51||!x(function(){var e=[];return(e.constructor={})[a9]=function(){return{foo:1}},1!==e[aX](Boolean).foo})),uo=function(e){if(!$(e))return!1;var t=e[ue];return void 0!==t?!!t:aY(e)};eJ({target:"Array",proto:!0,forced:!un||!ur},{concat:function(e){var t,n,r,o,i,a=ep(this),u=a7(a,0),s=0;for(t=-1,r=arguments.length;t<r;t++)if(uo(i=-1===t?a:arguments[t])){if(s+(o=ta(i))>0x1fffffffffffff)throw ut("Maximum allowed index exceeded");for(n=0;n<o;n++,s++)n in i&&tk(u,s,i[n])}else{if(s>=0x1fffffffffffff)throw ut("Maximum allowed index exceeded");tk(u,s++,i)}return u.length=s,u}});var ui=tg.f,ua="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],uu={f:function(e){return ua&&"Window"==j(e)?function(e){try{return ui(e)}catch(e){return tF(ua)}}(e):ui(z(e))}},us=D([].slice),ul={f:ex},uc=eK.f,uf=function(e){var t=H.Symbol||(H.Symbol={});eg(t,e)||uc(t,e,{value:ul.f(e)})},ud=D([].push),up=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=ep(s),g=R(h),v=eH(l,c),y=ta(g),m=0,b=f||a7,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:ud(w,d)}else switch(e){case 4:return!1;case 7:ud(w,d)}return i?-1:r||o?o:w}},uh={forEach:up(0),map:up(1),filter:up(2),some:up(3),every:up(4),find:up(5),findIndex:up(6),filterReject:up(7)}.forEach,ug=e0("hidden"),uv=ex("toPrimitive"),uy=nw("Symbol"),um=Object.prototype,ub=d.Symbol,uw=ub&&ub.prototype,uE=d.TypeError,uD=d.QObject,uS=V("JSON","stringify"),ux=ej.f,uC=eK.f,uO=uu.f,uA=B.f,uk=D([].push),uT=ef("symbols"),uB=ef("op-symbols"),uF=ef("string-to-symbol-registry"),u_=ef("symbol-to-string-registry"),uP=ef("wks"),uj=!uD||!uD.prototype||!uD.prototype.findChild,uI=C&&x(function(){return 7!=tA(uC({},"a",{get:function(){return uC(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=ux(um,t);r&&delete um[t],uC(e,t,n),r&&e!==um&&uC(um,t,r)}:uC,uN=function(e,t){var n=uT[e]=tA(uw);return nb(n,{type:"Symbol",tag:e,description:t}),C||(n.description=t),n},uR=function(e,t,n){e===um&&uR(uB,t,n),eW(e);var r=ek(t);return eW(n),eg(uT,r)?(n.enumerable?(eg(e,ug)&&e[ug][r]&&(e[ug][r]=!1),n=tA(n,{enumerable:F(0,!1)})):(eg(e,ug)||uC(e,ug,F(1,{})),e[ug][r]=!0),uI(e,r,n)):uC(e,r,n)},uL=function(e,t){eW(e);var n=z(t);return uh(tb(n).concat(uH(n)),function(t){C&&!A(uM,n,t)||uR(e,t,n[t])}),e},uM=function(e){var t=ek(e),n=A(uA,this,t);return!(this===um&&eg(uT,t)&&!eg(uB,t))&&(!(n||!eg(this,t)||!eg(uT,t)||eg(this,ug)&&this[ug][t])||n)},uz=function(e,t){var n=z(e),r=ek(t);if(n!==um||!eg(uT,r)||eg(uB,r)){var o=ux(n,r);return!o||!eg(uT,r)||eg(n,ug)&&n[ug][r]||(o.enumerable=!0),o}},u$=function(e){var t=uO(z(e)),n=[];return uh(t,function(e){eg(uT,e)||eg(tl,e)||uk(n,e)}),n},uH=function(e){var t=e===um,n=uO(t?uB:z(e)),r=[];return uh(n,function(e){eg(uT,e)&&(!t||eg(um,e))&&uk(r,uT[e])}),r};if(Q||(nC(uw=(ub=function(){if(W(uw,this))throw uE("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?t6(arguments[0]):void 0,t=eb(e),n=function(e){this===um&&A(n,uB,e),eg(this,ug)&&eg(this[ug],t)&&(this[ug][t]=!1),uI(this,t,F(1,e))};return C&&uj&&uI(um,t,{configurable:!0,set:n}),uN(t,e)}).prototype,"toString",function(){return uy(this).tag}),nC(ub,"withoutSetter",function(e){return uN(eb(e),e)}),B.f=uM,eK.f=uR,ej.f=uz,tg.f=uu.f=u$,tv.f=uH,ul.f=function(e){return uN(ex(e),e)},C&&uC(uw,"description",{configurable:!0,get:function(){return uy(this).description}})),eJ({global:!0,wrap:!0,forced:!Q,sham:!Q},{Symbol:ub}),uh(tb(uP),function(e){uf(e)}),eJ({target:"Symbol",stat:!0,forced:!Q},{for:function(e){var t=t6(e);if(eg(uF,t))return uF[t];var n=ub(t);return uF[t]=n,u_[n]=t,n},keyFor:function(e){if(!en(e))throw uE(e+" is not a symbol");if(eg(u_,e))return u_[e]},useSetter:function(){uj=!0},useSimple:function(){uj=!1}}),eJ({target:"Object",stat:!0,forced:!Q,sham:!C},{create:function(e,t){return void 0===t?tA(e):uL(tA(e),t)},defineProperty:uR,defineProperties:uL,getOwnPropertyDescriptor:uz}),eJ({target:"Object",stat:!0,forced:!Q},{getOwnPropertyNames:u$,getOwnPropertySymbols:uH}),eJ({target:"Object",stat:!0,forced:x(function(){tv.f(1)})},{getOwnPropertySymbols:function(e){return tv.f(ep(e))}}),uS&&eJ({target:"JSON",stat:!0,forced:!Q||x(function(){var e=ub();return"[null]"!=uS([e])||"{}"!=uS({a:e})||"{}"!=uS(Object(e))})},{stringify:function(e,t,n){var r=us(arguments),o=t;if(($(t)||void 0!==e)&&!en(e))return aY(t)||(t=function(e,t){if(S(o)&&(t=A(o,this,e,t)),!en(t))return t}),r[1]=t,y(uS,null,r)}}),!uw[uv]){var uU=uw.valueOf;nC(uw,uv,function(e){return A(uU,this)})}nP(ub,"Symbol"),tl[ug]=!0,uf("asyncIterator"),uf("hasInstance"),uf("isConcatSpreadable"),uf("iterator"),uf("match"),uf("matchAll"),uf("replace"),uf("search"),uf("species"),uf("split"),uf("toPrimitive"),uf("toStringTag"),uf("unscopables"),nP(d.JSON,"JSON",!0);var uV=H.Symbol;uf("asyncDispose"),uf("dispose"),uf("matcher"),uf("metadata"),uf("observable"),uf("patternMatch"),uf("replaceAll");var uW=ul.f("iterator"),uq=(sy=s(function(e){function t(n){return"function"==typeof uV&&"symbol"==typeof uW?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"==typeof uV&&e.constructor===uV&&e!==uV.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0,t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}))&&sy.__esModule&&Object.prototype.hasOwnProperty.call(sy,"default")?sy.default:sy,uG=n1(function(){r6(1)});if(o0({target:"Object",stat:!0,forced:!n2||uG,sham:!n2},{getOwnPropertyDescriptor:function(e,t){return r6(rd(e),t)}}),"object"===(void 0===n.g?"undefined":uq(n.g))){var uK=Object.getOwnPropertyDescriptor(n.g,"window");n.g.window&&!uK.set||(n.g.window=n.g,n.g.requestAnimationFrame=function(){},n.g.navigator={userAgent:""},n.g.location={hostname:"0.0.0.0",port:0,protocol:"http:"},n.g.btoa=function(){},n.g.crypto={getRandomValues:function(e){return nodeCrypto.randomFillSync(e)}}),null!=n.g.document&&null==n.g.document.getElementsByTagName&&(n.g.document.getElementsByTagName=function(){return[]})}function uZ(e){return"[object Object]"===Object.prototype.toString.call(e)}function uX(e){var t,n;return!1!==uZ(e)&&(void 0===(t=e.constructor)||!1!==uZ(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}function uY(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map(function(e){return"'"+e+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function uJ(e){return!!e&&!!e[sO]}function uQ(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===sA}(e)||Array.isArray(e)||!!e[sC]||!!e.constructor[sC]||u3(e)||u6(e))}function u0(e,t,n){void 0===n&&(n=!1),0===u1(e)?(n?Object.keys:sk)(e).forEach(function(r){n&&"symbol"==typeof r||t(r,e[r],e)}):e.forEach(function(n,r){return t(r,n,e)})}function u1(e){var t=e[sO];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:u3(e)?2:3*!!u6(e)}function u2(e,t){return 2===u1(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function u4(e,t,n){var r=u1(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n}function u3(e){return sE&&e instanceof Map}function u6(e){return sD&&e instanceof Set}function u5(e){return e.o||e.t}function u8(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=sT(e);delete t[sO];for(var n=sk(t),r=0;r<n.length;r++){var o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function u7(e,t){return void 0===t&&(t=!1),se(e)||uJ(e)||!uQ(e)||(u1(e)>1&&(e.set=e.add=e.clear=e.delete=u9),Object.freeze(e),t&&u0(e,function(e,t){return u7(t,!0)},!0)),e}function u9(){uY(2)}function se(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function st(e){var t=sB[e];return t||uY(18,e),t}function sn(e,t){t&&(st("Patches"),e.u=[],e.s=[],e.v=t)}function sr(e){so(e),e.p.forEach(sa),e.p=null}function so(e){e===sb&&(sb=e.l)}function si(e){return sb={p:[],l:sb,h:e,m:!0,_:0}}function sa(e){var t=e[sO];0===t.i||1===t.i?t.j():t.O=!0}function su(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.g||st("ES5").S(t,e,r),r?(n[sO].P&&(sr(t),uY(4)),uQ(e)&&(e=ss(t,e),t.l||sc(t,e)),t.u&&st("Patches").M(n[sO],e,t.u,t.s)):e=ss(t,n,[]),sr(t),t.u&&t.v(t.u,t.s),e!==sx?e:void 0}function ss(e,t,n){if(se(t))return t;var r=t[sO];if(!r)return u0(t,function(o,i){return sl(e,r,t,o,i,n)},!0),t;if(r.A!==e)return t;if(!r.P)return sc(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=u8(r.k):r.o;u0(3===r.i?new Set(o):o,function(t,i){return sl(e,r,o,t,i,n)}),sc(e,o,!1),n&&e.u&&st("Patches").R(r,n,e.u,e.s)}return r.o}function sl(e,t,n,r,o,i){if(uJ(o)){var a=ss(e,o,i&&t&&3!==t.i&&!u2(t.D,r)?i.concat(r):void 0);if(u4(n,r,a),!uJ(a))return;e.m=!1}if(uQ(o)&&!se(o)){if(!e.h.F&&e._<1)return;ss(e,o),t&&t.A.l||sc(e,o)}}function sc(e,t,n){void 0===n&&(n=!1),e.h.F&&e.m&&u7(t,n)}function sf(e,t){var n=e[sO];return(n?u5(n):e)[t]}function sd(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function sp(e){e.P||(e.P=!0,e.l&&sp(e.l))}function sh(e){e.o||(e.o=u8(e.t))}function sg(e,t,n){var r,o,i,a,u,s,l,c=u3(t)?st("MapSet").N(t,n):u6(t)?st("MapSet").T(t,n):e.g?(i=o={i:+!!(r=Array.isArray(t)),A:n?n.A:sb,P:!1,I:!1,D:{},l:n,t:t,k:null,o:null,j:null,C:!1},a=sF,r&&(i=[o],a=s_),s=(u=Proxy.revocable(i,a)).revoke,o.k=l=u.proxy,o.j=s,l):st("ES5").J(t,n);return(n?n.A:sb).p.push(c),c}function sv(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return u8(e)}var sy,sm,sb,sw="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),sE="undefined"!=typeof Map,sD="undefined"!=typeof Set,sS="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,sx=sw?Symbol.for("immer-nothing"):((sm={})["immer-nothing"]=!0,sm),sC=sw?Symbol.for("immer-draftable"):"__$immer_draftable",sO=sw?Symbol.for("immer-state"):"__$immer_state",sA=""+Object.prototype.constructor,sk="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,sT=Object.getOwnPropertyDescriptors||function(e){var t={};return sk(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},sB={},sF={get:function(e,t){if(t===sO)return e;var n,r,o=u5(e);if(!u2(o,t))return(r=sd(o,t))?"value"in r?r.value:null==(n=r.get)?void 0:n.call(e.k):void 0;var i=o[t];return e.I||!uQ(i)?i:i===sf(e.t,t)?(sh(e),e.o[t]=sg(e.A.h,i,e)):i},has:function(e,t){return t in u5(e)},ownKeys:function(e){return Reflect.ownKeys(u5(e))},set:function(e,t,n){var r=sd(u5(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=sf(u5(e),t),i=null==o?void 0:o[sO];if(i&&i.t===n)return e.o[t]=n,e.D[t]=!1,!0;if((n===o?0!==n||1/n==1/o:n!=n&&o!=o)&&(void 0!==n||u2(e.t,t)))return!0;sh(e),sp(e)}return e.o[t]===n&&"number"!=typeof n&&(void 0!==n||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==sf(e.t,t)||t in e.t?(e.D[t]=!1,sh(e),sp(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=u5(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){uY(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){uY(12)}},s_={};u0(sF,function(e,t){s_[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),s_.deleteProperty=function(e,t){return sF.deleteProperty.call(this,e[0],t)},s_.set=function(e,t,n){return sF.set.call(this,e[0],t,n,e[0])};var sP=new(function(){function e(e){var t=this;this.g=sS,this.F=!0,this.produce=function(e,n,r){if("function"==typeof e&&"function"!=typeof n){var o,i=n;return n=e,function(e){var r=this;void 0===e&&(e=i);for(var o=arguments.length,a=Array(o>1?o-1:0),u=1;u<o;u++)a[u-1]=arguments[u];return t.produce(e,function(e){var t;return(t=n).call.apply(t,[r,e].concat(a))})}}if("function"!=typeof n&&uY(6),void 0!==r&&"function"!=typeof r&&uY(7),uQ(e)){var a=si(t),u=sg(t,e,void 0),s=!0;try{o=n(u),s=!1}finally{s?sr(a):so(a)}return"undefined"!=typeof Promise&&o instanceof Promise?o.then(function(e){return sn(a,r),su(e,a)},function(e){throw sr(a),e}):(sn(a,r),su(o,a))}if(!e||"object"!=typeof e){if((o=n(e))===sx)return;return void 0===o&&(o=e),t.F&&u7(o,!0),o}uY(21,e)},this.produceWithPatches=function(e,n){var r,o;return"function"==typeof e?function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.produceWithPatches(n,function(t){return e.apply(void 0,[t].concat(o))})}:[t.produce(e,n,function(e,t){r=e,o=t}),r,o]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){uQ(e)||uY(8),uJ(e)&&(uJ(t=e)||uY(22,t),e=function e(t){if(!uQ(t))return t;var n,r=t[sO],o=u1(t);if(r){if(!r.P&&(r.i<4||!st("ES5").K(r)))return r.t;r.I=!0,n=sv(t,o),r.I=!1}else n=sv(t,o);return u0(n,function(t,o){var i;r&&(i=r.t,(2===u1(i)?i.get(t):i[t])===o)||u4(n,t,e(o))}),3===o?new Set(n):n}(t));var t,n=si(this),r=sg(this,e,void 0);return r[sO].C=!0,so(n),r},t.finishDraft=function(e,t){var n=(e&&e[sO]).A;return sn(n,t),su(void 0,n)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!sS&&uY(20),this.g=e},t.applyPatches=function(e,t){for(n=t.length-1;n>=0;n--){var n,r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=st("Patches").$;return uJ(e)?o(e,t):this.produce(e,function(e){return o(e,t)})},e}()),sj=sP.produce;sP.produceWithPatches.bind(sP),sP.setAutoFreeze.bind(sP),sP.setUseProxies.bind(sP),sP.applyPatches.bind(sP);var sI=sP.createDraft.bind(sP),sN=sP.finishDraft.bind(sP);function sR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sL=new WeakMap,sM=new WeakMap,sz=new WeakMap,s$=new WeakMap,sH=new WeakMap,sU=new WeakMap;function sV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function sW(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sV(Object(n),!0).forEach(function(t){sR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sV(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var sq=()=>{var e={children:[],operations:[],selection:null,marks:null,isInline:()=>!1,isVoid:()=>!1,onChange:()=>{},apply:t=>{for(var n of ly.pathRefs(e))lA.transform(n,t);for(var r of ly.pointRefs(e))lF.transform(r,t);for(var o of ly.rangeRefs(e))lI.transform(o,t);var i=new Set,a=[],u=e=>{if(e){var t=e.join(",");i.has(t)||(i.add(t),a.push(e))}},s=sL.get(e)||[],l=sG(t);for(var c of s)u(lO.transform(c,t));for(var f of l)u(f);sL.set(e,a),l6.transform(e,t),e.operations.push(t),ly.normalize(e),"set_selection"===t.type&&(e.marks=null),sM.get(e)||(sM.set(e,!0),Promise.resolve().then(()=>{sM.set(e,!1),e.onChange(),e.operations=[]}))},addMark:(t,n)=>{var{selection:r}=e;if(r)if(lj.isExpanded(r))l6.setNodes(e,{[t]:n},{match:l$.isText,split:!0});else{var o=sW(sW({},ly.marks(e)||{}),{},{[t]:n});e.marks=o,sM.get(e)||e.onChange()}},deleteBackward:t=>{var{selection:n}=e;n&&lj.isCollapsed(n)&&l6.delete(e,{unit:t,reverse:!0})},deleteForward:t=>{var{selection:n}=e;n&&lj.isCollapsed(n)&&l6.delete(e,{unit:t})},deleteFragment:t=>{var{selection:n}=e;n&&lj.isExpanded(n)&&l6.delete(e,{reverse:"backward"===t})},getFragment:()=>{var{selection:t}=e;return t?lD.fragment(e,t):[]},insertBreak:()=>{l6.splitNodes(e,{always:!0})},insertFragment:t=>{l6.insertFragment(e,t)},insertNode:t=>{l6.insertNodes(e,t)},insertText:t=>{var{selection:n,marks:r}=e;if(n){if(r){var o=sW({text:t},r);l6.insertNodes(e,o)}else l6.insertText(e,t);e.marks=null}},normalizeNode:t=>{var[n,r]=t;if(!l$.isText(n))if(lf.isElement(n)&&0===n.children.length)l6.insertNodes(e,{text:""},{at:r.concat(0),voids:!0});else for(var o=!ly.isEditor(n)&&lf.isElement(n)&&(e.isInline(n)||0===n.children.length||l$.isText(n.children[0])||e.isInline(n.children[0])),i=0,a=0;a<n.children.length;a++,i++){var u=lD.get(e,r);if(!l$.isText(u)){var s=n.children[a],l=u.children[i-1],c=a===n.children.length-1;(l$.isText(s)||lf.isElement(s)&&e.isInline(s))!==o?(l6.removeNodes(e,{at:r.concat(i),voids:!0}),i--):lf.isElement(s)?e.isInline(s)&&(null!=l&&l$.isText(l)?c&&(l6.insertNodes(e,{text:""},{at:r.concat(i+1),voids:!0}),i++):(l6.insertNodes(e,{text:""},{at:r.concat(i),voids:!0}),i++)):null!=l&&l$.isText(l)&&(l$.equals(s,l,{loose:!0})?(l6.mergeNodes(e,{at:r.concat(i),voids:!0}),i--):""===l.text?(l6.removeNodes(e,{at:r.concat(i-1),voids:!0}),i--):""===s.text&&(l6.removeNodes(e,{at:r.concat(i),voids:!0}),i--))}}},removeMark:t=>{var{selection:n}=e;if(n)if(lj.isExpanded(n))l6.unsetNodes(e,t,{match:l$.isText,split:!0});else{var r=sW({},ly.marks(e)||{});delete r[t],e.marks=r,sM.get(e)||e.onChange()}}};return e},sG=e=>{switch(e.type){case"insert_text":case"remove_text":case"set_node":var{path:t}=e;return lO.levels(t);case"insert_node":var{node:n,path:r}=e;return[...lO.levels(r),...l$.isText(n)?[]:Array.from(lD.nodes(n),e=>{var[,t]=e;return r.concat(t)})];case"merge_node":var{path:o}=e;return[...lO.ancestors(o),lO.previous(o)];case"move_node":var{path:i,newPath:a}=e;if(lO.equals(i,a))return[];var u=[],s=[];for(var l of lO.ancestors(i)){var c=lO.transform(l,e);u.push(c)}for(var f of lO.ancestors(a)){var d=lO.transform(f,e);s.push(d)}var p=s[s.length-1],h=a[a.length-1];return[...u,...s,p.concat(h)];case"remove_node":var{path:g}=e;return[...lO.ancestors(g)];case"split_node":var{path:v}=e;return[...lO.levels(v),lO.next(v)];default:return[]}};function sK(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var sZ,sX=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!t,r=t?s2(e):e,o=sZ.None,i=sZ.None,a=0,u=null;for(var s of r){var l=s.codePointAt(0);if(!l)break;var c=lo(s,l);if([o,i]=n?[i,c]:[c,o],0!=(o&sZ.ZWJ)&&0!=(i&sZ.ExtPict)&&!lu(n?e.substring(0,a):e.substring(0,e.length-a))||0!=(o&sZ.RI)&&0!=(i&sZ.RI)&&!(u=null!==u?!u:!!n||ll(e.substring(0,e.length-a)))||o!==sZ.None&&i!==sZ.None&&function(e,t){return -1===li.findIndex(n=>0!=(e&n[0])&&0!=(t&n[1]))}(o,i))break;a+=s.length}return a||1},sY=/\s/,sJ=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,sQ=/['\u2018\u2019]/,s0=(e,t,n)=>{if(n){var r=e.length-t;return[e.slice(r,e.length),e.slice(0,r)]}return[e.slice(0,t),e.slice(t)]},s1=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(sY.test(t))return!1;if(sQ.test(t)){var o=sX(n,r),[i,a]=s0(n,o,r);if(e(i,a,r))return!0}return!sJ.test(t)},s2=function*(e){for(var t=e.length-1,n=0;n<e.length;n++){var r=e.charAt(t-n);if(s3(r.charCodeAt(0))){var o=e.charAt(t-n-1);if(s4(o.charCodeAt(0))){yield o+r,n++;continue}}yield r}},s4=e=>e>=55296&&e<=56319,s3=e=>e>=56320&&e<=57343;(l1=sZ||(sZ={}))[l1.None=0]="None",l1[l1.Extend=1]="Extend",l1[l1.ZWJ=2]="ZWJ",l1[l1.RI=4]="RI",l1[l1.Prepend=8]="Prepend",l1[l1.SpacingMark=16]="SpacingMark",l1[l1.L=32]="L",l1[l1.V=64]="V",l1[l1.T=128]="T",l1[l1.LV=256]="LV",l1[l1.LVT=512]="LVT",l1[l1.ExtPict=1024]="ExtPict",l1[l1.Any=2048]="Any";var s6=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,s5=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,s8=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,s7=/^[\u1100-\u115F\uA960-\uA97C]$/,s9=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,le=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,lt=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,ln=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,lr=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,lo=(e,t)=>{var n=sZ.Any;return -1!==e.search(s6)&&(n|=sZ.Extend),8205===t&&(n|=sZ.ZWJ),t>=127462&&t<=127487&&(n|=sZ.RI),-1!==e.search(s5)&&(n|=sZ.Prepend),-1!==e.search(s8)&&(n|=sZ.SpacingMark),-1!==e.search(s7)&&(n|=sZ.L),-1!==e.search(s9)&&(n|=sZ.V),-1!==e.search(le)&&(n|=sZ.T),-1!==e.search(lt)&&(n|=sZ.LV),-1!==e.search(ln)&&(n|=sZ.LVT),-1!==e.search(lr)&&(n|=sZ.ExtPict),n},li=[[sZ.L,sZ.L|sZ.V|sZ.LV|sZ.LVT],[sZ.LV|sZ.V,sZ.V|sZ.T],[sZ.LVT|sZ.T,sZ.T],[sZ.Any,sZ.Extend|sZ.ZWJ],[sZ.Any,sZ.SpacingMark],[sZ.Prepend,sZ.Any],[sZ.ZWJ,sZ.ExtPict],[sZ.RI,sZ.RI]],la=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,lu=e=>-1!==e.search(la),ls=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,ll=e=>{var t=e.match(ls);return null!==t&&t[0].length/2%2==1},lc=e=>uX(e)&&lD.isNodeList(e.children)&&!ly.isEditor(e),lf={isAncestor:e=>uX(e)&&lD.isNodeList(e.children),isElement:lc,isElementList:e=>Array.isArray(e)&&e.every(e=>lf.isElement(e)),isElementProps:e=>void 0!==e.children,isElementType:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"type";return lc(e)&&e[n]===t},matches(e,t){for(var n in t)if("children"!==n&&e[n]!==t[n])return!1;return!0}},ld=["text"],lp=["text"];function lh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lh(Object(n),!0).forEach(function(t){sR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lh(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var lv=new WeakMap,ly={above(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{voids:n=!1,mode:r="lowest",at:o=e.selection,match:i}=t;if(o){var a=ly.path(e,o);for(var[u,s]of ly.levels(e,{at:a,voids:n,match:i,reverse:"lowest"===r}))if(!l$.isText(u)&&!lO.equals(a,s))return[u,s]}},addMark(e,t,n){e.addMark(t,n)},after(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={anchor:ly.point(e,t,{edge:"end"}),focus:ly.end(e,[])},{distance:i=1}=r,a=0;for(var u of ly.positions(e,lg(lg({},r),{},{at:o}))){if(a>i)break;0!==a&&(n=u),a++}return n},before(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={anchor:ly.start(e,[]),focus:ly.point(e,t,{edge:"start"})},{distance:i=1}=r,a=0;for(var u of ly.positions(e,lg(lg({},r),{},{at:o,reverse:!0}))){if(a>i)break;0!==a&&(n=u),a++}return n},deleteBackward(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:n="character"}=t;e.deleteBackward(n)},deleteForward(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:n="character"}=t;e.deleteForward(n)},deleteFragment(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{direction:n="forward"}=t;e.deleteFragment(n)},edges:(e,t)=>[ly.start(e,t),ly.end(e,t)],end:(e,t)=>ly.point(e,t,{edge:"end"}),first(e,t){var n=ly.path(e,t,{edge:"start"});return ly.node(e,n)},fragment(e,t){var n=ly.range(e,t);return lD.fragment(e,n)},hasBlocks:(e,t)=>t.children.some(t=>ly.isBlock(e,t)),hasInlines:(e,t)=>t.children.some(t=>l$.isText(t)||ly.isInline(e,t)),hasTexts:(e,t)=>t.children.every(e=>l$.isText(e)),insertBreak(e){e.insertBreak()},insertFragment(e,t){e.insertFragment(t)},insertNode(e,t){e.insertNode(t)},insertText(e,t){e.insertText(t)},isBlock:(e,t)=>lf.isElement(t)&&!e.isInline(t),isEditor(e){if(!uX(e))return!1;var t=lv.get(e);if(void 0!==t)return t;var n="function"==typeof e.addMark&&"function"==typeof e.apply&&"function"==typeof e.deleteBackward&&"function"==typeof e.deleteForward&&"function"==typeof e.deleteFragment&&"function"==typeof e.insertBreak&&"function"==typeof e.insertFragment&&"function"==typeof e.insertNode&&"function"==typeof e.insertText&&"function"==typeof e.isInline&&"function"==typeof e.isVoid&&"function"==typeof e.normalizeNode&&"function"==typeof e.onChange&&"function"==typeof e.removeMark&&(null===e.marks||uX(e.marks))&&(null===e.selection||lj.isRange(e.selection))&&lD.isNodeList(e.children)&&lC.isOperationList(e.operations);return lv.set(e,n),n},isEnd(e,t,n){var r=ly.end(e,n);return lB.equals(t,r)},isEdge:(e,t,n)=>ly.isStart(e,t,n)||ly.isEnd(e,t,n),isEmpty(e,t){var{children:n}=t,[r]=n;return 0===n.length||1===n.length&&l$.isText(r)&&""===r.text&&!e.isVoid(t)},isInline:(e,t)=>lf.isElement(t)&&e.isInline(t),isNormalizing(e){var t=sz.get(e);return void 0===t||t},isStart(e,t,n){if(0!==t.offset)return!1;var r=ly.start(e,n);return lB.equals(t,r)},isVoid:(e,t)=>lf.isElement(t)&&e.isVoid(t),last(e,t){var n=ly.path(e,t,{edge:"end"});return ly.node(e,n)},leaf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=ly.path(e,t,n);return[lD.leaf(e,r),r]},*levels(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:n=e.selection,reverse:r=!1,voids:o=!1}=t,{match:i}=t;if(null==i&&(i=()=>!0),n){var a=[],u=ly.path(e,n);for(var[s,l]of lD.levels(e,u))if(i(s,l)&&(a.push([s,l]),!o&&ly.isVoid(e,s)))break;r&&a.reverse(),yield*a}},marks(e){var{marks:t,selection:n}=e;if(!n)return null;if(t)return t;if(lj.isExpanded(n)){var[r]=ly.nodes(e,{match:l$.isText});if(r){var[o]=r;return sK(o,ld)}return{}}var{anchor:i}=n,{path:a}=i,[u]=ly.leaf(e,a);if(0===i.offset){var s=ly.previous(e,{at:a,match:l$.isText}),l=ly.above(e,{match:t=>ly.isBlock(e,t)});if(s&&l){var[c,f]=s,[,d]=l;lO.isAncestor(d,f)&&(u=c)}}return sK(u,lp)},next(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(i){var a=ly.after(e,i,{voids:r});if(a){var[,u]=ly.last(e,[]),s=[a.path,u];if(lO.isPath(i)&&0===i.length)throw Error("Cannot get the next node from the root node!");if(null==o)if(lO.isPath(i)){var[l]=ly.parent(e,i);o=e=>l.children.includes(e)}else o=()=>!0;var[c]=ly.nodes(e,{at:s,match:o,mode:n,voids:r});return c}}},node(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=ly.path(e,t,n);return[lD.get(e,r),r]},*nodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:n=e.selection,mode:r="all",universal:o=!1,reverse:i=!1,voids:a=!1}=t,{match:u}=t;if(u||(u=()=>!0),n){if(lm.isSpan(n))c=n[0],f=n[1];else{var s=ly.path(e,n,{edge:"start"}),l=ly.path(e,n,{edge:"end"});c=i?l:s,f=i?s:l}var c,f,d,p=lD.nodes(e,{reverse:i,from:c,to:f,pass:t=>{var[n]=t;return!a&&ly.isVoid(e,n)}}),h=[];for(var[g,v]of p){var y=d&&0===lO.compare(v,d[1]);if("highest"!==r||!y){if(u(g,v))if("lowest"===r&&y)d=[g,v];else{var m="lowest"===r?d:[g,v];m&&(o?h.push(m):yield m),d=[g,v]}else if(o&&!y&&l$.isText(g))return}}"lowest"===r&&d&&(o?h.push(d):yield d),o&&(yield*h)}},normalize(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{force:n=!1}=t,r=e=>sL.get(e)||[];if(ly.isNormalizing(e)){if(n){var o=Array.from(lD.nodes(e),e=>{var[,t]=e;return t});sL.set(e,o)}0!==r(e).length&&ly.withoutNormalizing(e,()=>{for(var t of r(e))if(lD.has(e,t)){var n=ly.node(e,t),[o,i]=n;lf.isElement(o)&&0===o.children.length&&e.normalizeNode(n)}for(var a=42*r(e).length,u=0;0!==r(e).length;){if(u>a)throw Error("\n Could not completely normalize the editor after ".concat(a," iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state.\n "));var s=r(e).pop();if(lD.has(e,s)){var l=ly.node(e,s);e.normalizeNode(l)}u++}})}},parent(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=ly.path(e,t,n),o=lO.parent(r);return ly.node(e,o)},path(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{depth:r,edge:o}=n;if(lO.isPath(t)){if("start"===o){var[,i]=lD.first(e,t);t=i}else if("end"===o){var[,a]=lD.last(e,t);t=a}}return lj.isRange(t)&&(t="start"===o?lj.start(t):"end"===o?lj.end(t):lO.common(t.anchor.path,t.focus.path)),lB.isPoint(t)&&(t=t.path),null!=r&&(t=t.slice(0,r)),t},hasPath:(e,t)=>lD.has(e,t),pathRef(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return ly.pathRefs(e).delete(o),o.current=null,t}};return ly.pathRefs(e).add(o),o},pathRefs(e){var t=s$.get(e);return t||(t=new Set,s$.set(e,t)),t},point(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{edge:r="start"}=n;if(lO.isPath(t)){if("end"===r){var o,[,i]=lD.last(e,t);o=i}else{var[,a]=lD.first(e,t);o=a}var u=lD.get(e,o);if(!l$.isText(u))throw Error("Cannot get the ".concat(r," point in the node at path [").concat(t,"] because it has no ").concat(r," text node."));return{path:o,offset:"end"===r?u.text.length:0}}if(lj.isRange(t)){var[s,l]=lj.edges(t);return"start"===r?s:l}return t},pointRef(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return ly.pointRefs(e).delete(o),o.current=null,t}};return ly.pointRefs(e).add(o),o},pointRefs(e){var t=sH.get(e);return t||(t=new Set,sH.set(e,t)),t},*positions(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:n=e.selection,unit:r="offset",reverse:o=!1,voids:i=!1}=t;if(n){var a=ly.range(e,n),[u,s]=lj.edges(a),l=o?s:u,c=!1,f="",d=0,p=0,h=0;for(var[g,v]of ly.nodes(e,{at:n,reverse:o,voids:i})){if(lf.isElement(g)){if(!i&&e.isVoid(g)){yield ly.start(e,v);continue}if(e.isInline(g))continue;if(ly.hasInlines(e,g)){var y=lO.isAncestor(v,s.path)?s:ly.end(e,v),m=lO.isAncestor(v,u.path)?u:ly.start(e,v);f=ly.string(e,{anchor:m,focus:y},{voids:i}),c=!0}}if(l$.isText(g)){var b,w,E,D=lO.equals(v,l.path);for(D?(p=o?l.offset:g.text.length-l.offset,h=l.offset):(p=g.text.length,h=o?p:0),(D||c||"offset"===r)&&(yield{path:v,offset:h},c=!1);;){if(0===d){if(""===f)break;b=f,w=r,E=o,d="character"===w?sX(b,E):"word"===w?function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=0,r=!1;e.length>0;){var o=sX(e,t),[i,a]=s0(e,o,t);if(s1(i,a,t))r=!0,n+=o;else{if(r)break;n+=o}e=a}return n}(b,E):"line"===w||"block"===w?b.length:1,f=s0(f,d,o)[1]}if(h=o?h-d:h+d,(p-=d)<0){d=-p;break}d=0,yield{path:v,offset:h}}}}}},previous(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(i){var a=ly.before(e,i,{voids:r});if(a){var[,u]=ly.first(e,[]),s=[a.path,u];if(lO.isPath(i)&&0===i.length)throw Error("Cannot get the previous node from the root node!");if(null==o)if(lO.isPath(i)){var[l]=ly.parent(e,i);o=e=>l.children.includes(e)}else o=()=>!0;var[c]=ly.nodes(e,{reverse:!0,at:s,match:o,mode:n,voids:r});return c}}},range:(e,t,n)=>lj.isRange(t)&&!n?t:{anchor:ly.start(e,t),focus:ly.end(e,n||t)},rangeRef(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return ly.rangeRefs(e).delete(o),o.current=null,t}};return ly.rangeRefs(e).add(o),o},rangeRefs(e){var t=sU.get(e);return t||(t=new Set,sU.set(e,t)),t},removeMark(e,t){e.removeMark(t)},setNormalizing(e,t){sz.set(e,t)},start:(e,t)=>ly.point(e,t,{edge:"start"}),string(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=n,o=ly.range(e,t),[i,a]=lj.edges(o),u="";for(var[s,l]of ly.nodes(e,{at:o,match:l$.isText,voids:r})){var c=s.text;lO.equals(l,a.path)&&(c=c.slice(0,a.offset)),lO.equals(l,i.path)&&(c=c.slice(i.offset)),u+=c}return u},unhangRange(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=n,[o,i]=lj.edges(t);if(0!==o.offset||0!==i.offset||lj.isCollapsed(t))return t;var a=ly.above(e,{at:i,match:t=>ly.isBlock(e,t)}),u=a?a[1]:[],s={anchor:ly.start(e,[]),focus:i},l=!0;for(var[c,f]of ly.nodes(e,{at:s,match:l$.isText,reverse:!0,voids:r}))if(l)l=!1;else if(""!==c.text||lO.isBefore(f,u)){i={path:f,offset:c.text.length};break}return{anchor:o,focus:i}},void(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return ly.above(e,lg(lg({},t),{},{match:t=>ly.isVoid(e,t)}))},withoutNormalizing(e,t){var n=ly.isNormalizing(e);ly.setNormalizing(e,!1);try{t()}finally{ly.setNormalizing(e,n)}ly.normalize(e)}},lm={isSpan:e=>Array.isArray(e)&&2===e.length&&e.every(lO.isPath)},lb=["children"],lw=["text"],lE=new WeakMap,lD={ancestor(e,t){var n=lD.get(e,t);if(l$.isText(n))throw Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(n));return n},*ancestors(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of lO.ancestors(t,n)){var o=[lD.ancestor(e,r),r];yield o}},child(e,t){if(l$.isText(e))throw Error("Cannot get the child of a text node: ".concat(JSON.stringify(e)));var n=e.children[t];if(null==n)throw Error("Cannot get child at index `".concat(t,"` in node: ").concat(JSON.stringify(e)));return n},*children(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{reverse:r=!1}=n,o=lD.ancestor(e,t),{children:i}=o,a=r?i.length-1:0;r?a>=0:a<i.length;){var u=lD.child(o,a),s=t.concat(a);yield[u,s],a=r?a-1:a+1}},common(e,t,n){var r=lO.common(t,n);return[lD.get(e,r),r]},descendant(e,t){var n=lD.get(e,t);if(ly.isEditor(n))throw Error("Cannot get the descendant node at path [".concat(t,"] because it refers to the root editor node instead: ").concat(n));return n},*descendants(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of lD.nodes(e,t))0!==r.length&&(yield[n,r])},*elements(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of lD.nodes(e,t))lf.isElement(n)&&(yield[n,r])},extractProps:e=>lf.isAncestor(e)?sK(e,lb):sK(e,lw),first(e,t){for(var n=t.slice(),r=lD.get(e,n);r&&!l$.isText(r)&&0!==r.children.length;)r=r.children[0],n.push(0);return[r,n]},fragment(e,t){if(l$.isText(e))throw Error("Cannot get a fragment starting from a root text node: ".concat(JSON.stringify(e)));return sj({children:e.children},e=>{var[n,r]=lj.edges(t);for(var[,o]of lD.nodes(e,{reverse:!0,pass:e=>{var[,n]=e;return!lj.includes(t,n)}})){if(!lj.includes(t,o)){var i=lD.parent(e,o),a=o[o.length-1];i.children.splice(a,1)}if(lO.equals(o,r.path)){var u=lD.leaf(e,o);u.text=u.text.slice(0,r.offset)}if(lO.equals(o,n.path)){var s=lD.leaf(e,o);s.text=s.text.slice(n.offset)}}ly.isEditor(e)&&(e.selection=null)}).children},get(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(l$.isText(n)||!n.children[o])throw Error("Cannot find a descendant at path [".concat(t,"] in node: ").concat(JSON.stringify(e)));n=n.children[o]}return n},has(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(l$.isText(n)||!n.children[o])return!1;n=n.children[o]}return!0},isNode:e=>l$.isText(e)||lf.isElement(e)||ly.isEditor(e),isNodeList(e){if(!Array.isArray(e))return!1;var t=lE.get(e);if(void 0!==t)return t;var n=e.every(e=>lD.isNode(e));return lE.set(e,n),n},last(e,t){for(var n=t.slice(),r=lD.get(e,n);r&&!l$.isText(r)&&0!==r.children.length;){var o=r.children.length-1;r=r.children[o],n.push(o)}return[r,n]},leaf(e,t){var n=lD.get(e,t);if(!l$.isText(n))throw Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(n));return n},*levels(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of lO.levels(t,n)){var o=lD.get(e,r);yield[o,r]}},matches:(e,t)=>lf.isElement(e)&&lf.isElementProps(t)&&lf.matches(e,t)||l$.isText(e)&&l$.isTextProps(t)&&l$.matches(e,t),*nodes(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{pass:n,reverse:r=!1}=t,{from:o=[],to:i}=t,a=new Set,u=[],s=e;!i||!(r?lO.isBefore(u,i):lO.isAfter(u,i));)if(a.has(s)||(yield[s,u]),a.has(s)||l$.isText(s)||0===s.children.length||null!=n&&!1!==n([s,u])){if(0===u.length)break;if(!r){var l=lO.next(u);if(lD.has(e,l)){u=l,s=lD.get(e,u);continue}}r&&0!==u[u.length-1]?(u=lO.previous(u),s=lD.get(e,u)):(u=lO.parent(u),s=lD.get(e,u),a.add(s))}else{a.add(s);var c=r?s.children.length-1:0;lO.isAncestor(u,o)&&(c=o[u.length]),u=u.concat(c),s=lD.get(e,u)}},parent(e,t){var n=lO.parent(t),r=lD.get(e,n);if(l$.isText(r))throw Error("Cannot get the parent of path [".concat(t,"] because it does not exist in the root."));return r},string:e=>l$.isText(e)?e.text:e.children.map(lD.string).join(""),*texts(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of lD.nodes(e,t))l$.isText(n)&&(yield[n,r])}};function lS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lS(Object(n),!0).forEach(function(t){sR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lS(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var lC={isNodeOperation:e=>lC.isOperation(e)&&e.type.endsWith("_node"),isOperation(e){if(!uX(e))return!1;switch(e.type){case"insert_node":case"remove_node":return lO.isPath(e.path)&&lD.isNode(e.node);case"insert_text":case"remove_text":return"number"==typeof e.offset&&"string"==typeof e.text&&lO.isPath(e.path);case"merge_node":return"number"==typeof e.position&&lO.isPath(e.path)&&uX(e.properties);case"move_node":return lO.isPath(e.path)&&lO.isPath(e.newPath);case"set_node":return lO.isPath(e.path)&&uX(e.properties)&&uX(e.newProperties);case"set_selection":return null===e.properties&&lj.isRange(e.newProperties)||null===e.newProperties&&lj.isRange(e.properties)||uX(e.properties)&&uX(e.newProperties);case"split_node":return lO.isPath(e.path)&&"number"==typeof e.position&&uX(e.properties);default:return!1}},isOperationList:e=>Array.isArray(e)&&e.every(e=>lC.isOperation(e)),isSelectionOperation:e=>lC.isOperation(e)&&e.type.endsWith("_selection"),isTextOperation:e=>lC.isOperation(e)&&e.type.endsWith("_text"),inverse(e){switch(e.type){case"insert_node":return lx(lx({},e),{},{type:"remove_node"});case"insert_text":return lx(lx({},e),{},{type:"remove_text"});case"merge_node":return lx(lx({},e),{},{type:"split_node",path:lO.previous(e.path)});case"move_node":var{newPath:t,path:n}=e;if(lO.equals(t,n))return e;if(lO.isSibling(n,t))return lx(lx({},e),{},{path:t,newPath:n});var r=lO.transform(n,e),o=lO.transform(lO.next(n),e);return lx(lx({},e),{},{path:r,newPath:o});case"remove_node":return lx(lx({},e),{},{type:"insert_node"});case"remove_text":return lx(lx({},e),{},{type:"insert_text"});case"set_node":var{properties:i,newProperties:a}=e;return lx(lx({},e),{},{properties:a,newProperties:i});case"set_selection":var{properties:u,newProperties:s}=e;return lx(lx({},e),{},null==u?{properties:s,newProperties:null}:null==s?{properties:null,newProperties:u}:{properties:s,newProperties:u});case"split_node":return lx(lx({},e),{},{type:"merge_node",path:lO.next(e.path)})}}},lO={ancestors(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,r=lO.levels(e,t);return n?r.slice(1):r.slice(0,-1)},common(e,t){for(var n=[],r=0;r<e.length&&r<t.length;r++){var o=e[r];if(o!==t[r])break;n.push(o)}return n},compare(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++){if(e[r]<t[r])return -1;if(e[r]>t[r])return 1}return 0},endsAfter(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return lO.equals(r,o)&&i>a},endsAt(e,t){var n=e.length,r=e.slice(0,n),o=t.slice(0,n);return lO.equals(r,o)},endsBefore(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return lO.equals(r,o)&&i<a},equals:(e,t)=>e.length===t.length&&e.every((e,n)=>e===t[n]),hasPrevious:e=>e[e.length-1]>0,isAfter:(e,t)=>1===lO.compare(e,t),isAncestor:(e,t)=>e.length<t.length&&0===lO.compare(e,t),isBefore:(e,t)=>-1===lO.compare(e,t),isChild:(e,t)=>e.length===t.length+1&&0===lO.compare(e,t),isCommon:(e,t)=>e.length<=t.length&&0===lO.compare(e,t),isDescendant:(e,t)=>e.length>t.length&&0===lO.compare(e,t),isParent:(e,t)=>e.length+1===t.length&&0===lO.compare(e,t),isPath:e=>Array.isArray(e)&&(0===e.length||"number"==typeof e[0]),isSibling(e,t){if(e.length!==t.length)return!1;var n=e.slice(0,-1),r=t.slice(0,-1);return e[e.length-1]!==t[t.length-1]&&lO.equals(n,r)},levels(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,r=[],o=0;o<=e.length;o++)r.push(e.slice(0,o));return n&&r.reverse(),r},next(e){if(0===e.length)throw Error("Cannot get the next path of a root path [".concat(e,"], because it has no next index."));var t=e[e.length-1];return e.slice(0,-1).concat(t+1)},parent(e){if(0===e.length)throw Error("Cannot get the parent path of the root path [".concat(e,"]."));return e.slice(0,-1)},previous(e){if(0===e.length)throw Error("Cannot get the previous path of a root path [".concat(e,"], because it has no previous index."));var t=e[e.length-1];if(t<=0)throw Error("Cannot get the previous path of a first child path [".concat(e,"] because it would result in a negative index."));return e.slice(0,-1).concat(t-1)},relative(e,t){if(!lO.isAncestor(t,e)&&!lO.equals(e,t))throw Error("Cannot get the relative path of [".concat(e,"] inside ancestor [").concat(t,"], because it is not above or equal to the path."));return e.slice(t.length)},transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return sj(e,r=>{var{affinity:o="forward"}=n;if(e&&0!==(null==e?void 0:e.length)){if(null===r)return null;switch(t.type){case"insert_node":var{path:i}=t;(lO.equals(i,r)||lO.endsBefore(i,r)||lO.isAncestor(i,r))&&(r[i.length-1]+=1);break;case"remove_node":var{path:a}=t;if(lO.equals(a,r)||lO.isAncestor(a,r))return null;lO.endsBefore(a,r)&&(r[a.length-1]-=1);break;case"merge_node":var{path:u,position:s}=t;lO.equals(u,r)||lO.endsBefore(u,r)?r[u.length-1]-=1:lO.isAncestor(u,r)&&(r[u.length-1]-=1,r[u.length]+=s);break;case"split_node":var{path:l,position:c}=t;if(lO.equals(l,r)){if("forward"===o)r[r.length-1]+=1;else if("backward"!==o)return null}else lO.endsBefore(l,r)?r[l.length-1]+=1:lO.isAncestor(l,r)&&e[l.length]>=c&&(r[l.length-1]+=1,r[l.length]-=c);break;case"move_node":var{path:f,newPath:d}=t;if(lO.equals(f,d))return;if(lO.isAncestor(f,r)||lO.equals(f,r)){var p=d.slice();return lO.endsBefore(f,d)&&f.length<d.length&&(p[f.length-1]-=1),p.concat(r.slice(f.length))}lO.isSibling(f,d)&&(lO.isAncestor(d,r)||lO.equals(d,r))?lO.endsBefore(f,r)?r[f.length-1]-=1:r[f.length-1]+=1:lO.endsBefore(d,r)||lO.equals(d,r)||lO.isAncestor(d,r)?(lO.endsBefore(f,r)&&(r[f.length-1]-=1),r[d.length-1]+=1):lO.endsBefore(f,r)&&(lO.equals(d,r)&&(r[d.length-1]+=1),r[f.length-1]-=1)}}})}},lA={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=lO.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}};function lk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lT(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lk(Object(n),!0).forEach(function(t){sR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lk(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var lB={compare(e,t){var n=lO.compare(e.path,t.path);return 0===n?e.offset<t.offset?-1:+(e.offset>t.offset):n},isAfter:(e,t)=>1===lB.compare(e,t),isBefore:(e,t)=>-1===lB.compare(e,t),equals:(e,t)=>e.offset===t.offset&&lO.equals(e.path,t.path),isPoint:e=>uX(e)&&"number"==typeof e.offset&&lO.isPath(e.path),transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return sj(e,e=>{if(null===e)return null;var{affinity:r="forward"}=n,{path:o,offset:i}=e;switch(t.type){case"insert_node":case"move_node":e.path=lO.transform(o,t,n);break;case"insert_text":lO.equals(t.path,o)&&t.offset<=i&&(e.offset+=t.text.length);break;case"merge_node":lO.equals(t.path,o)&&(e.offset+=t.position),e.path=lO.transform(o,t,n);break;case"remove_text":lO.equals(t.path,o)&&t.offset<=i&&(e.offset-=Math.min(i-t.offset,t.text.length));break;case"remove_node":if(lO.equals(t.path,o)||lO.isAncestor(t.path,o))return null;e.path=lO.transform(o,t,n);break;case"split_node":if(lO.equals(t.path,o)){if(t.position===i&&null==r)return null;(t.position<i||t.position===i&&"forward"===r)&&(e.offset-=t.position,e.path=lO.transform(o,t,lT(lT({},n),{},{affinity:"forward"})))}else e.path=lO.transform(o,t,n)}})}},lF={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=lB.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}},l_=["anchor","focus"];function lP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}var lj={edges(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,{anchor:r,focus:o}=e;return lj.isBackward(e)===n?[r,o]:[o,r]},end(e){var[,t]=lj.edges(e);return t},equals:(e,t)=>lB.equals(e.anchor,t.anchor)&&lB.equals(e.focus,t.focus),includes(e,t){if(lj.isRange(t)){if(lj.includes(e,t.anchor)||lj.includes(e,t.focus))return!0;var[n,r]=lj.edges(e),[o,i]=lj.edges(t);return lB.isBefore(n,o)&&lB.isAfter(r,i)}var[a,u]=lj.edges(e),s=!1,l=!1;return lB.isPoint(t)?(s=lB.compare(t,a)>=0,l=0>=lB.compare(t,u)):(s=lO.compare(t,a.path)>=0,l=0>=lO.compare(t,u.path)),s&&l},intersection(e,t){var n=sK(e,l_),[r,o]=lj.edges(e),[i,a]=lj.edges(t),u=lB.isBefore(r,i)?i:r,s=lB.isBefore(o,a)?o:a;return lB.isBefore(s,u)?null:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lP(Object(n),!0).forEach(function(t){sR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lP(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({anchor:u,focus:s},n)},isBackward(e){var{anchor:t,focus:n}=e;return lB.isAfter(t,n)},isCollapsed(e){var{anchor:t,focus:n}=e;return lB.equals(t,n)},isExpanded:e=>!lj.isCollapsed(e),isForward:e=>!lj.isBackward(e),isRange:e=>uX(e)&&lB.isPoint(e.anchor)&&lB.isPoint(e.focus),*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=lj.edges(e);return t},transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return sj(e,e=>{if(null===e)return null;var r,o,{affinity:i="inward"}=n;if("inward"===i){var a=lj.isCollapsed(e);lj.isForward(e)?(r="forward",o=a?r:"backward"):(r="backward",o=a?r:"forward")}else"outward"===i?lj.isForward(e)?(r="backward",o="forward"):(r="forward",o="backward"):(r=i,o=i);var u=lB.transform(e.anchor,t,{affinity:r}),s=lB.transform(e.focus,t,{affinity:o});if(!u||!s)return null;e.anchor=u,e.focus=s})}},lI={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=lj.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}},lN=(e,t)=>{for(var n in e){var r=e[n],o=t[n];if(uX(r)&&uX(o)){if(!lN(r,o))return!1}else if(Array.isArray(r)&&Array.isArray(o)){if(r.length!==o.length)return!1;for(var i=0;i<r.length;i++)if(r[i]!==o[i])return!1}else if(r!==o)return!1}for(var a in t)if(void 0===e[a]&&void 0!==t[a])return!1;return!0},lR=["text"],lL=["anchor","focus"];function lM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lz(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lM(Object(n),!0).forEach(function(t){sR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lM(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var l$={equals(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{loose:r=!1}=n;return lN(r?sK(e,lR):e,r?sK(t,lR):t)},isText:e=>uX(e)&&"string"==typeof e.text,isTextList:e=>Array.isArray(e)&&e.every(e=>l$.isText(e)),isTextProps:e=>void 0!==e.text,matches(e,t){for(var n in t)if("text"!==n&&(!e.hasOwnProperty(n)||e[n]!==t[n]))return!1;return!0},decorations(e,t){var n=[lz({},e)];for(var r of t){var o=sK(r,lL),[i,a]=lj.edges(r),u=[],s=0;for(var l of n){var{length:c}=l.text,f=s;if(s+=c,i.offset<=f&&a.offset>=s)Object.assign(l,o),u.push(l);else if(i.offset!==a.offset&&(i.offset===s||a.offset===f)||i.offset>s||a.offset<f||a.offset===f&&0!==f)u.push(l);else{var d=l,p=void 0,h=void 0;if(a.offset<s){var g=a.offset-f;h=lz(lz({},d),{},{text:d.text.slice(g)}),d=lz(lz({},d),{},{text:d.text.slice(0,g)})}if(i.offset>f){var v=i.offset-f;p=lz(lz({},d),{},{text:d.text.slice(0,v)}),d=lz(lz({},d),{},{text:d.text.slice(v)})}Object.assign(d,o),p&&u.push(p),u.push(d),h&&u.push(h)}}n=u}return n}};function lH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lU(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lH(Object(n),!0).forEach(function(t){sR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lH(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var lV=["text"],lW=["children"];function lq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lG(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lq(Object(n),!0).forEach(function(t){sR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lq(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var lK=(e,t)=>lf.isElement(t)?!!ly.isVoid(e,t)||1===t.children.length&&lK(e,t.children[0]):!ly.isEditor(t),lZ=(e,t)=>{if(lj.isCollapsed(t))return t.anchor;var[,n]=lj.edges(t),r=ly.pointRef(e,n);return l6.delete(e,{at:t}),r.unref()},lX=(e,t)=>{var[n]=ly.node(e,t);return e=>e===n};function lY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lJ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lY(Object(n),!0).forEach(function(t){sR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lY(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function lQ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l0(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lQ(Object(n),!0).forEach(function(t){sR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lQ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var l1,l2,l4,l3,l6=l0(l0(l0(l0({},{transform(e,t){e.children=sI(e.children);var n=e.selection&&sI(e.selection);try{n=((e,t,n)=>{switch(n.type){case"insert_node":var{path:r,node:o}=n,i=lD.parent(e,r),a=r[r.length-1];if(a>i.children.length)throw Error('Cannot apply an "insert_node" operation at path ['.concat(r,"] because the destination is past the end of the node."));if(i.children.splice(a,0,o),t)for(var[u,s]of lj.points(t))t[s]=lB.transform(u,n);break;case"insert_text":var{path:l,offset:c,text:f}=n;if(0===f.length)break;var d=lD.leaf(e,l),p=d.text.slice(0,c),h=d.text.slice(c);if(d.text=p+f+h,t)for(var[g,v]of lj.points(t))t[v]=lB.transform(g,n);break;case"merge_node":var{path:y}=n,m=lD.get(e,y),b=lO.previous(y),w=lD.get(e,b),E=lD.parent(e,y),D=y[y.length-1];if(l$.isText(m)&&l$.isText(w))w.text+=m.text;else{if(l$.isText(m)||l$.isText(w))throw Error('Cannot apply a "merge_node" operation at path ['.concat(y,"] to nodes of different interfaces: ").concat(m," ").concat(w));w.children.push(...m.children)}if(E.children.splice(D,1),t)for(var[S,x]of lj.points(t))t[x]=lB.transform(S,n);break;case"move_node":var{path:C,newPath:O}=n;if(lO.isAncestor(C,O))throw Error("Cannot move a path [".concat(C,"] to new path [").concat(O,"] because the destination is inside itself."));var A=lD.get(e,C),k=lD.parent(e,C),T=C[C.length-1];k.children.splice(T,1);var B=lO.transform(C,n),F=lD.get(e,lO.parent(B)),_=B[B.length-1];if(F.children.splice(_,0,A),t)for(var[P,j]of lj.points(t))t[j]=lB.transform(P,n);break;case"remove_node":var{path:I}=n,N=I[I.length-1];if(lD.parent(e,I).children.splice(N,1),t)for(var[R,L]of lj.points(t)){var M=lB.transform(R,n);if(null!=t&&null!=M)t[L]=M;else{var z=void 0,$=void 0;for(var[H,U]of lD.texts(e)){if(-1!==lO.compare(U,I)){$=[H,U];break}z=[H,U]}var V=!1;z&&$&&(V=lO.equals($[1],I)?!lO.hasPrevious($[1]):lO.common(z[1],I).length<lO.common($[1],I).length),z&&!V?(R.path=z[1],R.offset=z[0].text.length):$?(R.path=$[1],R.offset=0):t=null}}break;case"remove_text":var{path:W,offset:q,text:G}=n;if(0===G.length)break;var K=lD.leaf(e,W),Z=K.text.slice(0,q),X=K.text.slice(q+G.length);if(K.text=Z+X,t)for(var[Y,J]of lj.points(t))t[J]=lB.transform(Y,n);break;case"set_node":var{path:Q,properties:ee,newProperties:et}=n;if(0===Q.length)throw Error("Cannot set properties on the root node!");var en=lD.get(e,Q);for(var er in et){if("children"===er||"text"===er)throw Error('Cannot set the "'.concat(er,'" property of nodes!'));var eo=et[er];null==eo?delete en[er]:en[er]=eo}for(var ei in ee)et.hasOwnProperty(ei)||delete en[ei];break;case"set_selection":var{newProperties:ea}=n;if(null==ea)t=ea;else{if(null==t){if(!lj.isRange(ea))throw Error('Cannot apply an incomplete "set_selection" operation properties '.concat(JSON.stringify(ea)," when there is no current selection."));t=lU({},ea)}for(var eu in ea){var es=ea[eu];if(null==es){if("anchor"===eu||"focus"===eu)throw Error('Cannot remove the "'.concat(eu,'" selection property'));delete t[eu]}else t[eu]=es}}break;case"split_node":var{path:el,position:ec,properties:ef}=n;if(0===el.length)throw Error('Cannot apply a "split_node" operation at path ['.concat(el,"] because the root node cannot be split."));var ed,ep=lD.get(e,el),eh=lD.parent(e,el),eg=el[el.length-1];if(l$.isText(ep)){var ev=ep.text.slice(0,ec),ey=ep.text.slice(ec);ep.text=ev,ed=lU(lU({},ef),{},{text:ey})}else{var em=ep.children.slice(0,ec),eb=ep.children.slice(ec);ep.children=em,ed=lU(lU({},ef),{},{children:eb})}if(eh.children.splice(eg+1,0,ed),t)for(var[ew,eE]of lj.points(t))t[eE]=lB.transform(ew,n)}return t})(e,n,t)}finally{e.children=sN(e.children),e.selection=n?uJ(n)?sN(n):n:null}}}),{insertNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ly.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:o=!1,mode:i="lowest"}=n,{at:a,match:u,select:s}=n;if(lD.isNode(t)&&(t=[t]),0!==t.length){var[l]=t;if(a||(a=e.selection?e.selection:e.children.length>0?ly.end(e,[]):[0],s=!0),null==s&&(s=!1),lj.isRange(a))if(r||(a=ly.unhangRange(e,a)),lj.isCollapsed(a))a=a.anchor;else{var[,c]=lj.edges(a),f=ly.pointRef(e,c);l6.delete(e,{at:a}),a=f.unref()}if(lB.isPoint(a)){null==u&&(u=l$.isText(l)?e=>l$.isText(e):e.isInline(l)?t=>l$.isText(t)||ly.isInline(e,t):t=>ly.isBlock(e,t));var[d]=ly.nodes(e,{at:a.path,match:u,mode:i,voids:o});if(!d)return;var[,p]=d,h=ly.pathRef(e,p),g=ly.isEnd(e,a,p);l6.splitNodes(e,{at:a,match:u,mode:i,voids:o});var v=h.unref();a=g?lO.next(v):v}var y=lO.parent(a),m=a[a.length-1];if(o||!ly.void(e,{at:y})){for(var b of t){var w=y.concat(m);m++,e.apply({type:"insert_node",path:w,node:b}),a=lO.next(a)}if(a=lO.previous(a),s){var E=ly.end(e,a);E&&l6.select(e,E)}}}})},liftNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ly.withoutNormalizing(e,()=>{var{at:n=e.selection,mode:r="lowest",voids:o=!1}=t,{match:i}=t;if(null==i&&(i=lO.isPath(n)?lX(e,n):t=>ly.isBlock(e,t)),n)for(var a of Array.from(ly.nodes(e,{at:n,match:i,mode:r,voids:o}),t=>{var[,n]=t;return ly.pathRef(e,n)})){var u=a.unref();if(u.length<2)throw Error("Cannot lift node at a path [".concat(u,"] because it has a depth of less than `2`."));var[s,l]=ly.node(e,lO.parent(u)),c=u[u.length-1],{length:f}=s.children;if(1===f){var d=lO.next(l);l6.moveNodes(e,{at:u,to:d,voids:o}),l6.removeNodes(e,{at:l,voids:o})}else if(0===c)l6.moveNodes(e,{at:u,to:l,voids:o});else if(c===f-1){var p=lO.next(l);l6.moveNodes(e,{at:u,to:p,voids:o})}else{var h=lO.next(u),g=lO.next(l);l6.splitNodes(e,{at:h,voids:o}),l6.moveNodes(e,{at:u,to:g,voids:o})}}})},mergeNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ly.withoutNormalizing(e,()=>{var{match:n,at:r=e.selection}=t,{hanging:o=!1,voids:i=!1,mode:a="lowest"}=t;if(r){if(null==n)if(lO.isPath(r)){var[u]=ly.parent(e,r);n=e=>u.children.includes(e)}else n=t=>ly.isBlock(e,t);if(!o&&lj.isRange(r)&&(r=ly.unhangRange(e,r)),lj.isRange(r))if(lj.isCollapsed(r))r=r.anchor;else{var[,s]=lj.edges(r),l=ly.pointRef(e,s);l6.delete(e,{at:r}),r=l.unref(),null==t.at&&l6.select(e,r)}var[c]=ly.nodes(e,{at:r,match:n,voids:i,mode:a}),f=ly.previous(e,{at:r,match:n,voids:i,mode:a});if(c&&f){var[d,p]=c,[h,g]=f;if(0!==p.length&&0!==g.length){var v,y,m=lO.next(g),b=lO.common(p,g),w=lO.isSibling(p,g),E=Array.from(ly.levels(e,{at:p}),e=>{var[t]=e;return t}).slice(b.length).slice(0,-1),D=ly.above(e,{at:p,mode:"highest",match:t=>E.includes(t)&&lK(e,t)}),S=D&&ly.pathRef(e,D[1]);if(l$.isText(d)&&l$.isText(h)){var x=sK(d,lV);y=h.text.length,v=x}else{if(!lf.isElement(d)||!lf.isElement(h))throw Error("Cannot merge the node at path [".concat(p,"] with the previous sibling because it is not the same kind: ").concat(JSON.stringify(d)," ").concat(JSON.stringify(h)));x=sK(d,lW),y=h.children.length,v=x}w||l6.moveNodes(e,{at:p,to:m,voids:i}),S&&l6.removeNodes(e,{at:S.current,voids:i}),lf.isElement(h)&&ly.isEmpty(e,h)||l$.isText(h)&&""===h.text&&0!==g[g.length-1]?l6.removeNodes(e,{at:g,voids:i}):e.apply({type:"merge_node",path:m,position:y,properties:v}),S&&S.unref()}}}})},moveNodes(e,t){ly.withoutNormalizing(e,()=>{var{to:n,at:r=e.selection,mode:o="lowest",voids:i=!1}=t,{match:a}=t;if(r){null==a&&(a=lO.isPath(r)?lX(e,r):t=>ly.isBlock(e,t));var u=ly.pathRef(e,n);for(var s of Array.from(ly.nodes(e,{at:r,match:a,mode:o,voids:i}),t=>{var[,n]=t;return ly.pathRef(e,n)})){var l=s.unref(),c=u.current;0!==l.length&&e.apply({type:"move_node",path:l,newPath:c}),u.current&&lO.isSibling(c,l)&&lO.isAfter(c,l)&&(u.current=lO.next(u.current))}u.unref()}})},removeNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ly.withoutNormalizing(e,()=>{var{hanging:n=!1,voids:r=!1,mode:o="lowest"}=t,{at:i=e.selection,match:a}=t;if(i)for(var u of(null==a&&(a=lO.isPath(i)?lX(e,i):t=>ly.isBlock(e,t)),!n&&lj.isRange(i)&&(i=ly.unhangRange(e,i)),Array.from(ly.nodes(e,{at:i,match:a,mode:o,voids:r}),t=>{var[,n]=t;return ly.pathRef(e,n)}))){var s=u.unref();if(s){var[l]=ly.node(e,s);e.apply({type:"remove_node",path:s,node:l})}}})},setNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ly.withoutNormalizing(e,()=>{var{match:r,at:o=e.selection}=n,{hanging:i=!1,mode:a="lowest",split:u=!1,voids:s=!1}=n;if(o){if(null==r&&(r=lO.isPath(o)?lX(e,o):t=>ly.isBlock(e,t)),!i&&lj.isRange(o)&&(o=ly.unhangRange(e,o)),u&&lj.isRange(o)){if(lj.isCollapsed(o)&&ly.leaf(e,o.anchor)[0].text.length>0)return;var l=ly.rangeRef(e,o,{affinity:"inward"}),[c,f]=lj.edges(o),d="lowest"===a?"lowest":"highest",p=ly.isEnd(e,f,f.path);l6.splitNodes(e,{at:f,match:r,mode:d,voids:s,always:!p});var h=ly.isStart(e,c,c.path);l6.splitNodes(e,{at:c,match:r,mode:d,voids:s,always:!h}),o=l.unref(),null==n.at&&l6.select(e,o)}for(var[g,v]of ly.nodes(e,{at:o,match:r,mode:a,voids:s})){var y={},m={};if(0!==v.length){var b=!1;for(var w in t)"children"!==w&&"text"!==w&&t[w]!==g[w]&&(b=!0,g.hasOwnProperty(w)&&(y[w]=g[w]),null!=t[w]&&(m[w]=t[w]));b&&e.apply({type:"set_node",path:v,properties:y,newProperties:m})}}}})},splitNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ly.withoutNormalizing(e,()=>{var{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection,height:a=0,always:u=!1}=t;if(null==o&&(o=t=>ly.isBlock(e,t)),lj.isRange(i)&&(i=lZ(e,i)),lO.isPath(i)){var s=i,l=ly.point(e,s),[c]=ly.parent(e,s);o=e=>e===c,a=l.path.length-s.length+1,i=l,u=!0}if(i){var f=ly.pointRef(e,i,{affinity:"backward"}),[d]=ly.nodes(e,{at:i,match:o,mode:n,voids:r});if(d){var p=ly.void(e,{at:i,mode:"highest"});if(!r&&p){var[h,g]=p;if(lf.isElement(h)&&e.isInline(h)){var v=ly.after(e,g);if(!v){var y=lO.next(g);l6.insertNodes(e,{text:""},{at:y,voids:r}),v=ly.point(e,y)}i=v,u=!0}a=i.path.length-g.length+1,u=!0}var m=ly.pointRef(e,i),b=i.path.length-a,[,w]=d,E=i.path.slice(0,b),D=0===a?i.offset:i.path[b]+0;for(var[S,x]of ly.levels(e,{at:E,reverse:!0,voids:r})){var C=!1;if(x.length<w.length||0===x.length||!r&&ly.isVoid(e,S))break;var O=f.current,A=ly.isEnd(e,O,x);if(u||!f||!ly.isEdge(e,O,x)){C=!0;var k=lD.extractProps(S);e.apply({type:"split_node",path:x,position:D,properties:k})}D=x[x.length-1]+(C||A?1:0)}if(null==t.at){var T=m.current||ly.end(e,[]);l6.select(e,T)}f.unref(),m.unref()}}})},unsetNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Array.isArray(t)||(t=[t]);var r={};for(var o of t)r[o]=null;l6.setNodes(e,r,n)},unwrapNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ly.withoutNormalizing(e,()=>{var{mode:n="lowest",split:r=!1,voids:o=!1}=t,{at:i=e.selection,match:a}=t;if(i){null==a&&(a=lO.isPath(i)?lX(e,i):t=>ly.isBlock(e,t)),lO.isPath(i)&&(i=ly.range(e,i));var u=lj.isRange(i)?ly.rangeRef(e,i):null;for(var s of Array.from(ly.nodes(e,{at:i,match:a,mode:n,voids:o}),t=>{var[,n]=t;return ly.pathRef(e,n)}).reverse())!function(t){var n=t.unref(),[i]=ly.node(e,n),a=ly.range(e,n);r&&u&&(a=lj.intersection(u.current,a)),l6.liftNodes(e,{at:a,match:e=>lf.isAncestor(i)&&i.children.includes(e),voids:o})}(s);u&&u.unref()}})},wrapNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ly.withoutNormalizing(e,()=>{var{mode:r="lowest",split:o=!1,voids:i=!1}=n,{match:a,at:u=e.selection}=n;if(u){if(null==a&&(a=lO.isPath(u)?lX(e,u):e.isInline(t)?t=>ly.isInline(e,t)||l$.isText(t):t=>ly.isBlock(e,t)),o&&lj.isRange(u)){var[s,l]=lj.edges(u),c=ly.rangeRef(e,u,{affinity:"inward"});l6.splitNodes(e,{at:l,match:a,voids:i}),l6.splitNodes(e,{at:s,match:a,voids:i}),u=c.unref(),null==n.at&&l6.select(e,u)}for(var[,f]of Array.from(ly.nodes(e,{at:u,match:e.isInline(t)?t=>ly.isBlock(e,t):e=>ly.isEditor(e),mode:"lowest",voids:i}))){var d=lj.isRange(u)?lj.intersection(u,ly.range(e,f)):u;if(d){var p=Array.from(ly.nodes(e,{at:d,match:a,mode:r,voids:i}));if(p.length>0&&"continue"===function(){var[n]=p,r=p[p.length-1],[,o]=n,[,a]=r;if(0===o.length&&0===a.length)return"continue";var u=lO.equals(o,a)?lO.parent(o):lO.common(o,a),s=ly.range(e,o,a),[l]=ly.node(e,u),c=u.length+1,f=lO.next(a.slice(0,c)),d=lG(lG({},t),{},{children:[]});l6.insertNodes(e,d,{at:f,voids:i}),l6.moveNodes(e,{at:s,match:e=>lf.isAncestor(l)&&l.children.includes(e),to:f.concat(0),voids:i})}())continue}}}})}}),{collapse(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{edge:n="anchor"}=t,{selection:r}=e;if(r){if("anchor"===n)l6.select(e,r.anchor);else if("focus"===n)l6.select(e,r.focus);else if("start"===n){var[o]=lj.edges(r);l6.select(e,o)}else if("end"===n){var[,i]=lj.edges(r);l6.select(e,i)}}},deselect(e){var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null})},move(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{selection:n}=e,{distance:r=1,unit:o="character",reverse:i=!1}=t,{edge:a=null}=t;if(n){"start"===a&&(a=lj.isBackward(n)?"focus":"anchor"),"end"===a&&(a=lj.isBackward(n)?"anchor":"focus");var{anchor:u,focus:s}=n,l={distance:r,unit:o},c={};if(null==a||"anchor"===a){var f=i?ly.before(e,u,l):ly.after(e,u,l);f&&(c.anchor=f)}if(null==a||"focus"===a){var d=i?ly.before(e,s,l):ly.after(e,s,l);d&&(c.focus=d)}l6.setSelection(e,c)}},select(e,t){var{selection:n}=e;if(t=ly.range(e,t),n)l6.setSelection(e,t);else{if(!lj.isRange(t))throw Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(JSON.stringify(t)));e.apply({type:"set_selection",properties:n,newProperties:t})}},setPoint(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{selection:r}=e,{edge:o="both"}=n;if(r){"start"===o&&(o=lj.isBackward(r)?"focus":"anchor"),"end"===o&&(o=lj.isBackward(r)?"anchor":"focus");var{anchor:i,focus:a}=r,u="anchor"===o?i:a;l6.setSelection(e,{["anchor"===o?"anchor":"focus"]:lJ(lJ({},u),t)})}},setSelection(e,t){var{selection:n}=e,r={},o={};if(n){for(var i in t)("anchor"!==i||null==t.anchor||lB.equals(t.anchor,n.anchor))&&("focus"!==i||null==t.focus||lB.equals(t.focus,n.focus))&&("anchor"===i||"focus"===i||t[i]===n[i])||(r[i]=n[i],o[i]=t[i]);Object.keys(r).length>0&&e.apply({type:"set_selection",properties:r,newProperties:o})}}}),{delete(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ly.withoutNormalizing(e,()=>{var{reverse:n=!1,unit:r="character",distance:o=1,voids:i=!1}=t,{at:a=e.selection,hanging:u=!1}=t;if(a){if(lj.isRange(a)&&lj.isCollapsed(a)&&(a=a.anchor),lB.isPoint(a)){var s=ly.void(e,{at:a,mode:"highest"});if(!i&&s){var[,l]=s;a=l}else{var c={unit:r,distance:o};a={anchor:a,focus:n?ly.before(e,a,c)||ly.start(e,[]):ly.after(e,a,c)||ly.end(e,[])},u=!0}}if(lO.isPath(a))l6.removeNodes(e,{at:a,voids:i});else if(!lj.isCollapsed(a)){if(!u){var[,f]=lj.edges(a),d=ly.end(e,[]);lB.equals(f,d)||(a=ly.unhangRange(e,a,{voids:i}))}var[p,h]=lj.edges(a),g=ly.above(e,{match:t=>ly.isBlock(e,t),at:p,voids:i}),v=ly.above(e,{match:t=>ly.isBlock(e,t),at:h,voids:i}),y=g&&v&&!lO.equals(g[1],v[1]),m=lO.equals(p.path,h.path),b=i?null:ly.void(e,{at:p,mode:"highest"}),w=i?null:ly.void(e,{at:h,mode:"highest"});if(b){var E=ly.before(e,p);E&&g&&lO.isAncestor(g[1],E.path)&&(p=E)}if(w){var D=ly.after(e,h);D&&v&&lO.isAncestor(v[1],D.path)&&(h=D)}var S,x=[];for(var C of ly.nodes(e,{at:a,voids:i})){var[O,A]=C;S&&0===lO.compare(A,S)||(!i&&ly.isVoid(e,O)||!lO.isCommon(A,p.path)&&!lO.isCommon(A,h.path))&&(x.push(C),S=A)}var k=Array.from(x,t=>{var[,n]=t;return ly.pathRef(e,n)}),T=ly.pointRef(e,p),B=ly.pointRef(e,h);if(!m&&!b){var F=T.current,[_]=ly.leaf(e,F),{path:P}=F,{offset:j}=p,I=_.text.slice(j);I.length>0&&e.apply({type:"remove_text",path:P,offset:j,text:I})}for(var N of k){var R=N.unref();l6.removeNodes(e,{at:R,voids:i})}if(!w){var L=B.current,[M]=ly.leaf(e,L),{path:z}=L,$=m?p.offset:0,H=M.text.slice($,h.offset);H.length>0&&e.apply({type:"remove_text",path:z,offset:$,text:H})}!m&&y&&B.current&&T.current&&l6.mergeNodes(e,{at:B.current,hanging:!0,voids:i});var U=n?T.unref()||B.unref():B.unref()||T.unref();null==t.at&&U&&l6.select(e,U)}}})},insertFragment(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ly.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:o=!1}=n,{at:i=e.selection}=n;if(t.length&&i){if(lj.isRange(i))if(r||(i=ly.unhangRange(e,i)),lj.isCollapsed(i))i=i.anchor;else{var[,a]=lj.edges(i);if(!o&&ly.void(e,{at:a}))return;var u=ly.pointRef(e,a);l6.delete(e,{at:i}),i=u.unref()}else lO.isPath(i)&&(i=ly.start(e,i));if(o||!ly.void(e,{at:i})){var s=ly.above(e,{at:i,match:t=>ly.isInline(e,t),mode:"highest",voids:o});if(s){var[,l]=s;ly.isEnd(e,i,l)?i=ly.after(e,l):ly.isStart(e,i,l)&&(i=ly.before(e,l))}var[,c]=ly.above(e,{match:t=>ly.isBlock(e,t),at:i,voids:o}),f=ly.isStart(e,i,c),d=ly.isEnd(e,i,c),p=f&&d,h=!f||f&&d,g=!d,[,v]=lD.first({children:t},[]),[,y]=lD.last({children:t},[]),m=[],b=t=>{var[n,r]=t;return 0!==r.length&&(!!p||!(h&&lO.isAncestor(r,v)&&lf.isElement(n)&&!e.isVoid(n)&&!e.isInline(n))&&!(g&&lO.isAncestor(r,y)&&lf.isElement(n)&&!e.isVoid(n)&&!e.isInline(n)))};for(var w of lD.nodes({children:t},{pass:b}))b(w)&&m.push(w);var E=[],D=[],S=[],x=!0,C=!1;for(var[O]of m)lf.isElement(O)&&!e.isInline(O)?(x=!1,C=!0,D.push(O)):x?E.push(O):S.push(O);var[A]=ly.nodes(e,{at:i,match:t=>l$.isText(t)||ly.isInline(e,t),mode:"highest",voids:o}),[,k]=A,T=ly.isStart(e,i,k),B=ly.isEnd(e,i,k),F=ly.pathRef(e,d?lO.next(c):c),_=ly.pathRef(e,B?lO.next(k):k),P=ly.pathRef(e,c);l6.splitNodes(e,{at:i,match:t=>C?ly.isBlock(e,t):l$.isText(t)||ly.isInline(e,t),mode:C?"lowest":"highest",voids:o});var j=ly.pathRef(e,!T||T&&B?lO.next(k):k);if(l6.insertNodes(e,E,{at:j.current,match:t=>l$.isText(t)||ly.isInline(e,t),mode:"highest",voids:o}),p&&D.length&&l6.delete(e,{at:P.unref(),voids:o}),l6.insertNodes(e,D,{at:F.current,match:t=>ly.isBlock(e,t),mode:"lowest",voids:o}),l6.insertNodes(e,S,{at:_.current,match:t=>l$.isText(t)||ly.isInline(e,t),mode:"highest",voids:o}),!n.at){var I=S.length>0?lO.previous(_.current):D.length>0?lO.previous(F.current):lO.previous(j.current),N=ly.end(e,I);l6.select(e,N)}j.unref(),F.unref(),_.unref()}}})},insertText(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ly.withoutNormalizing(e,()=>{var{voids:r=!1}=n,{at:o=e.selection}=n;if(o){if(lO.isPath(o)&&(o=ly.range(e,o)),lj.isRange(o))if(lj.isCollapsed(o))o=o.anchor;else{var i=lj.end(o);if(!r&&ly.void(e,{at:i}))return;var a=ly.pointRef(e,i);l6.delete(e,{at:o,voids:r}),o=a.unref(),l6.setSelection(e,{anchor:o,focus:o})}if(r||!ly.void(e,{at:o})){var{path:u,offset:s}=o;t.length>0&&e.apply({type:"insert_text",path:u,offset:s,text:t})}}})}}),l5="[object Map]",l8="[object Set]",l7=/^\[object .+?Constructor\]$/,l9=/^(?:0|[1-9]\d*)$/,ce="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",ct="\ud83c[\udffb-\udfff]",cn="[^\ud800-\udfff]",cr="(?:\ud83c[\udde6-\uddff]){2}",co="[\ud800-\udbff][\udc00-\udfff]",ci="(?:"+ce+"|"+ct+")?",ca="[\\ufe0e\\ufe0f]?"+ci+("(?:\\u200d(?:"+[cn,cr,co].join("|")+")[\\ufe0e\\ufe0f]?")+ci+")*",cu=RegExp(ct+"(?="+ct+")|"+("(?:"+[cn+ce+"?",ce,cr,co,"[\ud800-\udfff]"].join("|"))+")"+ca,"g"),cs=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),cl="object"==typeof u&&u&&u.Object===Object&&u,cc="object"==typeof self&&self&&self.Object===Object&&self,cf=cl||cc||Function("return this")(),cd=Function.prototype,cp=Object.prototype,ch=cf["__core-js_shared__"],cg=(l2=/[^.]+$/.exec(ch&&ch.keys&&ch.keys.IE_PROTO||""))?"Symbol(src)_1."+l2:"",cv=cd.toString,cy=cp.hasOwnProperty,cm=cp.toString,cb=RegExp("^"+cv.call(cy).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),cw=cf.Symbol,cE=cw?cw.iterator:void 0,cD=cp.propertyIsEnumerable,cS=(l4=Object.keys,l3=Object,function(e){return l4(l3(e))}),cx=cj(cf,"DataView"),cC=cj(cf,"Map"),cO=cj(cf,"Promise"),cA=cj(cf,"Set"),ck=cj(cf,"WeakMap"),cT=cN(cx),cB=cN(cC),cF=cN(cO),c_=cN(cA),cP=cN(ck);function cj(e,t){var n=null==e?void 0:e[t];return cz(n)&&(!cg||!(cg in n))&&(cM(n)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(n)?cb:l7).test(cN(n))?n:void 0}var cI=function(e){return cm.call(e)};function cN(e){if(null!=e){try{return cv.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(cx&&"[object DataView]"!=cI(new cx(new ArrayBuffer(1)))||cC&&cI(new cC)!=l5||cO&&"[object Promise]"!=cI(cO.resolve())||cA&&cI(new cA)!=l8||ck&&"[object WeakMap]"!=cI(new ck))&&(cI=function(e){var t=cm.call(e),n="[object Object]"==t?e.constructor:void 0,r=n?cN(n):void 0;if(r)switch(r){case cT:return"[object DataView]";case cB:return l5;case cF:return"[object Promise]";case c_:return l8;case cP:return"[object WeakMap]"}return t});var cR=Array.isArray;function cL(e){var t;return null!=e&&"number"==typeof(t=e.length)&&t>-1&&t%1==0&&t<=0x1fffffffffffff&&!cM(e)}function cM(e){var t=cz(e)?cm.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function cz(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function c$(e){return!!e&&"object"==typeof e}var cH=function(e){if(!e)return[];if(cL(e))return"string"==typeof e||!cR(e)&&c$(e)&&"[object String]"==cm.call(e)?function(e){return cs.test(e)?e.match(cu)||[]:e.split("")}(e):function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(e);if(cE&&e[cE]){for(var t,n=e[cE](),r=[];!(t=n.next()).done;)r.push(t.value);return r}var o=cI(e);return(o==l5?function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}:o==l8?function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}:function(e){return e?function(e,t){for(var n=-1,r=e?e.length:0,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}(cL(e)?function(e,t){var n,r,o=cR(e)||c$(e)&&cL(e)&&cy.call(e,"callee")&&(!cD.call(e,"callee")||"[object Arguments]"==cm.call(e))?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],i=o.length,a=!!i;for(var u in e){!cy.call(e,u)||a&&("length"==u||(n=u,(r=null==(r=i)?0x1fffffffffffff:r)&&("number"==typeof n||l9.test(n))&&n>-1&&n%1==0&&n<r))||o.push(u)}return o}(e):function(e){if(n="function"==typeof(t=e&&e.constructor)&&t.prototype||cp,e!==n)return cS(e);var t,n,r=[];for(var o in Object(e))cy.call(e,o)&&"constructor"!=o&&r.push(o);return r}(e),function(t){return e[t]}):[]})(e)};function cU(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function cV(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach(function(n){void 0===e[n]?e[n]=t[n]:cU(t[n])&&cU(e[n])&&Object.keys(t[n]).length>0&&cV(e[n],t[n])})}var cW={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function cq(){var e="undefined"!=typeof document?document:{};return cV(e,cW),e}var cG={document:cW,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function cK(){var e="undefined"!=typeof window?window:{};return cV(e,cG),e}function cZ(e){return(cZ=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function cX(e,t){return(cX=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function cY(e,t,n){return(cY=!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&cX(o,n.prototype),o}:Reflect.construct).apply(null,arguments)}function cJ(e){var t="function"==typeof Map?new Map:void 0;return(cJ=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return cY(e,arguments,cZ(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),cX(n,e)})(e)}var cQ=function(e){function t(t){var n,r,o;return o=(r=function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n=e.call.apply(e,[this].concat(t))||this)).__proto__,Object.defineProperty(r,"__proto__",{get:function(){return o},set:function(e){o.__proto__=e}}),n}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e,t}(cJ(Array));function c0(e){void 0===e&&(e=[]);var t=[];return e.forEach(function(e){Array.isArray(e)?t.push.apply(t,c0(e)):t.push(e)}),t}function c1(e,t){return Array.prototype.filter.call(e,t)}function c2(e,t){var n=cK(),r=cq(),o=[];if(!t&&e instanceof cQ)return e;if(!e)return new cQ(o);if("string"==typeof e){var i=e.trim();if(i.indexOf("<")>=0&&i.indexOf(">")>=0){var a="div";0===i.indexOf("<li")&&(a="ul"),0===i.indexOf("<tr")&&(a="tbody"),0!==i.indexOf("<td")&&0!==i.indexOf("<th")||(a="tr"),0===i.indexOf("<tbody")&&(a="table"),0===i.indexOf("<option")&&(a="select");var u=r.createElement(a);u.innerHTML=i;for(var s=0;s<u.childNodes.length;s+=1)o.push(u.childNodes[s])}else o=function(e,t){if("string"!=typeof e)return[e];for(var n=[],r=t.querySelectorAll(e),o=0;o<r.length;o+=1)n.push(r[o]);return n}(e.trim(),t||r)}else if(e.nodeType||e===n||e===r)o.push(e);else if(Array.isArray(e)){if(e instanceof cQ)return e;o=e}return new cQ(function(e){for(var t=[],n=0;n<e.length;n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(o))}function c4(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=c0(t.map(function(e){return e.split(" ")}));return this.forEach(function(e){var t;(t=e.classList).add.apply(t,r)}),this}function c3(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=c0(t.map(function(e){return e.split(" ")}));return this.forEach(function(e){var t;(t=e.classList).remove.apply(t,r)}),this}function c6(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=c0(t.map(function(e){return e.split(" ")}));return c1(this,function(e){return r.filter(function(t){return e.classList.contains(t)}).length>0}).length>0}function c5(e,t){if(1==arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n+=1)if(2==arguments.length)this[n].setAttribute(e,t);else for(var r in e)this[n][r]=e[r],this[n].setAttribute(r,e[r]);return this}function c8(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function c7(){var e=this[0];if(e){var t={};if(e.dataset)for(var n in e.dataset)t[n]=e.dataset[n];else for(var r=0;r<e.attributes.length;r+=1){var o=e.attributes[r];o.name.indexOf("data-")>=0&&(t[o.name.split("data-")[1].toLowerCase().replace(/-(.)/g,function(e,t){return t.toUpperCase()})]=o.value)}for(var i in t)"false"===t[i]?t[i]=!1:"true"===t[i]?t[i]=!0:parseFloat(t[i])===+t[i]&&(t[i]*=1);return t}}function c9(e){if(void 0===e){var t=this[0];if(!t)return;if(t.multiple&&"select"===t.nodeName.toLowerCase()){for(var n=[],r=0;r<t.selectedOptions.length;r+=1)n.push(t.selectedOptions[r].value);return n}return t.value}for(var o=0;o<this.length;o+=1){var i=this[o];if(Array.isArray(e)&&i.multiple&&"select"===i.nodeName.toLowerCase())for(var a=0;a<i.options.length;a+=1)i.options[a].selected=e.indexOf(i.options[a].value)>=0;else i.value=e}return this}function fe(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t[1],i=t[2],a=t[3];function u(e){var t=e.target;if(t){var n=e.target.dom7EventData||[];if(0>n.indexOf(e)&&n.unshift(e),c2(t).is(o))i.apply(t,n);else for(var r=c2(t).parents(),a=0;a<r.length;a+=1)c2(r[a]).is(o)&&i.apply(r[a],n)}}function s(e){var t=e&&e.target&&e.target.dom7EventData||[];0>t.indexOf(e)&&t.unshift(e),i.apply(this,t)}"function"==typeof t[1]&&(r=t[0],i=t[1],a=t[2],o=void 0),a||(a=!1);for(var l,c=r.split(" "),f=0;f<this.length;f+=1){var d=this[f];if(o)for(l=0;l<c.length;l+=1){var p=c[l];d.dom7LiveListeners||(d.dom7LiveListeners={}),d.dom7LiveListeners[p]||(d.dom7LiveListeners[p]=[]),d.dom7LiveListeners[p].push({listener:i,proxyListener:u}),d.addEventListener(p,u,a)}else for(l=0;l<c.length;l+=1){var h=c[l];d.dom7Listeners||(d.dom7Listeners={}),d.dom7Listeners[h]||(d.dom7Listeners[h]=[]),d.dom7Listeners[h].push({listener:i,proxyListener:s}),d.addEventListener(h,s,a)}}return this}function ft(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t[1],i=t[2],a=t[3];"function"==typeof t[1]&&(r=t[0],i=t[1],a=t[2],o=void 0),a||(a=!1);for(var u=r.split(" "),s=0;s<u.length;s+=1)for(var l=u[s],c=0;c<this.length;c+=1){var f=this[c],d=void 0;if(!o&&f.dom7Listeners?d=f.dom7Listeners[l]:o&&f.dom7LiveListeners&&(d=f.dom7LiveListeners[l]),d&&d.length)for(var p=d.length-1;p>=0;p-=1){var h=d[p];i&&h.listener===i||i&&h.listener&&h.listener.dom7proxy&&h.listener.dom7proxy===i?(f.removeEventListener(l,h.proxyListener,a),d.splice(p,1)):i||(f.removeEventListener(l,h.proxyListener,a),d.splice(p,1))}}return this}function fn(){var e=cK();return this[0]===e?e.innerWidth:this.length>0?parseFloat(this.css("width")):null}function fr(){var e=cK();return this[0]===e?e.innerHeight:this.length>0?parseFloat(this.css("height")):null}function fo(){if(this.length>0){var e=cK(),t=cq(),n=this[0],r=n.getBoundingClientRect(),o=t.body,i=n.clientTop||o.clientTop||0,a=n.clientLeft||o.clientLeft||0,u=n===e?e.scrollY:n.scrollTop,s=n===e?e.scrollX:n.scrollLeft;return{top:r.top+u-i,left:r.left+s-a}}return null}function fi(){for(var e=0;e<this.length;e+=1)this[e].style.display="none";return this}function fa(){for(var e=cK(),t=0;t<this.length;t+=1){var n=this[t];"none"===n.style.display&&(n.style.display=""),"none"===e.getComputedStyle(n,null).getPropertyValue("display")&&(n.style.display="block")}return this}function fu(e,t){var n,r=cK();if(1==arguments.length){if("string"!=typeof e){for(n=0;n<this.length;n+=1)for(var o in e)this[n].style[o]=e[o];return this}if(this[0])return r.getComputedStyle(this[0],null).getPropertyValue(e)}if(2==arguments.length&&"string"==typeof e)for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}function fs(e){return e&&this.forEach(function(t,n){e.apply(t,[t,n])}),this}function fl(e){return c2(c1(this,e))}function fc(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function ff(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this}function fd(e){var t,n,r=cK(),o=cq(),i=this[0];if(!i||void 0===e)return!1;if("string"==typeof e){if(i.matches)return i.matches(e);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(e);if(i.msMatchesSelector)return i.msMatchesSelector(e);for(t=c2(e),n=0;n<t.length;n+=1)if(t[n]===i)return!0;return!1}if(e===o)return i===o;if(e===r)return i===r;if(e.nodeType||e instanceof cQ){for(t=e.nodeType?[e]:e,n=0;n<t.length;n+=1)if(t[n]===i)return!0}return!1}function fp(){for(var e,t=cq(),n=0;n<arguments.length;n+=1){e=n<0||arguments.length<=n?void 0:arguments[n];for(var r=0;r<this.length;r+=1)if("string"==typeof e){var o=t.createElement("div");for(o.innerHTML=e;o.firstChild;)this[r].appendChild(o.firstChild)}else if(e instanceof cQ)for(var i=0;i<e.length;i+=1)this[r].appendChild(e[i]);else this[r].appendChild(e)}return this}function fh(e){var t,n,r=cq();for(t=0;t<this.length;t+=1)if("string"==typeof e){var o=r.createElement("div");for(o.innerHTML=e,n=o.childNodes.length-1;n>=0;n-=1)this[t].insertBefore(o.childNodes[n],this[t].childNodes[0])}else if(e instanceof cQ)for(n=0;n<e.length;n+=1)this[t].insertBefore(e[n],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this}function fg(e){for(var t=[],n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?c2(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return c2(t)}function fv(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].parentNode;r;)e?c2(r).is(e)&&t.push(r):t.push(r),r=r.parentNode;return c2(t)}function fy(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].querySelectorAll(e),o=0;o<r.length;o+=1)t.push(r[o]);return c2(t)}function fm(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].children,o=0;o<r.length;o+=1)e&&!c2(r[o]).is(e)||t.push(r[o]);return c2(t)}function fb(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}function fw(){for(var e=0;e<this.length;e+=1){var t=this[e];if(1===t.nodeType){for(var n=0;n<t.childNodes.length;n+=1)t.childNodes[n].parentNode&&t.childNodes[n].parentNode.removeChild(t.childNodes[n]);t.textContent=""}}return this}c2.fn=cQ.prototype;var fE="resize scroll".split(" ");function fD(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];if(void 0===n[0]){for(var o=0;o<this.length;o+=1)0>fE.indexOf(e)&&(e in this[o]?this[o][e]():c2(this[o]).trigger(e));return this}return this.on.apply(this,[e].concat(n))}}var fS,fx,fC,fO,fA=fD("click"),fk=fD("focus"),fT=/^(?:0|[1-9]\d*)$/,fB=Object.prototype,fF=fB.hasOwnProperty,f_=fB.toString,fP=fB.propertyIsEnumerable,fj=(fS=Object.keys,fx=Object,function(e){return fS(fx(e))}),fI=(fC=function(e,t){return e&&fN(e,t,fM)},function(e,t){if(null==e)return e;if(!fL(e))return fC(e,t);for(var n=e.length,r=fO?n:-1,o=Object(e);(fO?r--:++r<n)&&!1!==t(o[r],r,o););return e}),fN=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var u=i[++r];if(!1===t(o[u],u,o))break}return e},fR=Array.isArray;function fL(e){var t,n,r;return null!=e&&"number"==typeof(t=e.length)&&t>-1&&t%1==0&&t<=0x1fffffffffffff&&"[object Function]"!=(n=typeof e,r=e&&("object"==n||"function"==n)?f_.call(e):"")&&"[object GeneratorFunction]"!=r}function fM(e){return fL(e)?function(e,t){var n,r,o=fR(e)||e&&"object"==typeof e&&fL(e)&&fF.call(e,"callee")&&(!fP.call(e,"callee")||"[object Arguments]"==f_.call(e))?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],i=o.length,a=!!i;for(var u in e){!fF.call(e,u)||a&&("length"==u||(n=u,(r=null==(r=i)?0x1fffffffffffff:r)&&("number"==typeof n||fT.test(n))&&n>-1&&n%1==0&&n<r))||o.push(u)}return o}(e):function(e){if(n="function"==typeof(t=e&&e.constructor)&&t.prototype||fB,e!==n)return fj(e);var t,n,r=[];for(var o in Object(e))fF.call(e,o)&&"constructor"!=o&&r.push(o);return r}(e)}function fz(e){return e}var f$=function(e,t){return(fR(e)?function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););return e}:fI)(e,"function"==typeof t?t:fz)};let fH=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=63&n[e];t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?"_":"-"}return t};var fU=/^\s+|\s+$/g,fV=/^[-+]0x[0-9a-f]+$/i,fW=/^0b[01]+$/i,fq=/^0o[0-7]+$/i,fG=parseInt,fK="object"==typeof u&&u&&u.Object===Object&&u,fZ="object"==typeof self&&self&&self.Object===Object&&self,fX=fK||fZ||Function("return this")(),fY=Object.prototype.toString,fJ=Math.max,fQ=Math.min,f0=function(){return fX.Date.now()};function f1(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function f2(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==fY.call(t))return NaN;if(f1(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=f1(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(fU,"");var r=fW.test(e);return r||fq.test(e)?fG(e.slice(2),r?2:8):fV.test(e)?NaN:+e}var f4=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw TypeError("Expected a function");return f1(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),function(e,t,n){var r,o,i,a,u,s,l=0,c=!1,f=!1,d=!0;if("function"!=typeof e)throw TypeError("Expected a function");function p(t){var n=r,i=o;return r=o=void 0,l=t,a=e.apply(i,n)}function h(e){var n=e-s;return void 0===s||n>=t||n<0||f&&e-l>=i}function g(){var e,n=f0();if(h(n))return v(n);u=setTimeout(g,(e=t-(n-s),f?fQ(e,i-(n-l)):e))}function v(e){return u=void 0,d&&r?p(e):(r=o=void 0,a)}function y(){var e,n=f0(),i=h(n);if(r=arguments,o=this,s=n,i){if(void 0===u)return l=e=s,u=setTimeout(g,t),c?p(e):a;if(f)return u=setTimeout(g,t),p(s)}return void 0===u&&(u=setTimeout(g,t)),a}return t=f2(t)||0,f1(n)&&(c=!!n.leading,i=(f="maxWait"in n)?fJ(f2(n.maxWait)||0,t):i,d="trailing"in n?!!n.trailing:d),y.cancel=function(){void 0!==u&&clearTimeout(u),l=0,r=s=o=u=void 0},y.flush=function(){return void 0===u?a:v(f0())},y}(e,t,{leading:r,maxWait:t,trailing:o})};let f3={createElement:function(e,t){return document.createElement(e,t)},createElementNS:function(e,t,n){return document.createElementNS(e,t,n)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},getTextContent:function(e){return e.textContent},isElement:function(e){return 1===e.nodeType},isText:function(e){return 3===e.nodeType},isComment:function(e){return 8===e.nodeType}};function f6(e,t,n,r,o){return{sel:e,data:t,children:n,text:r,elm:o,key:void 0===t?void 0:t.key}}let f5=Array.isArray;function f8(e){return"string"==typeof e||"number"==typeof e||e instanceof String||e instanceof Number}function f7(e){return void 0===e}function f9(e){return void 0!==e}let de=f6("",{},[],void 0,void 0);function dt(e,t){var n,r;let o=e.key===t.key,i=(null==(n=e.data)?void 0:n.is)===(null==(r=t.data)?void 0:r.is);return e.sel===t.sel&&o&&i}let dn=["create","update","remove","destroy","pre","post"];function dr(e,t,n){let r,o,i,a={};if(void 0!==n?(null!==t&&(a=t),f5(n)?r=n:f8(n)?o=n.toString():n&&n.sel&&(r=[n])):null!=t&&(f5(t)?r=t:f8(t)?o=t.toString():t&&t.sel?r=[t]:a=t),void 0!==r)for(i=0;i<r.length;++i)f8(r[i])&&(r[i]=f6(void 0,void 0,void 0,r[i],void 0));return"s"!==e[0]||"v"!==e[1]||"g"!==e[2]||3!==e.length&&"."!==e[3]&&"#"!==e[3]||function e(t,n,r){if(t.ns="http://www.w3.org/2000/svg","foreignObject"!==r&&void 0!==n)for(let t=0;t<n.length;++t){let r=n[t].data;void 0!==r&&e(r,n[t].children,n[t].sel)}}(a,r,e),f6(e,a,r,o,void 0)}function di(e,t){let n,r=t.elm,o=e.data.attrs,i=t.data.attrs;if((o||i)&&o!==i){for(n in o=o||{},i=i||{}){let e=i[n];o[n]!==e&&(!0===e?r.setAttribute(n,""):!1===e?r.removeAttribute(n):120!==n.charCodeAt(0)?r.setAttribute(n,e):58===n.charCodeAt(3)?r.setAttributeNS("http://www.w3.org/XML/1998/namespace",n,e):58===n.charCodeAt(5)?r.setAttributeNS("http://www.w3.org/1999/xlink",n,e):r.setAttribute(n,e))}for(n in o)n in i||r.removeAttribute(n)}}let da={create:di,update:di};function du(e,t){let n,r,o=t.elm,i=e.data.class,a=t.data.class;if((i||a)&&i!==a){for(r in a=a||{},i=i||{})i[r]&&!Object.prototype.hasOwnProperty.call(a,r)&&o.classList.remove(r);for(r in a)(n=a[r])!==i[r]&&o.classList[n?"add":"remove"](r)}}let ds={create:du,update:du},dl=/[A-Z]/g;function dc(e,t){let n=t.elm,r,o=e.data.dataset,i=t.data.dataset;if(!o&&!i||o===i)return;o=o||{},i=i||{};let a=n.dataset;for(r in o)i[r]||(a?r in a&&delete a[r]:n.removeAttribute("data-"+r.replace(dl,"-$&").toLowerCase()));for(r in i)o[r]!==i[r]&&(a?a[r]=i[r]:n.setAttribute("data-"+r.replace(dl,"-$&").toLowerCase(),i[r]))}let df={create:dc,update:dc};function dd(e,t){let n,r=e.data.on,o=e.listener,i=e.elm,a=t&&t.data.on,u=t&&t.elm;if(r!==a){if(r&&o)if(a)for(n in r)a[n]||i.removeEventListener(n,o,!1);else for(n in r)i.removeEventListener(n,o,!1);if(a){let o=t.listener=e.listener||function e(t){var n=e.vnode;let r=t.type,o=n.data.on;o&&o[r]&&function e(t,n,r){if("function"==typeof t)t.call(n,r,n);else if("object"==typeof t)for(let o=0;o<t.length;o++)e(t[o],n,r)}(o[r],n,t)};if(o.vnode=t,r)for(n in a)r[n]||u.addEventListener(n,o,!1);else for(n in a)u.addEventListener(n,o,!1)}}}let dp={create:dd,update:dd,destroy:dd};function dh(e,t){let n,r,o=t.elm,i=e.data.props,a=t.data.props;if((i||a)&&i!==a)for(n in i=i||{},a=a||{})r=a[n],i[n]===r||"value"===n&&o[n]===r||(o[n]=r)}let dg={create:dh,update:dh},dv="undefined"!=typeof window&&window.requestAnimationFrame.bind(window)||setTimeout,dy=!1;function dm(e,t){let n,r,o=t.elm,i=e.data.style,a=t.data.style;if(!i&&!a||i===a)return;i=i||{},a=a||{};let u="delayed"in i;for(r in i)a[r]||("-"===r[0]&&"-"===r[1]?o.style.removeProperty(r):o.style[r]="");for(r in a)if(n=a[r],"delayed"===r&&a.delayed)for(let e in a.delayed)n=a.delayed[e],u&&n===i.delayed[e]||function(e,t,n){var r;r=function(){e[t]=n},dv(function(){dv(r)})}(o.style,e,n);else"remove"!==r&&n!==i[r]&&("-"===r[0]&&"-"===r[1]?o.style.setProperty(r,n):o.style[r]=n)}let db={pre:function(){dy=!1},create:dm,update:dm,destroy:function(e){let t,n,r=e.elm,o=e.data.style;if(o&&(t=o.destroy))for(n in t)r.style[n]=t[n]},remove:function(e,t){let n,r=e.data.style;if(!r||!r.remove)return void t();dy||(e.elm.offsetLeft,dy=!0);let o=e.elm,i=0,a=r.remove,u=0,s=[];for(n in a)s.push(n),o.style[n]=a[n];let l=getComputedStyle(o)["transition-property"].split(", ");for(;i<l.length;++i)-1!==s.indexOf(l[i])&&u++;o.addEventListener("transitionend",function(e){e.target===o&&--u,0===u&&t()})}};function dw(e,t,...n){let r=function e(t,n){for(let r of t)null!=r&&!1!==r&&""!==r&&(Array.isArray(r)?e(r,n):"string"==typeof r||"number"==typeof r||"boolean"==typeof r?n.push(f6(void 0,void 0,void 0,String(r),void 0)):n.push(r));return n}(n,[]);return"function"==typeof e?e(t,r):1===r.length&&!r[0].sel&&r[0].text?dr(e,t,r[0].text):dr(e,t,r)}dw||(dw={});var dE,dD=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,dS=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,dx="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",dC="["+dx+"]",dO="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",dA="[a-z\\xdf-\\xf6\\xf8-\\xff]",dk="[^\ud800-\udfff"+dx+"\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",dT="\ud83c[\udffb-\udfff]",dB="[^\ud800-\udfff]",dF="(?:\ud83c[\udde6-\uddff]){2}",d_="[\ud800-\udbff][\udc00-\udfff]",dP="[A-Z\\xc0-\\xd6\\xd8-\\xde]",dj="(?:"+dA+"|"+dk+")",dI="(?:"+dP+"|"+dk+")",dN="(?:"+dO+"|"+dT+")?",dR="[\\ufe0e\\ufe0f]?"+dN+("(?:\\u200d(?:"+[dB,dF,d_].join("|")+")[\\ufe0e\\ufe0f]?")+dN+")*",dL="(?:"+["[\\u2700-\\u27bf]",dF,d_].join("|")+")"+dR,dM="(?:"+[dB+dO+"?",dO,dF,d_,"[\ud800-\udfff]"].join("|")+")",dz=RegExp("['’]","g"),d$=RegExp(dO,"g"),dH=RegExp(dT+"(?="+dT+")|"+dM+dR,"g"),dU=RegExp([dP+"?"+dA+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[dC,dP,"$"].join("|")+")",dI+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[dC,dP+dj,"$"].join("|")+")",dP+"?"+dj+"+(?:['’](?:d|ll|m|re|s|t|ve))?",dP+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d+",dL].join("|"),"g"),dV=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),dW=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,dq="object"==typeof u&&u&&u.Object===Object&&u,dG="object"==typeof self&&self&&self.Object===Object&&self,dK=dq||dG||Function("return this")(),dZ=(dE={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"ss"},function(e){return null==dE?void 0:dE[e]}),dX=Object.prototype.toString,dY=dK.Symbol,dJ=dY?dY.prototype:void 0,dQ=dJ?dJ.toString:void 0;function d0(e){return null==e?"":function(e){if("string"==typeof e)return e;if("symbol"==typeof e||e&&"object"==typeof e&&"[object Symbol]"==dX.call(e))return dQ?dQ.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}for(var d1,d2,d4=(d1=function(e,t,n){return t=t.toLowerCase(),e+(n?d3(d0(t).toLowerCase()):t)},function(e){var t,n,r,o;return function(e,t,n,r){for(var o=-1,i=e?e.length:0;++o<i;)n=t(n,e[o],o,e);return n}((n=((t=d0(t=e))&&t.replace(dS,dZ).replace(d$,"")).replace(dz,""),n=d0(n),void 0===r?(o=n,dW.test(o))?n.match(dU)||[]:n.match(dD)||[]:n.match(r)||[]),d1,"")}),d3=(d2="toUpperCase",function(e){var t,n,r,o=(t=e=d0(e),dV.test(t))?function(e){return dV.test(e)?e.match(dH)||[]:e.split("")}(e):void 0,i=o?o[0]:e.charAt(0),a=o?(r=o.length,function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}(o,1,n=void 0===n?r:n)).join(""):e.slice(1);return i[d2]()+a}),d6="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),d5={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},d8={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:d6?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},d7={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},d9=1;d9<20;d9++)d7["f"+d9]=111+d9;function pe(e,t,n){!t||"byKey"in t||(n=t,t=null),Array.isArray(e)||(e=[e]);var r=e.map(function(e){return function(e,t){var n=t&&t.byKey,r={},o=(e=e.replace("++","+add")).split("+"),i=o.length;for(var a in d5)r[d5[a]]=!1;var u=!0,s=!1,l=void 0;try{for(var c,f=o[Symbol.iterator]();!(u=(c=f.next()).done);u=!0){var d,p=c.value,h=p.endsWith("?")&&p.length>1;h&&(p=p.slice(0,-1));var g=pt(p),v=d5[g];if(p.length>1&&!v&&!d8[p]&&!d7[g])throw TypeError('Unknown modifier: "'+p+'"');1!==i&&v||(n?r.key=g:(d=p,r.which=d7[d=pt(d)]||d.toUpperCase().charCodeAt(0))),v&&(r[v]=!h||null)}}catch(e){s=!0,l=e}finally{try{!u&&f.return&&f.return()}finally{if(s)throw l}}return r}(e,t)}),o=function(e){return r.some(function(t){for(var n in t){var r=t[n],o=void 0;if(null!=r&&(null!=(o="key"===n&&null!=e.key?e.key.toLowerCase():"which"===n?91===r&&93===e.which?91:e.which:e[n])||!1!==r)&&o!==r)return!1}return!0})};return null==n?o:o(n)}function pt(e){return e=d8[e=e.toLowerCase()]||e}var pn=function(e,t){return pe(e,{byKey:!0},t)},pr=/^\s+|\s+$/g,po=/^[-+]0x[0-9a-f]+$/i,pi=/^0b[01]+$/i,pa=/^0o[0-7]+$/i,pu=parseInt,ps="object"==typeof u&&u&&u.Object===Object&&u,pl="object"==typeof self&&self&&self.Object===Object&&self,pc=ps||pl||Function("return this")(),pf=Object.prototype.toString,pd=Math.max,pp=Math.min,ph=function(){return pc.Date.now()};function pg(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function pv(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==pf.call(t))return NaN;if(pg(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=pg(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(pr,"");var r=pi.test(e);return r||pa.test(e)?pu(e.slice(2),r?2:8):po.test(e)?NaN:+e}var py,pm=function(e,t,n){var r,o,i,a,u,s,l=0,c=!1,f=!1,d=!0;if("function"!=typeof e)throw TypeError("Expected a function");function p(t){var n=r,i=o;return r=o=void 0,l=t,a=e.apply(i,n)}function h(e){var n=e-s;return void 0===s||n>=t||n<0||f&&e-l>=i}function g(){var e,n=ph();if(h(n))return v(n);u=setTimeout(g,(e=t-(n-s),f?pp(e,i-(n-l)):e))}function v(e){return u=void 0,d&&r?p(e):(r=o=void 0,a)}function y(){var e,n=ph(),i=h(n);if(r=arguments,o=this,s=n,i){if(void 0===u)return l=e=s,u=setTimeout(g,t),c?p(e):a;if(f)return u=setTimeout(g,t),p(s)}return void 0===u&&(u=setTimeout(g,t)),a}return t=pv(t)||0,pg(n)&&(c=!!n.leading,i=(f="maxWait"in n)?pd(pv(n.maxWait)||0,t):i,d="trailing"in n?!!n.trailing:d),y.cancel=function(){void 0!==u&&clearTimeout(u),l=0,r=s=o=u=void 0},y.flush=function(){return void 0===u?a:v(ph())},y},pb=s(function(e,t){var n,r="__lodash_hash_undefined__",o="[object Arguments]",i="[object Boolean]",a="[object Date]",s="[object Function]",l="[object GeneratorFunction]",c="[object Map]",f="[object Number]",d="[object Object]",p="[object Promise]",h="[object RegExp]",g="[object Set]",v="[object String]",y="[object Symbol]",m="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",E="[object Float32Array]",D="[object Float64Array]",S="[object Int8Array]",x="[object Int16Array]",C="[object Int32Array]",O="[object Uint8Array]",A="[object Uint8ClampedArray]",k="[object Uint16Array]",T="[object Uint32Array]",B=/\w*$/,F=/^\[object .+?Constructor\]$/,_=/^(?:0|[1-9]\d*)$/,P={};P[o]=P["[object Array]"]=P[b]=P[w]=P[i]=P[a]=P[E]=P[D]=P[S]=P[x]=P[C]=P[c]=P[f]=P[d]=P[h]=P[g]=P[v]=P[y]=P[O]=P[A]=P[k]=P[T]=!0,P["[object Error]"]=P[s]=P[m]=!1;var j="object"==typeof u&&u&&u.Object===Object&&u,I="object"==typeof self&&self&&self.Object===Object&&self,N=j||I||Function("return this")(),R=t&&!t.nodeType&&t,L=R&&e&&!e.nodeType&&e,M=L&&L.exports===R;function z(e,t){return e.set(t[0],t[1]),e}function $(e,t){return e.add(t),e}function H(e,t,n,r){var o=-1,i=e?e.length:0;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function U(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function V(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function W(e,t){return function(n){return e(t(n))}}function q(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var G=Array.prototype,K=Function.prototype,Z=Object.prototype,X=N["__core-js_shared__"],Y=(n=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",J=K.toString,Q=Z.hasOwnProperty,ee=Z.toString,et=RegExp("^"+J.call(Q).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),en=M?N.Buffer:void 0,er=N.Symbol,eo=N.Uint8Array,ei=W(Object.getPrototypeOf,Object),ea=Object.create,eu=Z.propertyIsEnumerable,es=G.splice,el=Object.getOwnPropertySymbols,ec=en?en.isBuffer:void 0,ef=W(Object.keys,Object),ed=ej(N,"DataView"),ep=ej(N,"Map"),eh=ej(N,"Promise"),eg=ej(N,"Set"),ev=ej(N,"WeakMap"),ey=ej(Object,"create"),em=eL(ed),eb=eL(ep),ew=eL(eh),eE=eL(eg),eD=eL(ev),eS=er?er.prototype:void 0,ex=eS?eS.valueOf:void 0;function eC(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function eO(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function eA(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ek(e){this.__data__=new eO(e)}function eT(e,t,n){var r=e[t];Q.call(e,t)&&eM(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function eB(e,t){for(var n=e.length;n--;)if(eM(e[n][0],t))return n;return -1}function eF(e){var t=new e.constructor(e.byteLength);return new eo(t).set(new eo(e)),t}function e_(e,t,n,r){n||(n={});for(var o=-1,i=t.length;++o<i;){var a=t[o],u=r?r(n[a],e[a],a,n,e):void 0;eT(n,a,void 0===u?e[a]:u)}return n}function eP(e,t){var n,r=e.__data__;return("string"==(n=typeof t)||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?r["string"==typeof t?"string":"hash"]:r.map}function ej(e,t){var n=null==e?void 0:e[t];return!(!eV(n)||Y&&Y in n)&&(eU(n)||U(n)?et:F).test(eL(n))?n:void 0}eC.prototype.clear=function(){this.__data__=ey?ey(null):{}},eC.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},eC.prototype.get=function(e){var t=this.__data__;if(ey){var n=t[e];return n===r?void 0:n}return Q.call(t,e)?t[e]:void 0},eC.prototype.has=function(e){var t=this.__data__;return ey?void 0!==t[e]:Q.call(t,e)},eC.prototype.set=function(e,t){return this.__data__[e]=ey&&void 0===t?r:t,this},eO.prototype.clear=function(){this.__data__=[]},eO.prototype.delete=function(e){var t=this.__data__,n=eB(t,e);return!(n<0)&&(n==t.length-1?t.pop():es.call(t,n,1),!0)},eO.prototype.get=function(e){var t=this.__data__,n=eB(t,e);return n<0?void 0:t[n][1]},eO.prototype.has=function(e){return eB(this.__data__,e)>-1},eO.prototype.set=function(e,t){var n=this.__data__,r=eB(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},eA.prototype.clear=function(){this.__data__={hash:new eC,map:new(ep||eO),string:new eC}},eA.prototype.delete=function(e){return eP(this,e).delete(e)},eA.prototype.get=function(e){return eP(this,e).get(e)},eA.prototype.has=function(e){return eP(this,e).has(e)},eA.prototype.set=function(e,t){return eP(this,e).set(e,t),this},ek.prototype.clear=function(){this.__data__=new eO},ek.prototype.delete=function(e){return this.__data__.delete(e)},ek.prototype.get=function(e){return this.__data__.get(e)},ek.prototype.has=function(e){return this.__data__.has(e)},ek.prototype.set=function(e,t){var n=this.__data__;if(n instanceof eO){var r=n.__data__;if(!ep||r.length<199)return r.push([e,t]),this;n=this.__data__=new eA(r)}return n.set(e,t),this};var eI=el?W(el,Object):function(){return[]},eN=function(e){return ee.call(e)};function eR(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Z)}function eL(e){if(null!=e){try{return J.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function eM(e,t){return e===t||e!=e&&t!=t}(ed&&eN(new ed(new ArrayBuffer(1)))!=w||ep&&eN(new ep)!=c||eh&&eN(eh.resolve())!=p||eg&&eN(new eg)!=g||ev&&eN(new ev)!=m)&&(eN=function(e){var t=ee.call(e),n=t==d?e.constructor:void 0,r=n?eL(n):void 0;if(r)switch(r){case em:return w;case eb:return c;case ew:return p;case eE:return g;case eD:return m}return t});var ez=Array.isArray;function e$(e){var t;return null!=e&&"number"==typeof(t=e.length)&&t>-1&&t%1==0&&t<=0x1fffffffffffff&&!eU(e)}var eH=ec||function(){return!1};function eU(e){var t=eV(e)?ee.call(e):"";return t==s||t==l}function eV(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function eW(e){return e$(e)?function(e,t){var n,r,i=ez(e)||e&&"object"==typeof e&&e$(e)&&Q.call(e,"callee")&&(!eu.call(e,"callee")||ee.call(e)==o)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],a=i.length,u=!!a;for(var s in e){!Q.call(e,s)||u&&("length"==s||(n=s,(r=null==(r=a)?0x1fffffffffffff:r)&&("number"==typeof n||_.test(n))&&n>-1&&n%1==0&&n<r))||i.push(s)}return i}(e):function(e){if(!eR(e))return ef(e);var t=[];for(var n in Object(e))Q.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}e.exports=function(e){return function e(t,n,r,u,p,m,F){if(u&&(_=m?u(t,p,m,F):u(t)),void 0!==_)return _;if(!eV(t))return t;var _,j=ez(t);if(j){if(I=t.length,N=t.constructor(I),I&&"string"==typeof t[0]&&Q.call(t,"index")&&(N.index=t.index,N.input=t.input),_=N,!n){var I,N,R=_,L=-1,M=t.length;for(R||(R=Array(M));++L<M;)R[L]=t[L];return R}}else{var W,G,K,Z,X=eN(t),Y=X==s||X==l;if(eH(t)){if(n)return t.slice();var J=new t.constructor(t.length);return t.copy(J),J}if(X==d||X==o||Y&&!m){if(U(t))return m?t:{};if(_="function"!=typeof(W=Y?{}:t).constructor||eR(W)?{}:eV(G=ei(W))?ea(G):{},!n)return Z=(K=_)&&e_(t,eW(t),K),e_(t,eI(t),Z)}else{if(!P[X])return m?t:{};_=function(e,t,n,r){var o,u,s,l=e.constructor;switch(t){case b:return eF(e);case i:case a:return new l(+e);case w:return o=r?eF(e.buffer):e.buffer,new e.constructor(o,e.byteOffset,e.byteLength);case E:case D:case S:case x:case C:case O:case A:case k:case T:return u=r?eF(e.buffer):e.buffer,new e.constructor(u,e.byteOffset,e.length);case c:return H(r?n(V(e),!0):V(e),z,new e.constructor);case f:case v:return new l(e);case h:return(s=new e.constructor(e.source,B.exec(e))).lastIndex=e.lastIndex,s;case g:return H(r?n(q(e),!0):q(e),$,new e.constructor);case y:return ex?Object(ex.call(e)):{}}}(t,X,e,n)}}F||(F=new ek);var ee=F.get(t);if(ee)return ee;if(F.set(t,_),!j)var et,en=r?(et=eW(t),ez(t)?et:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(et,eI(t))):eW(t);return function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););}(en||t,function(o,i){en&&(o=t[i=o]),eT(_,i,e(o,n,r,u,i,t,F))}),_}(e,!0,!0)}});function pw(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var pE=0;function pD(e,t){let n=/\$/g,r=[e];if(null==t)return r;for(let e of Object.keys(t))if("_"!==e){let o=t[e];"string"==typeof o&&(o=n[Symbol.replace](o,"$$$$")),r=function(e,t,n){let r=[];return e.forEach(e=>"string"!=typeof e?r.push(e):t[Symbol.split](e).forEach((e,t,o)=>{""!==e&&r.push(e),t<o.length-1&&r.push(n)})),r}(r,RegExp(`%\\{${e}\\}`,"g"),o)}return r}var pS=(py="__private_"+pE+++"_apply",class{constructor(e){Object.defineProperty(this,py,{value:px}),this.locale={strings:{},pluralize:e=>+(1!==e)},Array.isArray(e)?e.forEach(pw(this,py)[py],this):pw(this,py)[py](e)}translate(e,t){return this.translateArray(e,t).join("")}translateArray(e,t){var n;if(n=this.locale.strings,!Object.prototype.hasOwnProperty.call(n,e))throw Error(`missing string: ${e}`);let r=this.locale.strings[e];if("object"==typeof r){if(t&&void 0!==t.smart_count)return pD(r[this.locale.pluralize(t.smart_count)],t);throw Error("Attempted to use a string with plural forms, but no value was given for %{smart_count}")}return pD(r,t)}});function px(e){if(null==e||!e.strings)return;let t=this.locale;this.locale={...t,strings:{...t.strings,...e.strings}},this.locale.pluralize=e.pluralize||t.pluralize}var pC=function(){var e={},t=e._fns={};return e.emit=function(e,n,r,o,i,a,u){var s=function(e){for(var n=t[e]?t[e]:[],r=e.indexOf(":"),o=-1===r?[e]:[e.substring(0,r),e.substring(r+1)],i=Object.keys(t),a=0,u=i.length;a<u;a++){var s=i[a];if("*"===s&&(n=n.concat(t[s])),2===o.length&&o[0]===s){n=n.concat(t[s]);break}}return n}(e);s.length&&function(e,t,n){for(var r=0,o=t.length;r<o&&t[r];r++)t[r].event=e,t[r].apply(t[r],n)}(e,s,[n,r,o,i,a,u])},e.on=function(e,n){t[e]||(t[e]=[]),t[e].push(n)},e.once=function(t,n){this.on(t,function r(){n.apply(this,arguments),e.off(t,r)})},e.off=function(e,t){var n=[];if(e&&t)for(var r=this._fns[e],o=0,i=r?r.length:0;o<i;o++)r[o]!==t&&n.push(r[o]);n.length?this._fns[e]=n:delete this._fns[e]},e};let{urlAlphabet:pO}={urlAlphabet:"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"},pA=e=>crypto.getRandomValues(new Uint8Array(e)),pk=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,o=-~(1.6*r*t/e.length);return()=>{let i="";for(;;){let a=n(o),u=o;for(;u--;)if((i+=e[a[u]&r]||"").length===t)return i}}};var pT={nanoid:(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=63&n[e];t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?"_":"-"}return t},customAlphabet:(e,t)=>pk(e,t,pA),customRandom:pk,urlAlphabet:pO,random:pA},pB=function(e){if("number"!=typeof e||isNaN(e))throw TypeError("Expected a number, got "+typeof e);var t=e<0,n=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];if(t&&(e=-e),e<1)return(t?"-":"")+e+" B";var r=Math.min(Math.floor(Math.log(e)/Math.log(1024)),n.length-1);e=Number(e/Math.pow(1024,r));var o=n[r];return e>=10||e%1==0?(t?"-":"")+e.toFixed(0)+" "+o:(t?"-":"")+e.toFixed(1)+" "+o};function pF(e,t){this.text=e=e||"",this.hasWild=~e.indexOf("*"),this.separator=t,this.parts=e.split(t)}pF.prototype.match=function(e){var t,n,r=!0,o=this.parts,i=o.length;if("string"==typeof e||e instanceof String)if(this.hasWild||this.text==e){for(n=(e||"").split(this.separator),t=0;r&&t<i;t++)"*"!==o[t]&&(r=t<n.length&&o[t]===n[t]);r=r&&n}else r=!1;else if("function"==typeof e.splice)for(r=[],t=e.length;t--;)this.match(e[t])&&(r[r.length]=e[t]);else if("object"==typeof e)for(var a in r={},e)this.match(a)&&(r[a]=e[a]);return r};var p_=/[\/\+\.]/,pP=function(e,t){function n(t){var n,r=(n=new pF(t,p_||/[\/\.]/),void 0!==e?n.match(e):n);return r&&r.length>=2}return t?n(t.split(";")[0]):n},pj=0,pI="__private_"+pj+++"_publish";class pN{constructor(){Object.defineProperty(this,pI,{value:pR}),this.state={},this.callbacks=[]}getState(){return this.state}setState(e){let t={...this.state},n={...this.state,...e};this.state=n,(function(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e})(this,pI)[pI](t,n,e)}subscribe(e){return this.callbacks.push(e),()=>{this.callbacks.splice(this.callbacks.indexOf(e),1)}}}function pR(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];this.callbacks.forEach(e=>{e(...t)})}pN.VERSION="2.0.3";var pL=function(e){let t=e.lastIndexOf(".");return -1===t||t===e.length-1?{name:e,extension:void 0}:{name:e.slice(0,t),extension:e.slice(t+1)}},pM={md:"text/markdown",markdown:"text/markdown",mp4:"video/mp4",mp3:"audio/mp3",svg:"image/svg+xml",jpg:"image/jpeg",png:"image/png",gif:"image/gif",heic:"image/heic",heif:"image/heif",yaml:"text/yaml",yml:"text/yaml",csv:"text/csv",tsv:"text/tab-separated-values",tab:"text/tab-separated-values",avi:"video/x-msvideo",mks:"video/x-matroska",mkv:"video/x-matroska",mov:"video/quicktime",doc:"application/msword",docm:"application/vnd.ms-word.document.macroenabled.12",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",dot:"application/msword",dotm:"application/vnd.ms-word.template.macroenabled.12",dotx:"application/vnd.openxmlformats-officedocument.wordprocessingml.template",xla:"application/vnd.ms-excel",xlam:"application/vnd.ms-excel.addin.macroenabled.12",xlc:"application/vnd.ms-excel",xlf:"application/x-xliff+xml",xlm:"application/vnd.ms-excel",xls:"application/vnd.ms-excel",xlsb:"application/vnd.ms-excel.sheet.binary.macroenabled.12",xlsm:"application/vnd.ms-excel.sheet.macroenabled.12",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xlt:"application/vnd.ms-excel",xltm:"application/vnd.ms-excel.template.macroenabled.12",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template",xlw:"application/vnd.ms-excel",txt:"text/plain",text:"text/plain",conf:"text/plain",log:"text/plain",pdf:"application/pdf",zip:"application/zip","7z":"application/x-7z-compressed",rar:"application/x-rar-compressed",tar:"application/x-tar",gz:"application/gzip",dmg:"application/x-apple-diskimage"};function pz(e){let t="";return e.replace(/[^A-Z0-9]/gi,e=>(t+=`-${e.charCodeAt(0).toString(32)}`,"/"))+t}var p$=function(e){if(null==e&&(e="undefined"!=typeof navigator?navigator.userAgent:null),!e)return!0;let t=/Edge\/(\d+\.\d+)/.exec(e);if(!t)return!0;let[n,r]=t[1].split(".");return n=parseInt(n,10),r=parseInt(r,10),n<15||15===n&&r<15063||n>18||18===n&&r>=18218};function pH(e){return e<10?`0${e}`:e.toString()}var pU=function(){let e=new Date;return`${pH(e.getHours())}:${pH(e.getMinutes())}:${pH(e.getSeconds())}`},pV={justErrorsLogger:{debug:()=>{},warn:()=>{},error:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(`[Uppy] [${pU()}]`,...t)}},debugLogger:{debug:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.debug(`[Uppy] [${pU()}]`,...t)},warn:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.warn(`[Uppy] [${pU()}]`,...t)},error:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(`[Uppy] [${pU()}]`,...t)}}},pW={strings:{addBulkFilesFailed:{0:"Failed to add %{smart_count} file due to an internal error",1:"Failed to add %{smart_count} files due to internal errors"},youCanOnlyUploadX:{0:"You can only upload %{smart_count} file",1:"You can only upload %{smart_count} files"},youHaveToAtLeastSelectX:{0:"You have to select at least %{smart_count} file",1:"You have to select at least %{smart_count} files"},exceedsSize:"%{file} exceeds maximum allowed size of %{size}",missingRequiredMetaField:"Missing required meta fields",missingRequiredMetaFieldOnFile:"Missing required meta fields in %{fileName}",inferiorSize:"This file is smaller than the allowed size of %{size}",youCanOnlyUploadFileTypes:"You can only upload: %{types}",noMoreFilesAllowed:"Cannot add more files",noDuplicates:"Cannot add the duplicate file '%{fileName}', it already exists",companionError:"Connection with Companion failed",authAborted:"Authentication aborted",companionUnauthorizeHint:"To unauthorize to your %{provider} account, please go to %{url}",failedToUpload:"Failed to upload %{file}",noInternetConnection:"No Internet connection",connectedToInternet:"Connected to the Internet",noFilesFound:"You have no files or folders here",selectX:{0:"Select %{smart_count}",1:"Select %{smart_count}"},allFilesFromFolderNamed:"All files from folder %{name}",openFolderNamed:"Open folder %{name}",cancel:"Cancel",logOut:"Log out",filter:"Filter",resetFilter:"Reset filter",loading:"Loading...",authenticateWithTitle:"Please authenticate with %{pluginName} to select files",authenticateWith:"Connect to %{pluginName}",signInWithGoogle:"Sign in with Google",searchImages:"Search for images",enterTextToSearch:"Enter text to search for images",backToSearch:"Back to Search",emptyFolderAdded:"No files were added from empty folder",folderAlreadyAdded:'The folder "%{folder}" was already added',folderAdded:{0:"Added %{smart_count} file from %{folder}",1:"Added %{smart_count} files from %{folder}"}}};function pq(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var pG=0;function pK(e){return"__private_"+pG+++"_"+e}let{nanoid:pZ}=pT,{justErrorsLogger:pX,debugLogger:pY}=pV;class pJ extends Error{constructor(){super(...arguments),this.isRestriction=!0}}"undefined"==typeof AggregateError&&(globalThis.AggregateError=class extends Error{constructor(e,t){super(t),this.errors=e}});class pQ extends AggregateError{constructor(){super(...arguments),this.isRestriction=!0}}var p0=pK("plugins"),p1=pK("storeUnsubscribe"),p2=pK("emitter"),p4=pK("preProcessors"),p3=pK("uploaders"),p6=pK("postProcessors"),p5=pK("checkRestrictions"),p8=pK("checkMinNumberOfFiles"),p7=pK("checkRequiredMetaFieldsOnFile"),p9=pK("checkRequiredMetaFields"),he=pK("showOrLogErrorAndThrow"),ht=pK("assertNewUploadAllowed"),hn=pK("checkAndCreateFileStateObject"),hr=pK("startIfAutoProceed"),ho=pK("addListeners"),hi=pK("updateOnlineStatus"),ha=pK("createUpload"),hu=pK("getUpload"),hs=pK("removeUpload"),hl=pK("runUpload");r=Symbol.for("uppy test: getPlugins"),o=Symbol.for("uppy test: createUpload");class hc{constructor(e){Object.defineProperty(this,hl,{value:hS}),Object.defineProperty(this,hs,{value:hD}),Object.defineProperty(this,hu,{value:hE}),Object.defineProperty(this,ha,{value:hw}),Object.defineProperty(this,ho,{value:hb}),Object.defineProperty(this,hr,{value:hm}),Object.defineProperty(this,hn,{value:hy}),Object.defineProperty(this,ht,{value:hv}),Object.defineProperty(this,he,{value:hg}),Object.defineProperty(this,p9,{value:hh}),Object.defineProperty(this,p7,{value:hp}),Object.defineProperty(this,p8,{value:hd}),Object.defineProperty(this,p5,{value:hf}),Object.defineProperty(this,p0,{writable:!0,value:Object.create(null)}),Object.defineProperty(this,p1,{writable:!0,value:void 0}),Object.defineProperty(this,p2,{writable:!0,value:pC()}),Object.defineProperty(this,p4,{writable:!0,value:new Set}),Object.defineProperty(this,p3,{writable:!0,value:new Set}),Object.defineProperty(this,p6,{writable:!0,value:new Set}),Object.defineProperty(this,hi,{writable:!0,value:this.updateOnlineStatus.bind(this)}),this.defaultLocale=pW;let t={id:"uppy",autoProceed:!1,allowMultipleUploads:!0,allowMultipleUploadBatches:!0,debug:!1,restrictions:{maxFileSize:null,minFileSize:null,maxTotalFileSize:null,maxNumberOfFiles:null,minNumberOfFiles:null,allowedFileTypes:null,requiredMetaFields:[]},meta:{},onBeforeFileAdded:e=>e,onBeforeUpload:e=>e,store:new pN,logger:pX,infoTimeout:5e3};if(this.opts={...t,...e,restrictions:{...t.restrictions,...e&&e.restrictions}},e&&e.logger&&e.debug?this.log("You are using a custom `logger`, but also set `debug: true`, which uses built-in logger to output logs to console. Ignoring `debug: true` and using your custom `logger`.","warning"):e&&e.debug&&(this.opts.logger=pY),this.log(`Using Core v${this.constructor.VERSION}`),this.opts.restrictions.allowedFileTypes&&null!==this.opts.restrictions.allowedFileTypes&&!Array.isArray(this.opts.restrictions.allowedFileTypes))throw TypeError("`restrictions.allowedFileTypes` must be an array");this.i18nInit(),this.calculateProgress=f4(this.calculateProgress.bind(this),500,{leading:!0,trailing:!0}),this.store=this.opts.store,this.setState({plugins:{},files:{},currentUploads:{},allowNewUpload:!0,capabilities:{uploadProgress:p$(),individualCancellation:!0,resumableUploads:!1},totalProgress:0,meta:{...this.opts.meta},info:[],recoveredState:null}),pq(this,p1)[p1]=this.store.subscribe((e,t,n)=>{this.emit("state-update",e,t,n),this.updateAll(t)}),this.opts.debug&&"undefined"!=typeof window&&(window[this.opts.id]=this),pq(this,ho)[ho]()}emit(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];pq(this,p2)[p2].emit(e,...n)}on(e,t){return pq(this,p2)[p2].on(e,t),this}once(e,t){return pq(this,p2)[p2].once(e,t),this}off(e,t){return pq(this,p2)[p2].off(e,t),this}updateAll(e){this.iteratePlugins(t=>{t.update(e)})}setState(e){this.store.setState(e)}getState(){return this.store.getState()}get state(){return this.getState()}setFileState(e,t){if(!this.getState().files[e])throw Error(`Can’t set state for ${e} (the file could have been removed)`);this.setState({files:{...this.getState().files,[e]:{...this.getState().files[e],...t}}})}i18nInit(){let e=new pS([this.defaultLocale,this.opts.locale]);this.i18n=e.translate.bind(e),this.i18nArray=e.translateArray.bind(e),this.locale=e.locale}setOptions(e){this.opts={...this.opts,...e,restrictions:{...this.opts.restrictions,...e&&e.restrictions}},e.meta&&this.setMeta(e.meta),this.i18nInit(),e.locale&&this.iteratePlugins(e=>{e.setOptions()}),this.setState()}resetProgress(){let e={percentage:0,bytesUploaded:0,uploadComplete:!1,uploadStarted:null},t={...this.getState().files},n={};Object.keys(t).forEach(r=>{let o={...t[r]};o.progress={...o.progress,...e},n[r]=o}),this.setState({files:n,totalProgress:0}),this.emit("reset-progress")}addPreProcessor(e){pq(this,p4)[p4].add(e)}removePreProcessor(e){return pq(this,p4)[p4].delete(e)}addPostProcessor(e){pq(this,p6)[p6].add(e)}removePostProcessor(e){return pq(this,p6)[p6].delete(e)}addUploader(e){pq(this,p3)[p3].add(e)}removeUploader(e){return pq(this,p3)[p3].delete(e)}setMeta(e){let t={...this.getState().meta,...e},n={...this.getState().files};Object.keys(n).forEach(t=>{n[t]={...n[t],meta:{...n[t].meta,...e}}}),this.log("Adding metadata:"),this.log(e),this.setState({meta:t,files:n})}setFileMeta(e,t){let n={...this.getState().files};if(!n[e])return void this.log("Was trying to set metadata for a file that has been removed: ",e);let r={...n[e].meta,...t};n[e]={...n[e],meta:r},this.setState({files:n})}getFile(e){return this.getState().files[e]}getFiles(){let{files:e}=this.getState();return Object.values(e)}getObjectOfFilesPerState(){let{files:e,totalProgress:t,error:n}=this.getState(),r=Object.values(e),o=r.filter(e=>{let{progress:t}=e;return!t.uploadComplete&&t.uploadStarted}),i=r.filter(e=>!e.progress.uploadStarted),a=r.filter(e=>e.progress.uploadStarted||e.progress.preprocess||e.progress.postprocess),u=r.filter(e=>e.progress.uploadStarted),s=r.filter(e=>e.isPaused),l=r.filter(e=>e.progress.uploadComplete),c=r.filter(e=>e.error),f=o.filter(e=>!e.isPaused),d=r.filter(e=>e.progress.preprocess||e.progress.postprocess);return{newFiles:i,startedFiles:a,uploadStartedFiles:u,pausedFiles:s,completeFiles:l,erroredFiles:c,inProgressFiles:o,inProgressNotPausedFiles:f,processingFiles:d,isUploadStarted:u.length>0,isAllComplete:100===t&&l.length===r.length&&0===d.length,isAllErrored:!!n&&c.length===r.length,isAllPaused:0!==o.length&&s.length===o.length,isUploadInProgress:o.length>0,isSomeGhost:r.some(e=>e.isGhost)}}validateRestrictions(e,t){try{return pq(this,p5)[p5](e,t),{result:!0}}catch(e){return{result:!1,reason:e.message}}}checkIfFileAlreadyExists(e){let{files:t}=this.getState();return!(!t[e]||t[e].isGhost)}addFile(e){pq(this,ht)[ht](e);let{files:t}=this.getState(),n=pq(this,hn)[hn](t,e);return t[n.id]&&t[n.id].isGhost&&(n={...t[n.id],data:e.data,isGhost:!1},this.log(`Replaced the blob in the restored ghost file: ${n.name}, ${n.id}`)),this.setState({files:{...t,[n.id]:n}}),this.emit("file-added",n),this.emit("files-added",[n]),this.log(`Added file: ${n.name}, ${n.id}, mime type: ${n.type}`),pq(this,hr)[hr](),n.id}addFiles(e){pq(this,ht)[ht]();let t={...this.getState().files},n=[],r=[];for(let o=0;o<e.length;o++)try{let r=pq(this,hn)[hn](t,e[o]);t[r.id]&&t[r.id].isGhost&&(r={...t[r.id],data:e[o].data,isGhost:!1},this.log(`Replaced blob in a ghost file: ${r.name}, ${r.id}`)),t[r.id]=r,n.push(r)}catch(e){e.isRestriction||r.push(e)}if(this.setState({files:t}),n.forEach(e=>{this.emit("file-added",e)}),this.emit("files-added",n),n.length>5?this.log(`Added batch of ${n.length} files`):Object.keys(n).forEach(e=>{this.log(`Added file: ${n[e].name}id: ${n[e].id}type: ${n[e].type}`)}),n.length>0&&pq(this,hr)[hr](),r.length>0){let e="Multiple errors occurred while adding files:\n";if(r.forEach(t=>{e+=`* ${t.message}`}),this.info({message:this.i18n("addBulkFilesFailed",{smart_count:r.length}),details:e},"error",this.opts.infoTimeout),"function"==typeof AggregateError)throw AggregateError(r,e);{let t=Error(e);throw t.errors=r,t}}}removeFiles(e,t){let{files:n,currentUploads:r}=this.getState(),o={...n},i={...r},a=Object.create(null);function u(e){return void 0===a[e]}e.forEach(e=>{n[e]&&(a[e]=n[e],delete o[e])}),Object.keys(i).forEach(e=>{let t=r[e].fileIDs.filter(u);0!==t.length?i[e]={...r[e],fileIDs:t}:delete i[e]});let s={currentUploads:i,files:o};0===Object.keys(o).length&&(s.allowNewUpload=!0,s.error=null,s.recoveredState=null),this.setState(s),this.calculateTotalProgress();let l=Object.keys(a);l.forEach(e=>{this.emit("file-removed",a[e],t)}),l.length>5?this.log(`Removed ${l.length} files`):this.log(`Removed files: ${l.join(", ")}`)}removeFile(e,t){void 0===t&&(t=null),this.removeFiles([e],t)}pauseResume(e){if(!this.getState().capabilities.resumableUploads||this.getFile(e).uploadComplete)return;let t=!this.getFile(e).isPaused;return this.setFileState(e,{isPaused:t}),this.emit("upload-pause",e,t),t}pauseAll(){let e={...this.getState().files};Object.keys(e).filter(t=>!e[t].progress.uploadComplete&&e[t].progress.uploadStarted).forEach(t=>{let n={...e[t],isPaused:!0};e[t]=n}),this.setState({files:e}),this.emit("pause-all")}resumeAll(){let e={...this.getState().files};Object.keys(e).filter(t=>!e[t].progress.uploadComplete&&e[t].progress.uploadStarted).forEach(t=>{let n={...e[t],isPaused:!1,error:null};e[t]=n}),this.setState({files:e}),this.emit("resume-all")}retryAll(){let e={...this.getState().files},t=Object.keys(e).filter(t=>e[t].error);if(t.forEach(t=>{let n={...e[t],isPaused:!1,error:null};e[t]=n}),this.setState({files:e,error:null}),this.emit("retry-all",t),0===t.length)return Promise.resolve({successful:[],failed:[]});let n=pq(this,ha)[ha](t,{forceAllowNewUpload:!0});return pq(this,hl)[hl](n)}cancelAll(){this.emit("cancel-all");let{files:e}=this.getState(),t=Object.keys(e);t.length&&this.removeFiles(t,"cancel-all"),this.setState({totalProgress:0,error:null,recoveredState:null})}retryUpload(e){this.setFileState(e,{error:null,isPaused:!1}),this.emit("upload-retry",e);let t=pq(this,ha)[ha]([e],{forceAllowNewUpload:!0});return pq(this,hl)[hl](t)}reset(){this.cancelAll()}logout(){this.iteratePlugins(e=>{e.provider&&e.provider.logout&&e.provider.logout()})}calculateProgress(e,t){if(!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${e.id}`);let n=Number.isFinite(t.bytesTotal)&&t.bytesTotal>0;this.setFileState(e.id,{progress:{...this.getFile(e.id).progress,bytesUploaded:t.bytesUploaded,bytesTotal:t.bytesTotal,percentage:n?Math.round(t.bytesUploaded/t.bytesTotal*100):0}}),this.calculateTotalProgress()}calculateTotalProgress(){let e=this.getFiles().filter(e=>e.progress.uploadStarted||e.progress.preprocess||e.progress.postprocess);if(0===e.length)return this.emit("progress",0),void this.setState({totalProgress:0});let t=e.filter(e=>null!=e.progress.bytesTotal),n=e.filter(e=>null==e.progress.bytesTotal);if(0===t.length){let t=100*e.length,r=Math.round(n.reduce((e,t)=>e+t.progress.percentage,0)/t*100);return void this.setState({totalProgress:r})}let r=t.reduce((e,t)=>e+t.progress.bytesTotal,0),o=r/t.length;r+=o*n.length;let i=0;t.forEach(e=>{i+=e.progress.bytesUploaded}),n.forEach(e=>{i+=o*(e.progress.percentage||0)/100});let a=0===r?0:Math.round(i/r*100);a>100&&(a=100),this.setState({totalProgress:a}),this.emit("progress",a)}updateOnlineStatus(){void 0===window.navigator.onLine||window.navigator.onLine?(this.emit("is-online"),this.wasOffline&&(this.emit("back-online"),this.info(this.i18n("connectedToInternet"),"success",3e3),this.wasOffline=!1)):(this.emit("is-offline"),this.info(this.i18n("noInternetConnection"),"error",0),this.wasOffline=!0)}getID(){return this.opts.id}use(e,t){if("function"!=typeof e)throw TypeError(`Expected a plugin class, but got ${null===e?"null":typeof e}. Please verify that the plugin was imported and spelled correctly.`);let n=new e(this,t),r=n.id;if(!r)throw Error("Your plugin must have an id");if(!n.type)throw Error("Your plugin must have a type");let o=this.getPlugin(r);if(o)throw Error(`Already found a plugin named '${o.id}'. Tried to use: '${r}'.-Uppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#id.`);return e.VERSION&&this.log(`Using ${r} v${e.VERSION}`),n.type in pq(this,p0)[p0]?pq(this,p0)[p0][n.type].push(n):pq(this,p0)[p0][n.type]=[n],n.install(),this}getPlugin(e){for(let t of Object.values(pq(this,p0)[p0])){let n=t.find(t=>t.id===e);if(null!=n)return n}}[r](e){return pq(this,p0)[p0][e]}iteratePlugins(e){Object.values(pq(this,p0)[p0]).flat(1).forEach(e)}removePlugin(e){this.log(`Removing plugin ${e.id}`),this.emit("plugin-remove",e),e.uninstall&&e.uninstall();let t=pq(this,p0)[p0][e.type],n=t.findIndex(t=>t.id===e.id);-1!==n&&t.splice(n,1);let r={plugins:{...this.getState().plugins,[e.id]:void 0}};this.setState(r)}close(){this.log(`Closing Uppy instance ${this.opts.id}: removing all files and uninstalling plugins`),this.reset(),pq(this,p1)[p1](),this.iteratePlugins(e=>{this.removePlugin(e)}),"undefined"!=typeof window&&window.removeEventListener&&(window.removeEventListener("online",pq(this,hi)[hi]),window.removeEventListener("offline",pq(this,hi)[hi]))}hideInfo(){let{info:e}=this.getState();this.setState({info:e.slice(1)}),this.emit("info-hidden")}info(e,t,n){void 0===t&&(t="info"),void 0===n&&(n=3e3);let r="object"==typeof e;this.setState({info:[...this.getState().info,{type:t,message:r?e.message:e,details:r?e.details:null}]}),setTimeout(()=>this.hideInfo(),n),this.emit("info-visible")}log(e,t){let{logger:n}=this.opts;switch(t){case"error":n.error(e);break;case"warning":n.warn(e);break;default:n.debug(e)}}restore(e){return this.log(`Core: attempting to restore upload "${e}"`),this.getState().currentUploads[e]?pq(this,hl)[hl](e):(pq(this,hs)[hs](e),Promise.reject(Error("Nonexistent upload")))}[o](){return pq(this,ha)[ha](...arguments)}addResultData(e,t){if(!pq(this,hu)[hu](e))return void this.log(`Not setting result for an upload that has been removed: ${e}`);let{currentUploads:n}=this.getState(),r={...n[e],result:{...n[e].result,...t}};this.setState({currentUploads:{...n,[e]:r}})}upload(){var e;null!=(e=pq(this,p0)[p0].uploader)&&e.length||this.log("No uploader type plugins are used","warning");let{files:t}=this.getState(),n=this.opts.onBeforeUpload(t);return!1===n?Promise.reject(Error("Not starting the upload because onBeforeUpload returned false")):(n&&"object"==typeof n&&(t=n,this.setState({files:t})),Promise.resolve().then(()=>{pq(this,p8)[p8](t),pq(this,p9)[p9](t)}).catch(e=>{pq(this,he)[he](e)}).then(()=>{let{currentUploads:e}=this.getState(),n=Object.values(e).flatMap(e=>e.fileIDs),r=[];Object.keys(t).forEach(e=>{let t=this.getFile(e);t.progress.uploadStarted||-1!==n.indexOf(e)||r.push(t.id)});let o=pq(this,ha)[ha](r);return pq(this,hl)[hl](o)}).catch(e=>{pq(this,he)[he](e,{showInformer:!1})}))}}function hf(e,t){void 0===t&&(t=this.getFiles());let{maxFileSize:n,minFileSize:r,maxTotalFileSize:o,maxNumberOfFiles:i,allowedFileTypes:a}=this.opts.restrictions;if(i&&t.length+1>i)throw new pJ(`${this.i18n("youCanOnlyUploadX",{smart_count:i})}`);if(a&&!a.some(t=>t.indexOf("/")>-1?!!e.type&&p_(e.type.replace(/;.*?$/,""),t):!("."!==t[0]||!e.extension)&&e.extension.toLowerCase()===t.substr(1).toLowerCase())){let e=a.join(", ");throw new pJ(this.i18n("youCanOnlyUploadFileTypes",{types:e}))}if(o&&null!=e.size){let n;if(n=0+e.size,t.forEach(e=>{n+=e.size}),n>o)throw new pJ(this.i18n("exceedsSize",{size:pB(o),file:e.name}))}if(n&&null!=e.size&&e.size>n)throw new pJ(this.i18n("exceedsSize",{size:pB(n),file:e.name}));if(r&&null!=e.size&&e.size<r)throw new pJ(this.i18n("inferiorSize",{size:pB(r)}))}function hd(e){let{minNumberOfFiles:t}=this.opts.restrictions;if(Object.keys(e).length<t)throw new pJ(`${this.i18n("youHaveToAtLeastSelectX",{smart_count:t})}`)}function hp(e){let{requiredMetaFields:t}=this.opts.restrictions,{hasOwnProperty:n}=Object.prototype,r=[],o=[];for(let i=0;i<t.length;i++)if(!n.call(e.meta,t[i])||""===e.meta[t[i]]){let n=new pJ(`${this.i18n("missingRequiredMetaFieldOnFile",{fileName:e.name})}`);r.push(n),o.push(t[i]),pq(this,he)[he](n,{file:e,showInformer:!1,throwErr:!1})}return this.setFileState(e.id,{missingRequiredMetaFields:o}),r}function hh(e){let t=Object.keys(e).flatMap(e=>{let t=this.getFile(e);return pq(this,p7)[p7](t)});if(t.length)throw new pQ(t,`${this.i18n("missingRequiredMetaField")}`)}function hg(e,t){let{showInformer:n=!0,file:r=null,throwErr:o=!0}=void 0===t?{}:t,i="object"==typeof e?e.message:e,a="object"==typeof e&&e.details?e.details:"",u=i;if(a&&(u+=` ${a}`),e.isRestriction?(this.log(u),this.emit("restriction-failed",r,e)):this.log(u,"error"),n&&this.info({message:i,details:a},"error",this.opts.infoTimeout),o)throw"object"==typeof e?e:Error(e)}function hv(e){let{allowNewUpload:t}=this.getState();!1===t&&pq(this,he)[he](new pJ(this.i18n("noMoreFilesAllowed")),{file:e})}function hy(e,t){var n;let r,o=function(e){var t;if(e.type)return e.type;let n=e.name?null==(t=pL(e.name).extension)?void 0:t.toLowerCase():null;return n&&n in pM?pM[n]:"application/octet-stream"}(t),i=t.name?t.name:"image"===o.split("/")[0]?`${o.split("/")[0]}.${o.split("/")[1]}`:"noname",a=pL(i).extension,u=!!t.isRemote,s=(n={...t,type:o},r="uppy","string"==typeof n.name&&(r+=`-${pz(n.name.toLowerCase())}`),void 0!==n.type&&(r+=`-${n.type}`),n.meta&&"string"==typeof n.meta.relativePath&&(r+=`-${pz(n.meta.relativePath.toLowerCase())}`),void 0!==n.data.size&&(r+=`-${n.data.size}`),void 0!==n.data.lastModified&&(r+=`-${n.data.lastModified}`),r);if(this.checkIfFileAlreadyExists(s)){let e=new pJ(this.i18n("noDuplicates",{fileName:i}));pq(this,he)[he](e,{file:t})}let l=t.meta||{};l.name=i,l.type=o;let c=Number.isFinite(t.data.size)?t.data.size:null,f={source:t.source||"",id:s,name:i,extension:a||"",meta:{...this.getState().meta,...l},type:o,data:t.data,progress:{percentage:0,bytesUploaded:0,bytesTotal:c,uploadComplete:!1,uploadStarted:null},size:c,isRemote:u,remote:t.remote||"",preview:t.preview},d=this.opts.onBeforeFileAdded(f,e);!1===d?pq(this,he)[he](new pJ("Cannot add the file because onBeforeFileAdded returned false."),{showInformer:!1,fileDescriptor:t}):"object"==typeof d&&null!==d&&(f=d);try{let t=Object.keys(e).map(t=>e[t]);pq(this,p5)[p5](f,t)}catch(e){pq(this,he)[he](e,{file:f})}return f}function hm(){this.opts.autoProceed&&!this.scheduledAutoProceed&&(this.scheduledAutoProceed=setTimeout(()=>{this.scheduledAutoProceed=null,this.upload().catch(e=>{e.isRestriction||this.log(e.stack||e.message||e)})},4))}function hb(){let e=(e,t,n)=>{let r=e.message||"Unknown error";e.details&&(r+=` ${e.details}`),this.setState({error:r}),null!=t&&t.id in this.getState().files&&this.setFileState(t.id,{error:r,response:n})};this.on("error",e),this.on("upload-error",(t,n,r)=>{if(e(n,t,r),"object"==typeof n&&n.message){let e=Error(n.message);e.details=n.message,n.details&&(e.details+=` ${n.details}`),e.message=this.i18n("failedToUpload",{file:t.name}),pq(this,he)[he](e,{throwErr:!1})}else pq(this,he)[he](n,{throwErr:!1})}),this.on("upload",()=>{this.setState({error:null})}),this.on("upload-started",e=>{this.getFile(e.id)?this.setFileState(e.id,{progress:{uploadStarted:Date.now(),uploadComplete:!1,percentage:0,bytesUploaded:0,bytesTotal:e.size}}):this.log(`Not setting progress for a file that has been removed: ${e.id}`)}),this.on("upload-progress",this.calculateProgress),this.on("upload-success",(e,t)=>{if(!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${e.id}`);let n=this.getFile(e.id).progress;this.setFileState(e.id,{progress:{...n,postprocess:pq(this,p6)[p6].size>0?{mode:"indeterminate"}:null,uploadComplete:!0,percentage:100,bytesUploaded:n.bytesTotal},response:t,uploadURL:t.uploadURL,isPaused:!1}),null==e.size&&this.setFileState(e.id,{size:t.bytesUploaded||n.bytesTotal}),this.calculateTotalProgress()}),this.on("preprocess-progress",(e,t)=>{this.getFile(e.id)?this.setFileState(e.id,{progress:{...this.getFile(e.id).progress,preprocess:t}}):this.log(`Not setting progress for a file that has been removed: ${e.id}`)}),this.on("preprocess-complete",e=>{if(!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${e.id}`);let t={...this.getState().files};t[e.id]={...t[e.id],progress:{...t[e.id].progress}},delete t[e.id].progress.preprocess,this.setState({files:t})}),this.on("postprocess-progress",(e,t)=>{this.getFile(e.id)?this.setFileState(e.id,{progress:{...this.getState().files[e.id].progress,postprocess:t}}):this.log(`Not setting progress for a file that has been removed: ${e.id}`)}),this.on("postprocess-complete",e=>{if(!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${e.id}`);let t={...this.getState().files};t[e.id]={...t[e.id],progress:{...t[e.id].progress}},delete t[e.id].progress.postprocess,this.setState({files:t})}),this.on("restored",()=>{this.calculateTotalProgress()}),this.on("dashboard:file-edit-complete",e=>{e&&pq(this,p7)[p7](e)}),"undefined"!=typeof window&&window.addEventListener&&(window.addEventListener("online",pq(this,hi)[hi]),window.addEventListener("offline",pq(this,hi)[hi]),setTimeout(pq(this,hi)[hi],3e3))}function hw(e,t){void 0===t&&(t={});let{forceAllowNewUpload:n=!1}=t,{allowNewUpload:r,currentUploads:o}=this.getState();if(!r&&!n)throw Error("Cannot create a new upload: already uploading.");let i=pZ();return this.emit("upload",{id:i,fileIDs:e}),this.setState({allowNewUpload:!1!==this.opts.allowMultipleUploadBatches&&!1!==this.opts.allowMultipleUploads,currentUploads:{...o,[i]:{fileIDs:e,step:0,result:{}}}}),i}function hE(e){let{currentUploads:t}=this.getState();return t[e]}function hD(e){let t={...this.getState().currentUploads};delete t[e],this.setState({currentUploads:t})}async function hS(e){let t,{currentUploads:n}=this.getState(),r=n[e],o=r.step||0,i=[...pq(this,p4)[p4],...pq(this,p3)[p3],...pq(this,p6)[p6]];try{for(let t=o;t<i.length&&r;t++){let o=i[t],a={...r,step:t};this.setState({currentUploads:{...n,[e]:a}}),await o(a.fileIDs,e),r=(n=this.getState().currentUploads)[e]}}catch(t){throw this.emit("error",t),pq(this,hs)[hs](e),t}if(r){r.fileIDs.forEach(e=>{let t=this.getFile(e);t&&t.progress.postprocess&&this.emit("postprocess-complete",t)});let t=r.fileIDs.map(e=>this.getFile(e)),o=t.filter(e=>!e.error),i=t.filter(e=>e.error);await this.addResultData(e,{successful:o,failed:i,uploadID:e}),r=(n=this.getState().currentUploads)[e]}return r&&(t=r.result,this.emit("complete",t),pq(this,hs)[hs](e)),null==t&&this.log(`Not setting result for an upload that has been removed: ${e}`),t}hc.VERSION="2.1.3";var hx=s(function(e,t){var n,r,o,i,a,u,s,l={},c=[],f=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function d(e,t){for(var n in t)e[n]=t[n];return e}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function h(e,t,r){var o,i,a,u={};for(a in t)"key"==a?o=t[a]:"ref"==a?i=t[a]:u[a]=t[a];if(arguments.length>2&&(u.children=arguments.length>3?n.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===u[a]&&(u[a]=e.defaultProps[a]);return g(e,u,o,i,null)}function g(e,t,n,i,a){var u={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++o:a};return null==a&&null!=r.vnode&&r.vnode(u),u}function v(e){return e.children}function y(e,t){this.props=e,this.context=t}function m(e,t){if(null==t)return e.__?m(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?m(e):null}function b(e){(!e.__d&&(e.__d=!0)&&i.push(e)&&!w.__r++||u!==r.debounceRendering)&&((u=r.debounceRendering)||a)(w)}function w(){for(var e;w.__r=i.length;)e=i.sort(function(e,t){return e.__v.__b-t.__v.__b}),i=[],e.some(function(e){var t,n,r,o,i;e.__d&&(o=(r=e.__v).__e,(i=e.__P)&&(t=[],(n=d({},r)).__v=r.__v+1,A(i,r,n,e.__n,void 0!==i.ownerSVGElement,null!=r.__h?[o]:null,t,null==o?m(r):o,r.__h),k(t,r),r.__e!=o&&function e(t){var n,r;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if(null!=(r=t.__k[n])&&null!=r.__e){t.__e=t.__c.base=r.__e;break}return e(t)}}(r)))})}function E(e,t,n,o,i,a,u,s,f,d){var h,y,b,w,E,S,x,C=o&&o.__k||c,O=C.length;for(n.__k=[],h=0;h<t.length;h++)if(null!=(w=n.__k[h]=null==(w=t[h])||"boolean"==typeof w?null:"string"==typeof w||"number"==typeof w||"bigint"==typeof w?g(null,w,null,null,w):Array.isArray(w)?g(v,{children:w},null,null,null):w.__b>0?g(w.type,w.props,w.key,null,w.__v):w)){if(w.__=n,w.__b=n.__b+1,null===(b=C[h])||b&&w.key==b.key&&w.type===b.type)C[h]=void 0;else for(y=0;y<O;y++){if((b=C[y])&&w.key==b.key&&w.type===b.type){C[y]=void 0;break}b=null}A(e,w,b=b||l,i,a,u,s,f,d),E=w.__e,(y=w.ref)&&b.ref!=y&&(x||(x=[]),b.ref&&x.push(b.ref,null,w),x.push(y,w.__c||E,w)),null!=E?(null==S&&(S=E),"function"==typeof w.type&&w.__k===b.__k?w.__d=f=function e(t,n,r){for(var o,i=t.__k,a=0;i&&a<i.length;a++)(o=i[a])&&(o.__=t,n="function"==typeof o.type?e(o,n,r):D(r,o,o,i,o.__e,n));return n}(w,f,e):f=D(e,w,b,C,E,f),"function"==typeof n.type&&(n.__d=f)):f&&b.__e==f&&f.parentNode!=e&&(f=m(b))}for(n.__e=S,h=O;h--;)null!=C[h]&&("function"==typeof n.type&&null!=C[h].__e&&C[h].__e==n.__d&&(n.__d=m(o,h+1)),function e(t,n,o){var i,a;if(r.unmount&&r.unmount(t),(i=t.ref)&&(i.current&&i.current!==t.__e||T(i,null,n)),null!=(i=t.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){r.__e(e,n)}i.base=i.__P=null}if(i=t.__k)for(a=0;a<i.length;a++)i[a]&&e(i[a],n,"function"!=typeof t.type);o||null==t.__e||p(t.__e),t.__e=t.__d=void 0}(C[h],C[h]));if(x)for(h=0;h<x.length;h++)T(x[h],x[++h],x[++h])}function D(e,t,n,r,o,i){var a,u,s;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),a=null;else{for(u=i,s=0;(u=u.nextSibling)&&s<r.length;s+=2)if(u==o)break e;e.insertBefore(o,i),a=i}return void 0!==a?a:o.nextSibling}function S(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||f.test(t)?n:n+"px"}function x(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||S(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||S(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?O:C,i):e.removeEventListener(t,i?O:C,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function C(e){this.l[e.type+!1](r.event?r.event(e):e)}function O(e){this.l[e.type+!0](r.event?r.event(e):e)}function A(e,t,o,i,a,u,s,c,f){var h,g,b,w,D,S,C,O,A,k,T,F=t.type;if(void 0!==t.constructor)return null;null!=o.__h&&(f=o.__h,c=t.__e=o.__e,t.__h=null,u=[c]),(h=r.__b)&&h(t);try{e:if("function"==typeof F){if(O=t.props,A=(h=F.contextType)&&i[h.__c],k=h?A?A.props.value:h.__:i,o.__c?C=(g=t.__c=o.__c).__=g.__E:("prototype"in F&&F.prototype.render?t.__c=g=new F(O,k):(t.__c=g=new y(O,k),g.constructor=F,g.render=B),A&&A.sub(g),g.props=O,g.state||(g.state={}),g.context=k,g.__n=i,b=g.__d=!0,g.__h=[]),null==g.__s&&(g.__s=g.state),null!=F.getDerivedStateFromProps&&(g.__s==g.state&&(g.__s=d({},g.__s)),d(g.__s,F.getDerivedStateFromProps(O,g.__s))),w=g.props,D=g.state,b)null==F.getDerivedStateFromProps&&null!=g.componentWillMount&&g.componentWillMount(),null!=g.componentDidMount&&g.__h.push(g.componentDidMount);else{if(null==F.getDerivedStateFromProps&&O!==w&&null!=g.componentWillReceiveProps&&g.componentWillReceiveProps(O,k),!g.__e&&null!=g.shouldComponentUpdate&&!1===g.shouldComponentUpdate(O,g.__s,k)||t.__v===o.__v){g.props=O,g.state=g.__s,t.__v!==o.__v&&(g.__d=!1),g.__v=t,t.__e=o.__e,t.__k=o.__k,t.__k.forEach(function(e){e&&(e.__=t)}),g.__h.length&&s.push(g);break e}null!=g.componentWillUpdate&&g.componentWillUpdate(O,g.__s,k),null!=g.componentDidUpdate&&g.__h.push(function(){g.componentDidUpdate(w,D,S)})}g.context=k,g.props=O,g.state=g.__s,(h=r.__r)&&h(t),g.__d=!1,g.__v=t,g.__P=e,h=g.render(g.props,g.state,g.context),g.state=g.__s,null!=g.getChildContext&&(i=d(d({},i),g.getChildContext())),b||null==g.getSnapshotBeforeUpdate||(S=g.getSnapshotBeforeUpdate(w,D)),T=null!=h&&h.type===v&&null==h.key?h.props.children:h,E(e,Array.isArray(T)?T:[T],t,o,i,a,u,s,c,f),g.base=t.__e,t.__h=null,g.__h.length&&s.push(g),C&&(g.__E=g.__=null),g.__e=!1}else null==u&&t.__v===o.__v?(t.__k=o.__k,t.__e=o.__e):t.__e=function(e,t,r,o,i,a,u,s){var c,f,d,h=r.props,g=t.props,v=t.type,y=0;if("svg"===v&&(i=!0),null!=a){for(;y<a.length;y++)if((c=a[y])&&"setAttribute"in c==!!v&&(v?c.localName===v:3===c.nodeType)){e=c,a[y]=null;break}}if(null==e){if(null===v)return document.createTextNode(g);e=i?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,g.is&&g),a=null,s=!1}if(null===v)h===g||s&&e.data===g||(e.data=g);else{if(a=a&&n.call(e.childNodes),f=(h=r.props||l).dangerouslySetInnerHTML,d=g.dangerouslySetInnerHTML,!s){if(null!=a)for(h={},y=0;y<e.attributes.length;y++)h[e.attributes[y].name]=e.attributes[y].value;(d||f)&&(d&&(f&&d.__html==f.__html||d.__html===e.innerHTML)||(e.innerHTML=d&&d.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||x(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||x(e,i,t[i],n[i],r)}(e,g,h,i,s),d)t.__k=[];else if(E(e,Array.isArray(y=t.props.children)?y:[y],t,r,o,i&&"foreignObject"!==v,a,u,a?a[0]:r.__k&&m(r,0),s),null!=a)for(y=a.length;y--;)null!=a[y]&&p(a[y]);s||("value"in g&&void 0!==(y=g.value)&&(y!==h.value||y!==e.value||"progress"===v&&!y)&&x(e,"value",y,h.value,!1),"checked"in g&&void 0!==(y=g.checked)&&y!==e.checked&&x(e,"checked",y,h.checked,!1))}return e}(o.__e,t,o,i,a,u,s,f);(h=r.diffed)&&h(t)}catch(e){t.__v=null,(f||null!=u)&&(t.__e=c,t.__h=!!f,u[u.indexOf(c)]=null),r.__e(e,t,o)}}function k(e,t){r.__c&&r.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){r.__e(e,t.__v)}})}function T(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){r.__e(e,n)}}function B(e,t,n){return this.constructor(e,n)}function F(e,t,o){var i,a,u;r.__&&r.__(e,t),a=(i="function"==typeof o)?null:o&&o.__k||t.__k,u=[],A(t,e=(!i&&o||t).__k=h(v,null,[e]),a||l,l,void 0!==t.ownerSVGElement,!i&&o?[o]:a?null:t.firstChild?n.call(t.childNodes):null,u,!i&&o?o:a?a.__e:t.firstChild,i),k(u,e)}n=c.slice,r={__e:function(e,t){for(var n,r,o;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),o=n.__d),o)return n.__E=n}catch(t){e=t}throw e}},o=0,y.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d({},this.state),"function"==typeof e&&(e=e(d({},n),this.props)),e&&d(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),b(this))},y.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),b(this))},y.prototype.render=v,i=[],a="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,w.__r=0,s=0,t.Component=y,t.Fragment=v,t.cloneElement=function(e,t,r){var o,i,a,u=d({},e.props);for(a in t)"key"==a?o=t[a]:"ref"==a?i=t[a]:u[a]=t[a];return arguments.length>2&&(u.children=arguments.length>3?n.call(arguments,2):r),g(e.type,u,o||e.key,i||e.ref,null)},t.createContext=function(e,t){var n={__c:t="__cC"+s++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(b)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n},t.createElement=h,t.createRef=function(){return{current:null}},t.h=h,t.hydrate=function e(t,n){F(t,n,e)},t.isValidElement=function(e){return null!=e&&void 0===e.constructor},t.options=r,t.render=F,t.toChildArray=function e(t,n){return n=n||[],null==t||"boolean"==typeof t||(Array.isArray(t)?t.some(function(t){e(t,n)}):n.push(t)),n}}),hC=class{constructor(e,t){void 0===t&&(t={}),this.uppy=e,this.opts=t}getPluginState(){let{plugins:e}=this.uppy.getState();return e[this.id]||{}}setPluginState(e){let{plugins:t}=this.uppy.getState();this.uppy.setState({plugins:{...t,[this.id]:{...t[this.id],...e}}})}setOptions(e){this.opts={...this.opts,...e},this.setPluginState(),this.i18nInit()}i18nInit(){let e=new pS([this.defaultLocale,this.uppy.locale,this.opts.locale]);this.i18n=e.translate.bind(e),this.i18nArray=e.translateArray.bind(e),this.setPluginState()}addTarget(){throw Error("Extend the addTarget method to add your plugin to another plugin's target")}install(){}uninstall(){}render(){throw Error("Extend the render method to add your plugin to a DOM element")}update(){}afterUpdate(){}};function hO(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var hA=0;let{render:hk}=hx;var hT="__private_"+hA+++"_updateUI";class hB extends hC{constructor(){super(...arguments),Object.defineProperty(this,hT,{writable:!0,value:void 0})}mount(e,t){var n,r,o;let i,a=t.id,u=(n=e,void 0===r&&(r=document),"string"==typeof n?r.querySelector(n):(null==n?void 0:n.nodeType)===Node.ELEMENT_NODE?n:null);if(u){let t,n;this.isTargetDOMEl=!0;let r=document.createDocumentFragment();return hO(this,hT)[hT]=(o=e=>{this.uppy.getPlugin(this.id)&&(hk(this.render(e),r),this.afterUpdate())},t=null,n=null,function(){for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];return n=r,t||(t=Promise.resolve().then(()=>(t=null,o(...n)))),t}),this.uppy.log(`Installing ${a} to a DOM element '${e}'`),this.opts.replaceTargetContent&&(u.innerHTML=""),hk(this.render(this.uppy.getState()),r),this.el=r.firstElementChild,u.appendChild(r),this.onMount(),this.el}if("object"==typeof e&&e instanceof hB?i=e:"function"==typeof e&&this.uppy.iteratePlugins(t=>{if(t instanceof e)return i=t,!1}),i)return this.uppy.log(`Installing ${a} to ${i.id}`),this.parent=i,this.el=i.addTarget(t),this.onMount(),this.el;this.uppy.log(`Not installing ${a}`);let s=`Invalid target option given to ${a}.`;throw Error(s+="function"==typeof e?" The given target is not a Plugin class. Please check that you're not specifying a React Component instead of a plugin. If you are using @uppy/* packages directly, make sure you have only 1 version of @uppy/core installed: run `npm ls @uppy/core` on the command line and verify that all the versions match and are deduped correctly.":"If you meant to target an HTML element, please make sure that the element exists. Check that the <script> tag initializing Uppy is right before the closing </body> tag at the end of the page. (see https://github.com/transloadit/uppy/issues/1042)\n\nIf you meant to target a plugin, please confirm that your `import` statements or `require` calls are correct.")}update(e){var t,n;null!=this.el&&(null==(t=(n=hO(this,hT))[hT])||t.call(n,e))}unmount(){var e;this.isTargetDOMEl&&(null==(e=this.el)||e.remove()),this.onUnmount()}onMount(){}onUnmount(){}}let{debugLogger:hF}=pV;hc.Uppy=hc,hc.UIPlugin=hB,hc.BasePlugin=hC,hc.debugLogger=hF;var hP,h_,hj,hI,hN,hR=class extends Error{constructor(e,t){void 0===t&&(t=null),super("This looks like a network error, the endpoint might be blocked by an internet provider or a firewall."),this.cause=e,this.isNetworkError=!0,this.request=t}},hL=function(){return fetch(...arguments).catch(e=>{throw"AbortError"===e.name?e:new hR(e)})},hM=class extends Error{constructor(){super("Authorization required"),this.name="AuthError",this.isAuthError=!0}};function hz(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var h$=0;function hH(e){return"__private_"+h$+++"_"+e}async function hU(e){if(401===e.status)throw new hM;let t=e.json();if(e.status<200||e.status>300){let n=`Failed request with status: ${e.status}. ${e.statusText}`;try{let e=await t;n=e.message?`${n} message: ${e.message}`:n,n=e.requestId?`${n} request-Id: ${e.requestId}`:n}finally{throw Error(n)}}return t}var hV=(h_=hH("getPostResponseFunc"),hj=hH("getUrl"),hI=hH("errorHandler"),hN=hP=class e{constructor(e,t){Object.defineProperty(this,hI,{value:hq}),Object.defineProperty(this,hj,{value:hW}),Object.defineProperty(this,h_,{writable:!0,value:e=>t=>e?t:this.onReceiveResponse(t)}),this.uppy=e,this.opts=t,this.onReceiveResponse=this.onReceiveResponse.bind(this),this.allowedHeaders=["accept","content-type","uppy-auth-token"],this.preflightDone=!1}get hostname(){let{companion:e}=this.uppy.getState(),t=this.opts.companionUrl;return(e&&e[t]?e[t]:t).replace(/\/$/,"")}headers(){let t=this.opts.companionHeaders||{};return Promise.resolve({...e.defaultHeaders,...t})}onReceiveResponse(e){let t=this.uppy.getState().companion||{},n=this.opts.companionUrl,{headers:r}=e;return r.has("i-am")&&r.get("i-am")!==t[n]&&this.uppy.setState({companion:{...t,[n]:r.get("i-am")}}),e}preflight(e){return this.preflightDone?Promise.resolve(this.allowedHeaders.slice()):fetch(hz(this,hj)[hj](e),{method:"OPTIONS"}).then(e=>(e.headers.has("access-control-allow-headers")&&(this.allowedHeaders=e.headers.get("access-control-allow-headers").split(",").map(e=>e.trim().toLowerCase())),this.preflightDone=!0,this.allowedHeaders.slice())).catch(e=>(this.uppy.log(`[CompanionClient] unable to make preflight request ${e}`,"warning"),this.preflightDone=!0,this.allowedHeaders.slice()))}preflightAndHeaders(e){return Promise.all([this.preflight(e),this.headers()]).then(e=>{let[t,n]=e;return Object.keys(n).forEach(e=>{t.includes(e.toLowerCase())||(this.uppy.log(`[CompanionClient] excluding disallowed header ${e}`),delete n[e])}),n})}get(e,t){return this.preflightAndHeaders(e).then(t=>hL(hz(this,hj)[hj](e),{method:"get",headers:t,credentials:this.opts.companionCookiesRule||"same-origin"})).then(hz(this,h_)[h_](t)).then(hU).catch(hz(this,hI)[hI]("get",e))}post(e,t,n){let r="post";return this.preflightAndHeaders(e).then(n=>hL(hz(this,hj)[hj](e),{method:r,headers:n,credentials:this.opts.companionCookiesRule||"same-origin",body:JSON.stringify(t)})).then(hz(this,h_)[h_](n)).then(hU).catch(hz(this,hI)[hI](r,e))}delete(e,t,n){let r="delete";return this.preflightAndHeaders(e).then(n=>hL(`${this.hostname}/${e}`,{method:r,headers:n,credentials:this.opts.companionCookiesRule||"same-origin",body:t?JSON.stringify(t):null})).then(hz(this,h_)[h_](n)).then(hU).catch(hz(this,hI)[hI](r,e))}},hP.VERSION="2.0.4",hP.defaultHeaders={Accept:"application/json","Content-Type":"application/json","Uppy-Versions":`@uppy/companion-client=${hP.VERSION}`},hN);function hW(e){return/^(https?:|)\/\//.test(e)?e:`${this.hostname}/${e}`}function hq(e,t){return n=>{var r;if(null==(r=n)||!r.isAuthError){let r=Error(`Could not ${e} ${hz(this,hj)[hj](t)}`);r.cause=n,n=r}return Promise.reject(n)}}var hG={setItem:(e,t)=>new Promise(n=>{localStorage.setItem(e,t),n()}),getItem:e=>Promise.resolve(localStorage.getItem(e)),removeItem:e=>new Promise(t=>{localStorage.removeItem(e),t()})};function hK(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var hZ=0;function hX(e){return"__private_"+hZ+++"_"+e}var hY,hJ,hQ,h0,h1,h2,h4,h3=(hY=hX("queued"),hJ=hX("emitter"),hQ=hX("isOpen"),h0=hX("socket"),h1=hX("handleMessage"),i=Symbol.for("uppy test: getSocket"),a=Symbol.for("uppy test: getQueued"),class{constructor(e){Object.defineProperty(this,hY,{writable:!0,value:[]}),Object.defineProperty(this,hJ,{writable:!0,value:pC()}),Object.defineProperty(this,hQ,{writable:!0,value:!1}),Object.defineProperty(this,h0,{writable:!0,value:void 0}),Object.defineProperty(this,h1,{writable:!0,value:e=>{try{let t=JSON.parse(e.data);this.emit(t.action,t.payload)}catch(e){console.log(e)}}}),this.opts=e,e&&!1===e.autoOpen||this.open()}get isOpen(){return hK(this,hQ)[hQ]}[i](){return hK(this,h0)[h0]}[a](){return hK(this,hY)[hY]}open(){hK(this,h0)[h0]=new WebSocket(this.opts.target),hK(this,h0)[h0].onopen=()=>{for(hK(this,hQ)[hQ]=!0;hK(this,hY)[hY].length>0&&hK(this,hQ)[hQ];){let e=hK(this,hY)[hY].shift();this.send(e.action,e.payload)}},hK(this,h0)[h0].onclose=()=>{hK(this,hQ)[hQ]=!1},hK(this,h0)[h0].onmessage=hK(this,h1)[h1]}close(){var e;null==(e=hK(this,h0)[h0])||e.close()}send(e,t){hK(this,hQ)[hQ]?hK(this,h0)[h0].send(JSON.stringify({action:e,payload:t})):hK(this,hY)[hY].push({action:e,payload:t})}on(e,t){hK(this,hJ)[hJ].on(e,t)}emit(e,t){hK(this,hJ)[hJ].emit(e,t)}once(e,t){hK(this,hJ)[hJ].once(e,t)}}),h6=f4(function(e,t,n){let{progress:r,bytesUploaded:o,bytesTotal:i}=t;r&&(e.uppy.log(`Upload progress: ${r}`),e.uppy.emit("upload-progress",n,{uploader:e,bytesUploaded:o,bytesTotal:i}))},300,{leading:!0,trailing:!0});function h5(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var h8=0;function h7(e){return"__private_"+h8+++"_"+e}var h9=(h2=h7("emitter"),h4=h7("events"),class{constructor(e){Object.defineProperty(this,h2,{writable:!0,value:void 0}),Object.defineProperty(this,h4,{writable:!0,value:[]}),h5(this,h2)[h2]=e}on(e,t){return h5(this,h4)[h4].push([e,t]),h5(this,h2)[h2].on(e,t)}remove(){for(let[e,t]of h5(this,h4)[h4].splice(0))h5(this,h2)[h2].off(e,t)}});function ge(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var gt=0;function gn(e){return"__private_"+gt+++"_"+e}var gr=gn("aliveTimer"),go=gn("isDone"),gi=gn("onTimedOut"),ga=gn("timeout"),gu=class{constructor(e,t){Object.defineProperty(this,gr,{writable:!0,value:void 0}),Object.defineProperty(this,go,{writable:!0,value:!1}),Object.defineProperty(this,gi,{writable:!0,value:void 0}),Object.defineProperty(this,ga,{writable:!0,value:void 0}),ge(this,ga)[ga]=e,ge(this,gi)[gi]=t}progress(){ge(this,go)[go]||ge(this,ga)[ga]>0&&(clearTimeout(ge(this,gr)[gr]),ge(this,gr)[gr]=setTimeout(ge(this,gi)[gi],ge(this,ga)[ga]))}done(){ge(this,go)[go]||(clearTimeout(ge(this,gr)[gr]),ge(this,gr)[gr]=null,ge(this,go)[go]=!0)}};function gs(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var gl=0;function gc(e){return"__private_"+gl+++"_"+e}var gf=gc("activeRequests"),gd=gc("queuedHandlers"),gp=gc("call"),gh=gc("queueNext"),gg=gc("next"),gv=gc("queue"),gy=gc("dequeue");function gm(e){gs(this,gf)[gf]+=1;let t,n=!1;try{t=e()}catch(e){throw gs(this,gf)[gf]-=1,e}return{abort:()=>{n||(n=!0,gs(this,gf)[gf]-=1,t(),gs(this,gh)[gh]())},done:()=>{n||(n=!0,gs(this,gf)[gf]-=1,gs(this,gh)[gh]())}}}function gb(){queueMicrotask(()=>gs(this,gg)[gg]())}function gw(){if(gs(this,gf)[gf]>=this.limit||0===gs(this,gd)[gd].length)return;let e=gs(this,gd)[gd].shift(),t=gs(this,gp)[gp](e.fn);e.abort=t.abort,e.done=t.done}function gE(e,t){void 0===t&&(t={});let n={fn:e,priority:t.priority||0,abort:()=>{gs(this,gy)[gy](n)},done:()=>{throw Error("Cannot mark a queued request as done: this indicates a bug")}},r=gs(this,gd)[gd].findIndex(e=>n.priority>e.priority);return -1===r?gs(this,gd)[gd].push(n):gs(this,gd)[gd].splice(r,0,n),n}function gD(e){let t=gs(this,gd)[gd].indexOf(e);-1!==t&&gs(this,gd)[gd].splice(t,1)}var gS,gx,gC={RateLimitedQueue:class{constructor(e){Object.defineProperty(this,gy,{value:gD}),Object.defineProperty(this,gv,{value:gE}),Object.defineProperty(this,gg,{value:gw}),Object.defineProperty(this,gh,{value:gb}),Object.defineProperty(this,gp,{value:gm}),Object.defineProperty(this,gf,{writable:!0,value:0}),Object.defineProperty(this,gd,{writable:!0,value:[]}),this.limit="number"!=typeof e||0===e?1/0:e}run(e,t){return gs(this,gf)[gf]<this.limit?gs(this,gp)[gp](e):gs(this,gv)[gv](e,t)}wrapPromiseFunction(e,t){var n=this;return function(){let r;for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];let u=new Promise((o,a)=>{r=n.run(()=>{let t,n;try{n=Promise.resolve(e(...i))}catch(e){n=Promise.reject(e)}return n.then(e=>{t?a(t):(r.done(),o(e))},e=>{t?a(t):(r.done(),a(e))}),()=>{t=Error("Cancelled")}},t)});return u.abort=()=>{r.abort()},u}}},internalRateLimitedQueue:Symbol("__queue")},gO=function(e){return!!e&&(0!==e.readyState&&4!==e.readyState||0===e.status)},gA={strings:{timedOut:"Upload stalled for %{seconds} seconds, aborting."}};let{nanoid:gk}=pT,{Provider:gT,RequestClient:gB,Socket:gF}={RequestClient:hV,Provider:class extends hV{constructor(e,t){super(e,t),this.provider=t.provider,this.id=this.provider,this.name=this.opts.name||this.id.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" "),this.pluginId=this.opts.pluginId,this.tokenKey=`companion-${this.pluginId}-auth-token`,this.companionKeysParams=this.opts.companionKeysParams,this.preAuthToken=null}headers(){return Promise.all([super.headers(),this.getAuthToken()]).then(e=>{let[t,n]=e,r={};return n&&(r["uppy-auth-token"]=n),this.companionKeysParams&&(r["uppy-credentials-params"]=btoa(JSON.stringify({params:this.companionKeysParams}))),{...t,...r}})}onReceiveResponse(e){e=super.onReceiveResponse(e);let t=this.uppy.getPlugin(this.pluginId),n=t.getPluginState().authenticated?401!==e.status:e.status<400;return t.setPluginState({authenticated:n}),e}setAuthToken(e){return this.uppy.getPlugin(this.pluginId).storage.setItem(this.tokenKey,e)}getAuthToken(){return this.uppy.getPlugin(this.pluginId).storage.getItem(this.tokenKey)}authUrl(e){return void 0===e&&(e={}),this.preAuthToken&&(e.uppyPreAuthToken=this.preAuthToken),`${this.hostname}/${this.id}/connect?${new URLSearchParams(e)}`}fileUrl(e){return`${this.hostname}/${this.id}/get/${e}`}fetchPreAuthToken(){return this.companionKeysParams?this.post(`${this.id}/preauth/`,{params:this.companionKeysParams}).then(e=>{this.preAuthToken=e.token}).catch(e=>{this.uppy.log(`[CompanionClient] unable to fetch preAuthToken ${e}`,"warning")}):Promise.resolve()}list(e){return this.get(`${this.id}/list/${e||""}`)}logout(){return this.get(`${this.id}/logout`).then(e=>Promise.all([e,this.uppy.getPlugin(this.pluginId).storage.removeItem(this.tokenKey)])).then(e=>{let[t]=e;return t})}static initPlugin(e,t,n){if(e.type="acquirer",e.files=[],n&&(e.opts={...n,...t}),t.serverUrl||t.serverPattern)throw Error("`serverUrl` and `serverPattern` have been renamed to `companionUrl` and `companionAllowedHosts` respectively in the 0.30.5 release. Please consult the docs (for example, https://uppy.io/docs/instagram/ for the Instagram plugin) and use the updated options.`");if(t.companionAllowedHosts){let n=t.companionAllowedHosts;if(!("string"==typeof n||Array.isArray(n)||n instanceof RegExp))throw TypeError(`${e.id}: the option "companionAllowedHosts" must be one of string, Array, RegExp`);e.opts.companionAllowedHosts=n}else/^(?!https?:\/\/).*$/i.test(t.companionUrl)?e.opts.companionAllowedHosts=`https://${t.companionUrl.replace(/^\/\//,"")}`:e.opts.companionAllowedHosts=new URL(t.companionUrl).origin;e.storage=e.opts.storage||hG}},SearchProvider:class extends hV{constructor(e,t){super(e,t),this.provider=t.provider,this.id=this.provider,this.name=this.opts.name||this.id.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" "),this.pluginId=this.opts.pluginId}fileUrl(e){return`${this.hostname}/search/${this.id}/get/${e}`}search(e,t){return t=t?`&${t}`:"",this.get(`search/${this.id}/list?q=${encodeURIComponent(e)}${t}`)}},Socket:h3},{RateLimitedQueue:gP,internalRateLimitedQueue:g_}=gC;function gj(e,t){let n=t;return n||(n=Error("Upload error")),"string"==typeof n&&(n=Error(n)),n instanceof Error||(n=Object.assign(Error("Upload error"),{data:n})),gO(e)?n=new hR(n,e):(n.request=e,n)}function gI(e){return e.data.slice(0,e.data.size,e.meta.type)}var gN=(gx=gS=class extends hC{constructor(e,t){super(e,t),this.type="uploader",this.id=this.opts.id||"XHRUpload",this.title="XHRUpload",this.defaultLocale=gA;let n={formData:!0,fieldName:t.bundle?"files[]":"file",method:"post",metaFields:null,responseUrlFieldName:"url",bundle:!1,headers:{},timeout:3e4,limit:5,withCredentials:!1,responseType:"",getResponseData(t){let n={};try{n=JSON.parse(t)}catch(t){e.log(t)}return n},getResponseError(e,t){let n=Error("Upload error");return gO(t)&&(n=new hR(n,t)),n},validateStatus:e=>e>=200&&e<300};if(this.opts={...n,...t},this.i18nInit(),this.handleUpload=this.handleUpload.bind(this),g_ in this.opts?this.requests=this.opts[g_]:this.requests=new gP(this.opts.limit),this.opts.bundle&&!this.opts.formData)throw Error("`opts.formData` must be true when `opts.bundle` is enabled.");this.uploaderEvents=Object.create(null)}getOptions(e){let t=this.uppy.getState().xhrUpload,{headers:n}=this.opts,r={...this.opts,...t||{},...e.xhrUpload||{},headers:{}};return"function"==typeof n?r.headers=n(e):Object.assign(r.headers,this.opts.headers),t&&Object.assign(r.headers,t.headers),e.xhrUpload&&Object.assign(r.headers,e.xhrUpload.headers),r}addMetadata(e,t,n){(Array.isArray(n.metaFields)?n.metaFields:Object.keys(t)).forEach(n=>{e.append(n,t[n])})}createFormDataUpload(e,t){let n=new FormData;this.addMetadata(n,e.meta,t);let r=gI(e);return e.name?n.append(t.fieldName,r,e.meta.name):n.append(t.fieldName,r),n}createBundledUpload(e,t){let n=new FormData,{meta:r}=this.uppy.getState();return this.addMetadata(n,r,t),e.forEach(e=>{let t=this.getOptions(e),r=gI(e);e.name?n.append(t.fieldName,r,e.name):n.append(t.fieldName,r)}),n}upload(e,t,n){let r=this.getOptions(e);return this.uppy.log(`uploading ${t} of ${n}`),new Promise((t,n)=>{this.uppy.emit("upload-started",e);let o=r.formData?this.createFormDataUpload(e,r):e.data,i=new XMLHttpRequest;this.uploaderEvents[e.id]=new h9(this.uppy);let a=new gu(r.timeout,()=>{i.abort(),s.done();let t=Error(this.i18n("timedOut",{seconds:Math.ceil(r.timeout/1e3)}));this.uppy.emit("upload-error",e,t),n(t)}),u=gk();i.upload.addEventListener("loadstart",()=>{this.uppy.log(`[XHRUpload] ${u} started`)}),i.upload.addEventListener("progress",t=>{this.uppy.log(`[XHRUpload] ${u} progress: ${t.loaded} / ${t.total}`),a.progress(),t.lengthComputable&&this.uppy.emit("upload-progress",e,{uploader:this,bytesUploaded:t.loaded,bytesTotal:t.total})}),i.addEventListener("load",o=>{if(this.uppy.log(`[XHRUpload] ${u} finished`),a.done(),s.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),r.validateStatus(o.target.status,i.responseText,i)){let n=r.getResponseData(i.responseText,i),a=n[r.responseUrlFieldName],u={status:o.target.status,body:n,uploadURL:a};return this.uppy.emit("upload-success",e,u),a&&this.uppy.log(`Download ${e.name} from ${a}`),t(e)}let l=r.getResponseData(i.responseText,i),c=gj(i,r.getResponseError(i.responseText,i)),f={status:o.target.status,body:l};return this.uppy.emit("upload-error",e,c,f),n(c)}),i.addEventListener("error",()=>{this.uppy.log(`[XHRUpload] ${u} errored`),a.done(),s.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null);let t=gj(i,r.getResponseError(i.responseText,i));return this.uppy.emit("upload-error",e,t),n(t)}),i.open(r.method.toUpperCase(),r.endpoint,!0),i.withCredentials=r.withCredentials,""!==r.responseType&&(i.responseType=r.responseType);let s=this.requests.run(()=>{this.uppy.emit("upload-started",e);let t=this.getOptions(e);return Object.keys(t.headers).forEach(e=>{i.setRequestHeader(e,t.headers[e])}),i.send(o),()=>{a.done(),i.abort()}});this.onFileRemove(e.id,()=>{s.abort(),n(Error("File removed"))}),this.onCancelAll(e.id,()=>{s.abort(),n(Error("Upload cancelled"))})})}uploadRemote(e){let t=this.getOptions(e);return new Promise((n,r)=>{this.uppy.emit("upload-started",e);let o={};(Array.isArray(t.metaFields)?t.metaFields:Object.keys(e.meta)).forEach(t=>{o[t]=e.meta[t]}),new(e.remote.providerOptions.provider?gT:gB)(this.uppy,e.remote.providerOptions).post(e.remote.url,{...e.remote.body,endpoint:t.endpoint,size:e.data.size,fieldname:t.fieldName,metadata:o,httpMethod:t.method,useFormData:t.formData,headers:t.headers}).then(o=>{let{token:i}=o,a=function(e){let t=/^(?:https?:\/\/|\/\/)?(?:[^@\n]+@)?(?:www\.)?([^\n]+)/i.exec(e)[1];return`${/^http:\/\//i.test(e)?"ws":"wss"}://${t}`}(e.remote.companionUrl),u=new gF({target:`${a}/api/${i}`,autoOpen:!1});this.uploaderEvents[e.id]=new h9(this.uppy),this.onFileRemove(e.id,()=>{u.send("cancel",{}),s.abort(),n(`upload ${e.id} was removed`)}),this.onCancelAll(e.id,()=>{u.send("cancel",{}),s.abort(),n(`upload ${e.id} was canceled`)}),this.onRetry(e.id,()=>{u.send("pause",{}),u.send("resume",{})}),this.onRetryAll(e.id,()=>{u.send("pause",{}),u.send("resume",{})}),u.on("progress",t=>h6(this,t,e)),u.on("success",r=>{let o=t.getResponseData(r.response.responseText,r.response),i=o[t.responseUrlFieldName],a={status:r.response.status,body:o,uploadURL:i};return this.uppy.emit("upload-success",e,a),s.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),n()}),u.on("error",n=>{let o=n.response,i=o?t.getResponseError(o.responseText,o):Object.assign(Error(n.error.message),{cause:n.error});this.uppy.emit("upload-error",e,i),s.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),r(i)});let s=this.requests.run(()=>(u.open(),e.isPaused&&u.send("pause",{}),()=>u.close()))}).catch(t=>{this.uppy.emit("upload-error",e,t),r(t)})})}uploadBundle(e){return new Promise((t,n)=>{let{endpoint:r}=this.opts,{method:o}=this.opts,i=this.uppy.getState().xhrUpload,a=this.createBundledUpload(e,{...this.opts,...i||{}}),u=new XMLHttpRequest,s=new gu(this.opts.timeout,()=>{u.abort();let e=Error(this.i18n("timedOut",{seconds:Math.ceil(this.opts.timeout/1e3)}));l(e),n(e)}),l=t=>{e.forEach(e=>{this.uppy.emit("upload-error",e,t)})};u.upload.addEventListener("loadstart",()=>{this.uppy.log("[XHRUpload] started uploading bundle"),s.progress()}),u.upload.addEventListener("progress",t=>{s.progress(),t.lengthComputable&&e.forEach(e=>{this.uppy.emit("upload-progress",e,{uploader:this,bytesUploaded:t.loaded/t.total*e.size,bytesTotal:e.size})})}),u.addEventListener("load",r=>{if(s.done(),this.opts.validateStatus(r.target.status,u.responseText,u)){let n=this.opts.getResponseData(u.responseText,u),o={status:r.target.status,body:n};return e.forEach(e=>{this.uppy.emit("upload-success",e,o)}),t()}let o=this.opts.getResponseError(u.responseText,u)||Error("Upload error");return o.request=u,l(o),n(o)}),u.addEventListener("error",()=>{s.done();let e=this.opts.getResponseError(u.responseText,u)||Error("Upload error");return l(e),n(e)}),this.uppy.on("cancel-all",()=>{s.done(),u.abort()}),u.open(o.toUpperCase(),r,!0),u.withCredentials=this.opts.withCredentials,""!==this.opts.responseType&&(u.responseType=this.opts.responseType),Object.keys(this.opts.headers).forEach(e=>{u.setRequestHeader(e,this.opts.headers[e])}),u.send(a),e.forEach(e=>{this.uppy.emit("upload-started",e)})})}uploadFiles(e){var t=e.map((t,n)=>{let r=parseInt(n,10)+1,o=e.length;return t.error?Promise.reject(Error(t.error)):t.isRemote?this.uploadRemote(t,r,o):this.upload(t,r,o)});let n=[],r=[];function o(e){n.push(e)}function i(e){r.push(e)}return Promise.all(t.map(e=>e.then(o,i))).then(()=>({successful:n,failed:r}))}onFileRemove(e,t){this.uploaderEvents[e].on("file-removed",n=>{e===n.id&&t(n.id)})}onRetry(e,t){this.uploaderEvents[e].on("upload-retry",n=>{e===n&&t()})}onRetryAll(e,t){this.uploaderEvents[e].on("retry-all",()=>{this.uppy.getFile(e)&&t()})}onCancelAll(e,t){this.uploaderEvents[e].on("cancel-all",()=>{this.uppy.getFile(e)&&t()})}handleUpload(e){if(0===e.length)return this.uppy.log("[XHRUpload] No files to upload!"),Promise.resolve();0!==this.opts.limit||this.opts[g_]||this.uppy.log("[XHRUpload] When uploading multiple files at once, consider setting the `limit` option (to `10` for example), to limit the number of concurrent uploads, which helps prevent memory and network issues: https://uppy.io/docs/xhr-upload/#limit-0","warning"),this.uppy.log("[XHRUpload] Uploading...");let t=e.map(e=>this.uppy.getFile(e));if(this.opts.bundle){if(t.some(e=>e.isRemote))throw Error("Can’t upload remote files when the `bundle: true` option is set");if("function"==typeof this.opts.headers)throw TypeError("`headers` may not be a function when the `bundle: true` option is set");return this.uploadBundle(t)}return this.uploadFiles(t).then(()=>null)}install(){if(this.opts.bundle){let{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:{...e,individualCancellation:!1}})}this.uppy.addUploader(this.handleUpload)}uninstall(){if(this.opts.bundle){let{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:{...e,individualCancellation:!0}})}this.uppy.removeUploader(this.handleUpload)}},gS.VERSION="2.0.6",gx),gR="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function gL(e){var t={exports:{}};return e(t,t.exports),t.exports}var gM,gz,g$=function(e){return e&&e.Math==Math&&e},gH=g$("object"==typeof globalThis&&globalThis)||g$("object"==typeof window&&window)||g$("object"==typeof self&&self)||g$("object"==typeof gR&&gR)||function(){return this}()||Function("return this")(),gU=Object.defineProperty,gV=function(e,t){try{gU(gH,e,{value:t,configurable:!0,writable:!0})}catch(n){gH[e]=t}return t},gW=gH["__core-js_shared__"]||gV("__core-js_shared__",{}),gq=gL(function(e){(e.exports=function(e,t){return gW[e]||(gW[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})}),gG=Function.prototype,gK=gG.bind,gZ=gG.call,gX=gK&&gK.bind(gZ),gY=gK?function(e){return e&&gX(gZ,e)}:function(e){return e&&function(){return gZ.apply(e,arguments)}},gJ=gH.TypeError,gQ=function(e){if(null==e)throw gJ("Can't call method on "+e);return e},g0=gH.Object,g1=function(e){return g0(gQ(e))},g2=gY({}.hasOwnProperty),g4=Object.hasOwn||function(e,t){return g2(g1(e),t)},g3=0,g6=Math.random(),g5=gY(1..toString),g8=function(e){return"Symbol("+(void 0===e?"":e)+")_"+g5(++g3+g6,36)},g7=function(e){return"function"==typeof e},g9=function(e,t){var n;return arguments.length<2?g7(n=gH[e])?n:void 0:gH[e]&&gH[e][t]},ve=g9("navigator","userAgent")||"",vt=gH.process,vn=gH.Deno,vr=vt&&vt.versions||vn&&vn.version,vo=vr&&vr.v8;vo&&(gz=(gM=vo.split("."))[0]>0&&gM[0]<4?1:+(gM[0]+gM[1])),!gz&&ve&&(!(gM=ve.match(/Edge\/(\d+)/))||gM[1]>=74)&&(gM=ve.match(/Chrome\/(\d+)/))&&(gz=+gM[1]);var vi=gz,va=function(e){try{return!!e()}catch(e){return!0}},vu=!!Object.getOwnPropertySymbols&&!va(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&vi&&vi<41}),vs=vu&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,vl=gq("wks"),vc=gH.Symbol,vf=vc&&vc.for,vd=vs?vc:vc&&vc.withoutSetter||g8,vp=function(e){if(!g4(vl,e)||!vu&&"string"!=typeof vl[e]){var t="Symbol."+e;vu&&g4(vc,e)?vl[e]=vc[e]:vl[e]=vs&&vf?vf(t):vd(t)}return vl[e]},vh={};vh[vp("toStringTag")]="z";var vg="[object z]"===String(vh),vv=!va(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),vy=function(e){return"object"==typeof e?null!==e:g7(e)},vm=gH.document,vb=vy(vm)&&vy(vm.createElement),vw=function(e){return vb?vm.createElement(e):{}},vE=!vv&&!va(function(){return 7!=Object.defineProperty(vw("div"),"a",{get:function(){return 7}}).a}),vD=gH.String,vS=gH.TypeError,vx=function(e){if(vy(e))return e;throw vS(vD(e)+" is not an object")},vC=Function.prototype.call,vO=vC.bind?vC.bind(vC):function(){return vC.apply(vC,arguments)},vA=gY({}.isPrototypeOf),vk=gH.Object,vT=vs?function(e){return"symbol"==typeof e}:function(e){var t=g9("Symbol");return g7(t)&&vA(t.prototype,vk(e))},vB=gH.String,vF=function(e){try{return vB(e)}catch(e){return"Object"}},vP=gH.TypeError,v_=function(e){if(g7(e))return e;throw vP(vF(e)+" is not a function")},vj=function(e,t){var n=e[t];return null==n?void 0:v_(n)},vI=gH.TypeError,vN=gH.TypeError,vR=vp("toPrimitive"),vL=function(e){var t=function(e,t){if(!vy(e)||vT(e))return e;var n,r=vj(e,vR);if(r){if(void 0===t&&(t="default"),!vy(n=vO(r,e,t))||vT(n))return n;throw vN("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&g7(n=e.toString)&&!vy(r=vO(n,e))||g7(n=e.valueOf)&&!vy(r=vO(n,e))||"string"!==t&&g7(n=e.toString)&&!vy(r=vO(n,e)))return r;throw vI("Can't convert object to primitive value")}(e,t)}(e,"string");return vT(t)?t:t+""},vM=gH.TypeError,vz=Object.defineProperty,v$={f:vv?vz:function(e,t,n){if(vx(e),t=vL(t),vx(n),vE)try{return vz(e,t,n)}catch(e){}if("get"in n||"set"in n)throw vM("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},vH=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},vU=vv?function(e,t,n){return v$.f(e,t,vH(1,n))}:function(e,t,n){return e[t]=n,e},vV=gY(Function.toString);g7(gW.inspectSource)||(gW.inspectSource=function(e){return vV(e)});var vW,vq,vG,vK=gW.inspectSource,vZ=gH.WeakMap,vX=g7(vZ)&&/native code/.test(vK(vZ)),vY=gq("keys"),vJ=function(e){return vY[e]||(vY[e]=g8(e))},vQ={},v0=gH.TypeError,v1=gH.WeakMap;if(vX||gW.state){var v2=gW.state||(gW.state=new v1),v4=gY(v2.get),v3=gY(v2.has),v6=gY(v2.set);vW=function(e,t){if(v3(v2,e))throw new v0("Object already initialized");return t.facade=e,v6(v2,e,t),t},vq=function(e){return v4(v2,e)||{}},vG=function(e){return v3(v2,e)}}else{var v5=vJ("state");vQ[v5]=!0,vW=function(e,t){if(g4(e,v5))throw new v0("Object already initialized");return t.facade=e,vU(e,v5,t),t},vq=function(e){return g4(e,v5)?e[v5]:{}},vG=function(e){return g4(e,v5)}}var v8=vW,v7=vq,v9=function(e){return vG(e)?vq(e):vW(e,{})},ye=function(e){return function(t){var n;if(!vy(t)||(n=vq(t)).type!==e)throw v0("Incompatible receiver, "+e+" required");return n}},yt=Function.prototype,yn=vv&&Object.getOwnPropertyDescriptor,yr=g4(yt,"name"),yo={EXISTS:yr,PROPER:yr&&"something"===(function(){}).name,CONFIGURABLE:yr&&(!vv||vv&&yn(yt,"name").configurable)},yi=gL(function(e){var t=yo.CONFIGURABLE,n=String(String).split("String");(e.exports=function(e,r,o,i){var a,u=!!i&&!!i.unsafe,s=!!i&&!!i.enumerable,l=!!i&&!!i.noTargetGet,c=i&&void 0!==i.name?i.name:r;g7(o)&&("Symbol("===String(c).slice(0,7)&&(c="["+String(c).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!g4(o,"name")||t&&o.name!==c)&&vU(o,"name",c),(a=v9(o)).source||(a.source=n.join("string"==typeof c?c:""))),e!==gH?(u?!l&&e[r]&&(s=!0):delete e[r],s?e[r]=o:vU(e,r,o)):s?e[r]=o:gV(r,o)})(Function.prototype,"toString",function(){return g7(this)&&v7(this).source||vK(this)})}),ya=gY({}.toString),yu=gY("".slice),ys=function(e){return yu(ya(e),8,-1)},yl=vp("toStringTag"),yc=gH.Object,yf="Arguments"==ys(function(){return arguments}()),yd=vg?ys:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=yc(e),yl))?n:yf?ys(t):"Object"==(r=ys(t))&&g7(t.callee)?"Arguments":r};vg||yi(Object.prototype,"toString",vg?({}).toString:function(){return"[object "+yd(this)+"]"},{unsafe:!0});var yp={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},yh=vw("span").classList,yg=yh&&yh.constructor&&yh.constructor.prototype,yv=yg===Object.prototype?void 0:yg,yy=gY(gY.bind),ym=function(e,t){return v_(e),void 0===t?e:yy?yy(e,t):function(){return e.apply(t,arguments)}},yb=gH.Object,yw=gY("".split),yE=va(function(){return!yb("z").propertyIsEnumerable(0)})?function(e){return"String"==ys(e)?yw(e,""):yb(e)}:yb,yD=Math.ceil,yS=Math.floor,yx=function(e){var t=+e;return t!=t||0===t?0:(t>0?yS:yD)(t)},yC=Math.min,yO=function(e){return e>0?yC(yx(e),0x1fffffffffffff):0},yA=function(e){return yO(e.length)},yk=Array.isArray||function(e){return"Array"==ys(e)},yT=function(){},yB=[],yF=g9("Reflect","construct"),yP=/^\s*(?:class|function)\b/,y_=gY(yP.exec),yj=!yP.exec(yT),yI=function(e){if(!g7(e))return!1;try{return yF(yT,yB,e),!0}catch(e){return!1}},yN=!yF||va(function(){var e;return yI(yI.call)||!yI(Object)||!yI(function(){e=!0})||e})?function(e){if(!g7(e))return!1;switch(yd(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return yj||!!y_(yP,vK(e))}:yI,yR=vp("species"),yL=gH.Array,yM=function(e,t){var n;return new(yk(e)&&(yN(n=e.constructor)&&(n===yL||yk(n.prototype))||vy(n)&&null===(n=n[yR]))&&(n=void 0),void 0===n?yL:n)(0===t?0:t)},yz=gY([].push),y$=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=g1(s),g=yE(h),v=ym(l,c),y=yA(g),m=0,b=f||yM,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:yz(w,d)}else switch(e){case 4:return!1;case 7:yz(w,d)}return i?-1:r||o?o:w}},yH={forEach:y$(0),map:y$(1),filter:y$(2),some:y$(3),every:y$(4),find:y$(5),findIndex:y$(6),filterReject:y$(7)},yU=function(e,t){var n=[][e];return!!n&&va(function(){n.call(null,t||function(){throw 1},1)})},yV=yH.forEach,yW=yU("forEach")?[].forEach:function(e){return yV(this,e,arguments.length>1?arguments[1]:void 0)},yq=function(e){if(e&&e.forEach!==yW)try{vU(e,"forEach",yW)}catch(t){e.forEach=yW}};for(var yG in yp)yp[yG]&&yq(gH[yG]&&gH[yG].prototype);yq(yv);var yK={}.propertyIsEnumerable,yZ=Object.getOwnPropertyDescriptor,yX={f:yZ&&!yK.call({1:2},1)?function(e){var t=yZ(this,e);return!!t&&t.enumerable}:yK},yY=function(e){return yE(gQ(e))},yJ=Object.getOwnPropertyDescriptor,yQ={f:vv?yJ:function(e,t){if(e=yY(e),t=vL(t),vE)try{return yJ(e,t)}catch(e){}if(g4(e,t))return vH(!vO(yX.f,e,t),e[t])}},y0=Math.max,y1=Math.min,y2=function(e,t){var n=yx(e);return n<0?y0(n+t,0):y1(n,t)},y4=function(e){return function(t,n,r){var o,i=yY(t),a=yA(i),u=y2(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},y3={includes:y4(!0),indexOf:y4(!1)},y6=y3.indexOf,y5=gY([].push),y8=function(e,t){var n,r=yY(e),o=0,i=[];for(n in r)!g4(vQ,n)&&g4(r,n)&&y5(i,n);for(;t.length>o;)g4(r,n=t[o++])&&(~y6(i,n)||y5(i,n));return i},y7=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],y9=y7.concat("length","prototype"),me={f:Object.getOwnPropertyNames||function(e){return y8(e,y9)}},mt={f:Object.getOwnPropertySymbols},mn=gY([].concat),mr=g9("Reflect","ownKeys")||function(e){var t=me.f(vx(e)),n=mt.f;return n?mn(t,n(e)):t},mo=function(e,t){for(var n=mr(t),r=v$.f,o=yQ.f,i=0;i<n.length;i++){var a=n[i];g4(e,a)||r(e,a,o(t,a))}},mi=/#|\.prototype\./,ma=function(e,t){var n=ms[mu(e)];return n==mc||n!=ml&&(g7(t)?va(t):!!t)},mu=ma.normalize=function(e){return String(e).replace(mi,".").toLowerCase()},ms=ma.data={},ml=ma.NATIVE="N",mc=ma.POLYFILL="P",mf=yQ.f,md=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?gH:l?gH[u]||gV(u,{}):(gH[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=mf(n,r))&&a.value:n[r],!ma(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;mo(i,o)}(e.sham||o&&o.sham)&&vU(i,"sham",!0),yi(n,r,i,e)}},mp=Object.keys||function(e){return y8(e,y7)};function mh(e){return"[object Object]"===Object.prototype.toString.call(e)}md({target:"Object",stat:!0,forced:va(function(){mp(1)})},{keys:function(e){return mp(g1(e))}});var mg={isHistory(e){var t,n;return!1!==mh(e)&&(void 0===(t=e.constructor)||!1!==mh(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(0===e.redos.length||lC.isOperationList(e.redos[0]))&&(0===e.undos.length||lC.isOperationList(e.undos[0]))}},mv=new WeakMap,my=new WeakMap,mm={isHistoryEditor:e=>mg.isHistory(e.history)&&ly.isEditor(e),isMerging:e=>my.get(e),isSaving:e=>mv.get(e),redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var n=mm.isMerging(e);my.set(e,!1),t(),my.set(e,n)},withoutSaving(e,t){var n=mm.isSaving(e);mv.set(e,!1),t(),mv.set(e,n)}},mb=gH.String,mw=function(e){if("Symbol"===yd(e))throw TypeError("Cannot convert a Symbol value to a string");return mb(e)},mE=function(){var e=vx(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},mD=yo.PROPER,mS=RegExp.prototype,mx=mS.toString,mC=gY(mE),mO=va(function(){return"/a/b"!=mx.call({source:"a",flags:"b"})}),mA=mD&&"toString"!=mx.name;(mO||mA)&&yi(RegExp.prototype,"toString",function(){var e=vx(this),t=mw(e.source),n=e.flags;return"/"+t+"/"+mw(void 0===n&&vA(mS,e)&&!("flags"in mS)?mC(e):n)},{unsafe:!0});var mk,mT=vv?Object.defineProperties:function(e,t){vx(e);for(var n,r=yY(t),o=mp(t),i=o.length,a=0;i>a;)v$.f(e,n=o[a++],r[n]);return e},mB=g9("document","documentElement"),mF=vJ("IE_PROTO"),mP=function(){},m_=function(e){return"<script>"+e+"<\/script>"},mj=function(e){e.write(m_("")),e.close();var t=e.parentWindow.Object;return e=null,t},mI=function(){try{mk=new ActiveXObject("htmlfile")}catch(e){}mI="undefined"!=typeof document?document.domain&&mk?mj(mk):((t=vw("iframe")).style.display="none",mB.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(m_("document.F=Object")),e.close(),e.F):mj(mk);for(var e,t,n=y7.length;n--;)delete mI.prototype[y7[n]];return mI()};vQ[mF]=!0;var mN=Object.create||function(e,t){var n;return null!==e?(mP.prototype=vx(e),n=new mP,mP.prototype=null,n[mF]=e):n=mI(),void 0===t?n:mT(n,t)},mR=vp("unscopables"),mL=Array.prototype;null==mL[mR]&&v$.f(mL,mR,{configurable:!0,value:mN(null)});var mM=function(e){mL[mR][e]=!0},mz=y3.includes;md({target:"Array",proto:!0},{includes:function(e){return mz(this,e,arguments.length>1?arguments[1]:void 0)}}),mM("includes");var m$=vp("match"),mH=function(e){var t;return vy(e)&&(void 0!==(t=e[m$])?!!t:"RegExp"==ys(e))},mU=gH.TypeError,mV=function(e){if(mH(e))throw mU("The method doesn't accept regular expressions");return e},mW=vp("match"),mq=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[mW]=!1,"/./"[e](t)}catch(e){}}return!1},mG=gY("".indexOf);md({target:"String",proto:!0,forced:!mq("includes")},{includes:function(e){return!!~mG(mw(gQ(this)),mw(mV(e)),arguments.length>1?arguments[1]:void 0)}});var mK=/"/g,mZ=gY("".replace);md({target:"String",proto:!0,forced:va(function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3})},{anchor:function(e){var t,n;return t=mw(gQ(this)),'<a name="'+mZ(mw(e),mK,""")+'">'+t+"</a>"}});var mX=function(e,t,n){var r,o;vx(e);try{if(!(r=vj(e,"return"))){if("throw"===t)throw n;return n}r=vO(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return vx(r),n},mY=function(e,t,n,r){try{return r?t(vx(n)[0],n[1]):t(n)}catch(t){mX(e,"throw",t)}},mJ={},mQ=vp("iterator"),m0=Array.prototype,m1=function(e){return void 0!==e&&(mJ.Array===e||m0[mQ]===e)},m2=function(e,t,n){var r=vL(t);r in e?v$.f(e,r,vH(0,n)):e[r]=n},m4=vp("iterator"),m3=function(e){if(null!=e)return vj(e,m4)||vj(e,"@@iterator")||mJ[yd(e)]},m6=gH.TypeError,m5=function(e,t){var n=arguments.length<2?m3(e):t;if(v_(n))return vx(vO(n,e));throw m6(vF(e)+" is not iterable")},m8=gH.Array,m7=vp("iterator"),m9=!1;try{var be=0,bt={next:function(){return{done:!!be++}},return:function(){m9=!0}};bt[m7]=function(){return this},Array.from(bt,function(){throw 2})}catch(e){}var bn=function(e,t){if(!t&&!m9)return!1;var n=!1;try{var r={};r[m7]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n};md({target:"Array",stat:!0,forced:!bn(function(e){Array.from(e)})},{from:function(e){var t=g1(e),n=yN(this),r=arguments.length,o=r>1?arguments[1]:void 0,i=void 0!==o;i&&(o=ym(o,r>2?arguments[2]:void 0));var a,u,s,l,c,f,d=m3(t),p=0;if(!d||this==m8&&m1(d))for(a=yA(t),u=n?new this(a):m8(a);a>p;p++)f=i?o(t[p],p):t[p],m2(u,p,f);else for(c=(l=m5(t,d)).next,u=n?new this:[];!(s=vO(c,l)).done;p++)f=i?mY(l,o,[s.value,p],!0):s.value,m2(u,p,f);return u.length=p,u}});var br,bo,bi,ba=gY("".charAt),bu=gY("".charCodeAt),bs=gY("".slice),bl=function(e){return function(t,n){var r,o,i=mw(gQ(t)),a=yx(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=bu(i,a))<55296||r>56319||a+1===u||(o=bu(i,a+1))<56320||o>57343?e?ba(i,a):r:e?bs(i,a,a+2):o-56320+(r-55296<<10)+65536}},bc={codeAt:bl(!1),charAt:bl(!0)},bf=!va(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),bd=vJ("IE_PROTO"),bp=gH.Object,bh=bp.prototype,bg=bf?bp.getPrototypeOf:function(e){var t=g1(e);if(g4(t,bd))return t[bd];var n=t.constructor;return g7(n)&&t instanceof n?n.prototype:t instanceof bp?bh:null},bv=vp("iterator"),by=!1;[].keys&&("next"in(bi=[].keys())?(bo=bg(bg(bi)))!==Object.prototype&&(br=bo):by=!0),(null==br||va(function(){var e={};return br[bv].call(e)!==e}))&&(br={}),g7(br[bv])||yi(br,bv,function(){return this});var bm=br,bb=by,bw=v$.f,bE=vp("toStringTag"),bD=function(e,t,n){e&&!g4(e=n?e:e.prototype,bE)&&bw(e,bE,{configurable:!0,value:t})},bS=function(){return this},bx=gH.String,bC=gH.TypeError,bO=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=gY(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return vx(n),function(e){if(!("object"==typeof e||g7(e)))throw bC("Can't set "+bx(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),bA=yo.PROPER,bk=yo.CONFIGURABLE,bT=vp("iterator"),bB=function(){return this},bF=function(e,t,n,r,o,i,a){u=t+" Iterator",n.prototype=mN(bm,{next:vH(1,r)}),bD(n,u,!1),mJ[u]=bS;var u,s,l,c,f=function(e){if(e===o&&g)return g;if(!bb&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=!1,p=e.prototype,h=p[bT]||p["@@iterator"]||o&&p[o],g=!bb&&h||f(o),v="Array"==t&&p.entries||h;if(v&&(s=bg(v.call(new e)))!==Object.prototype&&s.next&&(bg(s)!==bm&&(bO?bO(s,bm):g7(s[bT])||yi(s,bT,bB)),bD(s,t+" Iterator",!0)),bA&&"values"==o&&h&&"values"!==h.name&&(bk?vU(p,"name","values"):(d=!0,g=function(){return vO(h,this)})),o)if(l={values:f("values"),keys:i?g:f("keys"),entries:f("entries")},a)for(c in l)!bb&&!d&&c in p||yi(p,c,l[c]);else md({target:t,proto:!0,forced:bb||d},l);return p[bT]!==g&&yi(p,bT,g,{name:o}),mJ[t]=g,l},bP=bc.charAt,b_=ye("String Iterator");bF(String,"String",function(e){v8(this,{type:"String Iterator",string:mw(e),index:0})},function(){var e,t=b_(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=bP(n,r),t.index+=e.length,{value:e,done:!1})});var bj,bI=yQ.f,bN=gY("".endsWith),bR=gY("".slice),bL=Math.min,bM=mq("endsWith");md({target:"String",proto:!0,forced:!!(bM||!(bj=bI(String.prototype,"endsWith"))||bj.writable)&&!bM},{endsWith:function(e){var t=mw(gQ(this));mV(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,o=void 0===n?r:bL(yO(n),r),i=mw(e);return bN?bN(t,i,o):bR(t,o-i.length,o)===i}});var bz=gY([].join),b$=yE!=Object,bH=yU("join",",");md({target:"Array",proto:!0,forced:b$||!bH},{join:function(e){return bz(yY(this),void 0===e?",":e)}});var bU=vp("species"),bV=function(e){return vi>=51||!va(function(){var t=[];return(t.constructor={})[bU]=function(){return{foo:1}},1!==t[e](Boolean).foo})},bW=yH.map;md({target:"Array",proto:!0,forced:!bV("map")},{map:function(e){return bW(this,e,arguments.length>1?arguments[1]:void 0)}});var bq=gH.RegExp,bG=va(function(){var e=bq("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),bK=bG||va(function(){return!bq("a","y").sticky}),bZ={BROKEN_CARET:bG||va(function(){var e=bq("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),MISSED_STICKY:bK,UNSUPPORTED_Y:bG},bX=gH.RegExp,bY=va(function(){var e=bX(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),bJ=gH.RegExp,bQ=va(function(){var e=bJ("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),b0=gq("native-string-replace",String.prototype.replace),b1=RegExp.prototype.exec,b2=b1,b4=gY("".charAt),b3=gY("".indexOf),b6=gY("".replace),b5=gY("".slice),b8=(Eo=/b*/g,vO(b1,Er=/a/,"a"),vO(b1,Eo,"a"),0!==Er.lastIndex||0!==Eo.lastIndex),b7=bZ.BROKEN_CARET,b9=void 0!==/()??/.exec("")[1];(b8||b9||b7||bY||bQ)&&(b2=function(e){var t,n,r,o,i,a,u,s=v7(this),l=mw(e),c=s.raw;if(c)return c.lastIndex=this.lastIndex,t=vO(b2,c,l),this.lastIndex=c.lastIndex,t;var f=s.groups,d=b7&&this.sticky,p=vO(mE,this),h=this.source,g=0,v=l;if(d&&(-1===b3(p=b6(p,"y",""),"g")&&(p+="g"),v=b5(l,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==b4(l,this.lastIndex-1))&&(h="(?: "+h+")",v=" "+v,g++),n=RegExp("^(?:"+h+")",p)),b9&&(n=RegExp("^"+h+"$(?!\\s)",p)),b8&&(r=this.lastIndex),o=vO(b1,d?n:this,v),d?o?(o.input=b5(o.input,g),o[0]=b5(o[0],g),o.index=this.lastIndex,this.lastIndex+=o[0].length):this.lastIndex=0:b8&&o&&(this.lastIndex=this.global?o.index+o[0].length:r),b9&&o&&o.length>1&&vO(b0,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)}),o&&f)for(o.groups=a=mN(null),i=0;i<f.length;i++)a[(u=f[i])[0]]=o[u[1]];return o});var we=b2;md({target:"RegExp",proto:!0,forced:/./.exec!==we},{exec:we});var wt=Function.prototype,wn=wt.apply,wr=wt.bind,wo=wt.call,wi="object"==typeof Reflect&&Reflect.apply||(wr?wo.bind(wn):function(){return wo.apply(wn,arguments)}),wa=vp("species"),wu=RegExp.prototype,ws=function(e,t,n,r){var o=vp(e),i=!va(function(){var t={};return t[o]=function(){return 7},7!=""[e](t)}),a=i&&!va(function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[wa]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t});if(!i||!a||n){var u=gY(/./[o]),s=t(o,""[e],function(e,t,n,r,o){var a=gY(e),s=t.exec;return s===we||s===wu.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}});yi(String.prototype,e,s[0]),yi(wu,o,s[1])}r&&vU(wu[o],"sham",!0)},wl=bc.charAt,wc=function(e,t,n){return t+(n?wl(e,t).length:1)},wf=Math.floor,wd=gY("".charAt),wp=gY("".replace),wh=gY("".slice),wg=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,wv=/\$([$&'`]|\d{1,2})/g,wy=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=wv;return void 0!==o&&(o=g1(o),s=wg),wp(i,s,function(i,s){var l;switch(wd(s,0)){case"$":return"$";case"&":return e;case"`":return wh(t,0,n);case"'":return wh(t,a);case"<":l=o[wh(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=wf(c/10);return 0===f?i:f<=u?void 0===r[f-1]?wd(s,1):r[f-1]+wd(s,1):i}l=r[c-1]}return void 0===l?"":l})},wm=gH.TypeError,wb=function(e,t){var n=e.exec;if(g7(n)){var r=vO(n,e,t);return null!==r&&vx(r),r}if("RegExp"===ys(e))return vO(we,e,t);throw wm("RegExp#exec called on incompatible receiver")},ww=vp("replace"),wE=Math.max,wD=Math.min,wS=gY([].concat),wx=gY([].push),wC=gY("".indexOf),wO=gY("".slice),wA="$0"==="a".replace(/./,"$0"),wk=!!/./[ww]&&""===/./[ww]("a","$0");ws("replace",function(e,t,n){var r=wk?"$":"$0";return[function(e,n){var r=gQ(this),o=null==e?void 0:vj(e,ww);return o?vO(o,e,r,n):vO(t,mw(r),e,n)},function(e,o){var i=vx(this),a=mw(e);if("string"==typeof o&&-1===wC(o,r)&&-1===wC(o,"$<")){var u=n(t,i,a,o);if(u.done)return u.value}var s=g7(o);s||(o=mw(o));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0}for(var f=[];;){var d=wb(i,a);if(null===d||(wx(f,d),!l))break;""===mw(d[0])&&(i.lastIndex=wc(a,yO(i.lastIndex),c))}for(var p,h="",g=0,v=0;v<f.length;v++){for(var y=mw((d=f[v])[0]),m=wE(wD(yx(d.index),a.length),0),b=[],w=1;w<d.length;w++)wx(b,void 0===(p=d[w])?p:String(p));var E=d.groups;if(s){var D=wS([y],b,m,a);void 0!==E&&wx(D,E);var S=mw(wi(o,void 0,D))}else S=wy(y,a,m,b,E,o);m>=g&&(h+=wO(a,g,m)+S,g=m+y.length)}return h+wO(a,g)}]},!!va(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!wA||wk);var wT=function(e,t){return(wT=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function wB(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}wT(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var wF=function(){return(wF=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function wP(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function w_(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function wj(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}var wI=0,wN=function(){this.id=""+wI++},wR=ye("Array Iterator"),wL=bF(Array,"Array",function(e,t){v8(this,{type:"Array Iterator",target:yY(e),index:0,kind:t})},function(){var e=wR(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");mJ.Arguments=mJ.Array,mM("keys"),mM("values"),mM("entries");var wM=function(e,t,n){for(var r in t)yi(e,r,t[r],n);return e},wz=gH.Array,w$=Math.max,wH=function(e,t,n){for(var r=yA(e),o=y2(t,r),i=y2(void 0===n?r:n,r),a=wz(w$(i-o,0)),u=0;o<i;o++,u++)m2(a,u,e[o]);return a.length=u,a},wU=me.f,wV="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],wW={f:function(e){return wV&&"Window"==ys(e)?function(e){try{return wU(e)}catch(e){return wH(wV)}}(e):wU(yY(e))}},wq=va(function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),wG=Object.isExtensible,wK=va(function(){wG(1)})||wq?function(e){return!!vy(e)&&(!wq||"ArrayBuffer"!=ys(e))&&(!wG||wG(e))}:wG,wZ=!va(function(){return Object.isExtensible(Object.preventExtensions({}))}),wX=gL(function(e){var t=v$.f,n=!1,r=g8("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=me.f,t=gY([].splice),o={};o[r]=1,e(o).length&&(me.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break}return o},md({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:wW.f}))},fastKey:function(e,t){if(!vy(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!g4(e,r)){if(!wK(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!g4(e,r)){if(!wK(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return wZ&&n&&wK(e)&&!g4(e,r)&&i(e),e}};vQ[r]=!0}),wY=gH.TypeError,wJ=function(e,t){this.stopped=e,this.result=t},wQ=wJ.prototype,w0=function(e,t,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=ym(t,c),g=function(e){return r&&mX(r,"normal",e),new wJ(!0,e)},v=function(e){return f?(vx(e),p?h(e[0],e[1],g):h(e[0],e[1])):p?h(e,g):h(e)};if(d)r=e;else{if(!(o=m3(e)))throw wY(vF(e)+" is not iterable");if(m1(o)){for(i=0,a=yA(e);a>i;i++)if((u=v(e[i]))&&vA(wQ,u))return u;return new wJ(!1)}r=m5(e,o)}for(s=r.next;!(l=vO(s,r)).done;){try{u=v(l.value)}catch(e){mX(r,"throw",e)}if("object"==typeof u&&u&&vA(wQ,u))return u}return new wJ(!1)},w1=gH.TypeError,w2=function(e,t){if(vA(t,e))return e;throw w1("Incorrect invocation")},w4=function(e,t,n){var r,o;return bO&&g7(r=t.constructor)&&r!==n&&vy(o=r.prototype)&&o!==n.prototype&&bO(e,o),e},w3=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=gH[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=gY(u[e]);yi(u,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!vy(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!vy(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!vy(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(ma(e,!g7(a)||!(o||u.forEach&&!va(function(){(new a).entries().next()}))))s=n.getConstructor(t,e,r,i),wX.enable();else if(ma(e,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=va(function(){f.has(1)}),h=bn(function(e){new a(e)}),g=!o&&va(function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)});h||((s=t(function(e,t){w2(e,u);var n=w4(new a,e,s);return null!=t&&w0(t,n[i],{that:n,AS_ENTRIES:r}),n})).prototype=u,u.constructor=s),(p||g)&&(c("delete"),c("has"),r&&c("get")),(g||d)&&c(i),o&&u.clear&&delete u.clear}return l[e]=s,md({global:!0,forced:s!=a},l),bD(s,e),o||n.setStrong(s,e,r),s},w6=wX.getWeakData,w5=yH.find,w8=yH.findIndex,w7=gY([].splice),w9=0,Ee=function(e){return e.frozen||(e.frozen=new Et)},Et=function(){this.entries=[]},En=function(e,t){return w5(e.entries,function(e){return e[0]===t})};Et.prototype={get:function(e){var t=En(this,e);if(t)return t[1]},has:function(e){return!!En(this,e)},set:function(e,t){var n=En(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=w8(this.entries,function(t){return t[0]===e});return~t&&w7(this.entries,t,1),!!~t}};var Er,Eo,Ei,Ea={getConstructor:function(e,t,n,r){var o=e(function(e,o){w2(e,i),v8(e,{type:t,id:w9++,frozen:void 0}),null!=o&&w0(o,e[r],{that:e,AS_ENTRIES:n})}),i=o.prototype,a=ye(t),u=function(e,t,n){var r=a(e),o=w6(vx(t),!0);return!0===o?Ee(r).set(t,n):o[r.id]=n,e};return wM(i,{delete:function(e){var t=a(this);if(!vy(e))return!1;var n=w6(e);return!0===n?Ee(t).delete(e):n&&g4(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!vy(e))return!1;var n=w6(e);return!0===n?Ee(t).has(e):n&&g4(n,t.id)}}),wM(i,n?{get:function(e){var t=a(this);if(vy(e)){var n=w6(e);return!0===n?Ee(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return u(this,e,t)}}:{add:function(e){return u(this,e,!0)}}),o}},Eu=!gH.ActiveXObject&&"ActiveXObject"in gH,Es=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},El=w3("WeakMap",Es,Ea);if(vX&&Eu){Ei=Ea.getConstructor(Es,"WeakMap",!0),wX.enable();var Ec=El.prototype,Ef=gY(Ec.delete),Ed=gY(Ec.has),Ep=gY(Ec.get),Eh=gY(Ec.set);wM(Ec,{delete:function(e){if(vy(e)&&!wK(e)){var t=v9(this);return t.frozen||(t.frozen=new Ei),Ef(this,e)||t.frozen.delete(e)}return Ef(this,e)},has:function(e){if(vy(e)&&!wK(e)){var t=v9(this);return t.frozen||(t.frozen=new Ei),Ed(this,e)||t.frozen.has(e)}return Ed(this,e)},get:function(e){if(vy(e)&&!wK(e)){var t=v9(this);return t.frozen||(t.frozen=new Ei),Ed(this,e)?Ep(this,e):t.frozen.get(e)}return Ep(this,e)},set:function(e,t){if(vy(e)&&!wK(e)){var n=v9(this);n.frozen||(n.frozen=new Ei),Ed(this,e)?Eh(this,e,t):n.frozen.set(e,t)}else Eh(this,e,t);return this}})}var Eg=vp("iterator"),Ev=vp("toStringTag"),Ey=wL.values,Em=function(e,t){if(e){if(e[Eg]!==Ey)try{vU(e,Eg,Ey)}catch(t){e[Eg]=Ey}if(e[Ev]||vU(e,Ev,t),yp[t]){for(var n in wL)if(e[n]!==wL[n])try{vU(e,n,wL[n])}catch(t){e[n]=wL[n]}}}};for(var Eb in yp)Em(gH[Eb]&&gH[Eb].prototype,Eb);Em(yv,"DOMTokenList");var Ew=new WeakMap,EE=new WeakMap,ED=new WeakMap,ES=new WeakMap,Ex=new WeakMap,EC=new WeakMap,EO=new WeakMap,EA=new WeakMap,Ek=new WeakMap,ET=new WeakMap,EB=new WeakMap,EF=new WeakMap,EP=new WeakMap,E_=new WeakMap,Ej=new WeakMap,EI=new WeakMap,EN=new WeakMap,ER=new WeakMap,EL=new WeakMap,EM=new WeakMap,Ez=new WeakMap,E$=new WeakMap,EH=new WeakMap,EU=new WeakMap,EV=new WeakMap,EW=yH.find,Eq=!0;"find"in[]&&[,].find(function(){Eq=!1}),md({target:"Array",proto:!0,forced:Eq},{find:function(e){return EW(this,e,arguments.length>1?arguments[1]:void 0)}}),mM("find"),md({global:!0},{globalThis:gH});let EG=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"];fu&&(c2.fn.css=fu),fp&&(c2.fn.append=fp),c4&&(c2.fn.addClass=c4),c3&&(c2.fn.removeClass=c3),c6&&(c2.fn.hasClass=c6),fe&&(c2.fn.on=fe),fk&&(c2.fn.focus=fk),c5&&(c2.fn.attr=c5),c8&&(c2.fn.removeAttr=c8),fi&&(c2.fn.hide=fi),fa&&(c2.fn.show=fa),fo&&(c2.fn.offset=fo),fn&&(c2.fn.width=fn),fr&&(c2.fn.height=fr),fg&&(c2.fn.parent=fg),fv&&(c2.fn.parents=fv),fd&&(c2.fn.is=fd),c7&&(c2.fn.dataset=c7),c9&&(c2.fn.val=c9),ff&&(c2.fn.text=ff),fc&&(c2.fn.html=fc),fm&&(c2.fn.children=fm),fb&&(c2.fn.remove=fb),fy&&(c2.fn.find=fy),fs&&(c2.fn.each=fs),fw&&(c2.fn.empty=fw);var EK,EZ,EX=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||null},EY=function(e){return EJ(e)&&1===e.nodeType},EJ=function(e){var t=EX(e);return!!t&&e instanceof t.Node},EQ=function(e){var t=e&&e.anchorNode&&EX(e.anchorNode);return!!t&&e instanceof t.Selection},E0=function(e){return EJ(e)&&3===e.nodeType},E1=function(e){var t,n,r;return null!=(t=window.document.getElementById(e))?t:(null==(r=null==(n=window.document.activeElement)?void 0:n.shadowRoot)?void 0:r.getElementById(e))||null},E2=function(e,t,n){for(var r,o=e.childNodes,i=o[t],a=t,u=!1,s=!1;(EJ(r=i)&&8===r.nodeType||EY(i)&&0===i.childNodes.length||EY(i)&&"false"===i.getAttribute("contenteditable"))&&(!u||!s);)a>=o.length?(u=!0,a=t-1,n="backward"):a<0?(s=!0,a=t+1,n="forward"):(i=o[a],t=a,a+="forward"===n?1:-1);return[i,t]},E4=function e(t){var n,r,o="";if(E0(t)&&t.nodeValue)return t.nodeValue;if(EY(t)){try{for(var i=wP(Array.from(t.childNodes)),a=i.next();!a.done;a=i.next())o+=e(a.value)}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}var u=getComputedStyle(t).getPropertyValue("display");"block"!==u&&"list"!==u&&"table-row"!==u&&"BR"!==t.tagName||(o+="\n")}return o};function E3(e){if(0===e.length)return"";var t=e[0];return t.nodeType!==EK.ELEMENT_NODE?"":t.tagName.toLowerCase()}(EZ=EK||(EK={}))[EZ.ELEMENT_NODE=1]="ELEMENT_NODE",EZ[EZ.TEXT_NODE=3]="TEXT_NODE",EZ[EZ.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",EZ[EZ.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",EZ[EZ.COMMENT_NODE=8]="COMMENT_NODE",EZ[EZ.DOCUMENT_NODE=9]="DOCUMENT_NODE",EZ[EZ.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",EZ[EZ.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE",void 0!==globalThis.navigator&&void 0!==globalThis.window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&globalThis.window.MSStream;var E6="undefined"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent),E5="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent);"undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent);var E8="undefined"!=typeof navigator&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),E7="undefined"!=typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),E9="undefined"!=typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),De="undefined"!=typeof navigator&&/Chrome/i.test(navigator.userAgent);"undefined"!=typeof navigator&&/.*QQBrowser/.test(navigator.userAgent);var Dt=!E9&&!E7&&"undefined"!=typeof globalThis&&globalThis.InputEvent&&"function"==typeof globalThis.InputEvent.prototype.getTargetRanges,Dn={getWindow:function(e){var t=Ez.get(e);if(!t)throw Error("Unable to find a host window element for this editor");return t},findKey:function(e,t){var n=EM.get(t);return n||(n=new wN,EM.set(t,n)),n},setNewKey:function(e){var t=new wN;EM.set(e,t)},findPath:function(e,t){for(var n=[],r=t;;){var o=Ej.get(r);if(null==o){if(ly.isEditor(r))return n;break}var i=E_.get(r);if(null==i)break;n.unshift(i),r=o}throw Error("Unable to find the path for Slate node: "+JSON.stringify(t))},findDocumentOrShadowRoot:function(e){if(e.isDestroyed)return window.document;var t=Dn.toDOMNode(e,e),n=t.getRootNode();return(n instanceof Document||n instanceof ShadowRoot)&&null!=n.getSelection?n:t.ownerDocument},getParentNode:function(e,t){return Ej.get(t)||null},getParentsNodes:function(e,t){for(var n=[],r=t;r!==e&&null!=r;){var o=Dn.getParentNode(e,r);if(null==o)break;n.push(o),r=o}return n},getTopNode:function(e,t){var n=[Dn.findPath(e,t)[0]];return lD.get(e,n)},toDOMNode:function(e,t){var n;if(ly.isEditor(t))n=EI.get(e);else{var r=Dn.findKey(e,t);n=ER.get(r)}if(!n)throw Error("Cannot resolve a DOM node from Slate node: "+JSON.stringify(t));return n},hasDOMNode:function(e,t,n){void 0===n&&(n={});var r,o=n.editable,i=Dn.toDOMNode(e,e);try{r=EY(t)?t:t.parentElement}catch(e){if(!e.message.includes('Permission denied to access property "nodeType"'))throw e}return!!r&&r.closest("[data-slate-editor]")===i&&(!(void 0!==o&&o)||r.isContentEditable||!!r.getAttribute("data-slate-zero-width"))},toDOMRange:function(e,t){var n=t.anchor,r=t.focus,o=lj.isBackward(t),i=Dn.toDOMPoint(e,n),a=lj.isCollapsed(t)?i:Dn.toDOMPoint(e,r),u=Dn.getWindow(e).document.createRange(),s=w_(o?a:i,2),l=s[0],c=s[1],f=w_(o?i:a,2),d=f[0],p=f[1],h=!!(EY(l)?l:l.parentElement).getAttribute("data-slate-zero-width"),g=!!(EY(d)?d:d.parentElement).getAttribute("data-slate-zero-width");return u.setStart(l,h?1:c),u.setEnd(d,g?1:p),u},toDOMPoint:function(e,t){var n,r,o,i=w_(ly.node(e,t.path),1)[0],a=Dn.toDOMNode(e,i);ly.void(e,{at:t})&&(t={path:t.path,offset:0});var u=Array.from(a.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),s=0;try{for(var l=wP(u),c=l.next();!c.done;c=l.next()){var f=c.value,d=f.childNodes[0];if(null!=d&&null!=d.textContent){var p=d.textContent.length,h=f.getAttribute("data-slate-length"),g=s+(null==h?p:parseInt(h,10));if(t.offset<=g){o=[d,Math.min(p,Math.max(0,t.offset-s))];break}s=g}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}if(!o)throw Error("Cannot resolve a DOM point from Slate point: "+JSON.stringify(t));return o},toSlateNode:function(e,t){var n=EY(t)?t:t.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?EN.get(n):null;if(!r)throw Error("Cannot resolve a Slate node from DOM node: "+n);return r},findEventRange:function(e,t){"nativeEvent"in t&&(t=t.nativeEvent);var n=t.clientX,r=t.clientY,o=t.target;if(null==n||null==r)throw Error("Cannot resolve a Slate range from a DOM event: "+t);var i,a=Dn.toSlateNode(e,t.target),u=Dn.findPath(e,a);if(ly.isVoid(e,a)){var s=o.getBoundingClientRect(),l=e.isInline(a)?n-s.left<s.left+s.width-n:r-s.top<s.top+s.height-r,c=ly.point(e,u,{edge:l?"start":"end"}),f=l?ly.before(e,c):ly.after(e,c);if(f)return ly.range(e,f)}var d=this.getWindow(e).document;if(d.caretRangeFromPoint)i=d.caretRangeFromPoint(n,r);else{var p=d.caretPositionFromPoint(n,r);p&&((i=d.createRange()).setStart(p.offsetNode,p.offset),i.setEnd(p.offsetNode,p.offset))}if(!i)throw Error("Cannot resolve a Slate range from a DOM event: "+t);return Dn.toSlateRange(e,i,{exactMatch:!1,suppressThrow:!1})},toSlateRange:function(e,t,n){var r,o,i,a,u,s=n.exactMatch,l=n.suppressThrow;if((EQ(t)?t.anchorNode:t.startContainer)&&(EQ(t)?(r=t.anchorNode,o=t.anchorOffset,i=t.focusNode,a=t.focusOffset,u=De&&window.document.activeElement&&window.document.activeElement.shadowRoot?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed):(r=t.startContainer,o=t.startOffset,i=t.endContainer,a=t.endOffset,u=t.collapsed)),null==r||null==i||null==o||null==a)throw Error("Cannot resolve a Slate range from DOM range: "+t);var c=Dn.toSlatePoint(e,[r,o],{exactMatch:s,suppressThrow:l});if(!c)return null;var f=u?c:Dn.toSlatePoint(e,[i,a],{exactMatch:s,suppressThrow:l});if(!f)return null;var d={anchor:c,focus:f};return lj.isExpanded(d)&&lj.isForward(d)&&EY(i)&&ly.void(e,{at:d.focus,mode:"highest"})&&(d=ly.unhangRange(e,d,{voids:!0})),d},toSlatePoint:function(e,t,n){var r,o=n.exactMatch,i=n.suppressThrow,a=w_(o?t:function(e){var t,n=w_(e,2),r=n[0],o=n[1];if(EY(r)&&r.childNodes.length){var i=o===r.childNodes.length,a=i?o-1:o;for(r=(t=w_(E2(r,a,i?"backward":"forward"),2))[0],i=(a=t[1])<o;EY(r)&&r.childNodes.length;){var u=i?r.childNodes.length-1:0;r=w_(E2(r,u,i?"backward":"forward"),1)[0]}o=i&&null!=r.textContent?r.textContent.length:0}return[r,o]}(t),2),u=a[0],s=a[1],l=u.parentNode,c=null,f=0;if(l){var d=l.closest('[data-slate-void="true"]'),p=l.closest("[data-slate-leaf]"),h=null;if(p){c=p.closest('[data-slate-node="text"]');var g=Dn.getWindow(e).document.createRange();g.setStart(c,0),g.setEnd(u,s);var v=g.cloneContents();wj(wj([],w_(cH(v.querySelectorAll("[data-slate-zero-width]")))),w_(cH(v.querySelectorAll("[contenteditable=false]")))).forEach(function(e){e.parentNode.removeChild(e)}),f=v.textContent.length,h=c}else d&&((p=d.querySelector("[data-slate-leaf]"))?(c=p.closest('[data-slate-node="text"]'),f=(h=p).textContent.length,h.querySelectorAll("[data-slate-zero-width]").forEach(function(e){f-=e.textContent.length})):f=1);h&&f===h.textContent.length&&(l.hasAttribute("data-slate-zero-width")||E5&&(null==(r=h.textContent)?void 0:r.endsWith("\n")))&&f--}if(!c){if(i)return null;throw Error("Cannot resolve a Slate point from DOM point: "+t)}var y=Dn.toSlateNode(e,c);return{path:Dn.findPath(e,y),offset:f}},hasRange:function(e,t){var n=t.anchor,r=t.focus;return ly.hasPath(e,n.path)&&ly.hasPath(e,r.path)},getNodeType:function(e){return lf.isElement(e)?e.type:""},checkNodeType:function(e,t){return this.getNodeType(e)===t},getNodesStr:function(e){return e.map(function(e){return lD.string(e)}).join("")},getSelectedElems:function(e){var t,n,r=[],o=ly.nodes(e,{universal:!0});try{for(var i=wP(o),a=i.next();!a.done;a=i.next()){var u=w_(a.value,1)[0];lf.isElement(u)&&r.push(u)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r},getSelectedNodeByType:function(e,t){var n=this,r=w_(ly.nodes(e,{match:function(e){return n.checkNodeType(e,t)},universal:!0}),1)[0];return null==r?null:r[0]},getSelectedTextNode:function(e){var t=w_(ly.nodes(e,{match:function(e){return l$.isText(e)},universal:!0}),1)[0];return null==t?null:t[0]},isNodeSelected:function(e,t){var n=w_(ly.nodes(e,{match:function(e){return e===t},universal:!0}),1)[0];return null!=n&&w_(n,1)[0]===t},isSelectionAtLineEnd:function(e,t){var n=e.selection;return!!n&&(ly.isEnd(e,n.anchor,t)||ly.isEnd(e,n.focus,t))},getTextarea:function(e){var t=Ew.get(e);if(null==t)throw Error("Cannot find textarea instance by editor");return t},getToolbar:function(e){return ES.get(e)||null},getHoverbar:function(e){return EC.get(e)||null},normalizeContent:function(e){e.children.forEach(function(t,n){e.normalizeNode([t,[n]])})},getLeftLengthOfMaxLength:function(e){var t=e.getConfig(),n=t.maxLength,r=t.onMaxLength;if("number"!=typeof n||n<=0)return 1/0;var o=n-e.getText().replace(/\r|\n|(\r\n)/g,"").length;return o<=0&&r&&r(e),o},cleanExposedTexNodeInSelectionBlock:function(e){var t,n,r,o,i=Dn.getTextarea(e).$textArea,a=null==i?void 0:i[0].childNodes;if(a)try{for(var u=wP(Array.from(a)),s=u.next();!s.done;s=u.next()){var l=s.value;if(3!==l.nodeType)break;l.remove()}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}var c=ly.nodes(e,{match:function(t){return!(!lf.isElement(t)||e.isInline(t))},universal:!0});try{for(var f=wP(c),d=f.next();!d.done;d=f.next()){var p=d.value;if(null!=p){var h=p[0];!function e(t,n){if(!(t instanceof HTMLElement&&"true"===t.dataset.slateVoid))for(var r=t.childNodes,o=r.length;o--;){var i=r[o],a=i.nodeType;3==a?n(i,t):1!=a&&9!=a&&11!=a||e(i,n)}}(Dn.toDOMNode(e,h),function(e,t){var n=c2(t);n.attr("data-slate-string")||n.attr("data-slate-zero-width")||n.attr("data-w-e-reserve")||t.removeChild(e)})}}}catch(e){r={error:e}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}},isLastNode:function(e,t){var n=e.children||[];return n[n.length-1]===t},genEmptyParagraph:function(){return{type:"paragraph",children:[{text:""}]}},isSelectedVoidNode:function(e){var t,n,r=ly.nodes(e,{match:function(t){return e.isVoid(t)}}),o=0;try{for(var i=wP(r),a=i.next();!a.done;a=i.next())a.value,o++}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return o>0},isSelectedEmptyParagraph:function(e){var t=e.selection;if(null==t||lj.isExpanded(t))return!1;var n=Dn.getSelectedNodeByType(e,"paragraph");if(null===n)return!1;var r=n.children;return 1===r.length&&(""===r[0].text||void 0)},isEmptyPath:function(e,t){var n=ly.node(e,t);if(null==n)return!1;var r=w_(n,1)[0].children;return 1===r.length&&""===r[0].text}},Dr=1,Do={},Di={},Da=yH.filter;md({target:"Array",proto:!0,forced:!bV("filter")},{filter:function(e){return Da(this,e,arguments.length>1?arguments[1]:void 0)}});var Du=" \n\v\f\r \xa0 \u2028\u2029\uFEFF",Ds=gY("".replace),Dl="["+Du+"]",Dc=RegExp("^"+Dl+Dl+"*"),Df=RegExp(Dl+Dl+"*$"),Dd=function(e){return function(t){var n=mw(gQ(t));return 1&e&&(n=Ds(n,Dc,"")),2&e&&(n=Ds(n,Df,"")),n}},Dp={start:Dd(1),end:Dd(2),trim:Dd(3)},Dh=yo.PROPER,Dg=Dp.trim;md({target:"String",proto:!0,forced:(Dm="trim",va(function(){return!!Du[Dm]()||"\x85"!=="\x85"[Dm]()||Dh&&Du[Dm].name!==Dm}))},{trim:function(){return Dg(this)}});var Dv=[],Dy={},Dm,Db,Dw,DE,DD,DS=gH.Promise,Dx=vp("species"),DC=function(e){var t=g9(e),n=v$.f;vv&&t&&!t[Dx]&&n(t,Dx,{configurable:!0,get:function(){return this}})},DO=gH.TypeError,DA=vp("species"),Dk=function(e,t){var n,r=vx(e).constructor;return void 0===r||null==(n=vx(r)[DA])?t:function(e){if(yN(e))return e;throw DO(vF(e)+" is not a constructor")}(n)},DT=gY([].slice),DB=/(?:ipad|iphone|ipod).*applewebkit/i.test(ve),DF="process"==ys(gH.process),DP=gH.setImmediate,D_=gH.clearImmediate,Dj=gH.process,DI=gH.Dispatch,DN=gH.Function,DR=gH.MessageChannel,DL=gH.String,DM=0,Dz={};try{Db=gH.location}catch(e){}var D$=function(e){if(g4(Dz,e)){var t=Dz[e];delete Dz[e],t()}},DH=function(e){return function(){D$(e)}},DU=function(e){D$(e.data)},DV=function(e){gH.postMessage(DL(e),Db.protocol+"//"+Db.host)};DP&&D_||(DP=function(e){var t=DT(arguments,1);return Dz[++DM]=function(){wi(g7(e)?e:DN(e),void 0,t)},Dw(DM),DM},D_=function(e){delete Dz[e]},DF?Dw=function(e){Dj.nextTick(DH(e))}:DI&&DI.now?Dw=function(e){DI.now(DH(e))}:DR&&!DB?(DD=(DE=new DR).port2,DE.port1.onmessage=DU,Dw=ym(DD.postMessage,DD)):gH.addEventListener&&g7(gH.postMessage)&&!gH.importScripts&&Db&&"file:"!==Db.protocol&&!va(DV)?(Dw=DV,gH.addEventListener("message",DU,!1)):Dw="onreadystatechange"in vw("script")?function(e){mB.appendChild(vw("script")).onreadystatechange=function(){mB.removeChild(this),D$(e)}}:function(e){setTimeout(DH(e),0)});var DW,Dq,DG,DK,DZ,DX,DY,DJ,DQ=DP,D0=/ipad|iphone|ipod/i.test(ve)&&void 0!==gH.Pebble,D1=/web0s(?!.*chrome)/i.test(ve),D2=yQ.f,D4=DQ,D3=gH.MutationObserver||gH.WebKitMutationObserver,D6=gH.document,D5=gH.process,D8=gH.Promise,D7=D2(gH,"queueMicrotask"),D9=D7&&D7.value;D9||(DW=function(){var e,t;for(DF&&(e=D5.domain)&&e.exit();Dq;){t=Dq.fn,Dq=Dq.next;try{t()}catch(e){throw Dq?DK():DG=void 0,e}}DG=void 0,e&&e.enter()},DB||DF||D1||!D3||!D6?!D0&&D8&&D8.resolve?((DY=D8.resolve(void 0)).constructor=D8,DJ=ym(DY.then,DY),DK=function(){DJ(DW)}):DF?DK=function(){D5.nextTick(DW)}:(D4=ym(D4,gH),DK=function(){D4(DW)}):(DZ=!0,DX=D6.createTextNode(""),new D3(DW).observe(DX,{characterData:!0}),DK=function(){DX.data=DZ=!DZ}));var Se,St,Sn,Sr,So=D9||function(e){var t={fn:e,next:void 0};DG&&(DG.next=t),Dq||(Dq=t,DK()),DG=t},Si=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=v_(t),this.reject=v_(n)},Sa={f:function(e){return new Si(e)}},Su=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Ss="object"==typeof window,Sl=vp("species"),Sc="Promise",Sf=ye(Sc),Sd=ye(Sc),Sp=DS&&DS.prototype,Sh=DS,Sg=Sp,Sv=gH.TypeError,Sy=gH.document,Sm=gH.process,Sb=Sa.f,Sw=Sb,SE=!!(Sy&&Sy.createEvent&&gH.dispatchEvent),SD=g7(gH.PromiseRejectionEvent),SS=!1,Sx=ma(Sc,function(){var e=vK(Sh),t=e!==String(Sh);if(!t&&66===vi)return!0;if(vi>=51&&/native code/.test(e))return!1;var n=new Sh(function(e){e(1)}),r=function(e){e(function(){},function(){})};return(n.constructor={})[Sl]=r,!(SS=n.then(function(){})instanceof r)||!t&&Ss&&!SD}),SC=Sx||!bn(function(e){Sh.all(e).catch(function(){})}),SO=function(e){var t;return!(!vy(e)||!g7(t=e.then))&&t},SA=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;So(function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,u,s,l=n[i++],c=o?l.ok:l.fail,f=l.resolve,d=l.reject,p=l.domain;try{c?(o||(2===e.rejection&&SF(e),e.rejection=1),!0===c?a=r:(p&&p.enter(),a=c(r),p&&(p.exit(),s=!0)),a===l.promise?d(Sv("Promise-chain cycle")):(u=SO(a))?vO(u,a,f,d):f(a)):d(r)}catch(e){p&&!s&&p.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ST(e)})}},Sk=function(e,t,n){var r,o;SE?((r=Sy.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),gH.dispatchEvent(r)):r={promise:t,reason:n},!SD&&(o=gH["on"+e])?o(r):"unhandledrejection"===e&&function(e,t){var n=gH.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},ST=function(e){vO(DQ,gH,function(){var t,n=e.facade,r=e.value;if(SB(e)&&(t=Su(function(){DF?Sm.emit("unhandledRejection",r,n):Sk("unhandledrejection",n,r)}),e.rejection=DF||SB(e)?2:1,t.error))throw t.value})},SB=function(e){return 1!==e.rejection&&!e.parent},SF=function(e){vO(DQ,gH,function(){var t=e.facade;DF?Sm.emit("rejectionHandled",t):Sk("rejectionhandled",t,e.value)})},SP=function(e,t,n){return function(r){e(t,r,n)}},S_=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,SA(e,!0))},Sj=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw Sv("Promise can't be resolved itself");var r=SO(t);r?So(function(){var n={done:!1};try{vO(r,t,SP(Sj,n,e),SP(S_,n,e))}catch(t){S_(n,t,e)}}):(e.value=t,e.state=1,SA(e,!1))}catch(t){S_({done:!1},t,e)}}};if(Sx&&(Sg=(Sh=function(e){w2(this,Sg),v_(e),vO(Se,this);var t=Sf(this);try{e(SP(Sj,t),SP(S_,t))}catch(e){S_(t,e)}}).prototype,(Se=function(e){v8(this,{type:Sc,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=wM(Sg,{then:function(e,t){var n=Sd(this),r=n.reactions,o=Sb(Dk(this,Sh));return o.ok=!g7(e)||e,o.fail=g7(t)&&t,o.domain=DF?Sm.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&SA(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),St=function(){var e=new Se,t=Sf(e);this.promise=e,this.resolve=SP(Sj,t),this.reject=SP(S_,t)},Sa.f=Sb=function(e){return e===Sh||e===Sn?new St(e):Sw(e)},g7(DS)&&Sp!==Object.prototype)){Sr=Sp.then,SS||(yi(Sp,"then",function(e,t){var n=this;return new Sh(function(e,t){vO(Sr,n,e,t)}).then(e,t)},{unsafe:!0}),yi(Sp,"catch",Sg.catch,{unsafe:!0}));try{delete Sp.constructor}catch(e){}bO&&bO(Sp,Sg)}md({global:!0,wrap:!0,forced:Sx},{Promise:Sh}),bD(Sh,Sc,!1),DC(Sc),Sn=g9(Sc),md({target:Sc,stat:!0,forced:Sx},{reject:function(e){var t=Sb(this);return vO(t.reject,void 0,e),t.promise}}),md({target:Sc,stat:!0,forced:Sx},{resolve:function(e){if(vx(this),vy(e)&&e.constructor===this)return e;var t=Sa.f(this);return(0,t.resolve)(e),t.promise}}),md({target:Sc,stat:!0,forced:SC},{all:function(e){var t=this,n=Sb(t),r=n.resolve,o=n.reject,i=Su(function(){var n=v_(t.resolve),i=[],a=0,u=1;w0(e,function(e){var s=a++,l=!1;u++,vO(n,t,e).then(function(e){l||(l=!0,i[s]=e,--u||r(i))},o)}),--u||r(i)});return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=Sb(t),r=n.reject,o=Su(function(){var o=v_(t.resolve);w0(e,function(e){vO(o,t,e).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}});var SI=bZ.UNSUPPORTED_Y,SN=Math.min,SR=[].push,SL=gY(/./.exec),SM=gY(SR),Sz=gY("".slice);function S$(e){Promise.resolve().then(e)}function SH(e){return"w-e-element-"+e}ws("split",function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=mw(gQ(this)),o=void 0===n?0xffffffff:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!mH(e))return vO(t,r,e,o);for(var i,a,u,s=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,f=RegExp(e.source,l+"g");(i=vO(we,f,r))&&!((a=f.lastIndex)>c&&(SM(s,Sz(r,c,i.index)),i.length>1&&i.index<r.length&&wi(SR,s,wH(i,1)),u=i[0].length,c=a,s.length>=o));)f.lastIndex===i.index&&f.lastIndex++;return c===r.length?!u&&SL(f,"")||SM(s,""):SM(s,Sz(r,c)),s.length>o?wH(s,0,o):s}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:vO(t,this,e,n)}:t,[function(t,n){var o=gQ(this),i=null==t?void 0:vj(t,e);return i?vO(i,t,o,n):vO(r,mw(o),t,n)},function(e,o){var i=vx(this),a=mw(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=Dk(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(SI?"g":"y"),f=new s(SI?"^(?:"+i.source+")":i,c),d=void 0===o?0xffffffff:o>>>0;if(0===d)return[];if(0===a.length)return null===wb(f,a)?[a]:[];for(var p=0,h=0,g=[];h<a.length;){f.lastIndex=SI?0:h;var v,y=wb(f,SI?Sz(a,h):a);if(null===y||(v=SN(yO(f.lastIndex+(SI?h:0)),a.length))===p)h=wc(a,h,l);else{if(SM(g,Sz(a,p,h)),g.length===d)return g;for(var m=1;m<=y.length-1;m++)if(SM(g,y[m]),g.length===d)return g;h=p=v}}return SM(g,Sz(a,p)),g}]},!!va(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),SI);var SU=function(e,t){var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n},SV=function(e,t,n){var r=Dn.toDOMRange(e,t).getBoundingClientRect(),o=Dn.toDOMRange(e,n).getBoundingClientRect();return SU(r,o)&&SU(o,r)},SW=["span","b","strong","i","em","s","strike","u","font","sub","sup"],Sq=[],SG=[],SK={},SZ=v$.f,SX=me.f,SY=vp("match"),SJ=gH.RegExp,SQ=SJ.prototype,S0=gH.SyntaxError,S1=gY(mE),S2=gY(SQ.exec),S4=gY("".charAt),S3=gY("".replace),S6=gY("".indexOf),S5=gY("".slice),S8=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,S7=/a/g,S9=/a/g,xe=new SJ(S7)!==S7,xt=bZ.MISSED_STICKY,xn=bZ.UNSUPPORTED_Y;if(ma("RegExp",vv&&(!xe||xt||bY||bQ||va(function(){return S9[SY]=!1,SJ(S7)!=S7||SJ(S9)==S9||"/a/i"!=SJ(S7,"i")})))){for(var xr=function(e,t){var n,r,o,i,a,u,s=vA(SQ,this),l=mH(e),c=void 0===t,f=[],d=e;if(!s&&l&&c&&e.constructor===xr)return e;if((l||vA(SQ,e))&&(e=e.source,c&&(t="flags"in d?d.flags:S1(d))),e=void 0===e?"":mw(e),t=void 0===t?"":mw(t),d=e,bY&&"dotAll"in S7&&(r=!!t&&S6(t,"s")>-1)&&(t=S3(t,/s/g,"")),n=t,xt&&"sticky"in S7&&(o=!!t&&S6(t,"y")>-1)&&xn&&(t=S3(t,/y/g,"")),bQ&&(e=(i=function(e){for(var t,n=e.length,r=0,o="",i=[],a={},u=!1,s=!1,l=0,c="";r<=n;r++){if("\\"===(t=S4(e,r)))t+=S4(e,++r);else if("]"===t)u=!1;else if(!u)switch(!0){case"["===t:u=!0;break;case"("===t:S2(S8,S5(e,r+1))&&(r+=2,s=!0),o+=t,l++;continue;case">"===t&&s:if(""===c||g4(a,c))throw new S0("Invalid capture group name");a[c]=!0,i[i.length]=[c,l],s=!1,c="";continue}s?c+=t:o+=t}return[o,i]}(e))[0],f=i[1]),a=w4(SJ(e,t),s?this:SQ,xr),(r||o||f.length)&&(u=v9(a),r&&(u.dotAll=!0,u.raw=xr(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=S4(e,r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+S4(e,++r);return o}(e),n)),o&&(u.sticky=!0),f.length&&(u.groups=f)),e!==d)try{vU(a,"source",""===d?"(?:)":d)}catch(e){}return a},xo=function(e){e in xr||SZ(xr,e,{configurable:!0,get:function(){return SJ[e]},set:function(t){SJ[e]=t}})},xi=SX(SJ),xa=0;xi.length>xa;)xo(xi[xa++]);SQ.constructor=xr,xr.prototype=SQ,yi(gH,"RegExp",xr)}DC("RegExp");var xu=RegExp(String.fromCharCode(160),"g");function xs(e){return e.replace(xu," ")}function xl(e,t){var n=e.length;if(n){var r=e[n-1];if(l$.isText(r)){var o=Object.keys(r);if(1===o.length&&"text"===o[0])return r.text=r.text+t,!0}}return!1}function xc(e,t,n){return{type:"paragraph",children:[{text:c2(e).text().replace(/\s+/gm," ")}]}}function xf(e,t){var n=function(e,t){var n=[];if(null!=e.attr("data-w-e-is-void"))return n;var r=e[0].childNodes;return 1===r.length&&"BR"===r[0].nodeName?n.push({text:""}):r.forEach(function(e){if(e.nodeType!==EK.ELEMENT_NODE)if(e.nodeType!==EK.TEXT_NODE);else{var r=e.textContent||"";if(""===r.trim()&&r.indexOf("\n")>=0)return;r&&(xl(n,r=xs(r))||n.push({text:r}))}else{if("BR"===e.nodeName)return void(xl(n,"\n")||n.push({text:"\n"}));var o=xp(c2(e),t);Array.isArray(o)?o.forEach(function(e){return n.push(e)}):n.push(o)}}),n}(e,t),r=(function(e){for(var t in SK)if(e[0].matches(t))return SK[t];return xc})(e)(e[0],n,t);return Array.isArray(r)||(r=[r]),r.forEach(function(r){ly.isVoid(t,r)||(0===n.length&&(r.children=[{text:e.text().replace(/\s+/gm," ")}]),SG.forEach(function(n){r=n(e[0],r,t)}))}),r}function xd(e,t){0===e.parents("pre").length&&(e[0].innerHTML=e[0].innerHTML.replace(/\s+/gm," ").replace(/<br>/g,"\n"));var n=e[0].textContent||"",r={text:n=xs(n=n.replace(/ /g," ").replace(/</g,"<").replace(/>/g,">").replace(/®/g,"\xae").replace(/©/g,"\xa9").replace(/™/g,"™").replace(/"/g,'"'))};return SG.forEach(function(n){r=n(e[0],r,t)}),r}function xp(e,t){Sq.forEach(function(t){var n=t.selector,r=t.preParseHtml;e[0].matches(n)&&(e=c2(r(e[0])))});var n=E3(e);return"span"===n?e.attr("data-w-e-type")?xf(e,t):xd(e,t):"code"===n?"pre"===E3(e.parent())?xf(e,t):xd(e,t):SW.includes(n)?xd(e,t):xf(e,t)}function xh(e,t,n){var r=c2(n);return!!r.attr(t)||(r.attr(t,"true"),e.on("destroyed",function(){r.removeAttr(t)}),!1)}function xg(e,t){void 0===t&&(t="");var n=[];return""===t&&(t="<p><br></p>"),0!==t.indexOf("<")&&(t=t.split(/\n/).map(function(e){return"<p>"+e+"</p>"}).join("")),Array.from(c2("<div>"+t+"</div>").children()).forEach(function(t){var r=xp(c2(t),e);Array.isArray(r)?r.forEach(function(e){return n.push(e)}):n.push(r)}),n}var xv=v$.f,xy=wX.fastKey;w3("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},{getConstructor:function(e,t,n,r){var o=e(function(e,o){w2(e,i),v8(e,{type:t,index:mN(null),first:void 0,last:void 0,size:0}),vv||(e.size=0),null!=o&&w0(o,e[r],{that:e,AS_ENTRIES:n})}),i=o.prototype,a=ye(t),u=function(e,t,n){var r,o,i=a(e),u=s(e,t);return u?u.value=n:(i.last=u={index:o=xy(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=u),r&&(r.next=u),vv?i.size++:e.size++,"F"!==o&&(i.index[o]=u)),e},s=function(e,t){var n,r=a(e),o=xy(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return wM(i,{clear:function(){for(var e=a(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,vv?e.size=0:this.size=0},delete:function(e){var t=a(this),n=s(this,e);if(n){var r=n.next,o=n.previous;delete t.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),t.first==n&&(t.first=r),t.last==n&&(t.last=o),vv?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=a(this),r=ym(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!s(this,e)}}),wM(i,n?{get:function(e){var t=s(this,e);return t&&t.value},set:function(e,t){return u(this,0===e?0:e,t)}}:{add:function(e){return u(this,e=0===e?0:e,e)}}),vv&&xv(i,"size",{get:function(){return a(this).size}}),o},setStrong:function(e,t,n){var r=t+" Iterator",o=ye(t),i=ye(r);bF(e,t,function(e,t){v8(this,{type:r,target:e,state:o(e),kind:t,last:void 0})},function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),DC(t)}});var xm=new Set(["doctype","!doctype","meta","script","style","link","frame","iframe","title","svg"]);function xb(e,t){e.isInline(t)?(e.insertNode(t),"link"===t.type&&e.insertFragment([{text:""}])):l6.insertNodes(e,t,{mode:"highest"})}var xw=function(e){var t=e.insertText;return e.insertFragment,e.setFragmentData=function(t){var n=e.selection;if(n){var r=w_(lj.edges(n),2),o=r[0],i=r[1],a=ly.void(e,{at:o.path}),u=ly.void(e,{at:i.path});if(!lj.isCollapsed(n)||a){var s=Dn.toDOMRange(e,n),l=s.cloneContents(),c=l.childNodes[0];if(l.childNodes.forEach(function(e){e.textContent&&""!==e.textContent.trim()&&(c=e)}),u){var f=w_(u,1)[0],d=s.cloneRange(),p=Dn.toDOMNode(e,f);d.setEndAfter(p),l=d.cloneContents()}if(a&&(c=l.querySelector("[data-slate-spacer]")),Array.from(l.querySelectorAll("[data-slate-zero-width]")).forEach(function(e){var t="n"===e.getAttribute("data-slate-zero-width");e.textContent=t?"\n":""}),E0(c)){var h=c.ownerDocument.createElement("span");h.style.whiteSpace="pre",h.appendChild(c),l.appendChild(h),c=h}var g=JSON.stringify(e.getFragment()),v=window.btoa(encodeURIComponent(g));c.setAttribute("data-slate-fragment",v),t.setData("application/x-slate-fragment",v);var y=l.ownerDocument.createElement("div");return y.appendChild(l),y.setAttribute("hidden","true"),l.ownerDocument.body.appendChild(y),t.setData("text/html",y.innerHTML),t.setData("text/plain",E4(y)),l.ownerDocument.body.removeChild(y),t}}},e.insertData=function(n){var r,o,i=n.getData("application/x-slate-fragment");if(i){var a=JSON.parse(decodeURIComponent(window.atob(i)));e.insertFragment(a)}else{var u=n.getData("text/plain"),s=n.getData("text/html");if(s)e.dangerouslyInsertHtml(s);else if(u){var l=u.split(/\r\n|\r|\n/),c=!1;try{for(var f=wP(l),d=f.next();!d.done;d=f.next()){var p=d.value;c&&l6.splitNodes(e,{always:!0}),t(p),c=!0}}catch(e){r={error:e}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}}}},e},xE=function(e){return null!=e},xD={object:!0,function:!0,undefined:!0},xS=/^\s*class[\s{/}]/,xx=Function.prototype.toString,xC=function(e){return!!function(e){if("function"!=typeof e||!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length||"function"!=typeof e.call||"function"!=typeof e.apply)return!1}catch(e){return!1}return!function(e){if(!(xE(e)&&hasOwnProperty.call(xD,typeof e)))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}(e)}(e)&&!xS.test(xx.call(e))},xO=function(e){return null!=e},xA=Object.keys,xk=!function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}()?function(e){return xA(xO(e)?Object(e):e)}:Object.keys,xT=function(e){if(!xO(e))throw TypeError("Cannot use null or undefined");return e},xB=Math.max,xF="function"==typeof(O1=Object.assign)&&(O1(O0={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),O0.foo+O0.bar+O0.trzy==="razdwatrzy")?Object.assign:function(e,t){var n,r,o,i=xB(arguments.length,2);for(e=Object(xT(e)),o=function(r){try{e[r]=t[r]}catch(e){n||(n=e)}},r=1;r<i;++r)xk(t=arguments[r]).forEach(o);if(void 0!==n)throw n;return e},xP=Array.prototype.forEach,x_=Object.create,xj=function(e,t){var n;for(n in e)t[n]=e[n]},xI=function(e){var t=x_(null);return xP.call(arguments,function(e){xO(e)&&xj(Object(e),t)}),t},xN="razdwatrzy",xR=String.prototype.indexOf,xL="function"==typeof xN.contains&&!0===xN.contains("dwa")&&!1===xN.contains("foo")?String.prototype.contains:function(e){return xR.call(this,e,arguments[1])>-1},xM=gL(function(e){(e.exports=function(e,t){var n,r,o,i,a;return arguments.length<2||"string"!=typeof e?(i=t,t=e,e=null):i=arguments[2],xE(e)?(n=xL.call(e,"c"),r=xL.call(e,"e"),o=xL.call(e,"w")):(n=o=!0,r=!1),a={value:t,configurable:n,enumerable:r,writable:o},i?xF(xI(i),a):a}).gs=function(e,t,n){var r,o,i,a;return"string"!=typeof e?(i=n,n=t,t=e,e=null):i=arguments[3],xE(t)?xC(t)?xE(n)?xC(n)||(i=n,n=void 0):n=void 0:(i=t,t=n=void 0):t=void 0,xE(e)?(r=xL.call(e,"c"),o=xL.call(e,"e")):(r=!0,o=!1),a={get:t,set:n,configurable:r,enumerable:o},i?xF(xI(i),a):a}}),xz=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function");return e},x$=gL(function(e,t){var n,r,o,i,a,u,s,l=Function.prototype.apply,c=Function.prototype.call,f=Object.create,d=Object.defineProperty,p=Object.defineProperties,h=Object.prototype.hasOwnProperty,g={configurable:!0,enumerable:!1,writable:!0};n=function(e,t){var n;return xz(t),h.call(this,"__ee__")?n=this.__ee__:(n=g.value=f(null),d(this,"__ee__",g),g.value=null),n[e]?"object"==typeof n[e]?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},r=function(e,t){var r,i;return xz(t),i=this,n.call(this,e,r=function(){o.call(i,e,r),l.call(t,this,arguments)}),r.__eeOnceListener__=t,this},a={on:n,once:r,off:o=function(e,t){var n,r,o,i;if(xz(t),!h.call(this,"__ee__")||!(n=this.__ee__)[e])return this;if("object"==typeof(r=n[e]))for(i=0;o=r[i];++i)o!==t&&o.__eeOnceListener__!==t||(2===r.length?n[e]=r[+!i]:r.splice(i,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];return this},emit:i=function(e){var t,n,r,o,i;if(h.call(this,"__ee__")&&(o=this.__ee__[e]))if("object"==typeof o){for(n=arguments.length,i=Array(n-1),t=1;t<n;++t)i[t-1]=arguments[t];for(o=o.slice(),t=0;r=o[t];++t)l.call(r,this,i)}else switch(arguments.length){case 1:c.call(o,this);break;case 2:c.call(o,this,arguments[1]);break;case 3:c.call(o,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,i=Array(n-1),t=1;t<n;++t)i[t-1]=arguments[t];l.call(o,this,i)}}},s=p({},u={on:xM(n),once:xM(r),off:xM(o),emit:xM(i)}),e.exports=t=function(e){return null==e?f(s):p(Object(e),u)},t.methods=a});function xH(e){var t=EU.get(e);return null==t&&(t=x$(),EU.set(e,t)),t}var xU=new WeakMap;function xV(e,t){var n=xU.get(e);null==n&&(n=new Set,xU.set(e,n)),n.add(t)}function xW(e){var t=Dn.getTextarea(e).$textAreaContainer,n=t.width(),r=t.height(),o=t.offset();return{top:o.top,left:o.left,width:n,height:r}}function xq(e){var t={top:"0",left:"0"},n=e.selection;if(null==n)return t;var r=xW(e);if(null==r)return t;var o=r.top,i=r.left,a=r.width,u=r.height,s=Dn.toDOMRange(e,n).getClientRects()[0];if(null==s)return t;s.width;var l=s.height,c={},f=s.top-o,d=s.left-i;if(d>a/2?c.right=a-d+5+"px":c.left=d+5+"px",f>u/2)c.bottom=u-f+5+"px";else{var p=f+l;p<0&&(p=0),c.top=p+5+"px"}return c}function xG(e,t,n){void 0===n&&(n="modal");var r={top:"0",left:"0"};if(null==e.selection)return r;var o=lf.isElement(t)&&e.isVoid(t),i=lf.isElement(t)&&e.isInline(t),a=EL.get(t);if(null==a)return r;var u=a.getBoundingClientRect(),s=u.top,l=u.left,c=u.height,f=u.width;if(o){var d=function(e){var t=[];t.push(e);for(var n=0;t.length>0;){var r=t.pop();if(null==r||++n>1e4)break;var o=r.nodeName;if(1===r.nodeType){var i=o.toLowerCase();if(EG.includes(i)||"iframe"===i||"video"===i)return r;var a=r.children||[],u=a.length;if(u)for(var s=u-1;s>=0;s--)t.push(a[s])}}return null}(a);if(null!=d){var p=d.getBoundingClientRect();s=p.top,c=p.height}}var h=xW(e);if(null==h)return r;var g,v=h.top,y=h.left,m=h.width,b=h.height,w={},E=s-v,D=l-y;if("bar"===n)return w.left=D+"px",E>40?w.bottom=b-E+5+"px":w.top=E+c+5+"px",w;if("modal"===n)return o?i?D>(m-f)/2?w.right=m-D+5+"px":w.left=D+f+5+"px":w.left="20px":w.left=D+"px",o?((g=E)<0&&(g=0),w.top=g+"px"):E>(b-c)/2?w.bottom=b-E+5+"px":((g=E+c)<0&&(g=0),w.top=g+5+"px"),w;throw Error("type '"+n+"' is invalid")}function xK(e,t){S$(function(){var n=xW(e);if(null!=n){var r,o=n.top,i=n.left,a=n.width,u=n.height,s=t.offset(),l=s.top,c=s.left,f=t.width(),d=t.height(),p=t.attr("style");if(p.indexOf("top")>=0&&(r=l-o+d-u)>0){var h=parseInt(t.css("top").toString())-r;h<0&&(h=0),t.css("top",h+"px")}if(p.indexOf("bottom")>=0&&l<0){var g=parseInt(t.css("bottom").toString())-Math.abs(l);t.css("bottom",g+"px")}if(p.indexOf("left")>=0&&(r=c-i+f-a)>0){var v=parseInt(t.css("left").toString())-r;v<0&&(v=0),t.css("left",v+"px")}if(p.indexOf("right")>=0&&c<0){var y=parseInt(t.css("right").toString())-Math.abs(c);t.css("right",y+"px")}}})}var xZ=bV("slice"),xX=vp("species"),xY=gH.Array,xJ=Math.max;md({target:"Array",proto:!0,forced:!xZ},{slice:function(e,t){var n,r,o,i=yY(this),a=yA(i),u=y2(e,a),s=y2(void 0===t?a:t,a);if(yk(i)&&((yN(n=i.constructor)&&(n===xY||yk(n.prototype))||vy(n)&&null===(n=n[xX]))&&(n=void 0),n===xY||void 0===n))return DT(i,u,s);for(r=new(void 0===n?xY:n)(xJ(s-u,0)),o=0;u<s;u++,o++)u in i&&m2(r,o,i[u]);return r.length=o,r}});var xQ=yQ.f,x0=gY("".startsWith),x1=gY("".slice),x2=Math.min,x4=mq("startsWith");md({target:"String",proto:!0,forced:!(!x4&&(O2=xQ(String.prototype,"startsWith"))&&!O2.writable)&&!x4},{startsWith:function(e){var t=mw(gQ(this));mV(e);var n=yO(x2(arguments.length>1?arguments[1]:void 0,t.length)),r=mw(e);return x0?x0(t,r,n):x1(t,n,n+r.length)===r}});var x3=Object.assign,x6=Object.defineProperty,x5=gY([].concat),x8=!x3||va(function(){if(vv&&1!==x3({b:1},x3(x6({},"a",{enumerable:!0,get:function(){x6(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=x3({},e)[n]||mp(x3({},t)).join("")!=r})?function(e,t){for(var n=g1(e),r=arguments.length,o=1,i=mt.f,a=yX.f;r>o;)for(var u,s=yE(arguments[o++]),l=i?x5(mp(s),i(s)):mp(s),c=l.length,f=0;c>f;)u=l[f++],vv&&!vO(a,s,u)||(n[u]=s[u]);return n}:x3;md({target:"Object",stat:!0,forced:Object.assign!==x8},{assign:x8});var x7=["props","attrs","style","dataset","on","hook"],x9=[],Ce={};function Ct(e,t,n){return dw(n.isInline(e)?"span":"div",null,t)}function Cn(e,t){return void 0===t&&(t=!1),dw("span",{"data-slate-string":!0},t?e+"\n":e)}function Cr(e,t){return void 0===e&&(e=0),void 0===t&&(t=!1),dw("span",{"data-slate-zero-width":t?"n":"z","data-slate-length":e},"\uFEFF",t?dw("br",null):null)}function Co(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function Ci(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function Ca(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n,r=getComputedStyle(e,null);return Ci(r.overflowY,t)||Ci(r.overflowX,t)||!!(n=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e))&&(n.clientHeight<e.scrollHeight||n.clientWidth<e.scrollWidth)}return!1}function Cu(e,t,n,r,o,i,a,u){return i<e&&a>t||i>e&&a<t?0:i<=e&&u<=n||a>=t&&u>=n?i-e-r:a>t&&u<n||i<e&&u>n?a-t+o:0}function Cs(e,t){var n=window,r=t.scrollMode,o=t.block,i=t.inline,a=t.boundary,u=t.skipOverflowHiddenElements,s="function"==typeof a?a:function(e){return e!==a};if(!Co(e))throw TypeError("Invalid target");for(var l=document.scrollingElement||document.documentElement,c=[],f=e;Co(f)&&s(f);){if((f=f.parentElement)===l){c.push(f);break}null!=f&&f===document.body&&Ca(f)&&!Ca(document.documentElement)||null!=f&&Ca(f,u)&&c.push(f)}for(var d=n.visualViewport?n.visualViewport.width:innerWidth,p=n.visualViewport?n.visualViewport.height:innerHeight,h=window.scrollX||pageXOffset,g=window.scrollY||pageYOffset,v=e.getBoundingClientRect(),y=v.height,m=v.width,b=v.top,w=v.right,E=v.bottom,D=v.left,S="start"===o||"nearest"===o?b:"end"===o?E:b+y/2,x="center"===i?D+m/2:"end"===i?w:D,C=[],O=0;O<c.length;O++){var A=c[O],k=A.getBoundingClientRect(),T=k.height,B=k.width,F=k.top,P=k.right,_=k.bottom,j=k.left;if("if-needed"===r&&b>=0&&D>=0&&E<=p&&w<=d&&b>=F&&E<=_&&D>=j&&w<=P)break;var I=getComputedStyle(A),N=parseInt(I.borderLeftWidth,10),R=parseInt(I.borderTopWidth,10),L=parseInt(I.borderRightWidth,10),M=parseInt(I.borderBottomWidth,10),z=0,$=0,H="offsetWidth"in A?A.offsetWidth-A.clientWidth-N-L:0,U="offsetHeight"in A?A.offsetHeight-A.clientHeight-R-M:0;if(l===A)z="start"===o?S:"end"===o?S-p:"nearest"===o?Cu(g,g+p,p,R,M,g+S,g+S+y,y):S-p/2,$="start"===i?x:"center"===i?x-d/2:"end"===i?x-d:Cu(h,h+d,d,N,L,h+x,h+x+m,m),z=Math.max(0,z+g),$=Math.max(0,$+h);else{z="start"===o?S-F-R:"end"===o?S-_+M+U:"nearest"===o?Cu(F,_,T,R,M+U,S,S+y,y):S-(F+T/2)+U/2,$="start"===i?x-j-N:"center"===i?x-(j+B/2)+H/2:"end"===i?x-P+L+H:Cu(j,P,B,N,L+H,x,x+m,m);var V=A.scrollLeft,W=A.scrollTop;S+=W-(z=Math.max(0,Math.min(W+z,A.scrollHeight-T+U))),x+=V-($=Math.max(0,Math.min(V+$,A.scrollWidth-B+H)))}C.push({el:A,top:z,left:$})}return C}function Cl(e){return e===Object(e)&&0!==Object.keys(e).length}function Cc(e,t){return EJ(t)&&Dn.hasDOMNode(e,t,{editable:!0})}function Cf(e,t){if(e.getConfig().readOnly)return!1;var n=Cd(e,t)&&Dn.toSlateNode(e,t);return ly.isVoid(e,n)}function Cd(e,t){return EJ(t)&&Dn.hasDOMNode(e,t)}function Cp(e,t,n){void 0===n&&(n=!1);var r=t.selection,o=t.getConfig(),i=Dn.findDocumentOrShadowRoot(t).getSelection();if(i&&(!e.isComposing||n)&&t.isFocused()){var a="None"!==i.type;if(r||a){var u=EI.get(t),s=!1;if(u.contains(i.anchorNode)&&u.contains(i.focusNode)&&(s=!0),a&&s&&r){var l=Dn.toSlateRange(t,i,{exactMatch:!0,suppressThrow:!0});if(l&&lj.equals(l,r)){var c=!0;if(lj.isCollapsed(r)){var f=i.anchorNode,d=i.anchorOffset;if(f===u){var p=u.childNodes,h=void 0;(h=p[d])&&h.matches("table")&&(c=!1),(h=p[d-1])&&h.matches("table")&&(c=!1)}}if(c)return}}if(!r||Dn.hasRange(t,r)){e.isUpdatingSelection=!0;var g=r&&Dn.toDOMRange(t,r);if(g){lj.isBackward(r)?i.setBaseAndExtent(g.endContainer,g.endOffset,g.startContainer,g.startOffset):i.setBaseAndExtent(g.startContainer,g.startOffset,g.endContainer,g.endOffset);var v=g.startContainer.parentElement;if(!v.closest("[data-slate-spacer]")){v.getBoundingClientRect=g.getBoundingClientRect.bind(g);var y=document.body;(function(e,t){var n=!e.ownerDocument.documentElement.contains(e);if(Cl(t)&&"function"==typeof t.behavior)return t.behavior(n?[]:Cs(e,t));if(!n){var r,o,i,a=!1===t?{block:"end",inline:"nearest"}:Cl(t)?t:{block:"start",inline:"nearest"};r=Cs(e,a),void 0===(o=a.behavior)&&(o="auto"),i="scrollBehavior"in document.body.style,r.forEach(function(e){var t=e.el,n=e.top,r=e.left;t.scroll&&i?t.scroll({top:n,left:r,behavior:o}):(t.scrollTop=n,t.scrollLeft=r)})}})(v,{scrollMode:"if-needed",boundary:o.scroll?u.parentElement:y,block:"end",behavior:"smooth"}),delete v.getBoundingClientRect}}else i.removeAllRanges();setTimeout(function(){g&&E5&&u.focus(),e.isUpdatingSelection=!1})}else t.selection=Dn.toSlateRange(t,i,{exactMatch:!1,suppressThrow:!1})}}}var Ch=new WeakMap,Cg=new WeakMap,Cv={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",splitBlock:"shift?+enter",undo:"mod+z",tab:"tab",selectAll:"mod+a"},Cy={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},Cm={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},Cb=function(e){var t=Cv[e],n=Cy[e],r=Cm[e],o=t&&pn(t),i=n&&pn(n),a=r&&pn(r);return function(e){return!(!o||!o(e))||!!(E6&&i&&i(e))||!(E6||!a||!a(e))}},Cw={isBold:Cb("bold"),isCompose:Cb("compose"),isMoveBackward:Cb("moveBackward"),isMoveForward:Cb("moveForward"),isDeleteBackward:Cb("deleteBackward"),isDeleteForward:Cb("deleteForward"),isDeleteLineBackward:Cb("deleteLineBackward"),isDeleteLineForward:Cb("deleteLineForward"),isDeleteWordBackward:Cb("deleteWordBackward"),isDeleteWordForward:Cb("deleteWordForward"),isExtendBackward:Cb("extendBackward"),isExtendForward:Cb("extendForward"),isExtendLineBackward:Cb("extendLineBackward"),isExtendLineForward:Cb("extendLineForward"),isItalic:Cb("italic"),isMoveLineBackward:Cb("moveLineBackward"),isMoveLineForward:Cb("moveLineForward"),isMoveWordBackward:Cb("moveWordBackward"),isMoveWordForward:Cb("moveWordForward"),isRedo:Cb("redo"),isSplitBlock:Cb("splitBlock"),isTransposeCharacter:Cb("transposeCharacter"),isUndo:Cb("undo"),isTab:Cb("tab"),isSelectAll:Cb("selectAll")};function CE(e){e.preventDefault()}var CD={beforeinput:function(e,t,n){var r=n.getConfig().readOnly;if(Dt&&!r&&Cc(n,e.target)){var o=n.selection,i=e.inputType,a=e.dataTransfer||e.data||void 0;if("insertCompositionText"!==i&&"deleteCompositionText"!==i){if(e.preventDefault(),!i.startsWith("delete")||i.startsWith("deleteBy")){var u=w_(e.getTargetRanges(),1)[0];if(u){var s=Dn.toSlateRange(n,u,{exactMatch:!1,suppressThrow:!1});o&&lj.equals(o,s)||l6.select(n,s)}}if(o&&lj.isExpanded(o)&&i.startsWith("delete")){var l=i.endsWith("Backward")?"backward":"forward";ly.deleteFragment(n,{direction:l})}else switch(i){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":ly.deleteFragment(n);break;case"deleteContent":case"deleteContentForward":ly.deleteForward(n);break;case"deleteContentBackward":ly.deleteBackward(n);break;case"deleteEntireSoftLine":ly.deleteBackward(n,{unit:"line"}),ly.deleteForward(n,{unit:"line"});break;case"deleteHardLineBackward":ly.deleteBackward(n,{unit:"block"});break;case"deleteSoftLineBackward":ly.deleteBackward(n,{unit:"line"});break;case"deleteHardLineForward":ly.deleteForward(n,{unit:"block"});break;case"deleteSoftLineForward":ly.deleteForward(n,{unit:"line"});break;case"deleteWordBackward":ly.deleteBackward(n,{unit:"word"});break;case"deleteWordForward":ly.deleteForward(n,{unit:"word"});break;case"insertLineBreak":case"insertParagraph":ly.insertBreak(n);break;case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if("insertFromPaste"===i&&!EV.get(n))break;a instanceof DataTransfer?n.insertData(a):"string"==typeof a&&ly.insertText(n,a)}}}},blur:function(e,t,n){var r=t.isUpdatingSelection,o=t.latestElement;if(!n.getConfig().readOnly&&!r&&Cc(n,e.target)){var i=Dn.findDocumentOrShadowRoot(n);if(o!==i.activeElement){var a=e.relatedTarget;if(!(a===Dn.toDOMNode(n,n)||EY(a)&&a.hasAttribute("data-slate-spacer"))){if(null!=a&&EJ(a)&&Dn.hasDOMNode(n,a)){var u=Dn.toSlateNode(n,a);if(lf.isElement(u)&&!n.isVoid(u))return}if(E8){var s=i.getSelection();null==s||s.removeAllRanges()}E$.delete(n)}}}},focus:function(e,t,n){var r=Dn.toDOMNode(n,n);t.latestElement=Dn.findDocumentOrShadowRoot(n).activeElement,E5&&e.target!==r?r.focus():E$.set(n,!0)},click:function(e,t,n){if(!n.getConfig().readOnly&&Cd(n,e.target)&&EJ(e.target)){var r=Dn.toSlateNode(n,e.target),o=Dn.findPath(n,r);if(ly.hasPath(n,o)&&lD.get(n,o)===r){var i=ly.start(n,o),a=ly.end(n,o),u=ly.void(n,{at:i}),s=ly.void(n,{at:a});if(u&&s&&lO.equals(u[1],s[1])){var l=ly.range(n,i);l6.select(n,l)}}}},compositionstart:function(e,t,n){if(Cc(n,e.target)){var r,o=n.selection;if(o&&lj.isExpanded(o)&&(ly.deleteFragment(n),Promise.resolve().then(function(){Cp(t,n,!0)})),o&&lj.isCollapsed(o)){var i=Dn.toDOMRange(n,o).startContainer,a=i.textContent||"";Ch.set(n,a),Cg.set(n,i)}t.isComposing=!0,n.getConfig().placeholder&&n.isEmpty()&&t.showPlaceholder&&(null==(r=t.$placeholder)||r.hide(),t.showPlaceholder=!1)}},compositionend:function(e,t,n){if(Cc(n,e.target)){t.isComposing=!1;var r=n.selection;if(null!=r){(De||E5)&&Dn.cleanExposedTexNodeInSelectionBlock(n);for(var o=lj.isBackward(r)?r.focus:r.anchor,i=w_(ly.node(n,[o.path[0]]),1)[0],a=0;a<o.path.length;a++){var u=w_(ly.node(n,o.path.slice(0,a+1)),1)[0];if(lf.isElement(u)&&((E8||E5)&&"link"===u.type||"code"===u.type)){Dn.setNewKey(i);break}}var s=e.data;if(s){if(n.getConfig().maxLength){var l=Dn.getLeftLengthOfMaxLength(n);l<s.length?(Dn.toDOMRange(n,r).startContainer.textContent=Ch.get(n)||"",l>0&&ly.insertText(n,s.slice(0,l)),t.changeViewState()):ly.insertText(n,s)}else ly.insertText(n,s);E8||setTimeout(function(){var e=n.selection;if(null!=e){var t=Cg.get(n);null!=t&&Dn.toDOMRange(n,e).startContainer!==t&&(t.textContent=Ch.get(n)||"")}})}}}},compositionupdate:function(e,t,n){Cc(n,e.target)&&(t.isComposing=!0)},keydown:function(e,t,n){var r=n.selection;if(!n.getConfig().readOnly&&!t.isComposing&&Cc(n,e.target)){if(function(e,t){var n=ES.get(e),r=n&&n.getMenus(),o=EC.get(e),i=o&&o.getMenus(),a=wF(wF({},r),i);for(var u in a){var s=a[u],l=s.hotkey;if(l&&pe(l,t)&&!s.isDisabled(e)){var c=s.getValue(e);s.exec(e,c)}}}(n,e),Cw.isTab(e))return CE(e),void n.handleTab();if(Cw.isRedo(e))return CE(e),void("function"==typeof n.redo&&n.redo());if(Cw.isUndo(e))return CE(e),void("function"==typeof n.undo&&n.undo());if(Cw.isMoveLineBackward(e))return CE(e),void l6.move(n,{unit:"line",reverse:!0});if(Cw.isMoveLineForward(e))return CE(e),void l6.move(n,{unit:"line"});if(Cw.isExtendLineBackward(e))return CE(e),void l6.move(n,{unit:"line",edge:"focus",reverse:!0});if(Cw.isExtendLineForward(e))return CE(e),void l6.move(n,{unit:"line",edge:"focus"});if(Cw.isMoveBackward(e))return CE(e),void(r&&lj.isCollapsed(r)?l6.move(n,{reverse:!0}):l6.collapse(n,{edge:"start"}));if(Cw.isMoveForward(e))return CE(e),void(r&&lj.isCollapsed(r)?l6.move(n):l6.collapse(n,{edge:"end"}));if(Cw.isMoveWordBackward(e))return CE(e),r&&lj.isExpanded(r)&&l6.collapse(n,{edge:"focus"}),void l6.move(n,{unit:"word",reverse:!0});if(Cw.isMoveWordForward(e))return CE(e),r&&lj.isExpanded(r)&&l6.collapse(n,{edge:"focus"}),void l6.move(n,{unit:"word"});if(Cw.isSelectAll(e))return CE(e),void n.selectAll();if(Dt){if((De||E8)&&r&&(Cw.isDeleteBackward(e)||Cw.isDeleteForward(e))&&lj.isCollapsed(r)){var o=lD.parent(n,r.anchor.path);if(lf.isElement(o)&&ly.isVoid(n,o)&&ly.isInline(n,o))return e.preventDefault(),void l6.delete(n,{unit:"block"})}}else{if(Cw.isBold(e)||Cw.isItalic(e)||Cw.isTransposeCharacter(e))return void CE(e);if(Cw.isSplitBlock(e))return CE(e),void ly.insertBreak(n);if(Cw.isDeleteBackward(e))return CE(e),void(r&&lj.isExpanded(r)?ly.deleteFragment(n,{direction:"backward"}):ly.deleteBackward(n));if(Cw.isDeleteForward(e))return CE(e),void(r&&lj.isExpanded(r)?ly.deleteFragment(n,{direction:"forward"}):ly.deleteForward(n));if(Cw.isDeleteLineBackward(e))return CE(e),void(r&&lj.isExpanded(r)?ly.deleteFragment(n,{direction:"backward"}):ly.deleteBackward(n,{unit:"line"}));if(Cw.isDeleteLineForward(e))return CE(e),void(r&&lj.isExpanded(r)?ly.deleteFragment(n,{direction:"forward"}):ly.deleteForward(n,{unit:"line"}));if(Cw.isDeleteWordBackward(e))return CE(e),void(r&&lj.isExpanded(r)?ly.deleteFragment(n,{direction:"backward"}):ly.deleteBackward(n,{unit:"word"}));if(Cw.isDeleteWordForward(e))return CE(e),void(r&&lj.isExpanded(r)?ly.deleteFragment(n,{direction:"forward"}):ly.deleteForward(n,{unit:"word"}))}}},keypress:function(e,t,n){if(!Dt&&!n.getConfig().readOnly&&Cc(n,e.target)){e.preventDefault();var r=e.key;ly.insertText(n,r)}},copy:function(e,t,n){if(Cc(n,e.target)){e.preventDefault();var r=e.clipboardData;null!=r&&n.setFragmentData(r)}},cut:function(e,t,n){var r=n.selection;if(!n.getConfig().readOnly&&Cc(n,e.target)){e.preventDefault();var o=e.clipboardData;if(null!=o&&(n.setFragmentData(o),r))if(lj.isExpanded(r))ly.deleteFragment(n);else{var i=lD.parent(n,r.anchor.path);ly.isVoid(n,i)&&l6.delete(n)}}},paste:function(e,t,n){if(EV.set(n,!0),!n.getConfig().readOnly&&Cc(n,e.target)){var r=n.getConfig().customPaste;if(r&&!1===r(n,e))return void EV.set(n,!1);if(!Dt||e.clipboardData&&""!==e.clipboardData.getData("text/plain")&&1===e.clipboardData.types.length){e.preventDefault();var o=e.clipboardData;null!=o&&n.insertData(o)}}},dragover:function(e,t,n){if(Cd(n,e.target)){var r=Dn.toSlateNode(n,e.target);ly.isVoid(n,r)&&e.preventDefault()}},dragstart:function(e,t,n){if(Cd(n,e.target)&&!n.getConfig().readOnly){var r=Dn.toSlateNode(n,e.target),o=Dn.findPath(n,r);if(ly.isVoid(n,r)||ly.void(n,{at:o,voids:!0})){var i=ly.range(n,o);l6.select(n,i)}var a=e.dataTransfer;null!=a&&(t.isDraggingInternally=!0,n.setFragmentData(a))}},dragend:function(e,t,n){n.getConfig().readOnly||t.isDraggingInternally&&Cd(n,e.target)&&(t.isDraggingInternally=!1)},drop:function(e,t,n){var r=e.dataTransfer;if(!n.getConfig().readOnly&&Cd(n,e.target)&&null!=r&&!(Dt&&E8&&r.files.length>0)){e.preventDefault();var o=n.selection,i=Dn.findEventRange(n,e);l6.select(n,i),t.isDraggingInternally&&(o&&l6.delete(n,{at:o}),t.isDraggingInternally=!1),n.insertData(r),n.isFocused()||n.focus()}}},CS=1,Cx=function(){function e(e){var t=this;this.id=CS++,this.$textArea=null,this.$progressBar=c2('<div class="w-e-progress-bar"></div>'),this.$maxLengthInfo=c2('<div class="w-e-max-length-info"></div>'),this.isComposing=!1,this.isUpdatingSelection=!1,this.isDraggingInternally=!1,this.latestElement=null,this.showPlaceholder=!1,this.$placeholder=null,this.latestEditorSelection=null,this.onDOMSelectionChange=f4(function(){var e=t.editorInstance;!function(e,t){var n=e.isComposing,r=e.isUpdatingSelection,o=e.isDraggingInternally;if(!(t.getConfig().readOnly||n||r||o)){var i=Dn.findDocumentOrShadowRoot(t),a=i.activeElement,u=Dn.toDOMNode(t,t),s=i.getSelection();if(a===u?(e.latestElement=a,E$.set(t,!0)):E$.delete(t),!s)return l6.deselect(t);var l=s.anchorNode,c=s.focusNode,f=Cc(t,l)||Cf(t,l),d=Cc(t,c)||Cf(t,c);if(f&&d){var p=Dn.toSlateRange(t,s,{exactMatch:!1,suppressThrow:!1});l6.select(t,p)}else l6.deselect(t)}}(t,e)},100);var n=c2(e);if(0===n.length)throw Error("Cannot find textarea DOM by selector '"+e+"'");this.$box=n;var r=c2('<div class="w-e-text-container"></div>');r.append(this.$progressBar),r.append(this.$maxLengthInfo),n.append(r);var o=c2('<div class="w-e-scroll"></div>');r.append(o),this.$scroll=o,this.$textAreaContainer=r,S$(function(){var e=t.editorInstance,n=Dn.getWindow(e);n.document.addEventListener("selectionchange",t.onDOMSelectionChange),e.on("destroyed",function(){n.document.removeEventListener("selectionchange",t.onDOMSelectionChange)}),r.on("click",function(){return e.hidePanelOrModal()}),e.on("change",t.changeViewState.bind(t));var o=e.getConfig().onChange;o&&e.on("change",function(){return o(e)}),t.onFocusAndOnBlur(),e.on("change",t.changeMaxLengthInfo.bind(t)),t.bindEvent()})}return Object.defineProperty(e.prototype,"editorInstance",{get:function(){var e=EE.get(this);if(null==e)throw Error("Can not get editor instance");return e},enumerable:!1,configurable:!0}),e.prototype.bindEvent=function(){var e=this,t=this.$textArea,n=this.$scroll,r=this.editorInstance;null!=t&&(f$(CD,function(n,o){t.on(o,function(t){n(t,e,r)})}),r.getConfig().scroll&&(n.css("overflow-y","auto"),n.on("scroll",f4(function(){r.emit("scroll")},100))))},e.prototype.onFocusAndOnBlur=function(){var e=this,t=this.editorInstance,n=t.getConfig(),r=n.onBlur,o=n.onFocus;this.latestEditorSelection=t.selection,t.on("change",function(){null==e.latestEditorSelection&&null!=t.selection?setTimeout(function(){return o&&o(t)}):null!=e.latestEditorSelection&&null==t.selection&&setTimeout(function(){return r&&r(t)}),e.latestEditorSelection=t.selection})},e.prototype.changeMaxLengthInfo=function(){var e=this.editorInstance,t=e.getConfig().maxLength;if(t){var n=t-Dn.getLeftLengthOfMaxLength(e);this.$maxLengthInfo[0].innerHTML=n+"/"+t}},e.prototype.changeProgress=function(e){var t=this.$progressBar;t.css("width",e+"%"),e>=100&&setTimeout(function(){t.hide(),t.css("width","0"),t.show()},1e3)},e.prototype.changeViewState=function(){var e=this,t=this.editorInstance;(function(e,t){var n,r,o=e.$scroll,i="w-e-textarea-"+e.id,a=t.getConfig(),u=a.readOnly,s=a.autoFocus,l=(void 0===(n=u)&&(n=!1),dr("div#"+i,{props:{contentEditable:!n}}));l.children=(t.children||[]).map(function(e,n){var r=function e(t,n,r,o){return E_.set(t,n),Ej.set(t,r),lf.isElement(t)?function(t,n){var r,o,i,a=Dn.findKey(n,t),u=n.isInline(t),s=ly.isVoid(n,t),l=SH(a.id),c={id:l,key:a.id,"data-slate-node":"element","data-slate-inline":u},f=t.type,d=t.children,p=Ce[f]||Ct;i=s?null:(void 0===d?[]:d).map(function(r,o){return e(r,o,t,n)});var h=p(t,i,n);if(s){c["data-slate-void"]=!0;var g=u?"span":"div",v=w_(lD.texts(t),1),y=w_(v[0],1)[0],m=dw(g,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},e(y,0,t,n));h=dw(g,{style:{position:"relative"}},h,m),E_.set(y,0),Ej.set(y,t)}return null==h.data&&(h.data={}),Object.assign(h.data,c),s||u||(o=r=h,x9.forEach(function(e){o=e(t,r)}),h=o),S$(function(){var e=E1(l);null!=e&&(ER.set(a,e),EL.set(t,e),EN.set(e,t))}),h}(t,o):function(e,t,n){if(null==e.text)throw Error("Current node is not slate Text "+JSON.stringify(e));var r=Dn.findKey(n,e),o=n.getConfig().decorate;if(null==o)throw Error("Can not get config.decorate");var i=Dn.findPath(n,e),a=o([e,i]),u=l$.decorations(e,a),s=u.map(function(r,o){var i,a=function(e,t,n,r,o){void 0===t&&(t=!1);var i=e.text,a=Dn.findPath(o,n),u=lO.parent(a);if(ly.isEditor(r))throw Error("Text node "+JSON.stringify(n)+" parent is Editor");return o.isVoid(r)?Cr(lD.string(r).length):""!==i||r.children[r.children.length-1]!==n||o.isInline(r)||""!==ly.string(o,u)?""===i?Cr():t&&"\n"===i.slice(-1)?Cn(i,!0):Cn(i):Cr(0,!0)}(r,o===u.length-1,e,t,n);return i=a,x9.forEach(function(e){i=e(r,i)}),dw("span",{"data-slate-leaf":!0},a=i)}),l="w-e-text-"+r.id,c=dw("span",{"data-slate-node":"text",id:l,key:r.id},s);return S$(function(){var t=E1(l);null!=t&&(ER.set(r,t),EL.set(e,t),EN.set(t,e))}),c}(t,r,o)}(e,n,t,t);return function e(t){var n=t.data,r=void 0===n?{}:n,o=t.children,i=void 0===o?[]:o;Object.keys(r).forEach(function(e){var n,o,i=r[e];if("key"!==e){if(!x7.includes(e)){if(e.startsWith("data-")){var a,u,s,l=e.slice(5);return l=d4(l),(n={})[l]=i,u=n,null==t.data&&(t.data={}),null==(s=t.data).dataset&&(s.dataset={}),Object.assign(s.dataset,u),void delete r[e]}(o={})[e]=i,null==t.data&&(t.data={}),null==(a=t.data).props&&(a.props={}),Object.assign(a.props,o),delete r[e]}}else t.key=i}),i.length>0&&i.forEach(function(t){"string"!=typeof t&&e(t)})}(r),r});var c=EB.get(e);if(null==c&&(c=!0),c){var f=c2('<div\n id="'+i+'"\n data-slate-editor\n data-slate-node="value"\n suppressContentEditableWarning\n role="textarea"\n spellCheck="true"\n autoCorrect="true"\n autoCapitalize="true"\n ></div>');o.append(f),e.$textArea=f,r=f[0],(p=function(e,t){let n={create:[],update:[],remove:[],destroy:[],pre:[],post:[]};for(let t of dn)for(let r of e){let e=r[t];void 0!==e&&n[t].push(e)}function r(e,t){var o,i;let a,u=e.data;if(void 0!==u){let t=null==(o=u.hook)?void 0:o.init;f9(t)&&(t(e),u=e.data)}let s=e.children,l=e.sel;if("!"===l)f7(e.text)&&(e.text=""),e.elm=f3.createComment(e.text);else if(void 0!==l){let o=l.indexOf("#"),c=l.indexOf(".",o),f=o>0?o:l.length,d=c>0?c:l.length,p=-1!==o||-1!==c?l.slice(0,Math.min(f,d)):l,h=e.elm=f9(u)&&f9(a=u.ns)?f3.createElementNS(a,p,u):f3.createElement(p,u);for(f<d&&h.setAttribute("id",l.slice(f+1,d)),c>0&&h.setAttribute("class",l.slice(d+1).replace(/\./g," ")),a=0;a<n.create.length;++a)n.create[a](de,e);if(f5(s))for(a=0;a<s.length;++a){let e=s[a];null!=e&&f3.appendChild(h,r(e,t))}else f8(e.text)&&f3.appendChild(h,f3.createTextNode(e.text));let g=e.data.hook;f9(g)&&(null==(i=g.create)||i.call(g,de,e),g.insert&&t.push(e))}else e.elm=f3.createTextNode(e.text);return e.elm}function o(e,t,n,o,i,a){for(;o<=i;++o){let i=n[o];null!=i&&f3.insertBefore(e,r(i,a),t)}}function i(e,t,r,o){for(var i,a;r<=o;++r){let o,u,s=t[r];if(null!=s)if(f9(s.sel)){(function e(t){var r,o;let i=t.data;if(void 0!==i){null==(o=null==(r=null==i?void 0:i.hook)?void 0:r.destroy)||o.call(r,t);for(let e=0;e<n.destroy.length;++e)n.destroy[e](t);if(void 0!==t.children)for(let n=0;n<t.children.length;++n){let r=t.children[n];null!=r&&"string"!=typeof r&&e(r)}}})(s),o=n.remove.length+1,u=function(e,t){return function(){if(0==--t){let t=f3.parentNode(e);f3.removeChild(t,e)}}}(s.elm,o);for(let e=0;e<n.remove.length;++e)n.remove[e](s,u);let e=null==(a=null==(i=null==s?void 0:s.data)?void 0:i.hook)?void 0:a.remove;f9(e)?e(s,u):u()}else f3.removeChild(e,s.elm)}}return function(e,t){let a,u,s,l=[];for(a=0;a<n.pre.length;++a)n.pre[a]();for(void 0!==e.sel||(e=function(e){let t=e.id?"#"+e.id:"",n=e.getAttribute("class"),r=n?"."+n.split(" ").join("."):"";return f6(f3.tagName(e).toLowerCase()+t+r,{},[],void 0,e)}(e)),dt(e,t)?function e(t,a,u){var s,l,c,f,d;let p=null==(s=a.data)?void 0:s.hook;null==(l=null==p?void 0:p.prepatch)||l.call(p,t,a);let h=a.elm=t.elm,g=t.children,v=a.children;if(t!==a){if(void 0!==a.data){for(let e=0;e<n.update.length;++e)n.update[e](t,a);null==(f=null==(c=a.data.hook)?void 0:c.update)||f.call(c,t,a)}f7(a.text)?f9(g)&&f9(v)?g!==v&&function(t,n,a,u){let s,l,c,f=0,d=0,p=n.length-1,h=n[0],g=n[p],v=a.length-1,y=a[0],m=a[v];for(;f<=p&&d<=v;)null==h?h=n[++f]:null==g?g=n[--p]:null==y?y=a[++d]:null==m?m=a[--v]:dt(h,y)?(e(h,y,u),h=n[++f],y=a[++d]):dt(g,m)?(e(g,m,u),g=n[--p],m=a[--v]):dt(h,m)?(e(h,m,u),f3.insertBefore(t,h.elm,f3.nextSibling(g.elm)),h=n[++f],m=a[--v]):(dt(g,y)?(e(g,y,u),f3.insertBefore(t,g.elm,h.elm),g=n[--p]):(void 0===s&&(s=function(e,t,n){var r;let o={};for(let i=t;i<=n;++i){let t=null==(r=e[i])?void 0:r.key;void 0!==t&&(o[t]=i)}return o}(n,f,p)),f7(l=s[y.key])||(c=n[l]).sel!==y.sel?f3.insertBefore(t,r(y,u),h.elm):(e(c,y,u),n[l]=void 0,f3.insertBefore(t,c.elm,h.elm))),y=a[++d]);(f<=p||d<=v)&&(f>p?o(t,null==a[v+1]?null:a[v+1].elm,a,d,v,u):i(t,n,f,p))}(h,g,v,u):f9(v)?(f9(t.text)&&f3.setTextContent(h,""),o(h,null,v,0,v.length-1,u)):f9(g)?i(h,g,0,g.length-1):f9(t.text)&&f3.setTextContent(h,""):t.text!==a.text&&(f9(g)&&i(h,g,0,g.length-1),f3.setTextContent(h,a.text)),null==(d=null==p?void 0:p.postpatch)||d.call(p,t,a)}}(e,t,l):(u=e.elm,s=f3.parentNode(u),r(t,l),null!==s&&(f3.insertBefore(s,t.elm,f3.nextSibling(u)),i(s,[e],0,0))),a=0;a<l.length;++a)l[a].data.hook.insert(l[a]);for(a=0;a<n.post.length;++a)n.post[a]();return t}}([ds,dg,db,df,dp,da]))(r,l),EB.set(e,!1),EF.set(e,p)}else{var d=EP.get(e),p=EF.get(e);if(null==d||null==p)return;r=d.elm,p(d,l)}if(null!=r||null!=(r=E1(i))){if((c?s:t.isFocused())&&r.focus({preventScroll:!0}),c){var h=EX(r);h&&Ez.set(t,h)}EI.set(t,r),EL.set(t,r),EN.set(r,t),EP.set(e,l)}})(this,t),function(e,t){var n,r=t.getConfig().placeholder;if(r){var o=t.isEmpty();if(o&&!e.showPlaceholder&&!e.isComposing){if(null==e.$placeholder){var i=c2('<div class="w-e-text-placeholder">'+r+"</div>");e.$textAreaContainer.append(i),e.$placeholder=i}return e.$placeholder.show(),e.showPlaceholder=!0}!o&&e.showPlaceholder&&(null==(n=e.$placeholder)||n.hide(),e.showPlaceholder=!1)}}(this,t),S$(function(){Cp(e,t)})},e.prototype.destroy=function(){this.$textAreaContainer.remove()},e}();function CC(e){e.removeAttr("width"),e.removeAttr("height"),e.removeAttr("fill"),e.removeAttr("class"),e.removeAttr("t"),e.removeAttr("p-id");var t=e.children();t.length&&CC(t)}function CO(){return c2('<svg viewBox="0 0 1024 1024"><path d="M498.7 655.8l-197.6-268c-8.1-10.9-0.3-26.4 13.3-26.4h395.2c13.6 0 21.4 15.4 13.3 26.4l-197.6 268c-6.6 9-20 9-26.6 0z"></path></svg>')}function CA(){return c2('<div class="w-e-bar-divider"></div>')}function Ck(e,t,n,r,o){if(void 0===o&&(o=!1),t)if(r&&(r=r.replace("mod",E6?"cmd":"ctrl")),o)r&&(e.attr("data-tooltip",r),e.addClass("w-e-menu-tooltip-v5"),e.addClass("tooltip-right"));else{var i=r?n+"\n"+r:n;e.attr("data-tooltip",i),e.addClass("w-e-menu-tooltip-v5")}}ws("match",function(e,t,n){return[function(t){var n=gQ(this),r=null==t?void 0:vj(t,e);return r?vO(r,t,n):new RegExp(t)[e](mw(n))},function(e){var r=vx(this),o=mw(e),i=n(t,r,o);if(i.done)return i.value;if(!r.global)return wb(r,o);var a=r.unicode;r.lastIndex=0;for(var u,s=[],l=0;null!==(u=wb(r,o));){var c=mw(u[0]);s[l]=c,""===c&&(r.lastIndex=wc(o,yO(r.lastIndex),a)),l++}return 0===l?null:s}]});var CT=function(){function e(e,t,n){var r=this;void 0===n&&(n=!1),this.$elem=c2('<div class="w-e-bar-item"></div>'),this.$button=c2('<button type="button"></button>'),this.disabled=!1,this.menu=t;var o=t.tag,i=t.width;if("button"!==o)throw Error("Invalid tag '"+o+"', expected 'button'");var a=t.title,u=t.hotkey,s=t.iconSvg,l=void 0===s?"":s,c=this.$button;if(l){var f=c2(l);CC(f),c.append(f)}else c.text(a);Ck(c,l,a,void 0===u?"":u,n),n&&l&&c.append(c2('<span class="title">'+a+"</span>")),i&&c.css("width",i+"px"),c.attr("data-menu-key",e),this.$elem.append(c),S$(function(){return r.init()})}return e.prototype.init=function(){var e=this;this.setActive(),this.setDisabled(),this.$button.on("click",function(t){t.preventDefault(),CH(e).hidePanelOrModal(),e.disabled||(e.exec(),e.onButtonClick())})},e.prototype.exec=function(){var e=CH(this),t=this.menu,n=t.getValue(e);t.exec(e,n)},e.prototype.setActive=function(){var e=CH(this),t=this.$button,n="active";this.menu.isActive(e)?t.addClass(n):t.removeClass(n)},e.prototype.setDisabled=function(){var e=CH(this),t=this.$button,n=this.menu.isDisabled(e);(null==e.selection||e.isDisabled())&&(n=!0),this.menu.alwaysEnable&&(n=!1);var r="disabled";n?t.addClass(r):t.removeClass(r),this.disabled=n},e.prototype.changeMenuState=function(){this.setActive(),this.setDisabled()},e}(),CB=function(e){function t(t,n,r){return void 0===r&&(r=!1),e.call(this,t,n,r)||this}return wB(t,e),t.prototype.onButtonClick=function(){},t}(CT),CF=function(){function e(e){this.isShow=!1,this.showTime=0,this.record(e)}return e.prototype.record=function(e){var t=EA.get(e);null==t&&(t=new Set,EA.set(e,t)),t.add(this),Ek.set(this,e)},e.prototype.renderContent=function(e){var t=this.$elem;t.empty(),t.append(e);var n=this.genSelfElem();n&&t.append(n)},e.prototype.appendTo=function(e){var t=this.$elem;e.append(t)},e.prototype.show=function(){if(!this.isShow){this.showTime=Date.now(),this.$elem.show(),this.isShow=!0;var e=Ek.get(this);e&&e.emit("modalOrPanelShow",this)}},e.prototype.hide=function(){if(this.isShow&&!(Date.now()-this.showTime<200)){this.$elem.hide(),this.isShow=!1;var e=Ek.get(this);e&&e.emit("modalOrPanelHide")}},e}(),CP=function(e){function t(t){var n=e.call(this,t)||this;return n.type="dropPanel",n.$elem=c2('<div class="w-e-drop-panel"></div>'),n}return wB(t,e),t.prototype.genSelfElem=function(){return null},t}(CF),C_=function(e){function t(t,n,r){void 0===r&&(r=!1);var o=e.call(this,t,n,r)||this;if(o.dropPanel=null,o.menu=n,n.showDropPanel){var i=CO();o.$button.append(i)}return o}return wB(t,e),t.prototype.onButtonClick=function(){this.menu.showDropPanel&&this.handleDropPanel()},t.prototype.handleDropPanel=function(){var e=this.menu;if(null!=e.getPanelContentElem){var t=CH(this);if(null==this.dropPanel){var n=new CP(t),r=e.getPanelContentElem(t);n.renderContent(r),n.appendTo(this.$elem),n.show(),this.dropPanel=n}else{var o=this.dropPanel;o.isShow?o.hide():(r=e.getPanelContentElem(t),o.renderContent(r),o.show())}var i=this.dropPanel;if(i.isShow){var a=this.$elem,u=a.offset().left,s=a.parents(".w-e-bar");u-s.offset().left>=s.width()/2?i.$elem.css({left:"none",right:"0"}):i.$elem.css({left:"0",right:"none"})}}},t}(CT),Cj=function(e){function t(t,n){void 0===n&&(n=0);var r=e.call(this,t)||this;r.type="modal",r.$elem=c2('<div class="w-e-modal"></div>'),r.width=0,n&&(r.width=n);var o=r.$elem;return o.on("click",function(e){return e.stopPropagation()}),o.on("keyup",function(e){"Escape"===e.code&&(r.hide(),t.restoreSelection())}),r}return wB(t,e),t.prototype.genSelfElem=function(){var e=this,t=c2('<span class="btn-close"><svg viewBox="0 0 1024 1024"><path d="M1024 896.1024l-128 128L512 640 128 1024 0 896 384 512 0 128 128 0 512 384 896.1024 0l128 128L640 512z"></path></svg></span>'),n=Ek.get(this);return t.on("click",function(){e.hide(),null==n||n.restoreSelection()}),t},t.prototype.setStyle=function(e){var t=this.width,n=this.$elem;n.attr("style",""),t&&n.css("width",t+"px"),n.css(e)},t}(CF);function CI(e,t,n){var r=c2('<label class="babel-container"></label>');r.append("<span>"+e+"</span>");var o=c2('<input type="text" id="'+t+'" placeholder="'+(n||"")+'">');return r.append(o),[r[0],o[0]]}function CN(e,t){var n=c2('<div class="button-container"></div>'),r=c2('<button type="button" id="'+e+'">'+t+"</button>");return n.append(r),[n[0],r[0]]}var CR=function(e){function t(t,n,r){void 0===r&&(r=!1);var o=e.call(this,t,n,r)||this;return o.$body=c2("body"),o.modal=null,o.menu=n,o}return wB(t,e),t.prototype.onButtonClick=function(){this.menu.showModal&&this.handleModal()},t.prototype.getPosition=function(){var e=CH(this),t=this.menu.getModalPositionNode(e);return lf.isElement(t)?xG(e,t,"modal"):xq(e)},t.prototype.handleModal=function(){var e=CH(this),t=this.menu;if(null==this.modal){var n=new Cj(e,t.modalWidth);this.renderAndShowModal(n,!0),this.modal=n}else(n=this.modal).isShow?n.hide():this.renderAndShowModal(n,!1)},t.prototype.renderAndShowModal=function(e,t){void 0===t&&(t=!1);var n=CH(this),r=this.menu;if(null!=r.getModalContentElem){var o=Dn.getTextarea(n),i=Dn.getToolbar(n),a=((null==i?void 0:i.getConfig())||{}).modalAppendToBody,u=r.getModalContentElem(n);if(e.renderContent(u),a)e.setStyle({left:"0",right:"0"});else{var s=this.getPosition();e.setStyle(s)}t&&(a?e.appendTo(this.$body):e.appendTo(o.$textAreaContainer)),e.show(),a||xK(n,e.$elem),setTimeout(function(){n.blur()})}},t}(CT),CL=function(e){function t(t,n){var r=e.call(this,t)||this;return r.type="selectList",r.$elem=c2('<div class="w-e-select-list"></div>'),n&&r.$elem.css("width",n+"px"),r.$elem.on("click",function(e){e.stopPropagation()}),r}return wB(t,e),t.prototype.renderList=function(e){var t=this.$elem;t.empty();var n=c2("<ul></ul>");e.forEach(function(e){var t=e.value,r=e.text,o=e.selected,i=e.styleForRenderMenuList,a=c2('<li data-value="'+t+'"></li>');if(i&&a.css(i),o){var u=c2('<svg viewBox="0 0 1446 1024"><path d="M574.116299 786.736392 1238.811249 48.517862C1272.390222 11.224635 1329.414799 7.827718 1366.75664 41.450462 1403.840015 74.840484 1406.731043 132.084741 1373.10189 169.433699L655.118888 966.834607C653.072421 969.716875 650.835807 972.514337 648.407938 975.210759 615.017957 1012.29409 558.292155 1015.652019 521.195664 982.250188L72.778218 578.493306C35.910826 545.297758 32.859041 488.584019 66.481825 451.242134 99.871807 414.158803 156.597563 410.800834 193.694055 444.202665L574.116299 786.736392Z"></path></svg>');a.append(u),a.addClass("selected")}a.append(c2('<span data-value="'+t+'">'+r+"</span>")),a.attr("title",r),n.append(a)}),t.append(n)},t.prototype.genSelfElem=function(){return null},t}(CF),CM=function(){function e(e,t,n){var r=this;void 0===n&&(n=!1),this.$elem=c2('<div class="w-e-bar-item"></div>'),this.$button=c2('<button type="button" class="select-button"></button>'),this.disabled=!1,this.selectList=null;var o=t.tag,i=t.title,a=t.width,u=t.iconSvg,s=t.hotkey;if("select"!==o)throw Error("Invalid tag '"+o+"', expected 'select'");var l=this.$button;a&&l.css("width",a+"px"),l.attr("data-menu-key",e),Ck(l,void 0===u?"":u,i,void 0===s?"":s,n),this.$elem.append(l),this.menu=t,S$(function(){return r.init()})}return e.prototype.init=function(){var e=this;this.setSelectedValue(),this.$button.on("click",function(t){t.preventDefault(),CH(e).hidePanelOrModal(),e.trigger()})},e.prototype.trigger=function(){var e=this,t=CH(this);if(!t.isDisabled()&&!this.disabled){var n=this.menu;if(null==this.selectList){this.selectList=new CL(t,n.selectPanelWidth);var r=this.selectList,o=n.getOptions(t);r.renderList(o),r.appendTo(this.$elem),r.show(),r.$elem.on("click","li",function(t){var n=t.target;if(null!=n){t.preventDefault();var r=c2(n).attr("data-value");e.onChange(r)}})}else(r=this.selectList).isShow?r.hide():(o=n.getOptions(t),r.renderList(o),r.show())}},e.prototype.onChange=function(e){var t=CH(this),n=this.menu;n.exec&&n.exec(t,e)},e.prototype.setSelectedValue=function(){var e=CH(this),t=this.menu,n=t.getValue(e),r=function(e,t){for(var n=e.length,r="",o=0;o<n;o++){var i=e[o];if(i.value===t){r=i.text;break}}return r}(t.getOptions(e),n.toString()),o=this.$button,i=CO();o.empty(),o.text(r),o.append(i)},e.prototype.setDisabled=function(){var e=CH(this),t=this.menu.isDisabled(e),n=this.$button;(null==e.selection||e.isDisabled())&&(t=!0);var r="disabled";t?n.addClass(r):n.removeClass(r),this.disabled=t},e.prototype.changeMenuState=function(){this.setSelectedValue(),this.setDisabled()},e}(),Cz=function(){function e(e){this.$elem=c2('<div class="w-e-bar-item w-e-bar-item-group"></div>'),this.$container=c2('<div class="w-e-bar-item-menus-container"></div>'),this.$button=c2('<button type="button"></button>');var t=e.key,n=e.iconSvg,r=e.title,o=this.$elem,i=this.$button;if(n){var a=c2(n);CC(a),i.append(a)}else i.text(r);i.attr("data-menu-key",t);var u=CO();i.append(u),o.append(i);var s=this.$container;o.append(s);var l=this.createObserver();this.observe(l)}return e.prototype.appendBarItem=function(e){var t=e.$elem;this.$container.append(t)},e.prototype.observe=function(e){var t=this.$container;e.observe(t[0],{childList:!0,subtree:!0,attributes:!0})},e.prototype.createObserver=function(){var e=this,t=this.$container,n=this.$button,r=new MutationObserver(function(){var o=t.find("button"),i=o.length;if(0!==i){var a=0;o.each(function(e){c2(e).hasClass("disabled")&&a++}),r.disconnect(),a===i?n.addClass("disabled"):n.removeClass("disabled"),e.observe(r)}});return r},e}(),C$=new WeakMap;function CH(e){var t=EO.get(e);if(null==t)throw Error("Can not get editor instance");return t}function CU(e,t,n){void 0===n&&(n=!1);var r=C$.get(t);if(r)return r;var o=t.tag;if("button"===o){var i=t.showDropPanel,a=t.showModal;r=i?new C_(e,t,n):a?new CR(e,t,n):new CB(e,t,n)}if("select"===o&&(r=new CM(e,t,n)),null==r)throw Error("Invalid tag in menu "+JSON.stringify(t));return C$.set(t,r),r}function CV(e,t){var n=e.selection;return null!=n&&!lj.isCollapsed(n)&&!Dn.getSelectedElems(e).some(function(t){return!!e.isVoid(t)||!!["pre","code","table"].includes(t.type)||void 0})&&!!l$.isText(t)}var CW=function(){function e(){var e=this;this.$elem=c2('<div class="w-e-bar w-e-bar-hidden w-e-hover-bar"></div>'),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null,this.isShow=!1,this.changeHoverbarState=pm(function(){var t=e.isShow,n=e.getSelectedNodeAndMenuKeys()||{},r=n.node,o=void 0===r?null:r,i=n.menuKeys;null!=o&&e.changeItemsState(),o&&lf.isElement(o)&&t&&e.isSamePath(o,e.prevSelectedNode)||(e.hideAndClean(),null!=o&&(e.registerItems(void 0===i?[]:i),e.setPosition(o),e.show()),e.prevSelectedNode=o)},200),S$(function(){var t=e.getEditorInstance(),n=e.$elem;n.on("mousedown",function(e){return e.preventDefault()},{passive:!1}),Dn.getTextarea(t).$textAreaContainer.append(n),t.on("change",e.changeHoverbarState);var r=e.hideAndClean.bind(e);t.on("scroll",r),t.on("fullScreen",r),t.on("unFullScreen",r)})}return e.prototype.getMenus=function(){return this.menus},e.prototype.hideAndClean=function(){var e=this.$elem;e.removeClass("w-e-bar-show").addClass("w-e-bar-hidden"),this.hoverbarItems=[],e.empty(),this.isShow=!1},e.prototype.checkPositionBottom=function(){var e=this.$elem,t=!1,n=window.innerHeight;n&&n>=360&&n-e[0].getBoundingClientRect().bottom<360&&(t=!0),t?e.addClass("w-e-bar-bottom"):e.removeClass("w-e-bar-bottom")},e.prototype.show=function(){this.$elem.removeClass("w-e-bar-hidden").addClass("w-e-bar-show"),this.isShow=!0,this.checkPositionBottom()},e.prototype.changeItemsState=function(){var e=this;S$(function(){e.hoverbarItems.forEach(function(e){e.changeMenuState()})})},e.prototype.registerItems=function(e){var t=this,n=this.$elem;e.forEach(function(e){if("|"!==e)t.registerSingleItem(e);else{var r=CA();n.append(r)}})},e.prototype.registerSingleItem=function(e){var t=this.getEditorInstance(),n=this.menus,r=n[e];if(null==r){var o=Di[e];if(null==o)throw Error("Not found menu item factory by key '"+e+"'");if("function"!=typeof o)throw Error("Menu item factory (key='"+e+"') is not a function");r=o(),n[e]=r}var i=CU(e,r);this.hoverbarItems.push(i),EO.set(i,t),this.$elem.append(i.$elem)},e.prototype.setPosition=function(e){var t=this.getEditorInstance(),n=this.$elem;if(n.attr("style",""),lf.isElement(e)){var r=xG(t,e,"bar");return n.css(r),void xK(t,n)}if(l$.isText(e))return r=xq(t),n.css(r),void xK(t,n);throw Error("hoverbar.setPosition error, current selected node is not elem nor text")},e.prototype.getSelectedNodeAndMenuKeys=function(){var e=this.getEditorInstance();if(null==e.selection)return null;var t=this.getHoverbarKeysConf(),n=null,r=[],o=function(o){var i=t[o],a=i.match,u=i.menuKeys,s=a||function(e,t){return Dn.checkNodeType(t,o)},l=w_(ly.nodes(e,{match:function(t){return s(e,t)},universal:!0}),1)[0];if(null!=l)return n=l[0],r=void 0===u?[]:u,"break"};for(var i in t)if("break"===o(i))break;return null==n||0===r.length?null:{node:n,menuKeys:r}},e.prototype.getEditorInstance=function(){var e=Ex.get(this);if(null==e)throw Error("Can not get editor instance");return e},e.prototype.getHoverbarKeysConf=function(){var e=this.getEditorInstance().getConfig().hoverbarKeys,t=void 0===e?{}:e,n=t.text;return n&&null==n.match&&(n.match=CV),t},e.prototype.isSamePath=function(e,t){if(null==e||null==t)return!1;var n=Dn.findPath(null,e),r=Dn.findPath(null,t);return lO.equals(n,r)},e.prototype.destroy=function(){this.changeHoverbarState.cancel(),this.$elem.remove(),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null},e}(),Cq=bV("splice"),CG=gH.TypeError,CK=Math.max,CZ=Math.min;md({target:"Array",proto:!0,forced:!Cq},{splice:function(e,t){var n,r,o,i,a,u,s=g1(this),l=yA(s),c=y2(e,l),f=arguments.length;if(0===f?n=r=0:1===f?(n=0,r=l-c):(n=f-2,r=CZ(CK(yx(t),0),l-c)),l+n-r>0x1fffffffffffff)throw CG("Maximum allowed length exceeded");for(o=yM(s,r),i=0;i<r;i++)(a=c+i)in s&&m2(o,i,s[a]);if(o.length=r,n<r){for(i=c;i<l-r;i++)u=i+n,(a=i+r)in s?s[u]=s[a]:delete s[u];for(i=l;i>l-r+n;i--)delete s[i-1]}else if(n>r)for(i=l-r;i>c;i--)u=i+n-1,(a=i+r-1)in s?s[u]=s[a]:delete s[u];for(i=0;i<n;i++)s[i+c]=arguments[i+2];return s.length=l-r+n,o}});var CX=function(){function e(e,t){var n=this;this.$toolbar=c2('<div class="w-e-bar w-e-bar-show w-e-toolbar"></div>'),this.menus={},this.toolbarItems=[],this.config={},this.changeToolbarState=pm(function(){n.toolbarItems.forEach(function(e){e.changeMenuState()})},200),this.config=t;var r=c2(e);if(0===r.length)throw Error("Cannot find toolbar DOM by selector '"+e+"'");this.$box=r;var o=this.$toolbar;o.on("mousedown",function(e){return e.preventDefault()},{passive:!1}),r.append(o),S$(function(){n.registerItems(),n.changeToolbarState(),n.getEditorInstance().on("change",n.changeToolbarState)})}return e.prototype.getMenus=function(){return this.menus},e.prototype.getConfig=function(){return this.config},e.prototype.registerItems=function(){var e=this,t="",n=this.$toolbar,r=this.config,o=r.toolbarKeys,i=r.insertKeys,a=void 0===i?{index:0,keys:[]}:i,u=r.excludeKeys,s=void 0===u?[]:u,l=pb(void 0===o?[]:o);a.keys.length>0&&("string"==typeof a.keys&&(a.keys=[a.keys]),a.keys.forEach(function(e,t){l.splice(a.index+t,0,e)}));var c=l.filter(function(e){if("string"==typeof e){if(s.includes(e))return!1}else if(s.includes(e.key))return!1;return!0}),f=c.length;c.forEach(function(r,o){if("|"===r){if(0===o||o+1===f||"|"===t)return;var i=CA();return n.append(i),void(t=r)}if("string"==typeof r)return e.registerSingleItem(r,e),void(t=r);e.registerGroup(r),t="group"})},e.prototype.registerGroup=function(e){var t=this,n=this.$toolbar,r=new Cz(e),o=e.menuKeys,i=this.config.excludeKeys,a=void 0===i?[]:i;(void 0===o?[]:o).forEach(function(e){a.includes(e)||t.registerSingleItem(e,r)}),n.append(r.$elem)},e.prototype.registerSingleItem=function(e,t){var n=this.getEditorInstance(),r=t instanceof Cz,o=this.menus,i=o[e];if(null==i){var a=Di[e];if(null==a)throw Error("Not found menu item factory by key '"+e+"'");if("function"!=typeof a)throw Error("Menu item factory (key='"+e+"') is not a function");i=a(),o[e]=i}else console.warn("Duplicated toolbar menu key '"+e+"'\n重复注册了菜单栏 menu '"+e+"'");var u=CU(e,i,r);this.toolbarItems.push(u),EO.set(u,n),r?t.appendBarItem(u):t.$toolbar.append(u.$elem)},e.prototype.getEditorInstance=function(){var e=ED.get(this);if(null==e)throw Error("Can not get editor instance");return e},e.prototype.destroy=function(){this.$toolbar.remove(),this.menus={},this.toolbarItems=[]},e}(),CY=yo.EXISTS,CJ=v$.f,CQ=Function.prototype,C0=gY(CQ.toString),C1=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,C2=gY(C1.exec);function C4(e){var t,n,r,o,i,a=e.server,u=void 0===a?"":a,s=e.fieldName,l=void 0===s?"":s,c=e.maxFileSize,f=e.maxNumberOfFiles,d=e.meta,p=void 0===d?{}:d,h=e.metaWithUrl,g=e.headers,v=e.withCredentials,y=e.timeout,m=e.onBeforeUpload,b=e.onSuccess,w=void 0===b?function(e,t){}:b,E=e.onError,D=void 0===E?function(e,t,n){console.error(e.name+" upload error",t,n)}:E,S=e.onProgress,x=void 0===S?function(e){}:S;if(!u)throw Error("Cannot get upload server address\n没有配置上传地址");if(!l)throw Error("Cannot get fieldName\n没有配置 fieldName");var C=u;void 0!==h&&h&&(n=(t=w_(C.split("#"),2))[0],r=t[1],o=[],f$(p,function(e,t){o.push(t+"="+e)}),i=o.join("&"),n=n.indexOf("?")>0?n+"&"+i:n+"?"+i,C=r?n+"#"+r:n);var O=new hc({onBeforeUpload:void 0===m?function(e){return e}:m,restrictions:{maxFileSize:void 0===c?0xa00000:c,maxNumberOfFiles:void 0===f?100:f},meta:p}).use(gN,{endpoint:C,headers:void 0===g?{}:g,formData:!0,fieldName:l,bundle:!0,withCredentials:void 0!==v&&v,timeout:void 0===y?1e4:y});return O.on("upload-success",function(e,t){var n=t.body;try{w(e,void 0===n?{}:n)}catch(e){console.error("wangEditor upload file - onSuccess error",e)}O.removeFile(e.id)}),O.on("progress",function(e){e<1||x(e)}),O.on("upload-error",function(e,t,n){try{D(e,t,n)}catch(e){console.error("wangEditor upload file - onError error",e)}O.removeFile(e.id)}),O.on("restriction-failed",function(e,t){try{D(e,t)}catch(e){console.error("wangEditor upload file - onError error",e)}O.removeFile(e.id)}),O}function C3(e){return(C3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function C6(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function C5(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function C8(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function C7(e,t,n){return t&&C8(e.prototype,t),n&&C8(e,n),e}function C9(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oe(e,t){if(t&&("object"===C3(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return C9(e)}function Ot(e){return(Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function On(e,t){return(On=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Or(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&On(e,t)}vv&&!CY&&CJ(CQ,"name",{configurable:!0,get:function(){try{return C2(C1,C0(this))[1]}catch(e){return""}}});var Oo={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},Oi=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};C5(this,e),this.init(t,n)}return C7(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||Oo,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,C6({},{prefix:"".concat(this.prefix,":").concat(t,":")},this.options))}}]),e}()),Oa=function(){function e(){C5(this,e),this.observers={}}return C7(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach(function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)}),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter(function(e){return e!==t}):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&[].concat(this.observers[e]).forEach(function(e){e.apply(void 0,n)}),this.observers["*"]&&[].concat(this.observers["*"]).forEach(function(t){t.apply(t,[e].concat(n))})}}]),e}();function Ou(){var e,t,n=new Promise(function(n,r){e=n,t=r});return n.resolve=e,n.reject=t,n}function Os(e){return null==e?"":""+e}function Ol(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return o()?{}:{obj:e,k:r(i.shift())}}function Oc(e,t,n){var r=Ol(e,t,Object);r.obj[r.k]=n}function Of(e,t){var n=Ol(e,t),r=n.obj,o=n.k;if(r)return r[o]}function Od(e,t,n){var r=Of(e,n);return void 0!==r?r:Of(t,n)}function Op(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Oh={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function Og(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,function(e){return Oh[e]}):e}var Ov="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,Oy=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return C5(this,t),n=Oe(this,Ot(t).call(this)),Ov&&Oa.call(C9(n)),n.data=e||{},n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),void 0===n.options.ignoreJSONStructure&&(n.options.ignoreJSONStructure=!0),n}return Or(t,Oa),C7(t,[{key:"addNamespaces",value:function(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."));var u=Of(this.data,a);return u||!i||"string"!=typeof n?u:function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(t){if(t[n])return t[n];for(var o=n.split(r),i=t,a=0;a<o.length;++a){if(!i||"string"==typeof i[o[a]]&&a+1<o.length)return;if(void 0===i[o[a]]){for(var u=2,s=o.slice(a,a+u).join(r),l=i[s];void 0===l&&o.length>a+u;)u++,l=i[s=o.slice(a,a+u).join(r)];if(void 0===l)return;if("string"==typeof l)return l;if(s&&"string"==typeof l[s])return l[s];var c=o.slice(a+u).join(r);return c?e(l,c,r):void 0}i=i[o[a]]}return i}}(this.data&&this.data[e]&&this.data[e][t],n,o)}},{key:"addResource",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),Oc(this.data,a,r),o.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)"string"!=typeof n[o]&&"[object Array]"!==Object.prototype.toString.apply(n[o])||this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(a=e.split("."))[1]),this.addNamespaces(t);var u=Of(this.data,a)||{};r?function e(t,n,r){for(var o in n)"__proto__"!==o&&"constructor"!==o&&(o in t?"string"==typeof t[o]||t[o]instanceof String||"string"==typeof n[o]||n[o]instanceof String?r&&(t[o]=n[o]):e(t[o],n[o],r):t[o]=n[o]);return t}(u,n,o):u=C6({},u,n),Oc(this.data,a,u),i.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?C6({},{},this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"toJSON",value:function(){return this.data}}]),t}(),Om={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var i=this;return e.forEach(function(e){i.processors[e]&&(t=i.processors[e].process(t,n,r,o))}),t}},Ob={},Ow=function(e){function t(e){var n,r,o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return C5(this,t),o=Oe(this,Ot(t).call(this)),Ov&&Oa.call(C9(o)),n=["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r=C9(o),n.forEach(function(t){e[t]&&(r[t]=e[t])}),o.options=i,void 0===o.options.keySeparator&&(o.options.keySeparator="."),o.logger=Oi.create("translator"),o}return Or(t,Oa),C7(t,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS;if(n&&e.indexOf(n)>-1){var i=e.match(this.interpolator.nestingRegexp);if(i&&i.length>0)return{key:e,namespaces:o};var a=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(a[0])>-1)&&(o=a.shift()),e=a.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}},{key:"translate",value:function(e,n,r){var o=this;if("object"!==C3(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),n||(n={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var i=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,a=this.extractFromKey(e[e.length-1],n),u=a.key,s=a.namespaces,l=s[s.length-1],c=n.lng||this.language,f=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase())return f?l+(n.nsSeparator||this.options.nsSeparator)+u:u;var d=this.resolve(e,n),p=d&&d.res,h=d&&d.usedKey||u,g=d&&d.exactUsedKey||u,v=Object.prototype.toString.apply(p),y=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,m=!this.i18nFormat||this.i18nFormat.handleAsObject,b="string"!=typeof p&&"boolean"!=typeof p&&"number"!=typeof p;if(m&&p&&b&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(v)&&("string"!=typeof y||"[object Array]"!==v)){if(!n.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,p,C6({},n,{ns:s})):"key '".concat(u," (").concat(this.language,")' returned an object instead of string.");if(i){var w="[object Array]"===v,E=w?[]:{},D=w?g:h;for(var S in p)if(Object.prototype.hasOwnProperty.call(p,S)){var x="".concat(D).concat(i).concat(S);E[S]=this.translate(x,C6({},n,{joinArrays:!1,ns:s})),E[S]===x&&(E[S]=p[S])}p=E}}else if(m&&"string"==typeof y&&"[object Array]"===v)(p=p.join(y))&&(p=this.extendTranslation(p,e,n,r));else{var C=!1,O=!1,A=void 0!==n.count&&"string"!=typeof n.count,k=t.hasDefaultValue(n),T=A?this.pluralResolver.getSuffix(c,n.count):"",B=n["defaultValue".concat(T)]||n.defaultValue;!this.isValidLookup(p)&&k&&(C=!0,p=B),this.isValidLookup(p)||(O=!0,p=u);var F=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&O?void 0:p,P=k&&B!==p&&this.options.updateMissing;if(O||C||P){if(this.logger.log(P?"updateKey":"missingKey",c,l,u,P?B:p),i){var _=this.resolve(u,C6({},n,{keySeparator:!1}));_&&_.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var j=[],I=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&I&&I[0])for(var N=0;N<I.length;N++)j.push(I[N]);else"all"===this.options.saveMissingTo?j=this.languageUtils.toResolveHierarchy(n.lng||this.language):j.push(n.lng||this.language);var R=function(e,t,r){o.options.missingKeyHandler?o.options.missingKeyHandler(e,l,t,P?r:F,P,n):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(e,l,t,P?r:F,P,n),o.emit("missingKey",e,l,t,p)};this.options.saveMissing&&(this.options.saveMissingPlurals&&A?j.forEach(function(e){o.pluralResolver.getSuffixes(e).forEach(function(t){R([e],u+t,n["defaultValue".concat(t)]||B)})}):R(j,u,B))}p=this.extendTranslation(p,e,n,d,r),O&&p===u&&this.options.appendNamespaceToMissingKey&&(p="".concat(l,":").concat(u)),(O||C)&&this.options.parseMissingKeyHandler&&(p=this.options.parseMissingKeyHandler(p))}return p}},{key:"extendTranslation",value:function(e,t,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(C6({},n,{interpolation:C6({},this.options.interpolation,n.interpolation)}));var a,u=n.interpolation&&n.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;if(u){var s=e.match(this.interpolator.nestingRegexp);a=s&&s.length}var l=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(l=C6({},this.options.interpolation.defaultVariables,l)),e=this.interpolator.interpolate(e,l,n.lng||this.language,n),u){var c=e.match(this.interpolator.nestingRegexp);a<(c&&c.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,r=Array(e),a=0;a<e;a++)r[a]=arguments[a];return o&&o[0]===r[0]&&!n.context?(i.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):i.translate.apply(i,r.concat([t]))},n)),n.interpolation&&this.interpolator.reset()}var f=n.postProcess||this.options.postProcess,d="string"==typeof f?[f]:f;return null!=e&&d&&d.length&&!1!==n.applyPostProcessor&&(e=Om.handle(d,e,t,this.options&&this.options.postProcessPassResolved?C6({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,o,i,a=this,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach(function(e){if(!a.isValidLookup(t)){var s=a.extractFromKey(e,u),l=s.key;n=l;var c=s.namespaces;a.options.fallbackNS&&(c=c.concat(a.options.fallbackNS));var f=void 0!==u.count&&"string"!=typeof u.count,d=void 0!==u.context&&("string"==typeof u.context||"number"==typeof u.context)&&""!==u.context,p=u.lngs?u.lngs:a.languageUtils.toResolveHierarchy(u.lng||a.language,u.fallbackLng);c.forEach(function(e){a.isValidLookup(t)||(i=e,!Ob["".concat(p[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(i)&&(Ob["".concat(p[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(p.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach(function(n){if(!a.isValidLookup(t)){o=n;var i,s,c=l,p=[c];for(a.i18nFormat&&a.i18nFormat.addLookupKeys?a.i18nFormat.addLookupKeys(p,l,n,e,u):(f&&(i=a.pluralResolver.getSuffix(n,u.count)),f&&d&&p.push(c+i),d&&p.push(c+="".concat(a.options.contextSeparator).concat(u.context)),f&&p.push(c+=i));s=p.pop();)a.isValidLookup(t)||(r=s,t=a.getResource(n,e,s,u))}}))})}}),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}]),t}();function OE(e){return e.charAt(0).toUpperCase()+e.slice(1)}var OD=function(){function e(t){C5(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Oi.create("languageUtils")}return C7(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||0>e.indexOf("-"))return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||0>e.indexOf("-"))return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map(function(e){return e.toLowerCase()}):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=OE(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=OE(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=OE(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isWhitelisted",value:function(e){return this.logger.deprecate("languageUtils.isWhitelisted",'function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it\'s usage asap.'),this.isSupportedCode(e)}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach(function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}}),!t&&this.options.supportedLngs&&e.forEach(function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find(function(e){if(0===e.indexOf(r))return e})}}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],i=function(e){e&&(n.isSupportedCode(e)?o.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),r.forEach(function(e){0>o.indexOf(e)&&i(n.formatLanguageCode(e))}),o}}]),e}(),OS=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Ox={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(+(1!=e&&(e%10!=1||e%100==11)))},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:3*(e%100==3||e%100==4))},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},OC=function(){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};C5(this,e),this.languageUtils=t,this.options=r,this.logger=Oi.create("pluralResolver"),this.rules=(n={},OS.forEach(function(e){e.lngs.forEach(function(t){n[t]={numbers:e.nr,plurals:Ox[e.fc]}})}),n)}return C7(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=this.getRule(e);return t&&t.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){return this.getSuffixes(e).map(function(e){return t+e})}},{key:"getSuffixes",value:function(e){var t=this,n=this.getRule(e);return n?n.numbers.map(function(n){return t.getSuffix(e,n)}):[]}},{key:"getSuffix",value:function(e,t){var n=this,r=this.getRule(e);if(r){var o=r.noAbs?r.plurals(t):r.plurals(Math.abs(t)),i=r.numbers[o];this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var a=function(){return n.options.prepend&&i.toString()?n.options.prepend+i.toString():i.toString()};return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?"_plural_".concat(i.toString()):a():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]?a():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}return this.logger.warn("no plural rule found for: ".concat(e)),""}}]),e}(),OO=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};C5(this,e),this.logger=Oi.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return C7(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:Og,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?Op(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?Op(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?Op(t.nestingPrefix):t.nestingPrefixEscaped||Op("$t("),this.nestingSuffix=t.nestingSuffix?Op(t.nestingSuffix):t.nestingSuffixEscaped||Op(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var o,i,a,u=this,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function l(e){return e.replace(/\$/g,"$$$$")}var c=function(e){if(0>e.indexOf(u.formatSeparator)){var o=Od(t,s,e);return u.alwaysFormat?u.format(o,void 0,n,C6({},r,t,{interpolationkey:e})):o}var i=e.split(u.formatSeparator),a=i.shift().trim(),l=i.join(u.formatSeparator).trim();return u.format(Od(t,s,a),l,n,C6({},r,t,{interpolationkey:a}))};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&r.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return l(e)}},{regex:this.regexp,safeValue:function(e){return u.escapeValue?l(u.escape(e)):l(e)}}].forEach(function(t){for(a=0;o=t.regex.exec(e);){if(void 0===(i=c(o[1].trim())))if("function"==typeof f){var n=f(e,o,r);i="string"==typeof n?n:""}else{if(d){i=o[0];continue}u.logger.warn("missed to pass in variable ".concat(o[1]," for interpolating ").concat(e)),i=""}else"string"==typeof i||u.useRawValueToEscape||(i=Os(i));var s=t.safeValue(i);if(e=e.replace(o[0],s),d?(t.regex.lastIndex+=s.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++a>=u.maxReplaces)break}}),e}},{key:"nest",value:function(e,t){var n,r,o=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=C6({},i);function u(e,t){var n=this.nestingOptionsSeparator;if(0>e.indexOf(n))return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),o="{".concat(r[1]);e=r[0],o=(o=this.interpolate(o,a)).replace(/'/g,'"');try{a=JSON.parse(o),t&&(a=C6({},t,a))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(o)}return delete a.defaultValue,e}for(a.applyPostProcessor=!1,delete a.defaultValue;n=this.nestingRegexp.exec(e);){var s=[],l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var c=n[1].split(this.formatSeparator).map(function(e){return e.trim()});n[1]=c.shift(),s=c,l=!0}if((r=t(u.call(this,n[1].trim(),a),a))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=Os(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),l&&(r=s.reduce(function(e,t){return o.format(e,t,i.lng,C6({},i,{interpolationkey:n[1].trim()}))},r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}(),OA=function(e){function t(e,n,r){var o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return C5(this,t),o=Oe(this,Ot(t).call(this)),Ov&&Oa.call(C9(o)),o.backend=e,o.store=n,o.services=r,o.languageUtils=r.languageUtils,o.options=i,o.logger=Oi.create("backendConnector"),o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(r,i.backend,i),o}return Or(t,Oa),C7(t,[{key:"queueLoad",value:function(e,t,n,r){var o=this,i=[],a=[],u=[],s=[];return e.forEach(function(e){var r=!0;t.forEach(function(t){var u="".concat(e,"|").concat(t);!n.reload&&o.store.hasResourceBundle(e,t)?o.state[u]=2:o.state[u]<0||(1===o.state[u]?0>a.indexOf(u)&&a.push(u):(o.state[u]=1,r=!1,0>a.indexOf(u)&&a.push(u),0>i.indexOf(u)&&i.push(u),0>s.indexOf(t)&&s.push(t)))}),r||u.push(e)}),(i.length||a.length)&&this.queue.push({pending:a,loaded:{},errors:[],callback:r}),{toLoad:i,pending:a,toLoadLanguages:u,toLoadNamespaces:s}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),n&&this.store.addResourceBundle(o,i,n),this.state[e]=t?-1:2;var a={};this.queue.forEach(function(n){var r,u,s,l;r=n.loaded,(s=(u=Ol(r,[o],Object)).obj)[l=u.k]=s[l]||[],s[l].push(i),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach(function(e){a[e]||(a[e]=[]),n.loaded[e].length&&n.loaded[e].forEach(function(t){0>a[e].indexOf(t)&&a[e].push(t)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(function(e){return!e.done})}},{key:"read",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,a=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,function(u,s){u&&s&&o<5?setTimeout(function(){r.read.call(r,e,t,n,o+1,2*i,a)},i):a(u,s)}):a(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var i=this.queueLoad(e,t,r,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach(function(e){n.loadOne(e)})}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),o=r[0],i=r[1];this.read(o,i,"read",void 0,void 0,function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(o," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(o),a),t.loaded(e,r,a)})}},{key:"saveMissing",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,C6({},i,{isUpdate:o})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),t}();function Ok(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&(e.whitelist&&0>e.whitelist.indexOf("cimode")&&(e.whitelist=e.whitelist.concat(["cimode"])),e.supportedLngs=e.whitelist),e.nonExplicitWhitelist&&(e.nonExplicitSupportedLngs=e.nonExplicitWhitelist),e.supportedLngs&&0>e.supportedLngs.indexOf("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function OT(){}var OB=new(function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(C5(this,t),e=Oe(this,Ot(t).call(this)),Ov&&Oa.call(C9(e)),e.options=Ok(n),e.services={},e.logger=Oi,e.modules={external:[]},r&&!e.isInitialized&&!n.isClone){if(!e.options.initImmediate)return e.init(n,r),Oe(e,C9(e));setTimeout(function(){e.init(n,r)},0)}return e}return Or(t,Oa),C7(t,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;function r(e){return e?"function"==typeof e?new e:e:null}if("function"==typeof t&&(n=t,t={}),t.whitelist&&!t.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),t.nonExplicitWhitelist&&!t.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=C6({},{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===C3(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===C3(e[2])||"object"===C3(e[3])){var n=e[3]||e[2];Object.keys(n).forEach(function(e){t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}},this.options,Ok(t)),this.format=this.options.interpolation.format,n||(n=OT),!this.options.isClone){this.modules.logger?Oi.init(r(this.modules.logger),this.options):Oi.init(null,this.options);var o=new OD(this.options);this.store=new Oy(this.options.resources,this.options);var i=this.services;i.logger=Oi,i.resourceStore=this.store,i.languageUtils=o,i.pluralResolver=new OC(o,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),i.interpolator=new OO(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new OA(r(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))}),this.modules.languageDetector&&(i.languageDetector=r(this.modules.languageDetector),i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=r(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new Ow(this.services,this.options),this.translator.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))}),this.modules.external.forEach(function(t){t.init&&t.init(e)})}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var a=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);a.length>0&&"dev"!==a[0]&&(this.options.lng=a[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}});var u=Ou(),s=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),u.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?s():setTimeout(s,0),u}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:OT,r=n,o="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(o&&"cimode"===o.toLowerCase())return r();var i=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach(function(e){0>i.indexOf(e)&&i.push(e)})};o?a(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(function(e){return a(e)}),this.options.preload&&this.options.preload.forEach(function(e){return a(e)}),this.services.backendConnector.load(i,this.options.ns,r)}else r(null)}},{key:"reloadResources",value:function(e,t,n){var r=Ou();return e||(e=this.languages),t||(t=this.options.ns),n||(n=OT),this.services.backendConnector.reload(e,t,function(e){r.resolve(),n(e)}),r}},{key:"use",value:function(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&Om.addPostProcessor(e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=Ou();this.emit("languageChanging",e);var o=function(o){e||o||!n.services.languageDetector||(o=[]);var i="string"==typeof o?o:n.services.languageUtils.getBestMatchFromCodes(o);i&&(n.language||(n.language=i,n.languages=n.services.languageUtils.toResolveHierarchy(i)),n.translator.language||n.translator.changeLanguage(i),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(i)),n.loadResources(i,function(e){i?(n.language=i,n.languages=n.services.languageUtils.toResolveHierarchy(i),n.translator.changeLanguage(i),n.isLanguageChangingTo=void 0,n.emit("languageChanged",i),n.logger.log("languageChanged",i)):n.isLanguageChangingTo=void 0,r.resolve(function(){return n.t.apply(n,arguments)}),t&&t(e,function(){return n.t.apply(n,arguments)})})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,o=function e(t,o){if("object"!==C3(o)){for(var i,a=arguments.length,u=Array(a>2?a-2:0),s=2;s<a;s++)u[s-2]=arguments[s];i=r.options.overloadTranslationOptionHandler([t,o].concat(u))}else i=C6({},o);i.lng=i.lng||e.lng,i.lngs=i.lngs||e.lngs,i.ns=i.ns||e.ns;var l=r.options.keySeparator||".",c=n?"".concat(n).concat(l).concat(t):t;return r.t(c,i)};return"string"==typeof e?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,o}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.languages[0],o=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return -1===r||2===r};if(n.precheck){var u=n.precheck(this,a);if(void 0!==u)return u}return!!this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||!(!a(r,e)||o&&!a(i,e))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=Ou();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach(function(e){0>n.options.ns.indexOf(e)&&n.options.ns.push(e)}),this.loadResources(function(e){r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=Ou();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],o=e.filter(function(e){return 0>r.indexOf(e)});return o.length?(this.options.preload=r.concat(o),this.loadResources(function(e){n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){return e||(e=this.languages&&this.languages.length>0?this.languages[0]:this.language),e?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr":"rtl"}},{key:"createInstance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new t(e,n)}},{key:"cloneInstance",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:OT,o=C6({},this.options,n,{isClone:!0}),i=new t(o);return["store","services","language"].forEach(function(t){i[t]=e[t]}),i.services=C6({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i.translator=new Ow(i.services,i.options),i.translator.on("*",function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit.apply(i,[e].concat(n))}),i.init(o,r),i.translator.options=i.options,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages}}}]),t}());function OF(e,t){OB.addResourceBundle(e,"translation",t,!0,!0)}function OP(e){OB.changeLanguage(e)}OB.init({lng:"zh-CN",resources:{}});var O_=OB.t.bind(OB);OF("en",{editor:{more:"More",justify:"Justify",indent:"Indent",image:"Image",video:"Video"}}),OF("zh-CN",{editor:{more:"更多",justify:"对齐",indent:"缩进",image:"图片",video:"视频"}}),o4||oA(Object.prototype,"toString",o4?({}).toString:function(){return"[object "+o8(this)+"]"},{unsafe:!0});var Oj=Array.isArray||function(e){return"Array"==ra(e)},OI=function(){},ON=[],OR=rg("Reflect","construct"),OL=/^\s*(?:class|function)\b/,OM=rr(OL.exec),Oz=!OL.exec(OI),O$=function(e){if(!rp(e))return!1;try{return OR(OI,ON,e),!0}catch(e){return!1}},OH=!OR||n1(function(){var e;return O$(O$.call)||!O$(Object)||!O$(function(){e=!0})||e})?function(e){if(!rp(e))return!1;switch(o8(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Oz||!!OM(OL,ou(e))}:O$,OU=rZ("species"),OV=n0.Array,OW=function(e,t){var n;return new(Oj(e)&&(OH(n=e.constructor)&&(n===OV||Oj(n.prototype))||rh(n)&&null===(n=n[OU]))&&(n=void 0),void 0===n?OV:n)(0===t?0:t)},Oq=rr([].push),OG=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=rL(s),g=rl(h),v=i8(l,c),y=oN(g),m=0,b=f||OW,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:Oq(w,d)}else switch(e){case 4:return!1;case 7:Oq(w,d)}return i?-1:r||o?o:w}},OK={forEach:OG(0),map:OG(1),filter:OG(2),some:OG(3),every:OG(4),find:OG(5),findIndex:OG(6),filterReject:OG(7)}.forEach,OZ=(O4=[].forEach)&&n1(function(){O4.call(null,function(){throw 1},1)})?[].forEach:function(e){return OK(this,e,arguments.length>1?arguments[1]:void 0)},OX=function(e){if(e&&e.forEach!==OZ)try{on(e,"forEach",OZ)}catch(t){e.forEach=OZ}};for(var OY in aM)aM[OY]&&OX(n0[OY]&&n0[OY].prototype);OX(aH),OF("en",{common:{ok:"OK",delete:"Delete",enter:"Enter"},blockQuote:{title:"Quote"},codeBlock:{title:"Code block"},color:{color:"Font color",bgColor:"Back color",default:"Default color",clear:"Clear back color"},divider:{title:"Divider"},emotion:{title:"Emotion"},fontSize:{title:"Font size",default:"Default"},fontFamily:{title:"Font family",default:"Default"},fullScreen:{title:"Full screen"},header:{title:"Header",text:"Text"},image:{netImage:"Net image",delete:"Delete image",edit:"Edit image",viewLink:"View link",src:"Image src",desc:"Description",link:"Image link"},indent:{decrease:"Decrease",increase:"Increase"},justify:{left:"Left",right:"Right",center:"Center",justify:"Justify"},lineHeight:{title:"Line height",default:"Default"},link:{insert:"Insert link",text:"Link text",url:"Link source",unLink:"Unlink",edit:"Edit link",view:"View link"},textStyle:{bold:"Bold",clear:"Clear styles",code:"Inline code",italic:"Italic",sub:"Sub",sup:"Sup",through:"Through",underline:"Underline"},undo:{undo:"undo",redo:"Redo"},todo:{todo:"Todo"}}),OF("zh-CN",{common:{ok:"确定",delete:"删除",enter:"回车"},blockQuote:{title:"引用"},codeBlock:{title:"代码块"},color:{color:"文字颜色",bgColor:"背景色",default:"默认颜色",clear:"清除背景色"},divider:{title:"分割线"},emotion:{title:"表情"},fontSize:{title:"字号",default:"默认字号"},fontFamily:{title:"字体",default:"默认字体"},fullScreen:{title:"全屏"},header:{title:"标题",text:"正文"},image:{netImage:"网络图片",delete:"删除图片",edit:"编辑图片",viewLink:"查看链接",src:"图片地址",desc:"图片描述",link:"图片链接"},indent:{decrease:"减少缩进",increase:"增加缩进"},justify:{left:"左对齐",right:"右对齐",center:"居中对齐",justify:"两端对齐"},lineHeight:{title:"行高",default:"默认行高"},link:{insert:"插入链接",text:"链接文本",url:"链接地址",unLink:"取消链接",edit:"修改链接",view:"查看链接"},textStyle:{bold:"粗体",clear:"清除格式",code:"行内代码",italic:"斜体",sub:"下标",sup:"上标",through:"删除线",underline:"下划线"},undo:{undo:"撤销",redo:"重做"},todo:{todo:"待办"}});var OJ="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function OQ(e){var t={exports:{}};return e(t,t.exports),t.exports}var O0,O1,O2,O4,O3,O6,O5=function(e){return e&&e.Math==Math&&e},O8=O5("object"==typeof globalThis&&globalThis)||O5("object"==typeof window&&window)||O5("object"==typeof self&&self)||O5("object"==typeof OJ&&OJ)||function(){return this}()||Function("return this")(),O7=function(e){try{return!!e()}catch(e){return!0}},O9=!O7(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),Ae=Function.prototype.call,At=Ae.bind?Ae.bind(Ae):function(){return Ae.apply(Ae,arguments)},An={}.propertyIsEnumerable,Ar=Object.getOwnPropertyDescriptor,Ao={f:Ar&&!An.call({1:2},1)?function(e){var t=Ar(this,e);return!!t&&t.enumerable}:An},Ai=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Aa=Function.prototype,Au=Aa.bind,As=Aa.call,Al=Au&&Au.bind(As),Ac=Au?function(e){return e&&Al(As,e)}:function(e){return e&&function(){return As.apply(e,arguments)}},Af=Ac({}.toString),Ad=Ac("".slice),Ap=function(e){return Ad(Af(e),8,-1)},Ah=O8.Object,Ag=Ac("".split),Av=O7(function(){return!Ah("z").propertyIsEnumerable(0)})?function(e){return"String"==Ap(e)?Ag(e,""):Ah(e)}:Ah,Ay=O8.TypeError,Am=function(e){if(null==e)throw Ay("Can't call method on "+e);return e},Ab=function(e){return Av(Am(e))},Aw=function(e){return"function"==typeof e},AE=function(e){return"object"==typeof e?null!==e:Aw(e)},AD=function(e,t){var n;return arguments.length<2?Aw(n=O8[e])?n:void 0:O8[e]&&O8[e][t]},AS=Ac({}.isPrototypeOf),Ax=AD("navigator","userAgent")||"",AC=O8.process,AO=O8.Deno,AA=AC&&AC.versions||AO&&AO.version,Ak=AA&&AA.v8;Ak&&(O6=(O3=Ak.split("."))[0]>0&&O3[0]<4?1:+(O3[0]+O3[1])),!O6&&Ax&&(!(O3=Ax.match(/Edge\/(\d+)/))||O3[1]>=74)&&(O3=Ax.match(/Chrome\/(\d+)/))&&(O6=+O3[1]);var AT=O6,AB=!!Object.getOwnPropertySymbols&&!O7(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&AT&&AT<41}),AF=AB&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,AP=O8.Object,A_=AF?function(e){return"symbol"==typeof e}:function(e){var t=AD("Symbol");return Aw(t)&&AS(t.prototype,AP(e))},Aj=O8.String,AI=function(e){try{return Aj(e)}catch(e){return"Object"}},AN=O8.TypeError,AR=function(e){if(Aw(e))return e;throw AN(AI(e)+" is not a function")},AL=function(e,t){var n=e[t];return null==n?void 0:AR(n)},AM=O8.TypeError,Az=Object.defineProperty,A$=function(e,t){try{Az(O8,e,{value:t,configurable:!0,writable:!0})}catch(n){O8[e]=t}return t},AH=O8["__core-js_shared__"]||A$("__core-js_shared__",{}),AU=OQ(function(e){(e.exports=function(e,t){return AH[e]||(AH[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})}),AV=O8.Object,AW=function(e){return AV(Am(e))},Aq=Ac({}.hasOwnProperty),AG=Object.hasOwn||function(e,t){return Aq(AW(e),t)},AK=0,AZ=Math.random(),AX=Ac(1..toString),AY=function(e){return"Symbol("+(void 0===e?"":e)+")_"+AX(++AK+AZ,36)},AJ=AU("wks"),AQ=O8.Symbol,A0=AQ&&AQ.for,A1=AF?AQ:AQ&&AQ.withoutSetter||AY,A2=function(e){if(!AG(AJ,e)||!AB&&"string"!=typeof AJ[e]){var t="Symbol."+e;AB&&AG(AQ,e)?AJ[e]=AQ[e]:AJ[e]=AF&&A0?A0(t):A1(t)}return AJ[e]},A4=O8.TypeError,A3=A2("toPrimitive"),A6=function(e){var t=function(e,t){if(!AE(e)||A_(e))return e;var n,r=AL(e,A3);if(r){if(void 0===t&&(t="default"),!AE(n=At(r,e,t))||A_(n))return n;throw A4("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&Aw(n=e.toString)&&!AE(r=At(n,e))||Aw(n=e.valueOf)&&!AE(r=At(n,e))||"string"!==t&&Aw(n=e.toString)&&!AE(r=At(n,e)))return r;throw AM("Can't convert object to primitive value")}(e,t)}(e,"string");return A_(t)?t:t+""},A5=O8.document,A8=AE(A5)&&AE(A5.createElement),A7=function(e){return A8?A5.createElement(e):{}},A9=!O9&&!O7(function(){return 7!=Object.defineProperty(A7("div"),"a",{get:function(){return 7}}).a}),ke=Object.getOwnPropertyDescriptor,kt={f:O9?ke:function(e,t){if(e=Ab(e),t=A6(t),A9)try{return ke(e,t)}catch(e){}if(AG(e,t))return Ai(!At(Ao.f,e,t),e[t])}},kn=O8.String,kr=O8.TypeError,ko=function(e){if(AE(e))return e;throw kr(kn(e)+" is not an object")},ki=O8.TypeError,ka=Object.defineProperty,ku={f:O9?ka:function(e,t,n){if(ko(e),t=A6(t),ko(n),A9)try{return ka(e,t,n)}catch(e){}if("get"in n||"set"in n)throw ki("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},ks=O9?function(e,t,n){return ku.f(e,t,Ai(1,n))}:function(e,t,n){return e[t]=n,e},kl=Ac(Function.toString);Aw(AH.inspectSource)||(AH.inspectSource=function(e){return kl(e)});var kc,kf,kd,kp=AH.inspectSource,kh=O8.WeakMap,kg=Aw(kh)&&/native code/.test(kp(kh)),kv=AU("keys"),ky=function(e){return kv[e]||(kv[e]=AY(e))},km={},kb=O8.TypeError,kw=O8.WeakMap;if(kg||AH.state){var kE=AH.state||(AH.state=new kw),kD=Ac(kE.get),kS=Ac(kE.has),kx=Ac(kE.set);kc=function(e,t){if(kS(kE,e))throw new kb("Object already initialized");return t.facade=e,kx(kE,e,t),t},kf=function(e){return kD(kE,e)||{}},kd=function(e){return kS(kE,e)}}else{var kC=ky("state");km[kC]=!0,kc=function(e,t){if(AG(e,kC))throw new kb("Object already initialized");return t.facade=e,ks(e,kC,t),t},kf=function(e){return AG(e,kC)?e[kC]:{}},kd=function(e){return AG(e,kC)}}var kO=kf,kA=Function.prototype,kk=O9&&Object.getOwnPropertyDescriptor,kT=AG(kA,"name"),kB={EXISTS:kT,PROPER:kT&&"something"===(function(){}).name,CONFIGURABLE:kT&&(!O9||O9&&kk(kA,"name").configurable)},kF=OQ(function(e){var t=kB.CONFIGURABLE,n=String(String).split("String");(e.exports=function(e,r,o,i){var a,u,s=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet,f=i&&void 0!==i.name?i.name:r;Aw(o)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!AG(o,"name")||t&&o.name!==f)&&ks(o,"name",f),(u=kd(a=o)?kf(a):kc(a,{})).source||(u.source=n.join("string"==typeof f?f:""))),e!==O8?(s?!c&&e[r]&&(l=!0):delete e[r],l?e[r]=o:ks(e,r,o)):l?e[r]=o:A$(r,o)})(Function.prototype,"toString",function(){return Aw(this)&&kO(this).source||kp(this)})}),kP=Math.ceil,k_=Math.floor,kj=function(e){var t=+e;return t!=t||0===t?0:(t>0?k_:kP)(t)},kI=Math.max,kN=Math.min,kR=function(e,t){var n=kj(e);return n<0?kI(n+t,0):kN(n,t)},kL=Math.min,kM=function(e){return e>0?kL(kj(e),0x1fffffffffffff):0},kz=function(e){return kM(e.length)},k$=function(e){return function(t,n,r){var o,i=Ab(t),a=kz(i),u=kR(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},kH={includes:k$(!0),indexOf:k$(!1)},kU=kH.indexOf,kV=Ac([].push),kW=function(e,t){var n,r=Ab(e),o=0,i=[];for(n in r)!AG(km,n)&&AG(r,n)&&kV(i,n);for(;t.length>o;)AG(r,n=t[o++])&&(~kU(i,n)||kV(i,n));return i},kq=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],kG=kq.concat("length","prototype"),kK={f:Object.getOwnPropertyNames||function(e){return kW(e,kG)}},kZ={f:Object.getOwnPropertySymbols},kX=Ac([].concat),kY=AD("Reflect","ownKeys")||function(e){var t=kK.f(ko(e)),n=kZ.f;return n?kX(t,n(e)):t},kJ=function(e,t){for(var n=kY(t),r=ku.f,o=kt.f,i=0;i<n.length;i++){var a=n[i];AG(e,a)||r(e,a,o(t,a))}},kQ=/#|\.prototype\./,k0=function(e,t){var n=k2[k1(e)];return n==k3||n!=k4&&(Aw(t)?O7(t):!!t)},k1=k0.normalize=function(e){return String(e).replace(kQ,".").toLowerCase()},k2=k0.data={},k4=k0.NATIVE="N",k3=k0.POLYFILL="P",k6=kt.f,k5=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?O8:l?O8[u]||A$(u,{}):(O8[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=k6(n,r))&&a.value:n[r],!k0(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;kJ(i,o)}(e.sham||o&&o.sham)&&ks(i,"sham",!0),kF(n,r,i,e)}},k8=Ac(Ac.bind),k7=Array.isArray||function(e){return"Array"==Ap(e)},k9={};k9[A2("toStringTag")]="z";var Te="[object z]"===String(k9),Tt=A2("toStringTag"),Tn=O8.Object,Tr="Arguments"==Ap(function(){return arguments}()),To=Te?Ap:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Tn(e),Tt))?n:Tr?Ap(t):"Object"==(r=Ap(t))&&Aw(t.callee)?"Arguments":r},Ti=function(){},Ta=[],Tu=AD("Reflect","construct"),Ts=/^\s*(?:class|function)\b/,Tl=Ac(Ts.exec),Tc=!Ts.exec(Ti),Tf=function(e){if(!Aw(e))return!1;try{return Tu(Ti,Ta,e),!0}catch(e){return!1}},Td=!Tu||O7(function(){var e;return Tf(Tf.call)||!Tf(Object)||!Tf(function(){e=!0})||e})?function(e){if(!Aw(e))return!1;switch(To(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Tc||!!Tl(Ts,kp(e))}:Tf,Tp=A2("species"),Th=O8.Array,Tg=function(e,t){var n;return new(k7(e)&&(Td(n=e.constructor)&&(n===Th||k7(n.prototype))||AE(n)&&null===(n=n[Tp]))&&(n=void 0),void 0===n?Th:n)(0===t?0:t)},Tv=Ac([].push),Ty=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=AW(s),g=Av(h),v=(AR(l),void 0===c?l:k8?k8(l,c):function(){return l.apply(c,arguments)}),y=kz(g),m=0,b=f||Tg,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:Tv(w,d)}else switch(e){case 4:return!1;case 7:Tv(w,d)}return i?-1:r||o?o:w}},Tm={forEach:Ty(0),map:Ty(1),filter:Ty(2),some:Ty(3),every:Ty(4),find:Ty(5),findIndex:Ty(6),filterReject:Ty(7)},Tb=A2("species"),Tw=function(e){return AT>=51||!O7(function(){var t=[];return(t.constructor={})[Tb]=function(){return{foo:1}},1!==t[e](Boolean).foo})},TE=Tm.filter;k5({target:"Array",proto:!0,forced:!Tw("filter")},{filter:function(e){return TE(this,e,arguments.length>1?arguments[1]:void 0)}}),Te||kF(Object.prototype,"toString",Te?({}).toString:function(){return"[object "+To(this)+"]"},{unsafe:!0});var TD,TS=O8.String,Tx=function(e){if("Symbol"===To(e))throw TypeError("Cannot convert a Symbol value to a string");return TS(e)},TC=function(){var e=ko(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},TO=O8.RegExp,TA=O7(function(){var e=TO("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),Tk=TA||O7(function(){return!TO("a","y").sticky}),TT={BROKEN_CARET:TA||O7(function(){var e=TO("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),MISSED_STICKY:Tk,UNSUPPORTED_Y:TA},TB=Object.keys||function(e){return kW(e,kq)},TF=O9?Object.defineProperties:function(e,t){ko(e);for(var n,r=Ab(t),o=TB(t),i=o.length,a=0;i>a;)ku.f(e,n=o[a++],r[n]);return e},TP=AD("document","documentElement"),T_=ky("IE_PROTO"),Tj=function(){},TI=function(e){return"<script>"+e+"<\/script>"},TN=function(e){e.write(TI("")),e.close();var t=e.parentWindow.Object;return e=null,t},TR=function(){try{TD=new ActiveXObject("htmlfile")}catch(e){}TR="undefined"!=typeof document?document.domain&&TD?TN(TD):((t=A7("iframe")).style.display="none",TP.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(TI("document.F=Object")),e.close(),e.F):TN(TD);for(var e,t,n=kq.length;n--;)delete TR.prototype[kq[n]];return TR()};km[T_]=!0;var TL,TM,Tz=Object.create||function(e,t){var n;return null!==e?(Tj.prototype=ko(e),n=new Tj,Tj.prototype=null,n[T_]=e):n=TR(),void 0===t?n:TF(n,t)},T$=O8.RegExp,TH=O7(function(){var e=T$(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),TU=O8.RegExp,TV=O7(function(){var e=TU("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),TW=AU("native-string-replace",String.prototype.replace),Tq=RegExp.prototype.exec,TG=Tq,TK=Ac("".charAt),TZ=Ac("".indexOf),TX=Ac("".replace),TY=Ac("".slice),TJ=(TM=/b*/g,At(Tq,TL=/a/,"a"),At(Tq,TM,"a"),0!==TL.lastIndex||0!==TM.lastIndex),TQ=TT.BROKEN_CARET,T0=void 0!==/()??/.exec("")[1];(TJ||T0||TQ||TH||TV)&&(TG=function(e){var t,n,r,o,i,a,u,s=kO(this),l=Tx(e),c=s.raw;if(c)return c.lastIndex=this.lastIndex,t=At(TG,c,l),this.lastIndex=c.lastIndex,t;var f=s.groups,d=TQ&&this.sticky,p=At(TC,this),h=this.source,g=0,v=l;if(d&&(-1===TZ(p=TX(p,"y",""),"g")&&(p+="g"),v=TY(l,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==TK(l,this.lastIndex-1))&&(h="(?: "+h+")",v=" "+v,g++),n=RegExp("^(?:"+h+")",p)),T0&&(n=RegExp("^"+h+"$(?!\\s)",p)),TJ&&(r=this.lastIndex),o=At(Tq,d?n:this,v),d?o?(o.input=TY(o.input,g),o[0]=TY(o[0],g),o.index=this.lastIndex,this.lastIndex+=o[0].length):this.lastIndex=0:TJ&&o&&(this.lastIndex=this.global?o.index+o[0].length:r),T0&&o&&o.length>1&&At(TW,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)}),o&&f)for(o.groups=a=Tz(null),i=0;i<f.length;i++)a[(u=f[i])[0]]=o[u[1]];return o});var T1=TG;k5({target:"RegExp",proto:!0,forced:/./.exec!==T1},{exec:T1});var T2=Function.prototype,T4=T2.apply,T3=T2.bind,T6=T2.call,T5="object"==typeof Reflect&&Reflect.apply||(T3?T6.bind(T4):function(){return T6.apply(T4,arguments)}),T8=A2("species"),T7=RegExp.prototype,T9=function(e,t,n,r){var o=A2(e),i=!O7(function(){var t={};return t[o]=function(){return 7},7!=""[e](t)}),a=i&&!O7(function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[T8]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t});if(!i||!a||n){var u=Ac(/./[o]),s=t(o,""[e],function(e,t,n,r,o){var a=Ac(e),s=t.exec;return s===T1||s===T7.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}});kF(String.prototype,e,s[0]),kF(T7,o,s[1])}r&&ks(T7[o],"sham",!0)},Be=Ac("".charAt),Bt=Ac("".charCodeAt),Bn=Ac("".slice),Br=function(e){return function(t,n){var r,o,i=Tx(Am(t)),a=kj(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=Bt(i,a))<55296||r>56319||a+1===u||(o=Bt(i,a+1))<56320||o>57343?e?Be(i,a):r:e?Bn(i,a,a+2):o-56320+(r-55296<<10)+65536}},Bo=(Br(!1),Br(!0)),Bi=function(e,t,n){return t+(n?Bo(e,t).length:1)},Ba=Math.floor,Bu=Ac("".charAt),Bs=Ac("".replace),Bl=Ac("".slice),Bc=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Bf=/\$([$&'`]|\d{1,2})/g,Bd=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=Bf;return void 0!==o&&(o=AW(o),s=Bc),Bs(i,s,function(i,s){var l;switch(Bu(s,0)){case"$":return"$";case"&":return e;case"`":return Bl(t,0,n);case"'":return Bl(t,a);case"<":l=o[Bl(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=Ba(c/10);return 0===f?i:f<=u?void 0===r[f-1]?Bu(s,1):r[f-1]+Bu(s,1):i}l=r[c-1]}return void 0===l?"":l})},Bp=O8.TypeError,Bh=function(e,t){var n=e.exec;if(Aw(n)){var r=At(n,e,t);return null!==r&&ko(r),r}if("RegExp"===Ap(e))return At(T1,e,t);throw Bp("RegExp#exec called on incompatible receiver")},Bg=A2("replace"),Bv=Math.max,By=Math.min,Bm=Ac([].concat),Bb=Ac([].push),Bw=Ac("".indexOf),BE=Ac("".slice),BD="$0"==="a".replace(/./,"$0"),BS=!!/./[Bg]&&""===/./[Bg]("a","$0");T9("replace",function(e,t,n){var r=BS?"$":"$0";return[function(e,n){var r=Am(this),o=null==e?void 0:AL(e,Bg);return o?At(o,e,r,n):At(t,Tx(r),e,n)},function(e,o){var i=ko(this),a=Tx(e);if("string"==typeof o&&-1===Bw(o,r)&&-1===Bw(o,"$<")){var u=n(t,i,a,o);if(u.done)return u.value}var s=Aw(o);s||(o=Tx(o));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0}for(var f=[];;){var d=Bh(i,a);if(null===d||(Bb(f,d),!l))break;""===Tx(d[0])&&(i.lastIndex=Bi(a,kM(i.lastIndex),c))}for(var p,h="",g=0,v=0;v<f.length;v++){for(var y=Tx((d=f[v])[0]),m=Bv(By(kj(d.index),a.length),0),b=[],w=1;w<d.length;w++)Bb(b,void 0===(p=d[w])?p:String(p));var E=d.groups;if(s){var D=Bm([y],b,m,a);void 0!==E&&Bb(D,E);var S=Tx(T5(o,void 0,D))}else S=Bd(y,a,m,b,E,o);m>=g&&(h+=BE(a,g,m)+S,g=m+y.length)}return h+BE(a,g)}]},!!O7(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!BD||BS);var Bx=A2("unscopables"),BC=Array.prototype;null==BC[Bx]&&ku.f(BC,Bx,{configurable:!0,value:Tz(null)});var BO=function(e){BC[Bx][e]=!0},BA=Tm.find,Bk=!0;"find"in[]&&[,].find(function(){Bk=!1}),k5({target:"Array",proto:!0,forced:Bk},{find:function(e){return BA(this,e,arguments.length>1?arguments[1]:void 0)}}),BO("find");var BT=A2("match"),BB=function(e){var t;return AE(e)&&(void 0!==(t=e[BT])?!!t:"RegExp"==Ap(e))},BF=O8.TypeError,BP=A2("species"),B_=function(e,t,n){var r=A6(t);r in e?ku.f(e,r,Ai(0,n)):e[r]=n},Bj=O8.Array,BI=Math.max,BN=function(e,t,n){for(var r=kz(e),o=kR(t,r),i=kR(void 0===n?r:n,r),a=Bj(BI(i-o,0)),u=0;o<i;o++,u++)B_(a,u,e[o]);return a.length=u,a},BR=TT.UNSUPPORTED_Y,BL=Math.min,BM=[].push,Bz=Ac(/./.exec),B$=Ac(BM),BH=Ac("".slice);T9("split",function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=Tx(Am(this)),o=void 0===n?0xffffffff:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!BB(e))return At(t,r,e,o);for(var i,a,u,s=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,f=RegExp(e.source,l+"g");(i=At(T1,f,r))&&!((a=f.lastIndex)>c&&(B$(s,BH(r,c,i.index)),i.length>1&&i.index<r.length&&T5(BM,s,BN(i,1)),u=i[0].length,c=a,s.length>=o));)f.lastIndex===i.index&&f.lastIndex++;return c===r.length?!u&&Bz(f,"")||B$(s,""):B$(s,BH(r,c)),s.length>o?BN(s,0,o):s}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:At(t,this,e,n)}:t,[function(t,n){var o=Am(this),i=null==t?void 0:AL(t,e);return i?At(i,t,o,n):At(r,Tx(o),t,n)},function(e,o){var i=ko(this),a=Tx(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=(v=RegExp,void 0===(m=ko(i).constructor)||null==(y=ko(m)[BP])?v:function(e){if(Td(e))return e;throw BF(AI(e)+" is not a constructor")}(y)),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(BR?"g":"y"),f=new s(BR?"^(?:"+i.source+")":i,c),d=void 0===o?0xffffffff:o>>>0;if(0===d)return[];if(0===a.length)return null===Bh(f,a)?[a]:[];for(var p=0,h=0,g=[];h<a.length;){f.lastIndex=BR?0:h;var v,y,m,b,w=Bh(f,BR?BH(a,h):a);if(null===w||(b=BL(kM(f.lastIndex+(BR?h:0)),a.length))===p)h=Bi(a,h,l);else{if(B$(g,BH(a,p,h)),g.length===d)return g;for(var E=1;E<=w.length-1;E++)if(B$(g,w[E]),g.length===d)return g;h=p=b}}return B$(g,BH(a,p)),g}]},!!O7(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),BR);var BU=" \n\v\f\r \xa0 \u2028\u2029\uFEFF",BV=Ac("".replace),BW="["+BU+"]",Bq=RegExp("^"+BW+BW+"*"),BG=RegExp(BW+BW+"*$"),BK=function(e){return function(t){var n=Tx(Am(t));return 1&e&&(n=BV(n,Bq,"")),2&e&&(n=BV(n,BG,"")),n}},BZ={start:BK(1),end:BK(2),trim:BK(3)},BX=kB.PROPER,BY=BZ.trim;function BJ(e){return 0===c2("<div>"+e+"</div>").children().filter(function(e){return"BR"!==e.tagName}).length}function BQ(e){return 0===e.length?"":e[0].outerHTML}function B0(e){return e.length?e[0].tagName.toLowerCase():""}function B1(e,t){for(var n="",r=(e.attr("style")||"").split(";"),o=r.length,i=0;i<o;i++){var a=r[i];if(a){var u=a.split(":");u[0].trim()===t&&(n=u[1].trim())}}return n}k5({target:"String",proto:!0,forced:O7(function(){return!!BU.trim()||"\x85"!=="\x85".trim()||BX&&"trim"!==BU.trim.name})},{trim:function(){return BY(this)}}),k5({global:!0},{globalThis:O8}),fu&&(c2.fn.css=fu),fp&&(c2.fn.append=fp),fh&&(c2.fn.prepend=fh),c4&&(c2.fn.addClass=c4),c3&&(c2.fn.removeClass=c3),c6&&(c2.fn.hasClass=c6),fe&&(c2.fn.on=fe),ft&&(c2.fn.off=ft),fk&&(c2.fn.focus=fk),c5&&(c2.fn.attr=c5),c8&&(c2.fn.removeAttr=c8),fi&&(c2.fn.hide=fi),fa&&(c2.fn.show=fa),fv&&(c2.fn.parents=fv),c7&&(c2.fn.dataset=c7),c9&&(c2.fn.val=c9),ff&&(c2.fn.text=ff),fc&&(c2.fn.html=fc),fm&&(c2.fn.children=fm),fb&&(c2.fn.remove=fb),fy&&(c2.fn.find=fy),fn&&(c2.fn.width=fn),fr&&(c2.fn.height=fr),fl&&(c2.fn.filter=fl),fw&&(c2.fn.empty=fw);var B2=function(e,t){return(B2=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function B4(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}B2(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var B3=function(){return(B3=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function B6(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,u)}s((r=r.apply(e,t||[])).next())})}function B5(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){var s=[i,u];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}function B8(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function B7(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function B9(e){var t=B7(ly.nodes(e,{match:function(t){return e.children[0]===t},mode:"highest"}),1)[0];if(null==t)return!1;var n=t[0];if(!lf.isElement(n)||"paragraph"===n.type||""!==lD.string(n))return!1;var r=n.children;return!!l$.isText((void 0===r?[]:r)[0])&&(l6.setNodes(e,{type:"paragraph"}),!0)}var Fe=/"/g,Ft=Ac("".replace),Fn=function(e,t,n,r){var o=Tx(Am(e)),i="<"+t;return""!==n&&(i+=" "+n+'="'+Ft(Tx(r),Fe,""")+'"'),i+">"+o+"</"+t+">"},Fr=function(e){return O7(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})};function Fo(e,t){var n=t,r=e.bold,o=e.italic,i=e.underline;return r&&(n="<strong>"+n+"</strong>"),e.code&&(n="<code>"+n+"</code>"),o&&(n="<em>"+n+"</em>"),i&&(n="<u>"+n+"</u>"),e.through&&(n="<s>"+n+"</s>"),e.sub&&(n="<sub>"+n+"</sub>"),e.sup&&(n="<sup>"+n+"</sup>"),n}function Fi(e,t){return 0!==e.length&&(!!e[0].matches(t)||e.find(t).length>0)}k5({target:"String",proto:!0,forced:Fr("bold")},{bold:function(){return Fn(this,"b","","")}}),k5({target:"String",proto:!0,forced:Fr("italics")},{italics:function(){return Fn(this,"i","","")}}),k5({target:"String",proto:!0,forced:Fr("sub")},{sub:function(){return Fn(this,"sub","","")}}),k5({target:"String",proto:!0,forced:Fr("sup")},{sup:function(){return Fn(this,"sup","","")}});var Fa={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Fu=A7("span").classList,Fs=Fu&&Fu.constructor&&Fu.constructor.prototype,Fl=Fs===Object.prototype?void 0:Fs,Fc=function(e,t){var n=[][e];return!!n&&O7(function(){n.call(null,t||function(){throw 1},1)})},Ff=Tm.forEach,Fd=Fc("forEach")?[].forEach:function(e){return Ff(this,e,arguments.length>1?arguments[1]:void 0)},Fp=function(e){if(e&&e.forEach!==Fd)try{ks(e,"forEach",Fd)}catch(t){e.forEach=Fd}};for(var Fh in Fa)Fa[Fh]&&Fp(O8[Fh]&&O8[Fh].prototype);function Fg(e,t){return null==e.selection||!!B7(ly.nodes(e,{match:function(t){return"pre"===Dn.getNodeType(t)||!!ly.isVoid(e,t)},universal:!0}),1)[0]}Fp(Fl),k5({target:"Object",stat:!0,forced:O7(function(){TB(1)})},{keys:function(e){return TB(AW(e))}});var Fv=function(){function e(){this.marksNeedToRemove=[],this.tag="button"}return e.prototype.getValue=function(e){var t=this.mark,n=ly.marks(e);return n?n[t]:!!B7(ly.nodes(e,{match:function(e){return!0===e[t]}}),1)[0]},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){return Fg(e,this.mark)},e.prototype.exec=function(e,t){var n=this.mark,r=this.marksNeedToRemove;t?e.removeMark(n):(e.addMark(n,!0),r&&r.forEach(function(t){return e.removeMark(t)}))},e}(),Fy='<svg viewBox="0 0 1024 1024"><path d="M864 0a160 160 0 0 1 128 256l-64 64-224-224 64-64c26.752-20.096 59.968-32 96-32zM64 736l-64 288 288-64 592-592-224-224L64 736z m651.584-372.416l-448 448-55.168-55.168 448-448 55.168 55.168z"></path></svg>',Fm='<svg viewBox="0 0 1024 1024"><path d="M924.402464 1023.068211H0.679665V99.345412h461.861399v98.909208H99.596867v725.896389h725.896389V561.206811h98.909208z" p-id="10909"></path><path d="M930.805104 22.977336l69.965436 69.965436-453.492405 453.492404-69.965435-69.901489z" p-id="10910"></path><path d="M1022.464381 304.030081h-98.917201V99.345412H709.230573V0.428211h313.233808z"></path></svg>',Fb=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="bold",t.title=O_("textStyle.bold"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M707.872 484.64A254.88 254.88 0 0 0 768 320c0-141.152-114.848-256-256-256H192v896h384c141.152 0 256-114.848 256-256a256.096 256.096 0 0 0-124.128-219.36zM384 192h101.504c55.968 0 101.504 57.408 101.504 128s-45.536 128-101.504 128H384V192z m159.008 640H384v-256h159.008c58.464 0 106.016 57.408 106.016 128s-47.552 128-106.016 128z"></path></svg>',t.hotkey="mod+b",t}return B4(t,e),t}(Fv),Fw=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="code",t.title=O_("textStyle.code"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M576 736l96 96 320-320L672 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224z"></path></svg>',t.hotkey="mod+e",t}return B4(t,e),t}(Fv),FE=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="italic",t.title=O_("textStyle.italic"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M896 64v64h-128L448 896h128v64H128v-64h128L576 128h-128V64z"></path></svg>',t.hotkey="mod+i",t}return B4(t,e),t}(Fv),FD=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="through",t.title=O_("textStyle.through"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M1024 512v64h-234.496c27.52 38.496 42.496 82.688 42.496 128 0 70.88-36.672 139.04-100.576 186.976C672.064 935.488 594.144 960 512 960s-160.064-24.512-219.424-69.024C228.64 843.04 192 774.88 192 704h128c0 69.376 87.936 128 192 128s192-58.624 192-128-87.936-128-192-128H0v-64h299.52a385.984 385.984 0 0 1-6.944-5.024C228.64 459.04 192 390.88 192 320s36.672-139.04 100.576-186.976C351.936 88.512 429.856 64 512 64s160.064 24.512 219.424 69.024C795.328 180.96 832 249.12 832 320h-128c0-69.376-87.936-128-192-128s-192 58.624-192 128 87.936 128 192 128c78.976 0 154.048 22.688 212.48 64H1024z"></path></svg>',t.hotkey="mod+shift+x",t}return B4(t,e),t}(Fv),FS=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="underline",t.title=O_("textStyle.underline"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M704 64l128 0 0 416c0 159.072-143.264 288-320 288s-320-128.928-320-288l0-416 128 0 0 416c0 40.16 18.24 78.688 51.36 108.512 36.896 33.216 86.848 51.488 140.64 51.488s103.744-18.304 140.64-51.488c33.12-29.792 51.36-68.352 51.36-108.512l0-416zM192 832l640 0 0 128-640 0z"></path></svg>',t.hotkey="mod+u",t}return B4(t,e),t}(Fv),Fx=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="sub",t.marksNeedToRemove=["sup"],t.title=O_("textStyle.sub"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M768 910.016v50.016h128v64h-192v-146.016l128-60V768h-128v-64h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>',t.hotkey="",t}return B4(t,e),t}(Fv),FC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="sup",t.marksNeedToRemove=["sub"],t.title=O_("textStyle.sup"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M768 206.016v50.016h128v64h-192V174.016l128-60V64h-128V0h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>',t.hotkey="",t}return B4(t,e),t}(Fv),FO=function(){function e(){this.title=O_("textStyle.clear"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M969.382408 288.738615l-319.401123-270.852152a67.074236 67.074236 0 0 0-96.459139 5.74922l-505.931379 574.922021a68.35184 68.35184 0 0 0-17.886463 47.910169 74.101061 74.101061 0 0 0 24.274486 47.910168l156.50655 132.232065h373.060512L975.131628 383.281347a67.074236 67.074236 0 0 0-5.74922-96.459139z m-440.134747 433.746725H264.144729l-90.071117-78.572676c-5.74922-5.74922-12.137243-12.137243-12.137243-17.886463a36.411728 36.411728 0 0 1 5.749221-24.274485l210.804741-240.828447 265.102932 228.691204z m-439.495945 180.781036h843.218964a60.047411 60.047411 0 1 1 0 120.733624H89.751716a60.047411 60.047411 0 1 1 0-120.733624z m0 0"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return Fg(e)},e.prototype.exec=function(e,t){var n,r,o=ly.nodes(e,{match:function(e){return l$.isText(e)},universal:!0});try{for(var i=B8(o),a=i.next();!a.done;a=i.next())!function(e,t){Object.keys(t).forEach(function(t){"text"!==t&&ly.removeMark(e,t)})}(e,a.value[0])}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},e}();function FA(e){return function(t,n,r){return dw("h"+e,null,n)}}var Fk={type:"header1",renderElem:FA(1)},FT={type:"header2",renderElem:FA(2)},FB={type:"header3",renderElem:FA(3)},FF={type:"header4",renderElem:FA(4)},FP={type:"header5",renderElem:FA(5)},F_=kB.PROPER,Fj=RegExp.prototype,FI=Fj.toString,FN=Ac(TC),FR=O7(function(){return"/a/b"!=FI.call({source:"a",flags:"b"})}),FL=F_&&"toString"!=FI.name;(FR||FL)&&kF(RegExp.prototype,"toString",function(){var e=ko(this),t=Tx(e.source),n=e.flags;return"/"+t+"/"+Tx(void 0===n&&AS(Fj,e)&&!("flags"in Fj)?FN(e):n)},{unsafe:!0});var FM,Fz=O8.TypeError,F$=function(e){if(BB(e))throw Fz("The method doesn't accept regular expressions");return e},FH=A2("match"),FU=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[FH]=!1,"/./"[e](t)}catch(e){}}return!1},FV=kt.f,FW=Ac("".startsWith),Fq=Ac("".slice),FG=Math.min,FK=FU("startsWith");function FZ(e){var t=B7(ly.nodes(e,{match:function(e){return Dn.getNodeType(e).startsWith("header")},universal:!0}),1)[0];if(null==t)return"paragraph";var n=B7(t,1)[0];return Dn.getNodeType(n)}function FX(e){return null==e.selection||!B7(ly.nodes(e,{match:function(e){var t=Dn.getNodeType(e);return"paragraph"===t||!!t.startsWith("header")},universal:!0,mode:"highest"}),1)[0]}function FY(e,t){t&&l6.setNodes(e,{type:t})}k5({target:"String",proto:!0,forced:!(!FK&&(FM=FV(String.prototype,"startsWith"))&&!FM.writable||FK)},{startsWith:function(e){var t=Tx(Am(this));F$(e);var n=kM(FG(arguments.length>1?arguments[1]:void 0,t.length)),r=Tx(e);return FW?FW(t,r,n):Fq(t,n,n+r.length)===r}});var FJ=function(){function e(){this.title=O_("header.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M960 960c-51.2 0-102.4-3.2-153.6-3.2-51.2 0-99.2 3.2-150.4 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 57.6-28.8 86.4-48 19.2-12.8 19.2-60.8 19.2-80v-224-19.2c-9.6-3.2-19.2-3.2-28.8-3.2H320c-9.6 0-19.2 0-28.8 3.2V780.8c0 22.4 0 80 22.4 92.8 28.8 19.2 96-6.4 96 44.8 0 16-9.6 41.6-28.8 41.6-54.4 0-105.6-3.2-160-3.2-48 0-96 3.2-147.2 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 51.2-28.8 80-48 19.2-12.8 19.2-60.8 19.2-83.2V294.4c0-28.8 3.2-115.2-22.4-131.2-25.6-16-86.4 9.6-86.4-41.6 0-16 6.4-41.6 28.8-41.6 51.2 0 105.6 3.2 156.8 3.2 48 0 96-3.2 144-3.2 19.2 0 28.8 22.4 28.8 41.6 0 48-57.6 25.6-83.2 41.6-19.2 12.8-19.2 73.6-19.2 92.8v201.6c6.4 3.2 16 3.2 22.4 3.2h400c6.4 0 12.8 0 22.4-3.2V256c0-22.4 0-80-19.2-92.8-28.8-16-86.4 6.4-86.4-41.6 0-16 9.6-41.6 28.8-41.6 51.2 0 99.2 3.2 150.4 3.2 48 0 99.2-3.2 147.2-3.2 19.2 0 28.8 22.4 28.8 41.6 0 51.2-57.6 25.6-86.4 41.6-19.2 12.8-19.2 70.4-19.2 92.8v537.6c0 19.2 0 67.2 19.2 80 28.8 19.2 89.6-6.4 89.6 44.8 0 19.2-6.4 41.6-28.8 41.6z"></path></svg>',this.tag="select",this.width=60}return e.prototype.getOptions=function(e){var t=[{value:"header1",text:"H1",styleForRenderMenuList:{"font-size":"32px","font-weight":"bold"}},{value:"header2",text:"H2",styleForRenderMenuList:{"font-size":"24px","font-weight":"bold"}},{value:"header3",text:"H3",styleForRenderMenuList:{"font-size":"18px","font-weight":"bold"}},{value:"header4",text:"H4",styleForRenderMenuList:{"font-size":"16px","font-weight":"bold"}},{value:"header5",text:"H5",styleForRenderMenuList:{"font-size":"13px","font-weight":"bold"}},{value:"paragraph",text:O_("header.text")}],n=this.getValue(e).toString();return t.forEach(function(e){e.value===n?e.selected=!0:delete e.selected}),t},e.prototype.isActive=function(e){return!1},e.prototype.getValue=function(e){return FZ(e)},e.prototype.isDisabled=function(e){return FX(e)},e.prototype.exec=function(e,t){FY(e,t.toString())},e}(),FQ=function(){function e(){this.tag="button"}return e.prototype.getValue=function(e){return FZ(e)},e.prototype.isActive=function(e){return this.getValue(e)===this.type},e.prototype.isDisabled=function(e){return FX(e)},e.prototype.exec=function(e,t){var n=this.type;FY(e,t===n?"paragraph":n)},e}(),F0=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H1",t.type="header1",t}return B4(t,e),t}(FQ),F1=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H2",t.type="header2",t}return B4(t,e),t}(FQ),F2=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H3",t.type="header3",t}return B4(t,e),t}(FQ),F4=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H4",t.type="header4",t}return B4(t,e),t}(FQ),F3=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H5",t.type="header5",t}return B4(t,e),t}(FQ);function F6(e){return function(t,n){return"<h"+e+">"+n+"</h"+e+">"}}function F5(e){return function(t,n,r){var o=c2(t);return 0===(n=n.filter(function(e){return!!l$.isText(e)||!!r.isInline(e)})).length&&(n=[{text:o.text().replace(/\s+/gm," ")}]),{type:"header"+e,children:n}}}var F8={renderElems:[Fk,FT,FB,FF,FP],elemsToHtml:[{type:"header1",elemToHtml:F6(1)},{type:"header2",elemToHtml:F6(2)},{type:"header3",elemToHtml:F6(3)},{type:"header4",elemToHtml:F6(4)},{type:"header5",elemToHtml:F6(5)}],parseElemsHtml:[{selector:"h1:not([data-w-e-type])",parseElemHtml:F5(1)},{selector:"h2:not([data-w-e-type])",parseElemHtml:F5(2)},{selector:"h3:not([data-w-e-type])",parseElemHtml:F5(3)},{selector:"h4:not([data-w-e-type])",parseElemHtml:F5(4)},{selector:"h5:not([data-w-e-type])",parseElemHtml:F5(5)}],menus:[{key:"headerSelect",factory:function(){return new FJ}},{key:"header1",factory:function(){return new F0}},{key:"header2",factory:function(){return new F1}},{key:"header3",factory:function(){return new F2}},{key:"header4",factory:function(){return new F4}},{key:"header5",factory:function(){return new F3}}],editorPlugin:function(e){var t=e.insertBreak;return e.insertNode,e.insertBreak=function(){var n=B7(ly.nodes(e,{match:function(e){return Dn.getNodeType(e).startsWith("header")},universal:!0}),1)[0];n&&Dn.isSelectionAtLineEnd(e,n[1])?l6.insertNodes(e,{type:"paragraph",children:[{text:""}]},{mode:"highest"}):t()},e}},F7=Object.assign,F9=Object.defineProperty,Pe=Ac([].concat),Pt=!F7||O7(function(){if(O9&&1!==F7({b:1},F7(F9({},"a",{enumerable:!0,get:function(){F9(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=F7({},e)[n]||TB(F7({},t)).join("")!=r})?function(e,t){for(var n=AW(e),r=arguments.length,o=1,i=kZ.f,a=Ao.f;r>o;)for(var u,s=Av(arguments[o++]),l=i?Pe(TB(s),i(s)):TB(s),c=l.length,f=0;c>f;)u=l[f++],O9&&!At(a,s,u)||(n[u]=s[u]);return n}:F7;function Pn(e,t){null==e.data&&(e.data={});var n=e.data;null==n.style&&(n.style={}),Object.assign(n.style,t)}k5({target:"Object",stat:!0,forced:Object.assign!==Pt},{assign:Pt});var Pr=function(){function e(){this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.exec=function(e,t){},e.prototype.getValue=function(e){var t=this.mark,n=ly.marks(e);return n&&n[t]?n[t]:""},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){return null==e.selection||!!B7(ly.nodes(e,{match:function(t){return"pre"===Dn.getNodeType(t)||!!ly.isVoid(e,t)},universal:!0}),1)[0]},e.prototype.getPanelContentElem=function(e){var t=this.mark;if(null==this.$content){var n=c2('<ul class="w-e-panel-content-color"></ul>');n.on("click","li",function(n){var r=n.target;if(null!=r&&(n.preventDefault(),null!=e.selection)){var o=c2(r).attr("data-value");"0"===o?ly.removeMark(e,t):ly.addMark(e,t,o)}}),this.$content=n}var r=this.$content;if(null==r)return document.createElement("ul");r.empty();var o=this.getValue(e),i=e.getMenuConfig(t).colors;(void 0===i?[]:i).forEach(function(e){var t=c2('<div class="color-block" data-value="'+e+'"></div>');t.css("background-color",e);var n=c2('<li data-value="'+e+'"></li>');o===e&&n.addClass("active"),n.append(t),r.append(n)});var a="";"color"===t&&(a=O_("color.default")),"bgColor"===t&&(a=O_("color.clear"));var u=c2('\n <li data-value="0" class="clear">\n <svg viewBox="0 0 1024 1024"><path d="M236.8 128L896 787.2V128H236.8z m614.4 704L192 172.8V832h659.2zM192 64h704c38.4 0 64 25.6 64 64v704c0 38.4-25.6 64-64 64H192c-38.4 0-64-25.6-64-64V128c0-38.4 25.6-64 64-64z"></path></svg>\n '+a+"\n </li>\n ");return r.prepend(u),r[0]},e}(),Po=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=O_("color.color"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M64 864h896v96H64zM360.58 576h302.85l81.53 224h102.16L579.24 64H444.77L176.89 800h102.16l81.53-224zM512 159.96L628.49 480H395.52L512 159.96z"></path></svg>',t.mark="color",t}return B4(t,e),t}(Pr),Pi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=O_("color.bgColor"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M510.030769 315.076923l84.676923 196.923077h-177.230769l76.8-196.923077h15.753846zM945.230769 157.538462v708.923076c0 43.323077-35.446154 78.769231-78.769231 78.769231H157.538462c-43.323077 0-78.769231-35.446154-78.769231-78.769231V157.538462c0-43.323077 35.446154-78.769231 78.769231-78.769231h708.923076c43.323077 0 78.769231 35.446154 78.769231 78.769231z m-108.307692 643.938461L600.615385 216.615385c-5.907692-11.815385-15.753846-19.692308-29.538462-19.692308h-139.815385c-11.815385 0-23.630769 7.876923-27.56923 19.692308l-216.615385 584.861538c-3.938462 11.815385 3.938462 25.6 17.723077 25.6h80.738462c11.815385 0 23.630769-9.846154 27.56923-21.661538l63.015385-175.261539h263.876923l68.923077 175.261539c3.938462 11.815385 15.753846 21.661538 27.569231 21.661538h80.738461c13.784615 0 23.630769-13.784615 19.692308-25.6z"></path></svg>',t.mark="bgColor",t}return B4(t,e),t}(Pr),Pa=["rgb(0, 0, 0)","rgb(38, 38, 38)","rgb(89, 89, 89)","rgb(140, 140, 140)","rgb(191, 191, 191)","rgb(217, 217, 217)","rgb(233, 233, 233)","rgb(245, 245, 245)","rgb(250, 250, 250)","rgb(255, 255, 255)","rgb(225, 60, 57)","rgb(231, 95, 51)","rgb(235, 144, 58)","rgb(245, 219, 77)","rgb(114, 192, 64)","rgb(89, 191, 192)","rgb(66, 144, 247)","rgb(54, 88, 226)","rgb(106, 57, 201)","rgb(216, 68, 147)","rgb(251, 233, 230)","rgb(252, 237, 225)","rgb(252, 239, 212)","rgb(252, 251, 207)","rgb(231, 246, 213)","rgb(218, 244, 240)","rgb(217, 237, 250)","rgb(224, 232, 250)","rgb(237, 225, 248)","rgb(246, 226, 234)","rgb(255, 163, 158)","rgb(255, 187, 150)","rgb(255, 213, 145)","rgb(255, 251, 143)","rgb(183, 235, 143)","rgb(135, 232, 222)","rgb(145, 213, 255)","rgb(173, 198, 255)","rgb(211, 173, 247)","rgb(255, 173, 210)","rgb(255, 77, 79)","rgb(255, 122, 69)","rgb(255, 169, 64)","rgb(255, 236, 61)","rgb(115, 209, 61)","rgb(54, 207, 201)","rgb(64, 169, 255)","rgb(89, 126, 247)","rgb(146, 84, 222)","rgb(247, 89, 171)","rgb(207, 19, 34)","rgb(212, 56, 13)","rgb(212, 107, 8)","rgb(212, 177, 6)","rgb(56, 158, 13)","rgb(8, 151, 156)","rgb(9, 109, 217)","rgb(29, 57, 196)","rgb(83, 29, 171)","rgb(196, 29, 127)","rgb(130, 0, 20)","rgb(135, 20, 0)","rgb(135, 56, 0)","rgb(97, 71, 0)","rgb(19, 82, 0)","rgb(0, 71, 79)","rgb(0, 58, 140)","rgb(6, 17, 120)","rgb(34, 7, 94)","rgb(120, 6, 80)"],Pu=/^(?:\w+:)?\/\/(\S+)$/,Ps=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,Pl=/^[^\s\.]+\.\S{2,}$/,Pc=kH.includes;function Pf(e){return void 0===e&&(e="r"),e+"-"+fH()}function Pd(e){return e.replace(/</g,"<").replace(/>/g,">")}function Pp(e,t,n,r){return B6(this,void 0,void 0,function(){var o,i;return B5(this,function(a){switch(a.label){case 0:return(o=t.getMenuConfig(e).checkLink)?[4,o(n,r)]:[3,2];case 1:if("string"==typeof(i=a.sent()))return t.alert(i,"error"),[2,!1];if(null==i)return[2,!1];a.label=2;case 2:return[2,!0]}})})}function Ph(e,t,n){return B6(this,void 0,void 0,function(){var r;return B5(this,function(o){switch(o.label){case 0:return(r=t.getMenuConfig(e).parseLinkUrl)?[4,r(n)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,n]}})})}function Pg(e){return null==e.selection||!!Dn.getSelectedElems(e).some(function(t){var n=t.type;return!!e.isVoid(t)||!!["pre","code","link"].includes(n)||void 0})}function Pv(e,t){return{type:"link",url:Pd(e),children:t?[{text:t}]:[]}}function Py(e,t,n){return B6(this,void 0,void 0,function(){var r,o,i;return B5(this,function(a){switch(a.label){case 0:return n?(t||(t=n),e.restoreSelection(),Pg(e)?[2]:[4,Pp("insertLink",e,t,n)]):[2];case 1:return a.sent()?[4,Ph("insertLink",e,n)]:[2];case 2:return r=a.sent(),null==(o=e.selection)||(lj.isCollapsed(o)?(e.insertText(" "),i=Pv(r,t),l6.insertNodes(e,i),e.insertFragment([{text:" "}])):ly.string(e,o)!==t?(e.deleteFragment(),i=Pv(r,t),l6.insertNodes(e,i)):(i=Pv(r),l6.wrapNodes(e,i,{split:!0}),l6.collapse(e,{edge:"end"}))),[2]}})})}function Pm(){return Pf("w-e-insert-link")}k5({target:"Array",proto:!0},{includes:function(e){return Pc(this,e,arguments.length>1?arguments[1]:void 0)}}),BO("includes");var Pb=function(){function e(){this.title=O_("link.insert"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M440.224 635.776a51.84 51.84 0 0 1-36.768-15.232c-95.136-95.136-95.136-249.92 0-345.056l192-192C641.536 37.408 702.816 12.032 768 12.032s126.432 25.376 172.544 71.456c95.136 95.136 95.136 249.92 0 345.056l-87.776 87.776a51.968 51.968 0 1 1-73.536-73.536l87.776-87.776a140.16 140.16 0 0 0 0-197.984c-26.432-26.432-61.6-40.992-99.008-40.992s-72.544 14.56-99.008 40.992l-192 192a140.16 140.16 0 0 0 0 197.984 51.968 51.968 0 0 1-36.768 88.768z"></path><path d="M256 1012a242.4 242.4 0 0 1-172.544-71.456c-95.136-95.136-95.136-249.92 0-345.056l87.776-87.776a51.968 51.968 0 1 1 73.536 73.536l-87.776 87.776a140.16 140.16 0 0 0 0 197.984c26.432 26.432 61.6 40.992 99.008 40.992s72.544-14.56 99.008-40.992l192-192a140.16 140.16 0 0 0 0-197.984 51.968 51.968 0 1 1 73.536-73.536c95.136 95.136 95.136 249.92 0 345.056l-192 192A242.4 242.4 0 0 1 256 1012z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.textInputId=Pm(),this.urlInputId=Pm(),this.buttonId=Pm()}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return Pg(e)},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=e.selection,n=this.textInputId,r=this.urlInputId,o=this.buttonId,i=B7(CI(O_("link.text"),n),2),a=i[0],u=c2(i[1]),s=B7(CI(O_("link.url"),r),2),l=s[0],c=c2(s[1]),f=B7(CN(o,O_("common.ok")),1)[0];if(null==this.$content){var d=c2("<div></div>");d.on("click","#"+o,function(t){t.preventDefault(),Py(e,d.find("#"+n).val(),d.find("#"+r).val()),e.hidePanelOrModal()}),this.$content=d}var p=this.$content;if(p.empty(),p.append(a),p.append(l),p.append(f),null==t||lj.isCollapsed(t))u.val("");else{var h=ly.string(e,t);u.val(h)}return c.val(""),setTimeout(function(){u.focus()}),p[0]},e}();function Pw(){return Pf("w-e-update-link")}var PE=function(){function e(){this.title=O_("link.edit"),this.iconSvg=Fy,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.urlInputId=Pw(),this.buttonId=Pw()}return e.prototype.getSelectedLinkElem=function(e){var t=Dn.getSelectedNodeByType(e,"link");return null==t?null:t},e.prototype.getValue=function(e){var t=this.getSelectedLinkElem(e);return t&&t.url||""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedLinkElem(e)},e.prototype.getModalPositionNode=function(e){return Dn.getSelectedNodeByType(e,"link")},e.prototype.getModalContentElem=function(e){var t=this.urlInputId,n=this.buttonId,r=B7(CI(O_("link.url"),t),2),o=r[0],i=c2(r[1]),a=B7(CN(n,O_("common.ok")),1)[0];if(null==this.$content){var u=c2("<div></div>");u.on("click","button",function(n){n.preventDefault(),e.restoreSelection();var r=Dn.getSelectedNodeByType(e,"link");!function(e,t,n){B6(this,void 0,void 0,function(){var r;return B5(this,function(o){switch(o.label){case 0:return n?[4,Pp("editLink",e,t,n)]:[2];case 1:return o.sent()?[4,Ph("editLink",e,n)]:[2];case 2:return r={url:Pd(o.sent())},l6.setNodes(e,r,{match:function(e){return Dn.checkNodeType(e,"link")}}),[2]}})})}(e,r?lD.string(r):"",u.find("#"+t).val()),e.hidePanelOrModal()}),this.$content=u}var s=this.$content;s.empty(),s.append(o),s.append(a);var l=this.getValue(e);return i.val(l),setTimeout(function(){i.focus()}),s[0]},e}(),PD=function(){function e(){this.title=O_("link.unLink"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M608.16328 811.815036c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.347563 89.347564c-118.525421 118.523421-311.38448 118.531421-429.919901 0-118.527421-118.529421-118.527421-311.39048 0-429.917901l89.349564-89.349563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.195613 79.195613c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.349563 89.347564c-56.143726 56.145726-56.143726 147.49928 0 203.645005 56.143726 56.143726 147.49928 56.145726 203.647005 0l89.347564-89.347563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.193613 79.195613z m-113.135447-520.429459c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.347564-89.347564c56.143726-56.149726 147.49928-56.145726 203.647006 0 56.143726 56.145726 56.143726 147.49928 0 203.645006l-89.349564 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.195613 79.195613c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.349564-89.349563c118.529421-118.529421 118.529421-311.38848 0-429.917901-118.531421-118.527421-311.38848-118.527421-429.919901 0l-89.347563 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.193613 79.195613z m469.653707 718.556492l45.253779-45.253779c18.745908-18.745908 18.745908-49.13776 0-67.881669L127.195629 14.062931c-18.745908-18.745908-49.13776-18.745908-67.881669 0L14.058181 59.31871c-18.745908 18.745908-18.745908 49.13776 0 67.881669l882.74169 882.74169c18.745908 18.743908 49.13776 18.743908 67.881669 0z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||null==Dn.getSelectedNodeByType(e,"link")},e.prototype.exec=function(e,t){this.isDisabled(e)||l6.unwrapNodes(e,{match:function(e){return Dn.checkNodeType(e,"link")}})},e}(),PS=function(){function e(){this.title=O_("link.view"),this.iconSvg=Fm,this.tag="button"}return e.prototype.getSelectedLinkElem=function(e){var t=Dn.getSelectedNodeByType(e,"link");return null==t?null:t},e.prototype.getValue=function(e){var t=this.getSelectedLinkElem(e);return t&&t.url||""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedLinkElem(e)},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){if(!t||"string"!=typeof t)throw Error("View link failed, link url is '"+t+"'");window.open(t,"_blank")}},e}(),Px={checkLink:function(e,t){return!0},parseLinkUrl:function(e){return e}},PC=Ac(1..valueOf),PO=O8.RangeError,PA=O8.RangeError,Pk=O8.String,PT=Math.floor,PB=Ac(function(e){var t=Tx(Am(this)),n="",r=kj(e);if(r<0||r==1/0)throw PO("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n}),PF=Ac("".slice),PP=Ac(1..toFixed),P_=function(e,t,n){return 0===t?n:t%2==1?P_(e,t-1,n*e):P_(e*e,t/2,n)},Pj=function(e,t,n){for(var r=-1,o=n;++r<6;)o+=t*e[r],e[r]=o%1e7,o=PT(o/1e7)},PI=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=PT(r/t),r=r%t*1e7},PN=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=Pk(e[t]);n=""===n?r:n+PB("0",7-r.length)+r}return n};function PR(e,t){return"w-e-image-container-"+Dn.findKey(e,t).id}function PL(e,t,n,r,o){return void 0===r&&(r=""),void 0===o&&(o=""),B6(this,void 0,void 0,function(){var i,a;return B5(this,function(u){switch(u.label){case 0:return(i=t.getMenuConfig(e).checkImage)?[4,i(n,r,o)]:[3,2];case 1:if("string"==typeof(a=u.sent()))return t.alert(a,"error"),[2,!1];if(null==a)return[2,!1];u.label=2;case 2:return[2,!0]}})})}function PM(e,t,n){return B6(this,void 0,void 0,function(){var r;return B5(this,function(o){switch(o.label){case 0:return(r=t.getMenuConfig(e).parseImageSrc)?[4,r(n)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,n]}})})}function Pz(e,t,n,r){return void 0===n&&(n=""),void 0===r&&(r=""),B6(this,void 0,void 0,function(){var o,i;return B5(this,function(a){switch(a.label){case 0:return[4,PL("insertImage",e,t,n,r)];case 1:return a.sent()?[4,PM("insertImage",e,t)]:[2];case 2:return o={type:"image",src:Pd(a.sent()),href:r,alt:n,style:{},children:[{text:""}]},null===e.selection&&e.restoreSelection(),Dn.getSelectedNodeByType(e,"image")&&e.move(1),P$(e)||(l6.insertNodes(e,o),(i=e.getMenuConfig("insertImage").onInsertedImage)&&i(o)),[2]}})})}function P$(e){var t=e.selection;return null==t||!lj.isCollapsed(t)||!!B7(ly.nodes(e,{match:function(t){var n=Dn.getNodeType(t);return"code"===n||"pre"===n||"link"===n||"list-item"===n||!!n.startsWith("header")||"blockquote"===n||!!ly.isVoid(e,t)},universal:!0}),1)[0]}function PH(){return Pf("w-e-insert-image")}k5({target:"Number",proto:!0,forced:O7(function(){return"0.000"!==PP(8e-5,3)||"1"!==PP(.9,0)||"1.25"!==PP(1.255,2)||"1000000000000000128"!==PP(0xde0b6b3a7640080,0)})||!O7(function(){PP({})})},{toFixed:function(e){var t,n,r,o,i=PC(this),a=kj(e),u=[0,0,0,0,0,0],s="",l="0";if(a<0||a>20)throw PA("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return Pk(i);if(i<0&&(s="-",i=-i),i>1e-21)if(n=((t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(i*P_(2,69,1))-69)<0?i*P_(2,-t,1):i/P_(2,t,1))*0x10000000000000,(t=52-t)>0){for(Pj(u,0,n),r=a;r>=7;)Pj(u,1e7,0),r-=7;for(Pj(u,P_(10,r,1),0),r=t-1;r>=23;)PI(u,8388608),r-=23;PI(u,1<<r),Pj(u,1,1),PI(u,2),l=PN(u)}else Pj(u,0,n),Pj(u,1<<-t,0),l=PN(u)+PB("0",a);return a>0?s+((o=l.length)<=a?"0."+PB("0",a-o)+l:PF(l,0,o-a)+"."+PF(l,o-a)):s+l}});var PU=function(){function e(){this.title=O_("image.netImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=PH(),this.altInputId=PH(),this.hrefInputId=PH(),this.buttonId=PH()}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return P$(e)},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=this,n=this.srcInputId,r=this.altInputId,o=this.hrefInputId,i=this.buttonId,a=B7(CI(O_("image.src"),n),2),u=a[0],s=c2(a[1]),l=B7(CI(O_("image.desc"),r),2),c=l[0],f=c2(l[1]),d=B7(CI(O_("image.link"),o),2),p=d[0],h=c2(d[1]),g=B7(CN(i,O_("common.ok")),1)[0];if(null==this.$content){var v=c2("<div></div>");v.on("click","#"+i,function(i){i.preventDefault();var a=v.find("#"+n).val().trim(),u=v.find("#"+r).val().trim(),s=v.find("#"+o).val().trim();t.insertImage(e,a,u,s),e.hidePanelOrModal()}),this.$content=v}var y=this.$content;return y.empty(),y.append(u),y.append(c),y.append(p),y.append(g),s.val(""),f.val(""),h.val(""),setTimeout(function(){s.focus()}),y[0]},e.prototype.insertImage=function(e,t,n,r){void 0===n&&(n=""),void 0===r&&(r=""),t&&(e.restoreSelection(),this.isDisabled(e)||Pz(e,t,n,r))},e}(),PV=function(){function e(){this.title=O_("image.delete"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||null==Dn.getSelectedNodeByType(e,"image")},e.prototype.exec=function(e,t){this.isDisabled(e)||l6.removeNodes(e,{match:function(e){return Dn.checkNodeType(e,"image")}})},e}();function PW(){return Pf("w-e-edit-image")}var Pq=function(){function e(){this.title=O_("image.edit"),this.iconSvg=Fy,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=PW(),this.altInputId=PW(),this.hrefInputId=PW(),this.buttonId=PW()}return e.prototype.getValue=function(e){return""},e.prototype.getImageNode=function(e){return Dn.getSelectedNodeByType(e,"image")},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!lj.isCollapsed(t)||null==Dn.getSelectedNodeByType(e,"image")},e.prototype.getModalPositionNode=function(e){return this.getImageNode(e)},e.prototype.getModalContentElem=function(e){var t=this,n=this.srcInputId,r=this.altInputId,o=this.hrefInputId,i=this.buttonId,a=this.getImageNode(e);if(null==a)throw Error("Not found selected image node");var u=B7(CI(O_("image.src"),n),2),s=u[0],l=c2(u[1]),c=B7(CI(O_("image.desc"),r),2),f=c[0],d=c2(c[1]),p=B7(CI(O_("image.link"),o),2),h=p[0],g=c2(p[1]),v=B7(CN(i,O_("common.ok")),1)[0];if(null==this.$content){var y=c2("<div></div>");y.on("click","#"+i,function(i){i.preventDefault();var a=y.find("#"+n).val(),u=y.find("#"+r).val(),s=y.find("#"+o).val();t.updateImage(e,a,u,s),e.hidePanelOrModal()}),this.$content=y}var m=this.$content;m.empty(),m.append(s),m.append(f),m.append(h),m.append(v);var b=a.src,w=a.alt,E=a.href;return l.val(b),d.val(void 0===w?"":w),g.val(void 0===E?"":E),setTimeout(function(){l.focus()}),m[0]},e.prototype.updateImage=function(e,t,n,r,o){void 0===n&&(n=""),void 0===r&&(r=""),void 0===o&&(o={}),t&&(e.restoreSelection(),this.isDisabled(e)||function(e,t,n,r,o){void 0===n&&(n=""),void 0===r&&(r=""),void 0===o&&(o={}),B6(this,void 0,void 0,function(){var i,a,u,s,l,c;return B5(this,function(f){switch(f.label){case 0:return[4,PL("editImage",e,t,n,r)];case 1:return f.sent()?[4,PM("editImage",e,t)]:[2];case 2:return i=f.sent(),null==(a=Dn.getSelectedNodeByType(e,"image"))||(u=a.style,s={src:i,alt:n,href:r,style:B3(B3({},void 0===u?{}:u),o)},l6.setNodes(e,s,{match:function(e){return Dn.checkNodeType(e,"image")}}),l=Dn.getSelectedNodeByType(e,"image"),(c=e.getMenuConfig("editImage").onUpdatedImage)&&c(l)),[2]}})})}(e,t,n,r,o))},e}(),PG=function(){function e(){this.title=O_("image.viewLink"),this.iconSvg=Fm,this.tag="button"}return e.prototype.getValue=function(e){var t=Dn.getSelectedNodeByType(e,"image");return t&&t.href||""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||!this.getValue(e)},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){if(!t||"string"!=typeof t)throw Error("View image link failed, image.href is '"+t+"'");window.open(t,"_blank")}},e}(),PK=function(){function e(){this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.getSelectedNode=function(e){return Dn.getSelectedNodeByType(e,"image")},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedNode(e)},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=this.getSelectedNode(e);if(null!=n){var r=Dn.getHoverbar(e);r&&r.hideAndClean();var o=n.style,i={style:B3(B3({},void 0===o?{}:o),{width:this.value,height:""})};l6.setNodes(e,i,{match:function(e){return Dn.checkNodeType(e,"image")}})}}},e}(),PZ=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="30%",t.value="30%",t}return B4(t,e),t}(PK),PX=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="50%",t.value="50%",t}return B4(t,e),t}(PK),PY=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="100%",t.value="100%",t}return B4(t,e),t}(PK),PJ={onInsertedImage:function(e){},onUpdatedImage:function(e){},checkImage:function(e,t,n){return!0},parseImageSrc:function(e){return e}},PQ=function(){function e(){this.title=O_("todo.todo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M278.755556 403.911111l-79.644445 79.644445L455.111111 739.555556l568.888889-568.888889-79.644444-79.644445L455.111111 580.266667l-176.355555-176.355556zM910.222222 910.222222H113.777778V113.777778h568.888889V0H113.777778C51.2 0 0 51.2 0 113.777778v796.444444c0 62.577778 51.2 113.777778 113.777778 113.777778h796.444444c62.577778 0 113.777778-51.2 113.777778-113.777778V455.111111h-113.777778v455.111111z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!!Dn.getSelectedNodeByType(e,"todo")},e.prototype.isDisabled=function(e){return null==e.selection||!!Dn.getSelectedElems(e).some(function(t){return!!(ly.isVoid(e,t)&&ly.isBlock(e,t))||!!["pre","table","list-item"].includes(t.type)||void 0})},e.prototype.exec=function(e,t){var n=this.isActive(e);l6.setNodes(e,{type:n?"paragraph":"todo"})},e}(),P0=function(){function e(){this.title=O_("blockQuote.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M894.6 907.1H605.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C752.7 180.4 711.3 315.8 711.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z m-472 0H133.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C280.7 180.4 239.3 315.8 239.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!!Dn.getSelectedNodeByType(e,"blockquote")},e.prototype.isDisabled=function(e){return null==e.selection||!B7(ly.nodes(e,{match:function(e){var t=Dn.getNodeType(e);return"paragraph"===t||"blockquote"===t},universal:!0,mode:"highest"}),1)[0]},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=this.isActive(e)?"paragraph":"blockquote";l6.setNodes(e,{type:n},{mode:"highest"})}},e}(),P1=Ac([].slice),P2=Tw("slice"),P4=A2("species"),P3=O8.Array,P6=Math.max;k5({target:"Array",proto:!0,forced:!P2},{slice:function(e,t){var n,r,o,i=Ab(this),a=kz(i),u=kR(e,a),s=kR(void 0===t?a:t,a);if(k7(i)&&((Td(n=i.constructor)&&(n===P3||k7(n.prototype))||AE(n)&&null===(n=n[P4]))&&(n=void 0),n===P3||void 0===n))return P1(i,u,s);for(r=new(void 0===n?P3:n)(P6(s-u,0)),o=0;u<s;u++,o++)u in i&&B_(r,o,i[u]);return r.length=o,r}});var P5=function(){function e(){this.title=O_("emotion.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512z m0-102.4c226.742857 0 409.6-182.857143 409.6-409.6S738.742857 102.4 512 102.4 102.4 285.257143 102.4 512s182.857143 409.6 409.6 409.6z m-204.8-358.4h409.6c0 113.371429-91.428571 204.8-204.8 204.8s-204.8-91.428571-204.8-204.8z m0-102.4c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8 76.8 32.914286 76.8 76.8-32.914286 76.8-76.8 76.8z m409.6 0c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8c43.885714 0 76.8 32.914286 76.8 76.8s-32.914286 76.8-76.8 76.8z"></path></svg>',this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.exec=function(e,t){},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||!!B7(ly.nodes(e,{match:function(t){return"pre"===Dn.getNodeType(t)||!!ly.isVoid(e,t)},universal:!0}),1)[0]},e.prototype.getPanelContentElem=function(e){if(null==this.$content){var t=c2('<ul class="w-e-panel-content-emotion"></ul>');t.on("click","li",function(t){var n=t.target;if(null!=n){t.preventDefault();var r=c2(n).text();e.insertText(r)}}),this.$content=t}var n=this.$content;if(null==n)return document.createElement("ul");n.empty();var r=e.getMenuConfig("emotion").emotions;return(void 0===r?[]:r).forEach(function(e){var t=c2("<li>"+e+"</li>");n.append(t)}),n[0]},e}(),P8={1:"12px",2:"14px",3:"16px",4:"19px",5:"24px",6:"32px",7:"48px"},P7=Ac("".indexOf);k5({target:"String",proto:!0,forced:!FU("includes")},{includes:function(e){return!!~P7(Tx(Am(this)),Tx(F$(e)),arguments.length>1?arguments[1]:void 0)}});var P9,_e,_t=function(e){return e&&e.Math==Math&&e},_n=_t("object"==typeof globalThis&&globalThis)||_t("object"==typeof window&&window)||_t("object"==typeof self&&self)||_t("object"==typeof OJ&&OJ)||function(){return this}()||Function("return this")(),_r=Function.prototype,_o=_r.apply,_i=_r.bind,_a=_r.call,_u="object"==typeof Reflect&&Reflect.apply||(_i?_a.bind(_o):function(){return _a.apply(_o,arguments)}),_s=Function.prototype,_l=_s.bind,_c=_s.call,_f=_l&&_l.bind(_c),_d=_l?function(e){return e&&_f(_c,e)}:function(e){return e&&function(){return _c.apply(e,arguments)}},_p=function(e){return"function"==typeof e},_h=function(e){try{return!!e()}catch(e){return!0}},_g=!_h(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),_v=Function.prototype.call,_y=_v.bind?_v.bind(_v):function(){return _v.apply(_v,arguments)},_m={}.propertyIsEnumerable,_b=Object.getOwnPropertyDescriptor,_w={f:_b&&!_m.call({1:2},1)?function(e){var t=_b(this,e);return!!t&&t.enumerable}:_m},_E=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},_D=_d({}.toString),_S=_d("".slice),_x=function(e){return _S(_D(e),8,-1)},_C=_n.Object,_O=_d("".split),_A=_h(function(){return!_C("z").propertyIsEnumerable(0)})?function(e){return"String"==_x(e)?_O(e,""):_C(e)}:_C,_k=_n.TypeError,_T=function(e){if(null==e)throw _k("Can't call method on "+e);return e},_B=function(e){return _A(_T(e))},_F=function(e){return"object"==typeof e?null!==e:_p(e)},_P={},__=function(e){return _p(e)?e:void 0},_j=function(e,t){return arguments.length<2?__(_P[e])||__(_n[e]):_P[e]&&_P[e][t]||_n[e]&&_n[e][t]},_I=_d({}.isPrototypeOf),_N=_j("navigator","userAgent")||"",_R=_n.process,_L=_n.Deno,_M=_R&&_R.versions||_L&&_L.version,_z=_M&&_M.v8;_z&&(_e=(P9=_z.split("."))[0]>0&&P9[0]<4?1:+(P9[0]+P9[1])),!_e&&_N&&(!(P9=_N.match(/Edge\/(\d+)/))||P9[1]>=74)&&(P9=_N.match(/Chrome\/(\d+)/))&&(_e=+P9[1]);var _$=_e,_H=!!Object.getOwnPropertySymbols&&!_h(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&_$&&_$<41}),_U=_H&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,_V=_n.Object,_W=_U?function(e){return"symbol"==typeof e}:function(e){var t=_j("Symbol");return _p(t)&&_I(t.prototype,_V(e))},_q=_n.String,_G=_n.TypeError,_K=function(e){if(_p(e))return e;throw _G(function(e){try{return _q(e)}catch(e){return"Object"}}(e)+" is not a function")},_Z=_n.TypeError,_X=Object.defineProperty,_Y=_n["__core-js_shared__"]||function(e,t){try{_X(_n,e,{value:t,configurable:!0,writable:!0})}catch(n){_n[e]=t}return t}("__core-js_shared__",{}),_J=OQ(function(e){(e.exports=function(e,t){return _Y[e]||(_Y[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})}),_Q=_n.Object,_0=function(e){return _Q(_T(e))},_1=_d({}.hasOwnProperty),_2=Object.hasOwn||function(e,t){return _1(_0(e),t)},_4=0,_3=Math.random(),_6=_d(1..toString),_5=function(e){return"Symbol("+(void 0===e?"":e)+")_"+_6(++_4+_3,36)},_8=_J("wks"),_7=_n.Symbol,_9=_7&&_7.for,je=_U?_7:_7&&_7.withoutSetter||_5,jt=function(e){if(!_2(_8,e)||!_H&&"string"!=typeof _8[e]){var t="Symbol."+e;_H&&_2(_7,e)?_8[e]=_7[e]:_8[e]=_U&&_9?_9(t):je(t)}return _8[e]},jn=_n.TypeError,jr=jt("toPrimitive"),jo=function(e){var t=function(e,t){if(!_F(e)||_W(e))return e;var n,r,o=null==(n=e[jr])?void 0:_K(n);if(o){if(void 0===t&&(t="default"),!_F(r=_y(o,e,t))||_W(r))return r;throw jn("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&_p(n=e.toString)&&!_F(r=_y(n,e))||_p(n=e.valueOf)&&!_F(r=_y(n,e))||"string"!==t&&_p(n=e.toString)&&!_F(r=_y(n,e)))return r;throw _Z("Can't convert object to primitive value")}(e,t)}(e,"string");return _W(t)?t:t+""},ji=_n.document,ja=_F(ji)&&_F(ji.createElement),ju=function(e){return ja?ji.createElement(e):{}},js=!_g&&!_h(function(){return 7!=Object.defineProperty(ju("div"),"a",{get:function(){return 7}}).a}),jl=Object.getOwnPropertyDescriptor,jc={f:_g?jl:function(e,t){if(e=_B(e),t=jo(t),js)try{return jl(e,t)}catch(e){}if(_2(e,t))return _E(!_y(_w.f,e,t),e[t])}},jf=/#|\.prototype\./,jd=function(e,t){var n=jh[jp(e)];return n==jv||n!=jg&&(_p(t)?_h(t):!!t)},jp=jd.normalize=function(e){return String(e).replace(jf,".").toLowerCase()},jh=jd.data={},jg=jd.NATIVE="N",jv=jd.POLYFILL="P",jy=_d(_d.bind),jm=function(e,t){return _K(e),void 0===t?e:jy?jy(e,t):function(){return e.apply(t,arguments)}},jb=_n.String,jw=_n.TypeError,jE=function(e){if(_F(e))return e;throw jw(jb(e)+" is not an object")},jD=_n.TypeError,jS=Object.defineProperty,jx={f:_g?jS:function(e,t,n){if(jE(e),t=jo(t),jE(n),js)try{return jS(e,t,n)}catch(e){}if("get"in n||"set"in n)throw jD("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},jC=_g?function(e,t,n){return jx.f(e,t,_E(1,n))}:function(e,t,n){return e[t]=n,e},jO=jc.f,jA=function(e){var t=function(n,r,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,o)}return _u(e,this,arguments)};return t.prototype=e.prototype,t},jk=function(e,t){var n,r,o,i,a,u,s,l,c=e.target,f=e.global,d=e.stat,p=e.proto,h=f?_n:d?_n[c]:(_n[c]||{}).prototype,g=f?_P:_P[c]||jC(_P,c,{})[c],v=g.prototype;for(o in t)n=!jd(f?o:c+(d?".":"#")+o,e.forced)&&h&&_2(h,o),a=g[o],n&&(u=e.noTargetGet?(l=jO(h,o))&&l.value:h[o]),i=n&&u?u:t[o],n&&typeof a==typeof i||(s=e.bind&&n?jm(i,_n):e.wrap&&n?jA(i):p&&_p(i)?_d(i):i,(e.sham||i&&i.sham||a&&a.sham)&&jC(s,"sham",!0),jC(g,o,s),p&&(_2(_P,r=c+"Prototype")||jC(_P,r,{}),jC(_P[r],o,i),e.real&&v&&!v[o]&&jC(v,o,i)))},jT=Array.isArray||function(e){return"Array"==_x(e)},jB=Math.ceil,jF=Math.floor,jP=function(e){var t=+e;return t!=t||0===t?0:(t>0?jF:jB)(t)},j_=Math.min,jj=function(e){var t;return(t=e.length)>0?j_(jP(t),0x1fffffffffffff):0},jI=function(e,t,n){var r=jo(t);r in e?jx.f(e,r,_E(0,n)):e[r]=n},jN={};jN[jt("toStringTag")]="z";var jR="[object z]"===String(jN),jL=jt("toStringTag"),jM=_n.Object,jz="Arguments"==_x(function(){return arguments}()),j$=jR?_x:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=jM(e),jL))?n:jz?_x(t):"Object"==(r=_x(t))&&_p(t.callee)?"Arguments":r},jH=_d(Function.toString);_p(_Y.inspectSource)||(_Y.inspectSource=function(e){return jH(e)});var jU=_Y.inspectSource,jV=function(){},jW=[],jq=_j("Reflect","construct"),jG=/^\s*(?:class|function)\b/,jK=_d(jG.exec),jZ=!jG.exec(jV),jX=function(e){if(!_p(e))return!1;try{return jq(jV,jW,e),!0}catch(e){return!1}},jY=!jq||_h(function(){var e;return jX(jX.call)||!jX(Object)||!jX(function(){e=!0})||e})?function(e){if(!_p(e))return!1;switch(j$(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return jZ||!!jK(jG,jU(e))}:jX,jJ=jt("species"),jQ=_n.Array,j0=function(e,t){var n;return new(jT(e)&&(jY(n=e.constructor)&&(n===jQ||jT(n.prototype))||_F(n)&&null===(n=n[jJ]))&&(n=void 0),void 0===n?jQ:n)(0===t?0:t)},j1=jt("species"),j2=jt("isConcatSpreadable"),j4=_n.TypeError,j3=_$>=51||!_h(function(){var e=[];return e[j2]=!1,e.concat()[0]!==e}),j6=_$>=51||!_h(function(){var e=[];return(e.constructor={})[j1]=function(){return{foo:1}},1!==e.concat(Boolean).foo}),j5=function(e){if(!_F(e))return!1;var t=e[j2];return void 0!==t?!!t:jT(e)};jk({target:"Array",proto:!0,forced:!j3||!j6},{concat:function(e){var t,n,r,o,i,a=_0(this),u=j0(a,0),s=0;for(t=-1,r=arguments.length;t<r;t++)if(j5(i=-1===t?a:arguments[t])){if(s+(o=jj(i))>0x1fffffffffffff)throw j4("Maximum allowed index exceeded");for(n=0;n<o;n++,s++)n in i&&jI(u,s,i[n])}else{if(s>=0x1fffffffffffff)throw j4("Maximum allowed index exceeded");jI(u,s++,i)}return u.length=s,u}});var j8,j7=_n.String,j9=function(e){if("Symbol"===j$(e))throw TypeError("Cannot convert a Symbol value to a string");return j7(e)},Ie=Math.max,It=Math.min,In=function(e,t){var n=jP(e);return n<0?Ie(n+t,0):It(n,t)},Ir=function(e){return function(t,n,r){var o,i=_B(t),a=jj(i),u=In(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},Io={includes:Ir(!0),indexOf:Ir(!1)},Ii={},Ia=Io.indexOf,Iu=_d([].push),Is=function(e,t){var n,r=_B(e),o=0,i=[];for(n in r)!_2(Ii,n)&&_2(r,n)&&Iu(i,n);for(;t.length>o;)_2(r,n=t[o++])&&(~Ia(i,n)||Iu(i,n));return i},Il=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ic=Object.keys||function(e){return Is(e,Il)},If=_g?Object.defineProperties:function(e,t){jE(e);for(var n,r=_B(t),o=Ic(t),i=o.length,a=0;i>a;)jx.f(e,n=o[a++],r[n]);return e},Id=_j("document","documentElement"),Ip=_J("keys"),Ih=function(e){return Ip[e]||(Ip[e]=_5(e))},Ig=Ih("IE_PROTO"),Iv=function(){},Iy=function(e){return"<script>"+e+"<\/script>"},Im=function(e){e.write(Iy("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ib=function(){try{j8=new ActiveXObject("htmlfile")}catch(e){}Ib="undefined"!=typeof document?document.domain&&j8?Im(j8):((t=ju("iframe")).style.display="none",Id.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Iy("document.F=Object")),e.close(),e.F):Im(j8);for(var e,t,n=Il.length;n--;)delete Ib.prototype[Il[n]];return Ib()};Ii[Ig]=!0;var Iw,IE,ID,IS=Object.create||function(e,t){var n;return null!==e?(Iv.prototype=jE(e),n=new Iv,Iv.prototype=null,n[Ig]=e):n=Ib(),void 0===t?n:If(n,t)},Ix=Il.concat("length","prototype"),IC={f:Object.getOwnPropertyNames||function(e){return Is(e,Ix)}},IO=_n.Array,IA=Math.max,Ik=IC.f,IT="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],IB={f:function(e){return IT&&"Window"==_x(e)?function(e){try{return Ik(e)}catch(e){return function(e,t,n){for(var r=jj(e),o=In(void 0,r),i=In(r,r),a=IO(IA(i-o,0)),u=0;o<i;o++,u++)jI(a,u,e[o]);return a.length=u,a}(IT)}}(e):Ik(_B(e))}},IF={f:Object.getOwnPropertySymbols},IP=_d([].slice),I_=function(e,t,n,r){r&&r.enumerable?e[t]=n:jC(e,t,n)},Ij={f:jt},II=jx.f,IN=function(e){var t=_P.Symbol||(_P.Symbol={});_2(t,e)||II(t,e,{value:Ij.f(e)})},IR=jR?({}).toString:function(){return"[object "+j$(this)+"]"},IL=jx.f,IM=jt("toStringTag"),Iz=function(e,t,n,r){if(e){var o=n?e:e.prototype;_2(o,IM)||IL(o,IM,{configurable:!0,value:t}),r&&!jR&&jC(o,"toString",IR)}},I$=_n.WeakMap,IH=_p(I$)&&/native code/.test(jU(I$)),IU=_n.TypeError,IV=_n.WeakMap;if(IH||_Y.state){var IW=_Y.state||(_Y.state=new IV),Iq=_d(IW.get),IG=_d(IW.has),IK=_d(IW.set);Iw=function(e,t){if(IG(IW,e))throw new IU("Object already initialized");return t.facade=e,IK(IW,e,t),t},IE=function(e){return Iq(IW,e)||{}}}else{var IZ=Ih("state");Ii[IZ]=!0,Iw=function(e,t){if(_2(e,IZ))throw new IU("Object already initialized");return t.facade=e,jC(e,IZ,t),t},IE=function(e){return _2(e,IZ)?e[IZ]:{}}}var IX=Iw,IY=function(e){return function(t){var n;if(!_F(t)||(n=IE(t)).type!==e)throw IU("Incompatible receiver, "+e+" required");return n}},IJ=_d([].push),IQ=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=_0(s),g=_A(h),v=jm(l,c),y=jj(g),m=0,b=f||j0,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:IJ(w,d)}else switch(e){case 4:return!1;case 7:IJ(w,d)}return i?-1:r||o?o:w}},I0=[IQ(0),IQ(1),IQ(2),IQ(3),IQ(4),IQ(5),IQ(6),IQ(7)][0],I1=Ih("hidden"),I2=jt("toPrimitive"),I4=IY("Symbol"),I3=Object.prototype,I6=_n.Symbol,I5=I6&&I6.prototype,I8=_n.TypeError,I7=_n.QObject,I9=_j("JSON","stringify"),Ne=jc.f,Nt=jx.f,Nn=IB.f,Nr=_w.f,No=_d([].push),Ni=_J("symbols"),Na=_J("op-symbols"),Nu=_J("string-to-symbol-registry"),Ns=_J("symbol-to-string-registry"),Nl=_J("wks"),Nc=!I7||!I7.prototype||!I7.prototype.findChild,Nf=_g&&_h(function(){return 7!=IS(Nt({},"a",{get:function(){return Nt(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=Ne(I3,t);r&&delete I3[t],Nt(e,t,n),r&&e!==I3&&Nt(I3,t,r)}:Nt,Nd=function(e,t){var n=Ni[e]=IS(I5);return IX(n,{type:"Symbol",tag:e,description:t}),_g||(n.description=t),n},Np=function(e,t,n){e===I3&&Np(Na,t,n),jE(e);var r=jo(t);return jE(n),_2(Ni,r)?(n.enumerable?(_2(e,I1)&&e[I1][r]&&(e[I1][r]=!1),n=IS(n,{enumerable:_E(0,!1)})):(_2(e,I1)||Nt(e,I1,_E(1,{})),e[I1][r]=!0),Nf(e,r,n)):Nt(e,r,n)},Nh=function(e,t){jE(e);var n=_B(t);return I0(Ic(n).concat(Nm(n)),function(t){_g&&!_y(Ng,n,t)||Np(e,t,n[t])}),e},Ng=function(e){var t=jo(e),n=_y(Nr,this,t);return!(this===I3&&_2(Ni,t)&&!_2(Na,t))&&(!(n||!_2(this,t)||!_2(Ni,t)||_2(this,I1)&&this[I1][t])||n)},Nv=function(e,t){var n=_B(e),r=jo(t);if(n!==I3||!_2(Ni,r)||_2(Na,r)){var o=Ne(n,r);return!o||!_2(Ni,r)||_2(n,I1)&&n[I1][r]||(o.enumerable=!0),o}},Ny=function(e){var t=Nn(_B(e)),n=[];return I0(t,function(e){_2(Ni,e)||_2(Ii,e)||No(n,e)}),n},Nm=function(e){var t=e===I3,n=Nn(t?Na:_B(e)),r=[];return I0(n,function(e){_2(Ni,e)&&(!t||_2(I3,e))&&No(r,Ni[e])}),r};if(_H||(I_(I5=(I6=function(){if(_I(I5,this))throw I8("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?j9(arguments[0]):void 0,t=_5(e),n=function(e){this===I3&&_y(n,Na,e),_2(this,I1)&&_2(this[I1],t)&&(this[I1][t]=!1),Nf(this,t,_E(1,e))};return _g&&Nc&&Nf(I3,t,{configurable:!0,set:n}),Nd(t,e)}).prototype,"toString",function(){return I4(this).tag}),I_(I6,"withoutSetter",function(e){return Nd(_5(e),e)}),_w.f=Ng,jx.f=Np,jc.f=Nv,IC.f=IB.f=Ny,IF.f=Nm,Ij.f=function(e){return Nd(jt(e),e)},_g&&Nt(I5,"description",{configurable:!0,get:function(){return I4(this).description}})),jk({global:!0,wrap:!0,forced:!_H,sham:!_H},{Symbol:I6}),I0(Ic(Nl),function(e){IN(e)}),jk({target:"Symbol",stat:!0,forced:!_H},{for:function(e){var t=j9(e);if(_2(Nu,t))return Nu[t];var n=I6(t);return Nu[t]=n,Ns[n]=t,n},keyFor:function(e){if(!_W(e))throw I8(e+" is not a symbol");if(_2(Ns,e))return Ns[e]},useSetter:function(){Nc=!0},useSimple:function(){Nc=!1}}),jk({target:"Object",stat:!0,forced:!_H,sham:!_g},{create:function(e,t){return void 0===t?IS(e):Nh(IS(e),t)},defineProperty:Np,defineProperties:Nh,getOwnPropertyDescriptor:Nv}),jk({target:"Object",stat:!0,forced:!_H},{getOwnPropertyNames:Ny,getOwnPropertySymbols:Nm}),jk({target:"Object",stat:!0,forced:_h(function(){IF.f(1)})},{getOwnPropertySymbols:function(e){return IF.f(_0(e))}}),I9&&jk({target:"JSON",stat:!0,forced:!_H||_h(function(){var e=I6();return"[null]"!=I9([e])||"{}"!=I9({a:e})||"{}"!=I9(Object(e))})},{stringify:function(e,t,n){var r=IP(arguments),o=t;if((_F(t)||void 0!==e)&&!_W(e))return jT(t)||(t=function(e,t){if(_p(o)&&(t=_y(o,this,e,t)),!_W(t))return t}),r[1]=t,_u(I9,null,r)}}),!I5[I2]){var Nb=I5.valueOf;I_(I5,I2,function(e){return _y(Nb,this)})}Iz(I6,"Symbol"),Ii[I1]=!0,IN("asyncIterator"),IN("hasInstance"),IN("isConcatSpreadable"),IN("iterator"),IN("match"),IN("matchAll"),IN("replace"),IN("search"),IN("species"),IN("split"),IN("toPrimitive"),IN("toStringTag"),IN("unscopables"),Iz(_n.JSON,"JSON",!0);var Nw,NE,ND,NS=_P.Symbol,Nx={},NC=Function.prototype,NO=_g&&Object.getOwnPropertyDescriptor,NA=_2(NC,"name"),Nk={EXISTS:NA,PROPER:NA&&"something"===(function(){}).name,CONFIGURABLE:NA&&(!_g||_g&&NO(NC,"name").configurable)},NT=!_h(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),NB=Ih("IE_PROTO"),NF=_n.Object,NP=NF.prototype,N_=NT?NF.getPrototypeOf:function(e){var t=_0(e);if(_2(t,NB))return t[NB];var n=t.constructor;return _p(n)&&t instanceof n?n.prototype:t instanceof NF?NP:null},Nj=jt("iterator"),NI=!1;[].keys&&("next"in(ND=[].keys())?(NE=N_(N_(ND)))!==Object.prototype&&(Nw=NE):NI=!0),_p((Nw=null==Nw||_h(function(){var e={};return Nw[Nj].call(e)!==e})?{}:IS(Nw))[Nj])||I_(Nw,Nj,function(){return this});var NN=Nw,NR=NI,NL=function(){return this};_n.String,_n.TypeError,Object.setPrototypeOf||"__proto__"in{}&&function(){try{_d(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set)({},[])}catch(e){}}();var NM=Nk.PROPER,Nz=jt("iterator"),N$=function(){return this},NH=function(e,t,n,r,o,i,a){u=t+" Iterator",n.prototype=IS(NN,{next:_E(1,r)}),Iz(n,u,!1,!0),Nx[u]=NL;var u,s,l,c,f=function(e){if(e===o&&v)return v;if(!NR&&e in h)return h[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,g=h[Nz]||h["@@iterator"]||o&&h[o],v=!NR&&g||f(o),y="Array"==t&&h.entries||g;if(y&&(s=N_(y.call(new e)))!==Object.prototype&&s.next&&(Iz(s,d,!0,!0),Nx[d]=N$),NM&&"values"==o&&g&&"values"!==g.name&&(p=!0,v=function(){return _y(g,this)}),o)if(l={values:f("values"),keys:i?v:f("keys"),entries:f("entries")},a)for(c in l)!NR&&!p&&c in h||I_(h,c,l[c]);else jk({target:t,proto:!0,forced:NR||p},l);return a&&h[Nz]!==v&&I_(h,Nz,v,{name:o}),Nx[t]=v,l},NU=IY("Array Iterator");NH(Array,"Array",function(e,t){IX(this,{type:"Array Iterator",target:_B(e),index:0,kind:t})},function(){var e=NU(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values"),Nx.Arguments=Nx.Array;var NV=jt("toStringTag");for(var NW in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var Nq=_n[NW],NG=Nq&&Nq.prototype;NG&&j$(NG)!==NV&&jC(NG,NV,NW),Nx[NW]=Nx.Array}IN("asyncDispose"),IN("dispose"),IN("matcher"),IN("metadata"),IN("observable"),IN("patternMatch"),IN("replaceAll");var NK=_d("".charAt),NZ=_d("".charCodeAt),NX=_d("".slice),NY=function(e){return function(t,n){var r,o,i=j9(_T(t)),a=jP(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=NZ(i,a))<55296||r>56319||a+1===u||(o=NZ(i,a+1))<56320||o>57343?e?NK(i,a):r:e?NX(i,a,a+2):o-56320+(r-55296<<10)+65536}},NJ=(NY(!1),NY(!0)),NQ=IY("String Iterator");NH(String,"String",function(e){IX(this,{type:"String Iterator",string:j9(e),index:0})},function(){var e,t=NQ(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=NJ(n,r),t.index+=e.length,{value:e,done:!1})});var N0=Ij.f("iterator"),N1=(Rx=OQ(function(e){function t(n){return"function"==typeof NS&&"symbol"==typeof N0?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"==typeof NS&&e.constructor===NS&&e!==NS.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0,t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}))&&Rx.__esModule&&Object.prototype.hasOwnProperty.call(Rx,"default")?Rx.default:Rx,N2=kB.EXISTS,N4=ku.f,N3=Function.prototype,N6=Ac(N3.toString),N5=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,N8=Ac(N5.exec);O9&&!N2&&N4(N3,"name",{configurable:!0,get:function(){try{return N8(N5,N6(this))[1]}catch(e){return""}}});var N7=function(){function e(){this.tag="select",this.width=80}return e.prototype.isActive=function(e){return!1},e.prototype.getValue=function(e){var t=this.mark,n=ly.marks(e);return n&&n[t]?n[t]:""},e.prototype.isDisabled=function(e){return null==e.selection||(this.mark,!!B7(ly.nodes(e,{match:function(t){return"pre"===Dn.getNodeType(t)||!!ly.isVoid(e,t)},universal:!0}),1)[0])},e.prototype.exec=function(e,t){var n=this.mark;t?e.addMark(n,t):e.removeMark(n)},e}(),N9=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=O_("fontSize.title"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M64 512h384v128h-128V1024h-128V640h-128z m896-256H708.2496v768h-136.4992V256H320V128h640z"></path></svg>',t.mark="fontSize",t}return B4(t,e),t.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig(this.mark).fontSizeList;t.push({text:O_("fontSize.default"),value:""}),(void 0===n?[]:n).forEach(function(e){if("string"==typeof e)t.push({text:e,value:e});else if("object"===N1(e)){var n=e.name,r=e.value;t.push({text:n,value:r})}});var r=this.getValue(e);return t.forEach(function(e){e.value===r?e.selected=!0:delete e.selected}),t},t}(N7),Re=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=O_("fontFamily.title"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M956.788364 152.110545h-24.110546l23.924364 9.029819 0.186182 121.018181h-65.070546l-86.574545-130.048H566.551273v650.14691l130.048 64.977454v65.163636h-390.050909v-65.163636l129.954909-64.977454V152.110545H198.283636L111.429818 282.065455H46.545455V69.259636C46.545455 33.792 82.664727 22.062545 98.955636 22.062545h812.683637c23.738182 0 45.056 15.173818 45.056 41.053091V169.425455v-17.221819z"></path></svg>',t.mark="fontFamily",t.selectPanelWidth=150,t}return B4(t,e),t.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig(this.mark).fontFamilyList;t.push({text:O_("fontFamily.default"),value:""}),(void 0===n?[]:n).forEach(function(e){if("string"==typeof e)t.push({text:e,value:e,styleForRenderMenuList:{"font-family":e}});else if("object"===N1(e)){var n=e.name,r=e.value;t.push({text:n,value:r,styleForRenderMenuList:{"font-family":r}})}});var r=this.getValue(e);return t.forEach(function(e){e.value===r?e.selected=!0:delete e.selected}),t},t}(N7),Rt={renderStyle:function(e,t){var n=e.fontSize,r=e.fontFamily;return n&&Pn(t,{fontSize:n}),r&&Pn(t,{fontFamily:r}),t},styleToHtml:function(e,t){if(!l$.isText(e))return t;var n,r=e.fontSize,o=e.fontFamily;return r||o?((BJ(t)||"span"!==B0(n=c2(t)))&&(n=c2("<span>"+t+"</span>")),r&&n.css("font-size",r),o&&n.css("font-family",o),BQ(n)):t},preParseHtml:[{selector:"font",preParseHtml:function(e){var t=c2(e);if("font"!==B0(t))return e;var n=t.attr("size")||"";n&&(t.removeAttr("size"),t.css("font-size",P8[n]));var r=t.attr("face")||"";return r&&(t.removeAttr("face"),t.css("font-family",r)),t[0]}}],parseStyleHtml:function(e,t,n){var r=c2(e);if(!l$.isText(t))return t;var o=n.getMenuConfig("fontSize").fontSizeList,i=void 0===o?[]:o,a=B1(r,"font-size"),u=i.find(function(e){return e.value&&e.value===a})||i.includes(a);a&&u&&(t.fontSize=a);var s=n.getMenuConfig("fontFamily").fontFamilyList,l=void 0===s?[]:s,c=B1(r,"font-family").replace(/"/g,""),f=l.find(function(e){return e.value&&e.value===c})||l.includes(c);return c&&f&&(t.fontFamily=c),t},menus:[{key:"fontSize",factory:function(){return new N9},config:{fontSizeList:["12px",{name:"13px",value:"13px"},"14px","15px","16px","19px",{name:"22px",value:"22px"},"24px","29px","32px","40px","48px"]}},{key:"fontFamily",factory:function(){return new Re},config:{fontFamilyList:["黑体",{name:"仿宋",value:"仿宋"},"楷体","标楷体","华文仿宋","华文楷体",{name:"宋体",value:"宋体"},"微软雅黑","Arial","Tahoma","Verdana","Times New Roman","Courier New"]}}]},Rn=function(){function e(){this.tag="button"}return e.prototype.getValue=function(e){var t=B7(ly.nodes(e,{match:function(e){return!!e.indent},universal:!0}),1)[0];return null==t?"":B7(t,1)[0].indent||""},e.prototype.isActive=function(e){return!1},e.prototype.getMatchNode=function(e){var t=B7(ly.nodes(e,{match:function(e){var t=Dn.getNodeType(e);return"paragraph"===t||!!t.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return null==t?null:t[0]},e}(),Rr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=O_("indent.decrease"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m256-512v384l-256-192z"></path></svg>',t}return B4(t,e),t.prototype.isDisabled=function(e){var t=this.getMatchNode(e);return null==t||!t.indent},t.prototype.exec=function(e,t){l6.setNodes(e,{indent:null},{match:function(e){return lf.isElement(e)}})},t}(Rn),Ro=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=O_("indent.increase"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',t}return B4(t,e),t.prototype.isDisabled=function(e){var t=this.getMatchNode(e);return null==t||!!t.indent},t.prototype.exec=function(e,t){l6.setNodes(e,{indent:"2em"},{match:function(e){return lf.isElement(e)},mode:"highest"})},t}(Rn),Ri=function(){function e(){this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.getMatchNode=function(e){var t=B7(ly.nodes(e,{match:function(e){var t=Dn.getNodeType(e);return"paragraph"===t||"blockquote"===t||!!t.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return null==t?null:t[0]},e.prototype.isDisabled=function(e){return null==e.selection||!!Dn.getSelectedElems(e).some(function(t){return!!(ly.isVoid(e,t)&&ly.isBlock(e,t))||!!["pre","code"].includes(t.type)||void 0})},e}(),Ra=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=O_("justify.left"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',t}return B4(t,e),t.prototype.exec=function(e,t){l6.setNodes(e,{textAlign:"left"},{match:function(t){return lf.isElement(t)&&!e.isInline(t)}})},t}(Ri),Ru=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=O_("justify.right"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M972.8 793.6v102.4H256v-102.4h716.8z m0-230.4v102.4H51.2v-102.4h921.6z m0-230.4v102.4H256v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',t}return B4(t,e),t.prototype.exec=function(e,t){l6.setNodes(e,{textAlign:"right"},{match:function(t){return lf.isElement(t)&&!e.isInline(t)}})},t}(Ri),Rs=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=O_("justify.center"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M870.4 793.6v102.4H153.6v-102.4h716.8z m102.4-230.4v102.4H51.2v-102.4h921.6z m-102.4-230.4v102.4H153.6v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',t}return B4(t,e),t.prototype.exec=function(e,t){l6.setNodes(e,{textAlign:"center"},{match:function(t){return lf.isElement(t)&&!e.isInline(t)}})},t}(Ri),Rl=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=O_("justify.justify"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>',t}return B4(t,e),t.prototype.exec=function(e,t){l6.setNodes(e,{textAlign:"justify"},{match:function(t){return lf.isElement(t)&&!e.isInline(t)}})},t}(Ri),Rc=function(){function e(){this.title=O_("lineHeight.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M964 788a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526zM198.93 144.306c6.668-5.798 16.774-5.094 22.573 1.574l122.26 140.582a16 16 0 0 1 3.927 10.5c0 8.836-7.164 16-16 16h-61.8a8 8 0 0 0-8 8v390.077h69.819a16 16 0 0 1 10.502 3.928c6.666 5.8 7.37 15.906 1.57 22.573L221.476 878.123a16 16 0 0 1-1.57 1.57c-6.668 5.8-16.774 5.097-22.574-1.57L75.051 737.538a16 16 0 0 1-3.928-10.5c0-8.837 7.163-16 16-16h69.822V312.96H87.127a16 16 0 0 1-10.502-3.928c-6.666-5.8-7.37-15.906-1.57-22.573l122.303-140.582a16 16 0 0 1 1.572-1.572zM964 465a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z m0-323a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z"></path></svg>',this.tag="select",this.width=80}return e.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig("lineHeight").lineHeightList;t.push({text:O_("lineHeight.default"),value:""}),(void 0===n?[]:n).forEach(function(e){t.push({text:e,value:e})});var r=this.getValue(e);return t.forEach(function(e){e.value===r?e.selected=!0:delete e.selected}),t},e.prototype.getMatchNode=function(e){var t=B7(ly.nodes(e,{match:function(e){var t=Dn.getNodeType(e);return!!t.startsWith("header")||!!["paragraph","blockquote","list-item"].includes(t)},universal:!0,mode:"highest"}),1)[0];return null==t?null:t[0]},e.prototype.isActive=function(e){return!1},e.prototype.getValue=function(e){var t=this.getMatchNode(e);return null==t?"":lf.isElement(t)&&t.lineHeight||""},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getMatchNode(e)},e.prototype.exec=function(e,t){l6.setNodes(e,{lineHeight:t.toString()},{mode:"highest"})},e}(),Rf=function(){function e(){this.title=O_("undo.redo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0.00032 576a510.72 510.72 0 0 0 173.344 384l84.672-96A383.136 383.136 0 0 1 128.00032 576C128.00032 363.936 299.93632 192 512.00032 192c106.048 0 202.048 42.976 271.52 112.48L640.00032 448h384V64l-149.984 149.984A510.272 510.272 0 0 0 512.00032 64C229.21632 64 0.00032 293.216 0.00032 576z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection},e.prototype.exec=function(e,t){"function"==typeof e.redo&&e.redo()},e}(),Rd=function(){function e(){this.title=O_("undo.undo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M512 64A510.272 510.272 0 0 0 149.984 213.984L0.032 64v384h384L240.512 304.48A382.784 382.784 0 0 1 512.032 192c212.064 0 384 171.936 384 384 0 114.688-50.304 217.632-130.016 288l84.672 96a510.72 510.72 0 0 0 173.344-384c0-282.784-229.216-512-512-512z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection},e.prototype.exec=function(e,t){"function"==typeof e.undo&&e.undo()},e}(),Rp=function(){function e(){this.title=O_("divider.title"),this.iconSvg='<svg viewBox="0 0 1092 1024"><path d="M0 51.2m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M819.2 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M409.6 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 870.4m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||!!Dn.getSelectedElems(e).some(function(t){if(e.isVoid(t))return!0;var n=Dn.getNodeType(t);return"table"===n||"pre"===n||void 0})},e.prototype.exec=function(e,t){l6.insertNodes(e,{type:"divider",children:[{text:""}]},{mode:"highest"})},e}(),Rh=Tm.map;k5({target:"Array",proto:!0,forced:!Tw("map")},{map:function(e){return Rh(this,e,arguments.length>1?arguments[1]:void 0)}});var Rg=Ac([].join),Rv=Av!=Object,Ry=Fc("join",",");k5({target:"Array",proto:!0,forced:Rv||!Ry},{join:function(e){return Rg(Ab(this),void 0===e?",":e)}});var Rm=function(){function e(){this.title=O_("codeBlock.title"),this.iconSvg='<svg viewBox="0 0 1280 1024"><path d="M832 736l96 96 320-320L928 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224zM701.312 150.528l69.472 18.944-192 704.032-69.472-18.944 192-704.032z"></path></svg>',this.tag="button"}return e.prototype.getSelectCodeElem=function(e){var t=Dn.getSelectedNodeByType(e,"code");if(null==t)return null;var n=Dn.getParentNode(e,t);return null==n||"pre"!==Dn.getNodeType(n)?null:t},e.prototype.getValue=function(e){var t=this.getSelectCodeElem(e);return null==t?"":t.language||""},e.prototype.isActive=function(e){return!!this.getSelectCodeElem(e)},e.prototype.isDisabled=function(e){if(null==e.selection)return!0;var t=Dn.getSelectedElems(e);return!!t.some(function(t){return e.isVoid(t)})||!t.some(function(e){var t=Dn.getNodeType(e);if("pre"===t||"paragraph"===t)return!0})},e.prototype.exec=function(e,t){this.isActive(e)?this.changeToPlainText(e):this.changeToCodeBlock(e,t.toString())},e.prototype.changeToPlainText=function(e){var t=this.getSelectCodeElem(e);if(null!=t){var n=lD.string(t);l6.removeNodes(e,{mode:"highest"});var r=n.split("\n").map(function(e){return{type:"paragraph",children:[{text:e}]}});l6.insertNodes(e,r,{mode:"highest"})}},e.prototype.changeToCodeBlock=function(e,t){var n,r,o=[],i=ly.nodes(e,{match:function(t){return e.children.includes(t)},universal:!0});try{for(var a=B8(i),u=a.next();!u.done;u=a.next()){var s=B7(u.value,1)[0];s&&o.push(lD.string(s))}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}l6.removeNodes(e,{mode:"highest"});var l={type:"pre",children:[{type:"code",language:t,children:[{text:o.join("\n")}]}]};l6.insertNodes(e,l,{mode:"highest"})},e}();k5({target:"String",proto:!0,forced:Fr("anchor")},{anchor:function(e){return Fn(this,"a","name",e)}}),T9("match",function(e,t,n){return[function(t){var n=Am(this),r=null==t?void 0:AL(t,e);return r?At(r,t,n):new RegExp(t)[e](Tx(n))},function(e){var r=ko(this),o=Tx(e),i=n(t,r,o);if(i.done)return i.value;if(!r.global)return Bh(r,o);var a=r.unicode;r.lastIndex=0;for(var u,s=[],l=0;null!==(u=Bh(r,o));){var c=Tx(u[0]);s[l]=c,""===c&&(r.lastIndex=Bi(o,kM(r.lastIndex),a)),l++}return 0===l?null:s}]});var Rb=function(){function e(){this.title=O_("fullScreen.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M133.705143 335.433143V133.851429h201.581714a29.622857 29.622857 0 0 0 29.622857-29.549715V68.754286a29.622857 29.622857 0 0 0-29.622857-29.622857H61.732571A22.893714 22.893714 0 0 0 38.765714 62.025143V335.725714c0 16.310857 13.238857 29.622857 29.622857 29.622857h35.547429a29.842286 29.842286 0 0 0 29.696-29.842285zM690.980571 133.851429h201.581715v201.654857c0 16.310857 13.238857 29.549714 29.622857 29.549714h35.547428a29.622857 29.622857 0 0 0 29.549715-29.549714V61.952a22.893714 22.893714 0 0 0-22.820572-22.893714h-273.554285a29.622857 29.622857 0 0 0-29.549715 29.622857v35.547428c0 16.310857 13.238857 29.696 29.622857 29.696zM335.286857 892.781714H133.705143V691.2a29.622857 29.622857 0 0 0-29.622857-29.622857H68.534857a29.622857 29.622857 0 0 0-29.549714 29.622857v273.554286c0 12.653714 10.24 22.893714 22.820571 22.893714h273.554286a29.622857 29.622857 0 0 0 29.696-29.622857v-35.547429a29.769143 29.769143 0 0 0-29.769143-29.696z m557.348572-201.581714v201.581714H690.907429a29.622857 29.622857 0 0 0-29.622858 29.622857v35.547429c0 16.310857 13.238857 29.622857 29.622858 29.622857h273.554285c12.580571 0 22.893714-10.313143 22.893715-22.893714V691.2a29.622857 29.622857 0 0 0-29.622858-29.622857h-35.547428a29.622857 29.622857 0 0 0-29.696 29.622857z"></path></svg>',this.tag="button",this.alwaysEnable=!0}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return e.isFullScreen},e.prototype.isDisabled=function(e){return!1},e.prototype.exec=function(e,t){e.isFullScreen?e.unFullScreen():e.fullScreen()},e}(),Rw=function(){function e(){this.title=O_("common.enter"),this.iconSvg='<svg viewBox="0 0 1255 1024"><path d="M1095.111111 731.477333h-625.777778V1024L0 658.318222 469.333333 292.408889v292.636444h625.777778V0h156.444445v731.477333z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!!lj.isExpanded(t)},e.prototype.exec=function(e,t){var n=e.selection;if(null!=n){var r=[n.anchor.path[0]];l6.insertNodes(e,{type:"paragraph",children:[{text:""}]},{at:r}),e.select(ly.start(e,r))}},e}(),RE=[{renderStyle:function(e,t){var n=e.bold,r=e.italic,o=e.underline,i=e.code,a=e.through,u=e.sub,s=e.sup,l=t;return n&&(l=dw("strong",null,l)),i&&(l=dw("code",null,l)),r&&(l=dw("em",null,l)),o&&(l=dw("u",null,l)),a&&(l=dw("s",null,l)),u&&(l=dw("sub",null,l)),s&&(l=dw("sup",null,l)),l},menus:[{key:"bold",factory:function(){return new Fb}},{key:"underline",factory:function(){return new FS}},{key:"italic",factory:function(){return new FE}},{key:"through",factory:function(){return new FD}},{key:"code",factory:function(){return new Fw}},{key:"sub",factory:function(){return new Fx}},{key:"sup",factory:function(){return new FC}},{key:"clearStyle",factory:function(){return new FO}}],styleToHtml:function(e,t){if(!l$.isText(e))return t;if(BJ(t))return Fo(e,t);var n=c2(t);if("br"===B0(n))return Fo(e,"<br>");var r=n.html();return r=Fo(e,r),n.html(r),BQ(n)},parseStyleHtml:function(e,t,n){var r=c2(e);return l$.isText(t)&&(Fi(r,"b,strong")&&(t.bold=!0),Fi(r,"i,em")&&(t.italic=!0),Fi(r,"u")&&(t.underline=!0),Fi(r,"s,strike")&&(t.through=!0),Fi(r,"sub")&&(t.sub=!0),Fi(r,"sup")&&(t.sup=!0),Fi(r,"code")&&(t.code=!0)),t}},{renderStyle:function(e,t){var n=e.color,r=e.bgColor;return n&&Pn(t,{color:n}),r&&Pn(t,{backgroundColor:r}),t},styleToHtml:function(e,t){if(!l$.isText(e))return t;var n,r=e.color,o=e.bgColor;return r||o?((BJ(t)||"span"!==B0(n=c2(t)))&&(n=c2("<span>"+t+"</span>")),r&&n.css("color",r),o&&n.css("background-color",o),BQ(n)):t},preParseHtml:[{selector:"font",preParseHtml:function(e){var t=c2(e);if("font"!==B0(t))return e;var n=t.attr("color")||"";return n&&(t.removeAttr("color"),t.css("color",n)),t[0]}}],parseStyleHtml:function(e,t,n){var r=c2(e);if(!l$.isText(t))return t;var o=B1(r,"color");o&&(t.color=o);var i=B1(r,"background-color");return i||(i=B1(r,"background")),i&&(t.bgColor=i),t},menus:[{key:"color",factory:function(){return new Po},config:{colors:Pa}},{key:"bgColor",factory:function(){return new Pi},config:{colors:Pa}}]},Rt,{renderStyle:function(e,t){if(!lf.isElement(e))return t;var n=e.indent;return n&&Pn(t,{textIndent:n}),t},styleToHtml:function(e,t){if(!lf.isElement(e))return t;var n=e.indent;if(!n)return t;var r=c2(t);return r.css("text-indent",n),BQ(r)},preParseHtml:[{selector:"p,h1,h2,h3,h4,h5",preParseHtml:function(e){var t=c2(e),n=B1(t,"padding-left");return/\dem/.test(n)&&t.css("text-indent","2em"),/\dpx/.test(n)&&parseInt(n,10)%32==0&&t.css("text-indent","2em"),t[0]}}],parseStyleHtml:function(e,t,n){var r=c2(e);if(!lf.isElement(t))return t;var o=B1(r,"text-indent"),i=parseInt(o,10);return o&&i>0&&(t.indent=o),t},menus:[{key:"indent",factory:function(){return new Ro}},{key:"delIndent",factory:function(){return new Rr}}]},{renderStyle:function(e,t){if(!lf.isElement(e))return t;var n=e.textAlign;return n&&Pn(t,{textAlign:n}),t},styleToHtml:function(e,t){if(!lf.isElement(e))return t;var n=e.textAlign;if(!n)return t;var r=c2(t);return r.css("text-align",n),BQ(r)},parseStyleHtml:function(e,t,n){var r=c2(e);if(!lf.isElement(t))return t;var o=B1(r,"text-align");return o&&(t.textAlign=o),t},menus:[{key:"justifyLeft",factory:function(){return new Ra}},{key:"justifyRight",factory:function(){return new Ru}},{key:"justifyCenter",factory:function(){return new Rs}},{key:"justifyJustify",factory:function(){return new Rl}}]},{renderStyle:function(e,t){if(!lf.isElement(e))return t;var n=e.lineHeight;return n&&Pn(t,{lineHeight:n}),t},styleToHtml:function(e,t){if(!lf.isElement(e))return t;var n=e.lineHeight;if(!n)return t;var r=c2(t);return r.css("line-height",n),BQ(r)},parseStyleHtml:function(e,t,n){var r=c2(e);if(!lf.isElement(t))return t;var o=n.getMenuConfig("lineHeight").lineHeightList,i=B1(r,"line-height");return i&&(void 0===o?[]:o).includes(i)&&(t.lineHeight=i),t},menus:[{key:"lineHeight",factory:function(){return new Rc},config:{lineHeightList:["1","1.15","1.5","2","2.5","3"]}}]},{renderElems:[{type:"image",renderElem:function(e,t,n){var r,o,i,a,u=e.src,s=e.alt,l=e.href,c=e.style,f=void 0===c?{}:c,d=f.width,p=void 0===d?"":d,h=f.height,g=void 0===h?"":h,v=Dn.isNodeSelected(n,e),y={};p&&(y.width="100%"),g&&(y.height="100%");var m=dw("img",{style:y,src:u,alt:void 0===s?"":s,"data-href":void 0===l?"":l}),b=n.isDisabled();return v&&!b?function(e,t,n,r){var o=c2("body"),i=PR(e,t),a=r.width,u=r.height,s=0,l=0,c=0,f=!1,d=null,p=f4(function(e){e.preventDefault();var t=e.clientX,n=l+(f?s-t:t-s),r=n/l*c;null!=d&&(n<=15||r<=15||(d.css("width",n+"px"),d.css("height",r+"px")))},100);function h(n){if(o.off("mousemove",p),null!=d){var r=d.width().toFixed(2),i=d.height().toFixed(2),a={style:B3(B3({},t.style),{width:r+"px",height:i+"px"})};l6.setNodes(e,a,{at:Dn.findPath(e,t)}),o.off("mouseup",h)}}var g={};return a&&(g.width=a),u&&(g.height=u),dw("div",{id:i,style:g,className:"w-e-image-container w-e-selected-image-container",on:{mousedown:function(t){var n=c2(t.target);n.hasClass("w-e-image-dragger")&&(t.preventDefault(),(n.hasClass("left-top")||n.hasClass("left-bottom"))&&(f=!0),function(t){d=function(){var e=c2("#"+i);if(0===e.length)throw Error("Cannot find image container elem");return e}(),s=t;var n=d.find("img");if(0===n.length)throw Error("Cannot find image elem");l=n.width(),c=n.height(),o.on("mousemove",p),o.on("mouseup",h);var r=Dn.getHoverbar(e);r&&r.hideAndClean()}(t.clientX))}}},n,dw("div",{className:"w-e-image-dragger left-top"}),dw("div",{className:"w-e-image-dragger right-top"}),dw("div",{className:"w-e-image-dragger left-bottom"}),dw("div",{className:"w-e-image-dragger right-bottom"}))}(n,e,m,{width:p,height:g}):(o=(r={width:p,height:g}).width,i=r.height,a={},o&&(a.width=o),i&&(a.height=i),dw("div",{id:PR(n,e),style:a,className:"w-e-image-container"},m))}}],elemsToHtml:[{type:"image",elemToHtml:function(e,t){var n=e.src,r=e.alt,o=e.href,i=e.style,a=void 0===i?{}:i,u=a.width,s=void 0===u?"":u,l=a.height,c=void 0===l?"":l,f="";return s&&(f+="width: "+s+";"),c&&(f+="height: "+c+";"),'<img src="'+n+'" alt="'+(void 0===r?"":r)+'" data-href="'+(void 0===o?"":o)+'" style="'+f+'"/>'}}],parseElemsHtml:[{selector:"img:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=c2(e),o=r.attr("data-href")||"";return o=decodeURIComponent(o),{type:"image",src:r.attr("src")||"",alt:r.attr("alt")||"",href:o,style:{width:B1(r,"width"),height:B1(r,"height")},children:[{text:""}]}}}],menus:[{key:"insertImage",factory:function(){return new PU},config:PJ},{key:"deleteImage",factory:function(){return new PV}},{key:"editImage",factory:function(){return new Pq},config:PJ},{key:"viewImageLink",factory:function(){return new PG}},{key:"imageWidth30",factory:function(){return new PZ}},{key:"imageWidth50",factory:function(){return new PX}},{key:"imageWidth100",factory:function(){return new PY}}],editorPlugin:function(e){var t=e.isInline,n=e.isVoid;return e.insertNode,e.isInline=function(e){return"image"===e.type||t(e)},e.isVoid=function(e){return"image"===e.type||n(e)},e}},{renderElems:[{type:"divider",renderElem:function(e,t,n){return dr("div",{props:{contentEditable:!1,className:"w-e-textarea-divider"},dataset:{selected:Dn.isNodeSelected(n,e)?"true":""},style:{},on:{mousedown:function(e){return e.preventDefault()}}},[dr("hr")])}}],elemsToHtml:[{type:"divider",elemToHtml:function(e,t){return"<hr/>"}}],parseElemsHtml:[{selector:"hr:not([data-w-e-type])",parseElemHtml:function(e,t,n){return{type:"divider",children:[{text:""}]}}}],menus:[{key:"divider",factory:function(){return new Rp}}],editorPlugin:function(e){var t=e.isVoid,n=e.normalizeNode;return e.isVoid=function(e){return"divider"===e.type||t(e)},e.normalizeNode=function(t){var r=B7(t,2),o=r[0],i=r[1];if("divider"!==Dn.getNodeType(o))return n([o,i]);Dn.isLastNode(e,o)&&l6.insertNodes(e,Dn.genEmptyParagraph(),{at:[i[0]+1]})},e}},{menus:[{key:"emotion",factory:function(){return new P5},config:{emotions:"\uD83D\uDE00 \uD83D\uDE03 \uD83D\uDE04 \uD83D\uDE01 \uD83D\uDE06 \uD83D\uDE05 \uD83D\uDE02 \uD83E\uDD23 \uD83D\uDE0A \uD83D\uDE07 \uD83D\uDE42 \uD83D\uDE43 \uD83D\uDE09 \uD83D\uDE0C \uD83D\uDE0D \uD83D\uDE18 \uD83D\uDE17 \uD83D\uDE19 \uD83D\uDE1A \uD83D\uDE0B \uD83D\uDE1B \uD83D\uDE1D \uD83D\uDE1C \uD83E\uDD13 \uD83D\uDE0E \uD83D\uDE0F \uD83D\uDE12 \uD83D\uDE1E \uD83D\uDE14 \uD83D\uDE1F \uD83D\uDE15 \uD83D\uDE41 \uD83D\uDE23 \uD83D\uDE16 \uD83D\uDE2B \uD83D\uDE29 \uD83D\uDE22 \uD83D\uDE2D \uD83D\uDE24 \uD83D\uDE20 \uD83D\uDE21 \uD83D\uDE33 \uD83D\uDE31 \uD83D\uDE28 \uD83E\uDD17 \uD83E\uDD14 \uD83D\uDE36 \uD83D\uDE11 \uD83D\uDE2C \uD83D\uDE44 \uD83D\uDE2F \uD83D\uDE34 \uD83D\uDE37 \uD83E\uDD11 \uD83D\uDE08 \uD83E\uDD21 \uD83D\uDCA9 \uD83D\uDC7B \uD83D\uDC80 \uD83D\uDC40 \uD83D\uDC63 \uD83D\uDC50 \uD83D\uDE4C \uD83D\uDC4F \uD83E\uDD1D \uD83D\uDC4D \uD83D\uDC4E \uD83D\uDC4A ✊ \uD83E\uDD1B \uD83E\uDD1C \uD83E\uDD1E ✌️ \uD83E\uDD18 \uD83D\uDC4C \uD83D\uDC48 \uD83D\uDC49 \uD83D\uDC46 \uD83D\uDC47 ☝️ ✋ \uD83E\uDD1A \uD83D\uDD90 \uD83D\uDD96 \uD83D\uDC4B \uD83E\uDD19 \uD83D\uDCAA \uD83D\uDD95 ✍️ \uD83D\uDE4F".split(" ")}}]},{renderElems:[{type:"link",renderElem:function(e,t,n){var r=e.url,o=e.target;return dw("a",{href:r,target:void 0===o?"_blank":o},t)}}],elemsToHtml:[{type:"link",elemToHtml:function(e,t){var n=e.url,r=e.target;return'<a href="'+n+'" target="'+(void 0===r?"_blank":r)+'">'+t+"</a>"}}],parseElemsHtml:[{selector:"a:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=c2(e);return 0===(t=t.filter(function(e){return!!l$.isText(e)||!!n.isInline(e)})).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"link",url:r.attr("href")||"",target:r.attr("target")||"",children:t}}}],menus:[{key:"insertLink",factory:function(){return new Pb},config:Px},{key:"editLink",factory:function(){return new PE},config:Px},{key:"unLink",factory:function(){return new PD}},{key:"viewLink",factory:function(){return new PS}}],editorPlugin:function(e){var t=e.isInline,n=e.insertData,r=e.normalizeNode;return e.insertNode,e.insertText,e.isInline=function(e){return"link"===e.type||t(e)},e.insertData=function(t){var r=t.getData("text/plain");if(function(e){if("string"!=typeof e)return!1;var t=e.match(Pu);if(!t)return!1;var n=t[1];return!(!n||!Ps.test(n)&&!Pl.test(n))}(r)){if(!Pg(e)){var o=e.selection;if(null!=o){var i=ly.string(e,o);Py(e,i,r)}}}else n(t)},e.normalizeNode=function(t){var n=B7(t,2),o=n[0],i=n[1];return"link"!==Dn.getNodeType(o)?r([o,i]):""===lD.string(o)?l6.removeNodes(e,{at:i}):r([o,i])},e}},{menus:[{key:"codeBlock",factory:function(){return new Rm}}],editorPlugin:function(e){var t=e.insertBreak,n=e.normalizeNode,r=e.insertData;return e.insertNode,e.insertBreak=function(){var n=Dn.getSelectedNodeByType(e,"code");if(null!=n){var r=function(e,t){var n=t.selection;if(null==n)return"";var r=lD.string(e),o=n.anchor.offset,i=r.slice(0,o).split("\n"),a=i.length;return 0===a?"":i[a-1]}(n,e);if(r){var o=r.match(/^\s+/);if(null!=o&&null!=o[0]){var i=o[0];return void e.insertText("\n"+i)}}e.insertText("\n")}else t()},e.normalizeNode=function(t){var r=B7(t,2),o=r[0],i=r[1],a=Dn.getNodeType(o);return"code"===a&&i.length<=1&&l6.setNodes(e,{type:"paragraph"},{at:i}),"pre"===a&&(Dn.isLastNode(e,o)&&l6.insertNodes(e,Dn.genEmptyParagraph(),{at:[i[0]+1]}),"code"!==Dn.getNodeType(o.children[0])&&(l6.unwrapNodes(e),l6.setNodes(e,{type:"paragraph"},{mode:"highest"}))),n([o,i])},e.insertData=function(t){if(null!=Dn.getSelectedNodeByType(e,"code")){var n=t.getData("text/plain");ly.insertText(e,n)}else r(t)},e},renderElems:[{type:"pre",renderElem:function(e,t,n){return dw("pre",null,t)}},{type:"code",renderElem:function(e,t,n){return dw("code",null,t)}}],elemsToHtml:[{type:"code",elemToHtml:function(e,t){return"<code>"+t+"</code>"}},{type:"pre",elemToHtml:function(e,t){return"<pre>"+t+"</pre>"}}],preParseHtml:[{selector:"pre>code",preParseHtml:function(e){var t=c2(e);if("code"!==B0(t))return e;var n=t.find("xmp");if(0===n.length)return e;var r=n.text();return n.remove(),t.text(r),t[0]}}],parseElemsHtml:[{selector:"pre:not([data-w-e-type])>code",parseElemHtml:function(e,t,n){return{type:"code",language:"",children:[{text:c2(e)[0].textContent||""}]}}},{selector:"pre:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=c2(e);return 0===(t=t.filter(function(e){return"code"===Dn.getNodeType(e)})).length&&(t=[{type:"code",language:"",children:[{text:r[0].textContent||""}]}]),{type:"pre",children:t.filter(function(e){return"code"===Dn.getNodeType(e)})}}}]},{renderElems:[{type:"blockquote",renderElem:function(e,t,n){return dw("blockquote",null,t)}}],elemsToHtml:[{type:"blockquote",elemToHtml:function(e,t){return"<blockquote>"+t+"</blockquote>"}}],parseElemsHtml:[{selector:"blockquote:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=c2(e);return 0===(t=t.filter(function(e){return!!l$.isText(e)||!!n.isInline(e)})).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"blockquote",children:t}}}],menus:[{key:"blockquote",factory:function(){return new P0}}],editorPlugin:function(e){var t=e.insertBreak,n=e.insertText;return e.insertBreak=function(){var r=e.selection;if(null==r)return t();var o=B7(ly.nodes(e,{match:function(e){return Dn.checkNodeType(e,"blockquote")},universal:!0}),1)[0];if(!o)return t();var i=o[0],a=Dn.findPath(e,i),u=ly.end(e,a);if(lB.equals(u,r.focus)){var s=lD.string(i);if(s&&"\n"===s.slice(-1))return e.deleteBackward("character"),void l6.insertNodes(e,{type:"paragraph",children:[{text:""}]},{mode:"highest"})}n("\n")},e}},F8,{renderElems:[{type:"paragraph",renderElem:function(e,t,n){return dw("p",null,t)}}],elemsToHtml:[{type:"paragraph",elemToHtml:function(e,t){return""===t?"<p><br></p>":"<p>"+t+"</p>"}}],parseElemsHtml:[{selector:"p:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=c2(e);return 0===(t=t.filter(function(e){return!!l$.isText(e)||!!n.isInline(e)})).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"paragraph",children:t}}}],editorPlugin:function(e){var t=e.deleteBackward,n=e.deleteForward;return e.insertText,e.insertBreak,e.deleteBackward=function(n){B9(e)||t(n)},e.deleteForward=function(t){B9(e)||n(t)},e}},{renderElems:[{type:"todo",renderElem:function(e,t,n){var r=!1;return n.isDisabled()&&(r=!0),dw("div",{style:{margin:"5px 0"}},dw("span",{contentEditable:!1,style:{marginRight:"0.5em"}},dw("input",{type:"checkbox",checked:e.checked,disabled:r,on:{change:function(t){var r=Dn.findPath(n,e),o={checked:t.target.checked};l6.setNodes(n,o,{at:r})}}})),dw("span",null,t))}}],elemsToHtml:[{type:"todo",elemToHtml:function(e,t){return'<div data-w-e-type="todo"><input type="checkbox" disabled '+(e.checked?"checked":"")+">"+t+"</div>"}}],preParseHtml:[{selector:"ul.w-e-todo",preParseHtml:function(e){var t=c2(e).find("li"),n=c2('<div data-w-e-type="todo"></div>'),r=t.find("input[type]");return n.append(r),t.children()[0].remove(),n[0].innerHTML=n[0].innerHTML+t[0].innerHTML,n[0]}}],parseElemsHtml:[{selector:'div[data-w-e-type="todo"]',parseElemHtml:function(e,t,n){var r=c2(e);0===(t=t.filter(function(e){return!!l$.isText(e)||!!n.isInline(e)})).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var o=!1;return null!=r.find('input[type="checkbox"]').attr("checked")&&(o=!0),{type:"todo",checked:o,children:t}}}],menus:[{key:"todo",factory:function(){return new PQ}}],editorPlugin:function(e){var t=e.deleteBackward;return e.deleteBackward=function(n){var r=e.selection;if(r&&lj.isCollapsed(r)){var o=Dn.getSelectedNodeByType(e,"todo");if(o&&0===lD.string(o).length)return void l6.setNodes(e,{type:"paragraph"},{mode:"highest"})}t(n)},e}},{menus:[{key:"redo",factory:function(){return new Rf}},{key:"undo",factory:function(){return new Rd}}]},{menus:[{key:"fullScreen",factory:function(){return new Rb}}]},{menus:[{key:"enter",factory:function(){return new Rw}}]}];OF("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),OF("zh-CN",{listModule:{unOrderedList:"无序列表",orderedList:"有序列表"}});var RD="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function RS(e){var t={exports:{}};return e(t,t.exports),t.exports}var Rx,RC,RO,RA=function(e){return e&&e.Math==Math&&e},Rk=RA("object"==typeof globalThis&&globalThis)||RA("object"==typeof window&&window)||RA("object"==typeof self&&self)||RA("object"==typeof RD&&RD)||function(){return this}()||Function("return this")(),RT=Function.prototype,RB=RT.bind,RF=RT.call,RP=RB&&RB.bind(RF),R_=RB?function(e){return e&&RP(RF,e)}:function(e){return e&&function(){return RF.apply(e,arguments)}},Rj=function(e){try{return!!e()}catch(e){return!0}},RI=R_({}.toString),RN=R_("".slice),RR=function(e){return RN(RI(e),8,-1)},RL=Rk.Object,RM=R_("".split),Rz=Rj(function(){return!RL("z").propertyIsEnumerable(0)})?function(e){return"String"==RR(e)?RM(e,""):RL(e)}:RL,R$=Rk.TypeError,RH=function(e){if(null==e)throw R$("Can't call method on "+e);return e},RU=function(e){return Rz(RH(e))},RV=Object.defineProperty,RW=function(e,t){try{RV(Rk,e,{value:t,configurable:!0,writable:!0})}catch(n){Rk[e]=t}return t},Rq=Rk["__core-js_shared__"]||RW("__core-js_shared__",{}),RG=RS(function(e){(e.exports=function(e,t){return Rq[e]||(Rq[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})}),RK=Rk.Object,RZ=function(e){return RK(RH(e))},RX=R_({}.hasOwnProperty),RY=Object.hasOwn||function(e,t){return RX(RZ(e),t)},RJ=0,RQ=Math.random(),R0=R_(1..toString),R1=function(e){return"Symbol("+(void 0===e?"":e)+")_"+R0(++RJ+RQ,36)},R2=function(e){return"function"==typeof e},R4=function(e,t){var n;return arguments.length<2?R2(n=Rk[e])?n:void 0:Rk[e]&&Rk[e][t]},R3=R4("navigator","userAgent")||"",R6=Rk.process,R5=Rk.Deno,R8=R6&&R6.versions||R5&&R5.version,R7=R8&&R8.v8;R7&&(RO=(RC=R7.split("."))[0]>0&&RC[0]<4?1:+(RC[0]+RC[1])),!RO&&R3&&(!(RC=R3.match(/Edge\/(\d+)/))||RC[1]>=74)&&(RC=R3.match(/Chrome\/(\d+)/))&&(RO=+RC[1]);var R9,Le=RO,Lt=!!Object.getOwnPropertySymbols&&!Rj(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Le&&Le<41}),Ln=Lt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Lr=RG("wks"),Lo=Rk.Symbol,Li=Lo&&Lo.for,La=Ln?Lo:Lo&&Lo.withoutSetter||R1,Lu=function(e){if(!RY(Lr,e)||!Lt&&"string"!=typeof Lr[e]){var t="Symbol."+e;Lt&&RY(Lo,e)?Lr[e]=Lo[e]:Lr[e]=Ln&&Li?Li(t):La(t)}return Lr[e]},Ls=function(e){return"object"==typeof e?null!==e:R2(e)},Ll=Rk.String,Lc=Rk.TypeError,Lf=function(e){if(Ls(e))return e;throw Lc(Ll(e)+" is not an object")},Ld=!Rj(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),Lp=Rk.document,Lh=Ls(Lp)&&Ls(Lp.createElement),Lg=function(e){return Lh?Lp.createElement(e):{}},Lv=!Ld&&!Rj(function(){return 7!=Object.defineProperty(Lg("div"),"a",{get:function(){return 7}}).a}),Ly=Function.prototype.call,Lm=Ly.bind?Ly.bind(Ly):function(){return Ly.apply(Ly,arguments)},Lb=R_({}.isPrototypeOf),Lw=Rk.Object,LE=Ln?function(e){return"symbol"==typeof e}:function(e){var t=R4("Symbol");return R2(t)&&Lb(t.prototype,Lw(e))},LD=Rk.String,LS=function(e){try{return LD(e)}catch(e){return"Object"}},Lx=Rk.TypeError,LC=function(e){if(R2(e))return e;throw Lx(LS(e)+" is not a function")},LO=function(e,t){var n=e[t];return null==n?void 0:LC(n)},LA=Rk.TypeError,Lk=Rk.TypeError,LT=Lu("toPrimitive"),LB=function(e){var t=function(e,t){if(!Ls(e)||LE(e))return e;var n,r=LO(e,LT);if(r){if(void 0===t&&(t="default"),!Ls(n=Lm(r,e,t))||LE(n))return n;throw Lk("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&R2(n=e.toString)&&!Ls(r=Lm(n,e))||R2(n=e.valueOf)&&!Ls(r=Lm(n,e))||"string"!==t&&R2(n=e.toString)&&!Ls(r=Lm(n,e)))return r;throw LA("Can't convert object to primitive value")}(e,t)}(e,"string");return LE(t)?t:t+""},LF=Rk.TypeError,LP=Object.defineProperty,L_={f:Ld?LP:function(e,t,n){if(Lf(e),t=LB(t),Lf(n),Lv)try{return LP(e,t,n)}catch(e){}if("get"in n||"set"in n)throw LF("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Lj=Math.ceil,LI=Math.floor,LN=function(e){var t=+e;return t!=t||0===t?0:(t>0?LI:Lj)(t)},LR=Math.max,LL=Math.min,LM=function(e,t){var n=LN(e);return n<0?LR(n+t,0):LL(n,t)},Lz=Math.min,L$=function(e){return e>0?Lz(LN(e),0x1fffffffffffff):0},LH=function(e){return L$(e.length)},LU=function(e){return function(t,n,r){var o,i=RU(t),a=LH(i),u=LM(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},LV={includes:LU(!0),indexOf:LU(!1)},LW={},Lq=LV.indexOf,LG=R_([].push),LK=function(e,t){var n,r=RU(e),o=0,i=[];for(n in r)!RY(LW,n)&&RY(r,n)&&LG(i,n);for(;t.length>o;)RY(r,n=t[o++])&&(~Lq(i,n)||LG(i,n));return i},LZ=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],LX=Object.keys||function(e){return LK(e,LZ)},LY=Ld?Object.defineProperties:function(e,t){Lf(e);for(var n,r=RU(t),o=LX(t),i=o.length,a=0;i>a;)L_.f(e,n=o[a++],r[n]);return e},LJ=R4("document","documentElement"),LQ=RG("keys"),L0=function(e){return LQ[e]||(LQ[e]=R1(e))},L1=L0("IE_PROTO"),L2=function(){},L4=function(e){return"<script>"+e+"<\/script>"},L3=function(e){e.write(L4("")),e.close();var t=e.parentWindow.Object;return e=null,t},L6=function(){try{R9=new ActiveXObject("htmlfile")}catch(e){}L6="undefined"!=typeof document?document.domain&&R9?L3(R9):((t=Lg("iframe")).style.display="none",LJ.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(L4("document.F=Object")),e.close(),e.F):L3(R9);for(var e,t,n=LZ.length;n--;)delete L6.prototype[LZ[n]];return L6()};LW[L1]=!0;var L5=Object.create||function(e,t){var n;return null!==e?(L2.prototype=Lf(e),n=new L2,L2.prototype=null,n[L1]=e):n=L6(),void 0===t?n:LY(n,t)},L8=Lu("unscopables"),L7=Array.prototype;null==L7[L8]&&L_.f(L7,L8,{configurable:!0,value:L5(null)});var L9=function(e){L7[L8][e]=!0},Me={},Mt=R_(Function.toString);R2(Rq.inspectSource)||(Rq.inspectSource=function(e){return Mt(e)});var Mn,Mr,Mo,Mi=Rq.inspectSource,Ma=Rk.WeakMap,Mu=R2(Ma)&&/native code/.test(Mi(Ma)),Ms=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Ml=Ld?function(e,t,n){return L_.f(e,t,Ms(1,n))}:function(e,t,n){return e[t]=n,e},Mc=Rk.TypeError,Mf=Rk.WeakMap;if(Mu||Rq.state){var Md=Rq.state||(Rq.state=new Mf),Mp=R_(Md.get),Mh=R_(Md.has),Mg=R_(Md.set);Mn=function(e,t){if(Mh(Md,e))throw new Mc("Object already initialized");return t.facade=e,Mg(Md,e,t),t},Mr=function(e){return Mp(Md,e)||{}},Mo=function(e){return Mh(Md,e)}}else{var Mv=L0("state");LW[Mv]=!0,Mn=function(e,t){if(RY(e,Mv))throw new Mc("Object already initialized");return t.facade=e,Ml(e,Mv,t),t},Mr=function(e){return RY(e,Mv)?e[Mv]:{}},Mo=function(e){return RY(e,Mv)}}var My,Mm,Mb,Mw=Mn,ME=Mr,MD=function(e){return Mo(e)?Mr(e):Mn(e,{})},MS=function(e){return function(t){var n;if(!Ls(t)||(n=Mr(t)).type!==e)throw Mc("Incompatible receiver, "+e+" required");return n}},Mx={}.propertyIsEnumerable,MC=Object.getOwnPropertyDescriptor,MO={f:MC&&!Mx.call({1:2},1)?function(e){var t=MC(this,e);return!!t&&t.enumerable}:Mx},MA=Object.getOwnPropertyDescriptor,Mk={f:Ld?MA:function(e,t){if(e=RU(e),t=LB(t),Lv)try{return MA(e,t)}catch(e){}if(RY(e,t))return Ms(!Lm(MO.f,e,t),e[t])}},MT=Function.prototype,MB=Ld&&Object.getOwnPropertyDescriptor,MF=RY(MT,"name"),MP={EXISTS:MF,PROPER:MF&&"something"===(function(){}).name,CONFIGURABLE:MF&&(!Ld||Ld&&MB(MT,"name").configurable)},M_=RS(function(e){var t=MP.CONFIGURABLE,n=String(String).split("String");(e.exports=function(e,r,o,i){var a,u=!!i&&!!i.unsafe,s=!!i&&!!i.enumerable,l=!!i&&!!i.noTargetGet,c=i&&void 0!==i.name?i.name:r;R2(o)&&("Symbol("===String(c).slice(0,7)&&(c="["+String(c).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!RY(o,"name")||t&&o.name!==c)&&Ml(o,"name",c),(a=MD(o)).source||(a.source=n.join("string"==typeof c?c:""))),e!==Rk?(u?!l&&e[r]&&(s=!0):delete e[r],s?e[r]=o:Ml(e,r,o)):s?e[r]=o:RW(r,o)})(Function.prototype,"toString",function(){return R2(this)&&ME(this).source||Mi(this)})}),Mj=LZ.concat("length","prototype"),MI={f:Object.getOwnPropertyNames||function(e){return LK(e,Mj)}},MN={f:Object.getOwnPropertySymbols},MR=R_([].concat),ML=R4("Reflect","ownKeys")||function(e){var t=MI.f(Lf(e)),n=MN.f;return n?MR(t,n(e)):t},MM=function(e,t){for(var n=ML(t),r=L_.f,o=Mk.f,i=0;i<n.length;i++){var a=n[i];RY(e,a)||r(e,a,o(t,a))}},Mz=/#|\.prototype\./,M$=function(e,t){var n=MU[MH(e)];return n==MW||n!=MV&&(R2(t)?Rj(t):!!t)},MH=M$.normalize=function(e){return String(e).replace(Mz,".").toLowerCase()},MU=M$.data={},MV=M$.NATIVE="N",MW=M$.POLYFILL="P",Mq=Mk.f,MG=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?Rk:l?Rk[u]||RW(u,{}):(Rk[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Mq(n,r))&&a.value:n[r],!M$(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;MM(i,o)}(e.sham||o&&o.sham)&&Ml(i,"sham",!0),M_(n,r,i,e)}},MK=!Rj(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),MZ=L0("IE_PROTO"),MX=Rk.Object,MY=MX.prototype,MJ=MK?MX.getPrototypeOf:function(e){var t=RZ(e);if(RY(t,MZ))return t[MZ];var n=t.constructor;return R2(n)&&t instanceof n?n.prototype:t instanceof MX?MY:null},MQ=Lu("iterator"),M0=!1;[].keys&&("next"in(Mb=[].keys())?(Mm=MJ(MJ(Mb)))!==Object.prototype&&(My=Mm):M0=!0),(null==My||Rj(function(){var e={};return My[MQ].call(e)!==e}))&&(My={}),R2(My[MQ])||M_(My,MQ,function(){return this});var M1=My,M2=M0,M4=L_.f,M3=Lu("toStringTag"),M6=function(e,t,n){e&&!RY(e=n?e:e.prototype,M3)&&M4(e,M3,{configurable:!0,value:t})},M5=function(){return this},M8=Rk.String,M7=Rk.TypeError,M9=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=R_(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Lf(n),function(e){if(!("object"==typeof e||R2(e)))throw M7("Can't set "+M8(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),ze=MP.PROPER,zt=MP.CONFIGURABLE,zn=Lu("iterator"),zr=function(){return this},zo=function(e,t,n,r,o,i,a){u=t+" Iterator",n.prototype=L5(M1,{next:Ms(1,r)}),M6(n,u,!1),Me[u]=M5;var u,s,l,c,f=function(e){if(e===o&&g)return g;if(!M2&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=!1,p=e.prototype,h=p[zn]||p["@@iterator"]||o&&p[o],g=!M2&&h||f(o),v="Array"==t&&p.entries||h;if(v&&(s=MJ(v.call(new e)))!==Object.prototype&&s.next&&(MJ(s)!==M1&&(M9?M9(s,M1):R2(s[zn])||M_(s,zn,zr)),M6(s,t+" Iterator",!0)),ze&&"values"==o&&h&&"values"!==h.name&&(zt?Ml(p,"name","values"):(d=!0,g=function(){return Lm(h,this)})),o)if(l={values:f("values"),keys:i?g:f("keys"),entries:f("entries")},a)for(c in l)!M2&&!d&&c in p||M_(p,c,l[c]);else MG({target:t,proto:!0,forced:M2||d},l);return p[zn]!==g&&M_(p,zn,g,{name:o}),Me[t]=g,l},zi=MS("Array Iterator"),za=zo(Array,"Array",function(e,t){Mw(this,{type:"Array Iterator",target:RU(e),index:0,kind:t})},function(){var e=zi(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");Me.Arguments=Me.Array,L9("keys"),L9("values"),L9("entries");var zu={};zu[Lu("toStringTag")]="z";var zs="[object z]"===String(zu),zl=Lu("toStringTag"),zc=Rk.Object,zf="Arguments"==RR(function(){return arguments}()),zd=zs?RR:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=zc(e),zl))?n:zf?RR(t):"Object"==(r=RR(t))&&R2(t.callee)?"Arguments":r};zs||M_(Object.prototype,"toString",zs?({}).toString:function(){return"[object "+zd(this)+"]"},{unsafe:!0});var zp=Rk.String,zh=function(e){if("Symbol"===zd(e))throw TypeError("Cannot convert a Symbol value to a string");return zp(e)},zg=R_("".charAt),zv=R_("".charCodeAt),zy=R_("".slice),zm=function(e){return function(t,n){var r,o,i=zh(RH(t)),a=LN(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=zv(i,a))<55296||r>56319||a+1===u||(o=zv(i,a+1))<56320||o>57343?e?zg(i,a):r:e?zy(i,a,a+2):o-56320+(r-55296<<10)+65536}},zb={codeAt:zm(!1),charAt:zm(!0)},zw=zb.charAt,zE=MS("String Iterator");zo(String,"String",function(e){Mw(this,{type:"String Iterator",string:zh(e),index:0})},function(){var e,t=zE(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=zw(n,r),t.index+=e.length,{value:e,done:!1})});var zD=function(e,t,n){for(var r in t)M_(e,r,t[r],n);return e},zS=Rk.Array,zx=Math.max,zC=MI.f,zO="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],zA={f:function(e){return zO&&"Window"==RR(e)?function(e){try{return zC(e)}catch(e){return function(e,t,n){for(var r,o,i,a=LH(e),u=LM(void 0,a),s=LM(a,a),l=zS(zx(s-u,0)),c=0;u<s;u++,c++)r=c,o=e[u],(i=LB(r))in l?L_.f(l,i,Ms(0,o)):l[i]=o;return l.length=c,l}(zO)}}(e):zC(RU(e))}},zk=Rj(function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),zT=Object.isExtensible,zB=Rj(function(){zT(1)})||zk?function(e){return!!Ls(e)&&(!zk||"ArrayBuffer"!=RR(e))&&(!zT||zT(e))}:zT,zF=!Rj(function(){return Object.isExtensible(Object.preventExtensions({}))}),zP=RS(function(e){var t=L_.f,n=!1,r=R1("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=MI.f,t=R_([].splice),o={};o[r]=1,e(o).length&&(MI.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break}return o},MG({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:zA.f}))},fastKey:function(e,t){if(!Ls(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!RY(e,r)){if(!zB(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!RY(e,r)){if(!zB(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return zF&&n&&zB(e)&&!RY(e,r)&&i(e),e}};LW[r]=!0}),z_=R_(R_.bind),zj=function(e,t){return LC(e),void 0===t?e:z_?z_(e,t):function(){return e.apply(t,arguments)}},zI=Lu("iterator"),zN=Array.prototype,zR=Lu("iterator"),zL=function(e){if(null!=e)return LO(e,zR)||LO(e,"@@iterator")||Me[zd(e)]},zM=Rk.TypeError,zz=function(e,t,n){var r,o;Lf(e);try{if(!(r=LO(e,"return"))){if("throw"===t)throw n;return n}r=Lm(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return Lf(r),n},z$=Rk.TypeError,zH=function(e,t){this.stopped=e,this.result=t},zU=zH.prototype,zV=function(e,t,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=zj(t,c),g=function(e){return r&&zz(r,"normal",e),new zH(!0,e)},v=function(e){return f?(Lf(e),p?h(e[0],e[1],g):h(e[0],e[1])):p?h(e,g):h(e)};if(d)r=e;else{if(!(o=zL(e)))throw z$(LS(e)+" is not iterable");if(void 0!==o&&(Me.Array===o||zN[zI]===o)){for(i=0,a=LH(e);a>i;i++)if((u=v(e[i]))&&Lb(zU,u))return u;return new zH(!1)}r=function(e,t){var n=arguments.length<2?zL(e):t;if(LC(n))return Lf(Lm(n,e));throw zM(LS(e)+" is not iterable")}(e,o)}for(s=r.next;!(l=Lm(s,r)).done;){try{u=v(l.value)}catch(e){zz(r,"throw",e)}if("object"==typeof u&&u&&Lb(zU,u))return u}return new zH(!1)},zW=Rk.TypeError,zq=function(e,t){if(Lb(t,e))return e;throw zW("Incorrect invocation")},zG=Lu("iterator"),zK=!1;try{var zZ=0,zX={next:function(){return{done:!!zZ++}},return:function(){zK=!0}};zX[zG]=function(){return this},Array.from(zX,function(){throw 2})}catch(e){}var zY=Array.isArray||function(e){return"Array"==RR(e)},zJ=function(){},zQ=[],z0=R4("Reflect","construct"),z1=/^\s*(?:class|function)\b/,z2=R_(z1.exec),z4=!z1.exec(zJ),z3=function(e){if(!R2(e))return!1;try{return z0(zJ,zQ,e),!0}catch(e){return!1}},z6=!z0||Rj(function(){var e;return z3(z3.call)||!z3(Object)||!z3(function(){e=!0})||e})?function(e){if(!R2(e))return!1;switch(zd(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return z4||!!z2(z1,Mi(e))}:z3,z5=Lu("species"),z8=Rk.Array,z7=function(e,t){var n;return new(zY(e)&&(z6(n=e.constructor)&&(n===z8||zY(n.prototype))||Ls(n)&&null===(n=n[z5]))&&(n=void 0),void 0===n?z8:n)(0===t?0:t)},z9=R_([].push),$e=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=RZ(s),g=Rz(h),v=zj(l,c),y=LH(g),m=0,b=f||z7,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:z9(w,d)}else switch(e){case 4:return!1;case 7:z9(w,d)}return i?-1:r||o?o:w}},$t={forEach:$e(0),map:$e(1),filter:$e(2),some:$e(3),every:$e(4),find:$e(5),findIndex:$e(6),filterReject:$e(7)},$n=zP.getWeakData,$r=$t.find,$o=$t.findIndex,$i=R_([].splice),$a=0,$u=function(e){return e.frozen||(e.frozen=new $s)},$s=function(){this.entries=[]},$l=function(e,t){return $r(e.entries,function(e){return e[0]===t})};$s.prototype={get:function(e){var t=$l(this,e);if(t)return t[1]},has:function(e){return!!$l(this,e)},set:function(e,t){var n=$l(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=$o(this.entries,function(t){return t[0]===e});return~t&&$i(this.entries,t,1),!!~t}};var $c,$f={getConstructor:function(e,t,n,r){var o=e(function(e,o){zq(e,i),Mw(e,{type:t,id:$a++,frozen:void 0}),null!=o&&zV(o,e[r],{that:e,AS_ENTRIES:n})}),i=o.prototype,a=MS(t),u=function(e,t,n){var r=a(e),o=$n(Lf(t),!0);return!0===o?$u(r).set(t,n):o[r.id]=n,e};return zD(i,{delete:function(e){var t=a(this);if(!Ls(e))return!1;var n=$n(e);return!0===n?$u(t).delete(e):n&&RY(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!Ls(e))return!1;var n=$n(e);return!0===n?$u(t).has(e):n&&RY(n,t.id)}}),zD(i,n?{get:function(e){var t=a(this);if(Ls(e)){var n=$n(e);return!0===n?$u(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return u(this,e,t)}}:{add:function(e){return u(this,e,!0)}}),o}},$d=!Rk.ActiveXObject&&"ActiveXObject"in Rk,$p=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},$h=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=Rk[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=R_(u[e]);M_(u,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!Ls(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!Ls(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!Ls(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(M$(e,!R2(a)||!(o||u.forEach&&!Rj(function(){(new a).entries().next()}))))s=n.getConstructor(t,e,r,i),zP.enable();else if(M$(e,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=Rj(function(){f.has(1)}),h=function(e,t){if(!zK)return!1;var n=!1;try{var r={};r[zG]=function(){return{next:function(){return{done:n=!0}}}},new a(r)}catch(e){}return n}(),g=!o&&Rj(function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)});h||((s=t(function(e,t){zq(e,u);var n,o,l,c,f=(n=new a,o=s,M9&&R2(l=e.constructor)&&l!==o&&Ls(c=l.prototype)&&c!==o.prototype&&M9(n,c),n);return null!=t&&zV(t,f[i],{that:f,AS_ENTRIES:r}),f})).prototype=u,u.constructor=s),(p||g)&&(c("delete"),c("has"),r&&c("get")),(g||d)&&c(i),o&&u.clear&&delete u.clear}return l[e]=s,MG({global:!0,forced:s!=a},l),M6(s,e),o||n.setStrong(s,e,r),s}("WeakMap",$p,$f);if(Mu&&$d){$c=$f.getConstructor($p,"WeakMap",!0),zP.enable();var $g=$h.prototype,$v=R_($g.delete),$y=R_($g.has),$m=R_($g.get),$b=R_($g.set);zD($g,{delete:function(e){if(Ls(e)&&!zB(e)){var t=MD(this);return t.frozen||(t.frozen=new $c),$v(this,e)||t.frozen.delete(e)}return $v(this,e)},has:function(e){if(Ls(e)&&!zB(e)){var t=MD(this);return t.frozen||(t.frozen=new $c),$y(this,e)||t.frozen.has(e)}return $y(this,e)},get:function(e){if(Ls(e)&&!zB(e)){var t=MD(this);return t.frozen||(t.frozen=new $c),$y(this,e)?$m(this,e):t.frozen.get(e)}return $m(this,e)},set:function(e,t){if(Ls(e)&&!zB(e)){var n=MD(this);n.frozen||(n.frozen=new $c),$y(this,e)?$b(this,e,t):n.frozen.set(e,t)}else $b(this,e,t);return this}})}var $w={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},$E=Lg("span").classList,$D=$E&&$E.constructor&&$E.constructor.prototype,$S=$D===Object.prototype?void 0:$D,$x=Lu("iterator"),$C=Lu("toStringTag"),$O=za.values,$A=function(e,t){if(e){if(e[$x]!==$O)try{Ml(e,$x,$O)}catch(t){e[$x]=$O}if(e[$C]||Ml(e,$C,t),$w[t]){for(var n in za)if(e[n]!==za[n])try{Ml(e,n,za[n])}catch(t){e[n]=za[n]}}}};for(var $k in $w)$A(Rk[$k]&&Rk[$k].prototype,$k);$A($S,"DOMTokenList");var $T=new WeakMap,$B=function(e,t){return($B=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function $F(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}$B(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function $P(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function $_(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function $j(e){return ly.nodes(e,{at:e.selection||void 0,match:function(t){return 1===Dn.findPath(e,t).length}})}var $I=LV.includes;MG({target:"Array",proto:!0},{includes:function(e){return $I(this,e,arguments.length>1?arguments[1]:void 0)}}),L9("includes");var $N,$R,$L=function(){var e=Lf(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},$M=Rk.RegExp,$z=Rj(function(){var e=$M("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),$$=$z||Rj(function(){return!$M("a","y").sticky}),$H={BROKEN_CARET:$z||Rj(function(){var e=$M("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),MISSED_STICKY:$$,UNSUPPORTED_Y:$z},$U=Rk.RegExp,$V=Rj(function(){var e=$U(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),$W=Rk.RegExp,$q=Rj(function(){var e=$W("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),$G=RG("native-string-replace",String.prototype.replace),$K=RegExp.prototype.exec,$Z=$K,$X=R_("".charAt),$Y=R_("".indexOf),$J=R_("".replace),$Q=R_("".slice),$0=($R=/b*/g,Lm($K,$N=/a/,"a"),Lm($K,$R,"a"),0!==$N.lastIndex||0!==$R.lastIndex),$1=$H.BROKEN_CARET,$2=void 0!==/()??/.exec("")[1];($0||$2||$1||$V||$q)&&($Z=function(e){var t,n,r,o,i,a,u,s=ME(this),l=zh(e),c=s.raw;if(c)return c.lastIndex=this.lastIndex,t=Lm($Z,c,l),this.lastIndex=c.lastIndex,t;var f=s.groups,d=$1&&this.sticky,p=Lm($L,this),h=this.source,g=0,v=l;if(d&&(-1===$Y(p=$J(p,"y",""),"g")&&(p+="g"),v=$Q(l,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==$X(l,this.lastIndex-1))&&(h="(?: "+h+")",v=" "+v,g++),n=RegExp("^(?:"+h+")",p)),$2&&(n=RegExp("^"+h+"$(?!\\s)",p)),$0&&(r=this.lastIndex),o=Lm($K,d?n:this,v),d?o?(o.input=$Q(o.input,g),o[0]=$Q(o[0],g),o.index=this.lastIndex,this.lastIndex+=o[0].length):this.lastIndex=0:$0&&o&&(this.lastIndex=this.global?o.index+o[0].length:r),$2&&o&&o.length>1&&Lm($G,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)}),o&&f)for(o.groups=a=L5(null),i=0;i<f.length;i++)a[(u=f[i])[0]]=o[u[1]];return o});var $4=$Z;MG({target:"RegExp",proto:!0,forced:/./.exec!==$4},{exec:$4});var $3=function(){function e(){this.type="list-item",this.tag="button"}return e.prototype.getListNode=function(e){var t=this.type;return Dn.getSelectedNodeByType(e,t)},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){var t=this.getListNode(e);if(null==t)return!1;var n=t.ordered;return(void 0!==n&&n)===this.ordered},e.prototype.isDisabled=function(e){return null==e.selection||!!Dn.getSelectedElems(e).some(function(t){return!!(ly.isVoid(e,t)&&ly.isBlock(e,t))||!!["pre","code","table"].includes(t.type)||void 0})},e.prototype.exec=function(e,t){this.isActive(e)?l6.setNodes(e,{type:"paragraph",ordered:void 0,level:void 0}):l6.setNodes(e,{type:"list-item",ordered:this.ordered,indent:void 0})},e}(),$6=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ordered=!1,t.title=O_("listModule.unOrderedList"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M384 64h640v128H384V64z m0 384h640v128H384v-128z m0 384h640v128H384v-128zM0 128a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z"></path></svg>',t}return $F(t,e),t}($3),$5=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ordered=!0,t.title=O_("listModule.orderedList"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M384 832h640v128H384z m0-384h640v128H384z m0-384h640v128H384zM192 0v256H128V64H64V0zM128 526.016v50.016h128v64H64v-146.016l128-60V384H64v-64h192v146.016zM256 704v320H64v-64h128v-64H64v-64h128v-64H64v-64z"></path></svg>',t}return $F(t,e),t}($3),$8=[],$7=Lu("species"),$9=$t.filter;MG({target:"Array",proto:!0,forced:!(Le>=51||!Rj(function(){var e=[];return(e.constructor={})[$7]=function(){return{foo:1}},1!==e.filter(Boolean).foo}))},{filter:function(e){return $9(this,e,arguments.length>1?arguments[1]:void 0)}});var He=Function.prototype,Ht=He.apply,Hn=He.bind,Hr=He.call,Ho="object"==typeof Reflect&&Reflect.apply||(Hn?Hr.bind(Ht):function(){return Hr.apply(Ht,arguments)}),Hi=(Lu("species"),RegExp.prototype),Ha=zb.charAt,Hu=Math.floor,Hs=R_("".charAt),Hl=R_("".replace),Hc=R_("".slice),Hf=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Hd=/\$([$&'`]|\d{1,2})/g,Hp=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=Hd;return void 0!==o&&(o=RZ(o),s=Hf),Hl(i,s,function(i,s){var l;switch(Hs(s,0)){case"$":return"$";case"&":return e;case"`":return Hc(t,0,n);case"'":return Hc(t,a);case"<":l=o[Hc(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=Hu(c/10);return 0===f?i:f<=u?void 0===r[f-1]?Hs(s,1):r[f-1]+Hs(s,1):i}l=r[c-1]}return void 0===l?"":l})},Hh=Rk.TypeError,Hg=function(e,t){var n=e.exec;if(R2(n)){var r=Lm(n,e,t);return null!==r&&Lf(r),r}if("RegExp"===RR(e))return Lm($4,e,t);throw Hh("RegExp#exec called on incompatible receiver")},Hv=Lu("replace"),Hy=Math.max,Hm=Math.min,Hb=R_([].concat),Hw=R_([].push),HE=R_("".indexOf),HD=R_("".slice),HS="$0"==="a".replace(/./,"$0"),Hx=!!/./[Hv]&&""===/./[Hv]("a","$0");!function(e,t,n,r){var o=Lu(e),i=!Rj(function(){var t={};return t[o]=function(){return 7},7!=""[e](t)}),a=i&&!Rj(function(){var e=!1,t=/a/;return t.exec=function(){return e=!0,null},t[o](""),!e});if(!i||!a||n){var u,s,l,c=R_(/./[o]),f=(u=""[e],s=function(e,t,n,r,o){var a=R_(e),u=t.exec;return u===$4||u===Hi.exec?i&&!o?{done:!0,value:c(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}},l=Hx?"$":"$0",[function(e,t){var n=RH(this),r=null==e?void 0:LO(e,Hv);return r?Lm(r,e,n,t):Lm(u,zh(n),e,t)},function(e,t){var n=Lf(this),r=zh(e);if("string"==typeof t&&-1===HE(t,l)&&-1===HE(t,"$<")){var o=s(u,n,r,t);if(o.done)return o.value}var i=R2(t);i||(t=zh(t));var a=n.global;if(a){var c=n.unicode;n.lastIndex=0}for(var f=[];;){var d,p=Hg(n,r);if(null===p||(Hw(f,p),!a))break;""===zh(p[0])&&(d=L$(n.lastIndex),n.lastIndex=d+(c?Ha(r,d).length:1))}for(var h,g="",v=0,y=0;y<f.length;y++){for(var m=zh((p=f[y])[0]),b=Hy(Hm(LN(p.index),r.length),0),w=[],E=1;E<p.length;E++)Hw(w,void 0===(h=p[E])?h:String(h));var D=p.groups;if(i){var S=Hb([m],w,b,r);void 0!==D&&Hw(S,D);var x=zh(Ho(t,void 0,S))}else x=Hp(m,r,b,w,D,t);b>=v&&(g+=HD(r,v,b)+x,v=b+m.length)}return g+HD(r,v)}]);M_(String.prototype,e,f[0]),M_(Hi,o,f[1])}}("replace",0,!!Rj(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!HS||Hx);var HC=Rk.TypeError,HO=function(e,t,n,r,o,i,a,u){for(var s,l,c=o,f=0,d=!!a&&zj(a,u);f<r;){if(f in n){if(s=d?d(n[f],f,t):n[f],i>0&&zY(s))l=LH(s),c=HO(e,t,s,l,c,i-1)-1;else{if(c>=0x1fffffffffffff)throw HC("Exceed the acceptable array length");e[c]=s}c++}f++}return c};function HA(e){return e.length?e[0].tagName.toLowerCase():""}MG({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=RZ(this),n=LH(t),r=z7(t,0);return r.length=HO(r,t,t,n,0,void 0===e?1:LN(e)),r}}),L9("flat"),MG({global:!0},{globalThis:Rk}),fp&&(c2.fn.append=fp),c5&&(c2.fn.attr=c5),fg&&(c2.fn.parent=fg);var Hk=s(function(e,t){var n,r,o,i="__lodash_hash_undefined__",a="[object Arguments]",s="[object Array]",l="[object Boolean]",c="[object Date]",f="[object Error]",d="[object Function]",p="[object Map]",h="[object Number]",g="[object Object]",v="[object Promise]",y="[object RegExp]",m="[object Set]",b="[object String]",w="[object WeakMap]",E="[object ArrayBuffer]",D="[object DataView]",S=/^\[object .+?Constructor\]$/,x=/^(?:0|[1-9]\d*)$/,C={};C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C[a]=C[s]=C[E]=C[l]=C[D]=C[c]=C[f]=C[d]=C[p]=C[h]=C[g]=C[y]=C[m]=C[b]=C[w]=!1;var O="object"==typeof u&&u&&u.Object===Object&&u,A="object"==typeof self&&self&&self.Object===Object&&self,k=O||A||Function("return this")(),T=t&&!t.nodeType&&t,B=T&&e&&!e.nodeType&&e,F=B&&B.exports===T,P=F&&O.process,_=function(){try{return P&&P.binding&&P.binding("util")}catch(e){}}(),j=_&&_.isTypedArray;function I(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function N(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var R=Array.prototype,L=Function.prototype,M=Object.prototype,z=k["__core-js_shared__"],$=L.toString,H=M.hasOwnProperty,U=(n=/[^.]+$/.exec(z&&z.keys&&z.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",V=M.toString,W=RegExp("^"+$.call(H).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),q=F?k.Buffer:void 0,G=k.Symbol,K=k.Uint8Array,Z=M.propertyIsEnumerable,X=R.splice,Y=G?G.toStringTag:void 0,J=Object.getOwnPropertySymbols,Q=q?q.isBuffer:void 0,ee=(r=Object.keys,o=Object,function(e){return r(o(e))}),et=eC(k,"DataView"),en=eC(k,"Map"),er=eC(k,"Promise"),eo=eC(k,"Set"),ei=eC(k,"WeakMap"),ea=eC(Object,"create"),eu=ek(et),es=ek(en),el=ek(er),ec=ek(eo),ef=ek(ei),ed=G?G.prototype:void 0,ep=ed?ed.valueOf:void 0;function eh(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function eg(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ev(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ey(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new ev;++t<n;)this.add(e[t])}function em(e){var t=this.__data__=new eg(e);this.size=t.size}function eb(e,t){for(var n=e.length;n--;)if(eT(e[n][0],t))return n;return -1}function ew(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Y&&Y in Object(e)?function(e){var t=H.call(e,Y),n=e[Y];try{e[Y]=void 0;var r=!0}catch(e){}var o=V.call(e);return r&&(t?e[Y]=n:delete e[Y]),o}(e):V.call(e)}function eE(e){return eN(e)&&ew(e)==a}function eD(e,t,n,r,o,i){var a=1&n,u=e.length,s=t.length;if(u!=s&&!(a&&s>u))return!1;var l=i.get(e);if(l&&i.get(t))return l==t;var c=-1,f=!0,d=2&n?new ey:void 0;for(i.set(e,t),i.set(t,e);++c<u;){var p=e[c],h=t[c];if(r)var g=a?r(h,p,c,t,e,i):r(p,h,c,e,t,i);if(void 0!==g){if(g)continue;f=!1;break}if(d){if(!function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}(t,function(e,t){if(!d.has(t)&&(p===e||o(p,e,n,r,i)))return d.push(t)})){f=!1;break}}else if(p!==h&&!o(p,h,n,r,i)){f=!1;break}}return i.delete(e),i.delete(t),f}function eS(e){var t;return t=eL(e),eF(e)?t:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(t,eO(e))}function ex(e,t){var n,r=e.__data__;return("string"==(n=typeof t)||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?r["string"==typeof t?"string":"hash"]:r.map}function eC(e,t){var n=null==e?void 0:e[t];return!(!eI(n)||U&&U in n)&&(e_(n)?W:S).test(ek(n))?n:void 0}eh.prototype.clear=function(){this.__data__=ea?ea(null):{},this.size=0},eh.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t},eh.prototype.get=function(e){var t=this.__data__;if(ea){var n=t[e];return n===i?void 0:n}return H.call(t,e)?t[e]:void 0},eh.prototype.has=function(e){var t=this.__data__;return ea?void 0!==t[e]:H.call(t,e)},eh.prototype.set=function(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=ea&&void 0===t?i:t,this},eg.prototype.clear=function(){this.__data__=[],this.size=0},eg.prototype.delete=function(e){var t=this.__data__,n=eb(t,e);return!(n<0)&&(n==t.length-1?t.pop():X.call(t,n,1),--this.size,!0)},eg.prototype.get=function(e){var t=this.__data__,n=eb(t,e);return n<0?void 0:t[n][1]},eg.prototype.has=function(e){return eb(this.__data__,e)>-1},eg.prototype.set=function(e,t){var n=this.__data__,r=eb(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},ev.prototype.clear=function(){this.size=0,this.__data__={hash:new eh,map:new(en||eg),string:new eh}},ev.prototype.delete=function(e){var t=ex(this,e).delete(e);return this.size-=!!t,t},ev.prototype.get=function(e){return ex(this,e).get(e)},ev.prototype.has=function(e){return ex(this,e).has(e)},ev.prototype.set=function(e,t){var n=ex(this,e),r=n.size;return n.set(e,t),this.size+=+(n.size!=r),this},ey.prototype.add=ey.prototype.push=function(e){return this.__data__.set(e,i),this},ey.prototype.has=function(e){return this.__data__.has(e)},em.prototype.clear=function(){this.__data__=new eg,this.size=0},em.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},em.prototype.get=function(e){return this.__data__.get(e)},em.prototype.has=function(e){return this.__data__.has(e)},em.prototype.set=function(e,t){var n=this.__data__;if(n instanceof eg){var r=n.__data__;if(!en||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ev(r)}return n.set(e,t),this.size=n.size,this};var eO=J?function(e){return null==e?[]:function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}(J(e=Object(e)),function(t){return Z.call(e,t)})}:function(){return[]},eA=ew;function ek(e){if(null!=e){try{return $.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function eT(e,t){return e===t||e!=e&&t!=t}(et&&eA(new et(new ArrayBuffer(1)))!=D||en&&eA(new en)!=p||er&&eA(er.resolve())!=v||eo&&eA(new eo)!=m||ei&&eA(new ei)!=w)&&(eA=function(e){var t=ew(e),n=t==g?e.constructor:void 0,r=n?ek(n):"";if(r)switch(r){case eu:return D;case es:return p;case el:return v;case ec:return m;case ef:return w}return t});var eB=eE(function(){return arguments}())?eE:function(e){return eN(e)&&H.call(e,"callee")&&!Z.call(e,"callee")},eF=Array.isArray,eP=Q||function(){return!1};function e_(e){if(!eI(e))return!1;var t=ew(e);return t==d||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ej(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}function eI(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function eN(e){return null!=e&&"object"==typeof e}var eR=j?function(e){return j(e)}:function(e){return eN(e)&&ej(e.length)&&!!C[ew(e)]};function eL(e){return null!=e&&ej(e.length)&&!e_(e)?function(e,t){var n,r,o=eF(e),i=!o&&eB(e),a=!o&&!i&&eP(e),u=!o&&!i&&!a&&eR(e),s=o||i||a||u,l=s?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=l.length;for(var f in e){!H.call(e,f)||s&&("length"==f||a&&("offset"==f||"parent"==f)||u&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||(n=f,(r=null==(r=c)?0x1fffffffffffff:r)&&("number"==typeof n||x.test(n))&&n>-1&&n%1==0&&n<r))||l.push(f)}return l}(e):function(e){if(n="function"==typeof(t=e&&e.constructor)&&t.prototype||M,e!==n)return ee(e);var t,n,r=[];for(var o in Object(e))H.call(e,o)&&"constructor"!=o&&r.push(o);return r}(e)}e.exports=function(e,t){return function e(t,n,r,o,i){return t===n||(null!=t&&null!=n&&(eN(t)||eN(n))?function(e,t,n,r,o,i){var u=eF(e),d=eF(t),v=u?s:eA(e),w=d?s:eA(t),S=(v=v==a?g:v)==g,x=(w=w==a?g:w)==g,C=v==w;if(C&&eP(e)){if(!eP(t))return!1;u=!0,S=!1}if(C&&!S)return i||(i=new em),u||eR(e)?eD(e,t,n,r,o,i):function(e,t,n,r,o,i,a){switch(n){case D:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case E:return!(e.byteLength!=t.byteLength||!i(new K(e),new K(t)));case l:case c:case h:return eT(+e,+t);case f:return e.name==t.name&&e.message==t.message;case y:case b:return e==t+"";case p:var u=I;case m:var s=1&r;if(u||(u=N),e.size!=t.size&&!s)break;var d=a.get(e);if(d)return d==t;r|=2,a.set(e,t);var g=eD(u(e),u(t),r,o,i,a);return a.delete(e),g;case"[object Symbol]":if(ep)return ep.call(e)==ep.call(t)}return!1}(e,t,v,n,r,o,i);if(!(1&n)){var O=S&&H.call(e,"__wrapped__"),A=x&&H.call(t,"__wrapped__");if(O||A){var k=O?e.value():e,T=A?t.value():t;return i||(i=new em),o(k,T,n,r,i)}}return!!C&&(i||(i=new em),function(e,t,n,r,o,i){var a=1&n,u=eS(e),s=u.length;if(s!=eS(t).length&&!a)return!1;for(var l=s;l--;){var c=u[l];if(!(a?c in t:H.call(t,c)))return!1}var f=i.get(e);if(f&&i.get(t))return f==t;var d=!0;i.set(e,t),i.set(t,e);for(var p=a;++l<s;){var h=e[c=u[l]],g=t[c];if(r)var v=a?r(g,h,c,t,e,i):r(h,g,c,e,t,i);if(!(void 0===v?h===g||o(h,g,n,r,i):v)){d=!1;break}p||(p="constructor"==c)}if(d&&!p){var y=e.constructor,m=t.constructor;y==m||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof m&&m instanceof m||(d=!1)}return i.delete(e),i.delete(t),d}(e,t,n,r,o,i))}(t,n,r,o,e,i):t!=t&&n!=n)}(e,t)}});OF("en",{tableModule:{deleteCol:"Delete column",deleteRow:"Delete row",deleteTable:"Delete table",widthAuto:"Width auto",insertCol:"Insert column",insertRow:"Insert row",insertTable:"Insert table",header:"Header"}}),OF("zh-CN",{tableModule:{deleteCol:"删除列",deleteRow:"删除行",deleteTable:"删除表格",widthAuto:"宽度自适应",insertCol:"插入列",insertRow:"插入行",insertTable:"插入表格",header:"表头"}});var HT="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function HB(e){var t={exports:{}};return e(t,t.exports),t.exports}var HF,HP,H_=function(e){return e&&e.Math==Math&&e},Hj=H_("object"==typeof globalThis&&globalThis)||H_("object"==typeof window&&window)||H_("object"==typeof self&&self)||H_("object"==typeof HT&&HT)||function(){return this}()||Function("return this")(),HI=function(e){try{return!!e()}catch(e){return!0}},HN=!HI(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),HR=Function.prototype.call,HL=HR.bind?HR.bind(HR):function(){return HR.apply(HR,arguments)},HM={}.propertyIsEnumerable,Hz=Object.getOwnPropertyDescriptor,H$={f:Hz&&!HM.call({1:2},1)?function(e){var t=Hz(this,e);return!!t&&t.enumerable}:HM},HH=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},HU=Function.prototype,HV=HU.bind,HW=HU.call,Hq=HV&&HV.bind(HW),HG=HV?function(e){return e&&Hq(HW,e)}:function(e){return e&&function(){return HW.apply(e,arguments)}},HK=HG({}.toString),HZ=HG("".slice),HX=function(e){return HZ(HK(e),8,-1)},HY=Hj.Object,HJ=HG("".split),HQ=HI(function(){return!HY("z").propertyIsEnumerable(0)})?function(e){return"String"==HX(e)?HJ(e,""):HY(e)}:HY,H0=Hj.TypeError,H1=function(e){if(null==e)throw H0("Can't call method on "+e);return e},H2=function(e){return HQ(H1(e))},H4=function(e){return"function"==typeof e},H3=function(e){return"object"==typeof e?null!==e:H4(e)},H6=function(e,t){var n;return arguments.length<2?H4(n=Hj[e])?n:void 0:Hj[e]&&Hj[e][t]},H5=HG({}.isPrototypeOf),H8=H6("navigator","userAgent")||"",H7=Hj.process,H9=Hj.Deno,Ue=H7&&H7.versions||H9&&H9.version,Ut=Ue&&Ue.v8;Ut&&(HP=(HF=Ut.split("."))[0]>0&&HF[0]<4?1:+(HF[0]+HF[1])),!HP&&H8&&(!(HF=H8.match(/Edge\/(\d+)/))||HF[1]>=74)&&(HF=H8.match(/Chrome\/(\d+)/))&&(HP=+HF[1]);var Un=HP,Ur=!!Object.getOwnPropertySymbols&&!HI(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Un&&Un<41}),Uo=Ur&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ui=Hj.Object,Ua=Uo?function(e){return"symbol"==typeof e}:function(e){var t=H6("Symbol");return H4(t)&&H5(t.prototype,Ui(e))},Uu=Hj.String,Us=function(e){try{return Uu(e)}catch(e){return"Object"}},Ul=Hj.TypeError,Uc=function(e){if(H4(e))return e;throw Ul(Us(e)+" is not a function")},Uf=function(e,t){var n=e[t];return null==n?void 0:Uc(n)},Ud=Hj.TypeError,Up=Object.defineProperty,Uh=function(e,t){try{Up(Hj,e,{value:t,configurable:!0,writable:!0})}catch(n){Hj[e]=t}return t},Ug=Hj["__core-js_shared__"]||Uh("__core-js_shared__",{}),Uv=HB(function(e){(e.exports=function(e,t){return Ug[e]||(Ug[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})}),Uy=Hj.Object,Um=function(e){return Uy(H1(e))},Ub=HG({}.hasOwnProperty),Uw=Object.hasOwn||function(e,t){return Ub(Um(e),t)},UE=0,UD=Math.random(),US=HG(1..toString),Ux=function(e){return"Symbol("+(void 0===e?"":e)+")_"+US(++UE+UD,36)},UC=Uv("wks"),UO=Hj.Symbol,UA=UO&&UO.for,Uk=Uo?UO:UO&&UO.withoutSetter||Ux,UT=function(e){if(!Uw(UC,e)||!Ur&&"string"!=typeof UC[e]){var t="Symbol."+e;Ur&&Uw(UO,e)?UC[e]=UO[e]:UC[e]=Uo&&UA?UA(t):Uk(t)}return UC[e]},UB=Hj.TypeError,UF=UT("toPrimitive"),UP=function(e){var t=function(e,t){if(!H3(e)||Ua(e))return e;var n,r=Uf(e,UF);if(r){if(void 0===t&&(t="default"),!H3(n=HL(r,e,t))||Ua(n))return n;throw UB("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&H4(n=e.toString)&&!H3(r=HL(n,e))||H4(n=e.valueOf)&&!H3(r=HL(n,e))||"string"!==t&&H4(n=e.toString)&&!H3(r=HL(n,e)))return r;throw Ud("Can't convert object to primitive value")}(e,t)}(e,"string");return Ua(t)?t:t+""},U_=Hj.document,Uj=H3(U_)&&H3(U_.createElement),UI=function(e){return Uj?U_.createElement(e):{}},UN=!HN&&!HI(function(){return 7!=Object.defineProperty(UI("div"),"a",{get:function(){return 7}}).a}),UR=Object.getOwnPropertyDescriptor,UL={f:HN?UR:function(e,t){if(e=H2(e),t=UP(t),UN)try{return UR(e,t)}catch(e){}if(Uw(e,t))return HH(!HL(H$.f,e,t),e[t])}},UM=Hj.String,Uz=Hj.TypeError,U$=function(e){if(H3(e))return e;throw Uz(UM(e)+" is not an object")},UH=Hj.TypeError,UU=Object.defineProperty,UV={f:HN?UU:function(e,t,n){if(U$(e),t=UP(t),U$(n),UN)try{return UU(e,t,n)}catch(e){}if("get"in n||"set"in n)throw UH("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},UW=HN?function(e,t,n){return UV.f(e,t,HH(1,n))}:function(e,t,n){return e[t]=n,e},Uq=HG(Function.toString);H4(Ug.inspectSource)||(Ug.inspectSource=function(e){return Uq(e)});var UG,UK,UZ,UX=Ug.inspectSource,UY=Hj.WeakMap,UJ=H4(UY)&&/native code/.test(UX(UY)),UQ=Uv("keys"),U0=function(e){return UQ[e]||(UQ[e]=Ux(e))},U1={},U2=Hj.TypeError,U4=Hj.WeakMap;if(UJ||Ug.state){var U3=Ug.state||(Ug.state=new U4),U6=HG(U3.get),U5=HG(U3.has),U8=HG(U3.set);UG=function(e,t){if(U5(U3,e))throw new U2("Object already initialized");return t.facade=e,U8(U3,e,t),t},UK=function(e){return U6(U3,e)||{}},UZ=function(e){return U5(U3,e)}}else{var U7=U0("state");U1[U7]=!0,UG=function(e,t){if(Uw(e,U7))throw new U2("Object already initialized");return t.facade=e,UW(e,U7,t),t},UK=function(e){return Uw(e,U7)?e[U7]:{}},UZ=function(e){return Uw(e,U7)}}var U9=UK,Ve=Function.prototype,Vt=HN&&Object.getOwnPropertyDescriptor,Vn=Uw(Ve,"name"),Vr={EXISTS:Vn,PROPER:Vn&&"something"===(function(){}).name,CONFIGURABLE:Vn&&(!HN||HN&&Vt(Ve,"name").configurable)},Vo=HB(function(e){var t=Vr.CONFIGURABLE,n=String(String).split("String");(e.exports=function(e,r,o,i){var a,u,s=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet,f=i&&void 0!==i.name?i.name:r;H4(o)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Uw(o,"name")||t&&o.name!==f)&&UW(o,"name",f),(u=UZ(a=o)?UK(a):UG(a,{})).source||(u.source=n.join("string"==typeof f?f:""))),e!==Hj?(s?!c&&e[r]&&(l=!0):delete e[r],l?e[r]=o:UW(e,r,o)):l?e[r]=o:Uh(r,o)})(Function.prototype,"toString",function(){return H4(this)&&U9(this).source||UX(this)})}),Vi=Math.ceil,Va=Math.floor,Vu=function(e){var t=+e;return t!=t||0===t?0:(t>0?Va:Vi)(t)},Vs=Math.max,Vl=Math.min,Vc=function(e,t){var n=Vu(e);return n<0?Vs(n+t,0):Vl(n,t)},Vf=Math.min,Vd=function(e){return e>0?Vf(Vu(e),0x1fffffffffffff):0},Vp=function(e){return Vd(e.length)},Vh=function(e){return function(t,n,r){var o,i=H2(t),a=Vp(i),u=Vc(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},Vg=(Vh(!0),Vh(!1)),Vv=HG([].push),Vy=function(e,t){var n,r=H2(e),o=0,i=[];for(n in r)!Uw(U1,n)&&Uw(r,n)&&Vv(i,n);for(;t.length>o;)Uw(r,n=t[o++])&&(~Vg(i,n)||Vv(i,n));return i},Vm=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Vb=Vm.concat("length","prototype"),Vw={f:Object.getOwnPropertyNames||function(e){return Vy(e,Vb)}},VE={f:Object.getOwnPropertySymbols},VD=HG([].concat),VS=H6("Reflect","ownKeys")||function(e){var t=Vw.f(U$(e)),n=VE.f;return n?VD(t,n(e)):t},Vx=function(e,t){for(var n=VS(t),r=UV.f,o=UL.f,i=0;i<n.length;i++){var a=n[i];Uw(e,a)||r(e,a,o(t,a))}},VC=/#|\.prototype\./,VO=function(e,t){var n=Vk[VA(e)];return n==VB||n!=VT&&(H4(t)?HI(t):!!t)},VA=VO.normalize=function(e){return String(e).replace(VC,".").toLowerCase()},Vk=VO.data={},VT=VO.NATIVE="N",VB=VO.POLYFILL="P",VF=UL.f,VP=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?Hj:l?Hj[u]||Uh(u,{}):(Hj[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=VF(n,r))&&a.value:n[r],!VO(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Vx(i,o)}(e.sham||o&&o.sham)&&UW(i,"sham",!0),Vo(n,r,i,e)}},V_={};V_[UT("toStringTag")]="z";var Vj="[object z]"===String(V_),VI=UT("toStringTag"),VN=Hj.Object,VR="Arguments"==HX(function(){return arguments}()),VL=Vj?HX:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=VN(e),VI))?n:VR?HX(t):"Object"==(r=HX(t))&&H4(t.callee)?"Arguments":r},VM=Hj.String,Vz=function(e){if("Symbol"===VL(e))throw TypeError("Cannot convert a Symbol value to a string");return VM(e)},V$=/"/g,VH=HG("".replace);VP({target:"String",proto:!0,forced:HI(function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3})},{anchor:function(e){var t,n;return t=Vz(H1(this)),'<a name="'+VH(Vz(e),V$,""")+'">'+t+"</a>"}});var VU,VV=function(){var e=U$(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},VW=Hj.RegExp,Vq=HI(function(){var e=VW("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),VG=Vq||HI(function(){return!VW("a","y").sticky}),VK={BROKEN_CARET:Vq||HI(function(){var e=VW("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),MISSED_STICKY:VG,UNSUPPORTED_Y:Vq},VZ=Object.keys||function(e){return Vy(e,Vm)},VX=HN?Object.defineProperties:function(e,t){U$(e);for(var n,r=H2(t),o=VZ(t),i=o.length,a=0;i>a;)UV.f(e,n=o[a++],r[n]);return e},VY=H6("document","documentElement"),VJ=U0("IE_PROTO"),VQ=function(){},V0=function(e){return"<script>"+e+"<\/script>"},V1=function(e){e.write(V0("")),e.close();var t=e.parentWindow.Object;return e=null,t},V2=function(){try{VU=new ActiveXObject("htmlfile")}catch(e){}V2="undefined"!=typeof document?document.domain&&VU?V1(VU):((t=UI("iframe")).style.display="none",VY.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(V0("document.F=Object")),e.close(),e.F):V1(VU);for(var e,t,n=Vm.length;n--;)delete V2.prototype[Vm[n]];return V2()};U1[VJ]=!0;var V4,V3,V6=Object.create||function(e,t){var n;return null!==e?(VQ.prototype=U$(e),n=new VQ,VQ.prototype=null,n[VJ]=e):n=V2(),void 0===t?n:VX(n,t)},V5=Hj.RegExp,V8=HI(function(){var e=V5(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),V7=Hj.RegExp,V9=HI(function(){var e=V7("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),We=Uv("native-string-replace",String.prototype.replace),Wt=RegExp.prototype.exec,Wn=Wt,Wr=HG("".charAt),Wo=HG("".indexOf),Wi=HG("".replace),Wa=HG("".slice),Wu=(V3=/b*/g,HL(Wt,V4=/a/,"a"),HL(Wt,V3,"a"),0!==V4.lastIndex||0!==V3.lastIndex),Ws=VK.BROKEN_CARET,Wl=void 0!==/()??/.exec("")[1];(Wu||Wl||Ws||V8||V9)&&(Wn=function(e){var t,n,r,o,i,a,u,s=U9(this),l=Vz(e),c=s.raw;if(c)return c.lastIndex=this.lastIndex,t=HL(Wn,c,l),this.lastIndex=c.lastIndex,t;var f=s.groups,d=Ws&&this.sticky,p=HL(VV,this),h=this.source,g=0,v=l;if(d&&(-1===Wo(p=Wi(p,"y",""),"g")&&(p+="g"),v=Wa(l,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==Wr(l,this.lastIndex-1))&&(h="(?: "+h+")",v=" "+v,g++),n=RegExp("^(?:"+h+")",p)),Wl&&(n=RegExp("^"+h+"$(?!\\s)",p)),Wu&&(r=this.lastIndex),o=HL(Wt,d?n:this,v),d?o?(o.input=Wa(o.input,g),o[0]=Wa(o[0],g),o.index=this.lastIndex,this.lastIndex+=o[0].length):this.lastIndex=0:Wu&&o&&(this.lastIndex=this.global?o.index+o[0].length:r),Wl&&o&&o.length>1&&HL(We,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)}),o&&f)for(o.groups=a=V6(null),i=0;i<f.length;i++)a[(u=f[i])[0]]=o[u[1]];return o});var Wc=Wn;VP({target:"RegExp",proto:!0,forced:/./.exec!==Wc},{exec:Wc});var Wf=Array.isArray||function(e){return"Array"==HX(e)},Wd=function(){},Wp=[],Wh=H6("Reflect","construct"),Wg=/^\s*(?:class|function)\b/,Wv=HG(Wg.exec),Wy=!Wg.exec(Wd),Wm=function(e){if(!H4(e))return!1;try{return Wh(Wd,Wp,e),!0}catch(e){return!1}},Wb=!Wh||HI(function(){var e;return Wm(Wm.call)||!Wm(Object)||!Wm(function(){e=!0})||e})?function(e){if(!H4(e))return!1;switch(VL(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Wy||!!Wv(Wg,UX(e))}:Wm,Ww=function(e,t,n){var r=UP(t);r in e?UV.f(e,r,HH(0,n)):e[r]=n},WE=UT("species"),WD=function(e){return Un>=51||!HI(function(){var t=[];return(t.constructor={})[WE]=function(){return{foo:1}},1!==t[e](Boolean).foo})},WS=HG([].slice),Wx=WD("slice"),WC=UT("species"),WO=Hj.Array,WA=Math.max;function Wk(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function WT(e){var t=e.selection;if(null==t)return!1;var n=Wk(ly.nodes(e,{match:function(e){return Dn.checkNodeType(e,"table-cell")}}),1)[0];if(n){var r=Wk(n,2)[1],o=ly.start(e,r);if(lB.equals(t.anchor,o))return!0}return!1}function WB(e,t){var n,r,o=ly.nodes(e,{at:t,match:function(e){return"table"===Dn.getNodeType(e)}}),i=!1;try{for(var a=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(o),u=a.next();!u.done;u=a.next())u.value,i=!0}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i}VP({target:"Array",proto:!0,forced:!Wx},{slice:function(e,t){var n,r,o,i=H2(this),a=Vp(i),u=Vc(e,a),s=Vc(void 0===t?a:t,a);if(Wf(i)&&((Wb(n=i.constructor)&&(n===WO||Wf(n.prototype))||H3(n)&&null===(n=n[WC]))&&(n=void 0),n===WO||void 0===n))return WS(i,u,s);for(r=new(void 0===n?WO:n)(WA(s-u,0)),o=0;u<s;u++,o++)u in i&&Ww(r,o,i[u]);return r.length=o,r}});var WF=HG(HG.bind),WP=UT("species"),W_=Hj.Array,Wj=function(e,t){var n;return new(Wf(e)&&(Wb(n=e.constructor)&&(n===W_||Wf(n.prototype))||H3(n)&&null===(n=n[WP]))&&(n=void 0),void 0===n?W_:n)(0===t?0:t)},WI=HG([].push),WN=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=Um(s),g=HQ(h),v=(Uc(l),void 0===c?l:WF?WF(l,c):function(){return l.apply(c,arguments)}),y=Vp(g),m=0,b=f||Wj,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:WI(w,d)}else switch(e){case 4:return!1;case 7:WI(w,d)}return i?-1:r||o?o:w}},WR={forEach:WN(0),map:WN(1),filter:WN(2),some:WN(3),every:WN(4),find:WN(5),findIndex:WN(6),filterReject:WN(7)},WL=WR.map;function WM(e){var t=e.children||[];return 0===t.length?[]:(t[0]||{}).children||[]}function Wz(e){return WM(e).every(function(e){return!!e.isHeader})}VP({target:"Array",proto:!0,forced:!WD("map")},{map:function(e){return WL(this,e,arguments.length>1?arguments[1]:void 0)}}),Vj||Vo(Object.prototype,"toString",Vj?({}).toString:function(){return"[object "+VL(this)+"]"},{unsafe:!0});var W$=Vr.PROPER,WH=RegExp.prototype,WU=WH.toString,WV=HG(VV),WW=HI(function(){return"/a/b"!=WU.call({source:"a",flags:"b"})}),Wq=W$&&"toString"!=WU.name;(WW||Wq)&&Vo(RegExp.prototype,"toString",function(){var e=U$(this),t=Vz(e.source),n=e.flags;return"/"+t+"/"+Vz(void 0===n&&H5(WH,e)&&!("flags"in WH)?WV(e):n)},{unsafe:!0});var WG=UT("unscopables"),WK=Array.prototype;null==WK[WG]&&UV.f(WK,WG,{configurable:!0,value:V6(null)});var WZ=WR.find,WX=!0;"find"in[]&&[,].find(function(){WX=!1}),VP({target:"Array",proto:!0,forced:WX},{find:function(e){return WZ(this,e,arguments.length>1?arguments[1]:void 0)}}),WK[WG].find=!0;var WY=Function.prototype,WJ=WY.apply,WQ=WY.bind,W0=WY.call,W1="object"==typeof Reflect&&Reflect.apply||(WQ?W0.bind(WJ):function(){return W0.apply(WJ,arguments)}),W2=UT("species"),W4=RegExp.prototype,W3=function(e,t,n,r){var o=UT(e),i=!HI(function(){var t={};return t[o]=function(){return 7},7!=""[e](t)}),a=i&&!HI(function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[W2]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t});if(!i||!a||n){var u=HG(/./[o]),s=t(o,""[e],function(e,t,n,r,o){var a=HG(e),s=t.exec;return s===Wc||s===W4.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}});Vo(String.prototype,e,s[0]),Vo(W4,o,s[1])}r&&UW(W4[o],"sham",!0)},W6=UT("match"),W5=Hj.TypeError,W8=UT("species"),W7=HG("".charAt),W9=HG("".charCodeAt),qe=HG("".slice),qt=function(e){return function(t,n){var r,o,i=Vz(H1(t)),a=Vu(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=W9(i,a))<55296||r>56319||a+1===u||(o=W9(i,a+1))<56320||o>57343?e?W7(i,a):r:e?qe(i,a,a+2):o-56320+(r-55296<<10)+65536}},qn=(qt(!1),qt(!0)),qr=function(e,t,n){return t+(n?qn(e,t).length:1)},qo=Hj.Array,qi=Math.max,qa=function(e,t,n){for(var r=Vp(e),o=Vc(t,r),i=Vc(void 0===n?r:n,r),a=qo(qi(i-o,0)),u=0;o<i;o++,u++)Ww(a,u,e[o]);return a.length=u,a},qu=Hj.TypeError,qs=function(e,t){var n=e.exec;if(H4(n)){var r=HL(n,e,t);return null!==r&&U$(r),r}if("RegExp"===HX(e))return HL(Wc,e,t);throw qu("RegExp#exec called on incompatible receiver")},ql=VK.UNSUPPORTED_Y,qc=Math.min,qf=[].push,qd=HG(/./.exec),qp=HG(qf),qh=HG("".slice);W3("split",function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r,o=Vz(H1(this)),i=void 0===n?0xffffffff:n>>>0;if(0===i)return[];if(void 0===e)return[o];if(!H3(e)||!(void 0!==(r=e[W6])?r:"RegExp"==HX(e)))return HL(t,o,e,i);for(var a,u,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,d=RegExp(e.source,c+"g");(a=HL(Wc,d,o))&&!((u=d.lastIndex)>f&&(qp(l,qh(o,f,a.index)),a.length>1&&a.index<o.length&&W1(qf,l,qa(a,1)),s=a[0].length,f=u,l.length>=i));)d.lastIndex===a.index&&d.lastIndex++;return f===o.length?!s&&qd(d,"")||qp(l,""):qp(l,qh(o,f)),l.length>i?qa(l,0,i):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:HL(t,this,e,n)}:t,[function(t,n){var o=H1(this),i=null==t?void 0:Uf(t,e);return i?HL(i,t,o,n):HL(r,Vz(o),t,n)},function(e,o){var i=U$(this),a=Vz(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=(v=RegExp,void 0===(m=U$(i).constructor)||null==(y=U$(m)[W8])?v:function(e){if(Wb(e))return e;throw W5(Us(e)+" is not a constructor")}(y)),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(ql?"g":"y"),f=new s(ql?"^(?:"+i.source+")":i,c),d=void 0===o?0xffffffff:o>>>0;if(0===d)return[];if(0===a.length)return null===qs(f,a)?[a]:[];for(var p=0,h=0,g=[];h<a.length;){f.lastIndex=ql?0:h;var v,y,m,b,w=qs(f,ql?qh(a,h):a);if(null===w||(b=qc(Vd(f.lastIndex+(ql?h:0)),a.length))===p)h=qr(a,h,l);else{if(qp(g,qh(a,p,h)),g.length===d)return g;for(var E=1;E<=w.length-1;E++)if(qp(g,w[E]),g.length===d)return g;h=p=b}}return qp(g,qh(a,p)),g}]},!!HI(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),ql);var qg=" \n\v\f\r \xa0 \u2028\u2029\uFEFF",qv=HG("".replace),qy="["+qg+"]",qm=RegExp("^"+qy+qy+"*"),qb=RegExp(qy+qy+"*$"),qw=function(e){return function(t){var n=Vz(H1(t));return 1&e&&(n=qv(n,qm,"")),2&e&&(n=qv(n,qb,"")),n}},qE={start:qw(1),end:qw(2),trim:qw(3)},qD=Vr.PROPER,qS=qE.trim;function qx(e){return e.length?e[0].tagName.toLowerCase():""}VP({target:"String",proto:!0,forced:(Gs="trim",HI(function(){return!!qg[Gs]()||"\x85"!=="\x85"[Gs]()||qD&&qg[Gs].name!==Gs}))},{trim:function(){return qS(this)}}),VP({global:!0},{globalThis:Hj}),fp&&(c2.fn.append=fp),fe&&(c2.fn.on=fe),fk&&(c2.fn.focus=fk),c5&&(c2.fn.attr=c5),c9&&(c2.fn.val=c9),fc&&(c2.fn.html=fc),c7&&(c2.fn.dataset=c7),c4&&(c2.fn.addClass=c4),c3&&(c2.fn.removeClass=c3),fm&&(c2.fn.children=fm),fs&&(c2.fn.each=fs),fy&&(c2.fn.find=fy);var qC=!1,qO=0,qA=0,qk=null,qT=null,qB=c2("body");function qF(e){qC=!1,qT=null,qk=null,qB.off("mousemove",qP),qB.off("mouseup",qF)}qB.on("mousedown",function(e){var t=e.target;("TH"===t.tagName||"TD"===t.tagName)&&"col-resize"===t.style.cursor&&(t.style.cursor="auto",e.preventDefault(),qC=!0,qO=e.clientX,qA=t.getBoundingClientRect().width,qB.on("mousemove",qP),qB.on("mouseup",qF))});var qP=f4(function(e){if(qC&&null!=qT&&null!=qk){e.preventDefault();var t=e.clientX,n=qA+(t-qO);(n=Math.floor(100*n)/100)<30&&(n=30),l6.setNodes(qT,{width:n.toString()},{at:qk})}},100),q_=WR.filter;VP({target:"Array",proto:!0,forced:!WD("filter")},{filter:function(e){return q_(this,e,arguments.length>1?arguments[1]:void 0)}});var qj=Math.floor,qI=HG("".charAt),qN=HG("".replace),qR=HG("".slice),qL=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,qM=/\$([$&'`]|\d{1,2})/g,qz=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=qM;return void 0!==o&&(o=Um(o),s=qL),qN(i,s,function(i,s){var l;switch(qI(s,0)){case"$":return"$";case"&":return e;case"`":return qR(t,0,n);case"'":return qR(t,a);case"<":l=o[qR(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=qj(c/10);return 0===f?i:f<=u?void 0===r[f-1]?qI(s,1):r[f-1]+qI(s,1):i}l=r[c-1]}return void 0===l?"":l})},q$=UT("replace"),qH=Math.max,qU=Math.min,qV=HG([].concat),qW=HG([].push),qq=HG("".indexOf),qG=HG("".slice),qK="$0"==="a".replace(/./,"$0"),qZ=!!/./[q$]&&""===/./[q$]("a","$0");W3("replace",function(e,t,n){var r=qZ?"$":"$0";return[function(e,n){var r=H1(this),o=null==e?void 0:Uf(e,q$);return o?HL(o,e,r,n):HL(t,Vz(r),e,n)},function(e,o){var i=U$(this),a=Vz(e);if("string"==typeof o&&-1===qq(o,r)&&-1===qq(o,"$<")){var u=n(t,i,a,o);if(u.done)return u.value}var s=H4(o);s||(o=Vz(o));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0}for(var f=[];;){var d=qs(i,a);if(null===d||(qW(f,d),!l))break;""===Vz(d[0])&&(i.lastIndex=qr(a,Vd(i.lastIndex),c))}for(var p,h="",g=0,v=0;v<f.length;v++){for(var y=Vz((d=f[v])[0]),m=qH(qU(Vu(d.index),a.length),0),b=[],w=1;w<d.length;w++)qW(b,void 0===(p=d[w])?p:String(p));var E=d.groups;if(s){var D=qV([y],b,m,a);void 0!==E&&qW(D,E);var S=Vz(W1(o,void 0,D))}else S=qz(y,a,m,b,E,o);m>=g&&(h+=qG(a,g,m)+S,g=m+y.length)}return h+qG(a,g)}]},!!HI(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!qK||qZ);var qX=function(){function e(){this.title=O_("tableModule.insertTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64v896h1024V64H0z m384 576v-192h256v192h-256z m256 64v192h-256v-192h256z m0-512v192h-256V192h256zM320 192v192H64V192h256z m-256 256h256v192H64v-192z m640 0h256v192h-256v-192z m0-64V192h256v192h-256zM64 704h256v192H64v-192z m640 192v-192h256v192h-256z"></path></svg>',this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!lj.isCollapsed(t)||!!Dn.getSelectedElems(e).some(function(t){var n=Dn.getNodeType(t);return"pre"===n||"table"===n||"list-item"===n||!!e.isVoid(t)})},e.prototype.getPanelContentElem=function(e){var t=this;if(this.$content)return this.$content[0];for(var n=c2('<div class="w-e-panel-content-table"></div>'),r=c2("<span>0 × 0</span>"),o=c2("<table></table>"),i=0;i<10;i++){for(var a=c2("<tr></tr>"),u=0;u<10;u++){var s=c2("<td></td>");s.attr("data-x",u.toString()),s.attr("data-y",i.toString()),a.append(s),s.on("mouseenter",function(e){var t=e.target;if(null!=t){var n=c2(t).dataset(),i=n.x,a=n.y;r[0].innerHTML=i+1+" × "+(a+1),o.children().each(function(e){c2(e).children().each(function(e){var t=c2(e),n=t.dataset(),r=n.x,o=n.y;r<=i&&o<=a?t.addClass("active"):t.removeClass("active")})})}}),s.on("click",function(n){n.preventDefault();var r=n.target;if(null!=r){var o=c2(r).dataset(),i=o.x,a=o.y;t.insertTable(e,a+1,i+1)}})}o.append(a)}return n.append(o),n.append(r),this.$content=n,n[0]},e.prototype.insertTable=function(e,t,n){var r=parseInt(t,10),o=parseInt(n,10);if(r&&o&&!(r<=0||o<=0)){Dn.isSelectedEmptyParagraph(e)&&l6.removeNodes(e,{mode:"highest"});var i=function(e,t){for(var n=[],r=0;r<e;r++){for(var o=[],i=0;i<t;i++){var a={type:"table-cell",children:[{text:""}]};0===r&&(a.isHeader=!0),o.push(a)}n.push({type:"table-row",children:o})}return{type:"table",width:"auto",children:n}}(r,o);l6.insertNodes(e,i,{mode:"highest"})}},e}(),qY=function(){function e(){this.title=O_("tableModule.deleteTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||null==Dn.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){this.isDisabled(e)||l6.removeNodes(e,{mode:"highest"})},e}(),qJ=function(){function e(){this.title=O_("tableModule.insertRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M707.7888 521.0112h-147.456v-147.456H488.2432v147.456h-147.456v68.8128h147.456v147.456h72.0896v-147.456h147.456zM0 917.504V0h1048.576v917.504H0zM327.68 65.536H65.536v196.608H327.68V65.536z m327.68 0H393.216v196.608h262.144V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 258.8672H65.536v462.0288H983.04V324.4032z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!lj.isCollapsed(t)||null==Dn.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=Wk(ly.nodes(e,{match:function(e){return Dn.checkNodeType(e,"table-cell")},universal:!0}),1),r=Wk(n[0],2),o=r[0],i=r[1],a=Dn.getParentNode(e,o),u=(null==a?void 0:a.children.length)||0;if(0!==u){for(var s={type:"table-row",children:[]},l=0;l<u;l++)s.children.push({type:"table-cell",children:[{text:""}]});var c=lO.parent(i),f=lO.next(c);l6.insertNodes(e,s,{at:f})}}},e}(),qQ=function(){function e(){this.title=O_("tableModule.deleteRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M907.6736 586.5472L747.1104 425.984l163.84-163.84-78.6432-78.6432-163.84 163.84L507.904 186.7776 429.2608 262.144l163.84 163.84-167.1168 167.1168 78.6432 78.6432 167.1168-167.1168 160.5632 160.5632 75.3664-78.6432zM0 917.504V0h1048.576v917.504H0z m983.04-327.68h-22.9376l-65.536-65.536H983.04V327.68h-91.7504l65.536-65.536h26.2144V65.536H65.536v196.608h317.8496l65.536 65.536H65.536v196.608h380.1088l-65.536 65.536H65.536v196.608H983.04v-196.608z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!lj.isCollapsed(t)||null==Dn.getSelectedNodeByType(e,"table-row")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=Wk(ly.nodes(e,{match:function(e){return Dn.checkNodeType(e,"table-row")},universal:!0}),1),r=Wk(n[0],2),o=r[0],i=r[1],a=Dn.getParentNode(e,o);1>=((null==a?void 0:a.children.length)||0)?l6.removeNodes(e,{mode:"highest"}):l6.removeNodes(e,{at:i})}},e}(),q0={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},q1=UI("span").classList,q2=q1&&q1.constructor&&q1.constructor.prototype,q4=q2===Object.prototype?void 0:q2,q3=WR.forEach,q6=(Gl=[].forEach)&&HI(function(){Gl.call(null,function(){throw 1},1)})?[].forEach:function(e){return q3(this,e,arguments.length>1?arguments[1]:void 0)},q5=function(e){if(e&&e.forEach!==q6)try{UW(e,"forEach",q6)}catch(t){e.forEach=q6}};for(var q8 in q0)q0[q8]&&q5(Hj[q8]&&Hj[q8].prototype);q5(q4);var q7=function(){function e(){this.title=O_("tableModule.insertCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 193.3312v186.7776H140.9024v91.7504H327.68v186.7776h88.4736V471.8592h190.0544V380.1088H416.1536V193.3312zM0 917.504V0h1048.576v917.504H0zM655.36 65.536H65.536v720.896H655.36V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 262.144h-262.144v196.608h262.144V327.68z m0 262.144h-262.144v196.608h262.144v-196.608z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!lj.isCollapsed(t)||null==Dn.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=Wk(ly.nodes(e,{match:function(e){return Dn.checkNodeType(e,"table-cell")},universal:!0}),1),r=Wk(n[0],2),o=r[0],i=r[1],a=Dn.getParentNode(e,o);if(null!=a){var u=Dn.getParentNode(e,a);null!=u&&(u.children||[]).forEach(function(t,n){lf.isElement(t)&&(t.children||[]).forEach(function(t){var r=Dn.findPath(e,t);if(r.length===i.length&&Hk(r.slice(-1),i.slice(-1))){var o={type:"table-cell",children:[{text:""}]};0===n&&Wz(u)&&(o.isHeader=!0),l6.insertNodes(e,o,{at:r})}})})}}},e}(),q9=function(){function e(){this.title=O_("tableModule.deleteCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 510.976L393.216 445.44v-13.1072L327.68 366.7968V510.976z m327.68-78.4384l65.536-65.536V507.904L655.36 442.368v-9.8304z m393.216 484.9664V0H0v917.504h1048.576z m-65.536-131.072h-262.144v-52.4288l-13.1072 13.1072-52.4288-52.4288v91.7504H393.216v-91.7504l-52.4288 52.4288-13.1072-13.1072v52.4288H65.536V65.536H327.68v121.2416l36.0448-36.0448 29.4912 29.4912V62.2592h262.144V180.224l49.152-49.152 16.384 16.384V62.2592h262.144V786.432z m-294.912-108.1344l-160.5632-160.5632-167.1168 167.1168-78.6432-78.6432 167.1168-167.1168L288.3584 278.528l78.6432-78.6432 160.5632 160.5632 163.84-163.84 78.6432 78.6432-163.84 163.84 160.5632 160.5632-78.6432 78.6432z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!lj.isCollapsed(t)||null==Dn.getSelectedNodeByType(e,"table-cell")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=Wk(ly.nodes(e,{match:function(e){return Dn.checkNodeType(e,"table-cell")},universal:!0}),1),r=Wk(n[0],2),o=r[0],i=r[1],a=Dn.getParentNode(e,o),u=(null==a?void 0:a.children.length)||0;if(!a||u<=1)l6.removeNodes(e,{mode:"highest"});else{var s=Dn.getParentNode(e,a);null!=s&&(s.children||[]).forEach(function(t){lf.isElement(t)&&(t.children||[]).forEach(function(t){var n=Dn.findPath(e,t);n.length===i.length&&Hk(n.slice(-1),i.slice(-1))&&l6.removeNodes(e,{at:n})})})}}},e}(),Ge=function(){function e(){this.title=O_("tableModule.header"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M704 128l-64 0L384 128 320 128 0 128l0 256 0 64 0 192 0 64 0 256 320 0 64 0 256 0 64 0 320 0 0-256 0-64L1024 448 1024 384 1024 128 704 128zM640 640 384 640 384 448l256 0L640 640zM64 448l256 0 0 192L64 640 64 448zM320 896 64 896l0-192 256 0L320 896zM640 896 384 896l0-192 256 0L640 896zM960 896l-256 0 0-192 256 0L960 896zM960 640l-256 0L704 448l256 0L960 640z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){var t=Dn.getSelectedNodeByType(e,"table");return null!=t&&Wz(t)},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!lj.isCollapsed(t)||null==Dn.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=!t,r=Dn.getSelectedNodeByType(e,"table");null!=r&&WM(r).forEach(function(t){return l6.setNodes(e,{isHeader:n},{at:Dn.findPath(e,t)})})}},e}(),Gt=function(){function e(){this.title=O_("tableModule.widthAuto"),this.iconSvg='<svg viewBox="0 0 1228 1024"><path d="M862.514337 563.200461H404.581995v121.753478a13.311987 13.311987 0 0 1-6.655993 11.468789 10.23999 10.23999 0 0 1-12.083188-1.433599l-204.799795-179.199821a13.721586 13.721586 0 0 1 0-20.479979l204.799795-179.302221a10.23999 10.23999 0 0 1 12.185588-1.535998 13.209587 13.209587 0 0 1 6.553593 11.673588v115.097485h457.932342V319.693504a11.571188 11.571188 0 0 1 18.841582-10.239989l204.799795 179.19982a13.721586 13.721586 0 0 1 0 20.47998l-204.799795 179.199821a10.23999 10.23999 0 0 1-12.185588 1.535998 13.311987 13.311987 0 0 1-6.655994-11.571188V563.200461zM136.499064 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785H15.155185A15.155185 15.155185 0 0 1 0 1008.844815V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086294a15.155185 15.155185 0 0 1 15.257585 15.155185zM1228.798771 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785h-106.188693a15.155185 15.155185 0 0 1-15.155185-15.052785V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086293A15.155185 15.155185 0 0 1 1228.798771 15.053809z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){var t=Dn.getSelectedNodeByType(e,"table");return null!=t&&"100%"===t.width},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!lj.isCollapsed(t)||null==Dn.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){this.isDisabled(e)||l6.setNodes(e,{width:t?"auto":"100%"},{mode:"highest"})},e}();OF("en",{videoModule:{delete:"Delete",uploadVideo:"Upload video",insertVideo:"Insert video",videoSrc:"Video source",videoSrcPlaceHolder:"Video file url, or third-party <iframe>",videoPoster:"Video poster",videoPosterPlaceHolder:"Poster image url",ok:"Ok",editSize:"Edit size",width:"Width",height:"Height"}}),OF("zh-CN",{videoModule:{delete:"删除视频",uploadVideo:"上传视频",insertVideo:"插入视频",videoSrc:"视频地址",videoSrcPlaceHolder:"视频文件 url 或第三方 <iframe>",videoPoster:"视频封面",videoPosterPlaceHolder:"封面图片 url",ok:"确定",editSize:"修改尺寸",width:"宽度",height:"高度"}});var Gn=function(){return(Gn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Gr(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,u)}s((r=r.apply(e,t||[])).next())})}function Go(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){var s=[i,u];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}function Gi(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}var Ga="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function Gu(e){var t={exports:{}};return e(t,t.exports),t.exports}var Gs,Gl,Gc,Gf,Gd=function(e){return e&&e.Math==Math&&e},Gp=Gd("object"==typeof globalThis&&globalThis)||Gd("object"==typeof window&&window)||Gd("object"==typeof self&&self)||Gd("object"==typeof Ga&&Ga)||function(){return this}()||Function("return this")(),Gh=function(e){try{return!!e()}catch(e){return!0}},Gg=!Gh(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),Gv=Function.prototype.call,Gy=Gv.bind?Gv.bind(Gv):function(){return Gv.apply(Gv,arguments)},Gm={}.propertyIsEnumerable,Gb=Object.getOwnPropertyDescriptor,Gw={f:Gb&&!Gm.call({1:2},1)?function(e){var t=Gb(this,e);return!!t&&t.enumerable}:Gm},GE=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},GD=Function.prototype,GS=GD.bind,Gx=GD.call,GC=GS&&GS.bind(Gx),GO=GS?function(e){return e&&GC(Gx,e)}:function(e){return e&&function(){return Gx.apply(e,arguments)}},GA=GO({}.toString),Gk=GO("".slice),GT=function(e){return Gk(GA(e),8,-1)},GB=Gp.Object,GF=GO("".split),GP=Gh(function(){return!GB("z").propertyIsEnumerable(0)})?function(e){return"String"==GT(e)?GF(e,""):GB(e)}:GB,G_=Gp.TypeError,Gj=function(e){if(null==e)throw G_("Can't call method on "+e);return e},GI=function(e){return GP(Gj(e))},GN=function(e){return"function"==typeof e},GR=function(e){return"object"==typeof e?null!==e:GN(e)},GL=function(e,t){var n;return arguments.length<2?GN(n=Gp[e])?n:void 0:Gp[e]&&Gp[e][t]},GM=GO({}.isPrototypeOf),Gz=GL("navigator","userAgent")||"",G$=Gp.process,GH=Gp.Deno,GU=G$&&G$.versions||GH&&GH.version,GV=GU&&GU.v8;GV&&(Gf=(Gc=GV.split("."))[0]>0&&Gc[0]<4?1:+(Gc[0]+Gc[1])),!Gf&&Gz&&(!(Gc=Gz.match(/Edge\/(\d+)/))||Gc[1]>=74)&&(Gc=Gz.match(/Chrome\/(\d+)/))&&(Gf=+Gc[1]);var GW=Gf,Gq=!!Object.getOwnPropertySymbols&&!Gh(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&GW&&GW<41}),GG=Gq&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,GK=Gp.Object,GZ=GG?function(e){return"symbol"==typeof e}:function(e){var t=GL("Symbol");return GN(t)&&GM(t.prototype,GK(e))},GX=Gp.String,GY=function(e){try{return GX(e)}catch(e){return"Object"}},GJ=Gp.TypeError,GQ=function(e){if(GN(e))return e;throw GJ(GY(e)+" is not a function")},G0=function(e,t){var n=e[t];return null==n?void 0:GQ(n)},G1=Gp.TypeError,G2=Object.defineProperty,G4=function(e,t){try{G2(Gp,e,{value:t,configurable:!0,writable:!0})}catch(n){Gp[e]=t}return t},G3=Gp["__core-js_shared__"]||G4("__core-js_shared__",{}),G6=Gu(function(e){(e.exports=function(e,t){return G3[e]||(G3[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})}),G5=Gp.Object,G8=function(e){return G5(Gj(e))},G7=GO({}.hasOwnProperty),G9=Object.hasOwn||function(e,t){return G7(G8(e),t)},Ke=0,Kt=Math.random(),Kn=GO(1..toString),Kr=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Kn(++Ke+Kt,36)},Ko=G6("wks"),Ki=Gp.Symbol,Ka=Ki&&Ki.for,Ku=GG?Ki:Ki&&Ki.withoutSetter||Kr,Ks=function(e){if(!G9(Ko,e)||!Gq&&"string"!=typeof Ko[e]){var t="Symbol."+e;Gq&&G9(Ki,e)?Ko[e]=Ki[e]:Ko[e]=GG&&Ka?Ka(t):Ku(t)}return Ko[e]},Kl=Gp.TypeError,Kc=Ks("toPrimitive"),Kf=function(e){var t=function(e,t){if(!GR(e)||GZ(e))return e;var n,r=G0(e,Kc);if(r){if(void 0===t&&(t="default"),!GR(n=Gy(r,e,t))||GZ(n))return n;throw Kl("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&GN(n=e.toString)&&!GR(r=Gy(n,e))||GN(n=e.valueOf)&&!GR(r=Gy(n,e))||"string"!==t&&GN(n=e.toString)&&!GR(r=Gy(n,e)))return r;throw G1("Can't convert object to primitive value")}(e,t)}(e,"string");return GZ(t)?t:t+""},Kd=Gp.document,Kp=GR(Kd)&&GR(Kd.createElement),Kh=function(e){return Kp?Kd.createElement(e):{}},Kg=!Gg&&!Gh(function(){return 7!=Object.defineProperty(Kh("div"),"a",{get:function(){return 7}}).a}),Kv=Object.getOwnPropertyDescriptor,Ky={f:Gg?Kv:function(e,t){if(e=GI(e),t=Kf(t),Kg)try{return Kv(e,t)}catch(e){}if(G9(e,t))return GE(!Gy(Gw.f,e,t),e[t])}},Km=Gp.String,Kb=Gp.TypeError,Kw=function(e){if(GR(e))return e;throw Kb(Km(e)+" is not an object")},KE=Gp.TypeError,KD=Object.defineProperty,KS={f:Gg?KD:function(e,t,n){if(Kw(e),t=Kf(t),Kw(n),Kg)try{return KD(e,t,n)}catch(e){}if("get"in n||"set"in n)throw KE("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Kx=Gg?function(e,t,n){return KS.f(e,t,GE(1,n))}:function(e,t,n){return e[t]=n,e},KC=GO(Function.toString);GN(G3.inspectSource)||(G3.inspectSource=function(e){return KC(e)});var KO,KA,Kk,KT=G3.inspectSource,KB=Gp.WeakMap,KF=GN(KB)&&/native code/.test(KT(KB)),KP=G6("keys"),K_=function(e){return KP[e]||(KP[e]=Kr(e))},Kj={},KI=Gp.TypeError,KN=Gp.WeakMap;if(KF||G3.state){var KR=G3.state||(G3.state=new KN),KL=GO(KR.get),KM=GO(KR.has),Kz=GO(KR.set);KO=function(e,t){if(KM(KR,e))throw new KI("Object already initialized");return t.facade=e,Kz(KR,e,t),t},KA=function(e){return KL(KR,e)||{}},Kk=function(e){return KM(KR,e)}}else{var K$=K_("state");Kj[K$]=!0,KO=function(e,t){if(G9(e,K$))throw new KI("Object already initialized");return t.facade=e,Kx(e,K$,t),t},KA=function(e){return G9(e,K$)?e[K$]:{}},Kk=function(e){return G9(e,K$)}}var KH=KO,KU=KA,KV=function(e){return Kk(e)?KA(e):KO(e,{})},KW=function(e){return function(t){var n;if(!GR(t)||(n=KA(t)).type!==e)throw KI("Incompatible receiver, "+e+" required");return n}},Kq=Function.prototype,KG=Gg&&Object.getOwnPropertyDescriptor,KK=G9(Kq,"name"),KZ={EXISTS:KK,PROPER:KK&&"something"===(function(){}).name,CONFIGURABLE:KK&&(!Gg||Gg&&KG(Kq,"name").configurable)},KX=Gu(function(e){var t=KZ.CONFIGURABLE,n=String(String).split("String");(e.exports=function(e,r,o,i){var a,u=!!i&&!!i.unsafe,s=!!i&&!!i.enumerable,l=!!i&&!!i.noTargetGet,c=i&&void 0!==i.name?i.name:r;GN(o)&&("Symbol("===String(c).slice(0,7)&&(c="["+String(c).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!G9(o,"name")||t&&o.name!==c)&&Kx(o,"name",c),(a=KV(o)).source||(a.source=n.join("string"==typeof c?c:""))),e!==Gp?(u?!l&&e[r]&&(s=!0):delete e[r],s?e[r]=o:Kx(e,r,o)):s?e[r]=o:G4(r,o)})(Function.prototype,"toString",function(){return GN(this)&&KU(this).source||KT(this)})}),KY=Math.ceil,KJ=Math.floor,KQ=function(e){var t=+e;return t!=t||0===t?0:(t>0?KJ:KY)(t)},K0=Math.max,K1=Math.min,K2=function(e,t){var n=KQ(e);return n<0?K0(n+t,0):K1(n,t)},K4=Math.min,K3=function(e){return e>0?K4(KQ(e),0x1fffffffffffff):0},K6=function(e){return K3(e.length)},K5=function(e){return function(t,n,r){var o,i=GI(t),a=K6(i),u=K2(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},K8={includes:K5(!0),indexOf:K5(!1)},K7=K8.indexOf,K9=GO([].push),Ze=function(e,t){var n,r=GI(e),o=0,i=[];for(n in r)!G9(Kj,n)&&G9(r,n)&&K9(i,n);for(;t.length>o;)G9(r,n=t[o++])&&(~K7(i,n)||K9(i,n));return i},Zt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Zn=Zt.concat("length","prototype"),Zr={f:Object.getOwnPropertyNames||function(e){return Ze(e,Zn)}},Zo={f:Object.getOwnPropertySymbols},Zi=GO([].concat),Za=GL("Reflect","ownKeys")||function(e){var t=Zr.f(Kw(e)),n=Zo.f;return n?Zi(t,n(e)):t},Zu=function(e,t){for(var n=Za(t),r=KS.f,o=Ky.f,i=0;i<n.length;i++){var a=n[i];G9(e,a)||r(e,a,o(t,a))}},Zs=/#|\.prototype\./,Zl=function(e,t){var n=Zf[Zc(e)];return n==Zp||n!=Zd&&(GN(t)?Gh(t):!!t)},Zc=Zl.normalize=function(e){return String(e).replace(Zs,".").toLowerCase()},Zf=Zl.data={},Zd=Zl.NATIVE="N",Zp=Zl.POLYFILL="P",Zh=Ky.f,Zg=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?Gp:l?Gp[u]||G4(u,{}):(Gp[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Zh(n,r))&&a.value:n[r],!Zl(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Zu(i,o)}(e.sham||o&&o.sham)&&Kx(i,"sham",!0),KX(n,r,i,e)}},Zv={};Zv[Ks("toStringTag")]="z";var Zy="[object z]"===String(Zv),Zm=Ks("toStringTag"),Zb=Gp.Object,Zw="Arguments"==GT(function(){return arguments}()),ZE=Zy?GT:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Zb(e),Zm))?n:Zw?GT(t):"Object"==(r=GT(t))&&GN(t.callee)?"Arguments":r},ZD=Gp.String,ZS=function(e){if("Symbol"===ZE(e))throw TypeError("Cannot convert a Symbol value to a string");return ZD(e)},Zx=" \n\v\f\r \xa0 \u2028\u2029\uFEFF",ZC=GO("".replace),ZO="["+Zx+"]",ZA=RegExp("^"+ZO+ZO+"*"),Zk=RegExp(ZO+ZO+"*$"),ZT=function(e){return function(t){var n=ZS(Gj(t));return 1&e&&(n=ZC(n,ZA,"")),2&e&&(n=ZC(n,Zk,"")),n}},ZB={start:ZT(1),end:ZT(2),trim:ZT(3)},ZF=KZ.PROPER,ZP=ZB.trim;function Z_(e){return e.length?e[0].tagName.toLowerCase():""}function Zj(e,t,n){void 0===t&&(t="auto"),void 0===n&&(n="auto");var r=c2(e);return r.attr("width",t),r.attr("height",n),r[0].outerHTML}Zg({target:"String",proto:!0,forced:Gh(function(){return!!Zx.trim()||"\x85"!=="\x85".trim()||ZF&&"trim"!==Zx.trim.name})},{trim:function(){return ZP(this)}}),Zg({global:!0},{globalThis:Gp}),fp&&(c2.fn.append=fp),fe&&(c2.fn.on=fe),fk&&(c2.fn.focus=fk),c5&&(c2.fn.attr=c5),c9&&(c2.fn.val=c9),fc&&(c2.fn.html=fc),fg&&(c2.fn.parent=fg),c6&&(c2.fn.hasClass=c6),fw&&(c2.fn.empty=fw);var ZI,ZN=Object.keys||function(e){return Ze(e,Zt)},ZR=Gg?Object.defineProperties:function(e,t){Kw(e);for(var n,r=GI(t),o=ZN(t),i=o.length,a=0;i>a;)KS.f(e,n=o[a++],r[n]);return e},ZL=GL("document","documentElement"),ZM=K_("IE_PROTO"),Zz=function(){},Z$=function(e){return"<script>"+e+"<\/script>"},ZH=function(e){e.write(Z$("")),e.close();var t=e.parentWindow.Object;return e=null,t},ZU=function(){try{ZI=new ActiveXObject("htmlfile")}catch(e){}ZU="undefined"!=typeof document?document.domain&&ZI?ZH(ZI):((t=Kh("iframe")).style.display="none",ZL.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Z$("document.F=Object")),e.close(),e.F):ZH(ZI);for(var e,t,n=Zt.length;n--;)delete ZU.prototype[Zt[n]];return ZU()};Kj[ZM]=!0;var ZV=Object.create||function(e,t){var n;return null!==e?(Zz.prototype=Kw(e),n=new Zz,Zz.prototype=null,n[ZM]=e):n=ZU(),void 0===t?n:ZR(n,t)},ZW=Ks("unscopables"),Zq=Array.prototype;null==Zq[ZW]&&KS.f(Zq,ZW,{configurable:!0,value:ZV(null)});var ZG=function(e){Zq[ZW][e]=!0},ZK=K8.includes;Zg({target:"Array",proto:!0},{includes:function(e){return ZK(this,e,arguments.length>1?arguments[1]:void 0)}}),ZG("includes");var ZZ=GO(GO.bind),ZX=function(e,t){return GQ(e),void 0===t?e:ZZ?ZZ(e,t):function(){return e.apply(t,arguments)}},ZY=Array.isArray||function(e){return"Array"==GT(e)},ZJ=function(){},ZQ=[],Z0=GL("Reflect","construct"),Z1=/^\s*(?:class|function)\b/,Z2=GO(Z1.exec),Z4=!Z1.exec(ZJ),Z3=function(e){if(!GN(e))return!1;try{return Z0(ZJ,ZQ,e),!0}catch(e){return!1}},Z6=!Z0||Gh(function(){var e;return Z3(Z3.call)||!Z3(Object)||!Z3(function(){e=!0})||e})?function(e){if(!GN(e))return!1;switch(ZE(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Z4||!!Z2(Z1,KT(e))}:Z3,Z5=Ks("species"),Z8=Gp.Array,Z7=function(e,t){var n;return new(ZY(e)&&(Z6(n=e.constructor)&&(n===Z8||ZY(n.prototype))||GR(n)&&null===(n=n[Z5]))&&(n=void 0),void 0===n?Z8:n)(0===t?0:t)},Z9=GO([].push),Xe=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=G8(s),g=GP(h),v=ZX(l,c),y=K6(g),m=0,b=f||Z7,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:Z9(w,d)}else switch(e){case 4:return!1;case 7:Z9(w,d)}return i?-1:r||o?o:w}},Xt={forEach:Xe(0),map:Xe(1),filter:Xe(2),some:Xe(3),every:Xe(4),find:Xe(5),findIndex:Xe(6),filterReject:Xe(7)},Xn=Xt.find,Xr=!0;function Xo(e,t,n,r){return void 0===t&&(t=""),void 0===n&&(n="auto"),void 0===r&&(r="auto"),{type:"video",src:e,poster:t,width:n,height:r,children:[{text:""}]}}"find"in[]&&[,].find(function(){Xr=!1}),Zg({target:"Array",proto:!0,forced:Xr},{find:function(e){return Xn(this,e,arguments.length>1?arguments[1]:void 0)}}),ZG("find"),Zy||KX(Object.prototype,"toString",Zy?({}).toString:function(){return"[object "+ZE(this)+"]"},{unsafe:!0});var Xi,Xa,Xu=function(){var e=Kw(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Xs=Gp.RegExp,Xl=Gh(function(){var e=Xs("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),Xc=Xl||Gh(function(){return!Xs("a","y").sticky}),Xf={BROKEN_CARET:Xl||Gh(function(){var e=Xs("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),MISSED_STICKY:Xc,UNSUPPORTED_Y:Xl},Xd=Gp.RegExp,Xp=Gh(function(){var e=Xd(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),Xh=Gp.RegExp,Xg=Gh(function(){var e=Xh("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),Xv=G6("native-string-replace",String.prototype.replace),Xy=RegExp.prototype.exec,Xm=Xy,Xb=GO("".charAt),Xw=GO("".indexOf),XE=GO("".replace),XD=GO("".slice),XS=(Xa=/b*/g,Gy(Xy,Xi=/a/,"a"),Gy(Xy,Xa,"a"),0!==Xi.lastIndex||0!==Xa.lastIndex),Xx=Xf.BROKEN_CARET,XC=void 0!==/()??/.exec("")[1];(XS||XC||Xx||Xp||Xg)&&(Xm=function(e){var t,n,r,o,i,a,u,s=KU(this),l=ZS(e),c=s.raw;if(c)return c.lastIndex=this.lastIndex,t=Gy(Xm,c,l),this.lastIndex=c.lastIndex,t;var f=s.groups,d=Xx&&this.sticky,p=Gy(Xu,this),h=this.source,g=0,v=l;if(d&&(-1===Xw(p=XE(p,"y",""),"g")&&(p+="g"),v=XD(l,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==Xb(l,this.lastIndex-1))&&(h="(?: "+h+")",v=" "+v,g++),n=RegExp("^(?:"+h+")",p)),XC&&(n=RegExp("^"+h+"$(?!\\s)",p)),XS&&(r=this.lastIndex),o=Gy(Xy,d?n:this,v),d?o?(o.input=XD(o.input,g),o[0]=XD(o[0],g),o.index=this.lastIndex,this.lastIndex+=o[0].length):this.lastIndex=0:XS&&o&&(this.lastIndex=this.global?o.index+o[0].length:r),XC&&o&&o.length>1&&Gy(Xv,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)}),o&&f)for(o.groups=a=ZV(null),i=0;i<f.length;i++)a[(u=f[i])[0]]=o[u[1]];return o});var XO=Xm;Zg({target:"RegExp",proto:!0,forced:/./.exec!==XO},{exec:XO});var XA=Function.prototype,Xk=XA.apply,XT=XA.bind,XB=XA.call,XF="object"==typeof Reflect&&Reflect.apply||(XT?XB.bind(Xk):function(){return XB.apply(Xk,arguments)}),XP=(Ks("species"),RegExp.prototype),X_=GO("".charAt),Xj=GO("".charCodeAt),XI=GO("".slice),XN=function(e){return function(t,n){var r,o,i=ZS(Gj(t)),a=KQ(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=Xj(i,a))<55296||r>56319||a+1===u||(o=Xj(i,a+1))<56320||o>57343?e?X_(i,a):r:e?XI(i,a,a+2):o-56320+(r-55296<<10)+65536}},XR={codeAt:XN(!1),charAt:XN(!0)},XL=XR.charAt,XM=Math.floor,Xz=GO("".charAt),X$=GO("".replace),XH=GO("".slice),XU=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,XV=/\$([$&'`]|\d{1,2})/g,XW=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=XV;return void 0!==o&&(o=G8(o),s=XU),X$(i,s,function(i,s){var l;switch(Xz(s,0)){case"$":return"$";case"&":return e;case"`":return XH(t,0,n);case"'":return XH(t,a);case"<":l=o[XH(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=XM(c/10);return 0===f?i:f<=u?void 0===r[f-1]?Xz(s,1):r[f-1]+Xz(s,1):i}l=r[c-1]}return void 0===l?"":l})},Xq=Gp.TypeError,XG=function(e,t){var n=e.exec;if(GN(n)){var r=Gy(n,e,t);return null!==r&&Kw(r),r}if("RegExp"===GT(e))return Gy(XO,e,t);throw Xq("RegExp#exec called on incompatible receiver")},XK=Ks("replace"),XZ=Math.max,XX=Math.min,XY=GO([].concat),XJ=GO([].push),XQ=GO("".indexOf),X0=GO("".slice),X1="$0"==="a".replace(/./,"$0"),X2=!!/./[XK]&&""===/./[XK]("a","$0");function X4(e){return void 0===e&&(e="r"),e+"-"+fH()}!function(e,t,n,r){var o=Ks(e),i=!Gh(function(){var t={};return t[o]=function(){return 7},7!=""[e](t)}),a=i&&!Gh(function(){var e=!1,t=/a/;return t.exec=function(){return e=!0,null},t[o](""),!e});if(!i||!a||n){var u,s,l,c=GO(/./[o]),f=(u=""[e],s=function(e,t,n,r,o){var a=GO(e),u=t.exec;return u===XO||u===XP.exec?i&&!o?{done:!0,value:c(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}},l=X2?"$":"$0",[function(e,t){var n=Gj(this),r=null==e?void 0:G0(e,XK);return r?Gy(r,e,n,t):Gy(u,ZS(n),e,t)},function(e,t){var n=Kw(this),r=ZS(e);if("string"==typeof t&&-1===XQ(t,l)&&-1===XQ(t,"$<")){var o=s(u,n,r,t);if(o.done)return o.value}var i=GN(t);i||(t=ZS(t));var a=n.global;if(a){var c=n.unicode;n.lastIndex=0}for(var f=[];;){var d,p=XG(n,r);if(null===p||(XJ(f,p),!a))break;""===ZS(p[0])&&(d=K3(n.lastIndex),n.lastIndex=d+(c?XL(r,d).length:1))}for(var h,g="",v=0,y=0;y<f.length;y++){for(var m=ZS((p=f[y])[0]),b=XZ(XX(KQ(p.index),r.length),0),w=[],E=1;E<p.length;E++)XJ(w,void 0===(h=p[E])?h:String(h));var D=p.groups;if(i){var S=XY([m],w,b,r);void 0!==D&&XJ(S,D);var x=ZS(XF(t,void 0,S))}else x=XW(m,r,b,w,D,t);b>=v&&(g+=X0(r,v,b)+x,v=b+m.length)}return g+X0(r,v)}]);KX(String.prototype,e,f[0]),KX(XP,o,f[1])}}("replace",0,!!Gh(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!X1||X2);var X3=Gp.Promise,X6=function(e,t,n){for(var r in t)KX(e,r,t[r],n);return e},X5=Gp.String,X8=Gp.TypeError,X7=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=GO(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Kw(n),function(e){if(!("object"==typeof e||GN(e)))throw X8("Can't set "+X5(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),X9=KS.f,Ye=Ks("toStringTag"),Yt=function(e,t,n){e&&!G9(e=n?e:e.prototype,Ye)&&X9(e,Ye,{configurable:!0,value:t})},Yn=Ks("species"),Yr=Gp.TypeError,Yo=function(e,t){if(GM(t,e))return e;throw Yr("Incorrect invocation")},Yi={},Ya=Ks("iterator"),Yu=Array.prototype,Ys=Ks("iterator"),Yl=function(e){if(null!=e)return G0(e,Ys)||G0(e,"@@iterator")||Yi[ZE(e)]},Yc=Gp.TypeError,Yf=function(e,t,n){var r,o;Kw(e);try{if(!(r=G0(e,"return"))){if("throw"===t)throw n;return n}r=Gy(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return Kw(r),n},Yd=Gp.TypeError,Yp=function(e,t){this.stopped=e,this.result=t},Yh=Yp.prototype,Yg=function(e,t,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=ZX(t,c),g=function(e){return r&&Yf(r,"normal",e),new Yp(!0,e)},v=function(e){return f?(Kw(e),p?h(e[0],e[1],g):h(e[0],e[1])):p?h(e,g):h(e)};if(d)r=e;else{if(!(o=Yl(e)))throw Yd(GY(e)+" is not iterable");if(void 0!==o&&(Yi.Array===o||Yu[Ya]===o)){for(i=0,a=K6(e);a>i;i++)if((u=v(e[i]))&&GM(Yh,u))return u;return new Yp(!1)}r=function(e,t){var n=arguments.length<2?Yl(e):t;if(GQ(n))return Kw(Gy(n,e));throw Yc(GY(e)+" is not iterable")}(e,o)}for(s=r.next;!(l=Gy(s,r)).done;){try{u=v(l.value)}catch(e){Yf(r,"throw",e)}if("object"==typeof u&&u&&GM(Yh,u))return u}return new Yp(!1)},Yv=Ks("iterator"),Yy=!1;try{var Ym=0,Yb={next:function(){return{done:!!Ym++}},return:function(){Yy=!0}};Yb[Yv]=function(){return this},Array.from(Yb,function(){throw 2})}catch(e){}var Yw,YE,YD,YS,Yx=function(e,t){if(!t&&!Yy)return!1;var n=!1;try{var r={};r[Yv]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},YC=Gp.TypeError,YO=Ks("species"),YA=GO([].slice),Yk=/(?:ipad|iphone|ipod).*applewebkit/i.test(Gz),YT="process"==GT(Gp.process),YB=Gp.setImmediate,YF=Gp.clearImmediate,YP=Gp.process,Y_=Gp.Dispatch,Yj=Gp.Function,YI=Gp.MessageChannel,YN=Gp.String,YR=0,YL={};try{Yw=Gp.location}catch(e){}var YM=function(e){if(G9(YL,e)){var t=YL[e];delete YL[e],t()}},Yz=function(e){return function(){YM(e)}},Y$=function(e){YM(e.data)},YH=function(e){Gp.postMessage(YN(e),Yw.protocol+"//"+Yw.host)};YB&&YF||(YB=function(e){var t=YA(arguments,1);return YL[++YR]=function(){XF(GN(e)?e:Yj(e),void 0,t)},YE(YR),YR},YF=function(e){delete YL[e]},YT?YE=function(e){YP.nextTick(Yz(e))}:Y_&&Y_.now?YE=function(e){Y_.now(Yz(e))}:YI&&!Yk?(YS=(YD=new YI).port2,YD.port1.onmessage=Y$,YE=ZX(YS.postMessage,YS)):Gp.addEventListener&&GN(Gp.postMessage)&&!Gp.importScripts&&Yw&&"file:"!==Yw.protocol&&!Gh(YH)?(YE=YH,Gp.addEventListener("message",Y$,!1)):YE="onreadystatechange"in Kh("script")?function(e){ZL.appendChild(Kh("script")).onreadystatechange=function(){ZL.removeChild(this),YM(e)}}:function(e){setTimeout(Yz(e),0)});var YU,YV,YW,Yq,YG,YK,YZ,YX,YY=YB,YJ=/ipad|iphone|ipod/i.test(Gz)&&void 0!==Gp.Pebble,YQ=/web0s(?!.*chrome)/i.test(Gz),Y0=Ky.f,Y1=YY,Y2=Gp.MutationObserver||Gp.WebKitMutationObserver,Y4=Gp.document,Y3=Gp.process,Y6=Gp.Promise,Y5=Y0(Gp,"queueMicrotask"),Y8=Y5&&Y5.value;Y8||(YU=function(){var e,t;for(YT&&(e=Y3.domain)&&e.exit();YV;){t=YV.fn,YV=YV.next;try{t()}catch(e){throw YV?Yq():YW=void 0,e}}YW=void 0,e&&e.enter()},Yk||YT||YQ||!Y2||!Y4?!YJ&&Y6&&Y6.resolve?((YZ=Y6.resolve(void 0)).constructor=Y6,YX=ZX(YZ.then,YZ),Yq=function(){YX(YU)}):YT?Yq=function(){Y3.nextTick(YU)}:(Y1=ZX(Y1,Gp),Yq=function(){Y1(YU)}):(YG=!0,YK=Y4.createTextNode(""),new Y2(YU).observe(YK,{characterData:!0}),Yq=function(){YK.data=YG=!YG}));var Y7,Y9,Je,Jt,Jn=Y8||function(e){var t={fn:e,next:void 0};YW&&(YW.next=t),YV||(YV=t,Yq()),YW=t},Jr=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=GQ(t),this.reject=GQ(n)},Jo={f:function(e){return new Jr(e)}},Ji=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Ja="object"==typeof window,Ju=Ks("species"),Js="Promise",Jl=KW(Js),Jc=KW(Js),Jf=X3&&X3.prototype,Jd=X3,Jp=Jf,Jh=Gp.TypeError,Jg=Gp.document,Jv=Gp.process,Jy=Jo.f,Jm=Jy,Jb=!!(Jg&&Jg.createEvent&&Gp.dispatchEvent),Jw=GN(Gp.PromiseRejectionEvent),JE=!1,JD=Zl(Js,function(){var e=KT(Jd),t=e!==String(Jd);if(!t&&66===GW)return!0;if(GW>=51&&/native code/.test(e))return!1;var n=new Jd(function(e){e(1)}),r=function(e){e(function(){},function(){})};return(n.constructor={})[Ju]=r,!(JE=n.then(function(){})instanceof r)||!t&&Ja&&!Jw}),JS=JD||!Yx(function(e){Jd.all(e).catch(function(){})}),Jx=function(e){var t;return!(!GR(e)||!GN(t=e.then))&&t},JC=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;Jn(function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,u,s,l=n[i++],c=o?l.ok:l.fail,f=l.resolve,d=l.reject,p=l.domain;try{c?(o||(2===e.rejection&&JT(e),e.rejection=1),!0===c?a=r:(p&&p.enter(),a=c(r),p&&(p.exit(),s=!0)),a===l.promise?d(Jh("Promise-chain cycle")):(u=Jx(a))?Gy(u,a,f,d):f(a)):d(r)}catch(e){p&&!s&&p.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&JA(e)})}},JO=function(e,t,n){var r,o;Jb?((r=Jg.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),Gp.dispatchEvent(r)):r={promise:t,reason:n},!Jw&&(o=Gp["on"+e])?o(r):"unhandledrejection"===e&&function(e,t){var n=Gp.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},JA=function(e){Gy(YY,Gp,function(){var t,n=e.facade,r=e.value;if(Jk(e)&&(t=Ji(function(){YT?Jv.emit("unhandledRejection",r,n):JO("unhandledrejection",n,r)}),e.rejection=YT||Jk(e)?2:1,t.error))throw t.value})},Jk=function(e){return 1!==e.rejection&&!e.parent},JT=function(e){Gy(YY,Gp,function(){var t=e.facade;YT?Jv.emit("rejectionHandled",t):JO("rejectionhandled",t,e.value)})},JB=function(e,t,n){return function(r){e(t,r,n)}},JF=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,JC(e,!0))},JP=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw Jh("Promise can't be resolved itself");var r=Jx(t);r?Jn(function(){var n={done:!1};try{Gy(r,t,JB(JP,n,e),JB(JF,n,e))}catch(t){JF(n,t,e)}}):(e.value=t,e.state=1,JC(e,!1))}catch(t){JF({done:!1},t,e)}}};if(JD&&(Jp=(Jd=function(e){Yo(this,Jp),GQ(e),Gy(Y7,this);var t=Jl(this);try{e(JB(JP,t),JB(JF,t))}catch(e){JF(t,e)}}).prototype,(Y7=function(e){KH(this,{type:Js,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=X6(Jp,{then:function(e,t){var n,r,o,i=Jc(this),a=i.reactions,u=Jy((n=Jd,void 0===(o=Kw(this).constructor)||null==(r=Kw(o)[YO])?n:function(e){if(Z6(e))return e;throw YC(GY(e)+" is not a constructor")}(r)));return u.ok=!GN(e)||e,u.fail=GN(t)&&t,u.domain=YT?Jv.domain:void 0,i.parent=!0,a[a.length]=u,0!=i.state&&JC(i,!1),u.promise},catch:function(e){return this.then(void 0,e)}}),Y9=function(){var e=new Y7,t=Jl(e);this.promise=e,this.resolve=JB(JP,t),this.reject=JB(JF,t)},Jo.f=Jy=function(e){return e===Jd||e===Je?new Y9(e):Jm(e)},GN(X3)&&Jf!==Object.prototype)){Jt=Jf.then,JE||(KX(Jf,"then",function(e,t){var n=this;return new Jd(function(e,t){Gy(Jt,n,e,t)}).then(e,t)},{unsafe:!0}),KX(Jf,"catch",Jp.catch,{unsafe:!0}));try{delete Jf.constructor}catch(e){}X7&&X7(Jf,Jp)}function J_(e,t,n){return void 0===n&&(n=""),Gr(this,void 0,void 0,function(){var r,o,i,a,u,s,l;return Go(this,function(c){switch(c.label){case 0:return t?(e.restoreSelection(),o=(r=e.getMenuConfig("insertVideo")).onInsertedVideo,i=r.checkVideo,a=r.parseVideoSrc,[4,i(t,n)]):[2];case 1:return"string"==typeof(u=c.sent())?(e.alert(u,"error"),[2]):null==u?[2]:[4,a(t)];case 2:return 0!==(s=c.sent()).trim().indexOf("<iframe ")&&(s=s.replace(/</g,"<").replace(/>/g,">")),l={type:"video",src:s,poster:n,children:[{text:""}]},Promise.resolve().then(function(){l6.insertNodes(e,l)}),o(l),[2]}})})}function Jj(){return X4("w-e-insert-video")}Zg({global:!0,wrap:!0,forced:JD},{Promise:Jd}),Yt(Jd,Js,!1),JM=GL("Promise"),Jz=KS.f,Gg&&JM&&!JM[Yn]&&Jz(JM,Yn,{configurable:!0,get:function(){return this}}),Je=GL(Js),Zg({target:Js,stat:!0,forced:JD},{reject:function(e){var t=Jy(this);return Gy(t.reject,void 0,e),t.promise}}),Zg({target:Js,stat:!0,forced:JD},{resolve:function(e){if(Kw(this),GR(e)&&e.constructor===this)return e;var t=Jo.f(this);return(0,t.resolve)(e),t.promise}}),Zg({target:Js,stat:!0,forced:JS},{all:function(e){var t=this,n=Jy(t),r=n.resolve,o=n.reject,i=Ji(function(){var n=GQ(t.resolve),i=[],a=0,u=1;Yg(e,function(e){var s=a++,l=!1;u++,Gy(n,t,e).then(function(e){l||(l=!0,i[s]=e,--u||r(i))},o)}),--u||r(i)});return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=Jy(t),r=n.reject,o=Ji(function(){var o=GQ(t.resolve);Yg(e,function(e){Gy(o,t,e).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}});var JI=function(){function e(){this.title=O_("videoModule.insertVideo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.srcInputId=Jj(),this.posterInputId=Jj(),this.buttonId=Jj()}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!lj.isCollapsed(t)||!!Dn.getSelectedElems(e).some(function(t){var n=Dn.getNodeType(t);return"pre"===n||"list-item"===n||!!e.isVoid(t)})},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=this,n=this.srcInputId,r=this.posterInputId,o=this.buttonId,i=Gi(CI(O_("videoModule.videoSrc"),n,O_("videoModule.videoSrcPlaceHolder")),2),a=i[0],u=i[1],s=Gi(CI(O_("videoModule.videoPoster"),r,O_("videoModule.videoPosterPlaceHolder")),2),l=s[0],c=s[1],f=c2(u),d=c2(c),p=Gi(CN(o,O_("videoModule.ok")),1)[0];if(null==this.$content){var h=c2("<div></div>");h.on("click","#"+o,function(o){return Gr(t,void 0,void 0,function(){return Go(this,function(t){switch(t.label){case 0:return o.preventDefault(),[4,J_(e,h.find("#"+n).val().trim(),h.find("#"+r).val().trim())];case 1:return t.sent(),e.hidePanelOrModal(),[2]}})})}),this.$content=h}var g=this.$content;return g.empty(),g.append(a),g.append(l),g.append(p),f.val(""),d.val(""),setTimeout(function(){f.focus()}),g[0]},e}(),JN=GO([].join),JR=GP!=Object,JL=!!(J$=[].join)&&Gh(function(){J$.call(null,",",1)});Zg({target:"Array",proto:!0,forced:JR||!JL},{join:function(e){return JN(GI(this),void 0===e?",":e)}});var JM,Jz,J$,JH,JU,JV,JW=!Gh(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),Jq=K_("IE_PROTO"),JG=Gp.Object,JK=JG.prototype,JZ=JW?JG.getPrototypeOf:function(e){var t=G8(e);if(G9(t,Jq))return t[Jq];var n=t.constructor;return GN(n)&&t instanceof n?n.prototype:t instanceof JG?JK:null},JX=Ks("iterator"),JY=!1;[].keys&&("next"in(JV=[].keys())?(JU=JZ(JZ(JV)))!==Object.prototype&&(JH=JU):JY=!0),(null==JH||Gh(function(){var e={};return JH[JX].call(e)!==e}))&&(JH={}),GN(JH[JX])||KX(JH,JX,function(){return this});var JJ=JH,JQ=JY,J0=function(){return this},J1=KZ.PROPER,J2=KZ.CONFIGURABLE,J4=Ks("iterator"),J3=function(){return this},J6=function(e,t,n,r,o,i,a){u=t+" Iterator",n.prototype=ZV(JJ,{next:GE(1,r)}),Yt(n,u,!1),Yi[u]=J0;var u,s,l,c,f=function(e){if(e===o&&g)return g;if(!JQ&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=!1,p=e.prototype,h=p[J4]||p["@@iterator"]||o&&p[o],g=!JQ&&h||f(o),v="Array"==t&&p.entries||h;if(v&&(s=JZ(v.call(new e)))!==Object.prototype&&s.next&&(JZ(s)!==JJ&&(X7?X7(s,JJ):GN(s[J4])||KX(s,J4,J3)),Yt(s,t+" Iterator",!0)),J1&&"values"==o&&h&&"values"!==h.name&&(J2?Kx(p,"name","values"):(d=!0,g=function(){return Gy(h,this)})),o)if(l={values:f("values"),keys:i?g:f("keys"),entries:f("entries")},a)for(c in l)!JQ&&!d&&c in p||KX(p,c,l[c]);else Zg({target:t,proto:!0,forced:JQ||d},l);return p[J4]!==g&&KX(p,J4,g,{name:o}),Yi[t]=g,l},J5=KW("Array Iterator"),J8=J6(Array,"Array",function(e,t){KH(this,{type:"Array Iterator",target:GI(e),index:0,kind:t})},function(){var e=J5(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");Yi.Arguments=Yi.Array,ZG("keys"),ZG("values"),ZG("entries");var J7=XR.charAt,J9=KW("String Iterator");J6(String,"String",function(e){KH(this,{type:"String Iterator",string:ZS(e),index:0})},function(){var e,t=J9(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=J7(n,r),t.index+=e.length,{value:e,done:!1})});var Qe=function(e,t,n){var r=Kf(t);r in e?KS.f(e,r,GE(0,n)):e[r]=n},Qt=Gp.Array,Qn=Math.max,Qr=Zr.f,Qo="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Qi={f:function(e){return Qo&&"Window"==GT(e)?function(e){try{return Qr(e)}catch(e){return function(e,t,n){for(var r=K6(e),o=K2(void 0,r),i=K2(r,r),a=Qt(Qn(i-o,0)),u=0;o<i;o++,u++)Qe(a,u,e[o]);return a.length=u,a}(Qo)}}(e):Qr(GI(e))}},Qa=Gh(function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),Qu=Object.isExtensible,Qs=Gh(function(){Qu(1)})||Qa?function(e){return!!GR(e)&&(!Qa||"ArrayBuffer"!=GT(e))&&(!Qu||Qu(e))}:Qu,Ql=!Gh(function(){return Object.isExtensible(Object.preventExtensions({}))}),Qc=Gu(function(e){var t=KS.f,n=!1,r=Kr("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=Zr.f,t=GO([].splice),o={};o[r]=1,e(o).length&&(Zr.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break}return o},Zg({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Qi.f}))},fastKey:function(e,t){if(!GR(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!G9(e,r)){if(!Qs(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!G9(e,r)){if(!Qs(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return Ql&&n&&Qs(e)&&!G9(e,r)&&i(e),e}};Kj[r]=!0}),Qf=Qc.getWeakData,Qd=Xt.find,Qp=Xt.findIndex,Qh=GO([].splice),Qg=0,Qv=function(e){return e.frozen||(e.frozen=new Qy)},Qy=function(){this.entries=[]},Qm=function(e,t){return Qd(e.entries,function(e){return e[0]===t})};Qy.prototype={get:function(e){var t=Qm(this,e);if(t)return t[1]},has:function(e){return!!Qm(this,e)},set:function(e,t){var n=Qm(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=Qp(this.entries,function(t){return t[0]===e});return~t&&Qh(this.entries,t,1),!!~t}};var Qb,Qw={getConstructor:function(e,t,n,r){var o=e(function(e,o){Yo(e,i),KH(e,{type:t,id:Qg++,frozen:void 0}),null!=o&&Yg(o,e[r],{that:e,AS_ENTRIES:n})}),i=o.prototype,a=KW(t),u=function(e,t,n){var r=a(e),o=Qf(Kw(t),!0);return!0===o?Qv(r).set(t,n):o[r.id]=n,e};return X6(i,{delete:function(e){var t=a(this);if(!GR(e))return!1;var n=Qf(e);return!0===n?Qv(t).delete(e):n&&G9(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!GR(e))return!1;var n=Qf(e);return!0===n?Qv(t).has(e):n&&G9(n,t.id)}}),X6(i,n?{get:function(e){var t=a(this);if(GR(e)){var n=Qf(e);return!0===n?Qv(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return u(this,e,t)}}:{add:function(e){return u(this,e,!0)}}),o}},QE=!Gp.ActiveXObject&&"ActiveXObject"in Gp,QD=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},QS=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=Gp[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=GO(u[e]);KX(u,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!GR(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!GR(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!GR(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(Zl(e,!GN(a)||!(o||u.forEach&&!Gh(function(){(new a).entries().next()}))))s=n.getConstructor(t,e,r,i),Qc.enable();else if(Zl(e,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=Gh(function(){f.has(1)}),h=Yx(function(e){new a(e)}),g=!o&&Gh(function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)});h||((s=t(function(e,t){Yo(e,u);var n,o,l,c,f=(n=new a,o=s,X7&&GN(l=e.constructor)&&l!==o&&GR(c=l.prototype)&&c!==o.prototype&&X7(n,c),n);return null!=t&&Yg(t,f[i],{that:f,AS_ENTRIES:r}),f})).prototype=u,u.constructor=s),(p||g)&&(c("delete"),c("has"),r&&c("get")),(g||d)&&c(i),o&&u.clear&&delete u.clear}return l[e]=s,Zg({global:!0,forced:s!=a},l),Yt(s,e),o||n.setStrong(s,e,r),s}("WeakMap",QD,Qw);if(KF&&QE){Qb=Qw.getConstructor(QD,"WeakMap",!0),Qc.enable();var Qx=QS.prototype,QC=GO(Qx.delete),QO=GO(Qx.has),QA=GO(Qx.get),Qk=GO(Qx.set);X6(Qx,{delete:function(e){if(GR(e)&&!Qs(e)){var t=KV(this);return t.frozen||(t.frozen=new Qb),QC(this,e)||t.frozen.delete(e)}return QC(this,e)},has:function(e){if(GR(e)&&!Qs(e)){var t=KV(this);return t.frozen||(t.frozen=new Qb),QO(this,e)||t.frozen.has(e)}return QO(this,e)},get:function(e){if(GR(e)&&!Qs(e)){var t=KV(this);return t.frozen||(t.frozen=new Qb),QO(this,e)?QA(this,e):t.frozen.get(e)}return QA(this,e)},set:function(e,t){if(GR(e)&&!Qs(e)){var n=KV(this);n.frozen||(n.frozen=new Qb),QO(this,e)?Qk(this,e,t):n.frozen.set(e,t)}else Qk(this,e,t);return this}})}var QT={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},QB=Kh("span").classList,QF=QB&&QB.constructor&&QB.constructor.prototype,QP=QF===Object.prototype?void 0:QF,Q_=Ks("iterator"),Qj=Ks("toStringTag"),QI=J8.values,QN=function(e,t){if(e){if(e[Q_]!==QI)try{Kx(e,Q_,QI)}catch(t){e[Q_]=QI}if(e[Qj]||Kx(e,Qj,t),QT[t]){for(var n in J8)if(e[n]!==J8[n])try{Kx(e,n,J8[n])}catch(t){e[n]=J8[n]}}}};for(var QR in QT)QN(Gp[QR]&&Gp[QR].prototype,QR);QN(QP,"DOMTokenList");var QL=KZ.EXISTS,QM=KS.f,Qz=Function.prototype,Q$=GO(Qz.toString),QH=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,QU=GO(QH.exec);Gg&&!QL&&QM(Qz,"name",{configurable:!0,get:function(){try{return QU(QH,Q$(this))[1]}catch(e){return""}}});var QV=Ks("species"),QW=GW>=51||!Gh(function(){var e=[];return(e.constructor={})[QV]=function(){return{foo:1}},1!==e.slice(Boolean).foo}),Qq=Ks("species"),QG=Gp.Array,QK=Math.max;function QZ(e){return e.getMenuConfig("uploadVideo")}Zg({target:"Array",proto:!0,forced:!QW},{slice:function(e,t){var n,r,o,i=GI(this),a=K6(i),u=K2(e,a),s=K2(void 0===t?a:t,a);if(ZY(i)&&((Z6(n=i.constructor)&&(n===QG||ZY(n.prototype))||GR(n)&&null===(n=n[Qq]))&&(n=void 0),n===QG||void 0===n))return YA(i,u,s);for(r=new(void 0===n?QG:n)(QK(s-u,0)),o=0;u<s;u++,o++)u in i&&Qe(r,o,i[u]);return r.length=o,r}});var QX=new WeakMap,QY=function(){function e(){this.title=O_("videoModule.uploadVideo"),this.iconSvg='<svg viewBox="0 0 1056 1024"><path d="M805.902261 521.819882a251.441452 251.441452 0 0 0-251.011972 246.600033 251.051015 251.051015 0 1 0 502.023944 8.823877 253.237463 253.237463 0 0 0-251.011972-255.42391z m59.463561 240.001647v129.898403h-116.701631v-129.898403h-44.041298l101.279368-103.504859 101.279368 103.504859z" p-id="6802"></path><path d="M788.254507 0.000781H99.094092A98.663439 98.663439 0 0 0 0.001171 99.093701v590.067495a98.663439 98.663439 0 0 0 99.092921 99.092921h411.7549a266.434235 266.434235 0 0 1-2.186448-41.815807 275.843767 275.843767 0 0 1 275.180024-270.729042 270.650955 270.650955 0 0 1 103.504859 19.834201V99.093701A101.51363 101.51363 0 0 0 788.254507 0.000781zM295.054441 640.747004V147.507894l394.146189 246.600033z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){var n=this.getMenuConfig(e),r=n.allowedFileTypes,o=void 0===r?[]:r,i=n.customBrowseAndUpload;if(i)i(function(t,n){return J_(e,t,n)});else{var a="";o.length>0&&(a='accept="'+o.join(", ")+'"');var u=c2("body"),s=c2('<input type="file" '+a+" multiple/>");s.hide(),u.append(s),s.click(),s.on("change",function(){!function(e,t){var n,r;Gr(this,void 0,void 0,function(){var o,i,a,u,s;return Go(this,function(l){switch(l.label){case 0:if(null==t)return[2];o=Array.prototype.slice.call(t),i=QZ(e).customUpload,l.label=1;case 1:l.trys.push([1,9,10,15]),a=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,o){var i;i=(t=e[n](t)).done,Promise.resolve(t.value).then(function(e){r({value:e,done:i})},o)})}}}(o),l.label=2;case 2:return[4,a.next()];case 3:return(u=l.sent()).done?[3,8]:(s=u.value,i?[4,i(s,function(t,n){return J_(e,t,n)})]:[3,5]);case 4:return l.sent(),[3,7];case 5:return[4,function(e,t){return Gr(this,void 0,void 0,function(){var n,r,o,i;return Go(this,function(a){switch(a.label){case 0:return n=function(e){var t=QX.get(e);if(null!=t)return t;var n=QZ(e),r=n.onSuccess,o=n.onProgress,i=n.onFailed,a=n.customInsert,u=n.onError;return t=C4(Gn(Gn({},n),{onProgress:function(t){e.showProgressBar(t),o&&o(t)},onSuccess:function(t,n){if(a)return a(n,function(t,n){return J_(e,t,n)}),void r(t,n);var o=n.errno,u=n.data,s=void 0===u?{}:u;if(0===(void 0===o?1:o)){var l=s.url,c=s.poster;J_(e,void 0===l?"":l,void 0===c?"":c),r(t,n)}else i(t,n)},onError:function(e,t,n){u(e,t,n)}})),QX.set(e,t),t}(e),r=t.name,o=t.type,i=t.size,n.addFile({name:r,type:o,size:i,data:t}),[4,n.upload()];case 1:return a.sent(),[2]}})})}(e,s)];case 6:l.sent(),l.label=7;case 7:return[3,2];case 8:return[3,15];case 9:return n={error:l.sent()},[3,15];case 10:return l.trys.push([10,,13,14]),u&&!u.done&&(r=a.return)?[4,r.call(a)]:[3,12];case 11:l.sent(),l.label=12;case 12:return[3,14];case 13:if(n)throw n.error;return[7];case 14:return[7];case 15:return[2]}})})}(e,s[0].files)})}},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!lj.isCollapsed(t)||!!Dn.getSelectedElems(e).some(function(t){var n=Dn.getNodeType(t);return"pre"===n||"list-item"===n||!!e.isVoid(t)})},e.prototype.getMenuConfig=function(e){return e.getMenuConfig("uploadVideo")},e}(),QJ=KZ.PROPER,QQ=RegExp.prototype,Q0=QQ.toString,Q1=GO(Xu),Q2=Gh(function(){return"/a/b"!=Q0.call({source:"a",flags:"b"})}),Q4=QJ&&"toString"!=Q0.name;function Q3(){return X4("w-e-insert-video")}(Q2||Q4)&&KX(RegExp.prototype,"toString",function(){var e=Kw(this),t=ZS(e.source),n=e.flags;return"/"+t+"/"+ZS(void 0===n&&GM(QQ,e)&&!("flags"in QQ)?Q1(e):n)},{unsafe:!0});var Q6=function(){function e(){this.title=O_("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=Q3(),this.heightInputId=Q3(),this.buttonId=Q3()}return e.prototype.getSelectedVideoNode=function(e){return Dn.getSelectedNodeByType(e,"video")},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedVideoNode(e)},e.prototype.getModalPositionNode=function(e){return this.getSelectedVideoNode(e)},e.prototype.getModalContentElem=function(e){var t=this.widthInputId,n=this.heightInputId,r=this.buttonId,o=Gi(CI(O_("videoModule.width"),t,"auto"),2),i=o[0],a=c2(o[1]),u=Gi(CI(O_("videoModule.height"),n,"auto"),2),s=u[0],l=c2(u[1]),c=Gi(CN(r,O_("videoModule.ok")),1)[0];if(null==this.$content){var f=c2("<div></div>");f.on("click","#"+r,function(r){r.preventDefault();var o=f.find("#"+t).val().trim(),i=f.find("#"+n).val().trim(),a=parseInt(o),u=parseInt(i),s=a?a.toString():"auto",l=u?u.toString():"auto";e.restoreSelection(),l6.setNodes(e,{width:s,height:l},{match:function(e){return Dn.checkNodeType(e,"video")}}),e.hidePanelOrModal()}),this.$content=f}var d=this.$content;d.empty(),d.append(i),d.append(s),d.append(c);var p=this.getSelectedVideoNode(e);if(null==p)return d[0];var h=p.width,g=p.height;return a.val(void 0===h?"auto":h),l.val(void 0===g?"auto":g),setTimeout(function(){a.focus()}),d[0]},e}();OF("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),OF("zh-CN",{uploadImgModule:{uploadImage:"上传图片",uploadError:"{{fileName}} 上传出错"}});var Q5="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function Q8(e){var t={exports:{}};return e(t,t.exports),t.exports}var Q7,Q9,eee=function(e){return e&&e.Math==Math&&e},eet=eee("object"==typeof globalThis&&globalThis)||eee("object"==typeof window&&window)||eee("object"==typeof self&&self)||eee("object"==typeof Q5&&Q5)||function(){return this}()||Function("return this")(),een=function(e){try{return!!e()}catch(e){return!0}},eer=!een(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),eeo=Function.prototype.call,eei=eeo.bind?eeo.bind(eeo):function(){return eeo.apply(eeo,arguments)},eea={}.propertyIsEnumerable,eeu=Object.getOwnPropertyDescriptor,ees={f:eeu&&!eea.call({1:2},1)?function(e){var t=eeu(this,e);return!!t&&t.enumerable}:eea},eel=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},eec=Function.prototype,eef=eec.bind,eed=eec.call,eep=eef&&eef.bind(eed),eeh=eef?function(e){return e&&eep(eed,e)}:function(e){return e&&function(){return eed.apply(e,arguments)}},eeg=eeh({}.toString),eev=eeh("".slice),eey=function(e){return eev(eeg(e),8,-1)},eem=eet.Object,eeb=eeh("".split),eew=een(function(){return!eem("z").propertyIsEnumerable(0)})?function(e){return"String"==eey(e)?eeb(e,""):eem(e)}:eem,eeE=eet.TypeError,eeD=function(e){if(null==e)throw eeE("Can't call method on "+e);return e},eeS=function(e){return eew(eeD(e))},eex=function(e){return"function"==typeof e},eeC=function(e){return"object"==typeof e?null!==e:eex(e)},eeO=function(e,t){var n;return arguments.length<2?eex(n=eet[e])?n:void 0:eet[e]&&eet[e][t]},eeA=eeh({}.isPrototypeOf),eek=eeO("navigator","userAgent")||"",eeT=eet.process,eeB=eet.Deno,eeF=eeT&&eeT.versions||eeB&&eeB.version,eeP=eeF&&eeF.v8;eeP&&(Q9=(Q7=eeP.split("."))[0]>0&&Q7[0]<4?1:+(Q7[0]+Q7[1])),!Q9&&eek&&(!(Q7=eek.match(/Edge\/(\d+)/))||Q7[1]>=74)&&(Q7=eek.match(/Chrome\/(\d+)/))&&(Q9=+Q7[1]);var ee_=Q9,eej=!!Object.getOwnPropertySymbols&&!een(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ee_&&ee_<41}),eeI=eej&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,eeN=eet.Object,eeR=eeI?function(e){return"symbol"==typeof e}:function(e){var t=eeO("Symbol");return eex(t)&&eeA(t.prototype,eeN(e))},eeL=eet.String,eeM=function(e){try{return eeL(e)}catch(e){return"Object"}},eez=eet.TypeError,ee$=function(e){if(eex(e))return e;throw eez(eeM(e)+" is not a function")},eeH=function(e,t){var n=e[t];return null==n?void 0:ee$(n)},eeU=eet.TypeError,eeV=Object.defineProperty,eeW=function(e,t){try{eeV(eet,e,{value:t,configurable:!0,writable:!0})}catch(n){eet[e]=t}return t},eeq=eet["__core-js_shared__"]||eeW("__core-js_shared__",{}),eeG=Q8(function(e){(e.exports=function(e,t){return eeq[e]||(eeq[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})}),eeK=eet.Object,eeZ=function(e){return eeK(eeD(e))},eeX=eeh({}.hasOwnProperty),eeY=Object.hasOwn||function(e,t){return eeX(eeZ(e),t)},eeJ=0,eeQ=Math.random(),ee0=eeh(1..toString),ee1=function(e){return"Symbol("+(void 0===e?"":e)+")_"+ee0(++eeJ+eeQ,36)},ee2=eeG("wks"),ee4=eet.Symbol,ee3=ee4&&ee4.for,ee6=eeI?ee4:ee4&&ee4.withoutSetter||ee1,ee5=function(e){if(!eeY(ee2,e)||!eej&&"string"!=typeof ee2[e]){var t="Symbol."+e;eej&&eeY(ee4,e)?ee2[e]=ee4[e]:ee2[e]=eeI&&ee3?ee3(t):ee6(t)}return ee2[e]},ee8=eet.TypeError,ee7=ee5("toPrimitive"),ee9=function(e){var t=function(e,t){if(!eeC(e)||eeR(e))return e;var n,r=eeH(e,ee7);if(r){if(void 0===t&&(t="default"),!eeC(n=eei(r,e,t))||eeR(n))return n;throw ee8("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&eex(n=e.toString)&&!eeC(r=eei(n,e))||eex(n=e.valueOf)&&!eeC(r=eei(n,e))||"string"!==t&&eex(n=e.toString)&&!eeC(r=eei(n,e)))return r;throw eeU("Can't convert object to primitive value")}(e,t)}(e,"string");return eeR(t)?t:t+""},ete=eet.document,ett=eeC(ete)&&eeC(ete.createElement),etn=function(e){return ett?ete.createElement(e):{}},etr=!eer&&!een(function(){return 7!=Object.defineProperty(etn("div"),"a",{get:function(){return 7}}).a}),eto=Object.getOwnPropertyDescriptor,eti={f:eer?eto:function(e,t){if(e=eeS(e),t=ee9(t),etr)try{return eto(e,t)}catch(e){}if(eeY(e,t))return eel(!eei(ees.f,e,t),e[t])}},eta=eet.String,etu=eet.TypeError,ets=function(e){if(eeC(e))return e;throw etu(eta(e)+" is not an object")},etl=eet.TypeError,etc=Object.defineProperty,etf={f:eer?etc:function(e,t,n){if(ets(e),t=ee9(t),ets(n),etr)try{return etc(e,t,n)}catch(e){}if("get"in n||"set"in n)throw etl("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},etd=eer?function(e,t,n){return etf.f(e,t,eel(1,n))}:function(e,t,n){return e[t]=n,e},etp=eeh(Function.toString);eex(eeq.inspectSource)||(eeq.inspectSource=function(e){return etp(e)});var eth,etg,etv,ety=eeq.inspectSource,etm=eet.WeakMap,etb=eex(etm)&&/native code/.test(ety(etm)),etw=eeG("keys"),etE=function(e){return etw[e]||(etw[e]=ee1(e))},etD={},etS=eet.TypeError,etx=eet.WeakMap;if(etb||eeq.state){var etC=eeq.state||(eeq.state=new etx),etO=eeh(etC.get),etA=eeh(etC.has),etk=eeh(etC.set);eth=function(e,t){if(etA(etC,e))throw new etS("Object already initialized");return t.facade=e,etk(etC,e,t),t},etg=function(e){return etO(etC,e)||{}},etv=function(e){return etA(etC,e)}}else{var etT=etE("state");etD[etT]=!0,eth=function(e,t){if(eeY(e,etT))throw new etS("Object already initialized");return t.facade=e,etd(e,etT,t),t},etg=function(e){return eeY(e,etT)?e[etT]:{}},etv=function(e){return eeY(e,etT)}}var etB=eth,etF=etg,etP=function(e){return etv(e)?etg(e):eth(e,{})},et_=function(e){return function(t){var n;if(!eeC(t)||(n=etg(t)).type!==e)throw etS("Incompatible receiver, "+e+" required");return n}},etj=Function.prototype,etI=eer&&Object.getOwnPropertyDescriptor,etN=eeY(etj,"name"),etR={EXISTS:etN,PROPER:etN&&"something"===(function(){}).name,CONFIGURABLE:etN&&(!eer||eer&&etI(etj,"name").configurable)},etL=Q8(function(e){var t=etR.CONFIGURABLE,n=String(String).split("String");(e.exports=function(e,r,o,i){var a,u=!!i&&!!i.unsafe,s=!!i&&!!i.enumerable,l=!!i&&!!i.noTargetGet,c=i&&void 0!==i.name?i.name:r;eex(o)&&("Symbol("===String(c).slice(0,7)&&(c="["+String(c).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!eeY(o,"name")||t&&o.name!==c)&&etd(o,"name",c),(a=etP(o)).source||(a.source=n.join("string"==typeof c?c:""))),e!==eet?(u?!l&&e[r]&&(s=!0):delete e[r],s?e[r]=o:etd(e,r,o)):s?e[r]=o:eeW(r,o)})(Function.prototype,"toString",function(){return eex(this)&&etF(this).source||ety(this)})}),etM=Math.ceil,etz=Math.floor,et$=function(e){var t=+e;return t!=t||0===t?0:(t>0?etz:etM)(t)},etH=Math.max,etU=Math.min,etV=function(e,t){var n=et$(e);return n<0?etH(n+t,0):etU(n,t)},etW=Math.min,etq=function(e){return e>0?etW(et$(e),0x1fffffffffffff):0},etG=function(e){return etq(e.length)},etK=function(e){return function(t,n,r){var o,i=eeS(t),a=etG(i),u=etV(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},etZ=(etK(!0),etK(!1)),etX=eeh([].push),etY=function(e,t){var n,r=eeS(e),o=0,i=[];for(n in r)!eeY(etD,n)&&eeY(r,n)&&etX(i,n);for(;t.length>o;)eeY(r,n=t[o++])&&(~etZ(i,n)||etX(i,n));return i},etJ=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],etQ=etJ.concat("length","prototype"),et0={f:Object.getOwnPropertyNames||function(e){return etY(e,etQ)}},et1={f:Object.getOwnPropertySymbols},et2=eeh([].concat),et4=eeO("Reflect","ownKeys")||function(e){var t=et0.f(ets(e)),n=et1.f;return n?et2(t,n(e)):t},et3=function(e,t){for(var n=et4(t),r=etf.f,o=eti.f,i=0;i<n.length;i++){var a=n[i];eeY(e,a)||r(e,a,o(t,a))}},et6=/#|\.prototype\./,et5=function(e,t){var n=et7[et8(e)];return n==ene||n!=et9&&(eex(t)?een(t):!!t)},et8=et5.normalize=function(e){return String(e).replace(et6,".").toLowerCase()},et7=et5.data={},et9=et5.NATIVE="N",ene=et5.POLYFILL="P",ent=eti.f,enn=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?eet:l?eet[u]||eeW(u,{}):(eet[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=ent(n,r))&&a.value:n[r],!et5(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;et3(i,o)}(e.sham||o&&o.sham)&&etd(i,"sham",!0),etL(n,r,i,e)}},enr=Array.isArray||function(e){return"Array"==eey(e)},eno={};eno[ee5("toStringTag")]="z";var eni="[object z]"===String(eno),ena=ee5("toStringTag"),enu=eet.Object,ens="Arguments"==eey(function(){return arguments}()),enl=eni?eey:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=enu(e),ena))?n:ens?eey(t):"Object"==(r=eey(t))&&eex(t.callee)?"Arguments":r},enc=function(){},enf=[],end=eeO("Reflect","construct"),enp=/^\s*(?:class|function)\b/,enh=eeh(enp.exec),eng=!enp.exec(enc),env=function(e){if(!eex(e))return!1;try{return end(enc,enf,e),!0}catch(e){return!1}},eny=!end||een(function(){var e;return env(env.call)||!env(Object)||!env(function(){e=!0})||e})?function(e){if(!eex(e))return!1;switch(enl(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return eng||!!enh(enp,ety(e))}:env,enm=function(e,t,n){var r=ee9(t);r in e?etf.f(e,r,eel(0,n)):e[r]=n},enb=ee5("species"),enw=eeh([].slice),enE=ee_>=51||!een(function(){var e=[];return(e.constructor={})[enb]=function(){return{foo:1}},1!==e.slice(Boolean).foo}),enD=ee5("species"),enS=eet.Array,enx=Math.max;enn({target:"Array",proto:!0,forced:!enE},{slice:function(e,t){var n,r,o,i=eeS(this),a=etG(i),u=etV(e,a),s=etV(void 0===t?a:t,a);if(enr(i)&&((eny(n=i.constructor)&&(n===enS||enr(n.prototype))||eeC(n)&&null===(n=n[enD]))&&(n=void 0),n===enS||void 0===n))return enw(i,u,s);for(r=new(void 0===n?enS:n)(enx(s-u,0)),o=0;u<s;u++,o++)u in i&&enm(r,o,i[u]);return r.length=o,r}}),eni||etL(Object.prototype,"toString",eni?({}).toString:function(){return"[object "+enl(this)+"]"},{unsafe:!0});var enC,enO=eet.String,enA=function(e){if("Symbol"===enl(e))throw TypeError("Cannot convert a Symbol value to a string");return enO(e)},enk=function(){var e=ets(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},enT=eet.RegExp,enB=een(function(){var e=enT("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),enF=enB||een(function(){return!enT("a","y").sticky}),enP={BROKEN_CARET:enB||een(function(){var e=enT("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),MISSED_STICKY:enF,UNSUPPORTED_Y:enB},en_=Object.keys||function(e){return etY(e,etJ)},enj=eer?Object.defineProperties:function(e,t){ets(e);for(var n,r=eeS(t),o=en_(t),i=o.length,a=0;i>a;)etf.f(e,n=o[a++],r[n]);return e},enI=eeO("document","documentElement"),enN=etE("IE_PROTO"),enR=function(){},enL=function(e){return"<script>"+e+"<\/script>"},enM=function(e){e.write(enL("")),e.close();var t=e.parentWindow.Object;return e=null,t},enz=function(){try{enC=new ActiveXObject("htmlfile")}catch(e){}enz="undefined"!=typeof document?document.domain&&enC?enM(enC):((t=etn("iframe")).style.display="none",enI.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(enL("document.F=Object")),e.close(),e.F):enM(enC);for(var e,t,n=etJ.length;n--;)delete enz.prototype[etJ[n]];return enz()};etD[enN]=!0;var en$,enH,enU=Object.create||function(e,t){var n;return null!==e?(enR.prototype=ets(e),n=new enR,enR.prototype=null,n[enN]=e):n=enz(),void 0===t?n:enj(n,t)},enV=eet.RegExp,enW=een(function(){var e=enV(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),enq=eet.RegExp,enG=een(function(){var e=enq("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),enK=eeG("native-string-replace",String.prototype.replace),enZ=RegExp.prototype.exec,enX=enZ,enY=eeh("".charAt),enJ=eeh("".indexOf),enQ=eeh("".replace),en0=eeh("".slice),en1=(enH=/b*/g,eei(enZ,en$=/a/,"a"),eei(enZ,enH,"a"),0!==en$.lastIndex||0!==enH.lastIndex),en2=enP.BROKEN_CARET,en4=void 0!==/()??/.exec("")[1];(en1||en4||en2||enW||enG)&&(enX=function(e){var t,n,r,o,i,a,u,s=etF(this),l=enA(e),c=s.raw;if(c)return c.lastIndex=this.lastIndex,t=eei(enX,c,l),this.lastIndex=c.lastIndex,t;var f=s.groups,d=en2&&this.sticky,p=eei(enk,this),h=this.source,g=0,v=l;if(d&&(-1===enJ(p=enQ(p,"y",""),"g")&&(p+="g"),v=en0(l,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==enY(l,this.lastIndex-1))&&(h="(?: "+h+")",v=" "+v,g++),n=RegExp("^(?:"+h+")",p)),en4&&(n=RegExp("^"+h+"$(?!\\s)",p)),en1&&(r=this.lastIndex),o=eei(enZ,d?n:this,v),d?o?(o.input=en0(o.input,g),o[0]=en0(o[0],g),o.index=this.lastIndex,this.lastIndex+=o[0].length):this.lastIndex=0:en1&&o&&(this.lastIndex=this.global?o.index+o[0].length:r),en4&&o&&o.length>1&&eei(enK,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)}),o&&f)for(o.groups=a=enU(null),i=0;i<f.length;i++)a[(u=f[i])[0]]=o[u[1]];return o});var en3=enX;enn({target:"RegExp",proto:!0,forced:/./.exec!==en3},{exec:en3});var en6=Function.prototype,en5=en6.apply,en8=en6.bind,en7=en6.call,en9="object"==typeof Reflect&&Reflect.apply||(en8?en7.bind(en5):function(){return en7.apply(en5,arguments)}),ere=ee5("species"),ert=RegExp.prototype,ern=ee5("match"),err=eet.TypeError,ero=ee5("species"),eri=function(e,t){var n,r=ets(e).constructor;return void 0===r||null==(n=ets(r)[ero])?t:function(e){if(eny(e))return e;throw err(eeM(e)+" is not a constructor")}(n)},era=eeh("".charAt),eru=eeh("".charCodeAt),ers=eeh("".slice),erl=function(e){return function(t,n){var r,o,i=enA(eeD(t)),a=et$(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=eru(i,a))<55296||r>56319||a+1===u||(o=eru(i,a+1))<56320||o>57343?e?era(i,a):r:e?ers(i,a,a+2):o-56320+(r-55296<<10)+65536}},erc={codeAt:erl(!1),charAt:erl(!0)},erf=erc.charAt,erd=eet.Array,erp=Math.max,erh=function(e,t,n){for(var r=etG(e),o=etV(t,r),i=etV(void 0===n?r:n,r),a=erd(erp(i-o,0)),u=0;o<i;o++,u++)enm(a,u,e[o]);return a.length=u,a},erg=eet.TypeError,erv=function(e,t){var n=e.exec;if(eex(n)){var r=eei(n,e,t);return null!==r&&ets(r),r}if("RegExp"===eey(e))return eei(en3,e,t);throw erg("RegExp#exec called on incompatible receiver")},ery=enP.UNSUPPORTED_Y,erm=Math.min,erb=[].push,erw=eeh(/./.exec),erE=eeh(erb),erD=eeh("".slice);!function(e,t,n,r){var o=ee5(e),i=!een(function(){var t={};return t[o]=function(){return 7},7!=""[e](t)}),a=i&&!een(function(){var e=!1,t=/a/;return(t={}).constructor={},t.constructor[ere]=function(){return t},t.flags="",t[o]=/./[o],t.exec=function(){return e=!0,null},t[o](""),!e});if(!i||!a||n){var u,s,l,c=eeh(/./[o]),f=(u=""[e],s=function(e,t,n,r,o){var a=eeh(e),u=t.exec;return u===en3||u===ert.exec?i&&!o?{done:!0,value:c(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}},l="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,t){var n,r=enA(eeD(this)),o=void 0===t?0xffffffff:t>>>0;if(0===o)return[];if(void 0===e)return[r];if(!eeC(e)||!(void 0!==(n=e[ern])?n:"RegExp"==eey(e)))return eei(u,r,e,o);for(var i,a,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,d=RegExp(e.source,c+"g");(i=eei(en3,d,r))&&!((a=d.lastIndex)>f&&(erE(l,erD(r,f,i.index)),i.length>1&&i.index<r.length&&en9(erb,l,erh(i,1)),s=i[0].length,f=a,l.length>=o));)d.lastIndex===i.index&&d.lastIndex++;return f===r.length?!s&&erw(d,"")||erE(l,""):erE(l,erD(r,f)),l.length>o?erh(l,0,o):l}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:eei(u,this,e,t)}:u,[function(e,t){var n=eeD(this),r=null==e?void 0:eeH(e,o);return r?eei(r,e,n,t):eei(l,enA(n),e,t)},function(e,t){var n=ets(this),r=enA(e),o=s(l,n,r,t,l!==u);if(o.done)return o.value;var i=eri(n,RegExp),a=n.unicode,c=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(ery?"g":"y"),f=new i(ery?"^(?:"+n.source+")":n,c),d=void 0===t?0xffffffff:t>>>0;if(0===d)return[];if(0===r.length)return null===erv(f,r)?[r]:[];for(var p=0,h=0,g=[];h<r.length;){f.lastIndex=ery?0:h;var v,y,m=erv(f,ery?erD(r,h):r);if(null===m||(y=erm(etq(f.lastIndex+(ery?h:0)),r.length))===p)h=(v=h)+(a?erf(r,v).length:1);else{if(erE(g,erD(r,p,h)),g.length===d)return g;for(var b=1;b<=m.length-1;b++)if(erE(g,m[b]),g.length===d)return g;h=p=y}}return erE(g,erD(r,p)),g}]);etL(String.prototype,e,f[0]),etL(ert,o,f[1])}r&&etd(ert[o],"sham",!0)}("split",0,!!een(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),ery);var erS=function(){return(erS=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function erx(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,u)}s((r=r.apply(e,t||[])).next())})}function erC(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){var s=[i,u];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}var erO=ee5("unscopables"),erA=Array.prototype;null==erA[erO]&&etf.f(erA,erO,{configurable:!0,value:enU(null)});var erk,erT,erB,erF=function(e){erA[erO][e]=!0},erP={},er_=!een(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),erj=etE("IE_PROTO"),erI=eet.Object,erN=erI.prototype,erR=er_?erI.getPrototypeOf:function(e){var t=eeZ(e);if(eeY(t,erj))return t[erj];var n=t.constructor;return eex(n)&&t instanceof n?n.prototype:t instanceof erI?erN:null},erL=ee5("iterator"),erM=!1;[].keys&&("next"in(erB=[].keys())?(erT=erR(erR(erB)))!==Object.prototype&&(erk=erT):erM=!0),(null==erk||een(function(){var e={};return erk[erL].call(e)!==e}))&&(erk={}),eex(erk[erL])||etL(erk,erL,function(){return this});var erz=erk,er$=erM,erH=etf.f,erU=ee5("toStringTag"),erV=function(e,t,n){e&&!eeY(e=n?e:e.prototype,erU)&&erH(e,erU,{configurable:!0,value:t})},erW=function(){return this},erq=eet.String,erG=eet.TypeError,erK=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=eeh(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return ets(n),function(e){if(!("object"==typeof e||eex(e)))throw erG("Can't set "+erq(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),erZ=etR.PROPER,erX=etR.CONFIGURABLE,erY=ee5("iterator"),erJ=function(){return this},erQ=function(e,t,n,r,o,i,a){u=t+" Iterator",n.prototype=enU(erz,{next:eel(1,r)}),erV(n,u,!1),erP[u]=erW;var u,s,l,c,f=function(e){if(e===o&&g)return g;if(!er$&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=!1,p=e.prototype,h=p[erY]||p["@@iterator"]||o&&p[o],g=!er$&&h||f(o),v="Array"==t&&p.entries||h;if(v&&(s=erR(v.call(new e)))!==Object.prototype&&s.next&&(erR(s)!==erz&&(erK?erK(s,erz):eex(s[erY])||etL(s,erY,erJ)),erV(s,t+" Iterator",!0)),erZ&&"values"==o&&h&&"values"!==h.name&&(erX?etd(p,"name","values"):(d=!0,g=function(){return eei(h,this)})),o)if(l={values:f("values"),keys:i?g:f("keys"),entries:f("entries")},a)for(c in l)!er$&&!d&&c in p||etL(p,c,l[c]);else enn({target:t,proto:!0,forced:er$||d},l);return p[erY]!==g&&etL(p,erY,g,{name:o}),erP[t]=g,l},er0=et_("Array Iterator"),er1=erQ(Array,"Array",function(e,t){etB(this,{type:"Array Iterator",target:eeS(e),index:0,kind:t})},function(){var e=er0(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");erP.Arguments=erP.Array,erF("keys"),erF("values"),erF("entries");var er2=erc.charAt,er4=et_("String Iterator");erQ(String,"String",function(e){etB(this,{type:"String Iterator",string:enA(e),index:0})},function(){var e,t=er4(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=er2(n,r),t.index+=e.length,{value:e,done:!1})});var er3=function(e,t,n){for(var r in t)etL(e,r,t[r],n);return e},er6=et0.f,er5="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],er8={f:function(e){return er5&&"Window"==eey(e)?function(e){try{return er6(e)}catch(e){return erh(er5)}}(e):er6(eeS(e))}},er7=een(function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),er9=Object.isExtensible,eoe=een(function(){er9(1)})||er7?function(e){return!!eeC(e)&&(!er7||"ArrayBuffer"!=eey(e))&&(!er9||er9(e))}:er9,eot=!een(function(){return Object.isExtensible(Object.preventExtensions({}))}),eon=Q8(function(e){var t=etf.f,n=!1,r=ee1("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=et0.f,t=eeh([].splice),o={};o[r]=1,e(o).length&&(et0.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break}return o},enn({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:er8.f}))},fastKey:function(e,t){if(!eeC(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!eeY(e,r)){if(!eoe(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!eeY(e,r)){if(!eoe(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return eot&&n&&eoe(e)&&!eeY(e,r)&&i(e),e}};etD[r]=!0}),eor=eeh(eeh.bind),eoo=function(e,t){return ee$(e),void 0===t?e:eor?eor(e,t):function(){return e.apply(t,arguments)}},eoi=ee5("iterator"),eoa=Array.prototype,eou=ee5("iterator"),eos=function(e){if(null!=e)return eeH(e,eou)||eeH(e,"@@iterator")||erP[enl(e)]},eol=eet.TypeError,eoc=function(e,t,n){var r,o;ets(e);try{if(!(r=eeH(e,"return"))){if("throw"===t)throw n;return n}r=eei(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return ets(r),n},eof=eet.TypeError,eod=function(e,t){this.stopped=e,this.result=t},eop=eod.prototype,eoh=function(e,t,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=eoo(t,c),g=function(e){return r&&eoc(r,"normal",e),new eod(!0,e)},v=function(e){return f?(ets(e),p?h(e[0],e[1],g):h(e[0],e[1])):p?h(e,g):h(e)};if(d)r=e;else{if(!(o=eos(e)))throw eof(eeM(e)+" is not iterable");if(void 0!==o&&(erP.Array===o||eoa[eoi]===o)){for(i=0,a=etG(e);a>i;i++)if((u=v(e[i]))&&eeA(eop,u))return u;return new eod(!1)}r=function(e,t){var n=arguments.length<2?eos(e):t;if(ee$(n))return ets(eei(n,e));throw eol(eeM(e)+" is not iterable")}(e,o)}for(s=r.next;!(l=eei(s,r)).done;){try{u=v(l.value)}catch(e){eoc(r,"throw",e)}if("object"==typeof u&&u&&eeA(eop,u))return u}return new eod(!1)},eog=eet.TypeError,eov=function(e,t){if(eeA(t,e))return e;throw eog("Incorrect invocation")},eoy=ee5("iterator"),eom=!1;try{var eob=0,eow={next:function(){return{done:!!eob++}},return:function(){eom=!0}};eow[eoy]=function(){return this},Array.from(eow,function(){throw 2})}catch(e){}var eoE=function(e,t){if(!t&&!eom)return!1;var n=!1;try{var r={};r[eoy]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},eoD=ee5("species"),eoS=eet.Array,eox=function(e,t){var n;return new(enr(e)&&(eny(n=e.constructor)&&(n===eoS||enr(n.prototype))||eeC(n)&&null===(n=n[eoD]))&&(n=void 0),void 0===n?eoS:n)(0===t?0:t)},eoC=eeh([].push),eoO=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=eeZ(s),g=eew(h),v=eoo(l,c),y=etG(g),m=0,b=f||eox,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:eoC(w,d)}else switch(e){case 4:return!1;case 7:eoC(w,d)}return i?-1:r||o?o:w}},eoA={forEach:eoO(0),map:eoO(1),filter:eoO(2),some:eoO(3),every:eoO(4),find:eoO(5),findIndex:eoO(6),filterReject:eoO(7)},eok=eon.getWeakData,eoT=eoA.find,eoB=eoA.findIndex,eoF=eeh([].splice),eoP=0,eo_=function(e){return e.frozen||(e.frozen=new eoj)},eoj=function(){this.entries=[]},eoI=function(e,t){return eoT(e.entries,function(e){return e[0]===t})};eoj.prototype={get:function(e){var t=eoI(this,e);if(t)return t[1]},has:function(e){return!!eoI(this,e)},set:function(e,t){var n=eoI(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=eoB(this.entries,function(t){return t[0]===e});return~t&&eoF(this.entries,t,1),!!~t}};var eoN,eoR={getConstructor:function(e,t,n,r){var o=e(function(e,o){eov(e,i),etB(e,{type:t,id:eoP++,frozen:void 0}),null!=o&&eoh(o,e[r],{that:e,AS_ENTRIES:n})}),i=o.prototype,a=et_(t),u=function(e,t,n){var r=a(e),o=eok(ets(t),!0);return!0===o?eo_(r).set(t,n):o[r.id]=n,e};return er3(i,{delete:function(e){var t=a(this);if(!eeC(e))return!1;var n=eok(e);return!0===n?eo_(t).delete(e):n&&eeY(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!eeC(e))return!1;var n=eok(e);return!0===n?eo_(t).has(e):n&&eeY(n,t.id)}}),er3(i,n?{get:function(e){var t=a(this);if(eeC(e)){var n=eok(e);return!0===n?eo_(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return u(this,e,t)}}:{add:function(e){return u(this,e,!0)}}),o}},eoL=!eet.ActiveXObject&&"ActiveXObject"in eet,eoM=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},eoz=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=eet[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=eeh(u[e]);etL(u,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!eeC(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!eeC(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!eeC(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(et5(e,!eex(a)||!(o||u.forEach&&!een(function(){(new a).entries().next()}))))s=n.getConstructor(t,e,r,i),eon.enable();else if(et5(e,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=een(function(){f.has(1)}),h=eoE(function(e){new a(e)}),g=!o&&een(function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)});h||((s=t(function(e,t){eov(e,u);var n,o,l,c,f=(n=new a,o=s,erK&&eex(l=e.constructor)&&l!==o&&eeC(c=l.prototype)&&c!==o.prototype&&erK(n,c),n);return null!=t&&eoh(t,f[i],{that:f,AS_ENTRIES:r}),f})).prototype=u,u.constructor=s),(p||g)&&(c("delete"),c("has"),r&&c("get")),(g||d)&&c(i),o&&u.clear&&delete u.clear}return l[e]=s,enn({global:!0,forced:s!=a},l),erV(s,e),o||n.setStrong(s,e,r),s}("WeakMap",eoM,eoR);if(etb&&eoL){eoN=eoR.getConstructor(eoM,"WeakMap",!0),eon.enable();var eo$=eoz.prototype,eoH=eeh(eo$.delete),eoU=eeh(eo$.has),eoV=eeh(eo$.get),eoW=eeh(eo$.set);er3(eo$,{delete:function(e){if(eeC(e)&&!eoe(e)){var t=etP(this);return t.frozen||(t.frozen=new eoN),eoH(this,e)||t.frozen.delete(e)}return eoH(this,e)},has:function(e){if(eeC(e)&&!eoe(e)){var t=etP(this);return t.frozen||(t.frozen=new eoN),eoU(this,e)||t.frozen.has(e)}return eoU(this,e)},get:function(e){if(eeC(e)&&!eoe(e)){var t=etP(this);return t.frozen||(t.frozen=new eoN),eoU(this,e)?eoV(this,e):t.frozen.get(e)}return eoV(this,e)},set:function(e,t){if(eeC(e)&&!eoe(e)){var n=etP(this);n.frozen||(n.frozen=new eoN),eoU(this,e)?eoW(this,e,t):n.frozen.set(e,t)}else eoW(this,e,t);return this}})}var eoq={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},eoG=etn("span").classList,eoK=eoG&&eoG.constructor&&eoG.constructor.prototype,eoZ=eoK===Object.prototype?void 0:eoK,eoX=ee5("iterator"),eoY=ee5("toStringTag"),eoJ=er1.values,eoQ=function(e,t){if(e){if(e[eoX]!==eoJ)try{etd(e,eoX,eoJ)}catch(t){e[eoX]=eoJ}if(e[eoY]||etd(e,eoY,t),eoq[t]){for(var n in er1)if(e[n]!==er1[n])try{etd(e,n,er1[n])}catch(t){e[n]=er1[n]}}}};for(var eo0 in eoq)eoQ(eet[eo0]&&eet[eo0].prototype,eo0);eoQ(eoZ,"DOMTokenList");var eo1=function(e,t){var n=[][e];return!!n&&een(function(){n.call(null,t||function(){throw 1},1)})},eo2=eoA.forEach,eo4=eo1("forEach")?[].forEach:function(e){return eo2(this,e,arguments.length>1?arguments[1]:void 0)},eo3=function(e){if(e&&e.forEach!==eo4)try{etd(e,"forEach",eo4)}catch(t){e.forEach=eo4}};for(var eo6 in eoq)eoq[eo6]&&eo3(eet[eo6]&&eet[eo6].prototype);eo3(eoZ);var eo5,eo8,eo7,eo9,eie=eet.Promise,eit=ee5("species"),ein=/(?:ipad|iphone|ipod).*applewebkit/i.test(eek),eir="process"==eey(eet.process),eio=eet.setImmediate,eii=eet.clearImmediate,eia=eet.process,eiu=eet.Dispatch,eis=eet.Function,eil=eet.MessageChannel,eic=eet.String,eif=0,eid={};try{eo5=eet.location}catch(e){}var eip=function(e){if(eeY(eid,e)){var t=eid[e];delete eid[e],t()}},eih=function(e){return function(){eip(e)}},eig=function(e){eip(e.data)},eiv=function(e){eet.postMessage(eic(e),eo5.protocol+"//"+eo5.host)};eio&&eii||(eio=function(e){var t=enw(arguments,1);return eid[++eif]=function(){en9(eex(e)?e:eis(e),void 0,t)},eo8(eif),eif},eii=function(e){delete eid[e]},eir?eo8=function(e){eia.nextTick(eih(e))}:eiu&&eiu.now?eo8=function(e){eiu.now(eih(e))}:eil&&!ein?(eo9=(eo7=new eil).port2,eo7.port1.onmessage=eig,eo8=eoo(eo9.postMessage,eo9)):eet.addEventListener&&eex(eet.postMessage)&&!eet.importScripts&&eo5&&"file:"!==eo5.protocol&&!een(eiv)?(eo8=eiv,eet.addEventListener("message",eig,!1)):eo8="onreadystatechange"in etn("script")?function(e){enI.appendChild(etn("script")).onreadystatechange=function(){enI.removeChild(this),eip(e)}}:function(e){setTimeout(eih(e),0)});var eiy,eim,eib,eiw,eiE,eiD,eiS,eix,eiC=eio,eiO=/ipad|iphone|ipod/i.test(eek)&&void 0!==eet.Pebble,eiA=/web0s(?!.*chrome)/i.test(eek),eik=eti.f,eiT=eiC,eiB=eet.MutationObserver||eet.WebKitMutationObserver,eiF=eet.document,eiP=eet.process,ei_=eet.Promise,eij=eik(eet,"queueMicrotask"),eiI=eij&&eij.value;eiI||(eiy=function(){var e,t;for(eir&&(e=eiP.domain)&&e.exit();eim;){t=eim.fn,eim=eim.next;try{t()}catch(e){throw eim?eiw():eib=void 0,e}}eib=void 0,e&&e.enter()},ein||eir||eiA||!eiB||!eiF?!eiO&&ei_&&ei_.resolve?((eiS=ei_.resolve(void 0)).constructor=ei_,eix=eoo(eiS.then,eiS),eiw=function(){eix(eiy)}):eir?eiw=function(){eiP.nextTick(eiy)}:(eiT=eoo(eiT,eet),eiw=function(){eiT(eiy)}):(eiE=!0,eiD=eiF.createTextNode(""),new eiB(eiy).observe(eiD,{characterData:!0}),eiw=function(){eiD.data=eiE=!eiE}));var eiN,eiR,eiL,eiM,eiz=eiI||function(e){var t={fn:e,next:void 0};eib&&(eib.next=t),eim||(eim=t,eiw()),eib=t},ei$=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=ee$(t),this.reject=ee$(n)},eiH={f:function(e){return new ei$(e)}},eiU=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},eiV="object"==typeof window,eiW=ee5("species"),eiq="Promise",eiG=et_(eiq),eiK=et_(eiq),eiZ=eie&&eie.prototype,eiX=eie,eiY=eiZ,eiJ=eet.TypeError,eiQ=eet.document,ei0=eet.process,ei1=eiH.f,ei2=ei1,ei4=!!(eiQ&&eiQ.createEvent&&eet.dispatchEvent),ei3=eex(eet.PromiseRejectionEvent),ei6=!1,ei5=et5(eiq,function(){var e=ety(eiX),t=e!==String(eiX);if(!t&&66===ee_)return!0;if(ee_>=51&&/native code/.test(e))return!1;var n=new eiX(function(e){e(1)}),r=function(e){e(function(){},function(){})};return(n.constructor={})[eiW]=r,!(ei6=n.then(function(){})instanceof r)||!t&&eiV&&!ei3}),ei8=ei5||!eoE(function(e){eiX.all(e).catch(function(){})}),ei7=function(e){var t;return!(!eeC(e)||!eex(t=e.then))&&t},ei9=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;eiz(function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,u,s,l=n[i++],c=o?l.ok:l.fail,f=l.resolve,d=l.reject,p=l.domain;try{c?(o||(2===e.rejection&&ear(e),e.rejection=1),!0===c?a=r:(p&&p.enter(),a=c(r),p&&(p.exit(),s=!0)),a===l.promise?d(eiJ("Promise-chain cycle")):(u=ei7(a))?eei(u,a,f,d):f(a)):d(r)}catch(e){p&&!s&&p.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&eat(e)})}},eae=function(e,t,n){var r,o;ei4?((r=eiQ.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),eet.dispatchEvent(r)):r={promise:t,reason:n},!ei3&&(o=eet["on"+e])?o(r):"unhandledrejection"===e&&function(e,t){var n=eet.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},eat=function(e){eei(eiC,eet,function(){var t,n=e.facade,r=e.value;if(ean(e)&&(t=eiU(function(){eir?ei0.emit("unhandledRejection",r,n):eae("unhandledrejection",n,r)}),e.rejection=eir||ean(e)?2:1,t.error))throw t.value})},ean=function(e){return 1!==e.rejection&&!e.parent},ear=function(e){eei(eiC,eet,function(){var t=e.facade;eir?ei0.emit("rejectionHandled",t):eae("rejectionhandled",t,e.value)})},eao=function(e,t,n){return function(r){e(t,r,n)}},eai=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,ei9(e,!0))},eaa=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw eiJ("Promise can't be resolved itself");var r=ei7(t);r?eiz(function(){var n={done:!1};try{eei(r,t,eao(eaa,n,e),eao(eai,n,e))}catch(t){eai(n,t,e)}}):(e.value=t,e.state=1,ei9(e,!1))}catch(t){eai({done:!1},t,e)}}};if(ei5&&(eiY=(eiX=function(e){eov(this,eiY),ee$(e),eei(eiN,this);var t=eiG(this);try{e(eao(eaa,t),eao(eai,t))}catch(e){eai(t,e)}}).prototype,(eiN=function(e){etB(this,{type:eiq,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=er3(eiY,{then:function(e,t){var n=eiK(this),r=n.reactions,o=ei1(eri(this,eiX));return o.ok=!eex(e)||e,o.fail=eex(t)&&t,o.domain=eir?ei0.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&ei9(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),eiR=function(){var e=new eiN,t=eiG(e);this.promise=e,this.resolve=eao(eaa,t),this.reject=eao(eai,t)},eiH.f=ei1=function(e){return e===eiX||e===eiL?new eiR(e):ei2(e)},eex(eie)&&eiZ!==Object.prototype)){eiM=eiZ.then,ei6||(etL(eiZ,"then",function(e,t){var n=this;return new eiX(function(e,t){eei(eiM,n,e,t)}).then(e,t)},{unsafe:!0}),etL(eiZ,"catch",eiY.catch,{unsafe:!0}));try{delete eiZ.constructor}catch(e){}erK&&erK(eiZ,eiY)}enn({global:!0,wrap:!0,forced:ei5},{Promise:eiX}),erV(eiX,eiq,!1),eak=eeO("Promise"),eaT=etf.f,eer&&eak&&!eak[eit]&&eaT(eak,eit,{configurable:!0,get:function(){return this}}),eiL=eeO(eiq),enn({target:eiq,stat:!0,forced:ei5},{reject:function(e){var t=ei1(this);return eei(t.reject,void 0,e),t.promise}}),enn({target:eiq,stat:!0,forced:ei5},{resolve:function(e){if(ets(this),eeC(e)&&e.constructor===this)return e;var t=eiH.f(this);return(0,t.resolve)(e),t.promise}}),enn({target:eiq,stat:!0,forced:ei8},{all:function(e){var t=this,n=ei1(t),r=n.resolve,o=n.reject,i=eiU(function(){var n=ee$(t.resolve),i=[],a=0,u=1;eoh(e,function(e){var s=a++,l=!1;u++,eei(n,t,e).then(function(e){l||(l=!0,i[s]=e,--u||r(i))},o)}),--u||r(i)});return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=ei1(t),r=n.reject,o=eiU(function(){var o=ee$(t.resolve);eoh(e,function(e){eei(o,t,e).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}});var eau=etR.PROPER,eas=RegExp.prototype,eal=eas.toString,eac=eeh(enk),eaf=een(function(){return"/a/b"!=eal.call({source:"a",flags:"b"})}),ead=eau&&"toString"!=eal.name;(eaf||ead)&&etL(RegExp.prototype,"toString",function(){var e=ets(this),t=enA(e.source),n=e.flags;return"/"+t+"/"+enA(void 0===n&&eeA(eas,e)&&!("flags"in eas)?eac(e):n)},{unsafe:!0});var eap=etR.EXISTS,eah=etf.f,eag=Function.prototype,eav=eeh(eag.toString),eay=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,eam=eeh(eay.exec);eer&&!eap&&eah(eag,"name",{configurable:!0,get:function(){try{return eam(eay,eav(this))[1]}catch(e){return""}}});var eab=new WeakMap;function eaw(e){return e.getMenuConfig("uploadImage")}function eaE(e,t){var n,r;return erx(this,void 0,void 0,function(){var o,i,a,u,s,l,c,f;return erC(this,function(d){switch(d.label){case 0:if(null==t)return[2];o=Array.prototype.slice.call(t),a=(i=eaw(e)).customUpload,u=i.base64LimitSize,d.label=1;case 1:d.trys.push([1,11,12,17]),s=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,o){var i;i=(t=e[n](t)).done,Promise.resolve(t.value).then(function(e){r({value:e,done:i})},o)})}}}(o),d.label=2;case 2:return[4,s.next()];case 3:return(l=d.sent()).done?[3,10]:(f=(c=l.value).size,u&&f<=u?[4,function(e,t){return erx(this,void 0,void 0,function(){return erC(this,function(n){return[2,new Promise(function(n){var r=new FileReader;r.readAsDataURL(t),r.onload=function(){var o=r.result;if(o){var i=o.toString(),a=0===i.indexOf("data:image")?"":i;Pz(e,i,t.name,a),n("ok")}}})]})})}(e,c)]:[3,5]);case 4:case 6:return d.sent(),[3,9];case 5:return a?[4,a(c,function(t,n,r){return Pz(e,t,n,r)})]:[3,7];case 7:return[4,function(e,t){return erx(this,void 0,void 0,function(){var n,r,o,i;return erC(this,function(a){switch(a.label){case 0:return n=function(e){var t=eab.get(e);if(null!=t)return t;var n=eaw(e),r=n.onSuccess,o=n.onProgress,i=n.onFailed,a=n.customInsert,u=n.onError;return t=C4(erS(erS({},n),{onProgress:function(t){e.showProgressBar(t),o&&o(t)},onSuccess:function(t,n){if(a)return a(n,function(t,n,r){return Pz(e,t,n,r)}),void r(t,n);var o=n.errno,u=n.data,s=void 0===u?{}:u;if(0===(void 0===o?1:o)){if(Array.isArray(s))s.forEach(function(t){var n=t.url,r=t.alt,o=t.href;Pz(e,void 0===n?"":n,void 0===r?"":r,void 0===o?"":o)});else{var l=s.url,c=s.alt,f=s.href;Pz(e,void 0===l?"":l,void 0===c?"":c,void 0===f?"":f)}r(t,n)}else i(t,n)},onError:function(e,t,n){u(e,t,n)}})),eab.set(e,t),t}(e),r=t.name,o=t.type,i=t.size,n.addFile({name:r,type:o,size:i,data:t}),[4,n.upload()];case 1:return a.sent(),[2]}})})}(e,c)];case 8:d.sent(),d.label=9;case 9:return[3,2];case 10:return[3,17];case 11:return n={error:d.sent()},[3,17];case 12:return d.trys.push([12,,15,16]),l&&!l.done&&(r=s.return)?[4,r.call(s)]:[3,14];case 13:d.sent(),d.label=14;case 14:return[3,16];case 15:if(n)throw n.error;return[7];case 16:return[7];case 17:return[2]}})})}var eaD=eeh([].join),eaS=eew!=Object,eax=eo1("join",",");enn({target:"Array",proto:!0,forced:eaS||!eax},{join:function(e){return eaD(eeS(this),void 0===e?",":e)}}),fp&&(c2.fn.append=fp),fe&&(c2.fn.on=fe),fb&&(c2.fn.remove=fb),c9&&(c2.fn.val=c9),fA&&(c2.fn.click=fA),fi&&(c2.fn.hide=fi);var eaC=function(){function e(){this.title=O_("uploadImgModule.uploadImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M828.708571 585.045333a48.761905 48.761905 0 0 0-48.737523 48.761905v18.529524l-72.143238-72.167619a135.972571 135.972571 0 0 0-191.585524 0l-34.133334 34.133333-120.880762-120.953905a138.898286 138.898286 0 0 0-191.585523 0l-72.167619 72.167619V292.400762a48.786286 48.786286 0 0 1 48.761904-48.761905h341.23581a48.737524 48.737524 0 0 0 34.474667-83.285333 48.737524 48.737524 0 0 0-34.474667-14.287238H146.236952A146.212571 146.212571 0 0 0 0 292.400762v585.289143A146.358857 146.358857 0 0 0 146.236952 1024h584.996572a146.212571 146.212571 0 0 0 146.236952-146.310095V633.807238a48.786286 48.786286 0 0 0-48.761905-48.761905zM146.261333 926.45181a48.737524 48.737524 0 0 1-48.761904-48.761905v-174.128762l141.409523-141.458286a38.497524 38.497524 0 0 1 53.126096 0l154.526476 154.624 209.627428 209.724953H146.236952z m633.734096-48.761905c-0.073143 9.337905-3.145143 18.383238-8.777143 25.843809l-219.843048-220.94019 34.133333-34.133334a37.546667 37.546667 0 0 1 53.613715 0l140.873143 141.897143V877.714286zM1009.615238 160.231619L863.329524 13.897143a48.737524 48.737524 0 0 0-16.091429-10.24c-11.849143-4.87619-25.161143-4.87619-37.059047 0a48.761905 48.761905 0 0 0-16.067048 10.24l-146.236952 146.334476a49.005714 49.005714 0 0 0 69.217523 69.241905l62.902858-63.390476v272.627809a48.761905 48.761905 0 1 0 97.475047 0V166.083048l62.902857 63.390476a48.737524 48.737524 0 0 0 69.217524 0 48.761905 48.761905 0 0 0 0-69.241905z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return P$(e)},e.prototype.getMenuConfig=function(e){return e.getMenuConfig("uploadImage")},e.prototype.exec=function(e,t){var n=this.getMenuConfig(e),r=n.allowedFileTypes,o=void 0===r?[]:r,i=n.customBrowseAndUpload;if(i)i(function(t,n,r){return Pz(e,t,n,r)});else{var a="";o.length>0&&(a='accept="'+o.join(", ")+'"');var u=c2("body"),s=c2('<input type="file" '+a+" multiple/>");s.hide(),u.append(s),s.click(),s.on("change",function(){eaE(e,s[0].files)})}},e}();OF("en",{highLightModule:{selectLang:"Language"}}),OF("zh-CN",{highLightModule:{selectLang:"选择语言"}});var eaO="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function eaA(e){var t={exports:{}};return e(t,t.exports),t.exports}var eak,eaT,eaB,eaF,eaP=function(e){return e&&e.Math==Math&&e},ea_=eaP("object"==typeof globalThis&&globalThis)||eaP("object"==typeof window&&window)||eaP("object"==typeof self&&self)||eaP("object"==typeof eaO&&eaO)||function(){return this}()||Function("return this")(),eaj=Object.defineProperty,eaI=function(e,t){try{eaj(ea_,e,{value:t,configurable:!0,writable:!0})}catch(n){ea_[e]=t}return t},eaN=ea_["__core-js_shared__"]||eaI("__core-js_shared__",{}),eaR=eaA(function(e){(e.exports=function(e,t){return eaN[e]||(eaN[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})}),eaL=Function.prototype,eaM=eaL.bind,eaz=eaL.call,ea$=eaM&&eaM.bind(eaz),eaH=eaM?function(e){return e&&ea$(eaz,e)}:function(e){return e&&function(){return eaz.apply(e,arguments)}},eaU=ea_.TypeError,eaV=function(e){if(null==e)throw eaU("Can't call method on "+e);return e},eaW=ea_.Object,eaq=function(e){return eaW(eaV(e))},eaG=eaH({}.hasOwnProperty),eaK=Object.hasOwn||function(e,t){return eaG(eaq(e),t)},eaZ=0,eaX=Math.random(),eaY=eaH(1..toString),eaJ=function(e){return"Symbol("+(void 0===e?"":e)+")_"+eaY(++eaZ+eaX,36)},eaQ=function(e){return"function"==typeof e},ea0=function(e,t){var n;return arguments.length<2?eaQ(n=ea_[e])?n:void 0:ea_[e]&&ea_[e][t]},ea1=ea0("navigator","userAgent")||"",ea2=ea_.process,ea4=ea_.Deno,ea3=ea2&&ea2.versions||ea4&&ea4.version,ea6=ea3&&ea3.v8;ea6&&(eaF=(eaB=ea6.split("."))[0]>0&&eaB[0]<4?1:+(eaB[0]+eaB[1])),!eaF&&ea1&&(!(eaB=ea1.match(/Edge\/(\d+)/))||eaB[1]>=74)&&(eaB=ea1.match(/Chrome\/(\d+)/))&&(eaF=+eaB[1]);var ea5=eaF,ea8=function(e){try{return!!e()}catch(e){return!0}},ea7=!!Object.getOwnPropertySymbols&&!ea8(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ea5&&ea5<41}),ea9=ea7&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,eue=eaR("wks"),eut=ea_.Symbol,eun=eut&&eut.for,eur=ea9?eut:eut&&eut.withoutSetter||eaJ,euo=function(e){if(!eaK(eue,e)||!ea7&&"string"!=typeof eue[e]){var t="Symbol."+e;ea7&&eaK(eut,e)?eue[e]=eut[e]:eue[e]=ea9&&eun?eun(t):eur(t)}return eue[e]},eui={};eui[euo("toStringTag")]="z";var eua="[object z]"===String(eui),euu=!ea8(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),eus=function(e){return"object"==typeof e?null!==e:eaQ(e)},eul=ea_.document,euc=eus(eul)&&eus(eul.createElement),euf=function(e){return euc?eul.createElement(e):{}},eud=!euu&&!ea8(function(){return 7!=Object.defineProperty(euf("div"),"a",{get:function(){return 7}}).a}),eup=ea_.String,euh=ea_.TypeError,eug=function(e){if(eus(e))return e;throw euh(eup(e)+" is not an object")},euv=Function.prototype.call,euy=euv.bind?euv.bind(euv):function(){return euv.apply(euv,arguments)},eum=eaH({}.isPrototypeOf),eub=ea_.Object,euw=ea9?function(e){return"symbol"==typeof e}:function(e){var t=ea0("Symbol");return eaQ(t)&&eum(t.prototype,eub(e))},euE=ea_.String,euD=function(e){try{return euE(e)}catch(e){return"Object"}},euS=ea_.TypeError,eux=function(e){if(eaQ(e))return e;throw euS(euD(e)+" is not a function")},euC=function(e,t){var n=e[t];return null==n?void 0:eux(n)},euO=ea_.TypeError,euA=ea_.TypeError,euk=euo("toPrimitive"),euT=function(e){var t=function(e,t){if(!eus(e)||euw(e))return e;var n,r=euC(e,euk);if(r){if(void 0===t&&(t="default"),!eus(n=euy(r,e,t))||euw(n))return n;throw euA("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&eaQ(n=e.toString)&&!eus(r=euy(n,e))||eaQ(n=e.valueOf)&&!eus(r=euy(n,e))||"string"!==t&&eaQ(n=e.toString)&&!eus(r=euy(n,e)))return r;throw euO("Can't convert object to primitive value")}(e,t)}(e,"string");return euw(t)?t:t+""},euB=ea_.TypeError,euF=Object.defineProperty,euP={f:euu?euF:function(e,t,n){if(eug(e),t=euT(t),eug(n),eud)try{return euF(e,t,n)}catch(e){}if("get"in n||"set"in n)throw euB("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},eu_=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},euj=euu?function(e,t,n){return euP.f(e,t,eu_(1,n))}:function(e,t,n){return e[t]=n,e},euI=eaH(Function.toString);eaQ(eaN.inspectSource)||(eaN.inspectSource=function(e){return euI(e)});var euN,euR,euL,euM=eaN.inspectSource,euz=ea_.WeakMap,eu$=eaQ(euz)&&/native code/.test(euM(euz)),euH=eaR("keys"),euU=function(e){return euH[e]||(euH[e]=eaJ(e))},euV={},euW=ea_.TypeError,euq=ea_.WeakMap;if(eu$||eaN.state){var euG=eaN.state||(eaN.state=new euq),euK=eaH(euG.get),euZ=eaH(euG.has),euX=eaH(euG.set);euN=function(e,t){if(euZ(euG,e))throw new euW("Object already initialized");return t.facade=e,euX(euG,e,t),t},euR=function(e){return euK(euG,e)||{}},euL=function(e){return euZ(euG,e)}}else{var euY=euU("state");euV[euY]=!0,euN=function(e,t){if(eaK(e,euY))throw new euW("Object already initialized");return t.facade=e,euj(e,euY,t),t},euR=function(e){return eaK(e,euY)?e[euY]:{}},euL=function(e){return eaK(e,euY)}}var euJ=euR,euQ=Function.prototype,eu0=euu&&Object.getOwnPropertyDescriptor,eu1=eaK(euQ,"name"),eu2={EXISTS:eu1,PROPER:eu1&&"something"===(function(){}).name,CONFIGURABLE:eu1&&(!euu||euu&&eu0(euQ,"name").configurable)},eu4=eaA(function(e){var t=eu2.CONFIGURABLE,n=String(String).split("String");(e.exports=function(e,r,o,i){var a,u,s=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet,f=i&&void 0!==i.name?i.name:r;eaQ(o)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!eaK(o,"name")||t&&o.name!==f)&&euj(o,"name",f),(u=euL(a=o)?euR(a):euN(a,{})).source||(u.source=n.join("string"==typeof f?f:""))),e!==ea_?(s?!c&&e[r]&&(l=!0):delete e[r],l?e[r]=o:euj(e,r,o)):l?e[r]=o:eaI(r,o)})(Function.prototype,"toString",function(){return eaQ(this)&&euJ(this).source||euM(this)})}),eu3=eaH({}.toString),eu6=eaH("".slice),eu5=function(e){return eu6(eu3(e),8,-1)},eu8=euo("toStringTag"),eu7=ea_.Object,eu9="Arguments"==eu5(function(){return arguments}()),ese=eua?eu5:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=eu7(e),eu8))?n:eu9?eu5(t):"Object"==(r=eu5(t))&&eaQ(t.callee)?"Arguments":r};eua||eu4(Object.prototype,"toString",eua?({}).toString:function(){return"[object "+ese(this)+"]"},{unsafe:!0});var est,esn={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},esr=euf("span").classList,eso=esr&&esr.constructor&&esr.constructor.prototype,esi=eso===Object.prototype?void 0:eso,esa=eaH(eaH.bind),esu=ea_.Object,ess=eaH("".split),esl=ea8(function(){return!esu("z").propertyIsEnumerable(0)})?function(e){return"String"==eu5(e)?ess(e,""):esu(e)}:esu,esc=Math.ceil,esf=Math.floor,esd=function(e){var t=+e;return t!=t||0===t?0:(t>0?esf:esc)(t)},esp=Math.min,esh=function(e){return e>0?esp(esd(e),0x1fffffffffffff):0},esg=function(e){return esh(e.length)},esv=Array.isArray||function(e){return"Array"==eu5(e)},esy=function(){},esm=[],esb=ea0("Reflect","construct"),esw=/^\s*(?:class|function)\b/,esE=eaH(esw.exec),esD=!esw.exec(esy),esS=function(e){if(!eaQ(e))return!1;try{return esb(esy,esm,e),!0}catch(e){return!1}},esx=!esb||ea8(function(){var e;return esS(esS.call)||!esS(Object)||!esS(function(){e=!0})||e})?function(e){if(!eaQ(e))return!1;switch(ese(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return esD||!!esE(esw,euM(e))}:esS,esC=euo("species"),esO=ea_.Array,esA=function(e,t){var n;return new(esv(e)&&(esx(n=e.constructor)&&(n===esO||esv(n.prototype))||eus(n)&&null===(n=n[esC]))&&(n=void 0),void 0===n?esO:n)(0===t?0:t)},esk=eaH([].push),esT=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=eaq(s),g=esl(h),v=(eux(l),void 0===c?l:esa?esa(l,c):function(){return l.apply(c,arguments)}),y=esg(g),m=0,b=f||esA,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:esk(w,d)}else switch(e){case 4:return!1;case 7:esk(w,d)}return i?-1:r||o?o:w}},esB=[esT(0),esT(1),esT(2),esT(3),esT(4),esT(5),esT(6),esT(7)][0],esF=(est=[].forEach)&&ea8(function(){est.call(null,function(){throw 1},1)})?[].forEach:function(e){return esB(this,e,arguments.length>1?arguments[1]:void 0)},esP=function(e){if(e&&e.forEach!==esF)try{euj(e,"forEach",esF)}catch(t){e.forEach=esF}};for(var es_ in esn)esn[es_]&&esP(ea_[es_]&&ea_[es_].prototype);esP(esi);var esj={}.propertyIsEnumerable,esI=Object.getOwnPropertyDescriptor,esN={f:esI&&!esj.call({1:2},1)?function(e){var t=esI(this,e);return!!t&&t.enumerable}:esj},esR=function(e){return esl(eaV(e))},esL=Object.getOwnPropertyDescriptor,esM={f:euu?esL:function(e,t){if(e=esR(e),t=euT(t),eud)try{return esL(e,t)}catch(e){}if(eaK(e,t))return eu_(!euy(esN.f,e,t),e[t])}},esz=Math.max,es$=Math.min,esH=function(e,t){var n=esd(e);return n<0?esz(n+t,0):es$(n,t)},esU=function(e){return function(t,n,r){var o,i=esR(t),a=esg(i),u=esH(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},esV=(esU(!0),esU(!1)),esW=eaH([].push),esq=function(e,t){var n,r=esR(e),o=0,i=[];for(n in r)!eaK(euV,n)&&eaK(r,n)&&esW(i,n);for(;t.length>o;)eaK(r,n=t[o++])&&(~esV(i,n)||esW(i,n));return i},esG=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],esK=esG.concat("length","prototype"),esZ={f:Object.getOwnPropertyNames||function(e){return esq(e,esK)}},esX={f:Object.getOwnPropertySymbols},esY=eaH([].concat),esJ=ea0("Reflect","ownKeys")||function(e){var t=esZ.f(eug(e)),n=esX.f;return n?esY(t,n(e)):t},esQ=function(e,t){for(var n=esJ(t),r=euP.f,o=esM.f,i=0;i<n.length;i++){var a=n[i];eaK(e,a)||r(e,a,o(t,a))}},es0=/#|\.prototype\./,es1=function(e,t){var n=es4[es2(e)];return n==es6||n!=es3&&(eaQ(t)?ea8(t):!!t)},es2=es1.normalize=function(e){return String(e).replace(es0,".").toLowerCase()},es4=es1.data={},es3=es1.NATIVE="N",es6=es1.POLYFILL="P",es5=esM.f,es8=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?ea_:l?ea_[u]||eaI(u,{}):(ea_[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=es5(n,r))&&a.value:n[r],!es1(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;esQ(i,o)}(e.sham||o&&o.sham)&&euj(i,"sham",!0),eu4(n,r,i,e)}},es7=Object.keys||function(e){return esq(e,esG)},es9=Object.assign,ele=Object.defineProperty,elt=eaH([].concat),eln=!es9||ea8(function(){if(euu&&1!==es9({b:1},es9(ele({},"a",{enumerable:!0,get:function(){ele(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=es9({},e)[n]||es7(es9({},t)).join("")!=r})?function(e,t){for(var n=eaq(e),r=arguments.length,o=1,i=esX.f,a=esN.f;r>o;)for(var u,s=esl(arguments[o++]),l=i?elt(es7(s),i(s)):es7(s),c=l.length,f=0;c>f;)u=l[f++],euu&&!euy(a,s,u)||(n[u]=s[u]);return n}:es9;es8({target:"Object",stat:!0,forced:Object.assign!==eln},{assign:eln});var elr=eaA(function(e){var t,n,r=function(e){var t=/\blang(?:uage)?-([\w-]+)\b/i,n=0,r={},o={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,i;switch(n=n||{},o.util.type(t)){case"Object":if(n[i=o.util.objId(t)])return n[i];for(var a in r={},n[i]=r,t)t.hasOwnProperty(a)&&(r[a]=e(t[a],n));return r;case"Array":return n[i=o.util.objId(t)]?n[i]:(r=[],n[i]=r,t.forEach(function(t,o){r[o]=e(t,n)}),r);default:return t}},getLanguage:function(e){for(;e&&!t.test(e.className);)e=e.parentElement;return e?(e.className.match(t)||[,"none"])[1].toLowerCase():"none"},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw Error()}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=o.util.clone(o.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var i=(r=r||o.languages)[e],a={};for(var u in i)if(i.hasOwnProperty(u)){if(u==t)for(var s in n)n.hasOwnProperty(s)&&(a[s]=n[s]);n.hasOwnProperty(u)||(a[u]=i[u])}var l=r[e];return r[e]=a,o.languages.DFS(o.languages,function(t,n){n===l&&t!=e&&(this[t]=a)}),a},DFS:function e(t,n,r,i){i=i||{};var a=o.util.objId;for(var u in t)if(t.hasOwnProperty(u)){n.call(t,u,t[u],r||u);var s=t[u],l=o.util.type(s);"Object"!==l||i[a(s)]?"Array"!==l||i[a(s)]||(i[a(s)]=!0,e(s,n,u,i)):(i[a(s)]=!0,e(s,n,null,i))}}},plugins:{},highlightAll:function(e,t){o.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};o.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),o.hooks.run("before-all-elements-highlight",r);for(var i,a=0;i=r.elements[a++];)o.highlightElement(i,!0===t,r.callback)},highlightElement:function(n,r,i){var a=o.util.getLanguage(n),u=o.languages[a];n.className=n.className.replace(t,"").replace(/\s+/g," ")+" language-"+a;var s=n.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&(s.className=s.className.replace(t,"").replace(/\s+/g," ")+" language-"+a);var l={element:n,language:a,grammar:u,code:n.textContent};function c(e){l.highlightedCode=e,o.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,o.hooks.run("after-highlight",l),o.hooks.run("complete",l),i&&i.call(l.element)}if(o.hooks.run("before-sanity-check",l),(s=l.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!l.code)return o.hooks.run("complete",l),void(i&&i.call(l.element));if(o.hooks.run("before-highlight",l),l.grammar)if(r&&e.Worker){var f=new Worker(o.filename);f.onmessage=function(e){c(e.data)},f.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else c(o.highlight(l.code,l.grammar,l.language));else c(o.util.encode(l.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};return o.hooks.run("before-tokenize",r),r.tokens=o.tokenize(r.code,r.grammar),o.hooks.run("after-tokenize",r),i.stringify(o.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var l=new u;return s(l,l.head,e),function e(t,n,r,u,l,c){for(var f in r)if(r.hasOwnProperty(f)&&r[f]){var d=r[f];d=Array.isArray(d)?d:[d];for(var p=0;p<d.length;++p){if(c&&c.cause==f+","+p)return;var h=d[p],g=h.inside,v=!!h.lookbehind,y=!!h.greedy,m=h.alias;if(y&&!h.pattern.global){var b=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,b+"g")}for(var w=h.pattern||h,E=u.next,D=l;E!==n.tail&&!(c&&D>=c.reach);D+=E.value.length,E=E.next){var S=E.value;if(n.length>t.length)return;if(!(S instanceof i)){var x,C=1;if(y){if(!(x=a(w,D,t,v)))break;var O=x.index,A=x.index+x[0].length,k=D;for(k+=E.value.length;O>=k;)k+=(E=E.next).value.length;if(D=k-=E.value.length,E.value instanceof i)continue;for(var T=E;T!==n.tail&&(k<A||"string"==typeof T.value);T=T.next)C++,k+=T.value.length;C--,S=t.slice(D,k),x.index-=D}else if(!(x=a(w,0,S,v)))continue;O=x.index;var B=x[0],F=S.slice(0,O),P=S.slice(O+B.length),_=D+S.length;c&&_>c.reach&&(c.reach=_);var j=E.prev;if(F&&(j=s(n,j,F),D+=F.length),function(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o}(n,j,C),E=s(n,j,new i(f,g?o.tokenize(B,g):B,m,B)),P&&s(n,E,P),C>1){var I={cause:f+","+p,reach:_};e(t,n,r,E.prev,D,I),c&&I.reach>c.reach&&(c.reach=I.reach)}}}}}}(e,l,t,l.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(l)},hooks:{all:{},add:function(e,t){var n=o.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=o.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function u(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}if(e.Prism=o,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(i.classes,a):i.classes.push(a)),o.hooks.run("wrap",i);var u="";for(var s in i.attributes)u+=" "+s+'="'+(i.attributes[s]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+u+">"+i.content+"</"+i.tag+">"},!e.document)return e.addEventListener&&(o.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,a=n.immediateClose;e.postMessage(o.highlight(i,o.languages[r],r)),a&&e.close()},!1)),o;var l=o.util.currentScript();function c(){o.manual||o.highlightAll()}if(l&&(o.filename=l.src,l.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var f=document.readyState;"loading"===f||"interactive"===f&&l&&l.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return o}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==eaO&&(eaO.Prism=r),r.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:r.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};o["language-"+t]={pattern:/[\s\S]+/,inside:r.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:o},r.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(e,t){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:r.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml,t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,r.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},r.languages.css.atrule.inside.rest=r.languages.css,(n=r.languages.markup)&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css")),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),r.languages.js=r.languages.javascript,function(){if(void 0!==r&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},t="data-src-status",n='pre[data-src]:not([data-src-status="loaded"]):not([data-src-status="loading"])',o=/\blang(?:uage)?-([\w-]+)\b/i;r.hooks.add("before-highlightall",function(e){e.selector+=", "+n}),r.hooks.add("before-sanity-check",function(o){var i=o.element;if(i.matches(n)){o.code="",i.setAttribute(t,"loading");var u=i.appendChild(document.createElement("CODE"));u.textContent="Loading…";var s=i.getAttribute("data-src"),l=o.language;if("none"===l){var c=(/\.(\w+)$/.exec(s)||[,"none"])[1];l=e[c]||c}a(u,l),a(i,l);var f=r.plugins.autoloader;f&&f.loadLanguages(l);var d=new XMLHttpRequest;d.open("GET",s,!0),d.onreadystatechange=function(){4==d.readyState&&(d.status<400&&d.responseText?(i.setAttribute(t,"loaded"),u.textContent=d.responseText,r.highlightElement(u)):(i.setAttribute(t,"failed"),d.status>=400?u.textContent="✖ Error "+d.status+" while fetching file: "+d.statusText:u.textContent="✖ Error: File does not exist or is empty"))},d.send(null)}}),r.plugins.fileHighlight={highlight:function(e){for(var t,o=(e||document).querySelectorAll(n),i=0;t=o[i++];)r.highlightElement(t)}};var i=!1;r.fileHighlight=function(){i||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),i=!0),r.plugins.fileHighlight.highlight.apply(this,arguments)}}function a(e,t){var n=e.className;e.className=(n=n.replace(o," ")+" language-"+t).replace(/\s+/g," ").trim()}}()});!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(e,t){return RegExp(e=e.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return o}),t)}o=i(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/i,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx},alias:"language-javascript"}},e.languages.jsx.tag);var a=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(a).join(""):""},u=function(t){for(var n=[],r=0;r<t.length;r++){var o=t[r],i=!1;if("string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===a(o.content[0].content[1])&&n.pop():"/>"===o.content[o.content.length-1].content||n.push({tagName:a(o.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===o.type&&"{"===o.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof o)&&n.length>0&&0===n[n.length-1].openedBraces){var s=a(o);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(s+=a(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(s=a(t[r-1])+s,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",s,null,s)}o.content&&"string"!=typeof o.content&&u(o.content)}};e.hooks.add("after-tokenize",function(e){"jsx"!==e.language&&"tsx"!==e.language||u(e.tokens)})}(Prism),(elo=Prism).languages.typescript=elo.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),elo.languages.typescript.keyword.push(/\b(?:abstract|as|declare|implements|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete elo.languages.typescript.parameter,eli=elo.languages.extend("typescript",{}),delete eli["class-name"],elo.languages.typescript["class-name"].inside=eli,elo.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:eli}}}}),elo.languages.ts=elo.languages.typescript,Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,number:/(?:\b0x[a-f\d]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[-+]?\d+)?)i?/i,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/}),delete Prism.languages.go["class-name"],elu=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,els=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],ell=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,elc=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,elf=/[{}\[\](),:;]/,(ela=Prism).languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:elu,variable:/\$+(?:\w+\b|(?=\{))/i,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:bool|boolean|int|integer|float|string|object|array)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:bool|int|float|string|object|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*[\w|]\|\s*)(?:null|false)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?[\w|]\|\s*)(?:null|false)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:null|false)\b/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|match|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:els,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:ell,operator:elc,punctuation:elf},elp=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:eld={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:ela.languages.php}}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:eld}}],ela.languages.insertBefore("php","variable",{string:elp,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:elu,string:elp,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:els,number:ell,operator:elc,punctuation:elf}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),ela.hooks.add("before-tokenize",function(e){/<\?/.test(e.code)&&ela.languages["markup-templating"].buildPlaceholders(e,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/gi)}),ela.hooks.add("after-tokenize",function(e){ela.languages["markup-templating"].tokenizePlaceholders(e,"php")}),Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:__attribute__|_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete Prism.languages.c.boolean,Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/im,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python,elh=Prism,elg=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,ely={pattern:RegExp((elv=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}},elh.languages.java=elh.languages.extend("clike",{"class-name":[ely,{pattern:RegExp(elv+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:ely.inside}],keyword:elg,function:[elh.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),elh.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"}}),elh.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":ely,keyword:elg,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return elg.source})),lookbehind:!0,inside:{punctuation:/\./}}}),elm=Prism,elb=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char8_t|char16_t|char32_t|class|compl|concept|const|consteval|constexpr|constinit|const_cast|continue|co_await|co_return|co_yield|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,elw=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return elb.source}),elm.languages.cpp=elm.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return elb.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:elb,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:true|false)\b/}),elm.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:module|import)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return elw})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),elm.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:elm.languages.cpp}}}}),elm.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),elm.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:elm.languages.extend("cpp",{})}}),elm.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},elm.languages.cpp["base-clause"]),function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n<t;n++)e=e.replace(/<<self>>/g,function(){return"(?:"+e+")"});return e.replace(/<<self>>/g,"[^\\s\\S]")}var o="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",i="class enum interface record struct",a="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",u="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function s(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var l=s(i),c=RegExp(s(o+" "+i+" "+a+" "+u)),f=s(i+" "+a+" "+u),d=s(o+" "+i+" "+u),p=r(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),h=r(/\((?:[^()]|<<self>>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,v=t(/<<0>>(?:\s*<<1>>)?/.source,[g,p]),y=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[f,v]),m=/\[\s*(?:,\s*)*\]/.source,b=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[y,m]),w=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[p,h,m]),E=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[w]),D=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[E,y,m]),S={keyword:c,punctuation:/[<>()?,.:[\]]/},x=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,C=/"(?:\\.|[^\\"\r\n])*"/.source,O=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[O]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[C]),lookbehind:!0,greedy:!0},{pattern:RegExp(x),greedy:!0,alias:"character"}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[y]),lookbehind:!0,inside:S},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,D]),lookbehind:!0,inside:S},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[l,v]),lookbehind:!0,inside:S},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[y]),lookbehind:!0,inside:S},{pattern:n(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:S},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[D,d,g]),inside:S}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:ul|lu|[dflmu])?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[g]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|typeof|sizeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[h]),lookbehind:!0,alias:"class-name",inside:S},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[D,y]),inside:S,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[D]),lookbehind:!0,inside:S,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,p]),inside:{function:n(/^<<0>>/.source,[g]),generic:{pattern:RegExp(p),alias:"class-name",inside:S}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,v,g,D,c.source,h,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[v,h]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(D),greedy:!0,inside:S},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var A=C+"|"+x,k=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[A]),T=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[k]),2),B=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,F=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[y,T]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[B,F]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[B]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[T]),inside:e.languages.csharp},"class-name":{pattern:RegExp(y),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var P=/:[^}\r\n]+/.source,_=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[k]),2),j=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[_,P]),I=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[A]),2),N=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[I,P]);function R(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,P]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[j]),lookbehind:!0,greedy:!0,inside:R(j,_)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[N]),lookbehind:!0,greedy:!0,inside:R(N,I)}]})}(Prism),Prism.languages.dotnet=Prism.languages.cs=Prism.languages.csharp,Prism.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:[^\S\r\n]_[^\S\r\n]*(?:\r\n?|\n)|.)+/i,alias:"comment",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[^\S\r\n]*(?:\d+([/-])\d+\1\d+(?:[^\S\r\n]+(?:\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?))?|\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?)[^\S\r\n]*#/i,alias:"builtin"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:U?[ILS]|[FRD])?/i,boolean:/\b(?:True|False|Nothing)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Until|Xor)\b/i,operator:[/[+\-*/\\^<=>&#@$%!]/,{pattern:/([^\S\r\n])_(?=[^\S\r\n]*[\r\n])/,lookbehind:!0}],punctuation:/[{}().,:?]/},Prism.languages.vb=Prism.languages["visual-basic"],Prism.languages.vba=Prism.languages["visual-basic"],Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:S|ING)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:TRUE|FALSE|NULL)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|IN|ILIKE|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},(elE=Prism).languages.ruby=elE.languages.extend("clike",{comment:[/#.*/,{pattern:/^=begin\s[\s\S]*?^=end/m,greedy:!0}],"class-name":{pattern:/(\b(?:class)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|protected|private|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/}),elD={pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"tag"},rest:elE.languages.ruby}},delete elE.languages.ruby.function,elE.languages.insertBefore("ruby","keyword",{regex:[{pattern:RegExp(/%r/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:elD}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:elD}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:{pattern:/(^|[^:]):[a-zA-Z_]\w*(?:[?!]|\b)/,lookbehind:!0},"method-definition":{pattern:/(\bdef\s+)[\w.]+/,lookbehind:!0,inside:{function:/\w+$/,rest:elE.languages.ruby}}}),elE.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|Fixnum|Float|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,constant:/\b[A-Z]\w*(?:[?!]|\b)/}),elE.languages.ruby.string=[{pattern:RegExp(/%[qQiIwWxs]?/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"),greedy:!0,inside:{interpolation:elD}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:elD}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?/}},interpolation:elD}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?'|'$/}}}}],elE.languages.rb=elE.languages.ruby,Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:true|false)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:true|false)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=Prism.languages.swift}),function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,a=0;a<o.length;a++)i[o[a]]=e.languages.bash[o[a]];e.languages.shell=e.languages.bash}(Prism),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"font-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+i+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+i+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var o=t[n];if("code"===o.type){var i=o.content[1],a=o.content[3];if(i&&a&&"code-language"===i.type&&"code-block"===a.type&&"string"==typeof i.content){var u=i.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),s="language-"+(u=(/[a-z][\w-]*/i.exec(u)||[""])[0].toLowerCase());a.alias?"string"==typeof a.alias?a.alias=[a.alias,s]:a.alias.push(s):a.alias=[s]}}else e(o.content)}}(e.tokens)}),e.hooks.add("wrap",function(t){if("code-block"===t.type){for(var n="",r=0,o=t.classes.length;r<o;r++){var i=t.classes[r],l=/language-(.+)/.exec(i);if(l){n=l[1];break}}var c=e.languages[n];if(c)t.content=e.highlight(t.content.replace(a,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){return"#"===(t=t.toLowerCase())[0]?s("x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1))):u[t]||e}),c,n);else if(n&&"none"!==n&&e.plugins.autoloader){var f="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=f,e.plugins.autoloader.loadLanguages(n,function(){var t=document.getElementById(f);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))})}}});var a=RegExp(e.languages.markup.tag.pattern.source,"gi"),u={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(Prism),Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/},Prism.languages.groovy=Prism.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:as|def|in|abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),Prism.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),Prism.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:setup|given|when|then|and|cleanup|expect|where):/}),Prism.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),Prism.hooks.add("wrap",function(e){if("groovy"===e.language&&"string"===e.type){var t=e.content[0];if("'"!=t){var n=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===t&&(n=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),e.content=e.content.replace(/</g,"<").replace(/&/g,"&"),e.content=Prism.highlight(e.content,{expression:{pattern:n,lookbehind:!0,inside:Prism.languages.groovy}}),e.classes.push("/"===t?"regex":"gstring")}}});var elo,eli,ela,elu,els,ell,elc,elf,eld,elp,elh,elg,elv,ely,elm,elb,elw,elE,elD,elS,elx=["comment","prolog","doctype","cdata","punctuation","namespace","property","tag","boolean","number","constant","symbol","deleted","selector","attr-name","string","builtin","inserted","operator","entity","url","string","atrule","attr-value","keyword","function","class-name","regex","important","variable","bold","italic","entity","char"],elC=ea_.String,elO=function(e){if("Symbol"===ese(e))throw TypeError("Cannot convert a Symbol value to a string");return elC(e)},elA=function(){var e=eug(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},elk=ea_.RegExp,elT=ea8(function(){var e=elk("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),elB=elT||ea8(function(){return!elk("a","y").sticky}),elF={BROKEN_CARET:elT||ea8(function(){var e=elk("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),MISSED_STICKY:elB,UNSUPPORTED_Y:elT},elP=euu?Object.defineProperties:function(e,t){eug(e);for(var n,r=esR(t),o=es7(t),i=o.length,a=0;i>a;)euP.f(e,n=o[a++],r[n]);return e},el_=ea0("document","documentElement"),elj=euU("IE_PROTO"),elI=function(){},elN=function(e){return"<script>"+e+"<\/script>"},elR=function(e){e.write(elN("")),e.close();var t=e.parentWindow.Object;return e=null,t},elL=function(){try{elS=new ActiveXObject("htmlfile")}catch(e){}elL="undefined"!=typeof document?document.domain&&elS?elR(elS):((t=euf("iframe")).style.display="none",el_.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(elN("document.F=Object")),e.close(),e.F):elR(elS);for(var e,t,n=esG.length;n--;)delete elL.prototype[esG[n]];return elL()};euV[elj]=!0;var elM,elz,el$=Object.create||function(e,t){var n;return null!==e?(elI.prototype=eug(e),n=new elI,elI.prototype=null,n[elj]=e):n=elL(),void 0===t?n:elP(n,t)},elH=ea_.RegExp,elU=ea8(function(){var e=elH(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),elV=ea_.RegExp,elW=ea8(function(){var e=elV("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),elq=eaR("native-string-replace",String.prototype.replace),elG=RegExp.prototype.exec,elK=elG,elZ=eaH("".charAt),elX=eaH("".indexOf),elY=eaH("".replace),elJ=eaH("".slice),elQ=(elz=/b*/g,euy(elG,elM=/a/,"a"),euy(elG,elz,"a"),0!==elM.lastIndex||0!==elz.lastIndex),el0=elF.BROKEN_CARET,el1=void 0!==/()??/.exec("")[1];(elQ||el1||el0||elU||elW)&&(elK=function(e){var t,n,r,o,i,a,u,s=euJ(this),l=elO(e),c=s.raw;if(c)return c.lastIndex=this.lastIndex,t=euy(elK,c,l),this.lastIndex=c.lastIndex,t;var f=s.groups,d=el0&&this.sticky,p=euy(elA,this),h=this.source,g=0,v=l;if(d&&(-1===elX(p=elY(p,"y",""),"g")&&(p+="g"),v=elJ(l,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==elZ(l,this.lastIndex-1))&&(h="(?: "+h+")",v=" "+v,g++),n=RegExp("^(?:"+h+")",p)),el1&&(n=RegExp("^"+h+"$(?!\\s)",p)),elQ&&(r=this.lastIndex),o=euy(elG,d?n:this,v),d?o?(o.input=elJ(o.input,g),o[0]=elJ(o[0],g),o.index=this.lastIndex,this.lastIndex+=o[0].length):this.lastIndex=0:elQ&&o&&(this.lastIndex=this.global?o.index+o[0].length:r),el1&&o&&o.length>1&&euy(elq,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)}),o&&f)for(o.groups=a=el$(null),i=0;i<f.length;i++)a[(u=f[i])[0]]=o[u[1]];return o});var el2=elK;es8({target:"RegExp",proto:!0,forced:/./.exec!==el2},{exec:el2});var el4=Function.prototype,el3=el4.apply,el6=el4.bind,el5=el4.call,el8="object"==typeof Reflect&&Reflect.apply||(el6?el5.bind(el3):function(){return el5.apply(el3,arguments)}),el7=euo("species"),el9=RegExp.prototype,ece=euo("match"),ect=ea_.TypeError,ecn=euo("species"),ecr=eaH("".charAt),eco=eaH("".charCodeAt),eci=eaH("".slice),eca=function(e){return function(t,n){var r,o,i=elO(eaV(t)),a=esd(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=eco(i,a))<55296||r>56319||a+1===u||(o=eco(i,a+1))<56320||o>57343?e?ecr(i,a):r:e?eci(i,a,a+2):o-56320+(r-55296<<10)+65536}},ecu=(eca(!1),eca(!0)),ecs=ea_.Array,ecl=Math.max,ecc=function(e,t,n){for(var r,o,i,a=esg(e),u=esH(t,a),s=esH(void 0===n?a:n,a),l=ecs(ecl(s-u,0)),c=0;u<s;u++,c++)r=c,o=e[u],(i=euT(r))in l?euP.f(l,i,eu_(0,o)):l[i]=o;return l.length=c,l},ecf=ea_.TypeError,ecd=function(e,t){var n=e.exec;if(eaQ(n)){var r=euy(n,e,t);return null!==r&&eug(r),r}if("RegExp"===eu5(e))return euy(el2,e,t);throw ecf("RegExp#exec called on incompatible receiver")},ecp=elF.UNSUPPORTED_Y,ech=Math.min,ecg=[].push,ecv=eaH(/./.exec),ecy=eaH(ecg),ecm=eaH("".slice);!function(e,t,n,r){var o=euo(e),i=!ea8(function(){var t={};return t[o]=function(){return 7},7!=""[e](t)}),a=i&&!ea8(function(){var e=!1,t=/a/;return(t={}).constructor={},t.constructor[el7]=function(){return t},t.flags="",t[o]=/./[o],t.exec=function(){return e=!0,null},t[o](""),!e});if(!i||!a||n){var u,s,l,c=eaH(/./[o]),f=(u=""[e],s=function(e,t,n,r,o){var a=eaH(e),u=t.exec;return u===el2||u===el9.exec?i&&!o?{done:!0,value:c(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}},l="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,t){var n,r=elO(eaV(this)),o=void 0===t?0xffffffff:t>>>0;if(0===o)return[];if(void 0===e)return[r];if(!eus(e)||!(void 0!==(n=e[ece])?n:"RegExp"==eu5(e)))return euy(u,r,e,o);for(var i,a,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,d=RegExp(e.source,c+"g");(i=euy(el2,d,r))&&!((a=d.lastIndex)>f&&(ecy(l,ecm(r,f,i.index)),i.length>1&&i.index<r.length&&el8(ecg,l,ecc(i,1)),s=i[0].length,f=a,l.length>=o));)d.lastIndex===i.index&&d.lastIndex++;return f===r.length?!s&&ecv(d,"")||ecy(l,""):ecy(l,ecm(r,f)),l.length>o?ecc(l,0,o):l}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:euy(u,this,e,t)}:u,[function(e,t){var n=eaV(this),r=null==e?void 0:euC(e,o);return r?euy(r,e,n,t):euy(l,elO(n),e,t)},function(e,t){var n=eug(this),r=elO(e),o=s(l,n,r,t,l!==u);if(o.done)return o.value;var i=(v=RegExp,void 0===(m=eug(n).constructor)||null==(y=eug(m)[ecn])?v:function(e){if(esx(e))return e;throw ect(euD(e)+" is not a constructor")}(y)),a=n.unicode,c=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(ecp?"g":"y"),f=new i(ecp?"^(?:"+n.source+")":n,c),d=void 0===t?0xffffffff:t>>>0;if(0===d)return[];if(0===r.length)return null===ecd(f,r)?[r]:[];for(var p=0,h=0,g=[];h<r.length;){f.lastIndex=ecp?0:h;var v,y,m,b,w,E=ecd(f,ecp?ecm(r,h):r);if(null===E||(w=ech(esh(f.lastIndex+(ecp?h:0)),r.length))===p)h=(b=h)+(a?ecu(r,b).length:1);else{if(ecy(g,ecm(r,p,h)),g.length===d)return g;for(var D=1;D<=E.length-1;D++)if(ecy(g,E[D]),g.length===d)return g;h=p=w}}return ecy(g,ecm(r,p)),g}]);eu4(String.prototype,e,f[0]),eu4(el9,o,f[1])}r&&euj(el9[o],"sham",!0)}("split",0,!!ea8(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),ecp),es8({global:!0},{globalThis:ea_}),c5&&(c2.fn.attr=c5);var ecb=eu2.PROPER,ecw=RegExp.prototype,ecE=ecw.toString,ecD=eaH(elA),ecS=ea8(function(){return"/a/b"!=ecE.call({source:"a",flags:"b"})}),ecx=ecb&&"toString"!=ecE.name;(ecS||ecx)&&eu4(RegExp.prototype,"toString",function(){var e=eug(this),t=elO(e.source),n=e.flags;return"/"+t+"/"+elO(void 0===n&&eum(ecw,e)&&!("flags"in ecw)?ecD(e):n)},{unsafe:!0});var ecC=function(){function e(){this.title=O_("highLightModule.selectLang"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M64 64v896h896V64H64z m487.6 698.8c0 87.2-51.2 127-125.8 127-67.4 0-106.4-34.8-126.4-77l68.6-41.4c13.2 23.4 25.2 43.2 54.2 43.2 27.6 0 45.2-10.8 45.2-53V475.4h84.2v287.4z m199.2 127c-78.2 0-128.8-37.2-153.4-86l68.6-39.6c18 29.4 41.6 51.2 83 51.2 34.8 0 57.2-17.4 57.2-41.6 0-28.8-22.8-39-61.4-56l-21-9c-60.8-25.8-101-58.4-101-127 0-63.2 48.2-111.2 123.2-111.2 53.6 0 92 18.6 119.6 67.4L800 580c-14.4-25.8-30-36-54.2-36-24.6 0-40.2 15.6-40.2 36 0 25.2 15.6 35.4 51.8 51.2l21 9c71.6 30.6 111.8 62 111.8 132.4 0 75.6-59.6 117.2-139.4 117.2z"></path></svg>',this.tag="select",this.width=95,this.selectPanelWidth=115}return e.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig("codeSelectLang").codeLangs;t.push({text:"plain text",value:""}),(void 0===n?[]:n).forEach(function(e){var n=e.text,r=e.value;t.push({text:n,value:r})});var r=this.getValue(e);return t.forEach(function(e){e.value===r?e.selected=!0:delete e.selected}),t},e.prototype.isActive=function(e){return!1},e.prototype.getValue=function(e){var t=this.getSelectCodeElem(e);if(null==t||!lf.isElement(t))return"";var n=t.language.toString(),r=e.getMenuConfig("codeSelectLang").codeLangs;return(void 0===r?[]:r).some(function(e){return e.value===n})?n:""},e.prototype.isDisabled=function(e){return null==e.selection||!this.getSelectCodeElem(e)},e.prototype.exec=function(e,t){if(null!=this.getSelectCodeElem(e)){var n={language:t.toString()};l6.setNodes(e,n,{match:function(e){return Dn.checkNodeType(e,"code")}})}},e.prototype.getSelectCodeElem=function(e){var t=Dn.getSelectedNodeByType(e,"code");if(null==t)return null;var n=Dn.getParentNode(e,t);return lf.isElement(n)?"pre"!==n.type?null:t:null},e}(),ecO={renderStyle:function(e,t){var n,r,o="";return elx.forEach(function(t){e[t]&&(o=t)}),o&&(n=o="token "+o,null==t.data&&(t.data={}),null==(r=t.data).props&&(r.props={}),Object.assign(r.props,{className:n})),t},parseStyleHtml:function(e,t,n){var r=c2(e);if(!lf.isElement(t)||"code"!==Dn.getNodeType(t))return t;var o=r.attr("class")||"";return 0===o.indexOf("language-")?t.language=o.split("-")[1]||"":t.language=o.toLowerCase(),t},menus:[{key:"codeSelectLang",factory:function(){return new ecC},config:{codeLangs:[{text:"CSS",value:"css"},{text:"HTML",value:"html"},{text:"XML",value:"xml"},{text:"Javascript",value:"javascript"},{text:"Typescript",value:"typescript"},{text:"JSX",value:"jsx"},{text:"Go",value:"go"},{text:"PHP",value:"php"},{text:"C",value:"c"},{text:"Python",value:"python"},{text:"Java",value:"java"},{text:"C++",value:"cpp"},{text:"C#",value:"csharp"},{text:"Visual Basic",value:"visual-basic"},{text:"SQL",value:"sql"},{text:"Ruby",value:"ruby"},{text:"Swift",value:"swift"},{text:"Bash",value:"bash"},{text:"Lua",value:"lua"},{text:"Groovy",value:"groovy"},{text:"Markdown",value:"markdown"}]}}],elemsToHtml:[{type:"code",elemToHtml:function(e,t){var n=e.language,r=void 0===n?"":n;return"<code "+(r?'class="language-'+r+'"':"")+">"+t+"</code>"}}]},ecA=/"/g,eck=eaH("".replace);es8({target:"String",proto:!0,forced:ea8(function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3})},{anchor:function(e){var t,n;return t=elO(eaV(this)),'<a name="'+eck(elO(e),ecA,""")+'">'+t+"</a>"}});var ecT=function(e){var t,n,r,o=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}(e,2),i=o[0],a=o[1],u=[],s=function(e){if(!l$.isText(e))return null;var t=Dn.getParentNode(null,e);if(t&&"code"===Dn.getNodeType(t)){var n=Dn.getParentNode(null,t);if(n&&"pre"===Dn.getNodeType(n))return t}return null}(i);if(null==s)return u;var l=s.language,c=void 0===l?"":l;if(!c)return u;var f=function(e,t){if(!t)return[];var n=elr.languages[t];return n?elr.tokenize(e.text,n):[]}(i,c),d=0;try{for(var p=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(f),h=p.next();!h.done;h=p.next()){var g=h.value,v=d+function e(t){return"string"==typeof t?t.length:"string"==typeof t.content?t.content.length:t.content.reduce(function(t,n){return t+e(n)},0)}(g);"string"!=typeof g&&u.push(((r={})[g.type]=!0,r.anchor={path:a,offset:d},r.focus={path:a,offset:v},r)),d=v}}catch(e){t={error:e}}finally{try{h&&!h.done&&(n=p.return)&&n.call(p)}finally{if(t)throw t.error}}return u},ecB=function(){return(ecB=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},ecF=function(){function e(){throw Error("不能实例化\nCan not construct a instance")}return e.setEditorConfig=function(e){void 0===e&&(e={}),this.editorConfig=ecB(ecB({},this.editorConfig),e)},e.setSimpleEditorConfig=function(e){void 0===e&&(e={}),this.simpleEditorConfig=ecB(ecB({},this.simpleEditorConfig),e)},e.setToolbarConfig=function(e){void 0===e&&(e={}),this.toolbarConfig=ecB(ecB({},this.toolbarConfig),e)},e.setSimpleToolbarConfig=function(e){void 0===e&&(e={}),this.simpleToolbarConfig=ecB(ecB({},this.simpleToolbarConfig),e)},e.registerPlugin=function(e){this.plugins.push(e)},e.registerMenu=function(e,t){!function(e,t){var n=e.key,r=e.factory,o=e.config,i=wF(wF({},o),t||{});if(null!=Di[n])throw Error("Duplicated key '"+n+"' in menu items");Di[n]=r,null!=i&&(Do[n]=i)}(e,t)},e.registerRenderElem=function(e){var t,n;t=e.type,n=e.renderElem,Ce[t||""]=n},e.registerRenderStyle=function(e){x9.push(e)},e.registerElemToHtml=function(e){var t,n;t=e.type,n=e.elemToHtml,Dy[t||""]=n},e.registerStyleToHtml=function(e){Dv.push(e)},e.registerPreParseHtml=function(e){Sq.push(e)},e.registerParseElemHtml=function(e){var t,n;t=e.selector,n=e.parseElemHtml,SK[t]=n},e.registerParseStyleHtml=function(e){SG.push(e)},e.registerModule=function(e){ecP(e)},e.editorConfig={},e.simpleEditorConfig={},e.toolbarConfig={},e.simpleToolbarConfig={},e.plugins=[],e}();function ecP(e){var t=e.menus,n=e.renderElems,r=e.renderStyle,o=e.elemsToHtml,i=e.styleToHtml,a=e.preParseHtml,u=e.parseElemsHtml,s=e.parseStyleHtml,l=e.editorPlugin;t&&t.forEach(function(e){return ecF.registerMenu(e)}),n&&n.forEach(function(e){return ecF.registerRenderElem(e)}),r&&ecF.registerRenderStyle(r),o&&o.forEach(function(e){return ecF.registerElemToHtml(e)}),i&&ecF.registerStyleToHtml(i),a&&a.forEach(function(e){return ecF.registerPreParseHtml(e)}),u&&u.forEach(function(e){return ecF.registerParseElemHtml(e)}),s&&ecF.registerParseStyleHtml(s),l&&ecF.registerPlugin(l)}RE.forEach(function(e){return ecP(e)}),ecP({renderElems:[{type:"list-item",renderElem:function(e,t,n){$T.set(e,n);var r=e.level,o=void 0===r?0:r,i=e.ordered,a="";a=void 0!==i&&i?function(e,t){var n=t.type,r=t.level,o=void 0===r?0:r,i=t.ordered,a=void 0!==i&&i;if(!a)return -1;var u=1,s=t,l=Dn.findPath(e,s);if(0===l[0])return 1;for(;l[0]>0;){var c=lO.previous(l),f=ly.node(e,c);if(null==f)break;var d=f[0],p=d.level,h=void 0===p?0:p,g=d.type,v=d.ordered;if(g!==n||h<o)break;if(h===o){if(v!==a)break;u++}s=d,l=c}return u}(n,e)+".":function(e){void 0===e&&(e=0);var t="";switch(e){case 0:t="•";break;case 1:t="◦";break;default:t="▪"}return t}(o);var u=function(e){var t,n=e.children||[],r=n.length;if(0===r)return"";for(var o=0;o<r&&!t;o++){var i=n[o];l$.isText(i)&&(t=i)}return null==t?"":t.color||""}(e);return dw("div",{style:{margin:"5px 0 5px "+20*o+"px"}},dw("span",{contentEditable:!1,style:{marginRight:"0.5em",color:u},"data-w-e-reserve":!0},a),dw("span",null,t))}}],editorPlugin:function(e){var t=e.deleteBackward,n=e.handleTab,r=e.normalizeNode;return e.deleteBackward=function(n){var r=e.selection;if(null!=r)if(lj.isExpanded(r))t(n);else{var o=Dn.getSelectedNodeByType(e,"list-item");if(null!=o)if(0!==r.focus.offset)t(n);else{var i=o.level,a=void 0===i?0:i;a>0?l6.setNodes(e,{level:a-1}):l6.setNodes(e,{type:"paragraph",ordered:void 0,level:void 0})}else t(n)}else t(n)},e.handleTab=function(){var t,r,o,i,a=e.selection;if(null!=a){if(lj.isCollapsed(a)){var u=Dn.getSelectedNodeByType(e,"list-item");if(null==u)return void n();if(0===a.focus.offset){var s=u.level,l=void 0===s?0:s;return void l6.setNodes(e,{level:l+1})}}if(lj.isExpanded(a)){var c=0,f=!1;try{for(var d=$P($j(e)),p=d.next();!p.done;p=d.next()){var h=$_(p.value,1)[0];"list-item"===Dn.getNodeType(h)?c++:f=!0}}catch(e){t={error:e}}finally{try{p&&!p.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}if(f||c<=1)return void n();try{for(var g=$P($j(e)),v=g.next();!v.done;v=g.next()){var y=$_(v.value,2),m=(h=y[0],y[1]),b=h.level;l=void 0===b?0:b,l6.setNodes(e,{level:l+1},{at:m})}}catch(e){o={error:e}}finally{try{v&&!v.done&&(i=g.return)&&i.call(g)}finally{if(o)throw o.error}}}else n()}else n()},e.normalizeNode=function(t){var n=$_(t,2),o=n[0],i=n[1],a=Dn.getNodeType(o);return"bulleted-list"!==a&&"numbered-list"!==a||l6.unwrapNodes(e,{at:i}),r([o,i])},e},menus:[{key:"bulletedList",factory:function(){return new $6}},{key:"numberedList",factory:function(){return new $5}}],elemsToHtml:[{type:"list-item",elemToHtml:function(e,t){var n="",r="",o=e.ordered,i=void 0!==o&&o?"ol":"ul",a=function(e){var t=$T.get(e);if(null==t)return 0;var n=e.type,r=e.ordered,o=e.level,i=void 0===o?0:o,a=Dn.findPath(t,e);if(0===a[0])return i+1;var u=lO.previous(a),s=ly.node(t,u);if(!s)return 0;var l=$_(s,1)[0];if(Dn.getNodeType(l)!==n)return i+1;var c=l.ordered,f=l.level,d=void 0===f?0:f;return d<i?i-d:d>i?0:d===i?+((void 0!==c&&c)!==(void 0!==r&&r)):0}(e);if(a>0)for(var u=0;u<a;u++)n+="<"+i+">",$8.push(i);var s=function(e){var t=$T.get(e);if(null==t)return 0;var n=e.type,r=e.ordered,o=e.level,i=void 0===o?0:o,a=Dn.findPath(t,e);if(a[0]===t.children.length-1)return i+1;var u=lO.next(a),s=ly.node(t,u);if(!s)return 0;var l=$_(s,1)[0];if(Dn.getNodeType(l)!==n)return i+1;var c=l.ordered,f=l.level,d=void 0===f?0:f;return d<i?i-d:d>i?0:d===i?+((void 0!==c&&c)!==(void 0!==r&&r)):0}(e);if(s>0)for(u=0;u<s;u++)r+="</"+$8.pop()+">";return{html:"<li>"+t+"</li>",prefix:n,suffix:r}}}],parseElemsHtml:[{selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(e,t,n){return t.flat(1/0)}},{selector:"li:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=c2(e);return 0===(t=t.filter(function(e){return!!l$.isText(e)||!!n.isInline(e)})).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"list-item",ordered:"ol"===HA(r.parent()),level:function(e){for(var t=0,n=e.parent(),r=HA(n);"ul"===r||"ol"===r;)r=HA(n=n.parent()),t++;return t-1}(r),children:t}}}]}),ecP({renderElems:[{type:"table",renderElem:function(e,t,n){var r=function(e,t){if(e.isDisabled())return!1;var n=e.selection;if(null==n||lj.isCollapsed(n))return!0;var r=n.anchor,o=n.focus,i=Dn.findPath(e,t),a=ly.start(e,i),u=ly.end(e,i),s=0>=lB.compare(r,u)&&lB.compare(r,a)>=0,l=0>=lB.compare(o,u)&&lB.compare(o,a)>=0;return!!(s&&l&&lO.equals(r.path.slice(0,3),o.path.slice(0,3)))}(n,e),o=e.width;return dw("div",{className:"table-container","data-selected":Dn.isNodeSelected(n,e),on:{mousedown:function(t){if("DIV"===t.target.tagName&&t.preventDefault(),!n.isDisabled()){var r=Dn.findPath(n,e),o=ly.start(n,r),i=n.selection;null!=i?i.anchor.path[0]!==r[0]&&n.select(o):n.select(o)}}}},dw("table",{width:void 0===o?"auto":o,contentEditable:r},dw("colgroup",null,WM(e).map(function(e){var t=e.width;return dw("col",{width:void 0===t?"auto":t})})),dw("tbody",null,t)))}},{type:"table-row",renderElem:function(e,t,n){return dw("tr",null,t)}},{type:"table-cell",renderElem:function(e,t,n){var r=function(e,t){var n=Dn.getParentNode(e,t);if(null==n)return!1;var r=Dn.getParentNode(e,n);return null!=r&&WM(r).some(function(e){return e===t})}(n,e),o=e.colSpan,i=void 0===o?1:o,a=e.rowSpan,u=void 0===a?1:a,s=e.isHeader;return r?dw(void 0!==s&&s?"th":"td",{colSpan:i,rowSpan:u,style:{borderRightWidth:"3px"},on:{mousemove:f4(function(t){var r=this.elm;if(null!=r){var o=r.getBoundingClientRect(),i=o.left,a=o.width,u=o.top,s=o.height,l=t.clientX,c=t.clientY;qC||(l>i+a-5&&l<i+a&&c>u&&c<u+s?(r.style.cursor="col-resize",qT=n,qk=Dn.findPath(n,e)):qC||(r.style.cursor="auto",qT=null,qk=null))}},100)}},t):dw("td",{colSpan:i,rowSpan:u},t)}}],elemsToHtml:[{type:"table",elemToHtml:function(e,t){var n=e.width;return'<table style="width: '+(void 0===n?"auto":n)+';"><tbody>'+t+"</tbody></table>"}},{type:"table-row",elemToHtml:function(e,t){return"<tr>"+t+"</tr>"}},{type:"table-cell",elemToHtml:function(e,t){var n=e.colSpan,r=e.rowSpan,o=e.isHeader,i=e.width,a=void 0!==o&&o?"th":"td";return"<"+a+' colSpan="'+(void 0===n?1:n)+'" rowSpan="'+(void 0===r?1:r)+'" width="'+(void 0===i?"auto":i)+'">'+t+"</"+a+">"}}],preParseHtml:[{selector:"table",preParseHtml:function(e){var t=c2(e);if("table"!==qx(t))return e;var n=t.find("tbody");if(0===n.length)return e;var r=t.find("tr");return t.append(r),n.remove(),t[0]}}],parseElemsHtml:[{selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=c2(e);0===(t=t.filter(function(e){return!!l$.isText(e)||!!n.isInline(e)})).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var o=parseInt(r.attr("colSpan")||"1"),i=parseInt(r.attr("rowSpan")||"1"),a=r.attr("width")||"auto";return{type:"table-cell",isHeader:"th"===qx(r),colSpan:o,rowSpan:i,width:a,children:t}}},{selector:"tr:not([data-w-e-type])",parseElemHtml:function(e,t,n){return{type:"table-row",children:t.filter(function(e){return"table-cell"===Dn.getNodeType(e)})}}},{selector:"table:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=c2(e),o="auto";return"100%"===function(e,t){for(var n="",r=(e.attr("style")||"").split(";"),o=r.length,i=0;i<o;i++){var a=r[i];if(a){var u=a.split(":");"width"===u[0].trim()&&(n=u[1].trim())}}return n}(r)&&(o="100%"),"100%"===r.attr("width")&&(o="100%"),{type:"table",width:o,children:t.filter(function(e){return"table-row"===Dn.getNodeType(e)})}}}],menus:[{key:"insertTable",factory:function(){return new qX}},{key:"deleteTable",factory:function(){return new qY}},{key:"insertTableRow",factory:function(){return new qJ}},{key:"deleteTableRow",factory:function(){return new qQ}},{key:"insertTableCol",factory:function(){return new q7}},{key:"deleteTableCol",factory:function(){return new q9}},{key:"tableHeader",factory:function(){return new Ge}},{key:"tableFullWidth",factory:function(){return new Gt}}],editorPlugin:function(e){var t=e.insertBreak,n=e.deleteBackward,r=e.deleteForward,o=e.normalizeNode,i=e.insertData,a=e.handleTab,u=e.selectAll;return e.insertBreak=function(){null==Dn.getSelectedNodeByType(e,"table")?t():e.insertText("\n")},e.deleteBackward=function(t){if(!WT(e)){var r=e.selection;if(r){var o=ly.before(e,r);if(o){var i=WB(e,o),a=WB(e,r);if(i&&!a)return}}n(t)}},e.handleTab=function(){var t;if(Dn.getSelectedNodeByType(e,"table")){var n=ly.above(e);Dn.checkNodeType(n[0],"table-cell")&&l6.select(e,n[1]);var r=ly.next(e);if(r)r[0]&&r[0].text&&(r=null!=(t=ly.above(e,{at:r[1]}))?t:r),l6.select(e,r[1]);else{var o=e.children||[],i=o.length;if(Dn.checkNodeType(o[i-1],"table")){var u=Dn.genEmptyParagraph();l6.insertNodes(e,u,{at:[i]}),e.handleTab()}}}else a()},e.deleteForward=function(t){WT(e)||r(t)},e.normalizeNode=function(t){var n=Wk(t,2),r=n[0],i=n[1];if("table"!==Dn.getNodeType(r))return o([r,i]);if(Dn.isLastNode(e,r)){var a=Dn.genEmptyParagraph();l6.insertNodes(e,a,{at:[i[0]+1]})}},e.insertData=function(t){if(null!=Dn.getSelectedNodeByType(e,"table")){var n=t.getData("text/plain");"\n"===n||/<img[^>]+>/.test(t.getData("text/html"))?i(t):ly.insertText(e,n)}else i(t)},e.selectAll=function(){var t=e.selection;if(null!=t){var n=Dn.getSelectedNodeByType(e,"table-cell");if(null!=n){var r=t.anchor,o=t.focus;if(lO.equals(r.path.slice(0,3),o.path.slice(0,3)))if(0!==lD.string(n).length){var i=Dn.findPath(e,n),a={anchor:ly.start(e,i),focus:ly.end(e,i)};e.select(a)}else u();else u()}else u()}else u()},e}}),ecP({renderElems:[{type:"video",renderElem:function(e,t,n){var r,o=e.src,i=void 0===o?"":o,a=e.poster,u=e.width,s=void 0===u?"auto":u,l=e.height,c=void 0===l?"auto":l,f=Dn.isNodeSelected(n,e);if(0===i.trim().indexOf("<iframe "))r=dw("div",{className:"w-e-textarea-video-container","data-selected":f?"true":"",innerHTML:Zj(i,s,c)});else{var d=dw("video",{poster:void 0===a?"":a,controls:!0},dw("source",{src:i,type:"video/mp4"}),"Sorry, your browser doesn't support embedded videos.\n 抱歉,浏览器不支持 video 视频");"auto"!==s&&(d.data.width=s),"auto"!==c&&(d.data.height=c),r=dw("div",{className:"w-e-textarea-video-container","data-selected":f?"true":""},d)}return dr("div",{props:{contentEditable:!1},on:{mousedown:function(e){return e.preventDefault()}}},r)}}],elemsToHtml:[{type:"video",elemToHtml:function(e,t){var n=e.src,r=void 0===n?"":n,o=e.poster,i=e.width,a=void 0===i?"auto":i,u=e.height,s=void 0===u?"auto":u,l='<div data-w-e-type="video" data-w-e-is-void>\n';return 0===r.trim().indexOf("<iframe ")?l+=Zj(r,a,s):l+='<video poster="'+(void 0===o?"":o)+'" controls="true" width="'+a+'" height="'+s+'"><source src="'+r+'" type="video/mp4"/></video>',l+"\n</div>"}}],preParseHtml:[{selector:"iframe,video,p",preParseHtml:function(e){var t=c2(e),n=t;if("p"===Z_(t)){var r=t.children();if(1===r.length){var o=r[0];["iframe","video"].includes(o.tagName.toLowerCase())&&(n=c2(o))}}var i=Z_(n);if("iframe"!==i&&"video"!==i||"video"===n.parent().attr("data-w-e-type"))return n[0];var a=c2('<div data-w-e-type="video" data-w-e-is-void></div>');return a.append(n),a[0]}}],parseElemsHtml:[{selector:'div[data-w-e-type="video"]',parseElemHtml:function(e,t,n){var r=c2(e),o="",i="",a="auto",u="auto",s=r.find("iframe");if(s.length>0)return a=s.attr("width")||"auto",u=s.attr("height")||"auto",Xo(o=s[0].outerHTML,i,a,u);var l=r.find("video");return(o=l.attr("src")||"")||l.length>0&&(o=l.find("source").attr("src")||""),a=l.attr("width")||"auto",u=l.attr("height")||"auto",Xo(o,i=l.attr("poster")||"",a,u)}}],menus:[{key:"insertVideo",factory:function(){return new JI},config:{onInsertedVideo:function(e){},checkVideo:function(e,t){return!0},parseVideoSrc:function(e){return e}}},{key:"uploadVideo",factory:function(){return new QY},config:{server:"",fieldName:"wangeditor-uploaded-video",maxFileSize:0xa00000,maxNumberOfFiles:5,allowedFileTypes:["video/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:3e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'"+e.name+"' upload failed",t)},onError:function(e,t,n){console.error("'"+e.name+" upload error",t,n)}}},{key:"editVideoSize",factory:function(){return new Q6}}],editorPlugin:function(e){var t=e.isVoid,n=e.normalizeNode;return e.isVoid=function(e){return"video"===e.type||t(e)},e.normalizeNode=function(t){var r=Gi(t,2),o=r[0],i=r[1];return"video"===Dn.getNodeType(o)&&Dn.isLastNode(e,o)&&l6.insertNodes(e,Dn.genEmptyParagraph(),{at:[i[0]+1]}),n([o,i])},e}}),ecP({menus:[{key:"uploadImage",factory:function(){return new eaC},config:{server:"",fieldName:"wangeditor-uploaded-image",maxFileSize:2097152,maxNumberOfFiles:100,allowedFileTypes:["image/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:1e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'"+e.name+"' upload failed",t)},onError:function(e,t,n){console.error("'"+e.name+"' upload error",n)},base64LimitSize:0}}],editorPlugin:function(e){var t=e.insertData;return e.insertData=function(n){if(P$(e))t(n);else if(n.getData("text/plain"))t(n);else{var r=n.files;r.length<=0?t(n):Array.prototype.slice.call(r).some(function(e){return"image"===function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}(e.type.split("/"),1)[0]})?eaE(e,r):t(n)}},e}}),ecP(ecO);var ec_='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>',ecj={link:{menuKeys:["editLink","unLink","viewLink"]},image:{menuKeys:["imageWidth30","imageWidth50","imageWidth100","editImage","viewImageLink","deleteImage"]},pre:{menuKeys:["enter","codeBlock","codeSelectLang"]},table:{menuKeys:["enter","tableHeader","tableFullWidth","insertTableRow","deleteTableRow","insertTableCol","deleteTableCol","deleteTable"]},divider:{menuKeys:["enter"]},video:{menuKeys:["enter","editVideoSize"]}},ecI={hoverbarKeys:ecB(ecB({},ecj),{text:{menuKeys:["headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})};ecF.setEditorConfig(ecB(ecB({},ecI),{decorate:ecT})),ecF.setSimpleEditorConfig(ecB(ecB({},{hoverbarKeys:ecj}),{decorate:ecT}));var ecN={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:O_("editor.more"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M204.8 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M505.6 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M806.4 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path></svg>',menuKeys:["through","code","sup","sub","clearStyle"]},"color","bgColor","|","fontSize","fontFamily","lineHeight","|","bulletedList","numberedList","todo",{key:"group-justify",title:O_("editor.justify"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',menuKeys:["justifyLeft","justifyRight","justifyCenter","justifyJustify"]},{key:"group-indent",title:O_("editor.indent"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',menuKeys:["indent","delIndent"]},"|","emotion","insertLink",{key:"group-image",title:O_("editor.image"),iconSvg:ec_,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:O_("editor.video"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',menuKeys:["insertVideo","uploadVideo"]},"insertTable","codeBlock","divider","|","undo","redo","|","fullScreen"]};ecF.setToolbarConfig(ecN);var ecR={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:O_("editor.image"),iconSvg:ec_,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};function ecL(e){void 0===e&&(e={});var t=e.selector,n=e.content,r=e.html,o=e.config,i=void 0===o?{}:o,a=e.mode,u="simple"===(void 0===a?"default":a)?ecF.simpleEditorConfig:ecF.editorConfig,s=ecB(ecB({},u.hoverbarKeys||{}),i.hoverbarKeys||{});return function(e){var t,n,r,o,i,a,u,s,l,c,f,d,p,h,g,v,y,m,b,w=e.selector,E=void 0===w?"":w,D=e.config,S=e.content,x=e.html,C=e.plugins,O=(e=>{var{apply:t}=e;return e.history={undos:[],redos:[]},e.redo=()=>{var{history:t}=e,{redos:n}=t;if(n.length>0){var r=n[n.length-1];mm.withoutSaving(e,()=>{ly.withoutNormalizing(e,()=>{for(var t of r)e.apply(t)})}),t.redos.pop(),t.undos.push(r)}},e.undo=()=>{var{history:t}=e,{undos:n}=t;if(n.length>0){var r=n[n.length-1];mm.withoutSaving(e,()=>{ly.withoutNormalizing(e,()=>{for(var t of r.map(lC.inverse).reverse())e.apply(t)})}),t.redos.push(r),t.undos.pop()}},e.apply=n=>{var{operations:r,history:o}=e,{undos:i}=o,a=i[i.length-1],u=a&&a[a.length-1],s=!(!u||"set_selection"!==n.type||"set_selection"!==u.type),l=mm.isSaving(e),c=mm.isMerging(e);if(null==l&&(l="set_selection"!==n.type||null!=n.properties&&null!=n.newProperties),l){if(null==c&&(c=null!=a&&(0!==r.length||"set_selection"===n.type||!(!u||"insert_text"!==n.type||"insert_text"!==u.type||n.offset!==u.offset+u.text.length||!lO.equals(n.path,u.path))||!(!u||"remove_text"!==n.type||"remove_text"!==u.type||n.offset+n.text.length!==u.offset||!lO.equals(n.path,u.path))||s)),a&&c)s&&a.pop(),a.push(n);else{var f=[n];i.push(f)}for(;i.length>100;)i.shift();"set_selection"!==n.type&&(o.redos=[])}t(n)},e})((f=(((o=(((t=xw(sq())).id="wangEditor-"+Dr++,t.isDestroyed=!1,t.isFullScreen=!1,t.focus=function(e){if(Dn.toDOMNode(t,t).focus({preventScroll:!0}),E$.set(t,!0),e){var n=ly.end(t,[]);l6.select(t,n)}else{var r=EH.get(t);r?l6.select(t,r):l6.select(t,ly.start(t,[]))}},t.isFocused=function(){return!!E$.get(t)},t.blur=function(){Dn.toDOMNode(t,t).blur(),l6.deselect(t),E$.set(t,!1)},t.updateView=function(){Dn.getTextarea(t).changeViewState();var e=Dn.getToolbar(t);e&&e.changeToolbarState();var n=Dn.getHoverbar(t);n&&n.changeHoverbarState()},t.destroy=function(){if(!t.isDestroyed){var e=Dn.getTextarea(t);e.destroy(),Ew.delete(t),EE.delete(e);var n=Dn.getToolbar(t);n&&(n.destroy(),ES.delete(t),ED.delete(n));var r=Dn.getHoverbar(t);r&&(r.destroy(),EC.delete(t),Ex.delete(r)),t.isDestroyed=!0,t.emit("destroyed")}},t.scrollToElem=function(e){if(!t.getConfig().scroll){var n="编辑器禁用了 scroll ,编辑器内容无法滚动,请自行实现该功能";return void console.warn(n+="\nYou has disabled editor scroll, please do this yourself")}var r=c2("#"+e);if(0!==r.length){var o=r[0];if(!Dn.hasDOMNode(t,o))return void console.error(n="Element (found by id is '"+e+"') is not in editor DOM"+("\n 通过 id '"+e)+"' 找到的 element 不在 editor DOM 之内",o);var i=Dn.getTextarea(t),a=i.$textAreaContainer,u=i.$scroll,s=r.offset().top,l=a.offset().top;u[0].scrollBy({top:s-l,behavior:"smooth"})}},t.showProgressBar=function(e){e<1||Dn.getTextarea(t).changeProgress(e)},t.hidePanelOrModal=function(){var e=EA.get(t);null!=e&&e.forEach(function(e){return e.hide()})},t.enable=function(){t.getConfig().readOnly=!1,t.updateView()},t.disable=function(){t.getConfig().readOnly=!0,t.updateView()},t.isDisabled=function(){return t.getConfig().readOnly},t.toDOMNode=function(e){return Dn.toDOMNode(t,e)},t.fullScreen=function(){if(!t.isFullScreen){var e=null,n=Dn.getToolbar(t);n&&(e=n.$box);var r=Dn.getTextarea(t).$box.parent();if(e&&e.parent()[0]!==r[0])throw Error("Can not set full screen, cause toolbar DOM parent is not equal to textarea DOM parent\n不能设置全屏,因为 toolbar DOM 父节点和 textarea DOM 父节点不一致");r.addClass("w-e-full-screen-container");var o=r.css("z-index");r.attr("data-z-index",o.toString()),t.isFullScreen=!0,t.emit("fullScreen")}},t.unFullScreen=function(){if(t.isFullScreen){var e=Dn.getTextarea(t).$box.parent();setTimeout(function(){e.removeClass("w-e-full-screen-container"),t.isFullScreen=!1,t.emit("unFullScreen")},200)}},t.getEditableContainer=function(){return Dn.getTextarea(t).$textAreaContainer[0]},n=t).getAllMenuKeys=function(){var e=[];for(var t in Di)e.push(t);return e},n.getConfig=function(){var e=ET.get(n);if(null==e)throw Error("Can not get editor config");return e},n.getMenuConfig=function(e){var t=n.getConfig().MENU_CONF;return(void 0===t?{}:t)[e]||{}},n.alert=function(e,t){void 0===t&&(t="info");var r=n.getConfig().customAlert;r&&r(e,t)},r=n).onChange,i=r.insertText,a=r.apply,u=r.deleteBackward,r.insertText=function(e){r.getConfig().readOnly||i(e)},r.apply=function(e){var t,n,o,i,u,s,l,c,f=[];switch(e.type){case"insert_text":case"remove_text":case"set_node":try{for(var d=wP(ly.levels(r,{at:e.path})),p=d.next();!p.done;p=d.next()){var h=w_(p.value,2),g=h[0],v=h[1],y=Dn.findKey(r,g);f.push([v,y])}}catch(e){t={error:e}}finally{try{p&&!p.done&&(n=d.return)&&n.call(d)}finally{if(t)throw t.error}}break;case"insert_node":case"remove_node":case"merge_node":case"split_node":try{for(var m=wP(ly.levels(r,{at:lO.parent(e.path)})),b=m.next();!b.done;b=m.next()){var w=w_(b.value,2);g=w[0],v=w[1],y=Dn.findKey(r,g),f.push([v,y])}}catch(e){o={error:e}}finally{try{b&&!b.done&&(i=m.return)&&i.call(m)}finally{if(o)throw o.error}}break;case"move_node":try{for(var E=wP(ly.levels(r,{at:lO.common(lO.parent(e.path),lO.parent(e.newPath))})),D=E.next();!D.done;D=E.next()){var S=w_(D.value,2);g=S[0],v=S[1],y=Dn.findKey(r,g),f.push([v,y])}}catch(e){u={error:e}}finally{try{D&&!D.done&&(s=E.return)&&s.call(E)}finally{if(u)throw u.error}}}a(e);try{for(var x=wP(f),C=x.next();!C.done;C=x.next()){var O=w_(C.value,2);v=O[0],y=O[1],g=w_(ly.node(r,v),1)[0],EM.set(g,y)}}catch(e){l={error:e}}finally{try{C&&!C.done&&(c=x.return)&&c.call(x)}finally{if(l)throw l.error}}},r.deleteBackward=function(e){if("line"!==e)return u(e);if(r.selection&&lj.isCollapsed(r.selection)){var t=ly.above(r,{match:function(e){return ly.isBlock(r,e)},at:r.selection});if(t){var n=w_(t,2)[1],o=ly.range(r,n,r.selection.anchor),i=function(e,t){var n=ly.range(e,lj.end(t)),r=Array.from(ly.positions(e,{at:t})),o=0,i=r.length,a=Math.floor(i/2);if(SV(e,ly.range(e,r[o]),n))return ly.range(e,r[o],n);if(r.length<2)return ly.range(e,r[r.length-1],n);for(;a!==r.length&&a!==o;)SV(e,ly.range(e,r[a]),n)?i=a:o=a,a=Math.floor((o+i)/2);return ly.range(e,r[i],n)}(r,o);lj.isCollapsed(i)||l6.delete(r,{at:i})}}},r.onChange=function(){var e=r.selection;null!=e&&EH.set(r,e),r.emit("change"),o()},r.handleTab=function(){r.insertText(" ")},r.getHtml=function(){var e=r.children;return(void 0===e?[]:e).map(function(e){return function e(t,n){return lf.isElement(t)?function(t,n){var r=t.type,o=t.children,i=ly.isVoid(n,t),a="";i||(a=(void 0===o?[]:o).map(function(t){return e(t,n)}).join(""));var u=(Dy[void 0===r?"":r]||function(e,t,n){var r=n.isInline(e)?"span":"div";return"<"+r+">"+t+"</"+r+">"})(t,a,n),s="";if(s="string"==typeof u?u:u.html||"",i||Dv.forEach(function(e){return s=e(t,s)}),"string"==typeof u)return s;var l=u.prefix,c=void 0===l?"":l,f=u.suffix,d=void 0===f?"":f;return c&&(s=c+s),d&&(s+=d),s}(t,n):function(e,t){var n=e.text;if(null==n)throw Error("Current node is not slate Text "+JSON.stringify(e));var r=n;r=r.replace(/ {2}/g," ").replace(/</g,"<").replace(/>/g,">").replace(/®/g,"®").replace(/©/g,"©").replace(/™/g,"™");var o=Dn.getParentsNodes(t,e).some(function(e){return"pre"===Dn.getNodeType(e)});if(o||(r=r.replace(/\r\n|\r|\n/g,"<br>")),o&&(r=r.replace(/ /g," ")),""===r){var i=Dn.getParentNode(null,e);if(!i||0!==i.children.length)return r;r="<br>"}return Dv.forEach(function(t){return r=t(e,r)}),r}(t,n)}(e,r)}).join("")},r.getText=function(){var e=r.children;return(void 0===e?[]:e).map(function(e){return lD.string(e)}).join("\n")},r.getSelectionText=function(){var e=r.selection;return null==e?"":ly.string(r,e)},r.getElemsByType=function(e,t){void 0===t&&(t=!1);var n,o,i=[],a=ly.nodes(r,{at:[],universal:!0});try{for(var u=wP(a),s=u.next();!s.done;s=u.next()){var l=w_(s.value,1)[0];if(lf.isElement(l)&&(t?l.type.indexOf(e)>=0:l.type===e)){var c=SH(Dn.findKey(r,l).id);i.push(wF(wF({},l),{id:c}))}}}catch(e){n={error:e}}finally{try{s&&!s.done&&(o=u.return)&&o.call(u)}finally{if(n)throw n.error}}return i},r.getElemsByTypePrefix=function(e){return r.getElemsByType(e,!0)},r.isEmpty=function(){var e=r.children,t=void 0===e?[]:e;if(t.length>1)return!1;var n=t[0];if(null==n)return!0;if(lf.isElement(n)&&"paragraph"===n.type){var o=n.children,i=void 0===o?[]:o;if(i.length>1)return!1;var a=i[0];if(null==a||l$.isText(a)&&""===a.text)return!0}return!1},r.clear=function(){l6.delete(r,{at:{anchor:ly.start(r,[]),focus:ly.end(r,[])}}),0===r.children.length&&l6.insertNodes(r,[{type:"paragraph",children:[{text:""}]}])},r.getParentNode=function(e){return Dn.getParentNode(r,e)},r.dangerouslyInsertHtml=function(e,t){if(void 0===e&&(e=""),void 0===t&&(t=!1),e){var n=document.createElement("div");n.innerHTML=e;var o=Array.from(n.childNodes);if(0!==(o=o.filter(function(e){var t=e.nodeType,n=e.nodeName;return t===EK.TEXT_NODE||t===EK.ELEMENT_NODE&&!xm.has(n.toLowerCase())})).length){var i=r.selection;if(null!=i){var a=null;Dn.isSelectedEmptyParagraph(r)&&!t&&(a=[i.focus.path[0]]),n.setAttribute("hidden","true"),document.body.appendChild(n);var u=0;o.forEach(function(e){var t=e.nodeType,n=e.nodeName,o=e.textContent,i=void 0===o?"":o;if(t!==EK.TEXT_NODE)if("BR"!==n){var a=!1;if(SW.includes(n.toLowerCase()))a=!0;else for(var s in SK)if(e.matches(s)){a=!0;break}if(a){var l=xp(c2(e),r);return Array.isArray(l)?l.forEach(function(e){return xb(r,e)}):xb(r,l),u++,void(Dn.isSelectedVoidNode(r)&&r.move(1))}var c=window.getComputedStyle(e).display;Dn.isSelectedEmptyParagraph(r)||0>c.indexOf("inline")&&r.insertBreak(),r.dangerouslyInsertHtml(e.innerHTML,!0)}else r.insertText("\n");else{if(!i||!i.trim())return;r.insertNode({text:i})}}),u&&a&&Dn.isEmptyPath(r,a)&&l6.removeNodes(r,{at:a}),n.remove()}}}},r.setHtml=function(e){void 0===e&&(e="");var t=r.isDisabled(),n=r.isFocused(),o=JSON.stringify(r.selection);r.enable(),r.focus(),r.clear();var i=xg(r,e);if(l6.insertFragment(r,i),n||(r.deselect(),r.blur()),t&&(r.deselect(),r.disable()),r.isFocused())try{r.select(JSON.parse(o))}catch(e){r.select(ly.start(r,[]))}},s=r).select=function(e){l6.select(s,e)},s.deselect=function(){var e=s.selection,t=Dn.findDocumentOrShadowRoot(s).getSelection();t&&t.rangeCount>0&&t.removeAllRanges(),e&&l6.deselect(s)},s.move=function(e,t){void 0===t&&(t=!1),e&&(e<0||l6.move(s,{distance:e,unit:"character",reverse:t}))},s.moveReverse=function(e){s.move(e,!0)},s.restoreSelection=function(){var e=EH.get(s);null!=e&&(s.focus(),l6.select(s,e))},s.getSelectionPosition=function(){return xq(s)},s.getNodePosition=function(e){return xG(s,e)},s.isSelectedAll=function(){var e=s.selection;if(null==e)return!1;var t=w_(lj.edges(e),2),n=t[0],r=t[1],o=w_(ly.edges(s,[]),2),i=o[0],a=o[1];return!(!lB.equals(n,i)||!lB.equals(r,a))},s.selectAll=function(){var e=ly.start(s,[]),t=ly.end(s,[]);l6.select(s,{anchor:e,focus:t})},l=s).on=function(e,t){var n=xH(l);if(n.on(e,t),"destroyed"===e&&xV(l,t),"destroyed"!==e){var r=function(){return n.off(e,t)};n.on("destroyed",r),xV(l,r)}},l.once=function(e,t){xH(l).once(e,t)},l.off=function(e,t){xH(l).off(e,t)},l.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=xH(l);r.emit.apply(r,wj([e],w_(t))),"destroyed"===e&&((xU.get(l)||new Set).forEach(function(e){return r.off("destroyed",e)}),xU.set(l,new Set))},c=l).insertText,d=c.insertNode,p=c.insertFragment,h=c.dangerouslyInsertHtml,c.insertText=function(e){if(c.getConfig().maxLength){var t=Dn.getLeftLengthOfMaxLength(c);t<=0||(t<e.length?f(e.slice(0,t)):f(e))}else f(e)},c.insertNode=function(e){if(c.getConfig().maxLength){var t=Dn.getLeftLengthOfMaxLength(c);t<=0||t<lD.string(e).length||d(e)}else d(e)},c.insertFragment=function(e){if(c.getConfig().maxLength)if(1!==e.length)e.forEach(function(e){c.insertNode(e)});else{var t=e[0];if(Dn.getLeftLengthOfMaxLength(c)<lD.string(t).length)return;p(e)}else p(e)},c.dangerouslyInsertHtml=function(e,t){if(void 0===e&&(e=""),void 0===t&&(t=!1),e)if(c.getConfig().maxLength){var n=Dn.getLeftLengthOfMaxLength(c);if(!(n<=0)){var r=document.createElement("div");r.innerHTML=e,n<Array.from(r.childNodes).reduce(function(e,t){var n=t.nodeType,r=t.nodeName;return t?n===EK.TEXT_NODE?e+(t.textContent||""):n===EK.ELEMENT_NODE?xm.has(r.toLowerCase())?e:e+(t.textContent||""):e:e},"").length||h(e,t)}}else h(e,t)},c));if(E&&xh(O,"data-w-e-textarea",E))throw Error("Repeated create editor by selector '"+E+"'");var A=(void 0===(g=void 0===D?{}:D)&&(g={}),v=pb(Do),y={},b=void 0===(m=g.MENU_CONF)?{}:m,f$(v,function(e,t){y[t]=wF(wF({},e),b[t]||{})}),delete g.MENU_CONF,wF({scroll:!0,readOnly:!1,autoFocus:!0,decorate:function(){return[]},maxLength:0,MENU_CONF:y,hoverbarKeys:{},customAlert:function(e,t){window.alert(t+":\n"+e)}},g));ET.set(O,A);var k=A.hoverbarKeys;if((void 0===C?[]:C).forEach(function(e){O=e(O)}),null!=x&&(O.children=xg(O,x)),S&&S.length&&(O.children=S),0===O.children.length&&(O.children=[{type:"paragraph",children:[{text:""}]}]),Dn.normalizeContent(O),E){var T=new Cx(E);Ew.set(O,T),EE.set(T,O),T.changeViewState(),S$(function(){var e=T.$scroll;null!=e&&300>e.height()&&console.warn("编辑区域高度 < 300px 这可能会导致 modal hoverbar 定位异常\nTextarea height < 300px . This may be cause modal and hoverbar position error",e)});var B=void 0;Object.keys(void 0===k?{}:k).length>0&&(B=new CW,Ex.set(B,O),EC.set(O,B)),O.on("change",function(){O.hidePanelOrModal()}),O.on("scroll",function(){O.hidePanelOrModal()})}else O.children.forEach(function(e,t){return function e(t,n,r,o){if(E_.set(t,n),Ej.set(t,r),lf.isElement(t)){var i=t.children;if((void 0===i?[]:i).forEach(function(n,r){return e(n,r,t,o)}),ly.isVoid(o,t)){var a=w_(lD.texts(t),1),u=w_(a[0],1)[0];E_.set(u,0),Ej.set(u,t)}}}(e,t,O,O)});var F=A.onCreated,P=A.onDestroyed;return F&&O.on("created",function(){return F(O)}),P&&O.on("destroyed",function(){return P(O)}),S$(function(){return O.emit("created")}),O}({selector:void 0===t?"":t,config:ecB(ecB(ecB({},u),i),{hoverbarKeys:s}),content:void 0===n?[]:n,html:r,plugins:ecF.plugins})}function ecM(e){var t=e.selector,n=e.editor,r=e.config,o=e.mode;if(!t)throw Error("Cannot find 'selector' when create toolbar");var i="simple"===(void 0===o?"default":o)?ecF.simpleToolbarConfig:ecF.toolbarConfig;return function(e,t){if(null==e)throw Error("Cannot create toolbar, because editor is null");var n=t.selector,r=t.config;if(xh(e,"data-w-e-toolbar",n))throw Error("Repeated create toolbar by selector '"+n+"'");var o=new CX(n,wF({toolbarKeys:[],excludeKeys:[],insertKeys:{index:0,keys:[]},modalAppendToBody:!1},(void 0===r?{}:r)||{}));return ED.set(o,e),ES.set(e,o),o}(n,{selector:t,config:ecB(ecB({},i),void 0===r?{}:r)})}ecF.setSimpleToolbarConfig(ecR)},3341:function(e){e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var r,o,i,a=i[o];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},46217:function(e,t,n){n.d(t,{WG:()=>Q,c0:()=>em,LW:()=>eE});var r,o,i=n(58786);function a(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n)):e[t]=n,n}var u=Symbol.for("DndContextType");function s(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var l="function"==typeof Symbol&&Symbol.observable||"@@observable",c=function(){return Math.random().toString(36).substring(7).split("").join(".")},f={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function d(e,t,...n){if("undefined"!=typeof process&&void 0===t)throw Error("invariant requires an error message argument");if(!e){let e;if(void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let r=0;(e=Error(t.replace(/%s/g,function(){return n[r++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}function p(e){return"object"==typeof e}let h="dnd-core/INIT_COORDS",g="dnd-core/BEGIN_DRAG",v="dnd-core/PUBLISH_DRAG_SOURCE",y="dnd-core/HOVER",m="dnd-core/DROP",b="dnd-core/END_DRAG";function w(e,t){return{type:h,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}let E={type:h,payload:{clientOffset:null,sourceClientOffset:null}};function D(e,t){return null===t?null===e:Array.isArray(e)?e.some(e=>e===t):e===t}class S{receiveBackend(e){this.backend=e}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){var e,t,n,r,o;let i=this,{dispatch:a}=this.store,u={beginDrag:(e=this,function(t=[],n={publishSource:!0}){var r,o,i;let{publishSource:a=!0,clientOffset:u,getSourceClientOffset:s}=n,l=e.getMonitor(),c=e.getRegistry();e.dispatch(w(u)),r=t,o=l,i=c,d(!o.isDragging(),"Cannot call beginDrag while dragging."),r.forEach(function(e){d(i.getSource(e),"Expected sourceIds to be registered.")});let f=function(e,t){let n=null;for(let r=e.length-1;r>=0;r--)if(t.canDragSource(e[r])){n=e[r];break}return n}(t,l);if(null==f)return void e.dispatch(E);let h=null;if(u){if(!s)throw Error("getSourceClientOffset must be defined");d("function"==typeof s,"When clientOffset is provided, getSourceClientOffset must be a function."),h=s(f)}e.dispatch(w(u,h));let v=c.getSource(f).beginDrag(l,f);if(null!=v)return d(p(v),"Item must be an object."),c.pinSource(f),{type:g,payload:{itemType:c.getSourceType(f),item:v,sourceId:f,clientOffset:u||null,sourceClientOffset:h||null,isSourcePublic:!!a}}}),publishDragSource:(t=this,function(){if(t.getMonitor().isDragging())return{type:v}}),hover:(n=this,function(e,{clientOffset:t}={}){var r,o,i;d(Array.isArray(e),"Expected targetIds to be an array.");let a=e.slice(0),u=n.getMonitor(),s=n.getRegistry();return function(e,t,n){for(let r=e.length-1;r>=0;r--){let o=e[r];D(t.getTargetType(o),n)||e.splice(r,1)}}(a,s,u.getItemType()),function(e,t,n){d(t.isDragging(),"Cannot call hover while not dragging."),d(!t.didDrop(),"Cannot call hover after drop.");for(let t=0;t<e.length;t++){let r=e[t];d(e.lastIndexOf(r)===t,"Expected targetIds to be unique in the passed array."),d(n.getTarget(r),"Expected targetIds to be registered.")}}(a,u,s),r=a,o=u,i=s,r.forEach(function(e){i.getTarget(e).hover(o,e)}),{type:y,payload:{targetIds:a,clientOffset:t||null}}}),drop:(r=this,function(e={}){var t;let n=r.getMonitor(),o=r.getRegistry();d((t=n).isDragging(),"Cannot call drop while not dragging."),d(!t.didDrop(),"Cannot call drop twice during one drag operation."),(function(e){let t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t})(n).forEach((t,i)=>{let a={type:m,payload:{dropResult:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},e,function(e,t,n,r){var o;let i=n.getTarget(e),a=i?i.drop(r,e):void 0;return d(void 0===(o=a)||p(o),"Drop result must either be an object or undefined."),void 0===a&&(a=0===t?{}:r.getDropResult()),a}(t,i,o,n))}};r.dispatch(a)})}),endDrag:(o=this,function(){let e=o.getMonitor(),t=o.getRegistry();d(e.isDragging(),"Cannot call endDrag while not dragging.");let n=e.getSourceId();return null!=n&&(t.getSource(n,!0).endDrag(e,n),t.unpinSource()),{type:b}})};return Object.keys(u).reduce((e,t)=>{let n=u[t];return e[t]=(...e)=>{let t=n.apply(i,e);void 0!==t&&a(t)},e},{})}dispatch(e){this.store.dispatch(e)}constructor(e,t){this.isSetUp=!1,this.handleRefCountChange=()=>{let e=this.store.getState().refCount>0;this.backend&&(e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=e,this.monitor=t,e.subscribe(this.handleRefCountChange)}}function x(e,t){return{x:e.x-t.x,y:e.y-t.y}}let C=[],O=[];C.__IS_NONE__=!0,O.__IS_ALL__=!0;class A{subscribeToStateChange(e,t={}){let{handlerIds:n}=t;d("function"==typeof e,"listener must be a function."),d(void 0===n||Array.isArray(n),"handlerIds, when specified, must be an array of strings.");let r=this.store.getState().stateId;return this.store.subscribe(()=>{let t=this.store.getState(),o=t.stateId;try{o===r||o===r+1&&!function(e,t){return e!==C&&(e===O||void 0===t||t.filter(t=>e.indexOf(t)>-1).length>0)}(t.dirtyHandlerIds,n)||e()}finally{r=o}})}subscribeToOffsetChange(e){d("function"==typeof e,"listener must be a function.");let t=this.store.getState().dragOffset;return this.store.subscribe(()=>{let n=this.store.getState().dragOffset;n!==t&&(t=n,e())})}canDragSource(e){if(!e)return!1;let t=this.registry.getSource(e);return d(t,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()&&t.canDrag(this,e)}canDropOnTarget(e){if(!e)return!1;let t=this.registry.getTarget(e);return d(t,`Expected to find a valid target. targetId=${e}`),!(!this.isDragging()||this.didDrop())&&D(this.registry.getTargetType(e),this.getItemType())&&t.canDrop(this,e)}isDragging(){return!!this.getItemType()}isDraggingSource(e){if(!e)return!1;let t=this.registry.getSource(e,!0);return d(t,`Expected to find a valid source. sourceId=${e}`),!!this.isDragging()&&!!this.isSourcePublic()&&this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e)}isOverTarget(e,t={shallow:!1}){if(!e)return!1;let{shallow:n}=t;if(!this.isDragging())return!1;let r=this.registry.getTargetType(e),o=this.getItemType();if(o&&!D(r,o))return!1;let i=this.getTargetIds();if(!i.length)return!1;let a=i.indexOf(e);return n?a===i.length-1:a>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return!!this.store.getState().dragOperation.isSourcePublic}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return function(e){let{clientOffset:t,initialClientOffset:n,initialSourceClientOffset:r}=e;return t&&n&&r?x({x:t.x+r.x,y:t.y+r.y},n):null}(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){let{clientOffset:e,initialClientOffset:t}=this.store.getState().dragOffset;return e&&t?x(e,t):null}constructor(e,t){this.store=e,this.registry=t}}let k="undefined"!=typeof global?global:self,T=k.MutationObserver||k.WebKitMutationObserver;function B(e){return function(){let t=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(t),clearInterval(n),e()}}}let F="function"==typeof T?function(e){let t=1,n=new T(e),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){r.data=t=-t}}:B;class P{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,t){this.onError=e,this.release=t,this.task=null}}let _=new class{enqueueTask(e){let{queue:t,requestFlush:n}=this;t.length||(n(),this.flushing=!0),t[t.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{let{queue:e}=this;for(;this.index<e.length;){let t=this.index;if(this.index++,e[t].call(),this.index>this.capacity){for(let t=0,n=e.length-this.index;t<n;t++)e[t]=e[t+this.index];e.length-=this.index,this.index=0}}e.length=0,this.index=0,this.flushing=!1},this.registerPendingError=e=>{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=F(this.flush),this.requestErrorThrow=B(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}},j=new class{create(e){let t=this.freeTasks,n=t.length?t.pop():new P(this.onError,e=>t[t.length]=e);return n.task=e,n}constructor(e){this.onError=e,this.freeTasks=[]}}(_.registerPendingError),I="dnd-core/ADD_SOURCE",N="dnd-core/ADD_TARGET",R="dnd-core/REMOVE_SOURCE",L="dnd-core/REMOVE_TARGET";function M(e,t){if(t&&Array.isArray(e))return void e.forEach(e=>M(e,!1));d("string"==typeof e||"symbol"==typeof e,t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}(r=o||(o={})).SOURCE="SOURCE",r.TARGET="TARGET";let z=0;function $(e){switch(e[0]){case"S":return o.SOURCE;case"T":return o.TARGET;default:throw Error(`Cannot parse handler ID: ${e}`)}}function H(e,t){let n=e.entries(),r=!1;do{let{done:e,value:[,o]}=n.next();if(o===t)return!0;r=!!e}while(!r);return!1}class U{addSource(e,t){M(e),d("function"==typeof t.canDrag,"Expected canDrag to be a function."),d("function"==typeof t.beginDrag,"Expected beginDrag to be a function."),d("function"==typeof t.endDrag,"Expected endDrag to be a function.");let n=this.addHandler(o.SOURCE,e,t);return this.store.dispatch({type:I,payload:{sourceId:n}}),n}addTarget(e,t){M(e,!0),d("function"==typeof t.canDrop,"Expected canDrop to be a function."),d("function"==typeof t.hover,"Expected hover to be a function."),d("function"==typeof t.drop,"Expected beginDrag to be a function.");let n=this.addHandler(o.TARGET,e,t);return this.store.dispatch({type:N,payload:{targetId:n}}),n}containsHandler(e){return H(this.dragSources,e)||H(this.dropTargets,e)}getSource(e,t=!1){return d(this.isSourceId(e),"Expected a valid source ID."),t&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}getTarget(e){return d(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}getSourceType(e){return d(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}getTargetType(e){return d(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}isSourceId(e){return $(e)===o.SOURCE}isTargetId(e){return $(e)===o.TARGET}removeSource(e){d(this.getSource(e),"Expected an existing source."),this.store.dispatch({type:R,payload:{sourceId:e}}),_.enqueueTask(j.create(()=>{this.dragSources.delete(e),this.types.delete(e)}))}removeTarget(e){d(this.getTarget(e),"Expected an existing target."),this.store.dispatch({type:L,payload:{targetId:e}}),this.dropTargets.delete(e),this.types.delete(e)}pinSource(e){let t=this.getSource(e);d(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}unpinSource(){d(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(e,t,n){let r=function(e){let t=(z++).toString();switch(e){case o.SOURCE:return`S${t}`;case o.TARGET:return`T${t}`;default:throw Error(`Unknown Handler Role: ${e}`)}}(e);return this.types.set(r,t),e===o.SOURCE?this.dragSources.set(r,n):e===o.TARGET&&this.dropTargets.set(r,n),r}constructor(e){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=e}}let V=(e,t)=>e===t,W={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}let G={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function K(e={},t){var n;return{dirtyHandlerIds:function(e=C,t){switch(t.type){case y:break;case I:case N:case L:case R:return C;default:return O}let{targetIds:n=[],prevTargetIds:r=[]}=t.payload,o=function(e,t){let n=new Map,r=e=>{n.set(e,n.has(e)?n.get(e)+1:1)};e.forEach(r),t.forEach(r);let o=[];return n.forEach((e,t)=>{1===e&&o.push(t)}),o}(n,r);if(!(o.length>0||!function(e,t,n=V){if(e.length!==t.length)return!1;for(let r=0;r<e.length;++r)if(!n(e[r],t[r]))return!1;return!0}(n,r)))return C;let i=r[r.length-1],a=n[n.length-1];return i!==a&&(i&&o.push(i),a&&o.push(a)),o}(e.dirtyHandlerIds,{type:t.type,payload:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},t.payload,{prevTargetIds:(n=[],"dragOperation.targetIds".split(".").reduce((e,t)=>e&&e[t]?e[t]:n||null,e))})}),dragOffset:function(e=W,t){let{payload:n}=t;switch(t.type){case h:case g:return{initialSourceClientOffset:n.sourceClientOffset,initialClientOffset:n.clientOffset,clientOffset:n.clientOffset};case y:var r,o;if(r=e.clientOffset,o=n.clientOffset,!r&&!o||r&&o&&r.x===o.x&&r.y===o.y)return e;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},e,{clientOffset:n.clientOffset});case b:case m:return W;default:return e}}(e.dragOffset,t),refCount:function(e=0,t){switch(t.type){case I:case N:return e+1;case R:case L:return e-1;default:return e}}(e.refCount,t),dragOperation:function(e=G,t){let{payload:n}=t;switch(t.type){case g:return q({},e,{itemType:n.itemType,item:n.item,sourceId:n.sourceId,isSourcePublic:n.isSourcePublic,dropResult:null,didDrop:!1});case v:return q({},e,{isSourcePublic:!0});case y:return q({},e,{targetIds:n.targetIds});case L:var r,o;if(-1===e.targetIds.indexOf(n.targetId))return e;return q({},e,{targetIds:(r=e.targetIds,o=n.targetId,r.filter(e=>e!==o))});case m:return q({},e,{dropResult:n.dropResult,didDrop:!0,targetIds:[]});case b:return q({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}(e.dragOperation,t),stateId:function(e=0){return e+1}(e.stateId)}}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var X=0,Y=Symbol.for("__VUE_DND_CONTEXT_INSTANCE__");function J(){return"undefined"!=typeof globalThis?globalThis:void 0!==n.g?n.g:window}let Q=(0,i.aZ)({name:"DndProvider",props:{manager:{type:Object},backend:{type:Function},context:{type:Object},options:{type:Object},debugMode:{type:Boolean}},setup:function(e,t){var n,r,o=t.slots,a=(n="manager"in e&&e.manager?[e.manager,!1]:[function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:J(),n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;return t[Y]||(t[Y]=function(e,t,n={},r=!1){let o=function(e){let t="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return function e(t,n,r){if("function"==typeof n&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw Error(s(0));if("function"==typeof n&&void 0===r&&(r=n,n=void 0),void 0!==r){if("function"!=typeof r)throw Error(s(1));return r(e)(t,n)}if("function"!=typeof t)throw Error(s(2));var o,i=t,a=n,u=[],c=u,d=!1;function p(){c===u&&(c=u.slice())}function h(){if(d)throw Error(s(3));return a}function g(e){if("function"!=typeof e)throw Error(s(4));if(d)throw Error(s(5));var t=!0;return p(),c.push(e),function(){if(t){if(d)throw Error(s(6));t=!1,p();var n=c.indexOf(e);c.splice(n,1),u=null}}}function v(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw Error(s(7));if(void 0===e.type)throw Error(s(8));if(d)throw Error(s(9));try{d=!0,a=i(a,e)}finally{d=!1}for(var t=u=c,n=0;n<t.length;n++)(0,t[n])();return e}return v({type:f.INIT}),(o={dispatch:v,subscribe:g,getState:h,replaceReducer:function(e){if("function"!=typeof e)throw Error(s(10));i=e,v({type:f.REPLACE})}})[l]=function(){var e;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw Error(s(11));function t(){e.next&&e.next(h())}return t(),{unsubscribe:g(t)}}})[l]=function(){return this},e},o}(K,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}(r),i=new A(o,new U(o)),a=new S(o,i),u=e(a,t,n);return a.receiveBackend(u),a}(e,t,n,r)),t[Y]}(e.backend,e.context,e.options,e.debugMode),!e.context],function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,u=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){u=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(u)throw r}}return i}}(n,2)||function(e,t){if(e){if("string"==typeof e)return Z(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Z(e,t)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=a[0],d=a[1];return d&&++X,(0,i.SK)(function(){if(d){var e=J();0==--X&&(e[Y]=null)}}),(0,i.JJ)(u,c),function(){var e;return null!=(r=null==(e=o.default)?void 0:e.call(o))?r:null}}});(0,i.aZ)({props:{connect:{type:Function,required:!0},src:{type:String,required:!0}},setup:function(e){return(0,i.m0)(function(){if("undefined"!=typeof Image){var t=!1,n=new Image;return n.src=e.src,n.onload=function(){e.connect(n),t=!0},function(){t&&e.connect(null)}}}),function(){return null}}});var ee=!1,et=!1,en=function(){function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.sourceId=null,this.internalMonitor=t.getMonitor()}var t=e.prototype;return t.receiveHandlerId=function(e){this.sourceId=e},t.getHandlerId=function(){return this.sourceId},t.canDrag=function(){d(!ee,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return ee=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{ee=!1}},t.isDragging=function(){if(!this.sourceId)return!1;d(!et,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return et=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{et=!1}},t.subscribeToStateChange=function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)},t.isDraggingSource=function(e){return this.internalMonitor.isDraggingSource(e)},t.isOverTarget=function(e,t){return this.internalMonitor.isOverTarget(e,t)},t.getTargetIds=function(){return this.internalMonitor.getTargetIds()},t.isSourcePublic=function(){return this.internalMonitor.isSourcePublic()},t.getSourceId=function(){return this.internalMonitor.getSourceId()},t.subscribeToOffsetChange=function(e){return this.internalMonitor.subscribeToOffsetChange(e)},t.canDragSource=function(e){return this.internalMonitor.canDragSource(e)},t.canDropOnTarget=function(e){return this.internalMonitor.canDropOnTarget(e)},t.getItemType=function(){return this.internalMonitor.getItemType()},t.getItem=function(){return this.internalMonitor.getItem()},t.getDropResult=function(){return this.internalMonitor.getDropResult()},t.didDrop=function(){return this.internalMonitor.didDrop()},t.getInitialClientOffset=function(){return this.internalMonitor.getInitialClientOffset()},t.getInitialSourceClientOffset=function(){return this.internalMonitor.getInitialSourceClientOffset()},t.getSourceClientOffset=function(){return this.internalMonitor.getSourceClientOffset()},t.getClientOffset=function(){return this.internalMonitor.getClientOffset()},t.getDifferenceFromInitialOffset=function(){return this.internalMonitor.getDifferenceFromInitialOffset()},e}(),er=!1,eo=function(){function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.targetId=null,this.internalMonitor=t.getMonitor()}var t=e.prototype;return t.receiveHandlerId=function(e){this.targetId=e},t.getHandlerId=function(){return this.targetId},t.subscribeToStateChange=function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)},t.canDrop=function(){if(!this.targetId)return!1;d(!er,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return er=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{er=!1}},t.isOver=function(e){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,e)},t.getItemType=function(){return this.internalMonitor.getItemType()},t.getItem=function(){return this.internalMonitor.getItem()},t.getDropResult=function(){return this.internalMonitor.getDropResult()},t.didDrop=function(){return this.internalMonitor.didDrop()},t.getInitialClientOffset=function(){return this.internalMonitor.getInitialClientOffset()},t.getInitialSourceClientOffset=function(){return this.internalMonitor.getInitialSourceClientOffset()},t.getSourceClientOffset=function(){return this.internalMonitor.getSourceClientOffset()},t.getClientOffset=function(){return this.internalMonitor.getClientOffset()},t.getDifferenceFromInitialOffset=function(){return this.internalMonitor.getDifferenceFromInitialOffset()},e}();function ei(e){var t={};return Object.keys(e).forEach(function(n){var r=e[n];if(n.endsWith("Ref"))t[n]=e[n];else{var o=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t&&t.__v_skip&&function(){throw Error("Only native element nodes can now be passed to Vue DnD connectors.You can either wrap Component into a <div>, or turn it into a drag source or a drop target itself.")}(),!(t&&!0===t.__v_isVNode&&"symbol"!=((e=t.type)&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)))return r(t,n),t};t[n]=function(){return o}}}),t}function ea(e,t,n,r){let o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;let i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;let u=Object.prototype.hasOwnProperty.bind(t);for(let a=0;a<i.length;a++){let s=i[a];if(!u(s))return!1;let l=e[s],c=t[s];if(!1===(o=n?n.call(r,l,c,s):void 0)||void 0===o&&l!==c)return!1}return!0}var eu=function(){function e(t){var n=this;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.hooks=ei({dragSource:function(e,t){n.clearDragSource(),n.dragSourceOptions=t||null,n.dragSourceNode=e,n.reconnectDragSource()},dragPreview:function(e,t){n.clearDragPreview(),n.dragPreviewOptions=t||null,n.dragPreviewNode=e,n.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceOptionsInternal=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=t}var t,n=e.prototype;return n.receiveHandlerId=function(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())},n.reconnect=function(){var e=this.reconnectDragSource();this.reconnectDragPreview(e)},n.reconnectDragSource=function(){var e=this.dragSource,t=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return t&&this.disconnectDragSource(),this.handlerId&&(e?t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)):this.lastConnectedDragSource=e),t},n.reconnectDragPreview=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.dragPreview,n=e||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(n&&this.disconnectDragPreview(),this.handlerId){if(!t){this.lastConnectedDragPreview=t;return}n&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=t,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,t,this.dragPreviewOptions))}},n.didHandlerIdChange=function(){return this.lastConnectedHandlerId!==this.handlerId},n.didConnectedDragSourceChange=function(){return this.lastConnectedDragSource!==this.dragSource},n.didConnectedDragPreviewChange=function(){return this.lastConnectedDragPreview!==this.dragPreview},n.didDragSourceOptionsChange=function(){return!ea(this.lastConnectedDragSourceOptions,this.dragSourceOptions)},n.didDragPreviewOptionsChange=function(){return!ea(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)},n.disconnectDragSource=function(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)},n.disconnectDragPreview=function(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null)},n.clearDragSource=function(){this.dragSourceNode=null},n.clearDragPreview=function(){this.dragPreviewNode=null},t=[{key:"connectTarget",get:function(){return this.dragSource}},{key:"dragSourceOptions",get:function(){return this.dragSourceOptionsInternal},set:function(e){this.dragSourceOptionsInternal=e}},{key:"dragPreviewOptions",get:function(){return this.dragPreviewOptionsInternal},set:function(e){this.dragPreviewOptionsInternal=e}},{key:"dragSource",get:function(){return this.dragSourceNode}},{key:"dragPreview",get:function(){return this.dragPreviewNode}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}(),es=function(){function e(t){var n=this;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.hooks=ei({dropTarget:function(e,t){n.clearDropTarget(),n.dropTargetOptions=t,(0,i.dq)(e)?n.dropTargetRef=e:n.dropTargetNode=e,n.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=t}var t,n=e.prototype;return n.reconnect=function(){var e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();var t=this.dropTarget;if(this.handlerId){if(!t){this.lastConnectedDropTarget=t;return}e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions))}},n.receiveHandlerId=function(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())},n.didHandlerIdChange=function(){return this.lastConnectedHandlerId!==this.handlerId},n.didDropTargetChange=function(){return this.lastConnectedDropTarget!==this.dropTarget},n.didOptionsChange=function(){return!ea(this.lastConnectedDropTargetOptions,this.dropTargetOptions)},n.disconnectDropTarget=function(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)},n.clearDropTarget=function(){this.dropTargetRef=null,this.dropTargetNode=null},t=[{key:"connectTarget",get:function(){return this.dropTarget}},{key:"dropTargetOptions",get:function(){return this.dropTargetOptionsInternal},set:function(e){this.dropTargetOptionsInternal=e}},{key:"dropTarget",get:function(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.value}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}(),el=function(){function e(t,n,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.spec=t,this.monitor=n,this.connector=r}var t=e.prototype;return t.beginDrag=function(){var e=this.spec,t=this.monitor,n=null;return null!=(n="object"==typeof e.item?e.item:"function"==typeof e.item?e.item(t):{})?n:null},t.canDrag=function(){var e=this.spec,t=this.monitor;return"boolean"==typeof e.canDrag?e.canDrag:"function"!=typeof e.canDrag||e.canDrag(t)},t.isDragging=function(e,t){var n=this.spec,r=this.monitor,o=n.isDragging;return o?o(r):t===e.getSourceId()},t.endDrag=function(){var e=this.spec,t=this.monitor,n=this.connector,r=e.end;r&&r(t.getItem(),t),n.reconnect()},e}();function ec(){var e=(0,i.f3)(u);return d(null!=e,"Expected drag drop context"),e}function ef(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ed(e){return(0,i.Fl)(function(){return"function"==typeof e?e():e})}var ep=n(3341),eh=n.n(ep);function eg(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ev(e,t,n){var r,o,a,u,s,l,c,f;return c=(r=e||function(){return{}},o=function(){return(0,i.SU)(n).reconnect()},a=(0,i.iH)((0,i.SU)(r)((0,i.SU)(t))),u=function(){var e=(0,i.SU)(r)((0,i.SU)(t));!eh()(a.value,e)&&(a.value=e,o&&o())},(0,i.m0)(u),l=function(e){if(Array.isArray(e))return e}(s=[a,u])||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,u=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){u=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(u)throw r}}return i}}(s,2)||function(e,t){if(e){if("string"==typeof e)return eg(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eg(e,t)}}(s,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],f=l[1],(0,i.m0)(function(e){var n=(0,i.SU)(t).getHandlerId();null!=n&&e((0,i.SU)(t).subscribeToStateChange(f,{handlerIds:[n]}))}),c}function ey(e,t){var n=(0,i.qj)({el:null,options:(0,i.SU)(t)});return(0,i.m0)(function(){e(n)},{flush:"post"}),function(e,r){a(n,"el",e);var o=(0,i.SU)(t)||r;return eh()(n.options,o)||a(n,"options",o),(0,i.SU)(e)}}function em(e){var t,n,r,o,a,u,s,l,c,f=ed(e),p=(t=ec(),(0,i.Fl)(function(){return new en((0,i.SU)(t))})),h=(n=(0,i.Fl)(function(){return(0,i.SU)(f).options}),r=(0,i.Fl)(function(){return(0,i.SU)(f).previewOptions}),o=ec(),a=(0,i.Fl)(function(){return new eu((0,i.SU)(o).getBackend())}),(0,i.m0)(function(e){a.value.dragSourceOptions=(0,i.SU)(n)||null,(0,i.SU)(a).reconnect(),e(function(){a.value.disconnectDragSource()})}),(0,i.m0)(function(e){a.value.dragPreviewOptions=(0,i.SU)(r)||null,(0,i.SU)(a).reconnect(),e(function(){a.value.disconnectDragPreview()})}),a);return u=ec(),s=(0,i.Fl)(function(){return new el((0,i.SU)(f),(0,i.SU)(p),(0,i.SU)(h))}),(0,i.m0)(function(){s.value.spec=(0,i.SU)(f)}),l=s,c=(0,i.Fl)(function(){var e=(0,i.SU)(f).type;return d(null!=e,"spec.type must be defined"),e}),(0,i.m0)(function(e){if(null!=(0,i.SU)(c)){var t,n,r,o,a,s=(t=(0,i.SU)(c),n=(0,i.SU)(l),a=[o=(r=(0,i.SU)(u).getRegistry()).addSource(t,n),function(){return r.removeSource(o)}],function(e){if(Array.isArray(e))return e}(a)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,u=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){u=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(u)throw r}}return i}}(a,2)||function(e,t){if(e){if("string"==typeof e)return ef(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ef(e,t)}}(a,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),f=s[0],d=s[1];(0,i.SU)(p).receiveHandlerId(f),(0,i.SU)(h).receiveHandlerId(f),e(d)}}),[ev((0,i.Fl)(function(){return(0,i.SU)(f).collect||function(){return{}}}),p,h),ey(function(e){(0,i.SU)(h).hooks.dragSource()(e.el,e.options)},(0,i.Fl)(function(){return(0,i.SU)(f).options})),ey(function(e){(0,i.SU)(h).hooks.dragPreview()(e.el,e.options)},(0,i.Fl)(function(){return(0,i.SU)(f).previewOptions}))]}var eb=function(){function e(t,n){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.spec=t,this.monitor=n}var t=e.prototype;return t.canDrop=function(){var e=this.spec,t=this.monitor;return!e.canDrop||e.canDrop(t.getItem(),t)},t.hover=function(){var e=this.spec,t=this.monitor;e.hover&&e.hover(t.getItem(),t)},t.drop=function(){var e=this.spec,t=this.monitor;if(e.drop)return e.drop(t.getItem(),t)},e}();function ew(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function eE(e){var t,n,r,o,a,u,s,l,c=ed(e),f=(t=ec(),(0,i.Fl)(function(){return new eo((0,i.SU)(t))})),p=(n=(0,i.Fl)(function(){return(0,i.SU)(c).options}),r=ec(),o=(0,i.Fl)(function(){return new es((0,i.SU)(r).getBackend())}),(0,i.m0)(function(e){o.value.dropTargetOptions=(0,i.SU)(n)||null,o.value.reconnect(),e(function(){return o.value.disconnectDropTarget()})}),o);return a=ec(),u=(0,i.Fl)(function(){return new eb((0,i.SU)(c),(0,i.SU)(f))}),(0,i.m0)(function(){u.value.spec=(0,i.SU)(c)}),s=u,l=(0,i.Fl)(function(){var e=(0,i.SU)(c).accept;return d(null!=e,"accept must be defined"),Array.isArray(e)?e:[e]}),(0,i.m0)(function(e){var t,n,r,o=(r=[n=(t=(0,i.SU)(a).getRegistry()).addTarget((0,i.SU)(l),(0,i.SU)(s)),function(){return t.removeTarget(n)}],function(e){if(Array.isArray(e))return e}(r)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,u=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){u=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(u)throw r}}return i}}(r,2)||function(e,t){if(e){if("string"==typeof e)return ew(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ew(e,t)}}(r,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=o[0],c=o[1];(0,i.SU)(f).receiveHandlerId(u),(0,i.SU)(p).receiveHandlerId(u),e(c)}),[ev((0,i.Fl)(function(){return(0,i.SU)(c).collect||function(){return{}}}),f,p),ey(function(e){(0,i.SU)(p).hooks.dropTarget()(e.el,e.options)},(0,i.Fl)(function(){return(0,i.SU)(c).options}))]}},82027:function(e,t,n){n.d(t,{Z:()=>G});var r=n(53146);let o=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e};var i=n(26028),a=n(45169),u=n(71257),s=n(27042),l=n(83712),c=n(91481),f=n(95688),d=n(3240),p=n(76351),h=n(91758),g=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)(0,d.Z)(t,(0,f.Z)(e)),e=(0,p.Z)(e);return t}:h.Z,v=n(94645),y=n(30292);let m=function(e){return(0,y.Z)(e,s.Z,g)};var b=n(91792),w=Object.prototype.hasOwnProperty;let E=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&w.call(e,"index")&&(n.index=e.index,n.input=e.input),n};var D=n(98240);let S=function(e,t){var n=t?(0,D.Z)(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)};var x=/\w*$/;let C=function(e){var t=new e.constructor(e.source,x.exec(e));return t.lastIndex=e.lastIndex,t};var O=n(28373),A=O.Z?O.Z.prototype:void 0,k=A?A.valueOf:void 0,T=n(70980);let B=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return(0,D.Z)(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return S(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,T.Z)(e,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return C(e);case"[object Symbol]":return k?Object(k.call(e)):{}}};var F=n(6625),P=n(3073),_=n(4339),j=n(32398),I=n(94421),N=n(41394),R=N.Z&&N.Z.isMap,L=R?(0,I.Z)(R):function(e){return(0,j.Z)(e)&&"[object Map]"==(0,b.Z)(e)},M=n(26129),z=N.Z&&N.Z.isSet,$=z?(0,I.Z)(z):function(e){return(0,j.Z)(e)&&"[object Set]"==(0,b.Z)(e)},H="[object Arguments]",U="[object Function]",V="[object Object]",W={};W[H]=W["[object Array]"]=W["[object ArrayBuffer]"]=W["[object DataView]"]=W["[object Boolean]"]=W["[object Date]"]=W["[object Float32Array]"]=W["[object Float64Array]"]=W["[object Int8Array]"]=W["[object Int16Array]"]=W["[object Int32Array]"]=W["[object Map]"]=W["[object Number]"]=W[V]=W["[object RegExp]"]=W["[object Set]"]=W["[object String]"]=W["[object Symbol]"]=W["[object Uint8Array]"]=W["[object Uint8ClampedArray]"]=W["[object Uint16Array]"]=W["[object Uint32Array]"]=!0,W["[object Error]"]=W[U]=W["[object WeakMap]"]=!1;let q=function e(t,n,d,p,h,y){var w,D=1&n,S=2&n,x=4&n;if(d&&(w=h?d(t,p,h,y):d(t)),void 0!==w)return w;if(!(0,M.Z)(t))return t;var C=(0,P.Z)(t);if(C){if(w=E(t),!D)return(0,c.Z)(t,w)}else{var O,A,k,T,j=(0,b.Z)(t),I=j==U||"[object GeneratorFunction]"==j;if((0,_.Z)(t))return(0,l.Z)(t,D);if(j==V||j==H||I&&!h){if(w=S||I?{}:(0,F.Z)(t),!D)return S?(A=(O=w)&&(0,a.Z)(t,(0,s.Z)(t),O),(0,a.Z)(t,g(t),A)):(T=(k=w)&&(0,a.Z)(t,(0,u.Z)(t),k),(0,a.Z)(t,(0,f.Z)(t),T))}else{if(!W[j])return h?t:{};w=B(t,j,D)}}y||(y=new r.Z);var N=y.get(t);if(N)return N;y.set(t,w),$(t)?t.forEach(function(r){w.add(e(r,n,d,r,t,y))}):L(t)&&t.forEach(function(r,o){w.set(o,e(r,n,d,o,t,y))});var R=x?S?m:v.Z:S?s.Z:u.Z,z=C?void 0:R(t);return o(z||t,function(r,o){z&&(r=t[o=r]),(0,i.Z)(w,o,e(r,n,d,o,t,y))}),w},G=function(e){return q(e,5)}},88514:function(e,t,n){n.d(t,{Z:()=>a});var r=n(21452),o=n(3073),i=n(32398);let a=function(e){return"string"==typeof e||!(0,o.Z)(e)&&(0,i.Z)(e)&&"[object String]"==(0,r.Z)(e)}},29344:function(e,t,n){n.d(t,{bZ:()=>v,ZP:()=>y});var r=n(20013),o=n(58786),i=n(56946),a=n(54470),u=n(53198),s=n(51048),l=n(19050),c=n(44267),f=n(74794),d=n(74482),p=n(71309);let h=(0,p.cB)("collapse","width: 100%;",[(0,p.cB)("collapse-item",`+Uppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#id.`);return e.VERSION&&this.log(`Using ${r} v${e.VERSION}`),n.type in pq(this,p0)[p0]?pq(this,p0)[p0][n.type].push(n):pq(this,p0)[p0][n.type]=[n],n.install(),this}getPlugin(e){for(let t of Object.values(pq(this,p0)[p0])){let n=t.find(t=>t.id===e);if(null!=n)return n}}[r](e){return pq(this,p0)[p0][e]}iteratePlugins(e){Object.values(pq(this,p0)[p0]).flat(1).forEach(e)}removePlugin(e){this.log(`Removing plugin ${e.id}`),this.emit("plugin-remove",e),e.uninstall&&e.uninstall();let t=pq(this,p0)[p0][e.type],n=t.findIndex(t=>t.id===e.id);-1!==n&&t.splice(n,1);let r={plugins:{...this.getState().plugins,[e.id]:void 0}};this.setState(r)}close(){this.log(`Closing Uppy instance ${this.opts.id}: removing all files and uninstalling plugins`),this.reset(),pq(this,p1)[p1](),this.iteratePlugins(e=>{this.removePlugin(e)}),"undefined"!=typeof window&&window.removeEventListener&&(window.removeEventListener("online",pq(this,hi)[hi]),window.removeEventListener("offline",pq(this,hi)[hi]))}hideInfo(){let{info:e}=this.getState();this.setState({info:e.slice(1)}),this.emit("info-hidden")}info(e,t,n){void 0===t&&(t="info"),void 0===n&&(n=3e3);let r="object"==typeof e;this.setState({info:[...this.getState().info,{type:t,message:r?e.message:e,details:r?e.details:null}]}),setTimeout(()=>this.hideInfo(),n),this.emit("info-visible")}log(e,t){let{logger:n}=this.opts;switch(t){case"error":n.error(e);break;case"warning":n.warn(e);break;default:n.debug(e)}}restore(e){return this.log(`Core: attempting to restore upload "${e}"`),this.getState().currentUploads[e]?pq(this,hl)[hl](e):(pq(this,hs)[hs](e),Promise.reject(Error("Nonexistent upload")))}[o](){return pq(this,ha)[ha](...arguments)}addResultData(e,t){if(!pq(this,hu)[hu](e))return void this.log(`Not setting result for an upload that has been removed: ${e}`);let{currentUploads:n}=this.getState(),r={...n[e],result:{...n[e].result,...t}};this.setState({currentUploads:{...n,[e]:r}})}upload(){var e;null!=(e=pq(this,p0)[p0].uploader)&&e.length||this.log("No uploader type plugins are used","warning");let{files:t}=this.getState(),n=this.opts.onBeforeUpload(t);return!1===n?Promise.reject(Error("Not starting the upload because onBeforeUpload returned false")):(n&&"object"==typeof n&&(t=n,this.setState({files:t})),Promise.resolve().then(()=>{pq(this,p8)[p8](t),pq(this,p9)[p9](t)}).catch(e=>{pq(this,he)[he](e)}).then(()=>{let{currentUploads:e}=this.getState(),n=Object.values(e).flatMap(e=>e.fileIDs),r=[];Object.keys(t).forEach(e=>{let t=this.getFile(e);t.progress.uploadStarted||-1!==n.indexOf(e)||r.push(t.id)});let o=pq(this,ha)[ha](r);return pq(this,hl)[hl](o)}).catch(e=>{pq(this,he)[he](e,{showInformer:!1})}))}}function hf(e,t){void 0===t&&(t=this.getFiles());let{maxFileSize:n,minFileSize:r,maxTotalFileSize:o,maxNumberOfFiles:i,allowedFileTypes:a}=this.opts.restrictions;if(i&&t.length+1>i)throw new pJ(`${this.i18n("youCanOnlyUploadX",{smart_count:i})}`);if(a&&!a.some(t=>t.indexOf("/")>-1?!!e.type&&pP(e.type.replace(/;.*?$/,""),t):!("."!==t[0]||!e.extension)&&e.extension.toLowerCase()===t.substr(1).toLowerCase())){let e=a.join(", ");throw new pJ(this.i18n("youCanOnlyUploadFileTypes",{types:e}))}if(o&&null!=e.size){let n;if(n=0+e.size,t.forEach(e=>{n+=e.size}),n>o)throw new pJ(this.i18n("exceedsSize",{size:pB(o),file:e.name}))}if(n&&null!=e.size&&e.size>n)throw new pJ(this.i18n("exceedsSize",{size:pB(n),file:e.name}));if(r&&null!=e.size&&e.size<r)throw new pJ(this.i18n("inferiorSize",{size:pB(r)}))}function hd(e){let{minNumberOfFiles:t}=this.opts.restrictions;if(Object.keys(e).length<t)throw new pJ(`${this.i18n("youHaveToAtLeastSelectX",{smart_count:t})}`)}function hp(e){let{requiredMetaFields:t}=this.opts.restrictions,{hasOwnProperty:n}=Object.prototype,r=[],o=[];for(let i=0;i<t.length;i++)if(!n.call(e.meta,t[i])||""===e.meta[t[i]]){let n=new pJ(`${this.i18n("missingRequiredMetaFieldOnFile",{fileName:e.name})}`);r.push(n),o.push(t[i]),pq(this,he)[he](n,{file:e,showInformer:!1,throwErr:!1})}return this.setFileState(e.id,{missingRequiredMetaFields:o}),r}function hh(e){let t=Object.keys(e).flatMap(e=>{let t=this.getFile(e);return pq(this,p7)[p7](t)});if(t.length)throw new pQ(t,`${this.i18n("missingRequiredMetaField")}`)}function hg(e,t){let{showInformer:n=!0,file:r=null,throwErr:o=!0}=void 0===t?{}:t,i="object"==typeof e?e.message:e,a="object"==typeof e&&e.details?e.details:"",u=i;if(a&&(u+=` ${a}`),e.isRestriction?(this.log(u),this.emit("restriction-failed",r,e)):this.log(u,"error"),n&&this.info({message:i,details:a},"error",this.opts.infoTimeout),o)throw"object"==typeof e?e:Error(e)}function hv(e){let{allowNewUpload:t}=this.getState();!1===t&&pq(this,he)[he](new pJ(this.i18n("noMoreFilesAllowed")),{file:e})}function hy(e,t){var n;let r,o=function(e){var t;if(e.type)return e.type;let n=e.name?null==(t=pL(e.name).extension)?void 0:t.toLowerCase():null;return n&&n in pM?pM[n]:"application/octet-stream"}(t),i=t.name?t.name:"image"===o.split("/")[0]?`${o.split("/")[0]}.${o.split("/")[1]}`:"noname",a=pL(i).extension,u=!!t.isRemote,s=(n={...t,type:o},r="uppy","string"==typeof n.name&&(r+=`-${pz(n.name.toLowerCase())}`),void 0!==n.type&&(r+=`-${n.type}`),n.meta&&"string"==typeof n.meta.relativePath&&(r+=`-${pz(n.meta.relativePath.toLowerCase())}`),void 0!==n.data.size&&(r+=`-${n.data.size}`),void 0!==n.data.lastModified&&(r+=`-${n.data.lastModified}`),r);if(this.checkIfFileAlreadyExists(s)){let e=new pJ(this.i18n("noDuplicates",{fileName:i}));pq(this,he)[he](e,{file:t})}let l=t.meta||{};l.name=i,l.type=o;let c=Number.isFinite(t.data.size)?t.data.size:null,f={source:t.source||"",id:s,name:i,extension:a||"",meta:{...this.getState().meta,...l},type:o,data:t.data,progress:{percentage:0,bytesUploaded:0,bytesTotal:c,uploadComplete:!1,uploadStarted:null},size:c,isRemote:u,remote:t.remote||"",preview:t.preview},d=this.opts.onBeforeFileAdded(f,e);!1===d?pq(this,he)[he](new pJ("Cannot add the file because onBeforeFileAdded returned false."),{showInformer:!1,fileDescriptor:t}):"object"==typeof d&&null!==d&&(f=d);try{let t=Object.keys(e).map(t=>e[t]);pq(this,p5)[p5](f,t)}catch(e){pq(this,he)[he](e,{file:f})}return f}function hm(){this.opts.autoProceed&&!this.scheduledAutoProceed&&(this.scheduledAutoProceed=setTimeout(()=>{this.scheduledAutoProceed=null,this.upload().catch(e=>{e.isRestriction||this.log(e.stack||e.message||e)})},4))}function hb(){let e=(e,t,n)=>{let r=e.message||"Unknown error";e.details&&(r+=` ${e.details}`),this.setState({error:r}),null!=t&&t.id in this.getState().files&&this.setFileState(t.id,{error:r,response:n})};this.on("error",e),this.on("upload-error",(t,n,r)=>{if(e(n,t,r),"object"==typeof n&&n.message){let e=Error(n.message);e.details=n.message,n.details&&(e.details+=` ${n.details}`),e.message=this.i18n("failedToUpload",{file:t.name}),pq(this,he)[he](e,{throwErr:!1})}else pq(this,he)[he](n,{throwErr:!1})}),this.on("upload",()=>{this.setState({error:null})}),this.on("upload-started",e=>{this.getFile(e.id)?this.setFileState(e.id,{progress:{uploadStarted:Date.now(),uploadComplete:!1,percentage:0,bytesUploaded:0,bytesTotal:e.size}}):this.log(`Not setting progress for a file that has been removed: ${e.id}`)}),this.on("upload-progress",this.calculateProgress),this.on("upload-success",(e,t)=>{if(!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${e.id}`);let n=this.getFile(e.id).progress;this.setFileState(e.id,{progress:{...n,postprocess:pq(this,p6)[p6].size>0?{mode:"indeterminate"}:null,uploadComplete:!0,percentage:100,bytesUploaded:n.bytesTotal},response:t,uploadURL:t.uploadURL,isPaused:!1}),null==e.size&&this.setFileState(e.id,{size:t.bytesUploaded||n.bytesTotal}),this.calculateTotalProgress()}),this.on("preprocess-progress",(e,t)=>{this.getFile(e.id)?this.setFileState(e.id,{progress:{...this.getFile(e.id).progress,preprocess:t}}):this.log(`Not setting progress for a file that has been removed: ${e.id}`)}),this.on("preprocess-complete",e=>{if(!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${e.id}`);let t={...this.getState().files};t[e.id]={...t[e.id],progress:{...t[e.id].progress}},delete t[e.id].progress.preprocess,this.setState({files:t})}),this.on("postprocess-progress",(e,t)=>{this.getFile(e.id)?this.setFileState(e.id,{progress:{...this.getState().files[e.id].progress,postprocess:t}}):this.log(`Not setting progress for a file that has been removed: ${e.id}`)}),this.on("postprocess-complete",e=>{if(!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${e.id}`);let t={...this.getState().files};t[e.id]={...t[e.id],progress:{...t[e.id].progress}},delete t[e.id].progress.postprocess,this.setState({files:t})}),this.on("restored",()=>{this.calculateTotalProgress()}),this.on("dashboard:file-edit-complete",e=>{e&&pq(this,p7)[p7](e)}),"undefined"!=typeof window&&window.addEventListener&&(window.addEventListener("online",pq(this,hi)[hi]),window.addEventListener("offline",pq(this,hi)[hi]),setTimeout(pq(this,hi)[hi],3e3))}function hw(e,t){void 0===t&&(t={});let{forceAllowNewUpload:n=!1}=t,{allowNewUpload:r,currentUploads:o}=this.getState();if(!r&&!n)throw Error("Cannot create a new upload: already uploading.");let i=pZ();return this.emit("upload",{id:i,fileIDs:e}),this.setState({allowNewUpload:!1!==this.opts.allowMultipleUploadBatches&&!1!==this.opts.allowMultipleUploads,currentUploads:{...o,[i]:{fileIDs:e,step:0,result:{}}}}),i}function hE(e){let{currentUploads:t}=this.getState();return t[e]}function hD(e){let t={...this.getState().currentUploads};delete t[e],this.setState({currentUploads:t})}async function hS(e){let t,{currentUploads:n}=this.getState(),r=n[e],o=r.step||0,i=[...pq(this,p4)[p4],...pq(this,p3)[p3],...pq(this,p6)[p6]];try{for(let t=o;t<i.length&&r;t++){let o=i[t],a={...r,step:t};this.setState({currentUploads:{...n,[e]:a}}),await o(a.fileIDs,e),r=(n=this.getState().currentUploads)[e]}}catch(t){throw this.emit("error",t),pq(this,hs)[hs](e),t}if(r){r.fileIDs.forEach(e=>{let t=this.getFile(e);t&&t.progress.postprocess&&this.emit("postprocess-complete",t)});let t=r.fileIDs.map(e=>this.getFile(e)),o=t.filter(e=>!e.error),i=t.filter(e=>e.error);await this.addResultData(e,{successful:o,failed:i,uploadID:e}),r=(n=this.getState().currentUploads)[e]}return r&&(t=r.result,this.emit("complete",t),pq(this,hs)[hs](e)),null==t&&this.log(`Not setting result for an upload that has been removed: ${e}`),t}hc.VERSION="2.1.3";var hx=s(function(e,t){var n,r,o,i,a,u,s,l={},c=[],f=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function d(e,t){for(var n in t)e[n]=t[n];return e}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function h(e,t,r){var o,i,a,u={};for(a in t)"key"==a?o=t[a]:"ref"==a?i=t[a]:u[a]=t[a];if(arguments.length>2&&(u.children=arguments.length>3?n.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===u[a]&&(u[a]=e.defaultProps[a]);return g(e,u,o,i,null)}function g(e,t,n,i,a){var u={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++o:a};return null==a&&null!=r.vnode&&r.vnode(u),u}function v(e){return e.children}function y(e,t){this.props=e,this.context=t}function m(e,t){if(null==t)return e.__?m(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?m(e):null}function b(e){(!e.__d&&(e.__d=!0)&&i.push(e)&&!w.__r++||u!==r.debounceRendering)&&((u=r.debounceRendering)||a)(w)}function w(){for(var e;w.__r=i.length;)e=i.sort(function(e,t){return e.__v.__b-t.__v.__b}),i=[],e.some(function(e){var t,n,r,o,i;e.__d&&(o=(r=e.__v).__e,(i=e.__P)&&(t=[],(n=d({},r)).__v=r.__v+1,A(i,r,n,e.__n,void 0!==i.ownerSVGElement,null!=r.__h?[o]:null,t,null==o?m(r):o,r.__h),k(t,r),r.__e!=o&&function e(t){var n,r;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if(null!=(r=t.__k[n])&&null!=r.__e){t.__e=t.__c.base=r.__e;break}return e(t)}}(r)))})}function E(e,t,n,o,i,a,u,s,f,d){var h,y,b,w,E,S,x,C=o&&o.__k||c,O=C.length;for(n.__k=[],h=0;h<t.length;h++)if(null!=(w=n.__k[h]=null==(w=t[h])||"boolean"==typeof w?null:"string"==typeof w||"number"==typeof w||"bigint"==typeof w?g(null,w,null,null,w):Array.isArray(w)?g(v,{children:w},null,null,null):w.__b>0?g(w.type,w.props,w.key,null,w.__v):w)){if(w.__=n,w.__b=n.__b+1,null===(b=C[h])||b&&w.key==b.key&&w.type===b.type)C[h]=void 0;else for(y=0;y<O;y++){if((b=C[y])&&w.key==b.key&&w.type===b.type){C[y]=void 0;break}b=null}A(e,w,b=b||l,i,a,u,s,f,d),E=w.__e,(y=w.ref)&&b.ref!=y&&(x||(x=[]),b.ref&&x.push(b.ref,null,w),x.push(y,w.__c||E,w)),null!=E?(null==S&&(S=E),"function"==typeof w.type&&w.__k===b.__k?w.__d=f=function e(t,n,r){for(var o,i=t.__k,a=0;i&&a<i.length;a++)(o=i[a])&&(o.__=t,n="function"==typeof o.type?e(o,n,r):D(r,o,o,i,o.__e,n));return n}(w,f,e):f=D(e,w,b,C,E,f),"function"==typeof n.type&&(n.__d=f)):f&&b.__e==f&&f.parentNode!=e&&(f=m(b))}for(n.__e=S,h=O;h--;)null!=C[h]&&("function"==typeof n.type&&null!=C[h].__e&&C[h].__e==n.__d&&(n.__d=m(o,h+1)),function e(t,n,o){var i,a;if(r.unmount&&r.unmount(t),(i=t.ref)&&(i.current&&i.current!==t.__e||T(i,null,n)),null!=(i=t.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){r.__e(e,n)}i.base=i.__P=null}if(i=t.__k)for(a=0;a<i.length;a++)i[a]&&e(i[a],n,"function"!=typeof t.type);o||null==t.__e||p(t.__e),t.__e=t.__d=void 0}(C[h],C[h]));if(x)for(h=0;h<x.length;h++)T(x[h],x[++h],x[++h])}function D(e,t,n,r,o,i){var a,u,s;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),a=null;else{for(u=i,s=0;(u=u.nextSibling)&&s<r.length;s+=2)if(u==o)break e;e.insertBefore(o,i),a=i}return void 0!==a?a:o.nextSibling}function S(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||f.test(t)?n:n+"px"}function x(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||S(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||S(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?O:C,i):e.removeEventListener(t,i?O:C,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function C(e){this.l[e.type+!1](r.event?r.event(e):e)}function O(e){this.l[e.type+!0](r.event?r.event(e):e)}function A(e,t,o,i,a,u,s,c,f){var h,g,b,w,D,S,C,O,A,k,T,F=t.type;if(void 0!==t.constructor)return null;null!=o.__h&&(f=o.__h,c=t.__e=o.__e,t.__h=null,u=[c]),(h=r.__b)&&h(t);try{e:if("function"==typeof F){if(O=t.props,A=(h=F.contextType)&&i[h.__c],k=h?A?A.props.value:h.__:i,o.__c?C=(g=t.__c=o.__c).__=g.__E:("prototype"in F&&F.prototype.render?t.__c=g=new F(O,k):(t.__c=g=new y(O,k),g.constructor=F,g.render=B),A&&A.sub(g),g.props=O,g.state||(g.state={}),g.context=k,g.__n=i,b=g.__d=!0,g.__h=[]),null==g.__s&&(g.__s=g.state),null!=F.getDerivedStateFromProps&&(g.__s==g.state&&(g.__s=d({},g.__s)),d(g.__s,F.getDerivedStateFromProps(O,g.__s))),w=g.props,D=g.state,b)null==F.getDerivedStateFromProps&&null!=g.componentWillMount&&g.componentWillMount(),null!=g.componentDidMount&&g.__h.push(g.componentDidMount);else{if(null==F.getDerivedStateFromProps&&O!==w&&null!=g.componentWillReceiveProps&&g.componentWillReceiveProps(O,k),!g.__e&&null!=g.shouldComponentUpdate&&!1===g.shouldComponentUpdate(O,g.__s,k)||t.__v===o.__v){g.props=O,g.state=g.__s,t.__v!==o.__v&&(g.__d=!1),g.__v=t,t.__e=o.__e,t.__k=o.__k,t.__k.forEach(function(e){e&&(e.__=t)}),g.__h.length&&s.push(g);break e}null!=g.componentWillUpdate&&g.componentWillUpdate(O,g.__s,k),null!=g.componentDidUpdate&&g.__h.push(function(){g.componentDidUpdate(w,D,S)})}g.context=k,g.props=O,g.state=g.__s,(h=r.__r)&&h(t),g.__d=!1,g.__v=t,g.__P=e,h=g.render(g.props,g.state,g.context),g.state=g.__s,null!=g.getChildContext&&(i=d(d({},i),g.getChildContext())),b||null==g.getSnapshotBeforeUpdate||(S=g.getSnapshotBeforeUpdate(w,D)),T=null!=h&&h.type===v&&null==h.key?h.props.children:h,E(e,Array.isArray(T)?T:[T],t,o,i,a,u,s,c,f),g.base=t.__e,t.__h=null,g.__h.length&&s.push(g),C&&(g.__E=g.__=null),g.__e=!1}else null==u&&t.__v===o.__v?(t.__k=o.__k,t.__e=o.__e):t.__e=function(e,t,r,o,i,a,u,s){var c,f,d,h=r.props,g=t.props,v=t.type,y=0;if("svg"===v&&(i=!0),null!=a){for(;y<a.length;y++)if((c=a[y])&&"setAttribute"in c==!!v&&(v?c.localName===v:3===c.nodeType)){e=c,a[y]=null;break}}if(null==e){if(null===v)return document.createTextNode(g);e=i?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,g.is&&g),a=null,s=!1}if(null===v)h===g||s&&e.data===g||(e.data=g);else{if(a=a&&n.call(e.childNodes),f=(h=r.props||l).dangerouslySetInnerHTML,d=g.dangerouslySetInnerHTML,!s){if(null!=a)for(h={},y=0;y<e.attributes.length;y++)h[e.attributes[y].name]=e.attributes[y].value;(d||f)&&(d&&(f&&d.__html==f.__html||d.__html===e.innerHTML)||(e.innerHTML=d&&d.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||x(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||x(e,i,t[i],n[i],r)}(e,g,h,i,s),d)t.__k=[];else if(E(e,Array.isArray(y=t.props.children)?y:[y],t,r,o,i&&"foreignObject"!==v,a,u,a?a[0]:r.__k&&m(r,0),s),null!=a)for(y=a.length;y--;)null!=a[y]&&p(a[y]);s||("value"in g&&void 0!==(y=g.value)&&(y!==h.value||y!==e.value||"progress"===v&&!y)&&x(e,"value",y,h.value,!1),"checked"in g&&void 0!==(y=g.checked)&&y!==e.checked&&x(e,"checked",y,h.checked,!1))}return e}(o.__e,t,o,i,a,u,s,f);(h=r.diffed)&&h(t)}catch(e){t.__v=null,(f||null!=u)&&(t.__e=c,t.__h=!!f,u[u.indexOf(c)]=null),r.__e(e,t,o)}}function k(e,t){r.__c&&r.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){r.__e(e,t.__v)}})}function T(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){r.__e(e,n)}}function B(e,t,n){return this.constructor(e,n)}function F(e,t,o){var i,a,u;r.__&&r.__(e,t),a=(i="function"==typeof o)?null:o&&o.__k||t.__k,u=[],A(t,e=(!i&&o||t).__k=h(v,null,[e]),a||l,l,void 0!==t.ownerSVGElement,!i&&o?[o]:a?null:t.firstChild?n.call(t.childNodes):null,u,!i&&o?o:a?a.__e:t.firstChild,i),k(u,e)}n=c.slice,r={__e:function(e,t){for(var n,r,o;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),o=n.__d),o)return n.__E=n}catch(t){e=t}throw e}},o=0,y.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d({},this.state),"function"==typeof e&&(e=e(d({},n),this.props)),e&&d(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),b(this))},y.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),b(this))},y.prototype.render=v,i=[],a="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,w.__r=0,s=0,t.Component=y,t.Fragment=v,t.cloneElement=function(e,t,r){var o,i,a,u=d({},e.props);for(a in t)"key"==a?o=t[a]:"ref"==a?i=t[a]:u[a]=t[a];return arguments.length>2&&(u.children=arguments.length>3?n.call(arguments,2):r),g(e.type,u,o||e.key,i||e.ref,null)},t.createContext=function(e,t){var n={__c:t="__cC"+s++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(b)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n},t.createElement=h,t.createRef=function(){return{current:null}},t.h=h,t.hydrate=function e(t,n){F(t,n,e)},t.isValidElement=function(e){return null!=e&&void 0===e.constructor},t.options=r,t.render=F,t.toChildArray=function e(t,n){return n=n||[],null==t||"boolean"==typeof t||(Array.isArray(t)?t.some(function(t){e(t,n)}):n.push(t)),n}}),hC=class{constructor(e,t){void 0===t&&(t={}),this.uppy=e,this.opts=t}getPluginState(){let{plugins:e}=this.uppy.getState();return e[this.id]||{}}setPluginState(e){let{plugins:t}=this.uppy.getState();this.uppy.setState({plugins:{...t,[this.id]:{...t[this.id],...e}}})}setOptions(e){this.opts={...this.opts,...e},this.setPluginState(),this.i18nInit()}i18nInit(){let e=new pS([this.defaultLocale,this.uppy.locale,this.opts.locale]);this.i18n=e.translate.bind(e),this.i18nArray=e.translateArray.bind(e),this.setPluginState()}addTarget(){throw Error("Extend the addTarget method to add your plugin to another plugin's target")}install(){}uninstall(){}render(){throw Error("Extend the render method to add your plugin to a DOM element")}update(){}afterUpdate(){}};function hO(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var hA=0;let{render:hk}=hx;var hT="__private_"+hA+++"_updateUI";class hB extends hC{constructor(){super(...arguments),Object.defineProperty(this,hT,{writable:!0,value:void 0})}mount(e,t){var n,r,o;let i,a=t.id,u=(n=e,void 0===r&&(r=document),"string"==typeof n?r.querySelector(n):(null==n?void 0:n.nodeType)===Node.ELEMENT_NODE?n:null);if(u){let t,n;this.isTargetDOMEl=!0;let r=document.createDocumentFragment();return hO(this,hT)[hT]=(o=e=>{this.uppy.getPlugin(this.id)&&(hk(this.render(e),r),this.afterUpdate())},t=null,n=null,function(){for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];return n=r,t||(t=Promise.resolve().then(()=>(t=null,o(...n)))),t}),this.uppy.log(`Installing ${a} to a DOM element '${e}'`),this.opts.replaceTargetContent&&(u.innerHTML=""),hk(this.render(this.uppy.getState()),r),this.el=r.firstElementChild,u.appendChild(r),this.onMount(),this.el}if("object"==typeof e&&e instanceof hB?i=e:"function"==typeof e&&this.uppy.iteratePlugins(t=>{if(t instanceof e)return i=t,!1}),i)return this.uppy.log(`Installing ${a} to ${i.id}`),this.parent=i,this.el=i.addTarget(t),this.onMount(),this.el;this.uppy.log(`Not installing ${a}`);let s=`Invalid target option given to ${a}.`;throw Error(s+="function"==typeof e?" The given target is not a Plugin class. Please check that you're not specifying a React Component instead of a plugin. If you are using @uppy/* packages directly, make sure you have only 1 version of @uppy/core installed: run `npm ls @uppy/core` on the command line and verify that all the versions match and are deduped correctly.":"If you meant to target an HTML element, please make sure that the element exists. Check that the <script> tag initializing Uppy is right before the closing </body> tag at the end of the page. (see https://github.com/transloadit/uppy/issues/1042)\n\nIf you meant to target a plugin, please confirm that your `import` statements or `require` calls are correct.")}update(e){var t,n;null!=this.el&&(null==(t=(n=hO(this,hT))[hT])||t.call(n,e))}unmount(){var e;this.isTargetDOMEl&&(null==(e=this.el)||e.remove()),this.onUnmount()}onMount(){}onUnmount(){}}let{debugLogger:hF}=pV;hc.Uppy=hc,hc.UIPlugin=hB,hc.BasePlugin=hC,hc.debugLogger=hF;var h_,hP,hj,hI,hN,hR=class extends Error{constructor(e,t){void 0===t&&(t=null),super("This looks like a network error, the endpoint might be blocked by an internet provider or a firewall."),this.cause=e,this.isNetworkError=!0,this.request=t}},hL=function(){return fetch(...arguments).catch(e=>{throw"AbortError"===e.name?e:new hR(e)})},hM=class extends Error{constructor(){super("Authorization required"),this.name="AuthError",this.isAuthError=!0}};function hz(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var h$=0;function hH(e){return"__private_"+h$+++"_"+e}async function hU(e){if(401===e.status)throw new hM;let t=e.json();if(e.status<200||e.status>300){let n=`Failed request with status: ${e.status}. ${e.statusText}`;try{let e=await t;n=e.message?`${n} message: ${e.message}`:n,n=e.requestId?`${n} request-Id: ${e.requestId}`:n}finally{throw Error(n)}}return t}var hV=(hP=hH("getPostResponseFunc"),hj=hH("getUrl"),hI=hH("errorHandler"),hN=h_=class e{constructor(e,t){Object.defineProperty(this,hI,{value:hq}),Object.defineProperty(this,hj,{value:hW}),Object.defineProperty(this,hP,{writable:!0,value:e=>t=>e?t:this.onReceiveResponse(t)}),this.uppy=e,this.opts=t,this.onReceiveResponse=this.onReceiveResponse.bind(this),this.allowedHeaders=["accept","content-type","uppy-auth-token"],this.preflightDone=!1}get hostname(){let{companion:e}=this.uppy.getState(),t=this.opts.companionUrl;return(e&&e[t]?e[t]:t).replace(/\/$/,"")}headers(){let t=this.opts.companionHeaders||{};return Promise.resolve({...e.defaultHeaders,...t})}onReceiveResponse(e){let t=this.uppy.getState().companion||{},n=this.opts.companionUrl,{headers:r}=e;return r.has("i-am")&&r.get("i-am")!==t[n]&&this.uppy.setState({companion:{...t,[n]:r.get("i-am")}}),e}preflight(e){return this.preflightDone?Promise.resolve(this.allowedHeaders.slice()):fetch(hz(this,hj)[hj](e),{method:"OPTIONS"}).then(e=>(e.headers.has("access-control-allow-headers")&&(this.allowedHeaders=e.headers.get("access-control-allow-headers").split(",").map(e=>e.trim().toLowerCase())),this.preflightDone=!0,this.allowedHeaders.slice())).catch(e=>(this.uppy.log(`[CompanionClient] unable to make preflight request ${e}`,"warning"),this.preflightDone=!0,this.allowedHeaders.slice()))}preflightAndHeaders(e){return Promise.all([this.preflight(e),this.headers()]).then(e=>{let[t,n]=e;return Object.keys(n).forEach(e=>{t.includes(e.toLowerCase())||(this.uppy.log(`[CompanionClient] excluding disallowed header ${e}`),delete n[e])}),n})}get(e,t){return this.preflightAndHeaders(e).then(t=>hL(hz(this,hj)[hj](e),{method:"get",headers:t,credentials:this.opts.companionCookiesRule||"same-origin"})).then(hz(this,hP)[hP](t)).then(hU).catch(hz(this,hI)[hI]("get",e))}post(e,t,n){let r="post";return this.preflightAndHeaders(e).then(n=>hL(hz(this,hj)[hj](e),{method:r,headers:n,credentials:this.opts.companionCookiesRule||"same-origin",body:JSON.stringify(t)})).then(hz(this,hP)[hP](n)).then(hU).catch(hz(this,hI)[hI](r,e))}delete(e,t,n){let r="delete";return this.preflightAndHeaders(e).then(n=>hL(`${this.hostname}/${e}`,{method:r,headers:n,credentials:this.opts.companionCookiesRule||"same-origin",body:t?JSON.stringify(t):null})).then(hz(this,hP)[hP](n)).then(hU).catch(hz(this,hI)[hI](r,e))}},h_.VERSION="2.0.4",h_.defaultHeaders={Accept:"application/json","Content-Type":"application/json","Uppy-Versions":`@uppy/companion-client=${h_.VERSION}`},hN);function hW(e){return/^(https?:|)\/\//.test(e)?e:`${this.hostname}/${e}`}function hq(e,t){return n=>{var r;if(null==(r=n)||!r.isAuthError){let r=Error(`Could not ${e} ${hz(this,hj)[hj](t)}`);r.cause=n,n=r}return Promise.reject(n)}}var hG={setItem:(e,t)=>new Promise(n=>{localStorage.setItem(e,t),n()}),getItem:e=>Promise.resolve(localStorage.getItem(e)),removeItem:e=>new Promise(t=>{localStorage.removeItem(e),t()})};function hK(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var hZ=0;function hX(e){return"__private_"+hZ+++"_"+e}var hY,hJ,hQ,h0,h1,h2,h4,h3=(hY=hX("queued"),hJ=hX("emitter"),hQ=hX("isOpen"),h0=hX("socket"),h1=hX("handleMessage"),i=Symbol.for("uppy test: getSocket"),a=Symbol.for("uppy test: getQueued"),class{constructor(e){Object.defineProperty(this,hY,{writable:!0,value:[]}),Object.defineProperty(this,hJ,{writable:!0,value:pC()}),Object.defineProperty(this,hQ,{writable:!0,value:!1}),Object.defineProperty(this,h0,{writable:!0,value:void 0}),Object.defineProperty(this,h1,{writable:!0,value:e=>{try{let t=JSON.parse(e.data);this.emit(t.action,t.payload)}catch(e){console.log(e)}}}),this.opts=e,e&&!1===e.autoOpen||this.open()}get isOpen(){return hK(this,hQ)[hQ]}[i](){return hK(this,h0)[h0]}[a](){return hK(this,hY)[hY]}open(){hK(this,h0)[h0]=new WebSocket(this.opts.target),hK(this,h0)[h0].onopen=()=>{for(hK(this,hQ)[hQ]=!0;hK(this,hY)[hY].length>0&&hK(this,hQ)[hQ];){let e=hK(this,hY)[hY].shift();this.send(e.action,e.payload)}},hK(this,h0)[h0].onclose=()=>{hK(this,hQ)[hQ]=!1},hK(this,h0)[h0].onmessage=hK(this,h1)[h1]}close(){var e;null==(e=hK(this,h0)[h0])||e.close()}send(e,t){hK(this,hQ)[hQ]?hK(this,h0)[h0].send(JSON.stringify({action:e,payload:t})):hK(this,hY)[hY].push({action:e,payload:t})}on(e,t){hK(this,hJ)[hJ].on(e,t)}emit(e,t){hK(this,hJ)[hJ].emit(e,t)}once(e,t){hK(this,hJ)[hJ].once(e,t)}}),h6=f4(function(e,t,n){let{progress:r,bytesUploaded:o,bytesTotal:i}=t;r&&(e.uppy.log(`Upload progress: ${r}`),e.uppy.emit("upload-progress",n,{uploader:e,bytesUploaded:o,bytesTotal:i}))},300,{leading:!0,trailing:!0});function h5(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var h8=0;function h7(e){return"__private_"+h8+++"_"+e}var h9=(h2=h7("emitter"),h4=h7("events"),class{constructor(e){Object.defineProperty(this,h2,{writable:!0,value:void 0}),Object.defineProperty(this,h4,{writable:!0,value:[]}),h5(this,h2)[h2]=e}on(e,t){return h5(this,h4)[h4].push([e,t]),h5(this,h2)[h2].on(e,t)}remove(){for(let[e,t]of h5(this,h4)[h4].splice(0))h5(this,h2)[h2].off(e,t)}});function ge(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var gt=0;function gn(e){return"__private_"+gt+++"_"+e}var gr=gn("aliveTimer"),go=gn("isDone"),gi=gn("onTimedOut"),ga=gn("timeout"),gu=class{constructor(e,t){Object.defineProperty(this,gr,{writable:!0,value:void 0}),Object.defineProperty(this,go,{writable:!0,value:!1}),Object.defineProperty(this,gi,{writable:!0,value:void 0}),Object.defineProperty(this,ga,{writable:!0,value:void 0}),ge(this,ga)[ga]=e,ge(this,gi)[gi]=t}progress(){ge(this,go)[go]||ge(this,ga)[ga]>0&&(clearTimeout(ge(this,gr)[gr]),ge(this,gr)[gr]=setTimeout(ge(this,gi)[gi],ge(this,ga)[ga]))}done(){ge(this,go)[go]||(clearTimeout(ge(this,gr)[gr]),ge(this,gr)[gr]=null,ge(this,go)[go]=!0)}};function gs(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var gl=0;function gc(e){return"__private_"+gl+++"_"+e}var gf=gc("activeRequests"),gd=gc("queuedHandlers"),gp=gc("call"),gh=gc("queueNext"),gg=gc("next"),gv=gc("queue"),gy=gc("dequeue");function gm(e){gs(this,gf)[gf]+=1;let t,n=!1;try{t=e()}catch(e){throw gs(this,gf)[gf]-=1,e}return{abort:()=>{n||(n=!0,gs(this,gf)[gf]-=1,t(),gs(this,gh)[gh]())},done:()=>{n||(n=!0,gs(this,gf)[gf]-=1,gs(this,gh)[gh]())}}}function gb(){queueMicrotask(()=>gs(this,gg)[gg]())}function gw(){if(gs(this,gf)[gf]>=this.limit||0===gs(this,gd)[gd].length)return;let e=gs(this,gd)[gd].shift(),t=gs(this,gp)[gp](e.fn);e.abort=t.abort,e.done=t.done}function gE(e,t){void 0===t&&(t={});let n={fn:e,priority:t.priority||0,abort:()=>{gs(this,gy)[gy](n)},done:()=>{throw Error("Cannot mark a queued request as done: this indicates a bug")}},r=gs(this,gd)[gd].findIndex(e=>n.priority>e.priority);return -1===r?gs(this,gd)[gd].push(n):gs(this,gd)[gd].splice(r,0,n),n}function gD(e){let t=gs(this,gd)[gd].indexOf(e);-1!==t&&gs(this,gd)[gd].splice(t,1)}var gS,gx,gC={RateLimitedQueue:class{constructor(e){Object.defineProperty(this,gy,{value:gD}),Object.defineProperty(this,gv,{value:gE}),Object.defineProperty(this,gg,{value:gw}),Object.defineProperty(this,gh,{value:gb}),Object.defineProperty(this,gp,{value:gm}),Object.defineProperty(this,gf,{writable:!0,value:0}),Object.defineProperty(this,gd,{writable:!0,value:[]}),this.limit="number"!=typeof e||0===e?1/0:e}run(e,t){return gs(this,gf)[gf]<this.limit?gs(this,gp)[gp](e):gs(this,gv)[gv](e,t)}wrapPromiseFunction(e,t){var n=this;return function(){let r;for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];let u=new Promise((o,a)=>{r=n.run(()=>{let t,n;try{n=Promise.resolve(e(...i))}catch(e){n=Promise.reject(e)}return n.then(e=>{t?a(t):(r.done(),o(e))},e=>{t?a(t):(r.done(),a(e))}),()=>{t=Error("Cancelled")}},t)});return u.abort=()=>{r.abort()},u}}},internalRateLimitedQueue:Symbol("__queue")},gO=function(e){return!!e&&(0!==e.readyState&&4!==e.readyState||0===e.status)},gA={strings:{timedOut:"Upload stalled for %{seconds} seconds, aborting."}};let{nanoid:gk}=pT,{Provider:gT,RequestClient:gB,Socket:gF}={RequestClient:hV,Provider:class extends hV{constructor(e,t){super(e,t),this.provider=t.provider,this.id=this.provider,this.name=this.opts.name||this.id.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" "),this.pluginId=this.opts.pluginId,this.tokenKey=`companion-${this.pluginId}-auth-token`,this.companionKeysParams=this.opts.companionKeysParams,this.preAuthToken=null}headers(){return Promise.all([super.headers(),this.getAuthToken()]).then(e=>{let[t,n]=e,r={};return n&&(r["uppy-auth-token"]=n),this.companionKeysParams&&(r["uppy-credentials-params"]=btoa(JSON.stringify({params:this.companionKeysParams}))),{...t,...r}})}onReceiveResponse(e){e=super.onReceiveResponse(e);let t=this.uppy.getPlugin(this.pluginId),n=t.getPluginState().authenticated?401!==e.status:e.status<400;return t.setPluginState({authenticated:n}),e}setAuthToken(e){return this.uppy.getPlugin(this.pluginId).storage.setItem(this.tokenKey,e)}getAuthToken(){return this.uppy.getPlugin(this.pluginId).storage.getItem(this.tokenKey)}authUrl(e){return void 0===e&&(e={}),this.preAuthToken&&(e.uppyPreAuthToken=this.preAuthToken),`${this.hostname}/${this.id}/connect?${new URLSearchParams(e)}`}fileUrl(e){return`${this.hostname}/${this.id}/get/${e}`}fetchPreAuthToken(){return this.companionKeysParams?this.post(`${this.id}/preauth/`,{params:this.companionKeysParams}).then(e=>{this.preAuthToken=e.token}).catch(e=>{this.uppy.log(`[CompanionClient] unable to fetch preAuthToken ${e}`,"warning")}):Promise.resolve()}list(e){return this.get(`${this.id}/list/${e||""}`)}logout(){return this.get(`${this.id}/logout`).then(e=>Promise.all([e,this.uppy.getPlugin(this.pluginId).storage.removeItem(this.tokenKey)])).then(e=>{let[t]=e;return t})}static initPlugin(e,t,n){if(e.type="acquirer",e.files=[],n&&(e.opts={...n,...t}),t.serverUrl||t.serverPattern)throw Error("`serverUrl` and `serverPattern` have been renamed to `companionUrl` and `companionAllowedHosts` respectively in the 0.30.5 release. Please consult the docs (for example, https://uppy.io/docs/instagram/ for the Instagram plugin) and use the updated options.`");if(t.companionAllowedHosts){let n=t.companionAllowedHosts;if(!("string"==typeof n||Array.isArray(n)||n instanceof RegExp))throw TypeError(`${e.id}: the option "companionAllowedHosts" must be one of string, Array, RegExp`);e.opts.companionAllowedHosts=n}else/^(?!https?:\/\/).*$/i.test(t.companionUrl)?e.opts.companionAllowedHosts=`https://${t.companionUrl.replace(/^\/\//,"")}`:e.opts.companionAllowedHosts=new URL(t.companionUrl).origin;e.storage=e.opts.storage||hG}},SearchProvider:class extends hV{constructor(e,t){super(e,t),this.provider=t.provider,this.id=this.provider,this.name=this.opts.name||this.id.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" "),this.pluginId=this.opts.pluginId}fileUrl(e){return`${this.hostname}/search/${this.id}/get/${e}`}search(e,t){return t=t?`&${t}`:"",this.get(`search/${this.id}/list?q=${encodeURIComponent(e)}${t}`)}},Socket:h3},{RateLimitedQueue:g_,internalRateLimitedQueue:gP}=gC;function gj(e,t){let n=t;return n||(n=Error("Upload error")),"string"==typeof n&&(n=Error(n)),n instanceof Error||(n=Object.assign(Error("Upload error"),{data:n})),gO(e)?n=new hR(n,e):(n.request=e,n)}function gI(e){return e.data.slice(0,e.data.size,e.meta.type)}var gN=(gx=gS=class extends hC{constructor(e,t){super(e,t),this.type="uploader",this.id=this.opts.id||"XHRUpload",this.title="XHRUpload",this.defaultLocale=gA;let n={formData:!0,fieldName:t.bundle?"files[]":"file",method:"post",metaFields:null,responseUrlFieldName:"url",bundle:!1,headers:{},timeout:3e4,limit:5,withCredentials:!1,responseType:"",getResponseData(t){let n={};try{n=JSON.parse(t)}catch(t){e.log(t)}return n},getResponseError(e,t){let n=Error("Upload error");return gO(t)&&(n=new hR(n,t)),n},validateStatus:e=>e>=200&&e<300};if(this.opts={...n,...t},this.i18nInit(),this.handleUpload=this.handleUpload.bind(this),gP in this.opts?this.requests=this.opts[gP]:this.requests=new g_(this.opts.limit),this.opts.bundle&&!this.opts.formData)throw Error("`opts.formData` must be true when `opts.bundle` is enabled.");this.uploaderEvents=Object.create(null)}getOptions(e){let t=this.uppy.getState().xhrUpload,{headers:n}=this.opts,r={...this.opts,...t||{},...e.xhrUpload||{},headers:{}};return"function"==typeof n?r.headers=n(e):Object.assign(r.headers,this.opts.headers),t&&Object.assign(r.headers,t.headers),e.xhrUpload&&Object.assign(r.headers,e.xhrUpload.headers),r}addMetadata(e,t,n){(Array.isArray(n.metaFields)?n.metaFields:Object.keys(t)).forEach(n=>{e.append(n,t[n])})}createFormDataUpload(e,t){let n=new FormData;this.addMetadata(n,e.meta,t);let r=gI(e);return e.name?n.append(t.fieldName,r,e.meta.name):n.append(t.fieldName,r),n}createBundledUpload(e,t){let n=new FormData,{meta:r}=this.uppy.getState();return this.addMetadata(n,r,t),e.forEach(e=>{let t=this.getOptions(e),r=gI(e);e.name?n.append(t.fieldName,r,e.name):n.append(t.fieldName,r)}),n}upload(e,t,n){let r=this.getOptions(e);return this.uppy.log(`uploading ${t} of ${n}`),new Promise((t,n)=>{this.uppy.emit("upload-started",e);let o=r.formData?this.createFormDataUpload(e,r):e.data,i=new XMLHttpRequest;this.uploaderEvents[e.id]=new h9(this.uppy);let a=new gu(r.timeout,()=>{i.abort(),s.done();let t=Error(this.i18n("timedOut",{seconds:Math.ceil(r.timeout/1e3)}));this.uppy.emit("upload-error",e,t),n(t)}),u=gk();i.upload.addEventListener("loadstart",()=>{this.uppy.log(`[XHRUpload] ${u} started`)}),i.upload.addEventListener("progress",t=>{this.uppy.log(`[XHRUpload] ${u} progress: ${t.loaded} / ${t.total}`),a.progress(),t.lengthComputable&&this.uppy.emit("upload-progress",e,{uploader:this,bytesUploaded:t.loaded,bytesTotal:t.total})}),i.addEventListener("load",o=>{if(this.uppy.log(`[XHRUpload] ${u} finished`),a.done(),s.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),r.validateStatus(o.target.status,i.responseText,i)){let n=r.getResponseData(i.responseText,i),a=n[r.responseUrlFieldName],u={status:o.target.status,body:n,uploadURL:a};return this.uppy.emit("upload-success",e,u),a&&this.uppy.log(`Download ${e.name} from ${a}`),t(e)}let l=r.getResponseData(i.responseText,i),c=gj(i,r.getResponseError(i.responseText,i)),f={status:o.target.status,body:l};return this.uppy.emit("upload-error",e,c,f),n(c)}),i.addEventListener("error",()=>{this.uppy.log(`[XHRUpload] ${u} errored`),a.done(),s.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null);let t=gj(i,r.getResponseError(i.responseText,i));return this.uppy.emit("upload-error",e,t),n(t)}),i.open(r.method.toUpperCase(),r.endpoint,!0),i.withCredentials=r.withCredentials,""!==r.responseType&&(i.responseType=r.responseType);let s=this.requests.run(()=>{this.uppy.emit("upload-started",e);let t=this.getOptions(e);return Object.keys(t.headers).forEach(e=>{i.setRequestHeader(e,t.headers[e])}),i.send(o),()=>{a.done(),i.abort()}});this.onFileRemove(e.id,()=>{s.abort(),n(Error("File removed"))}),this.onCancelAll(e.id,()=>{s.abort(),n(Error("Upload cancelled"))})})}uploadRemote(e){let t=this.getOptions(e);return new Promise((n,r)=>{this.uppy.emit("upload-started",e);let o={};(Array.isArray(t.metaFields)?t.metaFields:Object.keys(e.meta)).forEach(t=>{o[t]=e.meta[t]}),new(e.remote.providerOptions.provider?gT:gB)(this.uppy,e.remote.providerOptions).post(e.remote.url,{...e.remote.body,endpoint:t.endpoint,size:e.data.size,fieldname:t.fieldName,metadata:o,httpMethod:t.method,useFormData:t.formData,headers:t.headers}).then(o=>{let{token:i}=o,a=function(e){let t=/^(?:https?:\/\/|\/\/)?(?:[^@\n]+@)?(?:www\.)?([^\n]+)/i.exec(e)[1];return`${/^http:\/\//i.test(e)?"ws":"wss"}://${t}`}(e.remote.companionUrl),u=new gF({target:`${a}/api/${i}`,autoOpen:!1});this.uploaderEvents[e.id]=new h9(this.uppy),this.onFileRemove(e.id,()=>{u.send("cancel",{}),s.abort(),n(`upload ${e.id} was removed`)}),this.onCancelAll(e.id,()=>{u.send("cancel",{}),s.abort(),n(`upload ${e.id} was canceled`)}),this.onRetry(e.id,()=>{u.send("pause",{}),u.send("resume",{})}),this.onRetryAll(e.id,()=>{u.send("pause",{}),u.send("resume",{})}),u.on("progress",t=>h6(this,t,e)),u.on("success",r=>{let o=t.getResponseData(r.response.responseText,r.response),i=o[t.responseUrlFieldName],a={status:r.response.status,body:o,uploadURL:i};return this.uppy.emit("upload-success",e,a),s.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),n()}),u.on("error",n=>{let o=n.response,i=o?t.getResponseError(o.responseText,o):Object.assign(Error(n.error.message),{cause:n.error});this.uppy.emit("upload-error",e,i),s.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),r(i)});let s=this.requests.run(()=>(u.open(),e.isPaused&&u.send("pause",{}),()=>u.close()))}).catch(t=>{this.uppy.emit("upload-error",e,t),r(t)})})}uploadBundle(e){return new Promise((t,n)=>{let{endpoint:r}=this.opts,{method:o}=this.opts,i=this.uppy.getState().xhrUpload,a=this.createBundledUpload(e,{...this.opts,...i||{}}),u=new XMLHttpRequest,s=new gu(this.opts.timeout,()=>{u.abort();let e=Error(this.i18n("timedOut",{seconds:Math.ceil(this.opts.timeout/1e3)}));l(e),n(e)}),l=t=>{e.forEach(e=>{this.uppy.emit("upload-error",e,t)})};u.upload.addEventListener("loadstart",()=>{this.uppy.log("[XHRUpload] started uploading bundle"),s.progress()}),u.upload.addEventListener("progress",t=>{s.progress(),t.lengthComputable&&e.forEach(e=>{this.uppy.emit("upload-progress",e,{uploader:this,bytesUploaded:t.loaded/t.total*e.size,bytesTotal:e.size})})}),u.addEventListener("load",r=>{if(s.done(),this.opts.validateStatus(r.target.status,u.responseText,u)){let n=this.opts.getResponseData(u.responseText,u),o={status:r.target.status,body:n};return e.forEach(e=>{this.uppy.emit("upload-success",e,o)}),t()}let o=this.opts.getResponseError(u.responseText,u)||Error("Upload error");return o.request=u,l(o),n(o)}),u.addEventListener("error",()=>{s.done();let e=this.opts.getResponseError(u.responseText,u)||Error("Upload error");return l(e),n(e)}),this.uppy.on("cancel-all",()=>{s.done(),u.abort()}),u.open(o.toUpperCase(),r,!0),u.withCredentials=this.opts.withCredentials,""!==this.opts.responseType&&(u.responseType=this.opts.responseType),Object.keys(this.opts.headers).forEach(e=>{u.setRequestHeader(e,this.opts.headers[e])}),u.send(a),e.forEach(e=>{this.uppy.emit("upload-started",e)})})}uploadFiles(e){var t=e.map((t,n)=>{let r=parseInt(n,10)+1,o=e.length;return t.error?Promise.reject(Error(t.error)):t.isRemote?this.uploadRemote(t,r,o):this.upload(t,r,o)});let n=[],r=[];function o(e){n.push(e)}function i(e){r.push(e)}return Promise.all(t.map(e=>e.then(o,i))).then(()=>({successful:n,failed:r}))}onFileRemove(e,t){this.uploaderEvents[e].on("file-removed",n=>{e===n.id&&t(n.id)})}onRetry(e,t){this.uploaderEvents[e].on("upload-retry",n=>{e===n&&t()})}onRetryAll(e,t){this.uploaderEvents[e].on("retry-all",()=>{this.uppy.getFile(e)&&t()})}onCancelAll(e,t){this.uploaderEvents[e].on("cancel-all",()=>{this.uppy.getFile(e)&&t()})}handleUpload(e){if(0===e.length)return this.uppy.log("[XHRUpload] No files to upload!"),Promise.resolve();0!==this.opts.limit||this.opts[gP]||this.uppy.log("[XHRUpload] When uploading multiple files at once, consider setting the `limit` option (to `10` for example), to limit the number of concurrent uploads, which helps prevent memory and network issues: https://uppy.io/docs/xhr-upload/#limit-0","warning"),this.uppy.log("[XHRUpload] Uploading...");let t=e.map(e=>this.uppy.getFile(e));if(this.opts.bundle){if(t.some(e=>e.isRemote))throw Error("Can’t upload remote files when the `bundle: true` option is set");if("function"==typeof this.opts.headers)throw TypeError("`headers` may not be a function when the `bundle: true` option is set");return this.uploadBundle(t)}return this.uploadFiles(t).then(()=>null)}install(){if(this.opts.bundle){let{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:{...e,individualCancellation:!1}})}this.uppy.addUploader(this.handleUpload)}uninstall(){if(this.opts.bundle){let{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:{...e,individualCancellation:!0}})}this.uppy.removeUploader(this.handleUpload)}},gS.VERSION="2.0.6",gx),gR="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function gL(e){var t={exports:{}};return e(t,t.exports),t.exports}var gM,gz,g$=function(e){return e&&e.Math==Math&&e},gH=g$("object"==typeof globalThis&&globalThis)||g$("object"==typeof window&&window)||g$("object"==typeof self&&self)||g$("object"==typeof gR&&gR)||function(){return this}()||Function("return this")(),gU=Object.defineProperty,gV=function(e,t){try{gU(gH,e,{value:t,configurable:!0,writable:!0})}catch(n){gH[e]=t}return t},gW=gH["__core-js_shared__"]||gV("__core-js_shared__",{}),gq=gL(function(e){(e.exports=function(e,t){return gW[e]||(gW[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})}),gG=Function.prototype,gK=gG.bind,gZ=gG.call,gX=gK&&gK.bind(gZ),gY=gK?function(e){return e&&gX(gZ,e)}:function(e){return e&&function(){return gZ.apply(e,arguments)}},gJ=gH.TypeError,gQ=function(e){if(null==e)throw gJ("Can't call method on "+e);return e},g0=gH.Object,g1=function(e){return g0(gQ(e))},g2=gY({}.hasOwnProperty),g4=Object.hasOwn||function(e,t){return g2(g1(e),t)},g3=0,g6=Math.random(),g5=gY(1..toString),g8=function(e){return"Symbol("+(void 0===e?"":e)+")_"+g5(++g3+g6,36)},g7=function(e){return"function"==typeof e},g9=function(e,t){var n;return arguments.length<2?g7(n=gH[e])?n:void 0:gH[e]&&gH[e][t]},ve=g9("navigator","userAgent")||"",vt=gH.process,vn=gH.Deno,vr=vt&&vt.versions||vn&&vn.version,vo=vr&&vr.v8;vo&&(gz=(gM=vo.split("."))[0]>0&&gM[0]<4?1:+(gM[0]+gM[1])),!gz&&ve&&(!(gM=ve.match(/Edge\/(\d+)/))||gM[1]>=74)&&(gM=ve.match(/Chrome\/(\d+)/))&&(gz=+gM[1]);var vi=gz,va=function(e){try{return!!e()}catch(e){return!0}},vu=!!Object.getOwnPropertySymbols&&!va(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&vi&&vi<41}),vs=vu&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,vl=gq("wks"),vc=gH.Symbol,vf=vc&&vc.for,vd=vs?vc:vc&&vc.withoutSetter||g8,vp=function(e){if(!g4(vl,e)||!vu&&"string"!=typeof vl[e]){var t="Symbol."+e;vu&&g4(vc,e)?vl[e]=vc[e]:vl[e]=vs&&vf?vf(t):vd(t)}return vl[e]},vh={};vh[vp("toStringTag")]="z";var vg="[object z]"===String(vh),vv=!va(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),vy=function(e){return"object"==typeof e?null!==e:g7(e)},vm=gH.document,vb=vy(vm)&&vy(vm.createElement),vw=function(e){return vb?vm.createElement(e):{}},vE=!vv&&!va(function(){return 7!=Object.defineProperty(vw("div"),"a",{get:function(){return 7}}).a}),vD=gH.String,vS=gH.TypeError,vx=function(e){if(vy(e))return e;throw vS(vD(e)+" is not an object")},vC=Function.prototype.call,vO=vC.bind?vC.bind(vC):function(){return vC.apply(vC,arguments)},vA=gY({}.isPrototypeOf),vk=gH.Object,vT=vs?function(e){return"symbol"==typeof e}:function(e){var t=g9("Symbol");return g7(t)&&vA(t.prototype,vk(e))},vB=gH.String,vF=function(e){try{return vB(e)}catch(e){return"Object"}},v_=gH.TypeError,vP=function(e){if(g7(e))return e;throw v_(vF(e)+" is not a function")},vj=function(e,t){var n=e[t];return null==n?void 0:vP(n)},vI=gH.TypeError,vN=gH.TypeError,vR=vp("toPrimitive"),vL=function(e){var t=function(e,t){if(!vy(e)||vT(e))return e;var n,r=vj(e,vR);if(r){if(void 0===t&&(t="default"),!vy(n=vO(r,e,t))||vT(n))return n;throw vN("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&g7(n=e.toString)&&!vy(r=vO(n,e))||g7(n=e.valueOf)&&!vy(r=vO(n,e))||"string"!==t&&g7(n=e.toString)&&!vy(r=vO(n,e)))return r;throw vI("Can't convert object to primitive value")}(e,t)}(e,"string");return vT(t)?t:t+""},vM=gH.TypeError,vz=Object.defineProperty,v$={f:vv?vz:function(e,t,n){if(vx(e),t=vL(t),vx(n),vE)try{return vz(e,t,n)}catch(e){}if("get"in n||"set"in n)throw vM("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},vH=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},vU=vv?function(e,t,n){return v$.f(e,t,vH(1,n))}:function(e,t,n){return e[t]=n,e},vV=gY(Function.toString);g7(gW.inspectSource)||(gW.inspectSource=function(e){return vV(e)});var vW,vq,vG,vK=gW.inspectSource,vZ=gH.WeakMap,vX=g7(vZ)&&/native code/.test(vK(vZ)),vY=gq("keys"),vJ=function(e){return vY[e]||(vY[e]=g8(e))},vQ={},v0=gH.TypeError,v1=gH.WeakMap;if(vX||gW.state){var v2=gW.state||(gW.state=new v1),v4=gY(v2.get),v3=gY(v2.has),v6=gY(v2.set);vW=function(e,t){if(v3(v2,e))throw new v0("Object already initialized");return t.facade=e,v6(v2,e,t),t},vq=function(e){return v4(v2,e)||{}},vG=function(e){return v3(v2,e)}}else{var v5=vJ("state");vQ[v5]=!0,vW=function(e,t){if(g4(e,v5))throw new v0("Object already initialized");return t.facade=e,vU(e,v5,t),t},vq=function(e){return g4(e,v5)?e[v5]:{}},vG=function(e){return g4(e,v5)}}var v8=vW,v7=vq,v9=function(e){return vG(e)?vq(e):vW(e,{})},ye=function(e){return function(t){var n;if(!vy(t)||(n=vq(t)).type!==e)throw v0("Incompatible receiver, "+e+" required");return n}},yt=Function.prototype,yn=vv&&Object.getOwnPropertyDescriptor,yr=g4(yt,"name"),yo={EXISTS:yr,PROPER:yr&&"something"===(function(){}).name,CONFIGURABLE:yr&&(!vv||vv&&yn(yt,"name").configurable)},yi=gL(function(e){var t=yo.CONFIGURABLE,n=String(String).split("String");(e.exports=function(e,r,o,i){var a,u=!!i&&!!i.unsafe,s=!!i&&!!i.enumerable,l=!!i&&!!i.noTargetGet,c=i&&void 0!==i.name?i.name:r;g7(o)&&("Symbol("===String(c).slice(0,7)&&(c="["+String(c).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!g4(o,"name")||t&&o.name!==c)&&vU(o,"name",c),(a=v9(o)).source||(a.source=n.join("string"==typeof c?c:""))),e!==gH?(u?!l&&e[r]&&(s=!0):delete e[r],s?e[r]=o:vU(e,r,o)):s?e[r]=o:gV(r,o)})(Function.prototype,"toString",function(){return g7(this)&&v7(this).source||vK(this)})}),ya=gY({}.toString),yu=gY("".slice),ys=function(e){return yu(ya(e),8,-1)},yl=vp("toStringTag"),yc=gH.Object,yf="Arguments"==ys(function(){return arguments}()),yd=vg?ys:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=yc(e),yl))?n:yf?ys(t):"Object"==(r=ys(t))&&g7(t.callee)?"Arguments":r};vg||yi(Object.prototype,"toString",vg?({}).toString:function(){return"[object "+yd(this)+"]"},{unsafe:!0});var yp={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},yh=vw("span").classList,yg=yh&&yh.constructor&&yh.constructor.prototype,yv=yg===Object.prototype?void 0:yg,yy=gY(gY.bind),ym=function(e,t){return vP(e),void 0===t?e:yy?yy(e,t):function(){return e.apply(t,arguments)}},yb=gH.Object,yw=gY("".split),yE=va(function(){return!yb("z").propertyIsEnumerable(0)})?function(e){return"String"==ys(e)?yw(e,""):yb(e)}:yb,yD=Math.ceil,yS=Math.floor,yx=function(e){var t=+e;return t!=t||0===t?0:(t>0?yS:yD)(t)},yC=Math.min,yO=function(e){return e>0?yC(yx(e),0x1fffffffffffff):0},yA=function(e){return yO(e.length)},yk=Array.isArray||function(e){return"Array"==ys(e)},yT=function(){},yB=[],yF=g9("Reflect","construct"),y_=/^\s*(?:class|function)\b/,yP=gY(y_.exec),yj=!y_.exec(yT),yI=function(e){if(!g7(e))return!1;try{return yF(yT,yB,e),!0}catch(e){return!1}},yN=!yF||va(function(){var e;return yI(yI.call)||!yI(Object)||!yI(function(){e=!0})||e})?function(e){if(!g7(e))return!1;switch(yd(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return yj||!!yP(y_,vK(e))}:yI,yR=vp("species"),yL=gH.Array,yM=function(e,t){var n;return new(yk(e)&&(yN(n=e.constructor)&&(n===yL||yk(n.prototype))||vy(n)&&null===(n=n[yR]))&&(n=void 0),void 0===n?yL:n)(0===t?0:t)},yz=gY([].push),y$=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=g1(s),g=yE(h),v=ym(l,c),y=yA(g),m=0,b=f||yM,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:yz(w,d)}else switch(e){case 4:return!1;case 7:yz(w,d)}return i?-1:r||o?o:w}},yH={forEach:y$(0),map:y$(1),filter:y$(2),some:y$(3),every:y$(4),find:y$(5),findIndex:y$(6),filterReject:y$(7)},yU=function(e,t){var n=[][e];return!!n&&va(function(){n.call(null,t||function(){throw 1},1)})},yV=yH.forEach,yW=yU("forEach")?[].forEach:function(e){return yV(this,e,arguments.length>1?arguments[1]:void 0)},yq=function(e){if(e&&e.forEach!==yW)try{vU(e,"forEach",yW)}catch(t){e.forEach=yW}};for(var yG in yp)yp[yG]&&yq(gH[yG]&&gH[yG].prototype);yq(yv);var yK={}.propertyIsEnumerable,yZ=Object.getOwnPropertyDescriptor,yX={f:yZ&&!yK.call({1:2},1)?function(e){var t=yZ(this,e);return!!t&&t.enumerable}:yK},yY=function(e){return yE(gQ(e))},yJ=Object.getOwnPropertyDescriptor,yQ={f:vv?yJ:function(e,t){if(e=yY(e),t=vL(t),vE)try{return yJ(e,t)}catch(e){}if(g4(e,t))return vH(!vO(yX.f,e,t),e[t])}},y0=Math.max,y1=Math.min,y2=function(e,t){var n=yx(e);return n<0?y0(n+t,0):y1(n,t)},y4=function(e){return function(t,n,r){var o,i=yY(t),a=yA(i),u=y2(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},y3={includes:y4(!0),indexOf:y4(!1)},y6=y3.indexOf,y5=gY([].push),y8=function(e,t){var n,r=yY(e),o=0,i=[];for(n in r)!g4(vQ,n)&&g4(r,n)&&y5(i,n);for(;t.length>o;)g4(r,n=t[o++])&&(~y6(i,n)||y5(i,n));return i},y7=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],y9=y7.concat("length","prototype"),me={f:Object.getOwnPropertyNames||function(e){return y8(e,y9)}},mt={f:Object.getOwnPropertySymbols},mn=gY([].concat),mr=g9("Reflect","ownKeys")||function(e){var t=me.f(vx(e)),n=mt.f;return n?mn(t,n(e)):t},mo=function(e,t){for(var n=mr(t),r=v$.f,o=yQ.f,i=0;i<n.length;i++){var a=n[i];g4(e,a)||r(e,a,o(t,a))}},mi=/#|\.prototype\./,ma=function(e,t){var n=ms[mu(e)];return n==mc||n!=ml&&(g7(t)?va(t):!!t)},mu=ma.normalize=function(e){return String(e).replace(mi,".").toLowerCase()},ms=ma.data={},ml=ma.NATIVE="N",mc=ma.POLYFILL="P",mf=yQ.f,md=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?gH:l?gH[u]||gV(u,{}):(gH[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=mf(n,r))&&a.value:n[r],!ma(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;mo(i,o)}(e.sham||o&&o.sham)&&vU(i,"sham",!0),yi(n,r,i,e)}},mp=Object.keys||function(e){return y8(e,y7)};function mh(e){return"[object Object]"===Object.prototype.toString.call(e)}md({target:"Object",stat:!0,forced:va(function(){mp(1)})},{keys:function(e){return mp(g1(e))}});var mg={isHistory(e){var t,n;return!1!==mh(e)&&(void 0===(t=e.constructor)||!1!==mh(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(0===e.redos.length||lC.isOperationList(e.redos[0]))&&(0===e.undos.length||lC.isOperationList(e.undos[0]))}},mv=new WeakMap,my=new WeakMap,mm={isHistoryEditor:e=>mg.isHistory(e.history)&&ly.isEditor(e),isMerging:e=>my.get(e),isSaving:e=>mv.get(e),redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var n=mm.isMerging(e);my.set(e,!1),t(),my.set(e,n)},withoutSaving(e,t){var n=mm.isSaving(e);mv.set(e,!1),t(),mv.set(e,n)}},mb=gH.String,mw=function(e){if("Symbol"===yd(e))throw TypeError("Cannot convert a Symbol value to a string");return mb(e)},mE=function(){var e=vx(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},mD=yo.PROPER,mS=RegExp.prototype,mx=mS.toString,mC=gY(mE),mO=va(function(){return"/a/b"!=mx.call({source:"a",flags:"b"})}),mA=mD&&"toString"!=mx.name;(mO||mA)&&yi(RegExp.prototype,"toString",function(){var e=vx(this),t=mw(e.source),n=e.flags;return"/"+t+"/"+mw(void 0===n&&vA(mS,e)&&!("flags"in mS)?mC(e):n)},{unsafe:!0});var mk,mT=vv?Object.defineProperties:function(e,t){vx(e);for(var n,r=yY(t),o=mp(t),i=o.length,a=0;i>a;)v$.f(e,n=o[a++],r[n]);return e},mB=g9("document","documentElement"),mF=vJ("IE_PROTO"),m_=function(){},mP=function(e){return"<script>"+e+"<\/script>"},mj=function(e){e.write(mP("")),e.close();var t=e.parentWindow.Object;return e=null,t},mI=function(){try{mk=new ActiveXObject("htmlfile")}catch(e){}mI="undefined"!=typeof document?document.domain&&mk?mj(mk):((t=vw("iframe")).style.display="none",mB.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(mP("document.F=Object")),e.close(),e.F):mj(mk);for(var e,t,n=y7.length;n--;)delete mI.prototype[y7[n]];return mI()};vQ[mF]=!0;var mN=Object.create||function(e,t){var n;return null!==e?(m_.prototype=vx(e),n=new m_,m_.prototype=null,n[mF]=e):n=mI(),void 0===t?n:mT(n,t)},mR=vp("unscopables"),mL=Array.prototype;null==mL[mR]&&v$.f(mL,mR,{configurable:!0,value:mN(null)});var mM=function(e){mL[mR][e]=!0},mz=y3.includes;md({target:"Array",proto:!0},{includes:function(e){return mz(this,e,arguments.length>1?arguments[1]:void 0)}}),mM("includes");var m$=vp("match"),mH=function(e){var t;return vy(e)&&(void 0!==(t=e[m$])?!!t:"RegExp"==ys(e))},mU=gH.TypeError,mV=function(e){if(mH(e))throw mU("The method doesn't accept regular expressions");return e},mW=vp("match"),mq=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[mW]=!1,"/./"[e](t)}catch(e){}}return!1},mG=gY("".indexOf);md({target:"String",proto:!0,forced:!mq("includes")},{includes:function(e){return!!~mG(mw(gQ(this)),mw(mV(e)),arguments.length>1?arguments[1]:void 0)}});var mK=/"/g,mZ=gY("".replace);md({target:"String",proto:!0,forced:va(function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3})},{anchor:function(e){var t,n;return t=mw(gQ(this)),'<a name="'+mZ(mw(e),mK,""")+'">'+t+"</a>"}});var mX=function(e,t,n){var r,o;vx(e);try{if(!(r=vj(e,"return"))){if("throw"===t)throw n;return n}r=vO(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return vx(r),n},mY=function(e,t,n,r){try{return r?t(vx(n)[0],n[1]):t(n)}catch(t){mX(e,"throw",t)}},mJ={},mQ=vp("iterator"),m0=Array.prototype,m1=function(e){return void 0!==e&&(mJ.Array===e||m0[mQ]===e)},m2=function(e,t,n){var r=vL(t);r in e?v$.f(e,r,vH(0,n)):e[r]=n},m4=vp("iterator"),m3=function(e){if(null!=e)return vj(e,m4)||vj(e,"@@iterator")||mJ[yd(e)]},m6=gH.TypeError,m5=function(e,t){var n=arguments.length<2?m3(e):t;if(vP(n))return vx(vO(n,e));throw m6(vF(e)+" is not iterable")},m8=gH.Array,m7=vp("iterator"),m9=!1;try{var be=0,bt={next:function(){return{done:!!be++}},return:function(){m9=!0}};bt[m7]=function(){return this},Array.from(bt,function(){throw 2})}catch(e){}var bn=function(e,t){if(!t&&!m9)return!1;var n=!1;try{var r={};r[m7]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n};md({target:"Array",stat:!0,forced:!bn(function(e){Array.from(e)})},{from:function(e){var t=g1(e),n=yN(this),r=arguments.length,o=r>1?arguments[1]:void 0,i=void 0!==o;i&&(o=ym(o,r>2?arguments[2]:void 0));var a,u,s,l,c,f,d=m3(t),p=0;if(!d||this==m8&&m1(d))for(a=yA(t),u=n?new this(a):m8(a);a>p;p++)f=i?o(t[p],p):t[p],m2(u,p,f);else for(c=(l=m5(t,d)).next,u=n?new this:[];!(s=vO(c,l)).done;p++)f=i?mY(l,o,[s.value,p],!0):s.value,m2(u,p,f);return u.length=p,u}});var br,bo,bi,ba=gY("".charAt),bu=gY("".charCodeAt),bs=gY("".slice),bl=function(e){return function(t,n){var r,o,i=mw(gQ(t)),a=yx(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=bu(i,a))<55296||r>56319||a+1===u||(o=bu(i,a+1))<56320||o>57343?e?ba(i,a):r:e?bs(i,a,a+2):o-56320+(r-55296<<10)+65536}},bc={codeAt:bl(!1),charAt:bl(!0)},bf=!va(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),bd=vJ("IE_PROTO"),bp=gH.Object,bh=bp.prototype,bg=bf?bp.getPrototypeOf:function(e){var t=g1(e);if(g4(t,bd))return t[bd];var n=t.constructor;return g7(n)&&t instanceof n?n.prototype:t instanceof bp?bh:null},bv=vp("iterator"),by=!1;[].keys&&("next"in(bi=[].keys())?(bo=bg(bg(bi)))!==Object.prototype&&(br=bo):by=!0),(null==br||va(function(){var e={};return br[bv].call(e)!==e}))&&(br={}),g7(br[bv])||yi(br,bv,function(){return this});var bm=br,bb=by,bw=v$.f,bE=vp("toStringTag"),bD=function(e,t,n){e&&!g4(e=n?e:e.prototype,bE)&&bw(e,bE,{configurable:!0,value:t})},bS=function(){return this},bx=gH.String,bC=gH.TypeError,bO=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=gY(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return vx(n),function(e){if(!("object"==typeof e||g7(e)))throw bC("Can't set "+bx(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),bA=yo.PROPER,bk=yo.CONFIGURABLE,bT=vp("iterator"),bB=function(){return this},bF=function(e,t,n,r,o,i,a){u=t+" Iterator",n.prototype=mN(bm,{next:vH(1,r)}),bD(n,u,!1),mJ[u]=bS;var u,s,l,c,f=function(e){if(e===o&&g)return g;if(!bb&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=!1,p=e.prototype,h=p[bT]||p["@@iterator"]||o&&p[o],g=!bb&&h||f(o),v="Array"==t&&p.entries||h;if(v&&(s=bg(v.call(new e)))!==Object.prototype&&s.next&&(bg(s)!==bm&&(bO?bO(s,bm):g7(s[bT])||yi(s,bT,bB)),bD(s,t+" Iterator",!0)),bA&&"values"==o&&h&&"values"!==h.name&&(bk?vU(p,"name","values"):(d=!0,g=function(){return vO(h,this)})),o)if(l={values:f("values"),keys:i?g:f("keys"),entries:f("entries")},a)for(c in l)!bb&&!d&&c in p||yi(p,c,l[c]);else md({target:t,proto:!0,forced:bb||d},l);return p[bT]!==g&&yi(p,bT,g,{name:o}),mJ[t]=g,l},b_=bc.charAt,bP=ye("String Iterator");bF(String,"String",function(e){v8(this,{type:"String Iterator",string:mw(e),index:0})},function(){var e,t=bP(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=b_(n,r),t.index+=e.length,{value:e,done:!1})});var bj,bI=yQ.f,bN=gY("".endsWith),bR=gY("".slice),bL=Math.min,bM=mq("endsWith");md({target:"String",proto:!0,forced:!!(bM||!(bj=bI(String.prototype,"endsWith"))||bj.writable)&&!bM},{endsWith:function(e){var t=mw(gQ(this));mV(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,o=void 0===n?r:bL(yO(n),r),i=mw(e);return bN?bN(t,i,o):bR(t,o-i.length,o)===i}});var bz=gY([].join),b$=yE!=Object,bH=yU("join",",");md({target:"Array",proto:!0,forced:b$||!bH},{join:function(e){return bz(yY(this),void 0===e?",":e)}});var bU=vp("species"),bV=function(e){return vi>=51||!va(function(){var t=[];return(t.constructor={})[bU]=function(){return{foo:1}},1!==t[e](Boolean).foo})},bW=yH.map;md({target:"Array",proto:!0,forced:!bV("map")},{map:function(e){return bW(this,e,arguments.length>1?arguments[1]:void 0)}});var bq=gH.RegExp,bG=va(function(){var e=bq("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),bK=bG||va(function(){return!bq("a","y").sticky}),bZ={BROKEN_CARET:bG||va(function(){var e=bq("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),MISSED_STICKY:bK,UNSUPPORTED_Y:bG},bX=gH.RegExp,bY=va(function(){var e=bX(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),bJ=gH.RegExp,bQ=va(function(){var e=bJ("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),b0=gq("native-string-replace",String.prototype.replace),b1=RegExp.prototype.exec,b2=b1,b4=gY("".charAt),b3=gY("".indexOf),b6=gY("".replace),b5=gY("".slice),b8=(Eo=/b*/g,vO(b1,Er=/a/,"a"),vO(b1,Eo,"a"),0!==Er.lastIndex||0!==Eo.lastIndex),b7=bZ.BROKEN_CARET,b9=void 0!==/()??/.exec("")[1];(b8||b9||b7||bY||bQ)&&(b2=function(e){var t,n,r,o,i,a,u,s=v7(this),l=mw(e),c=s.raw;if(c)return c.lastIndex=this.lastIndex,t=vO(b2,c,l),this.lastIndex=c.lastIndex,t;var f=s.groups,d=b7&&this.sticky,p=vO(mE,this),h=this.source,g=0,v=l;if(d&&(-1===b3(p=b6(p,"y",""),"g")&&(p+="g"),v=b5(l,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==b4(l,this.lastIndex-1))&&(h="(?: "+h+")",v=" "+v,g++),n=RegExp("^(?:"+h+")",p)),b9&&(n=RegExp("^"+h+"$(?!\\s)",p)),b8&&(r=this.lastIndex),o=vO(b1,d?n:this,v),d?o?(o.input=b5(o.input,g),o[0]=b5(o[0],g),o.index=this.lastIndex,this.lastIndex+=o[0].length):this.lastIndex=0:b8&&o&&(this.lastIndex=this.global?o.index+o[0].length:r),b9&&o&&o.length>1&&vO(b0,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)}),o&&f)for(o.groups=a=mN(null),i=0;i<f.length;i++)a[(u=f[i])[0]]=o[u[1]];return o});var we=b2;md({target:"RegExp",proto:!0,forced:/./.exec!==we},{exec:we});var wt=Function.prototype,wn=wt.apply,wr=wt.bind,wo=wt.call,wi="object"==typeof Reflect&&Reflect.apply||(wr?wo.bind(wn):function(){return wo.apply(wn,arguments)}),wa=vp("species"),wu=RegExp.prototype,ws=function(e,t,n,r){var o=vp(e),i=!va(function(){var t={};return t[o]=function(){return 7},7!=""[e](t)}),a=i&&!va(function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[wa]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t});if(!i||!a||n){var u=gY(/./[o]),s=t(o,""[e],function(e,t,n,r,o){var a=gY(e),s=t.exec;return s===we||s===wu.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}});yi(String.prototype,e,s[0]),yi(wu,o,s[1])}r&&vU(wu[o],"sham",!0)},wl=bc.charAt,wc=function(e,t,n){return t+(n?wl(e,t).length:1)},wf=Math.floor,wd=gY("".charAt),wp=gY("".replace),wh=gY("".slice),wg=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,wv=/\$([$&'`]|\d{1,2})/g,wy=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=wv;return void 0!==o&&(o=g1(o),s=wg),wp(i,s,function(i,s){var l;switch(wd(s,0)){case"$":return"$";case"&":return e;case"`":return wh(t,0,n);case"'":return wh(t,a);case"<":l=o[wh(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=wf(c/10);return 0===f?i:f<=u?void 0===r[f-1]?wd(s,1):r[f-1]+wd(s,1):i}l=r[c-1]}return void 0===l?"":l})},wm=gH.TypeError,wb=function(e,t){var n=e.exec;if(g7(n)){var r=vO(n,e,t);return null!==r&&vx(r),r}if("RegExp"===ys(e))return vO(we,e,t);throw wm("RegExp#exec called on incompatible receiver")},ww=vp("replace"),wE=Math.max,wD=Math.min,wS=gY([].concat),wx=gY([].push),wC=gY("".indexOf),wO=gY("".slice),wA="$0"==="a".replace(/./,"$0"),wk=!!/./[ww]&&""===/./[ww]("a","$0");ws("replace",function(e,t,n){var r=wk?"$":"$0";return[function(e,n){var r=gQ(this),o=null==e?void 0:vj(e,ww);return o?vO(o,e,r,n):vO(t,mw(r),e,n)},function(e,o){var i=vx(this),a=mw(e);if("string"==typeof o&&-1===wC(o,r)&&-1===wC(o,"$<")){var u=n(t,i,a,o);if(u.done)return u.value}var s=g7(o);s||(o=mw(o));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0}for(var f=[];;){var d=wb(i,a);if(null===d||(wx(f,d),!l))break;""===mw(d[0])&&(i.lastIndex=wc(a,yO(i.lastIndex),c))}for(var p,h="",g=0,v=0;v<f.length;v++){for(var y=mw((d=f[v])[0]),m=wE(wD(yx(d.index),a.length),0),b=[],w=1;w<d.length;w++)wx(b,void 0===(p=d[w])?p:String(p));var E=d.groups;if(s){var D=wS([y],b,m,a);void 0!==E&&wx(D,E);var S=mw(wi(o,void 0,D))}else S=wy(y,a,m,b,E,o);m>=g&&(h+=wO(a,g,m)+S,g=m+y.length)}return h+wO(a,g)}]},!!va(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!wA||wk);var wT=function(e,t){return(wT=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function wB(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}wT(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var wF=function(){return(wF=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function w_(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function wP(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function wj(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}var wI=0,wN=function(){this.id=""+wI++},wR=ye("Array Iterator"),wL=bF(Array,"Array",function(e,t){v8(this,{type:"Array Iterator",target:yY(e),index:0,kind:t})},function(){var e=wR(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");mJ.Arguments=mJ.Array,mM("keys"),mM("values"),mM("entries");var wM=function(e,t,n){for(var r in t)yi(e,r,t[r],n);return e},wz=gH.Array,w$=Math.max,wH=function(e,t,n){for(var r=yA(e),o=y2(t,r),i=y2(void 0===n?r:n,r),a=wz(w$(i-o,0)),u=0;o<i;o++,u++)m2(a,u,e[o]);return a.length=u,a},wU=me.f,wV="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],wW={f:function(e){return wV&&"Window"==ys(e)?function(e){try{return wU(e)}catch(e){return wH(wV)}}(e):wU(yY(e))}},wq=va(function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),wG=Object.isExtensible,wK=va(function(){wG(1)})||wq?function(e){return!!vy(e)&&(!wq||"ArrayBuffer"!=ys(e))&&(!wG||wG(e))}:wG,wZ=!va(function(){return Object.isExtensible(Object.preventExtensions({}))}),wX=gL(function(e){var t=v$.f,n=!1,r=g8("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=me.f,t=gY([].splice),o={};o[r]=1,e(o).length&&(me.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break}return o},md({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:wW.f}))},fastKey:function(e,t){if(!vy(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!g4(e,r)){if(!wK(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!g4(e,r)){if(!wK(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return wZ&&n&&wK(e)&&!g4(e,r)&&i(e),e}};vQ[r]=!0}),wY=gH.TypeError,wJ=function(e,t){this.stopped=e,this.result=t},wQ=wJ.prototype,w0=function(e,t,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=ym(t,c),g=function(e){return r&&mX(r,"normal",e),new wJ(!0,e)},v=function(e){return f?(vx(e),p?h(e[0],e[1],g):h(e[0],e[1])):p?h(e,g):h(e)};if(d)r=e;else{if(!(o=m3(e)))throw wY(vF(e)+" is not iterable");if(m1(o)){for(i=0,a=yA(e);a>i;i++)if((u=v(e[i]))&&vA(wQ,u))return u;return new wJ(!1)}r=m5(e,o)}for(s=r.next;!(l=vO(s,r)).done;){try{u=v(l.value)}catch(e){mX(r,"throw",e)}if("object"==typeof u&&u&&vA(wQ,u))return u}return new wJ(!1)},w1=gH.TypeError,w2=function(e,t){if(vA(t,e))return e;throw w1("Incorrect invocation")},w4=function(e,t,n){var r,o;return bO&&g7(r=t.constructor)&&r!==n&&vy(o=r.prototype)&&o!==n.prototype&&bO(e,o),e},w3=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=gH[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=gY(u[e]);yi(u,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!vy(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!vy(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!vy(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(ma(e,!g7(a)||!(o||u.forEach&&!va(function(){(new a).entries().next()}))))s=n.getConstructor(t,e,r,i),wX.enable();else if(ma(e,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=va(function(){f.has(1)}),h=bn(function(e){new a(e)}),g=!o&&va(function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)});h||((s=t(function(e,t){w2(e,u);var n=w4(new a,e,s);return null!=t&&w0(t,n[i],{that:n,AS_ENTRIES:r}),n})).prototype=u,u.constructor=s),(p||g)&&(c("delete"),c("has"),r&&c("get")),(g||d)&&c(i),o&&u.clear&&delete u.clear}return l[e]=s,md({global:!0,forced:s!=a},l),bD(s,e),o||n.setStrong(s,e,r),s},w6=wX.getWeakData,w5=yH.find,w8=yH.findIndex,w7=gY([].splice),w9=0,Ee=function(e){return e.frozen||(e.frozen=new Et)},Et=function(){this.entries=[]},En=function(e,t){return w5(e.entries,function(e){return e[0]===t})};Et.prototype={get:function(e){var t=En(this,e);if(t)return t[1]},has:function(e){return!!En(this,e)},set:function(e,t){var n=En(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=w8(this.entries,function(t){return t[0]===e});return~t&&w7(this.entries,t,1),!!~t}};var Er,Eo,Ei,Ea={getConstructor:function(e,t,n,r){var o=e(function(e,o){w2(e,i),v8(e,{type:t,id:w9++,frozen:void 0}),null!=o&&w0(o,e[r],{that:e,AS_ENTRIES:n})}),i=o.prototype,a=ye(t),u=function(e,t,n){var r=a(e),o=w6(vx(t),!0);return!0===o?Ee(r).set(t,n):o[r.id]=n,e};return wM(i,{delete:function(e){var t=a(this);if(!vy(e))return!1;var n=w6(e);return!0===n?Ee(t).delete(e):n&&g4(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!vy(e))return!1;var n=w6(e);return!0===n?Ee(t).has(e):n&&g4(n,t.id)}}),wM(i,n?{get:function(e){var t=a(this);if(vy(e)){var n=w6(e);return!0===n?Ee(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return u(this,e,t)}}:{add:function(e){return u(this,e,!0)}}),o}},Eu=!gH.ActiveXObject&&"ActiveXObject"in gH,Es=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},El=w3("WeakMap",Es,Ea);if(vX&&Eu){Ei=Ea.getConstructor(Es,"WeakMap",!0),wX.enable();var Ec=El.prototype,Ef=gY(Ec.delete),Ed=gY(Ec.has),Ep=gY(Ec.get),Eh=gY(Ec.set);wM(Ec,{delete:function(e){if(vy(e)&&!wK(e)){var t=v9(this);return t.frozen||(t.frozen=new Ei),Ef(this,e)||t.frozen.delete(e)}return Ef(this,e)},has:function(e){if(vy(e)&&!wK(e)){var t=v9(this);return t.frozen||(t.frozen=new Ei),Ed(this,e)||t.frozen.has(e)}return Ed(this,e)},get:function(e){if(vy(e)&&!wK(e)){var t=v9(this);return t.frozen||(t.frozen=new Ei),Ed(this,e)?Ep(this,e):t.frozen.get(e)}return Ep(this,e)},set:function(e,t){if(vy(e)&&!wK(e)){var n=v9(this);n.frozen||(n.frozen=new Ei),Ed(this,e)?Eh(this,e,t):n.frozen.set(e,t)}else Eh(this,e,t);return this}})}var Eg=vp("iterator"),Ev=vp("toStringTag"),Ey=wL.values,Em=function(e,t){if(e){if(e[Eg]!==Ey)try{vU(e,Eg,Ey)}catch(t){e[Eg]=Ey}if(e[Ev]||vU(e,Ev,t),yp[t]){for(var n in wL)if(e[n]!==wL[n])try{vU(e,n,wL[n])}catch(t){e[n]=wL[n]}}}};for(var Eb in yp)Em(gH[Eb]&&gH[Eb].prototype,Eb);Em(yv,"DOMTokenList");var Ew=new WeakMap,EE=new WeakMap,ED=new WeakMap,ES=new WeakMap,Ex=new WeakMap,EC=new WeakMap,EO=new WeakMap,EA=new WeakMap,Ek=new WeakMap,ET=new WeakMap,EB=new WeakMap,EF=new WeakMap,E_=new WeakMap,EP=new WeakMap,Ej=new WeakMap,EI=new WeakMap,EN=new WeakMap,ER=new WeakMap,EL=new WeakMap,EM=new WeakMap,Ez=new WeakMap,E$=new WeakMap,EH=new WeakMap,EU=new WeakMap,EV=new WeakMap,EW=yH.find,Eq=!0;"find"in[]&&[,].find(function(){Eq=!1}),md({target:"Array",proto:!0,forced:Eq},{find:function(e){return EW(this,e,arguments.length>1?arguments[1]:void 0)}}),mM("find"),md({global:!0},{globalThis:gH});let EG=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"];fu&&(c2.fn.css=fu),fp&&(c2.fn.append=fp),c4&&(c2.fn.addClass=c4),c3&&(c2.fn.removeClass=c3),c6&&(c2.fn.hasClass=c6),fe&&(c2.fn.on=fe),fk&&(c2.fn.focus=fk),c5&&(c2.fn.attr=c5),c8&&(c2.fn.removeAttr=c8),fi&&(c2.fn.hide=fi),fa&&(c2.fn.show=fa),fo&&(c2.fn.offset=fo),fn&&(c2.fn.width=fn),fr&&(c2.fn.height=fr),fg&&(c2.fn.parent=fg),fv&&(c2.fn.parents=fv),fd&&(c2.fn.is=fd),c7&&(c2.fn.dataset=c7),c9&&(c2.fn.val=c9),ff&&(c2.fn.text=ff),fc&&(c2.fn.html=fc),fm&&(c2.fn.children=fm),fb&&(c2.fn.remove=fb),fy&&(c2.fn.find=fy),fs&&(c2.fn.each=fs),fw&&(c2.fn.empty=fw);var EK,EZ,EX=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||null},EY=function(e){return EJ(e)&&1===e.nodeType},EJ=function(e){var t=EX(e);return!!t&&e instanceof t.Node},EQ=function(e){var t=e&&e.anchorNode&&EX(e.anchorNode);return!!t&&e instanceof t.Selection},E0=function(e){return EJ(e)&&3===e.nodeType},E1=function(e){var t,n,r;return null!=(t=window.document.getElementById(e))?t:(null==(r=null==(n=window.document.activeElement)?void 0:n.shadowRoot)?void 0:r.getElementById(e))||null},E2=function(e,t,n){for(var r,o=e.childNodes,i=o[t],a=t,u=!1,s=!1;(EJ(r=i)&&8===r.nodeType||EY(i)&&0===i.childNodes.length||EY(i)&&"false"===i.getAttribute("contenteditable"))&&(!u||!s);)a>=o.length?(u=!0,a=t-1,n="backward"):a<0?(s=!0,a=t+1,n="forward"):(i=o[a],t=a,a+="forward"===n?1:-1);return[i,t]},E4=function e(t){var n,r,o="";if(E0(t)&&t.nodeValue)return t.nodeValue;if(EY(t)){try{for(var i=w_(Array.from(t.childNodes)),a=i.next();!a.done;a=i.next())o+=e(a.value)}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}var u=getComputedStyle(t).getPropertyValue("display");"block"!==u&&"list"!==u&&"table-row"!==u&&"BR"!==t.tagName||(o+="\n")}return o};function E3(e){if(0===e.length)return"";var t=e[0];return t.nodeType!==EK.ELEMENT_NODE?"":t.tagName.toLowerCase()}(EZ=EK||(EK={}))[EZ.ELEMENT_NODE=1]="ELEMENT_NODE",EZ[EZ.TEXT_NODE=3]="TEXT_NODE",EZ[EZ.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",EZ[EZ.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",EZ[EZ.COMMENT_NODE=8]="COMMENT_NODE",EZ[EZ.DOCUMENT_NODE=9]="DOCUMENT_NODE",EZ[EZ.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",EZ[EZ.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE",void 0!==globalThis.navigator&&void 0!==globalThis.window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&globalThis.window.MSStream;var E6="undefined"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent),E5="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent);"undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent);var E8="undefined"!=typeof navigator&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),E7="undefined"!=typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),E9="undefined"!=typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),De="undefined"!=typeof navigator&&/Chrome/i.test(navigator.userAgent);"undefined"!=typeof navigator&&/.*QQBrowser/.test(navigator.userAgent);var Dt=!E9&&!E7&&"undefined"!=typeof globalThis&&globalThis.InputEvent&&"function"==typeof globalThis.InputEvent.prototype.getTargetRanges,Dn={getWindow:function(e){var t=Ez.get(e);if(!t)throw Error("Unable to find a host window element for this editor");return t},findKey:function(e,t){var n=EM.get(t);return n||(n=new wN,EM.set(t,n)),n},setNewKey:function(e){var t=new wN;EM.set(e,t)},findPath:function(e,t){for(var n=[],r=t;;){var o=Ej.get(r);if(null==o){if(ly.isEditor(r))return n;break}var i=EP.get(r);if(null==i)break;n.unshift(i),r=o}throw Error("Unable to find the path for Slate node: "+JSON.stringify(t))},findDocumentOrShadowRoot:function(e){if(e.isDestroyed)return window.document;var t=Dn.toDOMNode(e,e),n=t.getRootNode();return(n instanceof Document||n instanceof ShadowRoot)&&null!=n.getSelection?n:t.ownerDocument},getParentNode:function(e,t){return Ej.get(t)||null},getParentsNodes:function(e,t){for(var n=[],r=t;r!==e&&null!=r;){var o=Dn.getParentNode(e,r);if(null==o)break;n.push(o),r=o}return n},getTopNode:function(e,t){var n=[Dn.findPath(e,t)[0]];return lD.get(e,n)},toDOMNode:function(e,t){var n;if(ly.isEditor(t))n=EI.get(e);else{var r=Dn.findKey(e,t);n=ER.get(r)}if(!n)throw Error("Cannot resolve a DOM node from Slate node: "+JSON.stringify(t));return n},hasDOMNode:function(e,t,n){void 0===n&&(n={});var r,o=n.editable,i=Dn.toDOMNode(e,e);try{r=EY(t)?t:t.parentElement}catch(e){if(!e.message.includes('Permission denied to access property "nodeType"'))throw e}return!!r&&r.closest("[data-slate-editor]")===i&&(!(void 0!==o&&o)||r.isContentEditable||!!r.getAttribute("data-slate-zero-width"))},toDOMRange:function(e,t){var n=t.anchor,r=t.focus,o=lj.isBackward(t),i=Dn.toDOMPoint(e,n),a=lj.isCollapsed(t)?i:Dn.toDOMPoint(e,r),u=Dn.getWindow(e).document.createRange(),s=wP(o?a:i,2),l=s[0],c=s[1],f=wP(o?i:a,2),d=f[0],p=f[1],h=!!(EY(l)?l:l.parentElement).getAttribute("data-slate-zero-width"),g=!!(EY(d)?d:d.parentElement).getAttribute("data-slate-zero-width");return u.setStart(l,h?1:c),u.setEnd(d,g?1:p),u},toDOMPoint:function(e,t){var n,r,o,i=wP(ly.node(e,t.path),1)[0],a=Dn.toDOMNode(e,i);ly.void(e,{at:t})&&(t={path:t.path,offset:0});var u=Array.from(a.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),s=0;try{for(var l=w_(u),c=l.next();!c.done;c=l.next()){var f=c.value,d=f.childNodes[0];if(null!=d&&null!=d.textContent){var p=d.textContent.length,h=f.getAttribute("data-slate-length"),g=s+(null==h?p:parseInt(h,10));if(t.offset<=g){o=[d,Math.min(p,Math.max(0,t.offset-s))];break}s=g}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}if(!o)throw Error("Cannot resolve a DOM point from Slate point: "+JSON.stringify(t));return o},toSlateNode:function(e,t){var n=EY(t)?t:t.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?EN.get(n):null;if(!r)throw Error("Cannot resolve a Slate node from DOM node: "+n);return r},findEventRange:function(e,t){"nativeEvent"in t&&(t=t.nativeEvent);var n=t.clientX,r=t.clientY,o=t.target;if(null==n||null==r)throw Error("Cannot resolve a Slate range from a DOM event: "+t);var i,a=Dn.toSlateNode(e,t.target),u=Dn.findPath(e,a);if(ly.isVoid(e,a)){var s=o.getBoundingClientRect(),l=e.isInline(a)?n-s.left<s.left+s.width-n:r-s.top<s.top+s.height-r,c=ly.point(e,u,{edge:l?"start":"end"}),f=l?ly.before(e,c):ly.after(e,c);if(f)return ly.range(e,f)}var d=this.getWindow(e).document;if(d.caretRangeFromPoint)i=d.caretRangeFromPoint(n,r);else{var p=d.caretPositionFromPoint(n,r);p&&((i=d.createRange()).setStart(p.offsetNode,p.offset),i.setEnd(p.offsetNode,p.offset))}if(!i)throw Error("Cannot resolve a Slate range from a DOM event: "+t);return Dn.toSlateRange(e,i,{exactMatch:!1,suppressThrow:!1})},toSlateRange:function(e,t,n){var r,o,i,a,u,s=n.exactMatch,l=n.suppressThrow;if((EQ(t)?t.anchorNode:t.startContainer)&&(EQ(t)?(r=t.anchorNode,o=t.anchorOffset,i=t.focusNode,a=t.focusOffset,u=De&&window.document.activeElement&&window.document.activeElement.shadowRoot?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed):(r=t.startContainer,o=t.startOffset,i=t.endContainer,a=t.endOffset,u=t.collapsed)),null==r||null==i||null==o||null==a)throw Error("Cannot resolve a Slate range from DOM range: "+t);var c=Dn.toSlatePoint(e,[r,o],{exactMatch:s,suppressThrow:l});if(!c)return null;var f=u?c:Dn.toSlatePoint(e,[i,a],{exactMatch:s,suppressThrow:l});if(!f)return null;var d={anchor:c,focus:f};return lj.isExpanded(d)&&lj.isForward(d)&&EY(i)&&ly.void(e,{at:d.focus,mode:"highest"})&&(d=ly.unhangRange(e,d,{voids:!0})),d},toSlatePoint:function(e,t,n){var r,o=n.exactMatch,i=n.suppressThrow,a=wP(o?t:function(e){var t,n=wP(e,2),r=n[0],o=n[1];if(EY(r)&&r.childNodes.length){var i=o===r.childNodes.length,a=i?o-1:o;for(r=(t=wP(E2(r,a,i?"backward":"forward"),2))[0],i=(a=t[1])<o;EY(r)&&r.childNodes.length;){var u=i?r.childNodes.length-1:0;r=wP(E2(r,u,i?"backward":"forward"),1)[0]}o=i&&null!=r.textContent?r.textContent.length:0}return[r,o]}(t),2),u=a[0],s=a[1],l=u.parentNode,c=null,f=0;if(l){var d=l.closest('[data-slate-void="true"]'),p=l.closest("[data-slate-leaf]"),h=null;if(p){c=p.closest('[data-slate-node="text"]');var g=Dn.getWindow(e).document.createRange();g.setStart(c,0),g.setEnd(u,s);var v=g.cloneContents();wj(wj([],wP(cH(v.querySelectorAll("[data-slate-zero-width]")))),wP(cH(v.querySelectorAll("[contenteditable=false]")))).forEach(function(e){e.parentNode.removeChild(e)}),f=v.textContent.length,h=c}else d&&((p=d.querySelector("[data-slate-leaf]"))?(c=p.closest('[data-slate-node="text"]'),f=(h=p).textContent.length,h.querySelectorAll("[data-slate-zero-width]").forEach(function(e){f-=e.textContent.length})):f=1);h&&f===h.textContent.length&&(l.hasAttribute("data-slate-zero-width")||E5&&(null==(r=h.textContent)?void 0:r.endsWith("\n")))&&f--}if(!c){if(i)return null;throw Error("Cannot resolve a Slate point from DOM point: "+t)}var y=Dn.toSlateNode(e,c);return{path:Dn.findPath(e,y),offset:f}},hasRange:function(e,t){var n=t.anchor,r=t.focus;return ly.hasPath(e,n.path)&&ly.hasPath(e,r.path)},getNodeType:function(e){return lf.isElement(e)?e.type:""},checkNodeType:function(e,t){return this.getNodeType(e)===t},getNodesStr:function(e){return e.map(function(e){return lD.string(e)}).join("")},getSelectedElems:function(e){var t,n,r=[],o=ly.nodes(e,{universal:!0});try{for(var i=w_(o),a=i.next();!a.done;a=i.next()){var u=wP(a.value,1)[0];lf.isElement(u)&&r.push(u)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r},getSelectedNodeByType:function(e,t){var n=this,r=wP(ly.nodes(e,{match:function(e){return n.checkNodeType(e,t)},universal:!0}),1)[0];return null==r?null:r[0]},getSelectedTextNode:function(e){var t=wP(ly.nodes(e,{match:function(e){return l$.isText(e)},universal:!0}),1)[0];return null==t?null:t[0]},isNodeSelected:function(e,t){var n=wP(ly.nodes(e,{match:function(e){return e===t},universal:!0}),1)[0];return null!=n&&wP(n,1)[0]===t},isSelectionAtLineEnd:function(e,t){var n=e.selection;return!!n&&(ly.isEnd(e,n.anchor,t)||ly.isEnd(e,n.focus,t))},getTextarea:function(e){var t=Ew.get(e);if(null==t)throw Error("Cannot find textarea instance by editor");return t},getToolbar:function(e){return ES.get(e)||null},getHoverbar:function(e){return EC.get(e)||null},normalizeContent:function(e){e.children.forEach(function(t,n){e.normalizeNode([t,[n]])})},getLeftLengthOfMaxLength:function(e){var t=e.getConfig(),n=t.maxLength,r=t.onMaxLength;if("number"!=typeof n||n<=0)return 1/0;var o=n-e.getText().replace(/\r|\n|(\r\n)/g,"").length;return o<=0&&r&&r(e),o},cleanExposedTexNodeInSelectionBlock:function(e){var t,n,r,o,i=Dn.getTextarea(e).$textArea,a=null==i?void 0:i[0].childNodes;if(a)try{for(var u=w_(Array.from(a)),s=u.next();!s.done;s=u.next()){var l=s.value;if(3!==l.nodeType)break;l.remove()}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}var c=ly.nodes(e,{match:function(t){return!(!lf.isElement(t)||e.isInline(t))},universal:!0});try{for(var f=w_(c),d=f.next();!d.done;d=f.next()){var p=d.value;if(null!=p){var h=p[0];!function e(t,n){if(!(t instanceof HTMLElement&&"true"===t.dataset.slateVoid))for(var r=t.childNodes,o=r.length;o--;){var i=r[o],a=i.nodeType;3==a?n(i,t):1!=a&&9!=a&&11!=a||e(i,n)}}(Dn.toDOMNode(e,h),function(e,t){var n=c2(t);n.attr("data-slate-string")||n.attr("data-slate-zero-width")||n.attr("data-w-e-reserve")||t.removeChild(e)})}}}catch(e){r={error:e}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}},isLastNode:function(e,t){var n=e.children||[];return n[n.length-1]===t},genEmptyParagraph:function(){return{type:"paragraph",children:[{text:""}]}},isSelectedVoidNode:function(e){var t,n,r=ly.nodes(e,{match:function(t){return e.isVoid(t)}}),o=0;try{for(var i=w_(r),a=i.next();!a.done;a=i.next())a.value,o++}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return o>0},isSelectedEmptyParagraph:function(e){var t=e.selection;if(null==t||lj.isExpanded(t))return!1;var n=Dn.getSelectedNodeByType(e,"paragraph");if(null===n)return!1;var r=n.children;return 1===r.length&&(""===r[0].text||void 0)},isEmptyPath:function(e,t){var n=ly.node(e,t);if(null==n)return!1;var r=wP(n,1)[0].children;return 1===r.length&&""===r[0].text}},Dr=1,Do={},Di={},Da=yH.filter;md({target:"Array",proto:!0,forced:!bV("filter")},{filter:function(e){return Da(this,e,arguments.length>1?arguments[1]:void 0)}});var Du=" \n\v\f\r \xa0 \u2028\u2029\uFEFF",Ds=gY("".replace),Dl="["+Du+"]",Dc=RegExp("^"+Dl+Dl+"*"),Df=RegExp(Dl+Dl+"*$"),Dd=function(e){return function(t){var n=mw(gQ(t));return 1&e&&(n=Ds(n,Dc,"")),2&e&&(n=Ds(n,Df,"")),n}},Dp={start:Dd(1),end:Dd(2),trim:Dd(3)},Dh=yo.PROPER,Dg=Dp.trim;md({target:"String",proto:!0,forced:(Dm="trim",va(function(){return!!Du[Dm]()||"\x85"!=="\x85"[Dm]()||Dh&&Du[Dm].name!==Dm}))},{trim:function(){return Dg(this)}});var Dv=[],Dy={},Dm,Db,Dw,DE,DD,DS=gH.Promise,Dx=vp("species"),DC=function(e){var t=g9(e),n=v$.f;vv&&t&&!t[Dx]&&n(t,Dx,{configurable:!0,get:function(){return this}})},DO=gH.TypeError,DA=vp("species"),Dk=function(e,t){var n,r=vx(e).constructor;return void 0===r||null==(n=vx(r)[DA])?t:function(e){if(yN(e))return e;throw DO(vF(e)+" is not a constructor")}(n)},DT=gY([].slice),DB=/(?:ipad|iphone|ipod).*applewebkit/i.test(ve),DF="process"==ys(gH.process),D_=gH.setImmediate,DP=gH.clearImmediate,Dj=gH.process,DI=gH.Dispatch,DN=gH.Function,DR=gH.MessageChannel,DL=gH.String,DM=0,Dz={};try{Db=gH.location}catch(e){}var D$=function(e){if(g4(Dz,e)){var t=Dz[e];delete Dz[e],t()}},DH=function(e){return function(){D$(e)}},DU=function(e){D$(e.data)},DV=function(e){gH.postMessage(DL(e),Db.protocol+"//"+Db.host)};D_&&DP||(D_=function(e){var t=DT(arguments,1);return Dz[++DM]=function(){wi(g7(e)?e:DN(e),void 0,t)},Dw(DM),DM},DP=function(e){delete Dz[e]},DF?Dw=function(e){Dj.nextTick(DH(e))}:DI&&DI.now?Dw=function(e){DI.now(DH(e))}:DR&&!DB?(DD=(DE=new DR).port2,DE.port1.onmessage=DU,Dw=ym(DD.postMessage,DD)):gH.addEventListener&&g7(gH.postMessage)&&!gH.importScripts&&Db&&"file:"!==Db.protocol&&!va(DV)?(Dw=DV,gH.addEventListener("message",DU,!1)):Dw="onreadystatechange"in vw("script")?function(e){mB.appendChild(vw("script")).onreadystatechange=function(){mB.removeChild(this),D$(e)}}:function(e){setTimeout(DH(e),0)});var DW,Dq,DG,DK,DZ,DX,DY,DJ,DQ=D_,D0=/ipad|iphone|ipod/i.test(ve)&&void 0!==gH.Pebble,D1=/web0s(?!.*chrome)/i.test(ve),D2=yQ.f,D4=DQ,D3=gH.MutationObserver||gH.WebKitMutationObserver,D6=gH.document,D5=gH.process,D8=gH.Promise,D7=D2(gH,"queueMicrotask"),D9=D7&&D7.value;D9||(DW=function(){var e,t;for(DF&&(e=D5.domain)&&e.exit();Dq;){t=Dq.fn,Dq=Dq.next;try{t()}catch(e){throw Dq?DK():DG=void 0,e}}DG=void 0,e&&e.enter()},DB||DF||D1||!D3||!D6?!D0&&D8&&D8.resolve?((DY=D8.resolve(void 0)).constructor=D8,DJ=ym(DY.then,DY),DK=function(){DJ(DW)}):DF?DK=function(){D5.nextTick(DW)}:(D4=ym(D4,gH),DK=function(){D4(DW)}):(DZ=!0,DX=D6.createTextNode(""),new D3(DW).observe(DX,{characterData:!0}),DK=function(){DX.data=DZ=!DZ}));var Se,St,Sn,Sr,So=D9||function(e){var t={fn:e,next:void 0};DG&&(DG.next=t),Dq||(Dq=t,DK()),DG=t},Si=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=vP(t),this.reject=vP(n)},Sa={f:function(e){return new Si(e)}},Su=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Ss="object"==typeof window,Sl=vp("species"),Sc="Promise",Sf=ye(Sc),Sd=ye(Sc),Sp=DS&&DS.prototype,Sh=DS,Sg=Sp,Sv=gH.TypeError,Sy=gH.document,Sm=gH.process,Sb=Sa.f,Sw=Sb,SE=!!(Sy&&Sy.createEvent&&gH.dispatchEvent),SD=g7(gH.PromiseRejectionEvent),SS=!1,Sx=ma(Sc,function(){var e=vK(Sh),t=e!==String(Sh);if(!t&&66===vi)return!0;if(vi>=51&&/native code/.test(e))return!1;var n=new Sh(function(e){e(1)}),r=function(e){e(function(){},function(){})};return(n.constructor={})[Sl]=r,!(SS=n.then(function(){})instanceof r)||!t&&Ss&&!SD}),SC=Sx||!bn(function(e){Sh.all(e).catch(function(){})}),SO=function(e){var t;return!(!vy(e)||!g7(t=e.then))&&t},SA=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;So(function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,u,s,l=n[i++],c=o?l.ok:l.fail,f=l.resolve,d=l.reject,p=l.domain;try{c?(o||(2===e.rejection&&SF(e),e.rejection=1),!0===c?a=r:(p&&p.enter(),a=c(r),p&&(p.exit(),s=!0)),a===l.promise?d(Sv("Promise-chain cycle")):(u=SO(a))?vO(u,a,f,d):f(a)):d(r)}catch(e){p&&!s&&p.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ST(e)})}},Sk=function(e,t,n){var r,o;SE?((r=Sy.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),gH.dispatchEvent(r)):r={promise:t,reason:n},!SD&&(o=gH["on"+e])?o(r):"unhandledrejection"===e&&function(e,t){var n=gH.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},ST=function(e){vO(DQ,gH,function(){var t,n=e.facade,r=e.value;if(SB(e)&&(t=Su(function(){DF?Sm.emit("unhandledRejection",r,n):Sk("unhandledrejection",n,r)}),e.rejection=DF||SB(e)?2:1,t.error))throw t.value})},SB=function(e){return 1!==e.rejection&&!e.parent},SF=function(e){vO(DQ,gH,function(){var t=e.facade;DF?Sm.emit("rejectionHandled",t):Sk("rejectionhandled",t,e.value)})},S_=function(e,t,n){return function(r){e(t,r,n)}},SP=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,SA(e,!0))},Sj=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw Sv("Promise can't be resolved itself");var r=SO(t);r?So(function(){var n={done:!1};try{vO(r,t,S_(Sj,n,e),S_(SP,n,e))}catch(t){SP(n,t,e)}}):(e.value=t,e.state=1,SA(e,!1))}catch(t){SP({done:!1},t,e)}}};if(Sx&&(Sg=(Sh=function(e){w2(this,Sg),vP(e),vO(Se,this);var t=Sf(this);try{e(S_(Sj,t),S_(SP,t))}catch(e){SP(t,e)}}).prototype,(Se=function(e){v8(this,{type:Sc,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=wM(Sg,{then:function(e,t){var n=Sd(this),r=n.reactions,o=Sb(Dk(this,Sh));return o.ok=!g7(e)||e,o.fail=g7(t)&&t,o.domain=DF?Sm.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&SA(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),St=function(){var e=new Se,t=Sf(e);this.promise=e,this.resolve=S_(Sj,t),this.reject=S_(SP,t)},Sa.f=Sb=function(e){return e===Sh||e===Sn?new St(e):Sw(e)},g7(DS)&&Sp!==Object.prototype)){Sr=Sp.then,SS||(yi(Sp,"then",function(e,t){var n=this;return new Sh(function(e,t){vO(Sr,n,e,t)}).then(e,t)},{unsafe:!0}),yi(Sp,"catch",Sg.catch,{unsafe:!0}));try{delete Sp.constructor}catch(e){}bO&&bO(Sp,Sg)}md({global:!0,wrap:!0,forced:Sx},{Promise:Sh}),bD(Sh,Sc,!1),DC(Sc),Sn=g9(Sc),md({target:Sc,stat:!0,forced:Sx},{reject:function(e){var t=Sb(this);return vO(t.reject,void 0,e),t.promise}}),md({target:Sc,stat:!0,forced:Sx},{resolve:function(e){if(vx(this),vy(e)&&e.constructor===this)return e;var t=Sa.f(this);return(0,t.resolve)(e),t.promise}}),md({target:Sc,stat:!0,forced:SC},{all:function(e){var t=this,n=Sb(t),r=n.resolve,o=n.reject,i=Su(function(){var n=vP(t.resolve),i=[],a=0,u=1;w0(e,function(e){var s=a++,l=!1;u++,vO(n,t,e).then(function(e){l||(l=!0,i[s]=e,--u||r(i))},o)}),--u||r(i)});return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=Sb(t),r=n.reject,o=Su(function(){var o=vP(t.resolve);w0(e,function(e){vO(o,t,e).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}});var SI=bZ.UNSUPPORTED_Y,SN=Math.min,SR=[].push,SL=gY(/./.exec),SM=gY(SR),Sz=gY("".slice);function S$(e){Promise.resolve().then(e)}function SH(e){return"w-e-element-"+e}ws("split",function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=mw(gQ(this)),o=void 0===n?0xffffffff:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!mH(e))return vO(t,r,e,o);for(var i,a,u,s=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,f=RegExp(e.source,l+"g");(i=vO(we,f,r))&&!((a=f.lastIndex)>c&&(SM(s,Sz(r,c,i.index)),i.length>1&&i.index<r.length&&wi(SR,s,wH(i,1)),u=i[0].length,c=a,s.length>=o));)f.lastIndex===i.index&&f.lastIndex++;return c===r.length?!u&&SL(f,"")||SM(s,""):SM(s,Sz(r,c)),s.length>o?wH(s,0,o):s}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:vO(t,this,e,n)}:t,[function(t,n){var o=gQ(this),i=null==t?void 0:vj(t,e);return i?vO(i,t,o,n):vO(r,mw(o),t,n)},function(e,o){var i=vx(this),a=mw(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=Dk(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(SI?"g":"y"),f=new s(SI?"^(?:"+i.source+")":i,c),d=void 0===o?0xffffffff:o>>>0;if(0===d)return[];if(0===a.length)return null===wb(f,a)?[a]:[];for(var p=0,h=0,g=[];h<a.length;){f.lastIndex=SI?0:h;var v,y=wb(f,SI?Sz(a,h):a);if(null===y||(v=SN(yO(f.lastIndex+(SI?h:0)),a.length))===p)h=wc(a,h,l);else{if(SM(g,Sz(a,p,h)),g.length===d)return g;for(var m=1;m<=y.length-1;m++)if(SM(g,y[m]),g.length===d)return g;h=p=v}}return SM(g,Sz(a,p)),g}]},!!va(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),SI);var SU=function(e,t){var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n},SV=function(e,t,n){var r=Dn.toDOMRange(e,t).getBoundingClientRect(),o=Dn.toDOMRange(e,n).getBoundingClientRect();return SU(r,o)&&SU(o,r)},SW=["span","b","strong","i","em","s","strike","u","font","sub","sup"],Sq=[],SG=[],SK={},SZ=v$.f,SX=me.f,SY=vp("match"),SJ=gH.RegExp,SQ=SJ.prototype,S0=gH.SyntaxError,S1=gY(mE),S2=gY(SQ.exec),S4=gY("".charAt),S3=gY("".replace),S6=gY("".indexOf),S5=gY("".slice),S8=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,S7=/a/g,S9=/a/g,xe=new SJ(S7)!==S7,xt=bZ.MISSED_STICKY,xn=bZ.UNSUPPORTED_Y;if(ma("RegExp",vv&&(!xe||xt||bY||bQ||va(function(){return S9[SY]=!1,SJ(S7)!=S7||SJ(S9)==S9||"/a/i"!=SJ(S7,"i")})))){for(var xr=function(e,t){var n,r,o,i,a,u,s=vA(SQ,this),l=mH(e),c=void 0===t,f=[],d=e;if(!s&&l&&c&&e.constructor===xr)return e;if((l||vA(SQ,e))&&(e=e.source,c&&(t="flags"in d?d.flags:S1(d))),e=void 0===e?"":mw(e),t=void 0===t?"":mw(t),d=e,bY&&"dotAll"in S7&&(r=!!t&&S6(t,"s")>-1)&&(t=S3(t,/s/g,"")),n=t,xt&&"sticky"in S7&&(o=!!t&&S6(t,"y")>-1)&&xn&&(t=S3(t,/y/g,"")),bQ&&(e=(i=function(e){for(var t,n=e.length,r=0,o="",i=[],a={},u=!1,s=!1,l=0,c="";r<=n;r++){if("\\"===(t=S4(e,r)))t+=S4(e,++r);else if("]"===t)u=!1;else if(!u)switch(!0){case"["===t:u=!0;break;case"("===t:S2(S8,S5(e,r+1))&&(r+=2,s=!0),o+=t,l++;continue;case">"===t&&s:if(""===c||g4(a,c))throw new S0("Invalid capture group name");a[c]=!0,i[i.length]=[c,l],s=!1,c="";continue}s?c+=t:o+=t}return[o,i]}(e))[0],f=i[1]),a=w4(SJ(e,t),s?this:SQ,xr),(r||o||f.length)&&(u=v9(a),r&&(u.dotAll=!0,u.raw=xr(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=S4(e,r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+S4(e,++r);return o}(e),n)),o&&(u.sticky=!0),f.length&&(u.groups=f)),e!==d)try{vU(a,"source",""===d?"(?:)":d)}catch(e){}return a},xo=function(e){e in xr||SZ(xr,e,{configurable:!0,get:function(){return SJ[e]},set:function(t){SJ[e]=t}})},xi=SX(SJ),xa=0;xi.length>xa;)xo(xi[xa++]);SQ.constructor=xr,xr.prototype=SQ,yi(gH,"RegExp",xr)}DC("RegExp");var xu=RegExp(String.fromCharCode(160),"g");function xs(e){return e.replace(xu," ")}function xl(e,t){var n=e.length;if(n){var r=e[n-1];if(l$.isText(r)){var o=Object.keys(r);if(1===o.length&&"text"===o[0])return r.text=r.text+t,!0}}return!1}function xc(e,t,n){return{type:"paragraph",children:[{text:c2(e).text().replace(/\s+/gm," ")}]}}function xf(e,t){var n=function(e,t){var n=[];if(null!=e.attr("data-w-e-is-void"))return n;var r=e[0].childNodes;return 1===r.length&&"BR"===r[0].nodeName?n.push({text:""}):r.forEach(function(e){if(e.nodeType!==EK.ELEMENT_NODE)if(e.nodeType!==EK.TEXT_NODE);else{var r=e.textContent||"";if(""===r.trim()&&r.indexOf("\n")>=0)return;r&&(xl(n,r=xs(r))||n.push({text:r}))}else{if("BR"===e.nodeName)return void(xl(n,"\n")||n.push({text:"\n"}));var o=xp(c2(e),t);Array.isArray(o)?o.forEach(function(e){return n.push(e)}):n.push(o)}}),n}(e,t),r=(function(e){for(var t in SK)if(e[0].matches(t))return SK[t];return xc})(e)(e[0],n,t);return Array.isArray(r)||(r=[r]),r.forEach(function(r){ly.isVoid(t,r)||(0===n.length&&(r.children=[{text:e.text().replace(/\s+/gm," ")}]),SG.forEach(function(n){r=n(e[0],r,t)}))}),r}function xd(e,t){0===e.parents("pre").length&&(e[0].innerHTML=e[0].innerHTML.replace(/\s+/gm," ").replace(/<br>/g,"\n"));var n=e[0].textContent||"",r={text:n=xs(n=n.replace(/ /g," ").replace(/</g,"<").replace(/>/g,">").replace(/®/g,"\xae").replace(/©/g,"\xa9").replace(/™/g,"™").replace(/"/g,'"'))};return SG.forEach(function(n){r=n(e[0],r,t)}),r}function xp(e,t){Sq.forEach(function(t){var n=t.selector,r=t.preParseHtml;e[0].matches(n)&&(e=c2(r(e[0])))});var n=E3(e);return"span"===n?e.attr("data-w-e-type")?xf(e,t):xd(e,t):"code"===n?"pre"===E3(e.parent())?xf(e,t):xd(e,t):SW.includes(n)?xd(e,t):xf(e,t)}function xh(e,t,n){var r=c2(n);return!!r.attr(t)||(r.attr(t,"true"),e.on("destroyed",function(){r.removeAttr(t)}),!1)}function xg(e,t){void 0===t&&(t="");var n=[];return""===t&&(t="<p><br></p>"),0!==t.indexOf("<")&&(t=t.split(/\n/).map(function(e){return"<p>"+e+"</p>"}).join("")),Array.from(c2("<div>"+t+"</div>").children()).forEach(function(t){var r=xp(c2(t),e);Array.isArray(r)?r.forEach(function(e){return n.push(e)}):n.push(r)}),n}var xv=v$.f,xy=wX.fastKey;w3("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},{getConstructor:function(e,t,n,r){var o=e(function(e,o){w2(e,i),v8(e,{type:t,index:mN(null),first:void 0,last:void 0,size:0}),vv||(e.size=0),null!=o&&w0(o,e[r],{that:e,AS_ENTRIES:n})}),i=o.prototype,a=ye(t),u=function(e,t,n){var r,o,i=a(e),u=s(e,t);return u?u.value=n:(i.last=u={index:o=xy(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=u),r&&(r.next=u),vv?i.size++:e.size++,"F"!==o&&(i.index[o]=u)),e},s=function(e,t){var n,r=a(e),o=xy(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return wM(i,{clear:function(){for(var e=a(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,vv?e.size=0:this.size=0},delete:function(e){var t=a(this),n=s(this,e);if(n){var r=n.next,o=n.previous;delete t.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),t.first==n&&(t.first=r),t.last==n&&(t.last=o),vv?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=a(this),r=ym(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!s(this,e)}}),wM(i,n?{get:function(e){var t=s(this,e);return t&&t.value},set:function(e,t){return u(this,0===e?0:e,t)}}:{add:function(e){return u(this,e=0===e?0:e,e)}}),vv&&xv(i,"size",{get:function(){return a(this).size}}),o},setStrong:function(e,t,n){var r=t+" Iterator",o=ye(t),i=ye(r);bF(e,t,function(e,t){v8(this,{type:r,target:e,state:o(e),kind:t,last:void 0})},function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),DC(t)}});var xm=new Set(["doctype","!doctype","meta","script","style","link","frame","iframe","title","svg"]);function xb(e,t){e.isInline(t)?(e.insertNode(t),"link"===t.type&&e.insertFragment([{text:""}])):l6.insertNodes(e,t,{mode:"highest"})}var xw=function(e){var t=e.insertText;return e.insertFragment,e.setFragmentData=function(t){var n=e.selection;if(n){var r=wP(lj.edges(n),2),o=r[0],i=r[1],a=ly.void(e,{at:o.path}),u=ly.void(e,{at:i.path});if(!lj.isCollapsed(n)||a){var s=Dn.toDOMRange(e,n),l=s.cloneContents(),c=l.childNodes[0];if(l.childNodes.forEach(function(e){e.textContent&&""!==e.textContent.trim()&&(c=e)}),u){var f=wP(u,1)[0],d=s.cloneRange(),p=Dn.toDOMNode(e,f);d.setEndAfter(p),l=d.cloneContents()}if(a&&(c=l.querySelector("[data-slate-spacer]")),Array.from(l.querySelectorAll("[data-slate-zero-width]")).forEach(function(e){var t="n"===e.getAttribute("data-slate-zero-width");e.textContent=t?"\n":""}),E0(c)){var h=c.ownerDocument.createElement("span");h.style.whiteSpace="pre",h.appendChild(c),l.appendChild(h),c=h}var g=JSON.stringify(e.getFragment()),v=window.btoa(encodeURIComponent(g));c.setAttribute("data-slate-fragment",v),t.setData("application/x-slate-fragment",v);var y=l.ownerDocument.createElement("div");return y.appendChild(l),y.setAttribute("hidden","true"),l.ownerDocument.body.appendChild(y),t.setData("text/html",y.innerHTML),t.setData("text/plain",E4(y)),l.ownerDocument.body.removeChild(y),t}}},e.insertData=function(n){var r,o,i=n.getData("application/x-slate-fragment");if(i){var a=JSON.parse(decodeURIComponent(window.atob(i)));e.insertFragment(a)}else{var u=n.getData("text/plain"),s=n.getData("text/html");if(s)e.dangerouslyInsertHtml(s);else if(u){var l=u.split(/\r\n|\r|\n/),c=!1;try{for(var f=w_(l),d=f.next();!d.done;d=f.next()){var p=d.value;c&&l6.splitNodes(e,{always:!0}),t(p),c=!0}}catch(e){r={error:e}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}}}},e},xE=function(e){return null!=e},xD={object:!0,function:!0,undefined:!0},xS=/^\s*class[\s{/}]/,xx=Function.prototype.toString,xC=function(e){return!!function(e){if("function"!=typeof e||!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length||"function"!=typeof e.call||"function"!=typeof e.apply)return!1}catch(e){return!1}return!function(e){if(!(xE(e)&&hasOwnProperty.call(xD,typeof e)))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}(e)}(e)&&!xS.test(xx.call(e))},xO=function(e){return null!=e},xA=Object.keys,xk=!function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}()?function(e){return xA(xO(e)?Object(e):e)}:Object.keys,xT=function(e){if(!xO(e))throw TypeError("Cannot use null or undefined");return e},xB=Math.max,xF="function"==typeof(O1=Object.assign)&&(O1(O0={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),O0.foo+O0.bar+O0.trzy==="razdwatrzy")?Object.assign:function(e,t){var n,r,o,i=xB(arguments.length,2);for(e=Object(xT(e)),o=function(r){try{e[r]=t[r]}catch(e){n||(n=e)}},r=1;r<i;++r)xk(t=arguments[r]).forEach(o);if(void 0!==n)throw n;return e},x_=Array.prototype.forEach,xP=Object.create,xj=function(e,t){var n;for(n in e)t[n]=e[n]},xI=function(e){var t=xP(null);return x_.call(arguments,function(e){xO(e)&&xj(Object(e),t)}),t},xN="razdwatrzy",xR=String.prototype.indexOf,xL="function"==typeof xN.contains&&!0===xN.contains("dwa")&&!1===xN.contains("foo")?String.prototype.contains:function(e){return xR.call(this,e,arguments[1])>-1},xM=gL(function(e){(e.exports=function(e,t){var n,r,o,i,a;return arguments.length<2||"string"!=typeof e?(i=t,t=e,e=null):i=arguments[2],xE(e)?(n=xL.call(e,"c"),r=xL.call(e,"e"),o=xL.call(e,"w")):(n=o=!0,r=!1),a={value:t,configurable:n,enumerable:r,writable:o},i?xF(xI(i),a):a}).gs=function(e,t,n){var r,o,i,a;return"string"!=typeof e?(i=n,n=t,t=e,e=null):i=arguments[3],xE(t)?xC(t)?xE(n)?xC(n)||(i=n,n=void 0):n=void 0:(i=t,t=n=void 0):t=void 0,xE(e)?(r=xL.call(e,"c"),o=xL.call(e,"e")):(r=!0,o=!1),a={get:t,set:n,configurable:r,enumerable:o},i?xF(xI(i),a):a}}),xz=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function");return e},x$=gL(function(e,t){var n,r,o,i,a,u,s,l=Function.prototype.apply,c=Function.prototype.call,f=Object.create,d=Object.defineProperty,p=Object.defineProperties,h=Object.prototype.hasOwnProperty,g={configurable:!0,enumerable:!1,writable:!0};n=function(e,t){var n;return xz(t),h.call(this,"__ee__")?n=this.__ee__:(n=g.value=f(null),d(this,"__ee__",g),g.value=null),n[e]?"object"==typeof n[e]?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},r=function(e,t){var r,i;return xz(t),i=this,n.call(this,e,r=function(){o.call(i,e,r),l.call(t,this,arguments)}),r.__eeOnceListener__=t,this},a={on:n,once:r,off:o=function(e,t){var n,r,o,i;if(xz(t),!h.call(this,"__ee__")||!(n=this.__ee__)[e])return this;if("object"==typeof(r=n[e]))for(i=0;o=r[i];++i)o!==t&&o.__eeOnceListener__!==t||(2===r.length?n[e]=r[+!i]:r.splice(i,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];return this},emit:i=function(e){var t,n,r,o,i;if(h.call(this,"__ee__")&&(o=this.__ee__[e]))if("object"==typeof o){for(n=arguments.length,i=Array(n-1),t=1;t<n;++t)i[t-1]=arguments[t];for(o=o.slice(),t=0;r=o[t];++t)l.call(r,this,i)}else switch(arguments.length){case 1:c.call(o,this);break;case 2:c.call(o,this,arguments[1]);break;case 3:c.call(o,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,i=Array(n-1),t=1;t<n;++t)i[t-1]=arguments[t];l.call(o,this,i)}}},s=p({},u={on:xM(n),once:xM(r),off:xM(o),emit:xM(i)}),e.exports=t=function(e){return null==e?f(s):p(Object(e),u)},t.methods=a});function xH(e){var t=EU.get(e);return null==t&&(t=x$(),EU.set(e,t)),t}var xU=new WeakMap;function xV(e,t){var n=xU.get(e);null==n&&(n=new Set,xU.set(e,n)),n.add(t)}function xW(e){var t=Dn.getTextarea(e).$textAreaContainer,n=t.width(),r=t.height(),o=t.offset();return{top:o.top,left:o.left,width:n,height:r}}function xq(e){var t={top:"0",left:"0"},n=e.selection;if(null==n)return t;var r=xW(e);if(null==r)return t;var o=r.top,i=r.left,a=r.width,u=r.height,s=Dn.toDOMRange(e,n).getClientRects()[0];if(null==s)return t;s.width;var l=s.height,c={},f=s.top-o,d=s.left-i;if(d>a/2?c.right=a-d+5+"px":c.left=d+5+"px",f>u/2)c.bottom=u-f+5+"px";else{var p=f+l;p<0&&(p=0),c.top=p+5+"px"}return c}function xG(e,t,n){void 0===n&&(n="modal");var r={top:"0",left:"0"};if(null==e.selection)return r;var o=lf.isElement(t)&&e.isVoid(t),i=lf.isElement(t)&&e.isInline(t),a=EL.get(t);if(null==a)return r;var u=a.getBoundingClientRect(),s=u.top,l=u.left,c=u.height,f=u.width;if(o){var d=function(e){var t=[];t.push(e);for(var n=0;t.length>0;){var r=t.pop();if(null==r||++n>1e4)break;var o=r.nodeName;if(1===r.nodeType){var i=o.toLowerCase();if(EG.includes(i)||"iframe"===i||"video"===i)return r;var a=r.children||[],u=a.length;if(u)for(var s=u-1;s>=0;s--)t.push(a[s])}}return null}(a);if(null!=d){var p=d.getBoundingClientRect();s=p.top,c=p.height}}var h=xW(e);if(null==h)return r;var g,v=h.top,y=h.left,m=h.width,b=h.height,w={},E=s-v,D=l-y;if("bar"===n)return w.left=D+"px",E>40?w.bottom=b-E+5+"px":w.top=E+c+5+"px",w;if("modal"===n)return o?i?D>(m-f)/2?w.right=m-D+5+"px":w.left=D+f+5+"px":w.left="20px":w.left=D+"px",o?((g=E)<0&&(g=0),w.top=g+"px"):E>(b-c)/2?w.bottom=b-E+5+"px":((g=E+c)<0&&(g=0),w.top=g+5+"px"),w;throw Error("type '"+n+"' is invalid")}function xK(e,t){S$(function(){var n=xW(e);if(null!=n){var r,o=n.top,i=n.left,a=n.width,u=n.height,s=t.offset(),l=s.top,c=s.left,f=t.width(),d=t.height(),p=t.attr("style");if(p.indexOf("top")>=0&&(r=l-o+d-u)>0){var h=parseInt(t.css("top").toString())-r;h<0&&(h=0),t.css("top",h+"px")}if(p.indexOf("bottom")>=0&&l<0){var g=parseInt(t.css("bottom").toString())-Math.abs(l);t.css("bottom",g+"px")}if(p.indexOf("left")>=0&&(r=c-i+f-a)>0){var v=parseInt(t.css("left").toString())-r;v<0&&(v=0),t.css("left",v+"px")}if(p.indexOf("right")>=0&&c<0){var y=parseInt(t.css("right").toString())-Math.abs(c);t.css("right",y+"px")}}})}var xZ=bV("slice"),xX=vp("species"),xY=gH.Array,xJ=Math.max;md({target:"Array",proto:!0,forced:!xZ},{slice:function(e,t){var n,r,o,i=yY(this),a=yA(i),u=y2(e,a),s=y2(void 0===t?a:t,a);if(yk(i)&&((yN(n=i.constructor)&&(n===xY||yk(n.prototype))||vy(n)&&null===(n=n[xX]))&&(n=void 0),n===xY||void 0===n))return DT(i,u,s);for(r=new(void 0===n?xY:n)(xJ(s-u,0)),o=0;u<s;u++,o++)u in i&&m2(r,o,i[u]);return r.length=o,r}});var xQ=yQ.f,x0=gY("".startsWith),x1=gY("".slice),x2=Math.min,x4=mq("startsWith");md({target:"String",proto:!0,forced:!(!x4&&(O2=xQ(String.prototype,"startsWith"))&&!O2.writable)&&!x4},{startsWith:function(e){var t=mw(gQ(this));mV(e);var n=yO(x2(arguments.length>1?arguments[1]:void 0,t.length)),r=mw(e);return x0?x0(t,r,n):x1(t,n,n+r.length)===r}});var x3=Object.assign,x6=Object.defineProperty,x5=gY([].concat),x8=!x3||va(function(){if(vv&&1!==x3({b:1},x3(x6({},"a",{enumerable:!0,get:function(){x6(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=x3({},e)[n]||mp(x3({},t)).join("")!=r})?function(e,t){for(var n=g1(e),r=arguments.length,o=1,i=mt.f,a=yX.f;r>o;)for(var u,s=yE(arguments[o++]),l=i?x5(mp(s),i(s)):mp(s),c=l.length,f=0;c>f;)u=l[f++],vv&&!vO(a,s,u)||(n[u]=s[u]);return n}:x3;md({target:"Object",stat:!0,forced:Object.assign!==x8},{assign:x8});var x7=["props","attrs","style","dataset","on","hook"],x9=[],Ce={};function Ct(e,t,n){return dw(n.isInline(e)?"span":"div",null,t)}function Cn(e,t){return void 0===t&&(t=!1),dw("span",{"data-slate-string":!0},t?e+"\n":e)}function Cr(e,t){return void 0===e&&(e=0),void 0===t&&(t=!1),dw("span",{"data-slate-zero-width":t?"n":"z","data-slate-length":e},"\uFEFF",t?dw("br",null):null)}function Co(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function Ci(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function Ca(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n,r=getComputedStyle(e,null);return Ci(r.overflowY,t)||Ci(r.overflowX,t)||!!(n=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e))&&(n.clientHeight<e.scrollHeight||n.clientWidth<e.scrollWidth)}return!1}function Cu(e,t,n,r,o,i,a,u){return i<e&&a>t||i>e&&a<t?0:i<=e&&u<=n||a>=t&&u>=n?i-e-r:a>t&&u<n||i<e&&u>n?a-t+o:0}function Cs(e,t){var n=window,r=t.scrollMode,o=t.block,i=t.inline,a=t.boundary,u=t.skipOverflowHiddenElements,s="function"==typeof a?a:function(e){return e!==a};if(!Co(e))throw TypeError("Invalid target");for(var l=document.scrollingElement||document.documentElement,c=[],f=e;Co(f)&&s(f);){if((f=f.parentElement)===l){c.push(f);break}null!=f&&f===document.body&&Ca(f)&&!Ca(document.documentElement)||null!=f&&Ca(f,u)&&c.push(f)}for(var d=n.visualViewport?n.visualViewport.width:innerWidth,p=n.visualViewport?n.visualViewport.height:innerHeight,h=window.scrollX||pageXOffset,g=window.scrollY||pageYOffset,v=e.getBoundingClientRect(),y=v.height,m=v.width,b=v.top,w=v.right,E=v.bottom,D=v.left,S="start"===o||"nearest"===o?b:"end"===o?E:b+y/2,x="center"===i?D+m/2:"end"===i?w:D,C=[],O=0;O<c.length;O++){var A=c[O],k=A.getBoundingClientRect(),T=k.height,B=k.width,F=k.top,_=k.right,P=k.bottom,j=k.left;if("if-needed"===r&&b>=0&&D>=0&&E<=p&&w<=d&&b>=F&&E<=P&&D>=j&&w<=_)break;var I=getComputedStyle(A),N=parseInt(I.borderLeftWidth,10),R=parseInt(I.borderTopWidth,10),L=parseInt(I.borderRightWidth,10),M=parseInt(I.borderBottomWidth,10),z=0,$=0,H="offsetWidth"in A?A.offsetWidth-A.clientWidth-N-L:0,U="offsetHeight"in A?A.offsetHeight-A.clientHeight-R-M:0;if(l===A)z="start"===o?S:"end"===o?S-p:"nearest"===o?Cu(g,g+p,p,R,M,g+S,g+S+y,y):S-p/2,$="start"===i?x:"center"===i?x-d/2:"end"===i?x-d:Cu(h,h+d,d,N,L,h+x,h+x+m,m),z=Math.max(0,z+g),$=Math.max(0,$+h);else{z="start"===o?S-F-R:"end"===o?S-P+M+U:"nearest"===o?Cu(F,P,T,R,M+U,S,S+y,y):S-(F+T/2)+U/2,$="start"===i?x-j-N:"center"===i?x-(j+B/2)+H/2:"end"===i?x-_+L+H:Cu(j,_,B,N,L+H,x,x+m,m);var V=A.scrollLeft,W=A.scrollTop;S+=W-(z=Math.max(0,Math.min(W+z,A.scrollHeight-T+U))),x+=V-($=Math.max(0,Math.min(V+$,A.scrollWidth-B+H)))}C.push({el:A,top:z,left:$})}return C}function Cl(e){return e===Object(e)&&0!==Object.keys(e).length}function Cc(e,t){return EJ(t)&&Dn.hasDOMNode(e,t,{editable:!0})}function Cf(e,t){if(e.getConfig().readOnly)return!1;var n=Cd(e,t)&&Dn.toSlateNode(e,t);return ly.isVoid(e,n)}function Cd(e,t){return EJ(t)&&Dn.hasDOMNode(e,t)}function Cp(e,t,n){void 0===n&&(n=!1);var r=t.selection,o=t.getConfig(),i=Dn.findDocumentOrShadowRoot(t).getSelection();if(i&&(!e.isComposing||n)&&t.isFocused()){var a="None"!==i.type;if(r||a){var u=EI.get(t),s=!1;if(u.contains(i.anchorNode)&&u.contains(i.focusNode)&&(s=!0),a&&s&&r){var l=Dn.toSlateRange(t,i,{exactMatch:!0,suppressThrow:!0});if(l&&lj.equals(l,r)){var c=!0;if(lj.isCollapsed(r)){var f=i.anchorNode,d=i.anchorOffset;if(f===u){var p=u.childNodes,h=void 0;(h=p[d])&&h.matches("table")&&(c=!1),(h=p[d-1])&&h.matches("table")&&(c=!1)}}if(c)return}}if(!r||Dn.hasRange(t,r)){e.isUpdatingSelection=!0;var g=r&&Dn.toDOMRange(t,r);if(g){lj.isBackward(r)?i.setBaseAndExtent(g.endContainer,g.endOffset,g.startContainer,g.startOffset):i.setBaseAndExtent(g.startContainer,g.startOffset,g.endContainer,g.endOffset);var v=g.startContainer.parentElement;if(!v.closest("[data-slate-spacer]")){v.getBoundingClientRect=g.getBoundingClientRect.bind(g);var y=document.body;(function(e,t){var n=!e.ownerDocument.documentElement.contains(e);if(Cl(t)&&"function"==typeof t.behavior)return t.behavior(n?[]:Cs(e,t));if(!n){var r,o,i,a=!1===t?{block:"end",inline:"nearest"}:Cl(t)?t:{block:"start",inline:"nearest"};r=Cs(e,a),void 0===(o=a.behavior)&&(o="auto"),i="scrollBehavior"in document.body.style,r.forEach(function(e){var t=e.el,n=e.top,r=e.left;t.scroll&&i?t.scroll({top:n,left:r,behavior:o}):(t.scrollTop=n,t.scrollLeft=r)})}})(v,{scrollMode:"if-needed",boundary:o.scroll?u.parentElement:y,block:"end",behavior:"smooth"}),delete v.getBoundingClientRect}}else i.removeAllRanges();setTimeout(function(){g&&E5&&u.focus(),e.isUpdatingSelection=!1})}else t.selection=Dn.toSlateRange(t,i,{exactMatch:!1,suppressThrow:!1})}}}var Ch=new WeakMap,Cg=new WeakMap,Cv={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",splitBlock:"shift?+enter",undo:"mod+z",tab:"tab",selectAll:"mod+a"},Cy={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},Cm={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},Cb=function(e){var t=Cv[e],n=Cy[e],r=Cm[e],o=t&&pn(t),i=n&&pn(n),a=r&&pn(r);return function(e){return!(!o||!o(e))||!!(E6&&i&&i(e))||!(E6||!a||!a(e))}},Cw={isBold:Cb("bold"),isCompose:Cb("compose"),isMoveBackward:Cb("moveBackward"),isMoveForward:Cb("moveForward"),isDeleteBackward:Cb("deleteBackward"),isDeleteForward:Cb("deleteForward"),isDeleteLineBackward:Cb("deleteLineBackward"),isDeleteLineForward:Cb("deleteLineForward"),isDeleteWordBackward:Cb("deleteWordBackward"),isDeleteWordForward:Cb("deleteWordForward"),isExtendBackward:Cb("extendBackward"),isExtendForward:Cb("extendForward"),isExtendLineBackward:Cb("extendLineBackward"),isExtendLineForward:Cb("extendLineForward"),isItalic:Cb("italic"),isMoveLineBackward:Cb("moveLineBackward"),isMoveLineForward:Cb("moveLineForward"),isMoveWordBackward:Cb("moveWordBackward"),isMoveWordForward:Cb("moveWordForward"),isRedo:Cb("redo"),isSplitBlock:Cb("splitBlock"),isTransposeCharacter:Cb("transposeCharacter"),isUndo:Cb("undo"),isTab:Cb("tab"),isSelectAll:Cb("selectAll")};function CE(e){e.preventDefault()}var CD={beforeinput:function(e,t,n){var r=n.getConfig().readOnly;if(Dt&&!r&&Cc(n,e.target)){var o=n.selection,i=e.inputType,a=e.dataTransfer||e.data||void 0;if("insertCompositionText"!==i&&"deleteCompositionText"!==i){if(e.preventDefault(),!i.startsWith("delete")||i.startsWith("deleteBy")){var u=wP(e.getTargetRanges(),1)[0];if(u){var s=Dn.toSlateRange(n,u,{exactMatch:!1,suppressThrow:!1});o&&lj.equals(o,s)||l6.select(n,s)}}if(o&&lj.isExpanded(o)&&i.startsWith("delete")){var l=i.endsWith("Backward")?"backward":"forward";ly.deleteFragment(n,{direction:l})}else switch(i){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":ly.deleteFragment(n);break;case"deleteContent":case"deleteContentForward":ly.deleteForward(n);break;case"deleteContentBackward":ly.deleteBackward(n);break;case"deleteEntireSoftLine":ly.deleteBackward(n,{unit:"line"}),ly.deleteForward(n,{unit:"line"});break;case"deleteHardLineBackward":ly.deleteBackward(n,{unit:"block"});break;case"deleteSoftLineBackward":ly.deleteBackward(n,{unit:"line"});break;case"deleteHardLineForward":ly.deleteForward(n,{unit:"block"});break;case"deleteSoftLineForward":ly.deleteForward(n,{unit:"line"});break;case"deleteWordBackward":ly.deleteBackward(n,{unit:"word"});break;case"deleteWordForward":ly.deleteForward(n,{unit:"word"});break;case"insertLineBreak":case"insertParagraph":ly.insertBreak(n);break;case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if("insertFromPaste"===i&&!EV.get(n))break;a instanceof DataTransfer?n.insertData(a):"string"==typeof a&&ly.insertText(n,a)}}}},blur:function(e,t,n){var r=t.isUpdatingSelection,o=t.latestElement;if(!n.getConfig().readOnly&&!r&&Cc(n,e.target)){var i=Dn.findDocumentOrShadowRoot(n);if(o!==i.activeElement){var a=e.relatedTarget;if(!(a===Dn.toDOMNode(n,n)||EY(a)&&a.hasAttribute("data-slate-spacer"))){if(null!=a&&EJ(a)&&Dn.hasDOMNode(n,a)){var u=Dn.toSlateNode(n,a);if(lf.isElement(u)&&!n.isVoid(u))return}if(E8){var s=i.getSelection();null==s||s.removeAllRanges()}E$.delete(n)}}}},focus:function(e,t,n){var r=Dn.toDOMNode(n,n);t.latestElement=Dn.findDocumentOrShadowRoot(n).activeElement,E5&&e.target!==r?r.focus():E$.set(n,!0)},click:function(e,t,n){if(!n.getConfig().readOnly&&Cd(n,e.target)&&EJ(e.target)){var r=Dn.toSlateNode(n,e.target),o=Dn.findPath(n,r);if(ly.hasPath(n,o)&&lD.get(n,o)===r){var i=ly.start(n,o),a=ly.end(n,o),u=ly.void(n,{at:i}),s=ly.void(n,{at:a});if(u&&s&&lO.equals(u[1],s[1])){var l=ly.range(n,i);l6.select(n,l)}}}},compositionstart:function(e,t,n){if(Cc(n,e.target)){var r,o=n.selection;if(o&&lj.isExpanded(o)&&(ly.deleteFragment(n),Promise.resolve().then(function(){Cp(t,n,!0)})),o&&lj.isCollapsed(o)){var i=Dn.toDOMRange(n,o).startContainer,a=i.textContent||"";Ch.set(n,a),Cg.set(n,i)}t.isComposing=!0,n.getConfig().placeholder&&n.isEmpty()&&t.showPlaceholder&&(null==(r=t.$placeholder)||r.hide(),t.showPlaceholder=!1)}},compositionend:function(e,t,n){if(Cc(n,e.target)){t.isComposing=!1;var r=n.selection;if(null!=r){(De||E5)&&Dn.cleanExposedTexNodeInSelectionBlock(n);for(var o=lj.isBackward(r)?r.focus:r.anchor,i=wP(ly.node(n,[o.path[0]]),1)[0],a=0;a<o.path.length;a++){var u=wP(ly.node(n,o.path.slice(0,a+1)),1)[0];if(lf.isElement(u)&&((E8||E5)&&"link"===u.type||"code"===u.type)){Dn.setNewKey(i);break}}var s=e.data;if(s){if(n.getConfig().maxLength){var l=Dn.getLeftLengthOfMaxLength(n);l<s.length?(Dn.toDOMRange(n,r).startContainer.textContent=Ch.get(n)||"",l>0&&ly.insertText(n,s.slice(0,l)),t.changeViewState()):ly.insertText(n,s)}else ly.insertText(n,s);E8||setTimeout(function(){var e=n.selection;if(null!=e){var t=Cg.get(n);null!=t&&Dn.toDOMRange(n,e).startContainer!==t&&(t.textContent=Ch.get(n)||"")}})}}}},compositionupdate:function(e,t,n){Cc(n,e.target)&&(t.isComposing=!0)},keydown:function(e,t,n){var r=n.selection;if(!n.getConfig().readOnly&&!t.isComposing&&Cc(n,e.target)){if(function(e,t){var n=ES.get(e),r=n&&n.getMenus(),o=EC.get(e),i=o&&o.getMenus(),a=wF(wF({},r),i);for(var u in a){var s=a[u],l=s.hotkey;if(l&&pe(l,t)&&!s.isDisabled(e)){var c=s.getValue(e);s.exec(e,c)}}}(n,e),Cw.isTab(e))return CE(e),void n.handleTab();if(Cw.isRedo(e))return CE(e),void("function"==typeof n.redo&&n.redo());if(Cw.isUndo(e))return CE(e),void("function"==typeof n.undo&&n.undo());if(Cw.isMoveLineBackward(e))return CE(e),void l6.move(n,{unit:"line",reverse:!0});if(Cw.isMoveLineForward(e))return CE(e),void l6.move(n,{unit:"line"});if(Cw.isExtendLineBackward(e))return CE(e),void l6.move(n,{unit:"line",edge:"focus",reverse:!0});if(Cw.isExtendLineForward(e))return CE(e),void l6.move(n,{unit:"line",edge:"focus"});if(Cw.isMoveBackward(e))return CE(e),void(r&&lj.isCollapsed(r)?l6.move(n,{reverse:!0}):l6.collapse(n,{edge:"start"}));if(Cw.isMoveForward(e))return CE(e),void(r&&lj.isCollapsed(r)?l6.move(n):l6.collapse(n,{edge:"end"}));if(Cw.isMoveWordBackward(e))return CE(e),r&&lj.isExpanded(r)&&l6.collapse(n,{edge:"focus"}),void l6.move(n,{unit:"word",reverse:!0});if(Cw.isMoveWordForward(e))return CE(e),r&&lj.isExpanded(r)&&l6.collapse(n,{edge:"focus"}),void l6.move(n,{unit:"word"});if(Cw.isSelectAll(e))return CE(e),void n.selectAll();if(Dt){if((De||E8)&&r&&(Cw.isDeleteBackward(e)||Cw.isDeleteForward(e))&&lj.isCollapsed(r)){var o=lD.parent(n,r.anchor.path);if(lf.isElement(o)&&ly.isVoid(n,o)&&ly.isInline(n,o))return e.preventDefault(),void l6.delete(n,{unit:"block"})}}else{if(Cw.isBold(e)||Cw.isItalic(e)||Cw.isTransposeCharacter(e))return void CE(e);if(Cw.isSplitBlock(e))return CE(e),void ly.insertBreak(n);if(Cw.isDeleteBackward(e))return CE(e),void(r&&lj.isExpanded(r)?ly.deleteFragment(n,{direction:"backward"}):ly.deleteBackward(n));if(Cw.isDeleteForward(e))return CE(e),void(r&&lj.isExpanded(r)?ly.deleteFragment(n,{direction:"forward"}):ly.deleteForward(n));if(Cw.isDeleteLineBackward(e))return CE(e),void(r&&lj.isExpanded(r)?ly.deleteFragment(n,{direction:"backward"}):ly.deleteBackward(n,{unit:"line"}));if(Cw.isDeleteLineForward(e))return CE(e),void(r&&lj.isExpanded(r)?ly.deleteFragment(n,{direction:"forward"}):ly.deleteForward(n,{unit:"line"}));if(Cw.isDeleteWordBackward(e))return CE(e),void(r&&lj.isExpanded(r)?ly.deleteFragment(n,{direction:"backward"}):ly.deleteBackward(n,{unit:"word"}));if(Cw.isDeleteWordForward(e))return CE(e),void(r&&lj.isExpanded(r)?ly.deleteFragment(n,{direction:"forward"}):ly.deleteForward(n,{unit:"word"}))}}},keypress:function(e,t,n){if(!Dt&&!n.getConfig().readOnly&&Cc(n,e.target)){e.preventDefault();var r=e.key;ly.insertText(n,r)}},copy:function(e,t,n){if(Cc(n,e.target)){e.preventDefault();var r=e.clipboardData;null!=r&&n.setFragmentData(r)}},cut:function(e,t,n){var r=n.selection;if(!n.getConfig().readOnly&&Cc(n,e.target)){e.preventDefault();var o=e.clipboardData;if(null!=o&&(n.setFragmentData(o),r))if(lj.isExpanded(r))ly.deleteFragment(n);else{var i=lD.parent(n,r.anchor.path);ly.isVoid(n,i)&&l6.delete(n)}}},paste:function(e,t,n){if(EV.set(n,!0),!n.getConfig().readOnly&&Cc(n,e.target)){var r=n.getConfig().customPaste;if(r&&!1===r(n,e))return void EV.set(n,!1);if(!Dt||e.clipboardData&&""!==e.clipboardData.getData("text/plain")&&1===e.clipboardData.types.length){e.preventDefault();var o=e.clipboardData;null!=o&&n.insertData(o)}}},dragover:function(e,t,n){if(Cd(n,e.target)){var r=Dn.toSlateNode(n,e.target);ly.isVoid(n,r)&&e.preventDefault()}},dragstart:function(e,t,n){if(Cd(n,e.target)&&!n.getConfig().readOnly){var r=Dn.toSlateNode(n,e.target),o=Dn.findPath(n,r);if(ly.isVoid(n,r)||ly.void(n,{at:o,voids:!0})){var i=ly.range(n,o);l6.select(n,i)}var a=e.dataTransfer;null!=a&&(t.isDraggingInternally=!0,n.setFragmentData(a))}},dragend:function(e,t,n){n.getConfig().readOnly||t.isDraggingInternally&&Cd(n,e.target)&&(t.isDraggingInternally=!1)},drop:function(e,t,n){var r=e.dataTransfer;if(!n.getConfig().readOnly&&Cd(n,e.target)&&null!=r&&!(Dt&&E8&&r.files.length>0)){e.preventDefault();var o=n.selection,i=Dn.findEventRange(n,e);l6.select(n,i),t.isDraggingInternally&&(o&&l6.delete(n,{at:o}),t.isDraggingInternally=!1),n.insertData(r),n.isFocused()||n.focus()}}},CS=1,Cx=function(){function e(e){var t=this;this.id=CS++,this.$textArea=null,this.$progressBar=c2('<div class="w-e-progress-bar"></div>'),this.$maxLengthInfo=c2('<div class="w-e-max-length-info"></div>'),this.isComposing=!1,this.isUpdatingSelection=!1,this.isDraggingInternally=!1,this.latestElement=null,this.showPlaceholder=!1,this.$placeholder=null,this.latestEditorSelection=null,this.onDOMSelectionChange=f4(function(){var e=t.editorInstance;!function(e,t){var n=e.isComposing,r=e.isUpdatingSelection,o=e.isDraggingInternally;if(!(t.getConfig().readOnly||n||r||o)){var i=Dn.findDocumentOrShadowRoot(t),a=i.activeElement,u=Dn.toDOMNode(t,t),s=i.getSelection();if(a===u?(e.latestElement=a,E$.set(t,!0)):E$.delete(t),!s)return l6.deselect(t);var l=s.anchorNode,c=s.focusNode,f=Cc(t,l)||Cf(t,l),d=Cc(t,c)||Cf(t,c);if(f&&d){var p=Dn.toSlateRange(t,s,{exactMatch:!1,suppressThrow:!1});l6.select(t,p)}else l6.deselect(t)}}(t,e)},100);var n=c2(e);if(0===n.length)throw Error("Cannot find textarea DOM by selector '"+e+"'");this.$box=n;var r=c2('<div class="w-e-text-container"></div>');r.append(this.$progressBar),r.append(this.$maxLengthInfo),n.append(r);var o=c2('<div class="w-e-scroll"></div>');r.append(o),this.$scroll=o,this.$textAreaContainer=r,S$(function(){var e=t.editorInstance,n=Dn.getWindow(e);n.document.addEventListener("selectionchange",t.onDOMSelectionChange),e.on("destroyed",function(){n.document.removeEventListener("selectionchange",t.onDOMSelectionChange)}),r.on("click",function(){return e.hidePanelOrModal()}),e.on("change",t.changeViewState.bind(t));var o=e.getConfig().onChange;o&&e.on("change",function(){return o(e)}),t.onFocusAndOnBlur(),e.on("change",t.changeMaxLengthInfo.bind(t)),t.bindEvent()})}return Object.defineProperty(e.prototype,"editorInstance",{get:function(){var e=EE.get(this);if(null==e)throw Error("Can not get editor instance");return e},enumerable:!1,configurable:!0}),e.prototype.bindEvent=function(){var e=this,t=this.$textArea,n=this.$scroll,r=this.editorInstance;null!=t&&(f$(CD,function(n,o){t.on(o,function(t){n(t,e,r)})}),r.getConfig().scroll&&(n.css("overflow-y","auto"),n.on("scroll",f4(function(){r.emit("scroll")},100))))},e.prototype.onFocusAndOnBlur=function(){var e=this,t=this.editorInstance,n=t.getConfig(),r=n.onBlur,o=n.onFocus;this.latestEditorSelection=t.selection,t.on("change",function(){null==e.latestEditorSelection&&null!=t.selection?setTimeout(function(){return o&&o(t)}):null!=e.latestEditorSelection&&null==t.selection&&setTimeout(function(){return r&&r(t)}),e.latestEditorSelection=t.selection})},e.prototype.changeMaxLengthInfo=function(){var e=this.editorInstance,t=e.getConfig().maxLength;if(t){var n=t-Dn.getLeftLengthOfMaxLength(e);this.$maxLengthInfo[0].innerHTML=n+"/"+t}},e.prototype.changeProgress=function(e){var t=this.$progressBar;t.css("width",e+"%"),e>=100&&setTimeout(function(){t.hide(),t.css("width","0"),t.show()},1e3)},e.prototype.changeViewState=function(){var e=this,t=this.editorInstance;(function(e,t){var n,r,o=e.$scroll,i="w-e-textarea-"+e.id,a=t.getConfig(),u=a.readOnly,s=a.autoFocus,l=(void 0===(n=u)&&(n=!1),dr("div#"+i,{props:{contentEditable:!n}}));l.children=(t.children||[]).map(function(e,n){var r=function e(t,n,r,o){return EP.set(t,n),Ej.set(t,r),lf.isElement(t)?function(t,n){var r,o,i,a=Dn.findKey(n,t),u=n.isInline(t),s=ly.isVoid(n,t),l=SH(a.id),c={id:l,key:a.id,"data-slate-node":"element","data-slate-inline":u},f=t.type,d=t.children,p=Ce[f]||Ct;i=s?null:(void 0===d?[]:d).map(function(r,o){return e(r,o,t,n)});var h=p(t,i,n);if(s){c["data-slate-void"]=!0;var g=u?"span":"div",v=wP(lD.texts(t),1),y=wP(v[0],1)[0],m=dw(g,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},e(y,0,t,n));h=dw(g,{style:{position:"relative"}},h,m),EP.set(y,0),Ej.set(y,t)}return null==h.data&&(h.data={}),Object.assign(h.data,c),s||u||(o=r=h,x9.forEach(function(e){o=e(t,r)}),h=o),S$(function(){var e=E1(l);null!=e&&(ER.set(a,e),EL.set(t,e),EN.set(e,t))}),h}(t,o):function(e,t,n){if(null==e.text)throw Error("Current node is not slate Text "+JSON.stringify(e));var r=Dn.findKey(n,e),o=n.getConfig().decorate;if(null==o)throw Error("Can not get config.decorate");var i=Dn.findPath(n,e),a=o([e,i]),u=l$.decorations(e,a),s=u.map(function(r,o){var i,a=function(e,t,n,r,o){void 0===t&&(t=!1);var i=e.text,a=Dn.findPath(o,n),u=lO.parent(a);if(ly.isEditor(r))throw Error("Text node "+JSON.stringify(n)+" parent is Editor");return o.isVoid(r)?Cr(lD.string(r).length):""!==i||r.children[r.children.length-1]!==n||o.isInline(r)||""!==ly.string(o,u)?""===i?Cr():t&&"\n"===i.slice(-1)?Cn(i,!0):Cn(i):Cr(0,!0)}(r,o===u.length-1,e,t,n);return i=a,x9.forEach(function(e){i=e(r,i)}),dw("span",{"data-slate-leaf":!0},a=i)}),l="w-e-text-"+r.id,c=dw("span",{"data-slate-node":"text",id:l,key:r.id},s);return S$(function(){var t=E1(l);null!=t&&(ER.set(r,t),EL.set(e,t),EN.set(t,e))}),c}(t,r,o)}(e,n,t,t);return function e(t){var n=t.data,r=void 0===n?{}:n,o=t.children,i=void 0===o?[]:o;Object.keys(r).forEach(function(e){var n,o,i=r[e];if("key"!==e){if(!x7.includes(e)){if(e.startsWith("data-")){var a,u,s,l=e.slice(5);return l=d4(l),(n={})[l]=i,u=n,null==t.data&&(t.data={}),null==(s=t.data).dataset&&(s.dataset={}),Object.assign(s.dataset,u),void delete r[e]}(o={})[e]=i,null==t.data&&(t.data={}),null==(a=t.data).props&&(a.props={}),Object.assign(a.props,o),delete r[e]}}else t.key=i}),i.length>0&&i.forEach(function(t){"string"!=typeof t&&e(t)})}(r),r});var c=EB.get(e);if(null==c&&(c=!0),c){var f=c2('<div\n id="'+i+'"\n data-slate-editor\n data-slate-node="value"\n suppressContentEditableWarning\n role="textarea"\n spellCheck="true"\n autoCorrect="true"\n autoCapitalize="true"\n ></div>');o.append(f),e.$textArea=f,r=f[0],(p=function(e,t){let n={create:[],update:[],remove:[],destroy:[],pre:[],post:[]};for(let t of dn)for(let r of e){let e=r[t];void 0!==e&&n[t].push(e)}function r(e,t){var o,i;let a,u=e.data;if(void 0!==u){let t=null==(o=u.hook)?void 0:o.init;f9(t)&&(t(e),u=e.data)}let s=e.children,l=e.sel;if("!"===l)f7(e.text)&&(e.text=""),e.elm=f3.createComment(e.text);else if(void 0!==l){let o=l.indexOf("#"),c=l.indexOf(".",o),f=o>0?o:l.length,d=c>0?c:l.length,p=-1!==o||-1!==c?l.slice(0,Math.min(f,d)):l,h=e.elm=f9(u)&&f9(a=u.ns)?f3.createElementNS(a,p,u):f3.createElement(p,u);for(f<d&&h.setAttribute("id",l.slice(f+1,d)),c>0&&h.setAttribute("class",l.slice(d+1).replace(/\./g," ")),a=0;a<n.create.length;++a)n.create[a](de,e);if(f5(s))for(a=0;a<s.length;++a){let e=s[a];null!=e&&f3.appendChild(h,r(e,t))}else f8(e.text)&&f3.appendChild(h,f3.createTextNode(e.text));let g=e.data.hook;f9(g)&&(null==(i=g.create)||i.call(g,de,e),g.insert&&t.push(e))}else e.elm=f3.createTextNode(e.text);return e.elm}function o(e,t,n,o,i,a){for(;o<=i;++o){let i=n[o];null!=i&&f3.insertBefore(e,r(i,a),t)}}function i(e,t,r,o){for(var i,a;r<=o;++r){let o,u,s=t[r];if(null!=s)if(f9(s.sel)){(function e(t){var r,o;let i=t.data;if(void 0!==i){null==(o=null==(r=null==i?void 0:i.hook)?void 0:r.destroy)||o.call(r,t);for(let e=0;e<n.destroy.length;++e)n.destroy[e](t);if(void 0!==t.children)for(let n=0;n<t.children.length;++n){let r=t.children[n];null!=r&&"string"!=typeof r&&e(r)}}})(s),o=n.remove.length+1,u=function(e,t){return function(){if(0==--t){let t=f3.parentNode(e);f3.removeChild(t,e)}}}(s.elm,o);for(let e=0;e<n.remove.length;++e)n.remove[e](s,u);let e=null==(a=null==(i=null==s?void 0:s.data)?void 0:i.hook)?void 0:a.remove;f9(e)?e(s,u):u()}else f3.removeChild(e,s.elm)}}return function(e,t){let a,u,s,l=[];for(a=0;a<n.pre.length;++a)n.pre[a]();for(void 0!==e.sel||(e=function(e){let t=e.id?"#"+e.id:"",n=e.getAttribute("class"),r=n?"."+n.split(" ").join("."):"";return f6(f3.tagName(e).toLowerCase()+t+r,{},[],void 0,e)}(e)),dt(e,t)?function e(t,a,u){var s,l,c,f,d;let p=null==(s=a.data)?void 0:s.hook;null==(l=null==p?void 0:p.prepatch)||l.call(p,t,a);let h=a.elm=t.elm,g=t.children,v=a.children;if(t!==a){if(void 0!==a.data){for(let e=0;e<n.update.length;++e)n.update[e](t,a);null==(f=null==(c=a.data.hook)?void 0:c.update)||f.call(c,t,a)}f7(a.text)?f9(g)&&f9(v)?g!==v&&function(t,n,a,u){let s,l,c,f=0,d=0,p=n.length-1,h=n[0],g=n[p],v=a.length-1,y=a[0],m=a[v];for(;f<=p&&d<=v;)null==h?h=n[++f]:null==g?g=n[--p]:null==y?y=a[++d]:null==m?m=a[--v]:dt(h,y)?(e(h,y,u),h=n[++f],y=a[++d]):dt(g,m)?(e(g,m,u),g=n[--p],m=a[--v]):dt(h,m)?(e(h,m,u),f3.insertBefore(t,h.elm,f3.nextSibling(g.elm)),h=n[++f],m=a[--v]):(dt(g,y)?(e(g,y,u),f3.insertBefore(t,g.elm,h.elm),g=n[--p]):(void 0===s&&(s=function(e,t,n){var r;let o={};for(let i=t;i<=n;++i){let t=null==(r=e[i])?void 0:r.key;void 0!==t&&(o[t]=i)}return o}(n,f,p)),f7(l=s[y.key])||(c=n[l]).sel!==y.sel?f3.insertBefore(t,r(y,u),h.elm):(e(c,y,u),n[l]=void 0,f3.insertBefore(t,c.elm,h.elm))),y=a[++d]);(f<=p||d<=v)&&(f>p?o(t,null==a[v+1]?null:a[v+1].elm,a,d,v,u):i(t,n,f,p))}(h,g,v,u):f9(v)?(f9(t.text)&&f3.setTextContent(h,""),o(h,null,v,0,v.length-1,u)):f9(g)?i(h,g,0,g.length-1):f9(t.text)&&f3.setTextContent(h,""):t.text!==a.text&&(f9(g)&&i(h,g,0,g.length-1),f3.setTextContent(h,a.text)),null==(d=null==p?void 0:p.postpatch)||d.call(p,t,a)}}(e,t,l):(u=e.elm,s=f3.parentNode(u),r(t,l),null!==s&&(f3.insertBefore(s,t.elm,f3.nextSibling(u)),i(s,[e],0,0))),a=0;a<l.length;++a)l[a].data.hook.insert(l[a]);for(a=0;a<n.post.length;++a)n.post[a]();return t}}([ds,dg,db,df,dp,da]))(r,l),EB.set(e,!1),EF.set(e,p)}else{var d=E_.get(e),p=EF.get(e);if(null==d||null==p)return;r=d.elm,p(d,l)}if(null!=r||null!=(r=E1(i))){if((c?s:t.isFocused())&&r.focus({preventScroll:!0}),c){var h=EX(r);h&&Ez.set(t,h)}EI.set(t,r),EL.set(t,r),EN.set(r,t),E_.set(e,l)}})(this,t),function(e,t){var n,r=t.getConfig().placeholder;if(r){var o=t.isEmpty();if(o&&!e.showPlaceholder&&!e.isComposing){if(null==e.$placeholder){var i=c2('<div class="w-e-text-placeholder">'+r+"</div>");e.$textAreaContainer.append(i),e.$placeholder=i}return e.$placeholder.show(),e.showPlaceholder=!0}!o&&e.showPlaceholder&&(null==(n=e.$placeholder)||n.hide(),e.showPlaceholder=!1)}}(this,t),S$(function(){Cp(e,t)})},e.prototype.destroy=function(){this.$textAreaContainer.remove()},e}();function CC(e){e.removeAttr("width"),e.removeAttr("height"),e.removeAttr("fill"),e.removeAttr("class"),e.removeAttr("t"),e.removeAttr("p-id");var t=e.children();t.length&&CC(t)}function CO(){return c2('<svg viewBox="0 0 1024 1024"><path d="M498.7 655.8l-197.6-268c-8.1-10.9-0.3-26.4 13.3-26.4h395.2c13.6 0 21.4 15.4 13.3 26.4l-197.6 268c-6.6 9-20 9-26.6 0z"></path></svg>')}function CA(){return c2('<div class="w-e-bar-divider"></div>')}function Ck(e,t,n,r,o){if(void 0===o&&(o=!1),t)if(r&&(r=r.replace("mod",E6?"cmd":"ctrl")),o)r&&(e.attr("data-tooltip",r),e.addClass("w-e-menu-tooltip-v5"),e.addClass("tooltip-right"));else{var i=r?n+"\n"+r:n;e.attr("data-tooltip",i),e.addClass("w-e-menu-tooltip-v5")}}ws("match",function(e,t,n){return[function(t){var n=gQ(this),r=null==t?void 0:vj(t,e);return r?vO(r,t,n):new RegExp(t)[e](mw(n))},function(e){var r=vx(this),o=mw(e),i=n(t,r,o);if(i.done)return i.value;if(!r.global)return wb(r,o);var a=r.unicode;r.lastIndex=0;for(var u,s=[],l=0;null!==(u=wb(r,o));){var c=mw(u[0]);s[l]=c,""===c&&(r.lastIndex=wc(o,yO(r.lastIndex),a)),l++}return 0===l?null:s}]});var CT=function(){function e(e,t,n){var r=this;void 0===n&&(n=!1),this.$elem=c2('<div class="w-e-bar-item"></div>'),this.$button=c2('<button type="button"></button>'),this.disabled=!1,this.menu=t;var o=t.tag,i=t.width;if("button"!==o)throw Error("Invalid tag '"+o+"', expected 'button'");var a=t.title,u=t.hotkey,s=t.iconSvg,l=void 0===s?"":s,c=this.$button;if(l){var f=c2(l);CC(f),c.append(f)}else c.text(a);Ck(c,l,a,void 0===u?"":u,n),n&&l&&c.append(c2('<span class="title">'+a+"</span>")),i&&c.css("width",i+"px"),c.attr("data-menu-key",e),this.$elem.append(c),S$(function(){return r.init()})}return e.prototype.init=function(){var e=this;this.setActive(),this.setDisabled(),this.$button.on("click",function(t){t.preventDefault(),CH(e).hidePanelOrModal(),e.disabled||(e.exec(),e.onButtonClick())})},e.prototype.exec=function(){var e=CH(this),t=this.menu,n=t.getValue(e);t.exec(e,n)},e.prototype.setActive=function(){var e=CH(this),t=this.$button,n="active";this.menu.isActive(e)?t.addClass(n):t.removeClass(n)},e.prototype.setDisabled=function(){var e=CH(this),t=this.$button,n=this.menu.isDisabled(e);(null==e.selection||e.isDisabled())&&(n=!0),this.menu.alwaysEnable&&(n=!1);var r="disabled";n?t.addClass(r):t.removeClass(r),this.disabled=n},e.prototype.changeMenuState=function(){this.setActive(),this.setDisabled()},e}(),CB=function(e){function t(t,n,r){return void 0===r&&(r=!1),e.call(this,t,n,r)||this}return wB(t,e),t.prototype.onButtonClick=function(){},t}(CT),CF=function(){function e(e){this.isShow=!1,this.showTime=0,this.record(e)}return e.prototype.record=function(e){var t=EA.get(e);null==t&&(t=new Set,EA.set(e,t)),t.add(this),Ek.set(this,e)},e.prototype.renderContent=function(e){var t=this.$elem;t.empty(),t.append(e);var n=this.genSelfElem();n&&t.append(n)},e.prototype.appendTo=function(e){var t=this.$elem;e.append(t)},e.prototype.show=function(){if(!this.isShow){this.showTime=Date.now(),this.$elem.show(),this.isShow=!0;var e=Ek.get(this);e&&e.emit("modalOrPanelShow",this)}},e.prototype.hide=function(){if(this.isShow&&!(Date.now()-this.showTime<200)){this.$elem.hide(),this.isShow=!1;var e=Ek.get(this);e&&e.emit("modalOrPanelHide")}},e}(),C_=function(e){function t(t){var n=e.call(this,t)||this;return n.type="dropPanel",n.$elem=c2('<div class="w-e-drop-panel"></div>'),n}return wB(t,e),t.prototype.genSelfElem=function(){return null},t}(CF),CP=function(e){function t(t,n,r){void 0===r&&(r=!1);var o=e.call(this,t,n,r)||this;if(o.dropPanel=null,o.menu=n,n.showDropPanel){var i=CO();o.$button.append(i)}return o}return wB(t,e),t.prototype.onButtonClick=function(){this.menu.showDropPanel&&this.handleDropPanel()},t.prototype.handleDropPanel=function(){var e=this.menu;if(null!=e.getPanelContentElem){var t=CH(this);if(null==this.dropPanel){var n=new C_(t),r=e.getPanelContentElem(t);n.renderContent(r),n.appendTo(this.$elem),n.show(),this.dropPanel=n}else{var o=this.dropPanel;o.isShow?o.hide():(r=e.getPanelContentElem(t),o.renderContent(r),o.show())}var i=this.dropPanel;if(i.isShow){var a=this.$elem,u=a.offset().left,s=a.parents(".w-e-bar");u-s.offset().left>=s.width()/2?i.$elem.css({left:"none",right:"0"}):i.$elem.css({left:"0",right:"none"})}}},t}(CT),Cj=function(e){function t(t,n){void 0===n&&(n=0);var r=e.call(this,t)||this;r.type="modal",r.$elem=c2('<div class="w-e-modal"></div>'),r.width=0,n&&(r.width=n);var o=r.$elem;return o.on("click",function(e){return e.stopPropagation()}),o.on("keyup",function(e){"Escape"===e.code&&(r.hide(),t.restoreSelection())}),r}return wB(t,e),t.prototype.genSelfElem=function(){var e=this,t=c2('<span class="btn-close"><svg viewBox="0 0 1024 1024"><path d="M1024 896.1024l-128 128L512 640 128 1024 0 896 384 512 0 128 128 0 512 384 896.1024 0l128 128L640 512z"></path></svg></span>'),n=Ek.get(this);return t.on("click",function(){e.hide(),null==n||n.restoreSelection()}),t},t.prototype.setStyle=function(e){var t=this.width,n=this.$elem;n.attr("style",""),t&&n.css("width",t+"px"),n.css(e)},t}(CF);function CI(e,t,n){var r=c2('<label class="babel-container"></label>');r.append("<span>"+e+"</span>");var o=c2('<input type="text" id="'+t+'" placeholder="'+(n||"")+'">');return r.append(o),[r[0],o[0]]}function CN(e,t){var n=c2('<div class="button-container"></div>'),r=c2('<button type="button" id="'+e+'">'+t+"</button>");return n.append(r),[n[0],r[0]]}var CR=function(e){function t(t,n,r){void 0===r&&(r=!1);var o=e.call(this,t,n,r)||this;return o.$body=c2("body"),o.modal=null,o.menu=n,o}return wB(t,e),t.prototype.onButtonClick=function(){this.menu.showModal&&this.handleModal()},t.prototype.getPosition=function(){var e=CH(this),t=this.menu.getModalPositionNode(e);return lf.isElement(t)?xG(e,t,"modal"):xq(e)},t.prototype.handleModal=function(){var e=CH(this),t=this.menu;if(null==this.modal){var n=new Cj(e,t.modalWidth);this.renderAndShowModal(n,!0),this.modal=n}else(n=this.modal).isShow?n.hide():this.renderAndShowModal(n,!1)},t.prototype.renderAndShowModal=function(e,t){void 0===t&&(t=!1);var n=CH(this),r=this.menu;if(null!=r.getModalContentElem){var o=Dn.getTextarea(n),i=Dn.getToolbar(n),a=((null==i?void 0:i.getConfig())||{}).modalAppendToBody,u=r.getModalContentElem(n);if(e.renderContent(u),a)e.setStyle({left:"0",right:"0"});else{var s=this.getPosition();e.setStyle(s)}t&&(a?e.appendTo(this.$body):e.appendTo(o.$textAreaContainer)),e.show(),a||xK(n,e.$elem),setTimeout(function(){n.blur()})}},t}(CT),CL=function(e){function t(t,n){var r=e.call(this,t)||this;return r.type="selectList",r.$elem=c2('<div class="w-e-select-list"></div>'),n&&r.$elem.css("width",n+"px"),r.$elem.on("click",function(e){e.stopPropagation()}),r}return wB(t,e),t.prototype.renderList=function(e){var t=this.$elem;t.empty();var n=c2("<ul></ul>");e.forEach(function(e){var t=e.value,r=e.text,o=e.selected,i=e.styleForRenderMenuList,a=c2('<li data-value="'+t+'"></li>');if(i&&a.css(i),o){var u=c2('<svg viewBox="0 0 1446 1024"><path d="M574.116299 786.736392 1238.811249 48.517862C1272.390222 11.224635 1329.414799 7.827718 1366.75664 41.450462 1403.840015 74.840484 1406.731043 132.084741 1373.10189 169.433699L655.118888 966.834607C653.072421 969.716875 650.835807 972.514337 648.407938 975.210759 615.017957 1012.29409 558.292155 1015.652019 521.195664 982.250188L72.778218 578.493306C35.910826 545.297758 32.859041 488.584019 66.481825 451.242134 99.871807 414.158803 156.597563 410.800834 193.694055 444.202665L574.116299 786.736392Z"></path></svg>');a.append(u),a.addClass("selected")}a.append(c2('<span data-value="'+t+'">'+r+"</span>")),a.attr("title",r),n.append(a)}),t.append(n)},t.prototype.genSelfElem=function(){return null},t}(CF),CM=function(){function e(e,t,n){var r=this;void 0===n&&(n=!1),this.$elem=c2('<div class="w-e-bar-item"></div>'),this.$button=c2('<button type="button" class="select-button"></button>'),this.disabled=!1,this.selectList=null;var o=t.tag,i=t.title,a=t.width,u=t.iconSvg,s=t.hotkey;if("select"!==o)throw Error("Invalid tag '"+o+"', expected 'select'");var l=this.$button;a&&l.css("width",a+"px"),l.attr("data-menu-key",e),Ck(l,void 0===u?"":u,i,void 0===s?"":s,n),this.$elem.append(l),this.menu=t,S$(function(){return r.init()})}return e.prototype.init=function(){var e=this;this.setSelectedValue(),this.$button.on("click",function(t){t.preventDefault(),CH(e).hidePanelOrModal(),e.trigger()})},e.prototype.trigger=function(){var e=this,t=CH(this);if(!t.isDisabled()&&!this.disabled){var n=this.menu;if(null==this.selectList){this.selectList=new CL(t,n.selectPanelWidth);var r=this.selectList,o=n.getOptions(t);r.renderList(o),r.appendTo(this.$elem),r.show(),r.$elem.on("click","li",function(t){var n=t.target;if(null!=n){t.preventDefault();var r=c2(n).attr("data-value");e.onChange(r)}})}else(r=this.selectList).isShow?r.hide():(o=n.getOptions(t),r.renderList(o),r.show())}},e.prototype.onChange=function(e){var t=CH(this),n=this.menu;n.exec&&n.exec(t,e)},e.prototype.setSelectedValue=function(){var e=CH(this),t=this.menu,n=t.getValue(e),r=function(e,t){for(var n=e.length,r="",o=0;o<n;o++){var i=e[o];if(i.value===t){r=i.text;break}}return r}(t.getOptions(e),n.toString()),o=this.$button,i=CO();o.empty(),o.text(r),o.append(i)},e.prototype.setDisabled=function(){var e=CH(this),t=this.menu.isDisabled(e),n=this.$button;(null==e.selection||e.isDisabled())&&(t=!0);var r="disabled";t?n.addClass(r):n.removeClass(r),this.disabled=t},e.prototype.changeMenuState=function(){this.setSelectedValue(),this.setDisabled()},e}(),Cz=function(){function e(e){this.$elem=c2('<div class="w-e-bar-item w-e-bar-item-group"></div>'),this.$container=c2('<div class="w-e-bar-item-menus-container"></div>'),this.$button=c2('<button type="button"></button>');var t=e.key,n=e.iconSvg,r=e.title,o=this.$elem,i=this.$button;if(n){var a=c2(n);CC(a),i.append(a)}else i.text(r);i.attr("data-menu-key",t);var u=CO();i.append(u),o.append(i);var s=this.$container;o.append(s);var l=this.createObserver();this.observe(l)}return e.prototype.appendBarItem=function(e){var t=e.$elem;this.$container.append(t)},e.prototype.observe=function(e){var t=this.$container;e.observe(t[0],{childList:!0,subtree:!0,attributes:!0})},e.prototype.createObserver=function(){var e=this,t=this.$container,n=this.$button,r=new MutationObserver(function(){var o=t.find("button"),i=o.length;if(0!==i){var a=0;o.each(function(e){c2(e).hasClass("disabled")&&a++}),r.disconnect(),a===i?n.addClass("disabled"):n.removeClass("disabled"),e.observe(r)}});return r},e}(),C$=new WeakMap;function CH(e){var t=EO.get(e);if(null==t)throw Error("Can not get editor instance");return t}function CU(e,t,n){void 0===n&&(n=!1);var r=C$.get(t);if(r)return r;var o=t.tag;if("button"===o){var i=t.showDropPanel,a=t.showModal;r=i?new CP(e,t,n):a?new CR(e,t,n):new CB(e,t,n)}if("select"===o&&(r=new CM(e,t,n)),null==r)throw Error("Invalid tag in menu "+JSON.stringify(t));return C$.set(t,r),r}function CV(e,t){var n=e.selection;return null!=n&&!lj.isCollapsed(n)&&!Dn.getSelectedElems(e).some(function(t){return!!e.isVoid(t)||!!["pre","code","table"].includes(t.type)||void 0})&&!!l$.isText(t)}var CW=function(){function e(){var e=this;this.$elem=c2('<div class="w-e-bar w-e-bar-hidden w-e-hover-bar"></div>'),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null,this.isShow=!1,this.changeHoverbarState=pm(function(){var t=e.isShow,n=e.getSelectedNodeAndMenuKeys()||{},r=n.node,o=void 0===r?null:r,i=n.menuKeys;null!=o&&e.changeItemsState(),o&&lf.isElement(o)&&t&&e.isSamePath(o,e.prevSelectedNode)||(e.hideAndClean(),null!=o&&(e.registerItems(void 0===i?[]:i),e.setPosition(o),e.show()),e.prevSelectedNode=o)},200),S$(function(){var t=e.getEditorInstance(),n=e.$elem;n.on("mousedown",function(e){return e.preventDefault()},{passive:!1}),Dn.getTextarea(t).$textAreaContainer.append(n),t.on("change",e.changeHoverbarState);var r=e.hideAndClean.bind(e);t.on("scroll",r),t.on("fullScreen",r),t.on("unFullScreen",r)})}return e.prototype.getMenus=function(){return this.menus},e.prototype.hideAndClean=function(){var e=this.$elem;e.removeClass("w-e-bar-show").addClass("w-e-bar-hidden"),this.hoverbarItems=[],e.empty(),this.isShow=!1},e.prototype.checkPositionBottom=function(){var e=this.$elem,t=!1,n=window.innerHeight;n&&n>=360&&n-e[0].getBoundingClientRect().bottom<360&&(t=!0),t?e.addClass("w-e-bar-bottom"):e.removeClass("w-e-bar-bottom")},e.prototype.show=function(){this.$elem.removeClass("w-e-bar-hidden").addClass("w-e-bar-show"),this.isShow=!0,this.checkPositionBottom()},e.prototype.changeItemsState=function(){var e=this;S$(function(){e.hoverbarItems.forEach(function(e){e.changeMenuState()})})},e.prototype.registerItems=function(e){var t=this,n=this.$elem;e.forEach(function(e){if("|"!==e)t.registerSingleItem(e);else{var r=CA();n.append(r)}})},e.prototype.registerSingleItem=function(e){var t=this.getEditorInstance(),n=this.menus,r=n[e];if(null==r){var o=Di[e];if(null==o)throw Error("Not found menu item factory by key '"+e+"'");if("function"!=typeof o)throw Error("Menu item factory (key='"+e+"') is not a function");r=o(),n[e]=r}var i=CU(e,r);this.hoverbarItems.push(i),EO.set(i,t),this.$elem.append(i.$elem)},e.prototype.setPosition=function(e){var t=this.getEditorInstance(),n=this.$elem;if(n.attr("style",""),lf.isElement(e)){var r=xG(t,e,"bar");return n.css(r),void xK(t,n)}if(l$.isText(e))return r=xq(t),n.css(r),void xK(t,n);throw Error("hoverbar.setPosition error, current selected node is not elem nor text")},e.prototype.getSelectedNodeAndMenuKeys=function(){var e=this.getEditorInstance();if(null==e.selection)return null;var t=this.getHoverbarKeysConf(),n=null,r=[],o=function(o){var i=t[o],a=i.match,u=i.menuKeys,s=a||function(e,t){return Dn.checkNodeType(t,o)},l=wP(ly.nodes(e,{match:function(t){return s(e,t)},universal:!0}),1)[0];if(null!=l)return n=l[0],r=void 0===u?[]:u,"break"};for(var i in t)if("break"===o(i))break;return null==n||0===r.length?null:{node:n,menuKeys:r}},e.prototype.getEditorInstance=function(){var e=Ex.get(this);if(null==e)throw Error("Can not get editor instance");return e},e.prototype.getHoverbarKeysConf=function(){var e=this.getEditorInstance().getConfig().hoverbarKeys,t=void 0===e?{}:e,n=t.text;return n&&null==n.match&&(n.match=CV),t},e.prototype.isSamePath=function(e,t){if(null==e||null==t)return!1;var n=Dn.findPath(null,e),r=Dn.findPath(null,t);return lO.equals(n,r)},e.prototype.destroy=function(){this.changeHoverbarState.cancel(),this.$elem.remove(),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null},e}(),Cq=bV("splice"),CG=gH.TypeError,CK=Math.max,CZ=Math.min;md({target:"Array",proto:!0,forced:!Cq},{splice:function(e,t){var n,r,o,i,a,u,s=g1(this),l=yA(s),c=y2(e,l),f=arguments.length;if(0===f?n=r=0:1===f?(n=0,r=l-c):(n=f-2,r=CZ(CK(yx(t),0),l-c)),l+n-r>0x1fffffffffffff)throw CG("Maximum allowed length exceeded");for(o=yM(s,r),i=0;i<r;i++)(a=c+i)in s&&m2(o,i,s[a]);if(o.length=r,n<r){for(i=c;i<l-r;i++)u=i+n,(a=i+r)in s?s[u]=s[a]:delete s[u];for(i=l;i>l-r+n;i--)delete s[i-1]}else if(n>r)for(i=l-r;i>c;i--)u=i+n-1,(a=i+r-1)in s?s[u]=s[a]:delete s[u];for(i=0;i<n;i++)s[i+c]=arguments[i+2];return s.length=l-r+n,o}});var CX=function(){function e(e,t){var n=this;this.$toolbar=c2('<div class="w-e-bar w-e-bar-show w-e-toolbar"></div>'),this.menus={},this.toolbarItems=[],this.config={},this.changeToolbarState=pm(function(){n.toolbarItems.forEach(function(e){e.changeMenuState()})},200),this.config=t;var r=c2(e);if(0===r.length)throw Error("Cannot find toolbar DOM by selector '"+e+"'");this.$box=r;var o=this.$toolbar;o.on("mousedown",function(e){return e.preventDefault()},{passive:!1}),r.append(o),S$(function(){n.registerItems(),n.changeToolbarState(),n.getEditorInstance().on("change",n.changeToolbarState)})}return e.prototype.getMenus=function(){return this.menus},e.prototype.getConfig=function(){return this.config},e.prototype.registerItems=function(){var e=this,t="",n=this.$toolbar,r=this.config,o=r.toolbarKeys,i=r.insertKeys,a=void 0===i?{index:0,keys:[]}:i,u=r.excludeKeys,s=void 0===u?[]:u,l=pb(void 0===o?[]:o);a.keys.length>0&&("string"==typeof a.keys&&(a.keys=[a.keys]),a.keys.forEach(function(e,t){l.splice(a.index+t,0,e)}));var c=l.filter(function(e){if("string"==typeof e){if(s.includes(e))return!1}else if(s.includes(e.key))return!1;return!0}),f=c.length;c.forEach(function(r,o){if("|"===r){if(0===o||o+1===f||"|"===t)return;var i=CA();return n.append(i),void(t=r)}if("string"==typeof r)return e.registerSingleItem(r,e),void(t=r);e.registerGroup(r),t="group"})},e.prototype.registerGroup=function(e){var t=this,n=this.$toolbar,r=new Cz(e),o=e.menuKeys,i=this.config.excludeKeys,a=void 0===i?[]:i;(void 0===o?[]:o).forEach(function(e){a.includes(e)||t.registerSingleItem(e,r)}),n.append(r.$elem)},e.prototype.registerSingleItem=function(e,t){var n=this.getEditorInstance(),r=t instanceof Cz,o=this.menus,i=o[e];if(null==i){var a=Di[e];if(null==a)throw Error("Not found menu item factory by key '"+e+"'");if("function"!=typeof a)throw Error("Menu item factory (key='"+e+"') is not a function");i=a(),o[e]=i}else console.warn("Duplicated toolbar menu key '"+e+"'\n重复注册了菜单栏 menu '"+e+"'");var u=CU(e,i,r);this.toolbarItems.push(u),EO.set(u,n),r?t.appendBarItem(u):t.$toolbar.append(u.$elem)},e.prototype.getEditorInstance=function(){var e=ED.get(this);if(null==e)throw Error("Can not get editor instance");return e},e.prototype.destroy=function(){this.$toolbar.remove(),this.menus={},this.toolbarItems=[]},e}(),CY=yo.EXISTS,CJ=v$.f,CQ=Function.prototype,C0=gY(CQ.toString),C1=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,C2=gY(C1.exec);function C4(e){var t,n,r,o,i,a=e.server,u=void 0===a?"":a,s=e.fieldName,l=void 0===s?"":s,c=e.maxFileSize,f=e.maxNumberOfFiles,d=e.meta,p=void 0===d?{}:d,h=e.metaWithUrl,g=e.headers,v=e.withCredentials,y=e.timeout,m=e.onBeforeUpload,b=e.onSuccess,w=void 0===b?function(e,t){}:b,E=e.onError,D=void 0===E?function(e,t,n){console.error(e.name+" upload error",t,n)}:E,S=e.onProgress,x=void 0===S?function(e){}:S;if(!u)throw Error("Cannot get upload server address\n没有配置上传地址");if(!l)throw Error("Cannot get fieldName\n没有配置 fieldName");var C=u;void 0!==h&&h&&(n=(t=wP(C.split("#"),2))[0],r=t[1],o=[],f$(p,function(e,t){o.push(t+"="+e)}),i=o.join("&"),n=n.indexOf("?")>0?n+"&"+i:n+"?"+i,C=r?n+"#"+r:n);var O=new hc({onBeforeUpload:void 0===m?function(e){return e}:m,restrictions:{maxFileSize:void 0===c?0xa00000:c,maxNumberOfFiles:void 0===f?100:f},meta:p}).use(gN,{endpoint:C,headers:void 0===g?{}:g,formData:!0,fieldName:l,bundle:!0,withCredentials:void 0!==v&&v,timeout:void 0===y?1e4:y});return O.on("upload-success",function(e,t){var n=t.body;try{w(e,void 0===n?{}:n)}catch(e){console.error("wangEditor upload file - onSuccess error",e)}O.removeFile(e.id)}),O.on("progress",function(e){e<1||x(e)}),O.on("upload-error",function(e,t,n){try{D(e,t,n)}catch(e){console.error("wangEditor upload file - onError error",e)}O.removeFile(e.id)}),O.on("restriction-failed",function(e,t){try{D(e,t)}catch(e){console.error("wangEditor upload file - onError error",e)}O.removeFile(e.id)}),O}function C3(e){return(C3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function C6(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function C5(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function C8(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function C7(e,t,n){return t&&C8(e.prototype,t),n&&C8(e,n),e}function C9(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oe(e,t){if(t&&("object"===C3(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return C9(e)}function Ot(e){return(Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function On(e,t){return(On=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Or(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&On(e,t)}vv&&!CY&&CJ(CQ,"name",{configurable:!0,get:function(){try{return C2(C1,C0(this))[1]}catch(e){return""}}});var Oo={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},Oi=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};C5(this,e),this.init(t,n)}return C7(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||Oo,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,C6({},{prefix:"".concat(this.prefix,":").concat(t,":")},this.options))}}]),e}()),Oa=function(){function e(){C5(this,e),this.observers={}}return C7(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach(function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)}),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter(function(e){return e!==t}):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&[].concat(this.observers[e]).forEach(function(e){e.apply(void 0,n)}),this.observers["*"]&&[].concat(this.observers["*"]).forEach(function(t){t.apply(t,[e].concat(n))})}}]),e}();function Ou(){var e,t,n=new Promise(function(n,r){e=n,t=r});return n.resolve=e,n.reject=t,n}function Os(e){return null==e?"":""+e}function Ol(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return o()?{}:{obj:e,k:r(i.shift())}}function Oc(e,t,n){var r=Ol(e,t,Object);r.obj[r.k]=n}function Of(e,t){var n=Ol(e,t),r=n.obj,o=n.k;if(r)return r[o]}function Od(e,t,n){var r=Of(e,n);return void 0!==r?r:Of(t,n)}function Op(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Oh={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function Og(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,function(e){return Oh[e]}):e}var Ov="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,Oy=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return C5(this,t),n=Oe(this,Ot(t).call(this)),Ov&&Oa.call(C9(n)),n.data=e||{},n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),void 0===n.options.ignoreJSONStructure&&(n.options.ignoreJSONStructure=!0),n}return Or(t,Oa),C7(t,[{key:"addNamespaces",value:function(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."));var u=Of(this.data,a);return u||!i||"string"!=typeof n?u:function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(t){if(t[n])return t[n];for(var o=n.split(r),i=t,a=0;a<o.length;++a){if(!i||"string"==typeof i[o[a]]&&a+1<o.length)return;if(void 0===i[o[a]]){for(var u=2,s=o.slice(a,a+u).join(r),l=i[s];void 0===l&&o.length>a+u;)u++,l=i[s=o.slice(a,a+u).join(r)];if(void 0===l)return;if("string"==typeof l)return l;if(s&&"string"==typeof l[s])return l[s];var c=o.slice(a+u).join(r);return c?e(l,c,r):void 0}i=i[o[a]]}return i}}(this.data&&this.data[e]&&this.data[e][t],n,o)}},{key:"addResource",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),Oc(this.data,a,r),o.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)"string"!=typeof n[o]&&"[object Array]"!==Object.prototype.toString.apply(n[o])||this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(a=e.split("."))[1]),this.addNamespaces(t);var u=Of(this.data,a)||{};r?function e(t,n,r){for(var o in n)"__proto__"!==o&&"constructor"!==o&&(o in t?"string"==typeof t[o]||t[o]instanceof String||"string"==typeof n[o]||n[o]instanceof String?r&&(t[o]=n[o]):e(t[o],n[o],r):t[o]=n[o]);return t}(u,n,o):u=C6({},u,n),Oc(this.data,a,u),i.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?C6({},{},this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"toJSON",value:function(){return this.data}}]),t}(),Om={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var i=this;return e.forEach(function(e){i.processors[e]&&(t=i.processors[e].process(t,n,r,o))}),t}},Ob={},Ow=function(e){function t(e){var n,r,o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return C5(this,t),o=Oe(this,Ot(t).call(this)),Ov&&Oa.call(C9(o)),n=["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r=C9(o),n.forEach(function(t){e[t]&&(r[t]=e[t])}),o.options=i,void 0===o.options.keySeparator&&(o.options.keySeparator="."),o.logger=Oi.create("translator"),o}return Or(t,Oa),C7(t,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS;if(n&&e.indexOf(n)>-1){var i=e.match(this.interpolator.nestingRegexp);if(i&&i.length>0)return{key:e,namespaces:o};var a=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(a[0])>-1)&&(o=a.shift()),e=a.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}},{key:"translate",value:function(e,n,r){var o=this;if("object"!==C3(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),n||(n={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var i=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,a=this.extractFromKey(e[e.length-1],n),u=a.key,s=a.namespaces,l=s[s.length-1],c=n.lng||this.language,f=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase())return f?l+(n.nsSeparator||this.options.nsSeparator)+u:u;var d=this.resolve(e,n),p=d&&d.res,h=d&&d.usedKey||u,g=d&&d.exactUsedKey||u,v=Object.prototype.toString.apply(p),y=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,m=!this.i18nFormat||this.i18nFormat.handleAsObject,b="string"!=typeof p&&"boolean"!=typeof p&&"number"!=typeof p;if(m&&p&&b&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(v)&&("string"!=typeof y||"[object Array]"!==v)){if(!n.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,p,C6({},n,{ns:s})):"key '".concat(u," (").concat(this.language,")' returned an object instead of string.");if(i){var w="[object Array]"===v,E=w?[]:{},D=w?g:h;for(var S in p)if(Object.prototype.hasOwnProperty.call(p,S)){var x="".concat(D).concat(i).concat(S);E[S]=this.translate(x,C6({},n,{joinArrays:!1,ns:s})),E[S]===x&&(E[S]=p[S])}p=E}}else if(m&&"string"==typeof y&&"[object Array]"===v)(p=p.join(y))&&(p=this.extendTranslation(p,e,n,r));else{var C=!1,O=!1,A=void 0!==n.count&&"string"!=typeof n.count,k=t.hasDefaultValue(n),T=A?this.pluralResolver.getSuffix(c,n.count):"",B=n["defaultValue".concat(T)]||n.defaultValue;!this.isValidLookup(p)&&k&&(C=!0,p=B),this.isValidLookup(p)||(O=!0,p=u);var F=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&O?void 0:p,_=k&&B!==p&&this.options.updateMissing;if(O||C||_){if(this.logger.log(_?"updateKey":"missingKey",c,l,u,_?B:p),i){var P=this.resolve(u,C6({},n,{keySeparator:!1}));P&&P.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var j=[],I=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&I&&I[0])for(var N=0;N<I.length;N++)j.push(I[N]);else"all"===this.options.saveMissingTo?j=this.languageUtils.toResolveHierarchy(n.lng||this.language):j.push(n.lng||this.language);var R=function(e,t,r){o.options.missingKeyHandler?o.options.missingKeyHandler(e,l,t,_?r:F,_,n):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(e,l,t,_?r:F,_,n),o.emit("missingKey",e,l,t,p)};this.options.saveMissing&&(this.options.saveMissingPlurals&&A?j.forEach(function(e){o.pluralResolver.getSuffixes(e).forEach(function(t){R([e],u+t,n["defaultValue".concat(t)]||B)})}):R(j,u,B))}p=this.extendTranslation(p,e,n,d,r),O&&p===u&&this.options.appendNamespaceToMissingKey&&(p="".concat(l,":").concat(u)),(O||C)&&this.options.parseMissingKeyHandler&&(p=this.options.parseMissingKeyHandler(p))}return p}},{key:"extendTranslation",value:function(e,t,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(C6({},n,{interpolation:C6({},this.options.interpolation,n.interpolation)}));var a,u=n.interpolation&&n.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;if(u){var s=e.match(this.interpolator.nestingRegexp);a=s&&s.length}var l=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(l=C6({},this.options.interpolation.defaultVariables,l)),e=this.interpolator.interpolate(e,l,n.lng||this.language,n),u){var c=e.match(this.interpolator.nestingRegexp);a<(c&&c.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,r=Array(e),a=0;a<e;a++)r[a]=arguments[a];return o&&o[0]===r[0]&&!n.context?(i.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):i.translate.apply(i,r.concat([t]))},n)),n.interpolation&&this.interpolator.reset()}var f=n.postProcess||this.options.postProcess,d="string"==typeof f?[f]:f;return null!=e&&d&&d.length&&!1!==n.applyPostProcessor&&(e=Om.handle(d,e,t,this.options&&this.options.postProcessPassResolved?C6({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,o,i,a=this,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach(function(e){if(!a.isValidLookup(t)){var s=a.extractFromKey(e,u),l=s.key;n=l;var c=s.namespaces;a.options.fallbackNS&&(c=c.concat(a.options.fallbackNS));var f=void 0!==u.count&&"string"!=typeof u.count,d=void 0!==u.context&&("string"==typeof u.context||"number"==typeof u.context)&&""!==u.context,p=u.lngs?u.lngs:a.languageUtils.toResolveHierarchy(u.lng||a.language,u.fallbackLng);c.forEach(function(e){a.isValidLookup(t)||(i=e,!Ob["".concat(p[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(i)&&(Ob["".concat(p[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(p.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach(function(n){if(!a.isValidLookup(t)){o=n;var i,s,c=l,p=[c];for(a.i18nFormat&&a.i18nFormat.addLookupKeys?a.i18nFormat.addLookupKeys(p,l,n,e,u):(f&&(i=a.pluralResolver.getSuffix(n,u.count)),f&&d&&p.push(c+i),d&&p.push(c+="".concat(a.options.contextSeparator).concat(u.context)),f&&p.push(c+=i));s=p.pop();)a.isValidLookup(t)||(r=s,t=a.getResource(n,e,s,u))}}))})}}),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}]),t}();function OE(e){return e.charAt(0).toUpperCase()+e.slice(1)}var OD=function(){function e(t){C5(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Oi.create("languageUtils")}return C7(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||0>e.indexOf("-"))return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||0>e.indexOf("-"))return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map(function(e){return e.toLowerCase()}):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=OE(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=OE(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=OE(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isWhitelisted",value:function(e){return this.logger.deprecate("languageUtils.isWhitelisted",'function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it\'s usage asap.'),this.isSupportedCode(e)}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach(function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}}),!t&&this.options.supportedLngs&&e.forEach(function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find(function(e){if(0===e.indexOf(r))return e})}}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],i=function(e){e&&(n.isSupportedCode(e)?o.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),r.forEach(function(e){0>o.indexOf(e)&&i(n.formatLanguageCode(e))}),o}}]),e}(),OS=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Ox={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(+(1!=e&&(e%10!=1||e%100==11)))},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:3*(e%100==3||e%100==4))},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},OC=function(){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};C5(this,e),this.languageUtils=t,this.options=r,this.logger=Oi.create("pluralResolver"),this.rules=(n={},OS.forEach(function(e){e.lngs.forEach(function(t){n[t]={numbers:e.nr,plurals:Ox[e.fc]}})}),n)}return C7(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=this.getRule(e);return t&&t.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){return this.getSuffixes(e).map(function(e){return t+e})}},{key:"getSuffixes",value:function(e){var t=this,n=this.getRule(e);return n?n.numbers.map(function(n){return t.getSuffix(e,n)}):[]}},{key:"getSuffix",value:function(e,t){var n=this,r=this.getRule(e);if(r){var o=r.noAbs?r.plurals(t):r.plurals(Math.abs(t)),i=r.numbers[o];this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var a=function(){return n.options.prepend&&i.toString()?n.options.prepend+i.toString():i.toString()};return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?"_plural_".concat(i.toString()):a():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]?a():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}return this.logger.warn("no plural rule found for: ".concat(e)),""}}]),e}(),OO=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};C5(this,e),this.logger=Oi.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return C7(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:Og,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?Op(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?Op(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?Op(t.nestingPrefix):t.nestingPrefixEscaped||Op("$t("),this.nestingSuffix=t.nestingSuffix?Op(t.nestingSuffix):t.nestingSuffixEscaped||Op(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var o,i,a,u=this,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function l(e){return e.replace(/\$/g,"$$$$")}var c=function(e){if(0>e.indexOf(u.formatSeparator)){var o=Od(t,s,e);return u.alwaysFormat?u.format(o,void 0,n,C6({},r,t,{interpolationkey:e})):o}var i=e.split(u.formatSeparator),a=i.shift().trim(),l=i.join(u.formatSeparator).trim();return u.format(Od(t,s,a),l,n,C6({},r,t,{interpolationkey:a}))};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&r.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return l(e)}},{regex:this.regexp,safeValue:function(e){return u.escapeValue?l(u.escape(e)):l(e)}}].forEach(function(t){for(a=0;o=t.regex.exec(e);){if(void 0===(i=c(o[1].trim())))if("function"==typeof f){var n=f(e,o,r);i="string"==typeof n?n:""}else{if(d){i=o[0];continue}u.logger.warn("missed to pass in variable ".concat(o[1]," for interpolating ").concat(e)),i=""}else"string"==typeof i||u.useRawValueToEscape||(i=Os(i));var s=t.safeValue(i);if(e=e.replace(o[0],s),d?(t.regex.lastIndex+=s.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++a>=u.maxReplaces)break}}),e}},{key:"nest",value:function(e,t){var n,r,o=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=C6({},i);function u(e,t){var n=this.nestingOptionsSeparator;if(0>e.indexOf(n))return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),o="{".concat(r[1]);e=r[0],o=(o=this.interpolate(o,a)).replace(/'/g,'"');try{a=JSON.parse(o),t&&(a=C6({},t,a))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(o)}return delete a.defaultValue,e}for(a.applyPostProcessor=!1,delete a.defaultValue;n=this.nestingRegexp.exec(e);){var s=[],l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var c=n[1].split(this.formatSeparator).map(function(e){return e.trim()});n[1]=c.shift(),s=c,l=!0}if((r=t(u.call(this,n[1].trim(),a),a))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=Os(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),l&&(r=s.reduce(function(e,t){return o.format(e,t,i.lng,C6({},i,{interpolationkey:n[1].trim()}))},r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}(),OA=function(e){function t(e,n,r){var o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return C5(this,t),o=Oe(this,Ot(t).call(this)),Ov&&Oa.call(C9(o)),o.backend=e,o.store=n,o.services=r,o.languageUtils=r.languageUtils,o.options=i,o.logger=Oi.create("backendConnector"),o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(r,i.backend,i),o}return Or(t,Oa),C7(t,[{key:"queueLoad",value:function(e,t,n,r){var o=this,i=[],a=[],u=[],s=[];return e.forEach(function(e){var r=!0;t.forEach(function(t){var u="".concat(e,"|").concat(t);!n.reload&&o.store.hasResourceBundle(e,t)?o.state[u]=2:o.state[u]<0||(1===o.state[u]?0>a.indexOf(u)&&a.push(u):(o.state[u]=1,r=!1,0>a.indexOf(u)&&a.push(u),0>i.indexOf(u)&&i.push(u),0>s.indexOf(t)&&s.push(t)))}),r||u.push(e)}),(i.length||a.length)&&this.queue.push({pending:a,loaded:{},errors:[],callback:r}),{toLoad:i,pending:a,toLoadLanguages:u,toLoadNamespaces:s}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),n&&this.store.addResourceBundle(o,i,n),this.state[e]=t?-1:2;var a={};this.queue.forEach(function(n){var r,u,s,l;r=n.loaded,(s=(u=Ol(r,[o],Object)).obj)[l=u.k]=s[l]||[],s[l].push(i),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach(function(e){a[e]||(a[e]=[]),n.loaded[e].length&&n.loaded[e].forEach(function(t){0>a[e].indexOf(t)&&a[e].push(t)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(function(e){return!e.done})}},{key:"read",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,a=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,function(u,s){u&&s&&o<5?setTimeout(function(){r.read.call(r,e,t,n,o+1,2*i,a)},i):a(u,s)}):a(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var i=this.queueLoad(e,t,r,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach(function(e){n.loadOne(e)})}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),o=r[0],i=r[1];this.read(o,i,"read",void 0,void 0,function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(o," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(o),a),t.loaded(e,r,a)})}},{key:"saveMissing",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,C6({},i,{isUpdate:o})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),t}();function Ok(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&(e.whitelist&&0>e.whitelist.indexOf("cimode")&&(e.whitelist=e.whitelist.concat(["cimode"])),e.supportedLngs=e.whitelist),e.nonExplicitWhitelist&&(e.nonExplicitSupportedLngs=e.nonExplicitWhitelist),e.supportedLngs&&0>e.supportedLngs.indexOf("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function OT(){}var OB=new(function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(C5(this,t),e=Oe(this,Ot(t).call(this)),Ov&&Oa.call(C9(e)),e.options=Ok(n),e.services={},e.logger=Oi,e.modules={external:[]},r&&!e.isInitialized&&!n.isClone){if(!e.options.initImmediate)return e.init(n,r),Oe(e,C9(e));setTimeout(function(){e.init(n,r)},0)}return e}return Or(t,Oa),C7(t,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;function r(e){return e?"function"==typeof e?new e:e:null}if("function"==typeof t&&(n=t,t={}),t.whitelist&&!t.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),t.nonExplicitWhitelist&&!t.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=C6({},{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===C3(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===C3(e[2])||"object"===C3(e[3])){var n=e[3]||e[2];Object.keys(n).forEach(function(e){t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}},this.options,Ok(t)),this.format=this.options.interpolation.format,n||(n=OT),!this.options.isClone){this.modules.logger?Oi.init(r(this.modules.logger),this.options):Oi.init(null,this.options);var o=new OD(this.options);this.store=new Oy(this.options.resources,this.options);var i=this.services;i.logger=Oi,i.resourceStore=this.store,i.languageUtils=o,i.pluralResolver=new OC(o,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),i.interpolator=new OO(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new OA(r(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))}),this.modules.languageDetector&&(i.languageDetector=r(this.modules.languageDetector),i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=r(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new Ow(this.services,this.options),this.translator.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))}),this.modules.external.forEach(function(t){t.init&&t.init(e)})}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var a=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);a.length>0&&"dev"!==a[0]&&(this.options.lng=a[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}});var u=Ou(),s=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),u.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?s():setTimeout(s,0),u}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:OT,r=n,o="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(o&&"cimode"===o.toLowerCase())return r();var i=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach(function(e){0>i.indexOf(e)&&i.push(e)})};o?a(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(function(e){return a(e)}),this.options.preload&&this.options.preload.forEach(function(e){return a(e)}),this.services.backendConnector.load(i,this.options.ns,r)}else r(null)}},{key:"reloadResources",value:function(e,t,n){var r=Ou();return e||(e=this.languages),t||(t=this.options.ns),n||(n=OT),this.services.backendConnector.reload(e,t,function(e){r.resolve(),n(e)}),r}},{key:"use",value:function(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&Om.addPostProcessor(e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=Ou();this.emit("languageChanging",e);var o=function(o){e||o||!n.services.languageDetector||(o=[]);var i="string"==typeof o?o:n.services.languageUtils.getBestMatchFromCodes(o);i&&(n.language||(n.language=i,n.languages=n.services.languageUtils.toResolveHierarchy(i)),n.translator.language||n.translator.changeLanguage(i),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(i)),n.loadResources(i,function(e){i?(n.language=i,n.languages=n.services.languageUtils.toResolveHierarchy(i),n.translator.changeLanguage(i),n.isLanguageChangingTo=void 0,n.emit("languageChanged",i),n.logger.log("languageChanged",i)):n.isLanguageChangingTo=void 0,r.resolve(function(){return n.t.apply(n,arguments)}),t&&t(e,function(){return n.t.apply(n,arguments)})})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,o=function e(t,o){if("object"!==C3(o)){for(var i,a=arguments.length,u=Array(a>2?a-2:0),s=2;s<a;s++)u[s-2]=arguments[s];i=r.options.overloadTranslationOptionHandler([t,o].concat(u))}else i=C6({},o);i.lng=i.lng||e.lng,i.lngs=i.lngs||e.lngs,i.ns=i.ns||e.ns;var l=r.options.keySeparator||".",c=n?"".concat(n).concat(l).concat(t):t;return r.t(c,i)};return"string"==typeof e?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,o}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.languages[0],o=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return -1===r||2===r};if(n.precheck){var u=n.precheck(this,a);if(void 0!==u)return u}return!!this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||!(!a(r,e)||o&&!a(i,e))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=Ou();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach(function(e){0>n.options.ns.indexOf(e)&&n.options.ns.push(e)}),this.loadResources(function(e){r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=Ou();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],o=e.filter(function(e){return 0>r.indexOf(e)});return o.length?(this.options.preload=r.concat(o),this.loadResources(function(e){n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){return e||(e=this.languages&&this.languages.length>0?this.languages[0]:this.language),e?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr":"rtl"}},{key:"createInstance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new t(e,n)}},{key:"cloneInstance",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:OT,o=C6({},this.options,n,{isClone:!0}),i=new t(o);return["store","services","language"].forEach(function(t){i[t]=e[t]}),i.services=C6({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i.translator=new Ow(i.services,i.options),i.translator.on("*",function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit.apply(i,[e].concat(n))}),i.init(o,r),i.translator.options=i.options,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages}}}]),t}());function OF(e,t){OB.addResourceBundle(e,"translation",t,!0,!0)}function O_(e){OB.changeLanguage(e)}OB.init({lng:"zh-CN",resources:{}});var OP=OB.t.bind(OB);OF("en",{editor:{more:"More",justify:"Justify",indent:"Indent",image:"Image",video:"Video"}}),OF("zh-CN",{editor:{more:"更多",justify:"对齐",indent:"缩进",image:"图片",video:"视频"}}),o4||oA(Object.prototype,"toString",o4?({}).toString:function(){return"[object "+o8(this)+"]"},{unsafe:!0});var Oj=Array.isArray||function(e){return"Array"==ra(e)},OI=function(){},ON=[],OR=rg("Reflect","construct"),OL=/^\s*(?:class|function)\b/,OM=rr(OL.exec),Oz=!OL.exec(OI),O$=function(e){if(!rp(e))return!1;try{return OR(OI,ON,e),!0}catch(e){return!1}},OH=!OR||n1(function(){var e;return O$(O$.call)||!O$(Object)||!O$(function(){e=!0})||e})?function(e){if(!rp(e))return!1;switch(o8(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Oz||!!OM(OL,ou(e))}:O$,OU=rZ("species"),OV=n0.Array,OW=function(e,t){var n;return new(Oj(e)&&(OH(n=e.constructor)&&(n===OV||Oj(n.prototype))||rh(n)&&null===(n=n[OU]))&&(n=void 0),void 0===n?OV:n)(0===t?0:t)},Oq=rr([].push),OG=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=rL(s),g=rl(h),v=i8(l,c),y=oN(g),m=0,b=f||OW,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:Oq(w,d)}else switch(e){case 4:return!1;case 7:Oq(w,d)}return i?-1:r||o?o:w}},OK={forEach:OG(0),map:OG(1),filter:OG(2),some:OG(3),every:OG(4),find:OG(5),findIndex:OG(6),filterReject:OG(7)}.forEach,OZ=(O4=[].forEach)&&n1(function(){O4.call(null,function(){throw 1},1)})?[].forEach:function(e){return OK(this,e,arguments.length>1?arguments[1]:void 0)},OX=function(e){if(e&&e.forEach!==OZ)try{on(e,"forEach",OZ)}catch(t){e.forEach=OZ}};for(var OY in aM)aM[OY]&&OX(n0[OY]&&n0[OY].prototype);OX(aH),OF("en",{common:{ok:"OK",delete:"Delete",enter:"Enter"},blockQuote:{title:"Quote"},codeBlock:{title:"Code block"},color:{color:"Font color",bgColor:"Back color",default:"Default color",clear:"Clear back color"},divider:{title:"Divider"},emotion:{title:"Emotion"},fontSize:{title:"Font size",default:"Default"},fontFamily:{title:"Font family",default:"Default"},fullScreen:{title:"Full screen"},header:{title:"Header",text:"Text"},image:{netImage:"Net image",delete:"Delete image",edit:"Edit image",viewLink:"View link",src:"Image src",desc:"Description",link:"Image link"},indent:{decrease:"Decrease",increase:"Increase"},justify:{left:"Left",right:"Right",center:"Center",justify:"Justify"},lineHeight:{title:"Line height",default:"Default"},link:{insert:"Insert link",text:"Link text",url:"Link source",unLink:"Unlink",edit:"Edit link",view:"View link"},textStyle:{bold:"Bold",clear:"Clear styles",code:"Inline code",italic:"Italic",sub:"Sub",sup:"Sup",through:"Through",underline:"Underline"},undo:{undo:"undo",redo:"Redo"},todo:{todo:"Todo"}}),OF("zh-CN",{common:{ok:"确定",delete:"删除",enter:"回车"},blockQuote:{title:"引用"},codeBlock:{title:"代码块"},color:{color:"文字颜色",bgColor:"背景色",default:"默认颜色",clear:"清除背景色"},divider:{title:"分割线"},emotion:{title:"表情"},fontSize:{title:"字号",default:"默认字号"},fontFamily:{title:"字体",default:"默认字体"},fullScreen:{title:"全屏"},header:{title:"标题",text:"正文"},image:{netImage:"网络图片",delete:"删除图片",edit:"编辑图片",viewLink:"查看链接",src:"图片地址",desc:"图片描述",link:"图片链接"},indent:{decrease:"减少缩进",increase:"增加缩进"},justify:{left:"左对齐",right:"右对齐",center:"居中对齐",justify:"两端对齐"},lineHeight:{title:"行高",default:"默认行高"},link:{insert:"插入链接",text:"链接文本",url:"链接地址",unLink:"取消链接",edit:"修改链接",view:"查看链接"},textStyle:{bold:"粗体",clear:"清除格式",code:"行内代码",italic:"斜体",sub:"下标",sup:"上标",through:"删除线",underline:"下划线"},undo:{undo:"撤销",redo:"重做"},todo:{todo:"待办"}});var OJ="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function OQ(e){var t={exports:{}};return e(t,t.exports),t.exports}var O0,O1,O2,O4,O3,O6,O5=function(e){return e&&e.Math==Math&&e},O8=O5("object"==typeof globalThis&&globalThis)||O5("object"==typeof window&&window)||O5("object"==typeof self&&self)||O5("object"==typeof OJ&&OJ)||function(){return this}()||Function("return this")(),O7=function(e){try{return!!e()}catch(e){return!0}},O9=!O7(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),Ae=Function.prototype.call,At=Ae.bind?Ae.bind(Ae):function(){return Ae.apply(Ae,arguments)},An={}.propertyIsEnumerable,Ar=Object.getOwnPropertyDescriptor,Ao={f:Ar&&!An.call({1:2},1)?function(e){var t=Ar(this,e);return!!t&&t.enumerable}:An},Ai=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Aa=Function.prototype,Au=Aa.bind,As=Aa.call,Al=Au&&Au.bind(As),Ac=Au?function(e){return e&&Al(As,e)}:function(e){return e&&function(){return As.apply(e,arguments)}},Af=Ac({}.toString),Ad=Ac("".slice),Ap=function(e){return Ad(Af(e),8,-1)},Ah=O8.Object,Ag=Ac("".split),Av=O7(function(){return!Ah("z").propertyIsEnumerable(0)})?function(e){return"String"==Ap(e)?Ag(e,""):Ah(e)}:Ah,Ay=O8.TypeError,Am=function(e){if(null==e)throw Ay("Can't call method on "+e);return e},Ab=function(e){return Av(Am(e))},Aw=function(e){return"function"==typeof e},AE=function(e){return"object"==typeof e?null!==e:Aw(e)},AD=function(e,t){var n;return arguments.length<2?Aw(n=O8[e])?n:void 0:O8[e]&&O8[e][t]},AS=Ac({}.isPrototypeOf),Ax=AD("navigator","userAgent")||"",AC=O8.process,AO=O8.Deno,AA=AC&&AC.versions||AO&&AO.version,Ak=AA&&AA.v8;Ak&&(O6=(O3=Ak.split("."))[0]>0&&O3[0]<4?1:+(O3[0]+O3[1])),!O6&&Ax&&(!(O3=Ax.match(/Edge\/(\d+)/))||O3[1]>=74)&&(O3=Ax.match(/Chrome\/(\d+)/))&&(O6=+O3[1]);var AT=O6,AB=!!Object.getOwnPropertySymbols&&!O7(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&AT&&AT<41}),AF=AB&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,A_=O8.Object,AP=AF?function(e){return"symbol"==typeof e}:function(e){var t=AD("Symbol");return Aw(t)&&AS(t.prototype,A_(e))},Aj=O8.String,AI=function(e){try{return Aj(e)}catch(e){return"Object"}},AN=O8.TypeError,AR=function(e){if(Aw(e))return e;throw AN(AI(e)+" is not a function")},AL=function(e,t){var n=e[t];return null==n?void 0:AR(n)},AM=O8.TypeError,Az=Object.defineProperty,A$=function(e,t){try{Az(O8,e,{value:t,configurable:!0,writable:!0})}catch(n){O8[e]=t}return t},AH=O8["__core-js_shared__"]||A$("__core-js_shared__",{}),AU=OQ(function(e){(e.exports=function(e,t){return AH[e]||(AH[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})}),AV=O8.Object,AW=function(e){return AV(Am(e))},Aq=Ac({}.hasOwnProperty),AG=Object.hasOwn||function(e,t){return Aq(AW(e),t)},AK=0,AZ=Math.random(),AX=Ac(1..toString),AY=function(e){return"Symbol("+(void 0===e?"":e)+")_"+AX(++AK+AZ,36)},AJ=AU("wks"),AQ=O8.Symbol,A0=AQ&&AQ.for,A1=AF?AQ:AQ&&AQ.withoutSetter||AY,A2=function(e){if(!AG(AJ,e)||!AB&&"string"!=typeof AJ[e]){var t="Symbol."+e;AB&&AG(AQ,e)?AJ[e]=AQ[e]:AJ[e]=AF&&A0?A0(t):A1(t)}return AJ[e]},A4=O8.TypeError,A3=A2("toPrimitive"),A6=function(e){var t=function(e,t){if(!AE(e)||AP(e))return e;var n,r=AL(e,A3);if(r){if(void 0===t&&(t="default"),!AE(n=At(r,e,t))||AP(n))return n;throw A4("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&Aw(n=e.toString)&&!AE(r=At(n,e))||Aw(n=e.valueOf)&&!AE(r=At(n,e))||"string"!==t&&Aw(n=e.toString)&&!AE(r=At(n,e)))return r;throw AM("Can't convert object to primitive value")}(e,t)}(e,"string");return AP(t)?t:t+""},A5=O8.document,A8=AE(A5)&&AE(A5.createElement),A7=function(e){return A8?A5.createElement(e):{}},A9=!O9&&!O7(function(){return 7!=Object.defineProperty(A7("div"),"a",{get:function(){return 7}}).a}),ke=Object.getOwnPropertyDescriptor,kt={f:O9?ke:function(e,t){if(e=Ab(e),t=A6(t),A9)try{return ke(e,t)}catch(e){}if(AG(e,t))return Ai(!At(Ao.f,e,t),e[t])}},kn=O8.String,kr=O8.TypeError,ko=function(e){if(AE(e))return e;throw kr(kn(e)+" is not an object")},ki=O8.TypeError,ka=Object.defineProperty,ku={f:O9?ka:function(e,t,n){if(ko(e),t=A6(t),ko(n),A9)try{return ka(e,t,n)}catch(e){}if("get"in n||"set"in n)throw ki("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},ks=O9?function(e,t,n){return ku.f(e,t,Ai(1,n))}:function(e,t,n){return e[t]=n,e},kl=Ac(Function.toString);Aw(AH.inspectSource)||(AH.inspectSource=function(e){return kl(e)});var kc,kf,kd,kp=AH.inspectSource,kh=O8.WeakMap,kg=Aw(kh)&&/native code/.test(kp(kh)),kv=AU("keys"),ky=function(e){return kv[e]||(kv[e]=AY(e))},km={},kb=O8.TypeError,kw=O8.WeakMap;if(kg||AH.state){var kE=AH.state||(AH.state=new kw),kD=Ac(kE.get),kS=Ac(kE.has),kx=Ac(kE.set);kc=function(e,t){if(kS(kE,e))throw new kb("Object already initialized");return t.facade=e,kx(kE,e,t),t},kf=function(e){return kD(kE,e)||{}},kd=function(e){return kS(kE,e)}}else{var kC=ky("state");km[kC]=!0,kc=function(e,t){if(AG(e,kC))throw new kb("Object already initialized");return t.facade=e,ks(e,kC,t),t},kf=function(e){return AG(e,kC)?e[kC]:{}},kd=function(e){return AG(e,kC)}}var kO=kf,kA=Function.prototype,kk=O9&&Object.getOwnPropertyDescriptor,kT=AG(kA,"name"),kB={EXISTS:kT,PROPER:kT&&"something"===(function(){}).name,CONFIGURABLE:kT&&(!O9||O9&&kk(kA,"name").configurable)},kF=OQ(function(e){var t=kB.CONFIGURABLE,n=String(String).split("String");(e.exports=function(e,r,o,i){var a,u,s=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet,f=i&&void 0!==i.name?i.name:r;Aw(o)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!AG(o,"name")||t&&o.name!==f)&&ks(o,"name",f),(u=kd(a=o)?kf(a):kc(a,{})).source||(u.source=n.join("string"==typeof f?f:""))),e!==O8?(s?!c&&e[r]&&(l=!0):delete e[r],l?e[r]=o:ks(e,r,o)):l?e[r]=o:A$(r,o)})(Function.prototype,"toString",function(){return Aw(this)&&kO(this).source||kp(this)})}),k_=Math.ceil,kP=Math.floor,kj=function(e){var t=+e;return t!=t||0===t?0:(t>0?kP:k_)(t)},kI=Math.max,kN=Math.min,kR=function(e,t){var n=kj(e);return n<0?kI(n+t,0):kN(n,t)},kL=Math.min,kM=function(e){return e>0?kL(kj(e),0x1fffffffffffff):0},kz=function(e){return kM(e.length)},k$=function(e){return function(t,n,r){var o,i=Ab(t),a=kz(i),u=kR(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},kH={includes:k$(!0),indexOf:k$(!1)},kU=kH.indexOf,kV=Ac([].push),kW=function(e,t){var n,r=Ab(e),o=0,i=[];for(n in r)!AG(km,n)&&AG(r,n)&&kV(i,n);for(;t.length>o;)AG(r,n=t[o++])&&(~kU(i,n)||kV(i,n));return i},kq=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],kG=kq.concat("length","prototype"),kK={f:Object.getOwnPropertyNames||function(e){return kW(e,kG)}},kZ={f:Object.getOwnPropertySymbols},kX=Ac([].concat),kY=AD("Reflect","ownKeys")||function(e){var t=kK.f(ko(e)),n=kZ.f;return n?kX(t,n(e)):t},kJ=function(e,t){for(var n=kY(t),r=ku.f,o=kt.f,i=0;i<n.length;i++){var a=n[i];AG(e,a)||r(e,a,o(t,a))}},kQ=/#|\.prototype\./,k0=function(e,t){var n=k2[k1(e)];return n==k3||n!=k4&&(Aw(t)?O7(t):!!t)},k1=k0.normalize=function(e){return String(e).replace(kQ,".").toLowerCase()},k2=k0.data={},k4=k0.NATIVE="N",k3=k0.POLYFILL="P",k6=kt.f,k5=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?O8:l?O8[u]||A$(u,{}):(O8[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=k6(n,r))&&a.value:n[r],!k0(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;kJ(i,o)}(e.sham||o&&o.sham)&&ks(i,"sham",!0),kF(n,r,i,e)}},k8=Ac(Ac.bind),k7=Array.isArray||function(e){return"Array"==Ap(e)},k9={};k9[A2("toStringTag")]="z";var Te="[object z]"===String(k9),Tt=A2("toStringTag"),Tn=O8.Object,Tr="Arguments"==Ap(function(){return arguments}()),To=Te?Ap:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Tn(e),Tt))?n:Tr?Ap(t):"Object"==(r=Ap(t))&&Aw(t.callee)?"Arguments":r},Ti=function(){},Ta=[],Tu=AD("Reflect","construct"),Ts=/^\s*(?:class|function)\b/,Tl=Ac(Ts.exec),Tc=!Ts.exec(Ti),Tf=function(e){if(!Aw(e))return!1;try{return Tu(Ti,Ta,e),!0}catch(e){return!1}},Td=!Tu||O7(function(){var e;return Tf(Tf.call)||!Tf(Object)||!Tf(function(){e=!0})||e})?function(e){if(!Aw(e))return!1;switch(To(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Tc||!!Tl(Ts,kp(e))}:Tf,Tp=A2("species"),Th=O8.Array,Tg=function(e,t){var n;return new(k7(e)&&(Td(n=e.constructor)&&(n===Th||k7(n.prototype))||AE(n)&&null===(n=n[Tp]))&&(n=void 0),void 0===n?Th:n)(0===t?0:t)},Tv=Ac([].push),Ty=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=AW(s),g=Av(h),v=(AR(l),void 0===c?l:k8?k8(l,c):function(){return l.apply(c,arguments)}),y=kz(g),m=0,b=f||Tg,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:Tv(w,d)}else switch(e){case 4:return!1;case 7:Tv(w,d)}return i?-1:r||o?o:w}},Tm={forEach:Ty(0),map:Ty(1),filter:Ty(2),some:Ty(3),every:Ty(4),find:Ty(5),findIndex:Ty(6),filterReject:Ty(7)},Tb=A2("species"),Tw=function(e){return AT>=51||!O7(function(){var t=[];return(t.constructor={})[Tb]=function(){return{foo:1}},1!==t[e](Boolean).foo})},TE=Tm.filter;k5({target:"Array",proto:!0,forced:!Tw("filter")},{filter:function(e){return TE(this,e,arguments.length>1?arguments[1]:void 0)}}),Te||kF(Object.prototype,"toString",Te?({}).toString:function(){return"[object "+To(this)+"]"},{unsafe:!0});var TD,TS=O8.String,Tx=function(e){if("Symbol"===To(e))throw TypeError("Cannot convert a Symbol value to a string");return TS(e)},TC=function(){var e=ko(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},TO=O8.RegExp,TA=O7(function(){var e=TO("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),Tk=TA||O7(function(){return!TO("a","y").sticky}),TT={BROKEN_CARET:TA||O7(function(){var e=TO("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),MISSED_STICKY:Tk,UNSUPPORTED_Y:TA},TB=Object.keys||function(e){return kW(e,kq)},TF=O9?Object.defineProperties:function(e,t){ko(e);for(var n,r=Ab(t),o=TB(t),i=o.length,a=0;i>a;)ku.f(e,n=o[a++],r[n]);return e},T_=AD("document","documentElement"),TP=ky("IE_PROTO"),Tj=function(){},TI=function(e){return"<script>"+e+"<\/script>"},TN=function(e){e.write(TI("")),e.close();var t=e.parentWindow.Object;return e=null,t},TR=function(){try{TD=new ActiveXObject("htmlfile")}catch(e){}TR="undefined"!=typeof document?document.domain&&TD?TN(TD):((t=A7("iframe")).style.display="none",T_.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(TI("document.F=Object")),e.close(),e.F):TN(TD);for(var e,t,n=kq.length;n--;)delete TR.prototype[kq[n]];return TR()};km[TP]=!0;var TL,TM,Tz=Object.create||function(e,t){var n;return null!==e?(Tj.prototype=ko(e),n=new Tj,Tj.prototype=null,n[TP]=e):n=TR(),void 0===t?n:TF(n,t)},T$=O8.RegExp,TH=O7(function(){var e=T$(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),TU=O8.RegExp,TV=O7(function(){var e=TU("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),TW=AU("native-string-replace",String.prototype.replace),Tq=RegExp.prototype.exec,TG=Tq,TK=Ac("".charAt),TZ=Ac("".indexOf),TX=Ac("".replace),TY=Ac("".slice),TJ=(TM=/b*/g,At(Tq,TL=/a/,"a"),At(Tq,TM,"a"),0!==TL.lastIndex||0!==TM.lastIndex),TQ=TT.BROKEN_CARET,T0=void 0!==/()??/.exec("")[1];(TJ||T0||TQ||TH||TV)&&(TG=function(e){var t,n,r,o,i,a,u,s=kO(this),l=Tx(e),c=s.raw;if(c)return c.lastIndex=this.lastIndex,t=At(TG,c,l),this.lastIndex=c.lastIndex,t;var f=s.groups,d=TQ&&this.sticky,p=At(TC,this),h=this.source,g=0,v=l;if(d&&(-1===TZ(p=TX(p,"y",""),"g")&&(p+="g"),v=TY(l,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==TK(l,this.lastIndex-1))&&(h="(?: "+h+")",v=" "+v,g++),n=RegExp("^(?:"+h+")",p)),T0&&(n=RegExp("^"+h+"$(?!\\s)",p)),TJ&&(r=this.lastIndex),o=At(Tq,d?n:this,v),d?o?(o.input=TY(o.input,g),o[0]=TY(o[0],g),o.index=this.lastIndex,this.lastIndex+=o[0].length):this.lastIndex=0:TJ&&o&&(this.lastIndex=this.global?o.index+o[0].length:r),T0&&o&&o.length>1&&At(TW,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)}),o&&f)for(o.groups=a=Tz(null),i=0;i<f.length;i++)a[(u=f[i])[0]]=o[u[1]];return o});var T1=TG;k5({target:"RegExp",proto:!0,forced:/./.exec!==T1},{exec:T1});var T2=Function.prototype,T4=T2.apply,T3=T2.bind,T6=T2.call,T5="object"==typeof Reflect&&Reflect.apply||(T3?T6.bind(T4):function(){return T6.apply(T4,arguments)}),T8=A2("species"),T7=RegExp.prototype,T9=function(e,t,n,r){var o=A2(e),i=!O7(function(){var t={};return t[o]=function(){return 7},7!=""[e](t)}),a=i&&!O7(function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[T8]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t});if(!i||!a||n){var u=Ac(/./[o]),s=t(o,""[e],function(e,t,n,r,o){var a=Ac(e),s=t.exec;return s===T1||s===T7.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}});kF(String.prototype,e,s[0]),kF(T7,o,s[1])}r&&ks(T7[o],"sham",!0)},Be=Ac("".charAt),Bt=Ac("".charCodeAt),Bn=Ac("".slice),Br=function(e){return function(t,n){var r,o,i=Tx(Am(t)),a=kj(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=Bt(i,a))<55296||r>56319||a+1===u||(o=Bt(i,a+1))<56320||o>57343?e?Be(i,a):r:e?Bn(i,a,a+2):o-56320+(r-55296<<10)+65536}},Bo=(Br(!1),Br(!0)),Bi=function(e,t,n){return t+(n?Bo(e,t).length:1)},Ba=Math.floor,Bu=Ac("".charAt),Bs=Ac("".replace),Bl=Ac("".slice),Bc=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Bf=/\$([$&'`]|\d{1,2})/g,Bd=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=Bf;return void 0!==o&&(o=AW(o),s=Bc),Bs(i,s,function(i,s){var l;switch(Bu(s,0)){case"$":return"$";case"&":return e;case"`":return Bl(t,0,n);case"'":return Bl(t,a);case"<":l=o[Bl(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=Ba(c/10);return 0===f?i:f<=u?void 0===r[f-1]?Bu(s,1):r[f-1]+Bu(s,1):i}l=r[c-1]}return void 0===l?"":l})},Bp=O8.TypeError,Bh=function(e,t){var n=e.exec;if(Aw(n)){var r=At(n,e,t);return null!==r&&ko(r),r}if("RegExp"===Ap(e))return At(T1,e,t);throw Bp("RegExp#exec called on incompatible receiver")},Bg=A2("replace"),Bv=Math.max,By=Math.min,Bm=Ac([].concat),Bb=Ac([].push),Bw=Ac("".indexOf),BE=Ac("".slice),BD="$0"==="a".replace(/./,"$0"),BS=!!/./[Bg]&&""===/./[Bg]("a","$0");T9("replace",function(e,t,n){var r=BS?"$":"$0";return[function(e,n){var r=Am(this),o=null==e?void 0:AL(e,Bg);return o?At(o,e,r,n):At(t,Tx(r),e,n)},function(e,o){var i=ko(this),a=Tx(e);if("string"==typeof o&&-1===Bw(o,r)&&-1===Bw(o,"$<")){var u=n(t,i,a,o);if(u.done)return u.value}var s=Aw(o);s||(o=Tx(o));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0}for(var f=[];;){var d=Bh(i,a);if(null===d||(Bb(f,d),!l))break;""===Tx(d[0])&&(i.lastIndex=Bi(a,kM(i.lastIndex),c))}for(var p,h="",g=0,v=0;v<f.length;v++){for(var y=Tx((d=f[v])[0]),m=Bv(By(kj(d.index),a.length),0),b=[],w=1;w<d.length;w++)Bb(b,void 0===(p=d[w])?p:String(p));var E=d.groups;if(s){var D=Bm([y],b,m,a);void 0!==E&&Bb(D,E);var S=Tx(T5(o,void 0,D))}else S=Bd(y,a,m,b,E,o);m>=g&&(h+=BE(a,g,m)+S,g=m+y.length)}return h+BE(a,g)}]},!!O7(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!BD||BS);var Bx=A2("unscopables"),BC=Array.prototype;null==BC[Bx]&&ku.f(BC,Bx,{configurable:!0,value:Tz(null)});var BO=function(e){BC[Bx][e]=!0},BA=Tm.find,Bk=!0;"find"in[]&&[,].find(function(){Bk=!1}),k5({target:"Array",proto:!0,forced:Bk},{find:function(e){return BA(this,e,arguments.length>1?arguments[1]:void 0)}}),BO("find");var BT=A2("match"),BB=function(e){var t;return AE(e)&&(void 0!==(t=e[BT])?!!t:"RegExp"==Ap(e))},BF=O8.TypeError,B_=A2("species"),BP=function(e,t,n){var r=A6(t);r in e?ku.f(e,r,Ai(0,n)):e[r]=n},Bj=O8.Array,BI=Math.max,BN=function(e,t,n){for(var r=kz(e),o=kR(t,r),i=kR(void 0===n?r:n,r),a=Bj(BI(i-o,0)),u=0;o<i;o++,u++)BP(a,u,e[o]);return a.length=u,a},BR=TT.UNSUPPORTED_Y,BL=Math.min,BM=[].push,Bz=Ac(/./.exec),B$=Ac(BM),BH=Ac("".slice);T9("split",function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=Tx(Am(this)),o=void 0===n?0xffffffff:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!BB(e))return At(t,r,e,o);for(var i,a,u,s=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),c=0,f=RegExp(e.source,l+"g");(i=At(T1,f,r))&&!((a=f.lastIndex)>c&&(B$(s,BH(r,c,i.index)),i.length>1&&i.index<r.length&&T5(BM,s,BN(i,1)),u=i[0].length,c=a,s.length>=o));)f.lastIndex===i.index&&f.lastIndex++;return c===r.length?!u&&Bz(f,"")||B$(s,""):B$(s,BH(r,c)),s.length>o?BN(s,0,o):s}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:At(t,this,e,n)}:t,[function(t,n){var o=Am(this),i=null==t?void 0:AL(t,e);return i?At(i,t,o,n):At(r,Tx(o),t,n)},function(e,o){var i=ko(this),a=Tx(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=(v=RegExp,void 0===(m=ko(i).constructor)||null==(y=ko(m)[B_])?v:function(e){if(Td(e))return e;throw BF(AI(e)+" is not a constructor")}(y)),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(BR?"g":"y"),f=new s(BR?"^(?:"+i.source+")":i,c),d=void 0===o?0xffffffff:o>>>0;if(0===d)return[];if(0===a.length)return null===Bh(f,a)?[a]:[];for(var p=0,h=0,g=[];h<a.length;){f.lastIndex=BR?0:h;var v,y,m,b,w=Bh(f,BR?BH(a,h):a);if(null===w||(b=BL(kM(f.lastIndex+(BR?h:0)),a.length))===p)h=Bi(a,h,l);else{if(B$(g,BH(a,p,h)),g.length===d)return g;for(var E=1;E<=w.length-1;E++)if(B$(g,w[E]),g.length===d)return g;h=p=b}}return B$(g,BH(a,p)),g}]},!!O7(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),BR);var BU=" \n\v\f\r \xa0 \u2028\u2029\uFEFF",BV=Ac("".replace),BW="["+BU+"]",Bq=RegExp("^"+BW+BW+"*"),BG=RegExp(BW+BW+"*$"),BK=function(e){return function(t){var n=Tx(Am(t));return 1&e&&(n=BV(n,Bq,"")),2&e&&(n=BV(n,BG,"")),n}},BZ={start:BK(1),end:BK(2),trim:BK(3)},BX=kB.PROPER,BY=BZ.trim;function BJ(e){return 0===c2("<div>"+e+"</div>").children().filter(function(e){return"BR"!==e.tagName}).length}function BQ(e){return 0===e.length?"":e[0].outerHTML}function B0(e){return e.length?e[0].tagName.toLowerCase():""}function B1(e,t){for(var n="",r=(e.attr("style")||"").split(";"),o=r.length,i=0;i<o;i++){var a=r[i];if(a){var u=a.split(":");u[0].trim()===t&&(n=u[1].trim())}}return n}k5({target:"String",proto:!0,forced:O7(function(){return!!BU.trim()||"\x85"!=="\x85".trim()||BX&&"trim"!==BU.trim.name})},{trim:function(){return BY(this)}}),k5({global:!0},{globalThis:O8}),fu&&(c2.fn.css=fu),fp&&(c2.fn.append=fp),fh&&(c2.fn.prepend=fh),c4&&(c2.fn.addClass=c4),c3&&(c2.fn.removeClass=c3),c6&&(c2.fn.hasClass=c6),fe&&(c2.fn.on=fe),ft&&(c2.fn.off=ft),fk&&(c2.fn.focus=fk),c5&&(c2.fn.attr=c5),c8&&(c2.fn.removeAttr=c8),fi&&(c2.fn.hide=fi),fa&&(c2.fn.show=fa),fv&&(c2.fn.parents=fv),c7&&(c2.fn.dataset=c7),c9&&(c2.fn.val=c9),ff&&(c2.fn.text=ff),fc&&(c2.fn.html=fc),fm&&(c2.fn.children=fm),fb&&(c2.fn.remove=fb),fy&&(c2.fn.find=fy),fn&&(c2.fn.width=fn),fr&&(c2.fn.height=fr),fl&&(c2.fn.filter=fl),fw&&(c2.fn.empty=fw);var B2=function(e,t){return(B2=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function B4(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}B2(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var B3=function(){return(B3=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function B6(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,u)}s((r=r.apply(e,t||[])).next())})}function B5(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){var s=[i,u];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}function B8(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function B7(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function B9(e){var t=B7(ly.nodes(e,{match:function(t){return e.children[0]===t},mode:"highest"}),1)[0];if(null==t)return!1;var n=t[0];if(!lf.isElement(n)||"paragraph"===n.type||""!==lD.string(n))return!1;var r=n.children;return!!l$.isText((void 0===r?[]:r)[0])&&(l6.setNodes(e,{type:"paragraph"}),!0)}var Fe=/"/g,Ft=Ac("".replace),Fn=function(e,t,n,r){var o=Tx(Am(e)),i="<"+t;return""!==n&&(i+=" "+n+'="'+Ft(Tx(r),Fe,""")+'"'),i+">"+o+"</"+t+">"},Fr=function(e){return O7(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})};function Fo(e,t){var n=t,r=e.bold,o=e.italic,i=e.underline;return r&&(n="<strong>"+n+"</strong>"),e.code&&(n="<code>"+n+"</code>"),o&&(n="<em>"+n+"</em>"),i&&(n="<u>"+n+"</u>"),e.through&&(n="<s>"+n+"</s>"),e.sub&&(n="<sub>"+n+"</sub>"),e.sup&&(n="<sup>"+n+"</sup>"),n}function Fi(e,t){return 0!==e.length&&(!!e[0].matches(t)||e.find(t).length>0)}k5({target:"String",proto:!0,forced:Fr("bold")},{bold:function(){return Fn(this,"b","","")}}),k5({target:"String",proto:!0,forced:Fr("italics")},{italics:function(){return Fn(this,"i","","")}}),k5({target:"String",proto:!0,forced:Fr("sub")},{sub:function(){return Fn(this,"sub","","")}}),k5({target:"String",proto:!0,forced:Fr("sup")},{sup:function(){return Fn(this,"sup","","")}});var Fa={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Fu=A7("span").classList,Fs=Fu&&Fu.constructor&&Fu.constructor.prototype,Fl=Fs===Object.prototype?void 0:Fs,Fc=function(e,t){var n=[][e];return!!n&&O7(function(){n.call(null,t||function(){throw 1},1)})},Ff=Tm.forEach,Fd=Fc("forEach")?[].forEach:function(e){return Ff(this,e,arguments.length>1?arguments[1]:void 0)},Fp=function(e){if(e&&e.forEach!==Fd)try{ks(e,"forEach",Fd)}catch(t){e.forEach=Fd}};for(var Fh in Fa)Fa[Fh]&&Fp(O8[Fh]&&O8[Fh].prototype);function Fg(e,t){return null==e.selection||!!B7(ly.nodes(e,{match:function(t){return"pre"===Dn.getNodeType(t)||!!ly.isVoid(e,t)},universal:!0}),1)[0]}Fp(Fl),k5({target:"Object",stat:!0,forced:O7(function(){TB(1)})},{keys:function(e){return TB(AW(e))}});var Fv=function(){function e(){this.marksNeedToRemove=[],this.tag="button"}return e.prototype.getValue=function(e){var t=this.mark,n=ly.marks(e);return n?n[t]:!!B7(ly.nodes(e,{match:function(e){return!0===e[t]}}),1)[0]},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){return Fg(e,this.mark)},e.prototype.exec=function(e,t){var n=this.mark,r=this.marksNeedToRemove;t?e.removeMark(n):(e.addMark(n,!0),r&&r.forEach(function(t){return e.removeMark(t)}))},e}(),Fy='<svg viewBox="0 0 1024 1024"><path d="M864 0a160 160 0 0 1 128 256l-64 64-224-224 64-64c26.752-20.096 59.968-32 96-32zM64 736l-64 288 288-64 592-592-224-224L64 736z m651.584-372.416l-448 448-55.168-55.168 448-448 55.168 55.168z"></path></svg>',Fm='<svg viewBox="0 0 1024 1024"><path d="M924.402464 1023.068211H0.679665V99.345412h461.861399v98.909208H99.596867v725.896389h725.896389V561.206811h98.909208z" p-id="10909"></path><path d="M930.805104 22.977336l69.965436 69.965436-453.492405 453.492404-69.965435-69.901489z" p-id="10910"></path><path d="M1022.464381 304.030081h-98.917201V99.345412H709.230573V0.428211h313.233808z"></path></svg>',Fb=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="bold",t.title=OP("textStyle.bold"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M707.872 484.64A254.88 254.88 0 0 0 768 320c0-141.152-114.848-256-256-256H192v896h384c141.152 0 256-114.848 256-256a256.096 256.096 0 0 0-124.128-219.36zM384 192h101.504c55.968 0 101.504 57.408 101.504 128s-45.536 128-101.504 128H384V192z m159.008 640H384v-256h159.008c58.464 0 106.016 57.408 106.016 128s-47.552 128-106.016 128z"></path></svg>',t.hotkey="mod+b",t}return B4(t,e),t}(Fv),Fw=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="code",t.title=OP("textStyle.code"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M576 736l96 96 320-320L672 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224z"></path></svg>',t.hotkey="mod+e",t}return B4(t,e),t}(Fv),FE=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="italic",t.title=OP("textStyle.italic"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M896 64v64h-128L448 896h128v64H128v-64h128L576 128h-128V64z"></path></svg>',t.hotkey="mod+i",t}return B4(t,e),t}(Fv),FD=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="through",t.title=OP("textStyle.through"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M1024 512v64h-234.496c27.52 38.496 42.496 82.688 42.496 128 0 70.88-36.672 139.04-100.576 186.976C672.064 935.488 594.144 960 512 960s-160.064-24.512-219.424-69.024C228.64 843.04 192 774.88 192 704h128c0 69.376 87.936 128 192 128s192-58.624 192-128-87.936-128-192-128H0v-64h299.52a385.984 385.984 0 0 1-6.944-5.024C228.64 459.04 192 390.88 192 320s36.672-139.04 100.576-186.976C351.936 88.512 429.856 64 512 64s160.064 24.512 219.424 69.024C795.328 180.96 832 249.12 832 320h-128c0-69.376-87.936-128-192-128s-192 58.624-192 128 87.936 128 192 128c78.976 0 154.048 22.688 212.48 64H1024z"></path></svg>',t.hotkey="mod+shift+x",t}return B4(t,e),t}(Fv),FS=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="underline",t.title=OP("textStyle.underline"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M704 64l128 0 0 416c0 159.072-143.264 288-320 288s-320-128.928-320-288l0-416 128 0 0 416c0 40.16 18.24 78.688 51.36 108.512 36.896 33.216 86.848 51.488 140.64 51.488s103.744-18.304 140.64-51.488c33.12-29.792 51.36-68.352 51.36-108.512l0-416zM192 832l640 0 0 128-640 0z"></path></svg>',t.hotkey="mod+u",t}return B4(t,e),t}(Fv),Fx=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="sub",t.marksNeedToRemove=["sup"],t.title=OP("textStyle.sub"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M768 910.016v50.016h128v64h-192v-146.016l128-60V768h-128v-64h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>',t.hotkey="",t}return B4(t,e),t}(Fv),FC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mark="sup",t.marksNeedToRemove=["sub"],t.title=OP("textStyle.sup"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M768 206.016v50.016h128v64h-192V174.016l128-60V64h-128V0h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>',t.hotkey="",t}return B4(t,e),t}(Fv),FO=function(){function e(){this.title=OP("textStyle.clear"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M969.382408 288.738615l-319.401123-270.852152a67.074236 67.074236 0 0 0-96.459139 5.74922l-505.931379 574.922021a68.35184 68.35184 0 0 0-17.886463 47.910169 74.101061 74.101061 0 0 0 24.274486 47.910168l156.50655 132.232065h373.060512L975.131628 383.281347a67.074236 67.074236 0 0 0-5.74922-96.459139z m-440.134747 433.746725H264.144729l-90.071117-78.572676c-5.74922-5.74922-12.137243-12.137243-12.137243-17.886463a36.411728 36.411728 0 0 1 5.749221-24.274485l210.804741-240.828447 265.102932 228.691204z m-439.495945 180.781036h843.218964a60.047411 60.047411 0 1 1 0 120.733624H89.751716a60.047411 60.047411 0 1 1 0-120.733624z m0 0"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return Fg(e)},e.prototype.exec=function(e,t){var n,r,o=ly.nodes(e,{match:function(e){return l$.isText(e)},universal:!0});try{for(var i=B8(o),a=i.next();!a.done;a=i.next())!function(e,t){Object.keys(t).forEach(function(t){"text"!==t&&ly.removeMark(e,t)})}(e,a.value[0])}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},e}();function FA(e){return function(t,n,r){return dw("h"+e,null,n)}}var Fk={type:"header1",renderElem:FA(1)},FT={type:"header2",renderElem:FA(2)},FB={type:"header3",renderElem:FA(3)},FF={type:"header4",renderElem:FA(4)},F_={type:"header5",renderElem:FA(5)},FP=kB.PROPER,Fj=RegExp.prototype,FI=Fj.toString,FN=Ac(TC),FR=O7(function(){return"/a/b"!=FI.call({source:"a",flags:"b"})}),FL=FP&&"toString"!=FI.name;(FR||FL)&&kF(RegExp.prototype,"toString",function(){var e=ko(this),t=Tx(e.source),n=e.flags;return"/"+t+"/"+Tx(void 0===n&&AS(Fj,e)&&!("flags"in Fj)?FN(e):n)},{unsafe:!0});var FM,Fz=O8.TypeError,F$=function(e){if(BB(e))throw Fz("The method doesn't accept regular expressions");return e},FH=A2("match"),FU=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[FH]=!1,"/./"[e](t)}catch(e){}}return!1},FV=kt.f,FW=Ac("".startsWith),Fq=Ac("".slice),FG=Math.min,FK=FU("startsWith");function FZ(e){var t=B7(ly.nodes(e,{match:function(e){return Dn.getNodeType(e).startsWith("header")},universal:!0}),1)[0];if(null==t)return"paragraph";var n=B7(t,1)[0];return Dn.getNodeType(n)}function FX(e){return null==e.selection||!B7(ly.nodes(e,{match:function(e){var t=Dn.getNodeType(e);return"paragraph"===t||!!t.startsWith("header")},universal:!0,mode:"highest"}),1)[0]}function FY(e,t){t&&l6.setNodes(e,{type:t})}k5({target:"String",proto:!0,forced:!(!FK&&(FM=FV(String.prototype,"startsWith"))&&!FM.writable||FK)},{startsWith:function(e){var t=Tx(Am(this));F$(e);var n=kM(FG(arguments.length>1?arguments[1]:void 0,t.length)),r=Tx(e);return FW?FW(t,r,n):Fq(t,n,n+r.length)===r}});var FJ=function(){function e(){this.title=OP("header.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M960 960c-51.2 0-102.4-3.2-153.6-3.2-51.2 0-99.2 3.2-150.4 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 57.6-28.8 86.4-48 19.2-12.8 19.2-60.8 19.2-80v-224-19.2c-9.6-3.2-19.2-3.2-28.8-3.2H320c-9.6 0-19.2 0-28.8 3.2V780.8c0 22.4 0 80 22.4 92.8 28.8 19.2 96-6.4 96 44.8 0 16-9.6 41.6-28.8 41.6-54.4 0-105.6-3.2-160-3.2-48 0-96 3.2-147.2 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 51.2-28.8 80-48 19.2-12.8 19.2-60.8 19.2-83.2V294.4c0-28.8 3.2-115.2-22.4-131.2-25.6-16-86.4 9.6-86.4-41.6 0-16 6.4-41.6 28.8-41.6 51.2 0 105.6 3.2 156.8 3.2 48 0 96-3.2 144-3.2 19.2 0 28.8 22.4 28.8 41.6 0 48-57.6 25.6-83.2 41.6-19.2 12.8-19.2 73.6-19.2 92.8v201.6c6.4 3.2 16 3.2 22.4 3.2h400c6.4 0 12.8 0 22.4-3.2V256c0-22.4 0-80-19.2-92.8-28.8-16-86.4 6.4-86.4-41.6 0-16 9.6-41.6 28.8-41.6 51.2 0 99.2 3.2 150.4 3.2 48 0 99.2-3.2 147.2-3.2 19.2 0 28.8 22.4 28.8 41.6 0 51.2-57.6 25.6-86.4 41.6-19.2 12.8-19.2 70.4-19.2 92.8v537.6c0 19.2 0 67.2 19.2 80 28.8 19.2 89.6-6.4 89.6 44.8 0 19.2-6.4 41.6-28.8 41.6z"></path></svg>',this.tag="select",this.width=60}return e.prototype.getOptions=function(e){var t=[{value:"header1",text:"H1",styleForRenderMenuList:{"font-size":"32px","font-weight":"bold"}},{value:"header2",text:"H2",styleForRenderMenuList:{"font-size":"24px","font-weight":"bold"}},{value:"header3",text:"H3",styleForRenderMenuList:{"font-size":"18px","font-weight":"bold"}},{value:"header4",text:"H4",styleForRenderMenuList:{"font-size":"16px","font-weight":"bold"}},{value:"header5",text:"H5",styleForRenderMenuList:{"font-size":"13px","font-weight":"bold"}},{value:"paragraph",text:OP("header.text")}],n=this.getValue(e).toString();return t.forEach(function(e){e.value===n?e.selected=!0:delete e.selected}),t},e.prototype.isActive=function(e){return!1},e.prototype.getValue=function(e){return FZ(e)},e.prototype.isDisabled=function(e){return FX(e)},e.prototype.exec=function(e,t){FY(e,t.toString())},e}(),FQ=function(){function e(){this.tag="button"}return e.prototype.getValue=function(e){return FZ(e)},e.prototype.isActive=function(e){return this.getValue(e)===this.type},e.prototype.isDisabled=function(e){return FX(e)},e.prototype.exec=function(e,t){var n=this.type;FY(e,t===n?"paragraph":n)},e}(),F0=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H1",t.type="header1",t}return B4(t,e),t}(FQ),F1=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H2",t.type="header2",t}return B4(t,e),t}(FQ),F2=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H3",t.type="header3",t}return B4(t,e),t}(FQ),F4=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H4",t.type="header4",t}return B4(t,e),t}(FQ),F3=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="H5",t.type="header5",t}return B4(t,e),t}(FQ);function F6(e){return function(t,n){return"<h"+e+">"+n+"</h"+e+">"}}function F5(e){return function(t,n,r){var o=c2(t);return 0===(n=n.filter(function(e){return!!l$.isText(e)||!!r.isInline(e)})).length&&(n=[{text:o.text().replace(/\s+/gm," ")}]),{type:"header"+e,children:n}}}var F8={renderElems:[Fk,FT,FB,FF,F_],elemsToHtml:[{type:"header1",elemToHtml:F6(1)},{type:"header2",elemToHtml:F6(2)},{type:"header3",elemToHtml:F6(3)},{type:"header4",elemToHtml:F6(4)},{type:"header5",elemToHtml:F6(5)}],parseElemsHtml:[{selector:"h1:not([data-w-e-type])",parseElemHtml:F5(1)},{selector:"h2:not([data-w-e-type])",parseElemHtml:F5(2)},{selector:"h3:not([data-w-e-type])",parseElemHtml:F5(3)},{selector:"h4:not([data-w-e-type])",parseElemHtml:F5(4)},{selector:"h5:not([data-w-e-type])",parseElemHtml:F5(5)}],menus:[{key:"headerSelect",factory:function(){return new FJ}},{key:"header1",factory:function(){return new F0}},{key:"header2",factory:function(){return new F1}},{key:"header3",factory:function(){return new F2}},{key:"header4",factory:function(){return new F4}},{key:"header5",factory:function(){return new F3}}],editorPlugin:function(e){var t=e.insertBreak;return e.insertNode,e.insertBreak=function(){var n=B7(ly.nodes(e,{match:function(e){return Dn.getNodeType(e).startsWith("header")},universal:!0}),1)[0];n&&Dn.isSelectionAtLineEnd(e,n[1])?l6.insertNodes(e,{type:"paragraph",children:[{text:""}]},{mode:"highest"}):t()},e}},F7=Object.assign,F9=Object.defineProperty,_e=Ac([].concat),_t=!F7||O7(function(){if(O9&&1!==F7({b:1},F7(F9({},"a",{enumerable:!0,get:function(){F9(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=F7({},e)[n]||TB(F7({},t)).join("")!=r})?function(e,t){for(var n=AW(e),r=arguments.length,o=1,i=kZ.f,a=Ao.f;r>o;)for(var u,s=Av(arguments[o++]),l=i?_e(TB(s),i(s)):TB(s),c=l.length,f=0;c>f;)u=l[f++],O9&&!At(a,s,u)||(n[u]=s[u]);return n}:F7;function _n(e,t){null==e.data&&(e.data={});var n=e.data;null==n.style&&(n.style={}),Object.assign(n.style,t)}k5({target:"Object",stat:!0,forced:Object.assign!==_t},{assign:_t});var _r=function(){function e(){this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.exec=function(e,t){},e.prototype.getValue=function(e){var t=this.mark,n=ly.marks(e);return n&&n[t]?n[t]:""},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){return null==e.selection||!!B7(ly.nodes(e,{match:function(t){return"pre"===Dn.getNodeType(t)||!!ly.isVoid(e,t)},universal:!0}),1)[0]},e.prototype.getPanelContentElem=function(e){var t=this.mark;if(null==this.$content){var n=c2('<ul class="w-e-panel-content-color"></ul>');n.on("click","li",function(n){var r=n.target;if(null!=r&&(n.preventDefault(),null!=e.selection)){var o=c2(r).attr("data-value");"0"===o?ly.removeMark(e,t):ly.addMark(e,t,o)}}),this.$content=n}var r=this.$content;if(null==r)return document.createElement("ul");r.empty();var o=this.getValue(e),i=e.getMenuConfig(t).colors;(void 0===i?[]:i).forEach(function(e){var t=c2('<div class="color-block" data-value="'+e+'"></div>');t.css("background-color",e);var n=c2('<li data-value="'+e+'"></li>');o===e&&n.addClass("active"),n.append(t),r.append(n)});var a="";"color"===t&&(a=OP("color.default")),"bgColor"===t&&(a=OP("color.clear"));var u=c2('\n <li data-value="0" class="clear">\n <svg viewBox="0 0 1024 1024"><path d="M236.8 128L896 787.2V128H236.8z m614.4 704L192 172.8V832h659.2zM192 64h704c38.4 0 64 25.6 64 64v704c0 38.4-25.6 64-64 64H192c-38.4 0-64-25.6-64-64V128c0-38.4 25.6-64 64-64z"></path></svg>\n '+a+"\n </li>\n ");return r.prepend(u),r[0]},e}(),_o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=OP("color.color"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M64 864h896v96H64zM360.58 576h302.85l81.53 224h102.16L579.24 64H444.77L176.89 800h102.16l81.53-224zM512 159.96L628.49 480H395.52L512 159.96z"></path></svg>',t.mark="color",t}return B4(t,e),t}(_r),_i=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=OP("color.bgColor"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M510.030769 315.076923l84.676923 196.923077h-177.230769l76.8-196.923077h15.753846zM945.230769 157.538462v708.923076c0 43.323077-35.446154 78.769231-78.769231 78.769231H157.538462c-43.323077 0-78.769231-35.446154-78.769231-78.769231V157.538462c0-43.323077 35.446154-78.769231 78.769231-78.769231h708.923076c43.323077 0 78.769231 35.446154 78.769231 78.769231z m-108.307692 643.938461L600.615385 216.615385c-5.907692-11.815385-15.753846-19.692308-29.538462-19.692308h-139.815385c-11.815385 0-23.630769 7.876923-27.56923 19.692308l-216.615385 584.861538c-3.938462 11.815385 3.938462 25.6 17.723077 25.6h80.738462c11.815385 0 23.630769-9.846154 27.56923-21.661538l63.015385-175.261539h263.876923l68.923077 175.261539c3.938462 11.815385 15.753846 21.661538 27.569231 21.661538h80.738461c13.784615 0 23.630769-13.784615 19.692308-25.6z"></path></svg>',t.mark="bgColor",t}return B4(t,e),t}(_r),_a=["rgb(0, 0, 0)","rgb(38, 38, 38)","rgb(89, 89, 89)","rgb(140, 140, 140)","rgb(191, 191, 191)","rgb(217, 217, 217)","rgb(233, 233, 233)","rgb(245, 245, 245)","rgb(250, 250, 250)","rgb(255, 255, 255)","rgb(225, 60, 57)","rgb(231, 95, 51)","rgb(235, 144, 58)","rgb(245, 219, 77)","rgb(114, 192, 64)","rgb(89, 191, 192)","rgb(66, 144, 247)","rgb(54, 88, 226)","rgb(106, 57, 201)","rgb(216, 68, 147)","rgb(251, 233, 230)","rgb(252, 237, 225)","rgb(252, 239, 212)","rgb(252, 251, 207)","rgb(231, 246, 213)","rgb(218, 244, 240)","rgb(217, 237, 250)","rgb(224, 232, 250)","rgb(237, 225, 248)","rgb(246, 226, 234)","rgb(255, 163, 158)","rgb(255, 187, 150)","rgb(255, 213, 145)","rgb(255, 251, 143)","rgb(183, 235, 143)","rgb(135, 232, 222)","rgb(145, 213, 255)","rgb(173, 198, 255)","rgb(211, 173, 247)","rgb(255, 173, 210)","rgb(255, 77, 79)","rgb(255, 122, 69)","rgb(255, 169, 64)","rgb(255, 236, 61)","rgb(115, 209, 61)","rgb(54, 207, 201)","rgb(64, 169, 255)","rgb(89, 126, 247)","rgb(146, 84, 222)","rgb(247, 89, 171)","rgb(207, 19, 34)","rgb(212, 56, 13)","rgb(212, 107, 8)","rgb(212, 177, 6)","rgb(56, 158, 13)","rgb(8, 151, 156)","rgb(9, 109, 217)","rgb(29, 57, 196)","rgb(83, 29, 171)","rgb(196, 29, 127)","rgb(130, 0, 20)","rgb(135, 20, 0)","rgb(135, 56, 0)","rgb(97, 71, 0)","rgb(19, 82, 0)","rgb(0, 71, 79)","rgb(0, 58, 140)","rgb(6, 17, 120)","rgb(34, 7, 94)","rgb(120, 6, 80)"],_u=/^(?:\w+:)?\/\/(\S+)$/,_s=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,_l=/^[^\s\.]+\.\S{2,}$/,_c=kH.includes;function _f(e){return void 0===e&&(e="r"),e+"-"+fH()}function _d(e){return e.replace(/</g,"<").replace(/>/g,">")}function _p(e,t,n,r){return B6(this,void 0,void 0,function(){var o,i;return B5(this,function(a){switch(a.label){case 0:return(o=t.getMenuConfig(e).checkLink)?[4,o(n,r)]:[3,2];case 1:if("string"==typeof(i=a.sent()))return t.alert(i,"error"),[2,!1];if(null==i)return[2,!1];a.label=2;case 2:return[2,!0]}})})}function _h(e,t,n){return B6(this,void 0,void 0,function(){var r;return B5(this,function(o){switch(o.label){case 0:return(r=t.getMenuConfig(e).parseLinkUrl)?[4,r(n)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,n]}})})}function _g(e){return null==e.selection||!!Dn.getSelectedElems(e).some(function(t){var n=t.type;return!!e.isVoid(t)||!!["pre","code","link"].includes(n)||void 0})}function _v(e,t){return{type:"link",url:_d(e),children:t?[{text:t}]:[]}}function _y(e,t,n){return B6(this,void 0,void 0,function(){var r,o,i;return B5(this,function(a){switch(a.label){case 0:return n?(t||(t=n),e.restoreSelection(),_g(e)?[2]:[4,_p("insertLink",e,t,n)]):[2];case 1:return a.sent()?[4,_h("insertLink",e,n)]:[2];case 2:return r=a.sent(),null==(o=e.selection)||(lj.isCollapsed(o)?(e.insertText(" "),i=_v(r,t),l6.insertNodes(e,i),e.insertFragment([{text:" "}])):ly.string(e,o)!==t?(e.deleteFragment(),i=_v(r,t),l6.insertNodes(e,i)):(i=_v(r),l6.wrapNodes(e,i,{split:!0}),l6.collapse(e,{edge:"end"}))),[2]}})})}function _m(){return _f("w-e-insert-link")}k5({target:"Array",proto:!0},{includes:function(e){return _c(this,e,arguments.length>1?arguments[1]:void 0)}}),BO("includes");var _b=function(){function e(){this.title=OP("link.insert"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M440.224 635.776a51.84 51.84 0 0 1-36.768-15.232c-95.136-95.136-95.136-249.92 0-345.056l192-192C641.536 37.408 702.816 12.032 768 12.032s126.432 25.376 172.544 71.456c95.136 95.136 95.136 249.92 0 345.056l-87.776 87.776a51.968 51.968 0 1 1-73.536-73.536l87.776-87.776a140.16 140.16 0 0 0 0-197.984c-26.432-26.432-61.6-40.992-99.008-40.992s-72.544 14.56-99.008 40.992l-192 192a140.16 140.16 0 0 0 0 197.984 51.968 51.968 0 0 1-36.768 88.768z"></path><path d="M256 1012a242.4 242.4 0 0 1-172.544-71.456c-95.136-95.136-95.136-249.92 0-345.056l87.776-87.776a51.968 51.968 0 1 1 73.536 73.536l-87.776 87.776a140.16 140.16 0 0 0 0 197.984c26.432 26.432 61.6 40.992 99.008 40.992s72.544-14.56 99.008-40.992l192-192a140.16 140.16 0 0 0 0-197.984 51.968 51.968 0 1 1 73.536-73.536c95.136 95.136 95.136 249.92 0 345.056l-192 192A242.4 242.4 0 0 1 256 1012z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.textInputId=_m(),this.urlInputId=_m(),this.buttonId=_m()}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return _g(e)},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=e.selection,n=this.textInputId,r=this.urlInputId,o=this.buttonId,i=B7(CI(OP("link.text"),n),2),a=i[0],u=c2(i[1]),s=B7(CI(OP("link.url"),r),2),l=s[0],c=c2(s[1]),f=B7(CN(o,OP("common.ok")),1)[0];if(null==this.$content){var d=c2("<div></div>");d.on("click","#"+o,function(t){t.preventDefault(),_y(e,d.find("#"+n).val(),d.find("#"+r).val()),e.hidePanelOrModal()}),this.$content=d}var p=this.$content;if(p.empty(),p.append(a),p.append(l),p.append(f),null==t||lj.isCollapsed(t))u.val("");else{var h=ly.string(e,t);u.val(h)}return c.val(""),setTimeout(function(){u.focus()}),p[0]},e}();function _w(){return _f("w-e-update-link")}var _E=function(){function e(){this.title=OP("link.edit"),this.iconSvg=Fy,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.urlInputId=_w(),this.buttonId=_w()}return e.prototype.getSelectedLinkElem=function(e){var t=Dn.getSelectedNodeByType(e,"link");return null==t?null:t},e.prototype.getValue=function(e){var t=this.getSelectedLinkElem(e);return t&&t.url||""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedLinkElem(e)},e.prototype.getModalPositionNode=function(e){return Dn.getSelectedNodeByType(e,"link")},e.prototype.getModalContentElem=function(e){var t=this.urlInputId,n=this.buttonId,r=B7(CI(OP("link.url"),t),2),o=r[0],i=c2(r[1]),a=B7(CN(n,OP("common.ok")),1)[0];if(null==this.$content){var u=c2("<div></div>");u.on("click","button",function(n){n.preventDefault(),e.restoreSelection();var r=Dn.getSelectedNodeByType(e,"link");!function(e,t,n){B6(this,void 0,void 0,function(){var r;return B5(this,function(o){switch(o.label){case 0:return n?[4,_p("editLink",e,t,n)]:[2];case 1:return o.sent()?[4,_h("editLink",e,n)]:[2];case 2:return r={url:_d(o.sent())},l6.setNodes(e,r,{match:function(e){return Dn.checkNodeType(e,"link")}}),[2]}})})}(e,r?lD.string(r):"",u.find("#"+t).val()),e.hidePanelOrModal()}),this.$content=u}var s=this.$content;s.empty(),s.append(o),s.append(a);var l=this.getValue(e);return i.val(l),setTimeout(function(){i.focus()}),s[0]},e}(),_D=function(){function e(){this.title=OP("link.unLink"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M608.16328 811.815036c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.347563 89.347564c-118.525421 118.523421-311.38448 118.531421-429.919901 0-118.527421-118.529421-118.527421-311.39048 0-429.917901l89.349564-89.349563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.195613 79.195613c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.349563 89.347564c-56.143726 56.145726-56.143726 147.49928 0 203.645005 56.143726 56.143726 147.49928 56.145726 203.647005 0l89.347564-89.347563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.193613 79.195613z m-113.135447-520.429459c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.347564-89.347564c56.143726-56.149726 147.49928-56.145726 203.647006 0 56.143726 56.145726 56.143726 147.49928 0 203.645006l-89.349564 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.195613 79.195613c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.349564-89.349563c118.529421-118.529421 118.529421-311.38848 0-429.917901-118.531421-118.527421-311.38848-118.527421-429.919901 0l-89.347563 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.193613 79.195613z m469.653707 718.556492l45.253779-45.253779c18.745908-18.745908 18.745908-49.13776 0-67.881669L127.195629 14.062931c-18.745908-18.745908-49.13776-18.745908-67.881669 0L14.058181 59.31871c-18.745908 18.745908-18.745908 49.13776 0 67.881669l882.74169 882.74169c18.745908 18.743908 49.13776 18.743908 67.881669 0z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||null==Dn.getSelectedNodeByType(e,"link")},e.prototype.exec=function(e,t){this.isDisabled(e)||l6.unwrapNodes(e,{match:function(e){return Dn.checkNodeType(e,"link")}})},e}(),_S=function(){function e(){this.title=OP("link.view"),this.iconSvg=Fm,this.tag="button"}return e.prototype.getSelectedLinkElem=function(e){var t=Dn.getSelectedNodeByType(e,"link");return null==t?null:t},e.prototype.getValue=function(e){var t=this.getSelectedLinkElem(e);return t&&t.url||""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedLinkElem(e)},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){if(!t||"string"!=typeof t)throw Error("View link failed, link url is '"+t+"'");window.open(t,"_blank")}},e}(),_x={checkLink:function(e,t){return!0},parseLinkUrl:function(e){return e}},_C=Ac(1..valueOf),_O=O8.RangeError,_A=O8.RangeError,_k=O8.String,_T=Math.floor,_B=Ac(function(e){var t=Tx(Am(this)),n="",r=kj(e);if(r<0||r==1/0)throw _O("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n}),_F=Ac("".slice),__=Ac(1..toFixed),_P=function(e,t,n){return 0===t?n:t%2==1?_P(e,t-1,n*e):_P(e*e,t/2,n)},_j=function(e,t,n){for(var r=-1,o=n;++r<6;)o+=t*e[r],e[r]=o%1e7,o=_T(o/1e7)},_I=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=_T(r/t),r=r%t*1e7},_N=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=_k(e[t]);n=""===n?r:n+_B("0",7-r.length)+r}return n};function _R(e,t){return"w-e-image-container-"+Dn.findKey(e,t).id}function _L(e,t,n,r,o){return void 0===r&&(r=""),void 0===o&&(o=""),B6(this,void 0,void 0,function(){var i,a;return B5(this,function(u){switch(u.label){case 0:return(i=t.getMenuConfig(e).checkImage)?[4,i(n,r,o)]:[3,2];case 1:if("string"==typeof(a=u.sent()))return t.alert(a,"error"),[2,!1];if(null==a)return[2,!1];u.label=2;case 2:return[2,!0]}})})}function _M(e,t,n){return B6(this,void 0,void 0,function(){var r;return B5(this,function(o){switch(o.label){case 0:return(r=t.getMenuConfig(e).parseImageSrc)?[4,r(n)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,n]}})})}function _z(e,t,n,r){return void 0===n&&(n=""),void 0===r&&(r=""),B6(this,void 0,void 0,function(){var o,i;return B5(this,function(a){switch(a.label){case 0:return[4,_L("insertImage",e,t,n,r)];case 1:return a.sent()?[4,_M("insertImage",e,t)]:[2];case 2:return o={type:"image",src:_d(a.sent()),href:r,alt:n,style:{},children:[{text:""}]},null===e.selection&&e.restoreSelection(),Dn.getSelectedNodeByType(e,"image")&&e.move(1),_$(e)||(l6.insertNodes(e,o),(i=e.getMenuConfig("insertImage").onInsertedImage)&&i(o)),[2]}})})}function _$(e){var t=e.selection;return null==t||!lj.isCollapsed(t)||!!B7(ly.nodes(e,{match:function(t){var n=Dn.getNodeType(t);return"code"===n||"pre"===n||"link"===n||"list-item"===n||!!n.startsWith("header")||"blockquote"===n||!!ly.isVoid(e,t)},universal:!0}),1)[0]}function _H(){return _f("w-e-insert-image")}k5({target:"Number",proto:!0,forced:O7(function(){return"0.000"!==__(8e-5,3)||"1"!==__(.9,0)||"1.25"!==__(1.255,2)||"1000000000000000128"!==__(0xde0b6b3a7640080,0)})||!O7(function(){__({})})},{toFixed:function(e){var t,n,r,o,i=_C(this),a=kj(e),u=[0,0,0,0,0,0],s="",l="0";if(a<0||a>20)throw _A("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return _k(i);if(i<0&&(s="-",i=-i),i>1e-21)if(n=((t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(i*_P(2,69,1))-69)<0?i*_P(2,-t,1):i/_P(2,t,1))*0x10000000000000,(t=52-t)>0){for(_j(u,0,n),r=a;r>=7;)_j(u,1e7,0),r-=7;for(_j(u,_P(10,r,1),0),r=t-1;r>=23;)_I(u,8388608),r-=23;_I(u,1<<r),_j(u,1,1),_I(u,2),l=_N(u)}else _j(u,0,n),_j(u,1<<-t,0),l=_N(u)+_B("0",a);return a>0?s+((o=l.length)<=a?"0."+_B("0",a-o)+l:_F(l,0,o-a)+"."+_F(l,o-a)):s+l}});var _U=function(){function e(){this.title=OP("image.netImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=_H(),this.altInputId=_H(),this.hrefInputId=_H(),this.buttonId=_H()}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return _$(e)},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=this,n=this.srcInputId,r=this.altInputId,o=this.hrefInputId,i=this.buttonId,a=B7(CI(OP("image.src"),n),2),u=a[0],s=c2(a[1]),l=B7(CI(OP("image.desc"),r),2),c=l[0],f=c2(l[1]),d=B7(CI(OP("image.link"),o),2),p=d[0],h=c2(d[1]),g=B7(CN(i,OP("common.ok")),1)[0];if(null==this.$content){var v=c2("<div></div>");v.on("click","#"+i,function(i){i.preventDefault();var a=v.find("#"+n).val().trim(),u=v.find("#"+r).val().trim(),s=v.find("#"+o).val().trim();t.insertImage(e,a,u,s),e.hidePanelOrModal()}),this.$content=v}var y=this.$content;return y.empty(),y.append(u),y.append(c),y.append(p),y.append(g),s.val(""),f.val(""),h.val(""),setTimeout(function(){s.focus()}),y[0]},e.prototype.insertImage=function(e,t,n,r){void 0===n&&(n=""),void 0===r&&(r=""),t&&(e.restoreSelection(),this.isDisabled(e)||_z(e,t,n,r))},e}(),_V=function(){function e(){this.title=OP("image.delete"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||null==Dn.getSelectedNodeByType(e,"image")},e.prototype.exec=function(e,t){this.isDisabled(e)||l6.removeNodes(e,{match:function(e){return Dn.checkNodeType(e,"image")}})},e}();function _W(){return _f("w-e-edit-image")}var _q=function(){function e(){this.title=OP("image.edit"),this.iconSvg=Fy,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=_W(),this.altInputId=_W(),this.hrefInputId=_W(),this.buttonId=_W()}return e.prototype.getValue=function(e){return""},e.prototype.getImageNode=function(e){return Dn.getSelectedNodeByType(e,"image")},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!lj.isCollapsed(t)||null==Dn.getSelectedNodeByType(e,"image")},e.prototype.getModalPositionNode=function(e){return this.getImageNode(e)},e.prototype.getModalContentElem=function(e){var t=this,n=this.srcInputId,r=this.altInputId,o=this.hrefInputId,i=this.buttonId,a=this.getImageNode(e);if(null==a)throw Error("Not found selected image node");var u=B7(CI(OP("image.src"),n),2),s=u[0],l=c2(u[1]),c=B7(CI(OP("image.desc"),r),2),f=c[0],d=c2(c[1]),p=B7(CI(OP("image.link"),o),2),h=p[0],g=c2(p[1]),v=B7(CN(i,OP("common.ok")),1)[0];if(null==this.$content){var y=c2("<div></div>");y.on("click","#"+i,function(i){i.preventDefault();var a=y.find("#"+n).val(),u=y.find("#"+r).val(),s=y.find("#"+o).val();t.updateImage(e,a,u,s),e.hidePanelOrModal()}),this.$content=y}var m=this.$content;m.empty(),m.append(s),m.append(f),m.append(h),m.append(v);var b=a.src,w=a.alt,E=a.href;return l.val(b),d.val(void 0===w?"":w),g.val(void 0===E?"":E),setTimeout(function(){l.focus()}),m[0]},e.prototype.updateImage=function(e,t,n,r,o){void 0===n&&(n=""),void 0===r&&(r=""),void 0===o&&(o={}),t&&(e.restoreSelection(),this.isDisabled(e)||function(e,t,n,r,o){void 0===n&&(n=""),void 0===r&&(r=""),void 0===o&&(o={}),B6(this,void 0,void 0,function(){var i,a,u,s,l,c;return B5(this,function(f){switch(f.label){case 0:return[4,_L("editImage",e,t,n,r)];case 1:return f.sent()?[4,_M("editImage",e,t)]:[2];case 2:return i=f.sent(),null==(a=Dn.getSelectedNodeByType(e,"image"))||(u=a.style,s={src:i,alt:n,href:r,style:B3(B3({},void 0===u?{}:u),o)},l6.setNodes(e,s,{match:function(e){return Dn.checkNodeType(e,"image")}}),l=Dn.getSelectedNodeByType(e,"image"),(c=e.getMenuConfig("editImage").onUpdatedImage)&&c(l)),[2]}})})}(e,t,n,r,o))},e}(),_G=function(){function e(){this.title=OP("image.viewLink"),this.iconSvg=Fm,this.tag="button"}return e.prototype.getValue=function(e){var t=Dn.getSelectedNodeByType(e,"image");return t&&t.href||""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||!this.getValue(e)},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){if(!t||"string"!=typeof t)throw Error("View image link failed, image.href is '"+t+"'");window.open(t,"_blank")}},e}(),_K=function(){function e(){this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.getSelectedNode=function(e){return Dn.getSelectedNodeByType(e,"image")},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedNode(e)},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=this.getSelectedNode(e);if(null!=n){var r=Dn.getHoverbar(e);r&&r.hideAndClean();var o=n.style,i={style:B3(B3({},void 0===o?{}:o),{width:this.value,height:""})};l6.setNodes(e,i,{match:function(e){return Dn.checkNodeType(e,"image")}})}}},e}(),_Z=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="30%",t.value="30%",t}return B4(t,e),t}(_K),_X=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="50%",t.value="50%",t}return B4(t,e),t}(_K),_Y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="100%",t.value="100%",t}return B4(t,e),t}(_K),_J={onInsertedImage:function(e){},onUpdatedImage:function(e){},checkImage:function(e,t,n){return!0},parseImageSrc:function(e){return e}},_Q=function(){function e(){this.title=OP("todo.todo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M278.755556 403.911111l-79.644445 79.644445L455.111111 739.555556l568.888889-568.888889-79.644444-79.644445L455.111111 580.266667l-176.355555-176.355556zM910.222222 910.222222H113.777778V113.777778h568.888889V0H113.777778C51.2 0 0 51.2 0 113.777778v796.444444c0 62.577778 51.2 113.777778 113.777778 113.777778h796.444444c62.577778 0 113.777778-51.2 113.777778-113.777778V455.111111h-113.777778v455.111111z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!!Dn.getSelectedNodeByType(e,"todo")},e.prototype.isDisabled=function(e){return null==e.selection||!!Dn.getSelectedElems(e).some(function(t){return!!(ly.isVoid(e,t)&&ly.isBlock(e,t))||!!["pre","table","list-item"].includes(t.type)||void 0})},e.prototype.exec=function(e,t){var n=this.isActive(e);l6.setNodes(e,{type:n?"paragraph":"todo"})},e}(),_0=function(){function e(){this.title=OP("blockQuote.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M894.6 907.1H605.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C752.7 180.4 711.3 315.8 711.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z m-472 0H133.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C280.7 180.4 239.3 315.8 239.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!!Dn.getSelectedNodeByType(e,"blockquote")},e.prototype.isDisabled=function(e){return null==e.selection||!B7(ly.nodes(e,{match:function(e){var t=Dn.getNodeType(e);return"paragraph"===t||"blockquote"===t},universal:!0,mode:"highest"}),1)[0]},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=this.isActive(e)?"paragraph":"blockquote";l6.setNodes(e,{type:n},{mode:"highest"})}},e}(),_1=Ac([].slice),_2=Tw("slice"),_4=A2("species"),_3=O8.Array,_6=Math.max;k5({target:"Array",proto:!0,forced:!_2},{slice:function(e,t){var n,r,o,i=Ab(this),a=kz(i),u=kR(e,a),s=kR(void 0===t?a:t,a);if(k7(i)&&((Td(n=i.constructor)&&(n===_3||k7(n.prototype))||AE(n)&&null===(n=n[_4]))&&(n=void 0),n===_3||void 0===n))return _1(i,u,s);for(r=new(void 0===n?_3:n)(_6(s-u,0)),o=0;u<s;u++,o++)u in i&&BP(r,o,i[u]);return r.length=o,r}});var _5=function(){function e(){this.title=OP("emotion.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512z m0-102.4c226.742857 0 409.6-182.857143 409.6-409.6S738.742857 102.4 512 102.4 102.4 285.257143 102.4 512s182.857143 409.6 409.6 409.6z m-204.8-358.4h409.6c0 113.371429-91.428571 204.8-204.8 204.8s-204.8-91.428571-204.8-204.8z m0-102.4c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8 76.8 32.914286 76.8 76.8-32.914286 76.8-76.8 76.8z m409.6 0c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8c43.885714 0 76.8 32.914286 76.8 76.8s-32.914286 76.8-76.8 76.8z"></path></svg>',this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.exec=function(e,t){},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||!!B7(ly.nodes(e,{match:function(t){return"pre"===Dn.getNodeType(t)||!!ly.isVoid(e,t)},universal:!0}),1)[0]},e.prototype.getPanelContentElem=function(e){if(null==this.$content){var t=c2('<ul class="w-e-panel-content-emotion"></ul>');t.on("click","li",function(t){var n=t.target;if(null!=n){t.preventDefault();var r=c2(n).text();e.insertText(r)}}),this.$content=t}var n=this.$content;if(null==n)return document.createElement("ul");n.empty();var r=e.getMenuConfig("emotion").emotions;return(void 0===r?[]:r).forEach(function(e){var t=c2("<li>"+e+"</li>");n.append(t)}),n[0]},e}(),_8={1:"12px",2:"14px",3:"16px",4:"19px",5:"24px",6:"32px",7:"48px"},_7=Ac("".indexOf);k5({target:"String",proto:!0,forced:!FU("includes")},{includes:function(e){return!!~_7(Tx(Am(this)),Tx(F$(e)),arguments.length>1?arguments[1]:void 0)}});var _9,Pe,Pt=function(e){return e&&e.Math==Math&&e},Pn=Pt("object"==typeof globalThis&&globalThis)||Pt("object"==typeof window&&window)||Pt("object"==typeof self&&self)||Pt("object"==typeof OJ&&OJ)||function(){return this}()||Function("return this")(),Pr=Function.prototype,Po=Pr.apply,Pi=Pr.bind,Pa=Pr.call,Pu="object"==typeof Reflect&&Reflect.apply||(Pi?Pa.bind(Po):function(){return Pa.apply(Po,arguments)}),Ps=Function.prototype,Pl=Ps.bind,Pc=Ps.call,Pf=Pl&&Pl.bind(Pc),Pd=Pl?function(e){return e&&Pf(Pc,e)}:function(e){return e&&function(){return Pc.apply(e,arguments)}},Pp=function(e){return"function"==typeof e},Ph=function(e){try{return!!e()}catch(e){return!0}},Pg=!Ph(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),Pv=Function.prototype.call,Py=Pv.bind?Pv.bind(Pv):function(){return Pv.apply(Pv,arguments)},Pm={}.propertyIsEnumerable,Pb=Object.getOwnPropertyDescriptor,Pw={f:Pb&&!Pm.call({1:2},1)?function(e){var t=Pb(this,e);return!!t&&t.enumerable}:Pm},PE=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},PD=Pd({}.toString),PS=Pd("".slice),Px=function(e){return PS(PD(e),8,-1)},PC=Pn.Object,PO=Pd("".split),PA=Ph(function(){return!PC("z").propertyIsEnumerable(0)})?function(e){return"String"==Px(e)?PO(e,""):PC(e)}:PC,Pk=Pn.TypeError,PT=function(e){if(null==e)throw Pk("Can't call method on "+e);return e},PB=function(e){return PA(PT(e))},PF=function(e){return"object"==typeof e?null!==e:Pp(e)},P_={},PP=function(e){return Pp(e)?e:void 0},Pj=function(e,t){return arguments.length<2?PP(P_[e])||PP(Pn[e]):P_[e]&&P_[e][t]||Pn[e]&&Pn[e][t]},PI=Pd({}.isPrototypeOf),PN=Pj("navigator","userAgent")||"",PR=Pn.process,PL=Pn.Deno,PM=PR&&PR.versions||PL&&PL.version,Pz=PM&&PM.v8;Pz&&(Pe=(_9=Pz.split("."))[0]>0&&_9[0]<4?1:+(_9[0]+_9[1])),!Pe&&PN&&(!(_9=PN.match(/Edge\/(\d+)/))||_9[1]>=74)&&(_9=PN.match(/Chrome\/(\d+)/))&&(Pe=+_9[1]);var P$=Pe,PH=!!Object.getOwnPropertySymbols&&!Ph(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&P$&&P$<41}),PU=PH&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,PV=Pn.Object,PW=PU?function(e){return"symbol"==typeof e}:function(e){var t=Pj("Symbol");return Pp(t)&&PI(t.prototype,PV(e))},Pq=Pn.String,PG=Pn.TypeError,PK=function(e){if(Pp(e))return e;throw PG(function(e){try{return Pq(e)}catch(e){return"Object"}}(e)+" is not a function")},PZ=Pn.TypeError,PX=Object.defineProperty,PY=Pn["__core-js_shared__"]||function(e,t){try{PX(Pn,e,{value:t,configurable:!0,writable:!0})}catch(n){Pn[e]=t}return t}("__core-js_shared__",{}),PJ=OQ(function(e){(e.exports=function(e,t){return PY[e]||(PY[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})}),PQ=Pn.Object,P0=function(e){return PQ(PT(e))},P1=Pd({}.hasOwnProperty),P2=Object.hasOwn||function(e,t){return P1(P0(e),t)},P4=0,P3=Math.random(),P6=Pd(1..toString),P5=function(e){return"Symbol("+(void 0===e?"":e)+")_"+P6(++P4+P3,36)},P8=PJ("wks"),P7=Pn.Symbol,P9=P7&&P7.for,je=PU?P7:P7&&P7.withoutSetter||P5,jt=function(e){if(!P2(P8,e)||!PH&&"string"!=typeof P8[e]){var t="Symbol."+e;PH&&P2(P7,e)?P8[e]=P7[e]:P8[e]=PU&&P9?P9(t):je(t)}return P8[e]},jn=Pn.TypeError,jr=jt("toPrimitive"),jo=function(e){var t=function(e,t){if(!PF(e)||PW(e))return e;var n,r,o=null==(n=e[jr])?void 0:PK(n);if(o){if(void 0===t&&(t="default"),!PF(r=Py(o,e,t))||PW(r))return r;throw jn("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&Pp(n=e.toString)&&!PF(r=Py(n,e))||Pp(n=e.valueOf)&&!PF(r=Py(n,e))||"string"!==t&&Pp(n=e.toString)&&!PF(r=Py(n,e)))return r;throw PZ("Can't convert object to primitive value")}(e,t)}(e,"string");return PW(t)?t:t+""},ji=Pn.document,ja=PF(ji)&&PF(ji.createElement),ju=function(e){return ja?ji.createElement(e):{}},js=!Pg&&!Ph(function(){return 7!=Object.defineProperty(ju("div"),"a",{get:function(){return 7}}).a}),jl=Object.getOwnPropertyDescriptor,jc={f:Pg?jl:function(e,t){if(e=PB(e),t=jo(t),js)try{return jl(e,t)}catch(e){}if(P2(e,t))return PE(!Py(Pw.f,e,t),e[t])}},jf=/#|\.prototype\./,jd=function(e,t){var n=jh[jp(e)];return n==jv||n!=jg&&(Pp(t)?Ph(t):!!t)},jp=jd.normalize=function(e){return String(e).replace(jf,".").toLowerCase()},jh=jd.data={},jg=jd.NATIVE="N",jv=jd.POLYFILL="P",jy=Pd(Pd.bind),jm=function(e,t){return PK(e),void 0===t?e:jy?jy(e,t):function(){return e.apply(t,arguments)}},jb=Pn.String,jw=Pn.TypeError,jE=function(e){if(PF(e))return e;throw jw(jb(e)+" is not an object")},jD=Pn.TypeError,jS=Object.defineProperty,jx={f:Pg?jS:function(e,t,n){if(jE(e),t=jo(t),jE(n),js)try{return jS(e,t,n)}catch(e){}if("get"in n||"set"in n)throw jD("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},jC=Pg?function(e,t,n){return jx.f(e,t,PE(1,n))}:function(e,t,n){return e[t]=n,e},jO=jc.f,jA=function(e){var t=function(n,r,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,o)}return Pu(e,this,arguments)};return t.prototype=e.prototype,t},jk=function(e,t){var n,r,o,i,a,u,s,l,c=e.target,f=e.global,d=e.stat,p=e.proto,h=f?Pn:d?Pn[c]:(Pn[c]||{}).prototype,g=f?P_:P_[c]||jC(P_,c,{})[c],v=g.prototype;for(o in t)n=!jd(f?o:c+(d?".":"#")+o,e.forced)&&h&&P2(h,o),a=g[o],n&&(u=e.noTargetGet?(l=jO(h,o))&&l.value:h[o]),i=n&&u?u:t[o],n&&typeof a==typeof i||(s=e.bind&&n?jm(i,Pn):e.wrap&&n?jA(i):p&&Pp(i)?Pd(i):i,(e.sham||i&&i.sham||a&&a.sham)&&jC(s,"sham",!0),jC(g,o,s),p&&(P2(P_,r=c+"Prototype")||jC(P_,r,{}),jC(P_[r],o,i),e.real&&v&&!v[o]&&jC(v,o,i)))},jT=Array.isArray||function(e){return"Array"==Px(e)},jB=Math.ceil,jF=Math.floor,j_=function(e){var t=+e;return t!=t||0===t?0:(t>0?jF:jB)(t)},jP=Math.min,jj=function(e){var t;return(t=e.length)>0?jP(j_(t),0x1fffffffffffff):0},jI=function(e,t,n){var r=jo(t);r in e?jx.f(e,r,PE(0,n)):e[r]=n},jN={};jN[jt("toStringTag")]="z";var jR="[object z]"===String(jN),jL=jt("toStringTag"),jM=Pn.Object,jz="Arguments"==Px(function(){return arguments}()),j$=jR?Px:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=jM(e),jL))?n:jz?Px(t):"Object"==(r=Px(t))&&Pp(t.callee)?"Arguments":r},jH=Pd(Function.toString);Pp(PY.inspectSource)||(PY.inspectSource=function(e){return jH(e)});var jU=PY.inspectSource,jV=function(){},jW=[],jq=Pj("Reflect","construct"),jG=/^\s*(?:class|function)\b/,jK=Pd(jG.exec),jZ=!jG.exec(jV),jX=function(e){if(!Pp(e))return!1;try{return jq(jV,jW,e),!0}catch(e){return!1}},jY=!jq||Ph(function(){var e;return jX(jX.call)||!jX(Object)||!jX(function(){e=!0})||e})?function(e){if(!Pp(e))return!1;switch(j$(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return jZ||!!jK(jG,jU(e))}:jX,jJ=jt("species"),jQ=Pn.Array,j0=function(e,t){var n;return new(jT(e)&&(jY(n=e.constructor)&&(n===jQ||jT(n.prototype))||PF(n)&&null===(n=n[jJ]))&&(n=void 0),void 0===n?jQ:n)(0===t?0:t)},j1=jt("species"),j2=jt("isConcatSpreadable"),j4=Pn.TypeError,j3=P$>=51||!Ph(function(){var e=[];return e[j2]=!1,e.concat()[0]!==e}),j6=P$>=51||!Ph(function(){var e=[];return(e.constructor={})[j1]=function(){return{foo:1}},1!==e.concat(Boolean).foo}),j5=function(e){if(!PF(e))return!1;var t=e[j2];return void 0!==t?!!t:jT(e)};jk({target:"Array",proto:!0,forced:!j3||!j6},{concat:function(e){var t,n,r,o,i,a=P0(this),u=j0(a,0),s=0;for(t=-1,r=arguments.length;t<r;t++)if(j5(i=-1===t?a:arguments[t])){if(s+(o=jj(i))>0x1fffffffffffff)throw j4("Maximum allowed index exceeded");for(n=0;n<o;n++,s++)n in i&&jI(u,s,i[n])}else{if(s>=0x1fffffffffffff)throw j4("Maximum allowed index exceeded");jI(u,s++,i)}return u.length=s,u}});var j8,j7=Pn.String,j9=function(e){if("Symbol"===j$(e))throw TypeError("Cannot convert a Symbol value to a string");return j7(e)},Ie=Math.max,It=Math.min,In=function(e,t){var n=j_(e);return n<0?Ie(n+t,0):It(n,t)},Ir=function(e){return function(t,n,r){var o,i=PB(t),a=jj(i),u=In(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},Io={includes:Ir(!0),indexOf:Ir(!1)},Ii={},Ia=Io.indexOf,Iu=Pd([].push),Is=function(e,t){var n,r=PB(e),o=0,i=[];for(n in r)!P2(Ii,n)&&P2(r,n)&&Iu(i,n);for(;t.length>o;)P2(r,n=t[o++])&&(~Ia(i,n)||Iu(i,n));return i},Il=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ic=Object.keys||function(e){return Is(e,Il)},If=Pg?Object.defineProperties:function(e,t){jE(e);for(var n,r=PB(t),o=Ic(t),i=o.length,a=0;i>a;)jx.f(e,n=o[a++],r[n]);return e},Id=Pj("document","documentElement"),Ip=PJ("keys"),Ih=function(e){return Ip[e]||(Ip[e]=P5(e))},Ig=Ih("IE_PROTO"),Iv=function(){},Iy=function(e){return"<script>"+e+"<\/script>"},Im=function(e){e.write(Iy("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ib=function(){try{j8=new ActiveXObject("htmlfile")}catch(e){}Ib="undefined"!=typeof document?document.domain&&j8?Im(j8):((t=ju("iframe")).style.display="none",Id.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Iy("document.F=Object")),e.close(),e.F):Im(j8);for(var e,t,n=Il.length;n--;)delete Ib.prototype[Il[n]];return Ib()};Ii[Ig]=!0;var Iw,IE,ID,IS=Object.create||function(e,t){var n;return null!==e?(Iv.prototype=jE(e),n=new Iv,Iv.prototype=null,n[Ig]=e):n=Ib(),void 0===t?n:If(n,t)},Ix=Il.concat("length","prototype"),IC={f:Object.getOwnPropertyNames||function(e){return Is(e,Ix)}},IO=Pn.Array,IA=Math.max,Ik=IC.f,IT="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],IB={f:function(e){return IT&&"Window"==Px(e)?function(e){try{return Ik(e)}catch(e){return function(e,t,n){for(var r=jj(e),o=In(void 0,r),i=In(r,r),a=IO(IA(i-o,0)),u=0;o<i;o++,u++)jI(a,u,e[o]);return a.length=u,a}(IT)}}(e):Ik(PB(e))}},IF={f:Object.getOwnPropertySymbols},I_=Pd([].slice),IP=function(e,t,n,r){r&&r.enumerable?e[t]=n:jC(e,t,n)},Ij={f:jt},II=jx.f,IN=function(e){var t=P_.Symbol||(P_.Symbol={});P2(t,e)||II(t,e,{value:Ij.f(e)})},IR=jR?({}).toString:function(){return"[object "+j$(this)+"]"},IL=jx.f,IM=jt("toStringTag"),Iz=function(e,t,n,r){if(e){var o=n?e:e.prototype;P2(o,IM)||IL(o,IM,{configurable:!0,value:t}),r&&!jR&&jC(o,"toString",IR)}},I$=Pn.WeakMap,IH=Pp(I$)&&/native code/.test(jU(I$)),IU=Pn.TypeError,IV=Pn.WeakMap;if(IH||PY.state){var IW=PY.state||(PY.state=new IV),Iq=Pd(IW.get),IG=Pd(IW.has),IK=Pd(IW.set);Iw=function(e,t){if(IG(IW,e))throw new IU("Object already initialized");return t.facade=e,IK(IW,e,t),t},IE=function(e){return Iq(IW,e)||{}}}else{var IZ=Ih("state");Ii[IZ]=!0,Iw=function(e,t){if(P2(e,IZ))throw new IU("Object already initialized");return t.facade=e,jC(e,IZ,t),t},IE=function(e){return P2(e,IZ)?e[IZ]:{}}}var IX=Iw,IY=function(e){return function(t){var n;if(!PF(t)||(n=IE(t)).type!==e)throw IU("Incompatible receiver, "+e+" required");return n}},IJ=Pd([].push),IQ=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=P0(s),g=PA(h),v=jm(l,c),y=jj(g),m=0,b=f||j0,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:IJ(w,d)}else switch(e){case 4:return!1;case 7:IJ(w,d)}return i?-1:r||o?o:w}},I0=[IQ(0),IQ(1),IQ(2),IQ(3),IQ(4),IQ(5),IQ(6),IQ(7)][0],I1=Ih("hidden"),I2=jt("toPrimitive"),I4=IY("Symbol"),I3=Object.prototype,I6=Pn.Symbol,I5=I6&&I6.prototype,I8=Pn.TypeError,I7=Pn.QObject,I9=Pj("JSON","stringify"),Ne=jc.f,Nt=jx.f,Nn=IB.f,Nr=Pw.f,No=Pd([].push),Ni=PJ("symbols"),Na=PJ("op-symbols"),Nu=PJ("string-to-symbol-registry"),Ns=PJ("symbol-to-string-registry"),Nl=PJ("wks"),Nc=!I7||!I7.prototype||!I7.prototype.findChild,Nf=Pg&&Ph(function(){return 7!=IS(Nt({},"a",{get:function(){return Nt(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=Ne(I3,t);r&&delete I3[t],Nt(e,t,n),r&&e!==I3&&Nt(I3,t,r)}:Nt,Nd=function(e,t){var n=Ni[e]=IS(I5);return IX(n,{type:"Symbol",tag:e,description:t}),Pg||(n.description=t),n},Np=function(e,t,n){e===I3&&Np(Na,t,n),jE(e);var r=jo(t);return jE(n),P2(Ni,r)?(n.enumerable?(P2(e,I1)&&e[I1][r]&&(e[I1][r]=!1),n=IS(n,{enumerable:PE(0,!1)})):(P2(e,I1)||Nt(e,I1,PE(1,{})),e[I1][r]=!0),Nf(e,r,n)):Nt(e,r,n)},Nh=function(e,t){jE(e);var n=PB(t);return I0(Ic(n).concat(Nm(n)),function(t){Pg&&!Py(Ng,n,t)||Np(e,t,n[t])}),e},Ng=function(e){var t=jo(e),n=Py(Nr,this,t);return!(this===I3&&P2(Ni,t)&&!P2(Na,t))&&(!(n||!P2(this,t)||!P2(Ni,t)||P2(this,I1)&&this[I1][t])||n)},Nv=function(e,t){var n=PB(e),r=jo(t);if(n!==I3||!P2(Ni,r)||P2(Na,r)){var o=Ne(n,r);return!o||!P2(Ni,r)||P2(n,I1)&&n[I1][r]||(o.enumerable=!0),o}},Ny=function(e){var t=Nn(PB(e)),n=[];return I0(t,function(e){P2(Ni,e)||P2(Ii,e)||No(n,e)}),n},Nm=function(e){var t=e===I3,n=Nn(t?Na:PB(e)),r=[];return I0(n,function(e){P2(Ni,e)&&(!t||P2(I3,e))&&No(r,Ni[e])}),r};if(PH||(IP(I5=(I6=function(){if(PI(I5,this))throw I8("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?j9(arguments[0]):void 0,t=P5(e),n=function(e){this===I3&&Py(n,Na,e),P2(this,I1)&&P2(this[I1],t)&&(this[I1][t]=!1),Nf(this,t,PE(1,e))};return Pg&&Nc&&Nf(I3,t,{configurable:!0,set:n}),Nd(t,e)}).prototype,"toString",function(){return I4(this).tag}),IP(I6,"withoutSetter",function(e){return Nd(P5(e),e)}),Pw.f=Ng,jx.f=Np,jc.f=Nv,IC.f=IB.f=Ny,IF.f=Nm,Ij.f=function(e){return Nd(jt(e),e)},Pg&&Nt(I5,"description",{configurable:!0,get:function(){return I4(this).description}})),jk({global:!0,wrap:!0,forced:!PH,sham:!PH},{Symbol:I6}),I0(Ic(Nl),function(e){IN(e)}),jk({target:"Symbol",stat:!0,forced:!PH},{for:function(e){var t=j9(e);if(P2(Nu,t))return Nu[t];var n=I6(t);return Nu[t]=n,Ns[n]=t,n},keyFor:function(e){if(!PW(e))throw I8(e+" is not a symbol");if(P2(Ns,e))return Ns[e]},useSetter:function(){Nc=!0},useSimple:function(){Nc=!1}}),jk({target:"Object",stat:!0,forced:!PH,sham:!Pg},{create:function(e,t){return void 0===t?IS(e):Nh(IS(e),t)},defineProperty:Np,defineProperties:Nh,getOwnPropertyDescriptor:Nv}),jk({target:"Object",stat:!0,forced:!PH},{getOwnPropertyNames:Ny,getOwnPropertySymbols:Nm}),jk({target:"Object",stat:!0,forced:Ph(function(){IF.f(1)})},{getOwnPropertySymbols:function(e){return IF.f(P0(e))}}),I9&&jk({target:"JSON",stat:!0,forced:!PH||Ph(function(){var e=I6();return"[null]"!=I9([e])||"{}"!=I9({a:e})||"{}"!=I9(Object(e))})},{stringify:function(e,t,n){var r=I_(arguments),o=t;if((PF(t)||void 0!==e)&&!PW(e))return jT(t)||(t=function(e,t){if(Pp(o)&&(t=Py(o,this,e,t)),!PW(t))return t}),r[1]=t,Pu(I9,null,r)}}),!I5[I2]){var Nb=I5.valueOf;IP(I5,I2,function(e){return Py(Nb,this)})}Iz(I6,"Symbol"),Ii[I1]=!0,IN("asyncIterator"),IN("hasInstance"),IN("isConcatSpreadable"),IN("iterator"),IN("match"),IN("matchAll"),IN("replace"),IN("search"),IN("species"),IN("split"),IN("toPrimitive"),IN("toStringTag"),IN("unscopables"),Iz(Pn.JSON,"JSON",!0);var Nw,NE,ND,NS=P_.Symbol,Nx={},NC=Function.prototype,NO=Pg&&Object.getOwnPropertyDescriptor,NA=P2(NC,"name"),Nk={EXISTS:NA,PROPER:NA&&"something"===(function(){}).name,CONFIGURABLE:NA&&(!Pg||Pg&&NO(NC,"name").configurable)},NT=!Ph(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),NB=Ih("IE_PROTO"),NF=Pn.Object,N_=NF.prototype,NP=NT?NF.getPrototypeOf:function(e){var t=P0(e);if(P2(t,NB))return t[NB];var n=t.constructor;return Pp(n)&&t instanceof n?n.prototype:t instanceof NF?N_:null},Nj=jt("iterator"),NI=!1;[].keys&&("next"in(ND=[].keys())?(NE=NP(NP(ND)))!==Object.prototype&&(Nw=NE):NI=!0),Pp((Nw=null==Nw||Ph(function(){var e={};return Nw[Nj].call(e)!==e})?{}:IS(Nw))[Nj])||IP(Nw,Nj,function(){return this});var NN=Nw,NR=NI,NL=function(){return this};Pn.String,Pn.TypeError,Object.setPrototypeOf||"__proto__"in{}&&function(){try{Pd(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set)({},[])}catch(e){}}();var NM=Nk.PROPER,Nz=jt("iterator"),N$=function(){return this},NH=function(e,t,n,r,o,i,a){u=t+" Iterator",n.prototype=IS(NN,{next:PE(1,r)}),Iz(n,u,!1,!0),Nx[u]=NL;var u,s,l,c,f=function(e){if(e===o&&v)return v;if(!NR&&e in h)return h[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,g=h[Nz]||h["@@iterator"]||o&&h[o],v=!NR&&g||f(o),y="Array"==t&&h.entries||g;if(y&&(s=NP(y.call(new e)))!==Object.prototype&&s.next&&(Iz(s,d,!0,!0),Nx[d]=N$),NM&&"values"==o&&g&&"values"!==g.name&&(p=!0,v=function(){return Py(g,this)}),o)if(l={values:f("values"),keys:i?v:f("keys"),entries:f("entries")},a)for(c in l)!NR&&!p&&c in h||IP(h,c,l[c]);else jk({target:t,proto:!0,forced:NR||p},l);return a&&h[Nz]!==v&&IP(h,Nz,v,{name:o}),Nx[t]=v,l},NU=IY("Array Iterator");NH(Array,"Array",function(e,t){IX(this,{type:"Array Iterator",target:PB(e),index:0,kind:t})},function(){var e=NU(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values"),Nx.Arguments=Nx.Array;var NV=jt("toStringTag");for(var NW in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var Nq=Pn[NW],NG=Nq&&Nq.prototype;NG&&j$(NG)!==NV&&jC(NG,NV,NW),Nx[NW]=Nx.Array}IN("asyncDispose"),IN("dispose"),IN("matcher"),IN("metadata"),IN("observable"),IN("patternMatch"),IN("replaceAll");var NK=Pd("".charAt),NZ=Pd("".charCodeAt),NX=Pd("".slice),NY=function(e){return function(t,n){var r,o,i=j9(PT(t)),a=j_(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=NZ(i,a))<55296||r>56319||a+1===u||(o=NZ(i,a+1))<56320||o>57343?e?NK(i,a):r:e?NX(i,a,a+2):o-56320+(r-55296<<10)+65536}},NJ=(NY(!1),NY(!0)),NQ=IY("String Iterator");NH(String,"String",function(e){IX(this,{type:"String Iterator",string:j9(e),index:0})},function(){var e,t=NQ(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=NJ(n,r),t.index+=e.length,{value:e,done:!1})});var N0=Ij.f("iterator"),N1=(Rx=OQ(function(e){function t(n){return"function"==typeof NS&&"symbol"==typeof N0?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"==typeof NS&&e.constructor===NS&&e!==NS.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0,t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}))&&Rx.__esModule&&Object.prototype.hasOwnProperty.call(Rx,"default")?Rx.default:Rx,N2=kB.EXISTS,N4=ku.f,N3=Function.prototype,N6=Ac(N3.toString),N5=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,N8=Ac(N5.exec);O9&&!N2&&N4(N3,"name",{configurable:!0,get:function(){try{return N8(N5,N6(this))[1]}catch(e){return""}}});var N7=function(){function e(){this.tag="select",this.width=80}return e.prototype.isActive=function(e){return!1},e.prototype.getValue=function(e){var t=this.mark,n=ly.marks(e);return n&&n[t]?n[t]:""},e.prototype.isDisabled=function(e){return null==e.selection||(this.mark,!!B7(ly.nodes(e,{match:function(t){return"pre"===Dn.getNodeType(t)||!!ly.isVoid(e,t)},universal:!0}),1)[0])},e.prototype.exec=function(e,t){var n=this.mark;t?e.addMark(n,t):e.removeMark(n)},e}(),N9=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=OP("fontSize.title"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M64 512h384v128h-128V1024h-128V640h-128z m896-256H708.2496v768h-136.4992V256H320V128h640z"></path></svg>',t.mark="fontSize",t}return B4(t,e),t.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig(this.mark).fontSizeList;t.push({text:OP("fontSize.default"),value:""}),(void 0===n?[]:n).forEach(function(e){if("string"==typeof e)t.push({text:e,value:e});else if("object"===N1(e)){var n=e.name,r=e.value;t.push({text:n,value:r})}});var r=this.getValue(e);return t.forEach(function(e){e.value===r?e.selected=!0:delete e.selected}),t},t}(N7),Re=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=OP("fontFamily.title"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M956.788364 152.110545h-24.110546l23.924364 9.029819 0.186182 121.018181h-65.070546l-86.574545-130.048H566.551273v650.14691l130.048 64.977454v65.163636h-390.050909v-65.163636l129.954909-64.977454V152.110545H198.283636L111.429818 282.065455H46.545455V69.259636C46.545455 33.792 82.664727 22.062545 98.955636 22.062545h812.683637c23.738182 0 45.056 15.173818 45.056 41.053091V169.425455v-17.221819z"></path></svg>',t.mark="fontFamily",t.selectPanelWidth=150,t}return B4(t,e),t.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig(this.mark).fontFamilyList;t.push({text:OP("fontFamily.default"),value:""}),(void 0===n?[]:n).forEach(function(e){if("string"==typeof e)t.push({text:e,value:e,styleForRenderMenuList:{"font-family":e}});else if("object"===N1(e)){var n=e.name,r=e.value;t.push({text:n,value:r,styleForRenderMenuList:{"font-family":r}})}});var r=this.getValue(e);return t.forEach(function(e){e.value===r?e.selected=!0:delete e.selected}),t},t}(N7),Rt={renderStyle:function(e,t){var n=e.fontSize,r=e.fontFamily;return n&&_n(t,{fontSize:n}),r&&_n(t,{fontFamily:r}),t},styleToHtml:function(e,t){if(!l$.isText(e))return t;var n,r=e.fontSize,o=e.fontFamily;return r||o?((BJ(t)||"span"!==B0(n=c2(t)))&&(n=c2("<span>"+t+"</span>")),r&&n.css("font-size",r),o&&n.css("font-family",o),BQ(n)):t},preParseHtml:[{selector:"font",preParseHtml:function(e){var t=c2(e);if("font"!==B0(t))return e;var n=t.attr("size")||"";n&&(t.removeAttr("size"),t.css("font-size",_8[n]));var r=t.attr("face")||"";return r&&(t.removeAttr("face"),t.css("font-family",r)),t[0]}}],parseStyleHtml:function(e,t,n){var r=c2(e);if(!l$.isText(t))return t;var o=n.getMenuConfig("fontSize").fontSizeList,i=void 0===o?[]:o,a=B1(r,"font-size"),u=i.find(function(e){return e.value&&e.value===a})||i.includes(a);a&&u&&(t.fontSize=a);var s=n.getMenuConfig("fontFamily").fontFamilyList,l=void 0===s?[]:s,c=B1(r,"font-family").replace(/"/g,""),f=l.find(function(e){return e.value&&e.value===c})||l.includes(c);return c&&f&&(t.fontFamily=c),t},menus:[{key:"fontSize",factory:function(){return new N9},config:{fontSizeList:["12px",{name:"13px",value:"13px"},"14px","15px","16px","19px",{name:"22px",value:"22px"},"24px","29px","32px","40px","48px"]}},{key:"fontFamily",factory:function(){return new Re},config:{fontFamilyList:["黑体",{name:"仿宋",value:"仿宋"},"楷体","标楷体","华文仿宋","华文楷体",{name:"宋体",value:"宋体"},"微软雅黑","Arial","Tahoma","Verdana","Times New Roman","Courier New"]}}]},Rn=function(){function e(){this.tag="button"}return e.prototype.getValue=function(e){var t=B7(ly.nodes(e,{match:function(e){return!!e.indent},universal:!0}),1)[0];return null==t?"":B7(t,1)[0].indent||""},e.prototype.isActive=function(e){return!1},e.prototype.getMatchNode=function(e){var t=B7(ly.nodes(e,{match:function(e){var t=Dn.getNodeType(e);return"paragraph"===t||!!t.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return null==t?null:t[0]},e}(),Rr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=OP("indent.decrease"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m256-512v384l-256-192z"></path></svg>',t}return B4(t,e),t.prototype.isDisabled=function(e){var t=this.getMatchNode(e);return null==t||!t.indent},t.prototype.exec=function(e,t){l6.setNodes(e,{indent:null},{match:function(e){return lf.isElement(e)}})},t}(Rn),Ro=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=OP("indent.increase"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',t}return B4(t,e),t.prototype.isDisabled=function(e){var t=this.getMatchNode(e);return null==t||!!t.indent},t.prototype.exec=function(e,t){l6.setNodes(e,{indent:"2em"},{match:function(e){return lf.isElement(e)},mode:"highest"})},t}(Rn),Ri=function(){function e(){this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.getMatchNode=function(e){var t=B7(ly.nodes(e,{match:function(e){var t=Dn.getNodeType(e);return"paragraph"===t||"blockquote"===t||!!t.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return null==t?null:t[0]},e.prototype.isDisabled=function(e){return null==e.selection||!!Dn.getSelectedElems(e).some(function(t){return!!(ly.isVoid(e,t)&&ly.isBlock(e,t))||!!["pre","code"].includes(t.type)||void 0})},e}(),Ra=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=OP("justify.left"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',t}return B4(t,e),t.prototype.exec=function(e,t){l6.setNodes(e,{textAlign:"left"},{match:function(t){return lf.isElement(t)&&!e.isInline(t)}})},t}(Ri),Ru=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=OP("justify.right"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M972.8 793.6v102.4H256v-102.4h716.8z m0-230.4v102.4H51.2v-102.4h921.6z m0-230.4v102.4H256v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',t}return B4(t,e),t.prototype.exec=function(e,t){l6.setNodes(e,{textAlign:"right"},{match:function(t){return lf.isElement(t)&&!e.isInline(t)}})},t}(Ri),Rs=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=OP("justify.center"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M870.4 793.6v102.4H153.6v-102.4h716.8z m102.4-230.4v102.4H51.2v-102.4h921.6z m-102.4-230.4v102.4H153.6v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',t}return B4(t,e),t.prototype.exec=function(e,t){l6.setNodes(e,{textAlign:"center"},{match:function(t){return lf.isElement(t)&&!e.isInline(t)}})},t}(Ri),Rl=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title=OP("justify.justify"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>',t}return B4(t,e),t.prototype.exec=function(e,t){l6.setNodes(e,{textAlign:"justify"},{match:function(t){return lf.isElement(t)&&!e.isInline(t)}})},t}(Ri),Rc=function(){function e(){this.title=OP("lineHeight.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M964 788a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526zM198.93 144.306c6.668-5.798 16.774-5.094 22.573 1.574l122.26 140.582a16 16 0 0 1 3.927 10.5c0 8.836-7.164 16-16 16h-61.8a8 8 0 0 0-8 8v390.077h69.819a16 16 0 0 1 10.502 3.928c6.666 5.8 7.37 15.906 1.57 22.573L221.476 878.123a16 16 0 0 1-1.57 1.57c-6.668 5.8-16.774 5.097-22.574-1.57L75.051 737.538a16 16 0 0 1-3.928-10.5c0-8.837 7.163-16 16-16h69.822V312.96H87.127a16 16 0 0 1-10.502-3.928c-6.666-5.8-7.37-15.906-1.57-22.573l122.303-140.582a16 16 0 0 1 1.572-1.572zM964 465a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z m0-323a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z"></path></svg>',this.tag="select",this.width=80}return e.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig("lineHeight").lineHeightList;t.push({text:OP("lineHeight.default"),value:""}),(void 0===n?[]:n).forEach(function(e){t.push({text:e,value:e})});var r=this.getValue(e);return t.forEach(function(e){e.value===r?e.selected=!0:delete e.selected}),t},e.prototype.getMatchNode=function(e){var t=B7(ly.nodes(e,{match:function(e){var t=Dn.getNodeType(e);return!!t.startsWith("header")||!!["paragraph","blockquote","list-item"].includes(t)},universal:!0,mode:"highest"}),1)[0];return null==t?null:t[0]},e.prototype.isActive=function(e){return!1},e.prototype.getValue=function(e){var t=this.getMatchNode(e);return null==t?"":lf.isElement(t)&&t.lineHeight||""},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getMatchNode(e)},e.prototype.exec=function(e,t){l6.setNodes(e,{lineHeight:t.toString()},{mode:"highest"})},e}(),Rf=function(){function e(){this.title=OP("undo.redo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0.00032 576a510.72 510.72 0 0 0 173.344 384l84.672-96A383.136 383.136 0 0 1 128.00032 576C128.00032 363.936 299.93632 192 512.00032 192c106.048 0 202.048 42.976 271.52 112.48L640.00032 448h384V64l-149.984 149.984A510.272 510.272 0 0 0 512.00032 64C229.21632 64 0.00032 293.216 0.00032 576z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection},e.prototype.exec=function(e,t){"function"==typeof e.redo&&e.redo()},e}(),Rd=function(){function e(){this.title=OP("undo.undo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M512 64A510.272 510.272 0 0 0 149.984 213.984L0.032 64v384h384L240.512 304.48A382.784 382.784 0 0 1 512.032 192c212.064 0 384 171.936 384 384 0 114.688-50.304 217.632-130.016 288l84.672 96a510.72 510.72 0 0 0 173.344-384c0-282.784-229.216-512-512-512z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection},e.prototype.exec=function(e,t){"function"==typeof e.undo&&e.undo()},e}(),Rp=function(){function e(){this.title=OP("divider.title"),this.iconSvg='<svg viewBox="0 0 1092 1024"><path d="M0 51.2m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M819.2 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M409.6 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 870.4m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||!!Dn.getSelectedElems(e).some(function(t){if(e.isVoid(t))return!0;var n=Dn.getNodeType(t);return"table"===n||"pre"===n||void 0})},e.prototype.exec=function(e,t){l6.insertNodes(e,{type:"divider",children:[{text:""}]},{mode:"highest"})},e}(),Rh=Tm.map;k5({target:"Array",proto:!0,forced:!Tw("map")},{map:function(e){return Rh(this,e,arguments.length>1?arguments[1]:void 0)}});var Rg=Ac([].join),Rv=Av!=Object,Ry=Fc("join",",");k5({target:"Array",proto:!0,forced:Rv||!Ry},{join:function(e){return Rg(Ab(this),void 0===e?",":e)}});var Rm=function(){function e(){this.title=OP("codeBlock.title"),this.iconSvg='<svg viewBox="0 0 1280 1024"><path d="M832 736l96 96 320-320L928 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224zM701.312 150.528l69.472 18.944-192 704.032-69.472-18.944 192-704.032z"></path></svg>',this.tag="button"}return e.prototype.getSelectCodeElem=function(e){var t=Dn.getSelectedNodeByType(e,"code");if(null==t)return null;var n=Dn.getParentNode(e,t);return null==n||"pre"!==Dn.getNodeType(n)?null:t},e.prototype.getValue=function(e){var t=this.getSelectCodeElem(e);return null==t?"":t.language||""},e.prototype.isActive=function(e){return!!this.getSelectCodeElem(e)},e.prototype.isDisabled=function(e){if(null==e.selection)return!0;var t=Dn.getSelectedElems(e);return!!t.some(function(t){return e.isVoid(t)})||!t.some(function(e){var t=Dn.getNodeType(e);if("pre"===t||"paragraph"===t)return!0})},e.prototype.exec=function(e,t){this.isActive(e)?this.changeToPlainText(e):this.changeToCodeBlock(e,t.toString())},e.prototype.changeToPlainText=function(e){var t=this.getSelectCodeElem(e);if(null!=t){var n=lD.string(t);l6.removeNodes(e,{mode:"highest"});var r=n.split("\n").map(function(e){return{type:"paragraph",children:[{text:e}]}});l6.insertNodes(e,r,{mode:"highest"})}},e.prototype.changeToCodeBlock=function(e,t){var n,r,o=[],i=ly.nodes(e,{match:function(t){return e.children.includes(t)},universal:!0});try{for(var a=B8(i),u=a.next();!u.done;u=a.next()){var s=B7(u.value,1)[0];s&&o.push(lD.string(s))}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}l6.removeNodes(e,{mode:"highest"});var l={type:"pre",children:[{type:"code",language:t,children:[{text:o.join("\n")}]}]};l6.insertNodes(e,l,{mode:"highest"})},e}();k5({target:"String",proto:!0,forced:Fr("anchor")},{anchor:function(e){return Fn(this,"a","name",e)}}),T9("match",function(e,t,n){return[function(t){var n=Am(this),r=null==t?void 0:AL(t,e);return r?At(r,t,n):new RegExp(t)[e](Tx(n))},function(e){var r=ko(this),o=Tx(e),i=n(t,r,o);if(i.done)return i.value;if(!r.global)return Bh(r,o);var a=r.unicode;r.lastIndex=0;for(var u,s=[],l=0;null!==(u=Bh(r,o));){var c=Tx(u[0]);s[l]=c,""===c&&(r.lastIndex=Bi(o,kM(r.lastIndex),a)),l++}return 0===l?null:s}]});var Rb=function(){function e(){this.title=OP("fullScreen.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M133.705143 335.433143V133.851429h201.581714a29.622857 29.622857 0 0 0 29.622857-29.549715V68.754286a29.622857 29.622857 0 0 0-29.622857-29.622857H61.732571A22.893714 22.893714 0 0 0 38.765714 62.025143V335.725714c0 16.310857 13.238857 29.622857 29.622857 29.622857h35.547429a29.842286 29.842286 0 0 0 29.696-29.842285zM690.980571 133.851429h201.581715v201.654857c0 16.310857 13.238857 29.549714 29.622857 29.549714h35.547428a29.622857 29.622857 0 0 0 29.549715-29.549714V61.952a22.893714 22.893714 0 0 0-22.820572-22.893714h-273.554285a29.622857 29.622857 0 0 0-29.549715 29.622857v35.547428c0 16.310857 13.238857 29.696 29.622857 29.696zM335.286857 892.781714H133.705143V691.2a29.622857 29.622857 0 0 0-29.622857-29.622857H68.534857a29.622857 29.622857 0 0 0-29.549714 29.622857v273.554286c0 12.653714 10.24 22.893714 22.820571 22.893714h273.554286a29.622857 29.622857 0 0 0 29.696-29.622857v-35.547429a29.769143 29.769143 0 0 0-29.769143-29.696z m557.348572-201.581714v201.581714H690.907429a29.622857 29.622857 0 0 0-29.622858 29.622857v35.547429c0 16.310857 13.238857 29.622857 29.622858 29.622857h273.554285c12.580571 0 22.893714-10.313143 22.893715-22.893714V691.2a29.622857 29.622857 0 0 0-29.622858-29.622857h-35.547428a29.622857 29.622857 0 0 0-29.696 29.622857z"></path></svg>',this.tag="button",this.alwaysEnable=!0}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return e.isFullScreen},e.prototype.isDisabled=function(e){return!1},e.prototype.exec=function(e,t){e.isFullScreen?e.unFullScreen():e.fullScreen()},e}(),Rw=function(){function e(){this.title=OP("common.enter"),this.iconSvg='<svg viewBox="0 0 1255 1024"><path d="M1095.111111 731.477333h-625.777778V1024L0 658.318222 469.333333 292.408889v292.636444h625.777778V0h156.444445v731.477333z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!!lj.isExpanded(t)},e.prototype.exec=function(e,t){var n=e.selection;if(null!=n){var r=[n.anchor.path[0]];l6.insertNodes(e,{type:"paragraph",children:[{text:""}]},{at:r}),e.select(ly.start(e,r))}},e}(),RE=[{renderStyle:function(e,t){var n=e.bold,r=e.italic,o=e.underline,i=e.code,a=e.through,u=e.sub,s=e.sup,l=t;return n&&(l=dw("strong",null,l)),i&&(l=dw("code",null,l)),r&&(l=dw("em",null,l)),o&&(l=dw("u",null,l)),a&&(l=dw("s",null,l)),u&&(l=dw("sub",null,l)),s&&(l=dw("sup",null,l)),l},menus:[{key:"bold",factory:function(){return new Fb}},{key:"underline",factory:function(){return new FS}},{key:"italic",factory:function(){return new FE}},{key:"through",factory:function(){return new FD}},{key:"code",factory:function(){return new Fw}},{key:"sub",factory:function(){return new Fx}},{key:"sup",factory:function(){return new FC}},{key:"clearStyle",factory:function(){return new FO}}],styleToHtml:function(e,t){if(!l$.isText(e))return t;if(BJ(t))return Fo(e,t);var n=c2(t);if("br"===B0(n))return Fo(e,"<br>");var r=n.html();return r=Fo(e,r),n.html(r),BQ(n)},parseStyleHtml:function(e,t,n){var r=c2(e);return l$.isText(t)&&(Fi(r,"b,strong")&&(t.bold=!0),Fi(r,"i,em")&&(t.italic=!0),Fi(r,"u")&&(t.underline=!0),Fi(r,"s,strike")&&(t.through=!0),Fi(r,"sub")&&(t.sub=!0),Fi(r,"sup")&&(t.sup=!0),Fi(r,"code")&&(t.code=!0)),t}},{renderStyle:function(e,t){var n=e.color,r=e.bgColor;return n&&_n(t,{color:n}),r&&_n(t,{backgroundColor:r}),t},styleToHtml:function(e,t){if(!l$.isText(e))return t;var n,r=e.color,o=e.bgColor;return r||o?((BJ(t)||"span"!==B0(n=c2(t)))&&(n=c2("<span>"+t+"</span>")),r&&n.css("color",r),o&&n.css("background-color",o),BQ(n)):t},preParseHtml:[{selector:"font",preParseHtml:function(e){var t=c2(e);if("font"!==B0(t))return e;var n=t.attr("color")||"";return n&&(t.removeAttr("color"),t.css("color",n)),t[0]}}],parseStyleHtml:function(e,t,n){var r=c2(e);if(!l$.isText(t))return t;var o=B1(r,"color");o&&(t.color=o);var i=B1(r,"background-color");return i||(i=B1(r,"background")),i&&(t.bgColor=i),t},menus:[{key:"color",factory:function(){return new _o},config:{colors:_a}},{key:"bgColor",factory:function(){return new _i},config:{colors:_a}}]},Rt,{renderStyle:function(e,t){if(!lf.isElement(e))return t;var n=e.indent;return n&&_n(t,{textIndent:n}),t},styleToHtml:function(e,t){if(!lf.isElement(e))return t;var n=e.indent;if(!n)return t;var r=c2(t);return r.css("text-indent",n),BQ(r)},preParseHtml:[{selector:"p,h1,h2,h3,h4,h5",preParseHtml:function(e){var t=c2(e),n=B1(t,"padding-left");return/\dem/.test(n)&&t.css("text-indent","2em"),/\dpx/.test(n)&&parseInt(n,10)%32==0&&t.css("text-indent","2em"),t[0]}}],parseStyleHtml:function(e,t,n){var r=c2(e);if(!lf.isElement(t))return t;var o=B1(r,"text-indent"),i=parseInt(o,10);return o&&i>0&&(t.indent=o),t},menus:[{key:"indent",factory:function(){return new Ro}},{key:"delIndent",factory:function(){return new Rr}}]},{renderStyle:function(e,t){if(!lf.isElement(e))return t;var n=e.textAlign;return n&&_n(t,{textAlign:n}),t},styleToHtml:function(e,t){if(!lf.isElement(e))return t;var n=e.textAlign;if(!n)return t;var r=c2(t);return r.css("text-align",n),BQ(r)},parseStyleHtml:function(e,t,n){var r=c2(e);if(!lf.isElement(t))return t;var o=B1(r,"text-align");return o&&(t.textAlign=o),t},menus:[{key:"justifyLeft",factory:function(){return new Ra}},{key:"justifyRight",factory:function(){return new Ru}},{key:"justifyCenter",factory:function(){return new Rs}},{key:"justifyJustify",factory:function(){return new Rl}}]},{renderStyle:function(e,t){if(!lf.isElement(e))return t;var n=e.lineHeight;return n&&_n(t,{lineHeight:n}),t},styleToHtml:function(e,t){if(!lf.isElement(e))return t;var n=e.lineHeight;if(!n)return t;var r=c2(t);return r.css("line-height",n),BQ(r)},parseStyleHtml:function(e,t,n){var r=c2(e);if(!lf.isElement(t))return t;var o=n.getMenuConfig("lineHeight").lineHeightList,i=B1(r,"line-height");return i&&(void 0===o?[]:o).includes(i)&&(t.lineHeight=i),t},menus:[{key:"lineHeight",factory:function(){return new Rc},config:{lineHeightList:["1","1.15","1.5","2","2.5","3"]}}]},{renderElems:[{type:"image",renderElem:function(e,t,n){var r,o,i,a,u=e.src,s=e.alt,l=e.href,c=e.style,f=void 0===c?{}:c,d=f.width,p=void 0===d?"":d,h=f.height,g=void 0===h?"":h,v=Dn.isNodeSelected(n,e),y={};p&&(y.width="100%"),g&&(y.height="100%");var m=dw("img",{style:y,src:u,alt:void 0===s?"":s,"data-href":void 0===l?"":l}),b=n.isDisabled();return v&&!b?function(e,t,n,r){var o=c2("body"),i=_R(e,t),a=r.width,u=r.height,s=0,l=0,c=0,f=!1,d=null,p=f4(function(e){e.preventDefault();var t=e.clientX,n=l+(f?s-t:t-s),r=n/l*c;null!=d&&(n<=15||r<=15||(d.css("width",n+"px"),d.css("height",r+"px")))},100);function h(n){if(o.off("mousemove",p),null!=d){var r=d.width().toFixed(2),i=d.height().toFixed(2),a={style:B3(B3({},t.style),{width:r+"px",height:i+"px"})};l6.setNodes(e,a,{at:Dn.findPath(e,t)}),o.off("mouseup",h)}}var g={};return a&&(g.width=a),u&&(g.height=u),dw("div",{id:i,style:g,className:"w-e-image-container w-e-selected-image-container",on:{mousedown:function(t){var n=c2(t.target);n.hasClass("w-e-image-dragger")&&(t.preventDefault(),(n.hasClass("left-top")||n.hasClass("left-bottom"))&&(f=!0),function(t){d=function(){var e=c2("#"+i);if(0===e.length)throw Error("Cannot find image container elem");return e}(),s=t;var n=d.find("img");if(0===n.length)throw Error("Cannot find image elem");l=n.width(),c=n.height(),o.on("mousemove",p),o.on("mouseup",h);var r=Dn.getHoverbar(e);r&&r.hideAndClean()}(t.clientX))}}},n,dw("div",{className:"w-e-image-dragger left-top"}),dw("div",{className:"w-e-image-dragger right-top"}),dw("div",{className:"w-e-image-dragger left-bottom"}),dw("div",{className:"w-e-image-dragger right-bottom"}))}(n,e,m,{width:p,height:g}):(o=(r={width:p,height:g}).width,i=r.height,a={},o&&(a.width=o),i&&(a.height=i),dw("div",{id:_R(n,e),style:a,className:"w-e-image-container"},m))}}],elemsToHtml:[{type:"image",elemToHtml:function(e,t){var n=e.src,r=e.alt,o=e.href,i=e.style,a=void 0===i?{}:i,u=a.width,s=void 0===u?"":u,l=a.height,c=void 0===l?"":l,f="";return s&&(f+="width: "+s+";"),c&&(f+="height: "+c+";"),'<img src="'+n+'" alt="'+(void 0===r?"":r)+'" data-href="'+(void 0===o?"":o)+'" style="'+f+'"/>'}}],parseElemsHtml:[{selector:"img:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=c2(e),o=r.attr("data-href")||"";return o=decodeURIComponent(o),{type:"image",src:r.attr("src")||"",alt:r.attr("alt")||"",href:o,style:{width:B1(r,"width"),height:B1(r,"height")},children:[{text:""}]}}}],menus:[{key:"insertImage",factory:function(){return new _U},config:_J},{key:"deleteImage",factory:function(){return new _V}},{key:"editImage",factory:function(){return new _q},config:_J},{key:"viewImageLink",factory:function(){return new _G}},{key:"imageWidth30",factory:function(){return new _Z}},{key:"imageWidth50",factory:function(){return new _X}},{key:"imageWidth100",factory:function(){return new _Y}}],editorPlugin:function(e){var t=e.isInline,n=e.isVoid;return e.insertNode,e.isInline=function(e){return"image"===e.type||t(e)},e.isVoid=function(e){return"image"===e.type||n(e)},e}},{renderElems:[{type:"divider",renderElem:function(e,t,n){return dr("div",{props:{contentEditable:!1,className:"w-e-textarea-divider"},dataset:{selected:Dn.isNodeSelected(n,e)?"true":""},style:{},on:{mousedown:function(e){return e.preventDefault()}}},[dr("hr")])}}],elemsToHtml:[{type:"divider",elemToHtml:function(e,t){return"<hr/>"}}],parseElemsHtml:[{selector:"hr:not([data-w-e-type])",parseElemHtml:function(e,t,n){return{type:"divider",children:[{text:""}]}}}],menus:[{key:"divider",factory:function(){return new Rp}}],editorPlugin:function(e){var t=e.isVoid,n=e.normalizeNode;return e.isVoid=function(e){return"divider"===e.type||t(e)},e.normalizeNode=function(t){var r=B7(t,2),o=r[0],i=r[1];if("divider"!==Dn.getNodeType(o))return n([o,i]);Dn.isLastNode(e,o)&&l6.insertNodes(e,Dn.genEmptyParagraph(),{at:[i[0]+1]})},e}},{menus:[{key:"emotion",factory:function(){return new _5},config:{emotions:"\uD83D\uDE00 \uD83D\uDE03 \uD83D\uDE04 \uD83D\uDE01 \uD83D\uDE06 \uD83D\uDE05 \uD83D\uDE02 \uD83E\uDD23 \uD83D\uDE0A \uD83D\uDE07 \uD83D\uDE42 \uD83D\uDE43 \uD83D\uDE09 \uD83D\uDE0C \uD83D\uDE0D \uD83D\uDE18 \uD83D\uDE17 \uD83D\uDE19 \uD83D\uDE1A \uD83D\uDE0B \uD83D\uDE1B \uD83D\uDE1D \uD83D\uDE1C \uD83E\uDD13 \uD83D\uDE0E \uD83D\uDE0F \uD83D\uDE12 \uD83D\uDE1E \uD83D\uDE14 \uD83D\uDE1F \uD83D\uDE15 \uD83D\uDE41 \uD83D\uDE23 \uD83D\uDE16 \uD83D\uDE2B \uD83D\uDE29 \uD83D\uDE22 \uD83D\uDE2D \uD83D\uDE24 \uD83D\uDE20 \uD83D\uDE21 \uD83D\uDE33 \uD83D\uDE31 \uD83D\uDE28 \uD83E\uDD17 \uD83E\uDD14 \uD83D\uDE36 \uD83D\uDE11 \uD83D\uDE2C \uD83D\uDE44 \uD83D\uDE2F \uD83D\uDE34 \uD83D\uDE37 \uD83E\uDD11 \uD83D\uDE08 \uD83E\uDD21 \uD83D\uDCA9 \uD83D\uDC7B \uD83D\uDC80 \uD83D\uDC40 \uD83D\uDC63 \uD83D\uDC50 \uD83D\uDE4C \uD83D\uDC4F \uD83E\uDD1D \uD83D\uDC4D \uD83D\uDC4E \uD83D\uDC4A ✊ \uD83E\uDD1B \uD83E\uDD1C \uD83E\uDD1E ✌️ \uD83E\uDD18 \uD83D\uDC4C \uD83D\uDC48 \uD83D\uDC49 \uD83D\uDC46 \uD83D\uDC47 ☝️ ✋ \uD83E\uDD1A \uD83D\uDD90 \uD83D\uDD96 \uD83D\uDC4B \uD83E\uDD19 \uD83D\uDCAA \uD83D\uDD95 ✍️ \uD83D\uDE4F".split(" ")}}]},{renderElems:[{type:"link",renderElem:function(e,t,n){var r=e.url,o=e.target;return dw("a",{href:r,target:void 0===o?"_blank":o},t)}}],elemsToHtml:[{type:"link",elemToHtml:function(e,t){var n=e.url,r=e.target;return'<a href="'+n+'" target="'+(void 0===r?"_blank":r)+'">'+t+"</a>"}}],parseElemsHtml:[{selector:"a:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=c2(e);return 0===(t=t.filter(function(e){return!!l$.isText(e)||!!n.isInline(e)})).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"link",url:r.attr("href")||"",target:r.attr("target")||"",children:t}}}],menus:[{key:"insertLink",factory:function(){return new _b},config:_x},{key:"editLink",factory:function(){return new _E},config:_x},{key:"unLink",factory:function(){return new _D}},{key:"viewLink",factory:function(){return new _S}}],editorPlugin:function(e){var t=e.isInline,n=e.insertData,r=e.normalizeNode;return e.insertNode,e.insertText,e.isInline=function(e){return"link"===e.type||t(e)},e.insertData=function(t){var r=t.getData("text/plain");if(function(e){if("string"!=typeof e)return!1;var t=e.match(_u);if(!t)return!1;var n=t[1];return!(!n||!_s.test(n)&&!_l.test(n))}(r)){if(!_g(e)){var o=e.selection;if(null!=o){var i=ly.string(e,o);_y(e,i,r)}}}else n(t)},e.normalizeNode=function(t){var n=B7(t,2),o=n[0],i=n[1];return"link"!==Dn.getNodeType(o)?r([o,i]):""===lD.string(o)?l6.removeNodes(e,{at:i}):r([o,i])},e}},{menus:[{key:"codeBlock",factory:function(){return new Rm}}],editorPlugin:function(e){var t=e.insertBreak,n=e.normalizeNode,r=e.insertData;return e.insertNode,e.insertBreak=function(){var n=Dn.getSelectedNodeByType(e,"code");if(null!=n){var r=function(e,t){var n=t.selection;if(null==n)return"";var r=lD.string(e),o=n.anchor.offset,i=r.slice(0,o).split("\n"),a=i.length;return 0===a?"":i[a-1]}(n,e);if(r){var o=r.match(/^\s+/);if(null!=o&&null!=o[0]){var i=o[0];return void e.insertText("\n"+i)}}e.insertText("\n")}else t()},e.normalizeNode=function(t){var r=B7(t,2),o=r[0],i=r[1],a=Dn.getNodeType(o);return"code"===a&&i.length<=1&&l6.setNodes(e,{type:"paragraph"},{at:i}),"pre"===a&&(Dn.isLastNode(e,o)&&l6.insertNodes(e,Dn.genEmptyParagraph(),{at:[i[0]+1]}),"code"!==Dn.getNodeType(o.children[0])&&(l6.unwrapNodes(e),l6.setNodes(e,{type:"paragraph"},{mode:"highest"}))),n([o,i])},e.insertData=function(t){if(null!=Dn.getSelectedNodeByType(e,"code")){var n=t.getData("text/plain");ly.insertText(e,n)}else r(t)},e},renderElems:[{type:"pre",renderElem:function(e,t,n){return dw("pre",null,t)}},{type:"code",renderElem:function(e,t,n){return dw("code",null,t)}}],elemsToHtml:[{type:"code",elemToHtml:function(e,t){return"<code>"+t+"</code>"}},{type:"pre",elemToHtml:function(e,t){return"<pre>"+t+"</pre>"}}],preParseHtml:[{selector:"pre>code",preParseHtml:function(e){var t=c2(e);if("code"!==B0(t))return e;var n=t.find("xmp");if(0===n.length)return e;var r=n.text();return n.remove(),t.text(r),t[0]}}],parseElemsHtml:[{selector:"pre:not([data-w-e-type])>code",parseElemHtml:function(e,t,n){return{type:"code",language:"",children:[{text:c2(e)[0].textContent||""}]}}},{selector:"pre:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=c2(e);return 0===(t=t.filter(function(e){return"code"===Dn.getNodeType(e)})).length&&(t=[{type:"code",language:"",children:[{text:r[0].textContent||""}]}]),{type:"pre",children:t.filter(function(e){return"code"===Dn.getNodeType(e)})}}}]},{renderElems:[{type:"blockquote",renderElem:function(e,t,n){return dw("blockquote",null,t)}}],elemsToHtml:[{type:"blockquote",elemToHtml:function(e,t){return"<blockquote>"+t+"</blockquote>"}}],parseElemsHtml:[{selector:"blockquote:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=c2(e);return 0===(t=t.filter(function(e){return!!l$.isText(e)||!!n.isInline(e)})).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"blockquote",children:t}}}],menus:[{key:"blockquote",factory:function(){return new _0}}],editorPlugin:function(e){var t=e.insertBreak,n=e.insertText;return e.insertBreak=function(){var r=e.selection;if(null==r)return t();var o=B7(ly.nodes(e,{match:function(e){return Dn.checkNodeType(e,"blockquote")},universal:!0}),1)[0];if(!o)return t();var i=o[0],a=Dn.findPath(e,i),u=ly.end(e,a);if(lB.equals(u,r.focus)){var s=lD.string(i);if(s&&"\n"===s.slice(-1))return e.deleteBackward("character"),void l6.insertNodes(e,{type:"paragraph",children:[{text:""}]},{mode:"highest"})}n("\n")},e}},F8,{renderElems:[{type:"paragraph",renderElem:function(e,t,n){return dw("p",null,t)}}],elemsToHtml:[{type:"paragraph",elemToHtml:function(e,t){return""===t?"<p><br></p>":"<p>"+t+"</p>"}}],parseElemsHtml:[{selector:"p:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=c2(e);return 0===(t=t.filter(function(e){return!!l$.isText(e)||!!n.isInline(e)})).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"paragraph",children:t}}}],editorPlugin:function(e){var t=e.deleteBackward,n=e.deleteForward;return e.insertText,e.insertBreak,e.deleteBackward=function(n){B9(e)||t(n)},e.deleteForward=function(t){B9(e)||n(t)},e}},{renderElems:[{type:"todo",renderElem:function(e,t,n){var r=!1;return n.isDisabled()&&(r=!0),dw("div",{style:{margin:"5px 0"}},dw("span",{contentEditable:!1,style:{marginRight:"0.5em"}},dw("input",{type:"checkbox",checked:e.checked,disabled:r,on:{change:function(t){var r=Dn.findPath(n,e),o={checked:t.target.checked};l6.setNodes(n,o,{at:r})}}})),dw("span",null,t))}}],elemsToHtml:[{type:"todo",elemToHtml:function(e,t){return'<div data-w-e-type="todo"><input type="checkbox" disabled '+(e.checked?"checked":"")+">"+t+"</div>"}}],preParseHtml:[{selector:"ul.w-e-todo",preParseHtml:function(e){var t=c2(e).find("li"),n=c2('<div data-w-e-type="todo"></div>'),r=t.find("input[type]");return n.append(r),t.children()[0].remove(),n[0].innerHTML=n[0].innerHTML+t[0].innerHTML,n[0]}}],parseElemsHtml:[{selector:'div[data-w-e-type="todo"]',parseElemHtml:function(e,t,n){var r=c2(e);0===(t=t.filter(function(e){return!!l$.isText(e)||!!n.isInline(e)})).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var o=!1;return null!=r.find('input[type="checkbox"]').attr("checked")&&(o=!0),{type:"todo",checked:o,children:t}}}],menus:[{key:"todo",factory:function(){return new _Q}}],editorPlugin:function(e){var t=e.deleteBackward;return e.deleteBackward=function(n){var r=e.selection;if(r&&lj.isCollapsed(r)){var o=Dn.getSelectedNodeByType(e,"todo");if(o&&0===lD.string(o).length)return void l6.setNodes(e,{type:"paragraph"},{mode:"highest"})}t(n)},e}},{menus:[{key:"redo",factory:function(){return new Rf}},{key:"undo",factory:function(){return new Rd}}]},{menus:[{key:"fullScreen",factory:function(){return new Rb}}]},{menus:[{key:"enter",factory:function(){return new Rw}}]}];OF("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),OF("zh-CN",{listModule:{unOrderedList:"无序列表",orderedList:"有序列表"}});var RD="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function RS(e){var t={exports:{}};return e(t,t.exports),t.exports}var Rx,RC,RO,RA=function(e){return e&&e.Math==Math&&e},Rk=RA("object"==typeof globalThis&&globalThis)||RA("object"==typeof window&&window)||RA("object"==typeof self&&self)||RA("object"==typeof RD&&RD)||function(){return this}()||Function("return this")(),RT=Function.prototype,RB=RT.bind,RF=RT.call,R_=RB&&RB.bind(RF),RP=RB?function(e){return e&&R_(RF,e)}:function(e){return e&&function(){return RF.apply(e,arguments)}},Rj=function(e){try{return!!e()}catch(e){return!0}},RI=RP({}.toString),RN=RP("".slice),RR=function(e){return RN(RI(e),8,-1)},RL=Rk.Object,RM=RP("".split),Rz=Rj(function(){return!RL("z").propertyIsEnumerable(0)})?function(e){return"String"==RR(e)?RM(e,""):RL(e)}:RL,R$=Rk.TypeError,RH=function(e){if(null==e)throw R$("Can't call method on "+e);return e},RU=function(e){return Rz(RH(e))},RV=Object.defineProperty,RW=function(e,t){try{RV(Rk,e,{value:t,configurable:!0,writable:!0})}catch(n){Rk[e]=t}return t},Rq=Rk["__core-js_shared__"]||RW("__core-js_shared__",{}),RG=RS(function(e){(e.exports=function(e,t){return Rq[e]||(Rq[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})}),RK=Rk.Object,RZ=function(e){return RK(RH(e))},RX=RP({}.hasOwnProperty),RY=Object.hasOwn||function(e,t){return RX(RZ(e),t)},RJ=0,RQ=Math.random(),R0=RP(1..toString),R1=function(e){return"Symbol("+(void 0===e?"":e)+")_"+R0(++RJ+RQ,36)},R2=function(e){return"function"==typeof e},R4=function(e,t){var n;return arguments.length<2?R2(n=Rk[e])?n:void 0:Rk[e]&&Rk[e][t]},R3=R4("navigator","userAgent")||"",R6=Rk.process,R5=Rk.Deno,R8=R6&&R6.versions||R5&&R5.version,R7=R8&&R8.v8;R7&&(RO=(RC=R7.split("."))[0]>0&&RC[0]<4?1:+(RC[0]+RC[1])),!RO&&R3&&(!(RC=R3.match(/Edge\/(\d+)/))||RC[1]>=74)&&(RC=R3.match(/Chrome\/(\d+)/))&&(RO=+RC[1]);var R9,Le=RO,Lt=!!Object.getOwnPropertySymbols&&!Rj(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Le&&Le<41}),Ln=Lt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Lr=RG("wks"),Lo=Rk.Symbol,Li=Lo&&Lo.for,La=Ln?Lo:Lo&&Lo.withoutSetter||R1,Lu=function(e){if(!RY(Lr,e)||!Lt&&"string"!=typeof Lr[e]){var t="Symbol."+e;Lt&&RY(Lo,e)?Lr[e]=Lo[e]:Lr[e]=Ln&&Li?Li(t):La(t)}return Lr[e]},Ls=function(e){return"object"==typeof e?null!==e:R2(e)},Ll=Rk.String,Lc=Rk.TypeError,Lf=function(e){if(Ls(e))return e;throw Lc(Ll(e)+" is not an object")},Ld=!Rj(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),Lp=Rk.document,Lh=Ls(Lp)&&Ls(Lp.createElement),Lg=function(e){return Lh?Lp.createElement(e):{}},Lv=!Ld&&!Rj(function(){return 7!=Object.defineProperty(Lg("div"),"a",{get:function(){return 7}}).a}),Ly=Function.prototype.call,Lm=Ly.bind?Ly.bind(Ly):function(){return Ly.apply(Ly,arguments)},Lb=RP({}.isPrototypeOf),Lw=Rk.Object,LE=Ln?function(e){return"symbol"==typeof e}:function(e){var t=R4("Symbol");return R2(t)&&Lb(t.prototype,Lw(e))},LD=Rk.String,LS=function(e){try{return LD(e)}catch(e){return"Object"}},Lx=Rk.TypeError,LC=function(e){if(R2(e))return e;throw Lx(LS(e)+" is not a function")},LO=function(e,t){var n=e[t];return null==n?void 0:LC(n)},LA=Rk.TypeError,Lk=Rk.TypeError,LT=Lu("toPrimitive"),LB=function(e){var t=function(e,t){if(!Ls(e)||LE(e))return e;var n,r=LO(e,LT);if(r){if(void 0===t&&(t="default"),!Ls(n=Lm(r,e,t))||LE(n))return n;throw Lk("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&R2(n=e.toString)&&!Ls(r=Lm(n,e))||R2(n=e.valueOf)&&!Ls(r=Lm(n,e))||"string"!==t&&R2(n=e.toString)&&!Ls(r=Lm(n,e)))return r;throw LA("Can't convert object to primitive value")}(e,t)}(e,"string");return LE(t)?t:t+""},LF=Rk.TypeError,L_=Object.defineProperty,LP={f:Ld?L_:function(e,t,n){if(Lf(e),t=LB(t),Lf(n),Lv)try{return L_(e,t,n)}catch(e){}if("get"in n||"set"in n)throw LF("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Lj=Math.ceil,LI=Math.floor,LN=function(e){var t=+e;return t!=t||0===t?0:(t>0?LI:Lj)(t)},LR=Math.max,LL=Math.min,LM=function(e,t){var n=LN(e);return n<0?LR(n+t,0):LL(n,t)},Lz=Math.min,L$=function(e){return e>0?Lz(LN(e),0x1fffffffffffff):0},LH=function(e){return L$(e.length)},LU=function(e){return function(t,n,r){var o,i=RU(t),a=LH(i),u=LM(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},LV={includes:LU(!0),indexOf:LU(!1)},LW={},Lq=LV.indexOf,LG=RP([].push),LK=function(e,t){var n,r=RU(e),o=0,i=[];for(n in r)!RY(LW,n)&&RY(r,n)&&LG(i,n);for(;t.length>o;)RY(r,n=t[o++])&&(~Lq(i,n)||LG(i,n));return i},LZ=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],LX=Object.keys||function(e){return LK(e,LZ)},LY=Ld?Object.defineProperties:function(e,t){Lf(e);for(var n,r=RU(t),o=LX(t),i=o.length,a=0;i>a;)LP.f(e,n=o[a++],r[n]);return e},LJ=R4("document","documentElement"),LQ=RG("keys"),L0=function(e){return LQ[e]||(LQ[e]=R1(e))},L1=L0("IE_PROTO"),L2=function(){},L4=function(e){return"<script>"+e+"<\/script>"},L3=function(e){e.write(L4("")),e.close();var t=e.parentWindow.Object;return e=null,t},L6=function(){try{R9=new ActiveXObject("htmlfile")}catch(e){}L6="undefined"!=typeof document?document.domain&&R9?L3(R9):((t=Lg("iframe")).style.display="none",LJ.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(L4("document.F=Object")),e.close(),e.F):L3(R9);for(var e,t,n=LZ.length;n--;)delete L6.prototype[LZ[n]];return L6()};LW[L1]=!0;var L5=Object.create||function(e,t){var n;return null!==e?(L2.prototype=Lf(e),n=new L2,L2.prototype=null,n[L1]=e):n=L6(),void 0===t?n:LY(n,t)},L8=Lu("unscopables"),L7=Array.prototype;null==L7[L8]&&LP.f(L7,L8,{configurable:!0,value:L5(null)});var L9=function(e){L7[L8][e]=!0},Me={},Mt=RP(Function.toString);R2(Rq.inspectSource)||(Rq.inspectSource=function(e){return Mt(e)});var Mn,Mr,Mo,Mi=Rq.inspectSource,Ma=Rk.WeakMap,Mu=R2(Ma)&&/native code/.test(Mi(Ma)),Ms=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Ml=Ld?function(e,t,n){return LP.f(e,t,Ms(1,n))}:function(e,t,n){return e[t]=n,e},Mc=Rk.TypeError,Mf=Rk.WeakMap;if(Mu||Rq.state){var Md=Rq.state||(Rq.state=new Mf),Mp=RP(Md.get),Mh=RP(Md.has),Mg=RP(Md.set);Mn=function(e,t){if(Mh(Md,e))throw new Mc("Object already initialized");return t.facade=e,Mg(Md,e,t),t},Mr=function(e){return Mp(Md,e)||{}},Mo=function(e){return Mh(Md,e)}}else{var Mv=L0("state");LW[Mv]=!0,Mn=function(e,t){if(RY(e,Mv))throw new Mc("Object already initialized");return t.facade=e,Ml(e,Mv,t),t},Mr=function(e){return RY(e,Mv)?e[Mv]:{}},Mo=function(e){return RY(e,Mv)}}var My,Mm,Mb,Mw=Mn,ME=Mr,MD=function(e){return Mo(e)?Mr(e):Mn(e,{})},MS=function(e){return function(t){var n;if(!Ls(t)||(n=Mr(t)).type!==e)throw Mc("Incompatible receiver, "+e+" required");return n}},Mx={}.propertyIsEnumerable,MC=Object.getOwnPropertyDescriptor,MO={f:MC&&!Mx.call({1:2},1)?function(e){var t=MC(this,e);return!!t&&t.enumerable}:Mx},MA=Object.getOwnPropertyDescriptor,Mk={f:Ld?MA:function(e,t){if(e=RU(e),t=LB(t),Lv)try{return MA(e,t)}catch(e){}if(RY(e,t))return Ms(!Lm(MO.f,e,t),e[t])}},MT=Function.prototype,MB=Ld&&Object.getOwnPropertyDescriptor,MF=RY(MT,"name"),M_={EXISTS:MF,PROPER:MF&&"something"===(function(){}).name,CONFIGURABLE:MF&&(!Ld||Ld&&MB(MT,"name").configurable)},MP=RS(function(e){var t=M_.CONFIGURABLE,n=String(String).split("String");(e.exports=function(e,r,o,i){var a,u=!!i&&!!i.unsafe,s=!!i&&!!i.enumerable,l=!!i&&!!i.noTargetGet,c=i&&void 0!==i.name?i.name:r;R2(o)&&("Symbol("===String(c).slice(0,7)&&(c="["+String(c).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!RY(o,"name")||t&&o.name!==c)&&Ml(o,"name",c),(a=MD(o)).source||(a.source=n.join("string"==typeof c?c:""))),e!==Rk?(u?!l&&e[r]&&(s=!0):delete e[r],s?e[r]=o:Ml(e,r,o)):s?e[r]=o:RW(r,o)})(Function.prototype,"toString",function(){return R2(this)&&ME(this).source||Mi(this)})}),Mj=LZ.concat("length","prototype"),MI={f:Object.getOwnPropertyNames||function(e){return LK(e,Mj)}},MN={f:Object.getOwnPropertySymbols},MR=RP([].concat),ML=R4("Reflect","ownKeys")||function(e){var t=MI.f(Lf(e)),n=MN.f;return n?MR(t,n(e)):t},MM=function(e,t){for(var n=ML(t),r=LP.f,o=Mk.f,i=0;i<n.length;i++){var a=n[i];RY(e,a)||r(e,a,o(t,a))}},Mz=/#|\.prototype\./,M$=function(e,t){var n=MU[MH(e)];return n==MW||n!=MV&&(R2(t)?Rj(t):!!t)},MH=M$.normalize=function(e){return String(e).replace(Mz,".").toLowerCase()},MU=M$.data={},MV=M$.NATIVE="N",MW=M$.POLYFILL="P",Mq=Mk.f,MG=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?Rk:l?Rk[u]||RW(u,{}):(Rk[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Mq(n,r))&&a.value:n[r],!M$(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;MM(i,o)}(e.sham||o&&o.sham)&&Ml(i,"sham",!0),MP(n,r,i,e)}},MK=!Rj(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),MZ=L0("IE_PROTO"),MX=Rk.Object,MY=MX.prototype,MJ=MK?MX.getPrototypeOf:function(e){var t=RZ(e);if(RY(t,MZ))return t[MZ];var n=t.constructor;return R2(n)&&t instanceof n?n.prototype:t instanceof MX?MY:null},MQ=Lu("iterator"),M0=!1;[].keys&&("next"in(Mb=[].keys())?(Mm=MJ(MJ(Mb)))!==Object.prototype&&(My=Mm):M0=!0),(null==My||Rj(function(){var e={};return My[MQ].call(e)!==e}))&&(My={}),R2(My[MQ])||MP(My,MQ,function(){return this});var M1=My,M2=M0,M4=LP.f,M3=Lu("toStringTag"),M6=function(e,t,n){e&&!RY(e=n?e:e.prototype,M3)&&M4(e,M3,{configurable:!0,value:t})},M5=function(){return this},M8=Rk.String,M7=Rk.TypeError,M9=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=RP(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Lf(n),function(e){if(!("object"==typeof e||R2(e)))throw M7("Can't set "+M8(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),ze=M_.PROPER,zt=M_.CONFIGURABLE,zn=Lu("iterator"),zr=function(){return this},zo=function(e,t,n,r,o,i,a){u=t+" Iterator",n.prototype=L5(M1,{next:Ms(1,r)}),M6(n,u,!1),Me[u]=M5;var u,s,l,c,f=function(e){if(e===o&&g)return g;if(!M2&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=!1,p=e.prototype,h=p[zn]||p["@@iterator"]||o&&p[o],g=!M2&&h||f(o),v="Array"==t&&p.entries||h;if(v&&(s=MJ(v.call(new e)))!==Object.prototype&&s.next&&(MJ(s)!==M1&&(M9?M9(s,M1):R2(s[zn])||MP(s,zn,zr)),M6(s,t+" Iterator",!0)),ze&&"values"==o&&h&&"values"!==h.name&&(zt?Ml(p,"name","values"):(d=!0,g=function(){return Lm(h,this)})),o)if(l={values:f("values"),keys:i?g:f("keys"),entries:f("entries")},a)for(c in l)!M2&&!d&&c in p||MP(p,c,l[c]);else MG({target:t,proto:!0,forced:M2||d},l);return p[zn]!==g&&MP(p,zn,g,{name:o}),Me[t]=g,l},zi=MS("Array Iterator"),za=zo(Array,"Array",function(e,t){Mw(this,{type:"Array Iterator",target:RU(e),index:0,kind:t})},function(){var e=zi(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");Me.Arguments=Me.Array,L9("keys"),L9("values"),L9("entries");var zu={};zu[Lu("toStringTag")]="z";var zs="[object z]"===String(zu),zl=Lu("toStringTag"),zc=Rk.Object,zf="Arguments"==RR(function(){return arguments}()),zd=zs?RR:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=zc(e),zl))?n:zf?RR(t):"Object"==(r=RR(t))&&R2(t.callee)?"Arguments":r};zs||MP(Object.prototype,"toString",zs?({}).toString:function(){return"[object "+zd(this)+"]"},{unsafe:!0});var zp=Rk.String,zh=function(e){if("Symbol"===zd(e))throw TypeError("Cannot convert a Symbol value to a string");return zp(e)},zg=RP("".charAt),zv=RP("".charCodeAt),zy=RP("".slice),zm=function(e){return function(t,n){var r,o,i=zh(RH(t)),a=LN(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=zv(i,a))<55296||r>56319||a+1===u||(o=zv(i,a+1))<56320||o>57343?e?zg(i,a):r:e?zy(i,a,a+2):o-56320+(r-55296<<10)+65536}},zb={codeAt:zm(!1),charAt:zm(!0)},zw=zb.charAt,zE=MS("String Iterator");zo(String,"String",function(e){Mw(this,{type:"String Iterator",string:zh(e),index:0})},function(){var e,t=zE(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=zw(n,r),t.index+=e.length,{value:e,done:!1})});var zD=function(e,t,n){for(var r in t)MP(e,r,t[r],n);return e},zS=Rk.Array,zx=Math.max,zC=MI.f,zO="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],zA={f:function(e){return zO&&"Window"==RR(e)?function(e){try{return zC(e)}catch(e){return function(e,t,n){for(var r,o,i,a=LH(e),u=LM(void 0,a),s=LM(a,a),l=zS(zx(s-u,0)),c=0;u<s;u++,c++)r=c,o=e[u],(i=LB(r))in l?LP.f(l,i,Ms(0,o)):l[i]=o;return l.length=c,l}(zO)}}(e):zC(RU(e))}},zk=Rj(function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),zT=Object.isExtensible,zB=Rj(function(){zT(1)})||zk?function(e){return!!Ls(e)&&(!zk||"ArrayBuffer"!=RR(e))&&(!zT||zT(e))}:zT,zF=!Rj(function(){return Object.isExtensible(Object.preventExtensions({}))}),z_=RS(function(e){var t=LP.f,n=!1,r=R1("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=MI.f,t=RP([].splice),o={};o[r]=1,e(o).length&&(MI.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break}return o},MG({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:zA.f}))},fastKey:function(e,t){if(!Ls(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!RY(e,r)){if(!zB(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!RY(e,r)){if(!zB(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return zF&&n&&zB(e)&&!RY(e,r)&&i(e),e}};LW[r]=!0}),zP=RP(RP.bind),zj=function(e,t){return LC(e),void 0===t?e:zP?zP(e,t):function(){return e.apply(t,arguments)}},zI=Lu("iterator"),zN=Array.prototype,zR=Lu("iterator"),zL=function(e){if(null!=e)return LO(e,zR)||LO(e,"@@iterator")||Me[zd(e)]},zM=Rk.TypeError,zz=function(e,t,n){var r,o;Lf(e);try{if(!(r=LO(e,"return"))){if("throw"===t)throw n;return n}r=Lm(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return Lf(r),n},z$=Rk.TypeError,zH=function(e,t){this.stopped=e,this.result=t},zU=zH.prototype,zV=function(e,t,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=zj(t,c),g=function(e){return r&&zz(r,"normal",e),new zH(!0,e)},v=function(e){return f?(Lf(e),p?h(e[0],e[1],g):h(e[0],e[1])):p?h(e,g):h(e)};if(d)r=e;else{if(!(o=zL(e)))throw z$(LS(e)+" is not iterable");if(void 0!==o&&(Me.Array===o||zN[zI]===o)){for(i=0,a=LH(e);a>i;i++)if((u=v(e[i]))&&Lb(zU,u))return u;return new zH(!1)}r=function(e,t){var n=arguments.length<2?zL(e):t;if(LC(n))return Lf(Lm(n,e));throw zM(LS(e)+" is not iterable")}(e,o)}for(s=r.next;!(l=Lm(s,r)).done;){try{u=v(l.value)}catch(e){zz(r,"throw",e)}if("object"==typeof u&&u&&Lb(zU,u))return u}return new zH(!1)},zW=Rk.TypeError,zq=function(e,t){if(Lb(t,e))return e;throw zW("Incorrect invocation")},zG=Lu("iterator"),zK=!1;try{var zZ=0,zX={next:function(){return{done:!!zZ++}},return:function(){zK=!0}};zX[zG]=function(){return this},Array.from(zX,function(){throw 2})}catch(e){}var zY=Array.isArray||function(e){return"Array"==RR(e)},zJ=function(){},zQ=[],z0=R4("Reflect","construct"),z1=/^\s*(?:class|function)\b/,z2=RP(z1.exec),z4=!z1.exec(zJ),z3=function(e){if(!R2(e))return!1;try{return z0(zJ,zQ,e),!0}catch(e){return!1}},z6=!z0||Rj(function(){var e;return z3(z3.call)||!z3(Object)||!z3(function(){e=!0})||e})?function(e){if(!R2(e))return!1;switch(zd(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return z4||!!z2(z1,Mi(e))}:z3,z5=Lu("species"),z8=Rk.Array,z7=function(e,t){var n;return new(zY(e)&&(z6(n=e.constructor)&&(n===z8||zY(n.prototype))||Ls(n)&&null===(n=n[z5]))&&(n=void 0),void 0===n?z8:n)(0===t?0:t)},z9=RP([].push),$e=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=RZ(s),g=Rz(h),v=zj(l,c),y=LH(g),m=0,b=f||z7,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:z9(w,d)}else switch(e){case 4:return!1;case 7:z9(w,d)}return i?-1:r||o?o:w}},$t={forEach:$e(0),map:$e(1),filter:$e(2),some:$e(3),every:$e(4),find:$e(5),findIndex:$e(6),filterReject:$e(7)},$n=z_.getWeakData,$r=$t.find,$o=$t.findIndex,$i=RP([].splice),$a=0,$u=function(e){return e.frozen||(e.frozen=new $s)},$s=function(){this.entries=[]},$l=function(e,t){return $r(e.entries,function(e){return e[0]===t})};$s.prototype={get:function(e){var t=$l(this,e);if(t)return t[1]},has:function(e){return!!$l(this,e)},set:function(e,t){var n=$l(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=$o(this.entries,function(t){return t[0]===e});return~t&&$i(this.entries,t,1),!!~t}};var $c,$f={getConstructor:function(e,t,n,r){var o=e(function(e,o){zq(e,i),Mw(e,{type:t,id:$a++,frozen:void 0}),null!=o&&zV(o,e[r],{that:e,AS_ENTRIES:n})}),i=o.prototype,a=MS(t),u=function(e,t,n){var r=a(e),o=$n(Lf(t),!0);return!0===o?$u(r).set(t,n):o[r.id]=n,e};return zD(i,{delete:function(e){var t=a(this);if(!Ls(e))return!1;var n=$n(e);return!0===n?$u(t).delete(e):n&&RY(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!Ls(e))return!1;var n=$n(e);return!0===n?$u(t).has(e):n&&RY(n,t.id)}}),zD(i,n?{get:function(e){var t=a(this);if(Ls(e)){var n=$n(e);return!0===n?$u(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return u(this,e,t)}}:{add:function(e){return u(this,e,!0)}}),o}},$d=!Rk.ActiveXObject&&"ActiveXObject"in Rk,$p=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},$h=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=Rk[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=RP(u[e]);MP(u,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!Ls(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!Ls(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!Ls(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(M$(e,!R2(a)||!(o||u.forEach&&!Rj(function(){(new a).entries().next()}))))s=n.getConstructor(t,e,r,i),z_.enable();else if(M$(e,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=Rj(function(){f.has(1)}),h=function(e,t){if(!zK)return!1;var n=!1;try{var r={};r[zG]=function(){return{next:function(){return{done:n=!0}}}},new a(r)}catch(e){}return n}(),g=!o&&Rj(function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)});h||((s=t(function(e,t){zq(e,u);var n,o,l,c,f=(n=new a,o=s,M9&&R2(l=e.constructor)&&l!==o&&Ls(c=l.prototype)&&c!==o.prototype&&M9(n,c),n);return null!=t&&zV(t,f[i],{that:f,AS_ENTRIES:r}),f})).prototype=u,u.constructor=s),(p||g)&&(c("delete"),c("has"),r&&c("get")),(g||d)&&c(i),o&&u.clear&&delete u.clear}return l[e]=s,MG({global:!0,forced:s!=a},l),M6(s,e),o||n.setStrong(s,e,r),s}("WeakMap",$p,$f);if(Mu&&$d){$c=$f.getConstructor($p,"WeakMap",!0),z_.enable();var $g=$h.prototype,$v=RP($g.delete),$y=RP($g.has),$m=RP($g.get),$b=RP($g.set);zD($g,{delete:function(e){if(Ls(e)&&!zB(e)){var t=MD(this);return t.frozen||(t.frozen=new $c),$v(this,e)||t.frozen.delete(e)}return $v(this,e)},has:function(e){if(Ls(e)&&!zB(e)){var t=MD(this);return t.frozen||(t.frozen=new $c),$y(this,e)||t.frozen.has(e)}return $y(this,e)},get:function(e){if(Ls(e)&&!zB(e)){var t=MD(this);return t.frozen||(t.frozen=new $c),$y(this,e)?$m(this,e):t.frozen.get(e)}return $m(this,e)},set:function(e,t){if(Ls(e)&&!zB(e)){var n=MD(this);n.frozen||(n.frozen=new $c),$y(this,e)?$b(this,e,t):n.frozen.set(e,t)}else $b(this,e,t);return this}})}var $w={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},$E=Lg("span").classList,$D=$E&&$E.constructor&&$E.constructor.prototype,$S=$D===Object.prototype?void 0:$D,$x=Lu("iterator"),$C=Lu("toStringTag"),$O=za.values,$A=function(e,t){if(e){if(e[$x]!==$O)try{Ml(e,$x,$O)}catch(t){e[$x]=$O}if(e[$C]||Ml(e,$C,t),$w[t]){for(var n in za)if(e[n]!==za[n])try{Ml(e,n,za[n])}catch(t){e[n]=za[n]}}}};for(var $k in $w)$A(Rk[$k]&&Rk[$k].prototype,$k);$A($S,"DOMTokenList");var $T=new WeakMap,$B=function(e,t){return($B=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function $F(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}$B(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function $_(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function $P(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function $j(e){return ly.nodes(e,{at:e.selection||void 0,match:function(t){return 1===Dn.findPath(e,t).length}})}var $I=LV.includes;MG({target:"Array",proto:!0},{includes:function(e){return $I(this,e,arguments.length>1?arguments[1]:void 0)}}),L9("includes");var $N,$R,$L=function(){var e=Lf(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},$M=Rk.RegExp,$z=Rj(function(){var e=$M("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),$$=$z||Rj(function(){return!$M("a","y").sticky}),$H={BROKEN_CARET:$z||Rj(function(){var e=$M("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),MISSED_STICKY:$$,UNSUPPORTED_Y:$z},$U=Rk.RegExp,$V=Rj(function(){var e=$U(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),$W=Rk.RegExp,$q=Rj(function(){var e=$W("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),$G=RG("native-string-replace",String.prototype.replace),$K=RegExp.prototype.exec,$Z=$K,$X=RP("".charAt),$Y=RP("".indexOf),$J=RP("".replace),$Q=RP("".slice),$0=($R=/b*/g,Lm($K,$N=/a/,"a"),Lm($K,$R,"a"),0!==$N.lastIndex||0!==$R.lastIndex),$1=$H.BROKEN_CARET,$2=void 0!==/()??/.exec("")[1];($0||$2||$1||$V||$q)&&($Z=function(e){var t,n,r,o,i,a,u,s=ME(this),l=zh(e),c=s.raw;if(c)return c.lastIndex=this.lastIndex,t=Lm($Z,c,l),this.lastIndex=c.lastIndex,t;var f=s.groups,d=$1&&this.sticky,p=Lm($L,this),h=this.source,g=0,v=l;if(d&&(-1===$Y(p=$J(p,"y",""),"g")&&(p+="g"),v=$Q(l,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==$X(l,this.lastIndex-1))&&(h="(?: "+h+")",v=" "+v,g++),n=RegExp("^(?:"+h+")",p)),$2&&(n=RegExp("^"+h+"$(?!\\s)",p)),$0&&(r=this.lastIndex),o=Lm($K,d?n:this,v),d?o?(o.input=$Q(o.input,g),o[0]=$Q(o[0],g),o.index=this.lastIndex,this.lastIndex+=o[0].length):this.lastIndex=0:$0&&o&&(this.lastIndex=this.global?o.index+o[0].length:r),$2&&o&&o.length>1&&Lm($G,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)}),o&&f)for(o.groups=a=L5(null),i=0;i<f.length;i++)a[(u=f[i])[0]]=o[u[1]];return o});var $4=$Z;MG({target:"RegExp",proto:!0,forced:/./.exec!==$4},{exec:$4});var $3=function(){function e(){this.type="list-item",this.tag="button"}return e.prototype.getListNode=function(e){var t=this.type;return Dn.getSelectedNodeByType(e,t)},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){var t=this.getListNode(e);if(null==t)return!1;var n=t.ordered;return(void 0!==n&&n)===this.ordered},e.prototype.isDisabled=function(e){return null==e.selection||!!Dn.getSelectedElems(e).some(function(t){return!!(ly.isVoid(e,t)&&ly.isBlock(e,t))||!!["pre","code","table"].includes(t.type)||void 0})},e.prototype.exec=function(e,t){this.isActive(e)?l6.setNodes(e,{type:"paragraph",ordered:void 0,level:void 0}):l6.setNodes(e,{type:"list-item",ordered:this.ordered,indent:void 0})},e}(),$6=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ordered=!1,t.title=OP("listModule.unOrderedList"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M384 64h640v128H384V64z m0 384h640v128H384v-128z m0 384h640v128H384v-128zM0 128a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z"></path></svg>',t}return $F(t,e),t}($3),$5=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ordered=!0,t.title=OP("listModule.orderedList"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M384 832h640v128H384z m0-384h640v128H384z m0-384h640v128H384zM192 0v256H128V64H64V0zM128 526.016v50.016h128v64H64v-146.016l128-60V384H64v-64h192v146.016zM256 704v320H64v-64h128v-64H64v-64h128v-64H64v-64z"></path></svg>',t}return $F(t,e),t}($3),$8=[],$7=Lu("species"),$9=$t.filter;MG({target:"Array",proto:!0,forced:!(Le>=51||!Rj(function(){var e=[];return(e.constructor={})[$7]=function(){return{foo:1}},1!==e.filter(Boolean).foo}))},{filter:function(e){return $9(this,e,arguments.length>1?arguments[1]:void 0)}});var He=Function.prototype,Ht=He.apply,Hn=He.bind,Hr=He.call,Ho="object"==typeof Reflect&&Reflect.apply||(Hn?Hr.bind(Ht):function(){return Hr.apply(Ht,arguments)}),Hi=(Lu("species"),RegExp.prototype),Ha=zb.charAt,Hu=Math.floor,Hs=RP("".charAt),Hl=RP("".replace),Hc=RP("".slice),Hf=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Hd=/\$([$&'`]|\d{1,2})/g,Hp=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=Hd;return void 0!==o&&(o=RZ(o),s=Hf),Hl(i,s,function(i,s){var l;switch(Hs(s,0)){case"$":return"$";case"&":return e;case"`":return Hc(t,0,n);case"'":return Hc(t,a);case"<":l=o[Hc(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=Hu(c/10);return 0===f?i:f<=u?void 0===r[f-1]?Hs(s,1):r[f-1]+Hs(s,1):i}l=r[c-1]}return void 0===l?"":l})},Hh=Rk.TypeError,Hg=function(e,t){var n=e.exec;if(R2(n)){var r=Lm(n,e,t);return null!==r&&Lf(r),r}if("RegExp"===RR(e))return Lm($4,e,t);throw Hh("RegExp#exec called on incompatible receiver")},Hv=Lu("replace"),Hy=Math.max,Hm=Math.min,Hb=RP([].concat),Hw=RP([].push),HE=RP("".indexOf),HD=RP("".slice),HS="$0"==="a".replace(/./,"$0"),Hx=!!/./[Hv]&&""===/./[Hv]("a","$0");!function(e,t,n,r){var o=Lu(e),i=!Rj(function(){var t={};return t[o]=function(){return 7},7!=""[e](t)}),a=i&&!Rj(function(){var e=!1,t=/a/;return t.exec=function(){return e=!0,null},t[o](""),!e});if(!i||!a||n){var u,s,l,c=RP(/./[o]),f=(u=""[e],s=function(e,t,n,r,o){var a=RP(e),u=t.exec;return u===$4||u===Hi.exec?i&&!o?{done:!0,value:c(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}},l=Hx?"$":"$0",[function(e,t){var n=RH(this),r=null==e?void 0:LO(e,Hv);return r?Lm(r,e,n,t):Lm(u,zh(n),e,t)},function(e,t){var n=Lf(this),r=zh(e);if("string"==typeof t&&-1===HE(t,l)&&-1===HE(t,"$<")){var o=s(u,n,r,t);if(o.done)return o.value}var i=R2(t);i||(t=zh(t));var a=n.global;if(a){var c=n.unicode;n.lastIndex=0}for(var f=[];;){var d,p=Hg(n,r);if(null===p||(Hw(f,p),!a))break;""===zh(p[0])&&(d=L$(n.lastIndex),n.lastIndex=d+(c?Ha(r,d).length:1))}for(var h,g="",v=0,y=0;y<f.length;y++){for(var m=zh((p=f[y])[0]),b=Hy(Hm(LN(p.index),r.length),0),w=[],E=1;E<p.length;E++)Hw(w,void 0===(h=p[E])?h:String(h));var D=p.groups;if(i){var S=Hb([m],w,b,r);void 0!==D&&Hw(S,D);var x=zh(Ho(t,void 0,S))}else x=Hp(m,r,b,w,D,t);b>=v&&(g+=HD(r,v,b)+x,v=b+m.length)}return g+HD(r,v)}]);MP(String.prototype,e,f[0]),MP(Hi,o,f[1])}}("replace",0,!!Rj(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!HS||Hx);var HC=Rk.TypeError,HO=function(e,t,n,r,o,i,a,u){for(var s,l,c=o,f=0,d=!!a&&zj(a,u);f<r;){if(f in n){if(s=d?d(n[f],f,t):n[f],i>0&&zY(s))l=LH(s),c=HO(e,t,s,l,c,i-1)-1;else{if(c>=0x1fffffffffffff)throw HC("Exceed the acceptable array length");e[c]=s}c++}f++}return c};function HA(e){return e.length?e[0].tagName.toLowerCase():""}MG({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=RZ(this),n=LH(t),r=z7(t,0);return r.length=HO(r,t,t,n,0,void 0===e?1:LN(e)),r}}),L9("flat"),MG({global:!0},{globalThis:Rk}),fp&&(c2.fn.append=fp),c5&&(c2.fn.attr=c5),fg&&(c2.fn.parent=fg);var Hk=s(function(e,t){var n,r,o,i="__lodash_hash_undefined__",a="[object Arguments]",s="[object Array]",l="[object Boolean]",c="[object Date]",f="[object Error]",d="[object Function]",p="[object Map]",h="[object Number]",g="[object Object]",v="[object Promise]",y="[object RegExp]",m="[object Set]",b="[object String]",w="[object WeakMap]",E="[object ArrayBuffer]",D="[object DataView]",S=/^\[object .+?Constructor\]$/,x=/^(?:0|[1-9]\d*)$/,C={};C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C[a]=C[s]=C[E]=C[l]=C[D]=C[c]=C[f]=C[d]=C[p]=C[h]=C[g]=C[y]=C[m]=C[b]=C[w]=!1;var O="object"==typeof u&&u&&u.Object===Object&&u,A="object"==typeof self&&self&&self.Object===Object&&self,k=O||A||Function("return this")(),T=t&&!t.nodeType&&t,B=T&&e&&!e.nodeType&&e,F=B&&B.exports===T,_=F&&O.process,P=function(){try{return _&&_.binding&&_.binding("util")}catch(e){}}(),j=P&&P.isTypedArray;function I(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function N(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var R=Array.prototype,L=Function.prototype,M=Object.prototype,z=k["__core-js_shared__"],$=L.toString,H=M.hasOwnProperty,U=(n=/[^.]+$/.exec(z&&z.keys&&z.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",V=M.toString,W=RegExp("^"+$.call(H).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),q=F?k.Buffer:void 0,G=k.Symbol,K=k.Uint8Array,Z=M.propertyIsEnumerable,X=R.splice,Y=G?G.toStringTag:void 0,J=Object.getOwnPropertySymbols,Q=q?q.isBuffer:void 0,ee=(r=Object.keys,o=Object,function(e){return r(o(e))}),et=eC(k,"DataView"),en=eC(k,"Map"),er=eC(k,"Promise"),eo=eC(k,"Set"),ei=eC(k,"WeakMap"),ea=eC(Object,"create"),eu=ek(et),es=ek(en),el=ek(er),ec=ek(eo),ef=ek(ei),ed=G?G.prototype:void 0,ep=ed?ed.valueOf:void 0;function eh(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function eg(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ev(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ey(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new ev;++t<n;)this.add(e[t])}function em(e){var t=this.__data__=new eg(e);this.size=t.size}function eb(e,t){for(var n=e.length;n--;)if(eT(e[n][0],t))return n;return -1}function ew(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Y&&Y in Object(e)?function(e){var t=H.call(e,Y),n=e[Y];try{e[Y]=void 0;var r=!0}catch(e){}var o=V.call(e);return r&&(t?e[Y]=n:delete e[Y]),o}(e):V.call(e)}function eE(e){return eN(e)&&ew(e)==a}function eD(e,t,n,r,o,i){var a=1&n,u=e.length,s=t.length;if(u!=s&&!(a&&s>u))return!1;var l=i.get(e);if(l&&i.get(t))return l==t;var c=-1,f=!0,d=2&n?new ey:void 0;for(i.set(e,t),i.set(t,e);++c<u;){var p=e[c],h=t[c];if(r)var g=a?r(h,p,c,t,e,i):r(p,h,c,e,t,i);if(void 0!==g){if(g)continue;f=!1;break}if(d){if(!function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}(t,function(e,t){if(!d.has(t)&&(p===e||o(p,e,n,r,i)))return d.push(t)})){f=!1;break}}else if(p!==h&&!o(p,h,n,r,i)){f=!1;break}}return i.delete(e),i.delete(t),f}function eS(e){var t;return t=eL(e),eF(e)?t:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(t,eO(e))}function ex(e,t){var n,r=e.__data__;return("string"==(n=typeof t)||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?r["string"==typeof t?"string":"hash"]:r.map}function eC(e,t){var n=null==e?void 0:e[t];return!(!eI(n)||U&&U in n)&&(eP(n)?W:S).test(ek(n))?n:void 0}eh.prototype.clear=function(){this.__data__=ea?ea(null):{},this.size=0},eh.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t},eh.prototype.get=function(e){var t=this.__data__;if(ea){var n=t[e];return n===i?void 0:n}return H.call(t,e)?t[e]:void 0},eh.prototype.has=function(e){var t=this.__data__;return ea?void 0!==t[e]:H.call(t,e)},eh.prototype.set=function(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=ea&&void 0===t?i:t,this},eg.prototype.clear=function(){this.__data__=[],this.size=0},eg.prototype.delete=function(e){var t=this.__data__,n=eb(t,e);return!(n<0)&&(n==t.length-1?t.pop():X.call(t,n,1),--this.size,!0)},eg.prototype.get=function(e){var t=this.__data__,n=eb(t,e);return n<0?void 0:t[n][1]},eg.prototype.has=function(e){return eb(this.__data__,e)>-1},eg.prototype.set=function(e,t){var n=this.__data__,r=eb(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},ev.prototype.clear=function(){this.size=0,this.__data__={hash:new eh,map:new(en||eg),string:new eh}},ev.prototype.delete=function(e){var t=ex(this,e).delete(e);return this.size-=!!t,t},ev.prototype.get=function(e){return ex(this,e).get(e)},ev.prototype.has=function(e){return ex(this,e).has(e)},ev.prototype.set=function(e,t){var n=ex(this,e),r=n.size;return n.set(e,t),this.size+=+(n.size!=r),this},ey.prototype.add=ey.prototype.push=function(e){return this.__data__.set(e,i),this},ey.prototype.has=function(e){return this.__data__.has(e)},em.prototype.clear=function(){this.__data__=new eg,this.size=0},em.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},em.prototype.get=function(e){return this.__data__.get(e)},em.prototype.has=function(e){return this.__data__.has(e)},em.prototype.set=function(e,t){var n=this.__data__;if(n instanceof eg){var r=n.__data__;if(!en||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ev(r)}return n.set(e,t),this.size=n.size,this};var eO=J?function(e){return null==e?[]:function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}(J(e=Object(e)),function(t){return Z.call(e,t)})}:function(){return[]},eA=ew;function ek(e){if(null!=e){try{return $.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function eT(e,t){return e===t||e!=e&&t!=t}(et&&eA(new et(new ArrayBuffer(1)))!=D||en&&eA(new en)!=p||er&&eA(er.resolve())!=v||eo&&eA(new eo)!=m||ei&&eA(new ei)!=w)&&(eA=function(e){var t=ew(e),n=t==g?e.constructor:void 0,r=n?ek(n):"";if(r)switch(r){case eu:return D;case es:return p;case el:return v;case ec:return m;case ef:return w}return t});var eB=eE(function(){return arguments}())?eE:function(e){return eN(e)&&H.call(e,"callee")&&!Z.call(e,"callee")},eF=Array.isArray,e_=Q||function(){return!1};function eP(e){if(!eI(e))return!1;var t=ew(e);return t==d||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ej(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}function eI(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function eN(e){return null!=e&&"object"==typeof e}var eR=j?function(e){return j(e)}:function(e){return eN(e)&&ej(e.length)&&!!C[ew(e)]};function eL(e){return null!=e&&ej(e.length)&&!eP(e)?function(e,t){var n,r,o=eF(e),i=!o&&eB(e),a=!o&&!i&&e_(e),u=!o&&!i&&!a&&eR(e),s=o||i||a||u,l=s?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=l.length;for(var f in e){!H.call(e,f)||s&&("length"==f||a&&("offset"==f||"parent"==f)||u&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||(n=f,(r=null==(r=c)?0x1fffffffffffff:r)&&("number"==typeof n||x.test(n))&&n>-1&&n%1==0&&n<r))||l.push(f)}return l}(e):function(e){if(n="function"==typeof(t=e&&e.constructor)&&t.prototype||M,e!==n)return ee(e);var t,n,r=[];for(var o in Object(e))H.call(e,o)&&"constructor"!=o&&r.push(o);return r}(e)}e.exports=function(e,t){return function e(t,n,r,o,i){return t===n||(null!=t&&null!=n&&(eN(t)||eN(n))?function(e,t,n,r,o,i){var u=eF(e),d=eF(t),v=u?s:eA(e),w=d?s:eA(t),S=(v=v==a?g:v)==g,x=(w=w==a?g:w)==g,C=v==w;if(C&&e_(e)){if(!e_(t))return!1;u=!0,S=!1}if(C&&!S)return i||(i=new em),u||eR(e)?eD(e,t,n,r,o,i):function(e,t,n,r,o,i,a){switch(n){case D:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case E:return!(e.byteLength!=t.byteLength||!i(new K(e),new K(t)));case l:case c:case h:return eT(+e,+t);case f:return e.name==t.name&&e.message==t.message;case y:case b:return e==t+"";case p:var u=I;case m:var s=1&r;if(u||(u=N),e.size!=t.size&&!s)break;var d=a.get(e);if(d)return d==t;r|=2,a.set(e,t);var g=eD(u(e),u(t),r,o,i,a);return a.delete(e),g;case"[object Symbol]":if(ep)return ep.call(e)==ep.call(t)}return!1}(e,t,v,n,r,o,i);if(!(1&n)){var O=S&&H.call(e,"__wrapped__"),A=x&&H.call(t,"__wrapped__");if(O||A){var k=O?e.value():e,T=A?t.value():t;return i||(i=new em),o(k,T,n,r,i)}}return!!C&&(i||(i=new em),function(e,t,n,r,o,i){var a=1&n,u=eS(e),s=u.length;if(s!=eS(t).length&&!a)return!1;for(var l=s;l--;){var c=u[l];if(!(a?c in t:H.call(t,c)))return!1}var f=i.get(e);if(f&&i.get(t))return f==t;var d=!0;i.set(e,t),i.set(t,e);for(var p=a;++l<s;){var h=e[c=u[l]],g=t[c];if(r)var v=a?r(g,h,c,t,e,i):r(h,g,c,e,t,i);if(!(void 0===v?h===g||o(h,g,n,r,i):v)){d=!1;break}p||(p="constructor"==c)}if(d&&!p){var y=e.constructor,m=t.constructor;y==m||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof m&&m instanceof m||(d=!1)}return i.delete(e),i.delete(t),d}(e,t,n,r,o,i))}(t,n,r,o,e,i):t!=t&&n!=n)}(e,t)}});OF("en",{tableModule:{deleteCol:"Delete column",deleteRow:"Delete row",deleteTable:"Delete table",widthAuto:"Width auto",insertCol:"Insert column",insertRow:"Insert row",insertTable:"Insert table",header:"Header"}}),OF("zh-CN",{tableModule:{deleteCol:"删除列",deleteRow:"删除行",deleteTable:"删除表格",widthAuto:"宽度自适应",insertCol:"插入列",insertRow:"插入行",insertTable:"插入表格",header:"表头"}});var HT="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function HB(e){var t={exports:{}};return e(t,t.exports),t.exports}var HF,H_,HP=function(e){return e&&e.Math==Math&&e},Hj=HP("object"==typeof globalThis&&globalThis)||HP("object"==typeof window&&window)||HP("object"==typeof self&&self)||HP("object"==typeof HT&&HT)||function(){return this}()||Function("return this")(),HI=function(e){try{return!!e()}catch(e){return!0}},HN=!HI(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),HR=Function.prototype.call,HL=HR.bind?HR.bind(HR):function(){return HR.apply(HR,arguments)},HM={}.propertyIsEnumerable,Hz=Object.getOwnPropertyDescriptor,H$={f:Hz&&!HM.call({1:2},1)?function(e){var t=Hz(this,e);return!!t&&t.enumerable}:HM},HH=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},HU=Function.prototype,HV=HU.bind,HW=HU.call,Hq=HV&&HV.bind(HW),HG=HV?function(e){return e&&Hq(HW,e)}:function(e){return e&&function(){return HW.apply(e,arguments)}},HK=HG({}.toString),HZ=HG("".slice),HX=function(e){return HZ(HK(e),8,-1)},HY=Hj.Object,HJ=HG("".split),HQ=HI(function(){return!HY("z").propertyIsEnumerable(0)})?function(e){return"String"==HX(e)?HJ(e,""):HY(e)}:HY,H0=Hj.TypeError,H1=function(e){if(null==e)throw H0("Can't call method on "+e);return e},H2=function(e){return HQ(H1(e))},H4=function(e){return"function"==typeof e},H3=function(e){return"object"==typeof e?null!==e:H4(e)},H6=function(e,t){var n;return arguments.length<2?H4(n=Hj[e])?n:void 0:Hj[e]&&Hj[e][t]},H5=HG({}.isPrototypeOf),H8=H6("navigator","userAgent")||"",H7=Hj.process,H9=Hj.Deno,Ue=H7&&H7.versions||H9&&H9.version,Ut=Ue&&Ue.v8;Ut&&(H_=(HF=Ut.split("."))[0]>0&&HF[0]<4?1:+(HF[0]+HF[1])),!H_&&H8&&(!(HF=H8.match(/Edge\/(\d+)/))||HF[1]>=74)&&(HF=H8.match(/Chrome\/(\d+)/))&&(H_=+HF[1]);var Un=H_,Ur=!!Object.getOwnPropertySymbols&&!HI(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Un&&Un<41}),Uo=Ur&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ui=Hj.Object,Ua=Uo?function(e){return"symbol"==typeof e}:function(e){var t=H6("Symbol");return H4(t)&&H5(t.prototype,Ui(e))},Uu=Hj.String,Us=function(e){try{return Uu(e)}catch(e){return"Object"}},Ul=Hj.TypeError,Uc=function(e){if(H4(e))return e;throw Ul(Us(e)+" is not a function")},Uf=function(e,t){var n=e[t];return null==n?void 0:Uc(n)},Ud=Hj.TypeError,Up=Object.defineProperty,Uh=function(e,t){try{Up(Hj,e,{value:t,configurable:!0,writable:!0})}catch(n){Hj[e]=t}return t},Ug=Hj["__core-js_shared__"]||Uh("__core-js_shared__",{}),Uv=HB(function(e){(e.exports=function(e,t){return Ug[e]||(Ug[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})}),Uy=Hj.Object,Um=function(e){return Uy(H1(e))},Ub=HG({}.hasOwnProperty),Uw=Object.hasOwn||function(e,t){return Ub(Um(e),t)},UE=0,UD=Math.random(),US=HG(1..toString),Ux=function(e){return"Symbol("+(void 0===e?"":e)+")_"+US(++UE+UD,36)},UC=Uv("wks"),UO=Hj.Symbol,UA=UO&&UO.for,Uk=Uo?UO:UO&&UO.withoutSetter||Ux,UT=function(e){if(!Uw(UC,e)||!Ur&&"string"!=typeof UC[e]){var t="Symbol."+e;Ur&&Uw(UO,e)?UC[e]=UO[e]:UC[e]=Uo&&UA?UA(t):Uk(t)}return UC[e]},UB=Hj.TypeError,UF=UT("toPrimitive"),U_=function(e){var t=function(e,t){if(!H3(e)||Ua(e))return e;var n,r=Uf(e,UF);if(r){if(void 0===t&&(t="default"),!H3(n=HL(r,e,t))||Ua(n))return n;throw UB("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&H4(n=e.toString)&&!H3(r=HL(n,e))||H4(n=e.valueOf)&&!H3(r=HL(n,e))||"string"!==t&&H4(n=e.toString)&&!H3(r=HL(n,e)))return r;throw Ud("Can't convert object to primitive value")}(e,t)}(e,"string");return Ua(t)?t:t+""},UP=Hj.document,Uj=H3(UP)&&H3(UP.createElement),UI=function(e){return Uj?UP.createElement(e):{}},UN=!HN&&!HI(function(){return 7!=Object.defineProperty(UI("div"),"a",{get:function(){return 7}}).a}),UR=Object.getOwnPropertyDescriptor,UL={f:HN?UR:function(e,t){if(e=H2(e),t=U_(t),UN)try{return UR(e,t)}catch(e){}if(Uw(e,t))return HH(!HL(H$.f,e,t),e[t])}},UM=Hj.String,Uz=Hj.TypeError,U$=function(e){if(H3(e))return e;throw Uz(UM(e)+" is not an object")},UH=Hj.TypeError,UU=Object.defineProperty,UV={f:HN?UU:function(e,t,n){if(U$(e),t=U_(t),U$(n),UN)try{return UU(e,t,n)}catch(e){}if("get"in n||"set"in n)throw UH("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},UW=HN?function(e,t,n){return UV.f(e,t,HH(1,n))}:function(e,t,n){return e[t]=n,e},Uq=HG(Function.toString);H4(Ug.inspectSource)||(Ug.inspectSource=function(e){return Uq(e)});var UG,UK,UZ,UX=Ug.inspectSource,UY=Hj.WeakMap,UJ=H4(UY)&&/native code/.test(UX(UY)),UQ=Uv("keys"),U0=function(e){return UQ[e]||(UQ[e]=Ux(e))},U1={},U2=Hj.TypeError,U4=Hj.WeakMap;if(UJ||Ug.state){var U3=Ug.state||(Ug.state=new U4),U6=HG(U3.get),U5=HG(U3.has),U8=HG(U3.set);UG=function(e,t){if(U5(U3,e))throw new U2("Object already initialized");return t.facade=e,U8(U3,e,t),t},UK=function(e){return U6(U3,e)||{}},UZ=function(e){return U5(U3,e)}}else{var U7=U0("state");U1[U7]=!0,UG=function(e,t){if(Uw(e,U7))throw new U2("Object already initialized");return t.facade=e,UW(e,U7,t),t},UK=function(e){return Uw(e,U7)?e[U7]:{}},UZ=function(e){return Uw(e,U7)}}var U9=UK,Ve=Function.prototype,Vt=HN&&Object.getOwnPropertyDescriptor,Vn=Uw(Ve,"name"),Vr={EXISTS:Vn,PROPER:Vn&&"something"===(function(){}).name,CONFIGURABLE:Vn&&(!HN||HN&&Vt(Ve,"name").configurable)},Vo=HB(function(e){var t=Vr.CONFIGURABLE,n=String(String).split("String");(e.exports=function(e,r,o,i){var a,u,s=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet,f=i&&void 0!==i.name?i.name:r;H4(o)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Uw(o,"name")||t&&o.name!==f)&&UW(o,"name",f),(u=UZ(a=o)?UK(a):UG(a,{})).source||(u.source=n.join("string"==typeof f?f:""))),e!==Hj?(s?!c&&e[r]&&(l=!0):delete e[r],l?e[r]=o:UW(e,r,o)):l?e[r]=o:Uh(r,o)})(Function.prototype,"toString",function(){return H4(this)&&U9(this).source||UX(this)})}),Vi=Math.ceil,Va=Math.floor,Vu=function(e){var t=+e;return t!=t||0===t?0:(t>0?Va:Vi)(t)},Vs=Math.max,Vl=Math.min,Vc=function(e,t){var n=Vu(e);return n<0?Vs(n+t,0):Vl(n,t)},Vf=Math.min,Vd=function(e){return e>0?Vf(Vu(e),0x1fffffffffffff):0},Vp=function(e){return Vd(e.length)},Vh=function(e){return function(t,n,r){var o,i=H2(t),a=Vp(i),u=Vc(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},Vg=(Vh(!0),Vh(!1)),Vv=HG([].push),Vy=function(e,t){var n,r=H2(e),o=0,i=[];for(n in r)!Uw(U1,n)&&Uw(r,n)&&Vv(i,n);for(;t.length>o;)Uw(r,n=t[o++])&&(~Vg(i,n)||Vv(i,n));return i},Vm=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Vb=Vm.concat("length","prototype"),Vw={f:Object.getOwnPropertyNames||function(e){return Vy(e,Vb)}},VE={f:Object.getOwnPropertySymbols},VD=HG([].concat),VS=H6("Reflect","ownKeys")||function(e){var t=Vw.f(U$(e)),n=VE.f;return n?VD(t,n(e)):t},Vx=function(e,t){for(var n=VS(t),r=UV.f,o=UL.f,i=0;i<n.length;i++){var a=n[i];Uw(e,a)||r(e,a,o(t,a))}},VC=/#|\.prototype\./,VO=function(e,t){var n=Vk[VA(e)];return n==VB||n!=VT&&(H4(t)?HI(t):!!t)},VA=VO.normalize=function(e){return String(e).replace(VC,".").toLowerCase()},Vk=VO.data={},VT=VO.NATIVE="N",VB=VO.POLYFILL="P",VF=UL.f,V_=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?Hj:l?Hj[u]||Uh(u,{}):(Hj[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=VF(n,r))&&a.value:n[r],!VO(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Vx(i,o)}(e.sham||o&&o.sham)&&UW(i,"sham",!0),Vo(n,r,i,e)}},VP={};VP[UT("toStringTag")]="z";var Vj="[object z]"===String(VP),VI=UT("toStringTag"),VN=Hj.Object,VR="Arguments"==HX(function(){return arguments}()),VL=Vj?HX:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=VN(e),VI))?n:VR?HX(t):"Object"==(r=HX(t))&&H4(t.callee)?"Arguments":r},VM=Hj.String,Vz=function(e){if("Symbol"===VL(e))throw TypeError("Cannot convert a Symbol value to a string");return VM(e)},V$=/"/g,VH=HG("".replace);V_({target:"String",proto:!0,forced:HI(function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3})},{anchor:function(e){var t,n;return t=Vz(H1(this)),'<a name="'+VH(Vz(e),V$,""")+'">'+t+"</a>"}});var VU,VV=function(){var e=U$(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},VW=Hj.RegExp,Vq=HI(function(){var e=VW("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),VG=Vq||HI(function(){return!VW("a","y").sticky}),VK={BROKEN_CARET:Vq||HI(function(){var e=VW("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),MISSED_STICKY:VG,UNSUPPORTED_Y:Vq},VZ=Object.keys||function(e){return Vy(e,Vm)},VX=HN?Object.defineProperties:function(e,t){U$(e);for(var n,r=H2(t),o=VZ(t),i=o.length,a=0;i>a;)UV.f(e,n=o[a++],r[n]);return e},VY=H6("document","documentElement"),VJ=U0("IE_PROTO"),VQ=function(){},V0=function(e){return"<script>"+e+"<\/script>"},V1=function(e){e.write(V0("")),e.close();var t=e.parentWindow.Object;return e=null,t},V2=function(){try{VU=new ActiveXObject("htmlfile")}catch(e){}V2="undefined"!=typeof document?document.domain&&VU?V1(VU):((t=UI("iframe")).style.display="none",VY.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(V0("document.F=Object")),e.close(),e.F):V1(VU);for(var e,t,n=Vm.length;n--;)delete V2.prototype[Vm[n]];return V2()};U1[VJ]=!0;var V4,V3,V6=Object.create||function(e,t){var n;return null!==e?(VQ.prototype=U$(e),n=new VQ,VQ.prototype=null,n[VJ]=e):n=V2(),void 0===t?n:VX(n,t)},V5=Hj.RegExp,V8=HI(function(){var e=V5(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),V7=Hj.RegExp,V9=HI(function(){var e=V7("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),We=Uv("native-string-replace",String.prototype.replace),Wt=RegExp.prototype.exec,Wn=Wt,Wr=HG("".charAt),Wo=HG("".indexOf),Wi=HG("".replace),Wa=HG("".slice),Wu=(V3=/b*/g,HL(Wt,V4=/a/,"a"),HL(Wt,V3,"a"),0!==V4.lastIndex||0!==V3.lastIndex),Ws=VK.BROKEN_CARET,Wl=void 0!==/()??/.exec("")[1];(Wu||Wl||Ws||V8||V9)&&(Wn=function(e){var t,n,r,o,i,a,u,s=U9(this),l=Vz(e),c=s.raw;if(c)return c.lastIndex=this.lastIndex,t=HL(Wn,c,l),this.lastIndex=c.lastIndex,t;var f=s.groups,d=Ws&&this.sticky,p=HL(VV,this),h=this.source,g=0,v=l;if(d&&(-1===Wo(p=Wi(p,"y",""),"g")&&(p+="g"),v=Wa(l,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==Wr(l,this.lastIndex-1))&&(h="(?: "+h+")",v=" "+v,g++),n=RegExp("^(?:"+h+")",p)),Wl&&(n=RegExp("^"+h+"$(?!\\s)",p)),Wu&&(r=this.lastIndex),o=HL(Wt,d?n:this,v),d?o?(o.input=Wa(o.input,g),o[0]=Wa(o[0],g),o.index=this.lastIndex,this.lastIndex+=o[0].length):this.lastIndex=0:Wu&&o&&(this.lastIndex=this.global?o.index+o[0].length:r),Wl&&o&&o.length>1&&HL(We,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)}),o&&f)for(o.groups=a=V6(null),i=0;i<f.length;i++)a[(u=f[i])[0]]=o[u[1]];return o});var Wc=Wn;V_({target:"RegExp",proto:!0,forced:/./.exec!==Wc},{exec:Wc});var Wf=Array.isArray||function(e){return"Array"==HX(e)},Wd=function(){},Wp=[],Wh=H6("Reflect","construct"),Wg=/^\s*(?:class|function)\b/,Wv=HG(Wg.exec),Wy=!Wg.exec(Wd),Wm=function(e){if(!H4(e))return!1;try{return Wh(Wd,Wp,e),!0}catch(e){return!1}},Wb=!Wh||HI(function(){var e;return Wm(Wm.call)||!Wm(Object)||!Wm(function(){e=!0})||e})?function(e){if(!H4(e))return!1;switch(VL(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Wy||!!Wv(Wg,UX(e))}:Wm,Ww=function(e,t,n){var r=U_(t);r in e?UV.f(e,r,HH(0,n)):e[r]=n},WE=UT("species"),WD=function(e){return Un>=51||!HI(function(){var t=[];return(t.constructor={})[WE]=function(){return{foo:1}},1!==t[e](Boolean).foo})},WS=HG([].slice),Wx=WD("slice"),WC=UT("species"),WO=Hj.Array,WA=Math.max;function Wk(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function WT(e){var t=e.selection;if(null==t)return!1;var n=Wk(ly.nodes(e,{match:function(e){return Dn.checkNodeType(e,"table-cell")}}),1)[0];if(n){var r=Wk(n,2)[1],o=ly.start(e,r);if(lB.equals(t.anchor,o))return!0}return!1}function WB(e,t){var n,r,o=ly.nodes(e,{at:t,match:function(e){return"table"===Dn.getNodeType(e)}}),i=!1;try{for(var a=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(o),u=a.next();!u.done;u=a.next())u.value,i=!0}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i}V_({target:"Array",proto:!0,forced:!Wx},{slice:function(e,t){var n,r,o,i=H2(this),a=Vp(i),u=Vc(e,a),s=Vc(void 0===t?a:t,a);if(Wf(i)&&((Wb(n=i.constructor)&&(n===WO||Wf(n.prototype))||H3(n)&&null===(n=n[WC]))&&(n=void 0),n===WO||void 0===n))return WS(i,u,s);for(r=new(void 0===n?WO:n)(WA(s-u,0)),o=0;u<s;u++,o++)u in i&&Ww(r,o,i[u]);return r.length=o,r}});var WF=HG(HG.bind),W_=UT("species"),WP=Hj.Array,Wj=function(e,t){var n;return new(Wf(e)&&(Wb(n=e.constructor)&&(n===WP||Wf(n.prototype))||H3(n)&&null===(n=n[W_]))&&(n=void 0),void 0===n?WP:n)(0===t?0:t)},WI=HG([].push),WN=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=Um(s),g=HQ(h),v=(Uc(l),void 0===c?l:WF?WF(l,c):function(){return l.apply(c,arguments)}),y=Vp(g),m=0,b=f||Wj,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:WI(w,d)}else switch(e){case 4:return!1;case 7:WI(w,d)}return i?-1:r||o?o:w}},WR={forEach:WN(0),map:WN(1),filter:WN(2),some:WN(3),every:WN(4),find:WN(5),findIndex:WN(6),filterReject:WN(7)},WL=WR.map;function WM(e){var t=e.children||[];return 0===t.length?[]:(t[0]||{}).children||[]}function Wz(e){return WM(e).every(function(e){return!!e.isHeader})}V_({target:"Array",proto:!0,forced:!WD("map")},{map:function(e){return WL(this,e,arguments.length>1?arguments[1]:void 0)}}),Vj||Vo(Object.prototype,"toString",Vj?({}).toString:function(){return"[object "+VL(this)+"]"},{unsafe:!0});var W$=Vr.PROPER,WH=RegExp.prototype,WU=WH.toString,WV=HG(VV),WW=HI(function(){return"/a/b"!=WU.call({source:"a",flags:"b"})}),Wq=W$&&"toString"!=WU.name;(WW||Wq)&&Vo(RegExp.prototype,"toString",function(){var e=U$(this),t=Vz(e.source),n=e.flags;return"/"+t+"/"+Vz(void 0===n&&H5(WH,e)&&!("flags"in WH)?WV(e):n)},{unsafe:!0});var WG=UT("unscopables"),WK=Array.prototype;null==WK[WG]&&UV.f(WK,WG,{configurable:!0,value:V6(null)});var WZ=WR.find,WX=!0;"find"in[]&&[,].find(function(){WX=!1}),V_({target:"Array",proto:!0,forced:WX},{find:function(e){return WZ(this,e,arguments.length>1?arguments[1]:void 0)}}),WK[WG].find=!0;var WY=Function.prototype,WJ=WY.apply,WQ=WY.bind,W0=WY.call,W1="object"==typeof Reflect&&Reflect.apply||(WQ?W0.bind(WJ):function(){return W0.apply(WJ,arguments)}),W2=UT("species"),W4=RegExp.prototype,W3=function(e,t,n,r){var o=UT(e),i=!HI(function(){var t={};return t[o]=function(){return 7},7!=""[e](t)}),a=i&&!HI(function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[W2]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t});if(!i||!a||n){var u=HG(/./[o]),s=t(o,""[e],function(e,t,n,r,o){var a=HG(e),s=t.exec;return s===Wc||s===W4.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}});Vo(String.prototype,e,s[0]),Vo(W4,o,s[1])}r&&UW(W4[o],"sham",!0)},W6=UT("match"),W5=Hj.TypeError,W8=UT("species"),W7=HG("".charAt),W9=HG("".charCodeAt),qe=HG("".slice),qt=function(e){return function(t,n){var r,o,i=Vz(H1(t)),a=Vu(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=W9(i,a))<55296||r>56319||a+1===u||(o=W9(i,a+1))<56320||o>57343?e?W7(i,a):r:e?qe(i,a,a+2):o-56320+(r-55296<<10)+65536}},qn=(qt(!1),qt(!0)),qr=function(e,t,n){return t+(n?qn(e,t).length:1)},qo=Hj.Array,qi=Math.max,qa=function(e,t,n){for(var r=Vp(e),o=Vc(t,r),i=Vc(void 0===n?r:n,r),a=qo(qi(i-o,0)),u=0;o<i;o++,u++)Ww(a,u,e[o]);return a.length=u,a},qu=Hj.TypeError,qs=function(e,t){var n=e.exec;if(H4(n)){var r=HL(n,e,t);return null!==r&&U$(r),r}if("RegExp"===HX(e))return HL(Wc,e,t);throw qu("RegExp#exec called on incompatible receiver")},ql=VK.UNSUPPORTED_Y,qc=Math.min,qf=[].push,qd=HG(/./.exec),qp=HG(qf),qh=HG("".slice);W3("split",function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r,o=Vz(H1(this)),i=void 0===n?0xffffffff:n>>>0;if(0===i)return[];if(void 0===e)return[o];if(!H3(e)||!(void 0!==(r=e[W6])?r:"RegExp"==HX(e)))return HL(t,o,e,i);for(var a,u,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,d=RegExp(e.source,c+"g");(a=HL(Wc,d,o))&&!((u=d.lastIndex)>f&&(qp(l,qh(o,f,a.index)),a.length>1&&a.index<o.length&&W1(qf,l,qa(a,1)),s=a[0].length,f=u,l.length>=i));)d.lastIndex===a.index&&d.lastIndex++;return f===o.length?!s&&qd(d,"")||qp(l,""):qp(l,qh(o,f)),l.length>i?qa(l,0,i):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:HL(t,this,e,n)}:t,[function(t,n){var o=H1(this),i=null==t?void 0:Uf(t,e);return i?HL(i,t,o,n):HL(r,Vz(o),t,n)},function(e,o){var i=U$(this),a=Vz(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=(v=RegExp,void 0===(m=U$(i).constructor)||null==(y=U$(m)[W8])?v:function(e){if(Wb(e))return e;throw W5(Us(e)+" is not a constructor")}(y)),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(ql?"g":"y"),f=new s(ql?"^(?:"+i.source+")":i,c),d=void 0===o?0xffffffff:o>>>0;if(0===d)return[];if(0===a.length)return null===qs(f,a)?[a]:[];for(var p=0,h=0,g=[];h<a.length;){f.lastIndex=ql?0:h;var v,y,m,b,w=qs(f,ql?qh(a,h):a);if(null===w||(b=qc(Vd(f.lastIndex+(ql?h:0)),a.length))===p)h=qr(a,h,l);else{if(qp(g,qh(a,p,h)),g.length===d)return g;for(var E=1;E<=w.length-1;E++)if(qp(g,w[E]),g.length===d)return g;h=p=b}}return qp(g,qh(a,p)),g}]},!!HI(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),ql);var qg=" \n\v\f\r \xa0 \u2028\u2029\uFEFF",qv=HG("".replace),qy="["+qg+"]",qm=RegExp("^"+qy+qy+"*"),qb=RegExp(qy+qy+"*$"),qw=function(e){return function(t){var n=Vz(H1(t));return 1&e&&(n=qv(n,qm,"")),2&e&&(n=qv(n,qb,"")),n}},qE={start:qw(1),end:qw(2),trim:qw(3)},qD=Vr.PROPER,qS=qE.trim;function qx(e){return e.length?e[0].tagName.toLowerCase():""}V_({target:"String",proto:!0,forced:(Gs="trim",HI(function(){return!!qg[Gs]()||"\x85"!=="\x85"[Gs]()||qD&&qg[Gs].name!==Gs}))},{trim:function(){return qS(this)}}),V_({global:!0},{globalThis:Hj}),fp&&(c2.fn.append=fp),fe&&(c2.fn.on=fe),fk&&(c2.fn.focus=fk),c5&&(c2.fn.attr=c5),c9&&(c2.fn.val=c9),fc&&(c2.fn.html=fc),c7&&(c2.fn.dataset=c7),c4&&(c2.fn.addClass=c4),c3&&(c2.fn.removeClass=c3),fm&&(c2.fn.children=fm),fs&&(c2.fn.each=fs),fy&&(c2.fn.find=fy);var qC=!1,qO=0,qA=0,qk=null,qT=null,qB=c2("body");function qF(e){qC=!1,qT=null,qk=null,qB.off("mousemove",q_),qB.off("mouseup",qF)}qB.on("mousedown",function(e){var t=e.target;("TH"===t.tagName||"TD"===t.tagName)&&"col-resize"===t.style.cursor&&(t.style.cursor="auto",e.preventDefault(),qC=!0,qO=e.clientX,qA=t.getBoundingClientRect().width,qB.on("mousemove",q_),qB.on("mouseup",qF))});var q_=f4(function(e){if(qC&&null!=qT&&null!=qk){e.preventDefault();var t=e.clientX,n=qA+(t-qO);(n=Math.floor(100*n)/100)<30&&(n=30),l6.setNodes(qT,{width:n.toString()},{at:qk})}},100),qP=WR.filter;V_({target:"Array",proto:!0,forced:!WD("filter")},{filter:function(e){return qP(this,e,arguments.length>1?arguments[1]:void 0)}});var qj=Math.floor,qI=HG("".charAt),qN=HG("".replace),qR=HG("".slice),qL=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,qM=/\$([$&'`]|\d{1,2})/g,qz=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=qM;return void 0!==o&&(o=Um(o),s=qL),qN(i,s,function(i,s){var l;switch(qI(s,0)){case"$":return"$";case"&":return e;case"`":return qR(t,0,n);case"'":return qR(t,a);case"<":l=o[qR(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=qj(c/10);return 0===f?i:f<=u?void 0===r[f-1]?qI(s,1):r[f-1]+qI(s,1):i}l=r[c-1]}return void 0===l?"":l})},q$=UT("replace"),qH=Math.max,qU=Math.min,qV=HG([].concat),qW=HG([].push),qq=HG("".indexOf),qG=HG("".slice),qK="$0"==="a".replace(/./,"$0"),qZ=!!/./[q$]&&""===/./[q$]("a","$0");W3("replace",function(e,t,n){var r=qZ?"$":"$0";return[function(e,n){var r=H1(this),o=null==e?void 0:Uf(e,q$);return o?HL(o,e,r,n):HL(t,Vz(r),e,n)},function(e,o){var i=U$(this),a=Vz(e);if("string"==typeof o&&-1===qq(o,r)&&-1===qq(o,"$<")){var u=n(t,i,a,o);if(u.done)return u.value}var s=H4(o);s||(o=Vz(o));var l=i.global;if(l){var c=i.unicode;i.lastIndex=0}for(var f=[];;){var d=qs(i,a);if(null===d||(qW(f,d),!l))break;""===Vz(d[0])&&(i.lastIndex=qr(a,Vd(i.lastIndex),c))}for(var p,h="",g=0,v=0;v<f.length;v++){for(var y=Vz((d=f[v])[0]),m=qH(qU(Vu(d.index),a.length),0),b=[],w=1;w<d.length;w++)qW(b,void 0===(p=d[w])?p:String(p));var E=d.groups;if(s){var D=qV([y],b,m,a);void 0!==E&&qW(D,E);var S=Vz(W1(o,void 0,D))}else S=qz(y,a,m,b,E,o);m>=g&&(h+=qG(a,g,m)+S,g=m+y.length)}return h+qG(a,g)}]},!!HI(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!qK||qZ);var qX=function(){function e(){this.title=OP("tableModule.insertTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64v896h1024V64H0z m384 576v-192h256v192h-256z m256 64v192h-256v-192h256z m0-512v192h-256V192h256zM320 192v192H64V192h256z m-256 256h256v192H64v-192z m640 0h256v192h-256v-192z m0-64V192h256v192h-256zM64 704h256v192H64v-192z m640 192v-192h256v192h-256z"></path></svg>',this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!lj.isCollapsed(t)||!!Dn.getSelectedElems(e).some(function(t){var n=Dn.getNodeType(t);return"pre"===n||"table"===n||"list-item"===n||!!e.isVoid(t)})},e.prototype.getPanelContentElem=function(e){var t=this;if(this.$content)return this.$content[0];for(var n=c2('<div class="w-e-panel-content-table"></div>'),r=c2("<span>0 × 0</span>"),o=c2("<table></table>"),i=0;i<10;i++){for(var a=c2("<tr></tr>"),u=0;u<10;u++){var s=c2("<td></td>");s.attr("data-x",u.toString()),s.attr("data-y",i.toString()),a.append(s),s.on("mouseenter",function(e){var t=e.target;if(null!=t){var n=c2(t).dataset(),i=n.x,a=n.y;r[0].innerHTML=i+1+" × "+(a+1),o.children().each(function(e){c2(e).children().each(function(e){var t=c2(e),n=t.dataset(),r=n.x,o=n.y;r<=i&&o<=a?t.addClass("active"):t.removeClass("active")})})}}),s.on("click",function(n){n.preventDefault();var r=n.target;if(null!=r){var o=c2(r).dataset(),i=o.x,a=o.y;t.insertTable(e,a+1,i+1)}})}o.append(a)}return n.append(o),n.append(r),this.$content=n,n[0]},e.prototype.insertTable=function(e,t,n){var r=parseInt(t,10),o=parseInt(n,10);if(r&&o&&!(r<=0||o<=0)){Dn.isSelectedEmptyParagraph(e)&&l6.removeNodes(e,{mode:"highest"});var i=function(e,t){for(var n=[],r=0;r<e;r++){for(var o=[],i=0;i<t;i++){var a={type:"table-cell",children:[{text:""}]};0===r&&(a.isHeader=!0),o.push(a)}n.push({type:"table-row",children:o})}return{type:"table",width:"auto",children:n}}(r,o);l6.insertNodes(e,i,{mode:"highest"})}},e}(),qY=function(){function e(){this.title=OP("tableModule.deleteTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||null==Dn.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){this.isDisabled(e)||l6.removeNodes(e,{mode:"highest"})},e}(),qJ=function(){function e(){this.title=OP("tableModule.insertRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M707.7888 521.0112h-147.456v-147.456H488.2432v147.456h-147.456v68.8128h147.456v147.456h72.0896v-147.456h147.456zM0 917.504V0h1048.576v917.504H0zM327.68 65.536H65.536v196.608H327.68V65.536z m327.68 0H393.216v196.608h262.144V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 258.8672H65.536v462.0288H983.04V324.4032z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!lj.isCollapsed(t)||null==Dn.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=Wk(ly.nodes(e,{match:function(e){return Dn.checkNodeType(e,"table-cell")},universal:!0}),1),r=Wk(n[0],2),o=r[0],i=r[1],a=Dn.getParentNode(e,o),u=(null==a?void 0:a.children.length)||0;if(0!==u){for(var s={type:"table-row",children:[]},l=0;l<u;l++)s.children.push({type:"table-cell",children:[{text:""}]});var c=lO.parent(i),f=lO.next(c);l6.insertNodes(e,s,{at:f})}}},e}(),qQ=function(){function e(){this.title=OP("tableModule.deleteRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M907.6736 586.5472L747.1104 425.984l163.84-163.84-78.6432-78.6432-163.84 163.84L507.904 186.7776 429.2608 262.144l163.84 163.84-167.1168 167.1168 78.6432 78.6432 167.1168-167.1168 160.5632 160.5632 75.3664-78.6432zM0 917.504V0h1048.576v917.504H0z m983.04-327.68h-22.9376l-65.536-65.536H983.04V327.68h-91.7504l65.536-65.536h26.2144V65.536H65.536v196.608h317.8496l65.536 65.536H65.536v196.608h380.1088l-65.536 65.536H65.536v196.608H983.04v-196.608z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!lj.isCollapsed(t)||null==Dn.getSelectedNodeByType(e,"table-row")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=Wk(ly.nodes(e,{match:function(e){return Dn.checkNodeType(e,"table-row")},universal:!0}),1),r=Wk(n[0],2),o=r[0],i=r[1],a=Dn.getParentNode(e,o);1>=((null==a?void 0:a.children.length)||0)?l6.removeNodes(e,{mode:"highest"}):l6.removeNodes(e,{at:i})}},e}(),q0={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},q1=UI("span").classList,q2=q1&&q1.constructor&&q1.constructor.prototype,q4=q2===Object.prototype?void 0:q2,q3=WR.forEach,q6=(Gl=[].forEach)&&HI(function(){Gl.call(null,function(){throw 1},1)})?[].forEach:function(e){return q3(this,e,arguments.length>1?arguments[1]:void 0)},q5=function(e){if(e&&e.forEach!==q6)try{UW(e,"forEach",q6)}catch(t){e.forEach=q6}};for(var q8 in q0)q0[q8]&&q5(Hj[q8]&&Hj[q8].prototype);q5(q4);var q7=function(){function e(){this.title=OP("tableModule.insertCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 193.3312v186.7776H140.9024v91.7504H327.68v186.7776h88.4736V471.8592h190.0544V380.1088H416.1536V193.3312zM0 917.504V0h1048.576v917.504H0zM655.36 65.536H65.536v720.896H655.36V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 262.144h-262.144v196.608h262.144V327.68z m0 262.144h-262.144v196.608h262.144v-196.608z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!lj.isCollapsed(t)||null==Dn.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=Wk(ly.nodes(e,{match:function(e){return Dn.checkNodeType(e,"table-cell")},universal:!0}),1),r=Wk(n[0],2),o=r[0],i=r[1],a=Dn.getParentNode(e,o);if(null!=a){var u=Dn.getParentNode(e,a);null!=u&&(u.children||[]).forEach(function(t,n){lf.isElement(t)&&(t.children||[]).forEach(function(t){var r=Dn.findPath(e,t);if(r.length===i.length&&Hk(r.slice(-1),i.slice(-1))){var o={type:"table-cell",children:[{text:""}]};0===n&&Wz(u)&&(o.isHeader=!0),l6.insertNodes(e,o,{at:r})}})})}}},e}(),q9=function(){function e(){this.title=OP("tableModule.deleteCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 510.976L393.216 445.44v-13.1072L327.68 366.7968V510.976z m327.68-78.4384l65.536-65.536V507.904L655.36 442.368v-9.8304z m393.216 484.9664V0H0v917.504h1048.576z m-65.536-131.072h-262.144v-52.4288l-13.1072 13.1072-52.4288-52.4288v91.7504H393.216v-91.7504l-52.4288 52.4288-13.1072-13.1072v52.4288H65.536V65.536H327.68v121.2416l36.0448-36.0448 29.4912 29.4912V62.2592h262.144V180.224l49.152-49.152 16.384 16.384V62.2592h262.144V786.432z m-294.912-108.1344l-160.5632-160.5632-167.1168 167.1168-78.6432-78.6432 167.1168-167.1168L288.3584 278.528l78.6432-78.6432 160.5632 160.5632 163.84-163.84 78.6432 78.6432-163.84 163.84 160.5632 160.5632-78.6432 78.6432z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!lj.isCollapsed(t)||null==Dn.getSelectedNodeByType(e,"table-cell")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=Wk(ly.nodes(e,{match:function(e){return Dn.checkNodeType(e,"table-cell")},universal:!0}),1),r=Wk(n[0],2),o=r[0],i=r[1],a=Dn.getParentNode(e,o),u=(null==a?void 0:a.children.length)||0;if(!a||u<=1)l6.removeNodes(e,{mode:"highest"});else{var s=Dn.getParentNode(e,a);null!=s&&(s.children||[]).forEach(function(t){lf.isElement(t)&&(t.children||[]).forEach(function(t){var n=Dn.findPath(e,t);n.length===i.length&&Hk(n.slice(-1),i.slice(-1))&&l6.removeNodes(e,{at:n})})})}}},e}(),Ge=function(){function e(){this.title=OP("tableModule.header"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M704 128l-64 0L384 128 320 128 0 128l0 256 0 64 0 192 0 64 0 256 320 0 64 0 256 0 64 0 320 0 0-256 0-64L1024 448 1024 384 1024 128 704 128zM640 640 384 640 384 448l256 0L640 640zM64 448l256 0 0 192L64 640 64 448zM320 896 64 896l0-192 256 0L320 896zM640 896 384 896l0-192 256 0L640 896zM960 896l-256 0 0-192 256 0L960 896zM960 640l-256 0L704 448l256 0L960 640z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){var t=Dn.getSelectedNodeByType(e,"table");return null!=t&&Wz(t)},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!lj.isCollapsed(t)||null==Dn.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=!t,r=Dn.getSelectedNodeByType(e,"table");null!=r&&WM(r).forEach(function(t){return l6.setNodes(e,{isHeader:n},{at:Dn.findPath(e,t)})})}},e}(),Gt=function(){function e(){this.title=OP("tableModule.widthAuto"),this.iconSvg='<svg viewBox="0 0 1228 1024"><path d="M862.514337 563.200461H404.581995v121.753478a13.311987 13.311987 0 0 1-6.655993 11.468789 10.23999 10.23999 0 0 1-12.083188-1.433599l-204.799795-179.199821a13.721586 13.721586 0 0 1 0-20.479979l204.799795-179.302221a10.23999 10.23999 0 0 1 12.185588-1.535998 13.209587 13.209587 0 0 1 6.553593 11.673588v115.097485h457.932342V319.693504a11.571188 11.571188 0 0 1 18.841582-10.239989l204.799795 179.19982a13.721586 13.721586 0 0 1 0 20.47998l-204.799795 179.199821a10.23999 10.23999 0 0 1-12.185588 1.535998 13.311987 13.311987 0 0 1-6.655994-11.571188V563.200461zM136.499064 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785H15.155185A15.155185 15.155185 0 0 1 0 1008.844815V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086294a15.155185 15.155185 0 0 1 15.257585 15.155185zM1228.798771 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785h-106.188693a15.155185 15.155185 0 0 1-15.155185-15.052785V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086293A15.155185 15.155185 0 0 1 1228.798771 15.053809z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){var t=Dn.getSelectedNodeByType(e,"table");return null!=t&&"100%"===t.width},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!lj.isCollapsed(t)||null==Dn.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){this.isDisabled(e)||l6.setNodes(e,{width:t?"auto":"100%"},{mode:"highest"})},e}();OF("en",{videoModule:{delete:"Delete",uploadVideo:"Upload video",insertVideo:"Insert video",videoSrc:"Video source",videoSrcPlaceHolder:"Video file url, or third-party <iframe>",videoPoster:"Video poster",videoPosterPlaceHolder:"Poster image url",ok:"Ok",editSize:"Edit size",width:"Width",height:"Height"}}),OF("zh-CN",{videoModule:{delete:"删除视频",uploadVideo:"上传视频",insertVideo:"插入视频",videoSrc:"视频地址",videoSrcPlaceHolder:"视频文件 url 或第三方 <iframe>",videoPoster:"视频封面",videoPosterPlaceHolder:"封面图片 url",ok:"确定",editSize:"修改尺寸",width:"宽度",height:"高度"}});var Gn=function(){return(Gn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Gr(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,u)}s((r=r.apply(e,t||[])).next())})}function Go(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){var s=[i,u];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}function Gi(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}var Ga="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function Gu(e){var t={exports:{}};return e(t,t.exports),t.exports}var Gs,Gl,Gc,Gf,Gd=function(e){return e&&e.Math==Math&&e},Gp=Gd("object"==typeof globalThis&&globalThis)||Gd("object"==typeof window&&window)||Gd("object"==typeof self&&self)||Gd("object"==typeof Ga&&Ga)||function(){return this}()||Function("return this")(),Gh=function(e){try{return!!e()}catch(e){return!0}},Gg=!Gh(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),Gv=Function.prototype.call,Gy=Gv.bind?Gv.bind(Gv):function(){return Gv.apply(Gv,arguments)},Gm={}.propertyIsEnumerable,Gb=Object.getOwnPropertyDescriptor,Gw={f:Gb&&!Gm.call({1:2},1)?function(e){var t=Gb(this,e);return!!t&&t.enumerable}:Gm},GE=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},GD=Function.prototype,GS=GD.bind,Gx=GD.call,GC=GS&&GS.bind(Gx),GO=GS?function(e){return e&&GC(Gx,e)}:function(e){return e&&function(){return Gx.apply(e,arguments)}},GA=GO({}.toString),Gk=GO("".slice),GT=function(e){return Gk(GA(e),8,-1)},GB=Gp.Object,GF=GO("".split),G_=Gh(function(){return!GB("z").propertyIsEnumerable(0)})?function(e){return"String"==GT(e)?GF(e,""):GB(e)}:GB,GP=Gp.TypeError,Gj=function(e){if(null==e)throw GP("Can't call method on "+e);return e},GI=function(e){return G_(Gj(e))},GN=function(e){return"function"==typeof e},GR=function(e){return"object"==typeof e?null!==e:GN(e)},GL=function(e,t){var n;return arguments.length<2?GN(n=Gp[e])?n:void 0:Gp[e]&&Gp[e][t]},GM=GO({}.isPrototypeOf),Gz=GL("navigator","userAgent")||"",G$=Gp.process,GH=Gp.Deno,GU=G$&&G$.versions||GH&&GH.version,GV=GU&&GU.v8;GV&&(Gf=(Gc=GV.split("."))[0]>0&&Gc[0]<4?1:+(Gc[0]+Gc[1])),!Gf&&Gz&&(!(Gc=Gz.match(/Edge\/(\d+)/))||Gc[1]>=74)&&(Gc=Gz.match(/Chrome\/(\d+)/))&&(Gf=+Gc[1]);var GW=Gf,Gq=!!Object.getOwnPropertySymbols&&!Gh(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&GW&&GW<41}),GG=Gq&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,GK=Gp.Object,GZ=GG?function(e){return"symbol"==typeof e}:function(e){var t=GL("Symbol");return GN(t)&&GM(t.prototype,GK(e))},GX=Gp.String,GY=function(e){try{return GX(e)}catch(e){return"Object"}},GJ=Gp.TypeError,GQ=function(e){if(GN(e))return e;throw GJ(GY(e)+" is not a function")},G0=function(e,t){var n=e[t];return null==n?void 0:GQ(n)},G1=Gp.TypeError,G2=Object.defineProperty,G4=function(e,t){try{G2(Gp,e,{value:t,configurable:!0,writable:!0})}catch(n){Gp[e]=t}return t},G3=Gp["__core-js_shared__"]||G4("__core-js_shared__",{}),G6=Gu(function(e){(e.exports=function(e,t){return G3[e]||(G3[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})}),G5=Gp.Object,G8=function(e){return G5(Gj(e))},G7=GO({}.hasOwnProperty),G9=Object.hasOwn||function(e,t){return G7(G8(e),t)},Ke=0,Kt=Math.random(),Kn=GO(1..toString),Kr=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Kn(++Ke+Kt,36)},Ko=G6("wks"),Ki=Gp.Symbol,Ka=Ki&&Ki.for,Ku=GG?Ki:Ki&&Ki.withoutSetter||Kr,Ks=function(e){if(!G9(Ko,e)||!Gq&&"string"!=typeof Ko[e]){var t="Symbol."+e;Gq&&G9(Ki,e)?Ko[e]=Ki[e]:Ko[e]=GG&&Ka?Ka(t):Ku(t)}return Ko[e]},Kl=Gp.TypeError,Kc=Ks("toPrimitive"),Kf=function(e){var t=function(e,t){if(!GR(e)||GZ(e))return e;var n,r=G0(e,Kc);if(r){if(void 0===t&&(t="default"),!GR(n=Gy(r,e,t))||GZ(n))return n;throw Kl("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&GN(n=e.toString)&&!GR(r=Gy(n,e))||GN(n=e.valueOf)&&!GR(r=Gy(n,e))||"string"!==t&&GN(n=e.toString)&&!GR(r=Gy(n,e)))return r;throw G1("Can't convert object to primitive value")}(e,t)}(e,"string");return GZ(t)?t:t+""},Kd=Gp.document,Kp=GR(Kd)&&GR(Kd.createElement),Kh=function(e){return Kp?Kd.createElement(e):{}},Kg=!Gg&&!Gh(function(){return 7!=Object.defineProperty(Kh("div"),"a",{get:function(){return 7}}).a}),Kv=Object.getOwnPropertyDescriptor,Ky={f:Gg?Kv:function(e,t){if(e=GI(e),t=Kf(t),Kg)try{return Kv(e,t)}catch(e){}if(G9(e,t))return GE(!Gy(Gw.f,e,t),e[t])}},Km=Gp.String,Kb=Gp.TypeError,Kw=function(e){if(GR(e))return e;throw Kb(Km(e)+" is not an object")},KE=Gp.TypeError,KD=Object.defineProperty,KS={f:Gg?KD:function(e,t,n){if(Kw(e),t=Kf(t),Kw(n),Kg)try{return KD(e,t,n)}catch(e){}if("get"in n||"set"in n)throw KE("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Kx=Gg?function(e,t,n){return KS.f(e,t,GE(1,n))}:function(e,t,n){return e[t]=n,e},KC=GO(Function.toString);GN(G3.inspectSource)||(G3.inspectSource=function(e){return KC(e)});var KO,KA,Kk,KT=G3.inspectSource,KB=Gp.WeakMap,KF=GN(KB)&&/native code/.test(KT(KB)),K_=G6("keys"),KP=function(e){return K_[e]||(K_[e]=Kr(e))},Kj={},KI=Gp.TypeError,KN=Gp.WeakMap;if(KF||G3.state){var KR=G3.state||(G3.state=new KN),KL=GO(KR.get),KM=GO(KR.has),Kz=GO(KR.set);KO=function(e,t){if(KM(KR,e))throw new KI("Object already initialized");return t.facade=e,Kz(KR,e,t),t},KA=function(e){return KL(KR,e)||{}},Kk=function(e){return KM(KR,e)}}else{var K$=KP("state");Kj[K$]=!0,KO=function(e,t){if(G9(e,K$))throw new KI("Object already initialized");return t.facade=e,Kx(e,K$,t),t},KA=function(e){return G9(e,K$)?e[K$]:{}},Kk=function(e){return G9(e,K$)}}var KH=KO,KU=KA,KV=function(e){return Kk(e)?KA(e):KO(e,{})},KW=function(e){return function(t){var n;if(!GR(t)||(n=KA(t)).type!==e)throw KI("Incompatible receiver, "+e+" required");return n}},Kq=Function.prototype,KG=Gg&&Object.getOwnPropertyDescriptor,KK=G9(Kq,"name"),KZ={EXISTS:KK,PROPER:KK&&"something"===(function(){}).name,CONFIGURABLE:KK&&(!Gg||Gg&&KG(Kq,"name").configurable)},KX=Gu(function(e){var t=KZ.CONFIGURABLE,n=String(String).split("String");(e.exports=function(e,r,o,i){var a,u=!!i&&!!i.unsafe,s=!!i&&!!i.enumerable,l=!!i&&!!i.noTargetGet,c=i&&void 0!==i.name?i.name:r;GN(o)&&("Symbol("===String(c).slice(0,7)&&(c="["+String(c).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!G9(o,"name")||t&&o.name!==c)&&Kx(o,"name",c),(a=KV(o)).source||(a.source=n.join("string"==typeof c?c:""))),e!==Gp?(u?!l&&e[r]&&(s=!0):delete e[r],s?e[r]=o:Kx(e,r,o)):s?e[r]=o:G4(r,o)})(Function.prototype,"toString",function(){return GN(this)&&KU(this).source||KT(this)})}),KY=Math.ceil,KJ=Math.floor,KQ=function(e){var t=+e;return t!=t||0===t?0:(t>0?KJ:KY)(t)},K0=Math.max,K1=Math.min,K2=function(e,t){var n=KQ(e);return n<0?K0(n+t,0):K1(n,t)},K4=Math.min,K3=function(e){return e>0?K4(KQ(e),0x1fffffffffffff):0},K6=function(e){return K3(e.length)},K5=function(e){return function(t,n,r){var o,i=GI(t),a=K6(i),u=K2(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},K8={includes:K5(!0),indexOf:K5(!1)},K7=K8.indexOf,K9=GO([].push),Ze=function(e,t){var n,r=GI(e),o=0,i=[];for(n in r)!G9(Kj,n)&&G9(r,n)&&K9(i,n);for(;t.length>o;)G9(r,n=t[o++])&&(~K7(i,n)||K9(i,n));return i},Zt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Zn=Zt.concat("length","prototype"),Zr={f:Object.getOwnPropertyNames||function(e){return Ze(e,Zn)}},Zo={f:Object.getOwnPropertySymbols},Zi=GO([].concat),Za=GL("Reflect","ownKeys")||function(e){var t=Zr.f(Kw(e)),n=Zo.f;return n?Zi(t,n(e)):t},Zu=function(e,t){for(var n=Za(t),r=KS.f,o=Ky.f,i=0;i<n.length;i++){var a=n[i];G9(e,a)||r(e,a,o(t,a))}},Zs=/#|\.prototype\./,Zl=function(e,t){var n=Zf[Zc(e)];return n==Zp||n!=Zd&&(GN(t)?Gh(t):!!t)},Zc=Zl.normalize=function(e){return String(e).replace(Zs,".").toLowerCase()},Zf=Zl.data={},Zd=Zl.NATIVE="N",Zp=Zl.POLYFILL="P",Zh=Ky.f,Zg=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?Gp:l?Gp[u]||G4(u,{}):(Gp[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Zh(n,r))&&a.value:n[r],!Zl(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Zu(i,o)}(e.sham||o&&o.sham)&&Kx(i,"sham",!0),KX(n,r,i,e)}},Zv={};Zv[Ks("toStringTag")]="z";var Zy="[object z]"===String(Zv),Zm=Ks("toStringTag"),Zb=Gp.Object,Zw="Arguments"==GT(function(){return arguments}()),ZE=Zy?GT:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Zb(e),Zm))?n:Zw?GT(t):"Object"==(r=GT(t))&&GN(t.callee)?"Arguments":r},ZD=Gp.String,ZS=function(e){if("Symbol"===ZE(e))throw TypeError("Cannot convert a Symbol value to a string");return ZD(e)},Zx=" \n\v\f\r \xa0 \u2028\u2029\uFEFF",ZC=GO("".replace),ZO="["+Zx+"]",ZA=RegExp("^"+ZO+ZO+"*"),Zk=RegExp(ZO+ZO+"*$"),ZT=function(e){return function(t){var n=ZS(Gj(t));return 1&e&&(n=ZC(n,ZA,"")),2&e&&(n=ZC(n,Zk,"")),n}},ZB={start:ZT(1),end:ZT(2),trim:ZT(3)},ZF=KZ.PROPER,Z_=ZB.trim;function ZP(e){return e.length?e[0].tagName.toLowerCase():""}function Zj(e,t,n){void 0===t&&(t="auto"),void 0===n&&(n="auto");var r=c2(e);return r.attr("width",t),r.attr("height",n),r[0].outerHTML}Zg({target:"String",proto:!0,forced:Gh(function(){return!!Zx.trim()||"\x85"!=="\x85".trim()||ZF&&"trim"!==Zx.trim.name})},{trim:function(){return Z_(this)}}),Zg({global:!0},{globalThis:Gp}),fp&&(c2.fn.append=fp),fe&&(c2.fn.on=fe),fk&&(c2.fn.focus=fk),c5&&(c2.fn.attr=c5),c9&&(c2.fn.val=c9),fc&&(c2.fn.html=fc),fg&&(c2.fn.parent=fg),c6&&(c2.fn.hasClass=c6),fw&&(c2.fn.empty=fw);var ZI,ZN=Object.keys||function(e){return Ze(e,Zt)},ZR=Gg?Object.defineProperties:function(e,t){Kw(e);for(var n,r=GI(t),o=ZN(t),i=o.length,a=0;i>a;)KS.f(e,n=o[a++],r[n]);return e},ZL=GL("document","documentElement"),ZM=KP("IE_PROTO"),Zz=function(){},Z$=function(e){return"<script>"+e+"<\/script>"},ZH=function(e){e.write(Z$("")),e.close();var t=e.parentWindow.Object;return e=null,t},ZU=function(){try{ZI=new ActiveXObject("htmlfile")}catch(e){}ZU="undefined"!=typeof document?document.domain&&ZI?ZH(ZI):((t=Kh("iframe")).style.display="none",ZL.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Z$("document.F=Object")),e.close(),e.F):ZH(ZI);for(var e,t,n=Zt.length;n--;)delete ZU.prototype[Zt[n]];return ZU()};Kj[ZM]=!0;var ZV=Object.create||function(e,t){var n;return null!==e?(Zz.prototype=Kw(e),n=new Zz,Zz.prototype=null,n[ZM]=e):n=ZU(),void 0===t?n:ZR(n,t)},ZW=Ks("unscopables"),Zq=Array.prototype;null==Zq[ZW]&&KS.f(Zq,ZW,{configurable:!0,value:ZV(null)});var ZG=function(e){Zq[ZW][e]=!0},ZK=K8.includes;Zg({target:"Array",proto:!0},{includes:function(e){return ZK(this,e,arguments.length>1?arguments[1]:void 0)}}),ZG("includes");var ZZ=GO(GO.bind),ZX=function(e,t){return GQ(e),void 0===t?e:ZZ?ZZ(e,t):function(){return e.apply(t,arguments)}},ZY=Array.isArray||function(e){return"Array"==GT(e)},ZJ=function(){},ZQ=[],Z0=GL("Reflect","construct"),Z1=/^\s*(?:class|function)\b/,Z2=GO(Z1.exec),Z4=!Z1.exec(ZJ),Z3=function(e){if(!GN(e))return!1;try{return Z0(ZJ,ZQ,e),!0}catch(e){return!1}},Z6=!Z0||Gh(function(){var e;return Z3(Z3.call)||!Z3(Object)||!Z3(function(){e=!0})||e})?function(e){if(!GN(e))return!1;switch(ZE(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Z4||!!Z2(Z1,KT(e))}:Z3,Z5=Ks("species"),Z8=Gp.Array,Z7=function(e,t){var n;return new(ZY(e)&&(Z6(n=e.constructor)&&(n===Z8||ZY(n.prototype))||GR(n)&&null===(n=n[Z5]))&&(n=void 0),void 0===n?Z8:n)(0===t?0:t)},Z9=GO([].push),Xe=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=G8(s),g=G_(h),v=ZX(l,c),y=K6(g),m=0,b=f||Z7,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:Z9(w,d)}else switch(e){case 4:return!1;case 7:Z9(w,d)}return i?-1:r||o?o:w}},Xt={forEach:Xe(0),map:Xe(1),filter:Xe(2),some:Xe(3),every:Xe(4),find:Xe(5),findIndex:Xe(6),filterReject:Xe(7)},Xn=Xt.find,Xr=!0;function Xo(e,t,n,r){return void 0===t&&(t=""),void 0===n&&(n="auto"),void 0===r&&(r="auto"),{type:"video",src:e,poster:t,width:n,height:r,children:[{text:""}]}}"find"in[]&&[,].find(function(){Xr=!1}),Zg({target:"Array",proto:!0,forced:Xr},{find:function(e){return Xn(this,e,arguments.length>1?arguments[1]:void 0)}}),ZG("find"),Zy||KX(Object.prototype,"toString",Zy?({}).toString:function(){return"[object "+ZE(this)+"]"},{unsafe:!0});var Xi,Xa,Xu=function(){var e=Kw(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Xs=Gp.RegExp,Xl=Gh(function(){var e=Xs("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),Xc=Xl||Gh(function(){return!Xs("a","y").sticky}),Xf={BROKEN_CARET:Xl||Gh(function(){var e=Xs("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),MISSED_STICKY:Xc,UNSUPPORTED_Y:Xl},Xd=Gp.RegExp,Xp=Gh(function(){var e=Xd(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),Xh=Gp.RegExp,Xg=Gh(function(){var e=Xh("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),Xv=G6("native-string-replace",String.prototype.replace),Xy=RegExp.prototype.exec,Xm=Xy,Xb=GO("".charAt),Xw=GO("".indexOf),XE=GO("".replace),XD=GO("".slice),XS=(Xa=/b*/g,Gy(Xy,Xi=/a/,"a"),Gy(Xy,Xa,"a"),0!==Xi.lastIndex||0!==Xa.lastIndex),Xx=Xf.BROKEN_CARET,XC=void 0!==/()??/.exec("")[1];(XS||XC||Xx||Xp||Xg)&&(Xm=function(e){var t,n,r,o,i,a,u,s=KU(this),l=ZS(e),c=s.raw;if(c)return c.lastIndex=this.lastIndex,t=Gy(Xm,c,l),this.lastIndex=c.lastIndex,t;var f=s.groups,d=Xx&&this.sticky,p=Gy(Xu,this),h=this.source,g=0,v=l;if(d&&(-1===Xw(p=XE(p,"y",""),"g")&&(p+="g"),v=XD(l,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==Xb(l,this.lastIndex-1))&&(h="(?: "+h+")",v=" "+v,g++),n=RegExp("^(?:"+h+")",p)),XC&&(n=RegExp("^"+h+"$(?!\\s)",p)),XS&&(r=this.lastIndex),o=Gy(Xy,d?n:this,v),d?o?(o.input=XD(o.input,g),o[0]=XD(o[0],g),o.index=this.lastIndex,this.lastIndex+=o[0].length):this.lastIndex=0:XS&&o&&(this.lastIndex=this.global?o.index+o[0].length:r),XC&&o&&o.length>1&&Gy(Xv,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)}),o&&f)for(o.groups=a=ZV(null),i=0;i<f.length;i++)a[(u=f[i])[0]]=o[u[1]];return o});var XO=Xm;Zg({target:"RegExp",proto:!0,forced:/./.exec!==XO},{exec:XO});var XA=Function.prototype,Xk=XA.apply,XT=XA.bind,XB=XA.call,XF="object"==typeof Reflect&&Reflect.apply||(XT?XB.bind(Xk):function(){return XB.apply(Xk,arguments)}),X_=(Ks("species"),RegExp.prototype),XP=GO("".charAt),Xj=GO("".charCodeAt),XI=GO("".slice),XN=function(e){return function(t,n){var r,o,i=ZS(Gj(t)),a=KQ(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=Xj(i,a))<55296||r>56319||a+1===u||(o=Xj(i,a+1))<56320||o>57343?e?XP(i,a):r:e?XI(i,a,a+2):o-56320+(r-55296<<10)+65536}},XR={codeAt:XN(!1),charAt:XN(!0)},XL=XR.charAt,XM=Math.floor,Xz=GO("".charAt),X$=GO("".replace),XH=GO("".slice),XU=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,XV=/\$([$&'`]|\d{1,2})/g,XW=function(e,t,n,r,o,i){var a=n+e.length,u=r.length,s=XV;return void 0!==o&&(o=G8(o),s=XU),X$(i,s,function(i,s){var l;switch(Xz(s,0)){case"$":return"$";case"&":return e;case"`":return XH(t,0,n);case"'":return XH(t,a);case"<":l=o[XH(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>u){var f=XM(c/10);return 0===f?i:f<=u?void 0===r[f-1]?Xz(s,1):r[f-1]+Xz(s,1):i}l=r[c-1]}return void 0===l?"":l})},Xq=Gp.TypeError,XG=function(e,t){var n=e.exec;if(GN(n)){var r=Gy(n,e,t);return null!==r&&Kw(r),r}if("RegExp"===GT(e))return Gy(XO,e,t);throw Xq("RegExp#exec called on incompatible receiver")},XK=Ks("replace"),XZ=Math.max,XX=Math.min,XY=GO([].concat),XJ=GO([].push),XQ=GO("".indexOf),X0=GO("".slice),X1="$0"==="a".replace(/./,"$0"),X2=!!/./[XK]&&""===/./[XK]("a","$0");function X4(e){return void 0===e&&(e="r"),e+"-"+fH()}!function(e,t,n,r){var o=Ks(e),i=!Gh(function(){var t={};return t[o]=function(){return 7},7!=""[e](t)}),a=i&&!Gh(function(){var e=!1,t=/a/;return t.exec=function(){return e=!0,null},t[o](""),!e});if(!i||!a||n){var u,s,l,c=GO(/./[o]),f=(u=""[e],s=function(e,t,n,r,o){var a=GO(e),u=t.exec;return u===XO||u===X_.exec?i&&!o?{done:!0,value:c(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}},l=X2?"$":"$0",[function(e,t){var n=Gj(this),r=null==e?void 0:G0(e,XK);return r?Gy(r,e,n,t):Gy(u,ZS(n),e,t)},function(e,t){var n=Kw(this),r=ZS(e);if("string"==typeof t&&-1===XQ(t,l)&&-1===XQ(t,"$<")){var o=s(u,n,r,t);if(o.done)return o.value}var i=GN(t);i||(t=ZS(t));var a=n.global;if(a){var c=n.unicode;n.lastIndex=0}for(var f=[];;){var d,p=XG(n,r);if(null===p||(XJ(f,p),!a))break;""===ZS(p[0])&&(d=K3(n.lastIndex),n.lastIndex=d+(c?XL(r,d).length:1))}for(var h,g="",v=0,y=0;y<f.length;y++){for(var m=ZS((p=f[y])[0]),b=XZ(XX(KQ(p.index),r.length),0),w=[],E=1;E<p.length;E++)XJ(w,void 0===(h=p[E])?h:String(h));var D=p.groups;if(i){var S=XY([m],w,b,r);void 0!==D&&XJ(S,D);var x=ZS(XF(t,void 0,S))}else x=XW(m,r,b,w,D,t);b>=v&&(g+=X0(r,v,b)+x,v=b+m.length)}return g+X0(r,v)}]);KX(String.prototype,e,f[0]),KX(X_,o,f[1])}}("replace",0,!!Gh(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!X1||X2);var X3=Gp.Promise,X6=function(e,t,n){for(var r in t)KX(e,r,t[r],n);return e},X5=Gp.String,X8=Gp.TypeError,X7=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=GO(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Kw(n),function(e){if(!("object"==typeof e||GN(e)))throw X8("Can't set "+X5(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),X9=KS.f,Ye=Ks("toStringTag"),Yt=function(e,t,n){e&&!G9(e=n?e:e.prototype,Ye)&&X9(e,Ye,{configurable:!0,value:t})},Yn=Ks("species"),Yr=Gp.TypeError,Yo=function(e,t){if(GM(t,e))return e;throw Yr("Incorrect invocation")},Yi={},Ya=Ks("iterator"),Yu=Array.prototype,Ys=Ks("iterator"),Yl=function(e){if(null!=e)return G0(e,Ys)||G0(e,"@@iterator")||Yi[ZE(e)]},Yc=Gp.TypeError,Yf=function(e,t,n){var r,o;Kw(e);try{if(!(r=G0(e,"return"))){if("throw"===t)throw n;return n}r=Gy(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return Kw(r),n},Yd=Gp.TypeError,Yp=function(e,t){this.stopped=e,this.result=t},Yh=Yp.prototype,Yg=function(e,t,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=ZX(t,c),g=function(e){return r&&Yf(r,"normal",e),new Yp(!0,e)},v=function(e){return f?(Kw(e),p?h(e[0],e[1],g):h(e[0],e[1])):p?h(e,g):h(e)};if(d)r=e;else{if(!(o=Yl(e)))throw Yd(GY(e)+" is not iterable");if(void 0!==o&&(Yi.Array===o||Yu[Ya]===o)){for(i=0,a=K6(e);a>i;i++)if((u=v(e[i]))&&GM(Yh,u))return u;return new Yp(!1)}r=function(e,t){var n=arguments.length<2?Yl(e):t;if(GQ(n))return Kw(Gy(n,e));throw Yc(GY(e)+" is not iterable")}(e,o)}for(s=r.next;!(l=Gy(s,r)).done;){try{u=v(l.value)}catch(e){Yf(r,"throw",e)}if("object"==typeof u&&u&&GM(Yh,u))return u}return new Yp(!1)},Yv=Ks("iterator"),Yy=!1;try{var Ym=0,Yb={next:function(){return{done:!!Ym++}},return:function(){Yy=!0}};Yb[Yv]=function(){return this},Array.from(Yb,function(){throw 2})}catch(e){}var Yw,YE,YD,YS,Yx=function(e,t){if(!t&&!Yy)return!1;var n=!1;try{var r={};r[Yv]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},YC=Gp.TypeError,YO=Ks("species"),YA=GO([].slice),Yk=/(?:ipad|iphone|ipod).*applewebkit/i.test(Gz),YT="process"==GT(Gp.process),YB=Gp.setImmediate,YF=Gp.clearImmediate,Y_=Gp.process,YP=Gp.Dispatch,Yj=Gp.Function,YI=Gp.MessageChannel,YN=Gp.String,YR=0,YL={};try{Yw=Gp.location}catch(e){}var YM=function(e){if(G9(YL,e)){var t=YL[e];delete YL[e],t()}},Yz=function(e){return function(){YM(e)}},Y$=function(e){YM(e.data)},YH=function(e){Gp.postMessage(YN(e),Yw.protocol+"//"+Yw.host)};YB&&YF||(YB=function(e){var t=YA(arguments,1);return YL[++YR]=function(){XF(GN(e)?e:Yj(e),void 0,t)},YE(YR),YR},YF=function(e){delete YL[e]},YT?YE=function(e){Y_.nextTick(Yz(e))}:YP&&YP.now?YE=function(e){YP.now(Yz(e))}:YI&&!Yk?(YS=(YD=new YI).port2,YD.port1.onmessage=Y$,YE=ZX(YS.postMessage,YS)):Gp.addEventListener&&GN(Gp.postMessage)&&!Gp.importScripts&&Yw&&"file:"!==Yw.protocol&&!Gh(YH)?(YE=YH,Gp.addEventListener("message",Y$,!1)):YE="onreadystatechange"in Kh("script")?function(e){ZL.appendChild(Kh("script")).onreadystatechange=function(){ZL.removeChild(this),YM(e)}}:function(e){setTimeout(Yz(e),0)});var YU,YV,YW,Yq,YG,YK,YZ,YX,YY=YB,YJ=/ipad|iphone|ipod/i.test(Gz)&&void 0!==Gp.Pebble,YQ=/web0s(?!.*chrome)/i.test(Gz),Y0=Ky.f,Y1=YY,Y2=Gp.MutationObserver||Gp.WebKitMutationObserver,Y4=Gp.document,Y3=Gp.process,Y6=Gp.Promise,Y5=Y0(Gp,"queueMicrotask"),Y8=Y5&&Y5.value;Y8||(YU=function(){var e,t;for(YT&&(e=Y3.domain)&&e.exit();YV;){t=YV.fn,YV=YV.next;try{t()}catch(e){throw YV?Yq():YW=void 0,e}}YW=void 0,e&&e.enter()},Yk||YT||YQ||!Y2||!Y4?!YJ&&Y6&&Y6.resolve?((YZ=Y6.resolve(void 0)).constructor=Y6,YX=ZX(YZ.then,YZ),Yq=function(){YX(YU)}):YT?Yq=function(){Y3.nextTick(YU)}:(Y1=ZX(Y1,Gp),Yq=function(){Y1(YU)}):(YG=!0,YK=Y4.createTextNode(""),new Y2(YU).observe(YK,{characterData:!0}),Yq=function(){YK.data=YG=!YG}));var Y7,Y9,Je,Jt,Jn=Y8||function(e){var t={fn:e,next:void 0};YW&&(YW.next=t),YV||(YV=t,Yq()),YW=t},Jr=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=GQ(t),this.reject=GQ(n)},Jo={f:function(e){return new Jr(e)}},Ji=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Ja="object"==typeof window,Ju=Ks("species"),Js="Promise",Jl=KW(Js),Jc=KW(Js),Jf=X3&&X3.prototype,Jd=X3,Jp=Jf,Jh=Gp.TypeError,Jg=Gp.document,Jv=Gp.process,Jy=Jo.f,Jm=Jy,Jb=!!(Jg&&Jg.createEvent&&Gp.dispatchEvent),Jw=GN(Gp.PromiseRejectionEvent),JE=!1,JD=Zl(Js,function(){var e=KT(Jd),t=e!==String(Jd);if(!t&&66===GW)return!0;if(GW>=51&&/native code/.test(e))return!1;var n=new Jd(function(e){e(1)}),r=function(e){e(function(){},function(){})};return(n.constructor={})[Ju]=r,!(JE=n.then(function(){})instanceof r)||!t&&Ja&&!Jw}),JS=JD||!Yx(function(e){Jd.all(e).catch(function(){})}),Jx=function(e){var t;return!(!GR(e)||!GN(t=e.then))&&t},JC=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;Jn(function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,u,s,l=n[i++],c=o?l.ok:l.fail,f=l.resolve,d=l.reject,p=l.domain;try{c?(o||(2===e.rejection&&JT(e),e.rejection=1),!0===c?a=r:(p&&p.enter(),a=c(r),p&&(p.exit(),s=!0)),a===l.promise?d(Jh("Promise-chain cycle")):(u=Jx(a))?Gy(u,a,f,d):f(a)):d(r)}catch(e){p&&!s&&p.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&JA(e)})}},JO=function(e,t,n){var r,o;Jb?((r=Jg.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),Gp.dispatchEvent(r)):r={promise:t,reason:n},!Jw&&(o=Gp["on"+e])?o(r):"unhandledrejection"===e&&function(e,t){var n=Gp.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},JA=function(e){Gy(YY,Gp,function(){var t,n=e.facade,r=e.value;if(Jk(e)&&(t=Ji(function(){YT?Jv.emit("unhandledRejection",r,n):JO("unhandledrejection",n,r)}),e.rejection=YT||Jk(e)?2:1,t.error))throw t.value})},Jk=function(e){return 1!==e.rejection&&!e.parent},JT=function(e){Gy(YY,Gp,function(){var t=e.facade;YT?Jv.emit("rejectionHandled",t):JO("rejectionhandled",t,e.value)})},JB=function(e,t,n){return function(r){e(t,r,n)}},JF=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,JC(e,!0))},J_=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw Jh("Promise can't be resolved itself");var r=Jx(t);r?Jn(function(){var n={done:!1};try{Gy(r,t,JB(J_,n,e),JB(JF,n,e))}catch(t){JF(n,t,e)}}):(e.value=t,e.state=1,JC(e,!1))}catch(t){JF({done:!1},t,e)}}};if(JD&&(Jp=(Jd=function(e){Yo(this,Jp),GQ(e),Gy(Y7,this);var t=Jl(this);try{e(JB(J_,t),JB(JF,t))}catch(e){JF(t,e)}}).prototype,(Y7=function(e){KH(this,{type:Js,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=X6(Jp,{then:function(e,t){var n,r,o,i=Jc(this),a=i.reactions,u=Jy((n=Jd,void 0===(o=Kw(this).constructor)||null==(r=Kw(o)[YO])?n:function(e){if(Z6(e))return e;throw YC(GY(e)+" is not a constructor")}(r)));return u.ok=!GN(e)||e,u.fail=GN(t)&&t,u.domain=YT?Jv.domain:void 0,i.parent=!0,a[a.length]=u,0!=i.state&&JC(i,!1),u.promise},catch:function(e){return this.then(void 0,e)}}),Y9=function(){var e=new Y7,t=Jl(e);this.promise=e,this.resolve=JB(J_,t),this.reject=JB(JF,t)},Jo.f=Jy=function(e){return e===Jd||e===Je?new Y9(e):Jm(e)},GN(X3)&&Jf!==Object.prototype)){Jt=Jf.then,JE||(KX(Jf,"then",function(e,t){var n=this;return new Jd(function(e,t){Gy(Jt,n,e,t)}).then(e,t)},{unsafe:!0}),KX(Jf,"catch",Jp.catch,{unsafe:!0}));try{delete Jf.constructor}catch(e){}X7&&X7(Jf,Jp)}function JP(e,t,n){return void 0===n&&(n=""),Gr(this,void 0,void 0,function(){var r,o,i,a,u,s,l;return Go(this,function(c){switch(c.label){case 0:return t?(e.restoreSelection(),o=(r=e.getMenuConfig("insertVideo")).onInsertedVideo,i=r.checkVideo,a=r.parseVideoSrc,[4,i(t,n)]):[2];case 1:return"string"==typeof(u=c.sent())?(e.alert(u,"error"),[2]):null==u?[2]:[4,a(t)];case 2:return 0!==(s=c.sent()).trim().indexOf("<iframe ")&&(s=s.replace(/</g,"<").replace(/>/g,">")),l={type:"video",src:s,poster:n,children:[{text:""}]},Promise.resolve().then(function(){l6.insertNodes(e,l)}),o(l),[2]}})})}function Jj(){return X4("w-e-insert-video")}Zg({global:!0,wrap:!0,forced:JD},{Promise:Jd}),Yt(Jd,Js,!1),JM=GL("Promise"),Jz=KS.f,Gg&&JM&&!JM[Yn]&&Jz(JM,Yn,{configurable:!0,get:function(){return this}}),Je=GL(Js),Zg({target:Js,stat:!0,forced:JD},{reject:function(e){var t=Jy(this);return Gy(t.reject,void 0,e),t.promise}}),Zg({target:Js,stat:!0,forced:JD},{resolve:function(e){if(Kw(this),GR(e)&&e.constructor===this)return e;var t=Jo.f(this);return(0,t.resolve)(e),t.promise}}),Zg({target:Js,stat:!0,forced:JS},{all:function(e){var t=this,n=Jy(t),r=n.resolve,o=n.reject,i=Ji(function(){var n=GQ(t.resolve),i=[],a=0,u=1;Yg(e,function(e){var s=a++,l=!1;u++,Gy(n,t,e).then(function(e){l||(l=!0,i[s]=e,--u||r(i))},o)}),--u||r(i)});return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=Jy(t),r=n.reject,o=Ji(function(){var o=GQ(t.resolve);Yg(e,function(e){Gy(o,t,e).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}});var JI=function(){function e(){this.title=OP("videoModule.insertVideo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.srcInputId=Jj(),this.posterInputId=Jj(),this.buttonId=Jj()}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!lj.isCollapsed(t)||!!Dn.getSelectedElems(e).some(function(t){var n=Dn.getNodeType(t);return"pre"===n||"list-item"===n||!!e.isVoid(t)})},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=this,n=this.srcInputId,r=this.posterInputId,o=this.buttonId,i=Gi(CI(OP("videoModule.videoSrc"),n,OP("videoModule.videoSrcPlaceHolder")),2),a=i[0],u=i[1],s=Gi(CI(OP("videoModule.videoPoster"),r,OP("videoModule.videoPosterPlaceHolder")),2),l=s[0],c=s[1],f=c2(u),d=c2(c),p=Gi(CN(o,OP("videoModule.ok")),1)[0];if(null==this.$content){var h=c2("<div></div>");h.on("click","#"+o,function(o){return Gr(t,void 0,void 0,function(){return Go(this,function(t){switch(t.label){case 0:return o.preventDefault(),[4,JP(e,h.find("#"+n).val().trim(),h.find("#"+r).val().trim())];case 1:return t.sent(),e.hidePanelOrModal(),[2]}})})}),this.$content=h}var g=this.$content;return g.empty(),g.append(a),g.append(l),g.append(p),f.val(""),d.val(""),setTimeout(function(){f.focus()}),g[0]},e}(),JN=GO([].join),JR=G_!=Object,JL=!!(J$=[].join)&&Gh(function(){J$.call(null,",",1)});Zg({target:"Array",proto:!0,forced:JR||!JL},{join:function(e){return JN(GI(this),void 0===e?",":e)}});var JM,Jz,J$,JH,JU,JV,JW=!Gh(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),Jq=KP("IE_PROTO"),JG=Gp.Object,JK=JG.prototype,JZ=JW?JG.getPrototypeOf:function(e){var t=G8(e);if(G9(t,Jq))return t[Jq];var n=t.constructor;return GN(n)&&t instanceof n?n.prototype:t instanceof JG?JK:null},JX=Ks("iterator"),JY=!1;[].keys&&("next"in(JV=[].keys())?(JU=JZ(JZ(JV)))!==Object.prototype&&(JH=JU):JY=!0),(null==JH||Gh(function(){var e={};return JH[JX].call(e)!==e}))&&(JH={}),GN(JH[JX])||KX(JH,JX,function(){return this});var JJ=JH,JQ=JY,J0=function(){return this},J1=KZ.PROPER,J2=KZ.CONFIGURABLE,J4=Ks("iterator"),J3=function(){return this},J6=function(e,t,n,r,o,i,a){u=t+" Iterator",n.prototype=ZV(JJ,{next:GE(1,r)}),Yt(n,u,!1),Yi[u]=J0;var u,s,l,c,f=function(e){if(e===o&&g)return g;if(!JQ&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=!1,p=e.prototype,h=p[J4]||p["@@iterator"]||o&&p[o],g=!JQ&&h||f(o),v="Array"==t&&p.entries||h;if(v&&(s=JZ(v.call(new e)))!==Object.prototype&&s.next&&(JZ(s)!==JJ&&(X7?X7(s,JJ):GN(s[J4])||KX(s,J4,J3)),Yt(s,t+" Iterator",!0)),J1&&"values"==o&&h&&"values"!==h.name&&(J2?Kx(p,"name","values"):(d=!0,g=function(){return Gy(h,this)})),o)if(l={values:f("values"),keys:i?g:f("keys"),entries:f("entries")},a)for(c in l)!JQ&&!d&&c in p||KX(p,c,l[c]);else Zg({target:t,proto:!0,forced:JQ||d},l);return p[J4]!==g&&KX(p,J4,g,{name:o}),Yi[t]=g,l},J5=KW("Array Iterator"),J8=J6(Array,"Array",function(e,t){KH(this,{type:"Array Iterator",target:GI(e),index:0,kind:t})},function(){var e=J5(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");Yi.Arguments=Yi.Array,ZG("keys"),ZG("values"),ZG("entries");var J7=XR.charAt,J9=KW("String Iterator");J6(String,"String",function(e){KH(this,{type:"String Iterator",string:ZS(e),index:0})},function(){var e,t=J9(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=J7(n,r),t.index+=e.length,{value:e,done:!1})});var Qe=function(e,t,n){var r=Kf(t);r in e?KS.f(e,r,GE(0,n)):e[r]=n},Qt=Gp.Array,Qn=Math.max,Qr=Zr.f,Qo="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Qi={f:function(e){return Qo&&"Window"==GT(e)?function(e){try{return Qr(e)}catch(e){return function(e,t,n){for(var r=K6(e),o=K2(void 0,r),i=K2(r,r),a=Qt(Qn(i-o,0)),u=0;o<i;o++,u++)Qe(a,u,e[o]);return a.length=u,a}(Qo)}}(e):Qr(GI(e))}},Qa=Gh(function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),Qu=Object.isExtensible,Qs=Gh(function(){Qu(1)})||Qa?function(e){return!!GR(e)&&(!Qa||"ArrayBuffer"!=GT(e))&&(!Qu||Qu(e))}:Qu,Ql=!Gh(function(){return Object.isExtensible(Object.preventExtensions({}))}),Qc=Gu(function(e){var t=KS.f,n=!1,r=Kr("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=Zr.f,t=GO([].splice),o={};o[r]=1,e(o).length&&(Zr.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break}return o},Zg({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Qi.f}))},fastKey:function(e,t){if(!GR(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!G9(e,r)){if(!Qs(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!G9(e,r)){if(!Qs(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return Ql&&n&&Qs(e)&&!G9(e,r)&&i(e),e}};Kj[r]=!0}),Qf=Qc.getWeakData,Qd=Xt.find,Qp=Xt.findIndex,Qh=GO([].splice),Qg=0,Qv=function(e){return e.frozen||(e.frozen=new Qy)},Qy=function(){this.entries=[]},Qm=function(e,t){return Qd(e.entries,function(e){return e[0]===t})};Qy.prototype={get:function(e){var t=Qm(this,e);if(t)return t[1]},has:function(e){return!!Qm(this,e)},set:function(e,t){var n=Qm(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=Qp(this.entries,function(t){return t[0]===e});return~t&&Qh(this.entries,t,1),!!~t}};var Qb,Qw={getConstructor:function(e,t,n,r){var o=e(function(e,o){Yo(e,i),KH(e,{type:t,id:Qg++,frozen:void 0}),null!=o&&Yg(o,e[r],{that:e,AS_ENTRIES:n})}),i=o.prototype,a=KW(t),u=function(e,t,n){var r=a(e),o=Qf(Kw(t),!0);return!0===o?Qv(r).set(t,n):o[r.id]=n,e};return X6(i,{delete:function(e){var t=a(this);if(!GR(e))return!1;var n=Qf(e);return!0===n?Qv(t).delete(e):n&&G9(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!GR(e))return!1;var n=Qf(e);return!0===n?Qv(t).has(e):n&&G9(n,t.id)}}),X6(i,n?{get:function(e){var t=a(this);if(GR(e)){var n=Qf(e);return!0===n?Qv(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return u(this,e,t)}}:{add:function(e){return u(this,e,!0)}}),o}},QE=!Gp.ActiveXObject&&"ActiveXObject"in Gp,QD=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},QS=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=Gp[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=GO(u[e]);KX(u,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!GR(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!GR(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!GR(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(Zl(e,!GN(a)||!(o||u.forEach&&!Gh(function(){(new a).entries().next()}))))s=n.getConstructor(t,e,r,i),Qc.enable();else if(Zl(e,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=Gh(function(){f.has(1)}),h=Yx(function(e){new a(e)}),g=!o&&Gh(function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)});h||((s=t(function(e,t){Yo(e,u);var n,o,l,c,f=(n=new a,o=s,X7&&GN(l=e.constructor)&&l!==o&&GR(c=l.prototype)&&c!==o.prototype&&X7(n,c),n);return null!=t&&Yg(t,f[i],{that:f,AS_ENTRIES:r}),f})).prototype=u,u.constructor=s),(p||g)&&(c("delete"),c("has"),r&&c("get")),(g||d)&&c(i),o&&u.clear&&delete u.clear}return l[e]=s,Zg({global:!0,forced:s!=a},l),Yt(s,e),o||n.setStrong(s,e,r),s}("WeakMap",QD,Qw);if(KF&&QE){Qb=Qw.getConstructor(QD,"WeakMap",!0),Qc.enable();var Qx=QS.prototype,QC=GO(Qx.delete),QO=GO(Qx.has),QA=GO(Qx.get),Qk=GO(Qx.set);X6(Qx,{delete:function(e){if(GR(e)&&!Qs(e)){var t=KV(this);return t.frozen||(t.frozen=new Qb),QC(this,e)||t.frozen.delete(e)}return QC(this,e)},has:function(e){if(GR(e)&&!Qs(e)){var t=KV(this);return t.frozen||(t.frozen=new Qb),QO(this,e)||t.frozen.has(e)}return QO(this,e)},get:function(e){if(GR(e)&&!Qs(e)){var t=KV(this);return t.frozen||(t.frozen=new Qb),QO(this,e)?QA(this,e):t.frozen.get(e)}return QA(this,e)},set:function(e,t){if(GR(e)&&!Qs(e)){var n=KV(this);n.frozen||(n.frozen=new Qb),QO(this,e)?Qk(this,e,t):n.frozen.set(e,t)}else Qk(this,e,t);return this}})}var QT={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},QB=Kh("span").classList,QF=QB&&QB.constructor&&QB.constructor.prototype,Q_=QF===Object.prototype?void 0:QF,QP=Ks("iterator"),Qj=Ks("toStringTag"),QI=J8.values,QN=function(e,t){if(e){if(e[QP]!==QI)try{Kx(e,QP,QI)}catch(t){e[QP]=QI}if(e[Qj]||Kx(e,Qj,t),QT[t]){for(var n in J8)if(e[n]!==J8[n])try{Kx(e,n,J8[n])}catch(t){e[n]=J8[n]}}}};for(var QR in QT)QN(Gp[QR]&&Gp[QR].prototype,QR);QN(Q_,"DOMTokenList");var QL=KZ.EXISTS,QM=KS.f,Qz=Function.prototype,Q$=GO(Qz.toString),QH=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,QU=GO(QH.exec);Gg&&!QL&&QM(Qz,"name",{configurable:!0,get:function(){try{return QU(QH,Q$(this))[1]}catch(e){return""}}});var QV=Ks("species"),QW=GW>=51||!Gh(function(){var e=[];return(e.constructor={})[QV]=function(){return{foo:1}},1!==e.slice(Boolean).foo}),Qq=Ks("species"),QG=Gp.Array,QK=Math.max;function QZ(e){return e.getMenuConfig("uploadVideo")}Zg({target:"Array",proto:!0,forced:!QW},{slice:function(e,t){var n,r,o,i=GI(this),a=K6(i),u=K2(e,a),s=K2(void 0===t?a:t,a);if(ZY(i)&&((Z6(n=i.constructor)&&(n===QG||ZY(n.prototype))||GR(n)&&null===(n=n[Qq]))&&(n=void 0),n===QG||void 0===n))return YA(i,u,s);for(r=new(void 0===n?QG:n)(QK(s-u,0)),o=0;u<s;u++,o++)u in i&&Qe(r,o,i[u]);return r.length=o,r}});var QX=new WeakMap,QY=function(){function e(){this.title=OP("videoModule.uploadVideo"),this.iconSvg='<svg viewBox="0 0 1056 1024"><path d="M805.902261 521.819882a251.441452 251.441452 0 0 0-251.011972 246.600033 251.051015 251.051015 0 1 0 502.023944 8.823877 253.237463 253.237463 0 0 0-251.011972-255.42391z m59.463561 240.001647v129.898403h-116.701631v-129.898403h-44.041298l101.279368-103.504859 101.279368 103.504859z" p-id="6802"></path><path d="M788.254507 0.000781H99.094092A98.663439 98.663439 0 0 0 0.001171 99.093701v590.067495a98.663439 98.663439 0 0 0 99.092921 99.092921h411.7549a266.434235 266.434235 0 0 1-2.186448-41.815807 275.843767 275.843767 0 0 1 275.180024-270.729042 270.650955 270.650955 0 0 1 103.504859 19.834201V99.093701A101.51363 101.51363 0 0 0 788.254507 0.000781zM295.054441 640.747004V147.507894l394.146189 246.600033z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){var n=this.getMenuConfig(e),r=n.allowedFileTypes,o=void 0===r?[]:r,i=n.customBrowseAndUpload;if(i)i(function(t,n){return JP(e,t,n)});else{var a="";o.length>0&&(a='accept="'+o.join(", ")+'"');var u=c2("body"),s=c2('<input type="file" '+a+" multiple/>");s.hide(),u.append(s),s.click(),s.on("change",function(){!function(e,t){var n,r;Gr(this,void 0,void 0,function(){var o,i,a,u,s;return Go(this,function(l){switch(l.label){case 0:if(null==t)return[2];o=Array.prototype.slice.call(t),i=QZ(e).customUpload,l.label=1;case 1:l.trys.push([1,9,10,15]),a=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,o){var i;i=(t=e[n](t)).done,Promise.resolve(t.value).then(function(e){r({value:e,done:i})},o)})}}}(o),l.label=2;case 2:return[4,a.next()];case 3:return(u=l.sent()).done?[3,8]:(s=u.value,i?[4,i(s,function(t,n){return JP(e,t,n)})]:[3,5]);case 4:return l.sent(),[3,7];case 5:return[4,function(e,t){return Gr(this,void 0,void 0,function(){var n,r,o,i;return Go(this,function(a){switch(a.label){case 0:return n=function(e){var t=QX.get(e);if(null!=t)return t;var n=QZ(e),r=n.onSuccess,o=n.onProgress,i=n.onFailed,a=n.customInsert,u=n.onError;return t=C4(Gn(Gn({},n),{onProgress:function(t){e.showProgressBar(t),o&&o(t)},onSuccess:function(t,n){if(a)return a(n,function(t,n){return JP(e,t,n)}),void r(t,n);var o=n.errno,u=n.data,s=void 0===u?{}:u;if(0===(void 0===o?1:o)){var l=s.url,c=s.poster;JP(e,void 0===l?"":l,void 0===c?"":c),r(t,n)}else i(t,n)},onError:function(e,t,n){u(e,t,n)}})),QX.set(e,t),t}(e),r=t.name,o=t.type,i=t.size,n.addFile({name:r,type:o,size:i,data:t}),[4,n.upload()];case 1:return a.sent(),[2]}})})}(e,s)];case 6:l.sent(),l.label=7;case 7:return[3,2];case 8:return[3,15];case 9:return n={error:l.sent()},[3,15];case 10:return l.trys.push([10,,13,14]),u&&!u.done&&(r=a.return)?[4,r.call(a)]:[3,12];case 11:l.sent(),l.label=12;case 12:return[3,14];case 13:if(n)throw n.error;return[7];case 14:return[7];case 15:return[2]}})})}(e,s[0].files)})}},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||!lj.isCollapsed(t)||!!Dn.getSelectedElems(e).some(function(t){var n=Dn.getNodeType(t);return"pre"===n||"list-item"===n||!!e.isVoid(t)})},e.prototype.getMenuConfig=function(e){return e.getMenuConfig("uploadVideo")},e}(),QJ=KZ.PROPER,QQ=RegExp.prototype,Q0=QQ.toString,Q1=GO(Xu),Q2=Gh(function(){return"/a/b"!=Q0.call({source:"a",flags:"b"})}),Q4=QJ&&"toString"!=Q0.name;function Q3(){return X4("w-e-insert-video")}(Q2||Q4)&&KX(RegExp.prototype,"toString",function(){var e=Kw(this),t=ZS(e.source),n=e.flags;return"/"+t+"/"+ZS(void 0===n&&GM(QQ,e)&&!("flags"in QQ)?Q1(e):n)},{unsafe:!0});var Q6=function(){function e(){this.title=OP("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=Q3(),this.heightInputId=Q3(),this.buttonId=Q3()}return e.prototype.getSelectedVideoNode=function(e){return Dn.getSelectedNodeByType(e,"video")},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedVideoNode(e)},e.prototype.getModalPositionNode=function(e){return this.getSelectedVideoNode(e)},e.prototype.getModalContentElem=function(e){var t=this.widthInputId,n=this.heightInputId,r=this.buttonId,o=Gi(CI(OP("videoModule.width"),t,"auto"),2),i=o[0],a=c2(o[1]),u=Gi(CI(OP("videoModule.height"),n,"auto"),2),s=u[0],l=c2(u[1]),c=Gi(CN(r,OP("videoModule.ok")),1)[0];if(null==this.$content){var f=c2("<div></div>");f.on("click","#"+r,function(r){r.preventDefault();var o=f.find("#"+t).val().trim(),i=f.find("#"+n).val().trim(),a=parseInt(o),u=parseInt(i),s=a?a.toString():"auto",l=u?u.toString():"auto";e.restoreSelection(),l6.setNodes(e,{width:s,height:l},{match:function(e){return Dn.checkNodeType(e,"video")}}),e.hidePanelOrModal()}),this.$content=f}var d=this.$content;d.empty(),d.append(i),d.append(s),d.append(c);var p=this.getSelectedVideoNode(e);if(null==p)return d[0];var h=p.width,g=p.height;return a.val(void 0===h?"auto":h),l.val(void 0===g?"auto":g),setTimeout(function(){a.focus()}),d[0]},e}();OF("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),OF("zh-CN",{uploadImgModule:{uploadImage:"上传图片",uploadError:"{{fileName}} 上传出错"}});var Q5="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function Q8(e){var t={exports:{}};return e(t,t.exports),t.exports}var Q7,Q9,eee=function(e){return e&&e.Math==Math&&e},eet=eee("object"==typeof globalThis&&globalThis)||eee("object"==typeof window&&window)||eee("object"==typeof self&&self)||eee("object"==typeof Q5&&Q5)||function(){return this}()||Function("return this")(),een=function(e){try{return!!e()}catch(e){return!0}},eer=!een(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),eeo=Function.prototype.call,eei=eeo.bind?eeo.bind(eeo):function(){return eeo.apply(eeo,arguments)},eea={}.propertyIsEnumerable,eeu=Object.getOwnPropertyDescriptor,ees={f:eeu&&!eea.call({1:2},1)?function(e){var t=eeu(this,e);return!!t&&t.enumerable}:eea},eel=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},eec=Function.prototype,eef=eec.bind,eed=eec.call,eep=eef&&eef.bind(eed),eeh=eef?function(e){return e&&eep(eed,e)}:function(e){return e&&function(){return eed.apply(e,arguments)}},eeg=eeh({}.toString),eev=eeh("".slice),eey=function(e){return eev(eeg(e),8,-1)},eem=eet.Object,eeb=eeh("".split),eew=een(function(){return!eem("z").propertyIsEnumerable(0)})?function(e){return"String"==eey(e)?eeb(e,""):eem(e)}:eem,eeE=eet.TypeError,eeD=function(e){if(null==e)throw eeE("Can't call method on "+e);return e},eeS=function(e){return eew(eeD(e))},eex=function(e){return"function"==typeof e},eeC=function(e){return"object"==typeof e?null!==e:eex(e)},eeO=function(e,t){var n;return arguments.length<2?eex(n=eet[e])?n:void 0:eet[e]&&eet[e][t]},eeA=eeh({}.isPrototypeOf),eek=eeO("navigator","userAgent")||"",eeT=eet.process,eeB=eet.Deno,eeF=eeT&&eeT.versions||eeB&&eeB.version,ee_=eeF&&eeF.v8;ee_&&(Q9=(Q7=ee_.split("."))[0]>0&&Q7[0]<4?1:+(Q7[0]+Q7[1])),!Q9&&eek&&(!(Q7=eek.match(/Edge\/(\d+)/))||Q7[1]>=74)&&(Q7=eek.match(/Chrome\/(\d+)/))&&(Q9=+Q7[1]);var eeP=Q9,eej=!!Object.getOwnPropertySymbols&&!een(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&eeP&&eeP<41}),eeI=eej&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,eeN=eet.Object,eeR=eeI?function(e){return"symbol"==typeof e}:function(e){var t=eeO("Symbol");return eex(t)&&eeA(t.prototype,eeN(e))},eeL=eet.String,eeM=function(e){try{return eeL(e)}catch(e){return"Object"}},eez=eet.TypeError,ee$=function(e){if(eex(e))return e;throw eez(eeM(e)+" is not a function")},eeH=function(e,t){var n=e[t];return null==n?void 0:ee$(n)},eeU=eet.TypeError,eeV=Object.defineProperty,eeW=function(e,t){try{eeV(eet,e,{value:t,configurable:!0,writable:!0})}catch(n){eet[e]=t}return t},eeq=eet["__core-js_shared__"]||eeW("__core-js_shared__",{}),eeG=Q8(function(e){(e.exports=function(e,t){return eeq[e]||(eeq[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})}),eeK=eet.Object,eeZ=function(e){return eeK(eeD(e))},eeX=eeh({}.hasOwnProperty),eeY=Object.hasOwn||function(e,t){return eeX(eeZ(e),t)},eeJ=0,eeQ=Math.random(),ee0=eeh(1..toString),ee1=function(e){return"Symbol("+(void 0===e?"":e)+")_"+ee0(++eeJ+eeQ,36)},ee2=eeG("wks"),ee4=eet.Symbol,ee3=ee4&&ee4.for,ee6=eeI?ee4:ee4&&ee4.withoutSetter||ee1,ee5=function(e){if(!eeY(ee2,e)||!eej&&"string"!=typeof ee2[e]){var t="Symbol."+e;eej&&eeY(ee4,e)?ee2[e]=ee4[e]:ee2[e]=eeI&&ee3?ee3(t):ee6(t)}return ee2[e]},ee8=eet.TypeError,ee7=ee5("toPrimitive"),ee9=function(e){var t=function(e,t){if(!eeC(e)||eeR(e))return e;var n,r=eeH(e,ee7);if(r){if(void 0===t&&(t="default"),!eeC(n=eei(r,e,t))||eeR(n))return n;throw ee8("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&eex(n=e.toString)&&!eeC(r=eei(n,e))||eex(n=e.valueOf)&&!eeC(r=eei(n,e))||"string"!==t&&eex(n=e.toString)&&!eeC(r=eei(n,e)))return r;throw eeU("Can't convert object to primitive value")}(e,t)}(e,"string");return eeR(t)?t:t+""},ete=eet.document,ett=eeC(ete)&&eeC(ete.createElement),etn=function(e){return ett?ete.createElement(e):{}},etr=!eer&&!een(function(){return 7!=Object.defineProperty(etn("div"),"a",{get:function(){return 7}}).a}),eto=Object.getOwnPropertyDescriptor,eti={f:eer?eto:function(e,t){if(e=eeS(e),t=ee9(t),etr)try{return eto(e,t)}catch(e){}if(eeY(e,t))return eel(!eei(ees.f,e,t),e[t])}},eta=eet.String,etu=eet.TypeError,ets=function(e){if(eeC(e))return e;throw etu(eta(e)+" is not an object")},etl=eet.TypeError,etc=Object.defineProperty,etf={f:eer?etc:function(e,t,n){if(ets(e),t=ee9(t),ets(n),etr)try{return etc(e,t,n)}catch(e){}if("get"in n||"set"in n)throw etl("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},etd=eer?function(e,t,n){return etf.f(e,t,eel(1,n))}:function(e,t,n){return e[t]=n,e},etp=eeh(Function.toString);eex(eeq.inspectSource)||(eeq.inspectSource=function(e){return etp(e)});var eth,etg,etv,ety=eeq.inspectSource,etm=eet.WeakMap,etb=eex(etm)&&/native code/.test(ety(etm)),etw=eeG("keys"),etE=function(e){return etw[e]||(etw[e]=ee1(e))},etD={},etS=eet.TypeError,etx=eet.WeakMap;if(etb||eeq.state){var etC=eeq.state||(eeq.state=new etx),etO=eeh(etC.get),etA=eeh(etC.has),etk=eeh(etC.set);eth=function(e,t){if(etA(etC,e))throw new etS("Object already initialized");return t.facade=e,etk(etC,e,t),t},etg=function(e){return etO(etC,e)||{}},etv=function(e){return etA(etC,e)}}else{var etT=etE("state");etD[etT]=!0,eth=function(e,t){if(eeY(e,etT))throw new etS("Object already initialized");return t.facade=e,etd(e,etT,t),t},etg=function(e){return eeY(e,etT)?e[etT]:{}},etv=function(e){return eeY(e,etT)}}var etB=eth,etF=etg,et_=function(e){return etv(e)?etg(e):eth(e,{})},etP=function(e){return function(t){var n;if(!eeC(t)||(n=etg(t)).type!==e)throw etS("Incompatible receiver, "+e+" required");return n}},etj=Function.prototype,etI=eer&&Object.getOwnPropertyDescriptor,etN=eeY(etj,"name"),etR={EXISTS:etN,PROPER:etN&&"something"===(function(){}).name,CONFIGURABLE:etN&&(!eer||eer&&etI(etj,"name").configurable)},etL=Q8(function(e){var t=etR.CONFIGURABLE,n=String(String).split("String");(e.exports=function(e,r,o,i){var a,u=!!i&&!!i.unsafe,s=!!i&&!!i.enumerable,l=!!i&&!!i.noTargetGet,c=i&&void 0!==i.name?i.name:r;eex(o)&&("Symbol("===String(c).slice(0,7)&&(c="["+String(c).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!eeY(o,"name")||t&&o.name!==c)&&etd(o,"name",c),(a=et_(o)).source||(a.source=n.join("string"==typeof c?c:""))),e!==eet?(u?!l&&e[r]&&(s=!0):delete e[r],s?e[r]=o:etd(e,r,o)):s?e[r]=o:eeW(r,o)})(Function.prototype,"toString",function(){return eex(this)&&etF(this).source||ety(this)})}),etM=Math.ceil,etz=Math.floor,et$=function(e){var t=+e;return t!=t||0===t?0:(t>0?etz:etM)(t)},etH=Math.max,etU=Math.min,etV=function(e,t){var n=et$(e);return n<0?etH(n+t,0):etU(n,t)},etW=Math.min,etq=function(e){return e>0?etW(et$(e),0x1fffffffffffff):0},etG=function(e){return etq(e.length)},etK=function(e){return function(t,n,r){var o,i=eeS(t),a=etG(i),u=etV(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},etZ=(etK(!0),etK(!1)),etX=eeh([].push),etY=function(e,t){var n,r=eeS(e),o=0,i=[];for(n in r)!eeY(etD,n)&&eeY(r,n)&&etX(i,n);for(;t.length>o;)eeY(r,n=t[o++])&&(~etZ(i,n)||etX(i,n));return i},etJ=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],etQ=etJ.concat("length","prototype"),et0={f:Object.getOwnPropertyNames||function(e){return etY(e,etQ)}},et1={f:Object.getOwnPropertySymbols},et2=eeh([].concat),et4=eeO("Reflect","ownKeys")||function(e){var t=et0.f(ets(e)),n=et1.f;return n?et2(t,n(e)):t},et3=function(e,t){for(var n=et4(t),r=etf.f,o=eti.f,i=0;i<n.length;i++){var a=n[i];eeY(e,a)||r(e,a,o(t,a))}},et6=/#|\.prototype\./,et5=function(e,t){var n=et7[et8(e)];return n==ene||n!=et9&&(eex(t)?een(t):!!t)},et8=et5.normalize=function(e){return String(e).replace(et6,".").toLowerCase()},et7=et5.data={},et9=et5.NATIVE="N",ene=et5.POLYFILL="P",ent=eti.f,enn=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?eet:l?eet[u]||eeW(u,{}):(eet[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=ent(n,r))&&a.value:n[r],!et5(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;et3(i,o)}(e.sham||o&&o.sham)&&etd(i,"sham",!0),etL(n,r,i,e)}},enr=Array.isArray||function(e){return"Array"==eey(e)},eno={};eno[ee5("toStringTag")]="z";var eni="[object z]"===String(eno),ena=ee5("toStringTag"),enu=eet.Object,ens="Arguments"==eey(function(){return arguments}()),enl=eni?eey:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=enu(e),ena))?n:ens?eey(t):"Object"==(r=eey(t))&&eex(t.callee)?"Arguments":r},enc=function(){},enf=[],end=eeO("Reflect","construct"),enp=/^\s*(?:class|function)\b/,enh=eeh(enp.exec),eng=!enp.exec(enc),env=function(e){if(!eex(e))return!1;try{return end(enc,enf,e),!0}catch(e){return!1}},eny=!end||een(function(){var e;return env(env.call)||!env(Object)||!env(function(){e=!0})||e})?function(e){if(!eex(e))return!1;switch(enl(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return eng||!!enh(enp,ety(e))}:env,enm=function(e,t,n){var r=ee9(t);r in e?etf.f(e,r,eel(0,n)):e[r]=n},enb=ee5("species"),enw=eeh([].slice),enE=eeP>=51||!een(function(){var e=[];return(e.constructor={})[enb]=function(){return{foo:1}},1!==e.slice(Boolean).foo}),enD=ee5("species"),enS=eet.Array,enx=Math.max;enn({target:"Array",proto:!0,forced:!enE},{slice:function(e,t){var n,r,o,i=eeS(this),a=etG(i),u=etV(e,a),s=etV(void 0===t?a:t,a);if(enr(i)&&((eny(n=i.constructor)&&(n===enS||enr(n.prototype))||eeC(n)&&null===(n=n[enD]))&&(n=void 0),n===enS||void 0===n))return enw(i,u,s);for(r=new(void 0===n?enS:n)(enx(s-u,0)),o=0;u<s;u++,o++)u in i&&enm(r,o,i[u]);return r.length=o,r}}),eni||etL(Object.prototype,"toString",eni?({}).toString:function(){return"[object "+enl(this)+"]"},{unsafe:!0});var enC,enO=eet.String,enA=function(e){if("Symbol"===enl(e))throw TypeError("Cannot convert a Symbol value to a string");return enO(e)},enk=function(){var e=ets(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},enT=eet.RegExp,enB=een(function(){var e=enT("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),enF=enB||een(function(){return!enT("a","y").sticky}),en_={BROKEN_CARET:enB||een(function(){var e=enT("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),MISSED_STICKY:enF,UNSUPPORTED_Y:enB},enP=Object.keys||function(e){return etY(e,etJ)},enj=eer?Object.defineProperties:function(e,t){ets(e);for(var n,r=eeS(t),o=enP(t),i=o.length,a=0;i>a;)etf.f(e,n=o[a++],r[n]);return e},enI=eeO("document","documentElement"),enN=etE("IE_PROTO"),enR=function(){},enL=function(e){return"<script>"+e+"<\/script>"},enM=function(e){e.write(enL("")),e.close();var t=e.parentWindow.Object;return e=null,t},enz=function(){try{enC=new ActiveXObject("htmlfile")}catch(e){}enz="undefined"!=typeof document?document.domain&&enC?enM(enC):((t=etn("iframe")).style.display="none",enI.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(enL("document.F=Object")),e.close(),e.F):enM(enC);for(var e,t,n=etJ.length;n--;)delete enz.prototype[etJ[n]];return enz()};etD[enN]=!0;var en$,enH,enU=Object.create||function(e,t){var n;return null!==e?(enR.prototype=ets(e),n=new enR,enR.prototype=null,n[enN]=e):n=enz(),void 0===t?n:enj(n,t)},enV=eet.RegExp,enW=een(function(){var e=enV(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),enq=eet.RegExp,enG=een(function(){var e=enq("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),enK=eeG("native-string-replace",String.prototype.replace),enZ=RegExp.prototype.exec,enX=enZ,enY=eeh("".charAt),enJ=eeh("".indexOf),enQ=eeh("".replace),en0=eeh("".slice),en1=(enH=/b*/g,eei(enZ,en$=/a/,"a"),eei(enZ,enH,"a"),0!==en$.lastIndex||0!==enH.lastIndex),en2=en_.BROKEN_CARET,en4=void 0!==/()??/.exec("")[1];(en1||en4||en2||enW||enG)&&(enX=function(e){var t,n,r,o,i,a,u,s=etF(this),l=enA(e),c=s.raw;if(c)return c.lastIndex=this.lastIndex,t=eei(enX,c,l),this.lastIndex=c.lastIndex,t;var f=s.groups,d=en2&&this.sticky,p=eei(enk,this),h=this.source,g=0,v=l;if(d&&(-1===enJ(p=enQ(p,"y",""),"g")&&(p+="g"),v=en0(l,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==enY(l,this.lastIndex-1))&&(h="(?: "+h+")",v=" "+v,g++),n=RegExp("^(?:"+h+")",p)),en4&&(n=RegExp("^"+h+"$(?!\\s)",p)),en1&&(r=this.lastIndex),o=eei(enZ,d?n:this,v),d?o?(o.input=en0(o.input,g),o[0]=en0(o[0],g),o.index=this.lastIndex,this.lastIndex+=o[0].length):this.lastIndex=0:en1&&o&&(this.lastIndex=this.global?o.index+o[0].length:r),en4&&o&&o.length>1&&eei(enK,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)}),o&&f)for(o.groups=a=enU(null),i=0;i<f.length;i++)a[(u=f[i])[0]]=o[u[1]];return o});var en3=enX;enn({target:"RegExp",proto:!0,forced:/./.exec!==en3},{exec:en3});var en6=Function.prototype,en5=en6.apply,en8=en6.bind,en7=en6.call,en9="object"==typeof Reflect&&Reflect.apply||(en8?en7.bind(en5):function(){return en7.apply(en5,arguments)}),ere=ee5("species"),ert=RegExp.prototype,ern=ee5("match"),err=eet.TypeError,ero=ee5("species"),eri=function(e,t){var n,r=ets(e).constructor;return void 0===r||null==(n=ets(r)[ero])?t:function(e){if(eny(e))return e;throw err(eeM(e)+" is not a constructor")}(n)},era=eeh("".charAt),eru=eeh("".charCodeAt),ers=eeh("".slice),erl=function(e){return function(t,n){var r,o,i=enA(eeD(t)),a=et$(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=eru(i,a))<55296||r>56319||a+1===u||(o=eru(i,a+1))<56320||o>57343?e?era(i,a):r:e?ers(i,a,a+2):o-56320+(r-55296<<10)+65536}},erc={codeAt:erl(!1),charAt:erl(!0)},erf=erc.charAt,erd=eet.Array,erp=Math.max,erh=function(e,t,n){for(var r=etG(e),o=etV(t,r),i=etV(void 0===n?r:n,r),a=erd(erp(i-o,0)),u=0;o<i;o++,u++)enm(a,u,e[o]);return a.length=u,a},erg=eet.TypeError,erv=function(e,t){var n=e.exec;if(eex(n)){var r=eei(n,e,t);return null!==r&&ets(r),r}if("RegExp"===eey(e))return eei(en3,e,t);throw erg("RegExp#exec called on incompatible receiver")},ery=en_.UNSUPPORTED_Y,erm=Math.min,erb=[].push,erw=eeh(/./.exec),erE=eeh(erb),erD=eeh("".slice);!function(e,t,n,r){var o=ee5(e),i=!een(function(){var t={};return t[o]=function(){return 7},7!=""[e](t)}),a=i&&!een(function(){var e=!1,t=/a/;return(t={}).constructor={},t.constructor[ere]=function(){return t},t.flags="",t[o]=/./[o],t.exec=function(){return e=!0,null},t[o](""),!e});if(!i||!a||n){var u,s,l,c=eeh(/./[o]),f=(u=""[e],s=function(e,t,n,r,o){var a=eeh(e),u=t.exec;return u===en3||u===ert.exec?i&&!o?{done:!0,value:c(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}},l="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,t){var n,r=enA(eeD(this)),o=void 0===t?0xffffffff:t>>>0;if(0===o)return[];if(void 0===e)return[r];if(!eeC(e)||!(void 0!==(n=e[ern])?n:"RegExp"==eey(e)))return eei(u,r,e,o);for(var i,a,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,d=RegExp(e.source,c+"g");(i=eei(en3,d,r))&&!((a=d.lastIndex)>f&&(erE(l,erD(r,f,i.index)),i.length>1&&i.index<r.length&&en9(erb,l,erh(i,1)),s=i[0].length,f=a,l.length>=o));)d.lastIndex===i.index&&d.lastIndex++;return f===r.length?!s&&erw(d,"")||erE(l,""):erE(l,erD(r,f)),l.length>o?erh(l,0,o):l}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:eei(u,this,e,t)}:u,[function(e,t){var n=eeD(this),r=null==e?void 0:eeH(e,o);return r?eei(r,e,n,t):eei(l,enA(n),e,t)},function(e,t){var n=ets(this),r=enA(e),o=s(l,n,r,t,l!==u);if(o.done)return o.value;var i=eri(n,RegExp),a=n.unicode,c=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(ery?"g":"y"),f=new i(ery?"^(?:"+n.source+")":n,c),d=void 0===t?0xffffffff:t>>>0;if(0===d)return[];if(0===r.length)return null===erv(f,r)?[r]:[];for(var p=0,h=0,g=[];h<r.length;){f.lastIndex=ery?0:h;var v,y,m=erv(f,ery?erD(r,h):r);if(null===m||(y=erm(etq(f.lastIndex+(ery?h:0)),r.length))===p)h=(v=h)+(a?erf(r,v).length:1);else{if(erE(g,erD(r,p,h)),g.length===d)return g;for(var b=1;b<=m.length-1;b++)if(erE(g,m[b]),g.length===d)return g;h=p=y}}return erE(g,erD(r,p)),g}]);etL(String.prototype,e,f[0]),etL(ert,o,f[1])}r&&etd(ert[o],"sham",!0)}("split",0,!!een(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),ery);var erS=function(){return(erS=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function erx(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,u)}s((r=r.apply(e,t||[])).next())})}function erC(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){var s=[i,u];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}var erO=ee5("unscopables"),erA=Array.prototype;null==erA[erO]&&etf.f(erA,erO,{configurable:!0,value:enU(null)});var erk,erT,erB,erF=function(e){erA[erO][e]=!0},er_={},erP=!een(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),erj=etE("IE_PROTO"),erI=eet.Object,erN=erI.prototype,erR=erP?erI.getPrototypeOf:function(e){var t=eeZ(e);if(eeY(t,erj))return t[erj];var n=t.constructor;return eex(n)&&t instanceof n?n.prototype:t instanceof erI?erN:null},erL=ee5("iterator"),erM=!1;[].keys&&("next"in(erB=[].keys())?(erT=erR(erR(erB)))!==Object.prototype&&(erk=erT):erM=!0),(null==erk||een(function(){var e={};return erk[erL].call(e)!==e}))&&(erk={}),eex(erk[erL])||etL(erk,erL,function(){return this});var erz=erk,er$=erM,erH=etf.f,erU=ee5("toStringTag"),erV=function(e,t,n){e&&!eeY(e=n?e:e.prototype,erU)&&erH(e,erU,{configurable:!0,value:t})},erW=function(){return this},erq=eet.String,erG=eet.TypeError,erK=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=eeh(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return ets(n),function(e){if(!("object"==typeof e||eex(e)))throw erG("Can't set "+erq(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),erZ=etR.PROPER,erX=etR.CONFIGURABLE,erY=ee5("iterator"),erJ=function(){return this},erQ=function(e,t,n,r,o,i,a){u=t+" Iterator",n.prototype=enU(erz,{next:eel(1,r)}),erV(n,u,!1),er_[u]=erW;var u,s,l,c,f=function(e){if(e===o&&g)return g;if(!er$&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=!1,p=e.prototype,h=p[erY]||p["@@iterator"]||o&&p[o],g=!er$&&h||f(o),v="Array"==t&&p.entries||h;if(v&&(s=erR(v.call(new e)))!==Object.prototype&&s.next&&(erR(s)!==erz&&(erK?erK(s,erz):eex(s[erY])||etL(s,erY,erJ)),erV(s,t+" Iterator",!0)),erZ&&"values"==o&&h&&"values"!==h.name&&(erX?etd(p,"name","values"):(d=!0,g=function(){return eei(h,this)})),o)if(l={values:f("values"),keys:i?g:f("keys"),entries:f("entries")},a)for(c in l)!er$&&!d&&c in p||etL(p,c,l[c]);else enn({target:t,proto:!0,forced:er$||d},l);return p[erY]!==g&&etL(p,erY,g,{name:o}),er_[t]=g,l},er0=etP("Array Iterator"),er1=erQ(Array,"Array",function(e,t){etB(this,{type:"Array Iterator",target:eeS(e),index:0,kind:t})},function(){var e=er0(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");er_.Arguments=er_.Array,erF("keys"),erF("values"),erF("entries");var er2=erc.charAt,er4=etP("String Iterator");erQ(String,"String",function(e){etB(this,{type:"String Iterator",string:enA(e),index:0})},function(){var e,t=er4(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=er2(n,r),t.index+=e.length,{value:e,done:!1})});var er3=function(e,t,n){for(var r in t)etL(e,r,t[r],n);return e},er6=et0.f,er5="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],er8={f:function(e){return er5&&"Window"==eey(e)?function(e){try{return er6(e)}catch(e){return erh(er5)}}(e):er6(eeS(e))}},er7=een(function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),er9=Object.isExtensible,eoe=een(function(){er9(1)})||er7?function(e){return!!eeC(e)&&(!er7||"ArrayBuffer"!=eey(e))&&(!er9||er9(e))}:er9,eot=!een(function(){return Object.isExtensible(Object.preventExtensions({}))}),eon=Q8(function(e){var t=etf.f,n=!1,r=ee1("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=et0.f,t=eeh([].splice),o={};o[r]=1,e(o).length&&(et0.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break}return o},enn({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:er8.f}))},fastKey:function(e,t){if(!eeC(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!eeY(e,r)){if(!eoe(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!eeY(e,r)){if(!eoe(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return eot&&n&&eoe(e)&&!eeY(e,r)&&i(e),e}};etD[r]=!0}),eor=eeh(eeh.bind),eoo=function(e,t){return ee$(e),void 0===t?e:eor?eor(e,t):function(){return e.apply(t,arguments)}},eoi=ee5("iterator"),eoa=Array.prototype,eou=ee5("iterator"),eos=function(e){if(null!=e)return eeH(e,eou)||eeH(e,"@@iterator")||er_[enl(e)]},eol=eet.TypeError,eoc=function(e,t,n){var r,o;ets(e);try{if(!(r=eeH(e,"return"))){if("throw"===t)throw n;return n}r=eei(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return ets(r),n},eof=eet.TypeError,eod=function(e,t){this.stopped=e,this.result=t},eop=eod.prototype,eoh=function(e,t,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=eoo(t,c),g=function(e){return r&&eoc(r,"normal",e),new eod(!0,e)},v=function(e){return f?(ets(e),p?h(e[0],e[1],g):h(e[0],e[1])):p?h(e,g):h(e)};if(d)r=e;else{if(!(o=eos(e)))throw eof(eeM(e)+" is not iterable");if(void 0!==o&&(er_.Array===o||eoa[eoi]===o)){for(i=0,a=etG(e);a>i;i++)if((u=v(e[i]))&&eeA(eop,u))return u;return new eod(!1)}r=function(e,t){var n=arguments.length<2?eos(e):t;if(ee$(n))return ets(eei(n,e));throw eol(eeM(e)+" is not iterable")}(e,o)}for(s=r.next;!(l=eei(s,r)).done;){try{u=v(l.value)}catch(e){eoc(r,"throw",e)}if("object"==typeof u&&u&&eeA(eop,u))return u}return new eod(!1)},eog=eet.TypeError,eov=function(e,t){if(eeA(t,e))return e;throw eog("Incorrect invocation")},eoy=ee5("iterator"),eom=!1;try{var eob=0,eow={next:function(){return{done:!!eob++}},return:function(){eom=!0}};eow[eoy]=function(){return this},Array.from(eow,function(){throw 2})}catch(e){}var eoE=function(e,t){if(!t&&!eom)return!1;var n=!1;try{var r={};r[eoy]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},eoD=ee5("species"),eoS=eet.Array,eox=function(e,t){var n;return new(enr(e)&&(eny(n=e.constructor)&&(n===eoS||enr(n.prototype))||eeC(n)&&null===(n=n[eoD]))&&(n=void 0),void 0===n?eoS:n)(0===t?0:t)},eoC=eeh([].push),eoO=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=eeZ(s),g=eew(h),v=eoo(l,c),y=etG(g),m=0,b=f||eox,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:eoC(w,d)}else switch(e){case 4:return!1;case 7:eoC(w,d)}return i?-1:r||o?o:w}},eoA={forEach:eoO(0),map:eoO(1),filter:eoO(2),some:eoO(3),every:eoO(4),find:eoO(5),findIndex:eoO(6),filterReject:eoO(7)},eok=eon.getWeakData,eoT=eoA.find,eoB=eoA.findIndex,eoF=eeh([].splice),eo_=0,eoP=function(e){return e.frozen||(e.frozen=new eoj)},eoj=function(){this.entries=[]},eoI=function(e,t){return eoT(e.entries,function(e){return e[0]===t})};eoj.prototype={get:function(e){var t=eoI(this,e);if(t)return t[1]},has:function(e){return!!eoI(this,e)},set:function(e,t){var n=eoI(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=eoB(this.entries,function(t){return t[0]===e});return~t&&eoF(this.entries,t,1),!!~t}};var eoN,eoR={getConstructor:function(e,t,n,r){var o=e(function(e,o){eov(e,i),etB(e,{type:t,id:eo_++,frozen:void 0}),null!=o&&eoh(o,e[r],{that:e,AS_ENTRIES:n})}),i=o.prototype,a=etP(t),u=function(e,t,n){var r=a(e),o=eok(ets(t),!0);return!0===o?eoP(r).set(t,n):o[r.id]=n,e};return er3(i,{delete:function(e){var t=a(this);if(!eeC(e))return!1;var n=eok(e);return!0===n?eoP(t).delete(e):n&&eeY(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!eeC(e))return!1;var n=eok(e);return!0===n?eoP(t).has(e):n&&eeY(n,t.id)}}),er3(i,n?{get:function(e){var t=a(this);if(eeC(e)){var n=eok(e);return!0===n?eoP(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return u(this,e,t)}}:{add:function(e){return u(this,e,!0)}}),o}},eoL=!eet.ActiveXObject&&"ActiveXObject"in eet,eoM=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},eoz=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=eet[e],u=a&&a.prototype,s=a,l={},c=function(e){var t=eeh(u[e]);etL(u,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!eeC(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return o&&!eeC(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!eeC(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(et5(e,!eex(a)||!(o||u.forEach&&!een(function(){(new a).entries().next()}))))s=n.getConstructor(t,e,r,i),eon.enable();else if(et5(e,!0)){var f=new s,d=f[i](o?{}:-0,1)!=f,p=een(function(){f.has(1)}),h=eoE(function(e){new a(e)}),g=!o&&een(function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)});h||((s=t(function(e,t){eov(e,u);var n,o,l,c,f=(n=new a,o=s,erK&&eex(l=e.constructor)&&l!==o&&eeC(c=l.prototype)&&c!==o.prototype&&erK(n,c),n);return null!=t&&eoh(t,f[i],{that:f,AS_ENTRIES:r}),f})).prototype=u,u.constructor=s),(p||g)&&(c("delete"),c("has"),r&&c("get")),(g||d)&&c(i),o&&u.clear&&delete u.clear}return l[e]=s,enn({global:!0,forced:s!=a},l),erV(s,e),o||n.setStrong(s,e,r),s}("WeakMap",eoM,eoR);if(etb&&eoL){eoN=eoR.getConstructor(eoM,"WeakMap",!0),eon.enable();var eo$=eoz.prototype,eoH=eeh(eo$.delete),eoU=eeh(eo$.has),eoV=eeh(eo$.get),eoW=eeh(eo$.set);er3(eo$,{delete:function(e){if(eeC(e)&&!eoe(e)){var t=et_(this);return t.frozen||(t.frozen=new eoN),eoH(this,e)||t.frozen.delete(e)}return eoH(this,e)},has:function(e){if(eeC(e)&&!eoe(e)){var t=et_(this);return t.frozen||(t.frozen=new eoN),eoU(this,e)||t.frozen.has(e)}return eoU(this,e)},get:function(e){if(eeC(e)&&!eoe(e)){var t=et_(this);return t.frozen||(t.frozen=new eoN),eoU(this,e)?eoV(this,e):t.frozen.get(e)}return eoV(this,e)},set:function(e,t){if(eeC(e)&&!eoe(e)){var n=et_(this);n.frozen||(n.frozen=new eoN),eoU(this,e)?eoW(this,e,t):n.frozen.set(e,t)}else eoW(this,e,t);return this}})}var eoq={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},eoG=etn("span").classList,eoK=eoG&&eoG.constructor&&eoG.constructor.prototype,eoZ=eoK===Object.prototype?void 0:eoK,eoX=ee5("iterator"),eoY=ee5("toStringTag"),eoJ=er1.values,eoQ=function(e,t){if(e){if(e[eoX]!==eoJ)try{etd(e,eoX,eoJ)}catch(t){e[eoX]=eoJ}if(e[eoY]||etd(e,eoY,t),eoq[t]){for(var n in er1)if(e[n]!==er1[n])try{etd(e,n,er1[n])}catch(t){e[n]=er1[n]}}}};for(var eo0 in eoq)eoQ(eet[eo0]&&eet[eo0].prototype,eo0);eoQ(eoZ,"DOMTokenList");var eo1=function(e,t){var n=[][e];return!!n&&een(function(){n.call(null,t||function(){throw 1},1)})},eo2=eoA.forEach,eo4=eo1("forEach")?[].forEach:function(e){return eo2(this,e,arguments.length>1?arguments[1]:void 0)},eo3=function(e){if(e&&e.forEach!==eo4)try{etd(e,"forEach",eo4)}catch(t){e.forEach=eo4}};for(var eo6 in eoq)eoq[eo6]&&eo3(eet[eo6]&&eet[eo6].prototype);eo3(eoZ);var eo5,eo8,eo7,eo9,eie=eet.Promise,eit=ee5("species"),ein=/(?:ipad|iphone|ipod).*applewebkit/i.test(eek),eir="process"==eey(eet.process),eio=eet.setImmediate,eii=eet.clearImmediate,eia=eet.process,eiu=eet.Dispatch,eis=eet.Function,eil=eet.MessageChannel,eic=eet.String,eif=0,eid={};try{eo5=eet.location}catch(e){}var eip=function(e){if(eeY(eid,e)){var t=eid[e];delete eid[e],t()}},eih=function(e){return function(){eip(e)}},eig=function(e){eip(e.data)},eiv=function(e){eet.postMessage(eic(e),eo5.protocol+"//"+eo5.host)};eio&&eii||(eio=function(e){var t=enw(arguments,1);return eid[++eif]=function(){en9(eex(e)?e:eis(e),void 0,t)},eo8(eif),eif},eii=function(e){delete eid[e]},eir?eo8=function(e){eia.nextTick(eih(e))}:eiu&&eiu.now?eo8=function(e){eiu.now(eih(e))}:eil&&!ein?(eo9=(eo7=new eil).port2,eo7.port1.onmessage=eig,eo8=eoo(eo9.postMessage,eo9)):eet.addEventListener&&eex(eet.postMessage)&&!eet.importScripts&&eo5&&"file:"!==eo5.protocol&&!een(eiv)?(eo8=eiv,eet.addEventListener("message",eig,!1)):eo8="onreadystatechange"in etn("script")?function(e){enI.appendChild(etn("script")).onreadystatechange=function(){enI.removeChild(this),eip(e)}}:function(e){setTimeout(eih(e),0)});var eiy,eim,eib,eiw,eiE,eiD,eiS,eix,eiC=eio,eiO=/ipad|iphone|ipod/i.test(eek)&&void 0!==eet.Pebble,eiA=/web0s(?!.*chrome)/i.test(eek),eik=eti.f,eiT=eiC,eiB=eet.MutationObserver||eet.WebKitMutationObserver,eiF=eet.document,ei_=eet.process,eiP=eet.Promise,eij=eik(eet,"queueMicrotask"),eiI=eij&&eij.value;eiI||(eiy=function(){var e,t;for(eir&&(e=ei_.domain)&&e.exit();eim;){t=eim.fn,eim=eim.next;try{t()}catch(e){throw eim?eiw():eib=void 0,e}}eib=void 0,e&&e.enter()},ein||eir||eiA||!eiB||!eiF?!eiO&&eiP&&eiP.resolve?((eiS=eiP.resolve(void 0)).constructor=eiP,eix=eoo(eiS.then,eiS),eiw=function(){eix(eiy)}):eir?eiw=function(){ei_.nextTick(eiy)}:(eiT=eoo(eiT,eet),eiw=function(){eiT(eiy)}):(eiE=!0,eiD=eiF.createTextNode(""),new eiB(eiy).observe(eiD,{characterData:!0}),eiw=function(){eiD.data=eiE=!eiE}));var eiN,eiR,eiL,eiM,eiz=eiI||function(e){var t={fn:e,next:void 0};eib&&(eib.next=t),eim||(eim=t,eiw()),eib=t},ei$=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=ee$(t),this.reject=ee$(n)},eiH={f:function(e){return new ei$(e)}},eiU=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},eiV="object"==typeof window,eiW=ee5("species"),eiq="Promise",eiG=etP(eiq),eiK=etP(eiq),eiZ=eie&&eie.prototype,eiX=eie,eiY=eiZ,eiJ=eet.TypeError,eiQ=eet.document,ei0=eet.process,ei1=eiH.f,ei2=ei1,ei4=!!(eiQ&&eiQ.createEvent&&eet.dispatchEvent),ei3=eex(eet.PromiseRejectionEvent),ei6=!1,ei5=et5(eiq,function(){var e=ety(eiX),t=e!==String(eiX);if(!t&&66===eeP)return!0;if(eeP>=51&&/native code/.test(e))return!1;var n=new eiX(function(e){e(1)}),r=function(e){e(function(){},function(){})};return(n.constructor={})[eiW]=r,!(ei6=n.then(function(){})instanceof r)||!t&&eiV&&!ei3}),ei8=ei5||!eoE(function(e){eiX.all(e).catch(function(){})}),ei7=function(e){var t;return!(!eeC(e)||!eex(t=e.then))&&t},ei9=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;eiz(function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,u,s,l=n[i++],c=o?l.ok:l.fail,f=l.resolve,d=l.reject,p=l.domain;try{c?(o||(2===e.rejection&&ear(e),e.rejection=1),!0===c?a=r:(p&&p.enter(),a=c(r),p&&(p.exit(),s=!0)),a===l.promise?d(eiJ("Promise-chain cycle")):(u=ei7(a))?eei(u,a,f,d):f(a)):d(r)}catch(e){p&&!s&&p.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&eat(e)})}},eae=function(e,t,n){var r,o;ei4?((r=eiQ.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),eet.dispatchEvent(r)):r={promise:t,reason:n},!ei3&&(o=eet["on"+e])?o(r):"unhandledrejection"===e&&function(e,t){var n=eet.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},eat=function(e){eei(eiC,eet,function(){var t,n=e.facade,r=e.value;if(ean(e)&&(t=eiU(function(){eir?ei0.emit("unhandledRejection",r,n):eae("unhandledrejection",n,r)}),e.rejection=eir||ean(e)?2:1,t.error))throw t.value})},ean=function(e){return 1!==e.rejection&&!e.parent},ear=function(e){eei(eiC,eet,function(){var t=e.facade;eir?ei0.emit("rejectionHandled",t):eae("rejectionhandled",t,e.value)})},eao=function(e,t,n){return function(r){e(t,r,n)}},eai=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,ei9(e,!0))},eaa=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw eiJ("Promise can't be resolved itself");var r=ei7(t);r?eiz(function(){var n={done:!1};try{eei(r,t,eao(eaa,n,e),eao(eai,n,e))}catch(t){eai(n,t,e)}}):(e.value=t,e.state=1,ei9(e,!1))}catch(t){eai({done:!1},t,e)}}};if(ei5&&(eiY=(eiX=function(e){eov(this,eiY),ee$(e),eei(eiN,this);var t=eiG(this);try{e(eao(eaa,t),eao(eai,t))}catch(e){eai(t,e)}}).prototype,(eiN=function(e){etB(this,{type:eiq,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=er3(eiY,{then:function(e,t){var n=eiK(this),r=n.reactions,o=ei1(eri(this,eiX));return o.ok=!eex(e)||e,o.fail=eex(t)&&t,o.domain=eir?ei0.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&ei9(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),eiR=function(){var e=new eiN,t=eiG(e);this.promise=e,this.resolve=eao(eaa,t),this.reject=eao(eai,t)},eiH.f=ei1=function(e){return e===eiX||e===eiL?new eiR(e):ei2(e)},eex(eie)&&eiZ!==Object.prototype)){eiM=eiZ.then,ei6||(etL(eiZ,"then",function(e,t){var n=this;return new eiX(function(e,t){eei(eiM,n,e,t)}).then(e,t)},{unsafe:!0}),etL(eiZ,"catch",eiY.catch,{unsafe:!0}));try{delete eiZ.constructor}catch(e){}erK&&erK(eiZ,eiY)}enn({global:!0,wrap:!0,forced:ei5},{Promise:eiX}),erV(eiX,eiq,!1),eak=eeO("Promise"),eaT=etf.f,eer&&eak&&!eak[eit]&&eaT(eak,eit,{configurable:!0,get:function(){return this}}),eiL=eeO(eiq),enn({target:eiq,stat:!0,forced:ei5},{reject:function(e){var t=ei1(this);return eei(t.reject,void 0,e),t.promise}}),enn({target:eiq,stat:!0,forced:ei5},{resolve:function(e){if(ets(this),eeC(e)&&e.constructor===this)return e;var t=eiH.f(this);return(0,t.resolve)(e),t.promise}}),enn({target:eiq,stat:!0,forced:ei8},{all:function(e){var t=this,n=ei1(t),r=n.resolve,o=n.reject,i=eiU(function(){var n=ee$(t.resolve),i=[],a=0,u=1;eoh(e,function(e){var s=a++,l=!1;u++,eei(n,t,e).then(function(e){l||(l=!0,i[s]=e,--u||r(i))},o)}),--u||r(i)});return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=ei1(t),r=n.reject,o=eiU(function(){var o=ee$(t.resolve);eoh(e,function(e){eei(o,t,e).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}});var eau=etR.PROPER,eas=RegExp.prototype,eal=eas.toString,eac=eeh(enk),eaf=een(function(){return"/a/b"!=eal.call({source:"a",flags:"b"})}),ead=eau&&"toString"!=eal.name;(eaf||ead)&&etL(RegExp.prototype,"toString",function(){var e=ets(this),t=enA(e.source),n=e.flags;return"/"+t+"/"+enA(void 0===n&&eeA(eas,e)&&!("flags"in eas)?eac(e):n)},{unsafe:!0});var eap=etR.EXISTS,eah=etf.f,eag=Function.prototype,eav=eeh(eag.toString),eay=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,eam=eeh(eay.exec);eer&&!eap&&eah(eag,"name",{configurable:!0,get:function(){try{return eam(eay,eav(this))[1]}catch(e){return""}}});var eab=new WeakMap;function eaw(e){return e.getMenuConfig("uploadImage")}function eaE(e,t){var n,r;return erx(this,void 0,void 0,function(){var o,i,a,u,s,l,c,f;return erC(this,function(d){switch(d.label){case 0:if(null==t)return[2];o=Array.prototype.slice.call(t),a=(i=eaw(e)).customUpload,u=i.base64LimitSize,d.label=1;case 1:d.trys.push([1,11,12,17]),s=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,o){var i;i=(t=e[n](t)).done,Promise.resolve(t.value).then(function(e){r({value:e,done:i})},o)})}}}(o),d.label=2;case 2:return[4,s.next()];case 3:return(l=d.sent()).done?[3,10]:(f=(c=l.value).size,u&&f<=u?[4,function(e,t){return erx(this,void 0,void 0,function(){return erC(this,function(n){return[2,new Promise(function(n){var r=new FileReader;r.readAsDataURL(t),r.onload=function(){var o=r.result;if(o){var i=o.toString(),a=0===i.indexOf("data:image")?"":i;_z(e,i,t.name,a),n("ok")}}})]})})}(e,c)]:[3,5]);case 4:case 6:return d.sent(),[3,9];case 5:return a?[4,a(c,function(t,n,r){return _z(e,t,n,r)})]:[3,7];case 7:return[4,function(e,t){return erx(this,void 0,void 0,function(){var n,r,o,i;return erC(this,function(a){switch(a.label){case 0:return n=function(e){var t=eab.get(e);if(null!=t)return t;var n=eaw(e),r=n.onSuccess,o=n.onProgress,i=n.onFailed,a=n.customInsert,u=n.onError;return t=C4(erS(erS({},n),{onProgress:function(t){e.showProgressBar(t),o&&o(t)},onSuccess:function(t,n){if(a)return a(n,function(t,n,r){return _z(e,t,n,r)}),void r(t,n);var o=n.errno,u=n.data,s=void 0===u?{}:u;if(0===(void 0===o?1:o)){if(Array.isArray(s))s.forEach(function(t){var n=t.url,r=t.alt,o=t.href;_z(e,void 0===n?"":n,void 0===r?"":r,void 0===o?"":o)});else{var l=s.url,c=s.alt,f=s.href;_z(e,void 0===l?"":l,void 0===c?"":c,void 0===f?"":f)}r(t,n)}else i(t,n)},onError:function(e,t,n){u(e,t,n)}})),eab.set(e,t),t}(e),r=t.name,o=t.type,i=t.size,n.addFile({name:r,type:o,size:i,data:t}),[4,n.upload()];case 1:return a.sent(),[2]}})})}(e,c)];case 8:d.sent(),d.label=9;case 9:return[3,2];case 10:return[3,17];case 11:return n={error:d.sent()},[3,17];case 12:return d.trys.push([12,,15,16]),l&&!l.done&&(r=s.return)?[4,r.call(s)]:[3,14];case 13:d.sent(),d.label=14;case 14:return[3,16];case 15:if(n)throw n.error;return[7];case 16:return[7];case 17:return[2]}})})}var eaD=eeh([].join),eaS=eew!=Object,eax=eo1("join",",");enn({target:"Array",proto:!0,forced:eaS||!eax},{join:function(e){return eaD(eeS(this),void 0===e?",":e)}}),fp&&(c2.fn.append=fp),fe&&(c2.fn.on=fe),fb&&(c2.fn.remove=fb),c9&&(c2.fn.val=c9),fA&&(c2.fn.click=fA),fi&&(c2.fn.hide=fi);var eaC=function(){function e(){this.title=OP("uploadImgModule.uploadImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M828.708571 585.045333a48.761905 48.761905 0 0 0-48.737523 48.761905v18.529524l-72.143238-72.167619a135.972571 135.972571 0 0 0-191.585524 0l-34.133334 34.133333-120.880762-120.953905a138.898286 138.898286 0 0 0-191.585523 0l-72.167619 72.167619V292.400762a48.786286 48.786286 0 0 1 48.761904-48.761905h341.23581a48.737524 48.737524 0 0 0 34.474667-83.285333 48.737524 48.737524 0 0 0-34.474667-14.287238H146.236952A146.212571 146.212571 0 0 0 0 292.400762v585.289143A146.358857 146.358857 0 0 0 146.236952 1024h584.996572a146.212571 146.212571 0 0 0 146.236952-146.310095V633.807238a48.786286 48.786286 0 0 0-48.761905-48.761905zM146.261333 926.45181a48.737524 48.737524 0 0 1-48.761904-48.761905v-174.128762l141.409523-141.458286a38.497524 38.497524 0 0 1 53.126096 0l154.526476 154.624 209.627428 209.724953H146.236952z m633.734096-48.761905c-0.073143 9.337905-3.145143 18.383238-8.777143 25.843809l-219.843048-220.94019 34.133333-34.133334a37.546667 37.546667 0 0 1 53.613715 0l140.873143 141.897143V877.714286zM1009.615238 160.231619L863.329524 13.897143a48.737524 48.737524 0 0 0-16.091429-10.24c-11.849143-4.87619-25.161143-4.87619-37.059047 0a48.761905 48.761905 0 0 0-16.067048 10.24l-146.236952 146.334476a49.005714 49.005714 0 0 0 69.217523 69.241905l62.902858-63.390476v272.627809a48.761905 48.761905 0 1 0 97.475047 0V166.083048l62.902857 63.390476a48.737524 48.737524 0 0 0 69.217524 0 48.761905 48.761905 0 0 0 0-69.241905z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return _$(e)},e.prototype.getMenuConfig=function(e){return e.getMenuConfig("uploadImage")},e.prototype.exec=function(e,t){var n=this.getMenuConfig(e),r=n.allowedFileTypes,o=void 0===r?[]:r,i=n.customBrowseAndUpload;if(i)i(function(t,n,r){return _z(e,t,n,r)});else{var a="";o.length>0&&(a='accept="'+o.join(", ")+'"');var u=c2("body"),s=c2('<input type="file" '+a+" multiple/>");s.hide(),u.append(s),s.click(),s.on("change",function(){eaE(e,s[0].files)})}},e}();OF("en",{highLightModule:{selectLang:"Language"}}),OF("zh-CN",{highLightModule:{selectLang:"选择语言"}});var eaO="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function eaA(e){var t={exports:{}};return e(t,t.exports),t.exports}var eak,eaT,eaB,eaF,ea_=function(e){return e&&e.Math==Math&&e},eaP=ea_("object"==typeof globalThis&&globalThis)||ea_("object"==typeof window&&window)||ea_("object"==typeof self&&self)||ea_("object"==typeof eaO&&eaO)||function(){return this}()||Function("return this")(),eaj=Object.defineProperty,eaI=function(e,t){try{eaj(eaP,e,{value:t,configurable:!0,writable:!0})}catch(n){eaP[e]=t}return t},eaN=eaP["__core-js_shared__"]||eaI("__core-js_shared__",{}),eaR=eaA(function(e){(e.exports=function(e,t){return eaN[e]||(eaN[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})}),eaL=Function.prototype,eaM=eaL.bind,eaz=eaL.call,ea$=eaM&&eaM.bind(eaz),eaH=eaM?function(e){return e&&ea$(eaz,e)}:function(e){return e&&function(){return eaz.apply(e,arguments)}},eaU=eaP.TypeError,eaV=function(e){if(null==e)throw eaU("Can't call method on "+e);return e},eaW=eaP.Object,eaq=function(e){return eaW(eaV(e))},eaG=eaH({}.hasOwnProperty),eaK=Object.hasOwn||function(e,t){return eaG(eaq(e),t)},eaZ=0,eaX=Math.random(),eaY=eaH(1..toString),eaJ=function(e){return"Symbol("+(void 0===e?"":e)+")_"+eaY(++eaZ+eaX,36)},eaQ=function(e){return"function"==typeof e},ea0=function(e,t){var n;return arguments.length<2?eaQ(n=eaP[e])?n:void 0:eaP[e]&&eaP[e][t]},ea1=ea0("navigator","userAgent")||"",ea2=eaP.process,ea4=eaP.Deno,ea3=ea2&&ea2.versions||ea4&&ea4.version,ea6=ea3&&ea3.v8;ea6&&(eaF=(eaB=ea6.split("."))[0]>0&&eaB[0]<4?1:+(eaB[0]+eaB[1])),!eaF&&ea1&&(!(eaB=ea1.match(/Edge\/(\d+)/))||eaB[1]>=74)&&(eaB=ea1.match(/Chrome\/(\d+)/))&&(eaF=+eaB[1]);var ea5=eaF,ea8=function(e){try{return!!e()}catch(e){return!0}},ea7=!!Object.getOwnPropertySymbols&&!ea8(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ea5&&ea5<41}),ea9=ea7&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,eue=eaR("wks"),eut=eaP.Symbol,eun=eut&&eut.for,eur=ea9?eut:eut&&eut.withoutSetter||eaJ,euo=function(e){if(!eaK(eue,e)||!ea7&&"string"!=typeof eue[e]){var t="Symbol."+e;ea7&&eaK(eut,e)?eue[e]=eut[e]:eue[e]=ea9&&eun?eun(t):eur(t)}return eue[e]},eui={};eui[euo("toStringTag")]="z";var eua="[object z]"===String(eui),euu=!ea8(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),eus=function(e){return"object"==typeof e?null!==e:eaQ(e)},eul=eaP.document,euc=eus(eul)&&eus(eul.createElement),euf=function(e){return euc?eul.createElement(e):{}},eud=!euu&&!ea8(function(){return 7!=Object.defineProperty(euf("div"),"a",{get:function(){return 7}}).a}),eup=eaP.String,euh=eaP.TypeError,eug=function(e){if(eus(e))return e;throw euh(eup(e)+" is not an object")},euv=Function.prototype.call,euy=euv.bind?euv.bind(euv):function(){return euv.apply(euv,arguments)},eum=eaH({}.isPrototypeOf),eub=eaP.Object,euw=ea9?function(e){return"symbol"==typeof e}:function(e){var t=ea0("Symbol");return eaQ(t)&&eum(t.prototype,eub(e))},euE=eaP.String,euD=function(e){try{return euE(e)}catch(e){return"Object"}},euS=eaP.TypeError,eux=function(e){if(eaQ(e))return e;throw euS(euD(e)+" is not a function")},euC=function(e,t){var n=e[t];return null==n?void 0:eux(n)},euO=eaP.TypeError,euA=eaP.TypeError,euk=euo("toPrimitive"),euT=function(e){var t=function(e,t){if(!eus(e)||euw(e))return e;var n,r=euC(e,euk);if(r){if(void 0===t&&(t="default"),!eus(n=euy(r,e,t))||euw(n))return n;throw euA("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&eaQ(n=e.toString)&&!eus(r=euy(n,e))||eaQ(n=e.valueOf)&&!eus(r=euy(n,e))||"string"!==t&&eaQ(n=e.toString)&&!eus(r=euy(n,e)))return r;throw euO("Can't convert object to primitive value")}(e,t)}(e,"string");return euw(t)?t:t+""},euB=eaP.TypeError,euF=Object.defineProperty,eu_={f:euu?euF:function(e,t,n){if(eug(e),t=euT(t),eug(n),eud)try{return euF(e,t,n)}catch(e){}if("get"in n||"set"in n)throw euB("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},euP=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},euj=euu?function(e,t,n){return eu_.f(e,t,euP(1,n))}:function(e,t,n){return e[t]=n,e},euI=eaH(Function.toString);eaQ(eaN.inspectSource)||(eaN.inspectSource=function(e){return euI(e)});var euN,euR,euL,euM=eaN.inspectSource,euz=eaP.WeakMap,eu$=eaQ(euz)&&/native code/.test(euM(euz)),euH=eaR("keys"),euU=function(e){return euH[e]||(euH[e]=eaJ(e))},euV={},euW=eaP.TypeError,euq=eaP.WeakMap;if(eu$||eaN.state){var euG=eaN.state||(eaN.state=new euq),euK=eaH(euG.get),euZ=eaH(euG.has),euX=eaH(euG.set);euN=function(e,t){if(euZ(euG,e))throw new euW("Object already initialized");return t.facade=e,euX(euG,e,t),t},euR=function(e){return euK(euG,e)||{}},euL=function(e){return euZ(euG,e)}}else{var euY=euU("state");euV[euY]=!0,euN=function(e,t){if(eaK(e,euY))throw new euW("Object already initialized");return t.facade=e,euj(e,euY,t),t},euR=function(e){return eaK(e,euY)?e[euY]:{}},euL=function(e){return eaK(e,euY)}}var euJ=euR,euQ=Function.prototype,eu0=euu&&Object.getOwnPropertyDescriptor,eu1=eaK(euQ,"name"),eu2={EXISTS:eu1,PROPER:eu1&&"something"===(function(){}).name,CONFIGURABLE:eu1&&(!euu||euu&&eu0(euQ,"name").configurable)},eu4=eaA(function(e){var t=eu2.CONFIGURABLE,n=String(String).split("String");(e.exports=function(e,r,o,i){var a,u,s=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet,f=i&&void 0!==i.name?i.name:r;eaQ(o)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!eaK(o,"name")||t&&o.name!==f)&&euj(o,"name",f),(u=euL(a=o)?euR(a):euN(a,{})).source||(u.source=n.join("string"==typeof f?f:""))),e!==eaP?(s?!c&&e[r]&&(l=!0):delete e[r],l?e[r]=o:euj(e,r,o)):l?e[r]=o:eaI(r,o)})(Function.prototype,"toString",function(){return eaQ(this)&&euJ(this).source||euM(this)})}),eu3=eaH({}.toString),eu6=eaH("".slice),eu5=function(e){return eu6(eu3(e),8,-1)},eu8=euo("toStringTag"),eu7=eaP.Object,eu9="Arguments"==eu5(function(){return arguments}()),ese=eua?eu5:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=eu7(e),eu8))?n:eu9?eu5(t):"Object"==(r=eu5(t))&&eaQ(t.callee)?"Arguments":r};eua||eu4(Object.prototype,"toString",eua?({}).toString:function(){return"[object "+ese(this)+"]"},{unsafe:!0});var est,esn={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},esr=euf("span").classList,eso=esr&&esr.constructor&&esr.constructor.prototype,esi=eso===Object.prototype?void 0:eso,esa=eaH(eaH.bind),esu=eaP.Object,ess=eaH("".split),esl=ea8(function(){return!esu("z").propertyIsEnumerable(0)})?function(e){return"String"==eu5(e)?ess(e,""):esu(e)}:esu,esc=Math.ceil,esf=Math.floor,esd=function(e){var t=+e;return t!=t||0===t?0:(t>0?esf:esc)(t)},esp=Math.min,esh=function(e){return e>0?esp(esd(e),0x1fffffffffffff):0},esg=function(e){return esh(e.length)},esv=Array.isArray||function(e){return"Array"==eu5(e)},esy=function(){},esm=[],esb=ea0("Reflect","construct"),esw=/^\s*(?:class|function)\b/,esE=eaH(esw.exec),esD=!esw.exec(esy),esS=function(e){if(!eaQ(e))return!1;try{return esb(esy,esm,e),!0}catch(e){return!1}},esx=!esb||ea8(function(){var e;return esS(esS.call)||!esS(Object)||!esS(function(){e=!0})||e})?function(e){if(!eaQ(e))return!1;switch(ese(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return esD||!!esE(esw,euM(e))}:esS,esC=euo("species"),esO=eaP.Array,esA=function(e,t){var n;return new(esv(e)&&(esx(n=e.constructor)&&(n===esO||esv(n.prototype))||eus(n)&&null===(n=n[esC]))&&(n=void 0),void 0===n?esO:n)(0===t?0:t)},esk=eaH([].push),esT=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=eaq(s),g=esl(h),v=(eux(l),void 0===c?l:esa?esa(l,c):function(){return l.apply(c,arguments)}),y=esg(g),m=0,b=f||esA,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:esk(w,d)}else switch(e){case 4:return!1;case 7:esk(w,d)}return i?-1:r||o?o:w}},esB=[esT(0),esT(1),esT(2),esT(3),esT(4),esT(5),esT(6),esT(7)][0],esF=(est=[].forEach)&&ea8(function(){est.call(null,function(){throw 1},1)})?[].forEach:function(e){return esB(this,e,arguments.length>1?arguments[1]:void 0)},es_=function(e){if(e&&e.forEach!==esF)try{euj(e,"forEach",esF)}catch(t){e.forEach=esF}};for(var esP in esn)esn[esP]&&es_(eaP[esP]&&eaP[esP].prototype);es_(esi);var esj={}.propertyIsEnumerable,esI=Object.getOwnPropertyDescriptor,esN={f:esI&&!esj.call({1:2},1)?function(e){var t=esI(this,e);return!!t&&t.enumerable}:esj},esR=function(e){return esl(eaV(e))},esL=Object.getOwnPropertyDescriptor,esM={f:euu?esL:function(e,t){if(e=esR(e),t=euT(t),eud)try{return esL(e,t)}catch(e){}if(eaK(e,t))return euP(!euy(esN.f,e,t),e[t])}},esz=Math.max,es$=Math.min,esH=function(e,t){var n=esd(e);return n<0?esz(n+t,0):es$(n,t)},esU=function(e){return function(t,n,r){var o,i=esR(t),a=esg(i),u=esH(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},esV=(esU(!0),esU(!1)),esW=eaH([].push),esq=function(e,t){var n,r=esR(e),o=0,i=[];for(n in r)!eaK(euV,n)&&eaK(r,n)&&esW(i,n);for(;t.length>o;)eaK(r,n=t[o++])&&(~esV(i,n)||esW(i,n));return i},esG=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],esK=esG.concat("length","prototype"),esZ={f:Object.getOwnPropertyNames||function(e){return esq(e,esK)}},esX={f:Object.getOwnPropertySymbols},esY=eaH([].concat),esJ=ea0("Reflect","ownKeys")||function(e){var t=esZ.f(eug(e)),n=esX.f;return n?esY(t,n(e)):t},esQ=function(e,t){for(var n=esJ(t),r=eu_.f,o=esM.f,i=0;i<n.length;i++){var a=n[i];eaK(e,a)||r(e,a,o(t,a))}},es0=/#|\.prototype\./,es1=function(e,t){var n=es4[es2(e)];return n==es6||n!=es3&&(eaQ(t)?ea8(t):!!t)},es2=es1.normalize=function(e){return String(e).replace(es0,".").toLowerCase()},es4=es1.data={},es3=es1.NATIVE="N",es6=es1.POLYFILL="P",es5=esM.f,es8=function(e,t){var n,r,o,i,a,u=e.target,s=e.global,l=e.stat;if(n=s?eaP:l?eaP[u]||eaI(u,{}):(eaP[u]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=es5(n,r))&&a.value:n[r],!es1(s?r:u+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;esQ(i,o)}(e.sham||o&&o.sham)&&euj(i,"sham",!0),eu4(n,r,i,e)}},es7=Object.keys||function(e){return esq(e,esG)},es9=Object.assign,ele=Object.defineProperty,elt=eaH([].concat),eln=!es9||ea8(function(){if(euu&&1!==es9({b:1},es9(ele({},"a",{enumerable:!0,get:function(){ele(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=es9({},e)[n]||es7(es9({},t)).join("")!=r})?function(e,t){for(var n=eaq(e),r=arguments.length,o=1,i=esX.f,a=esN.f;r>o;)for(var u,s=esl(arguments[o++]),l=i?elt(es7(s),i(s)):es7(s),c=l.length,f=0;c>f;)u=l[f++],euu&&!euy(a,s,u)||(n[u]=s[u]);return n}:es9;es8({target:"Object",stat:!0,forced:Object.assign!==eln},{assign:eln});var elr=eaA(function(e){var t,n,r=function(e){var t=/\blang(?:uage)?-([\w-]+)\b/i,n=0,r={},o={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,i;switch(n=n||{},o.util.type(t)){case"Object":if(n[i=o.util.objId(t)])return n[i];for(var a in r={},n[i]=r,t)t.hasOwnProperty(a)&&(r[a]=e(t[a],n));return r;case"Array":return n[i=o.util.objId(t)]?n[i]:(r=[],n[i]=r,t.forEach(function(t,o){r[o]=e(t,n)}),r);default:return t}},getLanguage:function(e){for(;e&&!t.test(e.className);)e=e.parentElement;return e?(e.className.match(t)||[,"none"])[1].toLowerCase():"none"},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw Error()}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=o.util.clone(o.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var i=(r=r||o.languages)[e],a={};for(var u in i)if(i.hasOwnProperty(u)){if(u==t)for(var s in n)n.hasOwnProperty(s)&&(a[s]=n[s]);n.hasOwnProperty(u)||(a[u]=i[u])}var l=r[e];return r[e]=a,o.languages.DFS(o.languages,function(t,n){n===l&&t!=e&&(this[t]=a)}),a},DFS:function e(t,n,r,i){i=i||{};var a=o.util.objId;for(var u in t)if(t.hasOwnProperty(u)){n.call(t,u,t[u],r||u);var s=t[u],l=o.util.type(s);"Object"!==l||i[a(s)]?"Array"!==l||i[a(s)]||(i[a(s)]=!0,e(s,n,u,i)):(i[a(s)]=!0,e(s,n,null,i))}}},plugins:{},highlightAll:function(e,t){o.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};o.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),o.hooks.run("before-all-elements-highlight",r);for(var i,a=0;i=r.elements[a++];)o.highlightElement(i,!0===t,r.callback)},highlightElement:function(n,r,i){var a=o.util.getLanguage(n),u=o.languages[a];n.className=n.className.replace(t,"").replace(/\s+/g," ")+" language-"+a;var s=n.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&(s.className=s.className.replace(t,"").replace(/\s+/g," ")+" language-"+a);var l={element:n,language:a,grammar:u,code:n.textContent};function c(e){l.highlightedCode=e,o.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,o.hooks.run("after-highlight",l),o.hooks.run("complete",l),i&&i.call(l.element)}if(o.hooks.run("before-sanity-check",l),(s=l.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!l.code)return o.hooks.run("complete",l),void(i&&i.call(l.element));if(o.hooks.run("before-highlight",l),l.grammar)if(r&&e.Worker){var f=new Worker(o.filename);f.onmessage=function(e){c(e.data)},f.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else c(o.highlight(l.code,l.grammar,l.language));else c(o.util.encode(l.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};return o.hooks.run("before-tokenize",r),r.tokens=o.tokenize(r.code,r.grammar),o.hooks.run("after-tokenize",r),i.stringify(o.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var l=new u;return s(l,l.head,e),function e(t,n,r,u,l,c){for(var f in r)if(r.hasOwnProperty(f)&&r[f]){var d=r[f];d=Array.isArray(d)?d:[d];for(var p=0;p<d.length;++p){if(c&&c.cause==f+","+p)return;var h=d[p],g=h.inside,v=!!h.lookbehind,y=!!h.greedy,m=h.alias;if(y&&!h.pattern.global){var b=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,b+"g")}for(var w=h.pattern||h,E=u.next,D=l;E!==n.tail&&!(c&&D>=c.reach);D+=E.value.length,E=E.next){var S=E.value;if(n.length>t.length)return;if(!(S instanceof i)){var x,C=1;if(y){if(!(x=a(w,D,t,v)))break;var O=x.index,A=x.index+x[0].length,k=D;for(k+=E.value.length;O>=k;)k+=(E=E.next).value.length;if(D=k-=E.value.length,E.value instanceof i)continue;for(var T=E;T!==n.tail&&(k<A||"string"==typeof T.value);T=T.next)C++,k+=T.value.length;C--,S=t.slice(D,k),x.index-=D}else if(!(x=a(w,0,S,v)))continue;O=x.index;var B=x[0],F=S.slice(0,O),_=S.slice(O+B.length),P=D+S.length;c&&P>c.reach&&(c.reach=P);var j=E.prev;if(F&&(j=s(n,j,F),D+=F.length),function(e,t,n){for(var r=t.next,o=0;o<n&&r!==e.tail;o++)r=r.next;t.next=r,r.prev=t,e.length-=o}(n,j,C),E=s(n,j,new i(f,g?o.tokenize(B,g):B,m,B)),_&&s(n,E,_),C>1){var I={cause:f+","+p,reach:P};e(t,n,r,E.prev,D,I),c&&I.reach>c.reach&&(c.reach=I.reach)}}}}}}(e,l,t,l.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(l)},hooks:{all:{},add:function(e,t){var n=o.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=o.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function a(e,t,n,r){e.lastIndex=t;var o=e.exec(n);if(o&&r&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function u(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,o={value:n,prev:t,next:r};return t.next=o,r.prev=o,e.length++,o}if(e.Prism=o,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(i.classes,a):i.classes.push(a)),o.hooks.run("wrap",i);var u="";for(var s in i.attributes)u+=" "+s+'="'+(i.attributes[s]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+u+">"+i.content+"</"+i.tag+">"},!e.document)return e.addEventListener&&(o.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,a=n.immediateClose;e.postMessage(o.highlight(i,o.languages[r],r)),a&&e.close()},!1)),o;var l=o.util.currentScript();function c(){o.manual||o.highlightAll()}if(l&&(o.filename=l.src,l.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var f=document.readyState;"loading"===f||"interactive"===f&&l&&l.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return o}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==eaO&&(eaO.Prism=r),r.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:r.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};o["language-"+t]={pattern:/[\s\S]+/,inside:r.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:o},r.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(e,t){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:r.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml,t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,r.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},r.languages.css.atrule.inside.rest=r.languages.css,(n=r.languages.markup)&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css")),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),r.languages.js=r.languages.javascript,function(){if(void 0!==r&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},t="data-src-status",n='pre[data-src]:not([data-src-status="loaded"]):not([data-src-status="loading"])',o=/\blang(?:uage)?-([\w-]+)\b/i;r.hooks.add("before-highlightall",function(e){e.selector+=", "+n}),r.hooks.add("before-sanity-check",function(o){var i=o.element;if(i.matches(n)){o.code="",i.setAttribute(t,"loading");var u=i.appendChild(document.createElement("CODE"));u.textContent="Loading…";var s=i.getAttribute("data-src"),l=o.language;if("none"===l){var c=(/\.(\w+)$/.exec(s)||[,"none"])[1];l=e[c]||c}a(u,l),a(i,l);var f=r.plugins.autoloader;f&&f.loadLanguages(l);var d=new XMLHttpRequest;d.open("GET",s,!0),d.onreadystatechange=function(){4==d.readyState&&(d.status<400&&d.responseText?(i.setAttribute(t,"loaded"),u.textContent=d.responseText,r.highlightElement(u)):(i.setAttribute(t,"failed"),d.status>=400?u.textContent="✖ Error "+d.status+" while fetching file: "+d.statusText:u.textContent="✖ Error: File does not exist or is empty"))},d.send(null)}}),r.plugins.fileHighlight={highlight:function(e){for(var t,o=(e||document).querySelectorAll(n),i=0;t=o[i++];)r.highlightElement(t)}};var i=!1;r.fileHighlight=function(){i||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),i=!0),r.plugins.fileHighlight.highlight.apply(this,arguments)}}function a(e,t){var n=e.className;e.className=(n=n.replace(o," ")+" language-"+t).replace(/\s+/g," ").trim()}}()});!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(e,t){return RegExp(e=e.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return o}),t)}o=i(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/i,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx},alias:"language-javascript"}},e.languages.jsx.tag);var a=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(a).join(""):""},u=function(t){for(var n=[],r=0;r<t.length;r++){var o=t[r],i=!1;if("string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===a(o.content[0].content[1])&&n.pop():"/>"===o.content[o.content.length-1].content||n.push({tagName:a(o.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===o.type&&"{"===o.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof o)&&n.length>0&&0===n[n.length-1].openedBraces){var s=a(o);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(s+=a(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(s=a(t[r-1])+s,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",s,null,s)}o.content&&"string"!=typeof o.content&&u(o.content)}};e.hooks.add("after-tokenize",function(e){"jsx"!==e.language&&"tsx"!==e.language||u(e.tokens)})}(Prism),(elo=Prism).languages.typescript=elo.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),elo.languages.typescript.keyword.push(/\b(?:abstract|as|declare|implements|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete elo.languages.typescript.parameter,eli=elo.languages.extend("typescript",{}),delete eli["class-name"],elo.languages.typescript["class-name"].inside=eli,elo.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:eli}}}}),elo.languages.ts=elo.languages.typescript,Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,number:/(?:\b0x[a-f\d]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[-+]?\d+)?)i?/i,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/}),delete Prism.languages.go["class-name"],elu=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,els=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],ell=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,elc=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,elf=/[{}\[\](),:;]/,(ela=Prism).languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:elu,variable:/\$+(?:\w+\b|(?=\{))/i,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:bool|boolean|int|integer|float|string|object|array)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:bool|int|float|string|object|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*[\w|]\|\s*)(?:null|false)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?[\w|]\|\s*)(?:null|false)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:null|false)\b/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|match|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:els,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:ell,operator:elc,punctuation:elf},elp=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:eld={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:ela.languages.php}}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:eld}}],ela.languages.insertBefore("php","variable",{string:elp,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:elu,string:elp,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:els,number:ell,operator:elc,punctuation:elf}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),ela.hooks.add("before-tokenize",function(e){/<\?/.test(e.code)&&ela.languages["markup-templating"].buildPlaceholders(e,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/gi)}),ela.hooks.add("after-tokenize",function(e){ela.languages["markup-templating"].tokenizePlaceholders(e,"php")}),Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:__attribute__|_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete Prism.languages.c.boolean,Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/im,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python,elh=Prism,elg=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,ely={pattern:RegExp((elv=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}},elh.languages.java=elh.languages.extend("clike",{"class-name":[ely,{pattern:RegExp(elv+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:ely.inside}],keyword:elg,function:[elh.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),elh.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"}}),elh.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":ely,keyword:elg,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return elg.source})),lookbehind:!0,inside:{punctuation:/\./}}}),elm=Prism,elb=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char8_t|char16_t|char32_t|class|compl|concept|const|consteval|constexpr|constinit|const_cast|continue|co_await|co_return|co_yield|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,elw=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return elb.source}),elm.languages.cpp=elm.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return elb.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:elb,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:true|false)\b/}),elm.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:module|import)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return elw})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),elm.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:elm.languages.cpp}}}}),elm.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),elm.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:elm.languages.extend("cpp",{})}}),elm.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},elm.languages.cpp["base-clause"]),function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n<t;n++)e=e.replace(/<<self>>/g,function(){return"(?:"+e+")"});return e.replace(/<<self>>/g,"[^\\s\\S]")}var o="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",i="class enum interface record struct",a="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",u="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function s(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var l=s(i),c=RegExp(s(o+" "+i+" "+a+" "+u)),f=s(i+" "+a+" "+u),d=s(o+" "+i+" "+u),p=r(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),h=r(/\((?:[^()]|<<self>>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,v=t(/<<0>>(?:\s*<<1>>)?/.source,[g,p]),y=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[f,v]),m=/\[\s*(?:,\s*)*\]/.source,b=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[y,m]),w=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[p,h,m]),E=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[w]),D=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[E,y,m]),S={keyword:c,punctuation:/[<>()?,.:[\]]/},x=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,C=/"(?:\\.|[^\\"\r\n])*"/.source,O=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[O]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[C]),lookbehind:!0,greedy:!0},{pattern:RegExp(x),greedy:!0,alias:"character"}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[y]),lookbehind:!0,inside:S},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,D]),lookbehind:!0,inside:S},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[l,v]),lookbehind:!0,inside:S},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[y]),lookbehind:!0,inside:S},{pattern:n(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:S},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[D,d,g]),inside:S}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:ul|lu|[dflmu])?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[g]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|typeof|sizeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[h]),lookbehind:!0,alias:"class-name",inside:S},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[D,y]),inside:S,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[D]),lookbehind:!0,inside:S,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,p]),inside:{function:n(/^<<0>>/.source,[g]),generic:{pattern:RegExp(p),alias:"class-name",inside:S}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,v,g,D,c.source,h,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[v,h]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(D),greedy:!0,inside:S},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var A=C+"|"+x,k=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[A]),T=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[k]),2),B=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,F=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[y,T]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[B,F]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[B]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[T]),inside:e.languages.csharp},"class-name":{pattern:RegExp(y),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var _=/:[^}\r\n]+/.source,P=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[k]),2),j=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[P,_]),I=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[A]),2),N=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[I,_]);function R(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,_]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[j]),lookbehind:!0,greedy:!0,inside:R(j,P)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[N]),lookbehind:!0,greedy:!0,inside:R(N,I)}]})}(Prism),Prism.languages.dotnet=Prism.languages.cs=Prism.languages.csharp,Prism.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:[^\S\r\n]_[^\S\r\n]*(?:\r\n?|\n)|.)+/i,alias:"comment",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[^\S\r\n]*(?:\d+([/-])\d+\1\d+(?:[^\S\r\n]+(?:\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?))?|\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?)[^\S\r\n]*#/i,alias:"builtin"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:U?[ILS]|[FRD])?/i,boolean:/\b(?:True|False|Nothing)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Until|Xor)\b/i,operator:[/[+\-*/\\^<=>&#@$%!]/,{pattern:/([^\S\r\n])_(?=[^\S\r\n]*[\r\n])/,lookbehind:!0}],punctuation:/[{}().,:?]/},Prism.languages.vb=Prism.languages["visual-basic"],Prism.languages.vba=Prism.languages["visual-basic"],Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:S|ING)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:TRUE|FALSE|NULL)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|IN|ILIKE|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},(elE=Prism).languages.ruby=elE.languages.extend("clike",{comment:[/#.*/,{pattern:/^=begin\s[\s\S]*?^=end/m,greedy:!0}],"class-name":{pattern:/(\b(?:class)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|protected|private|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/}),elD={pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"tag"},rest:elE.languages.ruby}},delete elE.languages.ruby.function,elE.languages.insertBefore("ruby","keyword",{regex:[{pattern:RegExp(/%r/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:elD}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:elD}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:{pattern:/(^|[^:]):[a-zA-Z_]\w*(?:[?!]|\b)/,lookbehind:!0},"method-definition":{pattern:/(\bdef\s+)[\w.]+/,lookbehind:!0,inside:{function:/\w+$/,rest:elE.languages.ruby}}}),elE.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|Fixnum|Float|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,constant:/\b[A-Z]\w*(?:[?!]|\b)/}),elE.languages.ruby.string=[{pattern:RegExp(/%[qQiIwWxs]?/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"),greedy:!0,inside:{interpolation:elD}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:elD}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?/}},interpolation:elD}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?'|'$/}}}}],elE.languages.rb=elE.languages.ruby,Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:true|false)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:true|false)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=Prism.languages.swift}),function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,a=0;a<o.length;a++)i[o[a]]=e.languages.bash[o[a]];e.languages.shell=e.languages.bash}(Prism),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"font-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+i+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+i+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var o=t[n];if("code"===o.type){var i=o.content[1],a=o.content[3];if(i&&a&&"code-language"===i.type&&"code-block"===a.type&&"string"==typeof i.content){var u=i.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),s="language-"+(u=(/[a-z][\w-]*/i.exec(u)||[""])[0].toLowerCase());a.alias?"string"==typeof a.alias?a.alias=[a.alias,s]:a.alias.push(s):a.alias=[s]}}else e(o.content)}}(e.tokens)}),e.hooks.add("wrap",function(t){if("code-block"===t.type){for(var n="",r=0,o=t.classes.length;r<o;r++){var i=t.classes[r],l=/language-(.+)/.exec(i);if(l){n=l[1];break}}var c=e.languages[n];if(c)t.content=e.highlight(t.content.replace(a,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){return"#"===(t=t.toLowerCase())[0]?s("x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1))):u[t]||e}),c,n);else if(n&&"none"!==n&&e.plugins.autoloader){var f="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=f,e.plugins.autoloader.loadLanguages(n,function(){var t=document.getElementById(f);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))})}}});var a=RegExp(e.languages.markup.tag.pattern.source,"gi"),u={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(Prism),Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/},Prism.languages.groovy=Prism.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:as|def|in|abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),Prism.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),Prism.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:setup|given|when|then|and|cleanup|expect|where):/}),Prism.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),Prism.hooks.add("wrap",function(e){if("groovy"===e.language&&"string"===e.type){var t=e.content[0];if("'"!=t){var n=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===t&&(n=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),e.content=e.content.replace(/</g,"<").replace(/&/g,"&"),e.content=Prism.highlight(e.content,{expression:{pattern:n,lookbehind:!0,inside:Prism.languages.groovy}}),e.classes.push("/"===t?"regex":"gstring")}}});var elo,eli,ela,elu,els,ell,elc,elf,eld,elp,elh,elg,elv,ely,elm,elb,elw,elE,elD,elS,elx=["comment","prolog","doctype","cdata","punctuation","namespace","property","tag","boolean","number","constant","symbol","deleted","selector","attr-name","string","builtin","inserted","operator","entity","url","string","atrule","attr-value","keyword","function","class-name","regex","important","variable","bold","italic","entity","char"],elC=eaP.String,elO=function(e){if("Symbol"===ese(e))throw TypeError("Cannot convert a Symbol value to a string");return elC(e)},elA=function(){var e=eug(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},elk=eaP.RegExp,elT=ea8(function(){var e=elk("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),elB=elT||ea8(function(){return!elk("a","y").sticky}),elF={BROKEN_CARET:elT||ea8(function(){var e=elk("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),MISSED_STICKY:elB,UNSUPPORTED_Y:elT},el_=euu?Object.defineProperties:function(e,t){eug(e);for(var n,r=esR(t),o=es7(t),i=o.length,a=0;i>a;)eu_.f(e,n=o[a++],r[n]);return e},elP=ea0("document","documentElement"),elj=euU("IE_PROTO"),elI=function(){},elN=function(e){return"<script>"+e+"<\/script>"},elR=function(e){e.write(elN("")),e.close();var t=e.parentWindow.Object;return e=null,t},elL=function(){try{elS=new ActiveXObject("htmlfile")}catch(e){}elL="undefined"!=typeof document?document.domain&&elS?elR(elS):((t=euf("iframe")).style.display="none",elP.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(elN("document.F=Object")),e.close(),e.F):elR(elS);for(var e,t,n=esG.length;n--;)delete elL.prototype[esG[n]];return elL()};euV[elj]=!0;var elM,elz,el$=Object.create||function(e,t){var n;return null!==e?(elI.prototype=eug(e),n=new elI,elI.prototype=null,n[elj]=e):n=elL(),void 0===t?n:el_(n,t)},elH=eaP.RegExp,elU=ea8(function(){var e=elH(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),elV=eaP.RegExp,elW=ea8(function(){var e=elV("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),elq=eaR("native-string-replace",String.prototype.replace),elG=RegExp.prototype.exec,elK=elG,elZ=eaH("".charAt),elX=eaH("".indexOf),elY=eaH("".replace),elJ=eaH("".slice),elQ=(elz=/b*/g,euy(elG,elM=/a/,"a"),euy(elG,elz,"a"),0!==elM.lastIndex||0!==elz.lastIndex),el0=elF.BROKEN_CARET,el1=void 0!==/()??/.exec("")[1];(elQ||el1||el0||elU||elW)&&(elK=function(e){var t,n,r,o,i,a,u,s=euJ(this),l=elO(e),c=s.raw;if(c)return c.lastIndex=this.lastIndex,t=euy(elK,c,l),this.lastIndex=c.lastIndex,t;var f=s.groups,d=el0&&this.sticky,p=euy(elA,this),h=this.source,g=0,v=l;if(d&&(-1===elX(p=elY(p,"y",""),"g")&&(p+="g"),v=elJ(l,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==elZ(l,this.lastIndex-1))&&(h="(?: "+h+")",v=" "+v,g++),n=RegExp("^(?:"+h+")",p)),el1&&(n=RegExp("^"+h+"$(?!\\s)",p)),elQ&&(r=this.lastIndex),o=euy(elG,d?n:this,v),d?o?(o.input=elJ(o.input,g),o[0]=elJ(o[0],g),o.index=this.lastIndex,this.lastIndex+=o[0].length):this.lastIndex=0:elQ&&o&&(this.lastIndex=this.global?o.index+o[0].length:r),el1&&o&&o.length>1&&euy(elq,o[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)}),o&&f)for(o.groups=a=el$(null),i=0;i<f.length;i++)a[(u=f[i])[0]]=o[u[1]];return o});var el2=elK;es8({target:"RegExp",proto:!0,forced:/./.exec!==el2},{exec:el2});var el4=Function.prototype,el3=el4.apply,el6=el4.bind,el5=el4.call,el8="object"==typeof Reflect&&Reflect.apply||(el6?el5.bind(el3):function(){return el5.apply(el3,arguments)}),el7=euo("species"),el9=RegExp.prototype,ece=euo("match"),ect=eaP.TypeError,ecn=euo("species"),ecr=eaH("".charAt),eco=eaH("".charCodeAt),eci=eaH("".slice),eca=function(e){return function(t,n){var r,o,i=elO(eaV(t)),a=esd(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=eco(i,a))<55296||r>56319||a+1===u||(o=eco(i,a+1))<56320||o>57343?e?ecr(i,a):r:e?eci(i,a,a+2):o-56320+(r-55296<<10)+65536}},ecu=(eca(!1),eca(!0)),ecs=eaP.Array,ecl=Math.max,ecc=function(e,t,n){for(var r,o,i,a=esg(e),u=esH(t,a),s=esH(void 0===n?a:n,a),l=ecs(ecl(s-u,0)),c=0;u<s;u++,c++)r=c,o=e[u],(i=euT(r))in l?eu_.f(l,i,euP(0,o)):l[i]=o;return l.length=c,l},ecf=eaP.TypeError,ecd=function(e,t){var n=e.exec;if(eaQ(n)){var r=euy(n,e,t);return null!==r&&eug(r),r}if("RegExp"===eu5(e))return euy(el2,e,t);throw ecf("RegExp#exec called on incompatible receiver")},ecp=elF.UNSUPPORTED_Y,ech=Math.min,ecg=[].push,ecv=eaH(/./.exec),ecy=eaH(ecg),ecm=eaH("".slice);!function(e,t,n,r){var o=euo(e),i=!ea8(function(){var t={};return t[o]=function(){return 7},7!=""[e](t)}),a=i&&!ea8(function(){var e=!1,t=/a/;return(t={}).constructor={},t.constructor[el7]=function(){return t},t.flags="",t[o]=/./[o],t.exec=function(){return e=!0,null},t[o](""),!e});if(!i||!a||n){var u,s,l,c=eaH(/./[o]),f=(u=""[e],s=function(e,t,n,r,o){var a=eaH(e),u=t.exec;return u===el2||u===el9.exec?i&&!o?{done:!0,value:c(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}},l="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,t){var n,r=elO(eaV(this)),o=void 0===t?0xffffffff:t>>>0;if(0===o)return[];if(void 0===e)return[r];if(!eus(e)||!(void 0!==(n=e[ece])?n:"RegExp"==eu5(e)))return euy(u,r,e,o);for(var i,a,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,d=RegExp(e.source,c+"g");(i=euy(el2,d,r))&&!((a=d.lastIndex)>f&&(ecy(l,ecm(r,f,i.index)),i.length>1&&i.index<r.length&&el8(ecg,l,ecc(i,1)),s=i[0].length,f=a,l.length>=o));)d.lastIndex===i.index&&d.lastIndex++;return f===r.length?!s&&ecv(d,"")||ecy(l,""):ecy(l,ecm(r,f)),l.length>o?ecc(l,0,o):l}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:euy(u,this,e,t)}:u,[function(e,t){var n=eaV(this),r=null==e?void 0:euC(e,o);return r?euy(r,e,n,t):euy(l,elO(n),e,t)},function(e,t){var n=eug(this),r=elO(e),o=s(l,n,r,t,l!==u);if(o.done)return o.value;var i=(v=RegExp,void 0===(m=eug(n).constructor)||null==(y=eug(m)[ecn])?v:function(e){if(esx(e))return e;throw ect(euD(e)+" is not a constructor")}(y)),a=n.unicode,c=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(ecp?"g":"y"),f=new i(ecp?"^(?:"+n.source+")":n,c),d=void 0===t?0xffffffff:t>>>0;if(0===d)return[];if(0===r.length)return null===ecd(f,r)?[r]:[];for(var p=0,h=0,g=[];h<r.length;){f.lastIndex=ecp?0:h;var v,y,m,b,w,E=ecd(f,ecp?ecm(r,h):r);if(null===E||(w=ech(esh(f.lastIndex+(ecp?h:0)),r.length))===p)h=(b=h)+(a?ecu(r,b).length:1);else{if(ecy(g,ecm(r,p,h)),g.length===d)return g;for(var D=1;D<=E.length-1;D++)if(ecy(g,E[D]),g.length===d)return g;h=p=w}}return ecy(g,ecm(r,p)),g}]);eu4(String.prototype,e,f[0]),eu4(el9,o,f[1])}r&&euj(el9[o],"sham",!0)}("split",0,!!ea8(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),ecp),es8({global:!0},{globalThis:eaP}),c5&&(c2.fn.attr=c5);var ecb=eu2.PROPER,ecw=RegExp.prototype,ecE=ecw.toString,ecD=eaH(elA),ecS=ea8(function(){return"/a/b"!=ecE.call({source:"a",flags:"b"})}),ecx=ecb&&"toString"!=ecE.name;(ecS||ecx)&&eu4(RegExp.prototype,"toString",function(){var e=eug(this),t=elO(e.source),n=e.flags;return"/"+t+"/"+elO(void 0===n&&eum(ecw,e)&&!("flags"in ecw)?ecD(e):n)},{unsafe:!0});var ecC=function(){function e(){this.title=OP("highLightModule.selectLang"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M64 64v896h896V64H64z m487.6 698.8c0 87.2-51.2 127-125.8 127-67.4 0-106.4-34.8-126.4-77l68.6-41.4c13.2 23.4 25.2 43.2 54.2 43.2 27.6 0 45.2-10.8 45.2-53V475.4h84.2v287.4z m199.2 127c-78.2 0-128.8-37.2-153.4-86l68.6-39.6c18 29.4 41.6 51.2 83 51.2 34.8 0 57.2-17.4 57.2-41.6 0-28.8-22.8-39-61.4-56l-21-9c-60.8-25.8-101-58.4-101-127 0-63.2 48.2-111.2 123.2-111.2 53.6 0 92 18.6 119.6 67.4L800 580c-14.4-25.8-30-36-54.2-36-24.6 0-40.2 15.6-40.2 36 0 25.2 15.6 35.4 51.8 51.2l21 9c71.6 30.6 111.8 62 111.8 132.4 0 75.6-59.6 117.2-139.4 117.2z"></path></svg>',this.tag="select",this.width=95,this.selectPanelWidth=115}return e.prototype.getOptions=function(e){var t=[],n=e.getMenuConfig("codeSelectLang").codeLangs;t.push({text:"plain text",value:""}),(void 0===n?[]:n).forEach(function(e){var n=e.text,r=e.value;t.push({text:n,value:r})});var r=this.getValue(e);return t.forEach(function(e){e.value===r?e.selected=!0:delete e.selected}),t},e.prototype.isActive=function(e){return!1},e.prototype.getValue=function(e){var t=this.getSelectCodeElem(e);if(null==t||!lf.isElement(t))return"";var n=t.language.toString(),r=e.getMenuConfig("codeSelectLang").codeLangs;return(void 0===r?[]:r).some(function(e){return e.value===n})?n:""},e.prototype.isDisabled=function(e){return null==e.selection||!this.getSelectCodeElem(e)},e.prototype.exec=function(e,t){if(null!=this.getSelectCodeElem(e)){var n={language:t.toString()};l6.setNodes(e,n,{match:function(e){return Dn.checkNodeType(e,"code")}})}},e.prototype.getSelectCodeElem=function(e){var t=Dn.getSelectedNodeByType(e,"code");if(null==t)return null;var n=Dn.getParentNode(e,t);return lf.isElement(n)?"pre"!==n.type?null:t:null},e}(),ecO={renderStyle:function(e,t){var n,r,o="";return elx.forEach(function(t){e[t]&&(o=t)}),o&&(n=o="token "+o,null==t.data&&(t.data={}),null==(r=t.data).props&&(r.props={}),Object.assign(r.props,{className:n})),t},parseStyleHtml:function(e,t,n){var r=c2(e);if(!lf.isElement(t)||"code"!==Dn.getNodeType(t))return t;var o=r.attr("class")||"";return 0===o.indexOf("language-")?t.language=o.split("-")[1]||"":t.language=o.toLowerCase(),t},menus:[{key:"codeSelectLang",factory:function(){return new ecC},config:{codeLangs:[{text:"CSS",value:"css"},{text:"HTML",value:"html"},{text:"XML",value:"xml"},{text:"Javascript",value:"javascript"},{text:"Typescript",value:"typescript"},{text:"JSX",value:"jsx"},{text:"Go",value:"go"},{text:"PHP",value:"php"},{text:"C",value:"c"},{text:"Python",value:"python"},{text:"Java",value:"java"},{text:"C++",value:"cpp"},{text:"C#",value:"csharp"},{text:"Visual Basic",value:"visual-basic"},{text:"SQL",value:"sql"},{text:"Ruby",value:"ruby"},{text:"Swift",value:"swift"},{text:"Bash",value:"bash"},{text:"Lua",value:"lua"},{text:"Groovy",value:"groovy"},{text:"Markdown",value:"markdown"}]}}],elemsToHtml:[{type:"code",elemToHtml:function(e,t){var n=e.language,r=void 0===n?"":n;return"<code "+(r?'class="language-'+r+'"':"")+">"+t+"</code>"}}]},ecA=/"/g,eck=eaH("".replace);es8({target:"String",proto:!0,forced:ea8(function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3})},{anchor:function(e){var t,n;return t=elO(eaV(this)),'<a name="'+eck(elO(e),ecA,""")+'">'+t+"</a>"}});var ecT=function(e){var t,n,r,o=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}(e,2),i=o[0],a=o[1],u=[],s=function(e){if(!l$.isText(e))return null;var t=Dn.getParentNode(null,e);if(t&&"code"===Dn.getNodeType(t)){var n=Dn.getParentNode(null,t);if(n&&"pre"===Dn.getNodeType(n))return t}return null}(i);if(null==s)return u;var l=s.language,c=void 0===l?"":l;if(!c)return u;var f=function(e,t){if(!t)return[];var n=elr.languages[t];return n?elr.tokenize(e.text,n):[]}(i,c),d=0;try{for(var p=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(f),h=p.next();!h.done;h=p.next()){var g=h.value,v=d+function e(t){return"string"==typeof t?t.length:"string"==typeof t.content?t.content.length:t.content.reduce(function(t,n){return t+e(n)},0)}(g);"string"!=typeof g&&u.push(((r={})[g.type]=!0,r.anchor={path:a,offset:d},r.focus={path:a,offset:v},r)),d=v}}catch(e){t={error:e}}finally{try{h&&!h.done&&(n=p.return)&&n.call(p)}finally{if(t)throw t.error}}return u},ecB=function(){return(ecB=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},ecF=function(){function e(){throw Error("不能实例化\nCan not construct a instance")}return e.setEditorConfig=function(e){void 0===e&&(e={}),this.editorConfig=ecB(ecB({},this.editorConfig),e)},e.setSimpleEditorConfig=function(e){void 0===e&&(e={}),this.simpleEditorConfig=ecB(ecB({},this.simpleEditorConfig),e)},e.setToolbarConfig=function(e){void 0===e&&(e={}),this.toolbarConfig=ecB(ecB({},this.toolbarConfig),e)},e.setSimpleToolbarConfig=function(e){void 0===e&&(e={}),this.simpleToolbarConfig=ecB(ecB({},this.simpleToolbarConfig),e)},e.registerPlugin=function(e){this.plugins.push(e)},e.registerMenu=function(e,t){!function(e,t){var n=e.key,r=e.factory,o=e.config,i=wF(wF({},o),t||{});if(null!=Di[n])throw Error("Duplicated key '"+n+"' in menu items");Di[n]=r,null!=i&&(Do[n]=i)}(e,t)},e.registerRenderElem=function(e){var t,n;t=e.type,n=e.renderElem,Ce[t||""]=n},e.registerRenderStyle=function(e){x9.push(e)},e.registerElemToHtml=function(e){var t,n;t=e.type,n=e.elemToHtml,Dy[t||""]=n},e.registerStyleToHtml=function(e){Dv.push(e)},e.registerPreParseHtml=function(e){Sq.push(e)},e.registerParseElemHtml=function(e){var t,n;t=e.selector,n=e.parseElemHtml,SK[t]=n},e.registerParseStyleHtml=function(e){SG.push(e)},e.registerModule=function(e){ec_(e)},e.editorConfig={},e.simpleEditorConfig={},e.toolbarConfig={},e.simpleToolbarConfig={},e.plugins=[],e}();function ec_(e){var t=e.menus,n=e.renderElems,r=e.renderStyle,o=e.elemsToHtml,i=e.styleToHtml,a=e.preParseHtml,u=e.parseElemsHtml,s=e.parseStyleHtml,l=e.editorPlugin;t&&t.forEach(function(e){return ecF.registerMenu(e)}),n&&n.forEach(function(e){return ecF.registerRenderElem(e)}),r&&ecF.registerRenderStyle(r),o&&o.forEach(function(e){return ecF.registerElemToHtml(e)}),i&&ecF.registerStyleToHtml(i),a&&a.forEach(function(e){return ecF.registerPreParseHtml(e)}),u&&u.forEach(function(e){return ecF.registerParseElemHtml(e)}),s&&ecF.registerParseStyleHtml(s),l&&ecF.registerPlugin(l)}RE.forEach(function(e){return ec_(e)}),ec_({renderElems:[{type:"list-item",renderElem:function(e,t,n){$T.set(e,n);var r=e.level,o=void 0===r?0:r,i=e.ordered,a="";a=void 0!==i&&i?function(e,t){var n=t.type,r=t.level,o=void 0===r?0:r,i=t.ordered,a=void 0!==i&&i;if(!a)return -1;var u=1,s=t,l=Dn.findPath(e,s);if(0===l[0])return 1;for(;l[0]>0;){var c=lO.previous(l),f=ly.node(e,c);if(null==f)break;var d=f[0],p=d.level,h=void 0===p?0:p,g=d.type,v=d.ordered;if(g!==n||h<o)break;if(h===o){if(v!==a)break;u++}s=d,l=c}return u}(n,e)+".":function(e){void 0===e&&(e=0);var t="";switch(e){case 0:t="•";break;case 1:t="◦";break;default:t="▪"}return t}(o);var u=function(e){var t,n=e.children||[],r=n.length;if(0===r)return"";for(var o=0;o<r&&!t;o++){var i=n[o];l$.isText(i)&&(t=i)}return null==t?"":t.color||""}(e);return dw("div",{style:{margin:"5px 0 5px "+20*o+"px"}},dw("span",{contentEditable:!1,style:{marginRight:"0.5em",color:u},"data-w-e-reserve":!0},a),dw("span",null,t))}}],editorPlugin:function(e){var t=e.deleteBackward,n=e.handleTab,r=e.normalizeNode;return e.deleteBackward=function(n){var r=e.selection;if(null!=r)if(lj.isExpanded(r))t(n);else{var o=Dn.getSelectedNodeByType(e,"list-item");if(null!=o)if(0!==r.focus.offset)t(n);else{var i=o.level,a=void 0===i?0:i;a>0?l6.setNodes(e,{level:a-1}):l6.setNodes(e,{type:"paragraph",ordered:void 0,level:void 0})}else t(n)}else t(n)},e.handleTab=function(){var t,r,o,i,a=e.selection;if(null!=a){if(lj.isCollapsed(a)){var u=Dn.getSelectedNodeByType(e,"list-item");if(null==u)return void n();if(0===a.focus.offset){var s=u.level,l=void 0===s?0:s;return void l6.setNodes(e,{level:l+1})}}if(lj.isExpanded(a)){var c=0,f=!1;try{for(var d=$_($j(e)),p=d.next();!p.done;p=d.next()){var h=$P(p.value,1)[0];"list-item"===Dn.getNodeType(h)?c++:f=!0}}catch(e){t={error:e}}finally{try{p&&!p.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}if(f||c<=1)return void n();try{for(var g=$_($j(e)),v=g.next();!v.done;v=g.next()){var y=$P(v.value,2),m=(h=y[0],y[1]),b=h.level;l=void 0===b?0:b,l6.setNodes(e,{level:l+1},{at:m})}}catch(e){o={error:e}}finally{try{v&&!v.done&&(i=g.return)&&i.call(g)}finally{if(o)throw o.error}}}else n()}else n()},e.normalizeNode=function(t){var n=$P(t,2),o=n[0],i=n[1],a=Dn.getNodeType(o);return"bulleted-list"!==a&&"numbered-list"!==a||l6.unwrapNodes(e,{at:i}),r([o,i])},e},menus:[{key:"bulletedList",factory:function(){return new $6}},{key:"numberedList",factory:function(){return new $5}}],elemsToHtml:[{type:"list-item",elemToHtml:function(e,t){var n="",r="",o=e.ordered,i=void 0!==o&&o?"ol":"ul",a=function(e){var t=$T.get(e);if(null==t)return 0;var n=e.type,r=e.ordered,o=e.level,i=void 0===o?0:o,a=Dn.findPath(t,e);if(0===a[0])return i+1;var u=lO.previous(a),s=ly.node(t,u);if(!s)return 0;var l=$P(s,1)[0];if(Dn.getNodeType(l)!==n)return i+1;var c=l.ordered,f=l.level,d=void 0===f?0:f;return d<i?i-d:d>i?0:d===i?+((void 0!==c&&c)!==(void 0!==r&&r)):0}(e);if(a>0)for(var u=0;u<a;u++)n+="<"+i+">",$8.push(i);var s=function(e){var t=$T.get(e);if(null==t)return 0;var n=e.type,r=e.ordered,o=e.level,i=void 0===o?0:o,a=Dn.findPath(t,e);if(a[0]===t.children.length-1)return i+1;var u=lO.next(a),s=ly.node(t,u);if(!s)return 0;var l=$P(s,1)[0];if(Dn.getNodeType(l)!==n)return i+1;var c=l.ordered,f=l.level,d=void 0===f?0:f;return d<i?i-d:d>i?0:d===i?+((void 0!==c&&c)!==(void 0!==r&&r)):0}(e);if(s>0)for(u=0;u<s;u++)r+="</"+$8.pop()+">";return{html:"<li>"+t+"</li>",prefix:n,suffix:r}}}],parseElemsHtml:[{selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(e,t,n){return t.flat(1/0)}},{selector:"li:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=c2(e);return 0===(t=t.filter(function(e){return!!l$.isText(e)||!!n.isInline(e)})).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"list-item",ordered:"ol"===HA(r.parent()),level:function(e){for(var t=0,n=e.parent(),r=HA(n);"ul"===r||"ol"===r;)r=HA(n=n.parent()),t++;return t-1}(r),children:t}}}]}),ec_({renderElems:[{type:"table",renderElem:function(e,t,n){var r=function(e,t){if(e.isDisabled())return!1;var n=e.selection;if(null==n||lj.isCollapsed(n))return!0;var r=n.anchor,o=n.focus,i=Dn.findPath(e,t),a=ly.start(e,i),u=ly.end(e,i),s=0>=lB.compare(r,u)&&lB.compare(r,a)>=0,l=0>=lB.compare(o,u)&&lB.compare(o,a)>=0;return!!(s&&l&&lO.equals(r.path.slice(0,3),o.path.slice(0,3)))}(n,e),o=e.width;return dw("div",{className:"table-container","data-selected":Dn.isNodeSelected(n,e),on:{mousedown:function(t){if("DIV"===t.target.tagName&&t.preventDefault(),!n.isDisabled()){var r=Dn.findPath(n,e),o=ly.start(n,r),i=n.selection;null!=i?i.anchor.path[0]!==r[0]&&n.select(o):n.select(o)}}}},dw("table",{width:void 0===o?"auto":o,contentEditable:r},dw("colgroup",null,WM(e).map(function(e){var t=e.width;return dw("col",{width:void 0===t?"auto":t})})),dw("tbody",null,t)))}},{type:"table-row",renderElem:function(e,t,n){return dw("tr",null,t)}},{type:"table-cell",renderElem:function(e,t,n){var r=function(e,t){var n=Dn.getParentNode(e,t);if(null==n)return!1;var r=Dn.getParentNode(e,n);return null!=r&&WM(r).some(function(e){return e===t})}(n,e),o=e.colSpan,i=void 0===o?1:o,a=e.rowSpan,u=void 0===a?1:a,s=e.isHeader;return r?dw(void 0!==s&&s?"th":"td",{colSpan:i,rowSpan:u,style:{borderRightWidth:"3px"},on:{mousemove:f4(function(t){var r=this.elm;if(null!=r){var o=r.getBoundingClientRect(),i=o.left,a=o.width,u=o.top,s=o.height,l=t.clientX,c=t.clientY;qC||(l>i+a-5&&l<i+a&&c>u&&c<u+s?(r.style.cursor="col-resize",qT=n,qk=Dn.findPath(n,e)):qC||(r.style.cursor="auto",qT=null,qk=null))}},100)}},t):dw("td",{colSpan:i,rowSpan:u},t)}}],elemsToHtml:[{type:"table",elemToHtml:function(e,t){var n=e.width;return'<table style="width: '+(void 0===n?"auto":n)+';"><tbody>'+t+"</tbody></table>"}},{type:"table-row",elemToHtml:function(e,t){return"<tr>"+t+"</tr>"}},{type:"table-cell",elemToHtml:function(e,t){var n=e.colSpan,r=e.rowSpan,o=e.isHeader,i=e.width,a=void 0!==o&&o?"th":"td";return"<"+a+' colSpan="'+(void 0===n?1:n)+'" rowSpan="'+(void 0===r?1:r)+'" width="'+(void 0===i?"auto":i)+'">'+t+"</"+a+">"}}],preParseHtml:[{selector:"table",preParseHtml:function(e){var t=c2(e);if("table"!==qx(t))return e;var n=t.find("tbody");if(0===n.length)return e;var r=t.find("tr");return t.append(r),n.remove(),t[0]}}],parseElemsHtml:[{selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=c2(e);0===(t=t.filter(function(e){return!!l$.isText(e)||!!n.isInline(e)})).length&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var o=parseInt(r.attr("colSpan")||"1"),i=parseInt(r.attr("rowSpan")||"1"),a=r.attr("width")||"auto";return{type:"table-cell",isHeader:"th"===qx(r),colSpan:o,rowSpan:i,width:a,children:t}}},{selector:"tr:not([data-w-e-type])",parseElemHtml:function(e,t,n){return{type:"table-row",children:t.filter(function(e){return"table-cell"===Dn.getNodeType(e)})}}},{selector:"table:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=c2(e),o="auto";return"100%"===function(e,t){for(var n="",r=(e.attr("style")||"").split(";"),o=r.length,i=0;i<o;i++){var a=r[i];if(a){var u=a.split(":");"width"===u[0].trim()&&(n=u[1].trim())}}return n}(r)&&(o="100%"),"100%"===r.attr("width")&&(o="100%"),{type:"table",width:o,children:t.filter(function(e){return"table-row"===Dn.getNodeType(e)})}}}],menus:[{key:"insertTable",factory:function(){return new qX}},{key:"deleteTable",factory:function(){return new qY}},{key:"insertTableRow",factory:function(){return new qJ}},{key:"deleteTableRow",factory:function(){return new qQ}},{key:"insertTableCol",factory:function(){return new q7}},{key:"deleteTableCol",factory:function(){return new q9}},{key:"tableHeader",factory:function(){return new Ge}},{key:"tableFullWidth",factory:function(){return new Gt}}],editorPlugin:function(e){var t=e.insertBreak,n=e.deleteBackward,r=e.deleteForward,o=e.normalizeNode,i=e.insertData,a=e.handleTab,u=e.selectAll;return e.insertBreak=function(){null==Dn.getSelectedNodeByType(e,"table")?t():e.insertText("\n")},e.deleteBackward=function(t){if(!WT(e)){var r=e.selection;if(r){var o=ly.before(e,r);if(o){var i=WB(e,o),a=WB(e,r);if(i&&!a)return}}n(t)}},e.handleTab=function(){var t;if(Dn.getSelectedNodeByType(e,"table")){var n=ly.above(e);Dn.checkNodeType(n[0],"table-cell")&&l6.select(e,n[1]);var r=ly.next(e);if(r)r[0]&&r[0].text&&(r=null!=(t=ly.above(e,{at:r[1]}))?t:r),l6.select(e,r[1]);else{var o=e.children||[],i=o.length;if(Dn.checkNodeType(o[i-1],"table")){var u=Dn.genEmptyParagraph();l6.insertNodes(e,u,{at:[i]}),e.handleTab()}}}else a()},e.deleteForward=function(t){WT(e)||r(t)},e.normalizeNode=function(t){var n=Wk(t,2),r=n[0],i=n[1];if("table"!==Dn.getNodeType(r))return o([r,i]);if(Dn.isLastNode(e,r)){var a=Dn.genEmptyParagraph();l6.insertNodes(e,a,{at:[i[0]+1]})}},e.insertData=function(t){if(null!=Dn.getSelectedNodeByType(e,"table")){var n=t.getData("text/plain");"\n"===n||/<img[^>]+>/.test(t.getData("text/html"))?i(t):ly.insertText(e,n)}else i(t)},e.selectAll=function(){var t=e.selection;if(null!=t){var n=Dn.getSelectedNodeByType(e,"table-cell");if(null!=n){var r=t.anchor,o=t.focus;if(lO.equals(r.path.slice(0,3),o.path.slice(0,3)))if(0!==lD.string(n).length){var i=Dn.findPath(e,n),a={anchor:ly.start(e,i),focus:ly.end(e,i)};e.select(a)}else u();else u()}else u()}else u()},e}}),ec_({renderElems:[{type:"video",renderElem:function(e,t,n){var r,o=e.src,i=void 0===o?"":o,a=e.poster,u=e.width,s=void 0===u?"auto":u,l=e.height,c=void 0===l?"auto":l,f=Dn.isNodeSelected(n,e);if(0===i.trim().indexOf("<iframe "))r=dw("div",{className:"w-e-textarea-video-container","data-selected":f?"true":"",innerHTML:Zj(i,s,c)});else{var d=dw("video",{poster:void 0===a?"":a,controls:!0},dw("source",{src:i,type:"video/mp4"}),"Sorry, your browser doesn't support embedded videos.\n 抱歉,浏览器不支持 video 视频");"auto"!==s&&(d.data.width=s),"auto"!==c&&(d.data.height=c),r=dw("div",{className:"w-e-textarea-video-container","data-selected":f?"true":""},d)}return dr("div",{props:{contentEditable:!1},on:{mousedown:function(e){return e.preventDefault()}}},r)}}],elemsToHtml:[{type:"video",elemToHtml:function(e,t){var n=e.src,r=void 0===n?"":n,o=e.poster,i=e.width,a=void 0===i?"auto":i,u=e.height,s=void 0===u?"auto":u,l='<div data-w-e-type="video" data-w-e-is-void>\n';return 0===r.trim().indexOf("<iframe ")?l+=Zj(r,a,s):l+='<video poster="'+(void 0===o?"":o)+'" controls="true" width="'+a+'" height="'+s+'"><source src="'+r+'" type="video/mp4"/></video>',l+"\n</div>"}}],preParseHtml:[{selector:"iframe,video,p",preParseHtml:function(e){var t=c2(e),n=t;if("p"===ZP(t)){var r=t.children();if(1===r.length){var o=r[0];["iframe","video"].includes(o.tagName.toLowerCase())&&(n=c2(o))}}var i=ZP(n);if("iframe"!==i&&"video"!==i||"video"===n.parent().attr("data-w-e-type"))return n[0];var a=c2('<div data-w-e-type="video" data-w-e-is-void></div>');return a.append(n),a[0]}}],parseElemsHtml:[{selector:'div[data-w-e-type="video"]',parseElemHtml:function(e,t,n){var r=c2(e),o="",i="",a="auto",u="auto",s=r.find("iframe");if(s.length>0)return a=s.attr("width")||"auto",u=s.attr("height")||"auto",Xo(o=s[0].outerHTML,i,a,u);var l=r.find("video");return(o=l.attr("src")||"")||l.length>0&&(o=l.find("source").attr("src")||""),a=l.attr("width")||"auto",u=l.attr("height")||"auto",Xo(o,i=l.attr("poster")||"",a,u)}}],menus:[{key:"insertVideo",factory:function(){return new JI},config:{onInsertedVideo:function(e){},checkVideo:function(e,t){return!0},parseVideoSrc:function(e){return e}}},{key:"uploadVideo",factory:function(){return new QY},config:{server:"",fieldName:"wangeditor-uploaded-video",maxFileSize:0xa00000,maxNumberOfFiles:5,allowedFileTypes:["video/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:3e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'"+e.name+"' upload failed",t)},onError:function(e,t,n){console.error("'"+e.name+" upload error",t,n)}}},{key:"editVideoSize",factory:function(){return new Q6}}],editorPlugin:function(e){var t=e.isVoid,n=e.normalizeNode;return e.isVoid=function(e){return"video"===e.type||t(e)},e.normalizeNode=function(t){var r=Gi(t,2),o=r[0],i=r[1];return"video"===Dn.getNodeType(o)&&Dn.isLastNode(e,o)&&l6.insertNodes(e,Dn.genEmptyParagraph(),{at:[i[0]+1]}),n([o,i])},e}}),ec_({menus:[{key:"uploadImage",factory:function(){return new eaC},config:{server:"",fieldName:"wangeditor-uploaded-image",maxFileSize:2097152,maxNumberOfFiles:100,allowedFileTypes:["image/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:1e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'"+e.name+"' upload failed",t)},onError:function(e,t,n){console.error("'"+e.name+"' upload error",n)},base64LimitSize:0}}],editorPlugin:function(e){var t=e.insertData;return e.insertData=function(n){if(_$(e))t(n);else if(n.getData("text/plain"))t(n);else{var r=n.files;r.length<=0?t(n):Array.prototype.slice.call(r).some(function(e){return"image"===function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}(e.type.split("/"),1)[0]})?eaE(e,r):t(n)}},e}}),ec_(ecO);var ecP='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>',ecj={link:{menuKeys:["editLink","unLink","viewLink"]},image:{menuKeys:["imageWidth30","imageWidth50","imageWidth100","editImage","viewImageLink","deleteImage"]},pre:{menuKeys:["enter","codeBlock","codeSelectLang"]},table:{menuKeys:["enter","tableHeader","tableFullWidth","insertTableRow","deleteTableRow","insertTableCol","deleteTableCol","deleteTable"]},divider:{menuKeys:["enter"]},video:{menuKeys:["enter","editVideoSize"]}},ecI={hoverbarKeys:ecB(ecB({},ecj),{text:{menuKeys:["headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})};ecF.setEditorConfig(ecB(ecB({},ecI),{decorate:ecT})),ecF.setSimpleEditorConfig(ecB(ecB({},{hoverbarKeys:ecj}),{decorate:ecT}));var ecN={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:OP("editor.more"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M204.8 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M505.6 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M806.4 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path></svg>',menuKeys:["through","code","sup","sub","clearStyle"]},"color","bgColor","|","fontSize","fontFamily","lineHeight","|","bulletedList","numberedList","todo",{key:"group-justify",title:OP("editor.justify"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',menuKeys:["justifyLeft","justifyRight","justifyCenter","justifyJustify"]},{key:"group-indent",title:OP("editor.indent"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',menuKeys:["indent","delIndent"]},"|","emotion","insertLink",{key:"group-image",title:OP("editor.image"),iconSvg:ecP,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:OP("editor.video"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',menuKeys:["insertVideo","uploadVideo"]},"insertTable","codeBlock","divider","|","undo","redo","|","fullScreen"]};ecF.setToolbarConfig(ecN);var ecR={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:OP("editor.image"),iconSvg:ecP,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};function ecL(e){void 0===e&&(e={});var t=e.selector,n=e.content,r=e.html,o=e.config,i=void 0===o?{}:o,a=e.mode,u="simple"===(void 0===a?"default":a)?ecF.simpleEditorConfig:ecF.editorConfig,s=ecB(ecB({},u.hoverbarKeys||{}),i.hoverbarKeys||{});return function(e){var t,n,r,o,i,a,u,s,l,c,f,d,p,h,g,v,y,m,b,w=e.selector,E=void 0===w?"":w,D=e.config,S=e.content,x=e.html,C=e.plugins,O=(e=>{var{apply:t}=e;return e.history={undos:[],redos:[]},e.redo=()=>{var{history:t}=e,{redos:n}=t;if(n.length>0){var r=n[n.length-1];mm.withoutSaving(e,()=>{ly.withoutNormalizing(e,()=>{for(var t of r)e.apply(t)})}),t.redos.pop(),t.undos.push(r)}},e.undo=()=>{var{history:t}=e,{undos:n}=t;if(n.length>0){var r=n[n.length-1];mm.withoutSaving(e,()=>{ly.withoutNormalizing(e,()=>{for(var t of r.map(lC.inverse).reverse())e.apply(t)})}),t.redos.push(r),t.undos.pop()}},e.apply=n=>{var{operations:r,history:o}=e,{undos:i}=o,a=i[i.length-1],u=a&&a[a.length-1],s=!(!u||"set_selection"!==n.type||"set_selection"!==u.type),l=mm.isSaving(e),c=mm.isMerging(e);if(null==l&&(l="set_selection"!==n.type||null!=n.properties&&null!=n.newProperties),l){if(null==c&&(c=null!=a&&(0!==r.length||"set_selection"===n.type||!(!u||"insert_text"!==n.type||"insert_text"!==u.type||n.offset!==u.offset+u.text.length||!lO.equals(n.path,u.path))||!(!u||"remove_text"!==n.type||"remove_text"!==u.type||n.offset+n.text.length!==u.offset||!lO.equals(n.path,u.path))||s)),a&&c)s&&a.pop(),a.push(n);else{var f=[n];i.push(f)}for(;i.length>100;)i.shift();"set_selection"!==n.type&&(o.redos=[])}t(n)},e})((f=(((o=(((t=xw(sq())).id="wangEditor-"+Dr++,t.isDestroyed=!1,t.isFullScreen=!1,t.focus=function(e){if(Dn.toDOMNode(t,t).focus({preventScroll:!0}),E$.set(t,!0),e){var n=ly.end(t,[]);l6.select(t,n)}else{var r=EH.get(t);r?l6.select(t,r):l6.select(t,ly.start(t,[]))}},t.isFocused=function(){return!!E$.get(t)},t.blur=function(){Dn.toDOMNode(t,t).blur(),l6.deselect(t),E$.set(t,!1)},t.updateView=function(){Dn.getTextarea(t).changeViewState();var e=Dn.getToolbar(t);e&&e.changeToolbarState();var n=Dn.getHoverbar(t);n&&n.changeHoverbarState()},t.destroy=function(){if(!t.isDestroyed){var e=Dn.getTextarea(t);e.destroy(),Ew.delete(t),EE.delete(e);var n=Dn.getToolbar(t);n&&(n.destroy(),ES.delete(t),ED.delete(n));var r=Dn.getHoverbar(t);r&&(r.destroy(),EC.delete(t),Ex.delete(r)),t.isDestroyed=!0,t.emit("destroyed")}},t.scrollToElem=function(e){if(!t.getConfig().scroll){var n="编辑器禁用了 scroll ,编辑器内容无法滚动,请自行实现该功能";return void console.warn(n+="\nYou has disabled editor scroll, please do this yourself")}var r=c2("#"+e);if(0!==r.length){var o=r[0];if(!Dn.hasDOMNode(t,o))return void console.error(n="Element (found by id is '"+e+"') is not in editor DOM"+("\n 通过 id '"+e)+"' 找到的 element 不在 editor DOM 之内",o);var i=Dn.getTextarea(t),a=i.$textAreaContainer,u=i.$scroll,s=r.offset().top,l=a.offset().top;u[0].scrollBy({top:s-l,behavior:"smooth"})}},t.showProgressBar=function(e){e<1||Dn.getTextarea(t).changeProgress(e)},t.hidePanelOrModal=function(){var e=EA.get(t);null!=e&&e.forEach(function(e){return e.hide()})},t.enable=function(){t.getConfig().readOnly=!1,t.updateView()},t.disable=function(){t.getConfig().readOnly=!0,t.updateView()},t.isDisabled=function(){return t.getConfig().readOnly},t.toDOMNode=function(e){return Dn.toDOMNode(t,e)},t.fullScreen=function(){if(!t.isFullScreen){var e=null,n=Dn.getToolbar(t);n&&(e=n.$box);var r=Dn.getTextarea(t).$box.parent();if(e&&e.parent()[0]!==r[0])throw Error("Can not set full screen, cause toolbar DOM parent is not equal to textarea DOM parent\n不能设置全屏,因为 toolbar DOM 父节点和 textarea DOM 父节点不一致");r.addClass("w-e-full-screen-container");var o=r.css("z-index");r.attr("data-z-index",o.toString()),t.isFullScreen=!0,t.emit("fullScreen")}},t.unFullScreen=function(){if(t.isFullScreen){var e=Dn.getTextarea(t).$box.parent();setTimeout(function(){e.removeClass("w-e-full-screen-container"),t.isFullScreen=!1,t.emit("unFullScreen")},200)}},t.getEditableContainer=function(){return Dn.getTextarea(t).$textAreaContainer[0]},n=t).getAllMenuKeys=function(){var e=[];for(var t in Di)e.push(t);return e},n.getConfig=function(){var e=ET.get(n);if(null==e)throw Error("Can not get editor config");return e},n.getMenuConfig=function(e){var t=n.getConfig().MENU_CONF;return(void 0===t?{}:t)[e]||{}},n.alert=function(e,t){void 0===t&&(t="info");var r=n.getConfig().customAlert;r&&r(e,t)},r=n).onChange,i=r.insertText,a=r.apply,u=r.deleteBackward,r.insertText=function(e){r.getConfig().readOnly||i(e)},r.apply=function(e){var t,n,o,i,u,s,l,c,f=[];switch(e.type){case"insert_text":case"remove_text":case"set_node":try{for(var d=w_(ly.levels(r,{at:e.path})),p=d.next();!p.done;p=d.next()){var h=wP(p.value,2),g=h[0],v=h[1],y=Dn.findKey(r,g);f.push([v,y])}}catch(e){t={error:e}}finally{try{p&&!p.done&&(n=d.return)&&n.call(d)}finally{if(t)throw t.error}}break;case"insert_node":case"remove_node":case"merge_node":case"split_node":try{for(var m=w_(ly.levels(r,{at:lO.parent(e.path)})),b=m.next();!b.done;b=m.next()){var w=wP(b.value,2);g=w[0],v=w[1],y=Dn.findKey(r,g),f.push([v,y])}}catch(e){o={error:e}}finally{try{b&&!b.done&&(i=m.return)&&i.call(m)}finally{if(o)throw o.error}}break;case"move_node":try{for(var E=w_(ly.levels(r,{at:lO.common(lO.parent(e.path),lO.parent(e.newPath))})),D=E.next();!D.done;D=E.next()){var S=wP(D.value,2);g=S[0],v=S[1],y=Dn.findKey(r,g),f.push([v,y])}}catch(e){u={error:e}}finally{try{D&&!D.done&&(s=E.return)&&s.call(E)}finally{if(u)throw u.error}}}a(e);try{for(var x=w_(f),C=x.next();!C.done;C=x.next()){var O=wP(C.value,2);v=O[0],y=O[1],g=wP(ly.node(r,v),1)[0],EM.set(g,y)}}catch(e){l={error:e}}finally{try{C&&!C.done&&(c=x.return)&&c.call(x)}finally{if(l)throw l.error}}},r.deleteBackward=function(e){if("line"!==e)return u(e);if(r.selection&&lj.isCollapsed(r.selection)){var t=ly.above(r,{match:function(e){return ly.isBlock(r,e)},at:r.selection});if(t){var n=wP(t,2)[1],o=ly.range(r,n,r.selection.anchor),i=function(e,t){var n=ly.range(e,lj.end(t)),r=Array.from(ly.positions(e,{at:t})),o=0,i=r.length,a=Math.floor(i/2);if(SV(e,ly.range(e,r[o]),n))return ly.range(e,r[o],n);if(r.length<2)return ly.range(e,r[r.length-1],n);for(;a!==r.length&&a!==o;)SV(e,ly.range(e,r[a]),n)?i=a:o=a,a=Math.floor((o+i)/2);return ly.range(e,r[i],n)}(r,o);lj.isCollapsed(i)||l6.delete(r,{at:i})}}},r.onChange=function(){var e=r.selection;null!=e&&EH.set(r,e),r.emit("change"),o()},r.handleTab=function(){r.insertText(" ")},r.getHtml=function(){var e=r.children;return(void 0===e?[]:e).map(function(e){return function e(t,n){return lf.isElement(t)?function(t,n){var r=t.type,o=t.children,i=ly.isVoid(n,t),a="";i||(a=(void 0===o?[]:o).map(function(t){return e(t,n)}).join(""));var u=(Dy[void 0===r?"":r]||function(e,t,n){var r=n.isInline(e)?"span":"div";return"<"+r+">"+t+"</"+r+">"})(t,a,n),s="";if(s="string"==typeof u?u:u.html||"",i||Dv.forEach(function(e){return s=e(t,s)}),"string"==typeof u)return s;var l=u.prefix,c=void 0===l?"":l,f=u.suffix,d=void 0===f?"":f;return c&&(s=c+s),d&&(s+=d),s}(t,n):function(e,t){var n=e.text;if(null==n)throw Error("Current node is not slate Text "+JSON.stringify(e));var r=n;r=r.replace(/ {2}/g," ").replace(/</g,"<").replace(/>/g,">").replace(/®/g,"®").replace(/©/g,"©").replace(/™/g,"™");var o=Dn.getParentsNodes(t,e).some(function(e){return"pre"===Dn.getNodeType(e)});if(o||(r=r.replace(/\r\n|\r|\n/g,"<br>")),o&&(r=r.replace(/ /g," ")),""===r){var i=Dn.getParentNode(null,e);if(!i||0!==i.children.length)return r;r="<br>"}return Dv.forEach(function(t){return r=t(e,r)}),r}(t,n)}(e,r)}).join("")},r.getText=function(){var e=r.children;return(void 0===e?[]:e).map(function(e){return lD.string(e)}).join("\n")},r.getSelectionText=function(){var e=r.selection;return null==e?"":ly.string(r,e)},r.getElemsByType=function(e,t){void 0===t&&(t=!1);var n,o,i=[],a=ly.nodes(r,{at:[],universal:!0});try{for(var u=w_(a),s=u.next();!s.done;s=u.next()){var l=wP(s.value,1)[0];if(lf.isElement(l)&&(t?l.type.indexOf(e)>=0:l.type===e)){var c=SH(Dn.findKey(r,l).id);i.push(wF(wF({},l),{id:c}))}}}catch(e){n={error:e}}finally{try{s&&!s.done&&(o=u.return)&&o.call(u)}finally{if(n)throw n.error}}return i},r.getElemsByTypePrefix=function(e){return r.getElemsByType(e,!0)},r.isEmpty=function(){var e=r.children,t=void 0===e?[]:e;if(t.length>1)return!1;var n=t[0];if(null==n)return!0;if(lf.isElement(n)&&"paragraph"===n.type){var o=n.children,i=void 0===o?[]:o;if(i.length>1)return!1;var a=i[0];if(null==a||l$.isText(a)&&""===a.text)return!0}return!1},r.clear=function(){l6.delete(r,{at:{anchor:ly.start(r,[]),focus:ly.end(r,[])}}),0===r.children.length&&l6.insertNodes(r,[{type:"paragraph",children:[{text:""}]}])},r.getParentNode=function(e){return Dn.getParentNode(r,e)},r.dangerouslyInsertHtml=function(e,t){if(void 0===e&&(e=""),void 0===t&&(t=!1),e){var n=document.createElement("div");n.innerHTML=e;var o=Array.from(n.childNodes);if(0!==(o=o.filter(function(e){var t=e.nodeType,n=e.nodeName;return t===EK.TEXT_NODE||t===EK.ELEMENT_NODE&&!xm.has(n.toLowerCase())})).length){var i=r.selection;if(null!=i){var a=null;Dn.isSelectedEmptyParagraph(r)&&!t&&(a=[i.focus.path[0]]),n.setAttribute("hidden","true"),document.body.appendChild(n);var u=0;o.forEach(function(e){var t=e.nodeType,n=e.nodeName,o=e.textContent,i=void 0===o?"":o;if(t!==EK.TEXT_NODE)if("BR"!==n){var a=!1;if(SW.includes(n.toLowerCase()))a=!0;else for(var s in SK)if(e.matches(s)){a=!0;break}if(a){var l=xp(c2(e),r);return Array.isArray(l)?l.forEach(function(e){return xb(r,e)}):xb(r,l),u++,void(Dn.isSelectedVoidNode(r)&&r.move(1))}var c=window.getComputedStyle(e).display;Dn.isSelectedEmptyParagraph(r)||0>c.indexOf("inline")&&r.insertBreak(),r.dangerouslyInsertHtml(e.innerHTML,!0)}else r.insertText("\n");else{if(!i||!i.trim())return;r.insertNode({text:i})}}),u&&a&&Dn.isEmptyPath(r,a)&&l6.removeNodes(r,{at:a}),n.remove()}}}},r.setHtml=function(e){void 0===e&&(e="");var t=r.isDisabled(),n=r.isFocused(),o=JSON.stringify(r.selection);r.enable(),r.focus(),r.clear();var i=xg(r,e);if(l6.insertFragment(r,i),n||(r.deselect(),r.blur()),t&&(r.deselect(),r.disable()),r.isFocused())try{r.select(JSON.parse(o))}catch(e){r.select(ly.start(r,[]))}},s=r).select=function(e){l6.select(s,e)},s.deselect=function(){var e=s.selection,t=Dn.findDocumentOrShadowRoot(s).getSelection();t&&t.rangeCount>0&&t.removeAllRanges(),e&&l6.deselect(s)},s.move=function(e,t){void 0===t&&(t=!1),e&&(e<0||l6.move(s,{distance:e,unit:"character",reverse:t}))},s.moveReverse=function(e){s.move(e,!0)},s.restoreSelection=function(){var e=EH.get(s);null!=e&&(s.focus(),l6.select(s,e))},s.getSelectionPosition=function(){return xq(s)},s.getNodePosition=function(e){return xG(s,e)},s.isSelectedAll=function(){var e=s.selection;if(null==e)return!1;var t=wP(lj.edges(e),2),n=t[0],r=t[1],o=wP(ly.edges(s,[]),2),i=o[0],a=o[1];return!(!lB.equals(n,i)||!lB.equals(r,a))},s.selectAll=function(){var e=ly.start(s,[]),t=ly.end(s,[]);l6.select(s,{anchor:e,focus:t})},l=s).on=function(e,t){var n=xH(l);if(n.on(e,t),"destroyed"===e&&xV(l,t),"destroyed"!==e){var r=function(){return n.off(e,t)};n.on("destroyed",r),xV(l,r)}},l.once=function(e,t){xH(l).once(e,t)},l.off=function(e,t){xH(l).off(e,t)},l.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=xH(l);r.emit.apply(r,wj([e],wP(t))),"destroyed"===e&&((xU.get(l)||new Set).forEach(function(e){return r.off("destroyed",e)}),xU.set(l,new Set))},c=l).insertText,d=c.insertNode,p=c.insertFragment,h=c.dangerouslyInsertHtml,c.insertText=function(e){if(c.getConfig().maxLength){var t=Dn.getLeftLengthOfMaxLength(c);t<=0||(t<e.length?f(e.slice(0,t)):f(e))}else f(e)},c.insertNode=function(e){if(c.getConfig().maxLength){var t=Dn.getLeftLengthOfMaxLength(c);t<=0||t<lD.string(e).length||d(e)}else d(e)},c.insertFragment=function(e){if(c.getConfig().maxLength)if(1!==e.length)e.forEach(function(e){c.insertNode(e)});else{var t=e[0];if(Dn.getLeftLengthOfMaxLength(c)<lD.string(t).length)return;p(e)}else p(e)},c.dangerouslyInsertHtml=function(e,t){if(void 0===e&&(e=""),void 0===t&&(t=!1),e)if(c.getConfig().maxLength){var n=Dn.getLeftLengthOfMaxLength(c);if(!(n<=0)){var r=document.createElement("div");r.innerHTML=e,n<Array.from(r.childNodes).reduce(function(e,t){var n=t.nodeType,r=t.nodeName;return t?n===EK.TEXT_NODE?e+(t.textContent||""):n===EK.ELEMENT_NODE?xm.has(r.toLowerCase())?e:e+(t.textContent||""):e:e},"").length||h(e,t)}}else h(e,t)},c));if(E&&xh(O,"data-w-e-textarea",E))throw Error("Repeated create editor by selector '"+E+"'");var A=(void 0===(g=void 0===D?{}:D)&&(g={}),v=pb(Do),y={},b=void 0===(m=g.MENU_CONF)?{}:m,f$(v,function(e,t){y[t]=wF(wF({},e),b[t]||{})}),delete g.MENU_CONF,wF({scroll:!0,readOnly:!1,autoFocus:!0,decorate:function(){return[]},maxLength:0,MENU_CONF:y,hoverbarKeys:{},customAlert:function(e,t){window.alert(t+":\n"+e)}},g));ET.set(O,A);var k=A.hoverbarKeys;if((void 0===C?[]:C).forEach(function(e){O=e(O)}),null!=x&&(O.children=xg(O,x)),S&&S.length&&(O.children=S),0===O.children.length&&(O.children=[{type:"paragraph",children:[{text:""}]}]),Dn.normalizeContent(O),E){var T=new Cx(E);Ew.set(O,T),EE.set(T,O),T.changeViewState(),S$(function(){var e=T.$scroll;null!=e&&300>e.height()&&console.warn("编辑区域高度 < 300px 这可能会导致 modal hoverbar 定位异常\nTextarea height < 300px . This may be cause modal and hoverbar position error",e)});var B=void 0;Object.keys(void 0===k?{}:k).length>0&&(B=new CW,Ex.set(B,O),EC.set(O,B)),O.on("change",function(){O.hidePanelOrModal()}),O.on("scroll",function(){O.hidePanelOrModal()})}else O.children.forEach(function(e,t){return function e(t,n,r,o){if(EP.set(t,n),Ej.set(t,r),lf.isElement(t)){var i=t.children;if((void 0===i?[]:i).forEach(function(n,r){return e(n,r,t,o)}),ly.isVoid(o,t)){var a=wP(lD.texts(t),1),u=wP(a[0],1)[0];EP.set(u,0),Ej.set(u,t)}}}(e,t,O,O)});var F=A.onCreated,_=A.onDestroyed;return F&&O.on("created",function(){return F(O)}),_&&O.on("destroyed",function(){return _(O)}),S$(function(){return O.emit("created")}),O}({selector:void 0===t?"":t,config:ecB(ecB(ecB({},u),i),{hoverbarKeys:s}),content:void 0===n?[]:n,html:r,plugins:ecF.plugins})}function ecM(e){var t=e.selector,n=e.editor,r=e.config,o=e.mode;if(!t)throw Error("Cannot find 'selector' when create toolbar");var i="simple"===(void 0===o?"default":o)?ecF.simpleToolbarConfig:ecF.toolbarConfig;return function(e,t){if(null==e)throw Error("Cannot create toolbar, because editor is null");var n=t.selector,r=t.config;if(xh(e,"data-w-e-toolbar",n))throw Error("Repeated create toolbar by selector '"+n+"'");var o=new CX(n,wF({toolbarKeys:[],excludeKeys:[],insertKeys:{index:0,keys:[]},modalAppendToBody:!1},(void 0===r?{}:r)||{}));return ED.set(o,e),ES.set(e,o),o}(n,{selector:t,config:ecB(ecB({},i),void 0===r?{}:r)})}ecF.setSimpleToolbarConfig(ecR)},3341:function(e){e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var r,o,i,a=i[o];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},46217:function(e,t,n){n.d(t,{WG:()=>Q,c0:()=>em,LW:()=>eE});var r,o,i=n(58786);function a(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n)):e[t]=n,n}var u=Symbol.for("DndContextType");function s(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var l="function"==typeof Symbol&&Symbol.observable||"@@observable",c=function(){return Math.random().toString(36).substring(7).split("").join(".")},f={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function d(e,t,...n){if("undefined"!=typeof process&&void 0===t)throw Error("invariant requires an error message argument");if(!e){let e;if(void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let r=0;(e=Error(t.replace(/%s/g,function(){return n[r++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}function p(e){return"object"==typeof e}let h="dnd-core/INIT_COORDS",g="dnd-core/BEGIN_DRAG",v="dnd-core/PUBLISH_DRAG_SOURCE",y="dnd-core/HOVER",m="dnd-core/DROP",b="dnd-core/END_DRAG";function w(e,t){return{type:h,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}let E={type:h,payload:{clientOffset:null,sourceClientOffset:null}};function D(e,t){return null===t?null===e:Array.isArray(e)?e.some(e=>e===t):e===t}class S{receiveBackend(e){this.backend=e}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){var e,t,n,r,o;let i=this,{dispatch:a}=this.store,u={beginDrag:(e=this,function(t=[],n={publishSource:!0}){var r,o,i;let{publishSource:a=!0,clientOffset:u,getSourceClientOffset:s}=n,l=e.getMonitor(),c=e.getRegistry();e.dispatch(w(u)),r=t,o=l,i=c,d(!o.isDragging(),"Cannot call beginDrag while dragging."),r.forEach(function(e){d(i.getSource(e),"Expected sourceIds to be registered.")});let f=function(e,t){let n=null;for(let r=e.length-1;r>=0;r--)if(t.canDragSource(e[r])){n=e[r];break}return n}(t,l);if(null==f)return void e.dispatch(E);let h=null;if(u){if(!s)throw Error("getSourceClientOffset must be defined");d("function"==typeof s,"When clientOffset is provided, getSourceClientOffset must be a function."),h=s(f)}e.dispatch(w(u,h));let v=c.getSource(f).beginDrag(l,f);if(null!=v)return d(p(v),"Item must be an object."),c.pinSource(f),{type:g,payload:{itemType:c.getSourceType(f),item:v,sourceId:f,clientOffset:u||null,sourceClientOffset:h||null,isSourcePublic:!!a}}}),publishDragSource:(t=this,function(){if(t.getMonitor().isDragging())return{type:v}}),hover:(n=this,function(e,{clientOffset:t}={}){var r,o,i;d(Array.isArray(e),"Expected targetIds to be an array.");let a=e.slice(0),u=n.getMonitor(),s=n.getRegistry();return function(e,t,n){for(let r=e.length-1;r>=0;r--){let o=e[r];D(t.getTargetType(o),n)||e.splice(r,1)}}(a,s,u.getItemType()),function(e,t,n){d(t.isDragging(),"Cannot call hover while not dragging."),d(!t.didDrop(),"Cannot call hover after drop.");for(let t=0;t<e.length;t++){let r=e[t];d(e.lastIndexOf(r)===t,"Expected targetIds to be unique in the passed array."),d(n.getTarget(r),"Expected targetIds to be registered.")}}(a,u,s),r=a,o=u,i=s,r.forEach(function(e){i.getTarget(e).hover(o,e)}),{type:y,payload:{targetIds:a,clientOffset:t||null}}}),drop:(r=this,function(e={}){var t;let n=r.getMonitor(),o=r.getRegistry();d((t=n).isDragging(),"Cannot call drop while not dragging."),d(!t.didDrop(),"Cannot call drop twice during one drag operation."),(function(e){let t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t})(n).forEach((t,i)=>{let a={type:m,payload:{dropResult:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},e,function(e,t,n,r){var o;let i=n.getTarget(e),a=i?i.drop(r,e):void 0;return d(void 0===(o=a)||p(o),"Drop result must either be an object or undefined."),void 0===a&&(a=0===t?{}:r.getDropResult()),a}(t,i,o,n))}};r.dispatch(a)})}),endDrag:(o=this,function(){let e=o.getMonitor(),t=o.getRegistry();d(e.isDragging(),"Cannot call endDrag while not dragging.");let n=e.getSourceId();return null!=n&&(t.getSource(n,!0).endDrag(e,n),t.unpinSource()),{type:b}})};return Object.keys(u).reduce((e,t)=>{let n=u[t];return e[t]=(...e)=>{let t=n.apply(i,e);void 0!==t&&a(t)},e},{})}dispatch(e){this.store.dispatch(e)}constructor(e,t){this.isSetUp=!1,this.handleRefCountChange=()=>{let e=this.store.getState().refCount>0;this.backend&&(e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=e,this.monitor=t,e.subscribe(this.handleRefCountChange)}}function x(e,t){return{x:e.x-t.x,y:e.y-t.y}}let C=[],O=[];C.__IS_NONE__=!0,O.__IS_ALL__=!0;class A{subscribeToStateChange(e,t={}){let{handlerIds:n}=t;d("function"==typeof e,"listener must be a function."),d(void 0===n||Array.isArray(n),"handlerIds, when specified, must be an array of strings.");let r=this.store.getState().stateId;return this.store.subscribe(()=>{let t=this.store.getState(),o=t.stateId;try{o===r||o===r+1&&!function(e,t){return e!==C&&(e===O||void 0===t||t.filter(t=>e.indexOf(t)>-1).length>0)}(t.dirtyHandlerIds,n)||e()}finally{r=o}})}subscribeToOffsetChange(e){d("function"==typeof e,"listener must be a function.");let t=this.store.getState().dragOffset;return this.store.subscribe(()=>{let n=this.store.getState().dragOffset;n!==t&&(t=n,e())})}canDragSource(e){if(!e)return!1;let t=this.registry.getSource(e);return d(t,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()&&t.canDrag(this,e)}canDropOnTarget(e){if(!e)return!1;let t=this.registry.getTarget(e);return d(t,`Expected to find a valid target. targetId=${e}`),!(!this.isDragging()||this.didDrop())&&D(this.registry.getTargetType(e),this.getItemType())&&t.canDrop(this,e)}isDragging(){return!!this.getItemType()}isDraggingSource(e){if(!e)return!1;let t=this.registry.getSource(e,!0);return d(t,`Expected to find a valid source. sourceId=${e}`),!!this.isDragging()&&!!this.isSourcePublic()&&this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e)}isOverTarget(e,t={shallow:!1}){if(!e)return!1;let{shallow:n}=t;if(!this.isDragging())return!1;let r=this.registry.getTargetType(e),o=this.getItemType();if(o&&!D(r,o))return!1;let i=this.getTargetIds();if(!i.length)return!1;let a=i.indexOf(e);return n?a===i.length-1:a>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return!!this.store.getState().dragOperation.isSourcePublic}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return function(e){let{clientOffset:t,initialClientOffset:n,initialSourceClientOffset:r}=e;return t&&n&&r?x({x:t.x+r.x,y:t.y+r.y},n):null}(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){let{clientOffset:e,initialClientOffset:t}=this.store.getState().dragOffset;return e&&t?x(e,t):null}constructor(e,t){this.store=e,this.registry=t}}let k="undefined"!=typeof global?global:self,T=k.MutationObserver||k.WebKitMutationObserver;function B(e){return function(){let t=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(t),clearInterval(n),e()}}}let F="function"==typeof T?function(e){let t=1,n=new T(e),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){r.data=t=-t}}:B;class _{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,t){this.onError=e,this.release=t,this.task=null}}let P=new class{enqueueTask(e){let{queue:t,requestFlush:n}=this;t.length||(n(),this.flushing=!0),t[t.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{let{queue:e}=this;for(;this.index<e.length;){let t=this.index;if(this.index++,e[t].call(),this.index>this.capacity){for(let t=0,n=e.length-this.index;t<n;t++)e[t]=e[t+this.index];e.length-=this.index,this.index=0}}e.length=0,this.index=0,this.flushing=!1},this.registerPendingError=e=>{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=F(this.flush),this.requestErrorThrow=B(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}},j=new class{create(e){let t=this.freeTasks,n=t.length?t.pop():new _(this.onError,e=>t[t.length]=e);return n.task=e,n}constructor(e){this.onError=e,this.freeTasks=[]}}(P.registerPendingError),I="dnd-core/ADD_SOURCE",N="dnd-core/ADD_TARGET",R="dnd-core/REMOVE_SOURCE",L="dnd-core/REMOVE_TARGET";function M(e,t){if(t&&Array.isArray(e))return void e.forEach(e=>M(e,!1));d("string"==typeof e||"symbol"==typeof e,t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}(r=o||(o={})).SOURCE="SOURCE",r.TARGET="TARGET";let z=0;function $(e){switch(e[0]){case"S":return o.SOURCE;case"T":return o.TARGET;default:throw Error(`Cannot parse handler ID: ${e}`)}}function H(e,t){let n=e.entries(),r=!1;do{let{done:e,value:[,o]}=n.next();if(o===t)return!0;r=!!e}while(!r);return!1}class U{addSource(e,t){M(e),d("function"==typeof t.canDrag,"Expected canDrag to be a function."),d("function"==typeof t.beginDrag,"Expected beginDrag to be a function."),d("function"==typeof t.endDrag,"Expected endDrag to be a function.");let n=this.addHandler(o.SOURCE,e,t);return this.store.dispatch({type:I,payload:{sourceId:n}}),n}addTarget(e,t){M(e,!0),d("function"==typeof t.canDrop,"Expected canDrop to be a function."),d("function"==typeof t.hover,"Expected hover to be a function."),d("function"==typeof t.drop,"Expected beginDrag to be a function.");let n=this.addHandler(o.TARGET,e,t);return this.store.dispatch({type:N,payload:{targetId:n}}),n}containsHandler(e){return H(this.dragSources,e)||H(this.dropTargets,e)}getSource(e,t=!1){return d(this.isSourceId(e),"Expected a valid source ID."),t&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}getTarget(e){return d(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}getSourceType(e){return d(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}getTargetType(e){return d(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}isSourceId(e){return $(e)===o.SOURCE}isTargetId(e){return $(e)===o.TARGET}removeSource(e){d(this.getSource(e),"Expected an existing source."),this.store.dispatch({type:R,payload:{sourceId:e}}),P.enqueueTask(j.create(()=>{this.dragSources.delete(e),this.types.delete(e)}))}removeTarget(e){d(this.getTarget(e),"Expected an existing target."),this.store.dispatch({type:L,payload:{targetId:e}}),this.dropTargets.delete(e),this.types.delete(e)}pinSource(e){let t=this.getSource(e);d(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}unpinSource(){d(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(e,t,n){let r=function(e){let t=(z++).toString();switch(e){case o.SOURCE:return`S${t}`;case o.TARGET:return`T${t}`;default:throw Error(`Unknown Handler Role: ${e}`)}}(e);return this.types.set(r,t),e===o.SOURCE?this.dragSources.set(r,n):e===o.TARGET&&this.dropTargets.set(r,n),r}constructor(e){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=e}}let V=(e,t)=>e===t,W={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}let G={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function K(e={},t){var n;return{dirtyHandlerIds:function(e=C,t){switch(t.type){case y:break;case I:case N:case L:case R:return C;default:return O}let{targetIds:n=[],prevTargetIds:r=[]}=t.payload,o=function(e,t){let n=new Map,r=e=>{n.set(e,n.has(e)?n.get(e)+1:1)};e.forEach(r),t.forEach(r);let o=[];return n.forEach((e,t)=>{1===e&&o.push(t)}),o}(n,r);if(!(o.length>0||!function(e,t,n=V){if(e.length!==t.length)return!1;for(let r=0;r<e.length;++r)if(!n(e[r],t[r]))return!1;return!0}(n,r)))return C;let i=r[r.length-1],a=n[n.length-1];return i!==a&&(i&&o.push(i),a&&o.push(a)),o}(e.dirtyHandlerIds,{type:t.type,payload:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},t.payload,{prevTargetIds:(n=[],"dragOperation.targetIds".split(".").reduce((e,t)=>e&&e[t]?e[t]:n||null,e))})}),dragOffset:function(e=W,t){let{payload:n}=t;switch(t.type){case h:case g:return{initialSourceClientOffset:n.sourceClientOffset,initialClientOffset:n.clientOffset,clientOffset:n.clientOffset};case y:var r,o;if(r=e.clientOffset,o=n.clientOffset,!r&&!o||r&&o&&r.x===o.x&&r.y===o.y)return e;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},e,{clientOffset:n.clientOffset});case b:case m:return W;default:return e}}(e.dragOffset,t),refCount:function(e=0,t){switch(t.type){case I:case N:return e+1;case R:case L:return e-1;default:return e}}(e.refCount,t),dragOperation:function(e=G,t){let{payload:n}=t;switch(t.type){case g:return q({},e,{itemType:n.itemType,item:n.item,sourceId:n.sourceId,isSourcePublic:n.isSourcePublic,dropResult:null,didDrop:!1});case v:return q({},e,{isSourcePublic:!0});case y:return q({},e,{targetIds:n.targetIds});case L:var r,o;if(-1===e.targetIds.indexOf(n.targetId))return e;return q({},e,{targetIds:(r=e.targetIds,o=n.targetId,r.filter(e=>e!==o))});case m:return q({},e,{dropResult:n.dropResult,didDrop:!0,targetIds:[]});case b:return q({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}(e.dragOperation,t),stateId:function(e=0){return e+1}(e.stateId)}}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var X=0,Y=Symbol.for("__VUE_DND_CONTEXT_INSTANCE__");function J(){return"undefined"!=typeof globalThis?globalThis:void 0!==n.g?n.g:window}let Q=(0,i.aZ)({name:"DndProvider",props:{manager:{type:Object},backend:{type:Function},context:{type:Object},options:{type:Object},debugMode:{type:Boolean}},setup:function(e,t){var n,r,o=t.slots,a=(n="manager"in e&&e.manager?[e.manager,!1]:[function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:J(),n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;return t[Y]||(t[Y]=function(e,t,n={},r=!1){let o=function(e){let t="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return function e(t,n,r){if("function"==typeof n&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw Error(s(0));if("function"==typeof n&&void 0===r&&(r=n,n=void 0),void 0!==r){if("function"!=typeof r)throw Error(s(1));return r(e)(t,n)}if("function"!=typeof t)throw Error(s(2));var o,i=t,a=n,u=[],c=u,d=!1;function p(){c===u&&(c=u.slice())}function h(){if(d)throw Error(s(3));return a}function g(e){if("function"!=typeof e)throw Error(s(4));if(d)throw Error(s(5));var t=!0;return p(),c.push(e),function(){if(t){if(d)throw Error(s(6));t=!1,p();var n=c.indexOf(e);c.splice(n,1),u=null}}}function v(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw Error(s(7));if(void 0===e.type)throw Error(s(8));if(d)throw Error(s(9));try{d=!0,a=i(a,e)}finally{d=!1}for(var t=u=c,n=0;n<t.length;n++)(0,t[n])();return e}return v({type:f.INIT}),(o={dispatch:v,subscribe:g,getState:h,replaceReducer:function(e){if("function"!=typeof e)throw Error(s(10));i=e,v({type:f.REPLACE})}})[l]=function(){var e;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw Error(s(11));function t(){e.next&&e.next(h())}return t(),{unsubscribe:g(t)}}})[l]=function(){return this},e},o}(K,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}(r),i=new A(o,new U(o)),a=new S(o,i),u=e(a,t,n);return a.receiveBackend(u),a}(e,t,n,r)),t[Y]}(e.backend,e.context,e.options,e.debugMode),!e.context],function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,u=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){u=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(u)throw r}}return i}}(n,2)||function(e,t){if(e){if("string"==typeof e)return Z(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Z(e,t)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=a[0],d=a[1];return d&&++X,(0,i.SK)(function(){if(d){var e=J();0==--X&&(e[Y]=null)}}),(0,i.JJ)(u,c),function(){var e;return null!=(r=null==(e=o.default)?void 0:e.call(o))?r:null}}});(0,i.aZ)({props:{connect:{type:Function,required:!0},src:{type:String,required:!0}},setup:function(e){return(0,i.m0)(function(){if("undefined"!=typeof Image){var t=!1,n=new Image;return n.src=e.src,n.onload=function(){e.connect(n),t=!0},function(){t&&e.connect(null)}}}),function(){return null}}});var ee=!1,et=!1,en=function(){function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.sourceId=null,this.internalMonitor=t.getMonitor()}var t=e.prototype;return t.receiveHandlerId=function(e){this.sourceId=e},t.getHandlerId=function(){return this.sourceId},t.canDrag=function(){d(!ee,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return ee=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{ee=!1}},t.isDragging=function(){if(!this.sourceId)return!1;d(!et,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return et=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{et=!1}},t.subscribeToStateChange=function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)},t.isDraggingSource=function(e){return this.internalMonitor.isDraggingSource(e)},t.isOverTarget=function(e,t){return this.internalMonitor.isOverTarget(e,t)},t.getTargetIds=function(){return this.internalMonitor.getTargetIds()},t.isSourcePublic=function(){return this.internalMonitor.isSourcePublic()},t.getSourceId=function(){return this.internalMonitor.getSourceId()},t.subscribeToOffsetChange=function(e){return this.internalMonitor.subscribeToOffsetChange(e)},t.canDragSource=function(e){return this.internalMonitor.canDragSource(e)},t.canDropOnTarget=function(e){return this.internalMonitor.canDropOnTarget(e)},t.getItemType=function(){return this.internalMonitor.getItemType()},t.getItem=function(){return this.internalMonitor.getItem()},t.getDropResult=function(){return this.internalMonitor.getDropResult()},t.didDrop=function(){return this.internalMonitor.didDrop()},t.getInitialClientOffset=function(){return this.internalMonitor.getInitialClientOffset()},t.getInitialSourceClientOffset=function(){return this.internalMonitor.getInitialSourceClientOffset()},t.getSourceClientOffset=function(){return this.internalMonitor.getSourceClientOffset()},t.getClientOffset=function(){return this.internalMonitor.getClientOffset()},t.getDifferenceFromInitialOffset=function(){return this.internalMonitor.getDifferenceFromInitialOffset()},e}(),er=!1,eo=function(){function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.targetId=null,this.internalMonitor=t.getMonitor()}var t=e.prototype;return t.receiveHandlerId=function(e){this.targetId=e},t.getHandlerId=function(){return this.targetId},t.subscribeToStateChange=function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)},t.canDrop=function(){if(!this.targetId)return!1;d(!er,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return er=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{er=!1}},t.isOver=function(e){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,e)},t.getItemType=function(){return this.internalMonitor.getItemType()},t.getItem=function(){return this.internalMonitor.getItem()},t.getDropResult=function(){return this.internalMonitor.getDropResult()},t.didDrop=function(){return this.internalMonitor.didDrop()},t.getInitialClientOffset=function(){return this.internalMonitor.getInitialClientOffset()},t.getInitialSourceClientOffset=function(){return this.internalMonitor.getInitialSourceClientOffset()},t.getSourceClientOffset=function(){return this.internalMonitor.getSourceClientOffset()},t.getClientOffset=function(){return this.internalMonitor.getClientOffset()},t.getDifferenceFromInitialOffset=function(){return this.internalMonitor.getDifferenceFromInitialOffset()},e}();function ei(e){var t={};return Object.keys(e).forEach(function(n){var r=e[n];if(n.endsWith("Ref"))t[n]=e[n];else{var o=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t&&t.__v_skip&&function(){throw Error("Only native element nodes can now be passed to Vue DnD connectors.You can either wrap Component into a <div>, or turn it into a drag source or a drop target itself.")}(),!(t&&!0===t.__v_isVNode&&"symbol"!=((e=t.type)&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)))return r(t,n),t};t[n]=function(){return o}}}),t}function ea(e,t,n,r){let o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;let i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;let u=Object.prototype.hasOwnProperty.bind(t);for(let a=0;a<i.length;a++){let s=i[a];if(!u(s))return!1;let l=e[s],c=t[s];if(!1===(o=n?n.call(r,l,c,s):void 0)||void 0===o&&l!==c)return!1}return!0}var eu=function(){function e(t){var n=this;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.hooks=ei({dragSource:function(e,t){n.clearDragSource(),n.dragSourceOptions=t||null,n.dragSourceNode=e,n.reconnectDragSource()},dragPreview:function(e,t){n.clearDragPreview(),n.dragPreviewOptions=t||null,n.dragPreviewNode=e,n.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceOptionsInternal=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=t}var t,n=e.prototype;return n.receiveHandlerId=function(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())},n.reconnect=function(){var e=this.reconnectDragSource();this.reconnectDragPreview(e)},n.reconnectDragSource=function(){var e=this.dragSource,t=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return t&&this.disconnectDragSource(),this.handlerId&&(e?t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)):this.lastConnectedDragSource=e),t},n.reconnectDragPreview=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.dragPreview,n=e||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(n&&this.disconnectDragPreview(),this.handlerId){if(!t){this.lastConnectedDragPreview=t;return}n&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=t,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,t,this.dragPreviewOptions))}},n.didHandlerIdChange=function(){return this.lastConnectedHandlerId!==this.handlerId},n.didConnectedDragSourceChange=function(){return this.lastConnectedDragSource!==this.dragSource},n.didConnectedDragPreviewChange=function(){return this.lastConnectedDragPreview!==this.dragPreview},n.didDragSourceOptionsChange=function(){return!ea(this.lastConnectedDragSourceOptions,this.dragSourceOptions)},n.didDragPreviewOptionsChange=function(){return!ea(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)},n.disconnectDragSource=function(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)},n.disconnectDragPreview=function(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null)},n.clearDragSource=function(){this.dragSourceNode=null},n.clearDragPreview=function(){this.dragPreviewNode=null},t=[{key:"connectTarget",get:function(){return this.dragSource}},{key:"dragSourceOptions",get:function(){return this.dragSourceOptionsInternal},set:function(e){this.dragSourceOptionsInternal=e}},{key:"dragPreviewOptions",get:function(){return this.dragPreviewOptionsInternal},set:function(e){this.dragPreviewOptionsInternal=e}},{key:"dragSource",get:function(){return this.dragSourceNode}},{key:"dragPreview",get:function(){return this.dragPreviewNode}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}(),es=function(){function e(t){var n=this;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.hooks=ei({dropTarget:function(e,t){n.clearDropTarget(),n.dropTargetOptions=t,(0,i.dq)(e)?n.dropTargetRef=e:n.dropTargetNode=e,n.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=t}var t,n=e.prototype;return n.reconnect=function(){var e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();var t=this.dropTarget;if(this.handlerId){if(!t){this.lastConnectedDropTarget=t;return}e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions))}},n.receiveHandlerId=function(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())},n.didHandlerIdChange=function(){return this.lastConnectedHandlerId!==this.handlerId},n.didDropTargetChange=function(){return this.lastConnectedDropTarget!==this.dropTarget},n.didOptionsChange=function(){return!ea(this.lastConnectedDropTargetOptions,this.dropTargetOptions)},n.disconnectDropTarget=function(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)},n.clearDropTarget=function(){this.dropTargetRef=null,this.dropTargetNode=null},t=[{key:"connectTarget",get:function(){return this.dropTarget}},{key:"dropTargetOptions",get:function(){return this.dropTargetOptionsInternal},set:function(e){this.dropTargetOptionsInternal=e}},{key:"dropTarget",get:function(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.value}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}(),el=function(){function e(t,n,r){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.spec=t,this.monitor=n,this.connector=r}var t=e.prototype;return t.beginDrag=function(){var e=this.spec,t=this.monitor,n=null;return null!=(n="object"==typeof e.item?e.item:"function"==typeof e.item?e.item(t):{})?n:null},t.canDrag=function(){var e=this.spec,t=this.monitor;return"boolean"==typeof e.canDrag?e.canDrag:"function"!=typeof e.canDrag||e.canDrag(t)},t.isDragging=function(e,t){var n=this.spec,r=this.monitor,o=n.isDragging;return o?o(r):t===e.getSourceId()},t.endDrag=function(){var e=this.spec,t=this.monitor,n=this.connector,r=e.end;r&&r(t.getItem(),t),n.reconnect()},e}();function ec(){var e=(0,i.f3)(u);return d(null!=e,"Expected drag drop context"),e}function ef(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ed(e){return(0,i.Fl)(function(){return"function"==typeof e?e():e})}var ep=n(3341),eh=n.n(ep);function eg(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ev(e,t,n){var r,o,a,u,s,l,c,f;return c=(r=e||function(){return{}},o=function(){return(0,i.SU)(n).reconnect()},a=(0,i.iH)((0,i.SU)(r)((0,i.SU)(t))),u=function(){var e=(0,i.SU)(r)((0,i.SU)(t));!eh()(a.value,e)&&(a.value=e,o&&o())},(0,i.m0)(u),l=function(e){if(Array.isArray(e))return e}(s=[a,u])||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,u=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){u=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(u)throw r}}return i}}(s,2)||function(e,t){if(e){if("string"==typeof e)return eg(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eg(e,t)}}(s,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],f=l[1],(0,i.m0)(function(e){var n=(0,i.SU)(t).getHandlerId();null!=n&&e((0,i.SU)(t).subscribeToStateChange(f,{handlerIds:[n]}))}),c}function ey(e,t){var n=(0,i.qj)({el:null,options:(0,i.SU)(t)});return(0,i.m0)(function(){e(n)},{flush:"post"}),function(e,r){a(n,"el",e);var o=(0,i.SU)(t)||r;return eh()(n.options,o)||a(n,"options",o),(0,i.SU)(e)}}function em(e){var t,n,r,o,a,u,s,l,c,f=ed(e),p=(t=ec(),(0,i.Fl)(function(){return new en((0,i.SU)(t))})),h=(n=(0,i.Fl)(function(){return(0,i.SU)(f).options}),r=(0,i.Fl)(function(){return(0,i.SU)(f).previewOptions}),o=ec(),a=(0,i.Fl)(function(){return new eu((0,i.SU)(o).getBackend())}),(0,i.m0)(function(e){a.value.dragSourceOptions=(0,i.SU)(n)||null,(0,i.SU)(a).reconnect(),e(function(){a.value.disconnectDragSource()})}),(0,i.m0)(function(e){a.value.dragPreviewOptions=(0,i.SU)(r)||null,(0,i.SU)(a).reconnect(),e(function(){a.value.disconnectDragPreview()})}),a);return u=ec(),s=(0,i.Fl)(function(){return new el((0,i.SU)(f),(0,i.SU)(p),(0,i.SU)(h))}),(0,i.m0)(function(){s.value.spec=(0,i.SU)(f)}),l=s,c=(0,i.Fl)(function(){var e=(0,i.SU)(f).type;return d(null!=e,"spec.type must be defined"),e}),(0,i.m0)(function(e){if(null!=(0,i.SU)(c)){var t,n,r,o,a,s=(t=(0,i.SU)(c),n=(0,i.SU)(l),a=[o=(r=(0,i.SU)(u).getRegistry()).addSource(t,n),function(){return r.removeSource(o)}],function(e){if(Array.isArray(e))return e}(a)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,u=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){u=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(u)throw r}}return i}}(a,2)||function(e,t){if(e){if("string"==typeof e)return ef(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ef(e,t)}}(a,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),f=s[0],d=s[1];(0,i.SU)(p).receiveHandlerId(f),(0,i.SU)(h).receiveHandlerId(f),e(d)}}),[ev((0,i.Fl)(function(){return(0,i.SU)(f).collect||function(){return{}}}),p,h),ey(function(e){(0,i.SU)(h).hooks.dragSource()(e.el,e.options)},(0,i.Fl)(function(){return(0,i.SU)(f).options})),ey(function(e){(0,i.SU)(h).hooks.dragPreview()(e.el,e.options)},(0,i.Fl)(function(){return(0,i.SU)(f).previewOptions}))]}var eb=function(){function e(t,n){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.spec=t,this.monitor=n}var t=e.prototype;return t.canDrop=function(){var e=this.spec,t=this.monitor;return!e.canDrop||e.canDrop(t.getItem(),t)},t.hover=function(){var e=this.spec,t=this.monitor;e.hover&&e.hover(t.getItem(),t)},t.drop=function(){var e=this.spec,t=this.monitor;if(e.drop)return e.drop(t.getItem(),t)},e}();function ew(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function eE(e){var t,n,r,o,a,u,s,l,c=ed(e),f=(t=ec(),(0,i.Fl)(function(){return new eo((0,i.SU)(t))})),p=(n=(0,i.Fl)(function(){return(0,i.SU)(c).options}),r=ec(),o=(0,i.Fl)(function(){return new es((0,i.SU)(r).getBackend())}),(0,i.m0)(function(e){o.value.dropTargetOptions=(0,i.SU)(n)||null,o.value.reconnect(),e(function(){return o.value.disconnectDropTarget()})}),o);return a=ec(),u=(0,i.Fl)(function(){return new eb((0,i.SU)(c),(0,i.SU)(f))}),(0,i.m0)(function(){u.value.spec=(0,i.SU)(c)}),s=u,l=(0,i.Fl)(function(){var e=(0,i.SU)(c).accept;return d(null!=e,"accept must be defined"),Array.isArray(e)?e:[e]}),(0,i.m0)(function(e){var t,n,r,o=(r=[n=(t=(0,i.SU)(a).getRegistry()).addTarget((0,i.SU)(l),(0,i.SU)(s)),function(){return t.removeTarget(n)}],function(e){if(Array.isArray(e))return e}(r)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,u=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){u=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(u)throw r}}return i}}(r,2)||function(e,t){if(e){if("string"==typeof e)return ew(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ew(e,t)}}(r,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=o[0],c=o[1];(0,i.SU)(f).receiveHandlerId(u),(0,i.SU)(p).receiveHandlerId(u),e(c)}),[ev((0,i.Fl)(function(){return(0,i.SU)(c).collect||function(){return{}}}),f,p),ey(function(e){(0,i.SU)(p).hooks.dropTarget()(e.el,e.options)},(0,i.Fl)(function(){return(0,i.SU)(c).options}))]}},82027:function(e,t,n){n.d(t,{Z:()=>G});var r=n(53146);let o=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e};var i=n(26028),a=n(45169),u=n(71257),s=n(27042),l=n(83712),c=n(91481),f=n(95688),d=n(3240),p=n(76351),h=n(91758),g=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)(0,d.Z)(t,(0,f.Z)(e)),e=(0,p.Z)(e);return t}:h.Z,v=n(94645),y=n(30292);let m=function(e){return(0,y.Z)(e,s.Z,g)};var b=n(91792),w=Object.prototype.hasOwnProperty;let E=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&w.call(e,"index")&&(n.index=e.index,n.input=e.input),n};var D=n(98240);let S=function(e,t){var n=t?(0,D.Z)(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)};var x=/\w*$/;let C=function(e){var t=new e.constructor(e.source,x.exec(e));return t.lastIndex=e.lastIndex,t};var O=n(28373),A=O.Z?O.Z.prototype:void 0,k=A?A.valueOf:void 0,T=n(70980);let B=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return(0,D.Z)(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return S(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,T.Z)(e,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return C(e);case"[object Symbol]":return k?Object(k.call(e)):{}}};var F=n(6625),_=n(3073),P=n(4339),j=n(32398),I=n(94421),N=n(41394),R=N.Z&&N.Z.isMap,L=R?(0,I.Z)(R):function(e){return(0,j.Z)(e)&&"[object Map]"==(0,b.Z)(e)},M=n(26129),z=N.Z&&N.Z.isSet,$=z?(0,I.Z)(z):function(e){return(0,j.Z)(e)&&"[object Set]"==(0,b.Z)(e)},H="[object Arguments]",U="[object Function]",V="[object Object]",W={};W[H]=W["[object Array]"]=W["[object ArrayBuffer]"]=W["[object DataView]"]=W["[object Boolean]"]=W["[object Date]"]=W["[object Float32Array]"]=W["[object Float64Array]"]=W["[object Int8Array]"]=W["[object Int16Array]"]=W["[object Int32Array]"]=W["[object Map]"]=W["[object Number]"]=W[V]=W["[object RegExp]"]=W["[object Set]"]=W["[object String]"]=W["[object Symbol]"]=W["[object Uint8Array]"]=W["[object Uint8ClampedArray]"]=W["[object Uint16Array]"]=W["[object Uint32Array]"]=!0,W["[object Error]"]=W[U]=W["[object WeakMap]"]=!1;let q=function e(t,n,d,p,h,y){var w,D=1&n,S=2&n,x=4&n;if(d&&(w=h?d(t,p,h,y):d(t)),void 0!==w)return w;if(!(0,M.Z)(t))return t;var C=(0,_.Z)(t);if(C){if(w=E(t),!D)return(0,c.Z)(t,w)}else{var O,A,k,T,j=(0,b.Z)(t),I=j==U||"[object GeneratorFunction]"==j;if((0,P.Z)(t))return(0,l.Z)(t,D);if(j==V||j==H||I&&!h){if(w=S||I?{}:(0,F.Z)(t),!D)return S?(A=(O=w)&&(0,a.Z)(t,(0,s.Z)(t),O),(0,a.Z)(t,g(t),A)):(T=(k=w)&&(0,a.Z)(t,(0,u.Z)(t),k),(0,a.Z)(t,(0,f.Z)(t),T))}else{if(!W[j])return h?t:{};w=B(t,j,D)}}y||(y=new r.Z);var N=y.get(t);if(N)return N;y.set(t,w),$(t)?t.forEach(function(r){w.add(e(r,n,d,r,t,y))}):L(t)&&t.forEach(function(r,o){w.set(o,e(r,n,d,o,t,y))});var R=x?S?m:v.Z:S?s.Z:u.Z,z=C?void 0:R(t);return o(z||t,function(r,o){z&&(r=t[o=r]),(0,i.Z)(w,o,e(r,n,d,o,t,y))}),w},G=function(e){return q(e,5)}},88514:function(e,t,n){n.d(t,{Z:()=>a});var r=n(21452),o=n(3073),i=n(32398);let a=function(e){return"string"==typeof e||!(0,o.Z)(e)&&(0,i.Z)(e)&&"[object String]"==(0,r.Z)(e)}},29344:function(e,t,n){n.d(t,{bZ:()=>v,ZP:()=>y});var r=n(20013),o=n(58786),i=n(56946),a=n(54470),u=n(53198),s=n(51048),l=n(19050),c=n(44267),f=n(74794),d=n(74482),p=n(71309);let h=(0,p.cB)("collapse","width: 100%;",[(0,p.cB)("collapse-item",`font-size: var(--n-font-size);color: var(--n-text-color);transition:@@ -229,4 +229,105 @@ Uppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#margin-top: 12px;`),(0,E.cM)("left",`margin-right: 12px;- `),(0,w.h)()]),(0,E.ko)((0,E.cB)("slider",[(0,E.cB)("slider-dot","background-color: var(--n-dot-color-modal);")])),(0,E.WW)((0,E.cB)("slider",[(0,E.cB)("slider-dot","background-color: var(--n-dot-color-popover);")]))]);function S(e){return window.TouchEvent&&e instanceof window.TouchEvent}function x(){let e=new Map;return(0,a.Xn)(()=>{e.clear()}),[e,t=>n=>{e.set(t,n)}]}let C=Object.assign(Object.assign({},c.Z.props),{to:h.n.propTo,defaultValue:{type:[Number,Array],default:0},marks:Object,disabled:{type:Boolean,default:void 0},formatTooltip:Function,keyboard:{type:Boolean,default:!0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:[Number,String],default:1},range:Boolean,value:[Number,Array],placement:String,showTooltip:{type:Boolean,default:void 0},tooltip:{type:Boolean,default:!0},vertical:Boolean,reverse:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onDragstart:[Function],onDragend:[Function]}),O=(0,a.aZ)({name:"Slider",props:C,slots:Object,setup(e){let{mergedClsPrefixRef:t,namespaceRef:n,inlineThemeDisabled:u}=(0,f.ZP)(e),s=(0,c.Z)("Slider","-slider",D,b,e,t),l=(0,a.iH)(null),[v,y]=x(),[m,w]=x(),E=(0,a.iH)(new Set),C=(0,d.Z)(e),{mergedDisabledRef:O}=C,A=(0,a.Fl)(()=>{let{step:t}=e;if(0>=Number(t)||"mark"===t)return 0;let n=t.toString(),r=0;return n.includes(".")&&(r=n.length-n.indexOf(".")-1),r}),k=(0,a.iH)(e.defaultValue),T=(0,a.Vh)(e,"value"),B=(0,o.Z)(T,k),F=(0,a.Fl)(()=>{let{value:t}=B;return(e.range?t:[t]).map(Z)}),P=(0,a.Fl)(()=>F.value.length>2),_=(0,a.Fl)(()=>void 0===e.placement?e.vertical?"right":"top":e.placement),j=(0,a.Fl)(()=>{let{marks:t}=e;return t?Object.keys(t).map(Number.parseFloat):null}),I=(0,a.iH)(-1),N=(0,a.iH)(-1),R=(0,a.iH)(-1),L=(0,a.iH)(!1),M=(0,a.iH)(!1),z=(0,a.Fl)(()=>{let{vertical:t,reverse:n}=e;return t?n?"top":"bottom":n?"right":"left"}),$=(0,a.Fl)(()=>{if(P.value)return;let t=F.value,n=X(e.range?Math.min(...t):e.min),r=X(e.range?Math.max(...t):t[0]),{value:o}=z;return e.vertical?{[o]:`${n}%`,height:`${r-n}%`}:{[o]:`${n}%`,width:`${r-n}%`}}),H=(0,a.Fl)(()=>{let t=[],{marks:n}=e;if(n){let r=F.value.slice();r.sort((e,t)=>e-t);let{value:o}=z,{value:i}=P,{range:a}=e,u=i?()=>!1:e=>a?e>=r[0]&&e<=r[r.length-1]:e<=r[0];for(let e of Object.keys(n)){let r=Number(e);t.push({active:u(r),key:r,label:n[e],style:{[o]:`${X(r)}%`}})}}return t});function U(t){return e.showTooltip||R.value===t||I.value===t&&L.value}function V(){m.forEach((e,t)=>{U(t)&&e.syncPosition()})}function W(t){let{"onUpdate:value":n,onUpdateValue:r}=e,{nTriggerFormInput:o,nTriggerFormChange:i}=C;r&&(0,g.R)(r,t),n&&(0,g.R)(n,t),k.value=t,o(),i()}function q(t){let{range:n}=e;if(n){if(Array.isArray(t)){let{value:e}=F;t.join()!==e.join()&&W(t)}}else Array.isArray(t)||F.value[0]!==t&&W(t)}function G(t,n){if(e.range){let e=F.value.slice();e.splice(n,1,t),q(e)}else q(t)}function K(t,n,r){let o,i=void 0!==r;r||(r=t-n>0?1:-1);let a=j.value||[],{step:u}=e;if("mark"===u){let e=Y(t,a.concat(n),i?r:void 0);return e?e.value:n}if(u<=0)return n;let{value:s}=A;if(i){let e=Number((n/u).toFixed(s)),t=Math.floor(e);o=Y(n,[Number(((e>t?t:t-1)*u).toFixed(s)),Number(((e<t?t:t+1)*u).toFixed(s)),...a],r)}else{let n=function(t){let{step:n,min:r}=e;return 0>=Number(n)||"mark"===n?t:Number((Math.round((t-r)/n)*n+r).toFixed(A.value))}(t);o=Y(t,[...a,n])}return o?Z(o.value):n}function Z(t){return Math.min(e.max,Math.max(e.min,t))}function X(t){let{max:n,min:r}=e;return(t-r)/(n-r)*100}function Y(e,t=j.value,n){if(!(null==t?void 0:t.length))return null;let r=null,o=-1;for(;++o<t.length;){let i=t[o]-e,a=Math.abs(i);(void 0===n||i*n>0)&&(null===r||a<r.distance)&&(r={index:o,distance:a,value:t[o]})}return r}function J(t){let n,r=l.value;if(!r)return;let o=S(t)?t.touches[0]:t,i=r.getBoundingClientRect();n=e.vertical?(i.bottom-o.clientY)/i.height:(o.clientX-i.left)/i.width,e.reverse&&(n=1-n);let{max:a,min:u}=e;return u+(a-u)*n}function Q(t){let n=I.value;if(-1===n)return;let{step:r}=e,o=F.value[n];G(K(0>=Number(r)||"mark"===r?o:o+r*t,o,t>0?1:-1),n)}function ee(){L.value&&(L.value=!1,e.onDragend&&(0,g.R)(e.onDragend),(0,r.S)("touchend",document,en),(0,r.S)("mouseup",document,en),(0,r.S)("touchmove",document,et),(0,r.S)("mousemove",document,et))}function et(e){let{value:t}=I;if(!L.value||-1===t)return void ee();let n=J(e);void 0!==n&&G(K(n,F.value[t]),t)}function en(){ee()}(0,a.YP)(I,(e,t)=>void(0,a.Y3)(()=>N.value=t)),(0,a.YP)(B,()=>{if(e.marks){if(M.value)return;M.value=!0,(0,a.Y3)(()=>{M.value=!1})}(0,a.Y3)(V)}),(0,a.Jd)(()=>{ee()});let er=(0,a.Fl)(()=>{let{self:{markFontSize:e,railColor:t,railColorHover:n,fillColor:r,fillColorHover:o,handleColor:i,opacityDisabled:a,dotColor:u,dotColorModal:l,handleBoxShadow:c,handleBoxShadowHover:f,handleBoxShadowActive:d,handleBoxShadowFocus:p,dotBorder:h,dotBoxShadow:g,railHeight:v,railWidthVertical:y,handleSize:m,dotHeight:b,dotWidth:w,dotBorderRadius:E,fontSize:D,dotBorderActive:S,dotColorPopover:x},common:{cubicBezierEaseInOut:C}}=s.value;return{"--n-bezier":C,"--n-dot-border":h,"--n-dot-border-active":S,"--n-dot-border-radius":E,"--n-dot-box-shadow":g,"--n-dot-color":u,"--n-dot-color-modal":l,"--n-dot-color-popover":x,"--n-dot-height":b,"--n-dot-width":w,"--n-fill-color":r,"--n-fill-color-hover":o,"--n-font-size":D,"--n-handle-box-shadow":c,"--n-handle-box-shadow-active":d,"--n-handle-box-shadow-focus":p,"--n-handle-box-shadow-hover":f,"--n-handle-color":i,"--n-handle-size":m,"--n-opacity-disabled":a,"--n-rail-color":t,"--n-rail-color-hover":n,"--n-rail-height":v,"--n-rail-width-vertical":y,"--n-mark-font-size":e}}),eo=u?(0,p.F)("slider",void 0,er,e):void 0,ei=(0,a.Fl)(()=>{let{self:{fontSize:e,indicatorColor:t,indicatorBoxShadow:n,indicatorTextColor:r,indicatorBorderRadius:o}}=s.value;return{"--n-font-size":e,"--n-indicator-border-radius":o,"--n-indicator-box-shadow":n,"--n-indicator-color":t,"--n-indicator-text-color":r}}),ea=u?(0,p.F)("slider-indicator",void 0,ei,e):void 0;return{mergedClsPrefix:t,namespace:n,uncontrolledValue:k,mergedValue:B,mergedDisabled:O,mergedPlacement:_,isMounted:(0,i.Z)(),adjustedTo:(0,h.n)(e),dotTransitionDisabled:M,markInfos:H,isShowTooltip:U,shouldKeepTooltipTransition:function(e){return!L.value||I.value!==e||N.value!==e},handleRailRef:l,setHandleRefs:y,setFollowerRefs:w,fillStyle:$,getHandleStyle:function(e,t){let n=X(e),{value:r}=z;return{[r]:`${n}%`,zIndex:+(t===I.value)}},activeIndex:I,arrifiedValues:F,followerEnabledIndexSet:E,handleRailMouseDown:function(t){var n,o,i;if(O.value||!S(t)&&0!==t.button)return;let a=J(t);if(void 0===a)return;let u=F.value.slice(),s=e.range?null!=(o=null==(n=Y(a,u))?void 0:n.index)?o:-1:0;-1!==s&&(t.preventDefault(),~s&&(I.value=s,null==(i=v.get(s))||i.focus()),L.value||(L.value=!0,e.onDragstart&&(0,g.R)(e.onDragstart),(0,r.on)("touchend",document,en),(0,r.on)("mouseup",document,en),(0,r.on)("touchmove",document,et),(0,r.on)("mousemove",document,et)),G(K(a,F.value[s]),s))},handleHandleFocus:function(e){I.value=e,O.value||(R.value=e)},handleHandleBlur:function(e){I.value===e&&(I.value=-1,ee()),R.value===e&&(R.value=-1)},handleHandleMouseEnter:function(e){R.value=e},handleHandleMouseLeave:function(e){R.value===e&&(R.value=-1)},handleRailKeyDown:function(t){if(O.value||!e.keyboard)return;let{vertical:n,reverse:r}=e;switch(t.key){case"ArrowUp":t.preventDefault(),Q(n&&r?-1:1);break;case"ArrowRight":t.preventDefault(),Q(!n&&r?-1:1);break;case"ArrowDown":t.preventDefault(),Q(n&&r?1:-1);break;case"ArrowLeft":t.preventDefault(),Q(!n&&r?1:-1)}},indicatorCssVars:u?void 0:ei,indicatorThemeClass:null==ea?void 0:ea.themeClass,indicatorOnRender:null==ea?void 0:ea.onRender,cssVars:u?void 0:er,themeClass:null==eo?void 0:eo.themeClass,onRender:null==eo?void 0:eo.onRender}},render(){var e;let{mergedClsPrefix:t,themeClass:n,formatTooltip:r}=this;return null==(e=this.onRender)||e.call(this),(0,a.h)("div",{class:[`${t}-slider`,n,{[`${t}-slider--disabled`]:this.mergedDisabled,[`${t}-slider--active`]:-1!==this.activeIndex,[`${t}-slider--with-mark`]:this.marks,[`${t}-slider--vertical`]:this.vertical,[`${t}-slider--reverse`]:this.reverse}],style:this.cssVars,onKeydown:this.handleRailKeyDown,onMousedown:this.handleRailMouseDown,onTouchstart:this.handleRailMouseDown},(0,a.h)("div",{class:`${t}-slider-rail`},(0,a.h)("div",{class:`${t}-slider-rail__fill`,style:this.fillStyle}),this.marks?(0,a.h)("div",{class:[`${t}-slider-dots`,this.dotTransitionDisabled&&`${t}-slider-dots--transition-disabled`]},this.markInfos.map(e=>(0,a.h)("div",{key:e.key,class:[`${t}-slider-dot`,{[`${t}-slider-dot--active`]:e.active}],style:e.style}))):null,(0,a.h)("div",{ref:"handleRailRef",class:`${t}-slider-handles`},this.arrifiedValues.map((e,n)=>{let o=this.isShowTooltip(n);return(0,a.h)(u.Z,null,{default:()=>[(0,a.h)(s.Z,null,{default:()=>(0,a.h)("div",{ref:this.setHandleRefs(n),class:`${t}-slider-handle-wrapper`,tabindex:this.mergedDisabled?-1:0,role:"slider","aria-valuenow":e,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-orientation":this.vertical?"vertical":"horizontal","aria-disabled":this.disabled,style:this.getHandleStyle(e,n),onFocus:()=>{this.handleHandleFocus(n)},onBlur:()=>{this.handleHandleBlur(n)},onMouseenter:()=>{this.handleHandleMouseEnter(n)},onMouseleave:()=>{this.handleHandleMouseLeave(n)}},(0,v.gI)(this.$slots.thumb,()=>[(0,a.h)("div",{class:`${t}-slider-handle`})]))}),this.tooltip&&(0,a.h)(l.Z,{ref:this.setFollowerRefs(n),show:o,to:this.adjustedTo,enabled:this.showTooltip&&!this.range||this.followerEnabledIndexSet.has(n),teleportDisabled:this.adjustedTo===h.n.tdkey,placement:this.mergedPlacement,containerClass:this.namespace},{default:()=>(0,a.h)(a.uT,{name:"fade-in-scale-up-transition",appear:this.isMounted,css:this.shouldKeepTooltipTransition(n),onEnter:()=>{this.followerEnabledIndexSet.add(n)},onAfterLeave:()=>{this.followerEnabledIndexSet.delete(n)}},{default:()=>{var n;return o?(null==(n=this.indicatorOnRender)||n.call(this),(0,a.h)("div",{class:[`${t}-slider-handle-indicator`,this.indicatorThemeClass,`${t}-slider-handle-indicator--${this.mergedPlacement}`],style:this.indicatorCssVars},"function"==typeof r?r(e):e)):null}})})]})})),this.marks?(0,a.h)("div",{class:`${t}-slider-marks`},this.markInfos.map(e=>(0,a.h)("div",{key:e.key,class:`${t}-slider-mark`,style:e.style},"function"==typeof e.label?e.label():e.label))):null))}})},34679:function(e,t,n){n.d(t,{PD:()=>D});var r={};function o(e){let t=null;return()=>(null==t&&(t=e()),t)}n.r(r),n.d(r,{FILE:()=>u,HTML:()=>c,TEXT:()=>l,URL:()=>s});class i{enter(e){let t=this.entered.length;return this.entered=function(e,t){let n=new Set,r=e=>n.add(e);e.forEach(r),t.forEach(r);let o=[];return n.forEach(e=>o.push(e)),o}(this.entered.filter(t=>this.isNodeInDocument(t)&&(!t.contains||t.contains(e))),[e]),0===t&&this.entered.length>0}leave(e){var t;let n=this.entered.length;return this.entered=(t=this.entered.filter(this.isNodeInDocument),t.filter(t=>t!==e)),n>0&&0===this.entered.length}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}}class a{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(e=>{Object.defineProperty(this.item,e,{configurable:!0,enumerable:!0,get:()=>(console.warn(`Browser doesn't allow reading "${e}" until the drop event.`),null)})})}loadDataTransfer(e){if(e){let t={};Object.keys(this.config.exposeProperties).forEach(n=>{let r=this.config.exposeProperties[n];null!=r&&(t[n]={value:r(e,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,t)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(e,t){return t===e.getSourceId()}endDrag(){}constructor(e){this.config=e,this.item={},this.initializeExposedProperties()}}let u="__NATIVE_FILE__",s="__NATIVE_URL__",l="__NATIVE_TEXT__",c="__NATIVE_HTML__";function f(e,t,n){let r=t.reduce((t,n)=>t||e.getData(n),"");return null!=r?r:n}let d={[u]:{exposeProperties:{files:e=>Array.prototype.slice.call(e.files),items:e=>e.items,dataTransfer:e=>e},matchesTypes:["Files"]},[c]:{exposeProperties:{html:(e,t)=>f(e,t,""),dataTransfer:e=>e},matchesTypes:["Html","text/html"]},[s]:{exposeProperties:{urls:(e,t)=>f(e,t,"").split("\n"),dataTransfer:e=>e},matchesTypes:["Url","text/uri-list"]},[l]:{exposeProperties:{text:(e,t)=>f(e,t,""),dataTransfer:e=>e},matchesTypes:["Text","text/plain"]}};function p(e){if(!e)return null;let t=Array.prototype.slice.call(e.types||[]);return Object.keys(d).filter(e=>{let n=d[e];return!!(null==n?void 0:n.matchesTypes)&&n.matchesTypes.some(e=>t.indexOf(e)>-1)})[0]||null}let h=o(()=>/firefox/i.test(navigator.userAgent)),g=o(()=>!!window.safari);class v{interpolate(e){let t,{xs:n,ys:r,c1s:o,c2s:i,c3s:a}=this,u=n.length-1;if(e===n[u])return r[u];let s=0,l=a.length-1;for(;s<=l;){let o=n[t=Math.floor(.5*(s+l))];if(o<e)s=t+1;else{if(!(o>e))return r[t];l=t-1}}let c=e-n[u=Math.max(0,l)],f=c*c;return r[u]+o[u]*c+i[u]*f+a[u]*c*f}constructor(e,t){let n,r,o,{length:i}=e,a=[];for(let e=0;e<i;e++)a.push(e);a.sort((t,n)=>e[t]<e[n]?-1:1);let u=[],s=[],l=[];for(let o=0;o<i-1;o++)n=e[o+1]-e[o],r=t[o+1]-t[o],s.push(n),u.push(r),l.push(r/n);let c=[l[0]];for(let e=0;e<s.length-1;e++){let t=l[e],r=l[e+1];if(t*r<=0)c.push(0);else{n=s[e];let o=s[e+1],i=n+o;c.push(3*i/((i+o)/t+(i+n)/r))}}c.push(l[l.length-1]);let f=[],d=[];for(let e=0;e<c.length-1;e++){o=l[e];let t=c[e],n=1/s[e],r=t+c[e+1]-o-o;f.push((o-t-r)*n),d.push(r*n*n)}this.xs=e,this.ys=t,this.c1s=c,this.c2s=f,this.c3s=d}}function y(e){let t=1===e.nodeType?e:e.parentElement;if(!t)return null;let{top:n,left:r}=t.getBoundingClientRect();return{x:r,y:n}}function m(e){return{x:e.clientX,y:e.clientY}}class b{get window(){return this.globalContext?this.globalContext:"undefined"!=typeof window?window:void 0}get document(){var e;return(null==(e=this.globalContext)?void 0:e.document)?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var e;return(null==(e=this.optionsArgs)?void 0:e.rootElement)||this.window}constructor(e,t){this.ownerDocument=null,this.globalContext=e,this.optionsArgs=t}}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}class E{profile(){var e,t;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:(null==(e=this.dragStartSourceIds)?void 0:e.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:(null==(t=this.dragOverTargetIds)?void 0:t.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){let e=this.rootElement;if(void 0!==e){if(e.__isReactDndBackendSetUp)throw Error("Cannot have two HTML5 backends at the same time.");e.__isReactDndBackendSetUp=!0,this.addEventListeners(e)}}teardown(){let e=this.rootElement;if(void 0!==e&&(e.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var t;null==(t=this.window)||t.cancelAnimationFrame(this.asyncEndDragFrameId)}}connectDragPreview(e,t,n){return this.sourcePreviewNodeOptions.set(e,n),this.sourcePreviewNodes.set(e,t),()=>{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDragSource(e,t,n){this.sourceNodes.set(e,t),this.sourceNodeOptions.set(e,n);let r=t=>this.handleDragStart(t,e),o=e=>this.handleSelectStart(e);return t.setAttribute("draggable","true"),t.addEventListener("dragstart",r),t.addEventListener("selectstart",o),()=>{this.sourceNodes.delete(e),this.sourceNodeOptions.delete(e),t.removeEventListener("dragstart",r),t.removeEventListener("selectstart",o),t.setAttribute("draggable","false")}}connectDropTarget(e,t){let n=t=>this.handleDragEnter(t,e),r=t=>this.handleDragOver(t,e),o=t=>this.handleDrop(t,e);return t.addEventListener("dragenter",n),t.addEventListener("dragover",r),t.addEventListener("drop",o),()=>{t.removeEventListener("dragenter",n),t.removeEventListener("dragover",r),t.removeEventListener("drop",o)}}addEventListeners(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){let e=this.monitor.getSourceId(),t=this.sourceNodeOptions.get(e);return w({dropEffect:this.altKeyPressed?"copy":"move"},t||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){let e=this.monitor.getSourceId();return w({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(e)||{})}isDraggingNativeItem(){let e=this.monitor.getItemType();return Object.keys(r).some(t=>r[t]===e)}beginDragNativeItem(e,t){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(e,t){let n=d[e];if(!n)throw Error(`native type ${e} has no configuration`);let r=new a(n);return r.loadDataTransfer(t),r}(e,t),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.mouseMoveTimeoutTimer=setTimeout(()=>{var e;return null==(e=this.rootElement)?void 0:e.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},1e3)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var e;null==(e=this.window)||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(e,t){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(t))}handleDragEnter(e,t){this.dragEnterTargetIds.unshift(t)}handleDragOver(e,t){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(t)}handleDrop(e,t){this.dropTargetIds.unshift(t)}constructor(e,t,n){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=e=>{let t=this.sourceNodes.get(e);return t&&y(t)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=e=>!!(e&&this.document&&this.document.body&&this.document.body.contains(e)),this.endDragIfSourceWasRemovedFromDOM=()=>{let e=this.currentDragSourceNode;null==e||this.isNodeInDocument(e)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=e=>{null===this.hoverRafId&&"undefined"!=typeof requestAnimationFrame&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(e||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{null!==this.hoverRafId&&"undefined"!=typeof cancelAnimationFrame&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=e=>{if(e.defaultPrevented)return;let{dragStartSourceIds:t}=this;this.dragStartSourceIds=null;let n=m(e);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(t||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:n});let{dataTransfer:r}=e,o=p(r);if(this.monitor.isDragging()){if(r&&"function"==typeof r.setDragImage){let e=this.monitor.getSourceId(),t=this.sourceNodes.get(e),o=this.sourcePreviewNodes.get(e)||t;if(o){let{anchorX:e,anchorY:i,offsetX:a,offsetY:u}=this.getCurrentSourcePreviewNodeOptions(),s=function(e,t,n,r,o){var i;let a,u,s,l="IMG"===t.nodeName&&(h()||!(null==(i=document.documentElement)?void 0:i.contains(t))),c=y(l?e:t),f={x:n.x-c.x,y:n.y-c.y},{offsetWidth:d,offsetHeight:p}=e,{anchorX:m,anchorY:b}=r,{dragPreviewWidth:w,dragPreviewHeight:E}=(a=l?t.width:d,u=l?t.height:p,g()&&l&&(u/=window.devicePixelRatio,a/=window.devicePixelRatio),{dragPreviewWidth:a,dragPreviewHeight:u}),{offsetX:D,offsetY:S}=o;return{x:0===D||D?D:new v([0,.5,1],[f.x,f.x/d*w,f.x+w-d]).interpolate(m),y:0===S||S?S:(s=new v([0,.5,1],[f.y,f.y/p*E,f.y+E-p]).interpolate(b),g()&&l&&(s+=(window.devicePixelRatio-1)*E),s)}}(t,o,n,{anchorX:e,anchorY:i},{offsetX:a,offsetY:u});r.setDragImage(o,s.x,s.y)}}try{null==r||r.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target);let{captureDraggingState:t}=this.getCurrentSourcePreviewNodeOptions();t?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(o)this.beginDragNativeItem(o);else{if(r&&!r.types&&(e.target&&!e.target.hasAttribute||!e.target.hasAttribute("draggable")))return;e.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=e=>{if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()){var t;null==(t=this.currentNativeSource)||t.loadDataTransfer(e.dataTransfer)}if(!this.enterLeaveCounter.enter(e.target)||this.monitor.isDragging())return;let{dataTransfer:n}=e,r=p(n);r&&this.beginDragNativeItem(r,n)},this.handleTopDragEnter=e=>{let{dragEnterTargetIds:t}=this;this.dragEnterTargetIds=[],this.monitor.isDragging()&&(this.altKeyPressed=e.altKey,t.length>0&&this.actions.hover(t,{clientOffset:m(e)}),t.some(e=>this.monitor.canDropOnTarget(e))&&(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())))},this.handleTopDragOverCapture=e=>{if(this.dragOverTargetIds=[],this.isDraggingNativeItem()){var t;null==(t=this.currentNativeSource)||t.loadDataTransfer(e.dataTransfer)}},this.handleTopDragOver=e=>{let{dragOverTargetIds:t}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging()){e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none");return}this.altKeyPressed=e.altKey,this.lastClientOffset=m(e),this.scheduleHover(t),(t||[]).some(e=>this.monitor.canDropOnTarget(e))?(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?e.preventDefault():(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=e=>{this.isDraggingNativeItem()&&e.preventDefault(),this.enterLeaveCounter.leave(e.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=e=>{if(this.dropTargetIds=[],this.isDraggingNativeItem()){var t;e.preventDefault(),null==(t=this.currentNativeSource)||t.loadDataTransfer(e.dataTransfer)}else p(e.dataTransfer)&&e.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=e=>{let{dropTargetIds:t}=this;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:m(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=e=>{let t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))},this.options=new b(t,n),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new i(this.isNodeInDocument)}}let D=function(e,t,n){return new E(e,t,n)}}}]);\ No newline at end of file+ `),(0,w.h)()]),(0,E.ko)((0,E.cB)("slider",[(0,E.cB)("slider-dot","background-color: var(--n-dot-color-modal);")])),(0,E.WW)((0,E.cB)("slider",[(0,E.cB)("slider-dot","background-color: var(--n-dot-color-popover);")]))]);function S(e){return window.TouchEvent&&e instanceof window.TouchEvent}function x(){let e=new Map;return(0,a.Xn)(()=>{e.clear()}),[e,t=>n=>{e.set(t,n)}]}let C=Object.assign(Object.assign({},c.Z.props),{to:h.n.propTo,defaultValue:{type:[Number,Array],default:0},marks:Object,disabled:{type:Boolean,default:void 0},formatTooltip:Function,keyboard:{type:Boolean,default:!0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:[Number,String],default:1},range:Boolean,value:[Number,Array],placement:String,showTooltip:{type:Boolean,default:void 0},tooltip:{type:Boolean,default:!0},vertical:Boolean,reverse:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onDragstart:[Function],onDragend:[Function]}),O=(0,a.aZ)({name:"Slider",props:C,slots:Object,setup(e){let{mergedClsPrefixRef:t,namespaceRef:n,inlineThemeDisabled:u}=(0,f.ZP)(e),s=(0,c.Z)("Slider","-slider",D,b,e,t),l=(0,a.iH)(null),[v,y]=x(),[m,w]=x(),E=(0,a.iH)(new Set),C=(0,d.Z)(e),{mergedDisabledRef:O}=C,A=(0,a.Fl)(()=>{let{step:t}=e;if(0>=Number(t)||"mark"===t)return 0;let n=t.toString(),r=0;return n.includes(".")&&(r=n.length-n.indexOf(".")-1),r}),k=(0,a.iH)(e.defaultValue),T=(0,a.Vh)(e,"value"),B=(0,o.Z)(T,k),F=(0,a.Fl)(()=>{let{value:t}=B;return(e.range?t:[t]).map(Z)}),_=(0,a.Fl)(()=>F.value.length>2),P=(0,a.Fl)(()=>void 0===e.placement?e.vertical?"right":"top":e.placement),j=(0,a.Fl)(()=>{let{marks:t}=e;return t?Object.keys(t).map(Number.parseFloat):null}),I=(0,a.iH)(-1),N=(0,a.iH)(-1),R=(0,a.iH)(-1),L=(0,a.iH)(!1),M=(0,a.iH)(!1),z=(0,a.Fl)(()=>{let{vertical:t,reverse:n}=e;return t?n?"top":"bottom":n?"right":"left"}),$=(0,a.Fl)(()=>{if(_.value)return;let t=F.value,n=X(e.range?Math.min(...t):e.min),r=X(e.range?Math.max(...t):t[0]),{value:o}=z;return e.vertical?{[o]:`${n}%`,height:`${r-n}%`}:{[o]:`${n}%`,width:`${r-n}%`}}),H=(0,a.Fl)(()=>{let t=[],{marks:n}=e;if(n){let r=F.value.slice();r.sort((e,t)=>e-t);let{value:o}=z,{value:i}=_,{range:a}=e,u=i?()=>!1:e=>a?e>=r[0]&&e<=r[r.length-1]:e<=r[0];for(let e of Object.keys(n)){let r=Number(e);t.push({active:u(r),key:r,label:n[e],style:{[o]:`${X(r)}%`}})}}return t});function U(t){return e.showTooltip||R.value===t||I.value===t&&L.value}function V(){m.forEach((e,t)=>{U(t)&&e.syncPosition()})}function W(t){let{"onUpdate:value":n,onUpdateValue:r}=e,{nTriggerFormInput:o,nTriggerFormChange:i}=C;r&&(0,g.R)(r,t),n&&(0,g.R)(n,t),k.value=t,o(),i()}function q(t){let{range:n}=e;if(n){if(Array.isArray(t)){let{value:e}=F;t.join()!==e.join()&&W(t)}}else Array.isArray(t)||F.value[0]!==t&&W(t)}function G(t,n){if(e.range){let e=F.value.slice();e.splice(n,1,t),q(e)}else q(t)}function K(t,n,r){let o,i=void 0!==r;r||(r=t-n>0?1:-1);let a=j.value||[],{step:u}=e;if("mark"===u){let e=Y(t,a.concat(n),i?r:void 0);return e?e.value:n}if(u<=0)return n;let{value:s}=A;if(i){let e=Number((n/u).toFixed(s)),t=Math.floor(e);o=Y(n,[Number(((e>t?t:t-1)*u).toFixed(s)),Number(((e<t?t:t+1)*u).toFixed(s)),...a],r)}else{let n=function(t){let{step:n,min:r}=e;return 0>=Number(n)||"mark"===n?t:Number((Math.round((t-r)/n)*n+r).toFixed(A.value))}(t);o=Y(t,[...a,n])}return o?Z(o.value):n}function Z(t){return Math.min(e.max,Math.max(e.min,t))}function X(t){let{max:n,min:r}=e;return(t-r)/(n-r)*100}function Y(e,t=j.value,n){if(!(null==t?void 0:t.length))return null;let r=null,o=-1;for(;++o<t.length;){let i=t[o]-e,a=Math.abs(i);(void 0===n||i*n>0)&&(null===r||a<r.distance)&&(r={index:o,distance:a,value:t[o]})}return r}function J(t){let n,r=l.value;if(!r)return;let o=S(t)?t.touches[0]:t,i=r.getBoundingClientRect();n=e.vertical?(i.bottom-o.clientY)/i.height:(o.clientX-i.left)/i.width,e.reverse&&(n=1-n);let{max:a,min:u}=e;return u+(a-u)*n}function Q(t){let n=I.value;if(-1===n)return;let{step:r}=e,o=F.value[n];G(K(0>=Number(r)||"mark"===r?o:o+r*t,o,t>0?1:-1),n)}function ee(){L.value&&(L.value=!1,e.onDragend&&(0,g.R)(e.onDragend),(0,r.S)("touchend",document,en),(0,r.S)("mouseup",document,en),(0,r.S)("touchmove",document,et),(0,r.S)("mousemove",document,et))}function et(e){let{value:t}=I;if(!L.value||-1===t)return void ee();let n=J(e);void 0!==n&&G(K(n,F.value[t]),t)}function en(){ee()}(0,a.YP)(I,(e,t)=>void(0,a.Y3)(()=>N.value=t)),(0,a.YP)(B,()=>{if(e.marks){if(M.value)return;M.value=!0,(0,a.Y3)(()=>{M.value=!1})}(0,a.Y3)(V)}),(0,a.Jd)(()=>{ee()});let er=(0,a.Fl)(()=>{let{self:{markFontSize:e,railColor:t,railColorHover:n,fillColor:r,fillColorHover:o,handleColor:i,opacityDisabled:a,dotColor:u,dotColorModal:l,handleBoxShadow:c,handleBoxShadowHover:f,handleBoxShadowActive:d,handleBoxShadowFocus:p,dotBorder:h,dotBoxShadow:g,railHeight:v,railWidthVertical:y,handleSize:m,dotHeight:b,dotWidth:w,dotBorderRadius:E,fontSize:D,dotBorderActive:S,dotColorPopover:x},common:{cubicBezierEaseInOut:C}}=s.value;return{"--n-bezier":C,"--n-dot-border":h,"--n-dot-border-active":S,"--n-dot-border-radius":E,"--n-dot-box-shadow":g,"--n-dot-color":u,"--n-dot-color-modal":l,"--n-dot-color-popover":x,"--n-dot-height":b,"--n-dot-width":w,"--n-fill-color":r,"--n-fill-color-hover":o,"--n-font-size":D,"--n-handle-box-shadow":c,"--n-handle-box-shadow-active":d,"--n-handle-box-shadow-focus":p,"--n-handle-box-shadow-hover":f,"--n-handle-color":i,"--n-handle-size":m,"--n-opacity-disabled":a,"--n-rail-color":t,"--n-rail-color-hover":n,"--n-rail-height":v,"--n-rail-width-vertical":y,"--n-mark-font-size":e}}),eo=u?(0,p.F)("slider",void 0,er,e):void 0,ei=(0,a.Fl)(()=>{let{self:{fontSize:e,indicatorColor:t,indicatorBoxShadow:n,indicatorTextColor:r,indicatorBorderRadius:o}}=s.value;return{"--n-font-size":e,"--n-indicator-border-radius":o,"--n-indicator-box-shadow":n,"--n-indicator-color":t,"--n-indicator-text-color":r}}),ea=u?(0,p.F)("slider-indicator",void 0,ei,e):void 0;return{mergedClsPrefix:t,namespace:n,uncontrolledValue:k,mergedValue:B,mergedDisabled:O,mergedPlacement:P,isMounted:(0,i.Z)(),adjustedTo:(0,h.n)(e),dotTransitionDisabled:M,markInfos:H,isShowTooltip:U,shouldKeepTooltipTransition:function(e){return!L.value||I.value!==e||N.value!==e},handleRailRef:l,setHandleRefs:y,setFollowerRefs:w,fillStyle:$,getHandleStyle:function(e,t){let n=X(e),{value:r}=z;return{[r]:`${n}%`,zIndex:+(t===I.value)}},activeIndex:I,arrifiedValues:F,followerEnabledIndexSet:E,handleRailMouseDown:function(t){var n,o,i;if(O.value||!S(t)&&0!==t.button)return;let a=J(t);if(void 0===a)return;let u=F.value.slice(),s=e.range?null!=(o=null==(n=Y(a,u))?void 0:n.index)?o:-1:0;-1!==s&&(t.preventDefault(),~s&&(I.value=s,null==(i=v.get(s))||i.focus()),L.value||(L.value=!0,e.onDragstart&&(0,g.R)(e.onDragstart),(0,r.on)("touchend",document,en),(0,r.on)("mouseup",document,en),(0,r.on)("touchmove",document,et),(0,r.on)("mousemove",document,et)),G(K(a,F.value[s]),s))},handleHandleFocus:function(e){I.value=e,O.value||(R.value=e)},handleHandleBlur:function(e){I.value===e&&(I.value=-1,ee()),R.value===e&&(R.value=-1)},handleHandleMouseEnter:function(e){R.value=e},handleHandleMouseLeave:function(e){R.value===e&&(R.value=-1)},handleRailKeyDown:function(t){if(O.value||!e.keyboard)return;let{vertical:n,reverse:r}=e;switch(t.key){case"ArrowUp":t.preventDefault(),Q(n&&r?-1:1);break;case"ArrowRight":t.preventDefault(),Q(!n&&r?-1:1);break;case"ArrowDown":t.preventDefault(),Q(n&&r?1:-1);break;case"ArrowLeft":t.preventDefault(),Q(!n&&r?1:-1)}},indicatorCssVars:u?void 0:ei,indicatorThemeClass:null==ea?void 0:ea.themeClass,indicatorOnRender:null==ea?void 0:ea.onRender,cssVars:u?void 0:er,themeClass:null==eo?void 0:eo.themeClass,onRender:null==eo?void 0:eo.onRender}},render(){var e;let{mergedClsPrefix:t,themeClass:n,formatTooltip:r}=this;return null==(e=this.onRender)||e.call(this),(0,a.h)("div",{class:[`${t}-slider`,n,{[`${t}-slider--disabled`]:this.mergedDisabled,[`${t}-slider--active`]:-1!==this.activeIndex,[`${t}-slider--with-mark`]:this.marks,[`${t}-slider--vertical`]:this.vertical,[`${t}-slider--reverse`]:this.reverse}],style:this.cssVars,onKeydown:this.handleRailKeyDown,onMousedown:this.handleRailMouseDown,onTouchstart:this.handleRailMouseDown},(0,a.h)("div",{class:`${t}-slider-rail`},(0,a.h)("div",{class:`${t}-slider-rail__fill`,style:this.fillStyle}),this.marks?(0,a.h)("div",{class:[`${t}-slider-dots`,this.dotTransitionDisabled&&`${t}-slider-dots--transition-disabled`]},this.markInfos.map(e=>(0,a.h)("div",{key:e.key,class:[`${t}-slider-dot`,{[`${t}-slider-dot--active`]:e.active}],style:e.style}))):null,(0,a.h)("div",{ref:"handleRailRef",class:`${t}-slider-handles`},this.arrifiedValues.map((e,n)=>{let o=this.isShowTooltip(n);return(0,a.h)(u.Z,null,{default:()=>[(0,a.h)(s.Z,null,{default:()=>(0,a.h)("div",{ref:this.setHandleRefs(n),class:`${t}-slider-handle-wrapper`,tabindex:this.mergedDisabled?-1:0,role:"slider","aria-valuenow":e,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-orientation":this.vertical?"vertical":"horizontal","aria-disabled":this.disabled,style:this.getHandleStyle(e,n),onFocus:()=>{this.handleHandleFocus(n)},onBlur:()=>{this.handleHandleBlur(n)},onMouseenter:()=>{this.handleHandleMouseEnter(n)},onMouseleave:()=>{this.handleHandleMouseLeave(n)}},(0,v.gI)(this.$slots.thumb,()=>[(0,a.h)("div",{class:`${t}-slider-handle`})]))}),this.tooltip&&(0,a.h)(l.Z,{ref:this.setFollowerRefs(n),show:o,to:this.adjustedTo,enabled:this.showTooltip&&!this.range||this.followerEnabledIndexSet.has(n),teleportDisabled:this.adjustedTo===h.n.tdkey,placement:this.mergedPlacement,containerClass:this.namespace},{default:()=>(0,a.h)(a.uT,{name:"fade-in-scale-up-transition",appear:this.isMounted,css:this.shouldKeepTooltipTransition(n),onEnter:()=>{this.followerEnabledIndexSet.add(n)},onAfterLeave:()=>{this.followerEnabledIndexSet.delete(n)}},{default:()=>{var n;return o?(null==(n=this.indicatorOnRender)||n.call(this),(0,a.h)("div",{class:[`${t}-slider-handle-indicator`,this.indicatorThemeClass,`${t}-slider-handle-indicator--${this.mergedPlacement}`],style:this.indicatorCssVars},"function"==typeof r?r(e):e)):null}})})]})})),this.marks?(0,a.h)("div",{class:`${t}-slider-marks`},this.markInfos.map(e=>(0,a.h)("div",{key:e.key,class:`${t}-slider-mark`,style:e.style},"function"==typeof e.label?e.label():e.label))):null))}})},29875:function(e,t,n){let r;n.d(t,{Z:()=>S});var o=n(65083),i=n(20013),a=n(58786),u=n(76128),s=n(62594),l=n(56946),c=n(54470),f=n(32196),d=n(53198),p=n(44267),h=n(71309),g=n(93950),v=n(19595),y=n(9798),m=n(30951);let b={name:"Switch",common:y.Z,self:function(e){let{primaryColor:t,opacityDisabled:n,borderRadius:r,textColor3:o}=e;return Object.assign(Object.assign({},m.Z),{iconColor:o,textColor:"white",loadingColor:t,opacityDisabled:n,railColor:"rgba(0, 0, 0, .14)",railColorActive:t,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:r,railBorderRadiusMedium:r,railBorderRadiusLarge:r,buttonBorderRadiusSmall:r,buttonBorderRadiusMedium:r,buttonBorderRadiusLarge:r,boxShadowFocus:`0 0 0 2px ${(0,v.zX)(t,{alpha:.2})}`})}};var w=n(28632);let E=(0,h.cB)("switch",`+ height: var(--n-height);+ min-width: var(--n-width);+ vertical-align: middle;+ user-select: none;+ -webkit-user-select: none;+ display: inline-flex;+ outline: none;+ justify-content: center;+ align-items: center;+`,[(0,h.cE)("children-placeholder",`+ height: var(--n-rail-height);+ display: flex;+ flex-direction: column;+ overflow: hidden;+ pointer-events: none;+ visibility: hidden;+ `),(0,h.cE)("rail-placeholder",`+ display: flex;+ flex-wrap: none;+ `),(0,h.cE)("button-placeholder",`+ width: calc(1.75 * var(--n-rail-height));+ height: var(--n-rail-height);+ `),(0,h.cB)("base-loading",`+ position: absolute;+ top: 50%;+ left: 50%;+ transform: translateX(-50%) translateY(-50%);+ font-size: calc(var(--n-button-width) - 4px);+ color: var(--n-loading-color);+ transition: color .3s var(--n-bezier);+ `,[(0,w.c)({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),(0,h.cE)("checked, unchecked",`+ transition: color .3s var(--n-bezier);+ color: var(--n-text-color);+ box-sizing: border-box;+ position: absolute;+ white-space: nowrap;+ top: 0;+ bottom: 0;+ display: flex;+ align-items: center;+ line-height: 1;+ `),(0,h.cE)("checked",`+ right: 0;+ padding-right: calc(1.25 * var(--n-rail-height) - var(--n-offset));+ `),(0,h.cE)("unchecked",`+ left: 0;+ justify-content: flex-end;+ padding-left: calc(1.25 * var(--n-rail-height) - var(--n-offset));+ `),(0,h.c)("&:focus",[(0,h.cE)("rail",`+ box-shadow: var(--n-box-shadow-focus);+ `)]),(0,h.cM)("round",[(0,h.cE)("rail","border-radius: calc(var(--n-rail-height) / 2);",[(0,h.cE)("button","border-radius: calc(var(--n-button-height) / 2);")])]),(0,h.u4)("disabled",[(0,h.u4)("icon",[(0,h.cM)("rubber-band",[(0,h.cM)("pressed",[(0,h.cE)("rail",[(0,h.cE)("button","max-width: var(--n-button-width-pressed);")])]),(0,h.cE)("rail",[(0,h.c)("&:active",[(0,h.cE)("button","max-width: var(--n-button-width-pressed);")])]),(0,h.cM)("active",[(0,h.cM)("pressed",[(0,h.cE)("rail",[(0,h.cE)("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),(0,h.cE)("rail",[(0,h.c)("&:active",[(0,h.cE)("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),(0,h.cM)("active",[(0,h.cE)("rail",[(0,h.cE)("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),(0,h.cE)("rail",`+ overflow: hidden;+ height: var(--n-rail-height);+ min-width: var(--n-rail-width);+ border-radius: var(--n-rail-border-radius);+ cursor: pointer;+ position: relative;+ transition:+ opacity .3s var(--n-bezier),+ background .3s var(--n-bezier),+ box-shadow .3s var(--n-bezier);+ background-color: var(--n-rail-color);+ `,[(0,h.cE)("button-icon",`+ color: var(--n-icon-color);+ transition: color .3s var(--n-bezier);+ font-size: calc(var(--n-button-height) - 4px);+ position: absolute;+ left: 0;+ right: 0;+ top: 0;+ bottom: 0;+ display: flex;+ justify-content: center;+ align-items: center;+ line-height: 1;+ `,[(0,w.c)()]),(0,h.cE)("button",`+ align-items: center;+ top: var(--n-offset);+ left: var(--n-offset);+ height: var(--n-button-height);+ width: var(--n-button-width-pressed);+ max-width: var(--n-button-width);+ border-radius: var(--n-button-border-radius);+ background-color: var(--n-button-color);+ box-shadow: var(--n-button-box-shadow);+ box-sizing: border-box;+ cursor: inherit;+ content: "";+ position: absolute;+ transition:+ background-color .3s var(--n-bezier),+ left .3s var(--n-bezier),+ opacity .3s var(--n-bezier),+ max-width .3s var(--n-bezier),+ box-shadow .3s var(--n-bezier);+ `)]),(0,h.cM)("active",[(0,h.cE)("rail","background-color: var(--n-rail-color-active);")]),(0,h.cM)("loading",[(0,h.cE)("rail",`+ cursor: wait;+ `)]),(0,h.cM)("disabled",[(0,h.cE)("rail",`+ cursor: not-allowed;+ opacity: .5;+ `)])]),D=Object.assign(Object.assign({},l.Z.props),{size:{type:String,default:"medium"},value:{type:[String,Number,Boolean],default:void 0},loading:Boolean,defaultValue:{type:[String,Number,Boolean],default:!1},disabled:{type:Boolean,default:void 0},round:{type:Boolean,default:!0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},railStyle:Function,rubberBand:{type:Boolean,default:!0},onChange:[Function,Array]}),S=(0,a.aZ)({name:"Switch",props:D,slots:Object,setup(e){void 0===r&&(r="undefined"==typeof CSS||void 0!==CSS.supports&&CSS.supports("width","max(1px)"));let{mergedClsPrefixRef:t,inlineThemeDisabled:n}=(0,c.ZP)(e),u=(0,l.Z)("Switch","-switch",E,b,e,t),s=(0,f.Z)(e),{mergedSizeRef:g,mergedDisabledRef:v}=s,y=(0,a.iH)(e.defaultValue),m=(0,a.Vh)(e,"value"),w=(0,i.Z)(m,y),D=(0,a.Fl)(()=>w.value===e.checkedValue),S=(0,a.iH)(!1),x=(0,a.iH)(!1),C=(0,a.Fl)(()=>{let{railStyle:t}=e;if(t)return t({focused:x.value,checked:D.value})});function O(t){let{"onUpdate:value":n,onChange:r,onUpdateValue:o}=e,{nTriggerFormInput:i,nTriggerFormChange:a}=s;n&&(0,p.R)(n,t),o&&(0,p.R)(o,t),r&&(0,p.R)(r,t),y.value=t,i(),a()}let A=(0,a.Fl)(()=>{let e,t,n,{value:i}=g,{self:{opacityDisabled:a,railColor:s,railColorActive:l,buttonBoxShadow:c,buttonColor:f,boxShadowFocus:d,loadingColor:p,textColor:v,iconColor:y,[(0,h.Tl)("buttonHeight",i)]:m,[(0,h.Tl)("buttonWidth",i)]:b,[(0,h.Tl)("buttonWidthPressed",i)]:w,[(0,h.Tl)("railHeight",i)]:E,[(0,h.Tl)("railWidth",i)]:D,[(0,h.Tl)("railBorderRadius",i)]:S,[(0,h.Tl)("buttonBorderRadius",i)]:x},common:{cubicBezierEaseInOut:C}}=u.value;return r?(e=`calc((${E} - ${m}) / 2)`,t=`max(${E}, ${m})`,n=`max(${D}, calc(${D} + ${m} - ${E}))`):(e=(0,o.BL)(((0,o.fQ)(E)-(0,o.fQ)(m))/2),t=(0,o.BL)(Math.max((0,o.fQ)(E),(0,o.fQ)(m))),n=(0,o.fQ)(E)>(0,o.fQ)(m)?D:(0,o.BL)((0,o.fQ)(D)+(0,o.fQ)(m)-(0,o.fQ)(E))),{"--n-bezier":C,"--n-button-border-radius":x,"--n-button-box-shadow":c,"--n-button-color":f,"--n-button-width":b,"--n-button-width-pressed":w,"--n-button-height":m,"--n-height":t,"--n-offset":e,"--n-opacity-disabled":a,"--n-rail-border-radius":S,"--n-rail-color":s,"--n-rail-color-active":l,"--n-rail-height":E,"--n-rail-width":D,"--n-width":n,"--n-box-shadow-focus":d,"--n-loading-color":p,"--n-text-color":v,"--n-icon-color":y}}),k=n?(0,d.F)("switch",(0,a.Fl)(()=>g.value[0]),A,e):void 0;return{handleClick:function(){e.loading||v.value||(w.value!==e.checkedValue?O(e.checkedValue):O(e.uncheckedValue))},handleBlur:function(){x.value=!1;let{nTriggerFormBlur:e}=s;e(),S.value=!1},handleFocus:function(){x.value=!0;let{nTriggerFormFocus:e}=s;e()},handleKeyup:function(t){e.loading||v.value||" "===t.key&&(w.value!==e.checkedValue?O(e.checkedValue):O(e.uncheckedValue),S.value=!1)},handleKeydown:function(t){e.loading||v.value||" "===t.key&&(t.preventDefault(),S.value=!0)},mergedRailStyle:C,pressed:S,mergedClsPrefix:t,mergedValue:w,checked:D,mergedDisabled:v,cssVars:n?void 0:A,themeClass:null==k?void 0:k.themeClass,onRender:null==k?void 0:k.onRender}},render(){let{mergedClsPrefix:e,mergedDisabled:t,checked:n,mergedRailStyle:r,onRender:o,$slots:i}=this;null==o||o();let{checked:l,unchecked:c,icon:f,"checked-icon":d,"unchecked-icon":p}=i,h=!((0,g.aD)(f)&&(0,g.aD)(d)&&(0,g.aD)(p));return(0,a.h)("div",{role:"switch","aria-checked":n,class:[`${e}-switch`,this.themeClass,h&&`${e}-switch--icon`,n&&`${e}-switch--active`,t&&`${e}-switch--disabled`,this.round&&`${e}-switch--round`,this.loading&&`${e}-switch--loading`,this.pressed&&`${e}-switch--pressed`,this.rubberBand&&`${e}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},(0,a.h)("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:r},(0,g.K9)(l,t=>(0,g.K9)(c,n=>t||n?(0,a.h)("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},(0,a.h)("div",{class:`${e}-switch__rail-placeholder`},(0,a.h)("div",{class:`${e}-switch__button-placeholder`}),t),(0,a.h)("div",{class:`${e}-switch__rail-placeholder`},(0,a.h)("div",{class:`${e}-switch__button-placeholder`}),n)):null)),(0,a.h)("div",{class:`${e}-switch__button`},(0,g.K9)(f,t=>(0,g.K9)(d,n=>(0,g.K9)(p,r=>(0,a.h)(u.Z,null,{default:()=>this.loading?(0,a.h)(s.Z,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(n||t)?(0,a.h)("div",{class:`${e}-switch__button-icon`,key:n?"checked-icon":"icon"},n||t):!this.checked&&(r||t)?(0,a.h)("div",{class:`${e}-switch__button-icon`,key:r?"unchecked-icon":"icon"},r||t):null})))),(0,g.K9)(l,t=>t&&(0,a.h)("div",{key:"checked",class:`${e}-switch__checked`},t)),(0,g.K9)(c,t=>t&&(0,a.h)("div",{key:"unchecked",class:`${e}-switch__unchecked`},t)))))}})},34679:function(e,t,n){n.d(t,{PD:()=>D});var r={};function o(e){let t=null;return()=>(null==t&&(t=e()),t)}n.r(r),n.d(r,{FILE:()=>u,HTML:()=>c,TEXT:()=>l,URL:()=>s});class i{enter(e){let t=this.entered.length;return this.entered=function(e,t){let n=new Set,r=e=>n.add(e);e.forEach(r),t.forEach(r);let o=[];return n.forEach(e=>o.push(e)),o}(this.entered.filter(t=>this.isNodeInDocument(t)&&(!t.contains||t.contains(e))),[e]),0===t&&this.entered.length>0}leave(e){var t;let n=this.entered.length;return this.entered=(t=this.entered.filter(this.isNodeInDocument),t.filter(t=>t!==e)),n>0&&0===this.entered.length}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}}class a{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(e=>{Object.defineProperty(this.item,e,{configurable:!0,enumerable:!0,get:()=>(console.warn(`Browser doesn't allow reading "${e}" until the drop event.`),null)})})}loadDataTransfer(e){if(e){let t={};Object.keys(this.config.exposeProperties).forEach(n=>{let r=this.config.exposeProperties[n];null!=r&&(t[n]={value:r(e,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,t)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(e,t){return t===e.getSourceId()}endDrag(){}constructor(e){this.config=e,this.item={},this.initializeExposedProperties()}}let u="__NATIVE_FILE__",s="__NATIVE_URL__",l="__NATIVE_TEXT__",c="__NATIVE_HTML__";function f(e,t,n){let r=t.reduce((t,n)=>t||e.getData(n),"");return null!=r?r:n}let d={[u]:{exposeProperties:{files:e=>Array.prototype.slice.call(e.files),items:e=>e.items,dataTransfer:e=>e},matchesTypes:["Files"]},[c]:{exposeProperties:{html:(e,t)=>f(e,t,""),dataTransfer:e=>e},matchesTypes:["Html","text/html"]},[s]:{exposeProperties:{urls:(e,t)=>f(e,t,"").split("\n"),dataTransfer:e=>e},matchesTypes:["Url","text/uri-list"]},[l]:{exposeProperties:{text:(e,t)=>f(e,t,""),dataTransfer:e=>e},matchesTypes:["Text","text/plain"]}};function p(e){if(!e)return null;let t=Array.prototype.slice.call(e.types||[]);return Object.keys(d).filter(e=>{let n=d[e];return!!(null==n?void 0:n.matchesTypes)&&n.matchesTypes.some(e=>t.indexOf(e)>-1)})[0]||null}let h=o(()=>/firefox/i.test(navigator.userAgent)),g=o(()=>!!window.safari);class v{interpolate(e){let t,{xs:n,ys:r,c1s:o,c2s:i,c3s:a}=this,u=n.length-1;if(e===n[u])return r[u];let s=0,l=a.length-1;for(;s<=l;){let o=n[t=Math.floor(.5*(s+l))];if(o<e)s=t+1;else{if(!(o>e))return r[t];l=t-1}}let c=e-n[u=Math.max(0,l)],f=c*c;return r[u]+o[u]*c+i[u]*f+a[u]*c*f}constructor(e,t){let n,r,o,{length:i}=e,a=[];for(let e=0;e<i;e++)a.push(e);a.sort((t,n)=>e[t]<e[n]?-1:1);let u=[],s=[],l=[];for(let o=0;o<i-1;o++)n=e[o+1]-e[o],r=t[o+1]-t[o],s.push(n),u.push(r),l.push(r/n);let c=[l[0]];for(let e=0;e<s.length-1;e++){let t=l[e],r=l[e+1];if(t*r<=0)c.push(0);else{n=s[e];let o=s[e+1],i=n+o;c.push(3*i/((i+o)/t+(i+n)/r))}}c.push(l[l.length-1]);let f=[],d=[];for(let e=0;e<c.length-1;e++){o=l[e];let t=c[e],n=1/s[e],r=t+c[e+1]-o-o;f.push((o-t-r)*n),d.push(r*n*n)}this.xs=e,this.ys=t,this.c1s=c,this.c2s=f,this.c3s=d}}function y(e){let t=1===e.nodeType?e:e.parentElement;if(!t)return null;let{top:n,left:r}=t.getBoundingClientRect();return{x:r,y:n}}function m(e){return{x:e.clientX,y:e.clientY}}class b{get window(){return this.globalContext?this.globalContext:"undefined"!=typeof window?window:void 0}get document(){var e;return(null==(e=this.globalContext)?void 0:e.document)?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var e;return(null==(e=this.optionsArgs)?void 0:e.rootElement)||this.window}constructor(e,t){this.ownerDocument=null,this.globalContext=e,this.optionsArgs=t}}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}class E{profile(){var e,t;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:(null==(e=this.dragStartSourceIds)?void 0:e.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:(null==(t=this.dragOverTargetIds)?void 0:t.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){let e=this.rootElement;if(void 0!==e){if(e.__isReactDndBackendSetUp)throw Error("Cannot have two HTML5 backends at the same time.");e.__isReactDndBackendSetUp=!0,this.addEventListeners(e)}}teardown(){let e=this.rootElement;if(void 0!==e&&(e.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var t;null==(t=this.window)||t.cancelAnimationFrame(this.asyncEndDragFrameId)}}connectDragPreview(e,t,n){return this.sourcePreviewNodeOptions.set(e,n),this.sourcePreviewNodes.set(e,t),()=>{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDragSource(e,t,n){this.sourceNodes.set(e,t),this.sourceNodeOptions.set(e,n);let r=t=>this.handleDragStart(t,e),o=e=>this.handleSelectStart(e);return t.setAttribute("draggable","true"),t.addEventListener("dragstart",r),t.addEventListener("selectstart",o),()=>{this.sourceNodes.delete(e),this.sourceNodeOptions.delete(e),t.removeEventListener("dragstart",r),t.removeEventListener("selectstart",o),t.setAttribute("draggable","false")}}connectDropTarget(e,t){let n=t=>this.handleDragEnter(t,e),r=t=>this.handleDragOver(t,e),o=t=>this.handleDrop(t,e);return t.addEventListener("dragenter",n),t.addEventListener("dragover",r),t.addEventListener("drop",o),()=>{t.removeEventListener("dragenter",n),t.removeEventListener("dragover",r),t.removeEventListener("drop",o)}}addEventListeners(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){let e=this.monitor.getSourceId(),t=this.sourceNodeOptions.get(e);return w({dropEffect:this.altKeyPressed?"copy":"move"},t||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){let e=this.monitor.getSourceId();return w({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(e)||{})}isDraggingNativeItem(){let e=this.monitor.getItemType();return Object.keys(r).some(t=>r[t]===e)}beginDragNativeItem(e,t){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(e,t){let n=d[e];if(!n)throw Error(`native type ${e} has no configuration`);let r=new a(n);return r.loadDataTransfer(t),r}(e,t),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.mouseMoveTimeoutTimer=setTimeout(()=>{var e;return null==(e=this.rootElement)?void 0:e.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},1e3)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var e;null==(e=this.window)||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(e,t){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(t))}handleDragEnter(e,t){this.dragEnterTargetIds.unshift(t)}handleDragOver(e,t){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(t)}handleDrop(e,t){this.dropTargetIds.unshift(t)}constructor(e,t,n){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=e=>{let t=this.sourceNodes.get(e);return t&&y(t)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=e=>!!(e&&this.document&&this.document.body&&this.document.body.contains(e)),this.endDragIfSourceWasRemovedFromDOM=()=>{let e=this.currentDragSourceNode;null==e||this.isNodeInDocument(e)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=e=>{null===this.hoverRafId&&"undefined"!=typeof requestAnimationFrame&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(e||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{null!==this.hoverRafId&&"undefined"!=typeof cancelAnimationFrame&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=e=>{if(e.defaultPrevented)return;let{dragStartSourceIds:t}=this;this.dragStartSourceIds=null;let n=m(e);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(t||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:n});let{dataTransfer:r}=e,o=p(r);if(this.monitor.isDragging()){if(r&&"function"==typeof r.setDragImage){let e=this.monitor.getSourceId(),t=this.sourceNodes.get(e),o=this.sourcePreviewNodes.get(e)||t;if(o){let{anchorX:e,anchorY:i,offsetX:a,offsetY:u}=this.getCurrentSourcePreviewNodeOptions(),s=function(e,t,n,r,o){var i;let a,u,s,l="IMG"===t.nodeName&&(h()||!(null==(i=document.documentElement)?void 0:i.contains(t))),c=y(l?e:t),f={x:n.x-c.x,y:n.y-c.y},{offsetWidth:d,offsetHeight:p}=e,{anchorX:m,anchorY:b}=r,{dragPreviewWidth:w,dragPreviewHeight:E}=(a=l?t.width:d,u=l?t.height:p,g()&&l&&(u/=window.devicePixelRatio,a/=window.devicePixelRatio),{dragPreviewWidth:a,dragPreviewHeight:u}),{offsetX:D,offsetY:S}=o;return{x:0===D||D?D:new v([0,.5,1],[f.x,f.x/d*w,f.x+w-d]).interpolate(m),y:0===S||S?S:(s=new v([0,.5,1],[f.y,f.y/p*E,f.y+E-p]).interpolate(b),g()&&l&&(s+=(window.devicePixelRatio-1)*E),s)}}(t,o,n,{anchorX:e,anchorY:i},{offsetX:a,offsetY:u});r.setDragImage(o,s.x,s.y)}}try{null==r||r.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target);let{captureDraggingState:t}=this.getCurrentSourcePreviewNodeOptions();t?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(o)this.beginDragNativeItem(o);else{if(r&&!r.types&&(e.target&&!e.target.hasAttribute||!e.target.hasAttribute("draggable")))return;e.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=e=>{if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()){var t;null==(t=this.currentNativeSource)||t.loadDataTransfer(e.dataTransfer)}if(!this.enterLeaveCounter.enter(e.target)||this.monitor.isDragging())return;let{dataTransfer:n}=e,r=p(n);r&&this.beginDragNativeItem(r,n)},this.handleTopDragEnter=e=>{let{dragEnterTargetIds:t}=this;this.dragEnterTargetIds=[],this.monitor.isDragging()&&(this.altKeyPressed=e.altKey,t.length>0&&this.actions.hover(t,{clientOffset:m(e)}),t.some(e=>this.monitor.canDropOnTarget(e))&&(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())))},this.handleTopDragOverCapture=e=>{if(this.dragOverTargetIds=[],this.isDraggingNativeItem()){var t;null==(t=this.currentNativeSource)||t.loadDataTransfer(e.dataTransfer)}},this.handleTopDragOver=e=>{let{dragOverTargetIds:t}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging()){e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none");return}this.altKeyPressed=e.altKey,this.lastClientOffset=m(e),this.scheduleHover(t),(t||[]).some(e=>this.monitor.canDropOnTarget(e))?(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?e.preventDefault():(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=e=>{this.isDraggingNativeItem()&&e.preventDefault(),this.enterLeaveCounter.leave(e.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=e=>{if(this.dropTargetIds=[],this.isDraggingNativeItem()){var t;e.preventDefault(),null==(t=this.currentNativeSource)||t.loadDataTransfer(e.dataTransfer)}else p(e.dataTransfer)&&e.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=e=>{let{dropTargetIds:t}=this;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:m(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=e=>{let t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))},this.options=new b(t,n),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new i(this.isNodeInDocument)}}let D=function(e,t,n){return new E(e,t,n)}}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/587.9825e286.js.LICENSE.txt b/core/public/dist/static/js/async/3697.9e630381.js.LICENSE.txtsimilarity index 100%rename from core/public/dist/static/js/async/587.9825e286.js.LICENSE.txtrename to core/public/dist/static/js/async/3697.9e630381.js.LICENSE.txtdiff --git a/core/public/dist/static/js/async/3844.244f5aca.js b/core/public/dist/static/js/async/3844.244f5aca.jsnew file mode 100644index 00000000..3c1131e5--- /dev/null+++ b/core/public/dist/static/js/async/3844.244f5aca.js@@ -0,0 +1,114 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["3844"],{77984:function(e,t,l){l.d(t,{F:()=>r});var s=l(68271),i=l(94821),a=l(76882);let r=()=>{let{t:e}=a.Z.global,{copy:t,isSupported:l,copied:r}=(0,i.VPI)({legacy:!0});return{copied:r,copyText:async function(i){let a=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!i)return void s.v0.error(e("common.useCopy.noText"));l.value?(await t(i),a&&s.v0.success(e("common.useCopy.success"))):s.v0.error(e("common.useCopy.failed"))}}}},51634:function(e,t,l){l.r(t),l.d(t,{default:()=>tu});var s=l(58786),i=l(30989),a=l(7356),r=l(88168);function n(e,t){let l=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return l<0?-1:l>0?1:l}var o=l(68271),d=l(34541);let{t:c}=l(76882).Z.global,m=()=>d.e.get("/settings/get_system_config"),u=()=>d.e.get("/settings/get_timezone_list"),v=e=>d.e.post("/settings/set_system_config_key",e,{fetchOptions:{loading:c("settings.api.loading.setting"),successMessage:!0}}),p=e=>d.e.post("/settings/set_ssl_config",e,{fetchOptions:{loading:c("settings.api.loading.settingSSL"),successMessage:!0}}),g=()=>d.e.post("/ssl/console_apply_cert",{},{fetchOptions:{loading:c("settings.api.loading.applyingCert"),successMessage:!0}}),_=e=>d.e.post("/settings/add_ip_whitelist",e,{fetchOptions:{loading:c("settings.api.loading.adding"),successMessage:!0}}),w=e=>d.e.post("/settings/delete_ip_whitelist",e,{fetchOptions:{loading:c("settings.api.loading.deleting"),successMessage:!0}}),h=()=>d.e.post("/settings/set_ip_whitelist",{ip_list:[]},{fetchOptions:{loading:c("settings.api.loading.clearing"),successMessage:!0}}),f=e=>d.e.post("/settings/set_reverse_proxy_domain",e,{fetchOptions:{loading:c("settings.api.loading.setting"),successMessage:!0}}),x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return d.e.post("/settings/delete_reverse_proxy_domain",e,{fetchOptions:{loading:c("settings.api.loading.clearing"),successMessage:!0}})},b=(0,i.Q_)("SettingsCommonStore",()=>{let e=(0,s.iH)(""),t=(0,s.iH)(!1),l=(0,s.iH)({level:"weak",score:0}),i=(0,s.iH)(""),d=(0,s.qj)({username:"",newPassword:"",confirmPassword:"",securityPath:""}),c=(0,s.qj)({domain:"",sslEnabled:!0,sslCert:"",sslKey:""}),u=(0,s.qj)({status:!1,expireTime:"",expireDays:0}),v=(0,s.iH)(""),p=(0,s.iH)(""),g=(0,s.iH)(""),_=(0,s.iH)(""),w=(0,s.iH)(""),h=(0,s.iH)(""),f=(0,s.iH)(!1),x=(0,s.iH)([]),b=(0,s.iH)(""),y=async()=>{let t=await m();if((0,o.Kn)(t)){if(e.value=t.admin_username,i.value=t.safe_path,v.value=t.billionmail_hostname,h.value=t.server_ip,f.value=t.ip_whitelist_enable,x.value=t.ip_whitelist,t.manage_ports&&(p.value=`${t.manage_ports.https}`,g.value=t.manage_ports.command_https),t.manage_timezone&&(_.value=t.manage_timezone.timezone,w.value=t.manage_timezone.command),t.ssl){c.sslCert=t.ssl.certPem,c.sslKey=t.ssl.privateKey,u.status=t.ssl.status;let e=new Date(t.ssl.notAfter);u.expireTime=(0,o.mr)(e,"yyyy-MM-dd"),u.expireDays=function(e,t,l){let[s,i]=(0,a.d)(void 0,e,t),o=n(s,i),d=Math.abs((0,r.w)(s,i));s.setDate(s.getDate()-o*d);let c=Number(n(s,i)===-o),m=o*(d-c);return 0===m?0:m}(e,new Date)}t.reverse_proxy_domain&&(b.value=t.reverse_proxy_domain.reverse_proxy||t.reverse_proxy_domain.current_url)}};return{currentUsername:e,currentPath:i,passwordMismatch:t,passwordStrength:l,securityForm:d,networkForm:c,sslInfo:u,currentDomain:v,currentPort:p,portCommand:g,currentTime:_,timeCommand:w,serverIp:h,ipWhitelistEnable:f,ipWhitelistList:x,currentProxy:b,checkPasswordStrength:()=>{let e=d.newPassword,t=0;e.length>=8&&t++,e.match(/[a-z]/)&&t++,e.match(/[A-Z]/)&&t++,e.match(/[0-9]/)&&t++,e.match(/[^a-zA-Z0-9]/)&&t++,t<=2?l.value={level:"weak",score:t}:t<=4?l.value={level:"medium",score:t}:l.value={level:"strong",score:t}},getCommonConfig:y,reset:()=>{d.username="",d.newPassword="",d.confirmPassword="",d.securityPath="",c.domain="",c.sslEnabled=!0,c.sslCert="",c.sslKey="",u.status=!1,u.expireTime="",u.expireDays=0,p.value="",g.value="",_.value="",w.value="",h.value="",t.value=!1,l.value={level:"weak",score:0}}}}),y=()=>{let e=b();return{...e,...(0,i.Jk)(e)}};var U=l(57869),S=l(98048),k=l(56946),W=l(54470),z=l(53198),P=l(20538),Z=l(71309);let C=(0,Z.cB)("divider",`+ position: relative;+ display: flex;+ width: 100%;+ box-sizing: border-box;+ font-size: 16px;+ color: var(--n-text-color);+ transition:+ color .3s var(--n-bezier),+ background-color .3s var(--n-bezier);+`,[(0,Z.u4)("vertical",`+ margin-top: 24px;+ margin-bottom: 24px;+ `,[(0,Z.u4)("no-title",`+ display: flex;+ align-items: center;+ `)]),(0,Z.cE)("title",`+ display: flex;+ align-items: center;+ margin-left: 12px;+ margin-right: 12px;+ white-space: nowrap;+ font-weight: var(--n-font-weight);+ `),(0,Z.cM)("title-position-left",[(0,Z.cE)("line",[(0,Z.cM)("left",{width:"28px"})])]),(0,Z.cM)("title-position-right",[(0,Z.cE)("line",[(0,Z.cM)("right",{width:"28px"})])]),(0,Z.cM)("dashed",[(0,Z.cE)("line",`+ background-color: #0000;+ height: 0px;+ width: 100%;+ border-style: dashed;+ border-width: 1px 0 0;+ `)]),(0,Z.cM)("vertical",`+ display: inline-block;+ height: 1em;+ margin: 0 8px;+ vertical-align: middle;+ width: 1px;+ `),(0,Z.cE)("line",`+ border: none;+ transition: background-color .3s var(--n-bezier), border-color .3s var(--n-bezier);+ height: 1px;+ width: 100%;+ margin: 0;+ `),(0,Z.u4)("dashed",[(0,Z.cE)("line",{backgroundColor:"var(--n-color)"})]),(0,Z.cM)("dashed",[(0,Z.cE)("line",{borderColor:"var(--n-color)"})]),(0,Z.cM)("vertical",{backgroundColor:"var(--n-color)"})]),$=Object.assign(Object.assign({},k.Z.props),{titlePlacement:{type:String,default:"center"},dashed:Boolean,vertical:Boolean}),E=(0,s.aZ)({name:"Divider",props:$,setup(e){let{mergedClsPrefixRef:t,inlineThemeDisabled:l}=(0,W.ZP)(e),i=(0,k.Z)("Divider","-divider",C,P.Z,e,t),a=(0,s.Fl)(()=>{let{common:{cubicBezierEaseInOut:e},self:{color:t,textColor:l,fontWeight:s}}=i.value;return{"--n-bezier":e,"--n-color":t,"--n-text-color":l,"--n-font-weight":s}}),r=l?(0,z.F)("divider",void 0,a,e):void 0;return{mergedClsPrefix:t,cssVars:l?void 0:a,themeClass:null==r?void 0:r.themeClass,onRender:null==r?void 0:r.onRender}},render(){var e;let{$slots:t,titlePlacement:l,vertical:i,dashed:a,cssVars:r,mergedClsPrefix:n}=this;return null==(e=this.onRender)||e.call(this),(0,s.h)("div",{role:"separator",class:[`${n}-divider`,this.themeClass,{[`${n}-divider--vertical`]:i,[`${n}-divider--no-title`]:!t.default,[`${n}-divider--dashed`]:a,[`${n}-divider--title-position-${l}`]:t.default&&l}],style:r},i?null:(0,s.h)("div",{class:`${n}-divider__line ${n}-divider__line--left`}),!i&&t.default?(0,s.h)(s.HY,null,(0,s.h)("div",{class:`${n}-divider__title`},this.$slots),(0,s.h)("div",{class:`${n}-divider__line ${n}-divider__line--right`})):null)}});var D=l(56357),H=l(15496),M=l(6455),T=l(73084),R=l(52495);let O={class:"flex-1 grid grid-cols-1 md:grid-cols-2 gap-4"},j={class:"mt-1 text-xs text-desc"},B={class:"mt-1 text-xs text-desc"},F={class:"mt-4px"},q=(0,s.aZ)({__name:"UsernameSettings",setup(e,t){let{expose:l}=t,{t:i}=(0,R.QT)(),{currentUsername:a,securityForm:r}=y(),n=(0,s.AE)("formItemRef"),o=async()=>{var e;await (null==(e=n.value)?void 0:e.validate()),await v({key:"admin_username",value:r.value.username}),a.value=r.value.username,r.value.username=""};return l({rules:{username:{trigger:["blur","input"],validator:()=>{let{username:e}=r.value;return e.length<4||e.length>20?Error(i("settings.common.security.usernameValidation.lengthError")):/^[a-zA-Z0-9_]+$/.test(e)?e!==a.value||Error(i("settings.common.security.usernameValidation.duplicateError")):Error(i("settings.common.security.usernameValidation.formatError"))}}}}),(e,t)=>{let l=T.Z,i=M.ZP,d=H.ZP;return(0,s.wg)(),(0,s.iD)(s.HY,null,[(0,s.Wm)(i,{ref_key:"formItemRef",ref:n,label:e.$t("settings.common.security.username"),path:"username"},{default:(0,s.w5)(()=>[(0,s._)("div",O,[(0,s._)("div",null,[(0,s.Wm)(l,{value:(0,s.SU)(a),disabled:""},null,8,["value"]),(0,s._)("p",j,(0,s.zw)(e.$t("settings.common.security.currentUsername")),1)]),(0,s._)("div",null,[(0,s.Wm)(l,{value:(0,s.SU)(r).username,"onUpdate:value":t[0]||(t[0]=e=>(0,s.SU)(r).username=e),placeholder:e.$t("settings.common.security.newUsernamePlaceholder")},null,8,["value","placeholder"]),(0,s._)("p",B,(0,s.zw)(e.$t("settings.common.security.usernameRule")),1)])])]),_:1},8,["label"]),(0,s._)("div",F,[(0,s.Wm)(d,{type:"primary",disabled:!(0,s.SU)(r).username,onClick:o},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)(e.$t("settings.common.confirm")),1)]),_:1},8,["disabled"])])],64)}}}),A={class:"mt-2 flex items-center"},K={class:"flex-1 bg-gray-200 rounded-full h-1 mr-2"},I={class:"text-xs text-gray-500"},V=(0,s.aZ)({__name:"PasswordStrengthIndicator",props:{strength:{type:Object,required:!0}},setup(e){let{t}=(0,R.QT)(),l=(0,s.Fl)(()=>{switch(e.strength.level){case"weak":return"bg-error";case"medium":return"bg-warning";case"strong":return"bg-primary";default:return"bg-gray-300"}}),i=(0,s.Fl)(()=>{switch(e.strength.level){case"weak":return"30%";case"medium":return"60%";case"strong":return"100%";default:return"0%"}}),a=(0,s.Fl)(()=>t(`settings.common.security.strength.${e.strength.level}`));return(e,r)=>((0,s.wg)(),(0,s.iD)("div",A,[(0,s._)("div",K,[(0,s._)("div",{class:(0,s.C_)(["h-1 rounded-full transition-all duration-300",(0,s.SU)(l)]),style:(0,s.j5)({width:(0,s.SU)(i)})},null,6)]),(0,s._)("span",I,(0,s.zw)((0,s.SU)(t)("settings.common.security.passwordStrength"))+": "+(0,s.zw)((0,s.SU)(a)),1)]))}}),Q={class:"flex-1 flex flex-col gap-20px"},Y=(0,s.aZ)({__name:"PasswordSettings",setup(e,t){let{expose:l}=t,{t:i}=(0,R.QT)(),{securityForm:a,passwordStrength:r,checkPasswordStrength:n}=y(),o=(0,s.AE)("formItemRef"),d=(0,s.Fl)(()=>!a.value.newPassword||!a.value.confirmPassword),c=()=>{n()},m=async()=>{var e;await (null==(e=o.value)?void 0:e.validate()),await v({key:"admin_password",value:a.value.newPassword}),a.value.newPassword="",a.value.confirmPassword=""};return l({rules:{password:{trigger:["input","blur"],validator:()=>!a.value.newPassword||!a.value.confirmPassword||a.value.newPassword===a.value.confirmPassword||Error(i("settings.common.security.passwordMismatch"))}}}),(e,t)=>{let l=T.Z,n=M.ZP,u=H.ZP;return(0,s.wg)(),(0,s.iD)(s.HY,null,[(0,s.Wm)(n,{ref_key:"formItemRef",ref:o,label:e.$t("settings.common.security.changePassword"),path:"password"},{default:(0,s.w5)(()=>[(0,s._)("div",Q,[(0,s._)("div",null,[(0,s.Wm)(l,{value:(0,s.SU)(a).newPassword,"onUpdate:value":[t[0]||(t[0]=e=>(0,s.SU)(a).newPassword=e),c],type:"password",class:"password-input","show-password-on":"click",placeholder:(0,s.SU)(i)("settings.common.security.newPassword")},null,8,["value","placeholder"]),(0,s.Wm)(V,{strength:(0,s.SU)(r)},null,8,["strength"])]),(0,s._)("div",null,[(0,s.Wm)(l,{value:(0,s.SU)(a).confirmPassword,"onUpdate:value":t[1]||(t[1]=e=>(0,s.SU)(a).confirmPassword=e),type:"password",class:"password-input","show-password-on":"click",placeholder:(0,s.SU)(i)("settings.common.security.confirmPassword")},null,8,["value","placeholder"])])])]),_:1},8,["label"]),(0,s._)("div",null,[(0,s.Wm)(u,{type:"primary",disabled:(0,s.SU)(d),onClick:m},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(i)("settings.common.confirm")),1)]),_:1},8,["disabled"])])],64)}}}),L={class:"flex-1 grid grid-cols-1 md:grid-cols-2 gap-4"},G={class:"mt-1 text-xs text-desc"},J={class:"mt-1 text-xs text-desc"},N={class:"mt-4px"},X=(0,s.aZ)({__name:"SecurityPathSettings",setup(e){let{t}=(0,R.QT)(),{currentPath:l,securityForm:i}=y(),a=async()=>{await v({key:"safe_path",value:i.value.securityPath}),l.value=i.value.securityPath,i.value.securityPath=""};return(e,r)=>{let n=T.Z,o=M.ZP,d=H.ZP;return(0,s.wg)(),(0,s.iD)(s.HY,null,[(0,s.Wm)(o,{label:(0,s.SU)(t)("settings.common.security.securityPath")},{default:(0,s.w5)(()=>[(0,s._)("div",L,[(0,s._)("div",null,[(0,s.Wm)(n,{value:(0,s.SU)(l),disabled:""},null,8,["value"]),(0,s._)("p",G,(0,s.zw)((0,s.SU)(t)("settings.common.security.currentPath")),1)]),(0,s._)("div",null,[(0,s.Wm)(n,{value:(0,s.SU)(i).securityPath,"onUpdate:value":r[0]||(r[0]=e=>(0,s.SU)(i).securityPath=e),placeholder:(0,s.SU)(t)("settings.common.security.newPathPlaceholder")},null,8,["value","placeholder"]),(0,s._)("p",J,(0,s.zw)((0,s.SU)(t)("settings.common.security.pathRule")),1)])])]),_:1},8,["label"]),(0,s._)("div",N,[(0,s.Wm)(d,{type:"primary",disabled:!(0,s.SU)(i).securityPath,onClick:a},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(t)("settings.common.confirm")),1)]),_:1},8,["disabled"])])],64)}}}),ee={class:"flex items-center"},et={class:"text-lg font-medium"},el=(0,s.aZ)({__name:"SecuritySettings",setup(e){let{t}=(0,R.QT)(),{securityForm:l}=y(),i=(0,s.iH)({}),a=(0,s.AE)("usernameRef"),r=(0,s.AE)("passwordRef");return(0,s.bv)(()=>{a.value&&(i.value={...i.value,...a.value.rules}),r.value&&(i.value={...i.value,...r.value.rules})}),(e,n)=>{let o=D.g,d=S.Z,c=U.ZP;return(0,s.wg)(),(0,s.j4)(c,{class:"mb-8",bordered:!1},{header:(0,s.w5)(()=>[(0,s._)("div",ee,[(0,s.Wm)(o,{class:"mr-2 text-primary",size:"20"},{default:(0,s.w5)(()=>n[0]||(n[0]=[(0,s._)("i",{class:"i-mdi-shield-account"},null,-1)])),_:1,__:[0]}),(0,s._)("span",et,(0,s.zw)((0,s.SU)(t)("settings.common.security.title")),1)])]),default:(0,s.w5)(()=>[(0,s.Wm)(d,{model:(0,s.SU)(l),rules:(0,s.SU)(i)},{default:(0,s.w5)(()=>[(0,s.Wm)(q,{ref_key:"usernameRef",ref:a},null,512),(0,s.Wm)(E),(0,s.Wm)(Y,{ref_key:"passwordRef",ref:r},null,512),(0,s.Wm)(E),(0,s.Wm)(X)]),_:1},8,["model","rules"])]),_:1})}}});var es=l(29875);let ei={class:"block text-sm font-medium mb-3"},ea={class:"flex items-center mb-4"},er={class:"ml-2 font-medium"},en={class:"mt-6"},eo={class:"block text-sm font-medium mb-2"},ed={class:"flex items-center"},ec={class:"text-sm"},em={class:"text-sm"},eu={class:"text-sm"},ev={class:"mt-6"},ep={class:"block text-sm font-medium mb-2"},eg={class:"mt-4"},e_={class:"block text-sm font-medium mb-2"},ew={class:"mt-6"},eh=(0,s.aZ)({__name:"SSLSettings",setup(e){let{t}=(0,R.QT)(),{networkForm:l,sslInfo:i,currentDomain:a,serverIp:r,getCommonConfig:n}=y(),d=(0,s.Fl)(()=>!l.value.sslCert||!l.value.sslKey),c=async()=>{await p({certPem:l.value.sslCert,privateKey:l.value.sslKey}),n()},m=()=>{(0,o.iG)({title:"Apply SSL",width:460,content:()=>(0,s.Wm)("div",{style:{lineHeight:"22px"}},[(0,s.Wm)("div",{class:"mb-8px"},[(0,s.Uk)("Certificate Application Functionality:")]),(0,s.Wm)("div",null,[(0,s.Uk)("- Implement certificate application using hostname")]),(0,s.Wm)("div",null,[(0,s.Uk)("- Ensure the hostname has a valid A record configured with:")]),(0,s.Wm)("div",null,[(0,s.Uk)("- Record Type: "),(0,s.Wm)("b",null,[(0,s.Uk)("A")])]),(0,s.Wm)("div",null,[(0,s.Uk)("- Host: "),(0,s.Wm)("b",null,[a.value])]),(0,s.Wm)("div",null,[(0,s.Uk)("- Value: "),(0,s.Wm)("b",null,[r.value])])]),onConfirm:async()=>{await g(),n()}})};return(e,a)=>{let r=es.Z,n=T.Z,o=H.ZP;return(0,s.wg)(),(0,s.iD)("div",null,[(0,s._)("label",ei,(0,s.zw)((0,s.SU)(t)("settings.common.network.ssl")),1),(0,s._)("div",ea,[(0,s.Wm)(r,{value:(0,s.SU)(l).sslEnabled,"onUpdate:value":a[0]||(a[0]=e=>(0,s.SU)(l).sslEnabled=e),disabled:""},null,8,["value"]),(0,s._)("label",er,(0,s.zw)((0,s.SU)(t)("settings.common.network.sslEnabled")),1)]),(0,s._)("div",en,[(0,s._)("label",eo,(0,s.zw)((0,s.SU)(t)("settings.common.network.certStatus")),1),(0,s._)("div",ed,[(0,s._)("div",{class:(0,s.C_)(["w-3 h-3 rounded-full mr-2 animate-pulse",(0,s.SU)(i).status?"bg-primary":"bg-error"])},null,2),(0,s._)("span",ec,(0,s.zw)((0,s.SU)(i).status?(0,s.SU)(t)("settings.common.network.certValidStatus"):(0,s.SU)(t)("settings.common.network.certExpiredStatus"))+", ",1),(0,s._)("span",em,(0,s.zw)((0,s.SU)(t)("settings.common.network.certExpireTime",{time:(0,s.SU)(i).expireTime})),1),(0,s._)("span",eu,(0,s.zw)((0,s.SU)(t)("settings.common.network.certValid",{days:(0,s.SU)(i).expireDays})),1)])]),(0,s._)("div",ev,[(0,s._)("label",ep,(0,s.zw)((0,s.SU)(t)("settings.common.network.sslCert")),1),(0,s.Wm)(n,{value:(0,s.SU)(l).sslCert,"onUpdate:value":a[1]||(a[1]=e=>(0,s.SU)(l).sslCert=e),type:"textarea",rows:6,placeholder:(0,s.SU)(t)("settings.common.network.certPlaceholder"),class:"font-mono text-sm"},null,8,["value","placeholder"])]),(0,s._)("div",eg,[(0,s._)("label",e_,(0,s.zw)((0,s.SU)(t)("settings.common.network.sslKey")),1),(0,s.Wm)(n,{value:(0,s.SU)(l).sslKey,"onUpdate:value":a[2]||(a[2]=e=>(0,s.SU)(l).sslKey=e),type:"textarea",rows:6,placeholder:(0,s.SU)(t)("settings.common.network.keyPlaceholder"),class:"font-mono text-sm"},null,8,["value","placeholder"])]),(0,s._)("div",ew,[(0,s.Wm)(o,{type:"primary",disabled:(0,s.SU)(d),onClick:c},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(t)("settings.common.network.updateSSL")),1)]),_:1},8,["disabled"]),(0,s.Wm)(o,{type:"primary",class:"ml-12px",ghost:"",onClick:m},{default:(0,s.w5)(()=>a[3]||(a[3]=[(0,s.Uk)(" Apply Certificate ")])),_:1,__:[3]})])])}}}),ef={class:"flex-1 grid grid-cols-1 md:grid-cols-2 gap-4"},ex={class:"mt-1 text-xs text-gray-500"},eb={class:"mt-1 text-xs text-gray-500"},ey=(0,s.aZ)({__name:"DomainSettings",setup(e){let{currentDomain:t,networkForm:l}=y(),i=async()=>{await v({key:"billionmail_hostname",value:l.value.domain}),t.value=l.value.domain,l.value.domain=""};return(e,a)=>{let r=T.Z,n=M.ZP,o=H.ZP;return(0,s.wg)(),(0,s.iD)(s.HY,null,[(0,s.Wm)(n,{label:e.$t("settings.common.network.domain")},{default:(0,s.w5)(()=>[(0,s._)("div",ef,[(0,s._)("div",null,[(0,s.Wm)(r,{value:(0,s.SU)(t),disabled:""},null,8,["value"]),(0,s._)("p",ex,(0,s.zw)(e.$t("settings.common.network.currentDomain")),1)]),(0,s._)("div",null,[(0,s.Wm)(r,{value:(0,s.SU)(l).domain,"onUpdate:value":a[0]||(a[0]=e=>(0,s.SU)(l).domain=e),placeholder:e.$t("settings.common.network.newDomainPlaceholder")},null,8,["value","placeholder"]),(0,s._)("p",eb,(0,s.zw)(e.$t("settings.common.network.domainRule")),1)])])]),_:1},8,["label"]),(0,s._)("div",null,[(0,s.Wm)(o,{type:"primary",disabled:!(0,s.SU)(l).domain,onClick:i},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)(e.$t("settings.common.confirm")),1)]),_:1},8,["disabled"])])],64)}}}),eU={class:"flex items-center"},eS={class:"text-lg font-medium"},ek=(0,s.aZ)({__name:"NetworkSettings",setup:e=>(e,t)=>{let l=D.g,i=S.Z,a=U.ZP;return(0,s.wg)(),(0,s.j4)(a,{class:"mb-8",bordered:!1},{header:(0,s.w5)(()=>[(0,s._)("div",eU,[(0,s.Wm)(l,{class:"mr-2 text-primary",size:"20"},{default:(0,s.w5)(()=>t[0]||(t[0]=[(0,s._)("i",{class:"i-mdi-network"},null,-1)])),_:1,__:[0]}),(0,s._)("span",eS,(0,s.zw)(e.$t("settings.common.network.title")),1)])]),default:(0,s.w5)(()=>[(0,s.Wm)(i,null,{default:(0,s.w5)(()=>[(0,s.Wm)(eh),(0,s.Wm)(E),(0,s.Wm)(ey)]),_:1})]),_:1})}});var eW=l(99321),ez=l(77984);let eP={class:"bg-gray-900 text-gray-100 rounded-lg p-4 pr-48px font-mono text-sm relative"},eZ={class:"absolute top-0px right-16px h-full flex items-center"},eC={class:"mt-2 text-12px text-desc"},e$=(0,s.aZ)({__name:"Command",props:{value:{type:String,default:""}},setup(e){let{copyText:t}=(0,ez.F)();return(l,i)=>{let a=H.ZP;return(0,s.wg)(),(0,s.iD)(s.HY,null,[(0,s._)("div",eP,[i[2]||(i[2]=(0,s._)("span",{class:"text-gray-400 mr-2"},"$",-1)),(0,s.Uk)((0,s.zw)(e.value)+" ",1),(0,s._)("div",eZ,[(0,s.Wm)(a,{text:"",class:"text-desc",onClick:i[0]||(i[0]=l=>(0,s.SU)(t)(e.value))},{default:(0,s.w5)(()=>i[1]||(i[1]=[(0,s._)("i",{class:"i-mdi-content-copy text-18px"},null,-1)])),_:1,__:[1]})])]),(0,s._)("p",eC,(0,s.zw)(l.$t("settings.common.system.copyCommand")),1)],64)}}}),eE={class:"block text-sm font-medium text-basic mb-3"},eD={class:"grid items-start grid-cols-1 md:grid-cols-2 gap-4"},eH={class:"mt-1 text-xs text-desc"},eM={class:"flex items-center"},eT={class:"mt-5"},eR=(0,s.aZ)({__name:"PortSettings",setup(e){let{t}=(0,R.QT)(),{currentPort:l,portCommand:i}=y(),a=(0,s.iH)(l.value),r=(0,s.iH)(""),n=e=>{r.value=i.value.replace(/PORT/g,e)};return(0,s.m0)(()=>{a.value=l.value,l.value&&(r.value=i.value.replace(/PORT/g,l.value))}),(e,l)=>{let i=T.Z,o=D.g,d=eW.Z;return(0,s.wg)(),(0,s.iD)("div",null,[(0,s._)("label",eE,(0,s.zw)((0,s.SU)(t)("settings.common.system.port")),1),(0,s._)("div",eD,[(0,s._)("div",null,[(0,s.Wm)(i,{value:(0,s.SU)(a),"onUpdate:value":[l[0]||(l[0]=e=>(0,s.dq)(a)?a.value=e:null),n]},null,8,["value"]),(0,s._)("p",eH,(0,s.zw)((0,s.SU)(t)("settings.common.system.currentPort")),1)]),(0,s._)("div",eM,[(0,s.Wm)(d,{type:"warning",class:"w-full"},{icon:(0,s.w5)(()=>[(0,s.Wm)(o,null,{default:(0,s.w5)(()=>l[1]||(l[1]=[(0,s._)("i",{class:"i-mdi-alert-circle"},null,-1)])),_:1,__:[1]})]),default:(0,s.w5)(()=>[(0,s.Uk)(" "+(0,s.zw)((0,s.SU)(t)("settings.common.system.terminalRequired")),1)]),_:1})])]),(0,s._)("div",eT,[(0,s.Wm)(e$,{value:(0,s.SU)(r)},null,8,["value"])])])}}});var eO=l(8490);let ej={class:"block text-sm font-medium text-basic mb-3"},eB={class:"grid items-start grid-cols-1 md:grid-cols-2 gap-4"},eF={class:"flex gap-12px"},eq={class:"flex-1"},eA={class:"flex-1"},eK={class:"mt-1 text-xs text-desc"},eI={class:"flex items-center"},eV={class:"mt-5"},eQ=(0,s.aZ)({__name:"TimezoneSettings",setup(e){let{t}=(0,R.QT)(),{currentTime:l,timeCommand:i}=y(),a=(0,s.iH)(""),r=(0,s.iH)(""),n=(0,s.iH)(""),d=(0,s.iH)({}),c=(0,s.iH)([]),m=(0,s.Fl)(()=>{let e=d.value[a.value];return e?e.map(e=>({label:e,value:e})):[]}),v=()=>{let e=d.value[a.value];r.value=e?e[0]:"",p()},p=()=>{a.value&&r.value&&(n.value=i.value.replace(/TIME ZONE/g,`${a.value}/${r.value}`))};return(0,s.YP)(()=>l.value,e=>{if(e){let t=e.split("/");a.value=t[0],r.value=t[1],n.value=i.value.replace(/TIME ZONE/g,`${a.value}/${r.value}`)}},{immediate:!0}),(async()=>{let e=await u();(0,o.Kn)(e)&&(d.value=e,c.value=Object.keys(e).map(e=>({label:e,value:e})))})(),(e,l)=>{let i=eO.Z,o=D.g,d=eW.Z;return(0,s.wg)(),(0,s.iD)("div",null,[(0,s._)("label",ej,(0,s.zw)((0,s.SU)(t)("settings.common.system.timezone")),1),(0,s._)("div",eB,[(0,s._)("div",null,[(0,s._)("div",eF,[(0,s._)("div",eq,[(0,s.Wm)(i,{value:(0,s.SU)(a),"onUpdate:value":[l[0]||(l[0]=e=>(0,s.dq)(a)?a.value=e:null),v],options:(0,s.SU)(c),filterable:""},null,8,["value","options"])]),(0,s._)("div",eA,[(0,s.Wm)(i,{value:(0,s.SU)(r),"onUpdate:value":[l[1]||(l[1]=e=>(0,s.dq)(r)?r.value=e:null),p],options:(0,s.SU)(m),filterable:""},null,8,["value","options"])])]),(0,s._)("div",eK,(0,s.zw)((0,s.SU)(t)("settings.common.system.currentTime")),1)]),(0,s._)("div",eI,[(0,s.Wm)(d,{type:"warning",class:"w-full"},{icon:(0,s.w5)(()=>[(0,s.Wm)(o,null,{default:(0,s.w5)(()=>l[2]||(l[2]=[(0,s._)("i",{class:"i-mdi-alert-circle"},null,-1)])),_:1,__:[2]})]),default:(0,s.w5)(()=>[(0,s.Uk)(" "+(0,s.zw)((0,s.SU)(t)("settings.common.system.terminalRequired")),1)]),_:1})])]),(0,s._)("div",eV,[(0,s.Wm)(e$,{value:(0,s.SU)(n)},null,8,["value"])])])}}});var eY=l(81021),eL=l(51048),eG=l(19050),eJ=l(11118);let eN=(0,Z.c)([(0,Z.cB)("list",`+ --n-merged-border-color: var(--n-border-color);+ --n-merged-color: var(--n-color);+ --n-merged-color-hover: var(--n-color-hover);+ margin: 0;+ font-size: var(--n-font-size);+ transition:+ background-color .3s var(--n-bezier),+ color .3s var(--n-bezier),+ border-color .3s var(--n-bezier);+ padding: 0;+ list-style-type: none;+ color: var(--n-text-color);+ background-color: var(--n-merged-color);+ `,[(0,Z.cM)("show-divider",[(0,Z.cB)("list-item",[(0,Z.c)("&:not(:last-child)",[(0,Z.cE)("divider",`+ background-color: var(--n-merged-border-color);+ `)])])]),(0,Z.cM)("clickable",[(0,Z.cB)("list-item",`+ cursor: pointer;+ `)]),(0,Z.cM)("bordered",`+ border: 1px solid var(--n-merged-border-color);+ border-radius: var(--n-border-radius);+ `),(0,Z.cM)("hoverable",[(0,Z.cB)("list-item",`+ border-radius: var(--n-border-radius);+ `,[(0,Z.c)("&:hover",`+ background-color: var(--n-merged-color-hover);+ `,[(0,Z.cE)("divider",`+ background-color: transparent;+ `)])])]),(0,Z.cM)("bordered, hoverable",[(0,Z.cB)("list-item",`+ padding: 12px 20px;+ `),(0,Z.cE)("header, footer",`+ padding: 12px 20px;+ `)]),(0,Z.cE)("header, footer",`+ padding: 12px 0;+ box-sizing: border-box;+ transition: border-color .3s var(--n-bezier);+ `,[(0,Z.c)("&:not(:last-child)",`+ border-bottom: 1px solid var(--n-merged-border-color);+ `)]),(0,Z.cB)("list-item",`+ position: relative;+ padding: 12px 0;+ box-sizing: border-box;+ display: flex;+ flex-wrap: nowrap;+ align-items: center;+ transition:+ background-color .3s var(--n-bezier),+ border-color .3s var(--n-bezier);+ `,[(0,Z.cE)("prefix",`+ margin-right: 20px;+ flex: 0;+ `),(0,Z.cE)("suffix",`+ margin-left: 20px;+ flex: 0;+ `),(0,Z.cE)("main",`+ flex: 1;+ `),(0,Z.cE)("divider",`+ height: 1px;+ position: absolute;+ bottom: 0;+ left: 0;+ right: 0;+ background-color: transparent;+ transition: background-color .3s var(--n-bezier);+ pointer-events: none;+ `)])]),(0,Z.ko)((0,Z.cB)("list",`+ --n-merged-color-hover: var(--n-color-hover-modal);+ --n-merged-color: var(--n-color-modal);+ --n-merged-border-color: var(--n-border-color-modal);+ `)),(0,Z.WW)((0,Z.cB)("list",`+ --n-merged-color-hover: var(--n-color-hover-popover);+ --n-merged-color: var(--n-color-popover);+ --n-merged-border-color: var(--n-border-color-popover);+ `))]),eX=Object.assign(Object.assign({},k.Z.props),{size:{type:String,default:"medium"},bordered:Boolean,clickable:Boolean,hoverable:Boolean,showDivider:{type:Boolean,default:!0}}),e0=(0,eG.U)("n-list"),e1=(0,s.aZ)({name:"List",props:eX,slots:Object,setup(e){let{mergedClsPrefixRef:t,inlineThemeDisabled:l,mergedRtlRef:i}=(0,W.ZP)(e),a=(0,eL.V)("List",i,t),r=(0,k.Z)("List","-list",eN,eJ.Z,e,t);(0,s.JJ)(e0,{showDividerRef:(0,s.Vh)(e,"showDivider"),mergedClsPrefixRef:t});let n=(0,s.Fl)(()=>{let{common:{cubicBezierEaseInOut:e},self:{fontSize:t,textColor:l,color:s,colorModal:i,colorPopover:a,borderColor:n,borderColorModal:o,borderColorPopover:d,borderRadius:c,colorHover:m,colorHoverModal:u,colorHoverPopover:v}}=r.value;return{"--n-font-size":t,"--n-bezier":e,"--n-text-color":l,"--n-color":s,"--n-border-radius":c,"--n-border-color":n,"--n-border-color-modal":o,"--n-border-color-popover":d,"--n-color-modal":i,"--n-color-popover":a,"--n-color-hover":m,"--n-color-hover-modal":u,"--n-color-hover-popover":v}}),o=l?(0,z.F)("list",void 0,n,e):void 0;return{mergedClsPrefix:t,rtlEnabled:a,cssVars:l?void 0:n,themeClass:null==o?void 0:o.themeClass,onRender:null==o?void 0:o.onRender}},render(){var e;let{$slots:t,mergedClsPrefix:l,onRender:i}=this;return null==i||i(),(0,s.h)("ul",{class:[`${l}-list`,this.rtlEnabled&&`${l}-list--rtl`,this.bordered&&`${l}-list--bordered`,this.showDivider&&`${l}-list--show-divider`,this.hoverable&&`${l}-list--hoverable`,this.clickable&&`${l}-list--clickable`,this.themeClass],style:this.cssVars},t.header?(0,s.h)("div",{class:`${l}-list__header`},t.header()):null,null==(e=t.default)?void 0:e.call(t),t.footer?(0,s.h)("div",{class:`${l}-list__footer`},t.footer()):null)}});var e8=l(14501);let e2=(0,s.aZ)({name:"ListItem",slots:Object,setup(){let e=(0,s.f3)(e0,null);return e||(0,e8._y)("list-item","`n-list-item` must be placed in `n-list`."),{showDivider:e.showDividerRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){let{$slots:e,mergedClsPrefix:t}=this;return(0,s.h)("li",{class:`${t}-list-item`},e.prefix?(0,s.h)("div",{class:`${t}-list-item__prefix`},e.prefix()):null,e.default?(0,s.h)("div",{class:`${t}-list-item__main`},e):null,e.suffix?(0,s.h)("div",{class:`${t}-list-item__suffix`},e.suffix()):null,this.showDivider&&(0,s.h)("div",{class:`${t}-list-item__divider`}))}}),e5={class:"block text-sm font-medium mb-3"},e4={class:"flex justify-between items-center h-34px mb-12px"},e3={class:"flex item-center gap-8px"},e6={class:"text-desc"},e9={class:"flex gap-8px mb-12px"},e7={class:"flex-1"},te={class:"text-13px"},tt={class:"mt-12px"},tl=(0,s.aZ)({__name:"IpWhitelistSettings",setup(e){let{ipWhitelistEnable:t,ipWhitelistList:l,getCommonConfig:i}=y(),a=(0,s.iH)(""),{t:r}=(0,R.QT)(),n=async()=>{if(""===a.value)return void o.v0.error(r("settings.common.ipWhitelist.validation.ipRequired"));await _({ip:a.value}),i(),a.value=""},d=(e,t)=>{(0,o.iG)({title:r("settings.common.ipWhitelist.confirm.deleteTitle"),content:r("settings.common.ipWhitelist.confirm.deleteContent",{ip:l.value[t].ip}),onConfirm:async()=>{await w({id:e}),l.value.splice(t,1)}})},c=e=>{(0,o.iG)({title:e?r("settings.common.ipWhitelist.confirm.enableTitle"):r("settings.common.ipWhitelist.confirm.disableTitle"),content:e?r("settings.common.ipWhitelist.confirm.enableContent"):r("settings.common.ipWhitelist.confirm.disableContent"),onConfirm:async()=>{await v({key:"ip_whitelist_enable",value:`${e}`}),t.value=e}})},m=async()=>{(0,o.iG)({title:r("settings.common.ipWhitelist.confirm.clearTitle"),content:r("settings.common.ipWhitelist.confirm.clearContent"),onConfirm:async()=>{await h(),i()}})};return(e,i)=>{let o=es.Z,u=T.Z,v=H.ZP,p=eY.Z;return(0,s.wg)(),(0,s.iD)("div",null,[(0,s._)("label",e5,(0,s.zw)((0,s.SU)(r)("settings.common.ipWhitelist.title")),1),(0,s._)("div",e4,[(0,s._)("div",e3,[(0,s.Wm)(o,{value:(0,s.SU)(t),"onUpdate:value":c},{checked:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(r)("settings.common.ipWhitelist.enable")),1)]),unchecked:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(r)("settings.common.ipWhitelist.disable")),1)]),_:1},8,["value"])]),(0,s._)("div",e6,(0,s.zw)((0,s.SU)(r)("settings.common.ipWhitelist.description")),1)]),(0,s._)("div",e9,[(0,s._)("div",e7,[(0,s.Wm)(u,{value:(0,s.SU)(a),"onUpdate:value":i[0]||(i[0]=e=>(0,s.dq)(a)?a.value=e:null),placeholder:(0,s.SU)(r)("settings.common.ipWhitelist.placeholder")},null,8,["value","placeholder"])]),(0,s.Wm)(v,{type:"primary",onClick:n},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(r)("settings.common.ipWhitelist.add")),1)]),_:1})]),(0,s.SU)(l).length>0?((0,s.wg)(),(0,s.j4)(e1,{key:0,hoverable:"",bordered:""},{default:(0,s.w5)(()=>[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)((0,s.SU)(l),(e,t)=>((0,s.wg)(),(0,s.j4)(e2,{key:e.id},{suffix:(0,s.w5)(()=>[(0,s.Wm)(v,{size:"small",quaternary:"",circle:"",onClick:l=>d(e.id,t)},{default:(0,s.w5)(()=>i[1]||(i[1]=[(0,s._)("i",{class:"i-mingcute:close-fill text-16px"},null,-1)])),_:2,__:[1]},1032,["onClick"])]),default:(0,s.w5)(()=>[(0,s._)("span",te,(0,s.zw)(e.ip),1)]),_:2},1024))),128))]),_:1})):((0,s.wg)(),(0,s.j4)(p,{key:1})),(0,s._)("div",tt,[(0,s.Wm)(v,{onClick:m},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(r)("settings.common.ipWhitelist.clear")),1)]),_:1})])])}}}),ts={class:"flex-1 grid grid-cols-1 md:grid-cols-2 gap-4"},ti={class:"mt-1 text-xs text-desc"},ta={class:"mt-1 text-xs text-desc"},tr=(0,s.aZ)({__name:"ProxySettings",setup(e){let{t}=(0,R.QT)(),{currentProxy:l,getCommonConfig:i}=y(),a=(0,s.iH)(""),r=async()=>{await f({domain:a.value}),i(),a.value=""},n=async()=>{(0,o.iG)({title:t("settings.common.proxy.resetConfirm.title"),content:t("settings.common.proxy.resetConfirm.content"),onConfirm:async()=>{await x(),i()}})};return(e,t)=>{let i=T.Z,o=M.ZP,d=H.ZP;return(0,s.wg)(),(0,s.iD)("div",null,[(0,s.Wm)(o,{ref:"formItemRef",label:e.$t("settings.common.proxy.title"),path:"username"},{default:(0,s.w5)(()=>[(0,s._)("div",ts,[(0,s._)("div",null,[(0,s.Wm)(i,{value:(0,s.SU)(l),readonly:""},null,8,["value"]),(0,s._)("p",ti,(0,s.zw)(e.$t("settings.common.proxy.description")),1)]),(0,s._)("div",null,[(0,s.Wm)(i,{value:(0,s.SU)(a),"onUpdate:value":t[0]||(t[0]=e=>(0,s.dq)(a)?a.value=e:null),placeholder:e.$t("settings.common.proxy.placeholder")},null,8,["value","placeholder"]),(0,s._)("p",ta,(0,s.zw)(e.$t("settings.common.proxy.formatTip")),1)])])]),_:1},8,["label"]),(0,s._)("div",null,[(0,s.Wm)(d,{type:"primary",disabled:!(0,s.SU)(a),onClick:r},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)(e.$t("settings.common.confirm")),1)]),_:1},8,["disabled"]),(0,s.Wm)(d,{class:"ml-12px",onClick:n},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)(e.$t("settings.common.proxy.reset")),1)]),_:1})])])}}}),tn={class:"flex items-center"},to={class:"text-lg font-medium"},td={class:"space-y-8"},tc=(0,s.aZ)({__name:"SystemSettings",setup:e=>(e,t)=>{let l=D.g,i=U.ZP;return(0,s.wg)(),(0,s.j4)(i,{class:"mb-8",bordered:!1},{header:(0,s.w5)(()=>[(0,s._)("div",tn,[(0,s.Wm)(l,{class:"mr-2 text-primary",size:"20"},{default:(0,s.w5)(()=>t[0]||(t[0]=[(0,s._)("i",{class:"i-mdi-cog"},null,-1)])),_:1,__:[0]}),(0,s._)("span",to,(0,s.zw)(e.$t("settings.common.system.title")),1)])]),default:(0,s.w5)(()=>[(0,s._)("div",td,[(0,s.Wm)(eR),(0,s.Wm)(E),(0,s.Wm)(eQ),(0,s.Wm)(E),(0,s.Wm)(tl),(0,s.Wm)(E),(0,s.Wm)(tr)])]),_:1})}}),tm={class:"max-w-4xl mx-auto px-4 py-8"},tu=(0,s.aZ)({__name:"index",setup(e){let t=b();return t.getCommonConfig(),(0,s.Jd)(()=>{t.reset()}),(e,t)=>((0,s.wg)(),(0,s.iD)("div",tm,[(0,s.Wm)(el),(0,s.Wm)(ek),(0,s.Wm)(tc)]))}})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/4046.0051094e.js b/core/public/dist/static/js/async/4046.0051094e.jsdeleted file mode 100644index 4e1deb07..00000000--- a/core/public/dist/static/js/async/4046.0051094e.js+++ /dev/null@@ -1,262 +0,0 @@-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["4046"],{15410:function(e,o,r){r.d(o,{j:()=>l});var t=r(7356),i=r(88168);function l(e,o,r){let[l,a]=(0,t.d)(r?.in,e,o),s=n(l,a),c=Math.abs((0,i.w)(l,a));l.setDate(l.getDate()-s*c);let d=Number(n(l,a)===-s),h=s*(c-d);return 0===h?0:h}function n(e,o){let r=e.getFullYear()-o.getFullYear()||e.getMonth()-o.getMonth()||e.getDate()-o.getDate()||e.getHours()-o.getHours()||e.getMinutes()-o.getMinutes()||e.getSeconds()-o.getSeconds()||e.getMilliseconds()-o.getMilliseconds();return r<0?-1:r>0?1:r}},99321:function(e,o,r){r.d(o,{Z:()=>z});var t=r(65083),i=r(58786),l=r(77565),n=r(1183),a=r(96823),s=r(87075),c=r(52317),d=r(64812),h=r(62198),u=r(56946),v=r(54470),b=r(53198),g=r(51048),p=r(71309),f=r(93950),m=r(19595),x=r(9798),w=r(18877);let C={name:"Alert",common:x.Z,self:function(e){let{lineHeight:o,borderRadius:r,fontWeightStrong:t,baseColor:i,dividerColor:l,actionColor:n,textColor1:a,textColor2:s,closeColorHover:c,closeColorPressed:d,closeIconColor:h,closeIconColorHover:u,closeIconColorPressed:v,infoColor:b,successColor:g,warningColor:p,errorColor:f,fontSize:x}=e;return Object.assign(Object.assign({},w.Z),{fontSize:x,lineHeight:o,titleFontWeight:t,borderRadius:r,border:`1px solid ${l}`,color:n,titleTextColor:a,iconColor:s,contentTextColor:s,closeBorderRadius:r,closeColorHover:c,closeColorPressed:d,closeIconColor:h,closeIconColorHover:u,closeIconColorPressed:v,borderInfo:`1px solid ${(0,m.h$)(i,(0,m.zX)(b,{alpha:.25}))}`,colorInfo:(0,m.h$)(i,(0,m.zX)(b,{alpha:.08})),titleTextColorInfo:a,iconColorInfo:b,contentTextColorInfo:s,closeColorHoverInfo:c,closeColorPressedInfo:d,closeIconColorInfo:h,closeIconColorHoverInfo:u,closeIconColorPressedInfo:v,borderSuccess:`1px solid ${(0,m.h$)(i,(0,m.zX)(g,{alpha:.25}))}`,colorSuccess:(0,m.h$)(i,(0,m.zX)(g,{alpha:.08})),titleTextColorSuccess:a,iconColorSuccess:g,contentTextColorSuccess:s,closeColorHoverSuccess:c,closeColorPressedSuccess:d,closeIconColorSuccess:h,closeIconColorHoverSuccess:u,closeIconColorPressedSuccess:v,borderWarning:`1px solid ${(0,m.h$)(i,(0,m.zX)(p,{alpha:.33}))}`,colorWarning:(0,m.h$)(i,(0,m.zX)(p,{alpha:.08})),titleTextColorWarning:a,iconColorWarning:p,contentTextColorWarning:s,closeColorHoverWarning:c,closeColorPressedWarning:d,closeIconColorWarning:h,closeIconColorHoverWarning:u,closeIconColorPressedWarning:v,borderError:`1px solid ${(0,m.h$)(i,(0,m.zX)(f,{alpha:.25}))}`,colorError:(0,m.h$)(i,(0,m.zX)(f,{alpha:.08})),titleTextColorError:a,iconColorError:f,contentTextColorError:s,closeColorHoverError:c,closeColorPressedError:d,closeIconColorError:h,closeIconColorHoverError:u,closeIconColorPressedError:v})}};var $=r(74482);let k=(0,p.cB)("alert",`- line-height: var(--n-line-height);- border-radius: var(--n-border-radius);- position: relative;- transition: background-color .3s var(--n-bezier);- background-color: var(--n-color);- text-align: start;- word-break: break-word;-`,[(0,p.cE)("border",`- border-radius: inherit;- position: absolute;- left: 0;- right: 0;- top: 0;- bottom: 0;- transition: border-color .3s var(--n-bezier);- border: var(--n-border);- pointer-events: none;- `),(0,p.cM)("closable",[(0,p.cB)("alert-body",[(0,p.cE)("title",`- padding-right: 24px;- `)])]),(0,p.cE)("icon",{color:"var(--n-icon-color)"}),(0,p.cB)("alert-body",{padding:"var(--n-padding)"},[(0,p.cE)("title",{color:"var(--n-title-text-color)"}),(0,p.cE)("content",{color:"var(--n-content-text-color)"})]),(0,$.Y)({originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.9)"}}),(0,p.cE)("icon",`- position: absolute;- left: 0;- top: 0;- align-items: center;- justify-content: center;- display: flex;- width: var(--n-icon-size);- height: var(--n-icon-size);- font-size: var(--n-icon-size);- margin: var(--n-icon-margin);- `),(0,p.cE)("close",`- transition:- color .3s var(--n-bezier),- background-color .3s var(--n-bezier);- position: absolute;- right: 0;- top: 0;- margin: var(--n-close-margin);- `),(0,p.cM)("show-icon",[(0,p.cB)("alert-body",{paddingLeft:"calc(var(--n-icon-margin-left) + var(--n-icon-size) + var(--n-icon-margin-right))"})]),(0,p.cM)("right-adjust",[(0,p.cB)("alert-body",{paddingRight:"calc(var(--n-close-size) + var(--n-padding) + 2px)"})]),(0,p.cB)("alert-body",`- border-radius: var(--n-border-radius);- transition: border-color .3s var(--n-bezier);- `,[(0,p.cE)("title",`- transition: color .3s var(--n-bezier);- font-size: 16px;- line-height: 19px;- font-weight: var(--n-title-font-weight);- `,[(0,p.c)("& +",[(0,p.cE)("content",{marginTop:"9px"})])]),(0,p.cE)("content",{transition:"color .3s var(--n-bezier)",fontSize:"var(--n-font-size)"})]),(0,p.cE)("icon",{transition:"color .3s var(--n-bezier)"})]),y=Object.assign(Object.assign({},u.Z.props),{title:String,showIcon:{type:Boolean,default:!0},type:{type:String,default:"default"},bordered:{type:Boolean,default:!0},closable:Boolean,onClose:Function,onAfterLeave:Function,onAfterHide:Function}),z=(0,i.aZ)({name:"Alert",inheritAttrs:!1,props:y,slots:Object,setup(e){let{mergedClsPrefixRef:o,mergedBorderedRef:r,inlineThemeDisabled:l,mergedRtlRef:n}=(0,v.ZP)(e),a=(0,u.Z)("Alert","-alert",k,C,e,o),s=(0,g.V)("Alert",n,o),c=(0,i.Fl)(()=>{let{common:{cubicBezierEaseInOut:o},self:r}=a.value,{fontSize:i,borderRadius:l,titleFontWeight:n,lineHeight:s,iconSize:c,iconMargin:d,iconMarginRtl:h,closeIconSize:u,closeBorderRadius:v,closeSize:b,closeMargin:g,closeMarginRtl:f,padding:m}=r,{type:x}=e,{left:w,right:C}=(0,t.mH)(d);return{"--n-bezier":o,"--n-color":r[(0,p.Tl)("color",x)],"--n-close-icon-size":u,"--n-close-border-radius":v,"--n-close-color-hover":r[(0,p.Tl)("closeColorHover",x)],"--n-close-color-pressed":r[(0,p.Tl)("closeColorPressed",x)],"--n-close-icon-color":r[(0,p.Tl)("closeIconColor",x)],"--n-close-icon-color-hover":r[(0,p.Tl)("closeIconColorHover",x)],"--n-close-icon-color-pressed":r[(0,p.Tl)("closeIconColorPressed",x)],"--n-icon-color":r[(0,p.Tl)("iconColor",x)],"--n-border":r[(0,p.Tl)("border",x)],"--n-title-text-color":r[(0,p.Tl)("titleTextColor",x)],"--n-content-text-color":r[(0,p.Tl)("contentTextColor",x)],"--n-line-height":s,"--n-border-radius":l,"--n-font-size":i,"--n-title-font-weight":n,"--n-icon-size":c,"--n-icon-margin":d,"--n-icon-margin-rtl":h,"--n-close-size":b,"--n-close-margin":g,"--n-close-margin-rtl":f,"--n-padding":m,"--n-icon-margin-left":w,"--n-icon-margin-right":C}}),d=l?(0,b.F)("alert",(0,i.Fl)(()=>e.type[0]),c,e):void 0,h=(0,i.iH)(!0),f=()=>{let{onAfterLeave:o,onAfterHide:r}=e;o&&o(),r&&r()};return{rtlEnabled:s,mergedClsPrefix:o,mergedBordered:r,visible:h,handleCloseClick:()=>{var o;Promise.resolve(null==(o=e.onClose)?void 0:o.call(e)).then(e=>{!1!==e&&(h.value=!1)})},handleAfterLeave:()=>{f()},mergedTheme:a,cssVars:l?void 0:c,themeClass:null==d?void 0:d.themeClass,onRender:null==d?void 0:d.onRender}},render(){var e;return null==(e=this.onRender)||e.call(this),(0,i.h)(l.Z,{onAfterLeave:this.handleAfterLeave},{default:()=>{let{mergedClsPrefix:e,$slots:o}=this,r={class:[`${e}-alert`,this.themeClass,this.closable&&`${e}-alert--closable`,this.showIcon&&`${e}-alert--show-icon`,!this.title&&this.closable&&`${e}-alert--right-adjust`,this.rtlEnabled&&`${e}-alert--rtl`],style:this.cssVars,role:"alert"};return this.visible?(0,i.h)("div",Object.assign({},(0,i.dG)(this.$attrs,r)),this.closable&&(0,i.h)(n.Z,{clsPrefix:e,class:`${e}-alert__close`,onClick:this.handleCloseClick}),this.bordered&&(0,i.h)("div",{class:`${e}-alert__border`}),this.showIcon&&(0,i.h)("div",{class:`${e}-alert__icon`,"aria-hidden":"true"},(0,f.gI)(o.icon,()=>[(0,i.h)(a.Z,{clsPrefix:e},{default:()=>{switch(this.type){case"success":return(0,i.h)(s.Z,null);case"info":return(0,i.h)(c.Z,null);case"warning":return(0,i.h)(d.Z,null);case"error":return(0,i.h)(h.Z,null);default:return null}}})])),(0,i.h)("div",{class:[`${e}-alert-body`,this.mergedBordered&&`${e}-alert-body--bordered`]},(0,f.K9)(o.header,o=>{let r=o||this.title;return r?(0,i.h)("div",{class:`${e}-alert-body__title`},r):null}),o.default&&(0,i.h)("div",{class:`${e}-alert-body__content`},o))):null}})}})},33756:function(e,o,r){r.d(o,{Z:()=>h});var t=r(58786),i=r(56946),l=r(54470),n=r(53198),a=r(20538),s=r(71309);let c=(0,s.cB)("divider",`- position: relative;- display: flex;- width: 100%;- box-sizing: border-box;- font-size: 16px;- color: var(--n-text-color);- transition:- color .3s var(--n-bezier),- background-color .3s var(--n-bezier);-`,[(0,s.u4)("vertical",`- margin-top: 24px;- margin-bottom: 24px;- `,[(0,s.u4)("no-title",`- display: flex;- align-items: center;- `)]),(0,s.cE)("title",`- display: flex;- align-items: center;- margin-left: 12px;- margin-right: 12px;- white-space: nowrap;- font-weight: var(--n-font-weight);- `),(0,s.cM)("title-position-left",[(0,s.cE)("line",[(0,s.cM)("left",{width:"28px"})])]),(0,s.cM)("title-position-right",[(0,s.cE)("line",[(0,s.cM)("right",{width:"28px"})])]),(0,s.cM)("dashed",[(0,s.cE)("line",`- background-color: #0000;- height: 0px;- width: 100%;- border-style: dashed;- border-width: 1px 0 0;- `)]),(0,s.cM)("vertical",`- display: inline-block;- height: 1em;- margin: 0 8px;- vertical-align: middle;- width: 1px;- `),(0,s.cE)("line",`- border: none;- transition: background-color .3s var(--n-bezier), border-color .3s var(--n-bezier);- height: 1px;- width: 100%;- margin: 0;- `),(0,s.u4)("dashed",[(0,s.cE)("line",{backgroundColor:"var(--n-color)"})]),(0,s.cM)("dashed",[(0,s.cE)("line",{borderColor:"var(--n-color)"})]),(0,s.cM)("vertical",{backgroundColor:"var(--n-color)"})]),d=Object.assign(Object.assign({},i.Z.props),{titlePlacement:{type:String,default:"center"},dashed:Boolean,vertical:Boolean}),h=(0,t.aZ)({name:"Divider",props:d,setup(e){let{mergedClsPrefixRef:o,inlineThemeDisabled:r}=(0,l.ZP)(e),s=(0,i.Z)("Divider","-divider",c,a.Z,e,o),d=(0,t.Fl)(()=>{let{common:{cubicBezierEaseInOut:e},self:{color:o,textColor:r,fontWeight:t}}=s.value;return{"--n-bezier":e,"--n-color":o,"--n-text-color":r,"--n-font-weight":t}}),h=r?(0,n.F)("divider",void 0,d,e):void 0;return{mergedClsPrefix:o,cssVars:r?void 0:d,themeClass:null==h?void 0:h.themeClass,onRender:null==h?void 0:h.onRender}},render(){var e;let{$slots:o,titlePlacement:r,vertical:i,dashed:l,cssVars:n,mergedClsPrefix:a}=this;return null==(e=this.onRender)||e.call(this),(0,t.h)("div",{role:"separator",class:[`${a}-divider`,this.themeClass,{[`${a}-divider--vertical`]:i,[`${a}-divider--no-title`]:!o.default,[`${a}-divider--dashed`]:l,[`${a}-divider--title-position-${r}`]:o.default&&r}],style:n},i?null:(0,t.h)("div",{class:`${a}-divider__line ${a}-divider__line--left`}),!i&&o.default?(0,t.h)(t.HY,null,(0,t.h)("div",{class:`${a}-divider__title`},this.$slots),(0,t.h)("div",{class:`${a}-divider__line ${a}-divider__line--right`})):null)}})},88082:function(e,o,r){r.d(o,{ZP:()=>b,SM:()=>v});var t=r(58786),i=r(56946),l=r(54470),n=r(51048),a=r(53198),s=r(19050),c=r(11118),d=r(71309);let h=(0,d.c)([(0,d.cB)("list",`- --n-merged-border-color: var(--n-border-color);- --n-merged-color: var(--n-color);- --n-merged-color-hover: var(--n-color-hover);- margin: 0;- font-size: var(--n-font-size);- transition:- background-color .3s var(--n-bezier),- color .3s var(--n-bezier),- border-color .3s var(--n-bezier);- padding: 0;- list-style-type: none;- color: var(--n-text-color);- background-color: var(--n-merged-color);- `,[(0,d.cM)("show-divider",[(0,d.cB)("list-item",[(0,d.c)("&:not(:last-child)",[(0,d.cE)("divider",`- background-color: var(--n-merged-border-color);- `)])])]),(0,d.cM)("clickable",[(0,d.cB)("list-item",`- cursor: pointer;- `)]),(0,d.cM)("bordered",`- border: 1px solid var(--n-merged-border-color);- border-radius: var(--n-border-radius);- `),(0,d.cM)("hoverable",[(0,d.cB)("list-item",`- border-radius: var(--n-border-radius);- `,[(0,d.c)("&:hover",`- background-color: var(--n-merged-color-hover);- `,[(0,d.cE)("divider",`- background-color: transparent;- `)])])]),(0,d.cM)("bordered, hoverable",[(0,d.cB)("list-item",`- padding: 12px 20px;- `),(0,d.cE)("header, footer",`- padding: 12px 20px;- `)]),(0,d.cE)("header, footer",`- padding: 12px 0;- box-sizing: border-box;- transition: border-color .3s var(--n-bezier);- `,[(0,d.c)("&:not(:last-child)",`- border-bottom: 1px solid var(--n-merged-border-color);- `)]),(0,d.cB)("list-item",`- position: relative;- padding: 12px 0;- box-sizing: border-box;- display: flex;- flex-wrap: nowrap;- align-items: center;- transition:- background-color .3s var(--n-bezier),- border-color .3s var(--n-bezier);- `,[(0,d.cE)("prefix",`- margin-right: 20px;- flex: 0;- `),(0,d.cE)("suffix",`- margin-left: 20px;- flex: 0;- `),(0,d.cE)("main",`- flex: 1;- `),(0,d.cE)("divider",`- height: 1px;- position: absolute;- bottom: 0;- left: 0;- right: 0;- background-color: transparent;- transition: background-color .3s var(--n-bezier);- pointer-events: none;- `)])]),(0,d.ko)((0,d.cB)("list",`- --n-merged-color-hover: var(--n-color-hover-modal);- --n-merged-color: var(--n-color-modal);- --n-merged-border-color: var(--n-border-color-modal);- `)),(0,d.WW)((0,d.cB)("list",`- --n-merged-color-hover: var(--n-color-hover-popover);- --n-merged-color: var(--n-color-popover);- --n-merged-border-color: var(--n-border-color-popover);- `))]),u=Object.assign(Object.assign({},i.Z.props),{size:{type:String,default:"medium"},bordered:Boolean,clickable:Boolean,hoverable:Boolean,showDivider:{type:Boolean,default:!0}}),v=(0,s.U)("n-list"),b=(0,t.aZ)({name:"List",props:u,slots:Object,setup(e){let{mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:s}=(0,l.ZP)(e),d=(0,n.V)("List",s,o),u=(0,i.Z)("List","-list",h,c.Z,e,o);(0,t.JJ)(v,{showDividerRef:(0,t.Vh)(e,"showDivider"),mergedClsPrefixRef:o});let b=(0,t.Fl)(()=>{let{common:{cubicBezierEaseInOut:e},self:{fontSize:o,textColor:r,color:t,colorModal:i,colorPopover:l,borderColor:n,borderColorModal:a,borderColorPopover:s,borderRadius:c,colorHover:d,colorHoverModal:h,colorHoverPopover:v}}=u.value;return{"--n-font-size":o,"--n-bezier":e,"--n-text-color":r,"--n-color":t,"--n-border-radius":c,"--n-border-color":n,"--n-border-color-modal":a,"--n-border-color-popover":s,"--n-color-modal":i,"--n-color-popover":l,"--n-color-hover":d,"--n-color-hover-modal":h,"--n-color-hover-popover":v}}),g=r?(0,a.F)("list",void 0,b,e):void 0;return{mergedClsPrefix:o,rtlEnabled:d,cssVars:r?void 0:b,themeClass:null==g?void 0:g.themeClass,onRender:null==g?void 0:g.onRender}},render(){var e;let{$slots:o,mergedClsPrefix:r,onRender:i}=this;return null==i||i(),(0,t.h)("ul",{class:[`${r}-list`,this.rtlEnabled&&`${r}-list--rtl`,this.bordered&&`${r}-list--bordered`,this.showDivider&&`${r}-list--show-divider`,this.hoverable&&`${r}-list--hoverable`,this.clickable&&`${r}-list--clickable`,this.themeClass],style:this.cssVars},o.header?(0,t.h)("div",{class:`${r}-list__header`},o.header()):null,null==(e=o.default)?void 0:e.call(o),o.footer?(0,t.h)("div",{class:`${r}-list__footer`},o.footer()):null)}})},54547:function(e,o,r){r.d(o,{Z:()=>n});var t=r(58786),i=r(14501),l=r(88082);let n=(0,t.aZ)({name:"ListItem",slots:Object,setup(){let e=(0,t.f3)(l.SM,null);return e||(0,i._y)("list-item","`n-list-item` must be placed in `n-list`."),{showDivider:e.showDividerRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){let{$slots:e,mergedClsPrefix:o}=this;return(0,t.h)("li",{class:`${o}-list-item`},e.prefix?(0,t.h)("div",{class:`${o}-list-item__prefix`},e.prefix()):null,e.default?(0,t.h)("div",{class:`${o}-list-item__main`},e):null,e.suffix?(0,t.h)("div",{class:`${o}-list-item__suffix`},e.suffix()):null,this.showDivider&&(0,t.h)("div",{class:`${o}-list-item__divider`}))}})},29875:function(e,o,r){let t;r.d(o,{Z:()=>k});var i=r(65083),l=r(20013),n=r(58786),a=r(76128),s=r(62594),c=r(56946),d=r(54470),h=r(32196),u=r(53198),v=r(44267),b=r(71309),g=r(93950),p=r(19595),f=r(9798),m=r(30951);let x={name:"Switch",common:f.Z,self:function(e){let{primaryColor:o,opacityDisabled:r,borderRadius:t,textColor3:i}=e;return Object.assign(Object.assign({},m.Z),{iconColor:i,textColor:"white",loadingColor:o,opacityDisabled:r,railColor:"rgba(0, 0, 0, .14)",railColorActive:o,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:t,railBorderRadiusMedium:t,railBorderRadiusLarge:t,buttonBorderRadiusSmall:t,buttonBorderRadiusMedium:t,buttonBorderRadiusLarge:t,boxShadowFocus:`0 0 0 2px ${(0,p.zX)(o,{alpha:.2})}`})}};var w=r(28632);let C=(0,b.cB)("switch",`- height: var(--n-height);- min-width: var(--n-width);- vertical-align: middle;- user-select: none;- -webkit-user-select: none;- display: inline-flex;- outline: none;- justify-content: center;- align-items: center;-`,[(0,b.cE)("children-placeholder",`- height: var(--n-rail-height);- display: flex;- flex-direction: column;- overflow: hidden;- pointer-events: none;- visibility: hidden;- `),(0,b.cE)("rail-placeholder",`- display: flex;- flex-wrap: none;- `),(0,b.cE)("button-placeholder",`- width: calc(1.75 * var(--n-rail-height));- height: var(--n-rail-height);- `),(0,b.cB)("base-loading",`- position: absolute;- top: 50%;- left: 50%;- transform: translateX(-50%) translateY(-50%);- font-size: calc(var(--n-button-width) - 4px);- color: var(--n-loading-color);- transition: color .3s var(--n-bezier);- `,[(0,w.c)({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),(0,b.cE)("checked, unchecked",`- transition: color .3s var(--n-bezier);- color: var(--n-text-color);- box-sizing: border-box;- position: absolute;- white-space: nowrap;- top: 0;- bottom: 0;- display: flex;- align-items: center;- line-height: 1;- `),(0,b.cE)("checked",`- right: 0;- padding-right: calc(1.25 * var(--n-rail-height) - var(--n-offset));- `),(0,b.cE)("unchecked",`- left: 0;- justify-content: flex-end;- padding-left: calc(1.25 * var(--n-rail-height) - var(--n-offset));- `),(0,b.c)("&:focus",[(0,b.cE)("rail",`- box-shadow: var(--n-box-shadow-focus);- `)]),(0,b.cM)("round",[(0,b.cE)("rail","border-radius: calc(var(--n-rail-height) / 2);",[(0,b.cE)("button","border-radius: calc(var(--n-button-height) / 2);")])]),(0,b.u4)("disabled",[(0,b.u4)("icon",[(0,b.cM)("rubber-band",[(0,b.cM)("pressed",[(0,b.cE)("rail",[(0,b.cE)("button","max-width: var(--n-button-width-pressed);")])]),(0,b.cE)("rail",[(0,b.c)("&:active",[(0,b.cE)("button","max-width: var(--n-button-width-pressed);")])]),(0,b.cM)("active",[(0,b.cM)("pressed",[(0,b.cE)("rail",[(0,b.cE)("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),(0,b.cE)("rail",[(0,b.c)("&:active",[(0,b.cE)("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),(0,b.cM)("active",[(0,b.cE)("rail",[(0,b.cE)("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),(0,b.cE)("rail",`- overflow: hidden;- height: var(--n-rail-height);- min-width: var(--n-rail-width);- border-radius: var(--n-rail-border-radius);- cursor: pointer;- position: relative;- transition:- opacity .3s var(--n-bezier),- background .3s var(--n-bezier),- box-shadow .3s var(--n-bezier);- background-color: var(--n-rail-color);- `,[(0,b.cE)("button-icon",`- color: var(--n-icon-color);- transition: color .3s var(--n-bezier);- font-size: calc(var(--n-button-height) - 4px);- position: absolute;- left: 0;- right: 0;- top: 0;- bottom: 0;- display: flex;- justify-content: center;- align-items: center;- line-height: 1;- `,[(0,w.c)()]),(0,b.cE)("button",`- align-items: center;- top: var(--n-offset);- left: var(--n-offset);- height: var(--n-button-height);- width: var(--n-button-width-pressed);- max-width: var(--n-button-width);- border-radius: var(--n-button-border-radius);- background-color: var(--n-button-color);- box-shadow: var(--n-button-box-shadow);- box-sizing: border-box;- cursor: inherit;- content: "";- position: absolute;- transition:- background-color .3s var(--n-bezier),- left .3s var(--n-bezier),- opacity .3s var(--n-bezier),- max-width .3s var(--n-bezier),- box-shadow .3s var(--n-bezier);- `)]),(0,b.cM)("active",[(0,b.cE)("rail","background-color: var(--n-rail-color-active);")]),(0,b.cM)("loading",[(0,b.cE)("rail",`- cursor: wait;- `)]),(0,b.cM)("disabled",[(0,b.cE)("rail",`- cursor: not-allowed;- opacity: .5;- `)])]),$=Object.assign(Object.assign({},c.Z.props),{size:{type:String,default:"medium"},value:{type:[String,Number,Boolean],default:void 0},loading:Boolean,defaultValue:{type:[String,Number,Boolean],default:!1},disabled:{type:Boolean,default:void 0},round:{type:Boolean,default:!0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},railStyle:Function,rubberBand:{type:Boolean,default:!0},onChange:[Function,Array]}),k=(0,n.aZ)({name:"Switch",props:$,slots:Object,setup(e){void 0===t&&(t="undefined"==typeof CSS||void 0!==CSS.supports&&CSS.supports("width","max(1px)"));let{mergedClsPrefixRef:o,inlineThemeDisabled:r}=(0,d.ZP)(e),a=(0,c.Z)("Switch","-switch",C,x,e,o),s=(0,h.Z)(e),{mergedSizeRef:g,mergedDisabledRef:p}=s,f=(0,n.iH)(e.defaultValue),m=(0,n.Vh)(e,"value"),w=(0,l.Z)(m,f),$=(0,n.Fl)(()=>w.value===e.checkedValue),k=(0,n.iH)(!1),y=(0,n.iH)(!1),z=(0,n.Fl)(()=>{let{railStyle:o}=e;if(o)return o({focused:y.value,checked:$.value})});function E(o){let{"onUpdate:value":r,onChange:t,onUpdateValue:i}=e,{nTriggerFormInput:l,nTriggerFormChange:n}=s;r&&(0,v.R)(r,o),i&&(0,v.R)(i,o),t&&(0,v.R)(t,o),f.value=o,l(),n()}let _=(0,n.Fl)(()=>{let e,o,r,{value:l}=g,{self:{opacityDisabled:n,railColor:s,railColorActive:c,buttonBoxShadow:d,buttonColor:h,boxShadowFocus:u,loadingColor:v,textColor:p,iconColor:f,[(0,b.Tl)("buttonHeight",l)]:m,[(0,b.Tl)("buttonWidth",l)]:x,[(0,b.Tl)("buttonWidthPressed",l)]:w,[(0,b.Tl)("railHeight",l)]:C,[(0,b.Tl)("railWidth",l)]:$,[(0,b.Tl)("railBorderRadius",l)]:k,[(0,b.Tl)("buttonBorderRadius",l)]:y},common:{cubicBezierEaseInOut:z}}=a.value;return t?(e=`calc((${C} - ${m}) / 2)`,o=`max(${C}, ${m})`,r=`max(${$}, calc(${$} + ${m} - ${C}))`):(e=(0,i.BL)(((0,i.fQ)(C)-(0,i.fQ)(m))/2),o=(0,i.BL)(Math.max((0,i.fQ)(C),(0,i.fQ)(m))),r=(0,i.fQ)(C)>(0,i.fQ)(m)?$:(0,i.BL)((0,i.fQ)($)+(0,i.fQ)(m)-(0,i.fQ)(C))),{"--n-bezier":z,"--n-button-border-radius":y,"--n-button-box-shadow":d,"--n-button-color":h,"--n-button-width":x,"--n-button-width-pressed":w,"--n-button-height":m,"--n-height":o,"--n-offset":e,"--n-opacity-disabled":n,"--n-rail-border-radius":k,"--n-rail-color":s,"--n-rail-color-active":c,"--n-rail-height":C,"--n-rail-width":$,"--n-width":r,"--n-box-shadow-focus":u,"--n-loading-color":v,"--n-text-color":p,"--n-icon-color":f}}),B=r?(0,u.F)("switch",(0,n.Fl)(()=>g.value[0]),_,e):void 0;return{handleClick:function(){e.loading||p.value||(w.value!==e.checkedValue?E(e.checkedValue):E(e.uncheckedValue))},handleBlur:function(){y.value=!1;let{nTriggerFormBlur:e}=s;e(),k.value=!1},handleFocus:function(){y.value=!0;let{nTriggerFormFocus:e}=s;e()},handleKeyup:function(o){e.loading||p.value||" "===o.key&&(w.value!==e.checkedValue?E(e.checkedValue):E(e.uncheckedValue),k.value=!1)},handleKeydown:function(o){e.loading||p.value||" "===o.key&&(o.preventDefault(),k.value=!0)},mergedRailStyle:z,pressed:k,mergedClsPrefix:o,mergedValue:w,checked:$,mergedDisabled:p,cssVars:r?void 0:_,themeClass:null==B?void 0:B.themeClass,onRender:null==B?void 0:B.onRender}},render(){let{mergedClsPrefix:e,mergedDisabled:o,checked:r,mergedRailStyle:t,onRender:i,$slots:l}=this;null==i||i();let{checked:c,unchecked:d,icon:h,"checked-icon":u,"unchecked-icon":v}=l,b=!((0,g.aD)(h)&&(0,g.aD)(u)&&(0,g.aD)(v));return(0,n.h)("div",{role:"switch","aria-checked":r,class:[`${e}-switch`,this.themeClass,b&&`${e}-switch--icon`,r&&`${e}-switch--active`,o&&`${e}-switch--disabled`,this.round&&`${e}-switch--round`,this.loading&&`${e}-switch--loading`,this.pressed&&`${e}-switch--pressed`,this.rubberBand&&`${e}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},(0,n.h)("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:t},(0,g.K9)(c,o=>(0,g.K9)(d,r=>o||r?(0,n.h)("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},(0,n.h)("div",{class:`${e}-switch__rail-placeholder`},(0,n.h)("div",{class:`${e}-switch__button-placeholder`}),o),(0,n.h)("div",{class:`${e}-switch__rail-placeholder`},(0,n.h)("div",{class:`${e}-switch__button-placeholder`}),r)):null)),(0,n.h)("div",{class:`${e}-switch__button`},(0,g.K9)(h,o=>(0,g.K9)(u,r=>(0,g.K9)(v,t=>(0,n.h)(a.Z,null,{default:()=>this.loading?(0,n.h)(s.Z,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(r||o)?(0,n.h)("div",{class:`${e}-switch__button-icon`,key:r?"checked-icon":"icon"},r||o):!this.checked&&(t||o)?(0,n.h)("div",{class:`${e}-switch__button-icon`,key:t?"unchecked-icon":"icon"},t||o):null})))),(0,g.K9)(c,o=>o&&(0,n.h)("div",{key:"checked",class:`${e}-switch__checked`},o)),(0,g.K9)(d,o=>o&&(0,n.h)("div",{key:"unchecked",class:`${e}-switch__unchecked`},o)))))}})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/5052.f8831863.js b/core/public/dist/static/js/async/5052.f8831863.jsdeleted file mode 100644index 46063d57..00000000--- a/core/public/dist/static/js/async/5052.f8831863.js+++ /dev/null@@ -1,61 +0,0 @@-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["5052"],{27062:function(e,t,a){a.d(t,{Z:()=>s});var l=a(58786),r=a(82518),i=a(86223);function s(e={},t){let a=(0,l.qj)({ctrl:!1,command:!1,win:!1,shift:!1,tab:!1}),{keydown:n,keyup:o}=e,u=e=>{switch(e.key){case"Control":a.ctrl=!0;break;case"Meta":a.command=!0,a.win=!0;break;case"Shift":a.shift=!0;break;case"Tab":a.tab=!0}void 0!==n&&Object.keys(n).forEach(t=>{if(t!==e.key)return;let a=n[t];if("function"==typeof a)a(e);else{let{stop:t=!1,prevent:l=!1}=a;t&&e.stopPropagation(),l&&e.preventDefault(),a.handler(e)}})},c=e=>{switch(e.key){case"Control":a.ctrl=!1;break;case"Meta":a.command=!1,a.win=!1;break;case"Shift":a.shift=!1;break;case"Tab":a.tab=!1}void 0!==o&&Object.keys(o).forEach(t=>{if(t!==e.key)return;let a=o[t];if("function"==typeof a)a(e);else{let{stop:t=!1,prevent:l=!1}=a;t&&e.stopPropagation(),l&&e.preventDefault(),a.handler(e)}})},d=()=>{(void 0===t||t.value)&&((0,r.on)("keydown",document,u),(0,r.on)("keyup",document,c)),void 0!==t&&(0,l.YP)(t,e=>{e?((0,r.on)("keydown",document,u),(0,r.on)("keyup",document,c)):((0,r.S)("keydown",document,u),(0,r.S)("keyup",document,c))})};return(0,i.N)()?((0,l.wF)(d),(0,l.Jd)(()=>{(void 0===t||t.value)&&((0,r.S)("keydown",document,u),(0,r.S)("keyup",document,c))})):d(),(0,l.OT)(a)}},46471:function(e,t,a){a.d(t,{Z:()=>m});var l=a(32510),r=a(91792),i=a(75266),s=a(3073),n=a(67737),o=a(4339),u=a(98168),c=a(77407),d=Object.prototype.hasOwnProperty;let m=function(e){if(null==e)return!0;if((0,n.Z)(e)&&((0,s.Z)(e)||"string"==typeof e||"function"==typeof e.splice||(0,o.Z)(e)||(0,c.Z)(e)||(0,i.Z)(e)))return!e.length;var t=(0,r.Z)(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if((0,u.Z)(e))return!(0,l.Z)(e).length;for(var a in e)if(d.call(e,a))return!1;return!0}},66236:function(e,t,a){a.d(t,{W3:()=>d,ZP:()=>p});var l=a(58786),r=a(56946),i=a(54470),s=a(53198),n=a(19050),o=a(55456),u=a(71309);let c=(0,u.cB)("breadcrumb",`- white-space: nowrap;- cursor: default;- line-height: var(--n-item-line-height);-`,[(0,u.c)("ul",`- list-style: none;- padding: 0;- margin: 0;- `),(0,u.c)("a",`- color: inherit;- text-decoration: inherit;- `),(0,u.cB)("breadcrumb-item",`- font-size: var(--n-font-size);- transition: color .3s var(--n-bezier);- display: inline-flex;- align-items: center;- `,[(0,u.cB)("icon",`- font-size: 18px;- vertical-align: -.2em;- transition: color .3s var(--n-bezier);- color: var(--n-item-text-color);- `),(0,u.c)("&:not(:last-child)",[(0,u.cM)("clickable",[(0,u.cE)("link",`- cursor: pointer;- `,[(0,u.c)("&:hover",`- background-color: var(--n-item-color-hover);- `),(0,u.c)("&:active",`- background-color: var(--n-item-color-pressed);- `)])])]),(0,u.cE)("link",`- padding: 4px;- border-radius: var(--n-item-border-radius);- transition:- background-color .3s var(--n-bezier),- color .3s var(--n-bezier);- color: var(--n-item-text-color);- position: relative;- `,[(0,u.c)("&:hover",`- color: var(--n-item-text-color-hover);- `,[(0,u.cB)("icon",`- color: var(--n-item-text-color-hover);- `)]),(0,u.c)("&:active",`- color: var(--n-item-text-color-pressed);- `,[(0,u.cB)("icon",`- color: var(--n-item-text-color-pressed);- `)])]),(0,u.cE)("separator",`- margin: 0 8px;- color: var(--n-separator-color);- transition: color .3s var(--n-bezier);- user-select: none;- -webkit-user-select: none;- `),(0,u.c)("&:last-child",[(0,u.cE)("link",`- font-weight: var(--n-font-weight-active);- cursor: unset;- color: var(--n-item-text-color-active);- `,[(0,u.cB)("icon",`- color: var(--n-item-text-color-active);- `)]),(0,u.cE)("separator",`- display: none;- `)])])]),d=(0,n.U)("n-breadcrumb"),m=Object.assign(Object.assign({},r.Z.props),{separator:{type:String,default:"/"}}),p=(0,l.aZ)({name:"Breadcrumb",props:m,setup(e){let{mergedClsPrefixRef:t,inlineThemeDisabled:a}=(0,i.ZP)(e),n=(0,r.Z)("Breadcrumb","-breadcrumb",c,o.Z,e,t);(0,l.JJ)(d,{separatorRef:(0,l.Vh)(e,"separator"),mergedClsPrefixRef:t});let u=(0,l.Fl)(()=>{let{common:{cubicBezierEaseInOut:e},self:{separatorColor:t,itemTextColor:a,itemTextColorHover:l,itemTextColorPressed:r,itemTextColorActive:i,fontSize:s,fontWeightActive:o,itemBorderRadius:u,itemColorHover:c,itemColorPressed:d,itemLineHeight:m}}=n.value;return{"--n-font-size":s,"--n-bezier":e,"--n-item-text-color":a,"--n-item-text-color-hover":l,"--n-item-text-color-pressed":r,"--n-item-text-color-active":i,"--n-separator-color":t,"--n-item-color-hover":c,"--n-item-color-pressed":d,"--n-item-border-radius":u,"--n-font-weight-active":o,"--n-item-line-height":m}}),m=a?(0,s.F)("breadcrumb",void 0,u,e):void 0;return{mergedClsPrefix:t,cssVars:a?void 0:u,themeClass:null==m?void 0:m.themeClass,onRender:null==m?void 0:m.onRender}},render(){var e;return null==(e=this.onRender)||e.call(this),(0,l.h)("nav",{class:[`${this.mergedClsPrefix}-breadcrumb`,this.themeClass],style:this.cssVars,"aria-label":"Breadcrumb"},(0,l.h)("ul",null,this.$slots))}})},70958:function(e,t,a){a.d(t,{Z:()=>n});var l=a(58786),r=a(93950),i=a(68574),s=a(66236);let n=(0,l.aZ)({name:"BreadcrumbItem",props:{separator:String,href:String,clickable:{type:Boolean,default:!0},onClick:Function},slots:Object,setup(e,{slots:t}){let a=(0,l.f3)(s.W3,null);if(!a)return()=>null;let{separatorRef:n,mergedClsPrefixRef:o}=a,u=function(e=i.j?window:null){let t=()=>{let{hash:t,host:a,hostname:l,href:r,origin:i,pathname:s,port:n,protocol:o,search:u}=(null==e?void 0:e.location)||{};return{hash:t,host:a,hostname:l,href:r,origin:i,pathname:s,port:n,protocol:o,search:u}},a=(0,l.iH)(t()),r=()=>{a.value=t()};return(0,l.bv)(()=>{e&&(e.addEventListener("popstate",r),e.addEventListener("hashchange",r))}),(0,l.SK)(()=>{e&&(e.removeEventListener("popstate",r),e.removeEventListener("hashchange",r))}),a}(),c=(0,l.Fl)(()=>e.href?"a":"span"),d=(0,l.Fl)(()=>u.value.href===e.href?"location":null);return()=>{let{value:a}=o;return(0,l.h)("li",{class:[`${a}-breadcrumb-item`,e.clickable&&`${a}-breadcrumb-item--clickable`]},(0,l.h)(c.value,{class:`${a}-breadcrumb-item__link`,"aria-current":d.value,href:e.href,onClick:e.onClick},t),(0,l.h)("span",{class:`${a}-breadcrumb-item__separator`,"aria-hidden":"true"},(0,r.gI)(t.separator,()=>{var t;return[null!=(t=e.separator)?t:n.value]})))}}})},50144:function(e,t,a){a.d(t,{Z:()=>u});var l=a(58786),r=a(56946),i=a(54470),s=a(49942),n=a(44108);let o=Object.assign(Object.assign({},s.Kd),r.Z.props),u=(0,l.aZ)({name:"Tooltip",props:o,slots:Object,__popover__:!0,setup(e){let{mergedClsPrefixRef:t}=(0,i.ZP)(e),a=(0,r.Z)("Tooltip","-tooltip",void 0,n.Z,e,t),s=(0,l.iH)(null);return Object.assign(Object.assign({},{syncPosition(){s.value.syncPosition()},setShow(e){s.value.setShow(e)}}),{popoverRef:s,mergedTheme:a,popoverThemeOverrides:(0,l.Fl)(()=>a.value.self)})},render(){let{mergedTheme:e,internalExtraClass:t}=this;return(0,l.h)(s.ZP,Object.assign(Object.assign({},this.$props),{theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:t.concat("tooltip"),ref:"popoverRef"}),this.$slots)}})},84075:function(e,t,a){a.d(t,{WH:()=>n,hI:()=>s,iE:()=>d,mD:()=>c,sS:()=>u,uz:()=>v,vi:()=>m,yG:()=>p,yL:()=>o});var l=a(76882),r=a(34541);let{t:i}=l.Z.global,s=e=>r.e.get("/contact/group/list",{params:e}),n=()=>r.e.get("/contact/group/all"),o=e=>r.e.get("/contact/group/info",{params:e}),u=e=>r.e.post("/contact/group/create",e,{fetchOptions:{loading:i("contacts.group.loading.createGroup"),successMessage:!0}}),c=e=>r.e.post("/contact/group/update",e,{fetchOptions:{loading:i("contacts.group.loading.updateGroup"),successMessage:!0}}),d=e=>r.e.post("/contact/group/delete",e,{fetchOptions:{loading:i("contacts.group.loading.deleteGroup"),successMessage:!0}}),m=e=>r.e.post("/contact/group/contact_count",e),p=e=>r.e.post("/contact/group/export",e,{fetchOptions:{loading:i("contacts.group.loading.exportGroup"),successMessage:!0}}),v=e=>r.e.post("/contact/group/update",e,{fetchOptions:{loading:i("contacts.group.loading.saveSettings"),successMessage:!0}})},55855:function(e,t,a){a.d(t,{Gk:()=>n,Q5:()=>m,Xr:()=>d,ZS:()=>s,_5:()=>c,gI:()=>u,jC:()=>p,ke:()=>v,mQ:()=>o,oS:()=>f});var l=a(76882),r=a(34541);let{t:i}=l.Z.global;function s(e){return r.e.get("/batch_mail/task/list",{params:e})}function n(e){return r.e.get("/batch_mail/task/stat_chart",{params:e})}function o(e){return r.e.get("/batch_mail/task/find",{params:e})}function u(e){return r.e.post("/batch_mail/task/create",e,{fetchOptions:{loading:i("market.task.loading.creating"),successMessage:!0}})}function c(e){return r.e.post("/batch_mail/task/delete",e,{fetchOptions:{loading:i("market.task.loading.deleting"),successMessage:!0}})}function d(e){return r.e.post("/batch_mail/task/pause",e,{fetchOptions:{loading:i("market.task.loading.pausing"),successMessage:!0}})}function m(e){return r.e.post("/batch_mail/task/resume",e,{fetchOptions:{loading:i("market.task.loading.resuming"),successMessage:!0}})}function p(e){return r.e.post("/batch_mail/task/send_test",e,{fetchOptions:{loading:i("market.task.loading.sendingTest"),successMessage:!0}})}function v(e){return r.e.get("/batch_mail/tracking/mail_provider",{params:e})}function f(e){return r.e.get("/batch_mail/tracking/logs",{params:e})}},36289:function(e,t,a){a.r(t),a.d(t,{default:()=>ec});var l=a(53472),r=a(46244),i=a(17977),s=a(57869),n=a(29283),o=a(16715),u=a(2352),c=a(29875),d=a(15496),m=a(73084),p=a(6455),v=a(66236),f=a(70958),k=a(58786),b=a(31708),h=a(94821),_=a(68271),g=a(55855),w=a(19664),U=a(8490),S=a(51169),y=a(84075),x=a(3179),W=a(46471),Z=a(98003),j=a(52495);let z={class:"pt-12px"},$={class:"flex-1"},C={class:"mt-8px text-12px text-desc"},O=`email,attributes[email protected],"{""age"": ""13"", ""Gender"": ""XXX""}"[email protected],"{""age"": ""45"", ""city"": ""XXX""}"-`,P=(0,k.aZ)({__name:"CreateGroup",setup(e){let{t}=(0,j.QT)(),a=(0,k.AE)("formRef"),l=(0,k.qj)({create_type:2,name:"",file_data:"",file_type:"",description:"",status:1}),i={name:{required:!0,message:t("market.task.createGroup.validation.groupNameRequired"),trigger:["blur","input"]}},s=[{label:"Confirmed",value:1},{label:"Unconfirmed",value:0}],n=e=>{let t=new FileReader;t.onload=t=>{var a;l.file_type=e.name.substring(e.name.lastIndexOf(".")+1),l.file_data=null==(a=t.target)?void 0:a.result},e.file&&t.readAsText(e.file)},o=async()=>{await (0,Z.Sv)({file_path:"./template/example_recipients.csv"})},u=async()=>{var e;if(await (null==(e=a.value)?void 0:e.validate()),(0,W.Z)(l.file_data))return _.v0.error(t("contacts.subscribers.import.validation.fileRequired")),Promise.reject()},[c,v]=(0,S.d)({onChangeState:e=>{e&&(l.name="",l.file_data="",l.file_type="")},onConfirm:async()=>{await u(),await (0,y.sS)((0,k.IU)(l));let e=v.getState();null==e||e.refresh()}});return(e,u)=>{let v=m.Z,f=p.ZP,b=U.Z,h=x.Z,_=d.ZP,g=r.Z;return(0,k.wg)(),(0,k.j4)((0,k.SU)(c),{title:(0,k.SU)(t)("market.task.createGroup.title"),width:"500"},{default:(0,k.w5)(()=>[(0,k._)("div",z,[(0,k.Wm)(g,{ref_key:"formRef",ref:a,model:(0,k.SU)(l),rules:i},{default:(0,k.w5)(()=>[(0,k.Wm)(f,{label:(0,k.SU)(t)("market.task.createGroup.groupName"),path:"name"},{default:(0,k.w5)(()=>[(0,k.Wm)(v,{value:(0,k.SU)(l).name,"onUpdate:value":u[0]||(u[0]=e=>(0,k.SU)(l).name=e),placeholder:(0,k.SU)(t)("market.task.createGroup.groupNamePlaceholder")},null,8,["value","placeholder"])]),_:1},8,["label"]),(0,k.Wm)(f,{label:"Status"},{default:(0,k.w5)(()=>[(0,k.Wm)(b,{value:(0,k.SU)(l).status,"onUpdate:value":u[1]||(u[1]=e=>(0,k.SU)(l).status=e),options:s},null,8,["value"])]),_:1}),(0,k.Wm)(f,{label:(0,k.SU)(t)("market.task.createGroup.email"),path:"file_data"},{default:(0,k.w5)(()=>[(0,k._)("div",$,[(0,k.Wm)(h,{"is-upload":!1,accept:["csv"],onChange:n}),(0,k._)("div",C,[(0,k.Uk)((0,k.zw)(e.$t("contacts.subscribers.import.fileTypeHint"))+" ",1),(0,k.Wm)(_,{text:"",type:"primary",onClick:o},{default:(0,k.w5)(()=>[(0,k.Uk)((0,k.zw)(e.$t("common.actions.download")),1)]),_:1})])])]),_:1},8,["label"]),(0,k.Wm)(f,{label:e.$t("contacts.subscribers.import.exampleCsvLabel")},{default:(0,k.w5)(()=>[(0,k._)("pre",{class:"csv-example"},(0,k.zw)(O))]),_:1},8,["label"])]),_:1},8,["model"])])]),_:1},8,["title"])}}});var E=a(41748);let q=(0,E.default)(P,[["__scopeId","data-v-49081638"]]),R={class:"flex-1"},T={class:"flex items-center"},M={class:"flex-1"},G={class:"ml-12px"},H=(0,k.aZ)({__name:"GroupSelect",props:{value:{default:()=>[]},valueModifiers:{},label:{default:()=>[]},labelModifiers:{}},emits:["update:value","update:label"],setup(e){let t=(0,k.tT)(e,"value"),a=(0,k.tT)(e,"label"),l=(0,k.iH)(!1),r=(0,k.iH)([]),i=(0,k.iH)(0),[s,n]=(0,S.d)({component:q,state:{refresh:()=>{c()}}}),o=()=>{n.open()},u=async e=>{if(a.value=e.map(e=>{let t=r.value.find(t=>t.value===e);return`${(null==t?void 0:t.label)||""}`}),0===e.length){i.value=0;return}let t=await (0,y.vi)({group_ids:e});(0,_.Kn)(t)&&(i.value=t.total)},c=async()=>{try{l.value=!0;let e=await (0,y.WH)();(0,_.Kn)(e)&&(r.value=e.list.map(e=>({label:e.name,value:e.id})))}finally{l.value=!1}};return c(),(e,a)=>{let n=U.Z,c=d.ZP,m=(0,k.up)("i18n-t");return(0,k.wg)(),(0,k.iD)("div",R,[(0,k._)("div",T,[(0,k._)("div",M,[(0,k.Wm)(n,{value:t.value,"onUpdate:value":[a[0]||(a[0]=e=>t.value=e),u],options:(0,k.SU)(r),multiple:!0,filterable:!0,"max-tag-count":"responsive",loading:(0,k.SU)(l),placeholder:e.$t("market.task.edit.recipientsPlaceholder")},null,8,["value","options","loading","placeholder"])]),(0,k._)("div",G,[(0,k.Wm)(c,{text:"",type:"primary",onClick:o},{default:(0,k.w5)(()=>[(0,k.Uk)((0,k.zw)(e.$t("common.actions.create")),1)]),_:1})])]),(0,k.Wm)(m,{class:"mt-8px",tag:"div",scope:"global",keypath:"market.task.edit.recipientsCount"},{count:(0,k.w5)(()=>[(0,k._)("b",null,(0,k.zw)((0,k.SU)(i)),1)]),_:1}),(0,k.Wm)((0,k.SU)(s))])}}});var B=a(28444),N=a(65965);let F={class:"task-edit-container"},I={class:"flex flex-col flex-1 p-24px overflow-auto"},D={class:"flex-1"},L={class:"ml-12px text-desc"},X={class:"w-60px"},A={class:"flex-1 mr-10px"},K={class:"task-preview"},Q={class:"preview-header"},J={class:"preview-header-item"},V={class:"preview-label"},Y={class:"preview-value"},ee={class:"preview-header-item"},et={class:"preview-label"},ea={class:"preview-value"},el={class:"preview-header-item"},er={class:"preview-label"},ei={class:"preview-value"},es={class:"preview-content"},en={key:1,class:"empty-preview"},eo={class:"action-buttons"},eu=(0,k.aZ)({__name:"edit",setup(e){let{t}=(0,j.QT)(),a=(0,b.s6)(),U=(0,N.tv)(),S=(0,N.yj)(),y=(0,k.AE)("formRef"),x=(0,k.AE)("formContentRef"),{height:W}=(0,h.rBN)(x),Z=(0,k.qj)({addresser:null,full_name:"",subject:"",group_ids:[],template_id:null,is_record:1,unsubscribe:1,warmup:0,threads:0,start_time:null,remark:""}),z={full_name:{trigger:["blur","input"],validator:()=>""!==Z.full_name||Error(t("market.task.edit.validation.displayNameRequired"))},subject:{trigger:["blur","input"],validator:()=>""!==Z.subject||Error(t("market.task.edit.validation.subjectRequired"))},group_ids:{trigger:"change",validator:()=>0!==Z.group_ids.length||Error(t("market.task.edit.validation.recipientsRequired"))},template_id:{trigger:"change",validator:()=>null!==Z.template_id||Error(t("market.task.edit.validation.templateRequired"))},start_time:{validator:()=>1!==O.value||null!==Z.start_time||Error(t("market.task.edit.validation.sendTimeRequired"))}},$=(0,k.iH)([]),C=(0,k.iH)(0),O=(0,k.iH)(0),P=(0,k.iH)(""),E=(0,k.iH)(""),q=()=>{U.push("/template")},R=e=>{0===e?Z.threads=0:Z.threads=5},T=()=>{0===O.value&&(Z.start_time=null)},M=async()=>P.value?Z.subject?Z.template_id?void await (0,g.jC)({addresser:Z.addresser||"",subject:Z.subject,recipient:P.value,template_id:Z.template_id||0}):void _.v0.error(t("market.task.edit.validation.templateRequired")):void _.v0.error(t("market.task.edit.validation.subjectRequired")):void _.v0.error(t("market.task.edit.validation.testEmailRequired")),G=()=>{Z.subject||Z.group_ids.length>0?(0,_.iG)({title:t("market.task.edit.discard.title"),content:t("market.task.edit.discard.content"),onConfirm:()=>{U.go(-1)}}):U.go(-1)},eu=()=>{let e=Z.start_time;return(0===O.value||null===e)&&(e=Date.now()),{track_open:1,track_click:1,addresser:Z.addresser||"",full_name:Z.full_name,subject:Z.subject,group_ids:Z.group_ids,template_id:Z.template_id||0,is_record:Z.is_record,unsubscribe:Z.unsubscribe,warmup:Z.warmup,threads:Z.threads,start_time:e/1e3,remark:Z.remark}},ec=async()=>{var e;await (null==(e=y.value)?void 0:e.validate()),await (0,g.gI)(eu()),U.push("/market/task")};function ed(e){if(S.query.chat_id){let t=e.find(e=>e.chat_id==S.query.chat_id);t&&(Z.template_id=t.id,Z.subject=a.temp_subject,E.value=t.html_content)}}return(async()=>{let{task_id:e}=S.query;if(!e)return;let t=await (0,g.mQ)({id:Number(e)});(0,_.Kn)(t)&&(Z.addresser=t.addresser,Z.full_name=t.full_name,Z.subject=t.subject,Z.group_ids=t.etypes.split(",").map(e=>Number(e)),Z.template_id=t.template_id,Z.is_record=t.is_record,Z.unsubscribe=t.unsubscribe,Z.threads=t.threads,C.value=+(0!==t.threads),Z.remark=t.remark)})(),(e,a)=>{let b=(0,k.up)("router-link"),h=f.Z,_=v.ZP,g=p.ZP,U=m.Z,S=d.ZP,j=c.Z,N=u.Z,eu=o.Z,em=n.Z,ep=s.ZP,ev=i.Z,ef=r.Z,ek=l.Z;return(0,k.wg)(),(0,k.iD)("div",F,[(0,k._)("div",I,[(0,k.Wm)(_,{class:"mb-20px"},{default:(0,k.w5)(()=>[(0,k.Wm)(h,null,{default:(0,k.w5)(()=>[(0,k.Wm)(b,{to:"/market/task"},{default:(0,k.w5)(()=>[(0,k.Uk)((0,k.zw)(e.$t("market.task.title")),1)]),_:1})]),_:1}),(0,k.Wm)(h,null,{default:(0,k.w5)(()=>[(0,k.Uk)((0,k.zw)(e.$t("market.task.edit.addTitle")),1)]),_:1})]),_:1}),(0,k._)("div",{class:"task-edit-box",style:(0,k.j5)({minHeight:(0,k.SU)(W)+"px"})},[(0,k.Wm)(ef,{ref_key:"formRef",ref:y,class:"task-edit-form",model:(0,k.SU)(Z),rules:z},{default:(0,k.w5)(()=>[(0,k._)("div",{ref_key:"formContentRef",ref:x},[(0,k.Wm)(ep,{class:"mb-24px"},{default:(0,k.w5)(()=>[(0,k.Wm)(g,{label:e.$t("market.task.edit.from")},{default:(0,k.w5)(()=>[(0,k.Wm)(w.Z,{value:(0,k.SU)(Z).addresser,"onUpdate:value":a[0]||(a[0]=e=>(0,k.SU)(Z).addresser=e),name:(0,k.SU)(Z).full_name,"onUpdate:name":a[1]||(a[1]=e=>(0,k.SU)(Z).full_name=e)},null,8,["value","name"])]),_:1},8,["label"]),(0,k.Wm)(g,{label:e.$t("market.task.edit.displayName"),path:"full_name"},{default:(0,k.w5)(()=>[(0,k.Wm)(U,{value:(0,k.SU)(Z).full_name,"onUpdate:value":a[2]||(a[2]=e=>(0,k.SU)(Z).full_name=e),placeholder:e.$t("market.task.edit.displayNamePlaceholder")},null,8,["value","placeholder"])]),_:1},8,["label"]),(0,k.Wm)(g,{label:e.$t("market.task.edit.subject"),path:"subject"},{default:(0,k.w5)(()=>[(0,k.Wm)(U,{value:(0,k.SU)(Z).subject,"onUpdate:value":a[3]||(a[3]=e=>(0,k.SU)(Z).subject=e),placeholder:e.$t("market.task.edit.subjectPlaceholder")},null,8,["value","placeholder"])]),_:1},8,["label"]),(0,k.Wm)(g,{label:e.$t("market.task.edit.recipients"),type:"group_ids"},{default:(0,k.w5)(()=>[(0,k.Wm)(H,{value:(0,k.SU)(Z).group_ids,"onUpdate:value":a[4]||(a[4]=e=>(0,k.SU)(Z).group_ids=e),label:(0,k.SU)($),"onUpdate:label":a[5]||(a[5]=e=>(0,k.dq)($)?$.value=e:null)},null,8,["value","label"])]),_:1},8,["label"]),(0,k.Wm)(g,{label:e.$t("market.task.edit.template"),path:"template_id"},{default:(0,k.w5)(()=>[(0,k._)("div",D,[(0,k.Wm)(B.Z,{value:(0,k.SU)(Z).template_id,"onUpdate:value":a[6]||(a[6]=e=>(0,k.SU)(Z).template_id=e),content:(0,k.SU)(E),"onUpdate:content":a[7]||(a[7]=e=>(0,k.dq)(E)?E.value=e:null),onListReady:ed},null,8,["value","content"])]),(0,k.Wm)(S,{text:"",type:"primary",class:"ml-12px",onClick:q},{default:(0,k.w5)(()=>[(0,k.Uk)((0,k.zw)((0,k.SU)(t)("common.actions.create")),1)]),_:1})]),_:1},8,["label"]),(0,k.kq)("",!0),(0,k.Wm)(g,{label:(0,k.SU)(t)("market.task.edit.ipWarmup")},{default:(0,k.w5)(()=>[(0,k.Wm)(j,{value:(0,k.SU)(Z).warmup,"onUpdate:value":a[9]||(a[9]=e=>(0,k.SU)(Z).warmup=e),"checked-value":1,"unchecked-value":0},null,8,["value"]),(0,k._)("span",L,(0,k.zw)((0,k.SU)(t)("market.task.edit.ipWarmupTip")),1)]),_:1},8,["label"]),(0,k.Wm)(g,{label:e.$t("market.task.edit.unsubscribeLink")},{default:(0,k.w5)(()=>[(0,k.Wm)(j,{value:(0,k.SU)(Z).unsubscribe,"onUpdate:value":a[10]||(a[10]=e=>(0,k.SU)(Z).unsubscribe=e),"checked-value":1,"unchecked-value":0},null,8,["value"])]),_:1},8,["label"]),(0,k.Wm)(g,{label:e.$t("market.task.edit.threads"),"show-feedback":!1},{default:(0,k.w5)(()=>[(0,k.Wm)(eu,{value:(0,k.SU)(C),"onUpdate:value":[a[11]||(a[11]=e=>(0,k.dq)(C)?C.value=e:null),R]},{default:(0,k.w5)(()=>[(0,k.Wm)(N,{value:0},{default:(0,k.w5)(()=>[(0,k.Uk)((0,k.zw)(e.$t("market.task.edit.threadsAuto")),1)]),_:1}),(0,k.Wm)(N,{value:1},{default:(0,k.w5)(()=>[(0,k.Uk)((0,k.zw)(e.$t("market.task.edit.threadsCustom")),1)]),_:1})]),_:1},8,["value"]),(0,k.wy)((0,k._)("div",X,[(0,k.Wm)(em,{value:(0,k.SU)(Z).threads,"onUpdate:value":a[12]||(a[12]=e=>(0,k.SU)(Z).threads=e),min:1,max:100,"show-button":!1},null,8,["value"])],512),[[k.F8,1===(0,k.SU)(C)]])]),_:1},8,["label"])]),_:1}),(0,k.Wm)(ep,null,{default:(0,k.w5)(()=>[(0,k.Wm)(g,{label:(0,k.SU)(t)("market.task.edit.sendTime"),path:"start_time"},{default:(0,k.w5)(()=>[(0,k.Wm)(eu,{value:(0,k.SU)(O),"onUpdate:value":[a[14]||(a[14]=e=>(0,k.dq)(O)?O.value=e:null),T],class:"flex items-center"},{default:(0,k.w5)(()=>[(0,k.Wm)(N,{value:0},{default:(0,k.w5)(()=>[(0,k.Uk)((0,k.zw)((0,k.SU)(t)("market.task.edit.sendTimeNow")),1)]),_:1}),(0,k.Wm)(N,{class:"items-center",value:1}),(0,k.Wm)(ev,{value:(0,k.SU)(Z).start_time,"onUpdate:value":a[13]||(a[13]=e=>(0,k.SU)(Z).start_time=e),class:"ml-8px",type:"datetime",disabled:0===(0,k.SU)(O)},null,8,["value","disabled"])]),_:1},8,["value"])]),_:1},8,["label"]),(0,k.Wm)(g,{label:e.$t("market.task.edit.remark")},{default:(0,k.w5)(()=>[(0,k.Wm)(U,{value:(0,k.SU)(Z).remark,"onUpdate:value":a[15]||(a[15]=e=>(0,k.SU)(Z).remark=e),placeholder:e.$t("market.task.edit.remarkPlaceholder")},null,8,["value","placeholder"])]),_:1},8,["label"]),(0,k.Wm)(g,{label:e.$t("market.task.edit.testEmail"),"show-feedback":!1},{default:(0,k.w5)(()=>[(0,k._)("div",A,[(0,k.Wm)(U,{value:(0,k.SU)(P),"onUpdate:value":a[16]||(a[16]=e=>(0,k.dq)(P)?P.value=e:null),placeholder:e.$t("market.task.edit.testEmailPlaceholder")},null,8,["value","placeholder"])]),(0,k.Wm)(S,{onClick:M},{default:(0,k.w5)(()=>[(0,k.Uk)((0,k.zw)(e.$t("market.task.edit.sendTest")),1)]),_:1})]),_:1},8,["label"])]),_:1})],512)]),_:1},8,["model"]),(0,k._)("div",K,[(0,k.Wm)(ep,{class:"h-full","content-style":{display:"flex",flexDirection:"column",height:"100%"}},{default:(0,k.w5)(()=>[(0,k._)("div",Q,[(0,k._)("div",J,[(0,k._)("div",V,(0,k.zw)((0,k.SU)(t)("market.task.edit.from"))+":",1),(0,k._)("div",Y,(0,k.zw)((0,k.SU)(Z).addresser),1)]),(0,k._)("div",ee,[(0,k._)("div",et,(0,k.zw)((0,k.SU)(t)("market.task.edit.to"))+":",1),(0,k._)("div",ea,(0,k.zw)((0,k.SU)($).length>0?(0,k.SU)($).join(", "):"--"),1)]),(0,k._)("div",el,[(0,k._)("div",er,(0,k.zw)((0,k.SU)(t)("market.task.edit.subject"))+":",1),(0,k._)("div",ei,(0,k.zw)((0,k.SU)(Z).subject||"--"),1)])]),(0,k._)("div",es,[(0,k.SU)(E)?((0,k.wg)(),(0,k.j4)(ek,{key:0,value:(0,k.SU)(E)},null,8,["value"])):((0,k.wg)(),(0,k.iD)("div",en,(0,k.zw)((0,k.SU)(t)("market.task.edit.preview.empty")),1))])]),_:1})])],4)]),(0,k._)("div",eo,[(0,k.Wm)(S,{type:"primary",onClick:ec},{default:(0,k.w5)(()=>[(0,k.Uk)((0,k.zw)(e.$t("common.actions.confirm")),1)]),_:1}),(0,k.Wm)(S,{class:"ml-16px",secondary:"",onClick:G},{default:(0,k.w5)(()=>[(0,k.Uk)((0,k.zw)(e.$t("common.actions.back")),1)]),_:1})])])}}}),ec=(0,E.default)(eu,[["__scopeId","data-v-df8dad9a"]])}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/5274.d5d8d057.js b/core/public/dist/static/js/async/5274.d5d8d057.jsdeleted file mode 100644index 9efe93c7..00000000--- a/core/public/dist/static/js/async/5274.d5d8d057.js+++ /dev/null@@ -1,108 +0,0 @@-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["5274"],{29283:function(e,t,n){n.d(t,{Z:()=>F});var l=n(82518),i=n(19595),r=n(20013),a=n(61691),o=n(58786),u=n(96823);let d=(0,o.aZ)({name:"Remove",render:()=>(0,o.h)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,o.h)("line",{x1:"400",y1:"256",x2:"112",y2:"256",style:"\n fill: none;\n stroke: currentColor;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke-width: 32px;\n "}))});var s=n(65977),c=n(56946),h=n(54470),f=n(3616),v=n(32196),p=n(51048),b=n(44267),m=n(93950),g=n(15496),w=n(73084),x=n(9798),y=n(8968),k=n(34534);let B=(0,c.j)({name:"InputNumber",common:x.Z,peers:{Button:y.Z,Input:k.Z},self:function(e){let{textColorDisabled:t}=e;return{iconColorDisabled:t}}});var V=n(71309);let I=(0,V.c)([(0,V.cB)("input-number-suffix",`- display: inline-block;- margin-right: 10px;- `),(0,V.cB)("input-number-prefix",`- display: inline-block;- margin-left: 10px;- `)]);function $(e){return null==e||!Number.isNaN(e)}function S(e,t){return"number"!=typeof e?"":void 0===t?String(e):e.toFixed(t)}function C(e){if(null===e)return null;if("number"==typeof e)return e;{let t=Number(e);return Number.isNaN(t)?null:t}}let Z=Object.assign(Object.assign({},c.Z.props),{autofocus:Boolean,loading:{type:Boolean,default:void 0},placeholder:String,defaultValue:{type:Number,default:null},value:Number,step:{type:[Number,String],default:1},min:[Number,String],max:[Number,String],size:String,disabled:{type:Boolean,default:void 0},validator:Function,bordered:{type:Boolean,default:void 0},showButton:{type:Boolean,default:!0},buttonPlacement:{type:String,default:"right"},inputProps:Object,readonly:Boolean,clearable:Boolean,keyboard:{type:Object,default:{}},updateValueOnInput:{type:Boolean,default:!0},round:{type:Boolean,default:void 0},parse:Function,format:Function,precision:Number,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onChange:[Function,Array]}),F=(0,o.aZ)({name:"InputNumber",props:Z,slots:Object,setup(e){let{mergedBorderedRef:t,mergedClsPrefixRef:n,mergedRtlRef:u}=(0,h.ZP)(e),d=(0,c.Z)("InputNumber","-input-number",I,B,e,n),{localeRef:s}=(0,f.Z)("InputNumber"),m=(0,v.Z)(e),{mergedSizeRef:g,mergedDisabledRef:w,mergedStatusRef:x}=m,y=(0,o.iH)(null),k=(0,o.iH)(null),V=(0,o.iH)(null),Z=(0,o.iH)(e.defaultValue),F=(0,o.Vh)(e,"value"),E=(0,r.Z)(F,Z),M=(0,o.iH)(""),R=e=>{let t=String(e).split(".")[1];return t?t.length:0},O=t=>Math.max(...[e.min,e.max,e.step,t].map(e=>void 0===e?0:R(e))),T=(0,a.Z)(()=>{let{placeholder:t}=e;return void 0!==t?t:s.value.placeholder}),P=(0,a.Z)(()=>{let t=C(e.step);return null!==t?0===t?1:Math.abs(t):1}),D=(0,a.Z)(()=>{let t=C(e.min);return null!==t?t:null}),N=(0,a.Z)(()=>{let t=C(e.max);return null!==t?t:null}),z=()=>{let{value:t}=E;if($(t)){let{format:n,precision:l}=e;n?M.value=n(t):null===t||void 0===l||R(t)>l?M.value=S(t,void 0):M.value=S(t,l)}else M.value=String(t)};z();let _=t=>{let{value:n}=E;if(t===n)return void z();let{"onUpdate:value":l,onUpdateValue:i,onChange:r}=e,{nTriggerFormInput:a,nTriggerFormChange:o}=m;r&&(0,b.R)(r,t),i&&(0,b.R)(i,t),l&&(0,b.R)(l,t),Z.value=t,a(),o()},U=({offset:t,doUpdateIfValid:n,fixPrecision:l,isInputing:i})=>{let{value:r}=M;if(i&&(r.includes(".")&&(/^(-)?\d+.*(\.|0)$/.test(r)||/^-?\d*$/.test(r))||"-"===r||"-0"===r))return!1;let a=(e.parse||function(e){return null==e||"string"==typeof e&&""===e.trim()?null:Number(e)})(r);if(null===a)return n&&_(null),null;if($(a)){let r=R(a),{precision:o}=e;if(void 0!==o&&o<r&&!l)return!1;let u=Number.parseFloat((a+t).toFixed(null!=o?o:O(a)));if($(u)){let{value:t}=N,{value:l}=D;if(null!==t&&u>t){if(!n||i)return!1;u=t}if(null!==l&&u<l){if(!n||i)return!1;u=l}return(!e.validator||!!e.validator(u))&&(n&&_(u),u)}}return!1},A=(0,a.Z)(()=>!1===U({offset:0,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})),K=(0,a.Z)(()=>{let{value:t}=E;if(e.validator&&null===t)return!1;let{value:n}=P;return!1!==U({offset:-n,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})}),j=(0,a.Z)(()=>{let{value:t}=E;if(e.validator&&null===t)return!1;let{value:n}=P;return!1!==U({offset:+n,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})});function H(){let{value:t}=j;if(!t)return void J();let{value:n}=E;if(null===n)e.validator||_(L());else{let{value:e}=P;U({offset:e,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}function Q(){let{value:t}=K;if(!t)return void q();let{value:n}=E;if(null===n)e.validator||_(L());else{let{value:e}=P;U({offset:-e,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}function L(){if(e.validator)return null;let{value:t}=D,{value:n}=N;return null!==t?Math.max(0,t):null!==n?Math.min(0,n):0}let W=null,Y=null,X=null;function q(){X&&(window.clearTimeout(X),X=null),W&&(window.clearInterval(W),W=null)}let G=null;function J(){G&&(window.clearTimeout(G),G=null),Y&&(window.clearInterval(Y),Y=null)}(0,o.YP)(E,()=>{z()});let ee=(0,p.V)("InputNumber",u,n);return Object.assign(Object.assign({},{focus:()=>{var e;return null==(e=y.value)?void 0:e.focus()},blur:()=>{var e;return null==(e=y.value)?void 0:e.blur()},select:()=>{var e;return null==(e=y.value)?void 0:e.select()}}),{rtlEnabled:ee,inputInstRef:y,minusButtonInstRef:k,addButtonInstRef:V,mergedClsPrefix:n,mergedBordered:t,uncontrolledValue:Z,mergedValue:E,mergedPlaceholder:T,displayedValueInvalid:A,mergedSize:g,mergedDisabled:w,displayedValue:M,addable:j,minusable:K,mergedStatus:x,handleFocus:function(t){let{onFocus:n}=e,{nTriggerFormFocus:l}=m;n&&(0,b.R)(n,t),l()},handleBlur:function(t){var n,l;if(t.target===(null==(n=y.value)?void 0:n.wrapperElRef))return;let i=U({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});if(!1!==i){let e=null==(l=y.value)?void 0:l.inputElRef;e&&(e.value=String(i||"")),E.value===i&&z()}else z();let{onBlur:r}=e,{nTriggerFormBlur:a}=m;r&&(0,b.R)(r,t),a(),(0,o.Y3)(()=>{z()})},handleClear:function(t){let{onClear:n}=e;n&&(0,b.R)(n,t),_(null)},handleMouseDown:function(e){var t,n,l;(null==(t=V.value)?void 0:t.$el.contains(e.target))&&e.preventDefault(),(null==(n=k.value)?void 0:n.$el.contains(e.target))&&e.preventDefault(),null==(l=y.value)||l.activate()},handleAddClick:()=>{Y||H()},handleMinusClick:()=>{W||Q()},handleAddMousedown:function(){J(),G=window.setTimeout(()=>{Y=window.setInterval(()=>{H()},100)},800),(0,l.on)("mouseup",document,J,{once:!0})},handleMinusMousedown:function(){q(),X=window.setTimeout(()=>{W=window.setInterval(()=>{Q()},100)},800),(0,l.on)("mouseup",document,q,{once:!0})},handleKeyDown:function(t){var n,l;if("Enter"===t.key){if(t.target===(null==(n=y.value)?void 0:n.wrapperElRef))return;!1!==U({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})&&(null==(l=y.value)||l.deactivate())}else if("ArrowUp"===t.key){if(!j.value||!1===e.keyboard.ArrowUp)return;t.preventDefault(),!1!==U({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})&&H()}else if("ArrowDown"===t.key){if(!K.value||!1===e.keyboard.ArrowDown)return;t.preventDefault(),!1!==U({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})&&Q()}},handleUpdateDisplayedValue:function(t){M.value=t,!e.updateValueOnInput||e.format||e.parse||void 0!==e.precision||U({offset:0,doUpdateIfValid:!0,isInputing:!0,fixPrecision:!1})},mergedTheme:d,inputThemeOverrides:{paddingSmall:"0 8px 0 10px",paddingMedium:"0 8px 0 12px",paddingLarge:"0 8px 0 14px"},buttonThemeOverrides:(0,o.Fl)(()=>{let{self:{iconColorDisabled:e}}=d.value,[t,n,l,r]=(0,i.m4)(e);return{textColorTextDisabled:`rgb(${t}, ${n}, ${l})`,opacityDisabled:`${r}`}})})},render(){let{mergedClsPrefix:e,$slots:t}=this,n=()=>(0,o.h)(g.Rb,{text:!0,disabled:!this.minusable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleMinusClick,onMousedown:this.handleMinusMousedown,ref:"minusButtonInstRef"},{icon:()=>(0,m.gI)(t["minus-icon"],()=>[(0,o.h)(u.Z,{clsPrefix:e},{default:()=>(0,o.h)(d,null)})])}),l=()=>(0,o.h)(g.Rb,{text:!0,disabled:!this.addable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleAddClick,onMousedown:this.handleAddMousedown,ref:"addButtonInstRef"},{icon:()=>(0,m.gI)(t["add-icon"],()=>[(0,o.h)(u.Z,{clsPrefix:e},{default:()=>(0,o.h)(s.Z,null)})])});return(0,o.h)("div",{class:[`${e}-input-number`,this.rtlEnabled&&`${e}-input-number--rtl`]},(0,o.h)(w.Z,{ref:"inputInstRef",autofocus:this.autofocus,status:this.mergedStatus,bordered:this.mergedBordered,loading:this.loading,value:this.displayedValue,onUpdateValue:this.handleUpdateDisplayedValue,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,builtinThemeOverrides:this.inputThemeOverrides,size:this.mergedSize,placeholder:this.mergedPlaceholder,disabled:this.mergedDisabled,readonly:this.readonly,round:this.round,textDecoration:this.displayedValueInvalid?"line-through":void 0,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onClear:this.handleClear,clearable:this.clearable,inputProps:this.inputProps,internalLoadingBeforeSuffix:!0},{prefix:()=>{var l;return this.showButton&&"both"===this.buttonPlacement?[n(),(0,m.K9)(t.prefix,t=>t?(0,o.h)("span",{class:`${e}-input-number-prefix`},t):null)]:null==(l=t.prefix)?void 0:l.call(t)},suffix:()=>{var i;return this.showButton?[(0,m.K9)(t.suffix,t=>t?(0,o.h)("span",{class:`${e}-input-number-suffix`},t):null),"right"===this.buttonPlacement?n():null,l()]:null==(i=t.suffix)?void 0:i.call(t)}}))}})},29875:function(e,t,n){let l;n.d(t,{Z:()=>B});var i=n(65083),r=n(20013),a=n(58786),o=n(76128),u=n(62594),d=n(56946),s=n(54470),c=n(32196),h=n(53198),f=n(44267),v=n(71309),p=n(93950),b=n(19595),m=n(9798),g=n(30951);let w={name:"Switch",common:m.Z,self:function(e){let{primaryColor:t,opacityDisabled:n,borderRadius:l,textColor3:i}=e;return Object.assign(Object.assign({},g.Z),{iconColor:i,textColor:"white",loadingColor:t,opacityDisabled:n,railColor:"rgba(0, 0, 0, .14)",railColorActive:t,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:l,railBorderRadiusMedium:l,railBorderRadiusLarge:l,buttonBorderRadiusSmall:l,buttonBorderRadiusMedium:l,buttonBorderRadiusLarge:l,boxShadowFocus:`0 0 0 2px ${(0,b.zX)(t,{alpha:.2})}`})}};var x=n(28632);let y=(0,v.cB)("switch",`- height: var(--n-height);- min-width: var(--n-width);- vertical-align: middle;- user-select: none;- -webkit-user-select: none;- display: inline-flex;- outline: none;- justify-content: center;- align-items: center;-`,[(0,v.cE)("children-placeholder",`- height: var(--n-rail-height);- display: flex;- flex-direction: column;- overflow: hidden;- pointer-events: none;- visibility: hidden;- `),(0,v.cE)("rail-placeholder",`- display: flex;- flex-wrap: none;- `),(0,v.cE)("button-placeholder",`- width: calc(1.75 * var(--n-rail-height));- height: var(--n-rail-height);- `),(0,v.cB)("base-loading",`- position: absolute;- top: 50%;- left: 50%;- transform: translateX(-50%) translateY(-50%);- font-size: calc(var(--n-button-width) - 4px);- color: var(--n-loading-color);- transition: color .3s var(--n-bezier);- `,[(0,x.c)({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),(0,v.cE)("checked, unchecked",`- transition: color .3s var(--n-bezier);- color: var(--n-text-color);- box-sizing: border-box;- position: absolute;- white-space: nowrap;- top: 0;- bottom: 0;- display: flex;- align-items: center;- line-height: 1;- `),(0,v.cE)("checked",`- right: 0;- padding-right: calc(1.25 * var(--n-rail-height) - var(--n-offset));- `),(0,v.cE)("unchecked",`- left: 0;- justify-content: flex-end;- padding-left: calc(1.25 * var(--n-rail-height) - var(--n-offset));- `),(0,v.c)("&:focus",[(0,v.cE)("rail",`- box-shadow: var(--n-box-shadow-focus);- `)]),(0,v.cM)("round",[(0,v.cE)("rail","border-radius: calc(var(--n-rail-height) / 2);",[(0,v.cE)("button","border-radius: calc(var(--n-button-height) / 2);")])]),(0,v.u4)("disabled",[(0,v.u4)("icon",[(0,v.cM)("rubber-band",[(0,v.cM)("pressed",[(0,v.cE)("rail",[(0,v.cE)("button","max-width: var(--n-button-width-pressed);")])]),(0,v.cE)("rail",[(0,v.c)("&:active",[(0,v.cE)("button","max-width: var(--n-button-width-pressed);")])]),(0,v.cM)("active",[(0,v.cM)("pressed",[(0,v.cE)("rail",[(0,v.cE)("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),(0,v.cE)("rail",[(0,v.c)("&:active",[(0,v.cE)("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),(0,v.cM)("active",[(0,v.cE)("rail",[(0,v.cE)("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),(0,v.cE)("rail",`- overflow: hidden;- height: var(--n-rail-height);- min-width: var(--n-rail-width);- border-radius: var(--n-rail-border-radius);- cursor: pointer;- position: relative;- transition:- opacity .3s var(--n-bezier),- background .3s var(--n-bezier),- box-shadow .3s var(--n-bezier);- background-color: var(--n-rail-color);- `,[(0,v.cE)("button-icon",`- color: var(--n-icon-color);- transition: color .3s var(--n-bezier);- font-size: calc(var(--n-button-height) - 4px);- position: absolute;- left: 0;- right: 0;- top: 0;- bottom: 0;- display: flex;- justify-content: center;- align-items: center;- line-height: 1;- `,[(0,x.c)()]),(0,v.cE)("button",`- align-items: center;- top: var(--n-offset);- left: var(--n-offset);- height: var(--n-button-height);- width: var(--n-button-width-pressed);- max-width: var(--n-button-width);- border-radius: var(--n-button-border-radius);- background-color: var(--n-button-color);- box-shadow: var(--n-button-box-shadow);- box-sizing: border-box;- cursor: inherit;- content: "";- position: absolute;- transition:- background-color .3s var(--n-bezier),- left .3s var(--n-bezier),- opacity .3s var(--n-bezier),- max-width .3s var(--n-bezier),- box-shadow .3s var(--n-bezier);- `)]),(0,v.cM)("active",[(0,v.cE)("rail","background-color: var(--n-rail-color-active);")]),(0,v.cM)("loading",[(0,v.cE)("rail",`- cursor: wait;- `)]),(0,v.cM)("disabled",[(0,v.cE)("rail",`- cursor: not-allowed;- opacity: .5;- `)])]),k=Object.assign(Object.assign({},d.Z.props),{size:{type:String,default:"medium"},value:{type:[String,Number,Boolean],default:void 0},loading:Boolean,defaultValue:{type:[String,Number,Boolean],default:!1},disabled:{type:Boolean,default:void 0},round:{type:Boolean,default:!0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},railStyle:Function,rubberBand:{type:Boolean,default:!0},onChange:[Function,Array]}),B=(0,a.aZ)({name:"Switch",props:k,slots:Object,setup(e){void 0===l&&(l="undefined"==typeof CSS||void 0!==CSS.supports&&CSS.supports("width","max(1px)"));let{mergedClsPrefixRef:t,inlineThemeDisabled:n}=(0,s.ZP)(e),o=(0,d.Z)("Switch","-switch",y,w,e,t),u=(0,c.Z)(e),{mergedSizeRef:p,mergedDisabledRef:b}=u,m=(0,a.iH)(e.defaultValue),g=(0,a.Vh)(e,"value"),x=(0,r.Z)(g,m),k=(0,a.Fl)(()=>x.value===e.checkedValue),B=(0,a.iH)(!1),V=(0,a.iH)(!1),I=(0,a.Fl)(()=>{let{railStyle:t}=e;if(t)return t({focused:V.value,checked:k.value})});function $(t){let{"onUpdate:value":n,onChange:l,onUpdateValue:i}=e,{nTriggerFormInput:r,nTriggerFormChange:a}=u;n&&(0,f.R)(n,t),i&&(0,f.R)(i,t),l&&(0,f.R)(l,t),m.value=t,r(),a()}let S=(0,a.Fl)(()=>{let e,t,n,{value:r}=p,{self:{opacityDisabled:a,railColor:u,railColorActive:d,buttonBoxShadow:s,buttonColor:c,boxShadowFocus:h,loadingColor:f,textColor:b,iconColor:m,[(0,v.Tl)("buttonHeight",r)]:g,[(0,v.Tl)("buttonWidth",r)]:w,[(0,v.Tl)("buttonWidthPressed",r)]:x,[(0,v.Tl)("railHeight",r)]:y,[(0,v.Tl)("railWidth",r)]:k,[(0,v.Tl)("railBorderRadius",r)]:B,[(0,v.Tl)("buttonBorderRadius",r)]:V},common:{cubicBezierEaseInOut:I}}=o.value;return l?(e=`calc((${y} - ${g}) / 2)`,t=`max(${y}, ${g})`,n=`max(${k}, calc(${k} + ${g} - ${y}))`):(e=(0,i.BL)(((0,i.fQ)(y)-(0,i.fQ)(g))/2),t=(0,i.BL)(Math.max((0,i.fQ)(y),(0,i.fQ)(g))),n=(0,i.fQ)(y)>(0,i.fQ)(g)?k:(0,i.BL)((0,i.fQ)(k)+(0,i.fQ)(g)-(0,i.fQ)(y))),{"--n-bezier":I,"--n-button-border-radius":V,"--n-button-box-shadow":s,"--n-button-color":c,"--n-button-width":w,"--n-button-width-pressed":x,"--n-button-height":g,"--n-height":t,"--n-offset":e,"--n-opacity-disabled":a,"--n-rail-border-radius":B,"--n-rail-color":u,"--n-rail-color-active":d,"--n-rail-height":y,"--n-rail-width":k,"--n-width":n,"--n-box-shadow-focus":h,"--n-loading-color":f,"--n-text-color":b,"--n-icon-color":m}}),C=n?(0,h.F)("switch",(0,a.Fl)(()=>p.value[0]),S,e):void 0;return{handleClick:function(){e.loading||b.value||(x.value!==e.checkedValue?$(e.checkedValue):$(e.uncheckedValue))},handleBlur:function(){V.value=!1;let{nTriggerFormBlur:e}=u;e(),B.value=!1},handleFocus:function(){V.value=!0;let{nTriggerFormFocus:e}=u;e()},handleKeyup:function(t){e.loading||b.value||" "===t.key&&(x.value!==e.checkedValue?$(e.checkedValue):$(e.uncheckedValue),B.value=!1)},handleKeydown:function(t){e.loading||b.value||" "===t.key&&(t.preventDefault(),B.value=!0)},mergedRailStyle:I,pressed:B,mergedClsPrefix:t,mergedValue:x,checked:k,mergedDisabled:b,cssVars:n?void 0:S,themeClass:null==C?void 0:C.themeClass,onRender:null==C?void 0:C.onRender}},render(){let{mergedClsPrefix:e,mergedDisabled:t,checked:n,mergedRailStyle:l,onRender:i,$slots:r}=this;null==i||i();let{checked:d,unchecked:s,icon:c,"checked-icon":h,"unchecked-icon":f}=r,v=!((0,p.aD)(c)&&(0,p.aD)(h)&&(0,p.aD)(f));return(0,a.h)("div",{role:"switch","aria-checked":n,class:[`${e}-switch`,this.themeClass,v&&`${e}-switch--icon`,n&&`${e}-switch--active`,t&&`${e}-switch--disabled`,this.round&&`${e}-switch--round`,this.loading&&`${e}-switch--loading`,this.pressed&&`${e}-switch--pressed`,this.rubberBand&&`${e}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},(0,a.h)("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:l},(0,p.K9)(d,t=>(0,p.K9)(s,n=>t||n?(0,a.h)("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},(0,a.h)("div",{class:`${e}-switch__rail-placeholder`},(0,a.h)("div",{class:`${e}-switch__button-placeholder`}),t),(0,a.h)("div",{class:`${e}-switch__rail-placeholder`},(0,a.h)("div",{class:`${e}-switch__button-placeholder`}),n)):null)),(0,a.h)("div",{class:`${e}-switch__button`},(0,p.K9)(c,t=>(0,p.K9)(h,n=>(0,p.K9)(f,l=>(0,a.h)(o.Z,null,{default:()=>this.loading?(0,a.h)(u.Z,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(n||t)?(0,a.h)("div",{class:`${e}-switch__button-icon`,key:n?"checked-icon":"icon"},n||t):!this.checked&&(l||t)?(0,a.h)("div",{class:`${e}-switch__button-icon`,key:l?"unchecked-icon":"icon"},l||t):null})))),(0,p.K9)(d,t=>t&&(0,a.h)("div",{key:"checked",class:`${e}-switch__checked`},t)),(0,p.K9)(s,t=>t&&(0,a.h)("div",{key:"unchecked",class:`${e}-switch__unchecked`},t)))))}})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/5291.0e7368af.js b/core/public/dist/static/js/async/5291.0e7368af.jsdeleted file mode 100644index b9fe7bff..00000000--- a/core/public/dist/static/js/async/5291.0e7368af.js+++ /dev/null@@ -1 +0,0 @@-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["5291"],{77984:function(e,t,a){a.d(t,{F:()=>r});var l=a(68271),s=a(94821),i=a(76882);let r=()=>{let{t:e}=i.Z.global,{copy:t,isSupported:a,copied:r}=(0,s.VPI)({legacy:!0});return{copied:r,copyText:async s=>{if(!s)return void l.v0.error(e("common.useCopy.noText"));a.value?(await t(s),l.v0.success(e("common.useCopy.success"))):l.v0.error(e("common.useCopy.failed"))}}}},51169:function(e,t,a){a.d(t,{d:()=>r});var l=a(58786),s=a(49247);let i=Symbol("MODAL_INJECT"),r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{state:t={},component:a,onCancel:r,onConfirm:n}=e,u=(0,l.qj)({});return a?[(0,l.aZ)({setup(s,r){let{attrs:n,slots:o}=r;return(0,l.JJ)(i,{state:t,options:e,extendApi:e=>{Object.setPrototypeOf(u,e)},setState:e=>{Object.assign(t,e)}}),()=>(0,l.h)(a,{...s,...n},o)}}),u]:[(0,l.aZ)({setup(t,a){let{attrs:o,slots:d}=a,m=(0,l.f3)(i),M=(0,l.iH)(!1);return u.open=()=>{var t;M.value=!0,null==(t=e.onChangeState)||t.call(e,M.value)},u.close=()=>{M.value=!1},u.setState=t=>{var a;null==m||m.setState(t),null==(a=e.onChangeState)||a.call(e,M.value)},u.getState=()=>(null==m?void 0:m.state)??{},null==m||m.extendApi(u),()=>(0,l.Wm)(s.Z,(0,l.dG)({show:M.value},t,o,{onCancel:r,onConfirm:n,"onUpdate:show":e=>{M.value=e??!1}}),d)}}),u]}},16893:function(e,t,a){a.d(t,{Z:()=>r});var l=a(15496),s=a(58786);let i={class:"mr-4px"},r=(0,s.aZ)({__name:"index",props:{href:{type:String,default:""},text:{type:String,default:""}},setup(e){let t=()=>{window.open(e.href)};return(a,r)=>{let n=l.ZP;return(0,s.wg)(),(0,s.j4)(n,{text:"",onClick:t},{default:(0,s.w5)(()=>[(0,s._)("span",i,(0,s.zw)(e.text||a.$t("common.actions.help")),1),r[0]||(r[0]=(0,s._)("i",{class:"i-custom:help text-primary"},null,-1))]),_:1,__:[0]})}}})},66760:function(e,t,a){a.d(t,{Z:()=>n});var l=a(81021),s=a(15496),i=a(58786);let r={class:"leading-22px text-13px text-desc text-center"},n=(0,i.aZ)({__name:"index",setup(e){let t=()=>{window.open("https://github.com/aaPanel/BillionMail/issues")},a=()=>{window.open("https://github.com/aaPanel/BillionMail")};return(e,n)=>{let u=s.ZP,o=(0,i.up)("i18n-t"),d=l.Z;return(0,i.wg)(),(0,i.j4)(d,null,{default:(0,i.w5)(()=>[(0,i._)("div",r,[(0,i.Wm)(o,{tag:"span",scope:"global",keypath:"components.tableHelp.text1"},{issues:(0,i.w5)(()=>[(0,i.Wm)(u,{class:"text-13px",type:"primary",text:"",onClick:t},{default:(0,i.w5)(()=>n[0]||(n[0]=[(0,i._)("span",null,"Issues",-1),(0,i._)("i",{class:"i-mdi:arrow-right ml-1px"},null,-1)])),_:1,__:[0]})]),star:(0,i.w5)(()=>[(0,i.Wm)(u,{class:"text-13px",type:"primary",text:"",onClick:a},{default:(0,i.w5)(()=>n[1]||(n[1]=[(0,i.Uk)(" Star "),(0,i._)("i",{class:"i-mdi:arrow-right ml-1px"},null,-1)])),_:1,__:[1]})]),_:1}),n[2]||(n[2]=(0,i._)("br",null,null,-1)),(0,i._)("span",null,(0,i.zw)(e.$t("components.tableHelp.text2")),1)])]),_:1})}}})},46244:function(e,t,a){a.d(t,{Z:()=>i});var l=a(98048),s=a(58786);let i=(0,s.aZ)({__name:"index",props:{model:{},rules:{},labelWidth:{},labelPlacement:{default:"top"}},setup(e,t){let{expose:a}=t,i=(0,s.iH)(null);return a({validate:()=>{var e;return null==(e=i.value)?void 0:e.validate()},restoreValidation:()=>{var e;return null==(e=i.value)?void 0:e.restoreValidation()}}),(e,t)=>{let a=l.Z;return(0,s.wg)(),(0,s.j4)(a,(0,s.dG)(e.$attrs,{ref_key:"formRef",ref:i,model:e.model,rules:e.rules,"label-width":e.labelWidth,"label-placement":e.labelPlacement}),{default:(0,s.w5)(()=>[(0,s.WI)(e.$slots,"default")]),_:3},16,["model","rules","label-width","label-placement"])}}})},72264:function(e,t,a){a.r(t),a.d(t,{default:()=>eh});var l=a(66760),s=a(16893),i=a(52742),r=a(15496),n=a(58786),u=a(68271),o=a(51169),d=a(34541);let{t:m}=a(76882).Z.global,M=()=>d.e.get("/relay/list"),c=e=>d.e.post("/relay/add",e,{fetchOptions:{successMessage:!0,loading:m("smtp.api.loading.adding")}}),p=e=>d.e.post("/relay/edit",e,{fetchOptions:{successMessage:!0,loading:m("smtp.api.loading.editing")}}),g=e=>d.e.post("/relay/test_connection",e,{fetchOptions:{successMessage:!0,loading:m("smtp.api.loading.testing")}}),N=e=>d.e.post("/relay/delete",e,{fetchOptions:{successMessage:!0,loading:m("smtp.api.loading.deleting")}}),y=()=>d.e.get("/relay/get_unbound_domains");var I=a(35409),w=a(53903),_=a(29875);let D={class:"status-text"},j=(0,n.aZ)({__name:"SmtpStatus",props:{value:{type:Boolean,default:!1}},setup:e=>(t,a)=>{let l=w.ZP;return(0,n.wg)(),(0,n.j4)(l,{size:"small",bordered:!1},{default:(0,n.w5)(()=>[(0,n._)("div",{class:(0,n.C_)(["status-icon",e.value?"status-success":"status-error"])},null,2),(0,n._)("div",D,(0,n.zw)(e.value?t.$t("smtp.status.online"):t.$t("smtp.status.offline")),1)]),_:1})}});var v=a(41748);let T=(0,v.default)(j,[["__scopeId","data-v-32ed8e22"]]),x={class:"smtp-card relative rounded-8px p-16px shadow-sm"},h={class:"flex items-center mb-16px"},L={class:"flex items-center flex-1"},z={class:"w-32px h-32px flex items-center justify-center rounded-full bg-primary-100"},A=["src"],f={class:"ml-16px flex items-center gap-10px flex-1 min-w-0"},S={class:"text-18px font-600 truncate"},C={class:"ml-8px"},b={class:"smtp-desc"},k={class:"smtp-info"},E={class:"info-row"},O={class:"info-label"},U={class:"info-value flex flex-wrap gap-8px"},W={class:"flex items-center gap-4px"},Z={class:"info-row"},Y={class:"info-label"},Q={class:"info-value"},P={class:"info-row"},R={class:"info-label"},G={class:"info-value"},H={class:"info-row"},B={class:"info-label"},$={class:"info-value truncate"},F={class:"action-buttons"},J=(0,n.aZ)({__name:"SmtpCard",props:{service:{type:Object,required:!0}},emits:["edit","delete","showDns"],setup(e,t){let{emit:a}=t,l=(0,n.Fl)(()=>{switch(e.service.smtp_name){case"Gmail":return"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cGF0aCBkPSJNMjQgNS40NTd2MTMuOTA5YzAgLjkwNC0uNzMyIDEuNjM2LTEuNjM2IDEuNjM2aC0zLjgxOVYxMS43M0wxMiAxNi42NGwtNi41NDUtNC45MXY5LjI3M0gxLjYzNkExLjYzNiAxLjYzNiAwIDAgMSAwIDE5LjM2NlY1LjQ1N2MwLTIuMDIzIDIuMzA5LTMuMTc4IDMuOTI3LTEuOTY0TDUuNDU1IDQuNjQgMTIgOS41NDhsNi41NDUtNC45MSAxLjUyOC0xLjE0NUMyMS42OSAyLjI4IDI0IDMuNDM0IDI0IDUuNDU3eiIgZmlsbD0iI0QxNDgzNiIvPjwvc3ZnPg==";case"Mailgun":return"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cGF0aCBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptMCAxOGMtNC40MSAwLTgtMy41OS04LThzMy41OS04IDgtOCA4IDMuNTkgOCA4LTMuNTkgOC04IDh6IiBmaWxsPSIjRjA0MjNCIi8+PHBhdGggZD0iTTEyIDZjLTMuMzEgMC02IDIuNjktNiA2czIuNjkgNiA2IDYgNi0yLjY5IDYtNi0yLjY5LTYtNi02em0wIDEwYy0yLjIxIDAtNC0xLjc5LTQtNHMxLjc5LTQgNC00IDQgMS43OSA0IDQtMS43OSA0LTQgNHoiIGZpbGw9IiNGMDQyM0IiLz48L3N2Zz4=";case"AWS SES":return"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cGF0aCBkPSJNMTMuMTA2IDEwLjYzM0wyMi44IDEyLjczQTExLjk0NyAxMS45NDcgMCAwIDAgMTIgNC4yYy02LjYyNCAwLTEyIDUuMzc2LTEyIDEyczUuMzc2IDEyIDEyIDEyYzQuOTY4IDAgOS4yNDItMy4wMyAxMS4xMDYtNy4zNDJMMTMuMTA2IDE4Ljc1VjEwLjYzM3oiIGZpbGw9IiNGRjk5MDAiLz48cGF0aCBkPSJNMTQuNCA4LjR2MTAuOEwyNCAxNi44bC05LjYtOC40eiIgZmlsbD0iI0ZGOTkwMCIvPjwvc3ZnPg==";case"SendGrid":return"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cGF0aCBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptLTEgMTVoLTJ2LTZoMnY2em00IDBoLTJ2LTZoMnY2em00LTcuNWMwIC44My0uNjcgMS41LTEuNSAxLjVoLTljLS44MyAwLTEuNS0uNjctMS41LTEuNVY4YzAtLjgzLjY3LTEuNSAxLjUtMS41aDljLjgzIDAgMS41LjY3IDEuNSAxLjV2MS41eiIgZmlsbD0iIzFBODJFMiIvPjwvc3ZnPg==";case"custom":default:return"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNzQ3NjQwNjIwNDUzIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjUgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjM4MTciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAwLjE5NTMxMjUiIGhlaWdodD0iMjAwIj48cGF0aCBkPSJNODQxLjE0Mjg1NyA3My4xNDI4NTdhMTA5LjcxNDI4NiAxMDkuNzE0Mjg2IDAgMCAxIDEwOS4yMDIyODYgOTkuMTgxNzE0TDk1MC44NTcxNDMgMTgyLjg1NzE0M3YyOTQuMTA3NDI4YTM2LjU3MTQyOSAzNi41NzE0MjkgMCAwIDEtNzIuNTU3NzE0IDYuNTgyODU4TDg3Ny43MTQyODYgNDc2Ljk2NDU3MVYxOTQuMzQwNTcxTDU2OS4wNTE0MjkgNDU5Ljc3NmMtMzIuMTgyODU3IDE5LjUyOTE0My03MS44MjYyODYgMjEuMjExNDI5LTEwOC45MDk3MTUgMi4xMjExNDNsLTEwLjAyMDU3MS01LjcwNTE0M0wxNDYuMjg1NzE0IDE5NC41NnY1NzMuNDRhMzYuNTcxNDI5IDM2LjU3MTQyOSAwIDAgMCAyOS45ODg1NzIgMzUuOTg2Mjg2TDE4Mi44NTcxNDMgODA0LjU3MTQyOWgyMjEuODQyMjg2YTM2LjU3MTQyOSAzNi41NzE0MjkgMCAwIDEgNi41ODI4NTcgNzIuNTU3NzE0bC02LjU4Mjg1NyAwLjU4NTE0M0gxODIuODU3MTQzYTEwOS43MTQyODYgMTA5LjcxNDI4NiAwIDAgMS0xMDkuMjAyMjg2LTk5LjE4MTcxNUw3My4xNDI4NTcgNzY4di01ODUuMTQyODU3YTEwOS43MTQyODYgMTA5LjcxNDI4NiAwIDAgMSA5OS4xODE3MTQtMTA5LjIwMjI4NkwxODIuODU3MTQzIDczLjE0Mjg1N2g2NTguMjg1NzE0eiBtLTE5LjY3NTQyOCA3My4xNDI4NTdIMjAyLjI0TDQ5Mi45ODI4NTcgMzk3LjIzODg1N2E0MC43NDA1NzEgNDAuNzQwNTcxIDAgMCAwIDI5LjI1NzE0MyA1LjA0Njg1N2wzLjk0OTcxNC0xLjQ2Mjg1N0w4MjEuNDY3NDI5IDE0Ni4yODU3MTR6IiBmaWxsPSIjNEM1RDdDIiBwLWlkPSIzODE4Ij48L3BhdGg+PHBhdGggZD0iTTg1Ny41MjY4NTcgNjI2LjM5NTQyOWw1LjYzMiAzLjUxMDg1NyAxNDYuNjUxNDI5IDEwOS40MjE3MTRhMzYuNTcxNDI5IDM2LjU3MTQyOSAwIDAgMSA1LjU1ODg1NyA1My42MTM3MTRsLTUuMjY2Mjg2IDQuODI3NDI5LTE0Mi40ODIyODYgMTA4LjU0NGEzNi41NzE0MjkgMzYuNTcxNDI5IDAgMCAxLTQ5LjIyNTE0Mi01My43Nmw0LjkwMDU3MS00LjM4ODU3MiA1Ni4zMi00My4wMDgtMjU3Ljc1NTQyOSAwLjA3MzE0M2EzNi41NzE0MjkgMzYuNTcxNDI5IDAgMCAxLTYuNTgyODU3LTcyLjU1NzcxNGw2LjU4Mjg1Ny0wLjU4NTE0M0g4NzcuNzE0Mjg2bC01OC4yOTQ4NTctNDMuNTkzMTQzYTM2LjU3MTQyOSAzNi41NzE0MjkgMCAwIDEgMzguMTA3NDI4LTYyLjA5ODI4NXoiIGZpbGw9IiMxNDc2QkIiIHAtaWQ9IjM4MTkiPjwvcGF0aD48L3N2Zz4=";case"local":return"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNzQ3NjQwNjAxODg1IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjI3ODIiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTgyOC44NDg3ODggMTI5LjUwMzYyNGMxNzIuNTAwODc1IDE2OC45MTc3NzEgMTc1LjA2MDIzNSA0NDUuODQwNTQgNi4xNDI0NjQgNjE4LjM0MTQxNWwtNi4xNDI0NjQgNi4xNDI0NjQtMjQzLjY1MTA4NyAyNDAuMDY3OTgzYy00MC40Mzc4OTEgMzkuOTI2MDE4LTEwNS40NDU2MzkgMzkuOTI2MDE4LTE0NS44ODM1MyAwbC0yNDMuNjUxMDg3LTI0MC4wNjc5ODNDMjMuMTYyMjA5IDU4NS4wNjk3MzMgMjAuNjAyODQ5IDMwOC4xNDY5NjMgMTg5LjUyMDYyIDEzNS42NDYwODhsNi4xNDI0NjQtNi4xNDI0NjRjMTc0LjU0ODM2My0xNzIuNTAwODc1IDQ1OC4xMjU0NjktMTcyLjUwMDg3NSA2MzMuMTg1NzA0IDB6TTUxMiAyMzguMDIwNDk1Yy0xMTQuMTQ3NDYzIDAtMjA2Ljc5NjMwMSA5MS4xMTMyMjItMjA2Ljc5NjMwMSAyMDMuNzI1MDY5czkyLjY0ODgzOCAyMDMuNzI1MDY5IDIwNi43OTYzMDEgMjAzLjcyNTA2OCAyMDYuNzk2MzAxLTkxLjExMzIyMiAyMDYuNzk2MzAxLTIwMy43MjUwNjgtOTIuNjQ4ODM4LTIwMy43MjUwNjktMjA2Ljc5NjMwMS0yMDMuNzI1MDY5eiIgZmlsbD0iIzRFNTRDOCIgcC1pZD0iMjc4MyI+PC9wYXRoPjwvc3ZnPg=="}}),s=()=>{a("edit",e.service)},i=()=>{a("delete",e.service)},u=()=>{a("showDns",e.service)},o=async t=>{await p({id:e.service.id,active:t}),e.service.active=t};return(t,a)=>{let d=_.Z,m=w.ZP,M=I.ZP,c=r.ZP;return(0,n.wg)(),(0,n.iD)("div",x,[(0,n._)("div",h,[(0,n._)("div",L,[(0,n._)("div",z,[(0,n._)("img",{src:(0,n.SU)(l),class:"w-full h-full object-contain"},null,8,A)]),(0,n._)("div",f,[(0,n._)("div",S,(0,n.zw)(e.service.smtp_name),1),(0,n.Wm)(T,{value:e.service.smtp_status.status},null,8,["value"])])]),(0,n._)("div",C,[(0,n.Wm)(d,{value:e.service.active,"checked-value":1,"unchecked-value":0,"onUpdate:value":o},null,8,["value"])])]),(0,n._)("div",b,(0,n.zw)(e.service.remark),1),(0,n._)("div",k,[(0,n._)("div",E,[(0,n._)("span",O,(0,n.zw)(t.$t("smtp.card.domain"))+":",1),(0,n._)("span",U,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.service.sender_domains,e=>((0,n.wg)(),(0,n.j4)(m,{key:e,bordered:!1},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)(e),1)]),_:2},1024))),128)),1===e.service.check_spf?((0,n.wg)(),(0,n.j4)(m,{key:0,type:"warning",class:"cursor-pointer",bordered:!1,onClick:u},{default:(0,n.w5)(()=>[(0,n._)("div",W,[a[0]||(a[0]=(0,n._)("i",{class:"i-carbon:warning-filled text-16px"},null,-1)),(0,n._)("span",null,(0,n.zw)(t.$t("smtp.card.dnsUpdateRequired")),1)])]),_:1})):(0,n.kq)("",!0)])]),(0,n._)("div",Z,[(0,n._)("span",Y,(0,n.zw)(t.$t("smtp.card.server"))+":",1),(0,n._)("span",Q,[(0,n.Wm)(M,null,{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)(e.service.relay_host),1)]),_:1})])]),(0,n._)("div",P,[(0,n._)("span",R,(0,n.zw)(t.$t("smtp.card.port"))+":",1),(0,n._)("span",G,(0,n.zw)(e.service.relay_port),1)]),(0,n._)("div",H,[(0,n._)("span",B,(0,n.zw)(t.$t("smtp.card.username"))+":",1),(0,n._)("span",$,(0,n.zw)(e.service.auth_user),1)])]),(0,n._)("div",F,[(0,n.Wm)(c,{secondary:"",class:"action-btn",onClick:s},{icon:(0,n.w5)(()=>a[1]||(a[1]=[(0,n._)("i",{class:"i-mdi-edit"},null,-1)])),_:1}),(0,n.Wm)(c,{secondary:"",class:"action-btn",onClick:i},{icon:(0,n.w5)(()=>a[2]||(a[2]=[(0,n._)("i",{class:"i-mdi-delete"},null,-1)])),_:1})])])}}}),V=(0,v.default)(J,[["__scopeId","data-v-0abadc72"]]);var q=a(46244),X=a(90340),K=a(56357),ee=a(17351);let et={class:"ml-8px text-13px text-primary"},ea=(0,n.aZ)({__name:"index",props:(0,n.Vf)({title:{type:String,default:""}},{show:{type:Boolean,default:!1},showModifiers:{}}),emits:["update:show"],setup(e){let t=(0,n.tT)(e,"show"),a=()=>{t.value=!t.value};return(l,s)=>{let i=K.g,r=X.Z;return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n._)("div",{class:"flex items-center mb-20px cursor-pointer",onClick:a},[(0,n.Wm)(i,{size:"16",style:(0,n.j5)({transform:`rotate(${t.value?"90":"0"}deg)`,transition:"transform 0.3s"})},{default:(0,n.w5)(()=>[(0,n.Wm)((0,n.SU)(ee.Z))]),_:1},8,["style"]),(0,n._)("span",et,(0,n.zw)(e.title),1)]),(0,n.Wm)(r,{show:t.value},{default:(0,n.w5)(()=>[(0,n.WI)(l.$slots,"default")]),_:3},8,["show"])],64)}}});var el=a(29283),es=a(6455),ei=a(8490),er=a(81833),en=a(37864),eu=a(73084),eo=a(52495);let ed=(0,n.aZ)({__name:"SmtpForm",setup(e){let{t}=(0,eo.QT)(),a=(0,n.iH)(!1),l=(0,n.Fl)(()=>a.value?t("smtp.form.editTitle"):t("smtp.form.addTitle")),s=(0,n.iH)(0),i=(0,n.AE)("formRef"),d=(0,n.qj)({rtype:"custom",smtp_name:"",sender_domains:[],relay_host:"",relay_port:587,auth_user:"",auth_password:"",remark:"",active:1,auth_method:null,skip_tls_verify:null,helo_name:""}),m={smtp_name:{required:!0,message:t("smtp.form.validation.nameRequired"),trigger:["blur","input"]},sender_domains:{required:!0,trigger:["change"],validator:(e,a)=>!!a&&0!==a.length||Error(t("smtp.form.validation.domainRequired"))},relay_host:{required:!0,message:t("smtp.form.validation.serverRequired"),trigger:["blur","input"]},relay_port:{required:!0,trigger:["blur","input"],validator:(e,a)=>!!a||Error(t("smtp.form.validation.portRequired"))},auth_user:{required:!0,message:t("smtp.form.validation.usernameRequired"),trigger:["blur","input"]},auth_password:{required:!0,message:t("smtp.form.validation.passwordRequired"),trigger:["blur","input"]}},M=(0,n.iH)([]),N=[{label:"LOGIN",value:"LOGIN"},{label:"PLAIN",value:"PLAIN"},{label:"CRAM-MD5",value:"CRAM-MD5"},{label:"NONE",value:"NONE"}],I=[{label:t("smtp.form.tlsOptions.skip"),value:1},{label:t("smtp.form.tlsOptions.noSkip"),value:0}],w=async()=>{let e=await y();(0,u.kJ)(e)&&(M.value=e.map(e=>({label:`${e.domain}${!d.sender_domains.includes(e.domain)&&e.is_bound?t("smtp.form.bind"):""}`,value:e.domain,disabled:!d.sender_domains.includes(e.domain)&&e.is_bound})))},_={gmail:{smtp_name:"Gmail",relay_host:"smtp.gmail.com",relay_port:587,username:"",password:"",remark:"Gmail"},mailgun:{smtp_name:"Mailgun",relay_host:"smtp.mailgun.org",relay_port:587,username:"",password:"",remark:"Mailgun"},aws:{smtp_name:"AWS SES",relay_host:"email-smtp.us-east-1.amazonaws.com",relay_port:587,username:"",password:"",remark:"AWS SES"},sendgrid:{smtp_name:"SendGrid",relay_host:"smtp.sendgrid.net",relay_port:587,username:"apikey",password:"",remark:"SendGrid"},custom:{smtp_name:"Custom SMTP Relay",relay_host:"",relay_port:587,username:"",password:"",remark:"Custom SMTP Relay"}},D=()=>{let e=_[d.rtype];e&&(d.smtp_name=e.smtp_name,d.relay_host=e.relay_host,d.relay_port=e.relay_port,d.auth_user=e.username,d.auth_password=e.password,d.remark=e.remark)},j=()=>{s.value=0,d.smtp_name="",d.sender_domains=[],d.relay_host="",d.relay_port=587,d.auth_user="",d.auth_password="",d.remark="",d.active=1,d.skip_tls_verify=null,d.auth_method=null,d.helo_name=""},v=async()=>{var e;await (null==(e=i.value)?void 0:e.validate()),await g({sender_domains:d.sender_domains,relay_host:d.relay_host,relay_port:d.relay_port,auth_user:d.auth_user,auth_password:d.auth_password})},T=()=>({rtype:d.rtype,smtp_name:d.smtp_name,sender_domains:d.sender_domains,relay_host:d.relay_host,relay_port:d.relay_port,auth_user:d.auth_user,auth_password:d.auth_password,remark:d.remark,active:d.active,skip_tls_verify:d.skip_tls_verify||"",auth_method:d.auth_method||"",helo_name:d.helo_name}),[x,h]=(0,o.d)({onChangeState:e=>{if(e){w();let e=h.getState();if(d.rtype=e.type,a.value=e.isEdit,D(),e.row){let{row:t}=e;s.value=t.id,d.rtype=t.rtype,d.smtp_name=t.smtp_name,d.sender_domains=t.sender_domains,d.relay_host=t.relay_host,d.relay_port=(0,u.Dx)(t.relay_port),d.auth_user=t.auth_user,d.auth_password=t.auth_password,d.remark=t.remark,d.active=t.active,d.skip_tls_verify=t.skip_tls_verify}}else j()},onConfirm:async()=>{var e;await (null==(e=i.value)?void 0:e.validate());let t=T();a.value?await p({...t,id:s.value}):await c(t),h.getState().refresh()}});return(e,t)=>{let s=eu.Z,u=en.ZP,o=er.Z,c=ei.Z,p=es.ZP,g=el.Z,y=q.Z,w=r.ZP;return(0,n.wg)(),(0,n.j4)((0,n.SU)(x),{title:(0,n.SU)(l),width:"500"},{"footer-left":(0,n.w5)(()=>[(0,n.Wm)(w,{type:"primary",ghost:"",onClick:v},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)(e.$t("smtp.form.testConnection")),1)]),_:1})]),default:(0,n.w5)(()=>[(0,n.Wm)(y,{ref_key:"formRef",ref:i,model:(0,n.SU)(d),rules:m,class:"pt-16px"},{default:(0,n.w5)(()=>[(0,n.Wm)(o,{cols:1,"x-gap":24},{default:(0,n.w5)(()=>[(0,n.Wm)(u,{span:1,label:e.$t("smtp.form.remark"),path:"remark"},{default:(0,n.w5)(()=>[(0,n.Wm)(s,{value:(0,n.SU)(d).remark,"onUpdate:value":t[0]||(t[0]=e=>(0,n.SU)(d).remark=e)},null,8,["value"])]),_:1},8,["label"])]),_:1}),(0,n.Wm)(p,{label:e.$t("smtp.form.domain"),path:(0,n.SU)(a)?"":"sender_domains"},{default:(0,n.w5)(()=>[(0,n.Wm)(c,{value:(0,n.SU)(d).sender_domains,"onUpdate:value":t[1]||(t[1]=e=>(0,n.SU)(d).sender_domains=e),multiple:"","max-tag-count":"responsive",options:(0,n.SU)(M)},null,8,["value","options"])]),_:1},8,["label","path"]),(0,n.Wm)(o,{cols:8,"x-gap":24},{default:(0,n.w5)(()=>[(0,n.Wm)(u,{span:6,label:e.$t("smtp.form.server"),path:"relay_host"},{default:(0,n.w5)(()=>[(0,n.Wm)(s,{value:(0,n.SU)(d).relay_host,"onUpdate:value":t[2]||(t[2]=e=>(0,n.SU)(d).relay_host=e)},null,8,["value"])]),_:1},8,["label"]),(0,n.Wm)(u,{span:2,label:e.$t("smtp.form.port"),path:"relay_port"},{default:(0,n.w5)(()=>[(0,n.Wm)(g,{value:(0,n.SU)(d).relay_port,"onUpdate:value":t[3]||(t[3]=e=>(0,n.SU)(d).relay_port=e),class:"flex-1","show-button":!1,min:1},null,8,["value"])]),_:1},8,["label"])]),_:1}),(0,n.Wm)(p,{label:e.$t("smtp.form.username"),path:"auth_user"},{default:(0,n.w5)(()=>[(0,n.Wm)(s,{value:(0,n.SU)(d).auth_user,"onUpdate:value":t[4]||(t[4]=e=>(0,n.SU)(d).auth_user=e)},null,8,["value"])]),_:1},8,["label"]),(0,n.Wm)(p,{label:e.$t("smtp.form.password"),path:"auth_password"},{default:(0,n.w5)(()=>[(0,n.Wm)(s,{value:(0,n.SU)(d).auth_password,"onUpdate:value":t[5]||(t[5]=e=>(0,n.SU)(d).auth_password=e),class:"password-input",type:"password"},null,8,["value"])]),_:1},8,["label"]),(0,n.Wm)(ea,{title:e.$t("smtp.form.advancedFeatures")},{default:(0,n.w5)(()=>[(0,n.Wm)(p,{label:e.$t("smtp.form.authMethod"),path:"auth_method"},{default:(0,n.w5)(()=>[(0,n.Wm)(c,{value:(0,n.SU)(d).auth_method,"onUpdate:value":t[6]||(t[6]=e=>(0,n.SU)(d).auth_method=e),options:N},null,8,["value"])]),_:1},8,["label"]),(0,n.Wm)(p,{label:e.$t("smtp.form.skipTlsVerify"),path:"skip_tls_verify"},{default:(0,n.w5)(()=>[(0,n.Wm)(c,{value:(0,n.SU)(d).skip_tls_verify,"onUpdate:value":t[7]||(t[7]=e=>(0,n.SU)(d).skip_tls_verify=e),options:I},null,8,["value"])]),_:1},8,["label"]),(0,n.Wm)(p,{label:"HELO Name",path:"helo_name"},{default:(0,n.w5)(()=>[(0,n.Wm)(s,{value:(0,n.SU)(d).helo_name,"onUpdate:value":t[8]||(t[8]=e=>(0,n.SU)(d).helo_name=e)},null,8,["value"])]),_:1})]),_:1},8,["title"])]),_:1},8,["model"])]),_:1},8,["title"])}}});var em=a(50039),eM=a(77984);let ec={width:"140"},ep={width:"160"},eg=(0,n.aZ)({__name:"SmtpDns",setup(e){let{copyText:t}=(0,eM.F)(),a=(0,n.iH)([]),[l,s]=(0,o.d)({onChangeState:e=>{if(e){let{smtp:e}=s.getState();e&&(a.value=e.spf_records.filter(e=>1===e.check).map(e=>e.dns_record))}}});return(e,s)=>{let i=I.ZP,u=r.ZP,o=em.Z;return(0,n.wg)(),(0,n.j4)((0,n.SU)(l),{title:"SMTP DNS",width:750,footer:!1},{default:(0,n.w5)(()=>[s[1]||(s[1]=(0,n._)("div",{class:"record-desc"}," 需要调整对应域的spf记录,允许中继发送邮件(如果您已经添加可以忽略) ",-1)),(0,n.Wm)(o,{size:"small"},{default:(0,n.w5)(()=>[(0,n._)("thead",null,[(0,n._)("tr",null,[(0,n._)("th",ec,(0,n.zw)(e.$t("domain.dns.table.recordType")),1),(0,n._)("th",ep,(0,n.zw)(e.$t("domain.dns.table.host")),1),(0,n._)("th",null,(0,n.zw)(e.$t("domain.dns.table.value")),1)])]),(0,n._)("tbody",null,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)((0,n.SU)(a),a=>((0,n.wg)(),(0,n.iD)("tr",null,[s[0]||(s[0]=(0,n._)("td",null,"TXT",-1)),(0,n._)("td",null,(0,n.zw)(a.host),1),(0,n._)("td",null,[(0,n.Wm)(i,{class:"mr-4px max-w-320px!"},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)(a.value),1)]),_:2},1024),(0,n.Wm)(u,{text:"",type:"primary",onClick:()=>(0,n.SU)(t)(a.value)},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)(e.$t("common.actions.copy")),1)]),_:2},1032,["onClick"])])]))),256))])]),_:1})]),_:1,__:[1]})}}}),eN=(0,v.default)(eg,[["__scopeId","data-v-3ce21b66"]]);var ey=a(86599);let eI={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-16px"},ew=(0,v.default)({},[["render",function(e,t){let a=ey.Z;return(0,n.wg)(),(0,n.iD)("div",eI,[(0,n.Wm)(a,{height:266,sharp:!1}),(0,n.Wm)(a,{height:266,sharp:!1}),(0,n.Wm)(a,{height:266,sharp:!1}),(0,n.Wm)(a,{height:266,sharp:!1}),(0,n.Wm)(a,{height:266,sharp:!1})])}]]),e_={class:"p-24px"},eD={class:"bt-title"},ej={class:"flex gap-12px mb-16px"},ev={class:"mr-4px"},eT={key:1,class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-16px"},ex={key:2,class:"flex-center h-400px text-center text-desc"},eh=(0,n.aZ)({__name:"index",setup(e){let{t}=(0,eo.QT)(),a=(0,n.iH)(!1),d=(0,n.iH)([]),m=[{label:"Gmail",key:"gmail"},{label:"Mailgun",key:"mailgun"},{label:"AWS SES",key:"aws"},{label:"SendGrid",key:"sendgrid"},{label:t("smtp.providers.custom"),key:"custom"}],c=e=>{y.setState({isEdit:!1,type:e,row:null}),y.open()},p=async()=>{try{a.value=!0;let e=await M();(0,u.Kn)(e)&&(d.value=(0,u.kJ)(e.list)?e.list:[])}finally{a.value=!1}},[g,y]=(0,o.d)({component:ed,state:{isEdit:!1,type:"custom",refresh:p}}),I=e=>{y.setState({isEdit:!0,row:e}),y.open()},[w,_]=(0,o.d)({component:eN,state:{isEdit:!1,type:"custom",refresh:p}}),D=e=>{_.setState({smtp:e}),_.open()},j=e=>{(0,u.iG)({title:t("smtp.delete.title"),content:t("smtp.delete.confirm",{name:e.smtp_name}),onConfirm:async()=>{await N({id:e.id}),p()}})};return p(),(e,t)=>{let u=r.ZP,o=i.Z,M=s.Z,p=l.Z;return(0,n.wg)(),(0,n.iD)("div",e_,[(0,n._)("div",eD,(0,n.zw)(e.$t("smtp.title")),1),(0,n._)("div",ej,[(0,n.Wm)(o,{placement:"bottom-start",trigger:"hover",size:"large",options:m,onSelect:c},{default:(0,n.w5)(()=>[(0,n.Wm)(u,{type:"primary"},{default:(0,n.w5)(()=>[(0,n._)("span",ev,(0,n.zw)(e.$t("common.actions.add")),1),t[0]||(t[0]=(0,n._)("i",{class:"i-mdi-chevron-down text-17px"},null,-1))]),_:1,__:[0]})]),_:1}),(0,n.Wm)(M,{href:"https://www.billionmail.com/start/smtp.html",text:e.$t("smtp.description")},null,8,["text"])]),(0,n.SU)(a)?((0,n.wg)(),(0,n.j4)(ew,{key:0})):(0,n.SU)(d).length>0?((0,n.wg)(),(0,n.iD)("div",eT,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)((0,n.SU)(d),e=>((0,n.wg)(),(0,n.j4)(V,{key:e.id,service:e,onEdit:I,onDelete:j,onShowDns:D},null,8,["service"]))),128))])):((0,n.wg)(),(0,n.iD)("div",ex,[(0,n.Wm)(p)])),(0,n.Wm)((0,n.SU)(g)),(0,n.Wm)((0,n.SU)(w))])}}})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/5291.77295fbb.js b/core/public/dist/static/js/async/5291.77295fbb.jsnew file mode 100644index 00000000..ff58de54--- /dev/null+++ b/core/public/dist/static/js/async/5291.77295fbb.js@@ -0,0 +1 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["5291"],{77984:function(e,t,a){a.d(t,{F:()=>r});var l=a(68271),s=a(94821),i=a(76882);let r=()=>{let{t:e}=i.Z.global,{copy:t,isSupported:a,copied:r}=(0,s.VPI)({legacy:!0});return{copied:r,copyText:async function(s){let i=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!s)return void l.v0.error(e("common.useCopy.noText"));a.value?(await t(s),i&&l.v0.success(e("common.useCopy.success"))):l.v0.error(e("common.useCopy.failed"))}}}},51169:function(e,t,a){a.d(t,{d:()=>r});var l=a(58786),s=a(49247);let i=Symbol("MODAL_INJECT"),r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{state:t={},component:a,onCancel:r,onConfirm:n}=e,u=(0,l.qj)({});return a?[(0,l.aZ)({setup(s,r){let{attrs:n,slots:o}=r;return(0,l.JJ)(i,{state:t,options:e,extendApi:e=>{Object.setPrototypeOf(u,e)},setState:e=>{Object.assign(t,e)}}),()=>(0,l.h)(a,{...s,...n},o)}}),u]:[(0,l.aZ)({setup(t,a){let{attrs:o,slots:d}=a,m=(0,l.f3)(i),M=(0,l.iH)(!1);return u.open=()=>{var t;M.value=!0,null==(t=e.onChangeState)||t.call(e,M.value)},u.close=()=>{M.value=!1},u.setState=t=>{var a;null==m||m.setState(t),null==(a=e.onChangeState)||a.call(e,M.value)},u.getState=()=>(null==m?void 0:m.state)??{},null==m||m.extendApi(u),()=>(0,l.Wm)(s.Z,(0,l.dG)({show:M.value},t,o,{onCancel:r,onConfirm:n,"onUpdate:show":e=>{M.value=e??!1}}),d)}}),u]}},16893:function(e,t,a){a.d(t,{Z:()=>r});var l=a(15496),s=a(58786);let i={class:"mr-4px"},r=(0,s.aZ)({__name:"index",props:{href:{type:String,default:""},text:{type:String,default:""}},setup(e){let t=()=>{window.open(e.href)};return(a,r)=>{let n=l.ZP;return(0,s.wg)(),(0,s.j4)(n,{text:"",onClick:t},{default:(0,s.w5)(()=>[(0,s._)("span",i,(0,s.zw)(e.text||a.$t("common.actions.help")),1),r[0]||(r[0]=(0,s._)("i",{class:"i-custom:help text-primary"},null,-1))]),_:1,__:[0]})}}})},66760:function(e,t,a){a.d(t,{Z:()=>n});var l=a(81021),s=a(15496),i=a(58786);let r={class:"leading-22px text-13px text-desc text-center"},n=(0,i.aZ)({__name:"index",setup(e){let t=()=>{window.open("https://github.com/aaPanel/BillionMail/issues")},a=()=>{window.open("https://github.com/aaPanel/BillionMail")};return(e,n)=>{let u=s.ZP,o=(0,i.up)("i18n-t"),d=l.Z;return(0,i.wg)(),(0,i.j4)(d,null,{default:(0,i.w5)(()=>[(0,i._)("div",r,[(0,i.Wm)(o,{tag:"span",scope:"global",keypath:"components.tableHelp.text1"},{issues:(0,i.w5)(()=>[(0,i.Wm)(u,{class:"text-13px",type:"primary",text:"",onClick:t},{default:(0,i.w5)(()=>n[0]||(n[0]=[(0,i._)("span",null,"Issues",-1),(0,i._)("i",{class:"i-mdi:arrow-right ml-1px"},null,-1)])),_:1,__:[0]})]),star:(0,i.w5)(()=>[(0,i.Wm)(u,{class:"text-13px",type:"primary",text:"",onClick:a},{default:(0,i.w5)(()=>n[1]||(n[1]=[(0,i.Uk)(" Star "),(0,i._)("i",{class:"i-mdi:arrow-right ml-1px"},null,-1)])),_:1,__:[1]})]),_:1}),n[2]||(n[2]=(0,i._)("br",null,null,-1)),(0,i._)("span",null,(0,i.zw)(e.$t("components.tableHelp.text2")),1)])]),_:1})}}})},46244:function(e,t,a){a.d(t,{Z:()=>i});var l=a(98048),s=a(58786);let i=(0,s.aZ)({__name:"index",props:{model:{},rules:{},labelWidth:{},labelPlacement:{default:"top"}},setup(e,t){let{expose:a}=t,i=(0,s.iH)(null);return a({validate:()=>{var e;return null==(e=i.value)?void 0:e.validate()},restoreValidation:()=>{var e;return null==(e=i.value)?void 0:e.restoreValidation()}}),(e,t)=>{let a=l.Z;return(0,s.wg)(),(0,s.j4)(a,(0,s.dG)(e.$attrs,{ref_key:"formRef",ref:i,model:e.model,rules:e.rules,"label-width":e.labelWidth,"label-placement":e.labelPlacement}),{default:(0,s.w5)(()=>[(0,s.WI)(e.$slots,"default")]),_:3},16,["model","rules","label-width","label-placement"])}}})},72264:function(e,t,a){a.r(t),a.d(t,{default:()=>eh});var l=a(66760),s=a(16893),i=a(52742),r=a(15496),n=a(58786),u=a(68271),o=a(51169),d=a(34541);let{t:m}=a(76882).Z.global,M=()=>d.e.get("/relay/list"),c=e=>d.e.post("/relay/add",e,{fetchOptions:{successMessage:!0,loading:m("smtp.api.loading.adding")}}),p=e=>d.e.post("/relay/edit",e,{fetchOptions:{successMessage:!0,loading:m("smtp.api.loading.editing")}}),g=e=>d.e.post("/relay/test_connection",e,{fetchOptions:{successMessage:!0,loading:m("smtp.api.loading.testing")}}),N=e=>d.e.post("/relay/delete",e,{fetchOptions:{successMessage:!0,loading:m("smtp.api.loading.deleting")}}),y=()=>d.e.get("/relay/get_unbound_domains");var I=a(35409),w=a(53903),_=a(29875);let D={class:"status-text"},j=(0,n.aZ)({__name:"SmtpStatus",props:{value:{type:Boolean,default:!1}},setup:e=>(t,a)=>{let l=w.ZP;return(0,n.wg)(),(0,n.j4)(l,{size:"small",bordered:!1},{default:(0,n.w5)(()=>[(0,n._)("div",{class:(0,n.C_)(["status-icon",e.value?"status-success":"status-error"])},null,2),(0,n._)("div",D,(0,n.zw)(e.value?t.$t("smtp.status.online"):t.$t("smtp.status.offline")),1)]),_:1})}});var v=a(41748);let T=(0,v.default)(j,[["__scopeId","data-v-32ed8e22"]]),x={class:"smtp-card relative rounded-8px p-16px shadow-sm"},h={class:"flex items-center mb-16px"},L={class:"flex items-center flex-1"},z={class:"w-32px h-32px flex items-center justify-center rounded-full bg-primary-100"},A=["src"],f={class:"ml-16px flex items-center gap-10px flex-1 min-w-0"},S={class:"text-18px font-600 truncate"},C={class:"ml-8px"},b={class:"smtp-desc"},k={class:"smtp-info"},E={class:"info-row"},O={class:"info-label"},U={class:"info-value flex flex-wrap gap-8px"},W={class:"flex items-center gap-4px"},Z={class:"info-row"},Y={class:"info-label"},Q={class:"info-value"},P={class:"info-row"},R={class:"info-label"},G={class:"info-value"},H={class:"info-row"},B={class:"info-label"},$={class:"info-value truncate"},F={class:"action-buttons"},J=(0,n.aZ)({__name:"SmtpCard",props:{service:{type:Object,required:!0}},emits:["edit","delete","showDns"],setup(e,t){let{emit:a}=t,l=(0,n.Fl)(()=>{switch(e.service.smtp_name){case"Gmail":return"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cGF0aCBkPSJNMjQgNS40NTd2MTMuOTA5YzAgLjkwNC0uNzMyIDEuNjM2LTEuNjM2IDEuNjM2aC0zLjgxOVYxMS43M0wxMiAxNi42NGwtNi41NDUtNC45MXY5LjI3M0gxLjYzNkExLjYzNiAxLjYzNiAwIDAgMSAwIDE5LjM2NlY1LjQ1N2MwLTIuMDIzIDIuMzA5LTMuMTc4IDMuOTI3LTEuOTY0TDUuNDU1IDQuNjQgMTIgOS41NDhsNi41NDUtNC45MSAxLjUyOC0xLjE0NUMyMS42OSAyLjI4IDI0IDMuNDM0IDI0IDUuNDU3eiIgZmlsbD0iI0QxNDgzNiIvPjwvc3ZnPg==";case"Mailgun":return"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cGF0aCBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptMCAxOGMtNC40MSAwLTgtMy41OS04LThzMy41OS04IDgtOCA4IDMuNTkgOCA4LTMuNTkgOC04IDh6IiBmaWxsPSIjRjA0MjNCIi8+PHBhdGggZD0iTTEyIDZjLTMuMzEgMC02IDIuNjktNiA2czIuNjkgNiA2IDYgNi0yLjY5IDYtNi0yLjY5LTYtNi02em0wIDEwYy0yLjIxIDAtNC0xLjc5LTQtNHMxLjc5LTQgNC00IDQgMS43OSA0IDQtMS43OSA0LTQgNHoiIGZpbGw9IiNGMDQyM0IiLz48L3N2Zz4=";case"AWS SES":return"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cGF0aCBkPSJNMTMuMTA2IDEwLjYzM0wyMi44IDEyLjczQTExLjk0NyAxMS45NDcgMCAwIDAgMTIgNC4yYy02LjYyNCAwLTEyIDUuMzc2LTEyIDEyczUuMzc2IDEyIDEyIDEyYzQuOTY4IDAgOS4yNDItMy4wMyAxMS4xMDYtNy4zNDJMMTMuMTA2IDE4Ljc1VjEwLjYzM3oiIGZpbGw9IiNGRjk5MDAiLz48cGF0aCBkPSJNMTQuNCA4LjR2MTAuOEwyNCAxNi44bC05LjYtOC40eiIgZmlsbD0iI0ZGOTkwMCIvPjwvc3ZnPg==";case"SendGrid":return"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cGF0aCBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptLTEgMTVoLTJ2LTZoMnY2em00IDBoLTJ2LTZoMnY2em00LTcuNWMwIC44My0uNjcgMS41LTEuNSAxLjVoLTljLS44MyAwLTEuNS0uNjctMS41LTEuNVY4YzAtLjgzLjY3LTEuNSAxLjUtMS41aDljLjgzIDAgMS41LjY3IDEuNSAxLjV2MS41eiIgZmlsbD0iIzFBODJFMiIvPjwvc3ZnPg==";case"custom":default:return"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNzQ3NjQwNjIwNDUzIiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjUgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjM4MTciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAwLjE5NTMxMjUiIGhlaWdodD0iMjAwIj48cGF0aCBkPSJNODQxLjE0Mjg1NyA3My4xNDI4NTdhMTA5LjcxNDI4NiAxMDkuNzE0Mjg2IDAgMCAxIDEwOS4yMDIyODYgOTkuMTgxNzE0TDk1MC44NTcxNDMgMTgyLjg1NzE0M3YyOTQuMTA3NDI4YTM2LjU3MTQyOSAzNi41NzE0MjkgMCAwIDEtNzIuNTU3NzE0IDYuNTgyODU4TDg3Ny43MTQyODYgNDc2Ljk2NDU3MVYxOTQuMzQwNTcxTDU2OS4wNTE0MjkgNDU5Ljc3NmMtMzIuMTgyODU3IDE5LjUyOTE0My03MS44MjYyODYgMjEuMjExNDI5LTEwOC45MDk3MTUgMi4xMjExNDNsLTEwLjAyMDU3MS01LjcwNTE0M0wxNDYuMjg1NzE0IDE5NC41NnY1NzMuNDRhMzYuNTcxNDI5IDM2LjU3MTQyOSAwIDAgMCAyOS45ODg1NzIgMzUuOTg2Mjg2TDE4Mi44NTcxNDMgODA0LjU3MTQyOWgyMjEuODQyMjg2YTM2LjU3MTQyOSAzNi41NzE0MjkgMCAwIDEgNi41ODI4NTcgNzIuNTU3NzE0bC02LjU4Mjg1NyAwLjU4NTE0M0gxODIuODU3MTQzYTEwOS43MTQyODYgMTA5LjcxNDI4NiAwIDAgMS0xMDkuMjAyMjg2LTk5LjE4MTcxNUw3My4xNDI4NTcgNzY4di01ODUuMTQyODU3YTEwOS43MTQyODYgMTA5LjcxNDI4NiAwIDAgMSA5OS4xODE3MTQtMTA5LjIwMjI4NkwxODIuODU3MTQzIDczLjE0Mjg1N2g2NTguMjg1NzE0eiBtLTE5LjY3NTQyOCA3My4xNDI4NTdIMjAyLjI0TDQ5Mi45ODI4NTcgMzk3LjIzODg1N2E0MC43NDA1NzEgNDAuNzQwNTcxIDAgMCAwIDI5LjI1NzE0MyA1LjA0Njg1N2wzLjk0OTcxNC0xLjQ2Mjg1N0w4MjEuNDY3NDI5IDE0Ni4yODU3MTR6IiBmaWxsPSIjNEM1RDdDIiBwLWlkPSIzODE4Ij48L3BhdGg+PHBhdGggZD0iTTg1Ny41MjY4NTcgNjI2LjM5NTQyOWw1LjYzMiAzLjUxMDg1NyAxNDYuNjUxNDI5IDEwOS40MjE3MTRhMzYuNTcxNDI5IDM2LjU3MTQyOSAwIDAgMSA1LjU1ODg1NyA1My42MTM3MTRsLTUuMjY2Mjg2IDQuODI3NDI5LTE0Mi40ODIyODYgMTA4LjU0NGEzNi41NzE0MjkgMzYuNTcxNDI5IDAgMCAxLTQ5LjIyNTE0Mi01My43Nmw0LjkwMDU3MS00LjM4ODU3MiA1Ni4zMi00My4wMDgtMjU3Ljc1NTQyOSAwLjA3MzE0M2EzNi41NzE0MjkgMzYuNTcxNDI5IDAgMCAxLTYuNTgyODU3LTcyLjU1NzcxNGw2LjU4Mjg1Ny0wLjU4NTE0M0g4NzcuNzE0Mjg2bC01OC4yOTQ4NTctNDMuNTkzMTQzYTM2LjU3MTQyOSAzNi41NzE0MjkgMCAwIDEgMzguMTA3NDI4LTYyLjA5ODI4NXoiIGZpbGw9IiMxNDc2QkIiIHAtaWQ9IjM4MTkiPjwvcGF0aD48L3N2Zz4=";case"local":return"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNzQ3NjQwNjAxODg1IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjI3ODIiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTgyOC44NDg3ODggMTI5LjUwMzYyNGMxNzIuNTAwODc1IDE2OC45MTc3NzEgMTc1LjA2MDIzNSA0NDUuODQwNTQgNi4xNDI0NjQgNjE4LjM0MTQxNWwtNi4xNDI0NjQgNi4xNDI0NjQtMjQzLjY1MTA4NyAyNDAuMDY3OTgzYy00MC40Mzc4OTEgMzkuOTI2MDE4LTEwNS40NDU2MzkgMzkuOTI2MDE4LTE0NS44ODM1MyAwbC0yNDMuNjUxMDg3LTI0MC4wNjc5ODNDMjMuMTYyMjA5IDU4NS4wNjk3MzMgMjAuNjAyODQ5IDMwOC4xNDY5NjMgMTg5LjUyMDYyIDEzNS42NDYwODhsNi4xNDI0NjQtNi4xNDI0NjRjMTc0LjU0ODM2My0xNzIuNTAwODc1IDQ1OC4xMjU0NjktMTcyLjUwMDg3NSA2MzMuMTg1NzA0IDB6TTUxMiAyMzguMDIwNDk1Yy0xMTQuMTQ3NDYzIDAtMjA2Ljc5NjMwMSA5MS4xMTMyMjItMjA2Ljc5NjMwMSAyMDMuNzI1MDY5czkyLjY0ODgzOCAyMDMuNzI1MDY5IDIwNi43OTYzMDEgMjAzLjcyNTA2OCAyMDYuNzk2MzAxLTkxLjExMzIyMiAyMDYuNzk2MzAxLTIwMy43MjUwNjgtOTIuNjQ4ODM4LTIwMy43MjUwNjktMjA2Ljc5NjMwMS0yMDMuNzI1MDY5eiIgZmlsbD0iIzRFNTRDOCIgcC1pZD0iMjc4MyI+PC9wYXRoPjwvc3ZnPg=="}}),s=()=>{a("edit",e.service)},i=()=>{a("delete",e.service)},u=()=>{a("showDns",e.service)},o=async t=>{await p({id:e.service.id,active:t}),e.service.active=t};return(t,a)=>{let d=_.Z,m=w.ZP,M=I.ZP,c=r.ZP;return(0,n.wg)(),(0,n.iD)("div",x,[(0,n._)("div",h,[(0,n._)("div",L,[(0,n._)("div",z,[(0,n._)("img",{src:(0,n.SU)(l),class:"w-full h-full object-contain"},null,8,A)]),(0,n._)("div",f,[(0,n._)("div",S,(0,n.zw)(e.service.smtp_name),1),(0,n.Wm)(T,{value:e.service.smtp_status.status},null,8,["value"])])]),(0,n._)("div",C,[(0,n.Wm)(d,{value:e.service.active,"checked-value":1,"unchecked-value":0,"onUpdate:value":o},null,8,["value"])])]),(0,n._)("div",b,(0,n.zw)(e.service.remark),1),(0,n._)("div",k,[(0,n._)("div",E,[(0,n._)("span",O,(0,n.zw)(t.$t("smtp.card.domain"))+":",1),(0,n._)("span",U,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(e.service.sender_domains,e=>((0,n.wg)(),(0,n.j4)(m,{key:e,bordered:!1},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)(e),1)]),_:2},1024))),128)),1===e.service.check_spf?((0,n.wg)(),(0,n.j4)(m,{key:0,type:"warning",class:"cursor-pointer",bordered:!1,onClick:u},{default:(0,n.w5)(()=>[(0,n._)("div",W,[a[0]||(a[0]=(0,n._)("i",{class:"i-carbon:warning-filled text-16px"},null,-1)),(0,n._)("span",null,(0,n.zw)(t.$t("smtp.card.dnsUpdateRequired")),1)])]),_:1})):(0,n.kq)("",!0)])]),(0,n._)("div",Z,[(0,n._)("span",Y,(0,n.zw)(t.$t("smtp.card.server"))+":",1),(0,n._)("span",Q,[(0,n.Wm)(M,null,{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)(e.service.relay_host),1)]),_:1})])]),(0,n._)("div",P,[(0,n._)("span",R,(0,n.zw)(t.$t("smtp.card.port"))+":",1),(0,n._)("span",G,(0,n.zw)(e.service.relay_port),1)]),(0,n._)("div",H,[(0,n._)("span",B,(0,n.zw)(t.$t("smtp.card.username"))+":",1),(0,n._)("span",$,(0,n.zw)(e.service.auth_user),1)])]),(0,n._)("div",F,[(0,n.Wm)(c,{secondary:"",class:"action-btn",onClick:s},{icon:(0,n.w5)(()=>a[1]||(a[1]=[(0,n._)("i",{class:"i-mdi-edit"},null,-1)])),_:1}),(0,n.Wm)(c,{secondary:"",class:"action-btn",onClick:i},{icon:(0,n.w5)(()=>a[2]||(a[2]=[(0,n._)("i",{class:"i-mdi-delete"},null,-1)])),_:1})])])}}}),V=(0,v.default)(J,[["__scopeId","data-v-0abadc72"]]);var q=a(46244),X=a(90340),K=a(56357),ee=a(17351);let et={class:"ml-8px text-13px text-primary"},ea=(0,n.aZ)({__name:"index",props:(0,n.Vf)({title:{type:String,default:""}},{show:{type:Boolean,default:!1},showModifiers:{}}),emits:["update:show"],setup(e){let t=(0,n.tT)(e,"show"),a=()=>{t.value=!t.value};return(l,s)=>{let i=K.g,r=X.Z;return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n._)("div",{class:"flex items-center mb-20px cursor-pointer",onClick:a},[(0,n.Wm)(i,{size:"16",style:(0,n.j5)({transform:`rotate(${t.value?"90":"0"}deg)`,transition:"transform 0.3s"})},{default:(0,n.w5)(()=>[(0,n.Wm)((0,n.SU)(ee.Z))]),_:1},8,["style"]),(0,n._)("span",et,(0,n.zw)(e.title),1)]),(0,n.Wm)(r,{show:t.value},{default:(0,n.w5)(()=>[(0,n.WI)(l.$slots,"default")]),_:3},8,["show"])],64)}}});var el=a(29283),es=a(6455),ei=a(8490),er=a(81833),en=a(37864),eu=a(73084),eo=a(52495);let ed=(0,n.aZ)({__name:"SmtpForm",setup(e){let{t}=(0,eo.QT)(),a=(0,n.iH)(!1),l=(0,n.Fl)(()=>a.value?t("smtp.form.editTitle"):t("smtp.form.addTitle")),s=(0,n.iH)(0),i=(0,n.AE)("formRef"),d=(0,n.qj)({rtype:"custom",smtp_name:"",sender_domains:[],relay_host:"",relay_port:587,auth_user:"",auth_password:"",remark:"",active:1,auth_method:null,skip_tls_verify:null,helo_name:""}),m={smtp_name:{required:!0,message:t("smtp.form.validation.nameRequired"),trigger:["blur","input"]},sender_domains:{required:!0,trigger:["change"],validator:(e,a)=>!!a&&0!==a.length||Error(t("smtp.form.validation.domainRequired"))},relay_host:{required:!0,message:t("smtp.form.validation.serverRequired"),trigger:["blur","input"]},relay_port:{required:!0,trigger:["blur","input"],validator:(e,a)=>!!a||Error(t("smtp.form.validation.portRequired"))},auth_user:{required:!0,message:t("smtp.form.validation.usernameRequired"),trigger:["blur","input"]},auth_password:{required:!0,message:t("smtp.form.validation.passwordRequired"),trigger:["blur","input"]}},M=(0,n.iH)([]),N=[{label:"LOGIN",value:"LOGIN"},{label:"PLAIN",value:"PLAIN"},{label:"CRAM-MD5",value:"CRAM-MD5"},{label:"NONE",value:"NONE"}],I=[{label:t("smtp.form.tlsOptions.skip"),value:1},{label:t("smtp.form.tlsOptions.noSkip"),value:0}],w=async()=>{let e=await y();(0,u.kJ)(e)&&(M.value=e.map(e=>({label:`${e.domain}${!d.sender_domains.includes(e.domain)&&e.is_bound?t("smtp.form.bind"):""}`,value:e.domain,disabled:!d.sender_domains.includes(e.domain)&&e.is_bound})))},_={gmail:{smtp_name:"Gmail",relay_host:"smtp.gmail.com",relay_port:587,username:"",password:"",remark:"Gmail"},mailgun:{smtp_name:"Mailgun",relay_host:"smtp.mailgun.org",relay_port:587,username:"",password:"",remark:"Mailgun"},aws:{smtp_name:"AWS SES",relay_host:"email-smtp.us-east-1.amazonaws.com",relay_port:587,username:"",password:"",remark:"AWS SES"},sendgrid:{smtp_name:"SendGrid",relay_host:"smtp.sendgrid.net",relay_port:587,username:"apikey",password:"",remark:"SendGrid"},custom:{smtp_name:"Custom SMTP Relay",relay_host:"",relay_port:587,username:"",password:"",remark:"Custom SMTP Relay"}},D=()=>{let e=_[d.rtype];e&&(d.smtp_name=e.smtp_name,d.relay_host=e.relay_host,d.relay_port=e.relay_port,d.auth_user=e.username,d.auth_password=e.password,d.remark=e.remark)},j=()=>{s.value=0,d.smtp_name="",d.sender_domains=[],d.relay_host="",d.relay_port=587,d.auth_user="",d.auth_password="",d.remark="",d.active=1,d.skip_tls_verify=null,d.auth_method=null,d.helo_name=""},v=async()=>{var e;await (null==(e=i.value)?void 0:e.validate()),await g({sender_domains:d.sender_domains,relay_host:d.relay_host,relay_port:d.relay_port,auth_user:d.auth_user,auth_password:d.auth_password})},T=()=>({rtype:d.rtype,smtp_name:d.smtp_name,sender_domains:d.sender_domains,relay_host:d.relay_host,relay_port:d.relay_port,auth_user:d.auth_user,auth_password:d.auth_password,remark:d.remark,active:d.active,skip_tls_verify:d.skip_tls_verify||"",auth_method:d.auth_method||"",helo_name:d.helo_name}),[x,h]=(0,o.d)({onChangeState:e=>{if(e){w();let e=h.getState();if(d.rtype=e.type,a.value=e.isEdit,D(),e.row){let{row:t}=e;s.value=t.id,d.rtype=t.rtype,d.smtp_name=t.smtp_name,d.sender_domains=t.sender_domains,d.relay_host=t.relay_host,d.relay_port=(0,u.Dx)(t.relay_port),d.auth_user=t.auth_user,d.auth_password=t.auth_password,d.remark=t.remark,d.active=t.active,d.skip_tls_verify=t.skip_tls_verify}}else j()},onConfirm:async()=>{var e;await (null==(e=i.value)?void 0:e.validate());let t=T();a.value?await p({...t,id:s.value}):await c(t),h.getState().refresh()}});return(e,t)=>{let s=eu.Z,u=en.ZP,o=er.Z,c=ei.Z,p=es.ZP,g=el.Z,y=q.Z,w=r.ZP;return(0,n.wg)(),(0,n.j4)((0,n.SU)(x),{title:(0,n.SU)(l),width:"500"},{"footer-left":(0,n.w5)(()=>[(0,n.Wm)(w,{type:"primary",ghost:"",onClick:v},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)(e.$t("smtp.form.testConnection")),1)]),_:1})]),default:(0,n.w5)(()=>[(0,n.Wm)(y,{ref_key:"formRef",ref:i,model:(0,n.SU)(d),rules:m,class:"pt-16px"},{default:(0,n.w5)(()=>[(0,n.Wm)(o,{cols:1,"x-gap":24},{default:(0,n.w5)(()=>[(0,n.Wm)(u,{span:1,label:e.$t("smtp.form.remark"),path:"remark"},{default:(0,n.w5)(()=>[(0,n.Wm)(s,{value:(0,n.SU)(d).remark,"onUpdate:value":t[0]||(t[0]=e=>(0,n.SU)(d).remark=e)},null,8,["value"])]),_:1},8,["label"])]),_:1}),(0,n.Wm)(p,{label:e.$t("smtp.form.domain"),path:(0,n.SU)(a)?"":"sender_domains"},{default:(0,n.w5)(()=>[(0,n.Wm)(c,{value:(0,n.SU)(d).sender_domains,"onUpdate:value":t[1]||(t[1]=e=>(0,n.SU)(d).sender_domains=e),multiple:"","max-tag-count":"responsive",options:(0,n.SU)(M)},null,8,["value","options"])]),_:1},8,["label","path"]),(0,n.Wm)(o,{cols:8,"x-gap":24},{default:(0,n.w5)(()=>[(0,n.Wm)(u,{span:6,label:e.$t("smtp.form.server"),path:"relay_host"},{default:(0,n.w5)(()=>[(0,n.Wm)(s,{value:(0,n.SU)(d).relay_host,"onUpdate:value":t[2]||(t[2]=e=>(0,n.SU)(d).relay_host=e)},null,8,["value"])]),_:1},8,["label"]),(0,n.Wm)(u,{span:2,label:e.$t("smtp.form.port"),path:"relay_port"},{default:(0,n.w5)(()=>[(0,n.Wm)(g,{value:(0,n.SU)(d).relay_port,"onUpdate:value":t[3]||(t[3]=e=>(0,n.SU)(d).relay_port=e),class:"flex-1","show-button":!1,min:1},null,8,["value"])]),_:1},8,["label"])]),_:1}),(0,n.Wm)(p,{label:e.$t("smtp.form.username"),path:"auth_user"},{default:(0,n.w5)(()=>[(0,n.Wm)(s,{value:(0,n.SU)(d).auth_user,"onUpdate:value":t[4]||(t[4]=e=>(0,n.SU)(d).auth_user=e)},null,8,["value"])]),_:1},8,["label"]),(0,n.Wm)(p,{label:e.$t("smtp.form.password"),path:"auth_password"},{default:(0,n.w5)(()=>[(0,n.Wm)(s,{value:(0,n.SU)(d).auth_password,"onUpdate:value":t[5]||(t[5]=e=>(0,n.SU)(d).auth_password=e),class:"password-input",type:"password"},null,8,["value"])]),_:1},8,["label"]),(0,n.Wm)(ea,{title:e.$t("smtp.form.advancedFeatures")},{default:(0,n.w5)(()=>[(0,n.Wm)(p,{label:e.$t("smtp.form.authMethod"),path:"auth_method"},{default:(0,n.w5)(()=>[(0,n.Wm)(c,{value:(0,n.SU)(d).auth_method,"onUpdate:value":t[6]||(t[6]=e=>(0,n.SU)(d).auth_method=e),options:N},null,8,["value"])]),_:1},8,["label"]),(0,n.Wm)(p,{label:e.$t("smtp.form.skipTlsVerify"),path:"skip_tls_verify"},{default:(0,n.w5)(()=>[(0,n.Wm)(c,{value:(0,n.SU)(d).skip_tls_verify,"onUpdate:value":t[7]||(t[7]=e=>(0,n.SU)(d).skip_tls_verify=e),options:I},null,8,["value"])]),_:1},8,["label"]),(0,n.Wm)(p,{label:"HELO Name",path:"helo_name"},{default:(0,n.w5)(()=>[(0,n.Wm)(s,{value:(0,n.SU)(d).helo_name,"onUpdate:value":t[8]||(t[8]=e=>(0,n.SU)(d).helo_name=e)},null,8,["value"])]),_:1})]),_:1},8,["title"])]),_:1},8,["model"])]),_:1},8,["title"])}}});var em=a(50039),eM=a(77984);let ec={width:"140"},ep={width:"160"},eg=(0,n.aZ)({__name:"SmtpDns",setup(e){let{copyText:t}=(0,eM.F)(),a=(0,n.iH)([]),[l,s]=(0,o.d)({onChangeState:e=>{if(e){let{smtp:e}=s.getState();e&&(a.value=e.spf_records.filter(e=>1===e.check).map(e=>e.dns_record))}}});return(e,s)=>{let i=I.ZP,u=r.ZP,o=em.Z;return(0,n.wg)(),(0,n.j4)((0,n.SU)(l),{title:"SMTP DNS",width:750,footer:!1},{default:(0,n.w5)(()=>[s[1]||(s[1]=(0,n._)("div",{class:"record-desc"}," 需要调整对应域的spf记录,允许中继发送邮件(如果您已经添加可以忽略) ",-1)),(0,n.Wm)(o,{size:"small"},{default:(0,n.w5)(()=>[(0,n._)("thead",null,[(0,n._)("tr",null,[(0,n._)("th",ec,(0,n.zw)(e.$t("domain.dns.table.recordType")),1),(0,n._)("th",ep,(0,n.zw)(e.$t("domain.dns.table.host")),1),(0,n._)("th",null,(0,n.zw)(e.$t("domain.dns.table.value")),1)])]),(0,n._)("tbody",null,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)((0,n.SU)(a),a=>((0,n.wg)(),(0,n.iD)("tr",null,[s[0]||(s[0]=(0,n._)("td",null,"TXT",-1)),(0,n._)("td",null,(0,n.zw)(a.host),1),(0,n._)("td",null,[(0,n.Wm)(i,{class:"mr-4px max-w-320px!"},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)(a.value),1)]),_:2},1024),(0,n.Wm)(u,{text:"",type:"primary",onClick:()=>(0,n.SU)(t)(a.value)},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)(e.$t("common.actions.copy")),1)]),_:2},1032,["onClick"])])]))),256))])]),_:1})]),_:1,__:[1]})}}}),eN=(0,v.default)(eg,[["__scopeId","data-v-3ce21b66"]]);var ey=a(86599);let eI={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-16px"},ew=(0,v.default)({},[["render",function(e,t){let a=ey.Z;return(0,n.wg)(),(0,n.iD)("div",eI,[(0,n.Wm)(a,{height:266,sharp:!1}),(0,n.Wm)(a,{height:266,sharp:!1}),(0,n.Wm)(a,{height:266,sharp:!1}),(0,n.Wm)(a,{height:266,sharp:!1}),(0,n.Wm)(a,{height:266,sharp:!1})])}]]),e_={class:"p-24px"},eD={class:"bt-title"},ej={class:"flex gap-12px mb-16px"},ev={class:"mr-4px"},eT={key:1,class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-16px"},ex={key:2,class:"flex-center h-400px text-center text-desc"},eh=(0,n.aZ)({__name:"index",setup(e){let{t}=(0,eo.QT)(),a=(0,n.iH)(!1),d=(0,n.iH)([]),m=[{label:"Gmail",key:"gmail"},{label:"Mailgun",key:"mailgun"},{label:"AWS SES",key:"aws"},{label:"SendGrid",key:"sendgrid"},{label:t("smtp.providers.custom"),key:"custom"}],c=e=>{y.setState({isEdit:!1,type:e,row:null}),y.open()},p=async()=>{try{a.value=!0;let e=await M();(0,u.Kn)(e)&&(d.value=(0,u.kJ)(e.list)?e.list:[])}finally{a.value=!1}},[g,y]=(0,o.d)({component:ed,state:{isEdit:!1,type:"custom",refresh:p}}),I=e=>{y.setState({isEdit:!0,row:e}),y.open()},[w,_]=(0,o.d)({component:eN,state:{isEdit:!1,type:"custom",refresh:p}}),D=e=>{_.setState({smtp:e}),_.open()},j=e=>{(0,u.iG)({title:t("smtp.delete.title"),content:t("smtp.delete.confirm",{name:e.smtp_name}),onConfirm:async()=>{await N({id:e.id}),p()}})};return p(),(e,t)=>{let u=r.ZP,o=i.Z,M=s.Z,p=l.Z;return(0,n.wg)(),(0,n.iD)("div",e_,[(0,n._)("div",eD,(0,n.zw)(e.$t("smtp.title")),1),(0,n._)("div",ej,[(0,n.Wm)(o,{placement:"bottom-start",trigger:"hover",size:"large",options:m,onSelect:c},{default:(0,n.w5)(()=>[(0,n.Wm)(u,{type:"primary"},{default:(0,n.w5)(()=>[(0,n._)("span",ev,(0,n.zw)(e.$t("common.actions.add")),1),t[0]||(t[0]=(0,n._)("i",{class:"i-mdi-chevron-down text-17px"},null,-1))]),_:1,__:[0]})]),_:1}),(0,n.Wm)(M,{href:"https://www.billionmail.com/start/smtp.html",text:e.$t("smtp.description")},null,8,["text"])]),(0,n.SU)(a)?((0,n.wg)(),(0,n.j4)(ew,{key:0})):(0,n.SU)(d).length>0?((0,n.wg)(),(0,n.iD)("div",eT,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)((0,n.SU)(d),e=>((0,n.wg)(),(0,n.j4)(V,{key:e.id,service:e,onEdit:I,onDelete:j,onShowDns:D},null,8,["service"]))),128))])):((0,n.wg)(),(0,n.iD)("div",ex,[(0,n.Wm)(p)])),(0,n.Wm)((0,n.SU)(g)),(0,n.Wm)((0,n.SU)(w))])}}})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/5529.b849ba4d.js b/core/public/dist/static/js/async/5529.b849ba4d.jsnew file mode 100644index 00000000..fef982c4--- /dev/null+++ b/core/public/dist/static/js/async/5529.b849ba4d.js@@ -0,0 +1,105 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["5529"],{23685:function(e,o,c){c.d(o,{Z:()=>R});var r=c(82518),l=c(17102),a=c(20013),n=c(61691),i=c(58786),t=c(76128),d=c(56946),b=c(54470),s=c(32196),u=c(53198),h=c(51048),v=c(44267),k=c(71309),f=c(93950),x=c(61115),p=c(90686);let m=()=>(0,i.h)("svg",{viewBox:"0 0 64 64",class:"check-icon"},(0,i.h)("path",{d:"M50.42,16.76L22.34,39.45l-8.1-11.46c-1.12-1.58-3.3-1.96-4.88-0.84c-1.58,1.12-1.95,3.3-0.84,4.88l10.26,14.51 c0.56,0.79,1.42,1.31,2.38,1.45c0.16,0.02,0.32,0.03,0.48,0.03c0.8,0,1.57-0.27,2.2-0.78l30.99-25.03c1.5-1.21,1.74-3.42,0.52-4.92 C54.13,15.78,51.93,15.55,50.42,16.76z"})),g=()=>(0,i.h)("svg",{viewBox:"0 0 100 100",class:"line-icon"},(0,i.h)("path",{d:"M80.2,55.5H21.4c-2.8,0-5.1-2.5-5.1-5.5l0,0c0-3,2.3-5.5,5.1-5.5h58.7c2.8,0,5.1,2.5,5.1,5.5l0,0C85.2,53.1,82.9,55.5,80.2,55.5z"}));var y=c(28632);let w=(0,k.c)([(0,k.cB)("checkbox",`+ font-size: var(--n-font-size);+ outline: none;+ cursor: pointer;+ display: inline-flex;+ flex-wrap: nowrap;+ align-items: flex-start;+ word-break: break-word;+ line-height: var(--n-size);+ --n-merged-color-table: var(--n-color-table);+ `,[(0,k.cM)("show-label","line-height: var(--n-label-line-height);"),(0,k.c)("&:hover",[(0,k.cB)("checkbox-box",[(0,k.cE)("border","border: var(--n-border-checked);")])]),(0,k.c)("&:focus:not(:active)",[(0,k.cB)("checkbox-box",[(0,k.cE)("border",`+ border: var(--n-border-focus);+ box-shadow: var(--n-box-shadow-focus);+ `)])]),(0,k.cM)("inside-table",[(0,k.cB)("checkbox-box",`+ background-color: var(--n-merged-color-table);+ `)]),(0,k.cM)("checked",[(0,k.cB)("checkbox-box",`+ background-color: var(--n-color-checked);+ `,[(0,k.cB)("checkbox-icon",[(0,k.c)(".check-icon",`+ opacity: 1;+ transform: scale(1);+ `)])])]),(0,k.cM)("indeterminate",[(0,k.cB)("checkbox-box",[(0,k.cB)("checkbox-icon",[(0,k.c)(".check-icon",`+ opacity: 0;+ transform: scale(.5);+ `),(0,k.c)(".line-icon",`+ opacity: 1;+ transform: scale(1);+ `)])])]),(0,k.cM)("checked, indeterminate",[(0,k.c)("&:focus:not(:active)",[(0,k.cB)("checkbox-box",[(0,k.cE)("border",`+ border: var(--n-border-checked);+ box-shadow: var(--n-box-shadow-focus);+ `)])]),(0,k.cB)("checkbox-box",`+ background-color: var(--n-color-checked);+ border-left: 0;+ border-top: 0;+ `,[(0,k.cE)("border",{border:"var(--n-border-checked)"})])]),(0,k.cM)("disabled",{cursor:"not-allowed"},[(0,k.cM)("checked",[(0,k.cB)("checkbox-box",`+ background-color: var(--n-color-disabled-checked);+ `,[(0,k.cE)("border",{border:"var(--n-border-disabled-checked)"}),(0,k.cB)("checkbox-icon",[(0,k.c)(".check-icon, .line-icon",{fill:"var(--n-check-mark-color-disabled-checked)"})])])]),(0,k.cB)("checkbox-box",`+ background-color: var(--n-color-disabled);+ `,[(0,k.cE)("border",`+ border: var(--n-border-disabled);+ `),(0,k.cB)("checkbox-icon",[(0,k.c)(".check-icon, .line-icon",`+ fill: var(--n-check-mark-color-disabled);+ `)])]),(0,k.cE)("label",`+ color: var(--n-text-color-disabled);+ `)]),(0,k.cB)("checkbox-box-wrapper",`+ position: relative;+ width: var(--n-size);+ flex-shrink: 0;+ flex-grow: 0;+ user-select: none;+ -webkit-user-select: none;+ `),(0,k.cB)("checkbox-box",`+ position: absolute;+ left: 0;+ top: 50%;+ transform: translateY(-50%);+ height: var(--n-size);+ width: var(--n-size);+ display: inline-block;+ box-sizing: border-box;+ border-radius: var(--n-border-radius);+ background-color: var(--n-color);+ transition: background-color 0.3s var(--n-bezier);+ `,[(0,k.cE)("border",`+ transition:+ border-color .3s var(--n-bezier),+ box-shadow .3s var(--n-bezier);+ border-radius: inherit;+ position: absolute;+ left: 0;+ right: 0;+ top: 0;+ bottom: 0;+ border: var(--n-border);+ `),(0,k.cB)("checkbox-icon",`+ display: flex;+ align-items: center;+ justify-content: center;+ position: absolute;+ left: 1px;+ right: 1px;+ top: 1px;+ bottom: 1px;+ `,[(0,k.c)(".check-icon, .line-icon",`+ width: 100%;+ fill: var(--n-check-mark-color);+ opacity: 0;+ transform: scale(0.5);+ transform-origin: center;+ transition:+ fill 0.3s var(--n-bezier),+ transform 0.3s var(--n-bezier),+ opacity 0.3s var(--n-bezier),+ border-color 0.3s var(--n-bezier);+ `),(0,y.c)({left:"1px",top:"1px"})])]),(0,k.cE)("label",`+ color: var(--n-text-color);+ transition: color .3s var(--n-bezier);+ user-select: none;+ -webkit-user-select: none;+ padding: var(--n-label-padding);+ font-weight: var(--n-label-font-weight);+ `,[(0,k.c)("&:empty",{display:"none"})])]),(0,k.ko)((0,k.cB)("checkbox",`+ --n-merged-color-table: var(--n-color-table-modal);+ `)),(0,k.WW)((0,k.cB)("checkbox",`+ --n-merged-color-table: var(--n-color-table-popover);+ `))]),B=Object.assign(Object.assign({},d.Z.props),{size:String,checked:{type:[Boolean,String,Number],default:void 0},defaultChecked:{type:[Boolean,String,Number],default:!1},value:[String,Number],disabled:{type:Boolean,default:void 0},indeterminate:Boolean,label:String,focusable:{type:Boolean,default:!0},checkedValue:{type:[Boolean,String,Number],default:!0},uncheckedValue:{type:[Boolean,String,Number],default:!1},"onUpdate:checked":[Function,Array],onUpdateChecked:[Function,Array],privateInsideTable:Boolean,onChange:[Function,Array]}),R=(0,i.aZ)({name:"Checkbox",props:B,setup(e){let o=(0,i.f3)(p.lr,null),c=(0,i.iH)(null),{mergedClsPrefixRef:r,inlineThemeDisabled:t,mergedRtlRef:f}=(0,b.ZP)(e),m=(0,i.iH)(e.defaultChecked),g=(0,i.Vh)(e,"checked"),y=(0,a.Z)(g,m),B=(0,n.Z)(()=>{if(!o)return y.value===e.checkedValue;{let c=o.valueSetRef.value;return!!c&&void 0!==e.value&&c.has(e.value)}}),R=(0,s.Z)(e,{mergedSize(c){let{size:r}=e;if(void 0!==r)return r;if(o){let{value:e}=o.mergedSizeRef;if(void 0!==e)return e}if(c){let{mergedSize:e}=c;if(void 0!==e)return e.value}return"medium"},mergedDisabled(c){let{disabled:r}=e;if(void 0!==r)return r;if(o){if(o.disabledRef.value)return!0;let{maxRef:{value:e},checkedCountRef:c}=o;if(void 0!==e&&c.value>=e&&!B.value)return!0;let{minRef:{value:r}}=o;if(void 0!==r&&c.value<=r&&B.value)return!0}return!!c&&c.disabled.value}}),{mergedDisabledRef:z,mergedSizeRef:C}=R,Z=(0,d.Z)("Checkbox","-checkbox",w,x.Z,e,r);function $(c){if(o&&void 0!==e.value)o.toggleCheckbox(!B.value,e.value);else{let{onChange:o,"onUpdate:checked":r,onUpdateChecked:l}=e,{nTriggerFormInput:a,nTriggerFormChange:n}=R,i=B.value?e.uncheckedValue:e.checkedValue;r&&(0,v.R)(r,i,c),l&&(0,v.R)(l,i,c),o&&(0,v.R)(o,i,c),a(),n(),m.value=i}}let S=(0,h.V)("Checkbox",f,r),A=(0,i.Fl)(()=>{let{value:e}=C,{common:{cubicBezierEaseInOut:o},self:{borderRadius:c,color:r,colorChecked:l,colorDisabled:a,colorTableHeader:n,colorTableHeaderModal:i,colorTableHeaderPopover:t,checkMarkColor:d,checkMarkColorDisabled:b,border:s,borderFocus:u,borderDisabled:h,borderChecked:v,boxShadowFocus:f,textColor:x,textColorDisabled:p,checkMarkColorDisabledChecked:m,colorDisabledChecked:g,borderDisabledChecked:y,labelPadding:w,labelLineHeight:B,labelFontWeight:R,[(0,k.Tl)("fontSize",e)]:z,[(0,k.Tl)("size",e)]:$}}=Z.value;return{"--n-label-line-height":B,"--n-label-font-weight":R,"--n-size":$,"--n-bezier":o,"--n-border-radius":c,"--n-border":s,"--n-border-checked":v,"--n-border-focus":u,"--n-border-disabled":h,"--n-border-disabled-checked":y,"--n-box-shadow-focus":f,"--n-color":r,"--n-color-checked":l,"--n-color-table":n,"--n-color-table-modal":i,"--n-color-table-popover":t,"--n-color-disabled":a,"--n-color-disabled-checked":g,"--n-text-color":x,"--n-text-color-disabled":p,"--n-check-mark-color":d,"--n-check-mark-color-disabled":b,"--n-check-mark-color-disabled-checked":m,"--n-font-size":z,"--n-label-padding":w}}),V=t?(0,u.F)("checkbox",(0,i.Fl)(()=>C.value[0]),A,e):void 0;return Object.assign(R,{focus:()=>{var e;null==(e=c.value)||e.focus()},blur:()=>{var e;null==(e=c.value)||e.blur()}},{rtlEnabled:S,selfRef:c,mergedClsPrefix:r,mergedDisabled:z,renderedChecked:B,mergedTheme:Z,labelId:(0,l.Mc)(),handleClick:function(e){z.value||$(e)},handleKeyUp:function(e){if(!z.value)switch(e.key){case" ":case"Enter":$(e)}},handleKeyDown:function(e){" "===e.key&&e.preventDefault()},cssVars:t?void 0:A,themeClass:null==V?void 0:V.themeClass,onRender:null==V?void 0:V.onRender})},render(){var e;let{$slots:o,renderedChecked:c,mergedDisabled:l,indeterminate:a,privateInsideTable:n,cssVars:d,labelId:b,label:s,mergedClsPrefix:u,focusable:h,handleKeyUp:v,handleKeyDown:k,handleClick:x}=this;null==(e=this.onRender)||e.call(this);let p=(0,f.K9)(o.default,e=>s||e?(0,i.h)("span",{class:`${u}-checkbox__label`,id:b},s||e):null);return(0,i.h)("div",{ref:"selfRef",class:[`${u}-checkbox`,this.themeClass,this.rtlEnabled&&`${u}-checkbox--rtl`,c&&`${u}-checkbox--checked`,l&&`${u}-checkbox--disabled`,a&&`${u}-checkbox--indeterminate`,n&&`${u}-checkbox--inside-table`,p&&`${u}-checkbox--show-label`],tabindex:l||!h?void 0:0,role:"checkbox","aria-checked":a?"mixed":c,"aria-labelledby":b,style:d,onKeyup:v,onKeydown:k,onClick:x,onMousedown:()=>{(0,r.on)("selectstart",window,e=>{e.preventDefault()},{once:!0})}},(0,i.h)("div",{class:`${u}-checkbox-box-wrapper`},"\xa0",(0,i.h)("div",{class:`${u}-checkbox-box`},(0,i.h)(t.Z,null,{default:()=>this.indeterminate?(0,i.h)("div",{key:"indeterminate",class:`${u}-checkbox-icon`},g()):(0,i.h)("div",{key:"check",class:`${u}-checkbox-icon`},m())}),(0,i.h)("div",{class:`${u}-checkbox-box__border`}))),p)}})},90686:function(e,o,c){c.d(o,{ZP:()=>b,lr:()=>d});var r=c(20013),l=c(58786),a=c(54470),n=c(32196),i=c(19050),t=c(44267);let d=(0,i.U)("n-checkbox-group"),b=(0,l.aZ)({name:"CheckboxGroup",props:{min:Number,max:Number,size:String,value:Array,defaultValue:{type:Array,default:null},disabled:{type:Boolean,default:void 0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onChange:[Function,Array]},setup(e){let{mergedClsPrefixRef:o}=(0,a.ZP)(e),c=(0,n.Z)(e),{mergedSizeRef:i,mergedDisabledRef:b}=c,s=(0,l.iH)(e.defaultValue),u=(0,l.Fl)(()=>e.value),h=(0,r.Z)(u,s),v=(0,l.Fl)(()=>{var e;return(null==(e=h.value)?void 0:e.length)||0}),k=(0,l.Fl)(()=>Array.isArray(h.value)?new Set(h.value):new Set);return(0,l.JJ)(d,{checkedCountRef:v,maxRef:(0,l.Vh)(e,"max"),minRef:(0,l.Vh)(e,"min"),valueSetRef:k,disabledRef:b,mergedSizeRef:i,toggleCheckbox:function(o,r){let{nTriggerFormInput:l,nTriggerFormChange:a}=c,{onChange:n,"onUpdate:value":i,onUpdateValue:d}=e;if(Array.isArray(h.value)){let e=Array.from(h.value),c=e.findIndex(e=>e===r);o?!~c&&(e.push(r),d&&(0,t.R)(d,e,{actionType:"check",value:r}),i&&(0,t.R)(i,e,{actionType:"check",value:r}),l(),a(),s.value=e,n&&(0,t.R)(n,e)):~c&&(e.splice(c,1),d&&(0,t.R)(d,e,{actionType:"uncheck",value:r}),i&&(0,t.R)(i,e,{actionType:"uncheck",value:r}),n&&(0,t.R)(n,e),s.value=e,l(),a())}else o?(d&&(0,t.R)(d,[r],{actionType:"check",value:r}),i&&(0,t.R)(i,[r],{actionType:"check",value:r}),n&&(0,t.R)(n,[r]),s.value=[r]):(d&&(0,t.R)(d,[],{actionType:"uncheck",value:r}),i&&(0,t.R)(i,[],{actionType:"uncheck",value:r}),n&&(0,t.R)(n,[]),s.value=[]),l(),a()}}),{mergedClsPrefix:o}},render(){return(0,l.h)("div",{class:`${this.mergedClsPrefix}-checkbox-group`,role:"group"},this.$slots)}})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/5607.db0d4a2e.js b/core/public/dist/static/js/async/5607.db0d4a2e.jsdeleted file mode 100644index c9127786..00000000--- a/core/public/dist/static/js/async/5607.db0d4a2e.js+++ /dev/null@@ -1,98 +0,0 @@-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["5607"],{65977:function(e,t,a){a.d(t,{Z:()=>i});var l=a(58786);let i=(0,l.aZ)({name:"Add",render:()=>(0,l.h)("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,l.h)("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))})},60309:function(e,t,a){a.d(t,{L:()=>l});function l(e,t){if(!e)return;let a=document.createElement("a");a.href=e,void 0!==t&&(a.download=t),document.body.appendChild(a),a.click(),document.body.removeChild(a)}},79537:function(e,t,a){a.d(t,{Z:()=>n});var l=a(58786),i=a(54470),s=a(27046),r=a(71309);let o=(0,r.cB)("input-group",`- display: inline-flex;- width: 100%;- flex-wrap: nowrap;- vertical-align: bottom;-`,[(0,r.c)(">",[(0,r.cB)("input",[(0,r.c)("&:not(:last-child)",`- border-top-right-radius: 0!important;- border-bottom-right-radius: 0!important;- `),(0,r.c)("&:not(:first-child)",`- border-top-left-radius: 0!important;- border-bottom-left-radius: 0!important;- margin-left: -1px!important;- `)]),(0,r.cB)("button",[(0,r.c)("&:not(:last-child)",`- border-top-right-radius: 0!important;- border-bottom-right-radius: 0!important;- `,[(0,r.cE)("state-border, border",`- border-top-right-radius: 0!important;- border-bottom-right-radius: 0!important;- `)]),(0,r.c)("&:not(:first-child)",`- border-top-left-radius: 0!important;- border-bottom-left-radius: 0!important;- `,[(0,r.cE)("state-border, border",`- border-top-left-radius: 0!important;- border-bottom-left-radius: 0!important;- `)])]),(0,r.c)("*",[(0,r.c)("&:not(:last-child)",`- border-top-right-radius: 0!important;- border-bottom-right-radius: 0!important;- `,[(0,r.c)(">",[(0,r.cB)("input",`- border-top-right-radius: 0!important;- border-bottom-right-radius: 0!important;- `),(0,r.cB)("base-selection",[(0,r.cB)("base-selection-label",`- border-top-right-radius: 0!important;- border-bottom-right-radius: 0!important;- `),(0,r.cB)("base-selection-tags",`- border-top-right-radius: 0!important;- border-bottom-right-radius: 0!important;- `),(0,r.cE)("box-shadow, border, state-border",`- border-top-right-radius: 0!important;- border-bottom-right-radius: 0!important;- `)])])]),(0,r.c)("&:not(:first-child)",`- margin-left: -1px!important;- border-top-left-radius: 0!important;- border-bottom-left-radius: 0!important;- `,[(0,r.c)(">",[(0,r.cB)("input",`- border-top-left-radius: 0!important;- border-bottom-left-radius: 0!important;- `),(0,r.cB)("base-selection",[(0,r.cB)("base-selection-label",`- border-top-left-radius: 0!important;- border-bottom-left-radius: 0!important;- `),(0,r.cB)("base-selection-tags",`- border-top-left-radius: 0!important;- border-bottom-left-radius: 0!important;- `),(0,r.cE)("box-shadow, border, state-border",`- border-top-left-radius: 0!important;- border-bottom-left-radius: 0!important;- `)])])])])])]),n=(0,l.aZ)({name:"InputGroup",props:{},setup(e){let{mergedClsPrefixRef:t}=(0,i.ZP)(e);return(0,s.Z)("-input-group",o,t),{mergedClsPrefix:t}},render(){let{mergedClsPrefix:e}=this;return(0,l.h)("div",{class:`${e}-input-group`},this.$slots)}})},60579:function(e,t,a){a.d(t,{Z:()=>f});var l=a(65083),i=a(23125),s=a(58786),r=a(62594),o=a(56946),n=a(54470),u=a(53198),p=a(71309),d=a(53573),c=a(66480);let m=(0,p.c)([(0,p.c)("@keyframes spin-rotate",`- from {- transform: rotate(0);- }- to {- transform: rotate(360deg);- }- `),(0,p.cB)("spin-container",`- position: relative;- `,[(0,p.cB)("spin-body",`- position: absolute;- top: 50%;- left: 50%;- transform: translateX(-50%) translateY(-50%);- `,[(0,c.h)()])]),(0,p.cB)("spin-body",`- display: inline-flex;- align-items: center;- justify-content: center;- flex-direction: column;- `),(0,p.cB)("spin",`- display: inline-flex;- height: var(--n-size);- width: var(--n-size);- font-size: var(--n-size);- color: var(--n-color);- `,[(0,p.cM)("rotate",`- animation: spin-rotate 2s linear infinite;- `)]),(0,p.cB)("spin-description",`- display: inline-block;- font-size: var(--n-font-size);- color: var(--n-text-color);- transition: color .3s var(--n-bezier);- margin-top: 8px;- `),(0,p.cB)("spin-content",`- opacity: 1;- transition: opacity .3s var(--n-bezier);- pointer-events: all;- `,[(0,p.cM)("spinning",`- user-select: none;- -webkit-user-select: none;- pointer-events: none;- opacity: var(--n-opacity-spinning);- `)])]),v={small:20,medium:18,large:16},b=Object.assign(Object.assign({},o.Z.props),{contentClass:String,contentStyle:[Object,String],description:String,stroke:String,size:{type:[String,Number],default:"medium"},show:{type:Boolean,default:!0},strokeWidth:Number,rotate:{type:Boolean,default:!0},spinning:{type:Boolean,validator:()=>!0,default:void 0},delay:Number}),f=(0,s.aZ)({name:"Spin",props:b,slots:Object,setup(e){let{mergedClsPrefixRef:t,inlineThemeDisabled:a}=(0,n.ZP)(e),r=(0,o.Z)("Spin","-spin",m,d.Z,e,t),c=(0,s.Fl)(()=>{let{size:t}=e,{common:{cubicBezierEaseInOut:a},self:i}=r.value,{opacitySpinning:s,color:o,textColor:n}=i;return{"--n-bezier":a,"--n-opacity-spinning":s,"--n-size":"number"==typeof t?(0,l.BL)(t):i[(0,p.Tl)("size",t)],"--n-color":o,"--n-text-color":n}}),b=a?(0,u.F)("spin",(0,s.Fl)(()=>{let{size:t}=e;return"number"==typeof t?String(t):t[0]}),c,e):void 0,f=(0,i.Z)(e,["spinning","show"]),h=(0,s.iH)(!1);return(0,s.m0)(t=>{let a;if(f.value){let{delay:l}=e;if(l){a=window.setTimeout(()=>{h.value=!0},l),t(()=>{clearTimeout(a)});return}}h.value=f.value}),{mergedClsPrefix:t,active:h,mergedStrokeWidth:(0,s.Fl)(()=>{let{strokeWidth:t}=e;if(void 0!==t)return t;let{size:a}=e;return v["number"==typeof a?"medium":a]}),cssVars:a?void 0:c,themeClass:null==b?void 0:b.themeClass,onRender:null==b?void 0:b.onRender}},render(){var e,t;let{$slots:a,mergedClsPrefix:l,description:i}=this,o=a.icon&&this.rotate,n=(i||a.description)&&(0,s.h)("div",{class:`${l}-spin-description`},i||(null==(e=a.description)?void 0:e.call(a))),u=a.icon?(0,s.h)("div",{class:[`${l}-spin-body`,this.themeClass]},(0,s.h)("div",{class:[`${l}-spin`,o&&`${l}-spin--rotate`],style:a.default?"":this.cssVars},a.icon()),n):(0,s.h)("div",{class:[`${l}-spin-body`,this.themeClass]},(0,s.h)(r.Z,{clsPrefix:l,style:a.default?"":this.cssVars,stroke:this.stroke,"stroke-width":this.mergedStrokeWidth,class:`${l}-spin`}),n);return null==(t=this.onRender)||t.call(this),a.default?(0,s.h)("div",{class:[`${l}-spin-container`,this.themeClass],style:this.cssVars},(0,s.h)("div",{class:[`${l}-spin-content`,this.active&&`${l}-spin-content--spinning`,this.contentClass],style:this.contentStyle},a),(0,s.h)(s.uT,{name:"fade-in-transition"},{default:()=>this.active?u:null})):u}})},50144:function(e,t,a){a.d(t,{Z:()=>u});var l=a(58786),i=a(56946),s=a(54470),r=a(49942),o=a(44108);let n=Object.assign(Object.assign({},r.Kd),i.Z.props),u=(0,l.aZ)({name:"Tooltip",props:n,slots:Object,__popover__:!0,setup(e){let{mergedClsPrefixRef:t}=(0,s.ZP)(e),a=(0,i.Z)("Tooltip","-tooltip",void 0,o.Z,e,t),r=(0,l.iH)(null);return Object.assign(Object.assign({},{syncPosition(){r.value.syncPosition()},setShow(e){r.value.setShow(e)}}),{popoverRef:r,mergedTheme:a,popoverThemeOverrides:(0,l.Fl)(()=>a.value.self)})},render(){let{mergedTheme:e,internalExtraClass:t}=this;return(0,l.h)(r.ZP,Object.assign(Object.assign({},this.$props),{theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:t.concat("tooltip"),ref:"popoverRef"}),this.$slots)}})},42987:function(e,t,a){a.r(t),a.d(t,{default:()=>ed});var l=a(57869),i=a(58786),s=a(60579),r=a(98048),o=a(6455),n=a(79537),u=a(73084),p=a(29875),d=a(15496),c=a(40972),m=a(5057),v=a(34541),b=a(68271);let f={fetchOptions:{loading:"Loading... Please wait.",successMessage:!0}};async function h(e){let{providerList:t,currentProvider:a}=e;try{let l=await v.e.post("/askai/supplier/list");t.value=l,l.length&&(a.value=l[0],await g(a.value.supplierName,e))}catch(e){console.warn(e)}}async function g(e,t){let{modelList:a,configurationLoading:l}=t;try{l.value=!0,a.value=await v.e.post("/askai/supplier/models",{supplierName:e})}catch(e){console.warn(e)}finally{l.value=!1}}async function w(e){let{addProviderFormData:t,addProviderFormDataRef:a,addProviderRef:l}=e;try{var i;if(!await N(e))return!1;await (null==(i=a.value)?void 0:i.validate()),await v.e.post("/askai/supplier/add_supplier",t.value,f),l.value.close(),await h(e)}catch(e){console.warn(e)}}async function _(e){let{currentProvider:t,addModelFormData:a,addModelFormRef:l,addModelRef:i}=e;try{var s;await (null==(s=l.value)?void 0:s.validate()),await v.e.post("/askai/supplier/add_model",{...a.value,supplierName:t.value.supplierName},f),await g(t.value.supplierName,e),i.value.close()}catch(e){console.warn(e)}}async function y(e){let{currentProvider:t,providerList:a}=e;try{let e=await v.e.post("/askai/supplier/get_supplier_config",{supplierName:t.value.supplierName},f),l=a.value.find(e=>e.supplierName==t.value.supplierName);l&&(l.apiKey=e.apiKey,l.baseUrl=e.baseUrl)}catch(e){console.warn(e)}}async function U(e,t){let{currentProvider:a}=t;try{await v.e.post("/askai/supplier/set_supplier_status",{supplierName:a.value.supplierName,status:e},f),a.value.status=e,g(a.value.supplierName,t)}catch(t){a.value.status=!e,console.warn(t)}}async function k(e){let{currentProvider:t}=e;try{await v.e.post("/askai/supplier/testing",{supplierName:t.value.supplierName,baseUrl:t.value.baseUrl,apiKey:t.value.apiKey},f)}catch(e){console.warn(e)}}async function S(e){let{currentProvider:t}=e;try{await v.e.post("/askai/supplier/set_supplier_config",{supplierName:t.value.supplierName,baseUrl:t.value.baseUrl,apiKey:t.value.apiKey},f),U(!0,e)}catch(e){console.warn(e)}}async function x(e,t,a){let{currentProvider:l}=a;try{await v.e.post("/askai/supplier/set_model_status",{supplierName:l.value.supplierName,modelId:e.modelId,status:t},f)}catch(a){e.status=!t,console.warn(a)}}async function Z(e){let{currentProvider:t}=e;(0,b.iG)({title:"Notice",content:`Are you sure to remove the provider "${t.value.supplierName}"?`,onConfirm:async()=>{try{await v.e.post("/askai/supplier/remove_supplier",{supplierName:t.value.supplierName},f),await h(e)}catch(e){console.warn(e)}}})}async function N(e){let{addProviderFormData:t}=e;try{return await v.e.post("/askai/supplier/testing",t.value),!0}catch(e){return console.warn(e),!1}}async function W(e,t){(0,b.iG)({title:"Notice",content:`Are you sure to remove the Model "${e.title}"?`,onConfirm:async()=>{try{await v.e.post("/askai/supplier/remove_model",{supplierName:e.supplierName,modelId:e.modelId},f),await g(e.supplierName,t)}catch(e){console.warn(e)}}})}let C={class:"flex justify-end gap-5"},M=(0,i.aZ)({__name:"AddProvider",setup(e,t){let{expose:a}=t,l=(0,i.f3)("modelStore"),{addProviderFormData:s,addProviderFormDataRef:n}=l,p=(0,i.iH)(!1),c={supplierTitle:[{required:!0,message:"supplierTitle is required",trigger:"blur"}],supplierName:[{required:!0,message:"supplierName is required",trigger:"blur"}],baseUrl:[{required:!0,message:"baseUrl is required",trigger:"blur"}],apiKey:[{required:!0,message:"apiKey is required",trigger:"blur"}]};return a({open:function(){p.value=!0},close:function(){p.value=!1}}),(e,t)=>{let a=u.Z,v=o.ZP,b=r.Z,f=d.ZP,h=m.Z;return(0,i.wg)(),(0,i.j4)(h,{show:(0,i.SU)(p),"onUpdate:show":t[5]||(t[5]=e=>(0,i.dq)(p)?p.value=e:null),preset:"card","close-on-esc":!1,"mask-closable":!1,draggable:"",class:"w-150",title:"Add Provider"},{footer:(0,i.w5)(()=>[(0,i._)("div",C,[(0,i.Wm)(f,null,{default:(0,i.w5)(()=>t[6]||(t[6]=[(0,i.Uk)("Cancel")])),_:1,__:[6]}),(0,i.Wm)(f,{type:"primary",onClick:t[4]||(t[4]=e=>(0,i.SU)(w)((0,i.SU)(l)))},{default:(0,i.w5)(()=>t[7]||(t[7]=[(0,i.Uk)("Confirm")])),_:1,__:[7]})])]),default:(0,i.w5)(()=>[(0,i.Wm)(b,{ref_key:"addProviderFormDataRef",ref:n,model:(0,i.SU)(s),rules:c},{default:(0,i.w5)(()=>[(0,i.Wm)(v,{label:e.$t("settings.aiModel.supplierTitle"),path:"supplierTitle"},{default:(0,i.w5)(()=>[(0,i.Wm)(a,{value:(0,i.SU)(s).supplierTitle,"onUpdate:value":t[0]||(t[0]=e=>(0,i.SU)(s).supplierTitle=e)},null,8,["value"])]),_:1},8,["label"]),(0,i.Wm)(v,{label:e.$t("settings.aiModel.supplierName"),path:"supplierName"},{default:(0,i.w5)(()=>[(0,i.Wm)(a,{value:(0,i.SU)(s).supplierName,"onUpdate:value":t[1]||(t[1]=e=>(0,i.SU)(s).supplierName=e)},null,8,["value"])]),_:1},8,["label"]),(0,i.Wm)(v,{label:"BaseURL",path:"baseUrl"},{default:(0,i.w5)(()=>[(0,i.Wm)(a,{value:(0,i.SU)(s).baseUrl,"onUpdate:value":t[2]||(t[2]=e=>(0,i.SU)(s).baseUrl=e)},null,8,["value"])]),_:1}),(0,i.Wm)(v,{label:"ApiKey",path:"apiKey"},{default:(0,i.w5)(()=>[(0,i.Wm)(a,{value:(0,i.SU)(s).apiKey,"onUpdate:value":t[3]||(t[3]=e=>(0,i.SU)(s).apiKey=e)},null,8,["value"])]),_:1})]),_:1},8,["model"])]),_:1},8,["show"])}}});var $=a(29283),P=a(8490);let z={class:"flex justify-end gap-5"},B=(0,i.aZ)({__name:"AddModel",setup(e,t){let{expose:a}=t,l=(0,i.f3)("modelStore"),{addModelFormData:s,addModelFormRef:n}=l,p=(0,i.iH)(!1),c=[{label:"llm",value:"llm"},{label:"vision",value:"vision"},{label:"tools",value:"tools"},{label:"text-to-image",value:"text-to-image"}],v=(0,i.Fl)(()=>s.value.capability.includes("llm")||s.value.capability.includes("vision")||s.value.capability.includes("tools")?c.map(e=>"text-to-image"===e.value?{...e,disabled:!0}:e):s.value.capability.includes("text-to-image")?c.map(e=>"text-to-image"===e.value?{...e}:{...e,disabled:!0}):c),b={modelId:[{required:!0,message:"modelId is required",trigger:"blur"}],title:[{required:!0,message:"title is required",trigger:"blur"}],capability:[{validator:(e,t)=>!!t.length||Error("capability is required"),trigger:"blur"}],max_tokens:[{validator:(e,t)=>!!t||Error("max_tokens is required"),trigger:"blur"}]};function f(){p.value=!1,s.value.capability=["llm"],s.value.max_tokens=8192,s.value.modelId="",s.value.title=""}return a({open:function(){p.value=!0},close:f}),(e,t)=>{let a=u.Z,c=o.ZP,h=P.Z,g=$.Z,w=r.Z,y=d.ZP,U=m.Z;return(0,i.wg)(),(0,i.j4)(U,{show:(0,i.SU)(p),"onUpdate:show":t[5]||(t[5]=e=>(0,i.dq)(p)?p.value=e:null),preset:"card",draggable:"","close-on-esc":!1,"mask-closable":!1,title:"Add Model",class:"w-100"},{footer:(0,i.w5)(()=>[(0,i._)("div",z,[(0,i.Wm)(y,{onClick:f},{default:(0,i.w5)(()=>t[6]||(t[6]=[(0,i.Uk)("Cancel")])),_:1,__:[6]}),(0,i.Wm)(y,{type:"primary",onClick:t[4]||(t[4]=e=>(0,i.SU)(_)((0,i.SU)(l)))},{default:(0,i.w5)(()=>t[7]||(t[7]=[(0,i.Uk)("Confirm")])),_:1,__:[7]})])]),default:(0,i.w5)(()=>[(0,i.Wm)(w,{ref_key:"addModelFormRef",ref:n,model:(0,i.SU)(s),rules:b},{default:(0,i.w5)(()=>[(0,i.Wm)(c,{label:e.$t("settings.aiModel.modelId"),path:"modelId"},{default:(0,i.w5)(()=>[(0,i.Wm)(a,{value:(0,i.SU)(s).modelId,"onUpdate:value":t[0]||(t[0]=e=>(0,i.SU)(s).modelId=e)},null,8,["value"])]),_:1},8,["label"]),(0,i.Wm)(c,{label:e.$t("settings.aiModel.modelAlias"),path:"title"},{default:(0,i.w5)(()=>[(0,i.Wm)(a,{value:(0,i.SU)(s).title,"onUpdate:value":t[1]||(t[1]=e=>(0,i.SU)(s).title=e)},null,8,["value"])]),_:1},8,["label"]),(0,i.Wm)(c,{label:e.$t("settings.aiModel.modelFeature"),path:"capability"},{default:(0,i.w5)(()=>[(0,i.Wm)(h,{value:(0,i.SU)(s).capability,"onUpdate:value":t[2]||(t[2]=e=>(0,i.SU)(s).capability=e),options:(0,i.SU)(v),multiple:""},null,8,["value","options"])]),_:1},8,["label"]),(0,i.Wm)(c,{label:e.$t("settings.aiModel.contentLength"),path:"max_tokens"},{default:(0,i.w5)(()=>[(0,i.Wm)(g,{value:(0,i.SU)(s).max_tokens,"onUpdate:value":t[3]||(t[3]=e=>(0,i.SU)(s).max_tokens=e),min:1,class:"w-100%"},null,8,["value"])]),_:1},8,["label"])]),_:1},8,["model"])]),_:1},8,["show"])}}}),K={class:"manager-wrapper"},T={class:"left-provider"},j={class:"provider-list"},H=["onClick"],I={class:"item-icon"},O={key:1,class:"i-ai:big-model w-6.5 h-6.5"},q={class:"tit"},A={class:"add-privider"},R={class:"right-configuration"},E={class:"top-switch"},F={class:"switch-info"},D={class:"tit"},L={class:"center-api"},V={class:"w-100%"},Y={class:"w-100%"},G={class:"text-[var(--color-text-3)] mt-5"},J={class:"bottom-model-list"},X={class:"header-tit"},Q={class:"tit"},ee={class:"sub-tit"},et={class:"tit"},ea={class:"model-item"},el={class:"model-name"},ei={class:"operation"},es=["onClick"],er=(0,i.aZ)({__name:"ModelManager",setup(e){let t=(0,i.f3)("modelStore"),{providerList:a,modelList:l,currentProvider:m,configurationLoading:v,addProviderRef:b,addModelRef:f}=t;function w(){b.value.open()}function _(){f.value.open()}return h(t),(e,h)=>{let N=c.Z,C=d.ZP,$=p.Z,P=u.Z,z=n.Z,er=o.ZP,eo=r.Z,en=s.Z;return(0,i.wg)(),(0,i.iD)(i.HY,null,[(0,i._)("div",K,[(0,i._)("div",T,[(0,i._)("div",j,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)((0,i.SU)(a),e=>{var a;return(0,i.wg)(),(0,i.iD)("div",{key:e.supplierName,class:(0,i.C_)(["provider-item",{active:e.supplierName==(null==(a=(0,i.SU)(m))?void 0:a.supplierName)}]),onClick:a=>{m.value=e,g(e.supplierName,t)}},[(0,i._)("div",I,[e.icon?((0,i.wg)(),(0,i.j4)(N,{key:0,src:e.icon,height:"24",width:"24"},null,8,["src"])):((0,i.wg)(),(0,i.iD)("i",O))]),(0,i._)("span",q,(0,i.zw)(e.supplierTitle[0].toUpperCase()+e.supplierTitle.slice(1)),1),(0,i._)("span",{class:(0,i.C_)(["status",{active:e.status}])},null,2)],10,H)}),128))]),(0,i._)("div",A,[(0,i.Wm)(C,{onClick:w},{icon:(0,i.w5)(()=>h[8]||(h[8]=[(0,i._)("i",{class:"i-ic:baseline-add-circle"},null,-1)])),default:(0,i.w5)(()=>[h[9]||(h[9]=(0,i.Uk)(" Add model service provider "))]),_:1,__:[9]})])]),(0,i.Wm)(en,{show:(0,i.SU)(v)},{default:(0,i.w5)(()=>[(0,i._)("div",R,[(0,i._)("div",E,[(0,i._)("div",F,[(0,i._)("span",D,(0,i.zw)((0,i.SU)(m).supplierName?(0,i.SU)(m).supplierName[0].toUpperCase()+(0,i.SU)(m).supplierName.slice(1):""),1),(0,i.Wm)($,{value:(0,i.SU)(m).status,"onUpdate:value":[h[0]||(h[0]=e=>(0,i.SU)(m).status=e),h[1]||(h[1]=e=>(0,i.SU)(U)(e,(0,i.SU)(t)))]},null,8,["value"])]),(0,i._)("i",{class:"i-ri:delete-bin-3-line text-5.5 hover:text-red-5 cursor-pointer",onClick:h[2]||(h[2]=e=>(0,i.SU)(Z)((0,i.SU)(t)))})]),(0,i._)("div",L,[(0,i.Wm)(eo,{class:"mt-15px"},{default:(0,i.w5)(()=>[(0,i.Wm)(er,{label:e.$t("settings.aiModel.aPIKey")},{default:(0,i.w5)(()=>[(0,i._)("div",V,[(0,i.Wm)(z,null,{default:(0,i.w5)(()=>[(0,i.Wm)(P,{value:(0,i.SU)(m).apiKey,"onUpdate:value":h[3]||(h[3]=e=>(0,i.SU)(m).apiKey=e)},null,8,["value"]),(0,i.Wm)(C,{onClick:h[4]||(h[4]=e=>(0,i.SU)(k)((0,i.SU)(t)))},{default:(0,i.w5)(()=>[(0,i.Uk)((0,i.zw)(e.$t("settings.aiModel.check")),1)]),_:1})]),_:1}),(0,i.Wm)(C,{text:"",type:"info",class:"mt-5px",onClick:h[5]||(h[5]=e=>(0,i.SU)(y)((0,i.SU)(t)))},{default:(0,i.w5)(()=>[(0,i.Uk)((0,i.zw)(e.$t("settings.aiModel.getKey")),1)]),_:1})])]),_:1},8,["label"]),(0,i.Wm)(er,{label:e.$t("settings.aiModel.apiPath")},{default:(0,i.w5)(()=>[(0,i._)("div",Y,[(0,i.Wm)(P,{value:(0,i.SU)(m).baseUrl,"onUpdate:value":h[6]||(h[6]=e=>(0,i.SU)(m).baseUrl=e)},null,8,["value"]),(0,i._)("span",G,(0,i.zw)(e.$t("settings.aiModel.example"))+": https://api.deepseek.com/v1",1)])]),_:1},8,["label"])]),_:1}),(0,i.Wm)(C,{type:"primary",onClick:h[7]||(h[7]=e=>(0,i.SU)(S)((0,i.SU)(t)))},{default:(0,i.w5)(()=>[(0,i.Uk)((0,i.zw)(e.$t("settings.aiModel.saveAPI")),1)]),_:1})]),(0,i._)("div",J,[(0,i._)("div",X,[(0,i._)("div",null,[(0,i._)("span",Q,(0,i.zw)(e.$t("settings.aiModel.model")),1),(0,i._)("span",ee,(0,i.zw)(e.$t("settings.aiModel.byDefault")),1)]),(0,i._)("div",{class:"add-model",onClick:_},[h[10]||(h[10]=(0,i._)("i",{class:"i-ic:baseline-control-point text-4"},null,-1)),(0,i._)("span",et,(0,i.zw)(e.$t("settings.aiModel.addModel")),1)])]),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)((0,i.SU)(l),e=>((0,i.wg)(),(0,i.iD)("div",{key:e.title,class:"model-list"},[(0,i._)("div",ea,[(0,i._)("span",el,(0,i.zw)(e.title),1),(0,i._)("div",ei,[(0,i.Wm)($,{value:e.status,"onUpdate:value":[t=>e.status=t,a=>(0,i.SU)(x)(e,a,(0,i.SU)(t))]},null,8,["value","onUpdate:value"]),(0,i._)("i",{class:"i-material-symbols:delete-outline text-5",onClick:a=>(0,i.SU)(W)(e,(0,i.SU)(t))},null,8,es)])])]))),128))])])]),_:1},8,["show"])]),(0,i.Wm)(M,{ref_key:"addProviderRef",ref:b},null,512),(0,i.Wm)(B,{ref_key:"addModelRef",ref:f},null,512)],64)}}});var eo=a(41748);let en=(0,eo.default)(er,[["__scopeId","data-v-3e6fdcc4"]]),eu={class:"max-w-4xl mx-auto px-4 py-8"},ep=(0,i.aZ)({__name:"index",setup(e){let t=function(){let e=(0,i.iH)([]),t=(0,i.iH)([]),a=(0,i.iH)(),l=(0,i.iH)({supplierTitle:"",supplierName:"",baseUrl:"",baseUrlExample:"",isUseUrlExample:!1,apiKey:"",home:"",help:"",status:!1,icon:"",sort:0}),s=(0,i.iH)(!1),r=(0,i.iH)({supplierTitle:"",supplierName:"",baseUrl:"",apiKey:""}),o=(0,i.iH)(),n=(0,i.iH)({title:"",modelId:"",max_tokens:8192,capability:["llm"]});return{providerList:e,modelList:t,addProviderRef:a,currentProvider:l,configurationLoading:s,addProviderFormData:r,addProviderFormDataRef:o,addModelFormData:n,addModelFormRef:(0,i.iH)(),addModelRef:(0,i.iH)()}}();return(0,i.JJ)("modelStore",t),(e,t)=>{let a=l.ZP;return(0,i.wg)(),(0,i.iD)("div",eu,[(0,i.Wm)(a,{class:"mb-5"},{default:(0,i.w5)(()=>t[0]||(t[0]=[(0,i._)("div",{class:"page-tit",style:{margin:"0"}},[(0,i._)("div",{class:"left-tit"},[(0,i._)("div",{class:"back-tool"},[(0,i._)("i",{class:"i-ri:apps-fill text-6"})]),(0,i._)("span",{class:"tit-content"}," AI Model ")])],-1)])),_:1,__:[0]}),(0,i.Wm)(a,null,{default:(0,i.w5)(()=>[(0,i.Wm)(en)]),_:1})])}}}),ed=(0,eo.default)(ep,[["__scopeId","data-v-c50590a6"]])}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/5658.e566414c.js b/core/public/dist/static/js/async/5658.e566414c.jsnew file mode 100644index 00000000..fbc6176e--- /dev/null+++ b/core/public/dist/static/js/async/5658.e566414c.js@@ -0,0 +1,159 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["5658"],{27062:function(e,t,r){r.d(t,{Z:()=>a});var o=r(58786),n=r(82518),i=r(86223);function a(e={},t){let r=(0,o.qj)({ctrl:!1,command:!1,win:!1,shift:!1,tab:!1}),{keydown:l,keyup:c}=e,s=e=>{switch(e.key){case"Control":r.ctrl=!0;break;case"Meta":r.command=!0,r.win=!0;break;case"Shift":r.shift=!0;break;case"Tab":r.tab=!0}void 0!==l&&Object.keys(l).forEach(t=>{if(t!==e.key)return;let r=l[t];if("function"==typeof r)r(e);else{let{stop:t=!1,prevent:o=!1}=r;t&&e.stopPropagation(),o&&e.preventDefault(),r.handler(e)}})},d=e=>{switch(e.key){case"Control":r.ctrl=!1;break;case"Meta":r.command=!1,r.win=!1;break;case"Shift":r.shift=!1;break;case"Tab":r.tab=!1}void 0!==c&&Object.keys(c).forEach(t=>{if(t!==e.key)return;let r=c[t];if("function"==typeof r)r(e);else{let{stop:t=!1,prevent:o=!1}=r;t&&e.stopPropagation(),o&&e.preventDefault(),r.handler(e)}})},u=()=>{(void 0===t||t.value)&&((0,n.on)("keydown",document,s),(0,n.on)("keyup",document,d)),void 0!==t&&(0,o.YP)(t,e=>{e?((0,n.on)("keydown",document,s),(0,n.on)("keyup",document,d)):((0,n.S)("keydown",document,s),(0,n.S)("keyup",document,d))})};return(0,i.N)()?((0,o.wF)(u),(0,o.Jd)(()=>{(void 0===t||t.value)&&((0,n.S)("keydown",document,s),(0,n.S)("keyup",document,d))})):u(),(0,o.OT)(r)}},46471:function(e,t,r){r.d(t,{Z:()=>h});var o=r(32510),n=r(91792),i=r(75266),a=r(3073),l=r(67737),c=r(4339),s=r(98168),d=r(77407),u=Object.prototype.hasOwnProperty;let h=function(e){if(null==e)return!0;if((0,l.Z)(e)&&((0,a.Z)(e)||"string"==typeof e||"function"==typeof e.splice||(0,c.Z)(e)||(0,d.Z)(e)||(0,i.Z)(e)))return!e.length;var t=(0,n.Z)(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if((0,s.Z)(e))return!(0,o.Z)(e).length;for(var r in e)if(u.call(e,r))return!1;return!0}},66236:function(e,t,r){r.d(t,{W3:()=>u,ZP:()=>v});var o=r(58786),n=r(56946),i=r(54470),a=r(53198),l=r(19050),c=r(55456),s=r(71309);let d=(0,s.cB)("breadcrumb",`+ white-space: nowrap;+ cursor: default;+ line-height: var(--n-item-line-height);+`,[(0,s.c)("ul",`+ list-style: none;+ padding: 0;+ margin: 0;+ `),(0,s.c)("a",`+ color: inherit;+ text-decoration: inherit;+ `),(0,s.cB)("breadcrumb-item",`+ font-size: var(--n-font-size);+ transition: color .3s var(--n-bezier);+ display: inline-flex;+ align-items: center;+ `,[(0,s.cB)("icon",`+ font-size: 18px;+ vertical-align: -.2em;+ transition: color .3s var(--n-bezier);+ color: var(--n-item-text-color);+ `),(0,s.c)("&:not(:last-child)",[(0,s.cM)("clickable",[(0,s.cE)("link",`+ cursor: pointer;+ `,[(0,s.c)("&:hover",`+ background-color: var(--n-item-color-hover);+ `),(0,s.c)("&:active",`+ background-color: var(--n-item-color-pressed);+ `)])])]),(0,s.cE)("link",`+ padding: 4px;+ border-radius: var(--n-item-border-radius);+ transition:+ background-color .3s var(--n-bezier),+ color .3s var(--n-bezier);+ color: var(--n-item-text-color);+ position: relative;+ `,[(0,s.c)("&:hover",`+ color: var(--n-item-text-color-hover);+ `,[(0,s.cB)("icon",`+ color: var(--n-item-text-color-hover);+ `)]),(0,s.c)("&:active",`+ color: var(--n-item-text-color-pressed);+ `,[(0,s.cB)("icon",`+ color: var(--n-item-text-color-pressed);+ `)])]),(0,s.cE)("separator",`+ margin: 0 8px;+ color: var(--n-separator-color);+ transition: color .3s var(--n-bezier);+ user-select: none;+ -webkit-user-select: none;+ `),(0,s.c)("&:last-child",[(0,s.cE)("link",`+ font-weight: var(--n-font-weight-active);+ cursor: unset;+ color: var(--n-item-text-color-active);+ `,[(0,s.cB)("icon",`+ color: var(--n-item-text-color-active);+ `)]),(0,s.cE)("separator",`+ display: none;+ `)])])]),u=(0,l.U)("n-breadcrumb"),h=Object.assign(Object.assign({},n.Z.props),{separator:{type:String,default:"/"}}),v=(0,o.aZ)({name:"Breadcrumb",props:h,setup(e){let{mergedClsPrefixRef:t,inlineThemeDisabled:r}=(0,i.ZP)(e),l=(0,n.Z)("Breadcrumb","-breadcrumb",d,c.Z,e,t);(0,o.JJ)(u,{separatorRef:(0,o.Vh)(e,"separator"),mergedClsPrefixRef:t});let s=(0,o.Fl)(()=>{let{common:{cubicBezierEaseInOut:e},self:{separatorColor:t,itemTextColor:r,itemTextColorHover:o,itemTextColorPressed:n,itemTextColorActive:i,fontSize:a,fontWeightActive:c,itemBorderRadius:s,itemColorHover:d,itemColorPressed:u,itemLineHeight:h}}=l.value;return{"--n-font-size":a,"--n-bezier":e,"--n-item-text-color":r,"--n-item-text-color-hover":o,"--n-item-text-color-pressed":n,"--n-item-text-color-active":i,"--n-separator-color":t,"--n-item-color-hover":d,"--n-item-color-pressed":u,"--n-item-border-radius":s,"--n-font-weight-active":c,"--n-item-line-height":h}}),h=r?(0,a.F)("breadcrumb",void 0,s,e):void 0;return{mergedClsPrefix:t,cssVars:r?void 0:s,themeClass:null==h?void 0:h.themeClass,onRender:null==h?void 0:h.onRender}},render(){var e;return null==(e=this.onRender)||e.call(this),(0,o.h)("nav",{class:[`${this.mergedClsPrefix}-breadcrumb`,this.themeClass],style:this.cssVars,"aria-label":"Breadcrumb"},(0,o.h)("ul",null,this.$slots))}})},70958:function(e,t,r){r.d(t,{Z:()=>l});var o=r(58786),n=r(93950),i=r(68574),a=r(66236);let l=(0,o.aZ)({name:"BreadcrumbItem",props:{separator:String,href:String,clickable:{type:Boolean,default:!0},onClick:Function},slots:Object,setup(e,{slots:t}){let r=(0,o.f3)(a.W3,null);if(!r)return()=>null;let{separatorRef:l,mergedClsPrefixRef:c}=r,s=function(e=i.j?window:null){let t=()=>{let{hash:t,host:r,hostname:o,href:n,origin:i,pathname:a,port:l,protocol:c,search:s}=(null==e?void 0:e.location)||{};return{hash:t,host:r,hostname:o,href:n,origin:i,pathname:a,port:l,protocol:c,search:s}},r=(0,o.iH)(t()),n=()=>{r.value=t()};return(0,o.bv)(()=>{e&&(e.addEventListener("popstate",n),e.addEventListener("hashchange",n))}),(0,o.SK)(()=>{e&&(e.removeEventListener("popstate",n),e.removeEventListener("hashchange",n))}),r}(),d=(0,o.Fl)(()=>e.href?"a":"span"),u=(0,o.Fl)(()=>s.value.href===e.href?"location":null);return()=>{let{value:r}=c;return(0,o.h)("li",{class:[`${r}-breadcrumb-item`,e.clickable&&`${r}-breadcrumb-item--clickable`]},(0,o.h)(d.value,{class:`${r}-breadcrumb-item__link`,"aria-current":u.value,href:e.href,onClick:e.onClick},t),(0,o.h)("span",{class:`${r}-breadcrumb-item__separator`,"aria-hidden":"true"},(0,n.gI)(t.separator,()=>{var t;return[null!=(t=e.separator)?t:l.value]})))}}})},29875:function(e,t,r){let o;r.d(t,{Z:()=>B});var n=r(65083),i=r(20013),a=r(58786),l=r(76128),c=r(62594),s=r(56946),d=r(54470),u=r(32196),h=r(53198),v=r(44267),b=r(71309),p=r(93950),f=r(19595),m=r(9798),g=r(30951);let w={name:"Switch",common:m.Z,self:function(e){let{primaryColor:t,opacityDisabled:r,borderRadius:o,textColor3:n}=e;return Object.assign(Object.assign({},g.Z),{iconColor:n,textColor:"white",loadingColor:t,opacityDisabled:r,railColor:"rgba(0, 0, 0, .14)",railColorActive:t,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 0 2px ${(0,f.zX)(t,{alpha:.2})}`})}};var k=r(28632);let y=(0,b.cB)("switch",`+ height: var(--n-height);+ min-width: var(--n-width);+ vertical-align: middle;+ user-select: none;+ -webkit-user-select: none;+ display: inline-flex;+ outline: none;+ justify-content: center;+ align-items: center;+`,[(0,b.cE)("children-placeholder",`+ height: var(--n-rail-height);+ display: flex;+ flex-direction: column;+ overflow: hidden;+ pointer-events: none;+ visibility: hidden;+ `),(0,b.cE)("rail-placeholder",`+ display: flex;+ flex-wrap: none;+ `),(0,b.cE)("button-placeholder",`+ width: calc(1.75 * var(--n-rail-height));+ height: var(--n-rail-height);+ `),(0,b.cB)("base-loading",`+ position: absolute;+ top: 50%;+ left: 50%;+ transform: translateX(-50%) translateY(-50%);+ font-size: calc(var(--n-button-width) - 4px);+ color: var(--n-loading-color);+ transition: color .3s var(--n-bezier);+ `,[(0,k.c)({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),(0,b.cE)("checked, unchecked",`+ transition: color .3s var(--n-bezier);+ color: var(--n-text-color);+ box-sizing: border-box;+ position: absolute;+ white-space: nowrap;+ top: 0;+ bottom: 0;+ display: flex;+ align-items: center;+ line-height: 1;+ `),(0,b.cE)("checked",`+ right: 0;+ padding-right: calc(1.25 * var(--n-rail-height) - var(--n-offset));+ `),(0,b.cE)("unchecked",`+ left: 0;+ justify-content: flex-end;+ padding-left: calc(1.25 * var(--n-rail-height) - var(--n-offset));+ `),(0,b.c)("&:focus",[(0,b.cE)("rail",`+ box-shadow: var(--n-box-shadow-focus);+ `)]),(0,b.cM)("round",[(0,b.cE)("rail","border-radius: calc(var(--n-rail-height) / 2);",[(0,b.cE)("button","border-radius: calc(var(--n-button-height) / 2);")])]),(0,b.u4)("disabled",[(0,b.u4)("icon",[(0,b.cM)("rubber-band",[(0,b.cM)("pressed",[(0,b.cE)("rail",[(0,b.cE)("button","max-width: var(--n-button-width-pressed);")])]),(0,b.cE)("rail",[(0,b.c)("&:active",[(0,b.cE)("button","max-width: var(--n-button-width-pressed);")])]),(0,b.cM)("active",[(0,b.cM)("pressed",[(0,b.cE)("rail",[(0,b.cE)("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),(0,b.cE)("rail",[(0,b.c)("&:active",[(0,b.cE)("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),(0,b.cM)("active",[(0,b.cE)("rail",[(0,b.cE)("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),(0,b.cE)("rail",`+ overflow: hidden;+ height: var(--n-rail-height);+ min-width: var(--n-rail-width);+ border-radius: var(--n-rail-border-radius);+ cursor: pointer;+ position: relative;+ transition:+ opacity .3s var(--n-bezier),+ background .3s var(--n-bezier),+ box-shadow .3s var(--n-bezier);+ background-color: var(--n-rail-color);+ `,[(0,b.cE)("button-icon",`+ color: var(--n-icon-color);+ transition: color .3s var(--n-bezier);+ font-size: calc(var(--n-button-height) - 4px);+ position: absolute;+ left: 0;+ right: 0;+ top: 0;+ bottom: 0;+ display: flex;+ justify-content: center;+ align-items: center;+ line-height: 1;+ `,[(0,k.c)()]),(0,b.cE)("button",`+ align-items: center;+ top: var(--n-offset);+ left: var(--n-offset);+ height: var(--n-button-height);+ width: var(--n-button-width-pressed);+ max-width: var(--n-button-width);+ border-radius: var(--n-button-border-radius);+ background-color: var(--n-button-color);+ box-shadow: var(--n-button-box-shadow);+ box-sizing: border-box;+ cursor: inherit;+ content: "";+ position: absolute;+ transition:+ background-color .3s var(--n-bezier),+ left .3s var(--n-bezier),+ opacity .3s var(--n-bezier),+ max-width .3s var(--n-bezier),+ box-shadow .3s var(--n-bezier);+ `)]),(0,b.cM)("active",[(0,b.cE)("rail","background-color: var(--n-rail-color-active);")]),(0,b.cM)("loading",[(0,b.cE)("rail",`+ cursor: wait;+ `)]),(0,b.cM)("disabled",[(0,b.cE)("rail",`+ cursor: not-allowed;+ opacity: .5;+ `)])]),x=Object.assign(Object.assign({},s.Z.props),{size:{type:String,default:"medium"},value:{type:[String,Number,Boolean],default:void 0},loading:Boolean,defaultValue:{type:[String,Number,Boolean],default:!1},disabled:{type:Boolean,default:void 0},round:{type:Boolean,default:!0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},railStyle:Function,rubberBand:{type:Boolean,default:!0},onChange:[Function,Array]}),B=(0,a.aZ)({name:"Switch",props:x,slots:Object,setup(e){void 0===o&&(o="undefined"==typeof CSS||void 0!==CSS.supports&&CSS.supports("width","max(1px)"));let{mergedClsPrefixRef:t,inlineThemeDisabled:r}=(0,d.ZP)(e),l=(0,s.Z)("Switch","-switch",y,w,e,t),c=(0,u.Z)(e),{mergedSizeRef:p,mergedDisabledRef:f}=c,m=(0,a.iH)(e.defaultValue),g=(0,a.Vh)(e,"value"),k=(0,i.Z)(g,m),x=(0,a.Fl)(()=>k.value===e.checkedValue),B=(0,a.iH)(!1),E=(0,a.iH)(!1),Z=(0,a.Fl)(()=>{let{railStyle:t}=e;if(t)return t({focused:E.value,checked:x.value})});function $(t){let{"onUpdate:value":r,onChange:o,onUpdateValue:n}=e,{nTriggerFormInput:i,nTriggerFormChange:a}=c;r&&(0,v.R)(r,t),n&&(0,v.R)(n,t),o&&(0,v.R)(o,t),m.value=t,i(),a()}let S=(0,a.Fl)(()=>{let e,t,r,{value:i}=p,{self:{opacityDisabled:a,railColor:c,railColorActive:s,buttonBoxShadow:d,buttonColor:u,boxShadowFocus:h,loadingColor:v,textColor:f,iconColor:m,[(0,b.Tl)("buttonHeight",i)]:g,[(0,b.Tl)("buttonWidth",i)]:w,[(0,b.Tl)("buttonWidthPressed",i)]:k,[(0,b.Tl)("railHeight",i)]:y,[(0,b.Tl)("railWidth",i)]:x,[(0,b.Tl)("railBorderRadius",i)]:B,[(0,b.Tl)("buttonBorderRadius",i)]:E},common:{cubicBezierEaseInOut:Z}}=l.value;return o?(e=`calc((${y} - ${g}) / 2)`,t=`max(${y}, ${g})`,r=`max(${x}, calc(${x} + ${g} - ${y}))`):(e=(0,n.BL)(((0,n.fQ)(y)-(0,n.fQ)(g))/2),t=(0,n.BL)(Math.max((0,n.fQ)(y),(0,n.fQ)(g))),r=(0,n.fQ)(y)>(0,n.fQ)(g)?x:(0,n.BL)((0,n.fQ)(x)+(0,n.fQ)(g)-(0,n.fQ)(y))),{"--n-bezier":Z,"--n-button-border-radius":E,"--n-button-box-shadow":d,"--n-button-color":u,"--n-button-width":w,"--n-button-width-pressed":k,"--n-button-height":g,"--n-height":t,"--n-offset":e,"--n-opacity-disabled":a,"--n-rail-border-radius":B,"--n-rail-color":c,"--n-rail-color-active":s,"--n-rail-height":y,"--n-rail-width":x,"--n-width":r,"--n-box-shadow-focus":h,"--n-loading-color":v,"--n-text-color":f,"--n-icon-color":m}}),C=r?(0,h.F)("switch",(0,a.Fl)(()=>p.value[0]),S,e):void 0;return{handleClick:function(){e.loading||f.value||(k.value!==e.checkedValue?$(e.checkedValue):$(e.uncheckedValue))},handleBlur:function(){E.value=!1;let{nTriggerFormBlur:e}=c;e(),B.value=!1},handleFocus:function(){E.value=!0;let{nTriggerFormFocus:e}=c;e()},handleKeyup:function(t){e.loading||f.value||" "===t.key&&(k.value!==e.checkedValue?$(e.checkedValue):$(e.uncheckedValue),B.value=!1)},handleKeydown:function(t){e.loading||f.value||" "===t.key&&(t.preventDefault(),B.value=!0)},mergedRailStyle:Z,pressed:B,mergedClsPrefix:t,mergedValue:k,checked:x,mergedDisabled:f,cssVars:r?void 0:S,themeClass:null==C?void 0:C.themeClass,onRender:null==C?void 0:C.onRender}},render(){let{mergedClsPrefix:e,mergedDisabled:t,checked:r,mergedRailStyle:o,onRender:n,$slots:i}=this;null==n||n();let{checked:s,unchecked:d,icon:u,"checked-icon":h,"unchecked-icon":v}=i,b=!((0,p.aD)(u)&&(0,p.aD)(h)&&(0,p.aD)(v));return(0,a.h)("div",{role:"switch","aria-checked":r,class:[`${e}-switch`,this.themeClass,b&&`${e}-switch--icon`,r&&`${e}-switch--active`,t&&`${e}-switch--disabled`,this.round&&`${e}-switch--round`,this.loading&&`${e}-switch--loading`,this.pressed&&`${e}-switch--pressed`,this.rubberBand&&`${e}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},(0,a.h)("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:o},(0,p.K9)(s,t=>(0,p.K9)(d,r=>t||r?(0,a.h)("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},(0,a.h)("div",{class:`${e}-switch__rail-placeholder`},(0,a.h)("div",{class:`${e}-switch__button-placeholder`}),t),(0,a.h)("div",{class:`${e}-switch__rail-placeholder`},(0,a.h)("div",{class:`${e}-switch__button-placeholder`}),r)):null)),(0,a.h)("div",{class:`${e}-switch__button`},(0,p.K9)(u,t=>(0,p.K9)(h,r=>(0,p.K9)(v,o=>(0,a.h)(l.Z,null,{default:()=>this.loading?(0,a.h)(c.Z,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(r||t)?(0,a.h)("div",{class:`${e}-switch__button-icon`,key:r?"checked-icon":"icon"},r||t):!this.checked&&(o||t)?(0,a.h)("div",{class:`${e}-switch__button-icon`,key:o?"unchecked-icon":"icon"},o||t):null})))),(0,p.K9)(s,t=>t&&(0,a.h)("div",{key:"checked",class:`${e}-switch__checked`},t)),(0,p.K9)(d,t=>t&&(0,a.h)("div",{key:"unchecked",class:`${e}-switch__unchecked`},t)))))}})},50144:function(e,t,r){r.d(t,{Z:()=>s});var o=r(58786),n=r(56946),i=r(54470),a=r(49942),l=r(44108);let c=Object.assign(Object.assign({},a.Kd),n.Z.props),s=(0,o.aZ)({name:"Tooltip",props:c,slots:Object,__popover__:!0,setup(e){let{mergedClsPrefixRef:t}=(0,i.ZP)(e),r=(0,n.Z)("Tooltip","-tooltip",void 0,l.Z,e,t),a=(0,o.iH)(null);return Object.assign(Object.assign({},{syncPosition(){a.value.syncPosition()},setShow(e){a.value.setShow(e)}}),{popoverRef:a,mergedTheme:r,popoverThemeOverrides:(0,o.Fl)(()=>r.value.self)})},render(){let{mergedTheme:e,internalExtraClass:t}=this;return(0,o.h)(a.ZP,Object.assign(Object.assign({},this.$props),{theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:t.concat("tooltip"),ref:"popoverRef"}),this.$slots)}})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/5701.0a022844.js b/core/public/dist/static/js/async/5701.0a022844.jsnew file mode 100644index 00000000..39d1e30b--- /dev/null+++ b/core/public/dist/static/js/async/5701.0a022844.js@@ -0,0 +1,488 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["5701"],{60424:function(e,t,r){r.d(t,{Z:()=>eZ});var l=r(17102),a=r(58786),n=r(62594),o=r(54470),i=r(51048),d=r(56946),s=r(3616),u=r(53198),c=r(60309),h=r(71309),p=r(93950),v=r(75459),m=r(29176),f=r(19050);let g=Object.assign(Object.assign({},d.Z.props),{onUnstableColumnResize:Function,pagination:{type:[Object,Boolean],default:!1},paginateSinglePage:{type:Boolean,default:!0},minHeight:[Number,String],maxHeight:[Number,String],columns:{type:Array,default:()=>[]},rowClassName:[String,Function],rowProps:Function,rowKey:Function,summary:[Function],data:{type:Array,default:()=>[]},loading:Boolean,bordered:{type:Boolean,default:void 0},bottomBordered:{type:Boolean,default:void 0},striped:Boolean,scrollX:[Number,String],defaultCheckedRowKeys:{type:Array,default:()=>[]},checkedRowKeys:Array,singleLine:{type:Boolean,default:!0},singleColumn:Boolean,size:{type:String,default:"medium"},remote:Boolean,defaultExpandedRowKeys:{type:Array,default:[]},defaultExpandAll:Boolean,expandedRowKeys:Array,stickyExpandedRows:Boolean,virtualScroll:Boolean,virtualScrollX:Boolean,virtualScrollHeader:Boolean,headerHeight:{type:Number,default:28},heightForRow:Function,minRowHeight:{type:Number,default:28},tableLayout:{type:String,default:"auto"},allowCheckingNotLoaded:Boolean,cascade:{type:Boolean,default:!0},childrenKey:{type:String,default:"children"},indent:{type:Number,default:16},flexHeight:Boolean,summaryPlacement:{type:String,default:"bottom"},paginationBehaviorOnFilter:{type:String,default:"current"},filterIconPopoverProps:Object,scrollbarProps:Object,renderCell:Function,renderExpandIcon:Function,spinProps:{type:Object,default:{}},getCsvCell:Function,getCsvHeader:Function,onLoad:Function,"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],"onUpdate:sorter":[Function,Array],onUpdateSorter:[Function,Array],"onUpdate:filters":[Function,Array],onUpdateFilters:[Function,Array],"onUpdate:checkedRowKeys":[Function,Array],onUpdateCheckedRowKeys:[Function,Array],"onUpdate:expandedRowKeys":[Function,Array],onUpdateExpandedRowKeys:[Function,Array],onScroll:Function,onPageChange:[Function,Array],onPageSizeChange:[Function,Array],onSorterChange:[Function,Array],onFiltersChange:[Function,Array],onCheckedRowKeysChange:[Function,Array]}),b=(0,f.U)("n-data-table");var y=r(89620),w=r(65083),x=r(61691),k=r(51210),F=r(70020),C=r(97756),B=r(83548),S=r(14501),R=r(39741),z=r(81021);function M(e){return"selection"===e.type||"expand"===e.type?void 0===e.width?40:(0,w.fQ)(e.width):"children"in e?void 0:"string"==typeof e.width?(0,w.fQ)(e.width):e.width}function P(e){return"selection"===e.type?"__n_selection__":"expand"===e.type?"__n_expand__":e.key}function $(e){return e&&"object"==typeof e?Object.assign({},e):e}function O(e){return void 0!==e.filterOptionValues||void 0===e.filterOptionValue&&void 0!==e.defaultFilterOptionValues}function Z(e){return!("children"in e)&&!!e.sorter}function T(e){return(!("children"in e)||!e.children.length)&&!!e.resizable}function N(e){return!("children"in e)&&!!e.filter&&(!!e.filterOptions||!!e.renderFilterMenu)}function H(e){return e?"descend"===e&&"ascend":"descend"}function E(e,t){return void 0!==t.find(t=>t.columnKey===e.key&&t.order)}var L=r(23685);let A=(0,a.aZ)({name:"DataTableBodyCheckbox",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){let{mergedCheckedRowKeySetRef:t,mergedInderminateRowKeySetRef:r}=(0,a.f3)(b);return()=>{let{rowKey:l}=e;return(0,a.h)(L.Z,{privateInsideTable:!0,disabled:e.disabled,indeterminate:r.value.has(l),checked:t.value.has(l),onUpdateChecked:e.onUpdateChecked})}}});var j=r(2352);let I=(0,a.aZ)({name:"DataTableBodyRadio",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){let{mergedCheckedRowKeySetRef:t,componentId:r}=(0,a.f3)(b);return()=>{let{rowKey:l}=e;return(0,a.h)(j.Z,{name:r,disabled:e.disabled,checked:t.value.has(l),onUpdateChecked:e.onUpdateChecked})}}});var V=r(94904),U=r(35409),K=r(27046),_=r(64170);let D=(0,a.aZ)({name:"PerformantEllipsis",props:U.uv,inheritAttrs:!1,setup(e,{attrs:t,slots:r}){let l=(0,a.iH)(!1),n=(0,o.hJ)();return(0,K.Z)("-ellipsis",_.Z,n),{mouseEntered:l,renderTrigger:()=>{let{lineClamp:o}=e,i=n.value;return(0,a.h)("span",Object.assign({},(0,a.dG)(t,{class:[`${i}-ellipsis`,void 0!==o?(0,U.HX)(i):void 0,"click"===e.expandTrigger?(0,U.Ox)(i,"pointer"):void 0],style:void 0===o?{textOverflow:"ellipsis"}:{"-webkit-line-clamp":o}}),{onMouseenter:()=>{l.value=!0}}),o?r:(0,a.h)("span",null,r))}}},render(){return this.mouseEntered?(0,a.h)(U.ZP,(0,a.dG)({},this.$attrs,this.$props),this.$slots):this.renderTrigger()}}),q=(0,a.aZ)({name:"DataTableCell",props:{clsPrefix:{type:String,required:!0},row:{type:Object,required:!0},index:{type:Number,required:!0},column:{type:Object,required:!0},isSummary:Boolean,mergedTheme:{type:Object,required:!0},renderCell:Function},render(){var e;let t,{isSummary:r,column:l,row:n,renderCell:o}=this,{render:i,key:d,ellipsis:s}=l;if(t=i&&!r?i(n,this.index):r?null==(e=n[d])?void 0:e.value:o?o((0,V.Z)(n,d),n,l):(0,V.Z)(n,d),s)if("object"!=typeof s)return(0,a.h)("span",{class:`${this.clsPrefix}-data-table-td__ellipsis`},t);else{let{mergedTheme:e}=this;return"performant-ellipsis"===l.ellipsisComponent?(0,a.h)(D,Object.assign({},s,{theme:e.peers.Ellipsis,themeOverrides:e.peerOverrides.Ellipsis}),{default:()=>t}):(0,a.h)(U.ZP,Object.assign({},s,{theme:e.peers.Ellipsis,themeOverrides:e.peerOverrides.Ellipsis}),{default:()=>t})}return t}});var W=r(76128),X=r(96823),J=r(17351);let Y=(0,a.aZ)({name:"DataTableExpandTrigger",props:{clsPrefix:{type:String,required:!0},expanded:Boolean,loading:Boolean,onClick:{type:Function,required:!0},renderExpandIcon:{type:Function},rowData:{type:Object,required:!0}},render(){let{clsPrefix:e}=this;return(0,a.h)("div",{class:[`${e}-data-table-expand-trigger`,this.expanded&&`${e}-data-table-expand-trigger--expanded`],onClick:this.onClick,onMousedown:e=>{e.preventDefault()}},(0,a.h)(W.Z,null,{default:()=>this.loading?(0,a.h)(n.Z,{key:"loading",clsPrefix:this.clsPrefix,radius:85,strokeWidth:15,scale:.88}):this.renderExpandIcon?this.renderExpandIcon({expanded:this.expanded,rowData:this.rowData}):(0,a.h)(X.Z,{clsPrefix:e,key:"base-icon"},{default:()=>(0,a.h)(J.Z,null)})}))}});var G=r(85259);let Q=(0,a.aZ)({name:"Filter",render:()=>(0,a.h)("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},(0,a.h)("g",{"fill-rule":"nonzero"},(0,a.h)("path",{d:"M17,19 C17.5522847,19 18,19.4477153 18,20 C18,20.5522847 17.5522847,21 17,21 L11,21 C10.4477153,21 10,20.5522847 10,20 C10,19.4477153 10.4477153,19 11,19 L17,19 Z M21,13 C21.5522847,13 22,13.4477153 22,14 C22,14.5522847 21.5522847,15 21,15 L7,15 C6.44771525,15 6,14.5522847 6,14 C6,13.4477153 6.44771525,13 7,13 L21,13 Z M24,7 C24.5522847,7 25,7.44771525 25,8 C25,8.55228475 24.5522847,9 24,9 L4,9 C3.44771525,9 3,8.55228475 3,8 C3,7.44771525 3.44771525,7 4,7 L24,7 Z"}))))});var ee=r(49942),et=r(15496),er=r(90686),el=r(16715);let ea=(0,a.aZ)({name:"DataTableFilterMenu",props:{column:{type:Object,required:!0},radioGroupName:{type:String,required:!0},multiple:{type:Boolean,required:!0},value:{type:[Array,String,Number],default:null},options:{type:Array,required:!0},onConfirm:{type:Function,required:!0},onClear:{type:Function,required:!0},onChange:{type:Function,required:!0}},setup(e){let{mergedClsPrefixRef:t,mergedRtlRef:r}=(0,o.ZP)(e),l=(0,i.V)("DataTable",r,t),{mergedClsPrefixRef:n,mergedThemeRef:d,localeRef:s}=(0,a.f3)(b),u=(0,a.iH)(e.value),c=(0,a.Fl)(()=>{let{value:e}=u;return Array.isArray(e)?e:null});function h(t){e.onChange(t)}return{mergedClsPrefix:n,rtlEnabled:l,mergedTheme:d,locale:s,checkboxGroupValue:c,radioGroupValue:(0,a.Fl)(()=>{let{value:t}=u;return O(e.column)?Array.isArray(t)&&t.length&&t[0]||null:Array.isArray(t)?null:t}),handleChange:function(t){e.multiple&&Array.isArray(t)?u.value=t:O(e.column)&&!Array.isArray(t)?u.value=[t]:u.value=t},handleConfirmClick:function(){h(u.value),e.onConfirm()},handleClearClick:function(){e.multiple||O(e.column)?h([]):h(null),e.onClear()}}},render(){let{mergedTheme:e,locale:t,mergedClsPrefix:r}=this;return(0,a.h)("div",{class:[`${r}-data-table-filter-menu`,this.rtlEnabled&&`${r}-data-table-filter-menu--rtl`]},(0,a.h)(C.Z,null,{default:()=>{let{checkboxGroupValue:t,handleChange:l}=this;return this.multiple?(0,a.h)(er.ZP,{value:t,class:`${r}-data-table-filter-menu__group`,onUpdateValue:l},{default:()=>this.options.map(t=>(0,a.h)(L.Z,{key:t.value,theme:e.peers.Checkbox,themeOverrides:e.peerOverrides.Checkbox,value:t.value},{default:()=>t.label}))}):(0,a.h)(el.Z,{name:this.radioGroupName,class:`${r}-data-table-filter-menu__group`,value:this.radioGroupValue,onUpdateValue:this.handleChange},{default:()=>this.options.map(t=>(0,a.h)(j.Z,{key:t.value,value:t.value,theme:e.peers.Radio,themeOverrides:e.peerOverrides.Radio},{default:()=>t.label}))})}}),(0,a.h)("div",{class:`${r}-data-table-filter-menu__action`},(0,a.h)(et.ZP,{size:"tiny",theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,onClick:this.handleClearClick},{default:()=>t.clear}),(0,a.h)(et.ZP,{theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,type:"primary",size:"tiny",onClick:this.handleConfirmClick},{default:()=>t.confirm})))}}),en=(0,a.aZ)({name:"DataTableRenderFilter",props:{render:{type:Function,required:!0},active:{type:Boolean,default:!1},show:{type:Boolean,default:!1}},render(){let{render:e,active:t,show:r}=this;return e({active:t,show:r})}}),eo=(0,a.aZ)({name:"DataTableFilterButton",props:{column:{type:Object,required:!0},options:{type:Array,default:()=>[]}},setup(e){let{mergedComponentPropsRef:t}=(0,o.ZP)(),{mergedThemeRef:r,mergedClsPrefixRef:l,mergedFilterStateRef:n,filterMenuCssVarsRef:i,paginationBehaviorOnFilterRef:d,doUpdatePage:s,doUpdateFilters:u,filterIconPopoverPropsRef:c}=(0,a.f3)(b),h=(0,a.iH)(!1),p=(0,a.Fl)(()=>!1!==e.column.filterMultiple),v=(0,a.Fl)(()=>{let t=n.value[e.column.key];if(void 0===t){let{value:e}=p;return e?[]:null}return t}),m=(0,a.Fl)(()=>{let{value:e}=v;return Array.isArray(e)?e.length>0:null!==e});return{mergedTheme:r,mergedClsPrefix:l,active:m,showPopover:h,mergedRenderFilter:(0,a.Fl)(()=>{var r,l;return(null==(l=null==(r=null==t?void 0:t.value)?void 0:r.DataTable)?void 0:l.renderFilter)||e.column.renderFilter}),filterIconPopoverProps:c,filterMultiple:p,mergedFilterValue:v,filterMenuCssVars:i,handleFilterChange:function(t){u(function(e,t,r){let l=Object.assign({},e);return l[t]=r,l}(n.value,e.column.key,t),e.column),"first"===d.value&&s(1)},handleFilterMenuConfirm:function(){h.value=!1},handleFilterMenuCancel:function(){h.value=!1}}},render(){let{mergedTheme:e,mergedClsPrefix:t,handleFilterMenuCancel:r,filterIconPopoverProps:l}=this;return(0,a.h)(ee.ZP,Object.assign({show:this.showPopover,onUpdateShow:e=>this.showPopover=e,trigger:"click",theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,placement:"bottom"},l,{style:{padding:0}}),{trigger:()=>{let{mergedRenderFilter:e}=this;if(e)return(0,a.h)(en,{"data-data-table-filter":!0,render:e,active:this.active,show:this.showPopover});let{renderFilterIcon:r}=this.column;return(0,a.h)("div",{"data-data-table-filter":!0,class:[`${t}-data-table-filter`,{[`${t}-data-table-filter--active`]:this.active,[`${t}-data-table-filter--show`]:this.showPopover}]},r?r({active:this.active,show:this.showPopover}):(0,a.h)(X.Z,{clsPrefix:t},{default:()=>(0,a.h)(Q,null)}))},default:()=>{let{renderFilterMenu:e}=this.column;return e?e({hide:r}):(0,a.h)(ea,{style:this.filterMenuCssVars,radioGroupName:String(this.column.key),multiple:this.filterMultiple,value:this.mergedFilterValue,options:this.options,column:this.column,onChange:this.handleFilterChange,onClear:this.handleFilterMenuCancel,onConfirm:this.handleFilterMenuConfirm})}})}});var ei=r(82518);let ed=(0,a.aZ)({name:"ColumnResizeButton",props:{onResizeStart:Function,onResize:Function,onResizeEnd:Function},setup(e){let{mergedClsPrefixRef:t}=(0,a.f3)(b),r=(0,a.iH)(!1),l=0;function n(t){var r;null==(r=e.onResize)||r.call(e,t.clientX-l)}function o(){var t;r.value=!1,null==(t=e.onResizeEnd)||t.call(e),(0,ei.S)("mousemove",window,n),(0,ei.S)("mouseup",window,o)}return(0,a.Jd)(()=>{(0,ei.S)("mousemove",window,n),(0,ei.S)("mouseup",window,o)}),{mergedClsPrefix:t,active:r,handleMousedown:function(t){var a;t.preventDefault();let i=r.value;l=t.clientX,r.value=!0,i||((0,ei.on)("mousemove",window,n),(0,ei.on)("mouseup",window,o),null==(a=e.onResizeStart)||a.call(e))}}},render(){let{mergedClsPrefix:e}=this;return(0,a.h)("span",{"data-data-table-resizable":!0,class:[`${e}-data-table-resize-button`,this.active&&`${e}-data-table-resize-button--active`],onMousedown:this.handleMousedown})}}),es=(0,a.aZ)({name:"ArrowDown",render:()=>(0,a.h)("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},(0,a.h)("g",{"fill-rule":"nonzero"},(0,a.h)("path",{d:"M23.7916,15.2664 C24.0788,14.9679 24.0696,14.4931 23.7711,14.206 C23.4726,13.9188 22.9978,13.928 22.7106,14.2265 L14.7511,22.5007 L14.7511,3.74792 C14.7511,3.33371 14.4153,2.99792 14.0011,2.99792 C13.5869,2.99792 13.2511,3.33371 13.2511,3.74793 L13.2511,22.4998 L5.29259,14.2265 C5.00543,13.928 4.53064,13.9188 4.23213,14.206 C3.93361,14.4931 3.9244,14.9679 4.21157,15.2664 L13.2809,24.6944 C13.6743,25.1034 14.3289,25.1034 14.7223,24.6944 L23.7916,15.2664 Z"}))))}),eu=(0,a.aZ)({name:"DataTableRenderSorter",props:{render:{type:Function,required:!0},order:{type:[String,Boolean],default:!1}},render(){let{render:e,order:t}=this;return e({order:t})}}),ec=(0,a.aZ)({name:"SortIcon",props:{column:{type:Object,required:!0}},setup(e){let{mergedComponentPropsRef:t}=(0,o.ZP)(),{mergedSortStateRef:r,mergedClsPrefixRef:l}=(0,a.f3)(b),n=(0,a.Fl)(()=>r.value.find(t=>t.columnKey===e.column.key)),i=(0,a.Fl)(()=>void 0!==n.value),d=(0,a.Fl)(()=>{let{value:e}=n;return!!e&&!!i.value&&e.order});return{mergedClsPrefix:l,active:i,mergedSortOrder:d,mergedRenderSorter:(0,a.Fl)(()=>{var r,l;return(null==(l=null==(r=null==t?void 0:t.value)?void 0:r.DataTable)?void 0:l.renderSorter)||e.column.renderSorter})}},render(){let{mergedRenderSorter:e,mergedSortOrder:t,mergedClsPrefix:r}=this,{renderSorterIcon:l}=this.column;return e?(0,a.h)(eu,{render:e,order:t}):(0,a.h)("span",{class:[`${r}-data-table-sorter`,"ascend"===t&&`${r}-data-table-sorter--asc`,"descend"===t&&`${r}-data-table-sorter--desc`]},l?l({order:t}):(0,a.h)(X.Z,{clsPrefix:r},{default:()=>(0,a.h)(es,null)}))}});var eh=r(78740),ep=r(52742);let ev="_n_all__",em="_n_none__",ef=(0,a.aZ)({name:"DataTableSelectionMenu",props:{clsPrefix:{type:String,required:!0}},setup(e){let{props:t,localeRef:r,checkOptionsRef:l,rawPaginatedDataRef:n,doCheckAll:o,doUncheckAll:i}=(0,a.f3)(b),d=(0,a.Fl)(()=>{var e;return e=l.value,e?t=>{for(let r of e)switch(t){case ev:o(!0);return;case em:i(!0);return;default:if("object"==typeof r&&r.key===t)return void r.onSelect(n.value)}}:()=>{}}),s=(0,a.Fl)(()=>{var e,t;return e=l.value,t=r.value,e?e.map(e=>{switch(e){case"all":return{label:t.checkTableAll,key:ev};case"none":return{label:t.uncheckTableAll,key:em};default:return e}}):[]});return()=>{var r,l,n,o;let{clsPrefix:i}=e;return(0,a.h)(ep.Z,{theme:null==(l=null==(r=t.theme)?void 0:r.peers)?void 0:l.Dropdown,themeOverrides:null==(o=null==(n=t.themeOverrides)?void 0:n.peers)?void 0:o.Dropdown,options:s.value,onSelect:d.value},{default:()=>(0,a.h)(X.Z,{clsPrefix:i,class:`${i}-data-table-check-extra`},{default:()=>(0,a.h)(eh.Z,null)})})}}});function eg(e){return"function"==typeof e.title?e.title(e):e.title}let eb=(0,a.aZ)({props:{clsPrefix:{type:String,required:!0},id:{type:String,required:!0},cols:{type:Array,required:!0},width:String},render(){let{clsPrefix:e,id:t,cols:r,width:l}=this;return(0,a.h)("table",{style:{tableLayout:"fixed",width:l},class:`${e}-data-table-table`},(0,a.h)("colgroup",null,r.map(e=>(0,a.h)("col",{key:e.key,style:e.style}))),(0,a.h)("thead",{"data-n-id":t,class:`${e}-data-table-thead`},this.$slots))}}),ey=(0,a.aZ)({name:"DataTableHeader",props:{discrete:{type:Boolean,default:!0}},setup(){let{mergedClsPrefixRef:e,scrollXRef:t,fixedColumnLeftMapRef:r,fixedColumnRightMapRef:l,mergedCurrentPageRef:n,allRowsCheckedRef:o,someRowsCheckedRef:i,rowsRef:d,colsRef:s,mergedThemeRef:u,checkOptionsRef:c,mergedSortStateRef:h,componentId:p,mergedTableLayoutRef:v,headerCheckboxDisabledRef:m,virtualScrollHeaderRef:f,headerHeightRef:g,onUnstableColumnResize:y,doUpdateResizableWidth:w,handleTableHeaderScroll:x,deriveNextSorter:k,doUncheckAll:F,doCheckAll:C}=(0,a.f3)(b),B=(0,a.iH)(),S=(0,a.iH)({});function R(e){let t=S.value[e];return null==t?void 0:t.getBoundingClientRect().width}let z=new Map;return{cellElsRef:S,componentId:p,mergedSortState:h,mergedClsPrefix:e,scrollX:t,fixedColumnLeftMap:r,fixedColumnRightMap:l,currentPage:n,allRowsChecked:o,someRowsChecked:i,rows:d,cols:s,mergedTheme:u,checkOptions:c,mergedTableLayout:v,headerCheckboxDisabled:m,headerHeight:g,virtualScrollHeader:f,virtualListRef:B,handleCheckboxUpdateChecked:function(){o.value?F():C()},handleColHeaderClick:function(e,t){if((0,G.B)(e,"dataTableFilter")||(0,G.B)(e,"dataTableResizable")||!Z(t))return;let r=h.value.find(e=>e.columnKey===t.key)||null;k(void 0===t.sorter?null:null===r||r.columnKey!==t.key?{columnKey:t.key,sorter:t.sorter,order:H(!1)}:Object.assign(Object.assign({},r),{order:H(r.order)}))},handleTableHeaderScroll:x,handleColumnResizeStart:function(e){z.set(e.key,R(e.key))},handleColumnResize:function(e,t){var r,l,a;let n=z.get(e.key);if(void 0===n)return;let o=n+t,i=(r=o,l=e.minWidth,void 0!==(a=e.maxWidth)&&(r=Math.min(r,"number"==typeof a?a:Number.parseFloat(a))),void 0!==l&&(r=Math.max(r,"number"==typeof l?l:Number.parseFloat(l))),r);y(o,i,e,R),w(e,i)}}},render(){let{cellElsRef:e,mergedClsPrefix:t,fixedColumnLeftMap:r,fixedColumnRightMap:l,currentPage:n,allRowsChecked:o,someRowsChecked:i,rows:d,cols:s,mergedTheme:u,checkOptions:c,componentId:h,discrete:p,mergedTableLayout:v,headerCheckboxDisabled:m,mergedSortState:f,virtualScrollHeader:g,handleColHeaderClick:b,handleCheckboxUpdateChecked:x,handleColumnResizeStart:F,handleColumnResize:C}=this,B=!1,S=(d,s,h)=>d.map(({column:d,colIndex:p,colSpan:v,rowSpan:g,isLast:y})=>{var k,S;let R=P(d),{ellipsis:z}=d;!B&&z&&(B=!0);let M=R in r,$=R in l,O=s&&!d.fixed?"div":"th";return(0,a.h)(O,{ref:t=>e[R]=t,key:R,style:[s&&!d.fixed?{position:"absolute",left:(0,w.BL)(s(p)),top:0,bottom:0}:{left:(0,w.BL)(null==(k=r[R])?void 0:k.start),right:(0,w.BL)(null==(S=l[R])?void 0:S.start)},{width:(0,w.BL)(d.width),textAlign:d.titleAlign||d.align,height:h}],colspan:v,rowspan:g,"data-col-key":R,class:[`${t}-data-table-th`,(M||$)&&`${t}-data-table-th--fixed-${M?"left":"right"}`,{[`${t}-data-table-th--sorting`]:E(d,f),[`${t}-data-table-th--filterable`]:N(d),[`${t}-data-table-th--sortable`]:Z(d),[`${t}-data-table-th--selection`]:"selection"===d.type,[`${t}-data-table-th--last`]:y},d.className],onClick:"selection"===d.type||"expand"===d.type||"children"in d?void 0:e=>{b(e,d)}},"selection"===d.type?!1!==d.multiple?(0,a.h)(a.HY,null,(0,a.h)(L.Z,{key:n,privateInsideTable:!0,checked:o,indeterminate:i,disabled:m,onUpdateChecked:x}),c?(0,a.h)(ef,{clsPrefix:t}):null):null:(0,a.h)(a.HY,null,(0,a.h)("div",{class:`${t}-data-table-th__title-wrapper`},(0,a.h)("div",{class:`${t}-data-table-th__title`},!0===z||z&&!z.tooltip?(0,a.h)("div",{class:`${t}-data-table-th__ellipsis`},eg(d)):z&&"object"==typeof z?(0,a.h)(U.ZP,Object.assign({},z,{theme:u.peers.Ellipsis,themeOverrides:u.peerOverrides.Ellipsis}),{default:()=>eg(d)}):eg(d)),Z(d)?(0,a.h)(ec,{column:d}):null),N(d)?(0,a.h)(eo,{column:d,options:d.filterOptions}):null,T(d)?(0,a.h)(ed,{onResizeStart:()=>{F(d)},onResize:e=>{C(d,e)}}):null))});if(g){let{headerHeight:e}=this,r=0,l=0;return s.forEach(e=>{"left"===e.column.fixed?r++:"right"===e.column.fixed&&l++}),(0,a.h)(k.Z,{ref:"virtualListRef",class:`${t}-data-table-base-table-header`,style:{height:(0,w.BL)(e)},onScroll:this.handleTableHeaderScroll,columns:s,itemSize:e,showScrollbar:!1,items:[{}],itemResizable:!1,visibleItemsTag:eb,visibleItemsProps:{clsPrefix:t,id:h,cols:s,width:(0,y.N)(this.scrollX)},renderItemWithCols:({startColIndex:t,endColIndex:n,getLeft:o})=>{let i=S(s.map((e,t)=>({column:e.column,isLast:t===s.length-1,colIndex:e.index,colSpan:1,rowSpan:1})).filter(({column:e},r)=>!!(t<=r)&&!!(r<=n)||!!e.fixed),o,(0,w.BL)(e));return i.splice(r,0,(0,a.h)("th",{colspan:s.length-r-l,style:{pointerEvents:"none",visibility:"hidden",height:0}})),(0,a.h)("tr",{style:{position:"relative"}},i)}},{default:({renderedItemWithCols:e})=>e})}let R=(0,a.h)("thead",{class:`${t}-data-table-thead`,"data-n-id":h},d.map(e=>(0,a.h)("tr",{class:`${t}-data-table-tr`},S(e,null,void 0))));if(!p)return R;let{handleTableHeaderScroll:z,scrollX:M}=this;return(0,a.h)("div",{class:`${t}-data-table-base-table-header`,onScroll:z},(0,a.h)("table",{class:`${t}-data-table-table`,style:{minWidth:(0,y.N)(M),tableLayout:v}},(0,a.h)("colgroup",null,s.map(e=>(0,a.h)("col",{key:e.key,style:e.style}))),R))}}),ew=(0,a.aZ)({props:{clsPrefix:{type:String,required:!0},id:{type:String,required:!0},cols:{type:Array,required:!0},onMouseenter:Function,onMouseleave:Function},render(){let{clsPrefix:e,id:t,cols:r,onMouseenter:l,onMouseleave:n}=this;return(0,a.h)("table",{style:{tableLayout:"fixed"},class:`${e}-data-table-table`,onMouseenter:l,onMouseleave:n},(0,a.h)("colgroup",null,r.map(e=>(0,a.h)("col",{key:e.key,style:e.style}))),(0,a.h)("tbody",{"data-n-id":t,class:`${e}-data-table-tbody`},this.$slots))}}),ex=(0,a.aZ)({name:"DataTableBody",props:{onResize:Function,showHeader:Boolean,flexHeight:Boolean,bodyStyle:Object},setup(e){let{slots:t,bodyWidthRef:r,mergedExpandedRowKeysRef:l,mergedClsPrefixRef:n,mergedThemeRef:o,scrollXRef:i,colsRef:d,paginatedDataRef:s,rawPaginatedDataRef:u,fixedColumnLeftMapRef:c,fixedColumnRightMapRef:p,mergedCurrentPageRef:v,rowClassNameRef:m,leftActiveFixedColKeyRef:f,leftActiveFixedChildrenColKeysRef:g,rightActiveFixedColKeyRef:y,rightActiveFixedChildrenColKeysRef:w,renderExpandRef:k,hoverKeyRef:F,summaryRef:C,mergedSortStateRef:z,virtualScrollRef:M,virtualScrollXRef:P,heightForRowRef:$,minRowHeightRef:O,componentId:Z,mergedTableLayoutRef:T,childTriggerColIndexRef:N,indentRef:H,rowPropsRef:E,maxHeightRef:L,stripedRef:A,loadingRef:j,onLoadRef:I,loadingKeySetRef:V,expandableRef:U,stickyExpandedRowsRef:K,renderExpandIconRef:_,summaryPlacementRef:D,treeMateRef:q,scrollbarPropsRef:W,setHeaderScrollLeft:X,doUpdateExpandedRowKeys:J,handleTableBodyScroll:Y,doCheck:G,doUncheck:Q,renderCell:ee}=(0,a.f3)(b),et=(0,a.f3)(R.Y),er=(0,a.iH)(null),el=(0,a.iH)(null),ea=(0,a.iH)(null),en=(0,x.Z)(()=>0===s.value.length),eo=(0,x.Z)(()=>e.showHeader||!en.value),ei=(0,x.Z)(()=>e.showHeader||en.value),ed="",es=(0,a.Fl)(()=>new Set(l.value));function eu(e){var t;return null==(t=q.value.getNode(e))?void 0:t.rawNode}function ec(){let{value:e}=el;return(null==e?void 0:e.listElRef)||null}let eh=(0,h.c)([({props:e})=>{let t=t=>null===t?null:(0,h.c)(`[data-n-id="${e.componentId}"] [data-col-key="${t}"]::after`,{boxShadow:"var(--n-box-shadow-after)"}),r=t=>null===t?null:(0,h.c)(`[data-n-id="${e.componentId}"] [data-col-key="${t}"]::before`,{boxShadow:"var(--n-box-shadow-before)"});return(0,h.c)([t(e.leftActiveFixedColKey),r(e.rightActiveFixedColKey),e.leftActiveFixedChildrenColKeys.map(e=>t(e)),e.rightActiveFixedChildrenColKeys.map(e=>r(e))])}]),ep=!1;return(0,a.m0)(()=>{let{value:e}=f,{value:t}=g,{value:r}=y,{value:l}=w;(ep||null!==e||null!==r)&&(eh.mount({id:`n-${Z}`,force:!0,props:{leftActiveFixedColKey:e,leftActiveFixedChildrenColKeys:t,rightActiveFixedColKey:r,rightActiveFixedChildrenColKeys:l,componentId:Z},anchorMetaName:B.A,parent:null==et?void 0:et.styleMountTarget}),ep=!0)}),(0,a.SK)(()=>{eh.unmount({id:`n-${Z}`,parent:null==et?void 0:et.styleMountTarget})}),Object.assign({bodyWidth:r,summaryPlacement:D,dataTableSlots:t,componentId:Z,scrollbarInstRef:er,virtualListRef:el,emptyElRef:ea,summary:C,mergedClsPrefix:n,mergedTheme:o,scrollX:i,cols:d,loading:j,bodyShowHeaderOnly:ei,shouldDisplaySomeTablePart:eo,empty:en,paginatedDataAndInfo:(0,a.Fl)(()=>{let{value:e}=A,t=!1;return{data:s.value.map(e?(e,r)=>(e.isLeaf||(t=!0),{tmNode:e,key:e.key,striped:r%2==1,index:r}):(e,r)=>(e.isLeaf||(t=!0),{tmNode:e,key:e.key,striped:!1,index:r})),hasChildren:t}}),rawPaginatedData:u,fixedColumnLeftMap:c,fixedColumnRightMap:p,currentPage:v,rowClassName:m,renderExpand:k,mergedExpandedRowKeySet:es,hoverKey:F,mergedSortState:z,virtualScroll:M,virtualScrollX:P,heightForRow:$,minRowHeight:O,mergedTableLayout:T,childTriggerColIndex:N,indent:H,rowProps:E,maxHeight:L,loadingKeySet:V,expandable:U,stickyExpandedRows:K,renderExpandIcon:_,scrollbarProps:W,setHeaderScrollLeft:X,handleVirtualListScroll:function(e){var t;Y(e),null==(t=er.value)||t.sync()},handleVirtualListResize:function(t){var r;let{onResize:l}=e;l&&l(t),null==(r=er.value)||r.sync()},handleMouseleaveTable:function(){F.value=null},virtualListContainer:ec,virtualListContent:function(){let{value:e}=el;return(null==e?void 0:e.itemsElRef)||null},handleTableBodyScroll:Y,handleCheckboxUpdateChecked:function(e,t,r){let l=eu(e.key);if(!l)return void(0,S.ZK)("data-table",`fail to get row data with key ${e.key}`);if(r){let r=s.value.findIndex(e=>e.key===ed);if(-1!==r){let a=s.value.findIndex(t=>t.key===e.key),n=Math.min(r,a),o=Math.max(r,a),i=[];s.value.slice(n,o+1).forEach(e=>{e.disabled||i.push(e.key)}),t?G(i,!1,l):Q(i,l),ed=e.key;return}}t?G(e.key,!1,l):Q(e.key,l),ed=e.key},handleRadioUpdateChecked:function(e){let t=eu(e.key);if(!t)return void(0,S.ZK)("data-table",`fail to get row data with key ${e.key}`);G(e.key,!0,t)},handleUpdateExpanded:function(e,t){var r;if(V.value.has(e))return;let{value:a}=l,n=a.indexOf(e),o=Array.from(a);~n?(o.splice(n,1),J(o)):!t||t.isLeaf||t.shallowLoaded?(o.push(e),J(o)):(V.value.add(e),null==(r=I.value)||r.call(I,t.rawNode).then(()=>{let{value:t}=l,r=Array.from(t);~r.indexOf(e)||r.push(e),J(r)}).finally(()=>{V.value.delete(e)}))},renderCell:ee},{getScrollContainer:function(){if(!eo.value){let{value:e}=ea;return e||null}if(M.value)return ec();let{value:e}=er;return e?e.containerRef:null},scrollTo(e,t){var r,l;M.value?null==(r=el.value)||r.scrollTo(e,t):null==(l=er.value)||l.scrollTo(e,t)}})},render(){let{mergedTheme:e,scrollX:t,mergedClsPrefix:r,virtualScroll:n,maxHeight:o,mergedTableLayout:i,flexHeight:d,loadingKeySet:s,onResize:u,setHeaderScrollLeft:c}=this,h=void 0!==t||void 0!==o||d,v=!h&&"auto"===i,m=void 0!==t||v,f={minWidth:(0,y.N)(t)||"100%"};t&&(f.width="100%");let g=(0,a.h)(C.Z,Object.assign({},this.scrollbarProps,{ref:"scrollbarInstRef",scrollable:h||v,class:`${r}-data-table-base-table-body`,style:this.empty?void 0:this.bodyStyle,theme:e.peers.Scrollbar,themeOverrides:e.peerOverrides.Scrollbar,contentStyle:f,container:n?this.virtualListContainer:void 0,content:n?this.virtualListContent:void 0,horizontalRailStyle:{zIndex:3},verticalRailStyle:{zIndex:3},xScrollable:m,onScroll:n?void 0:this.handleTableBodyScroll,internalOnUpdateScrollLeft:c,onResize:u}),{default:()=>{let e,t={},o={},{cols:i,paginatedDataAndInfo:d,mergedTheme:u,fixedColumnLeftMap:c,fixedColumnRightMap:h,currentPage:p,rowClassName:v,mergedSortState:m,mergedExpandedRowKeySet:g,stickyExpandedRows:b,componentId:y,childTriggerColIndex:x,expandable:F,rowProps:C,handleMouseleaveTable:B,renderExpand:S,summary:R,handleCheckboxUpdateChecked:z,handleRadioUpdateChecked:M,handleUpdateExpanded:$,heightForRow:O,minRowHeight:Z,virtualScrollX:T}=this,{length:N}=i,{data:H,hasChildren:L}=d,j=L?function(e,t){let r=[];return e.forEach(e=>{r.push(e);let{children:l}=e.tmNode;l&&t.has(e.key)&&function e(l,a){l.forEach(l=>{l.children&&t.has(l.key)?(r.push({tmNode:l,striped:!1,key:l.key,index:a}),e(l.children,a)):r.push({key:l.key,tmNode:l,striped:!1,index:a})})}(l,e.index)}),r}(H,g):H;if(R){let t=R(this.rawPaginatedData);if(Array.isArray(t)){let r=t.map((e,t)=>({isSummaryRow:!0,key:`__n_summary__${t}`,tmNode:{rawNode:e,disabled:!0},index:-1}));e="top"===this.summaryPlacement?[...r,...j]:[...j,...r]}else{let r={isSummaryRow:!0,key:"__n_summary__",tmNode:{rawNode:t,disabled:!0},index:-1};e="top"===this.summaryPlacement?[r,...j]:[...j,r]}}else e=j;let V=L?{width:(0,w.BL)(this.indent)}:void 0,U=[];e.forEach(e=>{S&&g.has(e.key)&&(!F||F(e.tmNode.rawNode))?U.push(e,{isExpandedRow:!0,key:`${e.key}-expand`,tmNode:e.tmNode,index:e.index}):U.push(e)});let{length:K}=U,_={};H.forEach(({tmNode:e},t)=>{_[t]=e.key});let D=b?this.bodyWidth:null,W=null===D?void 0:`${D}px`,X=this.virtualScrollX?"div":"td",J=0,G=0;T&&i.forEach(e=>{"left"===e.column.fixed?J++:"right"===e.column.fixed&&G++});let Q=({rowInfo:e,displayedRowIndex:n,isVirtual:d,isVirtualX:f,startColIndex:y,endColIndex:k,getLeft:F})=>{let{index:B}=e;if("isExpandedRow"in e){let{tmNode:{key:t,rawNode:l}}=e;return(0,a.h)("tr",{class:`${r}-data-table-tr ${r}-data-table-tr--expanded`,key:`${t}__expand`},(0,a.h)("td",{class:[`${r}-data-table-td`,`${r}-data-table-td--last-col`,n+1===K&&`${r}-data-table-td--last-row`],colspan:N},b?(0,a.h)("div",{class:`${r}-data-table-expand`,style:{width:W}},S(l,B)):S(l,B)))}let R="isSummaryRow"in e,T=!R&&e.striped,{tmNode:H,key:j}=e,{rawNode:U}=H,D=g.has(j),Q=C?C(U,B):void 0,ee="string"==typeof v?v:"function"==typeof v?v(U,B):v||"",et=f?i.filter((e,t)=>!!(y<=t)&&!!(t<=k)||!!e.column.fixed):i,er=f?(0,w.BL)((null==O?void 0:O(U,B))||Z):void 0,el=et.map(i=>{var v,g,b,y,k;let C=i.index;if(n in t){let e=t[n],r=e.indexOf(C);if(~r)return e.splice(r,1),null}let{column:S}=i,O=P(i),{rowSpan:Z,colSpan:T}=S,H=R?(null==(v=e.tmNode.rawNode[O])?void 0:v.colSpan)||1:T?T(U,B):1,W=R?(null==(g=e.tmNode.rawNode[O])?void 0:g.rowSpan)||1:Z?Z(U,B):1,J=C+H===N,G=W>1;if(G&&(o[n]={[C]:[]}),H>1||G)for(let e=n;e<n+W;++e){G&&o[n][C].push(_[e]);for(let r=C;r<C+H;++r)(e!==n||r!==C)&&(e in t?t[e].push(r):t[e]=[r])}let Q=G?this.hoverKey:null,{cellProps:ee}=S,et=null==ee?void 0:ee(U,B),el={"--indent-offset":""},ea=S.fixed?"td":X;return(0,a.h)(ea,Object.assign({},et,{key:O,style:[{textAlign:S.align||void 0,width:(0,w.BL)(S.width)},f&&{height:er},f&&!S.fixed?{position:"absolute",left:(0,w.BL)(F(C)),top:0,bottom:0}:{left:(0,w.BL)(null==(b=c[O])?void 0:b.start),right:(0,w.BL)(null==(y=h[O])?void 0:y.start)},el,(null==et?void 0:et.style)||""],colspan:H,rowspan:d?void 0:W,"data-col-key":O,class:[`${r}-data-table-td`,S.className,null==et?void 0:et.class,R&&`${r}-data-table-td--summary`,null!==Q&&o[n][C].includes(Q)&&`${r}-data-table-td--hover`,E(S,m)&&`${r}-data-table-td--sorting`,S.fixed&&`${r}-data-table-td--fixed-${S.fixed}`,S.align&&`${r}-data-table-td--${S.align}-align`,"selection"===S.type&&`${r}-data-table-td--selection`,"expand"===S.type&&`${r}-data-table-td--expand`,J&&`${r}-data-table-td--last-col`,n+W===K&&`${r}-data-table-td--last-row`]}),L&&C===x?[(0,l.rx)(el["--indent-offset"]=R?0:e.tmNode.level,(0,a.h)("div",{class:`${r}-data-table-indent`,style:V})),R||e.tmNode.isLeaf?(0,a.h)("div",{class:`${r}-data-table-expand-placeholder`}):(0,a.h)(Y,{class:`${r}-data-table-expand-trigger`,clsPrefix:r,expanded:D,rowData:U,renderExpandIcon:this.renderExpandIcon,loading:s.has(e.key),onClick:()=>{$(j,e.tmNode)}})]:null,"selection"===S.type?R?null:!1===S.multiple?(0,a.h)(I,{key:p,rowKey:j,disabled:e.tmNode.disabled,onUpdateChecked:()=>{M(e.tmNode)}}):(0,a.h)(A,{key:p,rowKey:j,disabled:e.tmNode.disabled,onUpdateChecked:(t,r)=>{z(e.tmNode,t,r.shiftKey)}}):"expand"===S.type?R?null:!S.expandable||(null==(k=S.expandable)?void 0:k.call(S,U))?(0,a.h)(Y,{clsPrefix:r,rowData:U,expanded:D,renderExpandIcon:this.renderExpandIcon,onClick:()=>{$(j,null)}}):null:(0,a.h)(q,{clsPrefix:r,index:B,row:U,column:S,isSummary:R,mergedTheme:u,renderCell:this.renderCell}))});return f&&J&&G&&el.splice(J,0,(0,a.h)("td",{colspan:i.length-J-G,style:{pointerEvents:"none",visibility:"hidden",height:0}})),(0,a.h)("tr",Object.assign({},Q,{onMouseenter:e=>{var t;this.hoverKey=j,null==(t=null==Q?void 0:Q.onMouseenter)||t.call(Q,e)},key:j,class:[`${r}-data-table-tr`,R&&`${r}-data-table-tr--summary`,T&&`${r}-data-table-tr--striped`,D&&`${r}-data-table-tr--expanded`,ee,null==Q?void 0:Q.class],style:[null==Q?void 0:Q.style,f&&{height:er}]}),el)};return n?(0,a.h)(k.Z,{ref:"virtualListRef",items:U,itemSize:this.minRowHeight,visibleItemsTag:ew,visibleItemsProps:{clsPrefix:r,id:y,cols:i,onMouseleave:B},showScrollbar:!1,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemsStyle:f,itemResizable:!T,columns:i,renderItemWithCols:T?({itemIndex:e,item:t,startColIndex:r,endColIndex:l,getLeft:a})=>Q({displayedRowIndex:e,isVirtual:!0,isVirtualX:!0,rowInfo:t,startColIndex:r,endColIndex:l,getLeft:a}):void 0},{default:({item:e,index:t,renderedItemWithCols:r})=>r||Q({rowInfo:e,displayedRowIndex:t,isVirtual:!0,isVirtualX:!1,startColIndex:0,endColIndex:0,getLeft:e=>0})}):(0,a.h)("table",{class:`${r}-data-table-table`,onMouseleave:B,style:{tableLayout:this.mergedTableLayout}},(0,a.h)("colgroup",null,i.map(e=>(0,a.h)("col",{key:e.key,style:e.style}))),this.showHeader?(0,a.h)(ey,{discrete:!1}):null,this.empty?null:(0,a.h)("tbody",{"data-n-id":y,class:`${r}-data-table-tbody`},U.map((e,t)=>Q({rowInfo:e,displayedRowIndex:t,isVirtual:!1,isVirtualX:!1,startColIndex:-1,endColIndex:-1,getLeft:e=>-1}))))}});if(this.empty){let e=()=>(0,a.h)("div",{class:[`${r}-data-table-empty`,this.loading&&`${r}-data-table-empty--hide`],style:this.bodyStyle,ref:"emptyElRef"},(0,p.gI)(this.dataTableSlots.empty,()=>[(0,a.h)(z.Z,{theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})]));return this.shouldDisplaySomeTablePart?(0,a.h)(a.HY,null,g,e()):(0,a.h)(F.Z,{onResize:this.onResize},{default:e})}return g}}),ek=(0,a.aZ)({name:"MainTable",setup(){let{mergedClsPrefixRef:e,rightFixedColumnsRef:t,leftFixedColumnsRef:r,bodyWidthRef:l,maxHeightRef:n,minHeightRef:o,flexHeightRef:i,virtualScrollHeaderRef:d,syncScrollState:s}=(0,a.f3)(b),u=(0,a.iH)(null),c=(0,a.iH)(null),h=(0,a.iH)(null),p=(0,a.iH)(!(r.value.length||t.value.length)),v=(0,a.Fl)(()=>({maxHeight:(0,y.N)(n.value),minHeight:(0,y.N)(o.value)}));return(0,a.m0)(()=>{let{value:t}=h;if(!t)return;let r=`${e.value}-data-table-base-table--transition-disabled`;p.value?setTimeout(()=>{t.classList.remove(r)},0):t.classList.add(r)}),Object.assign({maxHeight:n,mergedClsPrefix:e,selfElRef:h,headerInstRef:u,bodyInstRef:c,bodyStyle:v,flexHeight:i,handleBodyResize:function(e){l.value=e.contentRect.width,s(),p.value||(p.value=!0)}},{getBodyElement:function(){let{value:e}=c;return e?e.getScrollContainer():null},getHeaderElement:function(){var e;let{value:t}=u;if(t)if(d.value)return(null==(e=t.virtualListRef)?void 0:e.listElRef)||null;else return t.$el;return null},scrollTo(e,t){var r;null==(r=c.value)||r.scrollTo(e,t)}})},render(){let{mergedClsPrefix:e,maxHeight:t,flexHeight:r}=this,l=void 0===t&&!r;return(0,a.h)("div",{class:`${e}-data-table-base-table`,ref:"selfElRef"},l?null:(0,a.h)(ey,{ref:"headerInstRef"}),(0,a.h)(ex,{ref:"bodyInstRef",bodyStyle:this.bodyStyle,showHeader:l,flexHeight:r,onResize:this.handleBodyResize}))}});var eF=r(74732),eC=r(28632);let eB=[(0,h.cM)("fixed-left",`+ left: 0;+ position: sticky;+ z-index: 2;+ `,[(0,h.c)("&::after",`+ pointer-events: none;+ content: "";+ width: 36px;+ display: inline-block;+ position: absolute;+ top: 0;+ bottom: -1px;+ transition: box-shadow .2s var(--n-bezier);+ right: -36px;+ `)]),(0,h.cM)("fixed-right",`+ right: 0;+ position: sticky;+ z-index: 1;+ `,[(0,h.c)("&::before",`+ pointer-events: none;+ content: "";+ width: 36px;+ display: inline-block;+ position: absolute;+ top: 0;+ bottom: -1px;+ transition: box-shadow .2s var(--n-bezier);+ left: -36px;+ `)])],eS=(0,h.c)([(0,h.cB)("data-table",`+ width: 100%;+ font-size: var(--n-font-size);+ display: flex;+ flex-direction: column;+ position: relative;+ --n-merged-th-color: var(--n-th-color);+ --n-merged-td-color: var(--n-td-color);+ --n-merged-border-color: var(--n-border-color);+ --n-merged-th-color-sorting: var(--n-th-color-sorting);+ --n-merged-td-color-hover: var(--n-td-color-hover);+ --n-merged-td-color-sorting: var(--n-td-color-sorting);+ --n-merged-td-color-striped: var(--n-td-color-striped);+ `,[(0,h.cB)("data-table-wrapper",`+ flex-grow: 1;+ display: flex;+ flex-direction: column;+ `),(0,h.cM)("flex-height",[(0,h.c)(">",[(0,h.cB)("data-table-wrapper",[(0,h.c)(">",[(0,h.cB)("data-table-base-table",`+ display: flex;+ flex-direction: column;+ flex-grow: 1;+ `,[(0,h.c)(">",[(0,h.cB)("data-table-base-table-body","flex-basis: 0;",[(0,h.c)("&:last-child","flex-grow: 1;")])])])])])])]),(0,h.c)(">",[(0,h.cB)("data-table-loading-wrapper",`+ color: var(--n-loading-color);+ font-size: var(--n-loading-size);+ position: absolute;+ left: 50%;+ top: 50%;+ transform: translateX(-50%) translateY(-50%);+ transition: color .3s var(--n-bezier);+ display: flex;+ align-items: center;+ justify-content: center;+ `,[(0,eF.h)({originalTransform:"translateX(-50%) translateY(-50%)"})])]),(0,h.cB)("data-table-expand-placeholder",`+ margin-right: 8px;+ display: inline-block;+ width: 16px;+ height: 1px;+ `),(0,h.cB)("data-table-indent",`+ display: inline-block;+ height: 1px;+ `),(0,h.cB)("data-table-expand-trigger",`+ display: inline-flex;+ margin-right: 8px;+ cursor: pointer;+ font-size: 16px;+ vertical-align: -0.2em;+ position: relative;+ width: 16px;+ height: 16px;+ color: var(--n-td-text-color);+ transition: color .3s var(--n-bezier);+ `,[(0,h.cM)("expanded",[(0,h.cB)("icon","transform: rotate(90deg);",[(0,eC.c)({originalTransform:"rotate(90deg)"})]),(0,h.cB)("base-icon","transform: rotate(90deg);",[(0,eC.c)({originalTransform:"rotate(90deg)"})])]),(0,h.cB)("base-loading",`+ color: var(--n-loading-color);+ transition: color .3s var(--n-bezier);+ position: absolute;+ left: 0;+ right: 0;+ top: 0;+ bottom: 0;+ `,[(0,eC.c)()]),(0,h.cB)("icon",`+ position: absolute;+ left: 0;+ right: 0;+ top: 0;+ bottom: 0;+ `,[(0,eC.c)()]),(0,h.cB)("base-icon",`+ position: absolute;+ left: 0;+ right: 0;+ top: 0;+ bottom: 0;+ `,[(0,eC.c)()])]),(0,h.cB)("data-table-thead",`+ transition: background-color .3s var(--n-bezier);+ background-color: var(--n-merged-th-color);+ `),(0,h.cB)("data-table-tr",`+ position: relative;+ box-sizing: border-box;+ background-clip: padding-box;+ transition: background-color .3s var(--n-bezier);+ `,[(0,h.cB)("data-table-expand",`+ position: sticky;+ left: 0;+ overflow: hidden;+ margin: calc(var(--n-th-padding) * -1);+ padding: var(--n-th-padding);+ box-sizing: border-box;+ `),(0,h.cM)("striped","background-color: var(--n-merged-td-color-striped);",[(0,h.cB)("data-table-td","background-color: var(--n-merged-td-color-striped);")]),(0,h.u4)("summary",[(0,h.c)("&:hover","background-color: var(--n-merged-td-color-hover);",[(0,h.c)(">",[(0,h.cB)("data-table-td","background-color: var(--n-merged-td-color-hover);")])])])]),(0,h.cB)("data-table-th",`+ padding: var(--n-th-padding);+ position: relative;+ text-align: start;+ box-sizing: border-box;+ background-color: var(--n-merged-th-color);+ border-color: var(--n-merged-border-color);+ border-bottom: 1px solid var(--n-merged-border-color);+ color: var(--n-th-text-color);+ transition:+ border-color .3s var(--n-bezier),+ color .3s var(--n-bezier),+ background-color .3s var(--n-bezier);+ font-weight: var(--n-th-font-weight);+ `,[(0,h.cM)("filterable",`+ padding-right: 36px;+ `,[(0,h.cM)("sortable",`+ padding-right: calc(var(--n-th-padding) + 36px);+ `)]),eB,(0,h.cM)("selection",`+ padding: 0;+ text-align: center;+ line-height: 0;+ z-index: 3;+ `),(0,h.cE)("title-wrapper",`+ display: flex;+ align-items: center;+ flex-wrap: nowrap;+ max-width: 100%;+ `,[(0,h.cE)("title",`+ flex: 1;+ min-width: 0;+ `)]),(0,h.cE)("ellipsis",`+ display: inline-block;+ vertical-align: bottom;+ text-overflow: ellipsis;+ overflow: hidden;+ white-space: nowrap;+ max-width: 100%;+ `),(0,h.cM)("hover",`+ background-color: var(--n-merged-th-color-hover);+ `),(0,h.cM)("sorting",`+ background-color: var(--n-merged-th-color-sorting);+ `),(0,h.cM)("sortable",`+ cursor: pointer;+ `,[(0,h.cE)("ellipsis",`+ max-width: calc(100% - 18px);+ `),(0,h.c)("&:hover",`+ background-color: var(--n-merged-th-color-hover);+ `)]),(0,h.cB)("data-table-sorter",`+ height: var(--n-sorter-size);+ width: var(--n-sorter-size);+ margin-left: 4px;+ position: relative;+ display: inline-flex;+ align-items: center;+ justify-content: center;+ vertical-align: -0.2em;+ color: var(--n-th-icon-color);+ transition: color .3s var(--n-bezier);+ `,[(0,h.cB)("base-icon","transition: transform .3s var(--n-bezier)"),(0,h.cM)("desc",[(0,h.cB)("base-icon",`+ transform: rotate(0deg);+ `)]),(0,h.cM)("asc",[(0,h.cB)("base-icon",`+ transform: rotate(-180deg);+ `)]),(0,h.cM)("asc, desc",`+ color: var(--n-th-icon-color-active);+ `)]),(0,h.cB)("data-table-resize-button",`+ width: var(--n-resizable-container-size);+ position: absolute;+ top: 0;+ right: calc(var(--n-resizable-container-size) / 2);+ bottom: 0;+ cursor: col-resize;+ user-select: none;+ `,[(0,h.c)("&::after",`+ width: var(--n-resizable-size);+ height: 50%;+ position: absolute;+ top: 50%;+ left: calc(var(--n-resizable-container-size) / 2);+ bottom: 0;+ background-color: var(--n-merged-border-color);+ transform: translateY(-50%);+ transition: background-color .3s var(--n-bezier);+ z-index: 1;+ content: '';+ `),(0,h.cM)("active",[(0,h.c)("&::after",`+ background-color: var(--n-th-icon-color-active);+ `)]),(0,h.c)("&:hover::after",`+ background-color: var(--n-th-icon-color-active);+ `)]),(0,h.cB)("data-table-filter",`+ position: absolute;+ z-index: auto;+ right: 0;+ width: 36px;+ top: 0;+ bottom: 0;+ cursor: pointer;+ display: flex;+ justify-content: center;+ align-items: center;+ transition:+ background-color .3s var(--n-bezier),+ color .3s var(--n-bezier);+ font-size: var(--n-filter-size);+ color: var(--n-th-icon-color);+ `,[(0,h.c)("&:hover",`+ background-color: var(--n-th-button-color-hover);+ `),(0,h.cM)("show",`+ background-color: var(--n-th-button-color-hover);+ `),(0,h.cM)("active",`+ background-color: var(--n-th-button-color-hover);+ color: var(--n-th-icon-color-active);+ `)])]),(0,h.cB)("data-table-td",`+ padding: var(--n-td-padding);+ text-align: start;+ box-sizing: border-box;+ border: none;+ background-color: var(--n-merged-td-color);+ color: var(--n-td-text-color);+ border-bottom: 1px solid var(--n-merged-border-color);+ transition:+ box-shadow .3s var(--n-bezier),+ background-color .3s var(--n-bezier),+ border-color .3s var(--n-bezier),+ color .3s var(--n-bezier);+ `,[(0,h.cM)("expand",[(0,h.cB)("data-table-expand-trigger",`+ margin-right: 0;+ `)]),(0,h.cM)("last-row",`+ border-bottom: 0 solid var(--n-merged-border-color);+ `,[(0,h.c)("&::after",`+ bottom: 0 !important;+ `),(0,h.c)("&::before",`+ bottom: 0 !important;+ `)]),(0,h.cM)("summary",`+ background-color: var(--n-merged-th-color);+ `),(0,h.cM)("hover",`+ background-color: var(--n-merged-td-color-hover);+ `),(0,h.cM)("sorting",`+ background-color: var(--n-merged-td-color-sorting);+ `),(0,h.cE)("ellipsis",`+ display: inline-block;+ text-overflow: ellipsis;+ overflow: hidden;+ white-space: nowrap;+ max-width: 100%;+ vertical-align: bottom;+ max-width: calc(100% - var(--indent-offset, -1.5) * 16px - 24px);+ `),(0,h.cM)("selection, expand",`+ text-align: center;+ padding: 0;+ line-height: 0;+ `),eB]),(0,h.cB)("data-table-empty",`+ box-sizing: border-box;+ padding: var(--n-empty-padding);+ flex-grow: 1;+ flex-shrink: 0;+ opacity: 1;+ display: flex;+ align-items: center;+ justify-content: center;+ transition: opacity .3s var(--n-bezier);+ `,[(0,h.cM)("hide",`+ opacity: 0;+ `)]),(0,h.cE)("pagination",`+ margin: var(--n-pagination-margin);+ display: flex;+ justify-content: flex-end;+ `),(0,h.cB)("data-table-wrapper",`+ position: relative;+ opacity: 1;+ transition: opacity .3s var(--n-bezier), border-color .3s var(--n-bezier);+ border-top-left-radius: var(--n-border-radius);+ border-top-right-radius: var(--n-border-radius);+ line-height: var(--n-line-height);+ `),(0,h.cM)("loading",[(0,h.cB)("data-table-wrapper",`+ opacity: var(--n-opacity-loading);+ pointer-events: none;+ `)]),(0,h.cM)("single-column",[(0,h.cB)("data-table-td",`+ border-bottom: 0 solid var(--n-merged-border-color);+ `,[(0,h.c)("&::after, &::before",`+ bottom: 0 !important;+ `)])]),(0,h.u4)("single-line",[(0,h.cB)("data-table-th",`+ border-right: 1px solid var(--n-merged-border-color);+ `,[(0,h.cM)("last",`+ border-right: 0 solid var(--n-merged-border-color);+ `)]),(0,h.cB)("data-table-td",`+ border-right: 1px solid var(--n-merged-border-color);+ `,[(0,h.cM)("last-col",`+ border-right: 0 solid var(--n-merged-border-color);+ `)])]),(0,h.cM)("bordered",[(0,h.cB)("data-table-wrapper",`+ border: 1px solid var(--n-merged-border-color);+ border-bottom-left-radius: var(--n-border-radius);+ border-bottom-right-radius: var(--n-border-radius);+ overflow: hidden;+ `)]),(0,h.cB)("data-table-base-table",[(0,h.cM)("transition-disabled",[(0,h.cB)("data-table-th",[(0,h.c)("&::after, &::before","transition: none;")]),(0,h.cB)("data-table-td",[(0,h.c)("&::after, &::before","transition: none;")])])]),(0,h.cM)("bottom-bordered",[(0,h.cB)("data-table-td",[(0,h.cM)("last-row",`+ border-bottom: 1px solid var(--n-merged-border-color);+ `)])]),(0,h.cB)("data-table-table",`+ font-variant-numeric: tabular-nums;+ width: 100%;+ word-break: break-word;+ transition: background-color .3s var(--n-bezier);+ border-collapse: separate;+ border-spacing: 0;+ background-color: var(--n-merged-td-color);+ `),(0,h.cB)("data-table-base-table-header",`+ border-top-left-radius: calc(var(--n-border-radius) - 1px);+ border-top-right-radius: calc(var(--n-border-radius) - 1px);+ z-index: 3;+ overflow: scroll;+ flex-shrink: 0;+ transition: border-color .3s var(--n-bezier);+ scrollbar-width: none;+ `,[(0,h.c)("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",`+ display: none;+ width: 0;+ height: 0;+ `)]),(0,h.cB)("data-table-check-extra",`+ transition: color .3s var(--n-bezier);+ color: var(--n-th-icon-color);+ position: absolute;+ font-size: 14px;+ right: -4px;+ top: 50%;+ transform: translateY(-50%);+ z-index: 1;+ `)]),(0,h.cB)("data-table-filter-menu",[(0,h.cB)("scrollbar",`+ max-height: 240px;+ `),(0,h.cE)("group",`+ display: flex;+ flex-direction: column;+ padding: 12px 12px 0 12px;+ `,[(0,h.cB)("checkbox",`+ margin-bottom: 12px;+ margin-right: 0;+ `),(0,h.cB)("radio",`+ margin-bottom: 12px;+ margin-right: 0;+ `)]),(0,h.cE)("action",`+ padding: var(--n-action-padding);+ display: flex;+ flex-wrap: nowrap;+ justify-content: space-evenly;+ border-top: 1px solid var(--n-action-divider-color);+ `,[(0,h.cB)("button",[(0,h.c)("&:not(:last-child)",`+ margin: var(--n-action-button-margin);+ `),(0,h.c)("&:last-child",`+ margin-right: 0;+ `)])]),(0,h.cB)("divider",`+ margin: 0 !important;+ `)]),(0,h.ko)((0,h.cB)("data-table",`+ --n-merged-th-color: var(--n-th-color-modal);+ --n-merged-td-color: var(--n-td-color-modal);+ --n-merged-border-color: var(--n-border-color-modal);+ --n-merged-th-color-hover: var(--n-th-color-hover-modal);+ --n-merged-td-color-hover: var(--n-td-color-hover-modal);+ --n-merged-th-color-sorting: var(--n-th-color-hover-modal);+ --n-merged-td-color-sorting: var(--n-td-color-hover-modal);+ --n-merged-td-color-striped: var(--n-td-color-striped-modal);+ `)),(0,h.WW)((0,h.cB)("data-table",`+ --n-merged-th-color: var(--n-th-color-popover);+ --n-merged-td-color: var(--n-td-color-popover);+ --n-merged-border-color: var(--n-border-color-popover);+ --n-merged-th-color-hover: var(--n-th-color-hover-popover);+ --n-merged-td-color-hover: var(--n-td-color-hover-popover);+ --n-merged-th-color-sorting: var(--n-th-color-hover-popover);+ --n-merged-td-color-sorting: var(--n-td-color-hover-popover);+ --n-merged-td-color-striped: var(--n-td-color-striped-popover);+ `))]);var eR=r(44267),ez=r(20013),eM=r(76072),eP=r(20772),e$=r(56706);function eO(e){return"object"==typeof e&&"number"==typeof e.multiple&&e.multiple}let eZ=(0,a.aZ)({name:"DataTable",alias:["AdvancedTable"],props:g,slots:Object,setup(e,{slots:t}){let{mergedBorderedRef:r,mergedClsPrefixRef:n,inlineThemeDisabled:p,mergedRtlRef:v}=(0,o.ZP)(e),f=(0,i.V)("DataTable",v,n),g=(0,a.Fl)(()=>{let{bottomBordered:t}=e;return!r.value&&(void 0===t||t)}),w=(0,d.Z)("DataTable","-data-table",eS,m.Z,e,n),k=(0,a.iH)(null),F=(0,a.iH)(null),{getResizableWidth:C,clearResizableWidth:B,doUpdateResizableWidth:S}=function(){let e=(0,a.iH)({});return{getResizableWidth:function(t){return e.value[t]},doUpdateResizableWidth:function(t,r){T(t)&&"key"in t&&(e.value[t.key]=r)},clearResizableWidth:function(){e.value={}}}}(),{rowsRef:R,colsRef:z,dataRelatedColsRef:O,hasEllipsisRef:Z}=function(e,t){let r=(0,a.Fl)(()=>(function(e,t){let r=[],l=[],a=[],n=new WeakMap,o=-1,i=0,d=!1,s=0;return!function e(n,u){u>o&&(r[u]=[],o=u),n.forEach(r=>{if("children"in r)e(r.children,u+1);else{let e="key"in r?r.key:void 0;l.push({key:P(r),style:function(e,t){var r,l;if(void 0!==t)return{width:t,minWidth:t,maxWidth:t};let a="selection"===e.type?(0,y.N)(null!=(r=e.width)?r:40):"expand"===e.type?(0,y.N)(null!=(l=e.width)?l:40):"children"in e?void 0:(0,y.N)(e.width),{minWidth:n,maxWidth:o}=e;return{width:a,minWidth:(0,y.N)(n)||a,maxWidth:(0,y.N)(o)}}(r,void 0!==e?(0,y.N)(t(e)):void 0),column:r,index:s++,width:void 0===r.width?128:Number(r.width)}),i+=1,d||(d=!!r.ellipsis),a.push(r)}})}(e,0),s=0,!function e(t,l){let a=0;t.forEach(t=>{var d;if("children"in t){let a=s,o={column:t,colIndex:s,colSpan:0,rowSpan:1,isLast:!1};e(t.children,l+1),t.children.forEach(e=>{var t,r;o.colSpan+=null!=(r=null==(t=n.get(e))?void 0:t.colSpan)?r:0}),a+o.colSpan===i&&(o.isLast=!0),n.set(t,o),r[l].push(o)}else{if(s<a){s+=1;return}let e=1;"titleColSpan"in t&&(e=null!=(d=t.titleColSpan)?d:1),e>1&&(a=s+e);let u=s+e===i,c={column:t,colSpan:e,colIndex:s,rowSpan:o-l+1,isLast:u};n.set(t,c),r[l].push(c),s+=1}})}(e,0),{hasEllipsis:d,rows:r,cols:l,dataRelatedCols:a}})(e.columns,t));return{rowsRef:(0,a.Fl)(()=>r.value.rows),colsRef:(0,a.Fl)(()=>r.value.cols),hasEllipsisRef:(0,a.Fl)(()=>r.value.hasEllipsis),dataRelatedColsRef:(0,a.Fl)(()=>r.value.dataRelatedCols)}}(e,C),{treeMateRef:N,mergedCurrentPageRef:H,paginatedDataRef:E,rawPaginatedDataRef:L,selectionColumnRef:A,hoverKeyRef:j,mergedPaginationRef:I,mergedFilterStateRef:V,mergedSortStateRef:U,childTriggerColIndexRef:K,doUpdatePage:_,doUpdateFilters:D,onUnstableColumnResize:q,deriveNextSorter:W,filter:X,filters:J,clearFilter:Y,clearFilters:G,clearSorter:Q,page:ee,sort:et}=function(e,{dataRelatedColsRef:t}){let r=(0,a.Fl)(()=>{let t=e=>{for(let r=0;r<e.length;++r){let l=e[r];if("children"in l)return t(l.children);if("selection"===l.type)return l}return null};return t(e.columns)}),l=(0,a.Fl)(()=>{let{childrenKey:t}=e;return(0,eP.J)(e.data,{ignoreEmptyChildren:!0,getKey:e.rowKey,getChildren:e=>e[t],getDisabled:e=>{var t,l;return null!=(l=null==(t=r.value)?void 0:t.disabled)&&!!l.call(t,e)}})}),n=(0,x.Z)(()=>{let{columns:t}=e,{length:r}=t,l=null;for(let e=0;e<r;++e){let r=t[e];if(r.type||null!==l||(l=e),"tree"in r&&r.tree)return e}return l||0}),o=(0,a.iH)({}),{pagination:i}=e,d=(0,a.iH)(i&&i.defaultPage||1),s=(0,a.iH)((0,e$.h)(i)),u=(0,a.Fl)(()=>{let e=t.value.filter(e=>void 0!==e.filterOptionValues||void 0!==e.filterOptionValue),r={};return e.forEach(e=>{var t;"selection"!==e.type&&"expand"!==e.type&&(void 0===e.filterOptionValues?r[e.key]=null!=(t=e.filterOptionValue)?t:null:r[e.key]=e.filterOptionValues)}),Object.assign($(o.value),r)}),c=(0,a.Fl)(()=>{let t=u.value,{columns:r}=e,{value:{treeNodes:a}}=l,n=[];return r.forEach(e=>{"selection"===e.type||"expand"===e.type||"children"in e||n.push([e.key,e])}),a?a.filter(e=>{let{rawNode:r}=e;for(let[e,l]of n){let a=t[e];if(null==a||(Array.isArray(a)||(a=[a]),!a.length))continue;let n="default"===l.filter?function(e){return(t,r)=>!!~String(r[e]).indexOf(String(t))}(e):l.filter;if(l&&"function"==typeof n)if("and"===l.filterMode){if(a.some(e=>!n(e,r)))return!1}else if(a.some(e=>n(e,r)))continue;else return!1}return!0}):[]}),{sortedDataRef:h,deriveNextSorter:p,mergedSortStateRef:v,sort:m,clearSorter:f}=function(e,{dataRelatedColsRef:t,filteredDataRef:r}){let l=[];t.value.forEach(e=>{var t;void 0!==e.sorter&&u(l,{columnKey:e.key,sorter:e.sorter,order:null!=(t=e.defaultSortOrder)&&t})});let n=(0,a.iH)(l),o=(0,a.Fl)(()=>{let e=t.value.filter(e=>"selection"!==e.type&&void 0!==e.sorter&&("ascend"===e.sortOrder||"descend"===e.sortOrder||!1===e.sortOrder)),r=e.filter(e=>!1!==e.sortOrder);if(r.length)return r.map(e=>({columnKey:e.key,order:e.sortOrder,sorter:e.sorter}));if(e.length)return[];let{value:l}=n;return Array.isArray(l)?l:l?[l]:[]});function i(e){let t;d((t=o.value.slice(),e&&!1!==eO(e.sorter)?(u(t=t.filter(e=>!1!==eO(e.sorter)),e),t):e||null))}function d(t){let{"onUpdate:sorter":r,onUpdateSorter:l,onSorterChange:a}=e;r&&(0,eR.R)(r,t),l&&(0,eR.R)(l,t),a&&(0,eR.R)(a,t),n.value=t}function s(){d(null)}function u(e,t){let r=e.findIndex(e=>(null==t?void 0:t.columnKey)&&e.columnKey===t.columnKey);void 0!==r&&r>=0?e[r]=t:e.push(t)}return{clearSorter:s,sort:function(e,r="ascend"){if(e){let l=t.value.find(t=>"selection"!==t.type&&"expand"!==t.type&&t.key===e);(null==l?void 0:l.sorter)&&i({columnKey:e,sorter:l.sorter,order:r})}else s()},sortedDataRef:(0,a.Fl)(()=>{let e=o.value.slice().sort((e,t)=>{let r=eO(e.sorter)||0;return(eO(t.sorter)||0)-r});return e.length?r.value.slice().sort((t,r)=>{let l=0;return e.some(e=>{var a;let{columnKey:n,sorter:o,order:i}=e,d=n&&(void 0===o||"default"===o||"object"==typeof o&&"default"===o.compare)?(a=n,(e,t)=>{let r=e[a],l=t[a];return null==r?null==l?0:-1:null==l?1:"number"==typeof r&&"number"==typeof l?r-l:"string"==typeof r&&"string"==typeof l?r.localeCompare(l):0}):"function"==typeof o?o:!!o&&"object"==typeof o&&!!o.compare&&"default"!==o.compare&&o.compare;return!!d&&!!i&&0!==(l=d(t.rawNode,r.rawNode))&&(l*="ascend"===i?1:"descend"===i?-1:0,!0)}),l}):r.value}),mergedSortStateRef:o,deriveNextSorter:i}}(e,{dataRelatedColsRef:t,filteredDataRef:c});t.value.forEach(e=>{var t;if(e.filter){let r=e.defaultFilterOptionValues;e.filterMultiple?o.value[e.key]=r||[]:void 0!==r?o.value[e.key]=null===r?[]:r:o.value[e.key]=null!=(t=e.defaultFilterOptionValue)?t:null}});let g=(0,a.Fl)(()=>{let{pagination:t}=e;if(!1!==t)return t.page}),b=(0,a.Fl)(()=>{let{pagination:t}=e;if(!1!==t)return t.pageSize}),y=(0,ez.Z)(g,d),w=(0,ez.Z)(b,s),k=(0,x.Z)(()=>{let t=y.value;return e.remote?t:Math.max(1,Math.min(Math.ceil(c.value.length/w.value),t))}),F=(0,a.Fl)(()=>{let{pagination:t}=e;if(t){let{pageCount:e}=t;if(void 0!==e)return e}}),C=(0,a.Fl)(()=>{if(e.remote)return l.value.treeNodes;if(!e.pagination)return h.value;let t=w.value,r=(k.value-1)*t;return h.value.slice(r,r+t)}),B=(0,a.Fl)(()=>C.value.map(e=>e.rawNode));function S(t){let{pagination:r}=e;if(r){let{onChange:e,"onUpdate:page":l,onUpdatePage:a}=r;e&&(0,eR.R)(e,t),a&&(0,eR.R)(a,t),l&&(0,eR.R)(l,t),P(t)}}function R(t){let{pagination:r}=e;if(r){let{onPageSizeChange:e,"onUpdate:pageSize":l,onUpdatePageSize:a}=r;e&&(0,eR.R)(e,t),a&&(0,eR.R)(a,t),l&&(0,eR.R)(l,t),O(t)}}let z=(0,a.Fl)(()=>{if(e.remote){let{pagination:t}=e;if(t){let{itemCount:e}=t;if(void 0!==e)return e}return}return c.value.length}),M=(0,a.Fl)(()=>Object.assign(Object.assign({},e.pagination),{onChange:void 0,onUpdatePage:void 0,onUpdatePageSize:void 0,onPageSizeChange:void 0,"onUpdate:page":S,"onUpdate:pageSize":R,page:k.value,pageSize:w.value,pageCount:void 0===z.value?F.value:void 0,itemCount:z.value}));function P(t){let{"onUpdate:page":r,onPageChange:l,onUpdatePage:a}=e;a&&(0,eR.R)(a,t),r&&(0,eR.R)(r,t),l&&(0,eR.R)(l,t),d.value=t}function O(t){let{"onUpdate:pageSize":r,onPageSizeChange:l,onUpdatePageSize:a}=e;l&&(0,eR.R)(l,t),a&&(0,eR.R)(a,t),r&&(0,eR.R)(r,t),s.value=t}function Z(){T({})}function T(e){e?e&&(o.value=$(e)):o.value={}}return{treeMateRef:l,mergedCurrentPageRef:k,mergedPaginationRef:M,paginatedDataRef:C,rawPaginatedDataRef:B,mergedFilterStateRef:u,mergedSortStateRef:v,hoverKeyRef:(0,a.iH)(null),selectionColumnRef:r,childTriggerColIndexRef:n,doUpdateFilters:function(t,r){let{onUpdateFilters:l,"onUpdate:filters":a,onFiltersChange:n}=e;l&&(0,eR.R)(l,t,r),a&&(0,eR.R)(a,t,r),n&&(0,eR.R)(n,t,r),o.value=t},deriveNextSorter:p,doUpdatePageSize:O,doUpdatePage:P,onUnstableColumnResize:function(t,r,l,a){var n;null==(n=e.onUnstableColumnResize)||n.call(e,t,r,l,a)},filter:T,filters:function(e){T(e)},clearFilter:function(){Z()},clearFilters:Z,clearSorter:f,page:function(e){P(e)},sort:m}}(e,{dataRelatedColsRef:O}),{doCheckAll:er,doUncheckAll:el,doCheck:ea,doUncheck:en,headerCheckboxDisabledRef:eo,someRowsCheckedRef:ei,allRowsCheckedRef:ed,mergedCheckedRowKeySetRef:es,mergedInderminateRowKeySetRef:eu}=function(e,t){let{paginatedDataRef:r,treeMateRef:l,selectionColumnRef:n}=t,o=(0,a.iH)(e.defaultCheckedRowKeys),i=(0,a.Fl)(()=>{var t;let{checkedRowKeys:r}=e,a=void 0===r?o.value:r;return(null==(t=n.value)?void 0:t.multiple)===!1?{checkedKeys:a.slice(0,1),indeterminateKeys:[]}:l.value.getCheckedKeys(a,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded})}),d=(0,a.Fl)(()=>i.value.checkedKeys),s=(0,a.Fl)(()=>i.value.indeterminateKeys),u=(0,a.Fl)(()=>new Set(d.value)),c=(0,a.Fl)(()=>new Set(s.value)),h=(0,a.Fl)(()=>{let{value:e}=u;return r.value.reduce((t,r)=>{let{key:l,disabled:a}=r;return t+(!a&&e.has(l)?1:0)},0)}),p=(0,a.Fl)(()=>r.value.filter(e=>e.disabled).length),v=(0,a.Fl)(()=>{let{length:e}=r.value,{value:t}=c;return h.value>0&&h.value<e-p.value||r.value.some(e=>t.has(e.key))}),m=(0,a.Fl)(()=>{let{length:e}=r.value;return 0!==h.value&&h.value===e-p.value});function f(t,r,a){let{"onUpdate:checkedRowKeys":n,onUpdateCheckedRowKeys:i,onCheckedRowKeysChange:d}=e,s=[],{value:{getNode:u}}=l;t.forEach(e=>{var t;let r=null==(t=u(e))?void 0:t.rawNode;s.push(r)}),n&&(0,eR.R)(n,t,s,{row:r,action:a}),i&&(0,eR.R)(i,t,s,{row:r,action:a}),d&&(0,eR.R)(d,t,s,{row:r,action:a}),o.value=t}return{mergedCheckedRowKeySetRef:u,mergedCheckedRowKeysRef:d,mergedInderminateRowKeySetRef:c,someRowsCheckedRef:v,allRowsCheckedRef:m,headerCheckboxDisabledRef:(0,a.Fl)(()=>0===r.value.length),doUpdateCheckedRowKeys:f,doCheckAll:function(t=!1){let{value:a}=n;if(!a||e.loading)return;let o=[];(t?l.value.treeNodes:r.value).forEach(e=>{e.disabled||o.push(e.key)}),f(l.value.check(o,d.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"checkAll")},doUncheckAll:function(t=!1){let{value:a}=n;if(!a||e.loading)return;let o=[];(t?l.value.treeNodes:r.value).forEach(e=>{e.disabled||o.push(e.key)}),f(l.value.uncheck(o,d.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"uncheckAll")},doCheck:function(t,r=!1,a){if(!e.loading){if(r)return void f(Array.isArray(t)?t.slice(0,1):[t],a,"check");f(l.value.check(t,d.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,a,"check")}},doUncheck:function(t,r){e.loading||f(l.value.uncheck(t,d.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,r,"uncheck")}}}(e,{selectionColumnRef:A,treeMateRef:N,paginatedDataRef:E}),{stickyExpandedRowsRef:ec,mergedExpandedRowKeysRef:eh,renderExpandRef:ep,expandableRef:ev,doUpdateExpandedRowKeys:em}=function(e,t){let r=(0,x.Z)(()=>{for(let t of e.columns)if("expand"===t.type)return t.renderExpand}),l=(0,x.Z)(()=>{let t;for(let r of e.columns)if("expand"===r.type){t=r.expandable;break}return t}),n=(0,a.iH)(e.defaultExpandAll?(null==r?void 0:r.value)?(()=>{let e=[];return t.value.treeNodes.forEach(t=>{var r;(null==(r=l.value)?void 0:r.call(l,t.rawNode))&&e.push(t.key)}),e})():t.value.getNonLeafKeys():e.defaultExpandedRowKeys),o=(0,a.Vh)(e,"expandedRowKeys"),i=(0,a.Vh)(e,"stickyExpandedRows");return{stickyExpandedRowsRef:i,mergedExpandedRowKeysRef:(0,ez.Z)(o,n),renderExpandRef:r,expandableRef:l,doUpdateExpandedRowKeys:function(t){let{onUpdateExpandedRowKeys:r,"onUpdate:expandedRowKeys":l}=e;r&&(0,eR.R)(r,t),l&&(0,eR.R)(l,t),n.value=t}}}(e,N),{handleTableBodyScroll:ef,handleTableHeaderScroll:eg,syncScrollState:eb,setHeaderScrollLeft:ey,leftActiveFixedColKeyRef:ew,leftActiveFixedChildrenColKeysRef:ex,rightActiveFixedColKeyRef:ek,rightActiveFixedChildrenColKeysRef:eF,leftFixedColumnsRef:eC,rightFixedColumnsRef:eB,fixedColumnLeftMapRef:eZ,fixedColumnRightMapRef:eT}=function(e,{mainTableInstRef:t,mergedCurrentPageRef:r,bodyWidthRef:l}){let n=0,o=(0,a.iH)(),i=(0,a.iH)(null),d=(0,a.iH)([]),s=(0,a.iH)(null),u=(0,a.iH)([]),c=(0,a.Fl)(()=>(0,y.N)(e.scrollX)),h=(0,a.Fl)(()=>e.columns.filter(e=>"left"===e.fixed)),p=(0,a.Fl)(()=>e.columns.filter(e=>"right"===e.fixed)),v=(0,a.Fl)(()=>{let e={},t=0;return!function r(l){l.forEach(l=>{let a={start:t,end:0};e[P(l)]=a,"children"in l?(r(l.children),a.end=t):a.end=t+=M(l)||0})}(h.value),e}),m=(0,a.Fl)(()=>{let e={},t=0;return!function r(l){for(let a=l.length-1;a>=0;--a){let n=l[a],o={start:t,end:0};e[P(n)]=o,"children"in n?(r(n.children),o.end=t):o.end=t+=M(n)||0}}(p.value),e});function f(){return{header:t.value?t.value.getHeaderElement():null,body:t.value?t.value.getBodyElement():null}}function g(){let{header:t,body:r}=f();if(!r)return;let{value:a}=l;if(null!==a){if(e.maxHeight||e.flexHeight){if(!t)return;o.value=0!=n-t.scrollLeft?"head":"body","head"===o.value?r.scrollLeft=n=t.scrollLeft:t.scrollLeft=n=r.scrollLeft}else n=r.scrollLeft;!function(){var e,t;let{value:r}=h,l=0,{value:a}=v,o=null;for(let i=0;i<r.length;++i){let d=P(r[i]);if(n>((null==(e=a[d])?void 0:e.start)||0)-l)o=d,l=(null==(t=a[d])?void 0:t.end)||0;else break}i.value=o}(),d.value=[];let a=e.columns.find(e=>P(e)===i.value);for(;a&&"children"in a;){let e=a.children.length;if(0===e)break;let t=a.children[e-1];d.value.push(P(t)),a=t}!function(){var t,r;let{value:a}=p,o=Number(e.scrollX),{value:i}=l;if(null===i)return;let d=0,u=null,{value:c}=m;for(let e=a.length-1;e>=0;--e){let l=P(a[e]);if(Math.round(n+((null==(t=c[l])?void 0:t.start)||0)+i-d)<o)u=l,d=(null==(r=c[l])?void 0:r.end)||0;else break}s.value=u}(),u.value=[];let c=e.columns.find(e=>P(e)===s.value);for(;c&&"children"in c&&c.children.length;){let e=c.children[0];u.value.push(P(e)),c=e}}}return(0,a.YP)(r,()=>{let{body:e}=f();e&&(e.scrollTop=0)}),{styleScrollXRef:c,fixedColumnLeftMapRef:v,fixedColumnRightMapRef:m,leftFixedColumnsRef:h,rightFixedColumnsRef:p,leftActiveFixedColKeyRef:i,leftActiveFixedChildrenColKeysRef:d,rightActiveFixedColKeyRef:s,rightActiveFixedChildrenColKeysRef:u,syncScrollState:g,handleTableBodyScroll:function(t){var r;null==(r=e.onScroll)||r.call(e,t),"head"!==o.value?(0,eM.J)(g):o.value=void 0},handleTableHeaderScroll:function(){"body"!==o.value?(0,eM.J)(g):o.value=void 0},setHeaderScrollLeft:function(e){let{header:t}=f();t&&(t.scrollLeft=e,g())}}}(e,{bodyWidthRef:k,mainTableInstRef:F,mergedCurrentPageRef:H}),{localeRef:eN}=(0,s.Z)("DataTable"),eH=(0,a.Fl)(()=>e.virtualScroll||e.flexHeight||void 0!==e.maxHeight||Z.value?"fixed":e.tableLayout);(0,a.JJ)(b,{props:e,treeMateRef:N,renderExpandIconRef:(0,a.Vh)(e,"renderExpandIcon"),loadingKeySetRef:(0,a.iH)(new Set),slots:t,indentRef:(0,a.Vh)(e,"indent"),childTriggerColIndexRef:K,bodyWidthRef:k,componentId:(0,l.Mc)(),hoverKeyRef:j,mergedClsPrefixRef:n,mergedThemeRef:w,scrollXRef:(0,a.Fl)(()=>e.scrollX),rowsRef:R,colsRef:z,paginatedDataRef:E,leftActiveFixedColKeyRef:ew,leftActiveFixedChildrenColKeysRef:ex,rightActiveFixedColKeyRef:ek,rightActiveFixedChildrenColKeysRef:eF,leftFixedColumnsRef:eC,rightFixedColumnsRef:eB,fixedColumnLeftMapRef:eZ,fixedColumnRightMapRef:eT,mergedCurrentPageRef:H,someRowsCheckedRef:ei,allRowsCheckedRef:ed,mergedSortStateRef:U,mergedFilterStateRef:V,loadingRef:(0,a.Vh)(e,"loading"),rowClassNameRef:(0,a.Vh)(e,"rowClassName"),mergedCheckedRowKeySetRef:es,mergedExpandedRowKeysRef:eh,mergedInderminateRowKeySetRef:eu,localeRef:eN,expandableRef:ev,stickyExpandedRowsRef:ec,rowKeyRef:(0,a.Vh)(e,"rowKey"),renderExpandRef:ep,summaryRef:(0,a.Vh)(e,"summary"),virtualScrollRef:(0,a.Vh)(e,"virtualScroll"),virtualScrollXRef:(0,a.Vh)(e,"virtualScrollX"),heightForRowRef:(0,a.Vh)(e,"heightForRow"),minRowHeightRef:(0,a.Vh)(e,"minRowHeight"),virtualScrollHeaderRef:(0,a.Vh)(e,"virtualScrollHeader"),headerHeightRef:(0,a.Vh)(e,"headerHeight"),rowPropsRef:(0,a.Vh)(e,"rowProps"),stripedRef:(0,a.Vh)(e,"striped"),checkOptionsRef:(0,a.Fl)(()=>{let{value:e}=A;return null==e?void 0:e.options}),rawPaginatedDataRef:L,filterMenuCssVarsRef:(0,a.Fl)(()=>{let{self:{actionDividerColor:e,actionPadding:t,actionButtonMargin:r}}=w.value;return{"--n-action-padding":t,"--n-action-button-margin":r,"--n-action-divider-color":e}}),onLoadRef:(0,a.Vh)(e,"onLoad"),mergedTableLayoutRef:eH,maxHeightRef:(0,a.Vh)(e,"maxHeight"),minHeightRef:(0,a.Vh)(e,"minHeight"),flexHeightRef:(0,a.Vh)(e,"flexHeight"),headerCheckboxDisabledRef:eo,paginationBehaviorOnFilterRef:(0,a.Vh)(e,"paginationBehaviorOnFilter"),summaryPlacementRef:(0,a.Vh)(e,"summaryPlacement"),filterIconPopoverPropsRef:(0,a.Vh)(e,"filterIconPopoverProps"),scrollbarPropsRef:(0,a.Vh)(e,"scrollbarProps"),syncScrollState:eb,doUpdatePage:_,doUpdateFilters:D,getResizableWidth:C,onUnstableColumnResize:q,clearResizableWidth:B,doUpdateResizableWidth:S,deriveNextSorter:W,doCheck:ea,doUncheck:en,doCheckAll:er,doUncheckAll:el,doUpdateExpandedRowKeys:em,handleTableHeaderScroll:eg,handleTableBodyScroll:ef,setHeaderScrollLeft:ey,renderCell:(0,a.Vh)(e,"renderCell")});let eE=(0,a.Fl)(()=>{let{size:t}=e,{common:{cubicBezierEaseInOut:r},self:{borderColor:l,tdColorHover:a,tdColorSorting:n,tdColorSortingModal:o,tdColorSortingPopover:i,thColorSorting:d,thColorSortingModal:s,thColorSortingPopover:u,thColor:c,thColorHover:p,tdColor:v,tdTextColor:m,thTextColor:f,thFontWeight:g,thButtonColorHover:b,thIconColor:y,thIconColorActive:x,filterSize:k,borderRadius:F,lineHeight:C,tdColorModal:B,thColorModal:S,borderColorModal:R,thColorHoverModal:z,tdColorHoverModal:M,borderColorPopover:P,thColorPopover:$,tdColorPopover:O,tdColorHoverPopover:Z,thColorHoverPopover:T,paginationMargin:N,emptyPadding:H,boxShadowAfter:E,boxShadowBefore:L,sorterSize:A,resizableContainerSize:j,resizableSize:I,loadingColor:V,loadingSize:U,opacityLoading:K,tdColorStriped:_,tdColorStripedModal:D,tdColorStripedPopover:q,[(0,h.Tl)("fontSize",t)]:W,[(0,h.Tl)("thPadding",t)]:X,[(0,h.Tl)("tdPadding",t)]:J}}=w.value;return{"--n-font-size":W,"--n-th-padding":X,"--n-td-padding":J,"--n-bezier":r,"--n-border-radius":F,"--n-line-height":C,"--n-border-color":l,"--n-border-color-modal":R,"--n-border-color-popover":P,"--n-th-color":c,"--n-th-color-hover":p,"--n-th-color-modal":S,"--n-th-color-hover-modal":z,"--n-th-color-popover":$,"--n-th-color-hover-popover":T,"--n-td-color":v,"--n-td-color-hover":a,"--n-td-color-modal":B,"--n-td-color-hover-modal":M,"--n-td-color-popover":O,"--n-td-color-hover-popover":Z,"--n-th-text-color":f,"--n-td-text-color":m,"--n-th-font-weight":g,"--n-th-button-color-hover":b,"--n-th-icon-color":y,"--n-th-icon-color-active":x,"--n-filter-size":k,"--n-pagination-margin":N,"--n-empty-padding":H,"--n-box-shadow-before":L,"--n-box-shadow-after":E,"--n-sorter-size":A,"--n-resizable-container-size":j,"--n-resizable-size":I,"--n-loading-size":U,"--n-loading-color":V,"--n-opacity-loading":K,"--n-td-color-striped":_,"--n-td-color-striped-modal":D,"--n-td-color-striped-popover":q,"n-td-color-sorting":n,"n-td-color-sorting-modal":o,"n-td-color-sorting-popover":i,"n-th-color-sorting":d,"n-th-color-sorting-modal":s,"n-th-color-sorting-popover":u}}),eL=p?(0,u.F)("data-table",(0,a.Fl)(()=>e.size[0]),eE,e):void 0,eA=(0,a.Fl)(()=>{if(!e.pagination)return!1;if(e.paginateSinglePage)return!0;let t=I.value,{pageCount:r}=t;return void 0!==r?r>1:t.itemCount&&t.pageSize&&t.itemCount>t.pageSize});return Object.assign({mainTableInstRef:F,mergedClsPrefix:n,rtlEnabled:f,mergedTheme:w,paginatedData:E,mergedBordered:r,mergedBottomBordered:g,mergedPagination:I,mergedShowPagination:eA,cssVars:p?void 0:eE,themeClass:null==eL?void 0:eL.themeClass,onRender:null==eL?void 0:eL.onRender},{filter:X,filters:J,clearFilters:G,clearSorter:Q,page:ee,sort:et,clearFilter:Y,downloadCsv:t=>{let{fileName:r="data.csv",keepOriginalData:l=!1}=t||{},a=l?e.data:L.value,n=new Blob([function(e,t,r,l){let a=e.filter(e=>"expand"!==e.type&&"selection"!==e.type&&!1!==e.allowExport);return[a.map(e=>l?l(e):e.title).join(","),...t.map(e=>a.map(t=>{var l;return r?r(e[t.key],e,t):"string"==typeof(l=e[t.key])?l.replace(/,/g,"\\,"):null==l?"":`${l}`.replace(/,/g,"\\,")}).join(","))].join("\n")}(e.columns,a,e.getCsvCell,e.getCsvHeader)],{type:"text/csv;charset=utf-8"}),o=URL.createObjectURL(n);(0,c.L)(o,r.endsWith(".csv")?r:`${r}.csv`),URL.revokeObjectURL(o)},scrollTo:(e,t)=>{var r;null==(r=F.value)||r.scrollTo(e,t)}})},render(){let{mergedClsPrefix:e,themeClass:t,onRender:r,$slots:l,spinProps:o}=this;return null==r||r(),(0,a.h)("div",{class:[`${e}-data-table`,this.rtlEnabled&&`${e}-data-table--rtl`,t,{[`${e}-data-table--bordered`]:this.mergedBordered,[`${e}-data-table--bottom-bordered`]:this.mergedBottomBordered,[`${e}-data-table--single-line`]:this.singleLine,[`${e}-data-table--single-column`]:this.singleColumn,[`${e}-data-table--loading`]:this.loading,[`${e}-data-table--flex-height`]:this.flexHeight}],style:this.cssVars},(0,a.h)("div",{class:`${e}-data-table-wrapper`},(0,a.h)(ek,{ref:"mainTableInstRef"})),this.mergedShowPagination?(0,a.h)("div",{class:`${e}-data-table__pagination`},(0,a.h)(v.Z,Object.assign({theme:this.mergedTheme.peers.Pagination,themeOverrides:this.mergedTheme.peerOverrides.Pagination,disabled:this.loading},this.mergedPagination))):null,(0,a.h)(a.uT,{name:"fade-in-scale-up-transition"},{default:()=>this.loading?(0,a.h)("div",{class:`${e}-data-table-loading-wrapper`},(0,p.gI)(l.loading,()=>[(0,a.h)(n.Z,Object.assign({clsPrefix:e,strokeWidth:20},o))])):null}))}})},35409:function(e,t,r){r.d(t,{HX:()=>s,Ox:()=>u,ZP:()=>h,uv:()=>c});var l=r(58786),a=r(56946),n=r(54470),o=r(50144),i=r(38461),d=r(64170);function s(e){return`${e}-ellipsis--line-clamp`}function u(e,t){return`${e}-ellipsis--cursor-${t}`}let c=Object.assign(Object.assign({},a.Z.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),h=(0,l.aZ)({name:"Ellipsis",inheritAttrs:!1,props:c,slots:Object,setup(e,{slots:t,attrs:r}){let o=(0,n.hJ)(),c=(0,a.Z)("Ellipsis","-ellipsis",d.Z,i.Z,e,o),h=(0,l.iH)(null),p=(0,l.iH)(null),v=(0,l.iH)(null),m=(0,l.iH)(!1),f=(0,l.Fl)(()=>{let{lineClamp:t}=e,{value:r}=m;return void 0!==t?{textOverflow:"","-webkit-line-clamp":r?"":t}:{textOverflow:r?"":"ellipsis","-webkit-line-clamp":""}});function g(){let t=!1,{value:r}=m;if(r)return!0;let{value:l}=h;if(l){let{lineClamp:r}=e;if(function(t){if(!t)return;let r=f.value,l=s(o.value);for(let a in void 0!==e.lineClamp?y(t,l,"add"):y(t,l,"remove"),r)t.style[a]!==r[a]&&(t.style[a]=r[a])}(l),void 0!==r)t=l.scrollHeight<=l.offsetHeight;else{let{value:e}=p;e&&(t=e.getBoundingClientRect().width<=l.getBoundingClientRect().width)}var a=l,n=t;let i=u(o.value,"pointer");"click"!==e.expandTrigger||n?y(a,i,"remove"):y(a,i,"add")}return t}let b=(0,l.Fl)(()=>"click"===e.expandTrigger?()=>{var e;let{value:t}=m;t&&(null==(e=v.value)||e.setShow(!1)),m.value=!t}:void 0);function y(e,t,r){"add"===r?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}return(0,l.se)(()=>{var t;e.tooltip&&(null==(t=v.value)||t.setShow(!1))}),{mergedTheme:c,triggerRef:h,triggerInnerRef:p,tooltipRef:v,handleClick:b,renderTrigger:()=>(0,l.h)("span",Object.assign({},(0,l.dG)(r,{class:[`${o.value}-ellipsis`,void 0!==e.lineClamp?s(o.value):void 0,"click"===e.expandTrigger?u(o.value,"pointer"):void 0],style:f.value}),{ref:"triggerRef",onClick:b.value,onMouseenter:"click"===e.expandTrigger?g:void 0}),e.lineClamp?t:(0,l.h)("span",{ref:"triggerInnerRef"},t)),getTooltipDisabled:g}},render(){var e;let{tooltip:t,renderTrigger:r,$slots:a}=this;if(!t)return r();{let{mergedTheme:n}=this;return(0,l.h)(o.Z,Object.assign({ref:"tooltipRef",placement:"top"},t,{getDisabled:this.getTooltipDisabled,theme:n.peers.Tooltip,themeOverrides:n.peerOverrides.Tooltip}),{trigger:r,default:null!=(e=a.tooltip)?e:a.default})}}})},64170:function(e,t,r){r.d(t,{Z:()=>a});var l=r(71309);let a=(0,l.cB)("ellipsis",{overflow:"hidden"},[(0,l.u4)("line-clamp",`+ white-space: nowrap;+ display: inline-block;+ vertical-align: bottom;+ max-width: 100%;+ `),(0,l.cM)("line-clamp",`+ display: -webkit-inline-box;+ -webkit-box-orient: vertical;+ `),(0,l.cM)("cursor-pointer",`+ cursor: pointer;+ `)])},75459:function(e,t,r){r.d(t,{Z:()=>q});var l=r(20013),a=r(58786),n=r(96823),o=r(35891),i=r(9151),d=r(6610),s=r(15077);let u=(0,a.aZ)({name:"More",render:()=>(0,a.h)("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,a.h)("g",{fill:"currentColor","fill-rule":"nonzero"},(0,a.h)("path",{d:"M4,7 C4.55228,7 5,7.44772 5,8 C5,8.55229 4.55228,9 4,9 C3.44772,9 3,8.55229 3,8 C3,7.44772 3.44772,7 4,7 Z M8,7 C8.55229,7 9,7.44772 9,8 C9,8.55229 8.55229,9 8,9 C7.44772,9 7,8.55229 7,8 C7,7.44772 7.44772,7 8,7 Z M12,7 C12.5523,7 13,7.44772 13,8 C13,8.55229 12.5523,9 12,9 C11.4477,9 11,8.55229 11,8 C11,7.44772 11.4477,7 12,7 Z"}))))});var c=r(56946),h=r(54470),p=r(3616),v=r(53198),m=r(51048),f=r(61730);function g(e){switch(e){case"tiny":return"mini";case"small":return"tiny";case"medium":return"small";case"large":return"medium";case"huge":return"large"}throw Error(`${e} has no smaller size.`)}var b=r(44267),y=r(71309),w=r(93950),x=r(73084),k=r(83664),F=r(42056),C=r(88143),B=r(47716),S=r(49942),R=r(71251);let z=(0,r(19050).U)("n-popselect");var M=r(85259),P=r(20772),$=r(33044),O=r(27987),Z=r(56682);let T=(0,y.cB)("popselect-menu",`+ box-shadow: var(--n-menu-box-shadow);+`),N={multiple:Boolean,value:{type:[String,Number,Array],default:null},cancelable:Boolean,options:{type:Array,default:()=>[]},size:{type:String,default:"medium"},scrollable:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onMouseenter:Function,onMouseleave:Function,renderLabel:Function,showCheckmark:{type:Boolean,default:void 0},nodeProps:Function,virtualScroll:Boolean,onChange:[Function,Array]},H=(0,O.u)(N),E=(0,a.aZ)({name:"PopselectPanel",props:N,setup(e){let t=(0,a.f3)(z),{mergedClsPrefixRef:r,inlineThemeDisabled:l}=(0,h.ZP)(e),n=(0,c.Z)("Popselect","-pop-select",T,R.Z,t.props,r),o=(0,a.Fl)(()=>(0,P.J)(e.options,(0,Z.bo)("value","children")));function i(t,r){let{onUpdateValue:l,"onUpdate:value":a,onChange:n}=e;l&&(0,b.R)(l,t,r),a&&(0,b.R)(a,t,r),n&&(0,b.R)(n,t,r)}(0,a.YP)((0,a.Vh)(e,"options"),()=>{(0,a.Y3)(()=>{t.syncPosition()})});let d=(0,a.Fl)(()=>{let{self:{menuBoxShadow:e}}=n.value;return{"--n-menu-box-shadow":e}}),s=l?(0,v.F)("select",void 0,d,t.props):void 0;return{mergedTheme:t.mergedThemeRef,mergedClsPrefix:r,treeMate:o,handleToggle:function(r){!function(r){let{value:{getNode:l}}=o;if(e.multiple)if(Array.isArray(e.value)){let t=[],a=[],n=!0;e.value.forEach(e=>{if(e===r){n=!1;return}let o=l(e);o&&(t.push(o.key),a.push(o.rawNode))}),n&&(t.push(r),a.push(l(r).rawNode)),i(t,a)}else{let e=l(r);e&&i([r],[e.rawNode])}else if(e.value===r&&e.cancelable)i(null,null);else{let e=l(r);e&&i(r,e.rawNode);let{"onUpdate:show":a,onUpdateShow:n}=t.props;a&&(0,b.R)(a,!1),n&&(0,b.R)(n,!1),t.setShow(!1)}(0,a.Y3)(()=>{t.syncPosition()})}(r.key)},handleMenuMousedown:function(e){(0,M.B)(e,"action")||(0,M.B)(e,"empty")||(0,M.B)(e,"header")||e.preventDefault()},cssVars:l?void 0:d,themeClass:null==s?void 0:s.themeClass,onRender:null==s?void 0:s.onRender}},render(){var e;return null==(e=this.onRender)||e.call(this),(0,a.h)($.Z,{clsPrefix:this.mergedClsPrefix,focusable:!0,nodeProps:this.nodeProps,class:[`${this.mergedClsPrefix}-popselect-menu`,this.themeClass],style:this.cssVars,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,multiple:this.multiple,treeMate:this.treeMate,size:this.size,value:this.value,virtualScroll:this.virtualScroll,scrollable:this.scrollable,renderLabel:this.renderLabel,onToggle:this.handleToggle,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseenter,onMousedown:this.handleMenuMousedown,showCheckmark:this.showCheckmark},{header:()=>{var e,t;return(null==(t=(e=this.$slots).header)?void 0:t.call(e))||[]},action:()=>{var e,t;return(null==(t=(e=this.$slots).action)?void 0:t.call(e))||[]},empty:()=>{var e,t;return(null==(t=(e=this.$slots).empty)?void 0:t.call(e))||[]}})}}),L=Object.assign(Object.assign(Object.assign(Object.assign({},c.Z.props),(0,k.C)(S.Kd,["showArrow","arrow"])),{placement:Object.assign(Object.assign({},S.Kd.placement),{default:"bottom"}),trigger:{type:String,default:"hover"}}),N),A=(0,a.aZ)({name:"Popselect",props:L,slots:Object,inheritAttrs:!1,__popover__:!0,setup(e){let{mergedClsPrefixRef:t}=(0,h.ZP)(e),r=(0,c.Z)("Popselect","-popselect",void 0,R.Z,e,t),l=(0,a.iH)(null);function n(){var e;null==(e=l.value)||e.syncPosition()}function o(e){var t;null==(t=l.value)||t.setShow(e)}return(0,a.JJ)(z,{props:e,mergedThemeRef:r,syncPosition:n,setShow:o}),Object.assign(Object.assign({},{syncPosition:n,setShow:o}),{popoverInstRef:l,mergedTheme:r})},render(){let{mergedTheme:e}=this,t={theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:{padding:"0"},ref:"popoverInstRef",internalRenderBody:(e,t,r,l,n)=>{let{$attrs:o}=this;return(0,a.h)(E,Object.assign({},o,{class:[o.class,e],style:[o.style,...r]},(0,F.C)(this.$props,H),{ref:(0,C.S)(t),onMouseenter:(0,B.B)([l,o.onMouseenter]),onMouseleave:(0,B.B)([n,o.onMouseleave])}),{header:()=>{var e,t;return null==(t=(e=this.$slots).header)?void 0:t.call(e)},action:()=>{var e,t;return null==(t=(e=this.$slots).action)?void 0:t.call(e)},empty:()=>{var e,t;return null==(t=(e=this.$slots).empty)?void 0:t.call(e)}})}};return(0,a.h)(S.ZP,Object.assign({},(0,k.C)(this.$props,H),t,{internalDeactivateImmediately:!0}),{trigger:()=>{var e,t;return null==(t=(e=this.$slots).default)?void 0:t.call(e)}})}});var j=r(8490),I=r(55675);let V=`+ background: var(--n-item-color-hover);+ color: var(--n-item-text-color-hover);+ border: var(--n-item-border-hover);+`,U=[(0,y.cM)("button",`+ background: var(--n-button-color-hover);+ border: var(--n-button-border-hover);+ color: var(--n-button-icon-color-hover);+ `)],K=(0,y.cB)("pagination",`+ display: flex;+ vertical-align: middle;+ font-size: var(--n-item-font-size);+ flex-wrap: nowrap;+`,[(0,y.cB)("pagination-prefix",`+ display: flex;+ align-items: center;+ margin: var(--n-prefix-margin);+ `),(0,y.cB)("pagination-suffix",`+ display: flex;+ align-items: center;+ margin: var(--n-suffix-margin);+ `),(0,y.c)("> *:not(:first-child)",`+ margin: var(--n-item-margin);+ `),(0,y.cB)("select",`+ width: var(--n-select-width);+ `),(0,y.c)("&.transition-disabled",[(0,y.cB)("pagination-item","transition: none!important;")]),(0,y.cB)("pagination-quick-jumper",`+ white-space: nowrap;+ display: flex;+ color: var(--n-jumper-text-color);+ transition: color .3s var(--n-bezier);+ align-items: center;+ font-size: var(--n-jumper-font-size);+ `,[(0,y.cB)("input",`+ margin: var(--n-input-margin);+ width: var(--n-input-width);+ `)]),(0,y.cB)("pagination-item",`+ position: relative;+ cursor: pointer;+ user-select: none;+ -webkit-user-select: none;+ display: flex;+ align-items: center;+ justify-content: center;+ box-sizing: border-box;+ min-width: var(--n-item-size);+ height: var(--n-item-size);+ padding: var(--n-item-padding);+ background-color: var(--n-item-color);+ color: var(--n-item-text-color);+ border-radius: var(--n-item-border-radius);+ border: var(--n-item-border);+ fill: var(--n-button-icon-color);+ transition:+ color .3s var(--n-bezier),+ border-color .3s var(--n-bezier),+ background-color .3s var(--n-bezier),+ fill .3s var(--n-bezier);+ `,[(0,y.cM)("button",`+ background: var(--n-button-color);+ color: var(--n-button-icon-color);+ border: var(--n-button-border);+ padding: 0;+ `,[(0,y.cB)("base-icon",`+ font-size: var(--n-button-icon-size);+ `)]),(0,y.u4)("disabled",[(0,y.cM)("hover",V,U),(0,y.c)("&:hover",V,U),(0,y.c)("&:active",`+ background: var(--n-item-color-pressed);+ color: var(--n-item-text-color-pressed);+ border: var(--n-item-border-pressed);+ `,[(0,y.cM)("button",`+ background: var(--n-button-color-pressed);+ border: var(--n-button-border-pressed);+ color: var(--n-button-icon-color-pressed);+ `)]),(0,y.cM)("active",`+ background: var(--n-item-color-active);+ color: var(--n-item-text-color-active);+ border: var(--n-item-border-active);+ `,[(0,y.c)("&:hover",`+ background: var(--n-item-color-active-hover);+ `)])]),(0,y.cM)("disabled",`+ cursor: not-allowed;+ color: var(--n-item-text-color-disabled);+ `,[(0,y.cM)("active, button",`+ background-color: var(--n-item-color-disabled);+ border: var(--n-item-border-disabled);+ `)])]),(0,y.cM)("disabled",`+ cursor: not-allowed;+ `,[(0,y.cB)("pagination-quick-jumper",`+ color: var(--n-jumper-text-color-disabled);+ `)]),(0,y.cM)("simple",`+ display: flex;+ align-items: center;+ flex-wrap: nowrap;+ `,[(0,y.cB)("pagination-quick-jumper",[(0,y.cB)("input",`+ margin: 0;+ `)])])]);var _=r(56706);let D=Object.assign(Object.assign({},c.Z.props),{simple:Boolean,page:Number,defaultPage:{type:Number,default:1},itemCount:Number,pageCount:Number,defaultPageCount:{type:Number,default:1},showSizePicker:Boolean,pageSize:Number,defaultPageSize:Number,pageSizes:{type:Array,default:()=>[10]},showQuickJumper:Boolean,size:{type:String,default:"medium"},disabled:Boolean,pageSlot:{type:Number,default:9},selectProps:Object,prev:Function,next:Function,goto:Function,prefix:Function,suffix:Function,label:Function,displayOrder:{type:Array,default:["pages","size-picker","quick-jumper"]},to:f.n.propTo,showQuickJumpDropdown:{type:Boolean,default:!0},"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],onPageSizeChange:[Function,Array],onChange:[Function,Array]}),q=(0,a.aZ)({name:"Pagination",props:D,slots:Object,setup(e){let{mergedComponentPropsRef:t,mergedClsPrefixRef:r,inlineThemeDisabled:n,mergedRtlRef:o}=(0,h.ZP)(e),i=(0,c.Z)("Pagination","-pagination",K,I.Z,e,r),{localeRef:d}=(0,p.Z)("Pagination"),s=(0,a.iH)(null),u=(0,a.iH)(e.defaultPage),f=(0,a.iH)((0,_.h)(e)),w=(0,l.Z)((0,a.Vh)(e,"page"),u),x=(0,l.Z)((0,a.Vh)(e,"pageSize"),f),k=(0,a.Fl)(()=>{let{itemCount:t}=e;if(void 0!==t)return Math.max(1,Math.ceil(t/x.value));let{pageCount:r}=e;return void 0!==r?Math.max(r,1):1}),F=(0,a.iH)("");(0,a.m0)(()=>{e.simple,F.value=String(w.value)});let C=(0,a.iH)(!1),B=(0,a.iH)(!1),S=(0,a.iH)(!1),R=(0,a.iH)(!1),z=(0,a.Fl)(()=>(0,_.u)(w.value,k.value,e.pageSlot,e.showQuickJumpDropdown));(0,a.m0)(()=>{z.value.hasFastBackward?z.value.hasFastForward||(C.value=!1,S.value=!1):(B.value=!1,R.value=!1)});let M=(0,a.Fl)(()=>{let t=d.value.selectionSuffix;return e.pageSizes.map(e=>"number"==typeof e?{label:`${e} / ${t}`,value:e}:e)}),P=(0,a.Fl)(()=>{var r,l;return(null==(l=null==(r=null==t?void 0:t.value)?void 0:r.Pagination)?void 0:l.inputSize)||g(e.size)}),$=(0,a.Fl)(()=>{var r,l;return(null==(l=null==(r=null==t?void 0:t.value)?void 0:r.Pagination)?void 0:l.selectSize)||g(e.size)}),O=(0,a.Fl)(()=>(w.value-1)*x.value),Z=(0,a.Fl)(()=>{let t=w.value*x.value-1,{itemCount:r}=e;return void 0!==r&&t>r-1?r-1:t}),T=(0,a.Fl)(()=>{let{itemCount:t}=e;return void 0!==t?t:(e.pageCount||1)*x.value}),N=(0,m.V)("Pagination",o,r);function H(){(0,a.Y3)(()=>{var e;let{value:t}=s;t&&(t.classList.add("transition-disabled"),null==(e=s.value)||e.offsetWidth,t.classList.remove("transition-disabled"))})}function E(t){if(t===w.value)return;let{"onUpdate:page":r,onUpdatePage:l,onChange:a,simple:n}=e;r&&(0,b.R)(r,t),l&&(0,b.R)(l,t),a&&(0,b.R)(a,t),u.value=t,n&&(F.value=String(t))}(0,a.m0)(()=>{w.value,x.value,H()});let L=(0,a.Fl)(()=>{let{size:t}=e,{self:{buttonBorder:r,buttonBorderHover:l,buttonBorderPressed:a,buttonIconColor:n,buttonIconColorHover:o,buttonIconColorPressed:d,itemTextColor:s,itemTextColorHover:u,itemTextColorPressed:c,itemTextColorActive:h,itemTextColorDisabled:p,itemColor:v,itemColorHover:m,itemColorPressed:f,itemColorActive:g,itemColorActiveHover:b,itemColorDisabled:w,itemBorder:x,itemBorderHover:k,itemBorderPressed:F,itemBorderActive:C,itemBorderDisabled:B,itemBorderRadius:S,jumperTextColor:R,jumperTextColorDisabled:z,buttonColor:M,buttonColorHover:P,buttonColorPressed:$,[(0,y.Tl)("itemPadding",t)]:O,[(0,y.Tl)("itemMargin",t)]:Z,[(0,y.Tl)("inputWidth",t)]:T,[(0,y.Tl)("selectWidth",t)]:N,[(0,y.Tl)("inputMargin",t)]:H,[(0,y.Tl)("selectMargin",t)]:E,[(0,y.Tl)("jumperFontSize",t)]:L,[(0,y.Tl)("prefixMargin",t)]:A,[(0,y.Tl)("suffixMargin",t)]:j,[(0,y.Tl)("itemSize",t)]:I,[(0,y.Tl)("buttonIconSize",t)]:V,[(0,y.Tl)("itemFontSize",t)]:U,[`${(0,y.Tl)("itemMargin",t)}Rtl`]:K,[`${(0,y.Tl)("inputMargin",t)}Rtl`]:_},common:{cubicBezierEaseInOut:D}}=i.value;return{"--n-prefix-margin":A,"--n-suffix-margin":j,"--n-item-font-size":U,"--n-select-width":N,"--n-select-margin":E,"--n-input-width":T,"--n-input-margin":H,"--n-input-margin-rtl":_,"--n-item-size":I,"--n-item-text-color":s,"--n-item-text-color-disabled":p,"--n-item-text-color-hover":u,"--n-item-text-color-active":h,"--n-item-text-color-pressed":c,"--n-item-color":v,"--n-item-color-hover":m,"--n-item-color-disabled":w,"--n-item-color-active":g,"--n-item-color-active-hover":b,"--n-item-color-pressed":f,"--n-item-border":x,"--n-item-border-hover":k,"--n-item-border-disabled":B,"--n-item-border-active":C,"--n-item-border-pressed":F,"--n-item-padding":O,"--n-item-border-radius":S,"--n-bezier":D,"--n-jumper-font-size":L,"--n-jumper-text-color":R,"--n-jumper-text-color-disabled":z,"--n-item-margin":Z,"--n-item-margin-rtl":K,"--n-button-icon-size":V,"--n-button-icon-color":n,"--n-button-icon-color-hover":o,"--n-button-icon-color-pressed":d,"--n-button-color-hover":P,"--n-button-color":M,"--n-button-color-pressed":$,"--n-button-border":r,"--n-button-border-hover":l,"--n-button-border-pressed":a}}),A=n?(0,v.F)("pagination",(0,a.Fl)(()=>{let t="",{size:r}=e;return t+r[0]}),L,e):void 0;return{rtlEnabled:N,mergedClsPrefix:r,locale:d,selfRef:s,mergedPage:w,pageItems:(0,a.Fl)(()=>z.value.items),mergedItemCount:T,jumperValue:F,pageSizeOptions:M,mergedPageSize:x,inputSize:P,selectSize:$,mergedTheme:i,mergedPageCount:k,startIndex:O,endIndex:Z,showFastForwardMenu:S,showFastBackwardMenu:R,fastForwardActive:C,fastBackwardActive:B,handleMenuSelect:e=>{E(e)},handleFastForwardMouseenter:()=>{e.disabled||(C.value=!0,H())},handleFastForwardMouseleave:()=>{e.disabled||(C.value=!1,H())},handleFastBackwardMouseenter:()=>{B.value=!0,H()},handleFastBackwardMouseleave:()=>{B.value=!1,H()},handleJumperInput:function(e){F.value=e.replace(/\D+/g,"")},handleBackwardClick:function(){e.disabled||E(Math.max(w.value-1,1))},handleForwardClick:function(){e.disabled||E(Math.min(w.value+1,k.value))},handlePageItemClick:function(t){if(!e.disabled)switch(t.type){case"page":E(t.label);break;case"fast-backward":e.disabled||E(Math.max(z.value.fastBackwardTo,1));break;case"fast-forward":e.disabled||E(Math.min(z.value.fastForwardTo,k.value))}},handleSizePickerChange:function(t){!function(t){if(t===x.value)return;let{"onUpdate:pageSize":r,onUpdatePageSize:l,onPageSizeChange:a}=e;r&&(0,b.R)(r,t),l&&(0,b.R)(l,t),a&&(0,b.R)(a,t),f.value=t,k.value<w.value&&E(k.value)}(t)},handleQuickJumperChange:function(){let t=Number.parseInt(F.value);!Number.isNaN(t)&&(E(Math.max(1,Math.min(t,k.value))),e.simple||(F.value=""))},cssVars:n?void 0:L,themeClass:null==A?void 0:A.themeClass,onRender:null==A?void 0:A.onRender}},render(){let{$slots:e,mergedClsPrefix:t,disabled:r,cssVars:l,mergedPage:c,mergedPageCount:h,pageItems:p,showSizePicker:v,showQuickJumper:m,mergedTheme:f,locale:g,inputSize:b,selectSize:y,mergedPageSize:k,pageSizeOptions:F,jumperValue:C,simple:B,prev:S,next:R,prefix:z,suffix:M,label:P,goto:$,handleJumperInput:O,handleSizePickerChange:Z,handleBackwardClick:T,handlePageItemClick:N,handleForwardClick:H,handleQuickJumperChange:E,onRender:L}=this;null==L||L();let I=z||e.prefix,V=M||e.suffix,U=S||e.prev,K=R||e.next,_=P||e.label;return(0,a.h)("div",{ref:"selfRef",class:[`${t}-pagination`,this.themeClass,this.rtlEnabled&&`${t}-pagination--rtl`,r&&`${t}-pagination--disabled`,B&&`${t}-pagination--simple`],style:l},I?(0,a.h)("div",{class:`${t}-pagination-prefix`},I({page:c,pageSize:k,pageCount:h,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null,this.displayOrder.map(e=>{switch(e){case"pages":return(0,a.h)(a.HY,null,(0,a.h)("div",{class:[`${t}-pagination-item`,!U&&`${t}-pagination-item--button`,(c<=1||c>h||r)&&`${t}-pagination-item--disabled`],onClick:T},U?U({page:c,pageSize:k,pageCount:h,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount}):(0,a.h)(n.Z,{clsPrefix:t},{default:()=>this.rtlEnabled?(0,a.h)(o.Z,null):(0,a.h)(i.Z,null)})),B?(0,a.h)(a.HY,null,(0,a.h)("div",{class:`${t}-pagination-quick-jumper`},(0,a.h)(x.Z,{value:C,onUpdateValue:O,size:b,placeholder:"",disabled:r,theme:f.peers.Input,themeOverrides:f.peerOverrides.Input,onChange:E})),"\xa0/"," ",h):p.map((e,l)=>{let o,i,c,{type:h}=e;switch(h){case"page":let p=e.label;o=_?_({type:"page",node:p,active:e.active}):p;break;case"fast-forward":let v=this.fastForwardActive?(0,a.h)(n.Z,{clsPrefix:t},{default:()=>this.rtlEnabled?(0,a.h)(d.Z,null):(0,a.h)(s.Z,null)}):(0,a.h)(n.Z,{clsPrefix:t},{default:()=>(0,a.h)(u,null)});o=_?_({type:"fast-forward",node:v,active:this.fastForwardActive||this.showFastForwardMenu}):v,i=this.handleFastForwardMouseenter,c=this.handleFastForwardMouseleave;break;case"fast-backward":let m=this.fastBackwardActive?(0,a.h)(n.Z,{clsPrefix:t},{default:()=>this.rtlEnabled?(0,a.h)(s.Z,null):(0,a.h)(d.Z,null)}):(0,a.h)(n.Z,{clsPrefix:t},{default:()=>(0,a.h)(u,null)});o=_?_({type:"fast-backward",node:m,active:this.fastBackwardActive||this.showFastBackwardMenu}):m,i=this.handleFastBackwardMouseenter,c=this.handleFastBackwardMouseleave}let g=(0,a.h)("div",{key:l,class:[`${t}-pagination-item`,e.active&&`${t}-pagination-item--active`,"page"!==h&&("fast-backward"===h&&this.showFastBackwardMenu||"fast-forward"===h&&this.showFastForwardMenu)&&`${t}-pagination-item--hover`,r&&`${t}-pagination-item--disabled`,"page"===h&&`${t}-pagination-item--clickable`],onClick:()=>{N(e)},onMouseenter:i,onMouseleave:c},o);if("page"===h&&!e.mayBeFastBackward&&!e.mayBeFastForward)return g;{let t="page"===e.type?e.mayBeFastBackward?"fast-backward":"fast-forward":e.type;return"page"===e.type||e.options?(0,a.h)(A,{to:this.to,key:t,disabled:r,trigger:"hover",virtualScroll:!0,style:{width:"60px"},theme:f.peers.Popselect,themeOverrides:f.peerOverrides.Popselect,builtinThemeOverrides:{peers:{InternalSelectMenu:{height:"calc(var(--n-option-height) * 4.6)"}}},nodeProps:()=>({style:{justifyContent:"center"}}),show:"page"!==h&&("fast-backward"===h?this.showFastBackwardMenu:this.showFastForwardMenu),onUpdateShow:e=>{"page"!==h&&(e?"fast-backward"===h?this.showFastBackwardMenu=e:this.showFastForwardMenu=e:(this.showFastBackwardMenu=!1,this.showFastForwardMenu=!1))},options:"page"!==e.type&&e.options?e.options:[],onUpdateValue:this.handleMenuSelect,scrollable:!0,showCheckmark:!1},{default:()=>g}):g}}),(0,a.h)("div",{class:[`${t}-pagination-item`,!K&&`${t}-pagination-item--button`,{[`${t}-pagination-item--disabled`]:c<1||c>=h||r}],onClick:H},K?K({page:c,pageSize:k,pageCount:h,itemCount:this.mergedItemCount,startIndex:this.startIndex,endIndex:this.endIndex}):(0,a.h)(n.Z,{clsPrefix:t},{default:()=>this.rtlEnabled?(0,a.h)(i.Z,null):(0,a.h)(o.Z,null)})));case"size-picker":return!B&&v?(0,a.h)(j.Z,Object.assign({consistentMenuWidth:!1,placeholder:"",showCheckmark:!1,to:this.to},this.selectProps,{size:y,options:F,value:k,disabled:r,theme:f.peers.Select,themeOverrides:f.peerOverrides.Select,onUpdateValue:Z})):null;case"quick-jumper":return!B&&m?(0,a.h)("div",{class:`${t}-pagination-quick-jumper`},$?$():(0,w.gI)(this.$slots.goto,()=>[g.goto]),(0,a.h)(x.Z,{value:C,onUpdateValue:O,size:b,placeholder:"",disabled:r,theme:f.peers.Input,themeOverrides:f.peerOverrides.Input,onChange:E})):null;default:return null}}),V?(0,a.h)("div",{class:`${t}-pagination-suffix`},V({page:c,pageSize:k,pageCount:h,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null)}})},56706:function(e,t,r){function l(e){var t;if(!e)return 10;let{defaultPageSize:r}=e;if(void 0!==r)return r;let l=null==(t=e.pageSizes)?void 0:t[0];return"number"==typeof l?l:(null==l?void 0:l.value)||10}function a(e,t,r,l){let a=!1,o=!1,i=1,d=t;if(1===t)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:d,fastBackwardTo:i,items:[{type:"page",label:1,active:1===e,mayBeFastBackward:!1,mayBeFastForward:!1}]};if(2===t)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:d,fastBackwardTo:i,items:[{type:"page",label:1,active:1===e,mayBeFastBackward:!1,mayBeFastForward:!1},{type:"page",label:2,active:2===e,mayBeFastBackward:!0,mayBeFastForward:!1}]};let s=e,u=e,c=(r-5)/2;u+=Math.ceil(c),u=Math.min(Math.max(u,1+r-3),t-2),s-=Math.floor(c);let h=!1,p=!1;(s=Math.max(Math.min(s,t-r+3),3))>3&&(h=!0),u<t-2&&(p=!0);let v=[];v.push({type:"page",label:1,active:1===e,mayBeFastBackward:!1,mayBeFastForward:!1}),h?(a=!0,i=s-1,v.push({type:"fast-backward",active:!1,label:void 0,options:l?n(2,s-1):null})):t>=2&&v.push({type:"page",label:2,mayBeFastBackward:!0,mayBeFastForward:!1,active:2===e});for(let t=s;t<=u;++t)v.push({type:"page",label:t,mayBeFastBackward:!1,mayBeFastForward:!1,active:e===t});return p?(o=!0,d=u+1,v.push({type:"fast-forward",active:!1,label:void 0,options:l?n(u+1,t-1):null})):u===t-2&&v[v.length-1].label!==t-1&&v.push({type:"page",mayBeFastForward:!0,mayBeFastBackward:!1,label:t-1,active:e===t-1}),v[v.length-1].label!==t&&v.push({type:"page",mayBeFastForward:!1,mayBeFastBackward:!1,label:t,active:e===t}),{hasFastBackward:a,hasFastForward:o,fastBackwardTo:i,fastForwardTo:d,items:v}}function n(e,t){let r=[];for(let l=e;l<=t;++l)r.push({label:`${l}`,value:l});return r}r.d(t,{h:()=>l,u:()=>a})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/5701.26a19c03.js b/core/public/dist/static/js/async/5701.26a19c03.jsdeleted file mode 100644index 45c41a08..00000000--- a/core/public/dist/static/js/async/5701.26a19c03.js+++ /dev/null@@ -1,592 +0,0 @@-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["5701"],{23685:function(e,t,r){r.d(t,{Z:()=>F});var l=r(82518),a=r(17102),o=r(20013),n=r(61691),i=r(58786),d=r(76128),s=r(56946),c=r(54470),u=r(32196),h=r(53198),p=r(51048),v=r(44267),b=r(71309),f=r(93950),m=r(61115),g=r(90686);let y=()=>(0,i.h)("svg",{viewBox:"0 0 64 64",class:"check-icon"},(0,i.h)("path",{d:"M50.42,16.76L22.34,39.45l-8.1-11.46c-1.12-1.58-3.3-1.96-4.88-0.84c-1.58,1.12-1.95,3.3-0.84,4.88l10.26,14.51 c0.56,0.79,1.42,1.31,2.38,1.45c0.16,0.02,0.32,0.03,0.48,0.03c0.8,0,1.57-0.27,2.2-0.78l30.99-25.03c1.5-1.21,1.74-3.42,0.52-4.92 C54.13,15.78,51.93,15.55,50.42,16.76z"})),x=()=>(0,i.h)("svg",{viewBox:"0 0 100 100",class:"line-icon"},(0,i.h)("path",{d:"M80.2,55.5H21.4c-2.8,0-5.1-2.5-5.1-5.5l0,0c0-3,2.3-5.5,5.1-5.5h58.7c2.8,0,5.1,2.5,5.1,5.5l0,0C85.2,53.1,82.9,55.5,80.2,55.5z"}));var k=r(28632);let w=(0,b.c)([(0,b.cB)("checkbox",`- font-size: var(--n-font-size);- outline: none;- cursor: pointer;- display: inline-flex;- flex-wrap: nowrap;- align-items: flex-start;- word-break: break-word;- line-height: var(--n-size);- --n-merged-color-table: var(--n-color-table);- `,[(0,b.cM)("show-label","line-height: var(--n-label-line-height);"),(0,b.c)("&:hover",[(0,b.cB)("checkbox-box",[(0,b.cE)("border","border: var(--n-border-checked);")])]),(0,b.c)("&:focus:not(:active)",[(0,b.cB)("checkbox-box",[(0,b.cE)("border",`- border: var(--n-border-focus);- box-shadow: var(--n-box-shadow-focus);- `)])]),(0,b.cM)("inside-table",[(0,b.cB)("checkbox-box",`- background-color: var(--n-merged-color-table);- `)]),(0,b.cM)("checked",[(0,b.cB)("checkbox-box",`- background-color: var(--n-color-checked);- `,[(0,b.cB)("checkbox-icon",[(0,b.c)(".check-icon",`- opacity: 1;- transform: scale(1);- `)])])]),(0,b.cM)("indeterminate",[(0,b.cB)("checkbox-box",[(0,b.cB)("checkbox-icon",[(0,b.c)(".check-icon",`- opacity: 0;- transform: scale(.5);- `),(0,b.c)(".line-icon",`- opacity: 1;- transform: scale(1);- `)])])]),(0,b.cM)("checked, indeterminate",[(0,b.c)("&:focus:not(:active)",[(0,b.cB)("checkbox-box",[(0,b.cE)("border",`- border: var(--n-border-checked);- box-shadow: var(--n-box-shadow-focus);- `)])]),(0,b.cB)("checkbox-box",`- background-color: var(--n-color-checked);- border-left: 0;- border-top: 0;- `,[(0,b.cE)("border",{border:"var(--n-border-checked)"})])]),(0,b.cM)("disabled",{cursor:"not-allowed"},[(0,b.cM)("checked",[(0,b.cB)("checkbox-box",`- background-color: var(--n-color-disabled-checked);- `,[(0,b.cE)("border",{border:"var(--n-border-disabled-checked)"}),(0,b.cB)("checkbox-icon",[(0,b.c)(".check-icon, .line-icon",{fill:"var(--n-check-mark-color-disabled-checked)"})])])]),(0,b.cB)("checkbox-box",`- background-color: var(--n-color-disabled);- `,[(0,b.cE)("border",`- border: var(--n-border-disabled);- `),(0,b.cB)("checkbox-icon",[(0,b.c)(".check-icon, .line-icon",`- fill: var(--n-check-mark-color-disabled);- `)])]),(0,b.cE)("label",`- color: var(--n-text-color-disabled);- `)]),(0,b.cB)("checkbox-box-wrapper",`- position: relative;- width: var(--n-size);- flex-shrink: 0;- flex-grow: 0;- user-select: none;- -webkit-user-select: none;- `),(0,b.cB)("checkbox-box",`- position: absolute;- left: 0;- top: 50%;- transform: translateY(-50%);- height: var(--n-size);- width: var(--n-size);- display: inline-block;- box-sizing: border-box;- border-radius: var(--n-border-radius);- background-color: var(--n-color);- transition: background-color 0.3s var(--n-bezier);- `,[(0,b.cE)("border",`- transition:- border-color .3s var(--n-bezier),- box-shadow .3s var(--n-bezier);- border-radius: inherit;- position: absolute;- left: 0;- right: 0;- top: 0;- bottom: 0;- border: var(--n-border);- `),(0,b.cB)("checkbox-icon",`- display: flex;- align-items: center;- justify-content: center;- position: absolute;- left: 1px;- right: 1px;- top: 1px;- bottom: 1px;- `,[(0,b.c)(".check-icon, .line-icon",`- width: 100%;- fill: var(--n-check-mark-color);- opacity: 0;- transform: scale(0.5);- transform-origin: center;- transition:- fill 0.3s var(--n-bezier),- transform 0.3s var(--n-bezier),- opacity 0.3s var(--n-bezier),- border-color 0.3s var(--n-bezier);- `),(0,k.c)({left:"1px",top:"1px"})])]),(0,b.cE)("label",`- color: var(--n-text-color);- transition: color .3s var(--n-bezier);- user-select: none;- -webkit-user-select: none;- padding: var(--n-label-padding);- font-weight: var(--n-label-font-weight);- `,[(0,b.c)("&:empty",{display:"none"})])]),(0,b.ko)((0,b.cB)("checkbox",`- --n-merged-color-table: var(--n-color-table-modal);- `)),(0,b.WW)((0,b.cB)("checkbox",`- --n-merged-color-table: var(--n-color-table-popover);- `))]),C=Object.assign(Object.assign({},s.Z.props),{size:String,checked:{type:[Boolean,String,Number],default:void 0},defaultChecked:{type:[Boolean,String,Number],default:!1},value:[String,Number],disabled:{type:Boolean,default:void 0},indeterminate:Boolean,label:String,focusable:{type:Boolean,default:!0},checkedValue:{type:[Boolean,String,Number],default:!0},uncheckedValue:{type:[Boolean,String,Number],default:!1},"onUpdate:checked":[Function,Array],onUpdateChecked:[Function,Array],privateInsideTable:Boolean,onChange:[Function,Array]}),F=(0,i.aZ)({name:"Checkbox",props:C,setup(e){let t=(0,i.f3)(g.lr,null),r=(0,i.iH)(null),{mergedClsPrefixRef:l,inlineThemeDisabled:d,mergedRtlRef:f}=(0,c.ZP)(e),y=(0,i.iH)(e.defaultChecked),x=(0,i.Vh)(e,"checked"),k=(0,o.Z)(x,y),C=(0,n.Z)(()=>{if(!t)return k.value===e.checkedValue;{let r=t.valueSetRef.value;return!!r&&void 0!==e.value&&r.has(e.value)}}),F=(0,u.Z)(e,{mergedSize(r){let{size:l}=e;if(void 0!==l)return l;if(t){let{value:e}=t.mergedSizeRef;if(void 0!==e)return e}if(r){let{mergedSize:e}=r;if(void 0!==e)return e.value}return"medium"},mergedDisabled(r){let{disabled:l}=e;if(void 0!==l)return l;if(t){if(t.disabledRef.value)return!0;let{maxRef:{value:e},checkedCountRef:r}=t;if(void 0!==e&&r.value>=e&&!C.value)return!0;let{minRef:{value:l}}=t;if(void 0!==l&&r.value<=l&&C.value)return!0}return!!r&&r.disabled.value}}),{mergedDisabledRef:B,mergedSizeRef:R}=F,S=(0,s.Z)("Checkbox","-checkbox",w,m.Z,e,l);function z(r){if(t&&void 0!==e.value)t.toggleCheckbox(!C.value,e.value);else{let{onChange:t,"onUpdate:checked":l,onUpdateChecked:a}=e,{nTriggerFormInput:o,nTriggerFormChange:n}=F,i=C.value?e.uncheckedValue:e.checkedValue;l&&(0,v.R)(l,i,r),a&&(0,v.R)(a,i,r),t&&(0,v.R)(t,i,r),o(),n(),y.value=i}}let M=(0,p.V)("Checkbox",f,l),P=(0,i.Fl)(()=>{let{value:e}=R,{common:{cubicBezierEaseInOut:t},self:{borderRadius:r,color:l,colorChecked:a,colorDisabled:o,colorTableHeader:n,colorTableHeaderModal:i,colorTableHeaderPopover:d,checkMarkColor:s,checkMarkColorDisabled:c,border:u,borderFocus:h,borderDisabled:p,borderChecked:v,boxShadowFocus:f,textColor:m,textColorDisabled:g,checkMarkColorDisabledChecked:y,colorDisabledChecked:x,borderDisabledChecked:k,labelPadding:w,labelLineHeight:C,labelFontWeight:F,[(0,b.Tl)("fontSize",e)]:B,[(0,b.Tl)("size",e)]:z}}=S.value;return{"--n-label-line-height":C,"--n-label-font-weight":F,"--n-size":z,"--n-bezier":t,"--n-border-radius":r,"--n-border":u,"--n-border-checked":v,"--n-border-focus":h,"--n-border-disabled":p,"--n-border-disabled-checked":k,"--n-box-shadow-focus":f,"--n-color":l,"--n-color-checked":a,"--n-color-table":n,"--n-color-table-modal":i,"--n-color-table-popover":d,"--n-color-disabled":o,"--n-color-disabled-checked":x,"--n-text-color":m,"--n-text-color-disabled":g,"--n-check-mark-color":s,"--n-check-mark-color-disabled":c,"--n-check-mark-color-disabled-checked":y,"--n-font-size":B,"--n-label-padding":w}}),$=d?(0,h.F)("checkbox",(0,i.Fl)(()=>R.value[0]),P,e):void 0;return Object.assign(F,{focus:()=>{var e;null==(e=r.value)||e.focus()},blur:()=>{var e;null==(e=r.value)||e.blur()}},{rtlEnabled:M,selfRef:r,mergedClsPrefix:l,mergedDisabled:B,renderedChecked:C,mergedTheme:S,labelId:(0,a.Mc)(),handleClick:function(e){B.value||z(e)},handleKeyUp:function(e){if(!B.value)switch(e.key){case" ":case"Enter":z(e)}},handleKeyDown:function(e){" "===e.key&&e.preventDefault()},cssVars:d?void 0:P,themeClass:null==$?void 0:$.themeClass,onRender:null==$?void 0:$.onRender})},render(){var e;let{$slots:t,renderedChecked:r,mergedDisabled:a,indeterminate:o,privateInsideTable:n,cssVars:s,labelId:c,label:u,mergedClsPrefix:h,focusable:p,handleKeyUp:v,handleKeyDown:b,handleClick:m}=this;null==(e=this.onRender)||e.call(this);let g=(0,f.K9)(t.default,e=>u||e?(0,i.h)("span",{class:`${h}-checkbox__label`,id:c},u||e):null);return(0,i.h)("div",{ref:"selfRef",class:[`${h}-checkbox`,this.themeClass,this.rtlEnabled&&`${h}-checkbox--rtl`,r&&`${h}-checkbox--checked`,a&&`${h}-checkbox--disabled`,o&&`${h}-checkbox--indeterminate`,n&&`${h}-checkbox--inside-table`,g&&`${h}-checkbox--show-label`],tabindex:a||!p?void 0:0,role:"checkbox","aria-checked":o?"mixed":r,"aria-labelledby":c,style:s,onKeyup:v,onKeydown:b,onClick:m,onMousedown:()=>{(0,l.on)("selectstart",window,e=>{e.preventDefault()},{once:!0})}},(0,i.h)("div",{class:`${h}-checkbox-box-wrapper`},"\xa0",(0,i.h)("div",{class:`${h}-checkbox-box`},(0,i.h)(d.Z,null,{default:()=>this.indeterminate?(0,i.h)("div",{key:"indeterminate",class:`${h}-checkbox-icon`},x()):(0,i.h)("div",{key:"check",class:`${h}-checkbox-icon`},y())}),(0,i.h)("div",{class:`${h}-checkbox-box__border`}))),g)}})},90686:function(e,t,r){r.d(t,{ZP:()=>c,lr:()=>s});var l=r(20013),a=r(58786),o=r(54470),n=r(32196),i=r(19050),d=r(44267);let s=(0,i.U)("n-checkbox-group"),c=(0,a.aZ)({name:"CheckboxGroup",props:{min:Number,max:Number,size:String,value:Array,defaultValue:{type:Array,default:null},disabled:{type:Boolean,default:void 0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onChange:[Function,Array]},setup(e){let{mergedClsPrefixRef:t}=(0,o.ZP)(e),r=(0,n.Z)(e),{mergedSizeRef:i,mergedDisabledRef:c}=r,u=(0,a.iH)(e.defaultValue),h=(0,a.Fl)(()=>e.value),p=(0,l.Z)(h,u),v=(0,a.Fl)(()=>{var e;return(null==(e=p.value)?void 0:e.length)||0}),b=(0,a.Fl)(()=>Array.isArray(p.value)?new Set(p.value):new Set);return(0,a.JJ)(s,{checkedCountRef:v,maxRef:(0,a.Vh)(e,"max"),minRef:(0,a.Vh)(e,"min"),valueSetRef:b,disabledRef:c,mergedSizeRef:i,toggleCheckbox:function(t,l){let{nTriggerFormInput:a,nTriggerFormChange:o}=r,{onChange:n,"onUpdate:value":i,onUpdateValue:s}=e;if(Array.isArray(p.value)){let e=Array.from(p.value),r=e.findIndex(e=>e===l);t?!~r&&(e.push(l),s&&(0,d.R)(s,e,{actionType:"check",value:l}),i&&(0,d.R)(i,e,{actionType:"check",value:l}),a(),o(),u.value=e,n&&(0,d.R)(n,e)):~r&&(e.splice(r,1),s&&(0,d.R)(s,e,{actionType:"uncheck",value:l}),i&&(0,d.R)(i,e,{actionType:"uncheck",value:l}),n&&(0,d.R)(n,e),u.value=e,a(),o())}else t?(s&&(0,d.R)(s,[l],{actionType:"check",value:l}),i&&(0,d.R)(i,[l],{actionType:"check",value:l}),n&&(0,d.R)(n,[l]),u.value=[l]):(s&&(0,d.R)(s,[],{actionType:"uncheck",value:l}),i&&(0,d.R)(i,[],{actionType:"uncheck",value:l}),n&&(0,d.R)(n,[]),u.value=[]),a(),o()}}),{mergedClsPrefix:t}},render(){return(0,a.h)("div",{class:`${this.mergedClsPrefix}-checkbox-group`,role:"group"},this.$slots)}})},60424:function(e,t,r){r.d(t,{Z:()=>eO});var l=r(17102),a=r(58786),o=r(62594),n=r(54470),i=r(51048),d=r(56946),s=r(3616),c=r(53198),u=r(60309),h=r(71309),p=r(93950),v=r(75459),b=r(29176),f=r(19050);let m=Object.assign(Object.assign({},d.Z.props),{onUnstableColumnResize:Function,pagination:{type:[Object,Boolean],default:!1},paginateSinglePage:{type:Boolean,default:!0},minHeight:[Number,String],maxHeight:[Number,String],columns:{type:Array,default:()=>[]},rowClassName:[String,Function],rowProps:Function,rowKey:Function,summary:[Function],data:{type:Array,default:()=>[]},loading:Boolean,bordered:{type:Boolean,default:void 0},bottomBordered:{type:Boolean,default:void 0},striped:Boolean,scrollX:[Number,String],defaultCheckedRowKeys:{type:Array,default:()=>[]},checkedRowKeys:Array,singleLine:{type:Boolean,default:!0},singleColumn:Boolean,size:{type:String,default:"medium"},remote:Boolean,defaultExpandedRowKeys:{type:Array,default:[]},defaultExpandAll:Boolean,expandedRowKeys:Array,stickyExpandedRows:Boolean,virtualScroll:Boolean,virtualScrollX:Boolean,virtualScrollHeader:Boolean,headerHeight:{type:Number,default:28},heightForRow:Function,minRowHeight:{type:Number,default:28},tableLayout:{type:String,default:"auto"},allowCheckingNotLoaded:Boolean,cascade:{type:Boolean,default:!0},childrenKey:{type:String,default:"children"},indent:{type:Number,default:16},flexHeight:Boolean,summaryPlacement:{type:String,default:"bottom"},paginationBehaviorOnFilter:{type:String,default:"current"},filterIconPopoverProps:Object,scrollbarProps:Object,renderCell:Function,renderExpandIcon:Function,spinProps:{type:Object,default:{}},getCsvCell:Function,getCsvHeader:Function,onLoad:Function,"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],"onUpdate:sorter":[Function,Array],onUpdateSorter:[Function,Array],"onUpdate:filters":[Function,Array],onUpdateFilters:[Function,Array],"onUpdate:checkedRowKeys":[Function,Array],onUpdateCheckedRowKeys:[Function,Array],"onUpdate:expandedRowKeys":[Function,Array],onUpdateExpandedRowKeys:[Function,Array],onScroll:Function,onPageChange:[Function,Array],onPageSizeChange:[Function,Array],onSorterChange:[Function,Array],onFiltersChange:[Function,Array],onCheckedRowKeysChange:[Function,Array]}),g=(0,f.U)("n-data-table");var y=r(89620),x=r(65083),k=r(61691),w=r(51210),C=r(70020),F=r(97756),B=r(83548),R=r(14501),S=r(39741),z=r(81021);function M(e){return"selection"===e.type||"expand"===e.type?void 0===e.width?40:(0,x.fQ)(e.width):"children"in e?void 0:"string"==typeof e.width?(0,x.fQ)(e.width):e.width}function P(e){return"selection"===e.type?"__n_selection__":"expand"===e.type?"__n_expand__":e.key}function $(e){return e&&"object"==typeof e?Object.assign({},e):e}function Z(e){return void 0!==e.filterOptionValues||void 0===e.filterOptionValue&&void 0!==e.defaultFilterOptionValues}function O(e){return!("children"in e)&&!!e.sorter}function T(e){return(!("children"in e)||!e.children.length)&&!!e.resizable}function N(e){return!("children"in e)&&!!e.filter&&(!!e.filterOptions||!!e.renderFilterMenu)}function E(e){return e?"descend"===e&&"ascend":"descend"}function A(e,t){return void 0!==t.find(t=>t.columnKey===e.key&&t.order)}var H=r(23685);let L=(0,a.aZ)({name:"DataTableBodyCheckbox",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){let{mergedCheckedRowKeySetRef:t,mergedInderminateRowKeySetRef:r}=(0,a.f3)(g);return()=>{let{rowKey:l}=e;return(0,a.h)(H.Z,{privateInsideTable:!0,disabled:e.disabled,indeterminate:r.value.has(l),checked:t.value.has(l),onUpdateChecked:e.onUpdateChecked})}}});var j=r(2352);let I=(0,a.aZ)({name:"DataTableBodyRadio",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){let{mergedCheckedRowKeySetRef:t,componentId:r}=(0,a.f3)(g);return()=>{let{rowKey:l}=e;return(0,a.h)(j.Z,{name:r,disabled:e.disabled,checked:t.value.has(l),onUpdateChecked:e.onUpdateChecked})}}});var V=r(94904),U=r(35409),K=r(27046),_=r(64170);let D=(0,a.aZ)({name:"PerformantEllipsis",props:U.uv,inheritAttrs:!1,setup(e,{attrs:t,slots:r}){let l=(0,a.iH)(!1),o=(0,n.hJ)();return(0,K.Z)("-ellipsis",_.Z,o),{mouseEntered:l,renderTrigger:()=>{let{lineClamp:n}=e,i=o.value;return(0,a.h)("span",Object.assign({},(0,a.dG)(t,{class:[`${i}-ellipsis`,void 0!==n?(0,U.HX)(i):void 0,"click"===e.expandTrigger?(0,U.Ox)(i,"pointer"):void 0],style:void 0===n?{textOverflow:"ellipsis"}:{"-webkit-line-clamp":n}}),{onMouseenter:()=>{l.value=!0}}),n?r:(0,a.h)("span",null,r))}}},render(){return this.mouseEntered?(0,a.h)(U.ZP,(0,a.dG)({},this.$attrs,this.$props),this.$slots):this.renderTrigger()}}),q=(0,a.aZ)({name:"DataTableCell",props:{clsPrefix:{type:String,required:!0},row:{type:Object,required:!0},index:{type:Number,required:!0},column:{type:Object,required:!0},isSummary:Boolean,mergedTheme:{type:Object,required:!0},renderCell:Function},render(){var e;let t,{isSummary:r,column:l,row:o,renderCell:n}=this,{render:i,key:d,ellipsis:s}=l;if(t=i&&!r?i(o,this.index):r?null==(e=o[d])?void 0:e.value:n?n((0,V.Z)(o,d),o,l):(0,V.Z)(o,d),s)if("object"!=typeof s)return(0,a.h)("span",{class:`${this.clsPrefix}-data-table-td__ellipsis`},t);else{let{mergedTheme:e}=this;return"performant-ellipsis"===l.ellipsisComponent?(0,a.h)(D,Object.assign({},s,{theme:e.peers.Ellipsis,themeOverrides:e.peerOverrides.Ellipsis}),{default:()=>t}):(0,a.h)(U.ZP,Object.assign({},s,{theme:e.peers.Ellipsis,themeOverrides:e.peerOverrides.Ellipsis}),{default:()=>t})}return t}});var W=r(76128),X=r(96823),J=r(17351);let Y=(0,a.aZ)({name:"DataTableExpandTrigger",props:{clsPrefix:{type:String,required:!0},expanded:Boolean,loading:Boolean,onClick:{type:Function,required:!0},renderExpandIcon:{type:Function},rowData:{type:Object,required:!0}},render(){let{clsPrefix:e}=this;return(0,a.h)("div",{class:[`${e}-data-table-expand-trigger`,this.expanded&&`${e}-data-table-expand-trigger--expanded`],onClick:this.onClick,onMousedown:e=>{e.preventDefault()}},(0,a.h)(W.Z,null,{default:()=>this.loading?(0,a.h)(o.Z,{key:"loading",clsPrefix:this.clsPrefix,radius:85,strokeWidth:15,scale:.88}):this.renderExpandIcon?this.renderExpandIcon({expanded:this.expanded,rowData:this.rowData}):(0,a.h)(X.Z,{clsPrefix:e,key:"base-icon"},{default:()=>(0,a.h)(J.Z,null)})}))}});var G=r(85259);let Q=(0,a.aZ)({name:"Filter",render:()=>(0,a.h)("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},(0,a.h)("g",{"fill-rule":"nonzero"},(0,a.h)("path",{d:"M17,19 C17.5522847,19 18,19.4477153 18,20 C18,20.5522847 17.5522847,21 17,21 L11,21 C10.4477153,21 10,20.5522847 10,20 C10,19.4477153 10.4477153,19 11,19 L17,19 Z M21,13 C21.5522847,13 22,13.4477153 22,14 C22,14.5522847 21.5522847,15 21,15 L7,15 C6.44771525,15 6,14.5522847 6,14 C6,13.4477153 6.44771525,13 7,13 L21,13 Z M24,7 C24.5522847,7 25,7.44771525 25,8 C25,8.55228475 24.5522847,9 24,9 L4,9 C3.44771525,9 3,8.55228475 3,8 C3,7.44771525 3.44771525,7 4,7 L24,7 Z"}))))});var ee=r(49942),et=r(15496),er=r(90686),el=r(16715);let ea=(0,a.aZ)({name:"DataTableFilterMenu",props:{column:{type:Object,required:!0},radioGroupName:{type:String,required:!0},multiple:{type:Boolean,required:!0},value:{type:[Array,String,Number],default:null},options:{type:Array,required:!0},onConfirm:{type:Function,required:!0},onClear:{type:Function,required:!0},onChange:{type:Function,required:!0}},setup(e){let{mergedClsPrefixRef:t,mergedRtlRef:r}=(0,n.ZP)(e),l=(0,i.V)("DataTable",r,t),{mergedClsPrefixRef:o,mergedThemeRef:d,localeRef:s}=(0,a.f3)(g),c=(0,a.iH)(e.value),u=(0,a.Fl)(()=>{let{value:e}=c;return Array.isArray(e)?e:null});function h(t){e.onChange(t)}return{mergedClsPrefix:o,rtlEnabled:l,mergedTheme:d,locale:s,checkboxGroupValue:u,radioGroupValue:(0,a.Fl)(()=>{let{value:t}=c;return Z(e.column)?Array.isArray(t)&&t.length&&t[0]||null:Array.isArray(t)?null:t}),handleChange:function(t){e.multiple&&Array.isArray(t)?c.value=t:Z(e.column)&&!Array.isArray(t)?c.value=[t]:c.value=t},handleConfirmClick:function(){h(c.value),e.onConfirm()},handleClearClick:function(){e.multiple||Z(e.column)?h([]):h(null),e.onClear()}}},render(){let{mergedTheme:e,locale:t,mergedClsPrefix:r}=this;return(0,a.h)("div",{class:[`${r}-data-table-filter-menu`,this.rtlEnabled&&`${r}-data-table-filter-menu--rtl`]},(0,a.h)(F.Z,null,{default:()=>{let{checkboxGroupValue:t,handleChange:l}=this;return this.multiple?(0,a.h)(er.ZP,{value:t,class:`${r}-data-table-filter-menu__group`,onUpdateValue:l},{default:()=>this.options.map(t=>(0,a.h)(H.Z,{key:t.value,theme:e.peers.Checkbox,themeOverrides:e.peerOverrides.Checkbox,value:t.value},{default:()=>t.label}))}):(0,a.h)(el.Z,{name:this.radioGroupName,class:`${r}-data-table-filter-menu__group`,value:this.radioGroupValue,onUpdateValue:this.handleChange},{default:()=>this.options.map(t=>(0,a.h)(j.Z,{key:t.value,value:t.value,theme:e.peers.Radio,themeOverrides:e.peerOverrides.Radio},{default:()=>t.label}))})}}),(0,a.h)("div",{class:`${r}-data-table-filter-menu__action`},(0,a.h)(et.ZP,{size:"tiny",theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,onClick:this.handleClearClick},{default:()=>t.clear}),(0,a.h)(et.ZP,{theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,type:"primary",size:"tiny",onClick:this.handleConfirmClick},{default:()=>t.confirm})))}}),eo=(0,a.aZ)({name:"DataTableRenderFilter",props:{render:{type:Function,required:!0},active:{type:Boolean,default:!1},show:{type:Boolean,default:!1}},render(){let{render:e,active:t,show:r}=this;return e({active:t,show:r})}}),en=(0,a.aZ)({name:"DataTableFilterButton",props:{column:{type:Object,required:!0},options:{type:Array,default:()=>[]}},setup(e){let{mergedComponentPropsRef:t}=(0,n.ZP)(),{mergedThemeRef:r,mergedClsPrefixRef:l,mergedFilterStateRef:o,filterMenuCssVarsRef:i,paginationBehaviorOnFilterRef:d,doUpdatePage:s,doUpdateFilters:c,filterIconPopoverPropsRef:u}=(0,a.f3)(g),h=(0,a.iH)(!1),p=(0,a.Fl)(()=>!1!==e.column.filterMultiple),v=(0,a.Fl)(()=>{let t=o.value[e.column.key];if(void 0===t){let{value:e}=p;return e?[]:null}return t}),b=(0,a.Fl)(()=>{let{value:e}=v;return Array.isArray(e)?e.length>0:null!==e});return{mergedTheme:r,mergedClsPrefix:l,active:b,showPopover:h,mergedRenderFilter:(0,a.Fl)(()=>{var r,l;return(null==(l=null==(r=null==t?void 0:t.value)?void 0:r.DataTable)?void 0:l.renderFilter)||e.column.renderFilter}),filterIconPopoverProps:u,filterMultiple:p,mergedFilterValue:v,filterMenuCssVars:i,handleFilterChange:function(t){c(function(e,t,r){let l=Object.assign({},e);return l[t]=r,l}(o.value,e.column.key,t),e.column),"first"===d.value&&s(1)},handleFilterMenuConfirm:function(){h.value=!1},handleFilterMenuCancel:function(){h.value=!1}}},render(){let{mergedTheme:e,mergedClsPrefix:t,handleFilterMenuCancel:r,filterIconPopoverProps:l}=this;return(0,a.h)(ee.ZP,Object.assign({show:this.showPopover,onUpdateShow:e=>this.showPopover=e,trigger:"click",theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,placement:"bottom"},l,{style:{padding:0}}),{trigger:()=>{let{mergedRenderFilter:e}=this;if(e)return(0,a.h)(eo,{"data-data-table-filter":!0,render:e,active:this.active,show:this.showPopover});let{renderFilterIcon:r}=this.column;return(0,a.h)("div",{"data-data-table-filter":!0,class:[`${t}-data-table-filter`,{[`${t}-data-table-filter--active`]:this.active,[`${t}-data-table-filter--show`]:this.showPopover}]},r?r({active:this.active,show:this.showPopover}):(0,a.h)(X.Z,{clsPrefix:t},{default:()=>(0,a.h)(Q,null)}))},default:()=>{let{renderFilterMenu:e}=this.column;return e?e({hide:r}):(0,a.h)(ea,{style:this.filterMenuCssVars,radioGroupName:String(this.column.key),multiple:this.filterMultiple,value:this.mergedFilterValue,options:this.options,column:this.column,onChange:this.handleFilterChange,onClear:this.handleFilterMenuCancel,onConfirm:this.handleFilterMenuConfirm})}})}});var ei=r(82518);let ed=(0,a.aZ)({name:"ColumnResizeButton",props:{onResizeStart:Function,onResize:Function,onResizeEnd:Function},setup(e){let{mergedClsPrefixRef:t}=(0,a.f3)(g),r=(0,a.iH)(!1),l=0;function o(t){var r;null==(r=e.onResize)||r.call(e,t.clientX-l)}function n(){var t;r.value=!1,null==(t=e.onResizeEnd)||t.call(e),(0,ei.S)("mousemove",window,o),(0,ei.S)("mouseup",window,n)}return(0,a.Jd)(()=>{(0,ei.S)("mousemove",window,o),(0,ei.S)("mouseup",window,n)}),{mergedClsPrefix:t,active:r,handleMousedown:function(t){var a;t.preventDefault();let i=r.value;l=t.clientX,r.value=!0,i||((0,ei.on)("mousemove",window,o),(0,ei.on)("mouseup",window,n),null==(a=e.onResizeStart)||a.call(e))}}},render(){let{mergedClsPrefix:e}=this;return(0,a.h)("span",{"data-data-table-resizable":!0,class:[`${e}-data-table-resize-button`,this.active&&`${e}-data-table-resize-button--active`],onMousedown:this.handleMousedown})}}),es=(0,a.aZ)({name:"ArrowDown",render:()=>(0,a.h)("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},(0,a.h)("g",{"fill-rule":"nonzero"},(0,a.h)("path",{d:"M23.7916,15.2664 C24.0788,14.9679 24.0696,14.4931 23.7711,14.206 C23.4726,13.9188 22.9978,13.928 22.7106,14.2265 L14.7511,22.5007 L14.7511,3.74792 C14.7511,3.33371 14.4153,2.99792 14.0011,2.99792 C13.5869,2.99792 13.2511,3.33371 13.2511,3.74793 L13.2511,22.4998 L5.29259,14.2265 C5.00543,13.928 4.53064,13.9188 4.23213,14.206 C3.93361,14.4931 3.9244,14.9679 4.21157,15.2664 L13.2809,24.6944 C13.6743,25.1034 14.3289,25.1034 14.7223,24.6944 L23.7916,15.2664 Z"}))))}),ec=(0,a.aZ)({name:"DataTableRenderSorter",props:{render:{type:Function,required:!0},order:{type:[String,Boolean],default:!1}},render(){let{render:e,order:t}=this;return e({order:t})}}),eu=(0,a.aZ)({name:"SortIcon",props:{column:{type:Object,required:!0}},setup(e){let{mergedComponentPropsRef:t}=(0,n.ZP)(),{mergedSortStateRef:r,mergedClsPrefixRef:l}=(0,a.f3)(g),o=(0,a.Fl)(()=>r.value.find(t=>t.columnKey===e.column.key)),i=(0,a.Fl)(()=>void 0!==o.value),d=(0,a.Fl)(()=>{let{value:e}=o;return!!e&&!!i.value&&e.order});return{mergedClsPrefix:l,active:i,mergedSortOrder:d,mergedRenderSorter:(0,a.Fl)(()=>{var r,l;return(null==(l=null==(r=null==t?void 0:t.value)?void 0:r.DataTable)?void 0:l.renderSorter)||e.column.renderSorter})}},render(){let{mergedRenderSorter:e,mergedSortOrder:t,mergedClsPrefix:r}=this,{renderSorterIcon:l}=this.column;return e?(0,a.h)(ec,{render:e,order:t}):(0,a.h)("span",{class:[`${r}-data-table-sorter`,"ascend"===t&&`${r}-data-table-sorter--asc`,"descend"===t&&`${r}-data-table-sorter--desc`]},l?l({order:t}):(0,a.h)(X.Z,{clsPrefix:r},{default:()=>(0,a.h)(es,null)}))}});var eh=r(78740),ep=r(52742);let ev="_n_all__",eb="_n_none__",ef=(0,a.aZ)({name:"DataTableSelectionMenu",props:{clsPrefix:{type:String,required:!0}},setup(e){let{props:t,localeRef:r,checkOptionsRef:l,rawPaginatedDataRef:o,doCheckAll:n,doUncheckAll:i}=(0,a.f3)(g),d=(0,a.Fl)(()=>{var e;return e=l.value,e?t=>{for(let r of e)switch(t){case ev:n(!0);return;case eb:i(!0);return;default:if("object"==typeof r&&r.key===t)return void r.onSelect(o.value)}}:()=>{}}),s=(0,a.Fl)(()=>{var e,t;return e=l.value,t=r.value,e?e.map(e=>{switch(e){case"all":return{label:t.checkTableAll,key:ev};case"none":return{label:t.uncheckTableAll,key:eb};default:return e}}):[]});return()=>{var r,l,o,n;let{clsPrefix:i}=e;return(0,a.h)(ep.Z,{theme:null==(l=null==(r=t.theme)?void 0:r.peers)?void 0:l.Dropdown,themeOverrides:null==(n=null==(o=t.themeOverrides)?void 0:o.peers)?void 0:n.Dropdown,options:s.value,onSelect:d.value},{default:()=>(0,a.h)(X.Z,{clsPrefix:i,class:`${i}-data-table-check-extra`},{default:()=>(0,a.h)(eh.Z,null)})})}}});function em(e){return"function"==typeof e.title?e.title(e):e.title}let eg=(0,a.aZ)({props:{clsPrefix:{type:String,required:!0},id:{type:String,required:!0},cols:{type:Array,required:!0},width:String},render(){let{clsPrefix:e,id:t,cols:r,width:l}=this;return(0,a.h)("table",{style:{tableLayout:"fixed",width:l},class:`${e}-data-table-table`},(0,a.h)("colgroup",null,r.map(e=>(0,a.h)("col",{key:e.key,style:e.style}))),(0,a.h)("thead",{"data-n-id":t,class:`${e}-data-table-thead`},this.$slots))}}),ey=(0,a.aZ)({name:"DataTableHeader",props:{discrete:{type:Boolean,default:!0}},setup(){let{mergedClsPrefixRef:e,scrollXRef:t,fixedColumnLeftMapRef:r,fixedColumnRightMapRef:l,mergedCurrentPageRef:o,allRowsCheckedRef:n,someRowsCheckedRef:i,rowsRef:d,colsRef:s,mergedThemeRef:c,checkOptionsRef:u,mergedSortStateRef:h,componentId:p,mergedTableLayoutRef:v,headerCheckboxDisabledRef:b,virtualScrollHeaderRef:f,headerHeightRef:m,onUnstableColumnResize:y,doUpdateResizableWidth:x,handleTableHeaderScroll:k,deriveNextSorter:w,doUncheckAll:C,doCheckAll:F}=(0,a.f3)(g),B=(0,a.iH)(),R=(0,a.iH)({});function S(e){let t=R.value[e];return null==t?void 0:t.getBoundingClientRect().width}let z=new Map;return{cellElsRef:R,componentId:p,mergedSortState:h,mergedClsPrefix:e,scrollX:t,fixedColumnLeftMap:r,fixedColumnRightMap:l,currentPage:o,allRowsChecked:n,someRowsChecked:i,rows:d,cols:s,mergedTheme:c,checkOptions:u,mergedTableLayout:v,headerCheckboxDisabled:b,headerHeight:m,virtualScrollHeader:f,virtualListRef:B,handleCheckboxUpdateChecked:function(){n.value?C():F()},handleColHeaderClick:function(e,t){if((0,G.B)(e,"dataTableFilter")||(0,G.B)(e,"dataTableResizable")||!O(t))return;let r=h.value.find(e=>e.columnKey===t.key)||null;w(void 0===t.sorter?null:null===r||r.columnKey!==t.key?{columnKey:t.key,sorter:t.sorter,order:E(!1)}:Object.assign(Object.assign({},r),{order:E(r.order)}))},handleTableHeaderScroll:k,handleColumnResizeStart:function(e){z.set(e.key,S(e.key))},handleColumnResize:function(e,t){var r,l,a;let o=z.get(e.key);if(void 0===o)return;let n=o+t,i=(r=n,l=e.minWidth,void 0!==(a=e.maxWidth)&&(r=Math.min(r,"number"==typeof a?a:Number.parseFloat(a))),void 0!==l&&(r=Math.max(r,"number"==typeof l?l:Number.parseFloat(l))),r);y(n,i,e,S),x(e,i)}}},render(){let{cellElsRef:e,mergedClsPrefix:t,fixedColumnLeftMap:r,fixedColumnRightMap:l,currentPage:o,allRowsChecked:n,someRowsChecked:i,rows:d,cols:s,mergedTheme:c,checkOptions:u,componentId:h,discrete:p,mergedTableLayout:v,headerCheckboxDisabled:b,mergedSortState:f,virtualScrollHeader:m,handleColHeaderClick:g,handleCheckboxUpdateChecked:k,handleColumnResizeStart:C,handleColumnResize:F}=this,B=!1,R=(d,s,h)=>d.map(({column:d,colIndex:p,colSpan:v,rowSpan:m,isLast:y})=>{var w,R;let S=P(d),{ellipsis:z}=d;!B&&z&&(B=!0);let M=S in r,$=S in l,Z=s&&!d.fixed?"div":"th";return(0,a.h)(Z,{ref:t=>e[S]=t,key:S,style:[s&&!d.fixed?{position:"absolute",left:(0,x.BL)(s(p)),top:0,bottom:0}:{left:(0,x.BL)(null==(w=r[S])?void 0:w.start),right:(0,x.BL)(null==(R=l[S])?void 0:R.start)},{width:(0,x.BL)(d.width),textAlign:d.titleAlign||d.align,height:h}],colspan:v,rowspan:m,"data-col-key":S,class:[`${t}-data-table-th`,(M||$)&&`${t}-data-table-th--fixed-${M?"left":"right"}`,{[`${t}-data-table-th--sorting`]:A(d,f),[`${t}-data-table-th--filterable`]:N(d),[`${t}-data-table-th--sortable`]:O(d),[`${t}-data-table-th--selection`]:"selection"===d.type,[`${t}-data-table-th--last`]:y},d.className],onClick:"selection"===d.type||"expand"===d.type||"children"in d?void 0:e=>{g(e,d)}},"selection"===d.type?!1!==d.multiple?(0,a.h)(a.HY,null,(0,a.h)(H.Z,{key:o,privateInsideTable:!0,checked:n,indeterminate:i,disabled:b,onUpdateChecked:k}),u?(0,a.h)(ef,{clsPrefix:t}):null):null:(0,a.h)(a.HY,null,(0,a.h)("div",{class:`${t}-data-table-th__title-wrapper`},(0,a.h)("div",{class:`${t}-data-table-th__title`},!0===z||z&&!z.tooltip?(0,a.h)("div",{class:`${t}-data-table-th__ellipsis`},em(d)):z&&"object"==typeof z?(0,a.h)(U.ZP,Object.assign({},z,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>em(d)}):em(d)),O(d)?(0,a.h)(eu,{column:d}):null),N(d)?(0,a.h)(en,{column:d,options:d.filterOptions}):null,T(d)?(0,a.h)(ed,{onResizeStart:()=>{C(d)},onResize:e=>{F(d,e)}}):null))});if(m){let{headerHeight:e}=this,r=0,l=0;return s.forEach(e=>{"left"===e.column.fixed?r++:"right"===e.column.fixed&&l++}),(0,a.h)(w.Z,{ref:"virtualListRef",class:`${t}-data-table-base-table-header`,style:{height:(0,x.BL)(e)},onScroll:this.handleTableHeaderScroll,columns:s,itemSize:e,showScrollbar:!1,items:[{}],itemResizable:!1,visibleItemsTag:eg,visibleItemsProps:{clsPrefix:t,id:h,cols:s,width:(0,y.N)(this.scrollX)},renderItemWithCols:({startColIndex:t,endColIndex:o,getLeft:n})=>{let i=R(s.map((e,t)=>({column:e.column,isLast:t===s.length-1,colIndex:e.index,colSpan:1,rowSpan:1})).filter(({column:e},r)=>!!(t<=r)&&!!(r<=o)||!!e.fixed),n,(0,x.BL)(e));return i.splice(r,0,(0,a.h)("th",{colspan:s.length-r-l,style:{pointerEvents:"none",visibility:"hidden",height:0}})),(0,a.h)("tr",{style:{position:"relative"}},i)}},{default:({renderedItemWithCols:e})=>e})}let S=(0,a.h)("thead",{class:`${t}-data-table-thead`,"data-n-id":h},d.map(e=>(0,a.h)("tr",{class:`${t}-data-table-tr`},R(e,null,void 0))));if(!p)return S;let{handleTableHeaderScroll:z,scrollX:M}=this;return(0,a.h)("div",{class:`${t}-data-table-base-table-header`,onScroll:z},(0,a.h)("table",{class:`${t}-data-table-table`,style:{minWidth:(0,y.N)(M),tableLayout:v}},(0,a.h)("colgroup",null,s.map(e=>(0,a.h)("col",{key:e.key,style:e.style}))),S))}}),ex=(0,a.aZ)({props:{clsPrefix:{type:String,required:!0},id:{type:String,required:!0},cols:{type:Array,required:!0},onMouseenter:Function,onMouseleave:Function},render(){let{clsPrefix:e,id:t,cols:r,onMouseenter:l,onMouseleave:o}=this;return(0,a.h)("table",{style:{tableLayout:"fixed"},class:`${e}-data-table-table`,onMouseenter:l,onMouseleave:o},(0,a.h)("colgroup",null,r.map(e=>(0,a.h)("col",{key:e.key,style:e.style}))),(0,a.h)("tbody",{"data-n-id":t,class:`${e}-data-table-tbody`},this.$slots))}}),ek=(0,a.aZ)({name:"DataTableBody",props:{onResize:Function,showHeader:Boolean,flexHeight:Boolean,bodyStyle:Object},setup(e){let{slots:t,bodyWidthRef:r,mergedExpandedRowKeysRef:l,mergedClsPrefixRef:o,mergedThemeRef:n,scrollXRef:i,colsRef:d,paginatedDataRef:s,rawPaginatedDataRef:c,fixedColumnLeftMapRef:u,fixedColumnRightMapRef:p,mergedCurrentPageRef:v,rowClassNameRef:b,leftActiveFixedColKeyRef:f,leftActiveFixedChildrenColKeysRef:m,rightActiveFixedColKeyRef:y,rightActiveFixedChildrenColKeysRef:x,renderExpandRef:w,hoverKeyRef:C,summaryRef:F,mergedSortStateRef:z,virtualScrollRef:M,virtualScrollXRef:P,heightForRowRef:$,minRowHeightRef:Z,componentId:O,mergedTableLayoutRef:T,childTriggerColIndexRef:N,indentRef:E,rowPropsRef:A,maxHeightRef:H,stripedRef:L,loadingRef:j,onLoadRef:I,loadingKeySetRef:V,expandableRef:U,stickyExpandedRowsRef:K,renderExpandIconRef:_,summaryPlacementRef:D,treeMateRef:q,scrollbarPropsRef:W,setHeaderScrollLeft:X,doUpdateExpandedRowKeys:J,handleTableBodyScroll:Y,doCheck:G,doUncheck:Q,renderCell:ee}=(0,a.f3)(g),et=(0,a.f3)(S.Y),er=(0,a.iH)(null),el=(0,a.iH)(null),ea=(0,a.iH)(null),eo=(0,k.Z)(()=>0===s.value.length),en=(0,k.Z)(()=>e.showHeader||!eo.value),ei=(0,k.Z)(()=>e.showHeader||eo.value),ed="",es=(0,a.Fl)(()=>new Set(l.value));function ec(e){var t;return null==(t=q.value.getNode(e))?void 0:t.rawNode}function eu(){let{value:e}=el;return(null==e?void 0:e.listElRef)||null}let eh=(0,h.c)([({props:e})=>{let t=t=>null===t?null:(0,h.c)(`[data-n-id="${e.componentId}"] [data-col-key="${t}"]::after`,{boxShadow:"var(--n-box-shadow-after)"}),r=t=>null===t?null:(0,h.c)(`[data-n-id="${e.componentId}"] [data-col-key="${t}"]::before`,{boxShadow:"var(--n-box-shadow-before)"});return(0,h.c)([t(e.leftActiveFixedColKey),r(e.rightActiveFixedColKey),e.leftActiveFixedChildrenColKeys.map(e=>t(e)),e.rightActiveFixedChildrenColKeys.map(e=>r(e))])}]),ep=!1;return(0,a.m0)(()=>{let{value:e}=f,{value:t}=m,{value:r}=y,{value:l}=x;(ep||null!==e||null!==r)&&(eh.mount({id:`n-${O}`,force:!0,props:{leftActiveFixedColKey:e,leftActiveFixedChildrenColKeys:t,rightActiveFixedColKey:r,rightActiveFixedChildrenColKeys:l,componentId:O},anchorMetaName:B.A,parent:null==et?void 0:et.styleMountTarget}),ep=!0)}),(0,a.SK)(()=>{eh.unmount({id:`n-${O}`,parent:null==et?void 0:et.styleMountTarget})}),Object.assign({bodyWidth:r,summaryPlacement:D,dataTableSlots:t,componentId:O,scrollbarInstRef:er,virtualListRef:el,emptyElRef:ea,summary:F,mergedClsPrefix:o,mergedTheme:n,scrollX:i,cols:d,loading:j,bodyShowHeaderOnly:ei,shouldDisplaySomeTablePart:en,empty:eo,paginatedDataAndInfo:(0,a.Fl)(()=>{let{value:e}=L,t=!1;return{data:s.value.map(e?(e,r)=>(e.isLeaf||(t=!0),{tmNode:e,key:e.key,striped:r%2==1,index:r}):(e,r)=>(e.isLeaf||(t=!0),{tmNode:e,key:e.key,striped:!1,index:r})),hasChildren:t}}),rawPaginatedData:c,fixedColumnLeftMap:u,fixedColumnRightMap:p,currentPage:v,rowClassName:b,renderExpand:w,mergedExpandedRowKeySet:es,hoverKey:C,mergedSortState:z,virtualScroll:M,virtualScrollX:P,heightForRow:$,minRowHeight:Z,mergedTableLayout:T,childTriggerColIndex:N,indent:E,rowProps:A,maxHeight:H,loadingKeySet:V,expandable:U,stickyExpandedRows:K,renderExpandIcon:_,scrollbarProps:W,setHeaderScrollLeft:X,handleVirtualListScroll:function(e){var t;Y(e),null==(t=er.value)||t.sync()},handleVirtualListResize:function(t){var r;let{onResize:l}=e;l&&l(t),null==(r=er.value)||r.sync()},handleMouseleaveTable:function(){C.value=null},virtualListContainer:eu,virtualListContent:function(){let{value:e}=el;return(null==e?void 0:e.itemsElRef)||null},handleTableBodyScroll:Y,handleCheckboxUpdateChecked:function(e,t,r){let l=ec(e.key);if(!l)return void(0,R.ZK)("data-table",`fail to get row data with key ${e.key}`);if(r){let r=s.value.findIndex(e=>e.key===ed);if(-1!==r){let a=s.value.findIndex(t=>t.key===e.key),o=Math.min(r,a),n=Math.max(r,a),i=[];s.value.slice(o,n+1).forEach(e=>{e.disabled||i.push(e.key)}),t?G(i,!1,l):Q(i,l),ed=e.key;return}}t?G(e.key,!1,l):Q(e.key,l),ed=e.key},handleRadioUpdateChecked:function(e){let t=ec(e.key);if(!t)return void(0,R.ZK)("data-table",`fail to get row data with key ${e.key}`);G(e.key,!0,t)},handleUpdateExpanded:function(e,t){var r;if(V.value.has(e))return;let{value:a}=l,o=a.indexOf(e),n=Array.from(a);~o?(n.splice(o,1),J(n)):!t||t.isLeaf||t.shallowLoaded?(n.push(e),J(n)):(V.value.add(e),null==(r=I.value)||r.call(I,t.rawNode).then(()=>{let{value:t}=l,r=Array.from(t);~r.indexOf(e)||r.push(e),J(r)}).finally(()=>{V.value.delete(e)}))},renderCell:ee},{getScrollContainer:function(){if(!en.value){let{value:e}=ea;return e||null}if(M.value)return eu();let{value:e}=er;return e?e.containerRef:null},scrollTo(e,t){var r,l;M.value?null==(r=el.value)||r.scrollTo(e,t):null==(l=er.value)||l.scrollTo(e,t)}})},render(){let{mergedTheme:e,scrollX:t,mergedClsPrefix:r,virtualScroll:o,maxHeight:n,mergedTableLayout:i,flexHeight:d,loadingKeySet:s,onResize:c,setHeaderScrollLeft:u}=this,h=void 0!==t||void 0!==n||d,v=!h&&"auto"===i,b=void 0!==t||v,f={minWidth:(0,y.N)(t)||"100%"};t&&(f.width="100%");let m=(0,a.h)(F.Z,Object.assign({},this.scrollbarProps,{ref:"scrollbarInstRef",scrollable:h||v,class:`${r}-data-table-base-table-body`,style:this.empty?void 0:this.bodyStyle,theme:e.peers.Scrollbar,themeOverrides:e.peerOverrides.Scrollbar,contentStyle:f,container:o?this.virtualListContainer:void 0,content:o?this.virtualListContent:void 0,horizontalRailStyle:{zIndex:3},verticalRailStyle:{zIndex:3},xScrollable:b,onScroll:o?void 0:this.handleTableBodyScroll,internalOnUpdateScrollLeft:u,onResize:c}),{default:()=>{let e,t={},n={},{cols:i,paginatedDataAndInfo:d,mergedTheme:c,fixedColumnLeftMap:u,fixedColumnRightMap:h,currentPage:p,rowClassName:v,mergedSortState:b,mergedExpandedRowKeySet:m,stickyExpandedRows:g,componentId:y,childTriggerColIndex:k,expandable:C,rowProps:F,handleMouseleaveTable:B,renderExpand:R,summary:S,handleCheckboxUpdateChecked:z,handleRadioUpdateChecked:M,handleUpdateExpanded:$,heightForRow:Z,minRowHeight:O,virtualScrollX:T}=this,{length:N}=i,{data:E,hasChildren:H}=d,j=H?function(e,t){let r=[];return e.forEach(e=>{r.push(e);let{children:l}=e.tmNode;l&&t.has(e.key)&&function e(l,a){l.forEach(l=>{l.children&&t.has(l.key)?(r.push({tmNode:l,striped:!1,key:l.key,index:a}),e(l.children,a)):r.push({key:l.key,tmNode:l,striped:!1,index:a})})}(l,e.index)}),r}(E,m):E;if(S){let t=S(this.rawPaginatedData);if(Array.isArray(t)){let r=t.map((e,t)=>({isSummaryRow:!0,key:`__n_summary__${t}`,tmNode:{rawNode:e,disabled:!0},index:-1}));e="top"===this.summaryPlacement?[...r,...j]:[...j,...r]}else{let r={isSummaryRow:!0,key:"__n_summary__",tmNode:{rawNode:t,disabled:!0},index:-1};e="top"===this.summaryPlacement?[r,...j]:[...j,r]}}else e=j;let V=H?{width:(0,x.BL)(this.indent)}:void 0,U=[];e.forEach(e=>{R&&m.has(e.key)&&(!C||C(e.tmNode.rawNode))?U.push(e,{isExpandedRow:!0,key:`${e.key}-expand`,tmNode:e.tmNode,index:e.index}):U.push(e)});let{length:K}=U,_={};E.forEach(({tmNode:e},t)=>{_[t]=e.key});let D=g?this.bodyWidth:null,W=null===D?void 0:`${D}px`,X=this.virtualScrollX?"div":"td",J=0,G=0;T&&i.forEach(e=>{"left"===e.column.fixed?J++:"right"===e.column.fixed&&G++});let Q=({rowInfo:e,displayedRowIndex:o,isVirtual:d,isVirtualX:f,startColIndex:y,endColIndex:w,getLeft:C})=>{let{index:B}=e;if("isExpandedRow"in e){let{tmNode:{key:t,rawNode:l}}=e;return(0,a.h)("tr",{class:`${r}-data-table-tr ${r}-data-table-tr--expanded`,key:`${t}__expand`},(0,a.h)("td",{class:[`${r}-data-table-td`,`${r}-data-table-td--last-col`,o+1===K&&`${r}-data-table-td--last-row`],colspan:N},g?(0,a.h)("div",{class:`${r}-data-table-expand`,style:{width:W}},R(l,B)):R(l,B)))}let S="isSummaryRow"in e,T=!S&&e.striped,{tmNode:E,key:j}=e,{rawNode:U}=E,D=m.has(j),Q=F?F(U,B):void 0,ee="string"==typeof v?v:"function"==typeof v?v(U,B):v||"",et=f?i.filter((e,t)=>!!(y<=t)&&!!(t<=w)||!!e.column.fixed):i,er=f?(0,x.BL)((null==Z?void 0:Z(U,B))||O):void 0,el=et.map(i=>{var v,m,g,y,w;let F=i.index;if(o in t){let e=t[o],r=e.indexOf(F);if(~r)return e.splice(r,1),null}let{column:R}=i,Z=P(i),{rowSpan:O,colSpan:T}=R,E=S?(null==(v=e.tmNode.rawNode[Z])?void 0:v.colSpan)||1:T?T(U,B):1,W=S?(null==(m=e.tmNode.rawNode[Z])?void 0:m.rowSpan)||1:O?O(U,B):1,J=F+E===N,G=W>1;if(G&&(n[o]={[F]:[]}),E>1||G)for(let e=o;e<o+W;++e){G&&n[o][F].push(_[e]);for(let r=F;r<F+E;++r)(e!==o||r!==F)&&(e in t?t[e].push(r):t[e]=[r])}let Q=G?this.hoverKey:null,{cellProps:ee}=R,et=null==ee?void 0:ee(U,B),el={"--indent-offset":""},ea=R.fixed?"td":X;return(0,a.h)(ea,Object.assign({},et,{key:Z,style:[{textAlign:R.align||void 0,width:(0,x.BL)(R.width)},f&&{height:er},f&&!R.fixed?{position:"absolute",left:(0,x.BL)(C(F)),top:0,bottom:0}:{left:(0,x.BL)(null==(g=u[Z])?void 0:g.start),right:(0,x.BL)(null==(y=h[Z])?void 0:y.start)},el,(null==et?void 0:et.style)||""],colspan:E,rowspan:d?void 0:W,"data-col-key":Z,class:[`${r}-data-table-td`,R.className,null==et?void 0:et.class,S&&`${r}-data-table-td--summary`,null!==Q&&n[o][F].includes(Q)&&`${r}-data-table-td--hover`,A(R,b)&&`${r}-data-table-td--sorting`,R.fixed&&`${r}-data-table-td--fixed-${R.fixed}`,R.align&&`${r}-data-table-td--${R.align}-align`,"selection"===R.type&&`${r}-data-table-td--selection`,"expand"===R.type&&`${r}-data-table-td--expand`,J&&`${r}-data-table-td--last-col`,o+W===K&&`${r}-data-table-td--last-row`]}),H&&F===k?[(0,l.rx)(el["--indent-offset"]=S?0:e.tmNode.level,(0,a.h)("div",{class:`${r}-data-table-indent`,style:V})),S||e.tmNode.isLeaf?(0,a.h)("div",{class:`${r}-data-table-expand-placeholder`}):(0,a.h)(Y,{class:`${r}-data-table-expand-trigger`,clsPrefix:r,expanded:D,rowData:U,renderExpandIcon:this.renderExpandIcon,loading:s.has(e.key),onClick:()=>{$(j,e.tmNode)}})]:null,"selection"===R.type?S?null:!1===R.multiple?(0,a.h)(I,{key:p,rowKey:j,disabled:e.tmNode.disabled,onUpdateChecked:()=>{M(e.tmNode)}}):(0,a.h)(L,{key:p,rowKey:j,disabled:e.tmNode.disabled,onUpdateChecked:(t,r)=>{z(e.tmNode,t,r.shiftKey)}}):"expand"===R.type?S?null:!R.expandable||(null==(w=R.expandable)?void 0:w.call(R,U))?(0,a.h)(Y,{clsPrefix:r,rowData:U,expanded:D,renderExpandIcon:this.renderExpandIcon,onClick:()=>{$(j,null)}}):null:(0,a.h)(q,{clsPrefix:r,index:B,row:U,column:R,isSummary:S,mergedTheme:c,renderCell:this.renderCell}))});return f&&J&&G&&el.splice(J,0,(0,a.h)("td",{colspan:i.length-J-G,style:{pointerEvents:"none",visibility:"hidden",height:0}})),(0,a.h)("tr",Object.assign({},Q,{onMouseenter:e=>{var t;this.hoverKey=j,null==(t=null==Q?void 0:Q.onMouseenter)||t.call(Q,e)},key:j,class:[`${r}-data-table-tr`,S&&`${r}-data-table-tr--summary`,T&&`${r}-data-table-tr--striped`,D&&`${r}-data-table-tr--expanded`,ee,null==Q?void 0:Q.class],style:[null==Q?void 0:Q.style,f&&{height:er}]}),el)};return o?(0,a.h)(w.Z,{ref:"virtualListRef",items:U,itemSize:this.minRowHeight,visibleItemsTag:ex,visibleItemsProps:{clsPrefix:r,id:y,cols:i,onMouseleave:B},showScrollbar:!1,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemsStyle:f,itemResizable:!T,columns:i,renderItemWithCols:T?({itemIndex:e,item:t,startColIndex:r,endColIndex:l,getLeft:a})=>Q({displayedRowIndex:e,isVirtual:!0,isVirtualX:!0,rowInfo:t,startColIndex:r,endColIndex:l,getLeft:a}):void 0},{default:({item:e,index:t,renderedItemWithCols:r})=>r||Q({rowInfo:e,displayedRowIndex:t,isVirtual:!0,isVirtualX:!1,startColIndex:0,endColIndex:0,getLeft:e=>0})}):(0,a.h)("table",{class:`${r}-data-table-table`,onMouseleave:B,style:{tableLayout:this.mergedTableLayout}},(0,a.h)("colgroup",null,i.map(e=>(0,a.h)("col",{key:e.key,style:e.style}))),this.showHeader?(0,a.h)(ey,{discrete:!1}):null,this.empty?null:(0,a.h)("tbody",{"data-n-id":y,class:`${r}-data-table-tbody`},U.map((e,t)=>Q({rowInfo:e,displayedRowIndex:t,isVirtual:!1,isVirtualX:!1,startColIndex:-1,endColIndex:-1,getLeft:e=>-1}))))}});if(this.empty){let e=()=>(0,a.h)("div",{class:[`${r}-data-table-empty`,this.loading&&`${r}-data-table-empty--hide`],style:this.bodyStyle,ref:"emptyElRef"},(0,p.gI)(this.dataTableSlots.empty,()=>[(0,a.h)(z.Z,{theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})]));return this.shouldDisplaySomeTablePart?(0,a.h)(a.HY,null,m,e()):(0,a.h)(C.Z,{onResize:this.onResize},{default:e})}return m}}),ew=(0,a.aZ)({name:"MainTable",setup(){let{mergedClsPrefixRef:e,rightFixedColumnsRef:t,leftFixedColumnsRef:r,bodyWidthRef:l,maxHeightRef:o,minHeightRef:n,flexHeightRef:i,virtualScrollHeaderRef:d,syncScrollState:s}=(0,a.f3)(g),c=(0,a.iH)(null),u=(0,a.iH)(null),h=(0,a.iH)(null),p=(0,a.iH)(!(r.value.length||t.value.length)),v=(0,a.Fl)(()=>({maxHeight:(0,y.N)(o.value),minHeight:(0,y.N)(n.value)}));return(0,a.m0)(()=>{let{value:t}=h;if(!t)return;let r=`${e.value}-data-table-base-table--transition-disabled`;p.value?setTimeout(()=>{t.classList.remove(r)},0):t.classList.add(r)}),Object.assign({maxHeight:o,mergedClsPrefix:e,selfElRef:h,headerInstRef:c,bodyInstRef:u,bodyStyle:v,flexHeight:i,handleBodyResize:function(e){l.value=e.contentRect.width,s(),p.value||(p.value=!0)}},{getBodyElement:function(){let{value:e}=u;return e?e.getScrollContainer():null},getHeaderElement:function(){var e;let{value:t}=c;if(t)if(d.value)return(null==(e=t.virtualListRef)?void 0:e.listElRef)||null;else return t.$el;return null},scrollTo(e,t){var r;null==(r=u.value)||r.scrollTo(e,t)}})},render(){let{mergedClsPrefix:e,maxHeight:t,flexHeight:r}=this,l=void 0===t&&!r;return(0,a.h)("div",{class:`${e}-data-table-base-table`,ref:"selfElRef"},l?null:(0,a.h)(ey,{ref:"headerInstRef"}),(0,a.h)(ek,{ref:"bodyInstRef",bodyStyle:this.bodyStyle,showHeader:l,flexHeight:r,onResize:this.handleBodyResize}))}});var eC=r(74732),eF=r(28632);let eB=[(0,h.cM)("fixed-left",`- left: 0;- position: sticky;- z-index: 2;- `,[(0,h.c)("&::after",`- pointer-events: none;- content: "";- width: 36px;- display: inline-block;- position: absolute;- top: 0;- bottom: -1px;- transition: box-shadow .2s var(--n-bezier);- right: -36px;- `)]),(0,h.cM)("fixed-right",`- right: 0;- position: sticky;- z-index: 1;- `,[(0,h.c)("&::before",`- pointer-events: none;- content: "";- width: 36px;- display: inline-block;- position: absolute;- top: 0;- bottom: -1px;- transition: box-shadow .2s var(--n-bezier);- left: -36px;- `)])],eR=(0,h.c)([(0,h.cB)("data-table",`- width: 100%;- font-size: var(--n-font-size);- display: flex;- flex-direction: column;- position: relative;- --n-merged-th-color: var(--n-th-color);- --n-merged-td-color: var(--n-td-color);- --n-merged-border-color: var(--n-border-color);- --n-merged-th-color-sorting: var(--n-th-color-sorting);- --n-merged-td-color-hover: var(--n-td-color-hover);- --n-merged-td-color-sorting: var(--n-td-color-sorting);- --n-merged-td-color-striped: var(--n-td-color-striped);- `,[(0,h.cB)("data-table-wrapper",`- flex-grow: 1;- display: flex;- flex-direction: column;- `),(0,h.cM)("flex-height",[(0,h.c)(">",[(0,h.cB)("data-table-wrapper",[(0,h.c)(">",[(0,h.cB)("data-table-base-table",`- display: flex;- flex-direction: column;- flex-grow: 1;- `,[(0,h.c)(">",[(0,h.cB)("data-table-base-table-body","flex-basis: 0;",[(0,h.c)("&:last-child","flex-grow: 1;")])])])])])])]),(0,h.c)(">",[(0,h.cB)("data-table-loading-wrapper",`- color: var(--n-loading-color);- font-size: var(--n-loading-size);- position: absolute;- left: 50%;- top: 50%;- transform: translateX(-50%) translateY(-50%);- transition: color .3s var(--n-bezier);- display: flex;- align-items: center;- justify-content: center;- `,[(0,eC.h)({originalTransform:"translateX(-50%) translateY(-50%)"})])]),(0,h.cB)("data-table-expand-placeholder",`- margin-right: 8px;- display: inline-block;- width: 16px;- height: 1px;- `),(0,h.cB)("data-table-indent",`- display: inline-block;- height: 1px;- `),(0,h.cB)("data-table-expand-trigger",`- display: inline-flex;- margin-right: 8px;- cursor: pointer;- font-size: 16px;- vertical-align: -0.2em;- position: relative;- width: 16px;- height: 16px;- color: var(--n-td-text-color);- transition: color .3s var(--n-bezier);- `,[(0,h.cM)("expanded",[(0,h.cB)("icon","transform: rotate(90deg);",[(0,eF.c)({originalTransform:"rotate(90deg)"})]),(0,h.cB)("base-icon","transform: rotate(90deg);",[(0,eF.c)({originalTransform:"rotate(90deg)"})])]),(0,h.cB)("base-loading",`- color: var(--n-loading-color);- transition: color .3s var(--n-bezier);- position: absolute;- left: 0;- right: 0;- top: 0;- bottom: 0;- `,[(0,eF.c)()]),(0,h.cB)("icon",`- position: absolute;- left: 0;- right: 0;- top: 0;- bottom: 0;- `,[(0,eF.c)()]),(0,h.cB)("base-icon",`- position: absolute;- left: 0;- right: 0;- top: 0;- bottom: 0;- `,[(0,eF.c)()])]),(0,h.cB)("data-table-thead",`- transition: background-color .3s var(--n-bezier);- background-color: var(--n-merged-th-color);- `),(0,h.cB)("data-table-tr",`- position: relative;- box-sizing: border-box;- background-clip: padding-box;- transition: background-color .3s var(--n-bezier);- `,[(0,h.cB)("data-table-expand",`- position: sticky;- left: 0;- overflow: hidden;- margin: calc(var(--n-th-padding) * -1);- padding: var(--n-th-padding);- box-sizing: border-box;- `),(0,h.cM)("striped","background-color: var(--n-merged-td-color-striped);",[(0,h.cB)("data-table-td","background-color: var(--n-merged-td-color-striped);")]),(0,h.u4)("summary",[(0,h.c)("&:hover","background-color: var(--n-merged-td-color-hover);",[(0,h.c)(">",[(0,h.cB)("data-table-td","background-color: var(--n-merged-td-color-hover);")])])])]),(0,h.cB)("data-table-th",`- padding: var(--n-th-padding);- position: relative;- text-align: start;- box-sizing: border-box;- background-color: var(--n-merged-th-color);- border-color: var(--n-merged-border-color);- border-bottom: 1px solid var(--n-merged-border-color);- color: var(--n-th-text-color);- transition:- border-color .3s var(--n-bezier),- color .3s var(--n-bezier),- background-color .3s var(--n-bezier);- font-weight: var(--n-th-font-weight);- `,[(0,h.cM)("filterable",`- padding-right: 36px;- `,[(0,h.cM)("sortable",`- padding-right: calc(var(--n-th-padding) + 36px);- `)]),eB,(0,h.cM)("selection",`- padding: 0;- text-align: center;- line-height: 0;- z-index: 3;- `),(0,h.cE)("title-wrapper",`- display: flex;- align-items: center;- flex-wrap: nowrap;- max-width: 100%;- `,[(0,h.cE)("title",`- flex: 1;- min-width: 0;- `)]),(0,h.cE)("ellipsis",`- display: inline-block;- vertical-align: bottom;- text-overflow: ellipsis;- overflow: hidden;- white-space: nowrap;- max-width: 100%;- `),(0,h.cM)("hover",`- background-color: var(--n-merged-th-color-hover);- `),(0,h.cM)("sorting",`- background-color: var(--n-merged-th-color-sorting);- `),(0,h.cM)("sortable",`- cursor: pointer;- `,[(0,h.cE)("ellipsis",`- max-width: calc(100% - 18px);- `),(0,h.c)("&:hover",`- background-color: var(--n-merged-th-color-hover);- `)]),(0,h.cB)("data-table-sorter",`- height: var(--n-sorter-size);- width: var(--n-sorter-size);- margin-left: 4px;- position: relative;- display: inline-flex;- align-items: center;- justify-content: center;- vertical-align: -0.2em;- color: var(--n-th-icon-color);- transition: color .3s var(--n-bezier);- `,[(0,h.cB)("base-icon","transition: transform .3s var(--n-bezier)"),(0,h.cM)("desc",[(0,h.cB)("base-icon",`- transform: rotate(0deg);- `)]),(0,h.cM)("asc",[(0,h.cB)("base-icon",`- transform: rotate(-180deg);- `)]),(0,h.cM)("asc, desc",`- color: var(--n-th-icon-color-active);- `)]),(0,h.cB)("data-table-resize-button",`- width: var(--n-resizable-container-size);- position: absolute;- top: 0;- right: calc(var(--n-resizable-container-size) / 2);- bottom: 0;- cursor: col-resize;- user-select: none;- `,[(0,h.c)("&::after",`- width: var(--n-resizable-size);- height: 50%;- position: absolute;- top: 50%;- left: calc(var(--n-resizable-container-size) / 2);- bottom: 0;- background-color: var(--n-merged-border-color);- transform: translateY(-50%);- transition: background-color .3s var(--n-bezier);- z-index: 1;- content: '';- `),(0,h.cM)("active",[(0,h.c)("&::after",`- background-color: var(--n-th-icon-color-active);- `)]),(0,h.c)("&:hover::after",`- background-color: var(--n-th-icon-color-active);- `)]),(0,h.cB)("data-table-filter",`- position: absolute;- z-index: auto;- right: 0;- width: 36px;- top: 0;- bottom: 0;- cursor: pointer;- display: flex;- justify-content: center;- align-items: center;- transition:- background-color .3s var(--n-bezier),- color .3s var(--n-bezier);- font-size: var(--n-filter-size);- color: var(--n-th-icon-color);- `,[(0,h.c)("&:hover",`- background-color: var(--n-th-button-color-hover);- `),(0,h.cM)("show",`- background-color: var(--n-th-button-color-hover);- `),(0,h.cM)("active",`- background-color: var(--n-th-button-color-hover);- color: var(--n-th-icon-color-active);- `)])]),(0,h.cB)("data-table-td",`- padding: var(--n-td-padding);- text-align: start;- box-sizing: border-box;- border: none;- background-color: var(--n-merged-td-color);- color: var(--n-td-text-color);- border-bottom: 1px solid var(--n-merged-border-color);- transition:- box-shadow .3s var(--n-bezier),- background-color .3s var(--n-bezier),- border-color .3s var(--n-bezier),- color .3s var(--n-bezier);- `,[(0,h.cM)("expand",[(0,h.cB)("data-table-expand-trigger",`- margin-right: 0;- `)]),(0,h.cM)("last-row",`- border-bottom: 0 solid var(--n-merged-border-color);- `,[(0,h.c)("&::after",`- bottom: 0 !important;- `),(0,h.c)("&::before",`- bottom: 0 !important;- `)]),(0,h.cM)("summary",`- background-color: var(--n-merged-th-color);- `),(0,h.cM)("hover",`- background-color: var(--n-merged-td-color-hover);- `),(0,h.cM)("sorting",`- background-color: var(--n-merged-td-color-sorting);- `),(0,h.cE)("ellipsis",`- display: inline-block;- text-overflow: ellipsis;- overflow: hidden;- white-space: nowrap;- max-width: 100%;- vertical-align: bottom;- max-width: calc(100% - var(--indent-offset, -1.5) * 16px - 24px);- `),(0,h.cM)("selection, expand",`- text-align: center;- padding: 0;- line-height: 0;- `),eB]),(0,h.cB)("data-table-empty",`- box-sizing: border-box;- padding: var(--n-empty-padding);- flex-grow: 1;- flex-shrink: 0;- opacity: 1;- display: flex;- align-items: center;- justify-content: center;- transition: opacity .3s var(--n-bezier);- `,[(0,h.cM)("hide",`- opacity: 0;- `)]),(0,h.cE)("pagination",`- margin: var(--n-pagination-margin);- display: flex;- justify-content: flex-end;- `),(0,h.cB)("data-table-wrapper",`- position: relative;- opacity: 1;- transition: opacity .3s var(--n-bezier), border-color .3s var(--n-bezier);- border-top-left-radius: var(--n-border-radius);- border-top-right-radius: var(--n-border-radius);- line-height: var(--n-line-height);- `),(0,h.cM)("loading",[(0,h.cB)("data-table-wrapper",`- opacity: var(--n-opacity-loading);- pointer-events: none;- `)]),(0,h.cM)("single-column",[(0,h.cB)("data-table-td",`- border-bottom: 0 solid var(--n-merged-border-color);- `,[(0,h.c)("&::after, &::before",`- bottom: 0 !important;- `)])]),(0,h.u4)("single-line",[(0,h.cB)("data-table-th",`- border-right: 1px solid var(--n-merged-border-color);- `,[(0,h.cM)("last",`- border-right: 0 solid var(--n-merged-border-color);- `)]),(0,h.cB)("data-table-td",`- border-right: 1px solid var(--n-merged-border-color);- `,[(0,h.cM)("last-col",`- border-right: 0 solid var(--n-merged-border-color);- `)])]),(0,h.cM)("bordered",[(0,h.cB)("data-table-wrapper",`- border: 1px solid var(--n-merged-border-color);- border-bottom-left-radius: var(--n-border-radius);- border-bottom-right-radius: var(--n-border-radius);- overflow: hidden;- `)]),(0,h.cB)("data-table-base-table",[(0,h.cM)("transition-disabled",[(0,h.cB)("data-table-th",[(0,h.c)("&::after, &::before","transition: none;")]),(0,h.cB)("data-table-td",[(0,h.c)("&::after, &::before","transition: none;")])])]),(0,h.cM)("bottom-bordered",[(0,h.cB)("data-table-td",[(0,h.cM)("last-row",`- border-bottom: 1px solid var(--n-merged-border-color);- `)])]),(0,h.cB)("data-table-table",`- font-variant-numeric: tabular-nums;- width: 100%;- word-break: break-word;- transition: background-color .3s var(--n-bezier);- border-collapse: separate;- border-spacing: 0;- background-color: var(--n-merged-td-color);- `),(0,h.cB)("data-table-base-table-header",`- border-top-left-radius: calc(var(--n-border-radius) - 1px);- border-top-right-radius: calc(var(--n-border-radius) - 1px);- z-index: 3;- overflow: scroll;- flex-shrink: 0;- transition: border-color .3s var(--n-bezier);- scrollbar-width: none;- `,[(0,h.c)("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",`- display: none;- width: 0;- height: 0;- `)]),(0,h.cB)("data-table-check-extra",`- transition: color .3s var(--n-bezier);- color: var(--n-th-icon-color);- position: absolute;- font-size: 14px;- right: -4px;- top: 50%;- transform: translateY(-50%);- z-index: 1;- `)]),(0,h.cB)("data-table-filter-menu",[(0,h.cB)("scrollbar",`- max-height: 240px;- `),(0,h.cE)("group",`- display: flex;- flex-direction: column;- padding: 12px 12px 0 12px;- `,[(0,h.cB)("checkbox",`- margin-bottom: 12px;- margin-right: 0;- `),(0,h.cB)("radio",`- margin-bottom: 12px;- margin-right: 0;- `)]),(0,h.cE)("action",`- padding: var(--n-action-padding);- display: flex;- flex-wrap: nowrap;- justify-content: space-evenly;- border-top: 1px solid var(--n-action-divider-color);- `,[(0,h.cB)("button",[(0,h.c)("&:not(:last-child)",`- margin: var(--n-action-button-margin);- `),(0,h.c)("&:last-child",`- margin-right: 0;- `)])]),(0,h.cB)("divider",`- margin: 0 !important;- `)]),(0,h.ko)((0,h.cB)("data-table",`- --n-merged-th-color: var(--n-th-color-modal);- --n-merged-td-color: var(--n-td-color-modal);- --n-merged-border-color: var(--n-border-color-modal);- --n-merged-th-color-hover: var(--n-th-color-hover-modal);- --n-merged-td-color-hover: var(--n-td-color-hover-modal);- --n-merged-th-color-sorting: var(--n-th-color-hover-modal);- --n-merged-td-color-sorting: var(--n-td-color-hover-modal);- --n-merged-td-color-striped: var(--n-td-color-striped-modal);- `)),(0,h.WW)((0,h.cB)("data-table",`- --n-merged-th-color: var(--n-th-color-popover);- --n-merged-td-color: var(--n-td-color-popover);- --n-merged-border-color: var(--n-border-color-popover);- --n-merged-th-color-hover: var(--n-th-color-hover-popover);- --n-merged-td-color-hover: var(--n-td-color-hover-popover);- --n-merged-th-color-sorting: var(--n-th-color-hover-popover);- --n-merged-td-color-sorting: var(--n-td-color-hover-popover);- --n-merged-td-color-striped: var(--n-td-color-striped-popover);- `))]);var eS=r(44267),ez=r(20013),eM=r(76072),eP=r(20772),e$=r(56706);function eZ(e){return"object"==typeof e&&"number"==typeof e.multiple&&e.multiple}let eO=(0,a.aZ)({name:"DataTable",alias:["AdvancedTable"],props:m,slots:Object,setup(e,{slots:t}){let{mergedBorderedRef:r,mergedClsPrefixRef:o,inlineThemeDisabled:p,mergedRtlRef:v}=(0,n.ZP)(e),f=(0,i.V)("DataTable",v,o),m=(0,a.Fl)(()=>{let{bottomBordered:t}=e;return!r.value&&(void 0===t||t)}),x=(0,d.Z)("DataTable","-data-table",eR,b.Z,e,o),w=(0,a.iH)(null),C=(0,a.iH)(null),{getResizableWidth:F,clearResizableWidth:B,doUpdateResizableWidth:R}=function(){let e=(0,a.iH)({});return{getResizableWidth:function(t){return e.value[t]},doUpdateResizableWidth:function(t,r){T(t)&&"key"in t&&(e.value[t.key]=r)},clearResizableWidth:function(){e.value={}}}}(),{rowsRef:S,colsRef:z,dataRelatedColsRef:Z,hasEllipsisRef:O}=function(e,t){let r=(0,a.Fl)(()=>(function(e,t){let r=[],l=[],a=[],o=new WeakMap,n=-1,i=0,d=!1,s=0;return!function e(o,c){c>n&&(r[c]=[],n=c),o.forEach(r=>{if("children"in r)e(r.children,c+1);else{let e="key"in r?r.key:void 0;l.push({key:P(r),style:function(e,t){var r,l;if(void 0!==t)return{width:t,minWidth:t,maxWidth:t};let a="selection"===e.type?(0,y.N)(null!=(r=e.width)?r:40):"expand"===e.type?(0,y.N)(null!=(l=e.width)?l:40):"children"in e?void 0:(0,y.N)(e.width),{minWidth:o,maxWidth:n}=e;return{width:a,minWidth:(0,y.N)(o)||a,maxWidth:(0,y.N)(n)}}(r,void 0!==e?(0,y.N)(t(e)):void 0),column:r,index:s++,width:void 0===r.width?128:Number(r.width)}),i+=1,d||(d=!!r.ellipsis),a.push(r)}})}(e,0),s=0,!function e(t,l){let a=0;t.forEach(t=>{var d;if("children"in t){let a=s,n={column:t,colIndex:s,colSpan:0,rowSpan:1,isLast:!1};e(t.children,l+1),t.children.forEach(e=>{var t,r;n.colSpan+=null!=(r=null==(t=o.get(e))?void 0:t.colSpan)?r:0}),a+n.colSpan===i&&(n.isLast=!0),o.set(t,n),r[l].push(n)}else{if(s<a){s+=1;return}let e=1;"titleColSpan"in t&&(e=null!=(d=t.titleColSpan)?d:1),e>1&&(a=s+e);let c=s+e===i,u={column:t,colSpan:e,colIndex:s,rowSpan:n-l+1,isLast:c};o.set(t,u),r[l].push(u),s+=1}})}(e,0),{hasEllipsis:d,rows:r,cols:l,dataRelatedCols:a}})(e.columns,t));return{rowsRef:(0,a.Fl)(()=>r.value.rows),colsRef:(0,a.Fl)(()=>r.value.cols),hasEllipsisRef:(0,a.Fl)(()=>r.value.hasEllipsis),dataRelatedColsRef:(0,a.Fl)(()=>r.value.dataRelatedCols)}}(e,F),{treeMateRef:N,mergedCurrentPageRef:E,paginatedDataRef:A,rawPaginatedDataRef:H,selectionColumnRef:L,hoverKeyRef:j,mergedPaginationRef:I,mergedFilterStateRef:V,mergedSortStateRef:U,childTriggerColIndexRef:K,doUpdatePage:_,doUpdateFilters:D,onUnstableColumnResize:q,deriveNextSorter:W,filter:X,filters:J,clearFilter:Y,clearFilters:G,clearSorter:Q,page:ee,sort:et}=function(e,{dataRelatedColsRef:t}){let r=(0,a.Fl)(()=>{let t=e=>{for(let r=0;r<e.length;++r){let l=e[r];if("children"in l)return t(l.children);if("selection"===l.type)return l}return null};return t(e.columns)}),l=(0,a.Fl)(()=>{let{childrenKey:t}=e;return(0,eP.J)(e.data,{ignoreEmptyChildren:!0,getKey:e.rowKey,getChildren:e=>e[t],getDisabled:e=>{var t,l;return null!=(l=null==(t=r.value)?void 0:t.disabled)&&!!l.call(t,e)}})}),o=(0,k.Z)(()=>{let{columns:t}=e,{length:r}=t,l=null;for(let e=0;e<r;++e){let r=t[e];if(r.type||null!==l||(l=e),"tree"in r&&r.tree)return e}return l||0}),n=(0,a.iH)({}),{pagination:i}=e,d=(0,a.iH)(i&&i.defaultPage||1),s=(0,a.iH)((0,e$.h)(i)),c=(0,a.Fl)(()=>{let e=t.value.filter(e=>void 0!==e.filterOptionValues||void 0!==e.filterOptionValue),r={};return e.forEach(e=>{var t;"selection"!==e.type&&"expand"!==e.type&&(void 0===e.filterOptionValues?r[e.key]=null!=(t=e.filterOptionValue)?t:null:r[e.key]=e.filterOptionValues)}),Object.assign($(n.value),r)}),u=(0,a.Fl)(()=>{let t=c.value,{columns:r}=e,{value:{treeNodes:a}}=l,o=[];return r.forEach(e=>{"selection"===e.type||"expand"===e.type||"children"in e||o.push([e.key,e])}),a?a.filter(e=>{let{rawNode:r}=e;for(let[e,l]of o){let a=t[e];if(null==a||(Array.isArray(a)||(a=[a]),!a.length))continue;let o="default"===l.filter?function(e){return(t,r)=>!!~String(r[e]).indexOf(String(t))}(e):l.filter;if(l&&"function"==typeof o)if("and"===l.filterMode){if(a.some(e=>!o(e,r)))return!1}else if(a.some(e=>o(e,r)))continue;else return!1}return!0}):[]}),{sortedDataRef:h,deriveNextSorter:p,mergedSortStateRef:v,sort:b,clearSorter:f}=function(e,{dataRelatedColsRef:t,filteredDataRef:r}){let l=[];t.value.forEach(e=>{var t;void 0!==e.sorter&&c(l,{columnKey:e.key,sorter:e.sorter,order:null!=(t=e.defaultSortOrder)&&t})});let o=(0,a.iH)(l),n=(0,a.Fl)(()=>{let e=t.value.filter(e=>"selection"!==e.type&&void 0!==e.sorter&&("ascend"===e.sortOrder||"descend"===e.sortOrder||!1===e.sortOrder)),r=e.filter(e=>!1!==e.sortOrder);if(r.length)return r.map(e=>({columnKey:e.key,order:e.sortOrder,sorter:e.sorter}));if(e.length)return[];let{value:l}=o;return Array.isArray(l)?l:l?[l]:[]});function i(e){let t;d((t=n.value.slice(),e&&!1!==eZ(e.sorter)?(c(t=t.filter(e=>!1!==eZ(e.sorter)),e),t):e||null))}function d(t){let{"onUpdate:sorter":r,onUpdateSorter:l,onSorterChange:a}=e;r&&(0,eS.R)(r,t),l&&(0,eS.R)(l,t),a&&(0,eS.R)(a,t),o.value=t}function s(){d(null)}function c(e,t){let r=e.findIndex(e=>(null==t?void 0:t.columnKey)&&e.columnKey===t.columnKey);void 0!==r&&r>=0?e[r]=t:e.push(t)}return{clearSorter:s,sort:function(e,r="ascend"){if(e){let l=t.value.find(t=>"selection"!==t.type&&"expand"!==t.type&&t.key===e);(null==l?void 0:l.sorter)&&i({columnKey:e,sorter:l.sorter,order:r})}else s()},sortedDataRef:(0,a.Fl)(()=>{let e=n.value.slice().sort((e,t)=>{let r=eZ(e.sorter)||0;return(eZ(t.sorter)||0)-r});return e.length?r.value.slice().sort((t,r)=>{let l=0;return e.some(e=>{var a;let{columnKey:o,sorter:n,order:i}=e,d=o&&(void 0===n||"default"===n||"object"==typeof n&&"default"===n.compare)?(a=o,(e,t)=>{let r=e[a],l=t[a];return null==r?null==l?0:-1:null==l?1:"number"==typeof r&&"number"==typeof l?r-l:"string"==typeof r&&"string"==typeof l?r.localeCompare(l):0}):"function"==typeof n?n:!!n&&"object"==typeof n&&!!n.compare&&"default"!==n.compare&&n.compare;return!!d&&!!i&&0!==(l=d(t.rawNode,r.rawNode))&&(l*="ascend"===i?1:"descend"===i?-1:0,!0)}),l}):r.value}),mergedSortStateRef:n,deriveNextSorter:i}}(e,{dataRelatedColsRef:t,filteredDataRef:u});t.value.forEach(e=>{var t;if(e.filter){let r=e.defaultFilterOptionValues;e.filterMultiple?n.value[e.key]=r||[]:void 0!==r?n.value[e.key]=null===r?[]:r:n.value[e.key]=null!=(t=e.defaultFilterOptionValue)?t:null}});let m=(0,a.Fl)(()=>{let{pagination:t}=e;if(!1!==t)return t.page}),g=(0,a.Fl)(()=>{let{pagination:t}=e;if(!1!==t)return t.pageSize}),y=(0,ez.Z)(m,d),x=(0,ez.Z)(g,s),w=(0,k.Z)(()=>{let t=y.value;return e.remote?t:Math.max(1,Math.min(Math.ceil(u.value.length/x.value),t))}),C=(0,a.Fl)(()=>{let{pagination:t}=e;if(t){let{pageCount:e}=t;if(void 0!==e)return e}}),F=(0,a.Fl)(()=>{if(e.remote)return l.value.treeNodes;if(!e.pagination)return h.value;let t=x.value,r=(w.value-1)*t;return h.value.slice(r,r+t)}),B=(0,a.Fl)(()=>F.value.map(e=>e.rawNode));function R(t){let{pagination:r}=e;if(r){let{onChange:e,"onUpdate:page":l,onUpdatePage:a}=r;e&&(0,eS.R)(e,t),a&&(0,eS.R)(a,t),l&&(0,eS.R)(l,t),P(t)}}function S(t){let{pagination:r}=e;if(r){let{onPageSizeChange:e,"onUpdate:pageSize":l,onUpdatePageSize:a}=r;e&&(0,eS.R)(e,t),a&&(0,eS.R)(a,t),l&&(0,eS.R)(l,t),Z(t)}}let z=(0,a.Fl)(()=>{if(e.remote){let{pagination:t}=e;if(t){let{itemCount:e}=t;if(void 0!==e)return e}return}return u.value.length}),M=(0,a.Fl)(()=>Object.assign(Object.assign({},e.pagination),{onChange:void 0,onUpdatePage:void 0,onUpdatePageSize:void 0,onPageSizeChange:void 0,"onUpdate:page":R,"onUpdate:pageSize":S,page:w.value,pageSize:x.value,pageCount:void 0===z.value?C.value:void 0,itemCount:z.value}));function P(t){let{"onUpdate:page":r,onPageChange:l,onUpdatePage:a}=e;a&&(0,eS.R)(a,t),r&&(0,eS.R)(r,t),l&&(0,eS.R)(l,t),d.value=t}function Z(t){let{"onUpdate:pageSize":r,onPageSizeChange:l,onUpdatePageSize:a}=e;l&&(0,eS.R)(l,t),a&&(0,eS.R)(a,t),r&&(0,eS.R)(r,t),s.value=t}function O(){T({})}function T(e){e?e&&(n.value=$(e)):n.value={}}return{treeMateRef:l,mergedCurrentPageRef:w,mergedPaginationRef:M,paginatedDataRef:F,rawPaginatedDataRef:B,mergedFilterStateRef:c,mergedSortStateRef:v,hoverKeyRef:(0,a.iH)(null),selectionColumnRef:r,childTriggerColIndexRef:o,doUpdateFilters:function(t,r){let{onUpdateFilters:l,"onUpdate:filters":a,onFiltersChange:o}=e;l&&(0,eS.R)(l,t,r),a&&(0,eS.R)(a,t,r),o&&(0,eS.R)(o,t,r),n.value=t},deriveNextSorter:p,doUpdatePageSize:Z,doUpdatePage:P,onUnstableColumnResize:function(t,r,l,a){var o;null==(o=e.onUnstableColumnResize)||o.call(e,t,r,l,a)},filter:T,filters:function(e){T(e)},clearFilter:function(){O()},clearFilters:O,clearSorter:f,page:function(e){P(e)},sort:b}}(e,{dataRelatedColsRef:Z}),{doCheckAll:er,doUncheckAll:el,doCheck:ea,doUncheck:eo,headerCheckboxDisabledRef:en,someRowsCheckedRef:ei,allRowsCheckedRef:ed,mergedCheckedRowKeySetRef:es,mergedInderminateRowKeySetRef:ec}=function(e,t){let{paginatedDataRef:r,treeMateRef:l,selectionColumnRef:o}=t,n=(0,a.iH)(e.defaultCheckedRowKeys),i=(0,a.Fl)(()=>{var t;let{checkedRowKeys:r}=e,a=void 0===r?n.value:r;return(null==(t=o.value)?void 0:t.multiple)===!1?{checkedKeys:a.slice(0,1),indeterminateKeys:[]}:l.value.getCheckedKeys(a,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded})}),d=(0,a.Fl)(()=>i.value.checkedKeys),s=(0,a.Fl)(()=>i.value.indeterminateKeys),c=(0,a.Fl)(()=>new Set(d.value)),u=(0,a.Fl)(()=>new Set(s.value)),h=(0,a.Fl)(()=>{let{value:e}=c;return r.value.reduce((t,r)=>{let{key:l,disabled:a}=r;return t+(!a&&e.has(l)?1:0)},0)}),p=(0,a.Fl)(()=>r.value.filter(e=>e.disabled).length),v=(0,a.Fl)(()=>{let{length:e}=r.value,{value:t}=u;return h.value>0&&h.value<e-p.value||r.value.some(e=>t.has(e.key))}),b=(0,a.Fl)(()=>{let{length:e}=r.value;return 0!==h.value&&h.value===e-p.value});function f(t,r,a){let{"onUpdate:checkedRowKeys":o,onUpdateCheckedRowKeys:i,onCheckedRowKeysChange:d}=e,s=[],{value:{getNode:c}}=l;t.forEach(e=>{var t;let r=null==(t=c(e))?void 0:t.rawNode;s.push(r)}),o&&(0,eS.R)(o,t,s,{row:r,action:a}),i&&(0,eS.R)(i,t,s,{row:r,action:a}),d&&(0,eS.R)(d,t,s,{row:r,action:a}),n.value=t}return{mergedCheckedRowKeySetRef:c,mergedCheckedRowKeysRef:d,mergedInderminateRowKeySetRef:u,someRowsCheckedRef:v,allRowsCheckedRef:b,headerCheckboxDisabledRef:(0,a.Fl)(()=>0===r.value.length),doUpdateCheckedRowKeys:f,doCheckAll:function(t=!1){let{value:a}=o;if(!a||e.loading)return;let n=[];(t?l.value.treeNodes:r.value).forEach(e=>{e.disabled||n.push(e.key)}),f(l.value.check(n,d.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"checkAll")},doUncheckAll:function(t=!1){let{value:a}=o;if(!a||e.loading)return;let n=[];(t?l.value.treeNodes:r.value).forEach(e=>{e.disabled||n.push(e.key)}),f(l.value.uncheck(n,d.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"uncheckAll")},doCheck:function(t,r=!1,a){if(!e.loading){if(r)return void f(Array.isArray(t)?t.slice(0,1):[t],a,"check");f(l.value.check(t,d.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,a,"check")}},doUncheck:function(t,r){e.loading||f(l.value.uncheck(t,d.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,r,"uncheck")}}}(e,{selectionColumnRef:L,treeMateRef:N,paginatedDataRef:A}),{stickyExpandedRowsRef:eu,mergedExpandedRowKeysRef:eh,renderExpandRef:ep,expandableRef:ev,doUpdateExpandedRowKeys:eb}=function(e,t){let r=(0,k.Z)(()=>{for(let t of e.columns)if("expand"===t.type)return t.renderExpand}),l=(0,k.Z)(()=>{let t;for(let r of e.columns)if("expand"===r.type){t=r.expandable;break}return t}),o=(0,a.iH)(e.defaultExpandAll?(null==r?void 0:r.value)?(()=>{let e=[];return t.value.treeNodes.forEach(t=>{var r;(null==(r=l.value)?void 0:r.call(l,t.rawNode))&&e.push(t.key)}),e})():t.value.getNonLeafKeys():e.defaultExpandedRowKeys),n=(0,a.Vh)(e,"expandedRowKeys"),i=(0,a.Vh)(e,"stickyExpandedRows");return{stickyExpandedRowsRef:i,mergedExpandedRowKeysRef:(0,ez.Z)(n,o),renderExpandRef:r,expandableRef:l,doUpdateExpandedRowKeys:function(t){let{onUpdateExpandedRowKeys:r,"onUpdate:expandedRowKeys":l}=e;r&&(0,eS.R)(r,t),l&&(0,eS.R)(l,t),o.value=t}}}(e,N),{handleTableBodyScroll:ef,handleTableHeaderScroll:em,syncScrollState:eg,setHeaderScrollLeft:ey,leftActiveFixedColKeyRef:ex,leftActiveFixedChildrenColKeysRef:ek,rightActiveFixedColKeyRef:ew,rightActiveFixedChildrenColKeysRef:eC,leftFixedColumnsRef:eF,rightFixedColumnsRef:eB,fixedColumnLeftMapRef:eO,fixedColumnRightMapRef:eT}=function(e,{mainTableInstRef:t,mergedCurrentPageRef:r,bodyWidthRef:l}){let o=0,n=(0,a.iH)(),i=(0,a.iH)(null),d=(0,a.iH)([]),s=(0,a.iH)(null),c=(0,a.iH)([]),u=(0,a.Fl)(()=>(0,y.N)(e.scrollX)),h=(0,a.Fl)(()=>e.columns.filter(e=>"left"===e.fixed)),p=(0,a.Fl)(()=>e.columns.filter(e=>"right"===e.fixed)),v=(0,a.Fl)(()=>{let e={},t=0;return!function r(l){l.forEach(l=>{let a={start:t,end:0};e[P(l)]=a,"children"in l?(r(l.children),a.end=t):a.end=t+=M(l)||0})}(h.value),e}),b=(0,a.Fl)(()=>{let e={},t=0;return!function r(l){for(let a=l.length-1;a>=0;--a){let o=l[a],n={start:t,end:0};e[P(o)]=n,"children"in o?(r(o.children),n.end=t):n.end=t+=M(o)||0}}(p.value),e});function f(){return{header:t.value?t.value.getHeaderElement():null,body:t.value?t.value.getBodyElement():null}}function m(){let{header:t,body:r}=f();if(!r)return;let{value:a}=l;if(null!==a){if(e.maxHeight||e.flexHeight){if(!t)return;n.value=0!=o-t.scrollLeft?"head":"body","head"===n.value?r.scrollLeft=o=t.scrollLeft:t.scrollLeft=o=r.scrollLeft}else o=r.scrollLeft;!function(){var e,t;let{value:r}=h,l=0,{value:a}=v,n=null;for(let i=0;i<r.length;++i){let d=P(r[i]);if(o>((null==(e=a[d])?void 0:e.start)||0)-l)n=d,l=(null==(t=a[d])?void 0:t.end)||0;else break}i.value=n}(),d.value=[];let a=e.columns.find(e=>P(e)===i.value);for(;a&&"children"in a;){let e=a.children.length;if(0===e)break;let t=a.children[e-1];d.value.push(P(t)),a=t}!function(){var t,r;let{value:a}=p,n=Number(e.scrollX),{value:i}=l;if(null===i)return;let d=0,c=null,{value:u}=b;for(let e=a.length-1;e>=0;--e){let l=P(a[e]);if(Math.round(o+((null==(t=u[l])?void 0:t.start)||0)+i-d)<n)c=l,d=(null==(r=u[l])?void 0:r.end)||0;else break}s.value=c}(),c.value=[];let u=e.columns.find(e=>P(e)===s.value);for(;u&&"children"in u&&u.children.length;){let e=u.children[0];c.value.push(P(e)),u=e}}}return(0,a.YP)(r,()=>{let{body:e}=f();e&&(e.scrollTop=0)}),{styleScrollXRef:u,fixedColumnLeftMapRef:v,fixedColumnRightMapRef:b,leftFixedColumnsRef:h,rightFixedColumnsRef:p,leftActiveFixedColKeyRef:i,leftActiveFixedChildrenColKeysRef:d,rightActiveFixedColKeyRef:s,rightActiveFixedChildrenColKeysRef:c,syncScrollState:m,handleTableBodyScroll:function(t){var r;null==(r=e.onScroll)||r.call(e,t),"head"!==n.value?(0,eM.J)(m):n.value=void 0},handleTableHeaderScroll:function(){"body"!==n.value?(0,eM.J)(m):n.value=void 0},setHeaderScrollLeft:function(e){let{header:t}=f();t&&(t.scrollLeft=e,m())}}}(e,{bodyWidthRef:w,mainTableInstRef:C,mergedCurrentPageRef:E}),{localeRef:eN}=(0,s.Z)("DataTable"),eE=(0,a.Fl)(()=>e.virtualScroll||e.flexHeight||void 0!==e.maxHeight||O.value?"fixed":e.tableLayout);(0,a.JJ)(g,{props:e,treeMateRef:N,renderExpandIconRef:(0,a.Vh)(e,"renderExpandIcon"),loadingKeySetRef:(0,a.iH)(new Set),slots:t,indentRef:(0,a.Vh)(e,"indent"),childTriggerColIndexRef:K,bodyWidthRef:w,componentId:(0,l.Mc)(),hoverKeyRef:j,mergedClsPrefixRef:o,mergedThemeRef:x,scrollXRef:(0,a.Fl)(()=>e.scrollX),rowsRef:S,colsRef:z,paginatedDataRef:A,leftActiveFixedColKeyRef:ex,leftActiveFixedChildrenColKeysRef:ek,rightActiveFixedColKeyRef:ew,rightActiveFixedChildrenColKeysRef:eC,leftFixedColumnsRef:eF,rightFixedColumnsRef:eB,fixedColumnLeftMapRef:eO,fixedColumnRightMapRef:eT,mergedCurrentPageRef:E,someRowsCheckedRef:ei,allRowsCheckedRef:ed,mergedSortStateRef:U,mergedFilterStateRef:V,loadingRef:(0,a.Vh)(e,"loading"),rowClassNameRef:(0,a.Vh)(e,"rowClassName"),mergedCheckedRowKeySetRef:es,mergedExpandedRowKeysRef:eh,mergedInderminateRowKeySetRef:ec,localeRef:eN,expandableRef:ev,stickyExpandedRowsRef:eu,rowKeyRef:(0,a.Vh)(e,"rowKey"),renderExpandRef:ep,summaryRef:(0,a.Vh)(e,"summary"),virtualScrollRef:(0,a.Vh)(e,"virtualScroll"),virtualScrollXRef:(0,a.Vh)(e,"virtualScrollX"),heightForRowRef:(0,a.Vh)(e,"heightForRow"),minRowHeightRef:(0,a.Vh)(e,"minRowHeight"),virtualScrollHeaderRef:(0,a.Vh)(e,"virtualScrollHeader"),headerHeightRef:(0,a.Vh)(e,"headerHeight"),rowPropsRef:(0,a.Vh)(e,"rowProps"),stripedRef:(0,a.Vh)(e,"striped"),checkOptionsRef:(0,a.Fl)(()=>{let{value:e}=L;return null==e?void 0:e.options}),rawPaginatedDataRef:H,filterMenuCssVarsRef:(0,a.Fl)(()=>{let{self:{actionDividerColor:e,actionPadding:t,actionButtonMargin:r}}=x.value;return{"--n-action-padding":t,"--n-action-button-margin":r,"--n-action-divider-color":e}}),onLoadRef:(0,a.Vh)(e,"onLoad"),mergedTableLayoutRef:eE,maxHeightRef:(0,a.Vh)(e,"maxHeight"),minHeightRef:(0,a.Vh)(e,"minHeight"),flexHeightRef:(0,a.Vh)(e,"flexHeight"),headerCheckboxDisabledRef:en,paginationBehaviorOnFilterRef:(0,a.Vh)(e,"paginationBehaviorOnFilter"),summaryPlacementRef:(0,a.Vh)(e,"summaryPlacement"),filterIconPopoverPropsRef:(0,a.Vh)(e,"filterIconPopoverProps"),scrollbarPropsRef:(0,a.Vh)(e,"scrollbarProps"),syncScrollState:eg,doUpdatePage:_,doUpdateFilters:D,getResizableWidth:F,onUnstableColumnResize:q,clearResizableWidth:B,doUpdateResizableWidth:R,deriveNextSorter:W,doCheck:ea,doUncheck:eo,doCheckAll:er,doUncheckAll:el,doUpdateExpandedRowKeys:eb,handleTableHeaderScroll:em,handleTableBodyScroll:ef,setHeaderScrollLeft:ey,renderCell:(0,a.Vh)(e,"renderCell")});let eA=(0,a.Fl)(()=>{let{size:t}=e,{common:{cubicBezierEaseInOut:r},self:{borderColor:l,tdColorHover:a,tdColorSorting:o,tdColorSortingModal:n,tdColorSortingPopover:i,thColorSorting:d,thColorSortingModal:s,thColorSortingPopover:c,thColor:u,thColorHover:p,tdColor:v,tdTextColor:b,thTextColor:f,thFontWeight:m,thButtonColorHover:g,thIconColor:y,thIconColorActive:k,filterSize:w,borderRadius:C,lineHeight:F,tdColorModal:B,thColorModal:R,borderColorModal:S,thColorHoverModal:z,tdColorHoverModal:M,borderColorPopover:P,thColorPopover:$,tdColorPopover:Z,tdColorHoverPopover:O,thColorHoverPopover:T,paginationMargin:N,emptyPadding:E,boxShadowAfter:A,boxShadowBefore:H,sorterSize:L,resizableContainerSize:j,resizableSize:I,loadingColor:V,loadingSize:U,opacityLoading:K,tdColorStriped:_,tdColorStripedModal:D,tdColorStripedPopover:q,[(0,h.Tl)("fontSize",t)]:W,[(0,h.Tl)("thPadding",t)]:X,[(0,h.Tl)("tdPadding",t)]:J}}=x.value;return{"--n-font-size":W,"--n-th-padding":X,"--n-td-padding":J,"--n-bezier":r,"--n-border-radius":C,"--n-line-height":F,"--n-border-color":l,"--n-border-color-modal":S,"--n-border-color-popover":P,"--n-th-color":u,"--n-th-color-hover":p,"--n-th-color-modal":R,"--n-th-color-hover-modal":z,"--n-th-color-popover":$,"--n-th-color-hover-popover":T,"--n-td-color":v,"--n-td-color-hover":a,"--n-td-color-modal":B,"--n-td-color-hover-modal":M,"--n-td-color-popover":Z,"--n-td-color-hover-popover":O,"--n-th-text-color":f,"--n-td-text-color":b,"--n-th-font-weight":m,"--n-th-button-color-hover":g,"--n-th-icon-color":y,"--n-th-icon-color-active":k,"--n-filter-size":w,"--n-pagination-margin":N,"--n-empty-padding":E,"--n-box-shadow-before":H,"--n-box-shadow-after":A,"--n-sorter-size":L,"--n-resizable-container-size":j,"--n-resizable-size":I,"--n-loading-size":U,"--n-loading-color":V,"--n-opacity-loading":K,"--n-td-color-striped":_,"--n-td-color-striped-modal":D,"--n-td-color-striped-popover":q,"n-td-color-sorting":o,"n-td-color-sorting-modal":n,"n-td-color-sorting-popover":i,"n-th-color-sorting":d,"n-th-color-sorting-modal":s,"n-th-color-sorting-popover":c}}),eH=p?(0,c.F)("data-table",(0,a.Fl)(()=>e.size[0]),eA,e):void 0,eL=(0,a.Fl)(()=>{if(!e.pagination)return!1;if(e.paginateSinglePage)return!0;let t=I.value,{pageCount:r}=t;return void 0!==r?r>1:t.itemCount&&t.pageSize&&t.itemCount>t.pageSize});return Object.assign({mainTableInstRef:C,mergedClsPrefix:o,rtlEnabled:f,mergedTheme:x,paginatedData:A,mergedBordered:r,mergedBottomBordered:m,mergedPagination:I,mergedShowPagination:eL,cssVars:p?void 0:eA,themeClass:null==eH?void 0:eH.themeClass,onRender:null==eH?void 0:eH.onRender},{filter:X,filters:J,clearFilters:G,clearSorter:Q,page:ee,sort:et,clearFilter:Y,downloadCsv:t=>{let{fileName:r="data.csv",keepOriginalData:l=!1}=t||{},a=l?e.data:H.value,o=new Blob([function(e,t,r,l){let a=e.filter(e=>"expand"!==e.type&&"selection"!==e.type&&!1!==e.allowExport);return[a.map(e=>l?l(e):e.title).join(","),...t.map(e=>a.map(t=>{var l;return r?r(e[t.key],e,t):"string"==typeof(l=e[t.key])?l.replace(/,/g,"\\,"):null==l?"":`${l}`.replace(/,/g,"\\,")}).join(","))].join("\n")}(e.columns,a,e.getCsvCell,e.getCsvHeader)],{type:"text/csv;charset=utf-8"}),n=URL.createObjectURL(o);(0,u.L)(n,r.endsWith(".csv")?r:`${r}.csv`),URL.revokeObjectURL(n)},scrollTo:(e,t)=>{var r;null==(r=C.value)||r.scrollTo(e,t)}})},render(){let{mergedClsPrefix:e,themeClass:t,onRender:r,$slots:l,spinProps:n}=this;return null==r||r(),(0,a.h)("div",{class:[`${e}-data-table`,this.rtlEnabled&&`${e}-data-table--rtl`,t,{[`${e}-data-table--bordered`]:this.mergedBordered,[`${e}-data-table--bottom-bordered`]:this.mergedBottomBordered,[`${e}-data-table--single-line`]:this.singleLine,[`${e}-data-table--single-column`]:this.singleColumn,[`${e}-data-table--loading`]:this.loading,[`${e}-data-table--flex-height`]:this.flexHeight}],style:this.cssVars},(0,a.h)("div",{class:`${e}-data-table-wrapper`},(0,a.h)(ew,{ref:"mainTableInstRef"})),this.mergedShowPagination?(0,a.h)("div",{class:`${e}-data-table__pagination`},(0,a.h)(v.Z,Object.assign({theme:this.mergedTheme.peers.Pagination,themeOverrides:this.mergedTheme.peerOverrides.Pagination,disabled:this.loading},this.mergedPagination))):null,(0,a.h)(a.uT,{name:"fade-in-scale-up-transition"},{default:()=>this.loading?(0,a.h)("div",{class:`${e}-data-table-loading-wrapper`},(0,p.gI)(l.loading,()=>[(0,a.h)(o.Z,Object.assign({clsPrefix:e,strokeWidth:20},n))])):null}))}})},35409:function(e,t,r){r.d(t,{HX:()=>s,Ox:()=>c,ZP:()=>h,uv:()=>u});var l=r(58786),a=r(56946),o=r(54470),n=r(50144),i=r(38461),d=r(64170);function s(e){return`${e}-ellipsis--line-clamp`}function c(e,t){return`${e}-ellipsis--cursor-${t}`}let u=Object.assign(Object.assign({},a.Z.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),h=(0,l.aZ)({name:"Ellipsis",inheritAttrs:!1,props:u,slots:Object,setup(e,{slots:t,attrs:r}){let n=(0,o.hJ)(),u=(0,a.Z)("Ellipsis","-ellipsis",d.Z,i.Z,e,n),h=(0,l.iH)(null),p=(0,l.iH)(null),v=(0,l.iH)(null),b=(0,l.iH)(!1),f=(0,l.Fl)(()=>{let{lineClamp:t}=e,{value:r}=b;return void 0!==t?{textOverflow:"","-webkit-line-clamp":r?"":t}:{textOverflow:r?"":"ellipsis","-webkit-line-clamp":""}});function m(){let t=!1,{value:r}=b;if(r)return!0;let{value:l}=h;if(l){let{lineClamp:r}=e;if(function(t){if(!t)return;let r=f.value,l=s(n.value);for(let a in void 0!==e.lineClamp?y(t,l,"add"):y(t,l,"remove"),r)t.style[a]!==r[a]&&(t.style[a]=r[a])}(l),void 0!==r)t=l.scrollHeight<=l.offsetHeight;else{let{value:e}=p;e&&(t=e.getBoundingClientRect().width<=l.getBoundingClientRect().width)}var a=l,o=t;let i=c(n.value,"pointer");"click"!==e.expandTrigger||o?y(a,i,"remove"):y(a,i,"add")}return t}let g=(0,l.Fl)(()=>"click"===e.expandTrigger?()=>{var e;let{value:t}=b;t&&(null==(e=v.value)||e.setShow(!1)),b.value=!t}:void 0);function y(e,t,r){"add"===r?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}return(0,l.se)(()=>{var t;e.tooltip&&(null==(t=v.value)||t.setShow(!1))}),{mergedTheme:u,triggerRef:h,triggerInnerRef:p,tooltipRef:v,handleClick:g,renderTrigger:()=>(0,l.h)("span",Object.assign({},(0,l.dG)(r,{class:[`${n.value}-ellipsis`,void 0!==e.lineClamp?s(n.value):void 0,"click"===e.expandTrigger?c(n.value,"pointer"):void 0],style:f.value}),{ref:"triggerRef",onClick:g.value,onMouseenter:"click"===e.expandTrigger?m:void 0}),e.lineClamp?t:(0,l.h)("span",{ref:"triggerInnerRef"},t)),getTooltipDisabled:m}},render(){var e;let{tooltip:t,renderTrigger:r,$slots:a}=this;if(!t)return r();{let{mergedTheme:o}=this;return(0,l.h)(n.Z,Object.assign({ref:"tooltipRef",placement:"top"},t,{getDisabled:this.getTooltipDisabled,theme:o.peers.Tooltip,themeOverrides:o.peerOverrides.Tooltip}),{trigger:r,default:null!=(e=a.tooltip)?e:a.default})}}})},64170:function(e,t,r){r.d(t,{Z:()=>a});var l=r(71309);let a=(0,l.cB)("ellipsis",{overflow:"hidden"},[(0,l.u4)("line-clamp",`- white-space: nowrap;- display: inline-block;- vertical-align: bottom;- max-width: 100%;- `),(0,l.cM)("line-clamp",`- display: -webkit-inline-box;- -webkit-box-orient: vertical;- `),(0,l.cM)("cursor-pointer",`- cursor: pointer;- `)])},75459:function(e,t,r){r.d(t,{Z:()=>q});var l=r(20013),a=r(58786),o=r(96823),n=r(35891),i=r(9151),d=r(6610),s=r(15077);let c=(0,a.aZ)({name:"More",render:()=>(0,a.h)("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,a.h)("g",{fill:"currentColor","fill-rule":"nonzero"},(0,a.h)("path",{d:"M4,7 C4.55228,7 5,7.44772 5,8 C5,8.55229 4.55228,9 4,9 C3.44772,9 3,8.55229 3,8 C3,7.44772 3.44772,7 4,7 Z M8,7 C8.55229,7 9,7.44772 9,8 C9,8.55229 8.55229,9 8,9 C7.44772,9 7,8.55229 7,8 C7,7.44772 7.44772,7 8,7 Z M12,7 C12.5523,7 13,7.44772 13,8 C13,8.55229 12.5523,9 12,9 C11.4477,9 11,8.55229 11,8 C11,7.44772 11.4477,7 12,7 Z"}))))});var u=r(56946),h=r(54470),p=r(3616),v=r(53198),b=r(51048),f=r(61730);function m(e){switch(e){case"tiny":return"mini";case"small":return"tiny";case"medium":return"small";case"large":return"medium";case"huge":return"large"}throw Error(`${e} has no smaller size.`)}var g=r(44267),y=r(71309),x=r(93950),k=r(73084),w=r(83664),C=r(42056),F=r(88143),B=r(47716),R=r(49942),S=r(71251);let z=(0,r(19050).U)("n-popselect");var M=r(85259),P=r(20772),$=r(33044),Z=r(27987),O=r(56682);let T=(0,y.cB)("popselect-menu",`- box-shadow: var(--n-menu-box-shadow);-`),N={multiple:Boolean,value:{type:[String,Number,Array],default:null},cancelable:Boolean,options:{type:Array,default:()=>[]},size:{type:String,default:"medium"},scrollable:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onMouseenter:Function,onMouseleave:Function,renderLabel:Function,showCheckmark:{type:Boolean,default:void 0},nodeProps:Function,virtualScroll:Boolean,onChange:[Function,Array]},E=(0,Z.u)(N),A=(0,a.aZ)({name:"PopselectPanel",props:N,setup(e){let t=(0,a.f3)(z),{mergedClsPrefixRef:r,inlineThemeDisabled:l}=(0,h.ZP)(e),o=(0,u.Z)("Popselect","-pop-select",T,S.Z,t.props,r),n=(0,a.Fl)(()=>(0,P.J)(e.options,(0,O.bo)("value","children")));function i(t,r){let{onUpdateValue:l,"onUpdate:value":a,onChange:o}=e;l&&(0,g.R)(l,t,r),a&&(0,g.R)(a,t,r),o&&(0,g.R)(o,t,r)}(0,a.YP)((0,a.Vh)(e,"options"),()=>{(0,a.Y3)(()=>{t.syncPosition()})});let d=(0,a.Fl)(()=>{let{self:{menuBoxShadow:e}}=o.value;return{"--n-menu-box-shadow":e}}),s=l?(0,v.F)("select",void 0,d,t.props):void 0;return{mergedTheme:t.mergedThemeRef,mergedClsPrefix:r,treeMate:n,handleToggle:function(r){!function(r){let{value:{getNode:l}}=n;if(e.multiple)if(Array.isArray(e.value)){let t=[],a=[],o=!0;e.value.forEach(e=>{if(e===r){o=!1;return}let n=l(e);n&&(t.push(n.key),a.push(n.rawNode))}),o&&(t.push(r),a.push(l(r).rawNode)),i(t,a)}else{let e=l(r);e&&i([r],[e.rawNode])}else if(e.value===r&&e.cancelable)i(null,null);else{let e=l(r);e&&i(r,e.rawNode);let{"onUpdate:show":a,onUpdateShow:o}=t.props;a&&(0,g.R)(a,!1),o&&(0,g.R)(o,!1),t.setShow(!1)}(0,a.Y3)(()=>{t.syncPosition()})}(r.key)},handleMenuMousedown:function(e){(0,M.B)(e,"action")||(0,M.B)(e,"empty")||(0,M.B)(e,"header")||e.preventDefault()},cssVars:l?void 0:d,themeClass:null==s?void 0:s.themeClass,onRender:null==s?void 0:s.onRender}},render(){var e;return null==(e=this.onRender)||e.call(this),(0,a.h)($.Z,{clsPrefix:this.mergedClsPrefix,focusable:!0,nodeProps:this.nodeProps,class:[`${this.mergedClsPrefix}-popselect-menu`,this.themeClass],style:this.cssVars,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,multiple:this.multiple,treeMate:this.treeMate,size:this.size,value:this.value,virtualScroll:this.virtualScroll,scrollable:this.scrollable,renderLabel:this.renderLabel,onToggle:this.handleToggle,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseenter,onMousedown:this.handleMenuMousedown,showCheckmark:this.showCheckmark},{header:()=>{var e,t;return(null==(t=(e=this.$slots).header)?void 0:t.call(e))||[]},action:()=>{var e,t;return(null==(t=(e=this.$slots).action)?void 0:t.call(e))||[]},empty:()=>{var e,t;return(null==(t=(e=this.$slots).empty)?void 0:t.call(e))||[]}})}}),H=Object.assign(Object.assign(Object.assign(Object.assign({},u.Z.props),(0,w.C)(R.Kd,["showArrow","arrow"])),{placement:Object.assign(Object.assign({},R.Kd.placement),{default:"bottom"}),trigger:{type:String,default:"hover"}}),N),L=(0,a.aZ)({name:"Popselect",props:H,slots:Object,inheritAttrs:!1,__popover__:!0,setup(e){let{mergedClsPrefixRef:t}=(0,h.ZP)(e),r=(0,u.Z)("Popselect","-popselect",void 0,S.Z,e,t),l=(0,a.iH)(null);function o(){var e;null==(e=l.value)||e.syncPosition()}function n(e){var t;null==(t=l.value)||t.setShow(e)}return(0,a.JJ)(z,{props:e,mergedThemeRef:r,syncPosition:o,setShow:n}),Object.assign(Object.assign({},{syncPosition:o,setShow:n}),{popoverInstRef:l,mergedTheme:r})},render(){let{mergedTheme:e}=this,t={theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:{padding:"0"},ref:"popoverInstRef",internalRenderBody:(e,t,r,l,o)=>{let{$attrs:n}=this;return(0,a.h)(A,Object.assign({},n,{class:[n.class,e],style:[n.style,...r]},(0,C.C)(this.$props,E),{ref:(0,F.S)(t),onMouseenter:(0,B.B)([l,n.onMouseenter]),onMouseleave:(0,B.B)([o,n.onMouseleave])}),{header:()=>{var e,t;return null==(t=(e=this.$slots).header)?void 0:t.call(e)},action:()=>{var e,t;return null==(t=(e=this.$slots).action)?void 0:t.call(e)},empty:()=>{var e,t;return null==(t=(e=this.$slots).empty)?void 0:t.call(e)}})}};return(0,a.h)(R.ZP,Object.assign({},(0,w.C)(this.$props,E),t,{internalDeactivateImmediately:!0}),{trigger:()=>{var e,t;return null==(t=(e=this.$slots).default)?void 0:t.call(e)}})}});var j=r(8490),I=r(55675);let V=`- background: var(--n-item-color-hover);- color: var(--n-item-text-color-hover);- border: var(--n-item-border-hover);-`,U=[(0,y.cM)("button",`- background: var(--n-button-color-hover);- border: var(--n-button-border-hover);- color: var(--n-button-icon-color-hover);- `)],K=(0,y.cB)("pagination",`- display: flex;- vertical-align: middle;- font-size: var(--n-item-font-size);- flex-wrap: nowrap;-`,[(0,y.cB)("pagination-prefix",`- display: flex;- align-items: center;- margin: var(--n-prefix-margin);- `),(0,y.cB)("pagination-suffix",`- display: flex;- align-items: center;- margin: var(--n-suffix-margin);- `),(0,y.c)("> *:not(:first-child)",`- margin: var(--n-item-margin);- `),(0,y.cB)("select",`- width: var(--n-select-width);- `),(0,y.c)("&.transition-disabled",[(0,y.cB)("pagination-item","transition: none!important;")]),(0,y.cB)("pagination-quick-jumper",`- white-space: nowrap;- display: flex;- color: var(--n-jumper-text-color);- transition: color .3s var(--n-bezier);- align-items: center;- font-size: var(--n-jumper-font-size);- `,[(0,y.cB)("input",`- margin: var(--n-input-margin);- width: var(--n-input-width);- `)]),(0,y.cB)("pagination-item",`- position: relative;- cursor: pointer;- user-select: none;- -webkit-user-select: none;- display: flex;- align-items: center;- justify-content: center;- box-sizing: border-box;- min-width: var(--n-item-size);- height: var(--n-item-size);- padding: var(--n-item-padding);- background-color: var(--n-item-color);- color: var(--n-item-text-color);- border-radius: var(--n-item-border-radius);- border: var(--n-item-border);- fill: var(--n-button-icon-color);- transition:- color .3s var(--n-bezier),- border-color .3s var(--n-bezier),- background-color .3s var(--n-bezier),- fill .3s var(--n-bezier);- `,[(0,y.cM)("button",`- background: var(--n-button-color);- color: var(--n-button-icon-color);- border: var(--n-button-border);- padding: 0;- `,[(0,y.cB)("base-icon",`- font-size: var(--n-button-icon-size);- `)]),(0,y.u4)("disabled",[(0,y.cM)("hover",V,U),(0,y.c)("&:hover",V,U),(0,y.c)("&:active",`- background: var(--n-item-color-pressed);- color: var(--n-item-text-color-pressed);- border: var(--n-item-border-pressed);- `,[(0,y.cM)("button",`- background: var(--n-button-color-pressed);- border: var(--n-button-border-pressed);- color: var(--n-button-icon-color-pressed);- `)]),(0,y.cM)("active",`- background: var(--n-item-color-active);- color: var(--n-item-text-color-active);- border: var(--n-item-border-active);- `,[(0,y.c)("&:hover",`- background: var(--n-item-color-active-hover);- `)])]),(0,y.cM)("disabled",`- cursor: not-allowed;- color: var(--n-item-text-color-disabled);- `,[(0,y.cM)("active, button",`- background-color: var(--n-item-color-disabled);- border: var(--n-item-border-disabled);- `)])]),(0,y.cM)("disabled",`- cursor: not-allowed;- `,[(0,y.cB)("pagination-quick-jumper",`- color: var(--n-jumper-text-color-disabled);- `)]),(0,y.cM)("simple",`- display: flex;- align-items: center;- flex-wrap: nowrap;- `,[(0,y.cB)("pagination-quick-jumper",[(0,y.cB)("input",`- margin: 0;- `)])])]);var _=r(56706);let D=Object.assign(Object.assign({},u.Z.props),{simple:Boolean,page:Number,defaultPage:{type:Number,default:1},itemCount:Number,pageCount:Number,defaultPageCount:{type:Number,default:1},showSizePicker:Boolean,pageSize:Number,defaultPageSize:Number,pageSizes:{type:Array,default:()=>[10]},showQuickJumper:Boolean,size:{type:String,default:"medium"},disabled:Boolean,pageSlot:{type:Number,default:9},selectProps:Object,prev:Function,next:Function,goto:Function,prefix:Function,suffix:Function,label:Function,displayOrder:{type:Array,default:["pages","size-picker","quick-jumper"]},to:f.n.propTo,showQuickJumpDropdown:{type:Boolean,default:!0},"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],onPageSizeChange:[Function,Array],onChange:[Function,Array]}),q=(0,a.aZ)({name:"Pagination",props:D,slots:Object,setup(e){let{mergedComponentPropsRef:t,mergedClsPrefixRef:r,inlineThemeDisabled:o,mergedRtlRef:n}=(0,h.ZP)(e),i=(0,u.Z)("Pagination","-pagination",K,I.Z,e,r),{localeRef:d}=(0,p.Z)("Pagination"),s=(0,a.iH)(null),c=(0,a.iH)(e.defaultPage),f=(0,a.iH)((0,_.h)(e)),x=(0,l.Z)((0,a.Vh)(e,"page"),c),k=(0,l.Z)((0,a.Vh)(e,"pageSize"),f),w=(0,a.Fl)(()=>{let{itemCount:t}=e;if(void 0!==t)return Math.max(1,Math.ceil(t/k.value));let{pageCount:r}=e;return void 0!==r?Math.max(r,1):1}),C=(0,a.iH)("");(0,a.m0)(()=>{e.simple,C.value=String(x.value)});let F=(0,a.iH)(!1),B=(0,a.iH)(!1),R=(0,a.iH)(!1),S=(0,a.iH)(!1),z=(0,a.Fl)(()=>(0,_.u)(x.value,w.value,e.pageSlot,e.showQuickJumpDropdown));(0,a.m0)(()=>{z.value.hasFastBackward?z.value.hasFastForward||(F.value=!1,R.value=!1):(B.value=!1,S.value=!1)});let M=(0,a.Fl)(()=>{let t=d.value.selectionSuffix;return e.pageSizes.map(e=>"number"==typeof e?{label:`${e} / ${t}`,value:e}:e)}),P=(0,a.Fl)(()=>{var r,l;return(null==(l=null==(r=null==t?void 0:t.value)?void 0:r.Pagination)?void 0:l.inputSize)||m(e.size)}),$=(0,a.Fl)(()=>{var r,l;return(null==(l=null==(r=null==t?void 0:t.value)?void 0:r.Pagination)?void 0:l.selectSize)||m(e.size)}),Z=(0,a.Fl)(()=>(x.value-1)*k.value),O=(0,a.Fl)(()=>{let t=x.value*k.value-1,{itemCount:r}=e;return void 0!==r&&t>r-1?r-1:t}),T=(0,a.Fl)(()=>{let{itemCount:t}=e;return void 0!==t?t:(e.pageCount||1)*k.value}),N=(0,b.V)("Pagination",n,r);function E(){(0,a.Y3)(()=>{var e;let{value:t}=s;t&&(t.classList.add("transition-disabled"),null==(e=s.value)||e.offsetWidth,t.classList.remove("transition-disabled"))})}function A(t){if(t===x.value)return;let{"onUpdate:page":r,onUpdatePage:l,onChange:a,simple:o}=e;r&&(0,g.R)(r,t),l&&(0,g.R)(l,t),a&&(0,g.R)(a,t),c.value=t,o&&(C.value=String(t))}(0,a.m0)(()=>{x.value,k.value,E()});let H=(0,a.Fl)(()=>{let{size:t}=e,{self:{buttonBorder:r,buttonBorderHover:l,buttonBorderPressed:a,buttonIconColor:o,buttonIconColorHover:n,buttonIconColorPressed:d,itemTextColor:s,itemTextColorHover:c,itemTextColorPressed:u,itemTextColorActive:h,itemTextColorDisabled:p,itemColor:v,itemColorHover:b,itemColorPressed:f,itemColorActive:m,itemColorActiveHover:g,itemColorDisabled:x,itemBorder:k,itemBorderHover:w,itemBorderPressed:C,itemBorderActive:F,itemBorderDisabled:B,itemBorderRadius:R,jumperTextColor:S,jumperTextColorDisabled:z,buttonColor:M,buttonColorHover:P,buttonColorPressed:$,[(0,y.Tl)("itemPadding",t)]:Z,[(0,y.Tl)("itemMargin",t)]:O,[(0,y.Tl)("inputWidth",t)]:T,[(0,y.Tl)("selectWidth",t)]:N,[(0,y.Tl)("inputMargin",t)]:E,[(0,y.Tl)("selectMargin",t)]:A,[(0,y.Tl)("jumperFontSize",t)]:H,[(0,y.Tl)("prefixMargin",t)]:L,[(0,y.Tl)("suffixMargin",t)]:j,[(0,y.Tl)("itemSize",t)]:I,[(0,y.Tl)("buttonIconSize",t)]:V,[(0,y.Tl)("itemFontSize",t)]:U,[`${(0,y.Tl)("itemMargin",t)}Rtl`]:K,[`${(0,y.Tl)("inputMargin",t)}Rtl`]:_},common:{cubicBezierEaseInOut:D}}=i.value;return{"--n-prefix-margin":L,"--n-suffix-margin":j,"--n-item-font-size":U,"--n-select-width":N,"--n-select-margin":A,"--n-input-width":T,"--n-input-margin":E,"--n-input-margin-rtl":_,"--n-item-size":I,"--n-item-text-color":s,"--n-item-text-color-disabled":p,"--n-item-text-color-hover":c,"--n-item-text-color-active":h,"--n-item-text-color-pressed":u,"--n-item-color":v,"--n-item-color-hover":b,"--n-item-color-disabled":x,"--n-item-color-active":m,"--n-item-color-active-hover":g,"--n-item-color-pressed":f,"--n-item-border":k,"--n-item-border-hover":w,"--n-item-border-disabled":B,"--n-item-border-active":F,"--n-item-border-pressed":C,"--n-item-padding":Z,"--n-item-border-radius":R,"--n-bezier":D,"--n-jumper-font-size":H,"--n-jumper-text-color":S,"--n-jumper-text-color-disabled":z,"--n-item-margin":O,"--n-item-margin-rtl":K,"--n-button-icon-size":V,"--n-button-icon-color":o,"--n-button-icon-color-hover":n,"--n-button-icon-color-pressed":d,"--n-button-color-hover":P,"--n-button-color":M,"--n-button-color-pressed":$,"--n-button-border":r,"--n-button-border-hover":l,"--n-button-border-pressed":a}}),L=o?(0,v.F)("pagination",(0,a.Fl)(()=>{let t="",{size:r}=e;return t+r[0]}),H,e):void 0;return{rtlEnabled:N,mergedClsPrefix:r,locale:d,selfRef:s,mergedPage:x,pageItems:(0,a.Fl)(()=>z.value.items),mergedItemCount:T,jumperValue:C,pageSizeOptions:M,mergedPageSize:k,inputSize:P,selectSize:$,mergedTheme:i,mergedPageCount:w,startIndex:Z,endIndex:O,showFastForwardMenu:R,showFastBackwardMenu:S,fastForwardActive:F,fastBackwardActive:B,handleMenuSelect:e=>{A(e)},handleFastForwardMouseenter:()=>{e.disabled||(F.value=!0,E())},handleFastForwardMouseleave:()=>{e.disabled||(F.value=!1,E())},handleFastBackwardMouseenter:()=>{B.value=!0,E()},handleFastBackwardMouseleave:()=>{B.value=!1,E()},handleJumperInput:function(e){C.value=e.replace(/\D+/g,"")},handleBackwardClick:function(){e.disabled||A(Math.max(x.value-1,1))},handleForwardClick:function(){e.disabled||A(Math.min(x.value+1,w.value))},handlePageItemClick:function(t){if(!e.disabled)switch(t.type){case"page":A(t.label);break;case"fast-backward":e.disabled||A(Math.max(z.value.fastBackwardTo,1));break;case"fast-forward":e.disabled||A(Math.min(z.value.fastForwardTo,w.value))}},handleSizePickerChange:function(t){!function(t){if(t===k.value)return;let{"onUpdate:pageSize":r,onUpdatePageSize:l,onPageSizeChange:a}=e;r&&(0,g.R)(r,t),l&&(0,g.R)(l,t),a&&(0,g.R)(a,t),f.value=t,w.value<x.value&&A(w.value)}(t)},handleQuickJumperChange:function(){let t=Number.parseInt(C.value);!Number.isNaN(t)&&(A(Math.max(1,Math.min(t,w.value))),e.simple||(C.value=""))},cssVars:o?void 0:H,themeClass:null==L?void 0:L.themeClass,onRender:null==L?void 0:L.onRender}},render(){let{$slots:e,mergedClsPrefix:t,disabled:r,cssVars:l,mergedPage:u,mergedPageCount:h,pageItems:p,showSizePicker:v,showQuickJumper:b,mergedTheme:f,locale:m,inputSize:g,selectSize:y,mergedPageSize:w,pageSizeOptions:C,jumperValue:F,simple:B,prev:R,next:S,prefix:z,suffix:M,label:P,goto:$,handleJumperInput:Z,handleSizePickerChange:O,handleBackwardClick:T,handlePageItemClick:N,handleForwardClick:E,handleQuickJumperChange:A,onRender:H}=this;null==H||H();let I=z||e.prefix,V=M||e.suffix,U=R||e.prev,K=S||e.next,_=P||e.label;return(0,a.h)("div",{ref:"selfRef",class:[`${t}-pagination`,this.themeClass,this.rtlEnabled&&`${t}-pagination--rtl`,r&&`${t}-pagination--disabled`,B&&`${t}-pagination--simple`],style:l},I?(0,a.h)("div",{class:`${t}-pagination-prefix`},I({page:u,pageSize:w,pageCount:h,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null,this.displayOrder.map(e=>{switch(e){case"pages":return(0,a.h)(a.HY,null,(0,a.h)("div",{class:[`${t}-pagination-item`,!U&&`${t}-pagination-item--button`,(u<=1||u>h||r)&&`${t}-pagination-item--disabled`],onClick:T},U?U({page:u,pageSize:w,pageCount:h,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount}):(0,a.h)(o.Z,{clsPrefix:t},{default:()=>this.rtlEnabled?(0,a.h)(n.Z,null):(0,a.h)(i.Z,null)})),B?(0,a.h)(a.HY,null,(0,a.h)("div",{class:`${t}-pagination-quick-jumper`},(0,a.h)(k.Z,{value:F,onUpdateValue:Z,size:g,placeholder:"",disabled:r,theme:f.peers.Input,themeOverrides:f.peerOverrides.Input,onChange:A})),"\xa0/"," ",h):p.map((e,l)=>{let n,i,u,{type:h}=e;switch(h){case"page":let p=e.label;n=_?_({type:"page",node:p,active:e.active}):p;break;case"fast-forward":let v=this.fastForwardActive?(0,a.h)(o.Z,{clsPrefix:t},{default:()=>this.rtlEnabled?(0,a.h)(d.Z,null):(0,a.h)(s.Z,null)}):(0,a.h)(o.Z,{clsPrefix:t},{default:()=>(0,a.h)(c,null)});n=_?_({type:"fast-forward",node:v,active:this.fastForwardActive||this.showFastForwardMenu}):v,i=this.handleFastForwardMouseenter,u=this.handleFastForwardMouseleave;break;case"fast-backward":let b=this.fastBackwardActive?(0,a.h)(o.Z,{clsPrefix:t},{default:()=>this.rtlEnabled?(0,a.h)(s.Z,null):(0,a.h)(d.Z,null)}):(0,a.h)(o.Z,{clsPrefix:t},{default:()=>(0,a.h)(c,null)});n=_?_({type:"fast-backward",node:b,active:this.fastBackwardActive||this.showFastBackwardMenu}):b,i=this.handleFastBackwardMouseenter,u=this.handleFastBackwardMouseleave}let m=(0,a.h)("div",{key:l,class:[`${t}-pagination-item`,e.active&&`${t}-pagination-item--active`,"page"!==h&&("fast-backward"===h&&this.showFastBackwardMenu||"fast-forward"===h&&this.showFastForwardMenu)&&`${t}-pagination-item--hover`,r&&`${t}-pagination-item--disabled`,"page"===h&&`${t}-pagination-item--clickable`],onClick:()=>{N(e)},onMouseenter:i,onMouseleave:u},n);if("page"===h&&!e.mayBeFastBackward&&!e.mayBeFastForward)return m;{let t="page"===e.type?e.mayBeFastBackward?"fast-backward":"fast-forward":e.type;return"page"===e.type||e.options?(0,a.h)(L,{to:this.to,key:t,disabled:r,trigger:"hover",virtualScroll:!0,style:{width:"60px"},theme:f.peers.Popselect,themeOverrides:f.peerOverrides.Popselect,builtinThemeOverrides:{peers:{InternalSelectMenu:{height:"calc(var(--n-option-height) * 4.6)"}}},nodeProps:()=>({style:{justifyContent:"center"}}),show:"page"!==h&&("fast-backward"===h?this.showFastBackwardMenu:this.showFastForwardMenu),onUpdateShow:e=>{"page"!==h&&(e?"fast-backward"===h?this.showFastBackwardMenu=e:this.showFastForwardMenu=e:(this.showFastBackwardMenu=!1,this.showFastForwardMenu=!1))},options:"page"!==e.type&&e.options?e.options:[],onUpdateValue:this.handleMenuSelect,scrollable:!0,showCheckmark:!1},{default:()=>m}):m}}),(0,a.h)("div",{class:[`${t}-pagination-item`,!K&&`${t}-pagination-item--button`,{[`${t}-pagination-item--disabled`]:u<1||u>=h||r}],onClick:E},K?K({page:u,pageSize:w,pageCount:h,itemCount:this.mergedItemCount,startIndex:this.startIndex,endIndex:this.endIndex}):(0,a.h)(o.Z,{clsPrefix:t},{default:()=>this.rtlEnabled?(0,a.h)(i.Z,null):(0,a.h)(n.Z,null)})));case"size-picker":return!B&&v?(0,a.h)(j.Z,Object.assign({consistentMenuWidth:!1,placeholder:"",showCheckmark:!1,to:this.to},this.selectProps,{size:y,options:C,value:w,disabled:r,theme:f.peers.Select,themeOverrides:f.peerOverrides.Select,onUpdateValue:O})):null;case"quick-jumper":return!B&&b?(0,a.h)("div",{class:`${t}-pagination-quick-jumper`},$?$():(0,x.gI)(this.$slots.goto,()=>[m.goto]),(0,a.h)(k.Z,{value:F,onUpdateValue:Z,size:g,placeholder:"",disabled:r,theme:f.peers.Input,themeOverrides:f.peerOverrides.Input,onChange:A})):null;default:return null}}),V?(0,a.h)("div",{class:`${t}-pagination-suffix`},V({page:u,pageSize:w,pageCount:h,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null)}})},56706:function(e,t,r){function l(e){var t;if(!e)return 10;let{defaultPageSize:r}=e;if(void 0!==r)return r;let l=null==(t=e.pageSizes)?void 0:t[0];return"number"==typeof l?l:(null==l?void 0:l.value)||10}function a(e,t,r,l){let a=!1,n=!1,i=1,d=t;if(1===t)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:d,fastBackwardTo:i,items:[{type:"page",label:1,active:1===e,mayBeFastBackward:!1,mayBeFastForward:!1}]};if(2===t)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:d,fastBackwardTo:i,items:[{type:"page",label:1,active:1===e,mayBeFastBackward:!1,mayBeFastForward:!1},{type:"page",label:2,active:2===e,mayBeFastBackward:!0,mayBeFastForward:!1}]};let s=e,c=e,u=(r-5)/2;c+=Math.ceil(u),c=Math.min(Math.max(c,1+r-3),t-2),s-=Math.floor(u);let h=!1,p=!1;(s=Math.max(Math.min(s,t-r+3),3))>3&&(h=!0),c<t-2&&(p=!0);let v=[];v.push({type:"page",label:1,active:1===e,mayBeFastBackward:!1,mayBeFastForward:!1}),h?(a=!0,i=s-1,v.push({type:"fast-backward",active:!1,label:void 0,options:l?o(2,s-1):null})):t>=2&&v.push({type:"page",label:2,mayBeFastBackward:!0,mayBeFastForward:!1,active:2===e});for(let t=s;t<=c;++t)v.push({type:"page",label:t,mayBeFastBackward:!1,mayBeFastForward:!1,active:e===t});return p?(n=!0,d=c+1,v.push({type:"fast-forward",active:!1,label:void 0,options:l?o(c+1,t-1):null})):c===t-2&&v[v.length-1].label!==t-1&&v.push({type:"page",mayBeFastForward:!0,mayBeFastBackward:!1,label:t-1,active:e===t-1}),v[v.length-1].label!==t&&v.push({type:"page",mayBeFastForward:!1,mayBeFastBackward:!1,label:t,active:e===t}),{hasFastBackward:a,hasFastForward:n,fastBackwardTo:i,fastForwardTo:d,items:v}}function o(e,t){let r=[];for(let l=e;l<=t;++l)r.push({label:`${l}`,value:l});return r}r.d(t,{h:()=>l,u:()=>a})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/5779.22154d15.js b/core/public/dist/static/js/async/5779.22154d15.jsdeleted file mode 100644index c2cb1b8d..00000000--- a/core/public/dist/static/js/async/5779.22154d15.js+++ /dev/null@@ -1 +0,0 @@-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["5779"],{39432:function(e,a,t){t.d(a,{Au:()=>c,Fj:()=>n,LC:()=>o,Lb:()=>_,OV:()=>r,dj:()=>u,gK:()=>d,i7:()=>s,rU:()=>g,v1:()=>v,xh:()=>m,yW:()=>p});var l=t(34541);let{t:i}=t(76882).Z.global,s=e=>l.e.get("/domains/list",{params:e}),o=()=>l.e.get("/domains/all"),n=e=>l.e.post("/domains/create",e,{fetchOptions:{loading:i("domain.api.loading.creating"),successMessage:!0}}),d=e=>l.e.post("/domains/update",e,{fetchOptions:{loading:i("domain.api.loading.updating"),successMessage:!0}}),u=e=>l.e.post("/domains/delete",e,{fetchOptions:{loading:i("domain.api.loading.deleting"),successMessage:!0}}),r=e=>l.e.post("/domains/set_ssl",e,{fetchOptions:{loading:i("domain.api.loading.settingSSL"),successMessage:!0}}),c=e=>l.e.get("/domains/get_ssl",{params:e}),v=e=>l.e.post("/domains/fresh_dns_records",e,{fetchOptions:{loading:i("domain.api.loading.refreshingDns"),successMessage:!0}}),p=e=>l.e.post("/ssl/apply_cert",e,{fetchOptions:{loading:i("domain.api.loading.applyingCert"),successMessage:!0}}),m=e=>l.e.post("/domains/set_default_domain",e,{fetchOptions:{loading:"Setting Default Domain, please wait...",successMessage:!0}}),g=e=>l.e.post("/askai/project/create",e,{fetchOptions:{loading:"Setting domain brand info , please wait...",successMessage:!0}}),_=()=>l.e.post("/askai/supplier/status")},92314:function(e,a,t){t.d(a,{AB:()=>u,CI:()=>n,Re:()=>r,a3:()=>p,cu:()=>d,de:()=>c,ou:()=>s,uJ:()=>o,v_:()=>v});var l=t(34541);let{t:i}=t(76882).Z.global,s=e=>l.e.get("/overview",{params:e}),o=e=>l.e.get("/overview/failed",{params:e}),n=()=>l.e.get("/postfix_queue/list"),d=e=>l.e.get("/postfix_queue/queue_info",{params:e}),u=e=>l.e.post("/postfix_queue/flush_by_id",e,{fetchOptions:{loading:i("overview.api.loading.resendQueue"),successMessage:!0}}),r=e=>l.e.post("/postfix_queue/delete_by_id",e,{fetchOptions:{loading:i("overview.api.loading.deleteQueue"),successMessage:!0}}),c=()=>l.e.get("/postfix_queue/get_config"),v=e=>l.e.post("/postfix_queue/set_all_config",e,{fetchOptions:{loading:i("overview.api.loading.setQueueConfig"),successMessage:!0}}),p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return l.e.post("/postfix_queue/delete",e,{fetchOptions:{loading:i("overview.api.loading.clearQueue"),successMessage:!0}})}},51169:function(e,a,t){t.d(a,{d:()=>o});var l=t(58786),i=t(49247);let s=Symbol("MODAL_INJECT"),o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{state:a={},component:t,onCancel:o,onConfirm:n}=e,d=(0,l.qj)({});return t?[(0,l.aZ)({setup(i,o){let{attrs:n,slots:u}=o;return(0,l.JJ)(s,{state:a,options:e,extendApi:e=>{Object.setPrototypeOf(d,e)},setState:e=>{Object.assign(a,e)}}),()=>(0,l.h)(t,{...i,...n},u)}}),d]:[(0,l.aZ)({setup(a,t){let{attrs:u,slots:r}=t,c=(0,l.f3)(s),v=(0,l.iH)(!1);return d.open=()=>{var a;v.value=!0,null==(a=e.onChangeState)||a.call(e,v.value)},d.close=()=>{v.value=!1},d.setState=a=>{var t;null==c||c.setState(a),null==(t=e.onChangeState)||t.call(e,v.value)},d.getState=()=>(null==c?void 0:c.state)??{},null==c||c.extendApi(d),()=>(0,l.Wm)(i.Z,(0,l.dG)({show:v.value},a,u,{onCancel:o,onConfirm:n,"onUpdate:show":e=>{v.value=e??!1}}),r)}}),d]}},69209:function(e,a,t){t.r(a),t.d(a,{default:()=>P});var l=t(57869),i=t(58786),s=t(22895),o=t(4020),n=t(68271),d=t(51169),u=t(92314),r=t(17977),c=t(16715),v=t(77227),p=t(8490),m=t(17987),g=t(36760),_=t(49468),f=t(39432),w=t(52495);let y={class:"filter-bar"},h={class:"w-260px"},b={class:"date-filters"},S={class:"w-240px"},U=(0,i.aZ)({__name:"FilterBar",props:{domain:{},domainModifiers:{},dateRange:{},dateRangeModifiers:{}},emits:["update:domain","update:dateRange"],setup(e){let{t:a}=(0,w.QT)(),t=(0,i.tT)(e,"domain"),l=(0,i.tT)(e,"dateRange"),s=(0,i.iH)([{label:a("common.all.domain"),value:""}]),o=(0,i.iH)("today"),d=e=>{let a=new Date,t=(0,m.E)(a,-30);return(0,g.b)(t).getTime()>e||(0,_.i)(a).getTime()<e},u=e=>{switch(e){case"today":l.value=(0,n.wb)();break;case"yesterday":l.value=(0,n.wb)((0,m.E)(new Date,-1));break;case"last7days":l.value=U()}},U=()=>{let e=new Date,a=(0,_.i)(e);return[(0,g.b)((0,m.E)(e,-6)).getTime(),a.getTime()]},k=e=>{o.value="custom",l.value=[(0,g.b)(e[0]).getTime(),(0,_.i)(e[1]).getTime()]},Z=async()=>{let e=await (0,f.LC)();(0,n.kJ)(e)&&(s.value=e.map(e=>({label:e.domain,value:e.domain})),s.value.unshift({label:a("common.all.domain"),value:""}))};return(0,i.bv)(()=>{Z()}),(e,a)=>{let n=p.Z,m=v.Z,g=c.Z,_=r.Z;return(0,i.wg)(),(0,i.iD)("div",y,[(0,i._)("div",h,[(0,i.Wm)(n,{value:t.value,"onUpdate:value":a[0]||(a[0]=e=>t.value=e),options:(0,i.SU)(s)},null,8,["value","options"])]),(0,i._)("div",b,[(0,i.Wm)(g,{value:(0,i.SU)(o),"onUpdate:value":[a[1]||(a[1]=e=>(0,i.dq)(o)?o.value=e:null),u]},{default:(0,i.w5)(()=>[(0,i.Wm)(m,{value:"today"},{default:(0,i.w5)(()=>[(0,i.Uk)((0,i.zw)(e.$t("common.time.today")),1)]),_:1}),(0,i.Wm)(m,{value:"yesterday"},{default:(0,i.w5)(()=>[(0,i.Uk)((0,i.zw)(e.$t("common.time.yesterday")),1)]),_:1}),(0,i.Wm)(m,{value:"last7days"},{default:(0,i.w5)(()=>[(0,i.Uk)((0,i.zw)(e.$t("common.time.last7days")),1)]),_:1})]),_:1},8,["value"]),(0,i._)("div",S,[(0,i.Wm)(_,{value:l.value,type:"daterange","is-date-disabled":d,"onUpdate:value":k},null,8,["value"])])])])}}});var k=t(41748);let Z=(0,k.default)(U,[["__scopeId","data-v-1552f451"]]);var D=t(75762),W=t(28405),M=t(84439),O=t(53475),q=t(60424),x=t(35409);let T=(0,i.aZ)({__name:"SendFailDetails",setup(e){let{t:a}=(0,w.QT)(),t=(0,i.iH)(!1),l=(0,i.iH)([]),s=(0,i.iH)([{key:"recipient",title:a("overview.sendFailDetails.columns.recipient"),width:160,render:e=>(0,i.Wm)(x.ZP,{class:e.tooltip?"":"break-all!","line-clamp":e.tooltip?999:1,tooltip:!1},{default:()=>[e.recipient]})},{key:"dsn",title:a("overview.sendFailDetails.columns.dsn"),width:60},{key:"delay",title:a("overview.sendFailDetails.columns.delay"),width:70},{key:"delays",title:a("overview.sendFailDetails.columns.delays"),width:150},{key:"status",title:a("overview.sendFailDetails.columns.status"),width:100,ellipsis:{tooltip:!0},render:e=>e.status},{key:"relay",title:a("overview.sendFailDetails.columns.relay"),width:200,render:e=>(0,i.Wm)(x.ZP,{class:e.tooltip?"":"break-all!","line-clamp":e.tooltip?9999:1,tooltip:!1},{default:()=>[e.relay]})},{key:"description",title:a("overview.sendFailDetails.columns.details"),render:e=>(0,i.Wm)(x.ZP,{class:e.tooltip?"":"break-all!","line-clamp":e.tooltip?9999:1,tooltip:!1},{default:()=>[e.description]})}]),o=e=>({onMousemove:()=>{e.tooltip=!0},onMouseleave:()=>{e.tooltip=!1}}),r=async(e,a,i)=>{try{t.value=!0;let s=await (0,u.uJ)({domain:e,start_time:a/1e3,end_time:i/1e3});l.value=(0,n.kJ)(s)?s:[]}finally{t.value=!1}},[c,v]=(0,d.d)({onChangeState:e=>{if(e){let e=v.getState();r(e.domain,e.startTime,e.endTime)}else l.value=[]}});return(e,n)=>{let d=q.Z;return(0,i.wg)(),(0,i.j4)((0,i.SU)(c),{title:(0,i.SU)(a)("overview.sendFailDetails.title"),width:1e3,footer:!1},{default:(0,i.w5)(()=>[(0,i.Wm)(d,{loading:(0,i.SU)(t),"max-height":600,data:(0,i.SU)(l),columns:(0,i.SU)(s),"row-props":o},null,8,["loading","data","columns"])]),_:1},8,["title"])}}});var C=t(65965);let H={class:"email-analytics-container"},F={class:"bt-title"},j={class:"metrics-cards"},J={class:"detail-row"},Q={class:"rate-charts-card"},R=(0,i.aZ)({__name:"index",setup(e){let{t:a}=(0,w.QT)(),t=(0,o.m)(),r=(0,i.iH)(""),c=(0,i.iH)((0,n.wb)()),v=(0,i.iH)([]),p=(0,i.qj)({delivery_rate:{label:a("overview.delivered"),value:0,unit:"%"},open_rate:{label:a("overview.opened"),value:0,unit:"%"},click_rate:{label:a("overview.clicked"),value:0,unit:"%"},bounce_rate:{label:a("overview.bounced"),value:0,unit:"%"}}),m=(0,i.iH)(0),g=(0,i.iH)({column_type:"hourly",dashboard:{delivered:0,delivery_rate:0,failed:0,failure_rate:0,sends:0},data:[]}),_=(0,i.iH)({column_type:"hourly",data:[]}),f=(0,i.iH)({column_type:"hourly",data:[]}),y=(0,i.iH)({column_type:"hourly",data:[]}),h=(0,C.tv)(),b=()=>{h.push("/settings/send-queue")},[S,U]=(0,d.d)({component:T}),k=()=>{U.setState({domain:r.value,startTime:c.value[0],endTime:c.value[1]}),U.open()},q=(0,s.DI)(R,300),x=e=>{Object.entries(e).forEach(e=>{let[a,t]=e;a in p&&(p[a].value=t)}),m.value=e.delayed_queue};async function R(){let e=await (0,u.ou)({domain:r.value,start_time:Math.floor(c.value[0]/1e3),end_time:Math.floor(c.value[1]/1e3)});(0,n.Kn)(e)&&(x(e.dashboard),v.value=(0,n.kJ)(e.mail_providers)?e.mail_providers:[],g.value=e.send_mail_chart,_.value=e.bounce_rate_chart,f.value=e.click_rate_chart,y.value=e.open_rate_chart)}return(0,i.bv)(()=>{R()}),(e,s)=>{let o=l.ZP;return(0,i.wg)(),(0,i.iD)("div",H,[(0,i._)("div",F,(0,i.zw)((0,i.SU)(a)("layout.menu.overview")),1),(0,i.Wm)(Z,{domain:(0,i.SU)(r),"onUpdate:domain":[s[0]||(s[0]=e=>(0,i.dq)(r)?r.value=e:null),(0,i.SU)(q)],"date-range":(0,i.SU)(c),"onUpdate:dateRange":[s[1]||(s[1]=e=>(0,i.dq)(c)?c.value=e:null),(0,i.SU)(q)]},null,8,["domain","date-range","onUpdate:domain","onUpdate:dateRange"]),(0,i._)("div",j,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)((0,i.SU)(p),(e,a)=>((0,i.wg)(),(0,i.j4)(D.Z,{key:a,title:e.label,value:e.value,unit:e.unit},null,8,["title","value","unit"]))),128)),(0,i.Wm)(D.Z,{class:"cursor-pointer",title:e.$t("overview.delayedQueue"),value:(0,i.SU)(m),"text-color":(0,i.SU)(m)>0?(0,i.SU)(t).warningColor:"",onClick:b},null,8,["title","value","text-color"])]),(0,i._)("div",J,[(0,i.Wm)(o,{class:"provider-table-card",title:e.$t("overview.mailProviders")},{default:(0,i.w5)(()=>[(0,i.Wm)(W.Z,{value:(0,i.SU)(v),"onUpdate:value":s[2]||(s[2]=e=>(0,i.dq)(v)?v.value=e:null)},null,8,["value"])]),_:1},8,["title"]),(0,i.Wm)(o,{class:"send-today-card",title:e.$t("overview.sendStats")},{default:(0,i.w5)(()=>[(0,i.Wm)(M.Z,{data:(0,i.SU)(g),onShowFail:k},null,8,["data"])]),_:1},8,["title"])]),(0,i._)("div",Q,[(0,i.Wm)(O.Z,{bounce:(0,i.SU)(_),click:(0,i.SU)(f),open:(0,i.SU)(y)},null,8,["bounce","click","open"])]),(0,i.Wm)((0,i.SU)(S))])}}}),P=(0,k.default)(R,[["__scopeId","data-v-02e68cd1"]])}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/5779.62472426.js b/core/public/dist/static/js/async/5779.62472426.jsnew file mode 100644index 00000000..924ba43d--- /dev/null+++ b/core/public/dist/static/js/async/5779.62472426.js@@ -0,0 +1 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["5779"],{39432:function(e,a,t){t.d(a,{Au:()=>v,Fj:()=>d,LC:()=>o,Lb:()=>w,M7:()=>f,OV:()=>c,dj:()=>r,gK:()=>u,i7:()=>s,qt:()=>n,rU:()=>_,v1:()=>p,xh:()=>g,yW:()=>m});var l=t(34541);let{t:i}=t(76882).Z.global,s=e=>l.e.get("/domains/list",{params:e}),o=()=>l.e.get("/domains/all"),n=()=>l.e.post("/multi_ip_domain/apply"),d=e=>l.e.post("/domains/create",e,{fetchOptions:{loading:i("domain.api.loading.creating"),successMessage:!0}}),u=e=>l.e.post("/domains/update",e,{fetchOptions:{loading:i("domain.api.loading.updating"),successMessage:!0}}),r=e=>l.e.post("/domains/delete",e,{fetchOptions:{loading:i("domain.api.loading.deleting"),successMessage:!0}}),c=e=>l.e.post("/domains/set_ssl",e,{fetchOptions:{loading:i("domain.api.loading.settingSSL"),successMessage:!0}}),v=e=>l.e.get("/domains/get_ssl",{params:e}),p=e=>l.e.post("/domains/fresh_dns_records",e,{fetchOptions:{loading:i("domain.api.loading.refreshingDns"),successMessage:!0}}),m=e=>l.e.post("/ssl/apply_cert",e,{fetchOptions:{loading:i("domain.api.loading.applyingCert"),successMessage:!0}}),g=e=>l.e.post("/domains/set_default_domain",e,{fetchOptions:{loading:i("domain.api.loading.settingDefault"),successMessage:!0}}),_=e=>l.e.post("/askai/project/create",e,{fetchOptions:{loading:i("domain.api.loading.settingBrandInfo"),successMessage:!0}}),f=e=>l.e.post("/multi_ip_domain/test",e,{fetchOptions:{loading:i("domain.api.loading.testingConnection"),successMessage:!0}}),w=()=>l.e.post("/askai/supplier/status")},92314:function(e,a,t){t.d(a,{AB:()=>u,CI:()=>n,Re:()=>r,a3:()=>p,cu:()=>d,de:()=>c,ou:()=>s,uJ:()=>o,v_:()=>v});var l=t(34541);let{t:i}=t(76882).Z.global,s=e=>l.e.get("/overview",{params:e}),o=e=>l.e.get("/overview/failed",{params:e}),n=()=>l.e.get("/postfix_queue/list"),d=e=>l.e.get("/postfix_queue/queue_info",{params:e}),u=e=>l.e.post("/postfix_queue/flush_by_id",e,{fetchOptions:{loading:i("overview.api.loading.resendQueue"),successMessage:!0}}),r=e=>l.e.post("/postfix_queue/delete_by_id",e,{fetchOptions:{loading:i("overview.api.loading.deleteQueue"),successMessage:!0}}),c=()=>l.e.get("/postfix_queue/get_config"),v=e=>l.e.post("/postfix_queue/set_all_config",e,{fetchOptions:{loading:i("overview.api.loading.setQueueConfig"),successMessage:!0}}),p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return l.e.post("/postfix_queue/delete",e,{fetchOptions:{loading:i("overview.api.loading.clearQueue"),successMessage:!0}})}},51169:function(e,a,t){t.d(a,{d:()=>o});var l=t(58786),i=t(49247);let s=Symbol("MODAL_INJECT"),o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{state:a={},component:t,onCancel:o,onConfirm:n}=e,d=(0,l.qj)({});return t?[(0,l.aZ)({setup(i,o){let{attrs:n,slots:u}=o;return(0,l.JJ)(s,{state:a,options:e,extendApi:e=>{Object.setPrototypeOf(d,e)},setState:e=>{Object.assign(a,e)}}),()=>(0,l.h)(t,{...i,...n},u)}}),d]:[(0,l.aZ)({setup(a,t){let{attrs:u,slots:r}=t,c=(0,l.f3)(s),v=(0,l.iH)(!1);return d.open=()=>{var a;v.value=!0,null==(a=e.onChangeState)||a.call(e,v.value)},d.close=()=>{v.value=!1},d.setState=a=>{var t;null==c||c.setState(a),null==(t=e.onChangeState)||t.call(e,v.value)},d.getState=()=>(null==c?void 0:c.state)??{},null==c||c.extendApi(d),()=>(0,l.Wm)(i.Z,(0,l.dG)({show:v.value},a,u,{onCancel:o,onConfirm:n,"onUpdate:show":e=>{v.value=e??!1}}),r)}}),d]}},69209:function(e,a,t){t.r(a),t.d(a,{default:()=>I});var l=t(57869),i=t(58786),s=t(22895),o=t(4020),n=t(68271),d=t(51169),u=t(92314),r=t(17977),c=t(16715),v=t(77227),p=t(8490),m=t(17987),g=t(36760),_=t(49468),f=t(39432),w=t(52495);let y={class:"filter-bar"},h={class:"w-260px"},b={class:"date-filters"},S={class:"w-240px"},U=(0,i.aZ)({__name:"FilterBar",props:{domain:{},domainModifiers:{},dateRange:{},dateRangeModifiers:{}},emits:["update:domain","update:dateRange"],setup(e){let{t:a}=(0,w.QT)(),t=(0,i.tT)(e,"domain"),l=(0,i.tT)(e,"dateRange"),s=(0,i.iH)([{label:a("common.all.domain"),value:""}]),o=(0,i.iH)("today"),d=e=>{let a=new Date,t=(0,m.E)(a,-30);return(0,g.b)(t).getTime()>e||(0,_.i)(a).getTime()<e},u=e=>{switch(e){case"today":l.value=(0,n.wb)();break;case"yesterday":l.value=(0,n.wb)((0,m.E)(new Date,-1));break;case"last7days":l.value=U()}},U=()=>{let e=new Date,a=(0,_.i)(e);return[(0,g.b)((0,m.E)(e,-6)).getTime(),a.getTime()]},k=e=>{o.value="custom",l.value=[(0,g.b)(e[0]).getTime(),(0,_.i)(e[1]).getTime()]},Z=async()=>{let e=await (0,f.LC)();(0,n.kJ)(e)&&(s.value=e.map(e=>({label:e.domain,value:e.domain})),s.value.unshift({label:a("common.all.domain"),value:""}))};return(0,i.bv)(()=>{Z()}),(e,a)=>{let n=p.Z,m=v.Z,g=c.Z,_=r.Z;return(0,i.wg)(),(0,i.iD)("div",y,[(0,i._)("div",h,[(0,i.Wm)(n,{value:t.value,"onUpdate:value":a[0]||(a[0]=e=>t.value=e),options:(0,i.SU)(s)},null,8,["value","options"])]),(0,i._)("div",b,[(0,i.Wm)(g,{value:(0,i.SU)(o),"onUpdate:value":[a[1]||(a[1]=e=>(0,i.dq)(o)?o.value=e:null),u]},{default:(0,i.w5)(()=>[(0,i.Wm)(m,{value:"today"},{default:(0,i.w5)(()=>[(0,i.Uk)((0,i.zw)(e.$t("common.time.today")),1)]),_:1}),(0,i.Wm)(m,{value:"yesterday"},{default:(0,i.w5)(()=>[(0,i.Uk)((0,i.zw)(e.$t("common.time.yesterday")),1)]),_:1}),(0,i.Wm)(m,{value:"last7days"},{default:(0,i.w5)(()=>[(0,i.Uk)((0,i.zw)(e.$t("common.time.last7days")),1)]),_:1})]),_:1},8,["value"]),(0,i._)("div",S,[(0,i.Wm)(_,{value:l.value,type:"daterange","is-date-disabled":d,"onUpdate:value":k},null,8,["value"])])])])}}});var k=t(41748);let Z=(0,k.default)(U,[["__scopeId","data-v-1552f451"]]);var M=t(75762),W=t(28405),D=t(84439),O=t(53475),q=t(60424),x=t(35409);let C=(0,i.aZ)({__name:"SendFailDetails",setup(e){let{t:a}=(0,w.QT)(),t=(0,i.iH)(!1),l=(0,i.iH)([]),s=(0,i.iH)([{key:"recipient",title:a("overview.sendFailDetails.columns.recipient"),width:160,render:e=>(0,i.Wm)(x.ZP,{class:e.tooltip?"":"break-all!","line-clamp":e.tooltip?999:1,tooltip:!1},{default:()=>[e.recipient]})},{key:"dsn",title:a("overview.sendFailDetails.columns.dsn"),width:60},{key:"delay",title:a("overview.sendFailDetails.columns.delay"),width:70},{key:"delays",title:a("overview.sendFailDetails.columns.delays"),width:150},{key:"status",title:a("overview.sendFailDetails.columns.status"),width:100,ellipsis:{tooltip:!0},render:e=>e.status},{key:"relay",title:a("overview.sendFailDetails.columns.relay"),width:200,render:e=>(0,i.Wm)(x.ZP,{class:e.tooltip?"":"break-all!","line-clamp":e.tooltip?9999:1,tooltip:!1},{default:()=>[e.relay]})},{key:"description",title:a("overview.sendFailDetails.columns.details"),render:e=>(0,i.Wm)(x.ZP,{class:e.tooltip?"":"break-all!","line-clamp":e.tooltip?9999:1,tooltip:!1},{default:()=>[e.description]})}]),o=e=>({onMousemove:()=>{e.tooltip=!0},onMouseleave:()=>{e.tooltip=!1}}),r=async(e,a,i)=>{try{t.value=!0;let s=await (0,u.uJ)({domain:e,start_time:a/1e3,end_time:i/1e3});l.value=(0,n.kJ)(s)?s:[]}finally{t.value=!1}},[c,v]=(0,d.d)({onChangeState:e=>{if(e){let e=v.getState();r(e.domain,e.startTime,e.endTime)}else l.value=[]}});return(e,n)=>{let d=q.Z;return(0,i.wg)(),(0,i.j4)((0,i.SU)(c),{title:(0,i.SU)(a)("overview.sendFailDetails.title"),width:1e3,footer:!1},{default:(0,i.w5)(()=>[(0,i.Wm)(d,{loading:(0,i.SU)(t),"max-height":600,data:(0,i.SU)(l),columns:(0,i.SU)(s),"row-props":o},null,8,["loading","data","columns"])]),_:1},8,["title"])}}});var T=t(65965);let H={class:"email-analytics-container"},F={class:"bt-title"},j={class:"metrics-cards"},J={class:"detail-row"},Q={class:"rate-charts-card"},R=(0,i.aZ)({__name:"index",setup(e){let{t:a}=(0,w.QT)(),t=(0,o.m)(),r=(0,i.iH)(""),c=(0,i.iH)((0,n.wb)()),v=(0,i.iH)([]),p=(0,i.qj)({delivery_rate:{label:a("overview.delivered"),value:0,unit:"%"},open_rate:{label:a("overview.opened"),value:0,unit:"%"},click_rate:{label:a("overview.clicked"),value:0,unit:"%"},bounce_rate:{label:a("overview.bounced"),value:0,unit:"%"}}),m=(0,i.iH)(0),g=(0,i.iH)({column_type:"hourly",dashboard:{delivered:0,delivery_rate:0,failed:0,failure_rate:0,sends:0},data:[]}),_=(0,i.iH)({column_type:"hourly",data:[]}),f=(0,i.iH)({column_type:"hourly",data:[]}),y=(0,i.iH)({column_type:"hourly",data:[]}),h=(0,T.tv)(),b=()=>{h.push("/settings/send-queue")},[S,U]=(0,d.d)({component:C}),k=()=>{U.setState({domain:r.value,startTime:c.value[0],endTime:c.value[1]}),U.open()},q=(0,s.DI)(R,300),x=e=>{Object.entries(e).forEach(e=>{let[a,t]=e;a in p&&(p[a].value=t)}),m.value=e.delayed_queue};async function R(){let e=await (0,u.ou)({domain:r.value,start_time:Math.floor(c.value[0]/1e3),end_time:Math.floor(c.value[1]/1e3)});(0,n.Kn)(e)&&(x(e.dashboard),v.value=(0,n.kJ)(e.mail_providers)?e.mail_providers:[],g.value=e.send_mail_chart,_.value=e.bounce_rate_chart,f.value=e.click_rate_chart,y.value=e.open_rate_chart)}return(0,i.bv)(()=>{R()}),(e,s)=>{let o=l.ZP;return(0,i.wg)(),(0,i.iD)("div",H,[(0,i._)("div",F,(0,i.zw)((0,i.SU)(a)("layout.menu.overview")),1),(0,i.Wm)(Z,{domain:(0,i.SU)(r),"onUpdate:domain":[s[0]||(s[0]=e=>(0,i.dq)(r)?r.value=e:null),(0,i.SU)(q)],"date-range":(0,i.SU)(c),"onUpdate:dateRange":[s[1]||(s[1]=e=>(0,i.dq)(c)?c.value=e:null),(0,i.SU)(q)]},null,8,["domain","date-range","onUpdate:domain","onUpdate:dateRange"]),(0,i._)("div",j,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)((0,i.SU)(p),(e,a)=>((0,i.wg)(),(0,i.j4)(M.Z,{key:a,title:e.label,value:e.value,unit:e.unit},null,8,["title","value","unit"]))),128)),(0,i.Wm)(M.Z,{class:"cursor-pointer",title:e.$t("overview.delayedQueue"),value:(0,i.SU)(m),"text-color":(0,i.SU)(m)>0?(0,i.SU)(t).warningColor:"",onClick:b},null,8,["title","value","text-color"])]),(0,i._)("div",J,[(0,i.Wm)(o,{class:"provider-table-card",title:e.$t("overview.mailProviders")},{default:(0,i.w5)(()=>[(0,i.Wm)(W.Z,{value:(0,i.SU)(v),"onUpdate:value":s[2]||(s[2]=e=>(0,i.dq)(v)?v.value=e:null)},null,8,["value"])]),_:1},8,["title"]),(0,i.Wm)(o,{class:"send-today-card",title:e.$t("overview.sendStats")},{default:(0,i.w5)(()=>[(0,i.Wm)(D.Z,{data:(0,i.SU)(g),onShowFail:k},null,8,["data"])]),_:1},8,["title"])]),(0,i._)("div",Q,[(0,i.Wm)(O.Z,{bounce:(0,i.SU)(_),click:(0,i.SU)(f),open:(0,i.SU)(y)},null,8,["bounce","click","open"])]),(0,i.Wm)((0,i.SU)(S))])}}}),I=(0,k.default)(R,[["__scopeId","data-v-02e68cd1"]])}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/6096.b5f9f8e3.js b/core/public/dist/static/js/async/6096.b5f9f8e3.jsnew file mode 100644index 00000000..4d1ef1b1--- /dev/null+++ b/core/public/dist/static/js/async/6096.b5f9f8e3.js@@ -0,0 +1,149 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["6096"],{99321:function(e,o,r){r.d(o,{Z:()=>z});var t=r(65083),n=r(58786),l=r(77565),i=r(1183),a=r(96823),c=r(87075),s=r(52317),d=r(64812),h=r(62198),u=r(56946),b=r(54470),v=r(53198),g=r(51048),f=r(71309),p=r(93950),w=r(19595),m=r(9798),x=r(18877);let C={name:"Alert",common:m.Z,self:function(e){let{lineHeight:o,borderRadius:r,fontWeightStrong:t,baseColor:n,dividerColor:l,actionColor:i,textColor1:a,textColor2:c,closeColorHover:s,closeColorPressed:d,closeIconColor:h,closeIconColorHover:u,closeIconColorPressed:b,infoColor:v,successColor:g,warningColor:f,errorColor:p,fontSize:m}=e;return Object.assign(Object.assign({},x.Z),{fontSize:m,lineHeight:o,titleFontWeight:t,borderRadius:r,border:`1px solid ${l}`,color:i,titleTextColor:a,iconColor:c,contentTextColor:c,closeBorderRadius:r,closeColorHover:s,closeColorPressed:d,closeIconColor:h,closeIconColorHover:u,closeIconColorPressed:b,borderInfo:`1px solid ${(0,w.h$)(n,(0,w.zX)(v,{alpha:.25}))}`,colorInfo:(0,w.h$)(n,(0,w.zX)(v,{alpha:.08})),titleTextColorInfo:a,iconColorInfo:v,contentTextColorInfo:c,closeColorHoverInfo:s,closeColorPressedInfo:d,closeIconColorInfo:h,closeIconColorHoverInfo:u,closeIconColorPressedInfo:b,borderSuccess:`1px solid ${(0,w.h$)(n,(0,w.zX)(g,{alpha:.25}))}`,colorSuccess:(0,w.h$)(n,(0,w.zX)(g,{alpha:.08})),titleTextColorSuccess:a,iconColorSuccess:g,contentTextColorSuccess:c,closeColorHoverSuccess:s,closeColorPressedSuccess:d,closeIconColorSuccess:h,closeIconColorHoverSuccess:u,closeIconColorPressedSuccess:b,borderWarning:`1px solid ${(0,w.h$)(n,(0,w.zX)(f,{alpha:.33}))}`,colorWarning:(0,w.h$)(n,(0,w.zX)(f,{alpha:.08})),titleTextColorWarning:a,iconColorWarning:f,contentTextColorWarning:c,closeColorHoverWarning:s,closeColorPressedWarning:d,closeIconColorWarning:h,closeIconColorHoverWarning:u,closeIconColorPressedWarning:b,borderError:`1px solid ${(0,w.h$)(n,(0,w.zX)(p,{alpha:.25}))}`,colorError:(0,w.h$)(n,(0,w.zX)(p,{alpha:.08})),titleTextColorError:a,iconColorError:p,contentTextColorError:c,closeColorHoverError:s,closeColorPressedError:d,closeIconColorError:h,closeIconColorHoverError:u,closeIconColorPressedError:b})}};var y=r(74482);let k=(0,f.cB)("alert",`+ line-height: var(--n-line-height);+ border-radius: var(--n-border-radius);+ position: relative;+ transition: background-color .3s var(--n-bezier);+ background-color: var(--n-color);+ text-align: start;+ word-break: break-word;+`,[(0,f.cE)("border",`+ border-radius: inherit;+ position: absolute;+ left: 0;+ right: 0;+ top: 0;+ bottom: 0;+ transition: border-color .3s var(--n-bezier);+ border: var(--n-border);+ pointer-events: none;+ `),(0,f.cM)("closable",[(0,f.cB)("alert-body",[(0,f.cE)("title",`+ padding-right: 24px;+ `)])]),(0,f.cE)("icon",{color:"var(--n-icon-color)"}),(0,f.cB)("alert-body",{padding:"var(--n-padding)"},[(0,f.cE)("title",{color:"var(--n-title-text-color)"}),(0,f.cE)("content",{color:"var(--n-content-text-color)"})]),(0,y.Y)({originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.9)"}}),(0,f.cE)("icon",`+ position: absolute;+ left: 0;+ top: 0;+ align-items: center;+ justify-content: center;+ display: flex;+ width: var(--n-icon-size);+ height: var(--n-icon-size);+ font-size: var(--n-icon-size);+ margin: var(--n-icon-margin);+ `),(0,f.cE)("close",`+ transition:+ color .3s var(--n-bezier),+ background-color .3s var(--n-bezier);+ position: absolute;+ right: 0;+ top: 0;+ margin: var(--n-close-margin);+ `),(0,f.cM)("show-icon",[(0,f.cB)("alert-body",{paddingLeft:"calc(var(--n-icon-margin-left) + var(--n-icon-size) + var(--n-icon-margin-right))"})]),(0,f.cM)("right-adjust",[(0,f.cB)("alert-body",{paddingRight:"calc(var(--n-close-size) + var(--n-padding) + 2px)"})]),(0,f.cB)("alert-body",`+ border-radius: var(--n-border-radius);+ transition: border-color .3s var(--n-bezier);+ `,[(0,f.cE)("title",`+ transition: color .3s var(--n-bezier);+ font-size: 16px;+ line-height: 19px;+ font-weight: var(--n-title-font-weight);+ `,[(0,f.c)("& +",[(0,f.cE)("content",{marginTop:"9px"})])]),(0,f.cE)("content",{transition:"color .3s var(--n-bezier)",fontSize:"var(--n-font-size)"})]),(0,f.cE)("icon",{transition:"color .3s var(--n-bezier)"})]),$=Object.assign(Object.assign({},u.Z.props),{title:String,showIcon:{type:Boolean,default:!0},type:{type:String,default:"default"},bordered:{type:Boolean,default:!0},closable:Boolean,onClose:Function,onAfterLeave:Function,onAfterHide:Function}),z=(0,n.aZ)({name:"Alert",inheritAttrs:!1,props:$,slots:Object,setup(e){let{mergedClsPrefixRef:o,mergedBorderedRef:r,inlineThemeDisabled:l,mergedRtlRef:i}=(0,b.ZP)(e),a=(0,u.Z)("Alert","-alert",k,C,e,o),c=(0,g.V)("Alert",i,o),s=(0,n.Fl)(()=>{let{common:{cubicBezierEaseInOut:o},self:r}=a.value,{fontSize:n,borderRadius:l,titleFontWeight:i,lineHeight:c,iconSize:s,iconMargin:d,iconMarginRtl:h,closeIconSize:u,closeBorderRadius:b,closeSize:v,closeMargin:g,closeMarginRtl:p,padding:w}=r,{type:m}=e,{left:x,right:C}=(0,t.mH)(d);return{"--n-bezier":o,"--n-color":r[(0,f.Tl)("color",m)],"--n-close-icon-size":u,"--n-close-border-radius":b,"--n-close-color-hover":r[(0,f.Tl)("closeColorHover",m)],"--n-close-color-pressed":r[(0,f.Tl)("closeColorPressed",m)],"--n-close-icon-color":r[(0,f.Tl)("closeIconColor",m)],"--n-close-icon-color-hover":r[(0,f.Tl)("closeIconColorHover",m)],"--n-close-icon-color-pressed":r[(0,f.Tl)("closeIconColorPressed",m)],"--n-icon-color":r[(0,f.Tl)("iconColor",m)],"--n-border":r[(0,f.Tl)("border",m)],"--n-title-text-color":r[(0,f.Tl)("titleTextColor",m)],"--n-content-text-color":r[(0,f.Tl)("contentTextColor",m)],"--n-line-height":c,"--n-border-radius":l,"--n-font-size":n,"--n-title-font-weight":i,"--n-icon-size":s,"--n-icon-margin":d,"--n-icon-margin-rtl":h,"--n-close-size":v,"--n-close-margin":g,"--n-close-margin-rtl":p,"--n-padding":w,"--n-icon-margin-left":x,"--n-icon-margin-right":C}}),d=l?(0,v.F)("alert",(0,n.Fl)(()=>e.type[0]),s,e):void 0,h=(0,n.iH)(!0),p=()=>{let{onAfterLeave:o,onAfterHide:r}=e;o&&o(),r&&r()};return{rtlEnabled:c,mergedClsPrefix:o,mergedBordered:r,visible:h,handleCloseClick:()=>{var o;Promise.resolve(null==(o=e.onClose)?void 0:o.call(e)).then(e=>{!1!==e&&(h.value=!1)})},handleAfterLeave:()=>{p()},mergedTheme:a,cssVars:l?void 0:s,themeClass:null==d?void 0:d.themeClass,onRender:null==d?void 0:d.onRender}},render(){var e;return null==(e=this.onRender)||e.call(this),(0,n.h)(l.Z,{onAfterLeave:this.handleAfterLeave},{default:()=>{let{mergedClsPrefix:e,$slots:o}=this,r={class:[`${e}-alert`,this.themeClass,this.closable&&`${e}-alert--closable`,this.showIcon&&`${e}-alert--show-icon`,!this.title&&this.closable&&`${e}-alert--right-adjust`,this.rtlEnabled&&`${e}-alert--rtl`],style:this.cssVars,role:"alert"};return this.visible?(0,n.h)("div",Object.assign({},(0,n.dG)(this.$attrs,r)),this.closable&&(0,n.h)(i.Z,{clsPrefix:e,class:`${e}-alert__close`,onClick:this.handleCloseClick}),this.bordered&&(0,n.h)("div",{class:`${e}-alert__border`}),this.showIcon&&(0,n.h)("div",{class:`${e}-alert__icon`,"aria-hidden":"true"},(0,p.gI)(o.icon,()=>[(0,n.h)(a.Z,{clsPrefix:e},{default:()=>{switch(this.type){case"success":return(0,n.h)(c.Z,null);case"info":return(0,n.h)(s.Z,null);case"warning":return(0,n.h)(d.Z,null);case"error":return(0,n.h)(h.Z,null);default:return null}}})])),(0,n.h)("div",{class:[`${e}-alert-body`,this.mergedBordered&&`${e}-alert-body--bordered`]},(0,p.K9)(o.header,o=>{let r=o||this.title;return r?(0,n.h)("div",{class:`${e}-alert-body__title`},r):null}),o.default&&(0,n.h)("div",{class:`${e}-alert-body__content`},o))):null}})}})},29875:function(e,o,r){let t;r.d(o,{Z:()=>k});var n=r(65083),l=r(20013),i=r(58786),a=r(76128),c=r(62594),s=r(56946),d=r(54470),h=r(32196),u=r(53198),b=r(44267),v=r(71309),g=r(93950),f=r(19595),p=r(9798),w=r(30951);let m={name:"Switch",common:p.Z,self:function(e){let{primaryColor:o,opacityDisabled:r,borderRadius:t,textColor3:n}=e;return Object.assign(Object.assign({},w.Z),{iconColor:n,textColor:"white",loadingColor:o,opacityDisabled:r,railColor:"rgba(0, 0, 0, .14)",railColorActive:o,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:t,railBorderRadiusMedium:t,railBorderRadiusLarge:t,buttonBorderRadiusSmall:t,buttonBorderRadiusMedium:t,buttonBorderRadiusLarge:t,boxShadowFocus:`0 0 0 2px ${(0,f.zX)(o,{alpha:.2})}`})}};var x=r(28632);let C=(0,v.cB)("switch",`+ height: var(--n-height);+ min-width: var(--n-width);+ vertical-align: middle;+ user-select: none;+ -webkit-user-select: none;+ display: inline-flex;+ outline: none;+ justify-content: center;+ align-items: center;+`,[(0,v.cE)("children-placeholder",`+ height: var(--n-rail-height);+ display: flex;+ flex-direction: column;+ overflow: hidden;+ pointer-events: none;+ visibility: hidden;+ `),(0,v.cE)("rail-placeholder",`+ display: flex;+ flex-wrap: none;+ `),(0,v.cE)("button-placeholder",`+ width: calc(1.75 * var(--n-rail-height));+ height: var(--n-rail-height);+ `),(0,v.cB)("base-loading",`+ position: absolute;+ top: 50%;+ left: 50%;+ transform: translateX(-50%) translateY(-50%);+ font-size: calc(var(--n-button-width) - 4px);+ color: var(--n-loading-color);+ transition: color .3s var(--n-bezier);+ `,[(0,x.c)({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),(0,v.cE)("checked, unchecked",`+ transition: color .3s var(--n-bezier);+ color: var(--n-text-color);+ box-sizing: border-box;+ position: absolute;+ white-space: nowrap;+ top: 0;+ bottom: 0;+ display: flex;+ align-items: center;+ line-height: 1;+ `),(0,v.cE)("checked",`+ right: 0;+ padding-right: calc(1.25 * var(--n-rail-height) - var(--n-offset));+ `),(0,v.cE)("unchecked",`+ left: 0;+ justify-content: flex-end;+ padding-left: calc(1.25 * var(--n-rail-height) - var(--n-offset));+ `),(0,v.c)("&:focus",[(0,v.cE)("rail",`+ box-shadow: var(--n-box-shadow-focus);+ `)]),(0,v.cM)("round",[(0,v.cE)("rail","border-radius: calc(var(--n-rail-height) / 2);",[(0,v.cE)("button","border-radius: calc(var(--n-button-height) / 2);")])]),(0,v.u4)("disabled",[(0,v.u4)("icon",[(0,v.cM)("rubber-band",[(0,v.cM)("pressed",[(0,v.cE)("rail",[(0,v.cE)("button","max-width: var(--n-button-width-pressed);")])]),(0,v.cE)("rail",[(0,v.c)("&:active",[(0,v.cE)("button","max-width: var(--n-button-width-pressed);")])]),(0,v.cM)("active",[(0,v.cM)("pressed",[(0,v.cE)("rail",[(0,v.cE)("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),(0,v.cE)("rail",[(0,v.c)("&:active",[(0,v.cE)("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),(0,v.cM)("active",[(0,v.cE)("rail",[(0,v.cE)("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),(0,v.cE)("rail",`+ overflow: hidden;+ height: var(--n-rail-height);+ min-width: var(--n-rail-width);+ border-radius: var(--n-rail-border-radius);+ cursor: pointer;+ position: relative;+ transition:+ opacity .3s var(--n-bezier),+ background .3s var(--n-bezier),+ box-shadow .3s var(--n-bezier);+ background-color: var(--n-rail-color);+ `,[(0,v.cE)("button-icon",`+ color: var(--n-icon-color);+ transition: color .3s var(--n-bezier);+ font-size: calc(var(--n-button-height) - 4px);+ position: absolute;+ left: 0;+ right: 0;+ top: 0;+ bottom: 0;+ display: flex;+ justify-content: center;+ align-items: center;+ line-height: 1;+ `,[(0,x.c)()]),(0,v.cE)("button",`+ align-items: center;+ top: var(--n-offset);+ left: var(--n-offset);+ height: var(--n-button-height);+ width: var(--n-button-width-pressed);+ max-width: var(--n-button-width);+ border-radius: var(--n-button-border-radius);+ background-color: var(--n-button-color);+ box-shadow: var(--n-button-box-shadow);+ box-sizing: border-box;+ cursor: inherit;+ content: "";+ position: absolute;+ transition:+ background-color .3s var(--n-bezier),+ left .3s var(--n-bezier),+ opacity .3s var(--n-bezier),+ max-width .3s var(--n-bezier),+ box-shadow .3s var(--n-bezier);+ `)]),(0,v.cM)("active",[(0,v.cE)("rail","background-color: var(--n-rail-color-active);")]),(0,v.cM)("loading",[(0,v.cE)("rail",`+ cursor: wait;+ `)]),(0,v.cM)("disabled",[(0,v.cE)("rail",`+ cursor: not-allowed;+ opacity: .5;+ `)])]),y=Object.assign(Object.assign({},s.Z.props),{size:{type:String,default:"medium"},value:{type:[String,Number,Boolean],default:void 0},loading:Boolean,defaultValue:{type:[String,Number,Boolean],default:!1},disabled:{type:Boolean,default:void 0},round:{type:Boolean,default:!0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},railStyle:Function,rubberBand:{type:Boolean,default:!0},onChange:[Function,Array]}),k=(0,i.aZ)({name:"Switch",props:y,slots:Object,setup(e){void 0===t&&(t="undefined"==typeof CSS||void 0!==CSS.supports&&CSS.supports("width","max(1px)"));let{mergedClsPrefixRef:o,inlineThemeDisabled:r}=(0,d.ZP)(e),a=(0,s.Z)("Switch","-switch",C,m,e,o),c=(0,h.Z)(e),{mergedSizeRef:g,mergedDisabledRef:f}=c,p=(0,i.iH)(e.defaultValue),w=(0,i.Vh)(e,"value"),x=(0,l.Z)(w,p),y=(0,i.Fl)(()=>x.value===e.checkedValue),k=(0,i.iH)(!1),$=(0,i.iH)(!1),z=(0,i.Fl)(()=>{let{railStyle:o}=e;if(o)return o({focused:$.value,checked:y.value})});function E(o){let{"onUpdate:value":r,onChange:t,onUpdateValue:n}=e,{nTriggerFormInput:l,nTriggerFormChange:i}=c;r&&(0,b.R)(r,o),n&&(0,b.R)(n,o),t&&(0,b.R)(t,o),p.value=o,l(),i()}let B=(0,i.Fl)(()=>{let e,o,r,{value:l}=g,{self:{opacityDisabled:i,railColor:c,railColorActive:s,buttonBoxShadow:d,buttonColor:h,boxShadowFocus:u,loadingColor:b,textColor:f,iconColor:p,[(0,v.Tl)("buttonHeight",l)]:w,[(0,v.Tl)("buttonWidth",l)]:m,[(0,v.Tl)("buttonWidthPressed",l)]:x,[(0,v.Tl)("railHeight",l)]:C,[(0,v.Tl)("railWidth",l)]:y,[(0,v.Tl)("railBorderRadius",l)]:k,[(0,v.Tl)("buttonBorderRadius",l)]:$},common:{cubicBezierEaseInOut:z}}=a.value;return t?(e=`calc((${C} - ${w}) / 2)`,o=`max(${C}, ${w})`,r=`max(${y}, calc(${y} + ${w} - ${C}))`):(e=(0,n.BL)(((0,n.fQ)(C)-(0,n.fQ)(w))/2),o=(0,n.BL)(Math.max((0,n.fQ)(C),(0,n.fQ)(w))),r=(0,n.fQ)(C)>(0,n.fQ)(w)?y:(0,n.BL)((0,n.fQ)(y)+(0,n.fQ)(w)-(0,n.fQ)(C))),{"--n-bezier":z,"--n-button-border-radius":$,"--n-button-box-shadow":d,"--n-button-color":h,"--n-button-width":m,"--n-button-width-pressed":x,"--n-button-height":w,"--n-height":o,"--n-offset":e,"--n-opacity-disabled":i,"--n-rail-border-radius":k,"--n-rail-color":c,"--n-rail-color-active":s,"--n-rail-height":C,"--n-rail-width":y,"--n-width":r,"--n-box-shadow-focus":u,"--n-loading-color":b,"--n-text-color":f,"--n-icon-color":p}}),T=r?(0,u.F)("switch",(0,i.Fl)(()=>g.value[0]),B,e):void 0;return{handleClick:function(){e.loading||f.value||(x.value!==e.checkedValue?E(e.checkedValue):E(e.uncheckedValue))},handleBlur:function(){$.value=!1;let{nTriggerFormBlur:e}=c;e(),k.value=!1},handleFocus:function(){$.value=!0;let{nTriggerFormFocus:e}=c;e()},handleKeyup:function(o){e.loading||f.value||" "===o.key&&(x.value!==e.checkedValue?E(e.checkedValue):E(e.uncheckedValue),k.value=!1)},handleKeydown:function(o){e.loading||f.value||" "===o.key&&(o.preventDefault(),k.value=!0)},mergedRailStyle:z,pressed:k,mergedClsPrefix:o,mergedValue:x,checked:y,mergedDisabled:f,cssVars:r?void 0:B,themeClass:null==T?void 0:T.themeClass,onRender:null==T?void 0:T.onRender}},render(){let{mergedClsPrefix:e,mergedDisabled:o,checked:r,mergedRailStyle:t,onRender:n,$slots:l}=this;null==n||n();let{checked:s,unchecked:d,icon:h,"checked-icon":u,"unchecked-icon":b}=l,v=!((0,g.aD)(h)&&(0,g.aD)(u)&&(0,g.aD)(b));return(0,i.h)("div",{role:"switch","aria-checked":r,class:[`${e}-switch`,this.themeClass,v&&`${e}-switch--icon`,r&&`${e}-switch--active`,o&&`${e}-switch--disabled`,this.round&&`${e}-switch--round`,this.loading&&`${e}-switch--loading`,this.pressed&&`${e}-switch--pressed`,this.rubberBand&&`${e}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},(0,i.h)("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:t},(0,g.K9)(s,o=>(0,g.K9)(d,r=>o||r?(0,i.h)("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},(0,i.h)("div",{class:`${e}-switch__rail-placeholder`},(0,i.h)("div",{class:`${e}-switch__button-placeholder`}),o),(0,i.h)("div",{class:`${e}-switch__rail-placeholder`},(0,i.h)("div",{class:`${e}-switch__button-placeholder`}),r)):null)),(0,i.h)("div",{class:`${e}-switch__button`},(0,g.K9)(h,o=>(0,g.K9)(u,r=>(0,g.K9)(b,t=>(0,i.h)(a.Z,null,{default:()=>this.loading?(0,i.h)(c.Z,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(r||o)?(0,i.h)("div",{class:`${e}-switch__button-icon`,key:r?"checked-icon":"icon"},r||o):!this.checked&&(t||o)?(0,i.h)("div",{class:`${e}-switch__button-icon`,key:t?"unchecked-icon":"icon"},t||o):null})))),(0,g.K9)(s,o=>o&&(0,i.h)("div",{key:"checked",class:`${e}-switch__checked`},o)),(0,g.K9)(d,o=>o&&(0,i.h)("div",{key:"unchecked",class:`${e}-switch__unchecked`},o)))))}})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/633.0b3ef6ac.js b/core/public/dist/static/js/async/633.0b3ef6ac.jsnew file mode 100644index 00000000..4867afe8--- /dev/null+++ b/core/public/dist/static/js/async/633.0b3ef6ac.js@@ -0,0 +1,118 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["633"],{82822:function(e,t,a){a.d(t,{Z:()=>n});var l=a(21452),i=a(32398);let n=function(e){return"number"==typeof e||(0,i.Z)(e)&&"[object Number]"==(0,l.Z)(e)}},65977:function(e,t,a){a.d(t,{Z:()=>i});var l=a(58786);let i=(0,l.aZ)({name:"Add",render:()=>(0,l.h)("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,l.h)("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))})},93953:function(e,t,a){a.d(t,{Z:()=>v});var l=a(65083),i=a(58786),n=a(56946),o=a(54470),r=a(51048),s=a(71309),d=a(60951),u=a(6445),c=a(73238);let m={name:"Flex",self:function(){return c.Z}},p=Object.assign(Object.assign({},n.Z.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrap:{type:Boolean,default:!0}}),v=(0,i.aZ)({name:"Flex",props:p,setup(e){let{mergedClsPrefixRef:t,mergedRtlRef:a}=(0,o.ZP)(e),d=(0,n.Z)("Flex","-flex",void 0,m,e,t);return{rtlEnabled:(0,r.V)("Flex",a,t),mergedClsPrefix:t,margin:(0,i.Fl)(()=>{let{size:t}=e;if(Array.isArray(t))return{horizontal:t[0],vertical:t[1]};if("number"==typeof t)return{horizontal:t,vertical:t};let{self:{[(0,s.Tl)("gap",t)]:a}}=d.value,{row:i,col:n}=(0,l.yU)(a);return{horizontal:(0,l.fQ)(n),vertical:(0,l.fQ)(i)}})}},render(){let{vertical:e,reverse:t,align:a,inline:l,justify:n,margin:o,wrap:r,mergedClsPrefix:s,rtlEnabled:c}=this,m=(0,d.x)((0,u.z)(this),!1);return m.length?(0,i.h)("div",{role:"none",class:[`${s}-flex`,c&&`${s}-flex--rtl`],style:{display:l?"inline-flex":"flex",flexDirection:e&&!t?"column":e&&t?"column-reverse":!e&&t?"row-reverse":"row",justifyContent:n,flexWrap:!r||e?"nowrap":"wrap",alignItems:a,gap:`${o.vertical}px ${o.horizontal}px`}},m):null}})},60579:function(e,t,a){a.d(t,{Z:()=>_});var l=a(65083),i=a(23125),n=a(58786),o=a(62594),r=a(56946),s=a(54470),d=a(53198),u=a(71309),c=a(53573),m=a(66480);let p=(0,u.c)([(0,u.c)("@keyframes spin-rotate",`+ from {+ transform: rotate(0);+ }+ to {+ transform: rotate(360deg);+ }+ `),(0,u.cB)("spin-container",`+ position: relative;+ `,[(0,u.cB)("spin-body",`+ position: absolute;+ top: 50%;+ left: 50%;+ transform: translateX(-50%) translateY(-50%);+ `,[(0,m.h)()])]),(0,u.cB)("spin-body",`+ display: inline-flex;+ align-items: center;+ justify-content: center;+ flex-direction: column;+ `),(0,u.cB)("spin",`+ display: inline-flex;+ height: var(--n-size);+ width: var(--n-size);+ font-size: var(--n-size);+ color: var(--n-color);+ `,[(0,u.cM)("rotate",`+ animation: spin-rotate 2s linear infinite;+ `)]),(0,u.cB)("spin-description",`+ display: inline-block;+ font-size: var(--n-font-size);+ color: var(--n-text-color);+ transition: color .3s var(--n-bezier);+ margin-top: 8px;+ `),(0,u.cB)("spin-content",`+ opacity: 1;+ transition: opacity .3s var(--n-bezier);+ pointer-events: all;+ `,[(0,u.cM)("spinning",`+ user-select: none;+ -webkit-user-select: none;+ pointer-events: none;+ opacity: var(--n-opacity-spinning);+ `)])]),v={small:20,medium:18,large:16},f=Object.assign(Object.assign({},r.Z.props),{contentClass:String,contentStyle:[Object,String],description:String,stroke:String,size:{type:[String,Number],default:"medium"},show:{type:Boolean,default:!0},strokeWidth:Number,rotate:{type:Boolean,default:!0},spinning:{type:Boolean,validator:()=>!0,default:void 0},delay:Number}),_=(0,n.aZ)({name:"Spin",props:f,slots:Object,setup(e){let{mergedClsPrefixRef:t,inlineThemeDisabled:a}=(0,s.ZP)(e),o=(0,r.Z)("Spin","-spin",p,c.Z,e,t),m=(0,n.Fl)(()=>{let{size:t}=e,{common:{cubicBezierEaseInOut:a},self:i}=o.value,{opacitySpinning:n,color:r,textColor:s}=i;return{"--n-bezier":a,"--n-opacity-spinning":n,"--n-size":"number"==typeof t?(0,l.BL)(t):i[(0,u.Tl)("size",t)],"--n-color":r,"--n-text-color":s}}),f=a?(0,d.F)("spin",(0,n.Fl)(()=>{let{size:t}=e;return"number"==typeof t?String(t):t[0]}),m,e):void 0,_=(0,i.Z)(e,["spinning","show"]),h=(0,n.iH)(!1);return(0,n.m0)(t=>{let a;if(_.value){let{delay:l}=e;if(l){a=window.setTimeout(()=>{h.value=!0},l),t(()=>{clearTimeout(a)});return}}h.value=_.value}),{mergedClsPrefix:t,active:h,mergedStrokeWidth:(0,n.Fl)(()=>{let{strokeWidth:t}=e;if(void 0!==t)return t;let{size:a}=e;return v["number"==typeof a?"medium":a]}),cssVars:a?void 0:m,themeClass:null==f?void 0:f.themeClass,onRender:null==f?void 0:f.onRender}},render(){var e,t;let{$slots:a,mergedClsPrefix:l,description:i}=this,r=a.icon&&this.rotate,s=(i||a.description)&&(0,n.h)("div",{class:`${l}-spin-description`},i||(null==(e=a.description)?void 0:e.call(a))),d=a.icon?(0,n.h)("div",{class:[`${l}-spin-body`,this.themeClass]},(0,n.h)("div",{class:[`${l}-spin`,r&&`${l}-spin--rotate`],style:a.default?"":this.cssVars},a.icon()),s):(0,n.h)("div",{class:[`${l}-spin-body`,this.themeClass]},(0,n.h)(o.Z,{clsPrefix:l,style:a.default?"":this.cssVars,stroke:this.stroke,"stroke-width":this.mergedStrokeWidth,class:`${l}-spin`}),s);return null==(t=this.onRender)||t.call(this),a.default?(0,n.h)("div",{class:[`${l}-spin-container`,this.themeClass],style:this.cssVars},(0,n.h)("div",{class:[`${l}-spin-content`,this.active&&`${l}-spin-content--spinning`,this.contentClass],style:this.contentStyle},a),(0,n.h)(n.uT,{name:"fade-in-transition"},{default:()=>this.active?d:null})):d}})},50039:function(e,t,a){a.d(t,{Z:()=>m});var l=a(58786),i=a(56946),n=a(54470),o=a(53198),r=a(51048),s=a(71309),d=a(91078);let u=(0,s.c)([(0,s.cB)("table",`+ font-size: var(--n-font-size);+ font-variant-numeric: tabular-nums;+ line-height: var(--n-line-height);+ width: 100%;+ border-radius: var(--n-border-radius) var(--n-border-radius) 0 0;+ text-align: left;+ border-collapse: separate;+ border-spacing: 0;+ overflow: hidden;+ background-color: var(--n-td-color);+ border-color: var(--n-merged-border-color);+ transition:+ background-color .3s var(--n-bezier),+ border-color .3s var(--n-bezier),+ color .3s var(--n-bezier);+ --n-merged-border-color: var(--n-border-color);+ `,[(0,s.c)("th",`+ white-space: nowrap;+ transition:+ background-color .3s var(--n-bezier),+ border-color .3s var(--n-bezier),+ color .3s var(--n-bezier);+ text-align: inherit;+ padding: var(--n-th-padding);+ vertical-align: inherit;+ text-transform: none;+ border: 0px solid var(--n-merged-border-color);+ font-weight: var(--n-th-font-weight);+ color: var(--n-th-text-color);+ background-color: var(--n-th-color);+ border-bottom: 1px solid var(--n-merged-border-color);+ border-right: 1px solid var(--n-merged-border-color);+ `,[(0,s.c)("&:last-child",`+ border-right: 0px solid var(--n-merged-border-color);+ `)]),(0,s.c)("td",`+ transition:+ background-color .3s var(--n-bezier),+ border-color .3s var(--n-bezier),+ color .3s var(--n-bezier);+ padding: var(--n-td-padding);+ color: var(--n-td-text-color);+ background-color: var(--n-td-color);+ border: 0px solid var(--n-merged-border-color);+ border-right: 1px solid var(--n-merged-border-color);+ border-bottom: 1px solid var(--n-merged-border-color);+ `,[(0,s.c)("&:last-child",`+ border-right: 0px solid var(--n-merged-border-color);+ `)]),(0,s.cM)("bordered",`+ border: 1px solid var(--n-merged-border-color);+ border-radius: var(--n-border-radius);+ `,[(0,s.c)("tr",[(0,s.c)("&:last-child",[(0,s.c)("td",`+ border-bottom: 0 solid var(--n-merged-border-color);+ `)])])]),(0,s.cM)("single-line",[(0,s.c)("th",`+ border-right: 0px solid var(--n-merged-border-color);+ `),(0,s.c)("td",`+ border-right: 0px solid var(--n-merged-border-color);+ `)]),(0,s.cM)("single-column",[(0,s.c)("tr",[(0,s.c)("&:not(:last-child)",[(0,s.c)("td",`+ border-bottom: 0px solid var(--n-merged-border-color);+ `)])])]),(0,s.cM)("striped",[(0,s.c)("tr:nth-of-type(even)",[(0,s.c)("td","background-color: var(--n-td-color-striped)")])]),(0,s.u4)("bottom-bordered",[(0,s.c)("tr",[(0,s.c)("&:last-child",[(0,s.c)("td",`+ border-bottom: 0px solid var(--n-merged-border-color);+ `)])])])]),(0,s.ko)((0,s.cB)("table",`+ background-color: var(--n-td-color-modal);+ --n-merged-border-color: var(--n-border-color-modal);+ `,[(0,s.c)("th",`+ background-color: var(--n-th-color-modal);+ `),(0,s.c)("td",`+ background-color: var(--n-td-color-modal);+ `)])),(0,s.WW)((0,s.cB)("table",`+ background-color: var(--n-td-color-popover);+ --n-merged-border-color: var(--n-border-color-popover);+ `,[(0,s.c)("th",`+ background-color: var(--n-th-color-popover);+ `),(0,s.c)("td",`+ background-color: var(--n-td-color-popover);+ `)]))]),c=Object.assign(Object.assign({},i.Z.props),{bordered:{type:Boolean,default:!0},bottomBordered:{type:Boolean,default:!0},singleLine:{type:Boolean,default:!0},striped:Boolean,singleColumn:Boolean,size:{type:String,default:"medium"}}),m=(0,l.aZ)({name:"Table",props:c,setup(e){let{mergedClsPrefixRef:t,inlineThemeDisabled:a,mergedRtlRef:c}=(0,n.ZP)(e),m=(0,i.Z)("Table","-table",u,d.Z,e,t),p=(0,r.V)("Table",c,t),v=(0,l.Fl)(()=>{let{size:t}=e,{self:{borderColor:a,tdColor:l,tdColorModal:i,tdColorPopover:n,thColor:o,thColorModal:r,thColorPopover:d,thTextColor:u,tdTextColor:c,borderRadius:p,thFontWeight:v,lineHeight:f,borderColorModal:_,borderColorPopover:h,tdColorStriped:w,tdColorStripedModal:b,tdColorStripedPopover:g,[(0,s.Tl)("fontSize",t)]:y,[(0,s.Tl)("tdPadding",t)]:S,[(0,s.Tl)("thPadding",t)]:x},common:{cubicBezierEaseInOut:U}}=m.value;return{"--n-bezier":U,"--n-td-color":l,"--n-td-color-modal":i,"--n-td-color-popover":n,"--n-td-text-color":c,"--n-border-color":a,"--n-border-color-modal":_,"--n-border-color-popover":h,"--n-border-radius":p,"--n-font-size":y,"--n-th-color":o,"--n-th-color-modal":r,"--n-th-color-popover":d,"--n-th-font-weight":v,"--n-th-text-color":u,"--n-line-height":f,"--n-td-padding":S,"--n-th-padding":x,"--n-td-color-striped":w,"--n-td-color-striped-modal":b,"--n-td-color-striped-popover":g}}),f=a?(0,o.F)("table",(0,l.Fl)(()=>e.size[0]),v,e):void 0;return{rtlEnabled:p,mergedClsPrefix:t,cssVars:a?void 0:v,themeClass:null==f?void 0:f.themeClass,onRender:null==f?void 0:f.onRender}},render(){var e;let{mergedClsPrefix:t}=this;return null==(e=this.onRender)||e.call(this),(0,l.h)("table",{class:[`${t}-table`,this.themeClass,{[`${t}-table--rtl`]:this.rtlEnabled,[`${t}-table--bottom-bordered`]:this.bottomBordered,[`${t}-table--bordered`]:this.bordered,[`${t}-table--single-line`]:this.singleLine,[`${t}-table--single-column`]:this.singleColumn,[`${t}-table--striped`]:this.striped}],style:this.cssVars},this.$slots)}})},39432:function(e,t,a){a.d(t,{Au:()=>m,Fj:()=>s,LC:()=>o,Lb:()=>w,M7:()=>h,OV:()=>c,dj:()=>u,gK:()=>d,i7:()=>n,qt:()=>r,rU:()=>_,v1:()=>p,xh:()=>f,yW:()=>v});var l=a(34541);let{t:i}=a(76882).Z.global,n=e=>l.e.get("/domains/list",{params:e}),o=()=>l.e.get("/domains/all"),r=()=>l.e.post("/multi_ip_domain/apply"),s=e=>l.e.post("/domains/create",e,{fetchOptions:{loading:i("domain.api.loading.creating"),successMessage:!0}}),d=e=>l.e.post("/domains/update",e,{fetchOptions:{loading:i("domain.api.loading.updating"),successMessage:!0}}),u=e=>l.e.post("/domains/delete",e,{fetchOptions:{loading:i("domain.api.loading.deleting"),successMessage:!0}}),c=e=>l.e.post("/domains/set_ssl",e,{fetchOptions:{loading:i("domain.api.loading.settingSSL"),successMessage:!0}}),m=e=>l.e.get("/domains/get_ssl",{params:e}),p=e=>l.e.post("/domains/fresh_dns_records",e,{fetchOptions:{loading:i("domain.api.loading.refreshingDns"),successMessage:!0}}),v=e=>l.e.post("/ssl/apply_cert",e,{fetchOptions:{loading:i("domain.api.loading.applyingCert"),successMessage:!0}}),f=e=>l.e.post("/domains/set_default_domain",e,{fetchOptions:{loading:i("domain.api.loading.settingDefault"),successMessage:!0}}),_=e=>l.e.post("/askai/project/create",e,{fetchOptions:{loading:i("domain.api.loading.settingBrandInfo"),successMessage:!0}}),h=e=>l.e.post("/multi_ip_domain/test",e,{fetchOptions:{loading:i("domain.api.loading.testingConnection"),successMessage:!0}}),w=()=>l.e.post("/askai/supplier/status")},77984:function(e,t,a){a.d(t,{F:()=>o});var l=a(68271),i=a(94821),n=a(76882);let o=()=>{let{t:e}=n.Z.global,{copy:t,isSupported:a,copied:o}=(0,i.VPI)({legacy:!0});return{copied:o,copyText:async function(i){let n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!i)return void l.v0.error(e("common.useCopy.noText"));a.value?(await t(i),n&&l.v0.success(e("common.useCopy.success"))):l.v0.error(e("common.useCopy.failed"))}}}},16634:function(e,t,a){a.d(t,{Ao:()=>o,mL:()=>r,uL:()=>n});var l=a(34541),i=a(42205);let n={fetchOptions:{loading:"Loading... Please wait.",successMessage:!0}};async function o(e){let{legal_company_name:t,web_site:a,company_profile:n,email:o,phone:r,support_url:s,hasGotCompanyProfile:d}=(0,i.J)();if(!d.value)try{let i=await l.e.post("/askai/project/get_company_profile",{domain:e});t.value=i.legal_company_name,a.value=i.web_site,n.value=i.company_profile,o.value=i.email,r.value=i.phone,s.value=i.support_url,d.value=!0}catch(e){console.warn(e)}}async function r(e){let{legal_company_name:t,web_site:a,company_profile:o,email:r,phone:s,support_url:d}=(0,i.J)();try{await l.e.post("/askai/project/modify_company_profile",{domain:e,legal_company_name:t.value,web_site:a.value,company_profile:o.value,email:r.value,phone:s.value,support_url:d.value},n)}catch(e){console.warn(e)}}},54686:function(e,t,a){a.d(t,{L7:()=>_,M7:()=>m,Rw:()=>h,VP:()=>w,Vq:()=>b,Xe:()=>v,gK:()=>p,ke:()=>f,lQ:()=>u});var l=a(34541),i=a(16634),n=a(42205),o=a(68271),r=a(39432),s=a(31708),d=a(76882);async function u(e){let{domainTit:t,domainIp:a,quota:i,unit:r,mailboxes:s,catch_email:d,hasGotDomainConfiguration:u,urls:m}=(0,n.J)();if(!u.value)try{let n=await l.e.get("/domains/list",{params:{keyword:e,page:1,page_size:1}});if((0,o.Kn)(n)){var p;let{list:l}=n,v=(0,o.UO)(l[0].quota,!0,2).split(" ");t.value=l[0].domain,a.value=(null==(p=l[0].multi_ip_domains)?void 0:p.outbound_ip)||"",i.value=v[0],r.value=v[1],s.value=l[0].mailboxes,d.value=l[0].email,m.value=l[0].urls&&l[0].urls.length>0&&""!=l[0].urls[0]?l[0].urls:[`https://${e}`],await c(e),u.value=!0}}catch(e){console.warn(e)}}async function c(e){let{brandInfo:t,createdBrandInfo:a}=(0,n.J)();try{let i=await l.e.post("/askai/project/get_project_status",{domain:e});t.value=i.status,a.value=i.create_status}catch(e){console.warn(e)}}async function m(){let{domainTit:e,domainIp:t}=(0,n.J)();if(""==t.value)return void o.v0.error(d.Z.global.t("domain.edit.domainConfiguration.validation.setDedicatedIpFirst"));try{await l.e.post("/multi_ip_domain/test",{domain:e.value,outbound_ip:t.value},{fetchOptions:{loading:d.Z.global.t("domain.edit.domainConfiguration.api.testingConnection"),successMessage:!0}})}catch(e){console.warn(e)}}async function p(){let{domainTit:e,domainIp:t,quota:a,unit:o,urls:r,mailboxes:s,catch_email:d}=(0,n.J)(),u=function(e,t){switch(t){case"KB":return 1024*e;case"MB":return 1024*e*1024;case"GB":return 1024*e*1048576;case"TB":return 1024*e*0x40000000;default:return e}}(Number(a.value),o.value);try{await l.e.post("/domains/update",{domain:e.value,mailboxes:s.value,mailboxQuota:u,quota:u,rateLimit:1,active:1,email:d.value,urls:r.value,outbound_ip:t.value},i.uL)}catch(e){console.warn(e)}}async function v(){let{waitAndCheckDomainStatusRef:e,domainTit:t,urls:a,hasGotDomainConfiguration:l}=(0,n.J)(),i=(0,s.s6)();if(l.value=!1,0==a.value.length||""==a.value[0])o.v0.error(d.Z.global.t("domain.edit.domainConfiguration.fillDomain"));else if((0,o.CB)(a.value[0]))try{await (0,r.rU)({domain:t.value,urls:a.value}),i.domainSource=t.value,e.value.open(t.value,()=>{f(t.value,1),u(t.value)})}catch(e){console.warn(e)}else o.v0.error(d.Z.global.t("domain.edit.domainConfiguration.fillValidDomain"))}async function f(e,t){try{await l.e.post("/domains/update",{domain:e,hasbrandinfo:t})}catch(e){console.warn(e)}}function _(e){let{urls:t}=(0,n.J)(),a=t.value[0].match(/http:\/\/?/g),l=t.value[0].match(/https:\/\/?/g);a&&(t.value[0]=a[0]+e),l&&(t.value[0]=l[0]+e),a||l||(t.value[0]="https://"+e)}function h(e){let{urls:t}=(0,n.J)();t.value.splice(e,1)}function w(){let{hasGotAisettings:e,hasGotCompanyProfile:t,hasGotDomainConfiguration:a,hasGotFootersettings:l,hasGotProjectDetail:i,hasGotSitemap:o,hasGotStyling:r}=(0,n.J)();e.value=!1,t.value=!1,a.value=!1,l.value=!1,i.value=!1,o.value=!1,r.value=!1}async function b(e){let{brandInfo:t,domainTit:a}=(0,n.J)();try{await l.e.post("/askai/project/set_project_status",{domain:a.value,status:e},i.uL),await l.e.post("/domains/update",{domain:a.value,active:1,hasbrandinfo:Number(e)})}catch(a){t.value=!e,console.warn(a)}}},42205:function(e,t,a){a.d(t,{J:()=>o});var l=a(30989),i=a(58786);let n=(0,l.Q_)("editDomainStore",()=>{let e=(0,i.iH)(!1),t=(0,i.iH)(""),a=(0,i.iH)(""),l=(0,i.iH)("0"),n=(0,i.iH)("B"),o=(0,i.iH)(0),r=(0,i.iH)(""),s=(0,i.iH)(["https://"]),d=(0,i.iH)(!1),u=(0,i.iH)(),c=(0,i.iH)(!1),m=(0,i.iH)(!1),p=(0,i.iH)(""),v=(0,i.iH)(""),f=(0,i.iH)(""),_=(0,i.iH)(""),h=(0,i.iH)(""),w=(0,i.iH)(""),b=(0,i.iH)(""),g=(0,i.iH)([]),y=(0,i.iH)({title:"",content:"",kid:"",update_time:0}),S=(0,i.iH)(""),x=(0,i.iH)(""),U=(0,i.iH)(!1),k=(0,i.iH)(!1),z=(0,i.iH)(""),W=(0,i.iH)(!1),Z=(0,i.iH)(""),C=(0,i.iH)(!1),H=(0,i.iH)(""),$=(0,i.iH)(""),j=(0,i.iH)(""),q=(0,i.iH)(""),D=(0,i.iH)(""),B=(0,i.iH)(""),P=(0,i.iH)(!1),F=(0,i.iH)(""),T=(0,i.iH)(""),M=(0,i.iH)(""),O=(0,i.iH)(""),I=(0,i.iH)(""),A=(0,i.iH)(""),R=(0,i.iH)(""),L=(0,i.iH)(""),V=(0,i.iH)(!1),J=(0,i.iH)([{title:"",uri_path:""}]),K=(0,i.iH)(!1),G=(0,i.iH)(""),E=(0,i.iH)("");return{hasGotDomainConfiguration:e,domainTit:t,domainIp:a,quota:l,unit:n,mailboxes:o,catch_email:r,urls:s,brandInfo:d,waitAndCheckDomainStatusRef:u,createdBrandInfo:c,hasGotProjectDetail:m,domain:p,description:v,favicon:f,industry:_,primary_logo:h,project_name:w,secondary_logo:b,knowledge_base:g,activeKnowledge:y,knowledgeTitle:S,knowledgeContent:x,knowledgeModalShow:U,isEditKnowledge:k,knowledge_base_content:z,knowledgeBasePreview:W,knowledgeBasePreviewTit:Z,hasGotCompanyProfile:C,legal_company_name:H,web_site:$,company_profile:j,email:q,phone:D,support_url:B,hasGotStyling:P,accent_color:F,text_color:T,page_background:M,container_background:O,link_social_color:I,link_footer_color:A,heading_font:R,body_font:L,hasGotSitemap:V,sitemap:J,hasGotFootersettings:K,copyright_text:G,disclaimer:E,hasGotAisettings:(0,i.iH)(!1),prompt:(0,i.iH)("")}});function o(){let e=n();return{...(0,l.Jk)(e)}}},51169:function(e,t,a){a.d(t,{d:()=>o});var l=a(58786),i=a(49247);let n=Symbol("MODAL_INJECT"),o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{state:t={},component:a,onCancel:o,onConfirm:r}=e,s=(0,l.qj)({});return a?[(0,l.aZ)({setup(i,o){let{attrs:r,slots:d}=o;return(0,l.JJ)(n,{state:t,options:e,extendApi:e=>{Object.setPrototypeOf(s,e)},setState:e=>{Object.assign(t,e)}}),()=>(0,l.h)(a,{...i,...r},d)}}),s]:[(0,l.aZ)({setup(t,a){let{attrs:d,slots:u}=a,c=(0,l.f3)(n),m=(0,l.iH)(!1);return s.open=()=>{var t;m.value=!0,null==(t=e.onChangeState)||t.call(e,m.value)},s.close=()=>{m.value=!1},s.setState=t=>{var a;null==c||c.setState(t),null==(a=e.onChangeState)||a.call(e,m.value)},s.getState=()=>(null==c?void 0:c.state)??{},null==c||c.extendApi(s),()=>(0,l.Wm)(i.Z,(0,l.dG)({show:m.value},t,d,{onCancel:o,onConfirm:r,"onUpdate:show":e=>{m.value=e??!1}}),u)}}),s]}},16893:function(e,t,a){a.d(t,{Z:()=>o});var l=a(15496),i=a(58786);let n={class:"mr-4px"},o=(0,i.aZ)({__name:"index",props:{href:{type:String,default:""},text:{type:String,default:""}},setup(e){let t=()=>{window.open(e.href)};return(a,o)=>{let r=l.ZP;return(0,i.wg)(),(0,i.j4)(r,{text:"",onClick:t},{default:(0,i.w5)(()=>[(0,i._)("span",n,(0,i.zw)(e.text||a.$t("common.actions.help")),1),o[0]||(o[0]=(0,i._)("i",{class:"i-custom:help text-primary"},null,-1))]),_:1,__:[0]})}}})},88583:function(e,t,a){a.d(t,{Z:()=>n});var l=a(58786);let i={class:"bt-tips flex flex-col gap-4px list-outside list-disc leading-20px text-[#777]"},n=(0,a(41748).default)({},[["render",function(e,t){return(0,l.wg)(),(0,l.iD)("ul",i,[(0,l.WI)(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-8731a1b4"]])},46244:function(e,t,a){a.d(t,{Z:()=>n});var l=a(98048),i=a(58786);let n=(0,i.aZ)({__name:"index",props:{model:{},rules:{},labelWidth:{},labelPlacement:{default:"top"}},setup(e,t){let{expose:a}=t,n=(0,i.iH)(null);return a({validate:()=>{var e;return null==(e=n.value)?void 0:e.validate()},restoreValidation:()=>{var e;return null==(e=n.value)?void 0:e.restoreValidation()}}),(e,t)=>{let a=l.Z;return(0,i.wg)(),(0,i.j4)(a,(0,i.dG)(e.$attrs,{ref_key:"formRef",ref:n,model:e.model,rules:e.rules,"label-width":e.labelWidth,"label-placement":e.labelPlacement}),{default:(0,i.w5)(()=>[(0,i.WI)(e.$slots,"default")]),_:3},16,["model","rules","label-width","label-placement"])}}})},1418:function(e,t,a){a.d(t,{Z:()=>p});var l=a(5057),i=a(57869),n=a(58786),o=a(99778),r=a(31708),s=a(34541),d=a(68271),u=a(52495);let c={class:"flex justify-start gap-2.5 bg-transparent items-center"},m={class:"flex items-center text-4"},p=(0,n.aZ)({__name:"WaitAndCheckDomainStatus",setup(e,t){let{expose:a}=t,{t:p}=(0,u.QT)(),v=(0,n.iH)(!1),f=(0,r.s6)(),_=(0,n.iH)();function h(){v.value=!1}function w(e,t){let a=setInterval(async()=>{await b(e)&&(d.v0.success(p("domain.waitAndCheckDomainStatus.success")),t&&t(),h(),clearInterval(a),_.value.open())},1e3)}async function b(e){try{if((await s.e.post("/askai/project/get_base_info",{domain:e})).update_time)return!0;return!1}catch(e){return console.warn(e),d.v0.error(p("domain.waitAndCheckDomainStatus.error")),!1}}return a({open:function(e,t){w(e,t),f.domainSource=e,v.value=!0},close:h,checkStatus:w}),(e,t)=>{let a=i.ZP,r=l.Z;return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(r,{show:(0,n.SU)(v),"onUpdate:show":t[0]||(t[0]=e=>(0,n.dq)(v)?v.value=e:null),"close-on-esc":!1,"mask-closable":!1},{default:(0,n.w5)(()=>[(0,n.Wm)(a,{style:{width:"auto"}},{default:(0,n.w5)(()=>[(0,n._)("div",c,[t[1]||(t[1]=(0,n._)("i",{class:"i-svg-spinners:bars-scale text-[var(--color-primary-1)] text-6"},null,-1)),(0,n._)("span",m,(0,n.zw)(e.$t("domain.waitAndCheckDomainStatus.loading")),1)])]),_:1})]),_:1},8,["show"]),(0,n.Wm)(o.Z,{ref_key:"createTplModal",ref:_,"only-ai":!0},null,512)],64)}}})},20069:function(e,t,a){a.r(t),a.d(t,{default:()=>eX});var l=a(39244),i=a(25170),n=a(60424),o=a(66760),r=a(16893),s=a(58786),d=a(15496),u=a(53903),c=a(93953),m=a(68271),p=a(51169),v=a(67512),f=a(39432),_=a(46244),h=a(99321),w=a(29875),b=a(8490),g=a(29283),y=a(6455),S=a(73084),x=a(49942),U=a(88583),k=a(1418),z=a(52672),W=a(31708),Z=a(52495);let C={class:"pt-16px"},H={class:"flex items-center justify-start gap-1.25"},$={class:"text-error"},j={class:"w-100px ml-20px"},q={class:"flex-1 mr-16px"},D={key:0,class:"text-[#999]"},B={class:"flex justify-start items-center"},P={class:"w-100% flex justify-between items-center"},F={class:"mr-5"},T={class:"text-[#777] flex justify-start"},M={class:"w-100% flex flex-col gap-2.5"},O=["onClick"],I=(0,s.aZ)({__name:"DomainForm",setup(e){let{t}=(0,Z.QT)(),a=(0,s.iH)(!1),l=(0,s.iH)(),i=(0,s.Fl)(()=>a.value?t("domain.form.editTitle"):t("domain.form.addTitle")),n=(0,W.s6)(),o=(0,s.iH)(!1),r=(0,s.AE)("formRef"),u=(0,s.iH)(!1),c=(0,s.iH)(["https://"]),v=(0,s.qj)({domain:"",a_record:"",quota:5,quota_unit:"GB",mailboxes:50,outbound_ip:"",email:""}),I=[{label:"GB",value:"GB"},{label:"MB",value:"MB"}],A={domain:{trigger:["blur","input"],validator:()=>""!==v.domain.trim()||Error(t("domain.form.validation.domainRequired"))}},R=(e,t)=>{switch(t){case"GB":return 1024*e*1048576;case"MB":return 1024*e*1024;default:return e}},L=e=>{let t=c.value[0].match(/http:\/\/?/g),a=c.value[0].match(/https:\/\/?/g);t&&(c.value[0]=t[0]+e),a&&(c.value[0]=a[0]+e),t||a||(c.value[0]="https://"+e)},V=e=>{c.value.splice(e,1)},J=async()=>""==v.domain?void m.v0.error(t("domain.form.validation.domainInputRequired")):""==v.outbound_ip?void m.v0.error(t("domain.form.validation.dedicatedIpRequired")):void await (0,f.M7)({domain:v.domain,outbound_ip:v.outbound_ip}),[K,G]=(0,p.d)({onChangeState:async e=>{if(e){let e=G.getState();if(a.value=e.isEdit,o.value=(await (0,f.Lb)()).is_configured,e.row){let{row:t}=e;v.domain=t.domain,v.a_record=t.a_record;let a=(0,m.UO)(t.quota);v.quota=(0,m.Dx)(a.split(" ")[0]),v.quota_unit=a.split(" ")[1],v.mailboxes=t.mailboxes,v.email=t.email}}else v.domain="",v.a_record="",v.quota=5,v.quota_unit="GB",v.mailboxes=50,v.email="",v.outbound_ip="",c.value=["https://"]},onConfirm:async()=>{var e;await (null==(e=r.value)?void 0:e.validate()),a.value?await (0,f.gK)({domain:v.domain,quota:R(v.quota,v.quota_unit),mailboxes:v.mailboxes,email:v.email,urls:c.value,outbound_ip:v.outbound_ip}):(await (0,f.Fj)({domain:v.domain,quota:R(v.quota,v.quota_unit),mailboxes:v.mailboxes,email:v.email,urls:c.value,hasbrandinfo:Number(u.value),outbound_ip:v.outbound_ip}),u.value?(await (0,f.rU)({domain:v.domain,urls:c.value}),l.value.open(v.domain),n.domainSource=v.domain):n.domainSource=""),G.getState().refresh()}});function E(){z.Z.push({name:"AiModel"})}return(e,n)=>{let m=U.Z,p=x.ZP,f=S.Z,z=y.ZP,W=g.Z,Z=b.Z,R=d.ZP,G=w.Z,N=h.Z,Q=_.Z;return(0,s.wg)(),(0,s.iD)(s.HY,null,[(0,s.Wm)((0,s.SU)(K),{title:(0,s.SU)(i),width:600},{default:(0,s.w5)(()=>[(0,s._)("div",C,[(0,s.Wm)(Q,{ref_key:"formRef",ref:r,model:(0,s.SU)(v),rules:A},{default:(0,s.w5)(()=>[(0,s.Wm)(z,{path:"domain"},{label:(0,s.w5)(()=>[(0,s._)("div",H,[(0,s._)("span",null,(0,s.zw)((0,s.SU)(t)("domain.form.domain")),1),(0,s.Wm)(p,{trigger:"hover"},{trigger:(0,s.w5)(()=>n[7]||(n[7]=[(0,s._)("i",{class:"i-custom:help text-primary cursor-pointer"},null,-1)])),default:(0,s.w5)(()=>[(0,s.Wm)(m,null,{default:(0,s.w5)(()=>[(0,s._)("li",$,(0,s.zw)((0,s.SU)(t)("domain.form.tips.aRecordFailed")),1),(0,s._)("li",null,(0,s.zw)((0,s.SU)(t)("domain.form.tips.dnsSetup")),1),(0,s._)("li",null,(0,s.zw)((0,s.SU)(t)("domain.form.tips.cloudflare")),1)]),_:1})]),_:1})])]),default:(0,s.w5)(()=>[(0,s.Wm)(f,{value:(0,s.SU)(v).domain,"onUpdate:value":[n[0]||(n[0]=e=>(0,s.SU)(v).domain=e),L],disabled:(0,s.SU)(a),placeholder:(0,s.SU)(t)("domain.form.domainPlaceholder")},null,8,["value","disabled","placeholder"])]),_:1}),(0,s.Wm)(z,{label:(0,s.SU)(t)("domain.form.quota")},{default:(0,s.w5)(()=>[(0,s.Wm)(W,{value:(0,s.SU)(v).quota,"onUpdate:value":n[1]||(n[1]=e=>(0,s.SU)(v).quota=e),class:"flex-1",min:0,"show-button":!1},null,8,["value"]),(0,s._)("div",j,[(0,s.Wm)(Z,{value:(0,s.SU)(v).quota_unit,"onUpdate:value":n[2]||(n[2]=e=>(0,s.SU)(v).quota_unit=e),options:I},null,8,["value"])])]),_:1},8,["label"]),(0,s.Wm)(z,{label:(0,s.SU)(t)("domain.form.mailboxCount")},{default:(0,s.w5)(()=>[(0,s.Wm)(W,{value:(0,s.SU)(v).mailboxes,"onUpdate:value":n[3]||(n[3]=e=>(0,s.SU)(v).mailboxes=e),class:"flex-1",min:0,"show-button":!1},null,8,["value"])]),_:1},8,["label"]),(0,s.Wm)(z,{label:e.$t("domain.form.dedicatedIp")},{default:(0,s.w5)(()=>[(0,s._)("div",q,[(0,s.Wm)(f,{value:(0,s.SU)(v).outbound_ip,"onUpdate:value":n[4]||(n[4]=e=>(0,s.SU)(v).outbound_ip=e),placeholder:"未设置"},null,8,["value"])]),(0,s.SU)(v).outbound_ip?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("span",D,(0,s.zw)(e.$t("domain.form.notSet")),1)),(0,s.Wm)(R,{type:"primary",ghost:"",onClick:J},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)(e.$t("domain.form.testConnection")),1)]),_:1})]),_:1},8,["label"]),(0,s.Wm)(z,{label:(0,s.SU)(t)("domain.form.globalCatch")},{default:(0,s.w5)(()=>[(0,s.Wm)(f,{value:(0,s.SU)(v).email,"onUpdate:value":n[5]||(n[5]=e=>(0,s.SU)(v).email=e),placeholder:(0,s.SU)(t)("domain.form.globalCatchPlaceholder")},null,8,["value","placeholder"])]),_:1},8,["label"]),(0,s.Wm)(z,null,{label:(0,s.w5)(()=>[(0,s._)("div",B,[n[8]||(n[8]=(0,s._)("i",{class:"i-domain:brand-info w-5 h-5 mr-1.25"},null,-1)),(0,s._)("span",null,(0,s.zw)(e.$t("domain.form.createBrandInfo")),1)])]),default:(0,s.w5)(()=>[(0,s.Wm)(G,{value:(0,s.SU)(u),"onUpdate:value":n[6]||(n[6]=e=>(0,s.dq)(u)?u.value=e:null),disabled:!(0,s.SU)(o)},null,8,["value","disabled"])]),_:1}),(0,s.SU)(o)?(0,s.kq)("",!0):((0,s.wg)(),(0,s.j4)(N,{key:0,class:"mb-16px",size:"small",type:"warning","show-icon":!1},{default:(0,s.w5)(()=>[(0,s._)("div",P,[(0,s._)("span",F,(0,s.zw)(e.$t("domain.form.modelNotice")),1),(0,s.Wm)(R,{type:"primary",size:"small",onClick:E},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)(e.$t("domain.form.integrateImmediately")),1)]),_:1})])]),_:1})),(0,s._)("div",T,[n[9]||(n[9]=(0,s._)("span",null,[(0,s._)("i",{class:"i-domain:brand-info w-5 h-5 mr-1.25"})],-1)),(0,s._)("span",null,(0,s.zw)(e.$t("domain.form.modelDescription")),1)]),(0,s.Wm)(m,{style:{"margin-bottom":"15px"}},{default:(0,s.w5)(()=>[(0,s._)("li",null,(0,s.zw)(e.$t("domain.form.extractBrand")),1),(0,s._)("li",null,(0,s.zw)(e.$t("domain.form.analyzeStructure")),1),(0,s._)("li",null,(0,s.zw)(e.$t("domain.form.importContent")),1),(0,s._)("li",null,(0,s.zw)(e.$t("domain.form.customLogo")),1)]),_:1}),(0,s.Wm)(z,{label:e.$t("domain.form.specifyDomain")},{default:(0,s.w5)(()=>[(0,s._)("div",M,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)((0,s.SU)(c),(e,a)=>((0,s.wg)(),(0,s.iD)("div",{key:a,class:"flex justify-start items-center gap-2.5"},[(0,s.Wm)(f,{value:(0,s.SU)(c)[a],"onUpdate:value":e=>(0,s.SU)(c)[a]=e,placeholder:(0,s.SU)(t)("domain.form.urlsPlacement"),disabled:!(0,s.SU)(o)},null,8,["value","onUpdate:value","placeholder","disabled"]),0!=a?((0,s.wg)(),(0,s.iD)("div",{key:0,class:"close",onClick:e=>V(a)},n[10]||(n[10]=[(0,s._)("i",{class:"i-material-symbols:close-rounded text-5"},null,-1)]),8,O)):(0,s.kq)("",!0)]))),128))])]),_:1},8,["label"])]),_:1},8,["model"])])]),_:1},8,["title"]),(0,s.Wm)(k.Z,{ref_key:"waitAndCheckDomainStatusRef",ref:l},null,512)],64)}}});var A=a(41748);let R=(0,A.default)(I,[["__scopeId","data-v-7b64ca0c"]]);var L=a(10320);let V=(0,s.aZ)({__name:"index",props:{value:{},valueModifiers:{}},emits:["update:value"],setup(e){let t=(0,s.tT)(e,"value");return(e,a)=>{let l=L.Z;return(0,s.wg)(),(0,s.j4)(l,{value:t.value,"onUpdate:value":a[0]||(a[0]=e=>t.value=e),class:"bt-tabs h-full",type:"card",placement:"top"},{default:(0,s.w5)(()=>[(0,s.WI)(e.$slots,"default")]),_:3},8,["value"])}}}),J=(0,A.default)(V,[["__scopeId","data-v-53057eda"]]);var K=a(43751),G=a(60579);let E={class:"ssl-cert-container"},N={class:"brand-info"},Q={class:"info-label"},X={class:"info-value"},Y={class:"info-label"},ee={class:"info-value font-normal!"},et={class:"cert-content"},ea={class:"cert-section"},el={class:"section-title"},ei={class:"cert-section"},en={class:"section-title"},eo={class:"cert-actions"},er=(0,s.aZ)({__name:"OtherCert",props:{domain:{type:Object,required:!0},refresh:{type:Function,required:!0}},setup(e){let t=(0,s.iH)(!1),a=(0,s.iH)({subject:"",issuer:"",not_before:"",not_after:"",dns:[],endtime:0,key_pem:"",cert_pem:""}),l=(0,s.Fl)(()=>a.value.dns||[]),i=async()=>{try{t.value=!0;let l=await (0,f.Au)({domain:e.domain.domain});(0,m.Kn)(l)&&(a.value=l)}finally{t.value=!1}},n=async()=>{await (0,f.OV)({domain:e.domain.domain,key:a.value.key_pem,certificate:a.value.cert_pem}),i(),e.refresh()},o=async()=>{await (0,f.yW)({domain:e.domain.domain}),i(),e.refresh()};return a.value=e.domain.cert_info,(e,i)=>{let r=u.ZP,c=h.Z,m=S.Z,p=d.ZP,v=G.Z,f=U.Z;return(0,s.wg)(),(0,s.iD)("div",E,[(0,s.Wm)(v,{show:(0,s.SU)(t)},{default:(0,s.w5)(()=>[(0,s.SU)(a).endtime>0?((0,s.wg)(),(0,s.j4)(c,{key:0,class:"mb-16px",type:"success","show-icon":!1},{default:(0,s.w5)(()=>[(0,s._)("div",N,[(0,s._)("div",Q,(0,s.zw)(e.$t("domain.ssl.cert.brand"))+":",1),(0,s._)("div",X,(0,s.zw)((0,s.SU)(a).issuer),1),(0,s._)("div",Y,(0,s.zw)(e.$t("domain.ssl.cert.domains"))+":",1),(0,s._)("div",ee,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)((0,s.SU)(l),(e,t)=>((0,s.wg)(),(0,s.j4)(r,{key:t,size:"small"},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)(e),1)]),_:2},1024))),128))])])]),_:1})):(0,s.kq)("",!0),(0,s._)("div",et,[(0,s._)("div",ea,[(0,s._)("div",el,(0,s.zw)(e.$t("domain.ssl.cert.privateKey")),1),(0,s.Wm)(m,{value:(0,s.SU)(a).key_pem,"onUpdate:value":i[0]||(i[0]=e=>(0,s.SU)(a).key_pem=e),type:"textarea",placeholder:e.$t("domain.ssl.cert.keyPlaceholder"),rows:14,"input-props":{spellcheck:!1}},null,8,["value","placeholder"])]),(0,s._)("div",ei,[(0,s._)("div",en,(0,s.zw)(e.$t("domain.ssl.cert.certificate")),1),(0,s.Wm)(m,{value:(0,s.SU)(a).cert_pem,"onUpdate:value":i[1]||(i[1]=e=>(0,s.SU)(a).cert_pem=e),type:"textarea",placeholder:e.$t("domain.ssl.cert.certPlaceholder"),"input-props":{spellcheck:!1},rows:14},null,8,["value","placeholder"])])]),(0,s._)("div",eo,[(0,s.Wm)(p,{type:"primary",onClick:n},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)(e.$t("common.actions.save")),1)]),_:1}),(0,s.Wm)(p,{type:"primary",onClick:o},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)(e.$t("domain.ssl.actions.applyFree")),1)]),_:1})])]),_:1},8,["show"]),(0,s.Wm)(f,null,{default:(0,s.w5)(()=>[(0,s._)("li",null,(0,s.zw)(e.$t("domain.ssl.tips.paste")),1),(0,s._)("li",null,(0,s.zw)(e.$t("domain.ssl.tips.chainCheck")),1),(0,s._)("li",null,(0,s.zw)(e.$t("domain.ssl.tips.pemFormat")),1),(0,s._)("li",null,(0,s.zw)(e.$t("domain.ssl.tips.defaultSite")),1)]),_:1})])}}}),es=(0,A.default)(er,[["__scopeId","data-v-bd7d6d60"]]),ed=(0,s.aZ)({__name:"index",setup(e){let t=(0,s.iH)("other"),a=(0,s.iH)(null),[l,i]=(0,p.d)({onChangeState:e=>{if(e){let{row:e}=i.getState();e&&(a.value=e)}}}),n=()=>{i.getState().refresh()};return(e,i)=>{let o=K.Z;return(0,s.wg)(),(0,s.j4)((0,s.SU)(l),{title:e.$t("domain.ssl.title"),width:650,footer:!1},{default:(0,s.w5)(()=>[(0,s.Wm)(J,{value:(0,s.SU)(t),"onUpdate:value":i[0]||(i[0]=e=>(0,s.dq)(t)?t.value=e:null)},{default:(0,s.w5)(()=>[(0,s.Wm)(o,{name:"other",tab:e.$t("domain.ssl.tabs.otherCertificate")},{default:(0,s.w5)(()=>[(0,s.SU)(a)?((0,s.wg)(),(0,s.j4)(es,{key:0,domain:(0,s.SU)(a),refresh:n},null,8,["domain"])):(0,s.kq)("",!0)]),_:1},8,["tab"])]),_:1},8,["value"])]),_:1},8,["title"])}}});var eu=a(35409),ec=a(50039),em=a(56357),ep=a(87075),ev=a(62198),ef=a(77984);let e_={class:"record-title"},eh={width:"140"},ew={width:"160"},eb={class:"record-title"},eg={class:"record-desc"},ey={width:"140"},eS={width:"160"},ex={class:"record-title"},eU={class:"record-desc"},ek={width:"140"},ez={width:"160"},eW={class:"record-title"},eZ={class:"record-desc"},eC={class:"record-desc"},eH={class:"flex justify-center mt-24px"},e$=(0,s.aZ)({__name:"DomainDns",setup(e){let{t}=(0,Z.QT)(),{copyText:a}=(0,ef.F)(),l=(0,s.iH)([]),i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"value";return l.value.length>0?l.value[0].dns_records[e][t]:""},o=(0,s.Fl)(()=>i("dkim")),r=(0,s.Fl)(()=>i("a")),u=(0,s.Fl)(()=>i("a","host")),c=(0,s.Fl)(()=>i("mx")),v=(0,s.Fl)(()=>i("mx","host")),_=(0,s.Fl)(()=>i("dmarc")),h=(0,s.Fl)(()=>i("spf")),w=e=>{let{status:a}=e;return(0,s.Wm)("div",{class:["inline-flex items-center",a?"text-primary":"text-error"]},[(0,s.Wm)(em.g,{size:"16"},{default:()=>[a?(0,s.Wm)(ep.Z,null,null):(0,s.Wm)(ev.Z,null,null)]}),(0,s.Wm)("span",{class:"ml-4px"},[a?t("domain.dns.status.ok"):t("domain.dns.status.notSet")])])},b=(0,s.iH)([{key:"domain",title:t("domain.dns.columns.domain"),width:"20%",ellipsis:{tooltip:!0}},{key:"mx",title:"MX",render:e=>{let t=e.dns_records.mx;return(0,s.Wm)(w,{status:(null==t?void 0:t.valid)||!1},null)}},{key:"a",title:"A record",render:e=>{let t=e.dns_records.a;return(0,s.Wm)(w,{status:(null==t?void 0:t.valid)||!1},null)}},{key:"spf",title:"SPF",render:e=>{let t=e.dns_records.spf;return(0,s.Wm)(w,{status:(null==t?void 0:t.valid)||!1},null)}},{key:"dkim",title:"DKIM",render:e=>{let t=e.dns_records.dkim;return(0,s.Wm)(w,{status:(null==t?void 0:t.valid)||!1},null)}},{key:"dmarc",title:"DMARC",render:e=>{let t=e.dns_records.dmarc;return(0,s.Wm)(w,{status:(null==t?void 0:t.valid)||!1},null)}},{key:"ptr",title:"PTR",render:e=>{let t=e.dns_records.ptr;return(0,s.Wm)(w,{status:(null==t?void 0:t.valid)||!1},null)}}]),g=async()=>{let e=await (0,f.v1)({domain:l.value[0].domain});(0,m.Kn)(e)&&(l.value[0].dns_records=e);let{refresh:t}=S.getState();t()},[y,S]=(0,p.d)({onChangeState:e=>{if(e){let{row:e}=S.getState();e&&(l.value=[e])}}});return(e,i)=>{let m=n.Z,p=ec.Z,f=eu.ZP,w=d.ZP;return(0,s.wg)(),(0,s.j4)((0,s.SU)(y),{title:(0,s.SU)(t)("domain.dns.title"),width:750,footer:!1},{default:(0,s.w5)(()=>[(0,s._)("div",null,[(0,s.Wm)(m,{size:"small",class:"mb-20px",data:(0,s.SU)(l),columns:(0,s.SU)(b)},null,8,["data","columns"]),(0,s._)("div",e_,(0,s.zw)((0,s.SU)(t)("domain.dns.step1.title")),1),(0,s.Wm)(p,{size:"small",class:"mb-24px"},{default:(0,s.w5)(()=>[(0,s._)("thead",null,[(0,s._)("tr",null,[(0,s._)("th",eh,(0,s.zw)((0,s.SU)(t)("domain.dns.table.recordType")),1),(0,s._)("th",ew,(0,s.zw)((0,s.SU)(t)("domain.dns.table.host")),1),(0,s._)("th",null,(0,s.zw)((0,s.SU)(t)("domain.dns.table.value")),1)])]),(0,s._)("tbody",null,[(0,s._)("tr",null,[i[3]||(i[3]=(0,s._)("td",null,"A",-1)),(0,s._)("td",null,(0,s.zw)((0,s.SU)(u)),1),(0,s._)("td",null,(0,s.zw)((0,s.SU)(r)),1)])])]),_:1}),(0,s._)("div",eb,(0,s.zw)((0,s.SU)(t)("domain.dns.step2.title")),1),(0,s._)("div",eg,(0,s.zw)((0,s.SU)(t)("domain.dns.step2.description")),1),(0,s.Wm)(p,{size:"small",class:"mb-24px"},{default:(0,s.w5)(()=>[(0,s._)("thead",null,[(0,s._)("tr",null,[(0,s._)("th",ey,(0,s.zw)((0,s.SU)(t)("domain.dns.table.recordType")),1),(0,s._)("th",eS,(0,s.zw)((0,s.SU)(t)("domain.dns.table.host")),1),(0,s._)("th",null,(0,s.zw)((0,s.SU)(t)("domain.dns.table.value")),1),(0,s._)("th",null,(0,s.zw)((0,s.SU)(t)("domain.dns.table.mxPriority")),1)])]),(0,s._)("tbody",null,[(0,s._)("tr",null,[i[4]||(i[4]=(0,s._)("td",null,"MX",-1)),(0,s._)("td",null,(0,s.zw)((0,s.SU)(v)),1),(0,s._)("td",null,(0,s.zw)((0,s.SU)(c)),1),i[5]||(i[5]=(0,s._)("td",null,"10",-1))])])]),_:1}),(0,s._)("div",ex,(0,s.zw)((0,s.SU)(t)("domain.dns.step3.title")),1),(0,s._)("div",eU,(0,s.zw)((0,s.SU)(t)("domain.dns.step3.description")),1),(0,s.Wm)(p,{size:"small",class:"mb-24px"},{default:(0,s.w5)(()=>[(0,s._)("thead",null,[(0,s._)("tr",null,[(0,s._)("th",ek,(0,s.zw)((0,s.SU)(t)("domain.dns.table.recordType")),1),(0,s._)("th",ez,(0,s.zw)((0,s.SU)(t)("domain.dns.table.host")),1),(0,s._)("th",null,(0,s.zw)((0,s.SU)(t)("domain.dns.table.value")),1)])]),(0,s._)("tbody",null,[(0,s._)("tr",null,[i[6]||(i[6]=(0,s._)("td",null,"TXT",-1)),i[7]||(i[7]=(0,s._)("td",null,"@",-1)),(0,s._)("td",null,[(0,s.Wm)(f,{class:"mr-4px max-w-320px!"},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(h)),1)]),_:1}),(0,s.Wm)(w,{text:"",type:"primary",onClick:i[0]||(i[0]=()=>(0,s.SU)(a)((0,s.SU)(h)))},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(t)("common.actions.copy")),1)]),_:1})])]),(0,s._)("tr",null,[i[8]||(i[8]=(0,s._)("td",null,"TXT",-1)),i[9]||(i[9]=(0,s._)("td",null,"default._domainkey",-1)),(0,s._)("td",null,[(0,s.Wm)(f,{class:"mr-4px max-w-320px!"},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(o)||"--"),1)]),_:1}),(0,s.SU)(o)?((0,s.wg)(),(0,s.j4)(w,{key:0,text:"",type:"primary",onClick:i[1]||(i[1]=()=>(0,s.SU)(a)((0,s.SU)(o)))},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(t)("common.actions.copy")),1)]),_:1})):(0,s.kq)("",!0)])]),(0,s._)("tr",null,[i[10]||(i[10]=(0,s._)("td",null,"TXT",-1)),i[11]||(i[11]=(0,s._)("td",null,"_dmarc",-1)),(0,s._)("td",null,[(0,s.Wm)(f,{class:"mr-4px max-w-320px!"},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(_)),1)]),_:1}),(0,s.SU)(_)?((0,s.wg)(),(0,s.j4)(w,{key:0,text:"",type:"primary",onClick:i[2]||(i[2]=()=>(0,s.SU)(a)((0,s.SU)(_)))},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(t)("common.actions.copy")),1)]),_:1})):(0,s.kq)("",!0)])])])]),_:1}),(0,s._)("div",eW,(0,s.zw)((0,s.SU)(t)("domain.dns.step4.title")),1),(0,s._)("div",eZ,(0,s.zw)((0,s.SU)(t)("domain.dns.step4.description1")),1),(0,s._)("div",eC,(0,s.zw)((0,s.SU)(t)("domain.dns.step4.description2")),1)]),(0,s._)("div",eH,[(0,s.Wm)(w,{type:"primary",onClick:g},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(t)("domain.dns.verify")),1)]),_:1})])]),_:1},8,["title"])}}}),ej=(0,A.default)(e$,[["__scopeId","data-v-8094e116"]]);var eq=a(49247);let eD={class:"inline-flex items-center text-16px"},eB={key:0,class:"i-tdesign:check-circle-filled text-primary"},eP={key:1,class:"inline-flex flex-center w-16px h-16px bg-error rounded-full"},eF={key:2,class:"i-tdesign:time-filled text-desc"},eT=(0,s.aZ)({__name:"IpStatus",props:{status:{type:String,default:"pending"}},setup:e=>(t,a)=>{let l=G.Z;return(0,s.wg)(),(0,s.iD)("div",eD,["applied"===e.status?((0,s.wg)(),(0,s.iD)("i",eB)):(0,s.kq)("",!0),"failed"===e.status?((0,s.wg)(),(0,s.iD)("div",eP,a[0]||(a[0]=[(0,s._)("i",{class:"i-fa-solid:unlink text-#fff text-10px"},null,-1)]))):(0,s.kq)("",!0),"pending"===e.status?((0,s.wg)(),(0,s.iD)("i",eF)):(0,s.kq)("",!0),"applying"===e.status?((0,s.wg)(),(0,s.j4)(l,{key:3,show:!0,size:16})):(0,s.kq)("",!0)])}}),eM={class:"pt-16px px-16px text-basic"},eO={class:"flex justify-between items-center mb-16px"},eI={class:"flex items-center"},eA={class:"flex items-center"},eR={class:"flex justify-center gap-16px"},eL={class:"flex justify-center"},eV=(0,s.aZ)({__name:"DomainIpSet",setup(e){let{t}=(0,Z.QT)(),a=(0,s.iH)(""),l=(0,s.iH)(""),i=(0,s.iH)(""),n=(0,s.Fl)(()=>"failed"===i.value?"failed":"applied"),o=(0,s.Fl)(()=>"applied"===i.value?"applied":"failed"),r=(0,s.Fl)(()=>a.value?t("domain.ipSet.titleWithDomain",{domain:a.value}):t("domain.ipSet.title")),u=(0,s.iH)(!1),c=(0,s.iH)(!1),v=(0,s.iH)(""),_=(0,s.iH)(""),w=async()=>{try{u.value=!0;let e=await (0,f.qt)();(0,m.Kn)(e)&&(v.value=e.command,_.value=e.fix_command,c.value=!0)}finally{u.value=!1}},b=(0,s.iH)(!1),{copyText:g}=(0,ef.F)(),y=()=>{if(!c.value)return void m.v0.error(t("domain.ipSet.validation.getCommandFirst"));g(v.value,!1),b.value=!0},[S,x]=(0,p.d)({onChangeState:e=>{if(e){var t,n;let{row:e}=x.getState();a.value=e.domain,l.value=(null==(t=e.multi_ip_domains)?void 0:t.outbound_ip)||"",i.value=(null==(n=e.multi_ip_domains)?void 0:n.status)||""}}});return(e,t)=>{let a=h.Z,i=G.Z,c=d.ZP,m=eq.Z;return(0,s.wg)(),(0,s.j4)((0,s.SU)(S),{title:(0,s.SU)(r),width:500,footer:!1},{default:(0,s.w5)(()=>[(0,s._)("div",eM,[(0,s._)("div",eO,[(0,s._)("div",null,(0,s.zw)(e.$t("domain.ipSet.dedicatedIp"))+(0,s.zw)((0,s.SU)(l)),1),(0,s._)("div",eI,[(0,s.Uk)((0,s.zw)(e.$t("domain.ipSet.configFile"))+" ",1),(0,s.Wm)(eT,{status:(0,s.SU)(n)},null,8,["status"])]),(0,s._)("div",eA,[(0,s.Uk)((0,s.zw)(e.$t("domain.ipSet.connectionStatus"))+" ",1),(0,s.Wm)(eT,{status:(0,s.SU)(o)},null,8,["status"])])]),(0,s.Wm)(a,{class:"mb-16px",type:"warning","show-icon":!1,bordered:!1},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)(e.$t("domain.ipSet.warning")),1)]),_:1}),(0,s.Wm)(i,{size:"small",show:(0,s.SU)(u)},{default:(0,s.w5)(()=>[(0,s.Wm)(a,{class:"command-alert mb-16px","show-icon":!1,bordered:!1},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(v)||"--"),1)]),_:1})]),_:1},8,["show"]),(0,s._)("div",eR,[(0,s.Wm)(c,{type:"primary",loading:(0,s.SU)(u),disabled:(0,s.SU)(u),onClick:w},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)(e.$t("domain.ipSet.getCommand")),1)]),_:1},8,["loading","disabled"]),(0,s.Wm)(c,{onClick:y},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)(e.$t("domain.ipSet.copyCommand")),1)]),_:1})])]),(0,s.Wm)(m,{show:(0,s.SU)(b),"onUpdate:show":t[1]||(t[1]=e=>(0,s.dq)(b)?b.value=e:null),width:420,title:e.$t("domain.ipSet.operationReminder"),footer:!1},{default:(0,s.w5)(()=>[(0,s.Wm)(a,{class:"mb-16px",type:"warning","show-icon":!1,bordered:!1},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)(e.$t("domain.ipSet.fixCommandTip")),1),t[2]||(t[2]=(0,s._)("br",null,null,-1)),(0,s.Uk)('"'+(0,s.zw)((0,s.SU)(_))+'" ',1)]),_:1,__:[2]}),(0,s._)("div",eL,[(0,s.Wm)(c,{type:"primary",onClick:t[0]||(t[0]=e=>b.value=!1)},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)(e.$t("domain.ipSet.understood")),1)]),_:1})])]),_:1},8,["show","title"])]),_:1},8,["title"])}}}),eJ=(0,A.default)(eV,[["__scopeId","data-v-27e6c7c6"]]);var eK=a(65965);let eG={class:"p-24px"},eE={class:"bt-title"};function eN(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,s.lA)(e)}let eQ=(0,s.aZ)({__name:"index",setup(e){let{t}=(0,Z.QT)(),{tableParams:a,tableList:_,loading:h,tableTotal:w,getTableData:b}=(0,v.Z)({immediate:!0,params:{page:1,page_size:10,keyword:""},fetchFn:f.i7}),g=(0,eK.yj)(),y=(0,eK.tv)(),S=(0,s.iH)([{key:"domain",title:t("domain.columns.domain"),minWidth:130,ellipsis:{tooltip:!0},render:e=>{let a;return(0,s.Wm)("div",{class:"inline-flex items-center"},[1==e.hasbrandinfo&&(0,s.Wm)("i",{class:"i-domain:brand-info w-4 h-4 mr-4px"},null),(0,s.Wm)(d.ZP,{text:!0,type:"primary",onClick:()=>D(e)},{default:()=>[e.domain]}),1===e.default&&(0,s.Wm)(u.ZP,{size:"small",class:"ml-8px",bordered:!1},eN(a=t("domain.status.default"))?a:{default:()=>[a]})])}},{key:"quota",title:t("domain.columns.quota"),render:e=>(0,m.UO)(e.quota)},{key:"mailboxes",title:t("domain.columns.mailboxes")},{key:"mailbox_quota",title:t("domain.columns.defaultMailboxSize"),render:e=>(0,m.UO)(e.mailbox_quota)},{key:"multi_ip_domains",title:t("domain.columns.dedicatedIp"),render:e=>e.multi_ip_domains?(0,s.Wm)("div",{class:"flex items-center cursor-pointer",onClick:()=>{F(e)}},[(0,s.Wm)("span",{class:"leading-14px mr-6px"},[e.multi_ip_domains.outbound_ip]),(0,s.Wm)(eT,{status:e.multi_ip_domains.status},null)]):"--"},{key:"ssl",title:"SSL",render:e=>{let a;if(e.cert_info&&e.cert_info.endtime){let a=Math.floor((1e3*e.cert_info.endtime-Date.now())/1e3/60/60/24);return(0,s.Wm)(d.ZP,{type:a<0?"error":"primary",text:!0,onClick:()=>{C(e)}},{default:()=>[a<0?t("domain.ssl.expired"):t("domain.ssl.daysLeft",{days:a})]})}return(0,s.Wm)(d.ZP,{type:"warning",text:!0,onClick:()=>{C(e)}},eN(a=t("domain.ssl.notSet"))?a:{default:()=>[a]})}},{title:t("domain.columns.actions"),key:"actions",align:"right",width:260,render:e=>{let a,l,i,n;return(0,s.Wm)(c.Z,{inline:!0},{default:()=>[(0,s.Wm)(d.ZP,{type:"primary",text:!0,onClick:()=>{j(e)}},eN(a=t("domain.actions.dnsRecord"))?a:{default:()=>[a]}),(0,s.Wm)(d.ZP,{type:"primary",text:!0,onClick:()=>{D(e)}},eN(l=t("common.actions.edit"))?l:{default:()=>[l]}),(0,s.Wm)(d.ZP,{type:"primary",text:!0,disabled:1===e.default,onClick:()=>{q(e)}},eN(i=t("domain.actions.setDefault"))?i:{default:()=>[i]}),(0,s.Wm)(d.ZP,{type:"error",text:!0,onClick:()=>{T(e)}},eN(n=t("common.actions.delete"))?n:{default:()=>[n]})]})}}]),[x,U]=(0,p.d)({component:R,state:{isEdit:!1,refresh:b}}),k=()=>{U.setState({row:null,isEdit:!1}),U.open()},[z,W]=(0,p.d)({component:ed,state:{refresh:b}}),C=e=>{W.setState({row:e}),W.open()},[H,$]=(0,p.d)({component:ej,state:{refresh:b}}),j=e=>{$.setState({row:e}),$.open()},q=e=>{(0,m.iG)({title:t("domain.setDefault.title",{domain:e.domain}),content:t("domain.setDefault.confirm"),onConfirm:async()=>{await (0,f.xh)({domain:e.domain}),b()}})},D=e=>{y.push({name:"EditDomain",params:{domain:e.domain}})},[B,P]=(0,p.d)({component:eJ}),F=e=>{P.setState({row:e}),P.open()},T=e=>{(0,m.iG)({title:t("domain.delete.title"),content:t("domain.delete.confirm",{domain:e.domain}),confirmText:t("common.actions.delete"),confirmType:"error",onConfirm:async()=>{await (0,f.dj)({domain:e.domain}),b()}})},M=(0,s.iH)("");return(0,s.bv)(()=>{M.value=g.query.init,"init-domain"===M.value&&k()}),(e,u)=>{let c=r.Z,m=o.Z,p=n.Z,v=i.Z,f=l.Z;return(0,s.wg)(),(0,s.iD)("div",eG,[(0,s._)("div",eE,(0,s.zw)((0,s.SU)(t)("layout.menu.domain")),1),(0,s.Wm)(f,null,{toolsLeft:(0,s.w5)(()=>[(0,s.Wm)((0,s.SU)(d.ZP),{type:"primary",onClick:k},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(t)("domain.addDomain")),1)]),_:1}),(0,s.Wm)(c,{href:"https://www.billionmail.com/start/domain.html",text:(0,s.SU)(t)("domain.help")},null,8,["text"])]),table:(0,s.w5)(()=>[(0,s.Wm)(p,{loading:(0,s.SU)(h),columns:(0,s.SU)(S),data:(0,s.SU)(_)},{empty:(0,s.w5)(()=>[(0,s.Wm)(m)]),_:1},8,["loading","columns","data"])]),pageRight:(0,s.w5)(()=>[(0,s.Wm)(v,{page:(0,s.SU)(a).page,"onUpdate:page":u[0]||(u[0]=e=>(0,s.SU)(a).page=e),"page-size":(0,s.SU)(a).page_size,"onUpdate:pageSize":u[1]||(u[1]=e=>(0,s.SU)(a).page_size=e),"item-count":(0,s.SU)(w),onRefresh:(0,s.SU)(b)},null,8,["page","page-size","item-count","onRefresh"])]),modal:(0,s.w5)(()=>[(0,s.Wm)((0,s.SU)(x)),(0,s.Wm)((0,s.SU)(z)),(0,s.Wm)((0,s.SU)(H)),(0,s.Wm)((0,s.SU)(B))]),_:1})])}}}),eX=(0,A.default)(eQ,[["__scopeId","data-v-2c3e8a15"]])}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/6480.b98167d9.js b/core/public/dist/static/js/async/6480.b98167d9.jsnew file mode 100644index 00000000..8c408955--- /dev/null+++ b/core/public/dist/static/js/async/6480.b98167d9.js@@ -0,0 +1,32 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["6480"],{65977:function(e,t,l){l.d(t,{Z:()=>i});var a=l(58786);let i=(0,a.aZ)({name:"Add",render:()=>(0,a.h)("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))})},20099:function(e,t,l){l.d(t,{Z:()=>s});var a=l(58786),i=l(97756);let n=Object.assign(Object.assign({},l(56946).Z.props),{trigger:String,xScrollable:Boolean,onScroll:Function,contentClass:String,contentStyle:[Object,String],size:Number,yPlacement:{type:String,default:"right"},xPlacement:{type:String,default:"bottom"}}),s=(0,a.aZ)({name:"Scrollbar",props:n,setup(){let e=(0,a.iH)(null);return Object.assign(Object.assign({},{scrollTo:(...t)=>{var l;null==(l=e.value)||l.scrollTo(t[0],t[1])},scrollBy:(...t)=>{var l;null==(l=e.value)||l.scrollBy(t[0],t[1])}}),{scrollbarInstRef:e})},render(){return(0,a.h)(i.Z,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}})},54538:function(e,t,l){l.d(t,{DP:()=>w,Ew:()=>u,I5:()=>p,JI:()=>m,L3:()=>c,Nh:()=>y,UY:()=>g,WJ:()=>f,nn:()=>_});var a=l(76882),i=l(34541),n=l(58786);let{t:s}=a.Z.global,r={fetchOptions:{loading:s("template.ai.loading.message"),successMessage:!0}};async function o(e,t){try{await i.e.post("/email_template/create",{temp_name:t,add_type:2,chat_id:e,html_content:""})}catch(e){throw console.warn(e),e}}async function c(e){await d(e),await v(e)}async function u(e){try{let t=`AI_temp_${new Date().getTime()}`,l=await i.e.post("/askai/chat/create_chat",{domain:e,add_type:99,temp_name:t},r);return await o(l.chatId,t),l.chatId}catch(e){return console.warn(e),null}}async function d(e){let{modelList:t,currentModel:l,currentModelTitle:a}=e;try{t.value=await i.e.post("/askai/supplier/models"),t.value.length&&(l.value=t.value[0],a.value=t.value[0].title)}catch(e){console.warn(e)}}async function v(e){let{chatId:t,chatInfo:l,currentModel:a,modelList:n,currentModelTitle:s,chatRecord:r,usageRecord:o}=e;try{if(l.value=await i.e.post("/askai/chat/info",{chatId:t.value}),l.value.modelId&&n.value.length){let e=n.value.find(e=>e.modelId==l.value.modelId);e&&(a.value=e,s.value=e.title)}for(let e=0;e<l.value.messages.length;e++){let t=`${l.value.messages[e].content}_+_${r.value.size}`;"user"==l.value.messages[e].role&&(r.value.set(t,h(l.value.messages[e+1].content)),o.value.set(t,l.value.messages[e+1].usage))}}catch(e){console.warn(e)}}async function p(e){let{chatId:t,isChat:l}=e;try{await i.e.post("/askai/chat/stop",{chatId:t.value},r),l.value=!1}catch(e){console.warn(e)}}async function f(e,t){let{scrollable:l,generateShow:a,chatId:r,currentModel:o,questionContent:c,chatRecord:u,currentChatRecordKey:d,scrollWrapperRef:v,chatScrollRef:p,isChat:f,usageRecord:m,useSpinTax:g,spinTaxLength:w}=e;if(f.value||!c.value||t&&function(e,t){if(e.shiftKey&&"Enter"===e.key){e.preventDefault();let l=e.target,a=l.selectionStart,i=l.selectionEnd;return t.value=t.value.substring(0,a)+"\n"+t.value.substring(i),l.selectionStart=l.selectionEnd=a+1,!0}}(t,c))return;let _=`${c.value}_+_${u.value.size}`;u.value.set(_,[]),d.value=_;let b=c.value;c.value="";let S=[],k="",x=0;g.value&&(b+=` ${s("template.ai.spintax.instruction",{count:w.value})}`);try{l.value=!0,a.value=!0,f.value=!0,(0,n.Y3)(()=>p.value.scrollTo({left:0,top:v.value.offsetHeight})),await i.e.post("/askai/chat/chat",{chatId:r.value,supplierName:o.value.supplierName,modelId:o.value.modelId,content:b,is_text:"false"},{fetchOptions:{cancelResInterceptor:!0},responseType:"text",onDownloadProgress:e=>{a.value=!1;try{let a=e.event.target.responseText,i=a.slice(x);x=a.length;var t=function(e){let t=e.split("\n"),l=[];for(let e of t){let t=e.trim();if(t.startsWith("data:")){let e=t.slice(5).trim();e&&l.push(e)}}return l}(i);for(let e=0;e<t.length;e++)t[e]&&(k+=JSON.parse(t[e]).content);u.value.set(_,h(k)),l.value&&setTimeout(()=>p.value.scrollTo({left:0,top:v.value.offsetHeight}),200)}catch(e){console.warn(e)}}}),l.value=!0,p.value.scrollTo({left:0,top:v.value.offsetHeight}),f.value=!1,y(e,e=>{m.value.set(_,e)})}catch(e){console.warn(e)}finally{a.value=!1,k="",x=0}}function h(e){let t=/```[\s\S]*?(?:```|$)/g,l=e.match(t)||[],a=e.split(t),i=[],n=Math.max(a.length,l.length);for(let e=0;e<n;e++)e<a.length&&""!==a[e].trim()&&i.push(a[e]),e<l.length&&i.push(l[e]);return i}function m(e){return e.replace(/```html/g,"").replace(/```$/gm,"")}function g(e){return e.replace(/<<<<<<<\s+SEARCH[\s\S]*?=======([\s\S]*?)>>>>>>>\s+REPLACE/g,"$1")}function w(e){let t=e.match(/<title>(.*?)<\/title>/i);return t?t[1]:""}async function y(e,t){let{chatId:l,previewCode:a,previewTit:n}=e;try{let e=await i.e.post("/askai/chat/get_html",{chatId:l.value});a.value=e.html_content,n.value=w(a.value),t&&t(e.last_usage)}catch(e){console.warn(e)}}async function _(e){let{previewCode:t,chatId:l}=e;try{await i.e.post("/askai/chat/modify_html",{chatId:l.value,content:t.value},r),y(e)}catch(e){console.warn(e)}}},88253:function(e,t,l){l.d(t,{Z:()=>r});var a=l(60579),i=l(58786),n=l(6768);let s=(0,i.aZ)({__name:"index",props:(0,i.Vf)({language:{type:String,default:"html"},theme:{type:String,default:"vs-dark"},options:{type:Object,default:()=>({})}},{value:{default:""},valueModifiers:{}}),emits:(0,i.Vf)(["save"],["update:value"]),setup(e,t){let{expose:l,emit:s}=t,r=(0,i.tT)(e,"value"),o=(0,i.iH)(null),c=null,u=(0,i.iH)(!1);n.Z.config({paths:{vs:`${location.origin}/static/plugin/monaco`}});let d=async()=>{if(o.value&&!c)try{u.value=!0;let t=await n.Z.init();(c=t.editor.create(o.value,{value:r.value,language:e.language,theme:e.theme,minimap:{enabled:!1},automaticLayout:!0,scrollBeyondLastLine:!1,fontSize:14,tabSize:2,wordWrap:"on",...e.options})).onDidChangeModelContent(()=>{r.value=(null==c?void 0:c.getValue())||""}),c.addCommand(t.KeyMod.CtrlCmd|t.KeyCode.KeyS,function(){s("save")})}finally{u.value=!1}},v=()=>{c&&(c.dispose(),c=null)};return(0,i.YP)(()=>r.value,e=>{c&&e!==c.getValue()&&c.setValue(e)}),(0,i.bv)(()=>{d()}),(0,i.Jd)(()=>{v()}),l({getEditor:()=>c}),(e,t)=>{let l=a.Z;return(0,i.wg)(),(0,i.j4)(l,{class:"h-full",show:(0,i.SU)(u)},{default:(0,i.w5)(()=>[(0,i._)("div",{ref_key:"containerRef",ref:o,class:"monaco-editor-container"},null,512)]),_:1},8,["show"])}}}),r=(0,l(41748).default)(s,[["__scopeId","data-v-72ffe419"]])},20488:function(e,t,l){l.r(t),l.d(t,{default:()=>eg});var a=l(58786),i=l(54470),n=l(27046),s=l(51048),r=l(88701),o=l(71309);let c="0!important",u="-1px!important";function d(e){return(0,o.cM)(`${e}-type`,[(0,o.c)("& +",[(0,o.cB)("button",{},[(0,o.cM)(`${e}-type`,[(0,o.cE)("border",{borderLeftWidth:c}),(0,o.cE)("state-border",{left:u})])])])])}function v(e){return(0,o.cM)(`${e}-type`,[(0,o.c)("& +",[(0,o.cB)("button",[(0,o.cM)(`${e}-type`,[(0,o.cE)("border",{borderTopWidth:c}),(0,o.cE)("state-border",{top:u})])])])])}let p=(0,o.cB)("button-group",`+ flex-wrap: nowrap;+ display: inline-flex;+ position: relative;+`,[(0,o.u4)("vertical",{flexDirection:"row"},[(0,o.u4)("rtl",[(0,o.cB)("button",[(0,o.c)("&:first-child:not(:last-child)",`+ margin-right: ${c};+ border-top-right-radius: ${c};+ border-bottom-right-radius: ${c};+ `),(0,o.c)("&:last-child:not(:first-child)",`+ margin-left: ${c};+ border-top-left-radius: ${c};+ border-bottom-left-radius: ${c};+ `),(0,o.c)("&:not(:first-child):not(:last-child)",`+ margin-left: ${c};+ margin-right: ${c};+ border-radius: ${c};+ `),d("default"),(0,o.cM)("ghost",[d("primary"),d("info"),d("success"),d("warning"),d("error")])])])]),(0,o.cM)("vertical",{flexDirection:"column"},[(0,o.cB)("button",[(0,o.c)("&:first-child:not(:last-child)",`+ margin-bottom: ${c};+ margin-left: ${c};+ margin-right: ${c};+ border-bottom-left-radius: ${c};+ border-bottom-right-radius: ${c};+ `),(0,o.c)("&:last-child:not(:first-child)",`+ margin-top: ${c};+ margin-left: ${c};+ margin-right: ${c};+ border-top-left-radius: ${c};+ border-top-right-radius: ${c};+ `),(0,o.c)("&:not(:first-child):not(:last-child)",`+ margin: ${c};+ border-radius: ${c};+ `),v("default"),(0,o.cM)("ghost",[v("primary"),v("info"),v("success"),v("warning"),v("error")])])])]),f=(0,a.aZ)({name:"ButtonGroup",props:{size:{type:String,default:void 0},vertical:Boolean},setup(e){let{mergedClsPrefixRef:t,mergedRtlRef:l}=(0,i.ZP)(e);return(0,n.Z)("-button-group",p,t),(0,a.JJ)(r.J,e),{rtlEnabled:(0,s.V)("ButtonGroup",l,t),mergedClsPrefix:t}},render(){let{mergedClsPrefix:e}=this;return(0,a.h)("div",{class:[`${e}-button-group`,this.rtlEnabled&&`${e}-button-group--rtl`,this.vertical&&`${e}-button-group--vertical`],role:"group"},this.$slots)}});var h=l(15496),m=l(29283),g=l(23685),w=l(8490),y=l(73084),_=l(57869),b=l(20099),S=l(49942),k=l(31708),x=l(54538),$=l(64919),U=l(41982),H=l(94821);let I={key:0,class:"code-area"},Z={class:"code-tool"},z={class:"tools"},D=["innerHTML"],C=["innerHTML"],M=(0,a.aZ)({__name:"MarkdownRender",props:{content:{},chatRecordKey:{}},emits:["codeRender"],setup(e,t){let{emit:l}=t,{copy:i,copied:n}=(0,H.VPI)(),s=(0,a.f3)("modelStore"),{currentChatRecordKey:r,previewCode:o}=s,c=(0,a.iH)(),u=(0,a.iH)(""),d=(0,a.iH)(""),v=(0,$.Z)({html:!0,linkify:!0,typographer:!0,langPrefix:"language-",highlight:function(e,t){if(u.value=t,t&&U.Z.getLanguage(t))try{return U.Z.highlight(t,e).value}catch{}return v.utils.escapeHtml(e)}});function p(){r.value=e.chatRecordKey,(0,a.Y3)(()=>o.value=(0,x.JI)(e.content))}function f(){i(e.content)}return d.value=v.render((0,x.UY)(e.content)),(0,a.YP)(()=>e.content,t=>{d.value=v.render(t),u.value&&l("codeRender",{code:e.content,key:e.chatRecordKey})},{immediate:!0}),(e,t)=>((0,a.wg)(),(0,a.iD)("div",null,[(0,a.SU)(u)?((0,a.wg)(),(0,a.iD)("div",I,[(0,a._)("div",Z,[(0,a._)("span",null,(0,a.zw)((0,a.SU)(u)),1),(0,a._)("div",z,[(0,a._)("div",{class:"tool-item",onClick:f},[t[1]||(t[1]=(0,a._)("i",{class:"i-material-symbols:chrome-restore-rounded text-5"},null,-1)),(0,a._)("span",null,(0,a.zw)((0,a.SU)(n)?e.$t("template.ai.buttons.copied"):e.$t("template.ai.buttons.copy")),1)]),(0,a._)("div",{class:"tool-item",onClick:p},[t[2]||(t[2]=(0,a._)("i",{class:"i-mingcute:eye-2-fill text-5"},null,-1)),(0,a._)("span",null,(0,a.zw)(e.$t("template.ai.buttons.view")),1)]),(0,a._)("div",{class:"tool-item",onClick:t[0]||(t[0]=e=>(0,a.SU)(x.nn)((0,a.SU)(s)))},[t[3]||(t[3]=(0,a._)("i",{class:"i-ic:baseline-save text-5"},null,-1)),(0,a._)("span",null,(0,a.zw)(e.$t("template.ai.buttons.apply")),1)])])]),(0,a._)("div",{innerHTML:(0,a.SU)(d)},null,8,D)])):((0,a.wg)(),(0,a.iD)("div",{key:1,ref_key:"codeRef",ref:c,innerHTML:(0,a.SU)(d)},null,8,C))]))}});var W=l(41748);let T=(0,W.default)(M,[["__scopeId","data-v-92f782a0"]]);var j=l(88253),R=l(65965);let L={class:"wrapper"},P={class:"page-tit"},E={class:"tit-content"},J={class:"ai-container"},B={class:"chat-area"},q={key:0,class:"answer-container"},Y={class:"ask-content"},K={class:"text"},O={class:"ask-content"},N={class:"text"},V={class:"answer-content"},A={class:"pic"},G={class:"text-4 text-[var(--color-primary-hover-1)]"},F={class:"text"},Q={class:"answer-tool"},X=["onClick"],ee={class:"tool-item"},et={key:0,class:"flex justify-start items-center gap-2.5"},el={class:"fw-bold"},ea={class:"question"},ei={class:"question-tools"},en={class:"flex justify-start gap-10px"},es={class:"flex justify-start items-center"},er={class:"send-btn"},eo={class:"view-area"},ec={style:{height:"calc(100vh - 165px)"}},eu={class:"h-10 flex justify-between items-center gap-2.5 mb-5"},ed={class:"flex justify-start items-center gap-2.5"},ev={key:0},ep={class:"text-4 fw-bold"},ef=["innerHTML"],eh=["srcdoc"],em=(0,a.aZ)({__name:"index",setup(e){let t=(0,k.s6)(),l=(0,R.tv)(),i=function(){let e=(0,a.iH)([]),t=(0,a.iH)(""),l=(0,a.iH)(""),i=(0,a.iH)(""),n=(0,a.iH)({domain:"",chatId:"",create_time:0,files:[],messages:[],modelId:"",prompt:"",supplierName:"",title:"",update_time:0}),s=(0,a.iH)(""),r=(0,a.iH)([]),o=(0,a.iH)({modelId:"",supplierName:"",capability:[],title:"",status:!1,max_tokens:0}),c=(0,a.iH)(""),u=(0,a.iH)([]),d=(0,a.iH)(""),v=(0,a.iH)(!1),p=(0,a.iH)(new Map),f=(0,a.iH)(new Map),h=(0,a.iH)(!1),m=(0,a.iH)(),g=(0,a.iH)(),w=(0,a.iH)(!0),y=(0,a.iH)("");return{domainList:e,sourceDomain:t,chatId:l,questionContent:i,chatInfo:n,currentChatRecordKey:s,modelList:r,currentModel:o,currentModelTitle:c,answerContent:u,previewCode:d,generateShow:v,chatRecord:p,usageRecord:f,isChat:h,chatScrollRef:m,scrollWrapperRef:g,scrollable:w,previewTit:y,useSpinTax:(0,a.iH)(!1),spinTaxLength:(0,a.iH)(50)}}();(0,a.JJ)("modelStore",i);let{chatId:n,modelList:s,currentModelTitle:r,previewCode:o,questionContent:c,chatRecord:u,currentChatRecordKey:d,currentModel:v,isChat:p,chatScrollRef:$,scrollWrapperRef:U,scrollable:H,chatInfo:I,previewTit:Z,usageRecord:z,useSpinTax:D,spinTaxLength:C}=i,M=(0,R.yj)(),W=(0,a.iH)("view");function em(e,t){v.value=t}function eg(e){e.key==d.value&&(o.value=(0,x.UY)((0,x.JI)(e.code)),Z.value=(0,x.DP)(o.value))}function ew(e){e.deltaY<0&&(H.value=!1)}async function ey(){await (0,x.nn)(i),t.temp_subject=Z.value,l.push({path:"/market/task/edit",query:{chat_id:I.value.chatId}})}return n.value=M.params.chatId,(0,x.Nh)(i),(0,x.L3)(i),(0,a.bv)(()=>{!function e(t){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=t||null,i=l;if(!(i>=6)){if(a&&(clearTimeout(t),a=null),U.value.offsetHeight){$.value.scrollTo({left:0,top:U.value.offsetHeight}),i++;return}i++,a=setTimeout(()=>{e(a,i)},100)}}()}),(e,t)=>{let l=S.ZP,n=b.Z,d=_.ZP,v=y.Z,k=w.Z,H=g.Z,M=m.Z,R=h.ZP;return(0,a.wg)(),(0,a.iD)("div",L,[(0,a._)("div",P,[(0,a._)("span",E,(0,a.zw)(e.$t("template.ai.title")),1)]),(0,a._)("div",J,[(0,a._)("div",B,[(0,a._)("div",{ref:"answerRef",class:"answer",onWheel:ew},[(0,a.Wm)(d,{class:"h-100%"},{default:(0,a.w5)(()=>[(0,a.Wm)(n,{ref_key:"chatScrollRef",ref:$,style:{height:"calc(100vh - 415px)"}},{default:(0,a.w5)(()=>[0==(0,a.SU)(u).size?((0,a.wg)(),(0,a.iD)("div",q,[(0,a._)("div",Y,[t[11]||(t[11]=(0,a._)("div",{class:"pic"},[(0,a._)("i",{class:"i-material-symbols:account-circle text-6 text-[var(--color-primary-hover-1)]"})],-1)),(0,a._)("div",K,(0,a.zw)(e.$t("template.ai.greeting")),1)])])):(0,a.kq)("",!0),(0,a._)("div",{ref_key:"scrollWrapperRef",ref:U},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,a.SU)(u),n=>((0,a.wg)(),(0,a.iD)("div",{key:n[0],class:"answer-container"},[(0,a._)("div",O,[t[12]||(t[12]=(0,a._)("div",{class:"pic"},[(0,a._)("i",{class:"i-material-symbols:account-circle text-6 text-[var(--color-primary-hover-1)]"})],-1)),(0,a._)("div",N,(0,a.zw)(n[0].split("_+_")[0]),1)]),(0,a._)("div",V,[(0,a._)("div",A,[(0,a._)("span",G,(0,a.zw)(e.$t("template.ai.brandName")),1)]),(0,a._)("div",F,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(n[1],(e,t)=>((0,a.wg)(),(0,a.j4)(T,{key:t,content:(0,a.SU)(x.UY)(e),"chat-record-key":n[0],class:"mb-4",onCodeRender:eg},null,8,["content","chat-record-key"]))),128))]),(0,a._)("div",Q,[(0,a._)("div",{class:"tool-item",onClick:e=>{c.value=n[0].toString().split("_+_")[0],(0,x.WJ)(i)}},[t[13]||(t[13]=(0,a._)("i",{class:"i-ri:refresh-line text-5"},null,-1)),(0,a._)("span",null,(0,a.zw)(e.$t("template.ai.buttons.regenerate")),1)],8,X),(0,a.Wm)(l,{trigger:"hover"},{trigger:(0,a.w5)(()=>[(0,a._)("div",ee,[t[14]||(t[14]=(0,a._)("i",{class:"i-ri:information-2-fill text-5"},null,-1)),(0,a._)("span",null,(0,a.zw)(e.$t("template.ai.buttons.info")),1)])]),default:(0,a.w5)(()=>[(0,a.SU)(z).get(n[0])?((0,a.wg)(),(0,a.iD)("div",et,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,a.SU)(z).get(n[0]),(e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t},[(0,a._)("span",el,(0,a.zw)(t)+": ",1),(0,a._)("span",null,(0,a.zw)(e),1)]))),128))])):(0,a.kq)("",!0)]),_:2},1024)])])]))),128))],512)]),_:1},512)]),_:1})],544),(0,a._)("div",ea,[(0,a.Wm)(d,{style:{height:"100%"}},{default:(0,a.w5)(()=>[(0,a.Wm)(v,{value:(0,a.SU)(c),"onUpdate:value":t[0]||(t[0]=e=>(0,a.dq)(c)?c.value=e:null),type:"textarea",placeholder:e.$t("template.ai.welcomeMessage",{domain:(0,a.SU)(I).domain}),class:"question-input",onKeydown:t[1]||(t[1]=(0,a.D2)(e=>(0,a.SU)(x.WJ)((0,a.SU)(i),e),["enter"]))},null,8,["value","placeholder"]),(0,a._)("div",ei,[(0,a._)("div",en,[(0,a.Wm)(k,{value:(0,a.SU)(r),"onUpdate:value":[t[2]||(t[2]=e=>(0,a.dq)(r)?r.value=e:null),em],options:(0,a.SU)(s),"label-field":"title","value-field":"title"},null,8,["value","options"]),(0,a._)("div",es,[(0,a.Wm)(H,{checked:(0,a.SU)(D),"onUpdate:checked":t[3]||(t[3]=e=>(0,a.dq)(D)?D.value=e:null),style:{"flex-shrink":"0"}},{default:(0,a.w5)(()=>t[15]||(t[15]=[(0,a.Uk)(" Spintax ")])),_:1,__:[15]},8,["checked"]),(0,a.Wm)(M,{value:(0,a.SU)(C),"onUpdate:value":t[4]||(t[4]=e=>(0,a.dq)(C)?C.value=e:null),placeholder:"",class:"w-50px","show-button":!1,style:{"flex-shrink":"0"},disabled:!(0,a.SU)(D)},null,8,["value","disabled"])])]),(0,a._)("div",er,[(0,a.SU)(p)?((0,a.wg)(),(0,a.iD)("i",{key:1,class:"i-svg-spinners:pulse-2 text-8 text-[var(--color-primary-1)] hover-text-[var(--color-primary-hover-1)]",onClick:t[6]||(t[6]=e=>(0,a.SU)(x.I5)((0,a.SU)(i)))})):((0,a.wg)(),(0,a.iD)("i",{key:0,class:"i-icon-park-twotone:arrow-circle-up text-8 text-[var(--color-primary-1)] hover-text-[var(--color-primary-hover-1)]",onClick:t[5]||(t[5]=e=>(0,a.SU)(x.WJ)((0,a.SU)(i)))}))])])]),_:1})])]),(0,a._)("div",eo,[(0,a.Wm)(d,{style:{height:"100%"}},{default:(0,a.w5)(()=>[(0,a._)("div",ec,[(0,a._)("div",eu,[(0,a._)("div",ed,[(0,a.Wm)(f,{size:"small"},{default:(0,a.w5)(()=>[(0,a.Wm)(R,{type:"view"==(0,a.SU)(W)?"primary":"default",onClick:t[7]||(t[7]=e=>W.value="view")},{icon:(0,a.w5)(()=>t[16]||(t[16]=[(0,a._)("i",{class:"i-mingcute:eye-2-fill text-5"},null,-1)])),default:(0,a.w5)(()=>[(0,a.Uk)(" "+(0,a.zw)(e.$t("template.ai.buttons.view")),1)]),_:1},8,["type"]),(0,a.Wm)(R,{type:"edit"==(0,a.SU)(W)?"primary":"default",onClick:t[8]||(t[8]=e=>W.value="edit")},{icon:(0,a.w5)(()=>t[17]||(t[17]=[(0,a._)("i",{class:"i-tdesign:code text-5"},null,-1)])),default:(0,a.w5)(()=>[(0,a.Uk)(" "+(0,a.zw)(e.$t("template.ai.buttons.edit")),1)]),_:1},8,["type"])]),_:1}),"edit"==(0,a.SU)(W)?((0,a.wg)(),(0,a.iD)("span",ev,(0,a.zw)(e.$t("template.ai.tips.saveShortcut")),1)):(0,a.kq)("",!0)]),(0,a._)("span",ep,(0,a.zw)((0,a.SU)(Z)),1),(0,a.Wm)(R,{style:{width:"134px"},type:"primary",disabled:!(0,a.SU)(o),onClick:ey},{icon:(0,a.w5)(()=>t[18]||(t[18]=[(0,a._)("i",{class:"i-mingcute:mail-send-fill"},null,-1)])),default:(0,a.w5)(()=>[(0,a.Uk)(" "+(0,a.zw)(e.$t("template.ai.send")),1)]),_:1},8,["disabled"])]),(0,a.Wm)(n,{style:{height:"calc(100% - 40px)"}},{default:(0,a.w5)(()=>["view"==(0,a.SU)(W)&&(0,a.SU)(p)?((0,a.wg)(),(0,a.iD)("div",{key:0,innerHTML:(0,a.SU)(o)},null,8,ef)):"view"!=(0,a.SU)(W)||(0,a.SU)(p)?((0,a.wg)(),(0,a.j4)(j.Z,{key:2,value:(0,a.SU)(o),"onUpdate:value":t[9]||(t[9]=e=>(0,a.dq)(o)?o.value=e:null),style:{height:"calc(100vh - 217px)"},onSave:t[10]||(t[10]=e=>(0,a.SU)(x.nn)((0,a.SU)(i)))},null,8,["value"])):((0,a.wg)(),(0,a.iD)("iframe",{key:1,srcdoc:(0,a.SU)(o),frameborder:"0",class:"w-100%",style:{height:"calc(100vh - 224px)"}},null,8,eh))]),_:1})])]),_:1})])])])}}}),eg=(0,W.default)(em,[["__scopeId","data-v-9630b932"]])}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/6569.e5b08afa.js b/core/public/dist/static/js/async/6569.e5b08afa.jsdeleted file mode 100644index 495ff685..00000000--- a/core/public/dist/static/js/async/6569.e5b08afa.js+++ /dev/null@@ -1,108 +0,0 @@-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["6569"],{65977:function(e,r,t){t.d(r,{Z:()=>l});var o=t(58786);let l=(0,o.aZ)({name:"Add",render:()=>(0,o.h)("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))})},6445:function(e,r,t){t.d(r,{z:()=>o});function o(e,r="default",t=[]){let l=e.$slots[r];return void 0===l?t:l()}},90340:function(e,r,t){t.d(r,{Z:()=>v});var o=t(58786),l=t(77565),i=t(56946),n=t(54470),a=t(53198),s=t(51048),d=t(24286),c=t(74482);let p=(0,t(71309).cB)("collapse-transition",{width:"100%"},[(0,c.Y)()]),u=Object.assign(Object.assign({},i.Z.props),{show:{type:Boolean,default:!0},appear:Boolean,collapsed:{type:Boolean,default:void 0}}),v=(0,o.aZ)({name:"CollapseTransition",props:u,inheritAttrs:!1,setup(e){let{mergedClsPrefixRef:r,inlineThemeDisabled:t,mergedRtlRef:l}=(0,n.ZP)(e),c=(0,i.Z)("CollapseTransition","-collapse-transition",p,d.Z,e,r),u=(0,s.V)("CollapseTransition",l,r),v=(0,o.Fl)(()=>void 0!==e.collapsed?e.collapsed:e.show),h=(0,o.Fl)(()=>{let{self:{bezier:e}}=c.value;return{"--n-bezier":e}}),b=t?(0,a.F)("collapse-transition",void 0,h,e):void 0;return{rtlEnabled:u,mergedShow:v,mergedClsPrefix:r,cssVars:t?void 0:h,themeClass:null==b?void 0:b.themeClass,onRender:null==b?void 0:b.onRender}},render(){return(0,o.h)(l.Z,{appear:this.appear},{default:()=>{var e;if(this.mergedShow)return null==(e=this.onRender)||e.call(this),(0,o.h)("div",(0,o.dG)({class:[`${this.mergedClsPrefix}-collapse-transition`,this.rtlEnabled&&`${this.mergedClsPrefix}-collapse-transition--rtl`,this.themeClass],style:this.cssVars},this.$attrs),this.$slots)}})}})},35409:function(e,r,t){t.d(r,{HX:()=>d,Ox:()=>c,ZP:()=>u,uv:()=>p});var o=t(58786),l=t(56946),i=t(54470),n=t(50144),a=t(38461),s=t(64170);function d(e){return`${e}-ellipsis--line-clamp`}function c(e,r){return`${e}-ellipsis--cursor-${r}`}let p=Object.assign(Object.assign({},l.Z.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),u=(0,o.aZ)({name:"Ellipsis",inheritAttrs:!1,props:p,slots:Object,setup(e,{slots:r,attrs:t}){let n=(0,i.hJ)(),p=(0,l.Z)("Ellipsis","-ellipsis",s.Z,a.Z,e,n),u=(0,o.iH)(null),v=(0,o.iH)(null),h=(0,o.iH)(null),b=(0,o.iH)(!1),f=(0,o.Fl)(()=>{let{lineClamp:r}=e,{value:t}=b;return void 0!==r?{textOverflow:"","-webkit-line-clamp":t?"":r}:{textOverflow:t?"":"ellipsis","-webkit-line-clamp":""}});function g(){let r=!1,{value:t}=b;if(t)return!0;let{value:o}=u;if(o){let{lineClamp:t}=e;if(function(r){if(!r)return;let t=f.value,o=d(n.value);for(let l in void 0!==e.lineClamp?y(r,o,"add"):y(r,o,"remove"),t)r.style[l]!==t[l]&&(r.style[l]=t[l])}(o),void 0!==t)r=o.scrollHeight<=o.offsetHeight;else{let{value:e}=v;e&&(r=e.getBoundingClientRect().width<=o.getBoundingClientRect().width)}var l=o,i=r;let a=c(n.value,"pointer");"click"!==e.expandTrigger||i?y(l,a,"remove"):y(l,a,"add")}return r}let m=(0,o.Fl)(()=>"click"===e.expandTrigger?()=>{var e;let{value:r}=b;r&&(null==(e=h.value)||e.setShow(!1)),b.value=!r}:void 0);function y(e,r,t){"add"===t?e.classList.contains(r)||e.classList.add(r):e.classList.contains(r)&&e.classList.remove(r)}return(0,o.se)(()=>{var r;e.tooltip&&(null==(r=h.value)||r.setShow(!1))}),{mergedTheme:p,triggerRef:u,triggerInnerRef:v,tooltipRef:h,handleClick:m,renderTrigger:()=>(0,o.h)("span",Object.assign({},(0,o.dG)(t,{class:[`${n.value}-ellipsis`,void 0!==e.lineClamp?d(n.value):void 0,"click"===e.expandTrigger?c(n.value,"pointer"):void 0],style:f.value}),{ref:"triggerRef",onClick:m.value,onMouseenter:"click"===e.expandTrigger?g:void 0}),e.lineClamp?r:(0,o.h)("span",{ref:"triggerInnerRef"},r)),getTooltipDisabled:g}},render(){var e;let{tooltip:r,renderTrigger:t,$slots:l}=this;if(!r)return t();{let{mergedTheme:i}=this;return(0,o.h)(n.Z,Object.assign({ref:"tooltipRef",placement:"top"},r,{getDisabled:this.getTooltipDisabled,theme:i.peers.Tooltip,themeOverrides:i.peerOverrides.Tooltip}),{trigger:t,default:null!=(e=l.tooltip)?e:l.default})}}})},64170:function(e,r,t){t.d(r,{Z:()=>l});var o=t(71309);let l=(0,o.cB)("ellipsis",{overflow:"hidden"},[(0,o.u4)("line-clamp",`- white-space: nowrap;- display: inline-block;- vertical-align: bottom;- max-width: 100%;- `),(0,o.cM)("line-clamp",`- display: -webkit-inline-box;- -webkit-box-orient: vertical;- `),(0,o.cM)("cursor-pointer",`- cursor: pointer;- `)])},37864:function(e,r,t){t.d(r,{ZP:()=>d});var o=t(58786),l=t(27987),i=t(42056),n=t(58410),a=t(6455);let s=Object.assign(Object.assign({},n.gk),a.Cn);(0,l.u)(s);let d=(0,o.aZ)({__GRID_ITEM__:!0,name:"FormItemGridItem",alias:["FormItemGi"],props:s,setup(){let e=(0,o.iH)(null);return{formItemInstRef:e,validate:(...r)=>{let{value:t}=e;if(t)return t.validate(...r)},restoreValidation:()=>{let{value:r}=e;r&&r.restoreValidation()}}},render(){return(0,o.h)(n.ZP,(0,i.C)(this.$.vnode.props||{},n.xB),{default:()=>{let e=(0,i.C)(this.$props,a.eh);return(0,o.h)(a.ZP,Object.assign({ref:"formItemInstRef"},e),this.$slots)}})}})},81833:function(e,r,t){function o(e,r){var t;if(null==e)return;let o=function(e){if("number"==typeof e)return{"":e.toString()};let r={};return e.split(/ +/).forEach(e=>{if(""===e)return;let[t,o]=e.split(":");void 0===o?r[""]=t:r[t]=o}),r}(e);if(void 0===r)return o[""];if("string"==typeof r)return null!=(t=o[r])?t:o[""];if(Array.isArray(r)){for(let e=r.length-1;e>=0;--e){let t=r[e];if(t in o)return o[t]}return o[""]}{let e,t=-1;return Object.keys(o).forEach(l=>{let i=Number(l);!Number.isNaN(i)&&r>=i&&i>=t&&(t=i,e=o[l])}),e}}t.d(r,{Z:()=>w});var l=t(76072),i=t(65083),n=t(58786),a=t(86223);let s={xs:0,s:640,m:1024,l:1280,xl:1536,"2xl":1920},d={},c=function(e=s){if(!a.j||"function"!=typeof window.matchMedia)return(0,n.Fl)(()=>[]);let r=(0,n.iH)({}),t=Object.keys(e),o=(e,t)=>{e.matches?r.value[t]=!0:r.value[t]=!1};return t.forEach(r=>{let t,l,i=e[r];if(void 0===d[i])(t=window.matchMedia(`(min-width: ${i}px)`)).addEventListener?t.addEventListener("change",e=>{l.forEach(t=>{t(e,r)})}):t.addListener&&t.addListener(e=>{l.forEach(t=>{t(e,r)})}),l=new Set,d[i]={mql:t,cbs:l};else t=d[i].mql,l=d[i].cbs;l.add(o),t.matches&&l.forEach(e=>{e(t,r)})}),(0,n.Jd)(()=>{t.forEach(r=>{let{cbs:t}=d[e[r]];t.has(o)&&t.delete(o)})}),(0,n.Fl)(()=>{let{value:e}=r;return t.filter(r=>e[r])})};var p=t(61691),u=t(70020),v=t(54470),h=t(68574),b=t(60951),f=t(6445);let g={xs:0,s:640,m:1024,l:1280,xl:1536,xxl:1920};var m=t(37507);let y="__ssr__",w=(0,n.aZ)({name:"Grid",inheritAttrs:!1,props:{layoutShiftDisabled:Boolean,responsive:{type:[String,Boolean],default:"self"},cols:{type:[Number,String],default:24},itemResponsive:Boolean,collapsed:Boolean,collapsedRows:{type:Number,default:1},itemStyle:[Object,String],xGap:{type:[Number,String],default:0},yGap:{type:[Number,String],default:0}},setup(e){let{mergedClsPrefixRef:r,mergedBreakpointsRef:t}=(0,v.ZP)(e),a=/^\d+$/,s=(0,n.iH)(void 0),d=c((null==t?void 0:t.value)||g),u=(0,p.Z)(()=>!(!e.itemResponsive&&a.test(e.cols.toString())&&a.test(e.xGap.toString())&&a.test(e.yGap.toString()))),b=(0,n.Fl)(()=>{if(u.value)return"self"===e.responsive?s.value:d.value}),f=(0,p.Z)(()=>{var r;return null!=(r=Number(o(e.cols.toString(),b.value)))?r:24}),w=(0,p.Z)(()=>o(e.xGap.toString(),b.value)),S=(0,p.Z)(()=>o(e.yGap.toString(),b.value)),x=e=>{s.value=e.contentRect.width},k=e=>{(0,l.J)(x,e)},$=(0,n.iH)(!1),C=(0,n.Fl)(()=>{if("self"===e.responsive)return k}),Z=(0,n.iH)(!1),B=(0,n.iH)();return(0,n.bv)(()=>{let{value:e}=B;e&&e.hasAttribute(y)&&(e.removeAttribute(y),Z.value=!0)}),(0,n.JJ)(m.r,{layoutShiftDisabledRef:(0,n.Vh)(e,"layoutShiftDisabled"),isSsrRef:Z,itemStyleRef:(0,n.Vh)(e,"itemStyle"),xGapRef:w,overflowRef:$}),{isSsr:!h.j,contentEl:B,mergedClsPrefix:r,style:(0,n.Fl)(()=>e.layoutShiftDisabled?{width:"100%",display:"grid",gridTemplateColumns:`repeat(${e.cols}, minmax(0, 1fr))`,columnGap:(0,i.BL)(e.xGap),rowGap:(0,i.BL)(e.yGap)}:{width:"100%",display:"grid",gridTemplateColumns:`repeat(${f.value}, minmax(0, 1fr))`,columnGap:(0,i.BL)(w.value),rowGap:(0,i.BL)(S.value)}),isResponsive:u,responsiveQuery:b,responsiveCols:f,handleResize:C,overflow:$}},render(){if(this.layoutShiftDisabled)return(0,n.h)("div",(0,n.dG)({ref:"contentEl",class:`${this.mergedClsPrefix}-grid`,style:this.style},this.$attrs),this.$slots);let e=()=>{var e,r,t,l,i,a,s;this.overflow=!1;let d=(0,b.x)((0,f.z)(this)),c=[],{collapsed:p,collapsedRows:u,responsiveCols:v,responsiveQuery:h}=this;d.forEach(e=>{var r,t,l,i,a;if((null==(r=null==e?void 0:e.type)?void 0:r.__GRID_ITEM__)!==!0)return;if(function(e){var r;let t=null==(r=e.dirs)?void 0:r.find(({dir:e})=>e===n.F8);return!!(t&&!1===t.value)}(e)){let r=(0,n.Ho)(e);r.props?r.props.privateShow=!1:r.props={privateShow:!1},c.push({child:r,rawChildSpan:0});return}e.dirs=(null==(t=e.dirs)?void 0:t.filter(({dir:e})=>e!==n.F8))||null,(null==(l=e.dirs)?void 0:l.length)===0&&(e.dirs=null);let s=(0,n.Ho)(e),d=Number(null!=(a=o(null==(i=s.props)?void 0:i.span,h))?a:m.L);0!==d&&c.push({child:s,rawChildSpan:d})});let g=0,w=null==(e=c[c.length-1])?void 0:e.child;if(null==w?void 0:w.props){let e=null==(r=w.props)?void 0:r.suffix;void 0!==e&&!1!==e&&(g=Number(null!=(l=o(null==(t=w.props)?void 0:t.span,h))?l:m.L),w.props.privateSpan=g,w.props.privateColStart=v+1-g,w.props.privateShow=null==(i=w.props.privateShow)||i)}let S=0,x=!1;for(let{child:e,rawChildSpan:r}of c){if(x&&(this.overflow=!0),!x){let t=Number(null!=(s=o(null==(a=e.props)?void 0:a.offset,h))?s:0),l=Math.min(r+t,v);if(e.props?(e.props.privateSpan=l,e.props.privateOffset=t):e.props={privateSpan:l,privateOffset:t},p){let e=S%v;l+e>v&&(S+=v-e),l+S+g>u*v?x=!0:S+=l}}x&&(e.props?!0!==e.props.privateShow&&(e.props.privateShow=!1):e.props={privateShow:!1})}return(0,n.h)("div",(0,n.dG)({ref:"contentEl",class:`${this.mergedClsPrefix}-grid`,style:this.style,[y]:this.isSsr||void 0},this.$attrs),c.map(({child:e})=>e))};return this.isResponsive&&"self"===this.responsive?(0,n.h)(u.Z,{onResize:this.handleResize},{default:e}):e()}})},58410:function(e,r,t){t.d(r,{ZP:()=>d,gk:()=>a,xB:()=>s});var o=t(65083),l=t(58786),i=t(27987),n=t(37507);let a={span:{type:[Number,String],default:1},offset:{type:[Number,String],default:0},suffix:Boolean,privateOffset:Number,privateSpan:Number,privateColStart:Number,privateShow:{type:Boolean,default:!0}},s=(0,i.u)(a),d=(0,l.aZ)({__GRID_ITEM__:!0,name:"GridItem",alias:["Gi"],props:a,setup(){let{isSsrRef:e,xGapRef:r,itemStyleRef:t,overflowRef:i,layoutShiftDisabledRef:a}=(0,l.f3)(n.r),s=(0,l.FN)();return{overflow:i,itemStyle:t,layoutShiftDisabled:a,mergedXGap:(0,l.Fl)(()=>(0,o.BL)(r.value||0)),deriveStyle:()=>{e.value;let{privateSpan:t=1,privateShow:l=!0,privateColStart:i,privateOffset:n=0}=s.vnode.props,{value:a}=r,d=(0,o.BL)(a||0);return{display:l?"":"none",gridColumn:`${null!=i?i:`span ${t}`} / span ${t}`,marginLeft:n?`calc((100% - (${t} - 1) * ${d}) / ${t} * ${n} + ${d} * ${n})`:""}}}},render(){var e,r;if(this.layoutShiftDisabled){let{span:e,offset:r,mergedXGap:t}=this;return(0,l.h)("div",{style:{gridColumn:`span ${e} / span ${e}`,marginLeft:r?`calc((100% - (${e} - 1) * ${t}) / ${e} * ${r} + ${t} * ${r})`:""}},this.$slots)}return(0,l.h)("div",{style:[this.itemStyle,this.deriveStyle()]},null==(r=(e=this.$slots).default)?void 0:r.call(e,{overflow:this.overflow}))}})},37507:function(e,r,t){t.d(r,{L:()=>l,r:()=>i});var o=t(19050);let l=1,i=(0,o.U)("n-grid")},86599:function(e,r,t){t.d(r,{Z:()=>h});var o=t(65083),l=t(17102),i=t(58786),n=t(56946),a=t(54470),s=t(68574);let d=!1;var c=t(71309);let p={name:"Skeleton",common:t(9798).Z,self:function(e){let{heightSmall:r,heightMedium:t,heightLarge:o,borderRadius:l}=e;return{color:"#eee",colorEnd:"#ddd",borderRadius:l,heightSmall:r,heightMedium:t,heightLarge:o}}},u=(0,c.c)([(0,c.cB)("skeleton",`- height: 1em;- width: 100%;- transition:- --n-color-start .3s var(--n-bezier),- --n-color-end .3s var(--n-bezier),- background-color .3s var(--n-bezier);- animation: 2s skeleton-loading infinite cubic-bezier(0.36, 0, 0.64, 1);- background-color: var(--n-color-start);- `),(0,c.c)("@keyframes skeleton-loading",`- 0% {- background: var(--n-color-start);- }- 40% {- background: var(--n-color-end);- }- 80% {- background: var(--n-color-start);- }- 100% {- background: var(--n-color-start);- }- `)]),v=Object.assign(Object.assign({},n.Z.props),{text:Boolean,round:Boolean,circle:Boolean,height:[String,Number],width:[String,Number],size:String,repeat:{type:Number,default:1},animated:{type:Boolean,default:!0},sharp:{type:Boolean,default:!0}}),h=(0,i.aZ)({name:"Skeleton",inheritAttrs:!1,props:v,setup(e){if(s.j&&window.CSS&&!d&&(d=!0,"registerProperty"in(null==window?void 0:window.CSS)))try{CSS.registerProperty({name:"--n-color-start",syntax:"<color>",inherits:!1,initialValue:"#0000"}),CSS.registerProperty({name:"--n-color-end",syntax:"<color>",inherits:!1,initialValue:"#0000"})}catch(e){}let{mergedClsPrefixRef:r}=(0,a.ZP)(e),t=(0,n.Z)("Skeleton","-skeleton",u,p,e,r);return{mergedClsPrefix:r,style:(0,i.Fl)(()=>{var r,l;let i,n=t.value,{common:{cubicBezierEaseInOut:a}}=n,s=n.self,{color:d,colorEnd:p,borderRadius:u}=s,{circle:v,sharp:h,round:b,width:f,height:g,size:m,text:y,animated:w}=e;void 0!==m&&(i=s[(0,c.Tl)("height",m)]);let S=v?null!=(r=null!=f?f:g)?r:i:f,x=null!=(l=v&&null!=f?f:g)?l:i;return{display:y?"inline-block":"",verticalAlign:y?"-0.125em":"",borderRadius:v?"50%":b?"4096px":h?"":u,width:"number"==typeof S?(0,o.BL)(S):S,height:"number"==typeof x?(0,o.BL)(x):x,animation:w?"":"none","--n-bezier":a,"--n-color-start":d,"--n-color-end":p}})}},render(){let{repeat:e,style:r,mergedClsPrefix:t,$attrs:o}=this,n=(0,i.h)("div",(0,i.dG)({class:`${t}-skeleton`,style:r},o));return e>1?(0,i.h)(i.HY,null,(0,l.rx)(e,null).map(e=>[n,"\n"])):n}})},50039:function(e,r,t){t.d(r,{Z:()=>u});var o=t(58786),l=t(56946),i=t(54470),n=t(53198),a=t(51048),s=t(71309),d=t(91078);let c=(0,s.c)([(0,s.cB)("table",`- font-size: var(--n-font-size);- font-variant-numeric: tabular-nums;- line-height: var(--n-line-height);- width: 100%;- border-radius: var(--n-border-radius) var(--n-border-radius) 0 0;- text-align: left;- border-collapse: separate;- border-spacing: 0;- overflow: hidden;- background-color: var(--n-td-color);- border-color: var(--n-merged-border-color);- transition:- background-color .3s var(--n-bezier),- border-color .3s var(--n-bezier),- color .3s var(--n-bezier);- --n-merged-border-color: var(--n-border-color);- `,[(0,s.c)("th",`- white-space: nowrap;- transition:- background-color .3s var(--n-bezier),- border-color .3s var(--n-bezier),- color .3s var(--n-bezier);- text-align: inherit;- padding: var(--n-th-padding);- vertical-align: inherit;- text-transform: none;- border: 0px solid var(--n-merged-border-color);- font-weight: var(--n-th-font-weight);- color: var(--n-th-text-color);- background-color: var(--n-th-color);- border-bottom: 1px solid var(--n-merged-border-color);- border-right: 1px solid var(--n-merged-border-color);- `,[(0,s.c)("&:last-child",`- border-right: 0px solid var(--n-merged-border-color);- `)]),(0,s.c)("td",`- transition:- background-color .3s var(--n-bezier),- border-color .3s var(--n-bezier),- color .3s var(--n-bezier);- padding: var(--n-td-padding);- color: var(--n-td-text-color);- background-color: var(--n-td-color);- border: 0px solid var(--n-merged-border-color);- border-right: 1px solid var(--n-merged-border-color);- border-bottom: 1px solid var(--n-merged-border-color);- `,[(0,s.c)("&:last-child",`- border-right: 0px solid var(--n-merged-border-color);- `)]),(0,s.cM)("bordered",`- border: 1px solid var(--n-merged-border-color);- border-radius: var(--n-border-radius);- `,[(0,s.c)("tr",[(0,s.c)("&:last-child",[(0,s.c)("td",`- border-bottom: 0 solid var(--n-merged-border-color);- `)])])]),(0,s.cM)("single-line",[(0,s.c)("th",`- border-right: 0px solid var(--n-merged-border-color);- `),(0,s.c)("td",`- border-right: 0px solid var(--n-merged-border-color);- `)]),(0,s.cM)("single-column",[(0,s.c)("tr",[(0,s.c)("&:not(:last-child)",[(0,s.c)("td",`- border-bottom: 0px solid var(--n-merged-border-color);- `)])])]),(0,s.cM)("striped",[(0,s.c)("tr:nth-of-type(even)",[(0,s.c)("td","background-color: var(--n-td-color-striped)")])]),(0,s.u4)("bottom-bordered",[(0,s.c)("tr",[(0,s.c)("&:last-child",[(0,s.c)("td",`- border-bottom: 0px solid var(--n-merged-border-color);- `)])])])]),(0,s.ko)((0,s.cB)("table",`- background-color: var(--n-td-color-modal);- --n-merged-border-color: var(--n-border-color-modal);- `,[(0,s.c)("th",`- background-color: var(--n-th-color-modal);- `),(0,s.c)("td",`- background-color: var(--n-td-color-modal);- `)])),(0,s.WW)((0,s.cB)("table",`- background-color: var(--n-td-color-popover);- --n-merged-border-color: var(--n-border-color-popover);- `,[(0,s.c)("th",`- background-color: var(--n-th-color-popover);- `),(0,s.c)("td",`- background-color: var(--n-td-color-popover);- `)]))]),p=Object.assign(Object.assign({},l.Z.props),{bordered:{type:Boolean,default:!0},bottomBordered:{type:Boolean,default:!0},singleLine:{type:Boolean,default:!0},striped:Boolean,singleColumn:Boolean,size:{type:String,default:"medium"}}),u=(0,o.aZ)({name:"Table",props:p,setup(e){let{mergedClsPrefixRef:r,inlineThemeDisabled:t,mergedRtlRef:p}=(0,i.ZP)(e),u=(0,l.Z)("Table","-table",c,d.Z,e,r),v=(0,a.V)("Table",p,r),h=(0,o.Fl)(()=>{let{size:r}=e,{self:{borderColor:t,tdColor:o,tdColorModal:l,tdColorPopover:i,thColor:n,thColorModal:a,thColorPopover:d,thTextColor:c,tdTextColor:p,borderRadius:v,thFontWeight:h,lineHeight:b,borderColorModal:f,borderColorPopover:g,tdColorStriped:m,tdColorStripedModal:y,tdColorStripedPopover:w,[(0,s.Tl)("fontSize",r)]:S,[(0,s.Tl)("tdPadding",r)]:x,[(0,s.Tl)("thPadding",r)]:k},common:{cubicBezierEaseInOut:$}}=u.value;return{"--n-bezier":$,"--n-td-color":o,"--n-td-color-modal":l,"--n-td-color-popover":i,"--n-td-text-color":p,"--n-border-color":t,"--n-border-color-modal":f,"--n-border-color-popover":g,"--n-border-radius":v,"--n-font-size":S,"--n-th-color":n,"--n-th-color-modal":a,"--n-th-color-popover":d,"--n-th-font-weight":h,"--n-th-text-color":c,"--n-line-height":b,"--n-td-padding":x,"--n-th-padding":k,"--n-td-color-striped":m,"--n-td-color-striped-modal":y,"--n-td-color-striped-popover":w}}),b=t?(0,n.F)("table",(0,o.Fl)(()=>e.size[0]),h,e):void 0;return{rtlEnabled:v,mergedClsPrefix:r,cssVars:t?void 0:h,themeClass:null==b?void 0:b.themeClass,onRender:null==b?void 0:b.onRender}},render(){var e;let{mergedClsPrefix:r}=this;return null==(e=this.onRender)||e.call(this),(0,o.h)("table",{class:[`${r}-table`,this.themeClass,{[`${r}-table--rtl`]:this.rtlEnabled,[`${r}-table--bottom-bordered`]:this.bottomBordered,[`${r}-table--bordered`]:this.bordered,[`${r}-table--single-line`]:this.singleLine,[`${r}-table--single-column`]:this.singleColumn,[`${r}-table--striped`]:this.striped}],style:this.cssVars},this.$slots)}})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/6614.a23157af.js b/core/public/dist/static/js/async/6614.a23157af.jsdeleted file mode 100644index 92e043e2..00000000--- a/core/public/dist/static/js/async/6614.a23157af.js+++ /dev/null@@ -1 +0,0 @@-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["6614"],{77984:function(e,t,s){s.d(t,{F:()=>n});var l=s(68271),a=s(94821),i=s(76882);let n=()=>{let{t:e}=i.Z.global,{copy:t,isSupported:s,copied:n}=(0,a.VPI)({legacy:!0});return{copied:n,copyText:async a=>{if(!a)return void l.v0.error(e("common.useCopy.noText"));s.value?(await t(a),l.v0.success(e("common.useCopy.success"))):l.v0.error(e("common.useCopy.failed"))}}}},60509:function(e,t,s){s.r(t),s.d(t,{default:()=>e6});var l=s(58786),a=s(30989),i=s(15410),n=s(68271),r=s(34541);let{t:o}=s(76882).Z.global,m=()=>r.e.get("/settings/get_system_config"),u=()=>r.e.get("/settings/get_timezone_list"),c=e=>r.e.post("/settings/set_system_config_key",e,{fetchOptions:{loading:o("settings.api.loading.setting"),successMessage:!0}}),d=e=>r.e.post("/settings/set_ssl_config",e,{fetchOptions:{loading:o("settings.api.loading.settingSSL"),successMessage:!0}}),p=()=>r.e.post("/ssl/console_apply_cert",{},{fetchOptions:{loading:o("settings.api.loading.applyingCert"),successMessage:!0}}),v=e=>r.e.post("/settings/add_ip_whitelist",e,{fetchOptions:{loading:o("settings.api.loading.adding"),successMessage:!0}}),g=e=>r.e.post("/settings/delete_ip_whitelist",e,{fetchOptions:{loading:o("settings.api.loading.deleting"),successMessage:!0}}),_=()=>r.e.post("/settings/set_ip_whitelist",{ip_list:[]},{fetchOptions:{loading:o("settings.api.loading.clearing"),successMessage:!0}}),w=e=>r.e.post("/settings/set_reverse_proxy_domain",e,{fetchOptions:{loading:o("settings.api.loading.setting"),successMessage:!0}}),f=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r.e.post("/settings/delete_reverse_proxy_domain",e,{fetchOptions:{loading:o("settings.api.loading.clearing"),successMessage:!0}})},y=(0,a.Q_)("SettingsCommonStore",()=>{let e=(0,l.iH)(""),t=(0,l.iH)(!1),s=(0,l.iH)({level:"weak",score:0}),a=(0,l.iH)(""),r=(0,l.qj)({username:"",newPassword:"",confirmPassword:"",securityPath:""}),o=(0,l.qj)({domain:"",sslEnabled:!0,sslCert:"",sslKey:""}),u=(0,l.qj)({status:!1,expireTime:"",expireDays:0}),c=(0,l.iH)(""),d=(0,l.iH)(""),p=(0,l.iH)(""),v=(0,l.iH)(""),g=(0,l.iH)(""),_=(0,l.iH)(""),w=(0,l.iH)(!1),f=(0,l.iH)([]),y=(0,l.iH)(""),x=async()=>{let t=await m();if((0,n.Kn)(t)){if(e.value=t.admin_username,a.value=t.safe_path,c.value=t.billionmail_hostname,_.value=t.server_ip,w.value=t.ip_whitelist_enable,f.value=t.ip_whitelist,t.manage_ports&&(d.value=`${t.manage_ports.https}`,p.value=t.manage_ports.command_https),t.manage_timezone&&(v.value=t.manage_timezone.timezone,g.value=t.manage_timezone.command),t.ssl){o.sslCert=t.ssl.certPem,o.sslKey=t.ssl.privateKey,u.status=t.ssl.status;let e=new Date(t.ssl.notAfter);u.expireTime=(0,n.mr)(e,"yyyy-MM-dd"),u.expireDays=(0,i.j)(e,new Date)}t.reverse_proxy_domain&&(y.value=t.reverse_proxy_domain.reverse_proxy||t.reverse_proxy_domain.current_url)}};return{currentUsername:e,currentPath:a,passwordMismatch:t,passwordStrength:s,securityForm:r,networkForm:o,sslInfo:u,currentDomain:c,currentPort:d,portCommand:p,currentTime:v,timeCommand:g,serverIp:_,ipWhitelistEnable:w,ipWhitelistList:f,currentProxy:y,checkPasswordStrength:()=>{let e=r.newPassword,t=0;e.length>=8&&t++,e.match(/[a-z]/)&&t++,e.match(/[A-Z]/)&&t++,e.match(/[0-9]/)&&t++,e.match(/[^a-zA-Z0-9]/)&&t++,t<=2?s.value={level:"weak",score:t}:t<=4?s.value={level:"medium",score:t}:s.value={level:"strong",score:t}},getCommonConfig:x,reset:()=>{r.username="",r.newPassword="",r.confirmPassword="",r.securityPath="",o.domain="",o.sslEnabled=!0,o.sslCert="",o.sslKey="",u.status=!1,u.expireTime="",u.expireDays=0,d.value="",p.value="",v.value="",g.value="",_.value="",t.value=!1,s.value={level:"weak",score:0}}}}),x=()=>{let e=y();return{...e,...(0,a.Jk)(e)}};var h=s(57869),U=s(98048),S=s(33756),b=s(56357),W=s(15496),k=s(6455),P=s(73084),Z=s(52495);let z={class:"flex-1 grid grid-cols-1 md:grid-cols-2 gap-4"},C={class:"mt-1 text-xs text-desc"},H={class:"mt-1 text-xs text-desc"},T={class:"mt-4px"},$=(0,l.aZ)({__name:"UsernameSettings",setup(e,t){let{expose:s}=t,{t:a}=(0,Z.QT)(),{currentUsername:i,securityForm:n}=x(),r=(0,l.AE)("formItemRef"),o=async()=>{var e;await (null==(e=r.value)?void 0:e.validate()),await c({key:"admin_username",value:n.value.username}),i.value=n.value.username,n.value.username=""};return s({rules:{username:{trigger:["blur","input"],validator:()=>{let{username:e}=n.value;return e.length<4||e.length>20?Error(a("settings.common.security.usernameValidation.lengthError")):/^[a-zA-Z0-9_]+$/.test(e)?e!==i.value||Error(a("settings.common.security.usernameValidation.duplicateError")):Error(a("settings.common.security.usernameValidation.formatError"))}}}}),(e,t)=>{let s=P.Z,a=k.ZP,m=W.ZP;return(0,l.wg)(),(0,l.iD)(l.HY,null,[(0,l.Wm)(a,{ref_key:"formItemRef",ref:r,label:e.$t("settings.common.security.username"),path:"username"},{default:(0,l.w5)(()=>[(0,l._)("div",z,[(0,l._)("div",null,[(0,l.Wm)(s,{value:(0,l.SU)(i),disabled:""},null,8,["value"]),(0,l._)("p",C,(0,l.zw)(e.$t("settings.common.security.currentUsername")),1)]),(0,l._)("div",null,[(0,l.Wm)(s,{value:(0,l.SU)(n).username,"onUpdate:value":t[0]||(t[0]=e=>(0,l.SU)(n).username=e),placeholder:e.$t("settings.common.security.newUsernamePlaceholder")},null,8,["value","placeholder"]),(0,l._)("p",H,(0,l.zw)(e.$t("settings.common.security.usernameRule")),1)])])]),_:1},8,["label"]),(0,l._)("div",T,[(0,l.Wm)(m,{type:"primary",disabled:!(0,l.SU)(n).username,onClick:o},{default:(0,l.w5)(()=>[(0,l.Uk)((0,l.zw)(e.$t("settings.common.confirm")),1)]),_:1},8,["disabled"])])],64)}}}),E={class:"mt-2 flex items-center"},D={class:"flex-1 bg-gray-200 rounded-full h-1 mr-2"},R={class:"text-xs text-gray-500"},j=(0,l.aZ)({__name:"PasswordStrengthIndicator",props:{strength:{type:Object,required:!0}},setup(e){let{t}=(0,Z.QT)(),s=(0,l.Fl)(()=>{switch(e.strength.level){case"weak":return"bg-error";case"medium":return"bg-warning";case"strong":return"bg-primary";default:return"bg-gray-300"}}),a=(0,l.Fl)(()=>{switch(e.strength.level){case"weak":return"30%";case"medium":return"60%";case"strong":return"100%";default:return"0%"}}),i=(0,l.Fl)(()=>t(`settings.common.security.strength.${e.strength.level}`));return(e,n)=>((0,l.wg)(),(0,l.iD)("div",E,[(0,l._)("div",D,[(0,l._)("div",{class:(0,l.C_)(["h-1 rounded-full transition-all duration-300",(0,l.SU)(s)]),style:(0,l.j5)({width:(0,l.SU)(a)})},null,6)]),(0,l._)("span",R,(0,l.zw)((0,l.SU)(t)("settings.common.security.passwordStrength"))+": "+(0,l.zw)((0,l.SU)(i)),1)]))}}),O={class:"flex-1 flex flex-col gap-20px"},q=(0,l.aZ)({__name:"PasswordSettings",setup(e,t){let{expose:s}=t,{t:a}=(0,Z.QT)(),{securityForm:i,passwordStrength:n,checkPasswordStrength:r}=x(),o=(0,l.AE)("formItemRef"),m=(0,l.Fl)(()=>!i.value.newPassword||!i.value.confirmPassword),u=()=>{r()},d=async()=>{var e;await (null==(e=o.value)?void 0:e.validate()),await c({key:"admin_password",value:i.value.newPassword}),i.value.newPassword="",i.value.confirmPassword=""};return s({rules:{password:{trigger:["input","blur"],validator:()=>!i.value.newPassword||!i.value.confirmPassword||i.value.newPassword===i.value.confirmPassword||Error(a("settings.common.security.passwordMismatch"))}}}),(e,t)=>{let s=P.Z,r=k.ZP,c=W.ZP;return(0,l.wg)(),(0,l.iD)(l.HY,null,[(0,l.Wm)(r,{ref_key:"formItemRef",ref:o,label:e.$t("settings.common.security.changePassword"),path:"password"},{default:(0,l.w5)(()=>[(0,l._)("div",O,[(0,l._)("div",null,[(0,l.Wm)(s,{value:(0,l.SU)(i).newPassword,"onUpdate:value":[t[0]||(t[0]=e=>(0,l.SU)(i).newPassword=e),u],type:"password",class:"password-input","show-password-on":"click",placeholder:(0,l.SU)(a)("settings.common.security.newPassword")},null,8,["value","placeholder"]),(0,l.Wm)(j,{strength:(0,l.SU)(n)},null,8,["strength"])]),(0,l._)("div",null,[(0,l.Wm)(s,{value:(0,l.SU)(i).confirmPassword,"onUpdate:value":t[1]||(t[1]=e=>(0,l.SU)(i).confirmPassword=e),type:"password",class:"password-input","show-password-on":"click",placeholder:(0,l.SU)(a)("settings.common.security.confirmPassword")},null,8,["value","placeholder"])])])]),_:1},8,["label"]),(0,l._)("div",null,[(0,l.Wm)(c,{type:"primary",disabled:(0,l.SU)(m),onClick:d},{default:(0,l.w5)(()=>[(0,l.Uk)((0,l.zw)((0,l.SU)(a)("settings.common.confirm")),1)]),_:1},8,["disabled"])])],64)}}}),A={class:"flex-1 grid grid-cols-1 md:grid-cols-2 gap-4"},K={class:"mt-1 text-xs text-desc"},M={class:"mt-1 text-xs text-desc"},I={class:"mt-4px"},Q=(0,l.aZ)({__name:"SecurityPathSettings",setup(e){let{t}=(0,Z.QT)(),{currentPath:s,securityForm:a}=x(),i=async()=>{await c({key:"safe_path",value:a.value.securityPath}),s.value=a.value.securityPath,a.value.securityPath=""};return(e,n)=>{let r=P.Z,o=k.ZP,m=W.ZP;return(0,l.wg)(),(0,l.iD)(l.HY,null,[(0,l.Wm)(o,{label:(0,l.SU)(t)("settings.common.security.securityPath")},{default:(0,l.w5)(()=>[(0,l._)("div",A,[(0,l._)("div",null,[(0,l.Wm)(r,{value:(0,l.SU)(s),disabled:""},null,8,["value"]),(0,l._)("p",K,(0,l.zw)((0,l.SU)(t)("settings.common.security.currentPath")),1)]),(0,l._)("div",null,[(0,l.Wm)(r,{value:(0,l.SU)(a).securityPath,"onUpdate:value":n[0]||(n[0]=e=>(0,l.SU)(a).securityPath=e),placeholder:(0,l.SU)(t)("settings.common.security.newPathPlaceholder")},null,8,["value","placeholder"]),(0,l._)("p",M,(0,l.zw)((0,l.SU)(t)("settings.common.security.pathRule")),1)])])]),_:1},8,["label"]),(0,l._)("div",I,[(0,l.Wm)(m,{type:"primary",disabled:!(0,l.SU)(a).securityPath,onClick:i},{default:(0,l.w5)(()=>[(0,l.Uk)((0,l.zw)((0,l.SU)(t)("settings.common.confirm")),1)]),_:1},8,["disabled"])])],64)}}}),F={class:"flex items-center"},V={class:"text-lg font-medium"},Y=(0,l.aZ)({__name:"SecuritySettings",setup(e){let{t}=(0,Z.QT)(),{securityForm:s}=x(),a=(0,l.iH)({}),i=(0,l.AE)("usernameRef"),n=(0,l.AE)("passwordRef");return(0,l.bv)(()=>{i.value&&(a.value={...a.value,...i.value.rules}),n.value&&(a.value={...a.value,...n.value.rules})}),(e,r)=>{let o=b.g,m=S.Z,u=U.Z,c=h.ZP;return(0,l.wg)(),(0,l.j4)(c,{class:"mb-8",bordered:!1},{header:(0,l.w5)(()=>[(0,l._)("div",F,[(0,l.Wm)(o,{class:"mr-2 text-primary",size:"20"},{default:(0,l.w5)(()=>r[0]||(r[0]=[(0,l._)("i",{class:"i-mdi-shield-account"},null,-1)])),_:1,__:[0]}),(0,l._)("span",V,(0,l.zw)((0,l.SU)(t)("settings.common.security.title")),1)])]),default:(0,l.w5)(()=>[(0,l.Wm)(u,{model:(0,l.SU)(s),rules:(0,l.SU)(a)},{default:(0,l.w5)(()=>[(0,l.Wm)($,{ref_key:"usernameRef",ref:i},null,512),(0,l.Wm)(m),(0,l.Wm)(q,{ref_key:"passwordRef",ref:n},null,512),(0,l.Wm)(m),(0,l.Wm)(Q)]),_:1},8,["model","rules"])]),_:1})}}});var G=s(29875);let L={class:"block text-sm font-medium mb-3"},N={class:"flex items-center mb-4"},J={class:"ml-2 font-medium"},B={class:"mt-6"},X={class:"block text-sm font-medium mb-2"},ee={class:"flex items-center"},et={class:"text-sm"},es={class:"text-sm"},el={class:"text-sm"},ea={class:"mt-6"},ei={class:"block text-sm font-medium mb-2"},en={class:"mt-4"},er={class:"block text-sm font-medium mb-2"},eo={class:"mt-6"},em=(0,l.aZ)({__name:"SSLSettings",setup(e){let{t}=(0,Z.QT)(),{networkForm:s,sslInfo:a,currentDomain:i,serverIp:r,getCommonConfig:o}=x(),m=(0,l.Fl)(()=>!s.value.sslCert||!s.value.sslKey),u=async()=>{await d({certPem:s.value.sslCert,privateKey:s.value.sslKey}),o()},c=()=>{(0,n.iG)({title:"Apply SSL",width:460,content:()=>(0,l.Wm)("div",{style:{lineHeight:"22px"}},[(0,l.Wm)("div",{class:"mb-8px"},[(0,l.Uk)("Certificate Application Functionality:")]),(0,l.Wm)("div",null,[(0,l.Uk)("- Implement certificate application using hostname")]),(0,l.Wm)("div",null,[(0,l.Uk)("- Ensure the hostname has a valid A record configured with:")]),(0,l.Wm)("div",null,[(0,l.Uk)("- Record Type: "),(0,l.Wm)("b",null,[(0,l.Uk)("A")])]),(0,l.Wm)("div",null,[(0,l.Uk)("- Host: "),(0,l.Wm)("b",null,[i.value])]),(0,l.Wm)("div",null,[(0,l.Uk)("- Value: "),(0,l.Wm)("b",null,[r.value])])]),onConfirm:async()=>{await p(),o()}})};return(e,i)=>{let n=G.Z,r=P.Z,o=W.ZP;return(0,l.wg)(),(0,l.iD)("div",null,[(0,l._)("label",L,(0,l.zw)((0,l.SU)(t)("settings.common.network.ssl")),1),(0,l._)("div",N,[(0,l.Wm)(n,{value:(0,l.SU)(s).sslEnabled,"onUpdate:value":i[0]||(i[0]=e=>(0,l.SU)(s).sslEnabled=e),disabled:""},null,8,["value"]),(0,l._)("label",J,(0,l.zw)((0,l.SU)(t)("settings.common.network.sslEnabled")),1)]),(0,l._)("div",B,[(0,l._)("label",X,(0,l.zw)((0,l.SU)(t)("settings.common.network.certStatus")),1),(0,l._)("div",ee,[(0,l._)("div",{class:(0,l.C_)(["w-3 h-3 rounded-full mr-2 animate-pulse",(0,l.SU)(a).status?"bg-primary":"bg-error"])},null,2),(0,l._)("span",et,(0,l.zw)((0,l.SU)(a).status?(0,l.SU)(t)("settings.common.network.certValidStatus"):(0,l.SU)(t)("settings.common.network.certExpiredStatus"))+", ",1),(0,l._)("span",es,(0,l.zw)((0,l.SU)(t)("settings.common.network.certExpireTime",{time:(0,l.SU)(a).expireTime})),1),(0,l._)("span",el,(0,l.zw)((0,l.SU)(t)("settings.common.network.certValid",{days:(0,l.SU)(a).expireDays})),1)])]),(0,l._)("div",ea,[(0,l._)("label",ei,(0,l.zw)((0,l.SU)(t)("settings.common.network.sslCert")),1),(0,l.Wm)(r,{value:(0,l.SU)(s).sslCert,"onUpdate:value":i[1]||(i[1]=e=>(0,l.SU)(s).sslCert=e),type:"textarea",rows:6,placeholder:(0,l.SU)(t)("settings.common.network.certPlaceholder"),class:"font-mono text-sm"},null,8,["value","placeholder"])]),(0,l._)("div",en,[(0,l._)("label",er,(0,l.zw)((0,l.SU)(t)("settings.common.network.sslKey")),1),(0,l.Wm)(r,{value:(0,l.SU)(s).sslKey,"onUpdate:value":i[2]||(i[2]=e=>(0,l.SU)(s).sslKey=e),type:"textarea",rows:6,placeholder:(0,l.SU)(t)("settings.common.network.keyPlaceholder"),class:"font-mono text-sm"},null,8,["value","placeholder"])]),(0,l._)("div",eo,[(0,l.Wm)(o,{type:"primary",disabled:(0,l.SU)(m),onClick:u},{default:(0,l.w5)(()=>[(0,l.Uk)((0,l.zw)((0,l.SU)(t)("settings.common.network.updateSSL")),1)]),_:1},8,["disabled"]),(0,l.Wm)(o,{type:"primary",class:"ml-12px",ghost:"",onClick:c},{default:(0,l.w5)(()=>i[3]||(i[3]=[(0,l.Uk)(" Apply Certificate ")])),_:1,__:[3]})])])}}}),eu={class:"flex-1 grid grid-cols-1 md:grid-cols-2 gap-4"},ec={class:"mt-1 text-xs text-gray-500"},ed={class:"mt-1 text-xs text-gray-500"},ep=(0,l.aZ)({__name:"DomainSettings",setup(e){let{currentDomain:t,networkForm:s}=x(),a=async()=>{await c({key:"billionmail_hostname",value:s.value.domain}),t.value=s.value.domain,s.value.domain=""};return(e,i)=>{let n=P.Z,r=k.ZP,o=W.ZP;return(0,l.wg)(),(0,l.iD)(l.HY,null,[(0,l.Wm)(r,{label:e.$t("settings.common.network.domain")},{default:(0,l.w5)(()=>[(0,l._)("div",eu,[(0,l._)("div",null,[(0,l.Wm)(n,{value:(0,l.SU)(t),disabled:""},null,8,["value"]),(0,l._)("p",ec,(0,l.zw)(e.$t("settings.common.network.currentDomain")),1)]),(0,l._)("div",null,[(0,l.Wm)(n,{value:(0,l.SU)(s).domain,"onUpdate:value":i[0]||(i[0]=e=>(0,l.SU)(s).domain=e),placeholder:e.$t("settings.common.network.newDomainPlaceholder")},null,8,["value","placeholder"]),(0,l._)("p",ed,(0,l.zw)(e.$t("settings.common.network.domainRule")),1)])])]),_:1},8,["label"]),(0,l._)("div",null,[(0,l.Wm)(o,{type:"primary",disabled:!(0,l.SU)(s).domain,onClick:a},{default:(0,l.w5)(()=>[(0,l.Uk)((0,l.zw)(e.$t("settings.common.confirm")),1)]),_:1},8,["disabled"])])],64)}}}),ev={class:"flex items-center"},eg={class:"text-lg font-medium"},e_=(0,l.aZ)({__name:"NetworkSettings",setup:e=>(e,t)=>{let s=b.g,a=S.Z,i=U.Z,n=h.ZP;return(0,l.wg)(),(0,l.j4)(n,{class:"mb-8",bordered:!1},{header:(0,l.w5)(()=>[(0,l._)("div",ev,[(0,l.Wm)(s,{class:"mr-2 text-primary",size:"20"},{default:(0,l.w5)(()=>t[0]||(t[0]=[(0,l._)("i",{class:"i-mdi-network"},null,-1)])),_:1,__:[0]}),(0,l._)("span",eg,(0,l.zw)(e.$t("settings.common.network.title")),1)])]),default:(0,l.w5)(()=>[(0,l.Wm)(i,null,{default:(0,l.w5)(()=>[(0,l.Wm)(em),(0,l.Wm)(a),(0,l.Wm)(ep)]),_:1})]),_:1})}});var ew=s(99321),ef=s(77984);let ey={class:"bg-gray-900 text-gray-100 rounded-lg p-4 pr-48px font-mono text-sm relative"},ex={class:"absolute top-0px right-16px h-full flex items-center"},eh={class:"mt-2 text-12px text-desc"},eU=(0,l.aZ)({__name:"Command",props:{value:{type:String,default:""}},setup(e){let{copyText:t}=(0,ef.F)();return(s,a)=>{let i=W.ZP;return(0,l.wg)(),(0,l.iD)(l.HY,null,[(0,l._)("div",ey,[a[2]||(a[2]=(0,l._)("span",{class:"text-gray-400 mr-2"},"$",-1)),(0,l.Uk)((0,l.zw)(e.value)+" ",1),(0,l._)("div",ex,[(0,l.Wm)(i,{text:"",class:"text-desc",onClick:a[0]||(a[0]=s=>(0,l.SU)(t)(e.value))},{default:(0,l.w5)(()=>a[1]||(a[1]=[(0,l._)("i",{class:"i-mdi-content-copy text-18px"},null,-1)])),_:1,__:[1]})])]),(0,l._)("p",eh,(0,l.zw)(s.$t("settings.common.system.copyCommand")),1)],64)}}}),eS={class:"block text-sm font-medium text-basic mb-3"},eb={class:"grid items-start grid-cols-1 md:grid-cols-2 gap-4"},eW={class:"mt-1 text-xs text-desc"},ek={class:"flex items-center"},eP={class:"mt-5"},eZ=(0,l.aZ)({__name:"PortSettings",setup(e){let{t}=(0,Z.QT)(),{currentPort:s,portCommand:a}=x(),i=(0,l.iH)(s.value),n=(0,l.iH)(""),r=e=>{n.value=a.value.replace(/PORT/g,e)};return(0,l.m0)(()=>{i.value=s.value,s.value&&(n.value=a.value.replace(/PORT/g,s.value))}),(e,s)=>{let a=P.Z,o=b.g,m=ew.Z;return(0,l.wg)(),(0,l.iD)("div",null,[(0,l._)("label",eS,(0,l.zw)((0,l.SU)(t)("settings.common.system.port")),1),(0,l._)("div",eb,[(0,l._)("div",null,[(0,l.Wm)(a,{value:(0,l.SU)(i),"onUpdate:value":[s[0]||(s[0]=e=>(0,l.dq)(i)?i.value=e:null),r]},null,8,["value"]),(0,l._)("p",eW,(0,l.zw)((0,l.SU)(t)("settings.common.system.currentPort")),1)]),(0,l._)("div",ek,[(0,l.Wm)(m,{type:"warning",class:"w-full"},{icon:(0,l.w5)(()=>[(0,l.Wm)(o,null,{default:(0,l.w5)(()=>s[1]||(s[1]=[(0,l._)("i",{class:"i-mdi-alert-circle"},null,-1)])),_:1,__:[1]})]),default:(0,l.w5)(()=>[(0,l.Uk)(" "+(0,l.zw)((0,l.SU)(t)("settings.common.system.terminalRequired")),1)]),_:1})])]),(0,l._)("div",eP,[(0,l.Wm)(eU,{value:(0,l.SU)(n)},null,8,["value"])])])}}});var ez=s(8490);let eC={class:"block text-sm font-medium text-basic mb-3"},eH={class:"grid items-start grid-cols-1 md:grid-cols-2 gap-4"},eT={class:"flex gap-12px"},e$={class:"flex-1"},eE={class:"flex-1"},eD={class:"mt-1 text-xs text-desc"},eR={class:"flex items-center"},ej={class:"mt-5"},eO=(0,l.aZ)({__name:"TimezoneSettings",setup(e){let{t}=(0,Z.QT)(),{currentTime:s,timeCommand:a}=x(),i=(0,l.iH)(""),r=(0,l.iH)(""),o=(0,l.iH)(""),m=(0,l.iH)({}),c=(0,l.iH)([]),d=(0,l.Fl)(()=>{let e=m.value[i.value];return e?e.map(e=>({label:e,value:e})):[]}),p=()=>{let e=m.value[i.value];r.value=e?e[0]:"",v()},v=()=>{i.value&&r.value&&(o.value=a.value.replace(/TIME ZONE/g,`${i.value}/${r.value}`))};return(0,l.YP)(()=>s.value,e=>{if(e){let t=e.split("/");i.value=t[0],r.value=t[1],o.value=a.value.replace(/TIME ZONE/g,`${i.value}/${r.value}`)}},{immediate:!0}),(async()=>{let e=await u();(0,n.Kn)(e)&&(m.value=e,c.value=Object.keys(e).map(e=>({label:e,value:e})))})(),(e,s)=>{let a=ez.Z,n=b.g,m=ew.Z;return(0,l.wg)(),(0,l.iD)("div",null,[(0,l._)("label",eC,(0,l.zw)((0,l.SU)(t)("settings.common.system.timezone")),1),(0,l._)("div",eH,[(0,l._)("div",null,[(0,l._)("div",eT,[(0,l._)("div",e$,[(0,l.Wm)(a,{value:(0,l.SU)(i),"onUpdate:value":[s[0]||(s[0]=e=>(0,l.dq)(i)?i.value=e:null),p],options:(0,l.SU)(c),filterable:""},null,8,["value","options"])]),(0,l._)("div",eE,[(0,l.Wm)(a,{value:(0,l.SU)(r),"onUpdate:value":[s[1]||(s[1]=e=>(0,l.dq)(r)?r.value=e:null),v],options:(0,l.SU)(d),filterable:""},null,8,["value","options"])])]),(0,l._)("div",eD,(0,l.zw)((0,l.SU)(t)("settings.common.system.currentTime")),1)]),(0,l._)("div",eR,[(0,l.Wm)(m,{type:"warning",class:"w-full"},{icon:(0,l.w5)(()=>[(0,l.Wm)(n,null,{default:(0,l.w5)(()=>s[2]||(s[2]=[(0,l._)("i",{class:"i-mdi-alert-circle"},null,-1)])),_:1,__:[2]})]),default:(0,l.w5)(()=>[(0,l.Uk)(" "+(0,l.zw)((0,l.SU)(t)("settings.common.system.terminalRequired")),1)]),_:1})])]),(0,l._)("div",ej,[(0,l.Wm)(eU,{value:(0,l.SU)(o)},null,8,["value"])])])}}});var eq=s(81021),eA=s(88082),eK=s(54547);let eM={class:"block text-sm font-medium mb-3"},eI={class:"flex justify-between items-center h-34px mb-12px"},eQ={class:"flex item-center gap-8px"},eF={class:"text-desc"},eV={class:"flex gap-8px mb-12px"},eY={class:"flex-1"},eG={class:"text-13px"},eL={class:"mt-12px"},eN=(0,l.aZ)({__name:"IpWhitelistSettings",setup(e){let{ipWhitelistEnable:t,ipWhitelistList:s,getCommonConfig:a}=x(),i=(0,l.iH)(""),{t:r}=(0,Z.QT)(),o=async()=>{if(""===i.value)return void n.v0.error(r("settings.common.ipWhitelist.validation.ipRequired"));await v({ip:i.value}),a(),i.value=""},m=(e,t)=>{(0,n.iG)({title:r("settings.common.ipWhitelist.confirm.deleteTitle"),content:r("settings.common.ipWhitelist.confirm.deleteContent",{ip:s.value[t].ip}),onConfirm:async()=>{await g({id:e}),s.value.splice(t,1)}})},u=e=>{(0,n.iG)({title:e?r("settings.common.ipWhitelist.confirm.enableTitle"):r("settings.common.ipWhitelist.confirm.disableTitle"),content:e?r("settings.common.ipWhitelist.confirm.enableContent"):r("settings.common.ipWhitelist.confirm.disableContent"),onConfirm:async()=>{await c({key:"ip_whitelist_enable",value:`${e}`}),t.value=e}})},d=async()=>{(0,n.iG)({title:r("settings.common.ipWhitelist.confirm.clearTitle"),content:r("settings.common.ipWhitelist.confirm.clearContent"),onConfirm:async()=>{await _(),a()}})};return(e,a)=>{let n=G.Z,c=P.Z,p=W.ZP,v=eK.Z,g=eA.ZP,_=eq.Z;return(0,l.wg)(),(0,l.iD)("div",null,[(0,l._)("label",eM,(0,l.zw)((0,l.SU)(r)("settings.common.ipWhitelist.title")),1),(0,l._)("div",eI,[(0,l._)("div",eQ,[(0,l.Wm)(n,{value:(0,l.SU)(t),"onUpdate:value":u},{checked:(0,l.w5)(()=>[(0,l.Uk)((0,l.zw)((0,l.SU)(r)("settings.common.ipWhitelist.enable")),1)]),unchecked:(0,l.w5)(()=>[(0,l.Uk)((0,l.zw)((0,l.SU)(r)("settings.common.ipWhitelist.disable")),1)]),_:1},8,["value"])]),(0,l._)("div",eF,(0,l.zw)((0,l.SU)(r)("settings.common.ipWhitelist.description")),1)]),(0,l._)("div",eV,[(0,l._)("div",eY,[(0,l.Wm)(c,{value:(0,l.SU)(i),"onUpdate:value":a[0]||(a[0]=e=>(0,l.dq)(i)?i.value=e:null),placeholder:(0,l.SU)(r)("settings.common.ipWhitelist.placeholder")},null,8,["value","placeholder"])]),(0,l.Wm)(p,{type:"primary",onClick:o},{default:(0,l.w5)(()=>[(0,l.Uk)((0,l.zw)((0,l.SU)(r)("settings.common.ipWhitelist.add")),1)]),_:1})]),(0,l.SU)(s).length>0?((0,l.wg)(),(0,l.j4)(g,{key:0,hoverable:"",bordered:""},{default:(0,l.w5)(()=>[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)((0,l.SU)(s),(e,t)=>((0,l.wg)(),(0,l.j4)(v,{key:e.id},{suffix:(0,l.w5)(()=>[(0,l.Wm)(p,{size:"small",quaternary:"",circle:"",onClick:s=>m(e.id,t)},{default:(0,l.w5)(()=>a[1]||(a[1]=[(0,l._)("i",{class:"i-mingcute:close-fill text-16px"},null,-1)])),_:2,__:[1]},1032,["onClick"])]),default:(0,l.w5)(()=>[(0,l._)("span",eG,(0,l.zw)(e.ip),1)]),_:2},1024))),128))]),_:1})):((0,l.wg)(),(0,l.j4)(_,{key:1})),(0,l._)("div",eL,[(0,l.Wm)(p,{onClick:d},{default:(0,l.w5)(()=>[(0,l.Uk)((0,l.zw)((0,l.SU)(r)("settings.common.ipWhitelist.clear")),1)]),_:1})])])}}}),eJ={class:"flex-1 grid grid-cols-1 md:grid-cols-2 gap-4"},eB={class:"mt-1 text-xs text-desc"},eX={class:"mt-1 text-xs text-desc"},e0=(0,l.aZ)({__name:"ProxySettings",setup(e){let{t}=(0,Z.QT)(),{currentProxy:s,getCommonConfig:a}=x(),i=(0,l.iH)(""),r=async()=>{await w({domain:i.value}),a(),i.value=""},o=async()=>{(0,n.iG)({title:t("settings.common.proxy.resetConfirm.title"),content:t("settings.common.proxy.resetConfirm.content"),onConfirm:async()=>{await f(),a()}})};return(e,t)=>{let a=P.Z,n=k.ZP,m=W.ZP;return(0,l.wg)(),(0,l.iD)("div",null,[(0,l.Wm)(n,{ref:"formItemRef",label:e.$t("settings.common.proxy.title"),path:"username"},{default:(0,l.w5)(()=>[(0,l._)("div",eJ,[(0,l._)("div",null,[(0,l.Wm)(a,{value:(0,l.SU)(s),readonly:""},null,8,["value"]),(0,l._)("p",eB,(0,l.zw)(e.$t("settings.common.proxy.description")),1)]),(0,l._)("div",null,[(0,l.Wm)(a,{value:(0,l.SU)(i),"onUpdate:value":t[0]||(t[0]=e=>(0,l.dq)(i)?i.value=e:null),placeholder:e.$t("settings.common.proxy.placeholder")},null,8,["value","placeholder"]),(0,l._)("p",eX,(0,l.zw)(e.$t("settings.common.proxy.formatTip")),1)])])]),_:1},8,["label"]),(0,l._)("div",null,[(0,l.Wm)(m,{type:"primary",disabled:!(0,l.SU)(i),onClick:r},{default:(0,l.w5)(()=>[(0,l.Uk)((0,l.zw)(e.$t("settings.common.confirm")),1)]),_:1},8,["disabled"]),(0,l.Wm)(m,{class:"ml-12px",onClick:o},{default:(0,l.w5)(()=>[(0,l.Uk)((0,l.zw)(e.$t("settings.common.proxy.reset")),1)]),_:1})])])}}}),e1={class:"flex items-center"},e8={class:"text-lg font-medium"},e5={class:"space-y-8"},e2=(0,l.aZ)({__name:"SystemSettings",setup:e=>(e,t)=>{let s=b.g,a=S.Z,i=h.ZP;return(0,l.wg)(),(0,l.j4)(i,{class:"mb-8",bordered:!1},{header:(0,l.w5)(()=>[(0,l._)("div",e1,[(0,l.Wm)(s,{class:"mr-2 text-primary",size:"20"},{default:(0,l.w5)(()=>t[0]||(t[0]=[(0,l._)("i",{class:"i-mdi-cog"},null,-1)])),_:1,__:[0]}),(0,l._)("span",e8,(0,l.zw)(e.$t("settings.common.system.title")),1)])]),default:(0,l.w5)(()=>[(0,l._)("div",e5,[(0,l.Wm)(eZ),(0,l.Wm)(a),(0,l.Wm)(eO),(0,l.Wm)(a),(0,l.Wm)(eN),(0,l.Wm)(a),(0,l.Wm)(e0)])]),_:1})}}),e4={class:"max-w-4xl mx-auto px-4 py-8"},e6=(0,l.aZ)({__name:"index",setup(e){let t=y();return t.getCommonConfig(),(0,l.Jd)(()=>{t.reset()}),(e,t)=>((0,l.wg)(),(0,l.iD)("div",e4,[(0,l.Wm)(Y),(0,l.Wm)(e_),(0,l.Wm)(e2)]))}})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/6646.81304560.js b/core/public/dist/static/js/async/6646.81304560.jsnew file mode 100644index 00000000..66378f36--- /dev/null+++ b/core/public/dist/static/js/async/6646.81304560.js@@ -0,0 +1,209 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["6646"],{65977:function(e,r,t){t.d(r,{Z:()=>l});var o=t(58786);let l=(0,o.aZ)({name:"Add",render:()=>(0,o.h)("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))})},6445:function(e,r,t){t.d(r,{z:()=>o});function o(e,r="default",t=[]){let l=e.$slots[r];return void 0===l?t:l()}},90340:function(e,r,t){t.d(r,{Z:()=>p});var o=t(58786),l=t(77565),i=t(56946),n=t(54470),a=t(53198),s=t(51048),d=t(24286),c=t(74482);let u=(0,t(71309).cB)("collapse-transition",{width:"100%"},[(0,c.Y)()]),h=Object.assign(Object.assign({},i.Z.props),{show:{type:Boolean,default:!0},appear:Boolean,collapsed:{type:Boolean,default:void 0}}),p=(0,o.aZ)({name:"CollapseTransition",props:h,inheritAttrs:!1,setup(e){let{mergedClsPrefixRef:r,inlineThemeDisabled:t,mergedRtlRef:l}=(0,n.ZP)(e),c=(0,i.Z)("CollapseTransition","-collapse-transition",u,d.Z,e,r),h=(0,s.V)("CollapseTransition",l,r),p=(0,o.Fl)(()=>void 0!==e.collapsed?e.collapsed:e.show),v=(0,o.Fl)(()=>{let{self:{bezier:e}}=c.value;return{"--n-bezier":e}}),b=t?(0,a.F)("collapse-transition",void 0,v,e):void 0;return{rtlEnabled:h,mergedShow:p,mergedClsPrefix:r,cssVars:t?void 0:v,themeClass:null==b?void 0:b.themeClass,onRender:null==b?void 0:b.onRender}},render(){return(0,o.h)(l.Z,{appear:this.appear},{default:()=>{var e;if(this.mergedShow)return null==(e=this.onRender)||e.call(this),(0,o.h)("div",(0,o.dG)({class:[`${this.mergedClsPrefix}-collapse-transition`,this.rtlEnabled&&`${this.mergedClsPrefix}-collapse-transition--rtl`,this.themeClass],style:this.cssVars},this.$attrs),this.$slots)}})}})},35409:function(e,r,t){t.d(r,{HX:()=>d,Ox:()=>c,ZP:()=>h,uv:()=>u});var o=t(58786),l=t(56946),i=t(54470),n=t(50144),a=t(38461),s=t(64170);function d(e){return`${e}-ellipsis--line-clamp`}function c(e,r){return`${e}-ellipsis--cursor-${r}`}let u=Object.assign(Object.assign({},l.Z.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),h=(0,o.aZ)({name:"Ellipsis",inheritAttrs:!1,props:u,slots:Object,setup(e,{slots:r,attrs:t}){let n=(0,i.hJ)(),u=(0,l.Z)("Ellipsis","-ellipsis",s.Z,a.Z,e,n),h=(0,o.iH)(null),p=(0,o.iH)(null),v=(0,o.iH)(null),b=(0,o.iH)(!1),f=(0,o.Fl)(()=>{let{lineClamp:r}=e,{value:t}=b;return void 0!==r?{textOverflow:"","-webkit-line-clamp":t?"":r}:{textOverflow:t?"":"ellipsis","-webkit-line-clamp":""}});function g(){let r=!1,{value:t}=b;if(t)return!0;let{value:o}=h;if(o){let{lineClamp:t}=e;if(function(r){if(!r)return;let t=f.value,o=d(n.value);for(let l in void 0!==e.lineClamp?w(r,o,"add"):w(r,o,"remove"),t)r.style[l]!==t[l]&&(r.style[l]=t[l])}(o),void 0!==t)r=o.scrollHeight<=o.offsetHeight;else{let{value:e}=p;e&&(r=e.getBoundingClientRect().width<=o.getBoundingClientRect().width)}var l=o,i=r;let a=c(n.value,"pointer");"click"!==e.expandTrigger||i?w(l,a,"remove"):w(l,a,"add")}return r}let m=(0,o.Fl)(()=>"click"===e.expandTrigger?()=>{var e;let{value:r}=b;r&&(null==(e=v.value)||e.setShow(!1)),b.value=!r}:void 0);function w(e,r,t){"add"===t?e.classList.contains(r)||e.classList.add(r):e.classList.contains(r)&&e.classList.remove(r)}return(0,o.se)(()=>{var r;e.tooltip&&(null==(r=v.value)||r.setShow(!1))}),{mergedTheme:u,triggerRef:h,triggerInnerRef:p,tooltipRef:v,handleClick:m,renderTrigger:()=>(0,o.h)("span",Object.assign({},(0,o.dG)(t,{class:[`${n.value}-ellipsis`,void 0!==e.lineClamp?d(n.value):void 0,"click"===e.expandTrigger?c(n.value,"pointer"):void 0],style:f.value}),{ref:"triggerRef",onClick:m.value,onMouseenter:"click"===e.expandTrigger?g:void 0}),e.lineClamp?r:(0,o.h)("span",{ref:"triggerInnerRef"},r)),getTooltipDisabled:g}},render(){var e;let{tooltip:r,renderTrigger:t,$slots:l}=this;if(!r)return t();{let{mergedTheme:i}=this;return(0,o.h)(n.Z,Object.assign({ref:"tooltipRef",placement:"top"},r,{getDisabled:this.getTooltipDisabled,theme:i.peers.Tooltip,themeOverrides:i.peerOverrides.Tooltip}),{trigger:t,default:null!=(e=l.tooltip)?e:l.default})}}})},64170:function(e,r,t){t.d(r,{Z:()=>l});var o=t(71309);let l=(0,o.cB)("ellipsis",{overflow:"hidden"},[(0,o.u4)("line-clamp",`+ white-space: nowrap;+ display: inline-block;+ vertical-align: bottom;+ max-width: 100%;+ `),(0,o.cM)("line-clamp",`+ display: -webkit-inline-box;+ -webkit-box-orient: vertical;+ `),(0,o.cM)("cursor-pointer",`+ cursor: pointer;+ `)])},37864:function(e,r,t){t.d(r,{ZP:()=>d});var o=t(58786),l=t(27987),i=t(42056),n=t(58410),a=t(6455);let s=Object.assign(Object.assign({},n.gk),a.Cn);(0,l.u)(s);let d=(0,o.aZ)({__GRID_ITEM__:!0,name:"FormItemGridItem",alias:["FormItemGi"],props:s,setup(){let e=(0,o.iH)(null);return{formItemInstRef:e,validate:(...r)=>{let{value:t}=e;if(t)return t.validate(...r)},restoreValidation:()=>{let{value:r}=e;r&&r.restoreValidation()}}},render(){return(0,o.h)(n.ZP,(0,i.C)(this.$.vnode.props||{},n.xB),{default:()=>{let e=(0,i.C)(this.$props,a.eh);return(0,o.h)(a.ZP,Object.assign({ref:"formItemInstRef"},e),this.$slots)}})}})},81833:function(e,r,t){function o(e,r){var t;if(null==e)return;let o=function(e){if("number"==typeof e)return{"":e.toString()};let r={};return e.split(/ +/).forEach(e=>{if(""===e)return;let[t,o]=e.split(":");void 0===o?r[""]=t:r[t]=o}),r}(e);if(void 0===r)return o[""];if("string"==typeof r)return null!=(t=o[r])?t:o[""];if(Array.isArray(r)){for(let e=r.length-1;e>=0;--e){let t=r[e];if(t in o)return o[t]}return o[""]}{let e,t=-1;return Object.keys(o).forEach(l=>{let i=Number(l);!Number.isNaN(i)&&r>=i&&i>=t&&(t=i,e=o[l])}),e}}t.d(r,{Z:()=>y});var l=t(76072),i=t(65083),n=t(58786),a=t(86223);let s={xs:0,s:640,m:1024,l:1280,xl:1536,"2xl":1920},d={},c=function(e=s){if(!a.j||"function"!=typeof window.matchMedia)return(0,n.Fl)(()=>[]);let r=(0,n.iH)({}),t=Object.keys(e),o=(e,t)=>{e.matches?r.value[t]=!0:r.value[t]=!1};return t.forEach(r=>{let t,l,i=e[r];if(void 0===d[i])(t=window.matchMedia(`(min-width: ${i}px)`)).addEventListener?t.addEventListener("change",e=>{l.forEach(t=>{t(e,r)})}):t.addListener&&t.addListener(e=>{l.forEach(t=>{t(e,r)})}),l=new Set,d[i]={mql:t,cbs:l};else t=d[i].mql,l=d[i].cbs;l.add(o),t.matches&&l.forEach(e=>{e(t,r)})}),(0,n.Jd)(()=>{t.forEach(r=>{let{cbs:t}=d[e[r]];t.has(o)&&t.delete(o)})}),(0,n.Fl)(()=>{let{value:e}=r;return t.filter(r=>e[r])})};var u=t(61691),h=t(70020),p=t(54470),v=t(68574),b=t(60951),f=t(6445);let g={xs:0,s:640,m:1024,l:1280,xl:1536,xxl:1920};var m=t(37507);let w="__ssr__",y=(0,n.aZ)({name:"Grid",inheritAttrs:!1,props:{layoutShiftDisabled:Boolean,responsive:{type:[String,Boolean],default:"self"},cols:{type:[Number,String],default:24},itemResponsive:Boolean,collapsed:Boolean,collapsedRows:{type:Number,default:1},itemStyle:[Object,String],xGap:{type:[Number,String],default:0},yGap:{type:[Number,String],default:0}},setup(e){let{mergedClsPrefixRef:r,mergedBreakpointsRef:t}=(0,p.ZP)(e),a=/^\d+$/,s=(0,n.iH)(void 0),d=c((null==t?void 0:t.value)||g),h=(0,u.Z)(()=>!(!e.itemResponsive&&a.test(e.cols.toString())&&a.test(e.xGap.toString())&&a.test(e.yGap.toString()))),b=(0,n.Fl)(()=>{if(h.value)return"self"===e.responsive?s.value:d.value}),f=(0,u.Z)(()=>{var r;return null!=(r=Number(o(e.cols.toString(),b.value)))?r:24}),y=(0,u.Z)(()=>o(e.xGap.toString(),b.value)),x=(0,u.Z)(()=>o(e.yGap.toString(),b.value)),k=e=>{s.value=e.contentRect.width},S=e=>{(0,l.J)(k,e)},$=(0,n.iH)(!1),B=(0,n.Fl)(()=>{if("self"===e.responsive)return S}),C=(0,n.iH)(!1),Z=(0,n.iH)();return(0,n.bv)(()=>{let{value:e}=Z;e&&e.hasAttribute(w)&&(e.removeAttribute(w),C.value=!0)}),(0,n.JJ)(m.r,{layoutShiftDisabledRef:(0,n.Vh)(e,"layoutShiftDisabled"),isSsrRef:C,itemStyleRef:(0,n.Vh)(e,"itemStyle"),xGapRef:y,overflowRef:$}),{isSsr:!v.j,contentEl:Z,mergedClsPrefix:r,style:(0,n.Fl)(()=>e.layoutShiftDisabled?{width:"100%",display:"grid",gridTemplateColumns:`repeat(${e.cols}, minmax(0, 1fr))`,columnGap:(0,i.BL)(e.xGap),rowGap:(0,i.BL)(e.yGap)}:{width:"100%",display:"grid",gridTemplateColumns:`repeat(${f.value}, minmax(0, 1fr))`,columnGap:(0,i.BL)(y.value),rowGap:(0,i.BL)(x.value)}),isResponsive:h,responsiveQuery:b,responsiveCols:f,handleResize:B,overflow:$}},render(){if(this.layoutShiftDisabled)return(0,n.h)("div",(0,n.dG)({ref:"contentEl",class:`${this.mergedClsPrefix}-grid`,style:this.style},this.$attrs),this.$slots);let e=()=>{var e,r,t,l,i,a,s;this.overflow=!1;let d=(0,b.x)((0,f.z)(this)),c=[],{collapsed:u,collapsedRows:h,responsiveCols:p,responsiveQuery:v}=this;d.forEach(e=>{var r,t,l,i,a;if((null==(r=null==e?void 0:e.type)?void 0:r.__GRID_ITEM__)!==!0)return;if(function(e){var r;let t=null==(r=e.dirs)?void 0:r.find(({dir:e})=>e===n.F8);return!!(t&&!1===t.value)}(e)){let r=(0,n.Ho)(e);r.props?r.props.privateShow=!1:r.props={privateShow:!1},c.push({child:r,rawChildSpan:0});return}e.dirs=(null==(t=e.dirs)?void 0:t.filter(({dir:e})=>e!==n.F8))||null,(null==(l=e.dirs)?void 0:l.length)===0&&(e.dirs=null);let s=(0,n.Ho)(e),d=Number(null!=(a=o(null==(i=s.props)?void 0:i.span,v))?a:m.L);0!==d&&c.push({child:s,rawChildSpan:d})});let g=0,y=null==(e=c[c.length-1])?void 0:e.child;if(null==y?void 0:y.props){let e=null==(r=y.props)?void 0:r.suffix;void 0!==e&&!1!==e&&(g=Number(null!=(l=o(null==(t=y.props)?void 0:t.span,v))?l:m.L),y.props.privateSpan=g,y.props.privateColStart=p+1-g,y.props.privateShow=null==(i=y.props.privateShow)||i)}let x=0,k=!1;for(let{child:e,rawChildSpan:r}of c){if(k&&(this.overflow=!0),!k){let t=Number(null!=(s=o(null==(a=e.props)?void 0:a.offset,v))?s:0),l=Math.min(r+t,p);if(e.props?(e.props.privateSpan=l,e.props.privateOffset=t):e.props={privateSpan:l,privateOffset:t},u){let e=x%p;l+e>p&&(x+=p-e),l+x+g>h*p?k=!0:x+=l}}k&&(e.props?!0!==e.props.privateShow&&(e.props.privateShow=!1):e.props={privateShow:!1})}return(0,n.h)("div",(0,n.dG)({ref:"contentEl",class:`${this.mergedClsPrefix}-grid`,style:this.style,[w]:this.isSsr||void 0},this.$attrs),c.map(({child:e})=>e))};return this.isResponsive&&"self"===this.responsive?(0,n.h)(h.Z,{onResize:this.handleResize},{default:e}):e()}})},58410:function(e,r,t){t.d(r,{ZP:()=>d,gk:()=>a,xB:()=>s});var o=t(65083),l=t(58786),i=t(27987),n=t(37507);let a={span:{type:[Number,String],default:1},offset:{type:[Number,String],default:0},suffix:Boolean,privateOffset:Number,privateSpan:Number,privateColStart:Number,privateShow:{type:Boolean,default:!0}},s=(0,i.u)(a),d=(0,l.aZ)({__GRID_ITEM__:!0,name:"GridItem",alias:["Gi"],props:a,setup(){let{isSsrRef:e,xGapRef:r,itemStyleRef:t,overflowRef:i,layoutShiftDisabledRef:a}=(0,l.f3)(n.r),s=(0,l.FN)();return{overflow:i,itemStyle:t,layoutShiftDisabled:a,mergedXGap:(0,l.Fl)(()=>(0,o.BL)(r.value||0)),deriveStyle:()=>{e.value;let{privateSpan:t=1,privateShow:l=!0,privateColStart:i,privateOffset:n=0}=s.vnode.props,{value:a}=r,d=(0,o.BL)(a||0);return{display:l?"":"none",gridColumn:`${null!=i?i:`span ${t}`} / span ${t}`,marginLeft:n?`calc((100% - (${t} - 1) * ${d}) / ${t} * ${n} + ${d} * ${n})`:""}}}},render(){var e,r;if(this.layoutShiftDisabled){let{span:e,offset:r,mergedXGap:t}=this;return(0,l.h)("div",{style:{gridColumn:`span ${e} / span ${e}`,marginLeft:r?`calc((100% - (${e} - 1) * ${t}) / ${e} * ${r} + ${t} * ${r})`:""}},this.$slots)}return(0,l.h)("div",{style:[this.itemStyle,this.deriveStyle()]},null==(r=(e=this.$slots).default)?void 0:r.call(e,{overflow:this.overflow}))}})},37507:function(e,r,t){t.d(r,{L:()=>l,r:()=>i});var o=t(19050);let l=1,i=(0,o.U)("n-grid")},86599:function(e,r,t){t.d(r,{Z:()=>v});var o=t(65083),l=t(17102),i=t(58786),n=t(56946),a=t(54470),s=t(68574);let d=!1;var c=t(71309);let u={name:"Skeleton",common:t(9798).Z,self:function(e){let{heightSmall:r,heightMedium:t,heightLarge:o,borderRadius:l}=e;return{color:"#eee",colorEnd:"#ddd",borderRadius:l,heightSmall:r,heightMedium:t,heightLarge:o}}},h=(0,c.c)([(0,c.cB)("skeleton",`+ height: 1em;+ width: 100%;+ transition:+ --n-color-start .3s var(--n-bezier),+ --n-color-end .3s var(--n-bezier),+ background-color .3s var(--n-bezier);+ animation: 2s skeleton-loading infinite cubic-bezier(0.36, 0, 0.64, 1);+ background-color: var(--n-color-start);+ `),(0,c.c)("@keyframes skeleton-loading",`+ 0% {+ background: var(--n-color-start);+ }+ 40% {+ background: var(--n-color-end);+ }+ 80% {+ background: var(--n-color-start);+ }+ 100% {+ background: var(--n-color-start);+ }+ `)]),p=Object.assign(Object.assign({},n.Z.props),{text:Boolean,round:Boolean,circle:Boolean,height:[String,Number],width:[String,Number],size:String,repeat:{type:Number,default:1},animated:{type:Boolean,default:!0},sharp:{type:Boolean,default:!0}}),v=(0,i.aZ)({name:"Skeleton",inheritAttrs:!1,props:p,setup(e){if(s.j&&window.CSS&&!d&&(d=!0,"registerProperty"in(null==window?void 0:window.CSS)))try{CSS.registerProperty({name:"--n-color-start",syntax:"<color>",inherits:!1,initialValue:"#0000"}),CSS.registerProperty({name:"--n-color-end",syntax:"<color>",inherits:!1,initialValue:"#0000"})}catch(e){}let{mergedClsPrefixRef:r}=(0,a.ZP)(e),t=(0,n.Z)("Skeleton","-skeleton",h,u,e,r);return{mergedClsPrefix:r,style:(0,i.Fl)(()=>{var r,l;let i,n=t.value,{common:{cubicBezierEaseInOut:a}}=n,s=n.self,{color:d,colorEnd:u,borderRadius:h}=s,{circle:p,sharp:v,round:b,width:f,height:g,size:m,text:w,animated:y}=e;void 0!==m&&(i=s[(0,c.Tl)("height",m)]);let x=p?null!=(r=null!=f?f:g)?r:i:f,k=null!=(l=p&&null!=f?f:g)?l:i;return{display:w?"inline-block":"",verticalAlign:w?"-0.125em":"",borderRadius:p?"50%":b?"4096px":v?"":h,width:"number"==typeof x?(0,o.BL)(x):x,height:"number"==typeof k?(0,o.BL)(k):k,animation:y?"":"none","--n-bezier":a,"--n-color-start":d,"--n-color-end":u}})}},render(){let{repeat:e,style:r,mergedClsPrefix:t,$attrs:o}=this,n=(0,i.h)("div",(0,i.dG)({class:`${t}-skeleton`,style:r},o));return e>1?(0,i.h)(i.HY,null,(0,l.rx)(e,null).map(e=>[n,"\n"])):n}})},29875:function(e,r,t){let o;t.d(r,{Z:()=>S});var l=t(65083),i=t(20013),n=t(58786),a=t(76128),s=t(62594),d=t(56946),c=t(54470),u=t(32196),h=t(53198),p=t(44267),v=t(71309),b=t(93950),f=t(19595),g=t(9798),m=t(30951);let w={name:"Switch",common:g.Z,self:function(e){let{primaryColor:r,opacityDisabled:t,borderRadius:o,textColor3:l}=e;return Object.assign(Object.assign({},m.Z),{iconColor:l,textColor:"white",loadingColor:r,opacityDisabled:t,railColor:"rgba(0, 0, 0, .14)",railColorActive:r,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 0 2px ${(0,f.zX)(r,{alpha:.2})}`})}};var y=t(28632);let x=(0,v.cB)("switch",`+ height: var(--n-height);+ min-width: var(--n-width);+ vertical-align: middle;+ user-select: none;+ -webkit-user-select: none;+ display: inline-flex;+ outline: none;+ justify-content: center;+ align-items: center;+`,[(0,v.cE)("children-placeholder",`+ height: var(--n-rail-height);+ display: flex;+ flex-direction: column;+ overflow: hidden;+ pointer-events: none;+ visibility: hidden;+ `),(0,v.cE)("rail-placeholder",`+ display: flex;+ flex-wrap: none;+ `),(0,v.cE)("button-placeholder",`+ width: calc(1.75 * var(--n-rail-height));+ height: var(--n-rail-height);+ `),(0,v.cB)("base-loading",`+ position: absolute;+ top: 50%;+ left: 50%;+ transform: translateX(-50%) translateY(-50%);+ font-size: calc(var(--n-button-width) - 4px);+ color: var(--n-loading-color);+ transition: color .3s var(--n-bezier);+ `,[(0,y.c)({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),(0,v.cE)("checked, unchecked",`+ transition: color .3s var(--n-bezier);+ color: var(--n-text-color);+ box-sizing: border-box;+ position: absolute;+ white-space: nowrap;+ top: 0;+ bottom: 0;+ display: flex;+ align-items: center;+ line-height: 1;+ `),(0,v.cE)("checked",`+ right: 0;+ padding-right: calc(1.25 * var(--n-rail-height) - var(--n-offset));+ `),(0,v.cE)("unchecked",`+ left: 0;+ justify-content: flex-end;+ padding-left: calc(1.25 * var(--n-rail-height) - var(--n-offset));+ `),(0,v.c)("&:focus",[(0,v.cE)("rail",`+ box-shadow: var(--n-box-shadow-focus);+ `)]),(0,v.cM)("round",[(0,v.cE)("rail","border-radius: calc(var(--n-rail-height) / 2);",[(0,v.cE)("button","border-radius: calc(var(--n-button-height) / 2);")])]),(0,v.u4)("disabled",[(0,v.u4)("icon",[(0,v.cM)("rubber-band",[(0,v.cM)("pressed",[(0,v.cE)("rail",[(0,v.cE)("button","max-width: var(--n-button-width-pressed);")])]),(0,v.cE)("rail",[(0,v.c)("&:active",[(0,v.cE)("button","max-width: var(--n-button-width-pressed);")])]),(0,v.cM)("active",[(0,v.cM)("pressed",[(0,v.cE)("rail",[(0,v.cE)("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),(0,v.cE)("rail",[(0,v.c)("&:active",[(0,v.cE)("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),(0,v.cM)("active",[(0,v.cE)("rail",[(0,v.cE)("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),(0,v.cE)("rail",`+ overflow: hidden;+ height: var(--n-rail-height);+ min-width: var(--n-rail-width);+ border-radius: var(--n-rail-border-radius);+ cursor: pointer;+ position: relative;+ transition:+ opacity .3s var(--n-bezier),+ background .3s var(--n-bezier),+ box-shadow .3s var(--n-bezier);+ background-color: var(--n-rail-color);+ `,[(0,v.cE)("button-icon",`+ color: var(--n-icon-color);+ transition: color .3s var(--n-bezier);+ font-size: calc(var(--n-button-height) - 4px);+ position: absolute;+ left: 0;+ right: 0;+ top: 0;+ bottom: 0;+ display: flex;+ justify-content: center;+ align-items: center;+ line-height: 1;+ `,[(0,y.c)()]),(0,v.cE)("button",`+ align-items: center;+ top: var(--n-offset);+ left: var(--n-offset);+ height: var(--n-button-height);+ width: var(--n-button-width-pressed);+ max-width: var(--n-button-width);+ border-radius: var(--n-button-border-radius);+ background-color: var(--n-button-color);+ box-shadow: var(--n-button-box-shadow);+ box-sizing: border-box;+ cursor: inherit;+ content: "";+ position: absolute;+ transition:+ background-color .3s var(--n-bezier),+ left .3s var(--n-bezier),+ opacity .3s var(--n-bezier),+ max-width .3s var(--n-bezier),+ box-shadow .3s var(--n-bezier);+ `)]),(0,v.cM)("active",[(0,v.cE)("rail","background-color: var(--n-rail-color-active);")]),(0,v.cM)("loading",[(0,v.cE)("rail",`+ cursor: wait;+ `)]),(0,v.cM)("disabled",[(0,v.cE)("rail",`+ cursor: not-allowed;+ opacity: .5;+ `)])]),k=Object.assign(Object.assign({},d.Z.props),{size:{type:String,default:"medium"},value:{type:[String,Number,Boolean],default:void 0},loading:Boolean,defaultValue:{type:[String,Number,Boolean],default:!1},disabled:{type:Boolean,default:void 0},round:{type:Boolean,default:!0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},railStyle:Function,rubberBand:{type:Boolean,default:!0},onChange:[Function,Array]}),S=(0,n.aZ)({name:"Switch",props:k,slots:Object,setup(e){void 0===o&&(o="undefined"==typeof CSS||void 0!==CSS.supports&&CSS.supports("width","max(1px)"));let{mergedClsPrefixRef:r,inlineThemeDisabled:t}=(0,c.ZP)(e),a=(0,d.Z)("Switch","-switch",x,w,e,r),s=(0,u.Z)(e),{mergedSizeRef:b,mergedDisabledRef:f}=s,g=(0,n.iH)(e.defaultValue),m=(0,n.Vh)(e,"value"),y=(0,i.Z)(m,g),k=(0,n.Fl)(()=>y.value===e.checkedValue),S=(0,n.iH)(!1),$=(0,n.iH)(!1),B=(0,n.Fl)(()=>{let{railStyle:r}=e;if(r)return r({focused:$.value,checked:k.value})});function C(r){let{"onUpdate:value":t,onChange:o,onUpdateValue:l}=e,{nTriggerFormInput:i,nTriggerFormChange:n}=s;t&&(0,p.R)(t,r),l&&(0,p.R)(l,r),o&&(0,p.R)(o,r),g.value=r,i(),n()}let Z=(0,n.Fl)(()=>{let e,r,t,{value:i}=b,{self:{opacityDisabled:n,railColor:s,railColorActive:d,buttonBoxShadow:c,buttonColor:u,boxShadowFocus:h,loadingColor:p,textColor:f,iconColor:g,[(0,v.Tl)("buttonHeight",i)]:m,[(0,v.Tl)("buttonWidth",i)]:w,[(0,v.Tl)("buttonWidthPressed",i)]:y,[(0,v.Tl)("railHeight",i)]:x,[(0,v.Tl)("railWidth",i)]:k,[(0,v.Tl)("railBorderRadius",i)]:S,[(0,v.Tl)("buttonBorderRadius",i)]:$},common:{cubicBezierEaseInOut:B}}=a.value;return o?(e=`calc((${x} - ${m}) / 2)`,r=`max(${x}, ${m})`,t=`max(${k}, calc(${k} + ${m} - ${x}))`):(e=(0,l.BL)(((0,l.fQ)(x)-(0,l.fQ)(m))/2),r=(0,l.BL)(Math.max((0,l.fQ)(x),(0,l.fQ)(m))),t=(0,l.fQ)(x)>(0,l.fQ)(m)?k:(0,l.BL)((0,l.fQ)(k)+(0,l.fQ)(m)-(0,l.fQ)(x))),{"--n-bezier":B,"--n-button-border-radius":$,"--n-button-box-shadow":c,"--n-button-color":u,"--n-button-width":w,"--n-button-width-pressed":y,"--n-button-height":m,"--n-height":r,"--n-offset":e,"--n-opacity-disabled":n,"--n-rail-border-radius":S,"--n-rail-color":s,"--n-rail-color-active":d,"--n-rail-height":x,"--n-rail-width":k,"--n-width":t,"--n-box-shadow-focus":h,"--n-loading-color":p,"--n-text-color":f,"--n-icon-color":g}}),E=t?(0,h.F)("switch",(0,n.Fl)(()=>b.value[0]),Z,e):void 0;return{handleClick:function(){e.loading||f.value||(y.value!==e.checkedValue?C(e.checkedValue):C(e.uncheckedValue))},handleBlur:function(){$.value=!1;let{nTriggerFormBlur:e}=s;e(),S.value=!1},handleFocus:function(){$.value=!0;let{nTriggerFormFocus:e}=s;e()},handleKeyup:function(r){e.loading||f.value||" "===r.key&&(y.value!==e.checkedValue?C(e.checkedValue):C(e.uncheckedValue),S.value=!1)},handleKeydown:function(r){e.loading||f.value||" "===r.key&&(r.preventDefault(),S.value=!0)},mergedRailStyle:B,pressed:S,mergedClsPrefix:r,mergedValue:y,checked:k,mergedDisabled:f,cssVars:t?void 0:Z,themeClass:null==E?void 0:E.themeClass,onRender:null==E?void 0:E.onRender}},render(){let{mergedClsPrefix:e,mergedDisabled:r,checked:t,mergedRailStyle:o,onRender:l,$slots:i}=this;null==l||l();let{checked:d,unchecked:c,icon:u,"checked-icon":h,"unchecked-icon":p}=i,v=!((0,b.aD)(u)&&(0,b.aD)(h)&&(0,b.aD)(p));return(0,n.h)("div",{role:"switch","aria-checked":t,class:[`${e}-switch`,this.themeClass,v&&`${e}-switch--icon`,t&&`${e}-switch--active`,r&&`${e}-switch--disabled`,this.round&&`${e}-switch--round`,this.loading&&`${e}-switch--loading`,this.pressed&&`${e}-switch--pressed`,this.rubberBand&&`${e}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},(0,n.h)("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:o},(0,b.K9)(d,r=>(0,b.K9)(c,t=>r||t?(0,n.h)("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},(0,n.h)("div",{class:`${e}-switch__rail-placeholder`},(0,n.h)("div",{class:`${e}-switch__button-placeholder`}),r),(0,n.h)("div",{class:`${e}-switch__rail-placeholder`},(0,n.h)("div",{class:`${e}-switch__button-placeholder`}),t)):null)),(0,n.h)("div",{class:`${e}-switch__button`},(0,b.K9)(u,r=>(0,b.K9)(h,t=>(0,b.K9)(p,o=>(0,n.h)(a.Z,null,{default:()=>this.loading?(0,n.h)(s.Z,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(t||r)?(0,n.h)("div",{class:`${e}-switch__button-icon`,key:t?"checked-icon":"icon"},t||r):!this.checked&&(o||r)?(0,n.h)("div",{class:`${e}-switch__button-icon`,key:o?"unchecked-icon":"icon"},o||r):null})))),(0,b.K9)(d,r=>r&&(0,n.h)("div",{key:"checked",class:`${e}-switch__checked`},r)),(0,b.K9)(c,r=>r&&(0,n.h)("div",{key:"unchecked",class:`${e}-switch__unchecked`},r)))))}})},50039:function(e,r,t){t.d(r,{Z:()=>h});var o=t(58786),l=t(56946),i=t(54470),n=t(53198),a=t(51048),s=t(71309),d=t(91078);let c=(0,s.c)([(0,s.cB)("table",`+ font-size: var(--n-font-size);+ font-variant-numeric: tabular-nums;+ line-height: var(--n-line-height);+ width: 100%;+ border-radius: var(--n-border-radius) var(--n-border-radius) 0 0;+ text-align: left;+ border-collapse: separate;+ border-spacing: 0;+ overflow: hidden;+ background-color: var(--n-td-color);+ border-color: var(--n-merged-border-color);+ transition:+ background-color .3s var(--n-bezier),+ border-color .3s var(--n-bezier),+ color .3s var(--n-bezier);+ --n-merged-border-color: var(--n-border-color);+ `,[(0,s.c)("th",`+ white-space: nowrap;+ transition:+ background-color .3s var(--n-bezier),+ border-color .3s var(--n-bezier),+ color .3s var(--n-bezier);+ text-align: inherit;+ padding: var(--n-th-padding);+ vertical-align: inherit;+ text-transform: none;+ border: 0px solid var(--n-merged-border-color);+ font-weight: var(--n-th-font-weight);+ color: var(--n-th-text-color);+ background-color: var(--n-th-color);+ border-bottom: 1px solid var(--n-merged-border-color);+ border-right: 1px solid var(--n-merged-border-color);+ `,[(0,s.c)("&:last-child",`+ border-right: 0px solid var(--n-merged-border-color);+ `)]),(0,s.c)("td",`+ transition:+ background-color .3s var(--n-bezier),+ border-color .3s var(--n-bezier),+ color .3s var(--n-bezier);+ padding: var(--n-td-padding);+ color: var(--n-td-text-color);+ background-color: var(--n-td-color);+ border: 0px solid var(--n-merged-border-color);+ border-right: 1px solid var(--n-merged-border-color);+ border-bottom: 1px solid var(--n-merged-border-color);+ `,[(0,s.c)("&:last-child",`+ border-right: 0px solid var(--n-merged-border-color);+ `)]),(0,s.cM)("bordered",`+ border: 1px solid var(--n-merged-border-color);+ border-radius: var(--n-border-radius);+ `,[(0,s.c)("tr",[(0,s.c)("&:last-child",[(0,s.c)("td",`+ border-bottom: 0 solid var(--n-merged-border-color);+ `)])])]),(0,s.cM)("single-line",[(0,s.c)("th",`+ border-right: 0px solid var(--n-merged-border-color);+ `),(0,s.c)("td",`+ border-right: 0px solid var(--n-merged-border-color);+ `)]),(0,s.cM)("single-column",[(0,s.c)("tr",[(0,s.c)("&:not(:last-child)",[(0,s.c)("td",`+ border-bottom: 0px solid var(--n-merged-border-color);+ `)])])]),(0,s.cM)("striped",[(0,s.c)("tr:nth-of-type(even)",[(0,s.c)("td","background-color: var(--n-td-color-striped)")])]),(0,s.u4)("bottom-bordered",[(0,s.c)("tr",[(0,s.c)("&:last-child",[(0,s.c)("td",`+ border-bottom: 0px solid var(--n-merged-border-color);+ `)])])])]),(0,s.ko)((0,s.cB)("table",`+ background-color: var(--n-td-color-modal);+ --n-merged-border-color: var(--n-border-color-modal);+ `,[(0,s.c)("th",`+ background-color: var(--n-th-color-modal);+ `),(0,s.c)("td",`+ background-color: var(--n-td-color-modal);+ `)])),(0,s.WW)((0,s.cB)("table",`+ background-color: var(--n-td-color-popover);+ --n-merged-border-color: var(--n-border-color-popover);+ `,[(0,s.c)("th",`+ background-color: var(--n-th-color-popover);+ `),(0,s.c)("td",`+ background-color: var(--n-td-color-popover);+ `)]))]),u=Object.assign(Object.assign({},l.Z.props),{bordered:{type:Boolean,default:!0},bottomBordered:{type:Boolean,default:!0},singleLine:{type:Boolean,default:!0},striped:Boolean,singleColumn:Boolean,size:{type:String,default:"medium"}}),h=(0,o.aZ)({name:"Table",props:u,setup(e){let{mergedClsPrefixRef:r,inlineThemeDisabled:t,mergedRtlRef:u}=(0,i.ZP)(e),h=(0,l.Z)("Table","-table",c,d.Z,e,r),p=(0,a.V)("Table",u,r),v=(0,o.Fl)(()=>{let{size:r}=e,{self:{borderColor:t,tdColor:o,tdColorModal:l,tdColorPopover:i,thColor:n,thColorModal:a,thColorPopover:d,thTextColor:c,tdTextColor:u,borderRadius:p,thFontWeight:v,lineHeight:b,borderColorModal:f,borderColorPopover:g,tdColorStriped:m,tdColorStripedModal:w,tdColorStripedPopover:y,[(0,s.Tl)("fontSize",r)]:x,[(0,s.Tl)("tdPadding",r)]:k,[(0,s.Tl)("thPadding",r)]:S},common:{cubicBezierEaseInOut:$}}=h.value;return{"--n-bezier":$,"--n-td-color":o,"--n-td-color-modal":l,"--n-td-color-popover":i,"--n-td-text-color":u,"--n-border-color":t,"--n-border-color-modal":f,"--n-border-color-popover":g,"--n-border-radius":p,"--n-font-size":x,"--n-th-color":n,"--n-th-color-modal":a,"--n-th-color-popover":d,"--n-th-font-weight":v,"--n-th-text-color":c,"--n-line-height":b,"--n-td-padding":k,"--n-th-padding":S,"--n-td-color-striped":m,"--n-td-color-striped-modal":w,"--n-td-color-striped-popover":y}}),b=t?(0,n.F)("table",(0,o.Fl)(()=>e.size[0]),v,e):void 0;return{rtlEnabled:p,mergedClsPrefix:r,cssVars:t?void 0:v,themeClass:null==b?void 0:b.themeClass,onRender:null==b?void 0:b.onRender}},render(){var e;let{mergedClsPrefix:r}=this;return null==(e=this.onRender)||e.call(this),(0,o.h)("table",{class:[`${r}-table`,this.themeClass,{[`${r}-table--rtl`]:this.rtlEnabled,[`${r}-table--bottom-bordered`]:this.bottomBordered,[`${r}-table--bordered`]:this.bordered,[`${r}-table--single-line`]:this.singleLine,[`${r}-table--single-column`]:this.singleColumn,[`${r}-table--striped`]:this.striped}],style:this.cssVars},this.$slots)}})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/6675.de5d0ccc.js b/core/public/dist/static/js/async/6675.de5d0ccc.jsdeleted file mode 100644index 0af3365f..00000000--- a/core/public/dist/static/js/async/6675.de5d0ccc.js+++ /dev/null@@ -1 +0,0 @@-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["6675"],{39432:function(e,t,a){a.d(t,{Au:()=>m,Fj:()=>s,LC:()=>o,Lb:()=>_,OV:()=>r,dj:()=>u,gK:()=>d,i7:()=>n,rU:()=>v,v1:()=>c,xh:()=>f,yW:()=>p});var l=a(34541);let{t:i}=a(76882).Z.global,n=e=>l.e.get("/domains/list",{params:e}),o=()=>l.e.get("/domains/all"),s=e=>l.e.post("/domains/create",e,{fetchOptions:{loading:i("domain.api.loading.creating"),successMessage:!0}}),d=e=>l.e.post("/domains/update",e,{fetchOptions:{loading:i("domain.api.loading.updating"),successMessage:!0}}),u=e=>l.e.post("/domains/delete",e,{fetchOptions:{loading:i("domain.api.loading.deleting"),successMessage:!0}}),r=e=>l.e.post("/domains/set_ssl",e,{fetchOptions:{loading:i("domain.api.loading.settingSSL"),successMessage:!0}}),m=e=>l.e.get("/domains/get_ssl",{params:e}),c=e=>l.e.post("/domains/fresh_dns_records",e,{fetchOptions:{loading:i("domain.api.loading.refreshingDns"),successMessage:!0}}),p=e=>l.e.post("/ssl/apply_cert",e,{fetchOptions:{loading:i("domain.api.loading.applyingCert"),successMessage:!0}}),f=e=>l.e.post("/domains/set_default_domain",e,{fetchOptions:{loading:"Setting Default Domain, please wait...",successMessage:!0}}),v=e=>l.e.post("/askai/project/create",e,{fetchOptions:{loading:"Setting domain brand info , please wait...",successMessage:!0}}),_=()=>l.e.post("/askai/supplier/status")},77984:function(e,t,a){a.d(t,{F:()=>o});var l=a(68271),i=a(94821),n=a(76882);let o=()=>{let{t:e}=n.Z.global,{copy:t,isSupported:a,copied:o}=(0,i.VPI)({legacy:!0});return{copied:o,copyText:async i=>{if(!i)return void l.v0.error(e("common.useCopy.noText"));a.value?(await t(i),l.v0.success(e("common.useCopy.success"))):l.v0.error(e("common.useCopy.failed"))}}}},16634:function(e,t,a){a.d(t,{Ao:()=>o,mL:()=>s,uL:()=>n});var l=a(34541),i=a(42205);let n={fetchOptions:{loading:"Loading... Please wait.",successMessage:!0}};async function o(e){let{legal_company_name:t,web_site:a,company_profile:n,email:o,phone:s,support_url:d,hasGotCompanyProfile:u}=(0,i.J)();if(!u.value)try{let i=await l.e.post("/askai/project/get_company_profile",{domain:e});t.value=i.legal_company_name,a.value=i.web_site,n.value=i.company_profile,o.value=i.email,s.value=i.phone,d.value=i.support_url,u.value=!0}catch(e){console.warn(e)}}async function s(e){let{legal_company_name:t,web_site:a,company_profile:o,email:s,phone:d,support_url:u}=(0,i.J)();try{await l.e.post("/askai/project/modify_company_profile",{domain:e,legal_company_name:t.value,web_site:a.value,company_profile:o.value,email:s.value,phone:d.value,support_url:u.value},n)}catch(e){console.warn(e)}}},54686:function(e,t,a){a.d(t,{L7:()=>v,Rw:()=>_,VP:()=>w,Vq:()=>h,Xe:()=>p,gK:()=>c,ke:()=>f,lQ:()=>r});var l=a(34541),i=a(16634),n=a(42205),o=a(68271),s=a(39432),d=a(31708),u=a(76882);async function r(e){let{domainTit:t,quota:a,unit:i,mailboxes:s,catch_email:d,hasGotDomainConfiguration:u,urls:r}=(0,n.J)();if(!u.value)try{let{list:n}=await l.e.get("/domains/list",{params:{keyword:e,page:1,page_size:1}}),c=(0,o.UO)(n[0].quota,!0,2).split(" ");t.value=n[0].domain,a.value=c[0],i.value=c[1],s.value=n[0].mailboxes,d.value=n[0].email,r.value=n[0].urls&&n[0].urls.length>0&&""!=n[0].urls[0]?n[0].urls:[`https://${e}`],await m(e),u.value=!0}catch(e){console.warn(e)}}async function m(e){let{brandInfo:t,createdBrandInfo:a}=(0,n.J)();try{let i=await l.e.post("/askai/project/get_project_status",{domain:e});t.value=i.status,a.value=i.create_status}catch(e){console.warn(e)}}async function c(){let{domainTit:e,quota:t,unit:a,urls:o,mailboxes:s,catch_email:d}=(0,n.J)(),u=function(e,t){switch(t){case"KB":return 1024*e;case"MB":return 1024*e*1024;case"GB":return 1024*e*1048576;case"TB":return 1024*e*0x40000000;default:return e}}(Number(t.value),a.value);try{await l.e.post("/domains/update",{domain:e.value,mailboxes:s.value,mailboxQuota:u,quota:u,rateLimit:1,active:1,email:d.value,urls:o.value},i.uL)}catch(e){console.warn(e)}}async function p(){let{waitAndCheckDomainStatusRef:e,domainTit:t,urls:a,hasGotDomainConfiguration:l}=(0,n.J)(),i=(0,d.s6)();if(l.value=!1,0==a.value.length||""==a.value[0])o.v0.error(u.Z.global.t("domain.edit.domainConfiguration.fillDomain"));else if((0,o.CB)(a.value[0]))try{await (0,s.rU)({domain:t.value,urls:a.value}),i.domainSource=t.value,e.value.open(t.value,()=>{f(t.value,1),r(t.value)})}catch(e){console.warn(e)}else o.v0.error(u.Z.global.t("domain.edit.domainConfiguration.fillValidDomain"))}async function f(e,t){try{await l.e.post("/domains/update",{domain:e,hasbrandinfo:t})}catch(e){console.warn(e)}}function v(e){let{urls:t}=(0,n.J)(),a=t.value[0].match(/http:\/\/?/g),l=t.value[0].match(/https:\/\/?/g);a&&(t.value[0]=a[0]+e),l&&(t.value[0]=l[0]+e),a||l||(t.value[0]="https://"+e)}function _(e){let{urls:t}=(0,n.J)();t.value.splice(e,1)}function w(){let{hasGotAisettings:e,hasGotCompanyProfile:t,hasGotDomainConfiguration:a,hasGotFootersettings:l,hasGotProjectDetail:i,hasGotSitemap:o,hasGotStyling:s}=(0,n.J)();e.value=!1,t.value=!1,a.value=!1,l.value=!1,i.value=!1,o.value=!1,s.value=!1}async function h(e){let{brandInfo:t,domainTit:a}=(0,n.J)();try{await l.e.post("/askai/project/set_project_status",{domain:a.value,status:e},i.uL),await l.e.post("/domains/update",{domain:a.value,active:1,hasbrandinfo:Number(e)})}catch(a){t.value=!e,console.warn(a)}}},42205:function(e,t,a){a.d(t,{J:()=>o});var l=a(30989),i=a(58786);let n=(0,l.Q_)("editDomainStore",()=>{let e=(0,i.iH)(!1),t=(0,i.iH)(""),a=(0,i.iH)("0"),l=(0,i.iH)("B"),n=(0,i.iH)(0),o=(0,i.iH)(""),s=(0,i.iH)(["https://"]),d=(0,i.iH)(!1),u=(0,i.iH)(),r=(0,i.iH)(!1),m=(0,i.iH)(!1),c=(0,i.iH)(""),p=(0,i.iH)(""),f=(0,i.iH)(""),v=(0,i.iH)(""),_=(0,i.iH)(""),w=(0,i.iH)(""),h=(0,i.iH)(""),y=(0,i.iH)([]),S=(0,i.iH)({title:"",content:"",kid:"",update_time:0}),g=(0,i.iH)(""),U=(0,i.iH)(""),b=(0,i.iH)(!1),x=(0,i.iH)(!1),k=(0,i.iH)(""),W=(0,i.iH)(!1),z=(0,i.iH)(""),H=(0,i.iH)(!1),Z=(0,i.iH)(""),C=(0,i.iH)(""),q=(0,i.iH)(""),j=(0,i.iH)(""),D=(0,i.iH)(""),P=(0,i.iH)(""),$=(0,i.iH)(!1),T=(0,i.iH)(""),M=(0,i.iH)(""),O=(0,i.iH)(""),F=(0,i.iH)(""),A=(0,i.iH)(""),B=(0,i.iH)(""),I=(0,i.iH)(""),L=(0,i.iH)(""),J=(0,i.iH)(!1),R=(0,i.iH)([{title:"",uri_path:""}]),G=(0,i.iH)(!1),K=(0,i.iH)(""),V=(0,i.iH)("");return{hasGotDomainConfiguration:e,domainTit:t,quota:a,unit:l,mailboxes:n,catch_email:o,urls:s,brandInfo:d,waitAndCheckDomainStatusRef:u,createdBrandInfo:r,hasGotProjectDetail:m,domain:c,description:p,favicon:f,industry:v,primary_logo:_,project_name:w,secondary_logo:h,knowledge_base:y,activeKnowledge:S,knowledgeTitle:g,knowledgeContent:U,knowledgeModalShow:b,isEditKnowledge:x,knowledge_base_content:k,knowledgeBasePreview:W,knowledgeBasePreviewTit:z,hasGotCompanyProfile:H,legal_company_name:Z,web_site:C,company_profile:q,email:j,phone:D,support_url:P,hasGotStyling:$,accent_color:T,text_color:M,page_background:O,container_background:F,link_social_color:A,link_footer_color:B,heading_font:I,body_font:L,hasGotSitemap:J,sitemap:R,hasGotFootersettings:G,copyright_text:K,disclaimer:V,hasGotAisettings:(0,i.iH)(!1),prompt:(0,i.iH)("")}});function o(){let e=n();return{...(0,l.Jk)(e)}}},51169:function(e,t,a){a.d(t,{d:()=>o});var l=a(58786),i=a(49247);let n=Symbol("MODAL_INJECT"),o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{state:t={},component:a,onCancel:o,onConfirm:s}=e,d=(0,l.qj)({});return a?[(0,l.aZ)({setup(i,o){let{attrs:s,slots:u}=o;return(0,l.JJ)(n,{state:t,options:e,extendApi:e=>{Object.setPrototypeOf(d,e)},setState:e=>{Object.assign(t,e)}}),()=>(0,l.h)(a,{...i,...s},u)}}),d]:[(0,l.aZ)({setup(t,a){let{attrs:u,slots:r}=a,m=(0,l.f3)(n),c=(0,l.iH)(!1);return d.open=()=>{var t;c.value=!0,null==(t=e.onChangeState)||t.call(e,c.value)},d.close=()=>{c.value=!1},d.setState=t=>{var a;null==m||m.setState(t),null==(a=e.onChangeState)||a.call(e,c.value)},d.getState=()=>(null==m?void 0:m.state)??{},null==m||m.extendApi(d),()=>(0,l.Wm)(i.Z,(0,l.dG)({show:c.value},t,u,{onCancel:o,onConfirm:s,"onUpdate:show":e=>{c.value=e??!1}}),r)}}),d]}},16893:function(e,t,a){a.d(t,{Z:()=>o});var l=a(15496),i=a(58786);let n={class:"mr-4px"},o=(0,i.aZ)({__name:"index",props:{href:{type:String,default:""},text:{type:String,default:""}},setup(e){let t=()=>{window.open(e.href)};return(a,o)=>{let s=l.ZP;return(0,i.wg)(),(0,i.j4)(s,{text:"",onClick:t},{default:(0,i.w5)(()=>[(0,i._)("span",n,(0,i.zw)(e.text||a.$t("common.actions.help")),1),o[0]||(o[0]=(0,i._)("i",{class:"i-custom:help text-primary"},null,-1))]),_:1,__:[0]})}}})},88583:function(e,t,a){a.d(t,{Z:()=>n});var l=a(58786);let i={class:"bt-tips flex flex-col gap-4px list-outside list-disc leading-20px text-[#777]"},n=(0,a(41748).default)({},[["render",function(e,t){return(0,l.wg)(),(0,l.iD)("ul",i,[(0,l.WI)(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-8731a1b4"]])},46244:function(e,t,a){a.d(t,{Z:()=>n});var l=a(98048),i=a(58786);let n=(0,i.aZ)({__name:"index",props:{model:{},rules:{},labelWidth:{},labelPlacement:{default:"top"}},setup(e,t){let{expose:a}=t,n=(0,i.iH)(null);return a({validate:()=>{var e;return null==(e=n.value)?void 0:e.validate()},restoreValidation:()=>{var e;return null==(e=n.value)?void 0:e.restoreValidation()}}),(e,t)=>{let a=l.Z;return(0,i.wg)(),(0,i.j4)(a,(0,i.dG)(e.$attrs,{ref_key:"formRef",ref:n,model:e.model,rules:e.rules,"label-width":e.labelWidth,"label-placement":e.labelPlacement}),{default:(0,i.w5)(()=>[(0,i.WI)(e.$slots,"default")]),_:3},16,["model","rules","label-width","label-placement"])}}})},1418:function(e,t,a){a.d(t,{Z:()=>p});var l=a(5057),i=a(57869),n=a(58786),o=a(99778),s=a(31708),d=a(34541),u=a(68271),r=a(52495);let m={class:"flex justify-start gap-2.5 bg-transparent items-center"},c={class:"flex items-center text-4"},p=(0,n.aZ)({__name:"WaitAndCheckDomainStatus",setup(e,t){let{expose:a}=t,{t:p}=(0,r.QT)(),f=(0,n.iH)(!1),v=(0,s.s6)(),_=(0,n.iH)();function w(){f.value=!1}function h(e,t){let a=setInterval(async()=>{await y(e)&&(u.v0.success(p("domain.waitAndCheckDomainStatus.success")),t&&t(),w(),clearInterval(a),_.value.open())},1e3)}async function y(e){try{if((await d.e.post("/askai/project/get_base_info",{domain:e})).update_time)return!0;return!1}catch(e){return console.warn(e),u.v0.error(p("domain.waitAndCheckDomainStatus.error")),!1}}return a({open:function(e,t){h(e,t),v.domainSource=e,f.value=!0},close:w,checkStatus:h}),(e,t)=>{let a=i.ZP,s=l.Z;return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(s,{show:(0,n.SU)(f),"onUpdate:show":t[0]||(t[0]=e=>(0,n.dq)(f)?f.value=e:null),"close-on-esc":!1,"mask-closable":!1},{default:(0,n.w5)(()=>[(0,n.Wm)(a,{style:{width:"auto"}},{default:(0,n.w5)(()=>[(0,n._)("div",m,[t[1]||(t[1]=(0,n._)("i",{class:"i-svg-spinners:bars-scale text-[var(--color-primary-1)] text-6"},null,-1)),(0,n._)("span",c,(0,n.zw)(e.$t("domain.waitAndCheckDomainStatus.loading")),1)])]),_:1})]),_:1},8,["show"]),(0,n.Wm)(o.Z,{ref_key:"createTplModal",ref:_,"only-ai":!0},null,512)],64)}}})},16435:function(e,t,a){a.r(t),a.d(t,{default:()=>eT});var l=a(39244),i=a(25170),n=a(60424),o=a(66760),s=a(16893),d=a(58786),u=a(15496),r=a(53903),m=a(93953),c=a(68271),p=a(51169),f=a(67512),v=a(39432),_=a(46244),w=a(99321),h=a(29875),y=a(8490),S=a(29283),g=a(6455),U=a(73084),b=a(49942),x=a(88583),k=a(1418),W=a(52672),z=a(31708),H=a(52495);let Z={class:"pt-16px"},C={class:"flex items-center justify-start gap-1.25"},q={class:"text-error"},j={class:"w-100px ml-20px"},D={class:"flex justify-start items-center"},P={class:"w-100% flex justify-between items-center"},$={class:"mr-5"},T={class:"text-[#777] flex justify-start"},M={class:"w-100% flex flex-col gap-2.5"},O=["onClick"],F=(0,d.aZ)({__name:"DomainForm",setup(e){let{t}=(0,H.QT)(),a=(0,d.iH)(!1),l=(0,d.iH)(),i=(0,d.Fl)(()=>a.value?t("domain.form.editTitle"):t("domain.form.addTitle")),n=(0,d.iH)(!1),o=(0,z.s6)(),s=(0,d.AE)("formRef"),r=(0,d.iH)(!1),m=(0,d.iH)(["https://"]),f=(0,d.qj)({domain:"",a_record:"",quota:5,quota_unit:"GB",mailboxes:50,email:""}),F=[{label:"GB",value:"GB"},{label:"MB",value:"MB"}],A={domain:{trigger:["blur","input"],validator:()=>""!==f.domain.trim()||Error(t("domain.form.validation.domainRequired"))}},B=(e,t)=>{switch(t){case"GB":return 1024*e*1048576;case"MB":return 1024*e*1024;default:return e}},I=e=>{let t=m.value[0].match(/http:\/\/?/g),a=m.value[0].match(/https:\/\/?/g);t&&(m.value[0]=t[0]+e),a&&(m.value[0]=a[0]+e),t||a||(m.value[0]="https://"+e)},L=e=>{m.value.splice(e,1)},[J,R]=(0,p.d)({onChangeState:async e=>{if(e){let e=R.getState();if(a.value=e.isEdit,n.value=(await (0,v.Lb)()).is_configured,e.row){let{row:t}=e;f.domain=t.domain,f.a_record=t.a_record;let a=(0,c.UO)(t.quota);f.quota=(0,c.Dx)(a.split(" ")[0]),f.quota_unit=a.split(" ")[1],f.mailboxes=t.mailboxes,f.email=t.email}}else f.domain="",f.a_record="",f.quota=5,f.quota_unit="GB",f.mailboxes=50,f.email="",m.value=["https://"]},onConfirm:async()=>{var e;await (null==(e=s.value)?void 0:e.validate()),a.value?await (0,v.gK)({domain:f.domain,quota:B(f.quota,f.quota_unit),mailboxes:f.mailboxes,email:f.email,urls:m.value}):(await (0,v.Fj)({domain:f.domain,quota:B(f.quota,f.quota_unit),mailboxes:f.mailboxes,email:f.email,urls:m.value,hasbrandinfo:Number(r.value)}),r.value?(await (0,v.rU)({domain:f.domain,urls:m.value}),l.value.open(f.domain),o.domainSource=f.domain):o.domainSource=""),R.getState().refresh()}});function G(){W.Z.push({name:"AiModel"})}return(e,o)=>{let c=x.Z,p=b.ZP,v=U.Z,W=g.ZP,z=S.Z,H=y.Z,B=h.Z,R=u.ZP,K=w.Z,V=_.Z;return(0,d.wg)(),(0,d.iD)(d.HY,null,[(0,d.Wm)((0,d.SU)(J),{title:(0,d.SU)(i),width:600},{default:(0,d.w5)(()=>[(0,d._)("div",Z,[(0,d.Wm)(V,{ref_key:"formRef",ref:s,model:(0,d.SU)(f),rules:A},{default:(0,d.w5)(()=>[(0,d.Wm)(W,{path:"domain"},{label:(0,d.w5)(()=>[(0,d._)("div",C,[(0,d._)("span",null,(0,d.zw)((0,d.SU)(t)("domain.form.domain")),1),(0,d.Wm)(p,{trigger:"hover"},{trigger:(0,d.w5)(()=>o[7]||(o[7]=[(0,d._)("i",{class:"i-custom:help text-primary cursor-pointer"},null,-1)])),default:(0,d.w5)(()=>[(0,d.Wm)(c,null,{default:(0,d.w5)(()=>[(0,d._)("li",q,(0,d.zw)((0,d.SU)(t)("domain.form.tips.aRecordFailed")),1),(0,d._)("li",null,(0,d.zw)((0,d.SU)(t)("domain.form.tips.dnsSetup")),1),(0,d._)("li",null,(0,d.zw)((0,d.SU)(t)("domain.form.tips.cloudflare")),1)]),_:1})]),_:1})])]),default:(0,d.w5)(()=>[(0,d.Wm)(v,{value:(0,d.SU)(f).domain,"onUpdate:value":[o[0]||(o[0]=e=>(0,d.SU)(f).domain=e),I],disabled:(0,d.SU)(a),placeholder:(0,d.SU)(t)("domain.form.domainPlaceholder")},null,8,["value","disabled","placeholder"])]),_:1}),(0,d.kq)("",!0),(0,d.Wm)(W,{label:(0,d.SU)(t)("domain.form.quota")},{default:(0,d.w5)(()=>[(0,d.Wm)(z,{value:(0,d.SU)(f).quota,"onUpdate:value":o[2]||(o[2]=e=>(0,d.SU)(f).quota=e),class:"flex-1",min:0,"show-button":!1},null,8,["value"]),(0,d._)("div",j,[(0,d.Wm)(H,{value:(0,d.SU)(f).quota_unit,"onUpdate:value":o[3]||(o[3]=e=>(0,d.SU)(f).quota_unit=e),options:F},null,8,["value"])])]),_:1},8,["label"]),(0,d.Wm)(W,{label:(0,d.SU)(t)("domain.form.mailboxCount")},{default:(0,d.w5)(()=>[(0,d.Wm)(z,{value:(0,d.SU)(f).mailboxes,"onUpdate:value":o[4]||(o[4]=e=>(0,d.SU)(f).mailboxes=e),class:"flex-1",min:0,"show-button":!1},null,8,["value"])]),_:1},8,["label"]),(0,d.Wm)(W,{label:(0,d.SU)(t)("domain.form.globalCatch")},{default:(0,d.w5)(()=>[(0,d.Wm)(v,{value:(0,d.SU)(f).email,"onUpdate:value":o[5]||(o[5]=e=>(0,d.SU)(f).email=e),placeholder:(0,d.SU)(t)("domain.form.globalCatchPlaceholder")},null,8,["value","placeholder"])]),_:1},8,["label"]),(0,d.Wm)(W,null,{label:(0,d.w5)(()=>[(0,d._)("div",D,[o[8]||(o[8]=(0,d._)("i",{class:"i-domain:brand-info w-5 h-5 mr-1.25"},null,-1)),(0,d._)("span",null,(0,d.zw)(e.$t("domain.form.createBrandInfo")),1)])]),default:(0,d.w5)(()=>[(0,d.Wm)(B,{value:(0,d.SU)(r),"onUpdate:value":o[6]||(o[6]=e=>(0,d.dq)(r)?r.value=e:null),disabled:!(0,d.SU)(n)},null,8,["value","disabled"])]),_:1}),(0,d.SU)(n)?(0,d.kq)("",!0):((0,d.wg)(),(0,d.j4)(K,{key:1,style:{margin:"0 0 15px 0"},type:"warning","show-icon":!1},{default:(0,d.w5)(()=>[(0,d._)("div",P,[(0,d._)("span",$,(0,d.zw)(e.$t("domain.form.modelNotice")),1),(0,d.Wm)(R,{type:"primary",onClick:G},{default:(0,d.w5)(()=>[(0,d.Uk)((0,d.zw)(e.$t("domain.form.integrateImmediately")),1)]),_:1})])]),_:1})),(0,d._)("div",T,[o[9]||(o[9]=(0,d._)("span",null,[(0,d._)("i",{class:"i-domain:brand-info w-5 h-5 mr-1.25"})],-1)),(0,d._)("span",null,(0,d.zw)(e.$t("domain.form.modelDescription")),1)]),(0,d.Wm)(c,{style:{"margin-bottom":"15px"}},{default:(0,d.w5)(()=>[(0,d._)("li",null,(0,d.zw)(e.$t("domain.form.extractBrand")),1),(0,d._)("li",null,(0,d.zw)(e.$t("domain.form.analyzeStructure")),1),(0,d._)("li",null,(0,d.zw)(e.$t("domain.form.importContent")),1),(0,d._)("li",null,(0,d.zw)(e.$t("domain.form.customLogo")),1)]),_:1}),(0,d.Wm)(W,{label:e.$t("domain.form.specifyDomain")},{default:(0,d.w5)(()=>[(0,d._)("div",M,[((0,d.wg)(!0),(0,d.iD)(d.HY,null,(0,d.Ko)((0,d.SU)(m),(e,a)=>((0,d.wg)(),(0,d.iD)("div",{key:a,class:"flex justify-start items-center gap-2.5"},[(0,d.Wm)(v,{value:(0,d.SU)(m)[a],"onUpdate:value":e=>(0,d.SU)(m)[a]=e,placeholder:(0,d.SU)(t)("domain.form.urlsPlacement"),disabled:!(0,d.SU)(n)},null,8,["value","onUpdate:value","placeholder","disabled"]),0!=a?((0,d.wg)(),(0,d.iD)("div",{key:0,class:"close",onClick:e=>L(a)},o[10]||(o[10]=[(0,d._)("i",{class:"i-material-symbols:close-rounded text-5"},null,-1)]),8,O)):(0,d.kq)("",!0)]))),128))])]),_:1},8,["label"])]),_:1},8,["model"])])]),_:1},8,["title"]),(0,d.Wm)(k.Z,{ref_key:"waitAndCheckDomainStatusRef",ref:l},null,512)],64)}}});var A=a(41748);let B=(0,A.default)(F,[["__scopeId","data-v-29d787c6"]]);var I=a(10320);let L=(0,d.aZ)({__name:"index",props:{value:{},valueModifiers:{}},emits:["update:value"],setup(e){let t=(0,d.tT)(e,"value");return(e,a)=>{let l=I.Z;return(0,d.wg)(),(0,d.j4)(l,{value:t.value,"onUpdate:value":a[0]||(a[0]=e=>t.value=e),class:"bt-tabs h-full",type:"card",placement:"top"},{default:(0,d.w5)(()=>[(0,d.WI)(e.$slots,"default")]),_:3},8,["value"])}}}),J=(0,A.default)(L,[["__scopeId","data-v-53057eda"]]);var R=a(43751),G=a(60579);let K={class:"ssl-cert-container"},V={class:"brand-info"},E={class:"info-label"},Q={class:"info-value"},X={class:"info-label"},N={class:"info-value font-normal!"},Y={class:"cert-content"},ee={class:"cert-section"},et={class:"section-title"},ea={class:"cert-section"},el={class:"section-title"},ei={class:"cert-actions"},en=(0,d.aZ)({__name:"OtherCert",props:{domain:{type:Object,required:!0},refresh:{type:Function,required:!0}},setup(e){let t=(0,d.iH)(!1),a=(0,d.iH)({subject:"",issuer:"",not_before:"",not_after:"",dns:[],endtime:0,key_pem:"",cert_pem:""}),l=(0,d.Fl)(()=>a.value.dns||[]),i=async()=>{try{t.value=!0;let l=await (0,v.Au)({domain:e.domain.domain});(0,c.Kn)(l)&&(a.value=l)}finally{t.value=!1}},n=async()=>{await (0,v.OV)({domain:e.domain.domain,key:a.value.key_pem,certificate:a.value.cert_pem}),i(),e.refresh()},o=async()=>{await (0,v.yW)({domain:e.domain.domain}),i(),e.refresh()};return a.value=e.domain.cert_info,(e,i)=>{let s=r.ZP,m=w.Z,c=U.Z,p=u.ZP,f=G.Z,v=x.Z;return(0,d.wg)(),(0,d.iD)("div",K,[(0,d.Wm)(f,{show:(0,d.SU)(t)},{default:(0,d.w5)(()=>[(0,d.SU)(a).endtime>0?((0,d.wg)(),(0,d.j4)(m,{key:0,class:"mb-16px",type:"success","show-icon":!1},{default:(0,d.w5)(()=>[(0,d._)("div",V,[(0,d._)("div",E,(0,d.zw)(e.$t("domain.ssl.cert.brand"))+":",1),(0,d._)("div",Q,(0,d.zw)((0,d.SU)(a).issuer),1),(0,d._)("div",X,(0,d.zw)(e.$t("domain.ssl.cert.domains"))+":",1),(0,d._)("div",N,[((0,d.wg)(!0),(0,d.iD)(d.HY,null,(0,d.Ko)((0,d.SU)(l),(e,t)=>((0,d.wg)(),(0,d.j4)(s,{key:t,size:"small"},{default:(0,d.w5)(()=>[(0,d.Uk)((0,d.zw)(e),1)]),_:2},1024))),128))])])]),_:1})):(0,d.kq)("",!0),(0,d._)("div",Y,[(0,d._)("div",ee,[(0,d._)("div",et,(0,d.zw)(e.$t("domain.ssl.cert.privateKey")),1),(0,d.Wm)(c,{value:(0,d.SU)(a).key_pem,"onUpdate:value":i[0]||(i[0]=e=>(0,d.SU)(a).key_pem=e),type:"textarea",placeholder:e.$t("domain.ssl.cert.keyPlaceholder"),rows:14,"input-props":{spellcheck:!1}},null,8,["value","placeholder"])]),(0,d._)("div",ea,[(0,d._)("div",el,(0,d.zw)(e.$t("domain.ssl.cert.certificate")),1),(0,d.Wm)(c,{value:(0,d.SU)(a).cert_pem,"onUpdate:value":i[1]||(i[1]=e=>(0,d.SU)(a).cert_pem=e),type:"textarea",placeholder:e.$t("domain.ssl.cert.certPlaceholder"),"input-props":{spellcheck:!1},rows:14},null,8,["value","placeholder"])])]),(0,d._)("div",ei,[(0,d.Wm)(p,{type:"primary",onClick:n},{default:(0,d.w5)(()=>[(0,d.Uk)((0,d.zw)(e.$t("common.actions.save")),1)]),_:1}),(0,d.Wm)(p,{type:"primary",onClick:o},{default:(0,d.w5)(()=>[(0,d.Uk)((0,d.zw)(e.$t("domain.ssl.actions.applyFree")),1)]),_:1})])]),_:1},8,["show"]),(0,d.Wm)(v,null,{default:(0,d.w5)(()=>[(0,d._)("li",null,(0,d.zw)(e.$t("domain.ssl.tips.paste")),1),(0,d._)("li",null,(0,d.zw)(e.$t("domain.ssl.tips.chainCheck")),1),(0,d._)("li",null,(0,d.zw)(e.$t("domain.ssl.tips.pemFormat")),1),(0,d._)("li",null,(0,d.zw)(e.$t("domain.ssl.tips.defaultSite")),1)]),_:1})])}}}),eo=(0,A.default)(en,[["__scopeId","data-v-bd7d6d60"]]),es=(0,d.aZ)({__name:"index",setup(e){let t=(0,d.iH)("other"),a=(0,d.iH)(null),[l,i]=(0,p.d)({onChangeState:e=>{if(e){let{row:e}=i.getState();e&&(a.value=e)}}}),n=()=>{i.getState().refresh()};return(e,i)=>{let o=R.Z;return(0,d.wg)(),(0,d.j4)((0,d.SU)(l),{title:e.$t("domain.ssl.title"),width:650,footer:!1},{default:(0,d.w5)(()=>[(0,d.Wm)(J,{value:(0,d.SU)(t),"onUpdate:value":i[0]||(i[0]=e=>(0,d.dq)(t)?t.value=e:null)},{default:(0,d.w5)(()=>[(0,d.Wm)(o,{name:"other",tab:e.$t("domain.ssl.tabs.otherCertificate")},{default:(0,d.w5)(()=>[(0,d.SU)(a)?((0,d.wg)(),(0,d.j4)(eo,{key:0,domain:(0,d.SU)(a),refresh:n},null,8,["domain"])):(0,d.kq)("",!0)]),_:1},8,["tab"])]),_:1},8,["value"])]),_:1},8,["title"])}}});var ed=a(35409),eu=a(50039),er=a(56357),em=a(87075),ec=a(62198),ep=a(77984);let ef={class:"record-title"},ev={width:"140"},e_={width:"160"},ew={class:"record-title"},eh={class:"record-desc"},ey={width:"140"},eS={width:"160"},eg={class:"record-title"},eU={class:"record-desc"},eb={width:"140"},ex={width:"160"},ek={class:"record-title"},eW={class:"record-desc"},ez={class:"record-desc"},eH={class:"flex justify-center mt-24px"},eZ=(0,d.aZ)({__name:"DomainDns",setup(e){let{t}=(0,H.QT)(),{copyText:a}=(0,ep.F)(),l=(0,d.iH)([]),i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"value";return l.value.length>0?l.value[0].dns_records[e][t]:""},o=(0,d.Fl)(()=>i("dkim")),s=(0,d.Fl)(()=>i("a")),r=(0,d.Fl)(()=>i("a","host")),m=(0,d.Fl)(()=>i("mx")),f=(0,d.Fl)(()=>i("mx","host")),_=(0,d.Fl)(()=>i("dmarc")),w=(0,d.Fl)(()=>i("spf")),h=e=>{let{status:a}=e;return(0,d.Wm)("div",{class:["inline-flex items-center",a?"text-primary":"text-error"]},[(0,d.Wm)(er.g,{size:"16"},{default:()=>[a?(0,d.Wm)(em.Z,null,null):(0,d.Wm)(ec.Z,null,null)]}),(0,d.Wm)("span",{class:"ml-4px"},[a?t("domain.dns.status.ok"):t("domain.dns.status.notSet")])])},y=(0,d.iH)([{key:"domain",title:t("domain.dns.columns.domain"),width:"20%",ellipsis:{tooltip:!0}},{key:"mx",title:"MX",render:e=>{let t=e.dns_records.mx;return(0,d.Wm)(h,{status:(null==t?void 0:t.valid)||!1},null)}},{key:"a",title:"A record",render:e=>{let t=e.dns_records.a;return(0,d.Wm)(h,{status:(null==t?void 0:t.valid)||!1},null)}},{key:"spf",title:"SPF",render:e=>{let t=e.dns_records.spf;return(0,d.Wm)(h,{status:(null==t?void 0:t.valid)||!1},null)}},{key:"dkim",title:"DKIM",render:e=>{let t=e.dns_records.dkim;return(0,d.Wm)(h,{status:(null==t?void 0:t.valid)||!1},null)}},{key:"dmarc",title:"DMARC",render:e=>{let t=e.dns_records.dmarc;return(0,d.Wm)(h,{status:(null==t?void 0:t.valid)||!1},null)}},{key:"ptr",title:"PTR",render:e=>{let t=e.dns_records.ptr;return(0,d.Wm)(h,{status:(null==t?void 0:t.valid)||!1},null)}}]),S=async()=>{let e=await (0,v.v1)({domain:l.value[0].domain});(0,c.Kn)(e)&&(l.value[0].dns_records=e);let{refresh:t}=U.getState();t()},[g,U]=(0,p.d)({onChangeState:e=>{if(e){let{row:e}=U.getState();e&&(l.value=[e])}}});return(e,i)=>{let c=n.Z,p=eu.Z,v=ed.ZP,h=u.ZP;return(0,d.wg)(),(0,d.j4)((0,d.SU)(g),{title:(0,d.SU)(t)("domain.dns.title"),width:750,footer:!1},{default:(0,d.w5)(()=>[(0,d._)("div",null,[(0,d.Wm)(c,{size:"small",class:"mb-20px",data:(0,d.SU)(l),columns:(0,d.SU)(y)},null,8,["data","columns"]),(0,d._)("div",ef,(0,d.zw)((0,d.SU)(t)("domain.dns.step1.title")),1),(0,d.Wm)(p,{size:"small",class:"mb-24px"},{default:(0,d.w5)(()=>[(0,d._)("thead",null,[(0,d._)("tr",null,[(0,d._)("th",ev,(0,d.zw)((0,d.SU)(t)("domain.dns.table.recordType")),1),(0,d._)("th",e_,(0,d.zw)((0,d.SU)(t)("domain.dns.table.host")),1),(0,d._)("th",null,(0,d.zw)((0,d.SU)(t)("domain.dns.table.value")),1)])]),(0,d._)("tbody",null,[(0,d._)("tr",null,[i[3]||(i[3]=(0,d._)("td",null,"A",-1)),(0,d._)("td",null,(0,d.zw)((0,d.SU)(r)),1),(0,d._)("td",null,(0,d.zw)((0,d.SU)(s)),1)])])]),_:1}),(0,d._)("div",ew,(0,d.zw)((0,d.SU)(t)("domain.dns.step2.title")),1),(0,d._)("div",eh,(0,d.zw)((0,d.SU)(t)("domain.dns.step2.description")),1),(0,d.Wm)(p,{size:"small",class:"mb-24px"},{default:(0,d.w5)(()=>[(0,d._)("thead",null,[(0,d._)("tr",null,[(0,d._)("th",ey,(0,d.zw)((0,d.SU)(t)("domain.dns.table.recordType")),1),(0,d._)("th",eS,(0,d.zw)((0,d.SU)(t)("domain.dns.table.host")),1),(0,d._)("th",null,(0,d.zw)((0,d.SU)(t)("domain.dns.table.value")),1),(0,d._)("th",null,(0,d.zw)((0,d.SU)(t)("domain.dns.table.mxPriority")),1)])]),(0,d._)("tbody",null,[(0,d._)("tr",null,[i[4]||(i[4]=(0,d._)("td",null,"MX",-1)),(0,d._)("td",null,(0,d.zw)((0,d.SU)(f)),1),(0,d._)("td",null,(0,d.zw)((0,d.SU)(m)),1),i[5]||(i[5]=(0,d._)("td",null,"10",-1))])])]),_:1}),(0,d._)("div",eg,(0,d.zw)((0,d.SU)(t)("domain.dns.step3.title")),1),(0,d._)("div",eU,(0,d.zw)((0,d.SU)(t)("domain.dns.step3.description")),1),(0,d.Wm)(p,{size:"small",class:"mb-24px"},{default:(0,d.w5)(()=>[(0,d._)("thead",null,[(0,d._)("tr",null,[(0,d._)("th",eb,(0,d.zw)((0,d.SU)(t)("domain.dns.table.recordType")),1),(0,d._)("th",ex,(0,d.zw)((0,d.SU)(t)("domain.dns.table.host")),1),(0,d._)("th",null,(0,d.zw)((0,d.SU)(t)("domain.dns.table.value")),1)])]),(0,d._)("tbody",null,[(0,d._)("tr",null,[i[6]||(i[6]=(0,d._)("td",null,"TXT",-1)),i[7]||(i[7]=(0,d._)("td",null,"@",-1)),(0,d._)("td",null,[(0,d.Wm)(v,{class:"mr-4px max-w-320px!"},{default:(0,d.w5)(()=>[(0,d.Uk)((0,d.zw)((0,d.SU)(w)),1)]),_:1}),(0,d.Wm)(h,{text:"",type:"primary",onClick:i[0]||(i[0]=()=>(0,d.SU)(a)((0,d.SU)(w)))},{default:(0,d.w5)(()=>[(0,d.Uk)((0,d.zw)((0,d.SU)(t)("common.actions.copy")),1)]),_:1})])]),(0,d._)("tr",null,[i[8]||(i[8]=(0,d._)("td",null,"TXT",-1)),i[9]||(i[9]=(0,d._)("td",null,"default._domainkey",-1)),(0,d._)("td",null,[(0,d.Wm)(v,{class:"mr-4px max-w-320px!"},{default:(0,d.w5)(()=>[(0,d.Uk)((0,d.zw)((0,d.SU)(o)||"--"),1)]),_:1}),(0,d.SU)(o)?((0,d.wg)(),(0,d.j4)(h,{key:0,text:"",type:"primary",onClick:i[1]||(i[1]=()=>(0,d.SU)(a)((0,d.SU)(o)))},{default:(0,d.w5)(()=>[(0,d.Uk)((0,d.zw)((0,d.SU)(t)("common.actions.copy")),1)]),_:1})):(0,d.kq)("",!0)])]),(0,d._)("tr",null,[i[10]||(i[10]=(0,d._)("td",null,"TXT",-1)),i[11]||(i[11]=(0,d._)("td",null,"_dmarc",-1)),(0,d._)("td",null,[(0,d.Wm)(v,{class:"mr-4px max-w-320px!"},{default:(0,d.w5)(()=>[(0,d.Uk)((0,d.zw)((0,d.SU)(_)),1)]),_:1}),(0,d.SU)(_)?((0,d.wg)(),(0,d.j4)(h,{key:0,text:"",type:"primary",onClick:i[2]||(i[2]=()=>(0,d.SU)(a)((0,d.SU)(_)))},{default:(0,d.w5)(()=>[(0,d.Uk)((0,d.zw)((0,d.SU)(t)("common.actions.copy")),1)]),_:1})):(0,d.kq)("",!0)])])])]),_:1}),(0,d._)("div",ek,(0,d.zw)((0,d.SU)(t)("domain.dns.step4.title")),1),(0,d._)("div",eW,(0,d.zw)((0,d.SU)(t)("domain.dns.step4.description1")),1),(0,d._)("div",ez,(0,d.zw)((0,d.SU)(t)("domain.dns.step4.description2")),1)]),(0,d._)("div",eH,[(0,d.Wm)(h,{type:"primary",onClick:S},{default:(0,d.w5)(()=>[(0,d.Uk)((0,d.zw)((0,d.SU)(t)("domain.dns.verify")),1)]),_:1})])]),_:1},8,["title"])}}}),eC=(0,A.default)(eZ,[["__scopeId","data-v-8094e116"]]);var eq=a(65965);let ej={class:"p-24px"},eD={class:"bt-title"};function eP(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,d.lA)(e)}let e$=(0,d.aZ)({__name:"index",setup(e){let{t}=(0,H.QT)(),{tableParams:a,tableList:_,loading:w,tableTotal:h,getTableData:y}=(0,f.Z)({immediate:!0,params:{page:1,page_size:10,keyword:""},fetchFn:v.i7}),S=(0,eq.tv)(),g=(0,eq.yj)(),U=(0,d.iH)([{key:"domain",title:t("domain.columns.domain"),minWidth:130,ellipsis:{tooltip:!0},render:e=>(0,d.Wm)(d.HY,null,[(0,d.Wm)("div",{class:"inline-flex items-center"},[1==e.hasbrandinfo&&(0,d.Wm)("i",{class:"i-domain:brand-info w-4 h-4 mr-1.25"},null),(0,d.Wm)(u.ZP,{text:!0,type:"primary",onClick:()=>P(e)},{default:()=>[e.domain]})]),e.default?(0,d.Wm)(r.ZP,{size:"small",class:"ml-8px",bordered:!1},{default:()=>[(0,d.Uk)("Default")]}):""])},{key:"quota",title:t("domain.columns.quota"),render:e=>(0,c.UO)(e.quota)},{key:"mailboxes",title:t("domain.columns.mailboxes")},{key:"mailbox_quota",title:t("domain.columns.defaultMailboxSize"),render:e=>(0,c.UO)(e.mailbox_quota)},{key:"ssl",title:"SSL",render:e=>{let a;if(e.cert_info&&e.cert_info.endtime){let a=Math.floor((1e3*e.cert_info.endtime-Date.now())/1e3/60/60/24);return(0,d.Wm)(u.ZP,{type:a<0?"error":"primary",text:!0,onClick:()=>{Z(e)}},{default:()=>[a<0?t("domain.ssl.expired"):t("domain.ssl.daysLeft",{days:a})]})}return(0,d.Wm)(u.ZP,{type:"warning",text:!0,onClick:()=>{Z(e)}},eP(a=t("domain.ssl.notSet"))?a:{default:()=>[a]})}},{title:t("domain.columns.actions"),key:"actions",align:"right",width:260,render:e=>{let a,l,i;return(0,d.Wm)(m.Z,{inline:!0},{default:()=>[(0,d.Wm)(u.ZP,{type:"primary",text:!0,onClick:()=>{j(e)}},eP(a=t("domain.actions.dnsRecord"))?a:{default:()=>[a]}),(0,d.Wm)(u.ZP,{type:"primary",text:!0,onClick:()=>{P(e)}},eP(l=t("common.actions.edit"))?l:{default:()=>[l]}),(0,d.Wm)(u.ZP,{type:"primary",text:!0,disabled:1===e.default,onClick:()=>{D(e)}},{default:()=>[(0,d.Uk)("Set Default")]}),(0,d.Wm)(u.ZP,{type:"error",text:!0,onClick:()=>{$(e)}},eP(i=t("common.actions.delete"))?i:{default:()=>[i]})]})}}]),[b,x]=(0,p.d)({component:B,state:{isEdit:!1,refresh:y}}),k=()=>{x.setState({row:null,isEdit:!1}),x.open()},[W,z]=(0,p.d)({component:es,state:{refresh:y}}),Z=e=>{z.setState({row:e}),z.open()},[C,q]=(0,p.d)({component:eC,state:{refresh:y}}),j=e=>{q.setState({row:e}),q.open()},D=e=>{(0,c.iG)({title:`Set Default [${e.domain}]`,content:"Are you sure to set this domain as default?",onConfirm:async()=>{await (0,v.xh)({domain:e.domain}),y()}})},P=e=>{S.push({name:"EditDomain",params:{domain:e.domain}})},$=e=>{(0,c.iG)({title:t("domain.delete.title"),content:t("domain.delete.confirm",{domain:e.domain}),confirmText:t("common.actions.delete"),confirmType:"error",onConfirm:async()=>{await (0,v.dj)({domain:e.domain}),y()}})},T=(0,d.iH)("");return(0,d.bv)(()=>{T.value=g.query.init,"init-domain"===T.value&&k()}),(e,r)=>{let m=s.Z,c=o.Z,p=n.Z,f=i.Z,v=l.Z;return(0,d.wg)(),(0,d.iD)("div",ej,[(0,d._)("div",eD,(0,d.zw)((0,d.SU)(t)("layout.menu.domain")),1),(0,d.Wm)(v,null,{toolsLeft:(0,d.w5)(()=>[(0,d.Wm)((0,d.SU)(u.ZP),{type:"primary",onClick:k},{default:(0,d.w5)(()=>[(0,d.Uk)((0,d.zw)((0,d.SU)(t)("domain.addDomain")),1)]),_:1}),(0,d.Wm)(m,{href:"https://www.billionmail.com/start/domain.html",text:(0,d.SU)(t)("domain.help")},null,8,["text"])]),table:(0,d.w5)(()=>[(0,d.Wm)(p,{loading:(0,d.SU)(w),columns:(0,d.SU)(U),data:(0,d.SU)(_)},{empty:(0,d.w5)(()=>[(0,d.Wm)(c)]),_:1},8,["loading","columns","data"])]),pageRight:(0,d.w5)(()=>[(0,d.Wm)(f,{page:(0,d.SU)(a).page,"onUpdate:page":r[0]||(r[0]=e=>(0,d.SU)(a).page=e),"page-size":(0,d.SU)(a).page_size,"onUpdate:pageSize":r[1]||(r[1]=e=>(0,d.SU)(a).page_size=e),"item-count":(0,d.SU)(h),onRefresh:(0,d.SU)(y)},null,8,["page","page-size","item-count","onRefresh"])]),modal:(0,d.w5)(()=>[(0,d.Wm)((0,d.SU)(b)),(0,d.Wm)((0,d.SU)(W)),(0,d.Wm)((0,d.SU)(C))]),_:1})])}}}),eT=(0,A.default)(e$,[["__scopeId","data-v-70f57330"]])}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/672.1597ea01.js b/core/public/dist/static/js/async/672.1597ea01.jsdeleted file mode 100644index b3716253..00000000--- a/core/public/dist/static/js/async/672.1597ea01.js+++ /dev/null@@ -1,32 +0,0 @@-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["672"],{20099:function(e,t,l){l.d(t,{Z:()=>s});var a=l(58786),i=l(97756);let n=Object.assign(Object.assign({},l(56946).Z.props),{trigger:String,xScrollable:Boolean,onScroll:Function,contentClass:String,contentStyle:[Object,String],size:Number,yPlacement:{type:String,default:"right"},xPlacement:{type:String,default:"bottom"}}),s=(0,a.aZ)({name:"Scrollbar",props:n,setup(){let e=(0,a.iH)(null);return Object.assign(Object.assign({},{scrollTo:(...t)=>{var l;null==(l=e.value)||l.scrollTo(t[0],t[1])},scrollBy:(...t)=>{var l;null==(l=e.value)||l.scrollBy(t[0],t[1])}}),{scrollbarInstRef:e})},render(){return(0,a.h)(i.Z,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}})},54538:function(e,t,l){l.d(t,{DP:()=>y,Ew:()=>u,I5:()=>p,JI:()=>h,L3:()=>c,Nh:()=>w,UY:()=>g,WJ:()=>f,nn:()=>_});var a=l(76882),i=l(34541),n=l(58786);let{t:s}=a.Z.global,r={fetchOptions:{loading:s("template.ai.loading.message"),successMessage:!0}};async function o(e,t){try{await i.e.post("/email_template/create",{temp_name:t,add_type:2,chat_id:e,html_content:""})}catch(e){throw console.warn(e),e}}async function c(e){await d(e),await v(e)}async function u(e){try{let t=`AI_temp_${new Date().getTime()}`,l=await i.e.post("/askai/chat/create_chat",{domain:e,add_type:99,temp_name:t},r);return await o(l.chatId,t),l.chatId}catch(e){return console.warn(e),null}}async function d(e){let{modelList:t,currentModel:l,currentModelTitle:a}=e;try{t.value=await i.e.post("/askai/supplier/models"),t.value.length&&(l.value=t.value[0],a.value=t.value[0].title)}catch(e){console.warn(e)}}async function v(e){let{chatId:t,chatInfo:l,currentModel:a,modelList:n,currentModelTitle:s,chatRecord:r,usageRecord:o}=e;try{if(l.value=await i.e.post("/askai/chat/info",{chatId:t.value}),l.value.modelId&&n.value.length){let e=n.value.find(e=>e.modelId==l.value.modelId);e&&(a.value=e,s.value=e.title)}for(let e=0;e<l.value.messages.length;e++){let t=`${l.value.messages[e].content}_+_${r.value.size}`;"user"==l.value.messages[e].role&&(r.value.set(t,m(l.value.messages[e+1].content)),o.value.set(t,l.value.messages[e+1].usage))}}catch(e){console.warn(e)}}async function p(e){let{chatId:t,isChat:l}=e;try{await i.e.post("/askai/chat/stop",{chatId:t.value},r),l.value=!1}catch(e){console.warn(e)}}async function f(e,t){let{scrollable:l,generateShow:a,chatId:s,currentModel:r,questionContent:o,chatRecord:c,currentChatRecordKey:u,scrollWrapperRef:d,chatScrollRef:v,isChat:p,usageRecord:f}=e;if(p.value||!o.value||t&&function(e,t){if(e.shiftKey&&"Enter"===e.key){e.preventDefault();let l=e.target,a=l.selectionStart,i=l.selectionEnd;return t.value=t.value.substring(0,a)+"\n"+t.value.substring(i),l.selectionStart=l.selectionEnd=a+1,!0}}(t,o))return;let h=`${o.value}_+_${c.value.size}`;c.value.set(h,[]),u.value=h;let g=o.value;o.value="";let y=[],_="",b=0;try{l.value=!0,a.value=!0,p.value=!0,(0,n.Y3)(()=>v.value.scrollTo({left:0,top:d.value.offsetHeight})),await i.e.post("/askai/chat/chat",{chatId:s.value,supplierName:r.value.supplierName,modelId:r.value.modelId,content:g,is_text:"false"},{fetchOptions:{cancelResInterceptor:!0},responseType:"text",onDownloadProgress:e=>{a.value=!1;try{let a=e.event.target.responseText,i=a.slice(b);b=a.length;var t=function(e){let t=e.split("\n"),l=[];for(let e of t){let t=e.trim();if(t.startsWith("data:")){let e=t.slice(5).trim();e&&l.push(e)}}return l}(i);for(let e=0;e<t.length;e++)t[e]&&(_+=JSON.parse(t[e]).content);c.value.set(h,m(_)),l.value&&setTimeout(()=>v.value.scrollTo({left:0,top:d.value.offsetHeight}),200)}catch(e){console.warn(e)}}}),l.value=!0,v.value.scrollTo({left:0,top:d.value.offsetHeight}),p.value=!1,w(e,e=>{f.value.set(h,e)})}catch(e){console.warn(e)}finally{a.value=!1,_="",b=0}}function m(e){let t=/```[\s\S]*?(?:```|$)/g,l=e.match(t)||[],a=e.split(t),i=[],n=Math.max(a.length,l.length);for(let e=0;e<n;e++)e<a.length&&""!==a[e].trim()&&i.push(a[e]),e<l.length&&i.push(l[e]);return i}function h(e){return e.replace(/```html/g,"").replace(/```$/gm,"")}function g(e){return e.replace(/<<<<<<<\s+SEARCH[\s\S]*?=======([\s\S]*?)>>>>>>>\s+REPLACE/g,"$1")}function y(e){let t=e.match(/<title>(.*?)<\/title>/i);return t?t[1]:""}async function w(e,t){let{chatId:l,previewCode:a,previewTit:n}=e;try{let e=await i.e.post("/askai/chat/get_html",{chatId:l.value});a.value=e.html_content,n.value=y(a.value),t&&t(e.last_usage)}catch(e){console.warn(e)}}async function _(e){let{previewCode:t,chatId:l}=e;try{await i.e.post("/askai/chat/modify_html",{chatId:l.value,content:t.value},r),w(e)}catch(e){console.warn(e)}}},88253:function(e,t,l){l.d(t,{Z:()=>r});var a=l(60579),i=l(58786),n=l(6768);let s=(0,i.aZ)({__name:"index",props:(0,i.Vf)({language:{type:String,default:"html"},theme:{type:String,default:"vs-dark"},options:{type:Object,default:()=>({})}},{value:{default:""},valueModifiers:{}}),emits:(0,i.Vf)(["save"],["update:value"]),setup(e,t){let{expose:l,emit:s}=t,r=(0,i.tT)(e,"value"),o=(0,i.iH)(null),c=null,u=(0,i.iH)(!1);n.Z.config({paths:{vs:`${location.origin}/static/plugin/monaco`}});let d=async()=>{if(o.value&&!c)try{u.value=!0;let t=await n.Z.init();(c=t.editor.create(o.value,{value:r.value,language:e.language,theme:e.theme,minimap:{enabled:!1},automaticLayout:!0,scrollBeyondLastLine:!1,fontSize:14,tabSize:2,wordWrap:"on",...e.options})).onDidChangeModelContent(()=>{r.value=(null==c?void 0:c.getValue())||""}),c.addCommand(t.KeyMod.CtrlCmd|t.KeyCode.KeyS,function(){s("save")})}finally{u.value=!1}},v=()=>{c&&(c.dispose(),c=null)};return(0,i.YP)(()=>r.value,e=>{c&&e!==c.getValue()&&c.setValue(e)}),(0,i.bv)(()=>{d()}),(0,i.Jd)(()=>{v()}),l({getEditor:()=>c}),(e,t)=>{let l=a.Z;return(0,i.wg)(),(0,i.j4)(l,{class:"h-full",show:(0,i.SU)(u)},{default:(0,i.w5)(()=>[(0,i._)("div",{ref_key:"containerRef",ref:o,class:"monaco-editor-container"},null,512)]),_:1},8,["show"])}}}),r=(0,l(41748).default)(s,[["__scopeId","data-v-72ffe419"]])},72746:function(e,t,l){l.r(t),l.d(t,{default:()=>ep});var a=l(58786),i=l(54470),n=l(27046),s=l(51048),r=l(88701),o=l(71309);let c="0!important",u="-1px!important";function d(e){return(0,o.cM)(`${e}-type`,[(0,o.c)("& +",[(0,o.cB)("button",{},[(0,o.cM)(`${e}-type`,[(0,o.cE)("border",{borderLeftWidth:c}),(0,o.cE)("state-border",{left:u})])])])])}function v(e){return(0,o.cM)(`${e}-type`,[(0,o.c)("& +",[(0,o.cB)("button",[(0,o.cM)(`${e}-type`,[(0,o.cE)("border",{borderTopWidth:c}),(0,o.cE)("state-border",{top:u})])])])])}let p=(0,o.cB)("button-group",`- flex-wrap: nowrap;- display: inline-flex;- position: relative;-`,[(0,o.u4)("vertical",{flexDirection:"row"},[(0,o.u4)("rtl",[(0,o.cB)("button",[(0,o.c)("&:first-child:not(:last-child)",`- margin-right: ${c};- border-top-right-radius: ${c};- border-bottom-right-radius: ${c};- `),(0,o.c)("&:last-child:not(:first-child)",`- margin-left: ${c};- border-top-left-radius: ${c};- border-bottom-left-radius: ${c};- `),(0,o.c)("&:not(:first-child):not(:last-child)",`- margin-left: ${c};- margin-right: ${c};- border-radius: ${c};- `),d("default"),(0,o.cM)("ghost",[d("primary"),d("info"),d("success"),d("warning"),d("error")])])])]),(0,o.cM)("vertical",{flexDirection:"column"},[(0,o.cB)("button",[(0,o.c)("&:first-child:not(:last-child)",`- margin-bottom: ${c};- margin-left: ${c};- margin-right: ${c};- border-bottom-left-radius: ${c};- border-bottom-right-radius: ${c};- `),(0,o.c)("&:last-child:not(:first-child)",`- margin-top: ${c};- margin-left: ${c};- margin-right: ${c};- border-top-left-radius: ${c};- border-top-right-radius: ${c};- `),(0,o.c)("&:not(:first-child):not(:last-child)",`- margin: ${c};- border-radius: ${c};- `),v("default"),(0,o.cM)("ghost",[v("primary"),v("info"),v("success"),v("warning"),v("error")])])])]),f=(0,a.aZ)({name:"ButtonGroup",props:{size:{type:String,default:void 0},vertical:Boolean},setup(e){let{mergedClsPrefixRef:t,mergedRtlRef:l}=(0,i.ZP)(e);return(0,n.Z)("-button-group",p,t),(0,a.JJ)(r.J,e),{rtlEnabled:(0,s.V)("ButtonGroup",l,t),mergedClsPrefix:t}},render(){let{mergedClsPrefix:e}=this;return(0,a.h)("div",{class:[`${e}-button-group`,this.rtlEnabled&&`${e}-button-group--rtl`,this.vertical&&`${e}-button-group--vertical`],role:"group"},this.$slots)}});var m=l(15496),h=l(8490),g=l(73084),y=l(57869),w=l(20099),_=l(49942),b=l(31708),S=l(54538),k=l(64919),$=l(41982),x=l(94821);let U={key:0,class:"code-area"},H={class:"code-tool"},I={class:"tools"},z=["innerHTML"],D=["innerHTML"],Z=(0,a.aZ)({__name:"MarkdownRender",props:{content:{},chatRecordKey:{}},emits:["codeRender"],setup(e,t){let{emit:l}=t,{copy:i,copied:n}=(0,x.VPI)(),s=(0,a.f3)("modelStore"),{currentChatRecordKey:r,previewCode:o}=s,c=(0,a.iH)(),u=(0,a.iH)(""),d=(0,a.iH)(""),v=(0,k.Z)({html:!0,linkify:!0,typographer:!0,langPrefix:"language-",highlight:function(e,t){if(u.value=t,t&&$.Z.getLanguage(t))try{return $.Z.highlight(t,e).value}catch{}return v.utils.escapeHtml(e)}});function p(){r.value=e.chatRecordKey,(0,a.Y3)(()=>o.value=(0,S.JI)(e.content))}function f(){i(e.content)}return d.value=v.render((0,S.UY)(e.content)),(0,a.YP)(()=>e.content,t=>{d.value=v.render(t),u.value&&l("codeRender",{code:e.content,key:e.chatRecordKey})},{immediate:!0}),(e,t)=>((0,a.wg)(),(0,a.iD)("div",null,[(0,a.SU)(u)?((0,a.wg)(),(0,a.iD)("div",U,[(0,a._)("div",H,[(0,a._)("span",null,(0,a.zw)((0,a.SU)(u)),1),(0,a._)("div",I,[(0,a._)("div",{class:"tool-item",onClick:f},[t[1]||(t[1]=(0,a._)("i",{class:"i-material-symbols:chrome-restore-rounded text-5"},null,-1)),(0,a._)("span",null,(0,a.zw)((0,a.SU)(n)?e.$t("template.ai.buttons.copied"):e.$t("template.ai.buttons.copy")),1)]),(0,a._)("div",{class:"tool-item",onClick:p},[t[2]||(t[2]=(0,a._)("i",{class:"i-mingcute:eye-2-fill text-5"},null,-1)),(0,a._)("span",null,(0,a.zw)(e.$t("template.ai.buttons.view")),1)]),(0,a._)("div",{class:"tool-item",onClick:t[0]||(t[0]=e=>(0,a.SU)(S.nn)((0,a.SU)(s)))},[t[3]||(t[3]=(0,a._)("i",{class:"i-ic:baseline-save text-5"},null,-1)),(0,a._)("span",null,(0,a.zw)(e.$t("template.ai.buttons.apply")),1)])])]),(0,a._)("div",{innerHTML:(0,a.SU)(d)},null,8,z)])):((0,a.wg)(),(0,a.iD)("div",{key:1,ref_key:"codeRef",ref:c,innerHTML:(0,a.SU)(d)},null,8,D))]))}});var C=l(41748);let M=(0,C.default)(Z,[["__scopeId","data-v-92f782a0"]]);var W=l(88253),T=l(65965);let R={class:"wrapper"},j={class:"page-tit"},P={class:"tit-content"},E={class:"ai-container"},J={class:"chat-area"},L={key:0,class:"answer-container"},B={class:"ask-content"},Y={class:"text"},K={class:"ask-content"},q={class:"text"},O={class:"answer-content"},N={class:"pic"},V={class:"text-4 text-[var(--color-primary-hover-1)]"},A={class:"text"},G={class:"answer-tool"},F=["onClick"],Q={class:"tool-item"},X={key:0,class:"flex justify-start items-center gap-2.5"},ee={class:"fw-bold"},et={class:"question"},el={class:"question-tools"},ea={class:"send-btn"},ei={class:"view-area"},en={style:{height:"calc(100vh - 165px)"}},es={class:"h-10 flex justify-between items-center gap-2.5 mb-5"},er={class:"flex justify-start items-center gap-2.5"},eo={key:0},ec={class:"text-4 fw-bold"},eu=["innerHTML"],ed=["srcdoc"],ev=(0,a.aZ)({__name:"index",setup(e){let t=(0,b.s6)(),l=(0,T.tv)(),i=function(){let e=(0,a.iH)([]),t=(0,a.iH)(""),l=(0,a.iH)(""),i=(0,a.iH)(""),n=(0,a.iH)({domain:"",chatId:"",create_time:0,files:[],messages:[],modelId:"",prompt:"",supplierName:"",title:"",update_time:0}),s=(0,a.iH)(""),r=(0,a.iH)([]),o=(0,a.iH)({modelId:"",supplierName:"",capability:[],title:"",status:!1,max_tokens:0}),c=(0,a.iH)(""),u=(0,a.iH)([]),d=(0,a.iH)(""),v=(0,a.iH)(!1),p=(0,a.iH)(new Map),f=(0,a.iH)(new Map),m=(0,a.iH)(!1),h=(0,a.iH)(),g=(0,a.iH)();return{domainList:e,sourceDomain:t,chatId:l,questionContent:i,chatInfo:n,currentChatRecordKey:s,modelList:r,currentModel:o,currentModelTitle:c,answerContent:u,previewCode:d,generateShow:v,chatRecord:p,usageRecord:f,isChat:m,chatScrollRef:h,scrollWrapperRef:g,scrollable:(0,a.iH)(!0),previewTit:(0,a.iH)("")}}();(0,a.JJ)("modelStore",i);let{chatId:n,modelList:s,currentModelTitle:r,previewCode:o,questionContent:c,chatRecord:u,currentChatRecordKey:d,currentModel:v,isChat:p,chatScrollRef:k,scrollWrapperRef:$,scrollable:x,chatInfo:U,previewTit:H,usageRecord:I}=i,z=(0,T.yj)(),D=(0,a.iH)("view");function Z(e,t){v.value=t}function C(e){e.key==d.value&&(o.value=(0,S.UY)((0,S.JI)(e.code)),H.value=(0,S.DP)(o.value))}function ev(e){e.deltaY<0&&(x.value=!1)}async function ep(){await (0,S.nn)(i),t.temp_subject=H.value,l.push({path:"/market/task/edit",query:{chat_id:U.value.chatId}})}return n.value=z.params.chatId,(0,S.Nh)(i),(0,S.L3)(i),(0,a.bv)(()=>{!function e(t){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=t||null,i=l;if(!(i>=6)){if(a&&(clearTimeout(t),a=null),$.value.offsetHeight){k.value.scrollTo({left:0,top:$.value.offsetHeight}),i++;return}i++,a=setTimeout(()=>{e(a,i)},100)}}()}),(e,t)=>{let l=_.ZP,n=w.Z,d=y.ZP,v=g.Z,b=h.Z,x=m.ZP;return(0,a.wg)(),(0,a.iD)("div",R,[(0,a._)("div",j,[(0,a._)("span",P,(0,a.zw)(e.$t("template.ai.title")),1)]),(0,a._)("div",E,[(0,a._)("div",J,[(0,a._)("div",{ref:"answerRef",class:"answer",onWheel:ev},[(0,a.Wm)(d,{class:"h-100%"},{default:(0,a.w5)(()=>[(0,a.Wm)(n,{ref_key:"chatScrollRef",ref:k,style:{height:"calc(100vh - 415px)"}},{default:(0,a.w5)(()=>[0==(0,a.SU)(u).size?((0,a.wg)(),(0,a.iD)("div",L,[(0,a._)("div",B,[t[9]||(t[9]=(0,a._)("div",{class:"pic"},[(0,a._)("i",{class:"i-material-symbols:account-circle text-6 text-[var(--color-primary-hover-1)]"})],-1)),(0,a._)("div",Y,(0,a.zw)(e.$t("template.ai.greeting")),1)])])):(0,a.kq)("",!0),(0,a._)("div",{ref_key:"scrollWrapperRef",ref:$},[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,a.SU)(u),n=>((0,a.wg)(),(0,a.iD)("div",{key:n[0],class:"answer-container"},[(0,a._)("div",K,[t[10]||(t[10]=(0,a._)("div",{class:"pic"},[(0,a._)("i",{class:"i-material-symbols:account-circle text-6 text-[var(--color-primary-hover-1)]"})],-1)),(0,a._)("div",q,(0,a.zw)(n[0].split("_+_")[0]),1)]),(0,a._)("div",O,[(0,a._)("div",N,[(0,a._)("span",V,(0,a.zw)(e.$t("template.ai.brandName")),1)]),(0,a._)("div",A,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(n[1],(e,t)=>((0,a.wg)(),(0,a.j4)(M,{key:t,content:(0,a.SU)(S.UY)(e),"chat-record-key":n[0],class:"mb-4",onCodeRender:C},null,8,["content","chat-record-key"]))),128))]),(0,a._)("div",G,[(0,a._)("div",{class:"tool-item",onClick:e=>{c.value=n[0].toString().split("_+_")[0],(0,S.WJ)(i)}},[t[11]||(t[11]=(0,a._)("i",{class:"i-ri:refresh-line text-5"},null,-1)),(0,a._)("span",null,(0,a.zw)(e.$t("template.ai.buttons.regenerate")),1)],8,F),(0,a.Wm)(l,{trigger:"hover"},{trigger:(0,a.w5)(()=>[(0,a._)("div",Q,[t[12]||(t[12]=(0,a._)("i",{class:"i-ri:information-2-fill text-5"},null,-1)),(0,a._)("span",null,(0,a.zw)(e.$t("template.ai.buttons.info")),1)])]),default:(0,a.w5)(()=>[(0,a.SU)(I).get(n[0])?((0,a.wg)(),(0,a.iD)("div",X,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,a.SU)(I).get(n[0]),(e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t},[(0,a._)("span",ee,(0,a.zw)(t)+": ",1),(0,a._)("span",null,(0,a.zw)(e),1)]))),128))])):(0,a.kq)("",!0)]),_:2},1024)])])]))),128))],512)]),_:1},512)]),_:1})],544),(0,a._)("div",et,[(0,a.Wm)(d,{style:{height:"100%"}},{default:(0,a.w5)(()=>[(0,a.Wm)(v,{value:(0,a.SU)(c),"onUpdate:value":t[0]||(t[0]=e=>(0,a.dq)(c)?c.value=e:null),type:"textarea",placeholder:e.$t("template.ai.welcomeMessage",{domain:(0,a.SU)(U).domain}),class:"question-input",onKeydown:t[1]||(t[1]=(0,a.D2)(e=>(0,a.SU)(S.WJ)((0,a.SU)(i),e),["enter"]))},null,8,["value","placeholder"]),(0,a._)("div",el,[(0,a.Wm)(b,{value:(0,a.SU)(r),"onUpdate:value":[t[2]||(t[2]=e=>(0,a.dq)(r)?r.value=e:null),Z],options:(0,a.SU)(s),"label-field":"title","value-field":"title"},null,8,["value","options"]),(0,a._)("div",ea,[(0,a.SU)(p)?((0,a.wg)(),(0,a.iD)("i",{key:1,class:"i-svg-spinners:pulse-2 text-8 text-[var(--color-primary-1)] hover-text-[var(--color-primary-hover-1)]",onClick:t[4]||(t[4]=e=>(0,a.SU)(S.I5)((0,a.SU)(i)))})):((0,a.wg)(),(0,a.iD)("i",{key:0,class:"i-icon-park-twotone:arrow-circle-up text-8 text-[var(--color-primary-1)] hover-text-[var(--color-primary-hover-1)]",onClick:t[3]||(t[3]=e=>(0,a.SU)(S.WJ)((0,a.SU)(i)))}))])])]),_:1})])]),(0,a._)("div",ei,[(0,a.Wm)(d,{style:{height:"100%"}},{default:(0,a.w5)(()=>[(0,a._)("div",en,[(0,a._)("div",es,[(0,a._)("div",er,[(0,a.Wm)(f,{size:"small"},{default:(0,a.w5)(()=>[(0,a.Wm)(x,{type:"view"==(0,a.SU)(D)?"primary":"default",onClick:t[5]||(t[5]=e=>D.value="view")},{icon:(0,a.w5)(()=>t[13]||(t[13]=[(0,a._)("i",{class:"i-mingcute:eye-2-fill text-5"},null,-1)])),default:(0,a.w5)(()=>[(0,a.Uk)(" "+(0,a.zw)(e.$t("template.ai.buttons.view")),1)]),_:1},8,["type"]),(0,a.Wm)(x,{type:"edit"==(0,a.SU)(D)?"primary":"default",onClick:t[6]||(t[6]=e=>D.value="edit")},{icon:(0,a.w5)(()=>t[14]||(t[14]=[(0,a._)("i",{class:"i-tdesign:code text-5"},null,-1)])),default:(0,a.w5)(()=>[(0,a.Uk)(" "+(0,a.zw)(e.$t("template.ai.buttons.edit")),1)]),_:1},8,["type"])]),_:1}),"edit"==(0,a.SU)(D)?((0,a.wg)(),(0,a.iD)("span",eo,(0,a.zw)(e.$t("template.ai.tips.saveShortcut")),1)):(0,a.kq)("",!0)]),(0,a._)("span",ec,(0,a.zw)((0,a.SU)(H)),1),(0,a.Wm)(x,{style:{width:"134px"},type:"primary",disabled:!(0,a.SU)(o),onClick:ep},{icon:(0,a.w5)(()=>t[15]||(t[15]=[(0,a._)("i",{class:"i-mingcute:mail-send-fill"},null,-1)])),default:(0,a.w5)(()=>[(0,a.Uk)(" "+(0,a.zw)(e.$t("template.ai.send")),1)]),_:1},8,["disabled"])]),(0,a.Wm)(n,{style:{height:"calc(100% - 40px)"}},{default:(0,a.w5)(()=>["view"==(0,a.SU)(D)&&(0,a.SU)(p)?((0,a.wg)(),(0,a.iD)("div",{key:0,innerHTML:(0,a.SU)(o)},null,8,eu)):"view"!=(0,a.SU)(D)||(0,a.SU)(p)?((0,a.wg)(),(0,a.j4)(W.Z,{key:2,value:(0,a.SU)(o),"onUpdate:value":t[7]||(t[7]=e=>(0,a.dq)(o)?o.value=e:null),style:{height:"calc(100vh - 217px)"},onSave:t[8]||(t[8]=e=>(0,a.SU)(S.nn)((0,a.SU)(i)))},null,8,["value"])):((0,a.wg)(),(0,a.iD)("iframe",{key:1,srcdoc:(0,a.SU)(o),frameborder:"0",class:"w-100%",style:{height:"calc(100vh - 224px)"}},null,8,ed))]),_:1})])]),_:1})])])])}}}),ep=(0,C.default)(ev,[["__scopeId","data-v-0c3ddbd1"]])}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/6928.892b6d31.js b/core/public/dist/static/js/async/6928.892b6d31.jsnew file mode 100644index 00000000..9cd49603--- /dev/null+++ b/core/public/dist/static/js/async/6928.892b6d31.js@@ -0,0 +1 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["6928"],{65977:function(e,a,t){t.d(a,{Z:()=>i});var l=t(58786);let i=(0,l.aZ)({name:"Add",render:()=>(0,l.h)("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,l.h)("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))})},60309:function(e,a,t){t.d(a,{L:()=>l});function l(e,a){if(!e)return;let t=document.createElement("a");t.href=e,void 0!==a&&(t.download=a),document.body.appendChild(t),t.click(),document.body.removeChild(t)}},50144:function(e,a,t){t.d(a,{Z:()=>u});var l=t(58786),i=t(56946),n=t(54470),o=t(49942),s=t(44108);let d=Object.assign(Object.assign({},o.Kd),i.Z.props),u=(0,l.aZ)({name:"Tooltip",props:d,slots:Object,__popover__:!0,setup(e){let{mergedClsPrefixRef:a}=(0,n.ZP)(e),t=(0,i.Z)("Tooltip","-tooltip",void 0,s.Z,e,a),o=(0,l.iH)(null);return Object.assign(Object.assign({},{syncPosition(){o.value.syncPosition()},setShow(e){o.value.setShow(e)}}),{popoverRef:o,mergedTheme:t,popoverThemeOverrides:(0,l.Fl)(()=>t.value.self)})},render(){let{mergedTheme:e,internalExtraClass:a}=this;return(0,l.h)(o.ZP,Object.assign(Object.assign({},this.$props),{theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:a.concat("tooltip"),ref:"popoverRef"}),this.$slots)}})},88583:function(e,a,t){t.d(a,{Z:()=>n});var l=t(58786);let i={class:"bt-tips flex flex-col gap-4px list-outside list-disc leading-20px text-[#777]"},n=(0,t(41748).default)({},[["render",function(e,a){return(0,l.wg)(),(0,l.iD)("ul",i,[(0,l.WI)(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-8731a1b4"]])},1418:function(e,a,t){t.d(a,{Z:()=>f});var l=t(5057),i=t(57869),n=t(58786),o=t(99778),s=t(31708),d=t(34541),u=t(68271),r=t(52495);let c={class:"flex justify-start gap-2.5 bg-transparent items-center"},m={class:"flex items-center text-4"},f=(0,n.aZ)({__name:"WaitAndCheckDomainStatus",setup(e,a){let{expose:t}=a,{t:f}=(0,r.QT)(),p=(0,n.iH)(!1),v=(0,s.s6)(),w=(0,n.iH)();function _(){p.value=!1}function g(e,a){let t=setInterval(async()=>{await b(e)&&(u.v0.success(f("domain.waitAndCheckDomainStatus.success")),a&&a(),_(),clearInterval(t),w.value.open())},1e3)}async function b(e){try{if((await d.e.post("/askai/project/get_base_info",{domain:e})).update_time)return!0;return!1}catch(e){return console.warn(e),u.v0.error(f("domain.waitAndCheckDomainStatus.error")),!1}}return t({open:function(e,a){g(e,a),v.domainSource=e,p.value=!0},close:_,checkStatus:g}),(e,a)=>{let t=i.ZP,s=l.Z;return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n.Wm)(s,{show:(0,n.SU)(p),"onUpdate:show":a[0]||(a[0]=e=>(0,n.dq)(p)?p.value=e:null),"close-on-esc":!1,"mask-closable":!1},{default:(0,n.w5)(()=>[(0,n.Wm)(t,{style:{width:"auto"}},{default:(0,n.w5)(()=>[(0,n._)("div",c,[a[1]||(a[1]=(0,n._)("i",{class:"i-svg-spinners:bars-scale text-[var(--color-primary-1)] text-6"},null,-1)),(0,n._)("span",m,(0,n.zw)(e.$t("domain.waitAndCheckDomainStatus.loading")),1)])]),_:1})]),_:1},8,["show"]),(0,n.Wm)(o.Z,{ref_key:"createTplModal",ref:w,"only-ai":!0},null,512)],64)}}})},64136:function(e,a,t){t.r(a),t.d(a,{default:()=>V});var l=t(88583),i=t(99321),n=t(29875),o=t(57869),s=t(98048),d=t(29283),u=t(8490),r=t(15496),c=t(6455),m=t(73084),f=t(58786),p=t(1418),v=t(39432),w=t(54686),_=t(42205),g=t(65965);let b={class:"content-wrapper"},x={class:"page-tit mb-5"},h={class:"left-tit"},C={class:"tit-content"},k={class:"flex-1"},U={class:"mb-12px text-desc"},y={class:"flex gap-16px"},S={class:"flex-1"},$={class:"flex-1"},W={class:"mb-12px text-desc"},Z={class:"flex-1"},D={class:"mb-12px text-desc"},z={class:"flex gap-16px"},j={class:"flex-1"},B={class:"w-80px"},I={class:"flex-1"},q={class:"mb-12px text-desc"},O={class:"page-tit mb-5"},P={class:"left-tit"},H={class:"tit-content"},T={class:"right-tit"},A={class:"w-100% flex flex-col gap-2.5"},M=["onClick"],K={class:"fw-bold text-4 mb-5 text-[#777] flex justify-between items-center"},L={class:"w-100% flex justify-between items-center"},Q={class:"mr-5"},R={class:"mb-8px text-default"},Y={class:"w-100% flex flex-col gap-2.5"},E=["onClick"],G=(0,f.aZ)({__name:"DomainConfiguration",setup(e){let a=(0,g.tv)(),t=(0,f.iH)(!1),{domainTit:G,domainIp:V,quota:F,unit:J,mailboxes:N,catch_email:X,urls:ee,brandInfo:ea,createdBrandInfo:et,waitAndCheckDomainStatusRef:el}=(0,_.J)(),ei=(0,g.yj)().params.domain,en=(0,f.iH)([{label:"B",value:"B"},{label:"KB",value:"KB"},{label:"MB",value:"MB"},{label:"GB",value:"GB"},{label:"TB",value:"TB"}]);function eo(){a.push({name:"AiModel"})}return(0,w.lQ)(ei),async function(){let e=await (0,v.Lb)();e&&(t.value=e.is_configured)}(),(e,a)=>{let v=m.Z,_=c.ZP,g=r.ZP,ei=u.Z,es=d.Z,ed=s.Z,eu=o.ZP,er=n.Z,ec=i.Z,em=l.Z;return(0,f.wg)(),(0,f.iD)(f.HY,null,[(0,f._)("div",b,[(0,f._)("div",null,[(0,f.Wm)(eu,null,{default:(0,f.w5)(()=>[(0,f._)("div",x,[(0,f._)("div",h,[a[7]||(a[7]=(0,f._)("div",{class:"back-tool"},[(0,f._)("i",{class:"i-cuida:mail-outline text-28px"})],-1)),(0,f._)("span",C,(0,f.zw)(e.$t("domain.edit.domainConfiguration.title")),1)])]),(0,f.Wm)(ed,null,{default:(0,f.w5)(()=>[(0,f.Wm)(_,{label:e.$t("domain.edit.domainConfiguration.domain")},{default:(0,f.w5)(()=>[(0,f.Wm)(v,{value:(0,f.SU)(G),"onUpdate:value":a[0]||(a[0]=e=>(0,f.dq)(G)?G.value=e:null),disabled:!0,onInput:(0,f.SU)(w.L7)},null,8,["value","onInput"])]),_:1},8,["label"]),(0,f.Wm)(_,{label:e.$t("domain.edit.domainConfiguration.dedicatedIp")},{default:(0,f.w5)(()=>[(0,f._)("div",k,[(0,f._)("div",U," * "+(0,f.zw)(e.$t("domain.edit.domainConfiguration.dedicatedIpDesc",{domain:"aapanel.com"})),1),(0,f._)("div",y,[(0,f._)("div",S,[(0,f.Wm)(v,{value:(0,f.SU)(V),"onUpdate:value":a[1]||(a[1]=e=>(0,f.dq)(V)?V.value=e:null),placeholder:e.$t("domain.edit.domainConfiguration.notSet")},null,8,["value","placeholder"])]),(0,f.Wm)(g,{type:"primary",ghost:"",onClick:(0,f.SU)(w.M7)},{default:(0,f.w5)(()=>[(0,f.Uk)((0,f.zw)(e.$t("domain.edit.domainConfiguration.testConnection")),1)]),_:1},8,["onClick"])])])]),_:1},8,["label"]),(0,f.Wm)(_,{label:e.$t("domain.edit.domainConfiguration.catchAll")},{default:(0,f.w5)(()=>[(0,f._)("div",$,[(0,f._)("div",W," * "+(0,f.zw)(e.$t("domain.edit.domainConfiguration.catchAllDesc")),1),(0,f.Wm)(v,{value:(0,f.SU)(X),"onUpdate:value":a[2]||(a[2]=e=>(0,f.dq)(X)?X.value=e:null)},null,8,["value"])])]),_:1},8,["label"]),(0,f.Wm)(_,{label:e.$t("domain.edit.domainConfiguration.domainQuota")},{default:(0,f.w5)(()=>[(0,f._)("div",Z,[(0,f._)("div",D,"* "+(0,f.zw)(e.$t("domain.edit.domainConfiguration.domainQuotaDesc")),1),(0,f._)("div",z,[(0,f._)("div",j,[(0,f.Wm)(v,{value:(0,f.SU)(F),"onUpdate:value":a[3]||(a[3]=e=>(0,f.dq)(F)?F.value=e:null)},null,8,["value"])]),(0,f._)("div",B,[(0,f.Wm)(ei,{value:(0,f.SU)(J),"onUpdate:value":a[4]||(a[4]=e=>(0,f.dq)(J)?J.value=e:null),options:(0,f.SU)(en)},null,8,["value","options"])])])])]),_:1},8,["label"]),(0,f.Wm)(_,{label:e.$t("domain.edit.domainConfiguration.mailboxCount")},{default:(0,f.w5)(()=>[(0,f._)("div",I,[(0,f._)("div",q,"* "+(0,f.zw)(e.$t("domain.edit.domainConfiguration.mailboxCountDesc")),1),(0,f.Wm)(es,{value:(0,f.SU)(N),"onUpdate:value":a[5]||(a[5]=e=>(0,f.dq)(N)?N.value=e:null),class:"w-full","show-button":!1},null,8,["value"])])]),_:1},8,["label"])]),_:1})]),_:1}),(0,f.SU)(et)?((0,f.wg)(),(0,f.j4)(eu,{key:0,class:"mt-5"},{default:(0,f.w5)(()=>[(0,f._)("div",O,[(0,f._)("div",P,[a[8]||(a[8]=(0,f._)("div",{class:"back-tool"},[(0,f._)("i",{class:"i-cuida:mail-outline text-7"})],-1)),(0,f._)("span",H,(0,f.zw)(e.$t("domain.edit.domainConfiguration.brandInfo")),1)]),(0,f._)("div",T,[(0,f.Wm)(er,{value:(0,f.SU)(ea),"onUpdate:value":[a[6]||(a[6]=e=>(0,f.dq)(ea)?ea.value=e:null),(0,f.SU)(w.Vq)]},null,8,["value","onUpdate:value"])])]),(0,f._)("div",A,[((0,f.wg)(!0),(0,f.iD)(f.HY,null,(0,f.Ko)((0,f.SU)(ee),(l,i)=>((0,f.wg)(),(0,f.iD)("div",{key:i,class:"flex justify-start items-center gap-2.5"},[(0,f.Wm)(v,{value:(0,f.SU)(ee)[i],"onUpdate:value":e=>(0,f.SU)(ee)[i]=e,placeholder:e.$t("domain.form.urlsPlacement"),disabled:!(0,f.SU)(t),readonly:""},null,8,["value","onUpdate:value","placeholder","disabled"]),0!=i?((0,f.wg)(),(0,f.iD)("div",{key:0,class:"close",onClick:e=>(0,f.SU)(w.Rw)(i)},a[9]||(a[9]=[(0,f._)("i",{class:"i-material-symbols:close-rounded text-5"},null,-1)]),8,M)):(0,f.kq)("",!0)]))),128))])]),_:1})):((0,f.wg)(),(0,f.j4)(eu,{key:1,class:"mt-5"},{default:(0,f.w5)(()=>[(0,f._)("div",K,[(0,f._)("span",null,(0,f.zw)(e.$t("domain.edit.domainConfiguration.noBrandInfo")),1)]),(0,f.SU)(t)?(0,f.kq)("",!0):((0,f.wg)(),(0,f.j4)(ec,{key:0,type:"warning",class:"mb-15px","show-icon":!1},{default:(0,f.w5)(()=>[(0,f._)("div",L,[(0,f._)("span",Q,(0,f.zw)(e.$t("domain.edit.domainConfiguration.aiIntegrationWarning")),1),(0,f.Wm)(g,{ghost:"",type:"primary",onClick:eo},{default:(0,f.w5)(()=>[(0,f.Uk)((0,f.zw)(e.$t("domain.edit.domainConfiguration.integrateImmediately")),1)]),_:1})])]),_:1})),(0,f._)("div",R,(0,f.zw)(e.$t("domain.edit.domainConfiguration.aiDescription")),1),(0,f.Wm)(em,{style:{"margin-bottom":"15px"}},{default:(0,f.w5)(()=>[(0,f._)("li",null,(0,f.zw)(e.$t("domain.edit.domainConfiguration.features.extractBrand")),1),(0,f._)("li",null,(0,f.zw)(e.$t("domain.edit.domainConfiguration.features.analyzeStructure")),1),(0,f._)("li",null,(0,f.zw)(e.$t("domain.edit.domainConfiguration.features.importContent")),1),(0,f._)("li",null,(0,f.zw)(e.$t("domain.edit.domainConfiguration.features.customLogo")),1)]),_:1}),(0,f.Wm)(_,{label:e.$t("domain.edit.domainConfiguration.specifyDomain")},{default:(0,f.w5)(()=>[(0,f._)("div",Y,[((0,f.wg)(!0),(0,f.iD)(f.HY,null,(0,f.Ko)((0,f.SU)(ee),(l,i)=>((0,f.wg)(),(0,f.iD)("div",{key:i,class:"flex justify-start items-center gap-2.5"},[(0,f.Wm)(v,{value:(0,f.SU)(ee)[i],"onUpdate:value":e=>(0,f.SU)(ee)[i]=e,placeholder:e.$t("domain.form.urlsPlacement"),disabled:!(0,f.SU)(t)},null,8,["value","onUpdate:value","placeholder","disabled"]),0!=i?((0,f.wg)(),(0,f.iD)("div",{key:0,class:"close",onClick:e=>(0,f.SU)(w.Rw)(i)},a[10]||(a[10]=[(0,f._)("i",{class:"i-material-symbols:close-rounded text-5"},null,-1)]),8,E)):(0,f.kq)("",!0)]))),128))])]),_:1},8,["label"]),(0,f.Wm)(g,{type:"primary",ghost:"",onClick:(0,f.SU)(w.Xe)},{default:(0,f.w5)(()=>[(0,f.Uk)((0,f.zw)(e.$t("domain.edit.domainConfiguration.createNow")),1)]),_:1},8,["onClick"])]),_:1})),(0,f.Wm)(g,{type:"primary",class:"w-100% mt-5",onClick:(0,f.SU)(w.gK)},{icon:(0,f.w5)(()=>a[11]||(a[11]=[(0,f._)("i",{class:"i-mingcute:save-2-line text-5"},null,-1)])),default:(0,f.w5)(()=>[(0,f.Uk)(" "+(0,f.zw)(e.$t("domain.edit.save")),1)]),_:1},8,["onClick"])])]),(0,f.Wm)(p.Z,{ref_key:"waitAndCheckDomainStatusRef",ref:el},null,512)],64)}}}),V=(0,t(41748).default)(G,[["__scopeId","data-v-30bbfe3c"]])}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/7699.b30944de.js b/core/public/dist/static/js/async/7699.b30944de.jsdeleted file mode 100644index 8a66d77f..00000000--- a/core/public/dist/static/js/async/7699.b30944de.js+++ /dev/null@@ -1 +0,0 @@-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["7699"],{39432:function(e,t,a){a.d(t,{Au:()=>p,Fj:()=>s,LC:()=>o,Lb:()=>g,OV:()=>r,dj:()=>d,gK:()=>u,i7:()=>n,rU:()=>v,v1:()=>m,xh:()=>f,yW:()=>c});var l=a(34541);let{t:i}=a(76882).Z.global,n=e=>l.e.get("/domains/list",{params:e}),o=()=>l.e.get("/domains/all"),s=e=>l.e.post("/domains/create",e,{fetchOptions:{loading:i("domain.api.loading.creating"),successMessage:!0}}),u=e=>l.e.post("/domains/update",e,{fetchOptions:{loading:i("domain.api.loading.updating"),successMessage:!0}}),d=e=>l.e.post("/domains/delete",e,{fetchOptions:{loading:i("domain.api.loading.deleting"),successMessage:!0}}),r=e=>l.e.post("/domains/set_ssl",e,{fetchOptions:{loading:i("domain.api.loading.settingSSL"),successMessage:!0}}),p=e=>l.e.get("/domains/get_ssl",{params:e}),m=e=>l.e.post("/domains/fresh_dns_records",e,{fetchOptions:{loading:i("domain.api.loading.refreshingDns"),successMessage:!0}}),c=e=>l.e.post("/ssl/apply_cert",e,{fetchOptions:{loading:i("domain.api.loading.applyingCert"),successMessage:!0}}),f=e=>l.e.post("/domains/set_default_domain",e,{fetchOptions:{loading:"Setting Default Domain, please wait...",successMessage:!0}}),v=e=>l.e.post("/askai/project/create",e,{fetchOptions:{loading:"Setting domain brand info , please wait...",successMessage:!0}}),g=()=>l.e.post("/askai/supplier/status")},31651:function(e,t,a){a.d(t,{A8:()=>o,NI:()=>s,QB:()=>d,WF:()=>u,Xc:()=>p,ef:()=>r});var l=a(76882),i=a(34541);let{t:n}=l.Z.global;function o(e){return i.e.get("/email_template/list",{params:e})}function s(){return i.e.get("/email_template/all")}function u(e){return i.e.post("/email_template/create",e,{fetchOptions:{loading:n("market.template.loading.creating"),successMessage:!0}})}function d(e){return i.e.post("/email_template/update",e,{fetchOptions:{loading:n("market.template.loading.updating"),successMessage:!0}})}function r(e){return i.e.post("/email_template/copy",e,{fetchOptions:{loading:n("market.template.loading.copying"),successMessage:!0}})}function p(e){return i.e.post("/email_template/delete",e,{fetchOptions:{loading:n("market.template.loading.deleting"),successMessage:!0}})}},16634:function(e,t,a){a.d(t,{Ao:()=>o,mL:()=>s,uL:()=>n});var l=a(34541),i=a(42205);let n={fetchOptions:{loading:"Loading... Please wait.",successMessage:!0}};async function o(e){let{legal_company_name:t,web_site:a,company_profile:n,email:o,phone:s,support_url:u,hasGotCompanyProfile:d}=(0,i.J)();if(!d.value)try{let i=await l.e.post("/askai/project/get_company_profile",{domain:e});t.value=i.legal_company_name,a.value=i.web_site,n.value=i.company_profile,o.value=i.email,s.value=i.phone,u.value=i.support_url,d.value=!0}catch(e){console.warn(e)}}async function s(e){let{legal_company_name:t,web_site:a,company_profile:o,email:s,phone:u,support_url:d}=(0,i.J)();try{await l.e.post("/askai/project/modify_company_profile",{domain:e,legal_company_name:t.value,web_site:a.value,company_profile:o.value,email:s.value,phone:u.value,support_url:d.value},n)}catch(e){console.warn(e)}}},54686:function(e,t,a){a.d(t,{L7:()=>v,Rw:()=>g,VP:()=>_,Vq:()=>h,Xe:()=>c,gK:()=>m,ke:()=>f,lQ:()=>r});var l=a(34541),i=a(16634),n=a(42205),o=a(68271),s=a(39432),u=a(31708),d=a(76882);async function r(e){let{domainTit:t,quota:a,unit:i,mailboxes:s,catch_email:u,hasGotDomainConfiguration:d,urls:r}=(0,n.J)();if(!d.value)try{let{list:n}=await l.e.get("/domains/list",{params:{keyword:e,page:1,page_size:1}}),m=(0,o.UO)(n[0].quota,!0,2).split(" ");t.value=n[0].domain,a.value=m[0],i.value=m[1],s.value=n[0].mailboxes,u.value=n[0].email,r.value=n[0].urls&&n[0].urls.length>0&&""!=n[0].urls[0]?n[0].urls:[`https://${e}`],await p(e),d.value=!0}catch(e){console.warn(e)}}async function p(e){let{brandInfo:t,createdBrandInfo:a}=(0,n.J)();try{let i=await l.e.post("/askai/project/get_project_status",{domain:e});t.value=i.status,a.value=i.create_status}catch(e){console.warn(e)}}async function m(){let{domainTit:e,quota:t,unit:a,urls:o,mailboxes:s,catch_email:u}=(0,n.J)(),d=function(e,t){switch(t){case"KB":return 1024*e;case"MB":return 1024*e*1024;case"GB":return 1024*e*1048576;case"TB":return 1024*e*0x40000000;default:return e}}(Number(t.value),a.value);try{await l.e.post("/domains/update",{domain:e.value,mailboxes:s.value,mailboxQuota:d,quota:d,rateLimit:1,active:1,email:u.value,urls:o.value},i.uL)}catch(e){console.warn(e)}}async function c(){let{waitAndCheckDomainStatusRef:e,domainTit:t,urls:a,hasGotDomainConfiguration:l}=(0,n.J)(),i=(0,u.s6)();if(l.value=!1,0==a.value.length||""==a.value[0])o.v0.error(d.Z.global.t("domain.edit.domainConfiguration.fillDomain"));else if((0,o.CB)(a.value[0]))try{await (0,s.rU)({domain:t.value,urls:a.value}),i.domainSource=t.value,e.value.open(t.value,()=>{f(t.value,1),r(t.value)})}catch(e){console.warn(e)}else o.v0.error(d.Z.global.t("domain.edit.domainConfiguration.fillValidDomain"))}async function f(e,t){try{await l.e.post("/domains/update",{domain:e,hasbrandinfo:t})}catch(e){console.warn(e)}}function v(e){let{urls:t}=(0,n.J)(),a=t.value[0].match(/http:\/\/?/g),l=t.value[0].match(/https:\/\/?/g);a&&(t.value[0]=a[0]+e),l&&(t.value[0]=l[0]+e),a||l||(t.value[0]="https://"+e)}function g(e){let{urls:t}=(0,n.J)();t.value.splice(e,1)}function _(){let{hasGotAisettings:e,hasGotCompanyProfile:t,hasGotDomainConfiguration:a,hasGotFootersettings:l,hasGotProjectDetail:i,hasGotSitemap:o,hasGotStyling:s}=(0,n.J)();e.value=!1,t.value=!1,a.value=!1,l.value=!1,i.value=!1,o.value=!1,s.value=!1}async function h(e){let{brandInfo:t,domainTit:a}=(0,n.J)();try{await l.e.post("/askai/project/set_project_status",{domain:a.value,status:e},i.uL),await l.e.post("/domains/update",{domain:a.value,active:1,hasbrandinfo:Number(e)})}catch(a){t.value=!e,console.warn(a)}}},42205:function(e,t,a){a.d(t,{J:()=>o});var l=a(30989),i=a(58786);let n=(0,l.Q_)("editDomainStore",()=>{let e=(0,i.iH)(!1),t=(0,i.iH)(""),a=(0,i.iH)("0"),l=(0,i.iH)("B"),n=(0,i.iH)(0),o=(0,i.iH)(""),s=(0,i.iH)(["https://"]),u=(0,i.iH)(!1),d=(0,i.iH)(),r=(0,i.iH)(!1),p=(0,i.iH)(!1),m=(0,i.iH)(""),c=(0,i.iH)(""),f=(0,i.iH)(""),v=(0,i.iH)(""),g=(0,i.iH)(""),_=(0,i.iH)(""),h=(0,i.iH)(""),y=(0,i.iH)([]),w=(0,i.iH)({title:"",content:"",kid:"",update_time:0}),k=(0,i.iH)(""),S=(0,i.iH)(""),H=(0,i.iH)(!1),U=(0,i.iH)(!1),x=(0,i.iH)(""),b=(0,i.iH)(!1),Z=(0,i.iH)(""),W=(0,i.iH)(!1),C=(0,i.iH)(""),j=(0,i.iH)(""),M=(0,i.iH)(""),P=(0,i.iH)(""),O=(0,i.iH)(""),z=(0,i.iH)(""),L=(0,i.iH)(!1),T=(0,i.iH)(""),E=(0,i.iH)(""),J=(0,i.iH)(""),D=(0,i.iH)(""),B=(0,i.iH)(""),R=(0,i.iH)(""),V=(0,i.iH)(""),A=(0,i.iH)(""),F=(0,i.iH)(!1),$=(0,i.iH)([{title:"",uri_path:""}]),K=(0,i.iH)(!1),N=(0,i.iH)(""),Q=(0,i.iH)("");return{hasGotDomainConfiguration:e,domainTit:t,quota:a,unit:l,mailboxes:n,catch_email:o,urls:s,brandInfo:u,waitAndCheckDomainStatusRef:d,createdBrandInfo:r,hasGotProjectDetail:p,domain:m,description:c,favicon:f,industry:v,primary_logo:g,project_name:_,secondary_logo:h,knowledge_base:y,activeKnowledge:w,knowledgeTitle:k,knowledgeContent:S,knowledgeModalShow:H,isEditKnowledge:U,knowledge_base_content:x,knowledgeBasePreview:b,knowledgeBasePreviewTit:Z,hasGotCompanyProfile:W,legal_company_name:C,web_site:j,company_profile:M,email:P,phone:O,support_url:z,hasGotStyling:L,accent_color:T,text_color:E,page_background:J,container_background:D,link_social_color:B,link_footer_color:R,heading_font:V,body_font:A,hasGotSitemap:F,sitemap:$,hasGotFootersettings:K,copyright_text:N,disclaimer:Q,hasGotAisettings:(0,i.iH)(!1),prompt:(0,i.iH)("")}});function o(){let e=n();return{...(0,l.Jk)(e)}}},88253:function(e,t,a){a.d(t,{Z:()=>s});var l=a(60579),i=a(58786),n=a(6768);let o=(0,i.aZ)({__name:"index",props:(0,i.Vf)({language:{type:String,default:"html"},theme:{type:String,default:"vs-dark"},options:{type:Object,default:()=>({})}},{value:{default:""},valueModifiers:{}}),emits:(0,i.Vf)(["save"],["update:value"]),setup(e,t){let{expose:a,emit:o}=t,s=(0,i.tT)(e,"value"),u=(0,i.iH)(null),d=null,r=(0,i.iH)(!1);n.Z.config({paths:{vs:`${location.origin}/static/plugin/monaco`}});let p=async()=>{if(u.value&&!d)try{r.value=!0;let t=await n.Z.init();(d=t.editor.create(u.value,{value:s.value,language:e.language,theme:e.theme,minimap:{enabled:!1},automaticLayout:!0,scrollBeyondLastLine:!1,fontSize:14,tabSize:2,wordWrap:"on",...e.options})).onDidChangeModelContent(()=>{s.value=(null==d?void 0:d.getValue())||""}),d.addCommand(t.KeyMod.CtrlCmd|t.KeyCode.KeyS,function(){o("save")})}finally{r.value=!1}},m=()=>{d&&(d.dispose(),d=null)};return(0,i.YP)(()=>s.value,e=>{d&&e!==d.getValue()&&d.setValue(e)}),(0,i.bv)(()=>{p()}),(0,i.Jd)(()=>{m()}),a({getEditor:()=>d}),(e,t)=>{let a=l.Z;return(0,i.wg)(),(0,i.j4)(a,{class:"h-full",show:(0,i.SU)(r)},{default:(0,i.w5)(()=>[(0,i._)("div",{ref_key:"containerRef",ref:u,class:"monaco-editor-container"},null,512)]),_:1},8,["show"])}}}),s=(0,a(41748).default)(o,[["__scopeId","data-v-72ffe419"]])},53472:function(e,t,a){a.d(t,{Z:()=>n});var l=a(58786);let i=["height","srcdoc"],n=(0,l.aZ)({__name:"index",props:{value:{type:String,default:""},height:{type:[String,Number],default:"100%"}},setup:e=>(t,a)=>((0,l.wg)(),(0,l.iD)("iframe",{width:"100%",height:e.height,srcdoc:e.value,style:{border:"none",borderRadius:"4px"}},null,8,i))})},86559:function(e,t,a){a.d(t,{Z:()=>n});var l=a(73084),i=a(58786);let n=(0,i.aZ)({__name:"index",props:(0,i.Vf)({width:{default:240},prefix:{type:Boolean,default:!1}},{value:{default:""},valueModifiers:{}}),emits:(0,i.Vf)(["search"],["update:value"]),setup(e,t){let{expose:a,emit:n}=t,o=(0,i.iH)(null),s=(0,i.tT)(e,"value"),u=()=>{n("search",s.value)};return a({focus:()=>{var e;null==(e=o.value)||e.focus()}}),(e,t)=>{let a=l.Z;return(0,i.wg)(),(0,i.j4)(a,(0,i.dG)({ref_key:"inputRef",ref:o,value:s.value,"onUpdate:value":t[0]||(t[0]=e=>s.value=e)},e.$attrs,{class:"bt-search",style:{width:`${e.width}px`},onKeyup:(0,i.D2)(u,["enter"])}),(0,i.Nv)({_:2},[e.prefix?{name:"prefix",fn:(0,i.w5)(()=>[(0,i._)("div",{class:"flex items-center cursor-pointer",onClick:u},t[1]||(t[1]=[(0,i._)("i",{class:"i-mdi-search text-16px"},null,-1)]))]),key:"0"}:void 0,e.prefix?void 0:{name:"suffix",fn:(0,i.w5)(()=>[(0,i._)("div",{class:"flex items-center cursor-pointer",onClick:u},t[2]||(t[2]=[(0,i._)("i",{class:"i-mdi-search text-16px"},null,-1)]))]),key:"1"}]),1040,["value","style"])}}})},13269:function(e,t,a){a.r(t),a.d(t,{default:()=>E});var l=a(39244),i=a(25170),n=a(60424),o=a(66760),s=a(86559),u=a(15496),d=a(73084),r=a(58786),p=a(53903),m=a(93953),c=a(51169),f=a(67512),v=a(68271),g=a(31651),_=a(46244),h=a(6455),y=a(88253),w=a(3179),k=a(81833),S=a(8490),H=a(37864);let U={class:"flex flex-col flex-1 h-580px"},x={class:"flex justify-end gap-12px mb-8px"},b={class:"flex-1"},Z=(0,r.aZ)({__name:"TemplateForm",setup(e){let t=(0,r.RC)(()=>Promise.all([a.e("7303"),a.e("5274"),a.e("5867"),a.e("587"),a.e("9380")]).then(a.bind(a,48555))),l=(0,r.iH)(!1),i=(0,r.Fl)(()=>l.value?"Edit template":"New template"),n=(0,r.iH)(0),o=(0,r.qj)({temp_name:"",add_type:0,html_content:"",drag_data:""}),s=[{label:"HTML",value:0},{label:"Drag",value:1}],p=(0,r.Fl)(()=>{var e;return(null==(e=s.find(e=>e.value===o.add_type))?void 0:e.label)||""}),m=e=>{let t=new FileReader;t.onload=e=>{var t;o.html_content=null==(t=e.target)?void 0:t.result},e.file&&t.readAsText(e.file)},f=()=>{let e=Z.getState();e.preview&&e.preview(o.html_content)},[v,Z]=(0,c.d)({onChangeState:e=>{if(e){let e=Z.getState(),{row:t}=e;l.value=e.isEdit,e.type&&(o.add_type=e.type),t&&(n.value=t.id,o.temp_name=t.temp_name,o.add_type=t.add_type,o.html_content=t.html_content,o.drag_data=t.drag_data)}else n.value=0,o.temp_name="",o.add_type=0,o.html_content="",o.drag_data=""},onConfirm:async()=>{l.value?await (0,g.QB)({id:n.value,...(0,r.IU)(o)}):await (0,g.WF)((0,r.IU)(o)),Z.getState().refresh()}});return(e,a)=>{let n=d.Z,c=H.ZP,g=S.Z,Z=k.Z,W=w.Z,C=u.ZP,j=y.Z,M=h.ZP,P=_.Z;return(0,r.wg)(),(0,r.j4)((0,r.SU)(v),{title:(0,r.SU)(i),width:1200},{default:(0,r.w5)(()=>[(0,r.Wm)(P,{class:"pt-8px",model:(0,r.SU)(o)},{default:(0,r.w5)(()=>[(0,r.Wm)(Z,{cols:24,"x-gap":24},{default:(0,r.w5)(()=>[(0,r.Wm)(c,{span:18,label:"Name",path:"temp_name"},{default:(0,r.w5)(()=>[(0,r.Wm)(n,{value:(0,r.SU)(o).temp_name,"onUpdate:value":a[0]||(a[0]=e=>(0,r.SU)(o).temp_name=e),placeholder:e.$t("market.template.add.namePlaceholder")},null,8,["value","placeholder"])]),_:1}),(0,r.Wm)(c,{span:6,label:"Type",path:"add_type"},{default:(0,r.w5)(()=>[(0,r.Wm)(g,{value:(0,r.SU)(o).add_type,"onUpdate:value":a[1]||(a[1]=e=>(0,r.SU)(o).add_type=e),disabled:(0,r.SU)(l),options:s},null,8,["value","disabled"])]),_:1})]),_:1}),(0,r.Wm)(M,{label:(0,r.SU)(p),"show-feedback":!1},{default:(0,r.w5)(()=>[(0,r._)("div",U,[(0,r._)("div",x,[(0,r._)("div",null,[(0,r.Wm)(W,{mode:"button","button-type":"primary","is-upload":!1,accept:["html"],onChange:m},{default:(0,r.w5)(()=>[(0,r.Uk)((0,r.zw)(e.$t("market.template.uploadHtml")),1)]),_:1})]),(0,r.Wm)(C,{type:"primary",ghost:"",onClick:f},{default:(0,r.w5)(()=>[(0,r.Uk)((0,r.zw)(e.$t("common.actions.preview")),1)]),_:1})]),(0,r._)("div",b,[1===(0,r.SU)(o).add_type?((0,r.wg)(),(0,r.j4)((0,r.SU)(t),{key:0,config:(0,r.SU)(o).drag_data,"onUpdate:config":a[2]||(a[2]=e=>(0,r.SU)(o).drag_data=e),html:(0,r.SU)(o).html_content,"onUpdate:html":a[3]||(a[3]=e=>(0,r.SU)(o).html_content=e)},null,8,["config","html"])):(0,r.kq)("",!0),0===(0,r.SU)(o).add_type?((0,r.wg)(),(0,r.j4)(j,{key:1,value:(0,r.SU)(o).html_content,"onUpdate:value":a[4]||(a[4]=e=>(0,r.SU)(o).html_content=e),language:"html"},null,8,["value"])):(0,r.kq)("",!0)])])]),_:1},8,["label"])]),_:1},8,["model"])]),_:1},8,["title"])}}});var W=a(53472);let C=(0,r.aZ)({__name:"TemplatePreview",setup(e){let t=(0,r.iH)(""),[a,l]=(0,c.d)({onChangeState:e=>{e&&(t.value=l.getState().html||"")}});return(e,l)=>{let i=W.Z;return(0,r.wg)(),(0,r.j4)((0,r.SU)(a),{title:e.$t("market.template.preview.title"),width:"820",footer:!1},{default:(0,r.w5)(()=>[(0,r.Wm)(i,{height:580,value:(0,r.SU)(t)},null,8,["value"])]),_:1},8,["title"])}}});var j=a(99778),M=a(65965),P=a(52495);let O={class:"p-24px"},z={class:"bt-title"};function L(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,r.lA)(e)}let T=(0,r.aZ)({__name:"index",setup(e){let t=(0,M.tv)(),{t:a}=(0,P.QT)(),_=(0,r.iH)(),{tableParams:h,tableList:y,loading:w,tableTotal:k,getTableData:S}=(0,f.Z)({loading:!0,immediate:!1,params:{page:1,page_size:10,keyword:""},fetchFn:g.A8});(async()=>{await S(),y.value.forEach(e=>{e.isEdit=!1,e.edit_name=""})})();let H=(0,r.iH)([{key:"temp_name",title:a("market.template.columns.name"),minWidth:120,ellipsis:{tooltip:!0},render:e=>{if(!e.isEdit)return(0,r.Wm)("div",{class:"flex justify-start gap-1.25 items-center"},[(0,r.Wm)(u.ZP,{type:"primary",text:!0,onClick:()=>{E(e)}},{default:()=>[e.temp_name]}),(0,r.Wm)("i",{class:"i-ci:edit-pencil-line-01 text-14px cursor-pointer",onClick:()=>{e.isEdit=!0,e.edit_name=e.temp_name}},null)]);{let t,l;return(0,r.Wm)("div",{class:"flex justify-start gap-1.25 items-center"},[(0,r.Wm)(d.Z,{class:"edit-domain-input",value:e.edit_name,"onUpdate:value":t=>e.edit_name=t},null),(0,r.Wm)(u.ZP,{text:!0,type:"info",class:"text-12px",onClick:()=>T(e)},L(t=a("market.template.edit.confirm"))?t:{default:()=>[t]}),(0,r.Wm)(u.ZP,{text:!0,type:"default",onClick:()=>{e.isEdit=!1,e.edit_name=""}},L(l=a("market.template.edit.cancel"))?l:{default:()=>[l]})])}}},{key:"add_type",title:a("market.template.columns.type"),minWidth:140,render:e=>{if(1===e.add_type){let e;return(0,r.Wm)(p.ZP,{size:"small",bordered:!1,type:"primary"},L(e=a("market.template.types.drag"))?e:{default:()=>[e]})}if(0===e.add_type){let e;return(0,r.Wm)(p.ZP,{size:"small",bordered:!1,type:"info"},L(e=a("market.template.types.html"))?e:{default:()=>[e]})}if(2==e.add_type){let e;return(0,r.Wm)(p.ZP,{size:"small",bordered:!1,type:"success"},L(e=a("market.template.types.ai"))?e:{default:()=>[e]})}}},{key:"create_time",title:a("market.template.columns.createdAt"),minWidth:140,render:e=>(0,v.mr)(e.create_time)},{title:a("common.columns.actions"),key:"actions",align:"right",width:240,render:e=>{let t,l,i,n;return(0,r.Wm)(m.Z,{inline:!0},{default:()=>[(0,r.Wm)(u.ZP,{type:"primary",text:!0,onClick:()=>{B(e.html_content)}},L(t=a("common.actions.preview"))?t:{default:()=>[t]}),(0,r.Wm)(u.ZP,{type:"primary",text:!0,onClick:()=>{E(e)}},L(l=a("common.actions.edit"))?l:{default:()=>[l]}),(0,r.Wm)(u.ZP,{type:"primary",text:!0,disabled:2==e.add_type,onClick:()=>{R(e)}},L(i=a("market.template.actions.duplicate"))?i:{default:()=>[i]}),(0,r.Wm)(u.ZP,{type:"error",text:!0,onClick:()=>{V(e)}},L(n=a("common.actions.delete"))?n:{default:()=>[n]})]})}}]),[U,x]=(0,c.d)({component:Z,state:{isEdit:!1,refresh:S,preview:e=>{B(e)}}}),b=()=>{_.value.open()},W=e=>{"Drag"==e?x.setState({isEdit:!1,type:1,row:null}):"HTML"==e&&x.setState({isEdit:!1,type:0,row:null}),x.open()},T=async e=>{e.temp_name=e.edit_name,await (0,g.QB)(e),e.isEdit=!1},E=e=>{2==e.add_type&&e.chat_id?t.push({name:"ai-template",params:{chatId:e.chat_id}}):(x.setState({isEdit:!0,row:e}),x.open())},[J,D]=(0,c.d)({component:C}),B=e=>{D.setState({html:e}),D.open()},R=async e=>{await (0,g.ef)({id:e.id}),S()},V=e=>{(0,v.iG)({title:a("market.template.delete.title"),content:a("market.template.delete.confirm",{name:e.temp_name}),confirmText:a("common.actions.delete"),confirmType:"error",onConfirm:async()=>{await (0,g.Xc)({id:e.id}),S()}})};return(e,t)=>{let d=s.Z,p=o.Z,m=n.Z,c=i.Z,f=l.Z;return(0,r.wg)(),(0,r.iD)(r.HY,null,[(0,r._)("div",O,[(0,r._)("div",z,(0,r.zw)((0,r.SU)(a)("template.template")),1),(0,r.Wm)(f,null,{toolsLeft:(0,r.w5)(()=>[(0,r.Wm)((0,r.SU)(u.ZP),{type:"primary",onClick:b},{default:(0,r.w5)(()=>[(0,r.Uk)((0,r.zw)((0,r.SU)(a)("market.template.actions.add")),1)]),_:1})]),toolsRight:(0,r.w5)(()=>[(0,r.Wm)(d,{value:(0,r.SU)(h).keyword,"onUpdate:value":t[0]||(t[0]=e=>(0,r.SU)(h).keyword=e),width:240,placeholder:(0,r.SU)(a)("market.template.search.namePlaceholder"),onSearch:t[1]||(t[1]=()=>(0,r.SU)(S)(!0))},null,8,["value","placeholder"])]),table:(0,r.w5)(()=>[(0,r.Wm)(m,{loading:(0,r.SU)(w),columns:(0,r.SU)(H),data:(0,r.SU)(y)},{empty:(0,r.w5)(()=>[(0,r.Wm)(p)]),_:1},8,["loading","columns","data"])]),pageRight:(0,r.w5)(()=>[(0,r.Wm)(c,{page:(0,r.SU)(h).page,"onUpdate:page":t[2]||(t[2]=e=>(0,r.SU)(h).page=e),"page-size":(0,r.SU)(h).page_size,"onUpdate:pageSize":t[3]||(t[3]=e=>(0,r.SU)(h).page_size=e),"item-count":(0,r.SU)(k),onRefresh:(0,r.SU)(S)},null,8,["page","page-size","item-count","onRefresh"])]),modal:(0,r.w5)(()=>[(0,r.Wm)((0,r.SU)(U)),(0,r.Wm)((0,r.SU)(J))]),_:1})]),(0,r.Wm)(j.Z,{ref_key:"createTemplateModalRef",ref:_,onConfirmType:W},null,512)],64)}}}),E=(0,a(41748).default)(T,[["__scopeId","data-v-0e970b7e"]])}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/7699.c997735d.js b/core/public/dist/static/js/async/7699.c997735d.jsnew file mode 100644index 00000000..3f3dfc6a--- /dev/null+++ b/core/public/dist/static/js/async/7699.c997735d.js@@ -0,0 +1 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["7699"],{39432:function(e,t,a){a.d(t,{Au:()=>m,Fj:()=>d,LC:()=>o,Lb:()=>h,M7:()=>_,OV:()=>p,dj:()=>r,gK:()=>u,i7:()=>n,qt:()=>s,rU:()=>g,v1:()=>c,xh:()=>v,yW:()=>f});var l=a(34541);let{t:i}=a(76882).Z.global,n=e=>l.e.get("/domains/list",{params:e}),o=()=>l.e.get("/domains/all"),s=()=>l.e.post("/multi_ip_domain/apply"),d=e=>l.e.post("/domains/create",e,{fetchOptions:{loading:i("domain.api.loading.creating"),successMessage:!0}}),u=e=>l.e.post("/domains/update",e,{fetchOptions:{loading:i("domain.api.loading.updating"),successMessage:!0}}),r=e=>l.e.post("/domains/delete",e,{fetchOptions:{loading:i("domain.api.loading.deleting"),successMessage:!0}}),p=e=>l.e.post("/domains/set_ssl",e,{fetchOptions:{loading:i("domain.api.loading.settingSSL"),successMessage:!0}}),m=e=>l.e.get("/domains/get_ssl",{params:e}),c=e=>l.e.post("/domains/fresh_dns_records",e,{fetchOptions:{loading:i("domain.api.loading.refreshingDns"),successMessage:!0}}),f=e=>l.e.post("/ssl/apply_cert",e,{fetchOptions:{loading:i("domain.api.loading.applyingCert"),successMessage:!0}}),v=e=>l.e.post("/domains/set_default_domain",e,{fetchOptions:{loading:i("domain.api.loading.settingDefault"),successMessage:!0}}),g=e=>l.e.post("/askai/project/create",e,{fetchOptions:{loading:i("domain.api.loading.settingBrandInfo"),successMessage:!0}}),_=e=>l.e.post("/multi_ip_domain/test",e,{fetchOptions:{loading:i("domain.api.loading.testingConnection"),successMessage:!0}}),h=()=>l.e.post("/askai/supplier/status")},31651:function(e,t,a){a.d(t,{A8:()=>o,NI:()=>s,QB:()=>u,WF:()=>d,Xc:()=>p,ef:()=>r});var l=a(76882),i=a(34541);let{t:n}=l.Z.global;function o(e){return i.e.get("/email_template/list",{params:e})}function s(){return i.e.get("/email_template/all")}function d(e){return i.e.post("/email_template/create",e,{fetchOptions:{loading:n("market.template.loading.creating"),successMessage:!0}})}function u(e){return i.e.post("/email_template/update",e,{fetchOptions:{loading:n("market.template.loading.updating"),successMessage:!0}})}function r(e){return i.e.post("/email_template/copy",e,{fetchOptions:{loading:n("market.template.loading.copying"),successMessage:!0}})}function p(e){return i.e.post("/email_template/delete",e,{fetchOptions:{loading:n("market.template.loading.deleting"),successMessage:!0}})}},16634:function(e,t,a){a.d(t,{Ao:()=>o,mL:()=>s,uL:()=>n});var l=a(34541),i=a(42205);let n={fetchOptions:{loading:"Loading... Please wait.",successMessage:!0}};async function o(e){let{legal_company_name:t,web_site:a,company_profile:n,email:o,phone:s,support_url:d,hasGotCompanyProfile:u}=(0,i.J)();if(!u.value)try{let i=await l.e.post("/askai/project/get_company_profile",{domain:e});t.value=i.legal_company_name,a.value=i.web_site,n.value=i.company_profile,o.value=i.email,s.value=i.phone,d.value=i.support_url,u.value=!0}catch(e){console.warn(e)}}async function s(e){let{legal_company_name:t,web_site:a,company_profile:o,email:s,phone:d,support_url:u}=(0,i.J)();try{await l.e.post("/askai/project/modify_company_profile",{domain:e,legal_company_name:t.value,web_site:a.value,company_profile:o.value,email:s.value,phone:d.value,support_url:u.value},n)}catch(e){console.warn(e)}}},54686:function(e,t,a){a.d(t,{L7:()=>g,M7:()=>m,Rw:()=>_,VP:()=>h,Vq:()=>y,Xe:()=>f,gK:()=>c,ke:()=>v,lQ:()=>r});var l=a(34541),i=a(16634),n=a(42205),o=a(68271),s=a(39432),d=a(31708),u=a(76882);async function r(e){let{domainTit:t,domainIp:a,quota:i,unit:s,mailboxes:d,catch_email:u,hasGotDomainConfiguration:r,urls:m}=(0,n.J)();if(!r.value)try{let n=await l.e.get("/domains/list",{params:{keyword:e,page:1,page_size:1}});if((0,o.Kn)(n)){var c;let{list:l}=n,f=(0,o.UO)(l[0].quota,!0,2).split(" ");t.value=l[0].domain,a.value=(null==(c=l[0].multi_ip_domains)?void 0:c.outbound_ip)||"",i.value=f[0],s.value=f[1],d.value=l[0].mailboxes,u.value=l[0].email,m.value=l[0].urls&&l[0].urls.length>0&&""!=l[0].urls[0]?l[0].urls:[`https://${e}`],await p(e),r.value=!0}}catch(e){console.warn(e)}}async function p(e){let{brandInfo:t,createdBrandInfo:a}=(0,n.J)();try{let i=await l.e.post("/askai/project/get_project_status",{domain:e});t.value=i.status,a.value=i.create_status}catch(e){console.warn(e)}}async function m(){let{domainTit:e,domainIp:t}=(0,n.J)();if(""==t.value)return void o.v0.error(u.Z.global.t("domain.edit.domainConfiguration.validation.setDedicatedIpFirst"));try{await l.e.post("/multi_ip_domain/test",{domain:e.value,outbound_ip:t.value},{fetchOptions:{loading:u.Z.global.t("domain.edit.domainConfiguration.api.testingConnection"),successMessage:!0}})}catch(e){console.warn(e)}}async function c(){let{domainTit:e,domainIp:t,quota:a,unit:o,urls:s,mailboxes:d,catch_email:u}=(0,n.J)(),r=function(e,t){switch(t){case"KB":return 1024*e;case"MB":return 1024*e*1024;case"GB":return 1024*e*1048576;case"TB":return 1024*e*0x40000000;default:return e}}(Number(a.value),o.value);try{await l.e.post("/domains/update",{domain:e.value,mailboxes:d.value,mailboxQuota:r,quota:r,rateLimit:1,active:1,email:u.value,urls:s.value,outbound_ip:t.value},i.uL)}catch(e){console.warn(e)}}async function f(){let{waitAndCheckDomainStatusRef:e,domainTit:t,urls:a,hasGotDomainConfiguration:l}=(0,n.J)(),i=(0,d.s6)();if(l.value=!1,0==a.value.length||""==a.value[0])o.v0.error(u.Z.global.t("domain.edit.domainConfiguration.fillDomain"));else if((0,o.CB)(a.value[0]))try{await (0,s.rU)({domain:t.value,urls:a.value}),i.domainSource=t.value,e.value.open(t.value,()=>{v(t.value,1),r(t.value)})}catch(e){console.warn(e)}else o.v0.error(u.Z.global.t("domain.edit.domainConfiguration.fillValidDomain"))}async function v(e,t){try{await l.e.post("/domains/update",{domain:e,hasbrandinfo:t})}catch(e){console.warn(e)}}function g(e){let{urls:t}=(0,n.J)(),a=t.value[0].match(/http:\/\/?/g),l=t.value[0].match(/https:\/\/?/g);a&&(t.value[0]=a[0]+e),l&&(t.value[0]=l[0]+e),a||l||(t.value[0]="https://"+e)}function _(e){let{urls:t}=(0,n.J)();t.value.splice(e,1)}function h(){let{hasGotAisettings:e,hasGotCompanyProfile:t,hasGotDomainConfiguration:a,hasGotFootersettings:l,hasGotProjectDetail:i,hasGotSitemap:o,hasGotStyling:s}=(0,n.J)();e.value=!1,t.value=!1,a.value=!1,l.value=!1,i.value=!1,o.value=!1,s.value=!1}async function y(e){let{brandInfo:t,domainTit:a}=(0,n.J)();try{await l.e.post("/askai/project/set_project_status",{domain:a.value,status:e},i.uL),await l.e.post("/domains/update",{domain:a.value,active:1,hasbrandinfo:Number(e)})}catch(a){t.value=!e,console.warn(a)}}},42205:function(e,t,a){a.d(t,{J:()=>o});var l=a(30989),i=a(58786);let n=(0,l.Q_)("editDomainStore",()=>{let e=(0,i.iH)(!1),t=(0,i.iH)(""),a=(0,i.iH)(""),l=(0,i.iH)("0"),n=(0,i.iH)("B"),o=(0,i.iH)(0),s=(0,i.iH)(""),d=(0,i.iH)(["https://"]),u=(0,i.iH)(!1),r=(0,i.iH)(),p=(0,i.iH)(!1),m=(0,i.iH)(!1),c=(0,i.iH)(""),f=(0,i.iH)(""),v=(0,i.iH)(""),g=(0,i.iH)(""),_=(0,i.iH)(""),h=(0,i.iH)(""),y=(0,i.iH)(""),w=(0,i.iH)([]),k=(0,i.iH)({title:"",content:"",kid:"",update_time:0}),H=(0,i.iH)(""),S=(0,i.iH)(""),U=(0,i.iH)(!1),b=(0,i.iH)(!1),x=(0,i.iH)(""),Z=(0,i.iH)(!1),W=(0,i.iH)(""),C=(0,i.iH)(!1),M=(0,i.iH)(""),j=(0,i.iH)(""),P=(0,i.iH)(""),O=(0,i.iH)(""),z=(0,i.iH)(""),L=(0,i.iH)(""),J=(0,i.iH)(!1),T=(0,i.iH)(""),E=(0,i.iH)(""),B=(0,i.iH)(""),D=(0,i.iH)(""),R=(0,i.iH)(""),V=(0,i.iH)(""),F=(0,i.iH)(""),A=(0,i.iH)(""),I=(0,i.iH)(!1),K=(0,i.iH)([{title:"",uri_path:""}]),$=(0,i.iH)(!1),q=(0,i.iH)(""),N=(0,i.iH)("");return{hasGotDomainConfiguration:e,domainTit:t,domainIp:a,quota:l,unit:n,mailboxes:o,catch_email:s,urls:d,brandInfo:u,waitAndCheckDomainStatusRef:r,createdBrandInfo:p,hasGotProjectDetail:m,domain:c,description:f,favicon:v,industry:g,primary_logo:_,project_name:h,secondary_logo:y,knowledge_base:w,activeKnowledge:k,knowledgeTitle:H,knowledgeContent:S,knowledgeModalShow:U,isEditKnowledge:b,knowledge_base_content:x,knowledgeBasePreview:Z,knowledgeBasePreviewTit:W,hasGotCompanyProfile:C,legal_company_name:M,web_site:j,company_profile:P,email:O,phone:z,support_url:L,hasGotStyling:J,accent_color:T,text_color:E,page_background:B,container_background:D,link_social_color:R,link_footer_color:V,heading_font:F,body_font:A,hasGotSitemap:I,sitemap:K,hasGotFootersettings:$,copyright_text:q,disclaimer:N,hasGotAisettings:(0,i.iH)(!1),prompt:(0,i.iH)("")}});function o(){let e=n();return{...(0,l.Jk)(e)}}},88253:function(e,t,a){a.d(t,{Z:()=>s});var l=a(60579),i=a(58786),n=a(6768);let o=(0,i.aZ)({__name:"index",props:(0,i.Vf)({language:{type:String,default:"html"},theme:{type:String,default:"vs-dark"},options:{type:Object,default:()=>({})}},{value:{default:""},valueModifiers:{}}),emits:(0,i.Vf)(["save"],["update:value"]),setup(e,t){let{expose:a,emit:o}=t,s=(0,i.tT)(e,"value"),d=(0,i.iH)(null),u=null,r=(0,i.iH)(!1);n.Z.config({paths:{vs:`${location.origin}/static/plugin/monaco`}});let p=async()=>{if(d.value&&!u)try{r.value=!0;let t=await n.Z.init();(u=t.editor.create(d.value,{value:s.value,language:e.language,theme:e.theme,minimap:{enabled:!1},automaticLayout:!0,scrollBeyondLastLine:!1,fontSize:14,tabSize:2,wordWrap:"on",...e.options})).onDidChangeModelContent(()=>{s.value=(null==u?void 0:u.getValue())||""}),u.addCommand(t.KeyMod.CtrlCmd|t.KeyCode.KeyS,function(){o("save")})}finally{r.value=!1}},m=()=>{u&&(u.dispose(),u=null)};return(0,i.YP)(()=>s.value,e=>{u&&e!==u.getValue()&&u.setValue(e)}),(0,i.bv)(()=>{p()}),(0,i.Jd)(()=>{m()}),a({getEditor:()=>u}),(e,t)=>{let a=l.Z;return(0,i.wg)(),(0,i.j4)(a,{class:"h-full",show:(0,i.SU)(r)},{default:(0,i.w5)(()=>[(0,i._)("div",{ref_key:"containerRef",ref:d,class:"monaco-editor-container"},null,512)]),_:1},8,["show"])}}}),s=(0,a(41748).default)(o,[["__scopeId","data-v-72ffe419"]])},53472:function(e,t,a){a.d(t,{Z:()=>n});var l=a(58786);let i=["height","srcdoc"],n=(0,l.aZ)({__name:"index",props:{value:{type:String,default:""},height:{type:[String,Number],default:"100%"}},setup:e=>(t,a)=>((0,l.wg)(),(0,l.iD)("iframe",{width:"100%",height:e.height,srcdoc:e.value,style:{border:"none",borderRadius:"4px"}},null,8,i))})},86559:function(e,t,a){a.d(t,{Z:()=>n});var l=a(73084),i=a(58786);let n=(0,i.aZ)({__name:"index",props:(0,i.Vf)({width:{default:240},prefix:{type:Boolean,default:!1}},{value:{default:""},valueModifiers:{}}),emits:(0,i.Vf)(["search"],["update:value"]),setup(e,t){let{expose:a,emit:n}=t,o=(0,i.iH)(null),s=(0,i.tT)(e,"value"),d=()=>{n("search",s.value)};return a({focus:()=>{var e;null==(e=o.value)||e.focus()}}),(e,t)=>{let a=l.Z;return(0,i.wg)(),(0,i.j4)(a,(0,i.dG)({ref_key:"inputRef",ref:o,value:s.value,"onUpdate:value":t[0]||(t[0]=e=>s.value=e)},e.$attrs,{class:"bt-search",style:{width:`${e.width}px`},onKeyup:(0,i.D2)(d,["enter"])}),(0,i.Nv)({_:2},[e.prefix?{name:"prefix",fn:(0,i.w5)(()=>[(0,i._)("div",{class:"flex items-center cursor-pointer",onClick:d},t[1]||(t[1]=[(0,i._)("i",{class:"i-mdi-search text-16px"},null,-1)]))]),key:"0"}:void 0,e.prefix?void 0:{name:"suffix",fn:(0,i.w5)(()=>[(0,i._)("div",{class:"flex items-center cursor-pointer",onClick:d},t[2]||(t[2]=[(0,i._)("i",{class:"i-mdi-search text-16px"},null,-1)]))]),key:"1"}]),1040,["value","style"])}}})},13269:function(e,t,a){a.r(t),a.d(t,{default:()=>T});var l=a(39244),i=a(25170),n=a(60424),o=a(66760),s=a(86559),d=a(15496),u=a(73084),r=a(58786),p=a(53903),m=a(93953),c=a(51169),f=a(67512),v=a(68271),g=a(31651),_=a(46244),h=a(6455),y=a(88253),w=a(3179),k=a(81833),H=a(8490),S=a(37864);let U={class:"flex flex-col flex-1 h-580px"},b={class:"flex justify-end gap-12px mb-8px"},x={class:"flex-1"},Z=(0,r.aZ)({__name:"TemplateForm",setup(e){let t=(0,r.RC)(()=>Promise.all([a.e("9780"),a.e("7303"),a.e("5867"),a.e("3697"),a.e("9380")]).then(a.bind(a,48555))),l=(0,r.iH)(!1),i=(0,r.Fl)(()=>l.value?"Edit template":"New template"),n=(0,r.iH)(0),o=(0,r.qj)({temp_name:"",add_type:0,html_content:"",drag_data:""}),s=[{label:"HTML",value:0},{label:"Drag",value:1}],p=(0,r.Fl)(()=>{var e;return(null==(e=s.find(e=>e.value===o.add_type))?void 0:e.label)||""}),m=e=>{let t=new FileReader;t.onload=e=>{var t;o.html_content=null==(t=e.target)?void 0:t.result},e.file&&t.readAsText(e.file)},f=()=>{let e=Z.getState();e.preview&&e.preview(o.html_content)},[v,Z]=(0,c.d)({onChangeState:e=>{if(e){let e=Z.getState(),{row:t}=e;l.value=e.isEdit,e.type&&(o.add_type=e.type),t&&(n.value=t.id,o.temp_name=t.temp_name,o.add_type=t.add_type,o.html_content=t.html_content,o.drag_data=t.drag_data)}else n.value=0,o.temp_name="",o.add_type=0,o.html_content="",o.drag_data=""},onConfirm:async()=>{l.value?await (0,g.QB)({id:n.value,...(0,r.IU)(o)}):await (0,g.WF)((0,r.IU)(o)),Z.getState().refresh()}});return(e,a)=>{let n=u.Z,c=S.ZP,g=H.Z,Z=k.Z,W=w.Z,C=d.ZP,M=y.Z,j=h.ZP,P=_.Z;return(0,r.wg)(),(0,r.j4)((0,r.SU)(v),{title:(0,r.SU)(i),width:1200},{default:(0,r.w5)(()=>[(0,r.Wm)(P,{class:"pt-8px",model:(0,r.SU)(o)},{default:(0,r.w5)(()=>[(0,r.Wm)(Z,{cols:24,"x-gap":24},{default:(0,r.w5)(()=>[(0,r.Wm)(c,{span:18,label:"Name",path:"temp_name"},{default:(0,r.w5)(()=>[(0,r.Wm)(n,{value:(0,r.SU)(o).temp_name,"onUpdate:value":a[0]||(a[0]=e=>(0,r.SU)(o).temp_name=e),placeholder:e.$t("market.template.add.namePlaceholder")},null,8,["value","placeholder"])]),_:1}),(0,r.Wm)(c,{span:6,label:"Type",path:"add_type"},{default:(0,r.w5)(()=>[(0,r.Wm)(g,{value:(0,r.SU)(o).add_type,"onUpdate:value":a[1]||(a[1]=e=>(0,r.SU)(o).add_type=e),disabled:(0,r.SU)(l),options:s},null,8,["value","disabled"])]),_:1})]),_:1}),(0,r.Wm)(j,{label:(0,r.SU)(p),"show-feedback":!1},{default:(0,r.w5)(()=>[(0,r._)("div",U,[(0,r._)("div",b,[(0,r._)("div",null,[(0,r.Wm)(W,{mode:"button","button-type":"primary","is-upload":!1,accept:["html"],onChange:m},{default:(0,r.w5)(()=>[(0,r.Uk)((0,r.zw)(e.$t("market.template.uploadHtml")),1)]),_:1})]),(0,r.Wm)(C,{type:"primary",ghost:"",onClick:f},{default:(0,r.w5)(()=>[(0,r.Uk)((0,r.zw)(e.$t("common.actions.preview")),1)]),_:1})]),(0,r._)("div",x,[1===(0,r.SU)(o).add_type?((0,r.wg)(),(0,r.j4)((0,r.SU)(t),{key:0,config:(0,r.SU)(o).drag_data,"onUpdate:config":a[2]||(a[2]=e=>(0,r.SU)(o).drag_data=e),html:(0,r.SU)(o).html_content,"onUpdate:html":a[3]||(a[3]=e=>(0,r.SU)(o).html_content=e)},null,8,["config","html"])):(0,r.kq)("",!0),0===(0,r.SU)(o).add_type?((0,r.wg)(),(0,r.j4)(M,{key:1,value:(0,r.SU)(o).html_content,"onUpdate:value":a[4]||(a[4]=e=>(0,r.SU)(o).html_content=e),language:"html"},null,8,["value"])):(0,r.kq)("",!0)])])]),_:1},8,["label"])]),_:1},8,["model"])]),_:1},8,["title"])}}});var W=a(53472);let C=(0,r.aZ)({__name:"TemplatePreview",setup(e){let t=(0,r.iH)(""),[a,l]=(0,c.d)({onChangeState:e=>{e&&(t.value=l.getState().html||"")}});return(e,l)=>{let i=W.Z;return(0,r.wg)(),(0,r.j4)((0,r.SU)(a),{title:e.$t("market.template.preview.title"),width:"820",footer:!1},{default:(0,r.w5)(()=>[(0,r.Wm)(i,{height:580,value:(0,r.SU)(t)},null,8,["value"])]),_:1},8,["title"])}}});var M=a(99778),j=a(65965),P=a(52495);let O={class:"p-24px"},z={class:"bt-title"};function L(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,r.lA)(e)}let J=(0,r.aZ)({__name:"index",setup(e){let t=(0,j.tv)(),{t:a}=(0,P.QT)(),_=(0,r.iH)(),{tableParams:h,tableList:y,loading:w,tableTotal:k,getTableData:H}=(0,f.Z)({loading:!0,immediate:!1,params:{page:1,page_size:10,keyword:""},fetchFn:g.A8});(async()=>{await H(),y.value.forEach(e=>{e.isEdit=!1,e.edit_name=""})})();let S=(0,r.iH)([{key:"temp_name",title:a("market.template.columns.name"),minWidth:120,ellipsis:{tooltip:!0},render:e=>{if(!e.isEdit)return(0,r.Wm)("div",{class:"flex justify-start gap-1.25 items-center"},[(0,r.Wm)(d.ZP,{type:"primary",text:!0,onClick:()=>{T(e)}},{default:()=>[e.temp_name]}),(0,r.Wm)("i",{class:"i-ci:edit-pencil-line-01 text-14px cursor-pointer",onClick:()=>{e.isEdit=!0,e.edit_name=e.temp_name}},null)]);{let t,l;return(0,r.Wm)("div",{class:"flex justify-start gap-1.25 items-center"},[(0,r.Wm)(u.Z,{class:"edit-domain-input",value:e.edit_name,"onUpdate:value":t=>e.edit_name=t},null),(0,r.Wm)(d.ZP,{text:!0,type:"info",class:"text-12px",onClick:()=>J(e)},L(t=a("market.template.edit.confirm"))?t:{default:()=>[t]}),(0,r.Wm)(d.ZP,{text:!0,type:"default",onClick:()=>{e.isEdit=!1,e.edit_name=""}},L(l=a("market.template.edit.cancel"))?l:{default:()=>[l]})])}}},{key:"add_type",title:a("market.template.columns.type"),minWidth:140,render:e=>{if(1===e.add_type){let e;return(0,r.Wm)(p.ZP,{size:"small",bordered:!1,type:"primary"},L(e=a("market.template.types.drag"))?e:{default:()=>[e]})}if(0===e.add_type){let e;return(0,r.Wm)(p.ZP,{size:"small",bordered:!1,type:"info"},L(e=a("market.template.types.html"))?e:{default:()=>[e]})}if(2==e.add_type){let e;return(0,r.Wm)(p.ZP,{size:"small",bordered:!1,type:"success"},L(e=a("market.template.types.ai"))?e:{default:()=>[e]})}}},{key:"create_time",title:a("market.template.columns.createdAt"),minWidth:140,render:e=>(0,v.mr)(e.create_time)},{title:a("common.columns.actions"),key:"actions",align:"right",width:240,render:e=>{let t,l,i,n;return(0,r.Wm)(m.Z,{inline:!0},{default:()=>[(0,r.Wm)(d.ZP,{type:"primary",text:!0,onClick:()=>{D(e.html_content)}},L(t=a("common.actions.preview"))?t:{default:()=>[t]}),(0,r.Wm)(d.ZP,{type:"primary",text:!0,onClick:()=>{T(e)}},L(l=a("common.actions.edit"))?l:{default:()=>[l]}),(0,r.Wm)(d.ZP,{type:"primary",text:!0,disabled:2==e.add_type,onClick:()=>{R(e)}},L(i=a("market.template.actions.duplicate"))?i:{default:()=>[i]}),(0,r.Wm)(d.ZP,{type:"error",text:!0,onClick:()=>{V(e)}},L(n=a("common.actions.delete"))?n:{default:()=>[n]})]})}}]),[U,b]=(0,c.d)({component:Z,state:{isEdit:!1,refresh:H,preview:e=>{D(e)}}}),x=()=>{_.value.open()},W=e=>{"Drag"==e?b.setState({isEdit:!1,type:1,row:null}):"HTML"==e&&b.setState({isEdit:!1,type:0,row:null}),b.open()},J=async e=>{e.temp_name=e.edit_name,await (0,g.QB)(e),e.isEdit=!1},T=e=>{2==e.add_type&&e.chat_id?t.push({name:"ai-template",params:{chatId:e.chat_id}}):(b.setState({isEdit:!0,row:e}),b.open())},[E,B]=(0,c.d)({component:C}),D=e=>{B.setState({html:e}),B.open()},R=async e=>{await (0,g.ef)({id:e.id}),H()},V=e=>{(0,v.iG)({title:a("market.template.delete.title"),content:a("market.template.delete.confirm",{name:e.temp_name}),confirmText:a("common.actions.delete"),confirmType:"error",onConfirm:async()=>{await (0,g.Xc)({id:e.id}),H()}})};return(e,t)=>{let u=s.Z,p=o.Z,m=n.Z,c=i.Z,f=l.Z;return(0,r.wg)(),(0,r.iD)(r.HY,null,[(0,r._)("div",O,[(0,r._)("div",z,(0,r.zw)((0,r.SU)(a)("template.template")),1),(0,r.Wm)(f,null,{toolsLeft:(0,r.w5)(()=>[(0,r.Wm)((0,r.SU)(d.ZP),{type:"primary",onClick:x},{default:(0,r.w5)(()=>[(0,r.Uk)((0,r.zw)((0,r.SU)(a)("market.template.actions.add")),1)]),_:1})]),toolsRight:(0,r.w5)(()=>[(0,r.Wm)(u,{value:(0,r.SU)(h).keyword,"onUpdate:value":t[0]||(t[0]=e=>(0,r.SU)(h).keyword=e),width:240,placeholder:(0,r.SU)(a)("market.template.search.namePlaceholder"),onSearch:t[1]||(t[1]=()=>(0,r.SU)(H)(!0))},null,8,["value","placeholder"])]),table:(0,r.w5)(()=>[(0,r.Wm)(m,{loading:(0,r.SU)(w),columns:(0,r.SU)(S),data:(0,r.SU)(y)},{empty:(0,r.w5)(()=>[(0,r.Wm)(p)]),_:1},8,["loading","columns","data"])]),pageRight:(0,r.w5)(()=>[(0,r.Wm)(c,{page:(0,r.SU)(h).page,"onUpdate:page":t[2]||(t[2]=e=>(0,r.SU)(h).page=e),"page-size":(0,r.SU)(h).page_size,"onUpdate:pageSize":t[3]||(t[3]=e=>(0,r.SU)(h).page_size=e),"item-count":(0,r.SU)(k),onRefresh:(0,r.SU)(H)},null,8,["page","page-size","item-count","onRefresh"])]),modal:(0,r.w5)(()=>[(0,r.Wm)((0,r.SU)(U)),(0,r.Wm)((0,r.SU)(E))]),_:1})]),(0,r.Wm)(M.Z,{ref_key:"createTemplateModalRef",ref:_,onConfirmType:W},null,512)],64)}}}),T=(0,a(41748).default)(J,[["__scopeId","data-v-0e970b7e"]])}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/7777.7abd4f16.js b/core/public/dist/static/js/async/7777.7abd4f16.jsnew file mode 100644index 00000000..2f2b0a3e--- /dev/null+++ b/core/public/dist/static/js/async/7777.7abd4f16.js@@ -0,0 +1,8 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["7777"],{77984:function(e,a,t){t.d(a,{F:()=>n});var l=t(68271),i=t(94821),s=t(76882);let n=()=>{let{t:e}=s.Z.global,{copy:a,isSupported:t,copied:n}=(0,i.VPI)({legacy:!0});return{copied:n,copyText:async function(i){let s=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!i)return void l.v0.error(e("common.useCopy.noText"));t.value?(await a(i),s&&l.v0.success(e("common.useCopy.success"))):l.v0.error(e("common.useCopy.failed"))}}}},80947:function(e,a,t){t.d(a,{N:()=>n});var l=t(22895),i=t(68271),s=t(58786);let n=e=>{let{params:a,fetchFn:t,useParams:n,loading:u=!0,immediate:r=!0,rowKey:o=e=>e.id}=e,d=(0,s.iH)(u),p=(0,s.iH)([]),c=(0,s.iH)(0),m=(0,s.iH)(a),v=(0,s.iH)([]),_=()=>n?n(m.value):m.value,f=(0,l.DI)(async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&(m.value.page=1),d.value=!0;try{let e=_(),a=await t(e);(0,i.Kn)(a)&&(p.value=(0,i.kJ)(a.list)?a.list:[],c.value=(0,i.hj)(a.total)?a.total:0)}finally{v.value=[],d.value=!1}},300),g=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return f(e)},w=e=>{m.value.page=e},h=e=>{m.value.page_size=e};return(0,s.bv)(()=>{r&&g()}),{tableData:p,tableTotal:c,tableKeys:v,tableParams:m,fetchTable:g,resetTable:()=>g(!0),tableProps:(0,s.Fl)(()=>({rowKey:o,data:p.value,loading:d.value,checkedRowKeys:v.value,onUpdateCheckedRowKeys:e=>{v.value=e}})),batchProps:(0,s.Fl)(()=>({rowKey:o,data:p.value,checkedRowKeys:v.value,onUpdateCheckedRowKeys:e=>{v.value=e}})),pageProps:(0,s.Fl)(()=>({page:m.value.page,pageSize:m.value.page_size,itemCount:c.value,onUpdatePage:w,onUpdatePageSize:h}))}}},51169:function(e,a,t){t.d(a,{d:()=>n});var l=t(58786),i=t(49247);let s=Symbol("MODAL_INJECT"),n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{state:a={},component:t,onCancel:n,onConfirm:u}=e,r=(0,l.qj)({});return t?[(0,l.aZ)({setup(i,n){let{attrs:u,slots:o}=n;return(0,l.JJ)(s,{state:a,options:e,extendApi:e=>{Object.setPrototypeOf(r,e)},setState:e=>{Object.assign(a,e)}}),()=>(0,l.h)(t,{...i,...u},o)}}),r]:[(0,l.aZ)({setup(a,t){let{attrs:o,slots:d}=t,p=(0,l.f3)(s),c=(0,l.iH)(!1);return r.open=()=>{var a;c.value=!0,null==(a=e.onChangeState)||a.call(e,c.value)},r.close=()=>{c.value=!1},r.setState=a=>{var t;null==p||p.setState(a),null==(t=e.onChangeState)||t.call(e,c.value)},r.getState=()=>(null==p?void 0:p.state)??{},null==p||p.extendApi(r),()=>(0,l.Wm)(i.Z,(0,l.dG)({show:c.value},a,o,{onCancel:n,onConfirm:u,"onUpdate:show":e=>{c.value=e??!1}}),d)}}),r]}},16893:function(e,a,t){t.d(a,{Z:()=>n});var l=t(15496),i=t(58786);let s={class:"mr-4px"},n=(0,i.aZ)({__name:"index",props:{href:{type:String,default:""},text:{type:String,default:""}},setup(e){let a=()=>{window.open(e.href)};return(t,n)=>{let u=l.ZP;return(0,i.wg)(),(0,i.j4)(u,{text:"",onClick:a},{default:(0,i.w5)(()=>[(0,i._)("span",s,(0,i.zw)(e.text||t.$t("common.actions.help")),1),n[0]||(n[0]=(0,i._)("i",{class:"i-custom:help text-primary"},null,-1))]),_:1,__:[0]})}}})},39244:function(e,a,t){t.d(a,{Z:()=>s});var l=t(93953),i=t(58786);let s=(0,i.aZ)({__name:"index",setup(e){let a=!!(0,i.Rr)().toolsLeft,t=!!(0,i.Rr)().toolsRight,s=!!(0,i.Rr)().pageLeft||!!(0,i.Rr)().pageRight;return(e,n)=>{let u=l.Z;return(0,i.wg)(),(0,i.iD)("div",null,[a||t?((0,i.wg)(),(0,i.j4)(u,{key:0,class:"items-center mb-12px",justify:"space-between"},{default:(0,i.w5)(()=>[(0,i.Wm)(u,{class:"items-center",size:12},{default:(0,i.w5)(()=>[(0,i.WI)(e.$slots,"toolsLeft")]),_:3}),(0,i.Wm)(u,{class:"items-center",size:12},{default:(0,i.w5)(()=>[(0,i.WI)(e.$slots,"toolsRight")]),_:3})]),_:3})):(0,i.kq)("",!0),(0,i.WI)(e.$slots,"table"),(0,i.SU)(s)?((0,i.wg)(),(0,i.j4)(u,{key:1,class:"items-center mt-12px",justify:"space-between"},{default:(0,i.w5)(()=>[(0,i._)("div",null,[(0,i.WI)(e.$slots,"pageLeft")]),(0,i.Wm)(u,null,{default:(0,i.w5)(()=>[(0,i.WI)(e.$slots,"pageRight")]),_:3})]),_:3})):(0,i.kq)("",!0),(0,i.WI)(e.$slots,"modal")])}}})},46244:function(e,a,t){t.d(a,{Z:()=>s});var l=t(98048),i=t(58786);let s=(0,i.aZ)({__name:"index",props:{model:{},rules:{},labelWidth:{},labelPlacement:{default:"top"}},setup(e,a){let{expose:t}=a,s=(0,i.iH)(null);return t({validate:()=>{var e;return null==(e=s.value)?void 0:e.validate()},restoreValidation:()=>{var e;return null==(e=s.value)?void 0:e.restoreValidation()}}),(e,a)=>{let t=l.Z;return(0,i.wg)(),(0,i.j4)(t,(0,i.dG)(e.$attrs,{ref_key:"formRef",ref:s,model:e.model,rules:e.rules,"label-width":e.labelWidth,"label-placement":e.labelPlacement}),{default:(0,i.w5)(()=>[(0,i.WI)(e.$slots,"default")]),_:3},16,["model","rules","label-width","label-placement"])}}})},25170:function(e,a,t){t.d(a,{Z:()=>u});var l=t(75459),i=t(58786),s=t(68271);let n={class:"ml-8px text-14px"},u=(0,i.aZ)({__name:"index",props:(0,i.Vf)({storeKey:{default:""},pageSizes:{default:()=>[10,20,50,100]},showTotal:{type:Boolean,default:!0},showSizePicker:{type:Boolean,default:!0},showQuickJumper:{type:Boolean,default:!0},onUpdatePage:{}},{page:{},pageModifiers:{},pageSize:{},pageSizeModifiers:{}}),emits:(0,i.Vf)(["refresh"],["update:page","update:pageSize"]),setup(e,a){let{emit:t}=a,u=(0,i.Fl)(()=>{let{storeKey:a}=e;return a?`${a}-page`:""}),r=(0,i.tT)(e,"page"),o=(0,i.tT)(e,"pageSize"),d=a=>{var l;null==(l=e.onUpdatePage)||l.call(e,a),t("refresh")},p=a=>{var l;r.value=1,null==(l=e.onUpdatePage)||l.call(e,1),c(a),t("refresh")},c=e=>{u.value&&(0,s.qQ)(u.value,String(e))};if(u.value){let e=(0,s.$o)(u.value);e&&(o.value=(0,s.Dx)(e))}return(e,a)=>{let t=l.Z;return(0,i.wg)(),(0,i.j4)(t,(0,i.dG)(e.$attrs,{page:r.value,"onUpdate:page":[a[0]||(a[0]=e=>r.value=e),d],"page-size":o.value,"onUpdate:pageSize":[a[1]||(a[1]=e=>o.value=e),p],"show-size-picker":e.showSizePicker,"show-quick-jumper":e.showQuickJumper,"page-sizes":e.pageSizes,"display-order":["pages","size-picker","quick-jumper"]}),(0,i.Nv)({_:2},[e.showTotal?{name:"suffix",fn:(0,i.w5)(e=>{let{itemCount:a}=e;return[(0,i._)("span",n," Total "+(0,i.zw)(a),1)]}),key:"0"}:void 0]),1040,["page","page-size","show-size-picker","show-quick-jumper","page-sizes"])}}})},3194:function(e,a,t){t.r(a),t.d(a,{default:()=>eZ});var l=t(39244),i=t(25170),s=t(60424),n=t(16893),u=t(57869),r=t(73084),o=t(8490),d=t(17977),p=t(58786),c=t(49468),m=t(36760),v=t(17987),_=t(68271),f=t(52495);let g={class:"date-filters"},w={class:"w-120px"},h={class:"w-240px"},b=(0,p.aZ)({__name:"index",props:(0,p.Vf)({defaultType:{type:String,default:"today"}},{value:{},valueModifiers:{}}),emits:(0,p.Vf)(["change"],["update:value"]),setup(e,a){let{emit:t}=a,l=(0,p.tT)(e,"value"),{t:i}=(0,f.QT)(),s=(0,p.iH)(e.defaultType),n=[{label:i("common.time.today"),value:"today"},{label:i("common.time.yesterday"),value:"yesterday"},{label:i("common.time.last7days"),value:"last7days"},{label:i("common.time.custom"),value:"custom"}],u=()=>{let e=new Date,a=(0,c.i)(e);return[(0,m.b)((0,v.E)(e,-6)).getTime(),a.getTime()]},r=e=>{switch(e){case"today":l.value=(0,_.wb)();break;case"yesterday":l.value=(0,_.wb)((0,v.E)(new Date,-1));break;case"last7days":l.value=u()}t("change")},b=e=>{let a=new Date,t=(0,v.E)(a,-30);return(0,m.b)(t).getTime()>e||(0,c.i)(a).getTime()<e},y=e=>{s.value="custom",l.value=[(0,m.b)(e[0]).getTime(),(0,c.i)(e[1]).getTime()],t("change")};return r(e.defaultType),(e,a)=>{let t=o.Z,i=d.Z;return(0,p.wg)(),(0,p.iD)("div",g,[(0,p._)("div",w,[(0,p.Wm)(t,{value:(0,p.SU)(s),"onUpdate:value":[a[0]||(a[0]=e=>(0,p.dq)(s)?s.value=e:null),r],options:n},null,8,["value"])]),(0,p._)("div",h,[(0,p.Wm)(i,{value:l.value,type:"daterange","is-date-disabled":b,"onUpdate:value":y},null,8,["value"])])])}}});var y=t(41748);let k=(0,y.default)(b,[["__scopeId","data-v-35dbb2f8"]]);var S=t(15496),U=t(53903),x=t(93953),W=t(80947),Z=t(51169),$=t(34541);let{t:z}=t(76882).Z.global,P=e=>$.e.get("/batch_mail/api/list",{params:e}),j=e=>$.e.get("/batch_mail/api/overview_stats",{params:e}),C=e=>$.e.post("/batch_mail/api/create",e,{fetchOptions:{loading:z("api.loading.creating"),successMessage:!0}}),T=e=>$.e.post("/batch_mail/api/update",e,{fetchOptions:{loading:z("api.loading.updating"),successMessage:!0}}),R=e=>$.e.post("/batch_mail/api/delete",e,{fetchOptions:{loading:z("api.loading.deleting"),successMessage:!0}});var q=t(60579);let H={class:"flex gap-16px mb-24px"},O={class:"title"},D={class:"value"},I={class:"title"},E={class:"value"},F={class:"title"},M={class:"value"},N={class:"title"},A={class:"value"},L=(0,p.aZ)({__name:"Overview",props:{time:{type:Object,default:()=>[0,0]}},setup(e,a){let{expose:t}=a,l=(0,p.iH)({total_send:0,avg_delivery_rate:0,avg_open_rate:0,avg_click_rate:0,avg_bounce_rate:0,avg_unsub_rate:0,total_unsubscribe:0}),i=(0,p.iH)(!1),s=async()=>{try{i.value=!0;let a=await j({start_time:Math.floor(e.time[0]/1e3),end_time:Math.floor(e.time[1]/1e3)});(0,_.Kn)(a)&&(l.value=a)}finally{i.value=!1}};return t({getStats:s}),(0,p.bv)(()=>{s()}),(e,a)=>{let t=u.ZP,s=q.Z;return(0,p.wg)(),(0,p.j4)(s,{show:(0,p.SU)(i)},{default:(0,p.w5)(()=>[(0,p._)("div",H,[(0,p.Wm)(t,{class:"flex-1"},{default:(0,p.w5)(()=>[(0,p._)("div",O,[a[0]||(a[0]=(0,p._)("i",{class:"i-fa:paper-plane"},null,-1)),(0,p._)("span",null,(0,p.zw)(e.$t("api.overview.totalSend")),1)]),(0,p._)("div",D,(0,p.zw)((0,p.SU)(l).total_send),1)]),_:1}),(0,p.Wm)(t,{class:"flex-1"},{default:(0,p.w5)(()=>[(0,p._)("div",I,[a[1]||(a[1]=(0,p._)("i",{class:"i-fa:envelope-open"},null,-1)),(0,p._)("span",null,(0,p.zw)(e.$t("api.overview.avgOpenRate")),1)]),(0,p._)("div",E,(0,p.zw)((0,p.SU)(l).avg_open_rate)+"%",1)]),_:1}),(0,p.Wm)(t,{class:"flex-1"},{default:(0,p.w5)(()=>[(0,p._)("div",F,[a[2]||(a[2]=(0,p._)("i",{class:"i-fa:mouse-pointer"},null,-1)),(0,p._)("span",null,(0,p.zw)(e.$t("api.overview.avgClickRate")),1)]),(0,p._)("div",M,(0,p.zw)((0,p.SU)(l).avg_click_rate)+"%",1)]),_:1}),(0,p.Wm)(t,{class:"flex-1"},{default:(0,p.w5)(()=>[(0,p._)("div",N,[a[3]||(a[3]=(0,p._)("i",{class:"i-fa:ban"},null,-1)),(0,p._)("span",null,(0,p.zw)(e.$t("api.overview.avgBounceRate")),1)]),(0,p._)("div",A,(0,p.zw)((0,p.SU)(l).avg_bounce_rate)+"%",1)]),_:1})])]),_:1},8,["show"])}}}),K=(0,y.default)(L,[["__scopeId","data-v-da2d6552"]]);var Q=t(35409),V=t(77984);let G={class:"flex"},J={class:"w-0 flex-1 flex items-center"},B={class:"min-w-0"},X=(0,p.aZ)({__name:"ApiKey",props:{value:{default:""}},setup(e){let{copyText:a}=(0,V.F)(),t=async()=>{a(`${e.value}`)};return(e,a)=>{let l=Q.ZP;return(0,p.wg)(),(0,p.iD)("div",G,[(0,p._)("div",J,[(0,p._)("div",B,[(0,p.Wm)(l,{class:"max-w-full",tooltip:{contentStyle:{maxWidth:"300px"}}},{default:(0,p.w5)(()=>[(0,p.Uk)((0,p.zw)(e.value),1)]),_:1})]),(0,p._)("div",{class:"ml-6px text-15px cursor-pointer",title:"Copy",onClick:t},a[0]||(a[0]=[(0,p._)("i",{class:"i-mdi-content-copy"},null,-1)]))])])}}});var Y=t(46244),ee=t(29875),ea=t(6455),et=t(19664),el=t(28444),ei=t(65302);let es={class:"flex-1"},en=(0,p.aZ)({__name:"ApiForm",setup(e){let{t:a}=(0,f.QT)(),t=(0,p.iH)(!1),l=(0,p.Fl)(()=>t.value?a("api.form.title.edit"):a("api.form.title.add")),i=(0,p.AE)("formRef"),s=(0,p.qj)({id:0,api_name:"",template_id:null,template_content:"",subject:"",domain:null,addresser:null,full_name:"",unsubscribe:1,active:1,ip_whitelist:""}),n={api_name:{required:!0,message:a("api.form.validation.apiNameRequired")},addresser:{required:!0,message:a("api.form.validation.addresserRequired")},full_name:{required:!0,message:a("market.task.edit.displayNamePlaceholder")},subject:{required:!0,message:a("market.task.edit.subjectPlaceholder")},template_id:{required:!0,message:a("api.form.validation.templateRequired")}},[u,o]=(0,Z.d)({component:ei.Z}),d=()=>{o.setState({html:s.template_content}),o.open()},c=()=>{s.id=0,s.api_name="",s.template_id=null,s.template_content="",s.subject="",s.addresser=null,s.full_name="",s.unsubscribe=1,s.active=1},m=()=>({api_name:s.api_name,template_id:s.template_id||0,subject:s.subject,addresser:s.addresser||"",full_name:s.full_name,unsubscribe:s.unsubscribe,active:s.active,ip_whitelist:s.ip_whitelist.split(",")}),[v,_]=(0,Z.d)({onChangeState:e=>{if(e){let e=_.getState(),{row:a}=e;t.value=e.isEdit,a&&(s.id=a.id,s.api_name=a.api_name,s.template_id=a.template_id,s.domain=a.addresser.split("@")[1],s.subject=a.subject,s.addresser=a.addresser,s.full_name=a.full_name,s.unsubscribe=a.unsubscribe,s.active=a.active,s.ip_whitelist=a.ip_whitelist.join(","))}else c()},onConfirm:async()=>{var e;await (null==(e=i.value)?void 0:e.validate());let a=m();t.value?await T({...a,id:s.id}):await C(a),_.getState().refresh()}});return(e,a)=>{let t=r.Z,o=ea.ZP,c=S.ZP,m=ee.Z,_=Y.Z;return(0,p.wg)(),(0,p.j4)((0,p.SU)(v),{title:(0,p.SU)(l),width:"520"},{default:(0,p.w5)(()=>[(0,p.Wm)(_,{ref_key:"formRef",ref:i,model:(0,p.SU)(s),rules:n,class:"pt-12px"},{default:(0,p.w5)(()=>[(0,p.Wm)(o,{label:e.$t("api.form.apiName"),path:"api_name"},{default:(0,p.w5)(()=>[(0,p.Wm)(t,{value:(0,p.SU)(s).api_name,"onUpdate:value":a[0]||(a[0]=e=>(0,p.SU)(s).api_name=e),placeholder:e.$t("api.form.apiNamePlaceholder")},null,8,["value","placeholder"])]),_:1},8,["label"]),(0,p.Wm)(o,{label:e.$t("market.task.edit.from"),path:"addresser"},{default:(0,p.w5)(()=>[(0,p.Wm)(et.Z,{value:(0,p.SU)(s).addresser,"onUpdate:value":a[1]||(a[1]=e=>(0,p.SU)(s).addresser=e),domain:(0,p.SU)(s).domain,"onUpdate:domain":a[2]||(a[2]=e=>(0,p.SU)(s).domain=e),name:(0,p.SU)(s).full_name,"onUpdate:name":a[3]||(a[3]=e=>(0,p.SU)(s).full_name=e)},null,8,["value","domain","name"])]),_:1},8,["label"]),(0,p.Wm)(o,{label:e.$t("market.task.edit.displayName"),path:"full_name"},{default:(0,p.w5)(()=>[(0,p.Wm)(t,{value:(0,p.SU)(s).full_name,"onUpdate:value":a[4]||(a[4]=e=>(0,p.SU)(s).full_name=e),placeholder:e.$t("market.task.edit.displayNamePlaceholder")},null,8,["value","placeholder"])]),_:1},8,["label"]),(0,p.Wm)(o,{label:e.$t("market.task.edit.subject"),path:"subject"},{default:(0,p.w5)(()=>[(0,p.Wm)(t,{value:(0,p.SU)(s).subject,"onUpdate:value":a[5]||(a[5]=e=>(0,p.SU)(s).subject=e),placeholder:e.$t("market.task.edit.subjectPlaceholder")},null,8,["value","placeholder"])]),_:1},8,["label"]),(0,p.Wm)(o,{label:e.$t("market.task.edit.template"),path:"template_id"},{default:(0,p.w5)(()=>[(0,p._)("div",es,[(0,p.Wm)(el.Z,{value:(0,p.SU)(s).template_id,"onUpdate:value":a[6]||(a[6]=e=>(0,p.SU)(s).template_id=e),content:(0,p.SU)(s).template_content,"onUpdate:content":a[7]||(a[7]=e=>(0,p.SU)(s).template_content=e)},null,8,["value","content"])]),(0,p.Wm)(c,{text:"",type:"primary",class:"ml-12px",onClick:d},{default:(0,p.w5)(()=>[(0,p.Uk)((0,p.zw)(e.$t("common.actions.preview")),1)]),_:1})]),_:1},8,["label"]),(0,p.Wm)(o,{label:e.$t("market.task.edit.unsubscribeLink")},{default:(0,p.w5)(()=>[(0,p.Wm)(m,{value:(0,p.SU)(s).unsubscribe,"onUpdate:value":a[8]||(a[8]=e=>(0,p.SU)(s).unsubscribe=e),"checked-value":1,"unchecked-value":0},null,8,["value"])]),_:1},8,["label"]),(0,p.Wm)(o,{label:e.$t("api.form.status")},{default:(0,p.w5)(()=>[(0,p.Wm)(m,{value:(0,p.SU)(s).active,"onUpdate:value":a[9]||(a[9]=e=>(0,p.SU)(s).active=e),"checked-value":1,"unchecked-value":0},null,8,["value"])]),_:1},8,["label"]),(0,p.Wm)(o,{label:e.$t("api.form.ipWhitelist")},{default:(0,p.w5)(()=>[(0,p.Wm)(t,{value:(0,p.SU)(s).ip_whitelist,"onUpdate:value":a[10]||(a[10]=e=>(0,p.SU)(s).ip_whitelist=e),placeholder:e.$t("api.form.ipWhitelistPlaceholder")},null,8,["value","placeholder"])]),_:1},8,["label"]),(0,p.Wm)((0,p.SU)(u))]),_:1},8,["model"])]),_:1},8,["title"])}}});var eu=t(26281),er=t(41982);t(94812),t(59076);let eo={class:"flex items-center gap-16px w-full"},ed=["innerHTML"],ep=(0,p.aZ)({__name:"index",props:{code:{type:String,default:""},language:{type:String,default:"shell"}},setup(e){let a=(0,p.Fl)(()=>`\`\`\`${e.language}+${e.code}+\`\`\``),t=(0,p.Fl)(()=>eu.TU.parse(a.value)),{copyText:l}=(0,V.F)(),i=()=>{l(e.code)};return eu.TU.use({extensions:[{name:"highlight",level:"block",start(e){var a;return null==(a=e.match(/^```/))?void 0:a.index},tokenizer(e){let a=/^```([^\n]*?)\n([\s\S]*?)\n```/.exec(e);if(a)return{type:"highlight",raw:a[0],lang:a[1].trim(),code:a[2]}},renderer(e){let{lang:a,code:t}=e;if(a&&er.Z.getLanguage(a)){let e=er.Z.highlight(t,{language:a}).value;return`<pre><code class="hljs language-${a}">${e}</code></pre>`}return`<pre><code>${t}</code></pre>`}}]}),(e,a)=>{let l=S.ZP;return(0,p.wg)(),(0,p.iD)("div",eo,[(0,p._)("div",{class:"markdown-body flex-1 w-0",innerHTML:(0,p.SU)(t)},null,8,ed),(0,p.Wm)(l,{onClick:i},{default:(0,p.w5)(()=>[(0,p.Uk)((0,p.zw)(e.$t("common.actions.copy")),1)]),_:1})])}}}),ec={class:"flex-1 mr-10px"},em=(0,p.aZ)({__name:"ApiTest",setup(e){let{t:a}=(0,f.QT)(),t=(0,p.iH)(""),l=(0,p.Fl)(()=>t.value.replaceAll("$email",i.recipient)),i=(0,p.qj)({recipient:""}),s={recipient:{required:!0,message:a("market.task.edit.testEmailPlaceholder")}},n=()=>{i.recipient=""},[u,o]=(0,Z.d)({onChangeState:e=>{if(e){let{row:e}=o.getState();e&&(t.value=`curl -k -X POST '${e.server_addresser}' \\+-H 'X-API-Key: ${e.api_key}' \\+-H 'Content-Type: application/json' \\+-d '{+ "recipient": "$email"+}'`)}else n()}});return(e,a)=>{let t=r.Z,n=ea.ZP,o=Y.Z;return(0,p.wg)(),(0,p.j4)((0,p.SU)(u),{title:"Test API",width:"720",footer:!1},{default:(0,p.w5)(()=>[(0,p.Wm)(o,{ref:"formRef",model:(0,p.SU)(i),rules:s,class:"pt-12px"},{default:(0,p.w5)(()=>[(0,p.Wm)(n,{label:e.$t("market.task.edit.testEmail"),path:"recipient"},{default:(0,p.w5)(()=>[(0,p._)("div",ec,[(0,p.Wm)(t,{value:(0,p.SU)(i).recipient,"onUpdate:value":a[0]||(a[0]=e=>(0,p.SU)(i).recipient=e),placeholder:e.$t("market.task.edit.testEmailPlaceholder")},null,8,["value","placeholder"])])]),_:1},8,["label"]),(0,p.Wm)(n,{label:"Command"},{default:(0,p.w5)(()=>[(0,p.Wm)(ep,{code:(0,p.SU)(l),language:"bash"},null,8,["code"])]),_:1})]),_:1},8,["model"])]),_:1})}}}),ev={class:"p-24px"},e_={class:"bt-title"},ef={class:"flex flex-wrap items-center gap-16px"},eg={class:"flex items-center whitespace-pre"},ew={class:"text-default"},eh={class:"flex items-center whitespace-pre"},eb={class:"text-default"},ey={class:"w-120px"},ek={class:"flex items-center whitespace-pre"},eS={class:"text-default"},eU={class:"w-200px"},ex={class:"flex gap-8px"};function eW(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,p.lA)(e)}let eZ=(0,p.aZ)({__name:"index",setup(e){let{t:a}=(0,f.QT)(),t=(0,p.AE)("overviewRef"),d=[{label:a("api.statusOptions.all"),value:-1},{label:a("api.statusOptions.active"),value:1},{label:a("api.statusOptions.inactive"),value:0}],c=(0,p.iH)([{key:"api_name",title:a("api.columns.apiName"),maxWidth:120,render:e=>(0,p.Wm)(S.ZP,{type:"primary",text:!0,onClick:()=>{z(e)}},{default:()=>[e.api_name]})},{key:"api_key",title:a("api.columns.apiKey"),width:"28%",maxWidth:160,render:e=>(0,p.Wm)(X,{class:"w-94%",value:e.api_key},null)},{key:"send_count",title:a("api.columns.sendCount"),width:"9%",maxWidth:100},{key:"open_rate",title:a("api.columns.openRate"),width:"9%",maxWidth:100,render:e=>`${e.open_rate}%`},{key:"click_rate",title:a("api.columns.clickRate"),width:"9%",maxWidth:100,render:e=>`${e.click_rate}%`},{key:"bounce_rate",title:a("api.columns.bounceRate"),width:"9%",maxWidth:100,render:e=>`${e.bounce_rate}%`},{key:"active",title:a("api.columns.status"),width:"8%",maxWidth:80,render:e=>(0,p.Wm)(U.ZP,{size:"small",type:e.active?"primary":"warning",bordered:!1},{default:()=>[e.active?a("api.statusLabels.active"):a("api.statusLabels.inactive")]})},{title:a("common.columns.actions"),key:"actions",align:"right",width:160,render:e=>{let t,l,i;return(0,p.Wm)(x.Z,{inline:!0},{default:()=>[(0,p.Wm)(S.ZP,{type:"primary",text:!0,onClick:()=>{T(e)}},eW(t=a("common.actions.test"))?t:{default:()=>[t]}),(0,p.Wm)(S.ZP,{type:"primary",text:!0,onClick:()=>{z(e)}},eW(l=a("common.actions.edit"))?l:{default:()=>[l]}),(0,p.Wm)(S.ZP,{type:"error",text:!0,onClick:()=>{q(e)}},eW(i=a("common.actions.delete"))?i:{default:()=>[i]})]})}}]),{tableParams:m,tableProps:v,pageProps:g,fetchTable:w}=(0,W.N)({params:{page:1,page_size:10,keyword:"",active:-1,time_range:[0,0]},immediate:!1,fetchFn:P,useParams:e=>({page:e.page,page_size:e.page_size,keyword:e.keyword,active:e.active,start_time:Math.floor(e.time_range[0]/1e3),end_time:Math.floor(e.time_range[1]/1e3)})}),h=async()=>{var e;null==(e=t.value)||e.getStats(),w()},[b,y]=(0,Z.d)({component:en,state:{isEdit:!1,refresh:w}}),$=()=>{y.setState({row:null,isEdit:!1}),y.open()},z=e=>{y.setState({row:e,isEdit:!0}),y.open()},[j,C]=(0,Z.d)({component:em,state:{row:null}}),T=e=>{C.setState({row:e}),C.open()},q=e=>{(0,_.iG)({title:a("api.confirmDelete.title",{apiName:e.api_name}),content:a("api.confirmDelete.content"),onConfirm:async()=>{await R({id:e.id}),w()}})};return(0,p.bv)(()=>{w()}),(e,a)=>{let _=o.Z,f=r.Z,y=u.ZP,U=n.Z,x=s.Z,W=i.Z,Z=l.Z;return(0,p.wg)(),(0,p.iD)("div",ev,[(0,p._)("div",e_,(0,p.zw)(e.$t("api.title")),1),(0,p.Wm)(y,{class:"mb-24px","content-style":{padding:"16px 24px"}},{default:(0,p.w5)(()=>[(0,p._)("div",ef,[(0,p._)("div",eg,[(0,p._)("span",ew,(0,p.zw)(e.$t("api.timeRange")),1),(0,p.Wm)(k,{value:(0,p.SU)(m).time_range,"onUpdate:value":a[0]||(a[0]=e=>(0,p.SU)(m).time_range=e),"default-type":"last7days",onChange:h},null,8,["value"])]),(0,p._)("div",eh,[(0,p._)("span",eb,(0,p.zw)(e.$t("api.status")),1),(0,p._)("div",ey,[(0,p.Wm)(_,{value:(0,p.SU)(m).active,"onUpdate:value":[a[1]||(a[1]=e=>(0,p.SU)(m).active=e),a[2]||(a[2]=()=>(0,p.SU)(w)(!0))],options:d},null,8,["value"])])]),(0,p._)("div",ek,[(0,p._)("span",eS,(0,p.zw)(e.$t("api.search")),1),(0,p._)("div",eU,[(0,p.Wm)(f,{value:(0,p.SU)(m).keyword,"onUpdate:value":a[3]||(a[3]=e=>(0,p.SU)(m).keyword=e),placeholder:e.$t("api.searchPlaceholder"),onKeyup:a[4]||(a[4]=(0,p.D2)(()=>(0,p.SU)(w)(!0),["enter"]))},null,8,["value","placeholder"])])]),(0,p._)("div",ex,[(0,p.Wm)((0,p.SU)(S.ZP),{type:"primary",ghost:"",onClick:a[5]||(a[5]=()=>(0,p.SU)(w)(!0))},{default:(0,p.w5)(()=>[(0,p.Uk)((0,p.zw)(e.$t("common.actions.refresh")),1)]),_:1}),(0,p.Wm)((0,p.SU)(S.ZP),{type:"primary",ghost:"",onClick:h},{default:(0,p.w5)(()=>[(0,p.Uk)((0,p.zw)(e.$t("api.refreshData")),1)]),_:1})])])]),_:1}),(0,p.Wm)(K,{ref_key:"overviewRef",ref:t,time:(0,p.SU)(m).time_range},null,8,["time"]),(0,p.Wm)(Z,null,{toolsLeft:(0,p.w5)(()=>[(0,p.Wm)((0,p.SU)(S.ZP),{type:"primary",onClick:$},{default:(0,p.w5)(()=>[(0,p.Uk)((0,p.zw)(e.$t("api.createNew")),1)]),_:1}),(0,p.Wm)(U,{href:"https://www.billionmail.com/start/api_mail_guide.html",text:e.$t("common.actions.help")},null,8,["text"])]),table:(0,p.w5)(()=>[(0,p.Wm)(x,(0,p.dG)((0,p.SU)(v),{columns:(0,p.SU)(c)}),null,16,["columns"])]),pageRight:(0,p.w5)(()=>[(0,p.Wm)(W,(0,p.dG)((0,p.SU)(g),{onRefresh:(0,p.SU)(w)}),null,16,["onRefresh"])]),modal:(0,p.w5)(()=>[(0,p.Wm)((0,p.SU)(b)),(0,p.Wm)((0,p.SU)(j))]),_:1})])}}})},65302:function(e,a,t){t.d(a,{Z:()=>n});var l=t(53472),i=t(58786),s=t(51169);let n=(0,i.aZ)({__name:"TemplatePreview",setup(e){let a=(0,i.iH)(""),[t,n]=(0,s.d)({onChangeState:e=>{e&&(a.value=n.getState().html||"")}});return(e,s)=>{let n=l.Z;return(0,i.wg)(),(0,i.j4)((0,i.SU)(t),{title:e.$t("market.template.preview.title"),width:"820",footer:!1},{default:(0,i.w5)(()=>[(0,i.Wm)(n,{height:580,value:(0,i.SU)(a)},null,8,["value"])]),_:1},8,["title"])}}})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/7777.e8d50641.js b/core/public/dist/static/js/async/7777.e8d50641.jsdeleted file mode 100644index fd397595..00000000--- a/core/public/dist/static/js/async/7777.e8d50641.js+++ /dev/null@@ -1,8 +0,0 @@-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["7777"],{77984:function(e,a,t){t.d(a,{F:()=>n});var l=t(68271),i=t(94821),s=t(76882);let n=()=>{let{t:e}=s.Z.global,{copy:a,isSupported:t,copied:n}=(0,i.VPI)({legacy:!0});return{copied:n,copyText:async i=>{if(!i)return void l.v0.error(e("common.useCopy.noText"));t.value?(await a(i),l.v0.success(e("common.useCopy.success"))):l.v0.error(e("common.useCopy.failed"))}}}},80947:function(e,a,t){t.d(a,{N:()=>n});var l=t(22895),i=t(68271),s=t(58786);let n=e=>{let{params:a,fetchFn:t,useParams:n,loading:u=!0,immediate:r=!0,rowKey:o=e=>e.id}=e,d=(0,s.iH)(u),p=(0,s.iH)([]),c=(0,s.iH)(0),m=(0,s.iH)(a),v=(0,s.iH)([]),_=()=>n?n(m.value):m.value,f=(0,l.DI)(async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&(m.value.page=1),d.value=!0;try{let e=_(),a=await t(e);(0,i.Kn)(a)&&(p.value=(0,i.kJ)(a.list)?a.list:[],c.value=(0,i.hj)(a.total)?a.total:0)}finally{v.value=[],d.value=!1}},300),g=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return f(e)},w=e=>{m.value.page=e},h=e=>{m.value.page_size=e};return(0,s.bv)(()=>{r&&g()}),{tableData:p,tableTotal:c,tableKeys:v,tableParams:m,fetchTable:g,resetTable:()=>g(!0),tableProps:(0,s.Fl)(()=>({rowKey:o,data:p.value,loading:d.value,checkedRowKeys:v.value,onUpdateCheckedRowKeys:e=>{v.value=e}})),batchProps:(0,s.Fl)(()=>({rowKey:o,data:p.value,checkedRowKeys:v.value,onUpdateCheckedRowKeys:e=>{v.value=e}})),pageProps:(0,s.Fl)(()=>({page:m.value.page,pageSize:m.value.page_size,itemCount:c.value,onUpdatePage:w,onUpdatePageSize:h}))}}},51169:function(e,a,t){t.d(a,{d:()=>n});var l=t(58786),i=t(49247);let s=Symbol("MODAL_INJECT"),n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{state:a={},component:t,onCancel:n,onConfirm:u}=e,r=(0,l.qj)({});return t?[(0,l.aZ)({setup(i,n){let{attrs:u,slots:o}=n;return(0,l.JJ)(s,{state:a,options:e,extendApi:e=>{Object.setPrototypeOf(r,e)},setState:e=>{Object.assign(a,e)}}),()=>(0,l.h)(t,{...i,...u},o)}}),r]:[(0,l.aZ)({setup(a,t){let{attrs:o,slots:d}=t,p=(0,l.f3)(s),c=(0,l.iH)(!1);return r.open=()=>{var a;c.value=!0,null==(a=e.onChangeState)||a.call(e,c.value)},r.close=()=>{c.value=!1},r.setState=a=>{var t;null==p||p.setState(a),null==(t=e.onChangeState)||t.call(e,c.value)},r.getState=()=>(null==p?void 0:p.state)??{},null==p||p.extendApi(r),()=>(0,l.Wm)(i.Z,(0,l.dG)({show:c.value},a,o,{onCancel:n,onConfirm:u,"onUpdate:show":e=>{c.value=e??!1}}),d)}}),r]}},16893:function(e,a,t){t.d(a,{Z:()=>n});var l=t(15496),i=t(58786);let s={class:"mr-4px"},n=(0,i.aZ)({__name:"index",props:{href:{type:String,default:""},text:{type:String,default:""}},setup(e){let a=()=>{window.open(e.href)};return(t,n)=>{let u=l.ZP;return(0,i.wg)(),(0,i.j4)(u,{text:"",onClick:a},{default:(0,i.w5)(()=>[(0,i._)("span",s,(0,i.zw)(e.text||t.$t("common.actions.help")),1),n[0]||(n[0]=(0,i._)("i",{class:"i-custom:help text-primary"},null,-1))]),_:1,__:[0]})}}})},39244:function(e,a,t){t.d(a,{Z:()=>s});var l=t(93953),i=t(58786);let s=(0,i.aZ)({__name:"index",setup(e){let a=!!(0,i.Rr)().toolsLeft,t=!!(0,i.Rr)().toolsRight,s=!!(0,i.Rr)().pageLeft||!!(0,i.Rr)().pageRight;return(e,n)=>{let u=l.Z;return(0,i.wg)(),(0,i.iD)("div",null,[a||t?((0,i.wg)(),(0,i.j4)(u,{key:0,class:"items-center mb-12px",justify:"space-between"},{default:(0,i.w5)(()=>[(0,i.Wm)(u,{class:"items-center",size:12},{default:(0,i.w5)(()=>[(0,i.WI)(e.$slots,"toolsLeft")]),_:3}),(0,i.Wm)(u,{class:"items-center",size:12},{default:(0,i.w5)(()=>[(0,i.WI)(e.$slots,"toolsRight")]),_:3})]),_:3})):(0,i.kq)("",!0),(0,i.WI)(e.$slots,"table"),(0,i.SU)(s)?((0,i.wg)(),(0,i.j4)(u,{key:1,class:"items-center mt-12px",justify:"space-between"},{default:(0,i.w5)(()=>[(0,i._)("div",null,[(0,i.WI)(e.$slots,"pageLeft")]),(0,i.Wm)(u,null,{default:(0,i.w5)(()=>[(0,i.WI)(e.$slots,"pageRight")]),_:3})]),_:3})):(0,i.kq)("",!0),(0,i.WI)(e.$slots,"modal")])}}})},46244:function(e,a,t){t.d(a,{Z:()=>s});var l=t(98048),i=t(58786);let s=(0,i.aZ)({__name:"index",props:{model:{},rules:{},labelWidth:{},labelPlacement:{default:"top"}},setup(e,a){let{expose:t}=a,s=(0,i.iH)(null);return t({validate:()=>{var e;return null==(e=s.value)?void 0:e.validate()},restoreValidation:()=>{var e;return null==(e=s.value)?void 0:e.restoreValidation()}}),(e,a)=>{let t=l.Z;return(0,i.wg)(),(0,i.j4)(t,(0,i.dG)(e.$attrs,{ref_key:"formRef",ref:s,model:e.model,rules:e.rules,"label-width":e.labelWidth,"label-placement":e.labelPlacement}),{default:(0,i.w5)(()=>[(0,i.WI)(e.$slots,"default")]),_:3},16,["model","rules","label-width","label-placement"])}}})},25170:function(e,a,t){t.d(a,{Z:()=>u});var l=t(75459),i=t(58786),s=t(68271);let n={class:"ml-8px text-14px"},u=(0,i.aZ)({__name:"index",props:(0,i.Vf)({storeKey:{default:""},pageSizes:{default:()=>[10,20,50,100]},showTotal:{type:Boolean,default:!0},showSizePicker:{type:Boolean,default:!0},showQuickJumper:{type:Boolean,default:!0},onUpdatePage:{}},{page:{},pageModifiers:{},pageSize:{},pageSizeModifiers:{}}),emits:(0,i.Vf)(["refresh"],["update:page","update:pageSize"]),setup(e,a){let{emit:t}=a,u=(0,i.Fl)(()=>{let{storeKey:a}=e;return a?`${a}-page`:""}),r=(0,i.tT)(e,"page"),o=(0,i.tT)(e,"pageSize"),d=a=>{var l;null==(l=e.onUpdatePage)||l.call(e,a),t("refresh")},p=a=>{var l;r.value=1,null==(l=e.onUpdatePage)||l.call(e,1),c(a),t("refresh")},c=e=>{u.value&&(0,s.qQ)(u.value,String(e))};if(u.value){let e=(0,s.$o)(u.value);e&&(o.value=(0,s.Dx)(e))}return(e,a)=>{let t=l.Z;return(0,i.wg)(),(0,i.j4)(t,(0,i.dG)(e.$attrs,{page:r.value,"onUpdate:page":[a[0]||(a[0]=e=>r.value=e),d],"page-size":o.value,"onUpdate:pageSize":[a[1]||(a[1]=e=>o.value=e),p],"show-size-picker":e.showSizePicker,"show-quick-jumper":e.showQuickJumper,"page-sizes":e.pageSizes,"display-order":["pages","size-picker","quick-jumper"]}),(0,i.Nv)({_:2},[e.showTotal?{name:"suffix",fn:(0,i.w5)(e=>{let{itemCount:a}=e;return[(0,i._)("span",n," Total "+(0,i.zw)(a),1)]}),key:"0"}:void 0]),1040,["page","page-size","show-size-picker","show-quick-jumper","page-sizes"])}}})},3194:function(e,a,t){t.r(a),t.d(a,{default:()=>eZ});var l=t(39244),i=t(25170),s=t(60424),n=t(16893),u=t(57869),r=t(73084),o=t(8490),d=t(17977),p=t(58786),c=t(49468),m=t(36760),v=t(17987),_=t(68271),f=t(52495);let g={class:"date-filters"},w={class:"w-120px"},h={class:"w-240px"},b=(0,p.aZ)({__name:"index",props:(0,p.Vf)({defaultType:{type:String,default:"today"}},{value:{},valueModifiers:{}}),emits:(0,p.Vf)(["change"],["update:value"]),setup(e,a){let{emit:t}=a,l=(0,p.tT)(e,"value"),{t:i}=(0,f.QT)(),s=(0,p.iH)(e.defaultType),n=[{label:i("common.time.today"),value:"today"},{label:i("common.time.yesterday"),value:"yesterday"},{label:i("common.time.last7days"),value:"last7days"},{label:i("common.time.custom"),value:"custom"}],u=()=>{let e=new Date,a=(0,c.i)(e);return[(0,m.b)((0,v.E)(e,-6)).getTime(),a.getTime()]},r=e=>{switch(e){case"today":l.value=(0,_.wb)();break;case"yesterday":l.value=(0,_.wb)((0,v.E)(new Date,-1));break;case"last7days":l.value=u()}t("change")},b=e=>{let a=new Date,t=(0,v.E)(a,-30);return(0,m.b)(t).getTime()>e||(0,c.i)(a).getTime()<e},y=e=>{s.value="custom",l.value=[(0,m.b)(e[0]).getTime(),(0,c.i)(e[1]).getTime()],t("change")};return r(e.defaultType),(e,a)=>{let t=o.Z,i=d.Z;return(0,p.wg)(),(0,p.iD)("div",g,[(0,p._)("div",w,[(0,p.Wm)(t,{value:(0,p.SU)(s),"onUpdate:value":[a[0]||(a[0]=e=>(0,p.dq)(s)?s.value=e:null),r],options:n},null,8,["value"])]),(0,p._)("div",h,[(0,p.Wm)(i,{value:l.value,type:"daterange","is-date-disabled":b,"onUpdate:value":y},null,8,["value"])])])}}});var y=t(41748);let k=(0,y.default)(b,[["__scopeId","data-v-35dbb2f8"]]);var S=t(15496),U=t(53903),x=t(93953),W=t(80947),Z=t(51169),$=t(34541);let{t:z}=t(76882).Z.global,P=e=>$.e.get("/batch_mail/api/list",{params:e}),j=e=>$.e.get("/batch_mail/api/overview_stats",{params:e}),C=e=>$.e.post("/batch_mail/api/create",e,{fetchOptions:{loading:z("api.loading.creating"),successMessage:!0}}),T=e=>$.e.post("/batch_mail/api/update",e,{fetchOptions:{loading:z("api.loading.updating"),successMessage:!0}}),R=e=>$.e.post("/batch_mail/api/delete",e,{fetchOptions:{loading:z("api.loading.deleting"),successMessage:!0}});var q=t(60579);let H={class:"flex gap-16px mb-24px"},O={class:"title"},D={class:"value"},I={class:"title"},E={class:"value"},F={class:"title"},M={class:"value"},N={class:"title"},A={class:"value"},L=(0,p.aZ)({__name:"Overview",props:{time:{type:Object,default:()=>[0,0]}},setup(e,a){let{expose:t}=a,l=(0,p.iH)({total_send:0,avg_delivery_rate:0,avg_open_rate:0,avg_click_rate:0,avg_bounce_rate:0,avg_unsub_rate:0,total_unsubscribe:0}),i=(0,p.iH)(!1),s=async()=>{try{i.value=!0;let a=await j({start_time:Math.floor(e.time[0]/1e3),end_time:Math.floor(e.time[1]/1e3)});(0,_.Kn)(a)&&(l.value=a)}finally{i.value=!1}};return t({getStats:s}),(0,p.bv)(()=>{s()}),(e,a)=>{let t=u.ZP,s=q.Z;return(0,p.wg)(),(0,p.j4)(s,{show:(0,p.SU)(i)},{default:(0,p.w5)(()=>[(0,p._)("div",H,[(0,p.Wm)(t,{class:"flex-1"},{default:(0,p.w5)(()=>[(0,p._)("div",O,[a[0]||(a[0]=(0,p._)("i",{class:"i-fa:paper-plane"},null,-1)),(0,p._)("span",null,(0,p.zw)(e.$t("api.overview.totalSend")),1)]),(0,p._)("div",D,(0,p.zw)((0,p.SU)(l).total_send),1)]),_:1}),(0,p.Wm)(t,{class:"flex-1"},{default:(0,p.w5)(()=>[(0,p._)("div",I,[a[1]||(a[1]=(0,p._)("i",{class:"i-fa:envelope-open"},null,-1)),(0,p._)("span",null,(0,p.zw)(e.$t("api.overview.avgOpenRate")),1)]),(0,p._)("div",E,(0,p.zw)((0,p.SU)(l).avg_open_rate)+"%",1)]),_:1}),(0,p.Wm)(t,{class:"flex-1"},{default:(0,p.w5)(()=>[(0,p._)("div",F,[a[2]||(a[2]=(0,p._)("i",{class:"i-fa:mouse-pointer"},null,-1)),(0,p._)("span",null,(0,p.zw)(e.$t("api.overview.avgClickRate")),1)]),(0,p._)("div",M,(0,p.zw)((0,p.SU)(l).avg_click_rate)+"%",1)]),_:1}),(0,p.Wm)(t,{class:"flex-1"},{default:(0,p.w5)(()=>[(0,p._)("div",N,[a[3]||(a[3]=(0,p._)("i",{class:"i-fa:ban"},null,-1)),(0,p._)("span",null,(0,p.zw)(e.$t("api.overview.avgBounceRate")),1)]),(0,p._)("div",A,(0,p.zw)((0,p.SU)(l).avg_bounce_rate)+"%",1)]),_:1})])]),_:1},8,["show"])}}}),K=(0,y.default)(L,[["__scopeId","data-v-da2d6552"]]);var Q=t(35409),V=t(77984);let G={class:"flex"},J={class:"w-0 flex-1 flex items-center"},B={class:"min-w-0"},X=(0,p.aZ)({__name:"ApiKey",props:{value:{default:""}},setup(e){let{copyText:a}=(0,V.F)(),t=async()=>{a(`${e.value}`)};return(e,a)=>{let l=Q.ZP;return(0,p.wg)(),(0,p.iD)("div",G,[(0,p._)("div",J,[(0,p._)("div",B,[(0,p.Wm)(l,{class:"max-w-full",tooltip:{contentStyle:{maxWidth:"300px"}}},{default:(0,p.w5)(()=>[(0,p.Uk)((0,p.zw)(e.value),1)]),_:1})]),(0,p._)("div",{class:"ml-6px text-15px cursor-pointer",title:"Copy",onClick:t},a[0]||(a[0]=[(0,p._)("i",{class:"i-mdi-content-copy"},null,-1)]))])])}}});var Y=t(46244),ee=t(29875),ea=t(6455),et=t(19664),el=t(28444),ei=t(65302);let es={class:"flex-1"},en=(0,p.aZ)({__name:"ApiForm",setup(e){let{t:a}=(0,f.QT)(),t=(0,p.iH)(!1),l=(0,p.Fl)(()=>t.value?a("api.form.title.edit"):a("api.form.title.add")),i=(0,p.AE)("formRef"),s=(0,p.qj)({id:0,api_name:"",template_id:null,template_content:"",subject:"",domain:null,addresser:null,full_name:"",unsubscribe:1,active:1,ip_whitelist:""}),n={api_name:{required:!0,message:a("api.form.validation.apiNameRequired")},addresser:{required:!0,message:a("api.form.validation.addresserRequired")},full_name:{required:!0,message:a("market.task.edit.displayNamePlaceholder")},subject:{required:!0,message:a("market.task.edit.subjectPlaceholder")},template_id:{required:!0,message:a("api.form.validation.templateRequired")}},[u,o]=(0,Z.d)({component:ei.Z}),d=()=>{o.setState({html:s.template_content}),o.open()},c=()=>{s.id=0,s.api_name="",s.template_id=null,s.template_content="",s.subject="",s.addresser=null,s.full_name="",s.unsubscribe=1,s.active=1},m=()=>({api_name:s.api_name,template_id:s.template_id||0,subject:s.subject,addresser:s.addresser||"",full_name:s.full_name,unsubscribe:s.unsubscribe,active:s.active,ip_whitelist:s.ip_whitelist.split(",")}),[v,_]=(0,Z.d)({onChangeState:e=>{if(e){let e=_.getState(),{row:a}=e;t.value=e.isEdit,a&&(s.id=a.id,s.api_name=a.api_name,s.template_id=a.template_id,s.domain=a.addresser.split("@")[1],s.subject=a.subject,s.addresser=a.addresser,s.full_name=a.full_name,s.unsubscribe=a.unsubscribe,s.active=a.active,s.ip_whitelist=a.ip_whitelist.join(","))}else c()},onConfirm:async()=>{var e;await (null==(e=i.value)?void 0:e.validate());let a=m();t.value?await T({...a,id:s.id}):await C(a),_.getState().refresh()}});return(e,a)=>{let t=r.Z,o=ea.ZP,c=S.ZP,m=ee.Z,_=Y.Z;return(0,p.wg)(),(0,p.j4)((0,p.SU)(v),{title:(0,p.SU)(l),width:"520"},{default:(0,p.w5)(()=>[(0,p.Wm)(_,{ref_key:"formRef",ref:i,model:(0,p.SU)(s),rules:n,class:"pt-12px"},{default:(0,p.w5)(()=>[(0,p.Wm)(o,{label:e.$t("api.form.apiName"),path:"api_name"},{default:(0,p.w5)(()=>[(0,p.Wm)(t,{value:(0,p.SU)(s).api_name,"onUpdate:value":a[0]||(a[0]=e=>(0,p.SU)(s).api_name=e),placeholder:e.$t("api.form.apiNamePlaceholder")},null,8,["value","placeholder"])]),_:1},8,["label"]),(0,p.Wm)(o,{label:e.$t("market.task.edit.from"),path:"addresser"},{default:(0,p.w5)(()=>[(0,p.Wm)(et.Z,{value:(0,p.SU)(s).addresser,"onUpdate:value":a[1]||(a[1]=e=>(0,p.SU)(s).addresser=e),domain:(0,p.SU)(s).domain,"onUpdate:domain":a[2]||(a[2]=e=>(0,p.SU)(s).domain=e),name:(0,p.SU)(s).full_name,"onUpdate:name":a[3]||(a[3]=e=>(0,p.SU)(s).full_name=e)},null,8,["value","domain","name"])]),_:1},8,["label"]),(0,p.Wm)(o,{label:e.$t("market.task.edit.displayName"),path:"full_name"},{default:(0,p.w5)(()=>[(0,p.Wm)(t,{value:(0,p.SU)(s).full_name,"onUpdate:value":a[4]||(a[4]=e=>(0,p.SU)(s).full_name=e),placeholder:e.$t("market.task.edit.displayNamePlaceholder")},null,8,["value","placeholder"])]),_:1},8,["label"]),(0,p.Wm)(o,{label:e.$t("market.task.edit.subject"),path:"subject"},{default:(0,p.w5)(()=>[(0,p.Wm)(t,{value:(0,p.SU)(s).subject,"onUpdate:value":a[5]||(a[5]=e=>(0,p.SU)(s).subject=e),placeholder:e.$t("market.task.edit.subjectPlaceholder")},null,8,["value","placeholder"])]),_:1},8,["label"]),(0,p.Wm)(o,{label:e.$t("market.task.edit.template"),path:"template_id"},{default:(0,p.w5)(()=>[(0,p._)("div",es,[(0,p.Wm)(el.Z,{value:(0,p.SU)(s).template_id,"onUpdate:value":a[6]||(a[6]=e=>(0,p.SU)(s).template_id=e),content:(0,p.SU)(s).template_content,"onUpdate:content":a[7]||(a[7]=e=>(0,p.SU)(s).template_content=e)},null,8,["value","content"])]),(0,p.Wm)(c,{text:"",type:"primary",class:"ml-12px",onClick:d},{default:(0,p.w5)(()=>[(0,p.Uk)((0,p.zw)(e.$t("common.actions.preview")),1)]),_:1})]),_:1},8,["label"]),(0,p.Wm)(o,{label:e.$t("market.task.edit.unsubscribeLink")},{default:(0,p.w5)(()=>[(0,p.Wm)(m,{value:(0,p.SU)(s).unsubscribe,"onUpdate:value":a[8]||(a[8]=e=>(0,p.SU)(s).unsubscribe=e),"checked-value":1,"unchecked-value":0},null,8,["value"])]),_:1},8,["label"]),(0,p.Wm)(o,{label:e.$t("api.form.status")},{default:(0,p.w5)(()=>[(0,p.Wm)(m,{value:(0,p.SU)(s).active,"onUpdate:value":a[9]||(a[9]=e=>(0,p.SU)(s).active=e),"checked-value":1,"unchecked-value":0},null,8,["value"])]),_:1},8,["label"]),(0,p.Wm)(o,{label:e.$t("api.form.ipWhitelist")},{default:(0,p.w5)(()=>[(0,p.Wm)(t,{value:(0,p.SU)(s).ip_whitelist,"onUpdate:value":a[10]||(a[10]=e=>(0,p.SU)(s).ip_whitelist=e),placeholder:e.$t("api.form.ipWhitelistPlaceholder")},null,8,["value","placeholder"])]),_:1},8,["label"]),(0,p.Wm)((0,p.SU)(u))]),_:1},8,["model"])]),_:1},8,["title"])}}});var eu=t(26281),er=t(41982);t(94812),t(59076);let eo={class:"flex items-center gap-16px w-full"},ed=["innerHTML"],ep=(0,p.aZ)({__name:"index",props:{code:{type:String,default:""},language:{type:String,default:"shell"}},setup(e){let a=(0,p.Fl)(()=>`\`\`\`${e.language}-${e.code}-\`\`\``),t=(0,p.Fl)(()=>eu.TU.parse(a.value)),{copyText:l}=(0,V.F)(),i=()=>{l(e.code)};return eu.TU.use({extensions:[{name:"highlight",level:"block",start(e){var a;return null==(a=e.match(/^```/))?void 0:a.index},tokenizer(e){let a=/^```([^\n]*?)\n([\s\S]*?)\n```/.exec(e);if(a)return{type:"highlight",raw:a[0],lang:a[1].trim(),code:a[2]}},renderer(e){let{lang:a,code:t}=e;if(a&&er.Z.getLanguage(a)){let e=er.Z.highlight(t,{language:a}).value;return`<pre><code class="hljs language-${a}">${e}</code></pre>`}return`<pre><code>${t}</code></pre>`}}]}),(e,a)=>{let l=S.ZP;return(0,p.wg)(),(0,p.iD)("div",eo,[(0,p._)("div",{class:"markdown-body flex-1 w-0",innerHTML:(0,p.SU)(t)},null,8,ed),(0,p.Wm)(l,{onClick:i},{default:(0,p.w5)(()=>[(0,p.Uk)((0,p.zw)(e.$t("common.actions.copy")),1)]),_:1})])}}}),ec={class:"flex-1 mr-10px"},em=(0,p.aZ)({__name:"ApiTest",setup(e){let{t:a}=(0,f.QT)(),t=(0,p.iH)(""),l=(0,p.Fl)(()=>t.value.replaceAll("$email",i.recipient)),i=(0,p.qj)({recipient:""}),s={recipient:{required:!0,message:a("market.task.edit.testEmailPlaceholder")}},n=()=>{i.recipient=""},[u,o]=(0,Z.d)({onChangeState:e=>{if(e){let{row:e}=o.getState();e&&(t.value=`curl -k -X POST '${e.server_addresser}' \\--H 'X-API-Key: ${e.api_key}' \\--H 'Content-Type: application/json' \\--d '{- "recipient": "$email"-}'`)}else n()}});return(e,a)=>{let t=r.Z,n=ea.ZP,o=Y.Z;return(0,p.wg)(),(0,p.j4)((0,p.SU)(u),{title:"Test API",width:"720",footer:!1},{default:(0,p.w5)(()=>[(0,p.Wm)(o,{ref:"formRef",model:(0,p.SU)(i),rules:s,class:"pt-12px"},{default:(0,p.w5)(()=>[(0,p.Wm)(n,{label:e.$t("market.task.edit.testEmail"),path:"recipient"},{default:(0,p.w5)(()=>[(0,p._)("div",ec,[(0,p.Wm)(t,{value:(0,p.SU)(i).recipient,"onUpdate:value":a[0]||(a[0]=e=>(0,p.SU)(i).recipient=e),placeholder:e.$t("market.task.edit.testEmailPlaceholder")},null,8,["value","placeholder"])])]),_:1},8,["label"]),(0,p.Wm)(n,{label:"Command"},{default:(0,p.w5)(()=>[(0,p.Wm)(ep,{code:(0,p.SU)(l),language:"bash"},null,8,["code"])]),_:1})]),_:1},8,["model"])]),_:1})}}}),ev={class:"p-24px"},e_={class:"bt-title"},ef={class:"flex flex-wrap items-center gap-16px"},eg={class:"flex items-center whitespace-pre"},ew={class:"text-default"},eh={class:"flex items-center whitespace-pre"},eb={class:"text-default"},ey={class:"w-120px"},ek={class:"flex items-center whitespace-pre"},eS={class:"text-default"},eU={class:"w-200px"},ex={class:"flex gap-8px"};function eW(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,p.lA)(e)}let eZ=(0,p.aZ)({__name:"index",setup(e){let{t:a}=(0,f.QT)(),t=(0,p.AE)("overviewRef"),d=[{label:a("api.statusOptions.all"),value:-1},{label:a("api.statusOptions.active"),value:1},{label:a("api.statusOptions.inactive"),value:0}],c=(0,p.iH)([{key:"api_name",title:a("api.columns.apiName"),maxWidth:120,render:e=>(0,p.Wm)(S.ZP,{type:"primary",text:!0,onClick:()=>{z(e)}},{default:()=>[e.api_name]})},{key:"api_key",title:a("api.columns.apiKey"),width:"28%",maxWidth:160,render:e=>(0,p.Wm)(X,{class:"w-94%",value:e.api_key},null)},{key:"send_count",title:a("api.columns.sendCount"),width:"9%",maxWidth:100},{key:"open_rate",title:a("api.columns.openRate"),width:"9%",maxWidth:100,render:e=>`${e.open_rate}%`},{key:"click_rate",title:a("api.columns.clickRate"),width:"9%",maxWidth:100,render:e=>`${e.click_rate}%`},{key:"bounce_rate",title:a("api.columns.bounceRate"),width:"9%",maxWidth:100,render:e=>`${e.bounce_rate}%`},{key:"active",title:a("api.columns.status"),width:"8%",maxWidth:80,render:e=>(0,p.Wm)(U.ZP,{size:"small",type:e.active?"primary":"warning",bordered:!1},{default:()=>[e.active?a("api.statusLabels.active"):a("api.statusLabels.inactive")]})},{title:a("common.columns.actions"),key:"actions",align:"right",width:160,render:e=>{let t,l,i;return(0,p.Wm)(x.Z,{inline:!0},{default:()=>[(0,p.Wm)(S.ZP,{type:"primary",text:!0,onClick:()=>{T(e)}},eW(t=a("common.actions.test"))?t:{default:()=>[t]}),(0,p.Wm)(S.ZP,{type:"primary",text:!0,onClick:()=>{z(e)}},eW(l=a("common.actions.edit"))?l:{default:()=>[l]}),(0,p.Wm)(S.ZP,{type:"error",text:!0,onClick:()=>{q(e)}},eW(i=a("common.actions.delete"))?i:{default:()=>[i]})]})}}]),{tableParams:m,tableProps:v,pageProps:g,fetchTable:w}=(0,W.N)({params:{page:1,page_size:10,keyword:"",active:-1,time_range:[0,0]},immediate:!1,fetchFn:P,useParams:e=>({page:e.page,page_size:e.page_size,keyword:e.keyword,active:e.active,start_time:Math.floor(e.time_range[0]/1e3),end_time:Math.floor(e.time_range[1]/1e3)})}),h=async()=>{var e;null==(e=t.value)||e.getStats(),w()},[b,y]=(0,Z.d)({component:en,state:{isEdit:!1,refresh:w}}),$=()=>{y.setState({row:null,isEdit:!1}),y.open()},z=e=>{y.setState({row:e,isEdit:!0}),y.open()},[j,C]=(0,Z.d)({component:em,state:{row:null}}),T=e=>{C.setState({row:e}),C.open()},q=e=>{(0,_.iG)({title:a("api.confirmDelete.title",{apiName:e.api_name}),content:a("api.confirmDelete.content"),onConfirm:async()=>{await R({id:e.id}),w()}})};return(0,p.bv)(()=>{w()}),(e,a)=>{let _=o.Z,f=r.Z,y=u.ZP,U=n.Z,x=s.Z,W=i.Z,Z=l.Z;return(0,p.wg)(),(0,p.iD)("div",ev,[(0,p._)("div",e_,(0,p.zw)(e.$t("api.title")),1),(0,p.Wm)(y,{class:"mb-24px","content-style":{padding:"16px 24px"}},{default:(0,p.w5)(()=>[(0,p._)("div",ef,[(0,p._)("div",eg,[(0,p._)("span",ew,(0,p.zw)(e.$t("api.timeRange")),1),(0,p.Wm)(k,{value:(0,p.SU)(m).time_range,"onUpdate:value":a[0]||(a[0]=e=>(0,p.SU)(m).time_range=e),"default-type":"last7days",onChange:h},null,8,["value"])]),(0,p._)("div",eh,[(0,p._)("span",eb,(0,p.zw)(e.$t("api.status")),1),(0,p._)("div",ey,[(0,p.Wm)(_,{value:(0,p.SU)(m).active,"onUpdate:value":[a[1]||(a[1]=e=>(0,p.SU)(m).active=e),a[2]||(a[2]=()=>(0,p.SU)(w)(!0))],options:d},null,8,["value"])])]),(0,p._)("div",ek,[(0,p._)("span",eS,(0,p.zw)(e.$t("api.search")),1),(0,p._)("div",eU,[(0,p.Wm)(f,{value:(0,p.SU)(m).keyword,"onUpdate:value":a[3]||(a[3]=e=>(0,p.SU)(m).keyword=e),placeholder:e.$t("api.searchPlaceholder"),onKeyup:a[4]||(a[4]=(0,p.D2)(()=>(0,p.SU)(w)(!0),["enter"]))},null,8,["value","placeholder"])])]),(0,p._)("div",ex,[(0,p.Wm)((0,p.SU)(S.ZP),{type:"primary",ghost:"",onClick:a[5]||(a[5]=()=>(0,p.SU)(w)(!0))},{default:(0,p.w5)(()=>[(0,p.Uk)((0,p.zw)(e.$t("common.actions.refresh")),1)]),_:1}),(0,p.Wm)((0,p.SU)(S.ZP),{type:"primary",ghost:"",onClick:h},{default:(0,p.w5)(()=>[(0,p.Uk)((0,p.zw)(e.$t("api.refreshData")),1)]),_:1})])])]),_:1}),(0,p.Wm)(K,{ref_key:"overviewRef",ref:t,time:(0,p.SU)(m).time_range},null,8,["time"]),(0,p.Wm)(Z,null,{toolsLeft:(0,p.w5)(()=>[(0,p.Wm)((0,p.SU)(S.ZP),{type:"primary",onClick:$},{default:(0,p.w5)(()=>[(0,p.Uk)((0,p.zw)(e.$t("api.createNew")),1)]),_:1}),(0,p.Wm)(U,{href:"https://www.billionmail.com/start/api_mail_guide.html",text:e.$t("common.actions.help")},null,8,["text"])]),table:(0,p.w5)(()=>[(0,p.Wm)(x,(0,p.dG)((0,p.SU)(v),{columns:(0,p.SU)(c)}),null,16,["columns"])]),pageRight:(0,p.w5)(()=>[(0,p.Wm)(W,(0,p.dG)((0,p.SU)(g),{onRefresh:(0,p.SU)(w)}),null,16,["onRefresh"])]),modal:(0,p.w5)(()=>[(0,p.Wm)((0,p.SU)(b)),(0,p.Wm)((0,p.SU)(j))]),_:1})])}}})},65302:function(e,a,t){t.d(a,{Z:()=>n});var l=t(53472),i=t(58786),s=t(51169);let n=(0,i.aZ)({__name:"TemplatePreview",setup(e){let a=(0,i.iH)(""),[t,n]=(0,s.d)({onChangeState:e=>{e&&(a.value=n.getState().html||"")}});return(e,s)=>{let n=l.Z;return(0,i.wg)(),(0,i.j4)((0,i.SU)(t),{title:e.$t("market.template.preview.title"),width:"820",footer:!1},{default:(0,i.w5)(()=>[(0,i.Wm)(n,{height:580,value:(0,i.SU)(a)},null,8,["value"])]),_:1},8,["title"])}}})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/8013.037f0f41.js b/core/public/dist/static/js/async/8013.037f0f41.jsnew file mode 100644index 00000000..d45c780b--- /dev/null+++ b/core/public/dist/static/js/async/8013.037f0f41.js@@ -0,0 +1 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["8013"],{31651:function(e,t,a){a.d(t,{A8:()=>o,NI:()=>d,QB:()=>m,WF:()=>r,Xc:()=>p,ef:()=>u});var l=a(76882),n=a(34541);let{t:i}=l.Z.global;function o(e){return n.e.get("/email_template/list",{params:e})}function d(){return n.e.get("/email_template/all")}function r(e){return n.e.post("/email_template/create",e,{fetchOptions:{loading:i("market.template.loading.creating"),successMessage:!0}})}function m(e){return n.e.post("/email_template/update",e,{fetchOptions:{loading:i("market.template.loading.updating"),successMessage:!0}})}function u(e){return n.e.post("/email_template/copy",e,{fetchOptions:{loading:i("market.template.loading.copying"),successMessage:!0}})}function p(e){return n.e.post("/email_template/delete",e,{fetchOptions:{loading:i("market.template.loading.deleting"),successMessage:!0}})}},88253:function(e,t,a){a.d(t,{Z:()=>d});var l=a(60579),n=a(58786),i=a(6768);let o=(0,n.aZ)({__name:"index",props:(0,n.Vf)({language:{type:String,default:"html"},theme:{type:String,default:"vs-dark"},options:{type:Object,default:()=>({})}},{value:{default:""},valueModifiers:{}}),emits:(0,n.Vf)(["save"],["update:value"]),setup(e,t){let{expose:a,emit:o}=t,d=(0,n.tT)(e,"value"),r=(0,n.iH)(null),m=null,u=(0,n.iH)(!1);i.Z.config({paths:{vs:`${location.origin}/static/plugin/monaco`}});let p=async()=>{if(r.value&&!m)try{u.value=!0;let t=await i.Z.init();(m=t.editor.create(r.value,{value:d.value,language:e.language,theme:e.theme,minimap:{enabled:!1},automaticLayout:!0,scrollBeyondLastLine:!1,fontSize:14,tabSize:2,wordWrap:"on",...e.options})).onDidChangeModelContent(()=>{d.value=(null==m?void 0:m.getValue())||""}),m.addCommand(t.KeyMod.CtrlCmd|t.KeyCode.KeyS,function(){o("save")})}finally{u.value=!1}},s=()=>{m&&(m.dispose(),m=null)};return(0,n.YP)(()=>d.value,e=>{m&&e!==m.getValue()&&m.setValue(e)}),(0,n.bv)(()=>{p()}),(0,n.Jd)(()=>{s()}),a({getEditor:()=>m}),(e,t)=>{let a=l.Z;return(0,n.wg)(),(0,n.j4)(a,{class:"h-full",show:(0,n.SU)(u)},{default:(0,n.w5)(()=>[(0,n._)("div",{ref_key:"containerRef",ref:r,class:"monaco-editor-container"},null,512)]),_:1},8,["show"])}}}),d=(0,a(41748).default)(o,[["__scopeId","data-v-72ffe419"]])},53472:function(e,t,a){a.d(t,{Z:()=>i});var l=a(58786);let n=["height","srcdoc"],i=(0,l.aZ)({__name:"index",props:{value:{type:String,default:""},height:{type:[String,Number],default:"100%"}},setup:e=>(t,a)=>((0,l.wg)(),(0,l.iD)("iframe",{width:"100%",height:e.height,srcdoc:e.value,style:{border:"none",borderRadius:"4px"}},null,8,n))})},86559:function(e,t,a){a.d(t,{Z:()=>i});var l=a(73084),n=a(58786);let i=(0,n.aZ)({__name:"index",props:(0,n.Vf)({width:{default:240},prefix:{type:Boolean,default:!1}},{value:{default:""},valueModifiers:{}}),emits:(0,n.Vf)(["search"],["update:value"]),setup(e,t){let{expose:a,emit:i}=t,o=(0,n.iH)(null),d=(0,n.tT)(e,"value"),r=()=>{i("search",d.value)};return a({focus:()=>{var e;null==(e=o.value)||e.focus()}}),(e,t)=>{let a=l.Z;return(0,n.wg)(),(0,n.j4)(a,(0,n.dG)({ref_key:"inputRef",ref:o,value:d.value,"onUpdate:value":t[0]||(t[0]=e=>d.value=e)},e.$attrs,{class:"bt-search",style:{width:`${e.width}px`},onKeyup:(0,n.D2)(r,["enter"])}),(0,n.Nv)({_:2},[e.prefix?{name:"prefix",fn:(0,n.w5)(()=>[(0,n._)("div",{class:"flex items-center cursor-pointer",onClick:r},t[1]||(t[1]=[(0,n._)("i",{class:"i-mdi-search text-16px"},null,-1)]))]),key:"0"}:void 0,e.prefix?void 0:{name:"suffix",fn:(0,n.w5)(()=>[(0,n._)("div",{class:"flex items-center cursor-pointer",onClick:r},t[2]||(t[2]=[(0,n._)("i",{class:"i-mdi-search text-16px"},null,-1)]))]),key:"1"}]),1040,["value","style"])}}})},65302:function(e,t,a){a.d(t,{Z:()=>o});var l=a(53472),n=a(58786),i=a(51169);let o=(0,n.aZ)({__name:"TemplatePreview",setup(e){let t=(0,n.iH)(""),[a,o]=(0,i.d)({onChangeState:e=>{e&&(t.value=o.getState().html||"")}});return(e,i)=>{let o=l.Z;return(0,n.wg)(),(0,n.j4)((0,n.SU)(a),{title:e.$t("market.template.preview.title"),width:"820",footer:!1},{default:(0,n.w5)(()=>[(0,n.Wm)(o,{height:580,value:(0,n.SU)(t)},null,8,["value"])]),_:1},8,["title"])}}})},11646:function(e,t,a){a.r(t),a.d(t,{default:()=>T});var l=a(39244),n=a(25170),i=a(60424),o=a(66760),d=a(86559),r=a(58786),m=a(15496),u=a(53903),p=a(93953),s=a(51169),c=a(67512),f=a(68271),g=a(31651),_=a(46244),v=a(6455),h=a(88253),y=a(3179),w=a(81833),S=a(8490),U=a(37864),k=a(73084);let Z={class:"flex flex-col flex-1 h-580px"},x={class:"flex justify-end gap-12px mb-8px"},b={class:"flex-1 overflow-hidden"},W=(0,r.aZ)({__name:"TemplateForm",setup(e){let t=(0,r.RC)(()=>Promise.all([a.e("9780"),a.e("7303"),a.e("5867"),a.e("3697"),a.e("9380")]).then(a.bind(a,48555))),l=(0,r.iH)(!1),n=(0,r.Fl)(()=>l.value?"Edit template":"New template"),i=(0,r.iH)(0),o=(0,r.qj)({temp_name:"",add_type:0,html_content:"",drag_data:""}),d=[{label:"HTML",value:0},{label:"Drag",value:1}],u=(0,r.Fl)(()=>{var e;return(null==(e=d.find(e=>e.value===o.add_type))?void 0:e.label)||""}),p=e=>{let t=new FileReader;t.onload=e=>{var t;o.html_content=null==(t=e.target)?void 0:t.result},e.file&&t.readAsText(e.file)},c=()=>{let e=W.getState();e.preview&&e.preview(o.html_content)},[f,W]=(0,s.d)({onChangeState:e=>{if(e){let e=W.getState(),{row:t}=e;l.value=e.isEdit,t&&(i.value=t.id,o.temp_name=t.temp_name,o.add_type=t.add_type,o.html_content=t.html_content,o.drag_data=t.drag_data)}else i.value=0,o.temp_name="",o.add_type=0,o.html_content="",o.drag_data=""},onConfirm:async()=>{l.value?await (0,g.QB)({id:i.value,...(0,r.IU)(o)}):await (0,g.WF)((0,r.IU)(o)),W.getState().refresh()}});return(e,a)=>{let i=k.Z,s=U.ZP,g=S.Z,W=w.Z,C=y.Z,P=m.ZP,z=h.Z,j=v.ZP,T=_.Z;return(0,r.wg)(),(0,r.j4)((0,r.SU)(f),{title:(0,r.SU)(n),width:1200},{default:(0,r.w5)(()=>[(0,r.Wm)(T,{class:"pt-8px",model:(0,r.SU)(o)},{default:(0,r.w5)(()=>[(0,r.Wm)(W,{cols:24,"x-gap":24},{default:(0,r.w5)(()=>[(0,r.Wm)(s,{span:18,label:"Name",path:"temp_name"},{default:(0,r.w5)(()=>[(0,r.Wm)(i,{value:(0,r.SU)(o).temp_name,"onUpdate:value":a[0]||(a[0]=e=>(0,r.SU)(o).temp_name=e),placeholder:e.$t("market.template.add.namePlaceholder")},null,8,["value","placeholder"])]),_:1}),(0,r.Wm)(s,{span:6,label:"Type",path:"add_type"},{default:(0,r.w5)(()=>[(0,r.Wm)(g,{value:(0,r.SU)(o).add_type,"onUpdate:value":a[1]||(a[1]=e=>(0,r.SU)(o).add_type=e),disabled:(0,r.SU)(l),options:d},null,8,["value","disabled"])]),_:1})]),_:1}),(0,r.Wm)(j,{label:(0,r.SU)(u),"show-feedback":!1},{default:(0,r.w5)(()=>[(0,r._)("div",Z,[(0,r._)("div",x,[(0,r._)("div",null,[(0,r.Wm)(C,{mode:"button","button-type":"primary","is-upload":!1,accept:["html"],onChange:p},{default:(0,r.w5)(()=>[(0,r.Uk)((0,r.zw)(e.$t("market.template.uploadHtml")),1)]),_:1})]),(0,r.Wm)(P,{type:"primary",ghost:"",onClick:c},{default:(0,r.w5)(()=>[(0,r.Uk)((0,r.zw)(e.$t("common.actions.preview")),1)]),_:1})]),(0,r._)("div",b,[1===(0,r.SU)(o).add_type?((0,r.wg)(),(0,r.j4)((0,r.SU)(t),{key:0,config:(0,r.SU)(o).drag_data,"onUpdate:config":a[2]||(a[2]=e=>(0,r.SU)(o).drag_data=e),html:(0,r.SU)(o).html_content,"onUpdate:html":a[3]||(a[3]=e=>(0,r.SU)(o).html_content=e)},null,8,["config","html"])):(0,r.kq)("",!0),0===(0,r.SU)(o).add_type?((0,r.wg)(),(0,r.j4)(z,{key:1,value:(0,r.SU)(o).html_content,"onUpdate:value":a[4]||(a[4]=e=>(0,r.SU)(o).html_content=e),language:"html"},null,8,["value"])):(0,r.kq)("",!0)])])]),_:1},8,["label"])]),_:1},8,["model"])]),_:1},8,["title"])}}});var C=a(65302),P=a(52495);function z(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,r.lA)(e)}let j=(0,r.aZ)({__name:"index",setup(e){let{t}=(0,P.QT)(),{tableParams:a,tableList:_,loading:v,tableTotal:h,getTableData:y}=(0,c.Z)({loading:!0,immediate:!0,params:{page:1,page_size:10,keyword:""},fetchFn:g.A8}),w=(0,r.iH)([{key:"temp_name",title:t("market.template.columns.name"),minWidth:120,ellipsis:{tooltip:!0},render:e=>(0,r.Wm)(m.ZP,{type:"primary",text:!0,onClick:()=>{Z(e)}},{default:()=>[e.temp_name]})},{key:"add_type",title:"Type",minWidth:140,render:e=>1===e.add_type?(0,r.Wm)(u.ZP,{size:"small",bordered:!1,type:"primary"},{default:()=>[(0,r.Uk)("Drag")]}):0===e.add_type?(0,r.Wm)(u.ZP,{size:"small",bordered:!1,type:"info"},{default:()=>[(0,r.Uk)("HTML")]}):void 0},{key:"create_time",title:t("market.template.columns.createdAt"),minWidth:140,render:e=>(0,f.mr)(e.create_time)},{title:t("common.columns.actions"),key:"actions",align:"right",width:240,render:e=>{let a,l,n,i;return(0,r.Wm)(p.Z,{inline:!0},{default:()=>[(0,r.Wm)(m.ZP,{type:"primary",text:!0,onClick:()=>{j(e.html_content)}},z(a=t("common.actions.preview"))?a:{default:()=>[a]}),(0,r.Wm)(m.ZP,{type:"primary",text:!0,onClick:()=>{Z(e)}},z(l=t("common.actions.edit"))?l:{default:()=>[l]}),(0,r.Wm)(m.ZP,{type:"primary",text:!0,onClick:()=>{T(e)}},z(n=t("market.template.actions.duplicate"))?n:{default:()=>[n]}),(0,r.Wm)(m.ZP,{type:"error",text:!0,onClick:()=>{H(e)}},z(i=t("common.actions.delete"))?i:{default:()=>[i]})]})}}]),[S,U]=(0,s.d)({component:W,state:{isEdit:!1,refresh:y,preview:e=>{j(e)}}}),k=()=>{U.setState({isEdit:!1,row:null}),U.open()},Z=e=>{U.setState({isEdit:!0,row:e}),U.open()},[x,b]=(0,s.d)({component:C.Z}),j=e=>{b.setState({html:e}),b.open()},T=async e=>{await (0,g.ef)({id:e.id}),y()},H=e=>{(0,f.iG)({title:t("market.template.delete.title"),content:t("market.template.delete.confirm",{name:e.temp_name}),confirmText:t("common.actions.delete"),confirmType:"error",onConfirm:async()=>{await (0,g.Xc)({id:e.id}),y()}})};return(e,u)=>{let p=d.Z,s=o.Z,c=i.Z,f=n.Z,g=l.Z;return(0,r.wg)(),(0,r.iD)("div",null,[(0,r.Wm)(g,null,{toolsLeft:(0,r.w5)(()=>[(0,r.Wm)((0,r.SU)(m.ZP),{type:"primary",onClick:k},{default:(0,r.w5)(()=>[(0,r.Uk)((0,r.zw)((0,r.SU)(t)("market.template.actions.add")),1)]),_:1})]),toolsRight:(0,r.w5)(()=>[(0,r.Wm)(p,{value:(0,r.SU)(a).keyword,"onUpdate:value":u[0]||(u[0]=e=>(0,r.SU)(a).keyword=e),width:240,placeholder:(0,r.SU)(t)("market.template.search.namePlaceholder"),onSearch:u[1]||(u[1]=()=>(0,r.SU)(y)(!0))},null,8,["value","placeholder"])]),table:(0,r.w5)(()=>[(0,r.Wm)(c,{loading:(0,r.SU)(v),columns:(0,r.SU)(w),data:(0,r.SU)(_)},{empty:(0,r.w5)(()=>[(0,r.Wm)(s)]),_:1},8,["loading","columns","data"])]),pageRight:(0,r.w5)(()=>[(0,r.Wm)(f,{page:(0,r.SU)(a).page,"onUpdate:page":u[2]||(u[2]=e=>(0,r.SU)(a).page=e),"page-size":(0,r.SU)(a).page_size,"onUpdate:pageSize":u[3]||(u[3]=e=>(0,r.SU)(a).page_size=e),"item-count":(0,r.SU)(h),onRefresh:(0,r.SU)(y)},null,8,["page","page-size","item-count","onRefresh"])]),modal:(0,r.w5)(()=>[(0,r.Wm)((0,r.SU)(S)),(0,r.Wm)((0,r.SU)(x))]),_:1})])}}}),T=(0,a(41748).default)(j,[["__scopeId","data-v-bd779390"]])}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/8013.43e10c82.js b/core/public/dist/static/js/async/8013.43e10c82.jsdeleted file mode 100644index aa22c947..00000000--- a/core/public/dist/static/js/async/8013.43e10c82.js+++ /dev/null@@ -1 +0,0 @@-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["8013"],{31651:function(e,t,a){a.d(t,{A8:()=>o,NI:()=>d,QB:()=>m,WF:()=>r,Xc:()=>p,ef:()=>u});var l=a(76882),n=a(34541);let{t:i}=l.Z.global;function o(e){return n.e.get("/email_template/list",{params:e})}function d(){return n.e.get("/email_template/all")}function r(e){return n.e.post("/email_template/create",e,{fetchOptions:{loading:i("market.template.loading.creating"),successMessage:!0}})}function m(e){return n.e.post("/email_template/update",e,{fetchOptions:{loading:i("market.template.loading.updating"),successMessage:!0}})}function u(e){return n.e.post("/email_template/copy",e,{fetchOptions:{loading:i("market.template.loading.copying"),successMessage:!0}})}function p(e){return n.e.post("/email_template/delete",e,{fetchOptions:{loading:i("market.template.loading.deleting"),successMessage:!0}})}},88253:function(e,t,a){a.d(t,{Z:()=>d});var l=a(60579),n=a(58786),i=a(6768);let o=(0,n.aZ)({__name:"index",props:(0,n.Vf)({language:{type:String,default:"html"},theme:{type:String,default:"vs-dark"},options:{type:Object,default:()=>({})}},{value:{default:""},valueModifiers:{}}),emits:(0,n.Vf)(["save"],["update:value"]),setup(e,t){let{expose:a,emit:o}=t,d=(0,n.tT)(e,"value"),r=(0,n.iH)(null),m=null,u=(0,n.iH)(!1);i.Z.config({paths:{vs:`${location.origin}/static/plugin/monaco`}});let p=async()=>{if(r.value&&!m)try{u.value=!0;let t=await i.Z.init();(m=t.editor.create(r.value,{value:d.value,language:e.language,theme:e.theme,minimap:{enabled:!1},automaticLayout:!0,scrollBeyondLastLine:!1,fontSize:14,tabSize:2,wordWrap:"on",...e.options})).onDidChangeModelContent(()=>{d.value=(null==m?void 0:m.getValue())||""}),m.addCommand(t.KeyMod.CtrlCmd|t.KeyCode.KeyS,function(){o("save")})}finally{u.value=!1}},s=()=>{m&&(m.dispose(),m=null)};return(0,n.YP)(()=>d.value,e=>{m&&e!==m.getValue()&&m.setValue(e)}),(0,n.bv)(()=>{p()}),(0,n.Jd)(()=>{s()}),a({getEditor:()=>m}),(e,t)=>{let a=l.Z;return(0,n.wg)(),(0,n.j4)(a,{class:"h-full",show:(0,n.SU)(u)},{default:(0,n.w5)(()=>[(0,n._)("div",{ref_key:"containerRef",ref:r,class:"monaco-editor-container"},null,512)]),_:1},8,["show"])}}}),d=(0,a(41748).default)(o,[["__scopeId","data-v-72ffe419"]])},53472:function(e,t,a){a.d(t,{Z:()=>i});var l=a(58786);let n=["height","srcdoc"],i=(0,l.aZ)({__name:"index",props:{value:{type:String,default:""},height:{type:[String,Number],default:"100%"}},setup:e=>(t,a)=>((0,l.wg)(),(0,l.iD)("iframe",{width:"100%",height:e.height,srcdoc:e.value,style:{border:"none",borderRadius:"4px"}},null,8,n))})},86559:function(e,t,a){a.d(t,{Z:()=>i});var l=a(73084),n=a(58786);let i=(0,n.aZ)({__name:"index",props:(0,n.Vf)({width:{default:240},prefix:{type:Boolean,default:!1}},{value:{default:""},valueModifiers:{}}),emits:(0,n.Vf)(["search"],["update:value"]),setup(e,t){let{expose:a,emit:i}=t,o=(0,n.iH)(null),d=(0,n.tT)(e,"value"),r=()=>{i("search",d.value)};return a({focus:()=>{var e;null==(e=o.value)||e.focus()}}),(e,t)=>{let a=l.Z;return(0,n.wg)(),(0,n.j4)(a,(0,n.dG)({ref_key:"inputRef",ref:o,value:d.value,"onUpdate:value":t[0]||(t[0]=e=>d.value=e)},e.$attrs,{class:"bt-search",style:{width:`${e.width}px`},onKeyup:(0,n.D2)(r,["enter"])}),(0,n.Nv)({_:2},[e.prefix?{name:"prefix",fn:(0,n.w5)(()=>[(0,n._)("div",{class:"flex items-center cursor-pointer",onClick:r},t[1]||(t[1]=[(0,n._)("i",{class:"i-mdi-search text-16px"},null,-1)]))]),key:"0"}:void 0,e.prefix?void 0:{name:"suffix",fn:(0,n.w5)(()=>[(0,n._)("div",{class:"flex items-center cursor-pointer",onClick:r},t[2]||(t[2]=[(0,n._)("i",{class:"i-mdi-search text-16px"},null,-1)]))]),key:"1"}]),1040,["value","style"])}}})},65302:function(e,t,a){a.d(t,{Z:()=>o});var l=a(53472),n=a(58786),i=a(51169);let o=(0,n.aZ)({__name:"TemplatePreview",setup(e){let t=(0,n.iH)(""),[a,o]=(0,i.d)({onChangeState:e=>{e&&(t.value=o.getState().html||"")}});return(e,i)=>{let o=l.Z;return(0,n.wg)(),(0,n.j4)((0,n.SU)(a),{title:e.$t("market.template.preview.title"),width:"820",footer:!1},{default:(0,n.w5)(()=>[(0,n.Wm)(o,{height:580,value:(0,n.SU)(t)},null,8,["value"])]),_:1},8,["title"])}}})},11646:function(e,t,a){a.r(t),a.d(t,{default:()=>T});var l=a(39244),n=a(25170),i=a(60424),o=a(66760),d=a(86559),r=a(58786),m=a(15496),u=a(53903),p=a(93953),s=a(51169),c=a(67512),f=a(68271),g=a(31651),_=a(46244),v=a(6455),h=a(88253),y=a(3179),w=a(81833),S=a(8490),U=a(37864),k=a(73084);let Z={class:"flex flex-col flex-1 h-580px"},x={class:"flex justify-end gap-12px mb-8px"},b={class:"flex-1 overflow-hidden"},W=(0,r.aZ)({__name:"TemplateForm",setup(e){let t=(0,r.RC)(()=>Promise.all([a.e("7303"),a.e("5274"),a.e("5867"),a.e("587"),a.e("9380")]).then(a.bind(a,48555))),l=(0,r.iH)(!1),n=(0,r.Fl)(()=>l.value?"Edit template":"New template"),i=(0,r.iH)(0),o=(0,r.qj)({temp_name:"",add_type:0,html_content:"",drag_data:""}),d=[{label:"HTML",value:0},{label:"Drag",value:1}],u=(0,r.Fl)(()=>{var e;return(null==(e=d.find(e=>e.value===o.add_type))?void 0:e.label)||""}),p=e=>{let t=new FileReader;t.onload=e=>{var t;o.html_content=null==(t=e.target)?void 0:t.result},e.file&&t.readAsText(e.file)},c=()=>{let e=W.getState();e.preview&&e.preview(o.html_content)},[f,W]=(0,s.d)({onChangeState:e=>{if(e){let e=W.getState(),{row:t}=e;l.value=e.isEdit,t&&(i.value=t.id,o.temp_name=t.temp_name,o.add_type=t.add_type,o.html_content=t.html_content,o.drag_data=t.drag_data)}else i.value=0,o.temp_name="",o.add_type=0,o.html_content="",o.drag_data=""},onConfirm:async()=>{l.value?await (0,g.QB)({id:i.value,...(0,r.IU)(o)}):await (0,g.WF)((0,r.IU)(o)),W.getState().refresh()}});return(e,a)=>{let i=k.Z,s=U.ZP,g=S.Z,W=w.Z,C=y.Z,P=m.ZP,z=h.Z,j=v.ZP,T=_.Z;return(0,r.wg)(),(0,r.j4)((0,r.SU)(f),{title:(0,r.SU)(n),width:1200},{default:(0,r.w5)(()=>[(0,r.Wm)(T,{class:"pt-8px",model:(0,r.SU)(o)},{default:(0,r.w5)(()=>[(0,r.Wm)(W,{cols:24,"x-gap":24},{default:(0,r.w5)(()=>[(0,r.Wm)(s,{span:18,label:"Name",path:"temp_name"},{default:(0,r.w5)(()=>[(0,r.Wm)(i,{value:(0,r.SU)(o).temp_name,"onUpdate:value":a[0]||(a[0]=e=>(0,r.SU)(o).temp_name=e),placeholder:e.$t("market.template.add.namePlaceholder")},null,8,["value","placeholder"])]),_:1}),(0,r.Wm)(s,{span:6,label:"Type",path:"add_type"},{default:(0,r.w5)(()=>[(0,r.Wm)(g,{value:(0,r.SU)(o).add_type,"onUpdate:value":a[1]||(a[1]=e=>(0,r.SU)(o).add_type=e),disabled:(0,r.SU)(l),options:d},null,8,["value","disabled"])]),_:1})]),_:1}),(0,r.Wm)(j,{label:(0,r.SU)(u),"show-feedback":!1},{default:(0,r.w5)(()=>[(0,r._)("div",Z,[(0,r._)("div",x,[(0,r._)("div",null,[(0,r.Wm)(C,{mode:"button","button-type":"primary","is-upload":!1,accept:["html"],onChange:p},{default:(0,r.w5)(()=>[(0,r.Uk)((0,r.zw)(e.$t("market.template.uploadHtml")),1)]),_:1})]),(0,r.Wm)(P,{type:"primary",ghost:"",onClick:c},{default:(0,r.w5)(()=>[(0,r.Uk)((0,r.zw)(e.$t("common.actions.preview")),1)]),_:1})]),(0,r._)("div",b,[1===(0,r.SU)(o).add_type?((0,r.wg)(),(0,r.j4)((0,r.SU)(t),{key:0,config:(0,r.SU)(o).drag_data,"onUpdate:config":a[2]||(a[2]=e=>(0,r.SU)(o).drag_data=e),html:(0,r.SU)(o).html_content,"onUpdate:html":a[3]||(a[3]=e=>(0,r.SU)(o).html_content=e)},null,8,["config","html"])):(0,r.kq)("",!0),0===(0,r.SU)(o).add_type?((0,r.wg)(),(0,r.j4)(z,{key:1,value:(0,r.SU)(o).html_content,"onUpdate:value":a[4]||(a[4]=e=>(0,r.SU)(o).html_content=e),language:"html"},null,8,["value"])):(0,r.kq)("",!0)])])]),_:1},8,["label"])]),_:1},8,["model"])]),_:1},8,["title"])}}});var C=a(65302),P=a(52495);function z(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,r.lA)(e)}let j=(0,r.aZ)({__name:"index",setup(e){let{t}=(0,P.QT)(),{tableParams:a,tableList:_,loading:v,tableTotal:h,getTableData:y}=(0,c.Z)({loading:!0,immediate:!0,params:{page:1,page_size:10,keyword:""},fetchFn:g.A8}),w=(0,r.iH)([{key:"temp_name",title:t("market.template.columns.name"),minWidth:120,ellipsis:{tooltip:!0},render:e=>(0,r.Wm)(m.ZP,{type:"primary",text:!0,onClick:()=>{Z(e)}},{default:()=>[e.temp_name]})},{key:"add_type",title:"Type",minWidth:140,render:e=>1===e.add_type?(0,r.Wm)(u.ZP,{size:"small",bordered:!1,type:"primary"},{default:()=>[(0,r.Uk)("Drag")]}):0===e.add_type?(0,r.Wm)(u.ZP,{size:"small",bordered:!1,type:"info"},{default:()=>[(0,r.Uk)("HTML")]}):void 0},{key:"create_time",title:t("market.template.columns.createdAt"),minWidth:140,render:e=>(0,f.mr)(e.create_time)},{title:t("common.columns.actions"),key:"actions",align:"right",width:240,render:e=>{let a,l,n,i;return(0,r.Wm)(p.Z,{inline:!0},{default:()=>[(0,r.Wm)(m.ZP,{type:"primary",text:!0,onClick:()=>{j(e.html_content)}},z(a=t("common.actions.preview"))?a:{default:()=>[a]}),(0,r.Wm)(m.ZP,{type:"primary",text:!0,onClick:()=>{Z(e)}},z(l=t("common.actions.edit"))?l:{default:()=>[l]}),(0,r.Wm)(m.ZP,{type:"primary",text:!0,onClick:()=>{T(e)}},z(n=t("market.template.actions.duplicate"))?n:{default:()=>[n]}),(0,r.Wm)(m.ZP,{type:"error",text:!0,onClick:()=>{H(e)}},z(i=t("common.actions.delete"))?i:{default:()=>[i]})]})}}]),[S,U]=(0,s.d)({component:W,state:{isEdit:!1,refresh:y,preview:e=>{j(e)}}}),k=()=>{U.setState({isEdit:!1,row:null}),U.open()},Z=e=>{U.setState({isEdit:!0,row:e}),U.open()},[x,b]=(0,s.d)({component:C.Z}),j=e=>{b.setState({html:e}),b.open()},T=async e=>{await (0,g.ef)({id:e.id}),y()},H=e=>{(0,f.iG)({title:t("market.template.delete.title"),content:t("market.template.delete.confirm",{name:e.temp_name}),confirmText:t("common.actions.delete"),confirmType:"error",onConfirm:async()=>{await (0,g.Xc)({id:e.id}),y()}})};return(e,u)=>{let p=d.Z,s=o.Z,c=i.Z,f=n.Z,g=l.Z;return(0,r.wg)(),(0,r.iD)("div",null,[(0,r.Wm)(g,null,{toolsLeft:(0,r.w5)(()=>[(0,r.Wm)((0,r.SU)(m.ZP),{type:"primary",onClick:k},{default:(0,r.w5)(()=>[(0,r.Uk)((0,r.zw)((0,r.SU)(t)("market.template.actions.add")),1)]),_:1})]),toolsRight:(0,r.w5)(()=>[(0,r.Wm)(p,{value:(0,r.SU)(a).keyword,"onUpdate:value":u[0]||(u[0]=e=>(0,r.SU)(a).keyword=e),width:240,placeholder:(0,r.SU)(t)("market.template.search.namePlaceholder"),onSearch:u[1]||(u[1]=()=>(0,r.SU)(y)(!0))},null,8,["value","placeholder"])]),table:(0,r.w5)(()=>[(0,r.Wm)(c,{loading:(0,r.SU)(v),columns:(0,r.SU)(w),data:(0,r.SU)(_)},{empty:(0,r.w5)(()=>[(0,r.Wm)(s)]),_:1},8,["loading","columns","data"])]),pageRight:(0,r.w5)(()=>[(0,r.Wm)(f,{page:(0,r.SU)(a).page,"onUpdate:page":u[2]||(u[2]=e=>(0,r.SU)(a).page=e),"page-size":(0,r.SU)(a).page_size,"onUpdate:pageSize":u[3]||(u[3]=e=>(0,r.SU)(a).page_size=e),"item-count":(0,r.SU)(h),onRefresh:(0,r.SU)(y)},null,8,["page","page-size","item-count","onRefresh"])]),modal:(0,r.w5)(()=>[(0,r.Wm)((0,r.SU)(S)),(0,r.Wm)((0,r.SU)(x))]),_:1})])}}}),T=(0,a(41748).default)(j,[["__scopeId","data-v-bd779390"]])}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/8749.5e9ea659.js b/core/public/dist/static/js/async/8749.5e9ea659.jsnew file mode 100644index 00000000..96adf7f2--- /dev/null+++ b/core/public/dist/static/js/async/8749.5e9ea659.js@@ -0,0 +1,58 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["8749"],{66236:function(e,a,t){t.d(a,{W3:()=>d,ZP:()=>p});var i=t(58786),o=t(56946),n=t(54470),l=t(53198),r=t(19050),s=t(55456),c=t(71309);let u=(0,c.cB)("breadcrumb",`+ white-space: nowrap;+ cursor: default;+ line-height: var(--n-item-line-height);+`,[(0,c.c)("ul",`+ list-style: none;+ padding: 0;+ margin: 0;+ `),(0,c.c)("a",`+ color: inherit;+ text-decoration: inherit;+ `),(0,c.cB)("breadcrumb-item",`+ font-size: var(--n-font-size);+ transition: color .3s var(--n-bezier);+ display: inline-flex;+ align-items: center;+ `,[(0,c.cB)("icon",`+ font-size: 18px;+ vertical-align: -.2em;+ transition: color .3s var(--n-bezier);+ color: var(--n-item-text-color);+ `),(0,c.c)("&:not(:last-child)",[(0,c.cM)("clickable",[(0,c.cE)("link",`+ cursor: pointer;+ `,[(0,c.c)("&:hover",`+ background-color: var(--n-item-color-hover);+ `),(0,c.c)("&:active",`+ background-color: var(--n-item-color-pressed);+ `)])])]),(0,c.cE)("link",`+ padding: 4px;+ border-radius: var(--n-item-border-radius);+ transition:+ background-color .3s var(--n-bezier),+ color .3s var(--n-bezier);+ color: var(--n-item-text-color);+ position: relative;+ `,[(0,c.c)("&:hover",`+ color: var(--n-item-text-color-hover);+ `,[(0,c.cB)("icon",`+ color: var(--n-item-text-color-hover);+ `)]),(0,c.c)("&:active",`+ color: var(--n-item-text-color-pressed);+ `,[(0,c.cB)("icon",`+ color: var(--n-item-text-color-pressed);+ `)])]),(0,c.cE)("separator",`+ margin: 0 8px;+ color: var(--n-separator-color);+ transition: color .3s var(--n-bezier);+ user-select: none;+ -webkit-user-select: none;+ `),(0,c.c)("&:last-child",[(0,c.cE)("link",`+ font-weight: var(--n-font-weight-active);+ cursor: unset;+ color: var(--n-item-text-color-active);+ `,[(0,c.cB)("icon",`+ color: var(--n-item-text-color-active);+ `)]),(0,c.cE)("separator",`+ display: none;+ `)])])]),d=(0,r.U)("n-breadcrumb"),v=Object.assign(Object.assign({},o.Z.props),{separator:{type:String,default:"/"}}),p=(0,i.aZ)({name:"Breadcrumb",props:v,setup(e){let{mergedClsPrefixRef:a,inlineThemeDisabled:t}=(0,n.ZP)(e),r=(0,o.Z)("Breadcrumb","-breadcrumb",u,s.Z,e,a);(0,i.JJ)(d,{separatorRef:(0,i.Vh)(e,"separator"),mergedClsPrefixRef:a});let c=(0,i.Fl)(()=>{let{common:{cubicBezierEaseInOut:e},self:{separatorColor:a,itemTextColor:t,itemTextColorHover:i,itemTextColorPressed:o,itemTextColorActive:n,fontSize:l,fontWeightActive:s,itemBorderRadius:c,itemColorHover:u,itemColorPressed:d,itemLineHeight:v}}=r.value;return{"--n-font-size":l,"--n-bezier":e,"--n-item-text-color":t,"--n-item-text-color-hover":i,"--n-item-text-color-pressed":o,"--n-item-text-color-active":n,"--n-separator-color":a,"--n-item-color-hover":u,"--n-item-color-pressed":d,"--n-item-border-radius":c,"--n-font-weight-active":s,"--n-item-line-height":v}}),v=t?(0,l.F)("breadcrumb",void 0,c,e):void 0;return{mergedClsPrefix:a,cssVars:t?void 0:c,themeClass:null==v?void 0:v.themeClass,onRender:null==v?void 0:v.onRender}},render(){var e;return null==(e=this.onRender)||e.call(this),(0,i.h)("nav",{class:[`${this.mergedClsPrefix}-breadcrumb`,this.themeClass],style:this.cssVars,"aria-label":"Breadcrumb"},(0,i.h)("ul",null,this.$slots))}})},70958:function(e,a,t){t.d(a,{Z:()=>r});var i=t(58786),o=t(93950),n=t(68574),l=t(66236);let r=(0,i.aZ)({name:"BreadcrumbItem",props:{separator:String,href:String,clickable:{type:Boolean,default:!0},onClick:Function},slots:Object,setup(e,{slots:a}){let t=(0,i.f3)(l.W3,null);if(!t)return()=>null;let{separatorRef:r,mergedClsPrefixRef:s}=t,c=function(e=n.j?window:null){let a=()=>{let{hash:a,host:t,hostname:i,href:o,origin:n,pathname:l,port:r,protocol:s,search:c}=(null==e?void 0:e.location)||{};return{hash:a,host:t,hostname:i,href:o,origin:n,pathname:l,port:r,protocol:s,search:c}},t=(0,i.iH)(a()),o=()=>{t.value=a()};return(0,i.bv)(()=>{e&&(e.addEventListener("popstate",o),e.addEventListener("hashchange",o))}),(0,i.SK)(()=>{e&&(e.removeEventListener("popstate",o),e.removeEventListener("hashchange",o))}),t}(),u=(0,i.Fl)(()=>e.href?"a":"span"),d=(0,i.Fl)(()=>c.value.href===e.href?"location":null);return()=>{let{value:t}=s;return(0,i.h)("li",{class:[`${t}-breadcrumb-item`,e.clickable&&`${t}-breadcrumb-item--clickable`]},(0,i.h)(u.value,{class:`${t}-breadcrumb-item__link`,"aria-current":d.value,href:e.href,onClick:e.onClick},a),(0,i.h)("span",{class:`${t}-breadcrumb-item__separator`,"aria-hidden":"true"},(0,o.gI)(a.separator,()=>{var a;return[null!=(a=e.separator)?a:r.value]})))}}})},20099:function(e,a,t){t.d(a,{Z:()=>l});var i=t(58786),o=t(97756);let n=Object.assign(Object.assign({},t(56946).Z.props),{trigger:String,xScrollable:Boolean,onScroll:Function,contentClass:String,contentStyle:[Object,String],size:Number,yPlacement:{type:String,default:"right"},xPlacement:{type:String,default:"bottom"}}),l=(0,i.aZ)({name:"Scrollbar",props:n,setup(){let e=(0,i.iH)(null);return Object.assign(Object.assign({},{scrollTo:(...a)=>{var t;null==(t=e.value)||t.scrollTo(a[0],a[1])},scrollBy:(...a)=>{var t;null==(t=e.value)||t.scrollBy(a[0],a[1])}}),{scrollbarInstRef:e})},render(){return(0,i.h)(o.Z,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}})},39432:function(e,a,t){t.d(a,{Au:()=>v,Fj:()=>s,LC:()=>l,Lb:()=>b,M7:()=>h,OV:()=>d,dj:()=>u,gK:()=>c,i7:()=>n,qt:()=>r,rU:()=>f,v1:()=>p,xh:()=>g,yW:()=>m});var i=t(34541);let{t:o}=t(76882).Z.global,n=e=>i.e.get("/domains/list",{params:e}),l=()=>i.e.get("/domains/all"),r=()=>i.e.post("/multi_ip_domain/apply"),s=e=>i.e.post("/domains/create",e,{fetchOptions:{loading:o("domain.api.loading.creating"),successMessage:!0}}),c=e=>i.e.post("/domains/update",e,{fetchOptions:{loading:o("domain.api.loading.updating"),successMessage:!0}}),u=e=>i.e.post("/domains/delete",e,{fetchOptions:{loading:o("domain.api.loading.deleting"),successMessage:!0}}),d=e=>i.e.post("/domains/set_ssl",e,{fetchOptions:{loading:o("domain.api.loading.settingSSL"),successMessage:!0}}),v=e=>i.e.get("/domains/get_ssl",{params:e}),p=e=>i.e.post("/domains/fresh_dns_records",e,{fetchOptions:{loading:o("domain.api.loading.refreshingDns"),successMessage:!0}}),m=e=>i.e.post("/ssl/apply_cert",e,{fetchOptions:{loading:o("domain.api.loading.applyingCert"),successMessage:!0}}),g=e=>i.e.post("/domains/set_default_domain",e,{fetchOptions:{loading:o("domain.api.loading.settingDefault"),successMessage:!0}}),f=e=>i.e.post("/askai/project/create",e,{fetchOptions:{loading:o("domain.api.loading.settingBrandInfo"),successMessage:!0}}),h=e=>i.e.post("/multi_ip_domain/test",e,{fetchOptions:{loading:o("domain.api.loading.testingConnection"),successMessage:!0}}),b=()=>i.e.post("/askai/supplier/status")},16634:function(e,a,t){t.d(a,{Ao:()=>l,mL:()=>r,uL:()=>n});var i=t(34541),o=t(42205);let n={fetchOptions:{loading:"Loading... Please wait.",successMessage:!0}};async function l(e){let{legal_company_name:a,web_site:t,company_profile:n,email:l,phone:r,support_url:s,hasGotCompanyProfile:c}=(0,o.J)();if(!c.value)try{let o=await i.e.post("/askai/project/get_company_profile",{domain:e});a.value=o.legal_company_name,t.value=o.web_site,n.value=o.company_profile,l.value=o.email,r.value=o.phone,s.value=o.support_url,c.value=!0}catch(e){console.warn(e)}}async function r(e){let{legal_company_name:a,web_site:t,company_profile:l,email:r,phone:s,support_url:c}=(0,o.J)();try{await i.e.post("/askai/project/modify_company_profile",{domain:e,legal_company_name:a.value,web_site:t.value,company_profile:l.value,email:r.value,phone:s.value,support_url:c.value},n)}catch(e){console.warn(e)}}},54686:function(e,a,t){t.d(a,{L7:()=>f,M7:()=>v,Rw:()=>h,VP:()=>b,Vq:()=>_,Xe:()=>m,gK:()=>p,ke:()=>g,lQ:()=>u});var i=t(34541),o=t(16634),n=t(42205),l=t(68271),r=t(39432),s=t(31708),c=t(76882);async function u(e){let{domainTit:a,domainIp:t,quota:o,unit:r,mailboxes:s,catch_email:c,hasGotDomainConfiguration:u,urls:v}=(0,n.J)();if(!u.value)try{let n=await i.e.get("/domains/list",{params:{keyword:e,page:1,page_size:1}});if((0,l.Kn)(n)){var p;let{list:i}=n,m=(0,l.UO)(i[0].quota,!0,2).split(" ");a.value=i[0].domain,t.value=(null==(p=i[0].multi_ip_domains)?void 0:p.outbound_ip)||"",o.value=m[0],r.value=m[1],s.value=i[0].mailboxes,c.value=i[0].email,v.value=i[0].urls&&i[0].urls.length>0&&""!=i[0].urls[0]?i[0].urls:[`https://${e}`],await d(e),u.value=!0}}catch(e){console.warn(e)}}async function d(e){let{brandInfo:a,createdBrandInfo:t}=(0,n.J)();try{let o=await i.e.post("/askai/project/get_project_status",{domain:e});a.value=o.status,t.value=o.create_status}catch(e){console.warn(e)}}async function v(){let{domainTit:e,domainIp:a}=(0,n.J)();if(""==a.value)return void l.v0.error(c.Z.global.t("domain.edit.domainConfiguration.validation.setDedicatedIpFirst"));try{await i.e.post("/multi_ip_domain/test",{domain:e.value,outbound_ip:a.value},{fetchOptions:{loading:c.Z.global.t("domain.edit.domainConfiguration.api.testingConnection"),successMessage:!0}})}catch(e){console.warn(e)}}async function p(){let{domainTit:e,domainIp:a,quota:t,unit:l,urls:r,mailboxes:s,catch_email:c}=(0,n.J)(),u=function(e,a){switch(a){case"KB":return 1024*e;case"MB":return 1024*e*1024;case"GB":return 1024*e*1048576;case"TB":return 1024*e*0x40000000;default:return e}}(Number(t.value),l.value);try{await i.e.post("/domains/update",{domain:e.value,mailboxes:s.value,mailboxQuota:u,quota:u,rateLimit:1,active:1,email:c.value,urls:r.value,outbound_ip:a.value},o.uL)}catch(e){console.warn(e)}}async function m(){let{waitAndCheckDomainStatusRef:e,domainTit:a,urls:t,hasGotDomainConfiguration:i}=(0,n.J)(),o=(0,s.s6)();if(i.value=!1,0==t.value.length||""==t.value[0])l.v0.error(c.Z.global.t("domain.edit.domainConfiguration.fillDomain"));else if((0,l.CB)(t.value[0]))try{await (0,r.rU)({domain:a.value,urls:t.value}),o.domainSource=a.value,e.value.open(a.value,()=>{g(a.value,1),u(a.value)})}catch(e){console.warn(e)}else l.v0.error(c.Z.global.t("domain.edit.domainConfiguration.fillValidDomain"))}async function g(e,a){try{await i.e.post("/domains/update",{domain:e,hasbrandinfo:a})}catch(e){console.warn(e)}}function f(e){let{urls:a}=(0,n.J)(),t=a.value[0].match(/http:\/\/?/g),i=a.value[0].match(/https:\/\/?/g);t&&(a.value[0]=t[0]+e),i&&(a.value[0]=i[0]+e),t||i||(a.value[0]="https://"+e)}function h(e){let{urls:a}=(0,n.J)();a.value.splice(e,1)}function b(){let{hasGotAisettings:e,hasGotCompanyProfile:a,hasGotDomainConfiguration:t,hasGotFootersettings:i,hasGotProjectDetail:o,hasGotSitemap:l,hasGotStyling:r}=(0,n.J)();e.value=!1,a.value=!1,t.value=!1,i.value=!1,o.value=!1,l.value=!1,r.value=!1}async function _(e){let{brandInfo:a,domainTit:t}=(0,n.J)();try{await i.e.post("/askai/project/set_project_status",{domain:t.value,status:e},o.uL),await i.e.post("/domains/update",{domain:t.value,active:1,hasbrandinfo:Number(e)})}catch(t){a.value=!e,console.warn(t)}}},65539:function(e,a,t){t.d(a,{H:()=>l,v:()=>r});var i=t(34541),o=t(16634),n=t(42205);async function l(e){let{copyright_text:a,disclaimer:t,hasGotFootersettings:o}=(0,n.J)();if(!o.value)try{let n=await i.e.post("/askai/project/get_footer",{domain:e});a.value=n.copyright_text,t.value=n.disclaimer,o.value=!0}catch(e){console.warn(e)}}async function r(e){let{copyright_text:a,disclaimer:t}=(0,n.J)();try{await i.e.post("/askai/project/modify_footer",{domain:e,copyright_text:a.value,disclaimer:t.value},o.uL)}catch(e){console.warn(e)}}},6430:function(e,a,t){t.d(a,{CH:()=>c,D9:()=>s,Id:()=>p,Ix:()=>m,Px:()=>u,Sg:()=>r,T:()=>l,Xd:()=>d,eV:()=>v});var i=t(42205),o=t(34541),n=t(16634);async function l(e){let{project_name:a,primary_logo:t,favicon:n,industry:l,description:r,secondary_logo:s,hasGotProjectDetail:c,knowledge_base:u}=(0,i.J)();if(!c.value)try{let i=await o.e.post("/askai/project/get_base_info",{domain:e});a.value=i.project_name,t.value=i.primary_logo,n.value=i.favicon,l.value=i.industry,r.value=i.description,s.value=i.secondary_logo,u.value=i.knowledge_base,c.value=!0}catch(e){console.warn(e)}}async function r(e){let{project_name:a,primary_logo:t,favicon:l,industry:r,description:s,secondary_logo:c}=(0,i.J)();try{await o.e.post("/askai/project/modify_base_info",{domain:e,project_name:a.value,primary_logo:t.value,favicon:l.value,industry:r.value,description:s.value,secondary_logo:c.value},n.uL)}catch(e){console.warn(e)}}async function s(e){try{let{knowledgeTitle:a,knowledgeContent:t,hasGotProjectDetail:r}=(0,i.J)();await o.e.post("/askai/project/create_knowledge_base_file",{domain:e,title:a.value,content:t.value},n.uL),r.value=!1,await l(e),u()}catch(e){console.warn(e)}}async function c(e){let{activeKnowledge:a,hasGotProjectDetail:t,knowledgeTitle:n,knowledgeContent:r}=(0,i.J)();try{await o.e.post("/askai/project/modify_knowledge_base_file",{domain:e,title:n.value,content:r.value,kid:a.value.kid}),t.value=!1,await l(e),u()}catch(e){console.warn(e)}}function u(){let{knowledgeContent:e,knowledgeTitle:a,knowledgeModalShow:t,isEditKnowledge:o}=(0,i.J)();e.value="",a.value="",t.value=!1,o.value=!1}function d(e){let{knowledgeTitle:a,knowledgeContent:t,knowledgeModalShow:o,activeKnowledge:n,isEditKnowledge:l}=(0,i.J)();n.value=e,a.value=e.title,t.value=e.content,o.value=!0,l.value=!0}async function v(e,a){let{hasGotProjectDetail:t}=(0,i.J)();try{await o.e.post("/askai/project/remove_knowledge_base_file",{domain:e,kid:a.kid},n.uL),t.value=!1,l(e)}catch(e){console.warn(e)}}function p(e){let{knowledge_base_content:a,knowledgeBasePreview:t,knowledgeBasePreviewTit:o}=(0,i.J)();t.value=!0,a.value=e.content,o.value=e.title}async function m(e,a,t,i,l){try{await o.e.post("/askai/project/upload_image",{domain:e,image:a,filename:t,alt_text:i,image_tag:l},n.uL)}catch(e){return console.warn(e),""}}},17559:function(e,a,t){t.d(a,{I:()=>r,M:()=>l});var i=t(34541),o=t(42205),n=t(16634);async function l(e){let{accent_color:a,text_color:t,page_background:n,container_background:l,link_social_color:r,link_footer_color:s,heading_font:c,body_font:u,hasGotStyling:d}=(0,o.J)();if(!d.value)try{let o=await i.e.post("/askai/project/get_style_config",{domain:e});a.value=o.accent_color,t.value=o.text_color,n.value=o.page_background,l.value=o.container_background,r.value=o.link_social_color,s.value=o.link_footer_color,c.value=o.heading_font,u.value=o.body_font,d.value=!0}catch(e){console.warn(e)}}async function r(e){let{accent_color:a,text_color:t,page_background:l,container_background:r,link_social_color:s,link_footer_color:c,heading_font:u,body_font:d}=(0,o.J)();try{await i.e.post("/askai/project/modify_style_config",{domain:e,accent_color:a.value,text_color:t.value,page_background:l.value,container_background:r.value,link_social_color:s.value,link_footer_color:c.value,heading_font:u.value,body_font:d.value},n.uL)}catch(e){console.warn(e)}}},42205:function(e,a,t){t.d(a,{J:()=>l});var i=t(30989),o=t(58786);let n=(0,i.Q_)("editDomainStore",()=>{let e=(0,o.iH)(!1),a=(0,o.iH)(""),t=(0,o.iH)(""),i=(0,o.iH)("0"),n=(0,o.iH)("B"),l=(0,o.iH)(0),r=(0,o.iH)(""),s=(0,o.iH)(["https://"]),c=(0,o.iH)(!1),u=(0,o.iH)(),d=(0,o.iH)(!1),v=(0,o.iH)(!1),p=(0,o.iH)(""),m=(0,o.iH)(""),g=(0,o.iH)(""),f=(0,o.iH)(""),h=(0,o.iH)(""),b=(0,o.iH)(""),_=(0,o.iH)(""),y=(0,o.iH)([]),w=(0,o.iH)({title:"",content:"",kid:"",update_time:0}),k=(0,o.iH)(""),H=(0,o.iH)(""),C=(0,o.iH)(!1),S=(0,o.iH)(!1),j=(0,o.iH)(""),x=(0,o.iH)(!1),J=(0,o.iH)(""),P=(0,o.iH)(!1),D=(0,o.iH)(""),L=(0,o.iH)(""),B=(0,o.iH)(""),O=(0,o.iH)(""),Z=(0,o.iH)(""),z=(0,o.iH)(""),M=(0,o.iH)(!1),U=(0,o.iH)(""),I=(0,o.iH)(""),F=(0,o.iH)(""),R=(0,o.iH)(""),$=(0,o.iH)(""),W=(0,o.iH)(""),E=(0,o.iH)(""),V=(0,o.iH)(""),K=(0,o.iH)(!1),T=(0,o.iH)([{title:"",uri_path:""}]),q=(0,o.iH)(!1),A=(0,o.iH)(""),Q=(0,o.iH)("");return{hasGotDomainConfiguration:e,domainTit:a,domainIp:t,quota:i,unit:n,mailboxes:l,catch_email:r,urls:s,brandInfo:c,waitAndCheckDomainStatusRef:u,createdBrandInfo:d,hasGotProjectDetail:v,domain:p,description:m,favicon:g,industry:f,primary_logo:h,project_name:b,secondary_logo:_,knowledge_base:y,activeKnowledge:w,knowledgeTitle:k,knowledgeContent:H,knowledgeModalShow:C,isEditKnowledge:S,knowledge_base_content:j,knowledgeBasePreview:x,knowledgeBasePreviewTit:J,hasGotCompanyProfile:P,legal_company_name:D,web_site:L,company_profile:B,email:O,phone:Z,support_url:z,hasGotStyling:M,accent_color:U,text_color:I,page_background:F,container_background:R,link_social_color:$,link_footer_color:W,heading_font:E,body_font:V,hasGotSitemap:K,sitemap:T,hasGotFootersettings:q,copyright_text:A,disclaimer:Q,hasGotAisettings:(0,o.iH)(!1),prompt:(0,o.iH)("")}});function l(){let e=n();return{...(0,i.Jk)(e)}}},41123:function(e,a,t){t.r(a),t.d(a,{default:()=>j});var i=t(15496),o=t(20099),n=t(66236),l=t(70958),r=t(58786),s=t(65965),c=t(54686),u=t(6430),d=t(16634),v=t(17559),p=t(34541),m=t(42205);async function g(e){let{heading_font:a,body_font:t}=(0,m.J)();try{await p.e.post("/askai/project/modify_style_config",{domain:e,heading_font:a.value,body_font:t.value})}catch(e){console.warn(e)}}var f=t(65539);async function h(e){let{prompt:a}=(0,m.J)();try{let t=await p.e.post("/askai/project/modify_prompt",{domain:e,prompt:a.value},d.uL);a.value=t.prompt}catch(e){console.warn(e)}}var b=t(68271),_=t(52495);let y={class:"wrapper"},w={class:"content-tabs"},k=["onClick"],H={class:"dynamic-content"},C={key:0,class:"footer-tool"},S=(0,r.aZ)({__name:"index",setup(e){let{createdBrandInfo:a}=(0,m.J)(),p=(0,r.RC)(()=>Promise.all([t.e("9602"),t.e("5293"),t.e("579"),t.e("69"),t.e("3354"),t.e("9372"),t.e("6061"),t.e("9780"),t.e("6096"),t.e("9097"),t.e("6928")]).then(t.bind(t,64136))),S=(0,r.RC)(()=>Promise.all([t.e("9602"),t.e("5293"),t.e("579"),t.e("9372"),t.e("6061"),t.e("37"),t.e("6463")]).then(t.bind(t,48936))),j=(0,r.RC)(()=>Promise.all([t.e("9602"),t.e("9372"),t.e("7704")]).then(t.bind(t,8024))),x=(0,r.RC)(()=>Promise.all([t.e("9602"),t.e("5293"),t.e("9372"),t.e("5867"),t.e("3324")]).then(t.bind(t,52945))),J=(0,r.RC)(()=>Promise.all([t.e("9602"),t.e("8813")]).then(t.bind(t,85303))),P=(0,r.RC)(()=>Promise.all([t.e("9602"),t.e("9372"),t.e("9234")]).then(t.bind(t,93015))),{t:D}=(0,_.QT)(),L=(0,r.iH)(["Domain Configuration","Project Details","Company Profile","Styling","Sitemap","Footer Settings"]),B=(0,r.iH)("Domain Configuration"),O=new Map([["Domain Configuration",p],["Project Details",S],["Company Profile",j],["Styling",x],["Sitemap",J],["Footer Settings",P]]),Z=(0,s.yj)().params.domain;function z(){switch(B.value){case"Domain Configuration":(0,c.gK)();break;case"Project Details":(0,u.Sg)(Z);break;case"Company Profile":(0,d.mL)(Z);break;case"Styling":(0,v.I)(Z);break;case"Typography":g(Z);break;case"Sitemap":break;case"Footer Settings":(0,f.v)(Z);break;case"AI Settings":h(Z)}}return(0,s.iS)(c.VP),(e,t)=>{let s=(0,r.up)("router-link"),c=l.Z,u=n.ZP,d=o.Z,v=i.ZP;return(0,r.wg)(),(0,r.iD)("div",y,[(0,r.Wm)(u,{class:"mb-20px"},{default:(0,r.w5)(()=>[(0,r.Wm)(c,null,{default:(0,r.w5)(()=>[(0,r.Wm)(s,{to:"/domain"},{default:(0,r.w5)(()=>[(0,r.Uk)((0,r.zw)(e.$t("domain.edit.breadcrumb.domain")),1)]),_:1})]),_:1}),(0,r.Wm)(c,null,{default:(0,r.w5)(()=>[(0,r.Uk)((0,r.zw)((0,r.SU)(Z)),1)]),_:1}),(0,r.Wm)(c,null,{default:(0,r.w5)(()=>[(0,r.Uk)((0,r.zw)(e.$t("domain.edit.breadcrumb.editDomain")),1)]),_:1})]),_:1}),(0,r._)("div",w,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)((0,r.SU)(L),(e,t)=>((0,r.wg)(),(0,r.iD)("div",{key:t,class:(0,r.C_)(["tab-item",{active:(0,r.SU)(B)==e}]),onClick:t=>{"Domain Configuration"==e||a.value?B.value=e:b.v0.info(D("domain.edit.common.noBrandInfo"))}},[(0,r._)("span",null,(0,r.zw)(D({"Domain Configuration":"domain.edit.tabs.domainConfiguration","Project Details":"domain.edit.tabs.projectDetails","Company Profile":"domain.edit.tabs.companyProfile",Styling:"domain.edit.tabs.styling",Sitemap:"domain.edit.tabs.sitemap","Footer Settings":"domain.edit.tabs.footerSettings","AI Settings":"domain.edit.tabs.aiSettings"}[e]||e)),1)],10,k))),128))]),(0,r._)("div",H,[(0,r.Wm)(d,{style:{height:"100%"}},{default:(0,r.w5)(()=>[((0,r.wg)(),(0,r.j4)((0,r.LL)((0,r.SU)(O).get((0,r.SU)(B)))))]),_:1})]),["Domain Configuration","Sitemap"].includes((0,r.SU)(B))?(0,r.kq)("",!0):((0,r.wg)(),(0,r.iD)("div",C,[(0,r.Wm)(v,{type:"primary",onClick:z},{icon:(0,r.w5)(()=>t[0]||(t[0]=[(0,r._)("i",{class:"i-mingcute:save-2-line text-5"},null,-1)])),default:(0,r.w5)(()=>[(0,r.Uk)(" "+(0,r.zw)(e.$t("domain.edit.save")),1)]),_:1})]))])}}}),j=(0,t(41748).default)(S,[["__scopeId","data-v-25dcc830"]])}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/8775.8c37b635.js b/core/public/dist/static/js/async/8775.8c37b635.jsdeleted file mode 100644index 8d2860ee..00000000--- a/core/public/dist/static/js/async/8775.8c37b635.js+++ /dev/null@@ -1,165 +0,0 @@-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["8775"],{82822:function(e,r,o){o.d(r,{Z:()=>l});var t=o(21452),n=o(32398);let l=function(e){return"number"==typeof e||(0,n.Z)(e)&&"[object Number]"==(0,t.Z)(e)}},65977:function(e,r,o){o.d(r,{Z:()=>n});var t=o(58786);let n=(0,t.aZ)({name:"Add",render:()=>(0,t.h)("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.h)("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))})},99321:function(e,r,o){o.d(r,{Z:()=>k});var t=o(65083),n=o(58786),l=o(77565),i=o(1183),s=o(96823),a=o(87075),c=o(52317),d=o(64812),h=o(62198),b=o(56946),p=o(54470),v=o(53198),u=o(51048),g=o(71309),m=o(93950),f=o(19595),x=o(9798),C=o(18877);let z={name:"Alert",common:x.Z,self:function(e){let{lineHeight:r,borderRadius:o,fontWeightStrong:t,baseColor:n,dividerColor:l,actionColor:i,textColor1:s,textColor2:a,closeColorHover:c,closeColorPressed:d,closeIconColor:h,closeIconColorHover:b,closeIconColorPressed:p,infoColor:v,successColor:u,warningColor:g,errorColor:m,fontSize:x}=e;return Object.assign(Object.assign({},C.Z),{fontSize:x,lineHeight:r,titleFontWeight:t,borderRadius:o,border:`1px solid ${l}`,color:i,titleTextColor:s,iconColor:a,contentTextColor:a,closeBorderRadius:o,closeColorHover:c,closeColorPressed:d,closeIconColor:h,closeIconColorHover:b,closeIconColorPressed:p,borderInfo:`1px solid ${(0,f.h$)(n,(0,f.zX)(v,{alpha:.25}))}`,colorInfo:(0,f.h$)(n,(0,f.zX)(v,{alpha:.08})),titleTextColorInfo:s,iconColorInfo:v,contentTextColorInfo:a,closeColorHoverInfo:c,closeColorPressedInfo:d,closeIconColorInfo:h,closeIconColorHoverInfo:b,closeIconColorPressedInfo:p,borderSuccess:`1px solid ${(0,f.h$)(n,(0,f.zX)(u,{alpha:.25}))}`,colorSuccess:(0,f.h$)(n,(0,f.zX)(u,{alpha:.08})),titleTextColorSuccess:s,iconColorSuccess:u,contentTextColorSuccess:a,closeColorHoverSuccess:c,closeColorPressedSuccess:d,closeIconColorSuccess:h,closeIconColorHoverSuccess:b,closeIconColorPressedSuccess:p,borderWarning:`1px solid ${(0,f.h$)(n,(0,f.zX)(g,{alpha:.33}))}`,colorWarning:(0,f.h$)(n,(0,f.zX)(g,{alpha:.08})),titleTextColorWarning:s,iconColorWarning:g,contentTextColorWarning:a,closeColorHoverWarning:c,closeColorPressedWarning:d,closeIconColorWarning:h,closeIconColorHoverWarning:b,closeIconColorPressedWarning:p,borderError:`1px solid ${(0,f.h$)(n,(0,f.zX)(m,{alpha:.25}))}`,colorError:(0,f.h$)(n,(0,f.zX)(m,{alpha:.08})),titleTextColorError:s,iconColorError:m,contentTextColorError:a,closeColorHoverError:c,closeColorPressedError:d,closeIconColorError:h,closeIconColorHoverError:b,closeIconColorPressedError:p})}};var y=o(74482);let $=(0,g.cB)("alert",`- line-height: var(--n-line-height);- border-radius: var(--n-border-radius);- position: relative;- transition: background-color .3s var(--n-bezier);- background-color: var(--n-color);- text-align: start;- word-break: break-word;-`,[(0,g.cE)("border",`- border-radius: inherit;- position: absolute;- left: 0;- right: 0;- top: 0;- bottom: 0;- transition: border-color .3s var(--n-bezier);- border: var(--n-border);- pointer-events: none;- `),(0,g.cM)("closable",[(0,g.cB)("alert-body",[(0,g.cE)("title",`- padding-right: 24px;- `)])]),(0,g.cE)("icon",{color:"var(--n-icon-color)"}),(0,g.cB)("alert-body",{padding:"var(--n-padding)"},[(0,g.cE)("title",{color:"var(--n-title-text-color)"}),(0,g.cE)("content",{color:"var(--n-content-text-color)"})]),(0,y.Y)({originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.9)"}}),(0,g.cE)("icon",`- position: absolute;- left: 0;- top: 0;- align-items: center;- justify-content: center;- display: flex;- width: var(--n-icon-size);- height: var(--n-icon-size);- font-size: var(--n-icon-size);- margin: var(--n-icon-margin);- `),(0,g.cE)("close",`- transition:- color .3s var(--n-bezier),- background-color .3s var(--n-bezier);- position: absolute;- right: 0;- top: 0;- margin: var(--n-close-margin);- `),(0,g.cM)("show-icon",[(0,g.cB)("alert-body",{paddingLeft:"calc(var(--n-icon-margin-left) + var(--n-icon-size) + var(--n-icon-margin-right))"})]),(0,g.cM)("right-adjust",[(0,g.cB)("alert-body",{paddingRight:"calc(var(--n-close-size) + var(--n-padding) + 2px)"})]),(0,g.cB)("alert-body",`- border-radius: var(--n-border-radius);- transition: border-color .3s var(--n-bezier);- `,[(0,g.cE)("title",`- transition: color .3s var(--n-bezier);- font-size: 16px;- line-height: 19px;- font-weight: var(--n-title-font-weight);- `,[(0,g.c)("& +",[(0,g.cE)("content",{marginTop:"9px"})])]),(0,g.cE)("content",{transition:"color .3s var(--n-bezier)",fontSize:"var(--n-font-size)"})]),(0,g.cE)("icon",{transition:"color .3s var(--n-bezier)"})]),w=Object.assign(Object.assign({},b.Z.props),{title:String,showIcon:{type:Boolean,default:!0},type:{type:String,default:"default"},bordered:{type:Boolean,default:!0},closable:Boolean,onClose:Function,onAfterLeave:Function,onAfterHide:Function}),k=(0,n.aZ)({name:"Alert",inheritAttrs:!1,props:w,slots:Object,setup(e){let{mergedClsPrefixRef:r,mergedBorderedRef:o,inlineThemeDisabled:l,mergedRtlRef:i}=(0,p.ZP)(e),s=(0,b.Z)("Alert","-alert",$,z,e,r),a=(0,u.V)("Alert",i,r),c=(0,n.Fl)(()=>{let{common:{cubicBezierEaseInOut:r},self:o}=s.value,{fontSize:n,borderRadius:l,titleFontWeight:i,lineHeight:a,iconSize:c,iconMargin:d,iconMarginRtl:h,closeIconSize:b,closeBorderRadius:p,closeSize:v,closeMargin:u,closeMarginRtl:m,padding:f}=o,{type:x}=e,{left:C,right:z}=(0,t.mH)(d);return{"--n-bezier":r,"--n-color":o[(0,g.Tl)("color",x)],"--n-close-icon-size":b,"--n-close-border-radius":p,"--n-close-color-hover":o[(0,g.Tl)("closeColorHover",x)],"--n-close-color-pressed":o[(0,g.Tl)("closeColorPressed",x)],"--n-close-icon-color":o[(0,g.Tl)("closeIconColor",x)],"--n-close-icon-color-hover":o[(0,g.Tl)("closeIconColorHover",x)],"--n-close-icon-color-pressed":o[(0,g.Tl)("closeIconColorPressed",x)],"--n-icon-color":o[(0,g.Tl)("iconColor",x)],"--n-border":o[(0,g.Tl)("border",x)],"--n-title-text-color":o[(0,g.Tl)("titleTextColor",x)],"--n-content-text-color":o[(0,g.Tl)("contentTextColor",x)],"--n-line-height":a,"--n-border-radius":l,"--n-font-size":n,"--n-title-font-weight":i,"--n-icon-size":c,"--n-icon-margin":d,"--n-icon-margin-rtl":h,"--n-close-size":v,"--n-close-margin":u,"--n-close-margin-rtl":m,"--n-padding":f,"--n-icon-margin-left":C,"--n-icon-margin-right":z}}),d=l?(0,v.F)("alert",(0,n.Fl)(()=>e.type[0]),c,e):void 0,h=(0,n.iH)(!0),m=()=>{let{onAfterLeave:r,onAfterHide:o}=e;r&&r(),o&&o()};return{rtlEnabled:a,mergedClsPrefix:r,mergedBordered:o,visible:h,handleCloseClick:()=>{var r;Promise.resolve(null==(r=e.onClose)?void 0:r.call(e)).then(e=>{!1!==e&&(h.value=!1)})},handleAfterLeave:()=>{m()},mergedTheme:s,cssVars:l?void 0:c,themeClass:null==d?void 0:d.themeClass,onRender:null==d?void 0:d.onRender}},render(){var e;return null==(e=this.onRender)||e.call(this),(0,n.h)(l.Z,{onAfterLeave:this.handleAfterLeave},{default:()=>{let{mergedClsPrefix:e,$slots:r}=this,o={class:[`${e}-alert`,this.themeClass,this.closable&&`${e}-alert--closable`,this.showIcon&&`${e}-alert--show-icon`,!this.title&&this.closable&&`${e}-alert--right-adjust`,this.rtlEnabled&&`${e}-alert--rtl`],style:this.cssVars,role:"alert"};return this.visible?(0,n.h)("div",Object.assign({},(0,n.dG)(this.$attrs,o)),this.closable&&(0,n.h)(i.Z,{clsPrefix:e,class:`${e}-alert__close`,onClick:this.handleCloseClick}),this.bordered&&(0,n.h)("div",{class:`${e}-alert__border`}),this.showIcon&&(0,n.h)("div",{class:`${e}-alert__icon`,"aria-hidden":"true"},(0,m.gI)(r.icon,()=>[(0,n.h)(s.Z,{clsPrefix:e},{default:()=>{switch(this.type){case"success":return(0,n.h)(a.Z,null);case"info":return(0,n.h)(c.Z,null);case"warning":return(0,n.h)(d.Z,null);case"error":return(0,n.h)(h.Z,null);default:return null}}})])),(0,n.h)("div",{class:[`${e}-alert-body`,this.mergedBordered&&`${e}-alert-body--bordered`]},(0,m.K9)(r.header,r=>{let o=r||this.title;return o?(0,n.h)("div",{class:`${e}-alert-body__title`},o):null}),r.default&&(0,n.h)("div",{class:`${e}-alert-body__content`},r))):null}})}})},93953:function(e,r,o){o.d(r,{Z:()=>v});var t=o(65083),n=o(58786),l=o(56946),i=o(54470),s=o(51048),a=o(71309),c=o(60951),d=o(6445),h=o(73238);let b={name:"Flex",self:function(){return h.Z}},p=Object.assign(Object.assign({},l.Z.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrap:{type:Boolean,default:!0}}),v=(0,n.aZ)({name:"Flex",props:p,setup(e){let{mergedClsPrefixRef:r,mergedRtlRef:o}=(0,i.ZP)(e),c=(0,l.Z)("Flex","-flex",void 0,b,e,r);return{rtlEnabled:(0,s.V)("Flex",o,r),mergedClsPrefix:r,margin:(0,n.Fl)(()=>{let{size:r}=e;if(Array.isArray(r))return{horizontal:r[0],vertical:r[1]};if("number"==typeof r)return{horizontal:r,vertical:r};let{self:{[(0,a.Tl)("gap",r)]:o}}=c.value,{row:n,col:l}=(0,t.yU)(o);return{horizontal:(0,t.fQ)(l),vertical:(0,t.fQ)(n)}})}},render(){let{vertical:e,reverse:r,align:o,inline:t,justify:l,margin:i,wrap:s,mergedClsPrefix:a,rtlEnabled:h}=this,b=(0,c.x)((0,d.z)(this),!1);return b.length?(0,n.h)("div",{role:"none",class:[`${a}-flex`,h&&`${a}-flex--rtl`],style:{display:t?"inline-flex":"flex",flexDirection:e&&!r?"column":e&&r?"column-reverse":!e&&r?"row-reverse":"row",justifyContent:l,flexWrap:!s||e?"nowrap":"wrap",alignItems:o,gap:`${i.vertical}px ${i.horizontal}px`}},b):null}})},60579:function(e,r,o){o.d(r,{Z:()=>g});var t=o(65083),n=o(23125),l=o(58786),i=o(62594),s=o(56946),a=o(54470),c=o(53198),d=o(71309),h=o(53573),b=o(66480);let p=(0,d.c)([(0,d.c)("@keyframes spin-rotate",`- from {- transform: rotate(0);- }- to {- transform: rotate(360deg);- }- `),(0,d.cB)("spin-container",`- position: relative;- `,[(0,d.cB)("spin-body",`- position: absolute;- top: 50%;- left: 50%;- transform: translateX(-50%) translateY(-50%);- `,[(0,b.h)()])]),(0,d.cB)("spin-body",`- display: inline-flex;- align-items: center;- justify-content: center;- flex-direction: column;- `),(0,d.cB)("spin",`- display: inline-flex;- height: var(--n-size);- width: var(--n-size);- font-size: var(--n-size);- color: var(--n-color);- `,[(0,d.cM)("rotate",`- animation: spin-rotate 2s linear infinite;- `)]),(0,d.cB)("spin-description",`- display: inline-block;- font-size: var(--n-font-size);- color: var(--n-text-color);- transition: color .3s var(--n-bezier);- margin-top: 8px;- `),(0,d.cB)("spin-content",`- opacity: 1;- transition: opacity .3s var(--n-bezier);- pointer-events: all;- `,[(0,d.cM)("spinning",`- user-select: none;- -webkit-user-select: none;- pointer-events: none;- opacity: var(--n-opacity-spinning);- `)])]),v={small:20,medium:18,large:16},u=Object.assign(Object.assign({},s.Z.props),{contentClass:String,contentStyle:[Object,String],description:String,stroke:String,size:{type:[String,Number],default:"medium"},show:{type:Boolean,default:!0},strokeWidth:Number,rotate:{type:Boolean,default:!0},spinning:{type:Boolean,validator:()=>!0,default:void 0},delay:Number}),g=(0,l.aZ)({name:"Spin",props:u,slots:Object,setup(e){let{mergedClsPrefixRef:r,inlineThemeDisabled:o}=(0,a.ZP)(e),i=(0,s.Z)("Spin","-spin",p,h.Z,e,r),b=(0,l.Fl)(()=>{let{size:r}=e,{common:{cubicBezierEaseInOut:o},self:n}=i.value,{opacitySpinning:l,color:s,textColor:a}=n;return{"--n-bezier":o,"--n-opacity-spinning":l,"--n-size":"number"==typeof r?(0,t.BL)(r):n[(0,d.Tl)("size",r)],"--n-color":s,"--n-text-color":a}}),u=o?(0,c.F)("spin",(0,l.Fl)(()=>{let{size:r}=e;return"number"==typeof r?String(r):r[0]}),b,e):void 0,g=(0,n.Z)(e,["spinning","show"]),m=(0,l.iH)(!1);return(0,l.m0)(r=>{let o;if(g.value){let{delay:t}=e;if(t){o=window.setTimeout(()=>{m.value=!0},t),r(()=>{clearTimeout(o)});return}}m.value=g.value}),{mergedClsPrefix:r,active:m,mergedStrokeWidth:(0,l.Fl)(()=>{let{strokeWidth:r}=e;if(void 0!==r)return r;let{size:o}=e;return v["number"==typeof o?"medium":o]}),cssVars:o?void 0:b,themeClass:null==u?void 0:u.themeClass,onRender:null==u?void 0:u.onRender}},render(){var e,r;let{$slots:o,mergedClsPrefix:t,description:n}=this,s=o.icon&&this.rotate,a=(n||o.description)&&(0,l.h)("div",{class:`${t}-spin-description`},n||(null==(e=o.description)?void 0:e.call(o))),c=o.icon?(0,l.h)("div",{class:[`${t}-spin-body`,this.themeClass]},(0,l.h)("div",{class:[`${t}-spin`,s&&`${t}-spin--rotate`],style:o.default?"":this.cssVars},o.icon()),a):(0,l.h)("div",{class:[`${t}-spin-body`,this.themeClass]},(0,l.h)(i.Z,{clsPrefix:t,style:o.default?"":this.cssVars,stroke:this.stroke,"stroke-width":this.mergedStrokeWidth,class:`${t}-spin`}),a);return null==(r=this.onRender)||r.call(this),o.default?(0,l.h)("div",{class:[`${t}-spin-container`,this.themeClass],style:this.cssVars},(0,l.h)("div",{class:[`${t}-spin-content`,this.active&&`${t}-spin-content--spinning`,this.contentClass],style:this.contentStyle},o),(0,l.h)(l.uT,{name:"fade-in-transition"},{default:()=>this.active?c:null})):c}})},50039:function(e,r,o){o.d(r,{Z:()=>b});var t=o(58786),n=o(56946),l=o(54470),i=o(53198),s=o(51048),a=o(71309),c=o(91078);let d=(0,a.c)([(0,a.cB)("table",`- font-size: var(--n-font-size);- font-variant-numeric: tabular-nums;- line-height: var(--n-line-height);- width: 100%;- border-radius: var(--n-border-radius) var(--n-border-radius) 0 0;- text-align: left;- border-collapse: separate;- border-spacing: 0;- overflow: hidden;- background-color: var(--n-td-color);- border-color: var(--n-merged-border-color);- transition:- background-color .3s var(--n-bezier),- border-color .3s var(--n-bezier),- color .3s var(--n-bezier);- --n-merged-border-color: var(--n-border-color);- `,[(0,a.c)("th",`- white-space: nowrap;- transition:- background-color .3s var(--n-bezier),- border-color .3s var(--n-bezier),- color .3s var(--n-bezier);- text-align: inherit;- padding: var(--n-th-padding);- vertical-align: inherit;- text-transform: none;- border: 0px solid var(--n-merged-border-color);- font-weight: var(--n-th-font-weight);- color: var(--n-th-text-color);- background-color: var(--n-th-color);- border-bottom: 1px solid var(--n-merged-border-color);- border-right: 1px solid var(--n-merged-border-color);- `,[(0,a.c)("&:last-child",`- border-right: 0px solid var(--n-merged-border-color);- `)]),(0,a.c)("td",`- transition:- background-color .3s var(--n-bezier),- border-color .3s var(--n-bezier),- color .3s var(--n-bezier);- padding: var(--n-td-padding);- color: var(--n-td-text-color);- background-color: var(--n-td-color);- border: 0px solid var(--n-merged-border-color);- border-right: 1px solid var(--n-merged-border-color);- border-bottom: 1px solid var(--n-merged-border-color);- `,[(0,a.c)("&:last-child",`- border-right: 0px solid var(--n-merged-border-color);- `)]),(0,a.cM)("bordered",`- border: 1px solid var(--n-merged-border-color);- border-radius: var(--n-border-radius);- `,[(0,a.c)("tr",[(0,a.c)("&:last-child",[(0,a.c)("td",`- border-bottom: 0 solid var(--n-merged-border-color);- `)])])]),(0,a.cM)("single-line",[(0,a.c)("th",`- border-right: 0px solid var(--n-merged-border-color);- `),(0,a.c)("td",`- border-right: 0px solid var(--n-merged-border-color);- `)]),(0,a.cM)("single-column",[(0,a.c)("tr",[(0,a.c)("&:not(:last-child)",[(0,a.c)("td",`- border-bottom: 0px solid var(--n-merged-border-color);- `)])])]),(0,a.cM)("striped",[(0,a.c)("tr:nth-of-type(even)",[(0,a.c)("td","background-color: var(--n-td-color-striped)")])]),(0,a.u4)("bottom-bordered",[(0,a.c)("tr",[(0,a.c)("&:last-child",[(0,a.c)("td",`- border-bottom: 0px solid var(--n-merged-border-color);- `)])])])]),(0,a.ko)((0,a.cB)("table",`- background-color: var(--n-td-color-modal);- --n-merged-border-color: var(--n-border-color-modal);- `,[(0,a.c)("th",`- background-color: var(--n-th-color-modal);- `),(0,a.c)("td",`- background-color: var(--n-td-color-modal);- `)])),(0,a.WW)((0,a.cB)("table",`- background-color: var(--n-td-color-popover);- --n-merged-border-color: var(--n-border-color-popover);- `,[(0,a.c)("th",`- background-color: var(--n-th-color-popover);- `),(0,a.c)("td",`- background-color: var(--n-td-color-popover);- `)]))]),h=Object.assign(Object.assign({},n.Z.props),{bordered:{type:Boolean,default:!0},bottomBordered:{type:Boolean,default:!0},singleLine:{type:Boolean,default:!0},striped:Boolean,singleColumn:Boolean,size:{type:String,default:"medium"}}),b=(0,t.aZ)({name:"Table",props:h,setup(e){let{mergedClsPrefixRef:r,inlineThemeDisabled:o,mergedRtlRef:h}=(0,l.ZP)(e),b=(0,n.Z)("Table","-table",d,c.Z,e,r),p=(0,s.V)("Table",h,r),v=(0,t.Fl)(()=>{let{size:r}=e,{self:{borderColor:o,tdColor:t,tdColorModal:n,tdColorPopover:l,thColor:i,thColorModal:s,thColorPopover:c,thTextColor:d,tdTextColor:h,borderRadius:p,thFontWeight:v,lineHeight:u,borderColorModal:g,borderColorPopover:m,tdColorStriped:f,tdColorStripedModal:x,tdColorStripedPopover:C,[(0,a.Tl)("fontSize",r)]:z,[(0,a.Tl)("tdPadding",r)]:y,[(0,a.Tl)("thPadding",r)]:$},common:{cubicBezierEaseInOut:w}}=b.value;return{"--n-bezier":w,"--n-td-color":t,"--n-td-color-modal":n,"--n-td-color-popover":l,"--n-td-text-color":h,"--n-border-color":o,"--n-border-color-modal":g,"--n-border-color-popover":m,"--n-border-radius":p,"--n-font-size":z,"--n-th-color":i,"--n-th-color-modal":s,"--n-th-color-popover":c,"--n-th-font-weight":v,"--n-th-text-color":d,"--n-line-height":u,"--n-td-padding":y,"--n-th-padding":$,"--n-td-color-striped":f,"--n-td-color-striped-modal":x,"--n-td-color-striped-popover":C}}),u=o?(0,i.F)("table",(0,t.Fl)(()=>e.size[0]),v,e):void 0;return{rtlEnabled:p,mergedClsPrefix:r,cssVars:o?void 0:v,themeClass:null==u?void 0:u.themeClass,onRender:null==u?void 0:u.onRender}},render(){var e;let{mergedClsPrefix:r}=this;return null==(e=this.onRender)||e.call(this),(0,t.h)("table",{class:[`${r}-table`,this.themeClass,{[`${r}-table--rtl`]:this.rtlEnabled,[`${r}-table--bottom-bordered`]:this.bottomBordered,[`${r}-table--bordered`]:this.bordered,[`${r}-table--single-line`]:this.singleLine,[`${r}-table--single-column`]:this.singleColumn,[`${r}-table--striped`]:this.striped}],style:this.cssVars},this.$slots)}})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/8943.81a21695.js b/core/public/dist/static/js/async/8943.81a21695.jsnew file mode 100644index 00000000..5e54bae8--- /dev/null+++ b/core/public/dist/static/js/async/8943.81a21695.js@@ -0,0 +1,199 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["8943"],{65977:function(e,t,i){i.d(t,{Z:()=>o});var r=i(58786);let o=(0,r.aZ)({name:"Add",render:()=>(0,r.h)("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.h)("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))})},60309:function(e,t,i){i.d(t,{L:()=>r});function r(e,t){if(!e)return;let i=document.createElement("a");i.href=e,void 0!==t&&(i.download=t),document.body.appendChild(i),i.click(),document.body.removeChild(i)}},79537:function(e,t,i){i.d(t,{Z:()=>l});var r=i(58786),o=i(54470),n=i(27046),a=i(71309);let s=(0,a.cB)("input-group",`+ display: inline-flex;+ width: 100%;+ flex-wrap: nowrap;+ vertical-align: bottom;+`,[(0,a.c)(">",[(0,a.cB)("input",[(0,a.c)("&:not(:last-child)",`+ border-top-right-radius: 0!important;+ border-bottom-right-radius: 0!important;+ `),(0,a.c)("&:not(:first-child)",`+ border-top-left-radius: 0!important;+ border-bottom-left-radius: 0!important;+ margin-left: -1px!important;+ `)]),(0,a.cB)("button",[(0,a.c)("&:not(:last-child)",`+ border-top-right-radius: 0!important;+ border-bottom-right-radius: 0!important;+ `,[(0,a.cE)("state-border, border",`+ border-top-right-radius: 0!important;+ border-bottom-right-radius: 0!important;+ `)]),(0,a.c)("&:not(:first-child)",`+ border-top-left-radius: 0!important;+ border-bottom-left-radius: 0!important;+ `,[(0,a.cE)("state-border, border",`+ border-top-left-radius: 0!important;+ border-bottom-left-radius: 0!important;+ `)])]),(0,a.c)("*",[(0,a.c)("&:not(:last-child)",`+ border-top-right-radius: 0!important;+ border-bottom-right-radius: 0!important;+ `,[(0,a.c)(">",[(0,a.cB)("input",`+ border-top-right-radius: 0!important;+ border-bottom-right-radius: 0!important;+ `),(0,a.cB)("base-selection",[(0,a.cB)("base-selection-label",`+ border-top-right-radius: 0!important;+ border-bottom-right-radius: 0!important;+ `),(0,a.cB)("base-selection-tags",`+ border-top-right-radius: 0!important;+ border-bottom-right-radius: 0!important;+ `),(0,a.cE)("box-shadow, border, state-border",`+ border-top-right-radius: 0!important;+ border-bottom-right-radius: 0!important;+ `)])])]),(0,a.c)("&:not(:first-child)",`+ margin-left: -1px!important;+ border-top-left-radius: 0!important;+ border-bottom-left-radius: 0!important;+ `,[(0,a.c)(">",[(0,a.cB)("input",`+ border-top-left-radius: 0!important;+ border-bottom-left-radius: 0!important;+ `),(0,a.cB)("base-selection",[(0,a.cB)("base-selection-label",`+ border-top-left-radius: 0!important;+ border-bottom-left-radius: 0!important;+ `),(0,a.cB)("base-selection-tags",`+ border-top-left-radius: 0!important;+ border-bottom-left-radius: 0!important;+ `),(0,a.cE)("box-shadow, border, state-border",`+ border-top-left-radius: 0!important;+ border-bottom-left-radius: 0!important;+ `)])])])])])]),l=(0,r.aZ)({name:"InputGroup",props:{},setup(e){let{mergedClsPrefixRef:t}=(0,o.ZP)(e);return(0,n.Z)("-input-group",s,t),{mergedClsPrefix:t}},render(){let{mergedClsPrefix:e}=this;return(0,r.h)("div",{class:`${e}-input-group`},this.$slots)}})},60579:function(e,t,i){i.d(t,{Z:()=>f});var r=i(65083),o=i(23125),n=i(58786),a=i(62594),s=i(56946),l=i(54470),d=i(53198),c=i(71309),u=i(53573),h=i(66480);let p=(0,c.c)([(0,c.c)("@keyframes spin-rotate",`+ from {+ transform: rotate(0);+ }+ to {+ transform: rotate(360deg);+ }+ `),(0,c.cB)("spin-container",`+ position: relative;+ `,[(0,c.cB)("spin-body",`+ position: absolute;+ top: 50%;+ left: 50%;+ transform: translateX(-50%) translateY(-50%);+ `,[(0,h.h)()])]),(0,c.cB)("spin-body",`+ display: inline-flex;+ align-items: center;+ justify-content: center;+ flex-direction: column;+ `),(0,c.cB)("spin",`+ display: inline-flex;+ height: var(--n-size);+ width: var(--n-size);+ font-size: var(--n-size);+ color: var(--n-color);+ `,[(0,c.cM)("rotate",`+ animation: spin-rotate 2s linear infinite;+ `)]),(0,c.cB)("spin-description",`+ display: inline-block;+ font-size: var(--n-font-size);+ color: var(--n-text-color);+ transition: color .3s var(--n-bezier);+ margin-top: 8px;+ `),(0,c.cB)("spin-content",`+ opacity: 1;+ transition: opacity .3s var(--n-bezier);+ pointer-events: all;+ `,[(0,c.cM)("spinning",`+ user-select: none;+ -webkit-user-select: none;+ pointer-events: none;+ opacity: var(--n-opacity-spinning);+ `)])]),b={small:20,medium:18,large:16},v=Object.assign(Object.assign({},s.Z.props),{contentClass:String,contentStyle:[Object,String],description:String,stroke:String,size:{type:[String,Number],default:"medium"},show:{type:Boolean,default:!0},strokeWidth:Number,rotate:{type:Boolean,default:!0},spinning:{type:Boolean,validator:()=>!0,default:void 0},delay:Number}),f=(0,n.aZ)({name:"Spin",props:v,slots:Object,setup(e){let{mergedClsPrefixRef:t,inlineThemeDisabled:i}=(0,l.ZP)(e),a=(0,s.Z)("Spin","-spin",p,u.Z,e,t),h=(0,n.Fl)(()=>{let{size:t}=e,{common:{cubicBezierEaseInOut:i},self:o}=a.value,{opacitySpinning:n,color:s,textColor:l}=o;return{"--n-bezier":i,"--n-opacity-spinning":n,"--n-size":"number"==typeof t?(0,r.BL)(t):o[(0,c.Tl)("size",t)],"--n-color":s,"--n-text-color":l}}),v=i?(0,d.F)("spin",(0,n.Fl)(()=>{let{size:t}=e;return"number"==typeof t?String(t):t[0]}),h,e):void 0,f=(0,o.Z)(e,["spinning","show"]),m=(0,n.iH)(!1);return(0,n.m0)(t=>{let i;if(f.value){let{delay:r}=e;if(r){i=window.setTimeout(()=>{m.value=!0},r),t(()=>{clearTimeout(i)});return}}m.value=f.value}),{mergedClsPrefix:t,active:m,mergedStrokeWidth:(0,n.Fl)(()=>{let{strokeWidth:t}=e;if(void 0!==t)return t;let{size:i}=e;return b["number"==typeof i?"medium":i]}),cssVars:i?void 0:h,themeClass:null==v?void 0:v.themeClass,onRender:null==v?void 0:v.onRender}},render(){var e,t;let{$slots:i,mergedClsPrefix:r,description:o}=this,s=i.icon&&this.rotate,l=(o||i.description)&&(0,n.h)("div",{class:`${r}-spin-description`},o||(null==(e=i.description)?void 0:e.call(i))),d=i.icon?(0,n.h)("div",{class:[`${r}-spin-body`,this.themeClass]},(0,n.h)("div",{class:[`${r}-spin`,s&&`${r}-spin--rotate`],style:i.default?"":this.cssVars},i.icon()),l):(0,n.h)("div",{class:[`${r}-spin-body`,this.themeClass]},(0,n.h)(a.Z,{clsPrefix:r,style:i.default?"":this.cssVars,stroke:this.stroke,"stroke-width":this.mergedStrokeWidth,class:`${r}-spin`}),l);return null==(t=this.onRender)||t.call(this),i.default?(0,n.h)("div",{class:[`${r}-spin-container`,this.themeClass],style:this.cssVars},(0,n.h)("div",{class:[`${r}-spin-content`,this.active&&`${r}-spin-content--spinning`,this.contentClass],style:this.contentStyle},i),(0,n.h)(n.uT,{name:"fade-in-transition"},{default:()=>this.active?d:null})):d}})},29875:function(e,t,i){let r;i.d(t,{Z:()=>B});var o=i(65083),n=i(20013),a=i(58786),s=i(76128),l=i(62594),d=i(56946),c=i(54470),u=i(32196),h=i(53198),p=i(44267),b=i(71309),v=i(93950),f=i(19595),m=i(9798),g=i(30951);let w={name:"Switch",common:m.Z,self:function(e){let{primaryColor:t,opacityDisabled:i,borderRadius:r,textColor3:o}=e;return Object.assign(Object.assign({},g.Z),{iconColor:o,textColor:"white",loadingColor:t,opacityDisabled:i,railColor:"rgba(0, 0, 0, .14)",railColorActive:t,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:r,railBorderRadiusMedium:r,railBorderRadiusLarge:r,buttonBorderRadiusSmall:r,buttonBorderRadiusMedium:r,buttonBorderRadiusLarge:r,boxShadowFocus:`0 0 0 2px ${(0,f.zX)(t,{alpha:.2})}`})}};var y=i(28632);let k=(0,b.cB)("switch",`+ height: var(--n-height);+ min-width: var(--n-width);+ vertical-align: middle;+ user-select: none;+ -webkit-user-select: none;+ display: inline-flex;+ outline: none;+ justify-content: center;+ align-items: center;+`,[(0,b.cE)("children-placeholder",`+ height: var(--n-rail-height);+ display: flex;+ flex-direction: column;+ overflow: hidden;+ pointer-events: none;+ visibility: hidden;+ `),(0,b.cE)("rail-placeholder",`+ display: flex;+ flex-wrap: none;+ `),(0,b.cE)("button-placeholder",`+ width: calc(1.75 * var(--n-rail-height));+ height: var(--n-rail-height);+ `),(0,b.cB)("base-loading",`+ position: absolute;+ top: 50%;+ left: 50%;+ transform: translateX(-50%) translateY(-50%);+ font-size: calc(var(--n-button-width) - 4px);+ color: var(--n-loading-color);+ transition: color .3s var(--n-bezier);+ `,[(0,y.c)({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),(0,b.cE)("checked, unchecked",`+ transition: color .3s var(--n-bezier);+ color: var(--n-text-color);+ box-sizing: border-box;+ position: absolute;+ white-space: nowrap;+ top: 0;+ bottom: 0;+ display: flex;+ align-items: center;+ line-height: 1;+ `),(0,b.cE)("checked",`+ right: 0;+ padding-right: calc(1.25 * var(--n-rail-height) - var(--n-offset));+ `),(0,b.cE)("unchecked",`+ left: 0;+ justify-content: flex-end;+ padding-left: calc(1.25 * var(--n-rail-height) - var(--n-offset));+ `),(0,b.c)("&:focus",[(0,b.cE)("rail",`+ box-shadow: var(--n-box-shadow-focus);+ `)]),(0,b.cM)("round",[(0,b.cE)("rail","border-radius: calc(var(--n-rail-height) / 2);",[(0,b.cE)("button","border-radius: calc(var(--n-button-height) / 2);")])]),(0,b.u4)("disabled",[(0,b.u4)("icon",[(0,b.cM)("rubber-band",[(0,b.cM)("pressed",[(0,b.cE)("rail",[(0,b.cE)("button","max-width: var(--n-button-width-pressed);")])]),(0,b.cE)("rail",[(0,b.c)("&:active",[(0,b.cE)("button","max-width: var(--n-button-width-pressed);")])]),(0,b.cM)("active",[(0,b.cM)("pressed",[(0,b.cE)("rail",[(0,b.cE)("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),(0,b.cE)("rail",[(0,b.c)("&:active",[(0,b.cE)("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),(0,b.cM)("active",[(0,b.cE)("rail",[(0,b.cE)("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),(0,b.cE)("rail",`+ overflow: hidden;+ height: var(--n-rail-height);+ min-width: var(--n-rail-width);+ border-radius: var(--n-rail-border-radius);+ cursor: pointer;+ position: relative;+ transition:+ opacity .3s var(--n-bezier),+ background .3s var(--n-bezier),+ box-shadow .3s var(--n-bezier);+ background-color: var(--n-rail-color);+ `,[(0,b.cE)("button-icon",`+ color: var(--n-icon-color);+ transition: color .3s var(--n-bezier);+ font-size: calc(var(--n-button-height) - 4px);+ position: absolute;+ left: 0;+ right: 0;+ top: 0;+ bottom: 0;+ display: flex;+ justify-content: center;+ align-items: center;+ line-height: 1;+ `,[(0,y.c)()]),(0,b.cE)("button",`+ align-items: center;+ top: var(--n-offset);+ left: var(--n-offset);+ height: var(--n-button-height);+ width: var(--n-button-width-pressed);+ max-width: var(--n-button-width);+ border-radius: var(--n-button-border-radius);+ background-color: var(--n-button-color);+ box-shadow: var(--n-button-box-shadow);+ box-sizing: border-box;+ cursor: inherit;+ content: "";+ position: absolute;+ transition:+ background-color .3s var(--n-bezier),+ left .3s var(--n-bezier),+ opacity .3s var(--n-bezier),+ max-width .3s var(--n-bezier),+ box-shadow .3s var(--n-bezier);+ `)]),(0,b.cM)("active",[(0,b.cE)("rail","background-color: var(--n-rail-color-active);")]),(0,b.cM)("loading",[(0,b.cE)("rail",`+ cursor: wait;+ `)]),(0,b.cM)("disabled",[(0,b.cE)("rail",`+ cursor: not-allowed;+ opacity: .5;+ `)])]),x=Object.assign(Object.assign({},d.Z.props),{size:{type:String,default:"medium"},value:{type:[String,Number,Boolean],default:void 0},loading:Boolean,defaultValue:{type:[String,Number,Boolean],default:!1},disabled:{type:Boolean,default:void 0},round:{type:Boolean,default:!0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},railStyle:Function,rubberBand:{type:Boolean,default:!0},onChange:[Function,Array]}),B=(0,a.aZ)({name:"Switch",props:x,slots:Object,setup(e){void 0===r&&(r="undefined"==typeof CSS||void 0!==CSS.supports&&CSS.supports("width","max(1px)"));let{mergedClsPrefixRef:t,inlineThemeDisabled:i}=(0,c.ZP)(e),s=(0,d.Z)("Switch","-switch",k,w,e,t),l=(0,u.Z)(e),{mergedSizeRef:v,mergedDisabledRef:f}=l,m=(0,a.iH)(e.defaultValue),g=(0,a.Vh)(e,"value"),y=(0,n.Z)(g,m),x=(0,a.Fl)(()=>y.value===e.checkedValue),B=(0,a.iH)(!1),$=(0,a.iH)(!1),S=(0,a.Fl)(()=>{let{railStyle:t}=e;if(t)return t({focused:$.value,checked:x.value})});function C(t){let{"onUpdate:value":i,onChange:r,onUpdateValue:o}=e,{nTriggerFormInput:n,nTriggerFormChange:a}=l;i&&(0,p.R)(i,t),o&&(0,p.R)(o,t),r&&(0,p.R)(r,t),m.value=t,n(),a()}let Z=(0,a.Fl)(()=>{let e,t,i,{value:n}=v,{self:{opacityDisabled:a,railColor:l,railColorActive:d,buttonBoxShadow:c,buttonColor:u,boxShadowFocus:h,loadingColor:p,textColor:f,iconColor:m,[(0,b.Tl)("buttonHeight",n)]:g,[(0,b.Tl)("buttonWidth",n)]:w,[(0,b.Tl)("buttonWidthPressed",n)]:y,[(0,b.Tl)("railHeight",n)]:k,[(0,b.Tl)("railWidth",n)]:x,[(0,b.Tl)("railBorderRadius",n)]:B,[(0,b.Tl)("buttonBorderRadius",n)]:$},common:{cubicBezierEaseInOut:S}}=s.value;return r?(e=`calc((${k} - ${g}) / 2)`,t=`max(${k}, ${g})`,i=`max(${x}, calc(${x} + ${g} - ${k}))`):(e=(0,o.BL)(((0,o.fQ)(k)-(0,o.fQ)(g))/2),t=(0,o.BL)(Math.max((0,o.fQ)(k),(0,o.fQ)(g))),i=(0,o.fQ)(k)>(0,o.fQ)(g)?x:(0,o.BL)((0,o.fQ)(x)+(0,o.fQ)(g)-(0,o.fQ)(k))),{"--n-bezier":S,"--n-button-border-radius":$,"--n-button-box-shadow":c,"--n-button-color":u,"--n-button-width":w,"--n-button-width-pressed":y,"--n-button-height":g,"--n-height":t,"--n-offset":e,"--n-opacity-disabled":a,"--n-rail-border-radius":B,"--n-rail-color":l,"--n-rail-color-active":d,"--n-rail-height":k,"--n-rail-width":x,"--n-width":i,"--n-box-shadow-focus":h,"--n-loading-color":p,"--n-text-color":f,"--n-icon-color":m}}),z=i?(0,h.F)("switch",(0,a.Fl)(()=>v.value[0]),Z,e):void 0;return{handleClick:function(){e.loading||f.value||(y.value!==e.checkedValue?C(e.checkedValue):C(e.uncheckedValue))},handleBlur:function(){$.value=!1;let{nTriggerFormBlur:e}=l;e(),B.value=!1},handleFocus:function(){$.value=!0;let{nTriggerFormFocus:e}=l;e()},handleKeyup:function(t){e.loading||f.value||" "===t.key&&(y.value!==e.checkedValue?C(e.checkedValue):C(e.uncheckedValue),B.value=!1)},handleKeydown:function(t){e.loading||f.value||" "===t.key&&(t.preventDefault(),B.value=!0)},mergedRailStyle:S,pressed:B,mergedClsPrefix:t,mergedValue:y,checked:x,mergedDisabled:f,cssVars:i?void 0:Z,themeClass:null==z?void 0:z.themeClass,onRender:null==z?void 0:z.onRender}},render(){let{mergedClsPrefix:e,mergedDisabled:t,checked:i,mergedRailStyle:r,onRender:o,$slots:n}=this;null==o||o();let{checked:d,unchecked:c,icon:u,"checked-icon":h,"unchecked-icon":p}=n,b=!((0,v.aD)(u)&&(0,v.aD)(h)&&(0,v.aD)(p));return(0,a.h)("div",{role:"switch","aria-checked":i,class:[`${e}-switch`,this.themeClass,b&&`${e}-switch--icon`,i&&`${e}-switch--active`,t&&`${e}-switch--disabled`,this.round&&`${e}-switch--round`,this.loading&&`${e}-switch--loading`,this.pressed&&`${e}-switch--pressed`,this.rubberBand&&`${e}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},(0,a.h)("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:r},(0,v.K9)(d,t=>(0,v.K9)(c,i=>t||i?(0,a.h)("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},(0,a.h)("div",{class:`${e}-switch__rail-placeholder`},(0,a.h)("div",{class:`${e}-switch__button-placeholder`}),t),(0,a.h)("div",{class:`${e}-switch__rail-placeholder`},(0,a.h)("div",{class:`${e}-switch__button-placeholder`}),i)):null)),(0,a.h)("div",{class:`${e}-switch__button`},(0,v.K9)(u,t=>(0,v.K9)(h,i=>(0,v.K9)(p,r=>(0,a.h)(s.Z,null,{default:()=>this.loading?(0,a.h)(l.Z,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(i||t)?(0,a.h)("div",{class:`${e}-switch__button-icon`,key:i?"checked-icon":"icon"},i||t):!this.checked&&(r||t)?(0,a.h)("div",{class:`${e}-switch__button-icon`,key:r?"unchecked-icon":"icon"},r||t):null})))),(0,v.K9)(d,t=>t&&(0,a.h)("div",{key:"checked",class:`${e}-switch__checked`},t)),(0,v.K9)(c,t=>t&&(0,a.h)("div",{key:"unchecked",class:`${e}-switch__unchecked`},t)))))}})},50144:function(e,t,i){i.d(t,{Z:()=>d});var r=i(58786),o=i(56946),n=i(54470),a=i(49942),s=i(44108);let l=Object.assign(Object.assign({},a.Kd),o.Z.props),d=(0,r.aZ)({name:"Tooltip",props:l,slots:Object,__popover__:!0,setup(e){let{mergedClsPrefixRef:t}=(0,n.ZP)(e),i=(0,o.Z)("Tooltip","-tooltip",void 0,s.Z,e,t),a=(0,r.iH)(null);return Object.assign(Object.assign({},{syncPosition(){a.value.syncPosition()},setShow(e){a.value.setShow(e)}}),{popoverRef:a,mergedTheme:i,popoverThemeOverrides:(0,r.Fl)(()=>i.value.self)})},render(){let{mergedTheme:e,internalExtraClass:t}=this;return(0,r.h)(a.ZP,Object.assign(Object.assign({},this.$props),{theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:t.concat("tooltip"),ref:"popoverRef"}),this.$slots)}})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/9097.60b0ea9b.js b/core/public/dist/static/js/async/9097.60b0ea9b.jsnew file mode 100644index 00000000..fd19c9e8--- /dev/null+++ b/core/public/dist/static/js/async/9097.60b0ea9b.js@@ -0,0 +1 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["9097"],{54538:function(e,a,t){t.d(a,{DP:()=>w,Ew:()=>c,I5:()=>m,JI:()=>h,L3:()=>r,Nh:()=>y,UY:()=>g,WJ:()=>p,nn:()=>_});var l=t(76882),n=t(34541),i=t(58786);let{t:o}=l.Z.global,s={fetchOptions:{loading:o("template.ai.loading.message"),successMessage:!0}};async function u(e,a){try{await n.e.post("/email_template/create",{temp_name:a,add_type:2,chat_id:e,html_content:""})}catch(e){throw console.warn(e),e}}async function r(e){await d(e),await v(e)}async function c(e){try{let a=`AI_temp_${new Date().getTime()}`,t=await n.e.post("/askai/chat/create_chat",{domain:e,add_type:99,temp_name:a},s);return await u(t.chatId,a),t.chatId}catch(e){return console.warn(e),null}}async function d(e){let{modelList:a,currentModel:t,currentModelTitle:l}=e;try{a.value=await n.e.post("/askai/supplier/models"),a.value.length&&(t.value=a.value[0],l.value=a.value[0].title)}catch(e){console.warn(e)}}async function v(e){let{chatId:a,chatInfo:t,currentModel:l,modelList:i,currentModelTitle:o,chatRecord:s,usageRecord:u}=e;try{if(t.value=await n.e.post("/askai/chat/info",{chatId:a.value}),t.value.modelId&&i.value.length){let e=i.value.find(e=>e.modelId==t.value.modelId);e&&(l.value=e,o.value=e.title)}for(let e=0;e<t.value.messages.length;e++){let a=`${t.value.messages[e].content}_+_${s.value.size}`;"user"==t.value.messages[e].role&&(s.value.set(a,f(t.value.messages[e+1].content)),u.value.set(a,t.value.messages[e+1].usage))}}catch(e){console.warn(e)}}async function m(e){let{chatId:a,isChat:t}=e;try{await n.e.post("/askai/chat/stop",{chatId:a.value},s),t.value=!1}catch(e){console.warn(e)}}async function p(e,a){let{scrollable:t,generateShow:l,chatId:s,currentModel:u,questionContent:r,chatRecord:c,currentChatRecordKey:d,scrollWrapperRef:v,chatScrollRef:m,isChat:p,usageRecord:h,useSpinTax:g,spinTaxLength:w}=e;if(p.value||!r.value||a&&function(e,a){if(e.shiftKey&&"Enter"===e.key){e.preventDefault();let t=e.target,l=t.selectionStart,n=t.selectionEnd;return a.value=a.value.substring(0,l)+"\n"+a.value.substring(n),t.selectionStart=t.selectionEnd=l+1,!0}}(a,r))return;let _=`${r.value}_+_${c.value.size}`;c.value.set(_,[]),d.value=_;let k=r.value;r.value="";let S=[],U="",b=0;g.value&&(k+=` ${o("template.ai.spintax.instruction",{count:w.value})}`);try{t.value=!0,l.value=!0,p.value=!0,(0,i.Y3)(()=>m.value.scrollTo({left:0,top:v.value.offsetHeight})),await n.e.post("/askai/chat/chat",{chatId:s.value,supplierName:u.value.supplierName,modelId:u.value.modelId,content:k,is_text:"false"},{fetchOptions:{cancelResInterceptor:!0},responseType:"text",onDownloadProgress:e=>{l.value=!1;try{let l=e.event.target.responseText,n=l.slice(b);b=l.length;var a=function(e){let a=e.split("\n"),t=[];for(let e of a){let a=e.trim();if(a.startsWith("data:")){let e=a.slice(5).trim();e&&t.push(e)}}return t}(n);for(let e=0;e<a.length;e++)a[e]&&(U+=JSON.parse(a[e]).content);c.value.set(_,f(U)),t.value&&setTimeout(()=>m.value.scrollTo({left:0,top:v.value.offsetHeight}),200)}catch(e){console.warn(e)}}}),t.value=!0,m.value.scrollTo({left:0,top:v.value.offsetHeight}),p.value=!1,y(e,e=>{h.value.set(_,e)})}catch(e){console.warn(e)}finally{l.value=!1,U="",b=0}}function f(e){let a=/```[\s\S]*?(?:```|$)/g,t=e.match(a)||[],l=e.split(a),n=[],i=Math.max(l.length,t.length);for(let e=0;e<i;e++)e<l.length&&""!==l[e].trim()&&n.push(l[e]),e<t.length&&n.push(t[e]);return n}function h(e){return e.replace(/```html/g,"").replace(/```$/gm,"")}function g(e){return e.replace(/<<<<<<<\s+SEARCH[\s\S]*?=======([\s\S]*?)>>>>>>>\s+REPLACE/g,"$1")}function w(e){let a=e.match(/<title>(.*?)<\/title>/i);return a?a[1]:""}async function y(e,a){let{chatId:t,previewCode:l,previewTit:i}=e;try{let e=await n.e.post("/askai/chat/get_html",{chatId:t.value});l.value=e.html_content,i.value=w(l.value),a&&a(e.last_usage)}catch(e){console.warn(e)}}async function _(e){let{previewCode:a,chatId:t}=e;try{await n.e.post("/askai/chat/modify_html",{chatId:t.value,content:a.value},s),y(e)}catch(e){console.warn(e)}}},99778:function(e,a,t){t.d(a,{Z:()=>z});var l=t(5057),n=t(49942),i=t(40972),o=t(15496),s=t(8490),u=t(58786),r=t(34541),c=t(54538),d=t(31708),v=t(39432);let m=t.p+"static/image/model-notice.a300ae20.png",p=t.p+"static/image/create-brand-info.5daf2552.png";var f=t(68271),h=t(54686),g=t(65965);let w={class:"wrapper"},y={class:"creation-methods"},_=["onClick"],k={class:"item-label"},S={class:"label"},U={key:0,class:"desc"},b={key:1},I={key:2},T={key:3},$={class:"flex justify-end"},C=(0,u.aZ)({__name:"CreateTplModal",props:{onlyAi:{type:Boolean}},emits:["confirmType","hasCreateTpl"],setup(e,a){let{expose:t,emit:C}=a,z=(0,d.s6)(),A=(0,g.tv)(),D=(0,u.iH)(["Drag","AI","HTML"]),W=(0,u.iH)("AI"),H=(0,u.iH)(""),x=(0,u.iH)(null),E=(0,u.iH)(!1),Z=(0,u.iH)([]),N=(0,u.iH)(!1),F=(0,u.Fl)(()=>e.onlyAi?["AI"]:D.value),L=(0,u.Fl)(()=>{if(0==M.value.length)return"domain-list-empty";if(!N.value)return"ai-configuration-invalid";let e=Z.value.find(e=>e.domain==H.value);return e&&1!==e.hasbrandinfo?"invalid-brand-domain":"normal"}),M=(0,u.Fl)(()=>[...Z.value].sort((e,a)=>a.hasbrandinfo-e.hasbrandinfo)),P=(0,u.Fl)(()=>"AI"==W.value&&0==M.value.length);async function j(){if("AI"==W.value){if("invalid-brand-domain"==L.value){let e=Z.value.find(e=>e.domain===H.value);try{await (0,v.rU)({domain:H.value,urls:e.urls}),(0,h.ke)(H.value,1)}catch(e){f.v0.error("Failed to initialize AI configuration, please try again later."),console.warn(e)}}let e=await (0,c.Ew)(H.value);e&&(z.domainSource=H.value,A.push({name:"ai-template",params:{chatId:e}}))}else C("confirmType",W.value)}function q(){A.push({name:"Domain",query:{init:"init-domain"}})}function J(){A.push({name:"AiModel"})}function O(){A.push({name:"EditDomain",params:{domain:H.value}})}function R(e){return e.hasbrandinfo?(0,u.Wm)("div",null,[(0,u.Wm)("i",{class:"i-domain:brand-info w-4 h-4 mr-1.25"},null),(0,u.Uk)(" "),(0,u.Wm)("span",null,[e.domain])]):(0,u.Wm)("span",null,[e.domain])}async function Y(){if(Z.value=(await r.e.get("/domains/list",{params:{page:1,page_size:100}})).list,x.value=Z.value.find(e=>e.domain===H.value)||null,0==Z.value.length){z.domainSource="",H.value="";return}z.domainSource&&(H.value=z.domainSource),M.value.length>0&&(H.value=M.value[0].domain,z.domainSource=M.value[0].domain)}return t({open:async function e(){N.value=(await (0,v.Lb)()).is_configured,await Y(),z.domainSource&&(z.domainSource=H.value),E.value=!0},close:function(){E.value=!1}}),(e,a)=>{let t=s.Z,r=o.ZP,c=i.Z,d=n.ZP,v=l.Z;return(0,u.wg)(),(0,u.j4)(v,{show:(0,u.SU)(E),"onUpdate:show":a[1]||(a[1]=e=>(0,u.dq)(E)?E.value=e:null),preset:"card",draggable:"","close-on-esc":!1,"mask-closable":!1,segmented:"",class:"w-110",title:""},{footer:(0,u.w5)(()=>[(0,u._)("div",$,["AI"==(0,u.SU)(W)?((0,u.wg)(),(0,u.j4)(r,{key:0,type:"primary",disabled:(0,u.SU)(P)||["domain-list-empty","ai-configuration-invalid"].includes((0,u.SU)(L)),onClick:j},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)(e.$t("template.createTpl.create")),1)]),_:1},8,["disabled"])):((0,u.wg)(),(0,u.j4)(r,{key:1,type:"primary",onClick:j},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)(e.$t("template.createTpl.create")),1)]),_:1}))])]),default:(0,u.w5)(()=>[(0,u._)("div",w,[(0,u._)("div",y,[((0,u.wg)(!0),(0,u.iD)(u.HY,null,(0,u.Ko)((0,u.SU)(F),(e,a)=>((0,u.wg)(),(0,u.iD)("div",{key:a,class:(0,u.C_)(["choose-item",{active:(0,u.SU)(W)==e}]),onClick:a=>W.value=e},[(0,u._)("span",k,(0,u.zw)(e),1)],10,_))),128))]),(0,u._)("div",{class:(0,u.C_)(["url-source",{hidden:"AI"!==(0,u.SU)(W)}])},[(0,u._)("span",S,(0,u.zw)(e.$t("template.createTpl.sourceUrl")),1),(0,u.Wm)(t,{value:(0,u.SU)(H),"onUpdate:value":a[0]||(a[0]=e=>(0,u.dq)(H)?H.value=e:null),class:"flex-1","label-field":"domain","value-field":"domain",options:(0,u.SU)(M),disabled:(0,u.SU)(P),"render-label":R},null,8,["value","options","disabled"])],2),"normal"==(0,u.SU)(L)?((0,u.wg)(),(0,u.iD)("div",U,(0,u.zw)(e.$t("template.createTpl.useAiTools")),1)):"domain-list-empty"==(0,u.SU)(L)?((0,u.wg)(),(0,u.iD)("div",b,[(0,u.Uk)((0,u.zw)(e.$t("template.createTpl.notices.domainListEmpty"))+", ",1),(0,u.Wm)(r,{text:"",type:"primary",onClick:q},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)(e.$t("template.createTpl.buttons.createNow")),1)]),_:1})])):"ai-configuration-invalid"==(0,u.SU)(L)?((0,u.wg)(),(0,u.iD)("div",I,[(0,u.Uk)((0,u.zw)(e.$t("template.createTpl.notices.aiConfigurationInvalid"))+", ",1),(0,u.Wm)(d,{trigger:"hover",placement:"right"},{trigger:(0,u.w5)(()=>[(0,u.Wm)(r,{text:"",type:"primary",onClick:J},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)(e.$t("template.createTpl.buttons.configureNow")),1)]),_:1})]),default:(0,u.w5)(()=>[(0,u.Wm)(c,{src:(0,u.SU)(m),width:"600"},null,8,["src"])]),_:1})])):"invalid-brand-domain"==(0,u.SU)(L)?((0,u.wg)(),(0,u.iD)("div",T,[(0,u.Uk)((0,u.zw)(e.$t("template.createTpl.notices.invalidBrandDomain"))+", ",1),(0,u.Wm)(d,{trigger:"hover",placement:"right"},{trigger:(0,u.w5)(()=>[(0,u.Wm)(r,{text:"",type:"primary",onClick:O},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)(e.$t("template.createTpl.buttons.createNow")),1)]),_:1})]),default:(0,u.w5)(()=>[(0,u.Wm)(c,{src:(0,u.SU)(p),width:"600"},null,8,["src"])]),_:1})])):(0,u.kq)("",!0)])]),_:1},8,["show"])}}}),z=(0,t(41748).default)(C,[["__scopeId","data-v-c97e6920"]])}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/9097.ad9ff6f3.js b/core/public/dist/static/js/async/9097.ad9ff6f3.jsdeleted file mode 100644index d70b20b6..00000000--- a/core/public/dist/static/js/async/9097.ad9ff6f3.js+++ /dev/null@@ -1 +0,0 @@-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["9097"],{54538:function(e,a,t){t.d(a,{DP:()=>w,Ew:()=>c,I5:()=>m,JI:()=>h,L3:()=>r,Nh:()=>y,UY:()=>g,WJ:()=>p,nn:()=>_});var l=t(76882),n=t(34541),i=t(58786);let{t:o}=l.Z.global,s={fetchOptions:{loading:o("template.ai.loading.message"),successMessage:!0}};async function u(e,a){try{await n.e.post("/email_template/create",{temp_name:a,add_type:2,chat_id:e,html_content:""})}catch(e){throw console.warn(e),e}}async function r(e){await d(e),await v(e)}async function c(e){try{let a=`AI_temp_${new Date().getTime()}`,t=await n.e.post("/askai/chat/create_chat",{domain:e,add_type:99,temp_name:a},s);return await u(t.chatId,a),t.chatId}catch(e){return console.warn(e),null}}async function d(e){let{modelList:a,currentModel:t,currentModelTitle:l}=e;try{a.value=await n.e.post("/askai/supplier/models"),a.value.length&&(t.value=a.value[0],l.value=a.value[0].title)}catch(e){console.warn(e)}}async function v(e){let{chatId:a,chatInfo:t,currentModel:l,modelList:i,currentModelTitle:o,chatRecord:s,usageRecord:u}=e;try{if(t.value=await n.e.post("/askai/chat/info",{chatId:a.value}),t.value.modelId&&i.value.length){let e=i.value.find(e=>e.modelId==t.value.modelId);e&&(l.value=e,o.value=e.title)}for(let e=0;e<t.value.messages.length;e++){let a=`${t.value.messages[e].content}_+_${s.value.size}`;"user"==t.value.messages[e].role&&(s.value.set(a,f(t.value.messages[e+1].content)),u.value.set(a,t.value.messages[e+1].usage))}}catch(e){console.warn(e)}}async function m(e){let{chatId:a,isChat:t}=e;try{await n.e.post("/askai/chat/stop",{chatId:a.value},s),t.value=!1}catch(e){console.warn(e)}}async function p(e,a){let{scrollable:t,generateShow:l,chatId:o,currentModel:s,questionContent:u,chatRecord:r,currentChatRecordKey:c,scrollWrapperRef:d,chatScrollRef:v,isChat:m,usageRecord:p}=e;if(m.value||!u.value||a&&function(e,a){if(e.shiftKey&&"Enter"===e.key){e.preventDefault();let t=e.target,l=t.selectionStart,n=t.selectionEnd;return a.value=a.value.substring(0,l)+"\n"+a.value.substring(n),t.selectionStart=t.selectionEnd=l+1,!0}}(a,u))return;let h=`${u.value}_+_${r.value.size}`;r.value.set(h,[]),c.value=h;let g=u.value;u.value="";let w=[],_="",k=0;try{t.value=!0,l.value=!0,m.value=!0,(0,i.Y3)(()=>v.value.scrollTo({left:0,top:d.value.offsetHeight})),await n.e.post("/askai/chat/chat",{chatId:o.value,supplierName:s.value.supplierName,modelId:s.value.modelId,content:g,is_text:"false"},{fetchOptions:{cancelResInterceptor:!0},responseType:"text",onDownloadProgress:e=>{l.value=!1;try{let l=e.event.target.responseText,n=l.slice(k);k=l.length;var a=function(e){let a=e.split("\n"),t=[];for(let e of a){let a=e.trim();if(a.startsWith("data:")){let e=a.slice(5).trim();e&&t.push(e)}}return t}(n);for(let e=0;e<a.length;e++)a[e]&&(_+=JSON.parse(a[e]).content);r.value.set(h,f(_)),t.value&&setTimeout(()=>v.value.scrollTo({left:0,top:d.value.offsetHeight}),200)}catch(e){console.warn(e)}}}),t.value=!0,v.value.scrollTo({left:0,top:d.value.offsetHeight}),m.value=!1,y(e,e=>{p.value.set(h,e)})}catch(e){console.warn(e)}finally{l.value=!1,_="",k=0}}function f(e){let a=/```[\s\S]*?(?:```|$)/g,t=e.match(a)||[],l=e.split(a),n=[],i=Math.max(l.length,t.length);for(let e=0;e<i;e++)e<l.length&&""!==l[e].trim()&&n.push(l[e]),e<t.length&&n.push(t[e]);return n}function h(e){return e.replace(/```html/g,"").replace(/```$/gm,"")}function g(e){return e.replace(/<<<<<<<\s+SEARCH[\s\S]*?=======([\s\S]*?)>>>>>>>\s+REPLACE/g,"$1")}function w(e){let a=e.match(/<title>(.*?)<\/title>/i);return a?a[1]:""}async function y(e,a){let{chatId:t,previewCode:l,previewTit:i}=e;try{let e=await n.e.post("/askai/chat/get_html",{chatId:t.value});l.value=e.html_content,i.value=w(l.value),a&&a(e.last_usage)}catch(e){console.warn(e)}}async function _(e){let{previewCode:a,chatId:t}=e;try{await n.e.post("/askai/chat/modify_html",{chatId:t.value,content:a.value},s),y(e)}catch(e){console.warn(e)}}},99778:function(e,a,t){t.d(a,{Z:()=>z});var l=t(5057),n=t(49942),i=t(40972),o=t(15496),s=t(8490),u=t(58786),r=t(34541),c=t(54538),d=t(31708),v=t(39432);let m=t.p+"static/image/model-notice.a300ae20.png",p=t.p+"static/image/create-brand-info.5daf2552.png";var f=t(68271),h=t(54686),g=t(65965);let w={class:"wrapper"},y={class:"creation-methods"},_=["onClick"],k={class:"item-label"},S={class:"label"},U={key:0,class:"desc"},b={key:1},I={key:2},T={key:3},$={class:"flex justify-end"},C=(0,u.aZ)({__name:"CreateTplModal",props:{onlyAi:{type:Boolean}},emits:["confirmType","hasCreateTpl"],setup(e,a){let{expose:t,emit:C}=a,z=(0,d.s6)(),A=(0,g.tv)(),D=(0,u.iH)(["Drag","AI","HTML"]),W=(0,u.iH)("AI"),H=(0,u.iH)(""),x=(0,u.iH)(null),E=(0,u.iH)(!1),Z=(0,u.iH)([]),N=(0,u.iH)(!1),F=(0,u.Fl)(()=>e.onlyAi?["AI"]:D.value),L=(0,u.Fl)(()=>{if(0==M.value.length)return"domain-list-empty";if(!N.value)return"ai-configuration-invalid";let e=Z.value.find(e=>e.domain==H.value);return e&&1!==e.hasbrandinfo?"invalid-brand-domain":"normal"}),M=(0,u.Fl)(()=>[...Z.value].sort((e,a)=>a.hasbrandinfo-e.hasbrandinfo)),P=(0,u.Fl)(()=>"AI"==W.value&&0==M.value.length);async function j(){if("AI"==W.value){if("invalid-brand-domain"==L.value){let e=Z.value.find(e=>e.domain===H.value);try{await (0,v.rU)({domain:H.value,urls:e.urls}),(0,h.ke)(H.value,1)}catch(e){f.v0.error("Failed to initialize AI configuration, please try again later."),console.warn(e)}}let e=await (0,c.Ew)(H.value);e&&(z.domainSource=H.value,A.push({name:"ai-template",params:{chatId:e}}))}else C("confirmType",W.value)}function q(){A.push({name:"Domain",query:{init:"init-domain"}})}function J(){A.push({name:"AiModel"})}function O(){A.push({name:"EditDomain",params:{domain:H.value}})}function R(e){return e.hasbrandinfo?(0,u.Wm)("div",null,[(0,u.Wm)("i",{class:"i-domain:brand-info w-4 h-4 mr-1.25"},null),(0,u.Uk)(" "),(0,u.Wm)("span",null,[e.domain])]):(0,u.Wm)("span",null,[e.domain])}async function Y(){if(Z.value=(await r.e.get("/domains/list",{params:{page:1,page_size:100}})).list,x.value=Z.value.find(e=>e.domain===H.value)||null,0==Z.value.length){z.domainSource="",H.value="";return}z.domainSource&&(H.value=z.domainSource),M.value.length>0&&(H.value=M.value[0].domain,z.domainSource=M.value[0].domain)}return t({open:async function e(){N.value=(await (0,v.Lb)()).is_configured,await Y(),z.domainSource&&(z.domainSource=H.value),E.value=!0},close:function(){E.value=!1}}),(e,a)=>{let t=s.Z,r=o.ZP,c=i.Z,d=n.ZP,v=l.Z;return(0,u.wg)(),(0,u.j4)(v,{show:(0,u.SU)(E),"onUpdate:show":a[1]||(a[1]=e=>(0,u.dq)(E)?E.value=e:null),preset:"card",draggable:"","close-on-esc":!1,"mask-closable":!1,segmented:"",class:"w-110",title:""},{footer:(0,u.w5)(()=>[(0,u._)("div",$,["AI"==(0,u.SU)(W)?((0,u.wg)(),(0,u.j4)(r,{key:0,type:"primary",disabled:(0,u.SU)(P)||["domain-list-empty","ai-configuration-invalid"].includes((0,u.SU)(L)),onClick:j},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)(e.$t("template.createTpl.create")),1)]),_:1},8,["disabled"])):((0,u.wg)(),(0,u.j4)(r,{key:1,type:"primary",onClick:j},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)(e.$t("template.createTpl.create")),1)]),_:1}))])]),default:(0,u.w5)(()=>[(0,u._)("div",w,[(0,u._)("div",y,[((0,u.wg)(!0),(0,u.iD)(u.HY,null,(0,u.Ko)((0,u.SU)(F),(e,a)=>((0,u.wg)(),(0,u.iD)("div",{key:a,class:(0,u.C_)(["choose-item",{active:(0,u.SU)(W)==e}]),onClick:a=>W.value=e},[(0,u._)("span",k,(0,u.zw)(e),1)],10,_))),128))]),(0,u._)("div",{class:(0,u.C_)(["url-source",{hidden:"AI"!==(0,u.SU)(W)}])},[(0,u._)("span",S,(0,u.zw)(e.$t("template.createTpl.sourceUrl")),1),(0,u.Wm)(t,{value:(0,u.SU)(H),"onUpdate:value":a[0]||(a[0]=e=>(0,u.dq)(H)?H.value=e:null),class:"flex-1","label-field":"domain","value-field":"domain",options:(0,u.SU)(M),disabled:(0,u.SU)(P),"render-label":R},null,8,["value","options","disabled"])],2),"normal"==(0,u.SU)(L)?((0,u.wg)(),(0,u.iD)("div",U,(0,u.zw)(e.$t("template.createTpl.useAiTools")),1)):"domain-list-empty"==(0,u.SU)(L)?((0,u.wg)(),(0,u.iD)("div",b,[(0,u.Uk)((0,u.zw)(e.$t("template.createTpl.notices.domainListEmpty"))+", ",1),(0,u.Wm)(r,{text:"",type:"primary",onClick:q},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)(e.$t("template.createTpl.buttons.createNow")),1)]),_:1})])):"ai-configuration-invalid"==(0,u.SU)(L)?((0,u.wg)(),(0,u.iD)("div",I,[(0,u.Uk)((0,u.zw)(e.$t("template.createTpl.notices.aiConfigurationInvalid"))+", ",1),(0,u.Wm)(d,{trigger:"hover",placement:"right"},{trigger:(0,u.w5)(()=>[(0,u.Wm)(r,{text:"",type:"primary",onClick:J},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)(e.$t("template.createTpl.buttons.configureNow")),1)]),_:1})]),default:(0,u.w5)(()=>[(0,u.Wm)(c,{src:(0,u.SU)(m),width:"600"},null,8,["src"])]),_:1})])):"invalid-brand-domain"==(0,u.SU)(L)?((0,u.wg)(),(0,u.iD)("div",T,[(0,u.Uk)((0,u.zw)(e.$t("template.createTpl.notices.invalidBrandDomain"))+", ",1),(0,u.Wm)(d,{trigger:"hover",placement:"right"},{trigger:(0,u.w5)(()=>[(0,u.Wm)(r,{text:"",type:"primary",onClick:O},{default:(0,u.w5)(()=>[(0,u.Uk)((0,u.zw)(e.$t("template.createTpl.buttons.createNow")),1)]),_:1})]),default:(0,u.w5)(()=>[(0,u.Wm)(c,{src:(0,u.SU)(p),width:"600"},null,8,["src"])]),_:1})])):(0,u.kq)("",!0)])]),_:1},8,["show"])}}}),z=(0,t(41748).default)(C,[["__scopeId","data-v-c97e6920"]])}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/async/9780.7a1639df.js b/core/public/dist/static/js/async/9780.7a1639df.jsnew file mode 100644index 00000000..8949170f--- /dev/null+++ b/core/public/dist/static/js/async/9780.7a1639df.js@@ -0,0 +1,7 @@+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["9780"],{29283:function(e,n,t){t.d(n,{Z:()=>N});var l=t(82518),i=t(19595),u=t(20013),r=t(61691),a=t(58786),o=t(96823);let d=(0,a.aZ)({name:"Remove",render:()=>(0,a.h)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,a.h)("line",{x1:"400",y1:"256",x2:"112",y2:"256",style:"\n fill: none;\n stroke: currentColor;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke-width: 32px;\n "}))});var s=t(65977),f=t(56946),p=t(54470),h=t(3616),v=t(32196),c=t(51048),m=t(44267),b=t(93950),g=t(15496),x=t(73084),w=t(9798),y=t(8968),I=t(34534);let B=(0,f.j)({name:"InputNumber",common:w.Z,peers:{Button:y.Z,Input:I.Z},self:function(e){let{textColorDisabled:n}=e;return{iconColorDisabled:n}}});var V=t(71309);let O=(0,V.c)([(0,V.cB)("input-number-suffix",`+ display: inline-block;+ margin-right: 10px;+ `),(0,V.cB)("input-number-prefix",`+ display: inline-block;+ margin-left: 10px;+ `)]);function P(e){return null==e||!Number.isNaN(e)}function Z(e,n){return"number"!=typeof e?"":void 0===n?String(e):e.toFixed(n)}function k(e){if(null===e)return null;if("number"==typeof e)return e;{let n=Number(e);return Number.isNaN(n)?null:n}}let D=Object.assign(Object.assign({},f.Z.props),{autofocus:Boolean,loading:{type:Boolean,default:void 0},placeholder:String,defaultValue:{type:Number,default:null},value:Number,step:{type:[Number,String],default:1},min:[Number,String],max:[Number,String],size:String,disabled:{type:Boolean,default:void 0},validator:Function,bordered:{type:Boolean,default:void 0},showButton:{type:Boolean,default:!0},buttonPlacement:{type:String,default:"right"},inputProps:Object,readonly:Boolean,clearable:Boolean,keyboard:{type:Object,default:{}},updateValueOnInput:{type:Boolean,default:!0},round:{type:Boolean,default:void 0},parse:Function,format:Function,precision:Number,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onChange:[Function,Array]}),N=(0,a.aZ)({name:"InputNumber",props:D,slots:Object,setup(e){let{mergedBorderedRef:n,mergedClsPrefixRef:t,mergedRtlRef:o}=(0,p.ZP)(e),d=(0,f.Z)("InputNumber","-input-number",O,B,e,t),{localeRef:s}=(0,h.Z)("InputNumber"),b=(0,v.Z)(e),{mergedSizeRef:g,mergedDisabledRef:x,mergedStatusRef:w}=b,y=(0,a.iH)(null),I=(0,a.iH)(null),V=(0,a.iH)(null),D=(0,a.iH)(e.defaultValue),N=(0,a.Vh)(e,"value"),T=(0,u.Z)(N,D),M=(0,a.iH)(""),U=e=>{let n=String(e).split(".")[1];return n?n.length:0},C=n=>Math.max(...[e.min,e.max,e.step,n].map(e=>void 0===e?0:U(e))),F=(0,r.Z)(()=>{let{placeholder:n}=e;return void 0!==n?n:s.value.placeholder}),S=(0,r.Z)(()=>{let n=k(e.step);return null!==n?0===n?1:Math.abs(n):1}),R=(0,r.Z)(()=>{let n=k(e.min);return null!==n?n:null}),A=(0,r.Z)(()=>{let n=k(e.max);return null!==n?n:null}),$=()=>{let{value:n}=T;if(P(n)){let{format:t,precision:l}=e;t?M.value=t(n):null===n||void 0===l||U(n)>l?M.value=Z(n,void 0):M.value=Z(n,l)}else M.value=String(n)};$();let j=n=>{let{value:t}=T;if(n===t)return void $();let{"onUpdate:value":l,onUpdateValue:i,onChange:u}=e,{nTriggerFormInput:r,nTriggerFormChange:a}=b;u&&(0,m.R)(u,n),i&&(0,m.R)(i,n),l&&(0,m.R)(l,n),D.value=n,r(),a()},E=({offset:n,doUpdateIfValid:t,fixPrecision:l,isInputing:i})=>{let{value:u}=M;if(i&&(u.includes(".")&&(/^(-)?\d+.*(\.|0)$/.test(u)||/^-?\d*$/.test(u))||"-"===u||"-0"===u))return!1;let r=(e.parse||function(e){return null==e||"string"==typeof e&&""===e.trim()?null:Number(e)})(u);if(null===r)return t&&j(null),null;if(P(r)){let u=U(r),{precision:a}=e;if(void 0!==a&&a<u&&!l)return!1;let o=Number.parseFloat((r+n).toFixed(null!=a?a:C(r)));if(P(o)){let{value:n}=A,{value:l}=R;if(null!==n&&o>n){if(!t||i)return!1;o=n}if(null!==l&&o<l){if(!t||i)return!1;o=l}return(!e.validator||!!e.validator(o))&&(t&&j(o),o)}}return!1},H=(0,r.Z)(()=>!1===E({offset:0,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})),K=(0,r.Z)(()=>{let{value:n}=T;if(e.validator&&null===n)return!1;let{value:t}=S;return!1!==E({offset:-t,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})}),z=(0,r.Z)(()=>{let{value:n}=T;if(e.validator&&null===n)return!1;let{value:t}=S;return!1!==E({offset:+t,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})});function L(){let{value:n}=z;if(!n)return void _();let{value:t}=T;if(null===t)e.validator||j(q());else{let{value:e}=S;E({offset:e,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}function Y(){let{value:n}=K;if(!n)return void W();let{value:t}=T;if(null===t)e.validator||j(q());else{let{value:e}=S;E({offset:-e,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}function q(){if(e.validator)return null;let{value:n}=R,{value:t}=A;return null!==n?Math.max(0,n):null!==t?Math.min(0,t):0}let G=null,J=null,Q=null;function W(){Q&&(window.clearTimeout(Q),Q=null),G&&(window.clearInterval(G),G=null)}let X=null;function _(){X&&(window.clearTimeout(X),X=null),J&&(window.clearInterval(J),J=null)}(0,a.YP)(T,()=>{$()});let ee=(0,c.V)("InputNumber",o,t);return Object.assign(Object.assign({},{focus:()=>{var e;return null==(e=y.value)?void 0:e.focus()},blur:()=>{var e;return null==(e=y.value)?void 0:e.blur()},select:()=>{var e;return null==(e=y.value)?void 0:e.select()}}),{rtlEnabled:ee,inputInstRef:y,minusButtonInstRef:I,addButtonInstRef:V,mergedClsPrefix:t,mergedBordered:n,uncontrolledValue:D,mergedValue:T,mergedPlaceholder:F,displayedValueInvalid:H,mergedSize:g,mergedDisabled:x,displayedValue:M,addable:z,minusable:K,mergedStatus:w,handleFocus:function(n){let{onFocus:t}=e,{nTriggerFormFocus:l}=b;t&&(0,m.R)(t,n),l()},handleBlur:function(n){var t,l;if(n.target===(null==(t=y.value)?void 0:t.wrapperElRef))return;let i=E({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});if(!1!==i){let e=null==(l=y.value)?void 0:l.inputElRef;e&&(e.value=String(i||"")),T.value===i&&$()}else $();let{onBlur:u}=e,{nTriggerFormBlur:r}=b;u&&(0,m.R)(u,n),r(),(0,a.Y3)(()=>{$()})},handleClear:function(n){let{onClear:t}=e;t&&(0,m.R)(t,n),j(null)},handleMouseDown:function(e){var n,t,l;(null==(n=V.value)?void 0:n.$el.contains(e.target))&&e.preventDefault(),(null==(t=I.value)?void 0:t.$el.contains(e.target))&&e.preventDefault(),null==(l=y.value)||l.activate()},handleAddClick:()=>{J||L()},handleMinusClick:()=>{G||Y()},handleAddMousedown:function(){_(),X=window.setTimeout(()=>{J=window.setInterval(()=>{L()},100)},800),(0,l.on)("mouseup",document,_,{once:!0})},handleMinusMousedown:function(){W(),Q=window.setTimeout(()=>{G=window.setInterval(()=>{Y()},100)},800),(0,l.on)("mouseup",document,W,{once:!0})},handleKeyDown:function(n){var t,l;if("Enter"===n.key){if(n.target===(null==(t=y.value)?void 0:t.wrapperElRef))return;!1!==E({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})&&(null==(l=y.value)||l.deactivate())}else if("ArrowUp"===n.key){if(!z.value||!1===e.keyboard.ArrowUp)return;n.preventDefault(),!1!==E({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})&&L()}else if("ArrowDown"===n.key){if(!K.value||!1===e.keyboard.ArrowDown)return;n.preventDefault(),!1!==E({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})&&Y()}},handleUpdateDisplayedValue:function(n){M.value=n,!e.updateValueOnInput||e.format||e.parse||void 0!==e.precision||E({offset:0,doUpdateIfValid:!0,isInputing:!0,fixPrecision:!1})},mergedTheme:d,inputThemeOverrides:{paddingSmall:"0 8px 0 10px",paddingMedium:"0 8px 0 12px",paddingLarge:"0 8px 0 14px"},buttonThemeOverrides:(0,a.Fl)(()=>{let{self:{iconColorDisabled:e}}=d.value,[n,t,l,u]=(0,i.m4)(e);return{textColorTextDisabled:`rgb(${n}, ${t}, ${l})`,opacityDisabled:`${u}`}})})},render(){let{mergedClsPrefix:e,$slots:n}=this,t=()=>(0,a.h)(g.Rb,{text:!0,disabled:!this.minusable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleMinusClick,onMousedown:this.handleMinusMousedown,ref:"minusButtonInstRef"},{icon:()=>(0,b.gI)(n["minus-icon"],()=>[(0,a.h)(o.Z,{clsPrefix:e},{default:()=>(0,a.h)(d,null)})])}),l=()=>(0,a.h)(g.Rb,{text:!0,disabled:!this.addable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleAddClick,onMousedown:this.handleAddMousedown,ref:"addButtonInstRef"},{icon:()=>(0,b.gI)(n["add-icon"],()=>[(0,a.h)(o.Z,{clsPrefix:e},{default:()=>(0,a.h)(s.Z,null)})])});return(0,a.h)("div",{class:[`${e}-input-number`,this.rtlEnabled&&`${e}-input-number--rtl`]},(0,a.h)(x.Z,{ref:"inputInstRef",autofocus:this.autofocus,status:this.mergedStatus,bordered:this.mergedBordered,loading:this.loading,value:this.displayedValue,onUpdateValue:this.handleUpdateDisplayedValue,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,builtinThemeOverrides:this.inputThemeOverrides,size:this.mergedSize,placeholder:this.mergedPlaceholder,disabled:this.mergedDisabled,readonly:this.readonly,round:this.round,textDecoration:this.displayedValueInvalid?"line-through":void 0,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onClear:this.handleClear,clearable:this.clearable,inputProps:this.inputProps,internalLoadingBeforeSuffix:!0},{prefix:()=>{var l;return this.showButton&&"both"===this.buttonPlacement?[t(),(0,b.K9)(n.prefix,n=>n?(0,a.h)("span",{class:`${e}-input-number-prefix`},n):null)]:null==(l=n.prefix)?void 0:l.call(n)},suffix:()=>{var i;return this.showButton?[(0,b.K9)(n.suffix,n=>n?(0,a.h)("span",{class:`${e}-input-number-suffix`},n):null),"right"===this.buttonPlacement?t():null,l()]:null==(i=n.suffix)?void 0:i.call(n)}}))}})}}]);\ No newline at end of filediff --git a/core/public/dist/static/js/index.45f99906.js b/core/public/dist/static/js/index.45f99906.jsnew file mode 100644index 00000000..351114db--- /dev/null+++ b/core/public/dist/static/js/index.45f99906.js@@ -0,0 +1 @@+(()=>{var e={12052:function(e,t,a){var i={"./api.ts":"25735","./automation.ts":"63768","./contacts.ts":"52345","./domain.ts":"78280","./logs.ts":"90427","./mailbox.ts":"5987","./market.ts":"30794","./overview.ts":"65449","./settings.ts":"84609","./smtp.ts":"48296","./template.ts":"31255"};function o(e){return a(n(e))}function n(e){if(!a.o(i,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=n,e.exports=o,o.id=12052},34541:function(e,t,a){"use strict";a.d(t,{A:()=>p,e:()=>l});var i=a(64767),o=a(52672),n=a(31708),r=a(68271);let l=i.Z.create({baseURL:r.FZ,timeout:6e5,headers:{"Content-Type":"application/json"},fetchOptions:{prefix:"/api",successMessage:!1}}),s=["/login"],d=new Map,c=e=>{let{method:t,url:a,params:i,data:o}=e;return`${t}-${a}-${JSON.stringify(i)}-${JSON.stringify(o)}`},m=e=>{let t=c(e);if(d.has(t)){var a;null==(a=d.get(t))||a.abort(),d.delete(t)}let i=new AbortController;e.signal=i.signal,d.set(t,i)},u=e=>{let t=c(e);d.has(t)&&d.delete(t)};l.interceptors.request.use(e=>{m(e);let{headers:t,url:a}=e;if(!s.includes(a||"")){let e=(0,n.LM)();t.Authorization=`Bearer ${e.login.token}`}return e}),l.interceptors.request.use(e=>{let{fetchOptions:t}=e;return(0,r.Kn)(t)&&(e.url=`${t.prefix}`+e.url),e}),l.interceptors.request.use(e=>{let{fetchOptions:t}=e;if((0,r.Kn)(t)&&t.loading){let{close:e}=r.v0.loading(t.loading);t.loadFn=e}return e}),l.interceptors.response.use(e=>{u(e.config);let{fetchOptions:t}=e.config,{code:a,data:i,msg:l,success:s}=e.data||{};if(null==t?void 0:t.cancelResInterceptor)return Promise.resolve(i);if((null==t?void 0:t.loadFn)&&t.loadFn(),"application/octet-stream"===e.data.type){let t=window.URL.createObjectURL(new Blob([e.data])),a=document.createElement("a");a.href=t;let o=e.headers["content-disposition"],n=o?decodeURIComponent(o.split("filename=")[1]):"downloaded_file";return a.setAttribute("download",n),document.body.appendChild(a),a.click(),document.body.removeChild(a),window.URL.revokeObjectURL(t),Promise.resolve(i)}return 0===a&&s?((null==t?void 0:t.successMessage)&&r.v0.success(l),Promise.resolve(i)):(!s&&l&&r.v0.error(l,{close:!0}),401===a&&((0,n.LM)().resetLoginInfo(),o.Z.push("/login")),Promise.reject(e.data))},e=>(i.Z.isCancel(e)||u(e.config||{}),Promise.reject(e)));let p=()=>{d.forEach((e,t)=>{e.abort(),d.delete(t)})}},98003:function(e,t,a){"use strict";a.d(t,{Sv:()=>n,Vb:()=>r,cT:()=>o,m0:()=>l});var i=a(34541);let o=(e,t)=>i.e.post("/file/upload",e,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:e=>{null==t||t(e)}}),n=e=>i.e.get("/file/download",{params:e,responseType:"blob"}),r=()=>i.e.get("/languages/get"),l=e=>i.e.post("/languages/set",e,{fetchOptions:{loading:"正在设置语言,请稍候...",successMessage:!0}})},73282:function(e,t,a){"use strict";a.d(t,{kS:()=>r,o1:()=>l,x4:()=>n});var i=a(34541);let{t:o}=a(76882).Z.global,n=e=>i.e.post("/login",e,{fetchOptions:{successMessage:!0}}),r=()=>i.e.post("/logout",{},{fetchOptions:{loading:o("user.api.loading.logout"),successMessage:!0}}),l=()=>i.e.get("/get_validate_code")},76882:function(e,t,a){"use strict";a.d(t,{m:()=>s,Z:()=>d});var i=a(52495),o=JSON.parse('{"common":{"all":{"text":"All","domain":"All Domains"},"time":{"today":"Today","yesterday":"Yesterday","last7days":"Last 7 Days","custom":"Custom"},"unit":{"days":"Days","hours":"Hours","minutes":"Minutes","seconds":"Seconds"},"columns":{"actions":"Operator"},"actions":{"view":"View","edit":"Edit","delete":"Delete","add":"Add","create":"Create","update":"Update","save":"Save","cancel":"Cancel","confirm":"Confirm","back":"Back","search":"Search","reset":"Reset","more":"More","refresh":"Refresh","copy":"Copy","restart":"Restart","import":"Import","export":"Export","download":"Download","upload":"Upload","apply":"Apply","test":"Test","rename":"Rename","preview":"Preview","modify":"Modify","config":"Config","help":"Help","settings":"Settings","clear":"Clear"},"useCopy":{"noText":"No text to copy","success":"Copy successful","failed":"Copy failed"}},"components":{"tableHelp":{"text1":"Submit {issues} for questions or suggestions, and light up a {star} on Github to support the project.","text2":"We highly value your active participation. Thank you."},"upload":{"error":{"fileSizeExceeded":"The size of file [{fileName}] cannot exceed {maxSize}MB","uploadFailed":"File upload failed. Please try again"},"prompt":{"dragText":"Click or drag files to this area","supportedFiles":"Only {suffix} files are supported"}}},"layout":{"header":{"submit":"Submit a Request"},"menu":{"overview":"Overview","market":"Email Marketing","task":"Task","template":"Template","sendApi":"Send API","contacts":"Contacts","subscribers":"Subscribers","group":"Group","domain":"Domain","mailboxes":"Mailboxes","settings":"Settings","common":"Common Settings","bcc":"BCC","forward":"Mail Forward","logout":"Logout","service":"Service","logs":"Logs","operation_logs":"Operation Logs","error_logs":"Error Logs"}},"login":{"title":"BillionMail","form":{"usernamePlaceholder":"Username","passwordPlaceholder":"Password","loginButton":"Login","captchaPlaceholder":"Verification code","changeCaptcha":"Click to change","captcha":"Verification code"},"validation":{"usernameRequired":"Username cannot be empty!","passwordRequired":"Password cannot be empty!","captchaRequired":"Please enter the verification code"},"messages":{"loginSuccess":"Login successful","loginFailed":"Login failed","networkError":"Network error, please try again later"}},"user":{"logout":{"title":"Tips","content":"Are you sure you want to logout?"},"api":{"loading":{"logout":"Logging out, please wait..."}}},"overview":{"delivered":"Delivered","opened":"Opened","clicked":"Clicked","bounced":"Bounced","delayedQueue":"Delayed Queue","mailProviders":"Mail Providers","sendStats":"Send Statistics","provider":{"mailProvider":"Mail Provider","delivered":"Delivered","open":"Open","click":"Click","bounce":"Bounce"},"send":{"successRate":"Success Rate","success":"Success","fail":"Failed","sendSuccess":"Send Success","sendFail":"Send Failed"},"rate":{"openRate":"Open Rate","clickRate":"Click Rate","bounceRate":"Bounce Rate"},"sendFailDetails":{"title":"Send Failed Details","columns":{"recipient":"Recipient","dsn":"Dsn","delay":"Delay","delays":"Delays","status":"Status","relay":"Relay","details":"Details"}},"sendQueue":{"title":"Send Queue","breadcrumb":"Send Queue","buttons":{"refresh":"Refresh Queue","quickClear":"Quick Clear","paramConfig":"Queue Parameter Configuration","resend":"Resend","batchDelete":"Batch Delete","batchResend":"Resend"},"table":{"columns":{"sender":"Sender","recipient":"Recipient","arrivalTime":"Arrival Time","messageSize":"Message Size","delayReason":"Delay Reason","action":"Action"}},"confirm":{"quickClear":{"title":"Quick Clear","content":"Are you sure you want to quickly clear the queue?"},"resend":{"title":"Resend","content":"Are you sure you want to resend the queue?"},"delete":{"title":"Delete Queue","content":"Are you sure you want to delete this queue?"},"batchDelete":{"title":"Batch Delete","content":"Are you sure you want to delete {count} send queues?"},"batchResend":{"title":"Batch Resend","content":"Are you sure you want to resend {count} send queues?"}},"paramConfig":{"title":"Queue Parameter Configuration","fields":{"bounceQueueLifetime":"Bounce Queue Lifetime","maximalQueueLifetime":"Maximal Queue Lifetime","minimalBackoffTime":"Minimal Backoff Time","maximalBackoffTime":"Maximal Backoff Time","queueRunDelay":"Queue Run Delay","triggerTimeout":"Trigger Timeout"}},"queueLogs":{"title":"Queue Logs"}},"api":{"loading":{"resendQueue":"Resending queue, please wait...","deleteQueue":"Deleting queue, please wait...","setQueueConfig":"Setting queue parameters, please wait...","clearQueue":"Clearing queue, please wait..."}}},"market":{"task":{"title":"Task","actions":{"add":"Add Task","detail":"View","export":"Export","send":"Send","pause":"Pause","analytics":"Analytics"},"columns":{"time":"Time","subject":"Subject","sender":"Sender","recipients":"To","success":"Success","failed":"Failed","status":"Status","remark":"Remark","estimatedTime":"Estimated Complet Time","progress":"Progress","email":"Email","errorMsg":"Error Message"},"status":{"pending":"Pending","processing":"Processing","done":"Done","noIpWarmup":"No IP Warmup"},"search":{"subjectPlaceholder":"Search by subject"},"changeStatus":{"title":"Change Task Status [{subject}]","startConfirm":"Start sending task now?","pauseConfirm":"After pausing the task, you can continue sending it!"},"delete":{"title":"Delete Task","confirm":"Are you sure you want to delete the task \\"{subject}\\"?"},"detail":{"title":"Task Details","displayName":"Display Name","sender":"Sender","subject":"Mail Subject","groups":"Groups","sendTime":"Send Time","unsubscribeLink":"Unsubscribe Link","threads":"Threads Num","remark":"Remark","yes":"Yes","no":"No","auto":"Auto"},"edit":{"addTitle":"Add Task","from":"From","to":"To","displayName":"Display Name","displayNamePlaceholder":"Please enter display name","subject":"Subject","subjectPlaceholder":"Please enter mail subject","recipients":"Recipients","recipientsPlaceholder":"Please select recipient groups","recipientsCount":"Send emails ({count} recipients)","template":"Email template","saveOutbox":"Save to outbox","ipWarmup":"Associate IP Warmup System","ipWarmupTip":"Enabling this will limit the sending rate","unsubscribeLink":"Unsubscribe link","threads":"Threads","threadsAuto":"Auto","threadsCustom":"Custom","sendTime":"Send time","sendTimeNow":"Send now","sendTimeSchedule":"Schedule","remark":"Remark","remarkPlaceholder":"Please enter remark","testEmail":"Test email","testEmailPlaceholder":"Please enter test email","sendTest":"Send test mail","viewCase":"View case","preview":{"empty":"Please select an email template to preview"},"validation":{"displayNameRequired":"Please enter display name","subjectRequired":"Please enter mail subject","recipientsRequired":"Please select contact person","sendTimeRequired":"Please select send time","testEmailRequired":"Please enter test email","templateRequired":"Please select email template"},"discard":{"title":"Tips","content":"Do you want to discard your current edits?"}},"createGroup":{"title":"Create Group","groupName":"Group Name","email":"Email","groupNamePlaceholder":"Please enter group name","validation":{"groupNameRequired":"Please enter group name"}},"loading":{"creating":"Creating task, please wait...","deleting":"Deleting task, please wait...","pausing":"Pausing task, please wait...","resuming":"Resuming task, please wait...","sendingTest":"Sending test email, please wait..."}},"template":{"title":"Template","name":"Template Name","content":"Template Content","uploadHtml":"Upload HTML File","file":"Template File","actions":{"add":"Add Template","preview":"Preview","duplicate":"Duplicate","export":"Export","import":"Import"},"columns":{"name":"Template Name","type":"Type","createdAt":"Created At"},"types":{"drag":"Drag","html":"HTML","ai":"AI"},"edit":{"confirm":"Confirm","cancel":"Cancel"},"search":{"namePlaceholder":"Search template name"},"delete":{"title":"Delete Template","confirm":"Are you sure to delete template {name}?"},"form":{"name":"Template Name","type":"Template Type","content":"Template Content"},"add":{"title":"Add Template","namePlaceholder":"Please enter template name","validation":{"nameRequired":"Please enter template name","uploadRequired":"Please upload HTML file"}},"preview":{"title":"Template Preview"},"loading":{"creating":"Creating template, please wait...","updating":"Updating template, please wait...","copying":"Copying template, please wait...","deleting":"Deleting template, please wait..."}}},"template":{"template":"Template","createTpl":{"sourceUrl":"Source Url","useAiTools":"Use AI tools to help you automatically generate email content and improve your work efficiency.","create":"Create","notices":{"domainListEmpty":"Please create the first domain for BillionMail to send emails","aiConfigurationInvalid":"AI large model is not currently configured, you cannot use AI model to create email templates","invalidBrandDomain":"Please create brand information for the domain first"},"buttons":{"createNow":"Create Now","configureNow":"Configure Now"}},"ai":{"title":"AI Template","welcomeMessage":"You can say: Create a welcome email for users joining {domain}","greeting":"Let\'s create a beautiful email template.","brandName":"BillionMail","buttons":{"regenerate":"Regenerate","info":"Info","view":"View","edit":"Edit","copy":"Copy","copied":"Copied","apply":"Apply"},"spintax":{"instruction":"Use Spintax syntax, with a requirement to include {count} variations"},"tips":{"saveShortcut":"[Ctrl + s] to save your change"},"loading":{"message":"Loading... Please wait."},"send":"Send"}},"contacts":{"subscribers":{"joinGroup":"Join Group","selectGroupHint":"Please select a group on the right","trends":{"title":"Subscription Trends","subscriber":"Subscriber"},"search":{"emailPlaceholder":"Enter an email address to search"},"columns":{"email":"Email","name":"Group Name","createdAt":"Creation Time"},"status":{"subscribed":"Subscribed","unsubscribed":"Unsubscribed"},"actions":{"changeGroup":"Change Group"},"delete":{"title":"Delete Subscriber","confirm":"Are you sure you want to delete the subscriber {email}?"},"select":{"prefix":"Group: "},"edit":{"title":"Change Group","email":"Email","group":"Group","status":"Status","attributes":"Attributes","statusOptions":{"subscribe":"Subscribe","unsubscribe":"Unsubscribe"},"validation":{"emailRequired":"Please enter email","groupRequired":"Please select group"}},"import":{"title":"Import Contacts","group":"Group","data":"Data","pasteData":"Paste Data","uploadFile":"Upload File","pastePlaceholder":["Please paste data, one email, attributes(can be empty) per line","e.g., [email protected]","[email protected],\\"{\\"\\"age\\"\\": \\"\\"13\\"\\", \\"\\"Gender\\"\\": \\"\\"XXX\\"\\"}\\""],"fileTypeHint":"File type: csv, not exceeding 5 MB","overwriteLabel":"Overwrite Existing Users","overwriteDescription":"Whether to overwrite existing customer information in the list according to imported data during import","subscriptionStatus":"Subscription Status","status":"Status","exampleCsvLabel":"Example CSV","overwriteOptions":{"no":"No","yes":"Yes"},"subscriptionOptions":{"subscribe":"Subscribe","unsubscribe":"Unsubscribe"},"statusOptions":{"confirmed":"Confirmed","unconfirmed":"Unconfirmed"},"validation":{"groupRequired":"Please select group","dataRequired":"Please paste data, one email per line","fileRequired":"Please upload file"}},"loading":{"importSubscribers":"Importing contacts, please wait...","updateSubscriberGroup":"Updating group, please wait...","deleteSubscriber":"Deleting contacts, please wait..."}},"group":{"search":{"namePlaceholder":"Search by group name"},"columns":{"name":"Group Name","subscribers":"Subscribers","unsubscribe":"Unsubscribed","createdAt":"Created At","type":"Type"},"type":{"doubleOptin":"Double Opt-In","singleOptin":"Single Opt-In"},"export":{"title":"Export Group","confirm":"Export {count} group(s)?"},"form":{"name":"Group Name","file":"File","nameRequired":"Please enter group name"},"add":{"title":"Add Group"},"rename":{"title":"Rename Group"},"delete":{"title":"Delete Group","confirm":"Are you sure to delete group {name}?"},"fileUpload":{"hint":"File type: csv, not exceeding 5 MB","emptyHint":"An empty group will be created when no file is uploaded"},"loading":{"createGroup":"Creating group, please wait...","updateGroup":"Updating group, please wait...","deleteGroup":"Deleting group, please wait...","exportGroup":"Exporting, please wait...","saveSettings":"Saving, please wait..."}},"settings":{"title":"Settings","tabs":{"subscribeForm":"Subscribe Form","subscribeSettings":"Subscribe Settings"},"subscribeForm":{"separateSubscriptionPage":{"title":"Separate Subscription Page","description":"Simply copy and share this URL with users – the subscription form is ready to use."},"embeddableForm":{"title":"Embeddable Form","description":"Easily embed this subscription form into your website pages."}},"subscribeSettings":{"listType":{"label":"List Type","placeholder":"Please select list type","options":{"doubleOptin":"Double Opt-in","singleOptin":"Single Opt-in"}},"confirmEmail":{"subject":"Confirmation Email Subject","redirectLink":"Confirmation Redirect Link","redirectDescription":"Enter the custom link below to redirect users to a confirmation page for their \'Double Opt-in\' subscription","emailContent":"Confirmation Email","emailTip1":"If you customize the confirmation email, don\'t forget to include the confirmation link","emailTip2":"somewhere in your message"},"welcomeEmail":{"subject":"Welcome Email Subject","redirectLink":"Welcome Redirect Link","redirectDescription":"Please enter the link below to direct users to a custom confirmation page after they subscribe successfully","emailContent":"Welcome Email","sendThroughTip":"Messages are sent through the","mailboxTip":"mailbox of the default sending domain","enabledDescription":"When enabled, a thank you email will be sent to the user when they subscribe via the subscription form or API. This will not be triggered for manually added users.","templateVariablesTip":"You can use the information you collect in the subject and message of your thank you email, which is the Template Variables."},"alreadySubscribed":{"redirectLink":"Already Subscribed Redirect Link"}}},"suspend":{"title":"Suspended Emails","buttons":{"scanInvalidDomains":"Scan Invalid Domains","scanLogs":"Scan Logs","autoBlockFailedEmails":"Auto block failed emails"},"search":{"emailPlaceholder":"Please enter email"},"columns":{"email":"Email","description":"Description","status":"Status","addTime":"Add Time"},"status":{"invalid":"Invalid","checking":"Checking"},"confirm":{"clear":{"title":"Clear","content":"This will clear all data under that type, do you continue?"},"delete":{"title":"Delete","content":"Are you sure you want to delete [{email}]"}},"scan":{"title":"Scan Invalid Domains","confirmText":"Scan","form":{"group":"Group","method":"Method","groupRequired":"Please select group"},"methods":{"noOperation":"no-operation","addToExceptionTable":"Added to the exception prevention table","deleteFromGroup":"The abnormal mailbox is deleted from the group"}},"scanLogs":{"title":"Scan Logs","none":"None"},"api":{"loading":{"deleting":"Deleting, please wait...","scanning":"Scanning, please wait...","clearing":"Clearing, please wait...","setting":"Setting, please wait..."}}}},"domain":{"title":"MailDomain","addDomain":"Add Domain","help":"Add the domain you want to use to send emails","columns":{"domain":"Domain","quota":"Quota","mailboxes":"Mailboxes","defaultMailboxSize":"Default Mailbox Size","dedicatedIp":"Dedicated IP","actions":"Actions"},"ipSet":{"title":"Dedicated IP Settings","titleWithDomain":"Dedicated IP Settings [{domain}]","dedicatedIp":"Dedicated IP: ","configFile":"Config File: ","connectionStatus":"Connection Status: ","warning":"You can activate the dedicated IP connection status by manually executing the following command in the SSH terminal\\nIf you have multiple domains that need to configure dedicated IPs, we recommend that you configure all domains first and then execute the following command to avoid multiple interruptions to the mail server","getCommand":"Get Command","copyCommand":"Copy Command","operationReminder":"Operation Reminder","fixCommandTip":"If the command execution fails, you can execute this command to fix it: ","understood":"Got it","validation":{"getCommandFirst":"Please get the command first"}},"status":{"default":"Default"},"actions":{"dnsRecord":"DNS Records","setDefault":"Set Default"},"setDefault":{"title":"Set Default [{domain}]","confirm":"Are you sure to set this domain as default?"},"delete":{"title":"Delete Domain","confirm":"Are you sure you want to delete domain [{domain}]?"},"waitAndCheckDomainStatus":{"success":"Brand information initialization successful.","error":"Brand information initialization failed.","loading":"Initializing brand information, please wait..."},"form":{"addTitle":"Add Domain","editTitle":"Edit Domain","domain":"Domain","domainPlaceholder":"Please enter domain, e.g.: billionmail.com","urlsPlacement":"Please enter url, e.g.: https://billionmail.com","aRecord":"A Record","aRecordPlaceholder":"Please enter A record, e.g.: mail.aapanel.com","quota":"Domain Quota","mailboxCount":"Mailbox Count","globalCatch":"Catch All","globalCatchPlaceholder":"Forward non-existent emails to this address","dedicatedIp":"Dedicated IP","notSet":"Not Set","testConnection":"Test Connection","validation":{"domainRequired":"Domain name cannot be empty!","domainInputRequired":"Please enter domain first","dedicatedIpRequired":"Please enter dedicated IP first"},"tips":{"aRecordFailed":"A record resolution failed. Please check if the A record domain is resolved to the server IP","dnsSetup":"You need to add an A record in your DNS provider\'s console","cloudflare":"If using CloudFlare, please select [DNS only] when adding records"},"createBrandInfo":"Automatically create brand information","modelNotice":"To use this feature, you need to integrate an AI model first.","integrateImmediately":"Integrate immediately","modelDescription":"AI-driven information import automatically analyzes and creates brand information from email domains. After creation, you can modify it at your discretion.","extractBrand":"Extract brand and color","analyzeStructure":"Analyze content structure","importContent":"Import images and content","customLogo":"Use a custom logo (optional)","specifyDomain":"Specify a domain name","addMoreUrls":"Add more URLs","maxUrl":"Maximum of 3 URLs can be filled in."},"dns":{"title":"DNS Records","verify":"Records set, verify DNS resolution","status":{"ok":"OK","notSet":"Not Set"},"columns":{"domain":"Domain"},"table":{"recordType":"Record Type","host":"Host","value":"Value","mxPriority":"MX Priority"},"step1":{"title":"Step 1: Add A Record"},"step2":{"title":"Step 2: Add MX Record","description":"Login to your domain service provider and add an MX record for email service (please copy the following parameters directly)"},"step3":{"title":"Step 3: Add TXT Record","description":"Add TXT records for email anti-spam (please copy the following parameters directly)"},"step4":{"title":"Step 4: Add PTR Record","description1":"(Optional) PTR record is used for reverse DNS lookup","description2":"Contact your IP provider to create PTR record"}},"ssl":{"expired":"Expired","daysLeft":"{days} days","notSet":"Not Set","title":"Domain SSL","tabs":{"otherCertificate":"Other Certificate"},"cert":{"brand":"Brand","domains":"Certificate Domains","privateKey":"Private Key (KEY)","certificate":"Certificate (CRT/PEM)","keyPlaceholder":"Enter private key content","certPlaceholder":"Enter certificate content"},"actions":{"applyFree":"Apply Free Certificate"},"tips":{"paste":"Paste your KEY and CRT content, then save","chainCheck":"If the browser prompts that the certificate chain is incomplete, please check if the PEM certificate is correctly concatenated","pemFormat":"PEM format certificate = Domain certificate .crt + Root certificate (root_bundle).crt","defaultSite":"When no SSL default site is specified, sites without SSL configuration will use HTTPS to access sites with SSL enabled"}},"edit":{"pageTitle":"Domain / Edit domain","save":"Save","breadcrumb":{"domain":"Domain","editDomain":"Edit Domain"},"tabs":{"domainConfiguration":"Domain Configuration","projectDetails":"Project Details","companyProfile":"Company Profile","styling":"Styling","sitemap":"Sitemap","footerSettings":"Footer Settings","aiSettings":"AI Settings"},"domainConfiguration":{"title":"Email Domain Configuration","domain":"Domain","domainQuota":"Domain Quota","mailboxCount":"Mailbox Count","catchAll":"Catch all","dedicatedIp":"Domain Dedicated IP","dedicatedIpDesc":"Domain {domain} will specify this dedicated IP in iptables when sending and receiving emails. If your server has only one IP, you don\'t need to set this feature","notSet":"Not Set","testConnection":"Test Connection","catchAllDesc":"After you fill in the email here, all unknown emails under this domain will be forwarded to this email","domainQuotaDesc":"Set the available space for this domain","mailboxCountDesc":"Set how many mailboxes can be created for this domain","autoCreateBrand":"Automatically create brand information","aiIntegrationWarning":"To use this feature, you need to integrate an AI model first.","integrateImmediately":"Integrate immediately","aiDescription":"AI-driven information import automatically analyzes and creates brand information from email domains. After creation, you can modify it at your discretion.","features":{"extractBrand":"Extract brand and color","analyzeStructure":"Analyze content structure","importContent":"Import images and content","customLogo":"Use a custom logo (optional)"},"specifyDomain":"Specify a domain name","addMoreUrls":"Add more URLs","createNow":"Create Immediately","brandInfo":"Brand information","noBrandInfo":"No brand information available.","fillDomain":"Please fill in the domain name","fillValidDomain":"Please fill in a valid domain name","validation":{"setDedicatedIpFirst":"Please set the domain dedicated IP first"},"api":{"testingConnection":"Testing connection, please wait..."}},"projectDetails":{"title":"Project Details","projectName":"Project Name","description":"Description","brandLogos":"Brand Logos","logoSystem":"Logo System","logoSystemDesc":"Upload your brand\'s logo system to maintain consistent branding across your project","primaryLogo":"Primary Logo","primaryLogoDesc":"Horizontal version for headers","secondaryLogo":"Secondary Logo","secondaryLogoDesc":"Vertical/stacked version","favicon":"Favicon","faviconDesc":"Icon for browser tabs","loadingFailed":"loading failed","knowledgeBase":"Knowledge Base","newFile":"New File","edit":"Edit","preview":"Preview","newKnowledgeFile":"New Knowledge File","fileName":"File Name","day":"days","hour":"hours","minute":"minutes","ago":"ago","justNow":"just now","close":"Close","cancel":"Cancel","create":"Create","notice":"Notice","sureDel":"Are you sure you want to delete?"},"companyProfile":{"title":"Company Detail","legalCompanyName":"Legal Company Name","website":"web_site","organizationNumber":"Organization Number","additionalInfo":"Additional Company Information","contactInfo":"Contact Information","contactEmail":"Contact Email","phoneNumber":"Phone Number","supportUrl":"Support URL"},"styling":{"colorPalette":"Color Palette","accentColor":"Accent Color","textColor":"Text Color","pageBackground":"Page Background","containerBackground":"Container Background","linkFooterColor":"Link footer color","linkSocialColor":"Link social color","typography":"Typography","headingFont":"Heading Font","bodyFont":"Body Font","preview":"Preview:","previewText":"The quick brown fox jumps over the lazy dog","typographyGuidelines":"Typography Guidelines:","webSafeFonts":"Use web-safe fonts for better compatibility","fallbackFonts":"Always include fallback fonts for better performance"},"sitemap":{"title":"Sitemap","addLink":"Add link"},"footerSettings":{"title":"Footer Settings","additionalContent":"Additional Content","copyrightText":"Copyright Text"},"aiSettings":{"title":"AI Settings","defaultInstructions":"Default AI Instructions","emailGenerationInstructions":"Instructions for Email Generation","instructionsDescription":"These instructions will be used as default guidelines when generating new emails. You can override these instructions for individual emails as needed."},"common":{"daysAgo":"days ago","noBrandInfo":"There is no brand information for the current domain."}},"api":{"loading":{"creating":"Creating domain, please wait...","updating":"Updating domain, please wait...","deleting":"Deleting domain, please wait...","settingSSL":"Setting SSL certificate, please wait...","refreshingDns":"Refreshing DNS records, please wait...","applyingCert":"Applying certificate, please wait...","settingDefault":"Setting default domain, please wait...","settingBrandInfo":"Setting domain brand info, please wait...","testingConnection":"Testing connection, please wait..."}}},"mailbox":{"title":"Mailbox Management","actions":{"add":"Add Mailbox","batchAdd":"Batch Add","batchDelete":"Batch Delete","exportAll":"Export All"},"search":{"usernamePlaceholder":"Search username"},"domain":{"selectPlaceholder":"Select domain"},"columns":{"username":"Username","password":"Password","loginInfo":"Login Info(WebMail / SMTP)","quota":"Quota","type":"Type","status":"Status"},"userType":{"admin":"Admin","general":"General User"},"form":{"addTitle":"Add Mailbox","editTitle":"Edit Mailbox","batchAddTitle":"Batch Add","exportTitle":"Export Mailbox","importTitle":"Import Mailbox","emailAddress":"Email Address","password":"Password","passwordPlaceholder":"Enter your mailbox password","quota":"Quota","userType":"User Type","status":"Status","domain":"Domain","prefix":"Email Prefix","count":"Email Count"},"validation":{"emailRequired":"Please enter email address","passwordLength":"Password must be at least 8 characters","passwordFormat":"Password must contain at least one uppercase letter, one lowercase letter and one number","domainRequired":"Please select domain","prefixRequired":"Please enter email prefix","countRequired":"Please enter email count","fileRequired":"Please select upload file"},"delete":{"title":"Delete Mailbox","confirm":"Are you sure you want to delete mailbox [{name}]?","batchConfirm":"Are you sure you want to delete {count} mailboxes?"},"loginInfo":{"template":"WebMail: {webmail}\\nUsername: {username}\\nPassword: {password}\\nPOP service [ Address: {mx} Port: 110/995 ]\\nIMAP service [ Address: {mx} Port: 143/993 ]\\nSMTP service [ Address: {mx} Port: 25/465/587 ]"},"api":{"loading":{"creating":"Creating Mailbox, please wait...","updating":"Updating Mailbox, please wait...","deleting":"Deleting Mailbox, please wait...","exporting":"Exporting Mailbox, please wait...","importing":"Importing Mailbox, please wait..."}}},"smtp":{"title":"SMTP Relay Service Management","description":"Manage your SMTP relay services with support for multiple service providers","empty":"No SMTP relay services available","providers":{"gmail":"Gmail","mailgun":"Mailgun","aws":"AWS SES","sendgrid":"SendGrid","custom":"Custom SMTP"},"delete":{"title":"Delete Relay","confirm":"Are you sure you want to delete this relay service [{name}]?"},"card":{"domain":"Bound Domain","server":"Server","port":"Port","username":"Username","dnsUpdateRequired":"DNS records need updating"},"form":{"addTitle":"Add SMTP","editTitle":"Edit SMTP","remark":"Remark","domain":"Bound Domain","server":"SMTP Server","port":"SMTP Port","username":"Username","password":"Password","authMethod":"Authentication Method","advancedFeatures":"Advanced Options","testConnection":"Test Connection","bind":" [Bound]","skipTlsVerify":"Skip TLS Verification","tlsOptions":{"skip":"Skip","noSkip":"Don\'t Skip"},"validation":{"nameRequired":"Please enter a relay name","domainRequired":"Please select a bound domain","serverRequired":"Please enter an SMTP server","portRequired":"Please enter an SMTP port","usernameRequired":"Please enter a username","passwordRequired":"Please enter a password"}},"status":{"online":"Online","offline":"Offline"},"api":{"loading":{"adding":"Adding SMTP, please wait...","editing":"Editing SMTP, please wait...","testing":"Testing SMTP connection, please wait...","deleting":"Deleting SMTP, please wait..."}}},"settings":{"title":"Settings","service":{"title":"Service Status","tips":"Tips: Ctrl+F Search keywords, Ctrl+S Save, Ctrl+H Search and replace","editTitle":"Online Edit {name}","columns":{"name":"Service Name","status":"Status"},"status":{"running":"Running","stopped":"Stopped"},"actions":{"restart":"Restart"},"restart":{"title":"Restart Service","confirm":"Are you sure you want to restart [{name}]?"}},"bcc":{"title":"BCC Management","add":"Add BCC","edit":"Edit BCC","needCopy":"Need Copy","copyTo":"Copy to","domain":"Domain","type":"BCC Type","status":"Status","active":"Active","types":{"sender":"When sending","recipient":"When receiving"},"delete":{"title":"Delete BCC [{address}]","content":"Whether to delete the BCC setting?"},"placeholders":{"needCopy":"Enter the users you need to BCC","copyTo":"Enter the email you need to receive the BCC"},"loading":{"adding":"Adding BCC, please wait...","saving":"Saving BCC, please wait...","deleting":"Deleting BCC, please wait..."}},"forward":{"add":"Add Forward","edit":"Edit Forward","columns":{"address":"Address","goto":"Goto","domain":"Domain","created":"Created","modified":"Modified","status":"Status"},"form":{"status":"Status","forwardedUsers":"Forwarded users","forwardedUsersPlaceholder":"Enter the mailbox that needs to be forwarded","domain":"Domain","domainPlaceholder":"Domain name of the Forwarded users","receivingUser":"Receiving user","receivingUserPlaceholder":"Users who need to accept forwarded mail. If there are multiple, please separate them with newlines"},"delete":{"title":"Delete mail forward","content":"Are you sure you want to delete mail forward [{address}]?"},"loading":{"adding":"Adding mail forward, please wait...","editing":"Editing mail forward, please wait...","deleting":"Deleting mail forward, please wait..."}},"common":{"confirm":"Update","security":{"title":"Security Settings","username":"Change Username","currentUsername":"Current Username","newUsernamePlaceholder":"Enter new username","usernameRule":"4-20 characters, letters and numbers","usernameExists":"Username already exists","changePassword":"Change Password","currentPassword":"Current Password","newPassword":"New Password","confirmPassword":"Confirm New Password","passwordStrength":"Password Strength","passwordMismatch":"Passwords do not match","strength":{"weak":"Weak","medium":"Medium","strong":"Strong"},"securityPath":"Change Security Path","currentPath":"Current Path","newPathPlaceholder":"Enter new path, e.g. admin-abc123","pathRule":"Recommend using complex path for enhanced security","usernameValidation":{"lengthError":"Username length must be between 4 and 20 characters","formatError":"Username must consist of letters, numbers or underscores","duplicateError":"Username cannot be the same as current username"}},"network":{"title":"Network Configuration","domain":"Domain Settings","currentDomain":"The access domain name of the console","newDomainPlaceholder":"Enter new domain, e.g. admin.yourdomain.com","domainRule":"Please enter a valid domain","ssl":"SSL Certificate Configuration","sslEnabled":"SSL Enabled","certStatus":"Certificate Status","certValid":"({days} days remaining)","sslCert":"SSL Certificate (PEM format)","sslKey":"Private Key (PEM format)","certPlaceholder":"-----BEGIN CERTIFICATE-----\\nMIIFazCCA1OgAwIBAgIURv...\\n-----END CERTIFICATE-----","keyPlaceholder":"-----BEGIN PRIVATE KEY-----\\nMIIEvQIBADANBgkqhkiG...\\n-----END PRIVATE KEY-----","updateSSL":"Update SSL Certificate","certValidStatus":"Certificate Valid","certExpiredStatus":"Certificate Expired","certExpireTime":"Certificate expires: {time}"},"system":{"title":"System Configuration","port":"Port Settings","currentPort":"Current Port","terminalRequired":"This setting requires terminal operation","copyCommand":"Copy the above command and execute it in the server terminal","commandCopied":"Command copied to clipboard","timezone":"Timezone Settings","currentTime":"Current System Timezone"},"ipWhitelist":{"title":"IP Whitelist","enable":"Enable","disable":"Disable","add":"Add","clear":"Clear","description":"Only allow IPs in the list to access, terminal command to disable: bm.sh cancel-ip-limit","placeholder":"Please enter IP address","validation":{"ipRequired":"Please enter IP address"},"confirm":{"deleteTitle":"Delete IP Whitelist","deleteContent":"Confirm to delete IP whitelist: {ip}","enableTitle":"Enable IP Whitelist","disableTitle":"Disable IP Whitelist","enableContent":"Confirm to enable IP whitelist, only whitelisted IP addresses can access after enabling","disableContent":"Confirm to disable IP whitelist, all IP addresses can access after disabling","clearTitle":"Clear IP Whitelist","clearContent":"Confirm to clear IP whitelist, all IP addresses can access after clearing"}},"proxy":{"title":"Reverse Proxy","description":"Reverse proxy address, used for external exposure, such as: subscription lists, unsubscribe emails, etc.","placeholder":"Please enter reverse proxy address","formatTip":"Format: https://example.com","reset":"Reset","resetConfirm":{"title":"Reset Reverse Proxy","content":"Confirm to reset reverse proxy?"}}},"api":{"loading":{"restarting":"Restarting service, please wait...","saving":"Saving configuration, please wait...","setting":"Setting, please wait...","settingSSL":"Setting SSL, please wait...","applyingCert":"Applying certificate, please wait...","adding":"Adding, please wait...","deleting":"Deleting, please wait...","clearing":"Clearing, please wait..."}},"aiModel":{"modelId":"Model ID","modelAlias":"Model Alias","modelFeature":"Model Feature","contentLength":"Maximum Context Length","supplierTitle":"Supplier Title","supplierName":"Supplier Name","cancel":"Cancel","confirm":"Confirm","aPIKey":"API Key","apiPath":"Base Url","check":"Check","getKey":"Click to Get Key","example":"Example","saveAPI":"Save API","model":"Model","byDefault":"By default, all models are retrieved from /models","addModel":"Add Model"}},"logs":{"title":"Logs","table":{"columns":{"username":"Username","type":"Type","operatingTime":"Operating Time","details":"Details"}},"filter":{"all":"All"},"search":{"placeholder":"Please enter details/IP to search"}},"api":{"title":"Send API","timeRange":"Time Range: ","status":"Status: ","search":"Search: ","searchPlaceholder":"Please enter API name","refreshData":"Refresh Data","createNew":"Create API","statusOptions":{"all":"All","active":"Active","inactive":"Inactive"},"columns":{"apiName":"API Name","apiKey":"API Key","sendCount":"Send Count","openRate":"Open Rate","clickRate":"Click Rate","bounceRate":"Bounce Rate","status":"Status"},"statusLabels":{"active":"Active","inactive":"Inactive"},"confirmDelete":{"title":"Delete API [{apiName}]","content":"Are you sure you want to delete this API?"},"overview":{"totalSend":"Total Sent","avgOpenRate":"Avg Open Rate","avgClickRate":"Avg Click Rate","avgBounceRate":"Avg Bounce Rate"},"form":{"apiName":"API Name","status":"Status","ipWhitelist":"IP Whitelist","apiNamePlaceholder":"Please enter API name","ipWhitelistPlaceholder":"Multiple IPs separated by commas, empty means no restriction","validation":{"apiNameRequired":"Please enter API name","addresserRequired":"Please select sender","templateRequired":"Please select template"},"title":{"edit":"Edit API","add":"Add API"}},"loading":{"creating":"Creating, please wait...","updating":"Updating, please wait...","deleting":"Deleting, please wait...","testing":"Testing, please wait..."}}}'),n=JSON.parse('{"common":{"all":{"text":"全部","domain":"全部域名"},"time":{"today":"今天","yesterday":"昨天","last7days":"近7天","custom":"自定义"},"columns":{"actions":"操作"},"unit":{"days":"天","hours":"小时","minutes":"分钟","seconds":"秒"},"actions":{"view":"查看","edit":"编辑","delete":"删除","add":"添加","create":"创建","update":"更新","save":"保存","cancel":"取消","confirm":"确认","back":"返回","search":"搜索","reset":"重置","more":"更多","refresh":"刷新","copy":"复制","restart":"重启","import":"导入","export":"导出","download":"下载","upload":"上传","apply":"应用","test":"测试","rename":"重命名","preview":"预览","modify":"修改","config":"配置","help":"Help","settings":"设置","clear":"清空"},"useCopy":{"noText":"没有要复制的文本","success":"复制成功","failed":"复制失败"}},"components":{"tableHelp":{"text1":"有问题或建议可提{issues},也可在Github给我们{star},","text2":"我们高度重视您的积极参与,谢谢。"},"upload":{"error":{"fileSizeExceeded":"文件【{fileName}】大小不能超过{maxSize}MB","uploadFailed":"上传文件失败,请重试"},"prompt":{"dragText":"点击或将文件拖拽到该区域","supportedFiles":"仅支持{suffix}文件"}}},"layout":{"header":{"submit":"提交需求"},"menu":{"overview":"概览","market":"邮件营销","task":"任务","template":"模板","sendApi":"发件API","contacts":"联系人","subscribers":"订阅","group":"分组","domain":"域名","mailboxes":"邮箱","settings":"设置","common":"常用设置","bcc":"BCC","forward":"邮件转发","logout":"退出","service":"服务","logs":"日志","operation_logs":"操作日志","error_logs":"错误日志"}},"login":{"title":"BillionMail","form":{"usernamePlaceholder":"用户名","passwordPlaceholder":"密码","loginButton":"登录","captchaPlaceholder":"验证码","changeCaptcha":"点击切换验证码","captcha":"验证码"},"validation":{"usernameRequired":"用户名不能为空!","passwordRequired":"密码不能为空!","captchaRequired":"请输入验证码"},"messages":{"loginSuccess":"登录成功","loginFailed":"登录失败","networkError":"网络错误,请稍后重试"}},"user":{"logout":{"title":"提示","content":"是否确认退出登录?","confirm":"确认","cancel":"取消"},"api":{"loading":{"logout":"正在退出登录,请稍候..."}}},"overview":{"delivered":"已送达","opened":"已打开","clicked":"已点击","bounced":"已退回","delayedQueue":"延迟队列","mailProviders":"邮件提供商","sendStats":"发送统计","provider":{"mailProvider":"邮件提供商","delivered":"送达率","open":"打开率","click":"点击率","bounce":"退回率"},"send":{"successRate":"成功率","success":"成功","fail":"失败","sendSuccess":"发送成功","sendFail":"发送失败"},"rate":{"openRate":"打开率","clickRate":"点击率","bounceRate":"退回率"},"sendFailDetails":{"title":"发送失败详情","columns":{"recipient":"收件人","dsn":"Dsn","delay":"延迟","delays":"延迟详情","status":"状态","relay":"中继","details":"详情"}},"sendQueue":{"title":"发送队列","breadcrumb":"发送队列","buttons":{"refresh":"刷新队列","quickClear":"快速清理","paramConfig":"队列参数配置","resend":"重新发送","batchDelete":"批量删除","batchResend":"重新发送"},"table":{"columns":{"sender":"发件人","recipient":"收件人","arrivalTime":"入队时间","messageSize":"邮件大小","delayReason":"延迟原因","action":"操作"}},"confirm":{"quickClear":{"title":"快速清理","content":"确认快速清理队列吗?"},"resend":{"title":"重新发送","content":"确认重新发送队列吗?"},"delete":{"title":"删除队列","content":"确认删除该队列吗?"},"batchDelete":{"title":"批量删除","content":"确认删除 {count} 个发送队列吗?"},"batchResend":{"title":"批量重新发送","content":"确认重新发送 {count} 个发送队列吗?"}},"paramConfig":{"title":"队列参数配置","fields":{"bounceQueueLifetime":"退回队列生存时间","maximalQueueLifetime":"最大队列生存时间","minimalBackoffTime":"最小退避时间","maximalBackoffTime":"最大退避时间","queueRunDelay":"队列运行延迟","triggerTimeout":"触发超时"}},"queueLogs":{"title":"队列日志"}},"api":{"loading":{"resendQueue":"正在重新发送队列中,请稍候...","deleteQueue":"正在删除队列中,请稍候...","setQueueConfig":"正在设置队列参数中,请稍候...","clearQueue":"正在清理队列中,请稍候..."}}},"market":{"task":{"title":"任务","actions":{"add":"添加任务","detail":"查看详情","export":"导出","send":"发送","pause":"暂停","analytics":"分析"},"columns":{"time":"时间","subject":"邮件主题","sender":"发件人","recipients":"收件人","success":"成功","failed":"失败","status":"状态","remark":"备注","estimatedTime":"预计完成时间","progress":"进度","email":"邮箱","errorMsg":"错误信息"},"status":{"pending":"等待中","processing":"处理中","done":"已完成","noIpWarmup":"未关联IP预热"},"search":{"subjectPlaceholder":"搜索邮件主题"},"changeStatus":{"title":"更改任务状态【{subject}】","startConfirm":"立即开始发送任务吗?","pauseConfirm":"暂停任务后,可以继续发送任务!"},"delete":{"title":"删除任务","confirm":"确定要删除任务 \\"{subject}\\" 吗?"},"detail":{"title":"任务详情","displayName":"显示名称","sender":"发件人","subject":"邮件主题","groups":"分组","sendTime":"发送时间","unsubscribeLink":"退订链接","threads":"线程数","remark":"备注","yes":"是","no":"否","auto":"自动"},"edit":{"addTitle":"添加任务","from":"发件人","to":"收件人","displayName":"显示名称","displayNamePlaceholder":"请输入显示名称","subject":"主题","subjectPlaceholder":"请输入邮件主题","recipients":"收件人","recipientsPlaceholder":"请选择收件人分组","recipientsCount":"发送邮件 ({count} 收件人)","template":"邮件模板","saveOutbox":"保存到发件箱","ipWarmup":"关联IP预热系统","ipWarmupTip":"开启后将会限制发件速率","unsubscribeLink":"退订链接","threads":"线程数","threadsAuto":"自动","threadsCustom":"自定义","sendTime":"发送时间","sendTimeNow":"立即发送","sendTimeSchedule":"定时发送","remark":"备注","remarkPlaceholder":"请输入备注","testEmail":"测试邮件","testEmailPlaceholder":"请输入测试邮箱","sendTest":"发送测试邮件","viewCase":"查看案例","preview":{"empty":"请选择邮件模板查看预览"},"validation":{"displayNameRequired":"请输入显示名称","subjectRequired":"请输入邮件主题","recipientsRequired":"请选择联系人","sendTimeRequired":"请选择发送时间","testEmailRequired":"请输入测试邮箱","templateRequired":"请选择邮件模板"},"discard":{"title":"提示","content":"是否放弃当前编辑?"}},"createGroup":{"title":"创建分组","groupName":"分组名称","email":"邮箱","groupNamePlaceholder":"请输入分组名称","validation":{"groupNameRequired":"请输入分组名称"}},"loading":{"creating":"正在创建任务,请稍候...","deleting":"正在删除任务,请稍候...","pausing":"正在暂停任务,请稍候...","resuming":"正在恢复任务,请稍候...","sendingTest":"正在发送测试邮件,请稍候..."}},"template":{"title":"模板","name":"模板名称","content":"模板内容","uploadHtml":"上传HTML文件","file":"模板文件","actions":{"add":"添加模板","preview":"预览","duplicate":"复制","export":"导出","import":"导入"},"columns":{"name":"模板名称","type":"类型","createdAt":"创建时间"},"types":{"drag":"拖拽","html":"HTML","ai":"AI"},"edit":{"confirm":"确认","cancel":"取消"},"search":{"namePlaceholder":"搜索模板名称"},"delete":{"title":"删除模板","confirm":"确定要删除模板 {name} 吗?"},"form":{"name":"模板名称","type":"模板类型","content":"模板内容","html":"HTML","drag":"拖拽"},"add":{"title":"添加模板","namePlaceholder":"请输入模板名称","validation":{"nameRequired":"请输入模板名称","uploadRequired":"请上传HTML文件"}},"preview":{"title":"预览模板"},"loading":{"creating":"正在创建模板,请稍候...","updating":"正在更新模板,请稍候...","copying":"正在复制模板,请稍候...","deleting":"正在删除模板,请稍候..."}}},"template":{"template":"模板","createTpl":{"sourceUrl":"引用域名","useAiTools":"使用人工智能工具帮您自动生成邮件内容,提升工作您的效率","create":"创建","notices":{"domainListEmpty":"请先为BillionMail创建第一个用于发件的域名","aiConfigurationInvalid":"当前并未配置AI大模型,您无法使用AI模型创建邮件模板","invalidBrandDomain":"请先为域名创建品牌信息"},"buttons":{"createNow":"立即创建","configureNow":"立即配置"}},"ai":{"title":"AI 模板","welcomeMessage":"您可以说:创建一份欢迎用户加入{domain}的欢迎邮件","greeting":"让我们创建一个漂亮的邮件模板。","brandName":"BillionMail","buttons":{"regenerate":"重新生成","info":"信息","view":"预览","edit":"编辑","copy":"复制","copied":"已复制","apply":"应用模板"},"spintax":{"instruction":"使用Spintax语法,要求包含{count}个变体"},"tips":{"saveShortcut":"通过 [Ctrl + s] 保存您的修改"},"loading":{"message":"加载中... 请稍后"},"send":"发送"}},"contacts":{"subscribers":{"joinGroup":"加入分组","selectGroupHint":"请在右侧选择一个分组","trends":{"title":"订阅趋势","subscriber":"订阅者"},"search":{"emailPlaceholder":"请输入邮箱地址搜索"},"columns":{"email":"邮箱","name":"分组名称","createdAt":"创建时间"},"status":{"subscribed":"订阅","unsubscribed":"取消订阅"},"actions":{"changeGroup":"更改分组"},"delete":{"title":"删除订阅者","confirm":"确定要删除订阅者 {email} 吗?"},"select":{"prefix":"分组:"},"edit":{"title":"更改分组","email":"邮箱","group":"分组","status":"状态","attributes":"属性","statusOptions":{"subscribe":"订阅","unsubscribe":"退订"},"validation":{"emailRequired":"请填写邮箱","groupRequired":"请选择分组"}},"import":{"title":"导入联系人","group":"分组","data":"数据","pasteData":"粘贴数据","uploadFile":"上传文件","pastePlaceholder":["请粘贴数据,每行一个邮箱,属性(可为空)","例如:[email protected]","[email protected],\\"{\\"\\"age\\"\\": \\"\\"13\\"\\", \\"\\"Gender\\"\\": \\"\\"XXX\\"\\"}\\""],"fileTypeHint":"文件类型:csv,不超过5 MB","overwriteLabel":"覆盖现有用户","overwriteDescription":"在导入时是否按照导入数据来覆盖列表中存在的客户信息","subscriptionStatus":"订阅状态","status":"状态","exampleCsvLabel":"CSV示例","overwriteOptions":{"no":"否","yes":"是"},"subscriptionOptions":{"subscribe":"订阅","unsubscribe":"取消订阅"},"statusOptions":{"confirmed":"已确认","unconfirmed":"未确认"},"validation":{"groupRequired":"请选择分组","dataRequired":"请粘贴数据,每行一个邮箱","fileRequired":"请上传文件"}}},"group":{"search":{"namePlaceholder":"请输入分组名称搜索"},"columns":{"name":"分组名称","subscribers":"订阅者数量","unsubscribe":"取消订阅","createdAt":"创建时间","type":"类型"},"type":{"doubleOptin":"双重确认","singleOptin":"单次确认"},"export":{"title":"导出分组","confirm":"导出 {count} 个分组?"},"form":{"name":"分组名称","file":"文件","nameRequired":"请输入分组名称"},"add":{"title":"添加分组"},"rename":{"title":"重命名分组"},"delete":{"title":"删除分组","confirm":"确定要删除分组 {name} 吗?"},"fileUpload":{"hint":"文件类型:csv,不超过5 MB","emptyHint":"文件传空时,会自动创建一个空分组"},"loading":{"createGroup":"正在创建分组,请稍候...","updateGroup":"正在更新分组,请稍候...","deleteGroup":"正在删除分组,请稍候...","exportGroup":"正在导出,请稍候...","saveSettings":"正在保存,请稍候..."}},"settings":{"title":"设置","tabs":{"subscribeForm":"订阅表单","subscribeSettings":"订阅设置"},"subscribeForm":{"separateSubscriptionPage":{"title":"分离订阅页面","description":"简单复制并与用户分享此URL - 订阅表单已准备就绪。"},"embeddableForm":{"title":"可嵌入表单","description":"轻松将此订阅表单嵌入到您的网站页面中。"}},"subscribeSettings":{"listType":{"label":"列表类型","placeholder":"请选择列表类型","options":{"doubleOptin":"两次确认","singleOptin":"单次确认"}},"confirmEmail":{"subject":"二次确认邮件主题","redirectLink":"二次确认的跳转链接","redirectDescription":"在下方输入自定义链接,将用户重定向到\\"双重确认\\"订阅的确认页面","emailContent":"二次确认邮件","emailTip1":"如果您自定义确认邮件,请不要忘记包含确认链接","emailTip2":"在您的消息中的某个位置"},"welcomeEmail":{"subject":"感谢邮件订阅主题","redirectLink":"感谢订阅的跳转链接","redirectDescription":"请在下方输入链接,在用户成功订阅后将其引导到自定义确认页面","emailContent":"感谢邮件订阅邮件","sendThroughTip":"消息通过","mailboxTip":"默认发送域的邮箱发送","enabledDescription":"启用后,当用户通过订阅表单或API订阅时,将向用户发送感谢邮件。手动添加的用户不会触发此功能。","templateVariablesTip":"您可以在感谢邮件的主题和消息中使用收集的信息,这些是模板变量。"},"alreadySubscribed":{"redirectLink":"订阅已存在的跳转链接"}}},"suspend":{"title":"异常邮箱","buttons":{"scanInvalidDomains":"扫描无效域名","scanLogs":"扫描日志","autoBlockFailedEmails":"自动阻止失败邮件"},"search":{"emailPlaceholder":"请输入邮箱地址"},"columns":{"email":"邮箱","description":"描述","status":"状态","addTime":"添加时间"},"status":{"invalid":"无效","checking":"检查中"},"confirm":{"clear":{"title":"清空","content":"这将清空该类型下的所有数据,是否继续?"},"delete":{"title":"删除","content":"确定要删除 [{email}] 吗?"}},"scan":{"title":"扫描无效域名","confirmText":"扫描","form":{"group":"分组","method":"方法","groupRequired":"请选择分组"},"methods":{"noOperation":"无操作","addToExceptionTable":"添加到异常防护表","deleteFromGroup":"从分组中删除异常邮箱"}},"scanLogs":{"title":"扫描日志","none":"无"},"api":{"loading":{"deleting":"正在删除,请稍候...","scanning":"正在扫描,请稍候...","clearing":"正在清理,请稍候...","setting":"正在设置,请稍候..."}}}},"domain":{"title":"MailDomain","addDomain":"添加域名","help":"添加你要用来发邮件的域名","columns":{"domain":"域名","quota":"配额","mailboxes":"邮箱数量","defaultMailboxSize":"默认邮箱大小","dedicatedIp":"专用IP","actions":"操作"},"ipSet":{"title":"专用IP设置","titleWithDomain":"专用IP设置【{domain}】","dedicatedIp":"专用IP:","configFile":"配置文件:","connectionStatus":"连接状态:","warning":"你可以通过手工在SSH终端执行以下命令使专用IP连接状态激活\\n如果你有多个域名需要配置专用IP,我们建议你先把所有域名配\\n置完成后在执行以下命令,避免邮件服务器多次中断","getCommand":"获取命令","copyCommand":"复制命令","operationReminder":"操作提醒","fixCommandTip":"如果执行命令失败,您可以执行该命令进行修复:","understood":"我知道了","validation":{"getCommandFirst":"请先获取命令"}},"status":{"default":"默认"},"actions":{"dnsRecord":"DNS记录","setDefault":"设为默认"},"setDefault":{"title":"设为默认 [{domain}]","confirm":"确定要将此域名设为默认域名吗?"},"delete":{"title":"删除域名","confirm":"确定要删除域名【{domain}】吗?","confirmButton":"删除"},"waitAndCheckDomainStatus":{"success":"品牌信息初始化成功","error":"品牌信息初始化失败","loading":"正在初始化品牌信息,请稍后..."},"form":{"addTitle":"添加域名","editTitle":"编辑域名","domain":"域名","domainPlaceholder":"请输入域名,例如:billionmail.com","urlsPlacement":"请输入域名,例如:http://billionmail.com","aRecord":"A记录","aRecordPlaceholder":"请输入A记录,例如:mailAapanelCom","quota":"域名配额","mailboxCount":"邮箱数量","globalCatch":"Catch All","globalCatchPlaceholder":"捕获不存在的邮件,转发至此邮件","validation":{"domainRequired":"邮箱域名不能为空!","domainInputRequired":"请先输入域名","dedicatedIpRequired":"请先输入域名专用IP"},"tips":{"aRecordFailed":"提示A记录解析失败。请检查填写的A记录域名是否已解析到服务器 IP","dnsSetup":"需要在您的DNS服务提供商控制台添加A记录","cloudflare":"如果使用CloudFlare,请在添加记录时选择【仅DNS】"},"createBrandInfo":"自动创建品牌信息","modelNotice":"要使用此功能,您需要先进行大模型配置","integrateImmediately":"立即配置","modelDescription":"AI驱动的信息导入会自动分析并从邮件域名创建品牌信息。创建后,您可以根据需要进行修改","extractBrand":"提取品牌和颜色","analyzeStructure":"分析内容结构","importContent":"导入图片和内容","customLogo":"使用自定义徽标(可选)","specifyDomain":"指定域名","addMoreUrls":"添加更多URL","maxUrl":"最多只能填写3个URL","createImmediately":"立即创建","brandInfo":"品牌信息","noBrandInfo":"暂无品牌信息","fillDomain":"请填写域名","fillValidDomain":"请填写正确的域名","dedicatedIp":"域名专用IP","notSet":"未设置","testConnection":"连接测试"},"dns":{"title":"DNS 记录","verify":"已设置,验证域名解析","status":{"ok":"正常","notSet":"未设置"},"columns":{"domain":"域名"},"table":{"recordType":"记录类型","host":"主机记录","value":"记录值","mxPriority":"MX优先级"},"step1":{"title":"步骤1:添加A记录"},"step2":{"title":"步骤2:添加MX记录","description":"登录到域名服务提供商,添加记录类型为MX的记录用于邮箱服务(请直接复制以下参数)"},"step3":{"title":"步骤3:添加TXT记录","description":"添加记录类型为TXT的记录用于邮箱反垃圾邮件(请直接复制以下参数)"},"step4":{"title":"步骤4:添加PTR记录","description1":"(可选)PTR记录用于反向 DNS 查找","description2":"联系您的IP提供商创建 PTR 记录"}},"ssl":{"expired":"已过期","daysLeft":"{days}天","notSet":"未设置","title":"域名 SSL","tabs":{"otherCertificate":"其他证书"},"cert":{"brand":"品牌","domains":"证书域名","privateKey":"私钥 (KEY)","certificate":"证书 (CRT/PEM)","keyPlaceholder":"请输入私钥内容","certPlaceholder":"请输入证书内容"},"actions":{"save":"保存","applyFree":"申请免费证书"},"tips":{"paste":"粘贴您的 KEY 和 CRT 内容,然后保存","chainCheck":"如果浏览器提示证书链不完整,请检查 PEM 证书是否正确拼接","pemFormat":"PEM 格式证书 = 域名证书 Crt + 根证书 (root_bundle)Crt","defaultSite":"当未指定 SSL 默认站点时,未配置 SSL 的站点将使用 HTTPS 访问启用了 SSL 的站点"}},"edit":{"pageTitle":"域名 / 编辑域名","save":"保存","tabs":{"domainConfiguration":"域名配置","projectDetails":"项目详情","companyProfile":"公司资料","styling":"样式设置","sitemap":"站点地图","footerSettings":"页脚设置","aiSettings":"AI设置"},"domainConfiguration":{"title":"邮件域名配置","domain":"域名","domainQuota":"域名配额","mailboxCount":"邮箱数量","catchAll":"Catch all","autoCreateBrand":"自动创建品牌信息","aiIntegrationWarning":"要使用此功能,您需要先集成AI模型。","integrateImmediately":"立即集成","aiDescription":"AI驱动的信息导入会自动分析并从邮件域名创建品牌信息。创建后,您可以根据需要进行修改。","features":{"extractBrand":"提取品牌和颜色","analyzeStructure":"分析内容结构","importContent":"导入图片和内容","customLogo":"使用自定义徽标(可选)"},"specifyDomain":"指定域名","addMoreUrls":"添加更多URL","createNow":"Create Immediately","brandInfo":"Brand information","noBrandInfo":"No brand information available.","fillDomain":"请填写域名","fillValidDomain":"请填写有效的域名","dedicatedIp":"域名专用IP","dedicatedIpDesc":"域名 {domain} 发送和接受邮件时会在iptables处指定此专属IP,如果你的服务器只有一个IP的话不需要设置此功能","notSet":"未设置","testConnection":"连接测试","catchAllDesc":"在您这里填写邮箱后,这个域名下所有未知的邮箱收到邮件将会转发到这个邮箱里面","domainQuotaDesc":"设置此域名的可用空间","mailboxCountDesc":"设置此域名可以创建多少个邮箱","validation":{"setDedicatedIpFirst":"请先设置域名专用IP"},"api":{"testingConnection":"正在测试连接中,请稍候..."}},"projectDetails":{"title":"项目详情","projectName":"项目名称","description":"描述","brandLogos":"品牌徽标","logoSystem":"徽标系统","logoSystemDesc":"上传您品牌的徽标系统,以在整个项目中保持一致的品牌形象","primaryLogo":"主要徽标","primaryLogoDesc":"用于页眉的水平版本","secondaryLogo":"次要徽标","secondaryLogoDesc":"垂直/堆叠版本","favicon":"网站图标","faviconDesc":"浏览器标签页图标","loadingFailed":"加载失败","knowledgeBase":"知识库","newFile":"新建文件","edit":"编辑","preview":"预览","newKnowledgeFile":"新建知识文件","fileName":"文件名","day":"天","hour":"小时","minute":"分","ago":"前","justNow":"刚刚","close":"关闭","cancel":"取消","create":"创建","notice":"提示","sureDel":"是否确认删除?"},"companyProfile":{"title":"公司详情","legalCompanyName":"法定公司名称","website":"网站","organizationNumber":"组织编号","additionalInfo":"附加公司信息","contactInfo":"联系信息","contactEmail":"联系邮箱","phoneNumber":"电话号码","supportUrl":"支持URL"},"styling":{"colorPalette":"调色板","accentColor":"强调色","textColor":"文本颜色","pageBackground":"页面背景","containerBackground":"容器背景","linkFooterColor":"页脚链接颜色","linkSocialColor":"社交链接颜色","typography":"字体排版","headingFont":"标题字体","bodyFont":"正文字体","preview":"预览:","previewText":"快速的棕色狐狸跳过懒惰的狗","typographyGuidelines":"字体排版指南:","webSafeFonts":"使用网络安全字体以获得更好的兼容性","fallbackFonts":"始终包含备用字体以获得更好的性能"},"sitemap":{"title":"站点地图","addLink":"添加链接"},"footerSettings":{"title":"页脚设置","additionalContent":"附加内容","copyrightText":"版权文本"},"aiSettings":{"title":"AI设置","defaultInstructions":"默认AI指令","emailGenerationInstructions":"邮件生成指令","instructionsDescription":"这些指令将用作生成新邮件时的默认指南。您可以根据需要为单个邮件覆盖这些指令。"},"breadcrumb":{"domain":"域名","editDomain":"编辑域名"},"common":{"daysAgo":"天前","noBrandInfo":"暂无品牌信息"}},"api":{"loading":{"creating":"正在创建域名,请稍候...","updating":"正在更新域名,请稍候...","deleting":"正在删除域名,请稍候...","settingSSL":"正在设置SSL证书,请稍候...","refreshingDns":"正在刷新DNS记录,请稍候...","applyingCert":"正在申请证书,请稍候...","settingDefault":"正在设置默认域名,请稍候...","settingBrandInfo":"正在设置域名品牌信息,请稍候...","testingConnection":"正在测试连接,请稍候..."}}},"mailbox":{"title":"邮箱管理","actions":{"add":"添加邮箱","batchAdd":"批量添加","batchDelete":"批量删除","exportAll":"导出全部"},"search":{"usernamePlaceholder":"搜索用户名"},"domain":{"selectPlaceholder":"请选择域名"},"columns":{"username":"用户名","password":"密码","loginInfo":"登录信息(WebMail / SMTP)","quota":"配额","type":"类型","status":"状态"},"userType":{"admin":"管理员","general":"普通用户"},"form":{"addTitle":"添加邮箱","editTitle":"编辑邮箱","batchAddTitle":"批量添加","exportTitle":"导出邮箱","importTitle":"导入邮箱","emailAddress":"邮箱地址","password":"密码","passwordPlaceholder":"请输入您的邮箱密码","quota":"配额","userType":"用户类型","status":"状态","domain":"域名","prefix":"邮箱前缀","count":"邮箱数量"},"validation":{"emailRequired":"请输入邮箱地址","passwordLength":"密码长度少于8位,请重新输入","passwordFormat":"密码必须包含至少一个大写字母、一个小写字母和数字,请重新输入","domainRequired":"请选择域名","prefixRequired":"请输入邮箱前缀","countRequired":"请输入邮箱数量","fileRequired":"请选择上传文件"},"delete":{"title":"删除邮箱","confirm":"确定要删除邮箱【{name}】吗?","batchConfirm":"确定删除{count}个邮箱?"},"loginInfo":{"template":"WebMail: {webmail}\\n用户名: {username}\\n密码: {password}\\nPOP service [ Address: {mx} Port: 110/995 ]\\nIMAP service [ Address: {mx} Port: 143/993 ]\\nSMTP service [ Address: {mx} Port: 25/465/587 ]"},"api":{"loading":{"creating":"正在创建邮箱,请稍候...","updating":"正在更新邮箱,请稍候...","deleting":"正在删除邮箱,请稍候...","exporting":"正在导出邮箱,请稍候...","importing":"正在导入邮箱,请稍候..."}}},"smtp":{"title":"SMTP中继服务管理","description":"管理您的SMTP中继服务,支持多种服务提供商","empty":"暂无SMTP中继服务","providers":{"custom":"自定义SMTP"},"delete":{"title":"删除中继","confirm":"确定要删除此中继服务【{name}】吗?"},"card":{"domain":"绑定域名","server":"服务器","port":"端口","username":"用户名","dnsUpdateRequired":"DNS记录需要更新"},"form":{"addTitle":"添加SMTP","editTitle":"编辑SMTP","remark":"备注","domain":"绑定域名","server":"SMTP服务器","port":"SMTP端口","username":"用户名","password":"密码","authMethod":"身份验证","advancedFeatures":"高级选项","testConnection":"测试链接","bind":"【已绑定】","skipTlsVerify":"是否跳过TLS验证","tlsOptions":{"skip":"跳过","noSkip":"不跳过"},"validation":{"nameRequired":"请输入中继名称","domainRequired":"请选择绑定域名","serverRequired":"请输入SMTP服务器","portRequired":"请输入SMTP端口","usernameRequired":"请输入用户名","passwordRequired":"请输入密码"}},"status":{"online":"在线","offline":"离线"},"api":{"loading":{"adding":"正在添加SMTP,请稍等...","editing":"正在编辑SMTP,请稍等...","testing":"正在测试SMTP连接,请稍等...","deleting":"正在删除SMTP,请稍等..."}}},"settings":{"title":"系统设置","service":{"title":"服务状态","tips":"提示:Ctrl+F 搜索关键词,Ctrl+S 保存,Ctrl+H 搜索和替换","editTitle":"在线编辑 {name}","columns":{"name":"服务名称","status":"状态"},"status":{"running":"运行中","stopped":"已停止"},"restart":{"title":"重启服务","confirm":"确定要重启【{name}】吗?"}},"bcc":{"title":"BCC管理","add":"添加BCC","edit":"编辑BCC","needCopy":"需要复制","copyTo":"复制到","domain":"域名","type":"BCC类型","status":"状态","active":"激活","types":{"sender":"发送时","recipient":"接收时"},"delete":{"title":"删除BCC [{address}]","content":"是否删除此BCC设置?"},"placeholders":{"needCopy":"请输入需要BCC的用户","copyTo":"请输入需要接收BCC的邮箱"},"loading":{"adding":"正在添加BCC,请稍候...","saving":"正在保存BCC,请稍候...","deleting":"正在删除BCC,请稍候..."}},"forward":{"add":"添加转发","edit":"编辑转发","columns":{"address":"地址","goto":"转发至","domain":"域名","created":"创建时间","modified":"修改时间","status":"状态"},"form":{"status":"状态","forwardedUsers":"转发用户","forwardedUsersPlaceholder":"输入需要转发的邮箱","domain":"域名","domainPlaceholder":"转发用户的域名","receivingUser":"接收用户","receivingUserPlaceholder":"需要接收转发邮件的用户。如果有多个,请用换行符分隔"},"delete":{"title":"删除邮件转发","content":"您确定要删除邮件转发【{address}】吗?"},"loading":{"adding":"正在添加邮件转发,请稍候...","editing":"正在编辑邮件转发,请稍候...","deleting":"正在删除邮件转发,请稍候..."}},"common":{"confirm":"确认修改","security":{"title":"账户安全设置","username":"修改用户名","currentUsername":"当前用户名","newUsernamePlaceholder":"输入新用户名","usernameRule":"4-20位字母数字组合","usernameExists":"用户名已存在","changePassword":"修改密码","currentPassword":"当前密码","newPassword":"新密码","confirmPassword":"确认新密码","passwordStrength":"密码强度","passwordMismatch":"两次输入的密码不一致","strength":{"weak":"弱","medium":"中","strong":"强"},"securityPath":"修改安全入口","currentPath":"当前入口路径","newPathPlaceholder":"输入新路径,如admin-abc123","pathRule":"建议使用复杂路径增强安全性","usernameValidation":{"lengthError":"用户名长度不能小于4位,不能大于20位","formatError":"用户名必须由字母、数字或下划线组成","duplicateError":"用户名不能与当前用户名相同"}},"network":{"title":"网络配置","domain":"域名设置","currentDomain":"控制台的访问域名","newDomainPlaceholder":"输入新域名,如admin.yourdomain.com","domainRule":"请输入有效的域名","ssl":"SSL证书配置","sslEnabled":"SSL已启用","certStatus":"证书状态","certValid":"(剩余 {days} 天)","sslCert":"SSL证书 (PEM格式)","sslKey":"私钥 (PEM格式)","certPlaceholder":"-----BEGIN CERTIFICATE-----\\nMIIFazCCA1OgAwIBAgIURv...\\n-----END CERTIFICATE-----","keyPlaceholder":"-----BEGIN PRIVATE KEY-----\\nMIIEvQIBADANBgkqhkiG...\\n-----END PRIVATE KEY-----","updateSSL":"更新SSL证书","certValidStatus":"证书有效","certExpiredStatus":"证书过期","certExpireTime":"证书到期:{time}"},"system":{"title":"系统配置","port":"端口设置","currentPort":"当前端口","terminalRequired":"此设置需要终端操作","copyCommand":"复制以上命令并在服务器终端执行","commandCopied":"命令已复制到剪贴板","timezone":"时区设置","currentTime":"当前系统时区"},"ipWhitelist":{"title":"IP白名单","enable":"启用","disable":"关闭","add":"添加","clear":"清空","description":"仅允许列表中的IP访问,终端命令关闭: bm.sh cancel-ip-limit","placeholder":"请输入IP地址","validation":{"ipRequired":"请输入IP地址"},"confirm":{"deleteTitle":"删除IP白名单","deleteContent":"确认删除IP白名单: {ip}","enableTitle":"开启IP白名单","disableTitle":"关闭IP白名单","enableContent":"确认开启IP白名单, 开启后只有白名单中的IP地址可以访问","disableContent":"确认关闭IP白名单, 关闭后所有IP地址都可以访问","clearTitle":"清空IP白名单","clearContent":"确认清空IP白名单, 清空后所有IP地址都可以访问"}},"proxy":{"title":"反向代理","description":"反向代理地址,用于对外暴露地址时使用,例如:订阅列表、退订邮件等","placeholder":"请输入反向代理地址","formatTip":"格式为:https://example.com","reset":"重置","resetConfirm":{"title":"重置反向代理","content":"确认重置反向代理吗?"}}},"api":{"loading":{"restarting":"正在重启服务,请稍候...","saving":"正在保存配置,请稍候...","setting":"正在设置,请稍候...","settingSSL":"正在设置SSL,请稍候...","applyingCert":"正在申请证书,请稍候...","adding":"正在添加,请稍候...","deleting":"正在删除,请稍候...","clearing":"正在清空,请稍候..."}},"aiModel":{"modelId":"模型ID","modelAlias":"模型别名","modelFeature":"模型功能","contentLength":"最大上下文长度","supplierTitle":"服务商标题","supplierName":"服务商名称","cancel":"取消","confirm":"确认","aPIKey":"API密钥","apiPath":"API地址","check":"检查","getKey":"点击获取API密钥","example":"示例","saveAPI":"保存API","model":"模型","byDefault":"默认从/models获取所有模型","addModel":"添加模型"}},"logs":{"title":"日志","table":{"columns":{"username":"用户名","type":"类型","operatingTime":"操作时间","details":"详情"}},"filter":{"all":"全部"},"search":{"placeholder":"请输入详情/IP搜索"}},"api":{"title":"发件API","timeRange":"时间范围:","status":"状态:","search":"搜索:","searchPlaceholder":"请输入API名称","refreshData":"刷新数据","createNew":"新建API","statusOptions":{"all":"全部","active":"可用","inactive":"停用"},"columns":{"apiName":"API名称","apiKey":"API密钥","sendCount":"发送量","openRate":"打开率","clickRate":"点击率","bounceRate":"退信率","status":"状态"},"statusLabels":{"active":"可用","inactive":"停用"},"confirmDelete":{"title":"删除API【{apiName}】","content":"确认删除该API吗?"},"overview":{"totalSend":"发送总量","avgOpenRate":"平均打开率","avgClickRate":"平均点击率","avgBounceRate":"平均退信率"},"form":{"apiName":"API名称","status":"状态","ipWhitelist":"IP白名单","apiNamePlaceholder":"请输入API名称","ipWhitelistPlaceholder":"多个IP用逗号分隔,为空则不限制","validation":{"apiNameRequired":"请输入API名称","addresserRequired":"请选择发送者","templateRequired":"请选择模板"},"title":{"edit":"编辑API","add":"新建API"}},"loading":{"creating":"正在创建,请稍候...","updating":"正在编辑,请稍候...","deleting":"正在删除,请稍候...","testing":"正在测试,请稍候..."}}}'),r=JSON.parse('{"common":{"all":{"text":"すべて","domain":"すべてのドメイン"},"time":{"today":"今日","yesterday":"昨日","last7days":"過去7日間","custom":"カスタム"},"columns":{"actions":"操作"},"actions":{"view":"閲覧","edit":"編集","delete":"削除","add":"追加","create":"作成","update":"更新","save":"保存","cancel":"キャンセル","confirm":"確認","back":"戻る","search":"検索","reset":"リセット","more":"その他","refresh":"再読み込み","copy":"コピー","restart":"再起動","import":"インポート","export":"エクスポート","download":"ダウンロード","upload":"アップロード","apply":"適用","test":"テスト","rename":"名前変更","preview":"プレビュー","modify":"修正","config":"設定","help":"ヘルプ"},"useCopy":{"noText":"コピーするテキストがありません","success":"コピーに成功しました","failed":"コピーに失敗しました"}},"components":{"tableHelp":{"text1":"質問や提案は {issues} に投稿し、プロジェクトを応援するために Github で {star} を付けてください。","text2":"皆様の積極的な参加を高く評価しています。ありがとうございます。"},"upload":{"error":{"fileSizeExceeded":"ファイル [{fileName}] のサイズは {maxSize}MB を超えることはできません","uploadFailed":"ファイルのアップロードに失敗しました。もう一度お試しください"},"prompt":{"dragText":"クリックまたはファイルをドラッグしてこのエリアに追加","supportedFiles":"{suffix} 形式のファイルのみ対応"}}},"layout":{"header":{"submit":"リクエストを送信"},"menu":{"overview":"概要","market":"マーケティング","task":"タスク","template":"テンプレート","contacts":"連絡先","subscribers":"購読者","group":"グループ","domain":"ドメイン","mailboxes":"メールボックス","settings":"設定","common":"共通設定","bcc":"BCC","forward":"メール転送","logout":"ログアウト","service":"Service","logs":"Logs","operation_logs":"Operation Logs","error_logs":"Error Logs"}},"login":{"title":"BillionMail","form":{"usernamePlaceholder":"ユーザー名","passwordPlaceholder":"パスワード","loginButton":"ログイン","captchaPlaceholder":"認証コード","changeCaptcha":"クリックして変更","captcha":"認証コード"},"validation":{"usernameRequired":"ユーザー名を入力してください!","passwordRequired":"パスワードを入力してください!","captchaRequired":"認証コードを入力してください"},"messages":{"loginSuccess":"ログインに成功しました","loginFailed":"ログインに失敗しました","networkError":"ネットワークエラーです。後で再試行してください"}},"user":{"logout":{"title":"確認","content":"ログアウトしてもよろしいですか?"},"api":{"loading":{"logout":"ログアウト中です。お待ちください..."}}},"overview":{"delivered":"配信済み","opened":"開封済み","clicked":"クリック済み","bounced":"バウンス(送信失敗)","delayedQueue":"遅延キュー","mailProviders":"メールプロバイダー","sendStats":"送信統計","provider":{"mailProvider":"メールプロバイダー","delivered":"配信","open":"開封","click":"クリック","bounce":"バウンス"},"send":{"successRate":"成功率","success":"成功","fail":"失敗","sendSuccess":"送信成功","sendFail":"送信失敗"},"rate":{"openRate":"開封率","clickRate":"クリック率","bounceRate":"バウンス率"},"sendFailDetails":{"title":"送信失敗の詳細","columns":{"recipient":"受信者","dsn":"DSN","delay":"遅延","delays":"遅延数","status":"ステータス","relay":"リレー","details":"詳細"}},"sendQueue":{"title":"送信キュー","breadcrumb":"送信キュー","buttons":{"refresh":"キューを更新","quickClear":"クイッククリア","paramConfig":"キューパラメータ設定","resend":"再送信","batchDelete":"一括削除","batchResend":"再送信"},"table":{"columns":{"sender":"送信者","recipient":"受信者","arrivalTime":"キュー追加時間","messageSize":"メールサイズ","delayReason":"遅延理由","action":"操作"}},"confirm":{"quickClear":{"title":"クイッククリア","content":"キューをクイッククリアしますか?"},"resend":{"title":"再送信","content":"キューを再送信しますか?"},"delete":{"title":"キューを削除","content":"このキューを削除しますか?"},"batchDelete":{"title":"一括削除","content":"{count}個の送信キューを削除しますか?"},"batchResend":{"title":"一括再送信","content":"{count}個の送信キューを再送信しますか?"}},"paramConfig":{"title":"キューパラメータ設定","fields":{"bounceQueueLifetime":"バウンスキューライフタイム","maximalQueueLifetime":"最大キューライフタイム","minimalBackoffTime":"最小バックオフ時間","maximalBackoffTime":"最大バックオフ時間","queueRunDelay":"キュー実行遅延","triggerTimeout":"トリガータイムアウト"}},"queueLogs":{"title":"キューログ"}},"api":{"loading":{"resendQueue":"キューを再送信中です。しばらくお待ちください...","deleteQueue":"キューを削除中です。しばらくお待ちください...","setQueueConfig":"キューパラメータを設定中です。しばらくお待ちください...","clearQueue":"キューをクリア中です。しばらくお待ちください..."}}},"market":{"task":{"title":"タスク","actions":{"add":"タスク追加","detail":"表示","export":"エクスポート","send":"送信","pause":"一時停止"},"columns":{"time":"時間","subject":"件名","sender":"送信者","recipients":"宛先","success":"成功","failed":"失敗","status":"ステータス","remark":"備考","progress":"進捗","email":"メール","errorMsg":"エラーメッセージ"},"status":{"pending":"保留中","processing":"処理中","done":"完了"},"search":{"subjectPlaceholder":"件名で検索"},"changeStatus":{"title":"タスクステータス変更 [{subject}]","startConfirm":"今すぐタスクを開始しますか?","pauseConfirm":"タスクを一時停止後、再開できます!"},"delete":{"title":"タスク削除","confirm":"タスク「{subject}」を削除してもよろしいですか?"},"detail":{"title":"タスク詳細","displayName":"表示名","sender":"送信者","subject":"メール件名","groups":"グループ","sendTime":"送信時間","unsubscribeLink":"購読解除リンク","threads":"スレッド数","remark":"備考","yes":"はい","no":"いいえ","auto":"自動"},"edit":{"addTitle":"タスク追加","from":"送信元","to":"宛先","displayName":"表示名","displayNamePlaceholder":"表示名を入力してください","subject":"件名","subjectPlaceholder":"メール件名を入力してください","recipients":"受信者","recipientsPlaceholder":"受信者グループを選択してください","recipientsCount":"メール送信({count} 件)","template":"メールテンプレート","saveOutbox":"送信済みに保存","unsubscribeLink":"購読解除リンク","threads":"スレッド数","threadsAuto":"自動","threadsCustom":"カスタム","sendTime":"送信時間","sendTimeNow":"今すぐ送信","sendTimeSchedule":"スケジュール","remark":"備考","remarkPlaceholder":"備考を入力してください","testEmail":"テストメール","testEmailPlaceholder":"テストメールを入力してください","sendTest":"テストメール送信","viewCase":"ケースを見る","preview":{"empty":"プレビューするメールテンプレートを選択してください"},"validation":{"displayNameRequired":"表示名を入力してください","subjectRequired":"メール件名を入力してください","recipientsRequired":"連絡先を選択してください","sendTimeRequired":"送信時間を選択してください","testEmailRequired":"テストメールを入力してください","templateRequired":"メールテンプレートを選択してください"},"discard":{"title":"確認","content":"現在の編集を破棄しますか?"}},"createGroup":{"title":"グループ作成","groupName":"グループ名","email":"メール","groupNamePlaceholder":"グループ名を入力してください","validation":{"groupNameRequired":"グループ名を入力してください"}}},"template":{"title":"テンプレート","name":"テンプレート名","content":"テンプレート内容","uploadHtml":"HTML ファイルをアップロード","file":"テンプレートファイル","actions":{"add":"テンプレート追加","preview":"プレビュー","duplicate":"複製","export":"エクスポート","import":"インポート"},"columns":{"name":"テンプレート名","type":"タイプ","createdAt":"作成日"},"types":{"drag":"ドラッグ","html":"HTML","ai":"AI"},"edit":{"confirm":"確認","cancel":"キャンセル"},"search":{"namePlaceholder":"テンプレート名で検索"},"delete":{"title":"テンプレート削除","confirm":"テンプレート {name} を削除してもよろしいですか?"},"form":{"name":"テンプレート名","type":"テンプレートタイプ","content":"テンプレート内容"},"add":{"title":"テンプレート追加","namePlaceholder":"テンプレート名を入力してください","validation":{"nameRequired":"テンプレート名を入力してください","uploadRequired":"HTML ファイルをアップロードしてください"}},"preview":{"title":"テンプレートプレビュー"},"loading":{"creating":"テンプレート作成中... お待ちください","updating":"テンプレート更新中... お待ちください","copying":"テンプレート複製中... お待ちください","deleting":"テンプレート削除中... お待ちください"}}},"template":{"title":"テンプレート","name":"テンプレート名","template":"テンプレート","createTpl":{"sourceUrl":"ソースURL","useAiTools":"AIツールを使用してメールコンテンツを自動生成し、作業効率を向上させます。","create":"作成","notices":{"domainListEmpty":"BillionMailでメール送信用の最初のドメインを作成してください","aiConfigurationInvalid":"現在AIモデルが設定されていないため、AIモデルを使用してメールテンプレートを作成できません","invalidBrandDomain":"まずドメインのブランド情報を作成してください"},"buttons":{"createNow":"今すぐ作成","configureNow":"今すぐ設定"}},"ai":{"title":"AIテンプレート","welcomeMessage":"例:{domain}に参加するユーザー向けのウェルカムメールを作成してください","greeting":"美しいメールテンプレートを作成しましょう。","brandName":"BillionMail","buttons":{"regenerate":"再生成","info":"情報","view":"プレビュー","edit":"編集","copy":"コピー","copied":"コピー済み","apply":"テンプレートを適用"},"spintax":{"instruction":"Spintax構文を使用し、{count}個のバリエーションを含める必要があります"},"tips":{"saveShortcut":"[Ctrl + s] で変更を保存"},"loading":{"message":"読み込み中... お待ちください"},"send":"送信"}},"contacts":{"subscribers":{"search":{"emailPlaceholder":"メールアドレスを入力して検索"},"columns":{"email":"メール","name":"グループ名","createdAt":"作成日時"},"status":{"subscribed":"購読中","unsubscribed":"購読解除"},"actions":{"changeGroup":"グループ変更"},"delete":{"title":"購読者削除","confirm":"購読者 {email} を削除してもよろしいですか?"},"select":{"prefix":"グループ: "},"edit":{"title":"グループ変更","email":"メール","group":"グループ","validation":{"emailRequired":"メールを入力してください","groupRequired":"グループを選択してください"}},"import":{"title":"連絡先インポート","group":"グループ","data":"データ","pasteData":"データを貼り付け","uploadFile":"ファイルをアップロード","pastePlaceholder":"1行につき1メールでデータを貼り付けてください","fileTypeHint":"ファイル形式: txt、1行につき1メール、5MB以内","validation":{"groupRequired":"グループを選択してください","dataRequired":"1行につき1メールでデータを貼り付けてください","fileRequired":"ファイルをアップロードしてください"}},"loading":{"importSubscribers":"連絡先をインポート中... お待ちください","updateSubscriberGroup":"グループを更新中... お待ちください","deleteSubscriber":"連絡先を削除中... お待ちください"}},"group":{"search":{"namePlaceholder":"グループ名で検索"},"columns":{"name":"グループ名","subscribers":"購読者数","unsubscribe":"解除数","createdAt":"作成日"},"form":{"name":"グループ名","file":"ファイル","nameRequired":"グループ名を入力してください"},"add":{"title":"グループ追加"},"rename":{"title":"グループ名変更"},"delete":{"title":"グループ削除","confirm":"グループ {name} を削除してもよろしいですか?"},"fileUpload":{"hint":"ファイル形式: txt、1行につき1メール、5MB以内","emptyHint":"ファイルをアップロードしない場合は空のグループが作成されます"},"loading":{"createGroup":"グループ作成中... お待ちください","updateGroup":"グループ更新中... お待ちください","deleteGroup":"グループ削除中... お待ちください"}},"suspend":{"title":"異常メールボックス","buttons":{"scanInvalidDomains":"無効ドメインをスキャン","scanLogs":"スキャンログ","autoBlockFailedEmails":"失敗メールを自動ブロック"},"search":{"emailPlaceholder":"メールアドレスを入力してください"},"columns":{"email":"メール","description":"説明","status":"ステータス","addTime":"追加時間"},"status":{"invalid":"無効","checking":"チェック中"},"confirm":{"clear":{"title":"クリア","content":"このタイプのすべてのデータをクリアします。続行しますか?"},"delete":{"title":"削除","content":"[{email}] を削除してもよろしいですか"}},"scan":{"title":"無効ドメインをスキャン","confirmText":"スキャン","form":{"group":"グループ","method":"方法","groupRequired":"グループを選択してください"},"methods":{"noOperation":"操作なし","addToExceptionTable":"例外防止テーブルに追加","deleteFromGroup":"グループから異常メールボックスを削除"}},"scanLogs":{"title":"スキャンログ","none":"なし"},"api":{"loading":{"deleting":"削除中です。しばらくお待ちください...","scanning":"スキャン中です。しばらくお待ちください...","clearing":"クリア中です。しばらくお待ちください...","setting":"設定中です。しばらくお待ちください..."}}}},"domain":{"title":"MailDomain","addDomain":"ドメインを追加","help":"メール送信に使用するドメインを追加してください","columns":{"domain":"ドメイン","quota":"クォータ","mailboxes":"メールボックス","defaultMailboxSize":"デフォルトメールボックスサイズ","dedicatedIp":"専用IP","notSet":"未設定","testConnection":"接続テスト","validation":{"domainInputRequired":"まずドメインを入力してください","dedicatedIpRequired":"まず専用IPを入力してください"},"actions":"操作"},"status":{"default":"デフォルト"},"actions":{"dnsRecord":"DNS レコード","setDefault":"デフォルトに設定"},"setDefault":{"title":"デフォルトに設定 [{domain}]","confirm":"このドメインをデフォルトドメインに設定してもよろしいですか?"},"delete":{"title":"ドメイン削除","confirm":"ドメイン [{domain}] を削除してもよろしいですか?"},"waitAndCheckDomainStatus":{"success":"ブランド情報の初期化が成功しました。","error":"ブランド情報の初期化が失敗しました。","loading":"ブランド情報を初期化中です、しばらくお待ちください..."},"form":{"addTitle":"ドメイン追加","editTitle":"ドメイン編集","domain":"ドメイン","domainPlaceholder":"例: aapanel.com","urlsPlacement":"例: https://aapanel.com","aRecord":"A レコード","aRecordPlaceholder":"例: mail.aapanel.com","quota":"ドメインクォータ","mailboxCount":"メールボックス数","globalCatch":"Catch All","globalCatchPlaceholder":"存在しないメールをこのアドレスへ転送","validation":{"domainRequired":"ドメイン名は空にできません!"},"tips":{"aRecordFailed":"A レコードの解決に失敗しました。A レコードが正しくサーバーIPに向いているか確認してください","dnsSetup":"DNS プロバイダーのコンソールで A レコードを追加する必要があります","cloudflare":"CloudFlare を使用している場合、レコード追加時に [DNS only] を選択してください"}},"dns":{"title":"DNS レコード","verify":"レコードを設定したら、DNS 解決を検証","status":{"ok":"OK","notSet":"未設定"},"columns":{"domain":"ドメイン"},"table":{"recordType":"レコードタイプ","host":"ホスト","value":"値","mxPriority":"MX 優先度"},"step1":{"title":"ステップ1: A レコードを追加"},"step2":{"title":"ステップ2: MX レコードを追加","description":"ドメインサービスプロバイダーにログインし、メールサービス用の MX レコードを追加してください(以下のパラメータをコピーして使用してください)"},"step3":{"title":"ステップ3: TXT レコードを追加","description":"メールスパム対策の TXT レコードを追加してください(以下のパラメータをコピーして使用してください)"},"step4":{"title":"ステップ4: PTR レコードを追加","description1":"(任意)PTR レコードは逆引きDNSに使用されます","description2":"IP プロバイダーに連絡して PTR レコードを作成してください"}},"ssl":{"expired":"期限切れ","daysLeft":"{days} 日","notSet":"未設定","title":"ドメイン SSL","tabs":{"otherCertificate":"他の証明書"},"cert":{"brand":"ブランド","domains":"証明書対象ドメイン","privateKey":"秘密鍵 (KEY)","certificate":"証明書 (CRT/PEM)","keyPlaceholder":"秘密鍵を入力","certPlaceholder":"証明書を入力"},"actions":{"applyFree":"無料証明書を申請"},"tips":{"paste":"KEY と CRT の内容を貼り付けて保存してください","chainCheck":"ブラウザで証明書チェーンの不備が表示された場合、PEM 証明書が正しく連結されているか確認してください","pemFormat":"PEM 形式証明書 = ドメイン証明書 .crt + ルート証明書 (root_bundle).crt","defaultSite":"SSL デフォルトサイトが指定されていない場合、SSL 未設定サイトは SSL 設定済みサイトの HTTPS を使用します"}},"ipSet":{"title":"専用IP設定","titleWithDomain":"専用IP設定【{domain}】","dedicatedIp":"専用IP:","configFile":"設定ファイル:","connectionStatus":"接続状態:","warning":"SSHターミナルで以下のコマンドを手動実行することで専用IP接続状態をアクティブにできます\\n複数のドメインで専用IPを設定する場合は、すべてのドメインを設定してからコマンドを実行することをお勧めします。メールサーバーの中断を避けるためです","getCommand":"コマンド取得","copyCommand":"コマンドコピー","operationReminder":"操作リマインダー","fixCommandTip":"コマンドの実行に失敗した場合、このコマンドを実行して修復できます:","understood":"了解しました","validation":{"getCommandFirst":"まずコマンドを取得してください"}},"api":{"loading":{"creating":"ドメインを作成中です、しばらくお待ちください...","updating":"ドメインを更新中です、しばらくお待ちください...","deleting":"ドメインを削除中です、しばらくお待ちください...","settingSSL":"SSL証明書を設定中です、しばらくお待ちください...","refreshingDns":"DNSレコードを更新中です、しばらくお待ちください...","applyingCert":"証明書を申請中です、しばらくお待ちください...","settingDefault":"デフォルトドメインを設定中です、しばらくお待ちください...","settingBrandInfo":"ドメインブランド情報を設定中です、しばらくお待ちください...","testingConnection":"接続をテスト中です、しばらくお待ちください..."}},"edit":{"breadcrumb":{"domain":"ドメイン","editDomain":"ドメイン編集"},"common":{"noBrandInfo":"ブランド情報がありません"},"tabs":{"domainConfiguration":"ドメイン設定","projectDetails":"プロジェクト詳細","companyProfile":"会社プロフィール","styling":"スタイル設定","sitemap":"サイトマップ","footerSettings":"フッター設定","aiSettings":"AI設定"},"domainConfiguration":{"title":"メールドメイン設定","domain":"ドメイン","domainQuota":"ドメインクォータ","mailboxCount":"メールボックス数","catchAll":"Catch all","dedicatedIp":"ドメイン専用IP","dedicatedIpDesc":"ドメイン {domain} がメールを送受信する際、iptablesでこの専用IPを指定します。サーバーにIPが1つしかない場合は、この機能を設定する必要はありません","notSet":"未設定","testConnection":"接続テスト","catchAllDesc":"ここにメールアドレスを入力すると、このドメインの未知のメールアドレスに送信されたメールがすべてこのメールアドレスに転送されます","domainQuotaDesc":"このドメインの利用可能容量を設定","mailboxCountDesc":"このドメインで作成できるメールボックス数を設定","validation":{"setDedicatedIpFirst":"まずドメイン専用IPを設定してください"},"api":{"testingConnection":"接続をテスト中です、しばらくお待ちください..."}},"save":"保存","from":"送信元","to":"宛先","displayName":"表示名","displayNamePlaceholder":"表示名を入力してください","subject":"件名","subjectPlaceholder":"メール件名を入力してください","recipients":"受信者","recipientsPlaceholder":"受信者グループを選択してください","recipientsCount":"メール送信({count} 件)","template":"メールテンプレート","saveOutbox":"送信済みに保存","unsubscribeLink":"購読解除リンク","threads":"スレッド数","threadsAuto":"自動","threadsCustom":"カスタム","sendTime":"送信時間","sendTimeNow":"今すぐ送信","sendTimeSchedule":"スケジュール","remark":"備考","remarkPlaceholder":"備考を入力してください","testEmail":"テストメール","testEmailPlaceholder":"テストメールを入力してください","sendTest":"テストメール送信","viewCase":"ケースを見る","preview":{"empty":"プレビューするメールテンプレートを選択してください"},"validation":{"displayNameRequired":"表示名を入力してください","subjectRequired":"メール件名を入力してください","recipientsRequired":"連絡先を選択してください","sendTimeRequired":"送信時間を選択してください","testEmailRequired":"テストメールを入力してください","templateRequired":"メールテンプレートを選択してください"},"discard":{"title":"確認","content":"現在の編集を破棄しますか?"}},"createGroup":{"title":"グループ作成","groupName":"グループ名","email":"メール","groupNamePlaceholder":"グループ名を入力してください","validation":{"groupNameRequired":"グループ名を入力してください"}}},"mailbox":{"title":"メールボックス管理","actions":{"add":"メールボックス追加","batchAdd":"一括追加","batchDelete":"一括削除","exportAll":"すべてエクスポート"},"search":{"usernamePlaceholder":"ユーザー名検索"},"domain":{"selectPlaceholder":"ドメイン選択"},"columns":{"username":"ユーザー名","password":"パスワード","loginInfo":"ログイン情報(WebMail / SMTP)","quota":"クォータ","type":"タイプ","status":"ステータス"},"userType":{"admin":"管理者","general":"一般ユーザー"},"form":{"addTitle":"メールボックス追加","editTitle":"メールボックス編集","batchAddTitle":"一括追加","exportTitle":"メールボックスエクスポート","emailAddress":"メールアドレス","password":"パスワード","passwordPlaceholder":"メールボックスのパスワードを入力","quota":"クォータ","userType":"ユーザータイプ","status":"ステータス","domain":"ドメイン","prefix":"メールプレフィックス","count":"メール数"},"validation":{"emailRequired":"メールアドレスを入力してください","passwordLength":"パスワードは8文字以上である必要があります","passwordFormat":"パスワードは大文字・小文字・数字をそれぞれ1文字以上含む必要があります","domainRequired":"ドメインを選択してください","prefixRequired":"メールプレフィックスを入力してください","countRequired":"メール数を入力してください","fileRequired":"アップロードファイルを選択してください"},"delete":{"title":"メールボックス削除","confirm":"メールボックス【{name}】を削除してもよろしいですか?","batchConfirm":"{count}個のメールボックスを削除してもよろしいですか?"},"loginInfo":{"template":"WebMail: {webmail}\\nユーザー名: {username}\\nパスワード: {password}\\nPOP サービス [ アドレス: {mx} ポート: 110/995 ]\\nIMAP サービス [ アドレス: {mx} ポート: 143/993 ]\\nSMTP サービス [ アドレス: {mx} ポート: 25/465/587 ]"},"api":{"loading":{"creating":"メールボックスを作成中... お待ちください","updating":"メールボックスを更新中... お待ちください","deleting":"メールボックスを削除中... お待ちください","exporting":"メールボックスをエクスポート中... お待ちください","importing":"メールボックスをインポート中... お待ちください"}}},"smtp":{"title":"SMTP リレーサービス管理","description":"複数のサービスプロバイダーに対応した SMTP リレーサービスを管理","empty":"SMTP リレーサービスがありません","providers":{"gmail":"Gmail","mailgun":"Mailgun","aws":"AWS SES","sendgrid":"SendGrid","custom":"カスタム SMTP"},"delete":{"title":"リレー削除","confirm":"リレーサービス [{name}] を削除してもよろしいですか?"},"card":{"domain":"紐付けドメイン","server":"サーバー","port":"ポート","username":"ユーザー名","dnsUpdateRequired":"DNSレコードの更新が必要"},"form":{"addTitle":"SMTP 追加","editTitle":"SMTP 編集","remark":"備考","domain":"紐付けドメイン","server":"SMTP サーバー","port":"SMTP ポート","username":"ユーザー名","password":"パスワード","authMethod":"認証方式","advancedFeatures":"高度なオプション","testConnection":"接続テスト","bind":" [紐付け済み]","skipTlsVerify":"TLS検証をスキップ","tlsOptions":{"skip":"スキップ","noSkip":"スキップしない"},"validation":{"nameRequired":"リレー名を入力してください","domainRequired":"紐付けドメインを選択してください","serverRequired":"SMTP サーバーを入力してください","portRequired":"SMTP ポートを入力してください","usernameRequired":"ユーザー名を入力してください","passwordRequired":"パスワードを入力してください"}},"status":{"online":"オンライン","offline":"オフライン"},"api":{"loading":{"adding":"SMTP を追加中... お待ちください","editing":"SMTP を編集中... お待ちください","testing":"SMTP 接続をテスト中... お待ちください","deleting":"SMTP を削除中... お待ちください"}}},"settings":{"title":"設定","service":{"title":"サービス状態","tips":"ヒント: Ctrl+F で検索、Ctrl+S で保存、Ctrl+H で検索置換","editTitle":"{name} をオンライン編集","columns":{"name":"サービス名","status":"状態"},"status":{"running":"稼働中","stopped":"停止中"},"actions":{"restart":"再起動"},"restart":{"title":"サービス再起動","confirm":"[{name}] を再起動してもよろしいですか?"}},"bcc":{"title":"BCC 管理","add":"BCC 追加","edit":"BCC 編集","needCopy":"コピー元","copyTo":"コピー先","domain":"ドメイン","type":"BCC タイプ","status":"状態","active":"有効","types":{"sender":"送信時","recipient":"受信時"},"delete":{"title":"BCC [{address}] を削除","content":"BCC 設定を削除しますか?"},"placeholders":{"needCopy":"BCC 対象ユーザーを入力","copyTo":"BCC 受信メールを入力"},"loading":{"adding":"BCC を追加中... お待ちください","saving":"BCC を保存中... お待ちください","deleting":"BCC を削除中... お待ちください"}},"forward":{"add":"転送追加","edit":"転送編集","columns":{"address":"アドレス","goto":"転送先","domain":"ドメイン","created":"作成日","modified":"更新日","status":"状態"},"form":{"status":"状態","forwardedUsers":"転送元ユーザー","forwardedUsersPlaceholder":"転送元メールを入力","domain":"ドメイン","domainPlaceholder":"転送元ユーザーのドメイン名","receivingUser":"受信ユーザー","receivingUserPlaceholder":"転送メール受信者。複数ある場合は改行区切り"},"delete":{"title":"メール転送削除","content":"メール転送 [{address}] を削除してもよろしいですか?"},"loading":{"adding":"メール転送を追加中... お待ちください","editing":"メール転送を編集中... お待ちください","deleting":"メール転送を削除中... お待ちください"}},"common":{"confirm":"更新","proxy":{"title":"リバースプロキシ","description":"リバースプロキシアドレス、外部公開時に使用します。例:購読リスト、配信停止メールなど","placeholder":"リバースプロキシアドレスを入力してください","formatTip":"形式:https://example.com","reset":"リセット","resetConfirm":{"title":"リバースプロキシをリセット","content":"リバースプロキシをリセットしてもよろしいですか?"}}},"api":{"loading":{"restarting":"サービスを再起動中... お待ちください","saving":"設定を保存中... お待ちください"}}},"logs":{"title":"ログ","table":{"columns":{"username":"ユーザー名","type":"タイプ","operatingTime":"操作時間","details":"詳細"}},"filter":{"all":"すべて"},"search":{"placeholder":"詳細/IPを入力して検索"}}}');let l=(0,i.o)({legacy:!1,globalInjection:!0,locale:"en",fallbackLocale:"en",messages:{en:o,zh:n,ja:r}}),s=e=>{l.global.locale.value=e},d=l},27775:function(e,t,a){"use strict";a.d(t,{l:()=>d});var i=a(58786),o=a(76882),n=a(31708),r=a(52672),l=a(60066);let s=(0,i.aZ)({__name:"App",setup(e){let t=(0,n.fl)();return(0,i.YP)(()=>t.theme,()=>{t.changeTheme()},{immediate:!0}),(e,t)=>{let a=(0,i.up)("router-view"),o=l.Z;return(0,i.wg)(),(0,i.j4)(o,null,{default:(0,i.w5)(()=>[(0,i.Wm)(a)]),_:1})}}});a(60308),a(76);let d=(0,i.ri)(s);d.use(o.Z),d.use(n.ZP),d.use(r.Z),d.mount("#root")},53431:function(e,t,a){"use strict";a.d(t,{A:()=>i});let i=()=>Promise.all([a.e("5293"),a.e("579"),a.e("69"),a.e("2137"),a.e("6194"),a.e("7907")]).then(a.bind(a,73151))},52672:function(e,t,a){"use strict";a.d(t,{Z:()=>d});var i=a(31708),o=a(76882),n=a(34541),r=a(66746);let{loadingBar:l}=(0,a(65215).M)(["loadingBar"],{configProviderProps:{themeOverrides:{LoadingBar:{colorLoading:"#20a53a",colorError:"#ef0808"}}}}),s=["/login"];r.ZP.beforeEach(async(e,t,a)=>{l.start(),(0,n.A)();let d=(0,i.s6)();try{await d.getLang(),(0,o.m)(d.lang)}catch{(0,o.m)(d.lang)}if(!r._j.some(t=>t.path===e.path))return void a();(0,i.LM)().isLogin?s.includes(e.path)?a("/"):a():s.includes(e.path)?a():a("/login")}),r.ZP.afterEach(()=>{l.finish()});let d=r.ZP},25735:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/send",component:a(53431).A,meta:{sort:3,key:"api",title:"Send API",titleKey:"layout.menu.sendApi"},children:[{path:"/send",name:"Api",component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("6803"),a.e("5529"),a.e("5701"),a.e("7222"),a.e("8953"),a.e("9538"),a.e("2546"),a.e("7777")]).then(a.bind(a,3194))}]}},63768:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/automation",component:a(53431).A,meta:{sort:3,key:"automation",title:"Automation",icon:"i-mdi-refresh-auto",hidden:!0},children:[{path:"/automation",name:"Automation",component:()=>a.e("3606").then(a.bind(a,37539))}]}},52345:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/contacts",redirect:"/contacts/group",name:"ContactsLayout",component:a(53431).A,meta:{sort:4,key:"contacts",title:"Contacts",titleKey:"layout.menu.contacts"},children:[{path:"/contacts",name:"Contacts",redirect:"/contacts/group",component:()=>Promise.all([a.e("7303"),a.e("4602")]).then(a.bind(a,43898)),children:[{path:"group",name:"ContactsGroup",meta:{title:"Group",titleKey:"layout.menu.group"},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("6803"),a.e("5529"),a.e("5701"),a.e("6061"),a.e("2017"),a.e("4317"),a.e("5757"),a.e("4485"),a.e("1581")]).then(a.bind(a,8022))},{path:"subscribers",name:"ContactsSubscribers",meta:{title:"Subscribers",titleKey:"layout.menu.subscribers"},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("6803"),a.e("5529"),a.e("5701"),a.e("6061"),a.e("2017"),a.e("4317"),a.e("424"),a.e("3810"),a.e("5757"),a.e("5326")]).then(a.bind(a,79430))},{path:"suspend",name:"ContactsSuspend",meta:{title:"Suspend List",titleKey:""},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("6803"),a.e("5529"),a.e("5701"),a.e("8072"),a.e("762"),a.e("4836")]).then(a.bind(a,58689))}]},{path:"settings/:id",name:"ContactsSettings",meta:{title:"Settings",titleKey:""},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("6061"),a.e("7303"),a.e("2017"),a.e("4317"),a.e("4636"),a.e("2890"),a.e("5757"),a.e("2768")]).then(a.bind(a,67068))}]}},78280:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/domain",component:a(53431).A,meta:{sort:5,key:"domain",title:"MailDomain",titleKey:"layout.menu.domain"},children:[{path:"/domain",name:"Domain",component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("6803"),a.e("5529"),a.e("5701"),a.e("6061"),a.e("9780"),a.e("7303"),a.e("6096"),a.e("4485"),a.e("9097"),a.e("633")]).then(a.bind(a,20069))},{path:"edit-domain/:domain",name:"EditDomain",component:()=>a.e("8749").then(a.bind(a,41123))}]}},90427:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/logs",redirect:"/logs/operation",component:a(53431).A,meta:{key:"logs",title:"Logs",titleKey:"layout.menu.logs"},children:[{path:"/logs",redirect:"/logs/operation",name:"Logs",component:()=>Promise.all([a.e("7303"),a.e("6969")]).then(a.bind(a,29466)),children:[{path:"operation",name:"Operation Logs",meta:{title:"Operation logs",titleKey:""},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("5529"),a.e("5701"),a.e("5461")]).then(a.bind(a,28297))},{path:"error",name:"Error Logs",meta:{title:"Error logs",titleKey:""},component:()=>Promise.all([a.e("8072"),a.e("762"),a.e("8121")]).then(a.bind(a,77248))}]}]}},5987:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/mailbox",component:a(53431).A,meta:{sort:6,key:"mailbox",title:"MailBoxes",titleKey:"layout.menu.mailboxes"},children:[{path:"/mailbox",name:"Mailbox",component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("6803"),a.e("5529"),a.e("5701"),a.e("6061"),a.e("9780"),a.e("2017"),a.e("4317"),a.e("1799"),a.e("5757"),a.e("2364")]).then(a.bind(a,26638))}]}},30794:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/market",redirect:"/market/task",name:"MarketLayout",component:a(53431).A,meta:{key:"market",title:"Email Marketing",titleKey:"layout.menu.market"},children:[{path:"/market",redirect:"/market/task",name:"Market",component:()=>Promise.all([a.e("7303"),a.e("3535")]).then(a.bind(a,77369)),children:[{path:"task",name:"MarketTask",meta:{title:"Task",titleKey:"layout.menu.task"},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("5529"),a.e("5701"),a.e("2017"),a.e("4485"),a.e("8559")]).then(a.bind(a,66469))},{path:"template",name:"MarketTemplate",meta:{title:"Template",hidden:!0,titleKey:"layout.menu.template"},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("6803"),a.e("5529"),a.e("5701"),a.e("6061"),a.e("2017"),a.e("4317"),a.e("4636"),a.e("5530"),a.e("5757"),a.e("4485"),a.e("8013")]).then(a.bind(a,11646))}]},{path:"task/edit",name:"MarketTaskEdit",meta:{title:"Task",hidden:!0},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("6803"),a.e("6061"),a.e("9780"),a.e("2017"),a.e("4317"),a.e("7222"),a.e("5658"),a.e("5757"),a.e("2546"),a.e("2102")]).then(a.bind(a,36289))},{path:"task/analytics/:id",name:"MarketTaskAnalytics",meta:{title:"Analytics",hidden:!0},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("5529"),a.e("5701"),a.e("7222"),a.e("424"),a.e("2823"),a.e("9252")]).then(a.bind(a,13626))}]}},65449:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/overview",component:a(53431).A,meta:{sort:0,key:"overview",title:"Overview",titleKey:"layout.menu.overview"},children:[{path:"/overview",name:"Overview",component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("5529"),a.e("5701"),a.e("7222"),a.e("424"),a.e("2823"),a.e("5779")]).then(a.bind(a,69209))}]}},84609:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/settings",name:"SettingsLayout",redirect:"/settings/common",meta:{sort:9,key:"settings",title:"Settings",titleKey:"layout.menu.settings"},component:a(53431).A,children:[{path:"/settings",name:"Settings",redirect:"/settings/common",component:()=>Promise.all([a.e("7303"),a.e("9468")]).then(a.bind(a,69052)),children:[{path:"common",name:"SettingsCommon",meta:{title:"Common",titleKey:"layout.menu.common"},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("6096"),a.e("3844")]).then(a.bind(a,51634))},{path:"service",name:"SettingsService",meta:{title:"Service",titleKey:"layout.menu.service"},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("5529"),a.e("5701"),a.e("4636"),a.e("9207")]).then(a.bind(a,36580))},{path:"bcc",name:"SettingsBcc",meta:{title:"BCC",titleKey:"layout.menu.bcc"},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("6803"),a.e("5529"),a.e("5701"),a.e("8396"),a.e("4485"),a.e("2880")]).then(a.bind(a,88559))},{path:"forward",name:"SettingsForward",meta:{title:"Forward",titleKey:"layout.menu.forward"},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("6803"),a.e("5529"),a.e("5701"),a.e("5498"),a.e("4485"),a.e("8128")]).then(a.bind(a,92004))},{path:"ai-model",name:"AiModel",meta:{title:"AI Model",titleKey:""},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("6061"),a.e("9780"),a.e("8943"),a.e("3635")]).then(a.bind(a,42987))},{path:"send-queue",name:"SendQueue",meta:{title:"Send Queue",titleKey:""},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("6803"),a.e("5529"),a.e("5701"),a.e("8072"),a.e("762"),a.e("1163")]).then(a.bind(a,55193))}]},{path:"rspamd",name:"SettingsRspamd",meta:{title:"Rspamd",titleKey:"",hidden:!0},component:()=>a.e("1095").then(a.bind(a,73152))}]}},48296:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/smtp",component:a(53431).A,meta:{sort:8,hidden:!1,key:"smtp",title:"SMTP",titleKey:""},children:[{path:"/smtp",name:"SMTP",component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("9780"),a.e("6646"),a.e("5291")]).then(a.bind(a,72264))}]}},31255:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/template",component:a(53431).A,meta:{sort:3,title:"template",key:"template",titleKey:"layout.menu.template"},children:[{path:"/template",name:"template",component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("6803"),a.e("5529"),a.e("5701"),a.e("6061"),a.e("2017"),a.e("4317"),a.e("4636"),a.e("3126"),a.e("5757"),a.e("4485"),a.e("9097"),a.e("7699")]).then(a.bind(a,13269))},{path:"ai-template/:chatId",name:"ai-template",component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("5529"),a.e("9780"),a.e("4636"),a.e("8953"),a.e("37"),a.e("6480")]).then(a.bind(a,20488))}]}},66746:function(e,t,a){"use strict";a.d(t,{ZP:()=>c,_j:()=>d,sh:()=>l});var i=a(65965),o=a(68271);let n=["Overview","Email Marketing","template","Send API","Contacts","MailDomain","MailBoxes","SMTP","Logs","Settings","Automation"],r=a(12052),l=[];for(let e of r.keys()){let t=r(e);(0,o.is)(t,"Module")&&l.push(t.default)}l=l.reduce((e,t)=>(e[n.findIndex(e=>e==t.meta.title)]=t,e),[]);let s=[];o.r8&&s.push({path:"/test",name:"Test",component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9780"),a.e("7303"),a.e("5867"),a.e("3697"),a.e("6366"),a.e("9380"),a.e("7235")]).then(a.bind(a,92382))});let d=[{path:"/login",name:"Login",component:()=>Promise.all([a.e("9602"),a.e("9372"),a.e("9926")]).then(a.bind(a,24680))},{path:"/",redirect:"/overview"},...l,...s],c=(0,i.p7)({history:(0,i.PO)("/"),routes:d,strict:!1,scrollBehavior:()=>({left:0,top:0})})},31708:function(e,t,a){"use strict";a.d(t,{ZP:()=>h,Ls:()=>r,fl:()=>g,s6:()=>p,LM:()=>m});var i=a(30989),o=a(57953),n=a(58786);let r=(0,i.Q_)("MenuStore",()=>{let e=(0,n.iH)(!1),t=(0,n.iH)([]);return{isCollapse:e,menuList:t,setCollapse:()=>{e.value=!e.value},setMenuList:e=>{t.value=e},closeSidebar:()=>{e.value=!1}}});var l=a(68271),s=a(73282),d=a(76882),c=a(52672);let m=(0,i.Q_)("UserStore",()=>{let{t:e}=d.Z.global,t=(0,n.iH)({token:"",refresh_token:"",ttl:0,expire:0}),a=(0,n.Fl)(()=>t.value.token&&t.value.expire>Date.now()),i=()=>{t.value.token="",t.value.refresh_token="",t.value.ttl=0,t.value.expire=0};return{login:t,isLogin:a,logout:()=>{(0,l.iG)({title:e("user.logout.title"),content:e("user.logout.content"),onConfirm:async()=>{await (0,s.kS)(),i(),c.Z.push("/login")}})},setLoginInfo:e=>{t.value.token=e.token,t.value.refresh_token=e.refresh_token,t.value.ttl=e.ttl,t.value.expire=1e3*e.ttl+Date.now()},resetLoginInfo:i}},{persist:{pick:["login"]}});var u=a(98003);let p=(0,i.Q_)("GlobalStore",()=>{let e=(0,n.iH)(""),t=(0,n.iH)("en"),a=(0,n.iH)([]),i=(0,n.iH)(!1),o=(0,n.iH)(""),r=async()=>{if(a.value.length>0)return;let e=await (0,u.Vb)();(0,l.Kn)(e)&&(t.value=e.current_language,a.value=e.available_languages)};return{domainSource:e,lang:t,langList:a,isCollapse:i,temp_subject:o,getLang:r,setLang:async e=>{await (0,u.m0)({language:e})},setCollapse:()=>{i.value=!i.value}}},{persist:[{pick:["domainSource"],storage:localStorage}]}),g=(0,i.Q_)("ThemeStore",()=>{let e=(0,n.iH)("light"),t=e=>getComputedStyle(document.documentElement).getPropertyValue(e).trim(),a=()=>({common:{lineHeight:"normal",fontSize:"12px",fontSizeSmall:"12px",fontSizeMedium:"12px",fontSizeLarge:"14px",borderRadius:"4px",baseColor:"#fff",textColor1:t("--color-text-1"),textColor2:t("--color-text-2"),primaryColor:t("--color-primary-1"),primaryColorHover:t("--color-primary-hover-1"),successColor:t("--color-primary-1"),successColorHover:t("--color-primary-hover-1"),warningColor:t("--color-warning-1"),errorColor:t("--color-error-1")},Layout:{color:t("--color-bg-2"),textColor:t("--color-text-1"),headerColor:t("--color-bg-1"),siderColor:t("--color-bg-1"),siderTextColor:t("--color-sider-text-1")},Menu:{fontSize:"14px",itemTextColor:t("--color-menu-1"),itemIconColor:t("--color-menu-1"),itemColorActive:t("--color-menu-active-1"),itemTextColorActive:t("--color-menu-active-2"),itemIconColorActive:t("--color-menu-active-2"),itemColorActiveHover:t("--color-menu-active-1"),itemTextColorActiveHover:t("--color-menu-active-2"),itemIconColorActiveHover:t("--color-menu-active-2"),itemColorActiveCollapsed:t("--color-menu-active-1")},Card:{color:t("--color-bg-1"),borderColor:"transparent",borderRadius:"6px"},Form:{feedbackHeightMedium:"20px",feedbackHeightLarge:"22px",feedbackFontSizeMedium:"12px",feedbackFontSizeLarge:"12px",feedbackPadding:"2px 0 0",labelFontSizeTopMedium:"13px",labelFontSizeLeftMedium:"13px",labelPaddingHorizontal:"0 20px 0 0",labelFontWeight:"700"},Radio:{buttonColor:t("--color-radio-1"),buttonColorActive:t("--color-radio-2"),buttonTextColor:t("--color-text-2"),buttonTextColorHover:t("--color-text-1"),buttonTextColorActive:t("--color-text-1"),buttonBorderColor:"transparent",buttonBorderColorHover:"transparent",buttonBorderColorActive:"transparent",buttonBoxShadowHover:"none",buttonBoxShadowFocus:"none",buttonBorderRadius:"4px",labelPadding:"0 0 0 8px"},Dialog:{contentMargin:"16px 0",textColor:t("--color-text-1")},DataTable:{thPaddingMedium:"10px",tdPaddingMedium:"10px",thColor:t("--color-table-th-1"),tdColor:t("--color-table-td-1"),tdColorHover:t("--color-table-th-1"),borderRadius:"4px"},Breadcrumb:{fontSize:"14px"},Switch:{railColorActive:t("--color-primary-1")},Tabs:{tabBorderRadius:"4px"},Progress:{textColorLineInner:"#fff"},Button:{color:t("--color-bg-1"),colorHover:t("--color-bg-1")}}),i=(0,n.iH)(a());return{theme:e,themeOverrides:i,setTheme:t=>{e.value=t},changeTheme:()=>{let t="dark"===e.value;document.documentElement.setAttribute("theme-mode",t?"dark":""),(0,n.Y3)(()=>{i.value=a()})}}},{persist:{pick:["theme"]}}),f=(0,i.WB)();f.use(o.Z);let h=f},68271:function(e,t,a){"use strict";a.d(t,{CB:()=>F,kJ:()=>L,JL:()=>O,NY:()=>Z,o8:()=>M,Dx:()=>j,UO:()=>q,qQ:()=>V,mf:()=>D,HD:()=>R,FZ:()=>B,mr:()=>z,r8:()=>N,hj:()=>k,Kn:()=>I,wb:()=>K,v0:()=>x,is:()=>A,J_:()=>E,iG:()=>s,$o:()=>Q});var i=a(58786),o=a(96616),n=a(27775),r=a(49247),l=a(60066);function s(e){let t=document.createElement("div"),a=()=>{(0,i.sY)(null,t),t.parentNode&&t.parentNode.removeChild(t)},s=(0,i.Wm)(r.Z,{show:!0,width:e.width||420,title:e.title,onCancel:e.onCancel,onConfirm:e.onConfirm,confirmText:e.confirmText,confirmType:e.confirmType,onAfterLeave:()=>{a()}},{default:()=>(0,i.Wm)("div",{class:"pt-6px pb-10px text-14px"},[(0,o.s)(e.content)])}),d=(0,i.Wm)(l.Z,{},{default:()=>[s]});d.appContext=n.l._context,(0,i.sY)(d,t)}var d=a(40833),c=a(71465),m=a(73023),u=a(56357),p=a(89620),g=a(62594),f=a(87075),h=a(62198),b=a(64812),y=a(52317);let v=(0,i.aZ)({__name:"index",emits:["click"],setup(e,t){let{emit:a}=t,o=e=>{a("click",e)};return(e,t)=>((0,i.wg)(),(0,i.iD)("div",{class:"bt-close-btn",onClick:o},t[0]||(t[0]=[(0,i._)("div",{class:"close-icon"},null,-1)])))}}),P=(0,a(41748).default)(v,[["__scopeId","data-v-52951952"]]),S=(0,i.aZ)({name:"BtMessage",props:{type:{type:String,default:"info"},content:{type:[String,Function],default:""},duration:{type:Number,default:2500},close:{type:Boolean,default:!1},isHtml:{type:Boolean,default:!1},maxWidth:{type:[String,Number],default:360},zIndex:Number},emits:["close"],setup(e,t){let{emit:a}=t,o=(0,i.iH)(null),n={success:{icon:()=>(0,i.Wm)(f.Z,null,null),color:"#20a53a"},error:{icon:()=>(0,i.Wm)(h.Z,null,null),color:"#E85445"},warning:{icon:()=>(0,i.Wm)(b.Z,null,null),color:"#e6a23c"},info:{icon:()=>(0,i.Wm)(y.Z,null,null),color:"#2080F0"},loading:{icon:()=>(0,i.Wm)(g.Z,{clsPrefix:"bt",strokeWidth:24,scale:.85},null),color:"#20a53a"}},r=(0,i.Fl)(()=>n[e.type]),l=0,s=()=>{a("close")},d=()=>{let{duration:t}=e;t>0&&(l=window.setTimeout(s,t))},c=()=>{l&&(window.clearTimeout(l),l=0)},u=()=>{let e=o.value;if(!e)return;let t=window.document.body,a=(t.clientWidth-e.clientWidth)/2,i=(t.clientHeight-e.clientHeight)/2;e.style.left=a+"px",e.style.top=i+"px"},p=!0,v=new m.Z(()=>{if(p){p=!1;return}u()}),P=()=>{(0,i.Y3)(()=>{let e=o.value;e&&(e.style.opacity="1")})};return(0,i.bv)(()=>{u(),P(),d(),v.observe(window.document.body)}),(0,i.Jd)(()=>{c(),v.disconnect()}),{iconInfo:r,messageRef:o,handleClose:s}},render(){var e;let t;return(0,i.wy)((0,i.Wm)("div",{ref:"messageRef",class:["bt-message-ke2eaH",`bt-message-${this.type}`],style:{maxWidth:(0,p.N)(this.maxWidth)}},[this.close&&(0,i.Wm)(P,{onClick:()=>{this.handleClose()}},null),(0,i.Wm)("div",{class:"flex-basis-30px"},[(0,i.Wm)(u.g,{size:30,color:this.iconInfo.color},"function"!=typeof(e=t=this.iconInfo.icon())&&("[object Object]"!==Object.prototype.toString.call(e)||(0,i.lA)(e))?{default:()=>[t]}:t)]),(0,i.Wm)("div",{class:"flex-1 ml-10px max-h-600px leading-20px text-14px overflow-auto"},[!this.isHtml&&(0,i.Wm)("div",null,[(0,o.s)(this.content)]),this.isHtml&&(0,i.Wm)("div",{innerHTML:this.content},null)])]),[[c.Z,{zIndex:this.zIndex,enabled:!0}]])}}),C=(0,i.aZ)({name:"MessageList",props:{messages:{type:Array,default:()=>[]},type:{type:String,default:"success"},position:{type:String,default:"center"}},emits:["close","afterClose"],setup(){},render(){var e;let t;return(0,i.Wm)(i.HY,null,[this.messages.map(e=>{if(e.mask)return(0,i.wy)((0,i.Wm)("div",{class:"n-modal-mask"},null),[[c.Z,{zIndex:void 0,enabled:!0}]])}),(0,i.Wm)(i.W3,{name:"bounce",onAfterLeave:()=>{this.$emit("afterClose")}},"function"!=typeof(e=t=this.messages.map(e=>(0,i.Wm)(S,{key:e.id,type:e.type,close:e.close,isHtml:e.isHtml,content:e.content,duration:e.duration,maxWidth:e.maxWidth,onClose:()=>{this.$emit("close",e.id)}},null)))&&("[object Object]"!==Object.prototype.toString.call(e)||(0,i.lA)(e))?{default:()=>[t]}:t)])}});class w{constructor(e){(0,d._)(this,"messageIds",void 0),(0,d._)(this,"messages",void 0),(0,d._)(this,"position",void 0),(0,d._)(this,"container",void 0),(0,d._)(this,"messageCount",0),(0,d._)(this,"add",e=>{this.messageCount++;let t=e.id??`__bt_message_${this.messageCount}`;if(this.messageIds.has(t))return this.update(t,e);let a=(0,i.qj)({id:t,...e});return this.messages.value.push(a),this.messageIds.add(t),{close:()=>this.remove(t)}}),(0,d._)(this,"update",(e,t)=>{for(let a=0;a<this.messages.value.length;a++)if(this.messages.value[a].id===e){let i=!M(t.duration);Object.assign(this.messages.value[a],{...t,id:e,resetOnUpdate:i});break}return{close:()=>this.remove(e)}}),(0,d._)(this,"remove",e=>{for(let t=0;t<this.messages.value.length;t++){let a=this.messages.value[t];if(a.id===e){D(a.onClose)&&a.onClose(e),this.messages.value.splice(t,1),this.messageIds.delete(e);break}}}),(0,d._)(this,"clear",()=>{this.messages.value.splice(0)}),(0,d._)(this,"destroy",()=>{0===this.messages.value.length&&this.container&&((0,i.sY)(null,this.container),document.body.removeChild(this.container),this.container=null,T[this.position]=void 0)});let{position:t="center"}=e,a=document.createElement("div");a.classList.add("bt-message-container"),this.container=a,this.messages=(0,i.iH)([]),this.messageIds=new Set,this.position=t;let o=(0,i.Wm)(C,{position:t,messages:this.messages.value,type:e.type,onClose:this.remove,onAfterClose:this.destroy});(0,i.sY)(o,this.container),document.body.appendChild(this.container)}}let T={},x=["info","success","warning","error","loading"].reduce((e,t)=>(e[t]=(e,a)=>{R(e)||D(e)?a?a.content=e:a={content:e}:a={...e},"loading"===t?(a.mask=void 0===a.mask||a.mask,a.duration=a.duration?a.duration:0):a.close&&(a.mask=void 0===a.mask||a.mask,a.duration=a.duration?a.duration:0);let i={type:t,...a},{position:o="center"}=i;return T[o]||(T[o]=new w(i)),T[o].add(i)},e),{});function A(e,t){return Object.prototype.toString.call(e)===`[object ${t}]`}function I(e){return null!==e&&A(e,"Object")}x.clear=e=>{if(e){var t;null==(t=T[e])||t.clear()}else Object.values(T).forEach(e=>null==e?void 0:e.clear())};let k=e=>A(e,"Number"),R=e=>A(e,"String"),D=e=>A(e,"Function"),M=e=>void 0===e,L=e=>Array.isArray(e),E=e=>A(e,"Date"),N=!1,B="",q=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(!k(e)&&isNaN(e=Number(e)))return"";let o=["B","KB","MB","GB","TB","PB","EB","ZB","YB","BB","NB","DB"],n=e;for(let e=0;e<o.length;e++){let r=o[e],l=0===a?Math.round(n).toString():n.toFixed(a);if(i&&r===i.trim()||n<1024)return t?`${l} ${r}`:l;n/=1024}return"--"};function F(e){return/^(https?:\/\/)?((([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,})|((\d{1,3}\.){3}\d{1,3}))(:\d{1,5})?(\/.*)?$/.test(e)}function O(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16;e=Math.max(e,3);let t="abcdefghijklmnopqrstuvwxyz",a="ABCDEFGHIJKLMNOPQRSTUVWXYZ",i="0123456789",o=t+a+i,n="";n+=t.charAt(Math.floor(Math.random()*t.length)),n+=a.charAt(Math.floor(Math.random()*a.length)),n+=i.charAt(Math.floor(Math.random()*i.length));for(let t=3;t<e;t++){let e=Math.floor(Math.random()*o.length);n+=o[e]}return n.split("").sort(()=>Math.random()-.5).join("")}var U=a(20157);let j=e=>Number.isNaN((0,U.Z)(e))?0:(0,U.Z)(e);var W=a(92824),H=a(36760),G=a(49468),_=a(76882);let z=function(e){let t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd HH:mm:ss";if(!e)return"--";try{if(R(e))t=isNaN((0,U.Z)(e))?new Date(e).getTime():j(e);else if(E(e))t=e.getTime();else{if(!k(e))return"--";let a=e.toString();t=10===a.length?1e3*e:e}return(0,W.WU)(t,a)}catch{return"--"}},K=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,t=(0,H.b)(e),a=(0,G.i)(e);return[t.getTime(),a.getTime()]},Z=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(!e||e<0)return`0 ${_.Z.global.t("common.unit.seconds")}`;let a=e/86400,i=e/3600,o=e/60;return a>=1?`${a.toFixed(t)} ${_.Z.global.t("common.unit.days")}`:i>=1?`${i.toFixed(t)} ${_.Z.global.t("common.unit.hours")}`:o>=1?`${o.toFixed(t)} ${_.Z.global.t("common.unit.minutes")}`:`${Math.floor(e)} ${_.Z.global.t("common.unit.seconds")}`},Q=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{let a=localStorage.getItem(e);if(null===a)return t;if(I(t))return JSON.parse(a);return a}catch{return t}},V=(e,t)=>{let a=I(t)?JSON.stringify(t):String(t);localStorage.setItem(e,a)}},60066:function(e,t,a){"use strict";a.d(t,{Z:()=>g});var i=a(48238),o=a(58786),n=a(30989),r=a(86831),l=a(44488),s=a(38325),d=a(24924),c=a(89462),m=a(79203),u=a(23406),p=a(31708);let g=(0,o.aZ)({__name:"index",setup(e){let t=(0,p.s6)(),{lang:a}=(0,n.Jk)(t),g=(0,p.fl)(),{theme:f,themeOverrides:h}=(0,n.Jk)(g),b={zh:{locale:r.Z,dateLocale:l.Z},en:{locale:s.Z,dateLocale:d.Z},ja:{locale:c.Z,dateLocale:m.Z}},y=(0,o.Fl)(()=>"dark"===f.value?u.$:null),v=(0,o.Fl)(()=>b[a.value].locale),P=(0,o.Fl)(()=>b[a.value].dateLocale);return(e,t)=>{let a=i.Z;return(0,o.wg)(),(0,o.j4)(a,{abstract:"","inline-theme-disabled":"",theme:(0,o.SU)(y),locale:(0,o.SU)(v),"date-locale":(0,o.SU)(P),"theme-overrides":(0,o.SU)(h)},{default:(0,o.w5)(()=>[(0,o.WI)(e.$slots,"default")]),_:3},8,["theme","locale","date-locale","theme-overrides"])}}})},49247:function(e,t,a){"use strict";a.d(t,{Z:()=>c});var i=a(5057),o=a(15496),n=a(58786),r=a(94821),l=a(89620);let s={class:"flex justify-between flex-1"},d={class:"flex gap-12px"},c=(0,n.aZ)({__name:"index",props:(0,n.Vf)({zIndex:Number,onAfterLeave:Function,title:{type:String,default:""},width:{type:[String,Number],default:"auto"},minHeight:{type:[Number,String],default:"auto"},footer:{type:Boolean,default:!0},transformOrigin:{type:String,default:"center"},confirmText:{type:String,default:""},confirmType:{type:String,default:"primary"},onCancel:{type:Function,default:()=>!0},onConfirm:{type:Function,default:()=>!0}},{show:{type:Boolean},showModifiers:{}}),emits:["update:show"],setup(e){let t=(0,n.tT)(e,"show"),{height:a}=(0,r.iPe)(),c=(0,n.Fl)(()=>a.value?`${a.value-32}px`:"auto"),m=()=>{t.value=!1},u=()=>{!1!==e.onCancel()&&(t.value=!1)},p=()=>{Promise.resolve(e.onConfirm()).then(e=>{!1!==e&&m()})},g=()=>{var t;null==(t=e.onAfterLeave)||t.call(e)};return(a,r)=>{let m=o.ZP,f=i.Z;return(0,n.wg)(),(0,n.j4)(f,{show:t.value,"onUpdate:show":r[0]||(r[0]=e=>t.value=e),preset:"dialog","z-index":e.zIndex,draggable:!0,"auto-focus":!1,"show-icon":!1,"mask-closable":!1,"internal-appear":!0,"internal-dialog":!0,"transform-origin":e.transformOrigin,style:(0,n.j5)({width:(0,n.SU)(l.N)(e.width)}),onAfterLeave:g},(0,n.Nv)({header:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)(e.title),1)]),default:(0,n.w5)(()=>[(0,n._)("div",{style:(0,n.j5)({maxHeight:(0,n.SU)(c),overflow:"auto"})},[(0,n.WI)(a.$slots,"default")],4)]),_:2},[e.footer?{name:"action",fn:(0,n.w5)(()=>[(0,n._)("div",s,[(0,n._)("div",null,[(0,n.WI)(a.$slots,"footer-left")]),(0,n._)("div",d,[(0,n.Wm)(m,{secondary:"",onClick:u},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)(a.$t("common.actions.cancel")),1)]),_:1}),(0,n.Wm)(m,{type:e.confirmType,onClick:p},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)(e.confirmText||a.$t("common.actions.confirm")),1)]),_:1},8,["type"])])])]),key:"0"}:void 0]),1032,["show","z-index","transform-origin","style"])}}})}},t={};function a(i){var o=t[i];if(void 0!==o)return o.exports;var n=t[i]={exports:{}};return e[i](n,n.exports,a),n.exports}a.m=e,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,i)=>(a.f[i](e,t),t),[])),a.u=e=>"static/js/async/"+e+"."+({1095:"4072569d",1163:"40e1f4fc",1581:"62ecce15",1799:"82bcc179",2017:"ed71b520",2102:"91138a35",2137:"31d4654f",2364:"eb92ae55",2546:"32a7a0b5",2768:"0d0cdcdb",2823:"47af3d18",2880:"3690aeef",2890:"69346f76",3126:"4f62a4e3",3324:"fd04b5cf",3354:"af31be73",3535:"b0ca7292",3606:"c5bd7813",3635:"93c2a49b",3697:"9e630381",37:"d902cb7a",3810:"6cb15944",3844:"244f5aca",424:"a8b4d687",4317:"78a8cfe0",4485:"54eed143",4602:"42684ca4",4636:"a6e49596",4836:"d2366132",5291:"77295fbb",5293:"1b74ca02",5326:"d7372b78",5461:"31057e0f",5498:"56da57d8",5529:"b849ba4d",5530:"ddd3c262",5658:"e566414c",5701:"0a022844",5757:"1953a93d",5779:"62472426",579:"f4df1ad3",5867:"127e2faf",6061:"0e2ac705",6096:"b5f9f8e3",6194:"9d546878",633:"0b3ef6ac",6366:"11e68ac4",6463:"9ef25a0c",6480:"b98167d9",6646:"81304560",6803:"12301c63",69:"07f369ca",6928:"892b6d31",6969:"10c6c9cf",7222:"4834acb2",7235:"c4aee453",7303:"1f99ded4",762:"4e3c94a4",7699:"c997735d",7704:"651d709f",7777:"7abd4f16",7907:"e0786937",8013:"037f0f41",8072:"b1d94d7d",8121:"5305d153",8128:"d8a49a38",8396:"b4461a1b",8559:"c17f8693",8749:"5e9ea659",8813:"ba11c92d",8943:"81a21695",8953:"7c602bac",9097:"60b0ea9b",9207:"6cc01a2d",9234:"3eaec856",9252:"697d0547",9372:"19031b29",9380:"2af01083",9468:"bae2140e",9538:"9443f6d5",9602:"03559ada",9780:"7a1639df",9926:"7c24cd6e"})[e]+".js",a.miniCssF=e=>"static/css/async/"+e+"."+({1095:"b0c2adf5",1163:"02234b0c",1581:"db7eab08",2102:"d68fdc8e",2364:"b852af68",2768:"8af5fcb0",3324:"d81793cd",3535:"3a6dc340",3635:"c76f3182",4602:"3a6dc340",4836:"02234b0c",5291:"8611c02d",5326:"5b708b05",5779:"4e44ff7b",633:"1b7c4845",6463:"debcc7bd",6480:"2d04b03a",6928:"41e4df66",6969:"3a6dc340",7699:"12b9bbb1",7704:"c43735fd",7777:"42b8c8e7",7907:"62c62088",8013:"f0e0f9ae",8121:"f450f301",8749:"c2216d51",8813:"fe1ed16e",9207:"db2f1c3e",9234:"0de153a8",9252:"4733345f",9380:"c59177f7",9468:"3a6dc340",9538:"114b87b8",9926:"fd2f892d"})[e]+".css",a.h=()=>"e0c873c65bc110d5",a.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="frontend:";a.l=function(i,o,n,r){if(e[i])return void e[i].push(o);if(void 0!==n)for(var l,s,d=document.getElementsByTagName("script"),c=0;c<d.length;c++){var m=d[c];if(m.getAttribute("src")==i||m.getAttribute("data-webpack")==t+n){l=m;break}}l||(s=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,a.nc&&l.setAttribute("nonce",a.nc),l.setAttribute("data-webpack",t+n),l.src=i),e[i]=[o];var u=function(t,a){l.onerror=l.onload=null,clearTimeout(p);var o=e[i];if(delete e[i],l.parentNode&&l.parentNode.removeChild(l),o&&o.forEach(function(e){return e(a)}),t)return t(a)},p=setTimeout(u.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=u.bind(null,l.onerror),l.onload=u.bind(null,l.onload),s&&document.head.appendChild(l)}})(),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e=[];a.O=(t,i,o,n)=>{if(i){n=n||0;for(var r=e.length;r>0&&e[r-1][2]>n;r--)e[r]=e[r-1];e[r]=[i,o,n];return}for(var l=1/0,r=0;r<e.length;r++){for(var[i,o,n]=e[r],s=!0,d=0;d<i.length;d++)(!1&n||l>=n)&&Object.keys(a.O).every(e=>a.O[e](i[d]))?i.splice(d--,1):(s=!1,n<l&&(l=n));if(s){e.splice(r--,1);var c=o();void 0!==c&&(t=c)}}return t}})(),a.p="/",a.rv=()=>"1.3.12",(()=>{if("undefined"!=typeof document){var e=function(e,t,i,o,n){var r=document.createElement("link");return r.rel="stylesheet",r.type="text/css",a.nc&&(r.nonce=a.nc),r.onerror=r.onload=function(a){if(r.onerror=r.onload=null,"load"===a.type)o();else{var i=a&&("load"===a.type?"missing":a.type),l=a&&a.target&&a.target.href||t,s=Error("Loading CSS chunk "+e+" failed.\\n("+l+")");s.code="CSS_CHUNK_LOAD_FAILED",s.type=i,s.request=l,r.parentNode&&r.parentNode.removeChild(r),n(s)}},r.href=t,i?i.parentNode.insertBefore(r,i.nextSibling):document.head.appendChild(r),r},t=function(e,t){for(var a=document.getElementsByTagName("link"),i=0;i<a.length;i++){var o=a[i],n=o.getAttribute("data-href")||o.getAttribute("href");if("stylesheet"===o.rel&&(n===e||n===t))return o}for(var r=document.getElementsByTagName("style"),i=0;i<r.length;i++){var o=r[i],n=o.getAttribute("data-href");if(n===e||n===t)return o}},i={2980:0};a.f.miniCss=function(o,n){if(i[o])n.push(i[o]);else 0!==i[o]&&({9252:1,6480:1,6969:1,1163:1,2768:1,8013:1,2102:1,9538:1,8749:1,9926:1,1095:1,8121:1,2364:1,5326:1,9380:1,5291:1,3635:1,9234:1,9468:1,3535:1,7704:1,3324:1,4602:1,7907:1,633:1,7699:1,9207:1,6928:1,7777:1,6463:1,1581:1,8813:1,4836:1,5779:1})[o]&&n.push(i[o]=new Promise(function(i,n){var r=a.miniCssF(o),l=a.p+r;if(t(r,l))return i();e(o,l,null,i,n)}).then(function(){i[o]=0},function(e){throw delete i[o],e}))}}})(),(()=>{var e={2980:0};a.f.j=function(t,i){var o=a.o(e,t)?e[t]:void 0;if(0!==o)if(o)i.push(o[2]);else{var n=new Promise((a,i)=>o=e[t]=[a,i]);i.push(o[2]=n);var r=a.p+a.u(t),l=Error();a.l(r,function(i){if(a.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var n=i&&("load"===i.type?"missing":i.type),r=i&&i.target&&i.target.src;l.message="Loading chunk "+t+" failed.\n("+n+": "+r+")",l.name="ChunkLoadError",l.type=n,l.request=r,o[1](l)}},"chunk-"+t,t)}},a.O.j=t=>0===e[t];var t=(t,i)=>{var o,n,[r,l,s]=i,d=0;if(r.some(t=>0!==e[t])){for(o in l)a.o(l,o)&&(a.m[o]=l[o]);if(s)var c=s(a)}for(t&&t(i);d<r.length;d++)n=r[d],a.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return a.O(c)},i=self.webpackChunkfrontend=self.webpackChunkfrontend||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})(),a.ruid="[email protected]";var i=a.O(void 0,["2072","5139","2118","3530"],function(){return a(27775)});i=a.O(i)})();\ No newline at end of filediff --git a/core/public/dist/static/js/index.9aa7fe0f.js b/core/public/dist/static/js/index.9aa7fe0f.jsdeleted file mode 100644index 68d1db91..00000000--- a/core/public/dist/static/js/index.9aa7fe0f.js+++ /dev/null@@ -1 +0,0 @@-(()=>{var e={12052:function(e,t,a){var i={"./api.ts":"25735","./automation.ts":"63768","./contacts.ts":"52345","./domain.ts":"78280","./logs.ts":"90427","./mailbox.ts":"5987","./market.ts":"30794","./overview.ts":"65449","./settings.ts":"84609","./smtp.ts":"48296","./template.ts":"31255"};function o(e){return a(n(e))}function n(e){if(!a.o(i,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}o.keys=function(){return Object.keys(i)},o.resolve=n,e.exports=o,o.id=12052},34541:function(e,t,a){"use strict";a.d(t,{A:()=>p,e:()=>l});var i=a(64767),o=a(52672),n=a(31708),r=a(68271);let l=i.Z.create({baseURL:r.FZ,timeout:6e5,headers:{"Content-Type":"application/json"},fetchOptions:{prefix:"/api",successMessage:!1}}),s=["/login"],d=new Map,c=e=>{let{method:t,url:a,params:i,data:o}=e;return`${t}-${a}-${JSON.stringify(i)}-${JSON.stringify(o)}`},u=e=>{let t=c(e);if(d.has(t)){var a;null==(a=d.get(t))||a.abort(),d.delete(t)}let i=new AbortController;e.signal=i.signal,d.set(t,i)},m=e=>{let t=c(e);d.has(t)&&d.delete(t)};l.interceptors.request.use(e=>{u(e);let{headers:t,url:a}=e;if(!s.includes(a||"")){let e=(0,n.LM)();t.Authorization=`Bearer ${e.login.token}`}return e}),l.interceptors.request.use(e=>{let{fetchOptions:t}=e;return(0,r.Kn)(t)&&(e.url=`${t.prefix}`+e.url),e}),l.interceptors.request.use(e=>{let{fetchOptions:t}=e;if((0,r.Kn)(t)&&t.loading){let{close:e}=r.v0.loading(t.loading);t.loadFn=e}return e}),l.interceptors.response.use(e=>{m(e.config);let{fetchOptions:t}=e.config,{code:a,data:i,msg:l,success:s}=e.data||{};if(null==t?void 0:t.cancelResInterceptor)return Promise.resolve(i);if((null==t?void 0:t.loadFn)&&t.loadFn(),"application/octet-stream"===e.data.type){let t=window.URL.createObjectURL(new Blob([e.data])),a=document.createElement("a");a.href=t;let o=e.headers["content-disposition"],n=o?decodeURIComponent(o.split("filename=")[1]):"downloaded_file";return a.setAttribute("download",n),document.body.appendChild(a),a.click(),document.body.removeChild(a),window.URL.revokeObjectURL(t),Promise.resolve(i)}return 0===a&&s?((null==t?void 0:t.successMessage)&&r.v0.success(l),Promise.resolve(i)):(!s&&l&&r.v0.error(l,{close:!0}),401===a&&((0,n.LM)().resetLoginInfo(),o.Z.push("/login")),Promise.reject(e.data))},e=>(i.Z.isCancel(e)||m(e.config||{}),Promise.reject(e)));let p=()=>{d.forEach((e,t)=>{e.abort(),d.delete(t)})}},98003:function(e,t,a){"use strict";a.d(t,{Sv:()=>n,Vb:()=>r,cT:()=>o,m0:()=>l});var i=a(34541);let o=(e,t)=>i.e.post("/file/upload",e,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:e=>{null==t||t(e)}}),n=e=>i.e.get("/file/download",{params:e,responseType:"blob"}),r=()=>i.e.get("/languages/get"),l=e=>i.e.post("/languages/set",e,{fetchOptions:{loading:"正在设置语言,请稍候...",successMessage:!0}})},73282:function(e,t,a){"use strict";a.d(t,{kS:()=>r,o1:()=>l,x4:()=>n});var i=a(34541);let{t:o}=a(76882).Z.global,n=e=>i.e.post("/login",e,{fetchOptions:{successMessage:!0}}),r=()=>i.e.post("/logout",{},{fetchOptions:{loading:o("user.api.loading.logout"),successMessage:!0}}),l=()=>i.e.get("/get_validate_code")},76882:function(e,t,a){"use strict";a.d(t,{m:()=>s,Z:()=>d});var i=a(52495),o=JSON.parse('{"common":{"all":{"text":"All","domain":"All Domains"},"time":{"today":"Today","yesterday":"Yesterday","last7days":"Last 7 Days","custom":"Custom"},"unit":{"days":"Days","hours":"Hours","minutes":"Minutes","seconds":"Seconds"},"columns":{"actions":"Operator"},"actions":{"view":"View","edit":"Edit","delete":"Delete","add":"Add","create":"Create","update":"Update","save":"Save","cancel":"Cancel","confirm":"Confirm","back":"Back","search":"Search","reset":"Reset","more":"More","refresh":"Refresh","copy":"Copy","restart":"Restart","import":"Import","export":"Export","download":"Download","upload":"Upload","apply":"Apply","test":"Test","rename":"Rename","preview":"Preview","modify":"Modify","config":"Config","help":"Help","settings":"Settings","clear":"Clear"},"useCopy":{"noText":"No text to copy","success":"Copy successful","failed":"Copy failed"}},"components":{"tableHelp":{"text1":"Submit {issues} for questions or suggestions, and light up a {star} on Github to support the project.","text2":"We highly value your active participation. Thank you."},"upload":{"error":{"fileSizeExceeded":"The size of file [{fileName}] cannot exceed {maxSize}MB","uploadFailed":"File upload failed. Please try again"},"prompt":{"dragText":"Click or drag files to this area","supportedFiles":"Only {suffix} files are supported"}}},"layout":{"header":{"submit":"Submit a Request"},"menu":{"overview":"Overview","market":"Email Marketing","task":"Task","template":"Template","sendApi":"Send API","contacts":"Contacts","subscribers":"Subscribers","group":"Group","domain":"Domain","mailboxes":"Mailboxes","settings":"Settings","common":"Common Settings","bcc":"BCC","forward":"Mail Forward","logout":"Logout","service":"Service","logs":"Logs","operation_logs":"Operation Logs","error_logs":"Error Logs"}},"login":{"title":"BillionMail","form":{"usernamePlaceholder":"Username","passwordPlaceholder":"Password","loginButton":"Login","captchaPlaceholder":"Verification code","changeCaptcha":"Click to change","captcha":"Verification code"},"validation":{"usernameRequired":"Username cannot be empty!","passwordRequired":"Password cannot be empty!","captchaRequired":"Please enter the verification code"},"messages":{"loginSuccess":"Login successful","loginFailed":"Login failed","networkError":"Network error, please try again later"}},"user":{"logout":{"title":"Tips","content":"Are you sure you want to logout?"},"api":{"loading":{"logout":"Logging out, please wait..."}}},"overview":{"delivered":"Delivered","opened":"Opened","clicked":"Clicked","bounced":"Bounced","delayedQueue":"Delayed Queue","mailProviders":"Mail Providers","sendStats":"Send Statistics","provider":{"mailProvider":"Mail Provider","delivered":"Delivered","open":"Open","click":"Click","bounce":"Bounce"},"send":{"successRate":"Success Rate","success":"Success","fail":"Failed","sendSuccess":"Send Success","sendFail":"Send Failed"},"rate":{"openRate":"Open Rate","clickRate":"Click Rate","bounceRate":"Bounce Rate"},"sendFailDetails":{"title":"Send Failed Details","columns":{"recipient":"Recipient","dsn":"Dsn","delay":"Delay","delays":"Delays","status":"Status","relay":"Relay","details":"Details"}},"sendQueue":{"title":"Send Queue","breadcrumb":"Send Queue","buttons":{"refresh":"Refresh Queue","quickClear":"Quick Clear","paramConfig":"Queue Parameter Configuration","resend":"Resend","batchDelete":"Batch Delete","batchResend":"Resend"},"table":{"columns":{"sender":"Sender","recipient":"Recipient","arrivalTime":"Arrival Time","messageSize":"Message Size","delayReason":"Delay Reason","action":"Action"}},"confirm":{"quickClear":{"title":"Quick Clear","content":"Are you sure you want to quickly clear the queue?"},"resend":{"title":"Resend","content":"Are you sure you want to resend the queue?"},"delete":{"title":"Delete Queue","content":"Are you sure you want to delete this queue?"},"batchDelete":{"title":"Batch Delete","content":"Are you sure you want to delete {count} send queues?"},"batchResend":{"title":"Batch Resend","content":"Are you sure you want to resend {count} send queues?"}},"paramConfig":{"title":"Queue Parameter Configuration","fields":{"bounceQueueLifetime":"Bounce Queue Lifetime","maximalQueueLifetime":"Maximal Queue Lifetime","minimalBackoffTime":"Minimal Backoff Time","maximalBackoffTime":"Maximal Backoff Time","queueRunDelay":"Queue Run Delay","triggerTimeout":"Trigger Timeout"}},"queueLogs":{"title":"Queue Logs"}},"api":{"loading":{"resendQueue":"Resending queue, please wait...","deleteQueue":"Deleting queue, please wait...","setQueueConfig":"Setting queue parameters, please wait...","clearQueue":"Clearing queue, please wait..."}}},"market":{"task":{"title":"Task","actions":{"add":"Add Task","detail":"View","export":"Export","send":"Send","pause":"Pause","analytics":"Analytics"},"columns":{"time":"Time","subject":"Subject","sender":"Sender","recipients":"To","success":"Success","failed":"Failed","status":"Status","remark":"Remark","estimatedTime":"Estimated Complet Time","progress":"Progress","email":"Email","errorMsg":"Error Message"},"status":{"pending":"Pending","processing":"Processing","done":"Done","noIpWarmup":"No IP Warmup"},"search":{"subjectPlaceholder":"Search by subject"},"changeStatus":{"title":"Change Task Status [{subject}]","startConfirm":"Start sending task now?","pauseConfirm":"After pausing the task, you can continue sending it!"},"delete":{"title":"Delete Task","confirm":"Are you sure you want to delete the task \\"{subject}\\"?"},"detail":{"title":"Task Details","displayName":"Display Name","sender":"Sender","subject":"Mail Subject","groups":"Groups","sendTime":"Send Time","unsubscribeLink":"Unsubscribe Link","threads":"Threads Num","remark":"Remark","yes":"Yes","no":"No","auto":"Auto"},"edit":{"addTitle":"Add Task","from":"From","to":"To","displayName":"Display Name","displayNamePlaceholder":"Please enter display name","subject":"Subject","subjectPlaceholder":"Please enter mail subject","recipients":"Recipients","recipientsPlaceholder":"Please select recipient groups","recipientsCount":"Send emails ({count} recipients)","template":"Email template","saveOutbox":"Save to outbox","ipWarmup":"Associate IP Warmup System","ipWarmupTip":"Enabling this will limit the sending rate","unsubscribeLink":"Unsubscribe link","threads":"Threads","threadsAuto":"Auto","threadsCustom":"Custom","sendTime":"Send time","sendTimeNow":"Send now","sendTimeSchedule":"Schedule","remark":"Remark","remarkPlaceholder":"Please enter remark","testEmail":"Test email","testEmailPlaceholder":"Please enter test email","sendTest":"Send test mail","viewCase":"View case","preview":{"empty":"Please select an email template to preview"},"validation":{"displayNameRequired":"Please enter display name","subjectRequired":"Please enter mail subject","recipientsRequired":"Please select contact person","sendTimeRequired":"Please select send time","testEmailRequired":"Please enter test email","templateRequired":"Please select email template"},"discard":{"title":"Tips","content":"Do you want to discard your current edits?"}},"createGroup":{"title":"Create Group","groupName":"Group Name","email":"Email","groupNamePlaceholder":"Please enter group name","validation":{"groupNameRequired":"Please enter group name"}},"loading":{"creating":"Creating task, please wait...","deleting":"Deleting task, please wait...","pausing":"Pausing task, please wait...","resuming":"Resuming task, please wait...","sendingTest":"Sending test email, please wait..."}},"template":{"title":"Template","name":"Template Name","content":"Template Content","uploadHtml":"Upload HTML File","file":"Template File","actions":{"add":"Add Template","preview":"Preview","duplicate":"Duplicate","export":"Export","import":"Import"},"columns":{"name":"Template Name","type":"Type","createdAt":"Created At"},"types":{"drag":"Drag","html":"HTML","ai":"AI"},"edit":{"confirm":"Confirm","cancel":"Cancel"},"search":{"namePlaceholder":"Search template name"},"delete":{"title":"Delete Template","confirm":"Are you sure to delete template {name}?"},"form":{"name":"Template Name","type":"Template Type","content":"Template Content"},"add":{"title":"Add Template","namePlaceholder":"Please enter template name","validation":{"nameRequired":"Please enter template name","uploadRequired":"Please upload HTML file"}},"preview":{"title":"Template Preview"},"loading":{"creating":"Creating template, please wait...","updating":"Updating template, please wait...","copying":"Copying template, please wait...","deleting":"Deleting template, please wait..."}}},"template":{"template":"Template","createTpl":{"sourceUrl":"Source Url","useAiTools":"Use AI tools to help you automatically generate email content and improve your work efficiency.","create":"Create","notices":{"domainListEmpty":"Please create the first domain for BillionMail to send emails","aiConfigurationInvalid":"AI large model is not currently configured, you cannot use AI model to create email templates","invalidBrandDomain":"Please create brand information for the domain first"},"buttons":{"createNow":"Create Now","configureNow":"Configure Now"}},"ai":{"title":"AI Template","welcomeMessage":"You can say: Create a welcome email for users joining {domain}","greeting":"Let\'s create a beautiful email template.","brandName":"BillionMail","buttons":{"regenerate":"Regenerate","info":"Info","view":"View","edit":"Edit","copy":"Copy","copied":"Copied","apply":"Apply"},"tips":{"saveShortcut":"[Ctrl + s] to save your change"},"loading":{"message":"Loading... Please wait."},"send":"Send"}},"contacts":{"subscribers":{"joinGroup":"Join Group","selectGroupHint":"Please select a group on the right","trends":{"title":"Subscription Trends","subscriber":"Subscriber"},"search":{"emailPlaceholder":"Enter an email address to search"},"columns":{"email":"Email","name":"Group Name","createdAt":"Creation Time"},"status":{"subscribed":"Subscribed","unsubscribed":"Unsubscribed"},"actions":{"changeGroup":"Change Group"},"delete":{"title":"Delete Subscriber","confirm":"Are you sure you want to delete the subscriber {email}?"},"select":{"prefix":"Group: "},"edit":{"title":"Change Group","email":"Email","group":"Group","status":"Status","attributes":"Attributes","statusOptions":{"subscribe":"Subscribe","unsubscribe":"Unsubscribe"},"validation":{"emailRequired":"Please enter email","groupRequired":"Please select group"}},"import":{"title":"Import Contacts","group":"Group","data":"Data","pasteData":"Paste Data","uploadFile":"Upload File","pastePlaceholder":["Please paste data, one email, attributes(can be empty) per line","e.g., [email protected]","[email protected],\\"{\\"\\"age\\"\\": \\"\\"13\\"\\", \\"\\"Gender\\"\\": \\"\\"XXX\\"\\"}\\""],"fileTypeHint":"File type: csv, not exceeding 5 MB","overwriteLabel":"Overwrite Existing Users","overwriteDescription":"Whether to overwrite existing customer information in the list according to imported data during import","subscriptionStatus":"Subscription Status","status":"Status","exampleCsvLabel":"Example CSV","overwriteOptions":{"no":"No","yes":"Yes"},"subscriptionOptions":{"subscribe":"Subscribe","unsubscribe":"Unsubscribe"},"statusOptions":{"confirmed":"Confirmed","unconfirmed":"Unconfirmed"},"validation":{"groupRequired":"Please select group","dataRequired":"Please paste data, one email per line","fileRequired":"Please upload file"}},"loading":{"importSubscribers":"Importing contacts, please wait...","updateSubscriberGroup":"Updating group, please wait...","deleteSubscriber":"Deleting contacts, please wait..."}},"group":{"search":{"namePlaceholder":"Search by group name"},"columns":{"name":"Group Name","subscribers":"Subscribers","unsubscribe":"Unsubscribed","createdAt":"Created At","type":"Type"},"type":{"doubleOptin":"Double Opt-In","singleOptin":"Single Opt-In"},"export":{"title":"Export Group","confirm":"Export {count} group(s)?"},"form":{"name":"Group Name","file":"File","nameRequired":"Please enter group name"},"add":{"title":"Add Group"},"rename":{"title":"Rename Group"},"delete":{"title":"Delete Group","confirm":"Are you sure to delete group {name}?"},"fileUpload":{"hint":"File type: csv, not exceeding 5 MB","emptyHint":"An empty group will be created when no file is uploaded"},"loading":{"createGroup":"Creating group, please wait...","updateGroup":"Updating group, please wait...","deleteGroup":"Deleting group, please wait...","exportGroup":"Exporting, please wait...","saveSettings":"Saving, please wait..."}},"settings":{"title":"Settings","tabs":{"subscribeForm":"Subscribe Form","subscribeSettings":"Subscribe Settings"},"subscribeForm":{"separateSubscriptionPage":{"title":"Separate Subscription Page","description":"Simply copy and share this URL with users – the subscription form is ready to use."},"embeddableForm":{"title":"Embeddable Form","description":"Easily embed this subscription form into your website pages."}},"subscribeSettings":{"listType":{"label":"List Type","placeholder":"Please select list type","options":{"doubleOptin":"Double Opt-in","singleOptin":"Single Opt-in"}},"confirmEmail":{"subject":"Confirmation Email Subject","redirectLink":"Confirmation Redirect Link","redirectDescription":"Enter the custom link below to redirect users to a confirmation page for their \'Double Opt-in\' subscription","emailContent":"Confirmation Email","emailTip1":"If you customize the confirmation email, don\'t forget to include the confirmation link","emailTip2":"somewhere in your message"},"welcomeEmail":{"subject":"Welcome Email Subject","redirectLink":"Welcome Redirect Link","redirectDescription":"Please enter the link below to direct users to a custom confirmation page after they subscribe successfully","emailContent":"Welcome Email","sendThroughTip":"Messages are sent through the","mailboxTip":"mailbox of the default sending domain","enabledDescription":"When enabled, a thank you email will be sent to the user when they subscribe via the subscription form or API. This will not be triggered for manually added users.","templateVariablesTip":"You can use the information you collect in the subject and message of your thank you email, which is the Template Variables."},"alreadySubscribed":{"redirectLink":"Already Subscribed Redirect Link"}}},"suspend":{"title":"Suspended Emails","buttons":{"scanInvalidDomains":"Scan Invalid Domains","scanLogs":"Scan Logs","autoBlockFailedEmails":"Auto block failed emails"},"search":{"emailPlaceholder":"Please enter email"},"columns":{"email":"Email","description":"Description","status":"Status","addTime":"Add Time"},"status":{"invalid":"Invalid","checking":"Checking"},"confirm":{"clear":{"title":"Clear","content":"This will clear all data under that type, do you continue?"},"delete":{"title":"Delete","content":"Are you sure you want to delete [{email}]"}},"scan":{"title":"Scan Invalid Domains","confirmText":"Scan","form":{"group":"Group","method":"Method","groupRequired":"Please select group"},"methods":{"noOperation":"no-operation","addToExceptionTable":"Added to the exception prevention table","deleteFromGroup":"The abnormal mailbox is deleted from the group"}},"scanLogs":{"title":"Scan Logs","none":"None"},"api":{"loading":{"deleting":"Deleting, please wait...","scanning":"Scanning, please wait...","clearing":"Clearing, please wait...","setting":"Setting, please wait..."}}}},"domain":{"title":"MailDomain","addDomain":"Add Domain","help":"Add the domain you want to use to send emails","columns":{"domain":"Domain","quota":"Quota","mailboxes":"Mailboxes","defaultMailboxSize":"Default Mailbox Size","actions":"Actions"},"actions":{"dnsRecord":"DNS Records"},"delete":{"title":"Delete Domain","confirm":"Are you sure you want to delete domain [{domain}]?"},"waitAndCheckDomainStatus":{"success":"Brand information initialization successful.","error":"Brand information initialization failed.","loading":"Initializing brand information, please wait..."},"form":{"addTitle":"Add Domain","editTitle":"Edit Domain","domain":"Domain","domainPlaceholder":"Please enter domain, e.g.: billionmail.com","urlsPlacement":"Please enter url, e.g.: https://billionmail.com","aRecord":"A Record","aRecordPlaceholder":"Please enter A record, e.g.: mail.aapanel.com","quota":"Domain Quota","mailboxCount":"Mailbox Count","globalCatch":"Catch All","globalCatchPlaceholder":"Forward non-existent emails to this address","validation":{"domainRequired":"Domain name cannot be empty!"},"tips":{"aRecordFailed":"A record resolution failed. Please check if the A record domain is resolved to the server IP","dnsSetup":"You need to add an A record in your DNS provider\'s console","cloudflare":"If using CloudFlare, please select [DNS only] when adding records"},"createBrandInfo":"Automatically create brand information","modelNotice":"To use this feature, you need to integrate an AI model first.","integrateImmediately":"Integrate immediately","modelDescription":"AI-driven information import automatically analyzes and creates brand information from email domains. After creation, you can modify it at your discretion.","extractBrand":"Extract brand and color","analyzeStructure":"Analyze content structure","importContent":"Import images and content","customLogo":"Use a custom logo (optional)","specifyDomain":"Specify a domain name","addMoreUrls":"Add more URLs","maxUrl":"Maximum of 3 URLs can be filled in."},"dns":{"title":"DNS Records","verify":"Records set, verify DNS resolution","status":{"ok":"OK","notSet":"Not Set"},"columns":{"domain":"Domain"},"table":{"recordType":"Record Type","host":"Host","value":"Value","mxPriority":"MX Priority"},"step1":{"title":"Step 1: Add A Record"},"step2":{"title":"Step 2: Add MX Record","description":"Login to your domain service provider and add an MX record for email service (please copy the following parameters directly)"},"step3":{"title":"Step 3: Add TXT Record","description":"Add TXT records for email anti-spam (please copy the following parameters directly)"},"step4":{"title":"Step 4: Add PTR Record","description1":"(Optional) PTR record is used for reverse DNS lookup","description2":"Contact your IP provider to create PTR record"}},"ssl":{"expired":"Expired","daysLeft":"{days} days","notSet":"Not Set","title":"Domain SSL","tabs":{"otherCertificate":"Other Certificate"},"cert":{"brand":"Brand","domains":"Certificate Domains","privateKey":"Private Key (KEY)","certificate":"Certificate (CRT/PEM)","keyPlaceholder":"Enter private key content","certPlaceholder":"Enter certificate content"},"actions":{"applyFree":"Apply Free Certificate"},"tips":{"paste":"Paste your KEY and CRT content, then save","chainCheck":"If the browser prompts that the certificate chain is incomplete, please check if the PEM certificate is correctly concatenated","pemFormat":"PEM format certificate = Domain certificate .crt + Root certificate (root_bundle).crt","defaultSite":"When no SSL default site is specified, sites without SSL configuration will use HTTPS to access sites with SSL enabled"}},"edit":{"pageTitle":"Domain / Edit domain","save":"Save","tabs":{"domainConfiguration":"Domain Configuration","projectDetails":"Project Details","companyProfile":"Company Profile","styling":"Styling","sitemap":"Sitemap","footerSettings":"Footer Settings","aiSettings":"AI Settings"},"domainConfiguration":{"title":"Mail Domain Configuration","domain":"Domain","domainQuota":"Domain Quota","mailboxCount":"MailBox Count","catchAll":"Catch all","autoCreateBrand":"Automatically create brand information","aiIntegrationWarning":"To use this feature, you need to integrate an AI model first.","integrateImmediately":"Integrate immediately","aiDescription":"AI-driven information import automatically analyzes and creates brand information from email domains. After creation, you can modify it at your discretion.","features":{"extractBrand":"Extract brand and color","analyzeStructure":"Analyze content structure","importContent":"Import images and content","customLogo":"Use a custom logo (optional)"},"specifyDomain":"Specify a domain name","addMoreUrls":"Add more URLs","createNow":"Create Immediately","brandInfo":"Brand information","noBrandInfo":"No brand information available.","fillDomain":"Please fill in the domain name","fillValidDomain":"Please fill in a valid domain name"},"projectDetails":{"title":"Project Details","projectName":"Project Name","description":"Description","brandLogos":"Brand Logos","logoSystem":"Logo System","logoSystemDesc":"Upload your brand\'s logo system to maintain consistent branding across your project","primaryLogo":"Primary Logo","primaryLogoDesc":"Horizontal version for headers","secondaryLogo":"Secondary Logo","secondaryLogoDesc":"Vertical/stacked version","favicon":"Favicon","faviconDesc":"Icon for browser tabs","loadingFailed":"loading failed","knowledgeBase":"Knowledge Base","newFile":"New File","edit":"Edit","preview":"Preview","newKnowledgeFile":"New Knowledge File","fileName":"File Name","day":"days","hour":"hours","minute":"minutes","ago":"ago","justNow":"just now","close":"Close","cancel":"Cancel","create":"Create","notice":"Notice","sureDel":"Are you sure you want to delete?"},"companyProfile":{"title":"Company Detail","legalCompanyName":"Legal Company Name","website":"web_site","organizationNumber":"Organization Number","additionalInfo":"Additional Company Information","contactInfo":"Contact Information","contactEmail":"Contact Email","phoneNumber":"Phone Number","supportUrl":"Support URL"},"styling":{"colorPalette":"Color Palette","accentColor":"Accent Color","textColor":"Text Color","pageBackground":"Page Background","containerBackground":"Container Background","linkFooterColor":"Link footer color","linkSocialColor":"Link social color","typography":"Typography","headingFont":"Heading Font","bodyFont":"Body Font","preview":"Preview:","previewText":"The quick brown fox jumps over the lazy dog","typographyGuidelines":"Typography Guidelines:","webSafeFonts":"Use web-safe fonts for better compatibility","fallbackFonts":"Always include fallback fonts for better performance"},"sitemap":{"title":"Sitemap","addLink":"Add link"},"footerSettings":{"title":"Footer Settings","additionalContent":"Additional Content","copyrightText":"Copyright Text"},"aiSettings":{"title":"AI Settings","defaultInstructions":"Default AI Instructions","emailGenerationInstructions":"Instructions for Email Generation","instructionsDescription":"These instructions will be used as default guidelines when generating new emails. You can override these instructions for individual emails as needed."},"common":{"daysAgo":"days ago","noBrandInfo":"There is no brand information for the current domain."}},"api":{"loading":{"creating":"Creating Domain, please wait...","updating":"Updating Domain, please wait...","deleting":"Deleting Domain, please wait...","settingSSL":"Setting SSL, please wait...","applyingCert":"Applying SSL Certificate, please wait...","refreshingDns":"Refreshing DNS records, please wait..."}}},"mailbox":{"title":"Mailbox Management","actions":{"add":"Add Mailbox","batchAdd":"Batch Add","batchDelete":"Batch Delete","exportAll":"Export All"},"search":{"usernamePlaceholder":"Search username"},"domain":{"selectPlaceholder":"Select domain"},"columns":{"username":"Username","password":"Password","loginInfo":"Login Info(WebMail / SMTP)","quota":"Quota","type":"Type","status":"Status"},"userType":{"admin":"Admin","general":"General User"},"form":{"addTitle":"Add Mailbox","editTitle":"Edit Mailbox","batchAddTitle":"Batch Add","exportTitle":"Export Mailbox","importTitle":"Import Mailbox","emailAddress":"Email Address","password":"Password","passwordPlaceholder":"Enter your mailbox password","quota":"Quota","userType":"User Type","status":"Status","domain":"Domain","prefix":"Email Prefix","count":"Email Count"},"validation":{"emailRequired":"Please enter email address","passwordLength":"Password must be at least 8 characters","passwordFormat":"Password must contain at least one uppercase letter, one lowercase letter and one number","domainRequired":"Please select domain","prefixRequired":"Please enter email prefix","countRequired":"Please enter email count","fileRequired":"Please select upload file"},"delete":{"title":"Delete Mailbox","confirm":"Are you sure you want to delete mailbox [{name}]?","batchConfirm":"Are you sure you want to delete {count} mailboxes?"},"loginInfo":{"template":"WebMail: {webmail}\\nUsername: {username}\\nPassword: {password}\\nPOP service [ Address: {mx} Port: 110/995 ]\\nIMAP service [ Address: {mx} Port: 143/993 ]\\nSMTP service [ Address: {mx} Port: 25/465/587 ]"},"api":{"loading":{"creating":"Creating Mailbox, please wait...","updating":"Updating Mailbox, please wait...","deleting":"Deleting Mailbox, please wait...","exporting":"Exporting Mailbox, please wait...","importing":"Importing Mailbox, please wait..."}}},"smtp":{"title":"SMTP Relay Service Management","description":"Manage your SMTP relay services with support for multiple service providers","empty":"No SMTP relay services available","providers":{"gmail":"Gmail","mailgun":"Mailgun","aws":"AWS SES","sendgrid":"SendGrid","custom":"Custom SMTP"},"delete":{"title":"Delete Relay","confirm":"Are you sure you want to delete this relay service [{name}]?"},"card":{"domain":"Bound Domain","server":"Server","port":"Port","username":"Username","dnsUpdateRequired":"DNS records need updating"},"form":{"addTitle":"Add SMTP","editTitle":"Edit SMTP","remark":"Remark","domain":"Bound Domain","server":"SMTP Server","port":"SMTP Port","username":"Username","password":"Password","authMethod":"Authentication Method","advancedFeatures":"Advanced Options","testConnection":"Test Connection","bind":" [Bound]","skipTlsVerify":"Skip TLS Verification","tlsOptions":{"skip":"Skip","noSkip":"Don\'t Skip"},"validation":{"nameRequired":"Please enter a relay name","domainRequired":"Please select a bound domain","serverRequired":"Please enter an SMTP server","portRequired":"Please enter an SMTP port","usernameRequired":"Please enter a username","passwordRequired":"Please enter a password"}},"status":{"online":"Online","offline":"Offline"},"api":{"loading":{"adding":"Adding SMTP, please wait...","editing":"Editing SMTP, please wait...","testing":"Testing SMTP connection, please wait...","deleting":"Deleting SMTP, please wait..."}}},"settings":{"title":"Settings","service":{"title":"Service Status","tips":"Tips: Ctrl+F Search keywords, Ctrl+S Save, Ctrl+H Search and replace","editTitle":"Online Edit {name}","columns":{"name":"Service Name","status":"Status"},"status":{"running":"Running","stopped":"Stopped"},"actions":{"restart":"Restart"},"restart":{"title":"Restart Service","confirm":"Are you sure you want to restart [{name}]?"}},"bcc":{"title":"BCC Management","add":"Add BCC","edit":"Edit BCC","needCopy":"Need Copy","copyTo":"Copy to","domain":"Domain","type":"BCC Type","status":"Status","active":"Active","types":{"sender":"When sending","recipient":"When receiving"},"delete":{"title":"Delete BCC [{address}]","content":"Whether to delete the BCC setting?"},"placeholders":{"needCopy":"Enter the users you need to BCC","copyTo":"Enter the email you need to receive the BCC"},"loading":{"adding":"Adding BCC, please wait...","saving":"Saving BCC, please wait...","deleting":"Deleting BCC, please wait..."}},"forward":{"add":"Add Forward","edit":"Edit Forward","columns":{"address":"Address","goto":"Goto","domain":"Domain","created":"Created","modified":"Modified","status":"Status"},"form":{"status":"Status","forwardedUsers":"Forwarded users","forwardedUsersPlaceholder":"Enter the mailbox that needs to be forwarded","domain":"Domain","domainPlaceholder":"Domain name of the Forwarded users","receivingUser":"Receiving user","receivingUserPlaceholder":"Users who need to accept forwarded mail. If there are multiple, please separate them with newlines"},"delete":{"title":"Delete mail forward","content":"Are you sure you want to delete mail forward [{address}]?"},"loading":{"adding":"Adding mail forward, please wait...","editing":"Editing mail forward, please wait...","deleting":"Deleting mail forward, please wait..."}},"common":{"confirm":"Update","security":{"title":"Security Settings","username":"Change Username","currentUsername":"Current Username","newUsernamePlaceholder":"Enter new username","usernameRule":"4-20 characters, letters and numbers","usernameExists":"Username already exists","changePassword":"Change Password","currentPassword":"Current Password","newPassword":"New Password","confirmPassword":"Confirm New Password","passwordStrength":"Password Strength","passwordMismatch":"Passwords do not match","strength":{"weak":"Weak","medium":"Medium","strong":"Strong"},"securityPath":"Change Security Path","currentPath":"Current Path","newPathPlaceholder":"Enter new path, e.g. admin-abc123","pathRule":"Recommend using complex path for enhanced security","usernameValidation":{"lengthError":"Username length must be between 4 and 20 characters","formatError":"Username must consist of letters, numbers or underscores","duplicateError":"Username cannot be the same as current username"}},"network":{"title":"Network Configuration","domain":"Domain Settings","currentDomain":"The access domain name of the console","newDomainPlaceholder":"Enter new domain, e.g. admin.yourdomain.com","domainRule":"Please enter a valid domain","ssl":"SSL Certificate Configuration","sslEnabled":"SSL Enabled","certStatus":"Certificate Status","certValid":"({days} days remaining)","sslCert":"SSL Certificate (PEM format)","sslKey":"Private Key (PEM format)","certPlaceholder":"-----BEGIN CERTIFICATE-----\\nMIIFazCCA1OgAwIBAgIURv...\\n-----END CERTIFICATE-----","keyPlaceholder":"-----BEGIN PRIVATE KEY-----\\nMIIEvQIBADANBgkqhkiG...\\n-----END PRIVATE KEY-----","updateSSL":"Update SSL Certificate","certValidStatus":"Certificate Valid","certExpiredStatus":"Certificate Expired","certExpireTime":"Certificate expires: {time}"},"system":{"title":"System Configuration","port":"Port Settings","currentPort":"Current Port","terminalRequired":"This setting requires terminal operation","copyCommand":"Copy the above command and execute it in the server terminal","commandCopied":"Command copied to clipboard","timezone":"Timezone Settings","currentTime":"Current System Timezone"},"ipWhitelist":{"title":"IP Whitelist","enable":"Enable","disable":"Disable","add":"Add","clear":"Clear","description":"Only allow IPs in the list to access, terminal command to disable: bm.sh cancel-ip-limit","placeholder":"Please enter IP address","validation":{"ipRequired":"Please enter IP address"},"confirm":{"deleteTitle":"Delete IP Whitelist","deleteContent":"Confirm to delete IP whitelist: {ip}","enableTitle":"Enable IP Whitelist","disableTitle":"Disable IP Whitelist","enableContent":"Confirm to enable IP whitelist, only whitelisted IP addresses can access after enabling","disableContent":"Confirm to disable IP whitelist, all IP addresses can access after disabling","clearTitle":"Clear IP Whitelist","clearContent":"Confirm to clear IP whitelist, all IP addresses can access after clearing"}},"proxy":{"title":"Reverse Proxy","description":"Reverse proxy address, used for external exposure, such as: subscription lists, unsubscribe emails, etc.","placeholder":"Please enter reverse proxy address","formatTip":"Format: https://example.com","reset":"Reset","resetConfirm":{"title":"Reset Reverse Proxy","content":"Confirm to reset reverse proxy?"}}},"api":{"loading":{"restarting":"Restarting service, please wait...","saving":"Saving configuration, please wait...","setting":"Setting, please wait...","settingSSL":"Setting SSL, please wait...","applyingCert":"Applying certificate, please wait...","adding":"Adding, please wait...","deleting":"Deleting, please wait...","clearing":"Clearing, please wait..."}},"aiModel":{"modelId":"Model ID","modelAlias":"Model Alias","modelFeature":"Model Feature","contentLength":"Maximum Context Length","supplierTitle":"Supplier Title","supplierName":"Supplier Name","cancel":"Cancel","confirm":"Confirm","aPIKey":"API Key","apiPath":"Base Url","check":"Check","getKey":"Click to Get Key","example":"Example","saveAPI":"Save API","model":"Model","byDefault":"By default, all models are retrieved from /models","addModel":"Add Model"}},"logs":{"title":"Logs","table":{"columns":{"username":"Username","type":"Type","operatingTime":"Operating Time","details":"Details"}},"filter":{"all":"All"},"search":{"placeholder":"Please enter details/IP to search"}},"api":{"title":"Send API","timeRange":"Time Range: ","status":"Status: ","search":"Search: ","searchPlaceholder":"Please enter API name","refreshData":"Refresh Data","createNew":"Create API","statusOptions":{"all":"All","active":"Active","inactive":"Inactive"},"columns":{"apiName":"API Name","apiKey":"API Key","sendCount":"Send Count","openRate":"Open Rate","clickRate":"Click Rate","bounceRate":"Bounce Rate","status":"Status"},"statusLabels":{"active":"Active","inactive":"Inactive"},"confirmDelete":{"title":"Delete API [{apiName}]","content":"Are you sure you want to delete this API?"},"overview":{"totalSend":"Total Sent","avgOpenRate":"Avg Open Rate","avgClickRate":"Avg Click Rate","avgBounceRate":"Avg Bounce Rate"},"form":{"apiName":"API Name","status":"Status","ipWhitelist":"IP Whitelist","apiNamePlaceholder":"Please enter API name","ipWhitelistPlaceholder":"Multiple IPs separated by commas, empty means no restriction","validation":{"apiNameRequired":"Please enter API name","addresserRequired":"Please select sender","templateRequired":"Please select template"},"title":{"edit":"Edit API","add":"Add API"}},"loading":{"creating":"Creating, please wait...","updating":"Updating, please wait...","deleting":"Deleting, please wait...","testing":"Testing, please wait..."}}}'),n=JSON.parse('{"common":{"all":{"text":"全部","domain":"全部域名"},"time":{"today":"今天","yesterday":"昨天","last7days":"近7天","custom":"自定义"},"columns":{"actions":"操作"},"unit":{"days":"天","hours":"小时","minutes":"分钟","seconds":"秒"},"actions":{"view":"查看","edit":"编辑","delete":"删除","add":"添加","create":"创建","update":"更新","save":"保存","cancel":"取消","confirm":"确认","back":"返回","search":"搜索","reset":"重置","more":"更多","refresh":"刷新","copy":"复制","restart":"重启","import":"导入","export":"导出","download":"下载","upload":"上传","apply":"应用","test":"测试","rename":"重命名","preview":"预览","modify":"修改","config":"配置","help":"Help","settings":"设置","clear":"清空"},"useCopy":{"noText":"没有要复制的文本","success":"复制成功","failed":"复制失败"}},"components":{"tableHelp":{"text1":"有问题或建议可提{issues},也可在Github给我们{star},","text2":"我们高度重视您的积极参与,谢谢。"},"upload":{"error":{"fileSizeExceeded":"文件【{fileName}】大小不能超过{maxSize}MB","uploadFailed":"上传文件失败,请重试"},"prompt":{"dragText":"点击或将文件拖拽到该区域","supportedFiles":"仅支持{suffix}文件"}}},"layout":{"header":{"submit":"提交需求"},"menu":{"overview":"概览","market":"邮件营销","task":"任务","template":"模板","sendApi":"发件API","contacts":"联系人","subscribers":"订阅","group":"分组","domain":"域名","mailboxes":"邮箱","settings":"设置","common":"常用设置","bcc":"BCC","forward":"邮件转发","logout":"退出","service":"服务","logs":"日志","operation_logs":"操作日志","error_logs":"错误日志"}},"login":{"title":"BillionMail","form":{"usernamePlaceholder":"用户名","passwordPlaceholder":"密码","loginButton":"登录","captchaPlaceholder":"验证码","changeCaptcha":"点击切换验证码","captcha":"验证码"},"validation":{"usernameRequired":"用户名不能为空!","passwordRequired":"密码不能为空!","captchaRequired":"请输入验证码"},"messages":{"loginSuccess":"登录成功","loginFailed":"登录失败","networkError":"网络错误,请稍后重试"}},"user":{"logout":{"title":"提示","content":"是否确认退出登录?","confirm":"确认","cancel":"取消"},"api":{"loading":{"logout":"正在退出登录,请稍候..."}}},"overview":{"delivered":"已送达","opened":"已打开","clicked":"已点击","bounced":"已退回","delayedQueue":"延迟队列","mailProviders":"邮件提供商","sendStats":"发送统计","provider":{"mailProvider":"邮件提供商","delivered":"送达率","open":"打开率","click":"点击率","bounce":"退回率"},"send":{"successRate":"成功率","success":"成功","fail":"失败","sendSuccess":"发送成功","sendFail":"发送失败"},"rate":{"openRate":"打开率","clickRate":"点击率","bounceRate":"退回率"},"sendFailDetails":{"title":"发送失败详情","columns":{"recipient":"收件人","dsn":"Dsn","delay":"延迟","delays":"延迟详情","status":"状态","relay":"中继","details":"详情"}},"sendQueue":{"title":"发送队列","breadcrumb":"发送队列","buttons":{"refresh":"刷新队列","quickClear":"快速清理","paramConfig":"队列参数配置","resend":"重新发送","batchDelete":"批量删除","batchResend":"重新发送"},"table":{"columns":{"sender":"发件人","recipient":"收件人","arrivalTime":"入队时间","messageSize":"邮件大小","delayReason":"延迟原因","action":"操作"}},"confirm":{"quickClear":{"title":"快速清理","content":"确认快速清理队列吗?"},"resend":{"title":"重新发送","content":"确认重新发送队列吗?"},"delete":{"title":"删除队列","content":"确认删除该队列吗?"},"batchDelete":{"title":"批量删除","content":"确认删除 {count} 个发送队列吗?"},"batchResend":{"title":"批量重新发送","content":"确认重新发送 {count} 个发送队列吗?"}},"paramConfig":{"title":"队列参数配置","fields":{"bounceQueueLifetime":"退回队列生存时间","maximalQueueLifetime":"最大队列生存时间","minimalBackoffTime":"最小退避时间","maximalBackoffTime":"最大退避时间","queueRunDelay":"队列运行延迟","triggerTimeout":"触发超时"}},"queueLogs":{"title":"队列日志"}},"api":{"loading":{"resendQueue":"正在重新发送队列中,请稍候...","deleteQueue":"正在删除队列中,请稍候...","setQueueConfig":"正在设置队列参数中,请稍候...","clearQueue":"正在清理队列中,请稍候..."}}},"market":{"task":{"title":"任务","actions":{"add":"添加任务","detail":"查看详情","export":"导出","send":"发送","pause":"暂停","analytics":"分析"},"columns":{"time":"时间","subject":"邮件主题","sender":"发件人","recipients":"收件人","success":"成功","failed":"失败","status":"状态","remark":"备注","estimatedTime":"预计完成时间","progress":"进度","email":"邮箱","errorMsg":"错误信息"},"status":{"pending":"等待中","processing":"处理中","done":"已完成","noIpWarmup":"未关联IP预热"},"search":{"subjectPlaceholder":"搜索邮件主题"},"changeStatus":{"title":"更改任务状态【{subject}】","startConfirm":"立即开始发送任务吗?","pauseConfirm":"暂停任务后,可以继续发送任务!"},"delete":{"title":"删除任务","confirm":"确定要删除任务 \\"{subject}\\" 吗?"},"detail":{"title":"任务详情","displayName":"显示名称","sender":"发件人","subject":"邮件主题","groups":"分组","sendTime":"发送时间","unsubscribeLink":"退订链接","threads":"线程数","remark":"备注","yes":"是","no":"否","auto":"自动"},"edit":{"addTitle":"添加任务","from":"发件人","to":"收件人","displayName":"显示名称","displayNamePlaceholder":"请输入显示名称","subject":"主题","subjectPlaceholder":"请输入邮件主题","recipients":"收件人","recipientsPlaceholder":"请选择收件人分组","recipientsCount":"发送邮件 ({count} 收件人)","template":"邮件模板","saveOutbox":"保存到发件箱","ipWarmup":"关联IP预热系统","ipWarmupTip":"开启后将会限制发件速率","unsubscribeLink":"退订链接","threads":"线程数","threadsAuto":"自动","threadsCustom":"自定义","sendTime":"发送时间","sendTimeNow":"立即发送","sendTimeSchedule":"定时发送","remark":"备注","remarkPlaceholder":"请输入备注","testEmail":"测试邮件","testEmailPlaceholder":"请输入测试邮箱","sendTest":"发送测试邮件","viewCase":"查看案例","preview":{"empty":"请选择邮件模板查看预览"},"validation":{"displayNameRequired":"请输入显示名称","subjectRequired":"请输入邮件主题","recipientsRequired":"请选择联系人","sendTimeRequired":"请选择发送时间","testEmailRequired":"请输入测试邮箱","templateRequired":"请选择邮件模板"},"discard":{"title":"提示","content":"是否放弃当前编辑?"}},"createGroup":{"title":"创建分组","groupName":"分组名称","email":"邮箱","groupNamePlaceholder":"请输入分组名称","validation":{"groupNameRequired":"请输入分组名称"}},"loading":{"creating":"正在创建任务,请稍候...","deleting":"正在删除任务,请稍候...","pausing":"正在暂停任务,请稍候...","resuming":"正在恢复任务,请稍候...","sendingTest":"正在发送测试邮件,请稍候..."}},"template":{"title":"模板","name":"模板名称","content":"模板内容","uploadHtml":"上传HTML文件","file":"模板文件","actions":{"add":"添加模板","preview":"预览","duplicate":"复制","export":"导出","import":"导入"},"columns":{"name":"模板名称","type":"类型","createdAt":"创建时间"},"types":{"drag":"拖拽","html":"HTML","ai":"AI"},"edit":{"confirm":"确认","cancel":"取消"},"search":{"namePlaceholder":"搜索模板名称"},"delete":{"title":"删除模板","confirm":"确定要删除模板 {name} 吗?"},"form":{"name":"模板名称","type":"模板类型","content":"模板内容","html":"HTML","drag":"拖拽"},"add":{"title":"添加模板","namePlaceholder":"请输入模板名称","validation":{"nameRequired":"请输入模板名称","uploadRequired":"请上传HTML文件"}},"preview":{"title":"预览模板"},"loading":{"creating":"正在创建模板,请稍候...","updating":"正在更新模板,请稍候...","copying":"正在复制模板,请稍候...","deleting":"正在删除模板,请稍候..."}}},"template":{"template":"模板","createTpl":{"sourceUrl":"引用域名","useAiTools":"使用人工智能工具帮您自动生成邮件内容,提升工作您的效率","create":"创建","notices":{"domainListEmpty":"请先为BillionMail创建第一个用于发件的域名","aiConfigurationInvalid":"当前并未配置AI大模型,您无法使用AI模型创建邮件模板","invalidBrandDomain":"请先为域名创建品牌信息"},"buttons":{"createNow":"立即创建","configureNow":"立即配置"}},"ai":{"title":"AI 模板","welcomeMessage":"您可以说:创建一份欢迎用户加入{domain}的欢迎邮件","greeting":"让我们创建一个漂亮的邮件模板。","brandName":"BillionMail","buttons":{"regenerate":"重新生成","info":"信息","view":"预览","edit":"编辑","copy":"复制","copied":"已复制","apply":"应用模板"},"tips":{"saveShortcut":"通过 [Ctrl + s] 保存您的修改"},"loading":{"message":"加载中... 请稍后"},"send":"发送"}},"contacts":{"subscribers":{"joinGroup":"加入分组","selectGroupHint":"请在右侧选择一个分组","trends":{"title":"订阅趋势","subscriber":"订阅者"},"search":{"emailPlaceholder":"请输入邮箱地址搜索"},"columns":{"email":"邮箱","name":"分组名称","createdAt":"创建时间"},"status":{"subscribed":"订阅","unsubscribed":"取消订阅"},"actions":{"changeGroup":"更改分组"},"delete":{"title":"删除订阅者","confirm":"确定要删除订阅者 {email} 吗?"},"select":{"prefix":"分组:"},"edit":{"title":"更改分组","email":"邮箱","group":"分组","status":"状态","attributes":"属性","statusOptions":{"subscribe":"订阅","unsubscribe":"退订"},"validation":{"emailRequired":"请填写邮箱","groupRequired":"请选择分组"}},"import":{"title":"导入联系人","group":"分组","data":"数据","pasteData":"粘贴数据","uploadFile":"上传文件","pastePlaceholder":["请粘贴数据,每行一个邮箱,属性(可为空)","例如:[email protected]","[email protected],\\"{\\"\\"age\\"\\": \\"\\"13\\"\\", \\"\\"Gender\\"\\": \\"\\"XXX\\"\\"}\\""],"fileTypeHint":"文件类型:csv,不超过5 MB","overwriteLabel":"覆盖现有用户","overwriteDescription":"在导入时是否按照导入数据来覆盖列表中存在的客户信息","subscriptionStatus":"订阅状态","status":"状态","exampleCsvLabel":"CSV示例","overwriteOptions":{"no":"否","yes":"是"},"subscriptionOptions":{"subscribe":"订阅","unsubscribe":"取消订阅"},"statusOptions":{"confirmed":"已确认","unconfirmed":"未确认"},"validation":{"groupRequired":"请选择分组","dataRequired":"请粘贴数据,每行一个邮箱","fileRequired":"请上传文件"}}},"group":{"search":{"namePlaceholder":"请输入分组名称搜索"},"columns":{"name":"分组名称","subscribers":"订阅者数量","unsubscribe":"取消订阅","createdAt":"创建时间","type":"类型"},"type":{"doubleOptin":"双重确认","singleOptin":"单次确认"},"export":{"title":"导出分组","confirm":"导出 {count} 个分组?"},"form":{"name":"分组名称","file":"文件","nameRequired":"请输入分组名称"},"add":{"title":"添加分组"},"rename":{"title":"重命名分组"},"delete":{"title":"删除分组","confirm":"确定要删除分组 {name} 吗?"},"fileUpload":{"hint":"文件类型:csv,不超过5 MB","emptyHint":"文件传空时,会自动创建一个空分组"},"loading":{"createGroup":"正在创建分组,请稍候...","updateGroup":"正在更新分组,请稍候...","deleteGroup":"正在删除分组,请稍候...","exportGroup":"正在导出,请稍候...","saveSettings":"正在保存,请稍候..."}},"settings":{"title":"设置","tabs":{"subscribeForm":"订阅表单","subscribeSettings":"订阅设置"},"subscribeForm":{"separateSubscriptionPage":{"title":"分离订阅页面","description":"简单复制并与用户分享此URL - 订阅表单已准备就绪。"},"embeddableForm":{"title":"可嵌入表单","description":"轻松将此订阅表单嵌入到您的网站页面中。"}},"subscribeSettings":{"listType":{"label":"列表类型","placeholder":"请选择列表类型","options":{"doubleOptin":"两次确认","singleOptin":"单次确认"}},"confirmEmail":{"subject":"二次确认邮件主题","redirectLink":"二次确认的跳转链接","redirectDescription":"在下方输入自定义链接,将用户重定向到\\"双重确认\\"订阅的确认页面","emailContent":"二次确认邮件","emailTip1":"如果您自定义确认邮件,请不要忘记包含确认链接","emailTip2":"在您的消息中的某个位置"},"welcomeEmail":{"subject":"感谢邮件订阅主题","redirectLink":"感谢订阅的跳转链接","redirectDescription":"请在下方输入链接,在用户成功订阅后将其引导到自定义确认页面","emailContent":"感谢邮件订阅邮件","sendThroughTip":"消息通过","mailboxTip":"默认发送域的邮箱发送","enabledDescription":"启用后,当用户通过订阅表单或API订阅时,将向用户发送感谢邮件。手动添加的用户不会触发此功能。","templateVariablesTip":"您可以在感谢邮件的主题和消息中使用收集的信息,这些是模板变量。"},"alreadySubscribed":{"redirectLink":"订阅已存在的跳转链接"}}},"suspend":{"title":"异常邮箱","buttons":{"scanInvalidDomains":"扫描无效域名","scanLogs":"扫描日志","autoBlockFailedEmails":"自动阻止失败邮件"},"search":{"emailPlaceholder":"请输入邮箱地址"},"columns":{"email":"邮箱","description":"描述","status":"状态","addTime":"添加时间"},"status":{"invalid":"无效","checking":"检查中"},"confirm":{"clear":{"title":"清空","content":"这将清空该类型下的所有数据,是否继续?"},"delete":{"title":"删除","content":"确定要删除 [{email}] 吗?"}},"scan":{"title":"扫描无效域名","confirmText":"扫描","form":{"group":"分组","method":"方法","groupRequired":"请选择分组"},"methods":{"noOperation":"无操作","addToExceptionTable":"添加到异常防护表","deleteFromGroup":"从分组中删除异常邮箱"}},"scanLogs":{"title":"扫描日志","none":"无"},"api":{"loading":{"deleting":"正在删除,请稍候...","scanning":"正在扫描,请稍候...","clearing":"正在清理,请稍候...","setting":"正在设置,请稍候..."}}}},"domain":{"title":"MailDomain","addDomain":"添加域名","help":"添加你要用来发邮件的域名","columns":{"domain":"域名","quota":"配额","mailboxes":"邮箱数量","defaultMailboxSize":"默认邮箱大小","actions":"操作"},"actions":{"dnsRecord":"DNS记录"},"delete":{"title":"删除域名","confirm":"确定要删除域名【{domain}】吗?","confirmButton":"删除"},"waitAndCheckDomainStatus":{"success":"品牌信息初始化成功","error":"品牌信息初始化失败","loading":"正在初始化品牌信息,请稍后..."},"form":{"addTitle":"添加域名","editTitle":"编辑域名","domain":"域名","domainPlaceholder":"请输入域名,例如:billionmail.com","urlsPlacement":"请输入域名,例如:http://billionmail.com","aRecord":"A记录","aRecordPlaceholder":"请输入A记录,例如:mailAapanelCom","quota":"域名配额","mailboxCount":"邮箱数量","globalCatch":"Catch All","globalCatchPlaceholder":"捕获不存在的邮件,转发至此邮件","validation":{"domainRequired":"邮箱域名不能为空!"},"tips":{"aRecordFailed":"提示A记录解析失败。请检查填写的A记录域名是否已解析到服务器 IP","dnsSetup":"需要在您的DNS服务提供商控制台添加A记录","cloudflare":"如果使用CloudFlare,请在添加记录时选择【仅DNS】"},"createBrandInfo":"自动创建品牌信息","modelNotice":"要使用此功能,您需要先进行大模型配置","integrateImmediately":"立即配置","modelDescription":"AI驱动的信息导入会自动分析并从邮件域名创建品牌信息。创建后,您可以根据需要进行修改","extractBrand":"提取品牌和颜色","analyzeStructure":"分析内容结构","importContent":"导入图片和内容","customLogo":"使用自定义徽标(可选)","specifyDomain":"指定域名","addMoreUrls":"添加更多URL","maxUrl":"最多只能填写3个URL","createImmediately":"立即创建","brandInfo":"品牌信息","noBrandInfo":"暂无品牌信息","fillDomain":"请填写域名","fillValidDomain":"请填写正确的域名"},"dns":{"title":"DNS 记录","verify":"已设置,验证域名解析","status":{"ok":"正常","notSet":"未设置"},"columns":{"domain":"域名"},"table":{"recordType":"记录类型","host":"主机记录","value":"记录值","mxPriority":"MX优先级"},"step1":{"title":"步骤1:添加A记录"},"step2":{"title":"步骤2:添加MX记录","description":"登录到域名服务提供商,添加记录类型为MX的记录用于邮箱服务(请直接复制以下参数)"},"step3":{"title":"步骤3:添加TXT记录","description":"添加记录类型为TXT的记录用于邮箱反垃圾邮件(请直接复制以下参数)"},"step4":{"title":"步骤4:添加PTR记录","description1":"(可选)PTR记录用于反向 DNS 查找","description2":"联系您的IP提供商创建 PTR 记录"}},"ssl":{"expired":"已过期","daysLeft":"{days}天","notSet":"未设置","title":"域名 SSL","tabs":{"otherCertificate":"其他证书"},"cert":{"brand":"品牌","domains":"证书域名","privateKey":"私钥 (KEY)","certificate":"证书 (CRT/PEM)","keyPlaceholder":"请输入私钥内容","certPlaceholder":"请输入证书内容"},"actions":{"save":"保存","applyFree":"申请免费证书"},"tips":{"paste":"粘贴您的 KEY 和 CRT 内容,然后保存","chainCheck":"如果浏览器提示证书链不完整,请检查 PEM 证书是否正确拼接","pemFormat":"PEM 格式证书 = 域名证书 Crt + 根证书 (root_bundle)Crt","defaultSite":"当未指定 SSL 默认站点时,未配置 SSL 的站点将使用 HTTPS 访问启用了 SSL 的站点"}},"edit":{"pageTitle":"域名 / 编辑域名","save":"保存","tabs":{"domainConfiguration":"域名配置","projectDetails":"项目详情","companyProfile":"公司资料","styling":"样式设置","sitemap":"站点地图","footerSettings":"页脚设置","aiSettings":"AI设置"},"domainConfiguration":{"title":"邮件域名配置","domain":"域名","domainQuota":"域名配额","mailboxCount":"邮箱数量","catchAll":"全部接收","autoCreateBrand":"自动创建品牌信息","aiIntegrationWarning":"要使用此功能,您需要先集成AI模型。","integrateImmediately":"立即集成","aiDescription":"AI驱动的信息导入会自动分析并从邮件域名创建品牌信息。创建后,您可以根据需要进行修改。","features":{"extractBrand":"提取品牌和颜色","analyzeStructure":"分析内容结构","importContent":"导入图片和内容","customLogo":"使用自定义徽标(可选)"},"specifyDomain":"指定域名","addMoreUrls":"添加更多URL","createNow":"Create Immediately"},"projectDetails":{"title":"项目详情","projectName":"项目名称","description":"描述","brandLogos":"品牌徽标","logoSystem":"徽标系统","logoSystemDesc":"上传您品牌的徽标系统,以在整个项目中保持一致的品牌形象","primaryLogo":"主要徽标","primaryLogoDesc":"用于页眉的水平版本","secondaryLogo":"次要徽标","secondaryLogoDesc":"垂直/堆叠版本","favicon":"网站图标","faviconDesc":"浏览器标签页图标","loadingFailed":"加载失败","knowledgeBase":"知识库","newFile":"新建文件","edit":"编辑","preview":"预览","newKnowledgeFile":"新建知识文件","fileName":"文件名","day":"天","hour":"小时","minute":"分","ago":"前","justNow":"刚刚","close":"关闭","cancel":"取消","create":"创建","notice":"提示","sureDel":"是否确认删除?"},"companyProfile":{"title":"公司详情","legalCompanyName":"法定公司名称","website":"网站","organizationNumber":"组织编号","additionalInfo":"附加公司信息","contactInfo":"联系信息","contactEmail":"联系邮箱","phoneNumber":"电话号码","supportUrl":"支持URL"},"styling":{"colorPalette":"调色板","accentColor":"强调色","textColor":"文本颜色","pageBackground":"页面背景","containerBackground":"容器背景","linkFooterColor":"页脚链接颜色","linkSocialColor":"社交链接颜色","typography":"字体排版","headingFont":"标题字体","bodyFont":"正文字体","preview":"预览:","previewText":"快速的棕色狐狸跳过懒惰的狗","typographyGuidelines":"字体排版指南:","webSafeFonts":"使用网络安全字体以获得更好的兼容性","fallbackFonts":"始终包含备用字体以获得更好的性能"},"sitemap":{"title":"站点地图","addLink":"添加链接"},"footerSettings":{"title":"页脚设置","additionalContent":"附加内容","copyrightText":"版权文本"},"aiSettings":{"title":"AI设置","defaultInstructions":"默认AI指令","emailGenerationInstructions":"邮件生成指令","instructionsDescription":"这些指令将用作生成新邮件时的默认指南。您可以根据需要为单个邮件覆盖这些指令。"},"common":{"daysAgo":"天前","noBrandInfo":"当前域名没有品牌信息."}},"api":{"loading":{"creating":"正在创建域名,请稍候...","updating":"正在更新域名,请稍候...","deleting":"正在删除域名,请稍候...","settingSSL":"正在设置 SSL,请稍候...","applyingCert":"正在申请 SSL 证书,请稍候...","refreshingDns":"正在刷新DNS记录,请稍候..."}}},"mailbox":{"title":"邮箱管理","actions":{"add":"添加邮箱","batchAdd":"批量添加","batchDelete":"批量删除","exportAll":"导出全部"},"search":{"usernamePlaceholder":"搜索用户名"},"domain":{"selectPlaceholder":"请选择域名"},"columns":{"username":"用户名","password":"密码","loginInfo":"登录信息(WebMail / SMTP)","quota":"配额","type":"类型","status":"状态"},"userType":{"admin":"管理员","general":"普通用户"},"form":{"addTitle":"添加邮箱","editTitle":"编辑邮箱","batchAddTitle":"批量添加","exportTitle":"导出邮箱","importTitle":"导入邮箱","emailAddress":"邮箱地址","password":"密码","passwordPlaceholder":"请输入您的邮箱密码","quota":"配额","userType":"用户类型","status":"状态","domain":"域名","prefix":"邮箱前缀","count":"邮箱数量"},"validation":{"emailRequired":"请输入邮箱地址","passwordLength":"密码长度少于8位,请重新输入","passwordFormat":"密码必须包含至少一个大写字母、一个小写字母和数字,请重新输入","domainRequired":"请选择域名","prefixRequired":"请输入邮箱前缀","countRequired":"请输入邮箱数量","fileRequired":"请选择上传文件"},"delete":{"title":"删除邮箱","confirm":"确定要删除邮箱【{name}】吗?","batchConfirm":"确定删除{count}个邮箱?"},"loginInfo":{"template":"WebMail: {webmail}\\n用户名: {username}\\n密码: {password}\\nPOP service [ Address: {mx} Port: 110/995 ]\\nIMAP service [ Address: {mx} Port: 143/993 ]\\nSMTP service [ Address: {mx} Port: 25/465/587 ]"},"api":{"loading":{"creating":"正在创建邮箱,请稍候...","updating":"正在更新邮箱,请稍候...","deleting":"正在删除邮箱,请稍候...","exporting":"正在导出邮箱,请稍候...","importing":"正在导入邮箱,请稍候..."}}},"smtp":{"title":"SMTP中继服务管理","description":"管理您的SMTP中继服务,支持多种服务提供商","empty":"暂无SMTP中继服务","providers":{"custom":"自定义SMTP"},"delete":{"title":"删除中继","confirm":"确定要删除此中继服务【{name}】吗?"},"card":{"domain":"绑定域名","server":"服务器","port":"端口","username":"用户名","dnsUpdateRequired":"DNS记录需要更新"},"form":{"addTitle":"添加SMTP","editTitle":"编辑SMTP","remark":"备注","domain":"绑定域名","server":"SMTP服务器","port":"SMTP端口","username":"用户名","password":"密码","authMethod":"身份验证","advancedFeatures":"高级选项","testConnection":"测试链接","bind":"【已绑定】","skipTlsVerify":"是否跳过TLS验证","tlsOptions":{"skip":"跳过","noSkip":"不跳过"},"validation":{"nameRequired":"请输入中继名称","domainRequired":"请选择绑定域名","serverRequired":"请输入SMTP服务器","portRequired":"请输入SMTP端口","usernameRequired":"请输入用户名","passwordRequired":"请输入密码"}},"status":{"online":"在线","offline":"离线"},"api":{"loading":{"adding":"正在添加SMTP,请稍等...","editing":"正在编辑SMTP,请稍等...","testing":"正在测试SMTP连接,请稍等...","deleting":"正在删除SMTP,请稍等..."}}},"settings":{"title":"系统设置","service":{"title":"服务状态","tips":"提示:Ctrl+F 搜索关键词,Ctrl+S 保存,Ctrl+H 搜索和替换","editTitle":"在线编辑 {name}","columns":{"name":"服务名称","status":"状态"},"status":{"running":"运行中","stopped":"已停止"},"restart":{"title":"重启服务","confirm":"确定要重启【{name}】吗?"}},"bcc":{"title":"BCC管理","add":"添加BCC","edit":"编辑BCC","needCopy":"需要复制","copyTo":"复制到","domain":"域名","type":"BCC类型","status":"状态","active":"激活","types":{"sender":"发送时","recipient":"接收时"},"delete":{"title":"删除BCC [{address}]","content":"是否删除此BCC设置?"},"placeholders":{"needCopy":"请输入需要BCC的用户","copyTo":"请输入需要接收BCC的邮箱"},"loading":{"adding":"正在添加BCC,请稍候...","saving":"正在保存BCC,请稍候...","deleting":"正在删除BCC,请稍候..."}},"forward":{"add":"添加转发","edit":"编辑转发","columns":{"address":"地址","goto":"转发至","domain":"域名","created":"创建时间","modified":"修改时间","status":"状态"},"form":{"status":"状态","forwardedUsers":"转发用户","forwardedUsersPlaceholder":"输入需要转发的邮箱","domain":"域名","domainPlaceholder":"转发用户的域名","receivingUser":"接收用户","receivingUserPlaceholder":"需要接收转发邮件的用户。如果有多个,请用换行符分隔"},"delete":{"title":"删除邮件转发","content":"您确定要删除邮件转发【{address}】吗?"},"loading":{"adding":"正在添加邮件转发,请稍候...","editing":"正在编辑邮件转发,请稍候...","deleting":"正在删除邮件转发,请稍候..."}},"common":{"confirm":"确认修改","security":{"title":"账户安全设置","username":"修改用户名","currentUsername":"当前用户名","newUsernamePlaceholder":"输入新用户名","usernameRule":"4-20位字母数字组合","usernameExists":"用户名已存在","changePassword":"修改密码","currentPassword":"当前密码","newPassword":"新密码","confirmPassword":"确认新密码","passwordStrength":"密码强度","passwordMismatch":"两次输入的密码不一致","strength":{"weak":"弱","medium":"中","strong":"强"},"securityPath":"修改安全入口","currentPath":"当前入口路径","newPathPlaceholder":"输入新路径,如admin-abc123","pathRule":"建议使用复杂路径增强安全性","usernameValidation":{"lengthError":"用户名长度不能小于4位,不能大于20位","formatError":"用户名必须由字母、数字或下划线组成","duplicateError":"用户名不能与当前用户名相同"}},"network":{"title":"网络配置","domain":"域名设置","currentDomain":"控制台的访问域名","newDomainPlaceholder":"输入新域名,如admin.yourdomain.com","domainRule":"请输入有效的域名","ssl":"SSL证书配置","sslEnabled":"SSL已启用","certStatus":"证书状态","certValid":"(剩余 {days} 天)","sslCert":"SSL证书 (PEM格式)","sslKey":"私钥 (PEM格式)","certPlaceholder":"-----BEGIN CERTIFICATE-----\\nMIIFazCCA1OgAwIBAgIURv...\\n-----END CERTIFICATE-----","keyPlaceholder":"-----BEGIN PRIVATE KEY-----\\nMIIEvQIBADANBgkqhkiG...\\n-----END PRIVATE KEY-----","updateSSL":"更新SSL证书","certValidStatus":"证书有效","certExpiredStatus":"证书过期","certExpireTime":"证书到期:{time}"},"system":{"title":"系统配置","port":"端口设置","currentPort":"当前端口","terminalRequired":"此设置需要终端操作","copyCommand":"复制以上命令并在服务器终端执行","commandCopied":"命令已复制到剪贴板","timezone":"时区设置","currentTime":"当前系统时区"},"ipWhitelist":{"title":"IP白名单","enable":"启用","disable":"关闭","add":"添加","clear":"清空","description":"仅允许列表中的IP访问,终端命令关闭: bm.sh cancel-ip-limit","placeholder":"请输入IP地址","validation":{"ipRequired":"请输入IP地址"},"confirm":{"deleteTitle":"删除IP白名单","deleteContent":"确认删除IP白名单: {ip}","enableTitle":"开启IP白名单","disableTitle":"关闭IP白名单","enableContent":"确认开启IP白名单, 开启后只有白名单中的IP地址可以访问","disableContent":"确认关闭IP白名单, 关闭后所有IP地址都可以访问","clearTitle":"清空IP白名单","clearContent":"确认清空IP白名单, 清空后所有IP地址都可以访问"}},"proxy":{"title":"反向代理","description":"反向代理地址,用于对外暴露地址时使用,例如:订阅列表、退订邮件等","placeholder":"请输入反向代理地址","formatTip":"格式为:https://example.com","reset":"重置","resetConfirm":{"title":"重置反向代理","content":"确认重置反向代理吗?"}}},"api":{"loading":{"restarting":"正在重启服务,请稍候...","saving":"正在保存配置,请稍候...","setting":"正在设置,请稍候...","settingSSL":"正在设置SSL,请稍候...","applyingCert":"正在申请证书,请稍候...","adding":"正在添加,请稍候...","deleting":"正在删除,请稍候...","clearing":"正在清空,请稍候..."}},"aiModel":{"modelId":"模型ID","modelAlias":"模型别名","modelFeature":"模型功能","contentLength":"最大上下文长度","supplierTitle":"服务商标题","supplierName":"服务商名称","cancel":"取消","confirm":"确认","aPIKey":"API密钥","apiPath":"API地址","check":"检查","getKey":"点击获取API密钥","example":"示例","saveAPI":"保存API","model":"模型","byDefault":"默认从/models获取所有模型","addModel":"添加模型"}},"logs":{"title":"日志","table":{"columns":{"username":"用户名","type":"类型","operatingTime":"操作时间","details":"详情"}},"filter":{"all":"全部"},"search":{"placeholder":"请输入详情/IP搜索"}},"api":{"title":"发件API","timeRange":"时间范围:","status":"状态:","search":"搜索:","searchPlaceholder":"请输入API名称","refreshData":"刷新数据","createNew":"新建API","statusOptions":{"all":"全部","active":"可用","inactive":"停用"},"columns":{"apiName":"API名称","apiKey":"API密钥","sendCount":"发送量","openRate":"打开率","clickRate":"点击率","bounceRate":"退信率","status":"状态"},"statusLabels":{"active":"可用","inactive":"停用"},"confirmDelete":{"title":"删除API【{apiName}】","content":"确认删除该API吗?"},"overview":{"totalSend":"发送总量","avgOpenRate":"平均打开率","avgClickRate":"平均点击率","avgBounceRate":"平均退信率"},"form":{"apiName":"API名称","status":"状态","ipWhitelist":"IP白名单","apiNamePlaceholder":"请输入API名称","ipWhitelistPlaceholder":"多个IP用逗号分隔,为空则不限制","validation":{"apiNameRequired":"请输入API名称","addresserRequired":"请选择发送者","templateRequired":"请选择模板"},"title":{"edit":"编辑API","add":"新建API"}},"loading":{"creating":"正在创建,请稍候...","updating":"正在编辑,请稍候...","deleting":"正在删除,请稍候...","testing":"正在测试,请稍候..."}}}'),r=JSON.parse('{"common":{"all":{"text":"すべて","domain":"すべてのドメイン"},"time":{"today":"今日","yesterday":"昨日","last7days":"過去7日間","custom":"カスタム"},"columns":{"actions":"操作"},"actions":{"view":"閲覧","edit":"編集","delete":"削除","add":"追加","create":"作成","update":"更新","save":"保存","cancel":"キャンセル","confirm":"確認","back":"戻る","search":"検索","reset":"リセット","more":"その他","refresh":"再読み込み","copy":"コピー","restart":"再起動","import":"インポート","export":"エクスポート","download":"ダウンロード","upload":"アップロード","apply":"適用","test":"テスト","rename":"名前変更","preview":"プレビュー","modify":"修正","config":"設定","help":"ヘルプ"},"useCopy":{"noText":"コピーするテキストがありません","success":"コピーに成功しました","failed":"コピーに失敗しました"}},"components":{"tableHelp":{"text1":"質問や提案は {issues} に投稿し、プロジェクトを応援するために Github で {star} を付けてください。","text2":"皆様の積極的な参加を高く評価しています。ありがとうございます。"},"upload":{"error":{"fileSizeExceeded":"ファイル [{fileName}] のサイズは {maxSize}MB を超えることはできません","uploadFailed":"ファイルのアップロードに失敗しました。もう一度お試しください"},"prompt":{"dragText":"クリックまたはファイルをドラッグしてこのエリアに追加","supportedFiles":"{suffix} 形式のファイルのみ対応"}}},"layout":{"header":{"submit":"リクエストを送信"},"menu":{"overview":"概要","market":"マーケティング","task":"タスク","template":"テンプレート","contacts":"連絡先","subscribers":"購読者","group":"グループ","domain":"ドメイン","mailboxes":"メールボックス","settings":"設定","common":"共通設定","bcc":"BCC","forward":"メール転送","logout":"ログアウト","service":"Service","logs":"Logs","operation_logs":"Operation Logs","error_logs":"Error Logs"}},"login":{"title":"BillionMail","form":{"usernamePlaceholder":"ユーザー名","passwordPlaceholder":"パスワード","loginButton":"ログイン","captchaPlaceholder":"認証コード","changeCaptcha":"クリックして変更","captcha":"認証コード"},"validation":{"usernameRequired":"ユーザー名を入力してください!","passwordRequired":"パスワードを入力してください!","captchaRequired":"認証コードを入力してください"},"messages":{"loginSuccess":"ログインに成功しました","loginFailed":"ログインに失敗しました","networkError":"ネットワークエラーです。後で再試行してください"}},"user":{"logout":{"title":"確認","content":"ログアウトしてもよろしいですか?"},"api":{"loading":{"logout":"ログアウト中です。お待ちください..."}}},"overview":{"delivered":"配信済み","opened":"開封済み","clicked":"クリック済み","bounced":"バウンス(送信失敗)","delayedQueue":"遅延キュー","mailProviders":"メールプロバイダー","sendStats":"送信統計","provider":{"mailProvider":"メールプロバイダー","delivered":"配信","open":"開封","click":"クリック","bounce":"バウンス"},"send":{"successRate":"成功率","success":"成功","fail":"失敗","sendSuccess":"送信成功","sendFail":"送信失敗"},"rate":{"openRate":"開封率","clickRate":"クリック率","bounceRate":"バウンス率"},"sendFailDetails":{"title":"送信失敗の詳細","columns":{"recipient":"受信者","dsn":"DSN","delay":"遅延","delays":"遅延数","status":"ステータス","relay":"リレー","details":"詳細"}},"sendQueue":{"title":"送信キュー","breadcrumb":"送信キュー","buttons":{"refresh":"キューを更新","quickClear":"クイッククリア","paramConfig":"キューパラメータ設定","resend":"再送信","batchDelete":"一括削除","batchResend":"再送信"},"table":{"columns":{"sender":"送信者","recipient":"受信者","arrivalTime":"キュー追加時間","messageSize":"メールサイズ","delayReason":"遅延理由","action":"操作"}},"confirm":{"quickClear":{"title":"クイッククリア","content":"キューをクイッククリアしますか?"},"resend":{"title":"再送信","content":"キューを再送信しますか?"},"delete":{"title":"キューを削除","content":"このキューを削除しますか?"},"batchDelete":{"title":"一括削除","content":"{count}個の送信キューを削除しますか?"},"batchResend":{"title":"一括再送信","content":"{count}個の送信キューを再送信しますか?"}},"paramConfig":{"title":"キューパラメータ設定","fields":{"bounceQueueLifetime":"バウンスキューライフタイム","maximalQueueLifetime":"最大キューライフタイム","minimalBackoffTime":"最小バックオフ時間","maximalBackoffTime":"最大バックオフ時間","queueRunDelay":"キュー実行遅延","triggerTimeout":"トリガータイムアウト"}},"queueLogs":{"title":"キューログ"}},"api":{"loading":{"resendQueue":"キューを再送信中です。しばらくお待ちください...","deleteQueue":"キューを削除中です。しばらくお待ちください...","setQueueConfig":"キューパラメータを設定中です。しばらくお待ちください...","clearQueue":"キューをクリア中です。しばらくお待ちください..."}}},"market":{"task":{"title":"タスク","actions":{"add":"タスク追加","detail":"表示","export":"エクスポート","send":"送信","pause":"一時停止"},"columns":{"time":"時間","subject":"件名","sender":"送信者","recipients":"宛先","success":"成功","failed":"失敗","status":"ステータス","remark":"備考","progress":"進捗","email":"メール","errorMsg":"エラーメッセージ"},"status":{"pending":"保留中","processing":"処理中","done":"完了"},"search":{"subjectPlaceholder":"件名で検索"},"changeStatus":{"title":"タスクステータス変更 [{subject}]","startConfirm":"今すぐタスクを開始しますか?","pauseConfirm":"タスクを一時停止後、再開できます!"},"delete":{"title":"タスク削除","confirm":"タスク「{subject}」を削除してもよろしいですか?"},"detail":{"title":"タスク詳細","displayName":"表示名","sender":"送信者","subject":"メール件名","groups":"グループ","sendTime":"送信時間","unsubscribeLink":"購読解除リンク","threads":"スレッド数","remark":"備考","yes":"はい","no":"いいえ","auto":"自動"},"edit":{"addTitle":"タスク追加","from":"送信元","to":"宛先","displayName":"表示名","displayNamePlaceholder":"表示名を入力してください","subject":"件名","subjectPlaceholder":"メール件名を入力してください","recipients":"受信者","recipientsPlaceholder":"受信者グループを選択してください","recipientsCount":"メール送信({count} 件)","template":"メールテンプレート","saveOutbox":"送信済みに保存","unsubscribeLink":"購読解除リンク","threads":"スレッド数","threadsAuto":"自動","threadsCustom":"カスタム","sendTime":"送信時間","sendTimeNow":"今すぐ送信","sendTimeSchedule":"スケジュール","remark":"備考","remarkPlaceholder":"備考を入力してください","testEmail":"テストメール","testEmailPlaceholder":"テストメールを入力してください","sendTest":"テストメール送信","viewCase":"ケースを見る","preview":{"empty":"プレビューするメールテンプレートを選択してください"},"validation":{"displayNameRequired":"表示名を入力してください","subjectRequired":"メール件名を入力してください","recipientsRequired":"連絡先を選択してください","sendTimeRequired":"送信時間を選択してください","testEmailRequired":"テストメールを入力してください","templateRequired":"メールテンプレートを選択してください"},"discard":{"title":"確認","content":"現在の編集を破棄しますか?"}},"createGroup":{"title":"グループ作成","groupName":"グループ名","email":"メール","groupNamePlaceholder":"グループ名を入力してください","validation":{"groupNameRequired":"グループ名を入力してください"}}},"template":{"title":"テンプレート","name":"テンプレート名","content":"テンプレート内容","uploadHtml":"HTML ファイルをアップロード","file":"テンプレートファイル","actions":{"add":"テンプレート追加","preview":"プレビュー","duplicate":"複製","export":"エクスポート","import":"インポート"},"columns":{"name":"テンプレート名","type":"タイプ","createdAt":"作成日"},"types":{"drag":"ドラッグ","html":"HTML","ai":"AI"},"edit":{"confirm":"確認","cancel":"キャンセル"},"search":{"namePlaceholder":"テンプレート名で検索"},"delete":{"title":"テンプレート削除","confirm":"テンプレート {name} を削除してもよろしいですか?"},"form":{"name":"テンプレート名","type":"テンプレートタイプ","content":"テンプレート内容"},"add":{"title":"テンプレート追加","namePlaceholder":"テンプレート名を入力してください","validation":{"nameRequired":"テンプレート名を入力してください","uploadRequired":"HTML ファイルをアップロードしてください"}},"preview":{"title":"テンプレートプレビュー"},"loading":{"creating":"テンプレート作成中... お待ちください","updating":"テンプレート更新中... お待ちください","copying":"テンプレート複製中... お待ちください","deleting":"テンプレート削除中... お待ちください"}}},"template":{"template":"テンプレート","createTpl":{"sourceUrl":"ソースURL","useAiTools":"AIツールを使用してメールコンテンツを自動生成し、作業効率を向上させます。","create":"作成","notices":{"domainListEmpty":"BillionMailでメール送信用の最初のドメインを作成してください","aiConfigurationInvalid":"現在AIモデルが設定されていないため、AIモデルを使用してメールテンプレートを作成できません","invalidBrandDomain":"まずドメインのブランド情報を作成してください"},"buttons":{"createNow":"今すぐ作成","configureNow":"今すぐ設定"}},"ai":{"title":"AIテンプレート","welcomeMessage":"例:{domain}に参加するユーザー向けのウェルカムメールを作成してください","greeting":"美しいメールテンプレートを作成しましょう。","brandName":"BillionMail","buttons":{"regenerate":"再生成","info":"情報","view":"プレビュー","edit":"編集","copy":"コピー","copied":"コピー済み","apply":"テンプレートを適用"},"tips":{"saveShortcut":"[Ctrl + s] で変更を保存"},"loading":{"message":"読み込み中... お待ちください"},"send":"送信"}},"contacts":{"subscribers":{"search":{"emailPlaceholder":"メールアドレスを入力して検索"},"columns":{"email":"メール","name":"グループ名","createdAt":"作成日時"},"status":{"subscribed":"購読中","unsubscribed":"購読解除"},"actions":{"changeGroup":"グループ変更"},"delete":{"title":"購読者削除","confirm":"購読者 {email} を削除してもよろしいですか?"},"select":{"prefix":"グループ: "},"edit":{"title":"グループ変更","email":"メール","group":"グループ","validation":{"emailRequired":"メールを入力してください","groupRequired":"グループを選択してください"}},"import":{"title":"連絡先インポート","group":"グループ","data":"データ","pasteData":"データを貼り付け","uploadFile":"ファイルをアップロード","pastePlaceholder":"1行につき1メールでデータを貼り付けてください","fileTypeHint":"ファイル形式: txt、1行につき1メール、5MB以内","validation":{"groupRequired":"グループを選択してください","dataRequired":"1行につき1メールでデータを貼り付けてください","fileRequired":"ファイルをアップロードしてください"}},"loading":{"importSubscribers":"連絡先をインポート中... お待ちください","updateSubscriberGroup":"グループを更新中... お待ちください","deleteSubscriber":"連絡先を削除中... お待ちください"}},"group":{"search":{"namePlaceholder":"グループ名で検索"},"columns":{"name":"グループ名","subscribers":"購読者数","unsubscribe":"解除数","createdAt":"作成日"},"form":{"name":"グループ名","file":"ファイル","nameRequired":"グループ名を入力してください"},"add":{"title":"グループ追加"},"rename":{"title":"グループ名変更"},"delete":{"title":"グループ削除","confirm":"グループ {name} を削除してもよろしいですか?"},"fileUpload":{"hint":"ファイル形式: txt、1行につき1メール、5MB以内","emptyHint":"ファイルをアップロードしない場合は空のグループが作成されます"},"loading":{"createGroup":"グループ作成中... お待ちください","updateGroup":"グループ更新中... お待ちください","deleteGroup":"グループ削除中... お待ちください"}},"suspend":{"title":"異常メールボックス","buttons":{"scanInvalidDomains":"無効ドメインをスキャン","scanLogs":"スキャンログ","autoBlockFailedEmails":"失敗メールを自動ブロック"},"search":{"emailPlaceholder":"メールアドレスを入力してください"},"columns":{"email":"メール","description":"説明","status":"ステータス","addTime":"追加時間"},"status":{"invalid":"無効","checking":"チェック中"},"confirm":{"clear":{"title":"クリア","content":"このタイプのすべてのデータをクリアします。続行しますか?"},"delete":{"title":"削除","content":"[{email}] を削除してもよろしいですか"}},"scan":{"title":"無効ドメインをスキャン","confirmText":"スキャン","form":{"group":"グループ","method":"方法","groupRequired":"グループを選択してください"},"methods":{"noOperation":"操作なし","addToExceptionTable":"例外防止テーブルに追加","deleteFromGroup":"グループから異常メールボックスを削除"}},"scanLogs":{"title":"スキャンログ","none":"なし"},"api":{"loading":{"deleting":"削除中です。しばらくお待ちください...","scanning":"スキャン中です。しばらくお待ちください...","clearing":"クリア中です。しばらくお待ちください...","setting":"設定中です。しばらくお待ちください..."}}}},"domain":{"title":"メールドメイン","addDomain":"ドメイン追加","help":"メール送信に使用するドメインを追加してください","columns":{"domain":"ドメイン","quota":"クォータ","mailboxes":"メールボックス","defaultMailboxSize":"デフォルトメールボックスサイズ","actions":"操作"},"actions":{"dnsRecord":"DNS レコード"},"delete":{"title":"ドメイン削除","confirm":"ドメイン [{domain}] を削除してもよろしいですか?"},"waitAndCheckDomainStatus":{"success":"ブランド情報の初期化が成功しました。","error":"ブランド情報の初期化が失敗しました。","loading":"ブランド情報を初期化中です、しばらくお待ちください..."},"form":{"addTitle":"ドメイン追加","editTitle":"ドメイン編集","domain":"ドメイン","domainPlaceholder":"例: aapanel.com","urlsPlacement":"例: https://aapanel.com","aRecord":"A レコード","aRecordPlaceholder":"例: mail.aapanel.com","quota":"ドメインクォータ","mailboxCount":"メールボックス数","globalCatch":"Catch All","globalCatchPlaceholder":"存在しないメールをこのアドレスへ転送","validation":{"domainRequired":"ドメイン名は空にできません!"},"tips":{"aRecordFailed":"A レコードの解決に失敗しました。A レコードが正しくサーバーIPに向いているか確認してください","dnsSetup":"DNS プロバイダーのコンソールで A レコードを追加する必要があります","cloudflare":"CloudFlare を使用している場合、レコード追加時に [DNS only] を選択してください"}},"dns":{"title":"DNS レコード","verify":"レコードを設定したら、DNS 解決を検証","status":{"ok":"OK","notSet":"未設定"},"columns":{"domain":"ドメイン"},"table":{"recordType":"レコードタイプ","host":"ホスト","value":"値","mxPriority":"MX 優先度"},"step1":{"title":"ステップ1: A レコードを追加"},"step2":{"title":"ステップ2: MX レコードを追加","description":"ドメインサービスプロバイダーにログインし、メールサービス用の MX レコードを追加してください(以下のパラメータをコピーして使用してください)"},"step3":{"title":"ステップ3: TXT レコードを追加","description":"メールスパム対策の TXT レコードを追加してください(以下のパラメータをコピーして使用してください)"},"step4":{"title":"ステップ4: PTR レコードを追加","description1":"(任意)PTR レコードは逆引きDNSに使用されます","description2":"IP プロバイダーに連絡して PTR レコードを作成してください"}},"ssl":{"expired":"期限切れ","daysLeft":"{days} 日","notSet":"未設定","title":"ドメイン SSL","tabs":{"otherCertificate":"他の証明書"},"cert":{"brand":"ブランド","domains":"証明書対象ドメイン","privateKey":"秘密鍵 (KEY)","certificate":"証明書 (CRT/PEM)","keyPlaceholder":"秘密鍵を入力","certPlaceholder":"証明書を入力"},"actions":{"applyFree":"無料証明書を申請"},"tips":{"paste":"KEY と CRT の内容を貼り付けて保存してください","chainCheck":"ブラウザで証明書チェーンの不備が表示された場合、PEM 証明書が正しく連結されているか確認してください","pemFormat":"PEM 形式証明書 = ドメイン証明書 .crt + ルート証明書 (root_bundle).crt","defaultSite":"SSL デフォルトサイトが指定されていない場合、SSL 未設定サイトは SSL 設定済みサイトの HTTPS を使用します"}},"api":{"loading":{"creating":"ドメインを作成中... お待ちください","updating":"ドメインを更新中... お待ちください","deleting":"ドメインを削除中... お待ちください","settingSSL":"SSL を設定中... お待ちください","applyingCert":"SSL 証明書を申請中... お待ちください","refreshingDns":"DNS レコードを更新中... お待ちください"}},"edit":{"domainConfiguration":{"createNow":"Create Immediately"}}},"mailbox":{"title":"メールボックス管理","actions":{"add":"メールボックス追加","batchAdd":"一括追加","batchDelete":"一括削除","exportAll":"すべてエクスポート"},"search":{"usernamePlaceholder":"ユーザー名検索"},"domain":{"selectPlaceholder":"ドメイン選択"},"columns":{"username":"ユーザー名","password":"パスワード","loginInfo":"ログイン情報(WebMail / SMTP)","quota":"クォータ","type":"タイプ","status":"ステータス"},"userType":{"admin":"管理者","general":"一般ユーザー"},"form":{"addTitle":"メールボックス追加","editTitle":"メールボックス編集","batchAddTitle":"一括追加","exportTitle":"メールボックスエクスポート","emailAddress":"メールアドレス","password":"パスワード","passwordPlaceholder":"メールボックスのパスワードを入力","quota":"クォータ","userType":"ユーザータイプ","status":"ステータス","domain":"ドメイン","prefix":"メールプレフィックス","count":"メール数"},"validation":{"emailRequired":"メールアドレスを入力してください","passwordLength":"パスワードは8文字以上である必要があります","passwordFormat":"パスワードは大文字・小文字・数字をそれぞれ1文字以上含む必要があります","domainRequired":"ドメインを選択してください","prefixRequired":"メールプレフィックスを入力してください","countRequired":"メール数を入力してください","fileRequired":"アップロードファイルを選択してください"},"delete":{"title":"メールボックス削除","confirm":"メールボックス【{name}】を削除してもよろしいですか?","batchConfirm":"{count}個のメールボックスを削除してもよろしいですか?"},"loginInfo":{"template":"WebMail: {webmail}\\nユーザー名: {username}\\nパスワード: {password}\\nPOP サービス [ アドレス: {mx} ポート: 110/995 ]\\nIMAP サービス [ アドレス: {mx} ポート: 143/993 ]\\nSMTP サービス [ アドレス: {mx} ポート: 25/465/587 ]"},"api":{"loading":{"creating":"メールボックスを作成中... お待ちください","updating":"メールボックスを更新中... お待ちください","deleting":"メールボックスを削除中... お待ちください","exporting":"メールボックスをエクスポート中... お待ちください","importing":"メールボックスをインポート中... お待ちください"}}},"smtp":{"title":"SMTP リレーサービス管理","description":"複数のサービスプロバイダーに対応した SMTP リレーサービスを管理","empty":"SMTP リレーサービスがありません","providers":{"gmail":"Gmail","mailgun":"Mailgun","aws":"AWS SES","sendgrid":"SendGrid","custom":"カスタム SMTP"},"delete":{"title":"リレー削除","confirm":"リレーサービス [{name}] を削除してもよろしいですか?"},"card":{"domain":"紐付けドメイン","server":"サーバー","port":"ポート","username":"ユーザー名","dnsUpdateRequired":"DNSレコードの更新が必要"},"form":{"addTitle":"SMTP 追加","editTitle":"SMTP 編集","remark":"備考","domain":"紐付けドメイン","server":"SMTP サーバー","port":"SMTP ポート","username":"ユーザー名","password":"パスワード","authMethod":"認証方式","advancedFeatures":"高度なオプション","testConnection":"接続テスト","bind":" [紐付け済み]","skipTlsVerify":"TLS検証をスキップ","tlsOptions":{"skip":"スキップ","noSkip":"スキップしない"},"validation":{"nameRequired":"リレー名を入力してください","domainRequired":"紐付けドメインを選択してください","serverRequired":"SMTP サーバーを入力してください","portRequired":"SMTP ポートを入力してください","usernameRequired":"ユーザー名を入力してください","passwordRequired":"パスワードを入力してください"}},"status":{"online":"オンライン","offline":"オフライン"},"api":{"loading":{"adding":"SMTP を追加中... お待ちください","editing":"SMTP を編集中... お待ちください","testing":"SMTP 接続をテスト中... お待ちください","deleting":"SMTP を削除中... お待ちください"}}},"settings":{"title":"設定","service":{"title":"サービス状態","tips":"ヒント: Ctrl+F で検索、Ctrl+S で保存、Ctrl+H で検索置換","editTitle":"{name} をオンライン編集","columns":{"name":"サービス名","status":"状態"},"status":{"running":"稼働中","stopped":"停止中"},"actions":{"restart":"再起動"},"restart":{"title":"サービス再起動","confirm":"[{name}] を再起動してもよろしいですか?"}},"bcc":{"title":"BCC 管理","add":"BCC 追加","edit":"BCC 編集","needCopy":"コピー元","copyTo":"コピー先","domain":"ドメイン","type":"BCC タイプ","status":"状態","active":"有効","types":{"sender":"送信時","recipient":"受信時"},"delete":{"title":"BCC [{address}] を削除","content":"BCC 設定を削除しますか?"},"placeholders":{"needCopy":"BCC 対象ユーザーを入力","copyTo":"BCC 受信メールを入力"},"loading":{"adding":"BCC を追加中... お待ちください","saving":"BCC を保存中... お待ちください","deleting":"BCC を削除中... お待ちください"}},"forward":{"add":"転送追加","edit":"転送編集","columns":{"address":"アドレス","goto":"転送先","domain":"ドメイン","created":"作成日","modified":"更新日","status":"状態"},"form":{"status":"状態","forwardedUsers":"転送元ユーザー","forwardedUsersPlaceholder":"転送元メールを入力","domain":"ドメイン","domainPlaceholder":"転送元ユーザーのドメイン名","receivingUser":"受信ユーザー","receivingUserPlaceholder":"転送メール受信者。複数ある場合は改行区切り"},"delete":{"title":"メール転送削除","content":"メール転送 [{address}] を削除してもよろしいですか?"},"loading":{"adding":"メール転送を追加中... お待ちください","editing":"メール転送を編集中... お待ちください","deleting":"メール転送を削除中... お待ちください"}},"common":{"confirm":"更新","proxy":{"title":"リバースプロキシ","description":"リバースプロキシアドレス、外部公開時に使用します。例:購読リスト、配信停止メールなど","placeholder":"リバースプロキシアドレスを入力してください","formatTip":"形式:https://example.com","reset":"リセット","resetConfirm":{"title":"リバースプロキシをリセット","content":"リバースプロキシをリセットしてもよろしいですか?"}}},"api":{"loading":{"restarting":"サービスを再起動中... お待ちください","saving":"設定を保存中... お待ちください"}}},"logs":{"title":"ログ","table":{"columns":{"username":"ユーザー名","type":"タイプ","operatingTime":"操作時間","details":"詳細"}},"filter":{"all":"すべて"},"search":{"placeholder":"詳細/IPを入力して検索"}}}');let l=(0,i.o)({legacy:!1,globalInjection:!0,locale:"en",fallbackLocale:"en",messages:{en:o,zh:n,ja:r}}),s=e=>{l.global.locale.value=e},d=l},27775:function(e,t,a){"use strict";a.d(t,{l:()=>d});var i=a(58786),o=a(76882),n=a(31708),r=a(52672),l=a(60066);let s=(0,i.aZ)({__name:"App",setup(e){let t=(0,n.fl)();return(0,i.YP)(()=>t.theme,()=>{t.changeTheme()},{immediate:!0}),(e,t)=>{let a=(0,i.up)("router-view"),o=l.Z;return(0,i.wg)(),(0,i.j4)(o,null,{default:(0,i.w5)(()=>[(0,i.Wm)(a)]),_:1})}}});a(60308),a(76);let d=(0,i.ri)(s);d.use(o.Z),d.use(n.ZP),d.use(r.Z),d.mount("#root")},53431:function(e,t,a){"use strict";a.d(t,{A:()=>i});let i=()=>Promise.all([a.e("5293"),a.e("579"),a.e("69"),a.e("2137"),a.e("6194"),a.e("7907")]).then(a.bind(a,73151))},52672:function(e,t,a){"use strict";a.d(t,{Z:()=>d});var i=a(31708),o=a(76882),n=a(34541),r=a(66746);let{loadingBar:l}=(0,a(65215).M)(["loadingBar"],{configProviderProps:{themeOverrides:{LoadingBar:{colorLoading:"#20a53a",colorError:"#ef0808"}}}}),s=["/login"];r.ZP.beforeEach(async(e,t,a)=>{l.start(),(0,n.A)();let d=(0,i.s6)();try{await d.getLang(),(0,o.m)(d.lang)}catch{(0,o.m)(d.lang)}if(!r._j.some(t=>t.path===e.path))return void a();(0,i.LM)().isLogin?s.includes(e.path)?a("/"):a():s.includes(e.path)?a():a("/login")}),r.ZP.afterEach(()=>{l.finish()});let d=r.ZP},25735:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/send",component:a(53431).A,meta:{sort:3,key:"api",title:"Send API",titleKey:"layout.menu.sendApi"},children:[{path:"/send",name:"Api",component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("6803"),a.e("5701"),a.e("7222"),a.e("8953"),a.e("9538"),a.e("2546"),a.e("7777")]).then(a.bind(a,3194))}]}},63768:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/automation",component:a(53431).A,meta:{sort:3,key:"automation",title:"Automation",icon:"i-mdi-refresh-auto",hidden:!0},children:[{path:"/automation",name:"Automation",component:()=>a.e("3606").then(a.bind(a,37539))}]}},52345:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/contacts",redirect:"/contacts/group",name:"ContactsLayout",component:a(53431).A,meta:{sort:4,key:"contacts",title:"Contacts",titleKey:"layout.menu.contacts"},children:[{path:"/contacts",name:"Contacts",redirect:"/contacts/group",component:()=>Promise.all([a.e("7303"),a.e("4602")]).then(a.bind(a,43898)),children:[{path:"group",name:"ContactsGroup",meta:{title:"Group",titleKey:"layout.menu.group"},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("6803"),a.e("5701"),a.e("6061"),a.e("2017"),a.e("4317"),a.e("5757"),a.e("4485"),a.e("1581")]).then(a.bind(a,8022))},{path:"subscribers",name:"ContactsSubscribers",meta:{title:"Subscribers",titleKey:"layout.menu.subscribers"},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("6803"),a.e("5701"),a.e("6061"),a.e("2017"),a.e("4317"),a.e("424"),a.e("3810"),a.e("5757"),a.e("5326")]).then(a.bind(a,79430))},{path:"suspend",name:"ContactsSuspend",meta:{title:"Suspend List",titleKey:""},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("6803"),a.e("5701"),a.e("8072"),a.e("762"),a.e("4836")]).then(a.bind(a,58689))}]},{path:"settings/:id",name:"ContactsSettings",meta:{title:"Settings",titleKey:""},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("6061"),a.e("7303"),a.e("2017"),a.e("4317"),a.e("4636"),a.e("2890"),a.e("5757"),a.e("2768")]).then(a.bind(a,67068))}]}},78280:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/domain",component:a(53431).A,meta:{sort:5,key:"domain",title:"MailDomain",titleKey:"layout.menu.domain"},children:[{path:"/domain",name:"Domain",component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("6803"),a.e("5701"),a.e("6061"),a.e("7303"),a.e("5274"),a.e("8775"),a.e("4485"),a.e("9097"),a.e("6675")]).then(a.bind(a,16435))},{path:"edit-domain/:domain",name:"EditDomain",component:()=>a.e("192").then(a.bind(a,2963))}]}},90427:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/logs",redirect:"/logs/operation",component:a(53431).A,meta:{key:"logs",title:"Logs",titleKey:"layout.menu.logs"},children:[{path:"/logs",redirect:"/logs/operation",name:"Logs",component:()=>Promise.all([a.e("7303"),a.e("6969")]).then(a.bind(a,29466)),children:[{path:"operation",name:"Operation Logs",meta:{title:"Operation logs",titleKey:""},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("5701"),a.e("5461")]).then(a.bind(a,28297))},{path:"error",name:"Error Logs",meta:{title:"Error logs",titleKey:""},component:()=>Promise.all([a.e("8072"),a.e("762"),a.e("8121")]).then(a.bind(a,77248))}]}]}},5987:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/mailbox",component:a(53431).A,meta:{sort:6,key:"mailbox",title:"MailBoxes",titleKey:"layout.menu.mailboxes"},children:[{path:"/mailbox",name:"Mailbox",component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("6803"),a.e("5701"),a.e("6061"),a.e("5274"),a.e("2017"),a.e("4317"),a.e("5757"),a.e("2364")]).then(a.bind(a,26638))}]}},30794:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/market",redirect:"/market/task",name:"MarketLayout",component:a(53431).A,meta:{key:"market",title:"Email Marketing",titleKey:"layout.menu.market"},children:[{path:"/market",redirect:"/market/task",name:"Market",component:()=>Promise.all([a.e("7303"),a.e("3535")]).then(a.bind(a,77369)),children:[{path:"task",name:"MarketTask",meta:{title:"Task",titleKey:"layout.menu.task"},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("5701"),a.e("2017"),a.e("4485"),a.e("8559")]).then(a.bind(a,66469))},{path:"template",name:"MarketTemplate",meta:{title:"Template",hidden:!0,titleKey:"layout.menu.template"},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("6803"),a.e("5701"),a.e("6061"),a.e("2017"),a.e("4317"),a.e("4636"),a.e("5530"),a.e("5757"),a.e("4485"),a.e("8013")]).then(a.bind(a,11646))}]},{path:"task/edit",name:"MarketTaskEdit",meta:{title:"Task",hidden:!0},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("6803"),a.e("6061"),a.e("5274"),a.e("2017"),a.e("4317"),a.e("7222"),a.e("5757"),a.e("2546"),a.e("5052")]).then(a.bind(a,36289))},{path:"task/analytics/:id",name:"MarketTaskAnalytics",meta:{title:"Analytics",hidden:!0},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("5701"),a.e("7222"),a.e("424"),a.e("2823"),a.e("9252")]).then(a.bind(a,13626))}]}},65449:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/overview",component:a(53431).A,meta:{sort:0,key:"overview",title:"Overview",titleKey:"layout.menu.overview"},children:[{path:"/overview",name:"Overview",component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("5701"),a.e("7222"),a.e("424"),a.e("2823"),a.e("5779")]).then(a.bind(a,69209))}]}},84609:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/settings",name:"SettingsLayout",redirect:"/settings/common",meta:{sort:9,key:"settings",title:"Settings",titleKey:"layout.menu.settings"},component:a(53431).A,children:[{path:"/settings",name:"Settings",redirect:"/settings/common",component:()=>Promise.all([a.e("7303"),a.e("9468")]).then(a.bind(a,69052)),children:[{path:"common",name:"SettingsCommon",meta:{title:"Common",titleKey:"layout.menu.common"},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("4046"),a.e("6614")]).then(a.bind(a,60509))},{path:"service",name:"SettingsService",meta:{title:"Service",titleKey:"layout.menu.service"},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("5701"),a.e("4636"),a.e("9207")]).then(a.bind(a,36580))},{path:"bcc",name:"SettingsBcc",meta:{title:"BCC",titleKey:"layout.menu.bcc"},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("6803"),a.e("5701"),a.e("8396"),a.e("4485"),a.e("2880")]).then(a.bind(a,88559))},{path:"forward",name:"SettingsForward",meta:{title:"Forward",titleKey:"layout.menu.forward"},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("6803"),a.e("5701"),a.e("5498"),a.e("4485"),a.e("8128")]).then(a.bind(a,92004))},{path:"ai-model",name:"AiModel",meta:{title:"AI Model",titleKey:""},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("6061"),a.e("5274"),a.e("5607")]).then(a.bind(a,42987))},{path:"send-queue",name:"SendQueue",meta:{title:"Send Queue",titleKey:""},component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("6803"),a.e("5701"),a.e("8072"),a.e("762"),a.e("1163")]).then(a.bind(a,55193))}]},{path:"rspamd",name:"SettingsRspamd",meta:{title:"Rspamd",titleKey:"",hidden:!0},component:()=>a.e("1095").then(a.bind(a,73152))}]}},48296:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/smtp",component:a(53431).A,meta:{sort:8,hidden:!1,key:"smtp",title:"SMTP",titleKey:""},children:[{path:"/smtp",name:"SMTP",component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("5274"),a.e("6569"),a.e("5291")]).then(a.bind(a,72264))}]}},31255:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/template",component:a(53431).A,meta:{sort:3,title:"template",key:"template",titleKey:"layout.menu.template"},children:[{path:"/template",name:"template",component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("9372"),a.e("2137"),a.e("6803"),a.e("5701"),a.e("6061"),a.e("2017"),a.e("4317"),a.e("4636"),a.e("3126"),a.e("5757"),a.e("4485"),a.e("9097"),a.e("7699")]).then(a.bind(a,13269))},{path:"ai-template/:chatId",name:"ai-template",component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("4636"),a.e("8953"),a.e("37"),a.e("672")]).then(a.bind(a,72746))}]}},66746:function(e,t,a){"use strict";a.d(t,{ZP:()=>c,_j:()=>d,sh:()=>l});var i=a(65965),o=a(68271);let n=["Overview","Email Marketing","template","Send API","Contacts","MailDomain","MailBoxes","SMTP","Logs","Settings","Automation"],r=a(12052),l=[];for(let e of r.keys()){let t=r(e);(0,o.is)(t,"Module")&&l.push(t.default)}l=l.reduce((e,t)=>(e[n.findIndex(e=>e==t.meta.title)]=t,e),[]);let s=[];o.r8&&s.push({path:"/test",name:"Test",component:()=>Promise.all([a.e("9602"),a.e("5293"),a.e("579"),a.e("69"),a.e("3354"),a.e("7303"),a.e("5274"),a.e("5867"),a.e("587"),a.e("6366"),a.e("9380"),a.e("7235")]).then(a.bind(a,92382))});let d=[{path:"/login",name:"Login",component:()=>Promise.all([a.e("9602"),a.e("9372"),a.e("9926")]).then(a.bind(a,24680))},{path:"/",redirect:"/overview"},...l,...s],c=(0,i.p7)({history:(0,i.PO)("/"),routes:d,strict:!1,scrollBehavior:()=>({left:0,top:0})})},31708:function(e,t,a){"use strict";a.d(t,{ZP:()=>h,Ls:()=>r,fl:()=>g,s6:()=>p,LM:()=>u});var i=a(30989),o=a(57953),n=a(58786);let r=(0,i.Q_)("MenuStore",()=>{let e=(0,n.iH)(!1),t=(0,n.iH)([]);return{isCollapse:e,menuList:t,setCollapse:()=>{e.value=!e.value},setMenuList:e=>{t.value=e},closeSidebar:()=>{e.value=!1}}});var l=a(68271),s=a(73282),d=a(76882),c=a(52672);let u=(0,i.Q_)("UserStore",()=>{let{t:e}=d.Z.global,t=(0,n.iH)({token:"",refresh_token:"",ttl:0,expire:0}),a=(0,n.Fl)(()=>t.value.token&&t.value.expire>Date.now()),i=()=>{t.value.token="",t.value.refresh_token="",t.value.ttl=0,t.value.expire=0};return{login:t,isLogin:a,logout:()=>{(0,l.iG)({title:e("user.logout.title"),content:e("user.logout.content"),onConfirm:async()=>{await (0,s.kS)(),i(),c.Z.push("/login")}})},setLoginInfo:e=>{t.value.token=e.token,t.value.refresh_token=e.refresh_token,t.value.ttl=e.ttl,t.value.expire=1e3*e.ttl+Date.now()},resetLoginInfo:i}},{persist:{pick:["login"]}});var m=a(98003);let p=(0,i.Q_)("GlobalStore",()=>{let e=(0,n.iH)(""),t=(0,n.iH)("en"),a=(0,n.iH)([]),i=(0,n.iH)(!1),o=(0,n.iH)(""),r=async()=>{if(a.value.length>0)return;let e=await (0,m.Vb)();(0,l.Kn)(e)&&(t.value=e.current_language,a.value=e.available_languages)};return{domainSource:e,lang:t,langList:a,isCollapse:i,temp_subject:o,getLang:r,setLang:async e=>{await (0,m.m0)({language:e})},setCollapse:()=>{i.value=!i.value}}},{persist:[{pick:["domainSource"],storage:localStorage}]}),g=(0,i.Q_)("ThemeStore",()=>{let e=(0,n.iH)("light"),t=e=>getComputedStyle(document.documentElement).getPropertyValue(e).trim(),a=()=>({common:{lineHeight:"normal",fontSize:"12px",fontSizeSmall:"12px",fontSizeMedium:"12px",fontSizeLarge:"14px",borderRadius:"4px",baseColor:"#fff",textColor1:t("--color-text-1"),textColor2:t("--color-text-2"),primaryColor:t("--color-primary-1"),primaryColorHover:t("--color-primary-hover-1"),successColor:t("--color-primary-1"),successColorHover:t("--color-primary-hover-1"),warningColor:t("--color-warning-1"),errorColor:t("--color-error-1")},Layout:{color:t("--color-bg-2"),textColor:t("--color-text-1"),headerColor:t("--color-bg-1"),siderColor:t("--color-bg-1"),siderTextColor:t("--color-sider-text-1")},Menu:{fontSize:"14px",itemTextColor:t("--color-menu-1"),itemIconColor:t("--color-menu-1"),itemColorActive:t("--color-menu-active-1"),itemTextColorActive:t("--color-menu-active-2"),itemIconColorActive:t("--color-menu-active-2"),itemColorActiveHover:t("--color-menu-active-1"),itemTextColorActiveHover:t("--color-menu-active-2"),itemIconColorActiveHover:t("--color-menu-active-2"),itemColorActiveCollapsed:t("--color-menu-active-1")},Card:{color:t("--color-bg-1"),borderColor:"transparent",borderRadius:"6px"},Form:{feedbackHeightMedium:"20px",feedbackHeightLarge:"22px",feedbackFontSizeMedium:"12px",feedbackFontSizeLarge:"12px",feedbackPadding:"2px 0 0",labelFontSizeTopMedium:"13px",labelFontSizeLeftMedium:"13px",labelPaddingHorizontal:"0 20px 0 0",labelFontWeight:"700"},Radio:{buttonColor:t("--color-radio-1"),buttonColorActive:t("--color-radio-2"),buttonTextColor:t("--color-text-2"),buttonTextColorHover:t("--color-text-1"),buttonTextColorActive:t("--color-text-1"),buttonBorderColor:"transparent",buttonBorderColorHover:"transparent",buttonBorderColorActive:"transparent",buttonBoxShadowHover:"none",buttonBoxShadowFocus:"none",buttonBorderRadius:"4px",labelPadding:"0 0 0 8px"},Dialog:{contentMargin:"16px 0",textColor:t("--color-text-1")},DataTable:{thPaddingMedium:"10px",tdPaddingMedium:"10px",thColor:t("--color-table-th-1"),tdColor:t("--color-table-td-1"),tdColorHover:t("--color-table-th-1"),borderRadius:"4px"},Breadcrumb:{fontSize:"14px"},Switch:{railColorActive:t("--color-primary-1")},Tabs:{tabBorderRadius:"4px"},Progress:{textColorLineInner:"#fff"},Button:{color:t("--color-bg-1"),colorHover:t("--color-bg-1")}}),i=(0,n.iH)(a());return{theme:e,themeOverrides:i,setTheme:t=>{e.value=t},changeTheme:()=>{let t="dark"===e.value;document.documentElement.setAttribute("theme-mode",t?"dark":""),(0,n.Y3)(()=>{i.value=a()})}}},{persist:{pick:["theme"]}}),f=(0,i.WB)();f.use(o.Z);let h=f},68271:function(e,t,a){"use strict";a.d(t,{CB:()=>F,kJ:()=>L,JL:()=>U,NY:()=>Z,o8:()=>D,Dx:()=>j,UO:()=>q,qQ:()=>V,mf:()=>M,HD:()=>I,FZ:()=>B,mr:()=>z,r8:()=>N,hj:()=>R,Kn:()=>k,wb:()=>K,v0:()=>x,is:()=>A,J_:()=>E,iG:()=>s,$o:()=>Q});var i=a(58786),o=a(96616),n=a(27775),r=a(49247),l=a(60066);function s(e){let t=document.createElement("div"),a=()=>{(0,i.sY)(null,t),t.parentNode&&t.parentNode.removeChild(t)},s=(0,i.Wm)(r.Z,{show:!0,width:e.width||420,title:e.title,onCancel:e.onCancel,onConfirm:e.onConfirm,confirmText:e.confirmText,confirmType:e.confirmType,onAfterLeave:()=>{a()}},{default:()=>(0,i.Wm)("div",{class:"pt-6px pb-10px text-14px"},[(0,o.s)(e.content)])}),d=(0,i.Wm)(l.Z,{},{default:()=>[s]});d.appContext=n.l._context,(0,i.sY)(d,t)}var d=a(40833),c=a(71465),u=a(73023),m=a(56357),p=a(89620),g=a(62594),f=a(87075),h=a(62198),b=a(64812),y=a(52317);let v=(0,i.aZ)({__name:"index",emits:["click"],setup(e,t){let{emit:a}=t,o=e=>{a("click",e)};return(e,t)=>((0,i.wg)(),(0,i.iD)("div",{class:"bt-close-btn",onClick:o},t[0]||(t[0]=[(0,i._)("div",{class:"close-icon"},null,-1)])))}}),S=(0,a(41748).default)(v,[["__scopeId","data-v-52951952"]]),P=(0,i.aZ)({name:"BtMessage",props:{type:{type:String,default:"info"},content:{type:[String,Function],default:""},duration:{type:Number,default:2500},close:{type:Boolean,default:!1},isHtml:{type:Boolean,default:!1},maxWidth:{type:[String,Number],default:360},zIndex:Number},emits:["close"],setup(e,t){let{emit:a}=t,o=(0,i.iH)(null),n={success:{icon:()=>(0,i.Wm)(f.Z,null,null),color:"#20a53a"},error:{icon:()=>(0,i.Wm)(h.Z,null,null),color:"#E85445"},warning:{icon:()=>(0,i.Wm)(b.Z,null,null),color:"#e6a23c"},info:{icon:()=>(0,i.Wm)(y.Z,null,null),color:"#2080F0"},loading:{icon:()=>(0,i.Wm)(g.Z,{clsPrefix:"bt",strokeWidth:24,scale:.85},null),color:"#20a53a"}},r=(0,i.Fl)(()=>n[e.type]),l=0,s=()=>{a("close")},d=()=>{let{duration:t}=e;t>0&&(l=window.setTimeout(s,t))},c=()=>{l&&(window.clearTimeout(l),l=0)},m=()=>{let e=o.value;if(!e)return;let t=window.document.body,a=(t.clientWidth-e.clientWidth)/2,i=(t.clientHeight-e.clientHeight)/2;e.style.left=a+"px",e.style.top=i+"px"},p=!0,v=new u.Z(()=>{if(p){p=!1;return}m()}),S=()=>{(0,i.Y3)(()=>{let e=o.value;e&&(e.style.opacity="1")})};return(0,i.bv)(()=>{m(),S(),d(),v.observe(window.document.body)}),(0,i.Jd)(()=>{c(),v.disconnect()}),{iconInfo:r,messageRef:o,handleClose:s}},render(){var e;let t;return(0,i.wy)((0,i.Wm)("div",{ref:"messageRef",class:["bt-message-ke2eaH",`bt-message-${this.type}`],style:{maxWidth:(0,p.N)(this.maxWidth)}},[this.close&&(0,i.Wm)(S,{onClick:()=>{this.handleClose()}},null),(0,i.Wm)("div",{class:"flex-basis-30px"},[(0,i.Wm)(m.g,{size:30,color:this.iconInfo.color},"function"!=typeof(e=t=this.iconInfo.icon())&&("[object Object]"!==Object.prototype.toString.call(e)||(0,i.lA)(e))?{default:()=>[t]}:t)]),(0,i.Wm)("div",{class:"flex-1 ml-10px max-h-600px leading-20px text-14px overflow-auto"},[!this.isHtml&&(0,i.Wm)("div",null,[(0,o.s)(this.content)]),this.isHtml&&(0,i.Wm)("div",{innerHTML:this.content},null)])]),[[c.Z,{zIndex:this.zIndex,enabled:!0}]])}}),C=(0,i.aZ)({name:"MessageList",props:{messages:{type:Array,default:()=>[]},type:{type:String,default:"success"},position:{type:String,default:"center"}},emits:["close","afterClose"],setup(){},render(){var e;let t;return(0,i.Wm)(i.HY,null,[this.messages.map(e=>{if(e.mask)return(0,i.wy)((0,i.Wm)("div",{class:"n-modal-mask"},null),[[c.Z,{zIndex:void 0,enabled:!0}]])}),(0,i.Wm)(i.W3,{name:"bounce",onAfterLeave:()=>{this.$emit("afterClose")}},"function"!=typeof(e=t=this.messages.map(e=>(0,i.Wm)(P,{key:e.id,type:e.type,close:e.close,isHtml:e.isHtml,content:e.content,duration:e.duration,maxWidth:e.maxWidth,onClose:()=>{this.$emit("close",e.id)}},null)))&&("[object Object]"!==Object.prototype.toString.call(e)||(0,i.lA)(e))?{default:()=>[t]}:t)])}});class w{constructor(e){(0,d._)(this,"messageIds",void 0),(0,d._)(this,"messages",void 0),(0,d._)(this,"position",void 0),(0,d._)(this,"container",void 0),(0,d._)(this,"messageCount",0),(0,d._)(this,"add",e=>{this.messageCount++;let t=e.id??`__bt_message_${this.messageCount}`;if(this.messageIds.has(t))return this.update(t,e);let a=(0,i.qj)({id:t,...e});return this.messages.value.push(a),this.messageIds.add(t),{close:()=>this.remove(t)}}),(0,d._)(this,"update",(e,t)=>{for(let a=0;a<this.messages.value.length;a++)if(this.messages.value[a].id===e){let i=!D(t.duration);Object.assign(this.messages.value[a],{...t,id:e,resetOnUpdate:i});break}return{close:()=>this.remove(e)}}),(0,d._)(this,"remove",e=>{for(let t=0;t<this.messages.value.length;t++){let a=this.messages.value[t];if(a.id===e){M(a.onClose)&&a.onClose(e),this.messages.value.splice(t,1),this.messageIds.delete(e);break}}}),(0,d._)(this,"clear",()=>{this.messages.value.splice(0)}),(0,d._)(this,"destroy",()=>{0===this.messages.value.length&&this.container&&((0,i.sY)(null,this.container),document.body.removeChild(this.container),this.container=null,T[this.position]=void 0)});let{position:t="center"}=e,a=document.createElement("div");a.classList.add("bt-message-container"),this.container=a,this.messages=(0,i.iH)([]),this.messageIds=new Set,this.position=t;let o=(0,i.Wm)(C,{position:t,messages:this.messages.value,type:e.type,onClose:this.remove,onAfterClose:this.destroy});(0,i.sY)(o,this.container),document.body.appendChild(this.container)}}let T={},x=["info","success","warning","error","loading"].reduce((e,t)=>(e[t]=(e,a)=>{I(e)||M(e)?a?a.content=e:a={content:e}:a={...e},"loading"===t?(a.mask=void 0===a.mask||a.mask,a.duration=a.duration?a.duration:0):a.close&&(a.mask=void 0===a.mask||a.mask,a.duration=a.duration?a.duration:0);let i={type:t,...a},{position:o="center"}=i;return T[o]||(T[o]=new w(i)),T[o].add(i)},e),{});function A(e,t){return Object.prototype.toString.call(e)===`[object ${t}]`}function k(e){return null!==e&&A(e,"Object")}x.clear=e=>{if(e){var t;null==(t=T[e])||t.clear()}else Object.values(T).forEach(e=>null==e?void 0:e.clear())};let R=e=>A(e,"Number"),I=e=>A(e,"String"),M=e=>A(e,"Function"),D=e=>void 0===e,L=e=>Array.isArray(e),E=e=>A(e,"Date"),N=!1,B="",q=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(!R(e)&&isNaN(e=Number(e)))return"";let o=["B","KB","MB","GB","TB","PB","EB","ZB","YB","BB","NB","DB"],n=e;for(let e=0;e<o.length;e++){let r=o[e],l=0===a?Math.round(n).toString():n.toFixed(a);if(i&&r===i.trim()||n<1024)return t?`${l} ${r}`:l;n/=1024}return"--"};function F(e){return/^(https?:\/\/)?((([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,})|((\d{1,3}\.){3}\d{1,3}))(:\d{1,5})?(\/.*)?$/.test(e)}function U(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16;e=Math.max(e,3);let t="abcdefghijklmnopqrstuvwxyz",a="ABCDEFGHIJKLMNOPQRSTUVWXYZ",i="0123456789",o=t+a+i,n="";n+=t.charAt(Math.floor(Math.random()*t.length)),n+=a.charAt(Math.floor(Math.random()*a.length)),n+=i.charAt(Math.floor(Math.random()*i.length));for(let t=3;t<e;t++){let e=Math.floor(Math.random()*o.length);n+=o[e]}return n.split("").sort(()=>Math.random()-.5).join("")}var O=a(20157);let j=e=>Number.isNaN((0,O.Z)(e))?0:(0,O.Z)(e);var W=a(92824),H=a(36760),G=a(49468),_=a(76882);let z=function(e){let t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd HH:mm:ss";if(!e)return"--";try{if(I(e))t=isNaN((0,O.Z)(e))?new Date(e).getTime():j(e);else if(E(e))t=e.getTime();else{if(!R(e))return"--";let a=e.toString();t=10===a.length?1e3*e:e}return(0,W.WU)(t,a)}catch{return"--"}},K=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,t=(0,H.b)(e),a=(0,G.i)(e);return[t.getTime(),a.getTime()]},Z=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(!e||e<0)return`0 ${_.Z.global.t("common.unit.seconds")}`;let a=e/86400,i=e/3600,o=e/60;return a>=1?`${a.toFixed(t)} ${_.Z.global.t("common.unit.days")}`:i>=1?`${i.toFixed(t)} ${_.Z.global.t("common.unit.hours")}`:o>=1?`${o.toFixed(t)} ${_.Z.global.t("common.unit.minutes")}`:`${Math.floor(e)} ${_.Z.global.t("common.unit.seconds")}`},Q=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{let a=localStorage.getItem(e);if(null===a)return t;if(k(t))return JSON.parse(a);return a}catch{return t}},V=(e,t)=>{let a=k(t)?JSON.stringify(t):String(t);localStorage.setItem(e,a)}},60066:function(e,t,a){"use strict";a.d(t,{Z:()=>g});var i=a(48238),o=a(58786),n=a(30989),r=a(86831),l=a(44488),s=a(38325),d=a(24924),c=a(89462),u=a(79203),m=a(23406),p=a(31708);let g=(0,o.aZ)({__name:"index",setup(e){let t=(0,p.s6)(),{lang:a}=(0,n.Jk)(t),g=(0,p.fl)(),{theme:f,themeOverrides:h}=(0,n.Jk)(g),b={zh:{locale:r.Z,dateLocale:l.Z},en:{locale:s.Z,dateLocale:d.Z},ja:{locale:c.Z,dateLocale:u.Z}},y=(0,o.Fl)(()=>"dark"===f.value?m.$:null),v=(0,o.Fl)(()=>b[a.value].locale),S=(0,o.Fl)(()=>b[a.value].dateLocale);return(e,t)=>{let a=i.Z;return(0,o.wg)(),(0,o.j4)(a,{abstract:"","inline-theme-disabled":"",theme:(0,o.SU)(y),locale:(0,o.SU)(v),"date-locale":(0,o.SU)(S),"theme-overrides":(0,o.SU)(h)},{default:(0,o.w5)(()=>[(0,o.WI)(e.$slots,"default")]),_:3},8,["theme","locale","date-locale","theme-overrides"])}}})},49247:function(e,t,a){"use strict";a.d(t,{Z:()=>c});var i=a(5057),o=a(15496),n=a(58786),r=a(94821),l=a(89620);let s={class:"flex justify-between flex-1"},d={class:"flex gap-12px"},c=(0,n.aZ)({__name:"index",props:(0,n.Vf)({zIndex:Number,onAfterLeave:Function,title:{type:String,default:""},width:{type:[String,Number],default:"auto"},minHeight:{type:[Number,String],default:"auto"},footer:{type:Boolean,default:!0},transformOrigin:{type:String,default:"center"},confirmText:{type:String,default:""},confirmType:{type:String,default:"primary"},onCancel:{type:Function,default:()=>!0},onConfirm:{type:Function,default:()=>!0}},{show:{type:Boolean},showModifiers:{}}),emits:["update:show"],setup(e){let t=(0,n.tT)(e,"show"),{height:a}=(0,r.iPe)(),c=(0,n.Fl)(()=>a.value?`${a.value-32}px`:"auto"),u=()=>{t.value=!1},m=()=>{!1!==e.onCancel()&&(t.value=!1)},p=()=>{Promise.resolve(e.onConfirm()).then(e=>{!1!==e&&u()})},g=()=>{var t;null==(t=e.onAfterLeave)||t.call(e)};return(a,r)=>{let u=o.ZP,f=i.Z;return(0,n.wg)(),(0,n.j4)(f,{show:t.value,"onUpdate:show":r[0]||(r[0]=e=>t.value=e),preset:"dialog","z-index":e.zIndex,draggable:!0,"auto-focus":!1,"show-icon":!1,"mask-closable":!1,"internal-appear":!0,"internal-dialog":!0,"transform-origin":e.transformOrigin,style:(0,n.j5)({width:(0,n.SU)(l.N)(e.width)}),onAfterLeave:g},(0,n.Nv)({header:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)(e.title),1)]),default:(0,n.w5)(()=>[(0,n._)("div",{style:(0,n.j5)({maxHeight:(0,n.SU)(c),overflow:"auto"})},[(0,n.WI)(a.$slots,"default")],4)]),_:2},[e.footer?{name:"action",fn:(0,n.w5)(()=>[(0,n._)("div",s,[(0,n._)("div",null,[(0,n.WI)(a.$slots,"footer-left")]),(0,n._)("div",d,[(0,n.Wm)(u,{secondary:"",onClick:m},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)(a.$t("common.actions.cancel")),1)]),_:1}),(0,n.Wm)(u,{type:e.confirmType,onClick:p},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)(e.confirmText||a.$t("common.actions.confirm")),1)]),_:1},8,["type"])])])]),key:"0"}:void 0]),1032,["show","z-index","transform-origin","style"])}}})}},t={};function a(i){var o=t[i];if(void 0!==o)return o.exports;var n=t[i]={exports:{}};return e[i](n,n.exports,a),n.exports}a.m=e,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,i)=>(a.f[i](e,t),t),[])),a.u=e=>"static/js/async/"+e+"."+({1095:"4072569d",1163:"40e1f4fc",1430:"3127dab0",1581:"62ecce15",192:"441239d1",2017:"ed71b520",2137:"31d4654f",2364:"363ded29",2546:"9ad18d62",2768:"90236d4d",2823:"47af3d18",2880:"3690aeef",2890:"69346f76",3126:"4f62a4e3",3324:"fd04b5cf",3354:"af31be73",3535:"b0ca7292",3606:"c5bd7813",37:"d902cb7a",3810:"6cb15944",4046:"0051094e",424:"a8b4d687",4317:"78a8cfe0",4485:"54eed143",4602:"42684ca4",4636:"a6e49596",4836:"d2366132",5052:"f8831863",5274:"d5d8d057",5291:"0e7368af",5293:"1b74ca02",5326:"d7372b78",5461:"31057e0f",5498:"56da57d8",5530:"ddd3c262",5607:"db0d4a2e",5701:"26a19c03",5757:"1953a93d",5779:"22154d15",579:"f4df1ad3",5867:"127e2faf",587:"9825e286",6061:"0e2ac705",6194:"9d546878",6366:"11e68ac4",6463:"9ef25a0c",6569:"e5b08afa",6614:"a23157af",6675:"de5d0ccc",672:"1597ea01",6803:"12301c63",69:"07f369ca",6969:"10c6c9cf",7222:"4834acb2",7235:"c4aee453",7303:"1f99ded4",762:"4e3c94a4",7699:"b30944de",7704:"651d709f",7777:"e8d50641",7907:"e0786937",8013:"43e10c82",8072:"b1d94d7d",8121:"5305d153",8128:"d8a49a38",8396:"b4461a1b",8559:"c17f8693",8775:"8c37b635",8813:"ba11c92d",8953:"7c602bac",9097:"ad9ff6f3",9207:"6cc01a2d",9234:"3eaec856",9252:"697d0547",9372:"19031b29",9380:"2af01083",9468:"bae2140e",9538:"9443f6d5",9602:"03559ada",9926:"7c24cd6e"})[e]+".js",a.miniCssF=e=>"static/css/async/"+e+"."+({1095:"b0c2adf5",1163:"02234b0c",1430:"ca21fa0f",1581:"db7eab08",192:"8b48314d",2364:"b852af68",2768:"8af5fcb0",3324:"e59851da",3535:"3a6dc340",4602:"3a6dc340",4836:"02234b0c",5052:"d68fdc8e",5291:"8611c02d",5326:"5b708b05",5607:"e0927d46",5779:"4e44ff7b",6463:"f56c4b39",6675:"5ef39fca",672:"af2414b3",6969:"3a6dc340",7699:"cb2f7568",7704:"59e548ee",7777:"42b8c8e7",7907:"62c62088",8013:"f0e0f9ae",8121:"f450f301",8813:"245c9c7c",9207:"db2f1c3e",9234:"97b5fe1f",9252:"4733345f",9380:"c59177f7",9468:"3a6dc340",9538:"114b87b8",9926:"fd2f892d"})[e]+".css",a.h=()=>"526a5087546ffeaa",a.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="frontend:";a.l=function(i,o,n,r){if(e[i])return void e[i].push(o);if(void 0!==n)for(var l,s,d=document.getElementsByTagName("script"),c=0;c<d.length;c++){var u=d[c];if(u.getAttribute("src")==i||u.getAttribute("data-webpack")==t+n){l=u;break}}l||(s=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,a.nc&&l.setAttribute("nonce",a.nc),l.setAttribute("data-webpack",t+n),l.src=i),e[i]=[o];var m=function(t,a){l.onerror=l.onload=null,clearTimeout(p);var o=e[i];if(delete e[i],l.parentNode&&l.parentNode.removeChild(l),o&&o.forEach(function(e){return e(a)}),t)return t(a)},p=setTimeout(m.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=m.bind(null,l.onerror),l.onload=m.bind(null,l.onload),s&&document.head.appendChild(l)}})(),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e=[];a.O=(t,i,o,n)=>{if(i){n=n||0;for(var r=e.length;r>0&&e[r-1][2]>n;r--)e[r]=e[r-1];e[r]=[i,o,n];return}for(var l=1/0,r=0;r<e.length;r++){for(var[i,o,n]=e[r],s=!0,d=0;d<i.length;d++)(!1&n||l>=n)&&Object.keys(a.O).every(e=>a.O[e](i[d]))?i.splice(d--,1):(s=!1,n<l&&(l=n));if(s){e.splice(r--,1);var c=o();void 0!==c&&(t=c)}}return t}})(),a.p="/",a.rv=()=>"1.3.12",(()=>{if("undefined"!=typeof document){var e=function(e,t,i,o,n){var r=document.createElement("link");return r.rel="stylesheet",r.type="text/css",a.nc&&(r.nonce=a.nc),r.onerror=r.onload=function(a){if(r.onerror=r.onload=null,"load"===a.type)o();else{var i=a&&("load"===a.type?"missing":a.type),l=a&&a.target&&a.target.href||t,s=Error("Loading CSS chunk "+e+" failed.\\n("+l+")");s.code="CSS_CHUNK_LOAD_FAILED",s.type=i,s.request=l,r.parentNode&&r.parentNode.removeChild(r),n(s)}},r.href=t,i?i.parentNode.insertBefore(r,i.nextSibling):document.head.appendChild(r),r},t=function(e,t){for(var a=document.getElementsByTagName("link"),i=0;i<a.length;i++){var o=a[i],n=o.getAttribute("data-href")||o.getAttribute("href");if("stylesheet"===o.rel&&(n===e||n===t))return o}for(var r=document.getElementsByTagName("style"),i=0;i<r.length;i++){var o=r[i],n=o.getAttribute("data-href");if(n===e||n===t)return o}},i={2980:0};a.f.miniCss=function(o,n){if(i[o])n.push(i[o]);else 0!==i[o]&&({9252:1,672:1,6969:1,1163:1,9538:1,2768:1,8013:1,5052:1,8813:1,192:1,1430:1,6463:1,9926:1,1095:1,8121:1,2364:1,5326:1,9380:1,5291:1,7704:1,5607:1,9468:1,3535:1,4602:1,3324:1,7907:1,6675:1,7699:1,9207:1,7777:1,1581:1,4836:1,5779:1,9234:1})[o]&&n.push(i[o]=new Promise(function(i,n){var r=a.miniCssF(o),l=a.p+r;if(t(r,l))return i();e(o,l,null,i,n)}).then(function(){i[o]=0},function(e){throw delete i[o],e}))}}})(),(()=>{var e={2980:0};a.f.j=function(t,i){var o=a.o(e,t)?e[t]:void 0;if(0!==o)if(o)i.push(o[2]);else{var n=new Promise((a,i)=>o=e[t]=[a,i]);i.push(o[2]=n);var r=a.p+a.u(t),l=Error();a.l(r,function(i){if(a.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var n=i&&("load"===i.type?"missing":i.type),r=i&&i.target&&i.target.src;l.message="Loading chunk "+t+" failed.\n("+n+": "+r+")",l.name="ChunkLoadError",l.type=n,l.request=r,o[1](l)}},"chunk-"+t,t)}},a.O.j=t=>0===e[t];var t=(t,i)=>{var o,n,[r,l,s]=i,d=0;if(r.some(t=>0!==e[t])){for(o in l)a.o(l,o)&&(a.m[o]=l[o]);if(s)var c=s(a)}for(t&&t(i);d<r.length;d++)n=r[d],a.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return a.O(c)},i=self.webpackChunkfrontend=self.webpackChunkfrontend||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})(),a.ruid="[email protected]";var i=a.O(void 0,["2072","5139","2118","3530"],function(){return a(27775)});i=a.O(i)})();\ No newline at end of file