Skip to content

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

New setting default function on Domain page

zdm6f27beb202ec
diff --git a/core/frontend/src/api/modules/domain.ts b/core/frontend/src/api/modules/domain.ts
index 5805a9e6..38b7d6d9 100644
--- a/core/frontend/src/api/modules/domain.ts
+++ b/core/frontend/src/api/modules/domain.ts
@@ -75,3 +75,12 @@ export const applyCert = (params: { domain: string }) => {
},
})
}
+
+export const setDefaultDomain = (params: { domain: string }) => {
+ return instance.post('/domains/set_default_domain', params, {
+ fetchOptions: {
+ loading: 'Setting Default Domain, please wait...',
+ successMessage: true,
+ },
+ })
+}
diff --git a/core/frontend/src/views/domain/components/DomainForm.vue b/core/frontend/src/views/domain/components/DomainForm.vue
index ebf0d0e3..8ddfc221 100644
--- a/core/frontend/src/views/domain/components/DomainForm.vue
+++ b/core/frontend/src/views/domain/components/DomainForm.vue
@@ -1,5 +1,5 @@
<template>
- <modal :title="title" :width="520">
+ <modal :title="title" :width="540">
<div class="pt-16px">
<bt-form ref="formRef" :model="form" :rules="rules">
<n-form-item :label="t('domain.form.domain')" path="domain">
@@ -31,14 +31,14 @@
:show-button="false">
</n-input-number>
</n-form-item>
- <n-form-item v-if="false" :label="t('domain.form.globalCatch')">
+ <n-form-item :label="t('domain.form.globalCatch')">
<n-input
v-model:value="form.email"
:placeholder="t('domain.form.globalCatchPlaceholder')">
</n-input>
</n-form-item>
</bt-form>
- <bt-tips v-if="false">
+ <bt-tips>
<li class="text-error">{{ t('domain.form.tips.aRecordFailed') }}</li>
<li>{{ t('domain.form.tips.dnsSetup') }}</li>
<li>{{ t('domain.form.tips.cloudflare') }}</li>
diff --git a/core/frontend/src/views/domain/index.vue b/core/frontend/src/views/domain/index.vue
index 2f4d11a4..9591307e 100644
--- a/core/frontend/src/views/domain/index.vue
+++ b/core/frontend/src/views/domain/index.vue
@@ -32,11 +32,11 @@
</template>
<script lang="tsx" setup>
-import { DataTableColumns, NFlex, NButton } from 'naive-ui'
+import { DataTableColumns, NFlex, NButton, NTag } from 'naive-ui'
import { confirm, getByteUnit } from '@/utils'
import { useModal } from '@/hooks/modal/useModal'
import { useTableData } from '@/hooks/useTableData'
-import { deleteDomain, getDomainList } from '@/api/modules/domain'
+import { deleteDomain, getDomainList, setDefaultDomain } from '@/api/modules/domain'
import type { MailDomain, MailDomainParams } from './interface'
import DomainForm from './components/DomainForm.vue'
@@ -69,19 +69,30 @@ const columns = ref<DataTableColumns<MailDomain>>([
ellipsis: {
tooltip: true,
},
- render: row => (
- <NButton
- text
- type="primary"
- onClick={() => {
- router.push({
- path: '/mailbox',
- state: { domain: row.domain },
- })
- }}>
- {row.domain}
- </NButton>
- ),
+ render: row => {
+ return (
+ <>
+ <NButton
+ text
+ type="primary"
+ onClick={() => {
+ router.push({
+ path: '/mailbox',
+ state: { domain: row.domain },
+ })
+ }}>
+ {row.domain}
+ </NButton>
+ {row.default ? (
+ <NTag size="small" class="ml-8px" bordered={false}>
+ Default
+ </NTag>
+ ) : (
+ ''
+ )}
+ </>
+ )
+ },
},
{
key: 'quota',
@@ -148,6 +159,7 @@ const columns = ref<DataTableColumns<MailDomain>>([
title: t('domain.columns.actions'),
key: 'actions',
align: 'right',
+ width: 260,
render: row => (
<NFlex inline={true}>
<NButton
@@ -166,6 +178,15 @@ const columns = ref<DataTableColumns<MailDomain>>([
}}>
{t('common.actions.edit')}
</NButton>
+ <NButton
+ type="primary"
+ text={true}
+ disabled={row.default === 1}
+ onClick={() => {
+ handleSetDefault(row)
+ }}>
+ Set Default
+ </NButton>
<NButton
type="error"
text={true}
@@ -233,6 +254,17 @@ const handleDNSRecord = (row: MailDomain) => {
dnsModalApi.open()
}
+const handleSetDefault = (row: MailDomain) => {
+ confirm({
+ title: `Set Default [${row.domain}]`,
+ content: 'Are you sure to set this domain as default?',
+ onConfirm: async () => {
+ await setDefaultDomain({ domain: row.domain })
+ getTableData()
+ },
+ })
+}
+
// Handle edit
const handleEdit = (row: MailDomain) => {
formModalApi.setState({
diff --git a/core/frontend/src/views/domain/interface.ts b/core/frontend/src/views/domain/interface.ts
index 28e371e0..146de8ac 100644
--- a/core/frontend/src/views/domain/interface.ts
+++ b/core/frontend/src/views/domain/interface.ts
@@ -13,6 +13,7 @@ export interface MailDomain {
rate_limit: number
create_time: number
active: number
+ default: number
email: string
dns_records: DomainDnsRecords
cert_info: DomainCertInfo
diff --git a/core/public/dist/index.html b/core/public/dist/index.html
index 651e8fe5..13a597a4 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.bfc80059.js"></script><script defer src="/static/js/6746.b3aeaec4.js"></script><script defer src="/static/js/index.643384e2.js"></script><link href="/static/css/index.129aa18d.css" rel="stylesheet"></head>
+ <script defer src="/static/js/lib-axios.a492ca1d.js"></script><script defer src="/static/js/lib-vue.5932397a.js"></script><script defer src="/static/js/lib-router.bfc80059.js"></script><script defer src="/static/js/2051.a6d33557.js"></script><script defer src="/static/js/index.1dcf1121.js"></script><link href="/static/css/index.01c5c0cb.css" rel="stylesheet"></head>
<body>
<div id="root"></div>
</body>
diff --git a/core/public/dist/static/css/async/1085.74eafcd8.css b/core/public/dist/static/css/async/1085.74eafcd8.css
new file mode 100644
index 00000000..76516dd8
--- /dev/null
+++ b/core/public/dist/static/css/async/1085.74eafcd8.css
@@ -0,0 +1 @@
+[data-v-8782714a],[data-v-8782714a]:before{box-sizing:border-box}html[data-v-8782714a],body[data-v-8782714a],#root[data-v-8782714a]{width:100%;height:100%}body[data-v-8782714a]{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-8782714a]::-ms-reveal{display:none}a[data-v-8782714a]{text-decoration:none}p[data-v-8782714a],ul[data-v-8782714a]{margin:0;padding:0}[data-v-8782714a]::-webkit-scrollbar{width:10px;height:10px}[data-v-8782714a]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-8782714a]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-8782714a]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-8782714a]: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-8782714a]{--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-8782714a]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-8782714a]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-8782714a]{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-8782714a]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-8782714a]{display:none}.n-radio-group.n-radio-group--button-group[data-v-8782714a]{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-8782714a]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-8782714a]{margin-left:16px}.content-wrapper[data-v-8782714a]{width:866px;margin:0 auto;padding-top:32px}.content-wrapper .page-tit[data-v-8782714a]{flex-direction:row;justify-content:start;align-items:center;gap:5px;margin-bottom:20px;display:flex}.content-wrapper .page-tit .back-tool[data-v-8782714a]{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 .back-tool .back-btn[data-v-8782714a]{font-size:18px}.content-wrapper .page-tit .tit-content[data-v-8782714a]{color:var(--color-text-1);font-size:16px;font-weight:700}.content-wrapper .form-label[data-v-8782714a]{color:var(--color-text-2);font-size:14px}.content-wrapper .form-desc[data-v-8782714a]{border:1px solid var(--color-border-1)}.content-wrapper .form-desc .container[data-v-8782714a]{flex-direction:column;justify-content:start;align-items:flex-start;gap:10px;display:flex}.content-wrapper .form-desc .container .desc[data-v-8782714a]{color:var(--color-text-1);font-size:14px;font-weight:700}.content-wrapper .attention .attention-tit[data-v-8782714a]{margin-bottom:10px}.content-wrapper .attention .attention-item[data-v-8782714a]{padding-left:10px;position:relative}.content-wrapper .attention .attention-item[data-v-8782714a]: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 file
diff --git a/core/public/dist/static/css/async/2302.31be5e15.css b/core/public/dist/static/css/async/2302.31be5e15.css
new file mode 100644
index 00000000..a59a8b63
--- /dev/null
+++ b/core/public/dist/static/css/async/2302.31be5e15.css
@@ -0,0 +1 @@
+[data-v-5b8dd4f7],[data-v-5b8dd4f7]:before{box-sizing:border-box}html[data-v-5b8dd4f7],body[data-v-5b8dd4f7],#root[data-v-5b8dd4f7]{width:100%;height:100%}body[data-v-5b8dd4f7]{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-5b8dd4f7]::-ms-reveal{display:none}a[data-v-5b8dd4f7]{text-decoration:none}p[data-v-5b8dd4f7],ul[data-v-5b8dd4f7]{margin:0;padding:0}[data-v-5b8dd4f7]::-webkit-scrollbar{width:10px;height:10px}[data-v-5b8dd4f7]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-5b8dd4f7]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-5b8dd4f7]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-5b8dd4f7]: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-5b8dd4f7]{--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-5b8dd4f7]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-5b8dd4f7]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-5b8dd4f7]{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-5b8dd4f7]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-5b8dd4f7]{display:none}.n-radio-group.n-radio-group--button-group[data-v-5b8dd4f7]{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-5b8dd4f7]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-5b8dd4f7]{margin-left:16px}.content-wrapper[data-v-5b8dd4f7]{width:866px;margin:0 auto;padding-top:32px}.content-wrapper .page-tit[data-v-5b8dd4f7]{flex-direction:row;justify-content:start;align-items:center;gap:5px;margin-bottom:20px;display:flex}.content-wrapper .page-tit .back-tool[data-v-5b8dd4f7]{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 .back-tool .back-btn[data-v-5b8dd4f7]{font-size:18px}.content-wrapper .page-tit .tit-content[data-v-5b8dd4f7]{color:var(--color-text-1);font-size:16px;font-weight:700}.content-wrapper .sub-tit[data-v-5b8dd4f7]{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-5b8dd4f7]{font-size:14px;font-weight:700}.content-wrapper .logo-operation[data-v-5b8dd4f7]{grid-template-columns:repeat(3,1fr);gap:20px;display:grid}.content-wrapper .logo-operation .operation-item .operation-tit[data-v-5b8dd4f7]{margin-bottom:5px;font-size:14px;font-weight:700}.content-wrapper .logo-operation .operation-item .operation-sub-tit[data-v-5b8dd4f7]{margin-bottom:15px}.content-wrapper .logo-operation .operation-item .logo-area[data-v-5b8dd4f7]{border:1px solid var(--color-border-1);border-radius:16px;width:100%;height:130px;margin-bottom:10px}.content-wrapper .logo-operation .operation-item .logo-area .upload-logo-placeholder[data-v-5b8dd4f7]{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-5b8dd4f7]{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-5b8dd4f7]{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-5b8dd4f7]:hover{background:var(--color-bg-4)}.content-wrapper .form-label[data-v-5b8dd4f7]{color:var(--color-text-2);font-size:14px}
\ No newline at end of file
diff --git a/core/public/dist/static/css/async/2558.b9c57b72.css b/core/public/dist/static/css/async/2558.b9c57b72.css
new file mode 100644
index 00000000..94f531fd
--- /dev/null
+++ b/core/public/dist/static/css/async/2558.b9c57b72.css
@@ -0,0 +1 @@
+[data-v-08844665],[data-v-08844665]:before{box-sizing:border-box}html[data-v-08844665],body[data-v-08844665],#root[data-v-08844665]{width:100%;height:100%}body[data-v-08844665]{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-08844665]::-ms-reveal{display:none}a[data-v-08844665]{text-decoration:none}p[data-v-08844665],ul[data-v-08844665]{margin:0;padding:0}[data-v-08844665]::-webkit-scrollbar{width:10px;height:10px}[data-v-08844665]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-08844665]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-08844665]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-08844665]: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-08844665]{--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-08844665]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-08844665]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-08844665]{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-08844665]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-08844665]{display:none}.n-radio-group.n-radio-group--button-group[data-v-08844665]{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-08844665]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-08844665]{margin-left:16px}.content-wrapper[data-v-08844665]{width:866px;margin:0 auto;padding-top:32px}.content-wrapper .page-tit[data-v-08844665]{flex-direction:row;justify-content:start;align-items:center;gap:5px;margin-bottom:20px;display:flex}.content-wrapper .page-tit .back-tool[data-v-08844665]{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 .back-tool .back-btn[data-v-08844665]{font-size:18px}.content-wrapper .page-tit .tit-content[data-v-08844665]{color:var(--color-text-1);font-size:16px;font-weight:700}.content-wrapper .form-label[data-v-08844665]{color:var(--color-text-2);font-size:14px}.content-wrapper .inline-form-items[data-v-08844665]{flex-direction:row;justify-content:space-between;align-items:center;gap:10px;width:100%;display:flex}.content-wrapper .inline-form-items .name[data-v-08844665],.content-wrapper .inline-form-items .url[data-v-08844665]{flex:3.5}.content-wrapper .inline-form-items .type[data-v-08844665]{flex:2}.content-wrapper .inline-form-items .operation[data-v-08844665]{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 .inline-form-items .operation[data-v-08844665]:hover{background:var(--color-bg-4)}
\ No newline at end of file
diff --git a/core/public/dist/static/css/async/8642.d9ef7c35.css b/core/public/dist/static/css/async/2786.d9ef7c35.css
similarity index 100%
rename from core/public/dist/static/css/async/8642.d9ef7c35.css
rename to core/public/dist/static/css/async/2786.d9ef7c35.css
diff --git a/core/public/dist/static/css/async/3653.6a0003cd.css b/core/public/dist/static/css/async/3653.6a0003cd.css
new file mode 100644
index 00000000..30429b19
--- /dev/null
+++ b/core/public/dist/static/css/async/3653.6a0003cd.css
@@ -0,0 +1 @@
+[data-v-494f02c4],[data-v-494f02c4]:before{box-sizing:border-box}html[data-v-494f02c4],body[data-v-494f02c4],#root[data-v-494f02c4]{width:100%;height:100%}body[data-v-494f02c4]{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-494f02c4]::-ms-reveal{display:none}a[data-v-494f02c4]{text-decoration:none}p[data-v-494f02c4],ul[data-v-494f02c4]{margin:0;padding:0}[data-v-494f02c4]::-webkit-scrollbar{width:10px;height:10px}[data-v-494f02c4]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-494f02c4]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-494f02c4]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-494f02c4]: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-494f02c4]{--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-494f02c4]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-494f02c4]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-494f02c4]{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-494f02c4]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-494f02c4]{display:none}.n-radio-group.n-radio-group--button-group[data-v-494f02c4]{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-494f02c4]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-494f02c4]{margin-left:16px}.content-wrapper[data-v-494f02c4]{width:866px;margin:0 auto;padding-top:32px}.content-wrapper .page-tit[data-v-494f02c4]{flex-direction:row;justify-content:start;align-items:center;gap:5px;margin-bottom:20px;display:flex}.content-wrapper .page-tit .back-tool[data-v-494f02c4]{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 .back-tool .back-btn[data-v-494f02c4]{font-size:18px}.content-wrapper .page-tit .tit-content[data-v-494f02c4]{color:var(--color-text-1);font-size:16px;font-weight:700}.content-wrapper .form-label[data-v-494f02c4]{color:var(--color-text-2);font-size:14px}.content-wrapper .switch-settings .switch-item[data-v-494f02c4]{flex-direction:row;justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.content-wrapper .switch-settings .switch-item .label[data-v-494f02c4]{color:var(--color-text-2);font-size:14px;font-weight:700}
\ No newline at end of file
diff --git a/core/public/dist/static/css/async/3689.1054f2ee.css b/core/public/dist/static/css/async/3689.1054f2ee.css
new file mode 100644
index 00000000..6ad890a5
--- /dev/null
+++ b/core/public/dist/static/css/async/3689.1054f2ee.css
@@ -0,0 +1 @@
+.n-layout-sider[data-v-4f7c8a78]{z-index:1010;box-shadow:0 4px 6px -1px #0000001a}.app-logo[data-v-4f7c8a78]{border-bottom:1px solid var(--color-border-1);padding:16px 24px;transition:all .3s;display:flex}.app-logo.collapse[data-v-4f7c8a78]{justify-content:center;padding:16px 0}.app-logo a[data-v-4f7c8a78]{align-items:center;gap:10px;display:flex}.app-logo .icon[data-v-4f7c8a78]{width:36px}.app-logo .app-name[data-v-4f7c8a78]{color:var(--color-text-5);font-size:19px;font-weight:700}.nav-section[data-v-4f7c8a78]{flex:1;overflow:auto}.footer-section[data-v-4f7c8a78]{border-top:1px solid var(--color-border-1);transition:all .3s}.n-menu[data-v-4f7c8a78]{--n-item-height:48px;--n-font-size:14px;padding:16px 0}.n-menu[data-v-4f7c8a78] .n-menu-item{margin-top:0;margin-bottom:8px}.n-menu[data-v-4f7c8a78] .n-menu-item:last-of-type{margin-bottom:0}.n-menu[data-v-4f7c8a78] .n-menu-item .n-menu-item-content{padding-right:24px;line-height:24px}.n-layout-header[data-v-292739d6]{z-index:1000;justify-content:space-between;align-items:center;height:48px;padding:0 20px 0 12px;display:flex;position:absolute;top:0;left:0;right:0;box-shadow:0 1px 2px #0000000d}.header-left[data-v-292739d6],.header-right[data-v-292739d6]{align-items:center;gap:8px;display:flex}.header-item[data-v-292739d6]{color:var(--color-text-4);text-align:center;font-size:14px;font-weight:600}.icon-btn[data-v-292739d6]{--n-width:42px;--n-height:48px;--n-padding:0;--n-font-size:22px;--n-text-color:var(--color-text-4);--n-ripple-color:none}
\ No newline at end of file
diff --git a/core/public/dist/static/css/async/4471.f5af09eb.css b/core/public/dist/static/css/async/4471.f5af09eb.css
new file mode 100644
index 00000000..03c1be02
--- /dev/null
+++ b/core/public/dist/static/css/async/4471.f5af09eb.css
@@ -0,0 +1 @@
+[data-v-0037a7bd],[data-v-0037a7bd]:before{box-sizing:border-box}html[data-v-0037a7bd],body[data-v-0037a7bd],#root[data-v-0037a7bd]{width:100%;height:100%}body[data-v-0037a7bd]{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-0037a7bd]::-ms-reveal{display:none}a[data-v-0037a7bd]{text-decoration:none}p[data-v-0037a7bd],ul[data-v-0037a7bd]{margin:0;padding:0}[data-v-0037a7bd]::-webkit-scrollbar{width:10px;height:10px}[data-v-0037a7bd]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-0037a7bd]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-0037a7bd]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-0037a7bd]: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-0037a7bd]{--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-0037a7bd]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-0037a7bd]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-0037a7bd]{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-0037a7bd]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-0037a7bd]{display:none}.n-radio-group.n-radio-group--button-group[data-v-0037a7bd]{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-0037a7bd]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-0037a7bd]{margin-left:16px}.content-wrapper[data-v-0037a7bd]{width:866px;margin:0 auto;padding-top:32px}.content-wrapper .page-tit[data-v-0037a7bd]{flex-direction:row;justify-content:start;align-items:center;gap:5px;margin-bottom:20px;display:flex}.content-wrapper .page-tit .back-tool[data-v-0037a7bd]{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 .back-tool .back-btn[data-v-0037a7bd]{font-size:18px}.content-wrapper .page-tit .tit-content[data-v-0037a7bd]{color:var(--color-text-1);font-size:16px;font-weight:700}.content-wrapper .form-label[data-v-0037a7bd]{color:var(--color-text-2);font-size:14px}
\ No newline at end of file
diff --git a/core/public/dist/static/css/async/5099.f0085b1b.css b/core/public/dist/static/css/async/5099.f0085b1b.css
new file mode 100644
index 00000000..59709e93
--- /dev/null
+++ b/core/public/dist/static/css/async/5099.f0085b1b.css
@@ -0,0 +1 @@
+[data-v-bb8e98d2],[data-v-bb8e98d2]:before{box-sizing:border-box}html[data-v-bb8e98d2],body[data-v-bb8e98d2],#root[data-v-bb8e98d2]{width:100%;height:100%}body[data-v-bb8e98d2]{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-bb8e98d2]::-ms-reveal{display:none}a[data-v-bb8e98d2]{text-decoration:none}p[data-v-bb8e98d2],ul[data-v-bb8e98d2]{margin:0;padding:0}[data-v-bb8e98d2]::-webkit-scrollbar{width:10px;height:10px}[data-v-bb8e98d2]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-bb8e98d2]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-bb8e98d2]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-bb8e98d2]: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-bb8e98d2]{--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-bb8e98d2]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-bb8e98d2]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-bb8e98d2]{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-bb8e98d2]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-bb8e98d2]{display:none}.n-radio-group.n-radio-group--button-group[data-v-bb8e98d2]{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-bb8e98d2]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-bb8e98d2]{margin-left:16px}.content-wrapper[data-v-bb8e98d2]{width:866px;margin:0 auto;padding-top:32px}.content-wrapper .page-tit[data-v-bb8e98d2]{flex-direction:row;justify-content:start;align-items:center;gap:5px;margin-bottom:20px;display:flex}.content-wrapper .page-tit .back-tool[data-v-bb8e98d2]{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 .back-tool .back-btn[data-v-bb8e98d2]{font-size:18px}.content-wrapper .page-tit .tit-content[data-v-bb8e98d2]{color:var(--color-text-1);font-size:16px;font-weight:700}.content-wrapper .form-label[data-v-bb8e98d2]{color:var(--color-text-2);font-size:14px}
\ No newline at end of file
diff --git a/core/public/dist/static/css/async/5436.1742fcff.css b/core/public/dist/static/css/async/5436.1742fcff.css
deleted file mode 100644
index dbee5516..00000000
--- a/core/public/dist/static/css/async/5436.1742fcff.css
+++ /dev/null
@@ -1 +0,0 @@
-.n-layout-sider[data-v-87b89b4c]{z-index:1010;box-shadow:0 4px 6px -1px #0000001a}.app-logo[data-v-87b89b4c]{border-bottom:1px solid var(--color-border-1);padding:16px 24px;transition:all .3s;display:flex}.app-logo.collapse[data-v-87b89b4c]{justify-content:center;padding:16px 0}.app-logo a[data-v-87b89b4c]{align-items:center;gap:10px;display:flex}.app-logo .icon[data-v-87b89b4c]{width:36px}.app-logo .app-name[data-v-87b89b4c]{color:var(--color-text-5);font-size:19px;font-weight:700}.nav-section[data-v-87b89b4c]{flex:1;overflow:auto}.footer-section[data-v-87b89b4c]{border-top:1px solid var(--color-border-1);transition:all .3s}.n-menu[data-v-87b89b4c]{--n-item-height:48px;--n-font-size:14px;padding:16px 0}.n-menu[data-v-87b89b4c] .n-menu-item{margin-top:0;margin-bottom:8px}.n-menu[data-v-87b89b4c] .n-menu-item:last-of-type{margin-bottom:0}.n-menu[data-v-87b89b4c] .n-menu-item .n-menu-item-content{padding-right:24px;line-height:24px}.n-layout-header[data-v-292739d6]{z-index:1000;justify-content:space-between;align-items:center;height:48px;padding:0 20px 0 12px;display:flex;position:absolute;top:0;left:0;right:0;box-shadow:0 1px 2px #0000000d}.header-left[data-v-292739d6],.header-right[data-v-292739d6]{align-items:center;gap:8px;display:flex}.header-item[data-v-292739d6]{color:var(--color-text-4);text-align:center;font-size:14px;font-weight:600}.icon-btn[data-v-292739d6]{--n-width:42px;--n-height:48px;--n-padding:0;--n-font-size:22px;--n-text-color:var(--color-text-4);--n-ripple-color:none}
\ No newline at end of file
diff --git a/core/public/dist/static/css/async/6414.b7c91be8.css b/core/public/dist/static/css/async/6414.b7c91be8.css
new file mode 100644
index 00000000..793f6796
--- /dev/null
+++ b/core/public/dist/static/css/async/6414.b7c91be8.css
@@ -0,0 +1 @@
+[data-v-037a851f],[data-v-037a851f]:before{box-sizing:border-box}html[data-v-037a851f],body[data-v-037a851f],#root[data-v-037a851f]{width:100%;height:100%}body[data-v-037a851f]{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-037a851f]::-ms-reveal{display:none}a[data-v-037a851f]{text-decoration:none}p[data-v-037a851f],ul[data-v-037a851f]{margin:0;padding:0}[data-v-037a851f]::-webkit-scrollbar{width:10px;height:10px}[data-v-037a851f]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-037a851f]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-037a851f]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-037a851f]: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-037a851f]{--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-037a851f]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-037a851f]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-037a851f]{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-037a851f]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-037a851f]{display:none}.n-radio-group.n-radio-group--button-group[data-v-037a851f]{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-037a851f]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-037a851f]{margin-left:16px}.wrapper[data-v-037a851f]{box-sizing:border-box;grid-template-rows:40px 45px 1fr;height:calc(100% - 48px);padding:24px;display:grid}.page-tit[data-v-037a851f]{flex-direction:row;justify-content:start;align-items:center;gap:15px;margin-bottom:20px;display:flex}.page-tit .back-tool[data-v-037a851f]{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-037a851f]:hover{color:var(--color-primary-3)}.page-tit .back-tool .back-btn[data-v-037a851f]{font-size:18px}.page-tit .tit-content[data-v-037a851f]{color:var(--color-text-1);font-size:18px;font-weight:700}.content-tabs[data-v-037a851f]{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-037a851f]{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-037a851f]:hover{color:var(--color-primary-1)}.content-tabs .tab-item.active[data-v-037a851f]{border-bottom:2px solid var(--color-primary-1);margin-bottom:-2px}.dynamic-content[data-v-037a851f]{box-sizing:border-box;height:100%;padding:20px}
\ No newline at end of file
diff --git a/core/public/dist/static/css/async/8756.312b1920.css b/core/public/dist/static/css/async/6440.ad51991b.css
similarity index 92%
rename from core/public/dist/static/css/async/8756.312b1920.css
rename to core/public/dist/static/css/async/6440.ad51991b.css
index 1a18fa68..c11decc6 100644
--- a/core/public/dist/static/css/async/8756.312b1920.css
+++ b/core/public/dist/static/css/async/6440.ad51991b.css
@@ -1 +1 @@
-.bt-tips[data-v-8731a1b4] li{margin-left:1.5em;list-style:outside}.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-2a776d66]{background-color:#fff;border-radius:3px;padding:16px}.domain-container .action-bar[data-v-2a776d66]{justify-content:space-between;margin-bottom:16px;display:flex}
\ No newline at end of file
+.bt-tips[data-v-8731a1b4] li{margin-left:1.5em;list-style:outside}.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-505a5a60]{background-color:#fff;border-radius:3px;padding:16px}.domain-container .action-bar[data-v-505a5a60]{justify-content:space-between;margin-bottom:16px;display:flex}
\ No newline at end of file
diff --git a/core/public/dist/static/css/async/7662.29c06d4b.css b/core/public/dist/static/css/async/7662.29c06d4b.css
new file mode 100644
index 00000000..edb230fd
--- /dev/null
+++ b/core/public/dist/static/css/async/7662.29c06d4b.css
@@ -0,0 +1 @@
+[data-v-6c7cade6],[data-v-6c7cade6]:before{box-sizing:border-box}html[data-v-6c7cade6],body[data-v-6c7cade6],#root[data-v-6c7cade6]{width:100%;height:100%}body[data-v-6c7cade6]{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-6c7cade6]::-ms-reveal{display:none}a[data-v-6c7cade6]{text-decoration:none}p[data-v-6c7cade6],ul[data-v-6c7cade6]{margin:0;padding:0}[data-v-6c7cade6]::-webkit-scrollbar{width:10px;height:10px}[data-v-6c7cade6]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-6c7cade6]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-6c7cade6]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-6c7cade6]: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-6c7cade6]{--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-6c7cade6]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-6c7cade6]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-6c7cade6]{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-6c7cade6]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-6c7cade6]{display:none}.n-radio-group.n-radio-group--button-group[data-v-6c7cade6]{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-6c7cade6]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-6c7cade6]{margin-left:16px}.content-wrapper[data-v-6c7cade6]{width:866px;margin:0 auto;padding-top:32px}.content-wrapper .page-tit[data-v-6c7cade6]{flex-direction:row;justify-content:start;align-items:center;gap:5px;margin-bottom:20px;display:flex}.content-wrapper .page-tit .back-tool[data-v-6c7cade6]{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 .back-tool .back-btn[data-v-6c7cade6]{font-size:18px}.content-wrapper .page-tit .tit-content[data-v-6c7cade6]{color:var(--color-text-1);font-size:16px;font-weight:700}.content-wrapper .form-label[data-v-6c7cade6]{color:var(--color-text-2);font-size:14px}
\ No newline at end of file
diff --git a/core/public/dist/static/css/async/7844.8223780c.css b/core/public/dist/static/css/async/7844.8223780c.css
new file mode 100644
index 00000000..05c5d682
--- /dev/null
+++ b/core/public/dist/static/css/async/7844.8223780c.css
@@ -0,0 +1 @@
+[data-v-218558b2],[data-v-218558b2]:before{box-sizing:border-box}html[data-v-218558b2],body[data-v-218558b2],#root[data-v-218558b2]{width:100%;height:100%}body[data-v-218558b2]{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-218558b2]::-ms-reveal{display:none}a[data-v-218558b2]{text-decoration:none}p[data-v-218558b2],ul[data-v-218558b2]{margin:0;padding:0}[data-v-218558b2]::-webkit-scrollbar{width:10px;height:10px}[data-v-218558b2]::-webkit-scrollbar-thumb{background:#999;border-radius:10px;box-shadow:inset 0 0 5px #0003}[data-v-218558b2]::-webkit-scrollbar-track{background:#ededed;border-radius:10px;box-shadow:inset 0 0 5px #0003}.bt-title[data-v-218558b2]{margin-bottom:20px;font-size:18px;font-weight:700}[data-v-218558b2]: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-218558b2]{--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-218558b2]{box-shadow:0 1px 20px #455a6414}button.n-button[data-v-218558b2]{-webkit-user-select:auto;user-select:auto;line-height:1.2}.n-input.password-input[data-v-218558b2]{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-218558b2]{height:100%}.n-radio-group .n-radio-group__splitor[data-v-218558b2]{display:none}.n-radio-group.n-radio-group--button-group[data-v-218558b2]{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-218558b2]{vertical-align:top;border-radius:var(--n-button-border-radius);height:30px;line-height:30px}.n-radio-group .n-radio+.n-radio[data-v-218558b2]{margin-left:16px}.content-wrapper[data-v-218558b2]{width:866px;margin:0 auto;padding-top:32px}.content-wrapper .page-tit[data-v-218558b2]{flex-direction:row;justify-content:start;align-items:center;gap:5px;margin-bottom:20px;display:flex}.content-wrapper .page-tit .back-tool[data-v-218558b2]{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 .back-tool .back-btn[data-v-218558b2]{font-size:18px}.content-wrapper .page-tit .tit-content[data-v-218558b2]{color:var(--color-text-1);font-size:16px;font-weight:700}.content-wrapper .form-label[data-v-218558b2]{color:var(--color-text-2);font-size:14px}.content-wrapper .sub-tit[data-v-218558b2]{color:var(--color-text-1)}
\ No newline at end of file
diff --git a/core/public/dist/static/css/async/5621.fd2f892d.css b/core/public/dist/static/css/async/8649.fd2f892d.css
similarity index 100%
rename from core/public/dist/static/css/async/5621.fd2f892d.css
rename to core/public/dist/static/css/async/8649.fd2f892d.css
diff --git a/core/public/dist/static/css/index.01c5c0cb.css b/core/public/dist/static/css/index.01c5c0cb.css
new file mode 100644
index 00000000..fbaafcbf
--- /dev/null
+++ b/core/public/dist/static/css/index.01c5c0cb.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-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-ci\:arrow-left-lg{--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='m3 12l5 5m-5-5l5-5m-5 5h18'/%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-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-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-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\: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\:rss-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='M3 3c9.941 0 18 8.059 18 18h-3c0-8.284-6.716-15-15-15zm0 7c6.075 0 11 4.925 11 11h-3a8 8 0 0 0-8-8zm0 7a4 4 0 0 1 4 4H3z'/%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%}.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,[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~="13"]{grid-template-rows:repeat(13,minmax(0,1fr))}[rows~="14"]{grid-template-rows:repeat(14,minmax(0,1fr))}[rows~="15"]{grid-template-rows:repeat(15,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}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.mb-12px{margin-bottom:12px}.mb-16px{margin-bottom:16px}.mb-2{margin-bottom:.5rem}.mb-20px{margin-bottom:20px}.mb-24px{margin-bottom:24px}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-8{margin-bottom:2rem}.mb-8px{margin-bottom:8px}.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-10px{margin-right:10px}.mr-12px{margin-right:12px}.mr-2{margin-right:.5rem}.mr-4px{margin-right:4px}.mt-1{margin-top:.25rem}.mt-12px{margin-top:12px}.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-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~="16"]{width:4rem;height:4rem}[size~="20"]{width:5rem;height:5rem}[size~="30"]{width:7.5rem;height:7.5rem}.h-1{height:.25rem}.h-180px{height:180px}.h-3{height:.75rem}.h-32px{height:32px}.h-34px{height:34px}.h-400px{height:400px}.h-560px{height:560px}.h-580px{height:580px}.h-600px{height:600px}.h-full{height:100%}.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-w-0{min-width:0}.w-0{width:0}.w-100\%,.w-full{width:100%}.w-100px{width:100px}.w-1200px{width:1200px}.w-120px{width:120px}.w-130px{width:130px}.w-140px{width:140px}.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-400px{width:400px}.w-40px{width:40px}.w-60px{width:60px}.w-80\%{width:80%}.w-92px{width:92px}.w-94\%{width:94%}.w-auto{width:auto}.flex{display:flex}.inline-flex{display:inline-flex}.flex-1{flex: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-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-10px{gap:10px}.gap-12px{gap:12px}.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!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-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-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-6{font-size:1.5rem}.text-7{font-size:1.75rem}.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-\#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-desc{color:var(--color-text-3)}.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-primary{color:var(--color-primary-1)}[text~="$t("]{color:var(--t\()}.font-600{font-weight:600}.font-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}.uppercase,[uppercase=""]{text-transform:uppercase}.lowercase,[lowercase=""]{text-transform:lowercase}.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{margin:0;padding:0}::-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 file
diff --git a/core/public/dist/static/css/index.129aa18d.css b/core/public/dist/static/css/index.129aa18d.css
deleted file mode 100644
index 3af70147..00000000
--- a/core/public/dist/static/css/index.129aa18d.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-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-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-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-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\: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\: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\: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%}.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,[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~="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-16px{margin-bottom:16px}.mb-2{margin-bottom:.5rem}.mb-20px{margin-bottom:20px}.mb-24px{margin-bottom:24px}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-8{margin-bottom:2rem}.mb-8px{margin-bottom:8px}.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-10px{margin-right:10px}.mr-12px{margin-right:12px}.mr-2{margin-right:.5rem}.mr-4px{margin-right:4px}.mt-1{margin-top:.25rem}.mt-12px{margin-top:12px}.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-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~="16"]{width:4rem;height:4rem}[size~="20"]{width:5rem;height:5rem}[size~="30"]{width:7.5rem;height:7.5rem}.h-1{height:.25rem}.h-180px{height:180px}.h-3{height:.75rem}.h-32px{height:32px}.h-400px{height:400px}.h-560px{height:560px}.h-580px{height:580px}.h-600px{height:600px}.h-full{height:100%}.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-w-0{min-width:0}.w-0{width:0}.w-100px{width:100px}.w-1200px{width:1200px}.w-120px{width:120px}.w-130px{width:130px}.w-140px{width:140px}.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-400px{width:400px}.w-40px{width:40px}.w-60px{width:60px}.w-80\%{width:80%}.w-92px{width:92px}.w-94\%{width:94%}.w-auto{width:auto}.w-full{width:100%}.flex{display:flex}.inline-flex{display:inline-flex}.flex-1{flex: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-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-10px{gap:10px}.gap-12px{gap:12px}.gap-16px{gap:16px}.gap-20px{gap:20px}.gap-4{gap:1rem}.gap-4px{gap:4px}.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!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-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-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-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-\#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-desc{color:var(--color-text-3)}.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-gray-700{--un-text-opacity:1;color:rgb(55 65 81/var(--un-text-opacity))}.text-primary{color:var(--color-primary-1)}[text~="$t("]{color:var(--t\()}.font-600{font-weight:600}.font-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}.uppercase,[uppercase=""]{text-transform:uppercase}.lowercase,[lowercase=""]{text-transform:lowercase}.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{margin:0;padding:0}::-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 file
diff --git a/core/public/dist/static/js/6746.b3aeaec4.js b/core/public/dist/static/js/2051.a6d33557.js
similarity index 67%
rename from core/public/dist/static/js/6746.b3aeaec4.js
rename to core/public/dist/static/js/2051.a6d33557.js
index 65006008..4fb68ca6 100644
--- a/core/public/dist/static/js/6746.b3aeaec4.js
+++ b/core/public/dist/static/js/2051.a6d33557.js
@@ -1,9 +1,9 @@
-/*! For license information please see 6746.b3aeaec4.js.LICENSE.txt */
-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["6746"],{64148:function(e,t,o){o.d(t,{O:()=>i});var r=o(58786);let n="undefined"!=typeof document;function i(){if(n)return;let e=(0,r.f3)("@css-render/vue3-ssr",null);if(null!==e)return{adapter:(t,o)=>(function(e,t,o){let{styles:r,ids:n}=o;!n.has(e)&&null!==r&&(n.add(e),r.push(`<style cssr-id="${e}">
+/*! For license information please see 2051.a6d33557.js.LICENSE.txt */
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["2051"],{64148:function(e,t,o){o.d(t,{O:()=>i});var r=o(58786);let n="undefined"!=typeof document;function i(){if(n)return;let e=(0,r.f3)("@css-render/vue3-ssr",null);if(null!==e)return{adapter:(t,o)=>(function(e,t,o){let{styles:r,ids:n}=o;!n.has(e)&&null!==r&&(n.add(e),r.push(`<style cssr-id="${e}">
${t}
</style>`))})(t,o,e),context:e}}},49257:function(e,t,o){o.d(t,{Z:()=>r});let r=function(e){for(var t,o=0,r=0,n=e.length;n>=4;++r,n-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,o=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&o)*0x5bd1e995+((o>>>16)*59797<<16);switch(n){case 3:o^=(255&e.charCodeAt(r+2))<<16;case 2:o^=(255&e.charCodeAt(r+1))<<8;case 1:o^=255&e.charCodeAt(r),o=(65535&o)*0x5bd1e995+((o>>>16)*59797<<16)}return o^=o>>>13,(((o=(65535&o)*0x5bd1e995+((o>>>16)*59797<<16))^o>>>15)>>>0).toString(36)}},60308:function(){},76:function(){},80673:function(e,t,o){o.d(t,{j:()=>h});let r=/\s*,(?![^(]*\))\s*/g,n=/\s+/g;var i=o(51754);let a=/[A-Z]/g;function l(e){return e.replace(a,e=>"-"+e.toLowerCase())}function s(e,t,o,r){if(!t)return"";let n="function"==typeof t?t({context:o.context,props:r}):t;if(!n)return"";if("string"==typeof n)return`${e} {
${n}
-}`;let i=Object.keys(n);if(0===i.length)return o.config.keepEmptyBlock?e+" {\n}":"";let a=e?[e+" {"]:[];return i.forEach(e=>{let t=n[e];if("raw"===e)return void a.push("\n"+t+"\n");e=l(e),null!=t&&a.push(` ${e}${function(e,t=" "){return"object"==typeof e&&null!==e?" {\n"+Object.entries(e).map(e=>t+` ${l(e[0])}: ${e[1]};`).join("\n")+"\n"+t+"}":`: ${e};`}(t)}`)}),e&&a.push("}"),a.join("\n")}var c=o(49257);"undefined"!=typeof window&&(window.__cssrContext={});function u(e){return function(e,t,o){let a=[];return!function e(t,o,a,l,c){let u,d=t.$,f="";if(d&&"string"!=typeof d)if("function"==typeof d){let e=d({context:l.context,props:c});(0,i.Yo)(e)?f=e:o.push(e)}else if(d.before&&d.before(l.context),d.$&&"string"!=typeof d.$){if(d.$){let e=d.$({context:l.context,props:c});(0,i.Yo)(e)?f=e:o.push(e)}}else(0,i.Yo)(d.$)?f=d.$:o.push(d.$);else(0,i.Yo)(d)?f=d:o.push(d);let p=(u=[""],o.forEach(e=>{(e=e&&e.trim())&&(u=e.includes("&")?function(e,t){let o=[];return t.split(r).forEach(t=>{let r=function(e){let t=0;for(let o=0;o<e.length;++o)"&"===e[o]&&++t;return t}(t);if(!r)return void e.forEach(e=>{o.push((e&&e+" ")+t)});if(1===r)return void e.forEach(e=>{o.push(t.replace("&",e))});let n=[t];for(;r--;){let t=[];n.forEach(o=>{e.forEach(e=>{t.push(o.replace("&",e))})}),n=t}n.forEach(e=>o.push(e))}),o}(u,e):function(e,t){let o=[];return t.split(r).forEach(t=>{e.forEach(e=>{o.push((e&&e+" ")+t)})}),o}(u,e))}),u.join(", ").replace(n," ")),h=s(p,t.props,l,c);f?a.push(`${f} {`):h.length&&a.push(h),t.children&&function e(t,o,r){t&&t.forEach(t=>{if(Array.isArray(t))e(t,o,r);else if("function"==typeof t){let n=t(o);Array.isArray(n)?e(n,o,r):n&&r(n)}else t&&r(t)})}(t.children,{context:l.context,props:c},t=>{if("string"==typeof t){let e=s(p,{raw:t},l,c);a.push(e)}else e(t,o,a,l,c)}),o.pop(),f&&a.push("}"),d&&d.after&&d.after(l.context)}(e,[],a,t,o),a.join("\n\n")}(this,this.instance,e)}function d(e={}){let{id:t,ssr:o,props:r,head:n=!1,force:a=!1,anchorMetaName:l,parent:s}=e;return function(e,t,o,r,n,a,l,s,u){var d,f;let p;if(void 0===o&&(p=t.render(r),o=(0,c.Z)(p)),u)return void u.adapter(o,null!=p?p:t.render(r));void 0===s&&(s=document.head);let h=(0,i.$F)(o,s);if(null!==h&&!a)return h;let m=null!=h?h:(0,i.az)(o);if(void 0===p&&(p=t.render(r)),m.textContent=p,null!==h)return h;if(l){let e=s.querySelector(`meta[name="${l}"]`);if(e)return s.insertBefore(m,e),d=t.els,d.push(m),m}return n?s.insertBefore(m,s.querySelector("style, link")):s.appendChild(m),f=t.els,f.push(m),m}(this.instance,this,t,r,n,a,l,s,o)}function f(e={}){let{id:t,parent:o}=e;!function(e,t,o,r){let{els:n}=t;if(void 0===o)n.forEach(i.bX),t.els=[];else{let e=(0,i.$F)(o,r);e&&n.includes(e)&&((0,i.bX)(e),t.els=n.filter(t=>t!==e))}}(this.instance,this,t,o)}let p=function(e,t,o,r){return{instance:e,$:t,props:o,children:r,els:[],render:u,mount:d,unmount:f}};function h(e={}){let t={c:(...e)=>(function(e,t,o,r){return Array.isArray(t)?p(e,{$:null},null,t):Array.isArray(o)?p(e,t,null,o):Array.isArray(r)?p(e,t,o,r):p(e,t,o,null)})(t,...e),use:(e,...o)=>e.install(t,...o),find:i.$F,context:{},config:e};return t}},51754:function(e,t,o){function r(e){if(!e)return;let t=e.parentElement;t&&t.removeChild(e)}function n(e,t){return(null!=t?t:document.head).querySelector(`style[cssr-id="${e}"]`)}function i(e){let t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function a(e){return!!e&&/^\s*@(s|m)/.test(e)}o.d(t,{$F:()=>n,Yo:()=>a,az:()=>i,bX:()=>r})},82518:function(e,t,o){function r(e){return e.composedPath()[0]}o.d(t,{S:()=>l,on:()=>a});let n={mousemoveoutside:new WeakMap,clickoutside:new WeakMap};function i(e,t,o){let i=n[e],a=i.get(t);void 0===a&&i.set(t,a=new WeakMap);let l=a.get(o);return void 0===l&&a.set(o,l=function(e,t,o){if("mousemoveoutside"===e){let e=e=>{t.contains(r(e))||o(e)};return{mousemove:e,touchstart:e}}if("clickoutside"===e){let e=!1,n=o=>{e=!t.contains(r(o))},i=n=>{e&&(t.contains(r(n))||o(n))};return{mousedown:n,mouseup:i,touchstart:n,touchend:i}}return console.error(`[evtd/create-trap-handler]: name \`${e}\` is invalid. This could be a bug of evtd.`),{}}(e,t,o)),l}let{on:a,off:l}=function(){if("undefined"==typeof window)return{on:()=>{},off:()=>{}};let e=new WeakMap,t=new WeakMap;function o(){e.set(this,!0)}function n(){e.set(this,!0),t.set(this,!0)}function s(e,t,o){let r=e[t];return e[t]=function(){return o.apply(e,arguments),r.apply(e,arguments)},e}function c(e,t){e[t]=Event.prototype[t]}let u=new WeakMap,d=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function f(){var e;return null!=(e=u.get(this))?e:null}function p(e,t){void 0!==d&&Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:null!=t?t:d.get})}let h={bubble:{},capture:{}},m={},g=function(){let i=function(i){let{type:a,eventPhase:l,bubbles:d}=i,m=r(i);if(2===l)return;let g=1===l?"capture":"bubble",b=m,x=[];for(;null===b&&(b=window),x.push(b),b!==window;)b=b.parentNode||null;let y=h.capture[a],C=h.bubble[a];if(s(i,"stopPropagation",o),s(i,"stopImmediatePropagation",n),p(i,f),"capture"===g){if(void 0===y)return;for(let o=x.length-1;o>=0&&!e.has(i);--o){let e=x[o],r=y.get(e);if(void 0!==r)for(let o of(u.set(i,e),r)){if(t.has(i))break;o(i)}if(0===o&&!d&&void 0!==C){let o=C.get(e);if(void 0!==o)for(let e of o){if(t.has(i))break;e(i)}}}}else if("bubble"===g){if(void 0===C)return;for(let o=0;o<x.length&&!e.has(i);++o){let e=x[o],r=C.get(e);if(void 0!==r)for(let o of(u.set(i,e),r)){if(t.has(i))break;o(i)}}}c(i,"stopPropagation"),c(i,"stopImmediatePropagation"),p(i)};return i.displayName="evtdUnifiedHandler",i}(),b=function(){let e=function(e){let{type:t,eventPhase:o}=e;if(2!==o)return;let r=m[t];void 0!==r&&r.forEach(t=>t(e))};return e.displayName="evtdUnifiedWindowEventHandler",e}();function x(e,t){let o=h[e];return void 0===o[t]&&(o[t]=new Map,window.addEventListener(t,g,"capture"===e)),o[t]}function y(e,t){let o=e.get(t);return void 0===o&&e.set(t,o=new Set),o}function C(e,t,o,r){if(function(e,t,o,r){if("mousemoveoutside"===e||"clickoutside"===e){let n=i(e,t,o);return Object.keys(n).forEach(e=>{l(e,document,n[e],r)}),!0}return!1}(e,t,o,r))return;let n=!0===r||"object"==typeof r&&!0===r.capture,a=n?"capture":"bubble",s=x(a,e),c=y(s,t);if(t===window&&!function(e,t,o,r){let n=h[t][o];if(void 0!==n){let t=n.get(e);if(void 0!==t&&t.has(r))return!0}return!1}(t,n?"bubble":"capture",e,o)&&function(e,t){let o=m[e];return!!(void 0!==o&&o.has(t))}(e,o)){let t=m[e];t.delete(o),0===t.size&&(window.removeEventListener(e,b),m[e]=void 0)}c.has(o)&&c.delete(o),0===c.size&&s.delete(t),0===s.size&&(window.removeEventListener(e,g,"capture"===a),h[a][e]=void 0)}return{on:function(e,t,o,r){let n;if(n="object"==typeof r&&!0===r.once?i=>{C(e,t,n,r),o(i)}:o,function(e,t,o,r){if("mousemoveoutside"===e||"clickoutside"===e){let n=i(e,t,o);return Object.keys(n).forEach(e=>{a(e,document,n[e],r)}),!0}return!1}(e,t,n,r))return;let l=y(x(!0===r||"object"==typeof r&&!0===r.capture?"capture":"bubble",e),t);if(l.has(n)||l.add(n),t===window){let t=(void 0===m[e]&&(m[e]=new Set,window.addEventListener(e,b)),m[e]);t.has(n)||t.add(n)}},off:C}}()},73023:function(e,t,o){o.d(t,{Z:()=>S});var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var o=-1;return e.some(function(e,r){return e[0]===t&&(o=r,!0)}),o}function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var o=e(this.__entries__,t),r=this.__entries__[o];return r&&r[1]},t.prototype.set=function(t,o){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=o:this.__entries__.push([t,o])},t.prototype.delete=function(t){var o=this.__entries__,r=e(o,t);~r&&o.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var o=0,r=this.__entries__;o<r.length;o++){var n=r[o];e.call(t,n[1],n[0])}},t}(),n="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==o.g&&o.g.Math===Math?o.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},l=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var o=!1,r=!1,n=0;function i(){o&&(o=!1,e()),r&&s()}function l(){a(i)}function s(){var e=Date.now();if(o){if(e-n<2)return;r=!0}else o=!0,r=!1,setTimeout(l,20);n=e}return s}(this.refresh.bind(this),0)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,o=t.indexOf(e);~o&&t.splice(o,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,o=void 0===t?"":t;l.some(function(e){return!!~o.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var o=0,r=Object.keys(t);o<r.length;o++){var n=r[o];Object.defineProperty(e,n,{value:t[n],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},f=g(0,0,0,0);function p(e){return parseFloat(e)||0}function h(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];return t.reduce(function(t,o){return t+p(e["border-"+o+"-width"])},0)}var m="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function g(e,t,o,r){return{x:e,y:t,width:o,height:r}}var b=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=function(e){if(!n)return f;if(m(e)){var t;return g(0,0,(t=e.getBBox()).width,t.height)}return function(e){var t,o=e.clientWidth,r=e.clientHeight;if(!o&&!r)return f;var n=d(e).getComputedStyle(e),i=function(e){for(var t={},o=0,r=["top","right","bottom","left"];o<r.length;o++){var n=r[o],i=e["padding-"+n];t[n]=p(i)}return t}(n),a=i.left+i.right,l=i.top+i.bottom,s=p(n.width),c=p(n.height);if("border-box"===n.boxSizing&&(Math.round(s+a)!==o&&(s-=h(n,"left","right")+a),Math.round(c+l)!==r&&(c-=h(n,"top","bottom")+l)),(t=e)!==d(t).document.documentElement){var u=Math.round(s+a)-o,m=Math.round(c+l)-r;1!==Math.abs(u)&&(s-=u),1!==Math.abs(m)&&(c-=m)}return g(i.left,i.top,s,c)}(e)}(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),x=function(e,t){var o,r,n,i,a,l=(o=t.x,r=t.y,n=t.width,i=t.height,u(a=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:o,y:r,width:n,height:i,top:r,right:o+n,bottom:i+r,left:o}),a);u(this,{target:e,contentRect:l})},y=function(){function e(e,t,o){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=o}return e.prototype.observe=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new x(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),C="undefined"!=typeof WeakMap?new WeakMap:new r,w=function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var o=new y(t,c.getInstance(),this);C.set(this,o)};["observe","unobserve","disconnect"].forEach(function(e){w.prototype[e]=function(){var t;return(t=C.get(this))[e].apply(t,arguments)}});let S=void 0!==i.ResizeObserver?i.ResizeObserver:w},98965:function(e,t,o){function r(e,t,o){let r=(t/=100)*Math.min(o/=100,1-o)+o;return[e,r?(2-2*o/r)*100:0,100*r]}function n(e,t,o){let r=(o/=100)-o*(t/=100)/2,n=Math.min(r,1-r);return[e,n?(o-r)/n*100:0,100*r]}function i(e,t,o){t/=100,o/=100;let r=(r,n=(r+e/60)%6)=>o-o*t*Math.max(Math.min(n,4-n,1),0);return[255*r(5),255*r(3),255*r(1)]}function a(e,t,o){let r=Math.max(e/=255,t/=255,o/=255),n=r-Math.min(e,t,o),i=n&&(r==e?(t-o)/n:r==t?2+(o-e)/n:4+(e-t)/n);return[60*(i<0?i+6:i),r&&n/r*100,100*r]}function l(e,t,o){let r=Math.max(e/=255,t/=255,o/=255),n=r-Math.min(e,t,o),i=1-Math.abs(r+r-n-1),a=n&&(r==e?(t-o)/n:r==t?2+(o-e)/n:4+(e-t)/n);return[60*(a<0?a+6:a),i?n/i*100:0,(r+r-n)*50]}function s(e,t,o){let r=(t/=100)*Math.min(o/=100,1-o),n=(t,n=(t+e/30)%12)=>o-r*Math.max(Math.min(n-3,9-n,1),-1);return[255*n(0),255*n(8),255*n(4)]}o.d(t,{DM:()=>a,EV:()=>r,XG:()=>i,XL:()=>l,pL:()=>n,wX:()=>s})},19595:function(e,t,o){o.d(t,{ap:()=>_,XA:()=>N,nE:()=>H,e3:()=>A,zX:()=>$,Jn:()=>S,h$:()=>P,DU:()=>D,f4:()=>B,wW:()=>z,U8:()=>L,zv:()=>Z,tn:()=>F,m4:()=>E});let r={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#0FF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000",blanchedalmond:"#FFEBCD",blue:"#00F",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#0FF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",darkgreen:"#006400",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#F0F",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#0F0",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#F0F",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#F00",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFF",whitesmoke:"#F5F5F5",yellow:"#FF0",yellowgreen:"#9ACD32",transparent:"#0000"};var n=o(98965);let i="^\\s*",a="\\s*$",l="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))%\\s*",s="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",c="([0-9A-Fa-f])",u="([0-9A-Fa-f]{2})",d=RegExp(`${i}hsl\\s*\\(${s},${l},${l}\\)${a}`),f=RegExp(`${i}hsv\\s*\\(${s},${l},${l}\\)${a}`),p=RegExp(`${i}hsla\\s*\\(${s},${l},${l},${s}\\)${a}`),h=RegExp(`${i}hsva\\s*\\(${s},${l},${l},${s}\\)${a}`),m=RegExp(`${i}rgb\\s*\\(${s},${s},${s}\\)${a}`),g=RegExp(`${i}rgba\\s*\\(${s},${s},${s},${s}\\)${a}`),b=RegExp(`${i}#${c}${c}${c}${a}`),x=RegExp(`${i}#${u}${u}${u}${a}`),y=RegExp(`${i}#${c}${c}${c}${c}${a}`),C=RegExp(`${i}#${u}${u}${u}${u}${a}`);function w(e){return parseInt(e,16)}function S(e){try{let t;if(t=p.exec(e))return[M(t[1]),I(t[5]),I(t[9]),k(t[13])];if(t=d.exec(e))return[M(t[1]),I(t[5]),I(t[9]),1];throw Error(`[seemly/hsla]: Invalid color value ${e}.`)}catch(e){throw e}}function _(e){try{let t;if(t=h.exec(e))return[M(t[1]),I(t[5]),I(t[9]),k(t[13])];if(t=f.exec(e))return[M(t[1]),I(t[5]),I(t[9]),1];throw Error(`[seemly/hsva]: Invalid color value ${e}.`)}catch(e){throw e}}function E(e){try{let t;if(t=x.exec(e))return[w(t[1]),w(t[2]),w(t[3]),1];if(t=m.exec(e))return[O(t[1]),O(t[5]),O(t[9]),1];if(t=g.exec(e))return[O(t[1]),O(t[5]),O(t[9]),k(t[13])];else if(t=b.exec(e))return[w(t[1]+t[1]),w(t[2]+t[2]),w(t[3]+t[3]),1];else if(t=C.exec(e))return[w(t[1]),w(t[2]),w(t[3]),k(w(t[4])/255)];else if(t=y.exec(e))return[w(t[1]+t[1]),w(t[2]+t[2]),w(t[3]+t[3]),k(w(t[4]+t[4])/255)];else if(e in r)return E(r[e]);else if(d.test(e)||p.test(e)){let[t,o,r,i]=S(e);return[...(0,n.wX)(t,o,r),i]}else if(f.test(e)||h.test(e)){let[t,o,r,i]=_(e);return[...(0,n.XG)(t,o,r),i]}throw Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(e){throw e}}function T(e,t,o,r){return`rgba(${O(e)}, ${O(t)}, ${O(o)}, ${r>1?1:r<0?0:r})`}function P(e,t){var o,r,n;Array.isArray(e)||(e=E(e)),Array.isArray(t)||(t=E(t));let i=e[3],a=t[3],l=k(i+a-i*a);return T((o=e[0],O((o*i*(1-a)+t[0]*a)/l)),(r=e[1],O((r*i*(1-a)+t[1]*a)/l)),(n=e[2],O((n*i*(1-a)+t[2]*a)/l)),l)}function $(e,t){let[o,r,n,i=1]=Array.isArray(e)?e:E(e);return"number"==typeof t.alpha?T(o,r,n,t.alpha):T(o,r,n,i)}function F(e,t){let[o,r,n,i=1]=Array.isArray(e)?e:E(e),{lightness:a=1,alpha:l=1}=t;return A([o*a,r*a,n*a,i*l])}function k(e){let t=Math.round(100*Number(e))/100;return t>1?1:t<0?0:t}function M(e){let t=Math.round(Number(e));return t>=360||t<0?0:t}function O(e){let t=Math.round(Number(e));return t>255?255:t<0?0:t}function I(e){let t=Math.round(Number(e));return t>100?100:t<0?0:t}function L(e){let[t,o,r]=Array.isArray(e)?e:E(e);return`rgb(${O(t)}, ${O(o)}, ${O(r)})`}function A(e){let[t,o,r]=e;return 3 in e?`rgba(${O(t)}, ${O(o)}, ${O(r)}, ${k(e[3])})`:`rgba(${O(t)}, ${O(o)}, ${O(r)}, 1)`}function z(e){return`hsv(${M(e[0])}, ${I(e[1])}%, ${I(e[2])}%)`}function H(e){let[t,o,r]=e;return 3 in e?`hsva(${M(t)}, ${I(o)}%, ${I(r)}%, ${k(e[3])})`:`hsva(${M(t)}, ${I(o)}%, ${I(r)}%, 1)`}function D(e){return`hsl(${M(e[0])}, ${I(e[1])}%, ${I(e[2])}%)`}function B(e){let[t,o,r]=e;return 3 in e?`hsla(${M(t)}, ${I(o)}%, ${I(r)}%, ${k(e[3])})`:`hsla(${M(t)}, ${I(o)}%, ${I(r)}%, 1)`}function N(e){if("string"==typeof e){let t;if(t=x.exec(e))return`${t[0]}FF`;if(t=C.exec(e))return t[0];if(t=b.exec(e))return`#${t[1]}${t[1]}${t[2]}${t[2]}${t[3]}${t[3]}FF`;else if(t=y.exec(e))return`#${t[1]}${t[1]}${t[2]}${t[2]}${t[3]}${t[3]}${t[4]}${t[4]}`;throw Error(`[seemly/toHexString]: Invalid hex value ${e}.`)}return`#${e.slice(0,3).map(e=>O(e).toString(16).toUpperCase().padStart(2,"0")).join("")}`+(3===e.length?"FF":O(255*e[3]).toString(16).padStart(2,"0").toUpperCase())}function Z(e){if("string"==typeof e){let t;if(t=x.exec(e))return t[0];if(t=C.exec(e))return t[0].slice(0,7);if(t=b.exec(e)||y.exec(e))return`#${t[1]}${t[1]}${t[2]}${t[2]}${t[3]}${t[3]}`;throw Error(`[seemly/toHexString]: Invalid hex value ${e}.`)}return`#${e.slice(0,3).map(e=>O(e).toString(16).toUpperCase().padStart(2,"0")).join("")}`}},65083:function(e,t,o){function r(e){return"string"==typeof e?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function n(e){if(null!=e)return"number"==typeof e?`${e}px`:e.endsWith("px")?e:`${e}px`}function i(e,t){let o=e.trim().split(/\s+/g),r={top:o[0]};switch(o.length){case 1:r.right=o[0],r.bottom=o[0],r.left=o[0];break;case 2:r.right=o[1],r.left=o[1],r.bottom=o[0];break;case 3:r.right=o[1],r.bottom=o[2],r.left=o[1];break;case 4:r.right=o[1],r.bottom=o[2],r.left=o[3];break;default:throw Error("[seemly/getMargin]:"+e+" is not a valid value.")}return void 0===t?r:r[t]}function a(e,t){let[o,r]=e.split(" ");return t?"row"===t?o:r:{row:o,col:r||o}}o.d(t,{BL:()=>n,fQ:()=>r,mH:()=>i,tQ:()=>i,yU:()=>a})},97931:function(e,t,o){o.d(t,{p:()=>r});function r(e){return e.composedPath()[0]||null}},17102:function(e,t,o){function r(e=8){return Math.random().toString(16).slice(2,2+e)}function n(e,t){let o=[];for(let r=0;r<e;++r)o.push(t);return o}o.d(t,{Mc:()=>r,rx:()=>n})},34649:function(e,t,o){o.d(t,{Z:()=>i});var r=o(82518);let n="@@coContext",i={mounted(e,{value:t,modifiers:o}){e[n]={handler:void 0},"function"==typeof t&&(e[n].handler=t,(0,r.on)("clickoutside",e,t,{capture:o.capture}))},updated(e,{value:t,modifiers:o}){let i=e[n];"function"==typeof t?i.handler?i.handler!==t&&((0,r.S)("clickoutside",e,i.handler,{capture:o.capture}),i.handler=t,(0,r.on)("clickoutside",e,t,{capture:o.capture})):(e[n].handler=t,(0,r.on)("clickoutside",e,t,{capture:o.capture})):i.handler&&((0,r.S)("clickoutside",e,i.handler,{capture:o.capture}),i.handler=void 0)},unmounted(e,{modifiers:t}){let{handler:o}=e[n];o&&(0,r.S)("clickoutside",e,o,{capture:t.capture}),e[n].handler=void 0}}},71465:function(e,t,o){o.d(t,{Z:()=>i});let r=new class{constructor(){this.elementZIndex=new Map,this.nextZIndex=2e3}get elementCount(){return this.elementZIndex.size}ensureZIndex(e,t){let{elementZIndex:o}=this;if(void 0!==t){e.style.zIndex=`${t}`,o.delete(e);return}let{nextZIndex:r}=this;o.has(e)&&o.get(e)+1===this.nextZIndex||(e.style.zIndex=`${r}`,o.set(e,r),this.nextZIndex=r+1,this.squashState())}unregister(e,t){let{elementZIndex:o}=this;o.has(e)?o.delete(e):void 0===t&&console.error("[vdirs/z-index-manager/unregister-element]: Element not found when unregistering."),this.squashState()}squashState(){let{elementCount:e}=this;e||(this.nextZIndex=2e3),this.nextZIndex-e>2500&&this.rearrange()}rearrange(){let e=Array.from(this.elementZIndex.entries());e.sort((e,t)=>e[1]-t[1]),this.nextZIndex=2e3,e.forEach(e=>{let t=e[0],o=this.nextZIndex++;`${o}`!==t.style.zIndex&&(t.style.zIndex=`${o}`)})}},n="@@ziContext",i={mounted(e,t){let{value:o={}}=t,{zIndex:i,enabled:a}=o;e[n]={enabled:!!a,initialized:!1},a&&(r.ensureZIndex(e,i),e[n].initialized=!0)},updated(e,t){let{value:o={}}=t,{zIndex:i,enabled:a}=o,l=e[n].enabled;a&&!l&&(r.ensureZIndex(e,i),e[n].initialized=!0),e[n].enabled=!!a},unmounted(e,t){if(!e[n].initialized)return;let{value:o={}}=t,{zIndex:i}=o;r.unregister(e,i)}}},23967:function(e,t,o){o.d(t,{Z:()=>n});var r=o(58786);function n(){let e=(0,r.iH)(!1);return(0,r.bv)(()=>{e.value=!0}),(0,r.OT)(e)}},6306:function(e,t,o){o.d(t,{Z:()=>u});var r=o(58786),n=o(82518),i=o(86223);let a=(0,r.iH)(null);function l(e){if(e.clientX>0||e.clientY>0)a.value={x:e.clientX,y:e.clientY};else{let{target:t}=e;if(t instanceof Element){let{left:e,top:o,width:r,height:n}=t.getBoundingClientRect();e>0||o>0?a.value={x:e+r/2,y:o+n/2}:a.value={x:0,y:0}}else a.value=null}}let s=0,c=!0;function u(){if(!i.j)return(0,r.OT)((0,r.iH)(null));0===s&&(0,n.on)("click",document,l,!0);let e=()=>{s+=1};return c&&(c=(0,i.N)())?((0,r.wF)(e),(0,r.Jd)(()=>{0==(s-=1)&&(0,n.S)("click",document,l,!0)})):e(),(0,r.OT)(a)}},24786:function(e,t,o){o.d(t,{Z:()=>u});var r=o(58786),n=o(82518),i=o(86223);let a=(0,r.iH)(void 0),l=0;function s(){a.value=Date.now()}let c=!0;function u(e){if(!i.j)return(0,r.OT)((0,r.iH)(!1));let t=(0,r.iH)(!1),o=null;function a(){null!==o&&window.clearTimeout(o)}function u(){a(),t.value=!0,o=window.setTimeout(()=>{t.value=!1},e)}0===l&&(0,n.on)("click",window,s,!0);let d=()=>{l+=1,(0,n.on)("click",window,u,!0)};return c&&(c=(0,i.N)())?((0,r.wF)(d),(0,r.Jd)(()=>{0==(l-=1)&&(0,n.S)("click",window,s,!0),(0,n.S)("click",window,u,!0),a()})):d(),(0,r.OT)(t)}},7740:function(e,t,o){o.d(t,{Z:()=>n});var r=o(58786);function n(e){let t=(0,r.iH)(!!e.value);if(t.value)return(0,r.OT)(t);let o=(0,r.YP)(e,e=>{e&&(t.value=!0,o())});return(0,r.OT)(t)}},61691:function(e,t,o){o.d(t,{Z:()=>n});var r=o(58786);let n=function(e){let t=(0,r.Fl)(e),o=(0,r.iH)(t.value);return((0,r.YP)(t,e=>{o.value=e}),"function"==typeof e)?o:{__v_isRef:!0,get value(){return o.value},set value(v){e.set(v)}}}},86223:function(e,t,o){o.d(t,{N:()=>n,j:()=>i});var r=o(58786);function n(){return null!==(0,r.FN)()}let i="undefined"!=typeof window},44337:function(e,t,o){o.d(t,{i:()=>d});var r=o(58786),n=o(17102),i=o(97931),a=o(82518);function l(e){return e instanceof HTMLElement}function s(e){if(!function(e){if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type&&"file"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}(e))return!1;try{e.focus({preventScroll:!0})}catch(e){}return document.activeElement===e}function c(e){return"string"==typeof e?document.querySelector(e):e()}let u=[],d=(0,r.aZ)({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){let t=(0,n.Mc)(),o=(0,r.iH)(null),d=(0,r.iH)(null),f=!1,p=!1,h="undefined"==typeof document?null:document.activeElement;function m(){return u[u.length-1]===t}function g(t){var o;"Escape"===t.code&&m()&&(null==(o=e.onEsc)||o.call(e,t))}function b(e){if(!p&&m()){let t=x();null===t||t.contains((0,i.p)(e))||C("first")}}function x(){let e=o.value;if(null===e)return null;let t=e;for(;!(null===(t=t.nextSibling)||t instanceof Element&&"DIV"===t.tagName););return t}function y(){var o;if(e.disabled||(document.removeEventListener("focus",b,!0),u=u.filter(e=>e!==t),m()))return;let{finalFocusTo:r}=e;void 0!==r?null==(o=c(r))||o.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&h instanceof HTMLElement&&(p=!0,h.focus({preventScroll:!0}),p=!1)}function C(t){if(m()&&e.active){let e=o.value,r=d.value;if(null!==e&&null!==r){let o=x();if(null==o||o===r){p=!0,e.focus({preventScroll:!0}),p=!1;return}p=!0;let n="first"===t?function e(t){for(let o=0;o<t.childNodes.length;o++){let r=t.childNodes[o];if(l(r)&&(s(r)||e(r)))return!0}return!1}(o):function e(t){for(let o=t.childNodes.length-1;o>=0;o--){let r=t.childNodes[o];if(l(r)&&(s(r)||e(r)))return!0}return!1}(o);p=!1,n||(p=!0,e.focus({preventScroll:!0}),p=!1)}}}return(0,r.bv)(()=>{(0,r.YP)(()=>e.active,o=>{o?(function(){var o;if(!e.disabled){if(u.push(t),e.autoFocus){let{initialFocusTo:t}=e;void 0===t?C("first"):null==(o=c(t))||o.focus({preventScroll:!0})}f=!0,document.addEventListener("focus",b,!0)}}(),(0,a.on)("keydown",document,g)):((0,a.S)("keydown",document,g),f&&y())},{immediate:!0})}),(0,r.Jd)(()=>{(0,a.S)("keydown",document,g),f&&y()}),{focusableStartRef:o,focusableEndRef:d,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:function(e){if(p)return;let t=x();null!==t&&(null!==e.relatedTarget&&t.contains(e.relatedTarget)?C("last"):C("first"))},handleEndFocus:function(e){p||(null!==e.relatedTarget&&e.relatedTarget===o.value?C("last"):C("first"))}}},render(){let{default:e}=this.$slots;if(void 0===e)return null;if(this.disabled)return e();let{active:t,focusableStyle:o}=this;return(0,r.h)(r.HY,null,[(0,r.h)("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:o,onFocus:this.handleStartFocus}),e(),(0,r.h)("div",{"aria-hidden":"true",style:o,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}})},60794:function(e,t,o){o.d(t,{Z:()=>a});var r=o(58786),n=o(7740),i=o(97355);let a=(0,r.aZ)({name:"LazyTeleport",props:{to:{type:[String,Object],default:void 0},disabled:Boolean,show:{type:Boolean,required:!0}},setup:e=>({showTeleport:(0,n.Z)((0,r.Vh)(e,"show")),mergedTo:(0,r.Fl)(()=>{let{to:t}=e;return null!=t?t:"body"})}),render(){return this.showTeleport?this.disabled?(0,i.z9)("lazy-teleport",this.$slots):(0,r.h)(r.lR,{disabled:this.disabled,to:this.mergedTo},(0,i.z9)("lazy-teleport",this.$slots)):null}})},70020:function(e,t,o){o.d(t,{Z:()=>a});var r=o(58786),n=o(33949);function i(e,t){console.error(`[vueuc/${e}]: ${t}`)}let a=(0,r.aZ)({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1,o=(0,r.FN)().proxy;function a(t){let{onResize:o}=e;void 0!==o&&o(t)}(0,r.bv)(()=>{let e=o.$el;return void 0===e?void i("resize-observer","$el does not exist."):e.nextElementSibling!==e.nextSibling&&3===e.nodeType&&""!==e.nodeValue?void i("resize-observer","$el can not be observed (it may be a text node)."):void(null!==e.nextElementSibling&&(n.Z.registerHandler(e.nextElementSibling,a),t=!0))}),(0,r.Jd)(()=>{t&&n.Z.unregisterHandler(o.$el.nextElementSibling)})},render(){return(0,r.WI)(this.$slots,"default")}})},33949:function(e,t,o){o.d(t,{Z:()=>V});var r,n,i,a=[],l="ResizeObserver loop completed with undelivered notifications.",s=function(){var e;"function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:l}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=l),window.dispatchEvent(e)};(r=n||(n={})).BORDER_BOX="border-box",r.CONTENT_BOX="content-box",r.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box";var c=function(e){return Object.freeze(e)},u=function(e,t){this.inlineSize=e,this.blockSize=t,c(this)},d=function(){function e(e,t,o,r){return this.x=e,this.y=t,this.width=o,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,c(this)}return e.prototype.toJSON=function(){return{x:this.x,y:this.y,top:this.top,right:this.right,bottom:this.bottom,left:this.left,width:this.width,height:this.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),f=function(e){return e instanceof SVGElement&&"getBBox"in e},p=function(e){if(f(e)){var t=e.getBBox(),o=t.width,r=t.height;return!o&&!r}var n=e.offsetWidth,i=e.offsetHeight;return!(n||i||e.getClientRects().length)},h=function(e){if(e instanceof Element)return!0;var t,o=null==(t=null==e?void 0:e.ownerDocument)?void 0:t.defaultView;return!!(o&&e instanceof o.Element)},m=function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},g="undefined"!=typeof window?window:{},b=new WeakMap,x=/auto|scroll/,y=/^tb|vertical/,C=/msie|trident/i.test(g.navigator&&g.navigator.userAgent),w=function(e){return parseFloat(e||"0")},S=function(e,t,o){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===o&&(o=!1),new u((o?t:e)||0,(o?e:t)||0)},_=c({devicePixelContentBoxSize:S(),borderBoxSize:S(),contentBoxSize:S(),contentRect:new d(0,0,0,0)}),E=function(e,t){if(void 0===t&&(t=!1),b.has(e)&&!t)return b.get(e);if(p(e))return b.set(e,_),_;var o=getComputedStyle(e),r=f(e)&&e.ownerSVGElement&&e.getBBox(),n=!C&&"border-box"===o.boxSizing,i=y.test(o.writingMode||""),a=!r&&x.test(o.overflowY||""),l=!r&&x.test(o.overflowX||""),s=r?0:w(o.paddingTop),u=r?0:w(o.paddingRight),h=r?0:w(o.paddingBottom),m=r?0:w(o.paddingLeft),g=r?0:w(o.borderTopWidth),E=r?0:w(o.borderRightWidth),T=r?0:w(o.borderBottomWidth),P=r?0:w(o.borderLeftWidth),$=m+u,F=s+h,k=P+E,M=g+T,O=l?e.offsetHeight-M-e.clientHeight:0,I=a?e.offsetWidth-k-e.clientWidth:0,L=r?r.width:w(o.width)-(n?$+k:0)-I,A=r?r.height:w(o.height)-(n?F+M:0)-O,z=L+$+I+k,H=A+F+O+M,D=c({devicePixelContentBoxSize:S(Math.round(L*devicePixelRatio),Math.round(A*devicePixelRatio),i),borderBoxSize:S(z,H,i),contentBoxSize:S(L,A,i),contentRect:new d(m,s,L,A)});return b.set(e,D),D},T=function(e,t,o){var r=E(e,o),i=r.borderBoxSize,a=r.contentBoxSize,l=r.devicePixelContentBoxSize;switch(t){case n.DEVICE_PIXEL_CONTENT_BOX:return l;case n.BORDER_BOX:return i;default:return a}},P=function(e){var t=E(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=c([t.borderBoxSize]),this.contentBoxSize=c([t.contentBoxSize]),this.devicePixelContentBoxSize=c([t.devicePixelContentBoxSize])},$=function(e){if(p(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},F=function(){var e=1/0,t=[];a.forEach(function(o){if(0!==o.activeTargets.length){var r=[];o.activeTargets.forEach(function(t){var o=new P(t.target),n=$(t.target);r.push(o),t.lastReportedSize=T(t.target,t.observedBox),n<e&&(e=n)}),t.push(function(){o.callback.call(o.observer,r,o.observer)}),o.activeTargets.splice(0,o.activeTargets.length)}});for(var o=0;o<t.length;o++)(0,t[o])();return e},k=function(e){a.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(o){o.isActive()&&($(o.target)>e?t.activeTargets.push(o):t.skippedTargets.push(o))})})},M=function(){var e=0;for(k(0);a.some(function(e){return e.activeTargets.length>0});)k(e=F());return a.some(function(e){return e.skippedTargets.length>0})&&s(),e>0},O=[],I=function(e){if(!i){var t=0,o=document.createTextNode("");new MutationObserver(function(){return O.splice(0).forEach(function(e){return e()})}).observe(o,{characterData:!0}),i=function(){o.textContent="".concat(t?t--:t++)}}O.push(e),i()},L=function(e){I(function(){requestAnimationFrame(e)})},A=0,z={attributes:!0,characterData:!0,childList:!0,subtree:!0},H=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],D=function(e){return void 0===e&&(e=0),Date.now()+e},B=!1,N=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!B){B=!0;var o=D(e);L(function(){var r=!1;try{r=M()}finally{if(B=!1,e=o-D(),!A)return;r?t.run(1e3):e>0?t.run(e):t.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,z)};document.body?t():g.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),H.forEach(function(t){return g.addEventListener(t,e.listener,!0)}))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),H.forEach(function(t){return g.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},e}()),Z=function(e){!A&&e>0&&N.start(),(A+=e)||N.stop()},j=function(){function e(e,t){this.target=e,this.observedBox=t||n.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=T(this.target,this.observedBox,!0);return f(e=this.target)||m(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),W=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},R=new WeakMap,Y=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return -1},U=function(){function e(){}return e.connect=function(e,t){var o=new W(e,t);R.set(e,o)},e.observe=function(e,t,o){var r=R.get(e),n=0===r.observationTargets.length;0>Y(r.observationTargets,t)&&(n&&a.push(r),r.observationTargets.push(new j(t,o&&o.box)),Z(1),N.schedule())},e.unobserve=function(e,t){var o=R.get(e),r=Y(o.observationTargets,t),n=1===o.observationTargets.length;r>=0&&(n&&a.splice(a.indexOf(o),1),o.observationTargets.splice(r,1),Z(-1))},e.disconnect=function(e){var t=this,o=R.get(e);o.observationTargets.slice().forEach(function(o){return t.unobserve(e,o.target)}),o.activeTargets.splice(0,o.activeTargets.length)},e}(),X=function(){function e(e){if(0==arguments.length)throw TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");U.connect(this,e)}return e.prototype.observe=function(e,t){if(0==arguments.length)throw TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!h(e))throw TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");U.observe(this,e,t)},e.prototype.unobserve=function(e){if(0==arguments.length)throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!h(e))throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");U.unobserve(this,e)},e.prototype.disconnect=function(){U.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();let V=new class{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new("undefined"!=typeof window&&window.ResizeObserver||X)(this.handleResize),this.elHandlersMap=new Map}handleResize(e){for(let t of e){let e=this.elHandlersMap.get(t.target);void 0!==e&&e(t)}}registerHandler(e,t){this.elHandlersMap.set(e,t),this.observer.observe(e)}unregisterHandler(e){this.elHandlersMap.has(e)&&(this.elHandlersMap.delete(e),this.observer.unobserve(e))}}},97355:function(e,t,o){o.d(t,{Nb:()=>i,z9:()=>n});var r=o(58786);function n(e,t,o="default"){let r=t[o];if(void 0===r)throw Error(`[vueuc/${e}]: slot[${o}] is empty.`);return r()}function i(e,t,o="default"){let n=t[o];if(void 0===n)throw Error(`[vueuc/${e}]: slot[${o}] is empty.`);let a=function e(t,o=!0,n=[]){return t.forEach(t=>{if(null!==t){if("object"!=typeof t){("string"==typeof t||"number"==typeof t)&&n.push((0,r.Uk)(String(t)));return}if(Array.isArray(t))return void e(t,o,n);if(t.type===r.HY){if(null===t.children)return;Array.isArray(t.children)&&e(t.children,o,n)}else t.type!==r.sv&&n.push(t)}}),n}(n());if(1===a.length)return a[0];throw Error(`[vueuc/${e}]: slot[${o}] should have exactly one child.`)}},40833:function(e,t,o){o.d(t,{_:()=>r});function r(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}},94821:function(e,t,o){o.d(t,{VPI:()=>h,iPe:()=>g,rBN:()=>m,tLD:()=>f});var r=o(22895),n=o(58786);let i=r.C5?window:void 0;r.C5&&window.document;let a=r.C5?window.navigator:void 0;function l(e){var t;let o=(0,n.Tn)(e);return null!=(t=null==o?void 0:o.$el)?t:o}function s(...e){let t=[],o=()=>{t.forEach(e=>e()),t.length=0},a=(e,t,o,r)=>(e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)),c=(0,n.Fl)(()=>{let t=(0,r.qo)((0,n.Tn)(e[0])).filter(e=>null!=e);return t.every(e=>"string"!=typeof e)?t:void 0}),u=(0,r.rk)(()=>{var t,o;return[null!=(o=null==(t=c.value)?void 0:t.map(e=>l(e)))?o:[i].filter(e=>null!=e),(0,r.qo)((0,n.Tn)(c.value?e[1]:e[0])),(0,r.qo)((0,n.SU)(c.value?e[2]:e[1])),(0,n.Tn)(c.value?e[3]:e[2])]},([e,n,i,l])=>{if(o(),!(null==e?void 0:e.length)||!(null==n?void 0:n.length)||!(null==i?void 0:i.length))return;let s=(0,r.Kn)(l)?{...l}:l;t.push(...e.flatMap(e=>n.flatMap(t=>i.map(o=>a(e,t,o,s)))))},{flush:"post"});return(0,r.IY)(o),()=>{u(),o()}}function c(e){let t=function(){let e=(0,n.XI)(!1),t=(0,n.FN)();return t&&(0,n.bv)(()=>{e.value=!0},t),e}();return(0,n.Fl)(()=>(t.value,!!e()))}r.C5&&window.location;let u=Symbol("vueuse-ssr-width"),d=["hash","host","hostname","href","pathname","port","protocol","search"];function f(e={}){let{window:t=i}=e,o=Object.fromEntries(d.map(e=>[e,(0,n.iH)()]));for(let[e,i]of(0,r.qP)(o))(0,n.YP)(i,o=>{(null==t?void 0:t.location)&&t.location[e]!==o&&(t.location[e]=o)});let a=e=>{var r;let{state:i,length:a}=(null==t?void 0:t.history)||{},{origin:l}=(null==t?void 0:t.location)||{};for(let e of d)o[e].value=null==(r=null==t?void 0:t.location)?void 0:r[e];return(0,n.qj)({trigger:e,state:i,length:a,origin:l,...o})},l=(0,n.iH)(a("load"));if(t){let e={passive:!0};s(t,"popstate",()=>l.value=a("popstate"),e),s(t,"hashchange",()=>l.value=a("hashchange"),e)}return l}function p(e,t={}){let{controls:o=!1,navigator:i=a}=t,l=c(()=>i&&"permissions"in i),u=(0,n.XI)(),d="string"==typeof e?{name:e}:e,f=(0,n.XI)(),h=()=>{var e,t;f.value=null!=(t=null==(e=u.value)?void 0:e.state)?t:"prompt"};s(u,"change",h,{passive:!0});let m=(0,r._m)(async()=>{if(l.value){if(!u.value)try{u.value=await i.permissions.query(d)}catch(e){u.value=void 0}finally{h()}if(o)return(0,n.IU)(u.value)}});return(m(),o)?{state:f,isSupported:l,query:m}:f}function h(e={}){let{navigator:t=a,read:o=!1,source:i,copiedDuring:l=1500,legacy:u=!1}=e,d=c(()=>t&&"clipboard"in t),f=p("clipboard-read"),m=p("clipboard-write"),g=(0,n.Fl)(()=>d.value||u),b=(0,n.XI)(""),x=(0,n.XI)(!1),y=(0,r.eM)(()=>x.value=!1,l,{immediate:!1});async function C(){var e,o,r;let n=!(d.value&&S(f.value));if(!n)try{b.value=await t.clipboard.readText()}catch(e){n=!0}n&&(b.value=null!=(r=null==(o=null==(e=null==document?void 0:document.getSelection)?void 0:e.call(document))?void 0:o.toString())?r:"")}async function w(e=(0,n.Tn)(i)){if(g.value&&null!=e){let o=!(d.value&&S(m.value));if(!o)try{await t.clipboard.writeText(e)}catch(e){o=!0}o&&function(e){let t=document.createElement("textarea");t.value=null!=e?e:"",t.style.position="absolute",t.style.opacity="0",document.body.appendChild(t),t.select(),document.execCommand("copy"),t.remove()}(e),b.value=e,x.value=!0,y.start()}}function S(e){return"granted"===e||"prompt"===e}return g.value&&o&&s(["copy","cut"],C,{passive:!0}),{isSupported:g,text:b,copied:x,copy:w}}function m(e,t={}){let{reset:o=!0,windowResize:a=!0,windowScroll:u=!0,immediate:d=!0,updateTiming:f="sync"}=t,p=(0,n.XI)(0),h=(0,n.XI)(0),g=(0,n.XI)(0),b=(0,n.XI)(0),x=(0,n.XI)(0),y=(0,n.XI)(0),C=(0,n.XI)(0),w=(0,n.XI)(0);function S(){let t=l(e);if(!t){o&&(p.value=0,h.value=0,g.value=0,b.value=0,x.value=0,y.value=0,C.value=0,w.value=0);return}let r=t.getBoundingClientRect();p.value=r.height,h.value=r.bottom,g.value=r.left,b.value=r.right,x.value=r.top,y.value=r.width,C.value=r.x,w.value=r.y}function _(){"sync"===f?S():"next-frame"===f&&requestAnimationFrame(()=>S())}return!function(e,t,o={}){let a,{window:s=i,...u}=o,d=c(()=>s&&"ResizeObserver"in s),f=()=>{a&&(a.disconnect(),a=void 0)},p=(0,n.Fl)(()=>{let t=(0,n.Tn)(e);return Array.isArray(t)?t.map(e=>l(e)):[l(t)]}),h=(0,n.YP)(p,e=>{if(f(),d.value&&s)for(let o of(a=new ResizeObserver(t),e))o&&a.observe(o,u)},{immediate:!0,flush:"post"});(0,r.IY)(()=>{f(),h()})}(e,_),(0,n.YP)(()=>l(e),e=>!e&&_()),!function(e,t,o={}){let a,{window:s=i,...u}=o,d=c(()=>s&&"MutationObserver"in s),f=()=>{a&&(a.disconnect(),a=void 0)},p=(0,n.Fl)(()=>{let t=(0,n.Tn)(e);return new Set((0,r.qo)(t).map(l).filter(r.nf))}),h=(0,n.YP)(()=>p.value,e=>{f(),d.value&&e.size&&(a=new MutationObserver(t),e.forEach(e=>a.observe(e,u)))},{immediate:!0,flush:"post"});(0,r.IY)(()=>{h(),f()})}(e,_,{attributeFilter:["style","class"]}),u&&s("scroll",_,{capture:!0,passive:!0}),a&&s("resize",_,{passive:!0}),(0,r.u7)(()=>{d&&_()}),{height:p,bottom:h,left:g,right:b,top:x,width:y,x:C,y:w,update:_}}function g(e={}){let{window:t=i,initialWidth:o=Number.POSITIVE_INFINITY,initialHeight:a=Number.POSITIVE_INFINITY,listenOrientation:l=!0,includeScrollbar:d=!0,type:f="inner"}=e,p=(0,n.XI)(o),h=(0,n.XI)(a),m=()=>{if(t)if("outer"===f)p.value=t.outerWidth,h.value=t.outerHeight;else if("visual"===f&&t.visualViewport){let{width:e,height:o,scale:r}=t.visualViewport;p.value=Math.round(e*r),h.value=Math.round(o*r)}else d?(p.value=t.innerWidth,h.value=t.innerHeight):(p.value=t.document.documentElement.clientWidth,h.value=t.document.documentElement.clientHeight)};m(),(0,r.u7)(m);let b={passive:!0};if(s("resize",m,b),t&&"visual"===f&&t.visualViewport&&s(t.visualViewport,"resize",m,b),l){let e=function(e,t={}){let{window:o=i,ssrWidth:a=function(){let e=(0,n.EM)()?(0,r.iW)(u,null):null;return"number"==typeof e?e:void 0}()}=t,l=c(()=>o&&"matchMedia"in o&&"function"==typeof o.matchMedia),d=(0,n.XI)("number"==typeof a),f=(0,n.XI)(),p=(0,n.XI)(!1);return(0,n.m0)(()=>{if(d.value){d.value=!l.value,p.value=(0,n.Tn)(e).split(",").some(e=>{let t=e.includes("not all"),o=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),n=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),i=!!(o||n);return o&&i&&(i=a>=(0,r.te)(o[1])),n&&i&&(i=a<=(0,r.te)(n[1])),t?!i:i});return}l.value&&(f.value=o.matchMedia((0,n.Tn)(e)),p.value=f.value.matches)}),s(f,"change",e=>{p.value=e.matches},{passive:!0}),(0,n.Fl)(()=>p.value)}("(orientation: portrait)");(0,n.YP)(e,()=>m())}return{width:p,height:h}}"undefined"!=typeof globalThis||("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self)},22895:function(e,t,o){o.d(t,{C5:()=>l,DI:()=>y,IY:()=>n,Kn:()=>u,_m:()=>f,eM:()=>w,iW:()=>a,nf:()=>s,qP:()=>h,qo:()=>m,rk:()=>S,te:()=>p,u7:()=>C});var r=o(58786);function n(e){return!!(0,r.nZ)()&&((0,r.EB)(e),!0)}let i=new WeakMap,a=(...e)=>{var t;let o=e[0],n=null==(t=(0,r.FN)())?void 0:t.proxy;if(null==n&&!(0,r.EM)())throw Error("injectLocal must be called in setup");return n&&i.has(n)&&o in i.get(n)?i.get(n)[o]:(0,r.f3)(...e)},l="undefined"!=typeof window&&"undefined"!=typeof document,s=e=>null!=e,c=Object.prototype.toString,u=e=>"[object Object]"===c.call(e),d=()=>{};function f(e){let t;function o(){return t||(t=e()),t}return o.reset=async()=>{let e=t;t=void 0,e&&await e},o}function p(e){return e.endsWith("rem")?16*Number.parseFloat(e):Number.parseFloat(e)}function h(e){return Object.entries(e)}function m(e){return Array.isArray(e)?e:[e]}function g(e){let t=Object.create(null);return o=>t[o]||(t[o]=e(o))}let b=/\B([A-Z])/g;g(e=>e.replace(b,"-$1").toLowerCase());let x=/-(\w)/g;function y(e,t=200,o={}){var n;return n=function(e,t={}){let o,n,i,a=d,l=e=>{clearTimeout(e),a(),a=d};return s=>{let c=(0,r.Tn)(e),u=(0,r.Tn)(t.maxWait);return(o&&l(o),c<=0||void 0!==u&&u<=0)?(n&&(l(n),n=null),Promise.resolve(s())):new Promise((e,r)=>{a=t.rejectOnCancel?r:e,i=s,u&&!n&&(n=setTimeout(()=>{o&&l(o),n=null,e(i())},u)),o=setTimeout(()=>{n&&l(n),n=null,e(s())},c)})}}(t,o),function(...t){return new Promise((o,r)=>{Promise.resolve(n(()=>e.apply(this,t),{fn:e,thisArg:this,args:t})).then(o).catch(r)})}}function C(e,t=!0,o){o||(0,r.FN)()?(0,r.bv)(e,o):t?e():(0,r.Y3)(e)}function w(e,t,o={}){let{immediate:i=!0,immediateCallback:a=!1}=o,s=(0,r.XI)(!1),c=null;function u(){c&&(clearTimeout(c),c=null)}function d(){s.value=!1,u()}function f(...o){a&&e(),u(),s.value=!0,c=setTimeout(()=>{s.value=!1,c=null,e(...o)},(0,r.Tn)(t))}return i&&(s.value=!0,l&&f()),n(d),{isPending:(0,r.YS)(s),start:f,stop:d}}function S(e,t,o){return(0,r.YP)(e,t,{...o,immediate:!0})}g(e=>e.replace(x,(e,t)=>t?t.toUpperCase():""))},87907:function(e,t,o){o.d(t,{j:()=>n});let r={};function n(){return r}},53716:function(e,t,o){o.d(t,{x:()=>n});var r=o(74021);function n(e,t,o){return+(0,r.z)(e,o)==+(0,r.z)(t,o)}},17530:function(e,t,o){o.d(t,{l:()=>r});function r(e){return (t={})=>{let o=t.width?String(t.width):e.defaultWidth;return e.formats[o]||e.formats[e.defaultWidth]}}},35584:function(e,t,o){o.d(t,{Y:()=>r});function r(e){return(t,o)=>{let r;if("formatting"===(o?.context?String(o.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,n=o?.width?String(o.width):t;r=e.formattingValues[n]||e.formattingValues[t]}else{let t=e.defaultWidth,n=o?.width?String(o.width):e.defaultWidth;r=e.values[n]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}},82048:function(e,t,o){function r(e){return(t,o={})=>{let r,n=o.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;let l=a[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?function(e,t){for(let o=0;o<e.length;o++)if(t(e[o]))return o}(s,e=>e.test(l)):function(e,t){for(let o in e)if(Object.prototype.hasOwnProperty.call(e,o)&&t(e[o]))return o}(s,e=>e.test(l));return r=e.valueCallback?e.valueCallback(c):c,{value:r=o.valueCallback?o.valueCallback(r):r,rest:t.slice(l.length)}}}o.d(t,{t:()=>r})},8689:function(e,t,o){o.d(t,{y:()=>r});function r(e){return(t,o={})=>{let r=t.match(e.matchPattern);if(!r)return null;let n=r[0],i=t.match(e.parsePattern);if(!i)return null;let a=e.valueCallback?e.valueCallback(i[0]):i[0];return{value:a=o.valueCallback?o.valueCallback(a):a,rest:t.slice(n.length)}}}},31495:function(e,t,o){o.d(t,{_:()=>u});let r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};var n=o(17530);let i={date:(0,n.l)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,n.l)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,n.l)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};var l=o(35584);let s={ordinalNumber:(e,t)=>{let o=Number(e),r=o%100;if(r>20||r<10)switch(r%10){case 1:return o+"st";case 2:return o+"nd";case 3:return o+"rd"}return o+"th"},era:(0,l.Y)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,l.Y)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,l.Y)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,l.Y)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,l.Y)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};var c=o(82048);let u={code:"en-US",formatDistance:(e,t,o)=>{let n,i=r[e];if(n="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),o?.addSuffix)if(o.comparison&&o.comparison>0)return"in "+n;else return n+" ago";return n},formatLong:i,formatRelative:(e,t,o,r)=>a[e],localize:s,match:{ordinalNumber:(0,o(8689).y)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,c.t)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,c.t)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,c.t)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.t)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.t)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},74021:function(e,t,o){o.d(t,{z:()=>i});var r=o(66138),n=o(87907);function i(e,t){let o=(0,n.j)(),i=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,a=(0,r.Q)(e),l=a.getDay();return a.setDate(a.getDate()-(7*(l<i)+l-i)),a.setHours(0,0,0,0),a}},66138:function(e,t,o){o.d(t,{Q:()=>r});function r(e){let t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):new Date("number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?e:NaN)}},7356:function(e,t,o){o.d(t,{d:()=>n});var r=o(87499);function n(e,...t){let o=r.L.bind(null,e||t.find(e=>"object"==typeof e));return t.map(o)}},10065:function(e,t,o){o.d(t,{I7:()=>i,dP:()=>n,jE:()=>r});let r=6048e5,n=864e5,i=Symbol.for("constructDateFrom")},87499:function(e,t,o){o.d(t,{L:()=>n});var r=o(10065);function n(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&r.I7 in e?e[r.I7](t):e instanceof Date?new e.constructor(t):new Date(t)}},88168:function(e,t,o){o.d(t,{w:()=>s});var r=o(5969);function n(e){let t=(0,r.Q)(e),o=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return o.setUTCFullYear(t.getFullYear()),e-o}var i=o(7356),a=o(10065),l=o(36760);function s(e,t,o){let[r,s]=(0,i.d)(o?.in,e,t),c=(0,l.b)(r),u=(0,l.b)(s);return Math.round((c-n(c)-(u-n(u)))/a.dP)}},49468:function(e,t,o){o.d(t,{i:()=>n});var r=o(5969);function n(e,t){let o=(0,r.Q)(e,t?.in);return o.setHours(23,59,59,999),o}},92824:function(e,t,o){o.d(t,{WU:()=>B});let r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function n(e){return (t={})=>{let o=t.width?String(t.width):e.defaultWidth;return e.formats[o]||e.formats[e.defaultWidth]}}let i={date:n({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:n({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:n({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function l(e){return(t,o)=>{let r;if("formatting"===(o?.context?String(o.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,n=o?.width?String(o.width):t;r=e.formattingValues[n]||e.formattingValues[t]}else{let t=e.defaultWidth,n=o?.width?String(o.width):e.defaultWidth;r=e.values[n]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function s(e){return(t,o={})=>{let r,n=o.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;let l=a[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?function(e,t){for(let o=0;o<e.length;o++)if(t(e[o]))return o}(s,e=>e.test(l)):function(e,t){for(let o in e)if(Object.prototype.hasOwnProperty.call(e,o)&&t(e[o]))return o}(s,e=>e.test(l));return r=e.valueCallback?e.valueCallback(c):c,{value:r=o.valueCallback?o.valueCallback(r):r,rest:t.slice(l.length)}}}let c={code:"en-US",formatDistance:(e,t,o)=>{let n,i=r[e];if(n="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),o?.addSuffix)if(o.comparison&&o.comparison>0)return"in "+n;else return n+" ago";return n},formatLong:i,formatRelative:(e,t,o,r)=>a[e],localize:{ordinalNumber:(e,t)=>{let o=Number(e),r=o%100;if(r>20||r<10)switch(r%10){case 1:return o+"st";case 2:return o+"nd";case 3:return o+"rd"}return o+"th"},era:l({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:l({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:l({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:l({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:l({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(d={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{let o=e.match(d.matchPattern);if(!o)return null;let r=o[0],n=e.match(d.parsePattern);if(!n)return null;let i=d.valueCallback?d.valueCallback(n[0]):n[0];return{value:i=t.valueCallback?t.valueCallback(i):i,rest:e.slice(r.length)}}),era:s({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:s({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:s({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},u={};var d,f=o(88168),p=o(5969),h=o(10065);function m(e,t){let o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??u.weekStartsOn??u.locale?.options?.weekStartsOn??0,r=(0,p.Q)(e,t?.in),n=r.getDay();return r.setDate(r.getDate()-(7*(n<o)+n-o)),r.setHours(0,0,0,0),r}function g(e,t){return m(e,{...t,weekStartsOn:1})}var b=o(87499);function x(e,t){let o=(0,p.Q)(e,t?.in),r=o.getFullYear(),n=(0,b.L)(o,0);n.setFullYear(r+1,0,4),n.setHours(0,0,0,0);let i=g(n),a=(0,b.L)(o,0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);let l=g(a);return o.getTime()>=i.getTime()?r+1:o.getTime()>=l.getTime()?r:r-1}function y(e,t){let o=(0,p.Q)(e,t?.in),r=o.getFullYear(),n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??u.firstWeekContainsDate??u.locale?.options?.firstWeekContainsDate??1,i=(0,b.L)(t?.in||e,0);i.setFullYear(r+1,0,n),i.setHours(0,0,0,0);let a=m(i,t),l=(0,b.L)(t?.in||e,0);l.setFullYear(r,0,n),l.setHours(0,0,0,0);let s=m(l,t);return+o>=+a?r+1:+o>=+s?r:r-1}function C(e,t){let o=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+o}let w={y(e,t){let o=e.getFullYear(),r=o>0?o:1-o;return C("yy"===t?r%100:r,t.length)},M(e,t){let o=e.getMonth();return"M"===t?String(o+1):C(o+1,2)},d:(e,t)=>C(e.getDate(),t.length),a(e,t){let o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return o.toUpperCase();case"aaa":return o;case"aaaaa":return o[0];default:return"am"===o?"a.m.":"p.m."}},h:(e,t)=>C(e.getHours()%12||12,t.length),H:(e,t)=>C(e.getHours(),t.length),m:(e,t)=>C(e.getMinutes(),t.length),s:(e,t)=>C(e.getSeconds(),t.length),S(e,t){let o=t.length;return C(Math.trunc(e.getMilliseconds()*Math.pow(10,o-3)),t.length)}},S={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},_={G:function(e,t,o){let r=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return o.era(r,{width:"abbreviated"});case"GGGGG":return o.era(r,{width:"narrow"});default:return o.era(r,{width:"wide"})}},y:function(e,t,o){if("yo"===t){let t=e.getFullYear();return o.ordinalNumber(t>0?t:1-t,{unit:"year"})}return w.y(e,t)},Y:function(e,t,o,r){let n=y(e,r),i=n>0?n:1-n;return"YY"===t?C(i%100,2):"Yo"===t?o.ordinalNumber(i,{unit:"year"}):C(i,t.length)},R:function(e,t){return C(x(e),t.length)},u:function(e,t){return C(e.getFullYear(),t.length)},Q:function(e,t,o){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return C(r,2);case"Qo":return o.ordinalNumber(r,{unit:"quarter"});case"QQQ":return o.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return o.quarter(r,{width:"narrow",context:"formatting"});default:return o.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,o){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return C(r,2);case"qo":return o.ordinalNumber(r,{unit:"quarter"});case"qqq":return o.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return o.quarter(r,{width:"narrow",context:"standalone"});default:return o.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,o){let r=e.getMonth();switch(t){case"M":case"MM":return w.M(e,t);case"Mo":return o.ordinalNumber(r+1,{unit:"month"});case"MMM":return o.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return o.month(r,{width:"narrow",context:"formatting"});default:return o.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,o){let r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return C(r+1,2);case"Lo":return o.ordinalNumber(r+1,{unit:"month"});case"LLL":return o.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return o.month(r,{width:"narrow",context:"standalone"});default:return o.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,o,r){let n=function(e,t){let o=(0,p.Q)(e,t?.in);return Math.round((m(o,t)-function(e,t){let o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??u.firstWeekContainsDate??u.locale?.options?.firstWeekContainsDate??1,r=y(e,t),n=(0,b.L)(t?.in||e,0);return n.setFullYear(r,0,o),n.setHours(0,0,0,0),m(n,t)}(o,t))/h.jE)+1}(e,r);return"wo"===t?o.ordinalNumber(n,{unit:"week"}):C(n,t.length)},I:function(e,t,o){let r=function(e,t){let o=(0,p.Q)(e,void 0);return Math.round((g(o)-function(e,t){let o=x(e,void 0),r=(0,b.L)(e,0);return r.setFullYear(o,0,4),r.setHours(0,0,0,0),g(r)}(o))/h.jE)+1}(e);return"Io"===t?o.ordinalNumber(r,{unit:"week"}):C(r,t.length)},d:function(e,t,o){return"do"===t?o.ordinalNumber(e.getDate(),{unit:"date"}):w.d(e,t)},D:function(e,t,o){let r=function(e,t){let o=(0,p.Q)(e,void 0);return(0,f.w)(o,function(e,t){let o=(0,p.Q)(e,void 0);return o.setFullYear(o.getFullYear(),0,1),o.setHours(0,0,0,0),o}(o))+1}(e);return"Do"===t?o.ordinalNumber(r,{unit:"dayOfYear"}):C(r,t.length)},E:function(e,t,o){let r=e.getDay();switch(t){case"E":case"EE":case"EEE":return o.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return o.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return o.day(r,{width:"short",context:"formatting"});default:return o.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,o,r){let n=e.getDay(),i=(n-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return C(i,2);case"eo":return o.ordinalNumber(i,{unit:"day"});case"eee":return o.day(n,{width:"abbreviated",context:"formatting"});case"eeeee":return o.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return o.day(n,{width:"short",context:"formatting"});default:return o.day(n,{width:"wide",context:"formatting"})}},c:function(e,t,o,r){let n=e.getDay(),i=(n-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return C(i,t.length);case"co":return o.ordinalNumber(i,{unit:"day"});case"ccc":return o.day(n,{width:"abbreviated",context:"standalone"});case"ccccc":return o.day(n,{width:"narrow",context:"standalone"});case"cccccc":return o.day(n,{width:"short",context:"standalone"});default:return o.day(n,{width:"wide",context:"standalone"})}},i:function(e,t,o){let r=e.getDay(),n=0===r?7:r;switch(t){case"i":return String(n);case"ii":return C(n,t.length);case"io":return o.ordinalNumber(n,{unit:"day"});case"iii":return o.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return o.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return o.day(r,{width:"short",context:"formatting"});default:return o.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,o){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return o.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return o.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return o.dayPeriod(r,{width:"narrow",context:"formatting"});default:return o.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,o){let r,n=e.getHours();switch(r=12===n?S.noon:0===n?S.midnight:n/12>=1?"pm":"am",t){case"b":case"bb":return o.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return o.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return o.dayPeriod(r,{width:"narrow",context:"formatting"});default:return o.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,o){let r,n=e.getHours();switch(r=n>=17?S.evening:n>=12?S.afternoon:n>=4?S.morning:S.night,t){case"B":case"BB":case"BBB":return o.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return o.dayPeriod(r,{width:"narrow",context:"formatting"});default:return o.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,o){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),o.ordinalNumber(t,{unit:"hour"})}return w.h(e,t)},H:function(e,t,o){return"Ho"===t?o.ordinalNumber(e.getHours(),{unit:"hour"}):w.H(e,t)},K:function(e,t,o){let r=e.getHours()%12;return"Ko"===t?o.ordinalNumber(r,{unit:"hour"}):C(r,t.length)},k:function(e,t,o){let r=e.getHours();return(0===r&&(r=24),"ko"===t)?o.ordinalNumber(r,{unit:"hour"}):C(r,t.length)},m:function(e,t,o){return"mo"===t?o.ordinalNumber(e.getMinutes(),{unit:"minute"}):w.m(e,t)},s:function(e,t,o){return"so"===t?o.ordinalNumber(e.getSeconds(),{unit:"second"}):w.s(e,t)},S:function(e,t){return w.S(e,t)},X:function(e,t,o){let r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return T(r);case"XXXX":case"XX":return P(r);default:return P(r,":")}},x:function(e,t,o){let r=e.getTimezoneOffset();switch(t){case"x":return T(r);case"xxxx":case"xx":return P(r);default:return P(r,":")}},O:function(e,t,o){let r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+E(r,":");default:return"GMT"+P(r,":")}},z:function(e,t,o){let r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+E(r,":");default:return"GMT"+P(r,":")}},t:function(e,t,o){return C(Math.trunc(e/1e3),t.length)},T:function(e,t,o){return C(+e,t.length)}};function E(e,t=""){let o=e>0?"-":"+",r=Math.abs(e),n=Math.trunc(r/60),i=r%60;return 0===i?o+String(n):o+String(n)+t+C(i,2)}function T(e,t){return e%60==0?(e>0?"-":"+")+C(Math.abs(e)/60,2):P(e,t)}function P(e,t=""){let o=Math.abs(e);return(e>0?"-":"+")+C(Math.trunc(o/60),2)+t+C(o%60,2)}let $=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},F=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},k={p:F,P:(e,t)=>{let o,r=e.match(/(P+)(p+)?/)||[],n=r[1],i=r[2];if(!i)return $(e,t);switch(n){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"})}return o.replace("{{date}}",$(n,t)).replace("{{time}}",F(i,t))}},M=/^D+$/,O=/^Y+$/,I=["D","DD","YY","YYYY"],L=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,A=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,z=/^'([^]*?)'?$/,H=/''/g,D=/[a-zA-Z]/;function B(e,t,o){let r=o?.locale??u.locale??c,n=o?.firstWeekContainsDate??o?.locale?.options?.firstWeekContainsDate??u.firstWeekContainsDate??u.locale?.options?.firstWeekContainsDate??1,i=o?.weekStartsOn??o?.locale?.options?.weekStartsOn??u.weekStartsOn??u.locale?.options?.weekStartsOn??0,a=(0,p.Q)(e,o?.in);if(!(a instanceof Date||"object"==typeof a&&"[object Date]"===Object.prototype.toString.call(a))&&"number"!=typeof a||isNaN(+(0,p.Q)(a)))throw RangeError("Invalid time value");let l=t.match(A).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,k[t])(e,r.formatLong):e}).join("").match(L).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t)return{isToken:!1,value:function(e){let t=e.match(z);return t?t[1].replace(H,"'"):e}(e)};if(_[t])return{isToken:!0,value:e};if(t.match(D))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});r.localize.preprocessor&&(l=r.localize.preprocessor(a,l));let s={firstWeekContainsDate:n,weekStartsOn:i,locale:r};return l.map(n=>{if(!n.isToken)return n.value;let i=n.value;return(!o?.useAdditionalWeekYearTokens&&O.test(i)||!o?.useAdditionalDayOfYearTokens&&M.test(i))&&function(e,t,o){let r=function(e,t,o){let r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${o}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,o);if(console.warn(r),I.includes(e))throw RangeError(r)}(i,t,String(e)),(0,_[i[0]])(a,i,r.localize,s)}).join("")}},36760:function(e,t,o){o.d(t,{b:()=>n});var r=o(5969);function n(e,t){let o=(0,r.Q)(e,t?.in);return o.setHours(0,0,0,0),o}},5969:function(e,t,o){o.d(t,{Q:()=>n});var r=o(87499);function n(e,t){return(0,r.L)(t||e,e)}},69902:function(e,t,o){o.d(t,{Z:()=>l});var r=o(94596);let n=function(e,t){for(var o=e.length;o--;)if((0,r.Z)(e[o][0],t))return o;return -1};var i=Array.prototype.splice;function a(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}a.prototype.clear=function(){this.__data__=[],this.size=0},a.prototype.delete=function(e){var t=this.__data__,o=n(t,e);return!(o<0)&&(o==t.length-1?t.pop():i.call(t,o,1),--this.size,!0)},a.prototype.get=function(e){var t=this.__data__,o=n(t,e);return o<0?void 0:t[o][1]},a.prototype.has=function(e){return n(this.__data__,e)>-1},a.prototype.set=function(e,t){var o=this.__data__,r=n(o,e);return r<0?(++this.size,o.push([e,t])):o[r][1]=t,this};let l=a},20843:function(e,t,o){o.d(t,{Z:()=>i});var r=o(80938),n=o(80651);let i=(0,r.Z)(n.Z,"Map")},37408:function(e,t,o){o.d(t,{Z:()=>f});var r=(0,o(80938).Z)(Object,"create"),n=Object.prototype.hasOwnProperty,i=Object.prototype.hasOwnProperty;function a(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}a.prototype.clear=function(){this.__data__=r?r(null):{},this.size=0},a.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t},a.prototype.get=function(e){var t=this.__data__;if(r){var o=t[e];return"__lodash_hash_undefined__"===o?void 0:o}return n.call(t,e)?t[e]:void 0},a.prototype.has=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)},a.prototype.set=function(e,t){var o=this.__data__;return this.size+=+!this.has(e),o[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this};var l=o(69902),s=o(20843);let c=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},u=function(e,t){var o=e.__data__;return c(t)?o["string"==typeof t?"string":"hash"]:o.map};function d(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}d.prototype.clear=function(){this.size=0,this.__data__={hash:new a,map:new(s.Z||l.Z),string:new a}},d.prototype.delete=function(e){var t=u(this,e).delete(e);return this.size-=!!t,t},d.prototype.get=function(e){return u(this,e).get(e)},d.prototype.has=function(e){return u(this,e).has(e)},d.prototype.set=function(e,t){var o=u(this,e),r=o.size;return o.set(e,t),this.size+=+(o.size!=r),this};let f=d},53146:function(e,t,o){o.d(t,{Z:()=>l});var r=o(69902),n=o(20843),i=o(37408);function a(e){var t=this.__data__=new r.Z(e);this.size=t.size}a.prototype.clear=function(){this.__data__=new r.Z,this.size=0},a.prototype.delete=function(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o},a.prototype.get=function(e){return this.__data__.get(e)},a.prototype.has=function(e){return this.__data__.has(e)},a.prototype.set=function(e,t){var o=this.__data__;if(o instanceof r.Z){var a=o.__data__;if(!n.Z||a.length<199)return a.push([e,t]),this.size=++o.size,this;o=this.__data__=new i.Z(a)}return o.set(e,t),this.size=o.size,this};let l=a},28373:function(e,t,o){o.d(t,{Z:()=>r});let r=o(80651).Z.Symbol},72337:function(e,t,o){o.d(t,{Z:()=>r});let r=o(80651).Z.Uint8Array},64464:function(e,t,o){o.d(t,{Z:()=>u});let r=function(e,t){for(var o=-1,r=Array(e);++o<e;)r[o]=t(o);return r};var n=o(75266),i=o(3073),a=o(4339),l=o(1400),s=o(77407),c=Object.prototype.hasOwnProperty;let u=function(e,t){var o=(0,i.Z)(e),u=!o&&(0,n.Z)(e),d=!o&&!u&&(0,a.Z)(e),f=!o&&!u&&!d&&(0,s.Z)(e),p=o||u||d||f,h=p?r(e.length,String):[],m=h.length;for(var g in e)(t||c.call(e,g))&&!(p&&("length"==g||d&&("offset"==g||"parent"==g)||f&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||(0,l.Z)(g,m)))&&h.push(g);return h}},75952:function(e,t,o){o.d(t,{Z:()=>r});let r=function(e,t){for(var o=-1,r=null==e?0:e.length,n=Array(r);++o<r;)n[o]=t(e[o],o,e);return n}},26028:function(e,t,o){o.d(t,{Z:()=>a});var r=o(23454),n=o(94596),i=Object.prototype.hasOwnProperty;let a=function(e,t,o){var a=e[t];i.call(e,t)&&(0,n.Z)(a,o)&&(void 0!==o||t in e)||(0,r.Z)(e,t,o)}},23454:function(e,t,o){o.d(t,{Z:()=>n});var r=o(89445);let n=function(e,t,o){"__proto__"==t&&r.Z?(0,r.Z)(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}},89357:function(e,t,o){o.d(t,{Z:()=>r});let r=function(e,t,o){for(var r=-1,n=Object(e),i=o(e),a=i.length;a--;){var l=i[++r];if(!1===t(n[l],l,n))break}return e}},80954:function(e,t,o){o.d(t,{Z:()=>i});var r=o(34542),n=o(32452);let i=function(e,t){t=(0,r.Z)(t,e);for(var o=0,i=t.length;null!=e&&o<i;)e=e[(0,n.Z)(t[o++])];return o&&o==i?e:void 0}},21452:function(e,t,o){o.d(t,{Z:()=>d});var r=o(28373),n=Object.prototype,i=n.hasOwnProperty,a=n.toString,l=r.Z?r.Z.toStringTag:void 0;let s=function(e){var t=i.call(e,l),o=e[l];try{e[l]=void 0;var r=!0}catch(e){}var n=a.call(e);return r&&(t?e[l]=o:delete e[l]),n};var c=Object.prototype.toString,u=r.Z?r.Z.toStringTag:void 0;let d=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":u&&u in Object(e)?s(e):c.call(e)}},94421:function(e,t,o){o.d(t,{Z:()=>r});let r=function(e){return function(t){return e(t)}}},34542:function(e,t,o){o.d(t,{Z:()=>p});var r,n,i=o(3073),a=o(90483),l=o(37408);function s(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var o=function(){var r=arguments,n=t?t.apply(this,r):r[0],i=o.cache;if(i.has(n))return i.get(n);var a=e.apply(this,r);return o.cache=i.set(n,a)||i,a};return o.cache=new(s.Cache||l.Z),o}s.Cache=l.Z;var c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g,d=(n=(r=s(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(c,function(e,o,r,n){t.push(r?n.replace(u,"$1"):o||e)}),t},function(e){return 500===n.size&&n.clear(),e})).cache,r),f=o(88521);let p=function(e,t){return(0,i.Z)(e)?e:(0,a.Z)(e,t)?[e]:d((0,f.Z)(e))}},98240:function(e,t,o){o.d(t,{Z:()=>n});var r=o(72337);let n=function(e){var t=new e.constructor(e.byteLength);return new r.Z(t).set(new r.Z(e)),t}},83712:function(e,t,o){o.d(t,{Z:()=>s});var r=o(80651),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=n&&"object"==typeof module&&module&&!module.nodeType&&module,a=i&&i.exports===n?r.Z.Buffer:void 0,l=a?a.allocUnsafe:void 0;let s=function(e,t){if(t)return e.slice();var o=e.length,r=l?l(o):new e.constructor(o);return e.copy(r),r}},70980:function(e,t,o){o.d(t,{Z:()=>n});var r=o(98240);let n=function(e,t){var o=t?(0,r.Z)(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}},91481:function(e,t,o){o.d(t,{Z:()=>r});let r=function(e,t){var o=-1,r=e.length;for(t||(t=Array(r));++o<r;)t[o]=e[o];return t}},45169:function(e,t,o){o.d(t,{Z:()=>i});var r=o(26028),n=o(23454);let i=function(e,t,o,i){var a=!o;o||(o={});for(var l=-1,s=t.length;++l<s;){var c=t[l],u=i?i(o[c],e[c],c,o,e):void 0;void 0===u&&(u=e[c]),a?(0,n.Z)(o,c,u):(0,r.Z)(o,c,u)}return o}},89445:function(e,t,o){o.d(t,{Z:()=>n});var r=o(80938);let n=function(){try{var e=(0,r.Z)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},82208:function(e,t,o){o.d(t,{Z:()=>r});let r="object"==typeof global&&global&&global.Object===Object&&global},80938:function(e,t,o){o.d(t,{Z:()=>m});var r,n=o(84015),i=o(80651).Z["__core-js_shared__"],a=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",l=o(26129),s=o(58436),c=/^\[object .+?Constructor\]$/,u=Object.prototype,d=Function.prototype.toString,f=u.hasOwnProperty,p=RegExp("^"+d.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let h=function(e){return!!(0,l.Z)(e)&&(!a||!(a in e))&&((0,n.Z)(e)?p:c).test((0,s.Z)(e))},m=function(e,t){var o=null==e?void 0:e[t];return h(o)?o:void 0}},76351:function(e,t,o){o.d(t,{Z:()=>r});let r=(0,o(25886).Z)(Object.getPrototypeOf,Object)},6625:function(e,t,o){o.d(t,{Z:()=>s});var r=o(26129),n=Object.create,i=function(){function e(){}return function(t){if(!(0,r.Z)(t))return{};if(n)return n(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),a=o(76351),l=o(98168);let s=function(e){return"function"!=typeof e.constructor||(0,l.Z)(e)?{}:i((0,a.Z)(e))}},1400:function(e,t,o){o.d(t,{Z:()=>n});var r=/^(?:0|[1-9]\d*)$/;let n=function(e,t){var o=typeof e;return!!(t=null==t?0x1fffffffffffff:t)&&("number"==o||"symbol"!=o&&r.test(e))&&e>-1&&e%1==0&&e<t}},90483:function(e,t,o){o.d(t,{Z:()=>l});var r=o(3073),n=o(56721),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;let l=function(e,t){if((0,r.Z)(e))return!1;var o=typeof e;return!!("number"==o||"symbol"==o||"boolean"==o||null==e||(0,n.Z)(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},98168:function(e,t,o){o.d(t,{Z:()=>n});var r=Object.prototype;let n=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},41394:function(e,t,o){o.d(t,{Z:()=>l});var r=o(82208),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=n&&"object"==typeof module&&module&&!module.nodeType&&module,a=i&&i.exports===n&&r.Z.process;let l=function(){try{var e=i&&i.require&&i.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(e){}}()},25886:function(e,t,o){o.d(t,{Z:()=>r});let r=function(e,t){return function(o){return e(t(o))}}},80651:function(e,t,o){o.d(t,{Z:()=>i});var r=o(82208),n="object"==typeof self&&self&&self.Object===Object&&self;let i=r.Z||n||Function("return this")()},32452:function(e,t,o){o.d(t,{Z:()=>i});var r=o(56721),n=1/0;let i=function(e){if("string"==typeof e||(0,r.Z)(e))return e;var t=e+"";return"0"==t&&1/e==-n?"-0":t}},58436:function(e,t,o){o.d(t,{Z:()=>n});var r=Function.prototype.toString;let n=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},94596:function(e,t,o){o.d(t,{Z:()=>r});let r=function(e,t){return e===t||e!=e&&t!=t}},94904:function(e,t,o){o.d(t,{Z:()=>n});var r=o(80954);let n=function(e,t,o){var n=null==e?void 0:(0,r.Z)(e,t);return void 0===n?o:n}},85627:function(e,t,o){o.d(t,{Z:()=>r});let r=function(e){return e}},75266:function(e,t,o){o.d(t,{Z:()=>c});var r=o(21452),n=o(32398);let i=function(e){return(0,n.Z)(e)&&"[object Arguments]"==(0,r.Z)(e)};var a=Object.prototype,l=a.hasOwnProperty,s=a.propertyIsEnumerable;let c=i(function(){return arguments}())?i:function(e){return(0,n.Z)(e)&&l.call(e,"callee")&&!s.call(e,"callee")}},3073:function(e,t,o){o.d(t,{Z:()=>r});let r=Array.isArray},67737:function(e,t,o){o.d(t,{Z:()=>i});var r=o(84015),n=o(97830);let i=function(e){return null!=e&&(0,n.Z)(e.length)&&!(0,r.Z)(e)}},4339:function(e,t,o){o.d(t,{Z:()=>l});var r=o(80651),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=n&&"object"==typeof module&&module&&!module.nodeType&&module,a=i&&i.exports===n?r.Z.Buffer:void 0;let l=(a?a.isBuffer:void 0)||function(){return!1}},84015:function(e,t,o){o.d(t,{Z:()=>i});var r=o(21452),n=o(26129);let i=function(e){if(!(0,n.Z)(e))return!1;var t=(0,r.Z)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},97830:function(e,t,o){o.d(t,{Z:()=>r});let r=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}},26129:function(e,t,o){o.d(t,{Z:()=>r});let r=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},32398:function(e,t,o){o.d(t,{Z:()=>r});let r=function(e){return null!=e&&"object"==typeof e}},56721:function(e,t,o){o.d(t,{Z:()=>i});var r=o(21452),n=o(32398);let i=function(e){return"symbol"==typeof e||(0,n.Z)(e)&&"[object Symbol]"==(0,r.Z)(e)}},77407:function(e,t,o){o.d(t,{Z:()=>u});var r=o(21452),n=o(97830),i=o(32398),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var l=o(94421),s=o(41394),c=s.Z&&s.Z.isTypedArray;let u=c?(0,l.Z)(c):function(e){return(0,i.Z)(e)&&(0,n.Z)(e.length)&&!!a[(0,r.Z)(e)]}},27042:function(e,t,o){o.d(t,{Z:()=>u});var r=o(64464),n=o(26129),i=o(98168);let a=function(e){var t=[];if(null!=e)for(var o in Object(e))t.push(o);return t};var l=Object.prototype.hasOwnProperty;let s=function(e){if(!(0,n.Z)(e))return a(e);var t=(0,i.Z)(e),o=[];for(var r in e)"constructor"==r&&(t||!l.call(e,r))||o.push(r);return o};var c=o(67737);let u=function(e){return(0,c.Z)(e)?(0,r.Z)(e,!0):s(e)}},64932:function(e,t,o){o.d(t,{Z:()=>G});var r,n,i,a,l,s,c,u=o(53146),d=o(23454),f=o(94596);let p=function(e,t,o){(void 0===o||(0,f.Z)(e[t],o))&&(void 0!==o||t in e)||(0,d.Z)(e,t,o)};var h=o(89357),m=o(83712),g=o(70980),b=o(91481),x=o(6625),y=o(75266),C=o(3073),w=o(67737),S=o(32398),_=o(4339),E=o(84015),T=o(26129),P=o(21452),$=o(76351),F=Object.prototype,k=Function.prototype.toString,M=F.hasOwnProperty,O=k.call(Object);let I=function(e){if(!(0,S.Z)(e)||"[object Object]"!=(0,P.Z)(e))return!1;var t=(0,$.Z)(e);if(null===t)return!0;var o=M.call(t,"constructor")&&t.constructor;return"function"==typeof o&&o instanceof o&&k.call(o)==O};var L=o(77407);let A=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var z=o(45169),H=o(27042);let D=function(e,t,o,r,n,i,a){var l=A(e,o),s=A(t,o),c=a.get(s);if(c)return void p(e,o,c);var u=i?i(l,s,o+"",e,t,a):void 0,d=void 0===u;if(d){var f=(0,C.Z)(s),h=!f&&(0,_.Z)(s),P=!f&&!h&&(0,L.Z)(s);(u=s,f||h||P)?(0,C.Z)(l)?u=l:(0,S.Z)(l)&&(0,w.Z)(l)?u=(0,b.Z)(l):h?(d=!1,u=(0,m.Z)(s,!0)):P?(d=!1,u=(0,g.Z)(s,!0)):u=[]:I(s)||(0,y.Z)(s)?(u=l,(0,y.Z)(l))?u=(0,z.Z)(l,(0,H.Z)(l)):(!(0,T.Z)(l)||(0,E.Z)(l))&&(u=(0,x.Z)(s)):d=!1}d&&(a.set(s,u),n(u,s,r,i,a),a.delete(s)),p(e,o,u)},B=function e(t,o,r,n,i){t!==o&&(0,h.Z)(o,function(a,l){if(i||(i=new u.Z),(0,T.Z)(a))D(t,o,l,r,e,n,i);else{var s=n?n(A(t,l),a,l+"",t,o,i):void 0;void 0===s&&(s=a),p(t,l,s)}},H.Z)};var N=o(85627);let Z=function(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)};var j=Math.max,W=o(89445),R=W.Z?function(e,t){return(0,W.Z)(e,"toString",{configurable:!0,enumerable:!1,value:function(){return t},writable:!0})}:N.Z,Y=Date.now,U=(l=0,s=0,function(){var e=Y(),t=16-(e-s);if(s=e,t>0){if(++l>=800)return arguments[0]}else l=0;return R.apply(void 0,arguments)}),X=o(1400);let V=function(e,t,o){if(!(0,T.Z)(o))return!1;var r=typeof t;return("number"==r?!!((0,w.Z)(o)&&(0,X.Z)(t,o.length)):"string"==r&&t in o)&&(0,f.Z)(o[t],e)},G=(c=function(e,t,o){B(e,t,o)},U((r=function(e,t){var o=-1,r=t.length,n=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(n=c.length>3&&"function"==typeof n?(r--,n):void 0,i&&V(t[0],t[1],i)&&(n=r<3?void 0:n,r=1),e=Object(e);++o<r;){var a=t[o];a&&c(e,a,o,n)}return e},i=n,a=N.Z,i=j(void 0===i?r.length-1:i,0),function(){for(var e=arguments,t=-1,o=j(e.length-i,0),n=Array(o);++t<o;)n[t]=e[i+t];t=-1;for(var l=Array(i+1);++t<i;)l[t]=e[t];return l[i]=a(n),Z(r,this,l)}),r+""))},20157:function(e,t,o){o.d(t,{Z:()=>p});var r=/\s/;let n=function(e){for(var t=e.length;t--&&r.test(e.charAt(t)););return t};var i=/^\s+/,a=o(26129),l=o(56721),s=0/0,c=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,d=/^0o[0-7]+$/i,f=parseInt;let p=function(e){if("number"==typeof e)return e;if((0,l.Z)(e))return s;if((0,a.Z)(e)){var t,o="function"==typeof e.valueOf?e.valueOf():e;e=(0,a.Z)(o)?o+"":o}if("string"!=typeof e)return 0===e?e:+e;e=(t=e)?t.slice(0,n(t)+1).replace(i,""):t;var r=u.test(e);return r||d.test(e)?f(e.slice(2),r?2:8):c.test(e)?s:+e}},88521:function(e,t,o){o.d(t,{Z:()=>d});var r=o(28373),n=o(75952),i=o(3073),a=o(56721),l=1/0,s=r.Z?r.Z.prototype:void 0,c=s?s.toString:void 0;let u=function e(t){if("string"==typeof t)return t;if((0,i.Z)(t))return(0,n.Z)(t,e)+"";if((0,a.Z)(t))return c?c.call(t):"";var o=t+"";return"0"==o&&1/t==-l?"-0":o},d=function(e){return null==e?"":u(e)}},1183:function(e,t,o){o.d(t,{Z:()=>c});var r=o(58786),n=o(27046),i=o(96823);let a=(0,o(144).f)("close",()=>(0,r.h)("svg",{viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},(0,r.h)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,r.h)("g",{fill:"currentColor","fill-rule":"nonzero"},(0,r.h)("path",{d:"M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z"})))));var l=o(71309);let s=(0,l.cB)("base-close",`
+}`;let i=Object.keys(n);if(0===i.length)return o.config.keepEmptyBlock?e+" {\n}":"";let a=e?[e+" {"]:[];return i.forEach(e=>{let t=n[e];if("raw"===e)return void a.push("\n"+t+"\n");e=l(e),null!=t&&a.push(` ${e}${function(e,t=" "){return"object"==typeof e&&null!==e?" {\n"+Object.entries(e).map(e=>t+` ${l(e[0])}: ${e[1]};`).join("\n")+"\n"+t+"}":`: ${e};`}(t)}`)}),e&&a.push("}"),a.join("\n")}var c=o(49257);"undefined"!=typeof window&&(window.__cssrContext={});function u(e){return function(e,t,o){let a=[];return!function e(t,o,a,l,c){let u,d=t.$,f="";if(d&&"string"!=typeof d)if("function"==typeof d){let e=d({context:l.context,props:c});(0,i.Yo)(e)?f=e:o.push(e)}else if(d.before&&d.before(l.context),d.$&&"string"!=typeof d.$){if(d.$){let e=d.$({context:l.context,props:c});(0,i.Yo)(e)?f=e:o.push(e)}}else(0,i.Yo)(d.$)?f=d.$:o.push(d.$);else(0,i.Yo)(d)?f=d:o.push(d);let p=(u=[""],o.forEach(e=>{(e=e&&e.trim())&&(u=e.includes("&")?function(e,t){let o=[];return t.split(r).forEach(t=>{let r=function(e){let t=0;for(let o=0;o<e.length;++o)"&"===e[o]&&++t;return t}(t);if(!r)return void e.forEach(e=>{o.push((e&&e+" ")+t)});if(1===r)return void e.forEach(e=>{o.push(t.replace("&",e))});let n=[t];for(;r--;){let t=[];n.forEach(o=>{e.forEach(e=>{t.push(o.replace("&",e))})}),n=t}n.forEach(e=>o.push(e))}),o}(u,e):function(e,t){let o=[];return t.split(r).forEach(t=>{e.forEach(e=>{o.push((e&&e+" ")+t)})}),o}(u,e))}),u.join(", ").replace(n," ")),h=s(p,t.props,l,c);f?a.push(`${f} {`):h.length&&a.push(h),t.children&&function e(t,o,r){t&&t.forEach(t=>{if(Array.isArray(t))e(t,o,r);else if("function"==typeof t){let n=t(o);Array.isArray(n)?e(n,o,r):n&&r(n)}else t&&r(t)})}(t.children,{context:l.context,props:c},t=>{if("string"==typeof t){let e=s(p,{raw:t},l,c);a.push(e)}else e(t,o,a,l,c)}),o.pop(),f&&a.push("}"),d&&d.after&&d.after(l.context)}(e,[],a,t,o),a.join("\n\n")}(this,this.instance,e)}function d(e={}){let{id:t,ssr:o,props:r,head:n=!1,force:a=!1,anchorMetaName:l,parent:s}=e;return function(e,t,o,r,n,a,l,s,u){var d,f;let p;if(void 0===o&&(p=t.render(r),o=(0,c.Z)(p)),u)return void u.adapter(o,null!=p?p:t.render(r));void 0===s&&(s=document.head);let h=(0,i.$F)(o,s);if(null!==h&&!a)return h;let m=null!=h?h:(0,i.az)(o);if(void 0===p&&(p=t.render(r)),m.textContent=p,null!==h)return h;if(l){let e=s.querySelector(`meta[name="${l}"]`);if(e)return s.insertBefore(m,e),d=t.els,d.push(m),m}return n?s.insertBefore(m,s.querySelector("style, link")):s.appendChild(m),f=t.els,f.push(m),m}(this.instance,this,t,r,n,a,l,s,o)}function f(e={}){let{id:t,parent:o}=e;!function(e,t,o,r){let{els:n}=t;if(void 0===o)n.forEach(i.bX),t.els=[];else{let e=(0,i.$F)(o,r);e&&n.includes(e)&&((0,i.bX)(e),t.els=n.filter(t=>t!==e))}}(this.instance,this,t,o)}let p=function(e,t,o,r){return{instance:e,$:t,props:o,children:r,els:[],render:u,mount:d,unmount:f}};function h(e={}){let t={c:(...e)=>(function(e,t,o,r){return Array.isArray(t)?p(e,{$:null},null,t):Array.isArray(o)?p(e,t,null,o):Array.isArray(r)?p(e,t,o,r):p(e,t,o,null)})(t,...e),use:(e,...o)=>e.install(t,...o),find:i.$F,context:{},config:e};return t}},51754:function(e,t,o){function r(e){if(!e)return;let t=e.parentElement;t&&t.removeChild(e)}function n(e,t){return(null!=t?t:document.head).querySelector(`style[cssr-id="${e}"]`)}function i(e){let t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function a(e){return!!e&&/^\s*@(s|m)/.test(e)}o.d(t,{$F:()=>n,Yo:()=>a,az:()=>i,bX:()=>r})},82518:function(e,t,o){function r(e){return e.composedPath()[0]}o.d(t,{S:()=>l,on:()=>a});let n={mousemoveoutside:new WeakMap,clickoutside:new WeakMap};function i(e,t,o){let i=n[e],a=i.get(t);void 0===a&&i.set(t,a=new WeakMap);let l=a.get(o);return void 0===l&&a.set(o,l=function(e,t,o){if("mousemoveoutside"===e){let e=e=>{t.contains(r(e))||o(e)};return{mousemove:e,touchstart:e}}if("clickoutside"===e){let e=!1,n=o=>{e=!t.contains(r(o))},i=n=>{e&&(t.contains(r(n))||o(n))};return{mousedown:n,mouseup:i,touchstart:n,touchend:i}}return console.error(`[evtd/create-trap-handler]: name \`${e}\` is invalid. This could be a bug of evtd.`),{}}(e,t,o)),l}let{on:a,off:l}=function(){if("undefined"==typeof window)return{on:()=>{},off:()=>{}};let e=new WeakMap,t=new WeakMap;function o(){e.set(this,!0)}function n(){e.set(this,!0),t.set(this,!0)}function s(e,t,o){let r=e[t];return e[t]=function(){return o.apply(e,arguments),r.apply(e,arguments)},e}function c(e,t){e[t]=Event.prototype[t]}let u=new WeakMap,d=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function f(){var e;return null!=(e=u.get(this))?e:null}function p(e,t){void 0!==d&&Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:null!=t?t:d.get})}let h={bubble:{},capture:{}},m={},g=function(){let i=function(i){let{type:a,eventPhase:l,bubbles:d}=i,m=r(i);if(2===l)return;let g=1===l?"capture":"bubble",b=m,x=[];for(;null===b&&(b=window),x.push(b),b!==window;)b=b.parentNode||null;let y=h.capture[a],C=h.bubble[a];if(s(i,"stopPropagation",o),s(i,"stopImmediatePropagation",n),p(i,f),"capture"===g){if(void 0===y)return;for(let o=x.length-1;o>=0&&!e.has(i);--o){let e=x[o],r=y.get(e);if(void 0!==r)for(let o of(u.set(i,e),r)){if(t.has(i))break;o(i)}if(0===o&&!d&&void 0!==C){let o=C.get(e);if(void 0!==o)for(let e of o){if(t.has(i))break;e(i)}}}}else if("bubble"===g){if(void 0===C)return;for(let o=0;o<x.length&&!e.has(i);++o){let e=x[o],r=C.get(e);if(void 0!==r)for(let o of(u.set(i,e),r)){if(t.has(i))break;o(i)}}}c(i,"stopPropagation"),c(i,"stopImmediatePropagation"),p(i)};return i.displayName="evtdUnifiedHandler",i}(),b=function(){let e=function(e){let{type:t,eventPhase:o}=e;if(2!==o)return;let r=m[t];void 0!==r&&r.forEach(t=>t(e))};return e.displayName="evtdUnifiedWindowEventHandler",e}();function x(e,t){let o=h[e];return void 0===o[t]&&(o[t]=new Map,window.addEventListener(t,g,"capture"===e)),o[t]}function y(e,t){let o=e.get(t);return void 0===o&&e.set(t,o=new Set),o}function C(e,t,o,r){if(function(e,t,o,r){if("mousemoveoutside"===e||"clickoutside"===e){let n=i(e,t,o);return Object.keys(n).forEach(e=>{l(e,document,n[e],r)}),!0}return!1}(e,t,o,r))return;let n=!0===r||"object"==typeof r&&!0===r.capture,a=n?"capture":"bubble",s=x(a,e),c=y(s,t);if(t===window&&!function(e,t,o,r){let n=h[t][o];if(void 0!==n){let t=n.get(e);if(void 0!==t&&t.has(r))return!0}return!1}(t,n?"bubble":"capture",e,o)&&function(e,t){let o=m[e];return!!(void 0!==o&&o.has(t))}(e,o)){let t=m[e];t.delete(o),0===t.size&&(window.removeEventListener(e,b),m[e]=void 0)}c.has(o)&&c.delete(o),0===c.size&&s.delete(t),0===s.size&&(window.removeEventListener(e,g,"capture"===a),h[a][e]=void 0)}return{on:function(e,t,o,r){let n;if(n="object"==typeof r&&!0===r.once?i=>{C(e,t,n,r),o(i)}:o,function(e,t,o,r){if("mousemoveoutside"===e||"clickoutside"===e){let n=i(e,t,o);return Object.keys(n).forEach(e=>{a(e,document,n[e],r)}),!0}return!1}(e,t,n,r))return;let l=y(x(!0===r||"object"==typeof r&&!0===r.capture?"capture":"bubble",e),t);if(l.has(n)||l.add(n),t===window){let t=(void 0===m[e]&&(m[e]=new Set,window.addEventListener(e,b)),m[e]);t.has(n)||t.add(n)}},off:C}}()},73023:function(e,t,o){o.d(t,{Z:()=>S});var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var o=-1;return e.some(function(e,r){return e[0]===t&&(o=r,!0)}),o}function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var o=e(this.__entries__,t),r=this.__entries__[o];return r&&r[1]},t.prototype.set=function(t,o){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=o:this.__entries__.push([t,o])},t.prototype.delete=function(t){var o=this.__entries__,r=e(o,t);~r&&o.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var o=0,r=this.__entries__;o<r.length;o++){var n=r[o];e.call(t,n[1],n[0])}},t}(),n="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==o.g&&o.g.Math===Math?o.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},l=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var o=!1,r=!1,n=0;function i(){o&&(o=!1,e()),r&&s()}function l(){a(i)}function s(){var e=Date.now();if(o){if(e-n<2)return;r=!0}else o=!0,r=!1,setTimeout(l,20);n=e}return s}(this.refresh.bind(this),0)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,o=t.indexOf(e);~o&&t.splice(o,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,o=void 0===t?"":t;l.some(function(e){return!!~o.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var o=0,r=Object.keys(t);o<r.length;o++){var n=r[o];Object.defineProperty(e,n,{value:t[n],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},f=g(0,0,0,0);function p(e){return parseFloat(e)||0}function h(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];return t.reduce(function(t,o){return t+p(e["border-"+o+"-width"])},0)}var m="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function g(e,t,o,r){return{x:e,y:t,width:o,height:r}}var b=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=function(e){if(!n)return f;if(m(e)){var t;return g(0,0,(t=e.getBBox()).width,t.height)}return function(e){var t,o=e.clientWidth,r=e.clientHeight;if(!o&&!r)return f;var n=d(e).getComputedStyle(e),i=function(e){for(var t={},o=0,r=["top","right","bottom","left"];o<r.length;o++){var n=r[o],i=e["padding-"+n];t[n]=p(i)}return t}(n),a=i.left+i.right,l=i.top+i.bottom,s=p(n.width),c=p(n.height);if("border-box"===n.boxSizing&&(Math.round(s+a)!==o&&(s-=h(n,"left","right")+a),Math.round(c+l)!==r&&(c-=h(n,"top","bottom")+l)),(t=e)!==d(t).document.documentElement){var u=Math.round(s+a)-o,m=Math.round(c+l)-r;1!==Math.abs(u)&&(s-=u),1!==Math.abs(m)&&(c-=m)}return g(i.left,i.top,s,c)}(e)}(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),x=function(e,t){var o,r,n,i,a,l=(o=t.x,r=t.y,n=t.width,i=t.height,u(a=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:o,y:r,width:n,height:i,top:r,right:o+n,bottom:i+r,left:o}),a);u(this,{target:e,contentRect:l})},y=function(){function e(e,t,o){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=o}return e.prototype.observe=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new x(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),C="undefined"!=typeof WeakMap?new WeakMap:new r,w=function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var o=new y(t,c.getInstance(),this);C.set(this,o)};["observe","unobserve","disconnect"].forEach(function(e){w.prototype[e]=function(){var t;return(t=C.get(this))[e].apply(t,arguments)}});let S=void 0!==i.ResizeObserver?i.ResizeObserver:w},98965:function(e,t,o){function r(e,t,o){let r=(t/=100)*Math.min(o/=100,1-o)+o;return[e,r?(2-2*o/r)*100:0,100*r]}function n(e,t,o){let r=(o/=100)-o*(t/=100)/2,n=Math.min(r,1-r);return[e,n?(o-r)/n*100:0,100*r]}function i(e,t,o){t/=100,o/=100;let r=(r,n=(r+e/60)%6)=>o-o*t*Math.max(Math.min(n,4-n,1),0);return[255*r(5),255*r(3),255*r(1)]}function a(e,t,o){let r=Math.max(e/=255,t/=255,o/=255),n=r-Math.min(e,t,o),i=n&&(r==e?(t-o)/n:r==t?2+(o-e)/n:4+(e-t)/n);return[60*(i<0?i+6:i),r&&n/r*100,100*r]}function l(e,t,o){let r=Math.max(e/=255,t/=255,o/=255),n=r-Math.min(e,t,o),i=1-Math.abs(r+r-n-1),a=n&&(r==e?(t-o)/n:r==t?2+(o-e)/n:4+(e-t)/n);return[60*(a<0?a+6:a),i?n/i*100:0,(r+r-n)*50]}function s(e,t,o){let r=(t/=100)*Math.min(o/=100,1-o),n=(t,n=(t+e/30)%12)=>o-r*Math.max(Math.min(n-3,9-n,1),-1);return[255*n(0),255*n(8),255*n(4)]}o.d(t,{DM:()=>a,EV:()=>r,XG:()=>i,XL:()=>l,pL:()=>n,wX:()=>s})},19595:function(e,t,o){o.d(t,{ap:()=>_,XA:()=>N,nE:()=>H,e3:()=>A,zX:()=>$,Jn:()=>S,h$:()=>P,DU:()=>D,f4:()=>B,wW:()=>z,U8:()=>L,zv:()=>Z,tn:()=>F,m4:()=>E});let r={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#0FF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000",blanchedalmond:"#FFEBCD",blue:"#00F",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#0FF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",darkgreen:"#006400",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#F0F",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#0F0",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#F0F",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#F00",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFF",whitesmoke:"#F5F5F5",yellow:"#FF0",yellowgreen:"#9ACD32",transparent:"#0000"};var n=o(98965);let i="^\\s*",a="\\s*$",l="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))%\\s*",s="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",c="([0-9A-Fa-f])",u="([0-9A-Fa-f]{2})",d=RegExp(`${i}hsl\\s*\\(${s},${l},${l}\\)${a}`),f=RegExp(`${i}hsv\\s*\\(${s},${l},${l}\\)${a}`),p=RegExp(`${i}hsla\\s*\\(${s},${l},${l},${s}\\)${a}`),h=RegExp(`${i}hsva\\s*\\(${s},${l},${l},${s}\\)${a}`),m=RegExp(`${i}rgb\\s*\\(${s},${s},${s}\\)${a}`),g=RegExp(`${i}rgba\\s*\\(${s},${s},${s},${s}\\)${a}`),b=RegExp(`${i}#${c}${c}${c}${a}`),x=RegExp(`${i}#${u}${u}${u}${a}`),y=RegExp(`${i}#${c}${c}${c}${c}${a}`),C=RegExp(`${i}#${u}${u}${u}${u}${a}`);function w(e){return parseInt(e,16)}function S(e){try{let t;if(t=p.exec(e))return[M(t[1]),I(t[5]),I(t[9]),k(t[13])];if(t=d.exec(e))return[M(t[1]),I(t[5]),I(t[9]),1];throw Error(`[seemly/hsla]: Invalid color value ${e}.`)}catch(e){throw e}}function _(e){try{let t;if(t=h.exec(e))return[M(t[1]),I(t[5]),I(t[9]),k(t[13])];if(t=f.exec(e))return[M(t[1]),I(t[5]),I(t[9]),1];throw Error(`[seemly/hsva]: Invalid color value ${e}.`)}catch(e){throw e}}function E(e){try{let t;if(t=x.exec(e))return[w(t[1]),w(t[2]),w(t[3]),1];if(t=m.exec(e))return[O(t[1]),O(t[5]),O(t[9]),1];if(t=g.exec(e))return[O(t[1]),O(t[5]),O(t[9]),k(t[13])];else if(t=b.exec(e))return[w(t[1]+t[1]),w(t[2]+t[2]),w(t[3]+t[3]),1];else if(t=C.exec(e))return[w(t[1]),w(t[2]),w(t[3]),k(w(t[4])/255)];else if(t=y.exec(e))return[w(t[1]+t[1]),w(t[2]+t[2]),w(t[3]+t[3]),k(w(t[4]+t[4])/255)];else if(e in r)return E(r[e]);else if(d.test(e)||p.test(e)){let[t,o,r,i]=S(e);return[...(0,n.wX)(t,o,r),i]}else if(f.test(e)||h.test(e)){let[t,o,r,i]=_(e);return[...(0,n.XG)(t,o,r),i]}throw Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(e){throw e}}function T(e,t,o,r){return`rgba(${O(e)}, ${O(t)}, ${O(o)}, ${r>1?1:r<0?0:r})`}function P(e,t){var o,r,n;Array.isArray(e)||(e=E(e)),Array.isArray(t)||(t=E(t));let i=e[3],a=t[3],l=k(i+a-i*a);return T((o=e[0],O((o*i*(1-a)+t[0]*a)/l)),(r=e[1],O((r*i*(1-a)+t[1]*a)/l)),(n=e[2],O((n*i*(1-a)+t[2]*a)/l)),l)}function $(e,t){let[o,r,n,i=1]=Array.isArray(e)?e:E(e);return"number"==typeof t.alpha?T(o,r,n,t.alpha):T(o,r,n,i)}function F(e,t){let[o,r,n,i=1]=Array.isArray(e)?e:E(e),{lightness:a=1,alpha:l=1}=t;return A([o*a,r*a,n*a,i*l])}function k(e){let t=Math.round(100*Number(e))/100;return t>1?1:t<0?0:t}function M(e){let t=Math.round(Number(e));return t>=360||t<0?0:t}function O(e){let t=Math.round(Number(e));return t>255?255:t<0?0:t}function I(e){let t=Math.round(Number(e));return t>100?100:t<0?0:t}function L(e){let[t,o,r]=Array.isArray(e)?e:E(e);return`rgb(${O(t)}, ${O(o)}, ${O(r)})`}function A(e){let[t,o,r]=e;return 3 in e?`rgba(${O(t)}, ${O(o)}, ${O(r)}, ${k(e[3])})`:`rgba(${O(t)}, ${O(o)}, ${O(r)}, 1)`}function z(e){return`hsv(${M(e[0])}, ${I(e[1])}%, ${I(e[2])}%)`}function H(e){let[t,o,r]=e;return 3 in e?`hsva(${M(t)}, ${I(o)}%, ${I(r)}%, ${k(e[3])})`:`hsva(${M(t)}, ${I(o)}%, ${I(r)}%, 1)`}function D(e){return`hsl(${M(e[0])}, ${I(e[1])}%, ${I(e[2])}%)`}function B(e){let[t,o,r]=e;return 3 in e?`hsla(${M(t)}, ${I(o)}%, ${I(r)}%, ${k(e[3])})`:`hsla(${M(t)}, ${I(o)}%, ${I(r)}%, 1)`}function N(e){if("string"==typeof e){let t;if(t=x.exec(e))return`${t[0]}FF`;if(t=C.exec(e))return t[0];if(t=b.exec(e))return`#${t[1]}${t[1]}${t[2]}${t[2]}${t[3]}${t[3]}FF`;else if(t=y.exec(e))return`#${t[1]}${t[1]}${t[2]}${t[2]}${t[3]}${t[3]}${t[4]}${t[4]}`;throw Error(`[seemly/toHexString]: Invalid hex value ${e}.`)}return`#${e.slice(0,3).map(e=>O(e).toString(16).toUpperCase().padStart(2,"0")).join("")}`+(3===e.length?"FF":O(255*e[3]).toString(16).padStart(2,"0").toUpperCase())}function Z(e){if("string"==typeof e){let t;if(t=x.exec(e))return t[0];if(t=C.exec(e))return t[0].slice(0,7);if(t=b.exec(e)||y.exec(e))return`#${t[1]}${t[1]}${t[2]}${t[2]}${t[3]}${t[3]}`;throw Error(`[seemly/toHexString]: Invalid hex value ${e}.`)}return`#${e.slice(0,3).map(e=>O(e).toString(16).toUpperCase().padStart(2,"0")).join("")}`}},65083:function(e,t,o){function r(e){return"string"==typeof e?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function n(e){if(null!=e)return"number"==typeof e?`${e}px`:e.endsWith("px")?e:`${e}px`}function i(e,t){let o=e.trim().split(/\s+/g),r={top:o[0]};switch(o.length){case 1:r.right=o[0],r.bottom=o[0],r.left=o[0];break;case 2:r.right=o[1],r.left=o[1],r.bottom=o[0];break;case 3:r.right=o[1],r.bottom=o[2],r.left=o[1];break;case 4:r.right=o[1],r.bottom=o[2],r.left=o[3];break;default:throw Error("[seemly/getMargin]:"+e+" is not a valid value.")}return void 0===t?r:r[t]}function a(e,t){let[o,r]=e.split(" ");return t?"row"===t?o:r:{row:o,col:r||o}}o.d(t,{BL:()=>n,fQ:()=>r,mH:()=>i,tQ:()=>i,yU:()=>a})},97931:function(e,t,o){o.d(t,{p:()=>r});function r(e){return e.composedPath()[0]||null}},17102:function(e,t,o){function r(e=8){return Math.random().toString(16).slice(2,2+e)}function n(e,t){let o=[];for(let r=0;r<e;++r)o.push(t);return o}o.d(t,{Mc:()=>r,rx:()=>n})},34649:function(e,t,o){o.d(t,{Z:()=>i});var r=o(82518);let n="@@coContext",i={mounted(e,{value:t,modifiers:o}){e[n]={handler:void 0},"function"==typeof t&&(e[n].handler=t,(0,r.on)("clickoutside",e,t,{capture:o.capture}))},updated(e,{value:t,modifiers:o}){let i=e[n];"function"==typeof t?i.handler?i.handler!==t&&((0,r.S)("clickoutside",e,i.handler,{capture:o.capture}),i.handler=t,(0,r.on)("clickoutside",e,t,{capture:o.capture})):(e[n].handler=t,(0,r.on)("clickoutside",e,t,{capture:o.capture})):i.handler&&((0,r.S)("clickoutside",e,i.handler,{capture:o.capture}),i.handler=void 0)},unmounted(e,{modifiers:t}){let{handler:o}=e[n];o&&(0,r.S)("clickoutside",e,o,{capture:t.capture}),e[n].handler=void 0}}},71465:function(e,t,o){o.d(t,{Z:()=>i});let r=new class{constructor(){this.elementZIndex=new Map,this.nextZIndex=2e3}get elementCount(){return this.elementZIndex.size}ensureZIndex(e,t){let{elementZIndex:o}=this;if(void 0!==t){e.style.zIndex=`${t}`,o.delete(e);return}let{nextZIndex:r}=this;o.has(e)&&o.get(e)+1===this.nextZIndex||(e.style.zIndex=`${r}`,o.set(e,r),this.nextZIndex=r+1,this.squashState())}unregister(e,t){let{elementZIndex:o}=this;o.has(e)?o.delete(e):void 0===t&&console.error("[vdirs/z-index-manager/unregister-element]: Element not found when unregistering."),this.squashState()}squashState(){let{elementCount:e}=this;e||(this.nextZIndex=2e3),this.nextZIndex-e>2500&&this.rearrange()}rearrange(){let e=Array.from(this.elementZIndex.entries());e.sort((e,t)=>e[1]-t[1]),this.nextZIndex=2e3,e.forEach(e=>{let t=e[0],o=this.nextZIndex++;`${o}`!==t.style.zIndex&&(t.style.zIndex=`${o}`)})}},n="@@ziContext",i={mounted(e,t){let{value:o={}}=t,{zIndex:i,enabled:a}=o;e[n]={enabled:!!a,initialized:!1},a&&(r.ensureZIndex(e,i),e[n].initialized=!0)},updated(e,t){let{value:o={}}=t,{zIndex:i,enabled:a}=o,l=e[n].enabled;a&&!l&&(r.ensureZIndex(e,i),e[n].initialized=!0),e[n].enabled=!!a},unmounted(e,t){if(!e[n].initialized)return;let{value:o={}}=t,{zIndex:i}=o;r.unregister(e,i)}}},23967:function(e,t,o){o.d(t,{Z:()=>n});var r=o(58786);function n(){let e=(0,r.iH)(!1);return(0,r.bv)(()=>{e.value=!0}),(0,r.OT)(e)}},6306:function(e,t,o){o.d(t,{Z:()=>u});var r=o(58786),n=o(82518),i=o(86223);let a=(0,r.iH)(null);function l(e){if(e.clientX>0||e.clientY>0)a.value={x:e.clientX,y:e.clientY};else{let{target:t}=e;if(t instanceof Element){let{left:e,top:o,width:r,height:n}=t.getBoundingClientRect();e>0||o>0?a.value={x:e+r/2,y:o+n/2}:a.value={x:0,y:0}}else a.value=null}}let s=0,c=!0;function u(){if(!i.j)return(0,r.OT)((0,r.iH)(null));0===s&&(0,n.on)("click",document,l,!0);let e=()=>{s+=1};return c&&(c=(0,i.N)())?((0,r.wF)(e),(0,r.Jd)(()=>{0==(s-=1)&&(0,n.S)("click",document,l,!0)})):e(),(0,r.OT)(a)}},24786:function(e,t,o){o.d(t,{Z:()=>u});var r=o(58786),n=o(82518),i=o(86223);let a=(0,r.iH)(void 0),l=0;function s(){a.value=Date.now()}let c=!0;function u(e){if(!i.j)return(0,r.OT)((0,r.iH)(!1));let t=(0,r.iH)(!1),o=null;function a(){null!==o&&window.clearTimeout(o)}function u(){a(),t.value=!0,o=window.setTimeout(()=>{t.value=!1},e)}0===l&&(0,n.on)("click",window,s,!0);let d=()=>{l+=1,(0,n.on)("click",window,u,!0)};return c&&(c=(0,i.N)())?((0,r.wF)(d),(0,r.Jd)(()=>{0==(l-=1)&&(0,n.S)("click",window,s,!0),(0,n.S)("click",window,u,!0),a()})):d(),(0,r.OT)(t)}},7740:function(e,t,o){o.d(t,{Z:()=>n});var r=o(58786);function n(e){let t=(0,r.iH)(!!e.value);if(t.value)return(0,r.OT)(t);let o=(0,r.YP)(e,e=>{e&&(t.value=!0,o())});return(0,r.OT)(t)}},61691:function(e,t,o){o.d(t,{Z:()=>n});var r=o(58786);let n=function(e){let t=(0,r.Fl)(e),o=(0,r.iH)(t.value);return((0,r.YP)(t,e=>{o.value=e}),"function"==typeof e)?o:{__v_isRef:!0,get value(){return o.value},set value(v){e.set(v)}}}},86223:function(e,t,o){o.d(t,{N:()=>n,j:()=>i});var r=o(58786);function n(){return null!==(0,r.FN)()}let i="undefined"!=typeof window},44337:function(e,t,o){o.d(t,{i:()=>d});var r=o(58786),n=o(17102),i=o(97931),a=o(82518);function l(e){return e instanceof HTMLElement}function s(e){if(!function(e){if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type&&"file"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}(e))return!1;try{e.focus({preventScroll:!0})}catch(e){}return document.activeElement===e}function c(e){return"string"==typeof e?document.querySelector(e):e()}let u=[],d=(0,r.aZ)({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){let t=(0,n.Mc)(),o=(0,r.iH)(null),d=(0,r.iH)(null),f=!1,p=!1,h="undefined"==typeof document?null:document.activeElement;function m(){return u[u.length-1]===t}function g(t){var o;"Escape"===t.code&&m()&&(null==(o=e.onEsc)||o.call(e,t))}function b(e){if(!p&&m()){let t=x();null===t||t.contains((0,i.p)(e))||C("first")}}function x(){let e=o.value;if(null===e)return null;let t=e;for(;!(null===(t=t.nextSibling)||t instanceof Element&&"DIV"===t.tagName););return t}function y(){var o;if(e.disabled||(document.removeEventListener("focus",b,!0),u=u.filter(e=>e!==t),m()))return;let{finalFocusTo:r}=e;void 0!==r?null==(o=c(r))||o.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&h instanceof HTMLElement&&(p=!0,h.focus({preventScroll:!0}),p=!1)}function C(t){if(m()&&e.active){let e=o.value,r=d.value;if(null!==e&&null!==r){let o=x();if(null==o||o===r){p=!0,e.focus({preventScroll:!0}),p=!1;return}p=!0;let n="first"===t?function e(t){for(let o=0;o<t.childNodes.length;o++){let r=t.childNodes[o];if(l(r)&&(s(r)||e(r)))return!0}return!1}(o):function e(t){for(let o=t.childNodes.length-1;o>=0;o--){let r=t.childNodes[o];if(l(r)&&(s(r)||e(r)))return!0}return!1}(o);p=!1,n||(p=!0,e.focus({preventScroll:!0}),p=!1)}}}return(0,r.bv)(()=>{(0,r.YP)(()=>e.active,o=>{o?(function(){var o;if(!e.disabled){if(u.push(t),e.autoFocus){let{initialFocusTo:t}=e;void 0===t?C("first"):null==(o=c(t))||o.focus({preventScroll:!0})}f=!0,document.addEventListener("focus",b,!0)}}(),(0,a.on)("keydown",document,g)):((0,a.S)("keydown",document,g),f&&y())},{immediate:!0})}),(0,r.Jd)(()=>{(0,a.S)("keydown",document,g),f&&y()}),{focusableStartRef:o,focusableEndRef:d,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:function(e){if(p)return;let t=x();null!==t&&(null!==e.relatedTarget&&t.contains(e.relatedTarget)?C("last"):C("first"))},handleEndFocus:function(e){p||(null!==e.relatedTarget&&e.relatedTarget===o.value?C("last"):C("first"))}}},render(){let{default:e}=this.$slots;if(void 0===e)return null;if(this.disabled)return e();let{active:t,focusableStyle:o}=this;return(0,r.h)(r.HY,null,[(0,r.h)("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:o,onFocus:this.handleStartFocus}),e(),(0,r.h)("div",{"aria-hidden":"true",style:o,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}})},60794:function(e,t,o){o.d(t,{Z:()=>a});var r=o(58786),n=o(7740),i=o(97355);let a=(0,r.aZ)({name:"LazyTeleport",props:{to:{type:[String,Object],default:void 0},disabled:Boolean,show:{type:Boolean,required:!0}},setup:e=>({showTeleport:(0,n.Z)((0,r.Vh)(e,"show")),mergedTo:(0,r.Fl)(()=>{let{to:t}=e;return null!=t?t:"body"})}),render(){return this.showTeleport?this.disabled?(0,i.z9)("lazy-teleport",this.$slots):(0,r.h)(r.lR,{disabled:this.disabled,to:this.mergedTo},(0,i.z9)("lazy-teleport",this.$slots)):null}})},70020:function(e,t,o){o.d(t,{Z:()=>a});var r=o(58786),n=o(33949);function i(e,t){console.error(`[vueuc/${e}]: ${t}`)}let a=(0,r.aZ)({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1,o=(0,r.FN)().proxy;function a(t){let{onResize:o}=e;void 0!==o&&o(t)}(0,r.bv)(()=>{let e=o.$el;return void 0===e?void i("resize-observer","$el does not exist."):e.nextElementSibling!==e.nextSibling&&3===e.nodeType&&""!==e.nodeValue?void i("resize-observer","$el can not be observed (it may be a text node)."):void(null!==e.nextElementSibling&&(n.Z.registerHandler(e.nextElementSibling,a),t=!0))}),(0,r.Jd)(()=>{t&&n.Z.unregisterHandler(o.$el.nextElementSibling)})},render(){return(0,r.WI)(this.$slots,"default")}})},33949:function(e,t,o){o.d(t,{Z:()=>V});var r,n,i,a=[],l="ResizeObserver loop completed with undelivered notifications.",s=function(){var e;"function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:l}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=l),window.dispatchEvent(e)};(r=n||(n={})).BORDER_BOX="border-box",r.CONTENT_BOX="content-box",r.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box";var c=function(e){return Object.freeze(e)},u=function(e,t){this.inlineSize=e,this.blockSize=t,c(this)},d=function(){function e(e,t,o,r){return this.x=e,this.y=t,this.width=o,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,c(this)}return e.prototype.toJSON=function(){return{x:this.x,y:this.y,top:this.top,right:this.right,bottom:this.bottom,left:this.left,width:this.width,height:this.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),f=function(e){return e instanceof SVGElement&&"getBBox"in e},p=function(e){if(f(e)){var t=e.getBBox(),o=t.width,r=t.height;return!o&&!r}var n=e.offsetWidth,i=e.offsetHeight;return!(n||i||e.getClientRects().length)},h=function(e){if(e instanceof Element)return!0;var t,o=null==(t=null==e?void 0:e.ownerDocument)?void 0:t.defaultView;return!!(o&&e instanceof o.Element)},m=function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},g="undefined"!=typeof window?window:{},b=new WeakMap,x=/auto|scroll/,y=/^tb|vertical/,C=/msie|trident/i.test(g.navigator&&g.navigator.userAgent),w=function(e){return parseFloat(e||"0")},S=function(e,t,o){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===o&&(o=!1),new u((o?t:e)||0,(o?e:t)||0)},_=c({devicePixelContentBoxSize:S(),borderBoxSize:S(),contentBoxSize:S(),contentRect:new d(0,0,0,0)}),E=function(e,t){if(void 0===t&&(t=!1),b.has(e)&&!t)return b.get(e);if(p(e))return b.set(e,_),_;var o=getComputedStyle(e),r=f(e)&&e.ownerSVGElement&&e.getBBox(),n=!C&&"border-box"===o.boxSizing,i=y.test(o.writingMode||""),a=!r&&x.test(o.overflowY||""),l=!r&&x.test(o.overflowX||""),s=r?0:w(o.paddingTop),u=r?0:w(o.paddingRight),h=r?0:w(o.paddingBottom),m=r?0:w(o.paddingLeft),g=r?0:w(o.borderTopWidth),E=r?0:w(o.borderRightWidth),T=r?0:w(o.borderBottomWidth),P=r?0:w(o.borderLeftWidth),$=m+u,F=s+h,k=P+E,M=g+T,O=l?e.offsetHeight-M-e.clientHeight:0,I=a?e.offsetWidth-k-e.clientWidth:0,L=r?r.width:w(o.width)-(n?$+k:0)-I,A=r?r.height:w(o.height)-(n?F+M:0)-O,z=L+$+I+k,H=A+F+O+M,D=c({devicePixelContentBoxSize:S(Math.round(L*devicePixelRatio),Math.round(A*devicePixelRatio),i),borderBoxSize:S(z,H,i),contentBoxSize:S(L,A,i),contentRect:new d(m,s,L,A)});return b.set(e,D),D},T=function(e,t,o){var r=E(e,o),i=r.borderBoxSize,a=r.contentBoxSize,l=r.devicePixelContentBoxSize;switch(t){case n.DEVICE_PIXEL_CONTENT_BOX:return l;case n.BORDER_BOX:return i;default:return a}},P=function(e){var t=E(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=c([t.borderBoxSize]),this.contentBoxSize=c([t.contentBoxSize]),this.devicePixelContentBoxSize=c([t.devicePixelContentBoxSize])},$=function(e){if(p(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},F=function(){var e=1/0,t=[];a.forEach(function(o){if(0!==o.activeTargets.length){var r=[];o.activeTargets.forEach(function(t){var o=new P(t.target),n=$(t.target);r.push(o),t.lastReportedSize=T(t.target,t.observedBox),n<e&&(e=n)}),t.push(function(){o.callback.call(o.observer,r,o.observer)}),o.activeTargets.splice(0,o.activeTargets.length)}});for(var o=0;o<t.length;o++)(0,t[o])();return e},k=function(e){a.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(o){o.isActive()&&($(o.target)>e?t.activeTargets.push(o):t.skippedTargets.push(o))})})},M=function(){var e=0;for(k(0);a.some(function(e){return e.activeTargets.length>0});)k(e=F());return a.some(function(e){return e.skippedTargets.length>0})&&s(),e>0},O=[],I=function(e){if(!i){var t=0,o=document.createTextNode("");new MutationObserver(function(){return O.splice(0).forEach(function(e){return e()})}).observe(o,{characterData:!0}),i=function(){o.textContent="".concat(t?t--:t++)}}O.push(e),i()},L=function(e){I(function(){requestAnimationFrame(e)})},A=0,z={attributes:!0,characterData:!0,childList:!0,subtree:!0},H=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],D=function(e){return void 0===e&&(e=0),Date.now()+e},B=!1,N=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!B){B=!0;var o=D(e);L(function(){var r=!1;try{r=M()}finally{if(B=!1,e=o-D(),!A)return;r?t.run(1e3):e>0?t.run(e):t.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,z)};document.body?t():g.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),H.forEach(function(t){return g.addEventListener(t,e.listener,!0)}))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),H.forEach(function(t){return g.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},e}()),Z=function(e){!A&&e>0&&N.start(),(A+=e)||N.stop()},j=function(){function e(e,t){this.target=e,this.observedBox=t||n.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=T(this.target,this.observedBox,!0);return f(e=this.target)||m(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),W=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},R=new WeakMap,Y=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return -1},U=function(){function e(){}return e.connect=function(e,t){var o=new W(e,t);R.set(e,o)},e.observe=function(e,t,o){var r=R.get(e),n=0===r.observationTargets.length;0>Y(r.observationTargets,t)&&(n&&a.push(r),r.observationTargets.push(new j(t,o&&o.box)),Z(1),N.schedule())},e.unobserve=function(e,t){var o=R.get(e),r=Y(o.observationTargets,t),n=1===o.observationTargets.length;r>=0&&(n&&a.splice(a.indexOf(o),1),o.observationTargets.splice(r,1),Z(-1))},e.disconnect=function(e){var t=this,o=R.get(e);o.observationTargets.slice().forEach(function(o){return t.unobserve(e,o.target)}),o.activeTargets.splice(0,o.activeTargets.length)},e}(),X=function(){function e(e){if(0==arguments.length)throw TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");U.connect(this,e)}return e.prototype.observe=function(e,t){if(0==arguments.length)throw TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!h(e))throw TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");U.observe(this,e,t)},e.prototype.unobserve=function(e){if(0==arguments.length)throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!h(e))throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");U.unobserve(this,e)},e.prototype.disconnect=function(){U.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();let V=new class{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new("undefined"!=typeof window&&window.ResizeObserver||X)(this.handleResize),this.elHandlersMap=new Map}handleResize(e){for(let t of e){let e=this.elHandlersMap.get(t.target);void 0!==e&&e(t)}}registerHandler(e,t){this.elHandlersMap.set(e,t),this.observer.observe(e)}unregisterHandler(e){this.elHandlersMap.has(e)&&(this.elHandlersMap.delete(e),this.observer.unobserve(e))}}},97355:function(e,t,o){o.d(t,{Nb:()=>i,z9:()=>n});var r=o(58786);function n(e,t,o="default"){let r=t[o];if(void 0===r)throw Error(`[vueuc/${e}]: slot[${o}] is empty.`);return r()}function i(e,t,o="default"){let n=t[o];if(void 0===n)throw Error(`[vueuc/${e}]: slot[${o}] is empty.`);let a=function e(t,o=!0,n=[]){return t.forEach(t=>{if(null!==t){if("object"!=typeof t){("string"==typeof t||"number"==typeof t)&&n.push((0,r.Uk)(String(t)));return}if(Array.isArray(t))return void e(t,o,n);if(t.type===r.HY){if(null===t.children)return;Array.isArray(t.children)&&e(t.children,o,n)}else t.type!==r.sv&&n.push(t)}}),n}(n());if(1===a.length)return a[0];throw Error(`[vueuc/${e}]: slot[${o}] should have exactly one child.`)}},40833:function(e,t,o){o.d(t,{_:()=>r});function r(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}},94821:function(e,t,o){o.d(t,{VPI:()=>h,iPe:()=>g,rBN:()=>m,tLD:()=>f});var r=o(22895),n=o(58786);let i=r.C5?window:void 0;r.C5&&window.document;let a=r.C5?window.navigator:void 0;function l(e){var t;let o=(0,n.Tn)(e);return null!=(t=null==o?void 0:o.$el)?t:o}function s(...e){let t=[],o=()=>{t.forEach(e=>e()),t.length=0},a=(e,t,o,r)=>(e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)),c=(0,n.Fl)(()=>{let t=(0,r.qo)((0,n.Tn)(e[0])).filter(e=>null!=e);return t.every(e=>"string"!=typeof e)?t:void 0}),u=(0,r.rk)(()=>{var t,o;return[null!=(o=null==(t=c.value)?void 0:t.map(e=>l(e)))?o:[i].filter(e=>null!=e),(0,r.qo)((0,n.Tn)(c.value?e[1]:e[0])),(0,r.qo)((0,n.SU)(c.value?e[2]:e[1])),(0,n.Tn)(c.value?e[3]:e[2])]},([e,n,i,l])=>{if(o(),!(null==e?void 0:e.length)||!(null==n?void 0:n.length)||!(null==i?void 0:i.length))return;let s=(0,r.Kn)(l)?{...l}:l;t.push(...e.flatMap(e=>n.flatMap(t=>i.map(o=>a(e,t,o,s)))))},{flush:"post"});return(0,r.IY)(o),()=>{u(),o()}}function c(e){let t=function(){let e=(0,n.XI)(!1),t=(0,n.FN)();return t&&(0,n.bv)(()=>{e.value=!0},t),e}();return(0,n.Fl)(()=>(t.value,!!e()))}r.C5&&window.location;let u=Symbol("vueuse-ssr-width"),d=["hash","host","hostname","href","pathname","port","protocol","search"];function f(e={}){let{window:t=i}=e,o=Object.fromEntries(d.map(e=>[e,(0,n.iH)()]));for(let[e,i]of(0,r.qP)(o))(0,n.YP)(i,o=>{(null==t?void 0:t.location)&&t.location[e]!==o&&(t.location[e]=o)});let a=e=>{var r;let{state:i,length:a}=(null==t?void 0:t.history)||{},{origin:l}=(null==t?void 0:t.location)||{};for(let e of d)o[e].value=null==(r=null==t?void 0:t.location)?void 0:r[e];return(0,n.qj)({trigger:e,state:i,length:a,origin:l,...o})},l=(0,n.iH)(a("load"));if(t){let e={passive:!0};s(t,"popstate",()=>l.value=a("popstate"),e),s(t,"hashchange",()=>l.value=a("hashchange"),e)}return l}function p(e,t={}){let{controls:o=!1,navigator:i=a}=t,l=c(()=>i&&"permissions"in i),u=(0,n.XI)(),d="string"==typeof e?{name:e}:e,f=(0,n.XI)(),h=()=>{var e,t;f.value=null!=(t=null==(e=u.value)?void 0:e.state)?t:"prompt"};s(u,"change",h,{passive:!0});let m=(0,r._m)(async()=>{if(l.value){if(!u.value)try{u.value=await i.permissions.query(d)}catch(e){u.value=void 0}finally{h()}if(o)return(0,n.IU)(u.value)}});return(m(),o)?{state:f,isSupported:l,query:m}:f}function h(e={}){let{navigator:t=a,read:o=!1,source:i,copiedDuring:l=1500,legacy:u=!1}=e,d=c(()=>t&&"clipboard"in t),f=p("clipboard-read"),m=p("clipboard-write"),g=(0,n.Fl)(()=>d.value||u),b=(0,n.XI)(""),x=(0,n.XI)(!1),y=(0,r.eM)(()=>x.value=!1,l,{immediate:!1});async function C(){var e,o,r;let n=!(d.value&&S(f.value));if(!n)try{b.value=await t.clipboard.readText()}catch(e){n=!0}n&&(b.value=null!=(r=null==(o=null==(e=null==document?void 0:document.getSelection)?void 0:e.call(document))?void 0:o.toString())?r:"")}async function w(e=(0,n.Tn)(i)){if(g.value&&null!=e){let o=!(d.value&&S(m.value));if(!o)try{await t.clipboard.writeText(e)}catch(e){o=!0}o&&function(e){let t=document.createElement("textarea");t.value=null!=e?e:"",t.style.position="absolute",t.style.opacity="0",document.body.appendChild(t),t.select(),document.execCommand("copy"),t.remove()}(e),b.value=e,x.value=!0,y.start()}}function S(e){return"granted"===e||"prompt"===e}return g.value&&o&&s(["copy","cut"],C,{passive:!0}),{isSupported:g,text:b,copied:x,copy:w}}function m(e,t={}){let{reset:o=!0,windowResize:a=!0,windowScroll:u=!0,immediate:d=!0,updateTiming:f="sync"}=t,p=(0,n.XI)(0),h=(0,n.XI)(0),g=(0,n.XI)(0),b=(0,n.XI)(0),x=(0,n.XI)(0),y=(0,n.XI)(0),C=(0,n.XI)(0),w=(0,n.XI)(0);function S(){let t=l(e);if(!t){o&&(p.value=0,h.value=0,g.value=0,b.value=0,x.value=0,y.value=0,C.value=0,w.value=0);return}let r=t.getBoundingClientRect();p.value=r.height,h.value=r.bottom,g.value=r.left,b.value=r.right,x.value=r.top,y.value=r.width,C.value=r.x,w.value=r.y}function _(){"sync"===f?S():"next-frame"===f&&requestAnimationFrame(()=>S())}return!function(e,t,o={}){let a,{window:s=i,...u}=o,d=c(()=>s&&"ResizeObserver"in s),f=()=>{a&&(a.disconnect(),a=void 0)},p=(0,n.Fl)(()=>{let t=(0,n.Tn)(e);return Array.isArray(t)?t.map(e=>l(e)):[l(t)]}),h=(0,n.YP)(p,e=>{if(f(),d.value&&s)for(let o of(a=new ResizeObserver(t),e))o&&a.observe(o,u)},{immediate:!0,flush:"post"});(0,r.IY)(()=>{f(),h()})}(e,_),(0,n.YP)(()=>l(e),e=>!e&&_()),!function(e,t,o={}){let a,{window:s=i,...u}=o,d=c(()=>s&&"MutationObserver"in s),f=()=>{a&&(a.disconnect(),a=void 0)},p=(0,n.Fl)(()=>{let t=(0,n.Tn)(e);return new Set((0,r.qo)(t).map(l).filter(r.nf))}),h=(0,n.YP)(()=>p.value,e=>{f(),d.value&&e.size&&(a=new MutationObserver(t),e.forEach(e=>a.observe(e,u)))},{immediate:!0,flush:"post"});(0,r.IY)(()=>{h(),f()})}(e,_,{attributeFilter:["style","class"]}),u&&s("scroll",_,{capture:!0,passive:!0}),a&&s("resize",_,{passive:!0}),(0,r.u7)(()=>{d&&_()}),{height:p,bottom:h,left:g,right:b,top:x,width:y,x:C,y:w,update:_}}function g(e={}){let{window:t=i,initialWidth:o=Number.POSITIVE_INFINITY,initialHeight:a=Number.POSITIVE_INFINITY,listenOrientation:l=!0,includeScrollbar:d=!0,type:f="inner"}=e,p=(0,n.XI)(o),h=(0,n.XI)(a),m=()=>{if(t)if("outer"===f)p.value=t.outerWidth,h.value=t.outerHeight;else if("visual"===f&&t.visualViewport){let{width:e,height:o,scale:r}=t.visualViewport;p.value=Math.round(e*r),h.value=Math.round(o*r)}else d?(p.value=t.innerWidth,h.value=t.innerHeight):(p.value=t.document.documentElement.clientWidth,h.value=t.document.documentElement.clientHeight)};m(),(0,r.u7)(m);let b={passive:!0};if(s("resize",m,b),t&&"visual"===f&&t.visualViewport&&s(t.visualViewport,"resize",m,b),l){let e=function(e,t={}){let{window:o=i,ssrWidth:a=function(){let e=(0,n.EM)()?(0,r.iW)(u,null):null;return"number"==typeof e?e:void 0}()}=t,l=c(()=>o&&"matchMedia"in o&&"function"==typeof o.matchMedia),d=(0,n.XI)("number"==typeof a),f=(0,n.XI)(),p=(0,n.XI)(!1);return(0,n.m0)(()=>{if(d.value){d.value=!l.value,p.value=(0,n.Tn)(e).split(",").some(e=>{let t=e.includes("not all"),o=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),n=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),i=!!(o||n);return o&&i&&(i=a>=(0,r.te)(o[1])),n&&i&&(i=a<=(0,r.te)(n[1])),t?!i:i});return}l.value&&(f.value=o.matchMedia((0,n.Tn)(e)),p.value=f.value.matches)}),s(f,"change",e=>{p.value=e.matches},{passive:!0}),(0,n.Fl)(()=>p.value)}("(orientation: portrait)");(0,n.YP)(e,()=>m())}return{width:p,height:h}}"undefined"!=typeof globalThis||("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self)},22895:function(e,t,o){o.d(t,{C5:()=>l,DI:()=>y,IY:()=>n,Kn:()=>u,_m:()=>f,eM:()=>w,iW:()=>a,nf:()=>s,qP:()=>h,qo:()=>m,rk:()=>S,te:()=>p,u7:()=>C});var r=o(58786);function n(e){return!!(0,r.nZ)()&&((0,r.EB)(e),!0)}let i=new WeakMap,a=(...e)=>{var t;let o=e[0],n=null==(t=(0,r.FN)())?void 0:t.proxy;if(null==n&&!(0,r.EM)())throw Error("injectLocal must be called in setup");return n&&i.has(n)&&o in i.get(n)?i.get(n)[o]:(0,r.f3)(...e)},l="undefined"!=typeof window&&"undefined"!=typeof document,s=e=>null!=e,c=Object.prototype.toString,u=e=>"[object Object]"===c.call(e),d=()=>{};function f(e){let t;function o(){return t||(t=e()),t}return o.reset=async()=>{let e=t;t=void 0,e&&await e},o}function p(e){return e.endsWith("rem")?16*Number.parseFloat(e):Number.parseFloat(e)}function h(e){return Object.entries(e)}function m(e){return Array.isArray(e)?e:[e]}function g(e){let t=Object.create(null);return o=>t[o]||(t[o]=e(o))}let b=/\B([A-Z])/g;g(e=>e.replace(b,"-$1").toLowerCase());let x=/-(\w)/g;function y(e,t=200,o={}){var n;return n=function(e,t={}){let o,n,i,a=d,l=e=>{clearTimeout(e),a(),a=d};return s=>{let c=(0,r.Tn)(e),u=(0,r.Tn)(t.maxWait);return(o&&l(o),c<=0||void 0!==u&&u<=0)?(n&&(l(n),n=null),Promise.resolve(s())):new Promise((e,r)=>{a=t.rejectOnCancel?r:e,i=s,u&&!n&&(n=setTimeout(()=>{o&&l(o),n=null,e(i())},u)),o=setTimeout(()=>{n&&l(n),n=null,e(s())},c)})}}(t,o),function(...t){return new Promise((o,r)=>{Promise.resolve(n(()=>e.apply(this,t),{fn:e,thisArg:this,args:t})).then(o).catch(r)})}}function C(e,t=!0,o){o||(0,r.FN)()?(0,r.bv)(e,o):t?e():(0,r.Y3)(e)}function w(e,t,o={}){let{immediate:i=!0,immediateCallback:a=!1}=o,s=(0,r.XI)(!1),c=null;function u(){c&&(clearTimeout(c),c=null)}function d(){s.value=!1,u()}function f(...o){a&&e(),u(),s.value=!0,c=setTimeout(()=>{s.value=!1,c=null,e(...o)},(0,r.Tn)(t))}return i&&(s.value=!0,l&&f()),n(d),{isPending:(0,r.YS)(s),start:f,stop:d}}function S(e,t,o){return(0,r.YP)(e,t,{...o,immediate:!0})}g(e=>e.replace(x,(e,t)=>t?t.toUpperCase():""))},87907:function(e,t,o){o.d(t,{j:()=>n});let r={};function n(){return r}},53716:function(e,t,o){o.d(t,{x:()=>n});var r=o(74021);function n(e,t,o){return+(0,r.z)(e,o)==+(0,r.z)(t,o)}},17530:function(e,t,o){o.d(t,{l:()=>r});function r(e){return (t={})=>{let o=t.width?String(t.width):e.defaultWidth;return e.formats[o]||e.formats[e.defaultWidth]}}},35584:function(e,t,o){o.d(t,{Y:()=>r});function r(e){return(t,o)=>{let r;if("formatting"===(o?.context?String(o.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,n=o?.width?String(o.width):t;r=e.formattingValues[n]||e.formattingValues[t]}else{let t=e.defaultWidth,n=o?.width?String(o.width):e.defaultWidth;r=e.values[n]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}},82048:function(e,t,o){function r(e){return(t,o={})=>{let r,n=o.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;let l=a[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?function(e,t){for(let o=0;o<e.length;o++)if(t(e[o]))return o}(s,e=>e.test(l)):function(e,t){for(let o in e)if(Object.prototype.hasOwnProperty.call(e,o)&&t(e[o]))return o}(s,e=>e.test(l));return r=e.valueCallback?e.valueCallback(c):c,{value:r=o.valueCallback?o.valueCallback(r):r,rest:t.slice(l.length)}}}o.d(t,{t:()=>r})},8689:function(e,t,o){o.d(t,{y:()=>r});function r(e){return(t,o={})=>{let r=t.match(e.matchPattern);if(!r)return null;let n=r[0],i=t.match(e.parsePattern);if(!i)return null;let a=e.valueCallback?e.valueCallback(i[0]):i[0];return{value:a=o.valueCallback?o.valueCallback(a):a,rest:t.slice(n.length)}}}},31495:function(e,t,o){o.d(t,{_:()=>u});let r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};var n=o(17530);let i={date:(0,n.l)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,n.l)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,n.l)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};var l=o(35584);let s={ordinalNumber:(e,t)=>{let o=Number(e),r=o%100;if(r>20||r<10)switch(r%10){case 1:return o+"st";case 2:return o+"nd";case 3:return o+"rd"}return o+"th"},era:(0,l.Y)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,l.Y)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,l.Y)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,l.Y)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,l.Y)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};var c=o(82048);let u={code:"en-US",formatDistance:(e,t,o)=>{let n,i=r[e];if(n="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),o?.addSuffix)if(o.comparison&&o.comparison>0)return"in "+n;else return n+" ago";return n},formatLong:i,formatRelative:(e,t,o,r)=>a[e],localize:s,match:{ordinalNumber:(0,o(8689).y)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,c.t)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,c.t)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,c.t)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.t)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.t)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},74021:function(e,t,o){o.d(t,{z:()=>i});var r=o(66138),n=o(87907);function i(e,t){let o=(0,n.j)(),i=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,a=(0,r.Q)(e),l=a.getDay();return a.setDate(a.getDate()-(7*(l<i)+l-i)),a.setHours(0,0,0,0),a}},66138:function(e,t,o){o.d(t,{Q:()=>r});function r(e){let t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):new Date("number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?e:NaN)}},7356:function(e,t,o){o.d(t,{d:()=>n});var r=o(87499);function n(e,...t){let o=r.L.bind(null,e||t.find(e=>"object"==typeof e));return t.map(o)}},10065:function(e,t,o){o.d(t,{I7:()=>i,dP:()=>n,jE:()=>r});let r=6048e5,n=864e5,i=Symbol.for("constructDateFrom")},87499:function(e,t,o){o.d(t,{L:()=>n});var r=o(10065);function n(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&r.I7 in e?e[r.I7](t):e instanceof Date?new e.constructor(t):new Date(t)}},88168:function(e,t,o){o.d(t,{w:()=>s});var r=o(5969);function n(e){let t=(0,r.Q)(e),o=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return o.setUTCFullYear(t.getFullYear()),e-o}var i=o(7356),a=o(10065),l=o(36760);function s(e,t,o){let[r,s]=(0,i.d)(o?.in,e,t),c=(0,l.b)(r),u=(0,l.b)(s);return Math.round((c-n(c)-(u-n(u)))/a.dP)}},49468:function(e,t,o){o.d(t,{i:()=>n});var r=o(5969);function n(e,t){let o=(0,r.Q)(e,t?.in);return o.setHours(23,59,59,999),o}},92824:function(e,t,o){o.d(t,{WU:()=>B});let r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function n(e){return (t={})=>{let o=t.width?String(t.width):e.defaultWidth;return e.formats[o]||e.formats[e.defaultWidth]}}let i={date:n({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:n({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:n({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function l(e){return(t,o)=>{let r;if("formatting"===(o?.context?String(o.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,n=o?.width?String(o.width):t;r=e.formattingValues[n]||e.formattingValues[t]}else{let t=e.defaultWidth,n=o?.width?String(o.width):e.defaultWidth;r=e.values[n]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function s(e){return(t,o={})=>{let r,n=o.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;let l=a[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?function(e,t){for(let o=0;o<e.length;o++)if(t(e[o]))return o}(s,e=>e.test(l)):function(e,t){for(let o in e)if(Object.prototype.hasOwnProperty.call(e,o)&&t(e[o]))return o}(s,e=>e.test(l));return r=e.valueCallback?e.valueCallback(c):c,{value:r=o.valueCallback?o.valueCallback(r):r,rest:t.slice(l.length)}}}let c={code:"en-US",formatDistance:(e,t,o)=>{let n,i=r[e];if(n="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),o?.addSuffix)if(o.comparison&&o.comparison>0)return"in "+n;else return n+" ago";return n},formatLong:i,formatRelative:(e,t,o,r)=>a[e],localize:{ordinalNumber:(e,t)=>{let o=Number(e),r=o%100;if(r>20||r<10)switch(r%10){case 1:return o+"st";case 2:return o+"nd";case 3:return o+"rd"}return o+"th"},era:l({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:l({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:l({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:l({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:l({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(d={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{let o=e.match(d.matchPattern);if(!o)return null;let r=o[0],n=e.match(d.parsePattern);if(!n)return null;let i=d.valueCallback?d.valueCallback(n[0]):n[0];return{value:i=t.valueCallback?t.valueCallback(i):i,rest:e.slice(r.length)}}),era:s({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:s({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:s({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:s({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},u={};var d,f=o(88168),p=o(5969),h=o(10065);function m(e,t){let o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??u.weekStartsOn??u.locale?.options?.weekStartsOn??0,r=(0,p.Q)(e,t?.in),n=r.getDay();return r.setDate(r.getDate()-(7*(n<o)+n-o)),r.setHours(0,0,0,0),r}function g(e,t){return m(e,{...t,weekStartsOn:1})}var b=o(87499);function x(e,t){let o=(0,p.Q)(e,t?.in),r=o.getFullYear(),n=(0,b.L)(o,0);n.setFullYear(r+1,0,4),n.setHours(0,0,0,0);let i=g(n),a=(0,b.L)(o,0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);let l=g(a);return o.getTime()>=i.getTime()?r+1:o.getTime()>=l.getTime()?r:r-1}function y(e,t){let o=(0,p.Q)(e,t?.in),r=o.getFullYear(),n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??u.firstWeekContainsDate??u.locale?.options?.firstWeekContainsDate??1,i=(0,b.L)(t?.in||e,0);i.setFullYear(r+1,0,n),i.setHours(0,0,0,0);let a=m(i,t),l=(0,b.L)(t?.in||e,0);l.setFullYear(r,0,n),l.setHours(0,0,0,0);let s=m(l,t);return+o>=+a?r+1:+o>=+s?r:r-1}function C(e,t){let o=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+o}let w={y(e,t){let o=e.getFullYear(),r=o>0?o:1-o;return C("yy"===t?r%100:r,t.length)},M(e,t){let o=e.getMonth();return"M"===t?String(o+1):C(o+1,2)},d:(e,t)=>C(e.getDate(),t.length),a(e,t){let o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return o.toUpperCase();case"aaa":return o;case"aaaaa":return o[0];default:return"am"===o?"a.m.":"p.m."}},h:(e,t)=>C(e.getHours()%12||12,t.length),H:(e,t)=>C(e.getHours(),t.length),m:(e,t)=>C(e.getMinutes(),t.length),s:(e,t)=>C(e.getSeconds(),t.length),S(e,t){let o=t.length;return C(Math.trunc(e.getMilliseconds()*Math.pow(10,o-3)),t.length)}},S={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},_={G:function(e,t,o){let r=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return o.era(r,{width:"abbreviated"});case"GGGGG":return o.era(r,{width:"narrow"});default:return o.era(r,{width:"wide"})}},y:function(e,t,o){if("yo"===t){let t=e.getFullYear();return o.ordinalNumber(t>0?t:1-t,{unit:"year"})}return w.y(e,t)},Y:function(e,t,o,r){let n=y(e,r),i=n>0?n:1-n;return"YY"===t?C(i%100,2):"Yo"===t?o.ordinalNumber(i,{unit:"year"}):C(i,t.length)},R:function(e,t){return C(x(e),t.length)},u:function(e,t){return C(e.getFullYear(),t.length)},Q:function(e,t,o){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return C(r,2);case"Qo":return o.ordinalNumber(r,{unit:"quarter"});case"QQQ":return o.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return o.quarter(r,{width:"narrow",context:"formatting"});default:return o.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,o){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return C(r,2);case"qo":return o.ordinalNumber(r,{unit:"quarter"});case"qqq":return o.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return o.quarter(r,{width:"narrow",context:"standalone"});default:return o.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,o){let r=e.getMonth();switch(t){case"M":case"MM":return w.M(e,t);case"Mo":return o.ordinalNumber(r+1,{unit:"month"});case"MMM":return o.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return o.month(r,{width:"narrow",context:"formatting"});default:return o.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,o){let r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return C(r+1,2);case"Lo":return o.ordinalNumber(r+1,{unit:"month"});case"LLL":return o.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return o.month(r,{width:"narrow",context:"standalone"});default:return o.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,o,r){let n=function(e,t){let o=(0,p.Q)(e,t?.in);return Math.round((m(o,t)-function(e,t){let o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??u.firstWeekContainsDate??u.locale?.options?.firstWeekContainsDate??1,r=y(e,t),n=(0,b.L)(t?.in||e,0);return n.setFullYear(r,0,o),n.setHours(0,0,0,0),m(n,t)}(o,t))/h.jE)+1}(e,r);return"wo"===t?o.ordinalNumber(n,{unit:"week"}):C(n,t.length)},I:function(e,t,o){let r=function(e,t){let o=(0,p.Q)(e,void 0);return Math.round((g(o)-function(e,t){let o=x(e,void 0),r=(0,b.L)(e,0);return r.setFullYear(o,0,4),r.setHours(0,0,0,0),g(r)}(o))/h.jE)+1}(e);return"Io"===t?o.ordinalNumber(r,{unit:"week"}):C(r,t.length)},d:function(e,t,o){return"do"===t?o.ordinalNumber(e.getDate(),{unit:"date"}):w.d(e,t)},D:function(e,t,o){let r=function(e,t){let o=(0,p.Q)(e,void 0);return(0,f.w)(o,function(e,t){let o=(0,p.Q)(e,void 0);return o.setFullYear(o.getFullYear(),0,1),o.setHours(0,0,0,0),o}(o))+1}(e);return"Do"===t?o.ordinalNumber(r,{unit:"dayOfYear"}):C(r,t.length)},E:function(e,t,o){let r=e.getDay();switch(t){case"E":case"EE":case"EEE":return o.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return o.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return o.day(r,{width:"short",context:"formatting"});default:return o.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,o,r){let n=e.getDay(),i=(n-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return C(i,2);case"eo":return o.ordinalNumber(i,{unit:"day"});case"eee":return o.day(n,{width:"abbreviated",context:"formatting"});case"eeeee":return o.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return o.day(n,{width:"short",context:"formatting"});default:return o.day(n,{width:"wide",context:"formatting"})}},c:function(e,t,o,r){let n=e.getDay(),i=(n-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return C(i,t.length);case"co":return o.ordinalNumber(i,{unit:"day"});case"ccc":return o.day(n,{width:"abbreviated",context:"standalone"});case"ccccc":return o.day(n,{width:"narrow",context:"standalone"});case"cccccc":return o.day(n,{width:"short",context:"standalone"});default:return o.day(n,{width:"wide",context:"standalone"})}},i:function(e,t,o){let r=e.getDay(),n=0===r?7:r;switch(t){case"i":return String(n);case"ii":return C(n,t.length);case"io":return o.ordinalNumber(n,{unit:"day"});case"iii":return o.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return o.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return o.day(r,{width:"short",context:"formatting"});default:return o.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,o){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return o.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return o.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return o.dayPeriod(r,{width:"narrow",context:"formatting"});default:return o.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,o){let r,n=e.getHours();switch(r=12===n?S.noon:0===n?S.midnight:n/12>=1?"pm":"am",t){case"b":case"bb":return o.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return o.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return o.dayPeriod(r,{width:"narrow",context:"formatting"});default:return o.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,o){let r,n=e.getHours();switch(r=n>=17?S.evening:n>=12?S.afternoon:n>=4?S.morning:S.night,t){case"B":case"BB":case"BBB":return o.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return o.dayPeriod(r,{width:"narrow",context:"formatting"});default:return o.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,o){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),o.ordinalNumber(t,{unit:"hour"})}return w.h(e,t)},H:function(e,t,o){return"Ho"===t?o.ordinalNumber(e.getHours(),{unit:"hour"}):w.H(e,t)},K:function(e,t,o){let r=e.getHours()%12;return"Ko"===t?o.ordinalNumber(r,{unit:"hour"}):C(r,t.length)},k:function(e,t,o){let r=e.getHours();return(0===r&&(r=24),"ko"===t)?o.ordinalNumber(r,{unit:"hour"}):C(r,t.length)},m:function(e,t,o){return"mo"===t?o.ordinalNumber(e.getMinutes(),{unit:"minute"}):w.m(e,t)},s:function(e,t,o){return"so"===t?o.ordinalNumber(e.getSeconds(),{unit:"second"}):w.s(e,t)},S:function(e,t){return w.S(e,t)},X:function(e,t,o){let r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return T(r);case"XXXX":case"XX":return P(r);default:return P(r,":")}},x:function(e,t,o){let r=e.getTimezoneOffset();switch(t){case"x":return T(r);case"xxxx":case"xx":return P(r);default:return P(r,":")}},O:function(e,t,o){let r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+E(r,":");default:return"GMT"+P(r,":")}},z:function(e,t,o){let r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+E(r,":");default:return"GMT"+P(r,":")}},t:function(e,t,o){return C(Math.trunc(e/1e3),t.length)},T:function(e,t,o){return C(+e,t.length)}};function E(e,t=""){let o=e>0?"-":"+",r=Math.abs(e),n=Math.trunc(r/60),i=r%60;return 0===i?o+String(n):o+String(n)+t+C(i,2)}function T(e,t){return e%60==0?(e>0?"-":"+")+C(Math.abs(e)/60,2):P(e,t)}function P(e,t=""){let o=Math.abs(e);return(e>0?"-":"+")+C(Math.trunc(o/60),2)+t+C(o%60,2)}let $=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},F=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},k={p:F,P:(e,t)=>{let o,r=e.match(/(P+)(p+)?/)||[],n=r[1],i=r[2];if(!i)return $(e,t);switch(n){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"})}return o.replace("{{date}}",$(n,t)).replace("{{time}}",F(i,t))}},M=/^D+$/,O=/^Y+$/,I=["D","DD","YY","YYYY"],L=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,A=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,z=/^'([^]*?)'?$/,H=/''/g,D=/[a-zA-Z]/;function B(e,t,o){let r=o?.locale??u.locale??c,n=o?.firstWeekContainsDate??o?.locale?.options?.firstWeekContainsDate??u.firstWeekContainsDate??u.locale?.options?.firstWeekContainsDate??1,i=o?.weekStartsOn??o?.locale?.options?.weekStartsOn??u.weekStartsOn??u.locale?.options?.weekStartsOn??0,a=(0,p.Q)(e,o?.in);if(!(a instanceof Date||"object"==typeof a&&"[object Date]"===Object.prototype.toString.call(a))&&"number"!=typeof a||isNaN(+(0,p.Q)(a)))throw RangeError("Invalid time value");let l=t.match(A).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,k[t])(e,r.formatLong):e}).join("").match(L).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t)return{isToken:!1,value:function(e){let t=e.match(z);return t?t[1].replace(H,"'"):e}(e)};if(_[t])return{isToken:!0,value:e};if(t.match(D))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});r.localize.preprocessor&&(l=r.localize.preprocessor(a,l));let s={firstWeekContainsDate:n,weekStartsOn:i,locale:r};return l.map(n=>{if(!n.isToken)return n.value;let i=n.value;return(!o?.useAdditionalWeekYearTokens&&O.test(i)||!o?.useAdditionalDayOfYearTokens&&M.test(i))&&function(e,t,o){let r=function(e,t,o){let r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${o}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,o);if(console.warn(r),I.includes(e))throw RangeError(r)}(i,t,String(e)),(0,_[i[0]])(a,i,r.localize,s)}).join("")}},36760:function(e,t,o){o.d(t,{b:()=>n});var r=o(5969);function n(e,t){let o=(0,r.Q)(e,t?.in);return o.setHours(0,0,0,0),o}},5969:function(e,t,o){o.d(t,{Q:()=>n});var r=o(87499);function n(e,t){return(0,r.L)(t||e,e)}},69902:function(e,t,o){o.d(t,{Z:()=>l});var r=o(94596);let n=function(e,t){for(var o=e.length;o--;)if((0,r.Z)(e[o][0],t))return o;return -1};var i=Array.prototype.splice;function a(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}a.prototype.clear=function(){this.__data__=[],this.size=0},a.prototype.delete=function(e){var t=this.__data__,o=n(t,e);return!(o<0)&&(o==t.length-1?t.pop():i.call(t,o,1),--this.size,!0)},a.prototype.get=function(e){var t=this.__data__,o=n(t,e);return o<0?void 0:t[o][1]},a.prototype.has=function(e){return n(this.__data__,e)>-1},a.prototype.set=function(e,t){var o=this.__data__,r=n(o,e);return r<0?(++this.size,o.push([e,t])):o[r][1]=t,this};let l=a},20843:function(e,t,o){o.d(t,{Z:()=>i});var r=o(80938),n=o(80651);let i=(0,r.Z)(n.Z,"Map")},37408:function(e,t,o){o.d(t,{Z:()=>f});var r=(0,o(80938).Z)(Object,"create"),n=Object.prototype.hasOwnProperty,i=Object.prototype.hasOwnProperty;function a(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}a.prototype.clear=function(){this.__data__=r?r(null):{},this.size=0},a.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t},a.prototype.get=function(e){var t=this.__data__;if(r){var o=t[e];return"__lodash_hash_undefined__"===o?void 0:o}return n.call(t,e)?t[e]:void 0},a.prototype.has=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)},a.prototype.set=function(e,t){var o=this.__data__;return this.size+=+!this.has(e),o[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this};var l=o(69902),s=o(20843);let c=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},u=function(e,t){var o=e.__data__;return c(t)?o["string"==typeof t?"string":"hash"]:o.map};function d(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}d.prototype.clear=function(){this.size=0,this.__data__={hash:new a,map:new(s.Z||l.Z),string:new a}},d.prototype.delete=function(e){var t=u(this,e).delete(e);return this.size-=!!t,t},d.prototype.get=function(e){return u(this,e).get(e)},d.prototype.has=function(e){return u(this,e).has(e)},d.prototype.set=function(e,t){var o=u(this,e),r=o.size;return o.set(e,t),this.size+=+(o.size!=r),this};let f=d},53146:function(e,t,o){o.d(t,{Z:()=>l});var r=o(69902),n=o(20843),i=o(37408);function a(e){var t=this.__data__=new r.Z(e);this.size=t.size}a.prototype.clear=function(){this.__data__=new r.Z,this.size=0},a.prototype.delete=function(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o},a.prototype.get=function(e){return this.__data__.get(e)},a.prototype.has=function(e){return this.__data__.has(e)},a.prototype.set=function(e,t){var o=this.__data__;if(o instanceof r.Z){var a=o.__data__;if(!n.Z||a.length<199)return a.push([e,t]),this.size=++o.size,this;o=this.__data__=new i.Z(a)}return o.set(e,t),this.size=o.size,this};let l=a},28373:function(e,t,o){o.d(t,{Z:()=>r});let r=o(80651).Z.Symbol},72337:function(e,t,o){o.d(t,{Z:()=>r});let r=o(80651).Z.Uint8Array},64464:function(e,t,o){o.d(t,{Z:()=>u});let r=function(e,t){for(var o=-1,r=Array(e);++o<e;)r[o]=t(o);return r};var n=o(75266),i=o(3073),a=o(4339),l=o(1400),s=o(77407),c=Object.prototype.hasOwnProperty;let u=function(e,t){var o=(0,i.Z)(e),u=!o&&(0,n.Z)(e),d=!o&&!u&&(0,a.Z)(e),f=!o&&!u&&!d&&(0,s.Z)(e),p=o||u||d||f,h=p?r(e.length,String):[],m=h.length;for(var g in e)(t||c.call(e,g))&&!(p&&("length"==g||d&&("offset"==g||"parent"==g)||f&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||(0,l.Z)(g,m)))&&h.push(g);return h}},75952:function(e,t,o){o.d(t,{Z:()=>r});let r=function(e,t){for(var o=-1,r=null==e?0:e.length,n=Array(r);++o<r;)n[o]=t(e[o],o,e);return n}},26028:function(e,t,o){o.d(t,{Z:()=>a});var r=o(23454),n=o(94596),i=Object.prototype.hasOwnProperty;let a=function(e,t,o){var a=e[t];i.call(e,t)&&(0,n.Z)(a,o)&&(void 0!==o||t in e)||(0,r.Z)(e,t,o)}},23454:function(e,t,o){o.d(t,{Z:()=>n});var r=o(89445);let n=function(e,t,o){"__proto__"==t&&r.Z?(0,r.Z)(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}},89357:function(e,t,o){o.d(t,{Z:()=>r});let r=function(e,t,o){for(var r=-1,n=Object(e),i=o(e),a=i.length;a--;){var l=i[++r];if(!1===t(n[l],l,n))break}return e}},21452:function(e,t,o){o.d(t,{Z:()=>d});var r=o(28373),n=Object.prototype,i=n.hasOwnProperty,a=n.toString,l=r.Z?r.Z.toStringTag:void 0;let s=function(e){var t=i.call(e,l),o=e[l];try{e[l]=void 0;var r=!0}catch(e){}var n=a.call(e);return r&&(t?e[l]=o:delete e[l]),n};var c=Object.prototype.toString,u=r.Z?r.Z.toStringTag:void 0;let d=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":u&&u in Object(e)?s(e):c.call(e)}},94421:function(e,t,o){o.d(t,{Z:()=>r});let r=function(e){return function(t){return e(t)}}},98240:function(e,t,o){o.d(t,{Z:()=>n});var r=o(72337);let n=function(e){var t=new e.constructor(e.byteLength);return new r.Z(t).set(new r.Z(e)),t}},83712:function(e,t,o){o.d(t,{Z:()=>s});var r=o(80651),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=n&&"object"==typeof module&&module&&!module.nodeType&&module,a=i&&i.exports===n?r.Z.Buffer:void 0,l=a?a.allocUnsafe:void 0;let s=function(e,t){if(t)return e.slice();var o=e.length,r=l?l(o):new e.constructor(o);return e.copy(r),r}},70980:function(e,t,o){o.d(t,{Z:()=>n});var r=o(98240);let n=function(e,t){var o=t?(0,r.Z)(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}},91481:function(e,t,o){o.d(t,{Z:()=>r});let r=function(e,t){var o=-1,r=e.length;for(t||(t=Array(r));++o<r;)t[o]=e[o];return t}},45169:function(e,t,o){o.d(t,{Z:()=>i});var r=o(26028),n=o(23454);let i=function(e,t,o,i){var a=!o;o||(o={});for(var l=-1,s=t.length;++l<s;){var c=t[l],u=i?i(o[c],e[c],c,o,e):void 0;void 0===u&&(u=e[c]),a?(0,n.Z)(o,c,u):(0,r.Z)(o,c,u)}return o}},89445:function(e,t,o){o.d(t,{Z:()=>n});var r=o(80938);let n=function(){try{var e=(0,r.Z)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},82208:function(e,t,o){o.d(t,{Z:()=>r});let r="object"==typeof global&&global&&global.Object===Object&&global},80938:function(e,t,o){o.d(t,{Z:()=>m});var r,n=o(84015),i=o(80651).Z["__core-js_shared__"],a=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",l=o(26129),s=o(58436),c=/^\[object .+?Constructor\]$/,u=Object.prototype,d=Function.prototype.toString,f=u.hasOwnProperty,p=RegExp("^"+d.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let h=function(e){return!!(0,l.Z)(e)&&(!a||!(a in e))&&((0,n.Z)(e)?p:c).test((0,s.Z)(e))},m=function(e,t){var o=null==e?void 0:e[t];return h(o)?o:void 0}},76351:function(e,t,o){o.d(t,{Z:()=>r});let r=(0,o(25886).Z)(Object.getPrototypeOf,Object)},6625:function(e,t,o){o.d(t,{Z:()=>s});var r=o(26129),n=Object.create,i=function(){function e(){}return function(t){if(!(0,r.Z)(t))return{};if(n)return n(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),a=o(76351),l=o(98168);let s=function(e){return"function"!=typeof e.constructor||(0,l.Z)(e)?{}:i((0,a.Z)(e))}},1400:function(e,t,o){o.d(t,{Z:()=>n});var r=/^(?:0|[1-9]\d*)$/;let n=function(e,t){var o=typeof e;return!!(t=null==t?0x1fffffffffffff:t)&&("number"==o||"symbol"!=o&&r.test(e))&&e>-1&&e%1==0&&e<t}},98168:function(e,t,o){o.d(t,{Z:()=>n});var r=Object.prototype;let n=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},41394:function(e,t,o){o.d(t,{Z:()=>l});var r=o(82208),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=n&&"object"==typeof module&&module&&!module.nodeType&&module,a=i&&i.exports===n&&r.Z.process;let l=function(){try{var e=i&&i.require&&i.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(e){}}()},25886:function(e,t,o){o.d(t,{Z:()=>r});let r=function(e,t){return function(o){return e(t(o))}}},80651:function(e,t,o){o.d(t,{Z:()=>i});var r=o(82208),n="object"==typeof self&&self&&self.Object===Object&&self;let i=r.Z||n||Function("return this")()},58436:function(e,t,o){o.d(t,{Z:()=>n});var r=Function.prototype.toString;let n=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},94596:function(e,t,o){o.d(t,{Z:()=>r});let r=function(e,t){return e===t||e!=e&&t!=t}},85627:function(e,t,o){o.d(t,{Z:()=>r});let r=function(e){return e}},75266:function(e,t,o){o.d(t,{Z:()=>c});var r=o(21452),n=o(32398);let i=function(e){return(0,n.Z)(e)&&"[object Arguments]"==(0,r.Z)(e)};var a=Object.prototype,l=a.hasOwnProperty,s=a.propertyIsEnumerable;let c=i(function(){return arguments}())?i:function(e){return(0,n.Z)(e)&&l.call(e,"callee")&&!s.call(e,"callee")}},3073:function(e,t,o){o.d(t,{Z:()=>r});let r=Array.isArray},67737:function(e,t,o){o.d(t,{Z:()=>i});var r=o(84015),n=o(97830);let i=function(e){return null!=e&&(0,n.Z)(e.length)&&!(0,r.Z)(e)}},4339:function(e,t,o){o.d(t,{Z:()=>l});var r=o(80651),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=n&&"object"==typeof module&&module&&!module.nodeType&&module,a=i&&i.exports===n?r.Z.Buffer:void 0;let l=(a?a.isBuffer:void 0)||function(){return!1}},84015:function(e,t,o){o.d(t,{Z:()=>i});var r=o(21452),n=o(26129);let i=function(e){if(!(0,n.Z)(e))return!1;var t=(0,r.Z)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},97830:function(e,t,o){o.d(t,{Z:()=>r});let r=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}},26129:function(e,t,o){o.d(t,{Z:()=>r});let r=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},32398:function(e,t,o){o.d(t,{Z:()=>r});let r=function(e){return null!=e&&"object"==typeof e}},56721:function(e,t,o){o.d(t,{Z:()=>i});var r=o(21452),n=o(32398);let i=function(e){return"symbol"==typeof e||(0,n.Z)(e)&&"[object Symbol]"==(0,r.Z)(e)}},77407:function(e,t,o){o.d(t,{Z:()=>u});var r=o(21452),n=o(97830),i=o(32398),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var l=o(94421),s=o(41394),c=s.Z&&s.Z.isTypedArray;let u=c?(0,l.Z)(c):function(e){return(0,i.Z)(e)&&(0,n.Z)(e.length)&&!!a[(0,r.Z)(e)]}},27042:function(e,t,o){o.d(t,{Z:()=>u});var r=o(64464),n=o(26129),i=o(98168);let a=function(e){var t=[];if(null!=e)for(var o in Object(e))t.push(o);return t};var l=Object.prototype.hasOwnProperty;let s=function(e){if(!(0,n.Z)(e))return a(e);var t=(0,i.Z)(e),o=[];for(var r in e)"constructor"==r&&(t||!l.call(e,r))||o.push(r);return o};var c=o(67737);let u=function(e){return(0,c.Z)(e)?(0,r.Z)(e,!0):s(e)}},64932:function(e,t,o){o.d(t,{Z:()=>G});var r,n,i,a,l,s,c,u=o(53146),d=o(23454),f=o(94596);let p=function(e,t,o){(void 0===o||(0,f.Z)(e[t],o))&&(void 0!==o||t in e)||(0,d.Z)(e,t,o)};var h=o(89357),m=o(83712),g=o(70980),b=o(91481),x=o(6625),y=o(75266),C=o(3073),w=o(67737),S=o(32398),_=o(4339),E=o(84015),T=o(26129),P=o(21452),$=o(76351),F=Object.prototype,k=Function.prototype.toString,M=F.hasOwnProperty,O=k.call(Object);let I=function(e){if(!(0,S.Z)(e)||"[object Object]"!=(0,P.Z)(e))return!1;var t=(0,$.Z)(e);if(null===t)return!0;var o=M.call(t,"constructor")&&t.constructor;return"function"==typeof o&&o instanceof o&&k.call(o)==O};var L=o(77407);let A=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var z=o(45169),H=o(27042);let D=function(e,t,o,r,n,i,a){var l=A(e,o),s=A(t,o),c=a.get(s);if(c)return void p(e,o,c);var u=i?i(l,s,o+"",e,t,a):void 0,d=void 0===u;if(d){var f=(0,C.Z)(s),h=!f&&(0,_.Z)(s),P=!f&&!h&&(0,L.Z)(s);(u=s,f||h||P)?(0,C.Z)(l)?u=l:(0,S.Z)(l)&&(0,w.Z)(l)?u=(0,b.Z)(l):h?(d=!1,u=(0,m.Z)(s,!0)):P?(d=!1,u=(0,g.Z)(s,!0)):u=[]:I(s)||(0,y.Z)(s)?(u=l,(0,y.Z)(l))?u=(0,z.Z)(l,(0,H.Z)(l)):(!(0,T.Z)(l)||(0,E.Z)(l))&&(u=(0,x.Z)(s)):d=!1}d&&(a.set(s,u),n(u,s,r,i,a),a.delete(s)),p(e,o,u)},B=function e(t,o,r,n,i){t!==o&&(0,h.Z)(o,function(a,l){if(i||(i=new u.Z),(0,T.Z)(a))D(t,o,l,r,e,n,i);else{var s=n?n(A(t,l),a,l+"",t,o,i):void 0;void 0===s&&(s=a),p(t,l,s)}},H.Z)};var N=o(85627);let Z=function(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)};var j=Math.max,W=o(89445),R=W.Z?function(e,t){return(0,W.Z)(e,"toString",{configurable:!0,enumerable:!1,value:function(){return t},writable:!0})}:N.Z,Y=Date.now,U=(l=0,s=0,function(){var e=Y(),t=16-(e-s);if(s=e,t>0){if(++l>=800)return arguments[0]}else l=0;return R.apply(void 0,arguments)}),X=o(1400);let V=function(e,t,o){if(!(0,T.Z)(o))return!1;var r=typeof t;return("number"==r?!!((0,w.Z)(o)&&(0,X.Z)(t,o.length)):"string"==r&&t in o)&&(0,f.Z)(o[t],e)},G=(c=function(e,t,o){B(e,t,o)},U((r=function(e,t){var o=-1,r=t.length,n=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(n=c.length>3&&"function"==typeof n?(r--,n):void 0,i&&V(t[0],t[1],i)&&(n=r<3?void 0:n,r=1),e=Object(e);++o<r;){var a=t[o];a&&c(e,a,o,n)}return e},i=n,a=N.Z,i=j(void 0===i?r.length-1:i,0),function(){for(var e=arguments,t=-1,o=j(e.length-i,0),n=Array(o);++t<o;)n[t]=e[i+t];t=-1;for(var l=Array(i+1);++t<i;)l[t]=e[t];return l[i]=a(n),Z(r,this,l)}),r+""))},20157:function(e,t,o){o.d(t,{Z:()=>p});var r=/\s/;let n=function(e){for(var t=e.length;t--&&r.test(e.charAt(t)););return t};var i=/^\s+/,a=o(26129),l=o(56721),s=0/0,c=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,d=/^0o[0-7]+$/i,f=parseInt;let p=function(e){if("number"==typeof e)return e;if((0,l.Z)(e))return s;if((0,a.Z)(e)){var t,o="function"==typeof e.valueOf?e.valueOf():e;e=(0,a.Z)(o)?o+"":o}if("string"!=typeof e)return 0===e?e:+e;e=(t=e)?t.slice(0,n(t)+1).replace(i,""):t;var r=u.test(e);return r||d.test(e)?f(e.slice(2),r?2:8):c.test(e)?s:+e}},88521:function(e,t,o){o.d(t,{Z:()=>d});var r=o(28373),n=o(75952),i=o(3073),a=o(56721),l=1/0,s=r.Z?r.Z.prototype:void 0,c=s?s.toString:void 0;let u=function e(t){if("string"==typeof t)return t;if((0,i.Z)(t))return(0,n.Z)(t,e)+"";if((0,a.Z)(t))return c?c.call(t):"";var o=t+"";return"0"==o&&1/t==-l?"-0":o},d=function(e){return null==e?"":u(e)}},1183:function(e,t,o){o.d(t,{Z:()=>c});var r=o(58786),n=o(27046),i=o(96823);let a=(0,o(144).f)("close",()=>(0,r.h)("svg",{viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},(0,r.h)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,r.h)("g",{fill:"currentColor","fill-rule":"nonzero"},(0,r.h)("path",{d:"M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z"})))));var l=o(71309);let s=(0,l.cB)("base-close",`
display: flex;
align-items: center;
justify-content: center;
@@ -742,7 +742,7 @@ ${n}
position: relative;
fill: currentColor;
transform: translateZ(0);
-`,[(0,u.cM)("color-transition",{transition:"color .3s var(--n-bezier)"}),(0,u.cM)("depth",{color:"var(--n-color)"},[(0,u.c)("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),(0,u.c)("svg",{height:"1em",width:"1em"})]),f=Object.assign(Object.assign({},n.Z.props),{depth:[String,Number],size:[Number,String],color:String,component:[Object,Function]}),p=(0,r.aZ)({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:f,setup(e){let{mergedClsPrefixRef:t,inlineThemeDisabled:o}=(0,i.ZP)(e),s=(0,n.Z)("Icon","-icon",d,c.Z,e,t),u=(0,r.Fl)(()=>{let{depth:t}=e,{common:{cubicBezierEaseInOut:o},self:r}=s.value;if(void 0!==t){let{color:e,[`opacity${t}Depth`]:n}=r;return{"--n-bezier":o,"--n-color":e,"--n-opacity":n}}return{"--n-bezier":o,"--n-color":"","--n-opacity":""}}),f=o?(0,a.F)("icon",(0,r.Fl)(()=>`${e.depth||"d"}`),u,e):void 0;return{mergedClsPrefix:t,mergedStyle:(0,r.Fl)(()=>{let{size:t,color:o}=e;return{fontSize:(0,l.N)(t),color:o}}),cssVars:o?void 0:u,themeClass:null==f?void 0:f.themeClass,onRender:null==f?void 0:f.onRender}},render(){var e;let{$parent:t,depth:o,mergedClsPrefix:n,component:i,onRender:a,themeClass:l}=this;return(null==(e=null==t?void 0:t.$options)?void 0:e._n_icon__)&&(0,s.ZK)("icon","don't wrap `n-icon` inside `n-icon`"),null==a||a(),(0,r.h)("i",(0,r.dG)(this.$attrs,{role:"img",class:[`${n}-icon`,l,{[`${n}-icon--depth`]:o,[`${n}-icon--color-transition`]:void 0!==o}],style:[this.cssVars,this.mergedStyle]}),i?(0,r.h)(i):this.$slots)}})},87119:function(e,t,o){function r(e){let{textColorBase:t,opacity1:o,opacity2:r,opacity3:n,opacity4:i,opacity5:a}=e;return{color:t,opacity1Depth:o,opacity2Depth:r,opacity3Depth:n,opacity4Depth:i,opacity5Depth:a}}o.d(t,{Z:()=>n,m:()=>r});let n={name:"Icon",common:o(9798).Z,self:r}},16461:function(e,t,o){o.d(t,{Z:()=>r});let r={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"}},34534:function(e,t,o){o.d(t,{Z:()=>a});var r=o(19595),n=o(9798),i=o(16461);let a={name:"Input",common:n.Z,self:function(e){let{textColor2:t,textColor3:o,textColorDisabled:n,primaryColor:a,primaryColorHover:l,inputColor:s,inputColorDisabled:c,borderColor:u,warningColor:d,warningColorHover:f,errorColor:p,errorColorHover:h,borderRadius:m,lineHeight:g,fontSizeTiny:b,fontSizeSmall:x,fontSizeMedium:y,fontSizeLarge:C,heightTiny:w,heightSmall:S,heightMedium:_,heightLarge:E,actionColor:T,clearColor:P,clearColorHover:$,clearColorPressed:F,placeholderColor:k,placeholderColorDisabled:M,iconColor:O,iconColorDisabled:I,iconColorHover:L,iconColorPressed:A,fontWeight:z}=e;return Object.assign(Object.assign({},i.Z),{fontWeight:z,countTextColorDisabled:n,countTextColor:o,heightTiny:w,heightSmall:S,heightMedium:_,heightLarge:E,fontSizeTiny:b,fontSizeSmall:x,fontSizeMedium:y,fontSizeLarge:C,lineHeight:g,lineHeightTextarea:g,borderRadius:m,iconSize:"16px",groupLabelColor:T,groupLabelTextColor:t,textColor:t,textColorDisabled:n,textDecorationColor:t,caretColor:a,placeholderColor:k,placeholderColorDisabled:M,color:s,colorDisabled:c,colorFocus:s,groupLabelBorder:`1px solid ${u}`,border:`1px solid ${u}`,borderHover:`1px solid ${l}`,borderDisabled:`1px solid ${u}`,borderFocus:`1px solid ${l}`,boxShadowFocus:`0 0 0 2px ${(0,r.zX)(a,{alpha:.2})}`,loadingColor:a,loadingColorWarning:d,borderWarning:`1px solid ${d}`,borderHoverWarning:`1px solid ${f}`,colorFocusWarning:s,borderFocusWarning:`1px solid ${f}`,boxShadowFocusWarning:`0 0 0 2px ${(0,r.zX)(d,{alpha:.2})}`,caretColorWarning:d,loadingColorError:p,borderError:`1px solid ${p}`,borderHoverError:`1px solid ${h}`,colorFocusError:s,borderFocusError:`1px solid ${h}`,boxShadowFocusError:`0 0 0 2px ${(0,r.zX)(p,{alpha:.2})}`,caretColorError:p,clearColor:P,clearColorHover:$,clearColorPressed:F,iconColor:O,iconColorDisabled:I,iconColorHover:L,iconColorPressed:A,suffixTextColor:t})}}},38325:function(e,t,o){o.d(t,{Z:()=>r});let r={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",weekPlaceholder:"Select Week",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now",clear:"Clear"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}}},89462:function(e,t,o){o.d(t,{Z:()=>r});let r={name:"ja-JP",global:{undo:"元に戻す",redo:"やり直す",confirm:"OK",clear:"クリア"},Popconfirm:{positiveText:"OK",negativeText:"キャンセル"},Cascader:{placeholder:"選択してください",loading:"ロード中",loadingRequiredMessage:e=>`すべての ${e} サブノードをロードしてから選択できます。`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"クリア",now:"現在",confirm:"OK",selectTime:"時間を選択",selectDate:"日付を選択",datePlaceholder:"日付を選択",datetimePlaceholder:"選択",monthPlaceholder:"月を選択",yearPlaceholder:"年を選択",quarterPlaceholder:"四半期を選択",weekPlaceholder:"Select Week",startDatePlaceholder:"開始日",endDatePlaceholder:"終了日",startDatetimePlaceholder:"開始時間",endDatetimePlaceholder:"終了時間",startMonthPlaceholder:"開始月",endMonthPlaceholder:"終了月",monthBeforeYear:!1,firstDayOfWeek:0,today:"今日"},DataTable:{checkTableAll:"全選択",uncheckTableAll:"全選択取消",confirm:"OK",clear:"リセット"},LegacyTransfer:{sourceTitle:"元",targetTitle:"先"},Transfer:{selectAll:"全選択",unselectAll:"全選択取消",clearAll:"リセット",total:e=>`合計 ${e} 項目`,selected:e=>`${e} 個の項目を選択`},Empty:{description:"データなし"},Select:{placeholder:"選択してください"},TimePicker:{placeholder:"選択してください",positiveText:"OK",negativeText:"キャンセル",now:"現在",clear:"クリア"},Pagination:{goto:"ページジャンプ",selectionSuffix:"ページ"},DynamicTags:{add:"追加"},Log:{loading:"ロード中"},Input:{placeholder:"入力してください"},InputNumber:{placeholder:"入力してください"},DynamicInput:{create:"追加"},ThemeEditor:{title:"テーマエディタ",clearAllVars:"全件変数クリア",clearSearch:"検索クリア",filterCompName:"コンポネント名をフィルタ",filterVarName:"変数をフィルタ",import:"インポート",export:"エクスポート",restore:"デフォルト"},Image:{tipPrevious:"前の画像 (←)",tipNext:"次の画像 (→)",tipCounterclockwise:"左に回転",tipClockwise:"右に回転",tipZoomOut:"縮小",tipZoomIn:"拡大",tipDownload:"ダウンロード",tipClose:"閉じる (Esc)",tipOriginalSize:"元のサイズに戻す"}}},86831:function(e,t,o){o.d(t,{Z:()=>r});let r={name:"zh-CN",global:{undo:"撤销",redo:"重做",confirm:"确认",clear:"清除"},Popconfirm:{positiveText:"确认",negativeText:"取消"},Cascader:{placeholder:"请选择",loading:"加载中",loadingRequiredMessage:e=>`加载全部 ${e} 的子节点后才可选中`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w周",clear:"清除",now:"此刻",confirm:"确认",selectTime:"选择时间",selectDate:"选择日期",datePlaceholder:"选择日期",datetimePlaceholder:"选择日期时间",monthPlaceholder:"选择月份",yearPlaceholder:"选择年份",quarterPlaceholder:"选择季度",weekPlaceholder:"选择周",startDatePlaceholder:"开始日期",endDatePlaceholder:"结束日期",startDatetimePlaceholder:"开始日期时间",endDatetimePlaceholder:"结束日期时间",startMonthPlaceholder:"开始月份",endMonthPlaceholder:"结束月份",monthBeforeYear:!1,firstDayOfWeek:0,today:"今天"},DataTable:{checkTableAll:"选择全部表格数据",uncheckTableAll:"取消选择全部表格数据",confirm:"确认",clear:"重置"},LegacyTransfer:{sourceTitle:"源项",targetTitle:"目标项"},Transfer:{selectAll:"全选",clearAll:"清除",unselectAll:"取消全选",total:e=>`共 ${e} 项`,selected:e=>`已选 ${e} 项`},Empty:{description:"无数据"},Select:{placeholder:"请选择"},TimePicker:{placeholder:"请选择时间",positiveText:"确认",negativeText:"取消",now:"此刻",clear:"清除"},Pagination:{goto:"跳至",selectionSuffix:"页"},DynamicTags:{add:"添加"},Log:{loading:"加载中"},Input:{placeholder:"请输入"},InputNumber:{placeholder:"请输入"},DynamicInput:{create:"添加"},ThemeEditor:{title:"主题编辑器",clearAllVars:"清除全部变量",clearSearch:"清除搜索",filterCompName:"过滤组件名",filterVarName:"过滤变量名",import:"导入",export:"导出",restore:"恢复默认"},Image:{tipPrevious:"上一张(←)",tipNext:"下一张(→)",tipCounterclockwise:"向左旋转",tipClockwise:"向右旋转",tipZoomOut:"缩小",tipZoomIn:"放大",tipDownload:"下载",tipClose:"关闭(Esc)",tipOriginalSize:"缩放到原始尺寸"}}},24924:function(e,t,o){o.d(t,{Z:()=>r});let r={name:"en-US",locale:o(31495)._}},79203:function(e,t,o){o.d(t,{Z:()=>d});let r={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}};var n=o(17530);let i={date:(0,n.l)({formats:{full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},defaultWidth:"full"}),time:(0,n.l)({formats:{full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,n.l)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},a={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"};var l=o(35584);let s={ordinalNumber:(e,t)=>{let o=Number(e);switch(String(t?.unit)){case"year":return`${o}年`;case"quarter":return`第${o}四半期`;case"month":return`${o}月`;case"week":return`第${o}週`;case"date":return`${o}日`;case"hour":return`${o}時`;case"minute":return`${o}分`;case"second":return`${o}秒`;default:return`${o}`}},era:(0,l.Y)({values:{narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},defaultWidth:"wide"}),quarter:(0,l.Y)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:(0,l.Y)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},defaultWidth:"wide"}),day:(0,l.Y)({values:{narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},defaultWidth:"wide"}),dayPeriod:(0,l.Y)({values:{narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},defaultWidth:"wide",formattingValues:{narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},defaultFormattingWidth:"wide"})};var c=o(8689),u=o(82048);let d={name:"ja-JP",locale:{code:"ja",formatDistance:(e,t,o)=>{let n;o=o||{};let i=r[e];if(n="string"==typeof i?i:1===t?o.addSuffix&&i.oneWithSuffix?i.oneWithSuffix:i.one:o.addSuffix&&i.otherWithSuffix?i.otherWithSuffix.replace("{{count}}",String(t)):i.other.replace("{{count}}",String(t)),o.addSuffix)if(o.comparison&&o.comparison>0)return n+"後";else return n+"前";return n},formatLong:i,formatRelative:(e,t,o,r)=>a[e],localize:s,match:{ordinalNumber:(0,c.y)({matchPattern:/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,u.t)({matchPatterns:{narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},defaultParseWidth:"any"}),quarter:(0,u.t)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,u.t)({matchPatterns:{narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},defaultParseWidth:"any"}),day:(0,u.t)({matchPatterns:{narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},defaultMatchWidth:"wide",parsePatterns:{any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},defaultParseWidth:"any"}),dayPeriod:(0,u.t)({matchPatterns:{any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}}},44488:function(e,t,o){o.d(t,{Z:()=>f});let r={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}};var n=o(17530);let i={date:(0,n.l)({formats:{full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:(0,n.l)({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:(0,n.l)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})};var a=o(53716);function l(e,t,o){let r="eeee p";return(0,a.x)(e,t,o)?r:e.getTime()>t.getTime()?"'下个'"+r:"'上个'"+r}let s={lastWeek:l,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:l,other:"PP p"};var c=o(35584);let u={ordinalNumber:(e,t)=>{let o=Number(e);switch(t?.unit){case"date":return o.toString()+"日";case"hour":return o.toString()+"时";case"minute":return o.toString()+"分";case"second":return o.toString()+"秒";default:return"第 "+o.toString()}},era:(0,c.Y)({values:{narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},defaultWidth:"wide"}),quarter:(0,c.Y)({values:{narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,c.Y)({values:{narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},defaultWidth:"wide"}),day:(0,c.Y)({values:{narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},defaultWidth:"wide"}),dayPeriod:(0,c.Y)({values:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},defaultWidth:"wide",formattingValues:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},defaultFormattingWidth:"wide"})};var d=o(82048);let f={name:"zh-CN",locale:{code:"zh-CN",formatDistance:(e,t,o)=>{let n,i=r[e];if(n="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",String(t)),o?.addSuffix)if(o.comparison&&o.comparison>0)return n+"内";else return n+"前";return n},formatLong:i,formatRelative:(e,t,o,r)=>{let n=s[e];return"function"==typeof n?n(t,o,r):n},localize:u,match:{ordinalNumber:(0,o(8689).y)({matchPattern:/^(第\s*)?\d+(日|时|分|秒)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,d.t)({matchPatterns:{narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(前)/i,/^(公元)/i]},defaultParseWidth:"any"}),quarter:(0,d.t)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,d.t)({matchPatterns:{narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},defaultParseWidth:"any"}),day:(0,d.t)({matchPatterns:{narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},defaultParseWidth:"any"}),dayPeriod:(0,d.t)({matchPatterns:{any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}}},78165:function(e,t,o){o.d(t,{ZP:()=>c,m4:()=>s});var r=o(19595),n=o(56946),i=o(9798),a=o(13015),l=o(44108);function s(e){var t,o;let{borderRadius:n,textColor3:i,primaryColor:a,textColor2:l,textColor1:s,fontSize:c,dividerColor:u,hoverColor:d,primaryColorHover:f}=e;return Object.assign({borderRadius:n,color:"#0000",groupTextColor:i,itemColorHover:d,itemColorActive:(0,r.zX)(a,{alpha:.1}),itemColorActiveHover:(0,r.zX)(a,{alpha:.1}),itemColorActiveCollapsed:(0,r.zX)(a,{alpha:.1}),itemTextColor:l,itemTextColorHover:l,itemTextColorActive:a,itemTextColorActiveHover:a,itemTextColorChildActive:a,itemTextColorChildActiveHover:a,itemTextColorHorizontal:l,itemTextColorHoverHorizontal:f,itemTextColorActiveHorizontal:a,itemTextColorActiveHoverHorizontal:a,itemTextColorChildActiveHorizontal:a,itemTextColorChildActiveHoverHorizontal:a,itemIconColor:s,itemIconColorHover:s,itemIconColorActive:a,itemIconColorActiveHover:a,itemIconColorChildActive:a,itemIconColorChildActiveHover:a,itemIconColorCollapsed:s,itemIconColorHorizontal:s,itemIconColorHoverHorizontal:f,itemIconColorActiveHorizontal:a,itemIconColorActiveHoverHorizontal:a,itemIconColorChildActiveHorizontal:a,itemIconColorChildActiveHoverHorizontal:a,itemHeight:"42px",arrowColor:l,arrowColorHover:l,arrowColorActive:a,arrowColorActiveHover:a,arrowColorChildActive:a,arrowColorChildActiveHover:a,colorInverted:"#0000",borderColorHorizontal:"#0000",fontSize:c,dividerColor:u},{itemColorHoverInverted:"#0000",itemColorActiveInverted:a,itemColorActiveHoverInverted:a,itemColorActiveCollapsedInverted:a,itemTextColorInverted:t="#BBB",itemTextColorHoverInverted:o="#FFF",itemTextColorChildActiveInverted:o,itemTextColorChildActiveHoverInverted:o,itemTextColorActiveInverted:o,itemTextColorActiveHoverInverted:o,itemTextColorHorizontalInverted:t,itemTextColorHoverHorizontalInverted:o,itemTextColorChildActiveHorizontalInverted:o,itemTextColorChildActiveHoverHorizontalInverted:o,itemTextColorActiveHorizontalInverted:o,itemTextColorActiveHoverHorizontalInverted:o,itemIconColorInverted:t,itemIconColorHoverInverted:o,itemIconColorActiveInverted:o,itemIconColorActiveHoverInverted:o,itemIconColorChildActiveInverted:o,itemIconColorChildActiveHoverInverted:o,itemIconColorCollapsedInverted:t,itemIconColorHorizontalInverted:t,itemIconColorHoverHorizontalInverted:o,itemIconColorActiveHorizontalInverted:o,itemIconColorActiveHoverHorizontalInverted:o,itemIconColorChildActiveHorizontalInverted:o,itemIconColorChildActiveHoverHorizontalInverted:o,arrowColorInverted:t,arrowColorHoverInverted:o,arrowColorActiveInverted:o,arrowColorActiveHoverInverted:o,arrowColorChildActiveInverted:o,arrowColorChildActiveHoverInverted:o,groupTextColorInverted:"#AAA"})}let c=(0,n.j)({name:"Menu",common:i.Z,peers:{Tooltip:l.Z,Dropdown:a.Z},self:s})},97963:function(e,t,o){o.d(t,{m:()=>i,Z:()=>a});var r=o(9798);let n={margin:"0 0 8px 0",padding:"10px 20px",maxWidth:"720px",minWidth:"420px",iconMargin:"0 10px 0 0",closeMargin:"0 0 0 10px",closeSize:"20px",closeIconSize:"16px",iconSize:"20px",fontSize:"14px"};function i(e){let{textColor2:t,closeIconColor:o,closeIconColorHover:r,closeIconColorPressed:i,infoColor:a,successColor:l,errorColor:s,warningColor:c,popoverColor:u,boxShadow2:d,primaryColor:f,lineHeight:p,borderRadius:h,closeColorHover:m,closeColorPressed:g}=e;return Object.assign(Object.assign({},n),{closeBorderRadius:h,textColor:t,textColorInfo:t,textColorSuccess:t,textColorError:t,textColorWarning:t,textColorLoading:t,color:u,colorInfo:u,colorSuccess:u,colorError:u,colorWarning:u,colorLoading:u,boxShadow:d,boxShadowInfo:d,boxShadowSuccess:d,boxShadowError:d,boxShadowWarning:d,boxShadowLoading:d,iconColor:t,iconColorInfo:a,iconColorSuccess:l,iconColorWarning:c,iconColorError:s,iconColorLoading:f,closeColorHover:m,closeColorPressed:g,closeIconColor:o,closeIconColorHover:r,closeIconColorPressed:i,closeColorHoverInfo:m,closeColorPressedInfo:g,closeIconColorInfo:o,closeIconColorHoverInfo:r,closeIconColorPressedInfo:i,closeColorHoverSuccess:m,closeColorPressedSuccess:g,closeIconColorSuccess:o,closeIconColorHoverSuccess:r,closeIconColorPressedSuccess:i,closeColorHoverError:m,closeColorPressedError:g,closeIconColorError:o,closeIconColorHoverError:r,closeIconColorPressedError:i,closeColorHoverWarning:m,closeColorPressedWarning:g,closeIconColorWarning:o,closeIconColorHoverWarning:r,closeIconColorPressedWarning:i,closeColorHoverLoading:m,closeColorPressedLoading:g,closeIconColorLoading:o,closeIconColorHoverLoading:r,closeIconColorPressedLoading:i,loadingColor:f,lineHeight:p,borderRadius:h})}let a={name:"Message",common:r.Z,self:i}},5057:function(e,t,o){o.d(t,{w:()=>q,Z:()=>J});var r=o(97931),n=o(71465),i=o(24786),a=o(6306),l=o(23967),s=o(58786),c=o(60794),u=o(56946),d=o(54470),f=o(53198),p=o(68574);let h=(0,s.iH)(!1);function m(){h.value=!0}function g(){h.value=!1}let b=0;var x=o(44267),y=o(64325),C=o(42056),w=o(65682),S=o(73522),_=o(34649),E=o(44337),T=o(97756);let P=0,$="",F="",k="",M="",O=(0,s.iH)("0px");var I=o(9366),L=o(14501),A=o(57869),z=o(58893),H=o(47064),D=o(83549),B=o(8608),N=o(54518),Z=o(62383),j=o(27987);let W=Object.assign(Object.assign({},A.NT),H.B),R=(0,j.u)(W),Y=(0,s.aZ)({name:"ModalBody",inheritAttrs:!1,slots:Object,props:Object.assign(Object.assign({show:{type:Boolean,required:!0},preset:String,displayDirective:{type:String,required:!0},trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},blockScroll:Boolean,draggable:{type:[Boolean,Object],default:!1}},W),{renderMask:Function,onClickoutside:Function,onBeforeLeave:{type:Function,required:!0},onAfterLeave:{type:Function,required:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0},onClose:{type:Function,required:!0},onAfterEnter:Function,onEsc:Function}),setup(e){let t=(0,s.iH)(null),o=(0,s.iH)(null),r=(0,s.iH)(e.show),n=(0,s.iH)(null),i=(0,s.iH)(null),a=(0,s.f3)(Z.vs),l=null;(0,s.YP)((0,s.Vh)(e,"show"),e=>{e&&(l=a.getMousePosition())},{immediate:!0});let{stopDrag:c,startDrag:u,draggableRef:d,draggableClassRef:f}=(0,N.Jh)((0,s.Vh)(e,"draggable"),{onEnd:e=>{g(e)}}),p=(0,s.Fl)(()=>(0,s.C_)([e.titleClass,f.value])),h=(0,s.Fl)(()=>(0,s.C_)([e.headerClass,f.value]));function m(){if("center"===a.transformOriginRef.value)return"";let{value:e}=n,{value:t}=i;if(null===e||null===t);else if(o.value){let r=o.value.containerScrollTop;return`${e}px ${t+r}px`}return""}function g(e){if("center"===a.transformOriginRef.value||!l||!o.value)return;let t=o.value.containerScrollTop,{offsetLeft:r,offsetTop:s}=e,c=l.y;n.value=-(r-l.x),i.value=-(s-c-t),e.style.transformOrigin=m()}(0,s.YP)((0,s.Vh)(e,"show"),e=>{e&&(r.value=!0)}),function(e){let t;if("undefined"==typeof document)return;let o=document.documentElement,r=!1,n=()=>{o.style.marginRight=$,o.style.overflow=F,o.style.overflowX=k,o.style.overflowY=M,O.value="0px"};(0,s.bv)(()=>{t=(0,s.YP)(e,e=>{if(e){if(!P){let e=window.innerWidth-o.offsetWidth;e>0&&($=o.style.marginRight,o.style.marginRight=`${e}px`,O.value=`${e}px`),F=o.style.overflow,k=o.style.overflowX,M=o.style.overflowY,o.style.overflow="hidden",o.style.overflowX="hidden",o.style.overflowY="hidden"}r=!0,P++}else--P||n(),r=!1},{immediate:!0})}),(0,s.Jd)(()=>{null==t||t(),r&&(--P||n(),r=!1)})}((0,s.Fl)(()=>e.blockScroll&&r.value));let b=(0,s.iH)(null);return(0,s.YP)(b,e=>{e&&(0,s.Y3)(()=>{let o=e.el;o&&t.value!==o&&(t.value=o)})}),(0,s.JJ)(Z.ZJ,t),(0,s.JJ)(D.H,null),(0,s.JJ)(B.c,null),{mergedTheme:a.mergedThemeRef,appear:a.appearRef,isMounted:a.isMountedRef,mergedClsPrefix:a.mergedClsPrefixRef,bodyRef:t,scrollbarRef:o,draggableClass:f,displayed:r,childNodeRef:b,cardHeaderClass:h,dialogTitleClass:p,handlePositiveClick:function(){e.onPositiveClick()},handleNegativeClick:function(){e.onNegativeClick()},handleCloseClick:function(){let{onClose:t}=e;t&&t()},handleAfterEnter:function(t){d.value&&u(t),e.onAfterEnter&&e.onAfterEnter(t)},handleAfterLeave:function(){r.value=!1,n.value=null,i.value=null,c(),e.onAfterLeave()},handleBeforeLeave:function(t){t.style.transformOrigin=m(),e.onBeforeLeave()},handleEnter:function(e){(0,s.Y3)(()=>{g(e)})}}},render(){let{$slots:e,$attrs:t,handleEnter:o,handleAfterEnter:r,handleAfterLeave:n,handleBeforeLeave:i,preset:a,mergedClsPrefix:l}=this,c=null;if(!a){if(!(c=(0,I.m)("default",e.default,{draggableClass:this.draggableClass})))return void(0,L.ZK)("modal","default slot is empty");(c=(0,s.Ho)(c)).props=(0,s.dG)({class:`${l}-modal`},t,c.props||{})}return"show"===this.displayDirective||this.displayed||this.show?(0,s.wy)((0,s.h)("div",{role:"none",class:`${l}-modal-body-wrapper`},(0,s.h)(T.Z,{ref:"scrollbarRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:`${l}-modal-scroll-content`},{default:()=>{var t;return[null==(t=this.renderMask)?void 0:t.call(this),(0,s.h)(E.i,{disabled:!this.trapFocus,active:this.show,onEsc:this.onEsc,autoFocus:this.autoFocus},{default:()=>{var t;return(0,s.h)(s.uT,{name:"fade-in-scale-up-transition",appear:null!=(t=this.appear)?t:this.isMounted,onEnter:o,onAfterEnter:r,onAfterLeave:n,onBeforeLeave:i},{default:()=>{let t=[[s.F8,this.show]],{onClickoutside:o}=this;return o&&t.push([_.Z,this.onClickoutside,void 0,{capture:!0}]),(0,s.wy)("confirm"===this.preset||"dialog"===this.preset?(0,s.h)(z.w,Object.assign({},this.$attrs,{class:[`${l}-modal`,this.$attrs.class],ref:"bodyRef",theme:this.mergedTheme.peers.Dialog,themeOverrides:this.mergedTheme.peerOverrides.Dialog},(0,C.C)(this.$props,H.X),{titleClass:this.dialogTitleClass,"aria-modal":"true"}),e):"card"===this.preset?(0,s.h)(A.ZP,Object.assign({},this.$attrs,{ref:"bodyRef",class:[`${l}-modal`,this.$attrs.class],theme:this.mergedTheme.peers.Card,themeOverrides:this.mergedTheme.peerOverrides.Card},(0,C.C)(this.$props,A.PY),{headerClass:this.cardHeaderClass,"aria-modal":"true",role:"dialog"}),e):this.childNodeRef=c,t)}})}})]}})),[[s.F8,"if"===this.displayDirective||this.displayed||this.show]]):null}});var U=o(74732),X=o(66480),V=o(71309);let G=(0,V.c)([(0,V.cB)("modal-container",`
+`,[(0,u.cM)("color-transition",{transition:"color .3s var(--n-bezier)"}),(0,u.cM)("depth",{color:"var(--n-color)"},[(0,u.c)("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),(0,u.c)("svg",{height:"1em",width:"1em"})]),f=Object.assign(Object.assign({},n.Z.props),{depth:[String,Number],size:[Number,String],color:String,component:[Object,Function]}),p=(0,r.aZ)({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:f,setup(e){let{mergedClsPrefixRef:t,inlineThemeDisabled:o}=(0,i.ZP)(e),s=(0,n.Z)("Icon","-icon",d,c.Z,e,t),u=(0,r.Fl)(()=>{let{depth:t}=e,{common:{cubicBezierEaseInOut:o},self:r}=s.value;if(void 0!==t){let{color:e,[`opacity${t}Depth`]:n}=r;return{"--n-bezier":o,"--n-color":e,"--n-opacity":n}}return{"--n-bezier":o,"--n-color":"","--n-opacity":""}}),f=o?(0,a.F)("icon",(0,r.Fl)(()=>`${e.depth||"d"}`),u,e):void 0;return{mergedClsPrefix:t,mergedStyle:(0,r.Fl)(()=>{let{size:t,color:o}=e;return{fontSize:(0,l.N)(t),color:o}}),cssVars:o?void 0:u,themeClass:null==f?void 0:f.themeClass,onRender:null==f?void 0:f.onRender}},render(){var e;let{$parent:t,depth:o,mergedClsPrefix:n,component:i,onRender:a,themeClass:l}=this;return(null==(e=null==t?void 0:t.$options)?void 0:e._n_icon__)&&(0,s.ZK)("icon","don't wrap `n-icon` inside `n-icon`"),null==a||a(),(0,r.h)("i",(0,r.dG)(this.$attrs,{role:"img",class:[`${n}-icon`,l,{[`${n}-icon--depth`]:o,[`${n}-icon--color-transition`]:void 0!==o}],style:[this.cssVars,this.mergedStyle]}),i?(0,r.h)(i):this.$slots)}})},87119:function(e,t,o){function r(e){let{textColorBase:t,opacity1:o,opacity2:r,opacity3:n,opacity4:i,opacity5:a}=e;return{color:t,opacity1Depth:o,opacity2Depth:r,opacity3Depth:n,opacity4Depth:i,opacity5Depth:a}}o.d(t,{Z:()=>n,m:()=>r});let n={name:"Icon",common:o(9798).Z,self:r}},16461:function(e,t,o){o.d(t,{Z:()=>r});let r={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"}},34534:function(e,t,o){o.d(t,{Z:()=>a});var r=o(19595),n=o(9798),i=o(16461);let a={name:"Input",common:n.Z,self:function(e){let{textColor2:t,textColor3:o,textColorDisabled:n,primaryColor:a,primaryColorHover:l,inputColor:s,inputColorDisabled:c,borderColor:u,warningColor:d,warningColorHover:f,errorColor:p,errorColorHover:h,borderRadius:m,lineHeight:g,fontSizeTiny:b,fontSizeSmall:x,fontSizeMedium:y,fontSizeLarge:C,heightTiny:w,heightSmall:S,heightMedium:_,heightLarge:E,actionColor:T,clearColor:P,clearColorHover:$,clearColorPressed:F,placeholderColor:k,placeholderColorDisabled:M,iconColor:O,iconColorDisabled:I,iconColorHover:L,iconColorPressed:A,fontWeight:z}=e;return Object.assign(Object.assign({},i.Z),{fontWeight:z,countTextColorDisabled:n,countTextColor:o,heightTiny:w,heightSmall:S,heightMedium:_,heightLarge:E,fontSizeTiny:b,fontSizeSmall:x,fontSizeMedium:y,fontSizeLarge:C,lineHeight:g,lineHeightTextarea:g,borderRadius:m,iconSize:"16px",groupLabelColor:T,groupLabelTextColor:t,textColor:t,textColorDisabled:n,textDecorationColor:t,caretColor:a,placeholderColor:k,placeholderColorDisabled:M,color:s,colorDisabled:c,colorFocus:s,groupLabelBorder:`1px solid ${u}`,border:`1px solid ${u}`,borderHover:`1px solid ${l}`,borderDisabled:`1px solid ${u}`,borderFocus:`1px solid ${l}`,boxShadowFocus:`0 0 0 2px ${(0,r.zX)(a,{alpha:.2})}`,loadingColor:a,loadingColorWarning:d,borderWarning:`1px solid ${d}`,borderHoverWarning:`1px solid ${f}`,colorFocusWarning:s,borderFocusWarning:`1px solid ${f}`,boxShadowFocusWarning:`0 0 0 2px ${(0,r.zX)(d,{alpha:.2})}`,caretColorWarning:d,loadingColorError:p,borderError:`1px solid ${p}`,borderHoverError:`1px solid ${h}`,colorFocusError:s,borderFocusError:`1px solid ${h}`,boxShadowFocusError:`0 0 0 2px ${(0,r.zX)(p,{alpha:.2})}`,caretColorError:p,clearColor:P,clearColorHover:$,clearColorPressed:F,iconColor:O,iconColorDisabled:I,iconColorHover:L,iconColorPressed:A,suffixTextColor:t})}}},11118:function(e,t,o){o.d(t,{Z:()=>i,m:()=>n});var r=o(19595);function n(e){let{textColor2:t,cardColor:o,modalColor:n,popoverColor:i,dividerColor:a,borderRadius:l,fontSize:s,hoverColor:c}=e;return{textColor:t,color:o,colorHover:c,colorModal:n,colorHoverModal:(0,r.h$)(n,c),colorPopover:i,colorHoverPopover:(0,r.h$)(i,c),borderColor:a,borderColorModal:(0,r.h$)(n,a),borderColorPopover:(0,r.h$)(i,a),borderRadius:l,fontSize:s}}let i={name:"List",common:o(9798).Z,self:n}},38325:function(e,t,o){o.d(t,{Z:()=>r});let r={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",weekPlaceholder:"Select Week",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now",clear:"Clear"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}}},89462:function(e,t,o){o.d(t,{Z:()=>r});let r={name:"ja-JP",global:{undo:"元に戻す",redo:"やり直す",confirm:"OK",clear:"クリア"},Popconfirm:{positiveText:"OK",negativeText:"キャンセル"},Cascader:{placeholder:"選択してください",loading:"ロード中",loadingRequiredMessage:e=>`すべての ${e} サブノードをロードしてから選択できます。`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"クリア",now:"現在",confirm:"OK",selectTime:"時間を選択",selectDate:"日付を選択",datePlaceholder:"日付を選択",datetimePlaceholder:"選択",monthPlaceholder:"月を選択",yearPlaceholder:"年を選択",quarterPlaceholder:"四半期を選択",weekPlaceholder:"Select Week",startDatePlaceholder:"開始日",endDatePlaceholder:"終了日",startDatetimePlaceholder:"開始時間",endDatetimePlaceholder:"終了時間",startMonthPlaceholder:"開始月",endMonthPlaceholder:"終了月",monthBeforeYear:!1,firstDayOfWeek:0,today:"今日"},DataTable:{checkTableAll:"全選択",uncheckTableAll:"全選択取消",confirm:"OK",clear:"リセット"},LegacyTransfer:{sourceTitle:"元",targetTitle:"先"},Transfer:{selectAll:"全選択",unselectAll:"全選択取消",clearAll:"リセット",total:e=>`合計 ${e} 項目`,selected:e=>`${e} 個の項目を選択`},Empty:{description:"データなし"},Select:{placeholder:"選択してください"},TimePicker:{placeholder:"選択してください",positiveText:"OK",negativeText:"キャンセル",now:"現在",clear:"クリア"},Pagination:{goto:"ページジャンプ",selectionSuffix:"ページ"},DynamicTags:{add:"追加"},Log:{loading:"ロード中"},Input:{placeholder:"入力してください"},InputNumber:{placeholder:"入力してください"},DynamicInput:{create:"追加"},ThemeEditor:{title:"テーマエディタ",clearAllVars:"全件変数クリア",clearSearch:"検索クリア",filterCompName:"コンポネント名をフィルタ",filterVarName:"変数をフィルタ",import:"インポート",export:"エクスポート",restore:"デフォルト"},Image:{tipPrevious:"前の画像 (←)",tipNext:"次の画像 (→)",tipCounterclockwise:"左に回転",tipClockwise:"右に回転",tipZoomOut:"縮小",tipZoomIn:"拡大",tipDownload:"ダウンロード",tipClose:"閉じる (Esc)",tipOriginalSize:"元のサイズに戻す"}}},86831:function(e,t,o){o.d(t,{Z:()=>r});let r={name:"zh-CN",global:{undo:"撤销",redo:"重做",confirm:"确认",clear:"清除"},Popconfirm:{positiveText:"确认",negativeText:"取消"},Cascader:{placeholder:"请选择",loading:"加载中",loadingRequiredMessage:e=>`加载全部 ${e} 的子节点后才可选中`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w周",clear:"清除",now:"此刻",confirm:"确认",selectTime:"选择时间",selectDate:"选择日期",datePlaceholder:"选择日期",datetimePlaceholder:"选择日期时间",monthPlaceholder:"选择月份",yearPlaceholder:"选择年份",quarterPlaceholder:"选择季度",weekPlaceholder:"选择周",startDatePlaceholder:"开始日期",endDatePlaceholder:"结束日期",startDatetimePlaceholder:"开始日期时间",endDatetimePlaceholder:"结束日期时间",startMonthPlaceholder:"开始月份",endMonthPlaceholder:"结束月份",monthBeforeYear:!1,firstDayOfWeek:0,today:"今天"},DataTable:{checkTableAll:"选择全部表格数据",uncheckTableAll:"取消选择全部表格数据",confirm:"确认",clear:"重置"},LegacyTransfer:{sourceTitle:"源项",targetTitle:"目标项"},Transfer:{selectAll:"全选",clearAll:"清除",unselectAll:"取消全选",total:e=>`共 ${e} 项`,selected:e=>`已选 ${e} 项`},Empty:{description:"无数据"},Select:{placeholder:"请选择"},TimePicker:{placeholder:"请选择时间",positiveText:"确认",negativeText:"取消",now:"此刻",clear:"清除"},Pagination:{goto:"跳至",selectionSuffix:"页"},DynamicTags:{add:"添加"},Log:{loading:"加载中"},Input:{placeholder:"请输入"},InputNumber:{placeholder:"请输入"},DynamicInput:{create:"添加"},ThemeEditor:{title:"主题编辑器",clearAllVars:"清除全部变量",clearSearch:"清除搜索",filterCompName:"过滤组件名",filterVarName:"过滤变量名",import:"导入",export:"导出",restore:"恢复默认"},Image:{tipPrevious:"上一张(←)",tipNext:"下一张(→)",tipCounterclockwise:"向左旋转",tipClockwise:"向右旋转",tipZoomOut:"缩小",tipZoomIn:"放大",tipDownload:"下载",tipClose:"关闭(Esc)",tipOriginalSize:"缩放到原始尺寸"}}},24924:function(e,t,o){o.d(t,{Z:()=>r});let r={name:"en-US",locale:o(31495)._}},79203:function(e,t,o){o.d(t,{Z:()=>d});let r={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}};var n=o(17530);let i={date:(0,n.l)({formats:{full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},defaultWidth:"full"}),time:(0,n.l)({formats:{full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,n.l)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},a={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"};var l=o(35584);let s={ordinalNumber:(e,t)=>{let o=Number(e);switch(String(t?.unit)){case"year":return`${o}年`;case"quarter":return`第${o}四半期`;case"month":return`${o}月`;case"week":return`第${o}週`;case"date":return`${o}日`;case"hour":return`${o}時`;case"minute":return`${o}分`;case"second":return`${o}秒`;default:return`${o}`}},era:(0,l.Y)({values:{narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},defaultWidth:"wide"}),quarter:(0,l.Y)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:(0,l.Y)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},defaultWidth:"wide"}),day:(0,l.Y)({values:{narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},defaultWidth:"wide"}),dayPeriod:(0,l.Y)({values:{narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},defaultWidth:"wide",formattingValues:{narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},defaultFormattingWidth:"wide"})};var c=o(8689),u=o(82048);let d={name:"ja-JP",locale:{code:"ja",formatDistance:(e,t,o)=>{let n;o=o||{};let i=r[e];if(n="string"==typeof i?i:1===t?o.addSuffix&&i.oneWithSuffix?i.oneWithSuffix:i.one:o.addSuffix&&i.otherWithSuffix?i.otherWithSuffix.replace("{{count}}",String(t)):i.other.replace("{{count}}",String(t)),o.addSuffix)if(o.comparison&&o.comparison>0)return n+"後";else return n+"前";return n},formatLong:i,formatRelative:(e,t,o,r)=>a[e],localize:s,match:{ordinalNumber:(0,c.y)({matchPattern:/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,u.t)({matchPatterns:{narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},defaultParseWidth:"any"}),quarter:(0,u.t)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,u.t)({matchPatterns:{narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},defaultParseWidth:"any"}),day:(0,u.t)({matchPatterns:{narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},defaultMatchWidth:"wide",parsePatterns:{any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},defaultParseWidth:"any"}),dayPeriod:(0,u.t)({matchPatterns:{any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}}},44488:function(e,t,o){o.d(t,{Z:()=>f});let r={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}};var n=o(17530);let i={date:(0,n.l)({formats:{full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:(0,n.l)({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:(0,n.l)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})};var a=o(53716);function l(e,t,o){let r="eeee p";return(0,a.x)(e,t,o)?r:e.getTime()>t.getTime()?"'下个'"+r:"'上个'"+r}let s={lastWeek:l,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:l,other:"PP p"};var c=o(35584);let u={ordinalNumber:(e,t)=>{let o=Number(e);switch(t?.unit){case"date":return o.toString()+"日";case"hour":return o.toString()+"时";case"minute":return o.toString()+"分";case"second":return o.toString()+"秒";default:return"第 "+o.toString()}},era:(0,c.Y)({values:{narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},defaultWidth:"wide"}),quarter:(0,c.Y)({values:{narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,c.Y)({values:{narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},defaultWidth:"wide"}),day:(0,c.Y)({values:{narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},defaultWidth:"wide"}),dayPeriod:(0,c.Y)({values:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},defaultWidth:"wide",formattingValues:{narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},defaultFormattingWidth:"wide"})};var d=o(82048);let f={name:"zh-CN",locale:{code:"zh-CN",formatDistance:(e,t,o)=>{let n,i=r[e];if(n="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",String(t)),o?.addSuffix)if(o.comparison&&o.comparison>0)return n+"内";else return n+"前";return n},formatLong:i,formatRelative:(e,t,o,r)=>{let n=s[e];return"function"==typeof n?n(t,o,r):n},localize:u,match:{ordinalNumber:(0,o(8689).y)({matchPattern:/^(第\s*)?\d+(日|时|分|秒)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,d.t)({matchPatterns:{narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(前)/i,/^(公元)/i]},defaultParseWidth:"any"}),quarter:(0,d.t)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,d.t)({matchPatterns:{narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},defaultParseWidth:"any"}),day:(0,d.t)({matchPatterns:{narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},defaultParseWidth:"any"}),dayPeriod:(0,d.t)({matchPatterns:{any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}}},78165:function(e,t,o){o.d(t,{ZP:()=>c,m4:()=>s});var r=o(19595),n=o(56946),i=o(9798),a=o(13015),l=o(44108);function s(e){var t,o;let{borderRadius:n,textColor3:i,primaryColor:a,textColor2:l,textColor1:s,fontSize:c,dividerColor:u,hoverColor:d,primaryColorHover:f}=e;return Object.assign({borderRadius:n,color:"#0000",groupTextColor:i,itemColorHover:d,itemColorActive:(0,r.zX)(a,{alpha:.1}),itemColorActiveHover:(0,r.zX)(a,{alpha:.1}),itemColorActiveCollapsed:(0,r.zX)(a,{alpha:.1}),itemTextColor:l,itemTextColorHover:l,itemTextColorActive:a,itemTextColorActiveHover:a,itemTextColorChildActive:a,itemTextColorChildActiveHover:a,itemTextColorHorizontal:l,itemTextColorHoverHorizontal:f,itemTextColorActiveHorizontal:a,itemTextColorActiveHoverHorizontal:a,itemTextColorChildActiveHorizontal:a,itemTextColorChildActiveHoverHorizontal:a,itemIconColor:s,itemIconColorHover:s,itemIconColorActive:a,itemIconColorActiveHover:a,itemIconColorChildActive:a,itemIconColorChildActiveHover:a,itemIconColorCollapsed:s,itemIconColorHorizontal:s,itemIconColorHoverHorizontal:f,itemIconColorActiveHorizontal:a,itemIconColorActiveHoverHorizontal:a,itemIconColorChildActiveHorizontal:a,itemIconColorChildActiveHoverHorizontal:a,itemHeight:"42px",arrowColor:l,arrowColorHover:l,arrowColorActive:a,arrowColorActiveHover:a,arrowColorChildActive:a,arrowColorChildActiveHover:a,colorInverted:"#0000",borderColorHorizontal:"#0000",fontSize:c,dividerColor:u},{itemColorHoverInverted:"#0000",itemColorActiveInverted:a,itemColorActiveHoverInverted:a,itemColorActiveCollapsedInverted:a,itemTextColorInverted:t="#BBB",itemTextColorHoverInverted:o="#FFF",itemTextColorChildActiveInverted:o,itemTextColorChildActiveHoverInverted:o,itemTextColorActiveInverted:o,itemTextColorActiveHoverInverted:o,itemTextColorHorizontalInverted:t,itemTextColorHoverHorizontalInverted:o,itemTextColorChildActiveHorizontalInverted:o,itemTextColorChildActiveHoverHorizontalInverted:o,itemTextColorActiveHorizontalInverted:o,itemTextColorActiveHoverHorizontalInverted:o,itemIconColorInverted:t,itemIconColorHoverInverted:o,itemIconColorActiveInverted:o,itemIconColorActiveHoverInverted:o,itemIconColorChildActiveInverted:o,itemIconColorChildActiveHoverInverted:o,itemIconColorCollapsedInverted:t,itemIconColorHorizontalInverted:t,itemIconColorHoverHorizontalInverted:o,itemIconColorActiveHorizontalInverted:o,itemIconColorActiveHoverHorizontalInverted:o,itemIconColorChildActiveHorizontalInverted:o,itemIconColorChildActiveHoverHorizontalInverted:o,arrowColorInverted:t,arrowColorHoverInverted:o,arrowColorActiveInverted:o,arrowColorActiveHoverInverted:o,arrowColorChildActiveInverted:o,arrowColorChildActiveHoverInverted:o,groupTextColorInverted:"#AAA"})}let c=(0,n.j)({name:"Menu",common:i.Z,peers:{Tooltip:l.Z,Dropdown:a.Z},self:s})},97963:function(e,t,o){o.d(t,{m:()=>i,Z:()=>a});var r=o(9798);let n={margin:"0 0 8px 0",padding:"10px 20px",maxWidth:"720px",minWidth:"420px",iconMargin:"0 10px 0 0",closeMargin:"0 0 0 10px",closeSize:"20px",closeIconSize:"16px",iconSize:"20px",fontSize:"14px"};function i(e){let{textColor2:t,closeIconColor:o,closeIconColorHover:r,closeIconColorPressed:i,infoColor:a,successColor:l,errorColor:s,warningColor:c,popoverColor:u,boxShadow2:d,primaryColor:f,lineHeight:p,borderRadius:h,closeColorHover:m,closeColorPressed:g}=e;return Object.assign(Object.assign({},n),{closeBorderRadius:h,textColor:t,textColorInfo:t,textColorSuccess:t,textColorError:t,textColorWarning:t,textColorLoading:t,color:u,colorInfo:u,colorSuccess:u,colorError:u,colorWarning:u,colorLoading:u,boxShadow:d,boxShadowInfo:d,boxShadowSuccess:d,boxShadowError:d,boxShadowWarning:d,boxShadowLoading:d,iconColor:t,iconColorInfo:a,iconColorSuccess:l,iconColorWarning:c,iconColorError:s,iconColorLoading:f,closeColorHover:m,closeColorPressed:g,closeIconColor:o,closeIconColorHover:r,closeIconColorPressed:i,closeColorHoverInfo:m,closeColorPressedInfo:g,closeIconColorInfo:o,closeIconColorHoverInfo:r,closeIconColorPressedInfo:i,closeColorHoverSuccess:m,closeColorPressedSuccess:g,closeIconColorSuccess:o,closeIconColorHoverSuccess:r,closeIconColorPressedSuccess:i,closeColorHoverError:m,closeColorPressedError:g,closeIconColorError:o,closeIconColorHoverError:r,closeIconColorPressedError:i,closeColorHoverWarning:m,closeColorPressedWarning:g,closeIconColorWarning:o,closeIconColorHoverWarning:r,closeIconColorPressedWarning:i,closeColorHoverLoading:m,closeColorPressedLoading:g,closeIconColorLoading:o,closeIconColorHoverLoading:r,closeIconColorPressedLoading:i,loadingColor:f,lineHeight:p,borderRadius:h})}let a={name:"Message",common:r.Z,self:i}},5057:function(e,t,o){o.d(t,{w:()=>q,Z:()=>J});var r=o(97931),n=o(71465),i=o(24786),a=o(6306),l=o(23967),s=o(58786),c=o(60794),u=o(56946),d=o(54470),f=o(53198),p=o(68574);let h=(0,s.iH)(!1);function m(){h.value=!0}function g(){h.value=!1}let b=0;var x=o(44267),y=o(64325),C=o(42056),w=o(65682),S=o(73522),_=o(34649),E=o(44337),T=o(97756);let P=0,$="",F="",k="",M="",O=(0,s.iH)("0px");var I=o(9366),L=o(14501),A=o(57869),z=o(58893),H=o(47064),D=o(83549),B=o(8608),N=o(54518),Z=o(62383),j=o(27987);let W=Object.assign(Object.assign({},A.NT),H.B),R=(0,j.u)(W),Y=(0,s.aZ)({name:"ModalBody",inheritAttrs:!1,slots:Object,props:Object.assign(Object.assign({show:{type:Boolean,required:!0},preset:String,displayDirective:{type:String,required:!0},trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},blockScroll:Boolean,draggable:{type:[Boolean,Object],default:!1}},W),{renderMask:Function,onClickoutside:Function,onBeforeLeave:{type:Function,required:!0},onAfterLeave:{type:Function,required:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0},onClose:{type:Function,required:!0},onAfterEnter:Function,onEsc:Function}),setup(e){let t=(0,s.iH)(null),o=(0,s.iH)(null),r=(0,s.iH)(e.show),n=(0,s.iH)(null),i=(0,s.iH)(null),a=(0,s.f3)(Z.vs),l=null;(0,s.YP)((0,s.Vh)(e,"show"),e=>{e&&(l=a.getMousePosition())},{immediate:!0});let{stopDrag:c,startDrag:u,draggableRef:d,draggableClassRef:f}=(0,N.Jh)((0,s.Vh)(e,"draggable"),{onEnd:e=>{g(e)}}),p=(0,s.Fl)(()=>(0,s.C_)([e.titleClass,f.value])),h=(0,s.Fl)(()=>(0,s.C_)([e.headerClass,f.value]));function m(){if("center"===a.transformOriginRef.value)return"";let{value:e}=n,{value:t}=i;if(null===e||null===t);else if(o.value){let r=o.value.containerScrollTop;return`${e}px ${t+r}px`}return""}function g(e){if("center"===a.transformOriginRef.value||!l||!o.value)return;let t=o.value.containerScrollTop,{offsetLeft:r,offsetTop:s}=e,c=l.y;n.value=-(r-l.x),i.value=-(s-c-t),e.style.transformOrigin=m()}(0,s.YP)((0,s.Vh)(e,"show"),e=>{e&&(r.value=!0)}),function(e){let t;if("undefined"==typeof document)return;let o=document.documentElement,r=!1,n=()=>{o.style.marginRight=$,o.style.overflow=F,o.style.overflowX=k,o.style.overflowY=M,O.value="0px"};(0,s.bv)(()=>{t=(0,s.YP)(e,e=>{if(e){if(!P){let e=window.innerWidth-o.offsetWidth;e>0&&($=o.style.marginRight,o.style.marginRight=`${e}px`,O.value=`${e}px`),F=o.style.overflow,k=o.style.overflowX,M=o.style.overflowY,o.style.overflow="hidden",o.style.overflowX="hidden",o.style.overflowY="hidden"}r=!0,P++}else--P||n(),r=!1},{immediate:!0})}),(0,s.Jd)(()=>{null==t||t(),r&&(--P||n(),r=!1)})}((0,s.Fl)(()=>e.blockScroll&&r.value));let b=(0,s.iH)(null);return(0,s.YP)(b,e=>{e&&(0,s.Y3)(()=>{let o=e.el;o&&t.value!==o&&(t.value=o)})}),(0,s.JJ)(Z.ZJ,t),(0,s.JJ)(D.H,null),(0,s.JJ)(B.c,null),{mergedTheme:a.mergedThemeRef,appear:a.appearRef,isMounted:a.isMountedRef,mergedClsPrefix:a.mergedClsPrefixRef,bodyRef:t,scrollbarRef:o,draggableClass:f,displayed:r,childNodeRef:b,cardHeaderClass:h,dialogTitleClass:p,handlePositiveClick:function(){e.onPositiveClick()},handleNegativeClick:function(){e.onNegativeClick()},handleCloseClick:function(){let{onClose:t}=e;t&&t()},handleAfterEnter:function(t){d.value&&u(t),e.onAfterEnter&&e.onAfterEnter(t)},handleAfterLeave:function(){r.value=!1,n.value=null,i.value=null,c(),e.onAfterLeave()},handleBeforeLeave:function(t){t.style.transformOrigin=m(),e.onBeforeLeave()},handleEnter:function(e){(0,s.Y3)(()=>{g(e)})}}},render(){let{$slots:e,$attrs:t,handleEnter:o,handleAfterEnter:r,handleAfterLeave:n,handleBeforeLeave:i,preset:a,mergedClsPrefix:l}=this,c=null;if(!a){if(!(c=(0,I.m)("default",e.default,{draggableClass:this.draggableClass})))return void(0,L.ZK)("modal","default slot is empty");(c=(0,s.Ho)(c)).props=(0,s.dG)({class:`${l}-modal`},t,c.props||{})}return"show"===this.displayDirective||this.displayed||this.show?(0,s.wy)((0,s.h)("div",{role:"none",class:`${l}-modal-body-wrapper`},(0,s.h)(T.Z,{ref:"scrollbarRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:`${l}-modal-scroll-content`},{default:()=>{var t;return[null==(t=this.renderMask)?void 0:t.call(this),(0,s.h)(E.i,{disabled:!this.trapFocus,active:this.show,onEsc:this.onEsc,autoFocus:this.autoFocus},{default:()=>{var t;return(0,s.h)(s.uT,{name:"fade-in-scale-up-transition",appear:null!=(t=this.appear)?t:this.isMounted,onEnter:o,onAfterEnter:r,onAfterLeave:n,onBeforeLeave:i},{default:()=>{let t=[[s.F8,this.show]],{onClickoutside:o}=this;return o&&t.push([_.Z,this.onClickoutside,void 0,{capture:!0}]),(0,s.wy)("confirm"===this.preset||"dialog"===this.preset?(0,s.h)(z.w,Object.assign({},this.$attrs,{class:[`${l}-modal`,this.$attrs.class],ref:"bodyRef",theme:this.mergedTheme.peers.Dialog,themeOverrides:this.mergedTheme.peerOverrides.Dialog},(0,C.C)(this.$props,H.X),{titleClass:this.dialogTitleClass,"aria-modal":"true"}),e):"card"===this.preset?(0,s.h)(A.ZP,Object.assign({},this.$attrs,{ref:"bodyRef",class:[`${l}-modal`,this.$attrs.class],theme:this.mergedTheme.peers.Card,themeOverrides:this.mergedTheme.peerOverrides.Card},(0,C.C)(this.$props,A.PY),{headerClass:this.cardHeaderClass,"aria-modal":"true",role:"dialog"}),e):this.childNodeRef=c,t)}})}})]}})),[[s.F8,"if"===this.displayDirective||this.displayed||this.show]]):null}});var U=o(74732),X=o(66480),V=o(71309);let G=(0,V.c)([(0,V.cB)("modal-container",`
position: fixed;
left: 0;
top: 0;
@@ -776,4 +776,4 @@ ${n}
`,[(0,U.h)({duration:".25s",enterScale:".5"}),(0,V.c)(`.${N.Is}`,`
cursor: move;
user-select: none;
- `)])]),q=Object.assign(Object.assign(Object.assign(Object.assign({},u.Z.props),{show:Boolean,unstableShowMask:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0},preset:String,to:[String,Object],displayDirective:{type:String,default:"if"},transformOrigin:{type:String,default:"mouse"},zIndex:Number,autoFocus:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0}}),W),{draggable:[Boolean,Object],onEsc:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onBeforeLeave:Function,onAfterLeave:Function,onClose:Function,onPositiveClick:Function,onNegativeClick:Function,onMaskClick:Function,internalDialog:Boolean,internalModal:Boolean,internalAppear:{type:Boolean,default:void 0},overlayStyle:[String,Object],onBeforeHide:Function,onAfterHide:Function,onHide:Function}),J=(0,s.aZ)({name:"Modal",inheritAttrs:!1,props:q,slots:Object,setup(e){let t=(0,s.iH)(null),{mergedClsPrefixRef:o,namespaceRef:n,inlineThemeDisabled:c}=(0,d.ZP)(e),_=(0,u.Z)("Modal","-modal",G,S.Z,e,o),E=(0,i.Z)(64),T=(0,a.Z)(),P=(0,l.Z)(),$=e.internalDialog?(0,s.f3)(w.eV,null):null,F=e.internalModal?(0,s.f3)(Z.iN,null):null,k=(p.j&&((0,s.wF)(()=>{b||(window.addEventListener("compositionstart",m),window.addEventListener("compositionend",g)),b++}),(0,s.Jd)(()=>{b<=1?(window.removeEventListener("compositionstart",m),window.removeEventListener("compositionend",g),b=0):b--})),h);function M(t){let{onUpdateShow:o,"onUpdate:show":r,onHide:n}=e;o&&(0,x.R)(o,t),r&&(0,x.R)(r,t),n&&!t&&n(t)}(0,s.JJ)(Z.vs,{getMousePosition:()=>{let e=$||F;if(e){let{clickedRef:t,clickedPositionRef:o}=e;if(t.value&&o.value)return o.value}return E.value?T.value:null},mergedClsPrefixRef:o,mergedThemeRef:_,isMountedRef:P,appearRef:(0,s.Vh)(e,"internalAppear"),transformOriginRef:(0,s.Vh)(e,"transformOrigin")});let O=(0,s.Fl)(()=>{let{common:{cubicBezierEaseOut:e},self:{boxShadow:t,color:o,textColor:r}}=_.value;return{"--n-bezier-ease-out":e,"--n-box-shadow":t,"--n-color":o,"--n-text-color":r}}),I=c?(0,f.F)("theme-class",void 0,O,e):void 0;return{mergedClsPrefix:o,namespace:n,isMounted:P,containerRef:t,presetProps:(0,s.Fl)(()=>(0,C.C)(e,R)),handleEsc:function(t){var o;null==(o=e.onEsc)||o.call(e),e.show&&e.closeOnEsc&&(0,y.v)(t)&&!k.value&&M(!1)},handleAfterLeave:function(){let{onAfterLeave:t,onAfterHide:o}=e;t&&(0,x.R)(t),o&&o()},handleClickoutside:function(o){var n;let{onMaskClick:i}=e;i&&i(o),e.maskClosable&&(null==(n=t.value)?void 0:n.contains((0,r.p)(o)))&&M(!1)},handleBeforeLeave:function(){let{onBeforeLeave:t,onBeforeHide:o}=e;t&&(0,x.R)(t),o&&o()},doUpdateShow:M,handleNegativeClick:function(){let{onNegativeClick:t}=e;t?Promise.resolve(t()).then(e=>{!1!==e&&M(!1)}):M(!1)},handlePositiveClick:function(){let{onPositiveClick:t}=e;t?Promise.resolve(t()).then(e=>{!1!==e&&M(!1)}):M(!1)},handleCloseClick:function(){let{onClose:t}=e;t?Promise.resolve(t()).then(e=>{!1!==e&&M(!1)}):M(!1)},cssVars:c?void 0:O,themeClass:null==I?void 0:I.themeClass,onRender:null==I?void 0:I.onRender}},render(){let{mergedClsPrefix:e}=this;return(0,s.h)(c.Z,{to:this.to,show:this.show},{default:()=>{var t;null==(t=this.onRender)||t.call(this);let{unstableShowMask:o}=this;return(0,s.wy)((0,s.h)("div",{role:"none",ref:"containerRef",class:[`${e}-modal-container`,this.themeClass,this.namespace],style:this.cssVars},(0,s.h)(Y,Object.assign({style:this.overlayStyle},this.$attrs,{ref:"bodyWrapper",displayDirective:this.displayDirective,show:this.show,preset:this.preset,autoFocus:this.autoFocus,trapFocus:this.trapFocus,draggable:this.draggable,blockScroll:this.blockScroll},this.presetProps,{onEsc:this.handleEsc,onClose:this.handleCloseClick,onNegativeClick:this.handleNegativeClick,onPositiveClick:this.handlePositiveClick,onBeforeLeave:this.handleBeforeLeave,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave,onClickoutside:o?void 0:this.handleClickoutside,renderMask:o?()=>{var t;return(0,s.h)(s.uT,{name:"fade-in-transition",key:"mask",appear:null!=(t=this.internalAppear)?t:this.isMounted},{default:()=>this.show?(0,s.h)("div",{"aria-hidden":!0,ref:"containerRef",class:`${e}-modal-mask`,onClick:this.handleClickoutside}):null})}:void 0}),this.$slots)),[[n.Z,{zIndex:this.zIndex,enabled:this.show}]])}})}})},54518:function(e,t,o){o.d(t,{Is:()=>s,Jh:()=>c,dd:()=>l});var r=o(82518),n=o(58786),i=o(14501),a=o(20389);function l(){let e=(0,n.f3)(a.u_,null);return null===e&&(0,i._y)("use-modal","No outer <n-modal-provider /> founded."),e}let s="n-draggable";function c(e,t){let o,i=(0,n.Fl)(()=>!1!==e.value),a=(0,n.Fl)(()=>i.value?s:""),l=(0,n.Fl)(()=>{let t=e.value;return!0===t||!1===t||!t||"none"!==t.bounds});function c(){o&&(o(),o=void 0)}return(0,n.SK)(c),{stopDrag:c,startDrag:function(e){let n,i=e.querySelector(`.${s}`);if(!i||!a.value)return;let c=0,u=0,d=0,f=0,p=0,h=0;function m(t){t.preventDefault(),n=t;let{x:o,y:r,right:i,bottom:a}=e.getBoundingClientRect();u=o,f=r,c=window.innerWidth-i,d=window.innerHeight-a;let{left:l,top:s}=e.style;p=+s.slice(0,-2),h=+l.slice(0,-2)}function g(t){if(!n)return;let{clientX:o,clientY:r}=n,i=t.clientX-o,a=t.clientY-r;l.value&&(i>c?i=c:-i>u&&(i=-u),a>d?a=d:-a>f&&(a=-f));let s=i+h,m=a+p;e.style.top=`${m}px`,e.style.left=`${s}px`}function b(){n=void 0,t.onEnd(e)}(0,r.on)("mousedown",i,m),(0,r.on)("mousemove",window,g),(0,r.on)("mouseup",window,b),o=()=>{(0,r.S)("mousedown",i,m),(0,r.on)("mousemove",window,g),(0,r.on)("mouseup",window,b)}},draggableRef:i,draggableClassRef:a}}},20389:function(e,t,o){o.d(t,{iN:()=>n,nH:()=>a,u_:()=>i});var r=o(19050);let n=(0,r.U)("n-modal-provider"),i=(0,r.U)("n-modal-api"),a=(0,r.U)("n-modal-reactive-list")},62383:function(e,t,o){o.d(t,{ZJ:()=>n,iN:()=>i,vs:()=>a});var r=o(19050);let n=(0,r.U)("n-modal-body"),i=(0,r.U)("n-modal-provider"),a=(0,r.U)("n-modal")},73522:function(e,t,o){o.d(t,{Z:()=>c,m:()=>s});var r=o(50957),n=o(56946),i=o(9798),a=o(75123),l=o(86423);function s(e){let{modalColor:t,textColor2:o,boxShadow3:r}=e;return{color:t,textColor:o,boxShadow:r}}let c=(0,n.j)({name:"Modal",common:i.Z,peers:{Scrollbar:r.Z,Dialog:l.Z,Card:a.Z},self:s})},67716:function(e,t,o){o.d(t,{m:()=>l,Z:()=>s});var r=o(50957),n=o(56946),i=o(9798);let a={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"};function l(e){let{textColor2:t,successColor:o,infoColor:r,warningColor:n,errorColor:i,popoverColor:l,closeIconColor:s,closeIconColorHover:c,closeIconColorPressed:u,closeColorHover:d,closeColorPressed:f,textColor1:p,textColor3:h,borderRadius:m,fontWeightStrong:g,boxShadow2:b,lineHeight:x,fontSize:y}=e;return Object.assign(Object.assign({},a),{borderRadius:m,lineHeight:x,fontSize:y,headerFontWeight:g,iconColor:t,iconColorSuccess:o,iconColorInfo:r,iconColorWarning:n,iconColorError:i,color:l,textColor:t,closeIconColor:s,closeIconColorHover:c,closeIconColorPressed:u,closeBorderRadius:m,closeColorHover:d,closeColorPressed:f,headerTextColor:p,descriptionTextColor:h,actionTextColor:t,boxShadow:b})}let s=(0,n.j)({name:"Notification",common:i.Z,peers:{Scrollbar:r.Z},self:l})},55675:function(e,t,o){o.d(t,{m:()=>c,Z:()=>u});var r=o(56946),n=o(9798),i=o(34534),a=o(71251),l=o(61150);let s={itemPaddingSmall:"0 4px",itemMarginSmall:"0 0 0 8px",itemMarginSmallRtl:"0 8px 0 0",itemPaddingMedium:"0 4px",itemMarginMedium:"0 0 0 8px",itemMarginMediumRtl:"0 8px 0 0",itemPaddingLarge:"0 4px",itemMarginLarge:"0 0 0 8px",itemMarginLargeRtl:"0 8px 0 0",buttonIconSizeSmall:"14px",buttonIconSizeMedium:"16px",buttonIconSizeLarge:"18px",inputWidthSmall:"60px",selectWidthSmall:"unset",inputMarginSmall:"0 0 0 8px",inputMarginSmallRtl:"0 8px 0 0",selectMarginSmall:"0 0 0 8px",prefixMarginSmall:"0 8px 0 0",suffixMarginSmall:"0 0 0 8px",inputWidthMedium:"60px",selectWidthMedium:"unset",inputMarginMedium:"0 0 0 8px",inputMarginMediumRtl:"0 8px 0 0",selectMarginMedium:"0 0 0 8px",prefixMarginMedium:"0 8px 0 0",suffixMarginMedium:"0 0 0 8px",inputWidthLarge:"60px",selectWidthLarge:"unset",inputMarginLarge:"0 0 0 8px",inputMarginLargeRtl:"0 8px 0 0",selectMarginLarge:"0 0 0 8px",prefixMarginLarge:"0 8px 0 0",suffixMarginLarge:"0 0 0 8px"};function c(e){let{textColor2:t,primaryColor:o,primaryColorHover:r,primaryColorPressed:n,inputColorDisabled:i,textColorDisabled:a,borderColor:l,borderRadius:c,fontSizeTiny:u,fontSizeSmall:d,fontSizeMedium:f,heightTiny:p,heightSmall:h,heightMedium:m}=e;return Object.assign(Object.assign({},s),{buttonColor:"#0000",buttonColorHover:"#0000",buttonColorPressed:"#0000",buttonBorder:`1px solid ${l}`,buttonBorderHover:`1px solid ${l}`,buttonBorderPressed:`1px solid ${l}`,buttonIconColor:t,buttonIconColorHover:t,buttonIconColorPressed:t,itemTextColor:t,itemTextColorHover:r,itemTextColorPressed:n,itemTextColorActive:o,itemTextColorDisabled:a,itemColor:"#0000",itemColorHover:"#0000",itemColorPressed:"#0000",itemColorActive:"#0000",itemColorActiveHover:"#0000",itemColorDisabled:i,itemBorder:"1px solid #0000",itemBorderHover:"1px solid #0000",itemBorderPressed:"1px solid #0000",itemBorderActive:`1px solid ${o}`,itemBorderDisabled:`1px solid ${l}`,itemBorderRadius:c,itemSizeSmall:p,itemSizeMedium:h,itemSizeLarge:m,itemFontSizeSmall:u,itemFontSizeMedium:d,itemFontSizeLarge:f,jumperFontSizeSmall:u,jumperFontSizeMedium:d,jumperFontSizeLarge:f,jumperTextColor:t,jumperTextColorDisabled:a})}let u=(0,r.j)({name:"Pagination",common:n.Z,peers:{Select:l.Z,Input:i.Z,Popselect:a.Z},self:c})},8608:function(e,t,o){o.d(t,{c:()=>r});let r=(0,o(19050).U)("n-popover-body")},27422:function(e,t,o){o.d(t,{m:()=>i,Z:()=>a});var r=o(9798);let n={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"};function i(e){let{boxShadow2:t,popoverColor:o,textColor2:r,borderRadius:i,fontSize:a,dividerColor:l}=e;return Object.assign(Object.assign({},n),{fontSize:a,borderRadius:i,color:o,dividerColor:l,textColor:r,boxShadow:t})}let a={name:"Popover",common:r.Z,self:i}},71251:function(e,t,o){o.d(t,{Z:()=>l});var r=o(87955),n=o(56946),i=o(9798),a=o(27422);let l=(0,n.j)({name:"Popselect",common:i.Z,peers:{Popover:a.Z,InternalSelectMenu:r.Z},self:function(e){let{boxShadow2:t}=e;return{menuBoxShadow:t}}})},52496:function(e,t,o){function r(e){let{infoColor:t,successColor:o,warningColor:r,errorColor:n,textColor2:i,progressRailColor:a,fontSize:l,fontWeight:s}=e;return{fontSize:l,fontSizeCircle:"28px",fontWeightCircle:s,railColor:a,railHeight:"8px",iconSizeCircle:"36px",iconSizeLine:"18px",iconColor:t,iconColorInfo:t,iconColorSuccess:o,iconColorWarning:r,iconColorError:n,textColorCircle:i,textColorLineInner:"rgb(255, 255, 255)",textColorLineOuter:i,fillColor:t,fillColorInfo:t,fillColorSuccess:o,fillColorWarning:r,fillColorError:n,lineBgProcessing:"linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)"}}o.d(t,{Z:()=>n,m:()=>r});let n={name:"Progress",common:o(9798).Z,self:r}},26957:function(e,t,o){o.d(t,{Z:()=>r});let r={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"}},19690:function(e,t,o){o.d(t,{Z:()=>a});var r=o(19595),n=o(9798),i=o(26957);let a={name:"Radio",common:n.Z,self:function(e){let{borderColor:t,primaryColor:o,baseColor:n,textColorDisabled:a,inputColorDisabled:l,textColor2:s,opacityDisabled:c,borderRadius:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:p,heightSmall:h,heightMedium:m,heightLarge:g,lineHeight:b}=e;return Object.assign(Object.assign({},i.Z),{labelLineHeight:b,buttonHeightSmall:h,buttonHeightMedium:m,buttonHeightLarge:g,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:p,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${o}`,boxShadowFocus:`inset 0 0 0 1px ${o}, 0 0 0 2px ${(0,r.zX)(o,{alpha:.2})}`,boxShadowHover:`inset 0 0 0 1px ${o}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:n,colorDisabled:l,colorActive:"#0000",textColor:s,textColorDisabled:a,dotColorActive:o,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:o,buttonBorderColorHover:t,buttonColor:n,buttonColorActive:n,buttonTextColor:s,buttonTextColorActive:o,buttonTextColorHover:o,opacityDisabled:c,buttonBoxShadowFocus:`inset 0 0 0 1px ${o}, 0 0 0 2px ${(0,r.zX)(o,{alpha:.3})}`,buttonBoxShadowHover:"inset 0 0 0 1px #0000",buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:u})}}},61150:function(e,t,o){o.d(t,{Z:()=>s,m:()=>l});var r=o(87955),n=o(66706),i=o(56946),a=o(9798);function l(e){let{boxShadow2:t}=e;return{menuBoxShadow:t}}let s=(0,i.j)({name:"Select",common:a.Z,peers:{InternalSelection:n.Z,InternalSelectMenu:r.Z},self:l})},7192:function(e,t,o){o.d(t,{Z:()=>r});let r={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"}},53573:function(e,t,o){function r(e){let{opacityDisabled:t,heightTiny:o,heightSmall:r,heightMedium:n,heightLarge:i,heightHuge:a,primaryColor:l,fontSize:s}=e;return{fontSize:s,textColor:l,sizeTiny:o,sizeSmall:r,sizeMedium:n,sizeLarge:i,sizeHuge:a,color:l,opacitySpinning:t}}o.d(t,{Z:()=>n,m:()=>r});let n={name:"Spin",common:o(9798).Z,self:r}},30951:function(e,t,o){o.d(t,{Z:()=>r});let r={buttonHeightSmall:"14px",buttonHeightMedium:"18px",buttonHeightLarge:"22px",buttonWidthSmall:"14px",buttonWidthMedium:"18px",buttonWidthLarge:"22px",buttonWidthPressedSmall:"20px",buttonWidthPressedMedium:"24px",buttonWidthPressedLarge:"28px",railHeightSmall:"18px",railHeightMedium:"22px",railHeightLarge:"26px",railWidthSmall:"32px",railWidthMedium:"40px",railWidthLarge:"48px"}},91078:function(e,t,o){o.d(t,{m:()=>a,Z:()=>l});var r=o(19595),n=o(9798);let i={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"};function a(e){let{dividerColor:t,cardColor:o,modalColor:n,popoverColor:a,tableHeaderColor:l,tableColorStriped:s,textColor1:c,textColor2:u,borderRadius:d,fontWeightStrong:f,lineHeight:p,fontSizeSmall:h,fontSizeMedium:m,fontSizeLarge:g}=e;return Object.assign(Object.assign({},i),{fontSizeSmall:h,fontSizeMedium:m,fontSizeLarge:g,lineHeight:p,borderRadius:d,borderColor:(0,r.h$)(o,t),borderColorModal:(0,r.h$)(n,t),borderColorPopover:(0,r.h$)(a,t),tdColor:o,tdColorModal:n,tdColorPopover:a,tdColorStriped:(0,r.h$)(o,s),tdColorStripedModal:(0,r.h$)(n,s),tdColorStripedPopover:(0,r.h$)(a,s),thColor:(0,r.h$)(o,l),thColorModal:(0,r.h$)(n,l),thColorPopover:(0,r.h$)(a,l),thTextColor:c,tdTextColor:u,thFontWeight:f})}let l={name:"Table",common:n.Z,self:a}},95842:function(e,t,o){o.d(t,{m:()=>i,Z:()=>a});var r=o(9798);let n={tabFontSizeSmall:"14px",tabFontSizeMedium:"14px",tabFontSizeLarge:"16px",tabGapSmallLine:"36px",tabGapMediumLine:"36px",tabGapLargeLine:"36px",tabGapSmallLineVertical:"8px",tabGapMediumLineVertical:"8px",tabGapLargeLineVertical:"8px",tabPaddingSmallLine:"6px 0",tabPaddingMediumLine:"10px 0",tabPaddingLargeLine:"14px 0",tabPaddingVerticalSmallLine:"6px 12px",tabPaddingVerticalMediumLine:"8px 16px",tabPaddingVerticalLargeLine:"10px 20px",tabGapSmallBar:"36px",tabGapMediumBar:"36px",tabGapLargeBar:"36px",tabGapSmallBarVertical:"8px",tabGapMediumBarVertical:"8px",tabGapLargeBarVertical:"8px",tabPaddingSmallBar:"4px 0",tabPaddingMediumBar:"6px 0",tabPaddingLargeBar:"10px 0",tabPaddingVerticalSmallBar:"6px 12px",tabPaddingVerticalMediumBar:"8px 16px",tabPaddingVerticalLargeBar:"10px 20px",tabGapSmallCard:"4px",tabGapMediumCard:"4px",tabGapLargeCard:"4px",tabGapSmallCardVertical:"4px",tabGapMediumCardVertical:"4px",tabGapLargeCardVertical:"4px",tabPaddingSmallCard:"8px 16px",tabPaddingMediumCard:"10px 20px",tabPaddingLargeCard:"12px 24px",tabPaddingSmallSegment:"4px 0",tabPaddingMediumSegment:"6px 0",tabPaddingLargeSegment:"8px 0",tabPaddingVerticalLargeSegment:"0 8px",tabPaddingVerticalSmallCard:"8px 12px",tabPaddingVerticalMediumCard:"10px 16px",tabPaddingVerticalLargeCard:"12px 20px",tabPaddingVerticalSmallSegment:"0 4px",tabPaddingVerticalMediumSegment:"0 6px",tabGapSmallSegment:"0",tabGapMediumSegment:"0",tabGapLargeSegment:"0",tabGapSmallSegmentVertical:"0",tabGapMediumSegmentVertical:"0",tabGapLargeSegmentVertical:"0",panePaddingSmall:"8px 0 0 0",panePaddingMedium:"12px 0 0 0",panePaddingLarge:"16px 0 0 0",closeSize:"18px",closeIconSize:"14px"};function i(e){let{textColor2:t,primaryColor:o,textColorDisabled:r,closeIconColor:i,closeIconColorHover:a,closeIconColorPressed:l,closeColorHover:s,closeColorPressed:c,tabColor:u,baseColor:d,dividerColor:f,fontWeight:p,textColor1:h,borderRadius:m,fontSize:g,fontWeightStrong:b}=e;return Object.assign(Object.assign({},n),{colorSegment:u,tabFontSizeCard:g,tabTextColorLine:h,tabTextColorActiveLine:o,tabTextColorHoverLine:o,tabTextColorDisabledLine:r,tabTextColorSegment:h,tabTextColorActiveSegment:t,tabTextColorHoverSegment:t,tabTextColorDisabledSegment:r,tabTextColorBar:h,tabTextColorActiveBar:o,tabTextColorHoverBar:o,tabTextColorDisabledBar:r,tabTextColorCard:h,tabTextColorHoverCard:h,tabTextColorActiveCard:o,tabTextColorDisabledCard:r,barColor:o,closeIconColor:i,closeIconColorHover:a,closeIconColorPressed:l,closeColorHover:s,closeColorPressed:c,closeBorderRadius:m,tabColor:u,tabColorSegment:d,tabBorderColor:f,tabFontWeightActive:p,tabFontWeight:p,tabBorderRadius:m,paneTextColor:t,fontWeightStrong:b})}let a={name:"Tabs",common:r.Z,self:i}},14624:function(e,t,o){o.d(t,{Z:()=>r});let r={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px"}},58249:function(e,t,o){o.d(t,{$:()=>eQ});var r=o(19595),n=o(95537);let i="#000",a="rgb(24, 24, 28)",l="0.82",s="0.52",c="0.38",u="0.28",d="0.52",f="0.06",p=(0,r.m4)(i),h=(0,r.m4)("#fff"),m=`rgba(${h.slice(0,3).join(", ")}, `;function g(e){return`${m+String(e)})`}let b=Object.assign(Object.assign({name:"common"},n.Z),{baseColor:i,primaryColor:"#63e2b7",primaryColorHover:"#7fe7c4",primaryColorPressed:"#5acea7",primaryColorSuppl:"rgb(42, 148, 125)",infoColor:"#70c0e8",infoColorHover:"#8acbec",infoColorPressed:"#66afd3",infoColorSuppl:"rgb(56, 137, 197)",successColor:"#63e2b7",successColorHover:"#7fe7c4",successColorPressed:"#5acea7",successColorSuppl:"rgb(42, 148, 125)",warningColor:"#f2c97d",warningColorHover:"#f5d599",warningColorPressed:"#e6c260",warningColorSuppl:"rgb(240, 138, 0)",errorColor:"#e88080",errorColorHover:"#e98b8b",errorColorPressed:"#e57272",errorColorSuppl:"rgb(208, 58, 82)",textColorBase:"#fff",textColor1:g("0.9"),textColor2:g(l),textColor3:g(s),textColorDisabled:g(c),placeholderColor:g(c),placeholderColorDisabled:g(u),iconColor:g(c),iconColorDisabled:g(u),iconColorHover:g(1.25*Number(c)),iconColorPressed:g(.8*Number(c)),opacity1:"0.9",opacity2:l,opacity3:s,opacity4:c,opacity5:u,dividerColor:g("0.09"),borderColor:g("0.24"),closeIconColorHover:g(Number(d)),closeIconColor:g(Number(d)),closeIconColorPressed:g(Number(d)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:g(c),clearColorHover:(0,r.tn)(g(c),{alpha:1.25}),clearColorPressed:(0,r.tn)(g(c),{alpha:.8}),scrollbarColor:g("0.2"),scrollbarColorHover:g("0.3"),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:g("0.12"),railColor:g("0.2"),popoverColor:"rgb(72, 72, 78)",tableColor:a,cardColor:a,modalColor:"rgb(44, 44, 50)",bodyColor:"rgb(16, 16, 20)",tagColor:function(e){let t=Array.from(h);return t[3]=Number("0.2"),(0,r.h$)(p,t)}("0.2"),avatarColor:g("0.18"),invertedColor:i,inputColor:g("0.1"),codeColor:g("0.12"),tabColor:g("0.04"),actionColor:g(f),tableHeaderColor:g(f),hoverColor:g("0.09"),tableColorHover:g("0.06"),tableColorStriped:g("0.05"),pressedColor:g("0.05"),opacityDisabled:"0.38",inputColorDisabled:g("0.06"),buttonColor2:"rgba(255, 255, 255, .08)",buttonColor2Hover:"rgba(255, 255, 255, .12)",buttonColor2Pressed:"rgba(255, 255, 255, .08)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .24), 0 3px 6px 0 rgba(0, 0, 0, .18), 0 5px 12px 4px rgba(0, 0, 0, .12)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .24), 0 6px 12px 0 rgba(0, 0, 0, .16), 0 9px 18px 8px rgba(0, 0, 0, .10)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"});var x=o(50957);let y={name:"Scrollbar",common:b,self:x.m};var C=o(18877);let w={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"};var S=o(7077);let _={name:"Empty",common:b,self:S.m};var E=o(87955);let T={name:"InternalSelectMenu",common:b,peers:{Scrollbar:y,Empty:_},self:E.m};var P=o(16461);let $={name:"Input",common:b,self(e){let{textColor2:t,textColor3:o,textColorDisabled:n,primaryColor:i,primaryColorHover:a,inputColor:l,inputColorDisabled:s,warningColor:c,warningColorHover:u,errorColor:d,errorColorHover:f,borderRadius:p,lineHeight:h,fontSizeTiny:m,fontSizeSmall:g,fontSizeMedium:b,fontSizeLarge:x,heightTiny:y,heightSmall:C,heightMedium:w,heightLarge:S,clearColor:_,clearColorHover:E,clearColorPressed:T,placeholderColor:$,placeholderColorDisabled:F,iconColor:k,iconColorDisabled:M,iconColorHover:O,iconColorPressed:I,fontWeight:L}=e;return Object.assign(Object.assign({},P.Z),{fontWeight:L,countTextColorDisabled:n,countTextColor:o,heightTiny:y,heightSmall:C,heightMedium:w,heightLarge:S,fontSizeTiny:m,fontSizeSmall:g,fontSizeMedium:b,fontSizeLarge:x,lineHeight:h,lineHeightTextarea:h,borderRadius:p,iconSize:"16px",groupLabelColor:l,textColor:t,textColorDisabled:n,textDecorationColor:t,groupLabelTextColor:t,caretColor:i,placeholderColor:$,placeholderColorDisabled:F,color:l,colorDisabled:s,colorFocus:(0,r.zX)(i,{alpha:.1}),groupLabelBorder:"1px solid #0000",border:"1px solid #0000",borderHover:`1px solid ${a}`,borderDisabled:"1px solid #0000",borderFocus:`1px solid ${a}`,boxShadowFocus:`0 0 8px 0 ${(0,r.zX)(i,{alpha:.3})}`,loadingColor:i,loadingColorWarning:c,borderWarning:`1px solid ${c}`,borderHoverWarning:`1px solid ${u}`,colorFocusWarning:(0,r.zX)(c,{alpha:.1}),borderFocusWarning:`1px solid ${u}`,boxShadowFocusWarning:`0 0 8px 0 ${(0,r.zX)(c,{alpha:.3})}`,caretColorWarning:c,loadingColorError:d,borderError:`1px solid ${d}`,borderHoverError:`1px solid ${f}`,colorFocusError:(0,r.zX)(d,{alpha:.1}),borderFocusError:`1px solid ${f}`,boxShadowFocusError:`0 0 8px 0 ${(0,r.zX)(d,{alpha:.3})}`,caretColorError:d,clearColor:_,clearColorHover:E,clearColorPressed:T,iconColor:k,iconColorDisabled:M,iconColorHover:O,iconColorPressed:I,suffixTextColor:t})}};var F=o(56946),k=o(9798),M=o(34534);function O(e){let{boxShadow2:t}=e;return{menuBoxShadow:t}}function I(e){let{borderRadius:t,avatarColor:o,cardColor:n,fontSize:i,heightTiny:a,heightSmall:l,heightMedium:s,heightLarge:c,heightHuge:u,modalColor:d,popoverColor:f}=e;return{borderRadius:t,fontSize:i,border:`2px solid ${n}`,heightTiny:a,heightSmall:l,heightMedium:s,heightLarge:c,heightHuge:u,color:(0,r.h$)(n,o),colorModal:(0,r.h$)(d,o),colorPopover:(0,r.h$)(f,o)}}(0,F.j)({name:"AutoComplete",common:k.Z,peers:{InternalSelectMenu:E.Z,Input:M.Z},self:O});let L={name:"Avatar",common:k.Z,self:I},A={name:"Avatar",common:b,self:I};function z(){return{gap:"-12px"}}(0,F.j)({name:"AvatarGroup",common:k.Z,peers:{Avatar:L},self:z});let H={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},D={name:"Breadcrumb",common:b,self:o(55456).m};var B=o(8968);let N={name:"Button",common:b,self(e){let t=(0,B.m)(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},Z={titleFontSize:"22px"};function j(e){let{borderRadius:t,fontSize:o,lineHeight:n,textColor2:i,textColor1:a,textColorDisabled:l,dividerColor:s,fontWeightStrong:c,primaryColor:u,baseColor:d,hoverColor:f,cardColor:p,modalColor:h,popoverColor:m}=e;return Object.assign(Object.assign({},Z),{borderRadius:t,borderColor:(0,r.h$)(p,s),borderColorModal:(0,r.h$)(h,s),borderColorPopover:(0,r.h$)(m,s),textColor:i,titleFontWeight:c,titleTextColor:a,dayTextColor:l,fontSize:o,lineHeight:n,dateColorCurrent:u,dateTextColorCurrent:d,cellColorHover:(0,r.h$)(p,f),cellColorHoverModal:(0,r.h$)(h,f),cellColorHoverPopover:(0,r.h$)(m,f),cellColor:p,cellColorModal:h,cellColorPopover:m,barColor:u})}(0,F.j)({name:"Calendar",common:k.Z,peers:{Button:B.Z},self:j});var W=o(75123);let R={name:"Card",common:b,self(e){let t=(0,W.m)(e),{cardColor:o,modalColor:r,popoverColor:n}=e;return t.colorEmbedded=o,t.colorEmbeddedModal=r,t.colorEmbeddedPopover=n,t}};var Y=o(27422);let U={name:"Popover",common:b,self:Y.m};var X=o(60736);let V={name:"InternalSelection",common:b,peers:{Popover:U},self(e){let{borderRadius:t,textColor2:o,textColorDisabled:n,inputColor:i,inputColorDisabled:a,primaryColor:l,primaryColorHover:s,warningColor:c,warningColorHover:u,errorColor:d,errorColorHover:f,iconColor:p,iconColorDisabled:h,clearColor:m,clearColorHover:g,clearColorPressed:b,placeholderColor:x,placeholderColorDisabled:y,fontSizeTiny:C,fontSizeSmall:w,fontSizeMedium:S,fontSizeLarge:_,heightTiny:E,heightSmall:T,heightMedium:P,heightLarge:$,fontWeight:F}=e;return Object.assign(Object.assign({},X.Z),{fontWeight:F,fontSizeTiny:C,fontSizeSmall:w,fontSizeMedium:S,fontSizeLarge:_,heightTiny:E,heightSmall:T,heightMedium:P,heightLarge:$,borderRadius:t,textColor:o,textColorDisabled:n,placeholderColor:x,placeholderColorDisabled:y,color:i,colorDisabled:a,colorActive:(0,r.zX)(l,{alpha:.1}),border:"1px solid #0000",borderHover:`1px solid ${s}`,borderActive:`1px solid ${l}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 8px 0 ${(0,r.zX)(l,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${(0,r.zX)(l,{alpha:.4})}`,caretColor:l,arrowColor:p,arrowColorDisabled:h,loadingColor:l,borderWarning:`1px solid ${c}`,borderHoverWarning:`1px solid ${u}`,borderActiveWarning:`1px solid ${c}`,borderFocusWarning:`1px solid ${u}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 8px 0 ${(0,r.zX)(c,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${(0,r.zX)(c,{alpha:.4})}`,colorActiveWarning:(0,r.zX)(c,{alpha:.1}),caretColorWarning:c,borderError:`1px solid ${d}`,borderHoverError:`1px solid ${f}`,borderActiveError:`1px solid ${d}`,borderFocusError:`1px solid ${f}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 8px 0 ${(0,r.zX)(d,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${(0,r.zX)(d,{alpha:.4})}`,colorActiveError:(0,r.zX)(d,{alpha:.1}),caretColorError:d,clearColor:m,clearColorHover:g,clearColorPressed:b})}};var G=o(61115);let q={name:"Checkbox",common:b,self(e){let{cardColor:t}=e,o=(0,G.m)(e);return o.color="#0000",o.checkMarkColor=t,o}};var J=o(66706);function K(e){let{borderRadius:t,boxShadow2:o,popoverColor:r,textColor2:n,textColor3:i,primaryColor:a,textColorDisabled:l,dividerColor:s,hoverColor:c,fontSizeMedium:u,heightMedium:d}=e;return{menuBorderRadius:t,menuColor:r,menuBoxShadow:o,menuDividerColor:s,menuHeight:"calc(var(--n-option-height) * 6.6)",optionArrowColor:i,optionHeight:d,optionFontSize:u,optionColorHover:c,optionTextColor:n,optionTextColorActive:a,optionTextColorDisabled:l,optionCheckMarkColor:a,loadingColor:a,columnWidth:"180px"}}(0,F.j)({name:"Cascader",common:k.Z,peers:{InternalSelectMenu:E.Z,InternalSelection:J.Z,Scrollbar:x.Z,Checkbox:G.Z,Empty:S.Z},self:K});let Q={name:"Cascader",common:b,peers:{InternalSelectMenu:T,InternalSelection:V,Scrollbar:y,Checkbox:q,Empty:S.Z},self:K},ee={name:"Code",common:b,self(e){let{textColor2:t,fontSize:o,fontWeightStrong:r,textColor3:n}=e;return{textColor:t,fontSize:o,fontWeightStrong:r,"mono-3":"#5c6370","hue-1":"#56b6c2","hue-2":"#61aeee","hue-3":"#c678dd","hue-4":"#98c379","hue-5":"#e06c75","hue-5-2":"#be5046","hue-6":"#d19a66","hue-6-2":"#e6c07b",lineNumberTextColor:n}}},et={name:"Collapse",common:b,self:o(74794).m},eo={name:"ColorPicker",common:b,peers:{Input:$,Button:N},self:o(50906).m};var er=o(13015);let en={name:"Dropdown",common:b,peers:{Popover:U},self(e){let{primaryColorSuppl:t,primaryColor:o,popoverColor:n}=e,i=(0,er.m)(e);return i.colorInverted=n,i.optionColorActive=(0,r.zX)(o,{alpha:.15}),i.optionColorActiveInverted=t,i.optionColorHoverInverted=t,i}};var ei=o(43742);let ea={name:"Tooltip",common:b,peers:{Popover:U},self(e){let{borderRadius:t,boxShadow2:o,popoverColor:r,textColor2:n}=e;return Object.assign(Object.assign({},ei.Z),{borderRadius:t,boxShadow:o,color:r,textColor:n})}},el={name:"Ellipsis",common:b,peers:{Tooltip:ea}},es={name:"Popselect",common:b,peers:{Popover:U,InternalSelectMenu:T}},ec={name:"Select",common:b,peers:{InternalSelection:V,InternalSelectMenu:T},self:o(61150).m};var eu=o(55675);let ed={name:"Pagination",common:b,peers:{Select:ec,Input:$,Popselect:es},self(e){let{primaryColor:t,opacity3:o}=e,n=(0,r.zX)(t,{alpha:Number(o)}),i=(0,eu.m)(e);return i.itemBorderActive=`1px solid ${n}`,i.itemBorderDisabled="1px solid #0000",i}};var ef=o(26957);let ep={name:"Radio",common:b,self(e){let{borderColor:t,primaryColor:o,baseColor:n,textColorDisabled:i,inputColorDisabled:a,textColor2:l,opacityDisabled:s,borderRadius:c,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,heightSmall:p,heightMedium:h,heightLarge:m,lineHeight:g}=e;return Object.assign(Object.assign({},ef.Z),{labelLineHeight:g,buttonHeightSmall:p,buttonHeightMedium:h,buttonHeightLarge:m,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${o}`,boxShadowFocus:`inset 0 0 0 1px ${o}, 0 0 0 2px ${(0,r.zX)(o,{alpha:.3})}`,boxShadowHover:`inset 0 0 0 1px ${o}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:"#0000",colorDisabled:a,colorActive:"#0000",textColor:l,textColorDisabled:i,dotColorActive:o,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:o,buttonBorderColorHover:o,buttonColor:"#0000",buttonColorActive:o,buttonTextColor:l,buttonTextColorActive:n,buttonTextColorHover:o,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${o}, 0 0 0 2px ${(0,r.zX)(o,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${o}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:c})}};var eh=o(29176);let em={name:"TimePicker",common:b,peers:{Scrollbar:y,Button:N,Input:$},self:o(61007).m};var eg=o(81504);let ev={name:"Descriptions",common:b,self:o(31838).m},eb={name:"Dialog",common:b,peers:{Button:N},self:o(86423).m},ex={name:"Divider",common:b,self:o(20538).m};function ey(e){let{modalColor:t,textColor1:o,textColor2:r,boxShadow3:n,lineHeight:i,fontWeightStrong:a,dividerColor:l,closeColorHover:s,closeColorPressed:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,borderRadius:p,primaryColorHover:h}=e;return{bodyPadding:"16px 24px",borderRadius:p,headerPadding:"16px 24px",footerPadding:"16px 24px",color:t,textColor:r,titleTextColor:o,titleFontSize:"18px",titleFontWeight:a,boxShadow:n,lineHeight:i,headerBorderBottom:`1px solid ${l}`,footerBorderTop:`1px solid ${l}`,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,closeSize:"22px",closeIconSize:"18px",closeColorHover:s,closeColorPressed:c,closeBorderRadius:p,resizableTriggerColorHover:h}}(0,F.j)({name:"Drawer",common:k.Z,peers:{Scrollbar:x.Z},self:ey});let eC={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},ew={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},eS={name:"Space",self:()=>ew};var e_=o(14624);let eE={name:"Tag",common:b,self(e){let{textColor2:t,primaryColorHover:o,primaryColorPressed:n,primaryColor:i,infoColor:a,successColor:l,warningColor:s,errorColor:c,baseColor:u,borderColor:d,tagColor:f,opacityDisabled:p,closeIconColor:h,closeIconColorHover:m,closeIconColorPressed:g,closeColorHover:b,closeColorPressed:x,borderRadiusSmall:y,fontSizeMini:C,fontSizeTiny:w,fontSizeSmall:S,fontSizeMedium:_,heightMini:E,heightTiny:T,heightSmall:P,heightMedium:$,buttonColor2Hover:F,buttonColor2Pressed:k,fontWeightStrong:M}=e;return Object.assign(Object.assign({},e_.Z),{closeBorderRadius:y,heightTiny:E,heightSmall:T,heightMedium:P,heightLarge:$,borderRadius:y,opacityDisabled:p,fontSizeTiny:C,fontSizeSmall:w,fontSizeMedium:S,fontSizeLarge:_,fontWeightStrong:M,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:u,colorCheckable:"#0000",colorHoverCheckable:F,colorPressedCheckable:k,colorChecked:i,colorCheckedHover:o,colorCheckedPressed:n,border:`1px solid ${d}`,textColor:t,color:f,colorBordered:"#0000",closeIconColor:h,closeIconColorHover:m,closeIconColorPressed:g,closeColorHover:b,closeColorPressed:x,borderPrimary:`1px solid ${(0,r.zX)(i,{alpha:.3})}`,textColorPrimary:i,colorPrimary:(0,r.zX)(i,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:(0,r.tn)(i,{lightness:.7}),closeIconColorHoverPrimary:(0,r.tn)(i,{lightness:.7}),closeIconColorPressedPrimary:(0,r.tn)(i,{lightness:.7}),closeColorHoverPrimary:(0,r.zX)(i,{alpha:.16}),closeColorPressedPrimary:(0,r.zX)(i,{alpha:.12}),borderInfo:`1px solid ${(0,r.zX)(a,{alpha:.3})}`,textColorInfo:a,colorInfo:(0,r.zX)(a,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:(0,r.tn)(a,{alpha:.7}),closeIconColorHoverInfo:(0,r.tn)(a,{alpha:.7}),closeIconColorPressedInfo:(0,r.tn)(a,{alpha:.7}),closeColorHoverInfo:(0,r.zX)(a,{alpha:.16}),closeColorPressedInfo:(0,r.zX)(a,{alpha:.12}),borderSuccess:`1px solid ${(0,r.zX)(l,{alpha:.3})}`,textColorSuccess:l,colorSuccess:(0,r.zX)(l,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:(0,r.tn)(l,{alpha:.7}),closeIconColorHoverSuccess:(0,r.tn)(l,{alpha:.7}),closeIconColorPressedSuccess:(0,r.tn)(l,{alpha:.7}),closeColorHoverSuccess:(0,r.zX)(l,{alpha:.16}),closeColorPressedSuccess:(0,r.zX)(l,{alpha:.12}),borderWarning:`1px solid ${(0,r.zX)(s,{alpha:.3})}`,textColorWarning:s,colorWarning:(0,r.zX)(s,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:(0,r.tn)(s,{alpha:.7}),closeIconColorHoverWarning:(0,r.tn)(s,{alpha:.7}),closeIconColorPressedWarning:(0,r.tn)(s,{alpha:.7}),closeColorHoverWarning:(0,r.zX)(s,{alpha:.16}),closeColorPressedWarning:(0,r.zX)(s,{alpha:.11}),borderError:`1px solid ${(0,r.zX)(c,{alpha:.3})}`,textColorError:c,colorError:(0,r.zX)(c,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:(0,r.tn)(c,{alpha:.7}),closeIconColorHoverError:(0,r.tn)(c,{alpha:.7}),closeIconColorPressedError:(0,r.tn)(c,{alpha:.7}),closeColorHoverError:(0,r.zX)(c,{alpha:.16}),closeColorPressedError:(0,r.zX)(c,{alpha:.12})})}},eT={name:"Form",common:b,self:o(99348).m},eP={name:"Icon",common:b,self:o(87119).m},e$={extraFontSize:"12px",width:"440px"};var eF=o(78165);let ek={name:"Message",common:b,self:o(97963).m},eM={name:"Modal",common:b,peers:{Scrollbar:y,Dialog:eb,Card:R},self:o(73522).m},eO={name:"Notification",common:b,peers:{Scrollbar:y},self:o(67716).m},eI={titleFontSize:"18px",backSize:"22px"};function eL(e){let{textColor1:t,textColor2:o,textColor3:r,fontSize:n,fontWeightStrong:i,primaryColorHover:a,primaryColorPressed:l}=e;return Object.assign(Object.assign({},eI),{titleFontWeight:i,fontSize:n,titleTextColor:t,backColor:o,backColorHover:a,backColorPressed:l,subtitleTextColor:r})}(0,F.j)({name:"PageHeader",common:k.Z,self:eL});let eA={iconSize:"22px"};function ez(e){let{fontSize:t,warningColor:o}=e;return Object.assign(Object.assign({},eA),{fontSize:t,iconColor:o})}(0,F.j)({name:"Popconfirm",common:k.Z,peers:{Button:B.Z,Popover:Y.Z},self:ez});var eH=o(52496);let eD={name:"Progress",common:b,self(e){let t=(0,eH.m)(e);return t.textColorLineInner="rgb(0, 0, 0)",t.lineBgProcessing="linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)",t}},eB={titleFontSizeSmall:"26px",titleFontSizeMedium:"32px",titleFontSizeLarge:"40px",titleFontSizeHuge:"48px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",iconSizeSmall:"64px",iconSizeMedium:"80px",iconSizeLarge:"100px",iconSizeHuge:"125px",iconColor418:void 0,iconColor404:void 0,iconColor403:void 0,iconColor500:void 0};var eN=o(7192);let eZ={name:"Spin",common:b,self:o(53573).m},ej={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"};var eW=o(73238),eR=o(30951);let eY={name:"Table",common:b,self:o(91078).m};var eU=o(95842);let eX={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},eV={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"};function eG(e){let{borderRadiusSmall:t,dividerColor:o,hoverColor:n,pressedColor:i,primaryColor:a,textColor3:l,textColor2:s,textColorDisabled:c,fontSize:u}=e;return{fontSize:u,lineHeight:"1.5",nodeHeight:"30px",nodeWrapperPadding:"3px 0",nodeBorderRadius:t,nodeColorHover:n,nodeColorPressed:i,nodeColorActive:(0,r.zX)(a,{alpha:.1}),arrowColor:l,nodeTextColor:s,nodeTextColorDisabled:c,loadingColor:a,dropMarkColor:a,lineColor:o}}(0,F.j)({name:"Tree",common:k.Z,peers:{Checkbox:G.Z,Scrollbar:x.Z,Empty:S.Z},self:eG});let eq={name:"Tree",common:b,peers:{Checkbox:q,Scrollbar:y,Empty:_},self(e){let{primaryColor:t}=e,o=eG(e);return o.nodeColorActive=(0,r.zX)(t,{alpha:.15}),o}},eJ={headerFontSize1:"30px",headerFontSize2:"22px",headerFontSize3:"18px",headerFontSize4:"16px",headerFontSize5:"16px",headerFontSize6:"16px",headerMargin1:"28px 0 20px 0",headerMargin2:"28px 0 20px 0",headerMargin3:"28px 0 20px 0",headerMargin4:"28px 0 18px 0",headerMargin5:"28px 0 18px 0",headerMargin6:"28px 0 18px 0",headerPrefixWidth1:"16px",headerPrefixWidth2:"16px",headerPrefixWidth3:"12px",headerPrefixWidth4:"12px",headerPrefixWidth5:"12px",headerPrefixWidth6:"12px",headerBarWidth1:"4px",headerBarWidth2:"4px",headerBarWidth3:"3px",headerBarWidth4:"3px",headerBarWidth5:"3px",headerBarWidth6:"3px",pMargin:"16px 0 16px 0",liMargin:".25em 0 0 0",olPadding:"0 0 0 2em",ulPadding:"0 0 0 2em"};var eK=o(86524);let eQ={name:"dark",common:b,Alert:{name:"Alert",common:b,self(e){let{lineHeight:t,borderRadius:o,fontWeightStrong:n,dividerColor:i,inputColor:a,textColor1:l,textColor2:s,closeColorHover:c,closeColorPressed:u,closeIconColor:d,closeIconColorHover:f,closeIconColorPressed:p,infoColorSuppl:h,successColorSuppl:m,warningColorSuppl:g,errorColorSuppl:b,fontSize:x}=e;return Object.assign(Object.assign({},C.Z),{fontSize:x,lineHeight:t,titleFontWeight:n,borderRadius:o,border:`1px solid ${i}`,color:a,titleTextColor:l,iconColor:s,contentTextColor:s,closeBorderRadius:o,closeColorHover:c,closeColorPressed:u,closeIconColor:d,closeIconColorHover:f,closeIconColorPressed:p,borderInfo:`1px solid ${(0,r.zX)(h,{alpha:.35})}`,colorInfo:(0,r.zX)(h,{alpha:.25}),titleTextColorInfo:l,iconColorInfo:h,contentTextColorInfo:s,closeColorHoverInfo:c,closeColorPressedInfo:u,closeIconColorInfo:d,closeIconColorHoverInfo:f,closeIconColorPressedInfo:p,borderSuccess:`1px solid ${(0,r.zX)(m,{alpha:.35})}`,colorSuccess:(0,r.zX)(m,{alpha:.25}),titleTextColorSuccess:l,iconColorSuccess:m,contentTextColorSuccess:s,closeColorHoverSuccess:c,closeColorPressedSuccess:u,closeIconColorSuccess:d,closeIconColorHoverSuccess:f,closeIconColorPressedSuccess:p,borderWarning:`1px solid ${(0,r.zX)(g,{alpha:.35})}`,colorWarning:(0,r.zX)(g,{alpha:.25}),titleTextColorWarning:l,iconColorWarning:g,contentTextColorWarning:s,closeColorHoverWarning:c,closeColorPressedWarning:u,closeIconColorWarning:d,closeIconColorHoverWarning:f,closeIconColorPressedWarning:p,borderError:`1px solid ${(0,r.zX)(b,{alpha:.35})}`,colorError:(0,r.zX)(b,{alpha:.25}),titleTextColorError:l,iconColorError:b,contentTextColorError:s,closeColorHoverError:c,closeColorPressedError:u,closeIconColorError:d,closeIconColorHoverError:f,closeIconColorPressedError:p})}},Anchor:{name:"Anchor",common:b,self:function(e){let{borderRadius:t,railColor:o,primaryColor:n,primaryColorHover:i,primaryColorPressed:a,textColor2:l}=e;return Object.assign(Object.assign({},w),{borderRadius:t,railColor:o,railColorActive:n,linkColor:(0,r.zX)(n,{alpha:.15}),linkTextColor:l,linkTextColorHover:i,linkTextColorPressed:a,linkTextColorActive:n})}},AutoComplete:{name:"AutoComplete",common:b,peers:{InternalSelectMenu:T,Input:$},self:O},Avatar:A,AvatarGroup:{name:"AvatarGroup",common:b,peers:{Avatar:A},self:z},BackTop:{name:"BackTop",common:b,self(e){let{popoverColor:t,textColor2:o,primaryColorHover:r,primaryColorPressed:n}=e;return Object.assign(Object.assign({},H),{color:t,textColor:o,iconColor:o,iconColorHover:r,iconColorPressed:n,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}},Badge:{name:"Badge",common:b,self(e){let{errorColorSuppl:t,infoColorSuppl:o,successColorSuppl:r,warningColorSuppl:n,fontFamily:i}=e;return{color:t,colorInfo:o,colorSuccess:r,colorError:t,colorWarning:n,fontSize:"12px",fontFamily:i}}},Breadcrumb:D,Button:N,ButtonGroup:{name:"ButtonGroup",common:b},Calendar:{name:"Calendar",common:b,peers:{Button:N},self:j},Card:R,Carousel:{name:"Carousel",common:b,self:function(){return{dotSize:"8px",dotColor:"rgba(255, 255, 255, .3)",dotColorActive:"rgba(255, 255, 255, 1)",dotColorFocus:"rgba(255, 255, 255, .5)",dotLineWidth:"16px",dotLineWidthActive:"24px",arrowColor:"#eee"}}},Cascader:Q,Checkbox:q,Code:ee,Collapse:et,CollapseTransition:{name:"CollapseTransition",common:b,self:function(e){let{cubicBezierEaseInOut:t}=e;return{bezier:t}}},ColorPicker:eo,DataTable:{name:"DataTable",common:b,peers:{Button:N,Checkbox:q,Radio:ep,Pagination:ed,Scrollbar:y,Empty:_,Popover:U,Ellipsis:el,Dropdown:en},self(e){let t=(0,eh.m)(e);return t.boxShadowAfter="inset 12px 0 8px -12px rgba(0, 0, 0, .36)",t.boxShadowBefore="inset -12px 0 8px -12px rgba(0, 0, 0, .36)",t}},DatePicker:{name:"DatePicker",common:b,peers:{Input:$,Button:N,TimePicker:em,Scrollbar:y},self(e){let{popoverColor:t,hoverColor:o,primaryColor:n}=e,i=(0,eg.m)(e);return i.itemColorDisabled=(0,r.h$)(t,o),i.itemColorIncluded=(0,r.zX)(n,{alpha:.15}),i.itemColorHover=(0,r.h$)(t,o),i}},Descriptions:ev,Dialog:eb,Divider:ex,Drawer:{name:"Drawer",common:b,peers:{Scrollbar:y},self:ey},Dropdown:en,DynamicInput:{name:"DynamicInput",common:b,peers:{Input:$,Button:N},self:()=>eC},DynamicTags:{name:"DynamicTags",common:b,peers:{Input:$,Button:N,Tag:eE,Space:eS},self:()=>({inputWidth:"64px"})},Element:{name:"Element",common:b},Empty:_,Ellipsis:el,Equation:{name:"Equation",common:b,self:()=>({})},Flex:{name:"Flex",self:()=>eW.Z},Form:eT,GradientText:{name:"GradientText",common:b,self(e){let{primaryColor:t,successColor:o,warningColor:r,errorColor:n,infoColor:i,primaryColorSuppl:a,successColorSuppl:l,warningColorSuppl:s,errorColorSuppl:c,infoColorSuppl:u,fontWeightStrong:d}=e;return{fontWeight:d,rotate:"252deg",colorStartPrimary:t,colorEndPrimary:a,colorStartInfo:i,colorEndInfo:u,colorStartWarning:r,colorEndWarning:s,colorStartError:n,colorEndError:c,colorStartSuccess:o,colorEndSuccess:l}}},Icon:eP,IconWrapper:{name:"IconWrapper",common:b,self:function(e){let{primaryColor:t,baseColor:o}=e;return{color:t,iconColor:o}}},Image:{name:"Image",common:b,peers:{Tooltip:ea},self:e=>{let{textColor2:t}=e;return{toolbarIconColor:t,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}},Input:$,InputNumber:{name:"InputNumber",common:b,peers:{Button:N,Input:$},self(e){let{textColorDisabled:t}=e;return{iconColorDisabled:t}}},LegacyTransfer:{name:"Transfer",common:b,peers:{Checkbox:q,Scrollbar:y,Input:$,Empty:_,Button:N},self(e){let{iconColorDisabled:t,iconColor:o,fontWeight:r,fontSizeLarge:n,fontSizeMedium:i,fontSizeSmall:a,heightLarge:l,heightMedium:s,heightSmall:c,borderRadius:u,inputColor:d,tableHeaderColor:f,textColor1:p,textColorDisabled:h,textColor2:m,hoverColor:g}=e;return Object.assign(Object.assign({},e$),{itemHeightSmall:c,itemHeightMedium:s,itemHeightLarge:l,fontSizeSmall:a,fontSizeMedium:i,fontSizeLarge:n,borderRadius:u,borderColor:"#0000",listColor:d,headerColor:f,titleTextColor:p,titleTextColorDisabled:h,extraTextColor:m,filterDividerColor:"#0000",itemTextColor:m,itemTextColorDisabled:h,itemColorPending:g,titleFontWeight:r,iconColor:o,iconColorDisabled:t})}},Layout:{name:"Layout",common:b,peers:{Scrollbar:y},self(e){let{textColor2:t,bodyColor:o,popoverColor:n,cardColor:i,dividerColor:a,scrollbarColor:l,scrollbarColorHover:s}=e;return{textColor:t,textColorInverted:t,color:o,colorEmbedded:o,headerColor:i,headerColorInverted:i,footerColor:i,footerColorInverted:i,headerBorderColor:a,headerBorderColorInverted:a,footerBorderColor:a,footerBorderColorInverted:a,siderBorderColor:a,siderBorderColorInverted:a,siderColor:i,siderColorInverted:i,siderToggleButtonBorder:"1px solid transparent",siderToggleButtonColor:n,siderToggleButtonIconColor:t,siderToggleButtonIconColorInverted:t,siderToggleBarColor:(0,r.h$)(o,l),siderToggleBarColorHover:(0,r.h$)(o,s),__invertScrollbar:"false"}}},List:{name:"List",common:b,self:function(e){let{textColor2:t,cardColor:o,modalColor:n,popoverColor:i,dividerColor:a,borderRadius:l,fontSize:s,hoverColor:c}=e;return{textColor:t,color:o,colorHover:c,colorModal:n,colorHoverModal:(0,r.h$)(n,c),colorPopover:i,colorHoverPopover:(0,r.h$)(i,c),borderColor:a,borderColorModal:(0,r.h$)(n,a),borderColorPopover:(0,r.h$)(i,a),borderRadius:l,fontSize:s}}},LoadingBar:{name:"LoadingBar",common:b,self(e){let{primaryColor:t}=e;return{colorError:"red",colorLoading:t,height:"2px"}}},Log:{name:"Log",common:b,peers:{Scrollbar:y,Code:ee},self(e){let{textColor2:t,inputColor:o,fontSize:r,primaryColor:n}=e;return{loaderFontSize:r,loaderTextColor:t,loaderColor:o,loaderBorder:"1px solid #0000",loadingColor:n}}},Menu:{name:"Menu",common:b,peers:{Tooltip:ea,Dropdown:en},self(e){let{primaryColor:t,primaryColorSuppl:o}=e,n=(0,eF.m4)(e);return n.itemColorActive=(0,r.zX)(t,{alpha:.15}),n.itemColorActiveHover=(0,r.zX)(t,{alpha:.15}),n.itemColorActiveCollapsed=(0,r.zX)(t,{alpha:.15}),n.itemColorActiveInverted=o,n.itemColorActiveHoverInverted=o,n.itemColorActiveCollapsedInverted=o,n}},Mention:{name:"Mention",common:b,peers:{InternalSelectMenu:T,Input:$},self(e){let{boxShadow2:t}=e;return{menuBoxShadow:t}}},Message:ek,Modal:eM,Notification:eO,PageHeader:{name:"PageHeader",common:b,self:eL},Pagination:ed,Popconfirm:{name:"Popconfirm",common:b,peers:{Button:N,Popover:U},self:ez},Popover:U,Popselect:es,Progress:eD,QrCode:{name:"QrCode",common:b,self:e=>({borderRadius:e.borderRadius})},Radio:ep,Rate:{name:"Rate",common:b,self(e){let{railColor:t}=e;return{itemColor:t,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},Result:{name:"Result",common:b,self:function(e){let{textColor2:t,textColor1:o,errorColor:r,successColor:n,infoColor:i,warningColor:a,lineHeight:l,fontWeightStrong:s}=e;return Object.assign(Object.assign({},eB),{lineHeight:l,titleFontWeight:s,titleTextColor:o,textColor:t,iconColorError:r,iconColorSuccess:n,iconColorInfo:i,iconColorWarning:a})}},Row:{name:"Row",common:b},Scrollbar:y,Select:ec,Skeleton:{name:"Skeleton",common:b,self(e){let{heightSmall:t,heightMedium:o,heightLarge:r,borderRadius:n}=e;return{color:"rgba(255, 255, 255, 0.12)",colorEnd:"rgba(255, 255, 255, 0.18)",borderRadius:n,heightSmall:t,heightMedium:o,heightLarge:r}}},Slider:{name:"Slider",common:b,self(e){let{railColor:t,modalColor:o,primaryColorSuppl:r,popoverColor:n,textColor2:i,cardColor:a,borderRadius:l,fontSize:s,opacityDisabled:c}=e;return Object.assign(Object.assign({},eN.Z),{fontSize:s,markFontSize:s,railColor:t,railColorHover:t,fillColor:r,fillColorHover:r,opacityDisabled:c,handleColor:"#FFF",dotColor:a,dotColorModal:o,dotColorPopover:n,handleBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowHover:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowActive:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowFocus:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",indicatorColor:n,indicatorBoxShadow:"0 2px 8px 0 rgba(0, 0, 0, 0.12)",indicatorTextColor:i,indicatorBorderRadius:l,dotBorder:`2px solid ${t}`,dotBorderActive:`2px solid ${r}`,dotBoxShadow:""})}},Space:eS,Spin:eZ,Statistic:{name:"Statistic",common:b,self:function(e){let{textColor2:t,textColor3:o,fontSize:r,fontWeight:n}=e;return{labelFontSize:r,labelFontWeight:n,valueFontWeight:n,valueFontSize:"24px",labelTextColor:o,valuePrefixTextColor:t,valueSuffixTextColor:t,valueTextColor:t}}},Steps:{name:"Steps",common:b,self:function(e){let{fontWeightStrong:t,baseColor:o,textColorDisabled:r,primaryColor:n,errorColor:i,textColor1:a,textColor2:l}=e;return Object.assign(Object.assign({},ej),{stepHeaderFontWeight:t,indicatorTextColorProcess:o,indicatorTextColorWait:r,indicatorTextColorFinish:n,indicatorTextColorError:i,indicatorBorderColorProcess:n,indicatorBorderColorWait:r,indicatorBorderColorFinish:n,indicatorBorderColorError:i,indicatorColorProcess:n,indicatorColorWait:"#0000",indicatorColorFinish:"#0000",indicatorColorError:"#0000",splitorColorProcess:r,splitorColorWait:r,splitorColorFinish:n,splitorColorError:r,headerTextColorProcess:a,headerTextColorWait:r,headerTextColorFinish:r,headerTextColorError:i,descriptionTextColorProcess:l,descriptionTextColorWait:r,descriptionTextColorFinish:r,descriptionTextColorError:i})}},Switch:{name:"Switch",common:b,self(e){let{primaryColorSuppl:t,opacityDisabled:o,borderRadius:n,primaryColor:i,textColor2:a,baseColor:l}=e;return Object.assign(Object.assign({},eR.Z),{iconColor:l,textColor:a,loadingColor:t,opacityDisabled:o,railColor:"rgba(255, 255, 255, .20)",railColorActive:t,buttonBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",buttonColor:"#FFF",railBorderRadiusSmall:n,railBorderRadiusMedium:n,railBorderRadiusLarge:n,buttonBorderRadiusSmall:n,buttonBorderRadiusMedium:n,buttonBorderRadiusLarge:n,boxShadowFocus:`0 0 8px 0 ${(0,r.zX)(i,{alpha:.3})}`})}},Table:eY,Tabs:{name:"Tabs",common:b,self(e){let t=(0,eU.m)(e),{inputColor:o}=e;return t.colorSegment=o,t.tabColorSegment=o,t}},Tag:eE,Thing:{name:"Thing",common:b,self:function(e){let{textColor1:t,textColor2:o,fontWeightStrong:r,fontSize:n}=e;return{fontSize:n,titleTextColor:t,textColor:o,titleFontWeight:r}}},TimePicker:em,Timeline:{name:"Timeline",common:b,self(e){let{textColor3:t,infoColorSuppl:o,errorColorSuppl:r,successColorSuppl:n,warningColorSuppl:i,textColor1:a,textColor2:l,railColor:s,fontWeightStrong:c,fontSize:u}=e;return Object.assign(Object.assign({},eX),{contentFontSize:u,titleFontWeight:c,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${o}`,circleBorderError:`2px solid ${r}`,circleBorderSuccess:`2px solid ${n}`,circleBorderWarning:`2px solid ${i}`,iconColor:t,iconColorInfo:o,iconColorError:r,iconColorSuccess:n,iconColorWarning:i,titleTextColor:a,contentTextColor:l,metaTextColor:t,lineColor:s})}},Tooltip:ea,Transfer:{name:"Transfer",common:b,peers:{Checkbox:q,Scrollbar:y,Input:$,Empty:_,Button:N},self(e){let{fontWeight:t,fontSizeLarge:o,fontSizeMedium:r,fontSizeSmall:n,heightLarge:i,heightMedium:a,borderRadius:l,inputColor:s,tableHeaderColor:c,textColor1:u,textColorDisabled:d,textColor2:f,textColor3:p,hoverColor:h,closeColorHover:m,closeColorPressed:g,closeIconColor:b,closeIconColorHover:x,closeIconColorPressed:y,dividerColor:C}=e;return Object.assign(Object.assign({},eV),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:i,fontSizeSmall:n,fontSizeMedium:r,fontSizeLarge:o,borderRadius:l,dividerColor:C,borderColor:"#0000",listColor:s,headerColor:c,titleTextColor:u,titleTextColorDisabled:d,extraTextColor:p,extraTextColorDisabled:d,itemTextColor:f,itemTextColorDisabled:d,itemColorPending:h,titleFontWeight:t,closeColorHover:m,closeColorPressed:g,closeIconColor:b,closeIconColorHover:x,closeIconColorPressed:y})}},Tree:eq,TreeSelect:{name:"TreeSelect",common:b,peers:{Tree:eq,Empty:_,InternalSelection:V}},Typography:{name:"Typography",common:b,self:function(e){let{primaryColor:t,textColor2:o,borderColor:r,lineHeight:n,fontSize:i,borderRadiusSmall:a,dividerColor:l,fontWeightStrong:s,textColor1:c,textColor3:u,infoColor:d,warningColor:f,errorColor:p,successColor:h,codeColor:m}=e;return Object.assign(Object.assign({},eJ),{aTextColor:t,blockquoteTextColor:o,blockquotePrefixColor:r,blockquoteLineHeight:n,blockquoteFontSize:i,codeBorderRadius:a,liTextColor:o,liLineHeight:n,liFontSize:i,hrColor:l,headerFontWeight:s,headerTextColor:c,pTextColor:o,pTextColor1Depth:c,pTextColor2Depth:o,pTextColor3Depth:u,pLineHeight:n,pFontSize:i,headerBarColor:t,headerBarColorPrimary:t,headerBarColorInfo:d,headerBarColorError:p,headerBarColorWarning:f,headerBarColorSuccess:h,textColor:o,textColor1Depth:c,textColor2Depth:o,textColor3Depth:u,textColorPrimary:t,textColorInfo:d,textColorSuccess:h,textColorWarning:f,textColorError:p,codeTextColor:o,codeColor:m,codeBorder:"1px solid #0000"})}},Upload:{name:"Upload",common:b,peers:{Button:N,Progress:eD},self(e){let{errorColor:t}=e,o=(0,eK.m)(e);return o.itemColorHoverError=(0,r.zX)(t,{alpha:.09}),o}},Watermark:{name:"Watermark",common:b,self(e){let{fontFamily:t}=e;return{fontFamily:t}}},Split:{name:"Split",common:b},FloatButton:{name:"FloatButton",common:b,self(e){let{popoverColor:t,textColor2:o,buttonColor2Hover:r,buttonColor2Pressed:n,primaryColor:i,primaryColorHover:a,primaryColorPressed:l,baseColor:s,borderRadius:c}=e;return{color:t,textColor:o,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)",colorHover:r,colorPressed:n,colorPrimary:i,colorPrimaryHover:a,colorPrimaryPressed:l,textColorPrimary:s,borderRadiusSquare:c}}},FloatButtonGroup:{name:"FloatButtonGroup",common:b,self(e){let{popoverColor:t,dividerColor:o,borderRadius:r}=e;return{color:t,buttonBorderColor:o,borderRadiusSquare:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}}},Marquee:{name:"Marquee",common:b,self:function(){return{}}}}},61007:function(e,t,o){o.d(t,{m:()=>c,Z:()=>u});var r=o(50957),n=o(56946),i=o(9798),a=o(8968),l=o(34534);let s={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"};function c(e){let{popoverColor:t,textColor2:o,primaryColor:r,hoverColor:n,dividerColor:i,opacityDisabled:a,boxShadow2:l,borderRadius:c,iconColor:u,iconColorDisabled:d}=e;return Object.assign(Object.assign({},s),{panelColor:t,panelBoxShadow:l,panelDividerColor:i,itemTextColor:o,itemTextColorActive:r,itemColorHover:n,itemOpacityDisabled:a,itemBorderRadius:c,borderRadius:c,iconColor:u,iconColorDisabled:d})}let u=(0,n.j)({name:"TimePicker",common:i.Z,peers:{Scrollbar:r.Z,Button:a.Z,Input:l.Z},self:c})},43742:function(e,t,o){o.d(t,{Z:()=>r});let r={padding:"8px 14px"}},44108:function(e,t,o){o.d(t,{Z:()=>s});var r=o(19595),n=o(56946),i=o(9798),a=o(27422),l=o(43742);let s=(0,n.j)({name:"Tooltip",common:i.Z,peers:{Popover:a.Z},self:function(e){let{borderRadius:t,boxShadow2:o,baseColor:n}=e;return Object.assign(Object.assign({},l.Z),{borderRadius:t,boxShadow:o,color:(0,r.h$)(n,"rgba(0, 0, 0, .85)"),textColor:n})}})},86524:function(e,t,o){o.d(t,{Z:()=>c,m:()=>s});var r=o(19595),n=o(56946),i=o(9798),a=o(8968),l=o(52496);function s(e){let{iconColor:t,primaryColor:o,errorColor:n,textColor2:i,successColor:a,opacityDisabled:l,actionColor:s,borderColor:c,hoverColor:u,lineHeight:d,borderRadius:f,fontSize:p}=e;return{fontSize:p,lineHeight:d,borderRadius:f,draggerColor:s,draggerBorder:`1px dashed ${c}`,draggerBorderHover:`1px dashed ${o}`,itemColorHover:u,itemColorHoverError:(0,r.zX)(n,{alpha:.06}),itemTextColor:i,itemTextColorError:n,itemTextColorSuccess:a,itemIconColor:t,itemDisabledOpacity:l,itemBorderImageCardError:`1px solid ${n}`,itemBorderImageCard:`1px solid ${c}`}}let c=(0,n.j)({name:"Upload",common:i.Z,peers:{Button:a.Z,Progress:l.Z},self:s})},57953:function(e,t,o){o.d(t,{Z:()=>f});let r=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,n=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,i=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function a(e,t){var o;return"__proto__"===e||"constructor"===e&&t&&"object"==typeof t&&"prototype"in t?void(o=e,console.warn(`[destr] Dropping "${o}" key to prevent prototype pollution.`)):t}function l(e,t,o){if(0===o.length)return t;let r=o[0];return(o.length>1&&(t=l("object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,r)?e[r]:Number.isInteger(Number(o[1]))?[]:{},t,Array.prototype.slice.call(o,1))),Number.isInteger(Number(r))&&Array.isArray(e))?e.slice()[r]:Object.assign({},e,{[r]:t})}function s(e,t){return t.map(e=>e.split(".")).map(t=>[t,function(e,t){if(null==e)return;let o=e;for(let e=0;e<t.length;e++){if(null==o||null==o[t[e]])return;o=o[t[e]]}return o}(e,t)]).filter(e=>void 0!==e[1]).reduce((e,t)=>l(e,t[1],t[0]),{})}function c(e,t){return t.map(e=>e.split(".")).reduce((e,t)=>(function e(t,o){if(null==t||0===o.length)return t;if(1===o.length){if(null==t)return t;if(Number.isInteger(o[0])&&Array.isArray(t))return Array.prototype.slice.call(t,0).splice(o[0],1);let e={};for(let o in t)e[o]=t[o];return delete e[o[0]],e}if(null==t[o[0]]){if(Number.isInteger(o[0])&&Array.isArray(t))return Array.prototype.concat.call([],t);let e={};for(let o in t)e[o]=t[o];return e}return l(t,e(t[o[0]],Array.prototype.slice.call(o,1)),[o[0]])})(e,t),e)}function u(e,{storage:t,serializer:o,key:r,debug:n,pick:i,omit:a,beforeHydrate:l,afterHydrate:d},f,p=!0){try{p&&l?.(f);let n=t.getItem(r);if(n){let t=o.deserialize(n),r=i?s(t,i):t,l=a?c(r,a):r;e.$patch(l)}p&&d?.(f)}catch(e){n&&console.error("[pinia-plugin-persistedstate]",e)}}function d(e,{storage:t,serializer:o,key:r,debug:n,pick:i,omit:a}){try{let n=i?s(e,i):e,l=a?c(n,a):n,u=o.serialize(l);t.setItem(r,u)}catch(e){n&&console.error("[pinia-plugin-persistedstate]",e)}}var f=function(e={}){return function(t){!function(e,t,o){let{pinia:r,store:n,options:{persist:i=o}}=e;if(!i)return;if(!(n.$id in r.state.value)){let e=r._s.get(n.$id.replace("__hot:",""));e&&Promise.resolve().then(()=>e.$persist());return}let a=(Array.isArray(i)?i:!0===i?[{}]:[i]).map(t);n.$hydrate=({runHooks:t=!0}={})=>{a.forEach(o=>{u(n,o,e,t)})},n.$persist=()=>{a.forEach(e=>{d(n.$state,e)})},a.forEach(t=>{u(n,t,e),n.$subscribe((e,o)=>d(o,t),{detached:!0})})}(t,o=>({key:(e.key?e.key:e=>e)(o.key??t.store.$id),debug:o.debug??e.debug??!1,serializer:o.serializer??e.serializer??{serialize:e=>JSON.stringify(e),deserialize:e=>(function(e,t={}){if("string"!=typeof e)return e;if('"'===e[0]&&'"'===e[e.length-1]&&-1===e.indexOf("\\"))return e.slice(1,-1);let o=e.trim();if(o.length<=9)switch(o.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!i.test(e)){if(t.strict)throw SyntaxError("[destr] Invalid JSON");return e}try{if(r.test(e)||n.test(e)){if(t.strict)throw Error("[destr] Possible prototype pollution");return JSON.parse(e,a)}return JSON.parse(e)}catch(o){if(t.strict)throw o;return e}})(e)},storage:o.storage??e.storage??window.localStorage,beforeHydrate:o.beforeHydrate,afterHydrate:o.afterHydrate,pick:o.pick,omit:o.omit}),e.auto??!1)}}()},30989:function(e,t,o){let r;o.d(t,{Jk:()=>O,Q_:()=>M,WB:()=>y});var n,i,a=o(58786);let l=e=>r=e,s=Symbol();function c(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}(n=i||(i={})).direct="direct",n.patchObject="patch object",n.patchFunction="patch function";let u="undefined"!=typeof window,d="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:"object"==typeof globalThis?globalThis:{HTMLElement:null};function f(e,t,o){let r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){b(r.response,t,o)},r.onerror=function(){console.error("could not download file")},r.send()}function p(e){let t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function h(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(o){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window,detail:0,screenX:80,screenY:20,clientX:80,clientY:20,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});e.dispatchEvent(t)}}let m="object"==typeof navigator?navigator:{userAgent:""},g=/Macintosh/.test(m.userAgent)&&/AppleWebKit/.test(m.userAgent)&&!/Safari/.test(m.userAgent),b=u?"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!g?function(e,t="download",o){let r=document.createElement("a");r.download=t,r.rel="noopener","string"==typeof e?(r.href=e,r.origin!==location.origin?p(r.href)?f(e,t,o):(r.target="_blank",h(r)):h(r)):(r.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(r.href)},4e4),setTimeout(function(){h(r)},0))}:"msSaveOrOpenBlob"in m?function(e,t="download",o){if("string"==typeof e)if(p(e))f(e,t,o);else{let t=document.createElement("a");t.href=e,t.target="_blank",setTimeout(function(){h(t)})}else navigator.msSaveOrOpenBlob(function(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,o),t)}:function(e,t,o,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof e)return f(e,t,o);let n="application/octet-stream"===e.type,i=/constructor/i.test(String(d.HTMLElement))||"safari"in d,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||n&&i||g)&&"undefined"!=typeof FileReader){let t=new FileReader;t.onloadend=function(){let e=t.result;if("string"!=typeof e)throw r=null,Error("Wrong reader.result type");e=a?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=e:location.assign(e),r=null},t.readAsDataURL(e)}else{let t=URL.createObjectURL(e);r?r.location.assign(t):location.href=t,r=null,setTimeout(function(){URL.revokeObjectURL(t)},4e4)}}:()=>{},{assign:x}=Object;function y(){let e=(0,a.B)(!0),t=e.run(()=>(0,a.iH)({})),o=[],r=[],n=(0,a.Xl)({install(e){l(n),n._a=e,e.provide(s,n),e.config.globalProperties.$pinia=n,r.forEach(e=>o.push(e)),r=[]},use(e){return this._a?o.push(e):r.push(e),this},_p:o,_a:null,_e:e,_s:new Map,state:t});return n}let C=()=>{};function w(e,t,o,r=C){e.push(t);let n=()=>{let o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!o&&(0,a.nZ)()&&(0,a.EB)(n),n}function S(e,...t){e.slice().forEach(e=>{e(...t)})}let _=e=>e(),E=Symbol(),T=Symbol();function P(e,t){for(let o in e instanceof Map&&t instanceof Map?t.forEach((t,o)=>e.set(o,t)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e),t){if(!t.hasOwnProperty(o))continue;let r=t[o],n=e[o];c(n)&&c(r)&&e.hasOwnProperty(o)&&!(0,a.dq)(r)&&!(0,a.PG)(r)?e[o]=P(n,r):e[o]=r}return e}let $=Symbol(),{assign:F}=Object;function k(e,t,o={},r,n,s){let u,d,f,p,h,m=F({actions:{}},o),g={deep:!0},b=[],x=[],y=r.state.value[e];function M(t){let o;d=f=!1,"function"==typeof t?(t(r.state.value[e]),o={type:i.patchFunction,storeId:e,events:p}):(P(r.state.value[e],t),o={type:i.patchObject,payload:t,storeId:e,events:p});let n=h=Symbol();(0,a.Y3)().then(()=>{h===n&&(d=!0)}),f=!0,S(b,o,r.state.value[e])}s||y||(r.state.value[e]={}),(0,a.iH)({});let O=s?function(){let{state:e}=o,t=e?e():{};this.$patch(e=>{F(e,t)})}:C,I=(t,o="")=>{if(E in t)return t[T]=o,t;let n=function(){let o;l(r);let i=Array.from(arguments),a=[],s=[];S(x,{args:i,name:n[T],store:A,after:function(e){a.push(e)},onError:function(e){s.push(e)}});try{o=t.apply(this&&this.$id===e?this:A,i)}catch(e){throw S(s,e),e}return o instanceof Promise?o.then(e=>(S(a,e),e)).catch(e=>(S(s,e),Promise.reject(e))):(S(a,o),o)};return n[E]=!0,n[T]=o,n},L={_p:r,$id:e,$onAction:w.bind(null,x),$patch:M,$reset:O,$subscribe(t,o={}){let n=w(b,t,o.detached,()=>l()),l=u.run(()=>(0,a.YP)(()=>r.state.value[e],r=>{("sync"===o.flush?f:d)&&t({storeId:e,type:i.direct,events:p},r)},F({},g,o)));return n},$dispose:function(){u.stop(),b=[],x=[],r._s.delete(e)}},A=(0,a.qj)(L);r._s.set(e,A);let z=(r._a&&r._a.runWithContext||_)(()=>r._e.run(()=>(u=(0,a.B)()).run(()=>t({action:I}))));for(let t in z){let o=z[t];if((0,a.dq)(o)&&(!(0,a.dq)(o)||!o.effect)||(0,a.PG)(o))s||(!y||c(o)&&Object.prototype.hasOwnProperty.call(o,$)||((0,a.dq)(o)?o.value=y[t]:P(o,y[t])),r.state.value[e][t]=o);else if("function"==typeof o){let e=I(o,t);z[t]=e,m.actions[t]=o}}return F(A,z),F((0,a.IU)(A),z),Object.defineProperty(A,"$state",{get:()=>r.state.value[e],set:e=>{M(t=>{F(t,e)})}}),r._p.forEach(e=>{F(A,u.run(()=>e({store:A,app:r._a,pinia:r,options:m})))}),y&&s&&o.hydrate&&o.hydrate(A.$state,y),d=!0,f=!0,A}function M(e,t,o){let n,i="function"==typeof t;function c(o,c){let u=(0,a.EM)();return(o=o||(u?(0,a.f3)(s,null):null))&&l(o),(o=r)._s.has(e)||(i?k(e,t,n,o):function(e,t,o,r){let{state:n,actions:i,getters:s}=t,c=o.state.value[e];k(e,function(){return c||(o.state.value[e]=n?n():{}),F((0,a.BK)(o.state.value[e]),i,Object.keys(s||{}).reduce((t,r)=>(t[r]=(0,a.Xl)((0,a.Fl)(()=>{l(o);let t=o._s.get(e);return s[r].call(t,t)})),t),{}))},t,o,void 0,!0)}(e,n,o)),o._s.get(e)}return n=i?o:t,c.$id=e,c}function O(e){let t=(0,a.IU)(e),o={};for(let r in t){let n=t[r];n.effect?o[r]=(0,a.Fl)({get:()=>e[r],set(t){e[r]=t}}):((0,a.dq)(n)||(0,a.PG)(n))&&(o[r]=(0,a.Vh)(e,r))}return o}},52495:function(e,t,o){let r,n,i,a,l;o.d(t,{QT:()=>tC,o:()=>ty});let s="undefined"!=typeof window,c=(e,t=!1)=>t?Symbol.for(e):Symbol(e),u=(e,t,o)=>d({l:e,k:t,s:o}),d=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),f=e=>"number"==typeof e&&isFinite(e),p=e=>"[object Date]"===M(e),h=e=>"[object RegExp]"===M(e),m=e=>O(e)&&0===Object.keys(e).length,g=Object.assign,b=Object.create,x=(e=null)=>b(e),y=()=>r||(r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:x());function C(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}let w=Object.prototype.hasOwnProperty;function S(e,t){return w.call(e,t)}let _=Array.isArray,E=e=>"function"==typeof e,T=e=>"string"==typeof e,P=e=>"boolean"==typeof e,$=e=>null!==e&&"object"==typeof e,F=e=>$(e)&&E(e.then)&&E(e.catch),k=Object.prototype.toString,M=e=>k.call(e),O=e=>"[object Object]"===M(e);function I(e,t=""){return e.reduce((e,o,r)=>0===r?e+o:e+t+o,"")}function L(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}let A=e=>!$(e)||_(e);function z(e,t){if(A(e)||A(t))throw Error("Invalid value");let o=[{src:e,des:t}];for(;o.length;){let{src:e,des:t}=o.pop();Object.keys(e).forEach(r=>{"__proto__"!==r&&($(e[r])&&!$(t[r])&&(t[r]=Array.isArray(e[r])?[]:x()),A(t[r])||A(e[r])?t[r]=e[r]:o.push({src:e[r],des:t[r]}))})}}function H(e,t,o){let r={start:e,end:t};return null!=o&&(r.source=o),r}let D={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16};function B(e,t,o={}){let{domain:r,messages:n,args:i}=o,a=SyntaxError(String(e));return a.code=e,t&&(a.location=t),a.domain=r,a}function N(e){throw e}D.EXPECTED_TOKEN,D.INVALID_TOKEN_IN_PLACEHOLDER,D.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,D.UNKNOWN_ESCAPE_SEQUENCE,D.INVALID_UNICODE_ESCAPE_SEQUENCE,D.UNBALANCED_CLOSING_BRACE,D.UNTERMINATED_CLOSING_BRACE,D.EMPTY_PLACEHOLDER,D.NOT_ALLOW_NEST_PLACEHOLDER,D.INVALID_LINKED_FORMAT,D.MUST_HAVE_MESSAGES_IN_PLURAL,D.UNEXPECTED_EMPTY_LINKED_MODIFIER,D.UNEXPECTED_EMPTY_LINKED_KEY,D.UNEXPECTED_LEXICAL_ANALYSIS,D.UNHANDLED_CODEGEN_NODE_TYPE,D.UNHANDLED_MINIFIER_NODE_TYPE;let Z=String.fromCharCode(8232),j=String.fromCharCode(8233),W=void 0,R=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Y(e,t,o){switch(e){case"\\\\":return"\\";case"\\\\'":return"'";default:{let e=parseInt(t||o,16);if(e<=55295||e>=57344)return String.fromCodePoint(e);return"�"}}}function U(e){if(13===e.type)return"EOF";let t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function X(e,t){for(let o=0;o<e.length;o++)V(e[o],t)}function V(e,t){switch(e.type){case 1:X(e.cases,t),t.helper("plural");break;case 2:X(e.items,t);break;case 6:V(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named")}}function G(e){if(1===e.items.length){let t=e.items[0];(3===t.type||9===t.type)&&(e.static=t.value,delete t.value)}else{let t=[];for(let o=0;o<e.items.length;o++){let r=e.items[o];if(3!==r.type&&9!==r.type||null==r.value)break;t.push(r.value)}if(t.length===e.items.length){e.static=I(t);for(let t=0;t<e.items.length;t++){let o=e.items[t];(3===o.type||9===o.type)&&delete o.value}}}}let q=(e,t={})=>{let o=T(t.mode)?t.mode:"normal",r=T(t.filename)?t.filename:"message.intl",n=!!t.sourceMap,i=null!=t.breakLineCode?t.breakLineCode:"arrow"===o?";":"\n",a=t.needIndent?t.needIndent:"arrow"!==o,l=e.helpers||[],s=function(e,t){let{sourceMap:o,filename:r,breakLineCode:n,needIndent:i}=t,a=!1!==t.location,l={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:n,needIndent:i,indentLevel:0};function s(e,t){l.code+=e}function c(e,t=!0){let o=t?n:"";s(i?o+" ".repeat(e):o)}return a&&e.loc&&(l.source=e.loc.source),{context:()=>l,push:s,indent:function(e=!0){let t=++l.indentLevel;e&&c(t)},deindent:function(e=!0){let t=--l.indentLevel;e&&c(t)},newline:function(){c(l.indentLevel)},helper:e=>`_${e}`,needIndent:()=>l.needIndent}}(e,{mode:o,filename:r,sourceMap:n,breakLineCode:i,needIndent:a});s.push("normal"===o?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(a),l.length>0&&(s.push(`const { ${I(l.map(e=>`${e}: _${e}`),", ")} } = ctx`),s.newline()),s.push("return "),function e(t,o){let{helper:r}=t;switch(o.type){case 0:o.body?e(t,o.body):t.push("null");break;case 1:let{helper:n,needIndent:i}=t;if(o.cases.length>1){t.push(`${n("plural")}([`),t.indent(i());let r=o.cases.length;for(let n=0;n<r&&(e(t,o.cases[n]),n!==r-1);n++)t.push(", ");t.deindent(i()),t.push("])")}break;case 2:let{helper:a,needIndent:l}=t;t.push(`${a("normalize")}([`),t.indent(l());let s=o.items.length;for(let r=0;r<s&&(e(t,o.items[r]),r!==s-1);r++)t.push(", ");t.deindent(l()),t.push("])");break;case 6:let{helper:c}=t;t.push(`${c("linked")}(`),e(t,o.key),o.modifier?(t.push(", "),e(t,o.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")");break;case 8:case 7:case 9:case 3:t.push(JSON.stringify(o.value),o);break;case 5:t.push(`${r("interpolate")}(${r("list")}(${o.index}))`,o);break;case 4:t.push(`${r("interpolate")}(${r("named")}(${JSON.stringify(o.key)}))`,o)}}(s,e),s.deindent(a),s.push("}"),delete e.helpers;let{code:c,map:u}=s.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function J(e){return $(e)&&0===ea(e,eo)&&(S(e,"b")||S(e,"body"))}let K=["b","body"],Q=["c","cases"],ee=["s","static"],et=["i","items"],eo=["t","type"],er=["v","value"],en=["m","modifier"],ei=["k","key"];function ea(e,t,o){for(let o=0;o<t.length;o++){let r=t[o];if(S(e,r)&&null!=e[r])return e[r]}return o}let el=[...K,...Q,...ee,...et,...ei,...en,...er,...eo];function es(e){return Error(`unhandled node type: ${e}`)}function ec(e){return t=>(function(e,t){let o=ea(t,K);if(null==o)throw es(0);if(1!==ea(o,eo))return eu(e,o);{let t=ea(o,Q,[]);return e.plural(t.reduce((t,o)=>[...t,eu(e,o)],[]))}})(t,e)}function eu(e,t){let o=ea(t,ee);if(null!=o)return"text"===e.type?o:e.normalize([o]);{let o=ea(t,et,[]).reduce((t,o)=>[...t,function e(t,o){let r=ea(o,eo);switch(r){case 3:case 9:case 7:case 8:let n=ea(o,er);if(null!=n)return n;throw es(r);case 4:if(S(o,"k")&&o.k)return t.interpolate(t.named(o.k));if(S(o,"key")&&o.key)return t.interpolate(t.named(o.key));throw es(r);case 5:if(S(o,"i")&&f(o.i))return t.interpolate(t.list(o.i));if(S(o,"index")&&f(o.index))return t.interpolate(t.list(o.index));throw es(r);case 6:{let r=ea(o,en),n=function(e){let t=ea(e,ei);if(t)return t;throw es(6)}(o);return t.linked(e(t,n),r?e(t,r):void 0,t.type)}default:throw Error(`unhandled node on format message part: ${r}`)}}(e,o)],[]);return e.normalize(o)}}let ed=e=>e,ef=x(),ep=null,eh=(e2="function:translate",e=>ep&&ep.emit(e2,e)),em={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23};function eg(e){return B(e,null,void 0)}function ev(e,t){return null!=t.locale?eb(t.locale):eb(e.locale)}function eb(e){if(T(e))return e;if(E(e))if(e.resolvedOnce&&null!=n)return n;else if("Function"===e.constructor.name){let t=e();if(F(t))throw eg(em.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return n=t}else throw eg(em.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);throw eg(em.NOT_SUPPORT_LOCALE_TYPE)}function ex(e,t,o){return[...new Set([o,..._(t)?t:$(t)?Object.keys(t):T(t)?[t]:[o]])]}function ey(e,t,o){let r=T(o)?o:eT;e.__localeChainCache||(e.__localeChainCache=new Map);let n=e.__localeChainCache.get(r);if(!n){n=[];let i=[o];for(;_(i);)i=eC(n,i,t);let a=_(t)||!O(t)?t:t.default?t.default:null;_(i=T(a)?[a]:a)&&eC(n,i,!1),e.__localeChainCache.set(r,n)}return n}function eC(e,t,o){let r=!0;for(let n=0;n<t.length&&P(r);n++)T(t[n])&&(r=function(e,t,o){let r,n=t.split("-");do r=function(e,t,o){let r=!1;if(!e.includes(t)&&(r=!0,t)){r="!"!==t[t.length-1];let n=t.replace(/!/g,"");e.push(n),(_(o)||O(o))&&o[n]&&(r=o[n])}return r}(e,n.join("-"),o),n.splice(-1,1);while(n.length&&!0===r);return r}(e,t[n],o));return r}em.INVALID_ARGUMENT,em.INVALID_DATE_ARGUMENT,em.INVALID_ISO_DATE_ARGUMENT,em.NOT_SUPPORT_NON_STRING_MESSAGE,em.NOT_SUPPORT_LOCALE_PROMISE_VALUE,em.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,em.NOT_SUPPORT_LOCALE_TYPE;let ew=[];ew[0]={w:[0],i:[3,0],"[":[4],o:[7]},ew[1]={w:[1],".":[2],"[":[4],o:[7]},ew[2]={w:[2],i:[3,0],0:[3,0]},ew[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},ew[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},ew[5]={"'":[4,0],o:8,l:[5,0]},ew[6]={'"':[4,0],o:8,l:[6,0]};let eS=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/,e_=new Map;function eE(e,t){return $(e)?e[t]:null}let eT="en-US",eP=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`,e$=()=>null,eF=null,ek=e=>{eF=e},eM=()=>eF,eO=0,eI=e=>({[e]:x()});function eL(e,t,o,r,n){let{missing:i,onWarn:a}=e;if(null===i)return t;{let r=i(e,o,t,n);return T(r)?r:t}}function eA(e,t,o){e.__localeChainCache=new Map,e.localeFallbacker(e,o,t)}let ez="undefined"!=typeof Intl;function eH(e,...t){let o,{datetimeFormats:r,unresolving:n,fallbackLocale:i,onWarn:a,localeFallbacker:l}=e,{__datetimeFormatters:s}=e,[c,u,d,f]=eB(...t),p=P(d.missingWarn)?d.missingWarn:e.missingWarn;P(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;let h=!!d.part,b=ev(e,d),x=l(e,i,b);if(!T(c)||""===c)return new Intl.DateTimeFormat(b,f).format(u);let y={},C=null;for(let t=0;t<x.length&&!O(C=(r[o=x[t]]||{})[c]);t++){;eL(e,c,o,p,"datetime format")}if(!O(C)||!T(o))return n?-1:c;let w=`${o}__${c}`;m(f)||(w=`${w}__${JSON.stringify(f)}`);let S=s.get(w);return S||(S=new Intl.DateTimeFormat(o,g({},C,f)),s.set(w,S)),h?S.formatToParts(u):S.format(u)}ez&&Intl.DateTimeFormat,ez&&Intl.NumberFormat;let eD=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function eB(...e){let t,[o,r,n,i]=e,a=x(),l=x();if(T(o)){let e=o.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw eg(em.INVALID_ISO_DATE_ARGUMENT);t=new Date(e[3]?e[3].trim().startsWith("T")?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim());try{t.toISOString()}catch{throw eg(em.INVALID_ISO_DATE_ARGUMENT)}}else if(p(o)){if(isNaN(o.getTime()))throw eg(em.INVALID_DATE_ARGUMENT);t=o}else if(f(o))t=o;else throw eg(em.INVALID_ARGUMENT);return T(r)?a.key=r:O(r)&&Object.keys(r).forEach(e=>{eD.includes(e)?l[e]=r[e]:a[e]=r[e]}),T(n)?a.locale=n:O(n)&&(l=n),O(i)&&(l=i),[a.key||"",t,a,l]}function eN(e,t,o){for(let r in o){let o=`${t}__${r}`;e.__datetimeFormatters.has(o)&&e.__datetimeFormatters.delete(o)}}function eZ(e,...t){let o,{numberFormats:r,unresolving:n,fallbackLocale:i,onWarn:a,localeFallbacker:l}=e,{__numberFormatters:s}=e,[c,u,d,f]=eW(...t),p=P(d.missingWarn)?d.missingWarn:e.missingWarn;P(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;let h=!!d.part,b=ev(e,d),x=l(e,i,b);if(!T(c)||""===c)return new Intl.NumberFormat(b,f).format(u);let y={},C=null;for(let t=0;t<x.length&&!O(C=(r[o=x[t]]||{})[c]);t++){;eL(e,c,o,p,"number format")}if(!O(C)||!T(o))return n?-1:c;let w=`${o}__${c}`;m(f)||(w=`${w}__${JSON.stringify(f)}`);let S=s.get(w);return S||(S=new Intl.NumberFormat(o,g({},C,f)),s.set(w,S)),h?S.formatToParts(u):S.format(u)}let ej=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function eW(...e){let[t,o,r,n]=e,i=x(),a=x();if(!f(t))throw eg(em.INVALID_ARGUMENT);return T(o)?i.key=o:O(o)&&Object.keys(o).forEach(e=>{ej.includes(e)?a[e]=o[e]:i[e]=o[e]}),T(r)?i.locale=r:O(r)&&(a=r),O(n)&&(a=n),[i.key||"",t,i,a]}function eR(e,t,o){for(let r in o){let o=`${t}__${r}`;e.__numberFormatters.has(o)&&e.__numberFormatters.delete(o)}}let eY=e=>e,eU=e=>"",eX=e=>0===e.length?"":I(e),eV=e=>null==e?"":_(e)||O(e)&&e.toString===k?JSON.stringify(e,null,2):String(e);function eG(e,t){return(e=Math.abs(e),2===t)?e?+(e>1):1:e?Math.min(e,2):0}let eq=()=>"",eJ=e=>E(e);function eK(e,...t){var o,r;let{fallbackFormat:n,postTranslation:i,unresolving:a,messageCompiler:l,fallbackLocale:s,messages:c}=e,[u,d]=e1(...t),p=P(d.missingWarn)?d.missingWarn:e.missingWarn,h=P(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,m=P(d.escapeParameter)?d.escapeParameter:e.escapeParameter,b=!!d.resolvedMessage,y=T(d.default)||P(d.default)?P(d.default)?l?u:()=>u:d.default:n?l?u:()=>u:null,w=n||null!=y&&(T(y)||E(y)),S=ev(e,d);m&&(_((o=d).list)?o.list=o.list.map(e=>T(e)?C(e):e):$(o.named)&&Object.keys(o.named).forEach(e=>{T(o.named[e])&&(o.named[e]=C(o.named[e]))}));let[F,k,M]=b?[u,S,c[S]||x()]:eQ(e,u,S,s,h,p),I=F,L=u;if(b||T(I)||J(I)||eJ(I)||!w||(L=I=y),!b&&(!(T(I)||J(I)||eJ(I))||!T(k)))return a?-1:u;let A=!1,z=eJ(I)?I:e0(e,u,k,I,L,()=>{A=!0});if(A)return I;let H=(r=0,z(function(e={}){let t=e.locale,o=function(e){let t=f(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(f(e.named.count)||f(e.named.n))?f(e.named.count)?e.named.count:f(e.named.n)?e.named.n:t:t}(e),r=$(e.pluralRules)&&T(t)&&E(e.pluralRules[t])?e.pluralRules[t]:eG,n=$(e.pluralRules)&&T(t)&&E(e.pluralRules[t])?eG:void 0,i=e.list||[],a=e.named||x();function l(t,o){return(E(e.messages)?e.messages(t,!!o):!!$(e.messages)&&e.messages[t])||(e.parent?e.parent.message(t):eU)}f(e.pluralIndex)&&(a.count||(a.count=o),a.n||(a.n=o));let s=t=>e.modifiers?e.modifiers[t]:eY,c=O(e.processor)&&E(e.processor.normalize)?e.processor.normalize:eX,u=O(e.processor)&&E(e.processor.interpolate)?e.processor.interpolate:eV,d={list:e=>i[e],named:e=>a[e],plural:e=>e[r(o,e.length,n)],linked:(e,...t)=>{let[o,r]=t,n="text",i="";1===t.length?$(o)?(i=o.modifier||i,n=o.type||n):T(o)&&(i=o||i):2===t.length&&(T(o)&&(i=o||i),T(r)&&(n=r||n));let a=l(e,!0)(d),c="vnode"===n&&_(a)&&i?a[0]:a;return i?s(i)(c,n):c},message:l,type:O(e.processor)&&T(e.processor.type)?e.processor.type:"text",interpolate:u,normalize:c,values:g(x(),i,a)};return d}(function(e,t,o,r){let{modifiers:n,pluralRules:i,messageResolver:a,fallbackLocale:l,fallbackWarn:s,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:n,pluralRules:i,messages:(r,n)=>{let i=a(o,r);if(null==i&&(u||n)){let[,,o]=eQ(u||e,r,t,l,s,c);i=a(o,r)}if(T(i)||J(i)){let o=!1,n=e0(e,r,t,i,r,()=>{o=!0});return o?eq:n}return eJ(i)?i:eq}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),f(r.plural)&&(d.pluralIndex=r.plural),d}(e,k,M,d)))),D=i?i(H,u):H;if(__INTLIFY_PROD_DEVTOOLS__){let t={timestamp:Date.now(),key:T(u)?u:eJ(I)?I.key:"",locale:k||(eJ(I)?I.locale:""),format:T(I)?I:eJ(I)?I.source:"",message:D};t.meta=g({},e.__meta,e$()||{}),eh(t)}return D}function eQ(e,t,o,r,n,i){let a,{messages:l,onWarn:s,messageResolver:c,localeFallbacker:u}=e,d=u(e,r,o),f=x(),p=null;for(let o=0;o<d.length&&(null===(p=c(f=l[a=d[o]]||x(),t))&&(p=f[t]),!(T(p)||J(p)||eJ(p)));o++){;if(!function(e,t){let o=t.indexOf(e);if(-1===o)return!1;for(let n=o+1;n<t.length;n++){var r;if(e!==(r=t[n])&&e.split("-")[0]===r.split("-")[0])return!0}return!1}(a,d)){let o=eL(e,t,a,i,"translate");o!==t&&(p=o)}}return[p,a,f]}function e0(e,t,o,r,n,i){var a,l,s,c,d,f;let{messageCompiler:p,warnHtmlMessage:h}=e;if(eJ(r))return r.locale=r.locale||o,r.key=r.key||t,r;if(null==p){let e=()=>r;return e.locale=o,e.key=t,e}let m=p(r,(a=0,l=o,s=n,c=0,d=h,f=i,{locale:l,key:s,warnHtmlMessage:d,onError:e=>{throw f&&f(e),e},onCacheKey:e=>u(l,s,e)}));return m.locale=o,m.key=t,m.source=r,m}function e1(...e){let[t,o,r]=e,n=x();if(!T(t)&&!f(t)&&!eJ(t)&&!J(t))throw eg(em.INVALID_ARGUMENT);let i=f(t)?String(t):(eJ(t),t);return f(o)?n.plural=o:T(o)?n.default=o:O(o)&&!m(o)?n.named=o:_(o)&&(n.list=o),f(r)?n.plural=r:T(r)?n.default=r:O(r)&&g(n,r),[i,n]}"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(y().__INTLIFY_PROD_DEVTOOLS__=!1),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(y().__INTLIFY_DROP_MESSAGE_COMPILER__=!1);var e2,e5=o(58786);let e8={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function e3(e,...t){return B(e,null,void 0)}e8.UNEXPECTED_RETURN_TYPE,e8.INVALID_ARGUMENT,e8.MUST_BE_CALL_SETUP_TOP,e8.NOT_INSTALLED,e8.UNEXPECTED_ERROR,e8.REQUIRED_VALUE,e8.INVALID_VALUE,e8.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,e8.NOT_INSTALLED_WITH_PROVIDE,e8.NOT_COMPATIBLE_LEGACY_VUE_I18N,e8.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;let e6=c("__translateVNode"),e4=c("__datetimeParts"),e9=c("__numberParts"),e7=c("__setPluralRules");c("__intlifyMeta");let te=c("__injectWithOption"),tt=c("__dispose");function to(e){if(!$(e)||J(e))return e;for(let t in e)if(S(e,t))if(t.includes(".")){let o=t.split("."),r=o.length-1,n=e,i=!1;for(let e=0;e<r;e++){if("__proto__"===o[e])throw Error(`unsafe key: ${o[e]}`);if(o[e]in n||(n[o[e]]=x()),!$(n[o[e]])){i=!0;break}n=n[o[e]]}if(!i&&(J(n)?el.includes(o[r])||delete e[t]:(n[o[r]]=e[t],delete e[t])),!J(n)){let e=n[o[r]];$(e)&&to(e)}}else $(e[t])&&to(e[t]);return e}function tr(e,t){let{messages:o,__i18n:r,messageResolver:n,flatJson:i}=t,a=O(o)?o:_(r)?x():{[e]:x()};if(_(r)&&r.forEach(e=>{if("locale"in e&&"resource"in e){let{locale:t,resource:o}=e;t?(a[t]=a[t]||x(),z(o,a[t])):z(o,a)}else T(e)&&z(JSON.parse(e),a)}),null==n&&i)for(let e in a)S(a,e)&&to(a[e]);return a}function tn(e,t,o){let r=$(t.messages)?t.messages:x();"__i18nGlobal"in o&&(r=tr(e.locale.value,{messages:r,__i18n:o.__i18nGlobal}));let n=Object.keys(r);if(n.length&&n.forEach(t=>{e.mergeLocaleMessage(t,r[t])}),$(t.datetimeFormats)){let o=Object.keys(t.datetimeFormats);o.length&&o.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if($(t.numberFormats)){let o=Object.keys(t.numberFormats);o.length&&o.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}function ti(e){return(0,e5.Wm)(e5.xv,null,e,0)}let ta=()=>[],tl=()=>!1,ts=0;function tc(e){return(t,o,r,n)=>e(o,r,(0,e5.FN)()||void 0,n)}function tu(e={}){let t,{__root:o,__injectWithOption:r}=e,n=void 0===o,c=e.flatJson,u=s?e5.iH:e5.XI,d=!P(e.inheritLocale)||e.inheritLocale,p=u(o&&d?o.locale.value:T(e.locale)?e.locale:eT),m=u(o&&d?o.fallbackLocale.value:T(e.fallbackLocale)||_(e.fallbackLocale)||O(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:p.value),b=u(tr(p.value,e)),y=u(O(e.datetimeFormats)?e.datetimeFormats:{[p.value]:{}}),C=u(O(e.numberFormats)?e.numberFormats:{[p.value]:{}}),w=o?o.missingWarn:!(P(e.missingWarn)||h(e.missingWarn))||e.missingWarn,F=o?o.fallbackWarn:!(P(e.fallbackWarn)||h(e.fallbackWarn))||e.fallbackWarn,k=o?o.fallbackRoot:!P(e.fallbackRoot)||e.fallbackRoot,M=!!e.fallbackFormat,I=E(e.missing)?e.missing:null,A=E(e.missing)?tc(e.missing):null,H=E(e.postTranslation)?e.postTranslation:null,D=o?o.warnHtmlMessage:!P(e.warnHtmlMessage)||e.warnHtmlMessage,B=!!e.escapeParameter,N=o?o.modifiers:O(e.modifiers)?e.modifiers:{},Z=e.pluralRules||o&&o.pluralRules;eA(t=(()=>{n&&ek(null);let o={version:"11.1.3",locale:p.value,fallbackLocale:m.value,messages:b.value,modifiers:N,pluralRules:Z,missing:null===A?void 0:A,missingWarn:w,fallbackWarn:F,fallbackFormat:M,unresolving:!0,postTranslation:null===H?void 0:H,warnHtmlMessage:D,escapeParameter:B,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};o.datetimeFormats=y.value,o.numberFormats=C.value,o.__datetimeFormatters=O(t)?t.__datetimeFormatters:void 0,o.__numberFormatters=O(t)?t.__numberFormatters:void 0;let r=function(e={}){let t=E(e.onWarn)?e.onWarn:L,o=T(e.version)?e.version:"11.1.3",r=T(e.locale)||E(e.locale)?e.locale:eT,n=E(r)?eT:r,s=_(e.fallbackLocale)||O(e.fallbackLocale)||T(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:n,c=O(e.messages)?e.messages:eI(n),u=O(e.datetimeFormats)?e.datetimeFormats:eI(n),d=O(e.numberFormats)?e.numberFormats:eI(n),f=g(x(),e.modifiers,{upper:(e,t)=>"text"===t&&T(e)?e.toUpperCase():"vnode"===t&&$(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&T(e)?e.toLowerCase():"vnode"===t&&$(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&T(e)?eP(e):"vnode"===t&&$(e)&&"__v_isVNode"in e?eP(e.children):e}),p=e.pluralRules||x(),m=E(e.missing)?e.missing:null,b=!(P(e.missingWarn)||h(e.missingWarn))||e.missingWarn,y=!(P(e.fallbackWarn)||h(e.fallbackWarn))||e.fallbackWarn,C=!!e.fallbackFormat,w=!!e.unresolving,S=E(e.postTranslation)?e.postTranslation:null,F=O(e.processor)?e.processor:null,k=!P(e.warnHtmlMessage)||e.warnHtmlMessage,M=!!e.escapeParameter,I=E(e.messageCompiler)?e.messageCompiler:i,A=E(e.messageResolver)?e.messageResolver:a||eE,z=E(e.localeFallbacker)?e.localeFallbacker:l||ex,H=$(e.fallbackContext)?e.fallbackContext:void 0,D=$(e.__datetimeFormatters)?e.__datetimeFormatters:new Map,B=$(e.__numberFormatters)?e.__numberFormatters:new Map,N=$(e.__meta)?e.__meta:{},Z={version:o,cid:++eO,locale:r,fallbackLocale:s,messages:c,modifiers:f,pluralRules:p,missing:m,missingWarn:b,fallbackWarn:y,fallbackFormat:C,unresolving:w,postTranslation:S,processor:F,warnHtmlMessage:k,escapeParameter:M,messageCompiler:I,messageResolver:A,localeFallbacker:z,fallbackContext:H,onWarn:t,__meta:N};return Z.datetimeFormats=u,Z.numberFormats=d,Z.__datetimeFormatters=D,Z.__numberFormatters=B,__INTLIFY_PROD_DEVTOOLS__&&ep&&ep.emit("i18n:init",{timestamp:Date.now(),i18n:Z,version:o,meta:N}),Z}(o);return n&&ek(r),r})(),p.value,m.value);let j=(0,e5.Fl)({get:()=>p.value,set:e=>{t.locale=e,p.value=e}}),W=(0,e5.Fl)({get:()=>m.value,set:e=>{t.fallbackLocale=e,m.value=e,eA(t,p.value,e)}}),R=(0,e5.Fl)(()=>b.value),Y=(0,e5.Fl)(()=>y.value),U=(0,e5.Fl)(()=>C.value),X=(e,r,i,a,l,s)=>{let c;p.value,m.value,b.value,y.value,C.value;try{__INTLIFY_PROD_DEVTOOLS__,n||(t.fallbackContext=o?eM():void 0),c=e(t)}finally{__INTLIFY_PROD_DEVTOOLS__,n||(t.fallbackContext=void 0)}if("translate exists"!==i&&f(c)&&-1===c||"translate exists"===i&&!c){let[e,t]=r();return o&&k?a(o):l(e)}if(s(c))return c;throw e3(e8.UNEXPECTED_RETURN_TYPE)};function V(...e){return X(t=>Reflect.apply(eK,null,[t,...e]),()=>e1(...e),"translate",t=>Reflect.apply(t.t,t,[...e]),e=>e,e=>T(e))}let G={normalize:function(e){return e.map(e=>T(e)||f(e)||P(e)?ti(String(e)):e)},interpolate:e=>e,type:"vnode"};function q(e){return b.value[e]||{}}ts++,o&&s&&((0,e5.YP)(o.locale,e=>{d&&(p.value=e,t.locale=e,eA(t,p.value,m.value))}),(0,e5.YP)(o.fallbackLocale,e=>{d&&(m.value=e,t.fallbackLocale=e,eA(t,p.value,m.value))}));let K={id:ts,locale:j,fallbackLocale:W,get inheritLocale(){return d},set inheritLocale(val){d=val,val&&o&&(p.value=o.locale.value,m.value=o.fallbackLocale.value,eA(t,p.value,m.value))},get availableLocales(){return Object.keys(b.value).sort()},messages:R,get modifiers(){return N},get pluralRules(){return Z||{}},get isGlobal(){return n},get missingWarn(){return w},set missingWarn(val){w=val,t.missingWarn=w},get fallbackWarn(){return F},set fallbackWarn(val){F=val,t.fallbackWarn=F},get fallbackRoot(){return k},set fallbackRoot(val){k=val},get fallbackFormat(){return M},set fallbackFormat(val){M=val,t.fallbackFormat=M},get warnHtmlMessage(){return D},set warnHtmlMessage(val){D=val,t.warnHtmlMessage=val},get escapeParameter(){return B},set escapeParameter(val){B=val,t.escapeParameter=val},t:V,getLocaleMessage:q,setLocaleMessage:function(e,o){if(c){let t={[e]:o};for(let e in t)S(t,e)&&to(t[e]);o=t[e]}b.value[e]=o,t.messages=b.value},mergeLocaleMessage:function(e,o){b.value[e]=b.value[e]||{};let r={[e]:o};if(c)for(let e in r)S(r,e)&&to(r[e]);z(o=r[e],b.value[e]),t.messages=b.value},getPostTranslationHandler:function(){return E(H)?H:null},setPostTranslationHandler:function(e){H=e,t.postTranslation=e},getMissingHandler:function(){return I},setMissingHandler:function(e){null!==e&&(A=tc(e)),I=e,t.missing=A},[e7]:function(e){Z=e,t.pluralRules=Z}};return K.datetimeFormats=Y,K.numberFormats=U,K.rt=function(...e){let[t,o,r]=e;if(r&&!$(r))throw e3(e8.INVALID_ARGUMENT);return V(t,o,g({resolvedMessage:!0},r||{}))},K.te=function(e,o){return X(()=>{if(!e)return!1;let r=q(T(o)?o:p.value),n=t.messageResolver(r,e);return J(n)||eJ(n)||T(n)},()=>[e],"translate exists",t=>Reflect.apply(t.te,t,[e,o]),tl,e=>P(e))},K.tm=function(e){let r=function(e){let o=null,r=ey(t,m.value,p.value);for(let n=0;n<r.length;n++){let i=b.value[r[n]]||{},a=t.messageResolver(i,e);if(null!=a){o=a;break}}return o}(e);return null!=r?r:o&&o.tm(e)||{}},K.d=function(...e){return X(t=>Reflect.apply(eH,null,[t,...e]),()=>eB(...e),"datetime format",t=>Reflect.apply(t.d,t,[...e]),()=>"",e=>T(e))},K.n=function(...e){return X(t=>Reflect.apply(eZ,null,[t,...e]),()=>eW(...e),"number format",t=>Reflect.apply(t.n,t,[...e]),()=>"",e=>T(e))},K.getDateTimeFormat=function(e){return y.value[e]||{}},K.setDateTimeFormat=function(e,o){y.value[e]=o,t.datetimeFormats=y.value,eN(t,e,o)},K.mergeDateTimeFormat=function(e,o){y.value[e]=g(y.value[e]||{},o),t.datetimeFormats=y.value,eN(t,e,o)},K.getNumberFormat=function(e){return C.value[e]||{}},K.setNumberFormat=function(e,o){C.value[e]=o,t.numberFormats=C.value,eR(t,e,o)},K.mergeNumberFormat=function(e,o){C.value[e]=g(C.value[e]||{},o),t.numberFormats=C.value,eR(t,e,o)},K[te]=r,K[e6]=function(...e){return X(t=>{let o;try{t.processor=G,o=Reflect.apply(eK,null,[t,...e])}finally{t.processor=null}return o},()=>e1(...e),"translate",t=>t[e6](...e),e=>[ti(e)],e=>_(e))},K[e4]=function(...e){return X(t=>Reflect.apply(eH,null,[t,...e]),()=>eB(...e),"datetime format",t=>t[e4](...e),ta,e=>T(e)||_(e))},K[e9]=function(...e){return X(t=>Reflect.apply(eZ,null,[t,...e]),()=>eW(...e),"number format",t=>t[e9](...e),ta,e=>T(e)||_(e))},K}function td(e={}){let t=tu(function(e){let t=T(e.locale)?e.locale:eT,o=T(e.fallbackLocale)||_(e.fallbackLocale)||O(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,r=E(e.missing)?e.missing:void 0,n=!(P(e.silentTranslationWarn)||h(e.silentTranslationWarn))||!e.silentTranslationWarn,i=!(P(e.silentFallbackWarn)||h(e.silentFallbackWarn))||!e.silentFallbackWarn,a=!P(e.fallbackRoot)||e.fallbackRoot,l=!!e.formatFallbackMessages,s=O(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=E(e.postTranslation)?e.postTranslation:void 0,d=!T(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,f=!!e.escapeParameterHtml,p=!P(e.sync)||e.sync,m=e.messages;if(O(e.sharedMessages)){let t=e.sharedMessages;m=Object.keys(t).reduce((e,o)=>(g(e[o]||(e[o]={}),t[o]),e),m||{})}let{__i18n:b,__root:x,__injectWithOption:y}=e,C=e.datetimeFormats,w=e.numberFormats;return{locale:t,fallbackLocale:o,messages:m,flatJson:e.flatJson,datetimeFormats:C,numberFormats:w,missing:r,missingWarn:n,fallbackWarn:i,fallbackRoot:a,fallbackFormat:l,modifiers:s,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:p,__i18n:b,__root:x,__injectWithOption:y}}(e)),{__extender:o}=e,r={id:t.id,get locale(){return t.locale.value},set locale(val){t.locale.value=val},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(val){t.fallbackLocale.value=val},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(handler){t.setMissingHandler(handler)},get silentTranslationWarn(){return P(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(val){t.missingWarn=P(val)?!val:val},get silentFallbackWarn(){return P(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(val){t.fallbackWarn=P(val)?!val:val},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(val){t.fallbackFormat=val},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(handler){t.setPostTranslationHandler(handler)},get sync(){return t.inheritLocale},set sync(val){t.inheritLocale=val},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(val){t.warnHtmlMessage="off"!==val},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(val){t.escapeParameter=val},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t:(...e)=>Reflect.apply(t.t,t,[...e]),rt:(...e)=>Reflect.apply(t.rt,t,[...e]),te:(e,o)=>t.te(e,o),tm:e=>t.tm(e),getLocaleMessage:e=>t.getLocaleMessage(e),setLocaleMessage(e,o){t.setLocaleMessage(e,o)},mergeLocaleMessage(e,o){t.mergeLocaleMessage(e,o)},d:(...e)=>Reflect.apply(t.d,t,[...e]),getDateTimeFormat:e=>t.getDateTimeFormat(e),setDateTimeFormat(e,o){t.setDateTimeFormat(e,o)},mergeDateTimeFormat(e,o){t.mergeDateTimeFormat(e,o)},n:(...e)=>Reflect.apply(t.n,t,[...e]),getNumberFormat:e=>t.getNumberFormat(e),setNumberFormat(e,o){t.setNumberFormat(e,o)},mergeNumberFormat(e,o){t.mergeNumberFormat(e,o)}};return r.__extender=o,r}function tf(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[e7](t.pluralizationRules||e.pluralizationRules);let o=tr(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(o).forEach(t=>e.mergeLocaleMessage(t,o[t])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}let tp={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}},th=(0,e5.aZ)({name:"i18n-t",props:g({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>f(e)||!isNaN(e)}},tp),setup(e,t){let{slots:o,attrs:r}=t,n=e.i18n||tC({useScope:e.scope,__useComponent:!0});return()=>{let i=Object.keys(o).filter(e=>"_"!==e),a=x();e.locale&&(a.locale=e.locale),void 0!==e.plural&&(a.plural=T(e.plural)?+e.plural:e.plural);let l=function({slots:e},t){return 1===t.length&&"default"===t[0]?(e.default?e.default():[]).reduce((e,t)=>[...e,...t.type===e5.HY?t.children:[t]],[]):t.reduce((t,o)=>{let r=e[o];return r&&(t[o]=r()),t},x())}(t,i),s=n[e6](e.keypath,l,a),c=g(x(),r),u=T(e.tag)||$(e.tag)?e.tag:e5.HY;return(0,e5.h)(u,c,s)}}});function tm(e,t,o,r){let{slots:n,attrs:i}=t;return()=>{let t={part:!0},a=x();e.locale&&(t.locale=e.locale),T(e.format)?t.key=e.format:$(e.format)&&(T(e.format.key)&&(t.key=e.format.key),a=Object.keys(e.format).reduce((t,r)=>o.includes(r)?g(x(),t,{[r]:e.format[r]}):t,x()));let l=r(e.value,t,a),s=[t.key];_(l)?s=l.map((e,t)=>{let o=n[e.type],r=o?o({[e.type]:e.value,index:t,parts:l}):[e.value];return _(r)&&!T(r[0])&&(r[0].key=`${e.type}-${t}`),r}):T(l)&&(s=[l]);let c=g(x(),i),u=T(e.tag)||$(e.tag)?e.tag:e5.HY;return(0,e5.h)(u,c,s)}}let tg=(0,e5.aZ)({name:"i18n-n",props:g({value:{type:Number,required:!0},format:{type:[String,Object]}},tp),setup(e,t){let o=e.i18n||tC({useScope:e.scope,__useComponent:!0});return tm(e,t,ej,(...e)=>o[e9](...e))}});function tv(e){if(T(e))return{path:e};if(O(e)){if(!("path"in e))throw e3(e8.REQUIRED_VALUE,"path");return e}throw e3(e8.INVALID_VALUE)}function tb(e){let{path:t,locale:o,args:r,choice:n,plural:i}=e,a={};return T(o)&&(a.locale=o),f(n)&&(a.plural=n),f(i)&&(a.plural=i),[t,r||{},a]}let tx=c("global-vue-i18n");function ty(e={}){let t=__VUE_I18N_LEGACY_API__&&P(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=!P(e.globalInjection)||e.globalInjection,r=new Map,[n,i]=function(e,t){let o=(0,e5.B)(),r=__VUE_I18N_LEGACY_API__&&t?o.run(()=>td(e)):o.run(()=>tu(e));if(null==r)throw e3(e8.UNEXPECTED_ERROR);return[o,r]}(e,t),a=c(""),l={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(e,...r){var n;if(e.__VUE_I18N_SYMBOL__=a,e.provide(e.__VUE_I18N_SYMBOL__,l),O(r[0])){let e=r[0];l.__composerExtend=e.__composerExtend,l.__vueI18nExtend=e.__vueI18nExtend}let c=null;!t&&o&&(c=function(e,t){let o=Object.create(null);return tw.forEach(e=>{let r=Object.getOwnPropertyDescriptor(t,e);if(!r)throw e3(e8.UNEXPECTED_ERROR);Object.defineProperty(o,e,(0,e5.dq)(r.value)?{get:()=>r.value.value,set(e){r.value.value=e}}:{get:()=>r.get&&r.get()})}),e.config.globalProperties.$i18n=o,tS.forEach(o=>{let r=Object.getOwnPropertyDescriptor(t,o);if(!r||!r.value)throw e3(e8.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,r)}),()=>{delete e.config.globalProperties.$i18n,tS.forEach(t=>{delete e.config.globalProperties[`$${t}`]})}}(e,l.global)),__VUE_I18N_FULL_INSTALL__&&function(e,t,...o){let r=O(o[0])?o[0]:{};(!P(r.globalInstall)||r.globalInstall)&&([th.name,"I18nT"].forEach(t=>e.component(t,th)),[tg.name,"I18nN"].forEach(t=>e.component(t,tg)),[t_.name,"I18nD"].forEach(t=>e.component(t,t_))),e.directive("t",function(e){let t=t=>{let{instance:o,value:r}=t;if(!o||!o.$)throw e3(e8.UNEXPECTED_ERROR);let n=function(e,t){if("composition"===e.mode)return e.__getInstance(t)||e.global;{let o=e.__getInstance(t);return null!=o?o.__composer:e.global.__composer}}(e,o.$),i=tv(r);return[Reflect.apply(n.t,n,[...tb(i)]),n]};return{created:(o,r)=>{let[n,i]=t(r);s&&e.global===i&&(o.__i18nWatcher=(0,e5.YP)(i.locale,()=>{r.instance&&r.instance.$forceUpdate()})),o.__composer=i,o.textContent=n},unmounted:e=>{s&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){let o=e.__composer,r=tv(t);e.textContent=Reflect.apply(o.t,o,[...tb(r)])}},getSSRProps:e=>{let[o]=t(e);return{textContent:o}}}}(t))}(e,l,...r),__VUE_I18N_LEGACY_API__&&t&&e.mixin((n=i.__composer,{beforeCreate(){let e=(0,e5.FN)();if(!e)throw e3(e8.UNEXPECTED_ERROR);let t=this.$options;if(t.i18n){let e=t.i18n;if(t.__i18n&&(e.__i18n=t.__i18n),e.__root=n,this===this.$root)this.$i18n=tf(i,e);else{e.__injectWithOption=!0,e.__extender=l.__vueI18nExtend,this.$i18n=td(e);let t=this.$i18n;t.__extender&&(t.__disposer=t.__extender(this.$i18n))}}else if(t.__i18n)if(this===this.$root)this.$i18n=tf(i,t);else{this.$i18n=td({__i18n:t.__i18n,__injectWithOption:!0,__extender:l.__vueI18nExtend,__root:n});let e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=i;t.__i18nGlobal&&tn(n,t,t),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),l.__setInstance(e,this.$i18n)},mounted(){},unmounted(){let e=(0,e5.FN)();if(!e)throw e3(e8.UNEXPECTED_ERROR);let t=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),l.__deleteInstance(e),delete this.$i18n}}));let u=e.unmount;e.unmount=()=>{c&&c(),l.dispose(),u()}},get global(){return i},dispose(){n.stop()},__instances:r,__getInstance:function(e){return r.get(e)||null},__setInstance:function(e,t){r.set(e,t)},__deleteInstance:function(e){r.delete(e)}};return l}function tC(e={}){var t,o,r,n,i,a;let l=(0,e5.FN)();if(null==l)throw e3(e8.MUST_BE_CALL_SETUP_TOP);if(!l.isCE&&null!=l.appContext.app&&!l.appContext.app.__VUE_I18N_SYMBOL__)throw e3(e8.NOT_INSTALLED);let s=function(e){let t=(0,e5.f3)(e.isCE?tx:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw e3(e.isCE?e8.NOT_INSTALLED_WITH_PROVIDE:e8.UNEXPECTED_ERROR);return t}(l),c="composition"===(t=s).mode?t.global:t.global.__composer,u=l.type,d=(o=e,r=u,m(o)?"__i18n"in r?"local":"global":o.useScope?o.useScope:"local");if("global"===d)return tn(c,e,u),c;if("parent"===d){let t=function(e,t,o=!1){let r=null,n=t.root,i=function(e,t=!1){return null==e?null:t&&e.vnode.ctx||e.parent}(t,o);for(;null!=i;){if("composition"===e.mode)r=e.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){let t=e.__getInstance(i);null!=t&&(r=t.__composer,o&&r&&!r[te]&&(r=null))}if(null!=r||n===i)break;i=i.parent}return r}(s,l,e.__useComponent);return null==t&&(t=c),t}let f=s.__getInstance(l);if(null==f){let t=g({},e);"__i18n"in u&&(t.__i18n=u.__i18n),c&&(t.__root=c),f=tu(t),s.__composerExtend&&(f[tt]=s.__composerExtend(f)),n=s,i=l,a=f,(0,e5.bv)(()=>{},i),(0,e5.SK)(()=>{n.__deleteInstance(i);let e=a[tt];e&&(e(),delete a[tt])},i),s.__setInstance(l,f)}return f}let tw=["locale","fallbackLocale","availableLocales"],tS=["t","rt","d","n","tm","te"],t_=(0,e5.aZ)({name:"i18n-d",props:g({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},tp),setup(e,t){let o=e.i18n||tC({useScope:e.scope,__useComponent:!0});return tm(e,t,eD,(...e)=>o[e4](...e))}});if("boolean"!=typeof __VUE_I18N_FULL_INSTALL__&&(y().__VUE_I18N_FULL_INSTALL__=!0),"boolean"!=typeof __VUE_I18N_LEGACY_API__&&(y().__VUE_I18N_LEGACY_API__=!0),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(y().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(y().__INTLIFY_PROD_DEVTOOLS__=!1),i=function(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&T(e)){P(t.warnHtmlMessage)&&t.warnHtmlMessage;let o=(t.onCacheKey||ed)(e),r=ef[o];if(r)return r;let{ast:n,detectError:i}=function(e,t={}){let o=!1,r=t.onError||N;return t.onError=e=>{o=!0,r(e)},{...function(e,t={}){let o=g({},t),r=!!o.jit,n=!!o.minify,i=null==o.optimize||o.optimize,a=(function(e={}){let t=!1!==e.location,{onError:o}=e;function r(e,n,i,a,...l){let s=e.currentPosition();s.offset+=a,s.column+=a,o&&o(B(n,t?H(i,s):null,{domain:"parser",args:l}))}function n(e,o,r){let n={type:e};return t&&(n.start=o,n.end=o,n.loc={start:r,end:r}),n}function i(e,o,r,n){t&&(e.end=o,e.loc&&(e.loc.end=r))}function a(e,t){let{lastOffset:o,lastStartLoc:r}=e.context(),a=n(5,o,r);return a.index=parseInt(t,10),e.nextToken(),i(a,e.currentOffset(),e.currentPosition()),a}function l(e,t){let{lastOffset:o,lastStartLoc:r}=e.context(),a=n(4,o,r);return a.key=t,e.nextToken(),i(a,e.currentOffset(),e.currentPosition()),a}function s(e,t){let{lastOffset:o,lastStartLoc:r}=e.context(),a=n(9,o,r);return a.value=t.replace(R,Y),e.nextToken(),i(a,e.currentOffset(),e.currentPosition()),a}function c(e){let t=e.context(),o=n(2,1===t.currentType?e.currentOffset():t.offset,1===t.currentType?t.endLoc:t.startLoc);o.items=[];let c=null;do{let u=c||e.nextToken();switch(c=null,u.type){case 0:null==u.value&&r(e,D.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,U(u)),o.items.push(function(e,t){let o=e.context(),r=n(3,o.offset,o.startLoc);return r.value=t,i(r,e.currentOffset(),e.currentPosition()),r}(e,u.value||""));break;case 5:null==u.value&&r(e,D.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,U(u)),o.items.push(a(e,u.value||""));break;case 4:null==u.value&&r(e,D.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,U(u)),o.items.push(l(e,u.value||""));break;case 6:null==u.value&&r(e,D.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,U(u)),o.items.push(s(e,u.value||""));break;case 7:{let t=function(e){let t=e.context(),o=n(6,t.offset,t.startLoc),c=e.nextToken();if(8===c.type){let t=function(e){let t=e.nextToken(),o=e.context(),{lastOffset:a,lastStartLoc:l}=o,s=n(8,a,l);return 11!==t.type?(r(e,D.UNEXPECTED_EMPTY_LINKED_MODIFIER,o.lastStartLoc,0),s.value="",i(s,a,l),{nextConsumeToken:t,node:s}):(null==t.value&&r(e,D.UNEXPECTED_LEXICAL_ANALYSIS,o.lastStartLoc,0,U(t)),s.value=t.value||"",i(s,e.currentOffset(),e.currentPosition()),{node:s})}(e);o.modifier=t.node,c=t.nextConsumeToken||e.nextToken()}switch(9!==c.type&&r(e,D.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,U(c)),2===(c=e.nextToken()).type&&(c=e.nextToken()),c.type){case 10:null==c.value&&r(e,D.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,U(c)),o.key=function(e,t){let o=e.context(),r=n(7,o.offset,o.startLoc);return r.value=t,i(r,e.currentOffset(),e.currentPosition()),r}(e,c.value||"");break;case 4:null==c.value&&r(e,D.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,U(c)),o.key=l(e,c.value||"");break;case 5:null==c.value&&r(e,D.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,U(c)),o.key=a(e,c.value||"");break;case 6:null==c.value&&r(e,D.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,U(c)),o.key=s(e,c.value||"");break;default:{r(e,D.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc,0);let a=e.context(),l=n(7,a.offset,a.startLoc);return l.value="",i(l,a.offset,a.startLoc),o.key=l,i(o,a.offset,a.startLoc),{nextConsumeToken:c,node:o}}}return i(o,e.currentOffset(),e.currentPosition()),{node:o}}(e);o.items.push(t.node),c=t.nextConsumeToken||null}}}while(13!==t.currentType&&1!==t.currentType);return i(o,1===t.currentType?t.lastOffset:e.currentOffset(),1===t.currentType?t.lastEndLoc:e.currentPosition()),o}return{parse:function(o){let a=function(e,t={}){let o=!1!==t.location,r=function(e){let t=0,o=1,r=1,n=0,i=t=>"\r"===e[t]&&"\n"===e[t+1],a=t=>"\n"===e[t],l=t=>e[t]===j,s=t=>e[t]===Z,c=e=>i(e)||a(e)||l(e)||s(e),u=t=>i(t)||l(t)||s(t)?"\n":e[t];function d(){return n=0,c(t)&&(o++,r=0),i(t)&&t++,t++,r++,e[t]}return{index:()=>t,line:()=>o,column:()=>r,peekOffset:()=>n,charAt:u,currentChar:()=>u(t),currentPeek:()=>u(t+n),next:d,peek:function(){return i(t+n)&&n++,n++,e[t+n]},reset:function(){t=0,o=1,r=1,n=0},resetPeek:function(e=0){n=e},skipToPeek:function(){let e=t+n;for(;e!==t;)d();n=0}}}(e),n=()=>r.index(),i=()=>{var e;return e=r.line(),{line:e,column:r.column(),offset:r.index()}},a=i(),l=n(),s={currentType:13,offset:l,startLoc:a,endLoc:a,lastType:13,lastOffset:l,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>s,{onError:u}=t;function d(e,t,r,...n){let i=c();t.column+=r,t.offset+=r,u&&u(B(e,o?H(i.startLoc,t):null,{domain:"tokenizer",args:n}))}function f(e,t,r){e.endLoc=i(),e.currentType=t;let n={type:t};return o&&(n.loc=H(e.startLoc,e.endLoc)),null!=r&&(n.value=r),n}let p=e=>f(e,13);function h(e,t){return e.currentChar()===t?(e.next(),t):(d(D.EXPECTED_TOKEN,i(),0,t),"")}function m(e){let t="";for(;" "===e.currentPeek()||"\n"===e.currentPeek();)t+=e.currentPeek(),e.peek();return t}function g(e){let t=m(e);return e.skipToPeek(),t}function b(e){if(e===W)return!1;let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function x(e){m(e);let t="|"===e.currentPeek();return e.resetPeek(),t}function y(e,t=!0){let o=(t=!1,r="")=>{let n=e.currentPeek();if("{"===n||"@"===n||!n)return t;if("|"===n)return" "!==r&&"\n"!==r;if(" "===n)return e.peek(),o(!0," ");if("\n"===n)return e.peek(),o(!0,"\n");else return!0},r=o();return t&&e.resetPeek(),r}function C(e,t){let o=e.currentChar();return o===W?W:t(o)?(e.next(),o):null}function w(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t}function S(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t||45===t}function _(e){let t=e.charCodeAt(0);return t>=48&&t<=57}function E(e){let t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function T(e){let t="",o="";for(;t=C(e,_);)o+=t;return o}function P(e){return"'"!==e&&"\n"!==e}function $(e,t,o){h(e,t);let r="";for(let n=0;n<o;n++){let o=C(e,E);if(!o){d(D.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${t}${r}${e.currentChar()}`);break}r+=o}return`\\${t}${r}`}function F(e){return"{"!==e&&"}"!==e&&" "!==e&&"\n"!==e}function k(e){g(e);let t=h(e,"|");return g(e),t}function M(e,t){let o=null;switch(e.currentChar()){case"{":t.braceNest>=1&&d(D.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),e.next(),o=f(t,2,"{"),g(e),t.braceNest++;break;case"}":t.braceNest>0&&2===t.currentType&&d(D.EMPTY_PLACEHOLDER,i(),0),e.next(),o=f(t,3,"}"),t.braceNest--,t.braceNest>0&&g(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1);break;case"@":t.braceNest>0&&d(D.UNTERMINATED_CLOSING_BRACE,i(),0),o=O(e,t)||p(t),t.braceNest=0;break;default:{let r=!0,n=!0,a=!0;if(x(e))return t.braceNest>0&&d(D.UNTERMINATED_CLOSING_BRACE,i(),0),o=f(t,1,k(e)),t.braceNest=0,t.inLinked=!1,o;if(t.braceNest>0&&(4===t.currentType||5===t.currentType||6===t.currentType))return d(D.UNTERMINATED_CLOSING_BRACE,i(),0),t.braceNest=0,I(e,t);if(r=function(e,t){let{currentType:o}=t;if(2!==o)return!1;m(e);let r=b(e.currentPeek());return e.resetPeek(),r}(e,t))return o=f(t,4,function(e){g(e);let t="",o="";for(;t=C(e,S);)o+=t;return e.currentChar()===W&&d(D.UNTERMINATED_CLOSING_BRACE,i(),0),o}(e)),g(e),o;if(n=function(e,t){let{currentType:o}=t;if(2!==o)return!1;m(e);let r=function(e){if(e===W)return!1;let t=e.charCodeAt(0);return t>=48&&t<=57}("-"===e.currentPeek()?e.peek():e.currentPeek());return e.resetPeek(),r}(e,t)){let r;return o=f(t,5,(g(e),r="","-"===e.currentChar()?(e.next(),r+=`-${T(e)}`):r+=T(e),e.currentChar()===W&&d(D.UNTERMINATED_CLOSING_BRACE,i(),0),r)),g(e),o}if(a=function(e,t){let{currentType:o}=t;if(2!==o)return!1;m(e);let r="'"===e.currentPeek();return e.resetPeek(),r}(e,t))return o=f(t,6,function(e){g(e),h(e,"'");let t="",o="";for(;t=C(e,P);)"\\"===t?o+=function(e){let t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return $(e,t,4);case"U":return $(e,t,6);default:return d(D.UNKNOWN_ESCAPE_SEQUENCE,i(),0,t),""}}(e):o+=t;let r=e.currentChar();return"\n"===r||r===W?(d(D.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),"\n"===r&&(e.next(),h(e,"'"))):h(e,"'"),o}(e)),g(e),o;r||n||a||(o=f(t,12,function(e){g(e);let t="",o="";for(;t=C(e,F);)o+=t;return o}(e)),d(D.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,o.value),g(e))}}return o}function O(e,t){let{currentType:o}=t,r=null,n=e.currentChar();switch((7===o||8===o||11===o||9===o)&&("\n"===n||" "===n)&&d(D.INVALID_LINKED_FORMAT,i(),0),n){case"@":return e.next(),r=f(t,7,"@"),t.inLinked=!0,r;case".":return g(e),e.next(),f(t,8,".");case":":return g(e),e.next(),f(t,9,":");default:if(x(e))return r=f(t,1,k(e)),t.braceNest=0,t.inLinked=!1,r;if(function(e,t){let{currentType:o}=t;if(7!==o)return!1;m(e);let r="."===e.currentPeek();return e.resetPeek(),r}(e,t)||function(e,t){let{currentType:o}=t;if(7!==o&&11!==o)return!1;m(e);let r=":"===e.currentPeek();return e.resetPeek(),r}(e,t))return g(e),O(e,t);if(function(e,t){let{currentType:o}=t;if(8!==o)return!1;m(e);let r=b(e.currentPeek());return e.resetPeek(),r}(e,t))return g(e),f(t,11,function(e){let t="",o="";for(;t=C(e,w);)o+=t;return o}(e));if(function(e,t){let{currentType:o}=t;if(9!==o)return!1;let r=()=>{let t=e.currentPeek();return"{"===t?b(e.peek()):"@"!==t&&"|"!==t&&":"!==t&&"."!==t&&" "!==t&&!!t&&("\n"===t?(e.peek(),r()):y(e,!1))},n=r();return e.resetPeek(),n}(e,t)){if(g(e),"{"===n)return M(e,t)||r;return f(t,10,function(e){let t=o=>{let r=e.currentChar();return"{"!==r&&"@"!==r&&"|"!==r&&"("!==r&&")"!==r&&r&&" "!==r?"\n"===r||"."===r?(o+=r,e.next(),t(o)):(o+=r,e.next(),t(o)):o};return t("")}(e))}return 7===o&&d(D.INVALID_LINKED_FORMAT,i(),0),t.braceNest=0,t.inLinked=!1,I(e,t)}}function I(e,t){let o={type:13};if(t.braceNest>0)return M(e,t)||p(t);if(t.inLinked)return O(e,t)||p(t);switch(e.currentChar()){case"{":return M(e,t)||p(t);case"}":return d(D.UNBALANCED_CLOSING_BRACE,i(),0),e.next(),f(t,3,"}");case"@":return O(e,t)||p(t);default:if(x(e)){o=f(t,1,k(e)),t.braceNest=0,t.inLinked=!1;break}if(y(e))return f(t,0,function(e){let t="";for(;;){let o=e.currentChar();if("{"!==o&&"}"!==o&&"@"!==o&&"|"!==o&&o)if(" "===o||"\n"===o)if(y(e))t+=o,e.next();else if(x(e))break;else t+=o,e.next();else t+=o,e.next();else break}return t}(e))}return o}return{nextToken:function(){let{currentType:e,offset:t,startLoc:o,endLoc:a}=s;return(s.lastType=e,s.lastOffset=t,s.lastStartLoc=o,s.lastEndLoc=a,s.offset=n(),s.startLoc=i(),r.currentChar()===W)?f(s,13):I(r,s)},currentOffset:n,currentPosition:i,context:c}}(o,g({},e)),l=a.context(),s=n(0,l.offset,l.startLoc);return t&&s.loc&&(s.loc.source=o),s.body=function(e){let t=e.context(),{offset:o,startLoc:a}=t,l=c(e);if(13===t.currentType)return l;let s=e.context(),u=0===l.items.length,d=n(1,o,a);d.cases=[],d.cases.push(l);do{let t=c(e);u||(u=0===t.items.length),d.cases.push(t)}while(13!==s.currentType);return u&&r(e,D.MUST_HAVE_MESSAGES_IN_PLURAL,a,0),i(d,e.currentOffset(),e.currentPosition()),d}(a),e.onCacheKey&&(s.cacheKey=e.onCacheKey(o)),13!==l.currentType&&r(a,D.UNEXPECTED_LEXICAL_ANALYSIS,l.lastStartLoc,0,o[l.offset]||""),i(s,a.currentOffset(),a.currentPosition()),s}}})(o).parse(e);return r?(i&&function(e){let t=e.body;2===t.type?G(t):t.cases.forEach(e=>G(e))}(a),n&&function e(t){switch(t.t=t.type,t.type){case 0:e(t.body),t.b=t.body,delete t.body;break;case 1:{let o=t.cases;for(let t=0;t<o.length;t++)e(o[t]);t.c=o,delete t.cases;break}case 2:{let o=t.items;for(let t=0;t<o.length;t++)e(o[t]);t.i=o,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:t.value&&(t.v=t.value,delete t.value);break;case 6:e(t.key),t.k=t.key,delete t.key,t.modifier&&(e(t.modifier),t.m=t.modifier,delete t.modifier);break;case 5:t.i=t.index,delete t.index;break;case 4:t.k=t.key,delete t.key}delete t.type}(a),{ast:a,code:""}):(!function(e,t={}){let o=function(e,t={}){let o={ast:e,helpers:new Set};return{context:()=>o,helper:e=>(o.helpers.add(e),e)}}(e);o.helper("normalize"),e.body&&V(e.body,o),e.helpers=Array.from(o.context().helpers)}(a,o),q(a,o))}(e,t),detectError:o}}(e,{...t,location:!1,jit:!0}),a=ec(n);return i?a:ef[o]=a}{let t=e.cacheKey;if(!t)return ec(e);{let o=ef[t];return o||(ef[t]=ec(e))}}},a=function(e,t){if(!$(e))return null;let o=e_.get(t);if(!o&&(o=function(e){let t,o,r,n,i,a,l,s=[],c=-1,u=0,d=0,f=[];for(f[0]=()=>{void 0===o?o=r:o+=r},f[1]=()=>{void 0!==o&&(s.push(o),o=void 0)},f[2]=()=>{f[0](),d++},f[3]=()=>{if(d>0)d--,u=4,f[0]();else{if(d=0,void 0===o||!1===(o=function(e){let t=e.trim();return!("0"===e.charAt(0)&&isNaN(parseInt(e)))&&(eS.test(t)?function(e){let t=e.charCodeAt(0);return t===e.charCodeAt(e.length-1)&&(34===t||39===t)?e.slice(1,-1):e}(t):"*"+t)}(o)))return!1;f[1]()}};null!==u;)if(!("\\"===(t=e[++c])&&function(){let t=e[c+1];if(5===u&&"'"===t||6===u&&'"'===t)return c++,r="\\"+t,f[0](),!0}())){if(n=function(e){if(null==e)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:break;case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}(t),8===(i=(l=ew[u])[n]||l.l||8)||(u=i[0],void 0!==i[1]&&(a=f[i[1]])&&(r=t,!1===a())))return;if(7===u)return s}}(t))&&e_.set(t,o),!o)return null;let r=o.length,n=e,i=0;for(;i<r;){let e=o[i];if(el.includes(e)&&J(n))return null;let t=n[e];if(void 0===t||E(n))return null;n=t,i++}return n},l=ey,__INTLIFY_PROD_DEVTOOLS__){let e=y();e.__INTLIFY__=!0,ep=e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__}}}]);
\ No newline at end of file
+ `)])]),q=Object.assign(Object.assign(Object.assign(Object.assign({},u.Z.props),{show:Boolean,unstableShowMask:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0},preset:String,to:[String,Object],displayDirective:{type:String,default:"if"},transformOrigin:{type:String,default:"mouse"},zIndex:Number,autoFocus:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0}}),W),{draggable:[Boolean,Object],onEsc:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onBeforeLeave:Function,onAfterLeave:Function,onClose:Function,onPositiveClick:Function,onNegativeClick:Function,onMaskClick:Function,internalDialog:Boolean,internalModal:Boolean,internalAppear:{type:Boolean,default:void 0},overlayStyle:[String,Object],onBeforeHide:Function,onAfterHide:Function,onHide:Function}),J=(0,s.aZ)({name:"Modal",inheritAttrs:!1,props:q,slots:Object,setup(e){let t=(0,s.iH)(null),{mergedClsPrefixRef:o,namespaceRef:n,inlineThemeDisabled:c}=(0,d.ZP)(e),_=(0,u.Z)("Modal","-modal",G,S.Z,e,o),E=(0,i.Z)(64),T=(0,a.Z)(),P=(0,l.Z)(),$=e.internalDialog?(0,s.f3)(w.eV,null):null,F=e.internalModal?(0,s.f3)(Z.iN,null):null,k=(p.j&&((0,s.wF)(()=>{b||(window.addEventListener("compositionstart",m),window.addEventListener("compositionend",g)),b++}),(0,s.Jd)(()=>{b<=1?(window.removeEventListener("compositionstart",m),window.removeEventListener("compositionend",g),b=0):b--})),h);function M(t){let{onUpdateShow:o,"onUpdate:show":r,onHide:n}=e;o&&(0,x.R)(o,t),r&&(0,x.R)(r,t),n&&!t&&n(t)}(0,s.JJ)(Z.vs,{getMousePosition:()=>{let e=$||F;if(e){let{clickedRef:t,clickedPositionRef:o}=e;if(t.value&&o.value)return o.value}return E.value?T.value:null},mergedClsPrefixRef:o,mergedThemeRef:_,isMountedRef:P,appearRef:(0,s.Vh)(e,"internalAppear"),transformOriginRef:(0,s.Vh)(e,"transformOrigin")});let O=(0,s.Fl)(()=>{let{common:{cubicBezierEaseOut:e},self:{boxShadow:t,color:o,textColor:r}}=_.value;return{"--n-bezier-ease-out":e,"--n-box-shadow":t,"--n-color":o,"--n-text-color":r}}),I=c?(0,f.F)("theme-class",void 0,O,e):void 0;return{mergedClsPrefix:o,namespace:n,isMounted:P,containerRef:t,presetProps:(0,s.Fl)(()=>(0,C.C)(e,R)),handleEsc:function(t){var o;null==(o=e.onEsc)||o.call(e),e.show&&e.closeOnEsc&&(0,y.v)(t)&&!k.value&&M(!1)},handleAfterLeave:function(){let{onAfterLeave:t,onAfterHide:o}=e;t&&(0,x.R)(t),o&&o()},handleClickoutside:function(o){var n;let{onMaskClick:i}=e;i&&i(o),e.maskClosable&&(null==(n=t.value)?void 0:n.contains((0,r.p)(o)))&&M(!1)},handleBeforeLeave:function(){let{onBeforeLeave:t,onBeforeHide:o}=e;t&&(0,x.R)(t),o&&o()},doUpdateShow:M,handleNegativeClick:function(){let{onNegativeClick:t}=e;t?Promise.resolve(t()).then(e=>{!1!==e&&M(!1)}):M(!1)},handlePositiveClick:function(){let{onPositiveClick:t}=e;t?Promise.resolve(t()).then(e=>{!1!==e&&M(!1)}):M(!1)},handleCloseClick:function(){let{onClose:t}=e;t?Promise.resolve(t()).then(e=>{!1!==e&&M(!1)}):M(!1)},cssVars:c?void 0:O,themeClass:null==I?void 0:I.themeClass,onRender:null==I?void 0:I.onRender}},render(){let{mergedClsPrefix:e}=this;return(0,s.h)(c.Z,{to:this.to,show:this.show},{default:()=>{var t;null==(t=this.onRender)||t.call(this);let{unstableShowMask:o}=this;return(0,s.wy)((0,s.h)("div",{role:"none",ref:"containerRef",class:[`${e}-modal-container`,this.themeClass,this.namespace],style:this.cssVars},(0,s.h)(Y,Object.assign({style:this.overlayStyle},this.$attrs,{ref:"bodyWrapper",displayDirective:this.displayDirective,show:this.show,preset:this.preset,autoFocus:this.autoFocus,trapFocus:this.trapFocus,draggable:this.draggable,blockScroll:this.blockScroll},this.presetProps,{onEsc:this.handleEsc,onClose:this.handleCloseClick,onNegativeClick:this.handleNegativeClick,onPositiveClick:this.handlePositiveClick,onBeforeLeave:this.handleBeforeLeave,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave,onClickoutside:o?void 0:this.handleClickoutside,renderMask:o?()=>{var t;return(0,s.h)(s.uT,{name:"fade-in-transition",key:"mask",appear:null!=(t=this.internalAppear)?t:this.isMounted},{default:()=>this.show?(0,s.h)("div",{"aria-hidden":!0,ref:"containerRef",class:`${e}-modal-mask`,onClick:this.handleClickoutside}):null})}:void 0}),this.$slots)),[[n.Z,{zIndex:this.zIndex,enabled:this.show}]])}})}})},54518:function(e,t,o){o.d(t,{Is:()=>s,Jh:()=>c,dd:()=>l});var r=o(82518),n=o(58786),i=o(14501),a=o(20389);function l(){let e=(0,n.f3)(a.u_,null);return null===e&&(0,i._y)("use-modal","No outer <n-modal-provider /> founded."),e}let s="n-draggable";function c(e,t){let o,i=(0,n.Fl)(()=>!1!==e.value),a=(0,n.Fl)(()=>i.value?s:""),l=(0,n.Fl)(()=>{let t=e.value;return!0===t||!1===t||!t||"none"!==t.bounds});function c(){o&&(o(),o=void 0)}return(0,n.SK)(c),{stopDrag:c,startDrag:function(e){let n,i=e.querySelector(`.${s}`);if(!i||!a.value)return;let c=0,u=0,d=0,f=0,p=0,h=0;function m(t){t.preventDefault(),n=t;let{x:o,y:r,right:i,bottom:a}=e.getBoundingClientRect();u=o,f=r,c=window.innerWidth-i,d=window.innerHeight-a;let{left:l,top:s}=e.style;p=+s.slice(0,-2),h=+l.slice(0,-2)}function g(t){if(!n)return;let{clientX:o,clientY:r}=n,i=t.clientX-o,a=t.clientY-r;l.value&&(i>c?i=c:-i>u&&(i=-u),a>d?a=d:-a>f&&(a=-f));let s=i+h,m=a+p;e.style.top=`${m}px`,e.style.left=`${s}px`}function b(){n=void 0,t.onEnd(e)}(0,r.on)("mousedown",i,m),(0,r.on)("mousemove",window,g),(0,r.on)("mouseup",window,b),o=()=>{(0,r.S)("mousedown",i,m),(0,r.on)("mousemove",window,g),(0,r.on)("mouseup",window,b)}},draggableRef:i,draggableClassRef:a}}},20389:function(e,t,o){o.d(t,{iN:()=>n,nH:()=>a,u_:()=>i});var r=o(19050);let n=(0,r.U)("n-modal-provider"),i=(0,r.U)("n-modal-api"),a=(0,r.U)("n-modal-reactive-list")},62383:function(e,t,o){o.d(t,{ZJ:()=>n,iN:()=>i,vs:()=>a});var r=o(19050);let n=(0,r.U)("n-modal-body"),i=(0,r.U)("n-modal-provider"),a=(0,r.U)("n-modal")},73522:function(e,t,o){o.d(t,{Z:()=>c,m:()=>s});var r=o(50957),n=o(56946),i=o(9798),a=o(75123),l=o(86423);function s(e){let{modalColor:t,textColor2:o,boxShadow3:r}=e;return{color:t,textColor:o,boxShadow:r}}let c=(0,n.j)({name:"Modal",common:i.Z,peers:{Scrollbar:r.Z,Dialog:l.Z,Card:a.Z},self:s})},67716:function(e,t,o){o.d(t,{m:()=>l,Z:()=>s});var r=o(50957),n=o(56946),i=o(9798);let a={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"};function l(e){let{textColor2:t,successColor:o,infoColor:r,warningColor:n,errorColor:i,popoverColor:l,closeIconColor:s,closeIconColorHover:c,closeIconColorPressed:u,closeColorHover:d,closeColorPressed:f,textColor1:p,textColor3:h,borderRadius:m,fontWeightStrong:g,boxShadow2:b,lineHeight:x,fontSize:y}=e;return Object.assign(Object.assign({},a),{borderRadius:m,lineHeight:x,fontSize:y,headerFontWeight:g,iconColor:t,iconColorSuccess:o,iconColorInfo:r,iconColorWarning:n,iconColorError:i,color:l,textColor:t,closeIconColor:s,closeIconColorHover:c,closeIconColorPressed:u,closeBorderRadius:m,closeColorHover:d,closeColorPressed:f,headerTextColor:p,descriptionTextColor:h,actionTextColor:t,boxShadow:b})}let s=(0,n.j)({name:"Notification",common:i.Z,peers:{Scrollbar:r.Z},self:l})},55675:function(e,t,o){o.d(t,{m:()=>c,Z:()=>u});var r=o(56946),n=o(9798),i=o(34534),a=o(71251),l=o(61150);let s={itemPaddingSmall:"0 4px",itemMarginSmall:"0 0 0 8px",itemMarginSmallRtl:"0 8px 0 0",itemPaddingMedium:"0 4px",itemMarginMedium:"0 0 0 8px",itemMarginMediumRtl:"0 8px 0 0",itemPaddingLarge:"0 4px",itemMarginLarge:"0 0 0 8px",itemMarginLargeRtl:"0 8px 0 0",buttonIconSizeSmall:"14px",buttonIconSizeMedium:"16px",buttonIconSizeLarge:"18px",inputWidthSmall:"60px",selectWidthSmall:"unset",inputMarginSmall:"0 0 0 8px",inputMarginSmallRtl:"0 8px 0 0",selectMarginSmall:"0 0 0 8px",prefixMarginSmall:"0 8px 0 0",suffixMarginSmall:"0 0 0 8px",inputWidthMedium:"60px",selectWidthMedium:"unset",inputMarginMedium:"0 0 0 8px",inputMarginMediumRtl:"0 8px 0 0",selectMarginMedium:"0 0 0 8px",prefixMarginMedium:"0 8px 0 0",suffixMarginMedium:"0 0 0 8px",inputWidthLarge:"60px",selectWidthLarge:"unset",inputMarginLarge:"0 0 0 8px",inputMarginLargeRtl:"0 8px 0 0",selectMarginLarge:"0 0 0 8px",prefixMarginLarge:"0 8px 0 0",suffixMarginLarge:"0 0 0 8px"};function c(e){let{textColor2:t,primaryColor:o,primaryColorHover:r,primaryColorPressed:n,inputColorDisabled:i,textColorDisabled:a,borderColor:l,borderRadius:c,fontSizeTiny:u,fontSizeSmall:d,fontSizeMedium:f,heightTiny:p,heightSmall:h,heightMedium:m}=e;return Object.assign(Object.assign({},s),{buttonColor:"#0000",buttonColorHover:"#0000",buttonColorPressed:"#0000",buttonBorder:`1px solid ${l}`,buttonBorderHover:`1px solid ${l}`,buttonBorderPressed:`1px solid ${l}`,buttonIconColor:t,buttonIconColorHover:t,buttonIconColorPressed:t,itemTextColor:t,itemTextColorHover:r,itemTextColorPressed:n,itemTextColorActive:o,itemTextColorDisabled:a,itemColor:"#0000",itemColorHover:"#0000",itemColorPressed:"#0000",itemColorActive:"#0000",itemColorActiveHover:"#0000",itemColorDisabled:i,itemBorder:"1px solid #0000",itemBorderHover:"1px solid #0000",itemBorderPressed:"1px solid #0000",itemBorderActive:`1px solid ${o}`,itemBorderDisabled:`1px solid ${l}`,itemBorderRadius:c,itemSizeSmall:p,itemSizeMedium:h,itemSizeLarge:m,itemFontSizeSmall:u,itemFontSizeMedium:d,itemFontSizeLarge:f,jumperFontSizeSmall:u,jumperFontSizeMedium:d,jumperFontSizeLarge:f,jumperTextColor:t,jumperTextColorDisabled:a})}let u=(0,r.j)({name:"Pagination",common:n.Z,peers:{Select:l.Z,Input:i.Z,Popselect:a.Z},self:c})},8608:function(e,t,o){o.d(t,{c:()=>r});let r=(0,o(19050).U)("n-popover-body")},27422:function(e,t,o){o.d(t,{m:()=>i,Z:()=>a});var r=o(9798);let n={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"};function i(e){let{boxShadow2:t,popoverColor:o,textColor2:r,borderRadius:i,fontSize:a,dividerColor:l}=e;return Object.assign(Object.assign({},n),{fontSize:a,borderRadius:i,color:o,dividerColor:l,textColor:r,boxShadow:t})}let a={name:"Popover",common:r.Z,self:i}},71251:function(e,t,o){o.d(t,{Z:()=>l});var r=o(87955),n=o(56946),i=o(9798),a=o(27422);let l=(0,n.j)({name:"Popselect",common:i.Z,peers:{Popover:a.Z,InternalSelectMenu:r.Z},self:function(e){let{boxShadow2:t}=e;return{menuBoxShadow:t}}})},52496:function(e,t,o){function r(e){let{infoColor:t,successColor:o,warningColor:r,errorColor:n,textColor2:i,progressRailColor:a,fontSize:l,fontWeight:s}=e;return{fontSize:l,fontSizeCircle:"28px",fontWeightCircle:s,railColor:a,railHeight:"8px",iconSizeCircle:"36px",iconSizeLine:"18px",iconColor:t,iconColorInfo:t,iconColorSuccess:o,iconColorWarning:r,iconColorError:n,textColorCircle:i,textColorLineInner:"rgb(255, 255, 255)",textColorLineOuter:i,fillColor:t,fillColorInfo:t,fillColorSuccess:o,fillColorWarning:r,fillColorError:n,lineBgProcessing:"linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)"}}o.d(t,{Z:()=>n,m:()=>r});let n={name:"Progress",common:o(9798).Z,self:r}},26957:function(e,t,o){o.d(t,{Z:()=>r});let r={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"}},19690:function(e,t,o){o.d(t,{Z:()=>a});var r=o(19595),n=o(9798),i=o(26957);let a={name:"Radio",common:n.Z,self:function(e){let{borderColor:t,primaryColor:o,baseColor:n,textColorDisabled:a,inputColorDisabled:l,textColor2:s,opacityDisabled:c,borderRadius:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:p,heightSmall:h,heightMedium:m,heightLarge:g,lineHeight:b}=e;return Object.assign(Object.assign({},i.Z),{labelLineHeight:b,buttonHeightSmall:h,buttonHeightMedium:m,buttonHeightLarge:g,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:p,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${o}`,boxShadowFocus:`inset 0 0 0 1px ${o}, 0 0 0 2px ${(0,r.zX)(o,{alpha:.2})}`,boxShadowHover:`inset 0 0 0 1px ${o}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:n,colorDisabled:l,colorActive:"#0000",textColor:s,textColorDisabled:a,dotColorActive:o,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:o,buttonBorderColorHover:t,buttonColor:n,buttonColorActive:n,buttonTextColor:s,buttonTextColorActive:o,buttonTextColorHover:o,opacityDisabled:c,buttonBoxShadowFocus:`inset 0 0 0 1px ${o}, 0 0 0 2px ${(0,r.zX)(o,{alpha:.3})}`,buttonBoxShadowHover:"inset 0 0 0 1px #0000",buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:u})}}},61150:function(e,t,o){o.d(t,{Z:()=>s,m:()=>l});var r=o(87955),n=o(66706),i=o(56946),a=o(9798);function l(e){let{boxShadow2:t}=e;return{menuBoxShadow:t}}let s=(0,i.j)({name:"Select",common:a.Z,peers:{InternalSelection:n.Z,InternalSelectMenu:r.Z},self:l})},7192:function(e,t,o){o.d(t,{Z:()=>r});let r={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"}},53573:function(e,t,o){function r(e){let{opacityDisabled:t,heightTiny:o,heightSmall:r,heightMedium:n,heightLarge:i,heightHuge:a,primaryColor:l,fontSize:s}=e;return{fontSize:s,textColor:l,sizeTiny:o,sizeSmall:r,sizeMedium:n,sizeLarge:i,sizeHuge:a,color:l,opacitySpinning:t}}o.d(t,{Z:()=>n,m:()=>r});let n={name:"Spin",common:o(9798).Z,self:r}},30951:function(e,t,o){o.d(t,{Z:()=>r});let r={buttonHeightSmall:"14px",buttonHeightMedium:"18px",buttonHeightLarge:"22px",buttonWidthSmall:"14px",buttonWidthMedium:"18px",buttonWidthLarge:"22px",buttonWidthPressedSmall:"20px",buttonWidthPressedMedium:"24px",buttonWidthPressedLarge:"28px",railHeightSmall:"18px",railHeightMedium:"22px",railHeightLarge:"26px",railWidthSmall:"32px",railWidthMedium:"40px",railWidthLarge:"48px"}},91078:function(e,t,o){o.d(t,{m:()=>a,Z:()=>l});var r=o(19595),n=o(9798);let i={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"};function a(e){let{dividerColor:t,cardColor:o,modalColor:n,popoverColor:a,tableHeaderColor:l,tableColorStriped:s,textColor1:c,textColor2:u,borderRadius:d,fontWeightStrong:f,lineHeight:p,fontSizeSmall:h,fontSizeMedium:m,fontSizeLarge:g}=e;return Object.assign(Object.assign({},i),{fontSizeSmall:h,fontSizeMedium:m,fontSizeLarge:g,lineHeight:p,borderRadius:d,borderColor:(0,r.h$)(o,t),borderColorModal:(0,r.h$)(n,t),borderColorPopover:(0,r.h$)(a,t),tdColor:o,tdColorModal:n,tdColorPopover:a,tdColorStriped:(0,r.h$)(o,s),tdColorStripedModal:(0,r.h$)(n,s),tdColorStripedPopover:(0,r.h$)(a,s),thColor:(0,r.h$)(o,l),thColorModal:(0,r.h$)(n,l),thColorPopover:(0,r.h$)(a,l),thTextColor:c,tdTextColor:u,thFontWeight:f})}let l={name:"Table",common:n.Z,self:a}},95842:function(e,t,o){o.d(t,{m:()=>i,Z:()=>a});var r=o(9798);let n={tabFontSizeSmall:"14px",tabFontSizeMedium:"14px",tabFontSizeLarge:"16px",tabGapSmallLine:"36px",tabGapMediumLine:"36px",tabGapLargeLine:"36px",tabGapSmallLineVertical:"8px",tabGapMediumLineVertical:"8px",tabGapLargeLineVertical:"8px",tabPaddingSmallLine:"6px 0",tabPaddingMediumLine:"10px 0",tabPaddingLargeLine:"14px 0",tabPaddingVerticalSmallLine:"6px 12px",tabPaddingVerticalMediumLine:"8px 16px",tabPaddingVerticalLargeLine:"10px 20px",tabGapSmallBar:"36px",tabGapMediumBar:"36px",tabGapLargeBar:"36px",tabGapSmallBarVertical:"8px",tabGapMediumBarVertical:"8px",tabGapLargeBarVertical:"8px",tabPaddingSmallBar:"4px 0",tabPaddingMediumBar:"6px 0",tabPaddingLargeBar:"10px 0",tabPaddingVerticalSmallBar:"6px 12px",tabPaddingVerticalMediumBar:"8px 16px",tabPaddingVerticalLargeBar:"10px 20px",tabGapSmallCard:"4px",tabGapMediumCard:"4px",tabGapLargeCard:"4px",tabGapSmallCardVertical:"4px",tabGapMediumCardVertical:"4px",tabGapLargeCardVertical:"4px",tabPaddingSmallCard:"8px 16px",tabPaddingMediumCard:"10px 20px",tabPaddingLargeCard:"12px 24px",tabPaddingSmallSegment:"4px 0",tabPaddingMediumSegment:"6px 0",tabPaddingLargeSegment:"8px 0",tabPaddingVerticalLargeSegment:"0 8px",tabPaddingVerticalSmallCard:"8px 12px",tabPaddingVerticalMediumCard:"10px 16px",tabPaddingVerticalLargeCard:"12px 20px",tabPaddingVerticalSmallSegment:"0 4px",tabPaddingVerticalMediumSegment:"0 6px",tabGapSmallSegment:"0",tabGapMediumSegment:"0",tabGapLargeSegment:"0",tabGapSmallSegmentVertical:"0",tabGapMediumSegmentVertical:"0",tabGapLargeSegmentVertical:"0",panePaddingSmall:"8px 0 0 0",panePaddingMedium:"12px 0 0 0",panePaddingLarge:"16px 0 0 0",closeSize:"18px",closeIconSize:"14px"};function i(e){let{textColor2:t,primaryColor:o,textColorDisabled:r,closeIconColor:i,closeIconColorHover:a,closeIconColorPressed:l,closeColorHover:s,closeColorPressed:c,tabColor:u,baseColor:d,dividerColor:f,fontWeight:p,textColor1:h,borderRadius:m,fontSize:g,fontWeightStrong:b}=e;return Object.assign(Object.assign({},n),{colorSegment:u,tabFontSizeCard:g,tabTextColorLine:h,tabTextColorActiveLine:o,tabTextColorHoverLine:o,tabTextColorDisabledLine:r,tabTextColorSegment:h,tabTextColorActiveSegment:t,tabTextColorHoverSegment:t,tabTextColorDisabledSegment:r,tabTextColorBar:h,tabTextColorActiveBar:o,tabTextColorHoverBar:o,tabTextColorDisabledBar:r,tabTextColorCard:h,tabTextColorHoverCard:h,tabTextColorActiveCard:o,tabTextColorDisabledCard:r,barColor:o,closeIconColor:i,closeIconColorHover:a,closeIconColorPressed:l,closeColorHover:s,closeColorPressed:c,closeBorderRadius:m,tabColor:u,tabColorSegment:d,tabBorderColor:f,tabFontWeightActive:p,tabFontWeight:p,tabBorderRadius:m,paneTextColor:t,fontWeightStrong:b})}let a={name:"Tabs",common:r.Z,self:i}},14624:function(e,t,o){o.d(t,{Z:()=>r});let r={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px"}},48287:function(e,t,o){o.d(t,{$:()=>e0});var r=o(19595),n=o(95537);let i="#000",a="rgb(24, 24, 28)",l="0.82",s="0.52",c="0.38",u="0.28",d="0.52",f="0.06",p=(0,r.m4)(i),h=(0,r.m4)("#fff"),m=`rgba(${h.slice(0,3).join(", ")}, `;function g(e){return`${m+String(e)})`}let b=Object.assign(Object.assign({name:"common"},n.Z),{baseColor:i,primaryColor:"#63e2b7",primaryColorHover:"#7fe7c4",primaryColorPressed:"#5acea7",primaryColorSuppl:"rgb(42, 148, 125)",infoColor:"#70c0e8",infoColorHover:"#8acbec",infoColorPressed:"#66afd3",infoColorSuppl:"rgb(56, 137, 197)",successColor:"#63e2b7",successColorHover:"#7fe7c4",successColorPressed:"#5acea7",successColorSuppl:"rgb(42, 148, 125)",warningColor:"#f2c97d",warningColorHover:"#f5d599",warningColorPressed:"#e6c260",warningColorSuppl:"rgb(240, 138, 0)",errorColor:"#e88080",errorColorHover:"#e98b8b",errorColorPressed:"#e57272",errorColorSuppl:"rgb(208, 58, 82)",textColorBase:"#fff",textColor1:g("0.9"),textColor2:g(l),textColor3:g(s),textColorDisabled:g(c),placeholderColor:g(c),placeholderColorDisabled:g(u),iconColor:g(c),iconColorDisabled:g(u),iconColorHover:g(1.25*Number(c)),iconColorPressed:g(.8*Number(c)),opacity1:"0.9",opacity2:l,opacity3:s,opacity4:c,opacity5:u,dividerColor:g("0.09"),borderColor:g("0.24"),closeIconColorHover:g(Number(d)),closeIconColor:g(Number(d)),closeIconColorPressed:g(Number(d)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:g(c),clearColorHover:(0,r.tn)(g(c),{alpha:1.25}),clearColorPressed:(0,r.tn)(g(c),{alpha:.8}),scrollbarColor:g("0.2"),scrollbarColorHover:g("0.3"),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:g("0.12"),railColor:g("0.2"),popoverColor:"rgb(72, 72, 78)",tableColor:a,cardColor:a,modalColor:"rgb(44, 44, 50)",bodyColor:"rgb(16, 16, 20)",tagColor:function(e){let t=Array.from(h);return t[3]=Number("0.2"),(0,r.h$)(p,t)}("0.2"),avatarColor:g("0.18"),invertedColor:i,inputColor:g("0.1"),codeColor:g("0.12"),tabColor:g("0.04"),actionColor:g(f),tableHeaderColor:g(f),hoverColor:g("0.09"),tableColorHover:g("0.06"),tableColorStriped:g("0.05"),pressedColor:g("0.05"),opacityDisabled:"0.38",inputColorDisabled:g("0.06"),buttonColor2:"rgba(255, 255, 255, .08)",buttonColor2Hover:"rgba(255, 255, 255, .12)",buttonColor2Pressed:"rgba(255, 255, 255, .08)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .24), 0 3px 6px 0 rgba(0, 0, 0, .18), 0 5px 12px 4px rgba(0, 0, 0, .12)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .24), 0 6px 12px 0 rgba(0, 0, 0, .16), 0 9px 18px 8px rgba(0, 0, 0, .10)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"});var x=o(50957);let y={name:"Scrollbar",common:b,self:x.m};var C=o(18877);let w={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"};var S=o(7077);let _={name:"Empty",common:b,self:S.m};var E=o(87955);let T={name:"InternalSelectMenu",common:b,peers:{Scrollbar:y,Empty:_},self:E.m};var P=o(16461);let $={name:"Input",common:b,self(e){let{textColor2:t,textColor3:o,textColorDisabled:n,primaryColor:i,primaryColorHover:a,inputColor:l,inputColorDisabled:s,warningColor:c,warningColorHover:u,errorColor:d,errorColorHover:f,borderRadius:p,lineHeight:h,fontSizeTiny:m,fontSizeSmall:g,fontSizeMedium:b,fontSizeLarge:x,heightTiny:y,heightSmall:C,heightMedium:w,heightLarge:S,clearColor:_,clearColorHover:E,clearColorPressed:T,placeholderColor:$,placeholderColorDisabled:F,iconColor:k,iconColorDisabled:M,iconColorHover:O,iconColorPressed:I,fontWeight:L}=e;return Object.assign(Object.assign({},P.Z),{fontWeight:L,countTextColorDisabled:n,countTextColor:o,heightTiny:y,heightSmall:C,heightMedium:w,heightLarge:S,fontSizeTiny:m,fontSizeSmall:g,fontSizeMedium:b,fontSizeLarge:x,lineHeight:h,lineHeightTextarea:h,borderRadius:p,iconSize:"16px",groupLabelColor:l,textColor:t,textColorDisabled:n,textDecorationColor:t,groupLabelTextColor:t,caretColor:i,placeholderColor:$,placeholderColorDisabled:F,color:l,colorDisabled:s,colorFocus:(0,r.zX)(i,{alpha:.1}),groupLabelBorder:"1px solid #0000",border:"1px solid #0000",borderHover:`1px solid ${a}`,borderDisabled:"1px solid #0000",borderFocus:`1px solid ${a}`,boxShadowFocus:`0 0 8px 0 ${(0,r.zX)(i,{alpha:.3})}`,loadingColor:i,loadingColorWarning:c,borderWarning:`1px solid ${c}`,borderHoverWarning:`1px solid ${u}`,colorFocusWarning:(0,r.zX)(c,{alpha:.1}),borderFocusWarning:`1px solid ${u}`,boxShadowFocusWarning:`0 0 8px 0 ${(0,r.zX)(c,{alpha:.3})}`,caretColorWarning:c,loadingColorError:d,borderError:`1px solid ${d}`,borderHoverError:`1px solid ${f}`,colorFocusError:(0,r.zX)(d,{alpha:.1}),borderFocusError:`1px solid ${f}`,boxShadowFocusError:`0 0 8px 0 ${(0,r.zX)(d,{alpha:.3})}`,caretColorError:d,clearColor:_,clearColorHover:E,clearColorPressed:T,iconColor:k,iconColorDisabled:M,iconColorHover:O,iconColorPressed:I,suffixTextColor:t})}};var F=o(56946),k=o(9798),M=o(34534);function O(e){let{boxShadow2:t}=e;return{menuBoxShadow:t}}function I(e){let{borderRadius:t,avatarColor:o,cardColor:n,fontSize:i,heightTiny:a,heightSmall:l,heightMedium:s,heightLarge:c,heightHuge:u,modalColor:d,popoverColor:f}=e;return{borderRadius:t,fontSize:i,border:`2px solid ${n}`,heightTiny:a,heightSmall:l,heightMedium:s,heightLarge:c,heightHuge:u,color:(0,r.h$)(n,o),colorModal:(0,r.h$)(d,o),colorPopover:(0,r.h$)(f,o)}}(0,F.j)({name:"AutoComplete",common:k.Z,peers:{InternalSelectMenu:E.Z,Input:M.Z},self:O});let L={name:"Avatar",common:k.Z,self:I},A={name:"Avatar",common:b,self:I};function z(){return{gap:"-12px"}}(0,F.j)({name:"AvatarGroup",common:k.Z,peers:{Avatar:L},self:z});let H={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},D={name:"Breadcrumb",common:b,self:o(55456).m};var B=o(8968);let N={name:"Button",common:b,self(e){let t=(0,B.m)(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},Z={titleFontSize:"22px"};function j(e){let{borderRadius:t,fontSize:o,lineHeight:n,textColor2:i,textColor1:a,textColorDisabled:l,dividerColor:s,fontWeightStrong:c,primaryColor:u,baseColor:d,hoverColor:f,cardColor:p,modalColor:h,popoverColor:m}=e;return Object.assign(Object.assign({},Z),{borderRadius:t,borderColor:(0,r.h$)(p,s),borderColorModal:(0,r.h$)(h,s),borderColorPopover:(0,r.h$)(m,s),textColor:i,titleFontWeight:c,titleTextColor:a,dayTextColor:l,fontSize:o,lineHeight:n,dateColorCurrent:u,dateTextColorCurrent:d,cellColorHover:(0,r.h$)(p,f),cellColorHoverModal:(0,r.h$)(h,f),cellColorHoverPopover:(0,r.h$)(m,f),cellColor:p,cellColorModal:h,cellColorPopover:m,barColor:u})}(0,F.j)({name:"Calendar",common:k.Z,peers:{Button:B.Z},self:j});var W=o(75123);let R={name:"Card",common:b,self(e){let t=(0,W.m)(e),{cardColor:o,modalColor:r,popoverColor:n}=e;return t.colorEmbedded=o,t.colorEmbeddedModal=r,t.colorEmbeddedPopover=n,t}};var Y=o(27422);let U={name:"Popover",common:b,self:Y.m};var X=o(60736);let V={name:"InternalSelection",common:b,peers:{Popover:U},self(e){let{borderRadius:t,textColor2:o,textColorDisabled:n,inputColor:i,inputColorDisabled:a,primaryColor:l,primaryColorHover:s,warningColor:c,warningColorHover:u,errorColor:d,errorColorHover:f,iconColor:p,iconColorDisabled:h,clearColor:m,clearColorHover:g,clearColorPressed:b,placeholderColor:x,placeholderColorDisabled:y,fontSizeTiny:C,fontSizeSmall:w,fontSizeMedium:S,fontSizeLarge:_,heightTiny:E,heightSmall:T,heightMedium:P,heightLarge:$,fontWeight:F}=e;return Object.assign(Object.assign({},X.Z),{fontWeight:F,fontSizeTiny:C,fontSizeSmall:w,fontSizeMedium:S,fontSizeLarge:_,heightTiny:E,heightSmall:T,heightMedium:P,heightLarge:$,borderRadius:t,textColor:o,textColorDisabled:n,placeholderColor:x,placeholderColorDisabled:y,color:i,colorDisabled:a,colorActive:(0,r.zX)(l,{alpha:.1}),border:"1px solid #0000",borderHover:`1px solid ${s}`,borderActive:`1px solid ${l}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 8px 0 ${(0,r.zX)(l,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${(0,r.zX)(l,{alpha:.4})}`,caretColor:l,arrowColor:p,arrowColorDisabled:h,loadingColor:l,borderWarning:`1px solid ${c}`,borderHoverWarning:`1px solid ${u}`,borderActiveWarning:`1px solid ${c}`,borderFocusWarning:`1px solid ${u}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 8px 0 ${(0,r.zX)(c,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${(0,r.zX)(c,{alpha:.4})}`,colorActiveWarning:(0,r.zX)(c,{alpha:.1}),caretColorWarning:c,borderError:`1px solid ${d}`,borderHoverError:`1px solid ${f}`,borderActiveError:`1px solid ${d}`,borderFocusError:`1px solid ${f}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 8px 0 ${(0,r.zX)(d,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${(0,r.zX)(d,{alpha:.4})}`,colorActiveError:(0,r.zX)(d,{alpha:.1}),caretColorError:d,clearColor:m,clearColorHover:g,clearColorPressed:b})}};var G=o(61115);let q={name:"Checkbox",common:b,self(e){let{cardColor:t}=e,o=(0,G.m)(e);return o.color="#0000",o.checkMarkColor=t,o}};var J=o(66706);function K(e){let{borderRadius:t,boxShadow2:o,popoverColor:r,textColor2:n,textColor3:i,primaryColor:a,textColorDisabled:l,dividerColor:s,hoverColor:c,fontSizeMedium:u,heightMedium:d}=e;return{menuBorderRadius:t,menuColor:r,menuBoxShadow:o,menuDividerColor:s,menuHeight:"calc(var(--n-option-height) * 6.6)",optionArrowColor:i,optionHeight:d,optionFontSize:u,optionColorHover:c,optionTextColor:n,optionTextColorActive:a,optionTextColorDisabled:l,optionCheckMarkColor:a,loadingColor:a,columnWidth:"180px"}}(0,F.j)({name:"Cascader",common:k.Z,peers:{InternalSelectMenu:E.Z,InternalSelection:J.Z,Scrollbar:x.Z,Checkbox:G.Z,Empty:S.Z},self:K});let Q={name:"Cascader",common:b,peers:{InternalSelectMenu:T,InternalSelection:V,Scrollbar:y,Checkbox:q,Empty:S.Z},self:K},ee={name:"Code",common:b,self(e){let{textColor2:t,fontSize:o,fontWeightStrong:r,textColor3:n}=e;return{textColor:t,fontSize:o,fontWeightStrong:r,"mono-3":"#5c6370","hue-1":"#56b6c2","hue-2":"#61aeee","hue-3":"#c678dd","hue-4":"#98c379","hue-5":"#e06c75","hue-5-2":"#be5046","hue-6":"#d19a66","hue-6-2":"#e6c07b",lineNumberTextColor:n}}},et={name:"Collapse",common:b,self:o(74794).m},eo={name:"ColorPicker",common:b,peers:{Input:$,Button:N},self:o(50906).m};var er=o(13015);let en={name:"Dropdown",common:b,peers:{Popover:U},self(e){let{primaryColorSuppl:t,primaryColor:o,popoverColor:n}=e,i=(0,er.m)(e);return i.colorInverted=n,i.optionColorActive=(0,r.zX)(o,{alpha:.15}),i.optionColorActiveInverted=t,i.optionColorHoverInverted=t,i}};var ei=o(43742);let ea={name:"Tooltip",common:b,peers:{Popover:U},self(e){let{borderRadius:t,boxShadow2:o,popoverColor:r,textColor2:n}=e;return Object.assign(Object.assign({},ei.Z),{borderRadius:t,boxShadow:o,color:r,textColor:n})}},el={name:"Ellipsis",common:b,peers:{Tooltip:ea}},es={name:"Popselect",common:b,peers:{Popover:U,InternalSelectMenu:T}},ec={name:"Select",common:b,peers:{InternalSelection:V,InternalSelectMenu:T},self:o(61150).m};var eu=o(55675);let ed={name:"Pagination",common:b,peers:{Select:ec,Input:$,Popselect:es},self(e){let{primaryColor:t,opacity3:o}=e,n=(0,r.zX)(t,{alpha:Number(o)}),i=(0,eu.m)(e);return i.itemBorderActive=`1px solid ${n}`,i.itemBorderDisabled="1px solid #0000",i}};var ef=o(26957);let ep={name:"Radio",common:b,self(e){let{borderColor:t,primaryColor:o,baseColor:n,textColorDisabled:i,inputColorDisabled:a,textColor2:l,opacityDisabled:s,borderRadius:c,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,heightSmall:p,heightMedium:h,heightLarge:m,lineHeight:g}=e;return Object.assign(Object.assign({},ef.Z),{labelLineHeight:g,buttonHeightSmall:p,buttonHeightMedium:h,buttonHeightLarge:m,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${o}`,boxShadowFocus:`inset 0 0 0 1px ${o}, 0 0 0 2px ${(0,r.zX)(o,{alpha:.3})}`,boxShadowHover:`inset 0 0 0 1px ${o}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:"#0000",colorDisabled:a,colorActive:"#0000",textColor:l,textColorDisabled:i,dotColorActive:o,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:o,buttonBorderColorHover:o,buttonColor:"#0000",buttonColorActive:o,buttonTextColor:l,buttonTextColorActive:n,buttonTextColorHover:o,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${o}, 0 0 0 2px ${(0,r.zX)(o,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${o}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:c})}};var eh=o(29176);let em={name:"TimePicker",common:b,peers:{Scrollbar:y,Button:N,Input:$},self:o(61007).m};var eg=o(81504);let ev={name:"Descriptions",common:b,self:o(31838).m},eb={name:"Dialog",common:b,peers:{Button:N},self:o(86423).m},ex={name:"Divider",common:b,self:o(20538).m};function ey(e){let{modalColor:t,textColor1:o,textColor2:r,boxShadow3:n,lineHeight:i,fontWeightStrong:a,dividerColor:l,closeColorHover:s,closeColorPressed:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,borderRadius:p,primaryColorHover:h}=e;return{bodyPadding:"16px 24px",borderRadius:p,headerPadding:"16px 24px",footerPadding:"16px 24px",color:t,textColor:r,titleTextColor:o,titleFontSize:"18px",titleFontWeight:a,boxShadow:n,lineHeight:i,headerBorderBottom:`1px solid ${l}`,footerBorderTop:`1px solid ${l}`,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,closeSize:"22px",closeIconSize:"18px",closeColorHover:s,closeColorPressed:c,closeBorderRadius:p,resizableTriggerColorHover:h}}(0,F.j)({name:"Drawer",common:k.Z,peers:{Scrollbar:x.Z},self:ey});let eC={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},ew={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},eS={name:"Space",self:()=>ew};var e_=o(14624);let eE={name:"Tag",common:b,self(e){let{textColor2:t,primaryColorHover:o,primaryColorPressed:n,primaryColor:i,infoColor:a,successColor:l,warningColor:s,errorColor:c,baseColor:u,borderColor:d,tagColor:f,opacityDisabled:p,closeIconColor:h,closeIconColorHover:m,closeIconColorPressed:g,closeColorHover:b,closeColorPressed:x,borderRadiusSmall:y,fontSizeMini:C,fontSizeTiny:w,fontSizeSmall:S,fontSizeMedium:_,heightMini:E,heightTiny:T,heightSmall:P,heightMedium:$,buttonColor2Hover:F,buttonColor2Pressed:k,fontWeightStrong:M}=e;return Object.assign(Object.assign({},e_.Z),{closeBorderRadius:y,heightTiny:E,heightSmall:T,heightMedium:P,heightLarge:$,borderRadius:y,opacityDisabled:p,fontSizeTiny:C,fontSizeSmall:w,fontSizeMedium:S,fontSizeLarge:_,fontWeightStrong:M,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:u,colorCheckable:"#0000",colorHoverCheckable:F,colorPressedCheckable:k,colorChecked:i,colorCheckedHover:o,colorCheckedPressed:n,border:`1px solid ${d}`,textColor:t,color:f,colorBordered:"#0000",closeIconColor:h,closeIconColorHover:m,closeIconColorPressed:g,closeColorHover:b,closeColorPressed:x,borderPrimary:`1px solid ${(0,r.zX)(i,{alpha:.3})}`,textColorPrimary:i,colorPrimary:(0,r.zX)(i,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:(0,r.tn)(i,{lightness:.7}),closeIconColorHoverPrimary:(0,r.tn)(i,{lightness:.7}),closeIconColorPressedPrimary:(0,r.tn)(i,{lightness:.7}),closeColorHoverPrimary:(0,r.zX)(i,{alpha:.16}),closeColorPressedPrimary:(0,r.zX)(i,{alpha:.12}),borderInfo:`1px solid ${(0,r.zX)(a,{alpha:.3})}`,textColorInfo:a,colorInfo:(0,r.zX)(a,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:(0,r.tn)(a,{alpha:.7}),closeIconColorHoverInfo:(0,r.tn)(a,{alpha:.7}),closeIconColorPressedInfo:(0,r.tn)(a,{alpha:.7}),closeColorHoverInfo:(0,r.zX)(a,{alpha:.16}),closeColorPressedInfo:(0,r.zX)(a,{alpha:.12}),borderSuccess:`1px solid ${(0,r.zX)(l,{alpha:.3})}`,textColorSuccess:l,colorSuccess:(0,r.zX)(l,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:(0,r.tn)(l,{alpha:.7}),closeIconColorHoverSuccess:(0,r.tn)(l,{alpha:.7}),closeIconColorPressedSuccess:(0,r.tn)(l,{alpha:.7}),closeColorHoverSuccess:(0,r.zX)(l,{alpha:.16}),closeColorPressedSuccess:(0,r.zX)(l,{alpha:.12}),borderWarning:`1px solid ${(0,r.zX)(s,{alpha:.3})}`,textColorWarning:s,colorWarning:(0,r.zX)(s,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:(0,r.tn)(s,{alpha:.7}),closeIconColorHoverWarning:(0,r.tn)(s,{alpha:.7}),closeIconColorPressedWarning:(0,r.tn)(s,{alpha:.7}),closeColorHoverWarning:(0,r.zX)(s,{alpha:.16}),closeColorPressedWarning:(0,r.zX)(s,{alpha:.11}),borderError:`1px solid ${(0,r.zX)(c,{alpha:.3})}`,textColorError:c,colorError:(0,r.zX)(c,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:(0,r.tn)(c,{alpha:.7}),closeIconColorHoverError:(0,r.tn)(c,{alpha:.7}),closeIconColorPressedError:(0,r.tn)(c,{alpha:.7}),closeColorHoverError:(0,r.zX)(c,{alpha:.16}),closeColorPressedError:(0,r.zX)(c,{alpha:.12})})}},eT={name:"Form",common:b,self:o(99348).m},eP={name:"Icon",common:b,self:o(87119).m},e$={extraFontSize:"12px",width:"440px"},eF={name:"List",common:b,self:o(11118).m};var ek=o(78165);let eM={name:"Message",common:b,self:o(97963).m},eO={name:"Modal",common:b,peers:{Scrollbar:y,Dialog:eb,Card:R},self:o(73522).m},eI={name:"Notification",common:b,peers:{Scrollbar:y},self:o(67716).m},eL={titleFontSize:"18px",backSize:"22px"};function eA(e){let{textColor1:t,textColor2:o,textColor3:r,fontSize:n,fontWeightStrong:i,primaryColorHover:a,primaryColorPressed:l}=e;return Object.assign(Object.assign({},eL),{titleFontWeight:i,fontSize:n,titleTextColor:t,backColor:o,backColorHover:a,backColorPressed:l,subtitleTextColor:r})}(0,F.j)({name:"PageHeader",common:k.Z,self:eA});let ez={iconSize:"22px"};function eH(e){let{fontSize:t,warningColor:o}=e;return Object.assign(Object.assign({},ez),{fontSize:t,iconColor:o})}(0,F.j)({name:"Popconfirm",common:k.Z,peers:{Button:B.Z,Popover:Y.Z},self:eH});var eD=o(52496);let eB={name:"Progress",common:b,self(e){let t=(0,eD.m)(e);return t.textColorLineInner="rgb(0, 0, 0)",t.lineBgProcessing="linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)",t}},eN={titleFontSizeSmall:"26px",titleFontSizeMedium:"32px",titleFontSizeLarge:"40px",titleFontSizeHuge:"48px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",iconSizeSmall:"64px",iconSizeMedium:"80px",iconSizeLarge:"100px",iconSizeHuge:"125px",iconColor418:void 0,iconColor404:void 0,iconColor403:void 0,iconColor500:void 0};var eZ=o(7192);let ej={name:"Spin",common:b,self:o(53573).m},eW={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"};var eR=o(73238),eY=o(30951);let eU={name:"Table",common:b,self:o(91078).m};var eX=o(95842);let eV={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},eG={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"};function eq(e){let{borderRadiusSmall:t,dividerColor:o,hoverColor:n,pressedColor:i,primaryColor:a,textColor3:l,textColor2:s,textColorDisabled:c,fontSize:u}=e;return{fontSize:u,lineHeight:"1.5",nodeHeight:"30px",nodeWrapperPadding:"3px 0",nodeBorderRadius:t,nodeColorHover:n,nodeColorPressed:i,nodeColorActive:(0,r.zX)(a,{alpha:.1}),arrowColor:l,nodeTextColor:s,nodeTextColorDisabled:c,loadingColor:a,dropMarkColor:a,lineColor:o}}(0,F.j)({name:"Tree",common:k.Z,peers:{Checkbox:G.Z,Scrollbar:x.Z,Empty:S.Z},self:eq});let eJ={name:"Tree",common:b,peers:{Checkbox:q,Scrollbar:y,Empty:_},self(e){let{primaryColor:t}=e,o=eq(e);return o.nodeColorActive=(0,r.zX)(t,{alpha:.15}),o}},eK={headerFontSize1:"30px",headerFontSize2:"22px",headerFontSize3:"18px",headerFontSize4:"16px",headerFontSize5:"16px",headerFontSize6:"16px",headerMargin1:"28px 0 20px 0",headerMargin2:"28px 0 20px 0",headerMargin3:"28px 0 20px 0",headerMargin4:"28px 0 18px 0",headerMargin5:"28px 0 18px 0",headerMargin6:"28px 0 18px 0",headerPrefixWidth1:"16px",headerPrefixWidth2:"16px",headerPrefixWidth3:"12px",headerPrefixWidth4:"12px",headerPrefixWidth5:"12px",headerPrefixWidth6:"12px",headerBarWidth1:"4px",headerBarWidth2:"4px",headerBarWidth3:"3px",headerBarWidth4:"3px",headerBarWidth5:"3px",headerBarWidth6:"3px",pMargin:"16px 0 16px 0",liMargin:".25em 0 0 0",olPadding:"0 0 0 2em",ulPadding:"0 0 0 2em"};var eQ=o(86524);let e0={name:"dark",common:b,Alert:{name:"Alert",common:b,self(e){let{lineHeight:t,borderRadius:o,fontWeightStrong:n,dividerColor:i,inputColor:a,textColor1:l,textColor2:s,closeColorHover:c,closeColorPressed:u,closeIconColor:d,closeIconColorHover:f,closeIconColorPressed:p,infoColorSuppl:h,successColorSuppl:m,warningColorSuppl:g,errorColorSuppl:b,fontSize:x}=e;return Object.assign(Object.assign({},C.Z),{fontSize:x,lineHeight:t,titleFontWeight:n,borderRadius:o,border:`1px solid ${i}`,color:a,titleTextColor:l,iconColor:s,contentTextColor:s,closeBorderRadius:o,closeColorHover:c,closeColorPressed:u,closeIconColor:d,closeIconColorHover:f,closeIconColorPressed:p,borderInfo:`1px solid ${(0,r.zX)(h,{alpha:.35})}`,colorInfo:(0,r.zX)(h,{alpha:.25}),titleTextColorInfo:l,iconColorInfo:h,contentTextColorInfo:s,closeColorHoverInfo:c,closeColorPressedInfo:u,closeIconColorInfo:d,closeIconColorHoverInfo:f,closeIconColorPressedInfo:p,borderSuccess:`1px solid ${(0,r.zX)(m,{alpha:.35})}`,colorSuccess:(0,r.zX)(m,{alpha:.25}),titleTextColorSuccess:l,iconColorSuccess:m,contentTextColorSuccess:s,closeColorHoverSuccess:c,closeColorPressedSuccess:u,closeIconColorSuccess:d,closeIconColorHoverSuccess:f,closeIconColorPressedSuccess:p,borderWarning:`1px solid ${(0,r.zX)(g,{alpha:.35})}`,colorWarning:(0,r.zX)(g,{alpha:.25}),titleTextColorWarning:l,iconColorWarning:g,contentTextColorWarning:s,closeColorHoverWarning:c,closeColorPressedWarning:u,closeIconColorWarning:d,closeIconColorHoverWarning:f,closeIconColorPressedWarning:p,borderError:`1px solid ${(0,r.zX)(b,{alpha:.35})}`,colorError:(0,r.zX)(b,{alpha:.25}),titleTextColorError:l,iconColorError:b,contentTextColorError:s,closeColorHoverError:c,closeColorPressedError:u,closeIconColorError:d,closeIconColorHoverError:f,closeIconColorPressedError:p})}},Anchor:{name:"Anchor",common:b,self:function(e){let{borderRadius:t,railColor:o,primaryColor:n,primaryColorHover:i,primaryColorPressed:a,textColor2:l}=e;return Object.assign(Object.assign({},w),{borderRadius:t,railColor:o,railColorActive:n,linkColor:(0,r.zX)(n,{alpha:.15}),linkTextColor:l,linkTextColorHover:i,linkTextColorPressed:a,linkTextColorActive:n})}},AutoComplete:{name:"AutoComplete",common:b,peers:{InternalSelectMenu:T,Input:$},self:O},Avatar:A,AvatarGroup:{name:"AvatarGroup",common:b,peers:{Avatar:A},self:z},BackTop:{name:"BackTop",common:b,self(e){let{popoverColor:t,textColor2:o,primaryColorHover:r,primaryColorPressed:n}=e;return Object.assign(Object.assign({},H),{color:t,textColor:o,iconColor:o,iconColorHover:r,iconColorPressed:n,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}},Badge:{name:"Badge",common:b,self(e){let{errorColorSuppl:t,infoColorSuppl:o,successColorSuppl:r,warningColorSuppl:n,fontFamily:i}=e;return{color:t,colorInfo:o,colorSuccess:r,colorError:t,colorWarning:n,fontSize:"12px",fontFamily:i}}},Breadcrumb:D,Button:N,ButtonGroup:{name:"ButtonGroup",common:b},Calendar:{name:"Calendar",common:b,peers:{Button:N},self:j},Card:R,Carousel:{name:"Carousel",common:b,self:function(){return{dotSize:"8px",dotColor:"rgba(255, 255, 255, .3)",dotColorActive:"rgba(255, 255, 255, 1)",dotColorFocus:"rgba(255, 255, 255, .5)",dotLineWidth:"16px",dotLineWidthActive:"24px",arrowColor:"#eee"}}},Cascader:Q,Checkbox:q,Code:ee,Collapse:et,CollapseTransition:{name:"CollapseTransition",common:b,self:function(e){let{cubicBezierEaseInOut:t}=e;return{bezier:t}}},ColorPicker:eo,DataTable:{name:"DataTable",common:b,peers:{Button:N,Checkbox:q,Radio:ep,Pagination:ed,Scrollbar:y,Empty:_,Popover:U,Ellipsis:el,Dropdown:en},self(e){let t=(0,eh.m)(e);return t.boxShadowAfter="inset 12px 0 8px -12px rgba(0, 0, 0, .36)",t.boxShadowBefore="inset -12px 0 8px -12px rgba(0, 0, 0, .36)",t}},DatePicker:{name:"DatePicker",common:b,peers:{Input:$,Button:N,TimePicker:em,Scrollbar:y},self(e){let{popoverColor:t,hoverColor:o,primaryColor:n}=e,i=(0,eg.m)(e);return i.itemColorDisabled=(0,r.h$)(t,o),i.itemColorIncluded=(0,r.zX)(n,{alpha:.15}),i.itemColorHover=(0,r.h$)(t,o),i}},Descriptions:ev,Dialog:eb,Divider:ex,Drawer:{name:"Drawer",common:b,peers:{Scrollbar:y},self:ey},Dropdown:en,DynamicInput:{name:"DynamicInput",common:b,peers:{Input:$,Button:N},self:()=>eC},DynamicTags:{name:"DynamicTags",common:b,peers:{Input:$,Button:N,Tag:eE,Space:eS},self:()=>({inputWidth:"64px"})},Element:{name:"Element",common:b},Empty:_,Ellipsis:el,Equation:{name:"Equation",common:b,self:()=>({})},Flex:{name:"Flex",self:()=>eR.Z},Form:eT,GradientText:{name:"GradientText",common:b,self(e){let{primaryColor:t,successColor:o,warningColor:r,errorColor:n,infoColor:i,primaryColorSuppl:a,successColorSuppl:l,warningColorSuppl:s,errorColorSuppl:c,infoColorSuppl:u,fontWeightStrong:d}=e;return{fontWeight:d,rotate:"252deg",colorStartPrimary:t,colorEndPrimary:a,colorStartInfo:i,colorEndInfo:u,colorStartWarning:r,colorEndWarning:s,colorStartError:n,colorEndError:c,colorStartSuccess:o,colorEndSuccess:l}}},Icon:eP,IconWrapper:{name:"IconWrapper",common:b,self:function(e){let{primaryColor:t,baseColor:o}=e;return{color:t,iconColor:o}}},Image:{name:"Image",common:b,peers:{Tooltip:ea},self:e=>{let{textColor2:t}=e;return{toolbarIconColor:t,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}},Input:$,InputNumber:{name:"InputNumber",common:b,peers:{Button:N,Input:$},self(e){let{textColorDisabled:t}=e;return{iconColorDisabled:t}}},LegacyTransfer:{name:"Transfer",common:b,peers:{Checkbox:q,Scrollbar:y,Input:$,Empty:_,Button:N},self(e){let{iconColorDisabled:t,iconColor:o,fontWeight:r,fontSizeLarge:n,fontSizeMedium:i,fontSizeSmall:a,heightLarge:l,heightMedium:s,heightSmall:c,borderRadius:u,inputColor:d,tableHeaderColor:f,textColor1:p,textColorDisabled:h,textColor2:m,hoverColor:g}=e;return Object.assign(Object.assign({},e$),{itemHeightSmall:c,itemHeightMedium:s,itemHeightLarge:l,fontSizeSmall:a,fontSizeMedium:i,fontSizeLarge:n,borderRadius:u,borderColor:"#0000",listColor:d,headerColor:f,titleTextColor:p,titleTextColorDisabled:h,extraTextColor:m,filterDividerColor:"#0000",itemTextColor:m,itemTextColorDisabled:h,itemColorPending:g,titleFontWeight:r,iconColor:o,iconColorDisabled:t})}},Layout:{name:"Layout",common:b,peers:{Scrollbar:y},self(e){let{textColor2:t,bodyColor:o,popoverColor:n,cardColor:i,dividerColor:a,scrollbarColor:l,scrollbarColorHover:s}=e;return{textColor:t,textColorInverted:t,color:o,colorEmbedded:o,headerColor:i,headerColorInverted:i,footerColor:i,footerColorInverted:i,headerBorderColor:a,headerBorderColorInverted:a,footerBorderColor:a,footerBorderColorInverted:a,siderBorderColor:a,siderBorderColorInverted:a,siderColor:i,siderColorInverted:i,siderToggleButtonBorder:"1px solid transparent",siderToggleButtonColor:n,siderToggleButtonIconColor:t,siderToggleButtonIconColorInverted:t,siderToggleBarColor:(0,r.h$)(o,l),siderToggleBarColorHover:(0,r.h$)(o,s),__invertScrollbar:"false"}}},List:eF,LoadingBar:{name:"LoadingBar",common:b,self(e){let{primaryColor:t}=e;return{colorError:"red",colorLoading:t,height:"2px"}}},Log:{name:"Log",common:b,peers:{Scrollbar:y,Code:ee},self(e){let{textColor2:t,inputColor:o,fontSize:r,primaryColor:n}=e;return{loaderFontSize:r,loaderTextColor:t,loaderColor:o,loaderBorder:"1px solid #0000",loadingColor:n}}},Menu:{name:"Menu",common:b,peers:{Tooltip:ea,Dropdown:en},self(e){let{primaryColor:t,primaryColorSuppl:o}=e,n=(0,ek.m4)(e);return n.itemColorActive=(0,r.zX)(t,{alpha:.15}),n.itemColorActiveHover=(0,r.zX)(t,{alpha:.15}),n.itemColorActiveCollapsed=(0,r.zX)(t,{alpha:.15}),n.itemColorActiveInverted=o,n.itemColorActiveHoverInverted=o,n.itemColorActiveCollapsedInverted=o,n}},Mention:{name:"Mention",common:b,peers:{InternalSelectMenu:T,Input:$},self(e){let{boxShadow2:t}=e;return{menuBoxShadow:t}}},Message:eM,Modal:eO,Notification:eI,PageHeader:{name:"PageHeader",common:b,self:eA},Pagination:ed,Popconfirm:{name:"Popconfirm",common:b,peers:{Button:N,Popover:U},self:eH},Popover:U,Popselect:es,Progress:eB,QrCode:{name:"QrCode",common:b,self:e=>({borderRadius:e.borderRadius})},Radio:ep,Rate:{name:"Rate",common:b,self(e){let{railColor:t}=e;return{itemColor:t,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},Result:{name:"Result",common:b,self:function(e){let{textColor2:t,textColor1:o,errorColor:r,successColor:n,infoColor:i,warningColor:a,lineHeight:l,fontWeightStrong:s}=e;return Object.assign(Object.assign({},eN),{lineHeight:l,titleFontWeight:s,titleTextColor:o,textColor:t,iconColorError:r,iconColorSuccess:n,iconColorInfo:i,iconColorWarning:a})}},Row:{name:"Row",common:b},Scrollbar:y,Select:ec,Skeleton:{name:"Skeleton",common:b,self(e){let{heightSmall:t,heightMedium:o,heightLarge:r,borderRadius:n}=e;return{color:"rgba(255, 255, 255, 0.12)",colorEnd:"rgba(255, 255, 255, 0.18)",borderRadius:n,heightSmall:t,heightMedium:o,heightLarge:r}}},Slider:{name:"Slider",common:b,self(e){let{railColor:t,modalColor:o,primaryColorSuppl:r,popoverColor:n,textColor2:i,cardColor:a,borderRadius:l,fontSize:s,opacityDisabled:c}=e;return Object.assign(Object.assign({},eZ.Z),{fontSize:s,markFontSize:s,railColor:t,railColorHover:t,fillColor:r,fillColorHover:r,opacityDisabled:c,handleColor:"#FFF",dotColor:a,dotColorModal:o,dotColorPopover:n,handleBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowHover:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowActive:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowFocus:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",indicatorColor:n,indicatorBoxShadow:"0 2px 8px 0 rgba(0, 0, 0, 0.12)",indicatorTextColor:i,indicatorBorderRadius:l,dotBorder:`2px solid ${t}`,dotBorderActive:`2px solid ${r}`,dotBoxShadow:""})}},Space:eS,Spin:ej,Statistic:{name:"Statistic",common:b,self:function(e){let{textColor2:t,textColor3:o,fontSize:r,fontWeight:n}=e;return{labelFontSize:r,labelFontWeight:n,valueFontWeight:n,valueFontSize:"24px",labelTextColor:o,valuePrefixTextColor:t,valueSuffixTextColor:t,valueTextColor:t}}},Steps:{name:"Steps",common:b,self:function(e){let{fontWeightStrong:t,baseColor:o,textColorDisabled:r,primaryColor:n,errorColor:i,textColor1:a,textColor2:l}=e;return Object.assign(Object.assign({},eW),{stepHeaderFontWeight:t,indicatorTextColorProcess:o,indicatorTextColorWait:r,indicatorTextColorFinish:n,indicatorTextColorError:i,indicatorBorderColorProcess:n,indicatorBorderColorWait:r,indicatorBorderColorFinish:n,indicatorBorderColorError:i,indicatorColorProcess:n,indicatorColorWait:"#0000",indicatorColorFinish:"#0000",indicatorColorError:"#0000",splitorColorProcess:r,splitorColorWait:r,splitorColorFinish:n,splitorColorError:r,headerTextColorProcess:a,headerTextColorWait:r,headerTextColorFinish:r,headerTextColorError:i,descriptionTextColorProcess:l,descriptionTextColorWait:r,descriptionTextColorFinish:r,descriptionTextColorError:i})}},Switch:{name:"Switch",common:b,self(e){let{primaryColorSuppl:t,opacityDisabled:o,borderRadius:n,primaryColor:i,textColor2:a,baseColor:l}=e;return Object.assign(Object.assign({},eY.Z),{iconColor:l,textColor:a,loadingColor:t,opacityDisabled:o,railColor:"rgba(255, 255, 255, .20)",railColorActive:t,buttonBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",buttonColor:"#FFF",railBorderRadiusSmall:n,railBorderRadiusMedium:n,railBorderRadiusLarge:n,buttonBorderRadiusSmall:n,buttonBorderRadiusMedium:n,buttonBorderRadiusLarge:n,boxShadowFocus:`0 0 8px 0 ${(0,r.zX)(i,{alpha:.3})}`})}},Table:eU,Tabs:{name:"Tabs",common:b,self(e){let t=(0,eX.m)(e),{inputColor:o}=e;return t.colorSegment=o,t.tabColorSegment=o,t}},Tag:eE,Thing:{name:"Thing",common:b,self:function(e){let{textColor1:t,textColor2:o,fontWeightStrong:r,fontSize:n}=e;return{fontSize:n,titleTextColor:t,textColor:o,titleFontWeight:r}}},TimePicker:em,Timeline:{name:"Timeline",common:b,self(e){let{textColor3:t,infoColorSuppl:o,errorColorSuppl:r,successColorSuppl:n,warningColorSuppl:i,textColor1:a,textColor2:l,railColor:s,fontWeightStrong:c,fontSize:u}=e;return Object.assign(Object.assign({},eV),{contentFontSize:u,titleFontWeight:c,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${o}`,circleBorderError:`2px solid ${r}`,circleBorderSuccess:`2px solid ${n}`,circleBorderWarning:`2px solid ${i}`,iconColor:t,iconColorInfo:o,iconColorError:r,iconColorSuccess:n,iconColorWarning:i,titleTextColor:a,contentTextColor:l,metaTextColor:t,lineColor:s})}},Tooltip:ea,Transfer:{name:"Transfer",common:b,peers:{Checkbox:q,Scrollbar:y,Input:$,Empty:_,Button:N},self(e){let{fontWeight:t,fontSizeLarge:o,fontSizeMedium:r,fontSizeSmall:n,heightLarge:i,heightMedium:a,borderRadius:l,inputColor:s,tableHeaderColor:c,textColor1:u,textColorDisabled:d,textColor2:f,textColor3:p,hoverColor:h,closeColorHover:m,closeColorPressed:g,closeIconColor:b,closeIconColorHover:x,closeIconColorPressed:y,dividerColor:C}=e;return Object.assign(Object.assign({},eG),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:i,fontSizeSmall:n,fontSizeMedium:r,fontSizeLarge:o,borderRadius:l,dividerColor:C,borderColor:"#0000",listColor:s,headerColor:c,titleTextColor:u,titleTextColorDisabled:d,extraTextColor:p,extraTextColorDisabled:d,itemTextColor:f,itemTextColorDisabled:d,itemColorPending:h,titleFontWeight:t,closeColorHover:m,closeColorPressed:g,closeIconColor:b,closeIconColorHover:x,closeIconColorPressed:y})}},Tree:eJ,TreeSelect:{name:"TreeSelect",common:b,peers:{Tree:eJ,Empty:_,InternalSelection:V}},Typography:{name:"Typography",common:b,self:function(e){let{primaryColor:t,textColor2:o,borderColor:r,lineHeight:n,fontSize:i,borderRadiusSmall:a,dividerColor:l,fontWeightStrong:s,textColor1:c,textColor3:u,infoColor:d,warningColor:f,errorColor:p,successColor:h,codeColor:m}=e;return Object.assign(Object.assign({},eK),{aTextColor:t,blockquoteTextColor:o,blockquotePrefixColor:r,blockquoteLineHeight:n,blockquoteFontSize:i,codeBorderRadius:a,liTextColor:o,liLineHeight:n,liFontSize:i,hrColor:l,headerFontWeight:s,headerTextColor:c,pTextColor:o,pTextColor1Depth:c,pTextColor2Depth:o,pTextColor3Depth:u,pLineHeight:n,pFontSize:i,headerBarColor:t,headerBarColorPrimary:t,headerBarColorInfo:d,headerBarColorError:p,headerBarColorWarning:f,headerBarColorSuccess:h,textColor:o,textColor1Depth:c,textColor2Depth:o,textColor3Depth:u,textColorPrimary:t,textColorInfo:d,textColorSuccess:h,textColorWarning:f,textColorError:p,codeTextColor:o,codeColor:m,codeBorder:"1px solid #0000"})}},Upload:{name:"Upload",common:b,peers:{Button:N,Progress:eB},self(e){let{errorColor:t}=e,o=(0,eQ.m)(e);return o.itemColorHoverError=(0,r.zX)(t,{alpha:.09}),o}},Watermark:{name:"Watermark",common:b,self(e){let{fontFamily:t}=e;return{fontFamily:t}}},Split:{name:"Split",common:b},FloatButton:{name:"FloatButton",common:b,self(e){let{popoverColor:t,textColor2:o,buttonColor2Hover:r,buttonColor2Pressed:n,primaryColor:i,primaryColorHover:a,primaryColorPressed:l,baseColor:s,borderRadius:c}=e;return{color:t,textColor:o,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)",colorHover:r,colorPressed:n,colorPrimary:i,colorPrimaryHover:a,colorPrimaryPressed:l,textColorPrimary:s,borderRadiusSquare:c}}},FloatButtonGroup:{name:"FloatButtonGroup",common:b,self(e){let{popoverColor:t,dividerColor:o,borderRadius:r}=e;return{color:t,buttonBorderColor:o,borderRadiusSquare:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}}},Marquee:{name:"Marquee",common:b,self:function(){return{}}}}},61007:function(e,t,o){o.d(t,{m:()=>c,Z:()=>u});var r=o(50957),n=o(56946),i=o(9798),a=o(8968),l=o(34534);let s={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"};function c(e){let{popoverColor:t,textColor2:o,primaryColor:r,hoverColor:n,dividerColor:i,opacityDisabled:a,boxShadow2:l,borderRadius:c,iconColor:u,iconColorDisabled:d}=e;return Object.assign(Object.assign({},s),{panelColor:t,panelBoxShadow:l,panelDividerColor:i,itemTextColor:o,itemTextColorActive:r,itemColorHover:n,itemOpacityDisabled:a,itemBorderRadius:c,borderRadius:c,iconColor:u,iconColorDisabled:d})}let u=(0,n.j)({name:"TimePicker",common:i.Z,peers:{Scrollbar:r.Z,Button:a.Z,Input:l.Z},self:c})},43742:function(e,t,o){o.d(t,{Z:()=>r});let r={padding:"8px 14px"}},44108:function(e,t,o){o.d(t,{Z:()=>s});var r=o(19595),n=o(56946),i=o(9798),a=o(27422),l=o(43742);let s=(0,n.j)({name:"Tooltip",common:i.Z,peers:{Popover:a.Z},self:function(e){let{borderRadius:t,boxShadow2:o,baseColor:n}=e;return Object.assign(Object.assign({},l.Z),{borderRadius:t,boxShadow:o,color:(0,r.h$)(n,"rgba(0, 0, 0, .85)"),textColor:n})}})},86524:function(e,t,o){o.d(t,{Z:()=>c,m:()=>s});var r=o(19595),n=o(56946),i=o(9798),a=o(8968),l=o(52496);function s(e){let{iconColor:t,primaryColor:o,errorColor:n,textColor2:i,successColor:a,opacityDisabled:l,actionColor:s,borderColor:c,hoverColor:u,lineHeight:d,borderRadius:f,fontSize:p}=e;return{fontSize:p,lineHeight:d,borderRadius:f,draggerColor:s,draggerBorder:`1px dashed ${c}`,draggerBorderHover:`1px dashed ${o}`,itemColorHover:u,itemColorHoverError:(0,r.zX)(n,{alpha:.06}),itemTextColor:i,itemTextColorError:n,itemTextColorSuccess:a,itemIconColor:t,itemDisabledOpacity:l,itemBorderImageCardError:`1px solid ${n}`,itemBorderImageCard:`1px solid ${c}`}}let c=(0,n.j)({name:"Upload",common:i.Z,peers:{Button:a.Z,Progress:l.Z},self:s})},57953:function(e,t,o){o.d(t,{Z:()=>f});let r=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,n=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,i=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function a(e,t){var o;return"__proto__"===e||"constructor"===e&&t&&"object"==typeof t&&"prototype"in t?void(o=e,console.warn(`[destr] Dropping "${o}" key to prevent prototype pollution.`)):t}function l(e,t,o){if(0===o.length)return t;let r=o[0];return(o.length>1&&(t=l("object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,r)?e[r]:Number.isInteger(Number(o[1]))?[]:{},t,Array.prototype.slice.call(o,1))),Number.isInteger(Number(r))&&Array.isArray(e))?e.slice()[r]:Object.assign({},e,{[r]:t})}function s(e,t){return t.map(e=>e.split(".")).map(t=>[t,function(e,t){if(null==e)return;let o=e;for(let e=0;e<t.length;e++){if(null==o||null==o[t[e]])return;o=o[t[e]]}return o}(e,t)]).filter(e=>void 0!==e[1]).reduce((e,t)=>l(e,t[1],t[0]),{})}function c(e,t){return t.map(e=>e.split(".")).reduce((e,t)=>(function e(t,o){if(null==t||0===o.length)return t;if(1===o.length){if(null==t)return t;if(Number.isInteger(o[0])&&Array.isArray(t))return Array.prototype.slice.call(t,0).splice(o[0],1);let e={};for(let o in t)e[o]=t[o];return delete e[o[0]],e}if(null==t[o[0]]){if(Number.isInteger(o[0])&&Array.isArray(t))return Array.prototype.concat.call([],t);let e={};for(let o in t)e[o]=t[o];return e}return l(t,e(t[o[0]],Array.prototype.slice.call(o,1)),[o[0]])})(e,t),e)}function u(e,{storage:t,serializer:o,key:r,debug:n,pick:i,omit:a,beforeHydrate:l,afterHydrate:d},f,p=!0){try{p&&l?.(f);let n=t.getItem(r);if(n){let t=o.deserialize(n),r=i?s(t,i):t,l=a?c(r,a):r;e.$patch(l)}p&&d?.(f)}catch(e){n&&console.error("[pinia-plugin-persistedstate]",e)}}function d(e,{storage:t,serializer:o,key:r,debug:n,pick:i,omit:a}){try{let n=i?s(e,i):e,l=a?c(n,a):n,u=o.serialize(l);t.setItem(r,u)}catch(e){n&&console.error("[pinia-plugin-persistedstate]",e)}}var f=function(e={}){return function(t){!function(e,t,o){let{pinia:r,store:n,options:{persist:i=o}}=e;if(!i)return;if(!(n.$id in r.state.value)){let e=r._s.get(n.$id.replace("__hot:",""));e&&Promise.resolve().then(()=>e.$persist());return}let a=(Array.isArray(i)?i:!0===i?[{}]:[i]).map(t);n.$hydrate=({runHooks:t=!0}={})=>{a.forEach(o=>{u(n,o,e,t)})},n.$persist=()=>{a.forEach(e=>{d(n.$state,e)})},a.forEach(t=>{u(n,t,e),n.$subscribe((e,o)=>d(o,t),{detached:!0})})}(t,o=>({key:(e.key?e.key:e=>e)(o.key??t.store.$id),debug:o.debug??e.debug??!1,serializer:o.serializer??e.serializer??{serialize:e=>JSON.stringify(e),deserialize:e=>(function(e,t={}){if("string"!=typeof e)return e;if('"'===e[0]&&'"'===e[e.length-1]&&-1===e.indexOf("\\"))return e.slice(1,-1);let o=e.trim();if(o.length<=9)switch(o.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!i.test(e)){if(t.strict)throw SyntaxError("[destr] Invalid JSON");return e}try{if(r.test(e)||n.test(e)){if(t.strict)throw Error("[destr] Possible prototype pollution");return JSON.parse(e,a)}return JSON.parse(e)}catch(o){if(t.strict)throw o;return e}})(e)},storage:o.storage??e.storage??window.localStorage,beforeHydrate:o.beforeHydrate,afterHydrate:o.afterHydrate,pick:o.pick,omit:o.omit}),e.auto??!1)}}()},30989:function(e,t,o){let r;o.d(t,{Jk:()=>O,Q_:()=>M,WB:()=>y});var n,i,a=o(58786);let l=e=>r=e,s=Symbol();function c(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}(n=i||(i={})).direct="direct",n.patchObject="patch object",n.patchFunction="patch function";let u="undefined"!=typeof window,d="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:"object"==typeof globalThis?globalThis:{HTMLElement:null};function f(e,t,o){let r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){b(r.response,t,o)},r.onerror=function(){console.error("could not download file")},r.send()}function p(e){let t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function h(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(o){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window,detail:0,screenX:80,screenY:20,clientX:80,clientY:20,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});e.dispatchEvent(t)}}let m="object"==typeof navigator?navigator:{userAgent:""},g=/Macintosh/.test(m.userAgent)&&/AppleWebKit/.test(m.userAgent)&&!/Safari/.test(m.userAgent),b=u?"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!g?function(e,t="download",o){let r=document.createElement("a");r.download=t,r.rel="noopener","string"==typeof e?(r.href=e,r.origin!==location.origin?p(r.href)?f(e,t,o):(r.target="_blank",h(r)):h(r)):(r.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(r.href)},4e4),setTimeout(function(){h(r)},0))}:"msSaveOrOpenBlob"in m?function(e,t="download",o){if("string"==typeof e)if(p(e))f(e,t,o);else{let t=document.createElement("a");t.href=e,t.target="_blank",setTimeout(function(){h(t)})}else navigator.msSaveOrOpenBlob(function(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,o),t)}:function(e,t,o,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof e)return f(e,t,o);let n="application/octet-stream"===e.type,i=/constructor/i.test(String(d.HTMLElement))||"safari"in d,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||n&&i||g)&&"undefined"!=typeof FileReader){let t=new FileReader;t.onloadend=function(){let e=t.result;if("string"!=typeof e)throw r=null,Error("Wrong reader.result type");e=a?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=e:location.assign(e),r=null},t.readAsDataURL(e)}else{let t=URL.createObjectURL(e);r?r.location.assign(t):location.href=t,r=null,setTimeout(function(){URL.revokeObjectURL(t)},4e4)}}:()=>{},{assign:x}=Object;function y(){let e=(0,a.B)(!0),t=e.run(()=>(0,a.iH)({})),o=[],r=[],n=(0,a.Xl)({install(e){l(n),n._a=e,e.provide(s,n),e.config.globalProperties.$pinia=n,r.forEach(e=>o.push(e)),r=[]},use(e){return this._a?o.push(e):r.push(e),this},_p:o,_a:null,_e:e,_s:new Map,state:t});return n}let C=()=>{};function w(e,t,o,r=C){e.push(t);let n=()=>{let o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!o&&(0,a.nZ)()&&(0,a.EB)(n),n}function S(e,...t){e.slice().forEach(e=>{e(...t)})}let _=e=>e(),E=Symbol(),T=Symbol();function P(e,t){for(let o in e instanceof Map&&t instanceof Map?t.forEach((t,o)=>e.set(o,t)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e),t){if(!t.hasOwnProperty(o))continue;let r=t[o],n=e[o];c(n)&&c(r)&&e.hasOwnProperty(o)&&!(0,a.dq)(r)&&!(0,a.PG)(r)?e[o]=P(n,r):e[o]=r}return e}let $=Symbol(),{assign:F}=Object;function k(e,t,o={},r,n,s){let u,d,f,p,h,m=F({actions:{}},o),g={deep:!0},b=[],x=[],y=r.state.value[e];function M(t){let o;d=f=!1,"function"==typeof t?(t(r.state.value[e]),o={type:i.patchFunction,storeId:e,events:p}):(P(r.state.value[e],t),o={type:i.patchObject,payload:t,storeId:e,events:p});let n=h=Symbol();(0,a.Y3)().then(()=>{h===n&&(d=!0)}),f=!0,S(b,o,r.state.value[e])}s||y||(r.state.value[e]={}),(0,a.iH)({});let O=s?function(){let{state:e}=o,t=e?e():{};this.$patch(e=>{F(e,t)})}:C,I=(t,o="")=>{if(E in t)return t[T]=o,t;let n=function(){let o;l(r);let i=Array.from(arguments),a=[],s=[];S(x,{args:i,name:n[T],store:A,after:function(e){a.push(e)},onError:function(e){s.push(e)}});try{o=t.apply(this&&this.$id===e?this:A,i)}catch(e){throw S(s,e),e}return o instanceof Promise?o.then(e=>(S(a,e),e)).catch(e=>(S(s,e),Promise.reject(e))):(S(a,o),o)};return n[E]=!0,n[T]=o,n},L={_p:r,$id:e,$onAction:w.bind(null,x),$patch:M,$reset:O,$subscribe(t,o={}){let n=w(b,t,o.detached,()=>l()),l=u.run(()=>(0,a.YP)(()=>r.state.value[e],r=>{("sync"===o.flush?f:d)&&t({storeId:e,type:i.direct,events:p},r)},F({},g,o)));return n},$dispose:function(){u.stop(),b=[],x=[],r._s.delete(e)}},A=(0,a.qj)(L);r._s.set(e,A);let z=(r._a&&r._a.runWithContext||_)(()=>r._e.run(()=>(u=(0,a.B)()).run(()=>t({action:I}))));for(let t in z){let o=z[t];if((0,a.dq)(o)&&(!(0,a.dq)(o)||!o.effect)||(0,a.PG)(o))s||(!y||c(o)&&Object.prototype.hasOwnProperty.call(o,$)||((0,a.dq)(o)?o.value=y[t]:P(o,y[t])),r.state.value[e][t]=o);else if("function"==typeof o){let e=I(o,t);z[t]=e,m.actions[t]=o}}return F(A,z),F((0,a.IU)(A),z),Object.defineProperty(A,"$state",{get:()=>r.state.value[e],set:e=>{M(t=>{F(t,e)})}}),r._p.forEach(e=>{F(A,u.run(()=>e({store:A,app:r._a,pinia:r,options:m})))}),y&&s&&o.hydrate&&o.hydrate(A.$state,y),d=!0,f=!0,A}function M(e,t,o){let n,i="function"==typeof t;function c(o,c){let u=(0,a.EM)();return(o=o||(u?(0,a.f3)(s,null):null))&&l(o),(o=r)._s.has(e)||(i?k(e,t,n,o):function(e,t,o,r){let{state:n,actions:i,getters:s}=t,c=o.state.value[e];k(e,function(){return c||(o.state.value[e]=n?n():{}),F((0,a.BK)(o.state.value[e]),i,Object.keys(s||{}).reduce((t,r)=>(t[r]=(0,a.Xl)((0,a.Fl)(()=>{l(o);let t=o._s.get(e);return s[r].call(t,t)})),t),{}))},t,o,void 0,!0)}(e,n,o)),o._s.get(e)}return n=i?o:t,c.$id=e,c}function O(e){let t=(0,a.IU)(e),o={};for(let r in t){let n=t[r];n.effect?o[r]=(0,a.Fl)({get:()=>e[r],set(t){e[r]=t}}):((0,a.dq)(n)||(0,a.PG)(n))&&(o[r]=(0,a.Vh)(e,r))}return o}},52495:function(e,t,o){let r,n,i,a,l;o.d(t,{QT:()=>tC,o:()=>ty});let s="undefined"!=typeof window,c=(e,t=!1)=>t?Symbol.for(e):Symbol(e),u=(e,t,o)=>d({l:e,k:t,s:o}),d=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),f=e=>"number"==typeof e&&isFinite(e),p=e=>"[object Date]"===M(e),h=e=>"[object RegExp]"===M(e),m=e=>O(e)&&0===Object.keys(e).length,g=Object.assign,b=Object.create,x=(e=null)=>b(e),y=()=>r||(r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:x());function C(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}let w=Object.prototype.hasOwnProperty;function S(e,t){return w.call(e,t)}let _=Array.isArray,E=e=>"function"==typeof e,T=e=>"string"==typeof e,P=e=>"boolean"==typeof e,$=e=>null!==e&&"object"==typeof e,F=e=>$(e)&&E(e.then)&&E(e.catch),k=Object.prototype.toString,M=e=>k.call(e),O=e=>"[object Object]"===M(e);function I(e,t=""){return e.reduce((e,o,r)=>0===r?e+o:e+t+o,"")}function L(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}let A=e=>!$(e)||_(e);function z(e,t){if(A(e)||A(t))throw Error("Invalid value");let o=[{src:e,des:t}];for(;o.length;){let{src:e,des:t}=o.pop();Object.keys(e).forEach(r=>{"__proto__"!==r&&($(e[r])&&!$(t[r])&&(t[r]=Array.isArray(e[r])?[]:x()),A(t[r])||A(e[r])?t[r]=e[r]:o.push({src:e[r],des:t[r]}))})}}function H(e,t,o){let r={start:e,end:t};return null!=o&&(r.source=o),r}let D={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16};function B(e,t,o={}){let{domain:r,messages:n,args:i}=o,a=SyntaxError(String(e));return a.code=e,t&&(a.location=t),a.domain=r,a}function N(e){throw e}D.EXPECTED_TOKEN,D.INVALID_TOKEN_IN_PLACEHOLDER,D.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,D.UNKNOWN_ESCAPE_SEQUENCE,D.INVALID_UNICODE_ESCAPE_SEQUENCE,D.UNBALANCED_CLOSING_BRACE,D.UNTERMINATED_CLOSING_BRACE,D.EMPTY_PLACEHOLDER,D.NOT_ALLOW_NEST_PLACEHOLDER,D.INVALID_LINKED_FORMAT,D.MUST_HAVE_MESSAGES_IN_PLURAL,D.UNEXPECTED_EMPTY_LINKED_MODIFIER,D.UNEXPECTED_EMPTY_LINKED_KEY,D.UNEXPECTED_LEXICAL_ANALYSIS,D.UNHANDLED_CODEGEN_NODE_TYPE,D.UNHANDLED_MINIFIER_NODE_TYPE;let Z=String.fromCharCode(8232),j=String.fromCharCode(8233),W=void 0,R=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Y(e,t,o){switch(e){case"\\\\":return"\\";case"\\\\'":return"'";default:{let e=parseInt(t||o,16);if(e<=55295||e>=57344)return String.fromCodePoint(e);return"�"}}}function U(e){if(13===e.type)return"EOF";let t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function X(e,t){for(let o=0;o<e.length;o++)V(e[o],t)}function V(e,t){switch(e.type){case 1:X(e.cases,t),t.helper("plural");break;case 2:X(e.items,t);break;case 6:V(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named")}}function G(e){if(1===e.items.length){let t=e.items[0];(3===t.type||9===t.type)&&(e.static=t.value,delete t.value)}else{let t=[];for(let o=0;o<e.items.length;o++){let r=e.items[o];if(3!==r.type&&9!==r.type||null==r.value)break;t.push(r.value)}if(t.length===e.items.length){e.static=I(t);for(let t=0;t<e.items.length;t++){let o=e.items[t];(3===o.type||9===o.type)&&delete o.value}}}}let q=(e,t={})=>{let o=T(t.mode)?t.mode:"normal",r=T(t.filename)?t.filename:"message.intl",n=!!t.sourceMap,i=null!=t.breakLineCode?t.breakLineCode:"arrow"===o?";":"\n",a=t.needIndent?t.needIndent:"arrow"!==o,l=e.helpers||[],s=function(e,t){let{sourceMap:o,filename:r,breakLineCode:n,needIndent:i}=t,a=!1!==t.location,l={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:n,needIndent:i,indentLevel:0};function s(e,t){l.code+=e}function c(e,t=!0){let o=t?n:"";s(i?o+" ".repeat(e):o)}return a&&e.loc&&(l.source=e.loc.source),{context:()=>l,push:s,indent:function(e=!0){let t=++l.indentLevel;e&&c(t)},deindent:function(e=!0){let t=--l.indentLevel;e&&c(t)},newline:function(){c(l.indentLevel)},helper:e=>`_${e}`,needIndent:()=>l.needIndent}}(e,{mode:o,filename:r,sourceMap:n,breakLineCode:i,needIndent:a});s.push("normal"===o?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(a),l.length>0&&(s.push(`const { ${I(l.map(e=>`${e}: _${e}`),", ")} } = ctx`),s.newline()),s.push("return "),function e(t,o){let{helper:r}=t;switch(o.type){case 0:o.body?e(t,o.body):t.push("null");break;case 1:let{helper:n,needIndent:i}=t;if(o.cases.length>1){t.push(`${n("plural")}([`),t.indent(i());let r=o.cases.length;for(let n=0;n<r&&(e(t,o.cases[n]),n!==r-1);n++)t.push(", ");t.deindent(i()),t.push("])")}break;case 2:let{helper:a,needIndent:l}=t;t.push(`${a("normalize")}([`),t.indent(l());let s=o.items.length;for(let r=0;r<s&&(e(t,o.items[r]),r!==s-1);r++)t.push(", ");t.deindent(l()),t.push("])");break;case 6:let{helper:c}=t;t.push(`${c("linked")}(`),e(t,o.key),o.modifier?(t.push(", "),e(t,o.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")");break;case 8:case 7:case 9:case 3:t.push(JSON.stringify(o.value),o);break;case 5:t.push(`${r("interpolate")}(${r("list")}(${o.index}))`,o);break;case 4:t.push(`${r("interpolate")}(${r("named")}(${JSON.stringify(o.key)}))`,o)}}(s,e),s.deindent(a),s.push("}"),delete e.helpers;let{code:c,map:u}=s.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function J(e){return $(e)&&0===ea(e,eo)&&(S(e,"b")||S(e,"body"))}let K=["b","body"],Q=["c","cases"],ee=["s","static"],et=["i","items"],eo=["t","type"],er=["v","value"],en=["m","modifier"],ei=["k","key"];function ea(e,t,o){for(let o=0;o<t.length;o++){let r=t[o];if(S(e,r)&&null!=e[r])return e[r]}return o}let el=[...K,...Q,...ee,...et,...ei,...en,...er,...eo];function es(e){return Error(`unhandled node type: ${e}`)}function ec(e){return t=>(function(e,t){let o=ea(t,K);if(null==o)throw es(0);if(1!==ea(o,eo))return eu(e,o);{let t=ea(o,Q,[]);return e.plural(t.reduce((t,o)=>[...t,eu(e,o)],[]))}})(t,e)}function eu(e,t){let o=ea(t,ee);if(null!=o)return"text"===e.type?o:e.normalize([o]);{let o=ea(t,et,[]).reduce((t,o)=>[...t,function e(t,o){let r=ea(o,eo);switch(r){case 3:case 9:case 7:case 8:let n=ea(o,er);if(null!=n)return n;throw es(r);case 4:if(S(o,"k")&&o.k)return t.interpolate(t.named(o.k));if(S(o,"key")&&o.key)return t.interpolate(t.named(o.key));throw es(r);case 5:if(S(o,"i")&&f(o.i))return t.interpolate(t.list(o.i));if(S(o,"index")&&f(o.index))return t.interpolate(t.list(o.index));throw es(r);case 6:{let r=ea(o,en),n=function(e){let t=ea(e,ei);if(t)return t;throw es(6)}(o);return t.linked(e(t,n),r?e(t,r):void 0,t.type)}default:throw Error(`unhandled node on format message part: ${r}`)}}(e,o)],[]);return e.normalize(o)}}let ed=e=>e,ef=x(),ep=null,eh=(e2="function:translate",e=>ep&&ep.emit(e2,e)),em={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23};function eg(e){return B(e,null,void 0)}function ev(e,t){return null!=t.locale?eb(t.locale):eb(e.locale)}function eb(e){if(T(e))return e;if(E(e))if(e.resolvedOnce&&null!=n)return n;else if("Function"===e.constructor.name){let t=e();if(F(t))throw eg(em.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return n=t}else throw eg(em.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);throw eg(em.NOT_SUPPORT_LOCALE_TYPE)}function ex(e,t,o){return[...new Set([o,..._(t)?t:$(t)?Object.keys(t):T(t)?[t]:[o]])]}function ey(e,t,o){let r=T(o)?o:eT;e.__localeChainCache||(e.__localeChainCache=new Map);let n=e.__localeChainCache.get(r);if(!n){n=[];let i=[o];for(;_(i);)i=eC(n,i,t);let a=_(t)||!O(t)?t:t.default?t.default:null;_(i=T(a)?[a]:a)&&eC(n,i,!1),e.__localeChainCache.set(r,n)}return n}function eC(e,t,o){let r=!0;for(let n=0;n<t.length&&P(r);n++)T(t[n])&&(r=function(e,t,o){let r,n=t.split("-");do r=function(e,t,o){let r=!1;if(!e.includes(t)&&(r=!0,t)){r="!"!==t[t.length-1];let n=t.replace(/!/g,"");e.push(n),(_(o)||O(o))&&o[n]&&(r=o[n])}return r}(e,n.join("-"),o),n.splice(-1,1);while(n.length&&!0===r);return r}(e,t[n],o));return r}em.INVALID_ARGUMENT,em.INVALID_DATE_ARGUMENT,em.INVALID_ISO_DATE_ARGUMENT,em.NOT_SUPPORT_NON_STRING_MESSAGE,em.NOT_SUPPORT_LOCALE_PROMISE_VALUE,em.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,em.NOT_SUPPORT_LOCALE_TYPE;let ew=[];ew[0]={w:[0],i:[3,0],"[":[4],o:[7]},ew[1]={w:[1],".":[2],"[":[4],o:[7]},ew[2]={w:[2],i:[3,0],0:[3,0]},ew[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},ew[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},ew[5]={"'":[4,0],o:8,l:[5,0]},ew[6]={'"':[4,0],o:8,l:[6,0]};let eS=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/,e_=new Map;function eE(e,t){return $(e)?e[t]:null}let eT="en-US",eP=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`,e$=()=>null,eF=null,ek=e=>{eF=e},eM=()=>eF,eO=0,eI=e=>({[e]:x()});function eL(e,t,o,r,n){let{missing:i,onWarn:a}=e;if(null===i)return t;{let r=i(e,o,t,n);return T(r)?r:t}}function eA(e,t,o){e.__localeChainCache=new Map,e.localeFallbacker(e,o,t)}let ez="undefined"!=typeof Intl;function eH(e,...t){let o,{datetimeFormats:r,unresolving:n,fallbackLocale:i,onWarn:a,localeFallbacker:l}=e,{__datetimeFormatters:s}=e,[c,u,d,f]=eB(...t),p=P(d.missingWarn)?d.missingWarn:e.missingWarn;P(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;let h=!!d.part,b=ev(e,d),x=l(e,i,b);if(!T(c)||""===c)return new Intl.DateTimeFormat(b,f).format(u);let y={},C=null;for(let t=0;t<x.length&&!O(C=(r[o=x[t]]||{})[c]);t++){;eL(e,c,o,p,"datetime format")}if(!O(C)||!T(o))return n?-1:c;let w=`${o}__${c}`;m(f)||(w=`${w}__${JSON.stringify(f)}`);let S=s.get(w);return S||(S=new Intl.DateTimeFormat(o,g({},C,f)),s.set(w,S)),h?S.formatToParts(u):S.format(u)}ez&&Intl.DateTimeFormat,ez&&Intl.NumberFormat;let eD=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function eB(...e){let t,[o,r,n,i]=e,a=x(),l=x();if(T(o)){let e=o.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw eg(em.INVALID_ISO_DATE_ARGUMENT);t=new Date(e[3]?e[3].trim().startsWith("T")?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim());try{t.toISOString()}catch{throw eg(em.INVALID_ISO_DATE_ARGUMENT)}}else if(p(o)){if(isNaN(o.getTime()))throw eg(em.INVALID_DATE_ARGUMENT);t=o}else if(f(o))t=o;else throw eg(em.INVALID_ARGUMENT);return T(r)?a.key=r:O(r)&&Object.keys(r).forEach(e=>{eD.includes(e)?l[e]=r[e]:a[e]=r[e]}),T(n)?a.locale=n:O(n)&&(l=n),O(i)&&(l=i),[a.key||"",t,a,l]}function eN(e,t,o){for(let r in o){let o=`${t}__${r}`;e.__datetimeFormatters.has(o)&&e.__datetimeFormatters.delete(o)}}function eZ(e,...t){let o,{numberFormats:r,unresolving:n,fallbackLocale:i,onWarn:a,localeFallbacker:l}=e,{__numberFormatters:s}=e,[c,u,d,f]=eW(...t),p=P(d.missingWarn)?d.missingWarn:e.missingWarn;P(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;let h=!!d.part,b=ev(e,d),x=l(e,i,b);if(!T(c)||""===c)return new Intl.NumberFormat(b,f).format(u);let y={},C=null;for(let t=0;t<x.length&&!O(C=(r[o=x[t]]||{})[c]);t++){;eL(e,c,o,p,"number format")}if(!O(C)||!T(o))return n?-1:c;let w=`${o}__${c}`;m(f)||(w=`${w}__${JSON.stringify(f)}`);let S=s.get(w);return S||(S=new Intl.NumberFormat(o,g({},C,f)),s.set(w,S)),h?S.formatToParts(u):S.format(u)}let ej=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function eW(...e){let[t,o,r,n]=e,i=x(),a=x();if(!f(t))throw eg(em.INVALID_ARGUMENT);return T(o)?i.key=o:O(o)&&Object.keys(o).forEach(e=>{ej.includes(e)?a[e]=o[e]:i[e]=o[e]}),T(r)?i.locale=r:O(r)&&(a=r),O(n)&&(a=n),[i.key||"",t,i,a]}function eR(e,t,o){for(let r in o){let o=`${t}__${r}`;e.__numberFormatters.has(o)&&e.__numberFormatters.delete(o)}}let eY=e=>e,eU=e=>"",eX=e=>0===e.length?"":I(e),eV=e=>null==e?"":_(e)||O(e)&&e.toString===k?JSON.stringify(e,null,2):String(e);function eG(e,t){return(e=Math.abs(e),2===t)?e?+(e>1):1:e?Math.min(e,2):0}let eq=()=>"",eJ=e=>E(e);function eK(e,...t){var o,r;let{fallbackFormat:n,postTranslation:i,unresolving:a,messageCompiler:l,fallbackLocale:s,messages:c}=e,[u,d]=e1(...t),p=P(d.missingWarn)?d.missingWarn:e.missingWarn,h=P(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,m=P(d.escapeParameter)?d.escapeParameter:e.escapeParameter,b=!!d.resolvedMessage,y=T(d.default)||P(d.default)?P(d.default)?l?u:()=>u:d.default:n?l?u:()=>u:null,w=n||null!=y&&(T(y)||E(y)),S=ev(e,d);m&&(_((o=d).list)?o.list=o.list.map(e=>T(e)?C(e):e):$(o.named)&&Object.keys(o.named).forEach(e=>{T(o.named[e])&&(o.named[e]=C(o.named[e]))}));let[F,k,M]=b?[u,S,c[S]||x()]:eQ(e,u,S,s,h,p),I=F,L=u;if(b||T(I)||J(I)||eJ(I)||!w||(L=I=y),!b&&(!(T(I)||J(I)||eJ(I))||!T(k)))return a?-1:u;let A=!1,z=eJ(I)?I:e0(e,u,k,I,L,()=>{A=!0});if(A)return I;let H=(r=0,z(function(e={}){let t=e.locale,o=function(e){let t=f(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(f(e.named.count)||f(e.named.n))?f(e.named.count)?e.named.count:f(e.named.n)?e.named.n:t:t}(e),r=$(e.pluralRules)&&T(t)&&E(e.pluralRules[t])?e.pluralRules[t]:eG,n=$(e.pluralRules)&&T(t)&&E(e.pluralRules[t])?eG:void 0,i=e.list||[],a=e.named||x();function l(t,o){return(E(e.messages)?e.messages(t,!!o):!!$(e.messages)&&e.messages[t])||(e.parent?e.parent.message(t):eU)}f(e.pluralIndex)&&(a.count||(a.count=o),a.n||(a.n=o));let s=t=>e.modifiers?e.modifiers[t]:eY,c=O(e.processor)&&E(e.processor.normalize)?e.processor.normalize:eX,u=O(e.processor)&&E(e.processor.interpolate)?e.processor.interpolate:eV,d={list:e=>i[e],named:e=>a[e],plural:e=>e[r(o,e.length,n)],linked:(e,...t)=>{let[o,r]=t,n="text",i="";1===t.length?$(o)?(i=o.modifier||i,n=o.type||n):T(o)&&(i=o||i):2===t.length&&(T(o)&&(i=o||i),T(r)&&(n=r||n));let a=l(e,!0)(d),c="vnode"===n&&_(a)&&i?a[0]:a;return i?s(i)(c,n):c},message:l,type:O(e.processor)&&T(e.processor.type)?e.processor.type:"text",interpolate:u,normalize:c,values:g(x(),i,a)};return d}(function(e,t,o,r){let{modifiers:n,pluralRules:i,messageResolver:a,fallbackLocale:l,fallbackWarn:s,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:n,pluralRules:i,messages:(r,n)=>{let i=a(o,r);if(null==i&&(u||n)){let[,,o]=eQ(u||e,r,t,l,s,c);i=a(o,r)}if(T(i)||J(i)){let o=!1,n=e0(e,r,t,i,r,()=>{o=!0});return o?eq:n}return eJ(i)?i:eq}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),f(r.plural)&&(d.pluralIndex=r.plural),d}(e,k,M,d)))),D=i?i(H,u):H;if(__INTLIFY_PROD_DEVTOOLS__){let t={timestamp:Date.now(),key:T(u)?u:eJ(I)?I.key:"",locale:k||(eJ(I)?I.locale:""),format:T(I)?I:eJ(I)?I.source:"",message:D};t.meta=g({},e.__meta,e$()||{}),eh(t)}return D}function eQ(e,t,o,r,n,i){let a,{messages:l,onWarn:s,messageResolver:c,localeFallbacker:u}=e,d=u(e,r,o),f=x(),p=null;for(let o=0;o<d.length&&(null===(p=c(f=l[a=d[o]]||x(),t))&&(p=f[t]),!(T(p)||J(p)||eJ(p)));o++){;if(!function(e,t){let o=t.indexOf(e);if(-1===o)return!1;for(let n=o+1;n<t.length;n++){var r;if(e!==(r=t[n])&&e.split("-")[0]===r.split("-")[0])return!0}return!1}(a,d)){let o=eL(e,t,a,i,"translate");o!==t&&(p=o)}}return[p,a,f]}function e0(e,t,o,r,n,i){var a,l,s,c,d,f;let{messageCompiler:p,warnHtmlMessage:h}=e;if(eJ(r))return r.locale=r.locale||o,r.key=r.key||t,r;if(null==p){let e=()=>r;return e.locale=o,e.key=t,e}let m=p(r,(a=0,l=o,s=n,c=0,d=h,f=i,{locale:l,key:s,warnHtmlMessage:d,onError:e=>{throw f&&f(e),e},onCacheKey:e=>u(l,s,e)}));return m.locale=o,m.key=t,m.source=r,m}function e1(...e){let[t,o,r]=e,n=x();if(!T(t)&&!f(t)&&!eJ(t)&&!J(t))throw eg(em.INVALID_ARGUMENT);let i=f(t)?String(t):(eJ(t),t);return f(o)?n.plural=o:T(o)?n.default=o:O(o)&&!m(o)?n.named=o:_(o)&&(n.list=o),f(r)?n.plural=r:T(r)?n.default=r:O(r)&&g(n,r),[i,n]}"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(y().__INTLIFY_PROD_DEVTOOLS__=!1),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(y().__INTLIFY_DROP_MESSAGE_COMPILER__=!1);var e2,e5=o(58786);let e8={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function e3(e,...t){return B(e,null,void 0)}e8.UNEXPECTED_RETURN_TYPE,e8.INVALID_ARGUMENT,e8.MUST_BE_CALL_SETUP_TOP,e8.NOT_INSTALLED,e8.UNEXPECTED_ERROR,e8.REQUIRED_VALUE,e8.INVALID_VALUE,e8.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,e8.NOT_INSTALLED_WITH_PROVIDE,e8.NOT_COMPATIBLE_LEGACY_VUE_I18N,e8.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;let e6=c("__translateVNode"),e4=c("__datetimeParts"),e9=c("__numberParts"),e7=c("__setPluralRules");c("__intlifyMeta");let te=c("__injectWithOption"),tt=c("__dispose");function to(e){if(!$(e)||J(e))return e;for(let t in e)if(S(e,t))if(t.includes(".")){let o=t.split("."),r=o.length-1,n=e,i=!1;for(let e=0;e<r;e++){if("__proto__"===o[e])throw Error(`unsafe key: ${o[e]}`);if(o[e]in n||(n[o[e]]=x()),!$(n[o[e]])){i=!0;break}n=n[o[e]]}if(!i&&(J(n)?el.includes(o[r])||delete e[t]:(n[o[r]]=e[t],delete e[t])),!J(n)){let e=n[o[r]];$(e)&&to(e)}}else $(e[t])&&to(e[t]);return e}function tr(e,t){let{messages:o,__i18n:r,messageResolver:n,flatJson:i}=t,a=O(o)?o:_(r)?x():{[e]:x()};if(_(r)&&r.forEach(e=>{if("locale"in e&&"resource"in e){let{locale:t,resource:o}=e;t?(a[t]=a[t]||x(),z(o,a[t])):z(o,a)}else T(e)&&z(JSON.parse(e),a)}),null==n&&i)for(let e in a)S(a,e)&&to(a[e]);return a}function tn(e,t,o){let r=$(t.messages)?t.messages:x();"__i18nGlobal"in o&&(r=tr(e.locale.value,{messages:r,__i18n:o.__i18nGlobal}));let n=Object.keys(r);if(n.length&&n.forEach(t=>{e.mergeLocaleMessage(t,r[t])}),$(t.datetimeFormats)){let o=Object.keys(t.datetimeFormats);o.length&&o.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if($(t.numberFormats)){let o=Object.keys(t.numberFormats);o.length&&o.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}function ti(e){return(0,e5.Wm)(e5.xv,null,e,0)}let ta=()=>[],tl=()=>!1,ts=0;function tc(e){return(t,o,r,n)=>e(o,r,(0,e5.FN)()||void 0,n)}function tu(e={}){let t,{__root:o,__injectWithOption:r}=e,n=void 0===o,c=e.flatJson,u=s?e5.iH:e5.XI,d=!P(e.inheritLocale)||e.inheritLocale,p=u(o&&d?o.locale.value:T(e.locale)?e.locale:eT),m=u(o&&d?o.fallbackLocale.value:T(e.fallbackLocale)||_(e.fallbackLocale)||O(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:p.value),b=u(tr(p.value,e)),y=u(O(e.datetimeFormats)?e.datetimeFormats:{[p.value]:{}}),C=u(O(e.numberFormats)?e.numberFormats:{[p.value]:{}}),w=o?o.missingWarn:!(P(e.missingWarn)||h(e.missingWarn))||e.missingWarn,F=o?o.fallbackWarn:!(P(e.fallbackWarn)||h(e.fallbackWarn))||e.fallbackWarn,k=o?o.fallbackRoot:!P(e.fallbackRoot)||e.fallbackRoot,M=!!e.fallbackFormat,I=E(e.missing)?e.missing:null,A=E(e.missing)?tc(e.missing):null,H=E(e.postTranslation)?e.postTranslation:null,D=o?o.warnHtmlMessage:!P(e.warnHtmlMessage)||e.warnHtmlMessage,B=!!e.escapeParameter,N=o?o.modifiers:O(e.modifiers)?e.modifiers:{},Z=e.pluralRules||o&&o.pluralRules;eA(t=(()=>{n&&ek(null);let o={version:"11.1.3",locale:p.value,fallbackLocale:m.value,messages:b.value,modifiers:N,pluralRules:Z,missing:null===A?void 0:A,missingWarn:w,fallbackWarn:F,fallbackFormat:M,unresolving:!0,postTranslation:null===H?void 0:H,warnHtmlMessage:D,escapeParameter:B,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};o.datetimeFormats=y.value,o.numberFormats=C.value,o.__datetimeFormatters=O(t)?t.__datetimeFormatters:void 0,o.__numberFormatters=O(t)?t.__numberFormatters:void 0;let r=function(e={}){let t=E(e.onWarn)?e.onWarn:L,o=T(e.version)?e.version:"11.1.3",r=T(e.locale)||E(e.locale)?e.locale:eT,n=E(r)?eT:r,s=_(e.fallbackLocale)||O(e.fallbackLocale)||T(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:n,c=O(e.messages)?e.messages:eI(n),u=O(e.datetimeFormats)?e.datetimeFormats:eI(n),d=O(e.numberFormats)?e.numberFormats:eI(n),f=g(x(),e.modifiers,{upper:(e,t)=>"text"===t&&T(e)?e.toUpperCase():"vnode"===t&&$(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&T(e)?e.toLowerCase():"vnode"===t&&$(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&T(e)?eP(e):"vnode"===t&&$(e)&&"__v_isVNode"in e?eP(e.children):e}),p=e.pluralRules||x(),m=E(e.missing)?e.missing:null,b=!(P(e.missingWarn)||h(e.missingWarn))||e.missingWarn,y=!(P(e.fallbackWarn)||h(e.fallbackWarn))||e.fallbackWarn,C=!!e.fallbackFormat,w=!!e.unresolving,S=E(e.postTranslation)?e.postTranslation:null,F=O(e.processor)?e.processor:null,k=!P(e.warnHtmlMessage)||e.warnHtmlMessage,M=!!e.escapeParameter,I=E(e.messageCompiler)?e.messageCompiler:i,A=E(e.messageResolver)?e.messageResolver:a||eE,z=E(e.localeFallbacker)?e.localeFallbacker:l||ex,H=$(e.fallbackContext)?e.fallbackContext:void 0,D=$(e.__datetimeFormatters)?e.__datetimeFormatters:new Map,B=$(e.__numberFormatters)?e.__numberFormatters:new Map,N=$(e.__meta)?e.__meta:{},Z={version:o,cid:++eO,locale:r,fallbackLocale:s,messages:c,modifiers:f,pluralRules:p,missing:m,missingWarn:b,fallbackWarn:y,fallbackFormat:C,unresolving:w,postTranslation:S,processor:F,warnHtmlMessage:k,escapeParameter:M,messageCompiler:I,messageResolver:A,localeFallbacker:z,fallbackContext:H,onWarn:t,__meta:N};return Z.datetimeFormats=u,Z.numberFormats=d,Z.__datetimeFormatters=D,Z.__numberFormatters=B,__INTLIFY_PROD_DEVTOOLS__&&ep&&ep.emit("i18n:init",{timestamp:Date.now(),i18n:Z,version:o,meta:N}),Z}(o);return n&&ek(r),r})(),p.value,m.value);let j=(0,e5.Fl)({get:()=>p.value,set:e=>{t.locale=e,p.value=e}}),W=(0,e5.Fl)({get:()=>m.value,set:e=>{t.fallbackLocale=e,m.value=e,eA(t,p.value,e)}}),R=(0,e5.Fl)(()=>b.value),Y=(0,e5.Fl)(()=>y.value),U=(0,e5.Fl)(()=>C.value),X=(e,r,i,a,l,s)=>{let c;p.value,m.value,b.value,y.value,C.value;try{__INTLIFY_PROD_DEVTOOLS__,n||(t.fallbackContext=o?eM():void 0),c=e(t)}finally{__INTLIFY_PROD_DEVTOOLS__,n||(t.fallbackContext=void 0)}if("translate exists"!==i&&f(c)&&-1===c||"translate exists"===i&&!c){let[e,t]=r();return o&&k?a(o):l(e)}if(s(c))return c;throw e3(e8.UNEXPECTED_RETURN_TYPE)};function V(...e){return X(t=>Reflect.apply(eK,null,[t,...e]),()=>e1(...e),"translate",t=>Reflect.apply(t.t,t,[...e]),e=>e,e=>T(e))}let G={normalize:function(e){return e.map(e=>T(e)||f(e)||P(e)?ti(String(e)):e)},interpolate:e=>e,type:"vnode"};function q(e){return b.value[e]||{}}ts++,o&&s&&((0,e5.YP)(o.locale,e=>{d&&(p.value=e,t.locale=e,eA(t,p.value,m.value))}),(0,e5.YP)(o.fallbackLocale,e=>{d&&(m.value=e,t.fallbackLocale=e,eA(t,p.value,m.value))}));let K={id:ts,locale:j,fallbackLocale:W,get inheritLocale(){return d},set inheritLocale(val){d=val,val&&o&&(p.value=o.locale.value,m.value=o.fallbackLocale.value,eA(t,p.value,m.value))},get availableLocales(){return Object.keys(b.value).sort()},messages:R,get modifiers(){return N},get pluralRules(){return Z||{}},get isGlobal(){return n},get missingWarn(){return w},set missingWarn(val){w=val,t.missingWarn=w},get fallbackWarn(){return F},set fallbackWarn(val){F=val,t.fallbackWarn=F},get fallbackRoot(){return k},set fallbackRoot(val){k=val},get fallbackFormat(){return M},set fallbackFormat(val){M=val,t.fallbackFormat=M},get warnHtmlMessage(){return D},set warnHtmlMessage(val){D=val,t.warnHtmlMessage=val},get escapeParameter(){return B},set escapeParameter(val){B=val,t.escapeParameter=val},t:V,getLocaleMessage:q,setLocaleMessage:function(e,o){if(c){let t={[e]:o};for(let e in t)S(t,e)&&to(t[e]);o=t[e]}b.value[e]=o,t.messages=b.value},mergeLocaleMessage:function(e,o){b.value[e]=b.value[e]||{};let r={[e]:o};if(c)for(let e in r)S(r,e)&&to(r[e]);z(o=r[e],b.value[e]),t.messages=b.value},getPostTranslationHandler:function(){return E(H)?H:null},setPostTranslationHandler:function(e){H=e,t.postTranslation=e},getMissingHandler:function(){return I},setMissingHandler:function(e){null!==e&&(A=tc(e)),I=e,t.missing=A},[e7]:function(e){Z=e,t.pluralRules=Z}};return K.datetimeFormats=Y,K.numberFormats=U,K.rt=function(...e){let[t,o,r]=e;if(r&&!$(r))throw e3(e8.INVALID_ARGUMENT);return V(t,o,g({resolvedMessage:!0},r||{}))},K.te=function(e,o){return X(()=>{if(!e)return!1;let r=q(T(o)?o:p.value),n=t.messageResolver(r,e);return J(n)||eJ(n)||T(n)},()=>[e],"translate exists",t=>Reflect.apply(t.te,t,[e,o]),tl,e=>P(e))},K.tm=function(e){let r=function(e){let o=null,r=ey(t,m.value,p.value);for(let n=0;n<r.length;n++){let i=b.value[r[n]]||{},a=t.messageResolver(i,e);if(null!=a){o=a;break}}return o}(e);return null!=r?r:o&&o.tm(e)||{}},K.d=function(...e){return X(t=>Reflect.apply(eH,null,[t,...e]),()=>eB(...e),"datetime format",t=>Reflect.apply(t.d,t,[...e]),()=>"",e=>T(e))},K.n=function(...e){return X(t=>Reflect.apply(eZ,null,[t,...e]),()=>eW(...e),"number format",t=>Reflect.apply(t.n,t,[...e]),()=>"",e=>T(e))},K.getDateTimeFormat=function(e){return y.value[e]||{}},K.setDateTimeFormat=function(e,o){y.value[e]=o,t.datetimeFormats=y.value,eN(t,e,o)},K.mergeDateTimeFormat=function(e,o){y.value[e]=g(y.value[e]||{},o),t.datetimeFormats=y.value,eN(t,e,o)},K.getNumberFormat=function(e){return C.value[e]||{}},K.setNumberFormat=function(e,o){C.value[e]=o,t.numberFormats=C.value,eR(t,e,o)},K.mergeNumberFormat=function(e,o){C.value[e]=g(C.value[e]||{},o),t.numberFormats=C.value,eR(t,e,o)},K[te]=r,K[e6]=function(...e){return X(t=>{let o;try{t.processor=G,o=Reflect.apply(eK,null,[t,...e])}finally{t.processor=null}return o},()=>e1(...e),"translate",t=>t[e6](...e),e=>[ti(e)],e=>_(e))},K[e4]=function(...e){return X(t=>Reflect.apply(eH,null,[t,...e]),()=>eB(...e),"datetime format",t=>t[e4](...e),ta,e=>T(e)||_(e))},K[e9]=function(...e){return X(t=>Reflect.apply(eZ,null,[t,...e]),()=>eW(...e),"number format",t=>t[e9](...e),ta,e=>T(e)||_(e))},K}function td(e={}){let t=tu(function(e){let t=T(e.locale)?e.locale:eT,o=T(e.fallbackLocale)||_(e.fallbackLocale)||O(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,r=E(e.missing)?e.missing:void 0,n=!(P(e.silentTranslationWarn)||h(e.silentTranslationWarn))||!e.silentTranslationWarn,i=!(P(e.silentFallbackWarn)||h(e.silentFallbackWarn))||!e.silentFallbackWarn,a=!P(e.fallbackRoot)||e.fallbackRoot,l=!!e.formatFallbackMessages,s=O(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=E(e.postTranslation)?e.postTranslation:void 0,d=!T(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,f=!!e.escapeParameterHtml,p=!P(e.sync)||e.sync,m=e.messages;if(O(e.sharedMessages)){let t=e.sharedMessages;m=Object.keys(t).reduce((e,o)=>(g(e[o]||(e[o]={}),t[o]),e),m||{})}let{__i18n:b,__root:x,__injectWithOption:y}=e,C=e.datetimeFormats,w=e.numberFormats;return{locale:t,fallbackLocale:o,messages:m,flatJson:e.flatJson,datetimeFormats:C,numberFormats:w,missing:r,missingWarn:n,fallbackWarn:i,fallbackRoot:a,fallbackFormat:l,modifiers:s,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:p,__i18n:b,__root:x,__injectWithOption:y}}(e)),{__extender:o}=e,r={id:t.id,get locale(){return t.locale.value},set locale(val){t.locale.value=val},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(val){t.fallbackLocale.value=val},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(handler){t.setMissingHandler(handler)},get silentTranslationWarn(){return P(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(val){t.missingWarn=P(val)?!val:val},get silentFallbackWarn(){return P(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(val){t.fallbackWarn=P(val)?!val:val},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(val){t.fallbackFormat=val},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(handler){t.setPostTranslationHandler(handler)},get sync(){return t.inheritLocale},set sync(val){t.inheritLocale=val},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(val){t.warnHtmlMessage="off"!==val},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(val){t.escapeParameter=val},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t:(...e)=>Reflect.apply(t.t,t,[...e]),rt:(...e)=>Reflect.apply(t.rt,t,[...e]),te:(e,o)=>t.te(e,o),tm:e=>t.tm(e),getLocaleMessage:e=>t.getLocaleMessage(e),setLocaleMessage(e,o){t.setLocaleMessage(e,o)},mergeLocaleMessage(e,o){t.mergeLocaleMessage(e,o)},d:(...e)=>Reflect.apply(t.d,t,[...e]),getDateTimeFormat:e=>t.getDateTimeFormat(e),setDateTimeFormat(e,o){t.setDateTimeFormat(e,o)},mergeDateTimeFormat(e,o){t.mergeDateTimeFormat(e,o)},n:(...e)=>Reflect.apply(t.n,t,[...e]),getNumberFormat:e=>t.getNumberFormat(e),setNumberFormat(e,o){t.setNumberFormat(e,o)},mergeNumberFormat(e,o){t.mergeNumberFormat(e,o)}};return r.__extender=o,r}function tf(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[e7](t.pluralizationRules||e.pluralizationRules);let o=tr(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(o).forEach(t=>e.mergeLocaleMessage(t,o[t])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}let tp={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}},th=(0,e5.aZ)({name:"i18n-t",props:g({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>f(e)||!isNaN(e)}},tp),setup(e,t){let{slots:o,attrs:r}=t,n=e.i18n||tC({useScope:e.scope,__useComponent:!0});return()=>{let i=Object.keys(o).filter(e=>"_"!==e),a=x();e.locale&&(a.locale=e.locale),void 0!==e.plural&&(a.plural=T(e.plural)?+e.plural:e.plural);let l=function({slots:e},t){return 1===t.length&&"default"===t[0]?(e.default?e.default():[]).reduce((e,t)=>[...e,...t.type===e5.HY?t.children:[t]],[]):t.reduce((t,o)=>{let r=e[o];return r&&(t[o]=r()),t},x())}(t,i),s=n[e6](e.keypath,l,a),c=g(x(),r),u=T(e.tag)||$(e.tag)?e.tag:e5.HY;return(0,e5.h)(u,c,s)}}});function tm(e,t,o,r){let{slots:n,attrs:i}=t;return()=>{let t={part:!0},a=x();e.locale&&(t.locale=e.locale),T(e.format)?t.key=e.format:$(e.format)&&(T(e.format.key)&&(t.key=e.format.key),a=Object.keys(e.format).reduce((t,r)=>o.includes(r)?g(x(),t,{[r]:e.format[r]}):t,x()));let l=r(e.value,t,a),s=[t.key];_(l)?s=l.map((e,t)=>{let o=n[e.type],r=o?o({[e.type]:e.value,index:t,parts:l}):[e.value];return _(r)&&!T(r[0])&&(r[0].key=`${e.type}-${t}`),r}):T(l)&&(s=[l]);let c=g(x(),i),u=T(e.tag)||$(e.tag)?e.tag:e5.HY;return(0,e5.h)(u,c,s)}}let tg=(0,e5.aZ)({name:"i18n-n",props:g({value:{type:Number,required:!0},format:{type:[String,Object]}},tp),setup(e,t){let o=e.i18n||tC({useScope:e.scope,__useComponent:!0});return tm(e,t,ej,(...e)=>o[e9](...e))}});function tv(e){if(T(e))return{path:e};if(O(e)){if(!("path"in e))throw e3(e8.REQUIRED_VALUE,"path");return e}throw e3(e8.INVALID_VALUE)}function tb(e){let{path:t,locale:o,args:r,choice:n,plural:i}=e,a={};return T(o)&&(a.locale=o),f(n)&&(a.plural=n),f(i)&&(a.plural=i),[t,r||{},a]}let tx=c("global-vue-i18n");function ty(e={}){let t=__VUE_I18N_LEGACY_API__&&P(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=!P(e.globalInjection)||e.globalInjection,r=new Map,[n,i]=function(e,t){let o=(0,e5.B)(),r=__VUE_I18N_LEGACY_API__&&t?o.run(()=>td(e)):o.run(()=>tu(e));if(null==r)throw e3(e8.UNEXPECTED_ERROR);return[o,r]}(e,t),a=c(""),l={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(e,...r){var n;if(e.__VUE_I18N_SYMBOL__=a,e.provide(e.__VUE_I18N_SYMBOL__,l),O(r[0])){let e=r[0];l.__composerExtend=e.__composerExtend,l.__vueI18nExtend=e.__vueI18nExtend}let c=null;!t&&o&&(c=function(e,t){let o=Object.create(null);return tw.forEach(e=>{let r=Object.getOwnPropertyDescriptor(t,e);if(!r)throw e3(e8.UNEXPECTED_ERROR);Object.defineProperty(o,e,(0,e5.dq)(r.value)?{get:()=>r.value.value,set(e){r.value.value=e}}:{get:()=>r.get&&r.get()})}),e.config.globalProperties.$i18n=o,tS.forEach(o=>{let r=Object.getOwnPropertyDescriptor(t,o);if(!r||!r.value)throw e3(e8.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,r)}),()=>{delete e.config.globalProperties.$i18n,tS.forEach(t=>{delete e.config.globalProperties[`$${t}`]})}}(e,l.global)),__VUE_I18N_FULL_INSTALL__&&function(e,t,...o){let r=O(o[0])?o[0]:{};(!P(r.globalInstall)||r.globalInstall)&&([th.name,"I18nT"].forEach(t=>e.component(t,th)),[tg.name,"I18nN"].forEach(t=>e.component(t,tg)),[t_.name,"I18nD"].forEach(t=>e.component(t,t_))),e.directive("t",function(e){let t=t=>{let{instance:o,value:r}=t;if(!o||!o.$)throw e3(e8.UNEXPECTED_ERROR);let n=function(e,t){if("composition"===e.mode)return e.__getInstance(t)||e.global;{let o=e.__getInstance(t);return null!=o?o.__composer:e.global.__composer}}(e,o.$),i=tv(r);return[Reflect.apply(n.t,n,[...tb(i)]),n]};return{created:(o,r)=>{let[n,i]=t(r);s&&e.global===i&&(o.__i18nWatcher=(0,e5.YP)(i.locale,()=>{r.instance&&r.instance.$forceUpdate()})),o.__composer=i,o.textContent=n},unmounted:e=>{s&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){let o=e.__composer,r=tv(t);e.textContent=Reflect.apply(o.t,o,[...tb(r)])}},getSSRProps:e=>{let[o]=t(e);return{textContent:o}}}}(t))}(e,l,...r),__VUE_I18N_LEGACY_API__&&t&&e.mixin((n=i.__composer,{beforeCreate(){let e=(0,e5.FN)();if(!e)throw e3(e8.UNEXPECTED_ERROR);let t=this.$options;if(t.i18n){let e=t.i18n;if(t.__i18n&&(e.__i18n=t.__i18n),e.__root=n,this===this.$root)this.$i18n=tf(i,e);else{e.__injectWithOption=!0,e.__extender=l.__vueI18nExtend,this.$i18n=td(e);let t=this.$i18n;t.__extender&&(t.__disposer=t.__extender(this.$i18n))}}else if(t.__i18n)if(this===this.$root)this.$i18n=tf(i,t);else{this.$i18n=td({__i18n:t.__i18n,__injectWithOption:!0,__extender:l.__vueI18nExtend,__root:n});let e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=i;t.__i18nGlobal&&tn(n,t,t),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),l.__setInstance(e,this.$i18n)},mounted(){},unmounted(){let e=(0,e5.FN)();if(!e)throw e3(e8.UNEXPECTED_ERROR);let t=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),l.__deleteInstance(e),delete this.$i18n}}));let u=e.unmount;e.unmount=()=>{c&&c(),l.dispose(),u()}},get global(){return i},dispose(){n.stop()},__instances:r,__getInstance:function(e){return r.get(e)||null},__setInstance:function(e,t){r.set(e,t)},__deleteInstance:function(e){r.delete(e)}};return l}function tC(e={}){var t,o,r,n,i,a;let l=(0,e5.FN)();if(null==l)throw e3(e8.MUST_BE_CALL_SETUP_TOP);if(!l.isCE&&null!=l.appContext.app&&!l.appContext.app.__VUE_I18N_SYMBOL__)throw e3(e8.NOT_INSTALLED);let s=function(e){let t=(0,e5.f3)(e.isCE?tx:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw e3(e.isCE?e8.NOT_INSTALLED_WITH_PROVIDE:e8.UNEXPECTED_ERROR);return t}(l),c="composition"===(t=s).mode?t.global:t.global.__composer,u=l.type,d=(o=e,r=u,m(o)?"__i18n"in r?"local":"global":o.useScope?o.useScope:"local");if("global"===d)return tn(c,e,u),c;if("parent"===d){let t=function(e,t,o=!1){let r=null,n=t.root,i=function(e,t=!1){return null==e?null:t&&e.vnode.ctx||e.parent}(t,o);for(;null!=i;){if("composition"===e.mode)r=e.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){let t=e.__getInstance(i);null!=t&&(r=t.__composer,o&&r&&!r[te]&&(r=null))}if(null!=r||n===i)break;i=i.parent}return r}(s,l,e.__useComponent);return null==t&&(t=c),t}let f=s.__getInstance(l);if(null==f){let t=g({},e);"__i18n"in u&&(t.__i18n=u.__i18n),c&&(t.__root=c),f=tu(t),s.__composerExtend&&(f[tt]=s.__composerExtend(f)),n=s,i=l,a=f,(0,e5.bv)(()=>{},i),(0,e5.SK)(()=>{n.__deleteInstance(i);let e=a[tt];e&&(e(),delete a[tt])},i),s.__setInstance(l,f)}return f}let tw=["locale","fallbackLocale","availableLocales"],tS=["t","rt","d","n","tm","te"],t_=(0,e5.aZ)({name:"i18n-d",props:g({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},tp),setup(e,t){let o=e.i18n||tC({useScope:e.scope,__useComponent:!0});return tm(e,t,eD,(...e)=>o[e4](...e))}});if("boolean"!=typeof __VUE_I18N_FULL_INSTALL__&&(y().__VUE_I18N_FULL_INSTALL__=!0),"boolean"!=typeof __VUE_I18N_LEGACY_API__&&(y().__VUE_I18N_LEGACY_API__=!0),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(y().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(y().__INTLIFY_PROD_DEVTOOLS__=!1),i=function(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&T(e)){P(t.warnHtmlMessage)&&t.warnHtmlMessage;let o=(t.onCacheKey||ed)(e),r=ef[o];if(r)return r;let{ast:n,detectError:i}=function(e,t={}){let o=!1,r=t.onError||N;return t.onError=e=>{o=!0,r(e)},{...function(e,t={}){let o=g({},t),r=!!o.jit,n=!!o.minify,i=null==o.optimize||o.optimize,a=(function(e={}){let t=!1!==e.location,{onError:o}=e;function r(e,n,i,a,...l){let s=e.currentPosition();s.offset+=a,s.column+=a,o&&o(B(n,t?H(i,s):null,{domain:"parser",args:l}))}function n(e,o,r){let n={type:e};return t&&(n.start=o,n.end=o,n.loc={start:r,end:r}),n}function i(e,o,r,n){t&&(e.end=o,e.loc&&(e.loc.end=r))}function a(e,t){let{lastOffset:o,lastStartLoc:r}=e.context(),a=n(5,o,r);return a.index=parseInt(t,10),e.nextToken(),i(a,e.currentOffset(),e.currentPosition()),a}function l(e,t){let{lastOffset:o,lastStartLoc:r}=e.context(),a=n(4,o,r);return a.key=t,e.nextToken(),i(a,e.currentOffset(),e.currentPosition()),a}function s(e,t){let{lastOffset:o,lastStartLoc:r}=e.context(),a=n(9,o,r);return a.value=t.replace(R,Y),e.nextToken(),i(a,e.currentOffset(),e.currentPosition()),a}function c(e){let t=e.context(),o=n(2,1===t.currentType?e.currentOffset():t.offset,1===t.currentType?t.endLoc:t.startLoc);o.items=[];let c=null;do{let u=c||e.nextToken();switch(c=null,u.type){case 0:null==u.value&&r(e,D.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,U(u)),o.items.push(function(e,t){let o=e.context(),r=n(3,o.offset,o.startLoc);return r.value=t,i(r,e.currentOffset(),e.currentPosition()),r}(e,u.value||""));break;case 5:null==u.value&&r(e,D.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,U(u)),o.items.push(a(e,u.value||""));break;case 4:null==u.value&&r(e,D.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,U(u)),o.items.push(l(e,u.value||""));break;case 6:null==u.value&&r(e,D.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,U(u)),o.items.push(s(e,u.value||""));break;case 7:{let t=function(e){let t=e.context(),o=n(6,t.offset,t.startLoc),c=e.nextToken();if(8===c.type){let t=function(e){let t=e.nextToken(),o=e.context(),{lastOffset:a,lastStartLoc:l}=o,s=n(8,a,l);return 11!==t.type?(r(e,D.UNEXPECTED_EMPTY_LINKED_MODIFIER,o.lastStartLoc,0),s.value="",i(s,a,l),{nextConsumeToken:t,node:s}):(null==t.value&&r(e,D.UNEXPECTED_LEXICAL_ANALYSIS,o.lastStartLoc,0,U(t)),s.value=t.value||"",i(s,e.currentOffset(),e.currentPosition()),{node:s})}(e);o.modifier=t.node,c=t.nextConsumeToken||e.nextToken()}switch(9!==c.type&&r(e,D.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,U(c)),2===(c=e.nextToken()).type&&(c=e.nextToken()),c.type){case 10:null==c.value&&r(e,D.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,U(c)),o.key=function(e,t){let o=e.context(),r=n(7,o.offset,o.startLoc);return r.value=t,i(r,e.currentOffset(),e.currentPosition()),r}(e,c.value||"");break;case 4:null==c.value&&r(e,D.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,U(c)),o.key=l(e,c.value||"");break;case 5:null==c.value&&r(e,D.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,U(c)),o.key=a(e,c.value||"");break;case 6:null==c.value&&r(e,D.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,U(c)),o.key=s(e,c.value||"");break;default:{r(e,D.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc,0);let a=e.context(),l=n(7,a.offset,a.startLoc);return l.value="",i(l,a.offset,a.startLoc),o.key=l,i(o,a.offset,a.startLoc),{nextConsumeToken:c,node:o}}}return i(o,e.currentOffset(),e.currentPosition()),{node:o}}(e);o.items.push(t.node),c=t.nextConsumeToken||null}}}while(13!==t.currentType&&1!==t.currentType);return i(o,1===t.currentType?t.lastOffset:e.currentOffset(),1===t.currentType?t.lastEndLoc:e.currentPosition()),o}return{parse:function(o){let a=function(e,t={}){let o=!1!==t.location,r=function(e){let t=0,o=1,r=1,n=0,i=t=>"\r"===e[t]&&"\n"===e[t+1],a=t=>"\n"===e[t],l=t=>e[t]===j,s=t=>e[t]===Z,c=e=>i(e)||a(e)||l(e)||s(e),u=t=>i(t)||l(t)||s(t)?"\n":e[t];function d(){return n=0,c(t)&&(o++,r=0),i(t)&&t++,t++,r++,e[t]}return{index:()=>t,line:()=>o,column:()=>r,peekOffset:()=>n,charAt:u,currentChar:()=>u(t),currentPeek:()=>u(t+n),next:d,peek:function(){return i(t+n)&&n++,n++,e[t+n]},reset:function(){t=0,o=1,r=1,n=0},resetPeek:function(e=0){n=e},skipToPeek:function(){let e=t+n;for(;e!==t;)d();n=0}}}(e),n=()=>r.index(),i=()=>{var e;return e=r.line(),{line:e,column:r.column(),offset:r.index()}},a=i(),l=n(),s={currentType:13,offset:l,startLoc:a,endLoc:a,lastType:13,lastOffset:l,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>s,{onError:u}=t;function d(e,t,r,...n){let i=c();t.column+=r,t.offset+=r,u&&u(B(e,o?H(i.startLoc,t):null,{domain:"tokenizer",args:n}))}function f(e,t,r){e.endLoc=i(),e.currentType=t;let n={type:t};return o&&(n.loc=H(e.startLoc,e.endLoc)),null!=r&&(n.value=r),n}let p=e=>f(e,13);function h(e,t){return e.currentChar()===t?(e.next(),t):(d(D.EXPECTED_TOKEN,i(),0,t),"")}function m(e){let t="";for(;" "===e.currentPeek()||"\n"===e.currentPeek();)t+=e.currentPeek(),e.peek();return t}function g(e){let t=m(e);return e.skipToPeek(),t}function b(e){if(e===W)return!1;let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function x(e){m(e);let t="|"===e.currentPeek();return e.resetPeek(),t}function y(e,t=!0){let o=(t=!1,r="")=>{let n=e.currentPeek();if("{"===n||"@"===n||!n)return t;if("|"===n)return" "!==r&&"\n"!==r;if(" "===n)return e.peek(),o(!0," ");if("\n"===n)return e.peek(),o(!0,"\n");else return!0},r=o();return t&&e.resetPeek(),r}function C(e,t){let o=e.currentChar();return o===W?W:t(o)?(e.next(),o):null}function w(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t}function S(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t||45===t}function _(e){let t=e.charCodeAt(0);return t>=48&&t<=57}function E(e){let t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function T(e){let t="",o="";for(;t=C(e,_);)o+=t;return o}function P(e){return"'"!==e&&"\n"!==e}function $(e,t,o){h(e,t);let r="";for(let n=0;n<o;n++){let o=C(e,E);if(!o){d(D.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${t}${r}${e.currentChar()}`);break}r+=o}return`\\${t}${r}`}function F(e){return"{"!==e&&"}"!==e&&" "!==e&&"\n"!==e}function k(e){g(e);let t=h(e,"|");return g(e),t}function M(e,t){let o=null;switch(e.currentChar()){case"{":t.braceNest>=1&&d(D.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),e.next(),o=f(t,2,"{"),g(e),t.braceNest++;break;case"}":t.braceNest>0&&2===t.currentType&&d(D.EMPTY_PLACEHOLDER,i(),0),e.next(),o=f(t,3,"}"),t.braceNest--,t.braceNest>0&&g(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1);break;case"@":t.braceNest>0&&d(D.UNTERMINATED_CLOSING_BRACE,i(),0),o=O(e,t)||p(t),t.braceNest=0;break;default:{let r=!0,n=!0,a=!0;if(x(e))return t.braceNest>0&&d(D.UNTERMINATED_CLOSING_BRACE,i(),0),o=f(t,1,k(e)),t.braceNest=0,t.inLinked=!1,o;if(t.braceNest>0&&(4===t.currentType||5===t.currentType||6===t.currentType))return d(D.UNTERMINATED_CLOSING_BRACE,i(),0),t.braceNest=0,I(e,t);if(r=function(e,t){let{currentType:o}=t;if(2!==o)return!1;m(e);let r=b(e.currentPeek());return e.resetPeek(),r}(e,t))return o=f(t,4,function(e){g(e);let t="",o="";for(;t=C(e,S);)o+=t;return e.currentChar()===W&&d(D.UNTERMINATED_CLOSING_BRACE,i(),0),o}(e)),g(e),o;if(n=function(e,t){let{currentType:o}=t;if(2!==o)return!1;m(e);let r=function(e){if(e===W)return!1;let t=e.charCodeAt(0);return t>=48&&t<=57}("-"===e.currentPeek()?e.peek():e.currentPeek());return e.resetPeek(),r}(e,t)){let r;return o=f(t,5,(g(e),r="","-"===e.currentChar()?(e.next(),r+=`-${T(e)}`):r+=T(e),e.currentChar()===W&&d(D.UNTERMINATED_CLOSING_BRACE,i(),0),r)),g(e),o}if(a=function(e,t){let{currentType:o}=t;if(2!==o)return!1;m(e);let r="'"===e.currentPeek();return e.resetPeek(),r}(e,t))return o=f(t,6,function(e){g(e),h(e,"'");let t="",o="";for(;t=C(e,P);)"\\"===t?o+=function(e){let t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return $(e,t,4);case"U":return $(e,t,6);default:return d(D.UNKNOWN_ESCAPE_SEQUENCE,i(),0,t),""}}(e):o+=t;let r=e.currentChar();return"\n"===r||r===W?(d(D.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),"\n"===r&&(e.next(),h(e,"'"))):h(e,"'"),o}(e)),g(e),o;r||n||a||(o=f(t,12,function(e){g(e);let t="",o="";for(;t=C(e,F);)o+=t;return o}(e)),d(D.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,o.value),g(e))}}return o}function O(e,t){let{currentType:o}=t,r=null,n=e.currentChar();switch((7===o||8===o||11===o||9===o)&&("\n"===n||" "===n)&&d(D.INVALID_LINKED_FORMAT,i(),0),n){case"@":return e.next(),r=f(t,7,"@"),t.inLinked=!0,r;case".":return g(e),e.next(),f(t,8,".");case":":return g(e),e.next(),f(t,9,":");default:if(x(e))return r=f(t,1,k(e)),t.braceNest=0,t.inLinked=!1,r;if(function(e,t){let{currentType:o}=t;if(7!==o)return!1;m(e);let r="."===e.currentPeek();return e.resetPeek(),r}(e,t)||function(e,t){let{currentType:o}=t;if(7!==o&&11!==o)return!1;m(e);let r=":"===e.currentPeek();return e.resetPeek(),r}(e,t))return g(e),O(e,t);if(function(e,t){let{currentType:o}=t;if(8!==o)return!1;m(e);let r=b(e.currentPeek());return e.resetPeek(),r}(e,t))return g(e),f(t,11,function(e){let t="",o="";for(;t=C(e,w);)o+=t;return o}(e));if(function(e,t){let{currentType:o}=t;if(9!==o)return!1;let r=()=>{let t=e.currentPeek();return"{"===t?b(e.peek()):"@"!==t&&"|"!==t&&":"!==t&&"."!==t&&" "!==t&&!!t&&("\n"===t?(e.peek(),r()):y(e,!1))},n=r();return e.resetPeek(),n}(e,t)){if(g(e),"{"===n)return M(e,t)||r;return f(t,10,function(e){let t=o=>{let r=e.currentChar();return"{"!==r&&"@"!==r&&"|"!==r&&"("!==r&&")"!==r&&r&&" "!==r?"\n"===r||"."===r?(o+=r,e.next(),t(o)):(o+=r,e.next(),t(o)):o};return t("")}(e))}return 7===o&&d(D.INVALID_LINKED_FORMAT,i(),0),t.braceNest=0,t.inLinked=!1,I(e,t)}}function I(e,t){let o={type:13};if(t.braceNest>0)return M(e,t)||p(t);if(t.inLinked)return O(e,t)||p(t);switch(e.currentChar()){case"{":return M(e,t)||p(t);case"}":return d(D.UNBALANCED_CLOSING_BRACE,i(),0),e.next(),f(t,3,"}");case"@":return O(e,t)||p(t);default:if(x(e)){o=f(t,1,k(e)),t.braceNest=0,t.inLinked=!1;break}if(y(e))return f(t,0,function(e){let t="";for(;;){let o=e.currentChar();if("{"!==o&&"}"!==o&&"@"!==o&&"|"!==o&&o)if(" "===o||"\n"===o)if(y(e))t+=o,e.next();else if(x(e))break;else t+=o,e.next();else t+=o,e.next();else break}return t}(e))}return o}return{nextToken:function(){let{currentType:e,offset:t,startLoc:o,endLoc:a}=s;return(s.lastType=e,s.lastOffset=t,s.lastStartLoc=o,s.lastEndLoc=a,s.offset=n(),s.startLoc=i(),r.currentChar()===W)?f(s,13):I(r,s)},currentOffset:n,currentPosition:i,context:c}}(o,g({},e)),l=a.context(),s=n(0,l.offset,l.startLoc);return t&&s.loc&&(s.loc.source=o),s.body=function(e){let t=e.context(),{offset:o,startLoc:a}=t,l=c(e);if(13===t.currentType)return l;let s=e.context(),u=0===l.items.length,d=n(1,o,a);d.cases=[],d.cases.push(l);do{let t=c(e);u||(u=0===t.items.length),d.cases.push(t)}while(13!==s.currentType);return u&&r(e,D.MUST_HAVE_MESSAGES_IN_PLURAL,a,0),i(d,e.currentOffset(),e.currentPosition()),d}(a),e.onCacheKey&&(s.cacheKey=e.onCacheKey(o)),13!==l.currentType&&r(a,D.UNEXPECTED_LEXICAL_ANALYSIS,l.lastStartLoc,0,o[l.offset]||""),i(s,a.currentOffset(),a.currentPosition()),s}}})(o).parse(e);return r?(i&&function(e){let t=e.body;2===t.type?G(t):t.cases.forEach(e=>G(e))}(a),n&&function e(t){switch(t.t=t.type,t.type){case 0:e(t.body),t.b=t.body,delete t.body;break;case 1:{let o=t.cases;for(let t=0;t<o.length;t++)e(o[t]);t.c=o,delete t.cases;break}case 2:{let o=t.items;for(let t=0;t<o.length;t++)e(o[t]);t.i=o,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:t.value&&(t.v=t.value,delete t.value);break;case 6:e(t.key),t.k=t.key,delete t.key,t.modifier&&(e(t.modifier),t.m=t.modifier,delete t.modifier);break;case 5:t.i=t.index,delete t.index;break;case 4:t.k=t.key,delete t.key}delete t.type}(a),{ast:a,code:""}):(!function(e,t={}){let o=function(e,t={}){let o={ast:e,helpers:new Set};return{context:()=>o,helper:e=>(o.helpers.add(e),e)}}(e);o.helper("normalize"),e.body&&V(e.body,o),e.helpers=Array.from(o.context().helpers)}(a,o),q(a,o))}(e,t),detectError:o}}(e,{...t,location:!1,jit:!0}),a=ec(n);return i?a:ef[o]=a}{let t=e.cacheKey;if(!t)return ec(e);{let o=ef[t];return o||(ef[t]=ec(e))}}},a=function(e,t){if(!$(e))return null;let o=e_.get(t);if(!o&&(o=function(e){let t,o,r,n,i,a,l,s=[],c=-1,u=0,d=0,f=[];for(f[0]=()=>{void 0===o?o=r:o+=r},f[1]=()=>{void 0!==o&&(s.push(o),o=void 0)},f[2]=()=>{f[0](),d++},f[3]=()=>{if(d>0)d--,u=4,f[0]();else{if(d=0,void 0===o||!1===(o=function(e){let t=e.trim();return!("0"===e.charAt(0)&&isNaN(parseInt(e)))&&(eS.test(t)?function(e){let t=e.charCodeAt(0);return t===e.charCodeAt(e.length-1)&&(34===t||39===t)?e.slice(1,-1):e}(t):"*"+t)}(o)))return!1;f[1]()}};null!==u;)if(!("\\"===(t=e[++c])&&function(){let t=e[c+1];if(5===u&&"'"===t||6===u&&'"'===t)return c++,r="\\"+t,f[0](),!0}())){if(n=function(e){if(null==e)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:break;case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}(t),8===(i=(l=ew[u])[n]||l.l||8)||(u=i[0],void 0!==i[1]&&(a=f[i[1]])&&(r=t,!1===a())))return;if(7===u)return s}}(t))&&e_.set(t,o),!o)return null;let r=o.length,n=e,i=0;for(;i<r;){let e=o[i];if(el.includes(e)&&J(n))return null;let t=n[e];if(void 0===t||E(n))return null;n=t,i++}return n},l=ey,__INTLIFY_PROD_DEVTOOLS__){let e=y();e.__INTLIFY__=!0,ep=e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__}}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/6746.b3aeaec4.js.LICENSE.txt b/core/public/dist/static/js/2051.a6d33557.js.LICENSE.txt
similarity index 100%
rename from core/public/dist/static/js/6746.b3aeaec4.js.LICENSE.txt
rename to core/public/dist/static/js/2051.a6d33557.js.LICENSE.txt
diff --git a/core/public/dist/static/js/async/1085.6832ae42.js b/core/public/dist/static/js/async/1085.6832ae42.js
new file mode 100644
index 00000000..7520521e
--- /dev/null
+++ b/core/public/dist/static/js/async/1085.6832ae42.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["1085"],{98880:function(e,l,a){a.r(l),a.d(l,{default:()=>o});var s=a(98048),t=a(6455),n=a(73084),i=a(57869),c=a(58786);let d={class:"content-wrapper"},o=(0,a(41748).default)({},[["render",function(e,l){let a=i.ZP,o=n.Z,_=t.ZP,r=s.Z;return(0,c.wg)(),(0,c.iD)("div",d,[(0,c.Wm)(a,{class:"mb-5"},{default:(0,c.w5)(()=>l[0]||(l[0]=[(0,c._)("div",{class:"page-tit",style:{margin:"0"}},[(0,c._)("div",{class:"back-tool"},[(0,c._)("i",{class:"i-ri:apps-fill text-6"})]),(0,c._)("span",{class:"tit-content"}," Typography ")],-1)])),_:1,__:[0]}),(0,c.Wm)(a,{class:"mb-5"},{default:(0,c.w5)(()=>[(0,c.Wm)(r,null,{default:(0,c.w5)(()=>[(0,c.Wm)(_,null,{label:(0,c.w5)(()=>l[1]||(l[1]=[(0,c._)("span",{class:"form-label"},"Heading Font",-1)])),default:(0,c.w5)(()=>[(0,c.Wm)(o)]),_:1}),(0,c.Wm)(a,{class:"form-desc"},{default:(0,c.w5)(()=>l[2]||(l[2]=[(0,c._)("div",{class:"container"},[(0,c._)("div",{class:"form-label"},"Preview:"),(0,c._)("div",{class:"desc"},"The quick brown fox jumps over the lazy dog")],-1)])),_:1,__:[2]})]),_:1})]),_:1}),(0,c.Wm)(a,{class:"mb-5"},{default:(0,c.w5)(()=>[(0,c.Wm)(r,null,{default:(0,c.w5)(()=>[(0,c.Wm)(_,null,{label:(0,c.w5)(()=>l[3]||(l[3]=[(0,c._)("span",{class:"form-label"},"Body Font",-1)])),default:(0,c.w5)(()=>[(0,c.Wm)(o)]),_:1}),(0,c.Wm)(a,{class:"form-desc"},{default:(0,c.w5)(()=>l[4]||(l[4]=[(0,c._)("div",{class:"container"},[(0,c._)("div",{class:"form-label"},"Preview:"),(0,c._)("div",{class:"desc"},"The quick brown fox jumps over the lazy dog")],-1)])),_:1,__:[4]})]),_:1})]),_:1}),(0,c.Wm)(a,null,{default:(0,c.w5)(()=>l[5]||(l[5]=[(0,c._)("div",{class:"attention"},[(0,c._)("div",{class:"attention-tit"},"Typography Guidelines:"),(0,c._)("div",{class:"attention-item"},"Use web-safe fonts for better compatibility"),(0,c._)("div",{class:"attention-item"},"Always include fallback fonts for better performance")],-1)])),_:1,__:[5]})])}],["__scopeId","data-v-8782714a"]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/9602.b4037dad.js b/core/public/dist/static/js/async/1107.fa031298.js
similarity index 67%
rename from core/public/dist/static/js/async/9602.b4037dad.js
rename to core/public/dist/static/js/async/1107.fa031298.js
index 3fa06f49..e9611e8f 100644
--- a/core/public/dist/static/js/async/9602.b4037dad.js
+++ b/core/public/dist/static/js/async/1107.fa031298.js
@@ -1,4 +1,4 @@
-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["9602"],{64499:function(e,r,t){t.d(r,{Z:()=>h});var l=t(58786),o=t(27046),n=t(93950),a=t(96823),i=t(76128);let s=(0,t(144).f)("clear",()=>(0,l.h)("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},(0,l.h)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,l.h)("g",{fill:"currentColor","fill-rule":"nonzero"},(0,l.h)("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"})))));var u=t(28632),c=t(71309);let d=(0,c.cB)("base-clear",`
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["1107"],{20013:function(e,r,t){t.d(r,{Z:()=>n});var l=t(58786);function n(e,r){return(0,l.YP)(e,e=>{void 0!==e&&(r.value=e)}),(0,l.Fl)(()=>void 0===e.value?r.value:e.value)}},80954:function(e,r,t){t.d(r,{Z:()=>o});var l=t(34542),n=t(32452);let o=function(e,r){r=(0,l.Z)(r,e);for(var t=0,o=r.length;null!=e&&t<o;)e=e[(0,n.Z)(r[t++])];return t&&t==o?e:void 0}},34542:function(e,r,t){t.d(r,{Z:()=>v});var l,n,o=t(3073),a=t(90483),i=t(37408);function s(e,r){if("function"!=typeof e||null!=r&&"function"!=typeof r)throw TypeError("Expected a function");var t=function(){var l=arguments,n=r?r.apply(this,l):l[0],o=t.cache;if(o.has(n))return o.get(n);var a=e.apply(this,l);return t.cache=o.set(n,a)||o,a};return t.cache=new(s.Cache||i.Z),t}s.Cache=i.Z;var u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,c=/\\(\\)?/g,d=(n=(l=s(function(e){var r=[];return 46===e.charCodeAt(0)&&r.push(""),e.replace(u,function(e,t,l,n){r.push(l?n.replace(c,"$1"):t||e)}),r},function(e){return 500===n.size&&n.clear(),e})).cache,l),h=t(88521);let v=function(e,r){return(0,o.Z)(e)?e:(0,a.Z)(e,r)?[e]:d((0,h.Z)(e))}},90483:function(e,r,t){t.d(r,{Z:()=>i});var l=t(3073),n=t(56721),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;let i=function(e,r){if((0,l.Z)(e))return!1;var t=typeof e;return!!("number"==t||"symbol"==t||"boolean"==t||null==e||(0,n.Z)(e))||a.test(e)||!o.test(e)||null!=r&&e in Object(r)}},32452:function(e,r,t){t.d(r,{Z:()=>o});var l=t(56721),n=1/0;let o=function(e){if("string"==typeof e||(0,l.Z)(e))return e;var r=e+"";return"0"==r&&1/e==-n?"-0":r}},94904:function(e,r,t){t.d(r,{Z:()=>n});var l=t(80954);let n=function(e,r,t){var n=null==e?void 0:(0,l.Z)(e,r);return void 0===n?t:n}},64499:function(e,r,t){t.d(r,{Z:()=>h});var l=t(58786),n=t(27046),o=t(93950),a=t(96823),i=t(76128);let s=(0,t(144).f)("clear",()=>(0,l.h)("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},(0,l.h)("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,l.h)("g",{fill:"currentColor","fill-rule":"nonzero"},(0,l.h)("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"})))));var u=t(28632),c=t(71309);let d=(0,c.cB)("base-clear",`
flex-shrink: 0;
height: 1em;
width: 1em;
@@ -22,7 +22,7 @@
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
- `,[(0,u.c)({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),h=(0,l.aZ)({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup:e=>((0,o.Z)("-base-clear",d,(0,l.Vh)(e,"clsPrefix")),{handleMouseDown(e){e.preventDefault()}}),render(){let{clsPrefix:e}=this;return(0,l.h)("div",{class:`${e}-base-clear`},(0,l.h)(i.Z,null,{default:()=>{var r,t;return this.show?(0,l.h)("div",{key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},(0,n.gI)(this.$slots.icon,()=>[(0,l.h)(a.Z,{clsPrefix:e},{default:()=>(0,l.h)(s,null)})])):(0,l.h)("div",{key:"icon",class:`${e}-base-clear__placeholder`},null==(t=(r=this.$slots).placeholder)?void 0:t.call(r))}}))}})},78740:function(e,r,t){t.d(r,{Z:()=>o});var l=t(58786);let o=(0,l.aZ)({name:"ChevronDown",render:()=>(0,l.h)("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,l.h)("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))})},81748:function(e,r,t){t.d(r,{Z:()=>o});var l=t(58786);let o=(0,l.aZ)({name:"Eye",render:()=>(0,l.h)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,l.h)("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),(0,l.h)("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))})},55760:function(e,r,t){t.d(r,{Z:()=>u});var l=t(58786),o=t(93950),n=t(64499),a=t(96823),i=t(78740),s=t(62594);let u=(0,l.aZ)({name:"InternalSelectionSuffix",props:{clsPrefix:{type:String,required:!0},showArrow:{type:Boolean,default:void 0},showClear:{type:Boolean,default:void 0},loading:{type:Boolean,default:!1},onClear:Function},setup:(e,{slots:r})=>()=>{let{clsPrefix:t}=e;return(0,l.h)(s.Z,{clsPrefix:t,class:`${t}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?(0,l.h)(n.Z,{clsPrefix:t,show:e.showClear,onClear:e.onClear},{placeholder:()=>(0,l.h)(a.Z,{clsPrefix:t,class:`${t}-base-suffix__arrow`},{default:()=>(0,o.gI)(r.default,()=>[(0,l.h)(i.Z,null)])})}):null})}})},3616:function(e,r,t){t.d(r,{Z:()=>i});var l=t(58786),o=t(39741),n=t(38325),a=t(24924);function i(e){let{mergedLocaleRef:r,mergedDateLocaleRef:t}=(0,l.f3)(o.Y,null)||{},i=(0,l.Fl)(()=>{var t,l;return null!=(l=null==(t=null==r?void 0:r.value)?void 0:t[e])?l:n.Z[e]});return{dateLocaleRef:(0,l.Fl)(()=>{var e;return null!=(e=null==t?void 0:t.value)?e:a.Z}),localeRef:i}}},73084:function(e,r,t){t.d(r,{Z:()=>Z});var l=t(82518),o=t(65083),n=t(20013),a=t(61691),i=t(58786),s=t(70020),u=t(97756),c=t(64499),d=t(55760),h=t(96823),p=t(81748);let v=(0,i.aZ)({name:"EyeOff",render:()=>(0,i.h)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,i.h)("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),(0,i.h)("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),(0,i.h)("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),(0,i.h)("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),(0,i.h)("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))});var f=t(56946),g=t(54470),b=t(27046),w=t(3616),x=t(32196),y=t(53198),m=t(51048),C=t(44267),z=t(71309),B=t(93950),A=t(68293),E=t(34534);let $=(0,t(19050).U)("n-input"),k=(0,z.cB)("input",`
+ `,[(0,u.c)({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),h=(0,l.aZ)({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup:e=>((0,n.Z)("-base-clear",d,(0,l.Vh)(e,"clsPrefix")),{handleMouseDown(e){e.preventDefault()}}),render(){let{clsPrefix:e}=this;return(0,l.h)("div",{class:`${e}-base-clear`},(0,l.h)(i.Z,null,{default:()=>{var r,t;return this.show?(0,l.h)("div",{key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},(0,o.gI)(this.$slots.icon,()=>[(0,l.h)(a.Z,{clsPrefix:e},{default:()=>(0,l.h)(s,null)})])):(0,l.h)("div",{key:"icon",class:`${e}-base-clear__placeholder`},null==(t=(r=this.$slots).placeholder)?void 0:t.call(r))}}))}})},78740:function(e,r,t){t.d(r,{Z:()=>n});var l=t(58786);let n=(0,l.aZ)({name:"ChevronDown",render:()=>(0,l.h)("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,l.h)("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))})},81748:function(e,r,t){t.d(r,{Z:()=>n});var l=t(58786);let n=(0,l.aZ)({name:"Eye",render:()=>(0,l.h)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,l.h)("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),(0,l.h)("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))})},55760:function(e,r,t){t.d(r,{Z:()=>u});var l=t(58786),n=t(93950),o=t(64499),a=t(96823),i=t(78740),s=t(62594);let u=(0,l.aZ)({name:"InternalSelectionSuffix",props:{clsPrefix:{type:String,required:!0},showArrow:{type:Boolean,default:void 0},showClear:{type:Boolean,default:void 0},loading:{type:Boolean,default:!1},onClear:Function},setup:(e,{slots:r})=>()=>{let{clsPrefix:t}=e;return(0,l.h)(s.Z,{clsPrefix:t,class:`${t}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?(0,l.h)(o.Z,{clsPrefix:t,show:e.showClear,onClear:e.onClear},{placeholder:()=>(0,l.h)(a.Z,{clsPrefix:t,class:`${t}-base-suffix__arrow`},{default:()=>(0,n.gI)(r.default,()=>[(0,l.h)(i.Z,null)])})}):null})}})},3616:function(e,r,t){t.d(r,{Z:()=>i});var l=t(58786),n=t(39741),o=t(38325),a=t(24924);function i(e){let{mergedLocaleRef:r,mergedDateLocaleRef:t}=(0,l.f3)(n.Y,null)||{},i=(0,l.Fl)(()=>{var t,l;return null!=(l=null==(t=null==r?void 0:r.value)?void 0:t[e])?l:o.Z[e]});return{dateLocaleRef:(0,l.Fl)(()=>{var e;return null!=(e=null==t?void 0:t.value)?e:a.Z}),localeRef:i}}},73084:function(e,r,t){t.d(r,{Z:()=>M});var l=t(82518),n=t(65083),o=t(20013),a=t(61691),i=t(58786),s=t(70020),u=t(97756),c=t(64499),d=t(55760),h=t(96823),v=t(81748);let p=(0,i.aZ)({name:"EyeOff",render:()=>(0,i.h)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,i.h)("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),(0,i.h)("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),(0,i.h)("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),(0,i.h)("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),(0,i.h)("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))});var f=t(56946),g=t(54470),b=t(27046),w=t(3616),x=t(32196),y=t(53198),m=t(51048),C=t(44267),z=t(71309),A=t(93950),B=t(68293),E=t(34534);let $=(0,t(19050).U)("n-input"),Z=(0,z.cB)("input",`
max-width: 100%;
cursor: text;
line-height: 1.5;
@@ -253,7 +253,7 @@
`,[(0,z.cE)("state-border",`
box-shadow: var(--n-box-shadow-focus-${e});
border: var(--n-border-focus-${e});
- `)])])]))]),F=(0,z.cB)("input",[(0,z.cM)("disabled",[(0,z.cE)("input-el, textarea-el",`
+ `)])])]))]),k=(0,z.cB)("input",[(0,z.cM)("disabled",[(0,z.cE)("input-el, textarea-el",`
-webkit-text-fill-color: var(--n-text-color-disabled);
- `)])]);function S(e){return""===e||null==e}let P=(0,i.aZ)({name:"InputWordCount",setup(e,{slots:r}){let{mergedValueRef:t,maxlengthRef:l,mergedClsPrefixRef:o,countGraphemesRef:n}=(0,i.f3)($),a=(0,i.Fl)(()=>{let{value:e}=t;return null===e||Array.isArray(e)?0:(n.value||function(e){let r=0;for(let t of e)r++;return r})(e)});return()=>{let{value:e}=l,{value:n}=t;return(0,i.h)("span",{class:`${o.value}-input-word-count`},(0,B.q_)(r.default,{value:null===n||Array.isArray(n)?"":n},()=>[void 0===e?a.value:`${a.value} / ${e}`]))}}}),M=Object.assign(Object.assign({},f.Z.props),{bordered:{type:Boolean,default:void 0},type:{type:String,default:"text"},placeholder:[Array,String],defaultValue:{type:[String,Array],default:null},value:[String,Array],disabled:{type:Boolean,default:void 0},size:String,rows:{type:[Number,String],default:3},round:Boolean,minlength:[String,Number],maxlength:[String,Number],clearable:Boolean,autosize:{type:[Boolean,Object],default:!1},pair:Boolean,separator:String,readonly:{type:[String,Boolean],default:!1},passivelyActivated:Boolean,showPasswordOn:String,stateful:{type:Boolean,default:!0},autofocus:Boolean,inputProps:Object,resizable:{type:Boolean,default:!0},showCount:Boolean,loading:{type:Boolean,default:void 0},allowInput:Function,renderCount:Function,onMousedown:Function,onKeydown:Function,onKeyup:[Function,Array],onInput:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClick:[Function,Array],onChange:[Function,Array],onClear:[Function,Array],countGraphemes:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],textDecoration:[String,Array],attrSize:{type:Number,default:20},onInputBlur:[Function,Array],onInputFocus:[Function,Array],onDeactivate:[Function,Array],onActivate:[Function,Array],onWrapperFocus:[Function,Array],onWrapperBlur:[Function,Array],internalDeactivateOnEnter:Boolean,internalForceFocus:Boolean,internalLoadingBeforeSuffix:{type:Boolean,default:!0},showPasswordToggle:Boolean}),Z=(0,i.aZ)({name:"Input",props:M,slots:Object,setup(e){let{mergedClsPrefixRef:r,mergedBorderedRef:t,inlineThemeDisabled:s,mergedRtlRef:u}=(0,g.ZP)(e),c=(0,f.Z)("Input","-input",k,E.Z,e,r);A.G6&&(0,b.Z)("-input-safari",F,r);let d=(0,i.iH)(null),h=(0,i.iH)(null),p=(0,i.iH)(null),v=(0,i.iH)(null),B=(0,i.iH)(null),P=(0,i.iH)(null),M=(0,i.iH)(null),Z=function(e){let r=(0,i.iH)(null);function t(){r.value=null}return(0,i.YP)(e,t),{recordCursor:function(){let{value:l}=e;if(!(null==l?void 0:l.focus))return void t();let{selectionStart:o,selectionEnd:n,value:a}=l;if(null==o||null==n)return void t();r.value={start:o,end:n,beforeText:a.slice(0,o),afterText:a.slice(n)}},restoreCursor:function(){var t;let{value:l}=r,{value:o}=e;if(!l||!o)return;let{value:n}=o,{start:a,beforeText:i,afterText:s}=l,u=n.length;if(n.endsWith(s))u=n.length-s.length;else if(n.startsWith(i))u=i.length;else{let e=i[a-1],r=n.indexOf(e,a-1);-1!==r&&(u=r+1)}null==(t=o.setSelectionRange)||t.call(o,u,u)}}}(M),_=(0,i.iH)(null),{localeRef:R}=(0,w.Z)("Input"),T=(0,i.iH)(e.defaultValue),L=(0,i.Vh)(e,"value"),I=(0,n.Z)(L,T),D=(0,x.Z)(e),{mergedSizeRef:H,mergedDisabledRef:V,mergedStatusRef:O}=D,W=(0,i.iH)(!1),K=(0,i.iH)(!1),N=(0,i.iH)(!1),j=(0,i.iH)(!1),Y=null,U=(0,i.Fl)(()=>{let{placeholder:r,pair:t}=e;return t?Array.isArray(r)?r:void 0===r?["",""]:[r,r]:void 0===r?[R.value.placeholder]:[r]}),X=(0,i.Fl)(()=>{let{value:e}=N,{value:r}=I,{value:t}=U;return!e&&(S(r)||Array.isArray(r)&&S(r[0]))&&t[0]}),G=(0,i.Fl)(()=>{let{value:e}=N,{value:r}=I,{value:t}=U;return!e&&t[1]&&(S(r)||Array.isArray(r)&&S(r[1]))}),q=(0,a.Z)(()=>e.internalForceFocus||W.value),J=(0,a.Z)(()=>{if(V.value||e.readonly||!e.clearable||!q.value&&!K.value)return!1;let{value:r}=I,{value:t}=q;return e.pair?!!(Array.isArray(r)&&(r[0]||r[1]))&&(K.value||t):!!r&&(K.value||t)}),Q=(0,i.Fl)(()=>{let{showPasswordOn:r}=e;return r||(e.showPasswordToggle?"click":void 0)}),ee=(0,i.iH)(!1),er=(0,i.Fl)(()=>{let{textDecoration:r}=e;return r?Array.isArray(r)?r.map(e=>({textDecoration:e})):[{textDecoration:r}]:["",""]}),et=(0,i.iH)(void 0),el=()=>{var r,t;if("textarea"===e.type){let{autosize:l}=e;if(l&&(et.value=null==(t=null==(r=_.value)?void 0:r.$el)?void 0:t.offsetWidth),!h.value||"boolean"==typeof l)return;let{paddingTop:o,paddingBottom:n,lineHeight:a}=window.getComputedStyle(h.value),i=Number(o.slice(0,-2)),s=Number(n.slice(0,-2)),u=Number(a.slice(0,-2)),{value:c}=p;if(!c)return;if(l.minRows){let e=Math.max(l.minRows,1),r=`${i+s+u*e}px`;c.style.minHeight=r}if(l.maxRows){let e=`${i+s+u*l.maxRows}px`;c.style.maxHeight=e}}},eo=(0,i.Fl)(()=>{let{maxlength:r}=e;return void 0===r?void 0:Number(r)});(0,i.bv)(()=>{let{value:e}=I;Array.isArray(e)||ep(e)});let en=(0,i.FN)().proxy;function ea(r,t){let{onUpdateValue:l,"onUpdate:value":o,onInput:n}=e,{nTriggerFormInput:a}=D;l&&(0,C.R)(l,r,t),o&&(0,C.R)(o,r,t),n&&(0,C.R)(n,r,t),T.value=r,a()}function ei(r,t){let{onChange:l}=e,{nTriggerFormChange:o}=D;l&&(0,C.R)(l,r,t),T.value=r,o()}function es(r,t=0,l="input"){let o=r.target.value;if(ep(o),r instanceof InputEvent&&!r.isComposing&&(N.value=!1),"textarea"===e.type){let{value:e}=_;e&&e.syncUnifiedContainer()}if(Y=o,N.value)return;Z.recordCursor();let n=function(r){let{countGraphemes:t,maxlength:l,minlength:o}=e;if(t){let e;if(void 0!==l&&(void 0===e&&(e=t(r)),e>Number(l))||void 0!==o&&(void 0===e&&(e=t(r)),e<Number(l)))return!1}let{allowInput:n}=e;return"function"!=typeof n||n(r)}(o);if(n)if(e.pair){let{value:e}=I;(e=Array.isArray(e)?[e[0],e[1]]:["",""])[t]=o,"input"===l?ea(e,{source:t}):ei(e,{source:t})}else"input"===l?ea(o,{source:t}):ei(o,{source:t});en.$forceUpdate(),n||(0,i.Y3)(Z.restoreCursor)}function eu(r,t){if(null!==r.relatedTarget&&(r.relatedTarget===B.value||r.relatedTarget===P.value||r.relatedTarget===h.value||r.relatedTarget===d.value));else if("focus"===t){let{onFocus:t}=e,{nTriggerFormFocus:l}=D;t&&(0,C.R)(t,r),l(),W.value=!0}else if("blur"===t){let{onBlur:t}=e,{nTriggerFormBlur:l}=D;t&&(0,C.R)(t,r),l(),W.value=!1}}function ec(){e.pair?(ea(["",""],{source:"clear"}),ei(["",""],{source:"clear"})):(ea("",{source:"clear"}),ei("",{source:"clear"}))}function ed(){e.passivelyActivated&&(j.value=!1,(0,i.Y3)(()=>{var e;null==(e=d.value)||e.focus()}))}function eh(){var r,t,l;V.value||(e.passivelyActivated?null==(r=d.value)||r.focus():(null==(t=h.value)||t.focus(),null==(l=B.value)||l.focus()))}function ep(r){let{type:t,pair:l,autosize:o}=e;if(!l&&o)if("textarea"===t){let{value:e}=p;e&&(e.textContent=`${null!=r?r:""}\r
-`)}else{let{value:e}=v;e&&(r?e.textContent=r:e.innerHTML="&nbsp;")}}let ev=(0,i.iH)({top:"0"}),ef=null;(0,i.m0)(()=>{let{autosize:r,type:t}=e;r&&"textarea"===t?ef=(0,i.YP)(I,e=>{Array.isArray(e)||e===Y||ep(e)}):null==ef||ef()});let eg=null;(0,i.m0)(()=>{"textarea"===e.type?eg=(0,i.YP)(I,e=>{var r;Array.isArray(e)||e===Y||null==(r=_.value)||r.syncUnifiedContainer()}):null==eg||eg()}),(0,i.JJ)($,{mergedValueRef:I,maxlengthRef:eo,mergedClsPrefixRef:r,countGraphemesRef:(0,i.Vh)(e,"countGraphemes")});let eb=(0,m.V)("Input",u,r),ew=(0,i.Fl)(()=>{let{value:e}=H,{common:{cubicBezierEaseInOut:r},self:{color:t,borderRadius:l,textColor:n,caretColor:a,caretColorError:i,caretColorWarning:s,textDecorationColor:u,border:d,borderDisabled:h,borderHover:p,borderFocus:v,placeholderColor:f,placeholderColorDisabled:g,lineHeightTextarea:b,colorDisabled:w,colorFocus:x,textColorDisabled:y,boxShadowFocus:m,iconSize:C,colorFocusWarning:B,boxShadowFocusWarning:A,borderWarning:E,borderFocusWarning:$,borderHoverWarning:k,colorFocusError:F,boxShadowFocusError:S,borderError:P,borderFocusError:M,borderHoverError:Z,clearSize:_,clearColor:R,clearColorHover:T,clearColorPressed:L,iconColor:I,iconColorDisabled:D,suffixTextColor:V,countTextColor:O,countTextColorDisabled:W,iconColorHover:K,iconColorPressed:N,loadingColor:j,loadingColorError:Y,loadingColorWarning:U,fontWeight:X,[(0,z.Tl)("padding",e)]:G,[(0,z.Tl)("fontSize",e)]:q,[(0,z.Tl)("height",e)]:J}}=c.value,{left:Q,right:ee}=(0,o.tQ)(G);return{"--n-bezier":r,"--n-count-text-color":O,"--n-count-text-color-disabled":W,"--n-color":t,"--n-font-size":q,"--n-font-weight":X,"--n-border-radius":l,"--n-height":J,"--n-padding-left":Q,"--n-padding-right":ee,"--n-text-color":n,"--n-caret-color":a,"--n-text-decoration-color":u,"--n-border":d,"--n-border-disabled":h,"--n-border-hover":p,"--n-border-focus":v,"--n-placeholder-color":f,"--n-placeholder-color-disabled":g,"--n-icon-size":C,"--n-line-height-textarea":b,"--n-color-disabled":w,"--n-color-focus":x,"--n-text-color-disabled":y,"--n-box-shadow-focus":m,"--n-loading-color":j,"--n-caret-color-warning":s,"--n-color-focus-warning":B,"--n-box-shadow-focus-warning":A,"--n-border-warning":E,"--n-border-focus-warning":$,"--n-border-hover-warning":k,"--n-loading-color-warning":U,"--n-caret-color-error":i,"--n-color-focus-error":F,"--n-box-shadow-focus-error":S,"--n-border-error":P,"--n-border-focus-error":M,"--n-border-hover-error":Z,"--n-loading-color-error":Y,"--n-clear-color":R,"--n-clear-size":_,"--n-clear-color-hover":T,"--n-clear-color-pressed":L,"--n-icon-color":I,"--n-icon-color-hover":K,"--n-icon-color-pressed":N,"--n-icon-color-disabled":D,"--n-suffix-text-color":V}}),ex=s?(0,y.F)("input",(0,i.Fl)(()=>{let{value:e}=H;return e[0]}),ew,e):void 0;return Object.assign(Object.assign({},{wrapperElRef:d,inputElRef:B,textareaElRef:h,isCompositing:N,clear:ec,focus:eh,blur:function(){var e;(null==(e=d.value)?void 0:e.contains(document.activeElement))&&document.activeElement.blur()},select:function(){var e,r;null==(e=h.value)||e.select(),null==(r=B.value)||r.select()},deactivate:function(){let{value:e}=d;(null==e?void 0:e.contains(document.activeElement))&&e!==document.activeElement&&ed()},activate:function(){!V.value&&(h.value?h.value.focus():B.value&&B.value.focus())},scrollTo:function(r){if("textarea"===e.type){let{value:e}=h;null==e||e.scrollTo(r)}else{let{value:e}=B;null==e||e.scrollTo(r)}}}),{wrapperElRef:d,inputElRef:B,inputMirrorElRef:v,inputEl2Ref:P,textareaElRef:h,textareaMirrorElRef:p,textareaScrollbarInstRef:_,rtlEnabled:eb,uncontrolledValue:T,mergedValue:I,passwordVisible:ee,mergedPlaceholder:U,showPlaceholder1:X,showPlaceholder2:G,mergedFocus:q,isComposing:N,activated:j,showClearButton:J,mergedSize:H,mergedDisabled:V,textDecorationStyle:er,mergedClsPrefix:r,mergedBordered:t,mergedShowPasswordOn:Q,placeholderStyle:ev,mergedStatus:O,textAreaScrollContainerWidth:et,handleTextAreaScroll:function(e){var r;let{scrollTop:t}=e.target;ev.value.top=`${-t}px`,null==(r=_.value)||r.syncUnifiedContainer()},handleCompositionStart:function(){N.value=!0},handleCompositionEnd:function(e){N.value=!1,e.target===P.value?es(e,1):es(e,0)},handleInput:es,handleInputBlur:function(r){let{onInputBlur:t}=e;t&&(0,C.R)(t,r),r.relatedTarget===d.value&&function(){let{onDeactivate:r}=e;r&&(0,C.R)(r)}(),(null===r.relatedTarget||r.relatedTarget!==B.value&&r.relatedTarget!==P.value&&r.relatedTarget!==h.value)&&(j.value=!1),eu(r,"blur"),M.value=null},handleInputFocus:function(r,t){let{onInputFocus:l}=e;l&&(0,C.R)(l,r),W.value=!0,j.value=!0;let{onActivate:o}=e;o&&(0,C.R)(o),eu(r,"focus"),0===t?M.value=B.value:1===t?M.value=P.value:2===t&&(M.value=h.value)},handleWrapperBlur:function(r){if(e.passivelyActivated){let{onWrapperBlur:t}=e;t&&(0,C.R)(t,r),eu(r,"blur")}},handleWrapperFocus:function(r){if(e.passivelyActivated){W.value=!0;let{onWrapperFocus:t}=e;t&&(0,C.R)(t,r),eu(r,"focus")}},handleMouseEnter:function(){var r;K.value=!0,"textarea"===e.type&&(null==(r=_.value)||r.handleMouseEnterWrapper())},handleMouseLeave:function(){var r;K.value=!1,"textarea"===e.type&&(null==(r=_.value)||r.handleMouseLeaveWrapper())},handleMouseDown:function(r){let{onMousedown:t}=e;t&&t(r);let{tagName:l}=r.target;if("INPUT"!==l&&"TEXTAREA"!==l){if(e.resizable){let{value:e}=d;if(e){let{left:t,top:l,width:o,height:n}=e.getBoundingClientRect();if(t+o-14<r.clientX&&r.clientX<t+o&&l+n-14<r.clientY&&r.clientY<l+n)return}}r.preventDefault(),W.value||eh()}},handleChange:function(e,r){es(e,r,"change")},handleClick:function(r){let{onClick:t}=e;t&&(0,C.R)(t,r)},handleClear:function(r){let{onClear:t}=e;t&&(0,C.R)(t,r),ec()},handlePasswordToggleClick:function(){V.value||"click"===Q.value&&(ee.value=!ee.value)},handlePasswordToggleMousedown:function(e){if(V.value)return;e.preventDefault();let r=e=>{e.preventDefault(),(0,l.S)("mouseup",document,r)};if((0,l.on)("mouseup",document,r),"mousedown"!==Q.value)return;ee.value=!0;let t=()=>{ee.value=!1,(0,l.S)("mouseup",document,t)};(0,l.on)("mouseup",document,t)},handleWrapperKeydown:function(r){switch(e.onKeydown&&(0,C.R)(e.onKeydown,r),r.key){case"Escape":ed();break;case"Enter":!function(r){var t,l;if(e.passivelyActivated){let{value:o}=j;if(o){e.internalDeactivateOnEnter&&ed();return}r.preventDefault(),"textarea"===e.type?null==(t=h.value)||t.focus():null==(l=B.value)||l.focus()}}(r)}},handleWrapperKeyup:function(r){e.onKeyup&&(0,C.R)(e.onKeyup,r)},handleTextAreaMirrorResize:function(){el()},getTextareaScrollContainer:()=>h.value,mergedTheme:c,cssVars:s?void 0:ew,themeClass:null==ex?void 0:ex.themeClass,onRender:null==ex?void 0:ex.onRender})},render(){var e,r;let{mergedClsPrefix:t,mergedStatus:l,themeClass:o,type:n,countGraphemes:a,onRender:f}=this,g=this.$slots;return null==f||f(),(0,i.h)("div",{ref:"wrapperElRef",class:[`${t}-input`,o,l&&`${t}-input--${l}-status`,{[`${t}-input--rtl`]:this.rtlEnabled,[`${t}-input--disabled`]:this.mergedDisabled,[`${t}-input--textarea`]:"textarea"===n,[`${t}-input--resizable`]:this.resizable&&!this.autosize,[`${t}-input--autosize`]:this.autosize,[`${t}-input--round`]:this.round&&"textarea"!==n,[`${t}-input--pair`]:this.pair,[`${t}-input--focus`]:this.mergedFocus,[`${t}-input--stateful`]:this.stateful}],style:this.cssVars,tabindex:this.mergedDisabled||!this.passivelyActivated||this.activated?void 0:0,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,onClick:this.handleClick,onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onKeyup:this.handleWrapperKeyup,onKeydown:this.handleWrapperKeydown},(0,i.h)("div",{class:`${t}-input-wrapper`},(0,B.K9)(g.prefix,e=>e&&(0,i.h)("div",{class:`${t}-input__prefix`},e)),"textarea"===n?(0,i.h)(u.Z,{ref:"textareaScrollbarInstRef",class:`${t}-input__textarea`,container:this.getTextareaScrollContainer,triggerDisplayManually:!0,useUnifiedContainer:!0,internalHoistYRail:!0},{default:()=>{var e,r;let{textAreaScrollContainerWidth:l}=this,o={width:this.autosize&&l&&`${l}px`};return(0,i.h)(i.HY,null,(0,i.h)("textarea",Object.assign({},this.inputProps,{ref:"textareaElRef",class:[`${t}-input__textarea-el`,null==(e=this.inputProps)?void 0:e.class],autofocus:this.autofocus,rows:Number(this.rows),placeholder:this.placeholder,value:this.mergedValue,disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,readonly:this.readonly,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,style:[this.textDecorationStyle[0],null==(r=this.inputProps)?void 0:r.style,o],onBlur:this.handleInputBlur,onFocus:e=>{this.handleInputFocus(e,2)},onInput:this.handleInput,onChange:this.handleChange,onScroll:this.handleTextAreaScroll})),this.showPlaceholder1?(0,i.h)("div",{class:`${t}-input__placeholder`,style:[this.placeholderStyle,o],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?(0,i.h)(s.Z,{onResize:this.handleTextAreaMirrorResize},{default:()=>(0,i.h)("div",{ref:"textareaMirrorElRef",class:`${t}-input__textarea-mirror`,key:"mirror"})}):null)}}):(0,i.h)("div",{class:`${t}-input__input`},(0,i.h)("input",Object.assign({type:"password"===n&&this.mergedShowPasswordOn&&this.passwordVisible?"text":n},this.inputProps,{ref:"inputElRef",class:[`${t}-input__input-el`,null==(e=this.inputProps)?void 0:e.class],style:[this.textDecorationStyle[0],null==(r=this.inputProps)?void 0:r.style],tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[0],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[0]:this.mergedValue,readonly:this.readonly,autofocus:this.autofocus,size:this.attrSize,onBlur:this.handleInputBlur,onFocus:e=>{this.handleInputFocus(e,0)},onInput:e=>{this.handleInput(e,0)},onChange:e=>{this.handleChange(e,0)}})),this.showPlaceholder1?(0,i.h)("div",{class:`${t}-input__placeholder`},(0,i.h)("span",null,this.mergedPlaceholder[0])):null,this.autosize?(0,i.h)("div",{class:`${t}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"},"\xa0"):null),!this.pair&&(0,B.K9)(g.suffix,e=>e||this.clearable||this.showCount||this.mergedShowPasswordOn||void 0!==this.loading?(0,i.h)("div",{class:`${t}-input__suffix`},[(0,B.K9)(g["clear-icon-placeholder"],e=>(this.clearable||e)&&(0,i.h)(c.Z,{clsPrefix:t,show:this.showClearButton,onClear:this.handleClear},{placeholder:()=>e,icon:()=>{var e,r;return null==(r=(e=this.$slots)["clear-icon"])?void 0:r.call(e)}})),this.internalLoadingBeforeSuffix?null:e,void 0!==this.loading?(0,i.h)(d.Z,{clsPrefix:t,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?e:null,this.showCount&&"textarea"!==this.type?(0,i.h)(P,null,{default:e=>{var r;let{renderCount:t}=this;return t?t(e):null==(r=g.count)?void 0:r.call(g,e)}}):null,this.mergedShowPasswordOn&&"password"===this.type?(0,i.h)("div",{class:`${t}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},this.passwordVisible?(0,B.gI)(g["password-visible-icon"],()=>[(0,i.h)(h.Z,{clsPrefix:t},{default:()=>(0,i.h)(p.Z,null)})]):(0,B.gI)(g["password-invisible-icon"],()=>[(0,i.h)(h.Z,{clsPrefix:t},{default:()=>(0,i.h)(v,null)})])):null]):null)),this.pair?(0,i.h)("span",{class:`${t}-input__separator`},(0,B.gI)(g.separator,()=>[this.separator])):null,this.pair?(0,i.h)("div",{class:`${t}-input-wrapper`},(0,i.h)("div",{class:`${t}-input__input`},(0,i.h)("input",{ref:"inputEl2Ref",type:this.type,class:`${t}-input__input-el`,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[1],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[1]:void 0,readonly:this.readonly,style:this.textDecorationStyle[1],onBlur:this.handleInputBlur,onFocus:e=>{this.handleInputFocus(e,1)},onInput:e=>{this.handleInput(e,1)},onChange:e=>{this.handleChange(e,1)}}),this.showPlaceholder2?(0,i.h)("div",{class:`${t}-input__placeholder`},(0,i.h)("span",null,this.mergedPlaceholder[1])):null),(0,B.K9)(g.suffix,e=>(this.clearable||e)&&(0,i.h)("div",{class:`${t}-input__suffix`},[this.clearable&&(0,i.h)(c.Z,{clsPrefix:t,show:this.showClearButton,onClear:this.handleClear},{icon:()=>{var e;return null==(e=g["clear-icon"])?void 0:e.call(g)},placeholder:()=>{var e;return null==(e=g["clear-icon-placeholder"])?void 0:e.call(g)}}),e]))):null,this.mergedBordered?(0,i.h)("div",{class:`${t}-input__border`}):null,this.mergedBordered?(0,i.h)("div",{class:`${t}-input__state-border`}):null,this.showCount&&"textarea"===n?(0,i.h)(P,null,{default:e=>{var r;let{renderCount:t}=this;return t?t(e):null==(r=g.count)?void 0:r.call(g,e)}}):null)}})}}]);
\ No newline at end of file
+ `)])]);function F(e){return""===e||null==e}let P=(0,i.aZ)({name:"InputWordCount",setup(e,{slots:r}){let{mergedValueRef:t,maxlengthRef:l,mergedClsPrefixRef:n,countGraphemesRef:o}=(0,i.f3)($),a=(0,i.Fl)(()=>{let{value:e}=t;return null===e||Array.isArray(e)?0:(o.value||function(e){let r=0;for(let t of e)r++;return r})(e)});return()=>{let{value:e}=l,{value:o}=t;return(0,i.h)("span",{class:`${n.value}-input-word-count`},(0,A.q_)(r.default,{value:null===o||Array.isArray(o)?"":o},()=>[void 0===e?a.value:`${a.value} / ${e}`]))}}}),S=Object.assign(Object.assign({},f.Z.props),{bordered:{type:Boolean,default:void 0},type:{type:String,default:"text"},placeholder:[Array,String],defaultValue:{type:[String,Array],default:null},value:[String,Array],disabled:{type:Boolean,default:void 0},size:String,rows:{type:[Number,String],default:3},round:Boolean,minlength:[String,Number],maxlength:[String,Number],clearable:Boolean,autosize:{type:[Boolean,Object],default:!1},pair:Boolean,separator:String,readonly:{type:[String,Boolean],default:!1},passivelyActivated:Boolean,showPasswordOn:String,stateful:{type:Boolean,default:!0},autofocus:Boolean,inputProps:Object,resizable:{type:Boolean,default:!0},showCount:Boolean,loading:{type:Boolean,default:void 0},allowInput:Function,renderCount:Function,onMousedown:Function,onKeydown:Function,onKeyup:[Function,Array],onInput:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClick:[Function,Array],onChange:[Function,Array],onClear:[Function,Array],countGraphemes:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],textDecoration:[String,Array],attrSize:{type:Number,default:20},onInputBlur:[Function,Array],onInputFocus:[Function,Array],onDeactivate:[Function,Array],onActivate:[Function,Array],onWrapperFocus:[Function,Array],onWrapperBlur:[Function,Array],internalDeactivateOnEnter:Boolean,internalForceFocus:Boolean,internalLoadingBeforeSuffix:{type:Boolean,default:!0},showPasswordToggle:Boolean}),M=(0,i.aZ)({name:"Input",props:S,slots:Object,setup(e){let{mergedClsPrefixRef:r,mergedBorderedRef:t,inlineThemeDisabled:s,mergedRtlRef:u}=(0,g.ZP)(e),c=(0,f.Z)("Input","-input",Z,E.Z,e,r);B.G6&&(0,b.Z)("-input-safari",k,r);let d=(0,i.iH)(null),h=(0,i.iH)(null),v=(0,i.iH)(null),p=(0,i.iH)(null),A=(0,i.iH)(null),P=(0,i.iH)(null),S=(0,i.iH)(null),M=function(e){let r=(0,i.iH)(null);function t(){r.value=null}return(0,i.YP)(e,t),{recordCursor:function(){let{value:l}=e;if(!(null==l?void 0:l.focus))return void t();let{selectionStart:n,selectionEnd:o,value:a}=l;if(null==n||null==o)return void t();r.value={start:n,end:o,beforeText:a.slice(0,n),afterText:a.slice(o)}},restoreCursor:function(){var t;let{value:l}=r,{value:n}=e;if(!l||!n)return;let{value:o}=n,{start:a,beforeText:i,afterText:s}=l,u=o.length;if(o.endsWith(s))u=o.length-s.length;else if(o.startsWith(i))u=i.length;else{let e=i[a-1],r=o.indexOf(e,a-1);-1!==r&&(u=r+1)}null==(t=n.setSelectionRange)||t.call(n,u,u)}}}(S),_=(0,i.iH)(null),{localeRef:R}=(0,w.Z)("Input"),T=(0,i.iH)(e.defaultValue),L=(0,i.Vh)(e,"value"),I=(0,o.Z)(L,T),D=(0,x.Z)(e),{mergedSizeRef:H,mergedDisabledRef:V,mergedStatusRef:O}=D,W=(0,i.iH)(!1),K=(0,i.iH)(!1),j=(0,i.iH)(!1),N=(0,i.iH)(!1),Y=null,U=(0,i.Fl)(()=>{let{placeholder:r,pair:t}=e;return t?Array.isArray(r)?r:void 0===r?["",""]:[r,r]:void 0===r?[R.value.placeholder]:[r]}),X=(0,i.Fl)(()=>{let{value:e}=j,{value:r}=I,{value:t}=U;return!e&&(F(r)||Array.isArray(r)&&F(r[0]))&&t[0]}),G=(0,i.Fl)(()=>{let{value:e}=j,{value:r}=I,{value:t}=U;return!e&&t[1]&&(F(r)||Array.isArray(r)&&F(r[1]))}),q=(0,a.Z)(()=>e.internalForceFocus||W.value),J=(0,a.Z)(()=>{if(V.value||e.readonly||!e.clearable||!q.value&&!K.value)return!1;let{value:r}=I,{value:t}=q;return e.pair?!!(Array.isArray(r)&&(r[0]||r[1]))&&(K.value||t):!!r&&(K.value||t)}),Q=(0,i.Fl)(()=>{let{showPasswordOn:r}=e;return r||(e.showPasswordToggle?"click":void 0)}),ee=(0,i.iH)(!1),er=(0,i.Fl)(()=>{let{textDecoration:r}=e;return r?Array.isArray(r)?r.map(e=>({textDecoration:e})):[{textDecoration:r}]:["",""]}),et=(0,i.iH)(void 0),el=()=>{var r,t;if("textarea"===e.type){let{autosize:l}=e;if(l&&(et.value=null==(t=null==(r=_.value)?void 0:r.$el)?void 0:t.offsetWidth),!h.value||"boolean"==typeof l)return;let{paddingTop:n,paddingBottom:o,lineHeight:a}=window.getComputedStyle(h.value),i=Number(n.slice(0,-2)),s=Number(o.slice(0,-2)),u=Number(a.slice(0,-2)),{value:c}=v;if(!c)return;if(l.minRows){let e=Math.max(l.minRows,1),r=`${i+s+u*e}px`;c.style.minHeight=r}if(l.maxRows){let e=`${i+s+u*l.maxRows}px`;c.style.maxHeight=e}}},en=(0,i.Fl)(()=>{let{maxlength:r}=e;return void 0===r?void 0:Number(r)});(0,i.bv)(()=>{let{value:e}=I;Array.isArray(e)||ev(e)});let eo=(0,i.FN)().proxy;function ea(r,t){let{onUpdateValue:l,"onUpdate:value":n,onInput:o}=e,{nTriggerFormInput:a}=D;l&&(0,C.R)(l,r,t),n&&(0,C.R)(n,r,t),o&&(0,C.R)(o,r,t),T.value=r,a()}function ei(r,t){let{onChange:l}=e,{nTriggerFormChange:n}=D;l&&(0,C.R)(l,r,t),T.value=r,n()}function es(r,t=0,l="input"){let n=r.target.value;if(ev(n),r instanceof InputEvent&&!r.isComposing&&(j.value=!1),"textarea"===e.type){let{value:e}=_;e&&e.syncUnifiedContainer()}if(Y=n,j.value)return;M.recordCursor();let o=function(r){let{countGraphemes:t,maxlength:l,minlength:n}=e;if(t){let e;if(void 0!==l&&(void 0===e&&(e=t(r)),e>Number(l))||void 0!==n&&(void 0===e&&(e=t(r)),e<Number(l)))return!1}let{allowInput:o}=e;return"function"!=typeof o||o(r)}(n);if(o)if(e.pair){let{value:e}=I;(e=Array.isArray(e)?[e[0],e[1]]:["",""])[t]=n,"input"===l?ea(e,{source:t}):ei(e,{source:t})}else"input"===l?ea(n,{source:t}):ei(n,{source:t});eo.$forceUpdate(),o||(0,i.Y3)(M.restoreCursor)}function eu(r,t){if(null!==r.relatedTarget&&(r.relatedTarget===A.value||r.relatedTarget===P.value||r.relatedTarget===h.value||r.relatedTarget===d.value));else if("focus"===t){let{onFocus:t}=e,{nTriggerFormFocus:l}=D;t&&(0,C.R)(t,r),l(),W.value=!0}else if("blur"===t){let{onBlur:t}=e,{nTriggerFormBlur:l}=D;t&&(0,C.R)(t,r),l(),W.value=!1}}function ec(){e.pair?(ea(["",""],{source:"clear"}),ei(["",""],{source:"clear"})):(ea("",{source:"clear"}),ei("",{source:"clear"}))}function ed(){e.passivelyActivated&&(N.value=!1,(0,i.Y3)(()=>{var e;null==(e=d.value)||e.focus()}))}function eh(){var r,t,l;V.value||(e.passivelyActivated?null==(r=d.value)||r.focus():(null==(t=h.value)||t.focus(),null==(l=A.value)||l.focus()))}function ev(r){let{type:t,pair:l,autosize:n}=e;if(!l&&n)if("textarea"===t){let{value:e}=v;e&&(e.textContent=`${null!=r?r:""}\r
+`)}else{let{value:e}=p;e&&(r?e.textContent=r:e.innerHTML="&nbsp;")}}let ep=(0,i.iH)({top:"0"}),ef=null;(0,i.m0)(()=>{let{autosize:r,type:t}=e;r&&"textarea"===t?ef=(0,i.YP)(I,e=>{Array.isArray(e)||e===Y||ev(e)}):null==ef||ef()});let eg=null;(0,i.m0)(()=>{"textarea"===e.type?eg=(0,i.YP)(I,e=>{var r;Array.isArray(e)||e===Y||null==(r=_.value)||r.syncUnifiedContainer()}):null==eg||eg()}),(0,i.JJ)($,{mergedValueRef:I,maxlengthRef:en,mergedClsPrefixRef:r,countGraphemesRef:(0,i.Vh)(e,"countGraphemes")});let eb=(0,m.V)("Input",u,r),ew=(0,i.Fl)(()=>{let{value:e}=H,{common:{cubicBezierEaseInOut:r},self:{color:t,borderRadius:l,textColor:o,caretColor:a,caretColorError:i,caretColorWarning:s,textDecorationColor:u,border:d,borderDisabled:h,borderHover:v,borderFocus:p,placeholderColor:f,placeholderColorDisabled:g,lineHeightTextarea:b,colorDisabled:w,colorFocus:x,textColorDisabled:y,boxShadowFocus:m,iconSize:C,colorFocusWarning:A,boxShadowFocusWarning:B,borderWarning:E,borderFocusWarning:$,borderHoverWarning:Z,colorFocusError:k,boxShadowFocusError:F,borderError:P,borderFocusError:S,borderHoverError:M,clearSize:_,clearColor:R,clearColorHover:T,clearColorPressed:L,iconColor:I,iconColorDisabled:D,suffixTextColor:V,countTextColor:O,countTextColorDisabled:W,iconColorHover:K,iconColorPressed:j,loadingColor:N,loadingColorError:Y,loadingColorWarning:U,fontWeight:X,[(0,z.Tl)("padding",e)]:G,[(0,z.Tl)("fontSize",e)]:q,[(0,z.Tl)("height",e)]:J}}=c.value,{left:Q,right:ee}=(0,n.tQ)(G);return{"--n-bezier":r,"--n-count-text-color":O,"--n-count-text-color-disabled":W,"--n-color":t,"--n-font-size":q,"--n-font-weight":X,"--n-border-radius":l,"--n-height":J,"--n-padding-left":Q,"--n-padding-right":ee,"--n-text-color":o,"--n-caret-color":a,"--n-text-decoration-color":u,"--n-border":d,"--n-border-disabled":h,"--n-border-hover":v,"--n-border-focus":p,"--n-placeholder-color":f,"--n-placeholder-color-disabled":g,"--n-icon-size":C,"--n-line-height-textarea":b,"--n-color-disabled":w,"--n-color-focus":x,"--n-text-color-disabled":y,"--n-box-shadow-focus":m,"--n-loading-color":N,"--n-caret-color-warning":s,"--n-color-focus-warning":A,"--n-box-shadow-focus-warning":B,"--n-border-warning":E,"--n-border-focus-warning":$,"--n-border-hover-warning":Z,"--n-loading-color-warning":U,"--n-caret-color-error":i,"--n-color-focus-error":k,"--n-box-shadow-focus-error":F,"--n-border-error":P,"--n-border-focus-error":S,"--n-border-hover-error":M,"--n-loading-color-error":Y,"--n-clear-color":R,"--n-clear-size":_,"--n-clear-color-hover":T,"--n-clear-color-pressed":L,"--n-icon-color":I,"--n-icon-color-hover":K,"--n-icon-color-pressed":j,"--n-icon-color-disabled":D,"--n-suffix-text-color":V}}),ex=s?(0,y.F)("input",(0,i.Fl)(()=>{let{value:e}=H;return e[0]}),ew,e):void 0;return Object.assign(Object.assign({},{wrapperElRef:d,inputElRef:A,textareaElRef:h,isCompositing:j,clear:ec,focus:eh,blur:function(){var e;(null==(e=d.value)?void 0:e.contains(document.activeElement))&&document.activeElement.blur()},select:function(){var e,r;null==(e=h.value)||e.select(),null==(r=A.value)||r.select()},deactivate:function(){let{value:e}=d;(null==e?void 0:e.contains(document.activeElement))&&e!==document.activeElement&&ed()},activate:function(){!V.value&&(h.value?h.value.focus():A.value&&A.value.focus())},scrollTo:function(r){if("textarea"===e.type){let{value:e}=h;null==e||e.scrollTo(r)}else{let{value:e}=A;null==e||e.scrollTo(r)}}}),{wrapperElRef:d,inputElRef:A,inputMirrorElRef:p,inputEl2Ref:P,textareaElRef:h,textareaMirrorElRef:v,textareaScrollbarInstRef:_,rtlEnabled:eb,uncontrolledValue:T,mergedValue:I,passwordVisible:ee,mergedPlaceholder:U,showPlaceholder1:X,showPlaceholder2:G,mergedFocus:q,isComposing:j,activated:N,showClearButton:J,mergedSize:H,mergedDisabled:V,textDecorationStyle:er,mergedClsPrefix:r,mergedBordered:t,mergedShowPasswordOn:Q,placeholderStyle:ep,mergedStatus:O,textAreaScrollContainerWidth:et,handleTextAreaScroll:function(e){var r;let{scrollTop:t}=e.target;ep.value.top=`${-t}px`,null==(r=_.value)||r.syncUnifiedContainer()},handleCompositionStart:function(){j.value=!0},handleCompositionEnd:function(e){j.value=!1,e.target===P.value?es(e,1):es(e,0)},handleInput:es,handleInputBlur:function(r){let{onInputBlur:t}=e;t&&(0,C.R)(t,r),r.relatedTarget===d.value&&function(){let{onDeactivate:r}=e;r&&(0,C.R)(r)}(),(null===r.relatedTarget||r.relatedTarget!==A.value&&r.relatedTarget!==P.value&&r.relatedTarget!==h.value)&&(N.value=!1),eu(r,"blur"),S.value=null},handleInputFocus:function(r,t){let{onInputFocus:l}=e;l&&(0,C.R)(l,r),W.value=!0,N.value=!0;let{onActivate:n}=e;n&&(0,C.R)(n),eu(r,"focus"),0===t?S.value=A.value:1===t?S.value=P.value:2===t&&(S.value=h.value)},handleWrapperBlur:function(r){if(e.passivelyActivated){let{onWrapperBlur:t}=e;t&&(0,C.R)(t,r),eu(r,"blur")}},handleWrapperFocus:function(r){if(e.passivelyActivated){W.value=!0;let{onWrapperFocus:t}=e;t&&(0,C.R)(t,r),eu(r,"focus")}},handleMouseEnter:function(){var r;K.value=!0,"textarea"===e.type&&(null==(r=_.value)||r.handleMouseEnterWrapper())},handleMouseLeave:function(){var r;K.value=!1,"textarea"===e.type&&(null==(r=_.value)||r.handleMouseLeaveWrapper())},handleMouseDown:function(r){let{onMousedown:t}=e;t&&t(r);let{tagName:l}=r.target;if("INPUT"!==l&&"TEXTAREA"!==l){if(e.resizable){let{value:e}=d;if(e){let{left:t,top:l,width:n,height:o}=e.getBoundingClientRect();if(t+n-14<r.clientX&&r.clientX<t+n&&l+o-14<r.clientY&&r.clientY<l+o)return}}r.preventDefault(),W.value||eh()}},handleChange:function(e,r){es(e,r,"change")},handleClick:function(r){let{onClick:t}=e;t&&(0,C.R)(t,r)},handleClear:function(r){let{onClear:t}=e;t&&(0,C.R)(t,r),ec()},handlePasswordToggleClick:function(){V.value||"click"===Q.value&&(ee.value=!ee.value)},handlePasswordToggleMousedown:function(e){if(V.value)return;e.preventDefault();let r=e=>{e.preventDefault(),(0,l.S)("mouseup",document,r)};if((0,l.on)("mouseup",document,r),"mousedown"!==Q.value)return;ee.value=!0;let t=()=>{ee.value=!1,(0,l.S)("mouseup",document,t)};(0,l.on)("mouseup",document,t)},handleWrapperKeydown:function(r){switch(e.onKeydown&&(0,C.R)(e.onKeydown,r),r.key){case"Escape":ed();break;case"Enter":!function(r){var t,l;if(e.passivelyActivated){let{value:n}=N;if(n){e.internalDeactivateOnEnter&&ed();return}r.preventDefault(),"textarea"===e.type?null==(t=h.value)||t.focus():null==(l=A.value)||l.focus()}}(r)}},handleWrapperKeyup:function(r){e.onKeyup&&(0,C.R)(e.onKeyup,r)},handleTextAreaMirrorResize:function(){el()},getTextareaScrollContainer:()=>h.value,mergedTheme:c,cssVars:s?void 0:ew,themeClass:null==ex?void 0:ex.themeClass,onRender:null==ex?void 0:ex.onRender})},render(){var e,r;let{mergedClsPrefix:t,mergedStatus:l,themeClass:n,type:o,countGraphemes:a,onRender:f}=this,g=this.$slots;return null==f||f(),(0,i.h)("div",{ref:"wrapperElRef",class:[`${t}-input`,n,l&&`${t}-input--${l}-status`,{[`${t}-input--rtl`]:this.rtlEnabled,[`${t}-input--disabled`]:this.mergedDisabled,[`${t}-input--textarea`]:"textarea"===o,[`${t}-input--resizable`]:this.resizable&&!this.autosize,[`${t}-input--autosize`]:this.autosize,[`${t}-input--round`]:this.round&&"textarea"!==o,[`${t}-input--pair`]:this.pair,[`${t}-input--focus`]:this.mergedFocus,[`${t}-input--stateful`]:this.stateful}],style:this.cssVars,tabindex:this.mergedDisabled||!this.passivelyActivated||this.activated?void 0:0,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,onClick:this.handleClick,onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onKeyup:this.handleWrapperKeyup,onKeydown:this.handleWrapperKeydown},(0,i.h)("div",{class:`${t}-input-wrapper`},(0,A.K9)(g.prefix,e=>e&&(0,i.h)("div",{class:`${t}-input__prefix`},e)),"textarea"===o?(0,i.h)(u.Z,{ref:"textareaScrollbarInstRef",class:`${t}-input__textarea`,container:this.getTextareaScrollContainer,triggerDisplayManually:!0,useUnifiedContainer:!0,internalHoistYRail:!0},{default:()=>{var e,r;let{textAreaScrollContainerWidth:l}=this,n={width:this.autosize&&l&&`${l}px`};return(0,i.h)(i.HY,null,(0,i.h)("textarea",Object.assign({},this.inputProps,{ref:"textareaElRef",class:[`${t}-input__textarea-el`,null==(e=this.inputProps)?void 0:e.class],autofocus:this.autofocus,rows:Number(this.rows),placeholder:this.placeholder,value:this.mergedValue,disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,readonly:this.readonly,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,style:[this.textDecorationStyle[0],null==(r=this.inputProps)?void 0:r.style,n],onBlur:this.handleInputBlur,onFocus:e=>{this.handleInputFocus(e,2)},onInput:this.handleInput,onChange:this.handleChange,onScroll:this.handleTextAreaScroll})),this.showPlaceholder1?(0,i.h)("div",{class:`${t}-input__placeholder`,style:[this.placeholderStyle,n],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?(0,i.h)(s.Z,{onResize:this.handleTextAreaMirrorResize},{default:()=>(0,i.h)("div",{ref:"textareaMirrorElRef",class:`${t}-input__textarea-mirror`,key:"mirror"})}):null)}}):(0,i.h)("div",{class:`${t}-input__input`},(0,i.h)("input",Object.assign({type:"password"===o&&this.mergedShowPasswordOn&&this.passwordVisible?"text":o},this.inputProps,{ref:"inputElRef",class:[`${t}-input__input-el`,null==(e=this.inputProps)?void 0:e.class],style:[this.textDecorationStyle[0],null==(r=this.inputProps)?void 0:r.style],tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[0],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[0]:this.mergedValue,readonly:this.readonly,autofocus:this.autofocus,size:this.attrSize,onBlur:this.handleInputBlur,onFocus:e=>{this.handleInputFocus(e,0)},onInput:e=>{this.handleInput(e,0)},onChange:e=>{this.handleChange(e,0)}})),this.showPlaceholder1?(0,i.h)("div",{class:`${t}-input__placeholder`},(0,i.h)("span",null,this.mergedPlaceholder[0])):null,this.autosize?(0,i.h)("div",{class:`${t}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"},"\xa0"):null),!this.pair&&(0,A.K9)(g.suffix,e=>e||this.clearable||this.showCount||this.mergedShowPasswordOn||void 0!==this.loading?(0,i.h)("div",{class:`${t}-input__suffix`},[(0,A.K9)(g["clear-icon-placeholder"],e=>(this.clearable||e)&&(0,i.h)(c.Z,{clsPrefix:t,show:this.showClearButton,onClear:this.handleClear},{placeholder:()=>e,icon:()=>{var e,r;return null==(r=(e=this.$slots)["clear-icon"])?void 0:r.call(e)}})),this.internalLoadingBeforeSuffix?null:e,void 0!==this.loading?(0,i.h)(d.Z,{clsPrefix:t,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?e:null,this.showCount&&"textarea"!==this.type?(0,i.h)(P,null,{default:e=>{var r;let{renderCount:t}=this;return t?t(e):null==(r=g.count)?void 0:r.call(g,e)}}):null,this.mergedShowPasswordOn&&"password"===this.type?(0,i.h)("div",{class:`${t}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},this.passwordVisible?(0,A.gI)(g["password-visible-icon"],()=>[(0,i.h)(h.Z,{clsPrefix:t},{default:()=>(0,i.h)(v.Z,null)})]):(0,A.gI)(g["password-invisible-icon"],()=>[(0,i.h)(h.Z,{clsPrefix:t},{default:()=>(0,i.h)(p,null)})])):null]):null)),this.pair?(0,i.h)("span",{class:`${t}-input__separator`},(0,A.gI)(g.separator,()=>[this.separator])):null,this.pair?(0,i.h)("div",{class:`${t}-input-wrapper`},(0,i.h)("div",{class:`${t}-input__input`},(0,i.h)("input",{ref:"inputEl2Ref",type:this.type,class:`${t}-input__input-el`,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[1],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[1]:void 0,readonly:this.readonly,style:this.textDecorationStyle[1],onBlur:this.handleInputBlur,onFocus:e=>{this.handleInputFocus(e,1)},onInput:e=>{this.handleInput(e,1)},onChange:e=>{this.handleChange(e,1)}}),this.showPlaceholder2?(0,i.h)("div",{class:`${t}-input__placeholder`},(0,i.h)("span",null,this.mergedPlaceholder[1])):null),(0,A.K9)(g.suffix,e=>(this.clearable||e)&&(0,i.h)("div",{class:`${t}-input__suffix`},[this.clearable&&(0,i.h)(c.Z,{clsPrefix:t,show:this.showClearButton,onClear:this.handleClear},{icon:()=>{var e;return null==(e=g["clear-icon"])?void 0:e.call(g)},placeholder:()=>{var e;return null==(e=g["clear-icon-placeholder"])?void 0:e.call(g)}}),e]))):null,this.mergedBordered?(0,i.h)("div",{class:`${t}-input__border`}):null,this.mergedBordered?(0,i.h)("div",{class:`${t}-input__state-border`}):null,this.showCount&&"textarea"===o?(0,i.h)(P,null,{default:e=>{var r;let{renderCount:t}=this;return t?t(e):null==(r=g.count)?void 0:r.call(g,e)}}):null)}})}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/2190.7bf25cf5.js b/core/public/dist/static/js/async/2190.7bf25cf5.js
new file mode 100644
index 00000000..79780501
--- /dev/null
+++ b/core/public/dist/static/js/async/2190.7bf25cf5.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["2190"],{76072:function(t,e,r){r.d(e,{J:()=>a});let o=[],n=new WeakMap;function l(){o.forEach(t=>t(...n.get(t))),o=[]}function a(t,...e){n.set(t,e),o.includes(t)||1===o.push(t)&&requestAnimationFrame(l)}},74557:function(t,e,r){let o,n;r.d(e,{Z:()=>d});var l,a,i=r(58786);function d(t){if(n)return;let e=!1;(0,i.bv)(()=>{n||null==o||o.then(()=>{e||t()})}),(0,i.Jd)(()=>{e=!0})}o=r(86223).j?null==(a=null==(l=document)?void 0:l.fonts)?void 0:a.ready:void 0,n=!1,void 0!==o?o.then(()=>{n=!0}):n=!0},1257:function(t,e,r){r.d(e,{Z:()=>d});var o=r(58786),n=r(76072),l=r(82518),a=r(97355),i=r(22288);let d=(0,o.aZ)({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(t){var e;(0,o.JJ)("VBinder",null==(e=(0,o.FN)())?void 0:e.proxy);let r=(0,o.f3)("VBinder",null),a=(0,o.iH)(null),d=[],s=()=>{let t=a.value;for(;null!==(t=(0,i.rP)(t));)d.push(t);for(let t of d)(0,l.on)("scroll",t,p,!0)},f=()=>{for(let t of d)(0,l.S)("scroll",t,p,!0);d=[]},u=new Set,p=()=>{(0,n.J)(h)},h=()=>{u.forEach(t=>t())},c=new Set,m=()=>{c.forEach(t=>t())};return(0,o.Jd)(()=>{(0,l.S)("resize",window,m),f()}),{targetRef:a,setTargetRef:e=>{a.value=e,r&&t.syncTargetWithParent&&r.setTargetRef(e)},addScrollListener:t=>{0===u.size&&s(),u.has(t)||u.add(t)},removeScrollListener:t=>{u.has(t)&&u.delete(t),0===u.size&&f()},addResizeListener:t=>{0===c.size&&(0,l.on)("resize",window,m),c.has(t)||c.add(t)},removeResizeListener:t=>{c.has(t)&&c.delete(t),0===c.size&&(0,l.S)("resize",window,m)}}},render(){return(0,a.z9)("binder",this.$slots)}})},67553:function(t,e,r){r.d(e,{Z:()=>$});var o=r(58786),n=r(71465),l=r(61691),a=r(74557),i=r(23967),d=r(64148),s=r(77427),f=r(60794);let u={top:"bottom",bottom:"top",left:"right",right:"left"},p={start:"end",center:"center",end:"start"},h={top:"height",bottom:"height",left:"width",right:"width"},c={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},m={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},g={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},v={top:!0,bottom:!1,left:!0,right:!1},b={top:"end",bottom:"start",left:"end",right:"start"};var w=r(22288);let x=(0,s.c)([(0,s.c)(".v-binder-follower-container",{position:"absolute",left:"0",right:"0",top:"0",height:"0",pointerEvents:"none",zIndex:"auto"}),(0,s.c)(".v-binder-follower-content",{position:"absolute",zIndex:"auto"},[(0,s.c)("> *",{pointerEvents:"all"})])]),$=(0,o.aZ)({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(t){let e=(0,o.f3)("VBinder"),r=(0,l.Z)(()=>void 0!==t.enabled?t.enabled:t.show),n=(0,o.iH)(null),f=(0,o.iH)(null),$=()=>{let{syncTrigger:r}=t;r.includes("scroll")&&e.addScrollListener(z),r.includes("resize")&&e.addResizeListener(z)},M=()=>{e.removeScrollListener(z),e.removeResizeListener(z)};(0,o.bv)(()=>{r.value&&(z(),$())});let y=(0,d.O)();x.mount({id:"vueuc/binder",head:!0,anchorMetaName:s.A,ssr:y}),(0,o.Jd)(()=>{M()}),(0,a.Z)(()=>{r.value&&z()});let z=()=>{if(!r.value)return;let o=n.value;if(null===o)return;let l=e.targetRef,{x:a,y:i,overlap:d}=t,s=void 0!==a&&void 0!==i?(0,w.Tt)(a,i):(0,w.Dz)(l);o.style.setProperty("--v-target-width",`${Math.round(s.width)}px`),o.style.setProperty("--v-target-height",`${Math.round(s.height)}px`);let{width:x,minWidth:$,placement:M,internalShift:y,flip:z}=t;o.setAttribute("v-placement",M),d?o.setAttribute("v-overlap",""):o.removeAttribute("v-overlap");let{style:S}=o;"target"===x?S.width=`${s.width}px`:void 0!==x?S.width=x:S.width="","target"===$?S.minWidth=`${s.width}px`:void 0!==$?S.minWidth=$:S.minWidth="";let B=(0,w.Dz)(o),Y=(0,w.Dz)(f.value),{left:T,top:Z,placement:E}=function(t,e,r,o,n,l){if(!n||l)return{placement:t,top:0,left:0};let[a,i]=t.split("-"),d=null!=i?i:"center",s={top:0,left:0},f=(t,n,l)=>{let a=0,i=0,d=r[t]-e[n]-e[t];return d>0&&o&&(l?i=v[n]?d:-d:a=v[n]?d:-d),{left:a,top:i}},c="left"===a||"right"===a;if("center"!==d){let o=g[t],n=u[o],l=h[o];if(r[l]>e[l]){if(e[o]+e[l]<r[l]){let t=(r[l]-e[l])/2;e[o]<t||e[n]<t?e[o]<e[n]?(d=p[i],s=f(l,n,c)):s=f(l,o,c):d="center"}}else r[l]<e[l]&&e[n]<0&&e[o]>e[n]&&(d=p[i])}else{let t="bottom"===a||"top"===a?"left":"top",o=u[t],n=h[t],l=(r[n]-e[n])/2;(e[t]<l||e[o]<l)&&(e[t]>e[o]?(d=b[t],s=f(n,t,c)):(d=b[o],s=f(n,o,c)))}let m=a;return e[a]<r[h[a]]&&e[a]<e[u[a]]&&(m=u[a]),{placement:"center"!==d?`${m}-${d}`:m,left:s.left,top:s.top}}(M,s,B,y,z,d),P=d?m[E]:c[E],{left:R,top:X,transform:L}=function(t,e,r,o,n,l){if(l)switch(t){case"bottom-start":case"left-end":return{top:`${Math.round(r.top-e.top+r.height)}px`,left:`${Math.round(r.left-e.left)}px`,transform:"translateY(-100%)"};case"bottom-end":case"right-end":return{top:`${Math.round(r.top-e.top+r.height)}px`,left:`${Math.round(r.left-e.left+r.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top-start":case"left-start":return{top:`${Math.round(r.top-e.top)}px`,left:`${Math.round(r.left-e.left)}px`,transform:""};case"top-end":case"right-start":return{top:`${Math.round(r.top-e.top)}px`,left:`${Math.round(r.left-e.left+r.width)}px`,transform:"translateX(-100%)"};case"top":return{top:`${Math.round(r.top-e.top)}px`,left:`${Math.round(r.left-e.left+r.width/2)}px`,transform:"translateX(-50%)"};case"right":return{top:`${Math.round(r.top-e.top+r.height/2)}px`,left:`${Math.round(r.left-e.left+r.width)}px`,transform:"translateX(-100%) translateY(-50%)"};case"left":return{top:`${Math.round(r.top-e.top+r.height/2)}px`,left:`${Math.round(r.left-e.left)}px`,transform:"translateY(-50%)"};default:return{top:`${Math.round(r.top-e.top+r.height)}px`,left:`${Math.round(r.left-e.left+r.width/2)}px`,transform:"translateX(-50%) translateY(-100%)"}}switch(t){case"bottom-start":return{top:`${Math.round(r.top-e.top+r.height+o)}px`,left:`${Math.round(r.left-e.left+n)}px`,transform:""};case"bottom-end":return{top:`${Math.round(r.top-e.top+r.height+o)}px`,left:`${Math.round(r.left-e.left+r.width+n)}px`,transform:"translateX(-100%)"};case"top-start":return{top:`${Math.round(r.top-e.top+o)}px`,left:`${Math.round(r.left-e.left+n)}px`,transform:"translateY(-100%)"};case"top-end":return{top:`${Math.round(r.top-e.top+o)}px`,left:`${Math.round(r.left-e.left+r.width+n)}px`,transform:"translateX(-100%) translateY(-100%)"};case"right-start":return{top:`${Math.round(r.top-e.top+o)}px`,left:`${Math.round(r.left-e.left+r.width+n)}px`,transform:""};case"right-end":return{top:`${Math.round(r.top-e.top+r.height+o)}px`,left:`${Math.round(r.left-e.left+r.width+n)}px`,transform:"translateY(-100%)"};case"left-start":return{top:`${Math.round(r.top-e.top+o)}px`,left:`${Math.round(r.left-e.left+n)}px`,transform:"translateX(-100%)"};case"left-end":return{top:`${Math.round(r.top-e.top+r.height+o)}px`,left:`${Math.round(r.left-e.left+n)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top":return{top:`${Math.round(r.top-e.top+o)}px`,left:`${Math.round(r.left-e.left+r.width/2+n)}px`,transform:"translateY(-100%) translateX(-50%)"};case"right":return{top:`${Math.round(r.top-e.top+r.height/2+o)}px`,left:`${Math.round(r.left-e.left+r.width+n)}px`,transform:"translateY(-50%)"};case"left":return{top:`${Math.round(r.top-e.top+r.height/2+o)}px`,left:`${Math.round(r.left-e.left+n)}px`,transform:"translateY(-50%) translateX(-100%)"};default:return{top:`${Math.round(r.top-e.top+r.height+o)}px`,left:`${Math.round(r.left-e.left+r.width/2+n)}px`,transform:"translateX(-50%)"}}}(E,Y,s,Z,T,d);o.setAttribute("v-placement",E),o.style.setProperty("--v-offset-left",`${Math.round(T)}px`),o.style.setProperty("--v-offset-top",`${Math.round(Z)}px`),o.style.transform=`translateX(${R}) translateY(${X}) ${L}`,o.style.setProperty("--v-transform-origin",P),o.style.transformOrigin=P};(0,o.YP)(r,t=>{t?($(),S()):M()});let S=()=>{(0,o.Y3)().then(z).catch(t=>console.error(t))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(e=>{(0,o.YP)((0,o.Vh)(t,e),z)}),["teleportDisabled"].forEach(e=>{(0,o.YP)((0,o.Vh)(t,e),S)}),(0,o.YP)((0,o.Vh)(t,"syncTrigger"),t=>{t.includes("resize")?e.addResizeListener(z):e.removeResizeListener(z),t.includes("scroll")?e.addScrollListener(z):e.removeScrollListener(z)});let B=(0,i.Z)();return{VBinder:e,mergedEnabled:r,offsetContainerRef:f,followerRef:n,mergedTo:(0,l.Z)(()=>{let{to:e}=t;if(void 0!==e)return e;B.value}),syncPosition:z}},render(){return(0,o.h)(f.Z,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var t,e;let r=(0,o.h)("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[(0,o.h)("div",{class:"v-binder-follower-content",ref:"followerRef"},null==(e=(t=this.$slots).default)?void 0:e.call(t))]);return this.zindexable?(0,o.wy)(r,[[n.Z,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):r}})}})},53242:function(t,e,r){r.d(e,{Z:()=>l});var o=r(58786),n=r(97355);let l=(0,o.aZ)({name:"Target",setup(){let{setTargetRef:t,syncTarget:e}=(0,o.f3)("VBinder");return{syncTarget:e,setTargetDirective:{mounted:t,updated:t}}},render(){let{syncTarget:t,setTargetDirective:e}=this;return t?(0,o.wy)((0,n.Nb)("follower",this.$slots),[[e]]):(0,n.Nb)("follower",this.$slots)}})},22288:function(t,e,r){r.d(e,{Dz:()=>a,Tt:()=>l,rP:()=>function t(e){if(null===e)return null;let r=9===e.nodeType?null:e.parentNode;if(null===r)return null;if(9===r.nodeType)return document;if(1===r.nodeType){let{overflow:t,overflowX:e,overflowY:o}=getComputedStyle(r);if(/(auto|scroll|overlay)/.test(t+o+e))return r}return t(r)}});let o=null;function n(){if(null===o&&null===(o=document.getElementById("v-binder-view-measurer"))){(o=document.createElement("div")).id="v-binder-view-measurer";let{style:t}=o;t.position="fixed",t.left="0",t.right="0",t.top="0",t.bottom="0",t.pointerEvents="none",t.visibility="hidden",document.body.appendChild(o)}return o.getBoundingClientRect()}function l(t,e){let r=n();return{top:e,left:t,height:0,width:0,right:r.width-t,bottom:r.height-e}}function a(t){let e=t.getBoundingClientRect(),r=n();return{left:e.left-r.left,top:e.top-r.top,bottom:r.height+r.top-e.bottom,right:r.width+r.left-e.right,width:e.width,height:e.height}}},77427:function(t,e,r){r.d(e,{A:()=>n,c:()=>o});let{c:o}=(0,r(80673).j)(),n="vueuc-style"},5914:function(t,e,r){r.d(e,{G:()=>l,M:()=>n});var o=r(19050);let n=(0,o.U)("n-internal-select-menu"),l=(0,o.U)("n-internal-select-menu-body")},61730:function(t,e,r){r.d(e,{n:()=>u});var o=r(82518),n=r(61691),l=r(58786),a=r(5914),i=r(83549),d=r(62383),s=r(8608);let f="__disabled__";function u(t){let e=(0,l.f3)(d.ZJ,null),r=(0,l.f3)(i.H,null),u=(0,l.f3)(s.c,null),p=(0,l.f3)(a.G,null),h=(0,l.iH)();if("undefined"!=typeof document){h.value=document.fullscreenElement;let t=()=>{h.value=document.fullscreenElement};(0,l.bv)(()=>{(0,o.on)("fullscreenchange",document,t)}),(0,l.Jd)(()=>{(0,o.S)("fullscreenchange",document,t)})}return(0,n.Z)(()=>{var o;let{to:n}=t;return void 0!==n?!1===n?f:!0===n?h.value||"body":n:(null==e?void 0:e.value)?null!=(o=e.value.$el)?o:e.value:(null==r?void 0:r.value)?r.value:(null==u?void 0:u.value)?u.value:(null==p?void 0:p.value)?p.value:null!=n?n:h.value||"body"})}u.tdkey=f,u.propTo={type:[String,Object,Boolean],default:void 0}}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/2302.b281a43e.js b/core/public/dist/static/js/async/2302.b281a43e.js
new file mode 100644
index 00000000..40b30002
--- /dev/null
+++ b/core/public/dist/static/js/async/2302.b281a43e.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["2302"],{47250:function(a,l,s){s.r(l),s.d(l,{default:()=>_});var o=s(57869),t=s(98048),e=s(8490),i=s(6455),c=s(73084),r=s(58786);let n={class:"content-wrapper"},d=(0,r.aZ)({__name:"ProjectDetails",setup(a){let l=(0,r.iH)([{label:"test",value:"test"}]);return(a,s)=>{let d=c.Z,_=i.ZP,p=e.Z,u=t.Z,v=o.ZP;return(0,r.wg)(),(0,r.iD)("div",n,[(0,r.Wm)(v,{class:"mb-5"},{default:(0,r.w5)(()=>[s[3]||(s[3]=(0,r._)("div",{class:"page-tit"},[(0,r._)("div",{class:"back-tool"},[(0,r._)("i",{class:"i-ri:apps-fill text-6"})]),(0,r._)("span",{class:"tit-content"}," Project Details ")],-1)),(0,r.Wm)(u,null,{default:(0,r.w5)(()=>[(0,r.Wm)(_,null,{label:(0,r.w5)(()=>s[0]||(s[0]=[(0,r._)("span",{class:"form-label"},"Project Name",-1)])),default:(0,r.w5)(()=>[(0,r.Wm)(d)]),_:1}),(0,r.Wm)(_,null,{label:(0,r.w5)(()=>s[1]||(s[1]=[(0,r._)("span",{class:"form-label"},"Description",-1)])),default:(0,r.w5)(()=>[(0,r.Wm)(d,{type:"textarea",rows:7})]),_:1}),(0,r.Wm)(_,null,{label:(0,r.w5)(()=>s[2]||(s[2]=[(0,r._)("span",{class:"form-label"},"Industry",-1)])),default:(0,r.w5)(()=>[(0,r.Wm)(p,{options:(0,r.SU)(l)},null,8,["options"])]),_:1})]),_:1})]),_:1,__:[3]}),(0,r.Wm)(v,null,{default:(0,r.w5)(()=>s[4]||(s[4]=[(0,r._)("div",{class:"page-tit"},[(0,r._)("div",{class:"back-tool"},[(0,r._)("i",{class:"i-ri:earth-fill text-6"})]),(0,r._)("span",{class:"tit-content"}," Brand Logos ")],-1),(0,r._)("div",{class:"sub-tit"},[(0,r._)("span",{class:"tit"},"Logo System"),(0,r._)("span",null,"Upload your brand's logo system to maintain consistent branding across your project")],-1),(0,r._)("div",{class:"logo-operation"},[(0,r._)("div",{class:"operation-item"},[(0,r._)("div",{class:"operation-tit"},"Primary Logo"),(0,r._)("div",{class:"operation-sub-tit"},"Horizontal version for headers"),(0,r._)("div",{class:"logo-area"},[(0,r._)("div",{class:"upload-logo-placeholder"},[(0,r._)("i",{class:"i-carbon:cloud-upload text-7"}),(0,r._)("span",null,"Primary Logo")])])]),(0,r._)("div",{class:"operation-item"},[(0,r._)("div",{class:"operation-tit"},"Secondary Logo"),(0,r._)("div",{class:"operation-sub-tit"},"Vertical/stacked version"),(0,r._)("div",{class:"logo-area"},[(0,r._)("div",{class:"upload-logo-placeholder"},[(0,r._)("i",{class:"i-carbon:cloud-upload text-7"}),(0,r._)("span",null,"Primary Logo")])])]),(0,r._)("div",{class:"operation-item"},[(0,r._)("div",{class:"operation-tit"},"Favicon"),(0,r._)("div",{class:"operation-sub-tit"},"Icon for browser tabs"),(0,r._)("div",{class:"logo-area"},[(0,r._)("div",{class:"upload-logo-placeholder"},[(0,r._)("i",{class:"i-carbon:cloud-upload text-7"}),(0,r._)("span",null,"Primary Logo")])]),(0,r._)("div",{class:"operation-tools"},[(0,r._)("div",{class:"tool-item"},[(0,r._)("i",{class:"i-carbon:copy text-4"})]),(0,r._)("div",{class:"tool-item"},[(0,r._)("i",{class:"i-carbon:overflow-menu-vertical text-4"})]),(0,r._)("div",{class:"tool-item"},[(0,r._)("i",{class:"i-carbon:export text-4"})]),(0,r._)("div",{class:"tool-item"},[(0,r._)("i",{class:"i-material-symbols:delete-outline text-4"})])])])],-1)])),_:1,__:[4]})])}}}),_=(0,s(41748).default)(d,[["__scopeId","data-v-5b8dd4f7"]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/2558.8e4d5373.js b/core/public/dist/static/js/async/2558.8e4d5373.js
new file mode 100644
index 00000000..c17236ee
--- /dev/null
+++ b/core/public/dist/static/js/async/2558.8e4d5373.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["2558"],{39866:function(l,s,e){e.r(s),e.d(s,{default:()=>o});var t=e(57869),a=e(98048),n=e(6455),i=e(8490),c=e(73084),d=e(58786);let r={class:"content-wrapper"},u={class:"inline-form-items"},o=(0,e(41748).default)({},[["render",function(l,s){let e=c.Z,o=i.Z,_=n.ZP,f=a.Z,p=t.ZP;return(0,d.wg)(),(0,d.iD)("div",r,[(0,d.Wm)(p,null,{default:(0,d.w5)(()=>[s[1]||(s[1]=(0,d._)("div",{class:"page-tit"},[(0,d._)("div",{class:"back-tool"},[(0,d._)("i",{class:"i-ri:apps-fill text-6"})]),(0,d._)("span",{class:"tit-content"}," Sitemap ")],-1)),(0,d.Wm)(f,null,{default:(0,d.w5)(()=>[(0,d.Wm)(_,null,{default:(0,d.w5)(()=>[(0,d._)("div",u,[(0,d.Wm)(e,{class:"name"}),(0,d.Wm)(e,{class:"url"}),(0,d.Wm)(o,{class:"type"}),s[0]||(s[0]=(0,d._)("div",{class:"operation"},[(0,d._)("i",{class:"i-material-symbols:close-rounded text-5"})],-1))])]),_:1})]),_:1})]),_:1,__:[1]})])}],["__scopeId","data-v-08844665"]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/2786.0ccc2d3b.js b/core/public/dist/static/js/async/2786.0ccc2d3b.js
new file mode 100644
index 00000000..eacfb977
--- /dev/null
+++ b/core/public/dist/static/js/async/2786.0ccc2d3b.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["2786"],{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}=(0,a.VPI)({legacy:!0});return{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"))}}}},49034:function(e,t,s){s.r(t),s.d(t,{default:()=>e1});var l=s(58786),a=s(30989),i=s(15410),n=s(68271),r=s(34541);let{t:m}=s(76882).Z.global,o=()=>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:m("settings.api.loading.setting"),successMessage:!0}}),d=e=>r.e.post("/settings/set_ssl_config",e,{fetchOptions:{loading:m("settings.api.loading.settingSSL"),successMessage:!0}}),v=()=>r.e.post("/ssl/console_apply_cert",{},{fetchOptions:{loading:m("settings.api.loading.applyingCert"),successMessage:!0}}),p=e=>r.e.post("/settings/add_ip_whitelist",e,{fetchOptions:{loading:m("settings.api.loading.adding"),successMessage:!0}}),g=e=>r.e.post("/settings/delete_ip_whitelist",e,{fetchOptions:{loading:m("settings.api.loading.deleting"),successMessage:!0}}),w=()=>r.e.post("/settings/set_ip_whitelist",{ip_list:[]},{fetchOptions:{loading:m("settings.api.loading.clearing"),successMessage:!0}}),_=(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:""}),m=(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)(""),v=(0,l.iH)(""),p=(0,l.iH)(""),g=(0,l.iH)(""),w=(0,l.iH)(""),_=(0,l.iH)(!1),f=(0,l.iH)([]),y=async()=>{let t=await o();if((0,n.Kn)(t)&&(e.value=t.admin_username,a.value=t.safe_path,c.value=t.billionmail_hostname,w.value=t.server_ip,_.value=t.ip_whitelist_enable,f.value=t.ip_whitelist,t.manage_ports&&(d.value=`${t.manage_ports.https}`,v.value=t.manage_ports.command_https),t.manage_timezone&&(p.value=t.manage_timezone.timezone,g.value=t.manage_timezone.command),t.ssl)){m.sslCert=t.ssl.certPem,m.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)}};return{currentUsername:e,currentPath:a,passwordMismatch:t,passwordStrength:s,securityForm:r,networkForm:m,sslInfo:u,currentDomain:c,currentPort:d,portCommand:v,currentTime:p,timeCommand:g,serverIp:w,ipWhitelistEnable:_,ipWhitelistList:f,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:y,reset:()=>{r.username="",r.newPassword="",r.confirmPassword="",r.securityPath="",m.domain="",m.sslEnabled=!0,m.sslCert="",m.sslKey="",u.status=!1,u.expireTime="",u.expireDays=0,d.value="",v.value="",p.value="",g.value="",w.value="",t.value=!1,s.value={level:"weak",score:0}}}}),f=()=>{let e=_();return{...e,...(0,a.Jk)(e)}};var y=s(57869),h=s(98048),x=s(33756),U=s(56357),S=s(67655),b=s(6455),k=s(73084),W=s(52495);let P={class:"flex-1 grid grid-cols-1 md:grid-cols-2 gap-4"},Z={class:"mt-1 text-xs text-desc"},z={class:"mt-1 text-xs text-desc"},C={class:"mt-4px"},H=(0,l.aZ)({__name:"UsernameSettings",setup(e,t){let{expose:s}=t,{t:a}=(0,W.QT)(),{currentUsername:i,securityForm:n}=f(),r=(0,l.AE)("formItemRef"),m=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=k.Z,a=b.ZP,o=S.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",P,[(0,l._)("div",null,[(0,l.Wm)(s,{value:(0,l.SU)(i),disabled:""},null,8,["value"]),(0,l._)("p",Z,(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",z,(0,l.zw)(e.$t("settings.common.security.usernameRule")),1)])])]),_:1},8,["label"]),(0,l._)("div",C,[(0,l.Wm)(o,{type:"primary",disabled:!(0,l.SU)(n).username,onClick:m},{default:(0,l.w5)(()=>[(0,l.Uk)((0,l.zw)(e.$t("settings.common.confirm")),1)]),_:1},8,["disabled"])])],64)}}}),T={class:"mt-2 flex items-center"},E={class:"flex-1 bg-gray-200 rounded-full h-1 mr-2"},$={class:"text-xs text-gray-500"},D=(0,l.aZ)({__name:"PasswordStrengthIndicator",props:{strength:{type:Object,required:!0}},setup(e){let{t}=(0,W.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",T,[(0,l._)("div",E,[(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",$,(0,l.zw)((0,l.SU)(t)("settings.common.security.passwordStrength"))+": "+(0,l.zw)((0,l.SU)(i)),1)]))}}),R={class:"flex-1 flex flex-col gap-20px"},j=(0,l.aZ)({__name:"PasswordSettings",setup(e,t){let{expose:s}=t,{t:a}=(0,W.QT)(),{securityForm:i,passwordStrength:n,checkPasswordStrength:r}=f(),m=(0,l.AE)("formItemRef"),o=(0,l.Fl)(()=>!i.value.newPassword||!i.value.confirmPassword),u=()=>{r()},d=async()=>{var e;await (null==(e=m.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=k.Z,r=b.ZP,c=S.ZP;return(0,l.wg)(),(0,l.iD)(l.HY,null,[(0,l.Wm)(r,{ref_key:"formItemRef",ref:m,label:e.$t("settings.common.security.changePassword"),path:"password"},{default:(0,l.w5)(()=>[(0,l._)("div",R,[(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)(D,{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)(o),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"},q={class:"mt-1 text-xs text-desc"},O={class:"mt-4px"},I=(0,l.aZ)({__name:"SecurityPathSettings",setup(e){let{t}=(0,W.QT)(),{currentPath:s,securityForm:a}=f(),i=async()=>{await c({key:"safe_path",value:a.value.securityPath}),s.value=a.value.securityPath,a.value.securityPath=""};return(e,n)=>{let r=k.Z,m=b.ZP,o=S.ZP;return(0,l.wg)(),(0,l.iD)(l.HY,null,[(0,l.Wm)(m,{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",q,(0,l.zw)((0,l.SU)(t)("settings.common.security.pathRule")),1)])])]),_:1},8,["label"]),(0,l._)("div",O,[(0,l.Wm)(o,{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)}}}),M={class:"flex items-center"},Q={class:"text-lg font-medium"},F=(0,l.aZ)({__name:"SecuritySettings",setup(e){let{t}=(0,W.QT)(),{securityForm:s}=f(),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 m=U.g,o=x.Z,u=h.Z,c=y.ZP;return(0,l.wg)(),(0,l.j4)(c,{class:"mb-8",bordered:!1},{header:(0,l.w5)(()=>[(0,l._)("div",M,[(0,l.Wm)(m,{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",Q,(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)(H,{ref_key:"usernameRef",ref:i},null,512),(0,l.Wm)(o),(0,l.Wm)(j,{ref_key:"passwordRef",ref:n},null,512),(0,l.Wm)(o),(0,l.Wm)(I)]),_:1},8,["model","rules"])]),_:1})}}});var V=s(29875);let Y={class:"block text-sm font-medium mb-3"},G={class:"flex items-center mb-4"},L={class:"ml-2 font-medium"},N={class:"mt-6"},J={class:"block text-sm font-medium mb-2"},B={class:"flex items-center"},X={class:"text-sm"},ee={class:"text-sm"},et={class:"text-sm"},es={class:"mt-6"},el={class:"block text-sm font-medium mb-2"},ea={class:"mt-4"},ei={class:"block text-sm font-medium mb-2"},en={class:"mt-6"},er=(0,l.aZ)({__name:"SSLSettings",setup(e){let{t}=(0,W.QT)(),{networkForm:s,sslInfo:a,currentDomain:i,serverIp:r,getCommonConfig:m}=f(),o=(0,l.Fl)(()=>!s.value.sslCert||!s.value.sslKey),u=async()=>{await d({certPem:s.value.sslCert,privateKey:s.value.sslKey}),m()},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 v(),m()}})};return(e,i)=>{let n=V.Z,r=k.Z,m=S.ZP;return(0,l.wg)(),(0,l.iD)("div",null,[(0,l._)("label",Y,(0,l.zw)((0,l.SU)(t)("settings.common.network.ssl")),1),(0,l._)("div",G,[(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",L,(0,l.zw)((0,l.SU)(t)("settings.common.network.sslEnabled")),1)]),(0,l._)("div",N,[(0,l._)("label",J,(0,l.zw)((0,l.SU)(t)("settings.common.network.certStatus")),1),(0,l._)("div",B,[(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",X,(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",ee,(0,l.zw)((0,l.SU)(t)("settings.common.network.certExpireTime",{time:(0,l.SU)(a).expireTime})),1),(0,l._)("span",et,(0,l.zw)((0,l.SU)(t)("settings.common.network.certValid",{days:(0,l.SU)(a).expireDays})),1)])]),(0,l._)("div",es,[(0,l._)("label",el,(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",ea,[(0,l._)("label",ei,(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",en,[(0,l.Wm)(m,{type:"primary",disabled:(0,l.SU)(o),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)(m,{type:"primary",class:"ml-12px",ghost:"",onClick:c},{default:(0,l.w5)(()=>i[3]||(i[3]=[(0,l.Uk)(" Apply Certificate ")])),_:1,__:[3]})])])}}}),em={class:"flex-1 grid grid-cols-1 md:grid-cols-2 gap-4"},eo={class:"mt-1 text-xs text-gray-500"},eu={class:"mt-1 text-xs text-gray-500"},ec=(0,l.aZ)({__name:"DomainSettings",setup(e){let{currentDomain:t,networkForm:s}=f(),a=async()=>{await c({key:"billionmail_hostname",value:s.value.domain}),t.value=s.value.domain,s.value.domain=""};return(e,i)=>{let n=k.Z,r=b.ZP,m=S.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",em,[(0,l._)("div",null,[(0,l.Wm)(n,{value:(0,l.SU)(t),disabled:""},null,8,["value"]),(0,l._)("p",eo,(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",eu,(0,l.zw)(e.$t("settings.common.network.domainRule")),1)])])]),_:1},8,["label"]),(0,l._)("div",null,[(0,l.Wm)(m,{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)}}}),ed={class:"flex items-center"},ev={class:"text-lg font-medium"},ep=(0,l.aZ)({__name:"NetworkSettings",setup:e=>(e,t)=>{let s=U.g,a=x.Z,i=h.Z,n=y.ZP;return(0,l.wg)(),(0,l.j4)(n,{class:"mb-8",bordered:!1},{header:(0,l.w5)(()=>[(0,l._)("div",ed,[(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",ev,(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)(er),(0,l.Wm)(a),(0,l.Wm)(ec)]),_:1})]),_:1})}});var eg=s(99321),ew=s(77984);let e_={class:"bg-gray-900 text-gray-100 rounded-lg p-4 pr-48px font-mono text-sm relative"},ef={class:"absolute top-0px right-16px h-full flex items-center"},ey={class:"mt-2 text-12px text-desc"},eh=(0,l.aZ)({__name:"Command",props:{value:{type:String,default:""}},setup(e){let{copyText:t}=(0,ew.F)();return(s,a)=>{let i=S.ZP;return(0,l.wg)(),(0,l.iD)(l.HY,null,[(0,l._)("div",e_,[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",ef,[(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",ey,(0,l.zw)(s.$t("settings.common.system.copyCommand")),1)],64)}}}),ex={class:"block text-sm font-medium text-basic mb-3"},eU={class:"grid items-start grid-cols-1 md:grid-cols-2 gap-4"},eS={class:"mt-1 text-xs text-desc"},eb={class:"flex items-center"},ek={class:"mt-5"},eW=(0,l.aZ)({__name:"PortSettings",setup(e){let{t}=(0,W.QT)(),{currentPort:s,portCommand:a}=f(),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=k.Z,m=U.g,o=eg.Z;return(0,l.wg)(),(0,l.iD)("div",null,[(0,l._)("label",ex,(0,l.zw)((0,l.SU)(t)("settings.common.system.port")),1),(0,l._)("div",eU,[(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",eS,(0,l.zw)((0,l.SU)(t)("settings.common.system.currentPort")),1)]),(0,l._)("div",eb,[(0,l.Wm)(o,{type:"warning",class:"w-full"},{icon:(0,l.w5)(()=>[(0,l.Wm)(m,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",ek,[(0,l.Wm)(eh,{value:(0,l.SU)(n)},null,8,["value"])])])}}});var eP=s(8490);let eZ={class:"block text-sm font-medium text-basic mb-3"},ez={class:"grid items-start grid-cols-1 md:grid-cols-2 gap-4"},eC={class:"flex gap-12px"},eH={class:"flex-1"},eT={class:"flex-1"},eE={class:"mt-1 text-xs text-desc"},e$={class:"flex items-center"},eD={class:"mt-5"},eR=(0,l.aZ)({__name:"TimezoneSettings",setup(e){let{t}=(0,W.QT)(),{currentTime:s,timeCommand:a}=f(),i=(0,l.iH)(""),r=(0,l.iH)(""),m=(0,l.iH)(""),o=(0,l.iH)({}),c=(0,l.iH)([]),d=(0,l.Fl)(()=>{let e=o.value[i.value];return e?e.map(e=>({label:e,value:e})):[]}),v=()=>{let e=o.value[i.value];r.value=e?e[0]:"",p()},p=()=>{i.value&&r.value&&(m.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],m.value=a.value.replace(/TIME ZONE/g,`${i.value}/${r.value}`)}},{immediate:!0}),(async()=>{let e=await u();(0,n.Kn)(e)&&(o.value=e,c.value=Object.keys(e).map(e=>({label:e,value:e})))})(),(e,s)=>{let a=eP.Z,n=U.g,o=eg.Z;return(0,l.wg)(),(0,l.iD)("div",null,[(0,l._)("label",eZ,(0,l.zw)((0,l.SU)(t)("settings.common.system.timezone")),1),(0,l._)("div",ez,[(0,l._)("div",null,[(0,l._)("div",eC,[(0,l._)("div",eH,[(0,l.Wm)(a,{value:(0,l.SU)(i),"onUpdate:value":[s[0]||(s[0]=e=>(0,l.dq)(i)?i.value=e:null),v],options:(0,l.SU)(c),filterable:""},null,8,["value","options"])]),(0,l._)("div",eT,[(0,l.Wm)(a,{value:(0,l.SU)(r),"onUpdate:value":[s[1]||(s[1]=e=>(0,l.dq)(r)?r.value=e:null),p],options:(0,l.SU)(d),filterable:""},null,8,["value","options"])])]),(0,l._)("div",eE,(0,l.zw)((0,l.SU)(t)("settings.common.system.currentTime")),1)]),(0,l._)("div",e$,[(0,l.Wm)(o,{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",eD,[(0,l.Wm)(eh,{value:(0,l.SU)(m)},null,8,["value"])])])}}});var ej=s(81021),eA=s(88082),eK=s(54547);let eq={class:"block text-sm font-medium mb-3"},eO={class:"flex justify-between items-center h-34px mb-12px"},eI={class:"flex item-center gap-8px"},eM={class:"text-desc"},eQ={class:"flex gap-8px mb-12px"},eF={class:"flex-1"},eV={class:"text-13px"},eY={class:"mt-12px"},eG=(0,l.aZ)({__name:"IpWhitelistSettings",setup(e){let{ipWhitelistEnable:t,ipWhitelistList:s,getCommonConfig:a}=f(),i=(0,l.iH)(""),{t:r}=(0,W.QT)(),m=async()=>{if(""===i.value)return void n.v0.error(r("settings.common.ipWhitelist.validation.ipRequired"));await p({ip:i.value}),a(),i.value=""},o=(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 w(),a()}})};return(e,a)=>{let n=V.Z,c=k.Z,v=S.ZP,p=eK.Z,g=eA.ZP,w=ej.Z;return(0,l.wg)(),(0,l.iD)("div",null,[(0,l._)("label",eq,(0,l.zw)((0,l.SU)(r)("settings.common.ipWhitelist.title")),1),(0,l._)("div",eO,[(0,l._)("div",eI,[(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",eM,(0,l.zw)((0,l.SU)(r)("settings.common.ipWhitelist.description")),1)]),(0,l._)("div",eQ,[(0,l._)("div",eF,[(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)(v,{type:"primary",onClick:m},{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)(p,{key:e.id},{suffix:(0,l.w5)(()=>[(0,l.Wm)(v,{size:"small",quaternary:"",circle:"",onClick:s=>o(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",eV,(0,l.zw)(e.ip),1)]),_:2},1024))),128))]),_:1})):((0,l.wg)(),(0,l.j4)(w,{key:1})),(0,l._)("div",eY,[(0,l.Wm)(v,{onClick:d},{default:(0,l.w5)(()=>[(0,l.Uk)((0,l.zw)((0,l.SU)(r)("settings.common.ipWhitelist.clear")),1)]),_:1})])])}}}),eL={class:"flex items-center"},eN={class:"text-lg font-medium"},eJ={class:"space-y-8"},eB=(0,l.aZ)({__name:"SystemSettings",setup:e=>(e,t)=>{let s=U.g,a=x.Z,i=y.ZP;return(0,l.wg)(),(0,l.j4)(i,{class:"mb-8",bordered:!1},{header:(0,l.w5)(()=>[(0,l._)("div",eL,[(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",eN,(0,l.zw)(e.$t("settings.common.system.title")),1)])]),default:(0,l.w5)(()=>[(0,l._)("div",eJ,[(0,l.Wm)(eW),(0,l.Wm)(a),(0,l.Wm)(eR),(0,l.Wm)(a),(0,l.Wm)(eG)])]),_:1})}}),eX={class:"max-w-4xl mx-auto px-4 py-8"},e0=(0,l.aZ)({__name:"index",setup(e){let t=_();return t.getCommonConfig(),(0,l.Jd)(()=>{t.reset()}),(e,t)=>((0,l.wg)(),(0,l.iD)("div",eX,[(0,l.Wm)(F),(0,l.Wm)(ep),(0,l.Wm)(eB)]))}}),e1=(0,s(41748).default)(e0,[["__scopeId","data-v-5ffa94ad"]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/3535.1f218b2e.js b/core/public/dist/static/js/async/3535.1f218b2e.js
new file mode 100644
index 00000000..d5521bea
--- /dev/null
+++ b/core/public/dist/static/js/async/3535.1f218b2e.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["3535"],{74557:function(e,t,n){let r,u;n.d(t,{Z:()=>o});var l,a,i=n(58786);function o(e){if(u)return;let t=!1;(0,i.bv)(()=>{u||null==r||r.then(()=>{t||e()})}),(0,i.Jd)(()=>{t=!0})}r=n(86223).j?null==(a=null==(l=document)?void 0:l.fonts)?void 0:a.ready:void 0,u=!1,void 0!==r?r.then(()=>{u=!0}):u=!0},23125:function(e,t,n){n.d(t,{Z:()=>u});var r=n(58786);function u(e,t){return(0,r.Fl)(()=>{for(let n of t)if(void 0!==e[n])return e[n];return e[t[t.length-1]]})}},20013:function(e,t,n){n.d(t,{Z:()=>u});var r=n(58786);function u(e,t){return(0,r.YP)(e,e=>{void 0!==e&&(t.value=e)}),(0,r.Fl)(()=>void 0===e.value?t.value:e.value)}},77427:function(e,t,n){n.d(t,{A:()=>u,c:()=>r});let{c:r}=(0,n(80673).j)(),u="vueuc-style"},80954:function(e,t,n){n.d(t,{Z:()=>l});var r=n(34542),u=n(32452);let l=function(e,t){t=(0,r.Z)(t,e);for(var n=0,l=t.length;null!=e&&n<l;)e=e[(0,u.Z)(t[n++])];return n&&n==l?e:void 0}},34542:function(e,t,n){n.d(t,{Z:()=>s});var r,u,l=n(3073),a=n(90483),i=n(37408);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,u=t?t.apply(this,r):r[0],l=n.cache;if(l.has(u))return l.get(u);var a=e.apply(this,r);return n.cache=l.set(u,a)||l,a};return n.cache=new(o.Cache||i.Z),n}o.Cache=i.Z;var c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d=/\\(\\)?/g,f=(u=(r=o(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(c,function(e,n,r,u){t.push(r?u.replace(d,"$1"):n||e)}),t},function(e){return 500===u.size&&u.clear(),e})).cache,r),v=n(88521);let s=function(e,t){return(0,l.Z)(e)?e:(0,a.Z)(e,t)?[e]:f((0,v.Z)(e))}},90483:function(e,t,n){n.d(t,{Z:()=>i});var r=n(3073),u=n(56721),l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;let i=function(e,t){if((0,r.Z)(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||(0,u.Z)(e))||a.test(e)||!l.test(e)||null!=t&&e in Object(t)}},32452:function(e,t,n){n.d(t,{Z:()=>l});var r=n(56721),u=1/0;let l=function(e){if("string"==typeof e||(0,r.Z)(e))return e;var t=e+"";return"0"==t&&1/e==-u?"-0":t}},94904:function(e,t,n){n.d(t,{Z:()=>u});var r=n(80954);let u=function(e,t,n){var u=null==e?void 0:(0,r.Z)(e,t);return void 0===u?n:u}},65977:function(e,t,n){n.d(t,{Z:()=>u});var r=n(58786);let u=(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"}))})},63926:function(e,t,n){n.d(t,{Z:()=>f});var r=n(10320),u=n(43751),l=n(58786),a=n(94904),i=n(52495),o=n(65965);let c={class:"bt-title"},d=(0,l.aZ)({__name:"index",setup(e){let{t}=(0,i.QT)(),n=(0,o.yj)(),d=(0,o.tv)(),f=(0,l.iH)([]),v=(0,l.Fl)(()=>String(n.name)),s=(0,l.Fl)(()=>t(`${(0,a.Z)(n.matched[0],"meta.titleKey")}`)),h=e=>{d.push({name:e})};return!f.value.find(e=>e.name===n.name)&&n.matched[1].children&&(f.value=n.matched[1].children.map(e=>{let n=(0,a.Z)(e,"meta.titleKey",""),r=(0,a.Z)(e,"meta.title","");return{title:`${n?t(String(n)):r}`,name:String(e.name)}})),(e,t)=>{let n=u.Z,a=r.Z,i=(0,l.up)("router-view");return(0,l.wg)(),(0,l.iD)(l.HY,null,[(0,l._)("div",c,(0,l.zw)((0,l.SU)(s)),1),(0,l.Wm)(a,{value:(0,l.SU)(v),type:"line",class:"route-tabs","onUpdate:value":h},{default:(0,l.w5)(()=>[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)((0,l.SU)(f),e=>((0,l.wg)(),(0,l.j4)(n,{key:e.name,name:e.name,tab:e.title},null,8,["name","tab"]))),128))]),_:1},8,["value"]),(0,l.Wm)(i)],64)}}}),f=(0,n(41748).default)(d,[["__scopeId","data-v-1c356723"]])},77369:function(e,t,n){n.r(t),n.d(t,{default:()=>a});var r=n(63926),u=n(58786);let l={class:"p-24px"},a=(0,n(41748).default)({},[["render",function(e,t){let n=r.Z;return(0,u.wg)(),(0,u.iD)("div",l,[(0,u.Wm)(n)])}]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/3535.339f476b.js b/core/public/dist/static/js/async/3535.339f476b.js
deleted file mode 100644
index f95cda8e..00000000
--- a/core/public/dist/static/js/async/3535.339f476b.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["3535"],{74557:function(e,t,n){let l,u;n.d(t,{Z:()=>d});var a,r,i=n(58786);function d(e){if(u)return;let t=!1;(0,i.bv)(()=>{u||null==l||l.then(()=>{t||e()})}),(0,i.Jd)(()=>{t=!0})}l=n(86223).j?null==(r=null==(a=document)?void 0:a.fonts)?void 0:r.ready:void 0,u=!1,void 0!==l?l.then(()=>{u=!0}):u=!0},23125:function(e,t,n){n.d(t,{Z:()=>u});var l=n(58786);function u(e,t){return(0,l.Fl)(()=>{for(let n of t)if(void 0!==e[n])return e[n];return e[t[t.length-1]]})}},20013:function(e,t,n){n.d(t,{Z:()=>u});var l=n(58786);function u(e,t){return(0,l.YP)(e,e=>{void 0!==e&&(t.value=e)}),(0,l.Fl)(()=>void 0===e.value?t.value:e.value)}},77427:function(e,t,n){n.d(t,{A:()=>u,c:()=>l});let{c:l}=(0,n(80673).j)(),u="vueuc-style"},65977:function(e,t,n){n.d(t,{Z:()=>u});var l=n(58786);let u=(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"}))})},63926:function(e,t,n){n.d(t,{Z:()=>c});var l=n(10320),u=n(43751),a=n(58786),r=n(94904),i=n(52495),d=n(65965);let o={class:"bt-title"},v=(0,a.aZ)({__name:"index",setup(e){let{t}=(0,i.QT)(),n=(0,d.yj)(),v=(0,d.tv)(),c=(0,a.iH)([]),f=(0,a.Fl)(()=>String(n.name)),s=(0,a.Fl)(()=>t(`${(0,r.Z)(n.matched[0],"meta.titleKey")}`)),m=e=>{v.push({name:e})};return!c.value.find(e=>e.name===n.name)&&n.matched[1].children&&(c.value=n.matched[1].children.map(e=>{let n=(0,r.Z)(e,"meta.titleKey",""),l=(0,r.Z)(e,"meta.title","");return{title:`${n?t(String(n)):l}`,name:String(e.name)}})),(e,t)=>{let n=u.Z,r=l.Z,i=(0,a.up)("router-view");return(0,a.wg)(),(0,a.iD)(a.HY,null,[(0,a._)("div",o,(0,a.zw)((0,a.SU)(s)),1),(0,a.Wm)(r,{value:(0,a.SU)(f),type:"line",class:"route-tabs","onUpdate:value":m},{default:(0,a.w5)(()=>[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,a.SU)(c),e=>((0,a.wg)(),(0,a.j4)(n,{key:e.name,name:e.name,tab:e.title},null,8,["name","tab"]))),128))]),_:1},8,["value"]),(0,a.Wm)(i)],64)}}}),c=(0,n(41748).default)(v,[["__scopeId","data-v-1c356723"]])},77369:function(e,t,n){n.r(t),n.d(t,{default:()=>r});var l=n(63926),u=n(58786);let a={class:"p-24px"},r=(0,n(41748).default)({},[["render",function(e,t){let n=l.Z;return(0,u.wg)(),(0,u.iD)("div",a,[(0,u.Wm)(n)])}]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/3653.c3f5377a.js b/core/public/dist/static/js/async/3653.c3f5377a.js
new file mode 100644
index 00000000..b0e31c93
--- /dev/null
+++ b/core/public/dist/static/js/async/3653.c3f5377a.js
@@ -0,0 +1,102 @@
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["3653"],{29875:function(e,t,a){let i;a.d(t,{Z:()=>y});var l=a(65083),n=a(20013),o=a(58786),r=a(76128),c=a(62594),s=a(56946),d=a(54470),u=a(32196),h=a(53198),b=a(44267),v=a(71309),f=a(93950),p=a(19595),w=a(9798),g=a(30951);let m={name:"Switch",common:w.Z,self:function(e){let{primaryColor:t,opacityDisabled:a,borderRadius:i,textColor3:l}=e;return Object.assign(Object.assign({},g.Z),{iconColor:l,textColor:"white",loadingColor:t,opacityDisabled:a,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:i,railBorderRadiusMedium:i,railBorderRadiusLarge:i,buttonBorderRadiusSmall:i,buttonBorderRadiusMedium:i,buttonBorderRadiusLarge:i,boxShadowFocus:`0 0 0 2px ${(0,p.zX)(t,{alpha:.2})}`})}};var _=a(28632);let k=(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,_.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,_.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;
+ `)])]),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]}),y=(0,o.aZ)({name:"Switch",props:x,slots:Object,setup(e){void 0===i&&(i="undefined"==typeof CSS||void 0!==CSS.supports&&CSS.supports("width","max(1px)"));let{mergedClsPrefixRef:t,inlineThemeDisabled:a}=(0,d.ZP)(e),r=(0,s.Z)("Switch","-switch",k,m,e,t),c=(0,u.Z)(e),{mergedSizeRef:f,mergedDisabledRef:p}=c,w=(0,o.iH)(e.defaultValue),g=(0,o.Vh)(e,"value"),_=(0,n.Z)(g,w),x=(0,o.Fl)(()=>_.value===e.checkedValue),y=(0,o.iH)(!1),B=(0,o.iH)(!1),$=(0,o.Fl)(()=>{let{railStyle:t}=e;if(t)return t({focused:B.value,checked:x.value})});function E(t){let{"onUpdate:value":a,onChange:i,onUpdateValue:l}=e,{nTriggerFormInput:n,nTriggerFormChange:o}=c;a&&(0,b.R)(a,t),l&&(0,b.R)(l,t),i&&(0,b.R)(i,t),w.value=t,n(),o()}let C=(0,o.Fl)(()=>{let e,t,a,{value:n}=f,{self:{opacityDisabled:o,railColor:c,railColorActive:s,buttonBoxShadow:d,buttonColor:u,boxShadowFocus:h,loadingColor:b,textColor:p,iconColor:w,[(0,v.Tl)("buttonHeight",n)]:g,[(0,v.Tl)("buttonWidth",n)]:m,[(0,v.Tl)("buttonWidthPressed",n)]:_,[(0,v.Tl)("railHeight",n)]:k,[(0,v.Tl)("railWidth",n)]:x,[(0,v.Tl)("railBorderRadius",n)]:y,[(0,v.Tl)("buttonBorderRadius",n)]:B},common:{cubicBezierEaseInOut:$}}=r.value;return i?(e=`calc((${k} - ${g}) / 2)`,t=`max(${k}, ${g})`,a=`max(${x}, calc(${x} + ${g} - ${k}))`):(e=(0,l.BL)(((0,l.fQ)(k)-(0,l.fQ)(g))/2),t=(0,l.BL)(Math.max((0,l.fQ)(k),(0,l.fQ)(g))),a=(0,l.fQ)(k)>(0,l.fQ)(g)?x:(0,l.BL)((0,l.fQ)(x)+(0,l.fQ)(g)-(0,l.fQ)(k))),{"--n-bezier":$,"--n-button-border-radius":B,"--n-button-box-shadow":d,"--n-button-color":u,"--n-button-width":m,"--n-button-width-pressed":_,"--n-button-height":g,"--n-height":t,"--n-offset":e,"--n-opacity-disabled":o,"--n-rail-border-radius":y,"--n-rail-color":c,"--n-rail-color-active":s,"--n-rail-height":k,"--n-rail-width":x,"--n-width":a,"--n-box-shadow-focus":h,"--n-loading-color":b,"--n-text-color":p,"--n-icon-color":w}}),S=a?(0,h.F)("switch",(0,o.Fl)(()=>f.value[0]),C,e):void 0;return{handleClick:function(){e.loading||p.value||(_.value!==e.checkedValue?E(e.checkedValue):E(e.uncheckedValue))},handleBlur:function(){B.value=!1;let{nTriggerFormBlur:e}=c;e(),y.value=!1},handleFocus:function(){B.value=!0;let{nTriggerFormFocus:e}=c;e()},handleKeyup:function(t){e.loading||p.value||" "===t.key&&(_.value!==e.checkedValue?E(e.checkedValue):E(e.uncheckedValue),y.value=!1)},handleKeydown:function(t){e.loading||p.value||" "===t.key&&(t.preventDefault(),y.value=!0)},mergedRailStyle:$,pressed:y,mergedClsPrefix:t,mergedValue:_,checked:x,mergedDisabled:p,cssVars:a?void 0:C,themeClass:null==S?void 0:S.themeClass,onRender:null==S?void 0:S.onRender}},render(){let{mergedClsPrefix:e,mergedDisabled:t,checked:a,mergedRailStyle:i,onRender:l,$slots:n}=this;null==l||l();let{checked:s,unchecked:d,icon:u,"checked-icon":h,"unchecked-icon":b}=n,v=!((0,f.aD)(u)&&(0,f.aD)(h)&&(0,f.aD)(b));return(0,o.h)("div",{role:"switch","aria-checked":a,class:[`${e}-switch`,this.themeClass,v&&`${e}-switch--icon`,a&&`${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,o.h)("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:i},(0,f.K9)(s,t=>(0,f.K9)(d,a=>t||a?(0,o.h)("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},(0,o.h)("div",{class:`${e}-switch__rail-placeholder`},(0,o.h)("div",{class:`${e}-switch__button-placeholder`}),t),(0,o.h)("div",{class:`${e}-switch__rail-placeholder`},(0,o.h)("div",{class:`${e}-switch__button-placeholder`}),a)):null)),(0,o.h)("div",{class:`${e}-switch__button`},(0,f.K9)(u,t=>(0,f.K9)(h,a=>(0,f.K9)(b,i=>(0,o.h)(r.Z,null,{default:()=>this.loading?(0,o.h)(c.Z,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(a||t)?(0,o.h)("div",{class:`${e}-switch__button-icon`,key:a?"checked-icon":"icon"},a||t):!this.checked&&(i||t)?(0,o.h)("div",{class:`${e}-switch__button-icon`,key:i?"unchecked-icon":"icon"},i||t):null})))),(0,f.K9)(s,t=>t&&(0,o.h)("div",{key:"checked",class:`${e}-switch__checked`},t)),(0,f.K9)(d,t=>t&&(0,o.h)("div",{key:"unchecked",class:`${e}-switch__unchecked`},t)))))}})},90294:function(e,t,a){a.r(t),a.d(t,{default:()=>m});var i=a(29875),l=a(57869),n=a(98048),o=a(8490),r=a(6455),c=a(73084),s=a(58786);let d={class:"content-wrapper"},u={class:"flex justify-between gap-5 items-center w-100%"},h={class:"switch-settings"},b={class:"switch-item"},v={class:"switch-item",style:{"margin-bottom":"0"}},f={class:"switch-settings"},p={class:"switch-item"},w={class:"switch-item",style:{"margin-bottom":"0"}},g=(0,s.aZ)({__name:"DomainConfiguration",setup(e){let t=(0,s.iH)([{label:"MB",value:"MB"},{label:"GB",value:"GB"},{label:"TB",value:"TB"}]);return(e,a)=>{let g=c.Z,m=r.ZP,_=o.Z,k=n.Z,x=l.ZP,y=i.Z;return(0,s.wg)(),(0,s.iD)("div",d,[(0,s.Wm)(x,null,{default:(0,s.w5)(()=>[a[3]||(a[3]=(0,s._)("div",{class:"page-tit"},[(0,s._)("div",{class:"back-tool"},[(0,s._)("i",{class:"i-cuida:mail-outline text-7"})]),(0,s._)("span",{class:"tit-content"}," Mail Domain Configuration ")],-1)),(0,s.Wm)(k,null,{default:(0,s.w5)(()=>[(0,s.Wm)(m,null,{label:(0,s.w5)(()=>a[0]||(a[0]=[(0,s._)("span",{class:"form-label"},"Domain",-1)])),default:(0,s.w5)(()=>[(0,s.Wm)(g)]),_:1}),(0,s.Wm)(m,{label:""},{label:(0,s.w5)(()=>a[1]||(a[1]=[(0,s._)("span",{class:"form-label"},"Domain Quota",-1)])),default:(0,s.w5)(()=>[(0,s._)("div",u,[(0,s.Wm)(g),(0,s.Wm)(_,{options:(0,s.SU)(t),class:"w-20"},null,8,["options"])])]),_:1}),(0,s.Wm)(m,null,{label:(0,s.w5)(()=>a[2]||(a[2]=[(0,s._)("span",{class:"form-label"},"MailBox Count",-1)])),default:(0,s.w5)(()=>[(0,s.Wm)(g)]),_:1})]),_:1})]),_:1,__:[3]}),(0,s.Wm)(x,{class:"my-5"},{default:(0,s.w5)(()=>[(0,s._)("div",h,[(0,s._)("div",b,[a[4]||(a[4]=(0,s._)("div",{class:"label"},"Track Email Opens",-1)),(0,s.Wm)(y)]),(0,s._)("div",v,[a[5]||(a[5]=(0,s._)("div",{class:"label"},"Track Link Clicks",-1)),(0,s.Wm)(y)])])]),_:1}),(0,s.Wm)(x,null,{default:(0,s.w5)(()=>[a[8]||(a[8]=(0,s._)("div",{class:"page-tit"},[(0,s._)("div",{class:"back-tool"},[(0,s._)("i",{class:"i-ri:rss-fill text-6"})]),(0,s._)("span",{class:"tit-content"}," Subscription Management ")],-1)),(0,s._)("div",f,[(0,s._)("div",p,[a[6]||(a[6]=(0,s._)("div",{class:"label"},"Include Unsubscribe Link",-1)),(0,s.Wm)(y)]),(0,s._)("div",w,[a[7]||(a[7]=(0,s._)("div",{class:"label"},"Inlcude Preferences Link",-1)),(0,s.Wm)(y)])])]),_:1,__:[8]})])}}}),m=(0,a(41748).default)(g,[["__scopeId","data-v-494f02c4"]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/3689.641db74b.js b/core/public/dist/static/js/async/3689.641db74b.js
new file mode 100644
index 00000000..b4a382bf
--- /dev/null
+++ b/core/public/dist/static/js/async/3689.641db74b.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["3689"],{57070:function(e,l,t){e.exports=t.p+"static/image/logo.3b07dac3.png"},53619:function(e,l,t){t.d(l,{dS:()=>u,gn:()=>n,kO:()=>o,nT:()=>d,qM:()=>s});var i=t(34541);let{t:a}=t(76882).Z.global,n=()=>i.e.get("/settings/get_version"),s=()=>i.e.get("/docker_api/list"),o=e=>i.e.post("/docker_api/restart",e,{fetchOptions:{loading:a("settings.api.loading.restarting"),successMessage:!0}}),u=e=>i.e.post("/services/get_config",e),d=e=>i.e.post("/services/save_config",e,{fetchOptions:{loading:a("settings.api.loading.saving"),successMessage:!0}})},79915:function(e,l,t){t.r(l),t.d(l,{default:()=>j});var i=t(32004),a=t(58786),n=t(41620),s=t(87449),o=t(57070),u=t(30989),d=t(65965),r=t(31708),c=t(66746),p=t(52495);let m={href:"/"},g={class:"app-name"},_={class:"nav-section"},v={class:"footer-section"},f=(0,a.aZ)({__name:"Sidebar",setup(e){let{t:l}=(0,p.QT)(),t=(0,d.yj)(),i=(0,r.Ls)(),f=(0,r.LM)(),w=(0,r.s6)(),{isCollapse:h}=(0,u.Jk)(w),S=(0,a.Fl)(()=>{var e;return String((null==(e=t.meta)?void 0:e.key)||"")}),b=(0,a.Fl)(()=>i.menuList.filter(e=>e.meta&&!e.meta.hidden)),k=(0,a.Fl)(()=>b.value.map(e=>{var t,i,a,n,s;let o=String((null==(i=e.children)||null==(t=i[0])?void 0:t.name)||""),u=String((null==(a=e.meta)?void 0:a.key)||""),d=String((null==(n=e.meta)?void 0:n.titleKey)||""),r=d?l(d):String((null==(s=e.meta)?void 0:s.title)||"");return{key:u,label:()=>W(o,r),icon:()=>x(u)}})),y=(0,a.iH)([{key:"logout",label:()=>(0,a.Wm)("span",{class:"ml-10px"},[l("layout.menu.logout")]),icon:()=>x("logout")}]),W=(e,l)=>(0,a.Wm)(d.rH,{class:"flex items-center",to:{name:e}},{default:()=>[(0,a.Wm)("span",null,[l])]}),U={overview:(0,a.Wm)("i",{class:"i-mdi-web"},null),market:(0,a.Wm)("i",{class:"i-mdi-email-fast-outline"},null),api:(0,a.Wm)("i",{class:"i-mdi-chart-line"},null),contacts:(0,a.Wm)("i",{class:"i-mdi-user-multiple-outline"},null),domain:(0,a.Wm)("i",{class:"i-mdi-web"},null),mailbox:(0,a.Wm)("i",{class:"i-custom:mailbox"},null),smtp:(0,a.Wm)("i",{class:"i-custom:smtp"},null),settings:(0,a.Wm)("i",{class:"i-mdi-settings-outline"},null),template:(0,a.Wm)("i",{class:"i-mdi-settings-outline"},null),logout:(0,a.Wm)("i",{class:"i-mdi-logout"},null)},x=e=>U[e],M=e=>{if("logout"===e&&f.logout(),"webmail"===e){let e=b.value.find(e=>{var l;return(null==(l=e.meta)?void 0:l.key)==="webmail"});if(e){var l;let t=String(null==(l=e.meta)?void 0:l.href);window.open(t)}}};return(0,a.bv)(()=>{i.setMenuList(c.sh)}),(e,l)=>{let t=s.Z,i=n.Z;return(0,a.wg)(),(0,a.j4)(i,{"collapse-mode":"width",collapsed:(0,a.SU)(h),width:200,"collapsed-width":64,"content-style":{display:"flex",flexDirection:"column",height:"100%",overflow:"hidden"}},{default:(0,a.w5)(()=>[(0,a._)("div",{class:(0,a.C_)(["app-logo",{collapse:(0,a.SU)(h)}])},[(0,a._)("a",m,[l[0]||(l[0]=(0,a._)("img",{class:"icon",src:o},null,-1)),(0,a.wy)((0,a._)("span",g,"BillionMail",512),[[a.F8,!(0,a.SU)(h)]])])],2),(0,a._)("div",_,[(0,a.Wm)(t,{value:(0,a.SU)(S),collapsed:(0,a.SU)(h),"collapsed-width":64,options:(0,a.SU)(k),"root-indent":24,"onUpdate:value":M},null,8,["value","collapsed","options"])]),(0,a._)("div",v,[(0,a.Wm)(t,{value:"",collapsed:(0,a.SU)(h),"collapsed-width":64,options:(0,a.SU)(y),"root-indent":24,"onUpdate:value":M},null,8,["collapsed","options"])])]),_:1},8,["collapsed"])}}});var w=t(41748);let h=(0,w.default)(f,[["__scopeId","data-v-4f7c8a78"]]),S=(0,a.aZ)({__name:"AppMain",setup(e){let l=(0,a.Fl)(()=>Math.random());return(e,t)=>{let i=(0,a.up)("router-view");return(0,a.wg)(),(0,a.j4)(i,{key:(0,a.SU)(l)},{default:(0,a.w5)(e=>{let{Component:l,route:t}=e;return[((0,a.wg)(),(0,a.j4)((0,a.LL)(l),{key:t.path}))]}),_:1})}}});var b=t(52569),k=t(52742),y=t(67655),W=t(53619),U=t(68271);let x={class:"header-left"},M={class:"header-right"},Z=(0,a.aZ)({__name:"AppHeader",props:{top:{type:Number,default:0}},setup(e){let{t:l}=(0,p.QT)(),t=(0,a.iH)("--"),i=(0,r.LM)(),n=(0,r.s6)(),{isCollapse:s,langList:o}=(0,u.Jk)(n),d=(0,r.fl)(),{theme:c}=(0,u.Jk)(d),m=()=>{n.setCollapse()},g=()=>{window.open("https://github.com/aaPanel/BillionMail/issues")},_=(0,a.iH)([]),v=(0,a.iH)([{label:l("layout.menu.logout"),key:"logout"}]),f=()=>{d.setTheme("dark"===c.value?"light":"dark")},w=async e=>{await n.setLang(e),window.location.reload()},h=e=>{"logout"===e&&i.logout()},S=()=>{window.open("https://github.com/aaPanel/BillionMail/releases")},Z=async()=>{_.value=o.value.map(e=>({label:e.cn,key:e.name}))},C=async()=>{let e=await (0,W.gn)();(0,U.Kn)(e)&&(t.value=`v${e.version}`)};return(0,a.bv)(()=>{C(),Z()}),(i,n)=>{let o=y.ZP,u=k.Z,d=b.Z;return(0,a.wg)(),(0,a.j4)(d,{ref:"headerRef",style:(0,a.j5)({top:`${e.top}px`})},{default:(0,a.w5)(()=>[(0,a._)("div",x,[(0,a.Wm)(o,{class:"icon-btn",bordered:!1,onClick:m},{default:(0,a.w5)(()=>[(0,a._)("i",{class:(0,a.C_)(["icon",(0,a.SU)(s)?"i-mdi-menu-close":"i-mdi-menu-open"])},null,2)]),_:1}),(0,a.Wm)(o,{type:"primary",text:"",class:"text-14px",onClick:g},{default:(0,a.w5)(()=>[(0,a.Uk)((0,a.zw)((0,a.SU)(l)("layout.header.submit"))+" ",1),n[0]||(n[0]=(0,a._)("i",{class:"i-mdi:arrow-right ml-1px"},null,-1))]),_:1,__:[0]})]),(0,a._)("div",M,[(0,a.Wm)(o,{class:"icon-btn",bordered:!1,onClick:f},{default:(0,a.w5)(()=>[(0,a._)("i",{class:(0,a.C_)(["icon","light"===(0,a.SU)(c)?"i-ri-sun-line":"i-ri-moon-line"])},null,2)]),_:1}),(0,a.SU)(_).length>0?((0,a.wg)(),(0,a.j4)(u,{key:0,size:"large",options:(0,a.SU)(_),onSelect:w},{default:(0,a.w5)(()=>[(0,a.Wm)(o,{class:"icon-btn",bordered:!1},{default:(0,a.w5)(()=>n[1]||(n[1]=[(0,a._)("i",{class:"icon i-mdi-language text-20px"},null,-1)])),_:1,__:[1]})]),_:1},8,["options"])):(0,a.kq)("",!0),(0,a.Wm)(u,{size:"large",options:(0,a.SU)(v),onSelect:h},{default:(0,a.w5)(()=>[(0,a.Wm)(o,{class:"icon-btn",bordered:!1},{default:(0,a.w5)(()=>n[2]||(n[2]=[(0,a._)("i",{class:"icon i-mdi-user-outline"},null,-1)])),_:1,__:[2]})]),_:1},8,["options"]),(0,a.Wm)(o,{type:"primary",text:"",class:"text-14px",onClick:S},{default:(0,a.w5)(()=>[(0,a.Uk)((0,a.zw)((0,a.SU)(t)),1)]),_:1})])]),_:1},8,["style"])}}}),C=(0,w.default)(Z,[["__scopeId","data-v-292739d6"]]),j=(0,a.aZ)({__name:"index",setup(e){let l=(0,a.iH)(0),t=e=>{l.value=e.target.scrollTop||0};return(e,n)=>{let s=i.ZP;return(0,a.wg)(),(0,a.j4)(s,{class:"w-full h-full","has-sider":""},{default:(0,a.w5)(()=>[(0,a.Wm)((0,a.SU)(h)),(0,a.Wm)(s,{"content-style":{position:"relative",paddingTop:"48px"},onScroll:t},{default:(0,a.w5)(()=>[(0,a.Wm)((0,a.SU)(C),{top:(0,a.SU)(l)},null,8,["top"]),(0,a.Wm)((0,a.SU)(S))]),_:1})]),_:1})}}})}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/5513.ead8a1d8.js b/core/public/dist/static/js/async/3697.9e630381.js
similarity index 87%
rename from core/public/dist/static/js/async/5513.ead8a1d8.js
rename to core/public/dist/static/js/async/3697.9e630381.js
index 721a53e7..b6fabc28 100644
--- a/core/public/dist/static/js/async/5513.ead8a1d8.js
+++ b/core/public/dist/static/js/async/3697.9e630381.js
@@ -1,9 +1,9 @@
-/*! For license information please see 5513.ead8a1d8.js.LICENSE.txt */
-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["5513"],{25774:function(){},44861:function(e,t,n){let r,o,i,a;n.d(t,{Au:()=>O_,Ej:()=>xn,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),x=b?function(e){return e&&E(w,e)}:function(e){return e&&function(){return w.apply(e,arguments)}},D=function(e){return"function"==typeof e},S=function(e){try{return!!e()}catch(e){return!0}},C=!S(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}},_=x({}.toString),P=x("".slice),j=function(e){return P(_(e),8,-1)},I=d.Object,N=x("".split),R=S(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:D(e)},H={},U=function(e){return D(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=x({}.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&&!S(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 D(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(D(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=x({}.hasOwnProperty),eg=Object.hasOwn||function(e,t){return eh(ep(e),t)},ev=0,ey=Math.random(),em=x(1..toString),eb=function(e){return"Symbol("+(void 0===e?"":e)+")_"+em(++ev+ey,36)},ew=ef("wks"),eE=d.Symbol,ex=eE&&eE.for,eD=ee?eE:eE&&eE.withoutSetter||eb,eS=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&&ex?ex(t):eD(t)}return ew[e]},eC=d.TypeError,eO=eS("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&&D(n=e.toString)&&!$(r=A(n,e))||D(n=e.valueOf)&&!$(r=A(n,e))||"string"!==t&&D(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&&!S(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&&(D(t)?S(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$=x(x.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&&D(i)?x(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=!S(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 D(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=x(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||D(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=x([].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=x([].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"),tx=e0("IE_PROTO"),tD=function(){},tS=function(e){return"<script>"+e+"<\/script>"},tC=function(e){e.write(tS("")),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(tS("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[tx]=!0;var tA=Object.create||function(e,t){var n;return null!==e?(tD.prototype=eW(e),n=new tD,tD.prototype=null,n[tx]=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_=x("".replace),tP=x("".split),tj=x([].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=eS("iterator"),tU=Array.prototype,tV={};tV[eS("toStringTag")]="z";var tW="[object z]"===String(tV),tq=eS("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))&&D(t.callee)?"Arguments":r},tX=eS("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=!S(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",F(1,7)),7!==e.stack)}),t8=eS("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=x(Function.toString);D(ec.inspectSource)||(ec.inspectSource=function(e){return nn(e)});var nr,no,ni,na=ec.inspectSource,nu=d.WeakMap,ns=D(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=x(nf.get),np=x(nf.has),nh=x(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,nx=C&&Object.getOwnPropertyDescriptor,nD=eg(nE,"name"),nS={EXISTS:nD,PROPER:nD&&"something"===(function(){}).name,CONFIGURABLE:nD&&(!C||C&&nx(nE,"name").configurable)},nC=function(e,t,n,r){r&&r.enumerable?e[t]=n:eZ(e,t,n)},nO=eS("iterator"),nA=!1;[].keys&&("next"in(nm=[].keys())?(ny=e6(e6(nm)))!==Object.prototype&&(nv=ny):nA=!0),D((nv=null==nv||S(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_=eS("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=nS.PROPER,nN=eS("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=x("".charAt),n$=x("".charCodeAt),nH=x("".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=eS("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 rx=nJ,rD=!!Object.getOwnPropertySymbols&&!n1(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&rx&&rx<41}),rS=rD&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,rC=n0.Object,rO=rS?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=rS?rq:rq&&rq.withoutSetter||rV,rZ=function(e){if(!rz(rW,e)||!rD&&"string"!=typeof rW[e]){var t="Symbol."+e;rD&&rz(rq,e)?rW[e]=rq[e]:rW[e]=rS&&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,ox=function(e){return function(t){var n;if(!rh(t)||(n=oi(t)).type!==e)throw op("Incompatible receiver, "+e+" required");return n}},oD=Function.prototype,oS=n2&&Object.getOwnPropertyDescriptor,oC=rz(oD,"name"),oO={EXISTS:oC,PROPER:oC&&"something"===(function(){}).name,CONFIGURABLE:oC&&(!n2||n2&&oS(oD,"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),ix=RegExp.prototype.exec,iD=ix,iS=rr("".charAt),iC=rr("".indexOf),iO=rr("".replace),iA=rr("".slice),ik=(ig=/b*/g,n3(ix,ih=/a/,"a"),n3(ix,ig,"a"),0!==ih.lastIndex||0!==ig.lastIndex),iT=void 0!==/()??/.exec("")[1];(ik||iT||io||im||iw)&&(iD=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(iD,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"!==iS(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(ix,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=iD;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"),ax=!1;[].keys&&("next"in(ab=[].keys())?(am=iW(iW(ab)))!==Object.prototype&&(ay=am):ax=!0),(null==ay||n1(function(){var e={};return ay[aE].call(e)!==e}))&&(ay={}),rp(ay[aE])||oA(ay,aE,function(){return this});var aD=ay,aS=ax,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(aD,{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(!aS&&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=!aS&&h||f(o),v="Array"==t&&p.entries||h;if(v&&(s=iW(v.call(new e)))!==Object.prototype&&s.next&&(iW(s)!==aD&&(iK?iK(s,aD):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)!aS&&!d&&c in p||oA(p,c,l[c]);else o0({target:t,proto:!0,forced:aS||d},l);return p[aF]!==g&&oA(p,aF,g,{name:o}),i7[t]=g,l},aj=ox("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=ox("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=x(a1.exec),a4=!a1.exec(aJ),a3=function(e){if(!D(e))return!1;try{return a0(aJ,aQ,e),!0}catch(e){return!1}},a6=!a0||S(function(){var e;return a3(a3.call)||!a3(Object)||!a3(function(){e=!0})||e})?function(e){if(!D(e))return!1;switch(tZ(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return a4||!!a2(a1,na(e))}:a3,a5=eS("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=eS("species"),ue=eS("isConcatSpreadable"),ut=d.TypeError,un=J>=51||!S(function(){var e=[];return e[ue]=!1,e.concat()[0]!==e}),ur=(aX="concat",J>=51||!S(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=x([].slice),ul={f:eS},uc=eK.f,uf=function(e){var t=H.Symbol||(H.Symbol={});eg(t,e)||uc(t,e,{value:ul.f(e)})},ud=x([].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=eS("toPrimitive"),uy=nw("Symbol"),um=Object.prototype,ub=d.Symbol,uw=ub&&ub.prototype,uE=d.TypeError,ux=d.QObject,uD=V("JSON","stringify"),uS=ej.f,uC=eK.f,uO=uu.f,uA=B.f,uk=x([].push),uT=ef("symbols"),uB=ef("op-symbols"),uF=ef("string-to-symbol-registry"),u_=ef("symbol-to-string-registry"),uP=ef("wks"),uj=!ux||!ux.prototype||!ux.prototype.findChild,uI=C&&S(function(){return 7!=tA(uC({},"a",{get:function(){return uC(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=uS(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=uS(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(eS(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:S(function(){tv.f(1)})},{getOwnPropertySymbols:function(e){return tv.f(ep(e))}}),uD&&eJ({target:"JSON",stat:!0,forced:!Q||S(function(){var e=ub();return"[null]"!=uD([e])||"{}"!=uD({a:e})||"{}"!=uD(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(D(o)&&(t=A(o,this,e,t)),!en(t))return t}),r[1]=t,y(uD,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 sx&&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!==sS?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,sx="undefined"!=typeof Set,sD="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,sS=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=sD,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))===sS)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&&!sD&&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?lx.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=lx.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(lx.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)&&lx.isNodeList(e.children)&&!ly.isEditor(e),lf={isAncestor:e=>uX(e)&&lx.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 lx.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))&&lx.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[lx.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 lx.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[lx.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=lx.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(lx.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(lx.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(lx.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]=lx.first(e,t);t=i}else if("end"===o){var[,a]=lx.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)=>lx.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]=lx.last(e,t);o=i}else{var[,a]=lx.first(e,t);o=a}var u=lx.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,x=lO.equals(v,l.path);for(x?(p=o?l.offset:g.text.length-l.offset,h=l.offset):(p=g.text.length,h=o?p:0),(x||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,lx={ancestor(e,t){var n=lx.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=[lx.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=lx.ancestor(e,t),{children:i}=o,a=r?i.length-1:0;r?a>=0:a<i.length;){var u=lx.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[lx.get(e,r),r]},descendant(e,t){var n=lx.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 lx.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 lx.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=lx.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 lx.nodes(e,{reverse:!0,pass:e=>{var[,n]=e;return!lj.includes(t,n)}})){if(!lj.includes(t,o)){var i=lx.parent(e,o),a=o[o.length-1];i.children.splice(a,1)}if(lO.equals(o,r.path)){var u=lx.leaf(e,o);u.text=u.text.slice(0,r.offset)}if(lO.equals(o,n.path)){var s=lx.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=>lx.isNode(e));return lE.set(e,n),n},last(e,t){for(var n=t.slice(),r=lx.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=lx.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=lx.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(lx.has(e,l)){u=l,s=lx.get(e,u);continue}}r&&0!==u[u.length-1]?(u=lO.previous(u),s=lx.get(e,u)):(u=lO.parent(u),s=lx.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=lx.get(e,u)}},parent(e,t){var n=lO.parent(t),r=lx.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(lx.string).join(""),*texts(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of lx.nodes(e,t))l$.isText(n)&&(yield[n,r])}};function lD(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 lS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lD(Object(n),!0).forEach(function(t){sR(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lD(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)&&lx.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 lS(lS({},e),{},{type:"remove_node"});case"insert_text":return lS(lS({},e),{},{type:"remove_text"});case"merge_node":return lS(lS({},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 lS(lS({},e),{},{path:t,newPath:n});var r=lO.transform(n,e),o=lO.transform(lO.next(n),e);return lS(lS({},e),{},{path:r,newPath:o});case"remove_node":return lS(lS({},e),{},{type:"insert_node"});case"remove_text":return lS(lS({},e),{},{type:"insert_text"});case"set_node":var{properties:i,newProperties:a}=e;return lS(lS({},e),{},{properties:a,newProperties:i});case"set_selection":var{properties:u,newProperties:s}=e;return lS(lS({},e),{},null==u?{properties:s,newProperties:null}:null==s?{properties:null,newProperties:u}:{properties:s,newProperties:u});case"split_node":return lS(lS({},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=lx.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=lx.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=lx.get(e,y),b=lO.previous(y),w=lx.get(e,b),E=lx.parent(e,y),x=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(x,1),t)for(var[D,S]of lj.points(t))t[S]=lB.transform(D,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=lx.get(e,C),k=lx.parent(e,C),T=C[C.length-1];k.children.splice(T,1);var B=lO.transform(C,n),F=lx.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(lx.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 lx.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=lx.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=lx.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=lx.get(e,el),eh=lx.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(lx.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),x=ly.above(e,{at:p,mode:"highest",match:t=>E.includes(t)&&lK(e,t)}),D=x&&ly.pathRef(e,x[1]);if(l$.isText(d)&&l$.isText(h)){var S=sK(d,lV);y=h.text.length,v=S}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)));S=sK(d,lW),y=h.children.length,v=S}w||l6.moveNodes(e,{at:p,to:m,voids:i}),D&&l6.removeNodes(e,{at:D.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}),D&&D.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),x=0===a?i.offset:i.path[b]+0;for(var[D,S]of ly.levels(e,{at:E,reverse:!0,voids:r})){var C=!1;if(S.length<w.length||0===S.length||!r&&ly.isVoid(e,D))break;var O=f.current,A=ly.isEnd(e,O,S);if(u||!f||!ly.isEdge(e,O,S)){C=!0;var k=lx.extractProps(D);e.apply({type:"split_node",path:S,position:x,properties:k})}x=S[S.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 x=ly.after(e,h);x&&v&&lO.isAncestor(v[1],x.path)&&(h=x)}var D,S=[];for(var C of ly.nodes(e,{at:a,voids:i})){var[O,A]=C;D&&0===lO.compare(A,D)||(!i&&ly.isVoid(e,O)||!lO.isCommon(A,p.path)&&!lO.isCommon(A,h.path))&&(S.push(C),D=A)}var k=Array.from(S,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]=lx.first({children:t},[]),[,y]=lx.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 lx.nodes({children:t},{pass:b}))b(w)&&m.push(w);var E=[],x=[],D=[],S=!0,C=!1;for(var[O]of m)lf.isElement(O)&&!e.isInline(O)?(S=!1,C=!0,x.push(O)):S?E.push(O):D.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&&x.length&&l6.delete(e,{at:P.unref(),voids:o}),l6.insertNodes(e,x,{at:F.current,match:t=>ly.isBlock(e,t),mode:"lowest",voids:o}),l6.insertNodes(e,D,{at:_.current,match:t=>l$.isText(t)||ly.isInline(e,t),mode:"highest",voids:o}),!n.at){var I=D.length>0?lO.previous(_.current):x.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,cx=cp.propertyIsEnumerable,cD=(l4=Object.keys,l3=Object,function(e){return l4(l3(e))}),cS=cj(cf,"DataView"),cC=cj(cf,"Map"),cO=cj(cf,"Promise"),cA=cj(cf,"Set"),ck=cj(cf,"WeakMap"),cT=cN(cS),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""}(cS&&"[object DataView]"!=cI(new cS(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")&&(!cx.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 cD(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 fx(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 fD,fS,fC,fO,fA=fx("click"),fk=fx("focus"),fT=/^(?:0|[1-9]\d*)$/,fB=Object.prototype,fF=fB.hasOwnProperty,f_=fB.toString,fP=fB.propertyIsEnumerable,fj=(fD=Object.keys,fS=Object,function(e){return fD(fS(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,dx=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,dD=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,dS="\\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="["+dS+"]",dO="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",dA="[a-z\\xdf-\\xf6\\xf8-\\xff]",dk="[^\ud800-\udfff"+dS+"\\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(dD,dZ).replace(d$,"")).replace(dz,""),n=d0(n),void 0===r?(o=n,dW.test(o))?n.match(dU)||[]:n.match(dx)||[]: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]",x="[object Float64Array]",D="[object Int8Array]",S="[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[x]=P[D]=P[S]=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),ex=eL(ev),eD=er?er.prototype:void 0,eS=eD?eD.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 ex: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 x:case D:case S: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 eS?Object(eS.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 px(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 pD=(py="__private_"+pE+++"_apply",class{constructor(e){Object.defineProperty(this,py,{value:pS}),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 px(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 px(r,t)}});function pS(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:hD}),Object.defineProperty(this,hs,{value:hx}),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 pD([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&&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 hx(e){let t={...this.getState().currentUploads};delete t[e],this.setState({currentUploads:t})}async function hD(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 hS=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,D,S,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&&(S||(S=[]),b.ref&&S.push(b.ref,null,w),S.push(y,w.__c||E,w)),null!=E?(null==D&&(D=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):x(r,o,o,i,o.__e,n));return n}(w,f,e):f=x(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=D,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(S)for(h=0;h<S.length;h++)T(S[h],S[++h],S[++h])}function x(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 D(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||f.test(t)?n:n+"px"}function S(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||D(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||D(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,x,D,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,x=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,x,D)})}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||(D=g.getSnapshotBeforeUpdate(w,x)),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||S(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]||S(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)&&S(e,"value",y,h.value,!1),"checked"in g&&void 0!==(y=g.checked)&&y!==e.checked&&S(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 pD([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}=hS;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 gx(e){let t=gs(this,gd)[gd].indexOf(e);-1!==t&&gs(this,gd)[gd].splice(t,1)}var gD,gS,gC={RateLimitedQueue:class{constructor(e){Object.defineProperty(this,gy,{value:gx}),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=(gS=gD=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)}},gD.VERSION="2.0.6",gS),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}),vx=gH.String,vD=gH.TypeError,vS=function(e){if(vy(e))return e;throw vD(vx(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(vS(e),t=vL(t),vS(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,yx=Math.ceil,yD=Math.floor,yS=function(e){var t=+e;return t!=t||0===t?0:(t>0?yD:yx)(t)},yC=Math.min,yO=function(e){return e>0?yC(yS(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=yS(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(vS(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=vS(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},mx=yo.PROPER,mD=RegExp.prototype,mS=mD.toString,mC=gY(mE),mO=va(function(){return"/a/b"!=mS.call({source:"a",flags:"b"})}),mA=mx&&"toString"!=mS.name;(mO||mA)&&yi(RegExp.prototype,"toString",function(){var e=vS(this),t=mw(e.source),n=e.flags;return"/"+t+"/"+mw(void 0===n&&vA(mD,e)&&!("flags"in mD)?mC(e):n)},{unsafe:!0});var mk,mT=vv?Object.defineProperties:function(e,t){vS(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=vS(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,"&quot;")+'">'+t+"</a>"}});var mX=function(e,t,n){var r,o;vS(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 vS(r),n},mY=function(e,t,n,r){try{return r?t(vS(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 vS(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=yS(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"),bx=function(e,t,n){e&&!g4(e=n?e:e.prototype,bE)&&bw(e,bE,{configurable:!0,value:t})},bD=function(){return this},bS=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 vS(n),function(e){if(!("object"==typeof e||g7(e)))throw bC("Can't set "+bS(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)}),bx(n,u,!1),mJ[u]=bD;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)),bx(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&&vS(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,wx=Math.min,wD=gY([].concat),wS=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=vS(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||(wS(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(wx(yS(d.index),a.length),0),b=[],w=1;w<d.length;w++)wS(b,void 0===(p=d[w])?p:String(p));var E=d.groups;if(s){var x=wD([y],b,m,a);void 0!==E&&wS(x,E);var D=mw(wi(o,void 0,x))}else D=wy(y,a,m,b,E,o);m>=g&&(h+=wO(a,g,m)+D,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?(vS(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),bx(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(vS(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,Ex=new WeakMap,ED=new WeakMap,ES=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),xe="undefined"!=typeof navigator&&/Chrome/i.test(navigator.userAgent);"undefined"!=typeof navigator&&/.*QQBrowser/.test(navigator.userAgent);var xt=!E9&&!E7&&"undefined"!=typeof globalThis&&globalThis.InputEvent&&"function"==typeof globalThis.InputEvent.prototype.getTargetRanges,xn={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=xn.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=xn.getParentNode(e,r);if(null==o)break;n.push(o),r=o}return n},getTopNode:function(e,t){var n=[xn.findPath(e,t)[0]];return lx.get(e,n)},toDOMNode:function(e,t){var n;if(ly.isEditor(t))n=EI.get(e);else{var r=xn.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=xn.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=xn.toDOMPoint(e,n),a=lj.isCollapsed(t)?i:xn.toDOMPoint(e,r),u=xn.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=xn.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=xn.toSlateNode(e,t.target),u=xn.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 xn.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=xe&&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=xn.toSlatePoint(e,[r,o],{exactMatch:s,suppressThrow:l});if(!c)return null;var f=u?c:xn.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=xn.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=xn.toSlateNode(e,c);return{path:xn.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 lx.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 ED.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=xn.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)}}(xn.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=xn.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}},xr=1,xo={},xi={},xa=yH.filter;md({target:"Array",proto:!0,forced:!bV("filter")},{filter:function(e){return xa(this,e,arguments.length>1?arguments[1]:void 0)}});var xu=" \n\v\f\r \xa0               \u2028\u2029\uFEFF",xs=gY("".replace),xl="["+xu+"]",xc=RegExp("^"+xl+xl+"*"),xf=RegExp(xl+xl+"*$"),xd=function(e){return function(t){var n=mw(gQ(t));return 1&e&&(n=xs(n,xc,"")),2&e&&(n=xs(n,xf,"")),n}},xp={start:xd(1),end:xd(2),trim:xd(3)},xh=yo.PROPER,xg=xp.trim;md({target:"String",proto:!0,forced:(xm="trim",va(function(){return!!xu[xm]()||"​\x85᠎"!=="​\x85᠎"[xm]()||xh&&xu[xm].name!==xm}))},{trim:function(){return xg(this)}});var xv=[],xy={},xm,xb,xw,xE,xx,xD=gH.Promise,xS=vp("species"),xC=function(e){var t=g9(e),n=v$.f;vv&&t&&!t[xS]&&n(t,xS,{configurable:!0,get:function(){return this}})},xO=gH.TypeError,xA=vp("species"),xk=function(e,t){var n,r=vS(e).constructor;return void 0===r||null==(n=vS(r)[xA])?t:function(e){if(yN(e))return e;throw xO(vF(e)+" is not a constructor")}(n)},xT=gY([].slice),xB=/(?:ipad|iphone|ipod).*applewebkit/i.test(ve),xF="process"==ys(gH.process),x_=gH.setImmediate,xP=gH.clearImmediate,xj=gH.process,xI=gH.Dispatch,xN=gH.Function,xR=gH.MessageChannel,xL=gH.String,xM=0,xz={};try{xb=gH.location}catch(e){}var x$=function(e){if(g4(xz,e)){var t=xz[e];delete xz[e],t()}},xH=function(e){return function(){x$(e)}},xU=function(e){x$(e.data)},xV=function(e){gH.postMessage(xL(e),xb.protocol+"//"+xb.host)};x_&&xP||(x_=function(e){var t=xT(arguments,1);return xz[++xM]=function(){wi(g7(e)?e:xN(e),void 0,t)},xw(xM),xM},xP=function(e){delete xz[e]},xF?xw=function(e){xj.nextTick(xH(e))}:xI&&xI.now?xw=function(e){xI.now(xH(e))}:xR&&!xB?(xx=(xE=new xR).port2,xE.port1.onmessage=xU,xw=ym(xx.postMessage,xx)):gH.addEventListener&&g7(gH.postMessage)&&!gH.importScripts&&xb&&"file:"!==xb.protocol&&!va(xV)?(xw=xV,gH.addEventListener("message",xU,!1)):xw="onreadystatechange"in vw("script")?function(e){mB.appendChild(vw("script")).onreadystatechange=function(){mB.removeChild(this),x$(e)}}:function(e){setTimeout(xH(e),0)});var xW,xq,xG,xK,xZ,xX,xY,xJ,xQ=x_,x0=/ipad|iphone|ipod/i.test(ve)&&void 0!==gH.Pebble,x1=/web0s(?!.*chrome)/i.test(ve),x2=yQ.f,x4=xQ,x3=gH.MutationObserver||gH.WebKitMutationObserver,x6=gH.document,x5=gH.process,x8=gH.Promise,x7=x2(gH,"queueMicrotask"),x9=x7&&x7.value;x9||(xW=function(){var e,t;for(xF&&(e=x5.domain)&&e.exit();xq;){t=xq.fn,xq=xq.next;try{t()}catch(e){throw xq?xK():xG=void 0,e}}xG=void 0,e&&e.enter()},xB||xF||x1||!x3||!x6?!x0&&x8&&x8.resolve?((xY=x8.resolve(void 0)).constructor=x8,xJ=ym(xY.then,xY),xK=function(){xJ(xW)}):xF?xK=function(){x5.nextTick(xW)}:(x4=ym(x4,gH),xK=function(){x4(xW)}):(xZ=!0,xX=x6.createTextNode(""),new x3(xW).observe(xX,{characterData:!0}),xK=function(){xX.data=xZ=!xZ}));var De,Dt,Dn,Dr,Do=x9||function(e){var t={fn:e,next:void 0};xG&&(xG.next=t),xq||(xq=t,xK()),xG=t},Di=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)},Da={f:function(e){return new Di(e)}},Du=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Ds="object"==typeof window,Dl=vp("species"),Dc="Promise",Df=ye(Dc),Dd=ye(Dc),Dp=xD&&xD.prototype,Dh=xD,Dg=Dp,Dv=gH.TypeError,Dy=gH.document,Dm=gH.process,Db=Da.f,Dw=Db,DE=!!(Dy&&Dy.createEvent&&gH.dispatchEvent),Dx=g7(gH.PromiseRejectionEvent),DD=!1,DS=ma(Dc,function(){var e=vK(Dh),t=e!==String(Dh);if(!t&&66===vi)return!0;if(vi>=51&&/native code/.test(e))return!1;var n=new Dh(function(e){e(1)}),r=function(e){e(function(){},function(){})};return(n.constructor={})[Dl]=r,!(DD=n.then(function(){})instanceof r)||!t&&Ds&&!Dx}),DC=DS||!bn(function(e){Dh.all(e).catch(function(){})}),DO=function(e){var t;return!(!vy(e)||!g7(t=e.then))&&t},DA=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;Do(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&&DF(e),e.rejection=1),!0===c?a=r:(p&&p.enter(),a=c(r),p&&(p.exit(),s=!0)),a===l.promise?d(Dv("Promise-chain cycle")):(u=DO(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&&DT(e)})}},Dk=function(e,t,n){var r,o;DE?((r=Dy.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),gH.dispatchEvent(r)):r={promise:t,reason:n},!Dx&&(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)},DT=function(e){vO(xQ,gH,function(){var t,n=e.facade,r=e.value;if(DB(e)&&(t=Du(function(){xF?Dm.emit("unhandledRejection",r,n):Dk("unhandledrejection",n,r)}),e.rejection=xF||DB(e)?2:1,t.error))throw t.value})},DB=function(e){return 1!==e.rejection&&!e.parent},DF=function(e){vO(xQ,gH,function(){var t=e.facade;xF?Dm.emit("rejectionHandled",t):Dk("rejectionhandled",t,e.value)})},D_=function(e,t,n){return function(r){e(t,r,n)}},DP=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,DA(e,!0))},Dj=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw Dv("Promise can't be resolved itself");var r=DO(t);r?Do(function(){var n={done:!1};try{vO(r,t,D_(Dj,n,e),D_(DP,n,e))}catch(t){DP(n,t,e)}}):(e.value=t,e.state=1,DA(e,!1))}catch(t){DP({done:!1},t,e)}}};if(DS&&(Dg=(Dh=function(e){w2(this,Dg),vP(e),vO(De,this);var t=Df(this);try{e(D_(Dj,t),D_(DP,t))}catch(e){DP(t,e)}}).prototype,(De=function(e){v8(this,{type:Dc,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=wM(Dg,{then:function(e,t){var n=Dd(this),r=n.reactions,o=Db(xk(this,Dh));return o.ok=!g7(e)||e,o.fail=g7(t)&&t,o.domain=xF?Dm.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&DA(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),Dt=function(){var e=new De,t=Df(e);this.promise=e,this.resolve=D_(Dj,t),this.reject=D_(DP,t)},Da.f=Db=function(e){return e===Dh||e===Dn?new Dt(e):Dw(e)},g7(xD)&&Dp!==Object.prototype)){Dr=Dp.then,DD||(yi(Dp,"then",function(e,t){var n=this;return new Dh(function(e,t){vO(Dr,n,e,t)}).then(e,t)},{unsafe:!0}),yi(Dp,"catch",Dg.catch,{unsafe:!0}));try{delete Dp.constructor}catch(e){}bO&&bO(Dp,Dg)}md({global:!0,wrap:!0,forced:DS},{Promise:Dh}),bx(Dh,Dc,!1),xC(Dc),Dn=g9(Dc),md({target:Dc,stat:!0,forced:DS},{reject:function(e){var t=Db(this);return vO(t.reject,void 0,e),t.promise}}),md({target:Dc,stat:!0,forced:DS},{resolve:function(e){if(vS(this),vy(e)&&e.constructor===this)return e;var t=Da.f(this);return(0,t.resolve)(e),t.promise}}),md({target:Dc,stat:!0,forced:DC},{all:function(e){var t=this,n=Db(t),r=n.resolve,o=n.reject,i=Du(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=Db(t),r=n.reject,o=Du(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 DI=bZ.UNSUPPORTED_Y,DN=Math.min,DR=[].push,DL=gY(/./.exec),DM=gY(DR),Dz=gY("".slice);function D$(e){Promise.resolve().then(e)}function DH(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&&(DM(s,Dz(r,c,i.index)),i.length>1&&i.index<r.length&&wi(DR,s,wH(i,1)),u=i[0].length,c=a,s.length>=o));)f.lastIndex===i.index&&f.lastIndex++;return c===r.length?!u&&DL(f,"")||DM(s,""):DM(s,Dz(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=vS(this),a=mw(e),u=n(r,i,a,o,r!==t);if(u.done)return u.value;var s=xk(i,RegExp),l=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(DI?"g":"y"),f=new s(DI?"^(?:"+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=DI?0:h;var v,y=wb(f,DI?Dz(a,h):a);if(null===y||(v=DN(yO(f.lastIndex+(DI?h:0)),a.length))===p)h=wc(a,h,l);else{if(DM(g,Dz(a,p,h)),g.length===d)return g;for(var m=1;m<=y.length-1;m++)if(DM(g,y[m]),g.length===d)return g;h=p=v}}return DM(g,Dz(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]}),DI);var DU=function(e,t){var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n},DV=function(e,t,n){var r=xn.toDOMRange(e,t).getBoundingClientRect(),o=xn.toDOMRange(e,n).getBoundingClientRect();return DU(r,o)&&DU(o,r)},DW=["span","b","strong","i","em","s","strike","u","font","sub","sup"],Dq=[],DG=[],DK={},DZ=v$.f,DX=me.f,DY=vp("match"),DJ=gH.RegExp,DQ=DJ.prototype,D0=gH.SyntaxError,D1=gY(mE),D2=gY(DQ.exec),D4=gY("".charAt),D3=gY("".replace),D6=gY("".indexOf),D5=gY("".slice),D8=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,D7=/a/g,D9=/a/g,Se=new DJ(D7)!==D7,St=bZ.MISSED_STICKY,Sn=bZ.UNSUPPORTED_Y;if(ma("RegExp",vv&&(!Se||St||bY||bQ||va(function(){return D9[DY]=!1,DJ(D7)!=D7||DJ(D9)==D9||"/a/i"!=DJ(D7,"i")})))){for(var Sr=function(e,t){var n,r,o,i,a,u,s=vA(DQ,this),l=mH(e),c=void 0===t,f=[],d=e;if(!s&&l&&c&&e.constructor===Sr)return e;if((l||vA(DQ,e))&&(e=e.source,c&&(t="flags"in d?d.flags:D1(d))),e=void 0===e?"":mw(e),t=void 0===t?"":mw(t),d=e,bY&&"dotAll"in D7&&(r=!!t&&D6(t,"s")>-1)&&(t=D3(t,/s/g,"")),n=t,St&&"sticky"in D7&&(o=!!t&&D6(t,"y")>-1)&&Sn&&(t=D3(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=D4(e,r)))t+=D4(e,++r);else if("]"===t)u=!1;else if(!u)switch(!0){case"["===t:u=!0;break;case"("===t:D2(D8,D5(e,r+1))&&(r+=2,s=!0),o+=t,l++;continue;case">"===t&&s:if(""===c||g4(a,c))throw new D0("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(DJ(e,t),s?this:DQ,Sr),(r||o||f.length)&&(u=v9(a),r&&(u.dotAll=!0,u.raw=Sr(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=D4(e,r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+D4(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},So=function(e){e in Sr||DZ(Sr,e,{configurable:!0,get:function(){return DJ[e]},set:function(t){DJ[e]=t}})},Si=DX(DJ),Sa=0;Si.length>Sa;)So(Si[Sa++]);DQ.constructor=Sr,Sr.prototype=DQ,yi(gH,"RegExp",Sr)}xC("RegExp");var Su=RegExp(String.fromCharCode(160),"g");function Ss(e){return e.replace(Su," ")}function Sl(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 Sc(e,t,n){return{type:"paragraph",children:[{text:c2(e).text().replace(/\s+/gm," ")}]}}function Sf(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&&(Sl(n,r=Ss(r))||n.push({text:r}))}else{if("BR"===e.nodeName)return void(Sl(n,"\n")||n.push({text:"\n"}));var o=Sp(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 DK)if(e[0].matches(t))return DK[t];return Sc})(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," ")}]),DG.forEach(function(n){r=n(e[0],r,t)}))}),r}function Sd(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=Ss(n=n.replace(/&nbsp;/g," ").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&reg;/g,"\xae").replace(/&copy;/g,"\xa9").replace(/&trade;/g,"™").replace(/&quot;/g,'"'))};return DG.forEach(function(n){r=n(e[0],r,t)}),r}function Sp(e,t){Dq.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")?Sf(e,t):Sd(e,t):"code"===n?"pre"===E3(e.parent())?Sf(e,t):Sd(e,t):DW.includes(n)?Sd(e,t):Sf(e,t)}function Sh(e,t,n){var r=c2(n);return!!r.attr(t)||(r.attr(t,"true"),e.on("destroyed",function(){r.removeAttr(t)}),!1)}function Sg(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=Sp(c2(t),e);Array.isArray(r)?r.forEach(function(e){return n.push(e)}):n.push(r)}),n}var Sv=v$.f,Sy=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=Sy(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=Sy(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&&Sv(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),xC(t)}});var Sm=new Set(["doctype","!doctype","meta","script","style","link","frame","iframe","title","svg"]);function Sb(e,t){e.isInline(t)?(e.insertNode(t),"link"===t.type&&e.insertFragment([{text:""}])):l6.insertNodes(e,t,{mode:"highest"})}var Sw=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=xn.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=xn.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},SE=function(e){return null!=e},Sx={object:!0,function:!0,undefined:!0},SD=/^\s*class[\s{/}]/,SS=Function.prototype.toString,SC=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(!(SE(e)&&hasOwnProperty.call(Sx,typeof e)))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}(e)}(e)&&!SD.test(SS.call(e))},SO=function(e){return null!=e},SA=Object.keys,Sk=!function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}()?function(e){return SA(SO(e)?Object(e):e)}:Object.keys,ST=function(e){if(!SO(e))throw TypeError("Cannot use null or undefined");return e},SB=Math.max,SF="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=SB(arguments.length,2);for(e=Object(ST(e)),o=function(r){try{e[r]=t[r]}catch(e){n||(n=e)}},r=1;r<i;++r)Sk(t=arguments[r]).forEach(o);if(void 0!==n)throw n;return e},S_=Array.prototype.forEach,SP=Object.create,Sj=function(e,t){var n;for(n in e)t[n]=e[n]},SI=function(e){var t=SP(null);return S_.call(arguments,function(e){SO(e)&&Sj(Object(e),t)}),t},SN="razdwatrzy",SR=String.prototype.indexOf,SL="function"==typeof SN.contains&&!0===SN.contains("dwa")&&!1===SN.contains("foo")?String.prototype.contains:function(e){return SR.call(this,e,arguments[1])>-1},SM=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],SE(e)?(n=SL.call(e,"c"),r=SL.call(e,"e"),o=SL.call(e,"w")):(n=o=!0,r=!1),a={value:t,configurable:n,enumerable:r,writable:o},i?SF(SI(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],SE(t)?SC(t)?SE(n)?SC(n)||(i=n,n=void 0):n=void 0:(i=t,t=n=void 0):t=void 0,SE(e)?(r=SL.call(e,"c"),o=SL.call(e,"e")):(r=!0,o=!1),a={get:t,set:n,configurable:r,enumerable:o},i?SF(SI(i),a):a}}),Sz=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function");return e},S$=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 Sz(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 Sz(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(Sz(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:SM(n),once:SM(r),off:SM(o),emit:SM(i)}),e.exports=t=function(e){return null==e?f(s):p(Object(e),u)},t.methods=a});function SH(e){var t=EU.get(e);return null==t&&(t=S$(),EU.set(e,t)),t}var SU=new WeakMap;function SV(e,t){var n=SU.get(e);null==n&&(n=new Set,SU.set(e,n)),n.add(t)}function SW(e){var t=xn.getTextarea(e).$textAreaContainer,n=t.width(),r=t.height(),o=t.offset();return{top:o.top,left:o.left,width:n,height:r}}function Sq(e){var t={top:"0",left:"0"},n=e.selection;if(null==n)return t;var r=SW(e);if(null==r)return t;var o=r.top,i=r.left,a=r.width,u=r.height,s=xn.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 SG(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=SW(e);if(null==h)return r;var g,v=h.top,y=h.left,m=h.width,b=h.height,w={},E=s-v,x=l-y;if("bar"===n)return w.left=x+"px",E>40?w.bottom=b-E+5+"px":w.top=E+c+5+"px",w;if("modal"===n)return o?i?x>(m-f)/2?w.right=m-x+5+"px":w.left=x+f+5+"px":w.left="20px":w.left=x+"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 SK(e,t){D$(function(){var n=SW(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 SZ=bV("slice"),SX=vp("species"),SY=gH.Array,SJ=Math.max;md({target:"Array",proto:!0,forced:!SZ},{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===SY||yk(n.prototype))||vy(n)&&null===(n=n[SX]))&&(n=void 0),n===SY||void 0===n))return xT(i,u,s);for(r=new(void 0===n?SY:n)(SJ(s-u,0)),o=0;u<s;u++,o++)u in i&&m2(r,o,i[u]);return r.length=o,r}});var SQ=yQ.f,S0=gY("".startsWith),S1=gY("".slice),S2=Math.min,S4=mq("startsWith");md({target:"String",proto:!0,forced:!(!S4&&(O2=SQ(String.prototype,"startsWith"))&&!O2.writable)&&!S4},{startsWith:function(e){var t=mw(gQ(this));mV(e);var n=yO(S2(arguments.length>1?arguments[1]:void 0,t.length)),r=mw(e);return S0?S0(t,r,n):S1(t,n,n+r.length)===r}});var S3=Object.assign,S6=Object.defineProperty,S5=gY([].concat),S8=!S3||va(function(){if(vv&&1!==S3({b:1},S3(S6({},"a",{enumerable:!0,get:function(){S6(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!=S3({},e)[n]||mp(S3({},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?S5(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}:S3;md({target:"Object",stat:!0,forced:Object.assign!==S8},{assign:S8});var S7=["props","attrs","style","dataset","on","hook"],S9=[],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,x=v.left,D="start"===o||"nearest"===o?b:"end"===o?E:b+y/2,S="center"===i?x+m/2:"end"===i?w:x,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&&x>=0&&E<=p&&w<=d&&b>=F&&E<=P&&x>=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?D:"end"===o?D-p:"nearest"===o?Cu(g,g+p,p,R,M,g+D,g+D+y,y):D-p/2,$="start"===i?S:"center"===i?S-d/2:"end"===i?S-d:Cu(h,h+d,d,N,L,h+S,h+S+m,m),z=Math.max(0,z+g),$=Math.max(0,$+h);else{z="start"===o?D-F-R:"end"===o?D-P+M+U:"nearest"===o?Cu(F,P,T,R,M+U,D,D+y,y):D-(F+T/2)+U/2,$="start"===i?S-j-N:"center"===i?S-(j+B/2)+H/2:"end"===i?S-_+L+H:Cu(j,_,B,N,L+H,S,S+m,m);var V=A.scrollLeft,W=A.scrollTop;D+=W-(z=Math.max(0,Math.min(W+z,A.scrollHeight-T+U))),S+=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)&&xn.hasDOMNode(e,t,{editable:!0})}function Cf(e,t){if(e.getConfig().readOnly)return!1;var n=Cd(e,t)&&xn.toSlateNode(e,t);return ly.isVoid(e,n)}function Cd(e,t){return EJ(t)&&xn.hasDOMNode(e,t)}function Cp(e,t,n){void 0===n&&(n=!1);var r=t.selection,o=t.getConfig(),i=xn.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=xn.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||xn.hasRange(t,r)){e.isUpdatingSelection=!0;var g=r&&xn.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=xn.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 Cx={beforeinput:function(e,t,n){var r=n.getConfig().readOnly;if(xt&&!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=xn.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=xn.findDocumentOrShadowRoot(n);if(o!==i.activeElement){var a=e.relatedTarget;if(!(a===xn.toDOMNode(n,n)||EY(a)&&a.hasAttribute("data-slate-spacer"))){if(null!=a&&EJ(a)&&xn.hasDOMNode(n,a)){var u=xn.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=xn.toDOMNode(n,n);t.latestElement=xn.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=xn.toSlateNode(n,e.target),o=xn.findPath(n,r);if(ly.hasPath(n,o)&&lx.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=xn.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){(xe||E5)&&xn.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)){xn.setNewKey(i);break}}var s=e.data;if(s){if(n.getConfig().maxLength){var l=xn.getLeftLengthOfMaxLength(n);l<s.length?(xn.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&&xn.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=ED.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(xt){if((xe||E8)&&r&&(Cw.isDeleteBackward(e)||Cw.isDeleteForward(e))&&lj.isCollapsed(r)){var o=lx.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(!xt&&!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=lx.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(!xt||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=xn.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=xn.toSlateNode(n,e.target),o=xn.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&&!(xt&&E8&&r.files.length>0)){e.preventDefault();var o=n.selection,i=xn.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()}}},CD=1,CS=function(){function e(e){var t=this;this.id=CD++,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=xn.findDocumentOrShadowRoot(t),a=i.activeElement,u=xn.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=xn.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,D$(function(){var e=t.editorInstance,n=xn.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$(Cx,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-xn.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=xn.findKey(n,t),u=n.isInline(t),s=ly.isVoid(n,t),l=DH(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(lx.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,S9.forEach(function(e){o=e(t,r)}),h=o),D$(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=xn.findKey(n,e),o=n.getConfig().decorate;if(null==o)throw Error("Can not get config.decorate");var i=xn.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=xn.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(lx.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,S9.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 D$(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(!S7.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),D$(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=vS(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),D$(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)?SG(e,t,"modal"):Sq(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=xn.getTextarea(n),i=xn.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||SK(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,D$(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)&&!xn.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),D$(function(){var t=e.getEditorInstance(),n=e.$elem;n.on("mousedown",function(e){return e.preventDefault()},{passive:!1}),xn.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;D$(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=xi[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=SG(t,e,"bar");return n.css(r),void SK(t,n)}if(l$.isText(e))return r=Sq(t),n.css(r),void SK(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 xn.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=ES.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=xn.findPath(null,e),r=xn.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(yS(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),D$(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=xi[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=Ex.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,x=void 0===E?function(e,t,n){console.error(e.name+" upload error",t,n)}:E,D=e.onProgress,S=void 0===D?function(e){}:D;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||S(e)}),O.on("upload-error",function(e,t,n){try{x(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{x(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={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};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?[]:{},x=w?g:h;for(var D in p)if(Object.prototype.hasOwnProperty.call(p,D)){var S="".concat(x).concat(i).concat(D);E[D]=this.translate(S,C6({},n,{joinArrays:!1,ns:s})),E[D]===S&&(E[D]=p[D])}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 Ox=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}(),OD=[{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}],OS={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={},OD.forEach(function(e){e.lngs.forEach(function(t){n[t]={numbers:e.nr,plurals:OS[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 Ox(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)},Ax=function(e,t){var n;return arguments.length<2?Aw(n=O8[e])?n:void 0:O8[e]&&O8[e][t]},AD=Ac({}.isPrototypeOf),AS=Ax("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&&AS&&(!(O3=AS.match(/Edge\/(\d+)/))||O3[1]>=74)&&(O3=AS.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=Ax("Symbol");return Aw(t)&&AD(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),kx=Ac(kE.get),kD=Ac(kE.has),kS=Ac(kE.set);kc=function(e,t){if(kD(kE,e))throw new kb("Object already initialized");return t.facade=e,kS(kE,e,t),t},kf=function(e){return kx(kE,e)||{}},kd=function(e){return kD(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=Ax("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=Ax("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 Tx,TD=O8.String,TS=function(e){if("Symbol"===To(e))throw TypeError("Cannot convert a Symbol value to a string");return TD(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_=Ax("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{Tx=new ActiveXObject("htmlfile")}catch(e){}TR="undefined"!=typeof document?document.domain&&Tx?TN(Tx):((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(Tx);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=TS(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=TS(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),Bx="$0"==="a".replace(/./,"$0"),BD=!!/./[Bg]&&""===/./[Bg]("a","$0");T9("replace",function(e,t,n){var r=BD?"$":"$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,TS(r),e,n)},function(e,o){var i=ko(this),a=TS(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=TS(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;""===TS(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=TS((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 x=Bm([y],b,m,a);void 0!==E&&Bb(x,E);var D=TS(T5(o,void 0,x))}else D=Bd(y,a,m,b,E,o);m>=g&&(h+=BE(a,g,m)+D,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>")})||!Bx||BD);var BS=A2("unscopables"),BC=Array.prototype;null==BC[BS]&&ku.f(BC,BS,{configurable:!0,value:Tz(null)});var BO=function(e){BC[BS][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=TS(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,TS(o),t,n)},function(e,o){var i=ko(this),a=TS(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=TS(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||""!==lx.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=TS(Am(e)),i="<"+t;return""!==n&&(i+=" "+n+'="'+Ft(TS(r),Fe,"&quot;")+'"'),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"===xn.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),Fx=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),FD=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),FS=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=TS(e.source),n=e.flags;return"/"+t+"/"+TS(void 0===n&&AD(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 xn.getNodeType(e).startsWith("header")},universal:!0}),1)[0];if(null==t)return"paragraph";var n=B7(t,1)[0];return xn.getNodeType(n)}function FX(e){return null==e.selection||!B7(ly.nodes(e,{match:function(e){var t=xn.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=TS(Am(this));F$(e);var n=kM(FG(arguments.length>1?arguments[1]:void 0,t.length)),r=TS(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 xn.getNodeType(e).startsWith("header")},universal:!0}),1)[0];n&&xn.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"===xn.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,"&lt;").replace(/>/g,"&gt;")}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||!!xn.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=xn.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 xn.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=xn.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 xn.checkNodeType(e,"link")}}),[2]}})})}(e,r?lx.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}(),_x=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==xn.getSelectedNodeByType(e,"link")},e.prototype.exec=function(e,t){this.isDisabled(e)||l6.unwrapNodes(e,{match:function(e){return xn.checkNodeType(e,"link")}})},e}(),_D=function(){function e(){this.title=OP("link.view"),this.iconSvg=Fm,this.tag="button"}return e.prototype.getSelectedLinkElem=function(e){var t=xn.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}(),_S={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=TS(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-"+xn.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(),xn.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=xn.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==xn.getSelectedNodeByType(e,"image")},e.prototype.exec=function(e,t){this.isDisabled(e)||l6.removeNodes(e,{match:function(e){return xn.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 xn.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==xn.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=xn.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 xn.checkNodeType(e,"image")}}),l=xn.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=xn.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 xn.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=xn.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 xn.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!!xn.getSelectedNodeByType(e,"todo")},e.prototype.isDisabled=function(e){return null==e.selection||!!xn.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!!xn.getSelectedNodeByType(e,"blockquote")},e.prototype.isDisabled=function(e){return null==e.selection||!B7(ly.nodes(e,{match:function(e){var t=xn.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"===xn.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(TS(Am(this)),TS(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}},Px=Pd({}.toString),PD=Pd("".slice),PS=function(e){return PD(Px(e),8,-1)},PC=Pn.Object,PO=Pd("".split),PA=Ph(function(){return!PC("z").propertyIsEnumerable(0)})?function(e){return"String"==PS(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")},jx=Pn.TypeError,jD=Object.defineProperty,jS={f:Pg?jD:function(e,t,n){if(jE(e),t=jo(t),jE(n),js)try{return jD(e,t,n)}catch(e){}if("get"in n||"set"in n)throw jx("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},jC=Pg?function(e,t,n){return jS.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"==PS(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?jS.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"==PS(function(){return arguments}()),j$=jR?PS: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?PS(t):"Object"==(r=PS(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;)jS.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,Ix,ID=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)},IS=Il.concat("length","prototype"),IC={f:Object.getOwnPropertyNames||function(e){return Is(e,IS)}},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"==PS(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=jS.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=jS.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=jS.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!=ID(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]=ID(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=ID(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,jS.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?ID(e):Nh(ID(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,Nx,ND=P_.Symbol,NS={},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(Nx=[].keys())?(NE=NP(NP(Nx)))!==Object.prototype&&(Nw=NE):NI=!0),Pp((Nw=null==Nw||Ph(function(){var e={};return Nw[Nj].call(e)!==e})?{}:ID(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=ID(NN,{next:PE(1,r)}),Iz(n,u,!1,!0),NS[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),NS[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}),NS[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"),NS.Arguments=NS.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),NS[NW]=NS.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=(RS=OQ(function(e){function t(n){return"function"==typeof ND&&"symbol"==typeof N0?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"==typeof ND&&e.constructor===ND&&e!==ND.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}))&&RS.__esModule&&Object.prototype.hasOwnProperty.call(RS,"default")?RS.default:RS,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"===xn.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=xn.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=xn.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||!!xn.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=xn.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||!!xn.getSelectedElems(e).some(function(t){if(e.isVoid(t))return!0;var n=xn.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=xn.getSelectedNodeByType(e,"code");if(null==t)return null;var n=xn.getParentNode(e,t);return null==n||"pre"!==xn.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=xn.getSelectedElems(e);return!!t.some(function(t){return e.isVoid(t)})||!t.some(function(e){var t=xn.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=lx.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(lx.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](TS(n))},function(e){var r=ko(this),o=TS(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=TS(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 FD}},{key:"italic",factory:function(){return new FE}},{key:"through",factory:function(){return new Fx}},{key:"code",factory:function(){return new Fw}},{key:"sub",factory:function(){return new FS}},{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=xn.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:xn.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=xn.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:xn.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"!==xn.getNodeType(o))return n([o,i]);xn.isLastNode(e,o)&&l6.insertNodes(e,xn.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:_S},{key:"editLink",factory:function(){return new _E},config:_S},{key:"unLink",factory:function(){return new _x}},{key:"viewLink",factory:function(){return new _D}}],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"!==xn.getNodeType(o)?r([o,i]):""===lx.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=xn.getSelectedNodeByType(e,"code");if(null!=n){var r=function(e,t){var n=t.selection;if(null==n)return"";var r=lx.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=xn.getNodeType(o);return"code"===a&&i.length<=1&&l6.setNodes(e,{type:"paragraph"},{at:i}),"pre"===a&&(xn.isLastNode(e,o)&&l6.insertNodes(e,xn.genEmptyParagraph(),{at:[i[0]+1]}),"code"!==xn.getNodeType(o.children[0])&&(l6.unwrapNodes(e),l6.setNodes(e,{type:"paragraph"},{mode:"highest"}))),n([o,i])},e.insertData=function(t){if(null!=xn.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"===xn.getNodeType(e)})).length&&(t=[{type:"code",language:"",children:[{text:r[0].textContent||""}]}]),{type:"pre",children:t.filter(function(e){return"code"===xn.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 xn.checkNodeType(e,"blockquote")},universal:!0}),1)[0];if(!o)return t();var i=o[0],a=xn.findPath(e,i),u=ly.end(e,a);if(lB.equals(u,r.focus)){var s=lx.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=xn.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=xn.getSelectedNodeByType(e,"todo");if(o&&0===lx.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 Rx="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function RD(e){var t={exports:{}};return e(t,t.exports),t.exports}var RS,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 Rx&&Rx)||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=RD(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))},Lx=Rk.String,LD=function(e){try{return Lx(e)}catch(e){return"Object"}},LS=Rk.TypeError,LC=function(e){if(R2(e))return e;throw LS(LD(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,Mx=function(e){return Mo(e)?Mr(e):Mn(e,{})},MD=function(e){return function(t){var n;if(!Ls(t)||(n=Mr(t)).type!==e)throw Mc("Incompatible receiver, "+e+" required");return n}},MS={}.propertyIsEnumerable,MC=Object.getOwnPropertyDescriptor,MO={f:MC&&!MS.call({1:2},1)?function(e){var t=MC(this,e);return!!t&&t.enumerable}:MS},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=RD(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=Mx(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=MD("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=MD("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 zx=function(e,t,n){for(var r in t)MP(e,r,t[r],n);return e},zD=Rk.Array,zS=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=zD(zS(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_=RD(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$(LD(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(LD(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=MD(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 zx(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)}}),zx(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);zx($g,{delete:function(e){if(Ls(e)&&!zB(e)){var t=Mx(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=Mx(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=Mx(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=Mx(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,$x=$E&&$E.constructor&&$E.constructor.prototype,$D=$x===Object.prototype?void 0:$x,$S=Lu("iterator"),$C=Lu("toStringTag"),$O=za.values,$A=function(e,t){if(e){if(e[$S]!==$O)try{Ml(e,$S,$O)}catch(t){e[$S]=$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($D,"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===xn.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 xn.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||!!xn.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),Hx=RP("".slice),HD="$0"==="a".replace(/./,"$0"),HS=!!/./[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=HS?"$":"$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 x=p.groups;if(i){var D=Hb([m],w,b,r);void 0!==x&&Hw(D,x);var S=zh(Ho(t,void 0,D))}else S=Hp(m,r,b,w,x,t);b>=v&&(g+=Hx(r,v,b)+S,v=b+m.length)}return g+Hx(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>")})||!HD||HS);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]",x="[object DataView]",D=/^\[object .+?Constructor\]$/,S=/^(?: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[x]=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 ex(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 eD(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 eS(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:D).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=eS(this,e).delete(e);return this.size-=!!t,t},ev.prototype.get=function(e){return eS(this,e).get(e)},ev.prototype.has=function(e){return eS(this,e).has(e)},ev.prototype.set=function(e,t){var n=eS(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)))!=x||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 x;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||S.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),D=(v=v==a?g:v)==g,S=(w=w==a?g:w)==g,C=v==w;if(C&&e_(e)){if(!e_(t))return!1;u=!0,D=!1}if(C&&!D)return i||(i=new em),u||eR(e)?ex(e,t,n,r,o,i):function(e,t,n,r,o,i,a){switch(n){case x: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=ex(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=D&&H.call(e,"__wrapped__"),A=S&&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=eD(e),s=u.length;if(s!=eD(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,Ux=Math.random(),UD=HG(1..toString),US=function(e){return"Symbol("+(void 0===e?"":e)+")_"+UD(++UE+Ux,36)},UC=Uv("wks"),UO=Hj.Symbol,UA=UO&&UO.for,Uk=Uo?UO:UO&&UO.withoutSetter||US,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]=US(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},Vx=HG([].concat),VD=H6("Reflect","ownKeys")||function(e){var t=Vw.f(U$(e)),n=VE.f;return n?Vx(t,n(e)):t},VS=function(e,t){for(var n=VD(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;VS(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$,"&quot;")+'">'+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"),Wx=function(e){return Un>=51||!HI(function(){var t=[];return(t.constructor={})[WE]=function(){return{foo:1}},1!==t[e](Boolean).foo})},WD=HG([].slice),WS=Wx("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 xn.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"===xn.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:!WS},{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 WD(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:!Wx("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)},qx=Vr.PROPER,qD=qE.trim;function qS(e){return e.length?e[0].tagName.toLowerCase():""}V_({target:"String",proto:!0,forced:(Gs="trim",HI(function(){return!!qg[Gs]()||"​\x85᠎"!=="​\x85᠎"[Gs]()||qx&&qg[Gs].name!==Gs}))},{trim:function(){return qD(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:!Wx("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 x=qV([y],b,m,a);void 0!==E&&qW(x,E);var D=Vz(W1(o,void 0,x))}else D=qz(y,a,m,b,E,o);m>=g&&(h+=qG(a,g,m)+D,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)||!!xn.getSelectedElems(e).some(function(t){var n=xn.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 &times; 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+" &times; "+(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)){xn.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==xn.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==xn.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=Wk(ly.nodes(e,{match:function(e){return xn.checkNodeType(e,"table-cell")},universal:!0}),1),r=Wk(n[0],2),o=r[0],i=r[1],a=xn.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==xn.getSelectedNodeByType(e,"table-row")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=Wk(ly.nodes(e,{match:function(e){return xn.checkNodeType(e,"table-row")},universal:!0}),1),r=Wk(n[0],2),o=r[0],i=r[1],a=xn.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==xn.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=Wk(ly.nodes(e,{match:function(e){return xn.checkNodeType(e,"table-cell")},universal:!0}),1),r=Wk(n[0],2),o=r[0],i=r[1],a=xn.getParentNode(e,o);if(null!=a){var u=xn.getParentNode(e,a);null!=u&&(u.children||[]).forEach(function(t,n){lf.isElement(t)&&(t.children||[]).forEach(function(t){var r=xn.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==xn.getSelectedNodeByType(e,"table-cell")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=Wk(ly.nodes(e,{match:function(e){return xn.checkNodeType(e,"table-cell")},universal:!0}),1),r=Wk(n[0],2),o=r[0],i=r[1],a=xn.getParentNode(e,o),u=(null==a?void 0:a.children.length)||0;if(!a||u<=1)l6.removeNodes(e,{mode:"highest"});else{var s=xn.getParentNode(e,a);null!=s&&(s.children||[]).forEach(function(t){lf.isElement(t)&&(t.children||[]).forEach(function(t){var n=xn.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=xn.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==xn.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var n=!t,r=xn.getSelectedNodeByType(e,"table");null!=r&&WM(r).forEach(function(t){return l6.setNodes(e,{isHeader:n},{at:xn.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=xn.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==xn.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}},Gx=Function.prototype,GD=Gx.bind,GS=Gx.call,GC=GD&&GD.bind(GS),GO=GD?function(e){return e&&GC(GS,e)}:function(e){return e&&function(){return GS.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,Kx=Object.defineProperty,KD={f:Gg?Kx:function(e,t,n){if(Kw(e),t=Kf(t),Kw(n),Kg)try{return Kx(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}},KS=Gg?function(e,t,n){return KD.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,KS(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)&&KS(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:KS(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=KD.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)&&KS(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},Zx=Gp.String,ZD=function(e){if("Symbol"===ZE(e))throw TypeError("Cannot convert a Symbol value to a string");return Zx(e)},ZS=" \n\v\f\r \xa0               \u2028\u2029\uFEFF",ZC=GO("".replace),ZO="["+ZS+"]",ZA=RegExp("^"+ZO+ZO+"*"),Zk=RegExp(ZO+ZO+"*$"),ZT=function(e){return function(t){var n=ZD(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!!ZS.trim()||"​\x85᠎"!=="​\x85᠎".trim()||ZF&&"trim"!==ZS.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;)KD.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]&&KD.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),Xx=GO("".slice),XD=(Xa=/b*/g,Gy(Xy,Xi=/a/,"a"),Gy(Xy,Xa,"a"),0!==Xi.lastIndex||0!==Xa.lastIndex),XS=Xf.BROKEN_CARET,XC=void 0!==/()??/.exec("")[1];(XD||XC||XS||Xp||Xg)&&(Xm=function(e){var t,n,r,o,i,a,u,s=KU(this),l=ZD(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=XS&&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=Xx(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)),XD&&(r=this.lastIndex),o=Gy(Xy,d?n:this,v),d?o?(o.input=Xx(o.input,g),o[0]=Xx(o[0],g),o.index=this.lastIndex,this.lastIndex+=o[0].length):this.lastIndex=0:XD&&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=ZD(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,ZD(n),e,t)},function(e,t){var n=Kw(this),r=ZD(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=ZD(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;""===ZD(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=ZD((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 x=p.groups;if(i){var D=XY([m],w,b,r);void 0!==x&&XJ(D,x);var S=ZD(XF(t,void 0,D))}else S=XW(m,r,b,w,x,t);b>=v&&(g+=X0(r,v,b)+S,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=KD.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,Yx,YD,YS=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?(YD=(Yx=new YI).port2,Yx.port1.onmessage=Y$,YE=ZX(YD.postMessage,YD)):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,Jx=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}),JD=Jx||!YS(function(e){Jd.all(e).catch(function(){})}),JS=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=JS(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=JS(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(Jx&&(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,"&lt;").replace(/>/g,"&gt;")),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:Jx},{Promise:Jd}),Yt(Jd,Js,!1),JM=GL("Promise"),Jz=KD.f,Gg&&JM&&!JM[Yn]&&Jz(JM,Yn,{configurable:!0,get:function(){return this}}),Je=GL(Js),Zg({target:Js,stat:!0,forced:Jx},{reject:function(e){var t=Jy(this);return Gy(t.reject,void 0,e),t.promise}}),Zg({target:Js,stat:!0,forced:Jx},{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:JD},{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)||!!xn.getSelectedElems(e).some(function(t){var n=xn.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?KS(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:ZD(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?KD.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=KD.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,Qx=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},QD=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=YS(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",Qx,Qw);if(KF&&QE){Qb=Qw.getConstructor(Qx,"WeakMap",!0),Qc.enable();var QS=QD.prototype,QC=GO(QS.delete),QO=GO(QS.has),QA=GO(QS.get),Qk=GO(QS.set);X6(QS,{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{KS(e,QP,QI)}catch(t){e[QP]=QI}if(e[Qj]||KS(e,Qj,t),QT[t]){for(var n in J8)if(e[n]!==J8[n])try{KS(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=KD.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)||!!xn.getSelectedElems(e).some(function(t){var n=xn.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=ZD(e.source),n=e.flags;return"/"+t+"/"+ZD(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 xn.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 xn.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,eex=function(e){if(null==e)throw eeE("Can't call method on "+e);return e},eeD=function(e){return eew(eex(e))},eeS=function(e){return"function"==typeof e},eeC=function(e){return"object"==typeof e?null!==e:eeS(e)},eeO=function(e,t){var n;return arguments.length<2?eeS(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 eeS(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(eeS(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(eex(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&&eeS(n=e.toString)&&!eeC(r=eei(n,e))||eeS(n=e.valueOf)&&!eeC(r=eei(n,e))||"string"!==t&&eeS(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=eeD(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);eeS(eeq.inspectSource)||(eeq.inspectSource=function(e){return etp(e)});var eth,etg,etv,ety=eeq.inspectSource,etm=eet.WeakMap,etb=eeS(etm)&&/native code/.test(ety(etm)),etw=eeG("keys"),etE=function(e){return etw[e]||(etw[e]=ee1(e))},etx={},etD=eet.TypeError,etS=eet.WeakMap;if(etb||eeq.state){var etC=eeq.state||(eeq.state=new etS),etO=eeh(etC.get),etA=eeh(etC.has),etk=eeh(etC.set);eth=function(e,t){if(etA(etC,e))throw new etD("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");etx[etT]=!0,eth=function(e,t){if(eeY(e,etT))throw new etD("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 etD("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;eeS(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 eeS(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=eeD(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=eeD(e),o=0,i=[];for(n in r)!eeY(etx,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&&(eeS(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))&&eeS(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(!eeS(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(!eeS(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}),enx=ee5("species"),enD=eet.Array,enS=Math.max;enn({target:"Array",proto:!0,forced:!enE},{slice:function(e,t){var n,r,o,i=eeD(this),a=etG(i),u=etV(e,a),s=etV(void 0===t?a:t,a);if(enr(i)&&((eny(n=i.constructor)&&(n===enD||enr(n.prototype))||eeC(n)&&null===(n=n[enx]))&&(n=void 0),n===enD||void 0===n))return enw(i,u,s);for(r=new(void 0===n?enD:n)(enS(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=eeD(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()};etx[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(eex(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(eeS(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),erx=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(eex(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,erx(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,erx(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=eex(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?erx(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,erx(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,erx(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 erD=function(){return(erD=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 erS(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 eeS(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={}),eeS(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||eeS(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):eeS(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:eeD(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(eeD(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}};etx[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},eox=ee5("species"),eoD=eet.Array,eoS=function(e,t){var n;return new(enr(e)&&(eny(n=e.constructor)&&(n===eoD||enr(n.prototype))||eeC(n)&&null===(n=n[eox]))&&(n=void 0),void 0===n?eoD: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||eoS,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,!eeS(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&&eeS(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(eeS(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&&eeS(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,eix,eiD,eiS,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?((eiD=eiP.resolve(void 0)).constructor=eiP,eiS=eoo(eiD.then,eiD),eiw=function(){eiS(eiy)}):eir?eiw=function(){ei_.nextTick(eiy)}:(eiT=eoo(eiT,eet),eiw=function(){eiT(eiy)}):(eiE=!0,eix=eiF.createTextNode(""),new eiB(eiy).observe(eix,{characterData:!0}),eiw=function(){eix.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=eeS(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)||!eeS(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=!eeS(e)||e,o.fail=eeS(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)},eeS(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 erS(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 erS(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 erS(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(erD(erD({},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 eax=eeh([].join),eaD=eew!=Object,eaS=eo1("join",",");enn({target:"Array",proto:!0,forced:eaD||!eaS},{join:function(e){return eax(eeD(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,eux=function(e){try{return euE(e)}catch(e){return"Object"}},euD=eaP.TypeError,euS=function(e){if(eaQ(e))return e;throw euD(eux(e)+" is not a function")},euC=function(e,t){var n=e[t];return null==n?void 0:euS(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),esx=!esw.exec(esy),esD=function(e){if(!eaQ(e))return!1;try{return esb(esy,esm,e),!0}catch(e){return!1}},esS=!esb||ea8(function(){var e;return esD(esD.call)||!esD(Object)||!esD(function(){e=!0})||e})?function(e){if(!eaQ(e))return!1;switch(ese(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return esx||!!esE(esw,euM(e))}:esD,esC=euo("species"),esO=eaP.Array,esA=function(e,t){var n;return new(esv(e)&&(esS(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=(euS(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,"&amp;").replace(/</g,"&lt;").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,x=l;E!==n.tail&&!(c&&x>=c.reach);x+=E.value.length,E=E.next){var D=E.value;if(n.length>t.length)return;if(!(D instanceof i)){var S,C=1;if(y){if(!(S=a(w,x,t,v)))break;var O=S.index,A=S.index+S[0].length,k=x;for(k+=E.value.length;O>=k;)k+=(E=E.next).value.length;if(x=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--,D=t.slice(x,k),S.index-=x}else if(!(S=a(w,0,D,v)))continue;O=S.index;var B=S[0],F=D.slice(0,O),_=D.slice(O+B.length),P=x+D.length;c&&P>c.reach&&(c.reach=P);var j=E.prev;if(F&&(j=s(n,j,F),x+=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,x,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,"&quot;")+'"';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(/&amp;/,"&"))}),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(/&amp;/,"&"))}),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:/![sra](?=[:}]$)/,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]),x=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[E,y,m]),D={keyword:c,punctuation:/[<>()?,.:[\]]/},S=/'(?:[^\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(S),greedy:!0,alias:"character"}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[y]),lookbehind:!0,inside:D},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,x]),lookbehind:!0,inside:D},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[l,v]),lookbehind:!0,inside:D},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[y]),lookbehind:!0,inside:D},{pattern:n(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:D},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[x,d,g]),inside:D}],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:D},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[x,y]),inside:D,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[x]),lookbehind:!0,inside:D,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:D}}},"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,x,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(x),greedy:!0,inside:D},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+"|"+S,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/}),elx={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:elx}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:elx}}],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:elx}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:elx}},{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:elx}},{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(/&lt;/g,"<").replace(/&amp;/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,elx,elD,elS=["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{elD=new ActiveXObject("htmlfile")}catch(e){}elL="undefined"!=typeof document?document.domain&&elD?elR(elD):((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(elD);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(esS(e))return e;throw ect(eux(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 x=1;x<=E.length-1;x++)if(ecy(g,E[x]),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,ecx=eaH(elA),ecD=ea8(function(){return"/a/b"!=ecE.call({source:"a",flags:"b"})}),ecS=ecb&&"toString"!=ecE.name;(ecD||ecS)&&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)?ecx(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 xn.checkNodeType(e,"code")}})}},e.prototype.getSelectCodeElem=function(e){var t=xn.getSelectedNodeByType(e,"code");if(null==t)return null;var n=xn.getParentNode(e,t);return lf.isElement(n)?"pre"!==n.type?null:t:null},e}(),ecO={renderStyle:function(e,t){var n,r,o="";return elS.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"!==xn.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,"&quot;")+'">'+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=xn.getParentNode(null,e);if(t&&"code"===xn.getNodeType(t)){var n=xn.getParentNode(null,t);if(n&&"pre"===xn.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!=xi[n])throw Error("Duplicated key '"+n+"' in menu items");xi[n]=r,null!=i&&(xo[n]=i)}(e,t)},e.registerRenderElem=function(e){var t,n;t=e.type,n=e.renderElem,Ce[t||""]=n},e.registerRenderStyle=function(e){S9.push(e)},e.registerElemToHtml=function(e){var t,n;t=e.type,n=e.elemToHtml,xy[t||""]=n},e.registerStyleToHtml=function(e){xv.push(e)},e.registerPreParseHtml=function(e){Dq.push(e)},e.registerParseElemHtml=function(e){var t,n;t=e.selector,n=e.parseElemHtml,DK[t]=n},e.registerParseStyleHtml=function(e){DG.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=xn.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=xn.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=xn.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"===xn.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=xn.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=xn.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(xn.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=xn.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(xn.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=xn.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":xn.isNodeSelected(n,e),on:{mousedown:function(t){if("DIV"===t.target.tagName&&t.preventDefault(),!n.isDisabled()){var r=xn.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=xn.getParentNode(e,t);if(null==n)return!1;var r=xn.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=xn.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"!==qS(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"===qS(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"===xn.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"===xn.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==xn.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(xn.getSelectedNodeByType(e,"table")){var n=ly.above(e);xn.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(xn.checkNodeType(o[i-1],"table")){var u=xn.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"!==xn.getNodeType(r))return o([r,i]);if(xn.isLastNode(e,r)){var a=xn.genEmptyParagraph();l6.insertNodes(e,a,{at:[i[0]+1]})}},e.insertData=function(t){if(null!=xn.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=xn.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!==lx.string(n).length){var i=xn.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=xn.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"===xn.getNodeType(o)&&xn.isLastNode(e,o)&&l6.insertNodes(e,xn.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,x=e.config,D=e.content,S=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=Sw(sq())).id="wangEditor-"+xr++,t.isDestroyed=!1,t.isFullScreen=!1,t.focus=function(e){if(xn.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(){xn.toDOMNode(t,t).blur(),l6.deselect(t),E$.set(t,!1)},t.updateView=function(){xn.getTextarea(t).changeViewState();var e=xn.getToolbar(t);e&&e.changeToolbarState();var n=xn.getHoverbar(t);n&&n.changeHoverbarState()},t.destroy=function(){if(!t.isDestroyed){var e=xn.getTextarea(t);e.destroy(),Ew.delete(t),EE.delete(e);var n=xn.getToolbar(t);n&&(n.destroy(),ED.delete(t),Ex.delete(n));var r=xn.getHoverbar(t);r&&(r.destroy(),EC.delete(t),ES.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(!xn.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=xn.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||xn.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 xn.toDOMNode(t,e)},t.fullScreen=function(){if(!t.isFullScreen){var e=null,n=xn.getToolbar(t);n&&(e=n.$box);var r=xn.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=xn.getTextarea(t).$box.parent();setTimeout(function(){e.removeClass("w-e-full-screen-container"),t.isFullScreen=!1,t.emit("unFullScreen")},200)}},t.getEditableContainer=function(){return xn.getTextarea(t).$textAreaContainer[0]},n=t).getAllMenuKeys=function(){var e=[];for(var t in xi)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=xn.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=xn.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))})),x=E.next();!x.done;x=E.next()){var D=wP(x.value,2);g=D[0],v=D[1],y=xn.findKey(r,g),f.push([v,y])}}catch(e){u={error:e}}finally{try{x&&!x.done&&(s=E.return)&&s.call(E)}finally{if(u)throw u.error}}}a(e);try{for(var S=w_(f),C=S.next();!C.done;C=S.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=S.return)&&c.call(S)}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(DV(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;)DV(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=(xy[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||xv.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," &nbsp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/®/g,"&reg;").replace(/©/g,"&copy;").replace(/™/g,"&trade;");var o=xn.getParentsNodes(t,e).some(function(e){return"pre"===xn.getNodeType(e)});if(o||(r=r.replace(/\r\n|\r|\n/g,"<br>")),o&&(r=r.replace(/&nbsp;/g," ")),""===r){var i=xn.getParentNode(null,e);if(!i||0!==i.children.length)return r;r="<br>"}return xv.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 lx.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=DH(xn.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 xn.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&&!Sm.has(n.toLowerCase())})).length){var i=r.selection;if(null!=i){var a=null;xn.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(DW.includes(n.toLowerCase()))a=!0;else for(var s in DK)if(e.matches(s)){a=!0;break}if(a){var l=Sp(c2(e),r);return Array.isArray(l)?l.forEach(function(e){return Sb(r,e)}):Sb(r,l),u++,void(xn.isSelectedVoidNode(r)&&r.move(1))}var c=window.getComputedStyle(e).display;xn.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&&xn.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=Sg(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=xn.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 Sq(s)},s.getNodePosition=function(e){return SG(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=SH(l);if(n.on(e,t),"destroyed"===e&&SV(l,t),"destroyed"!==e){var r=function(){return n.off(e,t)};n.on("destroyed",r),SV(l,r)}},l.once=function(e,t){SH(l).once(e,t)},l.off=function(e,t){SH(l).off(e,t)},l.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=SH(l);r.emit.apply(r,wj([e],wP(t))),"destroyed"===e&&((SU.get(l)||new Set).forEach(function(e){return r.off("destroyed",e)}),SU.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=xn.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=xn.getLeftLengthOfMaxLength(c);t<=0||t<lx.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(xn.getLeftLengthOfMaxLength(c)<lx.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=xn.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?Sm.has(r.toLowerCase())?e:e+(t.textContent||""):e:e},"").length||h(e,t)}}else h(e,t)},c));if(E&&Sh(O,"data-w-e-textarea",E))throw Error("Repeated create editor by selector '"+E+"'");var A=(void 0===(g=void 0===x?{}:x)&&(g={}),v=pb(xo),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!=S&&(O.children=Sg(O,S)),D&&D.length&&(O.children=D),0===O.children.length&&(O.children=[{type:"paragraph",children:[{text:""}]}]),xn.normalizeContent(O),E){var T=new CS(E);Ew.set(O,T),EE.set(T,O),T.changeViewState(),D$(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,ES.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(lx.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)}),D$(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(Sh(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 Ex.set(o,e),ED.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 x(e,t){return null===t?null===e:Array.isArray(e)?e.some(e=>e===t):e===t}class D{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];x(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 S(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())&&x(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&&!x(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?S({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?S(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 D(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 x=n(98240);let D=function(e,t){var n=t?(0,x.Z)(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)};var S=/\w*$/;let C=function(e){var t=new e.constructor(e.source,S.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,x.Z)(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return D(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,x=1&n,D=2&n,S=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),!x)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,x);if(j==V||j==H||I&&!h){if(w=D||I?{}:(0,F.Z)(t),!x)return D?(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,x)}}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=S?D?m:v.Z:D?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,"&quot;")+'">'+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(/&nbsp;/g," ").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&reg;/g,"\xae").replace(/&copy;/g,"\xa9").replace(/&trade;/g,"™").replace(/&quot;/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={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};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,"&quot;")+'"'),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,"&lt;").replace(/>/g,"&gt;")}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$,"&quot;")+'">'+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 &times; 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+" &times; "+(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,"&lt;").replace(/>/g,"&gt;")),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,"&amp;").replace(/</g,"&lt;").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,"&quot;")+'"';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(/&amp;/,"&"))}),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(/&amp;/,"&"))}),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:/![sra](?=[:}]$)/,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(/&lt;/g,"<").replace(/&amp;/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,"&quot;")+'">'+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," &nbsp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/®/g,"&reg;").replace(/©/g,"&copy;").replace(/™/g,"&trade;");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(/&nbsp;/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:
@@ -43,242 +43,7 @@ Uppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#
color .3s var(--n-bezier);
font-size: 18px;
color: var(--n-arrow-color);
- `)])])]),g=Object.assign(Object.assign({},i.Z.props),{defaultExpandedNames:{type:[Array,String],default:null},expandedNames:[Array,String],arrowPlacement:{type:String,default:"left"},accordion:{type:Boolean,default:!1},displayDirective:{type:String,default:"if"},triggerAreas:{type:Array,default:()=>["main","extra","arrow"]},onItemHeaderClick:[Function,Array],"onUpdate:expandedNames":[Function,Array],onUpdateExpandedNames:[Function,Array],onExpandedNamesChange:{type:[Function,Array],validator:()=>!0,default:void 0}}),v=(0,l.U)("n-collapse"),y=(0,o.aZ)({name:"Collapse",props:g,slots:Object,setup(e,{slots:t}){let{mergedClsPrefixRef:n,inlineThemeDisabled:l,mergedRtlRef:d}=(0,a.ZP)(e),p=(0,o.iH)(e.defaultExpandedNames),g=(0,o.Fl)(()=>e.expandedNames),y=(0,r.Z)(g,p),m=(0,i.Z)("Collapse","-collapse",h,f.Z,e,n);function b(t){let{"onUpdate:expandedNames":n,onUpdateExpandedNames:r,onExpandedNamesChange:o}=e;r&&(0,c.R)(r,t),n&&(0,c.R)(n,t),o&&(0,c.R)(o,t),p.value=t}function w(t){let{onItemHeaderClick:n}=e;n&&(0,c.R)(n,t)}(0,o.JJ)(v,{props:e,mergedClsPrefixRef:n,expandedNamesRef:y,slots:t,toggleItem:function(t,n,r){let{accordion:o}=e,{value:i}=y;if(o)t?(b([n]),w({name:n,expanded:!0,event:r})):(b([]),w({name:n,expanded:!1,event:r}));else if(Array.isArray(i)){let e=i.slice(),t=e.findIndex(e=>n===e);~t?(e.splice(t,1),b(e),w({name:n,expanded:!1,event:r})):(e.push(n),b(e),w({name:n,expanded:!0,event:r}))}else b([n]),w({name:n,expanded:!0,event:r})}});let E=(0,s.V)("Collapse",d,n),x=(0,o.Fl)(()=>{let{common:{cubicBezierEaseInOut:e},self:{titleFontWeight:t,dividerColor:n,titlePadding:r,titleTextColor:o,titleTextColorDisabled:i,textColor:a,arrowColor:u,fontSize:s,titleFontSize:l,arrowColorDisabled:c,itemMargin:f}}=m.value;return{"--n-font-size":s,"--n-bezier":e,"--n-text-color":a,"--n-divider-color":n,"--n-title-padding":r,"--n-title-font-size":l,"--n-title-text-color":o,"--n-title-text-color-disabled":i,"--n-title-font-weight":t,"--n-arrow-color":u,"--n-arrow-color-disabled":c,"--n-item-margin":f}}),D=l?(0,u.F)("collapse",void 0,x,e):void 0;return{rtlEnabled:E,mergedTheme:m,mergedClsPrefix:n,cssVars:l?void 0:x,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,o.h)("div",{class:[`${this.mergedClsPrefix}-collapse`,this.rtlEnabled&&`${this.mergedClsPrefix}-collapse--rtl`,this.themeClass],style:this.cssVars},this.$slots)}})},75228:function(e,t,n){n.d(t,{Z:()=>m});var r=n(17102),o=n(85259),i=n(61691),a=n(58786),u=n(96823);let s=(0,a.aZ)({name:"ChevronLeft",render:()=>(0,a.h)("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("path",{d:"M10.3536 3.14645C10.5488 3.34171 10.5488 3.65829 10.3536 3.85355L6.20711 8L10.3536 12.1464C10.5488 12.3417 10.5488 12.6583 10.3536 12.8536C10.1583 13.0488 9.84171 13.0488 9.64645 12.8536L5.14645 8.35355C4.95118 8.15829 4.95118 7.84171 5.14645 7.64645L9.64645 3.14645C9.84171 2.95118 10.1583 2.95118 10.3536 3.14645Z",fill:"currentColor"}))});var l=n(17351),c=n(54470),f=n(51048),d=n(14501),p=n(93950),h=n(29344),g=n(7740),v=n(77565);let y=(0,a.aZ)({name:"CollapseItemContent",props:{displayDirective:{type:String,required:!0},show:Boolean,clsPrefix:{type:String,required:!0}},setup:e=>({onceTrue:(0,g.Z)((0,a.Vh)(e,"show"))}),render(){return(0,a.h)(v.Z,null,{default:()=>{let{show:e,displayDirective:t,onceTrue:n,clsPrefix:r}=this,o=(0,a.h)("div",{class:`${r}-collapse-item__content-wrapper`},(0,a.h)("div",{class:`${r}-collapse-item__content-inner`},this.$slots));return"show"===t&&n?(0,a.wy)(o,[[a.F8,e]]):e?o:null}})}}),m=(0,a.aZ)({name:"CollapseItem",props:{title:String,name:[String,Number],disabled:Boolean,displayDirective:String},setup(e){let{mergedRtlRef:t}=(0,c.ZP)(e),n=(0,r.Mc)(),u=(0,i.Z)(()=>{var t;return null!=(t=e.name)?t:n}),s=(0,a.f3)(h.bZ);s||(0,d._y)("collapse-item","`n-collapse-item` must be placed inside `n-collapse`.");let{expandedNamesRef:l,props:p,mergedClsPrefixRef:g,slots:v}=s,y=(0,a.Fl)(()=>{let{value:e}=l;if(Array.isArray(e)){let{value:t}=u;return!~e.findIndex(e=>e===t)}if(e){let{value:t}=u;return t!==e}return!0});return{rtlEnabled:(0,f.V)("Collapse",t,g),collapseSlots:v,randomName:n,mergedClsPrefix:g,collapsed:y,triggerAreas:(0,a.Vh)(p,"triggerAreas"),mergedDisplayDirective:(0,a.Fl)(()=>{let{displayDirective:t}=e;return t||p.displayDirective}),arrowPlacement:(0,a.Fl)(()=>p.arrowPlacement),handleClick(t){let n="main";(0,o.B)(t,"arrow")&&(n="arrow"),(0,o.B)(t,"extra")&&(n="extra"),p.triggerAreas.includes(n)&&s&&!e.disabled&&s.toggleItem(y.value,u.value,t)}}},render(){let{collapseSlots:e,$slots:t,arrowPlacement:n,collapsed:r,mergedDisplayDirective:o,mergedClsPrefix:i,disabled:c,triggerAreas:f}=this,d=(0,p.q_)(t.header,{collapsed:r},()=>[this.title]),h=t["header-extra"]||e["header-extra"],g=t.arrow||e.arrow;return(0,a.h)("div",{class:[`${i}-collapse-item`,`${i}-collapse-item--${n}-arrow-placement`,c&&`${i}-collapse-item--disabled`,!r&&`${i}-collapse-item--active`,f.map(e=>`${i}-collapse-item--trigger-area-${e}`)]},(0,a.h)("div",{class:[`${i}-collapse-item__header`,!r&&`${i}-collapse-item__header--active`]},(0,a.h)("div",{class:`${i}-collapse-item__header-main`,onClick:this.handleClick},"right"===n&&d,(0,a.h)("div",{class:`${i}-collapse-item-arrow`,key:+!this.rtlEnabled,"data-arrow":!0},(0,p.q_)(g,{collapsed:r},()=>[(0,a.h)(u.Z,{clsPrefix:i},{default:()=>this.rtlEnabled?(0,a.h)(s,null):(0,a.h)(l.Z,null)})])),"left"===n&&d),(0,p.kj)(h,{collapsed:r},e=>(0,a.h)("div",{class:`${i}-collapse-item__header-extra`,onClick:this.handleClick,"data-extra":!0},e))),(0,a.h)(y,{clsPrefix:i,displayDirective:o,show:!r},t))}})},36308:function(e,t,n){n.d(t,{Z:()=>q});var r=n(19595),o=n(98965),i=n(97931),a=n(34649),u=n(20013),s=n(23967),l=n(58786),c=n(1257),f=n(53242),d=n(67553),p=n(56946),h=n(32196),g=n(3616),v=n(54470),y=n(53198),m=n(61730),b=n(44267),w=n(71309),E=n(67655),x=n(50906),D=n(82518);function S(e){return null===e?null:/^ *#/.test(e)?"hex":e.includes("rgb")?"rgb":e.includes("hsl")?"hsl":e.includes("hsv")?"hsv":null}let C={rgb:{hex:e=>(0,r.XA)((0,r.m4)(e)),hsl(e){let[t,n,i,a]=(0,r.m4)(e);return(0,r.f4)([...(0,o.XL)(t,n,i),a])},hsv(e){let[t,n,i,a]=(0,r.m4)(e);return(0,r.nE)([...(0,o.DM)(t,n,i),a])}},hex:{rgb:e=>(0,r.e3)((0,r.m4)(e)),hsl(e){let[t,n,i,a]=(0,r.m4)(e);return(0,r.f4)([...(0,o.XL)(t,n,i),a])},hsv(e){let[t,n,i,a]=(0,r.m4)(e);return(0,r.nE)([...(0,o.DM)(t,n,i),a])}},hsl:{hex(e){let[t,n,i,a]=(0,r.Jn)(e);return(0,r.XA)([...(0,o.wX)(t,n,i),a])},rgb(e){let[t,n,i,a]=(0,r.Jn)(e);return(0,r.e3)([...(0,o.wX)(t,n,i),a])},hsv(e){let[t,n,i,a]=(0,r.Jn)(e);return(0,r.nE)([...(0,o.EV)(t,n,i),a])}},hsv:{hex(e){let[t,n,i,a]=(0,r.ap)(e);return(0,r.XA)([...(0,o.XG)(t,n,i),a])},rgb(e){let[t,n,i,a]=(0,r.ap)(e);return(0,r.e3)([...(0,o.XG)(t,n,i),a])},hsl(e){let[t,n,i,a]=(0,r.ap)(e);return(0,r.f4)([...(0,o.pL)(t,n,i),a])}}};function O(e,t,n){return(n=n||S(e))?n===t?e:C[n][t](e):null}let A="12px",k=(0,l.aZ)({name:"AlphaSlider",props:{clsPrefix:{type:String,required:!0},rgba:{type:Array,default:null},alpha:{type:Number,default:0},onUpdateAlpha:{type:Function,required:!0},onComplete:Function},setup(e){let t=(0,l.iH)(null);function n(n){var r;let{value:o}=t;if(!o)return;let{width:i,left:a}=o.getBoundingClientRect(),u=(n.clientX-a)/(i-12);e.onUpdateAlpha((r=Math.round(100*(r=u))/100)>1?1:r<0?0:r)}function r(){var t;(0,D.S)("mousemove",document,n),(0,D.S)("mouseup",document,r),null==(t=e.onComplete)||t.call(e)}return{railRef:t,railBackgroundImage:(0,l.Fl)(()=>{let{rgba:t}=e;return t?`linear-gradient(to right, rgba(${t[0]}, ${t[1]}, ${t[2]}, 0) 0%, rgba(${t[0]}, ${t[1]}, ${t[2]}, 1) 100%)`:""}),handleMouseDown:function(o){t.value&&e.rgba&&((0,D.on)("mousemove",document,n),(0,D.on)("mouseup",document,r),n(o))}}},render(){let{clsPrefix:e}=this;return(0,l.h)("div",{class:`${e}-color-picker-slider`,ref:"railRef",style:{height:A,borderRadius:"6px"},onMousedown:this.handleMouseDown},(0,l.h)("div",{style:{borderRadius:"6px",position:"absolute",left:0,right:0,top:0,bottom:0,overflow:"hidden"}},(0,l.h)("div",{class:`${e}-color-picker-checkboard`}),(0,l.h)("div",{class:`${e}-color-picker-slider__image`,style:{backgroundImage:this.railBackgroundImage}})),this.rgba&&(0,l.h)("div",{style:{position:"absolute",left:"6px",right:"6px",top:0,bottom:0}},(0,l.h)("div",{class:`${e}-color-picker-handle`,style:{left:`calc(${100*this.alpha}% - 6px)`,borderRadius:"6px",width:A,height:A}},(0,l.h)("div",{class:`${e}-color-picker-handle__fill`,style:{backgroundColor:(0,r.e3)(this.rgba),borderRadius:"6px",width:A,height:A}}))))}});var T=n(79537),B=n(73084);let F=(0,n(19050).U)("n-color-picker"),_={paddingSmall:"0 4px"},P=(0,l.aZ)({name:"ColorInputUnit",props:{label:{type:String,required:!0},value:{type:[Number,String],default:null},showAlpha:Boolean,onUpdateValue:{type:Function,required:!0}},setup(e){let t=(0,l.iH)(""),{themeRef:n}=(0,l.f3)(F,null);function r(){let{value:t}=e;if(null===t)return"";let{label:n}=e;return"HEX"===n?t:"A"===n?`${Math.floor(100*t)}%`:String(Math.floor(t))}return(0,l.m0)(()=>{t.value=r()}),{mergedTheme:n,inputValue:t,handleInputChange:function(n){let o;switch(e.label){case"HEX":(function(e){let t=e.trim();return!!/^#[0-9a-fA-F]+$/.test(t)&&[4,5,7,9].includes(t.length)})(n)&&e.onUpdateValue(n),t.value=r();break;case"H":!1===(o=!!/^\d{1,3}\.?\d*$/.test(n.trim())&&Math.max(0,Math.min(Number.parseInt(n),360)))?t.value=r():e.onUpdateValue(o);break;case"S":case"L":case"V":!1===(o=!!/^\d{1,3}\.?\d*$/.test(n.trim())&&Math.max(0,Math.min(Number.parseInt(n),100)))?t.value=r():e.onUpdateValue(o);break;case"A":!1===(o=!!/^\d{1,3}\.?\d*%$/.test(n.trim())&&Math.max(0,Math.min(Number.parseInt(n)/100,100)))?t.value=r():e.onUpdateValue(o);break;case"R":case"G":case"B":!1===(o=!!/^\d{1,3}\.?\d*$/.test(n.trim())&&Math.max(0,Math.min(Number.parseInt(n),255)))?t.value=r():e.onUpdateValue(o)}},handleInputUpdateValue:function(e){t.value=e}}},render(){let{mergedTheme:e}=this;return(0,l.h)(B.Z,{size:"small",placeholder:this.label,theme:e.peers.Input,themeOverrides:e.peerOverrides.Input,builtinThemeOverrides:_,value:this.inputValue,onUpdateValue:this.handleInputUpdateValue,onChange:this.handleInputChange,style:"A"===this.label?"flex-grow: 1.25;":""})}}),j=(0,l.aZ)({name:"ColorInput",props:{clsPrefix:{type:String,required:!0},mode:{type:String,required:!0},modes:{type:Array,required:!0},showAlpha:{type:Boolean,required:!0},value:{type:String,default:null},valueArr:{type:Array,default:null},onUpdateValue:{type:Function,required:!0},onUpdateMode:{type:Function,required:!0}},setup:e=>({handleUnitUpdateValue(t,n){let o,{showAlpha:i}=e;if("hex"===e.mode)return void e.onUpdateValue((i?r.XA:r.zv)(n));switch(o=null===e.valueArr?[0,0,0,0]:Array.from(e.valueArr),e.mode){case"hsv":o[t]=n,e.onUpdateValue((i?r.nE:r.wW)(o));break;case"rgb":o[t]=n,e.onUpdateValue((i?r.e3:r.U8)(o));break;case"hsl":o[t]=n,e.onUpdateValue((i?r.f4:r.DU)(o))}}}),render(){let{clsPrefix:e,modes:t}=this;return(0,l.h)("div",{class:`${e}-color-picker-input`},(0,l.h)("div",{class:`${e}-color-picker-input__mode`,onClick:this.onUpdateMode,style:{cursor:1===t.length?"":"pointer"}},this.mode.toUpperCase()+(this.showAlpha?"A":"")),(0,l.h)(T.Z,null,{default:()=>{let{mode:e,valueArr:t,showAlpha:n}=this;if("hex"===e){let e=null;try{e=null===t?null:(n?r.XA:r.zv)(t)}catch(e){}return(0,l.h)(P,{label:"HEX",showAlpha:n,value:e,onUpdateValue:e=>{this.handleUnitUpdateValue(0,e)}})}return(e+(n?"a":"")).split("").map((e,n)=>(0,l.h)(P,{label:e.toUpperCase(),value:null===t?null:t[n],onUpdateValue:e=>{this.handleUnitUpdateValue(n,e)}}))}}))}});var I=n(14501);let N=(0,l.aZ)({name:"ColorPickerSwatches",props:{clsPrefix:{type:String,required:!0},mode:{type:String,required:!0},swatches:{type:Array,required:!0},onUpdateColor:{type:Function,required:!0}},setup(e){function t(t){e.onUpdateColor(function(t){let{mode:n}=e,{value:r,mode:o}=t;return(o||(o="hex",/^[a-zA-Z]+$/.test(r)?r=function(e){let t=document.createElement("canvas").getContext("2d");return t?(t.fillStyle=e,t.fillStyle):"#000000"}(r):((0,I.ZK)("color-picker",`color ${r} in swatches is invalid.`),r="#000000")),o===n)?r:O(r,n,o)}(t))}return{parsedSwatchesRef:(0,l.Fl)(()=>e.swatches.map(e=>{let t=S(e);return{value:e,mode:t,legalValue:function(e,t){if("hsv"===t){let[t,n,i,a]=(0,r.ap)(e);return(0,r.e3)([...(0,o.XG)(t,n,i),a])}return e}(e,t)}})),handleSwatchSelect:t,handleSwatchKeyDown:function(e,n){"Enter"===e.key&&t(n)}}},render(){let{clsPrefix:e}=this;return(0,l.h)("div",{class:`${e}-color-picker-swatches`},this.parsedSwatchesRef.map(t=>(0,l.h)("div",{class:`${e}-color-picker-swatch`,tabindex:0,onClick:()=>{this.handleSwatchSelect(t)},onKeydown:e=>{this.handleSwatchKeyDown(e,t)}},(0,l.h)("div",{class:`${e}-color-picker-swatch__fill`,style:{background:t.legalValue}}))))}}),R=(0,l.aZ)({name:"ColorPickerTrigger",slots:Object,props:{clsPrefix:{type:String,required:!0},value:{type:String,default:null},hsla:{type:Array,default:null},disabled:Boolean,onClick:Function},setup(e){let{colorPickerSlots:t,renderLabelRef:n}=(0,l.f3)(F,null);return()=>{let{hsla:o,value:i,clsPrefix:a,onClick:u,disabled:s}=e,c=t.label||n.value;return(0,l.h)("div",{class:[`${a}-color-picker-trigger`,s&&`${a}-color-picker-trigger--disabled`],onClick:s?void 0:u},(0,l.h)("div",{class:`${a}-color-picker-trigger__fill`},(0,l.h)("div",{class:`${a}-color-picker-checkboard`}),(0,l.h)("div",{style:{position:"absolute",left:0,right:0,top:0,bottom:0,backgroundColor:o?(0,r.f4)(o):""}}),i&&o?(0,l.h)("div",{class:`${a}-color-picker-trigger__value`,style:{color:o[2]>50||o[3]<.5?"black":"white"}},c?c(i):i):null))}}}),L=(0,l.aZ)({name:"ColorPreview",props:{clsPrefix:{type:String,required:!0},mode:{type:String,required:!0},color:{type:String,default:null,validator:e=>{let t=S(e);return!!(!e||t&&"hsv"!==t)}},onUpdateColor:{type:Function,required:!0}},setup:e=>({handleChange:function(t){var n;let r=t.target.value;null==(n=e.onUpdateColor)||n.call(e,O(r.toUpperCase(),e.mode,"hex")),t.stopPropagation()}}),render(){let{clsPrefix:e}=this;return(0,l.h)("div",{class:`${e}-color-picker-preview__preview`},(0,l.h)("span",{class:`${e}-color-picker-preview__fill`,style:{background:this.color||"#000000"}}),(0,l.h)("input",{class:`${e}-color-picker-preview__input`,type:"color",value:this.color,onChange:this.handleChange}))}}),M="12px",z=(0,l.aZ)({name:"HueSlider",props:{clsPrefix:{type:String,required:!0},hue:{type:Number,required:!0},onUpdateHue:{type:Function,required:!0},onComplete:Function},setup(e){let t=(0,l.iH)(null);function n(n){var r;let{value:o}=t;if(!o)return;let{width:i,left:a}=o.getBoundingClientRect(),u=(r=Math.round(r=(n.clientX-a-6)/(i-12)*360))>=360?359:r<0?0:r;e.onUpdateHue(u)}function r(){var t;(0,D.S)("mousemove",document,n),(0,D.S)("mouseup",document,r),null==(t=e.onComplete)||t.call(e)}return{railRef:t,handleMouseDown:function(e){t.value&&((0,D.on)("mousemove",document,n),(0,D.on)("mouseup",document,r),n(e))}}},render(){let{clsPrefix:e}=this;return(0,l.h)("div",{class:`${e}-color-picker-slider`,style:{height:M,borderRadius:"6px"}},(0,l.h)("div",{ref:"railRef",style:{boxShadow:"inset 0 0 2px 0 rgba(0, 0, 0, .24)",boxSizing:"border-box",backgroundImage:"linear-gradient(90deg,red,#ff0 16.66%,#0f0 33.33%,#0ff 50%,#00f 66.66%,#f0f 83.33%,red)",height:M,borderRadius:"6px",position:"relative"},onMousedown:this.handleMouseDown},(0,l.h)("div",{style:{position:"absolute",left:"6px",right:"6px",top:0,bottom:0}},(0,l.h)("div",{class:`${e}-color-picker-handle`,style:{left:`calc((${this.hue}%) / 359 * 100 - 6px)`,borderRadius:"6px",width:M,height:M}},(0,l.h)("div",{class:`${e}-color-picker-handle__fill`,style:{backgroundColor:`hsl(${this.hue}, 100%, 50%)`,borderRadius:"6px",width:M,height:M}})))))}}),$="12px",H=(0,l.aZ)({name:"Pallete",props:{clsPrefix:{type:String,required:!0},rgba:{type:Array,default:null},displayedHue:{type:Number,required:!0},displayedSv:{type:Array,required:!0},onUpdateSV:{type:Function,required:!0},onComplete:Function},setup(e){let t=(0,l.iH)(null);function n(n){let{value:r}=t;if(!r)return;let{width:o,height:i,left:a,bottom:u}=r.getBoundingClientRect(),s=(u-n.clientY)/i,l=(n.clientX-a)/o;e.onUpdateSV(100*(l>1?1:l<0?0:l),100*(s>1?1:s<0?0:s))}function r(){var t;(0,D.S)("mousemove",document,n),(0,D.S)("mouseup",document,r),null==(t=e.onComplete)||t.call(e)}return{palleteRef:t,handleColor:(0,l.Fl)(()=>{let{rgba:t}=e;return t?`rgb(${t[0]}, ${t[1]}, ${t[2]})`:""}),handleMouseDown:function(e){t.value&&((0,D.on)("mousemove",document,n),(0,D.on)("mouseup",document,r),n(e))}}},render(){let{clsPrefix:e}=this;return(0,l.h)("div",{class:`${e}-color-picker-pallete`,onMousedown:this.handleMouseDown,ref:"palleteRef"},(0,l.h)("div",{class:`${e}-color-picker-pallete__layer`,style:{backgroundImage:`linear-gradient(90deg, white, hsl(${this.displayedHue}, 100%, 50%))`}}),(0,l.h)("div",{class:`${e}-color-picker-pallete__layer ${e}-color-picker-pallete__layer--shadowed`,style:{backgroundImage:"linear-gradient(180deg, rgba(0, 0, 0, 0%), rgba(0, 0, 0, 100%))"}}),this.rgba&&(0,l.h)("div",{class:`${e}-color-picker-handle`,style:{width:$,height:$,borderRadius:"6px",left:`calc(${this.displayedSv[0]}% - 6px)`,bottom:`calc(${this.displayedSv[1]}% - 6px)`}},(0,l.h)("div",{class:`${e}-color-picker-handle__fill`,style:{backgroundColor:this.handleColor,borderRadius:"6px",width:$,height:$}})))}});var U=n(74732);let V=(0,w.c)([(0,w.cB)("color-picker",`
- display: inline-block;
- box-sizing: border-box;
- height: var(--n-height);
- font-size: var(--n-font-size);
- width: 100%;
- position: relative;
- `),(0,w.cB)("color-picker-panel",`
- margin: 4px 0;
- width: 240px;
- font-size: var(--n-panel-font-size);
- color: var(--n-text-color);
- background-color: var(--n-color);
- transition:
- box-shadow .3s var(--n-bezier),
- color .3s var(--n-bezier),
- background-color .3s var(--n-bezier);
- border-radius: var(--n-border-radius);
- box-shadow: var(--n-box-shadow);
- `,[(0,U.h)(),(0,w.cB)("input",`
- text-align: center;
- `)]),(0,w.cB)("color-picker-checkboard",`
- background: white;
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- `,[(0,w.c)("&::after",`
- background-image: linear-gradient(45deg, #DDD 25%, #0000 25%), linear-gradient(-45deg, #DDD 25%, #0000 25%), linear-gradient(45deg, #0000 75%, #DDD 75%), linear-gradient(-45deg, #0000 75%, #DDD 75%);
- background-size: 12px 12px;
- background-position: 0 0, 0 6px, 6px -6px, -6px 0px;
- background-repeat: repeat;
- content: "";
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- `)]),(0,w.cB)("color-picker-slider",`
- margin-bottom: 8px;
- position: relative;
- box-sizing: border-box;
- `,[(0,w.cE)("image",`
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- `),(0,w.c)("&::after",`
- content: "";
- position: absolute;
- border-radius: inherit;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- box-shadow: inset 0 0 2px 0 rgba(0, 0, 0, .24);
- pointer-events: none;
- `)]),(0,w.cB)("color-picker-handle",`
- z-index: 1;
- box-shadow: 0 0 2px 0 rgba(0, 0, 0, .45);
- position: absolute;
- background-color: white;
- overflow: hidden;
- `,[(0,w.cE)("fill",`
- box-sizing: border-box;
- border: 2px solid white;
- `)]),(0,w.cB)("color-picker-pallete",`
- height: 180px;
- position: relative;
- margin-bottom: 8px;
- cursor: crosshair;
- `,[(0,w.cE)("layer",`
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- `,[(0,w.cM)("shadowed",`
- box-shadow: inset 0 0 2px 0 rgba(0, 0, 0, .24);
- `)])]),(0,w.cB)("color-picker-preview",`
- display: flex;
- `,[(0,w.cE)("sliders",`
- flex: 1 0 auto;
- `),(0,w.cE)("preview",`
- position: relative;
- height: 30px;
- width: 30px;
- margin: 0 0 8px 6px;
- border-radius: 50%;
- box-shadow: rgba(0, 0, 0, .15) 0px 0px 0px 1px inset;
- overflow: hidden;
- `),(0,w.cE)("fill",`
- display: block;
- width: 30px;
- height: 30px;
- `),(0,w.cE)("input",`
- position: absolute;
- top: 0;
- left: 0;
- width: 30px;
- height: 30px;
- opacity: 0;
- z-index: 1;
- `)]),(0,w.cB)("color-picker-input",`
- display: flex;
- align-items: center;
- `,[(0,w.cB)("input",`
- flex-grow: 1;
- flex-basis: 0;
- `),(0,w.cE)("mode",`
- width: 72px;
- text-align: center;
- `)]),(0,w.cB)("color-picker-control",`
- padding: 12px;
- `),(0,w.cB)("color-picker-action",`
- display: flex;
- margin-top: -4px;
- border-top: 1px solid var(--n-divider-color);
- padding: 8px 12px;
- justify-content: flex-end;
- `,[(0,w.cB)("button","margin-left: 8px;")]),(0,w.cB)("color-picker-trigger",`
- border: var(--n-border);
- height: 100%;
- box-sizing: border-box;
- border-radius: var(--n-border-radius);
- transition: border-color .3s var(--n-bezier);
- cursor: pointer;
- `,[(0,w.cE)("value",`
- white-space: nowrap;
- position: relative;
- `),(0,w.cE)("fill",`
- border-radius: var(--n-border-radius);
- position: absolute;
- display: flex;
- align-items: center;
- justify-content: center;
- left: 4px;
- right: 4px;
- top: 4px;
- bottom: 4px;
- `),(0,w.cM)("disabled","cursor: not-allowed"),(0,w.cB)("color-picker-checkboard",`
- border-radius: var(--n-border-radius);
- `,[(0,w.c)("&::after",`
- --n-block-size: calc((var(--n-height) - 8px) / 3);
- background-size: calc(var(--n-block-size) * 2) calc(var(--n-block-size) * 2);
- background-position: 0 0, 0 var(--n-block-size), var(--n-block-size) calc(-1 * var(--n-block-size)), calc(-1 * var(--n-block-size)) 0px;
- `)])]),(0,w.cB)("color-picker-swatches",`
- display: grid;
- grid-gap: 8px;
- flex-wrap: wrap;
- position: relative;
- grid-template-columns: repeat(auto-fill, 18px);
- margin-top: 10px;
- `,[(0,w.cB)("color-picker-swatch",`
- width: 18px;
- height: 18px;
- background-image: linear-gradient(45deg, #DDD 25%, #0000 25%), linear-gradient(-45deg, #DDD 25%, #0000 25%), linear-gradient(45deg, #0000 75%, #DDD 75%), linear-gradient(-45deg, #0000 75%, #DDD 75%);
- background-size: 8px 8px;
- background-position: 0px 0, 0px 4px, 4px -4px, -4px 0px;
- background-repeat: repeat;
- `,[(0,w.cE)("fill",`
- position: relative;
- width: 100%;
- height: 100%;
- border-radius: 3px;
- box-shadow: rgba(0, 0, 0, .15) 0px 0px 0px 1px inset;
- cursor: pointer;
- `),(0,w.c)("&:focus",`
- outline: none;
- `,[(0,w.cE)("fill",[(0,w.c)("&::after",`
- position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- background: inherit;
- filter: blur(2px);
- content: "";
- `)])])])])]),W=Object.assign(Object.assign({},p.Z.props),{value:String,show:{type:Boolean,default:void 0},defaultShow:Boolean,defaultValue:String,modes:{type:Array,default:()=>["rgb","hex","hsl"]},placement:{type:String,default:"bottom-start"},to:m.n.propTo,showAlpha:{type:Boolean,default:!0},showPreview:Boolean,swatches:Array,disabled:{type:Boolean,default:void 0},actions:{type:Array,default:null},internalActions:Array,size:String,renderLabel:Function,onComplete:Function,onConfirm:Function,onClear:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array]}),q=(0,l.aZ)({name:"ColorPicker",props:W,slots:Object,setup(e,{slots:t}){let n,a,c,f,d,D,C,O,A=(0,l.iH)(null),T=null,B=(0,h.Z)(e),{mergedSizeRef:_,mergedDisabledRef:P}=B,{localeRef:I}=(0,g.Z)("global"),{mergedClsPrefixRef:R,namespaceRef:M,inlineThemeDisabled:$}=(0,v.ZP)(e),U=(0,p.Z)("ColorPicker","-color-picker",V,x.Z,e,R);(0,l.JJ)(F,{themeRef:U,renderLabelRef:(0,l.Vh)(e,"renderLabel"),colorPickerSlots:t});let W=(0,l.iH)(e.defaultShow),q=(0,u.Z)((0,l.Vh)(e,"show"),W);function G(t){let{onUpdateShow:n,"onUpdate:show":r}=e;n&&(0,b.R)(n,t),r&&(0,b.R)(r,t),W.value=t}let{defaultValue:K}=e,Z=(0,l.iH)(void 0===K?function(e,t){switch(e[0]){case"hex":return t?"#000000FF":"#000000";case"rgb":return t?"rgba(0, 0, 0, 1)":"rgb(0, 0, 0)";case"hsl":return t?"hsla(0, 0%, 0%, 1)":"hsl(0, 0%, 0%)";case"hsv":return t?"hsva(0, 0%, 0%, 1)":"hsv(0, 0%, 0%)"}return"#000000"}(e.modes,e.showAlpha):K),X=(0,u.Z)((0,l.Vh)(e,"value"),Z),Y=(0,l.iH)([X.value]),J=(0,l.iH)(0),Q=(0,l.Fl)(()=>S(X.value)),{modes:ee}=e,et=(0,l.iH)(S(X.value)||ee[0]||"rgb");function en(){let{modes:t}=e,{value:n}=et,r=t.findIndex(e=>e===n);~r?et.value=t[(r+1)%t.length]:et.value="rgb"}let er=(0,l.Fl)(()=>{let{value:e}=X;if(!e)return null;switch(Q.value){case"hsv":return(0,r.ap)(e);case"hsl":return[n,a,c,O]=(0,r.Jn)(e),[...(0,o.EV)(n,a,c),O];case"rgb":case"hex":return[d,D,C,O]=(0,r.m4)(e),[...(0,o.DM)(d,D,C),O]}}),eo=(0,l.Fl)(()=>{let{value:e}=X;if(!e)return null;switch(Q.value){case"rgb":case"hex":return(0,r.m4)(e);case"hsv":return[n,a,f,O]=(0,r.ap)(e),[...(0,o.XG)(n,a,f),O];case"hsl":return[n,a,c,O]=(0,r.Jn)(e),[...(0,o.wX)(n,a,c),O]}}),ei=(0,l.Fl)(()=>{let{value:e}=X;if(!e)return null;switch(Q.value){case"hsl":return(0,r.Jn)(e);case"hsv":return[n,a,f,O]=(0,r.ap)(e),[...(0,o.pL)(n,a,f),O];case"rgb":case"hex":return[d,D,C,O]=(0,r.m4)(e),[...(0,o.XL)(d,D,C),O]}}),ea=(0,l.Fl)(()=>{switch(et.value){case"rgb":case"hex":return eo.value;case"hsv":return er.value;case"hsl":return ei.value}}),eu=(0,l.iH)(0),es=(0,l.iH)(1),el=(0,l.iH)([0,0]);function ec(t,n){let{value:i}=er,a=eu.value,u=i?i[3]:1;el.value=[t,n];let{showAlpha:s}=e;switch(et.value){case"hsv":ep((s?r.nE:r.wW)([a,t,n,u]),"cursor");break;case"hsl":ep((s?r.f4:r.DU)([...(0,o.pL)(a,t,n),u]),"cursor");break;case"rgb":ep((s?r.e3:r.U8)([...(0,o.XG)(a,t,n),u]),"cursor");break;case"hex":ep((s?r.XA:r.zv)([...(0,o.XG)(a,t,n),u]),"cursor")}}function ef(t){eu.value=t;let{value:n}=er;if(!n)return;let[,i,a,u]=n,{showAlpha:s}=e;switch(et.value){case"hsv":ep((s?r.nE:r.wW)([t,i,a,u]),"cursor");break;case"rgb":ep((s?r.e3:r.U8)([...(0,o.XG)(t,i,a),u]),"cursor");break;case"hex":ep((s?r.XA:r.zv)([...(0,o.XG)(t,i,a),u]),"cursor");break;case"hsl":ep((s?r.f4:r.DU)([...(0,o.pL)(t,i,a),u]),"cursor")}}function ed(e){switch(et.value){case"hsv":[n,a,f]=er.value,ep((0,r.nE)([n,a,f,e]),"cursor");break;case"rgb":[d,D,C]=eo.value,ep((0,r.e3)([d,D,C,e]),"cursor");break;case"hex":[d,D,C]=eo.value,ep((0,r.XA)([d,D,C,e]),"cursor");break;case"hsl":[n,a,c]=ei.value,ep((0,r.f4)([n,a,c,e]),"cursor")}es.value=e}function ep(t,n){T="cursor"===n?t:null;let{nTriggerFormChange:r,nTriggerFormInput:o}=B,{onUpdateValue:i,"onUpdate:value":a}=e;i&&(0,b.R)(i,t),a&&(0,b.R)(a,t),r(),o(),Z.value=t}function eh(e){ep(e,"input"),(0,l.Y3)(eg)}function eg(t=!0){let{value:n}=X;if(n){let{nTriggerFormChange:r,nTriggerFormInput:o}=B,{onComplete:i}=e;i&&i(n);let{value:a}=Y,{value:u}=J;t&&(a.splice(u+1,a.length,n),J.value=u+1),r(),o()}}function ev(){let{value:e}=J;e-1<0||(ep(Y.value[e-1],"input"),eg(!1),J.value=e-1)}function ey(){let{value:e}=J;e<0||e+1>=Y.value.length||(ep(Y.value[e+1],"input"),eg(!1),J.value=e+1)}function em(){ep(null,"input");let{onClear:t}=e;t&&t(),G(!1)}function eb(){let{value:t}=X,{onConfirm:n}=e;n&&n(t),G(!1)}let ew=(0,l.Fl)(()=>J.value>=1),eE=(0,l.Fl)(()=>{let{value:e}=Y;return e.length>1&&J.value<e.length-1});(0,l.YP)(q,e=>{e||(Y.value=[X.value],J.value=0)}),(0,l.m0)(()=>{if(T&&T===X.value);else{let{value:e}=er;e&&(eu.value=e[0],es.value=e[3],el.value=[e[1],e[2]])}T=null});let ex=(0,l.Fl)(()=>{let{value:e}=_,{common:{cubicBezierEaseInOut:t},self:{textColor:n,color:r,panelFontSize:o,boxShadow:i,border:a,borderRadius:u,dividerColor:s,[(0,w.Tl)("height",e)]:l,[(0,w.Tl)("fontSize",e)]:c}}=U.value;return{"--n-bezier":t,"--n-text-color":n,"--n-color":r,"--n-panel-font-size":o,"--n-font-size":c,"--n-box-shadow":i,"--n-border":a,"--n-border-radius":u,"--n-height":l,"--n-divider-color":s}}),eD=$?(0,y.F)("color-picker",(0,l.Fl)(()=>_.value[0]),ex,e):void 0;return{mergedClsPrefix:R,namespace:M,selfRef:A,hsla:ei,rgba:eo,mergedShow:q,mergedDisabled:P,isMounted:(0,s.Z)(),adjustedTo:(0,m.n)(e),mergedValue:X,handleTriggerClick(){G(!0)},handleClickOutside(e){var t;null!=(t=A.value)&&t.contains((0,i.p)(e))||G(!1)},renderPanel:function(){var n;let{value:o}=eo,{value:i}=eu,{internalActions:a,modes:u,actions:s}=e,{value:c}=U,{value:f}=R;return(0,l.h)("div",{class:[`${f}-color-picker-panel`,null==eD?void 0:eD.themeClass.value],onDragstart:e=>{e.preventDefault()},style:$?void 0:ex.value},(0,l.h)("div",{class:`${f}-color-picker-control`},(0,l.h)(H,{clsPrefix:f,rgba:o,displayedHue:i,displayedSv:el.value,onUpdateSV:ec,onComplete:eg}),(0,l.h)("div",{class:`${f}-color-picker-preview`},(0,l.h)("div",{class:`${f}-color-picker-preview__sliders`},(0,l.h)(z,{clsPrefix:f,hue:i,onUpdateHue:ef,onComplete:eg}),e.showAlpha?(0,l.h)(k,{clsPrefix:f,rgba:o,alpha:es.value,onUpdateAlpha:ed,onComplete:eg}):null),e.showPreview?(0,l.h)(L,{clsPrefix:f,mode:et.value,color:eo.value&&(0,r.zv)(eo.value),onUpdateColor:e=>{ep(e,"input")}}):null),(0,l.h)(j,{clsPrefix:f,showAlpha:e.showAlpha,mode:et.value,modes:u,onUpdateMode:en,value:X.value,valueArr:ea.value,onUpdateValue:eh}),(null==(n=e.swatches)?void 0:n.length)&&(0,l.h)(N,{clsPrefix:f,mode:et.value,swatches:e.swatches,onUpdateColor:e=>{ep(e,"input")}})),(null==s?void 0:s.length)?(0,l.h)("div",{class:`${f}-color-picker-action`},s.includes("confirm")&&(0,l.h)(E.ZP,{size:"small",onClick:eb,theme:c.peers.Button,themeOverrides:c.peerOverrides.Button},{default:()=>I.value.confirm}),s.includes("clear")&&(0,l.h)(E.ZP,{size:"small",onClick:em,disabled:!X.value,theme:c.peers.Button,themeOverrides:c.peerOverrides.Button},{default:()=>I.value.clear})):null,t.action?(0,l.h)("div",{class:`${f}-color-picker-action`},{default:t.action}):a?(0,l.h)("div",{class:`${f}-color-picker-action`},a.includes("undo")&&(0,l.h)(E.ZP,{size:"small",onClick:ev,disabled:!ew.value,theme:c.peers.Button,themeOverrides:c.peerOverrides.Button},{default:()=>I.value.undo}),a.includes("redo")&&(0,l.h)(E.ZP,{size:"small",onClick:ey,disabled:!eE.value,theme:c.peers.Button,themeOverrides:c.peerOverrides.Button},{default:()=>I.value.redo})):null)},cssVars:$?void 0:ex,themeClass:null==eD?void 0:eD.themeClass,onRender:null==eD?void 0:eD.onRender}},render(){let{mergedClsPrefix:e,onRender:t}=this;return null==t||t(),(0,l.h)("div",{class:[this.themeClass,`${e}-color-picker`],ref:"selfRef",style:this.cssVars},(0,l.h)(c.Z,null,{default:()=>[(0,l.h)(f.Z,null,{default:()=>(0,l.h)(R,{clsPrefix:e,value:this.mergedValue,hsla:this.hsla,disabled:this.mergedDisabled,onClick:this.handleTriggerClick})}),(0,l.h)(d.Z,{placement:this.placement,show:this.mergedShow,containerClass:this.namespace,teleportDisabled:this.adjustedTo===m.n.tdkey,to:this.adjustedTo},{default:()=>(0,l.h)(l.uT,{name:"fade-in-scale-up-transition",appear:this.isMounted},{default:()=>this.mergedShow?(0,l.wy)(this.renderPanel(),[[a.Z,this.handleClickOutside,void 0,{capture:!0}]]):null})})]}))}})},79537:function(e,t,n){n.d(t,{Z:()=>s});var r=n(58786),o=n(54470),i=n(27046),a=n(71309);let u=(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;
- `)])])])])])]),s=(0,r.aZ)({name:"InputGroup",props:{},setup(e){let{mergedClsPrefixRef:t}=(0,o.ZP)(e);return(0,i.Z)("-input-group",u,t),{mergedClsPrefix:t}},render(){let{mergedClsPrefix:e}=this;return(0,r.h)("div",{class:`${e}-input-group`},this.$slots)}})},2528:function(e,t,n){n.d(t,{Z:()=>f});var r=n(58786),o=n(56946),i=n(54470),a=n(53198),u=n(71309),s=n(34534);let l=(0,u.cB)("input-group-label",`
+ `)])])]),g=Object.assign(Object.assign({},i.Z.props),{defaultExpandedNames:{type:[Array,String],default:null},expandedNames:[Array,String],arrowPlacement:{type:String,default:"left"},accordion:{type:Boolean,default:!1},displayDirective:{type:String,default:"if"},triggerAreas:{type:Array,default:()=>["main","extra","arrow"]},onItemHeaderClick:[Function,Array],"onUpdate:expandedNames":[Function,Array],onUpdateExpandedNames:[Function,Array],onExpandedNamesChange:{type:[Function,Array],validator:()=>!0,default:void 0}}),v=(0,l.U)("n-collapse"),y=(0,o.aZ)({name:"Collapse",props:g,slots:Object,setup(e,{slots:t}){let{mergedClsPrefixRef:n,inlineThemeDisabled:l,mergedRtlRef:d}=(0,a.ZP)(e),p=(0,o.iH)(e.defaultExpandedNames),g=(0,o.Fl)(()=>e.expandedNames),y=(0,r.Z)(g,p),m=(0,i.Z)("Collapse","-collapse",h,f.Z,e,n);function b(t){let{"onUpdate:expandedNames":n,onUpdateExpandedNames:r,onExpandedNamesChange:o}=e;r&&(0,c.R)(r,t),n&&(0,c.R)(n,t),o&&(0,c.R)(o,t),p.value=t}function w(t){let{onItemHeaderClick:n}=e;n&&(0,c.R)(n,t)}(0,o.JJ)(v,{props:e,mergedClsPrefixRef:n,expandedNamesRef:y,slots:t,toggleItem:function(t,n,r){let{accordion:o}=e,{value:i}=y;if(o)t?(b([n]),w({name:n,expanded:!0,event:r})):(b([]),w({name:n,expanded:!1,event:r}));else if(Array.isArray(i)){let e=i.slice(),t=e.findIndex(e=>n===e);~t?(e.splice(t,1),b(e),w({name:n,expanded:!1,event:r})):(e.push(n),b(e),w({name:n,expanded:!0,event:r}))}else b([n]),w({name:n,expanded:!0,event:r})}});let E=(0,s.V)("Collapse",d,n),D=(0,o.Fl)(()=>{let{common:{cubicBezierEaseInOut:e},self:{titleFontWeight:t,dividerColor:n,titlePadding:r,titleTextColor:o,titleTextColorDisabled:i,textColor:a,arrowColor:u,fontSize:s,titleFontSize:l,arrowColorDisabled:c,itemMargin:f}}=m.value;return{"--n-font-size":s,"--n-bezier":e,"--n-text-color":a,"--n-divider-color":n,"--n-title-padding":r,"--n-title-font-size":l,"--n-title-text-color":o,"--n-title-text-color-disabled":i,"--n-title-font-weight":t,"--n-arrow-color":u,"--n-arrow-color-disabled":c,"--n-item-margin":f}}),S=l?(0,u.F)("collapse",void 0,D,e):void 0;return{rtlEnabled:E,mergedTheme:m,mergedClsPrefix:n,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,o.h)("div",{class:[`${this.mergedClsPrefix}-collapse`,this.rtlEnabled&&`${this.mergedClsPrefix}-collapse--rtl`,this.themeClass],style:this.cssVars},this.$slots)}})},75228:function(e,t,n){n.d(t,{Z:()=>m});var r=n(17102),o=n(85259),i=n(61691),a=n(58786),u=n(96823);let s=(0,a.aZ)({name:"ChevronLeft",render:()=>(0,a.h)("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("path",{d:"M10.3536 3.14645C10.5488 3.34171 10.5488 3.65829 10.3536 3.85355L6.20711 8L10.3536 12.1464C10.5488 12.3417 10.5488 12.6583 10.3536 12.8536C10.1583 13.0488 9.84171 13.0488 9.64645 12.8536L5.14645 8.35355C4.95118 8.15829 4.95118 7.84171 5.14645 7.64645L9.64645 3.14645C9.84171 2.95118 10.1583 2.95118 10.3536 3.14645Z",fill:"currentColor"}))});var l=n(17351),c=n(54470),f=n(51048),d=n(14501),p=n(93950),h=n(29344),g=n(7740),v=n(77565);let y=(0,a.aZ)({name:"CollapseItemContent",props:{displayDirective:{type:String,required:!0},show:Boolean,clsPrefix:{type:String,required:!0}},setup:e=>({onceTrue:(0,g.Z)((0,a.Vh)(e,"show"))}),render(){return(0,a.h)(v.Z,null,{default:()=>{let{show:e,displayDirective:t,onceTrue:n,clsPrefix:r}=this,o=(0,a.h)("div",{class:`${r}-collapse-item__content-wrapper`},(0,a.h)("div",{class:`${r}-collapse-item__content-inner`},this.$slots));return"show"===t&&n?(0,a.wy)(o,[[a.F8,e]]):e?o:null}})}}),m=(0,a.aZ)({name:"CollapseItem",props:{title:String,name:[String,Number],disabled:Boolean,displayDirective:String},setup(e){let{mergedRtlRef:t}=(0,c.ZP)(e),n=(0,r.Mc)(),u=(0,i.Z)(()=>{var t;return null!=(t=e.name)?t:n}),s=(0,a.f3)(h.bZ);s||(0,d._y)("collapse-item","`n-collapse-item` must be placed inside `n-collapse`.");let{expandedNamesRef:l,props:p,mergedClsPrefixRef:g,slots:v}=s,y=(0,a.Fl)(()=>{let{value:e}=l;if(Array.isArray(e)){let{value:t}=u;return!~e.findIndex(e=>e===t)}if(e){let{value:t}=u;return t!==e}return!0});return{rtlEnabled:(0,f.V)("Collapse",t,g),collapseSlots:v,randomName:n,mergedClsPrefix:g,collapsed:y,triggerAreas:(0,a.Vh)(p,"triggerAreas"),mergedDisplayDirective:(0,a.Fl)(()=>{let{displayDirective:t}=e;return t||p.displayDirective}),arrowPlacement:(0,a.Fl)(()=>p.arrowPlacement),handleClick(t){let n="main";(0,o.B)(t,"arrow")&&(n="arrow"),(0,o.B)(t,"extra")&&(n="extra"),p.triggerAreas.includes(n)&&s&&!e.disabled&&s.toggleItem(y.value,u.value,t)}}},render(){let{collapseSlots:e,$slots:t,arrowPlacement:n,collapsed:r,mergedDisplayDirective:o,mergedClsPrefix:i,disabled:c,triggerAreas:f}=this,d=(0,p.q_)(t.header,{collapsed:r},()=>[this.title]),h=t["header-extra"]||e["header-extra"],g=t.arrow||e.arrow;return(0,a.h)("div",{class:[`${i}-collapse-item`,`${i}-collapse-item--${n}-arrow-placement`,c&&`${i}-collapse-item--disabled`,!r&&`${i}-collapse-item--active`,f.map(e=>`${i}-collapse-item--trigger-area-${e}`)]},(0,a.h)("div",{class:[`${i}-collapse-item__header`,!r&&`${i}-collapse-item__header--active`]},(0,a.h)("div",{class:`${i}-collapse-item__header-main`,onClick:this.handleClick},"right"===n&&d,(0,a.h)("div",{class:`${i}-collapse-item-arrow`,key:+!this.rtlEnabled,"data-arrow":!0},(0,p.q_)(g,{collapsed:r},()=>[(0,a.h)(u.Z,{clsPrefix:i},{default:()=>this.rtlEnabled?(0,a.h)(s,null):(0,a.h)(l.Z,null)})])),"left"===n&&d),(0,p.kj)(h,{collapsed:r},e=>(0,a.h)("div",{class:`${i}-collapse-item__header-extra`,onClick:this.handleClick,"data-extra":!0},e))),(0,a.h)(y,{clsPrefix:i,displayDirective:o,show:!r},t))}})},2528:function(e,t,n){n.d(t,{Z:()=>f});var r=n(58786),o=n(56946),i=n(54470),a=n(53198),u=n(71309),s=n(34534);let l=(0,u.cB)("input-group-label",`
position: relative;
user-select: none;
-webkit-user-select: none;
@@ -306,7 +71,7 @@ Uppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#
border-radius: inherit;
border: var(--n-group-label-border);
transition: border-color .3s var(--n-bezier);
- `)]),c=Object.assign(Object.assign({},o.Z.props),{size:{type:String,default:"medium"},bordered:{type:Boolean,default:void 0}}),f=(0,r.aZ)({name:"InputGroupLabel",props:c,setup(e){let{mergedBorderedRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:c}=(0,i.ZP)(e),f=(0,o.Z)("Input","-input-group-label",l,s.Z,e,n),d=(0,r.Fl)(()=>{let{size:t}=e,{common:{cubicBezierEaseInOut:n},self:{groupLabelColor:r,borderRadius:o,groupLabelTextColor:i,lineHeight:a,groupLabelBorder:s,[(0,u.Tl)("fontSize",t)]:l,[(0,u.Tl)("height",t)]:c}}=f.value;return{"--n-bezier":n,"--n-group-label-color":r,"--n-group-label-border":s,"--n-border-radius":o,"--n-group-label-text-color":i,"--n-font-size":l,"--n-line-height":a,"--n-height":c}}),p=c?(0,a.F)("input-group-label",(0,r.Fl)(()=>e.size[0]),d,e):void 0;return{mergedClsPrefix:n,mergedBordered:t,cssVars:c?void 0:d,themeClass:null==p?void 0:p.themeClass,onRender:null==p?void 0:p.onRender}},render(){var e,t,n;let{mergedClsPrefix:o}=this;return null==(e=this.onRender)||e.call(this),(0,r.h)("div",{class:[`${o}-input-group-label`,this.themeClass],style:this.cssVars},null==(n=(t=this.$slots).default)?void 0:n.call(t),this.mergedBordered?(0,r.h)("div",{class:`${o}-input-group-label__border`}):null)}})},77227:function(e,t,n){n.d(t,{Z:()=>a});var r=n(58786),o=n(93950),i=n(55836);let a=(0,r.aZ)({name:"RadioButton",props:i.xu,setup:i.cY,render(){let{mergedClsPrefix:e}=this;return(0,r.h)("label",{class:[`${e}-radio-button`,this.mergedDisabled&&`${e}-radio-button--disabled`,this.renderSafeChecked&&`${e}-radio-button--checked`,this.focus&&[`${e}-radio-button--focus`]]},(0,r.h)("input",{ref:"inputRef",type:"radio",class:`${e}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),(0,r.h)("div",{class:`${e}-radio-button__state-border`}),(0,o.K9)(this.$slots.default,t=>t||this.label?(0,r.h)("div",{ref:"labelRef",class:`${e}-radio__label`},t||this.label):null))}})},95309:function(e,t,n){n.d(t,{Z:()=>O});var r=n(82518),o=n(20013),i=n(23967),a=n(58786),u=n(1257),s=n(53242),l=n(67553),c=n(56946),f=n(54470),d=n(32196),p=n(53198),h=n(61730),g=n(44267),v=n(93950),y=n(9798),m=n(7192);let b={name:"Slider",common:y.Z,self:function(e){let{railColor:t,primaryColor:n,baseColor:r,cardColor:o,modalColor:i,popoverColor:a,borderRadius:u,fontSize:s,opacityDisabled:l}=e;return Object.assign(Object.assign({},m.Z),{fontSize:s,markFontSize:s,railColor:t,railColorHover:t,fillColor:n,fillColorHover:n,opacityDisabled:l,handleColor:"#FFF",dotColor:o,dotColorModal:i,dotColorPopover:a,handleBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowHover:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowActive:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowFocus:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",indicatorColor:"rgba(0, 0, 0, .85)",indicatorBoxShadow:"0 2px 8px 0 rgba(0, 0, 0, 0.12)",indicatorTextColor:r,indicatorBorderRadius:u,dotBorder:`2px solid ${t}`,dotBorderActive:`2px solid ${n}`,dotBoxShadow:""})}};var w=n(74732),E=n(71309);let x=(0,E.c)([(0,E.cB)("slider",`
+ `)]),c=Object.assign(Object.assign({},o.Z.props),{size:{type:String,default:"medium"},bordered:{type:Boolean,default:void 0}}),f=(0,r.aZ)({name:"InputGroupLabel",props:c,setup(e){let{mergedBorderedRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:c}=(0,i.ZP)(e),f=(0,o.Z)("Input","-input-group-label",l,s.Z,e,n),d=(0,r.Fl)(()=>{let{size:t}=e,{common:{cubicBezierEaseInOut:n},self:{groupLabelColor:r,borderRadius:o,groupLabelTextColor:i,lineHeight:a,groupLabelBorder:s,[(0,u.Tl)("fontSize",t)]:l,[(0,u.Tl)("height",t)]:c}}=f.value;return{"--n-bezier":n,"--n-group-label-color":r,"--n-group-label-border":s,"--n-border-radius":o,"--n-group-label-text-color":i,"--n-font-size":l,"--n-line-height":a,"--n-height":c}}),p=c?(0,a.F)("input-group-label",(0,r.Fl)(()=>e.size[0]),d,e):void 0;return{mergedClsPrefix:n,mergedBordered:t,cssVars:c?void 0:d,themeClass:null==p?void 0:p.themeClass,onRender:null==p?void 0:p.onRender}},render(){var e,t,n;let{mergedClsPrefix:o}=this;return null==(e=this.onRender)||e.call(this),(0,r.h)("div",{class:[`${o}-input-group-label`,this.themeClass],style:this.cssVars},null==(n=(t=this.$slots).default)?void 0:n.call(t),this.mergedBordered?(0,r.h)("div",{class:`${o}-input-group-label__border`}):null)}})},77227:function(e,t,n){n.d(t,{Z:()=>a});var r=n(58786),o=n(93950),i=n(55836);let a=(0,r.aZ)({name:"RadioButton",props:i.xu,setup:i.cY,render(){let{mergedClsPrefix:e}=this;return(0,r.h)("label",{class:[`${e}-radio-button`,this.mergedDisabled&&`${e}-radio-button--disabled`,this.renderSafeChecked&&`${e}-radio-button--checked`,this.focus&&[`${e}-radio-button--focus`]]},(0,r.h)("input",{ref:"inputRef",type:"radio",class:`${e}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),(0,r.h)("div",{class:`${e}-radio-button__state-border`}),(0,o.K9)(this.$slots.default,t=>t||this.label?(0,r.h)("div",{ref:"labelRef",class:`${e}-radio__label`},t||this.label):null))}})},95309:function(e,t,n){n.d(t,{Z:()=>O});var r=n(82518),o=n(20013),i=n(23967),a=n(58786),u=n(1257),s=n(53242),l=n(67553),c=n(56946),f=n(54470),d=n(32196),p=n(53198),h=n(61730),g=n(44267),v=n(93950),y=n(9798),m=n(7192);let b={name:"Slider",common:y.Z,self:function(e){let{railColor:t,primaryColor:n,baseColor:r,cardColor:o,modalColor:i,popoverColor:a,borderRadius:u,fontSize:s,opacityDisabled:l}=e;return Object.assign(Object.assign({},m.Z),{fontSize:s,markFontSize:s,railColor:t,railColorHover:t,fillColor:n,fillColorHover:n,opacityDisabled:l,handleColor:"#FFF",dotColor:o,dotColorModal:i,dotColorPopover:a,handleBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowHover:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowActive:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowFocus:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",indicatorColor:"rgba(0, 0, 0, .85)",indicatorBoxShadow:"0 2px 8px 0 rgba(0, 0, 0, 0.12)",indicatorTextColor:r,indicatorBorderRadius:u,dotBorder:`2px solid ${t}`,dotBorderActive:`2px solid ${n}`,dotBoxShadow:""})}};var w=n(74732),E=n(71309);let D=(0,E.c)([(0,E.cB)("slider",`
display: block;
padding: calc((var(--n-handle-size) - var(--n-rail-height)) / 2) 0;
position: relative;
@@ -464,7 +229,7 @@ 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 D(e){return window.TouchEvent&&e instanceof window.TouchEvent}function S(){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",x,b,e,t),l=(0,a.iH)(null),[v,y]=S(),[m,w]=S(),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=D(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:x,dotBorderActive:D,dotColorPopover:S},common:{cubicBezierEaseInOut:C}}=s.value;return{"--n-bezier":C,"--n-dot-border":h,"--n-dot-border-active":D,"--n-dot-border-radius":E,"--n-dot-box-shadow":g,"--n-dot-color":u,"--n-dot-color-modal":l,"--n-dot-color-popover":S,"--n-dot-height":b,"--n-dot-width":w,"--n-fill-color":r,"--n-fill-color-hover":o,"--n-font-size":x,"--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||!D(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:()=>D});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",`
+ `),(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;
@@ -565,4 +330,4 @@ Uppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#
`)]),(0,h.cM)("disabled",[(0,h.cE)("rail",`
cursor: not-allowed;
opacity: .5;
- `)])]),x=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]}),D=(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: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),x=(0,a.Fl)(()=>w.value===e.checkedValue),D=(0,a.iH)(!1),S=(0,a.iH)(!1),C=(0,a.Fl)(()=>{let{railStyle:t}=e;if(t)return t({focused:S.value,checked:x.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)]:x,[(0,h.Tl)("railBorderRadius",i)]:D,[(0,h.Tl)("buttonBorderRadius",i)]:S},common:{cubicBezierEaseInOut:C}}=u.value;return r?(e=`calc((${E} - ${m}) / 2)`,t=`max(${E}, ${m})`,n=`max(${x}, calc(${x} + ${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)?x:(0,o.BL)((0,o.fQ)(x)+(0,o.fQ)(m)-(0,o.fQ)(E))),{"--n-bezier":C,"--n-button-border-radius":S,"--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":D,"--n-rail-color":s,"--n-rail-color-active":l,"--n-rail-height":E,"--n-rail-width":x,"--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(){S.value=!1;let{nTriggerFormBlur:e}=s;e(),D.value=!1},handleFocus:function(){S.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),D.value=!1)},handleKeydown:function(t){e.loading||v.value||" "===t.key&&(t.preventDefault(),D.value=!0)},mergedRailStyle:C,pressed:D,mergedClsPrefix:t,mergedValue:w,checked:x,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:()=>x});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:x,offsetY:D}=o;return{x:0===x||x?x:new v([0,.5,1],[f.x,f.x/d*w,f.x+w-d]).interpolate(m),y:0===D||D?D:(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 x=function(e,t,n){return new E(e,t,n)}}}]);
\ No newline at end of file
+ `)])]),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 file
diff --git a/core/public/dist/static/js/async/5513.ead8a1d8.js.LICENSE.txt b/core/public/dist/static/js/async/3697.9e630381.js.LICENSE.txt
similarity index 100%
rename from core/public/dist/static/js/async/5513.ead8a1d8.js.LICENSE.txt
rename to core/public/dist/static/js/async/3697.9e630381.js.LICENSE.txt
diff --git a/core/public/dist/static/js/async/371.1f7ac0ca.js b/core/public/dist/static/js/async/371.1f7ac0ca.js
new file mode 100644
index 00000000..d8738a8f
--- /dev/null
+++ b/core/public/dist/static/js/async/371.1f7ac0ca.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["371"],{39432:function(e,a,t){t.d(a,{Au:()=>c,Fj:()=>o,LC:()=>s,OV:()=>p,dj:()=>d,gK:()=>u,i7:()=>i,v1:()=>g,xh:()=>m,yW:()=>r});var l=t(34541);let{t:n}=t(76882).Z.global,i=e=>l.e.get("/domains/list",{params:e}),s=()=>l.e.get("/domains/all"),o=e=>l.e.post("/domains/create",e,{fetchOptions:{loading:n("domain.api.loading.creating"),successMessage:!0}}),u=e=>l.e.post("/domains/update",e,{fetchOptions:{loading:n("domain.api.loading.updating"),successMessage:!0}}),d=e=>l.e.post("/domains/delete",e,{fetchOptions:{loading:n("domain.api.loading.deleting"),successMessage:!0}}),p=e=>l.e.post("/domains/set_ssl",e,{fetchOptions:{loading:n("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:n("domain.api.loading.refreshingDns"),successMessage:!0}}),r=e=>l.e.post("/ssl/apply_cert",e,{fetchOptions:{loading:n("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}})},67127:function(e,a,t){t.d(a,{EV:()=>o,Ts:()=>s,WS:()=>u,iC:()=>i});var l=t(34541);let{t:n}=t(76882).Z.global,i=e=>l.e.get("/mailbox/list",{params:e}),s=e=>l.e.post("/mailbox/create",e,{fetchOptions:{loading:n("mailbox.api.loading.creating"),successMessage:!0}}),o=e=>l.e.post("/mailbox/update",e,{fetchOptions:{loading:n("mailbox.api.loading.updating"),successMessage:!0}}),u=e=>l.e.post("/mailbox/delete",e,{fetchOptions:{loading:n("mailbox.api.loading.deleting"),successMessage:!0}})},31651:function(e,a,t){t.d(a,{A8:()=>s,NI:()=>o,QB:()=>p,WF:()=>d,Xc:()=>g,ef:()=>c,ij:()=>u});var l=t(76882),n=t(34541);let{t:i}=l.Z.global;function s(e){return n.e.get("/email_template/list",{params:e})}function o(){return n.e.get("/email_template/all")}function u(e){return n.e.get("/email_template/get",{params:e})}function d(e){return n.e.post("/email_template/create",e,{fetchOptions:{loading:i("market.template.loading.creating"),successMessage:!0}})}function p(e){return n.e.post("/email_template/update",e,{fetchOptions:{loading:i("market.template.loading.updating"),successMessage:!0}})}function c(e){return n.e.post("/email_template/copy",e,{fetchOptions:{loading:i("market.template.loading.copying"),successMessage:!0}})}function g(e){return n.e.post("/email_template/delete",e,{fetchOptions:{loading:i("market.template.loading.deleting"),successMessage:!0}})}},51169:function(e,a,t){t.d(a,{d:()=>s});var l=t(58786),n=t(49247);let i=Symbol("MODAL_INJECT"),s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{state:a={},component:t,onCancel:s,onConfirm:o}=e,u=(0,l.qj)({});return t?[(0,l.aZ)({setup(n,s){let{attrs:o,slots:d}=s;return(0,l.JJ)(i,{state:a,options:e,extendApi:e=>{Object.setPrototypeOf(u,e)},setState:e=>{Object.assign(a,e)}}),()=>(0,l.h)(t,{...n,...o},d)}}),u]:[(0,l.aZ)({setup(a,t){let{attrs:d,slots:p}=t,c=(0,l.f3)(i),g=(0,l.iH)(!1);return u.open=()=>{var a;g.value=!0,null==(a=e.onChangeState)||a.call(e,g.value)},u.close=()=>{g.value=!1},u.setState=a=>{var t;null==c||c.setState(a),null==(t=e.onChangeState)||t.call(e,g.value)},u.getState=()=>(null==c?void 0:c.state)??{},null==c||c.extendApi(u),()=>(0,l.Wm)(n.Z,(0,l.dG)({show:g.value},a,d,{onCancel:s,onConfirm:o,"onUpdate:show":e=>{g.value=e??!1}}),p)}}),u]}},53472:function(e,a,t){t.d(a,{Z:()=>i});var l=t(58786);let n=["height","srcdoc"],i=(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,n))})},19664:function(e,a,t){t.d(a,{Z:()=>p});var l=t(8490),n=t(58786),i=t(68271),s=t(39432),o=t(67127);let u={class:"flex-1"},d={class:"flex-1 ml-10px"},p=(0,n.aZ)({__name:"FromSelect",props:{value:{},valueModifiers:{},name:{},nameModifiers:{}},emits:["update:value","update:name"],setup(e){let a=(0,n.tT)(e,"value"),t=(0,n.tT)(e,"name"),p=(0,n.iH)(!1),c=(0,n.iH)(null),g=(0,n.iH)([]),r=(0,n.iH)([]),m=(0,n.Fl)(()=>r.value.filter(e=>e.domain===c.value).map(e=>({label:e.username,value:e.username,data:e}))),v=()=>{m.value.length>0?(a.value=m.value[0].value,f(a.value,m.value[0])):(a.value=null,t.value="")},f=(e,a)=>{let{data:l}=a;(0,i.Kn)(l)&&(t.value=l.full_name)},h=async()=>{let e=await (0,s.LC)();(0,i.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:c.value});(0,i.Kn)(e)&&(r.value=e.list)};return(async()=>{try{p.value=!0,await _(),await h(),await (0,n.Y3)(),v()}finally{p.value=!1}})(),(e,t)=>{let i=l.Z;return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n._)("div",u,[(0,n.Wm)(i,{value:(0,n.SU)(c),"onUpdate:value":[t[0]||(t[0]=e=>(0,n.dq)(c)?c.value=e:null),v],loading:(0,n.SU)(p),options:(0,n.SU)(g)},null,8,["value","loading","options"])]),(0,n._)("div",d,[(0,n.Wm)(i,{value:a.value,"onUpdate:value":[t[1]||(t[1]=e=>a.value=e),f],loading:(0,n.SU)(p),options:(0,n.SU)(m)},null,8,["value","loading","options"])])],64)}}})},28444:function(e,a,t){t.d(a,{Z:()=>o});var l=t(8490),n=t(58786),i=t(68271),s=t(31651);let o=(0,n.aZ)({__name:"TemplateSelect",props:{value:{},valueModifiers:{},content:{},contentModifiers:{}},emits:["update:value","update:content"],setup(e){let a=(0,n.tT)(e,"value"),t=(0,n.tT)(e,"content"),o=(0,n.iH)(!1),u=(0,n.iH)([]),d=(e,a)=>{let{data:l}=a;(0,i.Kn)(l)&&(t.value=l.html_content)};return(async()=>{try{o.value=!0;let e=await (0,s.NI)();if((0,i.kJ)(e))if(u.value=e.map(e=>({label:e.temp_name,value:e.id,data:e})),null===a.value)a.value=e[0].id,t.value=e[0].html_content;else{let l=e.find(e=>e.id===a.value);l&&(t.value=l.html_content)}}finally{o.value=!1}})(),(e,t)=>{let i=l.Z;return(0,n.wg)(),(0,n.j4)(i,{value:a.value,"onUpdate:value":[t[0]||(t[0]=e=>a.value=e),d],loading:(0,n.SU)(o),filterable:!0,options:(0,n.SU)(u)},null,8,["value","loading","options"])}}})}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/371.d96f062a.js b/core/public/dist/static/js/async/371.d96f062a.js
deleted file mode 100644
index ab29ce72..00000000
--- a/core/public/dist/static/js/async/371.d96f062a.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["371"],{39432:function(e,a,t){t.d(a,{Au:()=>c,Fj:()=>o,LC:()=>s,OV:()=>p,dj:()=>d,gK:()=>u,i7:()=>i,v1:()=>g,yW:()=>r});var l=t(34541);let{t:n}=t(76882).Z.global,i=e=>l.e.get("/domains/list",{params:e}),s=()=>l.e.get("/domains/all"),o=e=>l.e.post("/domains/create",e,{fetchOptions:{loading:n("domain.api.loading.creating"),successMessage:!0}}),u=e=>l.e.post("/domains/update",e,{fetchOptions:{loading:n("domain.api.loading.updating"),successMessage:!0}}),d=e=>l.e.post("/domains/delete",e,{fetchOptions:{loading:n("domain.api.loading.deleting"),successMessage:!0}}),p=e=>l.e.post("/domains/set_ssl",e,{fetchOptions:{loading:n("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:n("domain.api.loading.refreshingDns"),successMessage:!0}}),r=e=>l.e.post("/ssl/apply_cert",e,{fetchOptions:{loading:n("domain.api.loading.applyingCert"),successMessage:!0}})},67127:function(e,a,t){t.d(a,{EV:()=>o,Ts:()=>s,WS:()=>u,iC:()=>i});var l=t(34541);let{t:n}=t(76882).Z.global,i=e=>l.e.get("/mailbox/list",{params:e}),s=e=>l.e.post("/mailbox/create",e,{fetchOptions:{loading:n("mailbox.api.loading.creating"),successMessage:!0}}),o=e=>l.e.post("/mailbox/update",e,{fetchOptions:{loading:n("mailbox.api.loading.updating"),successMessage:!0}}),u=e=>l.e.post("/mailbox/delete",e,{fetchOptions:{loading:n("mailbox.api.loading.deleting"),successMessage:!0}})},31651:function(e,a,t){t.d(a,{A8:()=>s,NI:()=>o,QB:()=>p,WF:()=>d,Xc:()=>g,ef:()=>c,ij:()=>u});var l=t(76882),n=t(34541);let{t:i}=l.Z.global;function s(e){return n.e.get("/email_template/list",{params:e})}function o(){return n.e.get("/email_template/all")}function u(e){return n.e.get("/email_template/get",{params:e})}function d(e){return n.e.post("/email_template/create",e,{fetchOptions:{loading:i("market.template.loading.creating"),successMessage:!0}})}function p(e){return n.e.post("/email_template/update",e,{fetchOptions:{loading:i("market.template.loading.updating"),successMessage:!0}})}function c(e){return n.e.post("/email_template/copy",e,{fetchOptions:{loading:i("market.template.loading.copying"),successMessage:!0}})}function g(e){return n.e.post("/email_template/delete",e,{fetchOptions:{loading:i("market.template.loading.deleting"),successMessage:!0}})}},51169:function(e,a,t){t.d(a,{d:()=>s});var l=t(58786),n=t(49247);let i=Symbol("MODAL_INJECT"),s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{state:a={},component:t,onCancel:s,onConfirm:o}=e,u=(0,l.qj)({});return t?[(0,l.aZ)({setup(n,s){let{attrs:o,slots:d}=s;return(0,l.JJ)(i,{state:a,options:e,extendApi:e=>{Object.setPrototypeOf(u,e)},setState:e=>{Object.assign(a,e)}}),()=>(0,l.h)(t,{...n,...o},d)}}),u]:[(0,l.aZ)({setup(a,t){let{attrs:d,slots:p}=t,c=(0,l.f3)(i),g=(0,l.iH)(!1);return u.open=()=>{var a;g.value=!0,null==(a=e.onChangeState)||a.call(e,g.value)},u.close=()=>{g.value=!1},u.setState=a=>{var t;null==c||c.setState(a),null==(t=e.onChangeState)||t.call(e,g.value)},u.getState=()=>(null==c?void 0:c.state)??{},null==c||c.extendApi(u),()=>(0,l.Wm)(n.Z,(0,l.dG)({show:g.value},a,d,{onCancel:s,onConfirm:o,"onUpdate:show":e=>{g.value=e??!1}}),p)}}),u]}},53472:function(e,a,t){t.d(a,{Z:()=>i});var l=t(58786);let n=["height","srcdoc"],i=(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,n))})},19664:function(e,a,t){t.d(a,{Z:()=>p});var l=t(8490),n=t(58786),i=t(68271),s=t(39432),o=t(67127);let u={class:"flex-1"},d={class:"flex-1 ml-10px"},p=(0,n.aZ)({__name:"FromSelect",props:{value:{},valueModifiers:{},name:{},nameModifiers:{}},emits:["update:value","update:name"],setup(e){let a=(0,n.tT)(e,"value"),t=(0,n.tT)(e,"name"),p=(0,n.iH)(!1),c=(0,n.iH)(null),g=(0,n.iH)([]),r=(0,n.iH)([]),m=(0,n.Fl)(()=>r.value.filter(e=>e.domain===c.value).map(e=>({label:e.username,value:e.username,data:e}))),v=()=>{m.value.length>0?(a.value=m.value[0].value,f(a.value,m.value[0])):(a.value=null,t.value="")},f=(e,a)=>{let{data:l}=a;(0,i.Kn)(l)&&(t.value=l.full_name)},h=async()=>{let e=await (0,s.LC)();(0,i.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:c.value});(0,i.Kn)(e)&&(r.value=e.list)};return(async()=>{try{p.value=!0,await _(),await h(),await (0,n.Y3)(),v()}finally{p.value=!1}})(),(e,t)=>{let i=l.Z;return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n._)("div",u,[(0,n.Wm)(i,{value:(0,n.SU)(c),"onUpdate:value":[t[0]||(t[0]=e=>(0,n.dq)(c)?c.value=e:null),v],loading:(0,n.SU)(p),options:(0,n.SU)(g)},null,8,["value","loading","options"])]),(0,n._)("div",d,[(0,n.Wm)(i,{value:a.value,"onUpdate:value":[t[1]||(t[1]=e=>a.value=e),f],loading:(0,n.SU)(p),options:(0,n.SU)(m)},null,8,["value","loading","options"])])],64)}}})},28444:function(e,a,t){t.d(a,{Z:()=>o});var l=t(8490),n=t(58786),i=t(68271),s=t(31651);let o=(0,n.aZ)({__name:"TemplateSelect",props:{value:{},valueModifiers:{},content:{},contentModifiers:{}},emits:["update:value","update:content"],setup(e){let a=(0,n.tT)(e,"value"),t=(0,n.tT)(e,"content"),o=(0,n.iH)(!1),u=(0,n.iH)([]),d=(e,a)=>{let{data:l}=a;(0,i.Kn)(l)&&(t.value=l.html_content)};return(async()=>{try{o.value=!0;let e=await (0,s.NI)();if((0,i.kJ)(e))if(u.value=e.map(e=>({label:e.temp_name,value:e.id,data:e})),null===a.value)a.value=e[0].id,t.value=e[0].html_content;else{let l=e.find(e=>e.id===a.value);l&&(t.value=l.html_content)}}finally{o.value=!1}})(),(e,t)=>{let i=l.Z;return(0,n.wg)(),(0,n.j4)(i,{value:a.value,"onUpdate:value":[t[0]||(t[0]=e=>a.value=e),d],loading:(0,n.SU)(o),filterable:!0,options:(0,n.SU)(u)},null,8,["value","loading","options"])}}})}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/4046.0051094e.js b/core/public/dist/static/js/async/4046.0051094e.js
new file mode 100644
index 00000000..4e1deb07
--- /dev/null
+++ b/core/public/dist/static/js/async/4046.0051094e.js
@@ -0,0 +1,262 @@
+"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 file
diff --git a/core/public/dist/static/js/async/4471.bb351321.js b/core/public/dist/static/js/async/4471.bb351321.js
new file mode 100644
index 00000000..7c73a83f
--- /dev/null
+++ b/core/public/dist/static/js/async/4471.bb351321.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["4471"],{15772:function(t,l,a){a.r(l),a.d(l,{default:()=>r});var e=a(98048),s=a(6455),n=a(73084),i=a(57869),c=a(58786);let d={class:"content-wrapper"},r=(0,a(41748).default)({},[["render",function(t,l){let a=i.ZP,r=n.Z,_=s.ZP,o=e.Z;return(0,c.wg)(),(0,c.iD)("div",d,[(0,c.Wm)(a,{class:"mb-5"},{default:(0,c.w5)(()=>l[0]||(l[0]=[(0,c._)("div",{class:"page-tit",style:{margin:"0"}},[(0,c._)("div",{class:"back-tool"},[(0,c._)("i",{class:"i-ri:apps-fill text-6"})]),(0,c._)("span",{class:"tit-content"}," Footer Settings ")],-1)])),_:1,__:[0]}),(0,c.Wm)(a,null,{default:(0,c.w5)(()=>[l[3]||(l[3]=(0,c._)("div",{class:"page-tit"},[(0,c._)("span",{class:"tit-content"}," Additional Content ")],-1)),(0,c.Wm)(o,null,{default:(0,c.w5)(()=>[(0,c.Wm)(_,null,{label:(0,c.w5)(()=>l[1]||(l[1]=[(0,c._)("span",{class:"form-label"},"Copyright Text",-1)])),default:(0,c.w5)(()=>[(0,c.Wm)(r)]),_:1}),(0,c.Wm)(_,null,{label:(0,c.w5)(()=>l[2]||(l[2]=[(0,c._)("span",{class:"form-label"},"Disclaimer",-1)])),default:(0,c.w5)(()=>[(0,c.Wm)(r,{type:"textarea",rows:8})]),_:1})]),_:1})]),_:1,__:[3]})])}],["__scopeId","data-v-0037a7bd"]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/4602.850ba1d6.js b/core/public/dist/static/js/async/4602.850ba1d6.js
deleted file mode 100644
index fde186c1..00000000
--- a/core/public/dist/static/js/async/4602.850ba1d6.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["4602"],{74557:function(e,t,n){let l,u;n.d(t,{Z:()=>d});var a,r,i=n(58786);function d(e){if(u)return;let t=!1;(0,i.bv)(()=>{u||null==l||l.then(()=>{t||e()})}),(0,i.Jd)(()=>{t=!0})}l=n(86223).j?null==(r=null==(a=document)?void 0:a.fonts)?void 0:r.ready:void 0,u=!1,void 0!==l?l.then(()=>{u=!0}):u=!0},23125:function(e,t,n){n.d(t,{Z:()=>u});var l=n(58786);function u(e,t){return(0,l.Fl)(()=>{for(let n of t)if(void 0!==e[n])return e[n];return e[t[t.length-1]]})}},20013:function(e,t,n){n.d(t,{Z:()=>u});var l=n(58786);function u(e,t){return(0,l.YP)(e,e=>{void 0!==e&&(t.value=e)}),(0,l.Fl)(()=>void 0===e.value?t.value:e.value)}},77427:function(e,t,n){n.d(t,{A:()=>u,c:()=>l});let{c:l}=(0,n(80673).j)(),u="vueuc-style"},65977:function(e,t,n){n.d(t,{Z:()=>u});var l=n(58786);let u=(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"}))})},63926:function(e,t,n){n.d(t,{Z:()=>c});var l=n(10320),u=n(43751),a=n(58786),r=n(94904),i=n(52495),d=n(65965);let o={class:"bt-title"},v=(0,a.aZ)({__name:"index",setup(e){let{t}=(0,i.QT)(),n=(0,d.yj)(),v=(0,d.tv)(),c=(0,a.iH)([]),f=(0,a.Fl)(()=>String(n.name)),s=(0,a.Fl)(()=>t(`${(0,r.Z)(n.matched[0],"meta.titleKey")}`)),m=e=>{v.push({name:e})};return!c.value.find(e=>e.name===n.name)&&n.matched[1].children&&(c.value=n.matched[1].children.map(e=>{let n=(0,r.Z)(e,"meta.titleKey",""),l=(0,r.Z)(e,"meta.title","");return{title:`${n?t(String(n)):l}`,name:String(e.name)}})),(e,t)=>{let n=u.Z,r=l.Z,i=(0,a.up)("router-view");return(0,a.wg)(),(0,a.iD)(a.HY,null,[(0,a._)("div",o,(0,a.zw)((0,a.SU)(s)),1),(0,a.Wm)(r,{value:(0,a.SU)(f),type:"line",class:"route-tabs","onUpdate:value":m},{default:(0,a.w5)(()=>[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,a.SU)(c),e=>((0,a.wg)(),(0,a.j4)(n,{key:e.name,name:e.name,tab:e.title},null,8,["name","tab"]))),128))]),_:1},8,["value"]),(0,a.Wm)(i)],64)}}}),c=(0,n(41748).default)(v,[["__scopeId","data-v-1c356723"]])},43898:function(e,t,n){n.r(t),n.d(t,{default:()=>r});var l=n(63926),u=n(58786);let a={class:"p-24px"},r=(0,n(41748).default)({},[["render",function(e,t){let n=l.Z;return(0,u.wg)(),(0,u.iD)("div",a,[(0,u.Wm)(n)])}]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/4602.a3897d6a.js b/core/public/dist/static/js/async/4602.a3897d6a.js
new file mode 100644
index 00000000..167c990c
--- /dev/null
+++ b/core/public/dist/static/js/async/4602.a3897d6a.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["4602"],{74557:function(e,t,n){let r,u;n.d(t,{Z:()=>o});var l,a,i=n(58786);function o(e){if(u)return;let t=!1;(0,i.bv)(()=>{u||null==r||r.then(()=>{t||e()})}),(0,i.Jd)(()=>{t=!0})}r=n(86223).j?null==(a=null==(l=document)?void 0:l.fonts)?void 0:a.ready:void 0,u=!1,void 0!==r?r.then(()=>{u=!0}):u=!0},23125:function(e,t,n){n.d(t,{Z:()=>u});var r=n(58786);function u(e,t){return(0,r.Fl)(()=>{for(let n of t)if(void 0!==e[n])return e[n];return e[t[t.length-1]]})}},20013:function(e,t,n){n.d(t,{Z:()=>u});var r=n(58786);function u(e,t){return(0,r.YP)(e,e=>{void 0!==e&&(t.value=e)}),(0,r.Fl)(()=>void 0===e.value?t.value:e.value)}},77427:function(e,t,n){n.d(t,{A:()=>u,c:()=>r});let{c:r}=(0,n(80673).j)(),u="vueuc-style"},80954:function(e,t,n){n.d(t,{Z:()=>l});var r=n(34542),u=n(32452);let l=function(e,t){t=(0,r.Z)(t,e);for(var n=0,l=t.length;null!=e&&n<l;)e=e[(0,u.Z)(t[n++])];return n&&n==l?e:void 0}},34542:function(e,t,n){n.d(t,{Z:()=>s});var r,u,l=n(3073),a=n(90483),i=n(37408);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,u=t?t.apply(this,r):r[0],l=n.cache;if(l.has(u))return l.get(u);var a=e.apply(this,r);return n.cache=l.set(u,a)||l,a};return n.cache=new(o.Cache||i.Z),n}o.Cache=i.Z;var c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d=/\\(\\)?/g,f=(u=(r=o(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(c,function(e,n,r,u){t.push(r?u.replace(d,"$1"):n||e)}),t},function(e){return 500===u.size&&u.clear(),e})).cache,r),v=n(88521);let s=function(e,t){return(0,l.Z)(e)?e:(0,a.Z)(e,t)?[e]:f((0,v.Z)(e))}},90483:function(e,t,n){n.d(t,{Z:()=>i});var r=n(3073),u=n(56721),l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;let i=function(e,t){if((0,r.Z)(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||(0,u.Z)(e))||a.test(e)||!l.test(e)||null!=t&&e in Object(t)}},32452:function(e,t,n){n.d(t,{Z:()=>l});var r=n(56721),u=1/0;let l=function(e){if("string"==typeof e||(0,r.Z)(e))return e;var t=e+"";return"0"==t&&1/e==-u?"-0":t}},94904:function(e,t,n){n.d(t,{Z:()=>u});var r=n(80954);let u=function(e,t,n){var u=null==e?void 0:(0,r.Z)(e,t);return void 0===u?n:u}},65977:function(e,t,n){n.d(t,{Z:()=>u});var r=n(58786);let u=(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"}))})},63926:function(e,t,n){n.d(t,{Z:()=>f});var r=n(10320),u=n(43751),l=n(58786),a=n(94904),i=n(52495),o=n(65965);let c={class:"bt-title"},d=(0,l.aZ)({__name:"index",setup(e){let{t}=(0,i.QT)(),n=(0,o.yj)(),d=(0,o.tv)(),f=(0,l.iH)([]),v=(0,l.Fl)(()=>String(n.name)),s=(0,l.Fl)(()=>t(`${(0,a.Z)(n.matched[0],"meta.titleKey")}`)),h=e=>{d.push({name:e})};return!f.value.find(e=>e.name===n.name)&&n.matched[1].children&&(f.value=n.matched[1].children.map(e=>{let n=(0,a.Z)(e,"meta.titleKey",""),r=(0,a.Z)(e,"meta.title","");return{title:`${n?t(String(n)):r}`,name:String(e.name)}})),(e,t)=>{let n=u.Z,a=r.Z,i=(0,l.up)("router-view");return(0,l.wg)(),(0,l.iD)(l.HY,null,[(0,l._)("div",c,(0,l.zw)((0,l.SU)(s)),1),(0,l.Wm)(a,{value:(0,l.SU)(v),type:"line",class:"route-tabs","onUpdate:value":h},{default:(0,l.w5)(()=>[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)((0,l.SU)(f),e=>((0,l.wg)(),(0,l.j4)(n,{key:e.name,name:e.name,tab:e.title},null,8,["name","tab"]))),128))]),_:1},8,["value"]),(0,l.Wm)(i)],64)}}}),f=(0,n(41748).default)(d,[["__scopeId","data-v-1c356723"]])},43898:function(e,t,n){n.r(t),n.d(t,{default:()=>a});var r=n(63926),u=n(58786);let l={class:"p-24px"},a=(0,n(41748).default)({},[["render",function(e,t){let n=r.Z;return(0,u.wg)(),(0,u.iD)("div",l,[(0,u.Wm)(n)])}]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/5099.22d39c30.js b/core/public/dist/static/js/async/5099.22d39c30.js
new file mode 100644
index 00000000..fe189556
--- /dev/null
+++ b/core/public/dist/static/js/async/5099.22d39c30.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["5099"],{68962:function(l,a,e){e.r(a),e.d(a,{default:()=>_});var s=e(57869),t=e(98048),n=e(6455),m=e(73084),f=e(58786);let c={class:"content-wrapper"},o={class:"flex justify-between gap-5"},_=(0,e(41748).default)({},[["render",function(l,a){let e=m.Z,_=n.ZP,i=t.Z,u=s.ZP;return(0,f.wg)(),(0,f.iD)("div",c,[(0,f.Wm)(u,{class:"mb-5"},{default:(0,f.w5)(()=>[a[4]||(a[4]=(0,f._)("div",{class:"page-tit"},[(0,f._)("div",{class:"back-tool"},[(0,f._)("i",{class:"i-ri:apps-fill text-6"})]),(0,f._)("span",{class:"tit-content"}," Company Detail ")],-1)),(0,f.Wm)(i,null,{default:(0,f.w5)(()=>[(0,f._)("div",o,[(0,f.Wm)(_,{class:"flex-1"},{label:(0,f.w5)(()=>a[0]||(a[0]=[(0,f._)("span",{class:"form-label"},"Legal Company Name",-1)])),default:(0,f.w5)(()=>[(0,f.Wm)(e)]),_:1}),(0,f.Wm)(_,{class:"flex-1"},{label:(0,f.w5)(()=>a[1]||(a[1]=[(0,f._)("span",{class:"form-label"},"Website",-1)])),default:(0,f.w5)(()=>[(0,f.Wm)(e)]),_:1})]),(0,f.Wm)(_,null,{label:(0,f.w5)(()=>a[2]||(a[2]=[(0,f._)("span",{class:"form-label"},"Organization Number",-1)])),default:(0,f.w5)(()=>[(0,f.Wm)(e)]),_:1}),(0,f.Wm)(_,null,{label:(0,f.w5)(()=>a[3]||(a[3]=[(0,f._)("span",{class:"form-label"},"Additional Company Information",-1)])),default:(0,f.w5)(()=>[(0,f.Wm)(e,{type:"textarea",rows:8})]),_:1})]),_:1})]),_:1,__:[4]}),(0,f.Wm)(u,null,{default:(0,f.w5)(()=>[a[8]||(a[8]=(0,f._)("div",{class:"page-tit"},[(0,f._)("div",{class:"back-tool"},[(0,f._)("i",{class:"i-ri:apps-fill text-6"})]),(0,f._)("span",{class:"tit-content"}," Contact Information ")],-1)),(0,f.Wm)(i,null,{default:(0,f.w5)(()=>[(0,f.Wm)(_,null,{label:(0,f.w5)(()=>a[5]||(a[5]=[(0,f._)("span",{class:"form-label"},"Contact Email",-1)])),default:(0,f.w5)(()=>[(0,f.Wm)(e)]),_:1}),(0,f.Wm)(_,null,{label:(0,f.w5)(()=>a[6]||(a[6]=[(0,f._)("span",{class:"form-label"},"Phone Number",-1)])),default:(0,f.w5)(()=>[(0,f.Wm)(e)]),_:1}),(0,f.Wm)(_,null,{label:(0,f.w5)(()=>a[7]||(a[7]=[(0,f._)("span",{class:"form-label"},"Support URL",-1)])),default:(0,f.w5)(()=>[(0,f.Wm)(e)]),_:1})]),_:1})]),_:1,__:[8]})])}],["__scopeId","data-v-bb8e98d2"]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/5436.86c2f72e.js b/core/public/dist/static/js/async/5436.86c2f72e.js
deleted file mode 100644
index 785898d8..00000000
--- a/core/public/dist/static/js/async/5436.86c2f72e.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["5436"],{57070:function(e,l,t){e.exports=t.p+"static/image/logo.3b07dac3.png"},53619:function(e,l,t){t.d(l,{dS:()=>u,gn:()=>n,kO:()=>o,nT:()=>d,qM:()=>s});var i=t(34541);let{t:a}=t(76882).Z.global,n=()=>i.e.get("/settings/get_version"),s=()=>i.e.get("/docker_api/list"),o=e=>i.e.post("/docker_api/restart",e,{fetchOptions:{loading:a("settings.api.loading.restarting"),successMessage:!0}}),u=e=>i.e.post("/services/get_config",e),d=e=>i.e.post("/services/save_config",e,{fetchOptions:{loading:a("settings.api.loading.saving"),successMessage:!0}})},35714:function(e,l,t){t.r(l),t.d(l,{default:()=>j});var i=t(32004),a=t(58786),n=t(41620),s=t(87449),o=t(57070),u=t(30989),d=t(65965),r=t(31708),c=t(66746),p=t(52495);let m={href:"/"},g={class:"app-name"},_={class:"nav-section"},v={class:"footer-section"},w=(0,a.aZ)({__name:"Sidebar",setup(e){let{t:l}=(0,p.QT)(),t=(0,d.yj)(),i=(0,r.Ls)(),w=(0,r.LM)(),f=(0,r.s6)(),{isCollapse:h}=(0,u.Jk)(f),b=(0,a.Fl)(()=>{var e;return String((null==(e=t.meta)?void 0:e.key)||"")}),S=(0,a.Fl)(()=>i.menuList.filter(e=>e.meta&&!e.meta.hidden)),k=(0,a.Fl)(()=>S.value.map(e=>{var t,i,a,n,s;let o=String((null==(i=e.children)||null==(t=i[0])?void 0:t.name)||""),u=String((null==(a=e.meta)?void 0:a.key)||""),d=String((null==(n=e.meta)?void 0:n.titleKey)||""),r=d?l(d):String((null==(s=e.meta)?void 0:s.title)||"");return{key:u,label:()=>W(o,r),icon:()=>x(u)}})),y=(0,a.iH)([{key:"logout",label:()=>(0,a.Wm)("span",{class:"ml-10px"},[l("layout.menu.logout")]),icon:()=>x("logout")}]),W=(e,l)=>(0,a.Wm)(d.rH,{class:"flex items-center",to:{name:e}},{default:()=>[(0,a.Wm)("span",null,[l])]}),U={overview:(0,a.Wm)("i",{class:"i-mdi-web"},null),market:(0,a.Wm)("i",{class:"i-mdi-email-fast-outline"},null),api:(0,a.Wm)("i",{class:"i-mdi-chart-line"},null),contacts:(0,a.Wm)("i",{class:"i-mdi-user-multiple-outline"},null),domain:(0,a.Wm)("i",{class:"i-mdi-web"},null),mailbox:(0,a.Wm)("i",{class:"i-custom:mailbox"},null),smtp:(0,a.Wm)("i",{class:"i-custom:smtp"},null),settings:(0,a.Wm)("i",{class:"i-mdi-settings-outline"},null),logout:(0,a.Wm)("i",{class:"i-mdi-logout"},null)},x=e=>U[e],M=e=>{if("logout"===e&&w.logout(),"webmail"===e){let e=S.value.find(e=>{var l;return(null==(l=e.meta)?void 0:l.key)==="webmail"});if(e){var l;let t=String(null==(l=e.meta)?void 0:l.href);window.open(t)}}};return(0,a.bv)(()=>{i.setMenuList(c.sh)}),(e,l)=>{let t=s.Z,i=n.Z;return(0,a.wg)(),(0,a.j4)(i,{"collapse-mode":"width",collapsed:(0,a.SU)(h),width:200,"collapsed-width":64,"content-style":{display:"flex",flexDirection:"column",height:"100%",overflow:"hidden"}},{default:(0,a.w5)(()=>[(0,a._)("div",{class:(0,a.C_)(["app-logo",{collapse:(0,a.SU)(h)}])},[(0,a._)("a",m,[l[0]||(l[0]=(0,a._)("img",{class:"icon",src:o},null,-1)),(0,a.wy)((0,a._)("span",g,"BillionMail",512),[[a.F8,!(0,a.SU)(h)]])])],2),(0,a._)("div",_,[(0,a.Wm)(t,{value:(0,a.SU)(b),collapsed:(0,a.SU)(h),"collapsed-width":64,options:(0,a.SU)(k),"root-indent":24,"onUpdate:value":M},null,8,["value","collapsed","options"])]),(0,a._)("div",v,[(0,a.Wm)(t,{value:"",collapsed:(0,a.SU)(h),"collapsed-width":64,options:(0,a.SU)(y),"root-indent":24,"onUpdate:value":M},null,8,["collapsed","options"])])]),_:1},8,["collapsed"])}}});var f=t(41748);let h=(0,f.default)(w,[["__scopeId","data-v-87b89b4c"]]),b=(0,a.aZ)({__name:"AppMain",setup(e){let l=(0,a.Fl)(()=>Math.random());return(e,t)=>{let i=(0,a.up)("router-view");return(0,a.wg)(),(0,a.j4)(i,{key:(0,a.SU)(l)},{default:(0,a.w5)(e=>{let{Component:l,route:t}=e;return[((0,a.wg)(),(0,a.j4)((0,a.LL)(l),{key:t.path}))]}),_:1})}}});var S=t(52569),k=t(52742),y=t(67655),W=t(53619),U=t(68271);let x={class:"header-left"},M={class:"header-right"},Z=(0,a.aZ)({__name:"AppHeader",props:{top:{type:Number,default:0}},setup(e){let{t:l}=(0,p.QT)(),t=(0,a.iH)("--"),i=(0,r.LM)(),n=(0,r.s6)(),{isCollapse:s,langList:o}=(0,u.Jk)(n),d=(0,r.fl)(),{theme:c}=(0,u.Jk)(d),m=()=>{n.setCollapse()},g=()=>{window.open("https://github.com/aaPanel/BillionMail/issues")},_=(0,a.iH)([]),v=(0,a.iH)([{label:l("layout.menu.logout"),key:"logout"}]),w=()=>{d.setTheme("dark"===c.value?"light":"dark")},f=async e=>{await n.setLang(e),window.location.reload()},h=e=>{"logout"===e&&i.logout()},b=()=>{window.open("https://github.com/aaPanel/BillionMail/releases")},Z=async()=>{_.value=o.value.map(e=>({label:e.cn,key:e.name}))},C=async()=>{let e=await (0,W.gn)();(0,U.Kn)(e)&&(t.value=`v${e.version}`)};return(0,a.bv)(()=>{C(),Z()}),(i,n)=>{let o=y.ZP,u=k.Z,d=S.Z;return(0,a.wg)(),(0,a.j4)(d,{ref:"headerRef",style:(0,a.j5)({top:`${e.top}px`})},{default:(0,a.w5)(()=>[(0,a._)("div",x,[(0,a.Wm)(o,{class:"icon-btn",bordered:!1,onClick:m},{default:(0,a.w5)(()=>[(0,a._)("i",{class:(0,a.C_)(["icon",(0,a.SU)(s)?"i-mdi-menu-close":"i-mdi-menu-open"])},null,2)]),_:1}),(0,a.Wm)(o,{type:"primary",text:"",class:"text-14px",onClick:g},{default:(0,a.w5)(()=>[(0,a.Uk)((0,a.zw)((0,a.SU)(l)("layout.header.submit"))+" ",1),n[0]||(n[0]=(0,a._)("i",{class:"i-mdi:arrow-right ml-1px"},null,-1))]),_:1,__:[0]})]),(0,a._)("div",M,[(0,a.Wm)(o,{class:"icon-btn",bordered:!1,onClick:w},{default:(0,a.w5)(()=>[(0,a._)("i",{class:(0,a.C_)(["icon","light"===(0,a.SU)(c)?"i-ri-sun-line":"i-ri-moon-line"])},null,2)]),_:1}),(0,a.SU)(_).length>0?((0,a.wg)(),(0,a.j4)(u,{key:0,size:"large",options:(0,a.SU)(_),onSelect:f},{default:(0,a.w5)(()=>[(0,a.Wm)(o,{class:"icon-btn",bordered:!1},{default:(0,a.w5)(()=>n[1]||(n[1]=[(0,a._)("i",{class:"icon i-mdi-language text-20px"},null,-1)])),_:1,__:[1]})]),_:1},8,["options"])):(0,a.kq)("",!0),(0,a.Wm)(u,{size:"large",options:(0,a.SU)(v),onSelect:h},{default:(0,a.w5)(()=>[(0,a.Wm)(o,{class:"icon-btn",bordered:!1},{default:(0,a.w5)(()=>n[2]||(n[2]=[(0,a._)("i",{class:"icon i-mdi-user-outline"},null,-1)])),_:1,__:[2]})]),_:1},8,["options"]),(0,a.Wm)(o,{type:"primary",text:"",class:"text-14px",onClick:b},{default:(0,a.w5)(()=>[(0,a.Uk)((0,a.zw)((0,a.SU)(t)),1)]),_:1})])]),_:1},8,["style"])}}}),C=(0,f.default)(Z,[["__scopeId","data-v-292739d6"]]),j=(0,a.aZ)({__name:"index",setup(e){let l=(0,a.iH)(0),t=e=>{l.value=e.target.scrollTop||0};return(e,n)=>{let s=i.ZP;return(0,a.wg)(),(0,a.j4)(s,{class:"w-full h-full","has-sider":""},{default:(0,a.w5)(()=>[(0,a.Wm)((0,a.SU)(h)),(0,a.Wm)(s,{"content-style":{position:"relative",paddingTop:"48px"},onScroll:t},{default:(0,a.w5)(()=>[(0,a.Wm)((0,a.SU)(C),{top:(0,a.SU)(l)},null,8,["top"]),(0,a.Wm)((0,a.SU)(b))]),_:1})]),_:1})}}})}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/579.573b6199.js b/core/public/dist/static/js/async/579.573b6199.js
deleted file mode 100644
index d8bef2d1..00000000
--- a/core/public/dist/static/js/async/579.573b6199.js
+++ /dev/null
@@ -1,117 +0,0 @@
-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["579"],{76072:function(e,t,r){r.d(t,{J:()=>l});let o=[],n=new WeakMap;function a(){o.forEach(e=>e(...n.get(e))),o=[]}function l(e,...t){n.set(e,t),o.includes(e)||1===o.push(e)&&requestAnimationFrame(a)}},74557:function(e,t,r){let o,n;r.d(t,{Z:()=>s});var a,l,i=r(58786);function s(e){if(n)return;let t=!1;(0,i.bv)(()=>{n||null==o||o.then(()=>{t||e()})}),(0,i.Jd)(()=>{t=!0})}o=r(86223).j?null==(l=null==(a=document)?void 0:a.fonts)?void 0:l.ready:void 0,n=!1,void 0!==o?o.then(()=>{n=!0}):n=!0},23125:function(e,t,r){r.d(t,{Z:()=>n});var o=r(58786);function n(e,t){return(0,o.Fl)(()=>{for(let r of t)if(void 0!==e[r])return e[r];return e[t[t.length-1]]})}},20013:function(e,t,r){r.d(t,{Z:()=>n});var o=r(58786);function n(e,t){return(0,o.YP)(e,e=>{void 0!==e&&(t.value=e)}),(0,o.Fl)(()=>void 0===e.value?t.value:e.value)}},1257:function(e,t,r){r.d(t,{Z:()=>s});var o=r(58786),n=r(76072),a=r(82518),l=r(97355),i=r(22288);let s=(0,o.aZ)({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;(0,o.JJ)("VBinder",null==(t=(0,o.FN)())?void 0:t.proxy);let r=(0,o.f3)("VBinder",null),l=(0,o.iH)(null),s=[],u=()=>{let e=l.value;for(;null!==(e=(0,i.rP)(e));)s.push(e);for(let e of s)(0,a.on)("scroll",e,f,!0)},d=()=>{for(let e of s)(0,a.S)("scroll",e,f,!0);s=[]},c=new Set,f=()=>{(0,n.J)(p)},p=()=>{c.forEach(e=>e())},h=new Set,v=()=>{h.forEach(e=>e())};return(0,o.Jd)(()=>{(0,a.S)("resize",window,v),d()}),{targetRef:l,setTargetRef:t=>{l.value=t,r&&e.syncTargetWithParent&&r.setTargetRef(t)},addScrollListener:e=>{0===c.size&&u(),c.has(e)||c.add(e)},removeScrollListener:e=>{c.has(e)&&c.delete(e),0===c.size&&d()},addResizeListener:e=>{0===h.size&&(0,a.on)("resize",window,v),h.has(e)||h.add(e)},removeResizeListener:e=>{h.has(e)&&h.delete(e),0===h.size&&(0,a.S)("resize",window,v)}}},render(){return(0,l.z9)("binder",this.$slots)}})},67553:function(e,t,r){r.d(t,{Z:()=>$});var o=r(58786),n=r(71465),a=r(61691),l=r(74557),i=r(23967),s=r(64148),u=r(77427),d=r(60794);let c={top:"bottom",bottom:"top",left:"right",right:"left"},f={start:"end",center:"center",end:"start"},p={top:"height",bottom:"height",left:"width",right:"width"},h={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},v={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},g={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},b={top:!0,bottom:!1,left:!0,right:!1},m={top:"end",bottom:"start",left:"end",right:"start"};var w=r(22288);let y=(0,u.c)([(0,u.c)(".v-binder-follower-container",{position:"absolute",left:"0",right:"0",top:"0",height:"0",pointerEvents:"none",zIndex:"auto"}),(0,u.c)(".v-binder-follower-content",{position:"absolute",zIndex:"auto"},[(0,u.c)("> *",{pointerEvents:"all"})])]),$=(0,o.aZ)({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){let t=(0,o.f3)("VBinder"),r=(0,a.Z)(()=>void 0!==e.enabled?e.enabled:e.show),n=(0,o.iH)(null),d=(0,o.iH)(null),$=()=>{let{syncTrigger:r}=e;r.includes("scroll")&&t.addScrollListener(S),r.includes("resize")&&t.addResizeListener(S)},Z=()=>{t.removeScrollListener(S),t.removeResizeListener(S)};(0,o.bv)(()=>{r.value&&(S(),$())});let x=(0,s.O)();y.mount({id:"vueuc/binder",head:!0,anchorMetaName:u.A,ssr:x}),(0,o.Jd)(()=>{Z()}),(0,l.Z)(()=>{r.value&&S()});let S=()=>{if(!r.value)return;let o=n.value;if(null===o)return;let a=t.targetRef,{x:l,y:i,overlap:s}=e,u=void 0!==l&&void 0!==i?(0,w.Tt)(l,i):(0,w.Dz)(a);o.style.setProperty("--v-target-width",`${Math.round(u.width)}px`),o.style.setProperty("--v-target-height",`${Math.round(u.height)}px`);let{width:y,minWidth:$,placement:Z,internalShift:x,flip:S}=e;o.setAttribute("v-placement",Z),s?o.setAttribute("v-overlap",""):o.removeAttribute("v-overlap");let{style:M}=o;"target"===y?M.width=`${u.width}px`:void 0!==y?M.width=y:M.width="","target"===$?M.minWidth=`${u.width}px`:void 0!==$?M.minWidth=$:M.minWidth="";let B=(0,w.Dz)(o),j=(0,w.Dz)(d.value),{left:z,top:C,placement:O}=function(e,t,r,o,n,a){if(!n||a)return{placement:e,top:0,left:0};let[l,i]=e.split("-"),s=null!=i?i:"center",u={top:0,left:0},d=(e,n,a)=>{let l=0,i=0,s=r[e]-t[n]-t[e];return s>0&&o&&(a?i=b[n]?s:-s:l=b[n]?s:-s),{left:l,top:i}},h="left"===l||"right"===l;if("center"!==s){let o=g[e],n=c[o],a=p[o];if(r[a]>t[a]){if(t[o]+t[a]<r[a]){let e=(r[a]-t[a])/2;t[o]<e||t[n]<e?t[o]<t[n]?(s=f[i],u=d(a,n,h)):u=d(a,o,h):s="center"}}else r[a]<t[a]&&t[n]<0&&t[o]>t[n]&&(s=f[i])}else{let e="bottom"===l||"top"===l?"left":"top",o=c[e],n=p[e],a=(r[n]-t[n])/2;(t[e]<a||t[o]<a)&&(t[e]>t[o]?(s=m[e],u=d(n,e,h)):(s=m[o],u=d(n,o,h)))}let v=l;return t[l]<r[p[l]]&&t[l]<t[c[l]]&&(v=c[l]),{placement:"center"!==s?`${v}-${s}`:v,left:u.left,top:u.top}}(Z,u,B,x,S,s),k=s?v[O]:h[O],{left:_,top:E,transform:P}=function(e,t,r,o,n,a){if(a)switch(e){case"bottom-start":case"left-end":return{top:`${Math.round(r.top-t.top+r.height)}px`,left:`${Math.round(r.left-t.left)}px`,transform:"translateY(-100%)"};case"bottom-end":case"right-end":return{top:`${Math.round(r.top-t.top+r.height)}px`,left:`${Math.round(r.left-t.left+r.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top-start":case"left-start":return{top:`${Math.round(r.top-t.top)}px`,left:`${Math.round(r.left-t.left)}px`,transform:""};case"top-end":case"right-start":return{top:`${Math.round(r.top-t.top)}px`,left:`${Math.round(r.left-t.left+r.width)}px`,transform:"translateX(-100%)"};case"top":return{top:`${Math.round(r.top-t.top)}px`,left:`${Math.round(r.left-t.left+r.width/2)}px`,transform:"translateX(-50%)"};case"right":return{top:`${Math.round(r.top-t.top+r.height/2)}px`,left:`${Math.round(r.left-t.left+r.width)}px`,transform:"translateX(-100%) translateY(-50%)"};case"left":return{top:`${Math.round(r.top-t.top+r.height/2)}px`,left:`${Math.round(r.left-t.left)}px`,transform:"translateY(-50%)"};default:return{top:`${Math.round(r.top-t.top+r.height)}px`,left:`${Math.round(r.left-t.left+r.width/2)}px`,transform:"translateX(-50%) translateY(-100%)"}}switch(e){case"bottom-start":return{top:`${Math.round(r.top-t.top+r.height+o)}px`,left:`${Math.round(r.left-t.left+n)}px`,transform:""};case"bottom-end":return{top:`${Math.round(r.top-t.top+r.height+o)}px`,left:`${Math.round(r.left-t.left+r.width+n)}px`,transform:"translateX(-100%)"};case"top-start":return{top:`${Math.round(r.top-t.top+o)}px`,left:`${Math.round(r.left-t.left+n)}px`,transform:"translateY(-100%)"};case"top-end":return{top:`${Math.round(r.top-t.top+o)}px`,left:`${Math.round(r.left-t.left+r.width+n)}px`,transform:"translateX(-100%) translateY(-100%)"};case"right-start":return{top:`${Math.round(r.top-t.top+o)}px`,left:`${Math.round(r.left-t.left+r.width+n)}px`,transform:""};case"right-end":return{top:`${Math.round(r.top-t.top+r.height+o)}px`,left:`${Math.round(r.left-t.left+r.width+n)}px`,transform:"translateY(-100%)"};case"left-start":return{top:`${Math.round(r.top-t.top+o)}px`,left:`${Math.round(r.left-t.left+n)}px`,transform:"translateX(-100%)"};case"left-end":return{top:`${Math.round(r.top-t.top+r.height+o)}px`,left:`${Math.round(r.left-t.left+n)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top":return{top:`${Math.round(r.top-t.top+o)}px`,left:`${Math.round(r.left-t.left+r.width/2+n)}px`,transform:"translateY(-100%) translateX(-50%)"};case"right":return{top:`${Math.round(r.top-t.top+r.height/2+o)}px`,left:`${Math.round(r.left-t.left+r.width+n)}px`,transform:"translateY(-50%)"};case"left":return{top:`${Math.round(r.top-t.top+r.height/2+o)}px`,left:`${Math.round(r.left-t.left+n)}px`,transform:"translateY(-50%) translateX(-100%)"};default:return{top:`${Math.round(r.top-t.top+r.height+o)}px`,left:`${Math.round(r.left-t.left+r.width/2+n)}px`,transform:"translateX(-50%)"}}}(O,j,u,C,z,s);o.setAttribute("v-placement",O),o.style.setProperty("--v-offset-left",`${Math.round(z)}px`),o.style.setProperty("--v-offset-top",`${Math.round(C)}px`),o.style.transform=`translateX(${_}) translateY(${E}) ${P}`,o.style.setProperty("--v-transform-origin",k),o.style.transformOrigin=k};(0,o.YP)(r,e=>{e?($(),M()):Z()});let M=()=>{(0,o.Y3)().then(S).catch(e=>console.error(e))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(t=>{(0,o.YP)((0,o.Vh)(e,t),S)}),["teleportDisabled"].forEach(t=>{(0,o.YP)((0,o.Vh)(e,t),M)}),(0,o.YP)((0,o.Vh)(e,"syncTrigger"),e=>{e.includes("resize")?t.addResizeListener(S):t.removeResizeListener(S),e.includes("scroll")?t.addScrollListener(S):t.removeScrollListener(S)});let B=(0,i.Z)();return{VBinder:t,mergedEnabled:r,offsetContainerRef:d,followerRef:n,mergedTo:(0,a.Z)(()=>{let{to:t}=e;if(void 0!==t)return t;B.value}),syncPosition:S}},render(){return(0,o.h)(d.Z,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;let r=(0,o.h)("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[(0,o.h)("div",{class:"v-binder-follower-content",ref:"followerRef"},null==(t=(e=this.$slots).default)?void 0:t.call(e))]);return this.zindexable?(0,o.wy)(r,[[n.Z,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):r}})}})},53242:function(e,t,r){r.d(t,{Z:()=>a});var o=r(58786),n=r(97355);let a=(0,o.aZ)({name:"Target",setup(){let{setTargetRef:e,syncTarget:t}=(0,o.f3)("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){let{syncTarget:e,setTargetDirective:t}=this;return e?(0,o.wy)((0,n.Nb)("follower",this.$slots),[[t]]):(0,n.Nb)("follower",this.$slots)}})},22288:function(e,t,r){r.d(t,{Dz:()=>l,Tt:()=>a,rP:()=>function e(t){if(null===t)return null;let r=9===t.nodeType?null:t.parentNode;if(null===r)return null;if(9===r.nodeType)return document;if(1===r.nodeType){let{overflow:e,overflowX:t,overflowY:o}=getComputedStyle(r);if(/(auto|scroll|overlay)/.test(e+o+t))return r}return e(r)}});let o=null;function n(){if(null===o&&null===(o=document.getElementById("v-binder-view-measurer"))){(o=document.createElement("div")).id="v-binder-view-measurer";let{style:e}=o;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(o)}return o.getBoundingClientRect()}function a(e,t){let r=n();return{top:t,left:e,height:0,width:0,right:r.width-e,bottom:r.height-t}}function l(e){let t=e.getBoundingClientRect(),r=n();return{left:t.left-r.left,top:t.top-r.top,bottom:r.height+r.top-t.bottom,right:r.width+r.left-t.right,width:t.width,height:t.height}}},77427:function(e,t,r){r.d(t,{A:()=>n,c:()=>o});let{c:o}=(0,r(80673).j)(),n="vueuc-style"},3240:function(e,t,r){r.d(t,{Z:()=>o});let o=function(e,t){for(var r=-1,o=t.length,n=e.length;++r<o;)e[n+r]=t[r];return e}},30292:function(e,t,r){r.d(t,{Z:()=>a});var o=r(3240),n=r(3073);let a=function(e,t,r){var a=t(e);return(0,n.Z)(e)?a:(0,o.Z)(a,r(e))}},32510:function(e,t,r){r.d(t,{Z:()=>l});var o=r(98168),n=(0,r(25886).Z)(Object.keys,Object),a=Object.prototype.hasOwnProperty;let l=function(e){if(!(0,o.Z)(e))return n(e);var t=[];for(var r in Object(e))a.call(e,r)&&"constructor"!=r&&t.push(r);return t}},94645:function(e,t,r){r.d(t,{Z:()=>l});var o=r(30292),n=r(95688),a=r(71257);let l=function(e){return(0,o.Z)(e,a.Z,n.Z)}},95688:function(e,t,r){r.d(t,{Z:()=>i});let o=function(e,t){for(var r=-1,o=null==e?0:e.length,n=0,a=[];++r<o;){var l=e[r];t(l,r,e)&&(a[n++]=l)}return a};var n=r(91758),a=Object.prototype.propertyIsEnumerable,l=Object.getOwnPropertySymbols;let i=l?function(e){return null==e?[]:o(l(e=Object(e)),function(t){return a.call(e,t)})}:n.Z},91792:function(e,t,r){r.d(t,{Z:()=>x});var o=r(80938),n=r(80651),a=(0,o.Z)(n.Z,"DataView"),l=r(20843),i=(0,o.Z)(n.Z,"Promise"),s=(0,o.Z)(n.Z,"Set"),u=(0,o.Z)(n.Z,"WeakMap"),d=r(21452),c=r(58436),f="[object Map]",p="[object Promise]",h="[object Set]",v="[object WeakMap]",g="[object DataView]",b=(0,c.Z)(a),m=(0,c.Z)(l.Z),w=(0,c.Z)(i),y=(0,c.Z)(s),$=(0,c.Z)(u),Z=d.Z;(a&&Z(new a(new ArrayBuffer(1)))!=g||l.Z&&Z(new l.Z)!=f||i&&Z(i.resolve())!=p||s&&Z(new s)!=h||u&&Z(new u)!=v)&&(Z=function(e){var t=(0,d.Z)(e),r="[object Object]"==t?e.constructor:void 0,o=r?(0,c.Z)(r):"";if(o)switch(o){case b:return g;case m:return f;case w:return p;case y:return h;case $:return v}return t});let x=Z},71257:function(e,t,r){r.d(t,{Z:()=>l});var o=r(64464),n=r(32510),a=r(67737);let l=function(e){return(0,a.Z)(e)?(0,o.Z)(e):(0,n.Z)(e)}},91758:function(e,t,r){r.d(t,{Z:()=>o});let o=function(){return[]}},5914:function(e,t,r){r.d(t,{G:()=>a,M:()=>n});var o=r(19050);let n=(0,o.U)("n-internal-select-menu"),a=(0,o.U)("n-internal-select-menu-body")},61730:function(e,t,r){r.d(t,{n:()=>c});var o=r(82518),n=r(61691),a=r(58786),l=r(5914),i=r(83549),s=r(62383),u=r(8608);let d="__disabled__";function c(e){let t=(0,a.f3)(s.ZJ,null),r=(0,a.f3)(i.H,null),c=(0,a.f3)(u.c,null),f=(0,a.f3)(l.G,null),p=(0,a.iH)();if("undefined"!=typeof document){p.value=document.fullscreenElement;let e=()=>{p.value=document.fullscreenElement};(0,a.bv)(()=>{(0,o.on)("fullscreenchange",document,e)}),(0,a.Jd)(()=>{(0,o.S)("fullscreenchange",document,e)})}return(0,n.Z)(()=>{var o;let{to:n}=e;return void 0!==n?!1===n?d:!0===n?p.value||"body":n:(null==t?void 0:t.value)?null!=(o=t.value.$el)?o:t.value:(null==r?void 0:r.value)?r.value:(null==c?void 0:c.value)?c.value:(null==f?void 0:f.value)?f.value:null!=n?n:p.value||"body"})}c.tdkey=d,c.propTo={type:[String,Object,Boolean],default:void 0}},49942:function(e,t,r){r.d(t,{Kd:()=>w,ZP:()=>$});var o=r(71465),n=r(23967),a=r(20013),l=r(61691),i=r(23125),s=r(58786),u=r(1257),d=r(53242),c=r(56946),f=r(61730),p=r(44267),h=r(9366),v=r(42056),g=r(65237);let b=Object.keys(g.qs),m={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]},w={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:f.n.propTo,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:()=>[]},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:()=>[]},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},y=Object.assign(Object.assign(Object.assign({},c.Z.props),w),{internalOnAfterLeave:Function,internalRenderBody:Function}),$=(0,s.aZ)({name:"Popover",inheritAttrs:!1,props:y,slots:Object,__popover__:!0,setup(e){let t=(0,n.Z)(),r=(0,s.iH)(null),o=(0,s.Fl)(()=>e.show),u=(0,s.iH)(e.defaultShow),d=(0,a.Z)(o,u),c=(0,l.Z)(()=>!e.disabled&&d.value),f=()=>{if(e.disabled)return!0;let{getDisabled:t}=e;return null!=t&&!!t()},h=()=>!f()&&d.value,v=(0,i.Z)(e,["arrow","showArrow"]),g=(0,s.Fl)(()=>!e.overlap&&v.value),b=null,m=(0,s.iH)(null),w=(0,s.iH)(null),y=(0,l.Z)(()=>void 0!==e.x&&void 0!==e.y);function $(t){let{"onUpdate:show":r,onUpdateShow:o,onShow:n,onHide:a}=e;u.value=t,r&&(0,p.R)(r,t),o&&(0,p.R)(o,t),t&&n&&(0,p.R)(n,!0),t&&a&&(0,p.R)(a,!1)}function Z(){let{value:e}=m;e&&(window.clearTimeout(e),m.value=null)}function x(){let{value:e}=w;e&&(window.clearTimeout(e),w.value=null)}function S(){let t=f();if("hover"===e.trigger&&!t){if(x(),null!==m.value||h())return;let t=()=>{$(!0),m.value=null},{delay:r}=e;0===r?t():m.value=window.setTimeout(t,r)}}function M(){let t=f();if("hover"===e.trigger&&!t){if(Z(),null!==w.value||!h())return;let t=()=>{$(!1),w.value=null},{duration:r}=e;0===r?t():w.value=window.setTimeout(t,r)}}return(0,s.JJ)("NPopover",{getTriggerElement:function(){var e;return null==(e=r.value)?void 0:e.targetRef},handleKeydown:function(t){e.internalTrapFocus&&"Escape"===t.key&&(Z(),x(),$(!1))},handleMouseEnter:S,handleMouseLeave:M,handleClickOutside:function(t){var r;h()&&("click"===e.trigger&&(Z(),x(),$(!1)),null==(r=e.onClickoutside)||r.call(e,t))},handleMouseMoveOutside:function(){M()},setBodyInstance:function(e){b=e},positionManuallyRef:y,isMountedRef:t,zIndexRef:(0,s.Vh)(e,"zIndex"),extraClassRef:(0,s.Vh)(e,"internalExtraClass"),internalRenderBodyRef:(0,s.Vh)(e,"internalRenderBody")}),(0,s.m0)(()=>{d.value&&f()&&$(!1)}),{binderInstRef:r,positionManually:y,mergedShowConsideringDisabledProp:c,uncontrolledShow:u,mergedShowArrow:g,getMergedShow:h,setShow:function(e){u.value=e},handleClick:function(){"click"!==e.trigger||f()||(Z(),x(),$(!h()))},handleMouseEnter:S,handleMouseLeave:M,handleFocus:function(){let t=f();if("focus"===e.trigger&&!t){if(h())return;$(!0)}},handleBlur:function(){let t=f();if("focus"===e.trigger&&!t){if(!h())return;$(!1)}},syncPosition:function(){b&&b.syncPosition()}}},render(){var e,t,r,n;let a,{positionManually:l,$slots:i}=this,c=!1;if(!l&&(a=(0,h.B)(i,"trigger"))){a=(a=(0,s.Ho)(a)).type===s.xv?(0,s.h)("span",[a]):a;let o={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(null==(e=a.type)?void 0:e.__popover__)c=!0,a.props||(a.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),a.props.internalSyncTargetWithParent=!0,a.props.internalInheritedEventHandlers?a.props.internalInheritedEventHandlers=[o,...a.props.internalInheritedEventHandlers]:a.props.internalInheritedEventHandlers=[o];else{let{internalInheritedEventHandlers:e}=this,i=[o,...e];t=a,r=e?"nested":l?"manual":this.trigger,n={onBlur:e=>{i.forEach(t=>{t.onBlur(e)})},onFocus:e=>{i.forEach(t=>{t.onFocus(e)})},onClick:e=>{i.forEach(t=>{t.onClick(e)})},onMouseenter:e=>{i.forEach(t=>{t.onMouseenter(e)})},onMouseleave:e=>{i.forEach(t=>{t.onMouseleave(e)})}},m[r].forEach(e=>{t.props?t.props=Object.assign({},t.props):t.props={};let r=t.props[e],o=n[e];r?t.props[e]=(...e)=>{r(...e),o(...e)}:t.props[e]=o})}}return(0,s.h)(u.Z,{ref:"binderInstRef",syncTarget:!c,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;let e=this.getMergedShow();return[this.internalTrapFocus&&e?(0,s.wy)((0,s.h)("div",{style:{position:"fixed",top:0,right:0,bottom:0,left:0}}),[[o.Z,{enabled:e,zIndex:this.zIndex}]]):null,l?null:(0,s.h)(d.Z,null,{default:()=>a}),(0,s.h)(g.ZP,(0,v.C)(this.$props,b,Object.assign(Object.assign({},this.$attrs),{showArrow:this.mergedShowArrow,show:e})),{default:()=>{var e,t;return null==(t=(e=this.$slots).default)?void 0:t.call(e)},header:()=>{var e,t;return null==(t=(e=this.$slots).header)?void 0:t.call(e)},footer:()=>{var e,t;return null==(t=(e=this.$slots).footer)?void 0:t.call(e)}})]}})}})},65237:function(e,t,r){let o;r.d(t,{qs:()=>eC,ZP:()=>ek,qA:()=>eO});var n,a,l,i,s=r(97931),u=r(34649),d=r(82518);let c="@@mmoContext",f={mounted(e,{value:t}){e[c]={handler:void 0},"function"==typeof t&&(e[c].handler=t,(0,d.on)("mousemoveoutside",e,t))},updated(e,{value:t}){let r=e[c];"function"==typeof t?r.handler?r.handler!==t&&((0,d.S)("mousemoveoutside",e,r.handler),r.handler=t,(0,d.on)("mousemoveoutside",e,t)):(e[c].handler=t,(0,d.on)("mousemoveoutside",e,t)):r.handler&&((0,d.S)("mousemoveoutside",e,r.handler),r.handler=void 0)},unmounted(e){let{handler:t}=e[c];t&&(0,d.S)("mousemoveoutside",e,t),e[c].handler=void 0}};var p=r(58786),h=r(44337),v=r(67553),g=r(97756),b=r(56946),m=r(54470),w=r(53198),y=r(61730),$=r(89620),Z=r(93950),x=r(83549),S=r(62383),M=r(27422),B=r(8608),j=r(75952),z=r(53146),C=r(37408);function O(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new C.Z;++t<r;)this.add(e[t])}O.prototype.add=O.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},O.prototype.has=function(e){return this.__data__.has(e)};let k=function(e,t){for(var r=-1,o=null==e?0:e.length;++r<o;)if(t(e[r],r,e))return!0;return!1},_=function(e,t,r,o,n,a){var l=1&r,i=e.length,s=t.length;if(i!=s&&!(l&&s>i))return!1;var u=a.get(e),d=a.get(t);if(u&&d)return u==t&&d==e;var c=-1,f=!0,p=2&r?new O:void 0;for(a.set(e,t),a.set(t,e);++c<i;){var h=e[c],v=t[c];if(o)var g=l?o(v,h,c,t,e,a):o(h,v,c,e,t,a);if(void 0!==g){if(g)continue;f=!1;break}if(p){if(!k(t,function(e,t){if(!p.has(t)&&(h===e||n(h,e,r,o,a)))return p.push(t)})){f=!1;break}}else if(!(h===v||n(h,v,r,o,a))){f=!1;break}}return a.delete(e),a.delete(t),f};var E=r(28373),P=r(72337),A=r(94596);let T=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,o){r[++t]=[o,e]}),r},F=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r};var R=E.Z?E.Z.prototype:void 0,N=R?R.valueOf:void 0;let I=function(e,t,r,o,n,a,l){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!a(new P.Z(e),new P.Z(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,A.Z)(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var i=T;case"[object Set]":var s=1&o;if(i||(i=F),e.size!=t.size&&!s)break;var u=l.get(e);if(u)return u==t;o|=2,l.set(e,t);var d=_(i(e),i(t),o,n,a,l);return l.delete(e),d;case"[object Symbol]":if(N)return N.call(e)==N.call(t)}return!1};var W=r(94645),H=Object.prototype.hasOwnProperty;let D=function(e,t,r,o,n,a){var l=1&r,i=(0,W.Z)(e),s=i.length;if(s!=(0,W.Z)(t).length&&!l)return!1;for(var u=s;u--;){var d=i[u];if(!(l?d in t:H.call(t,d)))return!1}var c=a.get(e),f=a.get(t);if(c&&f)return c==t&&f==e;var p=!0;a.set(e,t),a.set(t,e);for(var h=l;++u<s;){var v=e[d=i[u]],g=t[d];if(o)var b=l?o(g,v,d,t,e,a):o(v,g,d,e,t,a);if(!(void 0===b?v===g||n(v,g,r,o,a):b)){p=!1;break}h||(h="constructor"==d)}if(p&&!h){var m=e.constructor,w=t.constructor;m!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof m&&m instanceof m&&"function"==typeof w&&w instanceof w)&&(p=!1)}return a.delete(e),a.delete(t),p};var Y=r(91792),L=r(3073),J=r(4339),X=r(77407),V="[object Arguments]",K="[object Array]",U="[object Object]",q=Object.prototype.hasOwnProperty;let G=function(e,t,r,o,n,a){var l=(0,L.Z)(e),i=(0,L.Z)(t),s=l?K:(0,Y.Z)(e),u=i?K:(0,Y.Z)(t);s=s==V?U:s,u=u==V?U:u;var d=s==U,c=u==U,f=s==u;if(f&&(0,J.Z)(e)){if(!(0,J.Z)(t))return!1;l=!0,d=!1}if(f&&!d)return a||(a=new z.Z),l||(0,X.Z)(e)?_(e,t,r,o,n,a):I(e,t,s,r,o,n,a);if(!(1&r)){var p=d&&q.call(e,"__wrapped__"),h=c&&q.call(t,"__wrapped__");if(p||h){var v=p?e.value():e,g=h?t.value():t;return a||(a=new z.Z),n(v,g,r,o,a)}}return!!f&&(a||(a=new z.Z),D(e,t,r,o,n,a))};var Q=r(32398);let ee=function e(t,r,o,n,a){return t===r||(null!=t&&null!=r&&((0,Q.Z)(t)||(0,Q.Z)(r))?G(t,r,o,n,e,a):t!=t&&r!=r)},et=function(e,t,r,o){var n=r.length,a=n,l=!o;if(null==e)return!a;for(e=Object(e);n--;){var i=r[n];if(l&&i[2]?i[1]!==e[i[0]]:!(i[0]in e))return!1}for(;++n<a;){var s=(i=r[n])[0],u=e[s],d=i[1];if(l&&i[2]){if(void 0===u&&!(s in e))return!1}else{var c=new z.Z;if(o)var f=o(u,d,s,e,t,c);if(!(void 0===f?ee(d,u,3,o,c):f))return!1}}return!0};var er=r(26129);let eo=function(e){return e==e&&!(0,er.Z)(e)};var en=r(71257);let ea=function(e){for(var t=(0,en.Z)(e),r=t.length;r--;){var o=t[r],n=e[o];t[r]=[o,n,eo(n)]}return t},el=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}},ei=function(e){var t=ea(e);return 1==t.length&&t[0][2]?el(t[0][0],t[0][1]):function(r){return r===e||et(r,e,t)}};var es=r(94904);let eu=function(e,t){return null!=e&&t in Object(e)};var ed=r(34542),ec=r(75266),ef=r(1400),ep=r(97830),eh=r(32452);let ev=function(e,t,r){t=(0,ed.Z)(t,e);for(var o=-1,n=t.length,a=!1;++o<n;){var l=(0,eh.Z)(t[o]);if(!(a=null!=e&&r(e,l)))break;e=e[l]}return a||++o!=n?a:!!(n=null==e?0:e.length)&&(0,ep.Z)(n)&&(0,ef.Z)(l,n)&&((0,L.Z)(e)||(0,ec.Z)(e))};var eg=r(90483),eb=r(85627),em=r(80954);let ew=function(e){var t;return(0,eg.Z)(e)?(t=(0,eh.Z)(e),function(e){return null==e?void 0:e[t]}):function(t){return(0,em.Z)(t,e)}};var ey=r(89357),e$=r(67737),eZ=(n=function(e,t){return e&&(0,ey.Z)(e,t,en.Z)},function(e,t){if(null==e)return e;if(!(0,e$.Z)(e))return n(e,t);for(var r=e.length,o=-1,l=Object(e);(a?o--:++o<r)&&!1!==t(l[o],o,l););return e}),ex=r(71309);let eS={top:"bottom",bottom:"top",left:"right",right:"left"},eM="var(--n-arrow-height) * 1.414",eB=(0,ex.c)([(0,ex.cB)("popover",`
- transition:
- box-shadow .3s var(--n-bezier),
- background-color .3s var(--n-bezier),
- color .3s var(--n-bezier);
- position: relative;
- font-size: var(--n-font-size);
- color: var(--n-text-color);
- box-shadow: var(--n-box-shadow);
- word-break: break-word;
- `,[(0,ex.c)(">",[(0,ex.cB)("scrollbar",`
- height: inherit;
- max-height: inherit;
- `)]),(0,ex.u4)("raw",`
- background-color: var(--n-color);
- border-radius: var(--n-border-radius);
- `,[(0,ex.u4)("scrollable",[(0,ex.u4)("show-header-or-footer","padding: var(--n-padding);")])]),(0,ex.cE)("header",`
- padding: var(--n-padding);
- border-bottom: 1px solid var(--n-divider-color);
- transition: border-color .3s var(--n-bezier);
- `),(0,ex.cE)("footer",`
- padding: var(--n-padding);
- border-top: 1px solid var(--n-divider-color);
- transition: border-color .3s var(--n-bezier);
- `),(0,ex.cM)("scrollable, show-header-or-footer",[(0,ex.cE)("content",`
- padding: var(--n-padding);
- `)])]),(0,ex.cB)("popover-shared",`
- transform-origin: inherit;
- `,[(0,ex.cB)("popover-arrow-wrapper",`
- position: absolute;
- overflow: hidden;
- pointer-events: none;
- `,[(0,ex.cB)("popover-arrow",`
- transition: background-color .3s var(--n-bezier);
- position: absolute;
- display: block;
- width: calc(${eM});
- height: calc(${eM});
- box-shadow: 0 0 8px 0 rgba(0, 0, 0, .12);
- transform: rotate(45deg);
- background-color: var(--n-color);
- pointer-events: all;
- `)]),(0,ex.c)("&.popover-transition-enter-from, &.popover-transition-leave-to",`
- opacity: 0;
- transform: scale(.85);
- `),(0,ex.c)("&.popover-transition-enter-to, &.popover-transition-leave-from",`
- transform: scale(1);
- opacity: 1;
- `),(0,ex.c)("&.popover-transition-enter-active",`
- transition:
- box-shadow .3s var(--n-bezier),
- background-color .3s var(--n-bezier),
- color .3s var(--n-bezier),
- opacity .15s var(--n-bezier-ease-out),
- transform .15s var(--n-bezier-ease-out);
- `),(0,ex.c)("&.popover-transition-leave-active",`
- transition:
- box-shadow .3s var(--n-bezier),
- background-color .3s var(--n-bezier),
- color .3s var(--n-bezier),
- opacity .15s var(--n-bezier-ease-in),
- transform .15s var(--n-bezier-ease-in);
- `)]),ez("top-start",`
- top: calc(${eM} / -2);
- left: calc(${ej("top-start")} - var(--v-offset-left));
- `),ez("top",`
- top: calc(${eM} / -2);
- transform: translateX(calc(${eM} / -2)) rotate(45deg);
- left: 50%;
- `),ez("top-end",`
- top: calc(${eM} / -2);
- right: calc(${ej("top-end")} + var(--v-offset-left));
- `),ez("bottom-start",`
- bottom: calc(${eM} / -2);
- left: calc(${ej("bottom-start")} - var(--v-offset-left));
- `),ez("bottom",`
- bottom: calc(${eM} / -2);
- transform: translateX(calc(${eM} / -2)) rotate(45deg);
- left: 50%;
- `),ez("bottom-end",`
- bottom: calc(${eM} / -2);
- right: calc(${ej("bottom-end")} + var(--v-offset-left));
- `),ez("left-start",`
- left: calc(${eM} / -2);
- top: calc(${ej("left-start")} - var(--v-offset-top));
- `),ez("left",`
- left: calc(${eM} / -2);
- transform: translateY(calc(${eM} / -2)) rotate(45deg);
- top: 50%;
- `),ez("left-end",`
- left: calc(${eM} / -2);
- bottom: calc(${ej("left-end")} + var(--v-offset-top));
- `),ez("right-start",`
- right: calc(${eM} / -2);
- top: calc(${ej("right-start")} - var(--v-offset-top));
- `),ez("right",`
- right: calc(${eM} / -2);
- transform: translateY(calc(${eM} / -2)) rotate(45deg);
- top: 50%;
- `),ez("right-end",`
- right: calc(${eM} / -2);
- bottom: calc(${ej("right-end")} + var(--v-offset-top));
- `),...(l={top:["right-start","left-start"],right:["top-end","bottom-end"],bottom:["right-end","left-end"],left:["top-start","bottom-start"]},i=(e,t)=>{let r=["right","left"].includes(t),o=r?"width":"height";return e.map(e=>{let n="end"===e.split("-")[1],a=`var(--v-target-${o}, 0px)`,l=`calc((${a} - ${eM}) / 2)`,i=ej(e);return(0,ex.c)(`[v-placement="${e}"] >`,[(0,ex.cB)("popover-shared",[(0,ex.cM)("center-arrow",[(0,ex.cB)("popover-arrow",`${t}: calc(max(${l}, ${i}) ${n?"+":"-"} var(--v-offset-${r?"left":"top"}));`)])])])})},((0,L.Z)(l)?j.Z:function(e,t){var r=-1,o=(0,e$.Z)(e)?Array(e.length):[];return eZ(e,function(e,n,a){o[++r]=t(e,n,a)}),o})(l,function(e){if("function"==typeof e)return e;if(null==e)return eb.Z;if("object"==typeof e){var t,r;return(0,L.Z)(e)?(t=e[0],r=e[1],(0,eg.Z)(t)&&eo(r)?el((0,eh.Z)(t),r):function(e){var o=(0,es.Z)(e,t);return void 0===o&&o===r?null!=e&&ev(e,t,eu):ee(r,o,3)}):ei(e)}return ew(e)}(i,3)))]);function ej(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function ez(e,t){let r=e.split("-")[0],o=["top","bottom"].includes(r)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return(0,ex.c)(`[v-placement="${e}"] >`,[(0,ex.cB)("popover-shared",`
- margin-${eS[r]}: var(--n-space);
- `,[(0,ex.cM)("show-arrow",`
- margin-${eS[r]}: var(--n-space-arrow);
- `),(0,ex.cM)("overlap",`
- margin: 0;
- `),(0,ex.kE)("popover-arrow-wrapper",`
- right: 0;
- left: 0;
- top: 0;
- bottom: 0;
- ${r}: 100%;
- ${eS[r]}: auto;
- ${o}
- `,[(0,ex.cB)("popover-arrow",t)])])])}let eC=Object.assign(Object.assign({},b.Z.props),{to:y.n.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number});function eO({arrowClass:e,arrowStyle:t,arrowWrapperClass:r,arrowWrapperStyle:o,clsPrefix:n}){return(0,p.h)("div",{key:"__popover-arrow__",style:o,class:[`${n}-popover-arrow-wrapper`,r]},(0,p.h)("div",{class:[`${n}-popover-arrow`,e],style:t}))}let ek=(0,p.aZ)({name:"PopoverBody",inheritAttrs:!1,props:eC,setup(e,{slots:t,attrs:r}){let{namespaceRef:n,mergedClsPrefixRef:a,inlineThemeDisabled:l}=(0,m.ZP)(e),i=(0,b.Z)("Popover","-popover",eB,M.Z,e,a),d=(0,p.iH)(null),c=(0,p.f3)("NPopover"),v=(0,p.iH)(null),j=(0,p.iH)(e.show),z=(0,p.iH)(!1);(0,p.m0)(()=>{let{show:t}=e;!t||(void 0===o&&(o=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),o)||e.internalDeactivateImmediately||(z.value=!0)});let C=(0,p.Fl)(()=>{let{trigger:t,onClickoutside:r}=e,o=[],{positionManuallyRef:{value:n}}=c;return n||("click"!==t||r||o.push([u.Z,T,void 0,{capture:!0}]),"hover"===t&&o.push([f,A])),r&&o.push([u.Z,T,void 0,{capture:!0}]),("show"===e.displayDirective||e.animated&&z.value)&&o.push([p.F8,e.show]),o}),O=(0,p.Fl)(()=>{let{common:{cubicBezierEaseInOut:e,cubicBezierEaseIn:t,cubicBezierEaseOut:r},self:{space:o,spaceArrow:n,padding:a,fontSize:l,textColor:s,dividerColor:u,color:d,boxShadow:c,borderRadius:f,arrowHeight:p,arrowOffset:h,arrowOffsetVertical:v}}=i.value;return{"--n-box-shadow":c,"--n-bezier":e,"--n-bezier-ease-in":t,"--n-bezier-ease-out":r,"--n-font-size":l,"--n-text-color":s,"--n-color":d,"--n-divider-color":u,"--n-border-radius":f,"--n-arrow-height":p,"--n-arrow-offset":h,"--n-arrow-offset-vertical":v,"--n-padding":a,"--n-space":o,"--n-space-arrow":n}}),k=(0,p.Fl)(()=>{let t="trigger"===e.width?void 0:(0,$.N)(e.width),r=[];t&&r.push({width:t});let{maxWidth:o,minWidth:n}=e;return o&&r.push({maxWidth:(0,$.N)(o)}),n&&r.push({maxWidth:(0,$.N)(n)}),l||r.push(O.value),r}),_=l?(0,w.F)("popover",void 0,O,e):void 0;function E(t){"hover"===e.trigger&&e.keepAliveOnHover&&e.show&&c.handleMouseEnter(t)}function P(t){"hover"===e.trigger&&e.keepAliveOnHover&&c.handleMouseLeave(t)}function A(t){"hover"!==e.trigger||F().contains((0,s.p)(t))||c.handleMouseMoveOutside(t)}function T(t){("click"===e.trigger&&!F().contains((0,s.p)(t))||e.onClickoutside)&&c.handleClickOutside(t)}function F(){return c.getTriggerElement()}return c.setBodyInstance({syncPosition:function(){var e;null==(e=d.value)||e.syncPosition()}}),(0,p.Jd)(()=>{c.setBodyInstance(null)}),(0,p.YP)((0,p.Vh)(e,"show"),t=>{e.animated||(t?j.value=!0:j.value=!1)}),(0,p.JJ)(B.c,v),(0,p.JJ)(x.H,null),(0,p.JJ)(S.ZJ,null),{displayed:z,namespace:n,isMounted:c.isMountedRef,zIndex:c.zIndexRef,followerRef:d,adjustedTo:(0,y.n)(e),followerEnabled:j,renderContentNode:function(){let o;if(null==_||_.onRender(),!("show"===e.displayDirective||e.show||e.animated&&z.value))return null;let n=c.internalRenderBodyRef.value,{value:l}=a;if(n)o=n([`${l}-popover-shared`,null==_?void 0:_.themeClass.value,e.overlap&&`${l}-popover-shared--overlap`,e.showArrow&&`${l}-popover-shared--show-arrow`,e.arrowPointToCenter&&`${l}-popover-shared--center-arrow`],v,k.value,E,P);else{let{value:n}=c.extraClassRef,{internalTrapFocus:a}=e,i=!(0,Z.aD)(t.header)||!(0,Z.aD)(t.footer),s=()=>{var r,o;let n=i?(0,p.h)(p.HY,null,(0,Z.K9)(t.header,t=>t?(0,p.h)("div",{class:[`${l}-popover__header`,e.headerClass],style:e.headerStyle},t):null),(0,Z.K9)(t.default,r=>r?(0,p.h)("div",{class:[`${l}-popover__content`,e.contentClass],style:e.contentStyle},t):null),(0,Z.K9)(t.footer,t=>t?(0,p.h)("div",{class:[`${l}-popover__footer`,e.footerClass],style:e.footerStyle},t):null)):e.scrollable?null==(r=t.default)?void 0:r.call(t):(0,p.h)("div",{class:[`${l}-popover__content`,e.contentClass],style:e.contentStyle},t);return[e.scrollable?(0,p.h)(g.u,{contentClass:i?void 0:`${l}-popover__content ${null!=(o=e.contentClass)?o:""}`,contentStyle:i?void 0:e.contentStyle},{default:()=>n}):n,e.showArrow?eO({arrowClass:e.arrowClass,arrowStyle:e.arrowStyle,arrowWrapperClass:e.arrowWrapperClass,arrowWrapperStyle:e.arrowWrapperStyle,clsPrefix:l}):null]};o=(0,p.h)("div",(0,p.dG)({class:[`${l}-popover`,`${l}-popover-shared`,null==_?void 0:_.themeClass.value,n.map(e=>`${l}-${e}`),{[`${l}-popover--scrollable`]:e.scrollable,[`${l}-popover--show-header-or-footer`]:i,[`${l}-popover--raw`]:e.raw,[`${l}-popover-shared--overlap`]:e.overlap,[`${l}-popover-shared--show-arrow`]:e.showArrow,[`${l}-popover-shared--center-arrow`]:e.arrowPointToCenter}],ref:v,style:k.value,onKeydown:c.handleKeydown,onMouseenter:E,onMouseleave:P},r),a?(0,p.h)(h.i,{active:e.show,autoFocus:!0},{default:s}):s())}return(0,p.wy)(o,C.value)}}},render(){return(0,p.h)(v.Z,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:"trigger"===this.width?"target":void 0,teleportDisabled:this.adjustedTo===y.n.tdkey},{default:()=>this.animated?(0,p.h)(p.uT,{name:"popover-transition",appear:this.isMounted,onEnter:()=>{this.followerEnabled=!0},onAfterLeave:()=>{var e;null==(e=this.internalOnAfterLeave)||e.call(this),this.followerEnabled=!1,this.displayed=!1}},{default:this.renderContentNode}):this.renderContentNode()})}})}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/579.f4df1ad3.js b/core/public/dist/static/js/async/579.f4df1ad3.js
new file mode 100644
index 00000000..579a9928
--- /dev/null
+++ b/core/public/dist/static/js/async/579.f4df1ad3.js
@@ -0,0 +1,117 @@
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["579"],{23125:function(e,r,t){t.d(r,{Z:()=>n});var o=t(58786);function n(e,r){return(0,o.Fl)(()=>{for(let t of r)if(void 0!==e[t])return e[t];return e[r[r.length-1]]})}},3240:function(e,r,t){t.d(r,{Z:()=>o});let o=function(e,r){for(var t=-1,o=r.length,n=e.length;++t<o;)e[n+t]=r[t];return e}},30292:function(e,r,t){t.d(r,{Z:()=>a});var o=t(3240),n=t(3073);let a=function(e,r,t){var a=r(e);return(0,n.Z)(e)?a:(0,o.Z)(a,t(e))}},32510:function(e,r,t){t.d(r,{Z:()=>l});var o=t(98168),n=(0,t(25886).Z)(Object.keys,Object),a=Object.prototype.hasOwnProperty;let l=function(e){if(!(0,o.Z)(e))return n(e);var r=[];for(var t in Object(e))a.call(e,t)&&"constructor"!=t&&r.push(t);return r}},94645:function(e,r,t){t.d(r,{Z:()=>l});var o=t(30292),n=t(95688),a=t(71257);let l=function(e){return(0,o.Z)(e,a.Z,n.Z)}},95688:function(e,r,t){t.d(r,{Z:()=>i});let o=function(e,r){for(var t=-1,o=null==e?0:e.length,n=0,a=[];++t<o;){var l=e[t];r(l,t,e)&&(a[n++]=l)}return a};var n=t(91758),a=Object.prototype.propertyIsEnumerable,l=Object.getOwnPropertySymbols;let i=l?function(e){return null==e?[]:o(l(e=Object(e)),function(r){return a.call(e,r)})}:n.Z},91792:function(e,r,t){t.d(r,{Z:()=>$});var o=t(80938),n=t(80651),a=(0,o.Z)(n.Z,"DataView"),l=t(20843),i=(0,o.Z)(n.Z,"Promise"),s=(0,o.Z)(n.Z,"Set"),u=(0,o.Z)(n.Z,"WeakMap"),c=t(21452),d=t(58436),v="[object Map]",p="[object Promise]",f="[object Set]",h="[object WeakMap]",b="[object DataView]",g=(0,d.Z)(a),w=(0,d.Z)(l.Z),y=(0,d.Z)(i),m=(0,d.Z)(s),Z=(0,d.Z)(u),S=c.Z;(a&&S(new a(new ArrayBuffer(1)))!=b||l.Z&&S(new l.Z)!=v||i&&S(i.resolve())!=p||s&&S(new s)!=f||u&&S(new u)!=h)&&(S=function(e){var r=(0,c.Z)(e),t="[object Object]"==r?e.constructor:void 0,o=t?(0,d.Z)(t):"";if(o)switch(o){case g:return b;case w:return v;case y:return p;case m:return f;case Z:return h}return r});let $=S},71257:function(e,r,t){t.d(r,{Z:()=>l});var o=t(64464),n=t(32510),a=t(67737);let l=function(e){return(0,a.Z)(e)?(0,o.Z)(e):(0,n.Z)(e)}},91758:function(e,r,t){t.d(r,{Z:()=>o});let o=function(){return[]}},49942:function(e,r,t){t.d(r,{Kd:()=>y,ZP:()=>Z});var o=t(71465),n=t(23967),a=t(20013),l=t(61691),i=t(23125),s=t(58786),u=t(1257),c=t(53242),d=t(56946),v=t(61730),p=t(44267),f=t(9366),h=t(42056),b=t(65237);let g=Object.keys(b.qs),w={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]},y={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:v.n.propTo,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:()=>[]},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:()=>[]},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},m=Object.assign(Object.assign(Object.assign({},d.Z.props),y),{internalOnAfterLeave:Function,internalRenderBody:Function}),Z=(0,s.aZ)({name:"Popover",inheritAttrs:!1,props:m,slots:Object,__popover__:!0,setup(e){let r=(0,n.Z)(),t=(0,s.iH)(null),o=(0,s.Fl)(()=>e.show),u=(0,s.iH)(e.defaultShow),c=(0,a.Z)(o,u),d=(0,l.Z)(()=>!e.disabled&&c.value),v=()=>{if(e.disabled)return!0;let{getDisabled:r}=e;return null!=r&&!!r()},f=()=>!v()&&c.value,h=(0,i.Z)(e,["arrow","showArrow"]),b=(0,s.Fl)(()=>!e.overlap&&h.value),g=null,w=(0,s.iH)(null),y=(0,s.iH)(null),m=(0,l.Z)(()=>void 0!==e.x&&void 0!==e.y);function Z(r){let{"onUpdate:show":t,onUpdateShow:o,onShow:n,onHide:a}=e;u.value=r,t&&(0,p.R)(t,r),o&&(0,p.R)(o,r),r&&n&&(0,p.R)(n,!0),r&&a&&(0,p.R)(a,!1)}function S(){let{value:e}=w;e&&(window.clearTimeout(e),w.value=null)}function $(){let{value:e}=y;e&&(window.clearTimeout(e),y.value=null)}function j(){let r=v();if("hover"===e.trigger&&!r){if($(),null!==w.value||f())return;let r=()=>{Z(!0),w.value=null},{delay:t}=e;0===t?r():w.value=window.setTimeout(r,t)}}function B(){let r=v();if("hover"===e.trigger&&!r){if(S(),null!==y.value||!f())return;let r=()=>{Z(!1),y.value=null},{duration:t}=e;0===t?r():y.value=window.setTimeout(r,t)}}return(0,s.JJ)("NPopover",{getTriggerElement:function(){var e;return null==(e=t.value)?void 0:e.targetRef},handleKeydown:function(r){e.internalTrapFocus&&"Escape"===r.key&&(S(),$(),Z(!1))},handleMouseEnter:j,handleMouseLeave:B,handleClickOutside:function(r){var t;f()&&("click"===e.trigger&&(S(),$(),Z(!1)),null==(t=e.onClickoutside)||t.call(e,r))},handleMouseMoveOutside:function(){B()},setBodyInstance:function(e){g=e},positionManuallyRef:m,isMountedRef:r,zIndexRef:(0,s.Vh)(e,"zIndex"),extraClassRef:(0,s.Vh)(e,"internalExtraClass"),internalRenderBodyRef:(0,s.Vh)(e,"internalRenderBody")}),(0,s.m0)(()=>{c.value&&v()&&Z(!1)}),{binderInstRef:t,positionManually:m,mergedShowConsideringDisabledProp:d,uncontrolledShow:u,mergedShowArrow:b,getMergedShow:f,setShow:function(e){u.value=e},handleClick:function(){"click"!==e.trigger||v()||(S(),$(),Z(!f()))},handleMouseEnter:j,handleMouseLeave:B,handleFocus:function(){let r=v();if("focus"===e.trigger&&!r){if(f())return;Z(!0)}},handleBlur:function(){let r=v();if("focus"===e.trigger&&!r){if(!f())return;Z(!1)}},syncPosition:function(){g&&g.syncPosition()}}},render(){var e,r,t,n;let a,{positionManually:l,$slots:i}=this,d=!1;if(!l&&(a=(0,f.B)(i,"trigger"))){a=(a=(0,s.Ho)(a)).type===s.xv?(0,s.h)("span",[a]):a;let o={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(null==(e=a.type)?void 0:e.__popover__)d=!0,a.props||(a.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),a.props.internalSyncTargetWithParent=!0,a.props.internalInheritedEventHandlers?a.props.internalInheritedEventHandlers=[o,...a.props.internalInheritedEventHandlers]:a.props.internalInheritedEventHandlers=[o];else{let{internalInheritedEventHandlers:e}=this,i=[o,...e];r=a,t=e?"nested":l?"manual":this.trigger,n={onBlur:e=>{i.forEach(r=>{r.onBlur(e)})},onFocus:e=>{i.forEach(r=>{r.onFocus(e)})},onClick:e=>{i.forEach(r=>{r.onClick(e)})},onMouseenter:e=>{i.forEach(r=>{r.onMouseenter(e)})},onMouseleave:e=>{i.forEach(r=>{r.onMouseleave(e)})}},w[t].forEach(e=>{r.props?r.props=Object.assign({},r.props):r.props={};let t=r.props[e],o=n[e];t?r.props[e]=(...e)=>{t(...e),o(...e)}:r.props[e]=o})}}return(0,s.h)(u.Z,{ref:"binderInstRef",syncTarget:!d,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;let e=this.getMergedShow();return[this.internalTrapFocus&&e?(0,s.wy)((0,s.h)("div",{style:{position:"fixed",top:0,right:0,bottom:0,left:0}}),[[o.Z,{enabled:e,zIndex:this.zIndex}]]):null,l?null:(0,s.h)(c.Z,null,{default:()=>a}),(0,s.h)(b.ZP,(0,h.C)(this.$props,g,Object.assign(Object.assign({},this.$attrs),{showArrow:this.mergedShowArrow,show:e})),{default:()=>{var e,r;return null==(r=(e=this.$slots).default)?void 0:r.call(e)},header:()=>{var e,r;return null==(r=(e=this.$slots).header)?void 0:r.call(e)},footer:()=>{var e,r;return null==(r=(e=this.$slots).footer)?void 0:r.call(e)}})]}})}})},65237:function(e,r,t){let o;t.d(r,{qs:()=>e_,ZP:()=>ez,qA:()=>ex});var n,a,l,i,s=t(97931),u=t(34649),c=t(82518);let d="@@mmoContext",v={mounted(e,{value:r}){e[d]={handler:void 0},"function"==typeof r&&(e[d].handler=r,(0,c.on)("mousemoveoutside",e,r))},updated(e,{value:r}){let t=e[d];"function"==typeof r?t.handler?t.handler!==r&&((0,c.S)("mousemoveoutside",e,t.handler),t.handler=r,(0,c.on)("mousemoveoutside",e,r)):(e[d].handler=r,(0,c.on)("mousemoveoutside",e,r)):t.handler&&((0,c.S)("mousemoveoutside",e,t.handler),t.handler=void 0)},unmounted(e){let{handler:r}=e[d];r&&(0,c.S)("mousemoveoutside",e,r),e[d].handler=void 0}};var p=t(58786),f=t(44337),h=t(67553),b=t(97756),g=t(56946),w=t(54470),y=t(53198),m=t(61730),Z=t(89620),S=t(93950),$=t(83549),j=t(62383),B=t(27422),C=t(8608),O=t(75952),k=t(53146),_=t(37408);function x(e){var r=-1,t=null==e?0:e.length;for(this.__data__=new _.Z;++r<t;)this.add(e[r])}x.prototype.add=x.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},x.prototype.has=function(e){return this.__data__.has(e)};let z=function(e,r){for(var t=-1,o=null==e?0:e.length;++t<o;)if(r(e[t],t,e))return!0;return!1},A=function(e,r,t,o,n,a){var l=1&t,i=e.length,s=r.length;if(i!=s&&!(l&&s>i))return!1;var u=a.get(e),c=a.get(r);if(u&&c)return u==r&&c==e;var d=-1,v=!0,p=2&t?new x:void 0;for(a.set(e,r),a.set(r,e);++d<i;){var f=e[d],h=r[d];if(o)var b=l?o(h,f,d,r,e,a):o(f,h,d,e,r,a);if(void 0!==b){if(b)continue;v=!1;break}if(p){if(!z(r,function(e,r){if(!p.has(r)&&(f===e||n(f,e,t,o,a)))return p.push(r)})){v=!1;break}}else if(!(f===h||n(f,h,t,o,a))){v=!1;break}}return a.delete(e),a.delete(r),v};var M=t(28373),E=t(72337),P=t(94596);let F=function(e){var r=-1,t=Array(e.size);return e.forEach(function(e,o){t[++r]=[o,e]}),t},T=function(e){var r=-1,t=Array(e.size);return e.forEach(function(e){t[++r]=e}),t};var N=M.Z?M.Z.prototype:void 0,I=N?N.valueOf:void 0;let H=function(e,r,t,o,n,a,l){switch(t){case"[object DataView]":if(e.byteLength!=r.byteLength||e.byteOffset!=r.byteOffset)break;e=e.buffer,r=r.buffer;case"[object ArrayBuffer]":if(e.byteLength!=r.byteLength||!a(new E.Z(e),new E.Z(r)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,P.Z)(+e,+r);case"[object Error]":return e.name==r.name&&e.message==r.message;case"[object RegExp]":case"[object String]":return e==r+"";case"[object Map]":var i=F;case"[object Set]":var s=1&o;if(i||(i=T),e.size!=r.size&&!s)break;var u=l.get(e);if(u)return u==r;o|=2,l.set(e,r);var c=A(i(e),i(r),o,n,a,l);return l.delete(e),c;case"[object Symbol]":if(I)return I.call(e)==I.call(r)}return!1};var R=t(94645),W=Object.prototype.hasOwnProperty;let D=function(e,r,t,o,n,a){var l=1&t,i=(0,R.Z)(e),s=i.length;if(s!=(0,R.Z)(r).length&&!l)return!1;for(var u=s;u--;){var c=i[u];if(!(l?c in r:W.call(r,c)))return!1}var d=a.get(e),v=a.get(r);if(d&&v)return d==r&&v==e;var p=!0;a.set(e,r),a.set(r,e);for(var f=l;++u<s;){var h=e[c=i[u]],b=r[c];if(o)var g=l?o(b,h,c,r,e,a):o(h,b,c,e,r,a);if(!(void 0===g?h===b||n(h,b,t,o,a):g)){p=!1;break}f||(f="constructor"==c)}if(p&&!f){var w=e.constructor,y=r.constructor;w!=y&&"constructor"in e&&"constructor"in r&&!("function"==typeof w&&w instanceof w&&"function"==typeof y&&y instanceof y)&&(p=!1)}return a.delete(e),a.delete(r),p};var J=t(91792),L=t(3073),K=t(4339),V=t(77407),Y="[object Arguments]",q="[object Array]",U="[object Object]",X=Object.prototype.hasOwnProperty;let G=function(e,r,t,o,n,a){var l=(0,L.Z)(e),i=(0,L.Z)(r),s=l?q:(0,J.Z)(e),u=i?q:(0,J.Z)(r);s=s==Y?U:s,u=u==Y?U:u;var c=s==U,d=u==U,v=s==u;if(v&&(0,K.Z)(e)){if(!(0,K.Z)(r))return!1;l=!0,c=!1}if(v&&!c)return a||(a=new k.Z),l||(0,V.Z)(e)?A(e,r,t,o,n,a):H(e,r,s,t,o,n,a);if(!(1&t)){var p=c&&X.call(e,"__wrapped__"),f=d&&X.call(r,"__wrapped__");if(p||f){var h=p?e.value():e,b=f?r.value():r;return a||(a=new k.Z),n(h,b,t,o,a)}}return!!v&&(a||(a=new k.Z),D(e,r,t,o,n,a))};var Q=t(32398);let ee=function e(r,t,o,n,a){return r===t||(null!=r&&null!=t&&((0,Q.Z)(r)||(0,Q.Z)(t))?G(r,t,o,n,e,a):r!=r&&t!=t)},er=function(e,r,t,o){var n=t.length,a=n,l=!o;if(null==e)return!a;for(e=Object(e);n--;){var i=t[n];if(l&&i[2]?i[1]!==e[i[0]]:!(i[0]in e))return!1}for(;++n<a;){var s=(i=t[n])[0],u=e[s],c=i[1];if(l&&i[2]){if(void 0===u&&!(s in e))return!1}else{var d=new k.Z;if(o)var v=o(u,c,s,e,r,d);if(!(void 0===v?ee(c,u,3,o,d):v))return!1}}return!0};var et=t(26129);let eo=function(e){return e==e&&!(0,et.Z)(e)};var en=t(71257);let ea=function(e){for(var r=(0,en.Z)(e),t=r.length;t--;){var o=r[t],n=e[o];r[t]=[o,n,eo(n)]}return r},el=function(e,r){return function(t){return null!=t&&t[e]===r&&(void 0!==r||e in Object(t))}},ei=function(e){var r=ea(e);return 1==r.length&&r[0][2]?el(r[0][0],r[0][1]):function(t){return t===e||er(t,e,r)}};var es=t(94904);let eu=function(e,r){return null!=e&&r in Object(e)};var ec=t(34542),ed=t(75266),ev=t(1400),ep=t(97830),ef=t(32452);let eh=function(e,r,t){r=(0,ec.Z)(r,e);for(var o=-1,n=r.length,a=!1;++o<n;){var l=(0,ef.Z)(r[o]);if(!(a=null!=e&&t(e,l)))break;e=e[l]}return a||++o!=n?a:!!(n=null==e?0:e.length)&&(0,ep.Z)(n)&&(0,ev.Z)(l,n)&&((0,L.Z)(e)||(0,ed.Z)(e))};var eb=t(90483),eg=t(85627),ew=t(80954);let ey=function(e){var r;return(0,eb.Z)(e)?(r=(0,ef.Z)(e),function(e){return null==e?void 0:e[r]}):function(r){return(0,ew.Z)(r,e)}};var em=t(89357),eZ=t(67737),eS=(n=function(e,r){return e&&(0,em.Z)(e,r,en.Z)},function(e,r){if(null==e)return e;if(!(0,eZ.Z)(e))return n(e,r);for(var t=e.length,o=-1,l=Object(e);(a?o--:++o<t)&&!1!==r(l[o],o,l););return e}),e$=t(71309);let ej={top:"bottom",bottom:"top",left:"right",right:"left"},eB="var(--n-arrow-height) * 1.414",eC=(0,e$.c)([(0,e$.cB)("popover",`
+ transition:
+ box-shadow .3s var(--n-bezier),
+ background-color .3s var(--n-bezier),
+ color .3s var(--n-bezier);
+ position: relative;
+ font-size: var(--n-font-size);
+ color: var(--n-text-color);
+ box-shadow: var(--n-box-shadow);
+ word-break: break-word;
+ `,[(0,e$.c)(">",[(0,e$.cB)("scrollbar",`
+ height: inherit;
+ max-height: inherit;
+ `)]),(0,e$.u4)("raw",`
+ background-color: var(--n-color);
+ border-radius: var(--n-border-radius);
+ `,[(0,e$.u4)("scrollable",[(0,e$.u4)("show-header-or-footer","padding: var(--n-padding);")])]),(0,e$.cE)("header",`
+ padding: var(--n-padding);
+ border-bottom: 1px solid var(--n-divider-color);
+ transition: border-color .3s var(--n-bezier);
+ `),(0,e$.cE)("footer",`
+ padding: var(--n-padding);
+ border-top: 1px solid var(--n-divider-color);
+ transition: border-color .3s var(--n-bezier);
+ `),(0,e$.cM)("scrollable, show-header-or-footer",[(0,e$.cE)("content",`
+ padding: var(--n-padding);
+ `)])]),(0,e$.cB)("popover-shared",`
+ transform-origin: inherit;
+ `,[(0,e$.cB)("popover-arrow-wrapper",`
+ position: absolute;
+ overflow: hidden;
+ pointer-events: none;
+ `,[(0,e$.cB)("popover-arrow",`
+ transition: background-color .3s var(--n-bezier);
+ position: absolute;
+ display: block;
+ width: calc(${eB});
+ height: calc(${eB});
+ box-shadow: 0 0 8px 0 rgba(0, 0, 0, .12);
+ transform: rotate(45deg);
+ background-color: var(--n-color);
+ pointer-events: all;
+ `)]),(0,e$.c)("&.popover-transition-enter-from, &.popover-transition-leave-to",`
+ opacity: 0;
+ transform: scale(.85);
+ `),(0,e$.c)("&.popover-transition-enter-to, &.popover-transition-leave-from",`
+ transform: scale(1);
+ opacity: 1;
+ `),(0,e$.c)("&.popover-transition-enter-active",`
+ transition:
+ box-shadow .3s var(--n-bezier),
+ background-color .3s var(--n-bezier),
+ color .3s var(--n-bezier),
+ opacity .15s var(--n-bezier-ease-out),
+ transform .15s var(--n-bezier-ease-out);
+ `),(0,e$.c)("&.popover-transition-leave-active",`
+ transition:
+ box-shadow .3s var(--n-bezier),
+ background-color .3s var(--n-bezier),
+ color .3s var(--n-bezier),
+ opacity .15s var(--n-bezier-ease-in),
+ transform .15s var(--n-bezier-ease-in);
+ `)]),ek("top-start",`
+ top: calc(${eB} / -2);
+ left: calc(${eO("top-start")} - var(--v-offset-left));
+ `),ek("top",`
+ top: calc(${eB} / -2);
+ transform: translateX(calc(${eB} / -2)) rotate(45deg);
+ left: 50%;
+ `),ek("top-end",`
+ top: calc(${eB} / -2);
+ right: calc(${eO("top-end")} + var(--v-offset-left));
+ `),ek("bottom-start",`
+ bottom: calc(${eB} / -2);
+ left: calc(${eO("bottom-start")} - var(--v-offset-left));
+ `),ek("bottom",`
+ bottom: calc(${eB} / -2);
+ transform: translateX(calc(${eB} / -2)) rotate(45deg);
+ left: 50%;
+ `),ek("bottom-end",`
+ bottom: calc(${eB} / -2);
+ right: calc(${eO("bottom-end")} + var(--v-offset-left));
+ `),ek("left-start",`
+ left: calc(${eB} / -2);
+ top: calc(${eO("left-start")} - var(--v-offset-top));
+ `),ek("left",`
+ left: calc(${eB} / -2);
+ transform: translateY(calc(${eB} / -2)) rotate(45deg);
+ top: 50%;
+ `),ek("left-end",`
+ left: calc(${eB} / -2);
+ bottom: calc(${eO("left-end")} + var(--v-offset-top));
+ `),ek("right-start",`
+ right: calc(${eB} / -2);
+ top: calc(${eO("right-start")} - var(--v-offset-top));
+ `),ek("right",`
+ right: calc(${eB} / -2);
+ transform: translateY(calc(${eB} / -2)) rotate(45deg);
+ top: 50%;
+ `),ek("right-end",`
+ right: calc(${eB} / -2);
+ bottom: calc(${eO("right-end")} + var(--v-offset-top));
+ `),...(l={top:["right-start","left-start"],right:["top-end","bottom-end"],bottom:["right-end","left-end"],left:["top-start","bottom-start"]},i=(e,r)=>{let t=["right","left"].includes(r),o=t?"width":"height";return e.map(e=>{let n="end"===e.split("-")[1],a=`var(--v-target-${o}, 0px)`,l=`calc((${a} - ${eB}) / 2)`,i=eO(e);return(0,e$.c)(`[v-placement="${e}"] >`,[(0,e$.cB)("popover-shared",[(0,e$.cM)("center-arrow",[(0,e$.cB)("popover-arrow",`${r}: calc(max(${l}, ${i}) ${n?"+":"-"} var(--v-offset-${t?"left":"top"}));`)])])])})},((0,L.Z)(l)?O.Z:function(e,r){var t=-1,o=(0,eZ.Z)(e)?Array(e.length):[];return eS(e,function(e,n,a){o[++t]=r(e,n,a)}),o})(l,function(e){if("function"==typeof e)return e;if(null==e)return eg.Z;if("object"==typeof e){var r,t;return(0,L.Z)(e)?(r=e[0],t=e[1],(0,eb.Z)(r)&&eo(t)?el((0,ef.Z)(r),t):function(e){var o=(0,es.Z)(e,r);return void 0===o&&o===t?null!=e&&eh(e,r,eu):ee(t,o,3)}):ei(e)}return ey(e)}(i,3)))]);function eO(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function ek(e,r){let t=e.split("-")[0],o=["top","bottom"].includes(t)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return(0,e$.c)(`[v-placement="${e}"] >`,[(0,e$.cB)("popover-shared",`
+ margin-${ej[t]}: var(--n-space);
+ `,[(0,e$.cM)("show-arrow",`
+ margin-${ej[t]}: var(--n-space-arrow);
+ `),(0,e$.cM)("overlap",`
+ margin: 0;
+ `),(0,e$.kE)("popover-arrow-wrapper",`
+ right: 0;
+ left: 0;
+ top: 0;
+ bottom: 0;
+ ${t}: 100%;
+ ${ej[t]}: auto;
+ ${o}
+ `,[(0,e$.cB)("popover-arrow",r)])])])}let e_=Object.assign(Object.assign({},g.Z.props),{to:m.n.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number});function ex({arrowClass:e,arrowStyle:r,arrowWrapperClass:t,arrowWrapperStyle:o,clsPrefix:n}){return(0,p.h)("div",{key:"__popover-arrow__",style:o,class:[`${n}-popover-arrow-wrapper`,t]},(0,p.h)("div",{class:[`${n}-popover-arrow`,e],style:r}))}let ez=(0,p.aZ)({name:"PopoverBody",inheritAttrs:!1,props:e_,setup(e,{slots:r,attrs:t}){let{namespaceRef:n,mergedClsPrefixRef:a,inlineThemeDisabled:l}=(0,w.ZP)(e),i=(0,g.Z)("Popover","-popover",eC,B.Z,e,a),c=(0,p.iH)(null),d=(0,p.f3)("NPopover"),h=(0,p.iH)(null),O=(0,p.iH)(e.show),k=(0,p.iH)(!1);(0,p.m0)(()=>{let{show:r}=e;!r||(void 0===o&&(o=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),o)||e.internalDeactivateImmediately||(k.value=!0)});let _=(0,p.Fl)(()=>{let{trigger:r,onClickoutside:t}=e,o=[],{positionManuallyRef:{value:n}}=d;return n||("click"!==r||t||o.push([u.Z,F,void 0,{capture:!0}]),"hover"===r&&o.push([v,P])),t&&o.push([u.Z,F,void 0,{capture:!0}]),("show"===e.displayDirective||e.animated&&k.value)&&o.push([p.F8,e.show]),o}),x=(0,p.Fl)(()=>{let{common:{cubicBezierEaseInOut:e,cubicBezierEaseIn:r,cubicBezierEaseOut:t},self:{space:o,spaceArrow:n,padding:a,fontSize:l,textColor:s,dividerColor:u,color:c,boxShadow:d,borderRadius:v,arrowHeight:p,arrowOffset:f,arrowOffsetVertical:h}}=i.value;return{"--n-box-shadow":d,"--n-bezier":e,"--n-bezier-ease-in":r,"--n-bezier-ease-out":t,"--n-font-size":l,"--n-text-color":s,"--n-color":c,"--n-divider-color":u,"--n-border-radius":v,"--n-arrow-height":p,"--n-arrow-offset":f,"--n-arrow-offset-vertical":h,"--n-padding":a,"--n-space":o,"--n-space-arrow":n}}),z=(0,p.Fl)(()=>{let r="trigger"===e.width?void 0:(0,Z.N)(e.width),t=[];r&&t.push({width:r});let{maxWidth:o,minWidth:n}=e;return o&&t.push({maxWidth:(0,Z.N)(o)}),n&&t.push({maxWidth:(0,Z.N)(n)}),l||t.push(x.value),t}),A=l?(0,y.F)("popover",void 0,x,e):void 0;function M(r){"hover"===e.trigger&&e.keepAliveOnHover&&e.show&&d.handleMouseEnter(r)}function E(r){"hover"===e.trigger&&e.keepAliveOnHover&&d.handleMouseLeave(r)}function P(r){"hover"!==e.trigger||T().contains((0,s.p)(r))||d.handleMouseMoveOutside(r)}function F(r){("click"===e.trigger&&!T().contains((0,s.p)(r))||e.onClickoutside)&&d.handleClickOutside(r)}function T(){return d.getTriggerElement()}return d.setBodyInstance({syncPosition:function(){var e;null==(e=c.value)||e.syncPosition()}}),(0,p.Jd)(()=>{d.setBodyInstance(null)}),(0,p.YP)((0,p.Vh)(e,"show"),r=>{e.animated||(r?O.value=!0:O.value=!1)}),(0,p.JJ)(C.c,h),(0,p.JJ)($.H,null),(0,p.JJ)(j.ZJ,null),{displayed:k,namespace:n,isMounted:d.isMountedRef,zIndex:d.zIndexRef,followerRef:c,adjustedTo:(0,m.n)(e),followerEnabled:O,renderContentNode:function(){let o;if(null==A||A.onRender(),!("show"===e.displayDirective||e.show||e.animated&&k.value))return null;let n=d.internalRenderBodyRef.value,{value:l}=a;if(n)o=n([`${l}-popover-shared`,null==A?void 0:A.themeClass.value,e.overlap&&`${l}-popover-shared--overlap`,e.showArrow&&`${l}-popover-shared--show-arrow`,e.arrowPointToCenter&&`${l}-popover-shared--center-arrow`],h,z.value,M,E);else{let{value:n}=d.extraClassRef,{internalTrapFocus:a}=e,i=!(0,S.aD)(r.header)||!(0,S.aD)(r.footer),s=()=>{var t,o;let n=i?(0,p.h)(p.HY,null,(0,S.K9)(r.header,r=>r?(0,p.h)("div",{class:[`${l}-popover__header`,e.headerClass],style:e.headerStyle},r):null),(0,S.K9)(r.default,t=>t?(0,p.h)("div",{class:[`${l}-popover__content`,e.contentClass],style:e.contentStyle},r):null),(0,S.K9)(r.footer,r=>r?(0,p.h)("div",{class:[`${l}-popover__footer`,e.footerClass],style:e.footerStyle},r):null)):e.scrollable?null==(t=r.default)?void 0:t.call(r):(0,p.h)("div",{class:[`${l}-popover__content`,e.contentClass],style:e.contentStyle},r);return[e.scrollable?(0,p.h)(b.u,{contentClass:i?void 0:`${l}-popover__content ${null!=(o=e.contentClass)?o:""}`,contentStyle:i?void 0:e.contentStyle},{default:()=>n}):n,e.showArrow?ex({arrowClass:e.arrowClass,arrowStyle:e.arrowStyle,arrowWrapperClass:e.arrowWrapperClass,arrowWrapperStyle:e.arrowWrapperStyle,clsPrefix:l}):null]};o=(0,p.h)("div",(0,p.dG)({class:[`${l}-popover`,`${l}-popover-shared`,null==A?void 0:A.themeClass.value,n.map(e=>`${l}-${e}`),{[`${l}-popover--scrollable`]:e.scrollable,[`${l}-popover--show-header-or-footer`]:i,[`${l}-popover--raw`]:e.raw,[`${l}-popover-shared--overlap`]:e.overlap,[`${l}-popover-shared--show-arrow`]:e.showArrow,[`${l}-popover-shared--center-arrow`]:e.arrowPointToCenter}],ref:h,style:z.value,onKeydown:d.handleKeydown,onMouseenter:M,onMouseleave:E},t),a?(0,p.h)(f.i,{active:e.show,autoFocus:!0},{default:s}):s())}return(0,p.wy)(o,_.value)}}},render(){return(0,p.h)(h.Z,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:"trigger"===this.width?"target":void 0,teleportDisabled:this.adjustedTo===m.n.tdkey},{default:()=>this.animated?(0,p.h)(p.uT,{name:"popover-transition",appear:this.isMounted,onEnter:()=>{this.followerEnabled=!0},onAfterLeave:()=>{var e;null==(e=this.internalOnAfterLeave)||e.call(this),this.followerEnabled=!1,this.displayed=!1}},{default:this.renderContentNode}):this.renderContentNode()})}})}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/5867.a67cb5db.js b/core/public/dist/static/js/async/5867.a67cb5db.js
new file mode 100644
index 00000000..f1f052d8
--- /dev/null
+++ b/core/public/dist/static/js/async/5867.a67cb5db.js
@@ -0,0 +1,236 @@
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["5867"],{36308:function(e,r,t){t.d(r,{Z:()=>G});var l=t(19595),o=t(98965),a=t(97931),i=t(34649),n=t(20013),s=t(23967),u=t(58786),d=t(1257),c=t(53242),p=t(67553),h=t(56946),b=t(32196),v=t(3616),g=t(54470),m=t(53198),f=t(61730),x=t(44267),k=t(71309),w=t(67655),y=t(50906),C=t(82518);function $(e){return null===e?null:/^ *#/.test(e)?"hex":e.includes("rgb")?"rgb":e.includes("hsl")?"hsl":e.includes("hsv")?"hsv":null}let U={rgb:{hex:e=>(0,l.XA)((0,l.m4)(e)),hsl(e){let[r,t,a,i]=(0,l.m4)(e);return(0,l.f4)([...(0,o.XL)(r,t,a),i])},hsv(e){let[r,t,a,i]=(0,l.m4)(e);return(0,l.nE)([...(0,o.DM)(r,t,a),i])}},hex:{rgb:e=>(0,l.e3)((0,l.m4)(e)),hsl(e){let[r,t,a,i]=(0,l.m4)(e);return(0,l.f4)([...(0,o.XL)(r,t,a),i])},hsv(e){let[r,t,a,i]=(0,l.m4)(e);return(0,l.nE)([...(0,o.DM)(r,t,a),i])}},hsl:{hex(e){let[r,t,a,i]=(0,l.Jn)(e);return(0,l.XA)([...(0,o.wX)(r,t,a),i])},rgb(e){let[r,t,a,i]=(0,l.Jn)(e);return(0,l.e3)([...(0,o.wX)(r,t,a),i])},hsv(e){let[r,t,a,i]=(0,l.Jn)(e);return(0,l.nE)([...(0,o.EV)(r,t,a),i])}},hsv:{hex(e){let[r,t,a,i]=(0,l.ap)(e);return(0,l.XA)([...(0,o.XG)(r,t,a),i])},rgb(e){let[r,t,a,i]=(0,l.ap)(e);return(0,l.e3)([...(0,o.XG)(r,t,a),i])},hsl(e){let[r,t,a,i]=(0,l.ap)(e);return(0,l.f4)([...(0,o.pL)(r,t,a),i])}}};function S(e,r,t){return(t=t||$(e))?t===r?e:U[t][r](e):null}let B="12px",A=(0,u.aZ)({name:"AlphaSlider",props:{clsPrefix:{type:String,required:!0},rgba:{type:Array,default:null},alpha:{type:Number,default:0},onUpdateAlpha:{type:Function,required:!0},onComplete:Function},setup(e){let r=(0,u.iH)(null);function t(t){var l;let{value:o}=r;if(!o)return;let{width:a,left:i}=o.getBoundingClientRect(),n=(t.clientX-i)/(a-12);e.onUpdateAlpha((l=Math.round(100*(l=n))/100)>1?1:l<0?0:l)}function l(){var r;(0,C.S)("mousemove",document,t),(0,C.S)("mouseup",document,l),null==(r=e.onComplete)||r.call(e)}return{railRef:r,railBackgroundImage:(0,u.Fl)(()=>{let{rgba:r}=e;return r?`linear-gradient(to right, rgba(${r[0]}, ${r[1]}, ${r[2]}, 0) 0%, rgba(${r[0]}, ${r[1]}, ${r[2]}, 1) 100%)`:""}),handleMouseDown:function(o){r.value&&e.rgba&&((0,C.on)("mousemove",document,t),(0,C.on)("mouseup",document,l),t(o))}}},render(){let{clsPrefix:e}=this;return(0,u.h)("div",{class:`${e}-color-picker-slider`,ref:"railRef",style:{height:B,borderRadius:"6px"},onMousedown:this.handleMouseDown},(0,u.h)("div",{style:{borderRadius:"6px",position:"absolute",left:0,right:0,top:0,bottom:0,overflow:"hidden"}},(0,u.h)("div",{class:`${e}-color-picker-checkboard`}),(0,u.h)("div",{class:`${e}-color-picker-slider__image`,style:{backgroundImage:this.railBackgroundImage}})),this.rgba&&(0,u.h)("div",{style:{position:"absolute",left:"6px",right:"6px",top:0,bottom:0}},(0,u.h)("div",{class:`${e}-color-picker-handle`,style:{left:`calc(${100*this.alpha}% - 6px)`,borderRadius:"6px",width:B,height:B}},(0,u.h)("div",{class:`${e}-color-picker-handle__fill`,style:{backgroundColor:(0,l.e3)(this.rgba),borderRadius:"6px",width:B,height:B}}))))}});var D=t(79537),z=t(73084);let V=(0,t(19050).U)("n-color-picker"),F={paddingSmall:"0 4px"},P=(0,u.aZ)({name:"ColorInputUnit",props:{label:{type:String,required:!0},value:{type:[Number,String],default:null},showAlpha:Boolean,onUpdateValue:{type:Function,required:!0}},setup(e){let r=(0,u.iH)(""),{themeRef:t}=(0,u.f3)(V,null);function l(){let{value:r}=e;if(null===r)return"";let{label:t}=e;return"HEX"===t?r:"A"===t?`${Math.floor(100*r)}%`:String(Math.floor(r))}return(0,u.m0)(()=>{r.value=l()}),{mergedTheme:t,inputValue:r,handleInputChange:function(t){let o;switch(e.label){case"HEX":(function(e){let r=e.trim();return!!/^#[0-9a-fA-F]+$/.test(r)&&[4,5,7,9].includes(r.length)})(t)&&e.onUpdateValue(t),r.value=l();break;case"H":!1===(o=!!/^\d{1,3}\.?\d*$/.test(t.trim())&&Math.max(0,Math.min(Number.parseInt(t),360)))?r.value=l():e.onUpdateValue(o);break;case"S":case"L":case"V":!1===(o=!!/^\d{1,3}\.?\d*$/.test(t.trim())&&Math.max(0,Math.min(Number.parseInt(t),100)))?r.value=l():e.onUpdateValue(o);break;case"A":!1===(o=!!/^\d{1,3}\.?\d*%$/.test(t.trim())&&Math.max(0,Math.min(Number.parseInt(t)/100,100)))?r.value=l():e.onUpdateValue(o);break;case"R":case"G":case"B":!1===(o=!!/^\d{1,3}\.?\d*$/.test(t.trim())&&Math.max(0,Math.min(Number.parseInt(t),255)))?r.value=l():e.onUpdateValue(o)}},handleInputUpdateValue:function(e){r.value=e}}},render(){let{mergedTheme:e}=this;return(0,u.h)(z.Z,{size:"small",placeholder:this.label,theme:e.peers.Input,themeOverrides:e.peerOverrides.Input,builtinThemeOverrides:F,value:this.inputValue,onUpdateValue:this.handleInputUpdateValue,onChange:this.handleInputChange,style:"A"===this.label?"flex-grow: 1.25;":""})}}),Z=(0,u.aZ)({name:"ColorInput",props:{clsPrefix:{type:String,required:!0},mode:{type:String,required:!0},modes:{type:Array,required:!0},showAlpha:{type:Boolean,required:!0},value:{type:String,default:null},valueArr:{type:Array,default:null},onUpdateValue:{type:Function,required:!0},onUpdateMode:{type:Function,required:!0}},setup:e=>({handleUnitUpdateValue(r,t){let o,{showAlpha:a}=e;if("hex"===e.mode)return void e.onUpdateValue((a?l.XA:l.zv)(t));switch(o=null===e.valueArr?[0,0,0,0]:Array.from(e.valueArr),e.mode){case"hsv":o[r]=t,e.onUpdateValue((a?l.nE:l.wW)(o));break;case"rgb":o[r]=t,e.onUpdateValue((a?l.e3:l.U8)(o));break;case"hsl":o[r]=t,e.onUpdateValue((a?l.f4:l.DU)(o))}}}),render(){let{clsPrefix:e,modes:r}=this;return(0,u.h)("div",{class:`${e}-color-picker-input`},(0,u.h)("div",{class:`${e}-color-picker-input__mode`,onClick:this.onUpdateMode,style:{cursor:1===r.length?"":"pointer"}},this.mode.toUpperCase()+(this.showAlpha?"A":"")),(0,u.h)(D.Z,null,{default:()=>{let{mode:e,valueArr:r,showAlpha:t}=this;if("hex"===e){let e=null;try{e=null===r?null:(t?l.XA:l.zv)(r)}catch(e){}return(0,u.h)(P,{label:"HEX",showAlpha:t,value:e,onUpdateValue:e=>{this.handleUnitUpdateValue(0,e)}})}return(e+(t?"a":"")).split("").map((e,t)=>(0,u.h)(P,{label:e.toUpperCase(),value:null===r?null:r[t],onUpdateValue:e=>{this.handleUnitUpdateValue(t,e)}}))}}))}});var M=t(14501);let E=(0,u.aZ)({name:"ColorPickerSwatches",props:{clsPrefix:{type:String,required:!0},mode:{type:String,required:!0},swatches:{type:Array,required:!0},onUpdateColor:{type:Function,required:!0}},setup(e){function r(r){e.onUpdateColor(function(r){let{mode:t}=e,{value:l,mode:o}=r;return(o||(o="hex",/^[a-zA-Z]+$/.test(l)?l=function(e){let r=document.createElement("canvas").getContext("2d");return r?(r.fillStyle=e,r.fillStyle):"#000000"}(l):((0,M.ZK)("color-picker",`color ${l} in swatches is invalid.`),l="#000000")),o===t)?l:S(l,t,o)}(r))}return{parsedSwatchesRef:(0,u.Fl)(()=>e.swatches.map(e=>{let r=$(e);return{value:e,mode:r,legalValue:function(e,r){if("hsv"===r){let[r,t,a,i]=(0,l.ap)(e);return(0,l.e3)([...(0,o.XG)(r,t,a),i])}return e}(e,r)}})),handleSwatchSelect:r,handleSwatchKeyDown:function(e,t){"Enter"===e.key&&r(t)}}},render(){let{clsPrefix:e}=this;return(0,u.h)("div",{class:`${e}-color-picker-swatches`},this.parsedSwatchesRef.map(r=>(0,u.h)("div",{class:`${e}-color-picker-swatch`,tabindex:0,onClick:()=>{this.handleSwatchSelect(r)},onKeydown:e=>{this.handleSwatchKeyDown(e,r)}},(0,u.h)("div",{class:`${e}-color-picker-swatch__fill`,style:{background:r.legalValue}}))))}}),_=(0,u.aZ)({name:"ColorPickerTrigger",slots:Object,props:{clsPrefix:{type:String,required:!0},value:{type:String,default:null},hsla:{type:Array,default:null},disabled:Boolean,onClick:Function},setup(e){let{colorPickerSlots:r,renderLabelRef:t}=(0,u.f3)(V,null);return()=>{let{hsla:o,value:a,clsPrefix:i,onClick:n,disabled:s}=e,d=r.label||t.value;return(0,u.h)("div",{class:[`${i}-color-picker-trigger`,s&&`${i}-color-picker-trigger--disabled`],onClick:s?void 0:n},(0,u.h)("div",{class:`${i}-color-picker-trigger__fill`},(0,u.h)("div",{class:`${i}-color-picker-checkboard`}),(0,u.h)("div",{style:{position:"absolute",left:0,right:0,top:0,bottom:0,backgroundColor:o?(0,l.f4)(o):""}}),a&&o?(0,u.h)("div",{class:`${i}-color-picker-trigger__value`,style:{color:o[2]>50||o[3]<.5?"black":"white"}},d?d(a):a):null))}}}),X=(0,u.aZ)({name:"ColorPreview",props:{clsPrefix:{type:String,required:!0},mode:{type:String,required:!0},color:{type:String,default:null,validator:e=>{let r=$(e);return!!(!e||r&&"hsv"!==r)}},onUpdateColor:{type:Function,required:!0}},setup:e=>({handleChange:function(r){var t;let l=r.target.value;null==(t=e.onUpdateColor)||t.call(e,S(l.toUpperCase(),e.mode,"hex")),r.stopPropagation()}}),render(){let{clsPrefix:e}=this;return(0,u.h)("div",{class:`${e}-color-picker-preview__preview`},(0,u.h)("span",{class:`${e}-color-picker-preview__fill`,style:{background:this.color||"#000000"}}),(0,u.h)("input",{class:`${e}-color-picker-preview__input`,type:"color",value:this.color,onChange:this.handleChange}))}}),R="12px",q=(0,u.aZ)({name:"HueSlider",props:{clsPrefix:{type:String,required:!0},hue:{type:Number,required:!0},onUpdateHue:{type:Function,required:!0},onComplete:Function},setup(e){let r=(0,u.iH)(null);function t(t){var l;let{value:o}=r;if(!o)return;let{width:a,left:i}=o.getBoundingClientRect(),n=(l=Math.round(l=(t.clientX-i-6)/(a-12)*360))>=360?359:l<0?0:l;e.onUpdateHue(n)}function l(){var r;(0,C.S)("mousemove",document,t),(0,C.S)("mouseup",document,l),null==(r=e.onComplete)||r.call(e)}return{railRef:r,handleMouseDown:function(e){r.value&&((0,C.on)("mousemove",document,t),(0,C.on)("mouseup",document,l),t(e))}}},render(){let{clsPrefix:e}=this;return(0,u.h)("div",{class:`${e}-color-picker-slider`,style:{height:R,borderRadius:"6px"}},(0,u.h)("div",{ref:"railRef",style:{boxShadow:"inset 0 0 2px 0 rgba(0, 0, 0, .24)",boxSizing:"border-box",backgroundImage:"linear-gradient(90deg,red,#ff0 16.66%,#0f0 33.33%,#0ff 50%,#00f 66.66%,#f0f 83.33%,red)",height:R,borderRadius:"6px",position:"relative"},onMousedown:this.handleMouseDown},(0,u.h)("div",{style:{position:"absolute",left:"6px",right:"6px",top:0,bottom:0}},(0,u.h)("div",{class:`${e}-color-picker-handle`,style:{left:`calc((${this.hue}%) / 359 * 100 - 6px)`,borderRadius:"6px",width:R,height:R}},(0,u.h)("div",{class:`${e}-color-picker-handle__fill`,style:{backgroundColor:`hsl(${this.hue}, 100%, 50%)`,borderRadius:"6px",width:R,height:R}})))))}}),H="12px",I=(0,u.aZ)({name:"Pallete",props:{clsPrefix:{type:String,required:!0},rgba:{type:Array,default:null},displayedHue:{type:Number,required:!0},displayedSv:{type:Array,required:!0},onUpdateSV:{type:Function,required:!0},onComplete:Function},setup(e){let r=(0,u.iH)(null);function t(t){let{value:l}=r;if(!l)return;let{width:o,height:a,left:i,bottom:n}=l.getBoundingClientRect(),s=(n-t.clientY)/a,u=(t.clientX-i)/o;e.onUpdateSV(100*(u>1?1:u<0?0:u),100*(s>1?1:s<0?0:s))}function l(){var r;(0,C.S)("mousemove",document,t),(0,C.S)("mouseup",document,l),null==(r=e.onComplete)||r.call(e)}return{palleteRef:r,handleColor:(0,u.Fl)(()=>{let{rgba:r}=e;return r?`rgb(${r[0]}, ${r[1]}, ${r[2]})`:""}),handleMouseDown:function(e){r.value&&((0,C.on)("mousemove",document,t),(0,C.on)("mouseup",document,l),t(e))}}},render(){let{clsPrefix:e}=this;return(0,u.h)("div",{class:`${e}-color-picker-pallete`,onMousedown:this.handleMouseDown,ref:"palleteRef"},(0,u.h)("div",{class:`${e}-color-picker-pallete__layer`,style:{backgroundImage:`linear-gradient(90deg, white, hsl(${this.displayedHue}, 100%, 50%))`}}),(0,u.h)("div",{class:`${e}-color-picker-pallete__layer ${e}-color-picker-pallete__layer--shadowed`,style:{backgroundImage:"linear-gradient(180deg, rgba(0, 0, 0, 0%), rgba(0, 0, 0, 100%))"}}),this.rgba&&(0,u.h)("div",{class:`${e}-color-picker-handle`,style:{width:H,height:H,borderRadius:"6px",left:`calc(${this.displayedSv[0]}% - 6px)`,bottom:`calc(${this.displayedSv[1]}% - 6px)`}},(0,u.h)("div",{class:`${e}-color-picker-handle__fill`,style:{backgroundColor:this.handleColor,borderRadius:"6px",width:H,height:H}})))}});var O=t(74732);let T=(0,k.c)([(0,k.cB)("color-picker",`
+ display: inline-block;
+ box-sizing: border-box;
+ height: var(--n-height);
+ font-size: var(--n-font-size);
+ width: 100%;
+ position: relative;
+ `),(0,k.cB)("color-picker-panel",`
+ margin: 4px 0;
+ width: 240px;
+ font-size: var(--n-panel-font-size);
+ color: var(--n-text-color);
+ background-color: var(--n-color);
+ transition:
+ box-shadow .3s var(--n-bezier),
+ color .3s var(--n-bezier),
+ background-color .3s var(--n-bezier);
+ border-radius: var(--n-border-radius);
+ box-shadow: var(--n-box-shadow);
+ `,[(0,O.h)(),(0,k.cB)("input",`
+ text-align: center;
+ `)]),(0,k.cB)("color-picker-checkboard",`
+ background: white;
+ position: absolute;
+ left: 0;
+ right: 0;
+ top: 0;
+ bottom: 0;
+ `,[(0,k.c)("&::after",`
+ background-image: linear-gradient(45deg, #DDD 25%, #0000 25%), linear-gradient(-45deg, #DDD 25%, #0000 25%), linear-gradient(45deg, #0000 75%, #DDD 75%), linear-gradient(-45deg, #0000 75%, #DDD 75%);
+ background-size: 12px 12px;
+ background-position: 0 0, 0 6px, 6px -6px, -6px 0px;
+ background-repeat: repeat;
+ content: "";
+ position: absolute;
+ left: 0;
+ right: 0;
+ top: 0;
+ bottom: 0;
+ `)]),(0,k.cB)("color-picker-slider",`
+ margin-bottom: 8px;
+ position: relative;
+ box-sizing: border-box;
+ `,[(0,k.cE)("image",`
+ position: absolute;
+ left: 0;
+ right: 0;
+ top: 0;
+ bottom: 0;
+ `),(0,k.c)("&::after",`
+ content: "";
+ position: absolute;
+ border-radius: inherit;
+ left: 0;
+ right: 0;
+ top: 0;
+ bottom: 0;
+ box-shadow: inset 0 0 2px 0 rgba(0, 0, 0, .24);
+ pointer-events: none;
+ `)]),(0,k.cB)("color-picker-handle",`
+ z-index: 1;
+ box-shadow: 0 0 2px 0 rgba(0, 0, 0, .45);
+ position: absolute;
+ background-color: white;
+ overflow: hidden;
+ `,[(0,k.cE)("fill",`
+ box-sizing: border-box;
+ border: 2px solid white;
+ `)]),(0,k.cB)("color-picker-pallete",`
+ height: 180px;
+ position: relative;
+ margin-bottom: 8px;
+ cursor: crosshair;
+ `,[(0,k.cE)("layer",`
+ position: absolute;
+ left: 0;
+ right: 0;
+ top: 0;
+ bottom: 0;
+ `,[(0,k.cM)("shadowed",`
+ box-shadow: inset 0 0 2px 0 rgba(0, 0, 0, .24);
+ `)])]),(0,k.cB)("color-picker-preview",`
+ display: flex;
+ `,[(0,k.cE)("sliders",`
+ flex: 1 0 auto;
+ `),(0,k.cE)("preview",`
+ position: relative;
+ height: 30px;
+ width: 30px;
+ margin: 0 0 8px 6px;
+ border-radius: 50%;
+ box-shadow: rgba(0, 0, 0, .15) 0px 0px 0px 1px inset;
+ overflow: hidden;
+ `),(0,k.cE)("fill",`
+ display: block;
+ width: 30px;
+ height: 30px;
+ `),(0,k.cE)("input",`
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 30px;
+ height: 30px;
+ opacity: 0;
+ z-index: 1;
+ `)]),(0,k.cB)("color-picker-input",`
+ display: flex;
+ align-items: center;
+ `,[(0,k.cB)("input",`
+ flex-grow: 1;
+ flex-basis: 0;
+ `),(0,k.cE)("mode",`
+ width: 72px;
+ text-align: center;
+ `)]),(0,k.cB)("color-picker-control",`
+ padding: 12px;
+ `),(0,k.cB)("color-picker-action",`
+ display: flex;
+ margin-top: -4px;
+ border-top: 1px solid var(--n-divider-color);
+ padding: 8px 12px;
+ justify-content: flex-end;
+ `,[(0,k.cB)("button","margin-left: 8px;")]),(0,k.cB)("color-picker-trigger",`
+ border: var(--n-border);
+ height: 100%;
+ box-sizing: border-box;
+ border-radius: var(--n-border-radius);
+ transition: border-color .3s var(--n-bezier);
+ cursor: pointer;
+ `,[(0,k.cE)("value",`
+ white-space: nowrap;
+ position: relative;
+ `),(0,k.cE)("fill",`
+ border-radius: var(--n-border-radius);
+ position: absolute;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ left: 4px;
+ right: 4px;
+ top: 4px;
+ bottom: 4px;
+ `),(0,k.cM)("disabled","cursor: not-allowed"),(0,k.cB)("color-picker-checkboard",`
+ border-radius: var(--n-border-radius);
+ `,[(0,k.c)("&::after",`
+ --n-block-size: calc((var(--n-height) - 8px) / 3);
+ background-size: calc(var(--n-block-size) * 2) calc(var(--n-block-size) * 2);
+ background-position: 0 0, 0 var(--n-block-size), var(--n-block-size) calc(-1 * var(--n-block-size)), calc(-1 * var(--n-block-size)) 0px;
+ `)])]),(0,k.cB)("color-picker-swatches",`
+ display: grid;
+ grid-gap: 8px;
+ flex-wrap: wrap;
+ position: relative;
+ grid-template-columns: repeat(auto-fill, 18px);
+ margin-top: 10px;
+ `,[(0,k.cB)("color-picker-swatch",`
+ width: 18px;
+ height: 18px;
+ background-image: linear-gradient(45deg, #DDD 25%, #0000 25%), linear-gradient(-45deg, #DDD 25%, #0000 25%), linear-gradient(45deg, #0000 75%, #DDD 75%), linear-gradient(-45deg, #0000 75%, #DDD 75%);
+ background-size: 8px 8px;
+ background-position: 0px 0, 0px 4px, 4px -4px, -4px 0px;
+ background-repeat: repeat;
+ `,[(0,k.cE)("fill",`
+ position: relative;
+ width: 100%;
+ height: 100%;
+ border-radius: 3px;
+ box-shadow: rgba(0, 0, 0, .15) 0px 0px 0px 1px inset;
+ cursor: pointer;
+ `),(0,k.c)("&:focus",`
+ outline: none;
+ `,[(0,k.cE)("fill",[(0,k.c)("&::after",`
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ background: inherit;
+ filter: blur(2px);
+ content: "";
+ `)])])])])]),L=Object.assign(Object.assign({},h.Z.props),{value:String,show:{type:Boolean,default:void 0},defaultShow:Boolean,defaultValue:String,modes:{type:Array,default:()=>["rgb","hex","hsl"]},placement:{type:String,default:"bottom-start"},to:f.n.propTo,showAlpha:{type:Boolean,default:!0},showPreview:Boolean,swatches:Array,disabled:{type:Boolean,default:void 0},actions:{type:Array,default:null},internalActions:Array,size:String,renderLabel:Function,onComplete:Function,onConfirm:Function,onClear:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array]}),G=(0,u.aZ)({name:"ColorPicker",props:L,slots:Object,setup(e,{slots:r}){let t,i,d,c,p,C,U,S,B=(0,u.iH)(null),D=null,z=(0,b.Z)(e),{mergedSizeRef:F,mergedDisabledRef:P}=z,{localeRef:M}=(0,v.Z)("global"),{mergedClsPrefixRef:_,namespaceRef:R,inlineThemeDisabled:H}=(0,g.ZP)(e),O=(0,h.Z)("ColorPicker","-color-picker",T,y.Z,e,_);(0,u.JJ)(V,{themeRef:O,renderLabelRef:(0,u.Vh)(e,"renderLabel"),colorPickerSlots:r});let L=(0,u.iH)(e.defaultShow),G=(0,n.Z)((0,u.Vh)(e,"show"),L);function j(r){let{onUpdateShow:t,"onUpdate:show":l}=e;t&&(0,x.R)(t,r),l&&(0,x.R)(l,r),L.value=r}let{defaultValue:J}=e,N=(0,u.iH)(void 0===J?function(e,r){switch(e[0]){case"hex":return r?"#000000FF":"#000000";case"rgb":return r?"rgba(0, 0, 0, 1)":"rgb(0, 0, 0)";case"hsl":return r?"hsla(0, 0%, 0%, 1)":"hsl(0, 0%, 0%)";case"hsv":return r?"hsva(0, 0%, 0%, 1)":"hsv(0, 0%, 0%)"}return"#000000"}(e.modes,e.showAlpha):J),K=(0,n.Z)((0,u.Vh)(e,"value"),N),W=(0,u.iH)([K.value]),Y=(0,u.iH)(0),Q=(0,u.Fl)(()=>$(K.value)),{modes:ee}=e,er=(0,u.iH)($(K.value)||ee[0]||"rgb");function et(){let{modes:r}=e,{value:t}=er,l=r.findIndex(e=>e===t);~l?er.value=r[(l+1)%r.length]:er.value="rgb"}let el=(0,u.Fl)(()=>{let{value:e}=K;if(!e)return null;switch(Q.value){case"hsv":return(0,l.ap)(e);case"hsl":return[t,i,d,S]=(0,l.Jn)(e),[...(0,o.EV)(t,i,d),S];case"rgb":case"hex":return[p,C,U,S]=(0,l.m4)(e),[...(0,o.DM)(p,C,U),S]}}),eo=(0,u.Fl)(()=>{let{value:e}=K;if(!e)return null;switch(Q.value){case"rgb":case"hex":return(0,l.m4)(e);case"hsv":return[t,i,c,S]=(0,l.ap)(e),[...(0,o.XG)(t,i,c),S];case"hsl":return[t,i,d,S]=(0,l.Jn)(e),[...(0,o.wX)(t,i,d),S]}}),ea=(0,u.Fl)(()=>{let{value:e}=K;if(!e)return null;switch(Q.value){case"hsl":return(0,l.Jn)(e);case"hsv":return[t,i,c,S]=(0,l.ap)(e),[...(0,o.pL)(t,i,c),S];case"rgb":case"hex":return[p,C,U,S]=(0,l.m4)(e),[...(0,o.XL)(p,C,U),S]}}),ei=(0,u.Fl)(()=>{switch(er.value){case"rgb":case"hex":return eo.value;case"hsv":return el.value;case"hsl":return ea.value}}),en=(0,u.iH)(0),es=(0,u.iH)(1),eu=(0,u.iH)([0,0]);function ed(r,t){let{value:a}=el,i=en.value,n=a?a[3]:1;eu.value=[r,t];let{showAlpha:s}=e;switch(er.value){case"hsv":eh((s?l.nE:l.wW)([i,r,t,n]),"cursor");break;case"hsl":eh((s?l.f4:l.DU)([...(0,o.pL)(i,r,t),n]),"cursor");break;case"rgb":eh((s?l.e3:l.U8)([...(0,o.XG)(i,r,t),n]),"cursor");break;case"hex":eh((s?l.XA:l.zv)([...(0,o.XG)(i,r,t),n]),"cursor")}}function ec(r){en.value=r;let{value:t}=el;if(!t)return;let[,a,i,n]=t,{showAlpha:s}=e;switch(er.value){case"hsv":eh((s?l.nE:l.wW)([r,a,i,n]),"cursor");break;case"rgb":eh((s?l.e3:l.U8)([...(0,o.XG)(r,a,i),n]),"cursor");break;case"hex":eh((s?l.XA:l.zv)([...(0,o.XG)(r,a,i),n]),"cursor");break;case"hsl":eh((s?l.f4:l.DU)([...(0,o.pL)(r,a,i),n]),"cursor")}}function ep(e){switch(er.value){case"hsv":[t,i,c]=el.value,eh((0,l.nE)([t,i,c,e]),"cursor");break;case"rgb":[p,C,U]=eo.value,eh((0,l.e3)([p,C,U,e]),"cursor");break;case"hex":[p,C,U]=eo.value,eh((0,l.XA)([p,C,U,e]),"cursor");break;case"hsl":[t,i,d]=ea.value,eh((0,l.f4)([t,i,d,e]),"cursor")}es.value=e}function eh(r,t){D="cursor"===t?r:null;let{nTriggerFormChange:l,nTriggerFormInput:o}=z,{onUpdateValue:a,"onUpdate:value":i}=e;a&&(0,x.R)(a,r),i&&(0,x.R)(i,r),l(),o(),N.value=r}function eb(e){eh(e,"input"),(0,u.Y3)(ev)}function ev(r=!0){let{value:t}=K;if(t){let{nTriggerFormChange:l,nTriggerFormInput:o}=z,{onComplete:a}=e;a&&a(t);let{value:i}=W,{value:n}=Y;r&&(i.splice(n+1,i.length,t),Y.value=n+1),l(),o()}}function eg(){let{value:e}=Y;e-1<0||(eh(W.value[e-1],"input"),ev(!1),Y.value=e-1)}function em(){let{value:e}=Y;e<0||e+1>=W.value.length||(eh(W.value[e+1],"input"),ev(!1),Y.value=e+1)}function ef(){eh(null,"input");let{onClear:r}=e;r&&r(),j(!1)}function ex(){let{value:r}=K,{onConfirm:t}=e;t&&t(r),j(!1)}let ek=(0,u.Fl)(()=>Y.value>=1),ew=(0,u.Fl)(()=>{let{value:e}=W;return e.length>1&&Y.value<e.length-1});(0,u.YP)(G,e=>{e||(W.value=[K.value],Y.value=0)}),(0,u.m0)(()=>{if(D&&D===K.value);else{let{value:e}=el;e&&(en.value=e[0],es.value=e[3],eu.value=[e[1],e[2]])}D=null});let ey=(0,u.Fl)(()=>{let{value:e}=F,{common:{cubicBezierEaseInOut:r},self:{textColor:t,color:l,panelFontSize:o,boxShadow:a,border:i,borderRadius:n,dividerColor:s,[(0,k.Tl)("height",e)]:u,[(0,k.Tl)("fontSize",e)]:d}}=O.value;return{"--n-bezier":r,"--n-text-color":t,"--n-color":l,"--n-panel-font-size":o,"--n-font-size":d,"--n-box-shadow":a,"--n-border":i,"--n-border-radius":n,"--n-height":u,"--n-divider-color":s}}),eC=H?(0,m.F)("color-picker",(0,u.Fl)(()=>F.value[0]),ey,e):void 0;return{mergedClsPrefix:_,namespace:R,selfRef:B,hsla:ea,rgba:eo,mergedShow:G,mergedDisabled:P,isMounted:(0,s.Z)(),adjustedTo:(0,f.n)(e),mergedValue:K,handleTriggerClick(){j(!0)},handleClickOutside(e){var r;null!=(r=B.value)&&r.contains((0,a.p)(e))||j(!1)},renderPanel:function(){var t;let{value:o}=eo,{value:a}=en,{internalActions:i,modes:n,actions:s}=e,{value:d}=O,{value:c}=_;return(0,u.h)("div",{class:[`${c}-color-picker-panel`,null==eC?void 0:eC.themeClass.value],onDragstart:e=>{e.preventDefault()},style:H?void 0:ey.value},(0,u.h)("div",{class:`${c}-color-picker-control`},(0,u.h)(I,{clsPrefix:c,rgba:o,displayedHue:a,displayedSv:eu.value,onUpdateSV:ed,onComplete:ev}),(0,u.h)("div",{class:`${c}-color-picker-preview`},(0,u.h)("div",{class:`${c}-color-picker-preview__sliders`},(0,u.h)(q,{clsPrefix:c,hue:a,onUpdateHue:ec,onComplete:ev}),e.showAlpha?(0,u.h)(A,{clsPrefix:c,rgba:o,alpha:es.value,onUpdateAlpha:ep,onComplete:ev}):null),e.showPreview?(0,u.h)(X,{clsPrefix:c,mode:er.value,color:eo.value&&(0,l.zv)(eo.value),onUpdateColor:e=>{eh(e,"input")}}):null),(0,u.h)(Z,{clsPrefix:c,showAlpha:e.showAlpha,mode:er.value,modes:n,onUpdateMode:et,value:K.value,valueArr:ei.value,onUpdateValue:eb}),(null==(t=e.swatches)?void 0:t.length)&&(0,u.h)(E,{clsPrefix:c,mode:er.value,swatches:e.swatches,onUpdateColor:e=>{eh(e,"input")}})),(null==s?void 0:s.length)?(0,u.h)("div",{class:`${c}-color-picker-action`},s.includes("confirm")&&(0,u.h)(w.ZP,{size:"small",onClick:ex,theme:d.peers.Button,themeOverrides:d.peerOverrides.Button},{default:()=>M.value.confirm}),s.includes("clear")&&(0,u.h)(w.ZP,{size:"small",onClick:ef,disabled:!K.value,theme:d.peers.Button,themeOverrides:d.peerOverrides.Button},{default:()=>M.value.clear})):null,r.action?(0,u.h)("div",{class:`${c}-color-picker-action`},{default:r.action}):i?(0,u.h)("div",{class:`${c}-color-picker-action`},i.includes("undo")&&(0,u.h)(w.ZP,{size:"small",onClick:eg,disabled:!ek.value,theme:d.peers.Button,themeOverrides:d.peerOverrides.Button},{default:()=>M.value.undo}),i.includes("redo")&&(0,u.h)(w.ZP,{size:"small",onClick:em,disabled:!ew.value,theme:d.peers.Button,themeOverrides:d.peerOverrides.Button},{default:()=>M.value.redo})):null)},cssVars:H?void 0:ey,themeClass:null==eC?void 0:eC.themeClass,onRender:null==eC?void 0:eC.onRender}},render(){let{mergedClsPrefix:e,onRender:r}=this;return null==r||r(),(0,u.h)("div",{class:[this.themeClass,`${e}-color-picker`],ref:"selfRef",style:this.cssVars},(0,u.h)(d.Z,null,{default:()=>[(0,u.h)(c.Z,null,{default:()=>(0,u.h)(_,{clsPrefix:e,value:this.mergedValue,hsla:this.hsla,disabled:this.mergedDisabled,onClick:this.handleTriggerClick})}),(0,u.h)(p.Z,{placement:this.placement,show:this.mergedShow,containerClass:this.namespace,teleportDisabled:this.adjustedTo===f.n.tdkey,to:this.adjustedTo},{default:()=>(0,u.h)(u.uT,{name:"fade-in-scale-up-transition",appear:this.isMounted},{default:()=>this.mergedShow?(0,u.wy)(this.renderPanel(),[[i.Z,this.handleClickOutside,void 0,{capture:!0}]]):null})})]}))}})},79537:function(e,r,t){t.d(r,{Z:()=>s});var l=t(58786),o=t(54470),a=t(27046),i=t(71309);let n=(0,i.cB)("input-group",`
+ display: inline-flex;
+ width: 100%;
+ flex-wrap: nowrap;
+ vertical-align: bottom;
+`,[(0,i.c)(">",[(0,i.cB)("input",[(0,i.c)("&:not(:last-child)",`
+ border-top-right-radius: 0!important;
+ border-bottom-right-radius: 0!important;
+ `),(0,i.c)("&:not(:first-child)",`
+ border-top-left-radius: 0!important;
+ border-bottom-left-radius: 0!important;
+ margin-left: -1px!important;
+ `)]),(0,i.cB)("button",[(0,i.c)("&:not(:last-child)",`
+ border-top-right-radius: 0!important;
+ border-bottom-right-radius: 0!important;
+ `,[(0,i.cE)("state-border, border",`
+ border-top-right-radius: 0!important;
+ border-bottom-right-radius: 0!important;
+ `)]),(0,i.c)("&:not(:first-child)",`
+ border-top-left-radius: 0!important;
+ border-bottom-left-radius: 0!important;
+ `,[(0,i.cE)("state-border, border",`
+ border-top-left-radius: 0!important;
+ border-bottom-left-radius: 0!important;
+ `)])]),(0,i.c)("*",[(0,i.c)("&:not(:last-child)",`
+ border-top-right-radius: 0!important;
+ border-bottom-right-radius: 0!important;
+ `,[(0,i.c)(">",[(0,i.cB)("input",`
+ border-top-right-radius: 0!important;
+ border-bottom-right-radius: 0!important;
+ `),(0,i.cB)("base-selection",[(0,i.cB)("base-selection-label",`
+ border-top-right-radius: 0!important;
+ border-bottom-right-radius: 0!important;
+ `),(0,i.cB)("base-selection-tags",`
+ border-top-right-radius: 0!important;
+ border-bottom-right-radius: 0!important;
+ `),(0,i.cE)("box-shadow, border, state-border",`
+ border-top-right-radius: 0!important;
+ border-bottom-right-radius: 0!important;
+ `)])])]),(0,i.c)("&:not(:first-child)",`
+ margin-left: -1px!important;
+ border-top-left-radius: 0!important;
+ border-bottom-left-radius: 0!important;
+ `,[(0,i.c)(">",[(0,i.cB)("input",`
+ border-top-left-radius: 0!important;
+ border-bottom-left-radius: 0!important;
+ `),(0,i.cB)("base-selection",[(0,i.cB)("base-selection-label",`
+ border-top-left-radius: 0!important;
+ border-bottom-left-radius: 0!important;
+ `),(0,i.cB)("base-selection-tags",`
+ border-top-left-radius: 0!important;
+ border-bottom-left-radius: 0!important;
+ `),(0,i.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:r}=(0,o.ZP)(e);return(0,a.Z)("-input-group",n,r),{mergedClsPrefix:r}},render(){let{mergedClsPrefix:e}=this;return(0,l.h)("div",{class:`${e}-input-group`},this.$slots)}})}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/6414.ba9a8173.js b/core/public/dist/static/js/async/6414.ba9a8173.js
new file mode 100644
index 00000000..c650a0b5
--- /dev/null
+++ b/core/public/dist/static/js/async/6414.ba9a8173.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["6414"],{18897:function(e,a,i){i.r(a),i.d(a,{default:()=>r});var t=i(58786);let n={class:"wrapper"},l={class:"content-tabs"},s=["onClick"],o={class:"dynamic-content"},d=(0,t.aZ)({__name:"index",setup(e){let a=(0,t.RC)(()=>Promise.all([i.e("1107"),i.e("2190"),i.e("9372"),i.e("579"),i.e("69"),i.e("3354"),i.e("3653")]).then(i.bind(i,90294))),d=(0,t.RC)(()=>Promise.all([i.e("1107"),i.e("2190"),i.e("9372"),i.e("579"),i.e("69"),i.e("3354"),i.e("2302")]).then(i.bind(i,47250))),r=(0,t.RC)(()=>Promise.all([i.e("1107"),i.e("9372"),i.e("5099")]).then(i.bind(i,68962))),c=(0,t.RC)(()=>Promise.all([i.e("1107"),i.e("2190"),i.e("9372"),i.e("5867"),i.e("7844")]).then(i.bind(i,95526))),p=(0,t.RC)(()=>Promise.all([i.e("1107"),i.e("9372"),i.e("1085")]).then(i.bind(i,98880))),m=(0,t.RC)(()=>Promise.all([i.e("1107"),i.e("2190"),i.e("9372"),i.e("579"),i.e("69"),i.e("3354"),i.e("2558")]).then(i.bind(i,39866))),v=(0,t.RC)(()=>Promise.all([i.e("1107"),i.e("9372"),i.e("4471")]).then(i.bind(i,15772))),f=(0,t.RC)(()=>Promise.all([i.e("1107"),i.e("9372"),i.e("7662")]).then(i.bind(i,32530))),g=(0,t.iH)(["Domain Configuration","Project Details","Company Profile","Styling","Typography","Sitemap","Footer Settings","AI Settings"]),C=(0,t.iH)("AI Settings"),b=(0,t.iH)(new Map([["Domain Configuration",a],["Project Details",d],["Company Profile",r],["Styling",c],["Typography",p],["Sitemap",m],["Footer Settings",v],["AI Settings",f]]));return(e,a)=>((0,t.wg)(),(0,t.iD)("div",n,[a[0]||(a[0]=(0,t.uE)('<div class="page-tit" data-v-037a851f><div class="back-tool" data-v-037a851f><i class="i-ci:arrow-left-lg text-4" data-v-037a851f></i><div class="back-btn" data-v-037a851f>back</div></div><span class="tit-content" data-v-037a851f> Domain / Edit domain </span></div>',1)),(0,t._)("div",l,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)((0,t.SU)(g),(e,a)=>((0,t.wg)(),(0,t.iD)("div",{class:(0,t.C_)(["tab-item",{active:(0,t.SU)(C)==e}]),onClick:a=>C.value=e,key:a},[(0,t._)("span",null,(0,t.zw)(e),1)],10,s))),128))]),(0,t._)("div",o,[((0,t.wg)(),(0,t.j4)((0,t.LL)((0,t.SU)(b).get((0,t.SU)(C)))))])]))}}),r=(0,i(41748).default)(d,[["__scopeId","data-v-037a851f"]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/6440.2cb97afe.js b/core/public/dist/static/js/async/6440.2cb97afe.js
new file mode 100644
index 00000000..441ea9d4
--- /dev/null
+++ b/core/public/dist/static/js/async/6440.2cb97afe.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["6440"],{39432:function(e,t,l){l.d(t,{Au:()=>u,Fj:()=>d,LC:()=>o,OV:()=>m,dj:()=>r,gK:()=>s,i7:()=>i,v1:()=>c,xh:()=>_,yW:()=>p});var a=l(34541);let{t:n}=l(76882).Z.global,i=e=>a.e.get("/domains/list",{params:e}),o=()=>a.e.get("/domains/all"),d=e=>a.e.post("/domains/create",e,{fetchOptions:{loading:n("domain.api.loading.creating"),successMessage:!0}}),s=e=>a.e.post("/domains/update",e,{fetchOptions:{loading:n("domain.api.loading.updating"),successMessage:!0}}),r=e=>a.e.post("/domains/delete",e,{fetchOptions:{loading:n("domain.api.loading.deleting"),successMessage:!0}}),m=e=>a.e.post("/domains/set_ssl",e,{fetchOptions:{loading:n("domain.api.loading.settingSSL"),successMessage:!0}}),u=e=>a.e.get("/domains/get_ssl",{params:e}),c=e=>a.e.post("/domains/fresh_dns_records",e,{fetchOptions:{loading:n("domain.api.loading.refreshingDns"),successMessage:!0}}),p=e=>a.e.post("/ssl/apply_cert",e,{fetchOptions:{loading:n("domain.api.loading.applyingCert"),successMessage:!0}}),_=e=>a.e.post("/domains/set_default_domain",e,{fetchOptions:{loading:"Setting Default Domain, please wait...",successMessage:!0}})},77984:function(e,t,l){l.d(t,{F:()=>o});var a=l(68271),n=l(94821),i=l(76882);let o=()=>{let{t:e}=i.Z.global,{copy:t,isSupported:l}=(0,n.VPI)({legacy:!0});return{copyText:async n=>{if(!n)return void a.v0.error(e("common.useCopy.noText"));l.value?(await t(n),a.v0.success(e("common.useCopy.success"))):a.v0.error(e("common.useCopy.failed"))}}}},16893:function(e,t,l){l.d(t,{Z:()=>o});var a=l(67655),n=l(58786);let i={class:"mr-4px"},o=(0,n.aZ)({__name:"index",props:{href:{type:String,default:""},text:{type:String,default:""}},setup(e){let t=()=>{window.open(e.href)};return(l,o)=>{let d=a.ZP;return(0,n.wg)(),(0,n.j4)(d,{text:"",onClick:t},{default:(0,n.w5)(()=>[(0,n._)("span",i,(0,n.zw)(e.text||l.$t("common.actions.help")),1),o[0]||(o[0]=(0,n._)("i",{class:"i-custom:help text-primary"},null,-1))]),_:1,__:[0]})}}})},46244:function(e,t,l){l.d(t,{Z:()=>i});var a=l(98048),n=l(58786);let i=(0,n.aZ)({__name:"index",props:{model:{},rules:{},labelWidth:{},labelPlacement:{default:"top"}},setup(e,t){let{expose:l}=t,i=(0,n.iH)(null);return l({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 l=a.Z;return(0,n.wg)(),(0,n.j4)(l,(0,n.dG)(e.$attrs,{ref_key:"formRef",ref:i,model:e.model,rules:e.rules,"label-width":e.labelWidth,"label-placement":e.labelPlacement}),{default:(0,n.w5)(()=>[(0,n.WI)(e.$slots,"default")]),_:3},16,["model","rules","label-width","label-placement"])}}})},50624:function(e,t,l){l.r(t),l.d(t,{default:()=>ex});var a=l(39244),n=l(25170),i=l(75754),o=l(66760),d=l(16893),s=l(58786),r=l(67655),m=l(53903),u=l(93953),c=l(68271),p=l(51169),_=l(67512),f=l(39432);let w={class:"bt-tips flex flex-col gap-4px list-outside list-disc leading-20px text-[#777]"};var v=l(41748);let S=(0,v.default)({},[["render",function(e,t){return(0,s.wg)(),(0,s.iD)("ul",w,[(0,s.WI)(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-8731a1b4"]]);var U=l(46244),h=l(8490),y=l(29283),g=l(6455),b=l(73084),x=l(52495);let k={class:"pt-16px"},W={class:"w-100px ml-20px"},z={class:"text-error"},Z=(0,s.aZ)({__name:"DomainForm",setup(e){let{t}=(0,x.QT)(),l=(0,s.iH)(!1),a=(0,s.Fl)(()=>l.value?t("domain.form.editTitle"):t("domain.form.addTitle")),n=(0,s.AE)("formRef"),i=(0,s.qj)({domain:"",a_record:"",quota:5,quota_unit:"GB",mailboxes:50,email:""}),o=[{label:"GB",value:"GB"},{label:"MB",value:"MB"}],d={domain:{trigger:["blur","input"],validator:()=>""!==i.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}},[m,u]=(0,p.d)({onChangeState:e=>{if(e){let e=u.getState();if(l.value=e.isEdit,e.row){let{row:t}=e;i.domain=t.domain,i.a_record=t.a_record;let l=(0,c.UO)(t.quota);i.quota=(0,c.Dx)(l.split(" ")[0]),i.quota_unit=l.split(" ")[1],i.mailboxes=t.mailboxes,i.email=t.email}}else i.domain="",i.a_record="",i.quota=5,i.quota_unit="GB",i.mailboxes=50,i.email=""},onConfirm:async()=>{var e;await (null==(e=n.value)?void 0:e.validate()),l.value?await (0,f.gK)({domain:i.domain,quota:r(i.quota,i.quota_unit),mailboxes:i.mailboxes,email:i.email}):await (0,f.Fj)({domain:i.domain,quota:r(i.quota,i.quota_unit),mailboxes:i.mailboxes,email:i.email}),u.getState().refresh()}});return(e,r)=>{let u=b.Z,c=g.ZP,p=y.Z,_=h.Z,f=U.Z;return(0,s.wg)(),(0,s.j4)((0,s.SU)(m),{title:(0,s.SU)(a),width:540},{default:(0,s.w5)(()=>[(0,s._)("div",k,[(0,s.Wm)(f,{ref_key:"formRef",ref:n,model:(0,s.SU)(i),rules:d},{default:(0,s.w5)(()=>[(0,s.Wm)(c,{label:(0,s.SU)(t)("domain.form.domain"),path:"domain"},{default:(0,s.w5)(()=>[(0,s.Wm)(u,{value:(0,s.SU)(i).domain,"onUpdate:value":r[0]||(r[0]=e=>(0,s.SU)(i).domain=e),disabled:(0,s.SU)(l),placeholder:(0,s.SU)(t)("domain.form.domainPlaceholder")},null,8,["value","disabled","placeholder"])]),_:1},8,["label"]),(0,s.kq)("",!0),(0,s.Wm)(c,{label:(0,s.SU)(t)("domain.form.quota")},{default:(0,s.w5)(()=>[(0,s.Wm)(p,{value:(0,s.SU)(i).quota,"onUpdate:value":r[2]||(r[2]=e=>(0,s.SU)(i).quota=e),class:"flex-1",min:0,"show-button":!1},null,8,["value"]),(0,s._)("div",W,[(0,s.Wm)(_,{value:(0,s.SU)(i).quota_unit,"onUpdate:value":r[3]||(r[3]=e=>(0,s.SU)(i).quota_unit=e),options:o},null,8,["value"])])]),_:1},8,["label"]),(0,s.Wm)(c,{label:(0,s.SU)(t)("domain.form.mailboxCount")},{default:(0,s.w5)(()=>[(0,s.Wm)(p,{value:(0,s.SU)(i).mailboxes,"onUpdate:value":r[4]||(r[4]=e=>(0,s.SU)(i).mailboxes=e),class:"flex-1",min:0,"show-button":!1},null,8,["value"])]),_:1},8,["label"]),(0,s.Wm)(c,{label:(0,s.SU)(t)("domain.form.globalCatch")},{default:(0,s.w5)(()=>[(0,s.Wm)(u,{value:(0,s.SU)(i).email,"onUpdate:value":r[5]||(r[5]=e=>(0,s.SU)(i).email=e),placeholder:(0,s.SU)(t)("domain.form.globalCatchPlaceholder")},null,8,["value","placeholder"])]),_:1},8,["label"])]),_:1},8,["model"]),(0,s.Wm)(S,null,{default:(0,s.w5)(()=>[(0,s._)("li",z,(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},8,["title"])}}});var C=l(10320);let q=(0,s.aZ)({__name:"index",props:{value:{},valueModifiers:{}},emits:["update:value"],setup(e){let t=(0,s.tT)(e,"value");return(e,l)=>{let a=C.Z;return(0,s.wg)(),(0,s.j4)(a,{value:t.value,"onUpdate:value":l[0]||(l[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"])}}}),P=(0,v.default)(q,[["__scopeId","data-v-53057eda"]]);var j=l(43751),F=l(60579),T=l(99321);let $={class:"ssl-cert-container"},D={class:"brand-info"},M={class:"info-label"},O={class:"info-value"},H={class:"info-label"},R={class:"info-value font-normal!"},I={class:"cert-content"},A={class:"cert-section"},B={class:"section-title"},G={class:"cert-section"},K={class:"section-title"},E={class:"cert-actions"},L=(0,s.aZ)({__name:"OtherCert",props:{domain:{type:Object,required:!0},refresh:{type:Function,required:!0}},setup(e){let t=(0,s.iH)(!1),l=(0,s.iH)({subject:"",issuer:"",not_before:"",not_after:"",dns:[],endtime:0,key_pem:"",cert_pem:""}),a=(0,s.Fl)(()=>l.value.dns||[]),n=async()=>{try{t.value=!0;let a=await (0,f.Au)({domain:e.domain.domain});(0,c.Kn)(a)&&(l.value=a)}finally{t.value=!1}},i=async()=>{await (0,f.OV)({domain:e.domain.domain,key:l.value.key_pem,certificate:l.value.cert_pem}),n(),e.refresh()},o=async()=>{await (0,f.yW)({domain:e.domain.domain}),n(),e.refresh()};return l.value=e.domain.cert_info,(e,n)=>{let d=m.ZP,u=T.Z,c=b.Z,p=r.ZP,_=F.Z;return(0,s.wg)(),(0,s.iD)("div",$,[(0,s.Wm)(_,{show:(0,s.SU)(t)},{default:(0,s.w5)(()=>[(0,s.SU)(l).endtime>0?((0,s.wg)(),(0,s.j4)(u,{key:0,class:"mb-16px",type:"success","show-icon":!1},{default:(0,s.w5)(()=>[(0,s._)("div",D,[(0,s._)("div",M,(0,s.zw)(e.$t("domain.ssl.cert.brand"))+":",1),(0,s._)("div",O,(0,s.zw)((0,s.SU)(l).issuer),1),(0,s._)("div",H,(0,s.zw)(e.$t("domain.ssl.cert.domains"))+":",1),(0,s._)("div",R,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)((0,s.SU)(a),(e,t)=>((0,s.wg)(),(0,s.j4)(d,{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",I,[(0,s._)("div",A,[(0,s._)("div",B,(0,s.zw)(e.$t("domain.ssl.cert.privateKey")),1),(0,s.Wm)(c,{value:(0,s.SU)(l).key_pem,"onUpdate:value":n[0]||(n[0]=e=>(0,s.SU)(l).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",G,[(0,s._)("div",K,(0,s.zw)(e.$t("domain.ssl.cert.certificate")),1),(0,s.Wm)(c,{value:(0,s.SU)(l).cert_pem,"onUpdate:value":n[1]||(n[1]=e=>(0,s.SU)(l).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",E,[(0,s.Wm)(p,{type:"primary",onClick:i},{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)(S,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})])}}}),V=(0,v.default)(L,[["__scopeId","data-v-bd7d6d60"]]),X=(0,s.aZ)({__name:"index",setup(e){let t=(0,s.iH)("other"),l=(0,s.iH)(null),[a,n]=(0,p.d)({onChangeState:e=>{if(e){let{row:e}=n.getState();e&&(l.value=e)}}}),i=()=>{n.getState().refresh()};return(e,n)=>{let o=j.Z;return(0,s.wg)(),(0,s.j4)((0,s.SU)(a),{title:e.$t("domain.ssl.title"),width:650,footer:!1},{default:(0,s.w5)(()=>[(0,s.Wm)(P,{value:(0,s.SU)(t),"onUpdate:value":n[0]||(n[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)(l)?((0,s.wg)(),(0,s.j4)(V,{key:0,domain:(0,s.SU)(l),refresh:i},null,8,["domain"])):(0,s.kq)("",!0)]),_:1},8,["tab"])]),_:1},8,["value"])]),_:1},8,["title"])}}});var Q=l(35409),Y=l(50039),J=l(56357),N=l(87075),ee=l(62198),et=l(77984);let el={class:"record-title"},ea={width:"140"},en={width:"160"},ei={class:"record-title"},eo={class:"record-desc"},ed={width:"140"},es={width:"160"},er={class:"record-title"},em={class:"record-desc"},eu={width:"140"},ec={width:"160"},ep={class:"record-title"},e_={class:"record-desc"},ef={class:"record-desc"},ew={class:"flex justify-center mt-24px"},ev=(0,s.aZ)({__name:"DomainDns",setup(e){let{t}=(0,x.QT)(),{copyText:l}=(0,et.F)(),a=(0,s.iH)([]),n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"value";return a.value.length>0?a.value[0].dns_records[e][t]:""},o=(0,s.Fl)(()=>n("dkim")),d=(0,s.Fl)(()=>n("a")),m=(0,s.Fl)(()=>n("a","host")),u=(0,s.Fl)(()=>n("mx")),_=(0,s.Fl)(()=>n("mx","host")),w=(0,s.Fl)(()=>n("dmarc")),v=(0,s.Fl)(()=>n("spf")),S=e=>{let{status:l}=e;return(0,s.Wm)("div",{class:["inline-flex items-center",l?"text-primary":"text-error"]},[(0,s.Wm)(J.g,{size:"16"},{default:()=>[l?(0,s.Wm)(N.Z,null,null):(0,s.Wm)(ee.Z,null,null)]}),(0,s.Wm)("span",{class:"ml-4px"},[l?t("domain.dns.status.ok"):t("domain.dns.status.notSet")])])},U=(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)(S,{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)(S,{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)(S,{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)(S,{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)(S,{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)(S,{status:(null==t?void 0:t.valid)||!1},null)}}]),h=async()=>{let e=await (0,f.v1)({domain:a.value[0].domain});(0,c.Kn)(e)&&(a.value[0].dns_records=e);let{refresh:t}=g.getState();t()},[y,g]=(0,p.d)({onChangeState:e=>{if(e){let{row:e}=g.getState();e&&(a.value=[e])}}});return(e,n)=>{let c=i.Z,p=Y.Z,f=Q.ZP,S=r.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)(c,{size:"small",class:"mb-20px",data:(0,s.SU)(a),columns:(0,s.SU)(U)},null,8,["data","columns"]),(0,s._)("div",el,(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",ea,(0,s.zw)((0,s.SU)(t)("domain.dns.table.recordType")),1),(0,s._)("th",en,(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,[n[3]||(n[3]=(0,s._)("td",null,"A",-1)),(0,s._)("td",null,(0,s.zw)((0,s.SU)(m)),1),(0,s._)("td",null,(0,s.zw)((0,s.SU)(d)),1)])])]),_:1}),(0,s._)("div",ei,(0,s.zw)((0,s.SU)(t)("domain.dns.step2.title")),1),(0,s._)("div",eo,(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",ed,(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,[n[4]||(n[4]=(0,s._)("td",null,"MX",-1)),(0,s._)("td",null,(0,s.zw)((0,s.SU)(_)),1),(0,s._)("td",null,(0,s.zw)((0,s.SU)(u)),1),n[5]||(n[5]=(0,s._)("td",null,"10",-1))])])]),_:1}),(0,s._)("div",er,(0,s.zw)((0,s.SU)(t)("domain.dns.step3.title")),1),(0,s._)("div",em,(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",eu,(0,s.zw)((0,s.SU)(t)("domain.dns.table.recordType")),1),(0,s._)("th",ec,(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,[n[6]||(n[6]=(0,s._)("td",null,"TXT",-1)),n[7]||(n[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)(v)),1)]),_:1}),(0,s.Wm)(S,{text:"",type:"primary",onClick:n[0]||(n[0]=()=>(0,s.SU)(l)((0,s.SU)(v)))},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(t)("common.actions.copy")),1)]),_:1})])]),(0,s._)("tr",null,[n[8]||(n[8]=(0,s._)("td",null,"TXT",-1)),n[9]||(n[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)(S,{key:0,text:"",type:"primary",onClick:n[1]||(n[1]=()=>(0,s.SU)(l)((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,[n[10]||(n[10]=(0,s._)("td",null,"TXT",-1)),n[11]||(n[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)(w)),1)]),_:1}),(0,s.SU)(w)?((0,s.wg)(),(0,s.j4)(S,{key:0,text:"",type:"primary",onClick:n[2]||(n[2]=()=>(0,s.SU)(l)((0,s.SU)(w)))},{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",ep,(0,s.zw)((0,s.SU)(t)("domain.dns.step4.title")),1),(0,s._)("div",e_,(0,s.zw)((0,s.SU)(t)("domain.dns.step4.description1")),1),(0,s._)("div",ef,(0,s.zw)((0,s.SU)(t)("domain.dns.step4.description2")),1)]),(0,s._)("div",ew,[(0,s.Wm)(S,{type:"primary",onClick:h},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(t)("domain.dns.verify")),1)]),_:1})])]),_:1},8,["title"])}}}),eS=(0,v.default)(ev,[["__scopeId","data-v-8094e116"]]);var eU=l(65965);let eh={class:"p-24px"},ey={class:"bt-title"};function eg(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,s.lA)(e)}let eb=(0,s.aZ)({__name:"index",setup(e){let{t}=(0,x.QT)(),{tableParams:l,tableList:w,loading:v,tableTotal:S,getTableData:U}=(0,_.Z)({immediate:!0,params:{page:1,page_size:10,keyword:""},fetchFn:f.i7}),h=(0,eU.tv)(),y=(0,s.iH)([{key:"domain",title:t("domain.columns.domain"),minWidth:130,ellipsis:{tooltip:!0},render:e=>(0,s.Wm)(s.HY,null,[(0,s.Wm)(r.ZP,{text:!0,type:"primary",onClick:()=>{h.push({path:"/mailbox",state:{domain:e.domain}})}},{default:()=>[e.domain]}),e.default?(0,s.Wm)(m.ZP,{size:"small",class:"ml-8px",bordered:!1},{default:()=>[(0,s.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 l;if(e.cert_info&&e.cert_info.endtime){let l=Math.floor((1e3*e.cert_info.endtime-Date.now())/1e3/60/60/24);return(0,s.Wm)(r.ZP,{type:l<0?"error":"primary",text:!0,onClick:()=>{C(e)}},{default:()=>[l<0?t("domain.ssl.expired"):t("domain.ssl.daysLeft",{days:l})]})}return(0,s.Wm)(r.ZP,{type:"warning",text:!0,onClick:()=>{C(e)}},eg(l=t("domain.ssl.notSet"))?l:{default:()=>[l]})}},{title:t("domain.columns.actions"),key:"actions",align:"right",width:260,render:e=>{let l,a,n;return(0,s.Wm)(u.Z,{inline:!0},{default:()=>[(0,s.Wm)(r.ZP,{type:"primary",text:!0,onClick:()=>{j(e)}},eg(l=t("domain.actions.dnsRecord"))?l:{default:()=>[l]}),(0,s.Wm)(r.ZP,{type:"primary",text:!0,onClick:()=>{T(e)}},eg(a=t("common.actions.edit"))?a:{default:()=>[a]}),(0,s.Wm)(r.ZP,{type:"primary",text:!0,disabled:1===e.default,onClick:()=>{F(e)}},{default:()=>[(0,s.Uk)("Set Default")]}),(0,s.Wm)(r.ZP,{type:"error",text:!0,onClick:()=>{$(e)}},eg(n=t("common.actions.delete"))?n:{default:()=>[n]})]})}}]),[g,b]=(0,p.d)({component:Z,state:{isEdit:!1,refresh:U}}),k=()=>{b.setState({row:null,isEdit:!1}),b.open()},[W,z]=(0,p.d)({component:X,state:{refresh:U}}),C=e=>{z.setState({row:e}),z.open()},[q,P]=(0,p.d)({component:eS,state:{refresh:U}}),j=e=>{P.setState({row:e}),P.open()},F=e=>{(0,c.iG)({title:`Set Default [${e.domain}]`,content:"Are you sure to set this domain as default?",onConfirm:async()=>{await (0,f.xh)({domain:e.domain}),U()}})},T=e=>{b.setState({row:e,isEdit:!0}),b.open()},$=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,f.dj)({domain:e.domain}),U()}})};return(e,m)=>{let u=d.Z,c=o.Z,p=i.Z,_=n.Z,f=a.Z;return(0,s.wg)(),(0,s.iD)("div",eh,[(0,s._)("div",ey,(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)(r.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)(u,{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)(v),columns:(0,s.SU)(y),data:(0,s.SU)(w)},{empty:(0,s.w5)(()=>[(0,s.Wm)(c)]),_:1},8,["loading","columns","data"])]),pageRight:(0,s.w5)(()=>[(0,s.Wm)(_,{page:(0,s.SU)(l).page,"onUpdate:page":m[0]||(m[0]=e=>(0,s.SU)(l).page=e),"page-size":(0,s.SU)(l).page_size,"onUpdate:pageSize":m[1]||(m[1]=e=>(0,s.SU)(l).page_size=e),"item-count":(0,s.SU)(S),onRefresh:(0,s.SU)(U)},null,8,["page","page-size","item-count","onRefresh"])]),modal:(0,s.w5)(()=>[(0,s.Wm)((0,s.SU)(g)),(0,s.Wm)((0,s.SU)(W)),(0,s.Wm)((0,s.SU)(q))]),_:1})])}}}),ex=(0,v.default)(eb,[["__scopeId","data-v-505a5a60"]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/7283.344213bd.js b/core/public/dist/static/js/async/7283.344213bd.js
deleted file mode 100644
index c78bf2ce..00000000
--- a/core/public/dist/static/js/async/7283.344213bd.js
+++ /dev/null
@@ -1,190 +0,0 @@
-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["7283"],{15410:function(e,o,r){r.d(o,{j:()=>i});var t=r(7356),n=r(88168);function i(e,o,r){let[i,a]=(0,t.d)(r?.in,e,o),c=l(i,a),s=Math.abs((0,n.w)(i,a));i.setDate(i.getDate()-c*s);let d=Number(l(i,a)===-c),h=c*(s-d);return 0===h?0:h}function l(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),n=r(58786),i=r(77565),l=r(1183),a=r(96823),c=r(87075),s=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),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:i,actionColor:l,textColor1:a,textColor2:c,closeColorHover:s,closeColorPressed:d,closeIconColor:h,closeIconColorHover:u,closeIconColorPressed:v,infoColor:b,successColor:g,warningColor:p,errorColor:f,fontSize:m}=e;return Object.assign(Object.assign({},x.Z),{fontSize:m,lineHeight:o,titleFontWeight:t,borderRadius:r,border:`1px solid ${i}`,color:l,titleTextColor:a,iconColor:c,contentTextColor:c,closeBorderRadius:r,closeColorHover:s,closeColorPressed:d,closeIconColor:h,closeIconColorHover:u,closeIconColorPressed:v,borderInfo:`1px solid ${(0,w.h$)(n,(0,w.zX)(b,{alpha:.25}))}`,colorInfo:(0,w.h$)(n,(0,w.zX)(b,{alpha:.08})),titleTextColorInfo:a,iconColorInfo:b,contentTextColorInfo:c,closeColorHoverInfo:s,closeColorPressedInfo:d,closeIconColorInfo:h,closeIconColorHoverInfo:u,closeIconColorPressedInfo:v,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:v,borderWarning:`1px solid ${(0,w.h$)(n,(0,w.zX)(p,{alpha:.33}))}`,colorWarning:(0,w.h$)(n,(0,w.zX)(p,{alpha:.08})),titleTextColorWarning:a,iconColorWarning:p,contentTextColorWarning:c,closeColorHoverWarning:s,closeColorPressedWarning:d,closeIconColorWarning:h,closeIconColorHoverWarning:u,closeIconColorPressedWarning:v,borderError:`1px solid ${(0,w.h$)(n,(0,w.zX)(f,{alpha:.25}))}`,colorError:(0,w.h$)(n,(0,w.zX)(f,{alpha:.08})),titleTextColorError:a,iconColorError:f,contentTextColorError:c,closeColorHoverError:s,closeColorPressedError:d,closeIconColorError:h,closeIconColorHoverError:u,closeIconColorPressedError:v})}};var y=r(74482);let $=(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.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)"})]),k=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:k,slots:Object,setup(e){let{mergedClsPrefixRef:o,mergedBorderedRef:r,inlineThemeDisabled:i,mergedRtlRef:l}=(0,v.ZP)(e),a=(0,u.Z)("Alert","-alert",$,C,e,o),c=(0,g.V)("Alert",l,o),s=(0,n.Fl)(()=>{let{common:{cubicBezierEaseInOut:o},self:r}=a.value,{fontSize:n,borderRadius:i,titleFontWeight:l,lineHeight:c,iconSize:s,iconMargin:d,iconMarginRtl:h,closeIconSize:u,closeBorderRadius:v,closeSize:b,closeMargin:g,closeMarginRtl:f,padding:w}=r,{type:m}=e,{left:x,right:C}=(0,t.mH)(d);return{"--n-bezier":o,"--n-color":r[(0,p.Tl)("color",m)],"--n-close-icon-size":u,"--n-close-border-radius":v,"--n-close-color-hover":r[(0,p.Tl)("closeColorHover",m)],"--n-close-color-pressed":r[(0,p.Tl)("closeColorPressed",m)],"--n-close-icon-color":r[(0,p.Tl)("closeIconColor",m)],"--n-close-icon-color-hover":r[(0,p.Tl)("closeIconColorHover",m)],"--n-close-icon-color-pressed":r[(0,p.Tl)("closeIconColorPressed",m)],"--n-icon-color":r[(0,p.Tl)("iconColor",m)],"--n-border":r[(0,p.Tl)("border",m)],"--n-title-text-color":r[(0,p.Tl)("titleTextColor",m)],"--n-content-text-color":r[(0,p.Tl)("contentTextColor",m)],"--n-line-height":c,"--n-border-radius":i,"--n-font-size":n,"--n-title-font-weight":l,"--n-icon-size":s,"--n-icon-margin":d,"--n-icon-margin-rtl":h,"--n-close-size":b,"--n-close-margin":g,"--n-close-margin-rtl":f,"--n-padding":w,"--n-icon-margin-left":x,"--n-icon-margin-right":C}}),d=i?(0,b.F)("alert",(0,n.Fl)(()=>e.type[0]),s,e):void 0,h=(0,n.iH)(!0),f=()=>{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:()=>{f()},mergedTheme:a,cssVars:i?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)(i.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)(l.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,f.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,f.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}})}})},33756:function(e,o,r){r.d(o,{Z:()=>h});var t=r(58786),n=r(56946),i=r(54470),l=r(53198),a=r(20538),c=r(71309);let s=(0,c.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,c.u4)("vertical",`
- margin-top: 24px;
- margin-bottom: 24px;
- `,[(0,c.u4)("no-title",`
- display: flex;
- align-items: center;
- `)]),(0,c.cE)("title",`
- display: flex;
- align-items: center;
- margin-left: 12px;
- margin-right: 12px;
- white-space: nowrap;
- font-weight: var(--n-font-weight);
- `),(0,c.cM)("title-position-left",[(0,c.cE)("line",[(0,c.cM)("left",{width:"28px"})])]),(0,c.cM)("title-position-right",[(0,c.cE)("line",[(0,c.cM)("right",{width:"28px"})])]),(0,c.cM)("dashed",[(0,c.cE)("line",`
- background-color: #0000;
- height: 0px;
- width: 100%;
- border-style: dashed;
- border-width: 1px 0 0;
- `)]),(0,c.cM)("vertical",`
- display: inline-block;
- height: 1em;
- margin: 0 8px;
- vertical-align: middle;
- width: 1px;
- `),(0,c.cE)("line",`
- border: none;
- transition: background-color .3s var(--n-bezier), border-color .3s var(--n-bezier);
- height: 1px;
- width: 100%;
- margin: 0;
- `),(0,c.u4)("dashed",[(0,c.cE)("line",{backgroundColor:"var(--n-color)"})]),(0,c.cM)("dashed",[(0,c.cE)("line",{borderColor:"var(--n-color)"})]),(0,c.cM)("vertical",{backgroundColor:"var(--n-color)"})]),d=Object.assign(Object.assign({},n.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,i.ZP)(e),c=(0,n.Z)("Divider","-divider",s,a.Z,e,o),d=(0,t.Fl)(()=>{let{common:{cubicBezierEaseInOut:e},self:{color:o,textColor:r,fontWeight:t}}=c.value;return{"--n-bezier":e,"--n-color":o,"--n-text-color":r,"--n-font-weight":t}}),h=r?(0,l.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:n,dashed:i,cssVars:l,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`]:n,[`${a}-divider--no-title`]:!o.default,[`${a}-divider--dashed`]:i,[`${a}-divider--title-position-${r}`]:o.default&&r}],style:l},n?null:(0,t.h)("div",{class:`${a}-divider__line ${a}-divider__line--left`}),!n&&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)}})},29875:function(e,o,r){let t;r.d(o,{Z:()=>$});var n=r(65083),i=r(20013),l=r(58786),a=r(76128),c=r(62594),s=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),w=r(30951);let m={name:"Switch",common:f.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,p.zX)(o,{alpha:.2})}`})}};var x=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,x.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,x.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;
- `)])]),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]}),$=(0,l.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:p}=c,f=(0,l.iH)(e.defaultValue),w=(0,l.Vh)(e,"value"),x=(0,i.Z)(w,f),y=(0,l.Fl)(()=>x.value===e.checkedValue),$=(0,l.iH)(!1),k=(0,l.iH)(!1),z=(0,l.Fl)(()=>{let{railStyle:o}=e;if(o)return o({focused:k.value,checked:y.value})});function E(o){let{"onUpdate:value":r,onChange:t,onUpdateValue:n}=e,{nTriggerFormInput:i,nTriggerFormChange:l}=c;r&&(0,v.R)(r,o),n&&(0,v.R)(n,o),t&&(0,v.R)(t,o),f.value=o,i(),l()}let B=(0,l.Fl)(()=>{let e,o,r,{value:i}=g,{self:{opacityDisabled:l,railColor:c,railColorActive:s,buttonBoxShadow:d,buttonColor:h,boxShadowFocus:u,loadingColor:v,textColor:p,iconColor:f,[(0,b.Tl)("buttonHeight",i)]:w,[(0,b.Tl)("buttonWidth",i)]:m,[(0,b.Tl)("buttonWidthPressed",i)]:x,[(0,b.Tl)("railHeight",i)]:C,[(0,b.Tl)("railWidth",i)]:y,[(0,b.Tl)("railBorderRadius",i)]:$,[(0,b.Tl)("buttonBorderRadius",i)]:k},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":k,"--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":l,"--n-rail-border-radius":$,"--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":v,"--n-text-color":p,"--n-icon-color":f}}),_=r?(0,u.F)("switch",(0,l.Fl)(()=>g.value[0]),B,e):void 0;return{handleClick:function(){e.loading||p.value||(x.value!==e.checkedValue?E(e.checkedValue):E(e.uncheckedValue))},handleBlur:function(){k.value=!1;let{nTriggerFormBlur:e}=c;e(),$.value=!1},handleFocus:function(){k.value=!0;let{nTriggerFormFocus:e}=c;e()},handleKeyup:function(o){e.loading||p.value||" "===o.key&&(x.value!==e.checkedValue?E(e.checkedValue):E(e.uncheckedValue),$.value=!1)},handleKeydown:function(o){e.loading||p.value||" "===o.key&&(o.preventDefault(),$.value=!0)},mergedRailStyle:z,pressed:$,mergedClsPrefix:o,mergedValue:x,checked:y,mergedDisabled:p,cssVars:r?void 0:B,themeClass:null==_?void 0:_.themeClass,onRender:null==_?void 0:_.onRender}},render(){let{mergedClsPrefix:e,mergedDisabled:o,checked:r,mergedRailStyle:t,onRender:n,$slots:i}=this;null==n||n();let{checked:s,unchecked:d,icon:h,"checked-icon":u,"unchecked-icon":v}=i,b=!((0,g.aD)(h)&&(0,g.aD)(u)&&(0,g.aD)(v));return(0,l.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,l.h)("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:t},(0,g.K9)(s,o=>(0,g.K9)(d,r=>o||r?(0,l.h)("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},(0,l.h)("div",{class:`${e}-switch__rail-placeholder`},(0,l.h)("div",{class:`${e}-switch__button-placeholder`}),o),(0,l.h)("div",{class:`${e}-switch__rail-placeholder`},(0,l.h)("div",{class:`${e}-switch__button-placeholder`}),r)):null)),(0,l.h)("div",{class:`${e}-switch__button`},(0,g.K9)(h,o=>(0,g.K9)(u,r=>(0,g.K9)(v,t=>(0,l.h)(a.Z,null,{default:()=>this.loading?(0,l.h)(c.Z,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(r||o)?(0,l.h)("div",{class:`${e}-switch__button-icon`,key:r?"checked-icon":"icon"},r||o):!this.checked&&(t||o)?(0,l.h)("div",{class:`${e}-switch__button-icon`,key:t?"unchecked-icon":"icon"},t||o):null})))),(0,g.K9)(s,o=>o&&(0,l.h)("div",{key:"checked",class:`${e}-switch__checked`},o)),(0,g.K9)(d,o=>o&&(0,l.h)("div",{key:"unchecked",class:`${e}-switch__unchecked`},o)))))}})}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/7662.a03ab73a.js b/core/public/dist/static/js/async/7662.a03ab73a.js
new file mode 100644
index 00000000..8116eb74
--- /dev/null
+++ b/core/public/dist/static/js/async/7662.a03ab73a.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["7662"],{32530:function(e,t,s){s.r(t),s.d(t,{default:()=>d});var a=s(98048),n=s(6455),l=s(73084),i=s(57869),u=s(58786);let c={class:"content-wrapper"},d=(0,s(41748).default)({},[["render",function(e,t){let s=i.ZP,d=l.Z,r=n.ZP,o=a.Z;return(0,u.wg)(),(0,u.iD)("div",c,[(0,u.Wm)(s,{class:"mb-5"},{default:(0,u.w5)(()=>t[0]||(t[0]=[(0,u._)("div",{class:"page-tit",style:{margin:"0"}},[(0,u._)("div",{class:"back-tool"},[(0,u._)("i",{class:"i-ri:apps-fill text-6"})]),(0,u._)("span",{class:"tit-content"}," AI Settings ")],-1)])),_:1,__:[0]}),(0,u.Wm)(s,null,{default:(0,u.w5)(()=>[t[2]||(t[2]=(0,u._)("div",{class:"page-tit"},[(0,u._)("span",{class:"tit-content"}," Default AI Instructions ")],-1)),(0,u.Wm)(o,null,{default:(0,u.w5)(()=>[(0,u.Wm)(r,null,{label:(0,u.w5)(()=>t[1]||(t[1]=[(0,u._)("span",{class:"form-label"},"Instructions for Email Generation",-1)])),default:(0,u.w5)(()=>[(0,u.Wm)(d,{type:"textarea",rows:13})]),_:1})]),_:1}),t[3]||(t[3]=(0,u._)("div",null,"These instructions will be used as default guidelines when generating new emails. You can override these instructions for individual emails as needed.",-1))]),_:1,__:[2,3]})])}],["__scopeId","data-v-6c7cade6"]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/7803.5897ab22.js b/core/public/dist/static/js/async/7803.5897ab22.js
new file mode 100644
index 00000000..52e74420
--- /dev/null
+++ b/core/public/dist/static/js/async/7803.5897ab22.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["7803"],{15335:function(e,n,t){t.r(n),t.d(n,{default:()=>r});var u=t(58786);let r=(0,t(41748).default)({},[["render",function(e,n){return(0,u.wg)(),(0,u.iD)("div",null," template ")}]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/7844.7612dfac.js b/core/public/dist/static/js/async/7844.7612dfac.js
new file mode 100644
index 00000000..b8e047a9
--- /dev/null
+++ b/core/public/dist/static/js/async/7844.7612dfac.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["7844"],{95526:function(l,e,s){s.r(e),s.d(e,{default:()=>b});var t=s(57869),a=s(98048),n=s(6455),r=s(73084),d=s(36308),i=s(58786);let o={class:"content-wrapper"},c={class:"flex justify-between gap-2.5 w-100%"},u={class:"flex justify-between gap-2.5 w-100%"},m={class:"flex justify-between gap-2.5 w-100%"},_={class:"flex justify-between gap-2.5 w-100%"},p=(0,i.aZ)({__name:"Styling",setup(l){function e(){return""}return(l,s)=>{let p=d.Z,b=r.Z,f=n.ZP,w=a.Z,h=t.ZP;return(0,i.wg)(),(0,i.iD)("div",o,[(0,i.Wm)(h,{class:"mb-5"},{default:(0,i.w5)(()=>[s[4]||(s[4]=(0,i._)("div",{class:"page-tit"},[(0,i._)("div",{class:"back-tool"},[(0,i._)("i",{class:"i-ri:apps-fill text-6"})]),(0,i._)("span",{class:"tit-content"}," Color Palette ")],-1)),(0,i.Wm)(w,null,{default:(0,i.w5)(()=>[(0,i.Wm)(f,null,{label:(0,i.w5)(()=>s[0]||(s[0]=[(0,i._)("span",{class:"form-label"},"Accent Color",-1)])),default:(0,i.w5)(()=>[(0,i._)("div",c,[(0,i.Wm)(p,{style:{width:"50px"},modes:["hex","rgb","hsl","hsv"],"render-label":e}),(0,i.Wm)(b)])]),_:1}),(0,i.Wm)(f,null,{label:(0,i.w5)(()=>s[1]||(s[1]=[(0,i._)("span",{class:"form-label"},"Text Color",-1)])),default:(0,i.w5)(()=>[(0,i._)("div",u,[(0,i.Wm)(p,{style:{width:"50px"},modes:["hex","rgb","hsl","hsv"],"render-label":e}),(0,i.Wm)(b)])]),_:1}),(0,i.Wm)(f,null,{label:(0,i.w5)(()=>s[2]||(s[2]=[(0,i._)("span",{class:"form-label"},"Page Background",-1)])),default:(0,i.w5)(()=>[(0,i._)("div",m,[(0,i.Wm)(p,{style:{width:"50px"},modes:["hex","rgb","hsl","hsv"],"render-label":e}),(0,i.Wm)(b)])]),_:1}),(0,i.Wm)(f,null,{label:(0,i.w5)(()=>s[3]||(s[3]=[(0,i._)("span",{class:"form-label"},"Container Background",-1)])),default:(0,i.w5)(()=>[(0,i._)("div",_,[(0,i.Wm)(p,{style:{width:"50px"},modes:["hex","rgb","hsl","hsv"],"render-label":e}),(0,i.Wm)(b)])]),_:1})]),_:1})]),_:1,__:[4]}),(0,i.Wm)(h,null,{default:(0,i.w5)(()=>[s[5]||(s[5]=(0,i._)("div",{class:"page-tit",style:{"margin-bottom":"10px"}},[(0,i._)("div",{class:"back-tool"},[(0,i._)("i",{class:"i-ri:apps-fill text-6"})]),(0,i._)("span",{class:"tit-content"}," Custom CSS ")],-1)),s[6]||(s[6]=(0,i._)("div",{class:"sub-tit mb-5"},"Add custom CSS styles to your email template",-1)),(0,i.Wm)(b,{type:"textarea",rows:15})]),_:1,__:[5,6]})])}}}),b=(0,s(41748).default)(p,[["__scopeId","data-v-218558b2"]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/6194.33ecbd1c.js b/core/public/dist/static/js/async/7963.35dc1d58.js
similarity index 80%
rename from core/public/dist/static/js/async/6194.33ecbd1c.js
rename to core/public/dist/static/js/async/7963.35dc1d58.js
index 86e51207..21a9fbfe 100644
--- a/core/public/dist/static/js/async/6194.33ecbd1c.js
+++ b/core/public/dist/static/js/async/7963.35dc1d58.js
@@ -1,4 +1,4 @@
-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["6194"],{32004:function(e,o,t){t.d(o,{mj:()=>p,ZP:()=>g});var r=t(58786),l=t(97756),i=t(56946),n=t(54470),a=t(53198),c=t(19050),d=t(59701),s=t(8249),v=t(13335),u=t(71309);let h=(0,u.cB)("layout",`
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["7963"],{20013:function(e,o,t){t.d(o,{Z:()=>l});var r=t(58786);function l(e,o){return(0,r.YP)(e,e=>{void 0!==e&&(o.value=e)}),(0,r.Fl)(()=>void 0===e.value?o.value:e.value)}},80954:function(e,o,t){t.d(o,{Z:()=>n});var r=t(34542),l=t(32452);let n=function(e,o){o=(0,r.Z)(o,e);for(var t=0,n=o.length;null!=e&&t<n;)e=e[(0,l.Z)(o[t++])];return t&&t==n?e:void 0}},34542:function(e,o,t){t.d(o,{Z:()=>h});var r,l,n=t(3073),i=t(90483),a=t(37408);function c(e,o){if("function"!=typeof e||null!=o&&"function"!=typeof o)throw TypeError("Expected a function");var t=function(){var r=arguments,l=o?o.apply(this,r):r[0],n=t.cache;if(n.has(l))return n.get(l);var i=e.apply(this,r);return t.cache=n.set(l,i)||n,i};return t.cache=new(c.Cache||a.Z),t}c.Cache=a.Z;var d=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,v=(l=(r=c(function(e){var o=[];return 46===e.charCodeAt(0)&&o.push(""),e.replace(d,function(e,t,r,l){o.push(r?l.replace(s,"$1"):t||e)}),o},function(e){return 500===l.size&&l.clear(),e})).cache,r),u=t(88521);let h=function(e,o){return(0,n.Z)(e)?e:(0,i.Z)(e,o)?[e]:v((0,u.Z)(e))}},90483:function(e,o,t){t.d(o,{Z:()=>a});var r=t(3073),l=t(56721),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;let a=function(e,o){if((0,r.Z)(e))return!1;var t=typeof e;return!!("number"==t||"symbol"==t||"boolean"==t||null==e||(0,l.Z)(e))||i.test(e)||!n.test(e)||null!=o&&e in Object(o)}},32452:function(e,o,t){t.d(o,{Z:()=>n});var r=t(56721),l=1/0;let n=function(e){if("string"==typeof e||(0,r.Z)(e))return e;var o=e+"";return"0"==o&&1/e==-l?"-0":o}},94904:function(e,o,t){t.d(o,{Z:()=>l});var r=t(80954);let l=function(e,o,t){var l=null==e?void 0:(0,r.Z)(e,o);return void 0===l?t:l}},32004:function(e,o,t){t.d(o,{mj:()=>p,ZP:()=>g});var r=t(58786),l=t(97756),n=t(56946),i=t(54470),a=t(53198),c=t(19050),d=t(59701),s=t(8249),v=t(13335),u=t(71309);let h=(0,u.cB)("layout",`
color: var(--n-text-color);
background-color: var(--n-color);
box-sizing: border-box;
@@ -20,7 +20,7 @@
right: 0;
top: 0;
bottom: 0;
- `)]),m={embedded:Boolean,position:v.u,nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,onScroll:Function,contentClass:String,contentStyle:{type:[String,Object],default:""},hasSider:Boolean,siderPlacement:{type:String,default:"left"}},p=(0,c.U)("n-layout"),g=(0,r.aZ)({name:"Layout",props:Object.assign(Object.assign({},i.Z.props),m),setup(e){let o=(0,r.iH)(null),t=(0,r.iH)(null),{mergedClsPrefixRef:l,inlineThemeDisabled:c}=(0,n.ZP)(e),v=(0,i.Z)("Layout","-layout",h,s.Z,e,l);(0,r.JJ)(p,e);let u=0,m=0;(0,d.M)(()=>{if(e.nativeScrollbar){let e=o.value;e&&(e.scrollTop=m,e.scrollLeft=u)}});let g=(0,r.Fl)(()=>{let{common:{cubicBezierEaseInOut:o},self:t}=v.value;return{"--n-bezier":o,"--n-color":e.embedded?t.colorEmbedded:t.color,"--n-text-color":t.textColor}}),b=c?(0,a.F)("layout",(0,r.Fl)(()=>e.embedded?"e":""),g,e):void 0;return Object.assign({mergedClsPrefix:l,scrollableElRef:o,scrollbarInstRef:t,hasSiderStyle:{display:"flex",flexWrap:"nowrap",width:"100%",flexDirection:"row"},mergedTheme:v,handleNativeElScroll:o=>{var t;let r=o.target;u=r.scrollLeft,m=r.scrollTop,null==(t=e.onScroll)||t.call(e,o)},cssVars:c?void 0:g,themeClass:null==b?void 0:b.themeClass,onRender:null==b?void 0:b.onRender},{scrollTo:function(r,l){if(e.nativeScrollbar){let{value:e}=o;e&&(void 0===l?e.scrollTo(r):e.scrollTo(r,l))}else{let{value:e}=t;e&&e.scrollTo(r,l)}}})},render(){var e;let{mergedClsPrefix:o,hasSider:t}=this;null==(e=this.onRender)||e.call(this);let i=t?this.hasSiderStyle:void 0,n=[this.themeClass,!1,`${o}-layout`,`${o}-layout--${this.position}-positioned`];return(0,r.h)("div",{class:n,style:this.cssVars},this.nativeScrollbar?(0,r.h)("div",{ref:"scrollableElRef",class:[`${o}-layout-scroll-container`,this.contentClass],style:[this.contentStyle,i],onScroll:this.handleNativeElScroll},this.$slots):(0,r.h)(l.Z,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:this.contentClass,contentStyle:[this.contentStyle,i]}),this.$slots))}})},52569:function(e,o,t){t.d(o,{Z:()=>u});var r=t(58786),l=t(56946),i=t(54470),n=t(53198),a=t(8249),c=t(13335),d=t(71309);let s=(0,d.cB)("layout-header",`
+ `)]),m={embedded:Boolean,position:v.u,nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,onScroll:Function,contentClass:String,contentStyle:{type:[String,Object],default:""},hasSider:Boolean,siderPlacement:{type:String,default:"left"}},p=(0,c.U)("n-layout"),g=(0,r.aZ)({name:"Layout",props:Object.assign(Object.assign({},n.Z.props),m),setup(e){let o=(0,r.iH)(null),t=(0,r.iH)(null),{mergedClsPrefixRef:l,inlineThemeDisabled:c}=(0,i.ZP)(e),v=(0,n.Z)("Layout","-layout",h,s.Z,e,l);(0,r.JJ)(p,e);let u=0,m=0;(0,d.M)(()=>{if(e.nativeScrollbar){let e=o.value;e&&(e.scrollTop=m,e.scrollLeft=u)}});let g=(0,r.Fl)(()=>{let{common:{cubicBezierEaseInOut:o},self:t}=v.value;return{"--n-bezier":o,"--n-color":e.embedded?t.colorEmbedded:t.color,"--n-text-color":t.textColor}}),b=c?(0,a.F)("layout",(0,r.Fl)(()=>e.embedded?"e":""),g,e):void 0;return Object.assign({mergedClsPrefix:l,scrollableElRef:o,scrollbarInstRef:t,hasSiderStyle:{display:"flex",flexWrap:"nowrap",width:"100%",flexDirection:"row"},mergedTheme:v,handleNativeElScroll:o=>{var t;let r=o.target;u=r.scrollLeft,m=r.scrollTop,null==(t=e.onScroll)||t.call(e,o)},cssVars:c?void 0:g,themeClass:null==b?void 0:b.themeClass,onRender:null==b?void 0:b.onRender},{scrollTo:function(r,l){if(e.nativeScrollbar){let{value:e}=o;e&&(void 0===l?e.scrollTo(r):e.scrollTo(r,l))}else{let{value:e}=t;e&&e.scrollTo(r,l)}}})},render(){var e;let{mergedClsPrefix:o,hasSider:t}=this;null==(e=this.onRender)||e.call(this);let n=t?this.hasSiderStyle:void 0,i=[this.themeClass,!1,`${o}-layout`,`${o}-layout--${this.position}-positioned`];return(0,r.h)("div",{class:i,style:this.cssVars},this.nativeScrollbar?(0,r.h)("div",{ref:"scrollableElRef",class:[`${o}-layout-scroll-container`,this.contentClass],style:[this.contentStyle,n],onScroll:this.handleNativeElScroll},this.$slots):(0,r.h)(l.Z,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:this.contentClass,contentStyle:[this.contentStyle,n]}),this.$slots))}})},52569:function(e,o,t){t.d(o,{Z:()=>u});var r=t(58786),l=t(56946),n=t(54470),i=t(53198),a=t(8249),c=t(13335),d=t(71309);let s=(0,d.cB)("layout-header",`
transition:
color .3s var(--n-bezier),
background-color .3s var(--n-bezier),
@@ -37,7 +37,7 @@
top: 0;
`),(0,d.cM)("bordered",`
border-bottom: solid 1px var(--n-border-color);
- `)]),v={position:c.u,inverted:Boolean,bordered:{type:Boolean,default:!1}},u=(0,r.aZ)({name:"LayoutHeader",props:Object.assign(Object.assign({},l.Z.props),v),setup(e){let{mergedClsPrefixRef:o,inlineThemeDisabled:t}=(0,i.ZP)(e),c=(0,l.Z)("Layout","-layout-header",s,a.Z,e,o),d=(0,r.Fl)(()=>{let{common:{cubicBezierEaseInOut:o},self:t}=c.value,r={"--n-bezier":o};return e.inverted?(r["--n-color"]=t.headerColorInverted,r["--n-text-color"]=t.textColorInverted,r["--n-border-color"]=t.headerBorderColorInverted):(r["--n-color"]=t.headerColor,r["--n-text-color"]=t.textColor,r["--n-border-color"]=t.headerBorderColor),r}),v=t?(0,n.F)("layout-header",(0,r.Fl)(()=>e.inverted?"a":"b"),d,e):void 0;return{mergedClsPrefix:o,cssVars:t?void 0:d,themeClass:null==v?void 0:v.themeClass,onRender:null==v?void 0:v.onRender}},render(){var e;let{mergedClsPrefix:o}=this;return null==(e=this.onRender)||e.call(this),(0,r.h)("div",{class:[`${o}-layout-header`,this.themeClass,this.position&&`${o}-layout-header--${this.position}-positioned`,this.bordered&&`${o}-layout-header--bordered`],style:this.cssVars},this.$slots)}})},41620:function(e,o,t){t.d(o,{Z:()=>z});var r=t(20013),l=t(58786),i=t(97756),n=t(56946),a=t(54470),c=t(53198),d=t(89620),s=t(44267),v=t(59701),u=t(8249),h=t(13335),m=t(32004),p=t(71309);let g=(0,p.cB)("layout-sider",`
+ `)]),v={position:c.u,inverted:Boolean,bordered:{type:Boolean,default:!1}},u=(0,r.aZ)({name:"LayoutHeader",props:Object.assign(Object.assign({},l.Z.props),v),setup(e){let{mergedClsPrefixRef:o,inlineThemeDisabled:t}=(0,n.ZP)(e),c=(0,l.Z)("Layout","-layout-header",s,a.Z,e,o),d=(0,r.Fl)(()=>{let{common:{cubicBezierEaseInOut:o},self:t}=c.value,r={"--n-bezier":o};return e.inverted?(r["--n-color"]=t.headerColorInverted,r["--n-text-color"]=t.textColorInverted,r["--n-border-color"]=t.headerBorderColorInverted):(r["--n-color"]=t.headerColor,r["--n-text-color"]=t.textColor,r["--n-border-color"]=t.headerBorderColor),r}),v=t?(0,i.F)("layout-header",(0,r.Fl)(()=>e.inverted?"a":"b"),d,e):void 0;return{mergedClsPrefix:o,cssVars:t?void 0:d,themeClass:null==v?void 0:v.themeClass,onRender:null==v?void 0:v.onRender}},render(){var e;let{mergedClsPrefix:o}=this;return null==(e=this.onRender)||e.call(this),(0,r.h)("div",{class:[`${o}-layout-header`,this.themeClass,this.position&&`${o}-layout-header--${this.position}-positioned`,this.bordered&&`${o}-layout-header--bordered`],style:this.cssVars},this.$slots)}})},41620:function(e,o,t){t.d(o,{Z:()=>z});var r=t(20013),l=t(58786),n=t(97756),i=t(56946),a=t(54470),c=t(53198),d=t(89620),s=t(44267),v=t(59701),u=t(8249),h=t(13335),m=t(32004),p=t(71309);let g=(0,p.cB)("layout-sider",`
flex-shrink: 0;
box-sizing: border-box;
position: relative;
@@ -145,7 +145,7 @@
left: 0;
top: 0;
bottom: 0;
- `)]),b=(0,l.aZ)({props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){let{clsPrefix:e}=this;return(0,l.h)("div",{onClick:this.onClick,class:`${e}-layout-toggle-bar`},(0,l.h)("div",{class:`${e}-layout-toggle-bar__top`}),(0,l.h)("div",{class:`${e}-layout-toggle-bar__bottom`}))}});var f=t(96823),x=t(17351);let C=(0,l.aZ)({name:"LayoutToggleButton",props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){let{clsPrefix:e}=this;return(0,l.h)("div",{class:`${e}-layout-toggle-button`,onClick:this.onClick},(0,l.h)(f.Z,{clsPrefix:e},{default:()=>(0,l.h)(x.Z,null)}))}}),y={position:h.u,bordered:Boolean,collapsedWidth:{type:Number,default:48},width:{type:[Number,String],default:272},contentClass:String,contentStyle:{type:[String,Object],default:""},collapseMode:{type:String,default:"transform"},collapsed:{type:Boolean,default:void 0},defaultCollapsed:Boolean,showCollapsedContent:{type:Boolean,default:!0},showTrigger:{type:[Boolean,String],default:!1},nativeScrollbar:{type:Boolean,default:!0},inverted:Boolean,scrollbarProps:Object,triggerClass:String,triggerStyle:[String,Object],collapsedTriggerClass:String,collapsedTriggerStyle:[String,Object],"onUpdate:collapsed":[Function,Array],onUpdateCollapsed:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,onExpand:[Function,Array],onCollapse:[Function,Array],onScroll:Function},z=(0,l.aZ)({name:"LayoutSider",props:Object.assign(Object.assign({},n.Z.props),y),setup(e){let o=(0,l.f3)(m.mj),t=(0,l.iH)(null),i=(0,l.iH)(null),p=(0,l.iH)(e.defaultCollapsed),b=(0,r.Z)((0,l.Vh)(e,"collapsed"),p),f=(0,l.Fl)(()=>(0,d.N)(b.value?e.collapsedWidth:e.width)),x=(0,l.Fl)(()=>"transform"!==e.collapseMode?{}:{minWidth:(0,d.N)(e.width)}),C=(0,l.Fl)(()=>o?o.siderPlacement:"left"),y=0,z=0;(0,v.M)(()=>{if(e.nativeScrollbar){let e=t.value;e&&(e.scrollTop=z,e.scrollLeft=y)}}),(0,l.JJ)(h.T,{collapsedRef:b,collapseModeRef:(0,l.Vh)(e,"collapseMode")});let{mergedClsPrefixRef:w,inlineThemeDisabled:S}=(0,a.ZP)(e),I=(0,n.Z)("Layout","-layout-sider",g,u.Z,e,w),B=(0,l.Fl)(()=>{let{common:{cubicBezierEaseInOut:o},self:t}=I.value,{siderToggleButtonColor:r,siderToggleButtonBorder:l,siderToggleBarColor:i,siderToggleBarColorHover:n}=t,a={"--n-bezier":o,"--n-toggle-button-color":r,"--n-toggle-button-border":l,"--n-toggle-bar-color":i,"--n-toggle-bar-color-hover":n};return e.inverted?(a["--n-color"]=t.siderColorInverted,a["--n-text-color"]=t.textColorInverted,a["--n-border-color"]=t.siderBorderColorInverted,a["--n-toggle-button-icon-color"]=t.siderToggleButtonIconColorInverted,a.__invertScrollbar=t.__invertScrollbar):(a["--n-color"]=t.siderColor,a["--n-text-color"]=t.textColor,a["--n-border-color"]=t.siderBorderColor,a["--n-toggle-button-icon-color"]=t.siderToggleButtonIconColor),a}),E=S?(0,c.F)("layout-sider",(0,l.Fl)(()=>e.inverted?"a":"b"),B,e):void 0;return Object.assign({scrollableElRef:t,scrollbarInstRef:i,mergedClsPrefix:w,mergedTheme:I,styleMaxWidth:f,mergedCollapsed:b,scrollContainerStyle:x,siderPlacement:C,handleNativeElScroll:o=>{var t;let r=o.target;y=r.scrollLeft,z=r.scrollTop,null==(t=e.onScroll)||t.call(e,o)},handleTransitionend:function(o){var t,r;"max-width"===o.propertyName&&(b.value?null==(t=e.onAfterLeave)||t.call(e):null==(r=e.onAfterEnter)||r.call(e))},handleTriggerClick:function(){let{"onUpdate:collapsed":o,onUpdateCollapsed:t,onExpand:r,onCollapse:l}=e,{value:i}=b;t&&(0,s.R)(t,!i),o&&(0,s.R)(o,!i),p.value=!i,i?r&&(0,s.R)(r):l&&(0,s.R)(l)},inlineThemeDisabled:S,cssVars:B,themeClass:null==E?void 0:E.themeClass,onRender:null==E?void 0:E.onRender},{scrollTo:function(o,r){if(e.nativeScrollbar){let{value:e}=t;e&&(void 0===r?e.scrollTo(o):e.scrollTo(o,r))}else{let{value:e}=i;e&&e.scrollTo(o,r)}}})},render(){var e;let{mergedClsPrefix:o,mergedCollapsed:t,showTrigger:r}=this;return null==(e=this.onRender)||e.call(this),(0,l.h)("aside",{class:[`${o}-layout-sider`,this.themeClass,`${o}-layout-sider--${this.position}-positioned`,`${o}-layout-sider--${this.siderPlacement}-placement`,this.bordered&&`${o}-layout-sider--bordered`,t&&`${o}-layout-sider--collapsed`,(!t||this.showCollapsedContent)&&`${o}-layout-sider--show-content`],onTransitionend:this.handleTransitionend,style:[this.inlineThemeDisabled?void 0:this.cssVars,{maxWidth:this.styleMaxWidth,width:(0,d.N)(this.width)}]},this.nativeScrollbar?(0,l.h)("div",{class:[`${o}-layout-sider-scroll-container`,this.contentClass],onScroll:this.handleNativeElScroll,style:[this.scrollContainerStyle,{overflow:"auto"},this.contentStyle],ref:"scrollableElRef"},this.$slots):(0,l.h)(i.Z,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",style:this.scrollContainerStyle,contentStyle:this.contentStyle,contentClass:this.contentClass,theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,builtinThemeOverrides:this.inverted&&"true"===this.cssVars.__invertScrollbar?{colorHover:"rgba(255, 255, 255, .4)",color:"rgba(255, 255, 255, .3)"}:void 0}),this.$slots),r?"bar"===r?(0,l.h)(b,{clsPrefix:o,class:t?this.collapsedTriggerClass:this.triggerClass,style:t?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):(0,l.h)(C,{clsPrefix:o,class:t?this.collapsedTriggerClass:this.triggerClass,style:t?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):null,this.bordered?(0,l.h)("div",{class:`${o}-layout-sider__border`}):null)}})},13335:function(e,o,t){t.d(o,{T:()=>r,u:()=>l});let r=(0,t(19050).U)("n-layout-sider"),l={type:String,default:"static"}},8249:function(e,o,t){t.d(o,{Z:()=>a});var r=t(19595),l=t(50957),i=t(56946),n=t(9798);let a=(0,i.j)({name:"Layout",common:n.Z,peers:{Scrollbar:l.Z},self:function(e){let{baseColor:o,textColor2:t,bodyColor:l,cardColor:i,dividerColor:n,actionColor:a,scrollbarColor:c,scrollbarColorHover:d,invertedColor:s}=e;return{textColor:t,textColorInverted:"#FFF",color:l,colorEmbedded:a,headerColor:i,headerColorInverted:s,footerColor:a,footerColorInverted:s,headerBorderColor:n,headerBorderColorInverted:s,footerBorderColor:n,footerBorderColorInverted:s,siderBorderColor:n,siderBorderColorInverted:s,siderColor:i,siderColorInverted:s,siderToggleButtonBorder:`1px solid ${n}`,siderToggleButtonColor:o,siderToggleButtonIconColor:t,siderToggleButtonIconColorInverted:t,siderToggleBarColor:(0,r.h$)(l,c),siderToggleBarColorHover:(0,r.h$)(l,d),__invertScrollbar:"true"}}})},87449:function(e,o,t){t.d(o,{Z:()=>W});var r=t(17102),l=t(20772),i=t(20013),n=t(23125),a=t(58786),c=t(72825),d=t(70020),s=t(56946),v=t(54470),u=t(53198),h=t(44267),m=t(13335),p=t(78165),g=t(19050);let b=(0,g.U)("n-menu"),f=(0,g.U)("n-submenu"),x=(0,g.U)("n-menu-item-group");var C=t(74482),y=t(71309);let z=[(0,y.c)("&::before","background-color: var(--n-item-color-hover);"),(0,y.cE)("arrow",`
+ `)]),b=(0,l.aZ)({props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){let{clsPrefix:e}=this;return(0,l.h)("div",{onClick:this.onClick,class:`${e}-layout-toggle-bar`},(0,l.h)("div",{class:`${e}-layout-toggle-bar__top`}),(0,l.h)("div",{class:`${e}-layout-toggle-bar__bottom`}))}});var f=t(96823),x=t(17351);let C=(0,l.aZ)({name:"LayoutToggleButton",props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){let{clsPrefix:e}=this;return(0,l.h)("div",{class:`${e}-layout-toggle-button`,onClick:this.onClick},(0,l.h)(f.Z,{clsPrefix:e},{default:()=>(0,l.h)(x.Z,null)}))}}),y={position:h.u,bordered:Boolean,collapsedWidth:{type:Number,default:48},width:{type:[Number,String],default:272},contentClass:String,contentStyle:{type:[String,Object],default:""},collapseMode:{type:String,default:"transform"},collapsed:{type:Boolean,default:void 0},defaultCollapsed:Boolean,showCollapsedContent:{type:Boolean,default:!0},showTrigger:{type:[Boolean,String],default:!1},nativeScrollbar:{type:Boolean,default:!0},inverted:Boolean,scrollbarProps:Object,triggerClass:String,triggerStyle:[String,Object],collapsedTriggerClass:String,collapsedTriggerStyle:[String,Object],"onUpdate:collapsed":[Function,Array],onUpdateCollapsed:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,onExpand:[Function,Array],onCollapse:[Function,Array],onScroll:Function},z=(0,l.aZ)({name:"LayoutSider",props:Object.assign(Object.assign({},i.Z.props),y),setup(e){let o=(0,l.f3)(m.mj),t=(0,l.iH)(null),n=(0,l.iH)(null),p=(0,l.iH)(e.defaultCollapsed),b=(0,r.Z)((0,l.Vh)(e,"collapsed"),p),f=(0,l.Fl)(()=>(0,d.N)(b.value?e.collapsedWidth:e.width)),x=(0,l.Fl)(()=>"transform"!==e.collapseMode?{}:{minWidth:(0,d.N)(e.width)}),C=(0,l.Fl)(()=>o?o.siderPlacement:"left"),y=0,z=0;(0,v.M)(()=>{if(e.nativeScrollbar){let e=t.value;e&&(e.scrollTop=z,e.scrollLeft=y)}}),(0,l.JJ)(h.T,{collapsedRef:b,collapseModeRef:(0,l.Vh)(e,"collapseMode")});let{mergedClsPrefixRef:w,inlineThemeDisabled:S}=(0,a.ZP)(e),I=(0,i.Z)("Layout","-layout-sider",g,u.Z,e,w),B=(0,l.Fl)(()=>{let{common:{cubicBezierEaseInOut:o},self:t}=I.value,{siderToggleButtonColor:r,siderToggleButtonBorder:l,siderToggleBarColor:n,siderToggleBarColorHover:i}=t,a={"--n-bezier":o,"--n-toggle-button-color":r,"--n-toggle-button-border":l,"--n-toggle-bar-color":n,"--n-toggle-bar-color-hover":i};return e.inverted?(a["--n-color"]=t.siderColorInverted,a["--n-text-color"]=t.textColorInverted,a["--n-border-color"]=t.siderBorderColorInverted,a["--n-toggle-button-icon-color"]=t.siderToggleButtonIconColorInverted,a.__invertScrollbar=t.__invertScrollbar):(a["--n-color"]=t.siderColor,a["--n-text-color"]=t.textColor,a["--n-border-color"]=t.siderBorderColor,a["--n-toggle-button-icon-color"]=t.siderToggleButtonIconColor),a}),E=S?(0,c.F)("layout-sider",(0,l.Fl)(()=>e.inverted?"a":"b"),B,e):void 0;return Object.assign({scrollableElRef:t,scrollbarInstRef:n,mergedClsPrefix:w,mergedTheme:I,styleMaxWidth:f,mergedCollapsed:b,scrollContainerStyle:x,siderPlacement:C,handleNativeElScroll:o=>{var t;let r=o.target;y=r.scrollLeft,z=r.scrollTop,null==(t=e.onScroll)||t.call(e,o)},handleTransitionend:function(o){var t,r;"max-width"===o.propertyName&&(b.value?null==(t=e.onAfterLeave)||t.call(e):null==(r=e.onAfterEnter)||r.call(e))},handleTriggerClick:function(){let{"onUpdate:collapsed":o,onUpdateCollapsed:t,onExpand:r,onCollapse:l}=e,{value:n}=b;t&&(0,s.R)(t,!n),o&&(0,s.R)(o,!n),p.value=!n,n?r&&(0,s.R)(r):l&&(0,s.R)(l)},inlineThemeDisabled:S,cssVars:B,themeClass:null==E?void 0:E.themeClass,onRender:null==E?void 0:E.onRender},{scrollTo:function(o,r){if(e.nativeScrollbar){let{value:e}=t;e&&(void 0===r?e.scrollTo(o):e.scrollTo(o,r))}else{let{value:e}=n;e&&e.scrollTo(o,r)}}})},render(){var e;let{mergedClsPrefix:o,mergedCollapsed:t,showTrigger:r}=this;return null==(e=this.onRender)||e.call(this),(0,l.h)("aside",{class:[`${o}-layout-sider`,this.themeClass,`${o}-layout-sider--${this.position}-positioned`,`${o}-layout-sider--${this.siderPlacement}-placement`,this.bordered&&`${o}-layout-sider--bordered`,t&&`${o}-layout-sider--collapsed`,(!t||this.showCollapsedContent)&&`${o}-layout-sider--show-content`],onTransitionend:this.handleTransitionend,style:[this.inlineThemeDisabled?void 0:this.cssVars,{maxWidth:this.styleMaxWidth,width:(0,d.N)(this.width)}]},this.nativeScrollbar?(0,l.h)("div",{class:[`${o}-layout-sider-scroll-container`,this.contentClass],onScroll:this.handleNativeElScroll,style:[this.scrollContainerStyle,{overflow:"auto"},this.contentStyle],ref:"scrollableElRef"},this.$slots):(0,l.h)(n.Z,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",style:this.scrollContainerStyle,contentStyle:this.contentStyle,contentClass:this.contentClass,theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,builtinThemeOverrides:this.inverted&&"true"===this.cssVars.__invertScrollbar?{colorHover:"rgba(255, 255, 255, .4)",color:"rgba(255, 255, 255, .3)"}:void 0}),this.$slots),r?"bar"===r?(0,l.h)(b,{clsPrefix:o,class:t?this.collapsedTriggerClass:this.triggerClass,style:t?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):(0,l.h)(C,{clsPrefix:o,class:t?this.collapsedTriggerClass:this.triggerClass,style:t?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):null,this.bordered?(0,l.h)("div",{class:`${o}-layout-sider__border`}):null)}})},13335:function(e,o,t){t.d(o,{T:()=>r,u:()=>l});let r=(0,t(19050).U)("n-layout-sider"),l={type:String,default:"static"}},8249:function(e,o,t){t.d(o,{Z:()=>a});var r=t(19595),l=t(50957),n=t(56946),i=t(9798);let a=(0,n.j)({name:"Layout",common:i.Z,peers:{Scrollbar:l.Z},self:function(e){let{baseColor:o,textColor2:t,bodyColor:l,cardColor:n,dividerColor:i,actionColor:a,scrollbarColor:c,scrollbarColorHover:d,invertedColor:s}=e;return{textColor:t,textColorInverted:"#FFF",color:l,colorEmbedded:a,headerColor:n,headerColorInverted:s,footerColor:a,footerColorInverted:s,headerBorderColor:i,headerBorderColorInverted:s,footerBorderColor:i,footerBorderColorInverted:s,siderBorderColor:i,siderBorderColorInverted:s,siderColor:n,siderColorInverted:s,siderToggleButtonBorder:`1px solid ${i}`,siderToggleButtonColor:o,siderToggleButtonIconColor:t,siderToggleButtonIconColorInverted:t,siderToggleBarColor:(0,r.h$)(l,c),siderToggleBarColorHover:(0,r.h$)(l,d),__invertScrollbar:"true"}}})},87449:function(e,o,t){t.d(o,{Z:()=>W});var r=t(17102),l=t(20772),n=t(20013),i=t(23125),a=t(58786),c=t(72825),d=t(70020),s=t(56946),v=t(54470),u=t(53198),h=t(44267),m=t(13335),p=t(78165),g=t(19050);let b=(0,g.U)("n-menu"),f=(0,g.U)("n-submenu"),x=(0,g.U)("n-menu-item-group");var C=t(74482),y=t(71309);let z=[(0,y.c)("&::before","background-color: var(--n-item-color-hover);"),(0,y.cE)("arrow",`
color: var(--n-arrow-color-hover);
`),(0,y.cE)("icon",`
color: var(--n-item-icon-color-hover);
@@ -324,4 +324,4 @@
background-color: var(--n-divider-color);
height: 1px;
margin: 6px 18px;
- `)]);function I(e,o){return[(0,y.cM)("hover",e,o),(0,y.c)("&:hover",e,o)]}var B=t(61691),E=t(77565),A=t(27987),F=t(52742),T=t(96823);let H=(0,a.aZ)({name:"ChevronDownFilled",render:()=>(0,a.h)("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("path",{d:"M3.20041 5.73966C3.48226 5.43613 3.95681 5.41856 4.26034 5.70041L8 9.22652L11.7397 5.70041C12.0432 5.41856 12.5177 5.43613 12.7996 5.73966C13.0815 6.0432 13.0639 6.51775 12.7603 6.7996L8.51034 10.7996C8.22258 11.0668 7.77743 11.0668 7.48967 10.7996L3.23966 6.7996C2.93613 6.51775 2.91856 6.0432 3.20041 5.73966Z",fill:"currentColor"}))});var P=t(96616);let N=(0,a.aZ)({name:"MenuOptionContent",props:{collapsed:Boolean,disabled:Boolean,title:[String,Function],icon:Function,extra:[String,Function],showArrow:Boolean,childActive:Boolean,hover:Boolean,paddingLeft:Number,selected:Boolean,maxIconSize:{type:Number,required:!0},activeIconSize:{type:Number,required:!0},iconMarginRight:{type:Number,required:!0},clsPrefix:{type:String,required:!0},onClick:Function,tmNode:{type:Object,required:!0},isEllipsisPlaceholder:Boolean},setup(e){let{props:o}=(0,a.f3)(b);return{menuProps:o,style:(0,a.Fl)(()=>{let{paddingLeft:o}=e;return{paddingLeft:o&&`${o}px`}}),iconStyle:(0,a.Fl)(()=>{let{maxIconSize:o,activeIconSize:t,iconMarginRight:r}=e;return{width:`${o}px`,height:`${o}px`,fontSize:`${t}px`,marginRight:`${r}px`}})}},render(){let{clsPrefix:e,tmNode:o,menuProps:{renderIcon:t,renderLabel:r,renderExtra:l,expandIcon:i}}=this,n=t?t(o.rawNode):(0,P.s)(this.icon);return(0,a.h)("div",{onClick:e=>{var o;null==(o=this.onClick)||o.call(this,e)},role:"none",class:[`${e}-menu-item-content`,{[`${e}-menu-item-content--selected`]:this.selected,[`${e}-menu-item-content--collapsed`]:this.collapsed,[`${e}-menu-item-content--child-active`]:this.childActive,[`${e}-menu-item-content--disabled`]:this.disabled,[`${e}-menu-item-content--hover`]:this.hover}],style:this.style},n&&(0,a.h)("div",{class:`${e}-menu-item-content__icon`,style:this.iconStyle,role:"none"},[n]),(0,a.h)("div",{class:`${e}-menu-item-content-header`,role:"none"},this.isEllipsisPlaceholder?this.title:r?r(o.rawNode):(0,P.s)(this.title),this.extra||l?(0,a.h)("span",{class:`${e}-menu-item-content-header__extra`}," ",l?l(o.rawNode):(0,P.s)(this.extra)):null),this.showArrow?(0,a.h)(T.Z,{ariaHidden:!0,class:`${e}-menu-item-content__arrow`,clsPrefix:e},{default:()=>i?i(o.rawNode):(0,a.h)(H,null)}):null)}});function k(e){let o=(0,a.f3)(b),{props:t,mergedCollapsedRef:r}=o,l=(0,a.f3)(f,null),i=(0,a.f3)(x,null),n=(0,a.Fl)(()=>"horizontal"===t.mode),c=(0,a.Fl)(()=>n.value?t.dropdownPlacement:"tmNodes"in e?"right-start":"right"),d=(0,a.Fl)(()=>{var e;return Math.max(null!=(e=t.collapsedIconSize)?e:t.iconSize,t.iconSize)}),s=(0,a.Fl)(()=>{var o;return!n.value&&e.root&&r.value&&null!=(o=t.collapsedIconSize)?o:t.iconSize}),v=(0,a.Fl)(()=>{if(n.value)return;let{collapsedWidth:o,indent:a,rootIndent:c}=t,{root:s,isGroup:v}=e;return s?r.value?o/2-d.value/2:void 0===c?a:c:i&&"number"==typeof i.paddingLeftRef.value?a/2+i.paddingLeftRef.value:l&&"number"==typeof l.paddingLeftRef.value?(v?a/2:a)+l.paddingLeftRef.value:0}),u=(0,a.Fl)(()=>{let{collapsedWidth:o,indent:l,rootIndent:i}=t,{value:a}=d,{root:c}=e;return!n.value&&c&&r.value?(void 0===i?l:i)+a+8-(o+a)/2:8});return{dropdownPlacement:c,activeIconSize:s,maxIconSize:d,paddingLeft:v,iconMarginRight:u,NMenu:o,NSubmenu:l}}let R={internalKey:{type:[String,Number],required:!0},root:Boolean,isGroup:Boolean,level:{type:Number,required:!0},title:[String,Function],extra:[String,Function]};var $=t(42056);let O=(0,a.aZ)({name:"MenuDivider",setup(){let{mergedClsPrefixRef:e,isHorizontalRef:o}=(0,a.f3)(b);return()=>o.value?null:(0,a.h)("div",{class:`${e.value}-menu-divider`})}});var M=t(50144);let Z=Object.assign(Object.assign({},R),{tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function}),j=(0,A.u)(Z),L=(0,a.aZ)({name:"MenuOption",props:Z,setup(e){let o=k(e),{NSubmenu:t,NMenu:r}=o,{props:l,mergedClsPrefixRef:i,mergedCollapsedRef:n}=r,c=t?t.mergedDisabledRef:{value:!1},d=(0,a.Fl)(()=>c.value||e.disabled);return{mergedClsPrefix:i,dropdownPlacement:o.dropdownPlacement,paddingLeft:o.paddingLeft,iconMarginRight:o.iconMarginRight,maxIconSize:o.maxIconSize,activeIconSize:o.activeIconSize,mergedTheme:r.mergedThemeRef,menuProps:l,dropdownEnabled:(0,B.Z)(()=>e.root&&n.value&&"horizontal"!==l.mode&&!d.value),selected:(0,B.Z)(()=>r.mergedValueRef.value===e.internalKey),mergedDisabled:d,handleClick:function(o){if(!d.value){r.doSelect(e.internalKey,e.tmNode.rawNode);let{onClick:t}=e;t&&t(o)}}}},render(){let{mergedClsPrefix:e,mergedTheme:o,tmNode:t,menuProps:{renderLabel:r,nodeProps:l}}=this,i=null==l?void 0:l(t.rawNode);return(0,a.h)("div",Object.assign({},i,{role:"menuitem",class:[`${e}-menu-item`,null==i?void 0:i.class]}),(0,a.h)(M.Z,{theme:o.peers.Tooltip,themeOverrides:o.peerOverrides.Tooltip,trigger:"hover",placement:this.dropdownPlacement,disabled:!this.dropdownEnabled||void 0===this.title,internalExtraClass:["menu-tooltip"]},{default:()=>r?r(t.rawNode):(0,P.s)(this.title),trigger:()=>(0,a.h)(N,{tmNode:t,clsPrefix:e,paddingLeft:this.paddingLeft,iconMarginRight:this.iconMarginRight,maxIconSize:this.maxIconSize,activeIconSize:this.activeIconSize,selected:this.selected,title:this.title,extra:this.extra,disabled:this.mergedDisabled,icon:this.icon,onClick:this.handleClick})}))}}),_=Object.assign(Object.assign({},R),{tmNode:{type:Object,required:!0},tmNodes:{type:Array,required:!0}}),K=(0,A.u)(_),V=(0,a.aZ)({name:"MenuOptionGroup",props:_,setup(e){(0,a.JJ)(f,null);let o=k(e);(0,a.JJ)(x,{paddingLeftRef:o.paddingLeft});let{mergedClsPrefixRef:t,props:r}=(0,a.f3)(b);return function(){let{value:l}=t,i=o.paddingLeft.value,{nodeProps:n}=r,c=null==n?void 0:n(e.tmNode.rawNode);return(0,a.h)("div",{class:`${l}-menu-item-group`,role:"group"},(0,a.h)("div",Object.assign({},c,{class:[`${l}-menu-item-group-title`,null==c?void 0:c.class],style:[(null==c?void 0:c.style)||"",void 0!==i?`padding-left: ${i}px;`:""]}),(0,P.s)(e.title),e.extra?(0,a.h)(a.HY,null," ",(0,P.s)(e.extra)):null),(0,a.h)("div",null,e.tmNodes.map(e=>J(e,r))))}}});function U(e){return"divider"===e.type||"render"===e.type}function J(e,o){let{rawNode:t}=e,{show:r}=t;if(!1===r)return null;if(U(t))return"divider"===t.type?(0,a.h)(O,Object.assign({key:e.key},t.props)):null;let{labelField:l}=o,{key:i,level:n,isGroup:c}=e,d=Object.assign(Object.assign({},t),{title:t.title||t[l],extra:t.titleExtra||t.extra,key:i,internalKey:i,level:n,root:0===n,isGroup:c});return e.children?e.isGroup?(0,a.h)(V,(0,$.C)(d,K,{tmNode:e,tmNodes:e.children,key:i})):(0,a.h)(Y,(0,$.C)(d,D,{key:i,rawNodes:t[o.childrenField],tmNodes:e.children,tmNode:e})):(0,a.h)(L,(0,$.C)(d,j,{key:i,tmNode:e}))}let q=Object.assign(Object.assign({},R),{rawNodes:{type:Array,default:()=>[]},tmNodes:{type:Array,default:()=>[]},tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function,domId:String,virtualChildActive:{type:Boolean,default:void 0},isEllipsisPlaceholder:Boolean}),D=(0,A.u)(q),Y=(0,a.aZ)({name:"Submenu",props:q,setup(e){let o=k(e),{NMenu:t,NSubmenu:r}=o,{props:l,mergedCollapsedRef:i,mergedThemeRef:n}=t,c=(0,a.Fl)(()=>{let{disabled:o}=e;return null!=r&&!!r.mergedDisabledRef.value||!!l.disabled||o}),d=(0,a.iH)(!1);return(0,a.JJ)(f,{paddingLeftRef:o.paddingLeft,mergedDisabledRef:c}),(0,a.JJ)(x,null),{menuProps:l,mergedTheme:n,doSelect:t.doSelect,inverted:t.invertedRef,isHorizontal:t.isHorizontalRef,mergedClsPrefix:t.mergedClsPrefixRef,maxIconSize:o.maxIconSize,activeIconSize:o.activeIconSize,iconMarginRight:o.iconMarginRight,dropdownPlacement:o.dropdownPlacement,dropdownShow:d,paddingLeft:o.paddingLeft,mergedDisabled:c,mergedValue:t.mergedValueRef,childActive:(0,B.Z)(()=>{var o;return null!=(o=e.virtualChildActive)?o:t.activePathRef.value.includes(e.internalKey)}),collapsed:(0,a.Fl)(()=>"horizontal"!==l.mode&&(!!i.value||!t.mergedExpandedKeysRef.value.includes(e.internalKey))),dropdownEnabled:(0,a.Fl)(()=>!c.value&&("horizontal"===l.mode||i.value)),handlePopoverShowChange:function(e){d.value=e},handleClick:function(){if(!c.value){i.value||t.toggleExpand(e.internalKey);let{onClick:o}=e;o&&o()}}}},render(){var e;let{mergedClsPrefix:o,menuProps:{renderIcon:t,renderLabel:r}}=this,l=()=>{let{isHorizontal:e,paddingLeft:o,collapsed:t,mergedDisabled:r,maxIconSize:l,activeIconSize:i,title:n,childActive:c,icon:d,handleClick:s,menuProps:{nodeProps:v},dropdownShow:u,iconMarginRight:h,tmNode:m,mergedClsPrefix:p,isEllipsisPlaceholder:g,extra:b}=this,f=null==v?void 0:v(m.rawNode);return(0,a.h)("div",Object.assign({},f,{class:[`${p}-menu-item`,null==f?void 0:f.class],role:"menuitem"}),(0,a.h)(N,{tmNode:m,paddingLeft:o,collapsed:t,disabled:r,iconMarginRight:h,maxIconSize:l,activeIconSize:i,title:n,extra:b,showArrow:!e,childActive:c,clsPrefix:p,icon:d,hover:u,onClick:s,isEllipsisPlaceholder:g}))},i=()=>(0,a.h)(E.Z,null,{default:()=>{let{tmNodes:e,collapsed:t}=this;return t?null:(0,a.h)("div",{class:`${o}-submenu-children`,role:"menu"},e.map(e=>J(e,this.menuProps)))}});return this.root?(0,a.h)(F.Z,Object.assign({size:"large",trigger:"hover"},null==(e=this.menuProps)?void 0:e.dropdownProps,{themeOverrides:this.mergedTheme.peerOverrides.Dropdown,theme:this.mergedTheme.peers.Dropdown,builtinThemeOverrides:{fontSizeLarge:"14px",optionIconSizeLarge:"18px"},value:this.mergedValue,disabled:!this.dropdownEnabled,placement:this.dropdownPlacement,keyField:this.menuProps.keyField,labelField:this.menuProps.labelField,childrenField:this.menuProps.childrenField,onUpdateShow:this.handlePopoverShowChange,options:this.rawNodes,onSelect:this.doSelect,inverted:this.inverted,renderIcon:t,renderLabel:r}),{default:()=>(0,a.h)("div",{class:`${o}-submenu`,role:"menu","aria-expanded":!this.collapsed,id:this.domId},l(),this.isHorizontal?null:i())}):(0,a.h)("div",{class:`${o}-submenu`,role:"menu","aria-expanded":!this.collapsed,id:this.domId},l(),i())}}),G=Object.assign(Object.assign({},s.Z.props),{options:{type:Array,default:()=>[]},collapsed:{type:Boolean,default:void 0},collapsedWidth:{type:Number,default:48},iconSize:{type:Number,default:20},collapsedIconSize:{type:Number,default:24},rootIndent:Number,indent:{type:Number,default:32},labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},disabledField:{type:String,default:"disabled"},defaultExpandAll:Boolean,defaultExpandedKeys:Array,expandedKeys:Array,value:[String,Number],defaultValue:{type:[String,Number],default:null},mode:{type:String,default:"vertical"},watchProps:{type:Array,default:void 0},disabled:Boolean,show:{type:Boolean,default:!0},inverted:Boolean,"onUpdate:expandedKeys":[Function,Array],onUpdateExpandedKeys:[Function,Array],onUpdateValue:[Function,Array],"onUpdate:value":[Function,Array],expandIcon:Function,renderIcon:Function,renderLabel:Function,renderExtra:Function,dropdownProps:Object,accordion:Boolean,nodeProps:Function,dropdownPlacement:{type:String,default:"bottom"},responsive:Boolean,items:Array,onOpenNamesChange:[Function,Array],onSelect:[Function,Array],onExpandedNamesChange:[Function,Array],expandedNames:Array,defaultExpandedNames:Array}),W=(0,a.aZ)({name:"Menu",inheritAttrs:!1,props:G,setup(e){let{mergedClsPrefixRef:o,inlineThemeDisabled:t}=(0,v.ZP)(e),c=(0,s.Z)("Menu","-menu",S,p.ZP,e,o),d=(0,a.f3)(m.T,null),g=(0,a.Fl)(()=>{var o;let{collapsed:t}=e;if(void 0!==t)return t;if(d){let{collapseModeRef:e,collapsedRef:t}=d;if("width"===e.value)return null!=(o=t.value)&&o}return!1}),f=(0,a.Fl)(()=>{let{keyField:o,childrenField:t,disabledField:r}=e;return(0,l.J)(e.items||e.options,{getIgnored:e=>U(e),getChildren:e=>e[t],getDisabled:e=>e[r],getKey(e){var t;return null!=(t=e[o])?t:e.name}})}),x=(0,a.Fl)(()=>new Set(f.value.treeNodes.map(e=>e.key))),{watchProps:C}=e,y=(0,a.iH)(null);(null==C?void 0:C.includes("defaultValue"))?(0,a.m0)(()=>{y.value=e.defaultValue}):y.value=e.defaultValue;let z=(0,a.Vh)(e,"value"),w=(0,i.Z)(z,y),I=(0,a.iH)([]),B=()=>{I.value=e.defaultExpandAll?f.value.getNonLeafKeys():e.defaultExpandedNames||e.defaultExpandedKeys||f.value.getPath(w.value,{includeSelf:!1}).keyPath};(null==C?void 0:C.includes("defaultExpandedKeys"))?(0,a.m0)(B):B();let E=(0,n.Z)(e,["expandedNames","expandedKeys"]),A=(0,i.Z)(E,I),F=(0,a.Fl)(()=>f.value.treeNodes),T=(0,a.Fl)(()=>f.value.getPath(w.value).keyPath);function H(o){let{"onUpdate:expandedKeys":t,onUpdateExpandedKeys:r,onExpandedNamesChange:l,onOpenNamesChange:i}=e;t&&(0,h.R)(t,o),r&&(0,h.R)(r,o),l&&(0,h.R)(l,o),i&&(0,h.R)(i,o),I.value=o}(0,a.JJ)(b,{props:e,mergedCollapsedRef:g,mergedThemeRef:c,mergedValueRef:w,mergedExpandedKeysRef:A,activePathRef:T,mergedClsPrefixRef:o,isHorizontalRef:(0,a.Fl)(()=>"horizontal"===e.mode),invertedRef:(0,a.Vh)(e,"inverted"),doSelect:function(o,t){let{"onUpdate:value":r,onUpdateValue:l,onSelect:i}=e;l&&(0,h.R)(l,o,t),r&&(0,h.R)(r,o,t),i&&(0,h.R)(i,o,t),y.value=o},toggleExpand:function(o){let t=Array.from(A.value),r=t.findIndex(e=>e===o);if(~r)t.splice(r,1);else{if(e.accordion&&x.value.has(o)){let e=t.findIndex(e=>x.value.has(e));e>-1&&t.splice(e,1)}t.push(o)}H(t)}});let P=(0,a.Fl)(()=>{let{inverted:o}=e,{common:{cubicBezierEaseInOut:t},self:r}=c.value,{borderRadius:l,borderColorHorizontal:i,fontSize:n,itemHeight:a,dividerColor:d}=r,s={"--n-divider-color":d,"--n-bezier":t,"--n-font-size":n,"--n-border-color-horizontal":i,"--n-border-radius":l,"--n-item-height":a};return o?(s["--n-group-text-color"]=r.groupTextColorInverted,s["--n-color"]=r.colorInverted,s["--n-item-text-color"]=r.itemTextColorInverted,s["--n-item-text-color-hover"]=r.itemTextColorHoverInverted,s["--n-item-text-color-active"]=r.itemTextColorActiveInverted,s["--n-item-text-color-child-active"]=r.itemTextColorChildActiveInverted,s["--n-item-text-color-child-active-hover"]=r.itemTextColorChildActiveInverted,s["--n-item-text-color-active-hover"]=r.itemTextColorActiveHoverInverted,s["--n-item-icon-color"]=r.itemIconColorInverted,s["--n-item-icon-color-hover"]=r.itemIconColorHoverInverted,s["--n-item-icon-color-active"]=r.itemIconColorActiveInverted,s["--n-item-icon-color-active-hover"]=r.itemIconColorActiveHoverInverted,s["--n-item-icon-color-child-active"]=r.itemIconColorChildActiveInverted,s["--n-item-icon-color-child-active-hover"]=r.itemIconColorChildActiveHoverInverted,s["--n-item-icon-color-collapsed"]=r.itemIconColorCollapsedInverted,s["--n-item-text-color-horizontal"]=r.itemTextColorHorizontalInverted,s["--n-item-text-color-hover-horizontal"]=r.itemTextColorHoverHorizontalInverted,s["--n-item-text-color-active-horizontal"]=r.itemTextColorActiveHorizontalInverted,s["--n-item-text-color-child-active-horizontal"]=r.itemTextColorChildActiveHorizontalInverted,s["--n-item-text-color-child-active-hover-horizontal"]=r.itemTextColorChildActiveHoverHorizontalInverted,s["--n-item-text-color-active-hover-horizontal"]=r.itemTextColorActiveHoverHorizontalInverted,s["--n-item-icon-color-horizontal"]=r.itemIconColorHorizontalInverted,s["--n-item-icon-color-hover-horizontal"]=r.itemIconColorHoverHorizontalInverted,s["--n-item-icon-color-active-horizontal"]=r.itemIconColorActiveHorizontalInverted,s["--n-item-icon-color-active-hover-horizontal"]=r.itemIconColorActiveHoverHorizontalInverted,s["--n-item-icon-color-child-active-horizontal"]=r.itemIconColorChildActiveHorizontalInverted,s["--n-item-icon-color-child-active-hover-horizontal"]=r.itemIconColorChildActiveHoverHorizontalInverted,s["--n-arrow-color"]=r.arrowColorInverted,s["--n-arrow-color-hover"]=r.arrowColorHoverInverted,s["--n-arrow-color-active"]=r.arrowColorActiveInverted,s["--n-arrow-color-active-hover"]=r.arrowColorActiveHoverInverted,s["--n-arrow-color-child-active"]=r.arrowColorChildActiveInverted,s["--n-arrow-color-child-active-hover"]=r.arrowColorChildActiveHoverInverted,s["--n-item-color-hover"]=r.itemColorHoverInverted,s["--n-item-color-active"]=r.itemColorActiveInverted,s["--n-item-color-active-hover"]=r.itemColorActiveHoverInverted,s["--n-item-color-active-collapsed"]=r.itemColorActiveCollapsedInverted):(s["--n-group-text-color"]=r.groupTextColor,s["--n-color"]=r.color,s["--n-item-text-color"]=r.itemTextColor,s["--n-item-text-color-hover"]=r.itemTextColorHover,s["--n-item-text-color-active"]=r.itemTextColorActive,s["--n-item-text-color-child-active"]=r.itemTextColorChildActive,s["--n-item-text-color-child-active-hover"]=r.itemTextColorChildActiveHover,s["--n-item-text-color-active-hover"]=r.itemTextColorActiveHover,s["--n-item-icon-color"]=r.itemIconColor,s["--n-item-icon-color-hover"]=r.itemIconColorHover,s["--n-item-icon-color-active"]=r.itemIconColorActive,s["--n-item-icon-color-active-hover"]=r.itemIconColorActiveHover,s["--n-item-icon-color-child-active"]=r.itemIconColorChildActive,s["--n-item-icon-color-child-active-hover"]=r.itemIconColorChildActiveHover,s["--n-item-icon-color-collapsed"]=r.itemIconColorCollapsed,s["--n-item-text-color-horizontal"]=r.itemTextColorHorizontal,s["--n-item-text-color-hover-horizontal"]=r.itemTextColorHoverHorizontal,s["--n-item-text-color-active-horizontal"]=r.itemTextColorActiveHorizontal,s["--n-item-text-color-child-active-horizontal"]=r.itemTextColorChildActiveHorizontal,s["--n-item-text-color-child-active-hover-horizontal"]=r.itemTextColorChildActiveHoverHorizontal,s["--n-item-text-color-active-hover-horizontal"]=r.itemTextColorActiveHoverHorizontal,s["--n-item-icon-color-horizontal"]=r.itemIconColorHorizontal,s["--n-item-icon-color-hover-horizontal"]=r.itemIconColorHoverHorizontal,s["--n-item-icon-color-active-horizontal"]=r.itemIconColorActiveHorizontal,s["--n-item-icon-color-active-hover-horizontal"]=r.itemIconColorActiveHoverHorizontal,s["--n-item-icon-color-child-active-horizontal"]=r.itemIconColorChildActiveHorizontal,s["--n-item-icon-color-child-active-hover-horizontal"]=r.itemIconColorChildActiveHoverHorizontal,s["--n-arrow-color"]=r.arrowColor,s["--n-arrow-color-hover"]=r.arrowColorHover,s["--n-arrow-color-active"]=r.arrowColorActive,s["--n-arrow-color-active-hover"]=r.arrowColorActiveHover,s["--n-arrow-color-child-active"]=r.arrowColorChildActive,s["--n-arrow-color-child-active-hover"]=r.arrowColorChildActiveHover,s["--n-item-color-hover"]=r.itemColorHover,s["--n-item-color-active"]=r.itemColorActive,s["--n-item-color-active-hover"]=r.itemColorActiveHover,s["--n-item-color-active-collapsed"]=r.itemColorActiveCollapsed),s}),N=t?(0,u.F)("menu",(0,a.Fl)(()=>e.inverted?"a":"b"),P,e):void 0,k=(0,r.Mc)(),R=(0,a.iH)(null),$=(0,a.iH)(null),O=!0,M=()=>{var e;O?O=!1:null==(e=R.value)||e.sync({showAllItemsBeforeCalculate:!0})},Z=(0,a.iH)(-1),j=(0,a.Fl)(()=>{let o=Z.value;return{children:-1===o?[]:e.options.slice(o)}}),L=(0,a.Fl)(()=>{let{childrenField:o,disabledField:t,keyField:r}=e;return(0,l.J)([j.value],{getIgnored:e=>U(e),getChildren:e=>e[o],getDisabled:e=>e[t],getKey(e){var o;return null!=(o=e[r])?o:e.name}})}),_=(0,a.Fl)(()=>(0,l.J)([{}]).treeNodes[0]);return{mergedClsPrefix:o,controlledExpandedKeys:E,uncontrolledExpanededKeys:I,mergedExpandedKeys:A,uncontrolledValue:y,mergedValue:w,activePath:T,tmNodes:F,mergedTheme:c,mergedCollapsed:g,cssVars:t?void 0:P,themeClass:null==N?void 0:N.themeClass,overflowRef:R,counterRef:$,updateCounter:()=>{},onResize:M,onUpdateOverflow:function(e){e||(Z.value=-1)},onUpdateCount:function(o){Z.value=e.options.length-o},renderCounter:function(){var e;if(-1===Z.value)return(0,a.h)(Y,{root:!0,level:0,key:"__ellpisisGroupPlaceholder__",internalKey:"__ellpisisGroupPlaceholder__",title:"\xb7\xb7\xb7",tmNode:_.value,domId:k,isEllipsisPlaceholder:!0});let o=L.value.treeNodes[0],t=T.value,r=!!(null==(e=o.children)?void 0:e.some(e=>t.includes(e.key)));return(0,a.h)(Y,{level:0,root:!0,key:"__ellpisisGroup__",internalKey:"__ellpisisGroup__",title:"\xb7\xb7\xb7",virtualChildActive:r,tmNode:o,domId:k,rawNodes:o.rawNode.children||[],tmNodes:o.children||[],isEllipsisPlaceholder:!0})},getCounter:function(){return document.getElementById(k)},onRender:null==N?void 0:N.onRender,showOption:o=>{let t=f.value.getPath(null!=o?o:w.value,{includeSelf:!1}).keyPath;if(!t.length)return;let r=new Set([...Array.from(A.value),...t]);e.accordion&&x.value.forEach(e=>{r.has(e)&&!t.includes(e)&&r.delete(e)}),H(Array.from(r))},deriveResponsiveState:M}},render(){let{mergedClsPrefix:e,mode:o,themeClass:t,onRender:r}=this;null==r||r();let l=()=>this.tmNodes.map(e=>J(e,this.$props)),i="horizontal"===o&&this.responsive,n=()=>(0,a.h)("div",(0,a.dG)(this.$attrs,{role:"horizontal"===o?"menubar":"menu",class:[`${e}-menu`,t,`${e}-menu--${o}`,i&&`${e}-menu--responsive`,this.mergedCollapsed&&`${e}-menu--collapsed`],style:this.cssVars}),i?(0,a.h)(c.Z,{ref:"overflowRef",onUpdateOverflow:this.onUpdateOverflow,getCounter:this.getCounter,onUpdateCount:this.onUpdateCount,updateCounter:this.updateCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:l,counter:this.renderCounter}):l());return i?(0,a.h)(d.Z,{onResize:this.onResize},{default:n}):n()}})}}]);
\ No newline at end of file
+ `)]);function I(e,o){return[(0,y.cM)("hover",e,o),(0,y.c)("&:hover",e,o)]}var B=t(61691),E=t(77565),A=t(27987),F=t(52742),T=t(96823);let H=(0,a.aZ)({name:"ChevronDownFilled",render:()=>(0,a.h)("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.h)("path",{d:"M3.20041 5.73966C3.48226 5.43613 3.95681 5.41856 4.26034 5.70041L8 9.22652L11.7397 5.70041C12.0432 5.41856 12.5177 5.43613 12.7996 5.73966C13.0815 6.0432 13.0639 6.51775 12.7603 6.7996L8.51034 10.7996C8.22258 11.0668 7.77743 11.0668 7.48967 10.7996L3.23966 6.7996C2.93613 6.51775 2.91856 6.0432 3.20041 5.73966Z",fill:"currentColor"}))});var P=t(96616);let Z=(0,a.aZ)({name:"MenuOptionContent",props:{collapsed:Boolean,disabled:Boolean,title:[String,Function],icon:Function,extra:[String,Function],showArrow:Boolean,childActive:Boolean,hover:Boolean,paddingLeft:Number,selected:Boolean,maxIconSize:{type:Number,required:!0},activeIconSize:{type:Number,required:!0},iconMarginRight:{type:Number,required:!0},clsPrefix:{type:String,required:!0},onClick:Function,tmNode:{type:Object,required:!0},isEllipsisPlaceholder:Boolean},setup(e){let{props:o}=(0,a.f3)(b);return{menuProps:o,style:(0,a.Fl)(()=>{let{paddingLeft:o}=e;return{paddingLeft:o&&`${o}px`}}),iconStyle:(0,a.Fl)(()=>{let{maxIconSize:o,activeIconSize:t,iconMarginRight:r}=e;return{width:`${o}px`,height:`${o}px`,fontSize:`${t}px`,marginRight:`${r}px`}})}},render(){let{clsPrefix:e,tmNode:o,menuProps:{renderIcon:t,renderLabel:r,renderExtra:l,expandIcon:n}}=this,i=t?t(o.rawNode):(0,P.s)(this.icon);return(0,a.h)("div",{onClick:e=>{var o;null==(o=this.onClick)||o.call(this,e)},role:"none",class:[`${e}-menu-item-content`,{[`${e}-menu-item-content--selected`]:this.selected,[`${e}-menu-item-content--collapsed`]:this.collapsed,[`${e}-menu-item-content--child-active`]:this.childActive,[`${e}-menu-item-content--disabled`]:this.disabled,[`${e}-menu-item-content--hover`]:this.hover}],style:this.style},i&&(0,a.h)("div",{class:`${e}-menu-item-content__icon`,style:this.iconStyle,role:"none"},[i]),(0,a.h)("div",{class:`${e}-menu-item-content-header`,role:"none"},this.isEllipsisPlaceholder?this.title:r?r(o.rawNode):(0,P.s)(this.title),this.extra||l?(0,a.h)("span",{class:`${e}-menu-item-content-header__extra`}," ",l?l(o.rawNode):(0,P.s)(this.extra)):null),this.showArrow?(0,a.h)(T.Z,{ariaHidden:!0,class:`${e}-menu-item-content__arrow`,clsPrefix:e},{default:()=>n?n(o.rawNode):(0,a.h)(H,null)}):null)}});function N(e){let o=(0,a.f3)(b),{props:t,mergedCollapsedRef:r}=o,l=(0,a.f3)(f,null),n=(0,a.f3)(x,null),i=(0,a.Fl)(()=>"horizontal"===t.mode),c=(0,a.Fl)(()=>i.value?t.dropdownPlacement:"tmNodes"in e?"right-start":"right"),d=(0,a.Fl)(()=>{var e;return Math.max(null!=(e=t.collapsedIconSize)?e:t.iconSize,t.iconSize)}),s=(0,a.Fl)(()=>{var o;return!i.value&&e.root&&r.value&&null!=(o=t.collapsedIconSize)?o:t.iconSize}),v=(0,a.Fl)(()=>{if(i.value)return;let{collapsedWidth:o,indent:a,rootIndent:c}=t,{root:s,isGroup:v}=e;return s?r.value?o/2-d.value/2:void 0===c?a:c:n&&"number"==typeof n.paddingLeftRef.value?a/2+n.paddingLeftRef.value:l&&"number"==typeof l.paddingLeftRef.value?(v?a/2:a)+l.paddingLeftRef.value:0}),u=(0,a.Fl)(()=>{let{collapsedWidth:o,indent:l,rootIndent:n}=t,{value:a}=d,{root:c}=e;return!i.value&&c&&r.value?(void 0===n?l:n)+a+8-(o+a)/2:8});return{dropdownPlacement:c,activeIconSize:s,maxIconSize:d,paddingLeft:v,iconMarginRight:u,NMenu:o,NSubmenu:l}}let k={internalKey:{type:[String,Number],required:!0},root:Boolean,isGroup:Boolean,level:{type:Number,required:!0},title:[String,Function],extra:[String,Function]};var $=t(42056);let R=(0,a.aZ)({name:"MenuDivider",setup(){let{mergedClsPrefixRef:e,isHorizontalRef:o}=(0,a.f3)(b);return()=>o.value?null:(0,a.h)("div",{class:`${e.value}-menu-divider`})}});var O=t(50144);let M=Object.assign(Object.assign({},k),{tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function}),j=(0,A.u)(M),L=(0,a.aZ)({name:"MenuOption",props:M,setup(e){let o=N(e),{NSubmenu:t,NMenu:r}=o,{props:l,mergedClsPrefixRef:n,mergedCollapsedRef:i}=r,c=t?t.mergedDisabledRef:{value:!1},d=(0,a.Fl)(()=>c.value||e.disabled);return{mergedClsPrefix:n,dropdownPlacement:o.dropdownPlacement,paddingLeft:o.paddingLeft,iconMarginRight:o.iconMarginRight,maxIconSize:o.maxIconSize,activeIconSize:o.activeIconSize,mergedTheme:r.mergedThemeRef,menuProps:l,dropdownEnabled:(0,B.Z)(()=>e.root&&i.value&&"horizontal"!==l.mode&&!d.value),selected:(0,B.Z)(()=>r.mergedValueRef.value===e.internalKey),mergedDisabled:d,handleClick:function(o){if(!d.value){r.doSelect(e.internalKey,e.tmNode.rawNode);let{onClick:t}=e;t&&t(o)}}}},render(){let{mergedClsPrefix:e,mergedTheme:o,tmNode:t,menuProps:{renderLabel:r,nodeProps:l}}=this,n=null==l?void 0:l(t.rawNode);return(0,a.h)("div",Object.assign({},n,{role:"menuitem",class:[`${e}-menu-item`,null==n?void 0:n.class]}),(0,a.h)(O.Z,{theme:o.peers.Tooltip,themeOverrides:o.peerOverrides.Tooltip,trigger:"hover",placement:this.dropdownPlacement,disabled:!this.dropdownEnabled||void 0===this.title,internalExtraClass:["menu-tooltip"]},{default:()=>r?r(t.rawNode):(0,P.s)(this.title),trigger:()=>(0,a.h)(Z,{tmNode:t,clsPrefix:e,paddingLeft:this.paddingLeft,iconMarginRight:this.iconMarginRight,maxIconSize:this.maxIconSize,activeIconSize:this.activeIconSize,selected:this.selected,title:this.title,extra:this.extra,disabled:this.mergedDisabled,icon:this.icon,onClick:this.handleClick})}))}}),_=Object.assign(Object.assign({},k),{tmNode:{type:Object,required:!0},tmNodes:{type:Array,required:!0}}),K=(0,A.u)(_),V=(0,a.aZ)({name:"MenuOptionGroup",props:_,setup(e){(0,a.JJ)(f,null);let o=N(e);(0,a.JJ)(x,{paddingLeftRef:o.paddingLeft});let{mergedClsPrefixRef:t,props:r}=(0,a.f3)(b);return function(){let{value:l}=t,n=o.paddingLeft.value,{nodeProps:i}=r,c=null==i?void 0:i(e.tmNode.rawNode);return(0,a.h)("div",{class:`${l}-menu-item-group`,role:"group"},(0,a.h)("div",Object.assign({},c,{class:[`${l}-menu-item-group-title`,null==c?void 0:c.class],style:[(null==c?void 0:c.style)||"",void 0!==n?`padding-left: ${n}px;`:""]}),(0,P.s)(e.title),e.extra?(0,a.h)(a.HY,null," ",(0,P.s)(e.extra)):null),(0,a.h)("div",null,e.tmNodes.map(e=>J(e,r))))}}});function U(e){return"divider"===e.type||"render"===e.type}function J(e,o){let{rawNode:t}=e,{show:r}=t;if(!1===r)return null;if(U(t))return"divider"===t.type?(0,a.h)(R,Object.assign({key:e.key},t.props)):null;let{labelField:l}=o,{key:n,level:i,isGroup:c}=e,d=Object.assign(Object.assign({},t),{title:t.title||t[l],extra:t.titleExtra||t.extra,key:n,internalKey:n,level:i,root:0===i,isGroup:c});return e.children?e.isGroup?(0,a.h)(V,(0,$.C)(d,K,{tmNode:e,tmNodes:e.children,key:n})):(0,a.h)(Y,(0,$.C)(d,D,{key:n,rawNodes:t[o.childrenField],tmNodes:e.children,tmNode:e})):(0,a.h)(L,(0,$.C)(d,j,{key:n,tmNode:e}))}let q=Object.assign(Object.assign({},k),{rawNodes:{type:Array,default:()=>[]},tmNodes:{type:Array,default:()=>[]},tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function,domId:String,virtualChildActive:{type:Boolean,default:void 0},isEllipsisPlaceholder:Boolean}),D=(0,A.u)(q),Y=(0,a.aZ)({name:"Submenu",props:q,setup(e){let o=N(e),{NMenu:t,NSubmenu:r}=o,{props:l,mergedCollapsedRef:n,mergedThemeRef:i}=t,c=(0,a.Fl)(()=>{let{disabled:o}=e;return null!=r&&!!r.mergedDisabledRef.value||!!l.disabled||o}),d=(0,a.iH)(!1);return(0,a.JJ)(f,{paddingLeftRef:o.paddingLeft,mergedDisabledRef:c}),(0,a.JJ)(x,null),{menuProps:l,mergedTheme:i,doSelect:t.doSelect,inverted:t.invertedRef,isHorizontal:t.isHorizontalRef,mergedClsPrefix:t.mergedClsPrefixRef,maxIconSize:o.maxIconSize,activeIconSize:o.activeIconSize,iconMarginRight:o.iconMarginRight,dropdownPlacement:o.dropdownPlacement,dropdownShow:d,paddingLeft:o.paddingLeft,mergedDisabled:c,mergedValue:t.mergedValueRef,childActive:(0,B.Z)(()=>{var o;return null!=(o=e.virtualChildActive)?o:t.activePathRef.value.includes(e.internalKey)}),collapsed:(0,a.Fl)(()=>"horizontal"!==l.mode&&(!!n.value||!t.mergedExpandedKeysRef.value.includes(e.internalKey))),dropdownEnabled:(0,a.Fl)(()=>!c.value&&("horizontal"===l.mode||n.value)),handlePopoverShowChange:function(e){d.value=e},handleClick:function(){if(!c.value){n.value||t.toggleExpand(e.internalKey);let{onClick:o}=e;o&&o()}}}},render(){var e;let{mergedClsPrefix:o,menuProps:{renderIcon:t,renderLabel:r}}=this,l=()=>{let{isHorizontal:e,paddingLeft:o,collapsed:t,mergedDisabled:r,maxIconSize:l,activeIconSize:n,title:i,childActive:c,icon:d,handleClick:s,menuProps:{nodeProps:v},dropdownShow:u,iconMarginRight:h,tmNode:m,mergedClsPrefix:p,isEllipsisPlaceholder:g,extra:b}=this,f=null==v?void 0:v(m.rawNode);return(0,a.h)("div",Object.assign({},f,{class:[`${p}-menu-item`,null==f?void 0:f.class],role:"menuitem"}),(0,a.h)(Z,{tmNode:m,paddingLeft:o,collapsed:t,disabled:r,iconMarginRight:h,maxIconSize:l,activeIconSize:n,title:i,extra:b,showArrow:!e,childActive:c,clsPrefix:p,icon:d,hover:u,onClick:s,isEllipsisPlaceholder:g}))},n=()=>(0,a.h)(E.Z,null,{default:()=>{let{tmNodes:e,collapsed:t}=this;return t?null:(0,a.h)("div",{class:`${o}-submenu-children`,role:"menu"},e.map(e=>J(e,this.menuProps)))}});return this.root?(0,a.h)(F.Z,Object.assign({size:"large",trigger:"hover"},null==(e=this.menuProps)?void 0:e.dropdownProps,{themeOverrides:this.mergedTheme.peerOverrides.Dropdown,theme:this.mergedTheme.peers.Dropdown,builtinThemeOverrides:{fontSizeLarge:"14px",optionIconSizeLarge:"18px"},value:this.mergedValue,disabled:!this.dropdownEnabled,placement:this.dropdownPlacement,keyField:this.menuProps.keyField,labelField:this.menuProps.labelField,childrenField:this.menuProps.childrenField,onUpdateShow:this.handlePopoverShowChange,options:this.rawNodes,onSelect:this.doSelect,inverted:this.inverted,renderIcon:t,renderLabel:r}),{default:()=>(0,a.h)("div",{class:`${o}-submenu`,role:"menu","aria-expanded":!this.collapsed,id:this.domId},l(),this.isHorizontal?null:n())}):(0,a.h)("div",{class:`${o}-submenu`,role:"menu","aria-expanded":!this.collapsed,id:this.domId},l(),n())}}),G=Object.assign(Object.assign({},s.Z.props),{options:{type:Array,default:()=>[]},collapsed:{type:Boolean,default:void 0},collapsedWidth:{type:Number,default:48},iconSize:{type:Number,default:20},collapsedIconSize:{type:Number,default:24},rootIndent:Number,indent:{type:Number,default:32},labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},disabledField:{type:String,default:"disabled"},defaultExpandAll:Boolean,defaultExpandedKeys:Array,expandedKeys:Array,value:[String,Number],defaultValue:{type:[String,Number],default:null},mode:{type:String,default:"vertical"},watchProps:{type:Array,default:void 0},disabled:Boolean,show:{type:Boolean,default:!0},inverted:Boolean,"onUpdate:expandedKeys":[Function,Array],onUpdateExpandedKeys:[Function,Array],onUpdateValue:[Function,Array],"onUpdate:value":[Function,Array],expandIcon:Function,renderIcon:Function,renderLabel:Function,renderExtra:Function,dropdownProps:Object,accordion:Boolean,nodeProps:Function,dropdownPlacement:{type:String,default:"bottom"},responsive:Boolean,items:Array,onOpenNamesChange:[Function,Array],onSelect:[Function,Array],onExpandedNamesChange:[Function,Array],expandedNames:Array,defaultExpandedNames:Array}),W=(0,a.aZ)({name:"Menu",inheritAttrs:!1,props:G,setup(e){let{mergedClsPrefixRef:o,inlineThemeDisabled:t}=(0,v.ZP)(e),c=(0,s.Z)("Menu","-menu",S,p.ZP,e,o),d=(0,a.f3)(m.T,null),g=(0,a.Fl)(()=>{var o;let{collapsed:t}=e;if(void 0!==t)return t;if(d){let{collapseModeRef:e,collapsedRef:t}=d;if("width"===e.value)return null!=(o=t.value)&&o}return!1}),f=(0,a.Fl)(()=>{let{keyField:o,childrenField:t,disabledField:r}=e;return(0,l.J)(e.items||e.options,{getIgnored:e=>U(e),getChildren:e=>e[t],getDisabled:e=>e[r],getKey(e){var t;return null!=(t=e[o])?t:e.name}})}),x=(0,a.Fl)(()=>new Set(f.value.treeNodes.map(e=>e.key))),{watchProps:C}=e,y=(0,a.iH)(null);(null==C?void 0:C.includes("defaultValue"))?(0,a.m0)(()=>{y.value=e.defaultValue}):y.value=e.defaultValue;let z=(0,a.Vh)(e,"value"),w=(0,n.Z)(z,y),I=(0,a.iH)([]),B=()=>{I.value=e.defaultExpandAll?f.value.getNonLeafKeys():e.defaultExpandedNames||e.defaultExpandedKeys||f.value.getPath(w.value,{includeSelf:!1}).keyPath};(null==C?void 0:C.includes("defaultExpandedKeys"))?(0,a.m0)(B):B();let E=(0,i.Z)(e,["expandedNames","expandedKeys"]),A=(0,n.Z)(E,I),F=(0,a.Fl)(()=>f.value.treeNodes),T=(0,a.Fl)(()=>f.value.getPath(w.value).keyPath);function H(o){let{"onUpdate:expandedKeys":t,onUpdateExpandedKeys:r,onExpandedNamesChange:l,onOpenNamesChange:n}=e;t&&(0,h.R)(t,o),r&&(0,h.R)(r,o),l&&(0,h.R)(l,o),n&&(0,h.R)(n,o),I.value=o}(0,a.JJ)(b,{props:e,mergedCollapsedRef:g,mergedThemeRef:c,mergedValueRef:w,mergedExpandedKeysRef:A,activePathRef:T,mergedClsPrefixRef:o,isHorizontalRef:(0,a.Fl)(()=>"horizontal"===e.mode),invertedRef:(0,a.Vh)(e,"inverted"),doSelect:function(o,t){let{"onUpdate:value":r,onUpdateValue:l,onSelect:n}=e;l&&(0,h.R)(l,o,t),r&&(0,h.R)(r,o,t),n&&(0,h.R)(n,o,t),y.value=o},toggleExpand:function(o){let t=Array.from(A.value),r=t.findIndex(e=>e===o);if(~r)t.splice(r,1);else{if(e.accordion&&x.value.has(o)){let e=t.findIndex(e=>x.value.has(e));e>-1&&t.splice(e,1)}t.push(o)}H(t)}});let P=(0,a.Fl)(()=>{let{inverted:o}=e,{common:{cubicBezierEaseInOut:t},self:r}=c.value,{borderRadius:l,borderColorHorizontal:n,fontSize:i,itemHeight:a,dividerColor:d}=r,s={"--n-divider-color":d,"--n-bezier":t,"--n-font-size":i,"--n-border-color-horizontal":n,"--n-border-radius":l,"--n-item-height":a};return o?(s["--n-group-text-color"]=r.groupTextColorInverted,s["--n-color"]=r.colorInverted,s["--n-item-text-color"]=r.itemTextColorInverted,s["--n-item-text-color-hover"]=r.itemTextColorHoverInverted,s["--n-item-text-color-active"]=r.itemTextColorActiveInverted,s["--n-item-text-color-child-active"]=r.itemTextColorChildActiveInverted,s["--n-item-text-color-child-active-hover"]=r.itemTextColorChildActiveInverted,s["--n-item-text-color-active-hover"]=r.itemTextColorActiveHoverInverted,s["--n-item-icon-color"]=r.itemIconColorInverted,s["--n-item-icon-color-hover"]=r.itemIconColorHoverInverted,s["--n-item-icon-color-active"]=r.itemIconColorActiveInverted,s["--n-item-icon-color-active-hover"]=r.itemIconColorActiveHoverInverted,s["--n-item-icon-color-child-active"]=r.itemIconColorChildActiveInverted,s["--n-item-icon-color-child-active-hover"]=r.itemIconColorChildActiveHoverInverted,s["--n-item-icon-color-collapsed"]=r.itemIconColorCollapsedInverted,s["--n-item-text-color-horizontal"]=r.itemTextColorHorizontalInverted,s["--n-item-text-color-hover-horizontal"]=r.itemTextColorHoverHorizontalInverted,s["--n-item-text-color-active-horizontal"]=r.itemTextColorActiveHorizontalInverted,s["--n-item-text-color-child-active-horizontal"]=r.itemTextColorChildActiveHorizontalInverted,s["--n-item-text-color-child-active-hover-horizontal"]=r.itemTextColorChildActiveHoverHorizontalInverted,s["--n-item-text-color-active-hover-horizontal"]=r.itemTextColorActiveHoverHorizontalInverted,s["--n-item-icon-color-horizontal"]=r.itemIconColorHorizontalInverted,s["--n-item-icon-color-hover-horizontal"]=r.itemIconColorHoverHorizontalInverted,s["--n-item-icon-color-active-horizontal"]=r.itemIconColorActiveHorizontalInverted,s["--n-item-icon-color-active-hover-horizontal"]=r.itemIconColorActiveHoverHorizontalInverted,s["--n-item-icon-color-child-active-horizontal"]=r.itemIconColorChildActiveHorizontalInverted,s["--n-item-icon-color-child-active-hover-horizontal"]=r.itemIconColorChildActiveHoverHorizontalInverted,s["--n-arrow-color"]=r.arrowColorInverted,s["--n-arrow-color-hover"]=r.arrowColorHoverInverted,s["--n-arrow-color-active"]=r.arrowColorActiveInverted,s["--n-arrow-color-active-hover"]=r.arrowColorActiveHoverInverted,s["--n-arrow-color-child-active"]=r.arrowColorChildActiveInverted,s["--n-arrow-color-child-active-hover"]=r.arrowColorChildActiveHoverInverted,s["--n-item-color-hover"]=r.itemColorHoverInverted,s["--n-item-color-active"]=r.itemColorActiveInverted,s["--n-item-color-active-hover"]=r.itemColorActiveHoverInverted,s["--n-item-color-active-collapsed"]=r.itemColorActiveCollapsedInverted):(s["--n-group-text-color"]=r.groupTextColor,s["--n-color"]=r.color,s["--n-item-text-color"]=r.itemTextColor,s["--n-item-text-color-hover"]=r.itemTextColorHover,s["--n-item-text-color-active"]=r.itemTextColorActive,s["--n-item-text-color-child-active"]=r.itemTextColorChildActive,s["--n-item-text-color-child-active-hover"]=r.itemTextColorChildActiveHover,s["--n-item-text-color-active-hover"]=r.itemTextColorActiveHover,s["--n-item-icon-color"]=r.itemIconColor,s["--n-item-icon-color-hover"]=r.itemIconColorHover,s["--n-item-icon-color-active"]=r.itemIconColorActive,s["--n-item-icon-color-active-hover"]=r.itemIconColorActiveHover,s["--n-item-icon-color-child-active"]=r.itemIconColorChildActive,s["--n-item-icon-color-child-active-hover"]=r.itemIconColorChildActiveHover,s["--n-item-icon-color-collapsed"]=r.itemIconColorCollapsed,s["--n-item-text-color-horizontal"]=r.itemTextColorHorizontal,s["--n-item-text-color-hover-horizontal"]=r.itemTextColorHoverHorizontal,s["--n-item-text-color-active-horizontal"]=r.itemTextColorActiveHorizontal,s["--n-item-text-color-child-active-horizontal"]=r.itemTextColorChildActiveHorizontal,s["--n-item-text-color-child-active-hover-horizontal"]=r.itemTextColorChildActiveHoverHorizontal,s["--n-item-text-color-active-hover-horizontal"]=r.itemTextColorActiveHoverHorizontal,s["--n-item-icon-color-horizontal"]=r.itemIconColorHorizontal,s["--n-item-icon-color-hover-horizontal"]=r.itemIconColorHoverHorizontal,s["--n-item-icon-color-active-horizontal"]=r.itemIconColorActiveHorizontal,s["--n-item-icon-color-active-hover-horizontal"]=r.itemIconColorActiveHoverHorizontal,s["--n-item-icon-color-child-active-horizontal"]=r.itemIconColorChildActiveHorizontal,s["--n-item-icon-color-child-active-hover-horizontal"]=r.itemIconColorChildActiveHoverHorizontal,s["--n-arrow-color"]=r.arrowColor,s["--n-arrow-color-hover"]=r.arrowColorHover,s["--n-arrow-color-active"]=r.arrowColorActive,s["--n-arrow-color-active-hover"]=r.arrowColorActiveHover,s["--n-arrow-color-child-active"]=r.arrowColorChildActive,s["--n-arrow-color-child-active-hover"]=r.arrowColorChildActiveHover,s["--n-item-color-hover"]=r.itemColorHover,s["--n-item-color-active"]=r.itemColorActive,s["--n-item-color-active-hover"]=r.itemColorActiveHover,s["--n-item-color-active-collapsed"]=r.itemColorActiveCollapsed),s}),Z=t?(0,u.F)("menu",(0,a.Fl)(()=>e.inverted?"a":"b"),P,e):void 0,N=(0,r.Mc)(),k=(0,a.iH)(null),$=(0,a.iH)(null),R=!0,O=()=>{var e;R?R=!1:null==(e=k.value)||e.sync({showAllItemsBeforeCalculate:!0})},M=(0,a.iH)(-1),j=(0,a.Fl)(()=>{let o=M.value;return{children:-1===o?[]:e.options.slice(o)}}),L=(0,a.Fl)(()=>{let{childrenField:o,disabledField:t,keyField:r}=e;return(0,l.J)([j.value],{getIgnored:e=>U(e),getChildren:e=>e[o],getDisabled:e=>e[t],getKey(e){var o;return null!=(o=e[r])?o:e.name}})}),_=(0,a.Fl)(()=>(0,l.J)([{}]).treeNodes[0]);return{mergedClsPrefix:o,controlledExpandedKeys:E,uncontrolledExpanededKeys:I,mergedExpandedKeys:A,uncontrolledValue:y,mergedValue:w,activePath:T,tmNodes:F,mergedTheme:c,mergedCollapsed:g,cssVars:t?void 0:P,themeClass:null==Z?void 0:Z.themeClass,overflowRef:k,counterRef:$,updateCounter:()=>{},onResize:O,onUpdateOverflow:function(e){e||(M.value=-1)},onUpdateCount:function(o){M.value=e.options.length-o},renderCounter:function(){var e;if(-1===M.value)return(0,a.h)(Y,{root:!0,level:0,key:"__ellpisisGroupPlaceholder__",internalKey:"__ellpisisGroupPlaceholder__",title:"\xb7\xb7\xb7",tmNode:_.value,domId:N,isEllipsisPlaceholder:!0});let o=L.value.treeNodes[0],t=T.value,r=!!(null==(e=o.children)?void 0:e.some(e=>t.includes(e.key)));return(0,a.h)(Y,{level:0,root:!0,key:"__ellpisisGroup__",internalKey:"__ellpisisGroup__",title:"\xb7\xb7\xb7",virtualChildActive:r,tmNode:o,domId:N,rawNodes:o.rawNode.children||[],tmNodes:o.children||[],isEllipsisPlaceholder:!0})},getCounter:function(){return document.getElementById(N)},onRender:null==Z?void 0:Z.onRender,showOption:o=>{let t=f.value.getPath(null!=o?o:w.value,{includeSelf:!1}).keyPath;if(!t.length)return;let r=new Set([...Array.from(A.value),...t]);e.accordion&&x.value.forEach(e=>{r.has(e)&&!t.includes(e)&&r.delete(e)}),H(Array.from(r))},deriveResponsiveState:O}},render(){let{mergedClsPrefix:e,mode:o,themeClass:t,onRender:r}=this;null==r||r();let l=()=>this.tmNodes.map(e=>J(e,this.$props)),n="horizontal"===o&&this.responsive,i=()=>(0,a.h)("div",(0,a.dG)(this.$attrs,{role:"horizontal"===o?"menubar":"menu",class:[`${e}-menu`,t,`${e}-menu--${o}`,n&&`${e}-menu--responsive`,this.mergedCollapsed&&`${e}-menu--collapsed`],style:this.cssVars}),n?(0,a.h)(c.Z,{ref:"overflowRef",onUpdateOverflow:this.onUpdateOverflow,getCounter:this.getCounter,onUpdateCount:this.onUpdateCount,updateCounter:this.updateCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:l,counter:this.renderCounter}):l());return n?(0,a.h)(d.Z,{onResize:this.onResize},{default:i}):i()}})}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/8013.81869de4.js b/core/public/dist/static/js/async/8013.81869de4.js
deleted file mode 100644
index fe25d272..00000000
--- a/core/public/dist/static/js/async/8013.81869de4.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:()=>u,WF:()=>m,Xc:()=>s,ef:()=>p,ij:()=>r});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.get("/email_template/get",{params:e})}function m(e){return n.e.post("/email_template/create",e,{fetchOptions:{loading:i("market.template.loading.creating"),successMessage:!0}})}function u(e){return n.e.post("/email_template/update",e,{fetchOptions:{loading:i("market.template.loading.updating"),successMessage:!0}})}function p(e){return n.e.post("/email_template/copy",e,{fetchOptions:{loading:i("market.template.loading.copying"),successMessage:!0}})}function s(e){return n.e.post("/email_template/delete",e,{fetchOptions:{loading:i("market.template.loading.deleting"),successMessage:!0}})}},20665: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/min/vs`}});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-5b65e670"]])},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(75754),o=a(66760),d=a(86559),r=a(58786),m=a(67655),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(20665),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"},W=(0,r.aZ)({__name:"TemplateForm",setup(e){let t=(0,r.RC)(()=>Promise.all([a.e("7303"),a.e("9780"),a.e("5513"),a.e("7502")]).then(a.bind(a,19811))),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,j=h.Z,z=v.ZP,T=_.Z;return(0,r.wg)(),(0,r.j4)((0,r.SU)(f),{title:(0,r.SU)(n),width:1200},{"footer-left":(0,r.w5)(()=>a[5]||(a[5]=[])),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)(z,{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)(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 C=a(65302),P=a(52495);function j(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,r.lA)(e)}let z=(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:()=>{z(e.html_content)}},j(a=t("common.actions.preview"))?a:{default:()=>[a]}),(0,r.Wm)(m.ZP,{type:"primary",text:!0,onClick:()=>{Z(e)}},j(l=t("common.actions.edit"))?l:{default:()=>[l]}),(0,r.Wm)(m.ZP,{type:"primary",text:!0,onClick:()=>{T(e)}},j(n=t("market.template.actions.duplicate"))?n:{default:()=>[n]}),(0,r.Wm)(m.ZP,{type:"error",text:!0,onClick:()=>{H(e)}},j(i=t("common.actions.delete"))?i:{default:()=>[i]})]})}}]),[S,U]=(0,s.d)({component:W,state:{isEdit:!1,refresh:y,preview:e=>{z(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}),z=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)(z,[["__scopeId","data-v-bd779390"]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/8013.fdb658c2.js b/core/public/dist/static/js/async/8013.fdb658c2.js
new file mode 100644
index 00000000..2fe67852
--- /dev/null
+++ b/core/public/dist/static/js/async/8013.fdb658c2.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:()=>u,WF:()=>m,Xc:()=>s,ef:()=>p,ij:()=>r});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.get("/email_template/get",{params:e})}function m(e){return n.e.post("/email_template/create",e,{fetchOptions:{loading:i("market.template.loading.creating"),successMessage:!0}})}function u(e){return n.e.post("/email_template/update",e,{fetchOptions:{loading:i("market.template.loading.updating"),successMessage:!0}})}function p(e){return n.e.post("/email_template/copy",e,{fetchOptions:{loading:i("market.template.loading.copying"),successMessage:!0}})}function s(e){return n.e.post("/email_template/delete",e,{fetchOptions:{loading:i("market.template.loading.deleting"),successMessage:!0}})}},20665: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/min/vs`}});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-5b65e670"]])},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(75754),o=a(66760),d=a(86559),r=a(58786),m=a(67655),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(20665),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"},W=(0,r.aZ)({__name:"TemplateForm",setup(e){let t=(0,r.RC)(()=>Promise.all([a.e("7303"),a.e("9780"),a.e("5867"),a.e("3697"),a.e("7502")]).then(a.bind(a,19811))),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,j=h.Z,z=v.ZP,T=_.Z;return(0,r.wg)(),(0,r.j4)((0,r.SU)(f),{title:(0,r.SU)(n),width:1200},{"footer-left":(0,r.w5)(()=>a[5]||(a[5]=[])),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)(z,{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)(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 C=a(65302),P=a(52495);function j(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,r.lA)(e)}let z=(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:()=>{z(e.html_content)}},j(a=t("common.actions.preview"))?a:{default:()=>[a]}),(0,r.Wm)(m.ZP,{type:"primary",text:!0,onClick:()=>{Z(e)}},j(l=t("common.actions.edit"))?l:{default:()=>[l]}),(0,r.Wm)(m.ZP,{type:"primary",text:!0,onClick:()=>{T(e)}},j(n=t("market.template.actions.duplicate"))?n:{default:()=>[n]}),(0,r.Wm)(m.ZP,{type:"error",text:!0,onClick:()=>{H(e)}},j(i=t("common.actions.delete"))?i:{default:()=>[i]})]})}}]),[S,U]=(0,s.d)({component:W,state:{isEdit:!1,refresh:y,preview:e=>{z(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}),z=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)(z,[["__scopeId","data-v-bd779390"]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/8275.2a254d10.js b/core/public/dist/static/js/async/8275.2a254d10.js
deleted file mode 100644
index b9c86a89..00000000
--- a/core/public/dist/static/js/async/8275.2a254d10.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["8275"],{39432:function(e,a,t){t.d(a,{Au:()=>v,Fj:()=>s,LC:()=>o,OV:()=>r,dj:()=>u,gK:()=>d,i7:()=>n,v1:()=>c,yW:()=>m});var l=t(34541);let{t:i}=t(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}}),v=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}}),m=e=>l.e.post("/ssl/apply_cert",e,{fetchOptions:{loading:i("domain.api.loading.applyingCert"),successMessage:!0}})},51169:function(e,a,t){t.d(a,{d:()=>o});var l=t(58786),i=t(49247);let n=Symbol("MODAL_INJECT"),o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{state:a={},component:t,onCancel:o,onConfirm:s}=e,d=(0,l.qj)({});return t?[(0,l.aZ)({setup(i,o){let{attrs:s,slots:u}=o;return(0,l.JJ)(n,{state:a,options:e,extendApi:e=>{Object.setPrototypeOf(d,e)},setState:e=>{Object.assign(a,e)}}),()=>(0,l.h)(t,{...i,...s},u)}}),d]:[(0,l.aZ)({setup(a,t){let{attrs:u,slots:r}=t,v=(0,l.f3)(n),c=(0,l.iH)(!1);return d.open=()=>{var a;c.value=!0,null==(a=e.onChangeState)||a.call(e,c.value)},d.close=()=>{c.value=!1},d.setState=a=>{var t;null==v||v.setState(a),null==(t=e.onChangeState)||t.call(e,c.value)},d.getState=()=>(null==v?void 0:v.state)??{},null==v||v.extendApi(d),()=>(0,l.Wm)(i.Z,(0,l.dG)({show:c.value},a,u,{onCancel:o,onConfirm:s,"onUpdate:show":e=>{c.value=e??!1}}),r)}}),d]}},67377:function(e,a,t){t.r(a),t.d(a,{default:()=>E});var l=t(57869),i=t(58786),n=t(22895),o=t(68271),s=t(51169),d=t(34541);let u=e=>d.e.get("/overview",{params:e}),r=e=>d.e.get("/overview/failed",{params:e});var v=t(17977),c=t(16715),m=t(77227),p=t(8490),g=t(17987),w=t(36760),y=t(49468),_=t(39432),f=t(52495);let h={class:"filter-bar"},b={class:"w-260px"},S={class:"date-filters"},U={class:"w-240px"},k=(0,i.aZ)({__name:"FilterBar",props:{domain:{},domainModifiers:{},dateRange:{},dateRangeModifiers:{}},emits:["update:domain","update:dateRange"],setup(e){let{t:a}=(0,f.QT)(),t=(0,i.tT)(e,"domain"),l=(0,i.tT)(e,"dateRange"),n=(0,i.iH)([{label:a("common.all.domain"),value:""}]),s=(0,i.iH)("today"),d=e=>{let a=new Date,t=(0,g.E)(a,-30);return(0,w.b)(t).getTime()>e||(0,y.i)(a).getTime()<e},u=e=>{switch(e){case"today":l.value=(0,o.wb)();break;case"yesterday":l.value=(0,o.wb)((0,g.E)(new Date,-1));break;case"last7days":l.value=r()}},r=()=>{let e=new Date,a=(0,y.i)(e);return[(0,w.b)((0,g.E)(e,-6)).getTime(),a.getTime()]},k=e=>{s.value="custom",l.value=[(0,w.b)(e[0]).getTime(),(0,y.i)(e[1]).getTime()]},Z=async()=>{let e=await (0,_.LC)();(0,o.kJ)(e)&&(n.value=e.map(e=>({label:e.domain,value:e.domain})),n.value.unshift({label:a("common.all.domain"),value:""}))};return(0,i.bv)(()=>{Z()}),(e,a)=>{let o=p.Z,r=m.Z,g=c.Z,w=v.Z;return(0,i.wg)(),(0,i.iD)("div",h,[(0,i._)("div",b,[(0,i.Wm)(o,{value:t.value,"onUpdate:value":a[0]||(a[0]=e=>t.value=e),options:(0,i.SU)(n)},null,8,["value","options"])]),(0,i._)("div",S,[(0,i.Wm)(g,{value:(0,i.SU)(s),"onUpdate:value":[a[1]||(a[1]=e=>(0,i.dq)(s)?s.value=e:null),u]},{default:(0,i.w5)(()=>[(0,i.Wm)(r,{value:"today"},{default:(0,i.w5)(()=>[(0,i.Uk)((0,i.zw)(e.$t("common.time.today")),1)]),_:1}),(0,i.Wm)(r,{value:"yesterday"},{default:(0,i.w5)(()=>[(0,i.Uk)((0,i.zw)(e.$t("common.time.yesterday")),1)]),_:1}),(0,i.Wm)(r,{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",U,[(0,i.Wm)(w,{value:l.value,type:"daterange","is-date-disabled":d,"onUpdate:value":k},null,8,["value"])])])])}}});var Z=t(41748);let W=(0,Z.default)(k,[["__scopeId","data-v-1552f451"]]);var D=t(18592),T=t(28405),H=t(94702),M=t(53475),F=t(75754),O=t(35409);let C=(0,i.aZ)({__name:"SendFailDetails",setup(e){let{t:a}=(0,f.QT)(),t=(0,i.iH)(!1),l=(0,i.iH)([]),n=(0,i.iH)([{key:"recipient",title:a("overview.sendFailDetails.columns.recipient"),width:160,render:e=>(0,i.Wm)(O.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)(O.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)(O.ZP,{class:e.tooltip?"":"break-all!","line-clamp":e.tooltip?9999:1,tooltip:!1},{default:()=>[e.description]})}]),d=e=>({onMousemove:()=>{e.tooltip=!0},onMouseleave:()=>{e.tooltip=!1}}),u=async(e,a,i)=>{try{t.value=!0;let n=await r({domain:e,start_time:a/1e3,end_time:i/1e3});l.value=(0,o.kJ)(n)?n:[]}finally{t.value=!1}},[v,c]=(0,s.d)({onChangeState:e=>{if(e){let e=c.getState();u(e.domain,e.startTime,e.endTime)}else l.value=[]}});return(e,o)=>{let s=F.Z;return(0,i.wg)(),(0,i.j4)((0,i.SU)(v),{title:(0,i.SU)(a)("overview.sendFailDetails.title"),width:1e3,footer:!1},{default:(0,i.w5)(()=>[(0,i.Wm)(s,{loading:(0,i.SU)(t),"max-height":600,data:(0,i.SU)(l),columns:(0,i.SU)(n),"row-props":d},null,8,["loading","data","columns"])]),_:1},8,["title"])}}}),j={class:"email-analytics-container"},q={class:"bt-title"},x={class:"metrics-cards"},J={class:"detail-row"},P={class:"rate-charts-card"},R=(0,i.aZ)({__name:"index",setup(e){let{t:a}=(0,f.QT)(),t=(0,i.iH)(""),d=(0,i.iH)((0,o.wb)()),r=(0,i.iH)([]),v=(0,i.qj)({delivery:{label:a("overview.delivered"),value:0},open:{label:a("overview.opened"),value:0},click:{label:a("overview.clicked"),value:0},bounce:{label:a("overview.bounced"),value:0}}),c=(0,i.iH)({column_type:"hourly",dashboard:{delivered:0,delivery_rate:0,failed:0,failure_rate:0,sends:0},data:[]}),m=(0,i.iH)({column_type:"hourly",data:[]}),p=(0,i.iH)({column_type:"hourly",data:[]}),g=(0,i.iH)({column_type:"hourly",data:[]}),[w,y]=(0,s.d)({component:C}),_=()=>{y.setState({domain:t.value,startTime:d.value[0],endTime:d.value[1]}),y.open()},h=(0,n.DI)(S,300),b=e=>{Object.entries(e).forEach(e=>{let[a,t]=e,l=a.replace("_rate","");l in v&&(v[l].value=t)})};async function S(){let e=await u({domain:t.value,start_time:Math.floor(d.value[0]/1e3),end_time:Math.floor(d.value[1]/1e3)});(0,o.Kn)(e)&&(b(e.dashboard),r.value=(0,o.kJ)(e.mail_providers)?e.mail_providers:[],c.value=e.send_mail_chart,m.value=e.bounce_rate_chart,p.value=e.click_rate_chart,g.value=e.open_rate_chart)}return(0,i.bv)(()=>{S()}),(e,n)=>{let o=l.ZP;return(0,i.wg)(),(0,i.iD)("div",j,[(0,i._)("div",q,(0,i.zw)((0,i.SU)(a)("layout.menu.overview")),1),(0,i.Wm)(W,{domain:(0,i.SU)(t),"onUpdate:domain":[n[0]||(n[0]=e=>(0,i.dq)(t)?t.value=e:null),(0,i.SU)(h)],"date-range":(0,i.SU)(d),"onUpdate:dateRange":[n[1]||(n[1]=e=>(0,i.dq)(d)?d.value=e:null),(0,i.SU)(h)]},null,8,["domain","date-range","onUpdate:domain","onUpdate:dateRange"]),(0,i._)("div",x,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)((0,i.SU)(v),(e,a)=>((0,i.wg)(),(0,i.j4)(D.Z,{key:a,title:e.label,value:e.value},null,8,["title","value"]))),128))]),(0,i._)("div",J,[(0,i.Wm)(o,{class:"provider-table-card",title:e.$t("overview.mailProviders")},{default:(0,i.w5)(()=>[(0,i.Wm)(T.Z,{value:(0,i.SU)(r),"onUpdate:value":n[2]||(n[2]=e=>(0,i.dq)(r)?r.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)(H.Z,{data:(0,i.SU)(c),onShowFail:_},null,8,["data"])]),_:1},8,["title"])]),(0,i._)("div",P,[(0,i.Wm)(M.Z,{bounce:(0,i.SU)(m),click:(0,i.SU)(p),open:(0,i.SU)(g)},null,8,["bounce","click","open"])]),(0,i.Wm)((0,i.SU)(w))])}}}),E=(0,Z.default)(R,[["__scopeId","data-v-f198c9f2"]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/8275.9583aa77.js b/core/public/dist/static/js/async/8275.9583aa77.js
new file mode 100644
index 00000000..e51f5e1f
--- /dev/null
+++ b/core/public/dist/static/js/async/8275.9583aa77.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["8275"],{39432:function(e,a,t){t.d(a,{Au:()=>v,Fj:()=>s,LC:()=>o,OV:()=>r,dj:()=>u,gK:()=>d,i7:()=>n,v1:()=>c,xh:()=>p,yW:()=>m});var l=t(34541);let{t:i}=t(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}}),v=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}}),m=e=>l.e.post("/ssl/apply_cert",e,{fetchOptions:{loading:i("domain.api.loading.applyingCert"),successMessage:!0}}),p=e=>l.e.post("/domains/set_default_domain",e,{fetchOptions:{loading:"Setting Default Domain, please wait...",successMessage:!0}})},51169:function(e,a,t){t.d(a,{d:()=>o});var l=t(58786),i=t(49247);let n=Symbol("MODAL_INJECT"),o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{state:a={},component:t,onCancel:o,onConfirm:s}=e,d=(0,l.qj)({});return t?[(0,l.aZ)({setup(i,o){let{attrs:s,slots:u}=o;return(0,l.JJ)(n,{state:a,options:e,extendApi:e=>{Object.setPrototypeOf(d,e)},setState:e=>{Object.assign(a,e)}}),()=>(0,l.h)(t,{...i,...s},u)}}),d]:[(0,l.aZ)({setup(a,t){let{attrs:u,slots:r}=t,v=(0,l.f3)(n),c=(0,l.iH)(!1);return d.open=()=>{var a;c.value=!0,null==(a=e.onChangeState)||a.call(e,c.value)},d.close=()=>{c.value=!1},d.setState=a=>{var t;null==v||v.setState(a),null==(t=e.onChangeState)||t.call(e,c.value)},d.getState=()=>(null==v?void 0:v.state)??{},null==v||v.extendApi(d),()=>(0,l.Wm)(i.Z,(0,l.dG)({show:c.value},a,u,{onCancel:o,onConfirm:s,"onUpdate:show":e=>{c.value=e??!1}}),r)}}),d]}},67377:function(e,a,t){t.r(a),t.d(a,{default:()=>E});var l=t(57869),i=t(58786),n=t(22895),o=t(68271),s=t(51169),d=t(34541);let u=e=>d.e.get("/overview",{params:e}),r=e=>d.e.get("/overview/failed",{params:e});var v=t(17977),c=t(16715),m=t(77227),p=t(8490),g=t(17987),w=t(36760),f=t(49468),_=t(39432),y=t(52495);let h={class:"filter-bar"},b={class:"w-260px"},S={class:"date-filters"},U={class:"w-240px"},k=(0,i.aZ)({__name:"FilterBar",props:{domain:{},domainModifiers:{},dateRange:{},dateRangeModifiers:{}},emits:["update:domain","update:dateRange"],setup(e){let{t:a}=(0,y.QT)(),t=(0,i.tT)(e,"domain"),l=(0,i.tT)(e,"dateRange"),n=(0,i.iH)([{label:a("common.all.domain"),value:""}]),s=(0,i.iH)("today"),d=e=>{let a=new Date,t=(0,g.E)(a,-30);return(0,w.b)(t).getTime()>e||(0,f.i)(a).getTime()<e},u=e=>{switch(e){case"today":l.value=(0,o.wb)();break;case"yesterday":l.value=(0,o.wb)((0,g.E)(new Date,-1));break;case"last7days":l.value=r()}},r=()=>{let e=new Date,a=(0,f.i)(e);return[(0,w.b)((0,g.E)(e,-6)).getTime(),a.getTime()]},k=e=>{s.value="custom",l.value=[(0,w.b)(e[0]).getTime(),(0,f.i)(e[1]).getTime()]},D=async()=>{let e=await (0,_.LC)();(0,o.kJ)(e)&&(n.value=e.map(e=>({label:e.domain,value:e.domain})),n.value.unshift({label:a("common.all.domain"),value:""}))};return(0,i.bv)(()=>{D()}),(e,a)=>{let o=p.Z,r=m.Z,g=c.Z,w=v.Z;return(0,i.wg)(),(0,i.iD)("div",h,[(0,i._)("div",b,[(0,i.Wm)(o,{value:t.value,"onUpdate:value":a[0]||(a[0]=e=>t.value=e),options:(0,i.SU)(n)},null,8,["value","options"])]),(0,i._)("div",S,[(0,i.Wm)(g,{value:(0,i.SU)(s),"onUpdate:value":[a[1]||(a[1]=e=>(0,i.dq)(s)?s.value=e:null),u]},{default:(0,i.w5)(()=>[(0,i.Wm)(r,{value:"today"},{default:(0,i.w5)(()=>[(0,i.Uk)((0,i.zw)(e.$t("common.time.today")),1)]),_:1}),(0,i.Wm)(r,{value:"yesterday"},{default:(0,i.w5)(()=>[(0,i.Uk)((0,i.zw)(e.$t("common.time.yesterday")),1)]),_:1}),(0,i.Wm)(r,{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",U,[(0,i.Wm)(w,{value:l.value,type:"daterange","is-date-disabled":d,"onUpdate:value":k},null,8,["value"])])])])}}});var D=t(41748);let Z=(0,D.default)(k,[["__scopeId","data-v-1552f451"]]);var W=t(18592),T=t(28405),H=t(94702),M=t(53475),O=t(75754),F=t(35409);let C=(0,i.aZ)({__name:"SendFailDetails",setup(e){let{t:a}=(0,y.QT)(),t=(0,i.iH)(!1),l=(0,i.iH)([]),n=(0,i.iH)([{key:"recipient",title:a("overview.sendFailDetails.columns.recipient"),width:160,render:e=>(0,i.Wm)(F.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)(F.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)(F.ZP,{class:e.tooltip?"":"break-all!","line-clamp":e.tooltip?9999:1,tooltip:!1},{default:()=>[e.description]})}]),d=e=>({onMousemove:()=>{e.tooltip=!0},onMouseleave:()=>{e.tooltip=!1}}),u=async(e,a,i)=>{try{t.value=!0;let n=await r({domain:e,start_time:a/1e3,end_time:i/1e3});l.value=(0,o.kJ)(n)?n:[]}finally{t.value=!1}},[v,c]=(0,s.d)({onChangeState:e=>{if(e){let e=c.getState();u(e.domain,e.startTime,e.endTime)}else l.value=[]}});return(e,o)=>{let s=O.Z;return(0,i.wg)(),(0,i.j4)((0,i.SU)(v),{title:(0,i.SU)(a)("overview.sendFailDetails.title"),width:1e3,footer:!1},{default:(0,i.w5)(()=>[(0,i.Wm)(s,{loading:(0,i.SU)(t),"max-height":600,data:(0,i.SU)(l),columns:(0,i.SU)(n),"row-props":d},null,8,["loading","data","columns"])]),_:1},8,["title"])}}}),j={class:"email-analytics-container"},x={class:"bt-title"},q={class:"metrics-cards"},J={class:"detail-row"},P={class:"rate-charts-card"},R=(0,i.aZ)({__name:"index",setup(e){let{t:a}=(0,y.QT)(),t=(0,i.iH)(""),d=(0,i.iH)((0,o.wb)()),r=(0,i.iH)([]),v=(0,i.qj)({delivery:{label:a("overview.delivered"),value:0},open:{label:a("overview.opened"),value:0},click:{label:a("overview.clicked"),value:0},bounce:{label:a("overview.bounced"),value:0}}),c=(0,i.iH)({column_type:"hourly",dashboard:{delivered:0,delivery_rate:0,failed:0,failure_rate:0,sends:0},data:[]}),m=(0,i.iH)({column_type:"hourly",data:[]}),p=(0,i.iH)({column_type:"hourly",data:[]}),g=(0,i.iH)({column_type:"hourly",data:[]}),[w,f]=(0,s.d)({component:C}),_=()=>{f.setState({domain:t.value,startTime:d.value[0],endTime:d.value[1]}),f.open()},h=(0,n.DI)(S,300),b=e=>{Object.entries(e).forEach(e=>{let[a,t]=e,l=a.replace("_rate","");l in v&&(v[l].value=t)})};async function S(){let e=await u({domain:t.value,start_time:Math.floor(d.value[0]/1e3),end_time:Math.floor(d.value[1]/1e3)});(0,o.Kn)(e)&&(b(e.dashboard),r.value=(0,o.kJ)(e.mail_providers)?e.mail_providers:[],c.value=e.send_mail_chart,m.value=e.bounce_rate_chart,p.value=e.click_rate_chart,g.value=e.open_rate_chart)}return(0,i.bv)(()=>{S()}),(e,n)=>{let o=l.ZP;return(0,i.wg)(),(0,i.iD)("div",j,[(0,i._)("div",x,(0,i.zw)((0,i.SU)(a)("layout.menu.overview")),1),(0,i.Wm)(Z,{domain:(0,i.SU)(t),"onUpdate:domain":[n[0]||(n[0]=e=>(0,i.dq)(t)?t.value=e:null),(0,i.SU)(h)],"date-range":(0,i.SU)(d),"onUpdate:dateRange":[n[1]||(n[1]=e=>(0,i.dq)(d)?d.value=e:null),(0,i.SU)(h)]},null,8,["domain","date-range","onUpdate:domain","onUpdate:dateRange"]),(0,i._)("div",q,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)((0,i.SU)(v),(e,a)=>((0,i.wg)(),(0,i.j4)(W.Z,{key:a,title:e.label,value:e.value},null,8,["title","value"]))),128))]),(0,i._)("div",J,[(0,i.Wm)(o,{class:"provider-table-card",title:e.$t("overview.mailProviders")},{default:(0,i.w5)(()=>[(0,i.Wm)(T.Z,{value:(0,i.SU)(r),"onUpdate:value":n[2]||(n[2]=e=>(0,i.dq)(r)?r.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)(H.Z,{data:(0,i.SU)(c),onShowFail:_},null,8,["data"])]),_:1},8,["title"])]),(0,i._)("div",P,[(0,i.Wm)(M.Z,{bounce:(0,i.SU)(m),click:(0,i.SU)(p),open:(0,i.SU)(g)},null,8,["bounce","click","open"])]),(0,i.Wm)((0,i.SU)(w))])}}}),E=(0,D.default)(R,[["__scopeId","data-v-f198c9f2"]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/8642.229a5c24.js b/core/public/dist/static/js/async/8642.229a5c24.js
deleted file mode 100644
index dc2379cb..00000000
--- a/core/public/dist/static/js/async/8642.229a5c24.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["8642"],{77984:function(e,t,l){l.d(t,{F:()=>r});var s=l(68271),a=l(94821),n=l(76882);let r=()=>{let{t:e}=n.Z.global,{copy:t,isSupported:l}=(0,a.VPI)({legacy:!0});return{copyText:async a=>{if(!a)return void s.v0.error(e("common.useCopy.noText"));l.value?(await t(a),s.v0.success(e("common.useCopy.success"))):s.v0.error(e("common.useCopy.failed"))}}}},74055:function(e,t,l){l.r(t),l.d(t,{default:()=>ej});var s=l(58786),a=l(30989),n=l(15410),r=l(68271),i=l(34541);let m=()=>i.e.get("/settings/get_system_config"),u=()=>i.e.get("/settings/get_timezone_list"),o=e=>i.e.post("/settings/set_system_config_key",e,{fetchOptions:{loading:"Setting the system configuration, please wait...",successMessage:!0}}),c=e=>i.e.post("/settings/set_ssl_config",e,{fetchOptions:{loading:"Setting SSL, please wait...",successMessage:!0}}),d=()=>i.e.post("/ssl/console_apply_cert",{},{fetchOptions:{loading:"Applying certificate, please wait...",successMessage:!0}}),v=(0,a.Q_)("SettingsCommonStore",()=>{let e=(0,s.iH)(""),t=(0,s.iH)(!1),l=(0,s.iH)({level:"weak",score:0}),a=(0,s.iH)(""),i=(0,s.qj)({username:"",newPassword:"",confirmPassword:"",securityPath:""}),u=(0,s.qj)({domain:"",sslEnabled:!0,sslCert:"",sslKey:""}),o=(0,s.qj)({status:!1,expireTime:"",expireDays:0}),c=(0,s.iH)(""),d=(0,s.iH)(""),v=(0,s.iH)(""),p=(0,s.iH)(""),g=(0,s.iH)(""),w=(0,s.iH)(""),_=async()=>{let t=await m();if((0,r.Kn)(t)&&(e.value=t.admin_username,a.value=t.safe_path,c.value=t.billionmail_hostname,w.value=t.server_ip,t.manage_ports&&(d.value=`${t.manage_ports.https}`,v.value=t.manage_ports.command_https),t.manage_timezone&&(p.value=t.manage_timezone.timezone,g.value=t.manage_timezone.command),t.ssl)){u.sslCert=t.ssl.certPem,u.sslKey=t.ssl.privateKey,o.status=t.ssl.status;let e=new Date(t.ssl.notAfter);o.expireTime=(0,r.mr)(e,"yyyy-MM-dd"),o.expireDays=(0,n.j)(e,new Date)}};return{currentUsername:e,currentPath:a,passwordMismatch:t,passwordStrength:l,securityForm:i,networkForm:u,sslInfo:o,currentDomain:c,currentPort:d,portCommand:v,currentTime:p,timeCommand:g,serverIp:w,checkPasswordStrength:()=>{let e=i.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:_,reset:()=>{i.username="",i.newPassword="",i.confirmPassword="",i.securityPath="",u.domain="",u.sslEnabled=!0,u.sslCert="",u.sslKey="",o.status=!1,o.expireTime="",o.expireDays=0,d.value="",v.value="",p.value="",g.value="",w.value="",t.value=!1,l.value={level:"weak",score:0}}}}),p=()=>{let e=v();return{...e,...(0,a.Jk)(e)}};var g=l(57869),w=l(98048),_=l(33756),y=l(56357),f=l(67655),x=l(6455),S=l(73084),U=l(52495);let h={class:"flex-1 grid grid-cols-1 md:grid-cols-2 gap-4"},b={class:"mt-1 text-xs text-desc"},k={class:"mt-1 text-xs text-desc"},P={class:"mt-4px"},W=(0,s.aZ)({__name:"UsernameSettings",setup(e,t){let{expose:l}=t,{t:a}=(0,U.QT)(),{currentUsername:n,securityForm:r}=p(),i=(0,s.AE)("formItemRef"),m=async()=>{var e;await (null==(e=i.value)?void 0:e.validate()),await o({key:"admin_username",value:r.value.username}),n.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(a("settings.common.security.usernameValidation.lengthError")):/^[a-zA-Z0-9_]+$/.test(e)?e!==n.value||Error(a("settings.common.security.usernameValidation.duplicateError")):Error(a("settings.common.security.usernameValidation.formatError"))}}}}),(e,t)=>{let l=S.Z,a=x.ZP,u=f.ZP;return(0,s.wg)(),(0,s.iD)(s.HY,null,[(0,s.Wm)(a,{ref_key:"formItemRef",ref:i,label:e.$t("settings.common.security.username"),path:"username"},{default:(0,s.w5)(()=>[(0,s._)("div",h,[(0,s._)("div",null,[(0,s.Wm)(l,{value:(0,s.SU)(n),disabled:""},null,8,["value"]),(0,s._)("p",b,(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",k,(0,s.zw)(e.$t("settings.common.security.usernameRule")),1)])])]),_:1},8,["label"]),(0,s._)("div",P,[(0,s.Wm)(u,{type:"primary",disabled:!(0,s.SU)(r).username,onClick:m},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)(e.$t("settings.common.confirm")),1)]),_:1},8,["disabled"])])],64)}}}),Z={class:"mt-2 flex items-center"},z={class:"flex-1 bg-gray-200 rounded-full h-1 mr-2"},C={class:"text-xs text-gray-500"},H=(0,s.aZ)({__name:"PasswordStrengthIndicator",props:{strength:{type:Object,required:!0}},setup(e){let{t}=(0,U.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"}}),a=(0,s.Fl)(()=>{switch(e.strength.level){case"weak":return"30%";case"medium":return"60%";case"strong":return"100%";default:return"0%"}}),n=(0,s.Fl)(()=>t(`settings.common.security.strength.${e.strength.level}`));return(e,r)=>((0,s.wg)(),(0,s.iD)("div",Z,[(0,s._)("div",z,[(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)(a)})},null,6)]),(0,s._)("span",C,(0,s.zw)((0,s.SU)(t)("settings.common.security.passwordStrength"))+": "+(0,s.zw)((0,s.SU)(n)),1)]))}}),E={class:"flex-1 flex flex-col gap-20px"},T=(0,s.aZ)({__name:"PasswordSettings",setup(e,t){let{expose:l}=t,{t:a}=(0,U.QT)(),{securityForm:n,passwordStrength:r,checkPasswordStrength:i}=p(),m=(0,s.AE)("formItemRef"),u=(0,s.Fl)(()=>!n.value.newPassword||!n.value.confirmPassword),c=()=>{i()},d=async()=>{var e;await (null==(e=m.value)?void 0:e.validate()),await o({key:"admin_password",value:n.value.newPassword}),n.value.newPassword="",n.value.confirmPassword=""};return l({rules:{password:{trigger:["input","blur"],validator:()=>!n.value.newPassword||!n.value.confirmPassword||n.value.newPassword===n.value.confirmPassword||Error(a("settings.common.security.passwordMismatch"))}}}),(e,t)=>{let l=S.Z,i=x.ZP,o=f.ZP;return(0,s.wg)(),(0,s.iD)(s.HY,null,[(0,s.Wm)(i,{ref_key:"formItemRef",ref:m,label:e.$t("settings.common.security.changePassword"),path:"password"},{default:(0,s.w5)(()=>[(0,s._)("div",E,[(0,s._)("div",null,[(0,s.Wm)(l,{value:(0,s.SU)(n).newPassword,"onUpdate:value":[t[0]||(t[0]=e=>(0,s.SU)(n).newPassword=e),c],type:"password",class:"password-input","show-password-on":"click",placeholder:(0,s.SU)(a)("settings.common.security.newPassword")},null,8,["value","placeholder"]),(0,s.Wm)(H,{strength:(0,s.SU)(r)},null,8,["strength"])]),(0,s._)("div",null,[(0,s.Wm)(l,{value:(0,s.SU)(n).confirmPassword,"onUpdate:value":t[1]||(t[1]=e=>(0,s.SU)(n).confirmPassword=e),type:"password",class:"password-input","show-password-on":"click",placeholder:(0,s.SU)(a)("settings.common.security.confirmPassword")},null,8,["value","placeholder"])])])]),_:1},8,["label"]),(0,s._)("div",null,[(0,s.Wm)(o,{type:"primary",disabled:(0,s.SU)(u),onClick:d},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(a)("settings.common.confirm")),1)]),_:1},8,["disabled"])])],64)}}}),$={class:"flex-1 grid grid-cols-1 md:grid-cols-2 gap-4"},D={class:"mt-1 text-xs text-desc"},R={class:"mt-1 text-xs text-desc"},A={class:"mt-4px"},K=(0,s.aZ)({__name:"SecurityPathSettings",setup(e){let{t}=(0,U.QT)(),{currentPath:l,securityForm:a}=p(),n=async()=>{await o({key:"safe_path",value:a.value.securityPath}),l.value=a.value.securityPath,a.value.securityPath=""};return(e,r)=>{let i=S.Z,m=x.ZP,u=f.ZP;return(0,s.wg)(),(0,s.iD)(s.HY,null,[(0,s.Wm)(m,{label:(0,s.SU)(t)("settings.common.security.securityPath")},{default:(0,s.w5)(()=>[(0,s._)("div",$,[(0,s._)("div",null,[(0,s.Wm)(i,{value:(0,s.SU)(l),disabled:""},null,8,["value"]),(0,s._)("p",D,(0,s.zw)((0,s.SU)(t)("settings.common.security.currentPath")),1)]),(0,s._)("div",null,[(0,s.Wm)(i,{value:(0,s.SU)(a).securityPath,"onUpdate:value":r[0]||(r[0]=e=>(0,s.SU)(a).securityPath=e),placeholder:(0,s.SU)(t)("settings.common.security.newPathPlaceholder")},null,8,["value","placeholder"]),(0,s._)("p",R,(0,s.zw)((0,s.SU)(t)("settings.common.security.pathRule")),1)])])]),_:1},8,["label"]),(0,s._)("div",A,[(0,s.Wm)(u,{type:"primary",disabled:!(0,s.SU)(a).securityPath,onClick:n},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(t)("settings.common.confirm")),1)]),_:1},8,["disabled"])])],64)}}}),j={class:"flex items-center"},I={class:"text-lg font-medium"},q=(0,s.aZ)({__name:"SecuritySettings",setup(e){let{t}=(0,U.QT)(),{securityForm:l}=p(),a=(0,s.iH)({}),n=(0,s.AE)("usernameRef"),r=(0,s.AE)("passwordRef");return(0,s.bv)(()=>{n.value&&(a.value={...a.value,...n.value.rules}),r.value&&(a.value={...a.value,...r.value.rules})}),(e,i)=>{let m=y.g,u=_.Z,o=w.Z,c=g.ZP;return(0,s.wg)(),(0,s.j4)(c,{class:"mb-8",bordered:!1},{header:(0,s.w5)(()=>[(0,s._)("div",j,[(0,s.Wm)(m,{class:"mr-2 text-primary",size:"20"},{default:(0,s.w5)(()=>i[0]||(i[0]=[(0,s._)("i",{class:"i-mdi-shield-account"},null,-1)])),_:1,__:[0]}),(0,s._)("span",I,(0,s.zw)((0,s.SU)(t)("settings.common.security.title")),1)])]),default:(0,s.w5)(()=>[(0,s.Wm)(o,{model:(0,s.SU)(l),rules:(0,s.SU)(a)},{default:(0,s.w5)(()=>[(0,s.Wm)(W,{ref_key:"usernameRef",ref:n},null,512),(0,s.Wm)(u),(0,s.Wm)(T,{ref_key:"passwordRef",ref:r},null,512),(0,s.Wm)(u),(0,s.Wm)(K)]),_:1},8,["model","rules"])]),_:1})}}});var F=l(29875);let O={class:"block text-sm font-medium mb-3"},Q={class:"flex items-center mb-4"},M={class:"ml-2 font-medium"},V={class:"mt-6"},Y={class:"block text-sm font-medium mb-2"},L={class:"flex items-center"},N={class:"text-sm"},J={class:"text-sm"},G={class:"text-sm"},B={class:"mt-6"},X={class:"block text-sm font-medium mb-2"},ee={class:"mt-4"},et={class:"block text-sm font-medium mb-2"},el={class:"mt-6"},es=(0,s.aZ)({__name:"SSLSettings",setup(e){let{t}=(0,U.QT)(),{networkForm:l,sslInfo:a,currentDomain:n,serverIp:i,getCommonConfig:m}=p(),u=(0,s.Fl)(()=>!l.value.sslCert||!l.value.sslKey),o=async()=>{await c({certPem:l.value.sslCert,privateKey:l.value.sslKey}),m()},v=()=>{(0,r.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,[n.value])]),(0,s.Wm)("div",null,[(0,s.Uk)("- Value: "),(0,s.Wm)("b",null,[i.value])])]),onConfirm:async()=>{await d(),m()}})};return(e,n)=>{let r=F.Z,i=S.Z,m=f.ZP;return(0,s.wg)(),(0,s.iD)("div",null,[(0,s._)("label",O,(0,s.zw)((0,s.SU)(t)("settings.common.network.ssl")),1),(0,s._)("div",Q,[(0,s.Wm)(r,{value:(0,s.SU)(l).sslEnabled,"onUpdate:value":n[0]||(n[0]=e=>(0,s.SU)(l).sslEnabled=e),disabled:""},null,8,["value"]),(0,s._)("label",M,(0,s.zw)((0,s.SU)(t)("settings.common.network.sslEnabled")),1)]),(0,s._)("div",V,[(0,s._)("label",Y,(0,s.zw)((0,s.SU)(t)("settings.common.network.certStatus")),1),(0,s._)("div",L,[(0,s._)("div",{class:(0,s.C_)(["w-3 h-3 rounded-full mr-2 animate-pulse",(0,s.SU)(a).status?"bg-primary":"bg-error"])},null,2),(0,s._)("span",N,(0,s.zw)((0,s.SU)(a).status?(0,s.SU)(t)("settings.common.network.certValidStatus"):(0,s.SU)(t)("settings.common.network.certExpiredStatus"))+", ",1),(0,s._)("span",J,(0,s.zw)((0,s.SU)(t)("settings.common.network.certExpireTime",{time:(0,s.SU)(a).expireTime})),1),(0,s._)("span",G,(0,s.zw)((0,s.SU)(t)("settings.common.network.certValid",{days:(0,s.SU)(a).expireDays})),1)])]),(0,s._)("div",B,[(0,s._)("label",X,(0,s.zw)((0,s.SU)(t)("settings.common.network.sslCert")),1),(0,s.Wm)(i,{value:(0,s.SU)(l).sslCert,"onUpdate:value":n[1]||(n[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",ee,[(0,s._)("label",et,(0,s.zw)((0,s.SU)(t)("settings.common.network.sslKey")),1),(0,s.Wm)(i,{value:(0,s.SU)(l).sslKey,"onUpdate:value":n[2]||(n[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",el,[(0,s.Wm)(m,{type:"primary",disabled:(0,s.SU)(u),onClick:o},{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)(m,{type:"primary",class:"ml-12px",ghost:"",onClick:v},{default:(0,s.w5)(()=>n[3]||(n[3]=[(0,s.Uk)(" Apply Certificate ")])),_:1,__:[3]})])])}}}),ea={class:"flex-1 grid grid-cols-1 md:grid-cols-2 gap-4"},en={class:"mt-1 text-xs text-gray-500"},er={class:"mt-1 text-xs text-gray-500"},ei=(0,s.aZ)({__name:"DomainSettings",setup(e){let{currentDomain:t,networkForm:l}=p(),a=async()=>{await o({key:"billionmail_hostname",value:l.value.domain}),t.value=l.value.domain,l.value.domain=""};return(e,n)=>{let r=S.Z,i=x.ZP,m=f.ZP;return(0,s.wg)(),(0,s.iD)(s.HY,null,[(0,s.Wm)(i,{label:e.$t("settings.common.network.domain")},{default:(0,s.w5)(()=>[(0,s._)("div",ea,[(0,s._)("div",null,[(0,s.Wm)(r,{value:(0,s.SU)(t),disabled:""},null,8,["value"]),(0,s._)("p",en,(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":n[0]||(n[0]=e=>(0,s.SU)(l).domain=e),placeholder:e.$t("settings.common.network.newDomainPlaceholder")},null,8,["value","placeholder"]),(0,s._)("p",er,(0,s.zw)(e.$t("settings.common.network.domainRule")),1)])])]),_:1},8,["label"]),(0,s._)("div",null,[(0,s.Wm)(m,{type:"primary",disabled:!(0,s.SU)(l).domain,onClick:a},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)(e.$t("settings.common.confirm")),1)]),_:1},8,["disabled"])])],64)}}}),em={class:"flex items-center"},eu={class:"text-lg font-medium"},eo=(0,s.aZ)({__name:"NetworkSettings",setup:e=>(e,t)=>{let l=y.g,a=_.Z,n=w.Z,r=g.ZP;return(0,s.wg)(),(0,s.j4)(r,{class:"mb-8",bordered:!1},{header:(0,s.w5)(()=>[(0,s._)("div",em,[(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",eu,(0,s.zw)(e.$t("settings.common.network.title")),1)])]),default:(0,s.w5)(()=>[(0,s.Wm)(n,null,{default:(0,s.w5)(()=>[(0,s.Wm)(es),(0,s.Wm)(a),(0,s.Wm)(ei)]),_:1})]),_:1})}});var ec=l(99321),ed=l(77984);let ev={class:"bg-gray-900 text-gray-100 rounded-lg p-4 pr-48px font-mono text-sm relative"},ep={class:"absolute top-0px right-16px h-full flex items-center"},eg={class:"mt-2 text-12px text-desc"},ew=(0,s.aZ)({__name:"Command",props:{value:{type:String,default:""}},setup(e){let{copyText:t}=(0,ed.F)();return(l,a)=>{let n=f.ZP;return(0,s.wg)(),(0,s.iD)(s.HY,null,[(0,s._)("div",ev,[a[2]||(a[2]=(0,s._)("span",{class:"text-gray-400 mr-2"},"$",-1)),(0,s.Uk)((0,s.zw)(e.value)+" ",1),(0,s._)("div",ep,[(0,s.Wm)(n,{text:"",class:"text-desc",onClick:a[0]||(a[0]=l=>(0,s.SU)(t)(e.value))},{default:(0,s.w5)(()=>a[1]||(a[1]=[(0,s._)("i",{class:"i-mdi-content-copy text-18px"},null,-1)])),_:1,__:[1]})])]),(0,s._)("p",eg,(0,s.zw)(l.$t("settings.common.system.copyCommand")),1)],64)}}}),e_={class:"block text-sm font-medium text-gray-700 mb-3"},ey={class:"grid items-start grid-cols-1 md:grid-cols-2 gap-4"},ef={class:"mt-1 text-xs text-desc"},ex={class:"flex items-center"},eS={class:"mt-5"},eU=(0,s.aZ)({__name:"PortSettings",setup(e){let{t}=(0,U.QT)(),{currentPort:l,portCommand:a}=p(),n=(0,s.iH)(l.value),r=(0,s.iH)(""),i=e=>{r.value=a.value.replace(/PORT/g,e)};return(0,s.m0)(()=>{n.value=l.value,l.value&&(r.value=a.value.replace(/PORT/g,l.value))}),(e,l)=>{let a=S.Z,m=y.g,u=ec.Z;return(0,s.wg)(),(0,s.iD)("div",null,[(0,s._)("label",e_,(0,s.zw)((0,s.SU)(t)("settings.common.system.port")),1),(0,s._)("div",ey,[(0,s._)("div",null,[(0,s.Wm)(a,{value:(0,s.SU)(n),"onUpdate:value":[l[0]||(l[0]=e=>(0,s.dq)(n)?n.value=e:null),i]},null,8,["value"]),(0,s._)("p",ef,(0,s.zw)((0,s.SU)(t)("settings.common.system.currentPort")),1)]),(0,s._)("div",ex,[(0,s.Wm)(u,{type:"warning",class:"w-full"},{icon:(0,s.w5)(()=>[(0,s.Wm)(m,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",eS,[(0,s.Wm)(ew,{value:(0,s.SU)(r)},null,8,["value"])])])}}});var eh=l(8490);let eb={class:"block text-sm font-medium text-gray-700 mb-3"},ek={class:"grid items-start grid-cols-1 md:grid-cols-2 gap-4"},eP={class:"flex gap-12px"},eW={class:"flex-1"},eZ={class:"flex-1"},ez={class:"mt-1 text-xs text-desc"},eC={class:"flex items-center"},eH={class:"mt-5"},eE=(0,s.aZ)({__name:"TimezoneSettings",setup(e){let{t}=(0,U.QT)(),{currentTime:l,timeCommand:a}=p(),n=(0,s.iH)(""),i=(0,s.iH)(""),m=(0,s.iH)(""),o=(0,s.iH)({}),c=(0,s.iH)([]),d=(0,s.Fl)(()=>{let e=o.value[n.value];return e?e.map(e=>({label:e,value:e})):[]}),v=()=>{let e=o.value[n.value];i.value=e?e[0]:"",g()},g=()=>{n.value&&i.value&&(m.value=a.value.replace(/TIME ZONE/g,`${n.value}/${i.value}`))};return(0,s.YP)(()=>l.value,e=>{if(e){let t=e.split("/");n.value=t[0],i.value=t[1],m.value=a.value.replace(/TIME ZONE/g,`${n.value}/${i.value}`)}},{immediate:!0}),(async()=>{let e=await u();(0,r.Kn)(e)&&(o.value=e,c.value=Object.keys(e).map(e=>({label:e,value:e})))})(),(e,l)=>{let a=eh.Z,r=y.g,u=ec.Z;return(0,s.wg)(),(0,s.iD)("div",null,[(0,s._)("label",eb,(0,s.zw)((0,s.SU)(t)("settings.common.system.timezone")),1),(0,s._)("div",ek,[(0,s._)("div",null,[(0,s._)("div",eP,[(0,s._)("div",eW,[(0,s.Wm)(a,{value:(0,s.SU)(n),"onUpdate:value":[l[0]||(l[0]=e=>(0,s.dq)(n)?n.value=e:null),v],options:(0,s.SU)(c),filterable:""},null,8,["value","options"])]),(0,s._)("div",eZ,[(0,s.Wm)(a,{value:(0,s.SU)(i),"onUpdate:value":[l[1]||(l[1]=e=>(0,s.dq)(i)?i.value=e:null),g],options:(0,s.SU)(d),filterable:""},null,8,["value","options"])])]),(0,s._)("div",ez,(0,s.zw)((0,s.SU)(t)("settings.common.system.currentTime")),1)]),(0,s._)("div",eC,[(0,s.Wm)(u,{type:"warning",class:"w-full"},{icon:(0,s.w5)(()=>[(0,s.Wm)(r,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",eH,[(0,s.Wm)(ew,{value:(0,s.SU)(m)},null,8,["value"])])])}}}),eT={class:"flex items-center"},e$={class:"text-lg font-medium"},eD={class:"space-y-8"},eR=(0,s.aZ)({__name:"SystemSettings",setup:e=>(e,t)=>{let l=y.g,a=_.Z,n=g.ZP;return(0,s.wg)(),(0,s.j4)(n,{class:"mb-8",bordered:!1},{header:(0,s.w5)(()=>[(0,s._)("div",eT,[(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",e$,(0,s.zw)(e.$t("settings.common.system.title")),1)])]),default:(0,s.w5)(()=>[(0,s._)("div",eD,[(0,s.Wm)(eU),(0,s.Wm)(a),(0,s.Wm)(eE)])]),_:1})}}),eA={class:"max-w-4xl mx-auto px-4 py-8"},eK=(0,s.aZ)({__name:"index",setup(e){let t=v();return t.getCommonConfig(),(0,s.Jd)(()=>{t.reset()}),(e,t)=>((0,s.wg)(),(0,s.iD)("div",eA,[(0,s.Wm)(q),(0,s.Wm)(eo),(0,s.Wm)(eR)]))}}),ej=(0,l(41748).default)(eK,[["__scopeId","data-v-5ffa94ad"]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/5621.34a18da4.js b/core/public/dist/static/js/async/8649.f27ccab2.js
similarity index 83%
rename from core/public/dist/static/js/async/5621.34a18da4.js
rename to core/public/dist/static/js/async/8649.f27ccab2.js
index 4460f1e8..0c9cabc0 100644
--- a/core/public/dist/static/js/async/5621.34a18da4.js
+++ b/core/public/dist/static/js/async/8649.f27ccab2.js
@@ -1,4 +1,4 @@
-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["5621"],{23125:function(e,t,i){i.d(t,{Z:()=>n});var l=i(58786);function n(e,t){return(0,l.Fl)(()=>{for(let i of t)if(void 0!==e[i])return e[i];return e[t[t.length-1]]})}},20013:function(e,t,i){i.d(t,{Z:()=>n});var l=i(58786);function n(e,t){return(0,l.YP)(e,e=>{void 0!==e&&(t.value=e)}),(0,l.Fl)(()=>void 0===e.value?t.value:e.value)}},57070:function(e,t,i){e.exports=i.p+"static/image/logo.3b07dac3.png"},60579:function(e,t,i){i.d(t,{Z:()=>h});var l=i(65083),n=i(23125),a=i(58786),s=i(62594),o=i(56946),r=i(54470),d=i(53198),c=i(71309),u=i(53573),p=i(66480);let v=(0,c.c)([(0,c.c)("@keyframes spin-rotate",`
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["8649"],{23125:function(e,t,i){i.d(t,{Z:()=>n});var l=i(58786);function n(e,t){return(0,l.Fl)(()=>{for(let i of t)if(void 0!==e[i])return e[i];return e[t[t.length-1]]})}},57070:function(e,t,i){e.exports=i.p+"static/image/logo.3b07dac3.png"},60579:function(e,t,i){i.d(t,{Z:()=>h});var l=i(65083),n=i(23125),a=i(58786),s=i(62594),o=i(56946),r=i(54470),d=i(53198),c=i(71309),u=i(53573),p=i(66480);let f=(0,c.c)([(0,c.c)("@keyframes spin-rotate",`
from {
transform: rotate(0);
}
@@ -40,4 +40,4 @@
-webkit-user-select: none;
pointer-events: none;
opacity: var(--n-opacity-spinning);
- `)])]),f={small:20,medium:18,large:16},m=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}),h=(0,a.aZ)({name:"Spin",props:m,slots:Object,setup(e){let{mergedClsPrefixRef:t,inlineThemeDisabled:i}=(0,r.ZP)(e),s=(0,o.Z)("Spin","-spin",v,u.Z,e,t),p=(0,a.Fl)(()=>{let{size:t}=e,{common:{cubicBezierEaseInOut:i},self:n}=s.value,{opacitySpinning:a,color:o,textColor:r}=n;return{"--n-bezier":i,"--n-opacity-spinning":a,"--n-size":"number"==typeof t?(0,l.BL)(t):n[(0,c.Tl)("size",t)],"--n-color":o,"--n-text-color":r}}),m=i?(0,d.F)("spin",(0,a.Fl)(()=>{let{size:t}=e;return"number"==typeof t?String(t):t[0]}),p,e):void 0,h=(0,n.Z)(e,["spinning","show"]),g=(0,a.iH)(!1);return(0,a.m0)(t=>{let i;if(h.value){let{delay:l}=e;if(l){i=window.setTimeout(()=>{g.value=!0},l),t(()=>{clearTimeout(i)});return}}g.value=h.value}),{mergedClsPrefix:t,active:g,mergedStrokeWidth:(0,a.Fl)(()=>{let{strokeWidth:t}=e;if(void 0!==t)return t;let{size:i}=e;return f["number"==typeof i?"medium":i]}),cssVars:i?void 0:p,themeClass:null==m?void 0:m.themeClass,onRender:null==m?void 0:m.onRender}},render(){var e,t;let{$slots:i,mergedClsPrefix:l,description:n}=this,o=i.icon&&this.rotate,r=(n||i.description)&&(0,a.h)("div",{class:`${l}-spin-description`},n||(null==(e=i.description)?void 0:e.call(i))),d=i.icon?(0,a.h)("div",{class:[`${l}-spin-body`,this.themeClass]},(0,a.h)("div",{class:[`${l}-spin`,o&&`${l}-spin--rotate`],style:i.default?"":this.cssVars},i.icon()),r):(0,a.h)("div",{class:[`${l}-spin-body`,this.themeClass]},(0,a.h)(s.Z,{clsPrefix:l,style:i.default?"":this.cssVars,stroke:this.stroke,"stroke-width":this.mergedStrokeWidth,class:`${l}-spin`}),r);return null==(t=this.onRender)||t.call(this),i.default?(0,a.h)("div",{class:[`${l}-spin-container`,this.themeClass],style:this.cssVars},(0,a.h)("div",{class:[`${l}-spin-content`,this.active&&`${l}-spin-content--spinning`,this.contentClass],style:this.contentStyle},i),(0,a.h)(a.uT,{name:"fade-in-transition"},{default:()=>this.active?d:null})):d}})},24680:function(e,t,i){i.r(t),i.d(t,{default:()=>y});var l=i(98048),n=i(67655),a=i(60579),s=i(6455),o=i(73084),r=i(58786),d=i(57070),c=i(31708),u=i(68271),p=i(73282),v=i(52495),f=i(65965);let m={class:"login-container"},h={class:"login-card"},g=["src","title","alt"],w=(0,r.aZ)({__name:"index",setup(e){let{t}=(0,v.QT)(),i=(0,f.tv)(),w=(0,c.LM)(),y=(0,r.AE)("formRef"),b=(0,r.iH)(!1),S=(0,r.iH)(""),_=(0,r.iH)(!1),k=(0,r.qj)({username:"",password:"",validate_code:"",validate_code_id:""}),U={username:{required:!0,message:t("login.validation.usernameRequired"),trigger:["blur","input"]},password:{required:!0,message:t("login.validation.passwordRequired"),trigger:["blur","input"]},validate_code:{required:!0,trigger:["blur","input"],message:t("login.validation.captchaRequired")}},z=async()=>{try{_.value=!0;let e=await (0,p.o1)();(0,u.Kn)(e)&&(b.value=e.mustValidateCode,e.mustValidateCode&&(S.value=e.validateCodeBase64,k.validate_code_id=e.validateCodeId))}finally{_.value=!1}},C=(0,r.iH)(!1),Z=async()=>{try{var e;await (null==(e=y.value)?void 0:e.validate()),C.value=!0;let t=await (0,p.x4)((0,r.IU)(k));(0,u.Kn)(t)&&(w.setLoginInfo({token:t.token,refresh_token:t.refresh_token,ttl:t.ttl}),setTimeout(()=>{i.push("/")},1e3))}catch{z()}finally{C.value=!1}};return z(),(e,i)=>{let c=o.Z,u=s.ZP,p=a.Z,v=n.ZP,f=l.Z;return(0,r.wg)(),(0,r.iD)("div",m,[(0,r._)("div",h,[i[4]||(i[4]=(0,r._)("div",{class:"logo-container"},[(0,r._)("div",{class:"logo"},[(0,r._)("img",{class:"w-full",src:d})])],-1)),i[5]||(i[5]=(0,r._)("h2",{class:"login-title"},"BillionMail",-1)),(0,r.Wm)(f,{ref_key:"formRef",ref:y,size:"large",model:(0,r.SU)(k),rules:U},{default:(0,r.w5)(()=>[(0,r.Wm)(u,{"show-label":!1,path:"username"},{default:(0,r.w5)(()=>[(0,r.Wm)(c,{value:(0,r.SU)(k).username,"onUpdate:value":i[0]||(i[0]=e=>(0,r.SU)(k).username=e),placeholder:(0,r.SU)(t)("login.form.usernamePlaceholder")},null,8,["value","placeholder"])]),_:1}),(0,r.Wm)(u,{"show-label":!1,path:"password"},{default:(0,r.w5)(()=>[(0,r.Wm)(c,{value:(0,r.SU)(k).password,"onUpdate:value":i[1]||(i[1]=e=>(0,r.SU)(k).password=e),class:"password-input",type:"password","show-password-on":"click",placeholder:(0,r.SU)(t)("login.form.passwordPlaceholder"),onKeyup:(0,r.D2)(Z,["enter"])},null,8,["value","placeholder"])]),_:1}),(0,r.SU)(b)?((0,r.wg)(),(0,r.j4)(u,{key:0,"show-label":!1,path:"validate_code"},{default:(0,r.w5)(()=>[(0,r.Wm)(c,{value:(0,r.SU)(k).validate_code,"onUpdate:value":i[2]||(i[2]=e=>(0,r.SU)(k).validate_code=e),class:"flex-1",placeholder:(0,r.SU)(t)("login.form.captcha"),"input-props":{spellcheck:!1},onKeydown:(0,r.D2)(Z,["enter"])},null,8,["value","placeholder"]),(0,r.Wm)(p,{size:"small",show:(0,r.SU)(_)},{default:(0,r.w5)(()=>[(0,r._)("div",{class:"code",onClick:i[3]||(i[3]=e=>z())},[(0,r._)("img",{class:"w-full h-full",src:(0,r.SU)(S),title:(0,r.SU)(t)("login.form.changeCaptcha"),alt:(0,r.SU)(t)("login.form.captcha")},null,8,g)])]),_:1},8,["show"])]),_:1})):(0,r.kq)("",!0),(0,r.Wm)(u,{"show-label":!1,"show-feedback":!1},{default:(0,r.w5)(()=>[(0,r.Wm)(v,{type:"primary",size:"large",class:"font-bold",loading:(0,r.SU)(C),disabled:(0,r.SU)(C),block:!0,onClick:Z},{default:(0,r.w5)(()=>[(0,r.Uk)((0,r.zw)((0,r.SU)(t)("login.form.loginButton")),1)]),_:1},8,["loading","disabled"])]),_:1})]),_:1},8,["model"])])])}}}),y=(0,i(41748).default)(w,[["__scopeId","data-v-587fdef7"]])}}]);
\ No newline at end of file
+ `)])]),v={small:20,medium:18,large:16},m=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}),h=(0,a.aZ)({name:"Spin",props:m,slots:Object,setup(e){let{mergedClsPrefixRef:t,inlineThemeDisabled:i}=(0,r.ZP)(e),s=(0,o.Z)("Spin","-spin",f,u.Z,e,t),p=(0,a.Fl)(()=>{let{size:t}=e,{common:{cubicBezierEaseInOut:i},self:n}=s.value,{opacitySpinning:a,color:o,textColor:r}=n;return{"--n-bezier":i,"--n-opacity-spinning":a,"--n-size":"number"==typeof t?(0,l.BL)(t):n[(0,c.Tl)("size",t)],"--n-color":o,"--n-text-color":r}}),m=i?(0,d.F)("spin",(0,a.Fl)(()=>{let{size:t}=e;return"number"==typeof t?String(t):t[0]}),p,e):void 0,h=(0,n.Z)(e,["spinning","show"]),g=(0,a.iH)(!1);return(0,a.m0)(t=>{let i;if(h.value){let{delay:l}=e;if(l){i=window.setTimeout(()=>{g.value=!0},l),t(()=>{clearTimeout(i)});return}}g.value=h.value}),{mergedClsPrefix:t,active:g,mergedStrokeWidth:(0,a.Fl)(()=>{let{strokeWidth:t}=e;if(void 0!==t)return t;let{size:i}=e;return v["number"==typeof i?"medium":i]}),cssVars:i?void 0:p,themeClass:null==m?void 0:m.themeClass,onRender:null==m?void 0:m.onRender}},render(){var e,t;let{$slots:i,mergedClsPrefix:l,description:n}=this,o=i.icon&&this.rotate,r=(n||i.description)&&(0,a.h)("div",{class:`${l}-spin-description`},n||(null==(e=i.description)?void 0:e.call(i))),d=i.icon?(0,a.h)("div",{class:[`${l}-spin-body`,this.themeClass]},(0,a.h)("div",{class:[`${l}-spin`,o&&`${l}-spin--rotate`],style:i.default?"":this.cssVars},i.icon()),r):(0,a.h)("div",{class:[`${l}-spin-body`,this.themeClass]},(0,a.h)(s.Z,{clsPrefix:l,style:i.default?"":this.cssVars,stroke:this.stroke,"stroke-width":this.mergedStrokeWidth,class:`${l}-spin`}),r);return null==(t=this.onRender)||t.call(this),i.default?(0,a.h)("div",{class:[`${l}-spin-container`,this.themeClass],style:this.cssVars},(0,a.h)("div",{class:[`${l}-spin-content`,this.active&&`${l}-spin-content--spinning`,this.contentClass],style:this.contentStyle},i),(0,a.h)(a.uT,{name:"fade-in-transition"},{default:()=>this.active?d:null})):d}})},24680:function(e,t,i){i.r(t),i.d(t,{default:()=>y});var l=i(98048),n=i(67655),a=i(60579),s=i(6455),o=i(73084),r=i(58786),d=i(57070),c=i(31708),u=i(68271),p=i(73282),f=i(52495),v=i(65965);let m={class:"login-container"},h={class:"login-card"},g=["src","title","alt"],w=(0,r.aZ)({__name:"index",setup(e){let{t}=(0,f.QT)(),i=(0,v.tv)(),w=(0,c.LM)(),y=(0,r.AE)("formRef"),b=(0,r.iH)(!1),S=(0,r.iH)(""),_=(0,r.iH)(!1),k=(0,r.qj)({username:"",password:"",validate_code:"",validate_code_id:""}),U={username:{required:!0,message:t("login.validation.usernameRequired"),trigger:["blur","input"]},password:{required:!0,message:t("login.validation.passwordRequired"),trigger:["blur","input"]},validate_code:{required:!0,trigger:["blur","input"],message:t("login.validation.captchaRequired")}},z=async()=>{try{_.value=!0;let e=await (0,p.o1)();(0,u.Kn)(e)&&(b.value=e.mustValidateCode,e.mustValidateCode&&(S.value=e.validateCodeBase64,k.validate_code_id=e.validateCodeId))}finally{_.value=!1}},C=(0,r.iH)(!1),Z=async()=>{try{var e;await (null==(e=y.value)?void 0:e.validate()),C.value=!0;let t=await (0,p.x4)((0,r.IU)(k));(0,u.Kn)(t)&&(w.setLoginInfo({token:t.token,refresh_token:t.refresh_token,ttl:t.ttl}),setTimeout(()=>{i.push("/")},1e3))}catch{z()}finally{C.value=!1}};return z(),(e,i)=>{let c=o.Z,u=s.ZP,p=a.Z,f=n.ZP,v=l.Z;return(0,r.wg)(),(0,r.iD)("div",m,[(0,r._)("div",h,[i[4]||(i[4]=(0,r._)("div",{class:"logo-container"},[(0,r._)("div",{class:"logo"},[(0,r._)("img",{class:"w-full",src:d})])],-1)),i[5]||(i[5]=(0,r._)("h2",{class:"login-title"},"BillionMail",-1)),(0,r.Wm)(v,{ref_key:"formRef",ref:y,size:"large",model:(0,r.SU)(k),rules:U},{default:(0,r.w5)(()=>[(0,r.Wm)(u,{"show-label":!1,path:"username"},{default:(0,r.w5)(()=>[(0,r.Wm)(c,{value:(0,r.SU)(k).username,"onUpdate:value":i[0]||(i[0]=e=>(0,r.SU)(k).username=e),placeholder:(0,r.SU)(t)("login.form.usernamePlaceholder")},null,8,["value","placeholder"])]),_:1}),(0,r.Wm)(u,{"show-label":!1,path:"password"},{default:(0,r.w5)(()=>[(0,r.Wm)(c,{value:(0,r.SU)(k).password,"onUpdate:value":i[1]||(i[1]=e=>(0,r.SU)(k).password=e),class:"password-input",type:"password","show-password-on":"click",placeholder:(0,r.SU)(t)("login.form.passwordPlaceholder"),onKeyup:(0,r.D2)(Z,["enter"])},null,8,["value","placeholder"])]),_:1}),(0,r.SU)(b)?((0,r.wg)(),(0,r.j4)(u,{key:0,"show-label":!1,path:"validate_code"},{default:(0,r.w5)(()=>[(0,r.Wm)(c,{value:(0,r.SU)(k).validate_code,"onUpdate:value":i[2]||(i[2]=e=>(0,r.SU)(k).validate_code=e),class:"flex-1",placeholder:(0,r.SU)(t)("login.form.captcha"),"input-props":{spellcheck:!1},onKeydown:(0,r.D2)(Z,["enter"])},null,8,["value","placeholder"]),(0,r.Wm)(p,{size:"small",show:(0,r.SU)(_)},{default:(0,r.w5)(()=>[(0,r._)("div",{class:"code",onClick:i[3]||(i[3]=e=>z())},[(0,r._)("img",{class:"w-full h-full",src:(0,r.SU)(S),title:(0,r.SU)(t)("login.form.changeCaptcha"),alt:(0,r.SU)(t)("login.form.captcha")},null,8,g)])]),_:1},8,["show"])]),_:1})):(0,r.kq)("",!0),(0,r.Wm)(u,{"show-label":!1,"show-feedback":!1},{default:(0,r.w5)(()=>[(0,r.Wm)(f,{type:"primary",size:"large",class:"font-bold",loading:(0,r.SU)(C),disabled:(0,r.SU)(C),block:!0,onClick:Z},{default:(0,r.w5)(()=>[(0,r.Uk)((0,r.zw)((0,r.SU)(t)("login.form.loginButton")),1)]),_:1},8,["loading","disabled"])]),_:1})]),_:1},8,["model"])])])}}}),y=(0,i(41748).default)(w,[["__scopeId","data-v-587fdef7"]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/8756.c2570561.js b/core/public/dist/static/js/async/8756.c2570561.js
deleted file mode 100644
index 716a7766..00000000
--- a/core/public/dist/static/js/async/8756.c2570561.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["8756"],{39432:function(e,t,l){l.d(t,{Au:()=>u,Fj:()=>d,LC:()=>o,OV:()=>m,dj:()=>r,gK:()=>s,i7:()=>i,v1:()=>c,yW:()=>p});var a=l(34541);let{t:n}=l(76882).Z.global,i=e=>a.e.get("/domains/list",{params:e}),o=()=>a.e.get("/domains/all"),d=e=>a.e.post("/domains/create",e,{fetchOptions:{loading:n("domain.api.loading.creating"),successMessage:!0}}),s=e=>a.e.post("/domains/update",e,{fetchOptions:{loading:n("domain.api.loading.updating"),successMessage:!0}}),r=e=>a.e.post("/domains/delete",e,{fetchOptions:{loading:n("domain.api.loading.deleting"),successMessage:!0}}),m=e=>a.e.post("/domains/set_ssl",e,{fetchOptions:{loading:n("domain.api.loading.settingSSL"),successMessage:!0}}),u=e=>a.e.get("/domains/get_ssl",{params:e}),c=e=>a.e.post("/domains/fresh_dns_records",e,{fetchOptions:{loading:n("domain.api.loading.refreshingDns"),successMessage:!0}}),p=e=>a.e.post("/ssl/apply_cert",e,{fetchOptions:{loading:n("domain.api.loading.applyingCert"),successMessage:!0}})},77984:function(e,t,l){l.d(t,{F:()=>o});var a=l(68271),n=l(94821),i=l(76882);let o=()=>{let{t:e}=i.Z.global,{copy:t,isSupported:l}=(0,n.VPI)({legacy:!0});return{copyText:async n=>{if(!n)return void a.v0.error(e("common.useCopy.noText"));l.value?(await t(n),a.v0.success(e("common.useCopy.success"))):a.v0.error(e("common.useCopy.failed"))}}}},16893:function(e,t,l){l.d(t,{Z:()=>o});var a=l(67655),n=l(58786);let i={class:"mr-4px"},o=(0,n.aZ)({__name:"index",props:{href:{type:String,default:""},text:{type:String,default:""}},setup(e){let t=()=>{window.open(e.href)};return(l,o)=>{let d=a.ZP;return(0,n.wg)(),(0,n.j4)(d,{text:"",onClick:t},{default:(0,n.w5)(()=>[(0,n._)("span",i,(0,n.zw)(e.text||l.$t("common.actions.help")),1),o[0]||(o[0]=(0,n._)("i",{class:"i-custom:help text-primary"},null,-1))]),_:1,__:[0]})}}})},46244:function(e,t,l){l.d(t,{Z:()=>i});var a=l(98048),n=l(58786);let i=(0,n.aZ)({__name:"index",props:{model:{},rules:{},labelWidth:{},labelPlacement:{default:"top"}},setup(e,t){let{expose:l}=t,i=(0,n.iH)(null);return l({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 l=a.Z;return(0,n.wg)(),(0,n.j4)(l,(0,n.dG)(e.$attrs,{ref_key:"formRef",ref:i,model:e.model,rules:e.rules,"label-width":e.labelWidth,"label-placement":e.labelPlacement}),{default:(0,n.w5)(()=>[(0,n.WI)(e.$slots,"default")]),_:3},16,["model","rules","label-width","label-placement"])}}})},48249:function(e,t,l){l.r(t),l.d(t,{default:()=>ex});var a=l(39244),n=l(25170),i=l(75754),o=l(66760),d=l(16893),s=l(58786),r=l(67655),m=l(93953),u=l(68271),c=l(51169),p=l(67512),_=l(39432);let f={class:"bt-tips flex flex-col gap-4px list-outside list-disc leading-20px text-[#777]"};var w=l(41748);let v=(0,w.default)({},[["render",function(e,t){return(0,s.wg)(),(0,s.iD)("ul",f,[(0,s.WI)(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-8731a1b4"]]);var S=l(46244),U=l(8490),y=l(29283),h=l(6455),g=l(73084),x=l(52495);let b={class:"pt-16px"},k={class:"w-100px ml-20px"},W=(0,s.aZ)({__name:"DomainForm",setup(e){let{t}=(0,x.QT)(),l=(0,s.iH)(!1),a=(0,s.Fl)(()=>l.value?t("domain.form.editTitle"):t("domain.form.addTitle")),n=(0,s.AE)("formRef"),i=(0,s.qj)({domain:"",a_record:"",quota:5,quota_unit:"GB",mailboxes:50,email:""}),o=[{label:"GB",value:"GB"},{label:"MB",value:"MB"}],d={domain:{trigger:["blur","input"],validator:()=>""!==i.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}},[m,p]=(0,c.d)({onChangeState:e=>{if(e){let e=p.getState();if(l.value=e.isEdit,e.row){let{row:t}=e;i.domain=t.domain,i.a_record=t.a_record;let l=(0,u.UO)(t.quota);i.quota=(0,u.Dx)(l.split(" ")[0]),i.quota_unit=l.split(" ")[1],i.mailboxes=t.mailboxes,i.email=t.email}}else i.domain="",i.a_record="",i.quota=5,i.quota_unit="GB",i.mailboxes=50,i.email=""},onConfirm:async()=>{var e;await (null==(e=n.value)?void 0:e.validate()),l.value?await (0,_.gK)({domain:i.domain,quota:r(i.quota,i.quota_unit),mailboxes:i.mailboxes,email:i.email}):await (0,_.Fj)({domain:i.domain,quota:r(i.quota,i.quota_unit),mailboxes:i.mailboxes,email:i.email}),p.getState().refresh()}});return(e,r)=>{let u=g.Z,c=h.ZP,p=y.Z,_=U.Z,f=S.Z;return(0,s.wg)(),(0,s.j4)((0,s.SU)(m),{title:(0,s.SU)(a),width:520},{default:(0,s.w5)(()=>[(0,s._)("div",b,[(0,s.Wm)(f,{ref_key:"formRef",ref:n,model:(0,s.SU)(i),rules:d},{default:(0,s.w5)(()=>[(0,s.Wm)(c,{label:(0,s.SU)(t)("domain.form.domain"),path:"domain"},{default:(0,s.w5)(()=>[(0,s.Wm)(u,{value:(0,s.SU)(i).domain,"onUpdate:value":r[0]||(r[0]=e=>(0,s.SU)(i).domain=e),disabled:(0,s.SU)(l),placeholder:(0,s.SU)(t)("domain.form.domainPlaceholder")},null,8,["value","disabled","placeholder"])]),_:1},8,["label"]),(0,s.kq)("",!0),(0,s.Wm)(c,{label:(0,s.SU)(t)("domain.form.quota")},{default:(0,s.w5)(()=>[(0,s.Wm)(p,{value:(0,s.SU)(i).quota,"onUpdate:value":r[2]||(r[2]=e=>(0,s.SU)(i).quota=e),class:"flex-1",min:0,"show-button":!1},null,8,["value"]),(0,s._)("div",k,[(0,s.Wm)(_,{value:(0,s.SU)(i).quota_unit,"onUpdate:value":r[3]||(r[3]=e=>(0,s.SU)(i).quota_unit=e),options:o},null,8,["value"])])]),_:1},8,["label"]),(0,s.Wm)(c,{label:(0,s.SU)(t)("domain.form.mailboxCount")},{default:(0,s.w5)(()=>[(0,s.Wm)(p,{value:(0,s.SU)(i).mailboxes,"onUpdate:value":r[4]||(r[4]=e=>(0,s.SU)(i).mailboxes=e),class:"flex-1",min:0,"show-button":!1},null,8,["value"])]),_:1},8,["label"]),(0,s.kq)("",!0)]),_:1},8,["model"]),(0,s.kq)("",!0)])]),_:1},8,["title"])}}});var z=l(10320);let Z=(0,s.aZ)({__name:"index",props:{value:{},valueModifiers:{}},emits:["update:value"],setup(e){let t=(0,s.tT)(e,"value");return(e,l)=>{let a=z.Z;return(0,s.wg)(),(0,s.j4)(a,{value:t.value,"onUpdate:value":l[0]||(l[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"])}}}),q=(0,w.default)(Z,[["__scopeId","data-v-53057eda"]]);var C=l(43751),j=l(60579),P=l(99321),T=l(53903);let F={class:"ssl-cert-container"},$={class:"brand-info"},M={class:"info-label"},O={class:"info-value"},D={class:"info-label"},H={class:"info-value font-normal!"},I={class:"cert-content"},R={class:"cert-section"},B={class:"section-title"},A={class:"cert-section"},G={class:"section-title"},K={class:"cert-actions"},E=(0,s.aZ)({__name:"OtherCert",props:{domain:{type:Object,required:!0},refresh:{type:Function,required:!0}},setup(e){let t=(0,s.iH)(!1),l=(0,s.iH)({subject:"",issuer:"",not_before:"",not_after:"",dns:[],endtime:0,key_pem:"",cert_pem:""}),a=(0,s.Fl)(()=>l.value.dns||[]),n=async()=>{try{t.value=!0;let a=await (0,_.Au)({domain:e.domain.domain});(0,u.Kn)(a)&&(l.value=a)}finally{t.value=!1}},i=async()=>{await (0,_.OV)({domain:e.domain.domain,key:l.value.key_pem,certificate:l.value.cert_pem}),n(),e.refresh()},o=async()=>{await (0,_.yW)({domain:e.domain.domain}),n(),e.refresh()};return l.value=e.domain.cert_info,(e,n)=>{let d=T.ZP,m=P.Z,u=g.Z,c=r.ZP,p=j.Z;return(0,s.wg)(),(0,s.iD)("div",F,[(0,s.Wm)(p,{show:(0,s.SU)(t)},{default:(0,s.w5)(()=>[(0,s.SU)(l).endtime>0?((0,s.wg)(),(0,s.j4)(m,{key:0,class:"mb-16px",type:"success","show-icon":!1},{default:(0,s.w5)(()=>[(0,s._)("div",$,[(0,s._)("div",M,(0,s.zw)(e.$t("domain.ssl.cert.brand"))+":",1),(0,s._)("div",O,(0,s.zw)((0,s.SU)(l).issuer),1),(0,s._)("div",D,(0,s.zw)(e.$t("domain.ssl.cert.domains"))+":",1),(0,s._)("div",H,[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)((0,s.SU)(a),(e,t)=>((0,s.wg)(),(0,s.j4)(d,{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",I,[(0,s._)("div",R,[(0,s._)("div",B,(0,s.zw)(e.$t("domain.ssl.cert.privateKey")),1),(0,s.Wm)(u,{value:(0,s.SU)(l).key_pem,"onUpdate:value":n[0]||(n[0]=e=>(0,s.SU)(l).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",A,[(0,s._)("div",G,(0,s.zw)(e.$t("domain.ssl.cert.certificate")),1),(0,s.Wm)(u,{value:(0,s.SU)(l).cert_pem,"onUpdate:value":n[1]||(n[1]=e=>(0,s.SU)(l).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",K,[(0,s.Wm)(c,{type:"primary",onClick:i},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)(e.$t("common.actions.save")),1)]),_:1}),(0,s.Wm)(c,{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)(v,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})])}}}),L=(0,w.default)(E,[["__scopeId","data-v-bd7d6d60"]]),V=(0,s.aZ)({__name:"index",setup(e){let t=(0,s.iH)("other"),l=(0,s.iH)(null),[a,n]=(0,c.d)({onChangeState:e=>{if(e){let{row:e}=n.getState();e&&(l.value=e)}}}),i=()=>{n.getState().refresh()};return(e,n)=>{let o=C.Z;return(0,s.wg)(),(0,s.j4)((0,s.SU)(a),{title:e.$t("domain.ssl.title"),width:650,footer:!1},{default:(0,s.w5)(()=>[(0,s.Wm)(q,{value:(0,s.SU)(t),"onUpdate:value":n[0]||(n[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)(l)?((0,s.wg)(),(0,s.j4)(L,{key:0,domain:(0,s.SU)(l),refresh:i},null,8,["domain"])):(0,s.kq)("",!0)]),_:1},8,["tab"])]),_:1},8,["value"])]),_:1},8,["title"])}}});var X=l(35409),Q=l(50039),Y=l(56357),J=l(87075),N=l(62198),ee=l(77984);let et={class:"record-title"},el={width:"140"},ea={width:"160"},en={class:"record-title"},ei={class:"record-desc"},eo={width:"140"},ed={width:"160"},es={class:"record-title"},er={class:"record-desc"},em={width:"140"},eu={width:"160"},ec={class:"record-title"},ep={class:"record-desc"},e_={class:"record-desc"},ef={class:"flex justify-center mt-24px"},ew=(0,s.aZ)({__name:"DomainDns",setup(e){let{t}=(0,x.QT)(),{copyText:l}=(0,ee.F)(),a=(0,s.iH)([]),n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"value";return a.value.length>0?a.value[0].dns_records[e][t]:""},o=(0,s.Fl)(()=>n("dkim")),d=(0,s.Fl)(()=>n("a")),m=(0,s.Fl)(()=>n("a","host")),p=(0,s.Fl)(()=>n("mx")),f=(0,s.Fl)(()=>n("mx","host")),w=(0,s.Fl)(()=>n("dmarc")),v=(0,s.Fl)(()=>n("spf")),S=e=>{let{status:l}=e;return(0,s.Wm)("div",{class:["inline-flex items-center",l?"text-primary":"text-error"]},[(0,s.Wm)(Y.g,{size:"16"},{default:()=>[l?(0,s.Wm)(J.Z,null,null):(0,s.Wm)(N.Z,null,null)]}),(0,s.Wm)("span",{class:"ml-4px"},[l?t("domain.dns.status.ok"):t("domain.dns.status.notSet")])])},U=(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)(S,{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)(S,{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)(S,{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)(S,{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)(S,{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)(S,{status:(null==t?void 0:t.valid)||!1},null)}}]),y=async()=>{let e=await (0,_.v1)({domain:a.value[0].domain});(0,u.Kn)(e)&&(a.value[0].dns_records=e);let{refresh:t}=g.getState();t()},[h,g]=(0,c.d)({onChangeState:e=>{if(e){let{row:e}=g.getState();e&&(a.value=[e])}}});return(e,n)=>{let u=i.Z,c=Q.Z,_=X.ZP,S=r.ZP;return(0,s.wg)(),(0,s.j4)((0,s.SU)(h),{title:(0,s.SU)(t)("domain.dns.title"),width:750,footer:!1},{default:(0,s.w5)(()=>[(0,s._)("div",null,[(0,s.Wm)(u,{size:"small",class:"mb-20px",data:(0,s.SU)(a),columns:(0,s.SU)(U)},null,8,["data","columns"]),(0,s._)("div",et,(0,s.zw)((0,s.SU)(t)("domain.dns.step1.title")),1),(0,s.Wm)(c,{size:"small",class:"mb-24px"},{default:(0,s.w5)(()=>[(0,s._)("thead",null,[(0,s._)("tr",null,[(0,s._)("th",el,(0,s.zw)((0,s.SU)(t)("domain.dns.table.recordType")),1),(0,s._)("th",ea,(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,[n[3]||(n[3]=(0,s._)("td",null,"A",-1)),(0,s._)("td",null,(0,s.zw)((0,s.SU)(m)),1),(0,s._)("td",null,(0,s.zw)((0,s.SU)(d)),1)])])]),_:1}),(0,s._)("div",en,(0,s.zw)((0,s.SU)(t)("domain.dns.step2.title")),1),(0,s._)("div",ei,(0,s.zw)((0,s.SU)(t)("domain.dns.step2.description")),1),(0,s.Wm)(c,{size:"small",class:"mb-24px"},{default:(0,s.w5)(()=>[(0,s._)("thead",null,[(0,s._)("tr",null,[(0,s._)("th",eo,(0,s.zw)((0,s.SU)(t)("domain.dns.table.recordType")),1),(0,s._)("th",ed,(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,[n[4]||(n[4]=(0,s._)("td",null,"MX",-1)),(0,s._)("td",null,(0,s.zw)((0,s.SU)(f)),1),(0,s._)("td",null,(0,s.zw)((0,s.SU)(p)),1),n[5]||(n[5]=(0,s._)("td",null,"10",-1))])])]),_:1}),(0,s._)("div",es,(0,s.zw)((0,s.SU)(t)("domain.dns.step3.title")),1),(0,s._)("div",er,(0,s.zw)((0,s.SU)(t)("domain.dns.step3.description")),1),(0,s.Wm)(c,{size:"small",class:"mb-24px"},{default:(0,s.w5)(()=>[(0,s._)("thead",null,[(0,s._)("tr",null,[(0,s._)("th",em,(0,s.zw)((0,s.SU)(t)("domain.dns.table.recordType")),1),(0,s._)("th",eu,(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,[n[6]||(n[6]=(0,s._)("td",null,"TXT",-1)),n[7]||(n[7]=(0,s._)("td",null,"@",-1)),(0,s._)("td",null,[(0,s.Wm)(_,{class:"mr-4px max-w-320px!"},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(v)),1)]),_:1}),(0,s.Wm)(S,{text:"",type:"primary",onClick:n[0]||(n[0]=()=>(0,s.SU)(l)((0,s.SU)(v)))},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(t)("common.actions.copy")),1)]),_:1})])]),(0,s._)("tr",null,[n[8]||(n[8]=(0,s._)("td",null,"TXT",-1)),n[9]||(n[9]=(0,s._)("td",null,"default._domainkey",-1)),(0,s._)("td",null,[(0,s.Wm)(_,{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)(S,{key:0,text:"",type:"primary",onClick:n[1]||(n[1]=()=>(0,s.SU)(l)((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,[n[10]||(n[10]=(0,s._)("td",null,"TXT",-1)),n[11]||(n[11]=(0,s._)("td",null,"_dmarc",-1)),(0,s._)("td",null,[(0,s.Wm)(_,{class:"mr-4px max-w-320px!"},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(w)),1)]),_:1}),(0,s.SU)(w)?((0,s.wg)(),(0,s.j4)(S,{key:0,text:"",type:"primary",onClick:n[2]||(n[2]=()=>(0,s.SU)(l)((0,s.SU)(w)))},{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",ec,(0,s.zw)((0,s.SU)(t)("domain.dns.step4.title")),1),(0,s._)("div",ep,(0,s.zw)((0,s.SU)(t)("domain.dns.step4.description1")),1),(0,s._)("div",e_,(0,s.zw)((0,s.SU)(t)("domain.dns.step4.description2")),1)]),(0,s._)("div",ef,[(0,s.Wm)(S,{type:"primary",onClick:y},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(t)("domain.dns.verify")),1)]),_:1})])]),_:1},8,["title"])}}}),ev=(0,w.default)(ew,[["__scopeId","data-v-8094e116"]]);var eS=l(65965);let eU={class:"p-24px"},ey={class:"bt-title"};function eh(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,s.lA)(e)}let eg=(0,s.aZ)({__name:"index",setup(e){let{t}=(0,x.QT)(),{tableParams:l,tableList:f,loading:w,tableTotal:v,getTableData:S}=(0,p.Z)({immediate:!0,params:{page:1,page_size:10,keyword:""},fetchFn:_.i7}),U=(0,eS.tv)(),y=(0,s.iH)([{key:"domain",title:t("domain.columns.domain"),minWidth:130,ellipsis:{tooltip:!0},render:e=>(0,s.Wm)(r.ZP,{text:!0,type:"primary",onClick:()=>{U.push({path:"/mailbox",state:{domain:e.domain}})}},{default:()=>[e.domain]})},{key:"quota",title:t("domain.columns.quota"),render:e=>(0,u.UO)(e.quota)},{key:"mailboxes",title:t("domain.columns.mailboxes")},{key:"mailbox_quota",title:t("domain.columns.defaultMailboxSize"),render:e=>(0,u.UO)(e.mailbox_quota)},{key:"ssl",title:"SSL",render:e=>{let l;if(e.cert_info&&e.cert_info.endtime){let l=Math.floor((1e3*e.cert_info.endtime-Date.now())/1e3/60/60/24);return(0,s.Wm)(r.ZP,{type:l<0?"error":"primary",text:!0,onClick:()=>{Z(e)}},{default:()=>[l<0?t("domain.ssl.expired"):t("domain.ssl.daysLeft",{days:l})]})}return(0,s.Wm)(r.ZP,{type:"warning",text:!0,onClick:()=>{Z(e)}},eh(l=t("domain.ssl.notSet"))?l:{default:()=>[l]})}},{title:t("domain.columns.actions"),key:"actions",align:"right",render:e=>{let l,a,n;return(0,s.Wm)(m.Z,{inline:!0},{default:()=>[(0,s.Wm)(r.ZP,{type:"primary",text:!0,onClick:()=>{j(e)}},eh(l=t("domain.actions.dnsRecord"))?l:{default:()=>[l]}),(0,s.Wm)(r.ZP,{type:"primary",text:!0,onClick:()=>{P(e)}},eh(a=t("common.actions.edit"))?a:{default:()=>[a]}),(0,s.Wm)(r.ZP,{type:"error",text:!0,onClick:()=>{T(e)}},eh(n=t("common.actions.delete"))?n:{default:()=>[n]})]})}}]),[h,g]=(0,c.d)({component:W,state:{isEdit:!1,refresh:S}}),b=()=>{g.setState({row:null,isEdit:!1}),g.open()},[k,z]=(0,c.d)({component:V,state:{refresh:S}}),Z=e=>{z.setState({row:e}),z.open()},[q,C]=(0,c.d)({component:ev,state:{refresh:S}}),j=e=>{C.setState({row:e}),C.open()},P=e=>{g.setState({row:e,isEdit:!0}),g.open()},T=e=>{(0,u.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,_.dj)({domain:e.domain}),S()}})};return(e,m)=>{let u=d.Z,c=o.Z,p=i.Z,_=n.Z,U=a.Z;return(0,s.wg)(),(0,s.iD)("div",eU,[(0,s._)("div",ey,(0,s.zw)((0,s.SU)(t)("layout.menu.domain")),1),(0,s.Wm)(U,null,{toolsLeft:(0,s.w5)(()=>[(0,s.Wm)((0,s.SU)(r.ZP),{type:"primary",onClick:b},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(t)("domain.addDomain")),1)]),_:1}),(0,s.Wm)(u,{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)(w),columns:(0,s.SU)(y),data:(0,s.SU)(f)},{empty:(0,s.w5)(()=>[(0,s.Wm)(c)]),_:1},8,["loading","columns","data"])]),pageRight:(0,s.w5)(()=>[(0,s.Wm)(_,{page:(0,s.SU)(l).page,"onUpdate:page":m[0]||(m[0]=e=>(0,s.SU)(l).page=e),"page-size":(0,s.SU)(l).page_size,"onUpdate:pageSize":m[1]||(m[1]=e=>(0,s.SU)(l).page_size=e),"item-count":(0,s.SU)(v),onRefresh:(0,s.SU)(S)},null,8,["page","page-size","item-count","onRefresh"])]),modal:(0,s.w5)(()=>[(0,s.Wm)((0,s.SU)(h)),(0,s.Wm)((0,s.SU)(k)),(0,s.Wm)((0,s.SU)(q))]),_:1})])}}}),ex=(0,w.default)(eg,[["__scopeId","data-v-2a776d66"]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/8946.297502cb.js b/core/public/dist/static/js/async/8946.297502cb.js
deleted file mode 100644
index 80e618ba..00000000
--- a/core/public/dist/static/js/async/8946.297502cb.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["8946"],{39432:function(e,a,l){l.d(a,{Au:()=>m,Fj:()=>s,LC:()=>n,OV:()=>r,dj:()=>u,gK:()=>d,i7:()=>o,v1:()=>p,yW:()=>c});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=e=>t.e.post("/domains/create",e,{fetchOptions:{loading:i("domain.api.loading.creating"),successMessage:!0}}),d=e=>t.e.post("/domains/update",e,{fetchOptions:{loading:i("domain.api.loading.updating"),successMessage:!0}}),u=e=>t.e.post("/domains/delete",e,{fetchOptions:{loading:i("domain.api.loading.deleting"),successMessage:!0}}),r=e=>t.e.post("/domains/set_ssl",e,{fetchOptions:{loading:i("domain.api.loading.settingSSL"),successMessage:!0}}),m=e=>t.e.get("/domains/get_ssl",{params:e}),p=e=>t.e.post("/domains/fresh_dns_records",e,{fetchOptions:{loading:i("domain.api.loading.refreshingDns"),successMessage:!0}}),c=e=>t.e.post("/ssl/apply_cert",e,{fetchOptions:{loading:i("domain.api.loading.applyingCert"),successMessage:!0}})},67127:function(e,a,l){l.d(a,{EV:()=>s,Ts:()=>n,WS:()=>d,iC:()=>o});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/update",e,{fetchOptions:{loading:i("mailbox.api.loading.updating"),successMessage:!0}}),d=e=>t.e.post("/mailbox/delete",e,{fetchOptions:{loading:i("mailbox.api.loading.deleting"),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}=(0,i.VPI)({legacy:!0});return{copyText:async i=>{if(!i)return void t.v0.error(e("common.useCopy.noText"));l.value?(await a(i),t.v0.success(e("common.useCopy.success"))):t.v0.error(e("common.useCopy.failed"))}}}},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"),d=()=>{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)(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},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:d},a[2]||(a[2]=[(0,i._)("i",{class:"i-mdi-search text-16px"},null,-1)]))]),key:"1"}]),1040,["value","style"])}}})},46244:function(e,a,l){l.d(a,{Z:()=>o});var t=l(98048),i=l(58786);let o=(0,i.aZ)({__name:"index",props:{model:{},rules:{},labelWidth:{},labelPlacement:{default:"top"}},setup(e,a){let{expose:l}=a,o=(0,i.iH)(null);return l({validate:()=>{var e;return null==(e=o.value)?void 0:e.validate()},restoreValidation:()=>{var e;return null==(e=o.value)?void 0:e.restoreValidation()}}),(e,a)=>{let l=t.Z;return(0,i.wg)(),(0,i.j4)(l,(0,i.dG)(e.$attrs,{ref_key:"formRef",ref:o,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"])}}})},17743:function(e,a,l){l.r(a),l.d(a,{default:()=>V});var t=l(39244),i=l(25170),o=l(75754),n=l(66760),s=l(86559),d=l(58786),u=l(67655),r=l(29875),m=l(93953),p=l(94821),c=l(68271),f=l(51169),v=l(77984),g=l(67512),h=l(67127),w=l(35409);let x={class:"flex"},b={class:"w-0 flex-1 flex items-center"},_={class:"min-w-0"},U=(0,d.aZ)({__name:"index",props:{value:{default:""}},setup(e){let{copyText:a}=(0,v.F)(),l=(0,d.iH)(!1),t=(0,d.Fl)(()=>l.value?e.value:"**********"),i=()=>{l.value=!l.value},o=async()=>{a(`${e.value}`)};return(e,a)=>{let n=w.ZP;return(0,d.wg)(),(0,d.iD)("div",x,[(0,d._)("div",b,[(0,d._)("div",_,[(0,d.Wm)(n,{class:"max-w-full",tooltip:{contentStyle:{maxWidth:"200px"}}},{default:(0,d.w5)(()=>[(0,d.Uk)((0,d.zw)((0,d.SU)(t)),1)]),_:1})]),(0,d._)("div",{class:"ml-6px text-15px cursor-pointer",title:"Show",onClick:i},[(0,d._)("i",{class:(0,d.C_)((0,d.SU)(l)?"i-mdi-eye-outline":"i-mdi-eye-off-outline")},null,2)]),(0,d._)("div",{class:"reset ml-6px text-15px cursor-pointer text-#333",title:"Copy",onClick:o},a[0]||(a[0]=[(0,d._)("i",{class:"i-mdi-content-copy"},null,-1)]))])])}}});var S=l(8490),y=l(39432),W=l(52495);let Z=(0,d.aZ)({__name:"DomainSelect",props:(0,d.Vf)({isAll:{type:Boolean,default:!0}},{value:{default:()=>null},valueModifiers:{}}),emits:["update:value"],setup(e){let{t:a}=(0,W.QT)(),l=(0,d.tT)(e,"value"),t=(0,d.iH)(!1),i=(0,d.iH)([]);return(async()=>{try{t.value=!0;let o=await (0,y.LC)();(0,c.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,d.wg)(),(0,d.j4)(n,{value:l.value,"onUpdate:value":o[0]||(o[0]=e=>l.value=e),loading:(0,d.SU)(t),filterable:!0,options:(0,d.SU)(i),placeholder:(0,d.SU)(a)("mailbox.domain.selectPlaceholder")},null,8,["value","loading","options","placeholder"])}}}),k=(0,l(41748).default)(Z,[["__scopeId","data-v-186220da"]]);var M=l(46244),C=l(29283),A=l(6455),T=l(79537),q=l(73084);let O=(0,d.aZ)({__name:"MailboxForm",setup(e){let{t:a}=(0,W.QT)(),l=(0,d.iH)(!1),t=(0,d.Fl)(()=>l.value?a("mailbox.form.editTitle"):a("mailbox.form.addTitle")),i=(0,d.AE)("formRef"),o=(0,d.qj)({quota:5,unit:"GB",isAdmin:0,full_name:"",domain:null,password:v(),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:{trigger:"blur",validator:()=>""!==o.full_name.trim()&&!!o.domain||Error(a("mailbox.validation.emailRequired"))},password:{trigger:"blur",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}}},m=(e,a)=>{switch(a){case"GB":e*=1024;case"MB":e*=1048576}return e},p=()=>({full_name:o.full_name,domain:o.domain||"",password:o.password,quota:m(o.quota,o.unit),isAdmin:o.isAdmin,active:o.active});function v(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16;e=Math.max(e,3);let a="abcdefghijklmnopqrstuvwxyz",l="ABCDEFGHIJKLMNOPQRSTUVWXYZ",t="0123456789",i=a+l+t,o="";o+=a.charAt(Math.floor(Math.random()*a.length)),o+=l.charAt(Math.floor(Math.random()*l.length)),o+=t.charAt(Math.floor(Math.random()*t.length));for(let a=3;a<e;a++){let e=Math.floor(Math.random()*i.length);o+=i[e]}return o.split("").sort(()=>Math.random()-.5).join("")}let[g,w]=(0,f.d)({onChangeState:e=>{if(e){let e=w.getState(),{row:a}=e;if(l.value=e.isEdit,a){o.full_name=a.full_name,o.domain=a.domain,o.isAdmin=a.is_admin,o.active=a.active,o.password=a.password;let[e,l]=(0,c.UO)(a.quota).split(" ");o.quota=(0,c.Dx)(e),o.unit=l}}else o.full_name="",o.domain=null,o.password=v(),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=p();l.value?await (0,h.EV)(a):await (0,h.Ts)(a),w.getState().refresh()}});return(e,m)=>{let p=q.Z,c=T.Z,f=A.ZP,v=C.Z,h=S.Z,w=r.Z,x=M.Z;return(0,d.wg)(),(0,d.j4)((0,d.SU)(g),{title:(0,d.SU)(t),width:"520"},{default:(0,d.w5)(()=>[(0,d.Wm)(x,{ref_key:"formRef",ref:i,class:"pt-20px",model:(0,d.SU)(o),rules:u},{default:(0,d.w5)(()=>[(0,d.Wm)(f,{label:(0,d.SU)(a)("mailbox.form.emailAddress"),path:"full_name"},{default:(0,d.w5)(()=>[(0,d.Wm)(c,null,{default:(0,d.w5)(()=>[(0,d.Wm)(p,{value:(0,d.SU)(o).full_name,"onUpdate:value":m[0]||(m[0]=e=>(0,d.SU)(o).full_name=e),class:"flex-1",disabled:(0,d.SU)(l)},null,8,["value","disabled"]),(0,d.Wm)(k,{value:(0,d.SU)(o).domain,"onUpdate:value":m[1]||(m[1]=e=>(0,d.SU)(o).domain=e),class:"flex-1","is-all":!1,disabled:(0,d.SU)(l)},null,8,["value","disabled"])]),_:1})]),_:1},8,["label"]),(0,d.Wm)(f,{label:(0,d.SU)(a)("mailbox.form.password"),path:"password"},{default:(0,d.w5)(()=>[(0,d.Wm)(p,{value:(0,d.SU)(o).password,"onUpdate:value":m[2]||(m[2]=e=>(0,d.SU)(o).password=e),placeholder:(0,d.SU)(a)("mailbox.form.passwordPlaceholder")},null,8,["value","placeholder"])]),_:1},8,["label"]),(0,d.Wm)(f,{label:(0,d.SU)(a)("mailbox.form.quota"),path:"quota"},{default:(0,d.w5)(()=>[(0,d.Wm)(c,null,{default:(0,d.w5)(()=>[(0,d.Wm)(v,{value:(0,d.SU)(o).quota,"onUpdate:value":m[3]||(m[3]=e=>(0,d.SU)(o).quota=e),class:"flex-1",min:1,"show-button":!1},null,8,["value"]),(0,d.Wm)(h,{value:(0,d.SU)(o).unit,"onUpdate:value":m[4]||(m[4]=e=>(0,d.SU)(o).unit=e),class:"flex-1",options:n},null,8,["value"])]),_:1})]),_:1},8,["label"]),(0,d.Wm)(f,{label:(0,d.SU)(a)("mailbox.form.userType"),path:"userType"},{default:(0,d.w5)(()=>[(0,d.Wm)(h,{value:(0,d.SU)(o).isAdmin,"onUpdate:value":m[5]||(m[5]=e=>(0,d.SU)(o).isAdmin=e),options:s},null,8,["value"])]),_:1},8,["label"]),(0,d.Wm)(f,{label:(0,d.SU)(a)("mailbox.form.status"),"show-feedback":!1},{default:(0,d.w5)(()=>[(0,d.Wm)(w,{value:(0,d.SU)(o).active,"onUpdate:value":m[6]||(m[6]=e=>(0,d.SU)(o).active=e),"checked-value":1,"unchecked-value":0},null,8,["value"])]),_:1},8,["label"])]),_:1},8,["model"])]),_:1},8,["title"])}}}),E={class:"p-24px"},z={class:"bt-title"},P={class:"w-220px"};function j(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,d.lA)(e)}let V=(0,d.aZ)({__name:"index",setup(e){let a=(0,p.tLD)(),{t:l}=(0,W.QT)(),{copyText:w}=(0,v.F)(),{tableParams:x,tableList:b,loading:_,tableTotal:S,getTableData:y}=(0,g.Z)({loading:!0,immediate:!0,params:{page:1,page_size:10,domain:a.value.state.domain||"",keyword:""},fetchFn:h.iC}),Z=(0,d.iH)([{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,d.Wm)(U,{value:e.password||"--"},null)},{key:"login",title:l("mailbox.columns.loginInfo"),render:e=>{let a;return(0,d.Wm)(u.ZP,{text:!0,type:"primary",onClick:()=>{w(l("mailbox.loginInfo.template",{webmail:window.location.origin+"/roundcube",username:e.username,password:e.password,mx:e.mx}))}},j(a=l("common.actions.copy"))?a:{default:()=>[a]})}},{key:"quota",title:l("mailbox.columns.quota"),width:"14%",minWidth:120,render:e=>(0,c.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,d.Wm)(r.Z,{value:e.active,"checked-value":1,"unchecked-value":0,size:"small",onUpdateValue:a=>{T(e,a)}},null)},{title:l("common.columns.actions"),key:"actions",align:"right",width:120,render:e=>{let a,t;return(0,d.Wm)(m.Z,{inline:!0},{default:()=>[(0,d.Wm)(u.ZP,{type:"primary",text:!0,onClick:()=>{q(e)}},j(a=l("common.actions.edit"))?a:{default:()=>[a]}),(0,d.Wm)(u.ZP,{type:"error",text:!0,onClick:()=>{V(e)}},j(t=l("common.actions.delete"))?t:{default:()=>[t]})]})}}]),[M,C]=(0,f.d)({component:O,state:{isEdit:!1,refresh:y}}),A=()=>{C.setState({isEdit:!1,row:null}),C.open()},T=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},q=e=>{C.setState({isEdit:!0,row:e}),C.open()},V=e=>{(0,c.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)({email:e.username}),y()}})};return(e,a)=>{let r=s.Z,m=n.Z,p=o.Z,c=i.Z,f=t.Z;return(0,d.wg)(),(0,d.iD)("div",E,[(0,d._)("div",z,(0,d.zw)((0,d.SU)(l)("layout.menu.mailboxes")),1),(0,d.Wm)(f,null,{toolsLeft:(0,d.w5)(()=>[(0,d.Wm)((0,d.SU)(u.ZP),{type:"primary",onClick:A},{default:(0,d.w5)(()=>[(0,d.Uk)((0,d.zw)((0,d.SU)(l)("mailbox.actions.add")),1)]),_:1})]),toolsRight:(0,d.w5)(()=>[(0,d._)("div",P,[(0,d.Wm)(k,{value:(0,d.SU)(x).domain,"onUpdate:value":[a[0]||(a[0]=e=>(0,d.SU)(x).domain=e),a[1]||(a[1]=()=>(0,d.SU)(y)(!0))]},null,8,["value"])]),(0,d.Wm)(r,{value:(0,d.SU)(x).keyword,"onUpdate:value":a[2]||(a[2]=e=>(0,d.SU)(x).keyword=e),width:"280",placeholder:(0,d.SU)(l)("mailbox.search.usernamePlaceholder"),onSearch:a[3]||(a[3]=()=>(0,d.SU)(y)(!0))},null,8,["value","placeholder"])]),table:(0,d.w5)(()=>[(0,d.Wm)(p,{loading:(0,d.SU)(_),columns:(0,d.SU)(Z),data:(0,d.SU)(b)},{empty:(0,d.w5)(()=>[(0,d.Wm)(m)]),_:1},8,["loading","columns","data"])]),pageRight:(0,d.w5)(()=>[(0,d.Wm)(c,{page:(0,d.SU)(x).page,"onUpdate:page":a[4]||(a[4]=e=>(0,d.SU)(x).page=e),"page-size":(0,d.SU)(x).page_size,"onUpdate:pageSize":a[5]||(a[5]=e=>(0,d.SU)(x).page_size=e),"item-count":(0,d.SU)(S),onRefresh:(0,d.SU)(y)},null,8,["page","page-size","item-count","onRefresh"])]),modal:(0,d.w5)(()=>[(0,d.Wm)((0,d.SU)(M))]),_:1})])}}})}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/8946.597cc6fc.js b/core/public/dist/static/js/async/8946.597cc6fc.js
new file mode 100644
index 00000000..52a351e4
--- /dev/null
+++ b/core/public/dist/static/js/async/8946.597cc6fc.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["8946"],{39432:function(e,a,l){l.d(a,{Au:()=>m,Fj:()=>s,LC:()=>n,OV:()=>r,dj:()=>u,gK:()=>d,i7:()=>o,v1:()=>p,xh:()=>f,yW:()=>c});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=e=>t.e.post("/domains/create",e,{fetchOptions:{loading:i("domain.api.loading.creating"),successMessage:!0}}),d=e=>t.e.post("/domains/update",e,{fetchOptions:{loading:i("domain.api.loading.updating"),successMessage:!0}}),u=e=>t.e.post("/domains/delete",e,{fetchOptions:{loading:i("domain.api.loading.deleting"),successMessage:!0}}),r=e=>t.e.post("/domains/set_ssl",e,{fetchOptions:{loading:i("domain.api.loading.settingSSL"),successMessage:!0}}),m=e=>t.e.get("/domains/get_ssl",{params:e}),p=e=>t.e.post("/domains/fresh_dns_records",e,{fetchOptions:{loading:i("domain.api.loading.refreshingDns"),successMessage:!0}}),c=e=>t.e.post("/ssl/apply_cert",e,{fetchOptions:{loading:i("domain.api.loading.applyingCert"),successMessage:!0}}),f=e=>t.e.post("/domains/set_default_domain",e,{fetchOptions:{loading:"Setting Default Domain, please wait...",successMessage:!0}})},67127:function(e,a,l){l.d(a,{EV:()=>s,Ts:()=>n,WS:()=>d,iC:()=>o});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/update",e,{fetchOptions:{loading:i("mailbox.api.loading.updating"),successMessage:!0}}),d=e=>t.e.post("/mailbox/delete",e,{fetchOptions:{loading:i("mailbox.api.loading.deleting"),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}=(0,i.VPI)({legacy:!0});return{copyText:async i=>{if(!i)return void t.v0.error(e("common.useCopy.noText"));l.value?(await a(i),t.v0.success(e("common.useCopy.success"))):t.v0.error(e("common.useCopy.failed"))}}}},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"),d=()=>{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)(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},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:d},a[2]||(a[2]=[(0,i._)("i",{class:"i-mdi-search text-16px"},null,-1)]))]),key:"1"}]),1040,["value","style"])}}})},46244:function(e,a,l){l.d(a,{Z:()=>o});var t=l(98048),i=l(58786);let o=(0,i.aZ)({__name:"index",props:{model:{},rules:{},labelWidth:{},labelPlacement:{default:"top"}},setup(e,a){let{expose:l}=a,o=(0,i.iH)(null);return l({validate:()=>{var e;return null==(e=o.value)?void 0:e.validate()},restoreValidation:()=>{var e;return null==(e=o.value)?void 0:e.restoreValidation()}}),(e,a)=>{let l=t.Z;return(0,i.wg)(),(0,i.j4)(l,(0,i.dG)(e.$attrs,{ref_key:"formRef",ref:o,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"])}}})},17743:function(e,a,l){l.r(a),l.d(a,{default:()=>V});var t=l(39244),i=l(25170),o=l(75754),n=l(66760),s=l(86559),d=l(58786),u=l(67655),r=l(29875),m=l(93953),p=l(94821),c=l(68271),f=l(51169),v=l(77984),g=l(67512),h=l(67127),w=l(35409);let x={class:"flex"},b={class:"w-0 flex-1 flex items-center"},_={class:"min-w-0"},U=(0,d.aZ)({__name:"index",props:{value:{default:""}},setup(e){let{copyText:a}=(0,v.F)(),l=(0,d.iH)(!1),t=(0,d.Fl)(()=>l.value?e.value:"**********"),i=()=>{l.value=!l.value},o=async()=>{a(`${e.value}`)};return(e,a)=>{let n=w.ZP;return(0,d.wg)(),(0,d.iD)("div",x,[(0,d._)("div",b,[(0,d._)("div",_,[(0,d.Wm)(n,{class:"max-w-full",tooltip:{contentStyle:{maxWidth:"200px"}}},{default:(0,d.w5)(()=>[(0,d.Uk)((0,d.zw)((0,d.SU)(t)),1)]),_:1})]),(0,d._)("div",{class:"ml-6px text-15px cursor-pointer",title:"Show",onClick:i},[(0,d._)("i",{class:(0,d.C_)((0,d.SU)(l)?"i-mdi-eye-outline":"i-mdi-eye-off-outline")},null,2)]),(0,d._)("div",{class:"reset ml-6px text-15px cursor-pointer text-#333",title:"Copy",onClick:o},a[0]||(a[0]=[(0,d._)("i",{class:"i-mdi-content-copy"},null,-1)]))])])}}});var S=l(8490),y=l(39432),W=l(52495);let Z=(0,d.aZ)({__name:"DomainSelect",props:(0,d.Vf)({isAll:{type:Boolean,default:!0}},{value:{default:()=>null},valueModifiers:{}}),emits:["update:value"],setup(e){let{t:a}=(0,W.QT)(),l=(0,d.tT)(e,"value"),t=(0,d.iH)(!1),i=(0,d.iH)([]);return(async()=>{try{t.value=!0;let o=await (0,y.LC)();(0,c.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,d.wg)(),(0,d.j4)(n,{value:l.value,"onUpdate:value":o[0]||(o[0]=e=>l.value=e),loading:(0,d.SU)(t),filterable:!0,options:(0,d.SU)(i),placeholder:(0,d.SU)(a)("mailbox.domain.selectPlaceholder")},null,8,["value","loading","options","placeholder"])}}}),k=(0,l(41748).default)(Z,[["__scopeId","data-v-186220da"]]);var M=l(46244),C=l(29283),A=l(6455),T=l(79537),q=l(73084);let O=(0,d.aZ)({__name:"MailboxForm",setup(e){let{t:a}=(0,W.QT)(),l=(0,d.iH)(!1),t=(0,d.Fl)(()=>l.value?a("mailbox.form.editTitle"):a("mailbox.form.addTitle")),i=(0,d.AE)("formRef"),o=(0,d.qj)({quota:5,unit:"GB",isAdmin:0,full_name:"",domain:null,password:v(),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:{trigger:"blur",validator:()=>""!==o.full_name.trim()&&!!o.domain||Error(a("mailbox.validation.emailRequired"))},password:{trigger:"blur",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}}},m=(e,a)=>{switch(a){case"GB":e*=1024;case"MB":e*=1048576}return e},p=()=>({full_name:o.full_name,domain:o.domain||"",password:o.password,quota:m(o.quota,o.unit),isAdmin:o.isAdmin,active:o.active});function v(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16;e=Math.max(e,3);let a="abcdefghijklmnopqrstuvwxyz",l="ABCDEFGHIJKLMNOPQRSTUVWXYZ",t="0123456789",i=a+l+t,o="";o+=a.charAt(Math.floor(Math.random()*a.length)),o+=l.charAt(Math.floor(Math.random()*l.length)),o+=t.charAt(Math.floor(Math.random()*t.length));for(let a=3;a<e;a++){let e=Math.floor(Math.random()*i.length);o+=i[e]}return o.split("").sort(()=>Math.random()-.5).join("")}let[g,w]=(0,f.d)({onChangeState:e=>{if(e){let e=w.getState(),{row:a}=e;if(l.value=e.isEdit,a){o.full_name=a.full_name,o.domain=a.domain,o.isAdmin=a.is_admin,o.active=a.active,o.password=a.password;let[e,l]=(0,c.UO)(a.quota).split(" ");o.quota=(0,c.Dx)(e),o.unit=l}}else o.full_name="",o.domain=null,o.password=v(),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=p();l.value?await (0,h.EV)(a):await (0,h.Ts)(a),w.getState().refresh()}});return(e,m)=>{let p=q.Z,c=T.Z,f=A.ZP,v=C.Z,h=S.Z,w=r.Z,x=M.Z;return(0,d.wg)(),(0,d.j4)((0,d.SU)(g),{title:(0,d.SU)(t),width:"520"},{default:(0,d.w5)(()=>[(0,d.Wm)(x,{ref_key:"formRef",ref:i,class:"pt-20px",model:(0,d.SU)(o),rules:u},{default:(0,d.w5)(()=>[(0,d.Wm)(f,{label:(0,d.SU)(a)("mailbox.form.emailAddress"),path:"full_name"},{default:(0,d.w5)(()=>[(0,d.Wm)(c,null,{default:(0,d.w5)(()=>[(0,d.Wm)(p,{value:(0,d.SU)(o).full_name,"onUpdate:value":m[0]||(m[0]=e=>(0,d.SU)(o).full_name=e),class:"flex-1",disabled:(0,d.SU)(l)},null,8,["value","disabled"]),(0,d.Wm)(k,{value:(0,d.SU)(o).domain,"onUpdate:value":m[1]||(m[1]=e=>(0,d.SU)(o).domain=e),class:"flex-1","is-all":!1,disabled:(0,d.SU)(l)},null,8,["value","disabled"])]),_:1})]),_:1},8,["label"]),(0,d.Wm)(f,{label:(0,d.SU)(a)("mailbox.form.password"),path:"password"},{default:(0,d.w5)(()=>[(0,d.Wm)(p,{value:(0,d.SU)(o).password,"onUpdate:value":m[2]||(m[2]=e=>(0,d.SU)(o).password=e),placeholder:(0,d.SU)(a)("mailbox.form.passwordPlaceholder")},null,8,["value","placeholder"])]),_:1},8,["label"]),(0,d.Wm)(f,{label:(0,d.SU)(a)("mailbox.form.quota"),path:"quota"},{default:(0,d.w5)(()=>[(0,d.Wm)(c,null,{default:(0,d.w5)(()=>[(0,d.Wm)(v,{value:(0,d.SU)(o).quota,"onUpdate:value":m[3]||(m[3]=e=>(0,d.SU)(o).quota=e),class:"flex-1",min:1,"show-button":!1},null,8,["value"]),(0,d.Wm)(h,{value:(0,d.SU)(o).unit,"onUpdate:value":m[4]||(m[4]=e=>(0,d.SU)(o).unit=e),class:"flex-1",options:n},null,8,["value"])]),_:1})]),_:1},8,["label"]),(0,d.Wm)(f,{label:(0,d.SU)(a)("mailbox.form.userType"),path:"userType"},{default:(0,d.w5)(()=>[(0,d.Wm)(h,{value:(0,d.SU)(o).isAdmin,"onUpdate:value":m[5]||(m[5]=e=>(0,d.SU)(o).isAdmin=e),options:s},null,8,["value"])]),_:1},8,["label"]),(0,d.Wm)(f,{label:(0,d.SU)(a)("mailbox.form.status"),"show-feedback":!1},{default:(0,d.w5)(()=>[(0,d.Wm)(w,{value:(0,d.SU)(o).active,"onUpdate:value":m[6]||(m[6]=e=>(0,d.SU)(o).active=e),"checked-value":1,"unchecked-value":0},null,8,["value"])]),_:1},8,["label"])]),_:1},8,["model"])]),_:1},8,["title"])}}}),E={class:"p-24px"},z={class:"bt-title"},P={class:"w-220px"};function j(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,d.lA)(e)}let V=(0,d.aZ)({__name:"index",setup(e){let a=(0,p.tLD)(),{t:l}=(0,W.QT)(),{copyText:w}=(0,v.F)(),{tableParams:x,tableList:b,loading:_,tableTotal:S,getTableData:y}=(0,g.Z)({loading:!0,immediate:!0,params:{page:1,page_size:10,domain:a.value.state.domain||"",keyword:""},fetchFn:h.iC}),Z=(0,d.iH)([{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,d.Wm)(U,{value:e.password||"--"},null)},{key:"login",title:l("mailbox.columns.loginInfo"),render:e=>{let a;return(0,d.Wm)(u.ZP,{text:!0,type:"primary",onClick:()=>{w(l("mailbox.loginInfo.template",{webmail:window.location.origin+"/roundcube",username:e.username,password:e.password,mx:e.mx}))}},j(a=l("common.actions.copy"))?a:{default:()=>[a]})}},{key:"quota",title:l("mailbox.columns.quota"),width:"14%",minWidth:120,render:e=>(0,c.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,d.Wm)(r.Z,{value:e.active,"checked-value":1,"unchecked-value":0,size:"small",onUpdateValue:a=>{T(e,a)}},null)},{title:l("common.columns.actions"),key:"actions",align:"right",width:120,render:e=>{let a,t;return(0,d.Wm)(m.Z,{inline:!0},{default:()=>[(0,d.Wm)(u.ZP,{type:"primary",text:!0,onClick:()=>{q(e)}},j(a=l("common.actions.edit"))?a:{default:()=>[a]}),(0,d.Wm)(u.ZP,{type:"error",text:!0,onClick:()=>{V(e)}},j(t=l("common.actions.delete"))?t:{default:()=>[t]})]})}}]),[M,C]=(0,f.d)({component:O,state:{isEdit:!1,refresh:y}}),A=()=>{C.setState({isEdit:!1,row:null}),C.open()},T=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},q=e=>{C.setState({isEdit:!0,row:e}),C.open()},V=e=>{(0,c.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)({email:e.username}),y()}})};return(e,a)=>{let r=s.Z,m=n.Z,p=o.Z,c=i.Z,f=t.Z;return(0,d.wg)(),(0,d.iD)("div",E,[(0,d._)("div",z,(0,d.zw)((0,d.SU)(l)("layout.menu.mailboxes")),1),(0,d.Wm)(f,null,{toolsLeft:(0,d.w5)(()=>[(0,d.Wm)((0,d.SU)(u.ZP),{type:"primary",onClick:A},{default:(0,d.w5)(()=>[(0,d.Uk)((0,d.zw)((0,d.SU)(l)("mailbox.actions.add")),1)]),_:1})]),toolsRight:(0,d.w5)(()=>[(0,d._)("div",P,[(0,d.Wm)(k,{value:(0,d.SU)(x).domain,"onUpdate:value":[a[0]||(a[0]=e=>(0,d.SU)(x).domain=e),a[1]||(a[1]=()=>(0,d.SU)(y)(!0))]},null,8,["value"])]),(0,d.Wm)(r,{value:(0,d.SU)(x).keyword,"onUpdate:value":a[2]||(a[2]=e=>(0,d.SU)(x).keyword=e),width:"280",placeholder:(0,d.SU)(l)("mailbox.search.usernamePlaceholder"),onSearch:a[3]||(a[3]=()=>(0,d.SU)(y)(!0))},null,8,["value","placeholder"])]),table:(0,d.w5)(()=>[(0,d.Wm)(p,{loading:(0,d.SU)(_),columns:(0,d.SU)(Z),data:(0,d.SU)(b)},{empty:(0,d.w5)(()=>[(0,d.Wm)(m)]),_:1},8,["loading","columns","data"])]),pageRight:(0,d.w5)(()=>[(0,d.Wm)(c,{page:(0,d.SU)(x).page,"onUpdate:page":a[4]||(a[4]=e=>(0,d.SU)(x).page=e),"page-size":(0,d.SU)(x).page_size,"onUpdate:pageSize":a[5]||(a[5]=e=>(0,d.SU)(x).page_size=e),"item-count":(0,d.SU)(S),onRefresh:(0,d.SU)(y)},null,8,["page","page-size","item-count","onRefresh"])]),modal:(0,d.w5)(()=>[(0,d.Wm)((0,d.SU)(M))]),_:1})])}}})}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/9468.06d7af2f.js b/core/public/dist/static/js/async/9468.06d7af2f.js
deleted file mode 100644
index 6bfe0e8b..00000000
--- a/core/public/dist/static/js/async/9468.06d7af2f.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["9468"],{74557:function(e,t,n){let l,u;n.d(t,{Z:()=>d});var a,r,i=n(58786);function d(e){if(u)return;let t=!1;(0,i.bv)(()=>{u||null==l||l.then(()=>{t||e()})}),(0,i.Jd)(()=>{t=!0})}l=n(86223).j?null==(r=null==(a=document)?void 0:a.fonts)?void 0:r.ready:void 0,u=!1,void 0!==l?l.then(()=>{u=!0}):u=!0},23125:function(e,t,n){n.d(t,{Z:()=>u});var l=n(58786);function u(e,t){return(0,l.Fl)(()=>{for(let n of t)if(void 0!==e[n])return e[n];return e[t[t.length-1]]})}},20013:function(e,t,n){n.d(t,{Z:()=>u});var l=n(58786);function u(e,t){return(0,l.YP)(e,e=>{void 0!==e&&(t.value=e)}),(0,l.Fl)(()=>void 0===e.value?t.value:e.value)}},77427:function(e,t,n){n.d(t,{A:()=>u,c:()=>l});let{c:l}=(0,n(80673).j)(),u="vueuc-style"},65977:function(e,t,n){n.d(t,{Z:()=>u});var l=n(58786);let u=(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"}))})},63926:function(e,t,n){n.d(t,{Z:()=>c});var l=n(10320),u=n(43751),a=n(58786),r=n(94904),i=n(52495),d=n(65965);let o={class:"bt-title"},v=(0,a.aZ)({__name:"index",setup(e){let{t}=(0,i.QT)(),n=(0,d.yj)(),v=(0,d.tv)(),c=(0,a.iH)([]),f=(0,a.Fl)(()=>String(n.name)),s=(0,a.Fl)(()=>t(`${(0,r.Z)(n.matched[0],"meta.titleKey")}`)),m=e=>{v.push({name:e})};return!c.value.find(e=>e.name===n.name)&&n.matched[1].children&&(c.value=n.matched[1].children.map(e=>{let n=(0,r.Z)(e,"meta.titleKey",""),l=(0,r.Z)(e,"meta.title","");return{title:`${n?t(String(n)):l}`,name:String(e.name)}})),(e,t)=>{let n=u.Z,r=l.Z,i=(0,a.up)("router-view");return(0,a.wg)(),(0,a.iD)(a.HY,null,[(0,a._)("div",o,(0,a.zw)((0,a.SU)(s)),1),(0,a.Wm)(r,{value:(0,a.SU)(f),type:"line",class:"route-tabs","onUpdate:value":m},{default:(0,a.w5)(()=>[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)((0,a.SU)(c),e=>((0,a.wg)(),(0,a.j4)(n,{key:e.name,name:e.name,tab:e.title},null,8,["name","tab"]))),128))]),_:1},8,["value"]),(0,a.Wm)(i)],64)}}}),c=(0,n(41748).default)(v,[["__scopeId","data-v-1c356723"]])},69052:function(e,t,n){n.r(t),n.d(t,{default:()=>r});var l=n(63926),u=n(58786);let a={class:"p-24px"},r=(0,n(41748).default)({},[["render",function(e,t){let n=l.Z;return(0,u.wg)(),(0,u.iD)("div",a,[(0,u.Wm)(n)])}]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/9468.f3854687.js b/core/public/dist/static/js/async/9468.f3854687.js
new file mode 100644
index 00000000..112f5da8
--- /dev/null
+++ b/core/public/dist/static/js/async/9468.f3854687.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["9468"],{74557:function(e,t,n){let r,u;n.d(t,{Z:()=>o});var l,a,i=n(58786);function o(e){if(u)return;let t=!1;(0,i.bv)(()=>{u||null==r||r.then(()=>{t||e()})}),(0,i.Jd)(()=>{t=!0})}r=n(86223).j?null==(a=null==(l=document)?void 0:l.fonts)?void 0:a.ready:void 0,u=!1,void 0!==r?r.then(()=>{u=!0}):u=!0},23125:function(e,t,n){n.d(t,{Z:()=>u});var r=n(58786);function u(e,t){return(0,r.Fl)(()=>{for(let n of t)if(void 0!==e[n])return e[n];return e[t[t.length-1]]})}},20013:function(e,t,n){n.d(t,{Z:()=>u});var r=n(58786);function u(e,t){return(0,r.YP)(e,e=>{void 0!==e&&(t.value=e)}),(0,r.Fl)(()=>void 0===e.value?t.value:e.value)}},77427:function(e,t,n){n.d(t,{A:()=>u,c:()=>r});let{c:r}=(0,n(80673).j)(),u="vueuc-style"},80954:function(e,t,n){n.d(t,{Z:()=>l});var r=n(34542),u=n(32452);let l=function(e,t){t=(0,r.Z)(t,e);for(var n=0,l=t.length;null!=e&&n<l;)e=e[(0,u.Z)(t[n++])];return n&&n==l?e:void 0}},34542:function(e,t,n){n.d(t,{Z:()=>s});var r,u,l=n(3073),a=n(90483),i=n(37408);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,u=t?t.apply(this,r):r[0],l=n.cache;if(l.has(u))return l.get(u);var a=e.apply(this,r);return n.cache=l.set(u,a)||l,a};return n.cache=new(o.Cache||i.Z),n}o.Cache=i.Z;var c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d=/\\(\\)?/g,f=(u=(r=o(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(c,function(e,n,r,u){t.push(r?u.replace(d,"$1"):n||e)}),t},function(e){return 500===u.size&&u.clear(),e})).cache,r),v=n(88521);let s=function(e,t){return(0,l.Z)(e)?e:(0,a.Z)(e,t)?[e]:f((0,v.Z)(e))}},90483:function(e,t,n){n.d(t,{Z:()=>i});var r=n(3073),u=n(56721),l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;let i=function(e,t){if((0,r.Z)(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||(0,u.Z)(e))||a.test(e)||!l.test(e)||null!=t&&e in Object(t)}},32452:function(e,t,n){n.d(t,{Z:()=>l});var r=n(56721),u=1/0;let l=function(e){if("string"==typeof e||(0,r.Z)(e))return e;var t=e+"";return"0"==t&&1/e==-u?"-0":t}},94904:function(e,t,n){n.d(t,{Z:()=>u});var r=n(80954);let u=function(e,t,n){var u=null==e?void 0:(0,r.Z)(e,t);return void 0===u?n:u}},65977:function(e,t,n){n.d(t,{Z:()=>u});var r=n(58786);let u=(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"}))})},63926:function(e,t,n){n.d(t,{Z:()=>f});var r=n(10320),u=n(43751),l=n(58786),a=n(94904),i=n(52495),o=n(65965);let c={class:"bt-title"},d=(0,l.aZ)({__name:"index",setup(e){let{t}=(0,i.QT)(),n=(0,o.yj)(),d=(0,o.tv)(),f=(0,l.iH)([]),v=(0,l.Fl)(()=>String(n.name)),s=(0,l.Fl)(()=>t(`${(0,a.Z)(n.matched[0],"meta.titleKey")}`)),h=e=>{d.push({name:e})};return!f.value.find(e=>e.name===n.name)&&n.matched[1].children&&(f.value=n.matched[1].children.map(e=>{let n=(0,a.Z)(e,"meta.titleKey",""),r=(0,a.Z)(e,"meta.title","");return{title:`${n?t(String(n)):r}`,name:String(e.name)}})),(e,t)=>{let n=u.Z,a=r.Z,i=(0,l.up)("router-view");return(0,l.wg)(),(0,l.iD)(l.HY,null,[(0,l._)("div",c,(0,l.zw)((0,l.SU)(s)),1),(0,l.Wm)(a,{value:(0,l.SU)(v),type:"line",class:"route-tabs","onUpdate:value":h},{default:(0,l.w5)(()=>[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)((0,l.SU)(f),e=>((0,l.wg)(),(0,l.j4)(n,{key:e.name,name:e.name,tab:e.title},null,8,["name","tab"]))),128))]),_:1},8,["value"]),(0,l.Wm)(i)],64)}}}),f=(0,n(41748).default)(d,[["__scopeId","data-v-1c356723"]])},69052:function(e,t,n){n.r(t),n.d(t,{default:()=>a});var r=n(63926),u=n(58786);let l={class:"p-24px"},a=(0,n(41748).default)({},[["render",function(e,t){let n=r.Z;return(0,u.wg)(),(0,u.iD)("div",l,[(0,u.Wm)(n)])}]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/index.1dcf1121.js b/core/public/dist/static/js/index.1dcf1121.js
new file mode 100644
index 00000000..0b111062
--- /dev/null
+++ b/core/public/dist/static/js/index.1dcf1121.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","./mailbox.ts":"5987","./market.ts":"30794","./overview.ts":"65449","./settings.ts":"84609","./smtp.ts":"48296","./template.ts":"31255"};function r(e){return a(o(e))}function o(e){if(!a.o(i,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=o,e.exports=r,r.id=12052},34541:function(e,t,a){"use strict";a.d(t,{e:()=>s});var i=a(64767),r=a(52672),o=a(31708),n=a(68271);let s=i.Z.create({baseURL:n.FZ,timeout:25e4,headers:{"Content-Type":"application/json"},fetchOptions:{prefix:"/api",successMessage:!1}}),l=["/login"];s.interceptors.request.use(e=>{let{headers:t,url:a}=e;if(!l.includes(a||"")){let e=(0,o.LM)();t.Authorization=`Bearer ${e.login.token}`}return e}),s.interceptors.request.use(e=>{let{fetchOptions:t}=e;return(0,n.Kn)(t)&&(e.url=`${t.prefix}`+e.url),e}),s.interceptors.request.use(e=>{let{fetchOptions:t}=e;if((0,n.Kn)(t)&&t.loading){let{close:e}=n.v0.loading(t.loading);t.loadFn=e}return e}),s.interceptors.response.use(e=>{let{fetchOptions:t}=e.config,{code:a,data:i,msg:s,success:l}=e.data||{};if((null==t?void 0:t.loadFn)&&t.loadFn(),"application/force-download"===e.data.type){let t=window.URL.createObjectURL(new Blob([e.data])),a=document.createElement("a");a.href=t;let r=e.headers["content-disposition"],o=r?decodeURIComponent(r.split("filename=")[1]):"downloaded_file";return a.setAttribute("download",o),document.body.appendChild(a),a.click(),document.body.removeChild(a),window.URL.revokeObjectURL(t),Promise.resolve(i)}return 0===a&&l?((null==t?void 0:t.successMessage)&&n.v0.success(s),Promise.resolve(i)):(!l&&s&&n.v0.error(s,{close:!0}),401===a&&((0,o.LM)().resetLoginInfo(),r.Z.push("/login")),Promise.reject(e.data))},e=>Promise.reject(e))},98003:function(e,t,a){"use strict";a.d(t,{Sv:()=>o,Vb:()=>n,cT:()=>r,m0:()=>s});var i=a(34541);let r=(e,t)=>i.e.post("/file/upload",e,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:e=>{null==t||t(e)}}),o=e=>i.e.get("/file/download",{params:e,responseType:"blob"}),n=()=>i.e.get("/languages/get"),s=e=>i.e.post("/languages/set",e,{fetchOptions:{loading:"正在设置语言,请稍候...",successMessage:!0}})},73282:function(e,t,a){"use strict";a.d(t,{kS:()=>n,o1:()=>s,x4:()=>o});var i=a(34541);let{t:r}=a(76882).Z.global,o=e=>i.e.post("/login",e,{fetchOptions:{successMessage:!0}}),n=()=>i.e.post("/logout",{},{fetchOptions:{loading:r("user.api.loading.logout"),successMessage:!0}}),s=()=>i.e.get("/get_validate_code")},76882:function(e,t,a){"use strict";a.d(t,{m:()=>l,Z:()=>d});var i=a(52495),r=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"},"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"}},"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","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"}}},"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"},"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..."}}},"contacts":{"subscribers":{"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","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"},"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..."}}},"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}]?"},"form":{"addTitle":"Add Domain","editTitle":"Edit Domain","domain":"Domain","domainPlaceholder":"Please enter domain, e.g.: 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"}},"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"}},"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"},"search":{"usernamePlaceholder":"Search username"},"domain":{"selectPlaceholder":"Select domain"},"columns":{"username":"Username","password":"Password","loginInfo":"Login Info","quota":"Quota","type":"Type","status":"Status"},"userType":{"admin":"Admin","general":"General User"},"form":{"addTitle":"Add Mailbox","editTitle":"Edit Mailbox","emailAddress":"Email Address","password":"Password","passwordPlaceholder":"Enter your mailbox password","quota":"Quota","userType":"User Type","status":"Status"},"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"},"delete":{"title":"Delete Mailbox","confirm":"Are you sure you want to delete mailbox [{name}]?"},"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..."}}},"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"},"form":{"addTitle":"Add SMTP","editTitle":"Edit SMTP","remark":"Remark","domain":"Bound Domain","server":"SMTP Server","port":"SMTP Port","username":"Username","password":"Password","testConnection":"Test Connection","bind":" [Bound]","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"}}},"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..."}}},"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..."}}}'),o=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"},"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":"退出"}},"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":"已退回","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":"详情"}}},"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":"创建时间"},"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":"正在删除模板,请稍候..."}}},"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":["请粘贴数据,每行一个邮箱,属性(可为空)","例如:[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":"创建时间"},"form":{"name":"分组名称","file":"文件","nameRequired":"请输入分组名称"},"add":{"title":"添加分组"},"rename":{"title":"重命名分组"},"delete":{"title":"删除分组","confirm":"确定要删除分组 {name} 吗?"},"fileUpload":{"hint":"文件类型:csv,不超过5 MB","emptyHint":"文件传空时,会自动创建一个空分组"},"loading":{"createGroup":"正在创建分组,请稍候...","updateGroup":"正在更新分组,请稍候...","deleteGroup":"正在删除分组,请稍候...","importSubscribers":"正在导入联系人,请稍候...","updateSubscriberGroup":"正在修改分组,请稍候...","deleteSubscriber":"正在删除联系人,请稍候..."}}},"domain":{"title":"MailDomain","addDomain":"添加域名","help":"添加你要用来发邮件的域名","columns":{"domain":"域名","quota":"配额","mailboxes":"邮箱数量","defaultMailboxSize":"默认邮箱大小","actions":"操作"},"actions":{"dnsRecord":"DNS记录"},"delete":{"title":"删除域名","confirm":"确定要删除域名【{domain}】吗?","confirmButton":"删除"},"form":{"addTitle":"添加域名","editTitle":"编辑域名","domain":"域名","domainPlaceholder":"请输入域名,例如: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】"}},"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 的站点"}},"api":{"loading":{"creating":"正在创建域名,请稍候...","updating":"正在更新域名,请稍候...","deleting":"正在删除域名,请稍候...","settingSSL":"正在设置 SSL,请稍候...","applyingCert":"正在申请 SSL 证书,请稍候...","refreshingDns":"正在刷新DNS记录,请稍候..."}}},"mailbox":{"title":"邮箱管理","actions":{"add":"添加邮箱"},"search":{"usernamePlaceholder":"搜索用户名"},"domain":{"selectPlaceholder":"请选择域名"},"columns":{"username":"用户名","password":"密码","loginInfo":"登录信息","quota":"配额","type":"类型","status":"状态"},"userType":{"admin":"管理员","general":"普通用户"},"form":{"addTitle":"添加邮箱","editTitle":"编辑邮箱","emailAddress":"邮箱地址","password":"密码","passwordPlaceholder":"请输入您的邮箱密码","quota":"配额","userType":"用户类型","status":"状态"},"validation":{"emailRequired":"请输入邮箱地址","passwordLength":"密码长度少于8位,请重新输入","passwordFormat":"密码必须包含至少一个大写字母、一个小写字母和数字,请重新输入"},"delete":{"title":"删除邮箱","confirm":"确定要删除邮箱【{name}】吗?"},"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":"正在删除邮箱,请稍候..."}}},"smtp":{"title":"SMTP中继服务管理","description":"管理您的SMTP中继服务,支持多种服务提供商","empty":"暂无SMTP中继服务","providers":{"custom":"自定义SMTP"},"delete":{"title":"删除中继","confirm":"确定要删除此中继服务【{name}】吗?"},"card":{"domain":"绑定域名","server":"服务器","port":"端口","username":"用户名"},"form":{"addTitle":"添加SMTP","editTitle":"编辑SMTP","remark":"备注","domain":"绑定域名","server":"SMTP服务器","port":"SMTP端口","username":"用户名","password":"密码","testConnection":"测试链接","bind":"【已绑定】","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地址都可以访问"}}},"api":{"loading":{"restarting":"正在重启服务,请稍候...","saving":"正在保存配置,请稍候...","setting":"正在设置,请稍候...","settingSSL":"正在设置SSL,请稍候...","applyingCert":"正在申请证书,请稍候...","adding":"正在添加,请稍候...","deleting":"正在删除,请稍候...","clearing":"正在清空,请稍候..."}}},"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":"正在测试,请稍候..."}}}'),n=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":"ログアウト"}},"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":"バウンス(送信失敗)","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":"詳細"}}},"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":"作成日"},"search":{"namePlaceholder":"テンプレート名で検索"},"delete":{"title":"テンプレート削除","confirm":"テンプレート {name} を削除してもよろしいですか?"},"form":{"name":"テンプレート名","type":"テンプレートタイプ","content":"テンプレート内容"},"add":{"title":"テンプレート追加","namePlaceholder":"テンプレート名を入力してください","validation":{"nameRequired":"テンプレート名を入力してください","uploadRequired":"HTML ファイルをアップロードしてください"}},"preview":{"title":"テンプレートプレビュー"}}},"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":"グループ削除中... お待ちください"}}},"domain":{"title":"メールドメイン","addDomain":"ドメイン追加","help":"メール送信に使用するドメインを追加してください","columns":{"domain":"ドメイン","quota":"クォータ","mailboxes":"メールボックス","defaultMailboxSize":"デフォルトメールボックスサイズ","actions":"操作"},"actions":{"dnsRecord":"DNS レコード"},"delete":{"title":"ドメイン削除","confirm":"ドメイン [{domain}] を削除してもよろしいですか?"},"form":{"addTitle":"ドメイン追加","editTitle":"ドメイン編集","domain":"ドメイン","domainPlaceholder":"例: 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 レコードを更新中... お待ちください"}}},"mailbox":{"title":"メールボックス管理","actions":{"add":"メールボックス追加"},"search":{"usernamePlaceholder":"ユーザー名検索"},"domain":{"selectPlaceholder":"ドメイン選択"},"columns":{"username":"ユーザー名","password":"パスワード","loginInfo":"ログイン情報","quota":"クォータ","type":"タイプ","status":"ステータス"},"userType":{"admin":"管理者","general":"一般ユーザー"},"form":{"addTitle":"メールボックス追加","editTitle":"メールボックス編集","emailAddress":"メールアドレス","password":"パスワード","passwordPlaceholder":"メールボックスのパスワードを入力","quota":"クォータ","userType":"ユーザータイプ","status":"ステータス"},"validation":{"emailRequired":"メールアドレスを入力してください","passwordLength":"パスワードは8文字以上である必要があります","passwordFormat":"パスワードは大文字・小文字・数字をそれぞれ1文字以上含む必要があります"},"delete":{"title":"メールボックス削除","confirm":"メールボックス [{name}] を削除してもよろしいですか?"},"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":"メールボックスを削除中... お待ちください"}}},"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":"ユーザー名"},"form":{"addTitle":"SMTP 追加","editTitle":"SMTP 編集","remark":"備考","domain":"紐付けドメイン","server":"SMTP サーバー","port":"SMTP ポート","username":"ユーザー名","password":"パスワード","testConnection":"接続テスト","bind":" [紐付け済み]","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":"メール転送を削除中... お待ちください"}},"api":{"loading":{"restarting":"サービスを再起動中... お待ちください","saving":"設定を保存中... お待ちください"}}}}');let s=(0,i.o)({legacy:!1,globalInjection:!0,locale:"en",fallbackLocale:"en",messages:{en:r,zh:o,ja:n}}),l=e=>{s.global.locale.value=e},d=s},27775:function(e,t,a){"use strict";a.d(t,{l:()=>d});var i=a(58786),r=a(76882),o=a(31708),n=a(52672),s=a(60066);let l=(0,i.aZ)({__name:"App",setup(e){let t=(0,o.fl)();return(0,i.YP)(()=>t.theme,()=>{t.changeTheme()},{immediate:!0}),(e,t)=>{let a=(0,i.up)("router-view"),r=s.Z;return(0,i.wg)(),(0,i.j4)(r,null,{default:(0,i.w5)(()=>[(0,i.Wm)(a)]),_:1})}}});a(60308),a(76);let d=(0,i.ri)(l);d.use(r.Z),d.use(o.ZP),d.use(n.Z),d.mount("#root")},53431:function(e,t,a){"use strict";a.d(t,{A:()=>i});let i=()=>Promise.all([a.e("2190"),a.e("579"),a.e("69"),a.e("2137"),a.e("7963"),a.e("3689")]).then(a.bind(a,79915))},52672:function(e,t,a){"use strict";a.d(t,{Z:()=>l});var i=a(31708),r=a(76882),o=a(66746);let{loadingBar:n}=(0,a(65215).M)(["loadingBar"],{configProviderProps:{themeOverrides:{LoadingBar:{colorLoading:"#20a53a",colorError:"#ef0808"}}}}),s=["/login"];o.ZP.beforeEach(async(e,t,a)=>{n.start();let l=(0,i.s6)();try{await l.getLang(),(0,r.m)(l.lang)}catch{(0,r.m)(l.lang)}if(!o._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")}),o.ZP.afterEach(()=>{n.finish()});let l=o.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("1107"),a.e("2190"),a.e("9372"),a.e("579"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("7222"),a.e("6235"),a.e("371"),a.e("3547")]).then(a.bind(a,19458))}]}},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/subscribers",name:"ContactsLayout",component:a(53431).A,meta:{sort:4,key:"contacts",title:"Contacts",titleKey:"layout.menu.contacts"},children:[{path:"/contacts",name:"Contacts",redirect:"/contacts/subscribers",component:()=>Promise.all([a.e("7303"),a.e("4602")]).then(a.bind(a,43898)),children:[{path:"subscribers",name:"ContactsSubscribers",meta:{title:"Subscribers",titleKey:"layout.menu.subscribers"},component:()=>Promise.all([a.e("1107"),a.e("2190"),a.e("9372"),a.e("579"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("2017"),a.e("7244"),a.e("8212"),a.e("8164"),a.e("586"),a.e("4536")]).then(a.bind(a,58695))},{path:"group",name:"ContactsGroup",meta:{title:"Group",titleKey:"layout.menu.group"},component:()=>Promise.all([a.e("1107"),a.e("2190"),a.e("9372"),a.e("579"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("2017"),a.e("7244"),a.e("8164"),a.e("586"),a.e("2076")]).then(a.bind(a,33273))}]}]}},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("1107"),a.e("2190"),a.e("9372"),a.e("579"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("7303"),a.e("9780"),a.e("8775"),a.e("8164"),a.e("6440")]).then(a.bind(a,50624))},{path:"edit-domain",name:"EditDomain",component:()=>a.e("6414").then(a.bind(a,18897))}]}},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("1107"),a.e("2190"),a.e("9372"),a.e("579"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("9780"),a.e("6779"),a.e("8164"),a.e("8946")]).then(a.bind(a,17743))}]}},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:{sort:2,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("1107"),a.e("2190"),a.e("579"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("2017"),a.e("8164"),a.e("8559")]).then(a.bind(a,66469))},{path:"template",name:"MarketTemplate",meta:{title:"Template",titleKey:"layout.menu.template"},component:()=>Promise.all([a.e("1107"),a.e("2190"),a.e("9372"),a.e("579"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("2017"),a.e("7244"),a.e("4636"),a.e("5530"),a.e("8164"),a.e("586"),a.e("8013")]).then(a.bind(a,11646))}]},{path:"template/edit/:id",name:"MarketTemplateEdit",meta:{title:"Template",hidden:!0},component:()=>Promise.all([a.e("1107"),a.e("2190"),a.e("9372"),a.e("579"),a.e("2017"),a.e("7244"),a.e("4636"),a.e("586"),a.e("5668")]).then(a.bind(a,80637))},{path:"task/edit",name:"MarketTaskEdit",meta:{title:"Task",hidden:!0},component:()=>Promise.all([a.e("1107"),a.e("2190"),a.e("9372"),a.e("579"),a.e("69"),a.e("3354"),a.e("6803"),a.e("9780"),a.e("2017"),a.e("7244"),a.e("7222"),a.e("5658"),a.e("586"),a.e("371"),a.e("7190")]).then(a.bind(a,44561))},{path:"task/analytics/:id",name:"MarketTaskAnalytics",meta:{title:"Analytics",hidden:!0},component:()=>Promise.all([a.e("1107"),a.e("2190"),a.e("579"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("7222"),a.e("156"),a.e("3703"),a.e("3990")]).then(a.bind(a,6342))}]}},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("1107"),a.e("2190"),a.e("579"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("7222"),a.e("156"),a.e("3703"),a.e("8275")]).then(a.bind(a,67377))}]}},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("1107"),a.e("2190"),a.e("9372"),a.e("579"),a.e("69"),a.e("3354"),a.e("4046"),a.e("2786")]).then(a.bind(a,49034))},{path:"service",name:"SettingsService",meta:{title:"Service",titleKey:""},component:()=>Promise.all([a.e("1107"),a.e("2190"),a.e("579"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("4636"),a.e("3215")]).then(a.bind(a,69046))},{path:"bcc",name:"SettingsBcc",meta:{title:"BCC",titleKey:"layout.menu.bcc"},component:()=>Promise.all([a.e("1107"),a.e("2190"),a.e("9372"),a.e("579"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("8396"),a.e("8164"),a.e("2880")]).then(a.bind(a,88559))},{path:"forward",name:"SettingsForward",meta:{title:"Forward",titleKey:"layout.menu.forward"},component:()=>Promise.all([a.e("1107"),a.e("2190"),a.e("9372"),a.e("579"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("5498"),a.e("8164"),a.e("8128")]).then(a.bind(a,92004))}]}]}},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("1107"),a.e("2190"),a.e("9372"),a.e("579"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9780"),a.e("1245"),a.e("5734")]).then(a.bind(a,61514))}]}},31255:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/template",meta:{sort:3,title:"template",key:"template",titleKey:"layout.menu.template"},component:()=>a.e("7803").then(a.bind(a,15335))}},66746:function(e,t,a){"use strict";a.d(t,{ZP:()=>c,_j:()=>d,sh:()=>s});var i=a(65965),r=a(68271);let o=["Overview","Email Marketing","template","Send API","Contacts","MailDomain","MailBoxes","SMTP","Settings","Automation"],n=a(12052),s=[];for(let e of n.keys()){let t=n(e);(0,r.is)(t,"Module")&&s.push(t.default)}s=s.reduce((e,t)=>(e[o.findIndex(e=>e==t.meta.title)]=t,e),[]);let l=[];r.r8&&l.push({path:"/test",name:"Test",component:()=>Promise.all([a.e("1107"),a.e("2190"),a.e("579"),a.e("69"),a.e("3354"),a.e("7303"),a.e("9780"),a.e("5867"),a.e("3697"),a.e("6366"),a.e("7502"),a.e("7235")]).then(a.bind(a,92382))});let d=[{path:"/login",name:"Login",component:()=>Promise.all([a.e("1107"),a.e("9372"),a.e("8649")]).then(a.bind(a,24680))},{path:"/",redirect:"/overview"},...s,...l],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:()=>f,Ls:()=>n,fl:()=>g,s6:()=>p,LM:()=>u});var i=a(30989),r=a(57953),o=a(58786);let n=(0,i.Q_)("MenuStore",()=>{let e=(0,o.iH)(!1),t=(0,o.iH)([]);return{isCollapse:e,menuList:t,setCollapse:()=>{e.value=!e.value},setMenuList:e=>{t.value=e},closeSidebar:()=>{e.value=!1}}});var s=a(68271),l=a(73282),d=a(76882),c=a(52672);let u=(0,i.Q_)("UserStore",()=>{let{t:e}=d.Z.global,t=(0,o.iH)({token:"",refresh_token:"",ttl:0,expire:0}),a=(0,o.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,s.iG)({title:e("user.logout.title"),content:e("user.logout.content"),onConfirm:async()=>{await (0,l.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,o.iH)("en"),t=(0,o.iH)([]),a=(0,o.iH)(!1),i=async()=>{if(t.value.length>0)return;let a=await (0,m.Vb)();(0,s.Kn)(a)&&(e.value=a.current_language,t.value=a.available_languages)};return{lang:e,langList:t,isCollapse:a,getLang:i,setLang:async e=>{await (0,m.m0)({language:e})},setCollapse:()=>{a.value=!a.value}}}),g=(0,i.Q_)("ThemeStore",()=>{let e=(0,o.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"}}),i=(0,o.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,o.Y3)(()=>{i.value=a()})}}},{persist:{pick:["theme"]}}),h=(0,i.WB)();h.use(r.Z);let f=h},68271:function(e,t,a){"use strict";a.d(t,{kJ:()=>D,NY:()=>Z,o8:()=>E,Dx:()=>O,UO:()=>q,qQ:()=>z,mf:()=>I,HD:()=>M,FZ:()=>B,mr:()=>_,r8:()=>L,hj:()=>A,Kn:()=>R,wb:()=>G,v0:()=>x,is:()=>k,J_:()=>N,iG:()=>l,$o:()=>K});var i=a(58786),r=a(96616),o=a(27775),n=a(49247),s=a(60066);function l(e){let t=document.createElement("div"),a=()=>{(0,i.sY)(null,t),t.parentNode&&t.parentNode.removeChild(t)},l=(0,i.Wm)(n.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,r.s)(e.content)])}),d=(0,i.Wm)(s.Z,{},{default:()=>[l]});d.appContext=o.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),h=a(87075),f=a(62198),b=a(64812),v=a(52317);let y=(0,i.aZ)({__name:"index",emits:["click"],setup(e,t){let{emit:a}=t,r=e=>{a("click",e)};return(e,t)=>((0,i.wg)(),(0,i.iD)("div",{class:"bt-close-btn",onClick:r},t[0]||(t[0]=[(0,i._)("div",{class:"close-icon"},null,-1)])))}}),P=(0,a(41748).default)(y,[["__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,r=(0,i.iH)(null),o={success:{icon:()=>(0,i.Wm)(h.Z,null,null),color:"#20a53a"},error:{icon:()=>(0,i.Wm)(f.Z,null,null),color:"#E85445"},warning:{icon:()=>(0,i.Wm)(b.Z,null,null),color:"#e6a23c"},info:{icon:()=>(0,i.Wm)(v.Z,null,null),color:"#2080F0"},loading:{icon:()=>(0,i.Wm)(g.Z,{clsPrefix:"bt",strokeWidth:24,scale:.85},null),color:"#20a53a"}},n=(0,i.Fl)(()=>o[e.type]),s=0,l=()=>{a("close")},d=()=>{let{duration:t}=e;t>0&&(s=window.setTimeout(l,t))},c=()=>{s&&(window.clearTimeout(s),s=0)},m=()=>{let e=r.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,y=new u.Z(()=>{if(p){p=!1;return}m()}),P=()=>{(0,i.Y3)(()=>{let e=r.value;e&&(e.style.opacity="1")})};return(0,i.bv)(()=>{m(),P(),d(),y.observe(window.document.body)}),(0,i.Jd)(()=>{c(),y.disconnect()}),{iconInfo:n,messageRef:r,handleClose:l}},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)(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,r.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=!E(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){I(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 r=(0,i.Wm)(C,{position:t,messages:this.messages.value,type:e.type,onClose:this.remove,onAfterClose:this.destroy});(0,i.sY)(r,this.container),document.body.appendChild(this.container)}}let T={},x=["info","success","warning","error","loading"].reduce((e,t)=>(e[t]=(e,a)=>{M(e)||I(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:r="center"}=i;return T[r]||(T[r]=new w(i)),T[r].add(i)},e),{});function k(e,t){return Object.prototype.toString.call(e)===`[object ${t}]`}function R(e){return null!==e&&k(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 A=e=>k(e,"Number"),M=e=>k(e,"String"),I=e=>k(e,"Function"),E=e=>void 0===e,D=e=>Array.isArray(e),N=e=>k(e,"Date"),L=!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(!A(e)&&isNaN(e=Number(e)))return"";let r=["B","KB","MB","GB","TB","PB","EB","ZB","YB","BB","NB","DB"],o=e;for(let e=0;e<r.length;e++){let n=r[e],s=0===a?Math.round(o).toString():o.toFixed(a);if(i&&n===i.trim()||o<1024)return t?`${s} ${n}`:s;o/=1024}return"--"};var F=a(20157);let O=e=>Number.isNaN((0,F.Z)(e))?0:(0,F.Z)(e);var U=a(92824),j=a(36760),W=a(49468),H=a(76882);let _=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(M(e))t=isNaN((0,F.Z)(e))?new Date(e).getTime():O(e);else if(N(e))t=e.getTime();else{if(!A(e))return"--";let a=e.toString();t=10===a.length?1e3*e:e}return(0,U.WU)(t,a)}catch{return"--"}},G=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,t=(0,j.b)(e),a=(0,W.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 ${H.Z.global.t("common.unit.seconds")}`;let a=e/86400,i=e/3600,r=e/60;return a>=1?`${a.toFixed(t)} ${H.Z.global.t("common.unit.days")}`:i>=1?`${i.toFixed(t)} ${H.Z.global.t("common.unit.hours")}`:r>=1?`${r.toFixed(t)} ${H.Z.global.t("common.unit.minutes")}`:`${Math.floor(e)} ${H.Z.global.t("common.unit.seconds")}`},K=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(R(t))return JSON.parse(a);return a}catch{return t}},z=(e,t)=>{let a=R(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),r=a(58786),o=a(30989),n=a(86831),s=a(44488),l=a(38325),d=a(24924),c=a(89462),u=a(79203),m=a(48287),p=a(31708);let g=(0,r.aZ)({__name:"index",setup(e){let t=(0,p.s6)(),{lang:a}=(0,o.Jk)(t),g=(0,p.fl)(),{theme:h,themeOverrides:f}=(0,o.Jk)(g),b={zh:{locale:n.Z,dateLocale:s.Z},en:{locale:l.Z,dateLocale:d.Z},ja:{locale:c.Z,dateLocale:u.Z}},v=(0,r.Fl)(()=>"dark"===h.value?m.$:null),y=(0,r.Fl)(()=>b[a.value].locale),P=(0,r.Fl)(()=>b[a.value].dateLocale);return(e,t)=>{let a=i.Z;return(0,r.wg)(),(0,r.j4)(a,{abstract:"","inline-theme-disabled":"",theme:(0,r.SU)(v),locale:(0,r.SU)(y),"date-locale":(0,r.SU)(P),"theme-overrides":(0,r.SU)(f)},{default:(0,r.w5)(()=>[(0,r.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),r=a(67655),o=a(58786),n=a(94821),s=a(89620);let l={class:"flex justify-between flex-1"},d={class:"flex gap-12px"},c=(0,o.aZ)({__name:"index",props:(0,o.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,o.tT)(e,"show"),{height:a}=(0,n.iPe)(),c=(0,o.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,n)=>{let u=r.ZP,h=i.Z;return(0,o.wg)(),(0,o.j4)(h,{show:t.value,"onUpdate:show":n[0]||(n[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,o.j5)({width:(0,o.SU)(s.N)(e.width)}),onAfterLeave:g},(0,o.Nv)({header:(0,o.w5)(()=>[(0,o.Uk)((0,o.zw)(e.title),1)]),default:(0,o.w5)(()=>[(0,o._)("div",{style:(0,o.j5)({maxHeight:(0,o.SU)(c),overflow:"auto"})},[(0,o.WI)(a.$slots,"default")],4)]),_:2},[e.footer?{name:"action",fn:(0,o.w5)(()=>[(0,o._)("div",l,[(0,o._)("div",null,[(0,o.WI)(a.$slots,"footer-left")]),(0,o._)("div",d,[(0,o.Wm)(u,{secondary:"",onClick:m},{default:(0,o.w5)(()=>[(0,o.Uk)((0,o.zw)(a.$t("common.actions.cancel")),1)]),_:1}),(0,o.Wm)(u,{type:e.confirmType,onClick:p},{default:(0,o.w5)(()=>[(0,o.Uk)((0,o.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 r=t[i];if(void 0!==r)return r.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,a),o.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+"."+({1085:"6832ae42",1107:"fa031298",1245:"c5729a5d",156:"4ccaa390",2017:"ed71b520",2076:"c76eb567",2137:"31d4654f",2190:"7bf25cf5",2302:"b281a43e",2558:"8e4d5373",2786:"0ccc2d3b",2880:"59e695c4",3215:"8e46f34a",3354:"af31be73",3535:"1f218b2e",3547:"3c9e567f",3606:"c5bd7813",3653:"c3f5377a",3689:"641db74b",3697:"9e630381",3703:"774b6e9f",371:"1f7ac0ca",3765:"1c94058e",3990:"08d9f40b",4046:"0051094e",4471:"bb351321",4536:"1c2ac882",4602:"a3897d6a",4636:"a6e49596",5099:"22d39c30",5498:"56da57d8",5530:"ddd3c262",5658:"a76a1ab8",5668:"cca3e279",5734:"b9ab020e",579:"f4df1ad3",586:"63de9350",5867:"a67cb5db",6235:"edad05e0",6366:"11e68ac4",6414:"ba9a8173",6440:"2cb97afe",6779:"5db504d6",6803:"12301c63",69:"07f369ca",7190:"a2cb5cc1",7222:"7569012d",7235:"0893b9e1",7244:"f212f88b",7303:"1f99ded4",7502:"9d1cd23e",7662:"a03ab73a",7803:"5897ab22",7844:"7612dfac",7963:"35dc1d58",8013:"fdb658c2",8128:"fae5de8f",8164:"429506fd",8212:"634870a9",8275:"9583aa77",8396:"b4461a1b",8559:"2e5227e4",8649:"f27ccab2",8775:"8c37b635",8946:"597cc6fc",9372:"19031b29",9468:"f3854687",9780:"742711c8"})[e]+".js",a.miniCssF=e=>"static/css/async/"+e+"."+({1085:"74eafcd8",2076:"08667584",2302:"31be5e15",2558:"b9c57b72",2786:"d9ef7c35",3215:"a5c6d0c0",3535:"a98f8847",3547:"d8fd2f0b",3653:"6a0003cd",3689:"1054f2ee",3990:"eed6a12e",4471:"f5af09eb",4536:"67f335ae",4602:"a98f8847",5099:"f0085b1b",5668:"bf7e8158",5734:"25a912c0",6414:"b7c91be8",6440:"ad51991b",7190:"b8a11da2",7502:"e7a70efd",7662:"29c06d4b",7844:"8223780c",8013:"f659b7dc",8275:"0fc96432",8649:"fd2f892d",8946:"8982743b",9468:"a98f8847"})[e]+".css",a.h=()=>"d3b8fa7044760589",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,r,o,n){if(e[i])return void e[i].push(r);if(void 0!==o)for(var s,l,d=document.getElementsByTagName("script"),c=0;c<d.length;c++){var u=d[c];if(u.getAttribute("src")==i||u.getAttribute("data-webpack")==t+o){s=u;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",t+o),s.src=i),e[i]=[r];var m=function(t,a){s.onerror=s.onload=null,clearTimeout(p);var r=e[i];if(delete e[i],s.parentNode&&s.parentNode.removeChild(s),r&&r.forEach(function(e){return e(a)}),t)return t(a)},p=setTimeout(m.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=m.bind(null,s.onerror),s.onload=m.bind(null,s.onload),l&&document.head.appendChild(s)}})(),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,r,o)=>{if(i){o=o||0;for(var n=e.length;n>0&&e[n-1][2]>o;n--)e[n]=e[n-1];e[n]=[i,r,o];return}for(var s=1/0,n=0;n<e.length;n++){for(var[i,r,o]=e[n],l=!0,d=0;d<i.length;d++)(!1&o||s>=o)&&Object.keys(a.O).every(e=>a.O[e](i[d]))?i.splice(d--,1):(l=!1,o<s&&(s=o));if(l){e.splice(n--,1);var c=r();void 0!==c&&(t=c)}}return t}})(),a.p="/",a.rv=()=>"1.3.12",(()=>{if("undefined"!=typeof document){var e=function(e,t,i,r,o){var n=document.createElement("link");return n.rel="stylesheet",n.type="text/css",a.nc&&(n.nonce=a.nc),n.onerror=n.onload=function(a){if(n.onerror=n.onload=null,"load"===a.type)r();else{var i=a&&("load"===a.type?"missing":a.type),s=a&&a.target&&a.target.href||t,l=Error("Loading CSS chunk "+e+" failed.\\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=i,l.request=s,n.parentNode&&n.parentNode.removeChild(n),o(l)}},n.href=t,i?i.parentNode.insertBefore(n,i.nextSibling):document.head.appendChild(n),n},t=function(e,t){for(var a=document.getElementsByTagName("link"),i=0;i<a.length;i++){var r=a[i],o=r.getAttribute("data-href")||r.getAttribute("href");if("stylesheet"===r.rel&&(o===e||o===t))return r}for(var n=document.getElementsByTagName("style"),i=0;i<n.length;i++){var r=n[i],o=r.getAttribute("data-href");if(o===e||o===t)return r}},i={2980:0};a.f.miniCss=function(r,o){if(i[r])o.push(i[r]);else 0!==i[r]&&({3689:1,6440:1,3215:1,1085:1,3547:1,8649:1,2076:1,7662:1,8275:1,2558:1,8013:1,3990:1,6414:1,5099:1,3535:1,8946:1,4536:1,7502:1,5734:1,2302:1,9468:1,5668:1,7190:1,3653:1,7844:1,4602:1,2786:1,4471:1})[r]&&o.push(i[r]=new Promise(function(i,o){var n=a.miniCssF(r),s=a.p+n;if(t(n,s))return i();e(r,s,null,i,o)}).then(function(){i[r]=0},function(e){throw delete i[r],e}))}}})(),(()=>{var e={2980:0};a.f.j=function(t,i){var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)i.push(r[2]);else{var o=new Promise((a,i)=>r=e[t]=[a,i]);i.push(r[2]=o);var n=a.p+a.u(t),s=Error();a.l(n,function(i){if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=i&&("load"===i.type?"missing":i.type),n=i&&i.target&&i.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+n+")",s.name="ChunkLoadError",s.type=o,s.request=n,r[1](s)}},"chunk-"+t,t)}},a.O.j=t=>0===e[t];var t=(t,i)=>{var r,o,[n,s,l]=i,d=0;if(n.some(t=>0!==e[t])){for(r in s)a.o(s,r)&&(a.m[r]=s[r]);if(l)var c=l(a)}for(t&&t(i);d<n.length;d++)o=n[d],a.o(e,o)&&e[o]&&e[o][0](),e[o]=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","2051"],function(){return a(27775)});i=a.O(i)})();
\ No newline at end of file
diff --git a/core/public/dist/static/js/index.643384e2.js b/core/public/dist/static/js/index.643384e2.js
deleted file mode 100644
index 5a24099c..00000000
--- a/core/public/dist/static/js/index.643384e2.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","./mailbox.ts":"5987","./market.ts":"30794","./overview.ts":"65449","./settings.ts":"84609","./smtp.ts":"48296"};function r(e){return a(o(e))}function o(e){if(!a.o(i,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=o,e.exports=r,r.id=12052},34541:function(e,t,a){"use strict";a.d(t,{e:()=>s});var i=a(64767),r=a(52672),o=a(31708),n=a(68271);let s=i.Z.create({baseURL:n.FZ,timeout:25e4,headers:{"Content-Type":"application/json"},fetchOptions:{prefix:"/api",successMessage:!1}}),l=["/login"];s.interceptors.request.use(e=>{let{headers:t,url:a}=e;if(!l.includes(a||"")){let e=(0,o.LM)();t.Authorization=`Bearer ${e.login.token}`}return e}),s.interceptors.request.use(e=>{let{fetchOptions:t}=e;return(0,n.Kn)(t)&&(e.url=`${t.prefix}`+e.url),e}),s.interceptors.request.use(e=>{let{fetchOptions:t}=e;if((0,n.Kn)(t)&&t.loading){let{close:e}=n.v0.loading(t.loading);t.loadFn=e}return e}),s.interceptors.response.use(e=>{let{fetchOptions:t}=e.config,{code:a,data:i,msg:s,success:l}=e.data||{};if((null==t?void 0:t.loadFn)&&t.loadFn(),"application/force-download"===e.data.type){let t=window.URL.createObjectURL(new Blob([e.data])),a=document.createElement("a");a.href=t;let r=e.headers["content-disposition"],o=r?decodeURIComponent(r.split("filename=")[1]):"downloaded_file";return a.setAttribute("download",o),document.body.appendChild(a),a.click(),document.body.removeChild(a),window.URL.revokeObjectURL(t),Promise.resolve(i)}return 0===a&&l?((null==t?void 0:t.successMessage)&&n.v0.success(s),Promise.resolve(i)):(!l&&s&&n.v0.error(s,{close:!0}),401===a&&((0,o.LM)().resetLoginInfo(),r.Z.push("/login")),Promise.reject(e.data))},e=>Promise.reject(e))},98003:function(e,t,a){"use strict";a.d(t,{Sv:()=>o,Vb:()=>n,cT:()=>r,m0:()=>s});var i=a(34541);let r=(e,t)=>i.e.post("/file/upload",e,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:e=>{null==t||t(e)}}),o=e=>i.e.get("/file/download",{params:e,responseType:"blob"}),n=()=>i.e.get("/languages/get"),s=e=>i.e.post("/languages/set",e,{fetchOptions:{loading:"正在设置语言,请稍候...",successMessage:!0}})},73282:function(e,t,a){"use strict";a.d(t,{kS:()=>n,o1:()=>s,x4:()=>o});var i=a(34541);let{t:r}=a(76882).Z.global,o=e=>i.e.post("/login",e,{fetchOptions:{successMessage:!0}}),n=()=>i.e.post("/logout",{},{fetchOptions:{loading:r("user.api.loading.logout"),successMessage:!0}}),s=()=>i.e.get("/get_validate_code")},76882:function(e,t,a){"use strict";a.d(t,{m:()=>l,Z:()=>d});var i=a(52495),r=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"},"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"}},"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","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"}}},"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"},"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..."}}},"contacts":{"subscribers":{"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","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"},"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..."}}},"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}]?"},"form":{"addTitle":"Add Domain","editTitle":"Edit Domain","domain":"Domain","domainPlaceholder":"Please enter domain, e.g.: 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"}},"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"}},"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"},"search":{"usernamePlaceholder":"Search username"},"domain":{"selectPlaceholder":"Select domain"},"columns":{"username":"Username","password":"Password","loginInfo":"Login Info","quota":"Quota","type":"Type","status":"Status"},"userType":{"admin":"Admin","general":"General User"},"form":{"addTitle":"Add Mailbox","editTitle":"Edit Mailbox","emailAddress":"Email Address","password":"Password","passwordPlaceholder":"Enter your mailbox password","quota":"Quota","userType":"User Type","status":"Status"},"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"},"delete":{"title":"Delete Mailbox","confirm":"Are you sure you want to delete mailbox [{name}]?"},"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..."}}},"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"},"form":{"addTitle":"Add SMTP","editTitle":"Edit SMTP","remark":"Remark","domain":"Bound Domain","server":"SMTP Server","port":"SMTP Port","username":"Username","password":"Password","testConnection":"Test Connection","bind":" [Bound]","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"}},"api":{"loading":{"restarting":"Restarting service, please wait...","saving":"Saving configuration, please wait..."}}},"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..."}}}'),o=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"},"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":"退出"}},"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":"已退回","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":"详情"}}},"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":"创建时间"},"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":"正在删除模板,请稍候..."}}},"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":["请粘贴数据,每行一个邮箱,属性(可为空)","例如:[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":"创建时间"},"form":{"name":"分组名称","file":"文件","nameRequired":"请输入分组名称"},"add":{"title":"添加分组"},"rename":{"title":"重命名分组"},"delete":{"title":"删除分组","confirm":"确定要删除分组 {name} 吗?"},"fileUpload":{"hint":"文件类型:csv,不超过5 MB","emptyHint":"文件传空时,会自动创建一个空分组"},"loading":{"createGroup":"正在创建分组,请稍候...","updateGroup":"正在更新分组,请稍候...","deleteGroup":"正在删除分组,请稍候...","importSubscribers":"正在导入联系人,请稍候...","updateSubscriberGroup":"正在修改分组,请稍候...","deleteSubscriber":"正在删除联系人,请稍候..."}}},"domain":{"title":"MailDomain","addDomain":"添加域名","help":"添加你要用来发邮件的域名","columns":{"domain":"域名","quota":"配额","mailboxes":"邮箱数量","defaultMailboxSize":"默认邮箱大小","actions":"操作"},"actions":{"dnsRecord":"DNS记录"},"delete":{"title":"删除域名","confirm":"确定要删除域名【{domain}】吗?","confirmButton":"删除"},"form":{"addTitle":"添加域名","editTitle":"编辑域名","domain":"域名","domainPlaceholder":"请输入域名,例如: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】"}},"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 的站点"}},"api":{"loading":{"creating":"正在创建域名,请稍候...","updating":"正在更新域名,请稍候...","deleting":"正在删除域名,请稍候...","settingSSL":"正在设置 SSL,请稍候...","applyingCert":"正在申请 SSL 证书,请稍候...","refreshingDns":"正在刷新DNS记录,请稍候..."}}},"mailbox":{"title":"邮箱管理","actions":{"add":"添加邮箱"},"search":{"usernamePlaceholder":"搜索用户名"},"domain":{"selectPlaceholder":"请选择域名"},"columns":{"username":"用户名","password":"密码","loginInfo":"登录信息","quota":"配额","type":"类型","status":"状态"},"userType":{"admin":"管理员","general":"普通用户"},"form":{"addTitle":"添加邮箱","editTitle":"编辑邮箱","emailAddress":"邮箱地址","password":"密码","passwordPlaceholder":"请输入您的邮箱密码","quota":"配额","userType":"用户类型","status":"状态"},"validation":{"emailRequired":"请输入邮箱地址","passwordLength":"密码长度少于8位,请重新输入","passwordFormat":"密码必须包含至少一个大写字母、一个小写字母和数字,请重新输入"},"delete":{"title":"删除邮箱","confirm":"确定要删除邮箱【{name}】吗?"},"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":"正在删除邮箱,请稍候..."}}},"smtp":{"title":"SMTP中继服务管理","description":"管理您的SMTP中继服务,支持多种服务提供商","empty":"暂无SMTP中继服务","providers":{"custom":"自定义SMTP"},"delete":{"title":"删除中继","confirm":"确定要删除此中继服务【{name}】吗?"},"card":{"domain":"绑定域名","server":"服务器","port":"端口","username":"用户名"},"form":{"addTitle":"添加SMTP","editTitle":"编辑SMTP","remark":"备注","domain":"绑定域名","server":"SMTP服务器","port":"SMTP端口","username":"用户名","password":"密码","testConnection":"测试链接","bind":"【已绑定】","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":"当前系统时区"}},"api":{"loading":{"restarting":"正在重启服务,请稍候...","saving":"正在保存配置,请稍候..."}}},"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":"正在测试,请稍候..."}}}'),n=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":"ログアウト"}},"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":"バウンス(送信失敗)","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":"詳細"}}},"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":"作成日"},"search":{"namePlaceholder":"テンプレート名で検索"},"delete":{"title":"テンプレート削除","confirm":"テンプレート {name} を削除してもよろしいですか?"},"form":{"name":"テンプレート名","type":"テンプレートタイプ","content":"テンプレート内容"},"add":{"title":"テンプレート追加","namePlaceholder":"テンプレート名を入力してください","validation":{"nameRequired":"テンプレート名を入力してください","uploadRequired":"HTML ファイルをアップロードしてください"}},"preview":{"title":"テンプレートプレビュー"}}},"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":"グループ削除中... お待ちください"}}},"domain":{"title":"メールドメイン","addDomain":"ドメイン追加","help":"メール送信に使用するドメインを追加してください","columns":{"domain":"ドメイン","quota":"クォータ","mailboxes":"メールボックス","defaultMailboxSize":"デフォルトメールボックスサイズ","actions":"操作"},"actions":{"dnsRecord":"DNS レコード"},"delete":{"title":"ドメイン削除","confirm":"ドメイン [{domain}] を削除してもよろしいですか?"},"form":{"addTitle":"ドメイン追加","editTitle":"ドメイン編集","domain":"ドメイン","domainPlaceholder":"例: 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 レコードを更新中... お待ちください"}}},"mailbox":{"title":"メールボックス管理","actions":{"add":"メールボックス追加"},"search":{"usernamePlaceholder":"ユーザー名検索"},"domain":{"selectPlaceholder":"ドメイン選択"},"columns":{"username":"ユーザー名","password":"パスワード","loginInfo":"ログイン情報","quota":"クォータ","type":"タイプ","status":"ステータス"},"userType":{"admin":"管理者","general":"一般ユーザー"},"form":{"addTitle":"メールボックス追加","editTitle":"メールボックス編集","emailAddress":"メールアドレス","password":"パスワード","passwordPlaceholder":"メールボックスのパスワードを入力","quota":"クォータ","userType":"ユーザータイプ","status":"ステータス"},"validation":{"emailRequired":"メールアドレスを入力してください","passwordLength":"パスワードは8文字以上である必要があります","passwordFormat":"パスワードは大文字・小文字・数字をそれぞれ1文字以上含む必要があります"},"delete":{"title":"メールボックス削除","confirm":"メールボックス [{name}] を削除してもよろしいですか?"},"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":"メールボックスを削除中... お待ちください"}}},"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":"ユーザー名"},"form":{"addTitle":"SMTP 追加","editTitle":"SMTP 編集","remark":"備考","domain":"紐付けドメイン","server":"SMTP サーバー","port":"SMTP ポート","username":"ユーザー名","password":"パスワード","testConnection":"接続テスト","bind":" [紐付け済み]","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":"メール転送を削除中... お待ちください"}},"api":{"loading":{"restarting":"サービスを再起動中... お待ちください","saving":"設定を保存中... お待ちください"}}}}');let s=(0,i.o)({legacy:!1,globalInjection:!0,locale:"en",fallbackLocale:"en",messages:{en:r,zh:o,ja:n}}),l=e=>{s.global.locale.value=e},d=s},27775:function(e,t,a){"use strict";a.d(t,{l:()=>d});var i=a(58786),r=a(76882),o=a(31708),n=a(52672),s=a(60066);let l=(0,i.aZ)({__name:"App",setup(e){let t=(0,o.fl)();return(0,i.YP)(()=>t.theme,()=>{t.changeTheme()},{immediate:!0}),(e,t)=>{let a=(0,i.up)("router-view"),r=s.Z;return(0,i.wg)(),(0,i.j4)(r,null,{default:(0,i.w5)(()=>[(0,i.Wm)(a)]),_:1})}}});a(60308),a(76);let d=(0,i.ri)(l);d.use(r.Z),d.use(o.ZP),d.use(n.Z),d.mount("#root")},53431:function(e,t,a){"use strict";a.d(t,{A:()=>i});let i=()=>Promise.all([a.e("579"),a.e("69"),a.e("2137"),a.e("6194"),a.e("5436")]).then(a.bind(a,35714))},52672:function(e,t,a){"use strict";a.d(t,{Z:()=>l});var i=a(31708),r=a(76882),o=a(66746);let{loadingBar:n}=(0,a(65215).M)(["loadingBar"],{configProviderProps:{themeOverrides:{LoadingBar:{colorLoading:"#20a53a",colorError:"#ef0808"}}}}),s=["/login"];o.ZP.beforeEach(async(e,t,a)=>{n.start();let l=(0,i.s6)();try{await l.getLang(),(0,r.m)(l.lang)}catch{(0,r.m)(l.lang)}if(!o._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")}),o.ZP.afterEach(()=>{n.finish()});let l=o.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("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("7222"),a.e("6235"),a.e("371"),a.e("3547")]).then(a.bind(a,19458))}]}},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/subscribers",name:"ContactsLayout",component:a(53431).A,meta:{sort:4,key:"contacts",title:"Contacts",titleKey:"layout.menu.contacts"},children:[{path:"/contacts",name:"Contacts",redirect:"/contacts/subscribers",component:()=>Promise.all([a.e("7303"),a.e("4602")]).then(a.bind(a,43898)),children:[{path:"subscribers",name:"ContactsSubscribers",meta:{title:"Subscribers",titleKey:"layout.menu.subscribers"},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("2017"),a.e("7244"),a.e("8212"),a.e("8164"),a.e("586"),a.e("4536")]).then(a.bind(a,58695))},{path:"group",name:"ContactsGroup",meta:{title:"Group",titleKey:"layout.menu.group"},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("2017"),a.e("7244"),a.e("8164"),a.e("586"),a.e("2076")]).then(a.bind(a,33273))}]}]}},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("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("7303"),a.e("9780"),a.e("8775"),a.e("8164"),a.e("8756")]).then(a.bind(a,48249))}]}},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("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("9780"),a.e("6779"),a.e("8164"),a.e("8946")]).then(a.bind(a,17743))}]}},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:{sort:2,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("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("2017"),a.e("8164"),a.e("8559")]).then(a.bind(a,66469))},{path:"template",name:"MarketTemplate",meta:{title:"Template",titleKey:"layout.menu.template"},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("2017"),a.e("7244"),a.e("4636"),a.e("5530"),a.e("8164"),a.e("586"),a.e("8013")]).then(a.bind(a,11646))}]},{path:"template/edit/:id",name:"MarketTemplateEdit",meta:{title:"Template",hidden:!0},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("9372"),a.e("2017"),a.e("7244"),a.e("4636"),a.e("586"),a.e("5668")]).then(a.bind(a,80637))},{path:"task/edit",name:"MarketTaskEdit",meta:{title:"Task",hidden:!0},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("9372"),a.e("6803"),a.e("9780"),a.e("2017"),a.e("7244"),a.e("7222"),a.e("5658"),a.e("586"),a.e("371"),a.e("7190")]).then(a.bind(a,44561))},{path:"task/analytics/:id",name:"MarketTaskAnalytics",meta:{title:"Analytics",hidden:!0},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("7222"),a.e("156"),a.e("3703"),a.e("3990")]).then(a.bind(a,6342))}]}},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("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("7222"),a.e("156"),a.e("3703"),a.e("8275")]).then(a.bind(a,67377))}]}},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("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("9372"),a.e("7283"),a.e("8642")]).then(a.bind(a,74055))},{path:"service",name:"SettingsService",meta:{title:"Service",titleKey:""},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("4636"),a.e("3215")]).then(a.bind(a,69046))},{path:"bcc",name:"SettingsBcc",meta:{title:"BCC",titleKey:"layout.menu.bcc"},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("8396"),a.e("8164"),a.e("2880")]).then(a.bind(a,88559))},{path:"forward",name:"SettingsForward",meta:{title:"Forward",titleKey:"layout.menu.forward"},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("5498"),a.e("8164"),a.e("8128")]).then(a.bind(a,92004))}]}]}},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("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("9780"),a.e("1245"),a.e("5734")]).then(a.bind(a,61514))}]}},66746:function(e,t,a){"use strict";a.d(t,{ZP:()=>c,_j:()=>d,sh:()=>s});var i=a(94904),r=a(65965),o=a(68271);let n=a(12052),s=[];for(let e of n.keys()){let t=n(e);(0,o.is)(t,"Module")&&s.push(t.default)}s.sort((e,t)=>(0,i.Z)(e,"meta.sort",0)-(0,i.Z)(t,"meta.sort",0));let l=[];o.r8&&l.push({path:"/test",name:"Test",component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("7303"),a.e("9780"),a.e("5513"),a.e("6366"),a.e("7502"),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("5621")]).then(a.bind(a,24680))},{path:"/",redirect:"/overview"},...s,...l],c=(0,r.p7)({history:(0,r.PO)("/"),routes:d,strict:!1,scrollBehavior:()=>({left:0,top:0})})},31708:function(e,t,a){"use strict";a.d(t,{ZP:()=>f,Ls:()=>n,fl:()=>g,s6:()=>p,LM:()=>u});var i=a(30989),r=a(57953),o=a(58786);let n=(0,i.Q_)("MenuStore",()=>{let e=(0,o.iH)(!1),t=(0,o.iH)([]);return{isCollapse:e,menuList:t,setCollapse:()=>{e.value=!e.value},setMenuList:e=>{t.value=e},closeSidebar:()=>{e.value=!1}}});var s=a(68271),l=a(73282),d=a(76882),c=a(52672);let u=(0,i.Q_)("UserStore",()=>{let{t:e}=d.Z.global,t=(0,o.iH)({token:"",refresh_token:"",ttl:0,expire:0}),a=(0,o.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,s.iG)({title:e("user.logout.title"),content:e("user.logout.content"),onConfirm:async()=>{await (0,l.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,o.iH)("en"),t=(0,o.iH)([]),a=(0,o.iH)(!1),i=async()=>{if(t.value.length>0)return;let a=await (0,m.Vb)();(0,s.Kn)(a)&&(e.value=a.current_language,t.value=a.available_languages)};return{lang:e,langList:t,isCollapse:a,getLang:i,setLang:async e=>{await (0,m.m0)({language:e})},setCollapse:()=>{a.value=!a.value}}}),g=(0,i.Q_)("ThemeStore",()=>{let e=(0,o.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"}}),i=(0,o.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,o.Y3)(()=>{i.value=a()})}}},{persist:{pick:["theme"]}}),h=(0,i.WB)();h.use(r.Z);let f=h},68271:function(e,t,a){"use strict";a.d(t,{kJ:()=>N,NY:()=>G,o8:()=>D,Dx:()=>O,UO:()=>q,qQ:()=>z,mf:()=>E,HD:()=>M,FZ:()=>L,mr:()=>_,r8:()=>B,hj:()=>A,Kn:()=>R,wb:()=>Z,v0:()=>x,is:()=>k,J_:()=>I,iG:()=>l,$o:()=>K});var i=a(58786),r=a(96616),o=a(27775),n=a(49247),s=a(60066);function l(e){let t=document.createElement("div"),a=()=>{(0,i.sY)(null,t),t.parentNode&&t.parentNode.removeChild(t)},l=(0,i.Wm)(n.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,r.s)(e.content)])}),d=(0,i.Wm)(s.Z,{},{default:()=>[l]});d.appContext=o.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),h=a(87075),f=a(62198),b=a(64812),v=a(52317);let y=(0,i.aZ)({__name:"index",emits:["click"],setup(e,t){let{emit:a}=t,r=e=>{a("click",e)};return(e,t)=>((0,i.wg)(),(0,i.iD)("div",{class:"bt-close-btn",onClick:r},t[0]||(t[0]=[(0,i._)("div",{class:"close-icon"},null,-1)])))}}),P=(0,a(41748).default)(y,[["__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,r=(0,i.iH)(null),o={success:{icon:()=>(0,i.Wm)(h.Z,null,null),color:"#20a53a"},error:{icon:()=>(0,i.Wm)(f.Z,null,null),color:"#E85445"},warning:{icon:()=>(0,i.Wm)(b.Z,null,null),color:"#e6a23c"},info:{icon:()=>(0,i.Wm)(v.Z,null,null),color:"#2080F0"},loading:{icon:()=>(0,i.Wm)(g.Z,{clsPrefix:"bt",strokeWidth:24,scale:.85},null),color:"#20a53a"}},n=(0,i.Fl)(()=>o[e.type]),s=0,l=()=>{a("close")},d=()=>{let{duration:t}=e;t>0&&(s=window.setTimeout(l,t))},c=()=>{s&&(window.clearTimeout(s),s=0)},m=()=>{let e=r.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,y=new u.Z(()=>{if(p){p=!1;return}m()}),P=()=>{(0,i.Y3)(()=>{let e=r.value;e&&(e.style.opacity="1")})};return(0,i.bv)(()=>{m(),P(),d(),y.observe(window.document.body)}),(0,i.Jd)(()=>{c(),y.disconnect()}),{iconInfo:n,messageRef:r,handleClose:l}},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)(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,r.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=!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){E(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 r=(0,i.Wm)(C,{position:t,messages:this.messages.value,type:e.type,onClose:this.remove,onAfterClose:this.destroy});(0,i.sY)(r,this.container),document.body.appendChild(this.container)}}let T={},x=["info","success","warning","error","loading"].reduce((e,t)=>(e[t]=(e,a)=>{M(e)||E(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:r="center"}=i;return T[r]||(T[r]=new w(i)),T[r].add(i)},e),{});function k(e,t){return Object.prototype.toString.call(e)===`[object ${t}]`}function R(e){return null!==e&&k(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 A=e=>k(e,"Number"),M=e=>k(e,"String"),E=e=>k(e,"Function"),D=e=>void 0===e,N=e=>Array.isArray(e),I=e=>k(e,"Date"),B=!1,L="",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(!A(e)&&isNaN(e=Number(e)))return"";let r=["B","KB","MB","GB","TB","PB","EB","ZB","YB","BB","NB","DB"],o=e;for(let e=0;e<r.length;e++){let n=r[e],s=0===a?Math.round(o).toString():o.toFixed(a);if(i&&n===i.trim()||o<1024)return t?`${s} ${n}`:s;o/=1024}return"--"};var F=a(20157);let O=e=>Number.isNaN((0,F.Z)(e))?0:(0,F.Z)(e);var U=a(92824),j=a(36760),H=a(49468),W=a(76882);let _=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(M(e))t=isNaN((0,F.Z)(e))?new Date(e).getTime():O(e);else if(I(e))t=e.getTime();else{if(!A(e))return"--";let a=e.toString();t=10===a.length?1e3*e:e}return(0,U.WU)(t,a)}catch{return"--"}},Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,t=(0,j.b)(e),a=(0,H.i)(e);return[t.getTime(),a.getTime()]},G=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(!e||e<0)return`0 ${W.Z.global.t("common.unit.seconds")}`;let a=e/86400,i=e/3600,r=e/60;return a>=1?`${a.toFixed(t)} ${W.Z.global.t("common.unit.days")}`:i>=1?`${i.toFixed(t)} ${W.Z.global.t("common.unit.hours")}`:r>=1?`${r.toFixed(t)} ${W.Z.global.t("common.unit.minutes")}`:`${Math.floor(e)} ${W.Z.global.t("common.unit.seconds")}`},K=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(R(t))return JSON.parse(a);return a}catch{return t}},z=(e,t)=>{let a=R(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),r=a(58786),o=a(30989),n=a(86831),s=a(44488),l=a(38325),d=a(24924),c=a(89462),u=a(79203),m=a(58249),p=a(31708);let g=(0,r.aZ)({__name:"index",setup(e){let t=(0,p.s6)(),{lang:a}=(0,o.Jk)(t),g=(0,p.fl)(),{theme:h,themeOverrides:f}=(0,o.Jk)(g),b={zh:{locale:n.Z,dateLocale:s.Z},en:{locale:l.Z,dateLocale:d.Z},ja:{locale:c.Z,dateLocale:u.Z}},v=(0,r.Fl)(()=>"dark"===h.value?m.$:null),y=(0,r.Fl)(()=>b[a.value].locale),P=(0,r.Fl)(()=>b[a.value].dateLocale);return(e,t)=>{let a=i.Z;return(0,r.wg)(),(0,r.j4)(a,{abstract:"","inline-theme-disabled":"",theme:(0,r.SU)(v),locale:(0,r.SU)(y),"date-locale":(0,r.SU)(P),"theme-overrides":(0,r.SU)(f)},{default:(0,r.w5)(()=>[(0,r.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),r=a(67655),o=a(58786),n=a(94821),s=a(89620);let l={class:"flex justify-between flex-1"},d={class:"flex gap-12px"},c=(0,o.aZ)({__name:"index",props:(0,o.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,o.tT)(e,"show"),{height:a}=(0,n.iPe)(),c=(0,o.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,n)=>{let u=r.ZP,h=i.Z;return(0,o.wg)(),(0,o.j4)(h,{show:t.value,"onUpdate:show":n[0]||(n[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,o.j5)({width:(0,o.SU)(s.N)(e.width)}),onAfterLeave:g},(0,o.Nv)({header:(0,o.w5)(()=>[(0,o.Uk)((0,o.zw)(e.title),1)]),default:(0,o.w5)(()=>[(0,o._)("div",{style:(0,o.j5)({maxHeight:(0,o.SU)(c),overflow:"auto"})},[(0,o.WI)(a.$slots,"default")],4)]),_:2},[e.footer?{name:"action",fn:(0,o.w5)(()=>[(0,o._)("div",l,[(0,o._)("div",null,[(0,o.WI)(a.$slots,"footer-left")]),(0,o._)("div",d,[(0,o.Wm)(u,{secondary:"",onClick:m},{default:(0,o.w5)(()=>[(0,o.Uk)((0,o.zw)(a.$t("common.actions.cancel")),1)]),_:1}),(0,o.Wm)(u,{type:e.confirmType,onClick:p},{default:(0,o.w5)(()=>[(0,o.Uk)((0,o.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 r=t[i];if(void 0!==r)return r.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,a),o.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+"."+({1245:"c5729a5d",156:"4ccaa390",2017:"ed71b520",2076:"c76eb567",2137:"31d4654f",2880:"59e695c4",3215:"8e46f34a",3354:"af31be73",3535:"339f476b",3547:"3c9e567f",3606:"c5bd7813",3703:"774b6e9f",371:"d96f062a",3765:"1c94058e",3990:"08d9f40b",4536:"1c2ac882",4602:"850ba1d6",4636:"a6e49596",5436:"86c2f72e",5498:"56da57d8",5513:"ead8a1d8",5530:"ddd3c262",5621:"34a18da4",5658:"a76a1ab8",5668:"cca3e279",5734:"b9ab020e",579:"573b6199",586:"63de9350",6194:"33ecbd1c",6235:"edad05e0",6366:"11e68ac4",6779:"5db504d6",6803:"12301c63",69:"07f369ca",7190:"a2cb5cc1",7222:"7569012d",7235:"0893b9e1",7244:"f212f88b",7283:"344213bd",7303:"1f99ded4",7502:"9d1cd23e",8013:"81869de4",8128:"fae5de8f",8164:"429506fd",8212:"634870a9",8275:"2a254d10",8396:"b4461a1b",8559:"2e5227e4",8642:"229a5c24",8756:"c2570561",8775:"8c37b635",8946:"297502cb",9372:"19031b29",9468:"06d7af2f",9602:"b4037dad",9780:"742711c8"})[e]+".js",a.miniCssF=e=>"static/css/async/"+e+"."+({2076:"08667584",3215:"a5c6d0c0",3535:"a98f8847",3547:"d8fd2f0b",3990:"eed6a12e",4536:"67f335ae",4602:"a98f8847",5436:"1742fcff",5621:"fd2f892d",5668:"bf7e8158",5734:"25a912c0",7190:"b8a11da2",7502:"e7a70efd",8013:"f659b7dc",8275:"0fc96432",8642:"d9ef7c35",8756:"312b1920",8946:"8982743b",9468:"a98f8847"})[e]+".css",a.h=()=>"b338e36c4a08c4ce",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,r,o,n){if(e[i])return void e[i].push(r);if(void 0!==o)for(var s,l,d=document.getElementsByTagName("script"),c=0;c<d.length;c++){var u=d[c];if(u.getAttribute("src")==i||u.getAttribute("data-webpack")==t+o){s=u;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",t+o),s.src=i),e[i]=[r];var m=function(t,a){s.onerror=s.onload=null,clearTimeout(p);var r=e[i];if(delete e[i],s.parentNode&&s.parentNode.removeChild(s),r&&r.forEach(function(e){return e(a)}),t)return t(a)},p=setTimeout(m.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=m.bind(null,s.onerror),s.onload=m.bind(null,s.onload),l&&document.head.appendChild(s)}})(),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,r,o)=>{if(i){o=o||0;for(var n=e.length;n>0&&e[n-1][2]>o;n--)e[n]=e[n-1];e[n]=[i,r,o];return}for(var s=1/0,n=0;n<e.length;n++){for(var[i,r,o]=e[n],l=!0,d=0;d<i.length;d++)(!1&o||s>=o)&&Object.keys(a.O).every(e=>a.O[e](i[d]))?i.splice(d--,1):(l=!1,o<s&&(s=o));if(l){e.splice(n--,1);var c=r();void 0!==c&&(t=c)}}return t}})(),a.p="/",a.rv=()=>"1.3.12",(()=>{if("undefined"!=typeof document){var e=function(e,t,i,r,o){var n=document.createElement("link");return n.rel="stylesheet",n.type="text/css",a.nc&&(n.nonce=a.nc),n.onerror=n.onload=function(a){if(n.onerror=n.onload=null,"load"===a.type)r();else{var i=a&&("load"===a.type?"missing":a.type),s=a&&a.target&&a.target.href||t,l=Error("Loading CSS chunk "+e+" failed.\\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=i,l.request=s,n.parentNode&&n.parentNode.removeChild(n),o(l)}},n.href=t,i?i.parentNode.insertBefore(n,i.nextSibling):document.head.appendChild(n),n},t=function(e,t){for(var a=document.getElementsByTagName("link"),i=0;i<a.length;i++){var r=a[i],o=r.getAttribute("data-href")||r.getAttribute("href");if("stylesheet"===r.rel&&(o===e||o===t))return r}for(var n=document.getElementsByTagName("style"),i=0;i<n.length;i++){var r=n[i],o=r.getAttribute("data-href");if(o===e||o===t)return r}},i={2980:0};a.f.miniCss=function(r,o){if(i[r])o.push(i[r]);else 0!==i[r]&&({4602:1,2076:1,8642:1,8013:1,5436:1,3990:1,8756:1,3215:1,3535:1,3547:1,8946:1,4536:1,5621:1,7502:1,5734:1,8275:1,9468:1,5668:1,7190:1})[r]&&o.push(i[r]=new Promise(function(i,o){var n=a.miniCssF(r),s=a.p+n;if(t(n,s))return i();e(r,s,null,i,o)}).then(function(){i[r]=0},function(e){throw delete i[r],e}))}}})(),(()=>{var e={2980:0};a.f.j=function(t,i){var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)i.push(r[2]);else{var o=new Promise((a,i)=>r=e[t]=[a,i]);i.push(r[2]=o);var n=a.p+a.u(t),s=Error();a.l(n,function(i){if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=i&&("load"===i.type?"missing":i.type),n=i&&i.target&&i.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+n+")",s.name="ChunkLoadError",s.type=o,s.request=n,r[1](s)}},"chunk-"+t,t)}},a.O.j=t=>0===e[t];var t=(t,i)=>{var r,o,[n,s,l]=i,d=0;if(n.some(t=>0!==e[t])){for(r in s)a.o(s,r)&&(a.m[r]=s[r]);if(l)var c=l(a)}for(t&&t(i);d<n.length;d++)o=n[d],a.o(e,o)&&e[o]&&e[o][0](),e[o]=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","6746"],function(){return a(27775)});i=a.O(i)})();
\ No newline at end of file
diff --git a/core/public/dist/static/js/lib-vue.1514baec.js b/core/public/dist/static/js/lib-vue.1514baec.js
deleted file mode 100644
index a1b7f1e4..00000000
--- a/core/public/dist/static/js/lib-vue.1514baec.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/*! For license information please see lib-vue.1514baec.js.LICENSE.txt */
-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["5139"],{41748:function(e,t){t.default=(e,t)=>{let n=e.__vccOpts||e;for(let[e,l]of t)n[e]=l;return n}},58786:function(e,t,n){var l,r;let i,s,o,u,a,f,c,p,d,h,g,m;function _(e){let t=Object.create(null);for(let n of e.split(","))t[n]=1;return e=>e in t}n.d(t,{D2:()=>ib,Wm:()=>rr,LL:()=>nY,SU:()=>tk,se:()=>nP,wF:()=>nD,wg:()=>l6,BK:()=>tM,Ho:()=>ri,HY:()=>lX,PG:()=>tp,Xl:()=>tm,uT:()=>rD,AE:()=>nk,Nv:()=>n0,W3:()=>ip,Ko:()=>nQ,nZ:()=>eh,WI:()=>n1,Tn:()=>tE,_:()=>rl,SK:()=>nB,OT:()=>ta,lR:()=>ns,Um:()=>tu,Vh:()=>tP,FN:()=>rg,IU:()=>tg,dG:()=>rc,j4:()=>l9,kq:()=>ro,iD:()=>l5,F8:()=>rQ,m0:()=>lD,w5:()=>t8,bv:()=>nN,dl:()=>nj,iH:()=>tx,zw:()=>ea,aZ:()=>nw,xv:()=>lZ,h:()=>rT,Fl:()=>rE,Rr:()=>n3,XI:()=>tS,Xn:()=>nI,YS:()=>tf,sv:()=>lQ,f3:()=>ld,B:()=>ed,lA:()=>l7,j5:()=>en,qj:()=>to,EM:()=>lh,Uk:()=>rs,RC:()=>nO,Vf:()=>n9,ri:()=>iC,EB:()=>ev,JJ:()=>lp,sY:()=>iw,up:()=>nG,tT:()=>lB,Jd:()=>nU,dq:()=>tb,YP:()=>lN,iM:()=>i_,C_:()=>es,Y3:()=>tJ,wy:()=>t4});let y={},b=[],x=()=>{},S=()=>!1,w=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||97>e.charCodeAt(2)),C=e=>e.startsWith("onUpdate:"),k=Object.assign,E=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},T=Object.prototype.hasOwnProperty,A=(e,t)=>T.call(e,t),O=Array.isArray,M=e=>"[object Map]"===N(e),L=e=>"[object Set]"===N(e),j=e=>"function"==typeof e,P=e=>"string"==typeof e,$=e=>"symbol"==typeof e,R=e=>null!==e&&"object"==typeof e,F=e=>(R(e)||j(e))&&j(e.then)&&j(e.catch),D=Object.prototype.toString,N=e=>D.call(e),I=e=>N(e).slice(8,-1),V=e=>"[object Object]"===N(e),U=e=>P(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,B=_(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),W=e=>{let t=Object.create(null);return n=>t[n]||(t[n]=e(n))},H=/-(\w)/g,K=W(e=>e.replace(H,(e,t)=>t?t.toUpperCase():"")),q=/\B([A-Z])/g,z=W(e=>e.replace(q,"-$1").toLowerCase()),G=W(e=>e.charAt(0).toUpperCase()+e.slice(1)),J=W(e=>e?`on${G(e)}`:""),Y=(e,t)=>!Object.is(e,t),X=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Z=(e,t,n,l=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:l,value:n})},Q=e=>{let t=parseFloat(e);return isNaN(t)?e:t},ee=e=>{let t=P(e)?Number(e):NaN;return isNaN(t)?e:t},et=()=>i||(i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{});function en(e){if(O(e)){let t={};for(let n=0;n<e.length;n++){let l=e[n],r=P(l)?function(e){let t={};return e.replace(ei,"").split(el).forEach(e=>{if(e){let n=e.split(er);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}(l):en(l);if(r)for(let e in r)t[e]=r[e]}return t}if(P(e)||R(e))return e}let el=/;(?![^(]*\))/g,er=/:([^]+)/,ei=/\/\*[^]*?\*\//g;function es(e){let t="";if(P(e))t=e;else if(O(e))for(let n=0;n<e.length;n++){let l=es(e[n]);l&&(t+=l+" ")}else if(R(e))for(let n in e)e[n]&&(t+=n+" ");return t.trim()}let eo=_("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly"),eu=e=>!!(e&&!0===e.__v_isRef),ea=e=>P(e)?e:null==e?"":O(e)||R(e)&&(e.toString===D||!j(e.toString))?eu(e)?ea(e.value):JSON.stringify(e,ef,2):String(e),ef=(e,t)=>{if(eu(t))return ef(e,t.value);if(M(t))return{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],l)=>(e[ec(t,l)+" =>"]=n,e),{})};if(L(t))return{[`Set(${t.size})`]:[...t.values()].map(e=>ec(e))};if($(t))return ec(t);if(R(t)&&!O(t)&&!V(t))return String(t);return t},ec=(e,t="")=>{var n;return $(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};class ep{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=s,!e&&s&&(this.index=(s.scopes||(s.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){let t=s;try{return s=this,e()}finally{s=t}}}on(){1==++this._on&&(this.prevScope=s,s=this)}off(){this._on>0&&0==--this._on&&(s=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){let t,n;for(t=0,this._active=!1,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,this.effects.length=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}}function ed(e){return new ep(e)}function eh(){return s}function ev(e,t=!1){s&&s.cleanups.push(e)}let eg=new WeakSet;class em{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,s&&s.active&&s.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,eg.has(this)&&(eg.delete(this),this.trigger()))}notify(){(!(2&this.flags)||32&this.flags)&&(8&this.flags||ey(this))}run(){if(!(1&this.flags))return this.fn();this.flags|=2,eM(this),ex(this);let e=o,t=eE;o=this,eE=!0;try{return this.fn()}finally{eS(this),o=e,eE=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)ek(e);this.deps=this.depsTail=void 0,eM(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?eg.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ew(this)&&this.run()}get dirty(){return ew(this)}}let e_=0;function ey(e,t=!1){if(e.flags|=8,t){e.next=a,a=e;return}e.next=u,u=e}function eb(){let e;if(!(--e_>0)){if(a){let e=a;for(a=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}for(;u;){let t=u;for(u=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=n}}if(e)throw e}}function ex(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function eS(e){let t,n=e.depsTail,l=n;for(;l;){let e=l.prevDep;-1===l.version?(l===n&&(n=e),ek(l),function(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}(l)):t=l,l.dep.activeLink=l.prevActiveLink,l.prevActiveLink=void 0,l=e}e.deps=t,e.depsTail=n}function ew(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(eC(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function eC(e){if(4&e.flags&&!(16&e.flags)||(e.flags&=-17,e.globalVersion===eL)||(e.globalVersion=eL,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!ew(e))))return;e.flags|=2;let t=e.dep,n=o,l=eE;o=e,eE=!0;try{ex(e);let n=e.fn(e._value);(0===t.version||Y(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{o=n,eE=l,eS(e),e.flags&=-3}}function ek(e,t=!1){let{dep:n,prevSub:l,nextSub:r}=e;if(l&&(l.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=l,e.nextSub=void 0),n.subs===e&&(n.subs=l,!l&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)ek(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}let eE=!0,eT=[];function eA(){eT.push(eE),eE=!1}function eO(){let e=eT.pop();eE=void 0===e||e}function eM(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=o;o=void 0;try{t()}finally{o=e}}}let eL=0;class ej{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class eP{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!o||!eE||o===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==o)t=this.activeLink=new ej(o,this),o.deps?(t.prevDep=o.depsTail,o.depsTail.nextDep=t,o.depsTail=t):o.deps=o.depsTail=t,function e(t){if(t.dep.sc++,4&t.sub.flags){let n=t.dep.computed;if(n&&!t.dep.subs){n.flags|=20;for(let t=n.deps;t;t=t.nextDep)e(t)}let l=t.dep.subs;l!==t&&(t.prevSub=l,l&&(l.nextSub=t)),t.dep.subs=t}}(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=o.depsTail,t.nextDep=void 0,o.depsTail.nextDep=t,o.depsTail=t,o.deps===t&&(o.deps=e)}return t}trigger(e){this.version++,eL++,this.notify(e)}notify(e){e_++;try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{eb()}}}let e$=new WeakMap,eR=Symbol(""),eF=Symbol(""),eD=Symbol("");function eN(e,t,n){if(eE&&o){let t=e$.get(e);t||e$.set(e,t=new Map);let l=t.get(n);l||(t.set(n,l=new eP),l.map=t,l.key=n),l.track()}}function eI(e,t,n,l,r,i){let s=e$.get(e);if(!s)return void eL++;let o=e=>{e&&e.trigger()};if(e_++,"clear"===t)s.forEach(o);else{let r=O(e),i=r&&U(n);if(r&&"length"===n){let e=Number(l);s.forEach((t,n)=>{("length"===n||n===eD||!$(n)&&n>=e)&&o(t)})}else switch((void 0!==n||s.has(void 0))&&o(s.get(n)),i&&o(s.get(eD)),t){case"add":r?i&&o(s.get("length")):(o(s.get(eR)),M(e)&&o(s.get(eF)));break;case"delete":!r&&(o(s.get(eR)),M(e)&&o(s.get(eF)));break;case"set":M(e)&&o(s.get(eR))}}eb()}function eV(e){let t=tg(e);return t===e?t:(eN(t,"iterate",eD),th(e)?t:t.map(t_))}function eU(e){return eN(e=tg(e),"iterate",eD),e}let eB={__proto__:null,[Symbol.iterator](){return eW(this,Symbol.iterator,t_)},concat(...e){return eV(this).concat(...e.map(e=>O(e)?eV(e):e))},entries(){return eW(this,"entries",e=>(e[1]=t_(e[1]),e))},every(e,t){return eK(this,"every",e,t,void 0,arguments)},filter(e,t){return eK(this,"filter",e,t,e=>e.map(t_),arguments)},find(e,t){return eK(this,"find",e,t,t_,arguments)},findIndex(e,t){return eK(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return eK(this,"findLast",e,t,t_,arguments)},findLastIndex(e,t){return eK(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return eK(this,"forEach",e,t,void 0,arguments)},includes(...e){return ez(this,"includes",e)},indexOf(...e){return ez(this,"indexOf",e)},join(e){return eV(this).join(e)},lastIndexOf(...e){return ez(this,"lastIndexOf",e)},map(e,t){return eK(this,"map",e,t,void 0,arguments)},pop(){return eG(this,"pop")},push(...e){return eG(this,"push",e)},reduce(e,...t){return eq(this,"reduce",e,t)},reduceRight(e,...t){return eq(this,"reduceRight",e,t)},shift(){return eG(this,"shift")},some(e,t){return eK(this,"some",e,t,void 0,arguments)},splice(...e){return eG(this,"splice",e)},toReversed(){return eV(this).toReversed()},toSorted(e){return eV(this).toSorted(e)},toSpliced(...e){return eV(this).toSpliced(...e)},unshift(...e){return eG(this,"unshift",e)},values(){return eW(this,"values",t_)}};function eW(e,t,n){let l=eU(e),r=l[t]();return l===e||th(e)||(r._next=r.next,r.next=()=>{let e=r._next();return e.value&&(e.value=n(e.value)),e}),r}let eH=Array.prototype;function eK(e,t,n,l,r,i){let s=eU(e),o=s!==e&&!th(e),u=s[t];if(u!==eH[t]){let t=u.apply(e,i);return o?t_(t):t}let a=n;s!==e&&(o?a=function(t,l){return n.call(this,t_(t),l,e)}:n.length>2&&(a=function(t,l){return n.call(this,t,l,e)}));let f=u.call(s,a,l);return o&&r?r(f):f}function eq(e,t,n,l){let r=eU(e),i=n;return r!==e&&(th(e)?n.length>3&&(i=function(t,l,r){return n.call(this,t,l,r,e)}):i=function(t,l,r){return n.call(this,t,t_(l),r,e)}),r[t](i,...l)}function ez(e,t,n){let l=tg(e);eN(l,"iterate",eD);let r=l[t](...n);return(-1===r||!1===r)&&tv(n[0])?(n[0]=tg(n[0]),l[t](...n)):r}function eG(e,t,n=[]){eA(),e_++;let l=tg(e)[t].apply(e,n);return eb(),eO(),l}let eJ=_("__proto__,__v_isRef,__isVue"),eY=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter($));function eX(e){$(e)||(e=String(e));let t=tg(this);return eN(t,"has",e),t.hasOwnProperty(e)}class eZ{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;let l=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!l;if("__v_isReadonly"===t)return l;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(l?r?ts:ti:r?tr:tl).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let i=O(e);if(!l){let e;if(i&&(e=eB[t]))return e;if("hasOwnProperty"===t)return eX}let s=Reflect.get(e,t,tb(e)?e:n);return($(t)?eY.has(t):eJ(t))||(l||eN(e,"get",t),r)?s:tb(s)?i&&U(t)?s:s.value:R(s)?l?ta(s):to(s):s}}class eQ extends eZ{constructor(e=!1){super(!1,e)}set(e,t,n,l){let r=e[t];if(!this._isShallow){let t=td(r);if(th(n)||td(n)||(r=tg(r),n=tg(n)),!O(e)&&tb(r)&&!tb(n))if(t)return!1;else return r.value=n,!0}let i=O(e)&&U(t)?Number(t)<e.length:A(e,t),s=Reflect.set(e,t,n,tb(e)?e:l);return e===tg(l)&&(i?Y(n,r)&&eI(e,"set",t,n,r):eI(e,"add",t,n)),s}deleteProperty(e,t){let n=A(e,t),l=e[t],r=Reflect.deleteProperty(e,t);return r&&n&&eI(e,"delete",t,void 0,l),r}has(e,t){let n=Reflect.has(e,t);return $(t)&&eY.has(t)||eN(e,"has",t),n}ownKeys(e){return eN(e,"iterate",O(e)?"length":eR),Reflect.ownKeys(e)}}class e0 extends eZ{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}let e1=new eQ,e2=new e0,e6=new eQ(!0),e8=new e0(!0),e4=e=>e,e3=e=>Reflect.getPrototypeOf(e);function e5(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function e9(e,t){let n=function(e,t){let n={get(n){let l=this.__v_raw,r=tg(l),i=tg(n);e||(Y(n,i)&&eN(r,"get",n),eN(r,"get",i));let{has:s}=e3(r),o=t?e4:e?ty:t_;return s.call(r,n)?o(l.get(n)):s.call(r,i)?o(l.get(i)):void(l!==r&&l.get(n))},get size(){let t=this.__v_raw;return e||eN(tg(t),"iterate",eR),Reflect.get(t,"size",t)},has(t){let n=this.__v_raw,l=tg(n),r=tg(t);return e||(Y(t,r)&&eN(l,"has",t),eN(l,"has",r)),t===r?n.has(t):n.has(t)||n.has(r)},forEach(n,l){let r=this,i=r.__v_raw,s=tg(i),o=t?e4:e?ty:t_;return e||eN(s,"iterate",eR),i.forEach((e,t)=>n.call(l,o(e),o(t),r))}};return k(n,e?{add:e5("add"),set:e5("set"),delete:e5("delete"),clear:e5("clear")}:{add(e){t||th(e)||td(e)||(e=tg(e));let n=tg(this);return e3(n).has.call(n,e)||(n.add(e),eI(n,"add",e,e)),this},set(e,n){t||th(n)||td(n)||(n=tg(n));let l=tg(this),{has:r,get:i}=e3(l),s=r.call(l,e);s||(e=tg(e),s=r.call(l,e));let o=i.call(l,e);return l.set(e,n),s?Y(n,o)&&eI(l,"set",e,n,o):eI(l,"add",e,n),this},delete(e){let t=tg(this),{has:n,get:l}=e3(t),r=n.call(t,e);r||(e=tg(e),r=n.call(t,e));let i=l?l.call(t,e):void 0,s=t.delete(e);return r&&eI(t,"delete",e,void 0,i),s},clear(){let e=tg(this),t=0!==e.size,n=e.clear();return t&&eI(e,"clear",void 0,void 0,void 0),n}}),["keys","values","entries",Symbol.iterator].forEach(l=>{n[l]=function(...n){let r=this.__v_raw,i=tg(r),s=M(i),o="entries"===l||l===Symbol.iterator&&s,u=r[l](...n),a=t?e4:e?ty:t_;return e||eN(i,"iterate","keys"===l&&s?eF:eR),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:o?[a(e[0]),a(e[1])]:a(e),done:t}},[Symbol.iterator](){return this}}}}),n}(e,t);return(t,l,r)=>"__v_isReactive"===l?!e:"__v_isReadonly"===l?e:"__v_raw"===l?t:Reflect.get(A(n,l)&&l in t?n:t,l,r)}let e7={get:e9(!1,!1)},te={get:e9(!1,!0)},tt={get:e9(!0,!1)},tn={get:e9(!0,!0)},tl=new WeakMap,tr=new WeakMap,ti=new WeakMap,ts=new WeakMap;function to(e){return td(e)?e:tc(e,!1,e1,e7,tl)}function tu(e){return tc(e,!1,e6,te,tr)}function ta(e){return tc(e,!0,e2,tt,ti)}function tf(e){return tc(e,!0,e8,tn,ts)}function tc(e,t,n,l,r){if(!R(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;let i=e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(I(e));if(0===i)return e;let s=r.get(e);if(s)return s;let o=new Proxy(e,2===i?l:n);return r.set(e,o),o}function tp(e){return td(e)?tp(e.__v_raw):!!(e&&e.__v_isReactive)}function td(e){return!!(e&&e.__v_isReadonly)}function th(e){return!!(e&&e.__v_isShallow)}function tv(e){return!!e&&!!e.__v_raw}function tg(e){let t=e&&e.__v_raw;return t?tg(t):e}function tm(e){return!A(e,"__v_skip")&&Object.isExtensible(e)&&Z(e,"__v_skip",!0),e}let t_=e=>R(e)?to(e):e,ty=e=>R(e)?ta(e):e;function tb(e){return!!e&&!0===e.__v_isRef}function tx(e){return tw(e,!1)}function tS(e){return tw(e,!0)}function tw(e,t){return tb(e)?e:new tC(e,t)}class tC{constructor(e,t){this.dep=new eP,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:tg(e),this._value=t?e:t_(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||th(e)||td(e);Y(e=n?e:tg(e),t)&&(this._rawValue=e,this._value=n?e:t_(e),this.dep.trigger())}}function tk(e){return tb(e)?e.value:e}function tE(e){return j(e)?e():tk(e)}let tT={get:(e,t,n)=>"__v_raw"===t?e:tk(Reflect.get(e,t,n)),set:(e,t,n,l)=>{let r=e[t];return tb(r)&&!tb(n)?(r.value=n,!0):Reflect.set(e,t,n,l)}};function tA(e){return tp(e)?e:new Proxy(e,tT)}class tO{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new eP,{get:n,set:l}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=l}get value(){return this._value=this._get()}set value(e){this._set(e)}}function tM(e){let t=O(e)?Array(e.length):{};for(let n in e)t[n]=t$(e,n);return t}class tL{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){let e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){let n=e$.get(e);return n&&n.get(t)}(tg(this._object),this._key)}}class tj{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function tP(e,t,n){return tb(e)?e:j(e)?new tj(e):R(e)&&arguments.length>1?t$(e,t,n):tx(e)}function t$(e,t,n){let l=e[t];return tb(l)?l:new tL(e,t,n)}class tR{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new eP(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=eL-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags)&&o!==this)return ey(this,!0),!0}get value(){let e=this.dep.track();return eC(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}let tF={},tD=new WeakMap;function tN(e,t=1/0,n){if(t<=0||!R(e)||e.__v_skip||(n=n||new Set).has(e))return e;if(n.add(e),t--,tb(e))tN(e.value,t,n);else if(O(e))for(let l=0;l<e.length;l++)tN(e[l],t,n);else if(L(e)||M(e))e.forEach(e=>{tN(e,t,n)});else if(V(e)){for(let l in e)tN(e[l],t,n);for(let l of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,l)&&tN(e[l],t,n)}return e}function tI(e,t,n,l){try{return l?e(...l):e()}catch(e){tU(e,t,n)}}function tV(e,t,n,l){if(j(e)){let r=tI(e,t,n,l);return r&&F(r)&&r.catch(e=>{tU(e,t,n)}),r}if(O(e)){let r=[];for(let i=0;i<e.length;i++)r.push(tV(e[i],t,n,l));return r}}function tU(e,t,n,l=!0){let r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||y;if(t){let l=t.parent,r=t.proxy,s=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){let t=l.ec;if(t){for(let n=0;n<t.length;n++)if(!1===t[n](e,r,s))return}l=l.parent}if(i){eA(),tI(i,null,10,[e,r,s]),eO();return}}!function(e,t,n,l=!0,r=!1){if(r)throw e;console.error(e)}(e,0,0,l,s)}let tB=[],tW=-1,tH=[],tK=null,tq=0,tz=Promise.resolve(),tG=null;function tJ(e){let t=tG||tz;return e?t.then(this?e.bind(this):e):t}function tY(e){if(!(1&e.flags)){let t=t0(e),n=tB[tB.length-1];!n||!(2&e.flags)&&t>=t0(n)?tB.push(e):tB.splice(function(e){let t=tW+1,n=tB.length;for(;t<n;){let l=t+n>>>1,r=tB[l],i=t0(r);i<e||i===e&&2&r.flags?t=l+1:n=l}return t}(t),0,e),e.flags|=1,tX()}}function tX(){tG||(tG=tz.then(function e(t){try{for(tW=0;tW<tB.length;tW++){let e=tB[tW];e&&!(8&e.flags)&&(4&e.flags&&(e.flags&=-2),tI(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;tW<tB.length;tW++){let e=tB[tW];e&&(e.flags&=-2)}tW=-1,tB.length=0,tQ(t),tG=null,(tB.length||tH.length)&&e(t)}}))}function tZ(e,t,n=tW+1){for(;n<tB.length;n++){let t=tB[n];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue;tB.splice(n,1),n--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}function tQ(e){if(tH.length){let e=[...new Set(tH)].sort((e,t)=>t0(e)-t0(t));if(tH.length=0,tK)return void tK.push(...e);for(tq=0,tK=e;tq<tK.length;tq++){let e=tK[tq];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}tK=null,tq=0}}let t0=e=>null==e.id?2&e.flags?-1:1/0:e.id,t1=null,t2=null;function t6(e){let t=t1;return t1=e,t2=e&&e.type.__scopeId||null,t}function t8(e,t=t1,n){if(!t||e._n)return e;let l=(...n)=>{let r;l._d&&l4(-1);let i=t6(t);try{r=e(...n)}finally{t6(i),l._d&&l4(1)}return r};return l._n=!0,l._c=!0,l._d=!0,l}function t4(e,t){if(null===t1)return e;let n=rk(t1),l=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[r,i,s,o=y]=t[e];r&&(j(r)&&(r={mounted:r,updated:r}),r.deep&&tN(i),l.push({dir:r,instance:n,value:i,oldValue:void 0,arg:s,modifiers:o}))}return e}function t3(e,t,n,l){let r=e.dirs,i=t&&t.dirs;for(let s=0;s<r.length;s++){let o=r[s];i&&(o.oldValue=i[s].value);let u=o.dir[l];u&&(eA(),tV(u,n,8,[e.el,o,e,t]),eO())}}let t5=Symbol("_vte"),t9=e=>e.__isTeleport,t7=e=>e&&(e.disabled||""===e.disabled),ne=e=>e&&(e.defer||""===e.defer),nt=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,nn=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,nl=(e,t)=>{let n=e&&e.to;return P(n)?t?t(n):null:n},nr={name:"Teleport",__isTeleport:!0,process(e,t,n,l,r,i,s,o,u,a){let{mc:f,pc:c,pbc:p,o:{insert:d,querySelector:h,createText:g,createComment:m}}=a,_=t7(t.props),{shapeFlag:y,children:b,dynamicChildren:x}=t;if(null==e){let e=t.el=g(""),a=t.anchor=g("");d(e,n,l),d(a,n,l);let c=(e,t)=>{16&y&&(r&&r.isCE&&(r.ce._teleportTarget=e),f(b,e,t,r,i,s,o,u))},p=()=>{let e=t.target=nl(t.props,h),n=nu(e,t,g,d);e&&("svg"!==s&&nt(e)?s="svg":"mathml"!==s&&nn(e)&&(s="mathml"),_||(c(e,n),no(t,!1)))};_&&(c(n,a),no(t,!0)),ne(t.props)?(t.el.__isMounted=!1,lM(()=>{p(),delete t.el.__isMounted},i)):p()}else{if(ne(t.props)&&!1===e.el.__isMounted)return void lM(()=>{nr.process(e,t,n,l,r,i,s,o,u,a)},i);t.el=e.el,t.targetStart=e.targetStart;let f=t.anchor=e.anchor,d=t.target=e.target,g=t.targetAnchor=e.targetAnchor,m=t7(e.props),y=m?n:d,b=m?f:g;if("svg"===s||nt(d)?s="svg":("mathml"===s||nn(d))&&(s="mathml"),x?(p(e.dynamicChildren,x,y,r,i,s,o),lP(e,t,!0)):u||c(e,t,y,b,r,i,s,o,!1),_)m?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ni(t,n,f,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=t.target=nl(t.props,h);e&&ni(t,e,null,a,0)}else m&&ni(t,d,g,a,1);no(t,_)}},remove(e,t,n,{um:l,o:{remove:r}},i){let{shapeFlag:s,children:o,anchor:u,targetStart:a,targetAnchor:f,target:c,props:p}=e;if(c&&(r(a),r(f)),i&&r(u),16&s){let e=i||!t7(p);for(let r=0;r<o.length;r++){let i=o[r];l(i,t,n,e,!!i.dynamicChildren)}}},move:ni,hydrate:function(e,t,n,l,r,i,{o:{nextSibling:s,parentNode:o,querySelector:u,insert:a,createText:f}},c){let p=t.target=nl(t.props,u);if(p){let u=t7(t.props),d=p._lpa||p.firstChild;if(16&t.shapeFlag)if(u)t.anchor=c(s(e),t,o(e),n,l,r,i),t.targetStart=d,t.targetAnchor=d&&s(d);else{t.anchor=s(e);let o=d;for(;o;){if(o&&8===o.nodeType){if("teleport start anchor"===o.data)t.targetStart=o;else if("teleport anchor"===o.data){t.targetAnchor=o,p._lpa=t.targetAnchor&&s(t.targetAnchor);break}}o=s(o)}t.targetAnchor||nu(p,t,f,a),c(d&&s(d),t,p,n,l,r,i)}no(t,u)}return t.anchor&&s(t.anchor)}};function ni(e,t,n,{o:{insert:l},m:r},i=2){0===i&&l(e.targetAnchor,t,n);let{el:s,anchor:o,shapeFlag:u,children:a,props:f}=e,c=2===i;if(c&&l(s,t,n),(!c||t7(f))&&16&u)for(let e=0;e<a.length;e++)r(a[e],t,n,2);c&&l(o,t,n)}let ns=nr;function no(e,t){let n=e.ctx;if(n&&n.ut){let l,r;for(t?(l=e.el,r=e.anchor):(l=e.targetStart,r=e.targetAnchor);l&&l!==r;)1===l.nodeType&&l.setAttribute("data-v-owner",n.uid),l=l.nextSibling;n.ut()}}function nu(e,t,n,l){let r=t.targetStart=n(""),i=t.targetAnchor=n("");return r[t5]=i,e&&(l(r,e),l(i,e)),i}let na=Symbol("_leaveCb"),nf=Symbol("_enterCb");function nc(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return nN(()=>{e.isMounted=!0}),nU(()=>{e.isUnmounting=!0}),e}let np=[Function,Array],nd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:np,onEnter:np,onAfterEnter:np,onEnterCancelled:np,onBeforeLeave:np,onLeave:np,onAfterLeave:np,onLeaveCancelled:np,onBeforeAppear:np,onAppear:np,onAfterAppear:np,onAppearCancelled:np},nh=e=>{let t=e.subTree;return t.component?nh(t.component):t};function nv(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==lQ){t=n;break}}return t}let ng={name:"BaseTransition",props:nd,setup(e,{slots:t}){let n=rg(),l=nc();return()=>{let r=t.default&&nS(t.default(),!0);if(!r||!r.length)return;let i=nv(r),s=tg(e),{mode:o}=s;if(l.isLeaving)return ny(i);let u=nb(i);if(!u)return ny(i);let a=n_(u,s,l,n,e=>a=e);u.type!==lQ&&nx(u,a);let f=n.subTree&&nb(n.subTree);if(f&&f.type!==lQ&&!re(u,f)&&nh(n).type!==lQ){let e=n_(f,s,l,n);if(nx(f,e),"out-in"===o&&u.type!==lQ)return l.isLeaving=!0,e.afterLeave=()=>{l.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave,f=void 0},ny(i);"in-out"===o&&u.type!==lQ?e.delayLeave=(e,t,n)=>{nm(l,f)[String(f.key)]=f,e[na]=()=>{t(),e[na]=void 0,delete a.delayedLeave,f=void 0},a.delayedLeave=()=>{n(),delete a.delayedLeave,f=void 0}}:f=void 0}else f&&(f=void 0);return i}}};function nm(e,t){let{leavingVNodes:n}=e,l=n.get(t.type);return l||(l=Object.create(null),n.set(t.type,l)),l}function n_(e,t,n,l,r){let{appear:i,mode:s,persisted:o=!1,onBeforeEnter:u,onEnter:a,onAfterEnter:f,onEnterCancelled:c,onBeforeLeave:p,onLeave:d,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:m,onAppear:_,onAfterAppear:y,onAppearCancelled:b}=t,x=String(e.key),S=nm(n,e),w=(e,t)=>{e&&tV(e,l,9,t)},C=(e,t)=>{let n=t[1];w(e,t),O(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},k={mode:s,persisted:o,beforeEnter(t){let l=u;if(!n.isMounted)if(!i)return;else l=m||u;t[na]&&t[na](!0);let r=S[x];r&&re(e,r)&&r.el[na]&&r.el[na](),w(l,[t])},enter(e){let t=a,l=f,r=c;if(!n.isMounted)if(!i)return;else t=_||a,l=y||f,r=b||c;let s=!1,o=e[nf]=t=>{s||(s=!0,t?w(r,[e]):w(l,[e]),k.delayedLeave&&k.delayedLeave(),e[nf]=void 0)};t?C(t,[e,o]):o()},leave(t,l){let r=String(e.key);if(t[nf]&&t[nf](!0),n.isUnmounting)return l();w(p,[t]);let i=!1,s=t[na]=n=>{i||(i=!0,l(),n?w(g,[t]):w(h,[t]),t[na]=void 0,S[r]===e&&delete S[r])};S[r]=e,d?C(d,[t,s]):s()},clone(e){let i=n_(e,t,n,l,r);return r&&r(i),i}};return k}function ny(e){if(nL(e))return(e=ri(e)).children=null,e}function nb(e){if(!nL(e))return t9(e.type)&&e.children?nv(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&j(n.default))return n.default()}}function nx(e,t){6&e.shapeFlag&&e.component?(e.transition=t,nx(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function nS(e,t=!1,n){let l=[],r=0;for(let i=0;i<e.length;i++){let s=e[i],o=null==n?s.key:String(n)+String(null!=s.key?s.key:i);s.type===lX?(128&s.patchFlag&&r++,l=l.concat(nS(s.children,t,o))):(t||s.type!==lQ)&&l.push(null!=o?ri(s,{key:o}):s)}if(r>1)for(let e=0;e<l.length;e++)l[e].patchFlag=-2;return l}function nw(e,t){return j(e)?k({name:e.name},t,{setup:e}):e}function nC(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function nk(e){let t=rg(),n=tS(null);return t&&Object.defineProperty(t.refs===y?t.refs={}:t.refs,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e}),n}function nE(e,t,n,l,r=!1){if(O(e))return void e.forEach((e,i)=>nE(e,t&&(O(t)?t[i]:t),n,l,r));if(nA(l)&&!r){512&l.shapeFlag&&l.type.__asyncResolved&&l.component.subTree.component&&nE(e,t,n,l.component.subTree);return}let i=4&l.shapeFlag?rk(l.component):l.el,s=r?null:i,{i:o,r:u}=e,a=t&&t.r,f=o.refs===y?o.refs={}:o.refs,c=o.setupState,p=tg(c),d=c===y?()=>!1:e=>A(p,e);if(null!=a&&a!==u&&(P(a)?(f[a]=null,d(a)&&(c[a]=null)):tb(a)&&(a.value=null)),j(u))tI(u,o,12,[s,f]);else{let t=P(u),l=tb(u);if(t||l){let o=()=>{if(e.f){let n=t?d(u)?c[u]:f[u]:u.value;r?O(n)&&E(n,i):O(n)?n.includes(i)||n.push(i):t?(f[u]=[i],d(u)&&(c[u]=f[u])):(u.value=[i],e.k&&(f[e.k]=u.value))}else t?(f[u]=s,d(u)&&(c[u]=s)):l&&(u.value=s,e.k&&(f[e.k]=s))};s?(o.id=-1,lM(o,n)):o()}}}let nT=e=>8===e.nodeType;et().requestIdleCallback||(e=>setTimeout(e,1)),et().cancelIdleCallback||(e=>clearTimeout(e));let nA=e=>!!e.type.__asyncLoader;function nO(e){let t;j(e)&&(e={loader:e});let{loader:n,loadingComponent:l,errorComponent:r,delay:i=200,hydrate:s,timeout:o,suspensible:u=!0,onError:a}=e,f=null,c=0,p=()=>(c++,f=null,d()),d=()=>{let e;return f||(e=f=n().catch(e=>{if(e=e instanceof Error?e:Error(String(e)),a)return new Promise((t,n)=>{a(e,()=>t(p()),()=>n(e),c+1)});throw e}).then(n=>e!==f&&f?f:(n&&(n.__esModule||"Module"===n[Symbol.toStringTag])&&(n=n.default),t=n,n)))};return nw({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(e,n,l){let r=s?()=>{let t=s(()=>{l()},t=>(function(e,t){if(nT(e)&&"["===e.data){let n=1,l=e.nextSibling;for(;l;){if(1===l.nodeType){if(!1===t(l))break}else if(nT(l))if("]"===l.data){if(0==--n)break}else"["===l.data&&n++;l=l.nextSibling}}else t(e)})(e,t));t&&(n.bum||(n.bum=[])).push(t),(n.u||(n.u=[])).push(()=>!0)}:l;t?r():d().then(()=>!n.isUnmounted&&r())},get __asyncResolved(){return t},setup(){let e=rv;if(nC(e),t)return()=>nM(t,e);let n=t=>{f=null,tU(t,e,13,!r)};if(u&&e.suspense||rb)return d().then(t=>()=>nM(t,e)).catch(e=>(n(e),()=>r?rr(r,{error:e}):null));let s=tx(!1),a=tx(),c=tx(!!i);return i&&setTimeout(()=>{c.value=!1},i),null!=o&&setTimeout(()=>{if(!s.value&&!a.value){let e=Error(`Async component timed out after ${o}ms.`);n(e),a.value=e}},o),d().then(()=>{s.value=!0,e.parent&&nL(e.parent.vnode)&&e.parent.update()}).catch(e=>{n(e),a.value=e}),()=>s.value&&t?nM(t,e):a.value&&r?rr(r,{error:a.value}):l&&!c.value?rr(l):void 0}})}function nM(e,t){let{ref:n,props:l,children:r,ce:i}=t.vnode,s=rr(e,l,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}let nL=e=>e.type.__isKeepAlive;function nj(e,t){n$(e,"a",t)}function nP(e,t){n$(e,"da",t)}function n$(e,t,n=rv){let l=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(nR(t,l,n),n){let e=n.parent;for(;e&&e.parent;)nL(e.parent.vnode)&&function(e,t,n,l){let r=nR(t,e,l,!0);nB(()=>{E(l[t],r)},n)}(l,t,n,e),e=e.parent}}function nR(e,t,n=rv,l=!1){if(n){let r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...l)=>{eA();let r=rm(n),i=tV(t,n,e,l);return r(),eO(),i});return l?r.unshift(i):r.push(i),i}}let nF=e=>(t,n=rv)=>{rb&&"sp"!==e||nR(e,(...e)=>t(...e),n)},nD=nF("bm"),nN=nF("m"),nI=nF("bu"),nV=nF("u"),nU=nF("bum"),nB=nF("um"),nW=nF("sp"),nH=nF("rtg"),nK=nF("rtc");function nq(e,t=rv){nR("ec",e,t)}let nz="components";function nG(e,t){return nX(nz,e,!0,t)||e}let nJ=Symbol.for("v-ndc");function nY(e){return P(e)?nX(nz,e,!1)||e:e||nJ}function nX(e,t,n=!0,l=!1){let r=t1||rv;if(r){let n=r.type;if(e===nz){let e=function(e,t=!0){return j(e)?e.displayName||e.name:e.name||t&&e.__name}(n,!1);if(e&&(e===t||e===K(t)||e===G(K(t))))return n}let i=nZ(r[e]||n[e],t)||nZ(r.appContext[e],t);return!i&&l?n:i}}function nZ(e,t){return e&&(e[t]||e[K(t)]||e[G(K(t))])}function nQ(e,t,n,l){let r,i=n&&n[l],s=O(e);if(s||P(e)){let n=s&&tp(e),l=!1,o=!1;n&&(l=!th(e),o=td(e),e=eU(e)),r=Array(e.length);for(let n=0,s=e.length;n<s;n++)r[n]=t(l?o?ty(t_(e[n])):t_(e[n]):e[n],n,void 0,i&&i[n])}else if("number"==typeof e){r=Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,i&&i[n])}else if(R(e))if(e[Symbol.iterator])r=Array.from(e,(e,n)=>t(e,n,void 0,i&&i[n]));else{let n=Object.keys(e);r=Array(n.length);for(let l=0,s=n.length;l<s;l++){let s=n[l];r[l]=t(e[s],s,l,i&&i[l])}}else r=[];return n&&(n[l]=r),r}function n0(e,t){for(let n=0;n<t.length;n++){let l=t[n];if(O(l))for(let t=0;t<l.length;t++)e[l[t].name]=l[t].fn;else l&&(e[l.name]=l.key?(...e)=>{let t=l.fn(...e);return t&&(t.key=l.key),t}:l.fn)}return e}function n1(e,t,n={},l,r){if(t1.ce||t1.parent&&nA(t1.parent)&&t1.parent.ce)return"default"!==t&&(n.name=t),l6(),l9(lX,null,[rr("slot",n,l&&l())],64);let i=e[t];i&&i._c&&(i._d=!1),l6();let s=i&&function e(t){return t.some(t=>!l7(t)||t.type!==lQ&&(t.type!==lX||!!e(t.children)))?t:null}(i(n)),o=n.key||s&&s.key,u=l9(lX,{key:(o&&!$(o)?o:`_${t}`)+(!s&&l?"_fb":"")},s||(l?l():[]),s&&1===e._?64:-2);return!r&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),i&&i._c&&(i._d=!0),u}let n2=e=>e?ry(e)?rk(e):n2(e.parent):null,n6=k(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>n2(e.parent),$root:e=>n2(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>lt(e),$forceUpdate:e=>e.f||(e.f=()=>{tY(e.update)}),$nextTick:e=>e.n||(e.n=tJ.bind(e.proxy)),$watch:e=>lV.bind(e)}),n8=(e,t)=>e!==y&&!e.__isScriptSetup&&A(e,t),n4={get({_:e},t){let n,l,r;if("__v_skip"===t)return!0;let{ctx:i,setupState:s,data:o,props:u,accessCache:a,type:f,appContext:c}=e;if("$"!==t[0]){let l=a[t];if(void 0!==l)switch(l){case 1:return s[t];case 2:return o[t];case 4:return i[t];case 3:return u[t]}else{if(n8(s,t))return a[t]=1,s[t];if(o!==y&&A(o,t))return a[t]=2,o[t];if((n=e.propsOptions[0])&&A(n,t))return a[t]=3,u[t];if(i!==y&&A(i,t))return a[t]=4,i[t];n7&&(a[t]=0)}}let p=n6[t];return p?("$attrs"===t&&eN(e.attrs,"get",""),p(e)):(l=f.__cssModules)&&(l=l[t])?l:i!==y&&A(i,t)?(a[t]=4,i[t]):A(r=c.config.globalProperties,t)?r[t]:void 0},set({_:e},t,n){let{data:l,setupState:r,ctx:i}=e;return n8(r,t)?(r[t]=n,!0):l!==y&&A(l,t)?(l[t]=n,!0):!A(e.props,t)&&!("$"===t[0]&&t.slice(1)in e)&&(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:l,appContext:r,propsOptions:i}},s){let o;return!!n[s]||e!==y&&A(e,s)||n8(t,s)||(o=i[0])&&A(o,s)||A(l,s)||A(n6,s)||A(r.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:A(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function n3(){return function(){let e=rg();return e.setupContext||(e.setupContext=rC(e))}().slots}function n5(e){return O(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function n9(e,t){return e&&t?O(e)&&O(t)?e.concat(t):k({},n5(e),n5(t)):e||t}let n7=!0;function le(e,t,n){tV(O(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function lt(e){let t,n=e.type,{mixins:l,extends:r}=n,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,u=s.get(n);return u?t=u:i.length||l||r?(t={},i.length&&i.forEach(e=>ln(t,e,o,!0)),ln(t,n,o)):t=n,R(n)&&s.set(n,t),t}function ln(e,t,n,l=!1){let{mixins:r,extends:i}=t;for(let s in i&&ln(e,i,n,!0),r&&r.forEach(t=>ln(e,t,n,!0)),t)if(l&&"expose"===s);else{let l=ll[s]||n&&n[s];e[s]=l?l(e[s],t[s]):t[s]}return e}let ll={data:lr,props:lu,emits:lu,methods:lo,computed:lo,beforeCreate:ls,created:ls,beforeMount:ls,mounted:ls,beforeUpdate:ls,updated:ls,beforeDestroy:ls,beforeUnmount:ls,destroyed:ls,unmounted:ls,activated:ls,deactivated:ls,errorCaptured:ls,serverPrefetch:ls,components:lo,directives:lo,watch:function(e,t){if(!e)return t;if(!t)return e;let n=k(Object.create(null),e);for(let l in t)n[l]=ls(e[l],t[l]);return n},provide:lr,inject:function(e,t){return lo(li(e),li(t))}};function lr(e,t){return t?e?function(){return k(j(e)?e.call(this,this):e,j(t)?t.call(this,this):t)}:t:e}function li(e){if(O(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ls(e,t){return e?[...new Set([].concat(e,t))]:t}function lo(e,t){return e?k(Object.create(null),e,t):t}function lu(e,t){return e?O(e)&&O(t)?[...new Set([...e,...t])]:k(Object.create(null),n5(e),n5(null!=t?t:{})):t}function la(){return{app:null,config:{isNativeTag:S,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let lf=0,lc=null;function lp(e,t){if(rv){let n=rv.provides,l=rv.parent&&rv.parent.provides;l===n&&(n=rv.provides=Object.create(l)),n[e]=t}}function ld(e,t,n=!1){let l=rv||t1;if(l||lc){let r=lc?lc._context.provides:l?null==l.parent||l.ce?l.vnode.appContext&&l.vnode.appContext.provides:l.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&j(t)?t.call(l&&l.proxy):t}}function lh(){return!!(rv||t1||lc)}let lv={},lg=()=>Object.create(lv),lm=e=>Object.getPrototypeOf(e)===lv;function l_(e,t,n,l){let r,[i,s]=e.propsOptions,o=!1;if(t)for(let u in t){let a;if(B(u))continue;let f=t[u];i&&A(i,a=K(u))?s&&s.includes(a)?(r||(r={}))[a]=f:n[a]=f:lK(e.emitsOptions,u)||u in l&&f===l[u]||(l[u]=f,o=!0)}if(s){let t=tg(n),l=r||y;for(let r=0;r<s.length;r++){let o=s[r];n[o]=ly(i,t,o,l[o],e,!A(l,o))}}return o}function ly(e,t,n,l,r,i){let s=e[n];if(null!=s){let e=A(s,"default");if(e&&void 0===l){let e=s.default;if(s.type!==Function&&!s.skipFactory&&j(e)){let{propsDefaults:i}=r;if(n in i)l=i[n];else{let s=rm(r);l=i[n]=e.call(null,t),s()}}else l=e;r.ce&&r.ce._setProp(n,l)}s[0]&&(i&&!e?l=!1:s[1]&&(""===l||l===z(n))&&(l=!0))}return l}let lb=new WeakMap;function lx(e){return!("$"===e[0]||B(e))}let lS=e=>"_"===e[0]||"$stable"===e,lw=e=>O(e)?e.map(ru):[ru(e)],lC=(e,t,n)=>{if(t._n)return t;let l=t8((...e)=>lw(t(...e)),n);return l._c=!1,l},lk=(e,t,n)=>{let l=e._ctx;for(let n in e){if(lS(n))continue;let r=e[n];if(j(r))t[n]=lC(n,r,l);else if(null!=r){let e=lw(r);t[n]=()=>e}}},lE=(e,t)=>{let n=lw(t);e.slots.default=()=>n},lT=(e,t,n)=>{for(let l in t)(n||!lS(l))&&(e[l]=t[l])},lA=(e,t,n)=>{let l=e.slots=lg();if(32&e.vnode.shapeFlag){let e=t._;e?(lT(l,t,n),n&&Z(l,"_",e,!0)):lk(t,l)}else t&&lE(e,t)},lO=(e,t,n)=>{let{vnode:l,slots:r}=e,i=!0,s=y;if(32&l.shapeFlag){let e=t._;e?n&&1===e?i=!1:lT(r,t,n):(i=!t.$stable,lk(t,r)),s=t}else t&&(lE(e,t),s={default:1});if(i)for(let e in r)lS(e)||null!=s[e]||delete r[e]},lM=function(e,t){if(t&&t.pendingBranch)O(e)?t.effects.push(...e):t.effects.push(e);else O(e)?tH.push(...e):tK&&-1===e.id?tK.splice(tq+1,0,e):1&e.flags||(tH.push(e),e.flags|=1),tX()};function lL({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function lj({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function lP(e,t,n=!1){let l=e.children,r=t.children;if(O(l)&&O(r))for(let e=0;e<l.length;e++){let t=l[e],i=r[e];1&i.shapeFlag&&!i.dynamicChildren&&((i.patchFlag<=0||32===i.patchFlag)&&((i=r[e]=ra(r[e])).el=t.el),n||-2===i.patchFlag||lP(t,i)),i.type===lZ&&(i.el=t.el),i.type!==lQ||i.el||(i.el=t.el)}}function l$(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}let lR=Symbol.for("v-scx"),lF=()=>ld(lR);function lD(e,t){return lI(e,null,t)}function lN(e,t,n){return lI(e,t,n)}function lI(e,t,n=y){let l,{immediate:r,deep:i,flush:o,once:u}=n,a=k({},n),f=t&&r||!t&&"post"!==o;if(rb){if("sync"===o){let e=lF();l=e.__watcherHandles||(e.__watcherHandles=[])}else if(!f){let e=()=>{};return e.stop=x,e.resume=x,e.pause=x,e}}let c=rv;a.call=(e,t,n)=>tV(e,c,t,n);let p=!1;"post"===o?a.scheduler=e=>{lM(e,c&&c.suspense)}:"sync"!==o&&(p=!0,a.scheduler=(e,t)=>{t?e():tY(e)}),a.augmentJob=e=>{t&&(e.flags|=4),p&&(e.flags|=2,c&&(e.id=c.uid,e.i=c))};let d=function(e,t,n=y){let l,r,i,o,{immediate:u,deep:a,once:f,scheduler:c,augmentJob:p,call:d}=n,h=e=>a?e:th(e)||!1===a||0===a?tN(e,1):tN(e),m=!1,_=!1;if(tb(e)?(r=()=>e.value,m=th(e)):tp(e)?(r=()=>h(e),m=!0):O(e)?(_=!0,m=e.some(e=>tp(e)||th(e)),r=()=>e.map(e=>tb(e)?e.value:tp(e)?h(e):j(e)?d?d(e,2):e():void 0)):r=j(e)?t?d?()=>d(e,2):e:()=>{if(i){eA();try{i()}finally{eO()}}let t=g;g=l;try{return d?d(e,3,[o]):e(o)}finally{g=t}}:x,t&&a){let e=r,t=!0===a?1/0:a;r=()=>tN(e(),t)}let b=s,S=()=>{l.stop(),b&&b.active&&E(b.effects,l)};if(f&&t){let e=t;t=(...t)=>{e(...t),S()}}let w=_?Array(e.length).fill(tF):tF,C=e=>{if(1&l.flags&&(l.dirty||e))if(t){let e=l.run();if(a||m||(_?e.some((e,t)=>Y(e,w[t])):Y(e,w))){i&&i();let n=g;g=l;try{let n=[e,w===tF?void 0:_&&w[0]===tF?[]:w,o];w=e,d?d(t,3,n):t(...n)}finally{g=n}}}else l.run()};return p&&p(C),(l=new em(r)).scheduler=c?()=>c(C,!1):C,o=e=>(function(e,t=!1,n=g){if(n){let t=tD.get(n);t||tD.set(n,t=[]),t.push(e)}})(e,!1,l),i=l.onStop=()=>{let e=tD.get(l);if(e){if(d)d(e,4);else for(let t of e)t();tD.delete(l)}},t?u?C(!0):w=l.run():c?c(C.bind(null,!0),!0):l.run(),S.pause=l.pause.bind(l),S.resume=l.resume.bind(l),S.stop=S,S}(e,t,a);return rb&&(l?l.push(d):f&&d()),d}function lV(e,t,n){let l,r=this.proxy,i=P(e)?e.includes(".")?lU(r,e):()=>r[e]:e.bind(r,r);j(t)?l=t:(l=t.handler,n=t);let s=rm(this),o=lI(i,l.bind(r),n);return s(),o}function lU(e,t){let n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function lB(e,t,n=y){let l=rg(),r=K(t),i=z(t),s=lW(e,r),o=new tO((s,o)=>{let u,a,f=y;return lI(()=>{let t=e[r];Y(u,t)&&(u=t,o())},null,{flush:"sync"}),{get:()=>(s(),n.get?n.get(u):u),set(e){let s=n.set?n.set(e):e;if(!Y(s,u)&&!(f!==y&&Y(e,f)))return;let c=l.vnode.props;c&&(t in c||r in c||i in c)&&(`onUpdate:${t}`in c||`onUpdate:${r}`in c||`onUpdate:${i}`in c)||(u=e,o()),l.emit(`update:${t}`,s),Y(e,s)&&Y(e,f)&&!Y(s,a)&&o(),f=e,a=s}}});return o[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?s||y:o,done:!1}:{done:!0}}},o}let lW=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${K(t)}Modifiers`]||e[`${z(t)}Modifiers`];function lH(e,t,...n){let l;if(e.isUnmounted)return;let r=e.vnode.props||y,i=n,s=t.startsWith("update:"),o=s&&lW(r,t.slice(7));o&&(o.trim&&(i=n.map(e=>P(e)?e.trim():e)),o.number&&(i=n.map(Q)));let u=r[l=J(t)]||r[l=J(K(t))];!u&&s&&(u=r[l=J(z(t))]),u&&tV(u,e,6,i);let a=r[l+"Once"];if(a){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,tV(a,e,6,i)}}function lK(e,t){return!!e&&!!w(t)&&(A(e,(t=t.slice(2).replace(/Once$/,""))[0].toLowerCase()+t.slice(1))||A(e,z(t))||A(e,t))}function lq(e){let t,n,{type:l,vnode:r,proxy:i,withProxy:s,propsOptions:[o],slots:u,attrs:a,emit:f,render:c,renderCache:p,props:d,data:h,setupState:g,ctx:m,inheritAttrs:_}=e,y=t6(e);try{if(4&r.shapeFlag){let e=s||i;t=ru(c.call(e,e,p,d,g,h,m)),n=a}else t=ru(l.length>1?l(d,{attrs:a,slots:u,emit:f}):l(d,null)),n=l.props?a:lz(a)}catch(n){l1.length=0,tU(n,e,1),t=rr(lQ)}let b=t;if(n&&!1!==_){let e=Object.keys(n),{shapeFlag:t}=b;e.length&&7&t&&(o&&e.some(C)&&(n=lG(n,o)),b=ri(b,n,!1,!0))}return r.dirs&&((b=ri(b,null,!1,!0)).dirs=b.dirs?b.dirs.concat(r.dirs):r.dirs),r.transition&&nx(b,r.transition),t=b,t6(y),t}let lz=e=>{let t;for(let n in e)("class"===n||"style"===n||w(n))&&((t||(t={}))[n]=e[n]);return t},lG=(e,t)=>{let n={};for(let l in e)C(l)&&l.slice(9)in t||(n[l]=e[l]);return n};function lJ(e,t,n){let l=Object.keys(t);if(l.length!==Object.keys(e).length)return!0;for(let r=0;r<l.length;r++){let i=l[r];if(t[i]!==e[i]&&!lK(n,i))return!0}return!1}let lY=e=>e.__isSuspense,lX=Symbol.for("v-fgt"),lZ=Symbol.for("v-txt"),lQ=Symbol.for("v-cmt"),l0=Symbol.for("v-stc"),l1=[],l2=null;function l6(e=!1){l1.push(l2=e?null:[])}let l8=1;function l4(e,t=!1){l8+=e,e<0&&l2&&t&&(l2.hasOnce=!0)}function l3(e){return e.dynamicChildren=l8>0?l2||b:null,l1.pop(),l2=l1[l1.length-1]||null,l8>0&&l2&&l2.push(e),e}function l5(e,t,n,l,r,i){return l3(rl(e,t,n,l,r,i,!0))}function l9(e,t,n,l,r){return l3(rr(e,t,n,l,r,!0))}function l7(e){return!!e&&!0===e.__v_isVNode}function re(e,t){return e.type===t.type&&e.key===t.key}let rt=({key:e})=>null!=e?e:null,rn=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?P(e)||tb(e)||j(e)?{i:t1,r:e,k:t,f:!!n}:e:null);function rl(e,t=null,n=null,l=0,r=null,i=+(e!==lX),s=!1,o=!1){let u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&rt(t),ref:t&&rn(t),scopeId:t2,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:l,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:t1};return o?(rf(u,n),128&i&&e.normalize(u)):n&&(u.shapeFlag|=P(n)?8:16),l8>0&&!s&&l2&&(u.patchFlag>0||6&i)&&32!==u.patchFlag&&l2.push(u),u}let rr=function(e,t=null,n=null,l=0,r=null,i=!1){var s,o;if(e&&e!==nJ||(e=lQ),l7(e)){let l=ri(e,t,!0);return n&&rf(l,n),l8>0&&!i&&l2&&(6&l.shapeFlag?l2[l2.indexOf(e)]=l:l2.push(l)),l.patchFlag=-2,l}if(j(s=e)&&"__vccOpts"in s&&(e=e.__vccOpts),t){let{class:e,style:n}=t=(o=t)?tv(o)||lm(o)?k({},o):o:null;e&&!P(e)&&(t.class=es(e)),R(n)&&(tv(n)&&!O(n)&&(n=k({},n)),t.style=en(n))}let u=P(e)?1:lY(e)?128:t9(e)?64:R(e)?4:2*!!j(e);return rl(e,t,n,l,r,u,i,!0)};function ri(e,t,n=!1,l=!1){let{props:r,ref:i,patchFlag:s,children:o,transition:u}=e,a=t?rc(r||{},t):r,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&rt(a),ref:t&&t.ref?n&&i?O(i)?i.concat(rn(t)):[i,rn(t)]:rn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==lX?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ri(e.ssContent),ssFallback:e.ssFallback&&ri(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&l&&nx(f,u.clone(f)),f}function rs(e=" ",t=0){return rr(lZ,null,e,t)}function ro(e="",t=!1){return t?(l6(),l9(lQ,null,e)):rr(lQ,null,e)}function ru(e){return null==e||"boolean"==typeof e?rr(lQ):O(e)?rr(lX,null,e.slice()):l7(e)?ra(e):rr(lZ,null,String(e))}function ra(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ri(e)}function rf(e,t){let n=0,{shapeFlag:l}=e;if(null==t)t=null;else if(O(t))n=16;else if("object"==typeof t)if(65&l){let n=t.default;n&&(n._c&&(n._d=!1),rf(e,n()),n._c&&(n._d=!0));return}else{n=32;let l=t._;l||lm(t)?3===l&&t1&&(1===t1.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=t1}else j(t)?(t={default:t,_ctx:t1},n=32):(t=String(t),64&l?(n=16,t=[rs(t)]):n=8);e.children=t,e.shapeFlag|=n}function rc(...e){let t={};for(let n=0;n<e.length;n++){let l=e[n];for(let e in l)if("class"===e)t.class!==l.class&&(t.class=es([t.class,l.class]));else if("style"===e)t.style=en([t.style,l.style]);else if(w(e)){let n=t[e],r=l[e];r&&n!==r&&!(O(n)&&n.includes(r))&&(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=l[e])}return t}function rp(e,t,n,l=null){tV(e,t,7,[n,l])}let rd=la(),rh=0,rv=null,rg=()=>rv||t1;{let e=et(),t=(t,n)=>{let l;return(l=e[t])||(l=e[t]=[]),l.push(n),e=>{l.length>1?l.forEach(t=>t(e)):l[0](e)}};f=t("__VUE_INSTANCE_SETTERS__",e=>rv=e),c=t("__VUE_SSR_SETTERS__",e=>rb=e)}let rm=e=>{let t=rv;return f(e),e.scope.on(),()=>{e.scope.off(),f(t)}},r_=()=>{rv&&rv.scope.off(),f(null)};function ry(e){return 4&e.vnode.shapeFlag}let rb=!1;function rx(e,t,n){j(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:R(t)&&(e.setupState=tA(t)),rS(e,n)}function rS(e,t,n){let l=e.type;if(!e.render){if(!t&&p&&!l.render){let t=l.template||lt(e).template;if(t){let{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:i,compilerOptions:s}=l;l.render=p(t,k(k({isCustomElement:n,delimiters:i},r),s))}}e.render=l.render||x,d&&d(e)}{let t=rm(e);eA();try{!function(e){let t=lt(e),n=e.proxy,l=e.ctx;n7=!1,t.beforeCreate&&le(t.beforeCreate,e,"bc");let{data:r,computed:i,methods:s,watch:o,provide:u,inject:a,created:f,beforeMount:c,mounted:p,beforeUpdate:d,updated:h,activated:g,deactivated:m,beforeDestroy:_,beforeUnmount:y,destroyed:b,unmounted:S,render:w,renderTracked:C,renderTriggered:k,errorCaptured:E,serverPrefetch:T,expose:A,inheritAttrs:M,components:L,directives:$,filters:F}=t;if(a&&function(e,t,n=x){for(let n in O(e)&&(e=li(e)),e){let l,r=e[n];tb(l=R(r)?"default"in r?ld(r.from||n,r.default,!0):ld(r.from||n):ld(r))?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e}):t[n]=l}}(a,l,null),s)for(let e in s){let t=s[e];j(t)&&(l[e]=t.bind(n))}if(r){let t=r.call(n,n);R(t)&&(e.data=to(t))}if(n7=!0,i)for(let e in i){let t=i[e],r=j(t)?t.bind(n,n):j(t.get)?t.get.bind(n,n):x,s=rE({get:r,set:!j(t)&&j(t.set)?t.set.bind(n):x});Object.defineProperty(l,e,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(o)for(let e in o)!function e(t,n,l,r){let i=r.includes(".")?lU(l,r):()=>l[r];if(P(t)){let e=n[t];var s,o,u,a,f,c=void 0;j(e)&&(a=i,f=e,lI(a,f,void 0))}else if(j(t)){var p,d,h=void 0;p=i,d=t.bind(l),lI(p,d,void 0)}else if(R(t))if(O(t))t.forEach(t=>e(t,n,l,r));else{let e=j(t.handler)?t.handler.bind(l):n[t.handler];j(e)&&(s=i,o=e,u=t,lI(s,o,u))}}(o[e],l,n,e);if(u){let e=j(u)?u.call(n):u;Reflect.ownKeys(e).forEach(t=>{lp(t,e[t])})}function D(e,t){O(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(f&&le(f,e,"c"),D(nD,c),D(nN,p),D(nI,d),D(nV,h),D(nj,g),D(nP,m),D(nq,E),D(nK,C),D(nH,k),D(nU,y),D(nB,S),D(nW,T),O(A))if(A.length){let t=e.exposed||(e.exposed={});A.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})})}else e.exposed||(e.exposed={});w&&e.render===x&&(e.render=w),null!=M&&(e.inheritAttrs=M),L&&(e.components=L),$&&(e.directives=$),T&&nC(e)}(e)}finally{eO(),t()}}}let rw={get:(e,t)=>(eN(e,"get",""),e[t])};function rC(e){return{attrs:new Proxy(e.attrs,rw),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function rk(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(tA(tm(e.exposed)),{get:(t,n)=>n in t?t[n]:n in n6?n6[n](e):void 0,has:(e,t)=>t in e||t in n6})):e.proxy}let rE=(e,t)=>(function(e,t,n=!1){let l,r;return j(e)?l=e:(l=e.get,r=e.set),new tR(l,r,n)})(e,0,rb);function rT(e,t,n){let l=arguments.length;return 2!==l?(l>3?n=Array.prototype.slice.call(arguments,2):3===l&&l7(n)&&(n=[n]),rr(e,t,n)):!R(t)||O(t)?rr(e,null,t):l7(t)?rr(e,null,[t]):rr(e,t)}let rA="undefined"!=typeof window&&window.trustedTypes;if(rA)try{m=rA.createPolicy("vue",{createHTML:e=>e})}catch(e){}let rO=m?e=>m.createHTML(e):e=>e,rM="undefined"!=typeof document?document:null,rL=rM&&rM.createElement("template"),rj="transition",rP="animation",r$=Symbol("_vtc"),rR={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},rF=k({},nd,rR),rD=((l=(e,{slots:t})=>rT(ng,rV(e),t)).displayName="Transition",l.props=rF,l),rN=(e,t=[])=>{O(e)?e.forEach(e=>e(...t)):e&&e(...t)},rI=e=>!!e&&(O(e)?e.some(e=>e.length>1):e.length>1);function rV(e){let t={};for(let n in e)n in rR||(t[n]=e[n]);if(!1===e.css)return t;let{name:n="v",type:l,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:o=`${n}-enter-to`,appearFromClass:u=i,appearActiveClass:a=s,appearToClass:f=o,leaveFromClass:c=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,h=function(e){if(null==e)return null;{if(R(e))return[function(e){return ee(e)}(e.enter),function(e){return ee(e)}(e.leave)];let t=function(e){return ee(e)}(e);return[t,t]}}(r),g=h&&h[0],m=h&&h[1],{onBeforeEnter:_,onEnter:y,onEnterCancelled:b,onLeave:x,onLeaveCancelled:S,onBeforeAppear:w=_,onAppear:C=y,onAppearCancelled:E=b}=t,T=(e,t,n,l)=>{e._enterCancelled=l,rW(e,t?f:o),rW(e,t?a:s),n&&n()},A=(e,t)=>{e._isLeaving=!1,rW(e,c),rW(e,d),rW(e,p),t&&t()},O=e=>(t,n)=>{let r=e?C:y,s=()=>T(t,e,n);rN(r,[t,s]),rH(()=>{rW(t,e?u:i),rB(t,e?f:o),rI(r)||rq(t,l,g,s)})};return k(t,{onBeforeEnter(e){rN(_,[e]),rB(e,i),rB(e,s)},onBeforeAppear(e){rN(w,[e]),rB(e,u),rB(e,a)},onEnter:O(!1),onAppear:O(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>A(e,t);rB(e,c),e._enterCancelled?(rB(e,p),rY()):(rY(),rB(e,p)),rH(()=>{e._isLeaving&&(rW(e,c),rB(e,d),rI(x)||rq(e,l,m,n))}),rN(x,[e,n])},onEnterCancelled(e){T(e,!1,void 0,!0),rN(b,[e])},onAppearCancelled(e){T(e,!0,void 0,!0),rN(E,[e])},onLeaveCancelled(e){A(e),rN(S,[e])}})}function rU(e){return ee(e)}function rB(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[r$]||(e[r$]=new Set)).add(t)}function rW(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[r$];n&&(n.delete(t),n.size||(e[r$]=void 0))}function rH(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let rK=0;function rq(e,t,n,l){let r=e._endId=++rK,i=()=>{r===e._endId&&l()};if(null!=n)return setTimeout(i,n);let{type:s,timeout:o,propCount:u}=rz(e,t);if(!s)return l();let a=s+"end",f=0,c=()=>{e.removeEventListener(a,p),i()},p=t=>{t.target===e&&++f>=u&&c()};setTimeout(()=>{f<u&&c()},o+1),e.addEventListener(a,p)}function rz(e,t){let n=window.getComputedStyle(e),l=e=>(n[e]||"").split(", "),r=l(`${rj}Delay`),i=l(`${rj}Duration`),s=rG(r,i),o=l(`${rP}Delay`),u=l(`${rP}Duration`),a=rG(o,u),f=null,c=0,p=0;t===rj?s>0&&(f=rj,c=s,p=i.length):t===rP?a>0&&(f=rP,c=a,p=u.length):p=(f=(c=Math.max(s,a))>0?s>a?rj:rP:null)?f===rj?i.length:u.length:0;let d=f===rj&&/\b(transform|all)(,|$)/.test(l(`${rj}Property`).toString());return{type:f,timeout:c,propCount:p,hasTransform:d}}function rG(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>rJ(t)+rJ(e[n])))}function rJ(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function rY(){return document.body.offsetHeight}let rX=Symbol("_vod"),rZ=Symbol("_vsh"),rQ={beforeMount(e,{value:t},{transition:n}){e[rX]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):r0(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:l}){!t!=!n&&(l?t?(l.beforeEnter(e),r0(e,!0),l.enter(e)):l.leave(e,()=>{r0(e,!1)}):r0(e,t))},beforeUnmount(e,{value:t}){r0(e,t)}};function r0(e,t){e.style.display=t?e[rX]:"none",e[rZ]=!t}let r1=Symbol(""),r2=/(^|;)\s*display\s*:/,r6=/\s*!important$/;function r8(e,t,n){if(O(n))n.forEach(n=>r8(e,t,n));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{let l=function(e,t){let n=r3[t];if(n)return n;let l=K(t);if("filter"!==l&&l in e)return r3[t]=l;l=G(l);for(let n=0;n<r4.length;n++){let r=r4[n]+l;if(r in e)return r3[t]=r}return t}(e,t);r6.test(n)?e.setProperty(z(l),n.replace(r6,""),"important"):e[l]=n}}let r4=["Webkit","Moz","ms"],r3={},r5="http://www.w3.org/1999/xlink";function r9(e,t,n,l,r,i=eo(t)){if(l&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(r5,t.slice(6,t.length)):e.setAttributeNS(r5,t,n);else null==n||i&&!(n||""===n)?e.removeAttribute(t):e.setAttribute(t,i?"":$(n)?String(n):n)}function r7(e,t,n,l,r){if("innerHTML"===t||"textContent"===t){null!=n&&(e[t]="innerHTML"===t?rO(n):n);return}let i=e.tagName;if("value"===t&&"PROGRESS"!==i&&!i.includes("-")){let l="OPTION"===i?e.getAttribute("value")||"":e.value,r=null==n?"checkbox"===e.type?"on":"":String(n);l===r&&"_value"in e||(e.value=r),null==n&&e.removeAttribute(t),e._value=n;return}let s=!1;if(""===n||null==n){let l=typeof e[t];if("boolean"===l){var o;n=!!(o=n)||""===o}else null==n&&"string"===l?(n="",s=!0):"number"===l&&(n=0,s=!0)}try{e[t]=n}catch(e){}s&&e.removeAttribute(r||t)}let ie=Symbol("_vei"),it=/(?:Once|Passive|Capture)$/,il=0,ir=Promise.resolve(),ii=()=>il||(ir.then(()=>il=0),il=Date.now()),is=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&123>e.charCodeAt(2);"undefined"!=typeof HTMLElement&&HTMLElement;let io=new WeakMap,iu=new WeakMap,ia=Symbol("_moveCb"),ic=Symbol("_enterCb"),ip=(r={name:"TransitionGroup",props:k({},rF,{tag:String,moveClass:String}),setup(e,{slots:t}){let n,l,r=rg(),i=nc();return nV(()=>{if(!n.length)return;let t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){let l=e.cloneNode(),r=e[r$];r&&r.forEach(e=>{e.split(/\s+/).forEach(e=>e&&l.classList.remove(e))}),n.split(/\s+/).forEach(e=>e&&l.classList.add(e)),l.style.display="none";let i=1===t.nodeType?t:t.parentNode;i.appendChild(l);let{hasTransform:s}=rz(l);return i.removeChild(l),s}(n[0].el,r.vnode.el,t)){n=[];return}n.forEach(id),n.forEach(ih);let l=n.filter(iv);rY(),l.forEach(e=>{let n=e.el,l=n.style;rB(n,t),l.transform=l.webkitTransform=l.transitionDuration="";let r=n[ia]=e=>{(!e||e.target===n)&&(!e||/transform$/.test(e.propertyName))&&(n.removeEventListener("transitionend",r),n[ia]=null,rW(n,t))};n.addEventListener("transitionend",r)}),n=[]}),()=>{let s=tg(e),o=rV(s),u=s.tag||lX;if(n=[],l)for(let e=0;e<l.length;e++){let t=l[e];t.el&&t.el instanceof Element&&(n.push(t),nx(t,n_(t,o,i,r)),io.set(t,t.el.getBoundingClientRect()))}l=t.default?nS(t.default()):[];for(let e=0;e<l.length;e++){let t=l[e];null!=t.key&&nx(t,n_(t,o,i,r))}return rr(u,null,l)}}},delete r.props.mode,r);function id(e){let t=e.el;t[ia]&&t[ia](),t[ic]&&t[ic]()}function ih(e){iu.set(e,e.el.getBoundingClientRect())}function iv(e){let t=io.get(e),n=iu.get(e),l=t.left-n.left,r=t.top-n.top;if(l||r){let t=e.el.style;return t.transform=t.webkitTransform=`translate(${l}px,${r}px)`,t.transitionDuration="0s",e}}Symbol("_assign");let ig=["ctrl","shift","alt","meta"],im={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>ig.some(n=>e[`${n}Key`]&&!t.includes(n))},i_=(e,t)=>{let n=e._withMods||(e._withMods={}),l=t.join(".");return n[l]||(n[l]=(n,...l)=>{for(let e=0;e<t.length;e++){let l=im[t[e]];if(l&&l(n,t))return}return e(n,...l)})},iy={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ib=(e,t)=>{let n=e._withKeys||(e._withKeys={}),l=t.join(".");return n[l]||(n[l]=n=>{if(!("key"in n))return;let l=z(n.key);if(t.some(e=>e===l||iy[e]===l))return e(n)})},ix=k({patchProp:(e,t,n,l,r,i)=>{let s="svg"===r;if("class"===t){var o=l;let t=e[r$];t&&(o=(o?[o,...t]:[...t]).join(" ")),null==o?e.removeAttribute("class"):s?e.setAttribute("class",o):e.className=o}else"style"===t?function(e,t,n){let l=e.style,r=P(n),i=!1;if(n&&!r){if(t)if(P(t))for(let e of t.split(";")){let t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&r8(l,t,"")}else for(let e in t)null==n[e]&&r8(l,e,"");for(let e in n)"display"===e&&(i=!0),r8(l,e,n[e])}else if(r){if(t!==n){let e=l[r1];e&&(n+=";"+e),l.cssText=n,i=r2.test(n)}}else t&&e.removeAttribute("style");rX in e&&(e[rX]=i?l.display:"",e[rZ]&&(l.display="none"))}(e,n,l):w(t)?C(t)||function(e,t,n,l,r=null){let i=e[ie]||(e[ie]={}),s=i[t];if(l&&s)s.value=l;else{let[n,o]=function(e){let t;if(it.test(e)){let n;for(t={};n=e.match(it);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):z(e.slice(2)),t]}(t);if(l){let s=i[t]=function(e,t){let n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();tV(function(e,t){if(!O(t))return t;{let n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}}(e,n.value),t,5,[e])};return n.value=e,n.attached=ii(),n}(l,r);e.addEventListener(n,s,o)}else s&&(e.removeEventListener(n,s,o),i[t]=void 0)}}(e,t,0,l,i):("."===t[0]?(t=t.slice(1),0):"^"===t[0]?(t=t.slice(1),1):!function(e,t,n,l){if(l)return!!("innerHTML"===t||"textContent"===t||t in e&&is(t)&&j(n));if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t||"form"===t||"list"===t&&"INPUT"===e.tagName||"type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){let t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return!(is(t)&&P(n))&&t in e}(e,t,l,s))?e._isVueCE&&(/[A-Z]/.test(t)||!P(l))?r7(e,K(t),l,i,t):("true-value"===t?e._trueValue=l:"false-value"===t&&(e._falseValue=l),r9(e,t,l,s)):(r7(e,t,l),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||r9(e,t,l,s,i,"value"!==t))}},{insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,l)=>{let r="svg"===t?rM.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?rM.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?rM.createElement(e,{is:n}):rM.createElement(e);return"select"===e&&l&&null!=l.multiple&&r.setAttribute("multiple",l.multiple),r},createText:e=>rM.createTextNode(e),createComment:e=>rM.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>rM.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,l,r,i){let s=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{rL.innerHTML=rO("svg"===l?`<svg>${e}</svg>`:"mathml"===l?`<math>${e}</math>`:e);let r=rL.content;if("svg"===l||"mathml"===l){let e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}});function iS(){return h||(h=function(e,t){var n;let l,r;et().__VUE__=!0;let{insert:i,remove:s,patchProp:o,createElement:u,createText:a,createComment:f,setText:p,setElementText:d,parentNode:h,nextSibling:g,setScopeId:m=x,insertStaticContent:_}=e,S=(e,t,n,l=null,r=null,i=null,s,o=null,u=!!t.dynamicChildren)=>{if(e===t)return;e&&!re(e,t)&&(l=eo(e),en(e,r,i,!0),e=null),-2===t.patchFlag&&(u=!1,t.dynamicChildren=null);let{type:a,ref:f,shapeFlag:c}=t;switch(a){case lZ:w(e,t,n,l);break;case lQ:C(e,t,n,l);break;case l0:null==e&&E(t,n,l,s);break;case lX:U(e,t,n,l,r,i,s,o,u);break;default:1&c?L(e,t,n,l,r,i,s,o,u):6&c?W(e,t,n,l,r,i,s,o,u):(64&c||128&c)&&a.process(e,t,n,l,r,i,s,o,u,ef)}null!=f&&r&&nE(f,e&&e.ref,i,t||e,!t)},w=(e,t,n,l)=>{if(null==e)i(t.el=a(t.children),n,l);else{let n=t.el=e.el;t.children!==e.children&&p(n,t.children)}},C=(e,t,n,l)=>{null==e?i(t.el=f(t.children||""),n,l):t.el=e.el},E=(e,t,n,l)=>{[e.el,e.anchor]=_(e.children,t,n,l,e.el,e.anchor)},T=({el:e,anchor:t},n,l)=>{let r;for(;e&&e!==t;)r=g(e),i(e,n,l),e=r;i(t,n,l)},M=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=g(e),s(e),e=n;s(t)},L=(e,t,n,l,r,i,s,o,u)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?P(t,n,l,r,i,s,o,u):N(e,t,r,i,s,o,u)},P=(e,t,n,l,r,s,a,f)=>{var c,p;let h,g,{props:m,shapeFlag:_,transition:y,dirs:b}=e;if(h=e.el=u(e.type,s,m&&m.is,m),8&_?d(h,e.children):16&_&&D(e.children,h,null,l,r,lL(e,s),a,f),b&&t3(e,null,l,"created"),$(h,e,e.scopeId,a,l),m){for(let e in m)"value"===e||B(e)||o(h,e,null,m[e],s,l);"value"in m&&o(h,"value",null,m.value,s),(g=m.onVnodeBeforeMount)&&rp(g,l,e)}b&&t3(e,null,l,"beforeMount");let x=(c=r,p=y,(!c||c&&!c.pendingBranch)&&p&&!p.persisted);x&&y.beforeEnter(h),i(h,t,n),((g=m&&m.onVnodeMounted)||x||b)&&lM(()=>{g&&rp(g,l,e),x&&y.enter(h),b&&t3(e,null,l,"mounted")},r)},$=(e,t,n,l,r)=>{if(n&&m(e,n),l)for(let t=0;t<l.length;t++)m(e,l[t]);if(r){let n=r.subTree;if(t===n||lY(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=r.vnode;$(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},D=(e,t,n,l,r,i,s,o,u=0)=>{for(let a=u;a<e.length;a++)S(null,e[a]=o?ra(e[a]):ru(e[a]),t,n,l,r,i,s,o)},N=(e,t,n,l,r,i,s)=>{let u,a=t.el=e.el,{patchFlag:f,dynamicChildren:c,dirs:p}=t;f|=16&e.patchFlag;let h=e.props||y,g=t.props||y;if(n&&lj(n,!1),(u=g.onVnodeBeforeUpdate)&&rp(u,n,t,e),p&&t3(t,e,n,"beforeUpdate"),n&&lj(n,!0),(h.innerHTML&&null==g.innerHTML||h.textContent&&null==g.textContent)&&d(a,""),c?I(e.dynamicChildren,c,a,n,l,lL(t,r),i):s||Y(e,t,a,null,n,l,lL(t,r),i,!1),f>0){if(16&f)V(a,h,g,n,r);else if(2&f&&h.class!==g.class&&o(a,"class",null,g.class,r),4&f&&o(a,"style",h.style,g.style,r),8&f){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let l=e[t],i=h[l],s=g[l];(s!==i||"value"===l)&&o(a,l,i,s,r,n)}}1&f&&e.children!==t.children&&d(a,t.children)}else s||null!=c||V(a,h,g,n,r);((u=g.onVnodeUpdated)||p)&&lM(()=>{u&&rp(u,n,t,e),p&&t3(t,e,n,"updated")},l)},I=(e,t,n,l,r,i,s)=>{for(let o=0;o<t.length;o++){let u=e[o],a=t[o],f=u.el&&(u.type===lX||!re(u,a)||198&u.shapeFlag)?h(u.el):n;S(u,a,f,null,l,r,i,s,!0)}},V=(e,t,n,l,r)=>{if(t!==n){if(t!==y)for(let i in t)B(i)||i in n||o(e,i,t[i],null,r,l);for(let i in n){if(B(i))continue;let s=n[i],u=t[i];s!==u&&"value"!==i&&o(e,i,u,s,r,l)}"value"in n&&o(e,"value",t.value,n.value,r)}},U=(e,t,n,l,r,s,o,u,f)=>{let c=t.el=e?e.el:a(""),p=t.anchor=e?e.anchor:a(""),{patchFlag:d,dynamicChildren:h,slotScopeIds:g}=t;(g&&(u=u?u.concat(g):g),null==e)?(i(c,n,l),i(p,n,l),D(t.children||[],n,p,r,s,o,u,f)):d>0&&64&d&&h&&e.dynamicChildren?(I(e.dynamicChildren,h,n,r,s,o,u),(null!=t.key||r&&t===r.subTree)&&lP(e,t,!0)):Y(e,t,n,p,r,s,o,u,f)},W=(e,t,n,l,r,i,s,o,u)=>{t.slotScopeIds=o,null==e?512&t.shapeFlag?r.ctx.activate(t,n,l,s,u):H(t,n,l,r,i,s,u):q(e,t,u)},H=(e,t,n,l,r,i,s)=>{let o=e.component=function(e,t,n){let l=e.type,r=(t?t.appContext:e.appContext)||rd,i={uid:rh++,vnode:e,type:l,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ep(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:function e(t,n,l=!1){let r=l?lb:n.propsCache,i=r.get(t);if(i)return i;let s=t.props,o={},u=[],a=!1;if(!j(t)){let r=t=>{a=!0;let[l,r]=e(t,n,!0);k(o,l),r&&u.push(...r)};!l&&n.mixins.length&&n.mixins.forEach(r),t.extends&&r(t.extends),t.mixins&&t.mixins.forEach(r)}if(!s&&!a)return R(t)&&r.set(t,b),b;if(O(s))for(let e=0;e<s.length;e++){let t=K(s[e]);lx(t)&&(o[t]=y)}else if(s)for(let e in s){let t=K(e);if(lx(t)){let n=s[e],l=o[t]=O(n)||j(n)?{type:n}:k({},n),r=l.type,i=!1,a=!0;if(O(r))for(let e=0;e<r.length;++e){let t=r[e],n=j(t)&&t.name;if("Boolean"===n){i=!0;break}"String"===n&&(a=!1)}else i=j(r)&&"Boolean"===r.name;l[0]=i,l[1]=a,(i||A(l,"default"))&&u.push(t)}}let f=[o,u];return R(t)&&r.set(t,f),f}(l,r),emitsOptions:function e(t,n,l=!1){let r=n.emitsCache,i=r.get(t);if(void 0!==i)return i;let s=t.emits,o={},u=!1;if(!j(t)){let r=t=>{let l=e(t,n,!0);l&&(u=!0,k(o,l))};!l&&n.mixins.length&&n.mixins.forEach(r),t.extends&&r(t.extends),t.mixins&&t.mixins.forEach(r)}return s||u?(O(s)?s.forEach(e=>o[e]=null):k(o,s),R(t)&&r.set(t,o),o):(R(t)&&r.set(t,null),null)}(l,r),emit:null,emitted:null,propsDefaults:y,inheritAttrs:l.inheritAttrs,ctx:y,data:y,props:y,attrs:y,slots:y,refs:y,setupState:y,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=lH.bind(null,i),e.ce&&e.ce(i),i}(e,l,r);nL(e)&&(o.ctx.renderer=ef),!function(e,t=!1,n=!1){t&&c(t);let{props:l,children:r}=e.vnode,i=ry(e);!function(e,t,n,l=!1){let r={},i=lg();for(let n in e.propsDefaults=Object.create(null),l_(e,t,r,i),e.propsOptions[0])n in r||(r[n]=void 0);n?e.props=l?r:tu(r):e.type.props?e.props=r:e.props=i,e.attrs=i}(e,l,i,t),lA(e,r,n||t),i&&function(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,n4);let{setup:l}=n;if(l){eA();let n=e.setupContext=l.length>1?rC(e):null,r=rm(e),i=tI(l,e,0,[e.props,n]),s=F(i);if(eO(),r(),(s||e.sp)&&!nA(e)&&nC(e),s){if(i.then(r_,r_),t)return i.then(n=>{rx(e,n,t)}).catch(t=>{tU(t,e,0)});e.asyncDep=i}else rx(e,i,t)}else rS(e,t)}(e,t),t&&c(!1)}(o,!1,s),o.asyncDep?(r&&r.registerDep(o,G,s),e.el||C(null,o.subTree=rr(lQ),t,n)):G(o,e,t,n,r,i,s)},q=(e,t,n)=>{let l=t.component=e.component;if(function(e,t,n){let{props:l,children:r,component:i}=e,{props:s,children:o,patchFlag:u}=t,a=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!n||!(u>=0))return(!!r||!!o)&&(!o||!o.$stable)||l!==s&&(l?!s||lJ(l,s,a):!!s);if(1024&u)return!0;if(16&u)return l?lJ(l,s,a):!!s;if(8&u){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(s[n]!==l[n]&&!lK(a,n))return!0}}return!1}(e,t,n))if(l.asyncDep&&!l.asyncResolved)return void J(l,t,n);else l.next=t,l.update();else t.el=e.el,l.vnode=t},G=(e,t,n,l,i,s,o)=>{let u=()=>{if(e.isMounted){let t,{next:n,bu:l,u:r,parent:a,vnode:f}=e;{let t=function e(t){let n=t.subTree.component;if(n)if(n.asyncDep&&!n.asyncResolved)return n;else return e(n)}(e);if(t){n&&(n.el=f.el,J(e,n,o)),t.asyncDep.then(()=>{e.isUnmounted||u()});return}}let c=n;lj(e,!1),n?(n.el=f.el,J(e,n,o)):n=f,l&&X(l),(t=n.props&&n.props.onVnodeBeforeUpdate)&&rp(t,a,n,f),lj(e,!0);let p=lq(e),d=e.subTree;e.subTree=p,S(d,p,h(d.el),eo(d),e,i,s),n.el=p.el,null===c&&function({vnode:e,parent:t},n){for(;t;){let l=t.subTree;if(l.suspense&&l.suspense.activeBranch===e&&(l.el=e.el),l===e)(e=t.vnode).el=n,t=t.parent;else break}}(e,p.el),r&&lM(r,i),(t=n.props&&n.props.onVnodeUpdated)&&lM(()=>rp(t,a,n,f),i)}else{let o,{el:u,props:a}=t,{bm:f,m:c,parent:p,root:d,type:h}=e,g=nA(t);if(lj(e,!1),f&&X(f),!g&&(o=a&&a.onVnodeBeforeMount)&&rp(o,p,t),lj(e,!0),u&&r){let t=()=>{e.subTree=lq(e),r(u,e.subTree,e,i,null)};g&&h.__asyncHydrate?h.__asyncHydrate(u,e,t):t()}else{d.ce&&d.ce._injectChildStyle(h);let r=e.subTree=lq(e);S(null,r,n,l,e,i,s),t.el=r.el}if(c&&lM(c,i),!g&&(o=a&&a.onVnodeMounted)){let e=t;lM(()=>rp(o,p,e),i)}(256&t.shapeFlag||p&&nA(p.vnode)&&256&p.vnode.shapeFlag)&&e.a&&lM(e.a,i),e.isMounted=!0,t=n=l=null}};e.scope.on();let a=e.effect=new em(u);e.scope.off();let f=e.update=a.run.bind(a),c=e.job=a.runIfDirty.bind(a);c.i=e,c.id=e.uid,a.scheduler=()=>tY(c),lj(e,!0),f()},J=(e,t,n)=>{t.component=e;let l=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,l){let{props:r,attrs:i,vnode:{patchFlag:s}}=e,o=tg(r),[u]=e.propsOptions,a=!1;if((l||s>0)&&!(16&s)){if(8&s){let n=e.vnode.dynamicProps;for(let l=0;l<n.length;l++){let s=n[l];if(lK(e.emitsOptions,s))continue;let f=t[s];if(u)if(A(i,s))f!==i[s]&&(i[s]=f,a=!0);else{let t=K(s);r[t]=ly(u,o,t,f,e,!1)}else f!==i[s]&&(i[s]=f,a=!0)}}}else{let l;for(let s in l_(e,t,r,i)&&(a=!0),o)t&&(A(t,s)||(l=z(s))!==s&&A(t,l))||(u?n&&(void 0!==n[s]||void 0!==n[l])&&(r[s]=ly(u,o,s,void 0,e,!0)):delete r[s]);if(i!==o)for(let e in i)t&&A(t,e)||(delete i[e],a=!0)}a&&eI(e.attrs,"set","")}(e,t.props,l,n),lO(e,t.children,n),eA(),tZ(e),eO()},Y=(e,t,n,l,r,i,s,o,u=!1)=>{let a=e&&e.children,f=e?e.shapeFlag:0,c=t.children,{patchFlag:p,shapeFlag:h}=t;if(p>0){if(128&p)return void Q(a,c,n,l,r,i,s,o,u);else if(256&p)return void Z(a,c,n,l,r,i,s,o,u)}8&h?(16&f&&es(a,r,i),c!==a&&d(n,c)):16&f?16&h?Q(a,c,n,l,r,i,s,o,u):es(a,r,i,!0):(8&f&&d(n,""),16&h&&D(c,n,l,r,i,s,o,u))},Z=(e,t,n,l,r,i,s,o,u)=>{let a;e=e||b,t=t||b;let f=e.length,c=t.length,p=Math.min(f,c);for(a=0;a<p;a++){let l=t[a]=u?ra(t[a]):ru(t[a]);S(e[a],l,n,null,r,i,s,o,u)}f>c?es(e,r,i,!0,!1,p):D(t,n,l,r,i,s,o,u,p)},Q=(e,t,n,l,r,i,s,o,u)=>{let a=0,f=t.length,c=e.length-1,p=f-1;for(;a<=c&&a<=p;){let l=e[a],f=t[a]=u?ra(t[a]):ru(t[a]);if(re(l,f))S(l,f,n,null,r,i,s,o,u);else break;a++}for(;a<=c&&a<=p;){let l=e[c],a=t[p]=u?ra(t[p]):ru(t[p]);if(re(l,a))S(l,a,n,null,r,i,s,o,u);else break;c--,p--}if(a>c){if(a<=p){let e=p+1,c=e<f?t[e].el:l;for(;a<=p;)S(null,t[a]=u?ra(t[a]):ru(t[a]),n,c,r,i,s,o,u),a++}}else if(a>p)for(;a<=c;)en(e[a],r,i,!0),a++;else{let d,h=a,g=a,m=new Map;for(a=g;a<=p;a++){let e=t[a]=u?ra(t[a]):ru(t[a]);null!=e.key&&m.set(e.key,a)}let _=0,y=p-g+1,x=!1,w=0,C=Array(y);for(a=0;a<y;a++)C[a]=0;for(a=h;a<=c;a++){let l,f=e[a];if(_>=y){en(f,r,i,!0);continue}if(null!=f.key)l=m.get(f.key);else for(d=g;d<=p;d++)if(0===C[d-g]&&re(f,t[d])){l=d;break}void 0===l?en(f,r,i,!0):(C[l-g]=a+1,l>=w?w=l:x=!0,S(f,t[l],n,null,r,i,s,o,u),_++)}let k=x?function(e){let t,n,l,r,i,s=e.slice(),o=[0],u=e.length;for(t=0;t<u;t++){let u=e[t];if(0!==u){if(e[n=o[o.length-1]]<u){s[t]=n,o.push(t);continue}for(l=0,r=o.length-1;l<r;)e[o[i=l+r>>1]]<u?l=i+1:r=i;u<e[o[l]]&&(l>0&&(s[t]=o[l-1]),o[l]=t)}}for(l=o.length,r=o[l-1];l-- >0;)o[l]=r,r=s[r];return o}(C):b;for(d=k.length-1,a=y-1;a>=0;a--){let e=g+a,c=t[e],p=e+1<f?t[e+1].el:l;0===C[a]?S(null,c,n,p,r,i,s,o,u):x&&(d<0||a!==k[d]?ee(c,n,p,2):d--)}}},ee=(e,t,n,l,r=null)=>{let{el:o,type:u,transition:a,children:f,shapeFlag:c}=e;if(6&c)return void ee(e.component.subTree,t,n,l);if(128&c)return void e.suspense.move(t,n,l);if(64&c)return void u.move(e,t,n,ef);if(u===lX){i(o,t,n);for(let e=0;e<f.length;e++)ee(f[e],t,n,l);i(e.anchor,t,n);return}if(u===l0)return void T(e,t,n);if(2!==l&&1&c&&a)if(0===l)a.beforeEnter(o),i(o,t,n),lM(()=>a.enter(o),r);else{let{leave:l,delayLeave:r,afterLeave:u}=a,f=()=>{e.ctx.isUnmounted?s(o):i(o,t,n)},c=()=>{l(o,()=>{f(),u&&u()})};r?r(o,f,c):c()}else i(o,t,n)},en=(e,t,n,l=!1,r=!1)=>{let i,{type:s,props:o,ref:u,children:a,dynamicChildren:f,shapeFlag:c,patchFlag:p,dirs:d,cacheIndex:h}=e;if(-2===p&&(r=!1),null!=u&&(eA(),nE(u,null,n,e,!0),eO()),null!=h&&(t.renderCache[h]=void 0),256&c)return void t.ctx.deactivate(e);let g=1&c&&d,m=!nA(e);if(m&&(i=o&&o.onVnodeBeforeUnmount)&&rp(i,t,e),6&c)ei(e.component,n,l);else{if(128&c)return void e.suspense.unmount(n,l);g&&t3(e,null,t,"beforeUnmount"),64&c?e.type.remove(e,t,n,ef,l):f&&!f.hasOnce&&(s!==lX||p>0&&64&p)?es(f,t,n,!1,!0):(s===lX&&384&p||!r&&16&c)&&es(a,t,n),l&&el(e)}(m&&(i=o&&o.onVnodeUnmounted)||g)&&lM(()=>{i&&rp(i,t,e),g&&t3(e,null,t,"unmounted")},n)},el=e=>{let{type:t,el:n,anchor:l,transition:r}=e;if(t===lX)return void er(n,l);if(t===l0)return void M(e);let i=()=>{s(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){let{leave:t,delayLeave:l}=r,s=()=>t(n,i);l?l(e.el,i,s):s()}else i()},er=(e,t)=>{let n;for(;e!==t;)n=g(e),s(e),e=n;s(t)},ei=(e,t,n)=>{let{bum:l,scope:r,job:i,subTree:s,um:o,m:u,a,parent:f,slots:{__:c}}=e;l$(u),l$(a),l&&X(l),f&&O(c)&&c.forEach(e=>{f.renderCache[e]=void 0}),r.stop(),i&&(i.flags|=8,en(s,e,t,n)),o&&lM(o,t),lM(()=>{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},es=(e,t,n,l=!1,r=!1,i=0)=>{for(let s=i;s<e.length;s++)en(e[s],t,n,l,r)},eo=e=>{if(6&e.shapeFlag)return eo(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();let t=g(e.anchor||e.el),n=t&&t[t5];return n?g(n):t},eu=!1,ea=(e,t,n)=>{null==e?t._vnode&&en(t._vnode,null,null,!0):S(t._vnode||null,e,t,null,null,null,n),t._vnode=e,eu||(eu=!0,tZ(),tQ(),eu=!1)},ef={p:S,um:en,m:ee,r:el,mt:H,mc:D,pc:Y,pbc:I,n:eo,o:e};return{render:ea,hydrate:l,createApp:(n=l,function(e,t=null){j(e)||(e=k({},e)),null==t||R(t)||(t=null);let l=la(),r=new WeakSet,i=[],s=!1,o=l.app={_uid:lf++,_component:e,_props:t,_container:null,_context:l,_instance:null,version:"3.5.15",get config(){return l.config},set config(v){},use:(e,...t)=>(r.has(e)||(e&&j(e.install)?(r.add(e),e.install(o,...t)):j(e)&&(r.add(e),e(o,...t))),o),mixin:e=>(l.mixins.includes(e)||l.mixins.push(e),o),component:(e,t)=>t?(l.components[e]=t,o):l.components[e],directive:(e,t)=>t?(l.directives[e]=t,o):l.directives[e],mount(r,i,u){if(s);else{let a=o._ceVNode||rr(e,t);return a.appContext=l,!0===u?u="svg":!1===u&&(u=void 0),i&&n?n(a,r):ea(a,r,u),s=!0,o._container=r,r.__vue_app__=o,rk(a.component)}},onUnmount(e){i.push(e)},unmount(){s&&(tV(i,o._instance,16),ea(null,o._container),delete o._container.__vue_app__)},provide:(e,t)=>(l.provides[e]=t,o),runWithContext(e){let t=lc;lc=o;try{return e()}finally{lc=t}}};return o})}}(ix))}let iw=(...e)=>{iS().render(...e)},iC=(...e)=>{let t=iS().createApp(...e),{mount:n}=t;return t.mount=e=>{var l,r;let i=P(l=e)?document.querySelector(l):l;if(!i)return;let s=t._component;j(s)||s.render||s.template||(s.template=i.innerHTML),1===i.nodeType&&(i.textContent="");let o=n(i,!1,(r=i)instanceof SVGElement?"svg":"function"==typeof MathMLElement&&r instanceof MathMLElement?"mathml":void 0);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t}}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/lib-vue.5932397a.js b/core/public/dist/static/js/lib-vue.5932397a.js
new file mode 100644
index 00000000..e9837da9
--- /dev/null
+++ b/core/public/dist/static/js/lib-vue.5932397a.js
@@ -0,0 +1,2 @@
+/*! For license information please see lib-vue.5932397a.js.LICENSE.txt */
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["5139"],{41748:function(e,t){t.default=(e,t)=>{let n=e.__vccOpts||e;for(let[e,l]of t)n[e]=l;return n}},58786:function(e,t,n){var l,r;let i,s,o,u,a,f,c,p,d,h,g,m;function _(e){let t=Object.create(null);for(let n of e.split(","))t[n]=1;return e=>e in t}n.d(t,{D2:()=>ix,Wm:()=>rr,LL:()=>nY,SU:()=>tk,uE:()=>ro,wF:()=>nD,se:()=>nP,wg:()=>l6,BK:()=>tM,Ho:()=>ri,HY:()=>lX,PG:()=>tp,Xl:()=>tm,uT:()=>rN,AE:()=>nk,Nv:()=>n0,W3:()=>id,Ko:()=>nQ,nZ:()=>eh,WI:()=>n1,Tn:()=>tE,_:()=>rl,SK:()=>nB,OT:()=>ta,lR:()=>ns,Um:()=>tu,Vh:()=>tP,FN:()=>rm,IU:()=>tg,dG:()=>rp,j4:()=>l9,kq:()=>ru,iD:()=>l5,F8:()=>r0,m0:()=>lD,w5:()=>t8,bv:()=>nN,dl:()=>nj,iH:()=>tx,zw:()=>ea,aZ:()=>nw,xv:()=>lZ,h:()=>rA,Fl:()=>rT,Rr:()=>n3,XI:()=>tS,Xn:()=>nI,YS:()=>tf,sv:()=>lQ,f3:()=>ld,B:()=>ed,lA:()=>l7,j5:()=>en,qj:()=>to,EM:()=>lh,Uk:()=>rs,RC:()=>nO,Vf:()=>n9,ri:()=>ik,EB:()=>ev,JJ:()=>lp,sY:()=>iC,up:()=>nG,tT:()=>lB,Jd:()=>nU,dq:()=>tb,YP:()=>lN,iM:()=>iy,C_:()=>es,Y3:()=>tJ,wy:()=>t4});let y={},b=[],x=()=>{},S=()=>!1,w=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||97>e.charCodeAt(2)),C=e=>e.startsWith("onUpdate:"),k=Object.assign,E=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},T=Object.prototype.hasOwnProperty,A=(e,t)=>T.call(e,t),O=Array.isArray,M=e=>"[object Map]"===N(e),L=e=>"[object Set]"===N(e),j=e=>"function"==typeof e,P=e=>"string"==typeof e,$=e=>"symbol"==typeof e,R=e=>null!==e&&"object"==typeof e,F=e=>(R(e)||j(e))&&j(e.then)&&j(e.catch),D=Object.prototype.toString,N=e=>D.call(e),I=e=>N(e).slice(8,-1),V=e=>"[object Object]"===N(e),U=e=>P(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,B=_(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),W=e=>{let t=Object.create(null);return n=>t[n]||(t[n]=e(n))},H=/-(\w)/g,K=W(e=>e.replace(H,(e,t)=>t?t.toUpperCase():"")),q=/\B([A-Z])/g,z=W(e=>e.replace(q,"-$1").toLowerCase()),G=W(e=>e.charAt(0).toUpperCase()+e.slice(1)),J=W(e=>e?`on${G(e)}`:""),Y=(e,t)=>!Object.is(e,t),X=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Z=(e,t,n,l=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:l,value:n})},Q=e=>{let t=parseFloat(e);return isNaN(t)?e:t},ee=e=>{let t=P(e)?Number(e):NaN;return isNaN(t)?e:t},et=()=>i||(i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{});function en(e){if(O(e)){let t={};for(let n=0;n<e.length;n++){let l=e[n],r=P(l)?function(e){let t={};return e.replace(ei,"").split(el).forEach(e=>{if(e){let n=e.split(er);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}(l):en(l);if(r)for(let e in r)t[e]=r[e]}return t}if(P(e)||R(e))return e}let el=/;(?![^(]*\))/g,er=/:([^]+)/,ei=/\/\*[^]*?\*\//g;function es(e){let t="";if(P(e))t=e;else if(O(e))for(let n=0;n<e.length;n++){let l=es(e[n]);l&&(t+=l+" ")}else if(R(e))for(let n in e)e[n]&&(t+=n+" ");return t.trim()}let eo=_("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly"),eu=e=>!!(e&&!0===e.__v_isRef),ea=e=>P(e)?e:null==e?"":O(e)||R(e)&&(e.toString===D||!j(e.toString))?eu(e)?ea(e.value):JSON.stringify(e,ef,2):String(e),ef=(e,t)=>{if(eu(t))return ef(e,t.value);if(M(t))return{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],l)=>(e[ec(t,l)+" =>"]=n,e),{})};if(L(t))return{[`Set(${t.size})`]:[...t.values()].map(e=>ec(e))};if($(t))return ec(t);if(R(t)&&!O(t)&&!V(t))return String(t);return t},ec=(e,t="")=>{var n;return $(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};class ep{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=s,!e&&s&&(this.index=(s.scopes||(s.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){let t=s;try{return s=this,e()}finally{s=t}}}on(){1==++this._on&&(this.prevScope=s,s=this)}off(){this._on>0&&0==--this._on&&(s=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){let t,n;for(t=0,this._active=!1,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,this.effects.length=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}}function ed(e){return new ep(e)}function eh(){return s}function ev(e,t=!1){s&&s.cleanups.push(e)}let eg=new WeakSet;class em{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,s&&s.active&&s.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,eg.has(this)&&(eg.delete(this),this.trigger()))}notify(){(!(2&this.flags)||32&this.flags)&&(8&this.flags||ey(this))}run(){if(!(1&this.flags))return this.fn();this.flags|=2,eM(this),ex(this);let e=o,t=eE;o=this,eE=!0;try{return this.fn()}finally{eS(this),o=e,eE=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)ek(e);this.deps=this.depsTail=void 0,eM(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?eg.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ew(this)&&this.run()}get dirty(){return ew(this)}}let e_=0;function ey(e,t=!1){if(e.flags|=8,t){e.next=a,a=e;return}e.next=u,u=e}function eb(){let e;if(!(--e_>0)){if(a){let e=a;for(a=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}for(;u;){let t=u;for(u=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=n}}if(e)throw e}}function ex(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function eS(e){let t,n=e.depsTail,l=n;for(;l;){let e=l.prevDep;-1===l.version?(l===n&&(n=e),ek(l),function(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}(l)):t=l,l.dep.activeLink=l.prevActiveLink,l.prevActiveLink=void 0,l=e}e.deps=t,e.depsTail=n}function ew(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(eC(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function eC(e){if(4&e.flags&&!(16&e.flags)||(e.flags&=-17,e.globalVersion===eL)||(e.globalVersion=eL,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!ew(e))))return;e.flags|=2;let t=e.dep,n=o,l=eE;o=e,eE=!0;try{ex(e);let n=e.fn(e._value);(0===t.version||Y(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{o=n,eE=l,eS(e),e.flags&=-3}}function ek(e,t=!1){let{dep:n,prevSub:l,nextSub:r}=e;if(l&&(l.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=l,e.nextSub=void 0),n.subs===e&&(n.subs=l,!l&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)ek(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}let eE=!0,eT=[];function eA(){eT.push(eE),eE=!1}function eO(){let e=eT.pop();eE=void 0===e||e}function eM(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=o;o=void 0;try{t()}finally{o=e}}}let eL=0;class ej{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class eP{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!o||!eE||o===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==o)t=this.activeLink=new ej(o,this),o.deps?(t.prevDep=o.depsTail,o.depsTail.nextDep=t,o.depsTail=t):o.deps=o.depsTail=t,function e(t){if(t.dep.sc++,4&t.sub.flags){let n=t.dep.computed;if(n&&!t.dep.subs){n.flags|=20;for(let t=n.deps;t;t=t.nextDep)e(t)}let l=t.dep.subs;l!==t&&(t.prevSub=l,l&&(l.nextSub=t)),t.dep.subs=t}}(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=o.depsTail,t.nextDep=void 0,o.depsTail.nextDep=t,o.depsTail=t,o.deps===t&&(o.deps=e)}return t}trigger(e){this.version++,eL++,this.notify(e)}notify(e){e_++;try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{eb()}}}let e$=new WeakMap,eR=Symbol(""),eF=Symbol(""),eD=Symbol("");function eN(e,t,n){if(eE&&o){let t=e$.get(e);t||e$.set(e,t=new Map);let l=t.get(n);l||(t.set(n,l=new eP),l.map=t,l.key=n),l.track()}}function eI(e,t,n,l,r,i){let s=e$.get(e);if(!s)return void eL++;let o=e=>{e&&e.trigger()};if(e_++,"clear"===t)s.forEach(o);else{let r=O(e),i=r&&U(n);if(r&&"length"===n){let e=Number(l);s.forEach((t,n)=>{("length"===n||n===eD||!$(n)&&n>=e)&&o(t)})}else switch((void 0!==n||s.has(void 0))&&o(s.get(n)),i&&o(s.get(eD)),t){case"add":r?i&&o(s.get("length")):(o(s.get(eR)),M(e)&&o(s.get(eF)));break;case"delete":!r&&(o(s.get(eR)),M(e)&&o(s.get(eF)));break;case"set":M(e)&&o(s.get(eR))}}eb()}function eV(e){let t=tg(e);return t===e?t:(eN(t,"iterate",eD),th(e)?t:t.map(t_))}function eU(e){return eN(e=tg(e),"iterate",eD),e}let eB={__proto__:null,[Symbol.iterator](){return eW(this,Symbol.iterator,t_)},concat(...e){return eV(this).concat(...e.map(e=>O(e)?eV(e):e))},entries(){return eW(this,"entries",e=>(e[1]=t_(e[1]),e))},every(e,t){return eK(this,"every",e,t,void 0,arguments)},filter(e,t){return eK(this,"filter",e,t,e=>e.map(t_),arguments)},find(e,t){return eK(this,"find",e,t,t_,arguments)},findIndex(e,t){return eK(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return eK(this,"findLast",e,t,t_,arguments)},findLastIndex(e,t){return eK(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return eK(this,"forEach",e,t,void 0,arguments)},includes(...e){return ez(this,"includes",e)},indexOf(...e){return ez(this,"indexOf",e)},join(e){return eV(this).join(e)},lastIndexOf(...e){return ez(this,"lastIndexOf",e)},map(e,t){return eK(this,"map",e,t,void 0,arguments)},pop(){return eG(this,"pop")},push(...e){return eG(this,"push",e)},reduce(e,...t){return eq(this,"reduce",e,t)},reduceRight(e,...t){return eq(this,"reduceRight",e,t)},shift(){return eG(this,"shift")},some(e,t){return eK(this,"some",e,t,void 0,arguments)},splice(...e){return eG(this,"splice",e)},toReversed(){return eV(this).toReversed()},toSorted(e){return eV(this).toSorted(e)},toSpliced(...e){return eV(this).toSpliced(...e)},unshift(...e){return eG(this,"unshift",e)},values(){return eW(this,"values",t_)}};function eW(e,t,n){let l=eU(e),r=l[t]();return l===e||th(e)||(r._next=r.next,r.next=()=>{let e=r._next();return e.value&&(e.value=n(e.value)),e}),r}let eH=Array.prototype;function eK(e,t,n,l,r,i){let s=eU(e),o=s!==e&&!th(e),u=s[t];if(u!==eH[t]){let t=u.apply(e,i);return o?t_(t):t}let a=n;s!==e&&(o?a=function(t,l){return n.call(this,t_(t),l,e)}:n.length>2&&(a=function(t,l){return n.call(this,t,l,e)}));let f=u.call(s,a,l);return o&&r?r(f):f}function eq(e,t,n,l){let r=eU(e),i=n;return r!==e&&(th(e)?n.length>3&&(i=function(t,l,r){return n.call(this,t,l,r,e)}):i=function(t,l,r){return n.call(this,t,t_(l),r,e)}),r[t](i,...l)}function ez(e,t,n){let l=tg(e);eN(l,"iterate",eD);let r=l[t](...n);return(-1===r||!1===r)&&tv(n[0])?(n[0]=tg(n[0]),l[t](...n)):r}function eG(e,t,n=[]){eA(),e_++;let l=tg(e)[t].apply(e,n);return eb(),eO(),l}let eJ=_("__proto__,__v_isRef,__isVue"),eY=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter($));function eX(e){$(e)||(e=String(e));let t=tg(this);return eN(t,"has",e),t.hasOwnProperty(e)}class eZ{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;let l=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!l;if("__v_isReadonly"===t)return l;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(l?r?ts:ti:r?tr:tl).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let i=O(e);if(!l){let e;if(i&&(e=eB[t]))return e;if("hasOwnProperty"===t)return eX}let s=Reflect.get(e,t,tb(e)?e:n);return($(t)?eY.has(t):eJ(t))||(l||eN(e,"get",t),r)?s:tb(s)?i&&U(t)?s:s.value:R(s)?l?ta(s):to(s):s}}class eQ extends eZ{constructor(e=!1){super(!1,e)}set(e,t,n,l){let r=e[t];if(!this._isShallow){let t=td(r);if(th(n)||td(n)||(r=tg(r),n=tg(n)),!O(e)&&tb(r)&&!tb(n))if(t)return!1;else return r.value=n,!0}let i=O(e)&&U(t)?Number(t)<e.length:A(e,t),s=Reflect.set(e,t,n,tb(e)?e:l);return e===tg(l)&&(i?Y(n,r)&&eI(e,"set",t,n,r):eI(e,"add",t,n)),s}deleteProperty(e,t){let n=A(e,t),l=e[t],r=Reflect.deleteProperty(e,t);return r&&n&&eI(e,"delete",t,void 0,l),r}has(e,t){let n=Reflect.has(e,t);return $(t)&&eY.has(t)||eN(e,"has",t),n}ownKeys(e){return eN(e,"iterate",O(e)?"length":eR),Reflect.ownKeys(e)}}class e0 extends eZ{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}let e1=new eQ,e2=new e0,e6=new eQ(!0),e8=new e0(!0),e4=e=>e,e3=e=>Reflect.getPrototypeOf(e);function e5(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function e9(e,t){let n=function(e,t){let n={get(n){let l=this.__v_raw,r=tg(l),i=tg(n);e||(Y(n,i)&&eN(r,"get",n),eN(r,"get",i));let{has:s}=e3(r),o=t?e4:e?ty:t_;return s.call(r,n)?o(l.get(n)):s.call(r,i)?o(l.get(i)):void(l!==r&&l.get(n))},get size(){let t=this.__v_raw;return e||eN(tg(t),"iterate",eR),Reflect.get(t,"size",t)},has(t){let n=this.__v_raw,l=tg(n),r=tg(t);return e||(Y(t,r)&&eN(l,"has",t),eN(l,"has",r)),t===r?n.has(t):n.has(t)||n.has(r)},forEach(n,l){let r=this,i=r.__v_raw,s=tg(i),o=t?e4:e?ty:t_;return e||eN(s,"iterate",eR),i.forEach((e,t)=>n.call(l,o(e),o(t),r))}};return k(n,e?{add:e5("add"),set:e5("set"),delete:e5("delete"),clear:e5("clear")}:{add(e){t||th(e)||td(e)||(e=tg(e));let n=tg(this);return e3(n).has.call(n,e)||(n.add(e),eI(n,"add",e,e)),this},set(e,n){t||th(n)||td(n)||(n=tg(n));let l=tg(this),{has:r,get:i}=e3(l),s=r.call(l,e);s||(e=tg(e),s=r.call(l,e));let o=i.call(l,e);return l.set(e,n),s?Y(n,o)&&eI(l,"set",e,n,o):eI(l,"add",e,n),this},delete(e){let t=tg(this),{has:n,get:l}=e3(t),r=n.call(t,e);r||(e=tg(e),r=n.call(t,e));let i=l?l.call(t,e):void 0,s=t.delete(e);return r&&eI(t,"delete",e,void 0,i),s},clear(){let e=tg(this),t=0!==e.size,n=e.clear();return t&&eI(e,"clear",void 0,void 0,void 0),n}}),["keys","values","entries",Symbol.iterator].forEach(l=>{n[l]=function(...n){let r=this.__v_raw,i=tg(r),s=M(i),o="entries"===l||l===Symbol.iterator&&s,u=r[l](...n),a=t?e4:e?ty:t_;return e||eN(i,"iterate","keys"===l&&s?eF:eR),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:o?[a(e[0]),a(e[1])]:a(e),done:t}},[Symbol.iterator](){return this}}}}),n}(e,t);return(t,l,r)=>"__v_isReactive"===l?!e:"__v_isReadonly"===l?e:"__v_raw"===l?t:Reflect.get(A(n,l)&&l in t?n:t,l,r)}let e7={get:e9(!1,!1)},te={get:e9(!1,!0)},tt={get:e9(!0,!1)},tn={get:e9(!0,!0)},tl=new WeakMap,tr=new WeakMap,ti=new WeakMap,ts=new WeakMap;function to(e){return td(e)?e:tc(e,!1,e1,e7,tl)}function tu(e){return tc(e,!1,e6,te,tr)}function ta(e){return tc(e,!0,e2,tt,ti)}function tf(e){return tc(e,!0,e8,tn,ts)}function tc(e,t,n,l,r){if(!R(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;let i=e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(I(e));if(0===i)return e;let s=r.get(e);if(s)return s;let o=new Proxy(e,2===i?l:n);return r.set(e,o),o}function tp(e){return td(e)?tp(e.__v_raw):!!(e&&e.__v_isReactive)}function td(e){return!!(e&&e.__v_isReadonly)}function th(e){return!!(e&&e.__v_isShallow)}function tv(e){return!!e&&!!e.__v_raw}function tg(e){let t=e&&e.__v_raw;return t?tg(t):e}function tm(e){return!A(e,"__v_skip")&&Object.isExtensible(e)&&Z(e,"__v_skip",!0),e}let t_=e=>R(e)?to(e):e,ty=e=>R(e)?ta(e):e;function tb(e){return!!e&&!0===e.__v_isRef}function tx(e){return tw(e,!1)}function tS(e){return tw(e,!0)}function tw(e,t){return tb(e)?e:new tC(e,t)}class tC{constructor(e,t){this.dep=new eP,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:tg(e),this._value=t?e:t_(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||th(e)||td(e);Y(e=n?e:tg(e),t)&&(this._rawValue=e,this._value=n?e:t_(e),this.dep.trigger())}}function tk(e){return tb(e)?e.value:e}function tE(e){return j(e)?e():tk(e)}let tT={get:(e,t,n)=>"__v_raw"===t?e:tk(Reflect.get(e,t,n)),set:(e,t,n,l)=>{let r=e[t];return tb(r)&&!tb(n)?(r.value=n,!0):Reflect.set(e,t,n,l)}};function tA(e){return tp(e)?e:new Proxy(e,tT)}class tO{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new eP,{get:n,set:l}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=l}get value(){return this._value=this._get()}set value(e){this._set(e)}}function tM(e){let t=O(e)?Array(e.length):{};for(let n in e)t[n]=t$(e,n);return t}class tL{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){let e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){let n=e$.get(e);return n&&n.get(t)}(tg(this._object),this._key)}}class tj{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function tP(e,t,n){return tb(e)?e:j(e)?new tj(e):R(e)&&arguments.length>1?t$(e,t,n):tx(e)}function t$(e,t,n){let l=e[t];return tb(l)?l:new tL(e,t,n)}class tR{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new eP(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=eL-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags)&&o!==this)return ey(this,!0),!0}get value(){let e=this.dep.track();return eC(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}let tF={},tD=new WeakMap;function tN(e,t=1/0,n){if(t<=0||!R(e)||e.__v_skip||(n=n||new Set).has(e))return e;if(n.add(e),t--,tb(e))tN(e.value,t,n);else if(O(e))for(let l=0;l<e.length;l++)tN(e[l],t,n);else if(L(e)||M(e))e.forEach(e=>{tN(e,t,n)});else if(V(e)){for(let l in e)tN(e[l],t,n);for(let l of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,l)&&tN(e[l],t,n)}return e}function tI(e,t,n,l){try{return l?e(...l):e()}catch(e){tU(e,t,n)}}function tV(e,t,n,l){if(j(e)){let r=tI(e,t,n,l);return r&&F(r)&&r.catch(e=>{tU(e,t,n)}),r}if(O(e)){let r=[];for(let i=0;i<e.length;i++)r.push(tV(e[i],t,n,l));return r}}function tU(e,t,n,l=!0){let r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||y;if(t){let l=t.parent,r=t.proxy,s=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){let t=l.ec;if(t){for(let n=0;n<t.length;n++)if(!1===t[n](e,r,s))return}l=l.parent}if(i){eA(),tI(i,null,10,[e,r,s]),eO();return}}!function(e,t,n,l=!0,r=!1){if(r)throw e;console.error(e)}(e,0,0,l,s)}let tB=[],tW=-1,tH=[],tK=null,tq=0,tz=Promise.resolve(),tG=null;function tJ(e){let t=tG||tz;return e?t.then(this?e.bind(this):e):t}function tY(e){if(!(1&e.flags)){let t=t0(e),n=tB[tB.length-1];!n||!(2&e.flags)&&t>=t0(n)?tB.push(e):tB.splice(function(e){let t=tW+1,n=tB.length;for(;t<n;){let l=t+n>>>1,r=tB[l],i=t0(r);i<e||i===e&&2&r.flags?t=l+1:n=l}return t}(t),0,e),e.flags|=1,tX()}}function tX(){tG||(tG=tz.then(function e(t){try{for(tW=0;tW<tB.length;tW++){let e=tB[tW];e&&!(8&e.flags)&&(4&e.flags&&(e.flags&=-2),tI(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;tW<tB.length;tW++){let e=tB[tW];e&&(e.flags&=-2)}tW=-1,tB.length=0,tQ(t),tG=null,(tB.length||tH.length)&&e(t)}}))}function tZ(e,t,n=tW+1){for(;n<tB.length;n++){let t=tB[n];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue;tB.splice(n,1),n--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}function tQ(e){if(tH.length){let e=[...new Set(tH)].sort((e,t)=>t0(e)-t0(t));if(tH.length=0,tK)return void tK.push(...e);for(tq=0,tK=e;tq<tK.length;tq++){let e=tK[tq];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}tK=null,tq=0}}let t0=e=>null==e.id?2&e.flags?-1:1/0:e.id,t1=null,t2=null;function t6(e){let t=t1;return t1=e,t2=e&&e.type.__scopeId||null,t}function t8(e,t=t1,n){if(!t||e._n)return e;let l=(...n)=>{let r;l._d&&l4(-1);let i=t6(t);try{r=e(...n)}finally{t6(i),l._d&&l4(1)}return r};return l._n=!0,l._c=!0,l._d=!0,l}function t4(e,t){if(null===t1)return e;let n=rE(t1),l=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[r,i,s,o=y]=t[e];r&&(j(r)&&(r={mounted:r,updated:r}),r.deep&&tN(i),l.push({dir:r,instance:n,value:i,oldValue:void 0,arg:s,modifiers:o}))}return e}function t3(e,t,n,l){let r=e.dirs,i=t&&t.dirs;for(let s=0;s<r.length;s++){let o=r[s];i&&(o.oldValue=i[s].value);let u=o.dir[l];u&&(eA(),tV(u,n,8,[e.el,o,e,t]),eO())}}let t5=Symbol("_vte"),t9=e=>e.__isTeleport,t7=e=>e&&(e.disabled||""===e.disabled),ne=e=>e&&(e.defer||""===e.defer),nt=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,nn=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,nl=(e,t)=>{let n=e&&e.to;return P(n)?t?t(n):null:n},nr={name:"Teleport",__isTeleport:!0,process(e,t,n,l,r,i,s,o,u,a){let{mc:f,pc:c,pbc:p,o:{insert:d,querySelector:h,createText:g,createComment:m}}=a,_=t7(t.props),{shapeFlag:y,children:b,dynamicChildren:x}=t;if(null==e){let e=t.el=g(""),a=t.anchor=g("");d(e,n,l),d(a,n,l);let c=(e,t)=>{16&y&&(r&&r.isCE&&(r.ce._teleportTarget=e),f(b,e,t,r,i,s,o,u))},p=()=>{let e=t.target=nl(t.props,h),n=nu(e,t,g,d);e&&("svg"!==s&&nt(e)?s="svg":"mathml"!==s&&nn(e)&&(s="mathml"),_||(c(e,n),no(t,!1)))};_&&(c(n,a),no(t,!0)),ne(t.props)?(t.el.__isMounted=!1,lM(()=>{p(),delete t.el.__isMounted},i)):p()}else{if(ne(t.props)&&!1===e.el.__isMounted)return void lM(()=>{nr.process(e,t,n,l,r,i,s,o,u,a)},i);t.el=e.el,t.targetStart=e.targetStart;let f=t.anchor=e.anchor,d=t.target=e.target,g=t.targetAnchor=e.targetAnchor,m=t7(e.props),y=m?n:d,b=m?f:g;if("svg"===s||nt(d)?s="svg":("mathml"===s||nn(d))&&(s="mathml"),x?(p(e.dynamicChildren,x,y,r,i,s,o),lP(e,t,!0)):u||c(e,t,y,b,r,i,s,o,!1),_)m?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ni(t,n,f,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=t.target=nl(t.props,h);e&&ni(t,e,null,a,0)}else m&&ni(t,d,g,a,1);no(t,_)}},remove(e,t,n,{um:l,o:{remove:r}},i){let{shapeFlag:s,children:o,anchor:u,targetStart:a,targetAnchor:f,target:c,props:p}=e;if(c&&(r(a),r(f)),i&&r(u),16&s){let e=i||!t7(p);for(let r=0;r<o.length;r++){let i=o[r];l(i,t,n,e,!!i.dynamicChildren)}}},move:ni,hydrate:function(e,t,n,l,r,i,{o:{nextSibling:s,parentNode:o,querySelector:u,insert:a,createText:f}},c){let p=t.target=nl(t.props,u);if(p){let u=t7(t.props),d=p._lpa||p.firstChild;if(16&t.shapeFlag)if(u)t.anchor=c(s(e),t,o(e),n,l,r,i),t.targetStart=d,t.targetAnchor=d&&s(d);else{t.anchor=s(e);let o=d;for(;o;){if(o&&8===o.nodeType){if("teleport start anchor"===o.data)t.targetStart=o;else if("teleport anchor"===o.data){t.targetAnchor=o,p._lpa=t.targetAnchor&&s(t.targetAnchor);break}}o=s(o)}t.targetAnchor||nu(p,t,f,a),c(d&&s(d),t,p,n,l,r,i)}no(t,u)}return t.anchor&&s(t.anchor)}};function ni(e,t,n,{o:{insert:l},m:r},i=2){0===i&&l(e.targetAnchor,t,n);let{el:s,anchor:o,shapeFlag:u,children:a,props:f}=e,c=2===i;if(c&&l(s,t,n),(!c||t7(f))&&16&u)for(let e=0;e<a.length;e++)r(a[e],t,n,2);c&&l(o,t,n)}let ns=nr;function no(e,t){let n=e.ctx;if(n&&n.ut){let l,r;for(t?(l=e.el,r=e.anchor):(l=e.targetStart,r=e.targetAnchor);l&&l!==r;)1===l.nodeType&&l.setAttribute("data-v-owner",n.uid),l=l.nextSibling;n.ut()}}function nu(e,t,n,l){let r=t.targetStart=n(""),i=t.targetAnchor=n("");return r[t5]=i,e&&(l(r,e),l(i,e)),i}let na=Symbol("_leaveCb"),nf=Symbol("_enterCb");function nc(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return nN(()=>{e.isMounted=!0}),nU(()=>{e.isUnmounting=!0}),e}let np=[Function,Array],nd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:np,onEnter:np,onAfterEnter:np,onEnterCancelled:np,onBeforeLeave:np,onLeave:np,onAfterLeave:np,onLeaveCancelled:np,onBeforeAppear:np,onAppear:np,onAfterAppear:np,onAppearCancelled:np},nh=e=>{let t=e.subTree;return t.component?nh(t.component):t};function nv(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==lQ){t=n;break}}return t}let ng={name:"BaseTransition",props:nd,setup(e,{slots:t}){let n=rm(),l=nc();return()=>{let r=t.default&&nS(t.default(),!0);if(!r||!r.length)return;let i=nv(r),s=tg(e),{mode:o}=s;if(l.isLeaving)return ny(i);let u=nb(i);if(!u)return ny(i);let a=n_(u,s,l,n,e=>a=e);u.type!==lQ&&nx(u,a);let f=n.subTree&&nb(n.subTree);if(f&&f.type!==lQ&&!re(u,f)&&nh(n).type!==lQ){let e=n_(f,s,l,n);if(nx(f,e),"out-in"===o&&u.type!==lQ)return l.isLeaving=!0,e.afterLeave=()=>{l.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave,f=void 0},ny(i);"in-out"===o&&u.type!==lQ?e.delayLeave=(e,t,n)=>{nm(l,f)[String(f.key)]=f,e[na]=()=>{t(),e[na]=void 0,delete a.delayedLeave,f=void 0},a.delayedLeave=()=>{n(),delete a.delayedLeave,f=void 0}}:f=void 0}else f&&(f=void 0);return i}}};function nm(e,t){let{leavingVNodes:n}=e,l=n.get(t.type);return l||(l=Object.create(null),n.set(t.type,l)),l}function n_(e,t,n,l,r){let{appear:i,mode:s,persisted:o=!1,onBeforeEnter:u,onEnter:a,onAfterEnter:f,onEnterCancelled:c,onBeforeLeave:p,onLeave:d,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:m,onAppear:_,onAfterAppear:y,onAppearCancelled:b}=t,x=String(e.key),S=nm(n,e),w=(e,t)=>{e&&tV(e,l,9,t)},C=(e,t)=>{let n=t[1];w(e,t),O(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},k={mode:s,persisted:o,beforeEnter(t){let l=u;if(!n.isMounted)if(!i)return;else l=m||u;t[na]&&t[na](!0);let r=S[x];r&&re(e,r)&&r.el[na]&&r.el[na](),w(l,[t])},enter(e){let t=a,l=f,r=c;if(!n.isMounted)if(!i)return;else t=_||a,l=y||f,r=b||c;let s=!1,o=e[nf]=t=>{s||(s=!0,t?w(r,[e]):w(l,[e]),k.delayedLeave&&k.delayedLeave(),e[nf]=void 0)};t?C(t,[e,o]):o()},leave(t,l){let r=String(e.key);if(t[nf]&&t[nf](!0),n.isUnmounting)return l();w(p,[t]);let i=!1,s=t[na]=n=>{i||(i=!0,l(),n?w(g,[t]):w(h,[t]),t[na]=void 0,S[r]===e&&delete S[r])};S[r]=e,d?C(d,[t,s]):s()},clone(e){let i=n_(e,t,n,l,r);return r&&r(i),i}};return k}function ny(e){if(nL(e))return(e=ri(e)).children=null,e}function nb(e){if(!nL(e))return t9(e.type)&&e.children?nv(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&j(n.default))return n.default()}}function nx(e,t){6&e.shapeFlag&&e.component?(e.transition=t,nx(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function nS(e,t=!1,n){let l=[],r=0;for(let i=0;i<e.length;i++){let s=e[i],o=null==n?s.key:String(n)+String(null!=s.key?s.key:i);s.type===lX?(128&s.patchFlag&&r++,l=l.concat(nS(s.children,t,o))):(t||s.type!==lQ)&&l.push(null!=o?ri(s,{key:o}):s)}if(r>1)for(let e=0;e<l.length;e++)l[e].patchFlag=-2;return l}function nw(e,t){return j(e)?k({name:e.name},t,{setup:e}):e}function nC(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function nk(e){let t=rm(),n=tS(null);return t&&Object.defineProperty(t.refs===y?t.refs={}:t.refs,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e}),n}function nE(e,t,n,l,r=!1){if(O(e))return void e.forEach((e,i)=>nE(e,t&&(O(t)?t[i]:t),n,l,r));if(nA(l)&&!r){512&l.shapeFlag&&l.type.__asyncResolved&&l.component.subTree.component&&nE(e,t,n,l.component.subTree);return}let i=4&l.shapeFlag?rE(l.component):l.el,s=r?null:i,{i:o,r:u}=e,a=t&&t.r,f=o.refs===y?o.refs={}:o.refs,c=o.setupState,p=tg(c),d=c===y?()=>!1:e=>A(p,e);if(null!=a&&a!==u&&(P(a)?(f[a]=null,d(a)&&(c[a]=null)):tb(a)&&(a.value=null)),j(u))tI(u,o,12,[s,f]);else{let t=P(u),l=tb(u);if(t||l){let o=()=>{if(e.f){let n=t?d(u)?c[u]:f[u]:u.value;r?O(n)&&E(n,i):O(n)?n.includes(i)||n.push(i):t?(f[u]=[i],d(u)&&(c[u]=f[u])):(u.value=[i],e.k&&(f[e.k]=u.value))}else t?(f[u]=s,d(u)&&(c[u]=s)):l&&(u.value=s,e.k&&(f[e.k]=s))};s?(o.id=-1,lM(o,n)):o()}}}let nT=e=>8===e.nodeType;et().requestIdleCallback||(e=>setTimeout(e,1)),et().cancelIdleCallback||(e=>clearTimeout(e));let nA=e=>!!e.type.__asyncLoader;function nO(e){let t;j(e)&&(e={loader:e});let{loader:n,loadingComponent:l,errorComponent:r,delay:i=200,hydrate:s,timeout:o,suspensible:u=!0,onError:a}=e,f=null,c=0,p=()=>(c++,f=null,d()),d=()=>{let e;return f||(e=f=n().catch(e=>{if(e=e instanceof Error?e:Error(String(e)),a)return new Promise((t,n)=>{a(e,()=>t(p()),()=>n(e),c+1)});throw e}).then(n=>e!==f&&f?f:(n&&(n.__esModule||"Module"===n[Symbol.toStringTag])&&(n=n.default),t=n,n)))};return nw({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(e,n,l){let r=s?()=>{let t=s(()=>{l()},t=>(function(e,t){if(nT(e)&&"["===e.data){let n=1,l=e.nextSibling;for(;l;){if(1===l.nodeType){if(!1===t(l))break}else if(nT(l))if("]"===l.data){if(0==--n)break}else"["===l.data&&n++;l=l.nextSibling}}else t(e)})(e,t));t&&(n.bum||(n.bum=[])).push(t),(n.u||(n.u=[])).push(()=>!0)}:l;t?r():d().then(()=>!n.isUnmounted&&r())},get __asyncResolved(){return t},setup(){let e=rg;if(nC(e),t)return()=>nM(t,e);let n=t=>{f=null,tU(t,e,13,!r)};if(u&&e.suspense||rx)return d().then(t=>()=>nM(t,e)).catch(e=>(n(e),()=>r?rr(r,{error:e}):null));let s=tx(!1),a=tx(),c=tx(!!i);return i&&setTimeout(()=>{c.value=!1},i),null!=o&&setTimeout(()=>{if(!s.value&&!a.value){let e=Error(`Async component timed out after ${o}ms.`);n(e),a.value=e}},o),d().then(()=>{s.value=!0,e.parent&&nL(e.parent.vnode)&&e.parent.update()}).catch(e=>{n(e),a.value=e}),()=>s.value&&t?nM(t,e):a.value&&r?rr(r,{error:a.value}):l&&!c.value?rr(l):void 0}})}function nM(e,t){let{ref:n,props:l,children:r,ce:i}=t.vnode,s=rr(e,l,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}let nL=e=>e.type.__isKeepAlive;function nj(e,t){n$(e,"a",t)}function nP(e,t){n$(e,"da",t)}function n$(e,t,n=rg){let l=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(nR(t,l,n),n){let e=n.parent;for(;e&&e.parent;)nL(e.parent.vnode)&&function(e,t,n,l){let r=nR(t,e,l,!0);nB(()=>{E(l[t],r)},n)}(l,t,n,e),e=e.parent}}function nR(e,t,n=rg,l=!1){if(n){let r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...l)=>{eA();let r=r_(n),i=tV(t,n,e,l);return r(),eO(),i});return l?r.unshift(i):r.push(i),i}}let nF=e=>(t,n=rg)=>{rx&&"sp"!==e||nR(e,(...e)=>t(...e),n)},nD=nF("bm"),nN=nF("m"),nI=nF("bu"),nV=nF("u"),nU=nF("bum"),nB=nF("um"),nW=nF("sp"),nH=nF("rtg"),nK=nF("rtc");function nq(e,t=rg){nR("ec",e,t)}let nz="components";function nG(e,t){return nX(nz,e,!0,t)||e}let nJ=Symbol.for("v-ndc");function nY(e){return P(e)?nX(nz,e,!1)||e:e||nJ}function nX(e,t,n=!0,l=!1){let r=t1||rg;if(r){let n=r.type;if(e===nz){let e=function(e,t=!0){return j(e)?e.displayName||e.name:e.name||t&&e.__name}(n,!1);if(e&&(e===t||e===K(t)||e===G(K(t))))return n}let i=nZ(r[e]||n[e],t)||nZ(r.appContext[e],t);return!i&&l?n:i}}function nZ(e,t){return e&&(e[t]||e[K(t)]||e[G(K(t))])}function nQ(e,t,n,l){let r,i=n&&n[l],s=O(e);if(s||P(e)){let n=s&&tp(e),l=!1,o=!1;n&&(l=!th(e),o=td(e),e=eU(e)),r=Array(e.length);for(let n=0,s=e.length;n<s;n++)r[n]=t(l?o?ty(t_(e[n])):t_(e[n]):e[n],n,void 0,i&&i[n])}else if("number"==typeof e){r=Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,i&&i[n])}else if(R(e))if(e[Symbol.iterator])r=Array.from(e,(e,n)=>t(e,n,void 0,i&&i[n]));else{let n=Object.keys(e);r=Array(n.length);for(let l=0,s=n.length;l<s;l++){let s=n[l];r[l]=t(e[s],s,l,i&&i[l])}}else r=[];return n&&(n[l]=r),r}function n0(e,t){for(let n=0;n<t.length;n++){let l=t[n];if(O(l))for(let t=0;t<l.length;t++)e[l[t].name]=l[t].fn;else l&&(e[l.name]=l.key?(...e)=>{let t=l.fn(...e);return t&&(t.key=l.key),t}:l.fn)}return e}function n1(e,t,n={},l,r){if(t1.ce||t1.parent&&nA(t1.parent)&&t1.parent.ce)return"default"!==t&&(n.name=t),l6(),l9(lX,null,[rr("slot",n,l&&l())],64);let i=e[t];i&&i._c&&(i._d=!1),l6();let s=i&&function e(t){return t.some(t=>!l7(t)||t.type!==lQ&&(t.type!==lX||!!e(t.children)))?t:null}(i(n)),o=n.key||s&&s.key,u=l9(lX,{key:(o&&!$(o)?o:`_${t}`)+(!s&&l?"_fb":"")},s||(l?l():[]),s&&1===e._?64:-2);return!r&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),i&&i._c&&(i._d=!0),u}let n2=e=>e?rb(e)?rE(e):n2(e.parent):null,n6=k(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>n2(e.parent),$root:e=>n2(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>lt(e),$forceUpdate:e=>e.f||(e.f=()=>{tY(e.update)}),$nextTick:e=>e.n||(e.n=tJ.bind(e.proxy)),$watch:e=>lV.bind(e)}),n8=(e,t)=>e!==y&&!e.__isScriptSetup&&A(e,t),n4={get({_:e},t){let n,l,r;if("__v_skip"===t)return!0;let{ctx:i,setupState:s,data:o,props:u,accessCache:a,type:f,appContext:c}=e;if("$"!==t[0]){let l=a[t];if(void 0!==l)switch(l){case 1:return s[t];case 2:return o[t];case 4:return i[t];case 3:return u[t]}else{if(n8(s,t))return a[t]=1,s[t];if(o!==y&&A(o,t))return a[t]=2,o[t];if((n=e.propsOptions[0])&&A(n,t))return a[t]=3,u[t];if(i!==y&&A(i,t))return a[t]=4,i[t];n7&&(a[t]=0)}}let p=n6[t];return p?("$attrs"===t&&eN(e.attrs,"get",""),p(e)):(l=f.__cssModules)&&(l=l[t])?l:i!==y&&A(i,t)?(a[t]=4,i[t]):A(r=c.config.globalProperties,t)?r[t]:void 0},set({_:e},t,n){let{data:l,setupState:r,ctx:i}=e;return n8(r,t)?(r[t]=n,!0):l!==y&&A(l,t)?(l[t]=n,!0):!A(e.props,t)&&!("$"===t[0]&&t.slice(1)in e)&&(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:l,appContext:r,propsOptions:i}},s){let o;return!!n[s]||e!==y&&A(e,s)||n8(t,s)||(o=i[0])&&A(o,s)||A(l,s)||A(n6,s)||A(r.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:A(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function n3(){return function(){let e=rm();return e.setupContext||(e.setupContext=rk(e))}().slots}function n5(e){return O(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function n9(e,t){return e&&t?O(e)&&O(t)?e.concat(t):k({},n5(e),n5(t)):e||t}let n7=!0;function le(e,t,n){tV(O(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function lt(e){let t,n=e.type,{mixins:l,extends:r}=n,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,u=s.get(n);return u?t=u:i.length||l||r?(t={},i.length&&i.forEach(e=>ln(t,e,o,!0)),ln(t,n,o)):t=n,R(n)&&s.set(n,t),t}function ln(e,t,n,l=!1){let{mixins:r,extends:i}=t;for(let s in i&&ln(e,i,n,!0),r&&r.forEach(t=>ln(e,t,n,!0)),t)if(l&&"expose"===s);else{let l=ll[s]||n&&n[s];e[s]=l?l(e[s],t[s]):t[s]}return e}let ll={data:lr,props:lu,emits:lu,methods:lo,computed:lo,beforeCreate:ls,created:ls,beforeMount:ls,mounted:ls,beforeUpdate:ls,updated:ls,beforeDestroy:ls,beforeUnmount:ls,destroyed:ls,unmounted:ls,activated:ls,deactivated:ls,errorCaptured:ls,serverPrefetch:ls,components:lo,directives:lo,watch:function(e,t){if(!e)return t;if(!t)return e;let n=k(Object.create(null),e);for(let l in t)n[l]=ls(e[l],t[l]);return n},provide:lr,inject:function(e,t){return lo(li(e),li(t))}};function lr(e,t){return t?e?function(){return k(j(e)?e.call(this,this):e,j(t)?t.call(this,this):t)}:t:e}function li(e){if(O(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ls(e,t){return e?[...new Set([].concat(e,t))]:t}function lo(e,t){return e?k(Object.create(null),e,t):t}function lu(e,t){return e?O(e)&&O(t)?[...new Set([...e,...t])]:k(Object.create(null),n5(e),n5(null!=t?t:{})):t}function la(){return{app:null,config:{isNativeTag:S,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let lf=0,lc=null;function lp(e,t){if(rg){let n=rg.provides,l=rg.parent&&rg.parent.provides;l===n&&(n=rg.provides=Object.create(l)),n[e]=t}}function ld(e,t,n=!1){let l=rg||t1;if(l||lc){let r=lc?lc._context.provides:l?null==l.parent||l.ce?l.vnode.appContext&&l.vnode.appContext.provides:l.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&j(t)?t.call(l&&l.proxy):t}}function lh(){return!!(rg||t1||lc)}let lv={},lg=()=>Object.create(lv),lm=e=>Object.getPrototypeOf(e)===lv;function l_(e,t,n,l){let r,[i,s]=e.propsOptions,o=!1;if(t)for(let u in t){let a;if(B(u))continue;let f=t[u];i&&A(i,a=K(u))?s&&s.includes(a)?(r||(r={}))[a]=f:n[a]=f:lK(e.emitsOptions,u)||u in l&&f===l[u]||(l[u]=f,o=!0)}if(s){let t=tg(n),l=r||y;for(let r=0;r<s.length;r++){let o=s[r];n[o]=ly(i,t,o,l[o],e,!A(l,o))}}return o}function ly(e,t,n,l,r,i){let s=e[n];if(null!=s){let e=A(s,"default");if(e&&void 0===l){let e=s.default;if(s.type!==Function&&!s.skipFactory&&j(e)){let{propsDefaults:i}=r;if(n in i)l=i[n];else{let s=r_(r);l=i[n]=e.call(null,t),s()}}else l=e;r.ce&&r.ce._setProp(n,l)}s[0]&&(i&&!e?l=!1:s[1]&&(""===l||l===z(n))&&(l=!0))}return l}let lb=new WeakMap;function lx(e){return!("$"===e[0]||B(e))}let lS=e=>"_"===e[0]||"$stable"===e,lw=e=>O(e)?e.map(ra):[ra(e)],lC=(e,t,n)=>{if(t._n)return t;let l=t8((...e)=>lw(t(...e)),n);return l._c=!1,l},lk=(e,t,n)=>{let l=e._ctx;for(let n in e){if(lS(n))continue;let r=e[n];if(j(r))t[n]=lC(n,r,l);else if(null!=r){let e=lw(r);t[n]=()=>e}}},lE=(e,t)=>{let n=lw(t);e.slots.default=()=>n},lT=(e,t,n)=>{for(let l in t)(n||!lS(l))&&(e[l]=t[l])},lA=(e,t,n)=>{let l=e.slots=lg();if(32&e.vnode.shapeFlag){let e=t._;e?(lT(l,t,n),n&&Z(l,"_",e,!0)):lk(t,l)}else t&&lE(e,t)},lO=(e,t,n)=>{let{vnode:l,slots:r}=e,i=!0,s=y;if(32&l.shapeFlag){let e=t._;e?n&&1===e?i=!1:lT(r,t,n):(i=!t.$stable,lk(t,r)),s=t}else t&&(lE(e,t),s={default:1});if(i)for(let e in r)lS(e)||null!=s[e]||delete r[e]},lM=function(e,t){if(t&&t.pendingBranch)O(e)?t.effects.push(...e):t.effects.push(e);else O(e)?tH.push(...e):tK&&-1===e.id?tK.splice(tq+1,0,e):1&e.flags||(tH.push(e),e.flags|=1),tX()};function lL({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function lj({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function lP(e,t,n=!1){let l=e.children,r=t.children;if(O(l)&&O(r))for(let e=0;e<l.length;e++){let t=l[e],i=r[e];1&i.shapeFlag&&!i.dynamicChildren&&((i.patchFlag<=0||32===i.patchFlag)&&((i=r[e]=rf(r[e])).el=t.el),n||-2===i.patchFlag||lP(t,i)),i.type===lZ&&(i.el=t.el),i.type!==lQ||i.el||(i.el=t.el)}}function l$(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}let lR=Symbol.for("v-scx"),lF=()=>ld(lR);function lD(e,t){return lI(e,null,t)}function lN(e,t,n){return lI(e,t,n)}function lI(e,t,n=y){let l,{immediate:r,deep:i,flush:o,once:u}=n,a=k({},n),f=t&&r||!t&&"post"!==o;if(rx){if("sync"===o){let e=lF();l=e.__watcherHandles||(e.__watcherHandles=[])}else if(!f){let e=()=>{};return e.stop=x,e.resume=x,e.pause=x,e}}let c=rg;a.call=(e,t,n)=>tV(e,c,t,n);let p=!1;"post"===o?a.scheduler=e=>{lM(e,c&&c.suspense)}:"sync"!==o&&(p=!0,a.scheduler=(e,t)=>{t?e():tY(e)}),a.augmentJob=e=>{t&&(e.flags|=4),p&&(e.flags|=2,c&&(e.id=c.uid,e.i=c))};let d=function(e,t,n=y){let l,r,i,o,{immediate:u,deep:a,once:f,scheduler:c,augmentJob:p,call:d}=n,h=e=>a?e:th(e)||!1===a||0===a?tN(e,1):tN(e),m=!1,_=!1;if(tb(e)?(r=()=>e.value,m=th(e)):tp(e)?(r=()=>h(e),m=!0):O(e)?(_=!0,m=e.some(e=>tp(e)||th(e)),r=()=>e.map(e=>tb(e)?e.value:tp(e)?h(e):j(e)?d?d(e,2):e():void 0)):r=j(e)?t?d?()=>d(e,2):e:()=>{if(i){eA();try{i()}finally{eO()}}let t=g;g=l;try{return d?d(e,3,[o]):e(o)}finally{g=t}}:x,t&&a){let e=r,t=!0===a?1/0:a;r=()=>tN(e(),t)}let b=s,S=()=>{l.stop(),b&&b.active&&E(b.effects,l)};if(f&&t){let e=t;t=(...t)=>{e(...t),S()}}let w=_?Array(e.length).fill(tF):tF,C=e=>{if(1&l.flags&&(l.dirty||e))if(t){let e=l.run();if(a||m||(_?e.some((e,t)=>Y(e,w[t])):Y(e,w))){i&&i();let n=g;g=l;try{let n=[e,w===tF?void 0:_&&w[0]===tF?[]:w,o];w=e,d?d(t,3,n):t(...n)}finally{g=n}}}else l.run()};return p&&p(C),(l=new em(r)).scheduler=c?()=>c(C,!1):C,o=e=>(function(e,t=!1,n=g){if(n){let t=tD.get(n);t||tD.set(n,t=[]),t.push(e)}})(e,!1,l),i=l.onStop=()=>{let e=tD.get(l);if(e){if(d)d(e,4);else for(let t of e)t();tD.delete(l)}},t?u?C(!0):w=l.run():c?c(C.bind(null,!0),!0):l.run(),S.pause=l.pause.bind(l),S.resume=l.resume.bind(l),S.stop=S,S}(e,t,a);return rx&&(l?l.push(d):f&&d()),d}function lV(e,t,n){let l,r=this.proxy,i=P(e)?e.includes(".")?lU(r,e):()=>r[e]:e.bind(r,r);j(t)?l=t:(l=t.handler,n=t);let s=r_(this),o=lI(i,l.bind(r),n);return s(),o}function lU(e,t){let n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function lB(e,t,n=y){let l=rm(),r=K(t),i=z(t),s=lW(e,r),o=new tO((s,o)=>{let u,a,f=y;return lI(()=>{let t=e[r];Y(u,t)&&(u=t,o())},null,{flush:"sync"}),{get:()=>(s(),n.get?n.get(u):u),set(e){let s=n.set?n.set(e):e;if(!Y(s,u)&&!(f!==y&&Y(e,f)))return;let c=l.vnode.props;c&&(t in c||r in c||i in c)&&(`onUpdate:${t}`in c||`onUpdate:${r}`in c||`onUpdate:${i}`in c)||(u=e,o()),l.emit(`update:${t}`,s),Y(e,s)&&Y(e,f)&&!Y(s,a)&&o(),f=e,a=s}}});return o[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?s||y:o,done:!1}:{done:!0}}},o}let lW=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${K(t)}Modifiers`]||e[`${z(t)}Modifiers`];function lH(e,t,...n){let l;if(e.isUnmounted)return;let r=e.vnode.props||y,i=n,s=t.startsWith("update:"),o=s&&lW(r,t.slice(7));o&&(o.trim&&(i=n.map(e=>P(e)?e.trim():e)),o.number&&(i=n.map(Q)));let u=r[l=J(t)]||r[l=J(K(t))];!u&&s&&(u=r[l=J(z(t))]),u&&tV(u,e,6,i);let a=r[l+"Once"];if(a){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,tV(a,e,6,i)}}function lK(e,t){return!!e&&!!w(t)&&(A(e,(t=t.slice(2).replace(/Once$/,""))[0].toLowerCase()+t.slice(1))||A(e,z(t))||A(e,t))}function lq(e){let t,n,{type:l,vnode:r,proxy:i,withProxy:s,propsOptions:[o],slots:u,attrs:a,emit:f,render:c,renderCache:p,props:d,data:h,setupState:g,ctx:m,inheritAttrs:_}=e,y=t6(e);try{if(4&r.shapeFlag){let e=s||i;t=ra(c.call(e,e,p,d,g,h,m)),n=a}else t=ra(l.length>1?l(d,{attrs:a,slots:u,emit:f}):l(d,null)),n=l.props?a:lz(a)}catch(n){l1.length=0,tU(n,e,1),t=rr(lQ)}let b=t;if(n&&!1!==_){let e=Object.keys(n),{shapeFlag:t}=b;e.length&&7&t&&(o&&e.some(C)&&(n=lG(n,o)),b=ri(b,n,!1,!0))}return r.dirs&&((b=ri(b,null,!1,!0)).dirs=b.dirs?b.dirs.concat(r.dirs):r.dirs),r.transition&&nx(b,r.transition),t=b,t6(y),t}let lz=e=>{let t;for(let n in e)("class"===n||"style"===n||w(n))&&((t||(t={}))[n]=e[n]);return t},lG=(e,t)=>{let n={};for(let l in e)C(l)&&l.slice(9)in t||(n[l]=e[l]);return n};function lJ(e,t,n){let l=Object.keys(t);if(l.length!==Object.keys(e).length)return!0;for(let r=0;r<l.length;r++){let i=l[r];if(t[i]!==e[i]&&!lK(n,i))return!0}return!1}let lY=e=>e.__isSuspense,lX=Symbol.for("v-fgt"),lZ=Symbol.for("v-txt"),lQ=Symbol.for("v-cmt"),l0=Symbol.for("v-stc"),l1=[],l2=null;function l6(e=!1){l1.push(l2=e?null:[])}let l8=1;function l4(e,t=!1){l8+=e,e<0&&l2&&t&&(l2.hasOnce=!0)}function l3(e){return e.dynamicChildren=l8>0?l2||b:null,l1.pop(),l2=l1[l1.length-1]||null,l8>0&&l2&&l2.push(e),e}function l5(e,t,n,l,r,i){return l3(rl(e,t,n,l,r,i,!0))}function l9(e,t,n,l,r){return l3(rr(e,t,n,l,r,!0))}function l7(e){return!!e&&!0===e.__v_isVNode}function re(e,t){return e.type===t.type&&e.key===t.key}let rt=({key:e})=>null!=e?e:null,rn=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?P(e)||tb(e)||j(e)?{i:t1,r:e,k:t,f:!!n}:e:null);function rl(e,t=null,n=null,l=0,r=null,i=+(e!==lX),s=!1,o=!1){let u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&rt(t),ref:t&&rn(t),scopeId:t2,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:l,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:t1};return o?(rc(u,n),128&i&&e.normalize(u)):n&&(u.shapeFlag|=P(n)?8:16),l8>0&&!s&&l2&&(u.patchFlag>0||6&i)&&32!==u.patchFlag&&l2.push(u),u}let rr=function(e,t=null,n=null,l=0,r=null,i=!1){var s,o;if(e&&e!==nJ||(e=lQ),l7(e)){let l=ri(e,t,!0);return n&&rc(l,n),l8>0&&!i&&l2&&(6&l.shapeFlag?l2[l2.indexOf(e)]=l:l2.push(l)),l.patchFlag=-2,l}if(j(s=e)&&"__vccOpts"in s&&(e=e.__vccOpts),t){let{class:e,style:n}=t=(o=t)?tv(o)||lm(o)?k({},o):o:null;e&&!P(e)&&(t.class=es(e)),R(n)&&(tv(n)&&!O(n)&&(n=k({},n)),t.style=en(n))}let u=P(e)?1:lY(e)?128:t9(e)?64:R(e)?4:2*!!j(e);return rl(e,t,n,l,r,u,i,!0)};function ri(e,t,n=!1,l=!1){let{props:r,ref:i,patchFlag:s,children:o,transition:u}=e,a=t?rp(r||{},t):r,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&rt(a),ref:t&&t.ref?n&&i?O(i)?i.concat(rn(t)):[i,rn(t)]:rn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==lX?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ri(e.ssContent),ssFallback:e.ssFallback&&ri(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&l&&nx(f,u.clone(f)),f}function rs(e=" ",t=0){return rr(lZ,null,e,t)}function ro(e,t){let n=rr(l0,null,e);return n.staticCount=t,n}function ru(e="",t=!1){return t?(l6(),l9(lQ,null,e)):rr(lQ,null,e)}function ra(e){return null==e||"boolean"==typeof e?rr(lQ):O(e)?rr(lX,null,e.slice()):l7(e)?rf(e):rr(lZ,null,String(e))}function rf(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ri(e)}function rc(e,t){let n=0,{shapeFlag:l}=e;if(null==t)t=null;else if(O(t))n=16;else if("object"==typeof t)if(65&l){let n=t.default;n&&(n._c&&(n._d=!1),rc(e,n()),n._c&&(n._d=!0));return}else{n=32;let l=t._;l||lm(t)?3===l&&t1&&(1===t1.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=t1}else j(t)?(t={default:t,_ctx:t1},n=32):(t=String(t),64&l?(n=16,t=[rs(t)]):n=8);e.children=t,e.shapeFlag|=n}function rp(...e){let t={};for(let n=0;n<e.length;n++){let l=e[n];for(let e in l)if("class"===e)t.class!==l.class&&(t.class=es([t.class,l.class]));else if("style"===e)t.style=en([t.style,l.style]);else if(w(e)){let n=t[e],r=l[e];r&&n!==r&&!(O(n)&&n.includes(r))&&(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=l[e])}return t}function rd(e,t,n,l=null){tV(e,t,7,[n,l])}let rh=la(),rv=0,rg=null,rm=()=>rg||t1;{let e=et(),t=(t,n)=>{let l;return(l=e[t])||(l=e[t]=[]),l.push(n),e=>{l.length>1?l.forEach(t=>t(e)):l[0](e)}};f=t("__VUE_INSTANCE_SETTERS__",e=>rg=e),c=t("__VUE_SSR_SETTERS__",e=>rx=e)}let r_=e=>{let t=rg;return f(e),e.scope.on(),()=>{e.scope.off(),f(t)}},ry=()=>{rg&&rg.scope.off(),f(null)};function rb(e){return 4&e.vnode.shapeFlag}let rx=!1;function rS(e,t,n){j(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:R(t)&&(e.setupState=tA(t)),rw(e,n)}function rw(e,t,n){let l=e.type;if(!e.render){if(!t&&p&&!l.render){let t=l.template||lt(e).template;if(t){let{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:i,compilerOptions:s}=l;l.render=p(t,k(k({isCustomElement:n,delimiters:i},r),s))}}e.render=l.render||x,d&&d(e)}{let t=r_(e);eA();try{!function(e){let t=lt(e),n=e.proxy,l=e.ctx;n7=!1,t.beforeCreate&&le(t.beforeCreate,e,"bc");let{data:r,computed:i,methods:s,watch:o,provide:u,inject:a,created:f,beforeMount:c,mounted:p,beforeUpdate:d,updated:h,activated:g,deactivated:m,beforeDestroy:_,beforeUnmount:y,destroyed:b,unmounted:S,render:w,renderTracked:C,renderTriggered:k,errorCaptured:E,serverPrefetch:T,expose:A,inheritAttrs:M,components:L,directives:$,filters:F}=t;if(a&&function(e,t,n=x){for(let n in O(e)&&(e=li(e)),e){let l,r=e[n];tb(l=R(r)?"default"in r?ld(r.from||n,r.default,!0):ld(r.from||n):ld(r))?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e}):t[n]=l}}(a,l,null),s)for(let e in s){let t=s[e];j(t)&&(l[e]=t.bind(n))}if(r){let t=r.call(n,n);R(t)&&(e.data=to(t))}if(n7=!0,i)for(let e in i){let t=i[e],r=j(t)?t.bind(n,n):j(t.get)?t.get.bind(n,n):x,s=rT({get:r,set:!j(t)&&j(t.set)?t.set.bind(n):x});Object.defineProperty(l,e,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(o)for(let e in o)!function e(t,n,l,r){let i=r.includes(".")?lU(l,r):()=>l[r];if(P(t)){let e=n[t];var s,o,u,a,f,c=void 0;j(e)&&(a=i,f=e,lI(a,f,void 0))}else if(j(t)){var p,d,h=void 0;p=i,d=t.bind(l),lI(p,d,void 0)}else if(R(t))if(O(t))t.forEach(t=>e(t,n,l,r));else{let e=j(t.handler)?t.handler.bind(l):n[t.handler];j(e)&&(s=i,o=e,u=t,lI(s,o,u))}}(o[e],l,n,e);if(u){let e=j(u)?u.call(n):u;Reflect.ownKeys(e).forEach(t=>{lp(t,e[t])})}function D(e,t){O(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(f&&le(f,e,"c"),D(nD,c),D(nN,p),D(nI,d),D(nV,h),D(nj,g),D(nP,m),D(nq,E),D(nK,C),D(nH,k),D(nU,y),D(nB,S),D(nW,T),O(A))if(A.length){let t=e.exposed||(e.exposed={});A.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})})}else e.exposed||(e.exposed={});w&&e.render===x&&(e.render=w),null!=M&&(e.inheritAttrs=M),L&&(e.components=L),$&&(e.directives=$),T&&nC(e)}(e)}finally{eO(),t()}}}let rC={get:(e,t)=>(eN(e,"get",""),e[t])};function rk(e){return{attrs:new Proxy(e.attrs,rC),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function rE(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(tA(tm(e.exposed)),{get:(t,n)=>n in t?t[n]:n in n6?n6[n](e):void 0,has:(e,t)=>t in e||t in n6})):e.proxy}let rT=(e,t)=>(function(e,t,n=!1){let l,r;return j(e)?l=e:(l=e.get,r=e.set),new tR(l,r,n)})(e,0,rx);function rA(e,t,n){let l=arguments.length;return 2!==l?(l>3?n=Array.prototype.slice.call(arguments,2):3===l&&l7(n)&&(n=[n]),rr(e,t,n)):!R(t)||O(t)?rr(e,null,t):l7(t)?rr(e,null,[t]):rr(e,t)}let rO="undefined"!=typeof window&&window.trustedTypes;if(rO)try{m=rO.createPolicy("vue",{createHTML:e=>e})}catch(e){}let rM=m?e=>m.createHTML(e):e=>e,rL="undefined"!=typeof document?document:null,rj=rL&&rL.createElement("template"),rP="transition",r$="animation",rR=Symbol("_vtc"),rF={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},rD=k({},nd,rF),rN=((l=(e,{slots:t})=>rA(ng,rU(e),t)).displayName="Transition",l.props=rD,l),rI=(e,t=[])=>{O(e)?e.forEach(e=>e(...t)):e&&e(...t)},rV=e=>!!e&&(O(e)?e.some(e=>e.length>1):e.length>1);function rU(e){let t={};for(let n in e)n in rF||(t[n]=e[n]);if(!1===e.css)return t;let{name:n="v",type:l,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:o=`${n}-enter-to`,appearFromClass:u=i,appearActiveClass:a=s,appearToClass:f=o,leaveFromClass:c=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,h=function(e){if(null==e)return null;{if(R(e))return[function(e){return ee(e)}(e.enter),function(e){return ee(e)}(e.leave)];let t=function(e){return ee(e)}(e);return[t,t]}}(r),g=h&&h[0],m=h&&h[1],{onBeforeEnter:_,onEnter:y,onEnterCancelled:b,onLeave:x,onLeaveCancelled:S,onBeforeAppear:w=_,onAppear:C=y,onAppearCancelled:E=b}=t,T=(e,t,n,l)=>{e._enterCancelled=l,rH(e,t?f:o),rH(e,t?a:s),n&&n()},A=(e,t)=>{e._isLeaving=!1,rH(e,c),rH(e,d),rH(e,p),t&&t()},O=e=>(t,n)=>{let r=e?C:y,s=()=>T(t,e,n);rI(r,[t,s]),rK(()=>{rH(t,e?u:i),rW(t,e?f:o),rV(r)||rz(t,l,g,s)})};return k(t,{onBeforeEnter(e){rI(_,[e]),rW(e,i),rW(e,s)},onBeforeAppear(e){rI(w,[e]),rW(e,u),rW(e,a)},onEnter:O(!1),onAppear:O(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>A(e,t);rW(e,c),e._enterCancelled?(rW(e,p),rX()):(rX(),rW(e,p)),rK(()=>{e._isLeaving&&(rH(e,c),rW(e,d),rV(x)||rz(e,l,m,n))}),rI(x,[e,n])},onEnterCancelled(e){T(e,!1,void 0,!0),rI(b,[e])},onAppearCancelled(e){T(e,!0,void 0,!0),rI(E,[e])},onLeaveCancelled(e){A(e),rI(S,[e])}})}function rB(e){return ee(e)}function rW(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[rR]||(e[rR]=new Set)).add(t)}function rH(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[rR];n&&(n.delete(t),n.size||(e[rR]=void 0))}function rK(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let rq=0;function rz(e,t,n,l){let r=e._endId=++rq,i=()=>{r===e._endId&&l()};if(null!=n)return setTimeout(i,n);let{type:s,timeout:o,propCount:u}=rG(e,t);if(!s)return l();let a=s+"end",f=0,c=()=>{e.removeEventListener(a,p),i()},p=t=>{t.target===e&&++f>=u&&c()};setTimeout(()=>{f<u&&c()},o+1),e.addEventListener(a,p)}function rG(e,t){let n=window.getComputedStyle(e),l=e=>(n[e]||"").split(", "),r=l(`${rP}Delay`),i=l(`${rP}Duration`),s=rJ(r,i),o=l(`${r$}Delay`),u=l(`${r$}Duration`),a=rJ(o,u),f=null,c=0,p=0;t===rP?s>0&&(f=rP,c=s,p=i.length):t===r$?a>0&&(f=r$,c=a,p=u.length):p=(f=(c=Math.max(s,a))>0?s>a?rP:r$:null)?f===rP?i.length:u.length:0;let d=f===rP&&/\b(transform|all)(,|$)/.test(l(`${rP}Property`).toString());return{type:f,timeout:c,propCount:p,hasTransform:d}}function rJ(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>rY(t)+rY(e[n])))}function rY(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function rX(){return document.body.offsetHeight}let rZ=Symbol("_vod"),rQ=Symbol("_vsh"),r0={beforeMount(e,{value:t},{transition:n}){e[rZ]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):r1(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:l}){!t!=!n&&(l?t?(l.beforeEnter(e),r1(e,!0),l.enter(e)):l.leave(e,()=>{r1(e,!1)}):r1(e,t))},beforeUnmount(e,{value:t}){r1(e,t)}};function r1(e,t){e.style.display=t?e[rZ]:"none",e[rQ]=!t}let r2=Symbol(""),r6=/(^|;)\s*display\s*:/,r8=/\s*!important$/;function r4(e,t,n){if(O(n))n.forEach(n=>r4(e,t,n));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{let l=function(e,t){let n=r5[t];if(n)return n;let l=K(t);if("filter"!==l&&l in e)return r5[t]=l;l=G(l);for(let n=0;n<r3.length;n++){let r=r3[n]+l;if(r in e)return r5[t]=r}return t}(e,t);r8.test(n)?e.setProperty(z(l),n.replace(r8,""),"important"):e[l]=n}}let r3=["Webkit","Moz","ms"],r5={},r9="http://www.w3.org/1999/xlink";function r7(e,t,n,l,r,i=eo(t)){if(l&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(r9,t.slice(6,t.length)):e.setAttributeNS(r9,t,n);else null==n||i&&!(n||""===n)?e.removeAttribute(t):e.setAttribute(t,i?"":$(n)?String(n):n)}function ie(e,t,n,l,r){if("innerHTML"===t||"textContent"===t){null!=n&&(e[t]="innerHTML"===t?rM(n):n);return}let i=e.tagName;if("value"===t&&"PROGRESS"!==i&&!i.includes("-")){let l="OPTION"===i?e.getAttribute("value")||"":e.value,r=null==n?"checkbox"===e.type?"on":"":String(n);l===r&&"_value"in e||(e.value=r),null==n&&e.removeAttribute(t),e._value=n;return}let s=!1;if(""===n||null==n){let l=typeof e[t];if("boolean"===l){var o;n=!!(o=n)||""===o}else null==n&&"string"===l?(n="",s=!0):"number"===l&&(n=0,s=!0)}try{e[t]=n}catch(e){}s&&e.removeAttribute(r||t)}let it=Symbol("_vei"),il=/(?:Once|Passive|Capture)$/,ir=0,ii=Promise.resolve(),is=()=>ir||(ii.then(()=>ir=0),ir=Date.now()),io=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&123>e.charCodeAt(2);"undefined"!=typeof HTMLElement&&HTMLElement;let iu=new WeakMap,ia=new WeakMap,ic=Symbol("_moveCb"),ip=Symbol("_enterCb"),id=(r={name:"TransitionGroup",props:k({},rD,{tag:String,moveClass:String}),setup(e,{slots:t}){let n,l,r=rm(),i=nc();return nV(()=>{if(!n.length)return;let t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){let l=e.cloneNode(),r=e[rR];r&&r.forEach(e=>{e.split(/\s+/).forEach(e=>e&&l.classList.remove(e))}),n.split(/\s+/).forEach(e=>e&&l.classList.add(e)),l.style.display="none";let i=1===t.nodeType?t:t.parentNode;i.appendChild(l);let{hasTransform:s}=rG(l);return i.removeChild(l),s}(n[0].el,r.vnode.el,t)){n=[];return}n.forEach(ih),n.forEach(iv);let l=n.filter(ig);rX(),l.forEach(e=>{let n=e.el,l=n.style;rW(n,t),l.transform=l.webkitTransform=l.transitionDuration="";let r=n[ic]=e=>{(!e||e.target===n)&&(!e||/transform$/.test(e.propertyName))&&(n.removeEventListener("transitionend",r),n[ic]=null,rH(n,t))};n.addEventListener("transitionend",r)}),n=[]}),()=>{let s=tg(e),o=rU(s),u=s.tag||lX;if(n=[],l)for(let e=0;e<l.length;e++){let t=l[e];t.el&&t.el instanceof Element&&(n.push(t),nx(t,n_(t,o,i,r)),iu.set(t,t.el.getBoundingClientRect()))}l=t.default?nS(t.default()):[];for(let e=0;e<l.length;e++){let t=l[e];null!=t.key&&nx(t,n_(t,o,i,r))}return rr(u,null,l)}}},delete r.props.mode,r);function ih(e){let t=e.el;t[ic]&&t[ic](),t[ip]&&t[ip]()}function iv(e){ia.set(e,e.el.getBoundingClientRect())}function ig(e){let t=iu.get(e),n=ia.get(e),l=t.left-n.left,r=t.top-n.top;if(l||r){let t=e.el.style;return t.transform=t.webkitTransform=`translate(${l}px,${r}px)`,t.transitionDuration="0s",e}}Symbol("_assign");let im=["ctrl","shift","alt","meta"],i_={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>im.some(n=>e[`${n}Key`]&&!t.includes(n))},iy=(e,t)=>{let n=e._withMods||(e._withMods={}),l=t.join(".");return n[l]||(n[l]=(n,...l)=>{for(let e=0;e<t.length;e++){let l=i_[t[e]];if(l&&l(n,t))return}return e(n,...l)})},ib={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ix=(e,t)=>{let n=e._withKeys||(e._withKeys={}),l=t.join(".");return n[l]||(n[l]=n=>{if(!("key"in n))return;let l=z(n.key);if(t.some(e=>e===l||ib[e]===l))return e(n)})},iS=k({patchProp:(e,t,n,l,r,i)=>{let s="svg"===r;if("class"===t){var o=l;let t=e[rR];t&&(o=(o?[o,...t]:[...t]).join(" ")),null==o?e.removeAttribute("class"):s?e.setAttribute("class",o):e.className=o}else"style"===t?function(e,t,n){let l=e.style,r=P(n),i=!1;if(n&&!r){if(t)if(P(t))for(let e of t.split(";")){let t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&r4(l,t,"")}else for(let e in t)null==n[e]&&r4(l,e,"");for(let e in n)"display"===e&&(i=!0),r4(l,e,n[e])}else if(r){if(t!==n){let e=l[r2];e&&(n+=";"+e),l.cssText=n,i=r6.test(n)}}else t&&e.removeAttribute("style");rZ in e&&(e[rZ]=i?l.display:"",e[rQ]&&(l.display="none"))}(e,n,l):w(t)?C(t)||function(e,t,n,l,r=null){let i=e[it]||(e[it]={}),s=i[t];if(l&&s)s.value=l;else{let[n,o]=function(e){let t;if(il.test(e)){let n;for(t={};n=e.match(il);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):z(e.slice(2)),t]}(t);if(l){let s=i[t]=function(e,t){let n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();tV(function(e,t){if(!O(t))return t;{let n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}}(e,n.value),t,5,[e])};return n.value=e,n.attached=is(),n}(l,r);e.addEventListener(n,s,o)}else s&&(e.removeEventListener(n,s,o),i[t]=void 0)}}(e,t,0,l,i):("."===t[0]?(t=t.slice(1),0):"^"===t[0]?(t=t.slice(1),1):!function(e,t,n,l){if(l)return!!("innerHTML"===t||"textContent"===t||t in e&&io(t)&&j(n));if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t||"form"===t||"list"===t&&"INPUT"===e.tagName||"type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){let t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return!(io(t)&&P(n))&&t in e}(e,t,l,s))?e._isVueCE&&(/[A-Z]/.test(t)||!P(l))?ie(e,K(t),l,i,t):("true-value"===t?e._trueValue=l:"false-value"===t&&(e._falseValue=l),r7(e,t,l,s)):(ie(e,t,l),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||r7(e,t,l,s,i,"value"!==t))}},{insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,l)=>{let r="svg"===t?rL.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?rL.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?rL.createElement(e,{is:n}):rL.createElement(e);return"select"===e&&l&&null!=l.multiple&&r.setAttribute("multiple",l.multiple),r},createText:e=>rL.createTextNode(e),createComment:e=>rL.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>rL.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,l,r,i){let s=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{rj.innerHTML=rM("svg"===l?`<svg>${e}</svg>`:"mathml"===l?`<math>${e}</math>`:e);let r=rj.content;if("svg"===l||"mathml"===l){let e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}});function iw(){return h||(h=function(e,t){var n;let l,r;et().__VUE__=!0;let{insert:i,remove:s,patchProp:o,createElement:u,createText:a,createComment:f,setText:p,setElementText:d,parentNode:h,nextSibling:g,setScopeId:m=x,insertStaticContent:_}=e,S=(e,t,n,l=null,r=null,i=null,s,o=null,u=!!t.dynamicChildren)=>{if(e===t)return;e&&!re(e,t)&&(l=eo(e),en(e,r,i,!0),e=null),-2===t.patchFlag&&(u=!1,t.dynamicChildren=null);let{type:a,ref:f,shapeFlag:c}=t;switch(a){case lZ:w(e,t,n,l);break;case lQ:C(e,t,n,l);break;case l0:null==e&&E(t,n,l,s);break;case lX:U(e,t,n,l,r,i,s,o,u);break;default:1&c?L(e,t,n,l,r,i,s,o,u):6&c?W(e,t,n,l,r,i,s,o,u):(64&c||128&c)&&a.process(e,t,n,l,r,i,s,o,u,ef)}null!=f&&r&&nE(f,e&&e.ref,i,t||e,!t)},w=(e,t,n,l)=>{if(null==e)i(t.el=a(t.children),n,l);else{let n=t.el=e.el;t.children!==e.children&&p(n,t.children)}},C=(e,t,n,l)=>{null==e?i(t.el=f(t.children||""),n,l):t.el=e.el},E=(e,t,n,l)=>{[e.el,e.anchor]=_(e.children,t,n,l,e.el,e.anchor)},T=({el:e,anchor:t},n,l)=>{let r;for(;e&&e!==t;)r=g(e),i(e,n,l),e=r;i(t,n,l)},M=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=g(e),s(e),e=n;s(t)},L=(e,t,n,l,r,i,s,o,u)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?P(t,n,l,r,i,s,o,u):N(e,t,r,i,s,o,u)},P=(e,t,n,l,r,s,a,f)=>{var c,p;let h,g,{props:m,shapeFlag:_,transition:y,dirs:b}=e;if(h=e.el=u(e.type,s,m&&m.is,m),8&_?d(h,e.children):16&_&&D(e.children,h,null,l,r,lL(e,s),a,f),b&&t3(e,null,l,"created"),$(h,e,e.scopeId,a,l),m){for(let e in m)"value"===e||B(e)||o(h,e,null,m[e],s,l);"value"in m&&o(h,"value",null,m.value,s),(g=m.onVnodeBeforeMount)&&rd(g,l,e)}b&&t3(e,null,l,"beforeMount");let x=(c=r,p=y,(!c||c&&!c.pendingBranch)&&p&&!p.persisted);x&&y.beforeEnter(h),i(h,t,n),((g=m&&m.onVnodeMounted)||x||b)&&lM(()=>{g&&rd(g,l,e),x&&y.enter(h),b&&t3(e,null,l,"mounted")},r)},$=(e,t,n,l,r)=>{if(n&&m(e,n),l)for(let t=0;t<l.length;t++)m(e,l[t]);if(r){let n=r.subTree;if(t===n||lY(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=r.vnode;$(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},D=(e,t,n,l,r,i,s,o,u=0)=>{for(let a=u;a<e.length;a++)S(null,e[a]=o?rf(e[a]):ra(e[a]),t,n,l,r,i,s,o)},N=(e,t,n,l,r,i,s)=>{let u,a=t.el=e.el,{patchFlag:f,dynamicChildren:c,dirs:p}=t;f|=16&e.patchFlag;let h=e.props||y,g=t.props||y;if(n&&lj(n,!1),(u=g.onVnodeBeforeUpdate)&&rd(u,n,t,e),p&&t3(t,e,n,"beforeUpdate"),n&&lj(n,!0),(h.innerHTML&&null==g.innerHTML||h.textContent&&null==g.textContent)&&d(a,""),c?I(e.dynamicChildren,c,a,n,l,lL(t,r),i):s||Y(e,t,a,null,n,l,lL(t,r),i,!1),f>0){if(16&f)V(a,h,g,n,r);else if(2&f&&h.class!==g.class&&o(a,"class",null,g.class,r),4&f&&o(a,"style",h.style,g.style,r),8&f){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let l=e[t],i=h[l],s=g[l];(s!==i||"value"===l)&&o(a,l,i,s,r,n)}}1&f&&e.children!==t.children&&d(a,t.children)}else s||null!=c||V(a,h,g,n,r);((u=g.onVnodeUpdated)||p)&&lM(()=>{u&&rd(u,n,t,e),p&&t3(t,e,n,"updated")},l)},I=(e,t,n,l,r,i,s)=>{for(let o=0;o<t.length;o++){let u=e[o],a=t[o],f=u.el&&(u.type===lX||!re(u,a)||198&u.shapeFlag)?h(u.el):n;S(u,a,f,null,l,r,i,s,!0)}},V=(e,t,n,l,r)=>{if(t!==n){if(t!==y)for(let i in t)B(i)||i in n||o(e,i,t[i],null,r,l);for(let i in n){if(B(i))continue;let s=n[i],u=t[i];s!==u&&"value"!==i&&o(e,i,u,s,r,l)}"value"in n&&o(e,"value",t.value,n.value,r)}},U=(e,t,n,l,r,s,o,u,f)=>{let c=t.el=e?e.el:a(""),p=t.anchor=e?e.anchor:a(""),{patchFlag:d,dynamicChildren:h,slotScopeIds:g}=t;(g&&(u=u?u.concat(g):g),null==e)?(i(c,n,l),i(p,n,l),D(t.children||[],n,p,r,s,o,u,f)):d>0&&64&d&&h&&e.dynamicChildren?(I(e.dynamicChildren,h,n,r,s,o,u),(null!=t.key||r&&t===r.subTree)&&lP(e,t,!0)):Y(e,t,n,p,r,s,o,u,f)},W=(e,t,n,l,r,i,s,o,u)=>{t.slotScopeIds=o,null==e?512&t.shapeFlag?r.ctx.activate(t,n,l,s,u):H(t,n,l,r,i,s,u):q(e,t,u)},H=(e,t,n,l,r,i,s)=>{let o=e.component=function(e,t,n){let l=e.type,r=(t?t.appContext:e.appContext)||rh,i={uid:rv++,vnode:e,type:l,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ep(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:function e(t,n,l=!1){let r=l?lb:n.propsCache,i=r.get(t);if(i)return i;let s=t.props,o={},u=[],a=!1;if(!j(t)){let r=t=>{a=!0;let[l,r]=e(t,n,!0);k(o,l),r&&u.push(...r)};!l&&n.mixins.length&&n.mixins.forEach(r),t.extends&&r(t.extends),t.mixins&&t.mixins.forEach(r)}if(!s&&!a)return R(t)&&r.set(t,b),b;if(O(s))for(let e=0;e<s.length;e++){let t=K(s[e]);lx(t)&&(o[t]=y)}else if(s)for(let e in s){let t=K(e);if(lx(t)){let n=s[e],l=o[t]=O(n)||j(n)?{type:n}:k({},n),r=l.type,i=!1,a=!0;if(O(r))for(let e=0;e<r.length;++e){let t=r[e],n=j(t)&&t.name;if("Boolean"===n){i=!0;break}"String"===n&&(a=!1)}else i=j(r)&&"Boolean"===r.name;l[0]=i,l[1]=a,(i||A(l,"default"))&&u.push(t)}}let f=[o,u];return R(t)&&r.set(t,f),f}(l,r),emitsOptions:function e(t,n,l=!1){let r=n.emitsCache,i=r.get(t);if(void 0!==i)return i;let s=t.emits,o={},u=!1;if(!j(t)){let r=t=>{let l=e(t,n,!0);l&&(u=!0,k(o,l))};!l&&n.mixins.length&&n.mixins.forEach(r),t.extends&&r(t.extends),t.mixins&&t.mixins.forEach(r)}return s||u?(O(s)?s.forEach(e=>o[e]=null):k(o,s),R(t)&&r.set(t,o),o):(R(t)&&r.set(t,null),null)}(l,r),emit:null,emitted:null,propsDefaults:y,inheritAttrs:l.inheritAttrs,ctx:y,data:y,props:y,attrs:y,slots:y,refs:y,setupState:y,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=lH.bind(null,i),e.ce&&e.ce(i),i}(e,l,r);nL(e)&&(o.ctx.renderer=ef),!function(e,t=!1,n=!1){t&&c(t);let{props:l,children:r}=e.vnode,i=rb(e);!function(e,t,n,l=!1){let r={},i=lg();for(let n in e.propsDefaults=Object.create(null),l_(e,t,r,i),e.propsOptions[0])n in r||(r[n]=void 0);n?e.props=l?r:tu(r):e.type.props?e.props=r:e.props=i,e.attrs=i}(e,l,i,t),lA(e,r,n||t),i&&function(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,n4);let{setup:l}=n;if(l){eA();let n=e.setupContext=l.length>1?rk(e):null,r=r_(e),i=tI(l,e,0,[e.props,n]),s=F(i);if(eO(),r(),(s||e.sp)&&!nA(e)&&nC(e),s){if(i.then(ry,ry),t)return i.then(n=>{rS(e,n,t)}).catch(t=>{tU(t,e,0)});e.asyncDep=i}else rS(e,i,t)}else rw(e,t)}(e,t),t&&c(!1)}(o,!1,s),o.asyncDep?(r&&r.registerDep(o,G,s),e.el||C(null,o.subTree=rr(lQ),t,n)):G(o,e,t,n,r,i,s)},q=(e,t,n)=>{let l=t.component=e.component;if(function(e,t,n){let{props:l,children:r,component:i}=e,{props:s,children:o,patchFlag:u}=t,a=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!n||!(u>=0))return(!!r||!!o)&&(!o||!o.$stable)||l!==s&&(l?!s||lJ(l,s,a):!!s);if(1024&u)return!0;if(16&u)return l?lJ(l,s,a):!!s;if(8&u){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(s[n]!==l[n]&&!lK(a,n))return!0}}return!1}(e,t,n))if(l.asyncDep&&!l.asyncResolved)return void J(l,t,n);else l.next=t,l.update();else t.el=e.el,l.vnode=t},G=(e,t,n,l,i,s,o)=>{let u=()=>{if(e.isMounted){let t,{next:n,bu:l,u:r,parent:a,vnode:f}=e;{let t=function e(t){let n=t.subTree.component;if(n)if(n.asyncDep&&!n.asyncResolved)return n;else return e(n)}(e);if(t){n&&(n.el=f.el,J(e,n,o)),t.asyncDep.then(()=>{e.isUnmounted||u()});return}}let c=n;lj(e,!1),n?(n.el=f.el,J(e,n,o)):n=f,l&&X(l),(t=n.props&&n.props.onVnodeBeforeUpdate)&&rd(t,a,n,f),lj(e,!0);let p=lq(e),d=e.subTree;e.subTree=p,S(d,p,h(d.el),eo(d),e,i,s),n.el=p.el,null===c&&function({vnode:e,parent:t},n){for(;t;){let l=t.subTree;if(l.suspense&&l.suspense.activeBranch===e&&(l.el=e.el),l===e)(e=t.vnode).el=n,t=t.parent;else break}}(e,p.el),r&&lM(r,i),(t=n.props&&n.props.onVnodeUpdated)&&lM(()=>rd(t,a,n,f),i)}else{let o,{el:u,props:a}=t,{bm:f,m:c,parent:p,root:d,type:h}=e,g=nA(t);if(lj(e,!1),f&&X(f),!g&&(o=a&&a.onVnodeBeforeMount)&&rd(o,p,t),lj(e,!0),u&&r){let t=()=>{e.subTree=lq(e),r(u,e.subTree,e,i,null)};g&&h.__asyncHydrate?h.__asyncHydrate(u,e,t):t()}else{d.ce&&d.ce._injectChildStyle(h);let r=e.subTree=lq(e);S(null,r,n,l,e,i,s),t.el=r.el}if(c&&lM(c,i),!g&&(o=a&&a.onVnodeMounted)){let e=t;lM(()=>rd(o,p,e),i)}(256&t.shapeFlag||p&&nA(p.vnode)&&256&p.vnode.shapeFlag)&&e.a&&lM(e.a,i),e.isMounted=!0,t=n=l=null}};e.scope.on();let a=e.effect=new em(u);e.scope.off();let f=e.update=a.run.bind(a),c=e.job=a.runIfDirty.bind(a);c.i=e,c.id=e.uid,a.scheduler=()=>tY(c),lj(e,!0),f()},J=(e,t,n)=>{t.component=e;let l=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,l){let{props:r,attrs:i,vnode:{patchFlag:s}}=e,o=tg(r),[u]=e.propsOptions,a=!1;if((l||s>0)&&!(16&s)){if(8&s){let n=e.vnode.dynamicProps;for(let l=0;l<n.length;l++){let s=n[l];if(lK(e.emitsOptions,s))continue;let f=t[s];if(u)if(A(i,s))f!==i[s]&&(i[s]=f,a=!0);else{let t=K(s);r[t]=ly(u,o,t,f,e,!1)}else f!==i[s]&&(i[s]=f,a=!0)}}}else{let l;for(let s in l_(e,t,r,i)&&(a=!0),o)t&&(A(t,s)||(l=z(s))!==s&&A(t,l))||(u?n&&(void 0!==n[s]||void 0!==n[l])&&(r[s]=ly(u,o,s,void 0,e,!0)):delete r[s]);if(i!==o)for(let e in i)t&&A(t,e)||(delete i[e],a=!0)}a&&eI(e.attrs,"set","")}(e,t.props,l,n),lO(e,t.children,n),eA(),tZ(e),eO()},Y=(e,t,n,l,r,i,s,o,u=!1)=>{let a=e&&e.children,f=e?e.shapeFlag:0,c=t.children,{patchFlag:p,shapeFlag:h}=t;if(p>0){if(128&p)return void Q(a,c,n,l,r,i,s,o,u);else if(256&p)return void Z(a,c,n,l,r,i,s,o,u)}8&h?(16&f&&es(a,r,i),c!==a&&d(n,c)):16&f?16&h?Q(a,c,n,l,r,i,s,o,u):es(a,r,i,!0):(8&f&&d(n,""),16&h&&D(c,n,l,r,i,s,o,u))},Z=(e,t,n,l,r,i,s,o,u)=>{let a;e=e||b,t=t||b;let f=e.length,c=t.length,p=Math.min(f,c);for(a=0;a<p;a++){let l=t[a]=u?rf(t[a]):ra(t[a]);S(e[a],l,n,null,r,i,s,o,u)}f>c?es(e,r,i,!0,!1,p):D(t,n,l,r,i,s,o,u,p)},Q=(e,t,n,l,r,i,s,o,u)=>{let a=0,f=t.length,c=e.length-1,p=f-1;for(;a<=c&&a<=p;){let l=e[a],f=t[a]=u?rf(t[a]):ra(t[a]);if(re(l,f))S(l,f,n,null,r,i,s,o,u);else break;a++}for(;a<=c&&a<=p;){let l=e[c],a=t[p]=u?rf(t[p]):ra(t[p]);if(re(l,a))S(l,a,n,null,r,i,s,o,u);else break;c--,p--}if(a>c){if(a<=p){let e=p+1,c=e<f?t[e].el:l;for(;a<=p;)S(null,t[a]=u?rf(t[a]):ra(t[a]),n,c,r,i,s,o,u),a++}}else if(a>p)for(;a<=c;)en(e[a],r,i,!0),a++;else{let d,h=a,g=a,m=new Map;for(a=g;a<=p;a++){let e=t[a]=u?rf(t[a]):ra(t[a]);null!=e.key&&m.set(e.key,a)}let _=0,y=p-g+1,x=!1,w=0,C=Array(y);for(a=0;a<y;a++)C[a]=0;for(a=h;a<=c;a++){let l,f=e[a];if(_>=y){en(f,r,i,!0);continue}if(null!=f.key)l=m.get(f.key);else for(d=g;d<=p;d++)if(0===C[d-g]&&re(f,t[d])){l=d;break}void 0===l?en(f,r,i,!0):(C[l-g]=a+1,l>=w?w=l:x=!0,S(f,t[l],n,null,r,i,s,o,u),_++)}let k=x?function(e){let t,n,l,r,i,s=e.slice(),o=[0],u=e.length;for(t=0;t<u;t++){let u=e[t];if(0!==u){if(e[n=o[o.length-1]]<u){s[t]=n,o.push(t);continue}for(l=0,r=o.length-1;l<r;)e[o[i=l+r>>1]]<u?l=i+1:r=i;u<e[o[l]]&&(l>0&&(s[t]=o[l-1]),o[l]=t)}}for(l=o.length,r=o[l-1];l-- >0;)o[l]=r,r=s[r];return o}(C):b;for(d=k.length-1,a=y-1;a>=0;a--){let e=g+a,c=t[e],p=e+1<f?t[e+1].el:l;0===C[a]?S(null,c,n,p,r,i,s,o,u):x&&(d<0||a!==k[d]?ee(c,n,p,2):d--)}}},ee=(e,t,n,l,r=null)=>{let{el:o,type:u,transition:a,children:f,shapeFlag:c}=e;if(6&c)return void ee(e.component.subTree,t,n,l);if(128&c)return void e.suspense.move(t,n,l);if(64&c)return void u.move(e,t,n,ef);if(u===lX){i(o,t,n);for(let e=0;e<f.length;e++)ee(f[e],t,n,l);i(e.anchor,t,n);return}if(u===l0)return void T(e,t,n);if(2!==l&&1&c&&a)if(0===l)a.beforeEnter(o),i(o,t,n),lM(()=>a.enter(o),r);else{let{leave:l,delayLeave:r,afterLeave:u}=a,f=()=>{e.ctx.isUnmounted?s(o):i(o,t,n)},c=()=>{l(o,()=>{f(),u&&u()})};r?r(o,f,c):c()}else i(o,t,n)},en=(e,t,n,l=!1,r=!1)=>{let i,{type:s,props:o,ref:u,children:a,dynamicChildren:f,shapeFlag:c,patchFlag:p,dirs:d,cacheIndex:h}=e;if(-2===p&&(r=!1),null!=u&&(eA(),nE(u,null,n,e,!0),eO()),null!=h&&(t.renderCache[h]=void 0),256&c)return void t.ctx.deactivate(e);let g=1&c&&d,m=!nA(e);if(m&&(i=o&&o.onVnodeBeforeUnmount)&&rd(i,t,e),6&c)ei(e.component,n,l);else{if(128&c)return void e.suspense.unmount(n,l);g&&t3(e,null,t,"beforeUnmount"),64&c?e.type.remove(e,t,n,ef,l):f&&!f.hasOnce&&(s!==lX||p>0&&64&p)?es(f,t,n,!1,!0):(s===lX&&384&p||!r&&16&c)&&es(a,t,n),l&&el(e)}(m&&(i=o&&o.onVnodeUnmounted)||g)&&lM(()=>{i&&rd(i,t,e),g&&t3(e,null,t,"unmounted")},n)},el=e=>{let{type:t,el:n,anchor:l,transition:r}=e;if(t===lX)return void er(n,l);if(t===l0)return void M(e);let i=()=>{s(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){let{leave:t,delayLeave:l}=r,s=()=>t(n,i);l?l(e.el,i,s):s()}else i()},er=(e,t)=>{let n;for(;e!==t;)n=g(e),s(e),e=n;s(t)},ei=(e,t,n)=>{let{bum:l,scope:r,job:i,subTree:s,um:o,m:u,a,parent:f,slots:{__:c}}=e;l$(u),l$(a),l&&X(l),f&&O(c)&&c.forEach(e=>{f.renderCache[e]=void 0}),r.stop(),i&&(i.flags|=8,en(s,e,t,n)),o&&lM(o,t),lM(()=>{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},es=(e,t,n,l=!1,r=!1,i=0)=>{for(let s=i;s<e.length;s++)en(e[s],t,n,l,r)},eo=e=>{if(6&e.shapeFlag)return eo(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();let t=g(e.anchor||e.el),n=t&&t[t5];return n?g(n):t},eu=!1,ea=(e,t,n)=>{null==e?t._vnode&&en(t._vnode,null,null,!0):S(t._vnode||null,e,t,null,null,null,n),t._vnode=e,eu||(eu=!0,tZ(),tQ(),eu=!1)},ef={p:S,um:en,m:ee,r:el,mt:H,mc:D,pc:Y,pbc:I,n:eo,o:e};return{render:ea,hydrate:l,createApp:(n=l,function(e,t=null){j(e)||(e=k({},e)),null==t||R(t)||(t=null);let l=la(),r=new WeakSet,i=[],s=!1,o=l.app={_uid:lf++,_component:e,_props:t,_container:null,_context:l,_instance:null,version:"3.5.15",get config(){return l.config},set config(v){},use:(e,...t)=>(r.has(e)||(e&&j(e.install)?(r.add(e),e.install(o,...t)):j(e)&&(r.add(e),e(o,...t))),o),mixin:e=>(l.mixins.includes(e)||l.mixins.push(e),o),component:(e,t)=>t?(l.components[e]=t,o):l.components[e],directive:(e,t)=>t?(l.directives[e]=t,o):l.directives[e],mount(r,i,u){if(s);else{let a=o._ceVNode||rr(e,t);return a.appContext=l,!0===u?u="svg":!1===u&&(u=void 0),i&&n?n(a,r):ea(a,r,u),s=!0,o._container=r,r.__vue_app__=o,rE(a.component)}},onUnmount(e){i.push(e)},unmount(){s&&(tV(i,o._instance,16),ea(null,o._container),delete o._container.__vue_app__)},provide:(e,t)=>(l.provides[e]=t,o),runWithContext(e){let t=lc;lc=o;try{return e()}finally{lc=t}}};return o})}}(iS))}let iC=(...e)=>{iw().render(...e)},ik=(...e)=>{let t=iw().createApp(...e),{mount:n}=t;return t.mount=e=>{var l,r;let i=P(l=e)?document.querySelector(l):l;if(!i)return;let s=t._component;j(s)||s.render||s.template||(s.template=i.innerHTML),1===i.nodeType&&(i.textContent="");let o=n(i,!1,(r=i)instanceof SVGElement?"svg":"function"==typeof MathMLElement&&r instanceof MathMLElement?"mathml":void 0);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t}}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/lib-vue.1514baec.js.LICENSE.txt b/core/public/dist/static/js/lib-vue.5932397a.js.LICENSE.txt
similarity index 100%
rename from core/public/dist/static/js/lib-vue.1514baec.js.LICENSE.txt
rename to core/public/dist/static/js/lib-vue.5932397a.js.LICENSE.txt